@esbuild-kit/core-utils
Advanced tools
Comparing version 1.3.3 to 1.3.4
import { TransformOptions, TransformResult } from 'esbuild'; | ||
declare function installSourceMapSupport(): Map<string, string> | undefined; | ||
declare type GeneratedColumn = number; | ||
declare type SourcesIndex = number; | ||
declare type SourceLine = number; | ||
declare type SourceColumn = number; | ||
declare type NamesIndex = number; | ||
declare type SourceMapSegment = [GeneratedColumn] | [GeneratedColumn, SourcesIndex, SourceLine, SourceColumn] | [GeneratedColumn, SourcesIndex, SourceLine, SourceColumn, NamesIndex]; | ||
declare function transformSync(code: string, filePath: string, extendOptions?: TransformOptions): TransformResult; | ||
declare function transform(code: string, filePath: string, extendOptions?: TransformOptions): Promise<TransformResult>; | ||
interface SourceMapV3 { | ||
file?: string | null; | ||
names: string[]; | ||
sourceRoot?: string; | ||
sources: (string | null)[]; | ||
sourcesContent?: (string | null)[]; | ||
version: 3; | ||
} | ||
interface EncodedSourceMap extends SourceMapV3 { | ||
mappings: string; | ||
} | ||
interface DecodedSourceMap extends SourceMapV3 { | ||
mappings: SourceMapSegment[][]; | ||
} | ||
declare type SourceMapInput = string | EncodedSourceMap | DecodedSourceMap | TraceMap; | ||
declare abstract class SourceMap { | ||
version: SourceMapV3['version']; | ||
file: SourceMapV3['file']; | ||
names: SourceMapV3['names']; | ||
sourceRoot: SourceMapV3['sourceRoot']; | ||
sources: SourceMapV3['sources']; | ||
sourcesContent: SourceMapV3['sourcesContent']; | ||
resolvedSources: SourceMapV3['sources']; | ||
} | ||
declare function transformDynamicImport({ code, map }: { | ||
declare class TraceMap implements SourceMap { | ||
version: SourceMapV3['version']; | ||
file: SourceMapV3['file']; | ||
names: SourceMapV3['names']; | ||
sourceRoot: SourceMapV3['sourceRoot']; | ||
sources: SourceMapV3['sources']; | ||
sourcesContent: SourceMapV3['sourcesContent']; | ||
resolvedSources: string[]; | ||
private _encoded; | ||
private _decoded; | ||
private _decodedMemo; | ||
private _bySources; | ||
private _bySourceMemos; | ||
constructor(map: SourceMapInput, mapUrl?: string | null); | ||
} | ||
declare function installSourceMapSupport(): Map<string, string> | undefined; | ||
declare function applySourceMap(transformed: { | ||
code: string; | ||
map?: string; | ||
map: SourceMapInput; | ||
}): void; | ||
declare function transformDynamicImport({ code }: { | ||
code: string; | ||
}, sourcemap?: boolean | 'inline'): { | ||
code: string; | ||
map: string; | ||
map: EncodedSourceMap; | ||
} | undefined; | ||
declare function transformSync(code: string, filePath: string, extendOptions?: TransformOptions): TransformResult; | ||
declare function transform(code: string, filePath: string, extendOptions?: TransformOptions): Promise<TransformResult>; | ||
declare function resolveTsPath(filePath: string): string | undefined; | ||
export { installSourceMapSupport, resolveTsPath, transform, transformDynamicImport, transformSync }; | ||
export { applySourceMap, installSourceMapSupport, resolveTsPath, transform, transformDynamicImport, transformSync }; |
@@ -1,15 +0,15 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var Yt=require("source-map-support"),Gt=require("url"),Ht=require("path"),re=require("esbuild"),Ot=require("crypto"),jt=require("fs"),qt=require("os");function _(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var _t=_(Yt),Y=_(Ht),Pt=_(Ot),x=_(jt),Xt=_(qt);const Ke="setSourceMapsEnabled"in process&&typeof Error.prepareStackTrace!="function";function Tt(){if(Ke){process.setSourceMapsEnabled(!0);return}const r=new Map;return _t.default.install({environment:"node",retrieveSourceMap(e){const A=r.get(e);return A?{url:e,map:A}:null}}),r}for(var $t={},Ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ne=0;ne<Ce.length;ne++)$t[Ce.charCodeAt(ne)]=ne;function Wt(r){for(var e=0,A=0,i=0,s=0,o="",c=0;c<r.length;c++){var g=r[c];if(c>0&&(o+=";"),g.length!==0){for(var h=0,C=[],f=0,n=g;f<n.length;f++){var B=n[f],m=P(B[0]-h);h=B[0],B.length>1&&(m+=P(B[1]-e)+P(B[2]-A)+P(B[3]-i),e=B[1],A=B[2],i=B[3]),B.length===5&&(m+=P(B[4]-s),s=B[4]),C.push(m)}o+=C.join(",")}}return o}function P(r){var e="";r=r<0?-r<<1|1:r<<1;do{var A=r&31;r>>>=5,r>0&&(A|=32),e+=Ce[A]}while(r>0);return e}class le{constructor(e){this.bits=e instanceof le?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}}class Z{constructor(e,A,i){this.start=e,this.end=A,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new Z(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let A=this;for(;A;)e(A),A=A.next}eachPrevious(e){let A=this;for(;A;)e(A),A=A.previous}edit(e,A,i){return this.content=e,i||(this.intro="",this.outro=""),this.storeName=A,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}split(e){const A=e-this.start,i=this.original.slice(0,A),s=this.original.slice(A);this.original=i;const o=new Z(e,this.end,s);return o.outro=this.outro,this.outro="",this.end=e,this.edited?(o.edit("",!1),this.content=""):this.content=i,o.next=this.next,o.next&&(o.next.previous=o),o.previous=this,this.next=o,o}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const A=this.content.replace(e,"");if(A.length)return A!==this.content&&this.split(this.start+A.length).edit("",void 0,!0),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const A=this.content.replace(e,"");if(A.length)return A!==this.content&&(this.split(this.end-A.length),this.edit("",void 0,!0)),!0;if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}}let Be=()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};typeof window<"u"&&typeof window.btoa=="function"?Be=r=>window.btoa(unescape(encodeURIComponent(r))):typeof Buffer=="function"&&(Be=r=>Buffer.from(r,"utf-8").toString("base64"));class Vt{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=Wt(e.mappings)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Be(this.toString())}}function Zt(r){const e=r.split(` | ||
`),A=e.filter(o=>/^\t+/.test(o)),i=e.filter(o=>/^ {2,}/.test(o));if(A.length===0&&i.length===0)return null;if(A.length>=i.length)return" ";const s=i.reduce((o,c)=>{const g=/^ +/.exec(c)[0].length;return Math.min(g,o)},1/0);return new Array(s+1).join(" ")}function zt(r,e){const A=r.split(/[/\\]/),i=e.split(/[/\\]/);for(A.pop();A[0]===i[0];)A.shift(),i.shift();if(A.length){let s=A.length;for(;s--;)A[s]=".."}return A.concat(i).join("/")}const eA=Object.prototype.toString;function tA(r){return eA.call(r)==="[object Object]"}function Le(r){const e=r.split(` | ||
`),A=[];for(let i=0,s=0;i<e.length;i++)A.push(s),s+=e[i].length+1;return function(s){let o=0,c=A.length;for(;o<c;){const C=o+c>>1;s<A[C]?c=C:o=C+1}const g=o-1,h=s-A[g];return{line:g,column:h}}}class AA{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,A,i,s){if(A.length){const o=[this.generatedCodeColumn,e,i.line,i.column];s>=0&&o.push(s),this.rawSegments.push(o)}else this.pending&&this.rawSegments.push(this.pending);this.advance(A),this.pending=null}addUneditedChunk(e,A,i,s,o){let c=A.start,g=!0;for(;c<A.end;)(this.hires||g||o.has(c))&&this.rawSegments.push([this.generatedCodeColumn,e,s.line,s.column]),i[c]===` | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var Ht=require("source-map-support"),Ot=require("url"),ne=require("esbuild"),_t=require("crypto"),jt=require("fs"),qt=require("path"),Pt=require("os");function P(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var Xt=P(Ht),Tt=P(_t),R=P(jt),Y=P(qt),$t=P(Pt);const Je="setSourceMapsEnabled"in process&&typeof Error.prepareStackTrace!="function";function Wt(){if(Je){process.setSourceMapsEnabled(!0);return}const r=new Map;return Xt.default.install({environment:"node",retrieveSourceMap(e){const A=r.get(e);return A?{url:e,map:A}:null}}),r}const Vt=` | ||
//# sourceMappingURL=data:application/json;base64,`;function G(r){const e=typeof r.map=="string"?r.map:r.map.toString();Je&&(r.code=r.code+Vt+Buffer.from(e,"utf8").toString("base64"),r.map="")}const ve=r=>Tt.default.createHash("sha1").update(r).digest("hex");for(var Zt={},Be="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ie=0;ie<Be.length;ie++)Zt[Be.charCodeAt(ie)]=ie;function zt(r){for(var e=0,A=0,i=0,s=0,o="",c=0;c<r.length;c++){var g=r[c];if(c>0&&(o+=";"),g.length!==0){for(var h=0,C=[],f=0,n=g;f<n.length;f++){var B=n[f],m=X(B[0]-h);h=B[0],B.length>1&&(m+=X(B[1]-e)+X(B[2]-A)+X(B[3]-i),e=B[1],A=B[2],i=B[3]),B.length===5&&(m+=X(B[4]-s),s=B[4]),C.push(m)}o+=C.join(",")}}return o}function X(r){var e="";r=r<0?-r<<1|1:r<<1;do{var A=r&31;r>>>=5,r>0&&(A|=32),e+=Be[A]}while(r>0);return e}class ue{constructor(e){this.bits=e instanceof ue?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}}class z{constructor(e,A,i){this.start=e,this.end=A,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new z(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let A=this;for(;A;)e(A),A=A.next}eachPrevious(e){let A=this;for(;A;)e(A),A=A.previous}edit(e,A,i){return this.content=e,i||(this.intro="",this.outro=""),this.storeName=A,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}split(e){const A=e-this.start,i=this.original.slice(0,A),s=this.original.slice(A);this.original=i;const o=new z(e,this.end,s);return o.outro=this.outro,this.outro="",this.end=e,this.edited?(o.edit("",!1),this.content=""):this.content=i,o.next=this.next,o.next&&(o.next.previous=o),o.previous=this,this.next=o,o}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const A=this.content.replace(e,"");if(A.length)return A!==this.content&&this.split(this.start+A.length).edit("",void 0,!0),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const A=this.content.replace(e,"");if(A.length)return A!==this.content&&(this.split(this.end-A.length),this.edit("",void 0,!0)),!0;if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}}let Ee=()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};typeof window<"u"&&typeof window.btoa=="function"?Ee=r=>window.btoa(unescape(encodeURIComponent(r))):typeof Buffer=="function"&&(Ee=r=>Buffer.from(r,"utf-8").toString("base64"));class eA{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=zt(e.mappings)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Ee(this.toString())}}function tA(r){const e=r.split(` | ||
`),A=e.filter(o=>/^\t+/.test(o)),i=e.filter(o=>/^ {2,}/.test(o));if(A.length===0&&i.length===0)return null;if(A.length>=i.length)return" ";const s=i.reduce((o,c)=>{const g=/^ +/.exec(c)[0].length;return Math.min(g,o)},1/0);return new Array(s+1).join(" ")}function AA(r,e){const A=r.split(/[/\\]/),i=e.split(/[/\\]/);for(A.pop();A[0]===i[0];)A.shift(),i.shift();if(A.length){let s=A.length;for(;s--;)A[s]=".."}return A.concat(i).join("/")}const rA=Object.prototype.toString;function nA(r){return rA.call(r)==="[object Object]"}function Ke(r){const e=r.split(` | ||
`),A=[];for(let i=0,s=0;i<e.length;i++)A.push(s),s+=e[i].length+1;return function(s){let o=0,c=A.length;for(;o<c;){const C=o+c>>1;s<A[C]?c=C:o=C+1}const g=o-1,h=s-A[g];return{line:g,column:h}}}class iA{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,A,i,s){if(A.length){const o=[this.generatedCodeColumn,e,i.line,i.column];s>=0&&o.push(s),this.rawSegments.push(o)}else this.pending&&this.rawSegments.push(this.pending);this.advance(A),this.pending=null}addUneditedChunk(e,A,i,s,o){let c=A.start,g=!0;for(;c<A.end;)(this.hires||g||o.has(c))&&this.rawSegments.push([this.generatedCodeColumn,e,s.line,s.column]),i[c]===` | ||
`?(s.line+=1,s.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,g=!0):(s.column+=1,this.generatedCodeColumn+=1,g=!1),c+=1;this.pending=null}advance(e){if(!e)return;const A=e.split(` | ||
`);if(A.length>1){for(let i=0;i<A.length-1;i++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=A[A.length-1].length}}const X=` | ||
`,G={insertLeft:!1,insertRight:!1,storeName:!1};class Je{constructor(e,A={}){const i=new Z(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:i},lastChunk:{writable:!0,value:i},lastSearchedChunk:{writable:!0,value:i},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:A.filename},indentExclusionRanges:{writable:!0,value:A.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new le},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:Zt(e)}}),this.byStart[0]=i,this.byEnd[e.length]=i}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,A){if(typeof A!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byEnd[e];return i?i.appendLeft(A):this.intro+=A,this}appendRight(e,A){if(typeof A!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byStart[e];return i?i.appendRight(A):this.outro+=A,this}clone(){const e=new Je(this.original,{filename:this.filename});let A=this.firstChunk,i=e.firstChunk=e.lastSearchedChunk=A.clone();for(;A;){e.byStart[i.start]=i,e.byEnd[i.end]=i;const s=A.next,o=s&&s.clone();o&&(i.next=o,o.previous=i,i=o),A=s}return e.lastChunk=i,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new le(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const A=0,i=Object.keys(this.storedNames),s=new AA(e.hires),o=Le(this.original);return this.intro&&s.advance(this.intro),this.firstChunk.eachNext(c=>{const g=o(c.start);c.intro.length&&s.advance(c.intro),c.edited?s.addEdit(A,c.content,g,c.storeName?i.indexOf(c.original):-1):s.addUneditedChunk(A,c,this.original,g,this.sourcemapLocations),c.outro.length&&s.advance(c.outro)}),{file:e.file?e.file.split(/[/\\]/).pop():null,sources:[e.source?zt(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:i,mappings:s.raw}}generateMap(e){return new Vt(this.generateDecodedMap(e))}getIndentString(){return this.indentStr===null?" ":this.indentStr}indent(e,A){const i=/^[^\r\n]/gm;if(tA(e)&&(A=e,e=void 0),e=e!==void 0?e:this.indentStr||" ",e==="")return this;A=A||{};const s={};A.exclude&&(typeof A.exclude[0]=="number"?[A.exclude]:A.exclude).forEach(f=>{for(let n=f[0];n<f[1];n+=1)s[n]=!0});let o=A.indentStart!==!1;const c=C=>o?`${e}${C}`:(o=!0,C);this.intro=this.intro.replace(i,c);let g=0,h=this.firstChunk;for(;h;){const C=h.end;if(h.edited)s[g]||(h.content=h.content.replace(i,c),h.content.length&&(o=h.content[h.content.length-1]===` | ||
`);if(A.length>1){for(let i=0;i<A.length-1;i++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=A[A.length-1].length}}const T=` | ||
`,H={insertLeft:!1,insertRight:!1,storeName:!1};class Se{constructor(e,A={}){const i=new z(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:i},lastChunk:{writable:!0,value:i},lastSearchedChunk:{writable:!0,value:i},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:A.filename},indentExclusionRanges:{writable:!0,value:A.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new ue},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:tA(e)}}),this.byStart[0]=i,this.byEnd[e.length]=i}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,A){if(typeof A!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byEnd[e];return i?i.appendLeft(A):this.intro+=A,this}appendRight(e,A){if(typeof A!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byStart[e];return i?i.appendRight(A):this.outro+=A,this}clone(){const e=new Se(this.original,{filename:this.filename});let A=this.firstChunk,i=e.firstChunk=e.lastSearchedChunk=A.clone();for(;A;){e.byStart[i.start]=i,e.byEnd[i.end]=i;const s=A.next,o=s&&s.clone();o&&(i.next=o,o.previous=i,i=o),A=s}return e.lastChunk=i,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new ue(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const A=0,i=Object.keys(this.storedNames),s=new iA(e.hires),o=Ke(this.original);return this.intro&&s.advance(this.intro),this.firstChunk.eachNext(c=>{const g=o(c.start);c.intro.length&&s.advance(c.intro),c.edited?s.addEdit(A,c.content,g,c.storeName?i.indexOf(c.original):-1):s.addUneditedChunk(A,c,this.original,g,this.sourcemapLocations),c.outro.length&&s.advance(c.outro)}),{file:e.file?e.file.split(/[/\\]/).pop():null,sources:[e.source?AA(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:i,mappings:s.raw}}generateMap(e){return new eA(this.generateDecodedMap(e))}getIndentString(){return this.indentStr===null?" ":this.indentStr}indent(e,A){const i=/^[^\r\n]/gm;if(nA(e)&&(A=e,e=void 0),e=e!==void 0?e:this.indentStr||" ",e==="")return this;A=A||{};const s={};A.exclude&&(typeof A.exclude[0]=="number"?[A.exclude]:A.exclude).forEach(f=>{for(let n=f[0];n<f[1];n+=1)s[n]=!0});let o=A.indentStart!==!1;const c=C=>o?`${e}${C}`:(o=!0,C);this.intro=this.intro.replace(i,c);let g=0,h=this.firstChunk;for(;h;){const C=h.end;if(h.edited)s[g]||(h.content=h.content.replace(i,c),h.content.length&&(o=h.content[h.content.length-1]===` | ||
`));else for(g=h.start;g<C;){if(!s[g]){const f=this.original[g];f===` | ||
`?o=!0:f!=="\r"&&o&&(o=!1,g===h.start||(this._splitChunk(h,g),h=h.next),h.prependRight(e))}g+=1}g=h.end,h=h.next}return this.outro=this.outro.replace(i,c),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,A){return G.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),G.insertLeft=!0),this.appendLeft(e,A)}insertRight(e,A){return G.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),G.insertRight=!0),this.prependRight(e,A)}move(e,A,i){if(i>=e&&i<=A)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(A),this._split(i);const s=this.byStart[e],o=this.byEnd[A],c=s.previous,g=o.next,h=this.byStart[i];if(!h&&o===this.lastChunk)return this;const C=h?h.previous:this.lastChunk;return c&&(c.next=g),g&&(g.previous=c),C&&(C.next=s),h&&(h.previous=o),s.previous||(this.firstChunk=o.next),o.next||(this.lastChunk=s.previous,this.lastChunk.next=null),s.previous=C,o.next=h||null,C||(this.firstChunk=s),h||(this.lastChunk=o),this}overwrite(e,A,i,s){if(typeof i!="string")throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;A<0;)A+=this.original.length;if(A>this.original.length)throw new Error("end is out of bounds");if(e===A)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(A),s===!0&&(G.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),G.storeName=!0),s={storeName:!0});const o=s!==void 0?s.storeName:!1,c=s!==void 0?s.contentOnly:!1;if(o){const C=this.original.slice(e,A);Object.defineProperty(this.storedNames,C,{writable:!0,value:!0,enumerable:!0})}const g=this.byStart[e],h=this.byEnd[A];if(g){let C=g;for(;C!==h;){if(C.next!==this.byStart[C.end])throw new Error("Cannot overwrite across a split point");C=C.next,C.edit("",!1)}g.edit(i,o,c)}else{const C=new Z(e,A,"").edit(i,o);h.next=C,C.previous=h}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,A){if(typeof A!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byEnd[e];return i?i.prependLeft(A):this.intro=A+this.intro,this}prependRight(e,A){if(typeof A!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byStart[e];return i?i.prependRight(A):this.outro=A+this.outro,this}remove(e,A){for(;e<0;)e+=this.original.length;for(;A<0;)A+=this.original.length;if(e===A)return this;if(e<0||A>this.original.length)throw new Error("Character is out of bounds");if(e>A)throw new Error("end must be greater than start");this._split(e),this._split(A);let i=this.byStart[e];for(;i;)i.intro="",i.outro="",i.edit(""),i=A>i.end?this.byStart[i.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(X);if(e!==-1)return this.outro.substr(e+1);let A=this.outro,i=this.lastChunk;do{if(i.outro.length>0){if(e=i.outro.lastIndexOf(X),e!==-1)return i.outro.substr(e+1)+A;A=i.outro+A}if(i.content.length>0){if(e=i.content.lastIndexOf(X),e!==-1)return i.content.substr(e+1)+A;A=i.content+A}if(i.intro.length>0){if(e=i.intro.lastIndexOf(X),e!==-1)return i.intro.substr(e+1)+A;A=i.intro+A}}while(i=i.previous);return e=this.intro.lastIndexOf(X),e!==-1?this.intro.substr(e+1)+A:this.intro+A}slice(e=0,A=this.original.length){for(;e<0;)e+=this.original.length;for(;A<0;)A+=this.original.length;let i="",s=this.firstChunk;for(;s&&(s.start>e||s.end<=e);){if(s.start<A&&s.end>=A)return i;s=s.next}if(s&&s.edited&&s.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);const o=s;for(;s;){s.intro&&(o!==s||s.start===e)&&(i+=s.intro);const c=s.start<A&&s.end>=A;if(c&&s.edited&&s.end!==A)throw new Error(`Cannot use replaced character ${A} as slice end anchor.`);const g=o===s?e-s.start:0,h=c?s.content.length+A-s.end:s.content.length;if(i+=s.content.slice(g,h),s.outro&&(!c||s.end===A)&&(i+=s.outro),c)break;s=s.next}return i}snip(e,A){const i=this.clone();return i.remove(0,e),i.remove(A,i.original.length),i}_split(e){if(this.byStart[e]||this.byEnd[e])return;let A=this.lastSearchedChunk;const i=e>A.end;for(;A;){if(A.contains(e))return this._splitChunk(A,e);A=i?this.byStart[A.end]:this.byEnd[A.start]}}_splitChunk(e,A){if(e.edited&&e.content.length){const s=Le(this.original)(A);throw new Error(`Cannot split a chunk that has already been edited (${s.line}:${s.column} \u2013 "${e.original}")`)}const i=e.split(A);return this.byEnd[A]=e,this.byStart[A]=i,this.byEnd[i.end]=i,e===this.lastChunk&&(this.lastChunk=i),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,A=this.firstChunk;for(;A;)e+=A.toString(),A=A.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,A=0;do A+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return A}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){const A=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(A,""),this.outro.length)return!0;let i=this.lastChunk;do{const s=i.end,o=i.trimEnd(A);if(i.end!==s&&(this.lastChunk===i&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),o)return!0;i=i.previous}while(i);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){const A=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(A,""),this.intro.length)return!0;let i=this.firstChunk;do{const s=i.end,o=i.trimStart(A);if(i.end!==s&&(i===this.lastChunk&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),o)return!0;i=i.next}while(i);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}replace(e,A){function i(o,c){return typeof A=="string"?A.replace(/\$(\$|&|\d+)/g,(g,h)=>h==="$"?"$":h==="&"?o[0]:+h<o.length?o[+h]:`$${h}`):A(...o,o.index,c,o.groups)}function s(o,c){let g;const h=[];for(;g=o.exec(c);)h.push(g);return h}if(typeof e!="string"&&e.global)s(e,this.original).forEach(c=>{c.index!=null&&this.overwrite(c.index,c.index+c[0].length,i(c,this.original))});else{const o=this.original.match(e);o&&o.index!=null&&this.overwrite(o.index,o.index+o[0].length,i(o,this.original))}return this}}const Ne=",".charCodeAt(0),rA=";".charCodeAt(0),xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Re=new Uint8Array(64),Ue=new Uint8Array(128);for(let r=0;r<xe.length;r++){const e=xe.charCodeAt(r);Re[r]=e,Ue[e]=r}const Ee=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(r){return Buffer.from(r.buffer,r.byteOffset,r.byteLength).toString()}}:{decode(r){let e="";for(let A=0;A<r.length;A++)e+=String.fromCharCode(r[A]);return e}};function nA(r){const e=new Int32Array(5),A=[];let i=0;do{const s=iA(r,i),o=[];let c=!0,g=0;e[0]=0;for(let h=i;h<s;h++){let C;h=T(r,h,e,0);const f=e[0];f<g&&(c=!1),g=f,Fe(r,h,s)?(h=T(r,h,e,1),h=T(r,h,e,2),h=T(r,h,e,3),Fe(r,h,s)?(h=T(r,h,e,4),C=[f,e[1],e[2],e[3],e[4]]):C=[f,e[1],e[2],e[3]]):C=[f],o.push(C)}c||sA(o),A.push(o),i=s+1}while(i<=r.length);return A}function iA(r,e){const A=r.indexOf(";",e);return A===-1?r.length:A}function T(r,e,A,i){let s=0,o=0,c=0;do{const h=r.charCodeAt(e++);c=Ue[h],s|=(c&31)<<o,o+=5}while(c&32);const g=s&1;return s>>>=1,g&&(s=-2147483648|-s),A[i]+=s,e}function Fe(r,e,A){return e>=A?!1:r.charCodeAt(e)!==Ne}function sA(r){r.sort(oA)}function oA(r,e){return r[0]-e[0]}function aA(r){const e=new Int32Array(5),A=1024*16,i=A-36,s=new Uint8Array(A),o=s.subarray(0,i);let c=0,g="";for(let h=0;h<r.length;h++){const C=r[h];if(h>0&&(c===A&&(g+=Ee.decode(s),c=0),s[c++]=rA),C.length!==0){e[0]=0;for(let f=0;f<C.length;f++){const n=C[f];c>i&&(g+=Ee.decode(o),s.copyWithin(0,i,c),c-=i),f>0&&(s[c++]=Ne),c=$(s,c,e,n,0),n.length!==1&&(c=$(s,c,e,n,1),c=$(s,c,e,n,2),c=$(s,c,e,n,3),n.length!==4&&(c=$(s,c,e,n,4)))}}}return g+Ee.decode(s.subarray(0,c))}function $(r,e,A,i,s){const o=i[s];let c=o-A[s];A[s]=o,c=c<0?-c<<1|1:c<<1;do{let g=c&31;c>>>=5,c>0&&(g|=32),r[e++]=Re[g]}while(c>0);return e}const cA=/^[\w+.-]+:\/\//,lA=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?/,uA=/^file:(?:\/\/((?![a-z]:)[^/]*)?)?(\/?.*)/i;function fA(r){return cA.test(r)}function hA(r){return r.startsWith("//")}function Me(r){return r.startsWith("/")}function QA(r){return r.startsWith("file:")}function ie(r){const e=lA.exec(r);return Ye(e[1],e[2]||"",e[3],e[4]||"",e[5]||"/")}function gA(r){const e=uA.exec(r),A=e[2];return Ye("file:","",e[1]||"","",Me(A)?A:"/"+A)}function Ye(r,e,A,i,s){return{scheme:r,user:e,host:A,port:i,path:s,relativePath:!1}}function Ge(r){if(hA(r)){const A=ie("http:"+r);return A.scheme="",A}if(Me(r)){const A=ie("http://foo.com"+r);return A.scheme="",A.host="",A}if(QA(r))return gA(r);if(fA(r))return ie(r);const e=ie("http://foo.com/"+r);return e.scheme="",e.host="",e.relativePath=!0,e}function CA(r){if(r.endsWith("/.."))return r;const e=r.lastIndexOf("/");return r.slice(0,e+1)}function BA(r,e){!r.relativePath||(He(e),r.path==="/"?r.path=e.path:r.path=CA(e.path)+r.path,r.relativePath=e.relativePath)}function He(r){const{relativePath:e}=r,A=r.path.split("/");let i=1,s=0,o=!1;for(let g=1;g<A.length;g++){const h=A[g];if(!h){o=!0;continue}if(o=!1,h!=="."){if(h===".."){s?(o=!0,s--,i--):e&&(A[i++]=h);continue}A[i++]=h,s++}}let c="";for(let g=1;g<i;g++)c+="/"+A[g];(!c||o&&!c.endsWith("/.."))&&(c+="/"),r.path=c}function EA(r,e){if(!r&&!e)return"";const A=Ge(r);if(e&&!A.scheme){const i=Ge(e);A.scheme=i.scheme,A.host||(A.user=i.user,A.host=i.host,A.port=i.port),BA(A,i)}if(He(A),A.relativePath){const i=A.path.slice(1);return i?!(e||r).startsWith(".")||i.startsWith(".")?i:"./"+i:"."}return!A.scheme&&!A.host?A.path:`${A.scheme}//${A.user}${A.host}${A.port}${A.path}`}function Oe(r,e){return e&&!e.endsWith("/")&&(e+="/"),EA(r,e)}function dA(r){if(!r)return"";const e=r.lastIndexOf("/");return r.slice(0,e+1)}const L=0;function IA(r,e){const A=je(r,0);if(A===r.length)return r;e||(r=r.slice());for(let i=A;i<r.length;i=je(r,i+1))r[i]=wA(r[i],e);return r}function je(r,e){for(let A=e;A<r.length;A++)if(!kA(r[A]))return A;return r.length}function kA(r){for(let e=1;e<r.length;e++)if(r[e][L]<r[e-1][L])return!1;return!0}function wA(r,e){return e||(r=r.slice()),r.sort(pA)}function pA(r,e){return r[L]-e[L]}let se=!1;function bA(r,e,A,i){for(;A<=i;){const s=A+(i-A>>1),o=r[s][L]-e;if(o===0)return se=!0,s;o<0?A=s+1:i=s-1}return se=!1,A-1}function mA(r,e,A){for(let i=A+1;i<r.length&&r[i][L]===e;A=i++);return A}function SA(r,e,A){for(let i=A-1;i>=0&&r[i][L]===e;A=i--);return A}function DA(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function JA(r,e,A,i){const{lastKey:s,lastNeedle:o,lastIndex:c}=A;let g=0,h=r.length-1;if(i===s){if(e===o)return se=c!==-1&&r[c][L]===e,c;e>=o?g=c===-1?0:c:h=c}return A.lastKey=i,A.lastNeedle=e,A.lastIndex=bA(r,e,g,h)}const qe=-1,yA=1;let de,_e;class Pe{constructor(e,A){this._decodedMemo=DA(),this._bySources=void 0,this._bySourceMemos=void 0;const i=typeof e=="string";if(!i&&e._decodedMemo)return e;const s=i?JSON.parse(e):e,{version:o,file:c,names:g,sourceRoot:h,sources:C,sourcesContent:f}=s;this.version=o,this.file=c,this.names=g,this.sourceRoot=h,this.sources=C,this.sourcesContent=f;const n=Oe(h||"",dA(A));this.resolvedSources=C.map(m=>Oe(m||"",n));const{mappings:B}=s;typeof B=="string"?(this._encoded=B,this._decoded=void 0):(this._encoded=void 0,this._decoded=IA(B,i))}}de=r=>r._decoded||(r._decoded=nA(r._encoded)),_e=(r,e,A)=>{const i=de(r);return e>=i.length?null:vA(i[e],r._decodedMemo,e,A,yA)};function vA(r,e,A,i,s){let o=JA(r,i,e,A);return se?o=(s===qe?mA:SA)(r,i,o):s===qe&&o++,o===-1||o===r.length?null:r[o]}let Xe,oe;class Te{constructor(){this._indexes={__proto__:null},this.array=[]}}Xe=(r,e)=>r._indexes[e],oe=(r,e)=>{const A=Xe(r,e);if(A!==void 0)return A;const{array:i,_indexes:s}=r;return s[e]=i.push(e)-1};let $e,We,Ie,Ve;class KA{constructor({file:e,sourceRoot:A}={}){this._names=new Te,this._sources=new Te,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=A}}$e=(r,e,A,i,s,o,c)=>{const{_mappings:g,_sources:h,_sourcesContent:C,_names:f}=r,n=LA(g,e);if(i==null){const v=[A],K=Ze(n,A,v);return ze(n,K,v)}const B=oe(h,i),m=c?[A,B,s,o,oe(f,c)]:[A,B,s,o],w=Ze(n,A,m);B===C.length&&(C[B]=null),ze(n,w,m)},We=(r,e,A)=>{const{_sources:i,_sourcesContent:s}=r;s[oe(i,e)]=A},Ie=r=>{const{file:e,sourceRoot:A,_mappings:i,_sources:s,_sourcesContent:o,_names:c}=r;return{version:3,file:e,names:c.array,sourceRoot:A||void 0,sources:s.array,sourcesContent:o,mappings:i}},Ve=r=>{const e=Ie(r);return Object.assign(Object.assign({},e),{mappings:aA(e.mappings)})};function LA(r,e){for(let A=r.length;A<=e;A++)r[A]=[];return r[e]}function Ze(r,e,A){let i=r.length;for(let s=i-1;s>=0;s--,i--){const o=r[s],c=o[0];if(c>e)continue;if(c<e)break;const g=NA(o,A);if(g===0)return i;if(g<0)break}return i}function NA(r,e){let A=W(r.length,e.length);return A!==0?A:r.length===1?0:(A=W(r[1],e[1]),A!==0||(A=W(r[2],e[2]),A!==0)||(A=W(r[3],e[3]),A!==0)?A:r.length===4?0:W(r[4],e[4]))}function W(r,e){return r-e}function ze(r,e,A){if(e!==-1){for(let i=r.length;i>e;i--)r[i]=r[i-1];r[e]=A}}const et={source:null,column:null,line:null,name:null,content:null},xA=[];function tt(r,e,A,i){return{map:r,sources:e,source:A,content:i}}function At(r,e){return tt(r,e,"",null)}function RA(r,e){return tt(null,xA,r,e)}function UA(r){const e=new KA({file:r.map.file}),{sources:A,map:i}=r,s=i.names,o=de(i);for(let c=0;c<o.length;c++){const g=o[c];let h=null,C=null,f=null;for(let n=0;n<g.length;n++){const B=g[n],m=B[0];let w=et;if(B.length!==1){const ee=A[B[1]];if(w=rt(ee,B[2],B[3],B.length===5?s[B[4]]:""),w==null)continue}const{column:v,line:K,name:z,content:R,source:U}=w;K===C&&v===f&&U===h||(C=K,f=v,h=U,$e(e,c,m,U,K,v,z),R!=null&&We(e,U,R))}}return e}function rt(r,e,A,i){if(!r.map)return{column:A,line:e,name:i,source:r.source,content:r.content};const s=_e(r.map,e,A);return s==null?null:s.length===1?et:rt(r.sources[s[1]],s[2],s[3],s.length===5?r.map.names[s[4]]:i)}function FA(r){return Array.isArray(r)?r:[r]}function MA(r,e){const A=FA(r).map(o=>new Pe(o,"")),i=A.pop();for(let o=0;o<A.length;o++)if(A[o].sources.length>1)throw new Error(`Transformation map ${o} must have exactly one source file. | ||
Did you specify these with the most recent transformation maps first?`);let s=nt(i,e,"",0);for(let o=A.length-1;o>=0;o--)s=At(A[o],[s]);return s}function nt(r,e,A,i){const{resolvedSources:s,sourcesContent:o}=r,c=i+1,g=s.map((h,C)=>{const f={importer:A,depth:c,source:h||"",content:void 0},n=e(f.source,f),{source:B,content:m}=f;if(n)return nt(new Pe(n,B),e,B,c);const w=m!==void 0?m:o?o[C]:null;return RA(B,w)});return At(r,g)}class YA{constructor(e,A){const i=A.decodedMappings?Ie(e):Ve(e);this.version=i.version,this.file=i.file,this.mappings=i.mappings,this.names=i.names,this.sourceRoot=i.sourceRoot,this.sources=i.sources,A.excludeContent||(this.sourcesContent=i.sourcesContent)}toString(){return JSON.stringify(this)}}function GA(r,e,A){const i=typeof A=="object"?A:{excludeContent:!!A,decodedMappings:!1},s=MA(r,e);return new YA(UA(s),i)}const HA=new Uint8Array(new Uint16Array([1]).buffer)[0]===1;function it(r,e="@"){if(!I)return st.then(()=>it(r));const A=r.length+1,i=(I.__heap_base.value||I.__heap_base)+4*A-I.memory.buffer.byteLength;i>0&&I.memory.grow(Math.ceil(i/65536));const s=I.sa(A-1);if((HA?jA:OA)(r,new Uint16Array(I.memory.buffer,s,A)),!I.parse())throw Object.assign(new Error(`Parse error ${e}:${r.slice(0,I.e()).split(` | ||
`).length}:${I.e()-r.lastIndexOf(` | ||
`,I.e()-1)}`),{idx:I.e()});const o=[],c=[];for(;I.ri();){const h=I.is(),C=I.ie(),f=I.ai(),n=I.id(),B=I.ss(),m=I.se();let w;I.ip()&&(w=g(r.slice(n===-1?h-1:h,n===-1?C+1:C))),o.push({n:w,s:h,e:C,ss:B,se:m,d:n,a:f})}for(;I.re();){const h=r.slice(I.es(),I.ee()),C=h[0];c.push(C==='"'||C==="'"?g(h):h)}function g(h){try{return(0,eval)(h)}catch{}}return[o,c,!!I.f()]}function OA(r,e){const A=r.length;let i=0;for(;i<A;){const s=r.charCodeAt(i);e[i++]=(255&s)<<8|s>>>8}}function jA(r,e){const A=r.length;let i=0;for(;i<A;)e[i]=r.charCodeAt(i++)}let I;const st=WebAssembly.compile((ke="AGFzbQEAAAABKghgAX8Bf2AEf39/fwBgAn9/AGAAAX9gAABgAX8AYAN/f38Bf2ACf38BfwMqKQABAgMDAwMDAwMDAwMDAwMAAAQEBAUEBQAAAAAEBAAGBwACAAAABwMGBAUBcAEBAQUDAQABBg8CfwFBkPIAC38AQZDyAAsHZBEGbWVtb3J5AgACc2EAAAFlAAMCaXMABAJpZQAFAnNzAAYCc2UABwJhaQAIAmlkAAkCaXAACgJlcwALAmVlAAwCcmkADQJyZQAOAWYADwVwYXJzZQAQC19faGVhcF9iYXNlAwEKhjQpaAEBf0EAIAA2AtQJQQAoArAJIgEgAEEBdGoiAEEAOwEAQQAgAEECaiIANgLYCUEAIAA2AtwJQQBBADYCtAlBAEEANgLECUEAQQA2ArwJQQBBADYCuAlBAEEANgLMCUEAQQA2AsAJIAELnwEBA39BACgCxAkhBEEAQQAoAtwJIgU2AsQJQQAgBDYCyAlBACAFQSBqNgLcCSAEQRxqQbQJIAQbIAU2AgBBACgCqAkhBEEAKAKkCSEGIAUgATYCACAFIAA2AgggBSACIAJBAmpBACAGIANGGyAEIANGGzYCDCAFIAM2AhQgBUEANgIQIAUgAjYCBCAFQQA2AhwgBUEAKAKkCSADRjoAGAtIAQF/QQAoAswJIgJBCGpBuAkgAhtBACgC3AkiAjYCAEEAIAI2AswJQQAgAkEMajYC3AkgAkEANgIIIAIgATYCBCACIAA2AgALCABBACgC4AkLFQBBACgCvAkoAgBBACgCsAlrQQF1Cx4BAX9BACgCvAkoAgQiAEEAKAKwCWtBAXVBfyAAGwsVAEEAKAK8CSgCCEEAKAKwCWtBAXULHgEBf0EAKAK8CSgCDCIAQQAoArAJa0EBdUF/IAAbCx4BAX9BACgCvAkoAhAiAEEAKAKwCWtBAXVBfy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0AlFcUEALwHoCUVxIQMMBgsQHUEAIQMMBQsgBEGgAUcNAQtBAEEBOgCECgtBAEEAKAKICjYC8AkLQQAoAogKIQIMAAsLIAFBgNoAaiQAIAMLHQACQEEAKAKwCSAARw0AQQEPCyAAQX5qLwEAEB4LpgYBBH9BAEEAKAKICiIAQQxqIgE2AogKQQEQISECAkACQAJAAkACQEEAKAKICiIDIAFHDQAgAhAlRQ0BCwJAAkACQAJAAkAgAkGff2oODAYBAwgBBwEBAQEBBAALAkACQCACQSpGDQAgAkH2AEYNBSACQfsARw0CQQAgA0ECajYCiApBARAhIQNBACgCiAohAQNAAkACQCADQf//A3EiAkEiRg0AIAJBJ0YNACACECQaQQAoAogKIQIMAQsgAhAXQQBBACgCiApBAmoiAjYCiAoLQQEQIRoCQCABIAIQJiIDQSxHDQBBAEEAKAKICkECajYCiApBARAhIQMLQQAoAogKIQICQCADQf0ARg0AIAIgAUYNBSACIQEgAkEAKAKMCk0NAQwFCwtBACACQQJqNgKICgwBC0EAIANBAmo2AogKQQEQIRpBACgCiAoiAiACECYaC0EBECEhAgtBACgCiAohAwJAIAJB5gBHDQAgA0ECakGeCEEGECgNAEEAIANBCGo2AogKIABBARAhECIPC0EAIANBfmo2AogKDAMLEB0PCwJAIAMpAAJC7ICEg7COwDlSDQAgAy8BChAeRQ0AQQAgA0EKajYCiApBARAhIQJBACgCiAohAyACECQaIANBACgCiAoQAkEAQQAoAogKQX5qNgKICg8LQQAgA0EEaiIDNgKICgtBACADQQRqIgI2AogKQQBBADoA5AkDQEEAIAJBAmo2AogKQQEQISEDQQAoAogKIQICQCADECRBIHJB+wBHDQBBAEEAKAKICkF+ajYCiAoPC0EAKAKICiIDIAJGDQEgAiADEAICQEEBECEiAkEsRg0AAkAgAkE9Rw0AQQBBACgCiApBfmo2AogKDwtBAEEAKAKICkF+ajYCiAoPC0EAKAKICiECDAALCw8LQQAgA0EKajYCiApBARAhGkEAKAKICiEDC0EAIANBEGo2AogKAkBBARAhIgJBKkcNAEEAQQAoAogKQQJqNgKICkEBECEhAgtBACgCiAohAyACECQaIANBACgCiAoQAkEAQQAoAogKQX5qNgKICg8LIAMgA0EOahACC6sGAQR/QQBBACgCiAoiAEEMaiIBNgKICgJAAkACQAJAAkACQAJAAkACQAJAQQEQISICQVlqDggCCAECAQEBBwALIAJBIkYNASACQfsARg0CC0EAKAKICiABRg0HC0EALwHqCQ0BQQAoAogKIQJBACgCjAohAwNAIAIgA08NBAJAAkAgAi8BACIBQSdGDQAgAUEiRw0BCyAAIAEQIg8LQQAgAkECaiICNgKICgwACwtBACgCiAohAkEALwHqCQ0BAkADQAJAAkACQCACQQAoAowKTw0AQQEQISICQSJGDQEgAkEnRg0BIAJB/QBHDQJBAEEAKAKICkECajYCiAoLQQEQIRpBACgCiAoiAikAAELmgMiD8I3ANlINBkEAIAJBCGo2AogKQQEQISICQSJGDQMgAkEnRg0DDAYLIAIQFwtBAEEAKAKICkECaiICNgKICgwACwsgACACECIMBQtBAEEAKAKICkF+ajYCiAoPC0EAIAJBfmo2AogKDwsQHQ8LQQBBACgCiApBAmo2AogKQQEQIUHtAEcNAUEAKAKICiICQQJqQZYIQQYQKA0BQQAoAvAJLwEAQS5GDQEgACAAIAJBCGpBACgCqAkQAQ8LQQAoAvwJQQAvAeoJIgJBAnRqQQAoAogKNgIAQQAgAkEBajsB6glBACgC8AkvAQBBLkYNAEEAQQAoAogKIgFBAmo2AogKQQEQISECIABBACgCiApBACABEAFBAEEALwHoCSIBQQFqOwHoCUEAKAKACiABQQJ0akEAKALECTYCAAJAIAJBIkYNACACQSdGDQBBAEEAKAKICkF+ajYCiAoPCyACEBdBAEEAKAKICkECaiICNgKICgJAAkACQEEBECFBV2oOBAECAgACC0EAQQAoAogKQQJqNgKICkEBECEaQQAoAsQJIgEgAjYCBCABQQE6ABggAUEAKAKICiICNgIQQQAgAkF+ajYCiAoPC0EAKALECSIBIAI2AgQgAUEBOgAYQQBBAC8B6glBf2o7AeoJIAFBACgCiApBAmo2AgxB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//8DcUEESSEBCyABC4sBAQJ/AkBBACgCiAoiAi8BACIDQeEARw0AQQAgAkEEajYCiApBARAhIQJBACgCiAohAAJAAkAgAkEiRg0AIAJBJ0YNACACECQaQQAoAogKIQEMAQsgAhAXQQBBACgCiApBAmoiATYCiAoLQQEQISEDQQAoAogKIQILAkAgAiAARg0AIAAgARACCyADC3IBBH9BACgCiAohAEEAKAKMCiEBAkACQANAIABBAmohAiAAIAFPDQECQAJAIAIvAQAiA0Gkf2oOAgEEAAsgAiEAIANBdmoOBAIBAQIBCyAAQQRqIQAMAAsLQQAgAjYCiAoQHUEADwtBACACNgKICkHdAAtJAQN/QQAhAwJAIAJFDQACQANAIAAtAAAiBCABLQAAIgVHDQEgAUEBaiEBIABBAWohACACQX9qIgINAAwCCwsgBCAFayEDCyADCwvCAQIAQYAIC6QBAAB4AHAAbwByAHQAbQBwAG8AcgB0AGUAdABhAGYAcgBvAG0AcwBzAGUAcgB0AHYAbwB5AGkAZQBkAGUAbABlAGkAbgBzAHQAYQBuAHQAeQByAGUAdAB1AHIAZABlAGIAdQBnAGcAZQBhAHcAYQBpAHQAaAByAHcAaABpAGwAZQBmAG8AcgBpAGYAYwBhAHQAYwBmAGkAbgBhAGwAbABlAGwAcwAAQaQJCxABAAAAAgAAAAAEAAAQOQAA",typeof Buffer<"u"?Buffer.from(ke,"base64"):Uint8Array.from(atob(ke),r=>r.charCodeAt(0)))).then(WebAssembly.instantiate).then(({exports:r})=>{I=r});var ke;let p,ae,we,V=2<<19;const ot=new Uint8Array(new Uint16Array([1]).buffer)[0]===1?function(r,e){const A=r.length;let i=0;for(;i<A;)e[i]=r.charCodeAt(i++)}:function(r,e){const A=r.length;let i=0;for(;i<A;){const s=r.charCodeAt(i);e[i++]=(255&s)<<8|s>>>8}},qA="xportmportlassetafromssertvoyiedeleinstantyreturdebuggeawaithrwhileforifcatcfinallels";let b,at,d;function _A(r,e="@"){b=r,at=e;const A=2*b.length+(2<<18);if(A>V||!p){for(;A>V;)V*=2;ae=new ArrayBuffer(V),ot(qA,new Uint16Array(ae,16,85)),p=function(c,g,h){var C=new c.Int8Array(h),f=new c.Int16Array(h),n=new c.Int32Array(h),B=new c.Uint8Array(h),m=new c.Uint16Array(h),w=992;function v(t){t=t|0;var a=0,l=0,Q=0,u=0,k=0,Ae=0,M=0;M=w,w=w+11520|0,k=M+2048|0,C[763]=1,f[377]=0,f[378]=0,f[379]=0,f[380]=-1,n[57]=n[2],C[764]=0,n[56]=0,C[762]=0,n[58]=M+10496,n[59]=M+2304,n[60]=M,C[765]=0,t=(n[3]|0)+-2|0,n[61]=t,a=t+(n[54]<<1)|0,n[62]=a;e:for(;;){if(l=t+2|0,n[61]=l,t>>>0>=a>>>0){u=18;break}t:do switch(f[l>>1]|0){case 9:case 10:case 11:case 12:case 13:case 32:break;case 101:{if((f[379]|0)==0&&j(l)|0&&(y(t+4|0,16,10)|0)==0&&(K(),(C[763]|0)==0)){u=9;break e}else u=17;break}case 105:{j(l)|0&&(y(t+4|0,26,10)|0)==0&&z(),u=17;break}case 59:{u=17;break}case 47:switch(f[t+4>>1]|0){case 47:{Qe();break t}case 42:{fe(1);break t}default:{u=16;break e}}default:{u=16;break e}}while(0);(u|0)==17&&(u=0,n[57]=n[61]),t=n[61]|0,a=n[62]|0}(u|0)==9?(t=n[61]|0,n[57]=t,u=19):(u|0)==16?(C[763]=0,n[61]=t,u=19):(u|0)==18&&(C[762]|0?t=0:(t=l,u=19));do if((u|0)==19){e:for(;;){if(a=t+2|0,n[61]=a,Q=a,t>>>0>=(n[62]|0)>>>0){u=75;break}t:do switch(f[a>>1]|0){case 9:case 10:case 11:case 12:case 13:case 32:break;case 101:{(f[379]|0)==0&&j(a)|0&&(y(t+4|0,16,10)|0)==0&&K(),u=74;break}case 105:{j(a)|0&&(y(t+4|0,26,10)|0)==0&&z(),u=74;break}case 99:{j(a)|0&&(y(t+4|0,36,8)|0)==0&&ge(f[t+12>>1]|0)|0&&(C[765]=1),u=74;break}case 40:{l=n[57]|0,Q=n[59]|0,u=f[379]|0,f[379]=u+1<<16>>16,n[Q+((u&65535)<<2)>>2]=l,u=74;break}case 41:{if(a=f[379]|0,!(a<<16>>16)){u=36;break e}a=a+-1<<16>>16,f[379]=a,l=f[378]|0,l<<16>>16!=0&&(Ae=n[(n[60]|0)+((l&65535)+-1<<2)>>2]|0,(n[Ae+20>>2]|0)==(n[(n[59]|0)+((a&65535)<<2)>>2]|0))&&(a=Ae+4|0,n[a>>2]|0||(n[a>>2]=Q),n[Ae+12>>2]=t+4,f[378]=l+-1<<16>>16),u=74;break}case 123:{u=n[57]|0,Q=n[51]|0,t=u;do if((f[u>>1]|0)==41&(Q|0)!=0&&(n[Q+4>>2]|0)==(u|0))if(a=n[52]|0,n[51]=a,a){n[a+28>>2]=0;break}else{n[47]=0;break}while(0);l=f[379]|0,u=l&65535,C[k+u>>0]=C[765]|0,C[765]=0,Q=n[59]|0,f[379]=l+1<<16>>16,n[Q+(u<<2)>>2]=t,u=74;break}case 125:{if(t=f[379]|0,!(t<<16>>16)){u=49;break e}if(l=t+-1<<16>>16,f[379]=l,a=f[380]|0,t<<16>>16!=a<<16>>16)if(a<<16>>16!=-1&(l&65535)<(a&65535)){u=53;break e}else{u=74;break t}else{Q=n[58]|0,u=(f[377]|0)+-1<<16>>16,f[377]=u,f[380]=f[Q+((u&65535)<<1)>>1]|0,ee(),u=74;break t}}case 39:{D(39),u=74;break}case 34:{D(34),u=74;break}case 47:switch(f[t+4>>1]|0){case 47:{Qe();break t}case 42:{fe(1);break t}default:{a=n[57]|0,l=f[a>>1]|0;A:do if(It(l)|0)switch(l<<16>>16){case 46:if(((f[a+-2>>1]|0)+-48&65535)<10){u=68;break A}else{u=71;break A}case 43:if((f[a+-2>>1]|0)==43){u=68;break A}else{u=71;break A}case 45:if((f[a+-2>>1]|0)==45){u=68;break A}else{u=71;break A}default:{u=71;break A}}else{switch(l<<16>>16){case 41:if(pt(n[(n[59]|0)+(m[379]<<2)>>2]|0)|0){u=71;break A}else{u=68;break A}case 125:break;default:{u=68;break A}}t=m[379]|0,!(dt(n[(n[59]|0)+(t<<2)>>2]|0)|0)&&(C[k+t>>0]|0)==0?u=68:u=71}while(0);A:do if((u|0)==68)if(u=0,U(a)|0)u=71;else{switch(l<<16>>16){case 0:{u=71;break A}case 47:break;default:{t=1;break A}}C[764]|0?u=71:t=1}while(0);(u|0)==71&&(Et(),t=0),C[764]=t,u=74;break t}}case 96:{ee(),u=74;break}default:u=74}while(0);(u|0)==74&&(u=0,n[57]=n[61]),t=n[61]|0}if((u|0)==36){J(),t=0;break}else if((u|0)==49){J(),t=0;break}else if((u|0)==53){J(),t=0;break}else if((u|0)==75){t=(f[380]|0)==-1&(f[379]|0)==0&(C[762]|0)==0&(f[378]|0)==0;break}}while(0);return w=M,t|0}function K(){var t=0,a=0,l=0,Q=0,u=0,k=0;u=n[61]|0,k=u+12|0,n[61]=k,a=E(1)|0,t=n[61]|0,(t|0)==(k|0)&&!(he(a)|0)||(Q=3);e:do if((Q|0)==3){t:do switch(a<<16>>16){case 100:{O(t,t+14|0);break e}case 97:{n[61]=t+10,E(1)|0,t=n[61]|0,Q=6;break}case 102:{Q=6;break}case 99:{if((y(t+2|0,36,8)|0)==0&&(l=t+10|0,te(f[l>>1]|0)|0)){n[61]=l,u=E(1)|0,k=n[61]|0,F(u)|0,O(k,n[61]|0),n[61]=(n[61]|0)+-2;break e}t=t+4|0,n[61]=t,Q=13;break}case 108:case 118:{Q=13;break}case 123:{for(n[61]=t+2,t=E(1)|0,l=n[61]|0;;){if(q(t)|0?(D(t),t=(n[61]|0)+2|0,n[61]=t):(F(t)|0,t=n[61]|0),E(1)|0,t=ye(l,t)|0,t<<16>>16==44&&(n[61]=(n[61]|0)+2,t=E(1)|0),a=l,l=n[61]|0,t<<16>>16==125){Q=32;break}if((l|0)==(a|0)){Q=29;break}if(l>>>0>(n[62]|0)>>>0){Q=31;break}}if((Q|0)==29){J();break e}else if((Q|0)==31){J();break e}else if((Q|0)==32){n[61]=l+2,Q=34;break t}break}case 42:{n[61]=t+2,E(1)|0,Q=n[61]|0,ye(Q,Q)|0,Q=34;break}default:}while(0);if((Q|0)==6){n[61]=t+16,t=E(1)|0,t<<16>>16==42&&(n[61]=(n[61]|0)+2,t=E(1)|0),k=n[61]|0,F(t)|0,O(k,n[61]|0),n[61]=(n[61]|0)+-2;break}else if((Q|0)==13){t=t+4|0,n[61]=t,C[763]=0;t:for(;;){switch(n[61]=t+2,k=E(1)|0,t=n[61]|0,(F(k)|0)<<16>>16){case 91:case 123:{Q=15;break t}default:}if(a=n[61]|0,(a|0)==(t|0))break e;switch(O(t,a),(E(1)|0)<<16>>16){case 61:{Q=19;break t}case 44:break;default:{Q=20;break t}}t=n[61]|0}if((Q|0)==15){n[61]=(n[61]|0)+-2;break}else if((Q|0)==19){n[61]=(n[61]|0)+-2;break}else if((Q|0)==20){n[61]=(n[61]|0)+-2;break}}else(Q|0)==34&&(a=E(1)|0);if(t=n[61]|0,a<<16>>16==102&&(y(t+2|0,52,6)|0)==0){n[61]=t+8,R(u,E(1)|0);break}n[61]=t+-2}while(0)}function z(){var t=0,a=0,l=0,Q=0,u=0;u=n[61]|0,a=u+12|0,n[61]=a;e:do switch((E(1)|0)<<16>>16){case 40:{if(t=n[61]|0,a=n[59]|0,l=f[379]|0,f[379]=l+1<<16>>16,n[a+((l&65535)<<2)>>2]=t,(f[n[57]>>1]|0)!=46){switch(t=n[61]|0,n[61]=t+2,l=E(1)|0,ue(u,n[61]|0,0,t),t=n[51]|0,a=n[60]|0,u=f[378]|0,f[378]=u+1<<16>>16,n[a+((u&65535)<<2)>>2]=t,l<<16>>16){case 39:{D(39);break}case 34:{D(34);break}default:{n[61]=(n[61]|0)+-2;break e}}switch(t=(n[61]|0)+2|0,n[61]=t,(E(1)|0)<<16>>16){case 44:{n[61]=(n[61]|0)+2,E(1)|0,l=n[51]|0,n[l+4>>2]=t,u=n[61]|0,n[l+16>>2]=u,C[l+24>>0]=1,n[61]=u+-2;break e}case 41:{f[379]=(f[379]|0)+-1<<16>>16,u=n[51]|0,n[u+4>>2]=t,n[u+12>>2]=(n[61]|0)+2,C[u+24>>0]=1,f[378]=(f[378]|0)+-1<<16>>16;break e}default:{n[61]=(n[61]|0)+-2;break e}}}break}case 46:{n[61]=(n[61]|0)+2,(E(1)|0)<<16>>16==109&&(t=n[61]|0,(y(t+2|0,44,6)|0)==0)&&(f[n[57]>>1]|0)!=46&&ue(u,u,t+8|0,2);break}case 42:case 39:case 34:{Q=16;break}case 123:{if(t=n[61]|0,f[379]|0){n[61]=t+-2;break e}for(;!(t>>>0>=(n[62]|0)>>>0);){if(t=E(1)|0,q(t)|0)D(t);else if(t<<16>>16==125){Q=31;break}t=(n[61]|0)+2|0,n[61]=t}if((Q|0)==31&&(n[61]=(n[61]|0)+2),E(1)|0,t=n[61]|0,y(t,50,8)|0){J();break e}if(n[61]=t+8,t=E(1)|0,q(t)|0){R(u,t);break e}else{J();break e}}default:(n[61]|0)!=(a|0)&&(Q=16)}while(0);do if((Q|0)==16){if(f[379]|0){n[61]=(n[61]|0)+-2;break}for(t=n[62]|0,a=n[61]|0;;){if(a>>>0>=t>>>0){Q=23;break}if(l=f[a>>1]|0,q(l)|0){Q=21;break}Q=a+2|0,n[61]=Q,a=Q}if((Q|0)==21){R(u,l);break}else if((Q|0)==23){J();break}}while(0)}function R(t,a){t=t|0,a=a|0;var l=0,Q=0;switch(l=(n[61]|0)+2|0,a<<16>>16){case 39:{D(39),Q=5;break}case 34:{D(34),Q=5;break}default:J()}do if((Q|0)==5){if(ue(t,l,n[61]|0,1),n[61]=(n[61]|0)+2,Q=(E(0)|0)<<16>>16==97,a=n[61]|0,Q&&(y(a+2|0,58,10)|0)==0){if(n[61]=a+12,(E(1)|0)<<16>>16!=123){n[61]=a;break}t=n[61]|0,l=t;e:for(;;){switch(n[61]=l+2,l=E(1)|0,l<<16>>16){case 39:{D(39),n[61]=(n[61]|0)+2,l=E(1)|0;break}case 34:{D(34),n[61]=(n[61]|0)+2,l=E(1)|0;break}default:l=F(l)|0}if(l<<16>>16!=58){Q=16;break}switch(n[61]=(n[61]|0)+2,(E(1)|0)<<16>>16){case 39:{D(39);break}case 34:{D(34);break}default:{Q=20;break e}}switch(n[61]=(n[61]|0)+2,(E(1)|0)<<16>>16){case 125:{Q=25;break e}case 44:break;default:{Q=24;break e}}if(n[61]=(n[61]|0)+2,(E(1)|0)<<16>>16==125){Q=25;break}l=n[61]|0}if((Q|0)==16){n[61]=a;break}else if((Q|0)==20){n[61]=a;break}else if((Q|0)==24){n[61]=a;break}else if((Q|0)==25){Q=n[51]|0,n[Q+16>>2]=t,n[Q+12>>2]=(n[61]|0)+2;break}}n[61]=a+-2}while(0)}function U(t){t=t|0;e:do switch(f[t>>1]|0){case 100:switch(f[t+-2>>1]|0){case 105:{t=S(t+-4|0,68,2)|0;break e}case 108:{t=S(t+-4|0,72,3)|0;break e}default:{t=0;break e}}case 101:{switch(f[t+-2>>1]|0){case 115:break;case 116:{t=S(t+-4|0,78,4)|0;break e}default:{t=0;break e}}switch(f[t+-4>>1]|0){case 108:{t=H(t+-6|0,101)|0;break e}case 97:{t=H(t+-6|0,99)|0;break e}default:{t=0;break e}}}case 102:{if((f[t+-2>>1]|0)==111&&(f[t+-4>>1]|0)==101)switch(f[t+-6>>1]|0){case 99:{t=S(t+-8|0,86,6)|0;break e}case 112:{t=S(t+-8|0,98,2)|0;break e}default:{t=0;break e}}else t=0;break}case 110:{t=t+-2|0,H(t,105)|0?t=1:t=S(t,102,5)|0;break}case 111:{t=H(t+-2|0,100)|0;break}case 114:{t=S(t+-2|0,112,7)|0;break}case 116:{t=S(t+-2|0,126,4)|0;break}case 119:switch(f[t+-2>>1]|0){case 101:{t=H(t+-4|0,110)|0;break e}case 111:{t=S(t+-4|0,134,3)|0;break e}default:{t=0;break e}}default:t=0}while(0);return t|0}function ee(){var t=0,a=0,l=0;a=n[62]|0,l=n[61]|0;e:for(;;){if(t=l+2|0,l>>>0>=a>>>0){a=8;break}switch(f[t>>1]|0){case 96:{a=9;break e}case 36:{if((f[l+4>>1]|0)==123){a=6;break e}break}case 92:{t=l+4|0;break}default:}l=t}(a|0)==6?(n[61]=l+4,t=f[380]|0,a=n[58]|0,l=f[377]|0,f[377]=l+1<<16>>16,f[a+((l&65535)<<1)>>1]=t,l=(f[379]|0)+1<<16>>16,f[379]=l,f[380]=l):(a|0)==8?(n[61]=t,J()):(a|0)==9&&(n[61]=t)}function E(t){t=t|0;var a=0,l=0,Q=0;l=n[61]|0;e:do{a=f[l>>1]|0;t:do if(a<<16>>16!=47)if(t){if(ge(a)|0)break;break e}else{if(bt(a)|0)break;break e}else switch(f[l+2>>1]|0){case 47:{Qe();break t}case 42:{fe(t);break t}default:{a=47;break e}}while(0);Q=n[61]|0,l=Q+2|0,n[61]=l}while(Q>>>0<(n[62]|0)>>>0);return a|0}function D(t){t=t|0;var a=0,l=0,Q=0,u=0;for(u=n[62]|0,a=n[61]|0;;){if(Q=a+2|0,a>>>0>=u>>>0){a=9;break}if(l=f[Q>>1]|0,l<<16>>16==t<<16>>16){a=10;break}if(l<<16>>16==92)l=a+4|0,(f[l>>1]|0)==13?(a=a+6|0,a=(f[a>>1]|0)==10?a:l):a=l;else if(ve(l)|0){a=9;break}else a=Q}(a|0)==9?(n[61]=Q,J()):(a|0)==10&&(n[61]=Q)}function ue(t,a,l,Q){t=t|0,a=a|0,l=l|0,Q=Q|0;var u=0,k=0;u=n[55]|0,n[55]=u+32,k=n[51]|0,n[((k|0)==0?188:k+28|0)>>2]=u,n[52]=k,n[51]=u,n[u+8>>2]=t,(Q|0)==2?t=l:t=(Q|0)==1?l+2|0:0,n[u+12>>2]=t,n[u>>2]=a,n[u+4>>2]=l,n[u+16>>2]=0,n[u+20>>2]=Q,C[u+24>>0]=(Q|0)==1&1,n[u+28>>2]=0}function Bt(){var t=0,a=0,l=0;l=n[62]|0,a=n[61]|0;e:for(;;){if(t=a+2|0,a>>>0>=l>>>0){a=6;break}switch(f[t>>1]|0){case 13:case 10:{a=6;break e}case 93:{a=7;break e}case 92:{t=a+4|0;break}default:}a=t}return(a|0)==6?(n[61]=t,J(),t=0):(a|0)==7&&(n[61]=t,t=93),t|0}function ye(t,a){t=t|0,a=a|0;var l=0,Q=0;return l=n[61]|0,Q=f[l>>1]|0,Q<<16>>16==97&&(n[61]=l+4,l=E(1)|0,t=n[61]|0,q(l)|0?(D(l),a=(n[61]|0)+2|0,n[61]=a):(F(l)|0,a=n[61]|0),Q=E(1)|0,l=n[61]|0),(l|0)!=(t|0)&&O(t,a),Q|0}function Et(){var t=0,a=0,l=0;e:for(;;){if(t=n[61]|0,a=t+2|0,n[61]=a,t>>>0>=(n[62]|0)>>>0){l=7;break}switch(f[a>>1]|0){case 13:case 10:{l=7;break e}case 47:break e;case 91:{Bt()|0;break}case 92:{n[61]=t+4;break}default:}}(l|0)==7&&J()}function dt(t){switch(t=t|0,f[t>>1]|0){case 62:{t=(f[t+-2>>1]|0)==61;break}case 41:case 59:{t=1;break}case 104:{t=S(t+-2|0,160,4)|0;break}case 121:{t=S(t+-2|0,168,6)|0;break}case 101:{t=S(t+-2|0,180,3)|0;break}default:t=0}return t|0}function fe(t){t=t|0;var a=0,l=0,Q=0,u=0,k=0;for(u=(n[61]|0)+2|0,n[61]=u,l=n[62]|0;a=u+2|0,!(u>>>0>=l>>>0||(Q=f[a>>1]|0,!t&&ve(Q)|0));){if(Q<<16>>16==42&&(f[u+4>>1]|0)==47){k=8;break}u=a}(k|0)==8&&(n[61]=a,a=u+4|0),n[61]=a}function y(t,a,l){t=t|0,a=a|0,l=l|0;var Q=0,u=0;e:do if(!l)t=0;else{for(;Q=C[t>>0]|0,u=C[a>>0]|0,Q<<24>>24==u<<24>>24;)if(l=l+-1|0,l)t=t+1|0,a=a+1|0;else{t=0;break e}t=(Q&255)-(u&255)|0}while(0);return t|0}function he(t){t=t|0;e:do switch(t<<16>>16){case 38:case 37:case 33:{t=1;break}default:if((t&-8)<<16>>16==40|(t+-58&65535)<6)t=1;else{switch(t<<16>>16){case 91:case 93:case 94:{t=1;break e}default:}t=(t+-123&65535)<4}}while(0);return t|0}function It(t){t=t|0;e:do switch(t<<16>>16){case 38:case 37:case 33:break;default:if(!((t+-58&65535)<6|(t+-40&65535)<7&t<<16>>16!=41)){switch(t<<16>>16){case 91:case 94:break e;default:}return t<<16>>16!=125&(t+-123&65535)<4|0}}while(0);return 1}function kt(t){t=t|0;var a=0,l=0,Q=0,u=0;return l=w,w=w+16|0,Q=l,n[Q>>2]=0,n[54]=t,a=n[3]|0,u=a+(t<<1)|0,t=u+2|0,f[u>>1]=0,n[Q>>2]=t,n[55]=t,n[47]=0,n[51]=0,n[49]=0,n[48]=0,n[53]=0,n[50]=0,w=l,a|0}function S(t,a,l){t=t|0,a=a|0,l=l|0;var Q=0,u=0;return Q=t+(0-l<<1)|0,u=Q+2|0,t=n[3]|0,u>>>0>=t>>>0&&(y(u,a,l<<1)|0)==0?(u|0)==(t|0)?t=1:t=te(f[Q>>1]|0)|0:t=0,t|0}function H(t,a){t=t|0,a=a|0;var l=0;return l=n[3]|0,l>>>0<=t>>>0&&(f[t>>1]|0)==a<<16>>16?(l|0)==(t|0)?l=1:l=te(f[t+-2>>1]|0)|0:l=0,l|0}function te(t){t=t|0;e:do if((t+-9&65535)<5)t=1;else{switch(t<<16>>16){case 32:case 160:{t=1;break e}default:}t=t<<16>>16!=46&(he(t)|0)}while(0);return t|0}function Qe(){var t=0,a=0,l=0;t=n[62]|0,l=n[61]|0;e:for(;a=l+2|0,!(l>>>0>=t>>>0);)switch(f[a>>1]|0){case 13:case 10:break e;default:l=a}n[61]=a}function O(t,a){t=t|0,a=a|0;var l=0,Q=0;l=n[55]|0,n[55]=l+12,Q=n[53]|0,n[((Q|0)==0?192:Q+8|0)>>2]=l,n[53]=l,n[l>>2]=t,n[l+4>>2]=a,n[l+8>>2]=0}function F(t){for(t=t|0;!(ge(t)|0||he(t)|0);)if(t=(n[61]|0)+2|0,n[61]=t,t=f[t>>1]|0,!(t<<16>>16)){t=0;break}return t|0}function wt(){var t=0;switch(t=n[(n[49]|0)+20>>2]|0,t|0){case 1:{t=-1;break}case 2:{t=-2;break}default:t=t-(n[3]|0)>>1}return t|0}function pt(t){return t=t|0,!(S(t,140,5)|0)&&!(S(t,150,3)|0)?t=S(t,156,2)|0:t=1,t|0}function bt(t){switch(t=t|0,t<<16>>16){case 160:case 32:case 12:case 11:case 9:{t=1;break}default:t=0}return t|0}function j(t){return t=t|0,(n[3]|0)==(t|0)?t=1:t=te(f[t+-2>>1]|0)|0,t|0}function mt(){var t=0;return t=n[(n[49]|0)+12>>2]|0,t?t=t-(n[3]|0)>>1:t=-1,t|0}function St(){var t=0;return t=n[(n[49]|0)+16>>2]|0,t?t=t-(n[3]|0)>>1:t=-1,t|0}function Dt(){var t=0;return t=n[(n[49]|0)+4>>2]|0,t?t=t-(n[3]|0)>>1:t=-1,t|0}function Jt(){var t=0;return t=n[49]|0,t=n[((t|0)==0?188:t+28|0)>>2]|0,n[49]=t,(t|0)!=0|0}function yt(){var t=0;return t=n[50]|0,t=n[((t|0)==0?192:t+8|0)>>2]|0,n[50]=t,(t|0)!=0|0}function J(){C[762]=1,n[56]=(n[61]|0)-(n[3]|0)>>1,n[61]=(n[62]|0)+2}function ge(t){return t=t|0,(t|128)<<16>>16==160|(t+-9&65535)<5|0}function q(t){return t=t|0,t<<16>>16==39|t<<16>>16==34|0}function vt(){return(n[(n[49]|0)+8>>2]|0)-(n[3]|0)>>1|0}function Kt(){return(n[(n[50]|0)+4>>2]|0)-(n[3]|0)>>1|0}function ve(t){return t=t|0,t<<16>>16==13|t<<16>>16==10|0}function Lt(){return(n[n[49]>>2]|0)-(n[3]|0)>>1|0}function Nt(){return(n[n[50]>>2]|0)-(n[3]|0)>>1|0}function xt(){return B[(n[49]|0)+24>>0]|0|0}function Rt(t){t=t|0,n[3]=t}function Ut(){return(C[763]|0)!=0|0}function Ft(){return n[56]|0}function Mt(t){return t=t|0,w=t+992+15&-16,992}return{su:Mt,ai:St,e:Ft,ee:Kt,es:Nt,f:Ut,id:wt,ie:Dt,ip:xt,is:Lt,p:v,re:yt,ri:Jt,sa:kt,se:mt,ses:Rt,ss:vt}}(typeof self<"u"?self:global,{},ae),we=p.su(V-(2<<17))}const i=b.length+1;p.ses(we),p.sa(i-1),ot(b,new Uint16Array(ae,we,i)),p.p()||(d=p.e(),N());const s=[],o=[];for(;p.ri();){const c=p.is(),g=p.ie(),h=p.ai(),C=p.id(),f=p.ss(),n=p.se();let B;p.ip()&&(B=ct(C===-1?c:c+1,b.charCodeAt(C===-1?c-1:c))),s.push({n:B,s:c,e:g,ss:f,se:n,d:C,a:h})}for(;p.re();){const c=p.es(),g=b.charCodeAt(c);o.push(g===34||g===39?ct(c+1,g):b.slice(p.es(),p.ee()))}return[s,o,!!p.f()]}function ct(r,e){d=r;let A="",i=d;for(;;){d>=b.length&&N();const s=b.charCodeAt(d);if(s===e)break;s===92?(A+=b.slice(i,d),A+=PA(),i=d):(s===8232||s===8233||lt(s)&&N(),++d)}return A+=b.slice(i,d++),A}function PA(){let r=b.charCodeAt(++d);switch(++d,r){case 110:return` | ||
`;case 114:return"\r";case 120:return String.fromCharCode(pe(2));case 117:return function(){let e;return b.charCodeAt(d)===123?(++d,e=pe(b.indexOf("}",d)-d),++d,e>1114111&&N()):e=pe(4),e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}();case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:b.charCodeAt(d)===10&&++d;case 10:return"";case 56:case 57:N();default:if(r>=48&&r<=55){let e=b.substr(d-1,3).match(/^[0-7]+/)[0],A=parseInt(e,8);return A>255&&(e=e.slice(0,-1),A=parseInt(e,8)),d+=e.length-1,r=b.charCodeAt(d),e==="0"&&r!==56&&r!==57||N(),String.fromCharCode(A)}return lt(r)?"":String.fromCharCode(r)}}function pe(r){const e=d;let A=0,i=0;for(let s=0;s<r;++s,++d){let o,c=b.charCodeAt(d);if(c!==95){if(c>=97)o=c-97+10;else if(c>=65)o=c-65+10;else{if(!(c>=48&&c<=57))break;o=c-48}if(o>=16)break;i=c,A=16*A+o}else i!==95&&s!==0||N(),i=c}return i!==95&&d-e===r||N(),A}function lt(r){return r===13||r===10}function N(){throw Object.assign(Error(`Parse error ${at}:${b.slice(0,d).split(` | ||
`?o=!0:f!=="\r"&&o&&(o=!1,g===h.start||(this._splitChunk(h,g),h=h.next),h.prependRight(e))}g+=1}g=h.end,h=h.next}return this.outro=this.outro.replace(i,c),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,A){return H.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),H.insertLeft=!0),this.appendLeft(e,A)}insertRight(e,A){return H.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),H.insertRight=!0),this.prependRight(e,A)}move(e,A,i){if(i>=e&&i<=A)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(A),this._split(i);const s=this.byStart[e],o=this.byEnd[A],c=s.previous,g=o.next,h=this.byStart[i];if(!h&&o===this.lastChunk)return this;const C=h?h.previous:this.lastChunk;return c&&(c.next=g),g&&(g.previous=c),C&&(C.next=s),h&&(h.previous=o),s.previous||(this.firstChunk=o.next),o.next||(this.lastChunk=s.previous,this.lastChunk.next=null),s.previous=C,o.next=h||null,C||(this.firstChunk=s),h||(this.lastChunk=o),this}overwrite(e,A,i,s){if(typeof i!="string")throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;A<0;)A+=this.original.length;if(A>this.original.length)throw new Error("end is out of bounds");if(e===A)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(A),s===!0&&(H.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),H.storeName=!0),s={storeName:!0});const o=s!==void 0?s.storeName:!1,c=s!==void 0?s.contentOnly:!1;if(o){const C=this.original.slice(e,A);Object.defineProperty(this.storedNames,C,{writable:!0,value:!0,enumerable:!0})}const g=this.byStart[e],h=this.byEnd[A];if(g){let C=g;for(;C!==h;){if(C.next!==this.byStart[C.end])throw new Error("Cannot overwrite across a split point");C=C.next,C.edit("",!1)}g.edit(i,o,c)}else{const C=new z(e,A,"").edit(i,o);h.next=C,C.previous=h}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,A){if(typeof A!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byEnd[e];return i?i.prependLeft(A):this.intro=A+this.intro,this}prependRight(e,A){if(typeof A!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byStart[e];return i?i.prependRight(A):this.outro=A+this.outro,this}remove(e,A){for(;e<0;)e+=this.original.length;for(;A<0;)A+=this.original.length;if(e===A)return this;if(e<0||A>this.original.length)throw new Error("Character is out of bounds");if(e>A)throw new Error("end must be greater than start");this._split(e),this._split(A);let i=this.byStart[e];for(;i;)i.intro="",i.outro="",i.edit(""),i=A>i.end?this.byStart[i.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(T);if(e!==-1)return this.outro.substr(e+1);let A=this.outro,i=this.lastChunk;do{if(i.outro.length>0){if(e=i.outro.lastIndexOf(T),e!==-1)return i.outro.substr(e+1)+A;A=i.outro+A}if(i.content.length>0){if(e=i.content.lastIndexOf(T),e!==-1)return i.content.substr(e+1)+A;A=i.content+A}if(i.intro.length>0){if(e=i.intro.lastIndexOf(T),e!==-1)return i.intro.substr(e+1)+A;A=i.intro+A}}while(i=i.previous);return e=this.intro.lastIndexOf(T),e!==-1?this.intro.substr(e+1)+A:this.intro+A}slice(e=0,A=this.original.length){for(;e<0;)e+=this.original.length;for(;A<0;)A+=this.original.length;let i="",s=this.firstChunk;for(;s&&(s.start>e||s.end<=e);){if(s.start<A&&s.end>=A)return i;s=s.next}if(s&&s.edited&&s.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);const o=s;for(;s;){s.intro&&(o!==s||s.start===e)&&(i+=s.intro);const c=s.start<A&&s.end>=A;if(c&&s.edited&&s.end!==A)throw new Error(`Cannot use replaced character ${A} as slice end anchor.`);const g=o===s?e-s.start:0,h=c?s.content.length+A-s.end:s.content.length;if(i+=s.content.slice(g,h),s.outro&&(!c||s.end===A)&&(i+=s.outro),c)break;s=s.next}return i}snip(e,A){const i=this.clone();return i.remove(0,e),i.remove(A,i.original.length),i}_split(e){if(this.byStart[e]||this.byEnd[e])return;let A=this.lastSearchedChunk;const i=e>A.end;for(;A;){if(A.contains(e))return this._splitChunk(A,e);A=i?this.byStart[A.end]:this.byEnd[A.start]}}_splitChunk(e,A){if(e.edited&&e.content.length){const s=Ke(this.original)(A);throw new Error(`Cannot split a chunk that has already been edited (${s.line}:${s.column} \u2013 "${e.original}")`)}const i=e.split(A);return this.byEnd[A]=e,this.byStart[A]=i,this.byEnd[i.end]=i,e===this.lastChunk&&(this.lastChunk=i),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,A=this.firstChunk;for(;A;)e+=A.toString(),A=A.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,A=0;do A+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return A}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){const A=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(A,""),this.outro.length)return!0;let i=this.lastChunk;do{const s=i.end,o=i.trimEnd(A);if(i.end!==s&&(this.lastChunk===i&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),o)return!0;i=i.previous}while(i);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){const A=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(A,""),this.intro.length)return!0;let i=this.firstChunk;do{const s=i.end,o=i.trimStart(A);if(i.end!==s&&(i===this.lastChunk&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),o)return!0;i=i.next}while(i);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}replace(e,A){function i(o,c){return typeof A=="string"?A.replace(/\$(\$|&|\d+)/g,(g,h)=>h==="$"?"$":h==="&"?o[0]:+h<o.length?o[+h]:`$${h}`):A(...o,o.index,c,o.groups)}function s(o,c){let g;const h=[];for(;g=o.exec(c);)h.push(g);return h}if(typeof e!="string"&&e.global)s(e,this.original).forEach(c=>{c.index!=null&&this.overwrite(c.index,c.index+c[0].length,i(c,this.original))});else{const o=this.original.match(e);o&&o.index!=null&&this.overwrite(o.index,o.index+o[0].length,i(o,this.original))}return this}}const sA=new Uint8Array(new Uint16Array([1]).buffer)[0]===1;function Le(r,e="@"){if(!w)return Ne.then(()=>Le(r));const A=r.length+1,i=(w.__heap_base.value||w.__heap_base)+4*A-w.memory.buffer.byteLength;i>0&&w.memory.grow(Math.ceil(i/65536));const s=w.sa(A-1);if((sA?aA:oA)(r,new Uint16Array(w.memory.buffer,s,A)),!w.parse())throw Object.assign(new Error(`Parse error ${e}:${r.slice(0,w.e()).split(` | ||
`).length}:${w.e()-r.lastIndexOf(` | ||
`,w.e()-1)}`),{idx:w.e()});const o=[],c=[];for(;w.ri();){const h=w.is(),C=w.ie(),f=w.ai(),n=w.id(),B=w.ss(),m=w.se();let k;w.ip()&&(k=g(r.slice(n===-1?h-1:h,n===-1?C+1:C))),o.push({n:k,s:h,e:C,ss:B,se:m,d:n,a:f})}for(;w.re();){const h=r.slice(w.es(),w.ee()),C=h[0];c.push(C==='"'||C==="'"?g(h):h)}function g(h){try{return(0,eval)(h)}catch{}}return[o,c,!!w.f()]}function oA(r,e){const A=r.length;let i=0;for(;i<A;){const s=r.charCodeAt(i);e[i++]=(255&s)<<8|s>>>8}}function aA(r,e){const A=r.length;let i=0;for(;i<A;)e[i]=r.charCodeAt(i++)}let w;const Ne=WebAssembly.compile((de="AGFzbQEAAAABKghgAX8Bf2AEf39/fwBgAn9/AGAAAX9gAABgAX8AYAN/f38Bf2ACf38BfwMqKQABAgMDAwMDAwMDAwMDAwMAAAQEBAUEBQAAAAAEBAAGBwACAAAABwMGBAUBcAEBAQUDAQABBg8CfwFBkPIAC38AQZDyAAsHZBEGbWVtb3J5AgACc2EAAAFlAAMCaXMABAJpZQAFAnNzAAYCc2UABwJhaQAIAmlkAAkCaXAACgJlcwALAmVlAAwCcmkADQJyZQAOAWYADwVwYXJzZQAQC19faGVhcF9iYXNlAwEKhjQpaAEBf0EAIAA2AtQJQQAoArAJIgEgAEEBdGoiAEEAOwEAQQAgAEECaiIANgLYCUEAIAA2AtwJQQBBADYCtAlBAEEANgLECUEAQQA2ArwJQQBBADYCuAlBAEEANgLMCUEAQQA2AsAJIAELnwEBA39BACgCxAkhBEEAQQAoAtwJIgU2AsQJQQAgBDYCyAlBACAFQSBqNgLcCSAEQRxqQbQJIAQbIAU2AgBBACgCqAkhBEEAKAKkCSEGIAUgATYCACAFIAA2AgggBSACIAJBAmpBACAGIANGGyAEIANGGzYCDCAFIAM2AhQgBUEANgIQIAUgAjYCBCAFQQA2AhwgBUEAKAKkCSADRjoAGAtIAQF/QQAoAswJIgJBCGpBuAkgAhtBACgC3AkiAjYCAEEAIAI2AswJQQAgAkEMajYC3AkgAkEANgIIIAIgATYCBCACIAA2AgALCABBACgC4AkLFQBBACgCvAkoAgBBACgCsAlrQQF1Cx4BAX9BACgCvAkoAgQiAEEAKA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E9Rw0AQQBBACgCiApBfmo2AogKDwtBAEEAKAKICkF+ajYCiAoPC0EAKAKICiECDAALCw8LQQAgA0EKajYCiApBARAhGkEAKAKICiEDC0EAIANBEGo2AogKAkBBARAhIgJBKkcNAEEAQQAoAogKQQJqNgKICkEBECEhAgtBACgCiAohAyACECQaIANBACgCiAoQAkEAQQAoAogKQX5qNgKICg8LIAMgA0EOahACC6sGAQR/QQBBACgCiAoiAEEMaiIBNgKICgJAAkACQAJAAkACQAJAAkACQAJAQQEQISICQVlqDggCCAECAQEBBwALIAJBIkYNASACQfsARg0CC0EAKAKICiABRg0HC0EALwHqCQ0BQQAoAogKIQJBACgCjAohAwNAIAIgA08NBAJAAkAgAi8BACIBQSdGDQAgAUEiRw0BCyAAIAEQIg8LQQAgAkECaiICNgKICgwACwtBACgCiAohAkEALwHqCQ0BAkADQAJAAkACQCACQQAoAowKTw0AQQEQISICQSJGDQEgAkEnRg0BIAJB/QBHDQJBAEEAKAKICkECajYCiAoLQQEQIRpBACgCiAoiAikAAELmgMiD8I3ANlINBkEAIAJBCGo2AogKQQEQISICQSJGDQMgAkEnRg0DDAYLIAIQFwtBAEEAKAKICkECaiICNgKICgwACwsgACACECIMBQtBAEEAKAKICkF+ajYCiAoPC0EAIAJBfmo2AogKDwsQHQ8LQQBBACgCiApBAmo2AogKQQEQIUHtAEcNAUEAKAKICiICQQJqQZYIQQYQKA0BQQAoAvAJLwEAQS5GDQEgACAAIAJBCGpBACgCqAkQAQ8LQQAoAvwJQQAvAeoJIgJBAnRqQQAoAogKNgIAQQAgAkEBajsB6glBACgC8AkvAQBBLkYNAEEAQQAoAogKIgFBAmo2AogKQQEQISECIABBACgCiApBACABEAFBAEEALwHoCSIBQQFqOwHoCUEAKAKACiABQQJ0akEAKALECTYCAAJAIAJBIkYNACACQSdGDQBBAEEAKAKICkF+ajYCiAoPCyACEBdBAEEAKAKICkECaiICNgKICgJAAkACQEEBECFBV2oOBAECAgACC0EAQQAoAogKQQJqNgKICkEBEC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xC2gBAn9BASEBAkACQCAAQV9qIgJBBUsNAEEBIAJ0QTFxDQELIABB+P8DcUEoRg0AIABBRmpB//8DcUEGSQ0AAkAgAEGlf2oiAkEDSw0AIAJBAUcNAQsgAEGFf2pB//8DcUEESSEBCyABC4sBAQJ/AkBBACgCiAoiAi8BACIDQeEARw0AQQAgAkEEajYCiApBARAhIQJBACgCiAohAAJAAkAgAkEiRg0AIAJBJ0YNACACECQaQQAoAogKIQEMAQsgAhAXQQBBACgCiApBAmoiATYCiAoLQQEQISEDQQAoAogKIQILAkAgAiAARg0AIAAgARACCyADC3IBBH9BACgCiAohAEEAKAKMCiEBAkACQANAIABBAmohAiAAIAFPDQECQAJAIAIvAQAiA0Gkf2oOAgEEAAsgAiEAIANBdmoOBAIBAQIBCyAAQQRqIQAMAAsLQQAgAjYCiAoQHUEADwtBACACNgKICkHdAAtJAQN/QQAhAwJAIAJFDQACQANAIAAtAAAiBCABLQAAIgVHDQEgAUEBaiEBIABBAWohACACQX9qIgINAAwCCwsgBCAFayEDCyADCwvCAQIAQYAIC6QBAAB4AHAAbwByAHQAbQBwAG8AcgB0AGUAdABhAGYAcgBvAG0AcwBzAGUAcgB0AHYAbwB5AGkAZQBkAGUAbABlAGkAbgBzAHQAYQBuAHQAeQByAGUAdAB1AHIAZABlAGIAdQBnAGcAZQBhAHcAYQBpAHQAaAByAHcAaABpAGwAZQBmAG8AcgBpAGYAYwBhAHQAYwBmAGkAbgBhAGwAbABlAGwAcwAAQaQJCxABAAAAAgAAAAAEAAAQOQAA",typeof Buffer<"u"?Buffer.from(de,"base64"):Uint8Array.from(atob(de),r=>r.charCodeAt(0)))).then(WebAssembly.instantiate).then(({exports:r})=>{w=r});var de;let p,se,we,$=2<<19;const Re=new Uint8Array(new Uint16Array([1]).buffer)[0]===1?function(r,e){const A=r.length;let i=0;for(;i<A;)e[i]=r.charCodeAt(i++)}:function(r,e){const A=r.length;let i=0;for(;i<A;){const s=r.charCodeAt(i);e[i++]=(255&s)<<8|s>>>8}},cA="xportmportlassetafromssertvoyiedeleinstantyreturdebuggeawaithrwhileforifcatcfinallels";let b,xe,d;function lA(r,e="@"){b=r,xe=e;const A=2*b.length+(2<<18);if(A>$||!p){for(;A>$;)$*=2;se=new ArrayBuffer($),Re(cA,new Uint16Array(se,16,85)),p=function(c,g,h){var C=new c.Int8Array(h),f=new c.Int16Array(h),n=new c.Int32Array(h),B=new c.Uint8Array(h),m=new c.Uint16Array(h),k=992;function v(t){t=t|0;var a=0,l=0,Q=0,u=0,I=0,re=0,M=0;M=k,k=k+11520|0,I=M+2048|0,C[763]=1,f[377]=0,f[378]=0,f[379]=0,f[380]=-1,n[57]=n[2],C[764]=0,n[56]=0,C[762]=0,n[58]=M+10496,n[59]=M+2304,n[60]=M,C[765]=0,t=(n[3]|0)+-2|0,n[61]=t,a=t+(n[54]<<1)|0,n[62]=a;e:for(;;){if(l=t+2|0,n[61]=l,t>>>0>=a>>>0){u=18;break}t:do switch(f[l>>1]|0){case 9:case 10:case 11:case 12:case 13:case 32:break;case 101:{if((f[379]|0)==0&&j(l)|0&&(J(t+4|0,16,10)|0)==0&&(K(),(C[763]|0)==0)){u=9;break e}else u=17;break}case 105:{j(l)|0&&(J(t+4|0,26,10)|0)==0&&ee(),u=17;break}case 59:{u=17;break}case 47:switch(f[t+4>>1]|0){case 47:{ge();break t}case 42:{he(1);break t}default:{u=16;break e}}default:{u=16;break e}}while(0);(u|0)==17&&(u=0,n[57]=n[61]),t=n[61]|0,a=n[62]|0}(u|0)==9?(t=n[61]|0,n[57]=t,u=19):(u|0)==16?(C[763]=0,n[61]=t,u=19):(u|0)==18&&(C[762]|0?t=0:(t=l,u=19));do if((u|0)==19){e:for(;;){if(a=t+2|0,n[61]=a,Q=a,t>>>0>=(n[62]|0)>>>0){u=75;break}t:do switch(f[a>>1]|0){case 9:case 10:case 11:case 12:case 13:case 32:break;case 101:{(f[379]|0)==0&&j(a)|0&&(J(t+4|0,16,10)|0)==0&&K(),u=74;break}case 105:{j(a)|0&&(J(t+4|0,26,10)|0)==0&&ee(),u=74;break}case 99:{j(a)|0&&(J(t+4|0,36,8)|0)==0&&Ce(f[t+12>>1]|0)|0&&(C[765]=1),u=74;break}case 40:{l=n[57]|0,Q=n[59]|0,u=f[379]|0,f[379]=u+1<<16>>16,n[Q+((u&65535)<<2)>>2]=l,u=74;break}case 41:{if(a=f[379]|0,!(a<<16>>16)){u=36;break e}a=a+-1<<16>>16,f[379]=a,l=f[378]|0,l<<16>>16!=0&&(re=n[(n[60]|0)+((l&65535)+-1<<2)>>2]|0,(n[re+20>>2]|0)==(n[(n[59]|0)+((a&65535)<<2)>>2]|0))&&(a=re+4|0,n[a>>2]|0||(n[a>>2]=Q),n[re+12>>2]=t+4,f[378]=l+-1<<16>>16),u=74;break}case 123:{u=n[57]|0,Q=n[51]|0,t=u;do if((f[u>>1]|0)==41&(Q|0)!=0&&(n[Q+4>>2]|0)==(u|0))if(a=n[52]|0,n[51]=a,a){n[a+28>>2]=0;break}else{n[47]=0;break}while(0);l=f[379]|0,u=l&65535,C[I+u>>0]=C[765]|0,C[765]=0,Q=n[59]|0,f[379]=l+1<<16>>16,n[Q+(u<<2)>>2]=t,u=74;break}case 125:{if(t=f[379]|0,!(t<<16>>16)){u=49;break e}if(l=t+-1<<16>>16,f[379]=l,a=f[380]|0,t<<16>>16!=a<<16>>16)if(a<<16>>16!=-1&(l&65535)<(a&65535)){u=53;break e}else{u=74;break t}else{Q=n[58]|0,u=(f[377]|0)+-1<<16>>16,f[377]=u,f[380]=f[Q+((u&65535)<<1)>>1]|0,te(),u=74;break t}}case 39:{D(39),u=74;break}case 34:{D(34),u=74;break}case 47:switch(f[t+4>>1]|0){case 47:{ge();break t}case 42:{he(1);break t}default:{a=n[57]|0,l=f[a>>1]|0;A:do if(kt(l)|0)switch(l<<16>>16){case 46:if(((f[a+-2>>1]|0)+-48&65535)<10){u=68;break A}else{u=71;break A}case 43:if((f[a+-2>>1]|0)==43){u=68;break A}else{u=71;break A}case 45:if((f[a+-2>>1]|0)==45){u=68;break A}else{u=71;break A}default:{u=71;break A}}else{switch(l<<16>>16){case 41:if(mt(n[(n[59]|0)+(m[379]<<2)>>2]|0)|0){u=71;break A}else{u=68;break A}case 125:break;default:{u=68;break A}}t=m[379]|0,!(It(n[(n[59]|0)+(t<<2)>>2]|0)|0)&&(C[I+t>>0]|0)==0?u=68:u=71}while(0);A:do if((u|0)==68)if(u=0,U(a)|0)u=71;else{switch(l<<16>>16){case 0:{u=71;break A}case 47:break;default:{t=1;break A}}C[764]|0?u=71:t=1}while(0);(u|0)==71&&(wt(),t=0),C[764]=t,u=74;break t}}case 96:{te(),u=74;break}default:u=74}while(0);(u|0)==74&&(u=0,n[57]=n[61]),t=n[61]|0}if((u|0)==36){y(),t=0;break}else if((u|0)==49){y(),t=0;break}else if((u|0)==53){y(),t=0;break}else if((u|0)==75){t=(f[380]|0)==-1&(f[379]|0)==0&(C[762]|0)==0&(f[378]|0)==0;break}}while(0);return k=M,t|0}function K(){var t=0,a=0,l=0,Q=0,u=0,I=0;u=n[61]|0,I=u+12|0,n[61]=I,a=E(1)|0,t=n[61]|0,(t|0)==(I|0)&&!(Qe(a)|0)||(Q=3);e:do if((Q|0)==3){t:do switch(a<<16>>16){case 100:{_(t,t+14|0);break e}case 97:{n[61]=t+10,E(1)|0,t=n[61]|0,Q=6;break}case 102:{Q=6;break}case 99:{if((J(t+2|0,36,8)|0)==0&&(l=t+10|0,Ae(f[l>>1]|0)|0)){n[61]=l,u=E(1)|0,I=n[61]|0,F(u)|0,_(I,n[61]|0),n[61]=(n[61]|0)+-2;break e}t=t+4|0,n[61]=t,Q=13;break}case 108:case 118:{Q=13;break}case 123:{for(n[61]=t+2,t=E(1)|0,l=n[61]|0;;){if(q(t)|0?(D(t),t=(n[61]|0)+2|0,n[61]=t):(F(t)|0,t=n[61]|0),E(1)|0,t=De(l,t)|0,t<<16>>16==44&&(n[61]=(n[61]|0)+2,t=E(1)|0),a=l,l=n[61]|0,t<<16>>16==125){Q=32;break}if((l|0)==(a|0)){Q=29;break}if(l>>>0>(n[62]|0)>>>0){Q=31;break}}if((Q|0)==29){y();break e}else if((Q|0)==31){y();break e}else if((Q|0)==32){n[61]=l+2,Q=34;break t}break}case 42:{n[61]=t+2,E(1)|0,Q=n[61]|0,De(Q,Q)|0,Q=34;break}default:}while(0);if((Q|0)==6){n[61]=t+16,t=E(1)|0,t<<16>>16==42&&(n[61]=(n[61]|0)+2,t=E(1)|0),I=n[61]|0,F(t)|0,_(I,n[61]|0),n[61]=(n[61]|0)+-2;break}else if((Q|0)==13){t=t+4|0,n[61]=t,C[763]=0;t:for(;;){switch(n[61]=t+2,I=E(1)|0,t=n[61]|0,(F(I)|0)<<16>>16){case 91:case 123:{Q=15;break t}default:}if(a=n[61]|0,(a|0)==(t|0))break e;switch(_(t,a),(E(1)|0)<<16>>16){case 61:{Q=19;break t}case 44:break;default:{Q=20;break t}}t=n[61]|0}if((Q|0)==15){n[61]=(n[61]|0)+-2;break}else if((Q|0)==19){n[61]=(n[61]|0)+-2;break}else if((Q|0)==20){n[61]=(n[61]|0)+-2;break}}else(Q|0)==34&&(a=E(1)|0);if(t=n[61]|0,a<<16>>16==102&&(J(t+2|0,52,6)|0)==0){n[61]=t+8,x(u,E(1)|0);break}n[61]=t+-2}while(0)}function ee(){var t=0,a=0,l=0,Q=0,u=0;u=n[61]|0,a=u+12|0,n[61]=a;e:do switch((E(1)|0)<<16>>16){case 40:{if(t=n[61]|0,a=n[59]|0,l=f[379]|0,f[379]=l+1<<16>>16,n[a+((l&65535)<<2)>>2]=t,(f[n[57]>>1]|0)!=46){switch(t=n[61]|0,n[61]=t+2,l=E(1)|0,fe(u,n[61]|0,0,t),t=n[51]|0,a=n[60]|0,u=f[378]|0,f[378]=u+1<<16>>16,n[a+((u&65535)<<2)>>2]=t,l<<16>>16){case 39:{D(39);break}case 34:{D(34);break}default:{n[61]=(n[61]|0)+-2;break e}}switch(t=(n[61]|0)+2|0,n[61]=t,(E(1)|0)<<16>>16){case 44:{n[61]=(n[61]|0)+2,E(1)|0,l=n[51]|0,n[l+4>>2]=t,u=n[61]|0,n[l+16>>2]=u,C[l+24>>0]=1,n[61]=u+-2;break e}case 41:{f[379]=(f[379]|0)+-1<<16>>16,u=n[51]|0,n[u+4>>2]=t,n[u+12>>2]=(n[61]|0)+2,C[u+24>>0]=1,f[378]=(f[378]|0)+-1<<16>>16;break e}default:{n[61]=(n[61]|0)+-2;break e}}}break}case 46:{n[61]=(n[61]|0)+2,(E(1)|0)<<16>>16==109&&(t=n[61]|0,(J(t+2|0,44,6)|0)==0)&&(f[n[57]>>1]|0)!=46&&fe(u,u,t+8|0,2);break}case 42:case 39:case 34:{Q=16;break}case 123:{if(t=n[61]|0,f[379]|0){n[61]=t+-2;break e}for(;!(t>>>0>=(n[62]|0)>>>0);){if(t=E(1)|0,q(t)|0)D(t);else if(t<<16>>16==125){Q=31;break}t=(n[61]|0)+2|0,n[61]=t}if((Q|0)==31&&(n[61]=(n[61]|0)+2),E(1)|0,t=n[61]|0,J(t,50,8)|0){y();break e}if(n[61]=t+8,t=E(1)|0,q(t)|0){x(u,t);break e}else{y();break e}}default:(n[61]|0)!=(a|0)&&(Q=16)}while(0);do if((Q|0)==16){if(f[379]|0){n[61]=(n[61]|0)+-2;break}for(t=n[62]|0,a=n[61]|0;;){if(a>>>0>=t>>>0){Q=23;break}if(l=f[a>>1]|0,q(l)|0){Q=21;break}Q=a+2|0,n[61]=Q,a=Q}if((Q|0)==21){x(u,l);break}else if((Q|0)==23){y();break}}while(0)}function x(t,a){t=t|0,a=a|0;var l=0,Q=0;switch(l=(n[61]|0)+2|0,a<<16>>16){case 39:{D(39),Q=5;break}case 34:{D(34),Q=5;break}default:y()}do if((Q|0)==5){if(fe(t,l,n[61]|0,1),n[61]=(n[61]|0)+2,Q=(E(0)|0)<<16>>16==97,a=n[61]|0,Q&&(J(a+2|0,58,10)|0)==0){if(n[61]=a+12,(E(1)|0)<<16>>16!=123){n[61]=a;break}t=n[61]|0,l=t;e:for(;;){switch(n[61]=l+2,l=E(1)|0,l<<16>>16){case 39:{D(39),n[61]=(n[61]|0)+2,l=E(1)|0;break}case 34:{D(34),n[61]=(n[61]|0)+2,l=E(1)|0;break}default:l=F(l)|0}if(l<<16>>16!=58){Q=16;break}switch(n[61]=(n[61]|0)+2,(E(1)|0)<<16>>16){case 39:{D(39);break}case 34:{D(34);break}default:{Q=20;break e}}switch(n[61]=(n[61]|0)+2,(E(1)|0)<<16>>16){case 125:{Q=25;break e}case 44:break;default:{Q=24;break e}}if(n[61]=(n[61]|0)+2,(E(1)|0)<<16>>16==125){Q=25;break}l=n[61]|0}if((Q|0)==16){n[61]=a;break}else if((Q|0)==20){n[61]=a;break}else if((Q|0)==24){n[61]=a;break}else if((Q|0)==25){Q=n[51]|0,n[Q+16>>2]=t,n[Q+12>>2]=(n[61]|0)+2;break}}n[61]=a+-2}while(0)}function U(t){t=t|0;e:do switch(f[t>>1]|0){case 100:switch(f[t+-2>>1]|0){case 105:{t=S(t+-4|0,68,2)|0;break e}case 108:{t=S(t+-4|0,72,3)|0;break e}default:{t=0;break e}}case 101:{switch(f[t+-2>>1]|0){case 115:break;case 116:{t=S(t+-4|0,78,4)|0;break e}default:{t=0;break e}}switch(f[t+-4>>1]|0){case 108:{t=O(t+-6|0,101)|0;break e}case 97:{t=O(t+-6|0,99)|0;break e}default:{t=0;break e}}}case 102:{if((f[t+-2>>1]|0)==111&&(f[t+-4>>1]|0)==101)switch(f[t+-6>>1]|0){case 99:{t=S(t+-8|0,86,6)|0;break e}case 112:{t=S(t+-8|0,98,2)|0;break e}default:{t=0;break e}}else t=0;break}case 110:{t=t+-2|0,O(t,105)|0?t=1:t=S(t,102,5)|0;break}case 111:{t=O(t+-2|0,100)|0;break}case 114:{t=S(t+-2|0,112,7)|0;break}case 116:{t=S(t+-2|0,126,4)|0;break}case 119:switch(f[t+-2>>1]|0){case 101:{t=O(t+-4|0,110)|0;break e}case 111:{t=S(t+-4|0,134,3)|0;break e}default:{t=0;break e}}default:t=0}while(0);return t|0}function te(){var t=0,a=0,l=0;a=n[62]|0,l=n[61]|0;e:for(;;){if(t=l+2|0,l>>>0>=a>>>0){a=8;break}switch(f[t>>1]|0){case 96:{a=9;break e}case 36:{if((f[l+4>>1]|0)==123){a=6;break e}break}case 92:{t=l+4|0;break}default:}l=t}(a|0)==6?(n[61]=l+4,t=f[380]|0,a=n[58]|0,l=f[377]|0,f[377]=l+1<<16>>16,f[a+((l&65535)<<1)>>1]=t,l=(f[379]|0)+1<<16>>16,f[379]=l,f[380]=l):(a|0)==8?(n[61]=t,y()):(a|0)==9&&(n[61]=t)}function E(t){t=t|0;var a=0,l=0,Q=0;l=n[61]|0;e:do{a=f[l>>1]|0;t:do if(a<<16>>16!=47)if(t){if(Ce(a)|0)break;break e}else{if(St(a)|0)break;break e}else switch(f[l+2>>1]|0){case 47:{ge();break t}case 42:{he(t);break t}default:{a=47;break e}}while(0);Q=n[61]|0,l=Q+2|0,n[61]=l}while(Q>>>0<(n[62]|0)>>>0);return a|0}function D(t){t=t|0;var a=0,l=0,Q=0,u=0;for(u=n[62]|0,a=n[61]|0;;){if(Q=a+2|0,a>>>0>=u>>>0){a=9;break}if(l=f[Q>>1]|0,l<<16>>16==t<<16>>16){a=10;break}if(l<<16>>16==92)l=a+4|0,(f[l>>1]|0)==13?(a=a+6|0,a=(f[a>>1]|0)==10?a:l):a=l;else if(ye(l)|0){a=9;break}else a=Q}(a|0)==9?(n[61]=Q,y()):(a|0)==10&&(n[61]=Q)}function fe(t,a,l,Q){t=t|0,a=a|0,l=l|0,Q=Q|0;var u=0,I=0;u=n[55]|0,n[55]=u+32,I=n[51]|0,n[((I|0)==0?188:I+28|0)>>2]=u,n[52]=I,n[51]=u,n[u+8>>2]=t,(Q|0)==2?t=l:t=(Q|0)==1?l+2|0:0,n[u+12>>2]=t,n[u>>2]=a,n[u+4>>2]=l,n[u+16>>2]=0,n[u+20>>2]=Q,C[u+24>>0]=(Q|0)==1&1,n[u+28>>2]=0}function dt(){var t=0,a=0,l=0;l=n[62]|0,a=n[61]|0;e:for(;;){if(t=a+2|0,a>>>0>=l>>>0){a=6;break}switch(f[t>>1]|0){case 13:case 10:{a=6;break e}case 93:{a=7;break e}case 92:{t=a+4|0;break}default:}a=t}return(a|0)==6?(n[61]=t,y(),t=0):(a|0)==7&&(n[61]=t,t=93),t|0}function De(t,a){t=t|0,a=a|0;var l=0,Q=0;return l=n[61]|0,Q=f[l>>1]|0,Q<<16>>16==97&&(n[61]=l+4,l=E(1)|0,t=n[61]|0,q(l)|0?(D(l),a=(n[61]|0)+2|0,n[61]=a):(F(l)|0,a=n[61]|0),Q=E(1)|0,l=n[61]|0),(l|0)!=(t|0)&&_(t,a),Q|0}function wt(){var t=0,a=0,l=0;e:for(;;){if(t=n[61]|0,a=t+2|0,n[61]=a,t>>>0>=(n[62]|0)>>>0){l=7;break}switch(f[a>>1]|0){case 13:case 10:{l=7;break e}case 47:break e;case 91:{dt()|0;break}case 92:{n[61]=t+4;break}default:}}(l|0)==7&&y()}function It(t){switch(t=t|0,f[t>>1]|0){case 62:{t=(f[t+-2>>1]|0)==61;break}case 41:case 59:{t=1;break}case 104:{t=S(t+-2|0,160,4)|0;break}case 121:{t=S(t+-2|0,168,6)|0;break}case 101:{t=S(t+-2|0,180,3)|0;break}default:t=0}return t|0}function he(t){t=t|0;var a=0,l=0,Q=0,u=0,I=0;for(u=(n[61]|0)+2|0,n[61]=u,l=n[62]|0;a=u+2|0,!(u>>>0>=l>>>0||(Q=f[a>>1]|0,!t&&ye(Q)|0));){if(Q<<16>>16==42&&(f[u+4>>1]|0)==47){I=8;break}u=a}(I|0)==8&&(n[61]=a,a=u+4|0),n[61]=a}function J(t,a,l){t=t|0,a=a|0,l=l|0;var Q=0,u=0;e:do if(!l)t=0;else{for(;Q=C[t>>0]|0,u=C[a>>0]|0,Q<<24>>24==u<<24>>24;)if(l=l+-1|0,l)t=t+1|0,a=a+1|0;else{t=0;break e}t=(Q&255)-(u&255)|0}while(0);return t|0}function Qe(t){t=t|0;e:do switch(t<<16>>16){case 38:case 37:case 33:{t=1;break}default:if((t&-8)<<16>>16==40|(t+-58&65535)<6)t=1;else{switch(t<<16>>16){case 91:case 93:case 94:{t=1;break e}default:}t=(t+-123&65535)<4}}while(0);return t|0}function kt(t){t=t|0;e:do switch(t<<16>>16){case 38:case 37:case 33:break;default:if(!((t+-58&65535)<6|(t+-40&65535)<7&t<<16>>16!=41)){switch(t<<16>>16){case 91:case 94:break e;default:}return t<<16>>16!=125&(t+-123&65535)<4|0}}while(0);return 1}function pt(t){t=t|0;var a=0,l=0,Q=0,u=0;return l=k,k=k+16|0,Q=l,n[Q>>2]=0,n[54]=t,a=n[3]|0,u=a+(t<<1)|0,t=u+2|0,f[u>>1]=0,n[Q>>2]=t,n[55]=t,n[47]=0,n[51]=0,n[49]=0,n[48]=0,n[53]=0,n[50]=0,k=l,a|0}function S(t,a,l){t=t|0,a=a|0,l=l|0;var Q=0,u=0;return Q=t+(0-l<<1)|0,u=Q+2|0,t=n[3]|0,u>>>0>=t>>>0&&(J(u,a,l<<1)|0)==0?(u|0)==(t|0)?t=1:t=Ae(f[Q>>1]|0)|0:t=0,t|0}function O(t,a){t=t|0,a=a|0;var l=0;return l=n[3]|0,l>>>0<=t>>>0&&(f[t>>1]|0)==a<<16>>16?(l|0)==(t|0)?l=1:l=Ae(f[t+-2>>1]|0)|0:l=0,l|0}function Ae(t){t=t|0;e:do if((t+-9&65535)<5)t=1;else{switch(t<<16>>16){case 32:case 160:{t=1;break e}default:}t=t<<16>>16!=46&(Qe(t)|0)}while(0);return t|0}function ge(){var t=0,a=0,l=0;t=n[62]|0,l=n[61]|0;e:for(;a=l+2|0,!(l>>>0>=t>>>0);)switch(f[a>>1]|0){case 13:case 10:break e;default:l=a}n[61]=a}function _(t,a){t=t|0,a=a|0;var l=0,Q=0;l=n[55]|0,n[55]=l+12,Q=n[53]|0,n[((Q|0)==0?192:Q+8|0)>>2]=l,n[53]=l,n[l>>2]=t,n[l+4>>2]=a,n[l+8>>2]=0}function F(t){for(t=t|0;!(Ce(t)|0||Qe(t)|0);)if(t=(n[61]|0)+2|0,n[61]=t,t=f[t>>1]|0,!(t<<16>>16)){t=0;break}return t|0}function bt(){var t=0;switch(t=n[(n[49]|0)+20>>2]|0,t|0){case 1:{t=-1;break}case 2:{t=-2;break}default:t=t-(n[3]|0)>>1}return t|0}function mt(t){return t=t|0,!(S(t,140,5)|0)&&!(S(t,150,3)|0)?t=S(t,156,2)|0:t=1,t|0}function St(t){switch(t=t|0,t<<16>>16){case 160:case 32:case 12:case 11:case 9:{t=1;break}default:t=0}return t|0}function j(t){return t=t|0,(n[3]|0)==(t|0)?t=1:t=Ae(f[t+-2>>1]|0)|0,t|0}function Dt(){var t=0;return t=n[(n[49]|0)+12>>2]|0,t?t=t-(n[3]|0)>>1:t=-1,t|0}function yt(){var t=0;return t=n[(n[49]|0)+16>>2]|0,t?t=t-(n[3]|0)>>1:t=-1,t|0}function Jt(){var t=0;return t=n[(n[49]|0)+4>>2]|0,t?t=t-(n[3]|0)>>1:t=-1,t|0}function vt(){var t=0;return t=n[49]|0,t=n[((t|0)==0?188:t+28|0)>>2]|0,n[49]=t,(t|0)!=0|0}function Kt(){var t=0;return t=n[50]|0,t=n[((t|0)==0?192:t+8|0)>>2]|0,n[50]=t,(t|0)!=0|0}function y(){C[762]=1,n[56]=(n[61]|0)-(n[3]|0)>>1,n[61]=(n[62]|0)+2}function Ce(t){return t=t|0,(t|128)<<16>>16==160|(t+-9&65535)<5|0}function q(t){return t=t|0,t<<16>>16==39|t<<16>>16==34|0}function Lt(){return(n[(n[49]|0)+8>>2]|0)-(n[3]|0)>>1|0}function Nt(){return(n[(n[50]|0)+4>>2]|0)-(n[3]|0)>>1|0}function ye(t){return t=t|0,t<<16>>16==13|t<<16>>16==10|0}function Rt(){return(n[n[49]>>2]|0)-(n[3]|0)>>1|0}function xt(){return(n[n[50]>>2]|0)-(n[3]|0)>>1|0}function Ut(){return B[(n[49]|0)+24>>0]|0|0}function Ft(t){t=t|0,n[3]=t}function Mt(){return(C[763]|0)!=0|0}function Yt(){return n[56]|0}function Gt(t){return t=t|0,k=t+992+15&-16,992}return{su:Gt,ai:yt,e:Yt,ee:Nt,es:xt,f:Mt,id:bt,ie:Jt,ip:Ut,is:Rt,p:v,re:Kt,ri:vt,sa:pt,se:Dt,ses:Ft,ss:Lt}}(typeof self<"u"?self:global,{},se),we=p.su($-(2<<17))}const i=b.length+1;p.ses(we),p.sa(i-1),Re(b,new Uint16Array(se,we,i)),p.p()||(d=p.e(),L());const s=[],o=[];for(;p.ri();){const c=p.is(),g=p.ie(),h=p.ai(),C=p.id(),f=p.ss(),n=p.se();let B;p.ip()&&(B=Ue(C===-1?c:c+1,b.charCodeAt(C===-1?c-1:c))),s.push({n:B,s:c,e:g,ss:f,se:n,d:C,a:h})}for(;p.re();){const c=p.es(),g=b.charCodeAt(c);o.push(g===34||g===39?Ue(c+1,g):b.slice(p.es(),p.ee()))}return[s,o,!!p.f()]}function Ue(r,e){d=r;let A="",i=d;for(;;){d>=b.length&&L();const s=b.charCodeAt(d);if(s===e)break;s===92?(A+=b.slice(i,d),A+=uA(),i=d):(s===8232||s===8233||Fe(s)&&L(),++d)}return A+=b.slice(i,d++),A}function uA(){let r=b.charCodeAt(++d);switch(++d,r){case 110:return` | ||
`;case 114:return"\r";case 120:return String.fromCharCode(Ie(2));case 117:return function(){let e;return b.charCodeAt(d)===123?(++d,e=Ie(b.indexOf("}",d)-d),++d,e>1114111&&L()):e=Ie(4),e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}();case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:b.charCodeAt(d)===10&&++d;case 10:return"";case 56:case 57:L();default:if(r>=48&&r<=55){let e=b.substr(d-1,3).match(/^[0-7]+/)[0],A=parseInt(e,8);return A>255&&(e=e.slice(0,-1),A=parseInt(e,8)),d+=e.length-1,r=b.charCodeAt(d),e==="0"&&r!==56&&r!==57||L(),String.fromCharCode(A)}return Fe(r)?"":String.fromCharCode(r)}}function Ie(r){const e=d;let A=0,i=0;for(let s=0;s<r;++s,++d){let o,c=b.charCodeAt(d);if(c!==95){if(c>=97)o=c-97+10;else if(c>=65)o=c-65+10;else{if(!(c>=48&&c<=57))break;o=c-48}if(o>=16)break;i=c,A=16*A+o}else i!==95&&s!==0||L(),i=c}return i!==95&&d-e===r||L(),A}function Fe(r){return r===13||r===10}function L(){throw Object.assign(Error(`Parse error ${xe}:${b.slice(0,d).split(` | ||
`).length}:${d-b.lastIndexOf(` | ||
`,d-1)}`),{idx:d})}let ut=!1;st.then(()=>{ut=!0});const XA=r=>ut?it(r):_A(r),TA=`.then((mod)=>{ | ||
`,d-1)}`),{idx:d})}let Me=!1;Ne.then(()=>{Me=!0});const fA=r=>Me?Le(r):lA(r),hA=`.then((mod)=>{ | ||
const exports = Object.keys(mod); | ||
@@ -21,5 +21,4 @@ if( | ||
} | ||
return mod | ||
})`.replace(/[\n\t]+/g,""),be=` | ||
//# sourceMappingURL=data:application/json;base64,`;function me({code:r,map:e},A){if(r=r.toString(),!r.includes("import"))return;if(A==="inline"){const o=r.indexOf(be),c=r.slice(o+be.length);e=Buffer.from(c,"base64").toString(),r=r.slice(0,o)}const[i]=XA(r);if(i.length===0)return;const s=new Je(r);for(const o of i)o.d>-1&&s.appendRight(o.se,TA);if(r=s.toString(),A&&e){const o=s.generateMap({hires:!0});e=GA([o.toString(),e],()=>null).toString(),A==="inline"&&(r+=be+Buffer.from(e,"utf8").toString("base64"),e="")}else e="";return{code:r,map:e}}const ft=r=>Pt.default.createHash("sha1").update(r).digest("hex");function $A(r){try{const e=x.default.readFileSync(r,"utf8");return JSON.parse(e)}catch{}}const ht=()=>Math.floor(Date.now()/1e8);class WA extends Map{cacheDirectory=Y.default.join(Xt.default.tmpdir(),"esbuild-kit");cacheFiles;constructor(){super(),x.default.existsSync(this.cacheDirectory)||x.default.mkdirSync(this.cacheDirectory),this.cacheFiles=x.default.readdirSync(this.cacheDirectory).map(e=>{const[A,i]=e.split("-");return{time:Number(A),key:i,fileName:e}}),setImmediate(()=>this.expireDiskCache())}get(e){const A=super.get(e);if(A)return A;const i=this.cacheFiles.find(c=>c.key===e);if(!i)return;const s=Y.default.join(this.cacheDirectory,i.fileName),o=$A(s);if(!o){x.default.promises.unlink(s).then(()=>{const c=this.cacheFiles.indexOf(i);this.cacheFiles.splice(c,1)},()=>{});return}return super.set(e,o),o}set(e,A){if(super.set(e,A),A){const i=ht();x.default.promises.writeFile(Y.default.join(this.cacheDirectory,`${i}-${e}`),JSON.stringify(A)).catch(()=>{})}return this}expireDiskCache(){const e=ht();for(const A of this.cacheFiles)e-A.time>7&&x.default.promises.unlink(Y.default.join(this.cacheDirectory,A.fileName)).catch(()=>{})}}var ce=process.env.ESBK_DISABLE_CACHE?new Map:new WA,VA=Object.defineProperty,Qt=Object.getOwnPropertySymbols,ZA=Object.prototype.hasOwnProperty,zA=Object.prototype.propertyIsEnumerable,gt=(r,e,A)=>e in r?VA(r,e,{enumerable:!0,configurable:!0,writable:!0,value:A}):r[e]=A,Se=(r,e)=>{for(var A in e||(e={}))ZA.call(e,A)&>(r,A,e[A]);if(Qt)for(var A of Qt(e))zA.call(e,A)&>(r,A,e[A]);return r};const er=process.versions.node,De=Ke?"inline":!0,Ct=r=>{const e=Se({target:`node${er}`,loader:"default",sourcemap:De,minifySyntax:!0,minifyWhitespace:!0},r);if(e.sourcefile){const{sourcefile:A}=e,i=Y.default.extname(A);i?(i===".cts"||i===".mts")&&(e.sourcefile=`${A.slice(0,-3)}ts`):e.sourcefile+=".js"}return e};function tr(r,e,A){const i={};e.endsWith(".cjs")||e.endsWith(".cts")||(i["import.meta.url"]=`'${Gt.pathToFileURL(e)}'`);const s=Ct(Se({sourcefile:e,define:i},A)),o=ft(r+JSON.stringify(s)+re.version),c=ce.get(o);if(c)return c;const g=re.transformSync(r,s),h=me(g,De);if(h&&(g.code=h.code,g.map=h.map),g.warnings.length>0){const{warnings:C}=g;for(const f of C)console.log(f)}return ce.set(o,g),g}async function Ar(r,e,A){const i=Ct(Se({sourcefile:e},A)),s=ft(r+JSON.stringify(i)+re.version),o=ce.get(s);if(o)return o;const c=await re.transform(r,i),g=me(c,De);if(g&&(c.code=g.code,c.map=g.map),c.warnings.length>0){const{warnings:h}=c;for(const C of h)console.log(C)}return ce.set(s,c),c}const rr={".js":".ts",".cjs":".cts",".mjs":".mts"};function nr(r){const e=Y.default.extname(r),A=rr[e];if(A)return r.slice(0,-e.length)+A}exports.installSourceMapSupport=Tt,exports.resolveTsPath=nr,exports.transform=Ar,exports.transformDynamicImport=me,exports.transformSync=tr; | ||
})`.replace(/[\n\t]+/g,"");function ke({code:r},e){if(r=r.toString(),!r.includes("import"))return;const[A]=fA(r);if(A.length===0)return;const i=new Se(r);for(const o of A)o.d>-1&&i.appendRight(o.se,hA);const s={code:i.toString(),map:i.generateMap({hires:!0})};return e||G(s),s}function QA(r){try{const e=R.default.readFileSync(r,"utf8");return JSON.parse(e)}catch{}}const Ye=()=>Math.floor(Date.now()/1e8);class gA extends Map{cacheDirectory=Y.default.join($t.default.tmpdir(),"esbuild-kit");cacheFiles;constructor(){super(),R.default.existsSync(this.cacheDirectory)||R.default.mkdirSync(this.cacheDirectory),this.cacheFiles=R.default.readdirSync(this.cacheDirectory).map(e=>{const[A,i]=e.split("-");return{time:Number(A),key:i,fileName:e}}),setImmediate(()=>this.expireDiskCache())}get(e){const A=super.get(e);if(A)return A;const i=this.cacheFiles.find(c=>c.key===e);if(!i)return;const s=Y.default.join(this.cacheDirectory,i.fileName),o=QA(s);if(!o){R.default.promises.unlink(s).then(()=>{const c=this.cacheFiles.indexOf(i);this.cacheFiles.splice(c,1)},()=>{});return}return super.set(e,o),o}set(e,A){if(super.set(e,A),A){const i=Ye();R.default.promises.writeFile(Y.default.join(this.cacheDirectory,`${i}-${e}`),JSON.stringify(A)).catch(()=>{})}return this}expireDiskCache(){const e=Ye();for(const A of this.cacheFiles)e-A.time>7&&R.default.promises.unlink(Y.default.join(this.cacheDirectory,A.fileName)).catch(()=>{})}}var oe=process.env.ESBK_DISABLE_CACHE?new Map:new gA;const Ge=",".charCodeAt(0),CA=";".charCodeAt(0),He="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Oe=new Uint8Array(64),_e=new Uint8Array(128);for(let r=0;r<He.length;r++){const e=He.charCodeAt(r);Oe[r]=e,_e[e]=r}const pe=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(r){return Buffer.from(r.buffer,r.byteOffset,r.byteLength).toString()}}:{decode(r){let e="";for(let A=0;A<r.length;A++)e+=String.fromCharCode(r[A]);return e}};function BA(r){const e=new Int32Array(5),A=[];let i=0;do{const s=EA(r,i),o=[];let c=!0,g=0;e[0]=0;for(let h=i;h<s;h++){let C;h=W(r,h,e,0);const f=e[0];f<g&&(c=!1),g=f,je(r,h,s)?(h=W(r,h,e,1),h=W(r,h,e,2),h=W(r,h,e,3),je(r,h,s)?(h=W(r,h,e,4),C=[f,e[1],e[2],e[3],e[4]]):C=[f,e[1],e[2],e[3]]):C=[f],o.push(C)}c||dA(o),A.push(o),i=s+1}while(i<=r.length);return A}function EA(r,e){const A=r.indexOf(";",e);return A===-1?r.length:A}function W(r,e,A,i){let s=0,o=0,c=0;do{const h=r.charCodeAt(e++);c=_e[h],s|=(c&31)<<o,o+=5}while(c&32);const g=s&1;return s>>>=1,g&&(s=-2147483648|-s),A[i]+=s,e}function je(r,e,A){return e>=A?!1:r.charCodeAt(e)!==Ge}function dA(r){r.sort(wA)}function wA(r,e){return r[0]-e[0]}function IA(r){const e=new Int32Array(5),A=1024*16,i=A-36,s=new Uint8Array(A),o=s.subarray(0,i);let c=0,g="";for(let h=0;h<r.length;h++){const C=r[h];if(h>0&&(c===A&&(g+=pe.decode(s),c=0),s[c++]=CA),C.length!==0){e[0]=0;for(let f=0;f<C.length;f++){const n=C[f];c>i&&(g+=pe.decode(o),s.copyWithin(0,i,c),c-=i),f>0&&(s[c++]=Ge),c=V(s,c,e,n,0),n.length!==1&&(c=V(s,c,e,n,1),c=V(s,c,e,n,2),c=V(s,c,e,n,3),n.length!==4&&(c=V(s,c,e,n,4)))}}}return g+pe.decode(s.subarray(0,c))}function V(r,e,A,i,s){const o=i[s];let c=o-A[s];A[s]=o,c=c<0?-c<<1|1:c<<1;do{let g=c&31;c>>>=5,c>0&&(g|=32),r[e++]=Oe[g]}while(c>0);return e}const kA=/^[\w+.-]+:\/\//,pA=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?/,bA=/^file:(?:\/\/((?![a-z]:)[^/]*)?)?(\/?.*)/i;function mA(r){return kA.test(r)}function SA(r){return r.startsWith("//")}function qe(r){return r.startsWith("/")}function DA(r){return r.startsWith("file:")}function ae(r){const e=pA.exec(r);return Pe(e[1],e[2]||"",e[3],e[4]||"",e[5]||"/")}function yA(r){const e=bA.exec(r),A=e[2];return Pe("file:","",e[1]||"","",qe(A)?A:"/"+A)}function Pe(r,e,A,i,s){return{scheme:r,user:e,host:A,port:i,path:s,relativePath:!1}}function Xe(r){if(SA(r)){const A=ae("http:"+r);return A.scheme="",A}if(qe(r)){const A=ae("http://foo.com"+r);return A.scheme="",A.host="",A}if(DA(r))return yA(r);if(mA(r))return ae(r);const e=ae("http://foo.com/"+r);return e.scheme="",e.host="",e.relativePath=!0,e}function JA(r){if(r.endsWith("/.."))return r;const e=r.lastIndexOf("/");return r.slice(0,e+1)}function vA(r,e){!r.relativePath||(Te(e),r.path==="/"?r.path=e.path:r.path=JA(e.path)+r.path,r.relativePath=e.relativePath)}function Te(r){const{relativePath:e}=r,A=r.path.split("/");let i=1,s=0,o=!1;for(let g=1;g<A.length;g++){const h=A[g];if(!h){o=!0;continue}if(o=!1,h!=="."){if(h===".."){s?(o=!0,s--,i--):e&&(A[i++]=h);continue}A[i++]=h,s++}}let c="";for(let g=1;g<i;g++)c+="/"+A[g];(!c||o&&!c.endsWith("/.."))&&(c+="/"),r.path=c}function KA(r,e){if(!r&&!e)return"";const A=Xe(r);if(e&&!A.scheme){const i=Xe(e);A.scheme=i.scheme,A.host||(A.user=i.user,A.host=i.host,A.port=i.port),vA(A,i)}if(Te(A),A.relativePath){const i=A.path.slice(1);return i?!(e||r).startsWith(".")||i.startsWith(".")?i:"./"+i:"."}return!A.scheme&&!A.host?A.path:`${A.scheme}//${A.user}${A.host}${A.port}${A.path}`}function $e(r,e){return e&&!e.endsWith("/")&&(e+="/"),KA(r,e)}function LA(r){if(!r)return"";const e=r.lastIndexOf("/");return r.slice(0,e+1)}const N=0;function NA(r,e){const A=We(r,0);if(A===r.length)return r;e||(r=r.slice());for(let i=A;i<r.length;i=We(r,i+1))r[i]=xA(r[i],e);return r}function We(r,e){for(let A=e;A<r.length;A++)if(!RA(r[A]))return A;return r.length}function RA(r){for(let e=1;e<r.length;e++)if(r[e][N]<r[e-1][N])return!1;return!0}function xA(r,e){return e||(r=r.slice()),r.sort(UA)}function UA(r,e){return r[N]-e[N]}let ce=!1;function FA(r,e,A,i){for(;A<=i;){const s=A+(i-A>>1),o=r[s][N]-e;if(o===0)return ce=!0,s;o<0?A=s+1:i=s-1}return ce=!1,A-1}function MA(r,e,A){for(let i=A+1;i<r.length&&r[i][N]===e;A=i++);return A}function YA(r,e,A){for(let i=A-1;i>=0&&r[i][N]===e;A=i--);return A}function GA(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function HA(r,e,A,i){const{lastKey:s,lastNeedle:o,lastIndex:c}=A;let g=0,h=r.length-1;if(i===s){if(e===o)return ce=c!==-1&&r[c][N]===e,c;e>=o?g=c===-1?0:c:h=c}return A.lastKey=i,A.lastNeedle=e,A.lastIndex=FA(r,e,g,h)}const Ve=-1,OA=1;let be,Ze;class ze{constructor(e,A){this._decodedMemo=GA(),this._bySources=void 0,this._bySourceMemos=void 0;const i=typeof e=="string";if(!i&&e._decodedMemo)return e;const s=i?JSON.parse(e):e,{version:o,file:c,names:g,sourceRoot:h,sources:C,sourcesContent:f}=s;this.version=o,this.file=c,this.names=g,this.sourceRoot=h,this.sources=C,this.sourcesContent=f;const n=$e(h||"",LA(A));this.resolvedSources=C.map(m=>$e(m||"",n));const{mappings:B}=s;typeof B=="string"?(this._encoded=B,this._decoded=void 0):(this._encoded=void 0,this._decoded=NA(B,i))}}be=r=>r._decoded||(r._decoded=BA(r._encoded)),Ze=(r,e,A)=>{const i=be(r);return e>=i.length?null:_A(i[e],r._decodedMemo,e,A,OA)};function _A(r,e,A,i,s){let o=HA(r,i,e,A);return ce?o=(s===Ve?MA:YA)(r,i,o):s===Ve&&o++,o===-1||o===r.length?null:r[o]}let et,le;class tt{constructor(){this._indexes={__proto__:null},this.array=[]}}et=(r,e)=>r._indexes[e],le=(r,e)=>{const A=et(r,e);if(A!==void 0)return A;const{array:i,_indexes:s}=r;return s[e]=i.push(e)-1};let At,rt,me,nt;class jA{constructor({file:e,sourceRoot:A}={}){this._names=new tt,this._sources=new tt,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=A}}At=(r,e,A,i,s,o,c)=>{const{_mappings:g,_sources:h,_sourcesContent:C,_names:f}=r,n=qA(g,e);if(i==null){const v=[A],K=it(n,A,v);return st(n,K,v)}const B=le(h,i),m=c?[A,B,s,o,le(f,c)]:[A,B,s,o],k=it(n,A,m);B===C.length&&(C[B]=null),st(n,k,m)},rt=(r,e,A)=>{const{_sources:i,_sourcesContent:s}=r;s[le(i,e)]=A},me=r=>{const{file:e,sourceRoot:A,_mappings:i,_sources:s,_sourcesContent:o,_names:c}=r;return{version:3,file:e,names:c.array,sourceRoot:A||void 0,sources:s.array,sourcesContent:o,mappings:i}},nt=r=>{const e=me(r);return Object.assign(Object.assign({},e),{mappings:IA(e.mappings)})};function qA(r,e){for(let A=r.length;A<=e;A++)r[A]=[];return r[e]}function it(r,e,A){let i=r.length;for(let s=i-1;s>=0;s--,i--){const o=r[s],c=o[0];if(c>e)continue;if(c<e)break;const g=PA(o,A);if(g===0)return i;if(g<0)break}return i}function PA(r,e){let A=Z(r.length,e.length);return A!==0?A:r.length===1?0:(A=Z(r[1],e[1]),A!==0||(A=Z(r[2],e[2]),A!==0)||(A=Z(r[3],e[3]),A!==0)?A:r.length===4?0:Z(r[4],e[4]))}function Z(r,e){return r-e}function st(r,e,A){if(e!==-1){for(let i=r.length;i>e;i--)r[i]=r[i-1];r[e]=A}}const ot={source:null,column:null,line:null,name:null,content:null},XA=[];function at(r,e,A,i){return{map:r,sources:e,source:A,content:i}}function ct(r,e){return at(r,e,"",null)}function TA(r,e){return at(null,XA,r,e)}function $A(r){const e=new jA({file:r.map.file}),{sources:A,map:i}=r,s=i.names,o=be(i);for(let c=0;c<o.length;c++){const g=o[c];let h=null,C=null,f=null;for(let n=0;n<g.length;n++){const B=g[n],m=B[0];let k=ot;if(B.length!==1){const te=A[B[1]];if(k=lt(te,B[2],B[3],B.length===5?s[B[4]]:""),k==null)continue}const{column:v,line:K,name:ee,content:x,source:U}=k;K===C&&v===f&&U===h||(C=K,f=v,h=U,At(e,c,m,U,K,v,ee),x!=null&&rt(e,U,x))}}return e}function lt(r,e,A,i){if(!r.map)return{column:A,line:e,name:i,source:r.source,content:r.content};const s=Ze(r.map,e,A);return s==null?null:s.length===1?ot:lt(r.sources[s[1]],s[2],s[3],s.length===5?r.map.names[s[4]]:i)}function WA(r){return Array.isArray(r)?r:[r]}function VA(r,e){const A=WA(r).map(o=>new ze(o,"")),i=A.pop();for(let o=0;o<A.length;o++)if(A[o].sources.length>1)throw new Error(`Transformation map ${o} must have exactly one source file. | ||
Did you specify these with the most recent transformation maps first?`);let s=ut(i,e,"",0);for(let o=A.length-1;o>=0;o--)s=ct(A[o],[s]);return s}function ut(r,e,A,i){const{resolvedSources:s,sourcesContent:o}=r,c=i+1,g=s.map((h,C)=>{const f={importer:A,depth:c,source:h||"",content:void 0},n=e(f.source,f),{source:B,content:m}=f;if(n)return ut(new ze(n,B),e,B,c);const k=m!==void 0?m:o?o[C]:null;return TA(B,k)});return ct(r,g)}class ZA{constructor(e,A){const i=A.decodedMappings?me(e):nt(e);this.version=i.version,this.file=i.file,this.mappings=i.mappings,this.names=i.names,this.sourceRoot=i.sourceRoot,this.sources=i.sources,A.excludeContent||(this.sourcesContent=i.sourcesContent)}toString(){return JSON.stringify(this)}}function ft(r,e,A){const i=typeof A=="object"?A:{excludeContent:!!A,decodedMappings:!1},s=VA(r,e);return new ZA($A(s),i)}function zA(r,e){const A=[],i={code:r,map:""};for(const s of e){const o=s(i.code);o&&(Object.assign(i,o),A.unshift(o.map))}return i.map=A.length>1?ft(A,()=>null).toString():A[0].toString(),i}async function er(r,e){const A=[],i={code:r,map:""};for(const s of e){const o=await s(i.code);o&&(Object.assign(i,o),A.unshift(o.map))}return i.map=A.length>1?ft(A,()=>null).toString():A[0].toString(),i}var tr=Object.defineProperty,ht=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,rr=Object.prototype.propertyIsEnumerable,Qt=(r,e,A)=>e in r?tr(r,e,{enumerable:!0,configurable:!0,writable:!0,value:A}):r[e]=A,nr=(r,e)=>{for(var A in e||(e={}))Ar.call(e,A)&&Qt(r,A,e[A]);if(ht)for(var A of ht(e))rr.call(e,A)&&Qt(r,A,e[A]);return r};const ir=process.versions.node,gt=r=>{const e=nr({target:`node${ir}`,loader:"default",sourcemap:!0,minifySyntax:!0,minifyWhitespace:!0},r);if(e.sourcefile){const{sourcefile:A}=e,i=Y.default.extname(A);i?(i===".cts"||i===".mts")&&(e.sourcefile=`${A.slice(0,-3)}ts`):e.sourcefile+=".js"}return e};var sr=Object.defineProperty,Ct=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable,Bt=(r,e,A)=>e in r?sr(r,e,{enumerable:!0,configurable:!0,writable:!0,value:A}):r[e]=A,Et=(r,e)=>{for(var A in e||(e={}))or.call(e,A)&&Bt(r,A,e[A]);if(Ct)for(var A of Ct(e))ar.call(e,A)&&Bt(r,A,e[A]);return r};function cr(r,e,A){const i={};e.endsWith(".cjs")||e.endsWith(".cts")||(i["import.meta.url"]=`'${Ot.pathToFileURL(e)}'`);const s=gt(Et({sourcefile:e,define:i},A)),o=ve(r+JSON.stringify(s)+ne.version),c=oe.get(o);if(c)return G(c),c;const g=zA(r,[h=>ne.transformSync(h,s),h=>ke({code:h},!0)]);if(g.warnings.length>0){const{warnings:h}=g;for(const C of h)console.log(C)}return oe.set(o,g),G(g),g}async function lr(r,e,A){const i=gt(Et({sourcefile:e},A)),s=ve(r+JSON.stringify(i)+ne.version),o=oe.get(s);if(o)return G(o),o;const c=await er(r,[g=>ne.transform(g,i),g=>ke({code:g},!0)]);if(c.warnings.length>0){const{warnings:g}=c;for(const h of g)console.log(h)}return oe.set(s,c),G(c),c}const ur={".js":".ts",".cjs":".cts",".mjs":".mts"};function fr(r){const e=Y.default.extname(r),A=ur[e];if(A)return r.slice(0,-e.length)+A}exports.applySourceMap=G,exports.installSourceMapSupport=Wt,exports.resolveTsPath=fr,exports.transform=lr,exports.transformDynamicImport=ke,exports.transformSync=cr; |
{ | ||
"name": "@esbuild-kit/core-utils", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"publishConfig": { | ||
@@ -19,10 +19,10 @@ "access": "public" | ||
"exports": { | ||
"// Node can interop CJS modules": "", | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.js", | ||
"types": "./dist/index.d.ts" | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
}, | ||
"scripts": { | ||
"build": "pkgroll --minify", | ||
"lint": "eslint --cache ." | ||
"lint": "eslint --cache .", | ||
"pretest": "npm run build", | ||
"test": "tsx --no-cache ./tests/index.ts" | ||
}, | ||
@@ -40,9 +40,24 @@ "dependencies": { | ||
"eslint": "^8.15.0", | ||
"fs-require": "^1.4.0", | ||
"magic-string": "^0.26.2", | ||
"manten": "^0.1.0", | ||
"memfs": "^3.4.6", | ||
"pkgroll": "^1.2.2", | ||
"tsx": "github:esbuild-kit/tsx#built/core-utils-refactor", | ||
"typescript": "^4.6.4" | ||
}, | ||
"eslintConfig": { | ||
"extends": "@pvtnbr" | ||
"extends": "@pvtnbr", | ||
"rules": { | ||
"@typescript-eslint/no-shadow": [ | ||
"error", | ||
{ | ||
"allow": [ | ||
"test", | ||
"describe" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59755
289
13
2