PageSourceSearch

https://chatspark.io/_next/static/chunks/8497.eb2ce77c02297577.js

js chatspark.io collected 2026-10-04 16:09:21 UTC 4,513 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8497],{8497:function(t,e,s){function i(t){return[].concat(t)}function n(t){return t.startsWith(":")}function o(t){return c(t)&&("*"===t||t.length>1&&":>~.+*".includes(t.slice(0,1))||a(t))}function r(t,e){return(c(e)||"number"==typeof e)&&"--"!==t&&!n(t)&&!h(t)}function h(t){return t.startsWith("@media")}function c(t){return t+""===t}function a(t){return c(t)&&(t.startsWith("&")||n(t))}function l(t,e=""){return t.filter(Boolean).join(e)}function u(t,e){let s=0;if(0===e.length)return s.toString();for(let t=0;t<e.length;t++)s=(s<<5)-s+e.charCodeAt(t),s&=s;return`${t??"cl"}_${s.toString(36)}`}s.d(e,{S:function(){return m},cx:function(){return function t(...e){return l(e.reduce((e,s)=>(s instanceof Set?e.push(...s):"string"==typeof s?e.push(s):Array.isArray(s)?e.push(t(...s)):"object"==typeof s&&Object.entries(s).forEach(([t,s])=>{s&&e.push(t)}),e),[])," ").trim()}}});var d=class t{constructor(t,e,s,i){this.sheet=t,this.property=e,this.value=s,this.selector=i,this.property=e,this.value=s,this.joined=`${e}:${s}`;let n=this.selector.preconditions.concat(this.selector.postconditions);this.hash=this.selector.hasConditions?this.selector.scopeClassName:u(this.sheet.name,this.joined),this.key=l([this.joined,n,this.hash])}toString(){let e=p(this.selector.preconditions,{right:this.hash});return e=p(this.selector.postconditions,{left:e}),`${e} {${t.genRule(this.property,this.value)}}`}static genRule(t,e){var s,i;return s=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i="content"===t?`"${e}"`:e,`${s}:${i};`}};function p(t,{left:e="",right:s=""}={}){let i=t.reduce((t,e)=>n(e)?t+e:a(e)?t+e.slice(1):l([t,e]," "),e);return l([i,s?`.${s}`:""]," ")}var f=class t{constructor(t,e=null,{preconditions:s,postconditions:n}={}){this.sheet=t,this.preconditions=[],this.scopeClassName=null,this.scopeName=null,this.postconditions=[],this.preconditions=s?i(s):[],this.postconditions=n?i(n):[],this.setScope(e)}setScope(t){return t&&(this.scopeClassName||(this.scopeName=t,this.scopeClassName=u(this.sheet.name,t+this.sheet.count))),this}get hasConditions(){return this.preconditions.length>0||this.postconditions.length>0}addScope(e){return new t(this.sheet,e,{preconditions:this.preconditions,postconditions:this.postconditions})}addPrecondition(e){return new t(this.sheet,this.scopeClassName,{postconditions:this.postconditions,preconditions:this.preconditions.concat(e)})}addPostcondition(e){return new t(this.sheet,this.scopeClassName,{preconditions:this.preconditions,postconditions:this.postconditions.concat(e)})}createRule(t,e){return new d(this.sheet,t,e,this)}},y=class{constructor(t,e){this.name=t,this.rootNode=e,this.storedStyles={},this.storedClasses={},this.style="",this.count=0,this.id=`flairup-${t}`,this.styleTag=this.createStyleTag()}getStyle(){return this.style}append(t){var e;this.style=(e=this.style)?`${e}
2${t}`:t}apply(){this.count++,this.styleTag&&(this.styleTag.innerHTML=this.style)}isApplied(){return!!this.styleTag}createStyleTag(){if("undefined"==typeof document||this.isApplied()||null===this.rootNode)return this.styleTag;let t=document.createElement("style");return t.type="text/css",t.id=this.id,(this.rootNode??document.head).appendChild(t),t}addRule(t){let e=this.storedClasses[t.key];return c(e)?e:(this.storedClasses[t.key]=t.hash,this.storedStyles[t.hash]=[t.property,t.value],this.append(t.toString()),t.hash)}};function g(t,e){for(let s in t)e(s.trim(),t[s])}function m(t,e){let s=new y(t,e);return{create:function(t){let e={};return(function t(e,s,i){let n=[];return g(s,(r,h)=>{if(o(r))return t(e,h,i.addPrecondition(r)).forEach(t=>n.push(t));n.push([r,s[r],i.addScope(r)])}),n})(s,t,new f(s)).forEach(([t,n,c])=>{(function t(e,s,n){let c=new Set;return g(s,(s,a)=>{let l=[];if(o(s))l=t(e,a,n.addPostcondition(s));else if("."===s)l=i(a);else if(h(s))l=function(e,s,i,n){e.append(i+" {");let o=t(e,s,n);return e.append("}"),o}(e,a,s,n);else if("--"===s)l=function(e,s,i){let n=new Set,o=[];if(g(s,(s,h)=>{if(r(s,h)){o.push(d.genRule(s,h));return}S(t(e,h??{},i),n)}),!i.scopeClassName)return n;
2if(o.length){let t=o.join(" ");e.append(`${p(i.preconditions,{right:i.scopeClassName})} {${t}}`)}return n.add(i.scopeClassName),n}(e,a,n);else if(r(s,a)){let t=n.createRule(s,a);e.addRule(t),c.add(t.hash)}return S(l,c)}),c})(s,n,c).forEach(s=>{e[t]=e[t]??new Set,e[t].add(s)})}),s.apply(),e},getStyle:s.getStyle.bind(s),isApplied:s.isApplied.bind(s)}}function S(t,e){return t.forEach(t=>e.add(t)),e}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.