1function e(e){return typeof e==`string`?`'${e}'`:new r().serialize(e)}var t=(function(){let e=new Uint8Array(128);for(let t=0;t<69;t++)e[` _-,;:!?.'"()[]{}@*/\\&#%\`^+<=>|~$0123456789abcdefghijklmnopqrstuvwxyz`.charCodeAt(t)]=t+1;for(let t=65;t<=90;t++)e[t]=e[t+32];return e})();function n(e,n){if(e===n)return 0;let r=Math.min(e.length,n.length),i=0;for(let a=0;a<r;a++){let r=e.charCodeAt(a),o=n.charCodeAt(a);if(r===o)continue;let s=r<128&&t[r]?t[r]:r+128,c=o<128&&t[o]?t[o]:o+128;if(s!==c)return s<c?-1:1;i===0&&(i=r>o?-1:1)}return e.length===n.length?i:e.length<n.length?-1:1}var r=(function(){class e{#e=new Map;compare(e,t){let r=typeof e,i=typeof t;return r===`string`&&i===`string`?n(e,t):r===`number`&&i===`number`?e-t:n(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return`null`;switch(typeof e){case`string`:return t?e:`'${e}'`;case`bigint`:return`${e}n`;case`object`:return this.$object(e);case`function`:return this.$function(e)}return String(e)}serializeObject(e){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let r=e.constructor,i=r===Object||r===void 0?``:r.name;if(i!==``&&globalThis[i]===r)return this.serializeBuiltInType(i,e);if(`toJSON`in e&&typeof e.toJSON==`function`){let t=e.toJSON();return i+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}let a=Object.keys(e).sort(n),o=`${i}{`;for(let t=0;t<a.length;t++){let n=a[t];o+=`${n}:${this.serialize(e[n])}`,t<a.length-1&&(o+=`,`)}return o+`}`}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$object(e){let t=this.#e.get(e);return t===void 0&&(this.#e.set(e,`#${this.#e.size}`),t=this.serializeObject(e),this.#e.set(e,t)),t}$function(e){let t=Function.prototype.toString.call(e);return t.slice(-15)===`[native code] }`?`${e.name||``}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,``)}`}$Array(e){let t=`[`;for(let n=0;n<e.length;n++)t+=this.serialize(e[n]),n<e.length-1&&(t+=`,`);return t+`]`}$Date(e){try{return`Date(${e.toISOString()})`}catch{return`Date(null)`}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(`,`)}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let t of[`Error`,`RegExp`,`URL`])e.prototype[`$`+t]=function(e){return`${t}(${e})`};for(let t of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`,`)}]`};for(let t of[`BigInt64Array`,`BigUint64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`n,`)}${e.length>0?`n`:``}]`};return e})();function i(t,n){return t===n||e(t)===e(n)}export{e as n,i as t};
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.