@expo/launching 0.0.0-20250725-cb49caed
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +371 -0
- package/package.json +12 -0
package/build/index.js
ADDED
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
var fy=Object.create;var{getPrototypeOf:xy,defineProperty:J4,getOwnPropertyNames:QX,getOwnPropertyDescriptor:my}=Object,YX=Object.prototype.hasOwnProperty;var l9=(D,Z,Q)=>{Q=D!=null?fy(xy(D)):{};let Y=Z||!D||!D.__esModule?J4(Q,"default",{value:D,enumerable:!0}):Q;for(let J of QX(D))if(!YX.call(Y,J))J4(Y,J,{get:()=>D[J],enumerable:!0});return Y},ZX=new WeakMap,uZ=(D)=>{var Z=ZX.get(D),Q;if(Z)return Z;if(Z=J4({},"__esModule",{value:!0}),D&&typeof D==="object"||typeof D==="function")QX(D).map((Y)=>!YX.call(Z,Y)&&J4(Z,Y,{get:()=>D[Y],enumerable:!(Q=my(D,Y))||Q.enumerable}));return ZX.set(D,Z),Z},M=(D,Z)=>()=>(Z||D((Z={exports:{}}).exports,Z),Z.exports);var JX=(D,Z)=>{for(var Q in Z)J4(D,Q,{get:Z[Q],enumerable:!0,configurable:!0,set:(Y)=>Z[Q]=()=>Y})};var v7=(D,Z)=>()=>(D&&(Z=D(D=0)),Z);var hD;var vZ=v7(()=>{hD={get PKG_VERSION(){return"0.0.0"},get PKG_DESCRIPTION(){return"The internal CLI tool for Expo Launch. Learn more: https://launch.expo.dev"},get EXPO_DEBUG(){return process.env.EXPO_DEBUG==="1"||process.env.EXPO_DEBUG?.toLowerCase()==="true"}}});var BX=M((T70,qX)=>{var T7=1000,b7=T7*60,h7=b7*60,_D=h7*24,gy=_D*7,cy=_D*365.25;qX.exports=function(D,Z){Z=Z||{};var Q=typeof D;if(Q==="string"&&D.length>0)return dy(D);else if(Q==="number"&&isFinite(D))return Z.long?py(D):ly(D);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(D))};function dy(D){if(D=String(D),D.length>100)return;var Z=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(D);if(!Z)return;var Q=parseFloat(Z[1]),Y=(Z[2]||"ms").toLowerCase();switch(Y){case"years":case"year":case"yrs":case"yr":case"y":return Q*cy;case"weeks":case"week":case"w":return Q*gy;case"days":case"day":case"d":return Q*_D;case"hours":case"hour":case"hrs":case"hr":case"h":return Q*h7;case"minutes":case"minute":case"mins":case"min":case"m":return Q*b7;case"seconds":case"second":case"secs":case"sec":case"s":return Q*T7;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return Q;default:return}}function ly(D){var Z=Math.abs(D);if(Z>=_D)return Math.round(D/_D)+"d";if(Z>=h7)return Math.round(D/h7)+"h";if(Z>=b7)return Math.round(D/b7)+"m";if(Z>=T7)return Math.round(D/T7)+"s";return D+"ms"}function py(D){var Z=Math.abs(D);if(Z>=_D)return TZ(D,Z,_D,"day");if(Z>=h7)return TZ(D,Z,h7,"hour");if(Z>=b7)return TZ(D,Z,b7,"minute");if(Z>=T7)return TZ(D,Z,T7,"second");return D+" ms"}function TZ(D,Z,Q,Y){var J=Z>=Q*1.5;return Math.round(D/Q)+" "+Y+(J?"s":"")}});var BB=M((b70,HX)=>{function iy(D){Q.debug=Q,Q.default=Q,Q.coerce=V,Q.disable=B,Q.enable=J,Q.enabled=H,Q.humanize=BX(),Q.destroy=K,Object.keys(D).forEach((G)=>{Q[G]=D[G]}),Q.names=[],Q.skips=[],Q.formatters={};function Z(G){let W=0;for(let O=0;O<G.length;O++)W=(W<<5)-W+G.charCodeAt(O),W|=0;return Q.colors[Math.abs(W)%Q.colors.length]}Q.selectColor=Z;function Q(G){let W,O=null,F,E;function L(...j){if(!L.enabled)return;let P=L,u=Number(new Date),U=u-(W||u);if(P.diff=U,P.prev=W,P.curr=u,W=u,j[0]=Q.coerce(j[0]),typeof j[0]!=="string")j.unshift("%O");let X=0;j[0]=j[0].replace(/%([a-zA-Z%])/g,(A,S)=>{if(A==="%%")return"%";X++;let w=Q.formatters[S];if(typeof w==="function"){let C=j[X];A=w.call(P,C),j.splice(X,1),X--}return A}),Q.formatArgs.call(P,j),(P.log||Q.log).apply(P,j)}if(L.namespace=G,L.useColors=Q.useColors(),L.color=Q.selectColor(G),L.extend=Y,L.destroy=Q.destroy,Object.defineProperty(L,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(O!==null)return O;if(F!==Q.namespaces)F=Q.namespaces,E=Q.enabled(G);return E},set:(j)=>{O=j}}),typeof Q.init==="function")Q.init(L);return L}function Y(G,W){let O=Q(this.namespace+(typeof W==="undefined"?":":W)+G);return O.log=this.log,O}function J(G){Q.save(G),Q.namespaces=G,Q.names=[],Q.skips=[];let W=(typeof G==="string"?G:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let O of W)if(O[0]==="-")Q.skips.push(O.slice(1));else Q.names.push(O)}function q(G,W){let O=0,F=0,E=-1,L=0;while(O<G.length)if(F<W.length&&(W[F]===G[O]||W[F]==="*"))if(W[F]==="*")E=F,L=O,F++;else O++,F++;else if(E!==-1)F=E+1,L++,O=L;else return!1;while(F<W.length&&W[F]==="*")F++;return F===W.length}function B(){let G=[...Q.names,...Q.skips.map((W)=>"-"+W)].join(",");return Q.enable(""),G}function H(G){for(let W of Q.skips)if(q(G,W))return!1;for(let W of Q.names)if(q(G,W))return!0;return!1}function V(G){if(G instanceof Error)return G.stack||G.message;return G}function K(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return Q.enable(Q.load()),Q}HX.exports=iy});var VX=M((G8,bZ)=>{G8.formatArgs=ry;G8.save=sy;G8.load=ay;G8.useColors=ny;G8.storage=ty();G8.destroy=(()=>{let D=!1;return()=>{if(!D)D=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();G8.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function ny(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let D;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(D=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(D[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function ry(D){if(D[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+D[0]+(this.useColors?"%c ":" ")+"+"+bZ.exports.humanize(this.diff),!this.useColors)return;let Z="color: "+this.color;D.splice(1,0,Z,"color: inherit");let Q=0,Y=0;D[0].replace(/%[a-zA-Z%]/g,(J)=>{if(J==="%%")return;if(Q++,J==="%c")Y=Q}),D.splice(Y,0,Z)}G8.log=console.debug||console.log||(()=>{});function sy(D){try{if(D)G8.storage.setItem("debug",D);else G8.storage.removeItem("debug")}catch(Z){}}function ay(){let D;try{D=G8.storage.getItem("debug")||G8.storage.getItem("DEBUG")}catch(Z){}if(!D&&typeof process!=="undefined"&&"env"in process)D=process.env.DEBUG;return D}function ty(){try{return localStorage}catch(D){}}bZ.exports=BB()(G8);var{formatters:oy}=bZ.exports;oy.j=function(D){try{return JSON.stringify(D)}catch(Z){return"[UnexpectedJSONParseError]: "+Z.message}}});var GX=M((h70,KX)=>{KX.exports=(D,Z=process.argv)=>{let Q=D.startsWith("-")?"":D.length===1?"-":"--",Y=Z.indexOf(Q+D),J=Z.indexOf("--");return Y!==-1&&(J===-1||Y<J)}});var KB=M((_70,WX)=>{var ey=require("os"),zX=require("tty"),l8=GX(),{env:C5}=process,p9;if(l8("no-color")||l8("no-colors")||l8("color=false")||l8("color=never"))p9=0;else if(l8("color")||l8("colors")||l8("color=true")||l8("color=always"))p9=1;if("FORCE_COLOR"in C5)if(C5.FORCE_COLOR==="true")p9=1;else if(C5.FORCE_COLOR==="false")p9=0;else p9=C5.FORCE_COLOR.length===0?1:Math.min(parseInt(C5.FORCE_COLOR,10),3);function HB(D){if(D===0)return!1;return{level:D,hasBasic:!0,has256:D>=2,has16m:D>=3}}function VB(D,Z){if(p9===0)return 0;if(l8("color=16m")||l8("color=full")||l8("color=truecolor"))return 3;if(l8("color=256"))return 2;if(D&&!Z&&p9===void 0)return 0;let Q=p9||0;if(C5.TERM==="dumb")return Q;if(process.platform==="win32"){let Y=ey.release().split(".");if(Number(Y[0])>=10&&Number(Y[2])>=10586)return Number(Y[2])>=14931?3:2;return 1}if("CI"in C5){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((Y)=>(Y in C5))||C5.CI_NAME==="codeship")return 1;return Q}if("TEAMCITY_VERSION"in C5)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(C5.TEAMCITY_VERSION)?1:0;if(C5.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in C5){let Y=parseInt((C5.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(C5.TERM_PROGRAM){case"iTerm.app":return Y>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(C5.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(C5.TERM))return 1;if("COLORTERM"in C5)return 1;return Q}function Df(D){let Z=VB(D,D&&D.isTTY);return HB(Z)}WX.exports={supportsColor:Df,stdout:HB(VB(!0,zX.isatty(1))),stderr:HB(VB(!0,zX.isatty(2)))}});var XX=M((R5,_Z)=>{var Zf=require("tty"),hZ=require("util");R5.init=Vf;R5.log=qf;R5.formatArgs=Yf;R5.save=Bf;R5.load=Hf;R5.useColors=Qf;R5.destroy=hZ.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");R5.colors=[6,2,3,4,5,1];try{let D=KB();if(D&&(D.stderr||D).level>=2)R5.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(D){}R5.inspectOpts=Object.keys(process.env).filter((D)=>{return/^debug_/i.test(D)}).reduce((D,Z)=>{let Q=Z.substring(6).toLowerCase().replace(/_([a-z])/g,(J,q)=>{return q.toUpperCase()}),Y=process.env[Z];if(/^(yes|on|true|enabled)$/i.test(Y))Y=!0;else if(/^(no|off|false|disabled)$/i.test(Y))Y=!1;else if(Y==="null")Y=null;else Y=Number(Y);return D[Q]=Y,D},{});function Qf(){return"colors"in R5.inspectOpts?Boolean(R5.inspectOpts.colors):Zf.isatty(process.stderr.fd)}function Yf(D){let{namespace:Z,useColors:Q}=this;if(Q){let Y=this.color,J="\x1B[3"+(Y<8?Y:"8;5;"+Y),q=` ${J};1m${Z} \x1B[0m`;D[0]=q+D[0].split(`
|
|
3
|
+
`).join(`
|
|
4
|
+
`+q),D.push(J+"m+"+_Z.exports.humanize(this.diff)+"\x1B[0m")}else D[0]=Jf()+Z+" "+D[0]}function Jf(){if(R5.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function qf(...D){return process.stderr.write(hZ.formatWithOptions(R5.inspectOpts,...D)+`
|
|
5
|
+
`)}function Bf(D){if(D)process.env.DEBUG=D;else delete process.env.DEBUG}function Hf(){return process.env.DEBUG}function Vf(D){D.inspectOpts={};let Z=Object.keys(R5.inspectOpts);for(let Q=0;Q<Z.length;Q++)D.inspectOpts[Z[Q]]=R5.inspectOpts[Z[Q]]}_Z.exports=BB()(R5);var{formatters:OX}=_Z.exports;OX.o=function(D){return this.inspectOpts.colors=this.useColors,hZ.inspect(D,this.inspectOpts).split(`
|
|
6
|
+
`).map((Z)=>Z.trim()).join(" ")};OX.O=function(D){return this.inspectOpts.colors=this.useColors,hZ.inspect(D,this.inspectOpts)}});var kD=M((k70,GB)=>{if(typeof process==="undefined"||process.type==="renderer"||!1||process.__nwjs)GB.exports=VX();else GB.exports=XX()});function q4(D,Z){return zB.default(`launch:${D}:${Z}`)}function Kf(D,...Z){let Q=D.reduce((J,q,B)=>{return J+q+(Z[B]!==void 0?String(Z[B]):"")},"");function Y(J){let q=J.indexOf("{");if(q===-1)return J;let B=1,H=q+1;while(H<J.length&&B>0){if(J[H]==="{")B++;else if(J[H]==="}")B--;H++}if(B>0)return J;H--;let V=J.slice(q+1,H),K=V.indexOf(" ");if(K===-1)return J.slice(0,q)+Y(J.slice(H+1));let G=V.slice(0,K),W=V.slice(K+1),O=Y(W),F=G.split("."),E=O;for(let P of F)if(P in FX)E=R1.styleText([P],E);let L=J.slice(0,q),j=Y(J.slice(H+1));return L+E+j}return Y(Q)}var zB,R1,FX,p8;var kZ=v7(()=>{zB=l9(kD()),R1=require("node:util");vZ();if(hD.EXPO_DEBUG)zB.default.enable("expo*,launch*");FX={red:{value:(...D)=>R1.styleText(["red"],D.join(" "))},green:{value:(...D)=>R1.styleText(["green"],D.join(" "))},blue:{value:(...D)=>R1.styleText(["blue"],D.join(" "))},yellow:{value:(...D)=>R1.styleText(["yellow"],D.join(" "))},magenta:{value:(...D)=>R1.styleText(["magenta"],D.join(" "))},cyan:{value:(...D)=>R1.styleText(["cyan"],D.join(" "))},white:{value:(...D)=>R1.styleText(["white"],D.join(" "))},black:{value:(...D)=>R1.styleText(["black"],D.join(" "))},gray:{value:(...D)=>R1.styleText(["gray"],D.join(" "))},redBright:{value:(...D)=>R1.styleText(["redBright"],D.join(" "))},greenBright:{value:(...D)=>R1.styleText(["greenBright"],D.join(" "))},blueBright:{value:(...D)=>R1.styleText(["blueBright"],D.join(" "))},yellowBright:{value:(...D)=>R1.styleText(["yellowBright"],D.join(" "))},magentaBright:{value:(...D)=>R1.styleText(["magentaBright"],D.join(" "))},cyanBright:{value:(...D)=>R1.styleText(["cyanBright"],D.join(" "))},whiteBright:{value:(...D)=>R1.styleText(["whiteBright"],D.join(" "))},blackBright:{value:(...D)=>R1.styleText(["blackBright"],D.join(" "))},bold:{value:(...D)=>R1.styleText(["bold"],D.join(" "))},dim:{value:(...D)=>R1.styleText(["dim"],D.join(" "))},italic:{value:(...D)=>R1.styleText(["italic"],D.join(" "))},underline:{value:(...D)=>R1.styleText(["underline"],D.join(" "))},strikethrough:{value:(...D)=>R1.styleText(["strikethrough"],D.join(" "))},bgRed:{value:(...D)=>R1.styleText(["bgRed"],D.join(" "))},bgGreen:{value:(...D)=>R1.styleText(["bgGreen"],D.join(" "))},bgBlue:{value:(...D)=>R1.styleText(["bgBlue"],D.join(" "))},bgYellow:{value:(...D)=>R1.styleText(["bgYellow"],D.join(" "))},bgMagenta:{value:(...D)=>R1.styleText(["bgMagenta"],D.join(" "))},bgCyan:{value:(...D)=>R1.styleText(["bgCyan"],D.join(" "))},bgWhite:{value:(...D)=>R1.styleText(["bgWhite"],D.join(" "))},bgBlack:{value:(...D)=>R1.styleText(["bgBlack"],D.join(" "))}};p8=Object.defineProperties(Kf,FX)});function WB(D){if(!(D instanceof Error))throw D;console.error(p8.red(D.toString())+(hD.EXPO_DEBUG&&D.stack?`
|
|
7
|
+
`+p8.gray(D.stack):"")),process.exit(1)}var UX="Error: ",D8;var B4=v7(()=>{vZ();kZ();D8=class D8 extends Error{code;name="CommandError";isCommandError=!0;constructor(D,Z="",Q){super("",Q);this.code=D;if(Z.startsWith(UX))Z=Z.substring(UX.length);this.message=Z||D}}});function _7(D){try{let Z=AX.parseArgs(D);return Gf(D,Z),Z}catch(Z){switch(Z.code){case"ERR_PARSE_ARGS_UNKNOWN_OPTION":case"ERR_PARSE_ARGS_UNEXPECTED_POSITIONAL":throw new D8("COMMAND_INPUT",Z.message);default:throw Z}}}function Gf(D,Z){let Q=D.strict===void 0||D.strict===!0;for(let Y in D.options){let J=D.options[Y],q=Z.values[Y];if(Q&&typeof q==="undefined")throw new D8("COMMAND_INPUT",`Expected '--${Y}' to be provided`);if(!Q&&D.required?.includes(Y)&&typeof q==="undefined")throw new D8("COMMAND_INPUT",`Expected '--${Y}' to be provided`);if(q&&typeof q!==J.type)throw new D8("COMMAND_INPUT",`Expected '--${Y}' to be type of ${J.type}, recieved: ${typeof q}`);if(q&&J.type==="string"&&typeof q==="string"&&J.enum?.length&&!J.enum.includes(q))throw new D8("COMMAND_INPUT",`Expected '--${Y}' to be any of '${J.enum.join("', '")}', received: ${q}`)}}var AX;var yZ=v7(()=>{AX=require("node:util");B4()});var $X=M((fZ)=>{Object.defineProperty(fZ,"__esModule",{value:!0});fZ.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;fZ.matchToToken=function(D){var Z={type:"invalid",value:D[0],closed:void 0};if(D[1])Z.type="string",Z.closed=!!(D[3]||D[4]);else if(D[5])Z.type="comment";else if(D[6])Z.type="comment",Z.closed=!!D[7];else if(D[8])Z.type="regex";else if(D[9])Z.type="number";else if(D[10])Z.type="name";else if(D[11])Z.type="punctuator";else if(D[12])Z.type="whitespace";return Z}});var RX=M((H4)=>{Object.defineProperty(H4,"__esModule",{value:!0});H4.isIdentifierChar=CX;H4.isIdentifierName=Xf;H4.isIdentifierStart=LX;var XB="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",EX="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",zf=new RegExp("["+XB+"]"),Wf=new RegExp("["+XB+EX+"]");XB=EX=null;var wX=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Of=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function OB(D,Z){let Q=65536;for(let Y=0,J=Z.length;Y<J;Y+=2){if(Q+=Z[Y],Q>D)return!1;if(Q+=Z[Y+1],Q>=D)return!0}return!1}function LX(D){if(D<65)return D===36;if(D<=90)return!0;if(D<97)return D===95;if(D<=122)return!0;if(D<=65535)return D>=170&&zf.test(String.fromCharCode(D));return OB(D,wX)}function CX(D){if(D<48)return D===36;if(D<58)return!0;if(D<65)return!1;if(D<=90)return!0;if(D<97)return D===95;if(D<=122)return!0;if(D<=65535)return D>=170&&Wf.test(String.fromCharCode(D));return OB(D,wX)||OB(D,Of)}function Xf(D){let Z=!0;for(let Q=0;Q<D.length;Q++){let Y=D.charCodeAt(Q);if((Y&64512)===55296&&Q+1<D.length){let J=D.charCodeAt(++Q);if((J&64512)===56320)Y=65536+((Y&1023)<<10)+(J&1023)}if(Z){if(Z=!1,!LX(Y))return!1}else if(!CX(Y))return!1}return!Z}});var NX=M((yD)=>{Object.defineProperty(yD,"__esModule",{value:!0});yD.isKeyword=Ef;yD.isReservedWord=MX;yD.isStrictBindOnlyReservedWord=jX;yD.isStrictBindReservedWord=$f;yD.isStrictReservedWord=IX;var FB={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Ff=new Set(FB.keyword),Uf=new Set(FB.strict),Af=new Set(FB.strictBind);function MX(D,Z){return Z&&D==="await"||D==="enum"}function IX(D,Z){return MX(D,Z)||Uf.has(D)}function jX(D){return Af.has(D)}function $f(D,Z){return IX(D,Z)||jX(D)}function Ef(D){return Ff.has(D)}});var PX=M((k2)=>{Object.defineProperty(k2,"__esModule",{value:!0});Object.defineProperty(k2,"isIdentifierChar",{enumerable:!0,get:function(){return UB.isIdentifierChar}});Object.defineProperty(k2,"isIdentifierName",{enumerable:!0,get:function(){return UB.isIdentifierName}});Object.defineProperty(k2,"isIdentifierStart",{enumerable:!0,get:function(){return UB.isIdentifierStart}});Object.defineProperty(k2,"isKeyword",{enumerable:!0,get:function(){return V4.isKeyword}});Object.defineProperty(k2,"isReservedWord",{enumerable:!0,get:function(){return V4.isReservedWord}});Object.defineProperty(k2,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return V4.isStrictBindOnlyReservedWord}});Object.defineProperty(k2,"isStrictBindReservedWord",{enumerable:!0,get:function(){return V4.isStrictBindReservedWord}});Object.defineProperty(k2,"isStrictReservedWord",{enumerable:!0,get:function(){return V4.isStrictReservedWord}});var UB=RX(),V4=NX()});var vX=M((r70,AB)=>{var mZ=process||{},SX=mZ.argv||[],xZ=mZ.env||{},wf=!(!!xZ.NO_COLOR||SX.includes("--no-color"))&&(!!xZ.FORCE_COLOR||SX.includes("--color")||mZ.platform==="win32"||(mZ.stdout||{}).isTTY&&xZ.TERM!=="dumb"||!!xZ.CI),Lf=(D,Z,Q=D)=>(Y)=>{let J=""+Y,q=J.indexOf(Z,D.length);return~q?D+Cf(J,Z,Q,q)+Z:D+J+Z},Cf=(D,Z,Q,Y)=>{let J="",q=0;do J+=D.substring(q,Y)+Q,q=Y+Z.length,Y=D.indexOf(Z,q);while(~Y);return J+D.substring(q)},uX=(D=wf)=>{let Z=D?Lf:()=>String;return{isColorSupported:D,reset:Z("\x1B[0m","\x1B[0m"),bold:Z("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:Z("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:Z("\x1B[3m","\x1B[23m"),underline:Z("\x1B[4m","\x1B[24m"),inverse:Z("\x1B[7m","\x1B[27m"),hidden:Z("\x1B[8m","\x1B[28m"),strikethrough:Z("\x1B[9m","\x1B[29m"),black:Z("\x1B[30m","\x1B[39m"),red:Z("\x1B[31m","\x1B[39m"),green:Z("\x1B[32m","\x1B[39m"),yellow:Z("\x1B[33m","\x1B[39m"),blue:Z("\x1B[34m","\x1B[39m"),magenta:Z("\x1B[35m","\x1B[39m"),cyan:Z("\x1B[36m","\x1B[39m"),white:Z("\x1B[37m","\x1B[39m"),gray:Z("\x1B[90m","\x1B[39m"),bgBlack:Z("\x1B[40m","\x1B[49m"),bgRed:Z("\x1B[41m","\x1B[49m"),bgGreen:Z("\x1B[42m","\x1B[49m"),bgYellow:Z("\x1B[43m","\x1B[49m"),bgBlue:Z("\x1B[44m","\x1B[49m"),bgMagenta:Z("\x1B[45m","\x1B[49m"),bgCyan:Z("\x1B[46m","\x1B[49m"),bgWhite:Z("\x1B[47m","\x1B[49m"),blackBright:Z("\x1B[90m","\x1B[39m"),redBright:Z("\x1B[91m","\x1B[39m"),greenBright:Z("\x1B[92m","\x1B[39m"),yellowBright:Z("\x1B[93m","\x1B[39m"),blueBright:Z("\x1B[94m","\x1B[39m"),magentaBright:Z("\x1B[95m","\x1B[39m"),cyanBright:Z("\x1B[96m","\x1B[39m"),whiteBright:Z("\x1B[97m","\x1B[39m"),bgBlackBright:Z("\x1B[100m","\x1B[49m"),bgRedBright:Z("\x1B[101m","\x1B[49m"),bgGreenBright:Z("\x1B[102m","\x1B[49m"),bgYellowBright:Z("\x1B[103m","\x1B[49m"),bgBlueBright:Z("\x1B[104m","\x1B[49m"),bgMagentaBright:Z("\x1B[105m","\x1B[49m"),bgCyanBright:Z("\x1B[106m","\x1B[49m"),bgWhiteBright:Z("\x1B[107m","\x1B[49m")}};AB.exports=uX();AB.exports.createColors=uX});var bX=M((s70,TX)=>{var Rf=/[|\\{}()[\]^$+*?.]/g;TX.exports=function(D){if(typeof D!=="string")throw new TypeError("Expected a string");return D.replace(Rf,"\\$&")}});var _X=M((a70,hX)=>{hX.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var wB=M((t70,yX)=>{var fD=_X(),kX={};for(K4 in fD)if(fD.hasOwnProperty(K4))kX[fD[K4]]=K4;var K4,h0=yX.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(g5 in h0)if(h0.hasOwnProperty(g5)){if(!("channels"in h0[g5]))throw new Error("missing channels property: "+g5);if(!("labels"in h0[g5]))throw new Error("missing channel labels property: "+g5);if(h0[g5].labels.length!==h0[g5].channels)throw new Error("channel and label counts mismatch: "+g5);$B=h0[g5].channels,EB=h0[g5].labels,delete h0[g5].channels,delete h0[g5].labels,Object.defineProperty(h0[g5],"channels",{value:$B}),Object.defineProperty(h0[g5],"labels",{value:EB})}var $B,EB,g5;h0.rgb.hsl=function(D){var Z=D[0]/255,Q=D[1]/255,Y=D[2]/255,J=Math.min(Z,Q,Y),q=Math.max(Z,Q,Y),B=q-J,H,V,K;if(q===J)H=0;else if(Z===q)H=(Q-Y)/B;else if(Q===q)H=2+(Y-Z)/B;else if(Y===q)H=4+(Z-Q)/B;if(H=Math.min(H*60,360),H<0)H+=360;if(K=(J+q)/2,q===J)V=0;else if(K<=0.5)V=B/(q+J);else V=B/(2-q-J);return[H,V*100,K*100]};h0.rgb.hsv=function(D){var Z,Q,Y,J,q,B=D[0]/255,H=D[1]/255,V=D[2]/255,K=Math.max(B,H,V),G=K-Math.min(B,H,V),W=function(O){return(K-O)/6/G+0.5};if(G===0)J=q=0;else{if(q=G/K,Z=W(B),Q=W(H),Y=W(V),B===K)J=Y-Q;else if(H===K)J=0.3333333333333333+Z-Y;else if(V===K)J=0.6666666666666666+Q-Z;if(J<0)J+=1;else if(J>1)J-=1}return[J*360,q*100,K*100]};h0.rgb.hwb=function(D){var Z=D[0],Q=D[1],Y=D[2],J=h0.rgb.hsl(D)[0],q=0.00392156862745098*Math.min(Z,Math.min(Q,Y));return Y=1-0.00392156862745098*Math.max(Z,Math.max(Q,Y)),[J,q*100,Y*100]};h0.rgb.cmyk=function(D){var Z=D[0]/255,Q=D[1]/255,Y=D[2]/255,J,q,B,H;return H=Math.min(1-Z,1-Q,1-Y),J=(1-Z-H)/(1-H)||0,q=(1-Q-H)/(1-H)||0,B=(1-Y-H)/(1-H)||0,[J*100,q*100,B*100,H*100]};function Mf(D,Z){return Math.pow(D[0]-Z[0],2)+Math.pow(D[1]-Z[1],2)+Math.pow(D[2]-Z[2],2)}h0.rgb.keyword=function(D){var Z=kX[D];if(Z)return Z;var Q=1/0,Y;for(var J in fD)if(fD.hasOwnProperty(J)){var q=fD[J],B=Mf(D,q);if(B<Q)Q=B,Y=J}return Y};h0.keyword.rgb=function(D){return fD[D]};h0.rgb.xyz=function(D){var Z=D[0]/255,Q=D[1]/255,Y=D[2]/255;Z=Z>0.04045?Math.pow((Z+0.055)/1.055,2.4):Z/12.92,Q=Q>0.04045?Math.pow((Q+0.055)/1.055,2.4):Q/12.92,Y=Y>0.04045?Math.pow((Y+0.055)/1.055,2.4):Y/12.92;var J=Z*0.4124+Q*0.3576+Y*0.1805,q=Z*0.2126+Q*0.7152+Y*0.0722,B=Z*0.0193+Q*0.1192+Y*0.9505;return[J*100,q*100,B*100]};h0.rgb.lab=function(D){var Z=h0.rgb.xyz(D),Q=Z[0],Y=Z[1],J=Z[2],q,B,H;return Q/=95.047,Y/=100,J/=108.883,Q=Q>0.008856?Math.pow(Q,0.3333333333333333):7.787*Q+0.13793103448275862,Y=Y>0.008856?Math.pow(Y,0.3333333333333333):7.787*Y+0.13793103448275862,J=J>0.008856?Math.pow(J,0.3333333333333333):7.787*J+0.13793103448275862,q=116*Y-16,B=500*(Q-Y),H=200*(Y-J),[q,B,H]};h0.hsl.rgb=function(D){var Z=D[0]/360,Q=D[1]/100,Y=D[2]/100,J,q,B,H,V;if(Q===0)return V=Y*255,[V,V,V];if(Y<0.5)q=Y*(1+Q);else q=Y+Q-Y*Q;J=2*Y-q,H=[0,0,0];for(var K=0;K<3;K++){if(B=Z+0.3333333333333333*-(K-1),B<0)B++;if(B>1)B--;if(6*B<1)V=J+(q-J)*6*B;else if(2*B<1)V=q;else if(3*B<2)V=J+(q-J)*(0.6666666666666666-B)*6;else V=J;H[K]=V*255}return H};h0.hsl.hsv=function(D){var Z=D[0],Q=D[1]/100,Y=D[2]/100,J=Q,q=Math.max(Y,0.01),B,H;return Y*=2,Q*=Y<=1?Y:2-Y,J*=q<=1?q:2-q,H=(Y+Q)/2,B=Y===0?2*J/(q+J):2*Q/(Y+Q),[Z,B*100,H*100]};h0.hsv.rgb=function(D){var Z=D[0]/60,Q=D[1]/100,Y=D[2]/100,J=Math.floor(Z)%6,q=Z-Math.floor(Z),B=255*Y*(1-Q),H=255*Y*(1-Q*q),V=255*Y*(1-Q*(1-q));switch(Y*=255,J){case 0:return[Y,V,B];case 1:return[H,Y,B];case 2:return[B,Y,V];case 3:return[B,H,Y];case 4:return[V,B,Y];case 5:return[Y,B,H]}};h0.hsv.hsl=function(D){var Z=D[0],Q=D[1]/100,Y=D[2]/100,J=Math.max(Y,0.01),q,B,H;return H=(2-Q)*Y,q=(2-Q)*J,B=Q*J,B/=q<=1?q:2-q,B=B||0,H/=2,[Z,B*100,H*100]};h0.hwb.rgb=function(D){var Z=D[0]/360,Q=D[1]/100,Y=D[2]/100,J=Q+Y,q,B,H,V;if(J>1)Q/=J,Y/=J;if(q=Math.floor(6*Z),B=1-Y,H=6*Z-q,(q&1)!==0)H=1-H;V=Q+H*(B-Q);var K,G,W;switch(q){default:case 6:case 0:K=B,G=V,W=Q;break;case 1:K=V,G=B,W=Q;break;case 2:K=Q,G=B,W=V;break;case 3:K=Q,G=V,W=B;break;case 4:K=V,G=Q,W=B;break;case 5:K=B,G=Q,W=V;break}return[K*255,G*255,W*255]};h0.cmyk.rgb=function(D){var Z=D[0]/100,Q=D[1]/100,Y=D[2]/100,J=D[3]/100,q,B,H;return q=1-Math.min(1,Z*(1-J)+J),B=1-Math.min(1,Q*(1-J)+J),H=1-Math.min(1,Y*(1-J)+J),[q*255,B*255,H*255]};h0.xyz.rgb=function(D){var Z=D[0]/100,Q=D[1]/100,Y=D[2]/100,J,q,B;return J=Z*3.2406+Q*-1.5372+Y*-0.4986,q=Z*-0.9689+Q*1.8758+Y*0.0415,B=Z*0.0557+Q*-0.204+Y*1.057,J=J>0.0031308?1.055*Math.pow(J,0.4166666666666667)-0.055:J*12.92,q=q>0.0031308?1.055*Math.pow(q,0.4166666666666667)-0.055:q*12.92,B=B>0.0031308?1.055*Math.pow(B,0.4166666666666667)-0.055:B*12.92,J=Math.min(Math.max(0,J),1),q=Math.min(Math.max(0,q),1),B=Math.min(Math.max(0,B),1),[J*255,q*255,B*255]};h0.xyz.lab=function(D){var Z=D[0],Q=D[1],Y=D[2],J,q,B;return Z/=95.047,Q/=100,Y/=108.883,Z=Z>0.008856?Math.pow(Z,0.3333333333333333):7.787*Z+0.13793103448275862,Q=Q>0.008856?Math.pow(Q,0.3333333333333333):7.787*Q+0.13793103448275862,Y=Y>0.008856?Math.pow(Y,0.3333333333333333):7.787*Y+0.13793103448275862,J=116*Q-16,q=500*(Z-Q),B=200*(Q-Y),[J,q,B]};h0.lab.xyz=function(D){var Z=D[0],Q=D[1],Y=D[2],J,q,B;q=(Z+16)/116,J=Q/500+q,B=q-Y/200;var H=Math.pow(q,3),V=Math.pow(J,3),K=Math.pow(B,3);return q=H>0.008856?H:(q-0.13793103448275862)/7.787,J=V>0.008856?V:(J-0.13793103448275862)/7.787,B=K>0.008856?K:(B-0.13793103448275862)/7.787,J*=95.047,q*=100,B*=108.883,[J,q,B]};h0.lab.lch=function(D){var Z=D[0],Q=D[1],Y=D[2],J,q,B;if(J=Math.atan2(Y,Q),q=J*360/2/Math.PI,q<0)q+=360;return B=Math.sqrt(Q*Q+Y*Y),[Z,B,q]};h0.lch.lab=function(D){var Z=D[0],Q=D[1],Y=D[2],J,q,B;return B=Y/360*2*Math.PI,J=Q*Math.cos(B),q=Q*Math.sin(B),[Z,J,q]};h0.rgb.ansi16=function(D){var Z=D[0],Q=D[1],Y=D[2],J=1 in arguments?arguments[1]:h0.rgb.hsv(D)[2];if(J=Math.round(J/50),J===0)return 30;var q=30+(Math.round(Y/255)<<2|Math.round(Q/255)<<1|Math.round(Z/255));if(J===2)q+=60;return q};h0.hsv.ansi16=function(D){return h0.rgb.ansi16(h0.hsv.rgb(D),D[2])};h0.rgb.ansi256=function(D){var Z=D[0],Q=D[1],Y=D[2];if(Z===Q&&Q===Y){if(Z<8)return 16;if(Z>248)return 231;return Math.round((Z-8)/247*24)+232}var J=16+36*Math.round(Z/255*5)+6*Math.round(Q/255*5)+Math.round(Y/255*5);return J};h0.ansi16.rgb=function(D){var Z=D%10;if(Z===0||Z===7){if(D>50)Z+=3.5;return Z=Z/10.5*255,[Z,Z,Z]}var Q=(~~(D>50)+1)*0.5,Y=(Z&1)*Q*255,J=(Z>>1&1)*Q*255,q=(Z>>2&1)*Q*255;return[Y,J,q]};h0.ansi256.rgb=function(D){if(D>=232){var Z=(D-232)*10+8;return[Z,Z,Z]}D-=16;var Q,Y=Math.floor(D/36)/5*255,J=Math.floor((Q=D%36)/6)/5*255,q=Q%6/5*255;return[Y,J,q]};h0.rgb.hex=function(D){var Z=((Math.round(D[0])&255)<<16)+((Math.round(D[1])&255)<<8)+(Math.round(D[2])&255),Q=Z.toString(16).toUpperCase();return"000000".substring(Q.length)+Q};h0.hex.rgb=function(D){var Z=D.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!Z)return[0,0,0];var Q=Z[0];if(Z[0].length===3)Q=Q.split("").map(function(H){return H+H}).join("");var Y=parseInt(Q,16),J=Y>>16&255,q=Y>>8&255,B=Y&255;return[J,q,B]};h0.rgb.hcg=function(D){var Z=D[0]/255,Q=D[1]/255,Y=D[2]/255,J=Math.max(Math.max(Z,Q),Y),q=Math.min(Math.min(Z,Q),Y),B=J-q,H,V;if(B<1)H=q/(1-B);else H=0;if(B<=0)V=0;else if(J===Z)V=(Q-Y)/B%6;else if(J===Q)V=2+(Y-Z)/B;else V=4+(Z-Q)/B+4;return V/=6,V%=1,[V*360,B*100,H*100]};h0.hsl.hcg=function(D){var Z=D[1]/100,Q=D[2]/100,Y=1,J=0;if(Q<0.5)Y=2*Z*Q;else Y=2*Z*(1-Q);if(Y<1)J=(Q-0.5*Y)/(1-Y);return[D[0],Y*100,J*100]};h0.hsv.hcg=function(D){var Z=D[1]/100,Q=D[2]/100,Y=Z*Q,J=0;if(Y<1)J=(Q-Y)/(1-Y);return[D[0],Y*100,J*100]};h0.hcg.rgb=function(D){var Z=D[0]/360,Q=D[1]/100,Y=D[2]/100;if(Q===0)return[Y*255,Y*255,Y*255];var J=[0,0,0],q=Z%1*6,B=q%1,H=1-B,V=0;switch(Math.floor(q)){case 0:J[0]=1,J[1]=B,J[2]=0;break;case 1:J[0]=H,J[1]=1,J[2]=0;break;case 2:J[0]=0,J[1]=1,J[2]=B;break;case 3:J[0]=0,J[1]=H,J[2]=1;break;case 4:J[0]=B,J[1]=0,J[2]=1;break;default:J[0]=1,J[1]=0,J[2]=H}return V=(1-Q)*Y,[(Q*J[0]+V)*255,(Q*J[1]+V)*255,(Q*J[2]+V)*255]};h0.hcg.hsv=function(D){var Z=D[1]/100,Q=D[2]/100,Y=Z+Q*(1-Z),J=0;if(Y>0)J=Z/Y;return[D[0],J*100,Y*100]};h0.hcg.hsl=function(D){var Z=D[1]/100,Q=D[2]/100,Y=Q*(1-Z)+0.5*Z,J=0;if(Y>0&&Y<0.5)J=Z/(2*Y);else if(Y>=0.5&&Y<1)J=Z/(2*(1-Y));return[D[0],J*100,Y*100]};h0.hcg.hwb=function(D){var Z=D[1]/100,Q=D[2]/100,Y=Z+Q*(1-Z);return[D[0],(Y-Z)*100,(1-Y)*100]};h0.hwb.hcg=function(D){var Z=D[1]/100,Q=D[2]/100,Y=1-Q,J=Y-Z,q=0;if(J<1)q=(Y-J)/(1-J);return[D[0],J*100,q*100]};h0.apple.rgb=function(D){return[D[0]/65535*255,D[1]/65535*255,D[2]/65535*255]};h0.rgb.apple=function(D){return[D[0]/255*65535,D[1]/255*65535,D[2]/255*65535]};h0.gray.rgb=function(D){return[D[0]/100*255,D[0]/100*255,D[0]/100*255]};h0.gray.hsl=h0.gray.hsv=function(D){return[0,0,D[0]]};h0.gray.hwb=function(D){return[0,100,D[0]]};h0.gray.cmyk=function(D){return[0,0,0,D[0]]};h0.gray.lab=function(D){return[D[0],0,0]};h0.gray.hex=function(D){var Z=Math.round(D[0]/100*255)&255,Q=(Z<<16)+(Z<<8)+Z,Y=Q.toString(16).toUpperCase();return"000000".substring(Y.length)+Y};h0.rgb.gray=function(D){var Z=(D[0]+D[1]+D[2])/3;return[Z/255*100]}});var xX=M((o70,fX)=>{var gZ=wB();function If(){var D={},Z=Object.keys(gZ);for(var Q=Z.length,Y=0;Y<Q;Y++)D[Z[Y]]={distance:-1,parent:null};return D}function jf(D){var Z=If(),Q=[D];Z[D].distance=0;while(Q.length){var Y=Q.pop(),J=Object.keys(gZ[Y]);for(var q=J.length,B=0;B<q;B++){var H=J[B],V=Z[H];if(V.distance===-1)V.distance=Z[Y].distance+1,V.parent=Y,Q.unshift(H)}}return Z}function Nf(D,Z){return function(Q){return Z(D(Q))}}function Pf(D,Z){var Q=[Z[D].parent,D],Y=gZ[Z[D].parent][D],J=Z[D].parent;while(Z[J].parent)Q.unshift(Z[J].parent),Y=Nf(gZ[Z[J].parent][J],Y),J=Z[J].parent;return Y.conversion=Q,Y}fX.exports=function(D){var Z=jf(D),Q={},Y=Object.keys(Z);for(var J=Y.length,q=0;q<J;q++){var B=Y[q],H=Z[B];if(H.parent===null)continue;Q[B]=Pf(B,Z)}return Q}});var gX=M((e70,mX)=>{var LB=wB(),Sf=xX(),k7={},uf=Object.keys(LB);function vf(D){var Z=function(Q){if(Q===void 0||Q===null)return Q;if(arguments.length>1)Q=Array.prototype.slice.call(arguments);return D(Q)};if("conversion"in D)Z.conversion=D.conversion;return Z}function Tf(D){var Z=function(Q){if(Q===void 0||Q===null)return Q;if(arguments.length>1)Q=Array.prototype.slice.call(arguments);var Y=D(Q);if(typeof Y==="object")for(var J=Y.length,q=0;q<J;q++)Y[q]=Math.round(Y[q]);return Y};if("conversion"in D)Z.conversion=D.conversion;return Z}uf.forEach(function(D){k7[D]={},Object.defineProperty(k7[D],"channels",{value:LB[D].channels}),Object.defineProperty(k7[D],"labels",{value:LB[D].labels});var Z=Sf(D),Q=Object.keys(Z);Q.forEach(function(Y){var J=Z[Y];k7[D][Y]=Tf(J),k7[D][Y].raw=vf(J)})});mX.exports=k7});var dX=M((D60,cX)=>{var y7=gX(),cZ=(D,Z)=>function(){return`\x1B[${D.apply(y7,arguments)+Z}m`},dZ=(D,Z)=>function(){let Q=D.apply(y7,arguments);return`\x1B[${38+Z};5;${Q}m`},lZ=(D,Z)=>function(){let Q=D.apply(y7,arguments);return`\x1B[${38+Z};2;${Q[0]};${Q[1]};${Q[2]}m`};function bf(){let D=new Map,Z={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Z.color.grey=Z.color.gray;for(let J of Object.keys(Z)){let q=Z[J];for(let B of Object.keys(q)){let H=q[B];Z[B]={open:`\x1B[${H[0]}m`,close:`\x1B[${H[1]}m`},q[B]=Z[B],D.set(H[0],H[1])}Object.defineProperty(Z,J,{value:q,enumerable:!1}),Object.defineProperty(Z,"codes",{value:D,enumerable:!1})}let Q=(J)=>J,Y=(J,q,B)=>[J,q,B];Z.color.close="\x1B[39m",Z.bgColor.close="\x1B[49m",Z.color.ansi={ansi:cZ(Q,0)},Z.color.ansi256={ansi256:dZ(Q,0)},Z.color.ansi16m={rgb:lZ(Y,0)},Z.bgColor.ansi={ansi:cZ(Q,10)},Z.bgColor.ansi256={ansi256:dZ(Q,10)},Z.bgColor.ansi16m={rgb:lZ(Y,10)};for(let J of Object.keys(y7)){if(typeof y7[J]!=="object")continue;let q=y7[J];if(J==="ansi16")J="ansi";if("ansi16"in q)Z.color.ansi[J]=cZ(q.ansi16,0),Z.bgColor.ansi[J]=cZ(q.ansi16,10);if("ansi256"in q)Z.color.ansi256[J]=dZ(q.ansi256,0),Z.bgColor.ansi256[J]=dZ(q.ansi256,10);if("rgb"in q)Z.color.ansi16m[J]=lZ(q.rgb,0),Z.bgColor.ansi16m[J]=lZ(q.rgb,10)}return Z}Object.defineProperty(cX,"exports",{enumerable:!0,get:bf})});var pX=M((Z60,lX)=>{lX.exports=(D,Z)=>{Z=Z||process.argv;let Q=D.startsWith("-")?"":D.length===1?"-":"--",Y=Z.indexOf(Q+D),J=Z.indexOf("--");return Y!==-1&&(J===-1?!0:Y<J)}});var nX=M((Q60,iX)=>{var hf=require("os"),F2=pX(),c5=process.env,f7;if(F2("no-color")||F2("no-colors")||F2("color=false"))f7=!1;else if(F2("color")||F2("colors")||F2("color=true")||F2("color=always"))f7=!0;if("FORCE_COLOR"in c5)f7=c5.FORCE_COLOR.length===0||parseInt(c5.FORCE_COLOR,10)!==0;function _f(D){if(D===0)return!1;return{level:D,hasBasic:!0,has256:D>=2,has16m:D>=3}}function kf(D){if(f7===!1)return 0;if(F2("color=16m")||F2("color=full")||F2("color=truecolor"))return 3;if(F2("color=256"))return 2;if(D&&!D.isTTY&&f7!==!0)return 0;let Z=f7?1:0;if(process.platform==="win32"){let Q=hf.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(Q[0])>=10&&Number(Q[2])>=10586)return Number(Q[2])>=14931?3:2;return 1}if("CI"in c5){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((Q)=>(Q in c5))||c5.CI_NAME==="codeship")return 1;return Z}if("TEAMCITY_VERSION"in c5)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(c5.TEAMCITY_VERSION)?1:0;if(c5.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in c5){let Q=parseInt((c5.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(c5.TERM_PROGRAM){case"iTerm.app":return Q>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(c5.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(c5.TERM))return 1;if("COLORTERM"in c5)return 1;if(c5.TERM==="dumb")return Z;return Z}function CB(D){let Z=kf(D);return _f(Z)}iX.exports={supportsColor:CB,stdout:CB(process.stdout),stderr:CB(process.stderr)}});var oX=M((Y60,tX)=>{var yf=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,rX=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,ff=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,xf=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,mf=new Map([["n",`
|
|
8
|
+
`],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\x00"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function aX(D){if(D[0]==="u"&&D.length===5||D[0]==="x"&&D.length===3)return String.fromCharCode(parseInt(D.slice(1),16));return mf.get(D)||D}function gf(D,Z){let Q=[],Y=Z.trim().split(/\s*,\s*/g),J;for(let q of Y)if(!isNaN(q))Q.push(Number(q));else if(J=q.match(ff))Q.push(J[2].replace(xf,(B,H,V)=>H?aX(H):V));else throw new Error(`Invalid Chalk template style argument: ${q} (in style '${D}')`);return Q}function cf(D){rX.lastIndex=0;let Z=[],Q;while((Q=rX.exec(D))!==null){let Y=Q[1];if(Q[2]){let J=gf(Y,Q[2]);Z.push([Y].concat(J))}else Z.push([Y])}return Z}function sX(D,Z){let Q={};for(let J of Z)for(let q of J.styles)Q[q[0]]=J.inverse?null:q.slice(1);let Y=D;for(let J of Object.keys(Q))if(Array.isArray(Q[J])){if(!(J in Y))throw new Error(`Unknown Chalk style: ${J}`);if(Q[J].length>0)Y=Y[J].apply(Y,Q[J]);else Y=Y[J]}return Y}tX.exports=(D,Z)=>{let Q=[],Y=[],J=[];if(Z.replace(yf,(q,B,H,V,K,G)=>{if(B)J.push(aX(B));else if(V){let W=J.join("");J=[],Y.push(Q.length===0?W:sX(D,Q)(W)),Q.push({inverse:H,styles:cf(V)})}else if(K){if(Q.length===0)throw new Error("Found extraneous } in Chalk template literal");Y.push(sX(D,Q)(J.join(""))),J=[],Q.pop()}else J.push(G)}),Y.push(J.join("")),Q.length>0){let q=`Chalk template literal is missing ${Q.length} closing bracket${Q.length===1?"":"s"} (\`}\`)`;throw new Error(q)}return Y.join("")}});var YF=M((J60,z4)=>{var MB=bX(),O5=dX(),RB=nX().stdout,df=oX(),DF=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),ZF=["ansi","ansi","ansi256","ansi16m"],QF=new Set(["gray"]),x7=Object.create(null);function eX(D,Z){Z=Z||{};let Q=RB?RB.level:0;D.level=Z.level===void 0?Q:Z.level,D.enabled="enabled"in Z?Z.enabled:D.level>0}function G4(D){if(!this||!(this instanceof G4)||this.template){let Z={};return eX(Z,D),Z.template=function(){let Q=[].slice.call(arguments);return nf.apply(null,[Z.template].concat(Q))},Object.setPrototypeOf(Z,G4.prototype),Object.setPrototypeOf(Z.template,Z),Z.template.constructor=G4,Z.template}eX(this,D)}if(DF)O5.blue.open="\x1B[94m";for(let D of Object.keys(O5))O5[D].closeRe=new RegExp(MB(O5[D].close),"g"),x7[D]={get(){let Z=O5[D];return pZ.call(this,this._styles?this._styles.concat(Z):[Z],this._empty,D)}};x7.visible={get(){return pZ.call(this,this._styles||[],!0,"visible")}};O5.color.closeRe=new RegExp(MB(O5.color.close),"g");for(let D of Object.keys(O5.color.ansi)){if(QF.has(D))continue;x7[D]={get(){let Z=this.level;return function(){let Y={open:O5.color[ZF[Z]][D].apply(null,arguments),close:O5.color.close,closeRe:O5.color.closeRe};return pZ.call(this,this._styles?this._styles.concat(Y):[Y],this._empty,D)}}}}O5.bgColor.closeRe=new RegExp(MB(O5.bgColor.close),"g");for(let D of Object.keys(O5.bgColor.ansi)){if(QF.has(D))continue;let Z="bg"+D[0].toUpperCase()+D.slice(1);x7[Z]={get(){let Q=this.level;return function(){let J={open:O5.bgColor[ZF[Q]][D].apply(null,arguments),close:O5.bgColor.close,closeRe:O5.bgColor.closeRe};return pZ.call(this,this._styles?this._styles.concat(J):[J],this._empty,D)}}}}var lf=Object.defineProperties(()=>{},x7);function pZ(D,Z,Q){let Y=function(){return pf.apply(Y,arguments)};Y._styles=D,Y._empty=Z;let J=this;return Object.defineProperty(Y,"level",{enumerable:!0,get(){return J.level},set(q){J.level=q}}),Object.defineProperty(Y,"enabled",{enumerable:!0,get(){return J.enabled},set(q){J.enabled=q}}),Y.hasGrey=this.hasGrey||Q==="gray"||Q==="grey",Y.__proto__=lf,Y}function pf(){let D=arguments,Z=D.length,Q=String(arguments[0]);if(Z===0)return"";if(Z>1)for(let J=1;J<Z;J++)Q+=" "+D[J];if(!this.enabled||this.level<=0||!Q)return this._empty?"":Q;let Y=O5.dim.open;if(DF&&this.hasGrey)O5.dim.open="";for(let J of this._styles.slice().reverse())Q=J.open+Q.replace(J.closeRe,J.open)+J.close,Q=Q.replace(/\r?\n/g,`${J.close}$&${J.open}`);return O5.dim.open=Y,Q}function nf(D,Z){if(!Array.isArray(Z))return[].slice.call(arguments,1).join(" ");let Q=[].slice.call(arguments,2),Y=[Z.raw[0]];for(let J=1;J<Z.length;J++)Y.push(String(Q[J-1]).replace(/[{}\\]/g,"\\$&")),Y.push(String(Z.raw[J]));return df(D,Y.join(""))}Object.defineProperties(G4.prototype,x7);z4.exports=G4();z4.exports.supportsColor=RB;z4.exports.default=z4.exports});var zF=M((W4)=>{Object.defineProperty(W4,"__esModule",{value:!0});W4.default=Zx;W4.shouldHighlight=GF;var JF=$X(),qF=PX(),jB=rf(vX(),!0);function HF(D){if(typeof WeakMap!="function")return null;var Z=new WeakMap,Q=new WeakMap;return(HF=function(Y){return Y?Q:Z})(D)}function rf(D,Z){if(!Z&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var Q=HF(Z);if(Q&&Q.has(D))return Q.get(D);var Y={__proto__:null},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in D)if(q!=="default"&&{}.hasOwnProperty.call(D,q)){var B=J?Object.getOwnPropertyDescriptor(D,q):null;B&&(B.get||B.set)?Object.defineProperty(Y,q,B):Y[q]=D[q]}return Y.default=D,Q&&Q.set(D,Y),Y}var VF=typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?jB.createColors(!1):jB.default,BF=(D,Z)=>(Q)=>D(Z(Q)),sf=new Set(["as","async","from","get","of","set"]);function af(D){return{keyword:D.cyan,capitalized:D.yellow,jsxIdentifier:D.yellow,punctuator:D.yellow,number:D.magenta,string:D.green,regex:D.magenta,comment:D.gray,invalid:BF(BF(D.white,D.bgRed),D.bold)}}var tf=/\r\n|[\n\r\u2028\u2029]/,of=/^[()[\]{}]$/,KF;{let D=/^[a-z][\w-]*$/i,Z=function(Q,Y,J){if(Q.type==="name"){if(qF.isKeyword(Q.value)||qF.isStrictReservedWord(Q.value,!0)||sf.has(Q.value))return"keyword";if(D.test(Q.value)&&(J[Y-1]==="<"||J.slice(Y-2,Y)==="</"))return"jsxIdentifier";if(Q.value[0]!==Q.value[0].toLowerCase())return"capitalized"}if(Q.type==="punctuator"&&of.test(Q.value))return"bracket";if(Q.type==="invalid"&&(Q.value==="@"||Q.value==="#"))return"punctuator";return Q.type};KF=function*(Q){let Y;while(Y=JF.default.exec(Q)){let J=JF.matchToToken(Y);yield{type:Z(J,Y.index,Q),value:J.value}}}}function ef(D,Z){let Q="";for(let{type:Y,value:J}of KF(Z)){let q=D[Y];if(q)Q+=J.split(tf).map((B)=>q(B)).join(`
|
|
9
|
+
`);else Q+=J}return Q}function GF(D){return VF.isColorSupported||D.forceColor}var IB=void 0;function Dx(D){if(D){var Z;return(Z=IB)!=null||(IB=jB.createColors(!0)),IB}return VF}function Zx(D,Z={}){if(D!==""&&GF(Z)){let Q=af(Dx(Z.forceColor));return ef(Q,D)}else return D}{let D,Z;W4.getChalk=({forceColor:Q})=>{var Y;if((Y=D)!=null||(D=YF()),Q){var J;return(J=Z)!=null||(Z=new D.constructor({enabled:!0,level:1})),Z}return D}}});var PB=M((iZ)=>{Object.defineProperty(iZ,"__esModule",{value:!0});iZ.codeFrameColumns=FF;iZ.default=qx;var NB=Qx(zF());function XF(){if(typeof WeakMap!=="function")return null;var D=new WeakMap;return XF=function(){return D},D}function Qx(D){if(D&&D.__esModule)return D;if(D===null||typeof D!=="object"&&typeof D!=="function")return{default:D};var Z=XF();if(Z&&Z.has(D))return Z.get(D);var Q={},Y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var J in D)if(Object.prototype.hasOwnProperty.call(D,J)){var q=Y?Object.getOwnPropertyDescriptor(D,J):null;if(q&&(q.get||q.set))Object.defineProperty(Q,J,q);else Q[J]=D[J]}if(Q.default=D,Z)Z.set(D,Q);return Q}var WF=!1;function Yx(D){return{gutter:D.grey,marker:D.red.bold,message:D.red.bold}}var OF=/\r\n|[\n\r\u2028\u2029]/;function Jx(D,Z,Q){let Y=Object.assign({column:0,line:-1},D.start),J=Object.assign({},Y,D.end),{linesAbove:q=2,linesBelow:B=3}=Q||{},H=Y.line,V=Y.column,K=J.line,G=J.column,W=Math.max(H-(q+1),0),O=Math.min(Z.length,K+B);if(H===-1)W=0;if(K===-1)O=Z.length;let F=K-H,E={};if(F)for(let L=0;L<=F;L++){let j=L+H;if(!V)E[j]=!0;else if(L===0){let P=Z[j-1].length;E[j]=[V,P-V+1]}else if(L===F)E[j]=[0,G];else{let P=Z[j-L].length;E[j]=[0,P]}}else if(V===G)if(V)E[H]=[V,0];else E[H]=!0;else E[H]=[V,G-V];return{start:W,end:O,markerLines:E}}function FF(D,Z,Q={}){let Y=(Q.highlightCode||Q.forceColor)&&NB.shouldHighlight(Q),J=NB.getChalk(Q),q=Yx(J),B=(L,j)=>{return Y?L(j):j},H=D.split(OF),{start:V,end:K,markerLines:G}=Jx(Z,H,Q),W=Z.start&&typeof Z.start.column==="number",O=String(K).length,E=(Y?NB.default(D,Q):D).split(OF).slice(V,K).map((L,j)=>{let P=V+1+j,U=` ${` ${P}`.slice(-O)} | `,X=G[P],z=!G[P+1];if(X){let A="";if(Array.isArray(X)){let S=L.slice(0,Math.max(X[0]-1,0)).replace(/[^\t]/g," "),w=X[1]||1;if(A=[`
|
|
10
|
+
`,B(q.gutter,U.replace(/\d/g," ")),S,B(q.marker,"^").repeat(w)].join(""),z&&Q.message)A+=" "+B(q.message,Q.message)}return[B(q.marker,">"),B(q.gutter,U),L,A].join("")}else return` ${B(q.gutter,U)}${L}`}).join(`
|
|
11
|
+
`);if(Q.message&&!W)E=`${" ".repeat(O+1)}${Q.message}
|
|
12
|
+
${E}`;if(Y)return J.reset(E);else return E}function qx(D,Z,Q,Y={}){if(!WF){WF=!0;let q="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(q,"DeprecationWarning");else{let B=new Error(q);B.name="DeprecationWarning",console.warn(new Error(q))}}return Q=Math.max(Q,0),FF(D,{start:{column:Q,line:Z}},Y)}});var UF=M((H60,nZ)=>{nZ.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;nZ.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;nZ.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/});var uB=M((V60,AF)=>{var SB=UF();AF.exports={isSpaceSeparator(D){return typeof D==="string"&&SB.Space_Separator.test(D)},isIdStartChar(D){return typeof D==="string"&&(D>="a"&&D<="z"||D>="A"&&D<="Z"||D==="$"||D==="_"||SB.ID_Start.test(D))},isIdContinueChar(D){return typeof D==="string"&&(D>="a"&&D<="z"||D>="A"&&D<="Z"||D>="0"&&D<="9"||D==="$"||D==="_"||D===""||D===""||SB.ID_Continue.test(D))},isDigit(D){return typeof D==="string"&&/[0-9]/.test(D)},isHexDigit(D){return typeof D==="string"&&/[0-9A-Fa-f]/.test(D)}}});var CF=M((K60,LF)=>{var M5=uB(),TB,Z8,X9,sZ,i9,U2,I5,_B,X4;LF.exports=function D(Z,Q){TB=String(Z),Z8="start",X9=[],sZ=0,i9=1,U2=0,I5=void 0,_B=void 0,X4=void 0;do I5=Bx(),Kx[Z8]();while(I5.type!=="eof");if(typeof Q==="function")return bB({"":X4},"",Q);return X4};function bB(D,Z,Q){let Y=D[Z];if(Y!=null&&typeof Y==="object")if(Array.isArray(Y))for(let J=0;J<Y.length;J++){let q=String(J),B=bB(Y,q,Q);if(B===void 0)delete Y[q];else Object.defineProperty(Y,q,{value:B,writable:!0,enumerable:!0,configurable:!0})}else for(let J in Y){let q=bB(Y,J,Q);if(q===void 0)delete Y[J];else Object.defineProperty(Y,J,{value:q,writable:!0,enumerable:!0,configurable:!0})}return Q.call(D,Z,Y)}var Y1,D1,O4,O9,W1;function Bx(){Y1="default",D1="",O4=!1,O9=1;for(;;){W1=F9();let D=EF[Y1]();if(D)return D}}function F9(){if(TB[sZ])return String.fromCodePoint(TB.codePointAt(sZ))}function W0(){let D=F9();if(D===`
|
|
13
|
+
`)i9++,U2=0;else if(D)U2+=D.length;else U2++;if(D)sZ+=D.length;return D}var EF={default(){switch(W1){case"\t":case"\v":case"\f":case" ":case" ":case"\uFEFF":case`
|
|
14
|
+
`:case"\r":case"\u2028":case"\u2029":W0();return;case"/":W0(),Y1="comment";return;case void 0:return W0(),x1("eof")}if(M5.isSpaceSeparator(W1)){W0();return}return EF[Z8]()},comment(){switch(W1){case"*":W0(),Y1="multiLineComment";return;case"/":W0(),Y1="singleLineComment";return}throw m1(W0())},multiLineComment(){switch(W1){case"*":W0(),Y1="multiLineCommentAsterisk";return;case void 0:throw m1(W0())}W0()},multiLineCommentAsterisk(){switch(W1){case"*":W0();return;case"/":W0(),Y1="default";return;case void 0:throw m1(W0())}W0(),Y1="multiLineComment"},singleLineComment(){switch(W1){case`
|
|
15
|
+
`:case"\r":case"\u2028":case"\u2029":W0(),Y1="default";return;case void 0:return W0(),x1("eof")}W0()},value(){switch(W1){case"{":case"[":return x1("punctuator",W0());case"n":return W0(),xD("ull"),x1("null",null);case"t":return W0(),xD("rue"),x1("boolean",!0);case"f":return W0(),xD("alse"),x1("boolean",!1);case"-":case"+":if(W0()==="-")O9=-1;Y1="sign";return;case".":D1=W0(),Y1="decimalPointLeading";return;case"0":D1=W0(),Y1="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":D1=W0(),Y1="decimalInteger";return;case"I":return W0(),xD("nfinity"),x1("numeric",1/0);case"N":return W0(),xD("aN"),x1("numeric",NaN);case'"':case"'":O4=W0()==='"',D1="",Y1="string";return}throw m1(W0())},identifierNameStartEscape(){if(W1!=="u")throw m1(W0());W0();let D=hB();switch(D){case"$":case"_":break;default:if(!M5.isIdStartChar(D))throw $F();break}D1+=D,Y1="identifierName"},identifierName(){switch(W1){case"$":case"_":case"":case"":D1+=W0();return;case"\\":W0(),Y1="identifierNameEscape";return}if(M5.isIdContinueChar(W1)){D1+=W0();return}return x1("identifier",D1)},identifierNameEscape(){if(W1!=="u")throw m1(W0());W0();let D=hB();switch(D){case"$":case"_":case"":case"":break;default:if(!M5.isIdContinueChar(D))throw $F();break}D1+=D,Y1="identifierName"},sign(){switch(W1){case".":D1=W0(),Y1="decimalPointLeading";return;case"0":D1=W0(),Y1="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":D1=W0(),Y1="decimalInteger";return;case"I":return W0(),xD("nfinity"),x1("numeric",O9*(1/0));case"N":return W0(),xD("aN"),x1("numeric",NaN)}throw m1(W0())},zero(){switch(W1){case".":D1+=W0(),Y1="decimalPoint";return;case"e":case"E":D1+=W0(),Y1="decimalExponent";return;case"x":case"X":D1+=W0(),Y1="hexadecimal";return}return x1("numeric",O9*0)},decimalInteger(){switch(W1){case".":D1+=W0(),Y1="decimalPoint";return;case"e":case"E":D1+=W0(),Y1="decimalExponent";return}if(M5.isDigit(W1)){D1+=W0();return}return x1("numeric",O9*Number(D1))},decimalPointLeading(){if(M5.isDigit(W1)){D1+=W0(),Y1="decimalFraction";return}throw m1(W0())},decimalPoint(){switch(W1){case"e":case"E":D1+=W0(),Y1="decimalExponent";return}if(M5.isDigit(W1)){D1+=W0(),Y1="decimalFraction";return}return x1("numeric",O9*Number(D1))},decimalFraction(){switch(W1){case"e":case"E":D1+=W0(),Y1="decimalExponent";return}if(M5.isDigit(W1)){D1+=W0();return}return x1("numeric",O9*Number(D1))},decimalExponent(){switch(W1){case"+":case"-":D1+=W0(),Y1="decimalExponentSign";return}if(M5.isDigit(W1)){D1+=W0(),Y1="decimalExponentInteger";return}throw m1(W0())},decimalExponentSign(){if(M5.isDigit(W1)){D1+=W0(),Y1="decimalExponentInteger";return}throw m1(W0())},decimalExponentInteger(){if(M5.isDigit(W1)){D1+=W0();return}return x1("numeric",O9*Number(D1))},hexadecimal(){if(M5.isHexDigit(W1)){D1+=W0(),Y1="hexadecimalInteger";return}throw m1(W0())},hexadecimalInteger(){if(M5.isHexDigit(W1)){D1+=W0();return}return x1("numeric",O9*Number(D1))},string(){switch(W1){case"\\":W0(),D1+=Hx();return;case'"':if(O4)return W0(),x1("string",D1);D1+=W0();return;case"'":if(!O4)return W0(),x1("string",D1);D1+=W0();return;case`
|
|
16
|
+
`:case"\r":throw m1(W0());case"\u2028":case"\u2029":Gx(W1);break;case void 0:throw m1(W0())}D1+=W0()},start(){switch(W1){case"{":case"[":return x1("punctuator",W0())}Y1="value"},beforePropertyName(){switch(W1){case"$":case"_":D1=W0(),Y1="identifierName";return;case"\\":W0(),Y1="identifierNameStartEscape";return;case"}":return x1("punctuator",W0());case'"':case"'":O4=W0()==='"',Y1="string";return}if(M5.isIdStartChar(W1)){D1+=W0(),Y1="identifierName";return}throw m1(W0())},afterPropertyName(){if(W1===":")return x1("punctuator",W0());throw m1(W0())},beforePropertyValue(){Y1="value"},afterPropertyValue(){switch(W1){case",":case"}":return x1("punctuator",W0())}throw m1(W0())},beforeArrayValue(){if(W1==="]")return x1("punctuator",W0());Y1="value"},afterArrayValue(){switch(W1){case",":case"]":return x1("punctuator",W0())}throw m1(W0())},end(){throw m1(W0())}};function x1(D,Z){return{type:D,value:Z,line:i9,column:U2}}function xD(D){for(let Z of D){if(F9()!==Z)throw m1(W0());W0()}}function Hx(){switch(F9()){case"b":return W0(),"\b";case"f":return W0(),"\f";case"n":return W0(),`
|
|
17
|
+
`;case"r":return W0(),"\r";case"t":return W0(),"\t";case"v":return W0(),"\v";case"0":if(W0(),M5.isDigit(F9()))throw m1(W0());return"\x00";case"x":return W0(),Vx();case"u":return W0(),hB();case`
|
|
18
|
+
`:case"\u2028":case"\u2029":return W0(),"";case"\r":if(W0(),F9()===`
|
|
19
|
+
`)W0();return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw m1(W0());case void 0:throw m1(W0())}return W0()}function Vx(){let D="",Z=F9();if(!M5.isHexDigit(Z))throw m1(W0());if(D+=W0(),Z=F9(),!M5.isHexDigit(Z))throw m1(W0());return D+=W0(),String.fromCodePoint(parseInt(D,16))}function hB(){let D="",Z=4;while(Z-- >0){let Q=F9();if(!M5.isHexDigit(Q))throw m1(W0());D+=W0()}return String.fromCodePoint(parseInt(D,16))}var Kx={start(){if(I5.type==="eof")throw mD();vB()},beforePropertyName(){switch(I5.type){case"identifier":case"string":_B=I5.value,Z8="afterPropertyName";return;case"punctuator":rZ();return;case"eof":throw mD()}},afterPropertyName(){if(I5.type==="eof")throw mD();Z8="beforePropertyValue"},beforePropertyValue(){if(I5.type==="eof")throw mD();vB()},beforeArrayValue(){if(I5.type==="eof")throw mD();if(I5.type==="punctuator"&&I5.value==="]"){rZ();return}vB()},afterPropertyValue(){if(I5.type==="eof")throw mD();switch(I5.value){case",":Z8="beforePropertyName";return;case"}":rZ()}},afterArrayValue(){if(I5.type==="eof")throw mD();switch(I5.value){case",":Z8="beforeArrayValue";return;case"]":rZ()}},end(){}};function vB(){let D;switch(I5.type){case"punctuator":switch(I5.value){case"{":D={};break;case"[":D=[];break}break;case"null":case"boolean":case"numeric":case"string":D=I5.value;break}if(X4===void 0)X4=D;else{let Z=X9[X9.length-1];if(Array.isArray(Z))Z.push(D);else Object.defineProperty(Z,_B,{value:D,writable:!0,enumerable:!0,configurable:!0})}if(D!==null&&typeof D==="object")if(X9.push(D),Array.isArray(D))Z8="beforeArrayValue";else Z8="beforePropertyName";else{let Z=X9[X9.length-1];if(Z==null)Z8="end";else if(Array.isArray(Z))Z8="afterArrayValue";else Z8="afterPropertyValue"}}function rZ(){X9.pop();let D=X9[X9.length-1];if(D==null)Z8="end";else if(Array.isArray(D))Z8="afterArrayValue";else Z8="afterPropertyValue"}function m1(D){if(D===void 0)return aZ(`JSON5: invalid end of input at ${i9}:${U2}`);return aZ(`JSON5: invalid character '${wF(D)}' at ${i9}:${U2}`)}function mD(){return aZ(`JSON5: invalid end of input at ${i9}:${U2}`)}function $F(){return U2-=5,aZ(`JSON5: invalid identifier character at ${i9}:${U2}`)}function Gx(D){console.warn(`JSON5: '${wF(D)}' in strings is not valid ECMAScript; consider escaping`)}function wF(D){let Z={"'":"\\'",'"':"\\\"","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\x00":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(Z[D])return Z[D];if(D<" "){let Q=D.charCodeAt(0).toString(16);return"\\x"+("00"+Q).substring(Q.length)}return D}function aZ(D){let Z=new SyntaxError(D);return Z.lineNumber=i9,Z.columnNumber=U2,Z}});var MF=M((G60,RF)=>{var kB=uB();RF.exports=function D(Z,Q,Y){let J=[],q="",B,H,V="",K;if(Q!=null&&typeof Q==="object"&&!Array.isArray(Q))Y=Q.space,K=Q.quote,Q=Q.replacer;if(typeof Q==="function")H=Q;else if(Array.isArray(Q)){B=[];for(let L of Q){let j;if(typeof L==="string")j=L;else if(typeof L==="number"||L instanceof String||L instanceof Number)j=String(L);if(j!==void 0&&B.indexOf(j)<0)B.push(j)}}if(Y instanceof Number)Y=Number(Y);else if(Y instanceof String)Y=String(Y);if(typeof Y==="number"){if(Y>0)Y=Math.min(10,Math.floor(Y)),V=" ".substr(0,Y)}else if(typeof Y==="string")V=Y.substr(0,10);return G("",{"":Z});function G(L,j){let P=j[L];if(P!=null){if(typeof P.toJSON5==="function")P=P.toJSON5(L);else if(typeof P.toJSON==="function")P=P.toJSON(L)}if(H)P=H.call(j,L,P);if(P instanceof Number)P=Number(P);else if(P instanceof String)P=String(P);else if(P instanceof Boolean)P=P.valueOf();switch(P){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof P==="string")return W(P,!1);if(typeof P==="number")return String(P);if(typeof P==="object")return Array.isArray(P)?E(P):O(P);return}function W(L){let j={"'":0.1,'"':0.2},P={"'":"\\'",'"':"\\\"","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\x00":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},u="";for(let X=0;X<L.length;X++){let z=L[X];switch(z){case"'":case'"':j[z]++,u+=z;continue;case"\x00":if(kB.isDigit(L[X+1])){u+="\\x00";continue}}if(P[z]){u+=P[z];continue}if(z<" "){let A=z.charCodeAt(0).toString(16);u+="\\x"+("00"+A).substring(A.length);continue}u+=z}let U=K||Object.keys(j).reduce((X,z)=>j[X]<j[z]?X:z);return u=u.replace(new RegExp(U,"g"),P[U]),U+u+U}function O(L){if(J.indexOf(L)>=0)throw TypeError("Converting circular structure to JSON5");J.push(L);let j=q;q=q+V;let P=B||Object.keys(L),u=[];for(let X of P){let z=G(X,L);if(z!==void 0){let A=F(X)+":";if(V!=="")A+=" ";A+=z,u.push(A)}}let U;if(u.length===0)U="{}";else{let X;if(V==="")X=u.join(","),U="{"+X+"}";else{let z=`,
|
|
20
|
+
`+q;X=u.join(z),U=`{
|
|
21
|
+
`+q+X+`,
|
|
22
|
+
`+j+"}"}}return J.pop(),q=j,U}function F(L){if(L.length===0)return W(L,!0);let j=String.fromCodePoint(L.codePointAt(0));if(!kB.isIdStartChar(j))return W(L,!0);for(let P=j.length;P<L.length;P++)if(!kB.isIdContinueChar(String.fromCodePoint(L.codePointAt(P))))return W(L,!0);return L}function E(L){if(J.indexOf(L)>=0)throw TypeError("Converting circular structure to JSON5");J.push(L);let j=q;q=q+V;let P=[];for(let U=0;U<L.length;U++){let X=G(String(U),L);P.push(X!==void 0?X:"null")}let u;if(P.length===0)u="[]";else if(V==="")u="["+P.join(",")+"]";else{let U=`,
|
|
23
|
+
`+q,X=P.join(U);u=`[
|
|
24
|
+
`+q+X+`,
|
|
25
|
+
`+j+"]"}return J.pop(),q=j,u}}});var jF=M((z60,IF)=>{var zx=CF(),Wx=MF(),Ox={parse:zx,stringify:Wx};IF.exports=Ox});var PF=M((F4)=>{Object.defineProperty(F4,"__esModule",{value:!0});F4.EmptyJsonFileError=void 0;class yB extends Error{cause;code;fileName;isJsonFileError;constructor(D,Z,Q,Y){let J=D;if(Y)J+=`
|
|
26
|
+
${Z?"├":"└"}─ File: ${Y}`;if(Z)J+=`
|
|
27
|
+
└─ Cause: ${Z.name}: ${Z.message}`;super(J);this.name=this.constructor.name,this.cause=Z,this.code=Q,this.fileName=Y,this.isJsonFileError=!0}}F4.default=yB;class NF extends yB{constructor(D){super("Cannot parse an empty JSON string",void 0,"EJSONEMPTY",D)}}F4.EmptyJsonFileError=NF});var uF=M((y2)=>{var Xx=y2&&y2.__createBinding||(Object.create?function(D,Z,Q,Y){if(Y===void 0)Y=Q;var J=Object.getOwnPropertyDescriptor(Z,Q);if(!J||("get"in J?!Z.__esModule:J.writable||J.configurable))J={enumerable:!0,get:function(){return Z[Q]}};Object.defineProperty(D,Y,J)}:function(D,Z,Q,Y){if(Y===void 0)Y=Q;D[Y]=Z[Q]}),Fx=y2&&y2.__setModuleDefault||(Object.create?function(D,Z){Object.defineProperty(D,"default",{enumerable:!0,value:Z})}:function(D,Z){D.default=Z}),Ux=y2&&y2.__importStar||function(){var D=function(Z){return D=Object.getOwnPropertyNames||function(Q){var Y=[];for(var J in Q)if(Object.prototype.hasOwnProperty.call(Q,J))Y[Y.length]=J;return Y},D(Z)};return function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y=D(Z),J=0;J<Y.length;J++)if(Y[J]!=="default")Xx(Q,Z,Y[J])}return Fx(Q,Z),Q}}();Object.defineProperty(y2,"__esModule",{value:!0});y2.writeFileAtomicSync=$x;y2.writeFileAtomic=Ex;var Ax=require("node:crypto"),tZ=Ux(require("node:fs"));function SF(D,Z){let Q=Ax.createHash("sha256").update(Z).digest("base64url");return`${D}.${Q}`}function $x(D,Z){let Q=SF(D,Z);tZ.writeFileSync(Q,Z),tZ.renameSync(Q,D)}async function Ex(D,Z){let Q=SF(D,Z);await tZ.promises.writeFile(Q,Z),await tZ.promises.rename(Q,D)}});var c7=M((A2)=>{var wx=A2&&A2.__createBinding||(Object.create?function(D,Z,Q,Y){if(Y===void 0)Y=Q;var J=Object.getOwnPropertyDescriptor(Z,Q);if(!J||("get"in J?!Z.__esModule:J.writable||J.configurable))J={enumerable:!0,get:function(){return Z[Q]}};Object.defineProperty(D,Y,J)}:function(D,Z,Q,Y){if(Y===void 0)Y=Q;D[Y]=Z[Q]}),Lx=A2&&A2.__setModuleDefault||(Object.create?function(D,Z){Object.defineProperty(D,"default",{enumerable:!0,value:Z})}:function(D,Z){D.default=Z}),Cx=A2&&A2.__importStar||function(){var D=function(Z){return D=Object.getOwnPropertyNames||function(Q){var Y=[];for(var J in Q)if(Object.prototype.hasOwnProperty.call(Q,J))Y[Y.length]=J;return Y},D(Z)};return function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y=D(Z),J=0;J<Y.length;J++)if(Y[J]!=="default")wx(Q,Z,Y[J])}return Lx(Q,Z),Q}}(),mB=A2&&A2.__importDefault||function(D){return D&&D.__esModule?D:{default:D}};Object.defineProperty(A2,"__esModule",{value:!0});var Rx=PB(),gB=mB(jF()),eZ=mB(require("node:fs")),gF=mB(require("node:path")),n9=Cx(PF()),cF=uF(),Mx={badJsonDefault:void 0,jsonParseErrorDefault:void 0,cantReadFileDefault:void 0,ensureDir:!1,default:void 0,json5:!1,space:2,addNewLineAtEOF:!0};class dF{file;options;static read=cD;static readAsync=dD;static parseJsonString=oZ;static write=m7;static writeAsync=g7;static get=vF;static getAsync=TF;static set=bF;static setAsync=hF;static merge=kF;static mergeAsync=_F;static deleteKey=fF;static deleteKeyAsync=yF;static deleteKeys=xB;static deleteKeysAsync=fB;static rewrite=mF;static rewriteAsync=xF;constructor(D,Z={}){this.file=D,this.options=Z}read(D){return cD(this.file,this._getOptions(D))}async readAsync(D){return dD(this.file,this._getOptions(D))}write(D,Z){return m7(this.file,D,this._getOptions(Z))}async writeAsync(D,Z){return g7(this.file,D,this._getOptions(Z))}parseJsonString(D,Z){return oZ(D,Z)}get(D,Z,Q){return vF(this.file,D,Z,this._getOptions(Q))}async getAsync(D,Z,Q){return TF(this.file,D,Z,this._getOptions(Q))}set(D,Z,Q){return bF(this.file,D,Z,this._getOptions(Q))}async setAsync(D,Z,Q){return hF(this.file,D,Z,this._getOptions(Q))}async merge(D,Z){return kF(this.file,D,this._getOptions(Z))}async mergeAsync(D,Z){return _F(this.file,D,this._getOptions(Z))}deleteKey(D,Z){return fF(this.file,D,this._getOptions(Z))}async deleteKeyAsync(D,Z){return yF(this.file,D,this._getOptions(Z))}deleteKeys(D,Z){return xB(this.file,D,this._getOptions(Z))}async deleteKeysAsync(D,Z){return fB(this.file,D,this._getOptions(Z))}rewrite(D){return mF(this.file,this._getOptions(D))}async rewriteAsync(D){return xF(this.file,this._getOptions(D))}_getOptions(D){return{...this.options,...D}}}A2.default=dF;function cD(D,Z){let Q;try{Q=eZ.default.readFileSync(D,"utf8")}catch(Y){cB(Q,D);let J=lF(Z);if(J===void 0)throw new n9.default(`Can't read JSON file: ${D}`,Y,Y.code,D);else return J}return oZ(Q,Z,D)}async function dD(D,Z){let Q;try{Q=await eZ.default.promises.readFile(D,"utf8")}catch(Y){cB(Q,D);let J=lF(Z);if(J===void 0)throw new n9.default(`Can't read JSON file: ${D}`,Y,Y.code);else return J}return oZ(Q,Z)}function oZ(D,Z,Q){cB(D,Q);try{if(gD(Z,"json5"))return gB.default.parse(D);else return JSON.parse(D)}catch(Y){let J=Ix(Z);if(J===void 0){let q=jx(Y,D);if(q){let B=Rx.codeFrameColumns(D,{start:q});Y.codeFrame=B,Y.message+=`
|
|
28
|
+
${B}`}throw new n9.default(`Error parsing JSON: ${D}`,Y,"EJSONPARSE",Q)}else return J}}function vF(D,Z,Q,Y){let J=cD(D,Y);if(Z in J)return J[Z];if(Q===void 0)throw new n9.default(`No value at key path "${String(Z)}" in JSON object from: ${D}`);return Q}async function TF(D,Z,Q,Y){let J=await dD(D,Y);if(Z in J)return J[Z];if(Q===void 0)throw new n9.default(`No value at key path "${String(Z)}" in JSON object from: ${D}`);return Q}function m7(D,Z,Q){if(Q?.ensureDir)eZ.default.mkdirSync(gF.default.dirname(D),{recursive:!0});let Y=gD(Q,"space"),J=gD(Q,"json5"),q=gD(Q,"addNewLineAtEOF"),B;try{if(J)B=gB.default.stringify(Z,null,Y);else B=JSON.stringify(Z,null,Y)}catch(V){throw new n9.default(`Couldn't JSON.stringify object for file: ${D}`,V)}let H=q?`${B}
|
|
29
|
+
`:B;return cF.writeFileAtomicSync(D,H),Z}async function g7(D,Z,Q){if(Q?.ensureDir)await eZ.default.promises.mkdir(gF.default.dirname(D),{recursive:!0});let Y=gD(Q,"space"),J=gD(Q,"json5"),q=gD(Q,"addNewLineAtEOF"),B;try{if(J)B=gB.default.stringify(Z,null,Y);else B=JSON.stringify(Z,null,Y)}catch(V){throw new n9.default(`Couldn't JSON.stringify object for file: ${D}`,V)}let H=q?`${B}
|
|
30
|
+
`:B;return await cF.writeFileAtomic(D,H),Z}function bF(D,Z,Q,Y){let J=cD(D,Y);return m7(D,{...J,[Z]:Q},Y)}async function hF(D,Z,Q,Y){let J=await dD(D,Y);return g7(D,{...J,[Z]:Q},Y)}async function _F(D,Z,Q){let Y=await dD(D,Q);if(Array.isArray(Z))Object.assign(Y,...Z);else Object.assign(Y,Z);return g7(D,Y,Q)}function kF(D,Z,Q){let Y=cD(D,Q);if(Array.isArray(Z))Object.assign(Y,...Z);else Object.assign(Y,Z);return m7(D,Y,Q)}async function yF(D,Z,Q){return fB(D,[Z],Q)}function fF(D,Z,Q){return xB(D,[Z],Q)}async function fB(D,Z,Q){let Y=await dD(D,Q),J=!1;for(let q=0;q<Z.length;q++){let B=Z[q];if(Y.hasOwnProperty(B))delete Y[B],J=!0}if(J)return g7(D,Y,Q);return Y}function xB(D,Z,Q){let Y=cD(D,Q),J=!1;for(let q=0;q<Z.length;q++){let B=Z[q];if(Y.hasOwnProperty(B))delete Y[B],J=!0}if(J)return m7(D,Y,Q);return Y}async function xF(D,Z){let Q=await dD(D,Z);return g7(D,Q,Z)}function mF(D,Z){return m7(D,cD(D,Z),Z)}function Ix(D={}){if(D.jsonParseErrorDefault===void 0)return D.default;else return D.jsonParseErrorDefault}function lF(D={}){if(D.cantReadFileDefault===void 0)return D.default;else return D.cantReadFileDefault}function gD(D,Z){if(D){if(D[Z]!==void 0)return D[Z]}return Mx[Z]}function jx(D,Z){if("lineNumber"in D&&"columnNumber"in D)return{line:D.lineNumber,column:D.columnNumber};let Q=/at position (\d+)/.exec(D.message);if(Q){let Y=parseInt(Q[1],10),J=Z.slice(0,Y+1).split(`
|
|
31
|
+
`);return{line:J.length,column:J[J.length-1].length}}return null}function cB(D,Z){if(D?.trim()==="")throw new n9.EmptyJsonFileError(Z)}});var rF=M((F60,nF)=>{var Nx=function D(Z){return Px(Z)&&!Sx(Z)};function Px(D){return!!D&&typeof D==="object"}function Sx(D){var Z=Object.prototype.toString.call(D);return Z==="[object RegExp]"||Z==="[object Date]"||Tx(D)}var ux=typeof Symbol==="function"&&Symbol.for,vx=ux?Symbol.for("react.element"):60103;function Tx(D){return D.$$typeof===vx}function bx(D){return Array.isArray(D)?[]:{}}function U4(D,Z){return Z.clone!==!1&&Z.isMergeableObject(D)?d7(bx(D),D,Z):D}function hx(D,Z,Q){return D.concat(Z).map(function(Y){return U4(Y,Q)})}function _x(D,Z){if(!Z.customMerge)return d7;var Q=Z.customMerge(D);return typeof Q==="function"?Q:d7}function kx(D){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(D).filter(function(Z){return Object.propertyIsEnumerable.call(D,Z)}):[]}function pF(D){return Object.keys(D).concat(kx(D))}function iF(D,Z){try{return Z in D}catch(Q){return!1}}function yx(D,Z){return iF(D,Z)&&!(Object.hasOwnProperty.call(D,Z)&&Object.propertyIsEnumerable.call(D,Z))}function fx(D,Z,Q){var Y={};if(Q.isMergeableObject(D))pF(D).forEach(function(J){Y[J]=U4(D[J],Q)});return pF(Z).forEach(function(J){if(yx(D,J))return;if(iF(D,J)&&Q.isMergeableObject(Z[J]))Y[J]=_x(J,Q)(D[J],Z[J],Q);else Y[J]=U4(Z[J],Q)}),Y}function d7(D,Z,Q){Q=Q||{},Q.arrayMerge=Q.arrayMerge||hx,Q.isMergeableObject=Q.isMergeableObject||Nx,Q.cloneUnlessOtherwiseSpecified=U4;var Y=Array.isArray(Z),J=Array.isArray(D),q=Y===J;if(!q)return U4(Z,Q);else if(Y)return Q.arrayMerge(D,Z,Q);else return fx(D,Z,Q)}d7.all=function D(Z,Q){if(!Array.isArray(Z))throw new Error("first argument should be an array");return Z.reduce(function(Y,J){return d7(Y,J,Q)},{})};var xx=d7;nF.exports=xx});var eF=M((U60,oF)=>{oF.exports=aF;function aF(D,Z,Q){if(D instanceof RegExp)D=sF(D,Q);if(Z instanceof RegExp)Z=sF(Z,Q);var Y=tF(D,Z,Q);return Y&&{start:Y[0],end:Y[1],pre:Q.slice(0,Y[0]),body:Q.slice(Y[0]+D.length,Y[1]),post:Q.slice(Y[1]+Z.length)}}function sF(D,Z){var Q=Z.match(D);return Q?Q[0]:null}aF.range=tF;function tF(D,Z,Q){var Y,J,q,B,H,V=Q.indexOf(D),K=Q.indexOf(Z,V+1),G=V;if(V>=0&&K>0){if(D===Z)return[V,K];Y=[],q=Q.length;while(G>=0&&!H){if(G==V)Y.push(G),V=Q.indexOf(D,G+1);else if(Y.length==1)H=[Y.pop(),K];else{if(J=Y.pop(),J<q)q=J,B=K;K=Q.indexOf(Z,G+1)}G=V<K&&V>=0?V:K}if(Y.length)H=[q,B]}return H}});var HU=M((A60,BU)=>{var DU=eF();BU.exports=cx;var ZU="\x00SLASH"+Math.random()+"\x00",QU="\x00OPEN"+Math.random()+"\x00",lB="\x00CLOSE"+Math.random()+"\x00",YU="\x00COMMA"+Math.random()+"\x00",JU="\x00PERIOD"+Math.random()+"\x00";function dB(D){return parseInt(D,10)==D?parseInt(D,10):D.charCodeAt(0)}function mx(D){return D.split("\\\\").join(ZU).split("\\{").join(QU).split("\\}").join(lB).split("\\,").join(YU).split("\\.").join(JU)}function gx(D){return D.split(ZU).join("\\").split(QU).join("{").split(lB).join("}").split(YU).join(",").split(JU).join(".")}function qU(D){if(!D)return[""];var Z=[],Q=DU("{","}",D);if(!Q)return D.split(",");var{pre:Y,body:J,post:q}=Q,B=Y.split(",");B[B.length-1]+="{"+J+"}";var H=qU(q);if(q.length)B[B.length-1]+=H.shift(),B.push.apply(B,H);return Z.push.apply(Z,B),Z}function cx(D){if(!D)return[];if(D.substr(0,2)==="{}")D="\\{\\}"+D.substr(2);return A4(mx(D),!0).map(gx)}function dx(D){return"{"+D+"}"}function lx(D){return/^-?0\d/.test(D)}function px(D,Z){return D<=Z}function ix(D,Z){return D>=Z}function A4(D,Z){var Q=[],Y=DU("{","}",D);if(!Y)return[D];var J=Y.pre,q=Y.post.length?A4(Y.post,!1):[""];if(/\$$/.test(Y.pre))for(var B=0;B<q.length;B++){var H=J+"{"+Y.body+"}"+q[B];Q.push(H)}else{var V=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(Y.body),K=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(Y.body),G=V||K,W=Y.body.indexOf(",")>=0;if(!G&&!W){if(Y.post.match(/,(?!,).*\}/))return D=Y.pre+"{"+Y.body+lB+Y.post,A4(D);return[D]}var O;if(G)O=Y.body.split(/\.\./);else if(O=qU(Y.body),O.length===1){if(O=A4(O[0],!1).map(dx),O.length===1)return q.map(function(I){return Y.pre+O[0]+I})}var F;if(G){var E=dB(O[0]),L=dB(O[1]),j=Math.max(O[0].length,O[1].length),P=O.length==3?Math.abs(dB(O[2])):1,u=px,U=L<E;if(U)P*=-1,u=ix;var X=O.some(lx);F=[];for(var z=E;u(z,L);z+=P){var A;if(K){if(A=String.fromCharCode(z),A==="\\")A=""}else if(A=String(z),X){var S=j-A.length;if(S>0){var w=new Array(S+1).join("0");if(z<0)A="-"+w+A.slice(1);else A=w+A}}F.push(A)}}else{F=[];for(var C=0;C<O.length;C++)F.push.apply(F,A4(O[C],!1))}for(var C=0;C<F.length;C++)for(var B=0;B<q.length;B++){var H=J+F[C]+q[B];if(!Z||G||H)Q.push(H)}}return Q}});var VU=M((DQ)=>{Object.defineProperty(DQ,"__esModule",{value:!0});DQ.assertValidPattern=void 0;var nx=65536,rx=(D)=>{if(typeof D!=="string")throw new TypeError("invalid pattern");if(D.length>nx)throw new TypeError("pattern is too long")};DQ.assertValidPattern=rx});var GU=M((ZQ)=>{Object.defineProperty(ZQ,"__esModule",{value:!0});ZQ.parseClass=void 0;var sx={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},$4=(D)=>D.replace(/[[\]\\-]/g,"\\$&"),ax=(D)=>D.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),KU=(D)=>D.join(""),tx=(D,Z)=>{let Q=Z;if(D.charAt(Q)!=="[")throw new Error("not in a brace expression");let Y=[],J=[],q=Q+1,B=!1,H=!1,V=!1,K=!1,G=Q,W="";D:while(q<D.length){let L=D.charAt(q);if((L==="!"||L==="^")&&q===Q+1){K=!0,q++;continue}if(L==="]"&&B&&!V){G=q+1;break}if(B=!0,L==="\\"){if(!V){V=!0,q++;continue}}if(L==="["&&!V){for(let[j,[P,u,U]]of Object.entries(sx))if(D.startsWith(j,q)){if(W)return["$.",!1,D.length-Q,!0];if(q+=j.length,U)J.push(P);else Y.push(P);H=H||u;continue D}}if(V=!1,W){if(L>W)Y.push($4(W)+"-"+$4(L));else if(L===W)Y.push($4(L));W="",q++;continue}if(D.startsWith("-]",q+1)){Y.push($4(L+"-")),q+=2;continue}if(D.startsWith("-",q+1)){W=L,q+=2;continue}Y.push($4(L)),q++}if(G<q)return["",!1,0,!1];if(!Y.length&&!J.length)return["$.",!1,D.length-Q,!0];if(J.length===0&&Y.length===1&&/^\\?.$/.test(Y[0])&&!K){let L=Y[0].length===2?Y[0].slice(-1):Y[0];return[ax(L),!1,G-Q,!1]}let O="["+(K?"^":"")+KU(Y)+"]",F="["+(K?"":"^")+KU(J)+"]";return[Y.length&&J.length?"("+O+"|"+F+")":Y.length?O:F,H,G-Q,!0]};ZQ.parseClass=tx});var YQ=M((QQ)=>{Object.defineProperty(QQ,"__esModule",{value:!0});QQ.unescape=void 0;var ox=(D,{windowsPathsNoEscape:Z=!1}={})=>{return Z?D.replace(/\[([^\/\\])\]/g,"$1"):D.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")};QQ.unescape=ox});var iB=M((BQ)=>{Object.defineProperty(BQ,"__esModule",{value:!0});BQ.AST=void 0;var ex=GU(),JQ=YQ(),Dm=new Set(["!","?","+","*","@"]),zU=(D)=>Dm.has(D),Zm="(?!(?:^|/)\\.\\.?(?:$|/))",qQ="(?!\\.)",Qm=new Set(["[","."]),Ym=new Set(["..","."]),Jm=new Set("().*{}+?[]^$\\!"),qm=(D)=>D.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),pB="[^/]",WU=pB+"*?",OU=pB+"+?";class z8{type;#D;#Z;#q=!1;#Y=[];#B;#w;#K;#z=!1;#H;#V;#J=!1;constructor(D,Z,Q={}){if(this.type=D,D)this.#Z=!0;if(this.#B=Z,this.#D=this.#B?this.#B.#D:this,this.#H=this.#D===this?Q:this.#D.#H,this.#K=this.#D===this?[]:this.#D.#K,D==="!"&&!this.#D.#z)this.#K.push(this);this.#w=this.#B?this.#B.#Y.length:0}get hasMagic(){if(this.#Z!==void 0)return this.#Z;for(let D of this.#Y){if(typeof D==="string")continue;if(D.type||D.hasMagic)return this.#Z=!0}return this.#Z}toString(){if(this.#V!==void 0)return this.#V;if(!this.type)return this.#V=this.#Y.map((D)=>String(D)).join("");else return this.#V=this.type+"("+this.#Y.map((D)=>String(D)).join("|")+")"}#U(){if(this!==this.#D)throw new Error("should only call on root");if(this.#z)return this;this.toString(),this.#z=!0;let D;while(D=this.#K.pop()){if(D.type!=="!")continue;let Z=D,Q=Z.#B;while(Q){for(let Y=Z.#w+1;!Q.type&&Y<Q.#Y.length;Y++)for(let J of D.#Y){if(typeof J==="string")throw new Error("string part in extglob AST??");J.copyIn(Q.#Y[Y])}Z=Q,Q=Z.#B}}return this}push(...D){for(let Z of D){if(Z==="")continue;if(typeof Z!=="string"&&!(Z instanceof z8&&Z.#B===this))throw new Error("invalid part: "+Z);this.#Y.push(Z)}}toJSON(){let D=this.type===null?this.#Y.slice().map((Z)=>typeof Z==="string"?Z:Z.toJSON()):[this.type,...this.#Y.map((Z)=>Z.toJSON())];if(this.isStart()&&!this.type)D.unshift([]);if(this.isEnd()&&(this===this.#D||this.#D.#z&&this.#B?.type==="!"))D.push({});return D}isStart(){if(this.#D===this)return!0;if(!this.#B?.isStart())return!1;if(this.#w===0)return!0;let D=this.#B;for(let Z=0;Z<this.#w;Z++){let Q=D.#Y[Z];if(!(Q instanceof z8&&Q.type==="!"))return!1}return!0}isEnd(){if(this.#D===this)return!0;if(this.#B?.type==="!")return!0;if(!this.#B?.isEnd())return!1;if(!this.type)return this.#B?.isEnd();let D=this.#B?this.#B.#Y.length:0;return this.#w===D-1}copyIn(D){if(typeof D==="string")this.push(D);else this.push(D.clone(this))}clone(D){let Z=new z8(this.type,D);for(let Q of this.#Y)Z.copyIn(Q);return Z}static#A(D,Z,Q,Y){let J=!1,q=!1,B=-1,H=!1;if(Z.type===null){let O=Q,F="";while(O<D.length){let E=D.charAt(O++);if(J||E==="\\"){J=!J,F+=E;continue}if(q){if(O===B+1){if(E==="^"||E==="!")H=!0}else if(E==="]"&&!(O===B+2&&H))q=!1;F+=E;continue}else if(E==="["){q=!0,B=O,H=!1,F+=E;continue}if(!Y.noext&&zU(E)&&D.charAt(O)==="("){Z.push(F),F="";let L=new z8(E,Z);O=z8.#A(D,L,O,Y),Z.push(L);continue}F+=E}return Z.push(F),O}let V=Q+1,K=new z8(null,Z),G=[],W="";while(V<D.length){let O=D.charAt(V++);if(J||O==="\\"){J=!J,W+=O;continue}if(q){if(V===B+1){if(O==="^"||O==="!")H=!0}else if(O==="]"&&!(V===B+2&&H))q=!1;W+=O;continue}else if(O==="["){q=!0,B=V,H=!1,W+=O;continue}if(zU(O)&&D.charAt(V)==="("){K.push(W),W="";let F=new z8(O,K);K.push(F),V=z8.#A(D,F,V,Y);continue}if(O==="|"){K.push(W),W="",G.push(K),K=new z8(null,Z);continue}if(O===")"){if(W===""&&Z.#Y.length===0)Z.#J=!0;return K.push(W),W="",Z.push(...G,K),V}W+=O}return Z.type=null,Z.#Z=void 0,Z.#Y=[D.substring(Q-1)],V}static fromGlob(D,Z={}){let Q=new z8(null,void 0,Z);return z8.#A(D,Q,0,Z),Q}toMMPattern(){if(this!==this.#D)return this.#D.toMMPattern();let D=this.toString(),[Z,Q,Y,J]=this.toRegExpSource();if(!(Y||this.#Z||this.#H.nocase&&!this.#H.nocaseMagicOnly&&D.toUpperCase()!==D.toLowerCase()))return Q;let B=(this.#H.nocase?"i":"")+(J?"u":"");return Object.assign(new RegExp(`^${Z}$`,B),{_src:Z,_glob:D})}get options(){return this.#H}toRegExpSource(D){let Z=D??!!this.#H.dot;if(this.#D===this)this.#U();if(!this.type){let H=this.isStart()&&this.isEnd(),V=this.#Y.map((O)=>{let[F,E,L,j]=typeof O==="string"?z8.#W(O,this.#Z,H):O.toRegExpSource(D);return this.#Z=this.#Z||L,this.#q=this.#q||j,F}).join(""),K="";if(this.isStart()){if(typeof this.#Y[0]==="string"){if(!(this.#Y.length===1&&Ym.has(this.#Y[0]))){let F=Qm,E=Z&&F.has(V.charAt(0))||V.startsWith("\\.")&&F.has(V.charAt(2))||V.startsWith("\\.\\.")&&F.has(V.charAt(4)),L=!Z&&!D&&F.has(V.charAt(0));K=E?Zm:L?qQ:""}}}let G="";if(this.isEnd()&&this.#D.#z&&this.#B?.type==="!")G="(?:$|\\/)";return[K+V+G,JQ.unescape(V),this.#Z=!!this.#Z,this.#q]}let Q=this.type==="*"||this.type==="+",Y=this.type==="!"?"(?:(?!(?:":"(?:",J=this.#O(Z);if(this.isStart()&&this.isEnd()&&!J&&this.type!=="!"){let H=this.toString();return this.#Y=[H],this.type=null,this.#Z=void 0,[H,JQ.unescape(this.toString()),!1,!1]}let q=!Q||D||Z||!qQ?"":this.#O(!0);if(q===J)q="";if(q)J=`(?:${J})(?:${q})*?`;let B="";if(this.type==="!"&&this.#J)B=(this.isStart()&&!Z?qQ:"")+OU;else{let H=this.type==="!"?"))"+(this.isStart()&&!Z&&!D?qQ:"")+WU+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&q?")":this.type==="*"&&q?")?":`)${this.type}`;B=Y+J+H}return[B,JQ.unescape(J),this.#Z=!!this.#Z,this.#q]}#O(D){return this.#Y.map((Z)=>{if(typeof Z==="string")throw new Error("string type in extglob ast??");let[Q,Y,J,q]=Z.toRegExpSource(D);return this.#q=this.#q||q,Q}).filter((Z)=>!(this.isStart()&&this.isEnd())||!!Z).join("|")}static#W(D,Z,Q=!1){let Y=!1,J="",q=!1;for(let B=0;B<D.length;B++){let H=D.charAt(B);if(Y){Y=!1,J+=(Jm.has(H)?"\\":"")+H;continue}if(H==="\\"){if(B===D.length-1)J+="\\\\";else Y=!0;continue}if(H==="["){let[V,K,G,W]=ex.parseClass(D,B);if(G){J+=V,q=q||K,B+=G-1,Z=Z||W;continue}}if(H==="*"){if(Q&&D==="*")J+=OU;else J+=WU;Z=!0;continue}if(H==="?"){J+=pB,Z=!0;continue}J+=qm(H)}return[J,JQ.unescape(D),!!Z,q]}}BQ.AST=z8});var nB=M((HQ)=>{Object.defineProperty(HQ,"__esModule",{value:!0});HQ.escape=void 0;var Bm=(D,{windowsPathsNoEscape:Z=!1}={})=>{return Z?D.replace(/[?*()[\]]/g,"[$&]"):D.replace(/[?*()[\]\\]/g,"\\$&")};HQ.escape=Bm});var r9=M((b0)=>{var Hm=b0&&b0.__importDefault||function(D){return D&&D.__esModule?D:{default:D}};Object.defineProperty(b0,"__esModule",{value:!0});b0.unescape=b0.escape=b0.AST=b0.Minimatch=b0.match=b0.makeRe=b0.braceExpand=b0.defaults=b0.filter=b0.GLOBSTAR=b0.sep=b0.minimatch=void 0;var Vm=Hm(HU()),VQ=VU(),UU=iB(),Km=nB(),Gm=YQ(),zm=(D,Z,Q={})=>{if(VQ.assertValidPattern(Z),!Q.nocomment&&Z.charAt(0)==="#")return!1;return new l7(Z,Q).match(D)};b0.minimatch=zm;var Wm=/^\*+([^+@!?\*\[\(]*)$/,Om=(D)=>(Z)=>!Z.startsWith(".")&&Z.endsWith(D),Xm=(D)=>(Z)=>Z.endsWith(D),Fm=(D)=>{return D=D.toLowerCase(),(Z)=>!Z.startsWith(".")&&Z.toLowerCase().endsWith(D)},Um=(D)=>{return D=D.toLowerCase(),(Z)=>Z.toLowerCase().endsWith(D)},Am=/^\*+\.\*+$/,$m=(D)=>!D.startsWith(".")&&D.includes("."),Em=(D)=>D!=="."&&D!==".."&&D.includes("."),wm=/^\.\*+$/,Lm=(D)=>D!=="."&&D!==".."&&D.startsWith("."),Cm=/^\*+$/,Rm=(D)=>D.length!==0&&!D.startsWith("."),Mm=(D)=>D.length!==0&&D!=="."&&D!=="..",Im=/^\?+([^+@!?\*\[\(]*)?$/,jm=([D,Z=""])=>{let Q=AU([D]);if(!Z)return Q;return Z=Z.toLowerCase(),(Y)=>Q(Y)&&Y.toLowerCase().endsWith(Z)},Nm=([D,Z=""])=>{let Q=$U([D]);if(!Z)return Q;return Z=Z.toLowerCase(),(Y)=>Q(Y)&&Y.toLowerCase().endsWith(Z)},Pm=([D,Z=""])=>{let Q=$U([D]);return!Z?Q:(Y)=>Q(Y)&&Y.endsWith(Z)},Sm=([D,Z=""])=>{let Q=AU([D]);return!Z?Q:(Y)=>Q(Y)&&Y.endsWith(Z)},AU=([D])=>{let Z=D.length;return(Q)=>Q.length===Z&&!Q.startsWith(".")},$U=([D])=>{let Z=D.length;return(Q)=>Q.length===Z&&Q!=="."&&Q!==".."},EU=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",XU={win32:{sep:"\\"},posix:{sep:"/"}};b0.sep=EU==="win32"?XU.win32.sep:XU.posix.sep;b0.minimatch.sep=b0.sep;b0.GLOBSTAR=Symbol("globstar **");b0.minimatch.GLOBSTAR=b0.GLOBSTAR;var um="[^/]",vm=um+"*?",Tm="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",bm="(?:(?!(?:\\/|^)\\.).)*?",hm=(D,Z={})=>(Q)=>b0.minimatch(Q,D,Z);b0.filter=hm;b0.minimatch.filter=b0.filter;var i8=(D,Z={})=>Object.assign({},D,Z),_m=(D)=>{if(!D||typeof D!=="object"||!Object.keys(D).length)return b0.minimatch;let Z=b0.minimatch;return Object.assign((Y,J,q={})=>Z(Y,J,i8(D,q)),{Minimatch:class Y extends Z.Minimatch{constructor(J,q={}){super(J,i8(D,q))}static defaults(J){return Z.defaults(i8(D,J)).Minimatch}},AST:class Y extends Z.AST{constructor(J,q,B={}){super(J,q,i8(D,B))}static fromGlob(J,q={}){return Z.AST.fromGlob(J,i8(D,q))}},unescape:(Y,J={})=>Z.unescape(Y,i8(D,J)),escape:(Y,J={})=>Z.escape(Y,i8(D,J)),filter:(Y,J={})=>Z.filter(Y,i8(D,J)),defaults:(Y)=>Z.defaults(i8(D,Y)),makeRe:(Y,J={})=>Z.makeRe(Y,i8(D,J)),braceExpand:(Y,J={})=>Z.braceExpand(Y,i8(D,J)),match:(Y,J,q={})=>Z.match(Y,J,i8(D,q)),sep:Z.sep,GLOBSTAR:b0.GLOBSTAR})};b0.defaults=_m;b0.minimatch.defaults=b0.defaults;var km=(D,Z={})=>{if(VQ.assertValidPattern(D),Z.nobrace||!/\{(?:(?!\{).)*\}/.test(D))return[D];return Vm.default(D)};b0.braceExpand=km;b0.minimatch.braceExpand=b0.braceExpand;var ym=(D,Z={})=>new l7(D,Z).makeRe();b0.makeRe=ym;b0.minimatch.makeRe=b0.makeRe;var fm=(D,Z,Q={})=>{let Y=new l7(Z,Q);if(D=D.filter((J)=>Y.match(J)),Y.options.nonull&&!D.length)D.push(Z);return D};b0.match=fm;b0.minimatch.match=b0.match;var FU=/[?*]|[+@!]\(.*?\)|\[|\]/,xm=(D)=>D.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");class l7{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(D,Z={}){if(VQ.assertValidPattern(D),Z=Z||{},this.options=Z,this.pattern=D,this.platform=Z.platform||EU,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!Z.windowsPathsNoEscape||Z.allowWindowsEscape===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.preserveMultipleSlashes=!!Z.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!Z.nonegate,this.comment=!1,this.empty=!1,this.partial=!!Z.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=Z.windowsNoMagicRoot!==void 0?Z.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let D of this.set)for(let Z of D)if(typeof Z!=="string")return!0;return!1}debug(...D){}make(){let D=this.pattern,Z=this.options;if(!Z.nocomment&&D.charAt(0)==="#"){this.comment=!0;return}if(!D){this.empty=!0;return}if(this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],Z.debug)this.debug=(...J)=>console.error(...J);this.debug(this.pattern,this.globSet);let Q=this.globSet.map((J)=>this.slashSplit(J));this.globParts=this.preprocess(Q),this.debug(this.pattern,this.globParts);let Y=this.globParts.map((J,q,B)=>{if(this.isWindows&&this.windowsNoMagicRoot){let H=J[0]===""&&J[1]===""&&(J[2]==="?"||!FU.test(J[2]))&&!FU.test(J[3]),V=/^[a-z]:/i.test(J[0]);if(H)return[...J.slice(0,4),...J.slice(4).map((K)=>this.parse(K))];else if(V)return[J[0],...J.slice(1).map((K)=>this.parse(K))]}return J.map((H)=>this.parse(H))});if(this.debug(this.pattern,Y),this.set=Y.filter((J)=>J.indexOf(!1)===-1),this.isWindows)for(let J=0;J<this.set.length;J++){let q=this.set[J];if(q[0]===""&&q[1]===""&&this.globParts[J][2]==="?"&&typeof q[3]==="string"&&/^[a-z]:$/i.test(q[3]))q[2]="?"}this.debug(this.pattern,this.set)}preprocess(D){if(this.options.noglobstar){for(let Q=0;Q<D.length;Q++)for(let Y=0;Y<D[Q].length;Y++)if(D[Q][Y]==="**")D[Q][Y]="*"}let{optimizationLevel:Z=1}=this.options;if(Z>=2)D=this.firstPhasePreProcess(D),D=this.secondPhasePreProcess(D);else if(Z>=1)D=this.levelOneOptimize(D);else D=this.adjascentGlobstarOptimize(D);return D}adjascentGlobstarOptimize(D){return D.map((Z)=>{let Q=-1;while((Q=Z.indexOf("**",Q+1))!==-1){let Y=Q;while(Z[Y+1]==="**")Y++;if(Y!==Q)Z.splice(Q,Y-Q)}return Z})}levelOneOptimize(D){return D.map((Z)=>{return Z=Z.reduce((Q,Y)=>{let J=Q[Q.length-1];if(Y==="**"&&J==="**")return Q;if(Y===".."){if(J&&J!==".."&&J!=="."&&J!=="**")return Q.pop(),Q}return Q.push(Y),Q},[]),Z.length===0?[""]:Z})}levelTwoFileOptimize(D){if(!Array.isArray(D))D=this.slashSplit(D);let Z=!1;do{if(Z=!1,!this.preserveMultipleSlashes){for(let Y=1;Y<D.length-1;Y++){let J=D[Y];if(Y===1&&J===""&&D[0]==="")continue;if(J==="."||J==="")Z=!0,D.splice(Y,1),Y--}if(D[0]==="."&&D.length===2&&(D[1]==="."||D[1]===""))Z=!0,D.pop()}let Q=0;while((Q=D.indexOf("..",Q+1))!==-1){let Y=D[Q-1];if(Y&&Y!=="."&&Y!==".."&&Y!=="**")Z=!0,D.splice(Q-1,2),Q-=2}}while(Z);return D.length===0?[""]:D}firstPhasePreProcess(D){let Z=!1;do{Z=!1;for(let Q of D){let Y=-1;while((Y=Q.indexOf("**",Y+1))!==-1){let q=Y;while(Q[q+1]==="**")q++;if(q>Y)Q.splice(Y+1,q-Y);let B=Q[Y+1],H=Q[Y+2],V=Q[Y+3];if(B!=="..")continue;if(!H||H==="."||H===".."||!V||V==="."||V==="..")continue;Z=!0,Q.splice(Y,1);let K=Q.slice(0);K[Y]="**",D.push(K),Y--}if(!this.preserveMultipleSlashes){for(let q=1;q<Q.length-1;q++){let B=Q[q];if(q===1&&B===""&&Q[0]==="")continue;if(B==="."||B==="")Z=!0,Q.splice(q,1),q--}if(Q[0]==="."&&Q.length===2&&(Q[1]==="."||Q[1]===""))Z=!0,Q.pop()}let J=0;while((J=Q.indexOf("..",J+1))!==-1){let q=Q[J-1];if(q&&q!=="."&&q!==".."&&q!=="**"){Z=!0;let H=J===1&&Q[J+1]==="**"?["."]:[];if(Q.splice(J-1,2,...H),Q.length===0)Q.push("");J-=2}}}}while(Z);return D}secondPhasePreProcess(D){for(let Z=0;Z<D.length-1;Z++)for(let Q=Z+1;Q<D.length;Q++){let Y=this.partsMatch(D[Z],D[Q],!this.preserveMultipleSlashes);if(Y){D[Z]=[],D[Q]=Y;break}}return D.filter((Z)=>Z.length)}partsMatch(D,Z,Q=!1){let Y=0,J=0,q=[],B="";while(Y<D.length&&J<Z.length)if(D[Y]===Z[J])q.push(B==="b"?Z[J]:D[Y]),Y++,J++;else if(Q&&D[Y]==="**"&&Z[J]===D[Y+1])q.push(D[Y]),Y++;else if(Q&&Z[J]==="**"&&D[Y]===Z[J+1])q.push(Z[J]),J++;else if(D[Y]==="*"&&Z[J]&&(this.options.dot||!Z[J].startsWith("."))&&Z[J]!=="**"){if(B==="b")return!1;B="a",q.push(D[Y]),Y++,J++}else if(Z[J]==="*"&&D[Y]&&(this.options.dot||!D[Y].startsWith("."))&&D[Y]!=="**"){if(B==="a")return!1;B="b",q.push(Z[J]),Y++,J++}else return!1;return D.length===Z.length&&q}parseNegate(){if(this.nonegate)return;let D=this.pattern,Z=!1,Q=0;for(let Y=0;Y<D.length&&D.charAt(Y)==="!";Y++)Z=!Z,Q++;if(Q)this.pattern=D.slice(Q);this.negate=Z}matchOne(D,Z,Q=!1){let Y=this.options;if(this.isWindows){let E=typeof D[0]==="string"&&/^[a-z]:$/i.test(D[0]),L=!E&&D[0]===""&&D[1]===""&&D[2]==="?"&&/^[a-z]:$/i.test(D[3]),j=typeof Z[0]==="string"&&/^[a-z]:$/i.test(Z[0]),P=!j&&Z[0]===""&&Z[1]===""&&Z[2]==="?"&&typeof Z[3]==="string"&&/^[a-z]:$/i.test(Z[3]),u=L?3:E?0:void 0,U=P?3:j?0:void 0;if(typeof u==="number"&&typeof U==="number"){let[X,z]=[D[u],Z[U]];if(X.toLowerCase()===z.toLowerCase()){if(Z[U]=X,U>u)Z=Z.slice(U);else if(u>U)D=D.slice(u)}}}let{optimizationLevel:J=1}=this.options;if(J>=2)D=this.levelTwoFileOptimize(D);this.debug("matchOne",this,{file:D,pattern:Z}),this.debug("matchOne",D.length,Z.length);for(var q=0,B=0,H=D.length,V=Z.length;q<H&&B<V;q++,B++){this.debug("matchOne loop");var K=Z[B],G=D[q];if(this.debug(Z,K,G),K===!1)return!1;if(K===b0.GLOBSTAR){this.debug("GLOBSTAR",[Z,K,G]);var W=q,O=B+1;if(O===V){this.debug("** at the end");for(;q<H;q++)if(D[q]==="."||D[q]===".."||!Y.dot&&D[q].charAt(0)===".")return!1;return!0}while(W<H){var F=D[W];if(this.debug(`
|
|
32
|
+
globstar while`,D,W,Z,O,F),this.matchOne(D.slice(W),Z.slice(O),Q))return this.debug("globstar found match!",W,H,F),!0;else{if(F==="."||F===".."||!Y.dot&&F.charAt(0)==="."){this.debug("dot detected!",D,W,Z,O);break}this.debug("globstar swallow a segment, and continue"),W++}}if(Q){if(this.debug(`
|
|
33
|
+
>>> no match, partial?`,D,W,Z,O),W===H)return!0}return!1}let E;if(typeof K==="string")E=G===K,this.debug("string match",K,G,E);else E=K.test(G),this.debug("pattern match",K,G,E);if(!E)return!1}if(q===H&&B===V)return!0;else if(q===H)return Q;else if(B===V)return q===H-1&&D[q]==="";else throw new Error("wtf?")}braceExpand(){return b0.braceExpand(this.pattern,this.options)}parse(D){VQ.assertValidPattern(D);let Z=this.options;if(D==="**")return b0.GLOBSTAR;if(D==="")return"";let Q,Y=null;if(Q=D.match(Cm))Y=Z.dot?Mm:Rm;else if(Q=D.match(Wm))Y=(Z.nocase?Z.dot?Um:Fm:Z.dot?Xm:Om)(Q[1]);else if(Q=D.match(Im))Y=(Z.nocase?Z.dot?Nm:jm:Z.dot?Pm:Sm)(Q);else if(Q=D.match(Am))Y=Z.dot?Em:$m;else if(Q=D.match(wm))Y=Lm;let J=UU.AST.fromGlob(D,this.options).toMMPattern();if(Y&&typeof J==="object")Reflect.defineProperty(J,"test",{value:Y});return J}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let D=this.set;if(!D.length)return this.regexp=!1,this.regexp;let Z=this.options,Q=Z.noglobstar?vm:Z.dot?Tm:bm,Y=new Set(Z.nocase?["i"]:[]),J=D.map((H)=>{let V=H.map((K)=>{if(K instanceof RegExp)for(let G of K.flags.split(""))Y.add(G);return typeof K==="string"?xm(K):K===b0.GLOBSTAR?b0.GLOBSTAR:K._src});return V.forEach((K,G)=>{let W=V[G+1],O=V[G-1];if(K!==b0.GLOBSTAR||O===b0.GLOBSTAR)return;if(O===void 0)if(W!==void 0&&W!==b0.GLOBSTAR)V[G+1]="(?:\\/|"+Q+"\\/)?"+W;else V[G]=Q;else if(W===void 0)V[G-1]=O+"(?:\\/|"+Q+")?";else if(W!==b0.GLOBSTAR)V[G-1]=O+"(?:\\/|\\/"+Q+"\\/)"+W,V[G+1]=b0.GLOBSTAR}),V.filter((K)=>K!==b0.GLOBSTAR).join("/")}).join("|"),[q,B]=D.length>1?["(?:",")"]:["",""];if(J="^"+q+J+B+"$",this.negate)J="^(?!"+J+").+$";try{this.regexp=new RegExp(J,[...Y].join(""))}catch(H){this.regexp=!1}return this.regexp}slashSplit(D){if(this.preserveMultipleSlashes)return D.split("/");else if(this.isWindows&&/^\/\/[^\/]+/.test(D))return["",...D.split(/\/+/)];else return D.split(/\/+/)}match(D,Z=this.partial){if(this.debug("match",D,this.pattern),this.comment)return!1;if(this.empty)return D==="";if(D==="/"&&Z)return!0;let Q=this.options;if(this.isWindows)D=D.split("\\").join("/");let Y=this.slashSplit(D);this.debug(this.pattern,"split",Y);let J=this.set;this.debug(this.pattern,"set",J);let q=Y[Y.length-1];if(!q)for(let B=Y.length-2;!q&&B>=0;B--)q=Y[B];for(let B=0;B<J.length;B++){let H=J[B],V=Y;if(Q.matchBase&&H.length===1)V=[q];if(this.matchOne(V,H,Z)){if(Q.flipNegate)return!0;return!this.negate}}if(Q.flipNegate)return!1;return this.negate}static defaults(D){return b0.minimatch.defaults(D).Minimatch}}b0.Minimatch=l7;var mm=iB();Object.defineProperty(b0,"AST",{enumerable:!0,get:function(){return mm.AST}});var gm=nB();Object.defineProperty(b0,"escape",{enumerable:!0,get:function(){return gm.escape}});var cm=YQ();Object.defineProperty(b0,"unescape",{enumerable:!0,get:function(){return cm.unescape}});b0.minimatch.AST=UU.AST;b0.minimatch.Minimatch=l7;b0.minimatch.escape=Km.escape;b0.minimatch.unescape=Gm.unescape});var MU=M((GQ)=>{Object.defineProperty(GQ,"__esModule",{value:!0});GQ.LRUCache=void 0;var p7=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date,LU=new Set,rB=typeof process==="object"&&!!process?process:{},CU=(D,Z,Q,Y)=>{typeof rB.emitWarning==="function"?rB.emitWarning(D,Z,Q,Y):console.error(`[${Q}] ${Z}: ${D}`)},KQ=globalThis.AbortController,wU=globalThis.AbortSignal;if(typeof KQ==="undefined"){wU=class Q{onabort;_onabort=[];reason;aborted=!1;addEventListener(Y,J){this._onabort.push(J)}},KQ=class Q{constructor(){Z()}signal=new wU;abort(Y){if(this.signal.aborted)return;this.signal.reason=Y,this.signal.aborted=!0;for(let J of this.signal._onabort)J(Y);this.signal.onabort?.(Y)}};let D=rB.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",Z=()=>{if(!D)return;D=!1,CU("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",Z)}}var dm=(D)=>!LU.has(D),M60=Symbol("type"),s9=(D)=>D&&D===Math.floor(D)&&D>0&&isFinite(D),RU=(D)=>!s9(D)?null:D<=Math.pow(2,8)?Uint8Array:D<=Math.pow(2,16)?Uint16Array:D<=Math.pow(2,32)?Uint32Array:D<=Number.MAX_SAFE_INTEGER?E4:null;class E4 extends Array{constructor(D){super(D);this.fill(0)}}class i7{heap;length;static#D=!1;static create(D){let Z=RU(D);if(!Z)return[];i7.#D=!0;let Q=new i7(D,Z);return i7.#D=!1,Q}constructor(D,Z){if(!i7.#D)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new Z(D),this.length=0}push(D){this.heap[this.length++]=D}pop(){return this.heap[--this.length]}}class sB{#D;#Z;#q;#Y;#B;#w;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#K;#z;#H;#V;#J;#U;#A;#O;#W;#R;#F;#M;#I;#E;#L;#C;#X;static unsafeExposeInternals(D){return{starts:D.#I,ttls:D.#E,sizes:D.#M,keyMap:D.#H,keyList:D.#V,valList:D.#J,next:D.#U,prev:D.#A,get head(){return D.#O},get tail(){return D.#W},free:D.#R,isBackgroundFetch:(Z)=>D.#G(Z),backgroundFetch:(Z,Q,Y,J)=>D.#f(Z,Q,Y,J),moveToTail:(Z)=>D.#m(Z),indexes:(Z)=>D.#N(Z),rindexes:(Z)=>D.#P(Z),isStale:(Z)=>D.#$(Z)}}get max(){return this.#D}get maxSize(){return this.#Z}get calculatedSize(){return this.#z}get size(){return this.#K}get fetchMethod(){return this.#B}get memoMethod(){return this.#w}get dispose(){return this.#q}get disposeAfter(){return this.#Y}constructor(D){let{max:Z=0,ttl:Q,ttlResolution:Y=1,ttlAutopurge:J,updateAgeOnGet:q,updateAgeOnHas:B,allowStale:H,dispose:V,disposeAfter:K,noDisposeOnSet:G,noUpdateTTL:W,maxSize:O=0,maxEntrySize:F=0,sizeCalculation:E,fetchMethod:L,memoMethod:j,noDeleteOnFetchRejection:P,noDeleteOnStaleGet:u,allowStaleOnFetchRejection:U,allowStaleOnFetchAbort:X,ignoreFetchAbort:z}=D;if(Z!==0&&!s9(Z))throw new TypeError("max option must be a nonnegative integer");let A=Z?RU(Z):Array;if(!A)throw new Error("invalid max value: "+Z);if(this.#D=Z,this.#Z=O,this.maxEntrySize=F||this.#Z,this.sizeCalculation=E,this.sizeCalculation){if(!this.#Z&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!=="function")throw new TypeError("sizeCalculation set to non-function")}if(j!==void 0&&typeof j!=="function")throw new TypeError("memoMethod must be a function if defined");if(this.#w=j,L!==void 0&&typeof L!=="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#B=L,this.#C=!!L,this.#H=new Map,this.#V=new Array(Z).fill(void 0),this.#J=new Array(Z).fill(void 0),this.#U=new A(Z),this.#A=new A(Z),this.#O=0,this.#W=0,this.#R=i7.create(Z),this.#K=0,this.#z=0,typeof V==="function")this.#q=V;if(typeof K==="function")this.#Y=K,this.#F=[];else this.#Y=void 0,this.#F=void 0;if(this.#L=!!this.#q,this.#X=!!this.#Y,this.noDisposeOnSet=!!G,this.noUpdateTTL=!!W,this.noDeleteOnFetchRejection=!!P,this.allowStaleOnFetchRejection=!!U,this.allowStaleOnFetchAbort=!!X,this.ignoreFetchAbort=!!z,this.maxEntrySize!==0){if(this.#Z!==0){if(!s9(this.#Z))throw new TypeError("maxSize must be a positive integer if specified")}if(!s9(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#u()}if(this.allowStale=!!H,this.noDeleteOnStaleGet=!!u,this.updateAgeOnGet=!!q,this.updateAgeOnHas=!!B,this.ttlResolution=s9(Y)||Y===0?Y:1,this.ttlAutopurge=!!J,this.ttl=Q||0,this.ttl){if(!s9(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#S()}if(this.#D===0&&this.ttl===0&&this.#Z===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#D&&!this.#Z){if(dm("LRU_CACHE_UNBOUNDED"))LU.add("LRU_CACHE_UNBOUNDED"),CU("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning","LRU_CACHE_UNBOUNDED",sB)}}getRemainingTTL(D){return this.#H.has(D)?1/0:0}#S(){let D=new E4(this.#D),Z=new E4(this.#D);this.#E=D,this.#I=Z,this.#T=(J,q,B=p7.now())=>{if(Z[J]=q!==0?B:0,D[J]=q,q!==0&&this.ttlAutopurge){let H=setTimeout(()=>{if(this.#$(J))this.#v(this.#V[J],"expire")},q+1);if(H.unref)H.unref()}},this.#j=(J)=>{Z[J]=D[J]!==0?p7.now():0},this.#Q=(J,q)=>{if(D[q]){let B=D[q],H=Z[q];if(!B||!H)return;J.ttl=B,J.start=H,J.now=Q||Y();let V=J.now-H;J.remainingTTL=B-V}};let Q=0,Y=()=>{let J=p7.now();if(this.ttlResolution>0){Q=J;let q=setTimeout(()=>Q=0,this.ttlResolution);if(q.unref)q.unref()}return J};this.getRemainingTTL=(J)=>{let q=this.#H.get(J);if(q===void 0)return 0;let B=D[q],H=Z[q];if(!B||!H)return 1/0;let V=(Q||Y())-H;return B-V},this.#$=(J)=>{let q=Z[J],B=D[J];return!!B&&!!q&&(Q||Y())-q>B}}#j=()=>{};#Q=()=>{};#T=()=>{};#$=()=>!1;#u(){let D=new E4(this.#D);this.#z=0,this.#M=D,this.#b=(Z)=>{this.#z-=D[Z],D[Z]=0},this.#_=(Z,Q,Y,J)=>{if(this.#G(Q))return 0;if(!s9(Y))if(J){if(typeof J!=="function")throw new TypeError("sizeCalculation must be a function");if(Y=J(Q,Z),!s9(Y))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return Y},this.#h=(Z,Q,Y)=>{if(D[Z]=Q,this.#Z){let J=this.#Z-D[Z];while(this.#z>J)this.#y(!0)}if(this.#z+=D[Z],Y)Y.entrySize=Q,Y.totalCalculatedSize=this.#z}}#b=(D)=>{};#h=(D,Z,Q)=>{};#_=(D,Z,Q,Y)=>{if(Q||Y)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#N({allowStale:D=this.allowStale}={}){if(this.#K)for(let Z=this.#W;;){if(!this.#k(Z))break;if(D||!this.#$(Z))yield Z;if(Z===this.#O)break;else Z=this.#A[Z]}}*#P({allowStale:D=this.allowStale}={}){if(this.#K)for(let Z=this.#O;;){if(!this.#k(Z))break;if(D||!this.#$(Z))yield Z;if(Z===this.#W)break;else Z=this.#U[Z]}}#k(D){return D!==void 0&&this.#H.get(this.#V[D])===D}*entries(){for(let D of this.#N())if(this.#J[D]!==void 0&&this.#V[D]!==void 0&&!this.#G(this.#J[D]))yield[this.#V[D],this.#J[D]]}*rentries(){for(let D of this.#P())if(this.#J[D]!==void 0&&this.#V[D]!==void 0&&!this.#G(this.#J[D]))yield[this.#V[D],this.#J[D]]}*keys(){for(let D of this.#N()){let Z=this.#V[D];if(Z!==void 0&&!this.#G(this.#J[D]))yield Z}}*rkeys(){for(let D of this.#P()){let Z=this.#V[D];if(Z!==void 0&&!this.#G(this.#J[D]))yield Z}}*values(){for(let D of this.#N())if(this.#J[D]!==void 0&&!this.#G(this.#J[D]))yield this.#J[D]}*rvalues(){for(let D of this.#P())if(this.#J[D]!==void 0&&!this.#G(this.#J[D]))yield this.#J[D]}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(D,Z={}){for(let Q of this.#N()){let Y=this.#J[Q],J=this.#G(Y)?Y.__staleWhileFetching:Y;if(J===void 0)continue;if(D(J,this.#V[Q],this))return this.get(this.#V[Q],Z)}}forEach(D,Z=this){for(let Q of this.#N()){let Y=this.#J[Q],J=this.#G(Y)?Y.__staleWhileFetching:Y;if(J===void 0)continue;D.call(Z,J,this.#V[Q],this)}}rforEach(D,Z=this){for(let Q of this.#P()){let Y=this.#J[Q],J=this.#G(Y)?Y.__staleWhileFetching:Y;if(J===void 0)continue;D.call(Z,J,this.#V[Q],this)}}purgeStale(){let D=!1;for(let Z of this.#P({allowStale:!0}))if(this.#$(Z))this.#v(this.#V[Z],"expire"),D=!0;return D}info(D){let Z=this.#H.get(D);if(Z===void 0)return;let Q=this.#J[Z],Y=this.#G(Q)?Q.__staleWhileFetching:Q;if(Y===void 0)return;let J={value:Y};if(this.#E&&this.#I){let q=this.#E[Z],B=this.#I[Z];if(q&&B){let H=q-(p7.now()-B);J.ttl=H,J.start=Date.now()}}if(this.#M)J.size=this.#M[Z];return J}dump(){let D=[];for(let Z of this.#N({allowStale:!0})){let Q=this.#V[Z],Y=this.#J[Z],J=this.#G(Y)?Y.__staleWhileFetching:Y;if(J===void 0||Q===void 0)continue;let q={value:J};if(this.#E&&this.#I){q.ttl=this.#E[Z];let B=p7.now()-this.#I[Z];q.start=Math.floor(Date.now()-B)}if(this.#M)q.size=this.#M[Z];D.unshift([Q,q])}return D}load(D){this.clear();for(let[Z,Q]of D){if(Q.start){let Y=Date.now()-Q.start;Q.start=p7.now()-Y}this.set(Z,Q.value,Q)}}set(D,Z,Q={}){if(Z===void 0)return this.delete(D),this;let{ttl:Y=this.ttl,start:J,noDisposeOnSet:q=this.noDisposeOnSet,sizeCalculation:B=this.sizeCalculation,status:H}=Q,{noUpdateTTL:V=this.noUpdateTTL}=Q,K=this.#_(D,Z,Q.size||0,B);if(this.maxEntrySize&&K>this.maxEntrySize){if(H)H.set="miss",H.maxEntrySizeExceeded=!0;return this.#v(D,"set"),this}let G=this.#K===0?void 0:this.#H.get(D);if(G===void 0){if(G=this.#K===0?this.#W:this.#R.length!==0?this.#R.pop():this.#K===this.#D?this.#y(!1):this.#K,this.#V[G]=D,this.#J[G]=Z,this.#H.set(D,G),this.#U[this.#W]=G,this.#A[G]=this.#W,this.#W=G,this.#K++,this.#h(G,K,H),H)H.set="add";V=!1}else{this.#m(G);let W=this.#J[G];if(Z!==W){if(this.#C&&this.#G(W)){W.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:O}=W;if(O!==void 0&&!q){if(this.#L)this.#q?.(O,D,"set");if(this.#X)this.#F?.push([O,D,"set"])}}else if(!q){if(this.#L)this.#q?.(W,D,"set");if(this.#X)this.#F?.push([W,D,"set"])}if(this.#b(G),this.#h(G,K,H),this.#J[G]=Z,H){H.set="replace";let O=W&&this.#G(W)?W.__staleWhileFetching:W;if(O!==void 0)H.oldValue=O}}else if(H)H.set="update"}if(Y!==0&&!this.#E)this.#S();if(this.#E){if(!V)this.#T(G,Y,J);if(H)this.#Q(H,G)}if(!q&&this.#X&&this.#F){let W=this.#F,O;while(O=W?.shift())this.#Y?.(...O)}return this}pop(){try{while(this.#K){let D=this.#J[this.#O];if(this.#y(!0),this.#G(D)){if(D.__staleWhileFetching)return D.__staleWhileFetching}else if(D!==void 0)return D}}finally{if(this.#X&&this.#F){let D=this.#F,Z;while(Z=D?.shift())this.#Y?.(...Z)}}}#y(D){let Z=this.#O,Q=this.#V[Z],Y=this.#J[Z];if(this.#C&&this.#G(Y))Y.__abortController.abort(new Error("evicted"));else if(this.#L||this.#X){if(this.#L)this.#q?.(Y,Q,"evict");if(this.#X)this.#F?.push([Y,Q,"evict"])}if(this.#b(Z),D)this.#V[Z]=void 0,this.#J[Z]=void 0,this.#R.push(Z);if(this.#K===1)this.#O=this.#W=0,this.#R.length=0;else this.#O=this.#U[Z];return this.#H.delete(Q),this.#K--,Z}has(D,Z={}){let{updateAgeOnHas:Q=this.updateAgeOnHas,status:Y}=Z,J=this.#H.get(D);if(J!==void 0){let q=this.#J[J];if(this.#G(q)&&q.__staleWhileFetching===void 0)return!1;if(!this.#$(J)){if(Q)this.#j(J);if(Y)Y.has="hit",this.#Q(Y,J);return!0}else if(Y)Y.has="stale",this.#Q(Y,J)}else if(Y)Y.has="miss";return!1}peek(D,Z={}){let{allowStale:Q=this.allowStale}=Z,Y=this.#H.get(D);if(Y===void 0||!Q&&this.#$(Y))return;let J=this.#J[Y];return this.#G(J)?J.__staleWhileFetching:J}#f(D,Z,Q,Y){let J=Z===void 0?void 0:this.#J[Z];if(this.#G(J))return J;let q=new KQ,{signal:B}=Q;B?.addEventListener("abort",()=>q.abort(B.reason),{signal:q.signal});let H={signal:q.signal,options:Q,context:Y},V=(E,L=!1)=>{let{aborted:j}=q.signal,P=Q.ignoreFetchAbort&&E!==void 0;if(Q.status)if(j&&!L){if(Q.status.fetchAborted=!0,Q.status.fetchError=q.signal.reason,P)Q.status.fetchAbortIgnored=!0}else Q.status.fetchResolved=!0;if(j&&!P&&!L)return G(q.signal.reason);let u=O;if(this.#J[Z]===O)if(E===void 0)if(u.__staleWhileFetching)this.#J[Z]=u.__staleWhileFetching;else this.#v(D,"fetch");else{if(Q.status)Q.status.fetchUpdated=!0;this.set(D,E,H.options)}return E},K=(E)=>{if(Q.status)Q.status.fetchRejected=!0,Q.status.fetchError=E;return G(E)},G=(E)=>{let{aborted:L}=q.signal,j=L&&Q.allowStaleOnFetchAbort,P=j||Q.allowStaleOnFetchRejection,u=P||Q.noDeleteOnFetchRejection,U=O;if(this.#J[Z]===O){if(!u||U.__staleWhileFetching===void 0)this.#v(D,"fetch");else if(!j)this.#J[Z]=U.__staleWhileFetching}if(P){if(Q.status&&U.__staleWhileFetching!==void 0)Q.status.returnedStale=!0;return U.__staleWhileFetching}else if(U.__returned===U)throw E},W=(E,L)=>{let j=this.#B?.(D,J,H);if(j&&j instanceof Promise)j.then((P)=>E(P===void 0?void 0:P),L);q.signal.addEventListener("abort",()=>{if(!Q.ignoreFetchAbort||Q.allowStaleOnFetchAbort){if(E(void 0),Q.allowStaleOnFetchAbort)E=(P)=>V(P,!0)}})};if(Q.status)Q.status.fetchDispatched=!0;let O=new Promise(W).then(V,K),F=Object.assign(O,{__abortController:q,__staleWhileFetching:J,__returned:void 0});if(Z===void 0)this.set(D,F,{...H.options,status:void 0}),Z=this.#H.get(D);else this.#J[Z]=F;return F}#G(D){if(!this.#C)return!1;let Z=D;return!!Z&&Z instanceof Promise&&Z.hasOwnProperty("__staleWhileFetching")&&Z.__abortController instanceof KQ}async fetch(D,Z={}){let{allowStale:Q=this.allowStale,updateAgeOnGet:Y=this.updateAgeOnGet,noDeleteOnStaleGet:J=this.noDeleteOnStaleGet,ttl:q=this.ttl,noDisposeOnSet:B=this.noDisposeOnSet,size:H=0,sizeCalculation:V=this.sizeCalculation,noUpdateTTL:K=this.noUpdateTTL,noDeleteOnFetchRejection:G=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:W=this.allowStaleOnFetchRejection,ignoreFetchAbort:O=this.ignoreFetchAbort,allowStaleOnFetchAbort:F=this.allowStaleOnFetchAbort,context:E,forceRefresh:L=!1,status:j,signal:P}=Z;if(!this.#C){if(j)j.fetch="get";return this.get(D,{allowStale:Q,updateAgeOnGet:Y,noDeleteOnStaleGet:J,status:j})}let u={allowStale:Q,updateAgeOnGet:Y,noDeleteOnStaleGet:J,ttl:q,noDisposeOnSet:B,size:H,sizeCalculation:V,noUpdateTTL:K,noDeleteOnFetchRejection:G,allowStaleOnFetchRejection:W,allowStaleOnFetchAbort:F,ignoreFetchAbort:O,status:j,signal:P},U=this.#H.get(D);if(U===void 0){if(j)j.fetch="miss";let X=this.#f(D,U,u,E);return X.__returned=X}else{let X=this.#J[U];if(this.#G(X)){let C=Q&&X.__staleWhileFetching!==void 0;if(j){if(j.fetch="inflight",C)j.returnedStale=!0}return C?X.__staleWhileFetching:X.__returned=X}let z=this.#$(U);if(!L&&!z){if(j)j.fetch="hit";if(this.#m(U),Y)this.#j(U);if(j)this.#Q(j,U);return X}let A=this.#f(D,U,u,E),w=A.__staleWhileFetching!==void 0&&Q;if(j){if(j.fetch=z?"stale":"refresh",w&&z)j.returnedStale=!0}return w?A.__staleWhileFetching:A.__returned=A}}async forceFetch(D,Z={}){let Q=await this.fetch(D,Z);if(Q===void 0)throw new Error("fetch() returned undefined");return Q}memo(D,Z={}){let Q=this.#w;if(!Q)throw new Error("no memoMethod provided to constructor");let{context:Y,forceRefresh:J,...q}=Z,B=this.get(D,q);if(!J&&B!==void 0)return B;let H=Q(D,B,{options:q,context:Y});return this.set(D,H,q),H}get(D,Z={}){let{allowStale:Q=this.allowStale,updateAgeOnGet:Y=this.updateAgeOnGet,noDeleteOnStaleGet:J=this.noDeleteOnStaleGet,status:q}=Z,B=this.#H.get(D);if(B!==void 0){let H=this.#J[B],V=this.#G(H);if(q)this.#Q(q,B);if(this.#$(B)){if(q)q.get="stale";if(!V){if(!J)this.#v(D,"expire");if(q&&Q)q.returnedStale=!0;return Q?H:void 0}else{if(q&&Q&&H.__staleWhileFetching!==void 0)q.returnedStale=!0;return Q?H.__staleWhileFetching:void 0}}else{if(q)q.get="hit";if(V)return H.__staleWhileFetching;if(this.#m(B),Y)this.#j(B);return H}}else if(q)q.get="miss"}#x(D,Z){this.#A[Z]=D,this.#U[D]=Z}#m(D){if(D!==this.#W){if(D===this.#O)this.#O=this.#U[D];else this.#x(this.#A[D],this.#U[D]);this.#x(this.#W,D),this.#W=D}}delete(D){return this.#v(D,"delete")}#v(D,Z){let Q=!1;if(this.#K!==0){let Y=this.#H.get(D);if(Y!==void 0)if(Q=!0,this.#K===1)this.#g(Z);else{this.#b(Y);let J=this.#J[Y];if(this.#G(J))J.__abortController.abort(new Error("deleted"));else if(this.#L||this.#X){if(this.#L)this.#q?.(J,D,Z);if(this.#X)this.#F?.push([J,D,Z])}if(this.#H.delete(D),this.#V[Y]=void 0,this.#J[Y]=void 0,Y===this.#W)this.#W=this.#A[Y];else if(Y===this.#O)this.#O=this.#U[Y];else{let q=this.#A[Y];this.#U[q]=this.#U[Y];let B=this.#U[Y];this.#A[B]=this.#A[Y]}this.#K--,this.#R.push(Y)}}if(this.#X&&this.#F?.length){let Y=this.#F,J;while(J=Y?.shift())this.#Y?.(...J)}return Q}clear(){return this.#g("delete")}#g(D){for(let Z of this.#P({allowStale:!0})){let Q=this.#J[Z];if(this.#G(Q))Q.__abortController.abort(new Error("deleted"));else{let Y=this.#V[Z];if(this.#L)this.#q?.(Q,Y,D);if(this.#X)this.#F?.push([Q,Y,D])}}if(this.#H.clear(),this.#J.fill(void 0),this.#V.fill(void 0),this.#E&&this.#I)this.#E.fill(0),this.#I.fill(0);if(this.#M)this.#M.fill(0);if(this.#O=0,this.#W=0,this.#R.length=0,this.#z=0,this.#K=0,this.#X&&this.#F){let Z=this.#F,Q;while(Q=Z?.shift())this.#Y?.(...Q)}}}GQ.LRUCache=sB});var JH=M((Y8)=>{var lm=Y8&&Y8.__importDefault||function(D){return D&&D.__esModule?D:{default:D}};Object.defineProperty(Y8,"__esModule",{value:!0});Y8.Minipass=Y8.isWritable=Y8.isReadable=Y8.isStream=void 0;var IU=typeof process==="object"&&process?process:{stdout:null,stderr:null},ZH=require("node:events"),SU=lm(require("node:stream")),pm=require("node:string_decoder"),im=(D)=>!!D&&typeof D==="object"&&(D instanceof YH||D instanceof SU.default||Y8.isReadable(D)||Y8.isWritable(D));Y8.isStream=im;var nm=(D)=>!!D&&typeof D==="object"&&D instanceof ZH.EventEmitter&&typeof D.pipe==="function"&&D.pipe!==SU.default.Writable.prototype.pipe;Y8.isReadable=nm;var rm=(D)=>!!D&&typeof D==="object"&&D instanceof ZH.EventEmitter&&typeof D.write==="function"&&typeof D.end==="function";Y8.isWritable=rm;var U9=Symbol("EOF"),A9=Symbol("maybeEmitEnd"),a9=Symbol("emittedEnd"),zQ=Symbol("emittingEnd"),w4=Symbol("emittedError"),WQ=Symbol("closed"),jU=Symbol("read"),OQ=Symbol("flush"),NU=Symbol("flushChunk"),$2=Symbol("encoding"),n7=Symbol("decoder"),j5=Symbol("flowing"),L4=Symbol("paused"),r7=Symbol("resume"),N5=Symbol("buffer"),Q8=Symbol("pipes"),P5=Symbol("bufferLength"),aB=Symbol("bufferPush"),XQ=Symbol("bufferShift"),d5=Symbol("objectMode"),J5=Symbol("destroyed"),tB=Symbol("error"),oB=Symbol("emitData"),PU=Symbol("emitEnd"),eB=Symbol("emitEnd2"),f2=Symbol("async"),DH=Symbol("abort"),FQ=Symbol("aborted"),C4=Symbol("signal"),lD=Symbol("dataListeners"),P8=Symbol("discarded"),R4=(D)=>Promise.resolve().then(D),sm=(D)=>D(),am=(D)=>D==="end"||D==="finish"||D==="prefinish",tm=(D)=>D instanceof ArrayBuffer||!!D&&typeof D==="object"&&D.constructor&&D.constructor.name==="ArrayBuffer"&&D.byteLength>=0,om=(D)=>!Buffer.isBuffer(D)&&ArrayBuffer.isView(D);class QH{src;dest;opts;ondrain;constructor(D,Z,Q){this.src=D,this.dest=Z,this.opts=Q,this.ondrain=()=>D[r7](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(D){}end(){if(this.unpipe(),this.opts.end)this.dest.end()}}class uU extends QH{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(D,Z,Q){super(D,Z,Q);this.proxyErrors=(Y)=>Z.emit("error",Y),D.on("error",this.proxyErrors)}}var em=(D)=>!!D.objectMode,Dg=(D)=>!D.objectMode&&!!D.encoding&&D.encoding!=="buffer";class YH extends ZH.EventEmitter{[j5]=!1;[L4]=!1;[Q8]=[];[N5]=[];[d5];[$2];[f2];[n7];[U9]=!1;[a9]=!1;[zQ]=!1;[WQ]=!1;[w4]=null;[P5]=0;[J5]=!1;[C4];[FQ]=!1;[lD]=0;[P8]=!1;writable=!0;readable=!0;constructor(...D){let Z=D[0]||{};super();if(Z.objectMode&&typeof Z.encoding==="string")throw new TypeError("Encoding and objectMode may not be used together");if(em(Z))this[d5]=!0,this[$2]=null;else if(Dg(Z))this[$2]=Z.encoding,this[d5]=!1;else this[d5]=!1,this[$2]=null;if(this[f2]=!!Z.async,this[n7]=this[$2]?new pm.StringDecoder(this[$2]):null,Z&&Z.debugExposeBuffer===!0)Object.defineProperty(this,"buffer",{get:()=>this[N5]});if(Z&&Z.debugExposePipes===!0)Object.defineProperty(this,"pipes",{get:()=>this[Q8]});let{signal:Q}=Z;if(Q)if(this[C4]=Q,Q.aborted)this[DH]();else Q.addEventListener("abort",()=>this[DH]())}get bufferLength(){return this[P5]}get encoding(){return this[$2]}set encoding(D){throw new Error("Encoding must be set at instantiation time")}setEncoding(D){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[d5]}set objectMode(D){throw new Error("objectMode must be set at instantiation time")}get["async"](){return this[f2]}set["async"](D){this[f2]=this[f2]||!!D}[DH](){this[FQ]=!0,this.emit("abort",this[C4]?.reason),this.destroy(this[C4]?.reason)}get aborted(){return this[FQ]}set aborted(D){}write(D,Z,Q){if(this[FQ])return!1;if(this[U9])throw new Error("write after end");if(this[J5])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;if(typeof Z==="function")Q=Z,Z="utf8";if(!Z)Z="utf8";let Y=this[f2]?R4:sm;if(!this[d5]&&!Buffer.isBuffer(D)){if(om(D))D=Buffer.from(D.buffer,D.byteOffset,D.byteLength);else if(tm(D))D=Buffer.from(D);else if(typeof D!=="string")throw new Error("Non-contiguous data written to non-objectMode stream")}if(this[d5]){if(this[j5]&&this[P5]!==0)this[OQ](!0);if(this[j5])this.emit("data",D);else this[aB](D);if(this[P5]!==0)this.emit("readable");if(Q)Y(Q);return this[j5]}if(!D.length){if(this[P5]!==0)this.emit("readable");if(Q)Y(Q);return this[j5]}if(typeof D==="string"&&!(Z===this[$2]&&!this[n7]?.lastNeed))D=Buffer.from(D,Z);if(Buffer.isBuffer(D)&&this[$2])D=this[n7].write(D);if(this[j5]&&this[P5]!==0)this[OQ](!0);if(this[j5])this.emit("data",D);else this[aB](D);if(this[P5]!==0)this.emit("readable");if(Q)Y(Q);return this[j5]}read(D){if(this[J5])return null;if(this[P8]=!1,this[P5]===0||D===0||D&&D>this[P5])return this[A9](),null;if(this[d5])D=null;if(this[N5].length>1&&!this[d5])this[N5]=[this[$2]?this[N5].join(""):Buffer.concat(this[N5],this[P5])];let Z=this[jU](D||null,this[N5][0]);return this[A9](),Z}[jU](D,Z){if(this[d5])this[XQ]();else{let Q=Z;if(D===Q.length||D===null)this[XQ]();else if(typeof Q==="string")this[N5][0]=Q.slice(D),Z=Q.slice(0,D),this[P5]-=D;else this[N5][0]=Q.subarray(D),Z=Q.subarray(0,D),this[P5]-=D}if(this.emit("data",Z),!this[N5].length&&!this[U9])this.emit("drain");return Z}end(D,Z,Q){if(typeof D==="function")Q=D,D=void 0;if(typeof Z==="function")Q=Z,Z="utf8";if(D!==void 0)this.write(D,Z);if(Q)this.once("end",Q);if(this[U9]=!0,this.writable=!1,this[j5]||!this[L4])this[A9]();return this}[r7](){if(this[J5])return;if(!this[lD]&&!this[Q8].length)this[P8]=!0;if(this[L4]=!1,this[j5]=!0,this.emit("resume"),this[N5].length)this[OQ]();else if(this[U9])this[A9]();else this.emit("drain")}resume(){return this[r7]()}pause(){this[j5]=!1,this[L4]=!0,this[P8]=!1}get destroyed(){return this[J5]}get flowing(){return this[j5]}get paused(){return this[L4]}[aB](D){if(this[d5])this[P5]+=1;else this[P5]+=D.length;this[N5].push(D)}[XQ](){if(this[d5])this[P5]-=1;else this[P5]-=this[N5][0].length;return this[N5].shift()}[OQ](D=!1){do;while(this[NU](this[XQ]())&&this[N5].length);if(!D&&!this[N5].length&&!this[U9])this.emit("drain")}[NU](D){return this.emit("data",D),this[j5]}pipe(D,Z){if(this[J5])return D;this[P8]=!1;let Q=this[a9];if(Z=Z||{},D===IU.stdout||D===IU.stderr)Z.end=!1;else Z.end=Z.end!==!1;if(Z.proxyErrors=!!Z.proxyErrors,Q){if(Z.end)D.end()}else if(this[Q8].push(!Z.proxyErrors?new QH(this,D,Z):new uU(this,D,Z)),this[f2])R4(()=>this[r7]());else this[r7]();return D}unpipe(D){let Z=this[Q8].find((Q)=>Q.dest===D);if(Z){if(this[Q8].length===1){if(this[j5]&&this[lD]===0)this[j5]=!1;this[Q8]=[]}else this[Q8].splice(this[Q8].indexOf(Z),1);Z.unpipe()}}addListener(D,Z){return this.on(D,Z)}on(D,Z){let Q=super.on(D,Z);if(D==="data"){if(this[P8]=!1,this[lD]++,!this[Q8].length&&!this[j5])this[r7]()}else if(D==="readable"&&this[P5]!==0)super.emit("readable");else if(am(D)&&this[a9])super.emit(D),this.removeAllListeners(D);else if(D==="error"&&this[w4]){let Y=Z;if(this[f2])R4(()=>Y.call(this,this[w4]));else Y.call(this,this[w4])}return Q}removeListener(D,Z){return this.off(D,Z)}off(D,Z){let Q=super.off(D,Z);if(D==="data"){if(this[lD]=this.listeners("data").length,this[lD]===0&&!this[P8]&&!this[Q8].length)this[j5]=!1}return Q}removeAllListeners(D){let Z=super.removeAllListeners(D);if(D==="data"||D===void 0){if(this[lD]=0,!this[P8]&&!this[Q8].length)this[j5]=!1}return Z}get emittedEnd(){return this[a9]}[A9](){if(!this[zQ]&&!this[a9]&&!this[J5]&&this[N5].length===0&&this[U9]){if(this[zQ]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[WQ])this.emit("close");this[zQ]=!1}}emit(D,...Z){let Q=Z[0];if(D!=="error"&&D!=="close"&&D!==J5&&this[J5])return!1;else if(D==="data")return!this[d5]&&!Q?!1:this[f2]?(R4(()=>this[oB](Q)),!0):this[oB](Q);else if(D==="end")return this[PU]();else if(D==="close"){if(this[WQ]=!0,!this[a9]&&!this[J5])return!1;let J=super.emit("close");return this.removeAllListeners("close"),J}else if(D==="error"){this[w4]=Q,super.emit(tB,Q);let J=!this[C4]||this.listeners("error").length?super.emit("error",Q):!1;return this[A9](),J}else if(D==="resume"){let J=super.emit("resume");return this[A9](),J}else if(D==="finish"||D==="prefinish"){let J=super.emit(D);return this.removeAllListeners(D),J}let Y=super.emit(D,...Z);return this[A9](),Y}[oB](D){for(let Q of this[Q8])if(Q.dest.write(D)===!1)this.pause();let Z=this[P8]?!1:super.emit("data",D);return this[A9](),Z}[PU](){if(this[a9])return!1;return this[a9]=!0,this.readable=!1,this[f2]?(R4(()=>this[eB]()),!0):this[eB]()}[eB](){if(this[n7]){let Z=this[n7].end();if(Z){for(let Q of this[Q8])Q.dest.write(Z);if(!this[P8])super.emit("data",Z)}}for(let Z of this[Q8])Z.end();let D=super.emit("end");return this.removeAllListeners("end"),D}async collect(){let D=Object.assign([],{dataLength:0});if(!this[d5])D.dataLength=0;let Z=this.promise();return this.on("data",(Q)=>{if(D.push(Q),!this[d5])D.dataLength+=Q.length}),await Z,D}async concat(){if(this[d5])throw new Error("cannot concat in objectMode");let D=await this.collect();return this[$2]?D.join(""):Buffer.concat(D,D.dataLength)}async promise(){return new Promise((D,Z)=>{this.on(J5,()=>Z(new Error("stream destroyed"))),this.on("error",(Q)=>Z(Q)),this.on("end",()=>D())})}[Symbol.asyncIterator](){this[P8]=!1;let D=!1,Z=async()=>{return this.pause(),D=!0,{value:void 0,done:!0}};return{next:()=>{if(D)return Z();let Y=this.read();if(Y!==null)return Promise.resolve({done:!1,value:Y});if(this[U9])return Z();let J,q,B=(G)=>{this.off("data",H),this.off("end",V),this.off(J5,K),Z(),q(G)},H=(G)=>{this.off("error",B),this.off("end",V),this.off(J5,K),this.pause(),J({value:G,done:!!this[U9]})},V=()=>{this.off("error",B),this.off("data",H),this.off(J5,K),Z(),J({done:!0,value:void 0})},K=()=>B(new Error("stream destroyed"));return new Promise((G,W)=>{q=W,J=G,this.once(J5,K),this.once("error",B),this.once("end",V),this.once("data",H)})},throw:Z,return:Z,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[P8]=!1;let D=!1,Z=()=>{return this.pause(),this.off(tB,Z),this.off(J5,Z),this.off("end",Z),D=!0,{done:!0,value:void 0}},Q=()=>{if(D)return Z();let Y=this.read();return Y===null?Z():{done:!1,value:Y}};return this.once("end",Z),this.once(tB,Z),this.once(J5,Z),{next:Q,throw:Z,return:Z,[Symbol.iterator](){return this}}}destroy(D){if(this[J5]){if(D)this.emit("error",D);else this.emit(J5);return this}this[J5]=!0,this[P8]=!0,this[N5].length=0,this[P5]=0;let Z=this;if(typeof Z.close==="function"&&!this[WQ])Z.close();if(D)this.emit("error",D);else this.emit(J5);return this}static get isStream(){return Y8.isStream}}Y8.Minipass=YH});var pU=M((N1)=>{var Zg=N1&&N1.__createBinding||(Object.create?function(D,Z,Q,Y){if(Y===void 0)Y=Q;var J=Object.getOwnPropertyDescriptor(Z,Q);if(!J||("get"in J?!Z.__esModule:J.writable||J.configurable))J={enumerable:!0,get:function(){return Z[Q]}};Object.defineProperty(D,Y,J)}:function(D,Z,Q,Y){if(Y===void 0)Y=Q;D[Y]=Z[Q]}),Qg=N1&&N1.__setModuleDefault||(Object.create?function(D,Z){Object.defineProperty(D,"default",{enumerable:!0,value:Z})}:function(D,Z){D.default=Z}),Yg=N1&&N1.__importStar||function(D){if(D&&D.__esModule)return D;var Z={};if(D!=null){for(var Q in D)if(Q!=="default"&&Object.prototype.hasOwnProperty.call(D,Q))Zg(Z,D,Q)}return Qg(Z,D),Z};Object.defineProperty(N1,"__esModule",{value:!0});N1.PathScurry=N1.Path=N1.PathScurryDarwin=N1.PathScurryPosix=N1.PathScurryWin32=N1.PathScurryBase=N1.PathPosix=N1.PathWin32=N1.PathBase=N1.ChildrenCache=N1.ResolveCache=void 0;var kU=MU(),wQ=require("node:path"),Jg=require("node:url"),I4=require("fs"),qg=Yg(require("node:fs")),Bg=I4.realpathSync.native,UQ=require("node:fs/promises"),vU=JH(),j4={lstatSync:I4.lstatSync,readdir:I4.readdir,readdirSync:I4.readdirSync,readlinkSync:I4.readlinkSync,realpathSync:Bg,promises:{lstat:UQ.lstat,readdir:UQ.readdir,readlink:UQ.readlink,realpath:UQ.realpath}},yU=(D)=>!D||D===j4||D===qg?j4:{...j4,...D,promises:{...j4.promises,...D.promises||{}}},fU=/^\\\\\?\\([a-z]:)\\?$/i,Hg=(D)=>D.replace(/\//g,"\\").replace(fU,"$1\\"),Vg=/[\\\/]/,r8=0,xU=1,mU=2,x2=4,gU=6,cU=8,pD=10,dU=12,n8=15,M4=~n8,qH=16,TU=32,N4=64,E2=128,AQ=256,EQ=512,bU=N4|E2|EQ,Kg=1023,BH=(D)=>D.isFile()?cU:D.isDirectory()?x2:D.isSymbolicLink()?pD:D.isCharacterDevice()?mU:D.isBlockDevice()?gU:D.isSocket()?dU:D.isFIFO()?xU:r8,hU=new Map,P4=(D)=>{let Z=hU.get(D);if(Z)return Z;let Q=D.normalize("NFKD");return hU.set(D,Q),Q},_U=new Map,$Q=(D)=>{let Z=_U.get(D);if(Z)return Z;let Q=P4(D.toLowerCase());return _U.set(D,Q),Q};class LQ extends kU.LRUCache{constructor(){super({max:256})}}N1.ResolveCache=LQ;class HH extends kU.LRUCache{constructor(D=16384){super({maxSize:D,sizeCalculation:(Z)=>Z.length+1})}}N1.ChildrenCache=HH;var lU=Symbol("PathScurry setAsCwd");class l5{name;root;roots;parent;nocase;isCWD=!1;#D;#Z;get dev(){return this.#Z}#q;get mode(){return this.#q}#Y;get nlink(){return this.#Y}#B;get uid(){return this.#B}#w;get gid(){return this.#w}#K;get rdev(){return this.#K}#z;get blksize(){return this.#z}#H;get ino(){return this.#H}#V;get size(){return this.#V}#J;get blocks(){return this.#J}#U;get atimeMs(){return this.#U}#A;get mtimeMs(){return this.#A}#O;get ctimeMs(){return this.#O}#W;get birthtimeMs(){return this.#W}#R;get atime(){return this.#R}#F;get mtime(){return this.#F}#M;get ctime(){return this.#M}#I;get birthtime(){return this.#I}#E;#L;#C;#X;#S;#j;#Q;#T;#$;#u;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(D,Z=r8,Q,Y,J,q,B){if(this.name=D,this.#E=J?$Q(D):P4(D),this.#Q=Z&Kg,this.nocase=J,this.roots=Y,this.root=Q||this,this.#T=q,this.#C=B.fullpath,this.#S=B.relative,this.#j=B.relativePosix,this.parent=B.parent,this.parent)this.#D=this.parent.#D;else this.#D=yU(B.fs)}depth(){if(this.#L!==void 0)return this.#L;if(!this.parent)return this.#L=0;return this.#L=this.parent.depth()+1}childrenCache(){return this.#T}resolve(D){if(!D)return this;let Z=this.getRootString(D),Y=D.substring(Z.length).split(this.splitSep);return Z?this.getRoot(Z).#b(Y):this.#b(Y)}#b(D){let Z=this;for(let Q of D)Z=Z.child(Q);return Z}children(){let D=this.#T.get(this);if(D)return D;let Z=Object.assign([],{provisional:0});return this.#T.set(this,Z),this.#Q&=~qH,Z}child(D,Z){if(D===""||D===".")return this;if(D==="..")return this.parent||this;let Q=this.children(),Y=this.nocase?$Q(D):P4(D);for(let H of Q)if(H.#E===Y)return H;let J=this.parent?this.sep:"",q=this.#C?this.#C+J+D:void 0,B=this.newChild(D,r8,{...Z,parent:this,fullpath:q});if(!this.canReaddir())B.#Q|=E2;return Q.push(B),B}relative(){if(this.isCWD)return"";if(this.#S!==void 0)return this.#S;let D=this.name,Z=this.parent;if(!Z)return this.#S=this.name;let Q=Z.relative();return Q+(!Q||!Z.parent?"":this.sep)+D}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#j!==void 0)return this.#j;let D=this.name,Z=this.parent;if(!Z)return this.#j=this.fullpathPosix();let Q=Z.relativePosix();return Q+(!Q||!Z.parent?"":"/")+D}fullpath(){if(this.#C!==void 0)return this.#C;let D=this.name,Z=this.parent;if(!Z)return this.#C=this.name;let Y=Z.fullpath()+(!Z.parent?"":this.sep)+D;return this.#C=Y}fullpathPosix(){if(this.#X!==void 0)return this.#X;if(this.sep==="/")return this.#X=this.fullpath();if(!this.parent){let Y=this.fullpath().replace(/\\/g,"/");if(/^[a-z]:\//i.test(Y))return this.#X=`//?/${Y}`;else return this.#X=Y}let D=this.parent,Z=D.fullpathPosix(),Q=Z+(!Z||!D.parent?"":"/")+this.name;return this.#X=Q}isUnknown(){return(this.#Q&n8)===r8}isType(D){return this[`is${D}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#Q&n8)===cU}isDirectory(){return(this.#Q&n8)===x2}isCharacterDevice(){return(this.#Q&n8)===mU}isBlockDevice(){return(this.#Q&n8)===gU}isFIFO(){return(this.#Q&n8)===xU}isSocket(){return(this.#Q&n8)===dU}isSymbolicLink(){return(this.#Q&pD)===pD}lstatCached(){return this.#Q&TU?this:void 0}readlinkCached(){return this.#$}realpathCached(){return this.#u}readdirCached(){let D=this.children();return D.slice(0,D.provisional)}canReadlink(){if(this.#$)return!0;if(!this.parent)return!1;let D=this.#Q&n8;return!(D!==r8&&D!==pD||this.#Q&AQ||this.#Q&E2)}calledReaddir(){return!!(this.#Q&qH)}isENOENT(){return!!(this.#Q&E2)}isNamed(D){return!this.nocase?this.#E===P4(D):this.#E===$Q(D)}async readlink(){let D=this.#$;if(D)return D;if(!this.canReadlink())return;if(!this.parent)return;try{let Z=await this.#D.promises.readlink(this.fullpath()),Q=(await this.parent.realpath())?.resolve(Z);if(Q)return this.#$=Q}catch(Z){this.#G(Z.code);return}}readlinkSync(){let D=this.#$;if(D)return D;if(!this.canReadlink())return;if(!this.parent)return;try{let Z=this.#D.readlinkSync(this.fullpath()),Q=this.parent.realpathSync()?.resolve(Z);if(Q)return this.#$=Q}catch(Z){this.#G(Z.code);return}}#h(D){this.#Q|=qH;for(let Z=D.provisional;Z<D.length;Z++){let Q=D[Z];if(Q)Q.#_()}}#_(){if(this.#Q&E2)return;this.#Q=(this.#Q|E2)&M4,this.#N()}#N(){let D=this.children();D.provisional=0;for(let Z of D)Z.#_()}#P(){this.#Q|=EQ,this.#k()}#k(){if(this.#Q&N4)return;let D=this.#Q;if((D&n8)===x2)D&=M4;this.#Q=D|N4,this.#N()}#y(D=""){if(D==="ENOTDIR"||D==="EPERM")this.#k();else if(D==="ENOENT")this.#_();else this.children().provisional=0}#f(D=""){if(D==="ENOTDIR")this.parent.#k();else if(D==="ENOENT")this.#_()}#G(D=""){let Z=this.#Q;if(Z|=AQ,D==="ENOENT")Z|=E2;if(D==="EINVAL"||D==="UNKNOWN")Z&=M4;if(this.#Q=Z,D==="ENOTDIR"&&this.parent)this.parent.#k()}#x(D,Z){return this.#v(D,Z)||this.#m(D,Z)}#m(D,Z){let Q=BH(D),Y=this.newChild(D.name,Q,{parent:this}),J=Y.#Q&n8;if(J!==x2&&J!==pD&&J!==r8)Y.#Q|=N4;return Z.unshift(Y),Z.provisional++,Y}#v(D,Z){for(let Q=Z.provisional;Q<Z.length;Q++){let Y=Z[Q];if((this.nocase?$Q(D.name):P4(D.name))!==Y.#E)continue;return this.#g(D,Y,Q,Z)}}#g(D,Z,Q,Y){let J=Z.name;if(Z.#Q=Z.#Q&M4|BH(D),J!==D.name)Z.name=D.name;if(Q!==Y.provisional){if(Q===Y.length-1)Y.pop();else Y.splice(Q,1);Y.unshift(Z)}return Y.provisional++,Z}async lstat(){if((this.#Q&E2)===0)try{return this.#p(await this.#D.promises.lstat(this.fullpath())),this}catch(D){this.#f(D.code)}}lstatSync(){if((this.#Q&E2)===0)try{return this.#p(this.#D.lstatSync(this.fullpath())),this}catch(D){this.#f(D.code)}}#p(D){let{atime:Z,atimeMs:Q,birthtime:Y,birthtimeMs:J,blksize:q,blocks:B,ctime:H,ctimeMs:V,dev:K,gid:G,ino:W,mode:O,mtime:F,mtimeMs:E,nlink:L,rdev:j,size:P,uid:u}=D;this.#R=Z,this.#U=Q,this.#I=Y,this.#W=J,this.#z=q,this.#J=B,this.#M=H,this.#O=V,this.#Z=K,this.#w=G,this.#H=W,this.#q=O,this.#F=F,this.#A=E,this.#Y=L,this.#K=j,this.#V=P,this.#B=u;let U=BH(D);if(this.#Q=this.#Q&M4|U|TU,U!==r8&&U!==x2&&U!==pD)this.#Q|=N4}#d=[];#l=!1;#i(D){this.#l=!1;let Z=this.#d.slice();this.#d.length=0,Z.forEach((Q)=>Q(null,D))}readdirCB(D,Z=!1){if(!this.canReaddir()){if(Z)D(null,[]);else queueMicrotask(()=>D(null,[]));return}let Q=this.children();if(this.calledReaddir()){let J=Q.slice(0,Q.provisional);if(Z)D(null,J);else queueMicrotask(()=>D(null,J));return}if(this.#d.push(D),this.#l)return;this.#l=!0;let Y=this.fullpath();this.#D.readdir(Y,{withFileTypes:!0},(J,q)=>{if(J)this.#y(J.code),Q.provisional=0;else{for(let B of q)this.#x(B,Q);this.#h(Q)}this.#i(Q.slice(0,Q.provisional));return})}#c;async readdir(){if(!this.canReaddir())return[];let D=this.children();if(this.calledReaddir())return D.slice(0,D.provisional);let Z=this.fullpath();if(this.#c)await this.#c;else{let Q=()=>{};this.#c=new Promise((Y)=>Q=Y);try{for(let Y of await this.#D.promises.readdir(Z,{withFileTypes:!0}))this.#x(Y,D);this.#h(D)}catch(Y){this.#y(Y.code),D.provisional=0}this.#c=void 0,Q()}return D.slice(0,D.provisional)}readdirSync(){if(!this.canReaddir())return[];let D=this.children();if(this.calledReaddir())return D.slice(0,D.provisional);let Z=this.fullpath();try{for(let Q of this.#D.readdirSync(Z,{withFileTypes:!0}))this.#x(Q,D);this.#h(D)}catch(Q){this.#y(Q.code),D.provisional=0}return D.slice(0,D.provisional)}canReaddir(){if(this.#Q&bU)return!1;let D=n8&this.#Q;if(!(D===r8||D===x2||D===pD))return!1;return!0}shouldWalk(D,Z){return(this.#Q&x2)===x2&&!(this.#Q&bU)&&!D.has(this)&&(!Z||Z(this))}async realpath(){if(this.#u)return this.#u;if((EQ|AQ|E2)&this.#Q)return;try{let D=await this.#D.promises.realpath(this.fullpath());return this.#u=this.resolve(D)}catch(D){this.#P()}}realpathSync(){if(this.#u)return this.#u;if((EQ|AQ|E2)&this.#Q)return;try{let D=this.#D.realpathSync(this.fullpath());return this.#u=this.resolve(D)}catch(D){this.#P()}}[lU](D){if(D===this)return;D.isCWD=!1,this.isCWD=!0;let Z=new Set([]),Q=[],Y=this;while(Y&&Y.parent)Z.add(Y),Y.#S=Q.join(this.sep),Y.#j=Q.join("/"),Y=Y.parent,Q.push("..");Y=D;while(Y&&Y.parent&&!Z.has(Y))Y.#S=void 0,Y.#j=void 0,Y=Y.parent}}N1.PathBase=l5;class S4 extends l5{sep="\\";splitSep=Vg;constructor(D,Z=r8,Q,Y,J,q,B){super(D,Z,Q,Y,J,q,B)}newChild(D,Z=r8,Q={}){return new S4(D,Z,this.root,this.roots,this.nocase,this.childrenCache(),Q)}getRootString(D){return wQ.win32.parse(D).root}getRoot(D){if(D=Hg(D.toUpperCase()),D===this.root.name)return this.root;for(let[Z,Q]of Object.entries(this.roots))if(this.sameRoot(D,Z))return this.roots[D]=Q;return this.roots[D]=new RQ(D,this).root}sameRoot(D,Z=this.root.name){return D=D.toUpperCase().replace(/\//g,"\\").replace(fU,"$1\\"),D===Z}}N1.PathWin32=S4;class u4 extends l5{splitSep="/";sep="/";constructor(D,Z=r8,Q,Y,J,q,B){super(D,Z,Q,Y,J,q,B)}getRootString(D){return D.startsWith("/")?"/":""}getRoot(D){return this.root}newChild(D,Z=r8,Q={}){return new u4(D,Z,this.root,this.roots,this.nocase,this.childrenCache(),Q)}}N1.PathPosix=u4;class CQ{root;rootPath;roots;cwd;#D;#Z;#q;nocase;#Y;constructor(D=process.cwd(),Z,Q,{nocase:Y,childrenCacheSize:J=16384,fs:q=j4}={}){if(this.#Y=yU(q),D instanceof URL||D.startsWith("file://"))D=Jg.fileURLToPath(D);let B=Z.resolve(D);this.roots=Object.create(null),this.rootPath=this.parseRootPath(B),this.#D=new LQ,this.#Z=new LQ,this.#q=new HH(J);let H=B.substring(this.rootPath.length).split(Q);if(H.length===1&&!H[0])H.pop();if(Y===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=Y,this.root=this.newRoot(this.#Y),this.roots[this.rootPath]=this.root;let V=this.root,K=H.length-1,G=Z.sep,W=this.rootPath,O=!1;for(let F of H){let E=K--;V=V.child(F,{relative:new Array(E).fill("..").join(G),relativePosix:new Array(E).fill("..").join("/"),fullpath:W+=(O?"":G)+F}),O=!0}this.cwd=V}depth(D=this.cwd){if(typeof D==="string")D=this.cwd.resolve(D);return D.depth()}childrenCache(){return this.#q}resolve(...D){let Z="";for(let J=D.length-1;J>=0;J--){let q=D[J];if(!q||q===".")continue;if(Z=Z?`${q}/${Z}`:q,this.isAbsolute(q))break}let Q=this.#D.get(Z);if(Q!==void 0)return Q;let Y=this.cwd.resolve(Z).fullpath();return this.#D.set(Z,Y),Y}resolvePosix(...D){let Z="";for(let J=D.length-1;J>=0;J--){let q=D[J];if(!q||q===".")continue;if(Z=Z?`${q}/${Z}`:q,this.isAbsolute(q))break}let Q=this.#Z.get(Z);if(Q!==void 0)return Q;let Y=this.cwd.resolve(Z).fullpathPosix();return this.#Z.set(Z,Y),Y}relative(D=this.cwd){if(typeof D==="string")D=this.cwd.resolve(D);return D.relative()}relativePosix(D=this.cwd){if(typeof D==="string")D=this.cwd.resolve(D);return D.relativePosix()}basename(D=this.cwd){if(typeof D==="string")D=this.cwd.resolve(D);return D.name}dirname(D=this.cwd){if(typeof D==="string")D=this.cwd.resolve(D);return(D.parent||D).fullpath()}async readdir(D=this.cwd,Z={withFileTypes:!0}){if(typeof D==="string")D=this.cwd.resolve(D);else if(!(D instanceof l5))Z=D,D=this.cwd;let{withFileTypes:Q}=Z;if(!D.canReaddir())return[];else{let Y=await D.readdir();return Q?Y:Y.map((J)=>J.name)}}readdirSync(D=this.cwd,Z={withFileTypes:!0}){if(typeof D==="string")D=this.cwd.resolve(D);else if(!(D instanceof l5))Z=D,D=this.cwd;let{withFileTypes:Q=!0}=Z;if(!D.canReaddir())return[];else if(Q)return D.readdirSync();else return D.readdirSync().map((Y)=>Y.name)}async lstat(D=this.cwd){if(typeof D==="string")D=this.cwd.resolve(D);return D.lstat()}lstatSync(D=this.cwd){if(typeof D==="string")D=this.cwd.resolve(D);return D.lstatSync()}async readlink(D=this.cwd,{withFileTypes:Z}={withFileTypes:!1}){if(typeof D==="string")D=this.cwd.resolve(D);else if(!(D instanceof l5))Z=D.withFileTypes,D=this.cwd;let Q=await D.readlink();return Z?Q:Q?.fullpath()}readlinkSync(D=this.cwd,{withFileTypes:Z}={withFileTypes:!1}){if(typeof D==="string")D=this.cwd.resolve(D);else if(!(D instanceof l5))Z=D.withFileTypes,D=this.cwd;let Q=D.readlinkSync();return Z?Q:Q?.fullpath()}async realpath(D=this.cwd,{withFileTypes:Z}={withFileTypes:!1}){if(typeof D==="string")D=this.cwd.resolve(D);else if(!(D instanceof l5))Z=D.withFileTypes,D=this.cwd;let Q=await D.realpath();return Z?Q:Q?.fullpath()}realpathSync(D=this.cwd,{withFileTypes:Z}={withFileTypes:!1}){if(typeof D==="string")D=this.cwd.resolve(D);else if(!(D instanceof l5))Z=D.withFileTypes,D=this.cwd;let Q=D.realpathSync();return Z?Q:Q?.fullpath()}async walk(D=this.cwd,Z={}){if(typeof D==="string")D=this.cwd.resolve(D);else if(!(D instanceof l5))Z=D,D=this.cwd;let{withFileTypes:Q=!0,follow:Y=!1,filter:J,walkFilter:q}=Z,B=[];if(!J||J(D))B.push(Q?D:D.fullpath());let H=new Set,V=(G,W)=>{H.add(G),G.readdirCB((O,F)=>{if(O)return W(O);let E=F.length;if(!E)return W();let L=()=>{if(--E===0)W()};for(let j of F){if(!J||J(j))B.push(Q?j:j.fullpath());if(Y&&j.isSymbolicLink())j.realpath().then((P)=>P?.isUnknown()?P.lstat():P).then((P)=>P?.shouldWalk(H,q)?V(P,L):L());else if(j.shouldWalk(H,q))V(j,L);else L()}},!0)},K=D;return new Promise((G,W)=>{V(K,(O)=>{if(O)return W(O);G(B)})})}walkSync(D=this.cwd,Z={}){if(typeof D==="string")D=this.cwd.resolve(D);else if(!(D instanceof l5))Z=D,D=this.cwd;let{withFileTypes:Q=!0,follow:Y=!1,filter:J,walkFilter:q}=Z,B=[];if(!J||J(D))B.push(Q?D:D.fullpath());let H=new Set([D]);for(let V of H){let K=V.readdirSync();for(let G of K){if(!J||J(G))B.push(Q?G:G.fullpath());let W=G;if(G.isSymbolicLink()){if(!(Y&&(W=G.realpathSync())))continue;if(W.isUnknown())W.lstatSync()}if(W.shouldWalk(H,q))H.add(W)}}return B}[Symbol.asyncIterator](){return this.iterate()}iterate(D=this.cwd,Z={}){if(typeof D==="string")D=this.cwd.resolve(D);else if(!(D instanceof l5))Z=D,D=this.cwd;return this.stream(D,Z)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(D=this.cwd,Z={}){if(typeof D==="string")D=this.cwd.resolve(D);else if(!(D instanceof l5))Z=D,D=this.cwd;let{withFileTypes:Q=!0,follow:Y=!1,filter:J,walkFilter:q}=Z;if(!J||J(D))yield Q?D:D.fullpath();let B=new Set([D]);for(let H of B){let V=H.readdirSync();for(let K of V){if(!J||J(K))yield Q?K:K.fullpath();let G=K;if(K.isSymbolicLink()){if(!(Y&&(G=K.realpathSync())))continue;if(G.isUnknown())G.lstatSync()}if(G.shouldWalk(B,q))B.add(G)}}}stream(D=this.cwd,Z={}){if(typeof D==="string")D=this.cwd.resolve(D);else if(!(D instanceof l5))Z=D,D=this.cwd;let{withFileTypes:Q=!0,follow:Y=!1,filter:J,walkFilter:q}=Z,B=new vU.Minipass({objectMode:!0});if(!J||J(D))B.write(Q?D:D.fullpath());let H=new Set,V=[D],K=0,G=()=>{let W=!1;while(!W){let O=V.shift();if(!O){if(K===0)B.end();return}K++,H.add(O);let F=(L,j,P=!1)=>{if(L)return B.emit("error",L);if(Y&&!P){let u=[];for(let U of j)if(U.isSymbolicLink())u.push(U.realpath().then((X)=>X?.isUnknown()?X.lstat():X));if(u.length){Promise.all(u).then(()=>F(null,j,!0));return}}for(let u of j)if(u&&(!J||J(u))){if(!B.write(Q?u:u.fullpath()))W=!0}K--;for(let u of j){let U=u.realpathCached()||u;if(U.shouldWalk(H,q))V.push(U)}if(W&&!B.flowing)B.once("drain",G);else if(!E)G()},E=!0;O.readdirCB(F,!0),E=!1}};return G(),B}streamSync(D=this.cwd,Z={}){if(typeof D==="string")D=this.cwd.resolve(D);else if(!(D instanceof l5))Z=D,D=this.cwd;let{withFileTypes:Q=!0,follow:Y=!1,filter:J,walkFilter:q}=Z,B=new vU.Minipass({objectMode:!0}),H=new Set;if(!J||J(D))B.write(Q?D:D.fullpath());let V=[D],K=0,G=()=>{let W=!1;while(!W){let O=V.shift();if(!O){if(K===0)B.end();return}K++,H.add(O);let F=O.readdirSync();for(let E of F)if(!J||J(E)){if(!B.write(Q?E:E.fullpath()))W=!0}K--;for(let E of F){let L=E;if(E.isSymbolicLink()){if(!(Y&&(L=E.realpathSync())))continue;if(L.isUnknown())L.lstatSync()}if(L.shouldWalk(H,q))V.push(L)}}if(W&&!B.flowing)B.once("drain",G)};return G(),B}chdir(D=this.cwd){let Z=this.cwd;this.cwd=typeof D==="string"?this.cwd.resolve(D):D,this.cwd[lU](Z)}}N1.PathScurryBase=CQ;class RQ extends CQ{sep="\\";constructor(D=process.cwd(),Z={}){let{nocase:Q=!0}=Z;super(D,wQ.win32,"\\",{...Z,nocase:Q});this.nocase=Q;for(let Y=this.cwd;Y;Y=Y.parent)Y.nocase=this.nocase}parseRootPath(D){return wQ.win32.parse(D).root.toUpperCase()}newRoot(D){return new S4(this.rootPath,x2,void 0,this.roots,this.nocase,this.childrenCache(),{fs:D})}isAbsolute(D){return D.startsWith("/")||D.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(D)}}N1.PathScurryWin32=RQ;class MQ extends CQ{sep="/";constructor(D=process.cwd(),Z={}){let{nocase:Q=!1}=Z;super(D,wQ.posix,"/",{...Z,nocase:Q});this.nocase=Q}parseRootPath(D){return"/"}newRoot(D){return new u4(this.rootPath,x2,void 0,this.roots,this.nocase,this.childrenCache(),{fs:D})}isAbsolute(D){return D.startsWith("/")}}N1.PathScurryPosix=MQ;class VH extends MQ{constructor(D=process.cwd(),Z={}){let{nocase:Q=!0}=Z;super(D,{...Z,nocase:Q})}}N1.PathScurryDarwin=VH;N1.Path=process.platform==="win32"?S4:u4;N1.PathScurry=process.platform==="win32"?RQ:process.platform==="darwin"?VH:MQ});var GH=M((IQ)=>{Object.defineProperty(IQ,"__esModule",{value:!0});IQ.Pattern=void 0;var Gg=r9(),zg=(D)=>D.length>=1,Wg=(D)=>D.length>=1;class KH{#D;#Z;#q;length;#Y;#B;#w;#K;#z;#H;#V=!0;constructor(D,Z,Q,Y){if(!zg(D))throw new TypeError("empty pattern list");if(!Wg(Z))throw new TypeError("empty glob list");if(Z.length!==D.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=D.length,Q<0||Q>=this.length)throw new TypeError("index out of range");if(this.#D=D,this.#Z=Z,this.#q=Q,this.#Y=Y,this.#q===0){if(this.isUNC()){let[J,q,B,H,...V]=this.#D,[K,G,W,O,...F]=this.#Z;if(V[0]==="")V.shift(),F.shift();let E=[J,q,B,H,""].join("/"),L=[K,G,W,O,""].join("/");this.#D=[E,...V],this.#Z=[L,...F],this.length=this.#D.length}else if(this.isDrive()||this.isAbsolute()){let[J,...q]=this.#D,[B,...H]=this.#Z;if(q[0]==="")q.shift(),H.shift();let V=J+"/",K=B+"/";this.#D=[V,...q],this.#Z=[K,...H],this.length=this.#D.length}}}pattern(){return this.#D[this.#q]}isString(){return typeof this.#D[this.#q]==="string"}isGlobstar(){return this.#D[this.#q]===Gg.GLOBSTAR}isRegExp(){return this.#D[this.#q]instanceof RegExp}globString(){return this.#w=this.#w||(this.#q===0?this.isAbsolute()?this.#Z[0]+this.#Z.slice(1).join("/"):this.#Z.join("/"):this.#Z.slice(this.#q).join("/"))}hasMore(){return this.length>this.#q+1}rest(){if(this.#B!==void 0)return this.#B;if(!this.hasMore())return this.#B=null;return this.#B=new KH(this.#D,this.#Z,this.#q+1,this.#Y),this.#B.#H=this.#H,this.#B.#z=this.#z,this.#B.#K=this.#K,this.#B}isUNC(){let D=this.#D;return this.#z!==void 0?this.#z:this.#z=this.#Y==="win32"&&this.#q===0&&D[0]===""&&D[1]===""&&typeof D[2]==="string"&&!!D[2]&&typeof D[3]==="string"&&!!D[3]}isDrive(){let D=this.#D;return this.#K!==void 0?this.#K:this.#K=this.#Y==="win32"&&this.#q===0&&this.length>1&&typeof D[0]==="string"&&/^[a-z]:$/i.test(D[0])}isAbsolute(){let D=this.#D;return this.#H!==void 0?this.#H:this.#H=D[0]===""&&D.length>1||this.isDrive()||this.isUNC()}root(){let D=this.#D[0];return typeof D==="string"&&this.isAbsolute()&&this.#q===0?D:""}checkFollowGlobstar(){return!(this.#q===0||!this.isGlobstar()||!this.#V)}markFollowGlobstar(){if(this.#q===0||!this.isGlobstar()||!this.#V)return!1;return this.#V=!1,!0}}IQ.Pattern=KH});var zH=M((jQ)=>{Object.defineProperty(jQ,"__esModule",{value:!0});jQ.Ignore=void 0;var iU=r9(),Og=GH(),Xg=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class nU{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(D,{nobrace:Z,nocase:Q,noext:Y,noglobstar:J,platform:q=Xg}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=q,this.mmopts={dot:!0,nobrace:Z,nocase:Q,noext:Y,noglobstar:J,optimizationLevel:2,platform:q,nocomment:!0,nonegate:!0};for(let B of D)this.add(B)}add(D){let Z=new iU.Minimatch(D,this.mmopts);for(let Q=0;Q<Z.set.length;Q++){let Y=Z.set[Q],J=Z.globParts[Q];if(!Y||!J)throw new Error("invalid pattern object");while(Y[0]==="."&&J[0]===".")Y.shift(),J.shift();let q=new Og.Pattern(Y,J,0,this.platform),B=new iU.Minimatch(q.globString(),this.mmopts),H=J[J.length-1]==="**",V=q.isAbsolute();if(V)this.absolute.push(B);else this.relative.push(B);if(H)if(V)this.absoluteChildren.push(B);else this.relativeChildren.push(B)}}ignored(D){let Z=D.fullpath(),Q=`${Z}/`,Y=D.relative()||".",J=`${Y}/`;for(let q of this.relative)if(q.match(Y)||q.match(J))return!0;for(let q of this.absolute)if(q.match(Z)||q.match(Q))return!0;return!1}childrenIgnored(D){let Z=D.fullpath()+"/",Q=(D.relative()||".")+"/";for(let Y of this.relativeChildren)if(Y.match(Q))return!0;for(let Y of this.absoluteChildren)if(Y.match(Z))return!0;return!1}}jQ.Ignore=nU});var sU=M((m2)=>{Object.defineProperty(m2,"__esModule",{value:!0});m2.Processor=m2.SubWalks=m2.MatchRecord=m2.HasWalkedCache=void 0;var rU=r9();class NQ{store;constructor(D=new Map){this.store=D}copy(){return new NQ(new Map(this.store))}hasWalked(D,Z){return this.store.get(D.fullpath())?.has(Z.globString())}storeWalked(D,Z){let Q=D.fullpath(),Y=this.store.get(Q);if(Y)Y.add(Z.globString());else this.store.set(Q,new Set([Z.globString()]))}}m2.HasWalkedCache=NQ;class WH{store=new Map;add(D,Z,Q){let Y=(Z?2:0)|(Q?1:0),J=this.store.get(D);this.store.set(D,J===void 0?Y:Y&J)}entries(){return[...this.store.entries()].map(([D,Z])=>[D,!!(Z&2),!!(Z&1)])}}m2.MatchRecord=WH;class OH{store=new Map;add(D,Z){if(!D.canReaddir())return;let Q=this.store.get(D);if(Q){if(!Q.find((Y)=>Y.globString()===Z.globString()))Q.push(Z)}else this.store.set(D,[Z])}get(D){let Z=this.store.get(D);if(!Z)throw new Error("attempting to walk unknown path");return Z}entries(){return this.keys().map((D)=>[D,this.store.get(D)])}keys(){return[...this.store.keys()].filter((D)=>D.canReaddir())}}m2.SubWalks=OH;class XH{hasWalkedCache;matches=new WH;subwalks=new OH;patterns;follow;dot;opts;constructor(D,Z){this.opts=D,this.follow=!!D.follow,this.dot=!!D.dot,this.hasWalkedCache=Z?Z.copy():new NQ}processPatterns(D,Z){this.patterns=Z;let Q=Z.map((Y)=>[D,Y]);for(let[Y,J]of Q){this.hasWalkedCache.storeWalked(Y,J);let q=J.root(),B=J.isAbsolute()&&this.opts.absolute!==!1;if(q){Y=Y.resolve(q==="/"&&this.opts.root!==void 0?this.opts.root:q);let G=J.rest();if(!G){this.matches.add(Y,!0,!1);continue}else J=G}if(Y.isENOENT())continue;let H,V,K=!1;while(typeof(H=J.pattern())==="string"&&(V=J.rest()))Y=Y.resolve(H),J=V,K=!0;if(H=J.pattern(),V=J.rest(),K){if(this.hasWalkedCache.hasWalked(Y,J))continue;this.hasWalkedCache.storeWalked(Y,J)}if(typeof H==="string"){let G=H===".."||H===""||H===".";this.matches.add(Y.resolve(H),B,G);continue}else if(H===rU.GLOBSTAR){if(!Y.isSymbolicLink()||this.follow||J.checkFollowGlobstar())this.subwalks.add(Y,J);let G=V?.pattern(),W=V?.rest();if(!V||(G===""||G===".")&&!W)this.matches.add(Y,B,G===""||G===".");else if(G===".."){let O=Y.parent||Y;if(!W)this.matches.add(O,B,!0);else if(!this.hasWalkedCache.hasWalked(O,W))this.subwalks.add(O,W)}}else if(H instanceof RegExp)this.subwalks.add(Y,J)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new XH(this.opts,this.hasWalkedCache)}filterEntries(D,Z){let Q=this.subwalks.get(D),Y=this.child();for(let J of Z)for(let q of Q){let B=q.isAbsolute(),H=q.pattern(),V=q.rest();if(H===rU.GLOBSTAR)Y.testGlobstar(J,q,V,B);else if(H instanceof RegExp)Y.testRegExp(J,H,V,B);else Y.testString(J,H,V,B)}return Y}testGlobstar(D,Z,Q,Y){if(this.dot||!D.name.startsWith(".")){if(!Z.hasMore())this.matches.add(D,Y,!1);if(D.canReaddir()){if(this.follow||!D.isSymbolicLink())this.subwalks.add(D,Z);else if(D.isSymbolicLink()){if(Q&&Z.checkFollowGlobstar())this.subwalks.add(D,Q);else if(Z.markFollowGlobstar())this.subwalks.add(D,Z)}}}if(Q){let J=Q.pattern();if(typeof J==="string"&&J!==".."&&J!==""&&J!==".")this.testString(D,J,Q.rest(),Y);else if(J===".."){let q=D.parent||D;this.subwalks.add(q,Q)}else if(J instanceof RegExp)this.testRegExp(D,J,Q.rest(),Y)}}testRegExp(D,Z,Q,Y){if(!Z.test(D.name))return;if(!Q)this.matches.add(D,Y,!1);else this.subwalks.add(D,Q)}testString(D,Z,Q,Y){if(!D.isNamed(Z))return;if(!Q)this.matches.add(D,Y,!1);else this.subwalks.add(D,Q)}}m2.Processor=XH});var DA=M((t9)=>{Object.defineProperty(t9,"__esModule",{value:!0});t9.GlobStream=t9.GlobWalker=t9.GlobUtil=void 0;var Fg=JH(),aU=zH(),tU=sU(),Ug=(D,Z)=>typeof D==="string"?new aU.Ignore([D],Z):Array.isArray(D)?new aU.Ignore(D,Z):D;class PQ{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#D=[];#Z;#q;signal;maxDepth;includeChildMatches;constructor(D,Z,Q){if(this.patterns=D,this.path=Z,this.opts=Q,this.#q=!Q.posix&&Q.platform==="win32"?"\\":"/",this.includeChildMatches=Q.includeChildMatches!==!1,Q.ignore||!this.includeChildMatches){if(this.#Z=Ug(Q.ignore??[],Q),!this.includeChildMatches&&typeof this.#Z.add!=="function")throw new Error("cannot ignore child matches, ignore lacks add() method.")}if(this.maxDepth=Q.maxDepth||1/0,Q.signal)this.signal=Q.signal,this.signal.addEventListener("abort",()=>{this.#D.length=0})}#Y(D){return this.seen.has(D)||!!this.#Z?.ignored?.(D)}#B(D){return!!this.#Z?.childrenIgnored?.(D)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let D=void 0;while(!this.paused&&(D=this.#D.shift()))D()}onResume(D){if(this.signal?.aborted)return;if(!this.paused)D();else this.#D.push(D)}async matchCheck(D,Z){if(Z&&this.opts.nodir)return;let Q;if(this.opts.realpath){if(Q=D.realpathCached()||await D.realpath(),!Q)return;D=Q}let J=D.isUnknown()||this.opts.stat?await D.lstat():D;if(this.opts.follow&&this.opts.nodir&&J?.isSymbolicLink()){let q=await J.realpath();if(q&&(q.isUnknown()||this.opts.stat))await q.lstat()}return this.matchCheckTest(J,Z)}matchCheckTest(D,Z){return D&&(this.maxDepth===1/0||D.depth()<=this.maxDepth)&&(!Z||D.canReaddir())&&(!this.opts.nodir||!D.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!D.isSymbolicLink()||!D.realpathCached()?.isDirectory())&&!this.#Y(D)?D:void 0}matchCheckSync(D,Z){if(Z&&this.opts.nodir)return;let Q;if(this.opts.realpath){if(Q=D.realpathCached()||D.realpathSync(),!Q)return;D=Q}let J=D.isUnknown()||this.opts.stat?D.lstatSync():D;if(this.opts.follow&&this.opts.nodir&&J?.isSymbolicLink()){let q=J.realpathSync();if(q&&(q?.isUnknown()||this.opts.stat))q.lstatSync()}return this.matchCheckTest(J,Z)}matchFinish(D,Z){if(this.#Y(D))return;if(!this.includeChildMatches&&this.#Z?.add){let J=`${D.relativePosix()}/**`;this.#Z.add(J)}let Q=this.opts.absolute===void 0?Z:this.opts.absolute;this.seen.add(D);let Y=this.opts.mark&&D.isDirectory()?this.#q:"";if(this.opts.withFileTypes)this.matchEmit(D);else if(Q){let J=this.opts.posix?D.fullpathPosix():D.fullpath();this.matchEmit(J+Y)}else{let J=this.opts.posix?D.relativePosix():D.relative(),q=this.opts.dotRelative&&!J.startsWith(".."+this.#q)?"."+this.#q:"";this.matchEmit(!J?"."+Y:q+J+Y)}}async match(D,Z,Q){let Y=await this.matchCheck(D,Q);if(Y)this.matchFinish(Y,Z)}matchSync(D,Z,Q){let Y=this.matchCheckSync(D,Q);if(Y)this.matchFinish(Y,Z)}walkCB(D,Z,Q){if(this.signal?.aborted)Q();this.walkCB2(D,Z,new tU.Processor(this.opts),Q)}walkCB2(D,Z,Q,Y){if(this.#B(D))return Y();if(this.signal?.aborted)Y();if(this.paused){this.onResume(()=>this.walkCB2(D,Z,Q,Y));return}Q.processPatterns(D,Z);let J=1,q=()=>{if(--J===0)Y()};for(let[B,H,V]of Q.matches.entries()){if(this.#Y(B))continue;J++,this.match(B,H,V).then(()=>q())}for(let B of Q.subwalkTargets()){if(this.maxDepth!==1/0&&B.depth()>=this.maxDepth)continue;J++;let H=B.readdirCached();if(B.calledReaddir())this.walkCB3(B,H,Q,q);else B.readdirCB((V,K)=>this.walkCB3(B,K,Q,q),!0)}q()}walkCB3(D,Z,Q,Y){Q=Q.filterEntries(D,Z);let J=1,q=()=>{if(--J===0)Y()};for(let[B,H,V]of Q.matches.entries()){if(this.#Y(B))continue;J++,this.match(B,H,V).then(()=>q())}for(let[B,H]of Q.subwalks.entries())J++,this.walkCB2(B,H,Q.child(),q);q()}walkCBSync(D,Z,Q){if(this.signal?.aborted)Q();this.walkCB2Sync(D,Z,new tU.Processor(this.opts),Q)}walkCB2Sync(D,Z,Q,Y){if(this.#B(D))return Y();if(this.signal?.aborted)Y();if(this.paused){this.onResume(()=>this.walkCB2Sync(D,Z,Q,Y));return}Q.processPatterns(D,Z);let J=1,q=()=>{if(--J===0)Y()};for(let[B,H,V]of Q.matches.entries()){if(this.#Y(B))continue;this.matchSync(B,H,V)}for(let B of Q.subwalkTargets()){if(this.maxDepth!==1/0&&B.depth()>=this.maxDepth)continue;J++;let H=B.readdirSync();this.walkCB3Sync(B,H,Q,q)}q()}walkCB3Sync(D,Z,Q,Y){Q=Q.filterEntries(D,Z);let J=1,q=()=>{if(--J===0)Y()};for(let[B,H,V]of Q.matches.entries()){if(this.#Y(B))continue;this.matchSync(B,H,V)}for(let[B,H]of Q.subwalks.entries())J++,this.walkCB2Sync(B,H,Q.child(),q);q()}}t9.GlobUtil=PQ;class oU extends PQ{matches=new Set;constructor(D,Z,Q){super(D,Z,Q)}matchEmit(D){this.matches.add(D)}async walk(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown())await this.path.lstat();return await new Promise((D,Z)=>{this.walkCB(this.path,this.patterns,()=>{if(this.signal?.aborted)Z(this.signal.reason);else D(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown())this.path.lstatSync();return this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}}t9.GlobWalker=oU;class eU extends PQ{results;constructor(D,Z,Q){super(D,Z,Q);this.results=new Fg.Minipass({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(D){if(this.results.write(D),!this.results.flowing)this.pause()}stream(){let D=this.path;if(D.isUnknown())D.lstat().then(()=>{this.walkCB(D,this.patterns,()=>this.results.end())});else this.walkCB(D,this.patterns,()=>this.results.end());return this.results}streamSync(){if(this.path.isUnknown())this.path.lstatSync();return this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}}t9.GlobStream=eU});var FH=M((vQ)=>{Object.defineProperty(vQ,"__esModule",{value:!0});vQ.Glob=void 0;var Ag=r9(),$g=require("node:url"),SQ=pU(),Eg=GH(),uQ=DA(),wg=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class ZA{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(D,Z){if(!Z)throw new TypeError("glob options required");if(this.withFileTypes=!!Z.withFileTypes,this.signal=Z.signal,this.follow=!!Z.follow,this.dot=!!Z.dot,this.dotRelative=!!Z.dotRelative,this.nodir=!!Z.nodir,this.mark=!!Z.mark,!Z.cwd)this.cwd="";else if(Z.cwd instanceof URL||Z.cwd.startsWith("file://"))Z.cwd=$g.fileURLToPath(Z.cwd);if(this.cwd=Z.cwd||"",this.root=Z.root,this.magicalBraces=!!Z.magicalBraces,this.nobrace=!!Z.nobrace,this.noext=!!Z.noext,this.realpath=!!Z.realpath,this.absolute=Z.absolute,this.includeChildMatches=Z.includeChildMatches!==!1,this.noglobstar=!!Z.noglobstar,this.matchBase=!!Z.matchBase,this.maxDepth=typeof Z.maxDepth==="number"?Z.maxDepth:1/0,this.stat=!!Z.stat,this.ignore=Z.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof D==="string")D=[D];if(this.windowsPathsNoEscape=!!Z.windowsPathsNoEscape||Z.allowWindowsEscape===!1,this.windowsPathsNoEscape)D=D.map((H)=>H.replace(/\\/g,"/"));if(this.matchBase){if(Z.noglobstar)throw new TypeError("base matching requires globstar");D=D.map((H)=>H.includes("/")?H:`./**/${H}`)}if(this.pattern=D,this.platform=Z.platform||wg,this.opts={...Z,platform:this.platform},Z.scurry){if(this.scurry=Z.scurry,Z.nocase!==void 0&&Z.nocase!==Z.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let H=Z.platform==="win32"?SQ.PathScurryWin32:Z.platform==="darwin"?SQ.PathScurryDarwin:Z.platform?SQ.PathScurryPosix:SQ.PathScurry;this.scurry=new H(this.cwd,{nocase:Z.nocase,fs:Z.fs})}this.nocase=this.scurry.nocase;let Q=this.platform==="darwin"||this.platform==="win32",Y={...Z,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:Q,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},J=this.pattern.map((H)=>new Ag.Minimatch(H,Y)),[q,B]=J.reduce((H,V)=>{return H[0].push(...V.set),H[1].push(...V.globParts),H},[[],[]]);this.patterns=q.map((H,V)=>{let K=B[V];if(!K)throw new Error("invalid pattern object");return new Eg.Pattern(H,K,0,this.platform)})}async walk(){return[...await new uQ.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new uQ.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new uQ.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new uQ.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}}vQ.Glob=ZA});var UH=M((TQ)=>{Object.defineProperty(TQ,"__esModule",{value:!0});TQ.hasMagic=void 0;var Lg=r9(),Cg=(D,Z={})=>{if(!Array.isArray(D))D=[D];for(let Q of D)if(new Lg.Minimatch(Q,Z).hasMagic())return!0;return!1};TQ.hasMagic=Cg});var b4=M((O1)=>{Object.defineProperty(O1,"__esModule",{value:!0});O1.glob=O1.sync=O1.iterate=O1.iterateSync=O1.stream=O1.streamSync=O1.Ignore=O1.hasMagic=O1.Glob=O1.unescape=O1.escape=void 0;O1.globStreamSync=v4;O1.globStream=AH;O1.globSync=$H;O1.globIterateSync=T4;O1.globIterate=EH;var QA=r9(),iD=FH(),Rg=UH(),JA=r9();Object.defineProperty(O1,"escape",{enumerable:!0,get:function(){return JA.escape}});Object.defineProperty(O1,"unescape",{enumerable:!0,get:function(){return JA.unescape}});var Mg=FH();Object.defineProperty(O1,"Glob",{enumerable:!0,get:function(){return Mg.Glob}});var Ig=UH();Object.defineProperty(O1,"hasMagic",{enumerable:!0,get:function(){return Ig.hasMagic}});var jg=zH();Object.defineProperty(O1,"Ignore",{enumerable:!0,get:function(){return jg.Ignore}});function v4(D,Z={}){return new iD.Glob(D,Z).streamSync()}function AH(D,Z={}){return new iD.Glob(D,Z).stream()}function $H(D,Z={}){return new iD.Glob(D,Z).walkSync()}async function YA(D,Z={}){return new iD.Glob(D,Z).walk()}function T4(D,Z={}){return new iD.Glob(D,Z).iterateSync()}function EH(D,Z={}){return new iD.Glob(D,Z).iterate()}O1.streamSync=v4;O1.stream=Object.assign(AH,{sync:v4});O1.iterateSync=T4;O1.iterate=Object.assign(EH,{sync:T4});O1.sync=Object.assign($H,{stream:v4,iterate:T4});O1.glob=Object.assign(YA,{glob:YA,globSync:$H,sync:O1.sync,globStream:AH,stream:O1.stream,globStreamSync:v4,streamSync:O1.streamSync,globIterate:EH,iterate:O1.iterate,globIterateSync:T4,iterateSync:O1.iterateSync,Glob:iD.Glob,hasMagic:Rg.hasMagic,escape:QA.escape,unescape:QA.unescape});O1.glob.glob=O1.glob});var s7=M((_60,wH)=>{var qA=require("path"),BA=require("module"),Ng=require("fs"),HA=(D,Z,Q)=>{if(typeof D!=="string")throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof D}\``);if(typeof Z!=="string")throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof Z}\``);try{D=Ng.realpathSync(D)}catch(q){if(q.code==="ENOENT")D=qA.resolve(D);else if(Q)return;else throw q}let Y=qA.join(D,"noop.js"),J=()=>BA._resolveFilename(Z,{id:Y,filename:Y,paths:BA._nodeModulePaths(D)});if(Q)try{return J()}catch(q){return}return J()};wH.exports=(D,Z)=>HA(D,Z);wH.exports.silent=(D,Z)=>HA(D,Z,!0)});var h4=M((k60,VA)=>{var Pg=Number.MAX_SAFE_INTEGER||9007199254740991,Sg=["major","premajor","minor","preminor","patch","prepatch","prerelease"];VA.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Pg,RELEASE_TYPES:Sg,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var _4=M((y60,KA)=>{var ug=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...D)=>console.error("SEMVER",...D):()=>{};KA.exports=ug});var a7=M((g2,GA)=>{var{MAX_SAFE_COMPONENT_LENGTH:LH,MAX_SAFE_BUILD_LENGTH:vg,MAX_LENGTH:Tg}=h4(),bg=_4();g2=GA.exports={};var hg=g2.re=[],_g=g2.safeRe=[],j0=g2.src=[],kg=g2.safeSrc=[],N0=g2.t={},yg=0,CH="[a-zA-Z0-9-]",fg=[["\\s",1],["\\d",Tg],[CH,vg]],xg=(D)=>{for(let[Z,Q]of fg)D=D.split(`${Z}*`).join(`${Z}{0,${Q}}`).split(`${Z}+`).join(`${Z}{1,${Q}}`);return D},Z1=(D,Z,Q)=>{let Y=xg(Z),J=yg++;bg(D,J,Z),N0[D]=J,j0[J]=Z,kg[J]=Y,hg[J]=new RegExp(Z,Q?"g":void 0),_g[J]=new RegExp(Y,Q?"g":void 0)};Z1("NUMERICIDENTIFIER","0|[1-9]\\d*");Z1("NUMERICIDENTIFIERLOOSE","\\d+");Z1("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${CH}*`);Z1("MAINVERSION",`(${j0[N0.NUMERICIDENTIFIER]})\\.(${j0[N0.NUMERICIDENTIFIER]})\\.(${j0[N0.NUMERICIDENTIFIER]})`);Z1("MAINVERSIONLOOSE",`(${j0[N0.NUMERICIDENTIFIERLOOSE]})\\.(${j0[N0.NUMERICIDENTIFIERLOOSE]})\\.(${j0[N0.NUMERICIDENTIFIERLOOSE]})`);Z1("PRERELEASEIDENTIFIER",`(?:${j0[N0.NONNUMERICIDENTIFIER]}|${j0[N0.NUMERICIDENTIFIER]})`);Z1("PRERELEASEIDENTIFIERLOOSE",`(?:${j0[N0.NONNUMERICIDENTIFIER]}|${j0[N0.NUMERICIDENTIFIERLOOSE]})`);Z1("PRERELEASE",`(?:-(${j0[N0.PRERELEASEIDENTIFIER]}(?:\\.${j0[N0.PRERELEASEIDENTIFIER]})*))`);Z1("PRERELEASELOOSE",`(?:-?(${j0[N0.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${j0[N0.PRERELEASEIDENTIFIERLOOSE]})*))`);Z1("BUILDIDENTIFIER",`${CH}+`);Z1("BUILD",`(?:\\+(${j0[N0.BUILDIDENTIFIER]}(?:\\.${j0[N0.BUILDIDENTIFIER]})*))`);Z1("FULLPLAIN",`v?${j0[N0.MAINVERSION]}${j0[N0.PRERELEASE]}?${j0[N0.BUILD]}?`);Z1("FULL",`^${j0[N0.FULLPLAIN]}$`);Z1("LOOSEPLAIN",`[v=\\s]*${j0[N0.MAINVERSIONLOOSE]}${j0[N0.PRERELEASELOOSE]}?${j0[N0.BUILD]}?`);Z1("LOOSE",`^${j0[N0.LOOSEPLAIN]}$`);Z1("GTLT","((?:<|>)?=?)");Z1("XRANGEIDENTIFIERLOOSE",`${j0[N0.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);Z1("XRANGEIDENTIFIER",`${j0[N0.NUMERICIDENTIFIER]}|x|X|\\*`);Z1("XRANGEPLAIN",`[v=\\s]*(${j0[N0.XRANGEIDENTIFIER]})(?:\\.(${j0[N0.XRANGEIDENTIFIER]})(?:\\.(${j0[N0.XRANGEIDENTIFIER]})(?:${j0[N0.PRERELEASE]})?${j0[N0.BUILD]}?)?)?`);Z1("XRANGEPLAINLOOSE",`[v=\\s]*(${j0[N0.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j0[N0.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j0[N0.XRANGEIDENTIFIERLOOSE]})(?:${j0[N0.PRERELEASELOOSE]})?${j0[N0.BUILD]}?)?)?`);Z1("XRANGE",`^${j0[N0.GTLT]}\\s*${j0[N0.XRANGEPLAIN]}$`);Z1("XRANGELOOSE",`^${j0[N0.GTLT]}\\s*${j0[N0.XRANGEPLAINLOOSE]}$`);Z1("COERCEPLAIN",`(^|[^\\d])(\\d{1,${LH}})(?:\\.(\\d{1,${LH}}))?(?:\\.(\\d{1,${LH}}))?`);Z1("COERCE",`${j0[N0.COERCEPLAIN]}(?:$|[^\\d])`);Z1("COERCEFULL",j0[N0.COERCEPLAIN]+`(?:${j0[N0.PRERELEASE]})?(?:${j0[N0.BUILD]})?(?:$|[^\\d])`);Z1("COERCERTL",j0[N0.COERCE],!0);Z1("COERCERTLFULL",j0[N0.COERCEFULL],!0);Z1("LONETILDE","(?:~>?)");Z1("TILDETRIM",`(\\s*)${j0[N0.LONETILDE]}\\s+`,!0);g2.tildeTrimReplace="$1~";Z1("TILDE",`^${j0[N0.LONETILDE]}${j0[N0.XRANGEPLAIN]}$`);Z1("TILDELOOSE",`^${j0[N0.LONETILDE]}${j0[N0.XRANGEPLAINLOOSE]}$`);Z1("LONECARET","(?:\\^)");Z1("CARETTRIM",`(\\s*)${j0[N0.LONECARET]}\\s+`,!0);g2.caretTrimReplace="$1^";Z1("CARET",`^${j0[N0.LONECARET]}${j0[N0.XRANGEPLAIN]}$`);Z1("CARETLOOSE",`^${j0[N0.LONECARET]}${j0[N0.XRANGEPLAINLOOSE]}$`);Z1("COMPARATORLOOSE",`^${j0[N0.GTLT]}\\s*(${j0[N0.LOOSEPLAIN]})$|^$`);Z1("COMPARATOR",`^${j0[N0.GTLT]}\\s*(${j0[N0.FULLPLAIN]})$|^$`);Z1("COMPARATORTRIM",`(\\s*)${j0[N0.GTLT]}\\s*(${j0[N0.LOOSEPLAIN]}|${j0[N0.XRANGEPLAIN]})`,!0);g2.comparatorTrimReplace="$1$2$3";Z1("HYPHENRANGE",`^\\s*(${j0[N0.XRANGEPLAIN]})\\s+-\\s+(${j0[N0.XRANGEPLAIN]})\\s*$`);Z1("HYPHENRANGELOOSE",`^\\s*(${j0[N0.XRANGEPLAINLOOSE]})\\s+-\\s+(${j0[N0.XRANGEPLAINLOOSE]})\\s*$`);Z1("STAR","(<|>)?=?\\s*\\*");Z1("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");Z1("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var bQ=M((f60,zA)=>{var mg=Object.freeze({loose:!0}),gg=Object.freeze({}),cg=(D)=>{if(!D)return gg;if(typeof D!=="object")return mg;return D};zA.exports=cg});var RH=M((x60,XA)=>{var WA=/^[0-9]+$/,OA=(D,Z)=>{let Q=WA.test(D),Y=WA.test(Z);if(Q&&Y)D=+D,Z=+Z;return D===Z?0:Q&&!Y?-1:Y&&!Q?1:D<Z?-1:1},dg=(D,Z)=>OA(Z,D);XA.exports={compareIdentifiers:OA,rcompareIdentifiers:dg}});var p5=M((m60,UA)=>{var hQ=_4(),{MAX_LENGTH:FA,MAX_SAFE_INTEGER:_Q}=h4(),{safeRe:kQ,t:yQ}=a7(),lg=bQ(),{compareIdentifiers:t7}=RH();class w2{constructor(D,Z){if(Z=lg(Z),D instanceof w2)if(D.loose===!!Z.loose&&D.includePrerelease===!!Z.includePrerelease)return D;else D=D.version;else if(typeof D!=="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof D}".`);if(D.length>FA)throw new TypeError(`version is longer than ${FA} characters`);hQ("SemVer",D,Z),this.options=Z,this.loose=!!Z.loose,this.includePrerelease=!!Z.includePrerelease;let Q=D.trim().match(Z.loose?kQ[yQ.LOOSE]:kQ[yQ.FULL]);if(!Q)throw new TypeError(`Invalid Version: ${D}`);if(this.raw=D,this.major=+Q[1],this.minor=+Q[2],this.patch=+Q[3],this.major>_Q||this.major<0)throw new TypeError("Invalid major version");if(this.minor>_Q||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>_Q||this.patch<0)throw new TypeError("Invalid patch version");if(!Q[4])this.prerelease=[];else this.prerelease=Q[4].split(".").map((Y)=>{if(/^[0-9]+$/.test(Y)){let J=+Y;if(J>=0&&J<_Q)return J}return Y});this.build=Q[5]?Q[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(D){if(hQ("SemVer.compare",this.version,this.options,D),!(D instanceof w2)){if(typeof D==="string"&&D===this.version)return 0;D=new w2(D,this.options)}if(D.version===this.version)return 0;return this.compareMain(D)||this.comparePre(D)}compareMain(D){if(!(D instanceof w2))D=new w2(D,this.options);return t7(this.major,D.major)||t7(this.minor,D.minor)||t7(this.patch,D.patch)}comparePre(D){if(!(D instanceof w2))D=new w2(D,this.options);if(this.prerelease.length&&!D.prerelease.length)return-1;else if(!this.prerelease.length&&D.prerelease.length)return 1;else if(!this.prerelease.length&&!D.prerelease.length)return 0;let Z=0;do{let Q=this.prerelease[Z],Y=D.prerelease[Z];if(hQ("prerelease compare",Z,Q,Y),Q===void 0&&Y===void 0)return 0;else if(Y===void 0)return 1;else if(Q===void 0)return-1;else if(Q===Y)continue;else return t7(Q,Y)}while(++Z)}compareBuild(D){if(!(D instanceof w2))D=new w2(D,this.options);let Z=0;do{let Q=this.build[Z],Y=D.build[Z];if(hQ("build compare",Z,Q,Y),Q===void 0&&Y===void 0)return 0;else if(Y===void 0)return 1;else if(Q===void 0)return-1;else if(Q===Y)continue;else return t7(Q,Y)}while(++Z)}inc(D,Z,Q){if(D.startsWith("pre")){if(!Z&&Q===!1)throw new Error("invalid increment argument: identifier is empty");if(Z){let Y=`-${Z}`.match(this.options.loose?kQ[yQ.PRERELEASELOOSE]:kQ[yQ.PRERELEASE]);if(!Y||Y[1]!==Z)throw new Error(`invalid identifier: ${Z}`)}}switch(D){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",Z,Q);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",Z,Q);break;case"prepatch":this.prerelease.length=0,this.inc("patch",Z,Q),this.inc("pre",Z,Q);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",Z,Q);this.inc("pre",Z,Q);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Y=Number(Q)?1:0;if(this.prerelease.length===0)this.prerelease=[Y];else{let J=this.prerelease.length;while(--J>=0)if(typeof this.prerelease[J]==="number")this.prerelease[J]++,J=-2;if(J===-1){if(Z===this.prerelease.join(".")&&Q===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(Y)}}if(Z){let J=[Z,Y];if(Q===!1)J=[Z];if(t7(this.prerelease[0],Z)===0){if(isNaN(this.prerelease[1]))this.prerelease=J}else this.prerelease=J}break}default:throw new Error(`invalid increment argument: ${D}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}UA.exports=w2});var nD=M((g60,$A)=>{var AA=p5(),pg=(D,Z,Q=!1)=>{if(D instanceof AA)return D;try{return new AA(D,Z)}catch(Y){if(!Q)return null;throw Y}};$A.exports=pg});var MH=M((c60,EA)=>{var ig=nD(),ng=(D,Z)=>{let Q=ig(D,Z);return Q?Q.version:null};EA.exports=ng});var LA=M((d60,wA)=>{var rg=nD(),sg=(D,Z)=>{let Q=rg(D.trim().replace(/^[=v]+/,""),Z);return Q?Q.version:null};wA.exports=sg});var MA=M((l60,RA)=>{var CA=p5(),ag=(D,Z,Q,Y,J)=>{if(typeof Q==="string")J=Y,Y=Q,Q=void 0;try{return new CA(D instanceof CA?D.version:D,Q).inc(Z,Y,J).version}catch(q){return null}};RA.exports=ag});var NA=M((p60,jA)=>{var IA=nD(),tg=(D,Z)=>{let Q=IA(D,null,!0),Y=IA(Z,null,!0),J=Q.compare(Y);if(J===0)return null;let q=J>0,B=q?Q:Y,H=q?Y:Q,V=!!B.prerelease.length;if(!!H.prerelease.length&&!V){if(!H.patch&&!H.minor)return"major";if(H.compareMain(B)===0){if(H.minor&&!H.patch)return"minor";return"patch"}}let G=V?"pre":"";if(Q.major!==Y.major)return G+"major";if(Q.minor!==Y.minor)return G+"minor";if(Q.patch!==Y.patch)return G+"patch";return"prerelease"};jA.exports=tg});var SA=M((i60,PA)=>{var og=p5(),eg=(D,Z)=>new og(D,Z).major;PA.exports=eg});var vA=M((n60,uA)=>{var Dc=p5(),Zc=(D,Z)=>new Dc(D,Z).minor;uA.exports=Zc});var bA=M((r60,TA)=>{var Qc=p5(),Yc=(D,Z)=>new Qc(D,Z).patch;TA.exports=Yc});var _A=M((s60,hA)=>{var Jc=nD(),qc=(D,Z)=>{let Q=Jc(D,Z);return Q&&Q.prerelease.length?Q.prerelease:null};hA.exports=qc});var s8=M((a60,yA)=>{var kA=p5(),Bc=(D,Z,Q)=>new kA(D,Q).compare(new kA(Z,Q));yA.exports=Bc});var xA=M((t60,fA)=>{var Hc=s8(),Vc=(D,Z,Q)=>Hc(Z,D,Q);fA.exports=Vc});var gA=M((o60,mA)=>{var Kc=s8(),Gc=(D,Z)=>Kc(D,Z,!0);mA.exports=Gc});var fQ=M((e60,dA)=>{var cA=p5(),zc=(D,Z,Q)=>{let Y=new cA(D,Q),J=new cA(Z,Q);return Y.compare(J)||Y.compareBuild(J)};dA.exports=zc});var pA=M((D40,lA)=>{var Wc=fQ(),Oc=(D,Z)=>D.sort((Q,Y)=>Wc(Q,Y,Z));lA.exports=Oc});var nA=M((Z40,iA)=>{var Xc=fQ(),Fc=(D,Z)=>D.sort((Q,Y)=>Xc(Y,Q,Z));iA.exports=Fc});var k4=M((Q40,rA)=>{var Uc=s8(),Ac=(D,Z,Q)=>Uc(D,Z,Q)>0;rA.exports=Ac});var xQ=M((Y40,sA)=>{var $c=s8(),Ec=(D,Z,Q)=>$c(D,Z,Q)<0;sA.exports=Ec});var IH=M((J40,aA)=>{var wc=s8(),Lc=(D,Z,Q)=>wc(D,Z,Q)===0;aA.exports=Lc});var jH=M((q40,tA)=>{var Cc=s8(),Rc=(D,Z,Q)=>Cc(D,Z,Q)!==0;tA.exports=Rc});var y4=M((B40,oA)=>{var Mc=s8(),Ic=(D,Z,Q)=>Mc(D,Z,Q)>=0;oA.exports=Ic});var mQ=M((H40,eA)=>{var jc=s8(),Nc=(D,Z,Q)=>jc(D,Z,Q)<=0;eA.exports=Nc});var NH=M((V40,D$)=>{var Pc=IH(),Sc=jH(),uc=k4(),vc=y4(),Tc=xQ(),bc=mQ(),hc=(D,Z,Q,Y)=>{switch(Z){case"===":if(typeof D==="object")D=D.version;if(typeof Q==="object")Q=Q.version;return D===Q;case"!==":if(typeof D==="object")D=D.version;if(typeof Q==="object")Q=Q.version;return D!==Q;case"":case"=":case"==":return Pc(D,Q,Y);case"!=":return Sc(D,Q,Y);case">":return uc(D,Q,Y);case">=":return vc(D,Q,Y);case"<":return Tc(D,Q,Y);case"<=":return bc(D,Q,Y);default:throw new TypeError(`Invalid operator: ${Z}`)}};D$.exports=hc});var Q$=M((K40,Z$)=>{var _c=p5(),kc=nD(),{safeRe:gQ,t:cQ}=a7(),yc=(D,Z)=>{if(D instanceof _c)return D;if(typeof D==="number")D=String(D);if(typeof D!=="string")return null;Z=Z||{};let Q=null;if(!Z.rtl)Q=D.match(Z.includePrerelease?gQ[cQ.COERCEFULL]:gQ[cQ.COERCE]);else{let V=Z.includePrerelease?gQ[cQ.COERCERTLFULL]:gQ[cQ.COERCERTL],K;while((K=V.exec(D))&&(!Q||Q.index+Q[0].length!==D.length)){if(!Q||K.index+K[0].length!==Q.index+Q[0].length)Q=K;V.lastIndex=K.index+K[1].length+K[2].length}V.lastIndex=-1}if(Q===null)return null;let Y=Q[2],J=Q[3]||"0",q=Q[4]||"0",B=Z.includePrerelease&&Q[5]?`-${Q[5]}`:"",H=Z.includePrerelease&&Q[6]?`+${Q[6]}`:"";return kc(`${Y}.${J}.${q}${B}${H}`,Z)};Z$.exports=yc});var q$=M((G40,J$)=>{class Y${constructor(){this.max=1000,this.map=new Map}get(D){let Z=this.map.get(D);if(Z===void 0)return;else return this.map.delete(D),this.map.set(D,Z),Z}delete(D){return this.map.delete(D)}set(D,Z){if(!this.delete(D)&&Z!==void 0){if(this.map.size>=this.max){let Y=this.map.keys().next().value;this.delete(Y)}this.map.set(D,Z)}return this}}J$.exports=Y$});var a8=M((z40,K$)=>{var fc=/\s+/g;class f4{constructor(D,Z){if(Z=mc(Z),D instanceof f4)if(D.loose===!!Z.loose&&D.includePrerelease===!!Z.includePrerelease)return D;else return new f4(D.raw,Z);if(D instanceof PH)return this.raw=D.value,this.set=[[D]],this.formatted=void 0,this;if(this.options=Z,this.loose=!!Z.loose,this.includePrerelease=!!Z.includePrerelease,this.raw=D.trim().replace(fc," "),this.set=this.raw.split("||").map((Q)=>this.parseRange(Q.trim())).filter((Q)=>Q.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let Q=this.set[0];if(this.set=this.set.filter((Y)=>!H$(Y[0])),this.set.length===0)this.set=[Q];else if(this.set.length>1){for(let Y of this.set)if(Y.length===1&&nc(Y[0])){this.set=[Y];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let D=0;D<this.set.length;D++){if(D>0)this.formatted+="||";let Z=this.set[D];for(let Q=0;Q<Z.length;Q++){if(Q>0)this.formatted+=" ";this.formatted+=Z[Q].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(D){let Q=((this.options.includePrerelease&&pc)|(this.options.loose&&ic))+":"+D,Y=B$.get(Q);if(Y)return Y;let J=this.options.loose,q=J?W8[J8.HYPHENRANGELOOSE]:W8[J8.HYPHENRANGE];D=D.replace(q,Yd(this.options.includePrerelease)),g1("hyphen replace",D),D=D.replace(W8[J8.COMPARATORTRIM],cc),g1("comparator trim",D),D=D.replace(W8[J8.TILDETRIM],dc),g1("tilde trim",D),D=D.replace(W8[J8.CARETTRIM],lc),g1("caret trim",D);let B=D.split(" ").map((G)=>rc(G,this.options)).join(" ").split(/\s+/).map((G)=>Qd(G,this.options));if(J)B=B.filter((G)=>{return g1("loose invalid filter",G,this.options),!!G.match(W8[J8.COMPARATORLOOSE])});g1("range list",B);let H=new Map,V=B.map((G)=>new PH(G,this.options));for(let G of V){if(H$(G))return[G];H.set(G.value,G)}if(H.size>1&&H.has(""))H.delete("");let K=[...H.values()];return B$.set(Q,K),K}intersects(D,Z){if(!(D instanceof f4))throw new TypeError("a Range is required");return this.set.some((Q)=>{return V$(Q,Z)&&D.set.some((Y)=>{return V$(Y,Z)&&Q.every((J)=>{return Y.every((q)=>{return J.intersects(q,Z)})})})})}test(D){if(!D)return!1;if(typeof D==="string")try{D=new gc(D,this.options)}catch(Z){return!1}for(let Z=0;Z<this.set.length;Z++)if(Jd(this.set[Z],D,this.options))return!0;return!1}}K$.exports=f4;var xc=q$(),B$=new xc,mc=bQ(),PH=x4(),g1=_4(),gc=p5(),{safeRe:W8,t:J8,comparatorTrimReplace:cc,tildeTrimReplace:dc,caretTrimReplace:lc}=a7(),{FLAG_INCLUDE_PRERELEASE:pc,FLAG_LOOSE:ic}=h4(),H$=(D)=>D.value==="<0.0.0-0",nc=(D)=>D.value==="",V$=(D,Z)=>{let Q=!0,Y=D.slice(),J=Y.pop();while(Q&&Y.length)Q=Y.every((q)=>{return J.intersects(q,Z)}),J=Y.pop();return Q},rc=(D,Z)=>{return g1("comp",D,Z),D=tc(D,Z),g1("caret",D),D=sc(D,Z),g1("tildes",D),D=ec(D,Z),g1("xrange",D),D=Zd(D,Z),g1("stars",D),D},q8=(D)=>!D||D.toLowerCase()==="x"||D==="*",sc=(D,Z)=>{return D.trim().split(/\s+/).map((Q)=>ac(Q,Z)).join(" ")},ac=(D,Z)=>{let Q=Z.loose?W8[J8.TILDELOOSE]:W8[J8.TILDE];return D.replace(Q,(Y,J,q,B,H)=>{g1("tilde",D,Y,J,q,B,H);let V;if(q8(J))V="";else if(q8(q))V=`>=${J}.0.0 <${+J+1}.0.0-0`;else if(q8(B))V=`>=${J}.${q}.0 <${J}.${+q+1}.0-0`;else if(H)g1("replaceTilde pr",H),V=`>=${J}.${q}.${B}-${H} <${J}.${+q+1}.0-0`;else V=`>=${J}.${q}.${B} <${J}.${+q+1}.0-0`;return g1("tilde return",V),V})},tc=(D,Z)=>{return D.trim().split(/\s+/).map((Q)=>oc(Q,Z)).join(" ")},oc=(D,Z)=>{g1("caret",D,Z);let Q=Z.loose?W8[J8.CARETLOOSE]:W8[J8.CARET],Y=Z.includePrerelease?"-0":"";return D.replace(Q,(J,q,B,H,V)=>{g1("caret",D,J,q,B,H,V);let K;if(q8(q))K="";else if(q8(B))K=`>=${q}.0.0${Y} <${+q+1}.0.0-0`;else if(q8(H))if(q==="0")K=`>=${q}.${B}.0${Y} <${q}.${+B+1}.0-0`;else K=`>=${q}.${B}.0${Y} <${+q+1}.0.0-0`;else if(V)if(g1("replaceCaret pr",V),q==="0")if(B==="0")K=`>=${q}.${B}.${H}-${V} <${q}.${B}.${+H+1}-0`;else K=`>=${q}.${B}.${H}-${V} <${q}.${+B+1}.0-0`;else K=`>=${q}.${B}.${H}-${V} <${+q+1}.0.0-0`;else if(g1("no pr"),q==="0")if(B==="0")K=`>=${q}.${B}.${H}${Y} <${q}.${B}.${+H+1}-0`;else K=`>=${q}.${B}.${H}${Y} <${q}.${+B+1}.0-0`;else K=`>=${q}.${B}.${H} <${+q+1}.0.0-0`;return g1("caret return",K),K})},ec=(D,Z)=>{return g1("replaceXRanges",D,Z),D.split(/\s+/).map((Q)=>Dd(Q,Z)).join(" ")},Dd=(D,Z)=>{D=D.trim();let Q=Z.loose?W8[J8.XRANGELOOSE]:W8[J8.XRANGE];return D.replace(Q,(Y,J,q,B,H,V)=>{g1("xRange",D,Y,J,q,B,H,V);let K=q8(q),G=K||q8(B),W=G||q8(H),O=W;if(J==="="&&O)J="";if(V=Z.includePrerelease?"-0":"",K)if(J===">"||J==="<")Y="<0.0.0-0";else Y="*";else if(J&&O){if(G)B=0;if(H=0,J===">")if(J=">=",G)q=+q+1,B=0,H=0;else B=+B+1,H=0;else if(J==="<=")if(J="<",G)q=+q+1;else B=+B+1;if(J==="<")V="-0";Y=`${J+q}.${B}.${H}${V}`}else if(G)Y=`>=${q}.0.0${V} <${+q+1}.0.0-0`;else if(W)Y=`>=${q}.${B}.0${V} <${q}.${+B+1}.0-0`;return g1("xRange return",Y),Y})},Zd=(D,Z)=>{return g1("replaceStars",D,Z),D.trim().replace(W8[J8.STAR],"")},Qd=(D,Z)=>{return g1("replaceGTE0",D,Z),D.trim().replace(W8[Z.includePrerelease?J8.GTE0PRE:J8.GTE0],"")},Yd=(D)=>(Z,Q,Y,J,q,B,H,V,K,G,W,O)=>{if(q8(Y))Q="";else if(q8(J))Q=`>=${Y}.0.0${D?"-0":""}`;else if(q8(q))Q=`>=${Y}.${J}.0${D?"-0":""}`;else if(B)Q=`>=${Q}`;else Q=`>=${Q}${D?"-0":""}`;if(q8(K))V="";else if(q8(G))V=`<${+K+1}.0.0-0`;else if(q8(W))V=`<${K}.${+G+1}.0-0`;else if(O)V=`<=${K}.${G}.${W}-${O}`;else if(D)V=`<${K}.${G}.${+W+1}-0`;else V=`<=${V}`;return`${Q} ${V}`.trim()},Jd=(D,Z,Q)=>{for(let Y=0;Y<D.length;Y++)if(!D[Y].test(Z))return!1;if(Z.prerelease.length&&!Q.includePrerelease){for(let Y=0;Y<D.length;Y++){if(g1(D[Y].semver),D[Y].semver===PH.ANY)continue;if(D[Y].semver.prerelease.length>0){let J=D[Y].semver;if(J.major===Z.major&&J.minor===Z.minor&&J.patch===Z.patch)return!0}}return!1}return!0}});var x4=M((W40,F$)=>{var m4=Symbol("SemVer ANY");class dQ{static get ANY(){return m4}constructor(D,Z){if(Z=G$(Z),D instanceof dQ)if(D.loose===!!Z.loose)return D;else D=D.value;if(D=D.trim().split(/\s+/).join(" "),uH("comparator",D,Z),this.options=Z,this.loose=!!Z.loose,this.parse(D),this.semver===m4)this.value="";else this.value=this.operator+this.semver.version;uH("comp",this)}parse(D){let Z=this.options.loose?z$[W$.COMPARATORLOOSE]:z$[W$.COMPARATOR],Q=D.match(Z);if(!Q)throw new TypeError(`Invalid comparator: ${D}`);if(this.operator=Q[1]!==void 0?Q[1]:"",this.operator==="=")this.operator="";if(!Q[2])this.semver=m4;else this.semver=new O$(Q[2],this.options.loose)}toString(){return this.value}test(D){if(uH("Comparator.test",D,this.options.loose),this.semver===m4||D===m4)return!0;if(typeof D==="string")try{D=new O$(D,this.options)}catch(Z){return!1}return SH(D,this.operator,this.semver,this.options)}intersects(D,Z){if(!(D instanceof dQ))throw new TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new X$(D.value,Z).test(this.value)}else if(D.operator===""){if(D.value==="")return!0;return new X$(this.value,Z).test(D.semver)}if(Z=G$(Z),Z.includePrerelease&&(this.value==="<0.0.0-0"||D.value==="<0.0.0-0"))return!1;if(!Z.includePrerelease&&(this.value.startsWith("<0.0.0")||D.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&D.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&D.operator.startsWith("<"))return!0;if(this.semver.version===D.semver.version&&this.operator.includes("=")&&D.operator.includes("="))return!0;if(SH(this.semver,"<",D.semver,Z)&&this.operator.startsWith(">")&&D.operator.startsWith("<"))return!0;if(SH(this.semver,">",D.semver,Z)&&this.operator.startsWith("<")&&D.operator.startsWith(">"))return!0;return!1}}F$.exports=dQ;var G$=bQ(),{safeRe:z$,t:W$}=a7(),SH=NH(),uH=_4(),O$=p5(),X$=a8()});var g4=M((O40,U$)=>{var qd=a8(),Bd=(D,Z,Q)=>{try{Z=new qd(Z,Q)}catch(Y){return!1}return Z.test(D)};U$.exports=Bd});var $$=M((X40,A$)=>{var Hd=a8(),Vd=(D,Z)=>new Hd(D,Z).set.map((Q)=>Q.map((Y)=>Y.value).join(" ").trim().split(" "));A$.exports=Vd});var w$=M((F40,E$)=>{var Kd=p5(),Gd=a8(),zd=(D,Z,Q)=>{let Y=null,J=null,q=null;try{q=new Gd(Z,Q)}catch(B){return null}return D.forEach((B)=>{if(q.test(B)){if(!Y||J.compare(B)===-1)Y=B,J=new Kd(Y,Q)}}),Y};E$.exports=zd});var C$=M((U40,L$)=>{var Wd=p5(),Od=a8(),Xd=(D,Z,Q)=>{let Y=null,J=null,q=null;try{q=new Od(Z,Q)}catch(B){return null}return D.forEach((B)=>{if(q.test(B)){if(!Y||J.compare(B)===1)Y=B,J=new Wd(Y,Q)}}),Y};L$.exports=Xd});var I$=M((A40,M$)=>{var vH=p5(),Fd=a8(),R$=k4(),Ud=(D,Z)=>{D=new Fd(D,Z);let Q=new vH("0.0.0");if(D.test(Q))return Q;if(Q=new vH("0.0.0-0"),D.test(Q))return Q;Q=null;for(let Y=0;Y<D.set.length;++Y){let J=D.set[Y],q=null;if(J.forEach((B)=>{let H=new vH(B.semver.version);switch(B.operator){case">":if(H.prerelease.length===0)H.patch++;else H.prerelease.push(0);H.raw=H.format();case"":case">=":if(!q||R$(H,q))q=H;break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${B.operator}`)}}),q&&(!Q||R$(Q,q)))Q=q}if(Q&&D.test(Q))return Q;return null};M$.exports=Ud});var N$=M(($40,j$)=>{var Ad=a8(),$d=(D,Z)=>{try{return new Ad(D,Z).range||"*"}catch(Q){return null}};j$.exports=$d});var lQ=M((E40,v$)=>{var Ed=p5(),u$=x4(),{ANY:wd}=u$,Ld=a8(),Cd=g4(),P$=k4(),S$=xQ(),Rd=mQ(),Md=y4(),Id=(D,Z,Q,Y)=>{D=new Ed(D,Y),Z=new Ld(Z,Y);let J,q,B,H,V;switch(Q){case">":J=P$,q=Rd,B=S$,H=">",V=">=";break;case"<":J=S$,q=Md,B=P$,H="<",V="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Cd(D,Z,Y))return!1;for(let K=0;K<Z.set.length;++K){let G=Z.set[K],W=null,O=null;if(G.forEach((F)=>{if(F.semver===wd)F=new u$(">=0.0.0");if(W=W||F,O=O||F,J(F.semver,W.semver,Y))W=F;else if(B(F.semver,O.semver,Y))O=F}),W.operator===H||W.operator===V)return!1;if((!O.operator||O.operator===H)&&q(D,O.semver))return!1;else if(O.operator===V&&B(D,O.semver))return!1}return!0};v$.exports=Id});var b$=M((w40,T$)=>{var jd=lQ(),Nd=(D,Z,Q)=>jd(D,Z,">",Q);T$.exports=Nd});var _$=M((L40,h$)=>{var Pd=lQ(),Sd=(D,Z,Q)=>Pd(D,Z,"<",Q);h$.exports=Sd});var f$=M((C40,y$)=>{var k$=a8(),ud=(D,Z,Q)=>{return D=new k$(D,Q),Z=new k$(Z,Q),D.intersects(Z,Q)};y$.exports=ud});var m$=M((R40,x$)=>{var vd=g4(),Td=s8();x$.exports=(D,Z,Q)=>{let Y=[],J=null,q=null,B=D.sort((G,W)=>Td(G,W,Q));for(let G of B)if(vd(G,Z,Q)){if(q=G,!J)J=G}else{if(q)Y.push([J,q]);q=null,J=null}if(J)Y.push([J,null]);let H=[];for(let[G,W]of Y)if(G===W)H.push(G);else if(!W&&G===B[0])H.push("*");else if(!W)H.push(`>=${G}`);else if(G===B[0])H.push(`<=${W}`);else H.push(`${G} - ${W}`);let V=H.join(" || "),K=typeof Z.raw==="string"?Z.raw:String(Z);return V.length<K.length?V:Z}});var i$=M((M40,p$)=>{var g$=a8(),bH=x4(),{ANY:TH}=bH,c4=g4(),hH=s8(),bd=(D,Z,Q={})=>{if(D===Z)return!0;D=new g$(D,Q),Z=new g$(Z,Q);let Y=!1;D:for(let J of D.set){for(let q of Z.set){let B=_d(J,q,Q);if(Y=Y||B!==null,B)continue D}if(Y)return!1}return!0},hd=[new bH(">=0.0.0-0")],c$=[new bH(">=0.0.0")],_d=(D,Z,Q)=>{if(D===Z)return!0;if(D.length===1&&D[0].semver===TH)if(Z.length===1&&Z[0].semver===TH)return!0;else if(Q.includePrerelease)D=hd;else D=c$;if(Z.length===1&&Z[0].semver===TH)if(Q.includePrerelease)return!0;else Z=c$;let Y=new Set,J,q;for(let F of D)if(F.operator===">"||F.operator===">=")J=d$(J,F,Q);else if(F.operator==="<"||F.operator==="<=")q=l$(q,F,Q);else Y.add(F.semver);if(Y.size>1)return null;let B;if(J&&q){if(B=hH(J.semver,q.semver,Q),B>0)return null;else if(B===0&&(J.operator!==">="||q.operator!=="<="))return null}for(let F of Y){if(J&&!c4(F,String(J),Q))return null;if(q&&!c4(F,String(q),Q))return null;for(let E of Z)if(!c4(F,String(E),Q))return!1;return!0}let H,V,K,G,W=q&&!Q.includePrerelease&&q.semver.prerelease.length?q.semver:!1,O=J&&!Q.includePrerelease&&J.semver.prerelease.length?J.semver:!1;if(W&&W.prerelease.length===1&&q.operator==="<"&&W.prerelease[0]===0)W=!1;for(let F of Z){if(G=G||F.operator===">"||F.operator===">=",K=K||F.operator==="<"||F.operator==="<=",J){if(O){if(F.semver.prerelease&&F.semver.prerelease.length&&F.semver.major===O.major&&F.semver.minor===O.minor&&F.semver.patch===O.patch)O=!1}if(F.operator===">"||F.operator===">="){if(H=d$(J,F,Q),H===F&&H!==J)return!1}else if(J.operator===">="&&!c4(J.semver,String(F),Q))return!1}if(q){if(W){if(F.semver.prerelease&&F.semver.prerelease.length&&F.semver.major===W.major&&F.semver.minor===W.minor&&F.semver.patch===W.patch)W=!1}if(F.operator==="<"||F.operator==="<="){if(V=l$(q,F,Q),V===F&&V!==q)return!1}else if(q.operator==="<="&&!c4(q.semver,String(F),Q))return!1}if(!F.operator&&(q||J)&&B!==0)return!1}if(J&&K&&!q&&B!==0)return!1;if(q&&G&&!J&&B!==0)return!1;if(O||W)return!1;return!0},d$=(D,Z,Q)=>{if(!D)return Z;let Y=hH(D.semver,Z.semver,Q);return Y>0?D:Y<0?Z:Z.operator===">"&&D.operator===">="?Z:D},l$=(D,Z,Q)=>{if(!D)return Z;let Y=hH(D.semver,Z.semver,Q);return Y<0?D:Y>0?Z:Z.operator==="<"&&D.operator==="<="?Z:D};p$.exports=bd});var kH=M((I40,s$)=>{var _H=a7(),n$=h4(),kd=p5(),r$=RH(),yd=nD(),fd=MH(),xd=LA(),md=MA(),gd=NA(),cd=SA(),dd=vA(),ld=bA(),pd=_A(),id=s8(),nd=xA(),rd=gA(),sd=fQ(),ad=pA(),td=nA(),od=k4(),ed=xQ(),Dl=IH(),Zl=jH(),Ql=y4(),Yl=mQ(),Jl=NH(),ql=Q$(),Bl=x4(),Hl=a8(),Vl=g4(),Kl=$$(),Gl=w$(),zl=C$(),Wl=I$(),Ol=N$(),Xl=lQ(),Fl=b$(),Ul=_$(),Al=f$(),$l=m$(),El=i$();s$.exports={parse:yd,valid:fd,clean:xd,inc:md,diff:gd,major:cd,minor:dd,patch:ld,prerelease:pd,compare:id,rcompare:nd,compareLoose:rd,compareBuild:sd,sort:ad,rsort:td,gt:od,lt:ed,eq:Dl,neq:Zl,gte:Ql,lte:Yl,cmp:Jl,coerce:ql,Comparator:Bl,Range:Hl,satisfies:Vl,toComparators:Kl,maxSatisfying:Gl,minSatisfying:zl,minVersion:Wl,validRange:Ol,outside:Xl,gtr:Fl,ltr:Ul,intersects:Al,simplifyRange:$l,subset:El,SemVer:kd,re:_H.re,src:_H.src,tokens:_H.t,SEMVER_SPEC_VERSION:n$.SEMVER_SPEC_VERSION,RELEASE_TYPES:n$.RELEASE_TYPES,compareIdentifiers:r$.compareIdentifiers,rcompareIdentifiers:r$.rcompareIdentifiers}});var xH=M((yH,fH)=>{(function(D,Z,Q){if(typeof yH==="object")fH.exports=Q(),fH.exports.default=Q();else if(typeof define==="function"&&define.amd)define(Q);else Z[D]=Q()})("slugify",yH,function(){var D=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}'),Z=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function Q(Y,J){if(typeof Y!=="string")throw new Error("slugify: string argument expected");J=typeof J==="string"?{replacement:J}:J||{};var q=Z[J.locale]||{},B=J.replacement===void 0?"-":J.replacement,H=J.trim===void 0?!0:J.trim,V=Y.normalize().split("").reduce(function(K,G){var W=q[G];if(W===void 0)W=D[G];if(W===void 0)W=G;if(W===B)W=" ";return K+W.replace(J.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");if(J.strict)V=V.replace(/[^A-Za-z0-9\s]/g,"");if(H)V=V.trim();if(V=V.replace(/\s+/g,B),J.lower)V=V.toLowerCase();return V}return Q.extend=function(Y){Object.assign(D,Y)},Q})});var rD=M((pQ)=>{Object.defineProperty(pQ,"__esModule",{value:!0});pQ.ConfigError=void 0;class a$ extends Error{name="ConfigError";isConfigError=!0;constructor(D,Z,Q){super(Q?`${D}
|
|
34
|
+
└─ Cause: ${Q.name}: ${Q.message}`:D);this.code=Z,this.cause=Q}}pQ.ConfigError=a$});var o$=M((N40,mH)=>{var t$=require("module"),wl=require("path");mH.exports=function D(Z,Q,Y){if(typeof Q==="object")Y=Q,Q=void 0;if(Y=Y||{},Q=Q||"",Y.appendPaths=Y.appendPaths||[],Y.prependPaths=Y.prependPaths||[],typeof Z!=="string")throw new Error("code must be a string, not "+typeof Z);var J=t$._nodeModulePaths(wl.dirname(Q)),q=mH.parent,B=new t$(Q,q);B.filename=Q,B.paths=[].concat(Y.prependPaths).concat(J).concat(Y.appendPaths),B._compile(Z,Q);var H=B.exports;return q&&q.children&&q.children.splice(q.children.indexOf(B),1),H}});var S5=M((gH)=>{Object.defineProperty(gH,"__esModule",{value:!0});var e$;(function(D){D[D.NONE=0]="NONE";let Q=1;D[D._abstract=Q]="_abstract";let Y=Q+1;D[D._accessor=Y]="_accessor";let J=Y+1;D[D._as=J]="_as";let q=J+1;D[D._assert=q]="_assert";let B=q+1;D[D._asserts=B]="_asserts";let H=B+1;D[D._async=H]="_async";let V=H+1;D[D._await=V]="_await";let K=V+1;D[D._checks=K]="_checks";let G=K+1;D[D._constructor=G]="_constructor";let W=G+1;D[D._declare=W]="_declare";let O=W+1;D[D._enum=O]="_enum";let F=O+1;D[D._exports=F]="_exports";let E=F+1;D[D._from=E]="_from";let L=E+1;D[D._get=L]="_get";let j=L+1;D[D._global=j]="_global";let P=j+1;D[D._implements=P]="_implements";let u=P+1;D[D._infer=u]="_infer";let U=u+1;D[D._interface=U]="_interface";let X=U+1;D[D._is=X]="_is";let z=X+1;D[D._keyof=z]="_keyof";let A=z+1;D[D._mixins=A]="_mixins";let S=A+1;D[D._module=S]="_module";let w=S+1;D[D._namespace=w]="_namespace";let C=w+1;D[D._of=C]="_of";let I=C+1;D[D._opaque=I]="_opaque";let v=I+1;D[D._out=v]="_out";let g=v+1;D[D._override=g]="_override";let s=g+1;D[D._private=s]="_private";let A0=s+1;D[D._protected=A0]="_protected";let w0=A0+1;D[D._proto=w0]="_proto";let o=w0+1;D[D._public=o]="_public";let e=o+1;D[D._readonly=e]="_readonly";let r=e+1;D[D._require=r]="_require";let a=r+1;D[D._satisfies=a]="_satisfies";let F0=a+1;D[D._set=F0]="_set";let u0=F0+1;D[D._static=u0]="_static";let l0=u0+1;D[D._symbol=l0]="_symbol";let o0=l0+1;D[D._type=o0]="_type";let p0=o0+1;D[D._unique=p0]="_unique";let H1=p0+1;D[D._using=H1]="_using"})(e$||(gH.ContextualKeyword=e$={}))});var V1=M((iQ)=>{Object.defineProperty(iQ,"__esModule",{value:!0});var K0;(function(D){D[D.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";let Q=16;D[D.IS_KEYWORD=Q]="IS_KEYWORD";let Y=32;D[D.IS_ASSIGN=Y]="IS_ASSIGN";let J=64;D[D.IS_RIGHT_ASSOCIATIVE=J]="IS_RIGHT_ASSOCIATIVE";let q=128;D[D.IS_PREFIX=q]="IS_PREFIX";let B=256;D[D.IS_POSTFIX=B]="IS_POSTFIX";let H=512;D[D.IS_EXPRESSION_START=H]="IS_EXPRESSION_START";let V=512;D[D.num=V]="num";let K=1536;D[D.bigint=K]="bigint";let G=2560;D[D.decimal=G]="decimal";let W=3584;D[D.regexp=W]="regexp";let O=4608;D[D.string=O]="string";let F=5632;D[D.name=F]="name";let E=6144;D[D.eof=E]="eof";let L=7680;D[D.bracketL=L]="bracketL";let j=8192;D[D.bracketR=j]="bracketR";let P=9728;D[D.braceL=P]="braceL";let u=10752;D[D.braceBarL=u]="braceBarL";let U=11264;D[D.braceR=U]="braceR";let X=12288;D[D.braceBarR=X]="braceBarR";let z=13824;D[D.parenL=z]="parenL";let A=14336;D[D.parenR=A]="parenR";let S=15360;D[D.comma=S]="comma";let w=16384;D[D.semi=w]="semi";let C=17408;D[D.colon=C]="colon";let I=18432;D[D.doubleColon=I]="doubleColon";let v=19456;D[D.dot=v]="dot";let g=20480;D[D.question=g]="question";let s=21504;D[D.questionDot=s]="questionDot";let A0=22528;D[D.arrow=A0]="arrow";let w0=23552;D[D.template=w0]="template";let o=24576;D[D.ellipsis=o]="ellipsis";let e=25600;D[D.backQuote=e]="backQuote";let r=27136;D[D.dollarBraceL=r]="dollarBraceL";let a=27648;D[D.at=a]="at";let F0=29184;D[D.hash=F0]="hash";let u0=29728;D[D.eq=u0]="eq";let l0=30752;D[D.assign=l0]="assign";let o0=32640;D[D.preIncDec=o0]="preIncDec";let p0=33664;D[D.postIncDec=p0]="postIncDec";let H1=34432;D[D.bang=H1]="bang";let N=35456;D[D.tilde=N]="tilde";let R=35841;D[D.pipeline=R]="pipeline";let t=36866;D[D.nullishCoalescing=t]="nullishCoalescing";let x=37890;D[D.logicalOR=x]="logicalOR";let M0=38915;D[D.logicalAND=M0]="logicalAND";let s0=39940;D[D.bitwiseOR=s0]="bitwiseOR";let e0=40965;D[D.bitwiseXOR=e0]="bitwiseXOR";let j1=41990;D[D.bitwiseAND=j1]="bitwiseAND";let $1=43015;D[D.equality=$1]="equality";let h1=44040;D[D.lessThan=h1]="lessThan";let V0=45064;D[D.greaterThan=V0]="greaterThan";let q0=46088;D[D.relationalOrEqual=q0]="relationalOrEqual";let E0=47113;D[D.bitShiftL=E0]="bitShiftL";let L0=48137;D[D.bitShiftR=L0]="bitShiftR";let x0=49802;D[D.plus=x0]="plus";let g0=50826;D[D.minus=g0]="minus";let Q1=51723;D[D.modulo=Q1]="modulo";let s1=52235;D[D.star=s1]="star";let L5=53259;D[D.slash=L5]="slash";let m8=54348;D[D.exponent=m8]="exponent";let g8=55296;D[D.jsxName=g8]="jsxName";let R8=56320;D[D.jsxText=R8]="jsxText";let M8=57344;D[D.jsxEmptyText=M8]="jsxEmptyText";let K8=58880;D[D.jsxTagStart=K8]="jsxTagStart";let c8=59392;D[D.jsxTagEnd=c8]="jsxTagEnd";let o5=60928;D[D.typeParameterStart=o5]="typeParameterStart";let I8=61440;D[D.nonNullAssertion=I8]="nonNullAssertion";let W2=62480;D[D._break=W2]="_break";let h2=63504;D[D._case=h2]="_case";let TD=64528;D[D._catch=TD]="_catch";let g9=65552;D[D._continue=g9]="_continue";let d=66576;D[D._debugger=d]="_debugger";let B0=67600;D[D._default=B0]="_default";let z0=68624;D[D._do=z0]="_do";let U0=69648;D[D._else=U0]="_else";let y0=70672;D[D._finally=y0]="_finally";let T0=71696;D[D._for=T0]="_for";let q1=73232;D[D._function=q1]="_function";let h=73744;D[D._if=h]="_if";let C0=74768;D[D._return=C0]="_return";let U1=75792;D[D._switch=U1]="_switch";let v1=77456;D[D._throw=v1]="_throw";let C1=77840;D[D._try=C1]="_try";let R0=78864;D[D._var=R0]="_var";let D5=79888;D[D._let=D5]="_let";let e5=80912;D[D._const=e5]="_const";let d8=81936;D[D._while=d8]="_while";let O2=82960;D[D._with=O2]="_with";let X2=84496;D[D._new=X2]="_new";let d1=85520;D[D._this=d1]="_this";let l1=86544;D[D._super=l1]="_super";let V9=87568;D[D._class=V9]="_class";let c9=88080;D[D._extends=c9]="_extends";let d9=89104;D[D._export=d9]="_export";let K9=90640;D[D._import=K9]="_import";let j8=91664;D[D._yield=j8]="_yield";let a0=92688;D[D._null=a0]="_null";let _2=93712;D[D._true=_2]="_true";let G9=94736;D[D._false=G9]="_false";let z9=95256;D[D._in=z9]="_in";let W9=96280;D[D._instanceof=W9]="_instanceof";let P7=97936;D[D._typeof=P7]="_typeof";let S7=98960;D[D._void=S7]="_void";let IZ=99984;D[D._delete=IZ]="_delete";let rq=100880;D[D._async=rq]="_async";let sq=101904;D[D._get=sq]="_get";let aq=102928;D[D._set=aq]="_set";let tq=103952;D[D._declare=tq]="_declare";let u7=104976;D[D._readonly=u7]="_readonly";let jZ=106000;D[D._abstract=jZ]="_abstract";let oq=107024;D[D._static=oq]="_static";let NZ=107536;D[D._public=NZ]="_public";let eq=108560;D[D._private=eq]="_private";let DB=109584;D[D._protected=DB]="_protected";let ZB=110608;D[D._override=ZB]="_override";let QB=112144;D[D._as=QB]="_as";let PZ=113168;D[D._enum=PZ]="_enum";let YB=114192;D[D._type=YB]="_type";let JB=115216;D[D._implements=JB]="_implements"})(K0||(iQ.TokenType=K0={}));function Ll(D){switch(D){case K0.num:return"num";case K0.bigint:return"bigint";case K0.decimal:return"decimal";case K0.regexp:return"regexp";case K0.string:return"string";case K0.name:return"name";case K0.eof:return"eof";case K0.bracketL:return"[";case K0.bracketR:return"]";case K0.braceL:return"{";case K0.braceBarL:return"{|";case K0.braceR:return"}";case K0.braceBarR:return"|}";case K0.parenL:return"(";case K0.parenR:return")";case K0.comma:return",";case K0.semi:return";";case K0.colon:return":";case K0.doubleColon:return"::";case K0.dot:return".";case K0.question:return"?";case K0.questionDot:return"?.";case K0.arrow:return"=>";case K0.template:return"template";case K0.ellipsis:return"...";case K0.backQuote:return"`";case K0.dollarBraceL:return"${";case K0.at:return"@";case K0.hash:return"#";case K0.eq:return"=";case K0.assign:return"_=";case K0.preIncDec:return"++/--";case K0.postIncDec:return"++/--";case K0.bang:return"!";case K0.tilde:return"~";case K0.pipeline:return"|>";case K0.nullishCoalescing:return"??";case K0.logicalOR:return"||";case K0.logicalAND:return"&&";case K0.bitwiseOR:return"|";case K0.bitwiseXOR:return"^";case K0.bitwiseAND:return"&";case K0.equality:return"==/!=";case K0.lessThan:return"<";case K0.greaterThan:return">";case K0.relationalOrEqual:return"<=/>=";case K0.bitShiftL:return"<<";case K0.bitShiftR:return">>/>>>";case K0.plus:return"+";case K0.minus:return"-";case K0.modulo:return"%";case K0.star:return"*";case K0.slash:return"/";case K0.exponent:return"**";case K0.jsxName:return"jsxName";case K0.jsxText:return"jsxText";case K0.jsxEmptyText:return"jsxEmptyText";case K0.jsxTagStart:return"jsxTagStart";case K0.jsxTagEnd:return"jsxTagEnd";case K0.typeParameterStart:return"typeParameterStart";case K0.nonNullAssertion:return"nonNullAssertion";case K0._break:return"break";case K0._case:return"case";case K0._catch:return"catch";case K0._continue:return"continue";case K0._debugger:return"debugger";case K0._default:return"default";case K0._do:return"do";case K0._else:return"else";case K0._finally:return"finally";case K0._for:return"for";case K0._function:return"function";case K0._if:return"if";case K0._return:return"return";case K0._switch:return"switch";case K0._throw:return"throw";case K0._try:return"try";case K0._var:return"var";case K0._let:return"let";case K0._const:return"const";case K0._while:return"while";case K0._with:return"with";case K0._new:return"new";case K0._this:return"this";case K0._super:return"super";case K0._class:return"class";case K0._extends:return"extends";case K0._export:return"export";case K0._import:return"import";case K0._yield:return"yield";case K0._null:return"null";case K0._true:return"true";case K0._false:return"false";case K0._in:return"in";case K0._instanceof:return"instanceof";case K0._typeof:return"typeof";case K0._void:return"void";case K0._delete:return"delete";case K0._async:return"async";case K0._get:return"get";case K0._set:return"set";case K0._declare:return"declare";case K0._readonly:return"readonly";case K0._abstract:return"abstract";case K0._static:return"static";case K0._public:return"public";case K0._private:return"private";case K0._protected:return"protected";case K0._override:return"override";case K0._as:return"as";case K0._enum:return"enum";case K0._type:return"type";case K0._implements:return"implements";default:return""}}iQ.formatTokenType=Ll});var nQ=M((d4)=>{Object.defineProperty(d4,"__esModule",{value:!0});var Cl=S5(),Rl=V1();class DE{constructor(D,Z,Q){this.startTokenIndex=D,this.endTokenIndex=Z,this.isFunctionScope=Q}}d4.Scope=DE;class cH{constructor(D,Z,Q,Y,J,q,B,H,V,K,G,W,O){this.potentialArrowAt=D,this.noAnonFunctionType=Z,this.inDisallowConditionalTypesContext=Q,this.tokensLength=Y,this.scopesLength=J,this.pos=q,this.type=B,this.contextualKeyword=H,this.start=V,this.end=K,this.isType=G,this.scopeDepth=W,this.error=O}}d4.StateSnapshot=cH;class B8{constructor(){B8.prototype.__init.call(this),B8.prototype.__init2.call(this),B8.prototype.__init3.call(this),B8.prototype.__init4.call(this),B8.prototype.__init5.call(this),B8.prototype.__init6.call(this),B8.prototype.__init7.call(this),B8.prototype.__init8.call(this),B8.prototype.__init9.call(this),B8.prototype.__init10.call(this),B8.prototype.__init11.call(this),B8.prototype.__init12.call(this),B8.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=Rl.TokenType.eof}__init8(){this.contextualKeyword=Cl.ContextualKeyword.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new cH(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(D){this.potentialArrowAt=D.potentialArrowAt,this.noAnonFunctionType=D.noAnonFunctionType,this.inDisallowConditionalTypesContext=D.inDisallowConditionalTypesContext,this.tokens.length=D.tokensLength,this.scopes.length=D.scopesLength,this.pos=D.pos,this.type=D.type,this.contextualKeyword=D.contextualKeyword,this.start=D.start,this.end=D.end,this.isType=D.isType,this.scopeDepth=D.scopeDepth,this.error=D.error}}d4.default=B8});var S8=M((rQ)=>{Object.defineProperty(rQ,"__esModule",{value:!0});var o9;(function(D){D[D.backSpace=8]="backSpace";let Q=10;D[D.lineFeed=Q]="lineFeed";let Y=9;D[D.tab=Y]="tab";let J=13;D[D.carriageReturn=J]="carriageReturn";let q=14;D[D.shiftOut=q]="shiftOut";let B=32;D[D.space=B]="space";let H=33;D[D.exclamationMark=H]="exclamationMark";let V=34;D[D.quotationMark=V]="quotationMark";let K=35;D[D.numberSign=K]="numberSign";let G=36;D[D.dollarSign=G]="dollarSign";let W=37;D[D.percentSign=W]="percentSign";let O=38;D[D.ampersand=O]="ampersand";let F=39;D[D.apostrophe=F]="apostrophe";let E=40;D[D.leftParenthesis=E]="leftParenthesis";let L=41;D[D.rightParenthesis=L]="rightParenthesis";let j=42;D[D.asterisk=j]="asterisk";let P=43;D[D.plusSign=P]="plusSign";let u=44;D[D.comma=u]="comma";let U=45;D[D.dash=U]="dash";let X=46;D[D.dot=X]="dot";let z=47;D[D.slash=z]="slash";let A=48;D[D.digit0=A]="digit0";let S=49;D[D.digit1=S]="digit1";let w=50;D[D.digit2=w]="digit2";let C=51;D[D.digit3=C]="digit3";let I=52;D[D.digit4=I]="digit4";let v=53;D[D.digit5=v]="digit5";let g=54;D[D.digit6=g]="digit6";let s=55;D[D.digit7=s]="digit7";let A0=56;D[D.digit8=A0]="digit8";let w0=57;D[D.digit9=w0]="digit9";let o=58;D[D.colon=o]="colon";let e=59;D[D.semicolon=e]="semicolon";let r=60;D[D.lessThan=r]="lessThan";let a=61;D[D.equalsTo=a]="equalsTo";let F0=62;D[D.greaterThan=F0]="greaterThan";let u0=63;D[D.questionMark=u0]="questionMark";let l0=64;D[D.atSign=l0]="atSign";let o0=65;D[D.uppercaseA=o0]="uppercaseA";let p0=66;D[D.uppercaseB=p0]="uppercaseB";let H1=67;D[D.uppercaseC=H1]="uppercaseC";let N=68;D[D.uppercaseD=N]="uppercaseD";let R=69;D[D.uppercaseE=R]="uppercaseE";let t=70;D[D.uppercaseF=t]="uppercaseF";let x=71;D[D.uppercaseG=x]="uppercaseG";let M0=72;D[D.uppercaseH=M0]="uppercaseH";let s0=73;D[D.uppercaseI=s0]="uppercaseI";let e0=74;D[D.uppercaseJ=e0]="uppercaseJ";let j1=75;D[D.uppercaseK=j1]="uppercaseK";let $1=76;D[D.uppercaseL=$1]="uppercaseL";let h1=77;D[D.uppercaseM=h1]="uppercaseM";let V0=78;D[D.uppercaseN=V0]="uppercaseN";let q0=79;D[D.uppercaseO=q0]="uppercaseO";let E0=80;D[D.uppercaseP=E0]="uppercaseP";let L0=81;D[D.uppercaseQ=L0]="uppercaseQ";let x0=82;D[D.uppercaseR=x0]="uppercaseR";let g0=83;D[D.uppercaseS=g0]="uppercaseS";let Q1=84;D[D.uppercaseT=Q1]="uppercaseT";let s1=85;D[D.uppercaseU=s1]="uppercaseU";let L5=86;D[D.uppercaseV=L5]="uppercaseV";let m8=87;D[D.uppercaseW=m8]="uppercaseW";let g8=88;D[D.uppercaseX=g8]="uppercaseX";let R8=89;D[D.uppercaseY=R8]="uppercaseY";let M8=90;D[D.uppercaseZ=M8]="uppercaseZ";let K8=91;D[D.leftSquareBracket=K8]="leftSquareBracket";let c8=92;D[D.backslash=c8]="backslash";let o5=93;D[D.rightSquareBracket=o5]="rightSquareBracket";let I8=94;D[D.caret=I8]="caret";let W2=95;D[D.underscore=W2]="underscore";let h2=96;D[D.graveAccent=h2]="graveAccent";let TD=97;D[D.lowercaseA=TD]="lowercaseA";let g9=98;D[D.lowercaseB=g9]="lowercaseB";let d=99;D[D.lowercaseC=d]="lowercaseC";let B0=100;D[D.lowercaseD=B0]="lowercaseD";let z0=101;D[D.lowercaseE=z0]="lowercaseE";let U0=102;D[D.lowercaseF=U0]="lowercaseF";let y0=103;D[D.lowercaseG=y0]="lowercaseG";let T0=104;D[D.lowercaseH=T0]="lowercaseH";let q1=105;D[D.lowercaseI=q1]="lowercaseI";let h=106;D[D.lowercaseJ=h]="lowercaseJ";let C0=107;D[D.lowercaseK=C0]="lowercaseK";let U1=108;D[D.lowercaseL=U1]="lowercaseL";let v1=109;D[D.lowercaseM=v1]="lowercaseM";let C1=110;D[D.lowercaseN=C1]="lowercaseN";let R0=111;D[D.lowercaseO=R0]="lowercaseO";let D5=112;D[D.lowercaseP=D5]="lowercaseP";let e5=113;D[D.lowercaseQ=e5]="lowercaseQ";let d8=114;D[D.lowercaseR=d8]="lowercaseR";let O2=115;D[D.lowercaseS=O2]="lowercaseS";let X2=116;D[D.lowercaseT=X2]="lowercaseT";let d1=117;D[D.lowercaseU=d1]="lowercaseU";let l1=118;D[D.lowercaseV=l1]="lowercaseV";let V9=119;D[D.lowercaseW=V9]="lowercaseW";let c9=120;D[D.lowercaseX=c9]="lowercaseX";let d9=121;D[D.lowercaseY=d9]="lowercaseY";let K9=122;D[D.lowercaseZ=K9]="lowercaseZ";let j8=123;D[D.leftCurlyBrace=j8]="leftCurlyBrace";let a0=124;D[D.verticalBar=a0]="verticalBar";let _2=125;D[D.rightCurlyBrace=_2]="rightCurlyBrace";let G9=126;D[D.tilde=G9]="tilde";let z9=160;D[D.nonBreakingSpace=z9]="nonBreakingSpace";let W9=5760;D[D.oghamSpaceMark=W9]="oghamSpaceMark";let P7=8232;D[D.lineSeparator=P7]="lineSeparator";let S7=8233;D[D.paragraphSeparator=S7]="paragraphSeparator"})(o9||(rQ.charCodes=o9={}));function Ml(D){return D>=o9.digit0&&D<=o9.digit9||D>=o9.lowercaseA&&D<=o9.lowercaseF||D>=o9.uppercaseA&&D<=o9.uppercaseF}rQ.isDigit=Ml});var u8=M((q5)=>{Object.defineProperty(q5,"__esModule",{value:!0});function Il(D){return D&&D.__esModule?D:{default:D}}var jl=nQ(),Nl=Il(jl),Pl=S8();q5.isJSXEnabled;q5.isTypeScriptEnabled;q5.isFlowEnabled;q5.state;q5.input;q5.nextContextId;function Sl(){return q5.nextContextId++}q5.getNextContextId=Sl;function ul(D){if("pos"in D){let Z=ZE(D.pos);D.message+=` (${Z.line}:${Z.column})`,D.loc=Z}return D}q5.augmentError=ul;class dH{constructor(D,Z){this.line=D,this.column=Z}}q5.Loc=dH;function ZE(D){let Z=1,Q=1;for(let Y=0;Y<D;Y++)if(q5.input.charCodeAt(Y)===Pl.charCodes.lineFeed)Z++,Q=1;else Q++;return new dH(Z,Q)}q5.locationForIndex=ZE;function vl(D,Z,Q,Y){q5.input=D,q5.state=new Nl.default,q5.nextContextId=1,q5.isJSXEnabled=Z,q5.isTypeScriptEnabled=Q,q5.isFlowEnabled=Y}q5.initParser=vl});var DD=M((T8)=>{Object.defineProperty(T8,"__esModule",{value:!0});var e9=A5(),sD=V1(),sQ=S8(),v8=u8();function Tl(D){return v8.state.contextualKeyword===D}T8.isContextual=Tl;function bl(D){let Z=e9.lookaheadTypeAndKeyword.call(void 0);return Z.type===sD.TokenType.name&&Z.contextualKeyword===D}T8.isLookaheadContextual=bl;function QE(D){return v8.state.contextualKeyword===D&&e9.eat.call(void 0,sD.TokenType.name)}T8.eatContextual=QE;function hl(D){if(!QE(D))aQ()}T8.expectContextual=hl;function YE(){return e9.match.call(void 0,sD.TokenType.eof)||e9.match.call(void 0,sD.TokenType.braceR)||JE()}T8.canInsertSemicolon=YE;function JE(){let D=v8.state.tokens[v8.state.tokens.length-1],Z=D?D.end:0;for(let Q=Z;Q<v8.state.start;Q++){let Y=v8.input.charCodeAt(Q);if(Y===sQ.charCodes.lineFeed||Y===sQ.charCodes.carriageReturn||Y===8232||Y===8233)return!0}return!1}T8.hasPrecedingLineBreak=JE;function _l(){let D=e9.nextTokenStart.call(void 0);for(let Z=v8.state.end;Z<D;Z++){let Q=v8.input.charCodeAt(Z);if(Q===sQ.charCodes.lineFeed||Q===sQ.charCodes.carriageReturn||Q===8232||Q===8233)return!0}return!1}T8.hasFollowingLineBreak=_l;function qE(){return e9.eat.call(void 0,sD.TokenType.semi)||YE()}T8.isLineTerminator=qE;function kl(){if(!qE())aQ('Unexpected token, expected ";"')}T8.semicolon=kl;function yl(D){if(!e9.eat.call(void 0,D))aQ(`Unexpected token, expected "${sD.formatTokenType.call(void 0,D)}"`)}T8.expect=yl;function aQ(D="Unexpected token",Z=v8.state.start){if(v8.state.error)return;let Q=new SyntaxError(D);Q.pos=Z,v8.state.error=Q,v8.state.pos=v8.input.length,e9.finishToken.call(void 0,sD.TokenType.eof)}T8.unexpected=aQ});var pH=M((aD)=>{Object.defineProperty(aD,"__esModule",{value:!0});var lH=S8(),fl=[9,11,12,lH.charCodes.space,lH.charCodes.nonBreakingSpace,lH.charCodes.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];aD.WHITESPACE_CHARS=fl;var xl=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;aD.skipWhiteSpace=xl;var ml=new Uint8Array(65536);aD.IS_WHITESPACE=ml;for(let D of aD.WHITESPACE_CHARS)aD.IS_WHITESPACE[D]=1});var o7=M((L2)=>{Object.defineProperty(L2,"__esModule",{value:!0});var BE=S8(),gl=pH();function cl(D){if(D<48)return D===36;if(D<58)return!0;if(D<65)return!1;if(D<91)return!0;if(D<97)return D===95;if(D<123)return!0;if(D<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}var dl=new Uint8Array(65536);L2.IS_IDENTIFIER_CHAR=dl;for(let D=0;D<128;D++)L2.IS_IDENTIFIER_CHAR[D]=cl(D)?1:0;for(let D=128;D<65536;D++)L2.IS_IDENTIFIER_CHAR[D]=1;for(let D of gl.WHITESPACE_CHARS)L2.IS_IDENTIFIER_CHAR[D]=0;L2.IS_IDENTIFIER_CHAR[8232]=0;L2.IS_IDENTIFIER_CHAR[8233]=0;var ll=L2.IS_IDENTIFIER_CHAR.slice();L2.IS_IDENTIFIER_START=ll;for(let D=BE.charCodes.digit0;D<=BE.charCodes.digit9;D++)L2.IS_IDENTIFIER_START[D]=0});var HE=M((iH)=>{Object.defineProperty(iH,"__esModule",{value:!0});var J1=S5(),K1=V1(),pl=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(K1.TokenType._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(K1.TokenType._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(K1.TokenType._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(K1.TokenType._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(K1.TokenType._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(K1.TokenType._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(K1.TokenType._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,J1.ContextualKeyword._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,J1.ContextualKeyword._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(K1.TokenType._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,J1.ContextualKeyword._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(K1.TokenType._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);iH.READ_WORD_TREE=pl});var zE=M((rH)=>{Object.defineProperty(rH,"__esModule",{value:!0});var C2=u8(),ZD=S8(),VE=o7(),nH=A5(),KE=HE(),GE=V1();function il(){let D=0,Z=0,Q=C2.state.pos;while(Q<C2.input.length){if(Z=C2.input.charCodeAt(Q),Z<ZD.charCodes.lowercaseA||Z>ZD.charCodes.lowercaseZ)break;let J=KE.READ_WORD_TREE[D+(Z-ZD.charCodes.lowercaseA)+1];if(J===-1)break;else D=J,Q++}let Y=KE.READ_WORD_TREE[D];if(Y>-1&&!VE.IS_IDENTIFIER_CHAR[Z]){if(C2.state.pos=Q,Y&1)nH.finishToken.call(void 0,Y>>>1);else nH.finishToken.call(void 0,GE.TokenType.name,Y>>>1);return}while(Q<C2.input.length){let J=C2.input.charCodeAt(Q);if(VE.IS_IDENTIFIER_CHAR[J])Q++;else if(J===ZD.charCodes.backslash){if(Q+=2,C2.input.charCodeAt(Q)===ZD.charCodes.leftCurlyBrace){while(Q<C2.input.length&&C2.input.charCodeAt(Q)!==ZD.charCodes.rightCurlyBrace)Q++;Q++}}else if(J===ZD.charCodes.atSign&&C2.input.charCodeAt(Q+1)===ZD.charCodes.atSign)Q+=2;else break}C2.state.pos=Q,nH.finishToken.call(void 0,GE.TokenType.name)}rH.default=il});var A5=M((I1)=>{Object.defineProperty(I1,"__esModule",{value:!0});function nl(D){return D&&D.__esModule?D:{default:D}}var y=u8(),e7=DD(),D0=S8(),OE=o7(),aH=pH(),rl=S5(),sl=zE(),al=nl(sl),I0=V1(),p1;(function(D){D[D.Access=0]="Access";let Q=1;D[D.ExportAccess=Q]="ExportAccess";let Y=Q+1;D[D.TopLevelDeclaration=Y]="TopLevelDeclaration";let J=Y+1;D[D.FunctionScopedDeclaration=J]="FunctionScopedDeclaration";let q=J+1;D[D.BlockScopedDeclaration=q]="BlockScopedDeclaration";let B=q+1;D[D.ObjectShorthandTopLevelDeclaration=B]="ObjectShorthandTopLevelDeclaration";let H=B+1;D[D.ObjectShorthandFunctionScopedDeclaration=H]="ObjectShorthandFunctionScopedDeclaration";let V=H+1;D[D.ObjectShorthandBlockScopedDeclaration=V]="ObjectShorthandBlockScopedDeclaration";let K=V+1;D[D.ObjectShorthand=K]="ObjectShorthand";let G=K+1;D[D.ImportDeclaration=G]="ImportDeclaration";let W=G+1;D[D.ObjectKey=W]="ObjectKey";let O=W+1;D[D.ImportAccess=O]="ImportAccess"})(p1||(I1.IdentifierRole=p1={}));var WE;(function(D){D[D.NoChildren=0]="NoChildren";let Q=1;D[D.OneChild=Q]="OneChild";let Y=Q+1;D[D.StaticChildren=Y]="StaticChildren";let J=Y+1;D[D.KeyAfterPropSpread=J]="KeyAfterPropSpread"})(WE||(I1.JSXRole=WE={}));function tl(D){let Z=D.identifierRole;return Z===p1.TopLevelDeclaration||Z===p1.FunctionScopedDeclaration||Z===p1.BlockScopedDeclaration||Z===p1.ObjectShorthandTopLevelDeclaration||Z===p1.ObjectShorthandFunctionScopedDeclaration||Z===p1.ObjectShorthandBlockScopedDeclaration}I1.isDeclaration=tl;function ol(D){let Z=D.identifierRole;return Z===p1.FunctionScopedDeclaration||Z===p1.BlockScopedDeclaration||Z===p1.ObjectShorthandFunctionScopedDeclaration||Z===p1.ObjectShorthandBlockScopedDeclaration}I1.isNonTopLevelDeclaration=ol;function el(D){let Z=D.identifierRole;return Z===p1.TopLevelDeclaration||Z===p1.ObjectShorthandTopLevelDeclaration||Z===p1.ImportDeclaration}I1.isTopLevelDeclaration=el;function Dp(D){let Z=D.identifierRole;return Z===p1.TopLevelDeclaration||Z===p1.BlockScopedDeclaration||Z===p1.ObjectShorthandTopLevelDeclaration||Z===p1.ObjectShorthandBlockScopedDeclaration}I1.isBlockScopedDeclaration=Dp;function Zp(D){let Z=D.identifierRole;return Z===p1.FunctionScopedDeclaration||Z===p1.ObjectShorthandFunctionScopedDeclaration}I1.isFunctionScopedDeclaration=Zp;function Qp(D){return D.identifierRole===p1.ObjectShorthandTopLevelDeclaration||D.identifierRole===p1.ObjectShorthandBlockScopedDeclaration||D.identifierRole===p1.ObjectShorthandFunctionScopedDeclaration}I1.isObjectShorthandDeclaration=Qp;class tQ{constructor(){this.type=y.state.type,this.contextualKeyword=y.state.contextualKeyword,this.start=y.state.start,this.end=y.state.end,this.scopeDepth=y.state.scopeDepth,this.isType=y.state.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}}I1.Token=tQ;function oQ(){y.state.tokens.push(new tQ),AE()}I1.next=oQ;function Yp(){y.state.tokens.push(new tQ),y.state.start=y.state.pos,jp()}I1.nextTemplateToken=Yp;function Jp(){if(y.state.type===I0.TokenType.assign)--y.state.pos;Rp()}I1.retokenizeSlashAsRegex=Jp;function qp(D){for(let Q=y.state.tokens.length-D;Q<y.state.tokens.length;Q++)y.state.tokens[Q].isType=!0;let Z=y.state.isType;return y.state.isType=!0,Z}I1.pushTypeContext=qp;function Bp(D){y.state.isType=D}I1.popTypeContext=Bp;function XE(D){if(tH(D))return oQ(),!0;else return!1}I1.eat=XE;function Hp(D){let Z=y.state.isType;y.state.isType=!0,XE(D),y.state.isType=Z}I1.eatTypeToken=Hp;function tH(D){return y.state.type===D}I1.match=tH;function Vp(){let D=y.state.snapshot();oQ();let Z=y.state.type;return y.state.restoreFromSnapshot(D),Z}I1.lookaheadType=Vp;class oH{constructor(D,Z){this.type=D,this.contextualKeyword=Z}}I1.TypeAndKeyword=oH;function Kp(){let D=y.state.snapshot();oQ();let Z=y.state.type,Q=y.state.contextualKeyword;return y.state.restoreFromSnapshot(D),new oH(Z,Q)}I1.lookaheadTypeAndKeyword=Kp;function FE(){return UE(y.state.pos)}I1.nextTokenStart=FE;function UE(D){aH.skipWhiteSpace.lastIndex=D;let Z=aH.skipWhiteSpace.exec(y.input);return D+Z[0].length}I1.nextTokenStartSince=UE;function Gp(){return y.input.charCodeAt(FE())}I1.lookaheadCharCode=Gp;function AE(){if(EE(),y.state.start=y.state.pos,y.state.pos>=y.input.length){let D=y.state.tokens;if(D.length>=2&&D[D.length-1].start>=y.input.length&&D[D.length-2].start>=y.input.length)e7.unexpected.call(void 0,"Unexpectedly reached the end of input.");P1(I0.TokenType.eof);return}zp(y.input.charCodeAt(y.state.pos))}I1.nextToken=AE;function zp(D){if(OE.IS_IDENTIFIER_START[D]||D===D0.charCodes.backslash||D===D0.charCodes.atSign&&y.input.charCodeAt(y.state.pos+1)===D0.charCodes.atSign)al.default.call(void 0);else LE(D)}function Wp(){while(y.input.charCodeAt(y.state.pos)!==D0.charCodes.asterisk||y.input.charCodeAt(y.state.pos+1)!==D0.charCodes.slash)if(y.state.pos++,y.state.pos>y.input.length){e7.unexpected.call(void 0,"Unterminated comment",y.state.pos-2);return}y.state.pos+=2}function $E(D){let Z=y.input.charCodeAt(y.state.pos+=D);if(y.state.pos<y.input.length)while(Z!==D0.charCodes.lineFeed&&Z!==D0.charCodes.carriageReturn&&Z!==D0.charCodes.lineSeparator&&Z!==D0.charCodes.paragraphSeparator&&++y.state.pos<y.input.length)Z=y.input.charCodeAt(y.state.pos)}I1.skipLineComment=$E;function EE(){while(y.state.pos<y.input.length){let D=y.input.charCodeAt(y.state.pos);switch(D){case D0.charCodes.carriageReturn:if(y.input.charCodeAt(y.state.pos+1)===D0.charCodes.lineFeed)++y.state.pos;case D0.charCodes.lineFeed:case D0.charCodes.lineSeparator:case D0.charCodes.paragraphSeparator:++y.state.pos;break;case D0.charCodes.slash:switch(y.input.charCodeAt(y.state.pos+1)){case D0.charCodes.asterisk:y.state.pos+=2,Wp();break;case D0.charCodes.slash:$E(2);break;default:return}break;default:if(aH.IS_WHITESPACE[D])++y.state.pos;else return}}}I1.skipSpace=EE;function P1(D,Z=rl.ContextualKeyword.NONE){y.state.end=y.state.pos,y.state.type=D,y.state.contextualKeyword=Z}I1.finishToken=P1;function Op(){let D=y.input.charCodeAt(y.state.pos+1);if(D>=D0.charCodes.digit0&&D<=D0.charCodes.digit9){CE(!0);return}if(D===D0.charCodes.dot&&y.input.charCodeAt(y.state.pos+2)===D0.charCodes.dot)y.state.pos+=3,P1(I0.TokenType.ellipsis);else++y.state.pos,P1(I0.TokenType.dot)}function Xp(){if(y.input.charCodeAt(y.state.pos+1)===D0.charCodes.equalsTo)M1(I0.TokenType.assign,2);else M1(I0.TokenType.slash,1)}function Fp(D){let Z=D===D0.charCodes.asterisk?I0.TokenType.star:I0.TokenType.modulo,Q=1,Y=y.input.charCodeAt(y.state.pos+1);if(D===D0.charCodes.asterisk&&Y===D0.charCodes.asterisk)Q++,Y=y.input.charCodeAt(y.state.pos+2),Z=I0.TokenType.exponent;if(Y===D0.charCodes.equalsTo&&y.input.charCodeAt(y.state.pos+2)!==D0.charCodes.greaterThan)Q++,Z=I0.TokenType.assign;M1(Z,Q)}function Up(D){let Z=y.input.charCodeAt(y.state.pos+1);if(Z===D){if(y.input.charCodeAt(y.state.pos+2)===D0.charCodes.equalsTo)M1(I0.TokenType.assign,3);else M1(D===D0.charCodes.verticalBar?I0.TokenType.logicalOR:I0.TokenType.logicalAND,2);return}if(D===D0.charCodes.verticalBar){if(Z===D0.charCodes.greaterThan){M1(I0.TokenType.pipeline,2);return}else if(Z===D0.charCodes.rightCurlyBrace&&y.isFlowEnabled){M1(I0.TokenType.braceBarR,2);return}}if(Z===D0.charCodes.equalsTo){M1(I0.TokenType.assign,2);return}M1(D===D0.charCodes.verticalBar?I0.TokenType.bitwiseOR:I0.TokenType.bitwiseAND,1)}function Ap(){if(y.input.charCodeAt(y.state.pos+1)===D0.charCodes.equalsTo)M1(I0.TokenType.assign,2);else M1(I0.TokenType.bitwiseXOR,1)}function $p(D){let Z=y.input.charCodeAt(y.state.pos+1);if(Z===D){M1(I0.TokenType.preIncDec,2);return}if(Z===D0.charCodes.equalsTo)M1(I0.TokenType.assign,2);else if(D===D0.charCodes.plusSign)M1(I0.TokenType.plus,1);else M1(I0.TokenType.minus,1)}function Ep(){let D=y.input.charCodeAt(y.state.pos+1);if(D===D0.charCodes.lessThan){if(y.input.charCodeAt(y.state.pos+2)===D0.charCodes.equalsTo){M1(I0.TokenType.assign,3);return}if(y.state.isType)M1(I0.TokenType.lessThan,1);else M1(I0.TokenType.bitShiftL,2);return}if(D===D0.charCodes.equalsTo)M1(I0.TokenType.relationalOrEqual,2);else M1(I0.TokenType.lessThan,1)}function wE(){if(y.state.isType){M1(I0.TokenType.greaterThan,1);return}let D=y.input.charCodeAt(y.state.pos+1);if(D===D0.charCodes.greaterThan){let Z=y.input.charCodeAt(y.state.pos+2)===D0.charCodes.greaterThan?3:2;if(y.input.charCodeAt(y.state.pos+Z)===D0.charCodes.equalsTo){M1(I0.TokenType.assign,Z+1);return}M1(I0.TokenType.bitShiftR,Z);return}if(D===D0.charCodes.equalsTo)M1(I0.TokenType.relationalOrEqual,2);else M1(I0.TokenType.greaterThan,1)}function wp(){if(y.state.type===I0.TokenType.greaterThan)y.state.pos-=1,wE()}I1.rescan_gt=wp;function Lp(D){let Z=y.input.charCodeAt(y.state.pos+1);if(Z===D0.charCodes.equalsTo){M1(I0.TokenType.equality,y.input.charCodeAt(y.state.pos+2)===D0.charCodes.equalsTo?3:2);return}if(D===D0.charCodes.equalsTo&&Z===D0.charCodes.greaterThan){y.state.pos+=2,P1(I0.TokenType.arrow);return}M1(D===D0.charCodes.equalsTo?I0.TokenType.eq:I0.TokenType.bang,1)}function Cp(){let D=y.input.charCodeAt(y.state.pos+1),Z=y.input.charCodeAt(y.state.pos+2);if(D===D0.charCodes.questionMark&&!(y.isFlowEnabled&&y.state.isType))if(Z===D0.charCodes.equalsTo)M1(I0.TokenType.assign,3);else M1(I0.TokenType.nullishCoalescing,2);else if(D===D0.charCodes.dot&&!(Z>=D0.charCodes.digit0&&Z<=D0.charCodes.digit9))y.state.pos+=2,P1(I0.TokenType.questionDot);else++y.state.pos,P1(I0.TokenType.question)}function LE(D){switch(D){case D0.charCodes.numberSign:++y.state.pos,P1(I0.TokenType.hash);return;case D0.charCodes.dot:Op();return;case D0.charCodes.leftParenthesis:++y.state.pos,P1(I0.TokenType.parenL);return;case D0.charCodes.rightParenthesis:++y.state.pos,P1(I0.TokenType.parenR);return;case D0.charCodes.semicolon:++y.state.pos,P1(I0.TokenType.semi);return;case D0.charCodes.comma:++y.state.pos,P1(I0.TokenType.comma);return;case D0.charCodes.leftSquareBracket:++y.state.pos,P1(I0.TokenType.bracketL);return;case D0.charCodes.rightSquareBracket:++y.state.pos,P1(I0.TokenType.bracketR);return;case D0.charCodes.leftCurlyBrace:if(y.isFlowEnabled&&y.input.charCodeAt(y.state.pos+1)===D0.charCodes.verticalBar)M1(I0.TokenType.braceBarL,2);else++y.state.pos,P1(I0.TokenType.braceL);return;case D0.charCodes.rightCurlyBrace:++y.state.pos,P1(I0.TokenType.braceR);return;case D0.charCodes.colon:if(y.input.charCodeAt(y.state.pos+1)===D0.charCodes.colon)M1(I0.TokenType.doubleColon,2);else++y.state.pos,P1(I0.TokenType.colon);return;case D0.charCodes.questionMark:Cp();return;case D0.charCodes.atSign:++y.state.pos,P1(I0.TokenType.at);return;case D0.charCodes.graveAccent:++y.state.pos,P1(I0.TokenType.backQuote);return;case D0.charCodes.digit0:{let Z=y.input.charCodeAt(y.state.pos+1);if(Z===D0.charCodes.lowercaseX||Z===D0.charCodes.uppercaseX||Z===D0.charCodes.lowercaseO||Z===D0.charCodes.uppercaseO||Z===D0.charCodes.lowercaseB||Z===D0.charCodes.uppercaseB){Mp();return}}case D0.charCodes.digit1:case D0.charCodes.digit2:case D0.charCodes.digit3:case D0.charCodes.digit4:case D0.charCodes.digit5:case D0.charCodes.digit6:case D0.charCodes.digit7:case D0.charCodes.digit8:case D0.charCodes.digit9:CE(!1);return;case D0.charCodes.quotationMark:case D0.charCodes.apostrophe:Ip(D);return;case D0.charCodes.slash:Xp();return;case D0.charCodes.percentSign:case D0.charCodes.asterisk:Fp(D);return;case D0.charCodes.verticalBar:case D0.charCodes.ampersand:Up(D);return;case D0.charCodes.caret:Ap();return;case D0.charCodes.plusSign:case D0.charCodes.dash:$p(D);return;case D0.charCodes.lessThan:Ep();return;case D0.charCodes.greaterThan:wE();return;case D0.charCodes.equalsTo:case D0.charCodes.exclamationMark:Lp(D);return;case D0.charCodes.tilde:M1(I0.TokenType.tilde,1);return;default:break}e7.unexpected.call(void 0,`Unexpected character '${String.fromCharCode(D)}'`,y.state.pos)}I1.getTokenFromCode=LE;function M1(D,Z){y.state.pos+=Z,P1(D)}function Rp(){let D=y.state.pos,Z=!1,Q=!1;for(;;){if(y.state.pos>=y.input.length){e7.unexpected.call(void 0,"Unterminated regular expression",D);return}let Y=y.input.charCodeAt(y.state.pos);if(Z)Z=!1;else{if(Y===D0.charCodes.leftSquareBracket)Q=!0;else if(Y===D0.charCodes.rightSquareBracket&&Q)Q=!1;else if(Y===D0.charCodes.slash&&!Q)break;Z=Y===D0.charCodes.backslash}++y.state.pos}++y.state.pos,RE(),P1(I0.TokenType.regexp)}function sH(){while(!0){let D=y.input.charCodeAt(y.state.pos);if(D>=D0.charCodes.digit0&&D<=D0.charCodes.digit9||D===D0.charCodes.underscore)y.state.pos++;else break}}function Mp(){y.state.pos+=2;while(!0){let Z=y.input.charCodeAt(y.state.pos);if(Z>=D0.charCodes.digit0&&Z<=D0.charCodes.digit9||Z>=D0.charCodes.lowercaseA&&Z<=D0.charCodes.lowercaseF||Z>=D0.charCodes.uppercaseA&&Z<=D0.charCodes.uppercaseF||Z===D0.charCodes.underscore)y.state.pos++;else break}if(y.input.charCodeAt(y.state.pos)===D0.charCodes.lowercaseN)++y.state.pos,P1(I0.TokenType.bigint);else P1(I0.TokenType.num)}function CE(D){let Z=!1,Q=!1;if(!D)sH();let Y=y.input.charCodeAt(y.state.pos);if(Y===D0.charCodes.dot)++y.state.pos,sH(),Y=y.input.charCodeAt(y.state.pos);if(Y===D0.charCodes.uppercaseE||Y===D0.charCodes.lowercaseE){if(Y=y.input.charCodeAt(++y.state.pos),Y===D0.charCodes.plusSign||Y===D0.charCodes.dash)++y.state.pos;sH(),Y=y.input.charCodeAt(y.state.pos)}if(Y===D0.charCodes.lowercaseN)++y.state.pos,Z=!0;else if(Y===D0.charCodes.lowercaseM)++y.state.pos,Q=!0;if(Z){P1(I0.TokenType.bigint);return}if(Q){P1(I0.TokenType.decimal);return}P1(I0.TokenType.num)}function Ip(D){y.state.pos++;for(;;){if(y.state.pos>=y.input.length){e7.unexpected.call(void 0,"Unterminated string constant");return}let Z=y.input.charCodeAt(y.state.pos);if(Z===D0.charCodes.backslash)y.state.pos++;else if(Z===D)break;y.state.pos++}y.state.pos++,P1(I0.TokenType.string)}function jp(){for(;;){if(y.state.pos>=y.input.length){e7.unexpected.call(void 0,"Unterminated template");return}let D=y.input.charCodeAt(y.state.pos);if(D===D0.charCodes.graveAccent||D===D0.charCodes.dollarSign&&y.input.charCodeAt(y.state.pos+1)===D0.charCodes.leftCurlyBrace){if(y.state.pos===y.state.start&&tH(I0.TokenType.template))if(D===D0.charCodes.dollarSign){y.state.pos+=2,P1(I0.TokenType.dollarBraceL);return}else{++y.state.pos,P1(I0.TokenType.backQuote);return}P1(I0.TokenType.template);return}if(D===D0.charCodes.backslash)y.state.pos++;y.state.pos++}}function RE(){while(y.state.pos<y.input.length){let D=y.input.charCodeAt(y.state.pos);if(OE.IS_IDENTIFIER_CHAR[D])y.state.pos++;else if(D===D0.charCodes.backslash){if(y.state.pos+=2,y.input.charCodeAt(y.state.pos)===D0.charCodes.leftCurlyBrace){while(y.state.pos<y.input.length&&y.input.charCodeAt(y.state.pos)!==D0.charCodes.rightCurlyBrace)y.state.pos++;y.state.pos++}}else break}}I1.skipWord=RE});var l4=M((eH)=>{Object.defineProperty(eH,"__esModule",{value:!0});var ME=V1();function Np(D,Z=D.currentIndex()){let Q=Z+1;if(eQ(D,Q)){let Y=D.identifierNameAtIndex(Z);return{isType:!1,leftName:Y,rightName:Y,endIndex:Q}}if(Q++,eQ(D,Q))return{isType:!0,leftName:null,rightName:null,endIndex:Q};if(Q++,eQ(D,Q))return{isType:!1,leftName:D.identifierNameAtIndex(Z),rightName:D.identifierNameAtIndex(Z+2),endIndex:Q};if(Q++,eQ(D,Q))return{isType:!0,leftName:null,rightName:null,endIndex:Q};throw new Error(`Unexpected import/export specifier at ${Z}`)}eH.default=Np;function eQ(D,Z){let Q=D.tokens[Z];return Q.type===ME.TokenType.braceR||Q.type===ME.TokenType.comma}});var IE=M((DV)=>{Object.defineProperty(DV,"__esModule",{value:!0});DV.default=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp"," "],["iexcl","¡"],["cent","¢"],["pound","£"],["curren","¤"],["yen","¥"],["brvbar","¦"],["sect","§"],["uml","¨"],["copy","©"],["ordf","ª"],["laquo","«"],["not","¬"],["shy",""],["reg","®"],["macr","¯"],["deg","°"],["plusmn","±"],["sup2","²"],["sup3","³"],["acute","´"],["micro","µ"],["para","¶"],["middot","·"],["cedil","¸"],["sup1","¹"],["ordm","º"],["raquo","»"],["frac14","¼"],["frac12","½"],["frac34","¾"],["iquest","¿"],["Agrave","À"],["Aacute","Á"],["Acirc","Â"],["Atilde","Ã"],["Auml","Ä"],["Aring","Å"],["AElig","Æ"],["Ccedil","Ç"],["Egrave","È"],["Eacute","É"],["Ecirc","Ê"],["Euml","Ë"],["Igrave","Ì"],["Iacute","Í"],["Icirc","Î"],["Iuml","Ï"],["ETH","Ð"],["Ntilde","Ñ"],["Ograve","Ò"],["Oacute","Ó"],["Ocirc","Ô"],["Otilde","Õ"],["Ouml","Ö"],["times","×"],["Oslash","Ø"],["Ugrave","Ù"],["Uacute","Ú"],["Ucirc","Û"],["Uuml","Ü"],["Yacute","Ý"],["THORN","Þ"],["szlig","ß"],["agrave","à"],["aacute","á"],["acirc","â"],["atilde","ã"],["auml","ä"],["aring","å"],["aelig","æ"],["ccedil","ç"],["egrave","è"],["eacute","é"],["ecirc","ê"],["euml","ë"],["igrave","ì"],["iacute","í"],["icirc","î"],["iuml","ï"],["eth","ð"],["ntilde","ñ"],["ograve","ò"],["oacute","ó"],["ocirc","ô"],["otilde","õ"],["ouml","ö"],["divide","÷"],["oslash","ø"],["ugrave","ù"],["uacute","ú"],["ucirc","û"],["uuml","ü"],["yacute","ý"],["thorn","þ"],["yuml","ÿ"],["OElig","Œ"],["oelig","œ"],["Scaron","Š"],["scaron","š"],["Yuml","Ÿ"],["fnof","ƒ"],["circ","ˆ"],["tilde","˜"],["Alpha","Α"],["Beta","Β"],["Gamma","Γ"],["Delta","Δ"],["Epsilon","Ε"],["Zeta","Ζ"],["Eta","Η"],["Theta","Θ"],["Iota","Ι"],["Kappa","Κ"],["Lambda","Λ"],["Mu","Μ"],["Nu","Ν"],["Xi","Ξ"],["Omicron","Ο"],["Pi","Π"],["Rho","Ρ"],["Sigma","Σ"],["Tau","Τ"],["Upsilon","Υ"],["Phi","Φ"],["Chi","Χ"],["Psi","Ψ"],["Omega","Ω"],["alpha","α"],["beta","β"],["gamma","γ"],["delta","δ"],["epsilon","ε"],["zeta","ζ"],["eta","η"],["theta","θ"],["iota","ι"],["kappa","κ"],["lambda","λ"],["mu","μ"],["nu","ν"],["xi","ξ"],["omicron","ο"],["pi","π"],["rho","ρ"],["sigmaf","ς"],["sigma","σ"],["tau","τ"],["upsilon","υ"],["phi","φ"],["chi","χ"],["psi","ψ"],["omega","ω"],["thetasym","ϑ"],["upsih","ϒ"],["piv","ϖ"],["ensp"," "],["emsp"," "],["thinsp"," "],["zwnj",""],["zwj",""],["lrm",""],["rlm",""],["ndash","–"],["mdash","—"],["lsquo","‘"],["rsquo","’"],["sbquo","‚"],["ldquo","“"],["rdquo","”"],["bdquo","„"],["dagger","†"],["Dagger","‡"],["bull","•"],["hellip","…"],["permil","‰"],["prime","′"],["Prime","″"],["lsaquo","‹"],["rsaquo","›"],["oline","‾"],["frasl","⁄"],["euro","€"],["image","ℑ"],["weierp","℘"],["real","ℜ"],["trade","™"],["alefsym","ℵ"],["larr","←"],["uarr","↑"],["rarr","→"],["darr","↓"],["harr","↔"],["crarr","↵"],["lArr","⇐"],["uArr","⇑"],["rArr","⇒"],["dArr","⇓"],["hArr","⇔"],["forall","∀"],["part","∂"],["exist","∃"],["empty","∅"],["nabla","∇"],["isin","∈"],["notin","∉"],["ni","∋"],["prod","∏"],["sum","∑"],["minus","−"],["lowast","∗"],["radic","√"],["prop","∝"],["infin","∞"],["ang","∠"],["and","∧"],["or","∨"],["cap","∩"],["cup","∪"],["int","∫"],["there4","∴"],["sim","∼"],["cong","≅"],["asymp","≈"],["ne","≠"],["equiv","≡"],["le","≤"],["ge","≥"],["sub","⊂"],["sup","⊃"],["nsub","⊄"],["sube","⊆"],["supe","⊇"],["oplus","⊕"],["otimes","⊗"],["perp","⊥"],["sdot","⋅"],["lceil","⌈"],["rceil","⌉"],["lfloor","⌊"],["rfloor","⌋"],["lang","〈"],["rang","〉"],["loz","◊"],["spades","♠"],["clubs","♣"],["hearts","♥"],["diams","♦"]])});var QV=M((ZV)=>{Object.defineProperty(ZV,"__esModule",{value:!0});function Pp(D){let[Z,Q]=jE(D.jsxPragma||"React.createElement"),[Y,J]=jE(D.jsxFragmentPragma||"React.Fragment");return{base:Z,suffix:Q,fragmentBase:Y,fragmentSuffix:J}}ZV.default=Pp;function jE(D){let Z=D.indexOf(".");if(Z===-1)Z=D.length;return[D.slice(0,Z),D.slice(Z)]}});var t8=M((YV)=>{Object.defineProperty(YV,"__esModule",{value:!0});class NE{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}YV.default=NE});var qV=M((ZY)=>{Object.defineProperty(ZY,"__esModule",{value:!0});function JV(D){return D&&D.__esModule?D:{default:D}}var Sp=IE(),up=JV(Sp),DY=A5(),A1=V1(),c2=S8(),vp=QV(),Tp=JV(vp),bp=t8(),hp=JV(bp);class tD extends hp.default{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(D,Z,Q,Y,J){super();this.rootTransformer=D,this.tokens=Z,this.importProcessor=Q,this.nameManager=Y,this.options=J,tD.prototype.__init.call(this),tD.prototype.__init2.call(this),tD.prototype.__init3.call(this),tD.prototype.__init4.call(this),tD.prototype.__init5.call(this),this.jsxPragmaInfo=Tp.default.call(void 0,J),this.isAutomaticRuntime=J.jsxRuntime==="automatic",this.jsxImportSource=J.jsxImportSource||"react"}process(){if(this.tokens.matches1(A1.TokenType.jsxTagStart))return this.processJSXTag(),!0;return!1}getPrefixCode(){let D="";if(this.filenameVarName)D+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`;if(this.isAutomaticRuntime)if(this.importProcessor)for(let[Z,Q]of Object.entries(this.cjsAutomaticModuleNameResolutions))D+=`var ${Q} = require("${Z}");`;else{let{createElement:Z,...Q}=this.esmAutomaticImportNameResolutions;if(Z)D+=`import {createElement as ${Z}} from "${this.jsxImportSource}";`;let Y=Object.entries(Q).map(([J,q])=>`${J} as ${q}`).join(", ");if(Y){let J=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");D+=`import {${Y}} from "${J}";`}}return D}processJSXTag(){let{jsxRole:D,start:Z}=this.tokens.currentToken(),Q=this.options.production?null:this.getElementLocationCode(Z);if(this.isAutomaticRuntime&&D!==DY.JSXRole.KeyAfterPropSpread)this.transformTagToJSXFunc(Q,D);else this.transformTagToCreateElement(Q)}getElementLocationCode(D){return`lineNumber: ${this.getLineNumberForIndex(D)}`}getLineNumberForIndex(D){let Z=this.tokens.code;while(this.lastIndex<D&&this.lastIndex<Z.length){if(Z[this.lastIndex]===`
|
|
35
|
+
`)this.lastLineNumber++;this.lastIndex++}return this.lastLineNumber}transformTagToJSXFunc(D,Z){let Q=Z===DY.JSXRole.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(Q));let Y=null;if(this.tokens.matches1(A1.TokenType.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(Z);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),Y=this.processProps(!0),this.tokens.matches2(A1.TokenType.slash,A1.TokenType.jsxTagEnd))this.tokens.appendCode("}");else if(this.tokens.matches1(A1.TokenType.jsxTagEnd))this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(Z);else throw new Error("Expected either /> or > at the end of the tag.");if(Y)this.tokens.appendCode(`, ${Y}`)}if(!this.options.production){if(Y===null)this.tokens.appendCode(", void 0");this.tokens.appendCode(`, ${Q}, ${this.getDevSource(D)}, this`)}this.tokens.removeInitialToken();while(!this.tokens.matches1(A1.TokenType.jsxTagEnd))this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(D){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(A1.TokenType.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(D),this.tokens.matches2(A1.TokenType.slash,A1.TokenType.jsxTagEnd));else if(this.tokens.matches1(A1.TokenType.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw new Error("Expected either /> or > at the end of the tag.");this.tokens.removeInitialToken();while(!this.tokens.matches1(A1.TokenType.jsxTagEnd))this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(D){if(this.options.production)if(D)return this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime");else return this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime");else return this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");else{let{jsxPragmaInfo:D}=this;return`${this.importProcessor?this.importProcessor.getIdentifierReplacement(D.base)||D.base:D.base}${D.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");else{let{jsxPragmaInfo:D}=this;return(this.importProcessor?this.importProcessor.getIdentifierReplacement(D.fragmentBase)||D.fragmentBase:D.fragmentBase)+D.fragmentSuffix}}claimAutoImportedFuncInvocation(D,Z){let Q=this.claimAutoImportedName(D,Z);if(this.importProcessor)return`${Q}.call(void 0, `;else return`${Q}(`}claimAutoImportedName(D,Z){if(this.importProcessor){let Q=this.jsxImportSource+Z;if(!this.cjsAutomaticModuleNameResolutions[Q])this.cjsAutomaticModuleNameResolutions[Q]=this.importProcessor.getFreeIdentifierForPath(Q);return`${this.cjsAutomaticModuleNameResolutions[Q]}.${D}`}else{if(!this.esmAutomaticImportNameResolutions[D])this.esmAutomaticImportNameResolutions[D]=this.nameManager.claimFreeName(`_${D}`);return this.esmAutomaticImportNameResolutions[D]}}processTagIntro(){let D=this.tokens.currentIndex()+1;while(this.tokens.tokens[D].isType||!this.tokens.matches2AtIndex(D-1,A1.TokenType.jsxName,A1.TokenType.jsxName)&&!this.tokens.matches2AtIndex(D-1,A1.TokenType.greaterThan,A1.TokenType.jsxName)&&!this.tokens.matches1AtIndex(D,A1.TokenType.braceL)&&!this.tokens.matches1AtIndex(D,A1.TokenType.jsxTagEnd)&&!this.tokens.matches2AtIndex(D,A1.TokenType.slash,A1.TokenType.jsxTagEnd))D++;if(D===this.tokens.currentIndex()+1){let Z=this.tokens.identifierName();if(SE(Z))this.tokens.replaceToken(`'${Z}'`)}while(this.tokens.currentIndex()<D)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(D){let Z=this.options.production?"":`__self: this, __source: ${this.getDevSource(D)}`;if(!this.tokens.matches1(A1.TokenType.jsxName)&&!this.tokens.matches1(A1.TokenType.braceL)){if(Z)this.tokens.appendCode(`, {${Z}}`);else this.tokens.appendCode(", null");return}if(this.tokens.appendCode(", {"),this.processProps(!1),Z)this.tokens.appendCode(` ${Z}}`);else this.tokens.appendCode("}")}processProps(D){let Z=null;while(!0){if(this.tokens.matches2(A1.TokenType.jsxName,A1.TokenType.eq)){let Q=this.tokens.identifierName();if(D&&Q==="key"){if(Z!==null)this.tokens.appendCode(Z.replace(/[^\n]/g,""));this.tokens.removeToken(),this.tokens.removeToken();let Y=this.tokens.snapshot();this.processPropValue(),Z=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(Y);continue}else this.processPropName(Q),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(A1.TokenType.jsxName)){let Q=this.tokens.identifierName();this.processPropName(Q),this.tokens.appendCode(": true")}else if(this.tokens.matches1(A1.TokenType.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else break;this.tokens.appendCode(",")}return Z}processPropName(D){if(D.includes("-"))this.tokens.replaceToken(`'${D}'`);else this.tokens.copyToken()}processPropValue(){if(this.tokens.matches1(A1.TokenType.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else if(this.tokens.matches1(A1.TokenType.jsxTagStart))this.processJSXTag();else this.processStringPropValue()}processStringPropValue(){let D=this.tokens.currentToken(),Z=this.tokens.code.slice(D.start+1,D.end-1),Q=PE(Z),Y=kp(Z);this.tokens.replaceToken(Y+Q)}processAutomaticChildrenAndEndProps(D){if(D===DY.JSXRole.StaticChildren)this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}");else{if(D===DY.JSXRole.OneChild)this.tokens.appendCode(" children: ");this.processChildren(!1),this.tokens.appendCode("}")}}processChildren(D){let Z=D;while(!0){if(this.tokens.matches2(A1.TokenType.jsxTagStart,A1.TokenType.slash))return;let Q=!1;if(this.tokens.matches1(A1.TokenType.braceL))if(this.tokens.matches2(A1.TokenType.braceL,A1.TokenType.braceR))this.tokens.replaceToken(""),this.tokens.replaceToken("");else this.tokens.replaceToken(Z?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),Q=!0;else if(this.tokens.matches1(A1.TokenType.jsxTagStart))this.tokens.appendCode(Z?", ":""),this.processJSXTag(),Q=!0;else if(this.tokens.matches1(A1.TokenType.jsxText)||this.tokens.matches1(A1.TokenType.jsxEmptyText))Q=this.processChildTextElement(Z);else throw new Error("Unexpected token when processing JSX children.");if(Q)Z=!0}}processChildTextElement(D){let Z=this.tokens.currentToken(),Q=this.tokens.code.slice(Z.start,Z.end),Y=PE(Q),J=_p(Q);if(J==='""')return this.tokens.replaceToken(Y),!1;else return this.tokens.replaceToken(`${D?", ":""}${J}${Y}`),!0}getDevSource(D){return`{fileName: ${this.getFilenameVarName()}, ${D}}`}getFilenameVarName(){if(!this.filenameVarName)this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName");return this.filenameVarName}}ZY.default=tD;function SE(D){let Z=D.charCodeAt(0);return Z>=c2.charCodes.lowercaseA&&Z<=c2.charCodes.lowercaseZ}ZY.startsWithLowerCase=SE;function _p(D){let Z="",Q="",Y=!1,J=!1;for(let q=0;q<D.length;q++){let B=D[q];if(B===" "||B==="\t"||B==="\r"){if(!Y)Q+=B}else if(B===`
|
|
36
|
+
`)Q="",Y=!0;else{if(J&&Y)Z+=" ";if(Z+=Q,Q="",B==="&"){let{entity:H,newI:V}=uE(D,q+1);q=V-1,Z+=H}else Z+=B;J=!0,Y=!1}}if(!Y)Z+=Q;return JSON.stringify(Z)}function PE(D){let Z=0,Q=0;for(let Y of D)if(Y===`
|
|
37
|
+
`)Z++,Q=0;else if(Y===" ")Q++;return`
|
|
38
|
+
`.repeat(Z)+" ".repeat(Q)}function kp(D){let Z="";for(let Q=0;Q<D.length;Q++){let Y=D[Q];if(Y===`
|
|
39
|
+
`)if(/\s/.test(D[Q+1])){Z+=" ";while(Q<D.length&&/\s/.test(D[Q+1]))Q++}else Z+=`
|
|
40
|
+
`;else if(Y==="&"){let{entity:J,newI:q}=uE(D,Q+1);Z+=J,Q=q-1}else Z+=Y}return JSON.stringify(Z)}function uE(D,Z){let Q="",Y=0,J,q=Z;if(D[q]==="#"){let B=10;q++;let H;if(D[q]==="x"){B=16,q++,H=q;while(q<D.length&&fp(D.charCodeAt(q)))q++}else{H=q;while(q<D.length&&yp(D.charCodeAt(q)))q++}if(D[q]===";"){let V=D.slice(H,q);if(V)q++,J=String.fromCodePoint(parseInt(V,B))}}else while(q<D.length&&Y++<10){let B=D[q];if(q++,B===";"){J=up.default.get(Q);break}Q+=B}if(!J)return{entity:"&",newI:Z};return{entity:J,newI:q}}function yp(D){return D>=c2.charCodes.digit0&&D<=c2.charCodes.digit9}function fp(D){return D>=c2.charCodes.digit0&&D<=c2.charCodes.digit9||D>=c2.charCodes.lowercaseA&&D<=c2.charCodes.lowercaseF||D>=c2.charCodes.uppercaseA&&D<=c2.charCodes.uppercaseF}});var HV=M((BV)=>{Object.defineProperty(BV,"__esModule",{value:!0});function xp(D){return D&&D.__esModule?D:{default:D}}var QY=A5(),D6=V1(),mp=qV(),gp=QV(),cp=xp(gp);function dp(D,Z){let Q=cp.default.call(void 0,Z),Y=new Set;for(let J=0;J<D.tokens.length;J++){let q=D.tokens[J];if(q.type===D6.TokenType.name&&!q.isType&&(q.identifierRole===QY.IdentifierRole.Access||q.identifierRole===QY.IdentifierRole.ObjectShorthand||q.identifierRole===QY.IdentifierRole.ExportAccess)&&!q.shadowsGlobal)Y.add(D.identifierNameForToken(q));if(q.type===D6.TokenType.jsxTagStart)Y.add(Q.base);if(q.type===D6.TokenType.jsxTagStart&&J+1<D.tokens.length&&D.tokens[J+1].type===D6.TokenType.jsxTagEnd)Y.add(Q.base),Y.add(Q.fragmentBase);if(q.type===D6.TokenType.jsxName&&q.identifierRole===QY.IdentifierRole.Access){let B=D.identifierNameForToken(q);if(!mp.startsWithLowerCase.call(void 0,B)||D.tokens[J+1].type===D6.TokenType.dot)Y.add(D.identifierNameForToken(q))}}return Y}BV.getNonTypeIdentifiers=dp});var vE=M((VV)=>{Object.defineProperty(VV,"__esModule",{value:!0});function lp(D){return D&&D.__esModule?D:{default:D}}var pp=A5(),YY=S5(),i0=V1(),ip=l4(),np=lp(ip),rp=HV();class oD{__init(){this.nonTypeIdentifiers=new Set}__init2(){this.importInfoByPath=new Map}__init3(){this.importsToReplace=new Map}__init4(){this.identifierReplacements=new Map}__init5(){this.exportBindingsByLocalName=new Map}constructor(D,Z,Q,Y,J,q,B){this.nameManager=D,this.tokens=Z,this.enableLegacyTypeScriptModuleInterop=Q,this.options=Y,this.isTypeScriptTransformEnabled=J,this.keepUnusedImports=q,this.helperManager=B,oD.prototype.__init.call(this),oD.prototype.__init2.call(this),oD.prototype.__init3.call(this),oD.prototype.__init4.call(this),oD.prototype.__init5.call(this)}preprocessTokens(){for(let D=0;D<this.tokens.tokens.length;D++){if(this.tokens.matches1AtIndex(D,i0.TokenType._import)&&!this.tokens.matches3AtIndex(D,i0.TokenType._import,i0.TokenType.name,i0.TokenType.eq))this.preprocessImportAtIndex(D);if(this.tokens.matches1AtIndex(D,i0.TokenType._export)&&!this.tokens.matches2AtIndex(D,i0.TokenType._export,i0.TokenType.eq))this.preprocessExportAtIndex(D)}this.generateImportReplacements()}pruneTypeOnlyImports(){this.nonTypeIdentifiers=rp.getNonTypeIdentifiers.call(void 0,this.tokens,this.options);for(let[D,Z]of this.importInfoByPath.entries()){if(Z.hasBareImport||Z.hasStarExport||Z.exportStarNames.length>0||Z.namedExports.length>0)continue;if([...Z.defaultNames,...Z.wildcardNames,...Z.namedImports.map(({localName:Y})=>Y)].every((Y)=>this.shouldAutomaticallyElideImportedName(Y)))this.importsToReplace.set(D,"")}}shouldAutomaticallyElideImportedName(D){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(D)}generateImportReplacements(){for(let[D,Z]of this.importInfoByPath.entries()){let{defaultNames:Q,wildcardNames:Y,namedImports:J,namedExports:q,exportStarNames:B,hasStarExport:H}=Z;if(Q.length===0&&Y.length===0&&J.length===0&&q.length===0&&B.length===0&&!H){this.importsToReplace.set(D,`require('${D}');`);continue}let V=this.getFreeIdentifierForPath(D),K;if(this.enableLegacyTypeScriptModuleInterop)K=V;else K=Y.length>0?Y[0]:this.getFreeIdentifierForPath(D);let G=`var ${V} = require('${D}');`;if(Y.length>0)for(let W of Y){let O=this.enableLegacyTypeScriptModuleInterop?V:`${this.helperManager.getHelperName("interopRequireWildcard")}(${V})`;G+=` var ${W} = ${O};`}else if(B.length>0&&K!==V)G+=` var ${K} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${V});`;else if(Q.length>0&&K!==V)G+=` var ${K} = ${this.helperManager.getHelperName("interopRequireDefault")}(${V});`;for(let{importedName:W,localName:O}of q)G+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${V}, '${O}', '${W}');`;for(let W of B)G+=` exports.${W} = ${K};`;if(H)G+=` ${this.helperManager.getHelperName("createStarExport")}(${V});`;this.importsToReplace.set(D,G);for(let W of Q)this.identifierReplacements.set(W,`${K}.default`);for(let{importedName:W,localName:O}of J)this.identifierReplacements.set(O,`${V}.${W}`)}}getFreeIdentifierForPath(D){let Z=D.split("/"),Y=Z[Z.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${Y}`)}preprocessImportAtIndex(D){let Z=[],Q=[],Y=[];if(D++,(this.tokens.matchesContextualAtIndex(D,YY.ContextualKeyword._type)||this.tokens.matches1AtIndex(D,i0.TokenType._typeof))&&!this.tokens.matches1AtIndex(D+1,i0.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(D+1,YY.ContextualKeyword._from))return;if(this.tokens.matches1AtIndex(D,i0.TokenType.parenL))return;if(this.tokens.matches1AtIndex(D,i0.TokenType.name)){if(Z.push(this.tokens.identifierNameAtIndex(D)),D++,this.tokens.matches1AtIndex(D,i0.TokenType.comma))D++}if(this.tokens.matches1AtIndex(D,i0.TokenType.star))D+=2,Q.push(this.tokens.identifierNameAtIndex(D)),D++;if(this.tokens.matches1AtIndex(D,i0.TokenType.braceL)){let B=this.getNamedImports(D+1);D=B.newIndex;for(let H of B.namedImports)if(H.importedName==="default")Z.push(H.localName);else Y.push(H)}if(this.tokens.matchesContextualAtIndex(D,YY.ContextualKeyword._from))D++;if(!this.tokens.matches1AtIndex(D,i0.TokenType.string))throw new Error("Expected string token at the end of import statement.");let J=this.tokens.stringValueAtIndex(D),q=this.getImportInfo(J);if(q.defaultNames.push(...Z),q.wildcardNames.push(...Q),q.namedImports.push(...Y),Z.length===0&&Q.length===0&&Y.length===0)q.hasBareImport=!0}preprocessExportAtIndex(D){if(this.tokens.matches2AtIndex(D,i0.TokenType._export,i0.TokenType._var)||this.tokens.matches2AtIndex(D,i0.TokenType._export,i0.TokenType._let)||this.tokens.matches2AtIndex(D,i0.TokenType._export,i0.TokenType._const))this.preprocessVarExportAtIndex(D);else if(this.tokens.matches2AtIndex(D,i0.TokenType._export,i0.TokenType._function)||this.tokens.matches2AtIndex(D,i0.TokenType._export,i0.TokenType._class)){let Z=this.tokens.identifierNameAtIndex(D+2);this.addExportBinding(Z,Z)}else if(this.tokens.matches3AtIndex(D,i0.TokenType._export,i0.TokenType.name,i0.TokenType._function)){let Z=this.tokens.identifierNameAtIndex(D+3);this.addExportBinding(Z,Z)}else if(this.tokens.matches2AtIndex(D,i0.TokenType._export,i0.TokenType.braceL))this.preprocessNamedExportAtIndex(D);else if(this.tokens.matches2AtIndex(D,i0.TokenType._export,i0.TokenType.star))this.preprocessExportStarAtIndex(D)}preprocessVarExportAtIndex(D){let Z=0;for(let Q=D+2;;Q++)if(this.tokens.matches1AtIndex(Q,i0.TokenType.braceL)||this.tokens.matches1AtIndex(Q,i0.TokenType.dollarBraceL)||this.tokens.matches1AtIndex(Q,i0.TokenType.bracketL))Z++;else if(this.tokens.matches1AtIndex(Q,i0.TokenType.braceR)||this.tokens.matches1AtIndex(Q,i0.TokenType.bracketR))Z--;else if(Z===0&&!this.tokens.matches1AtIndex(Q,i0.TokenType.name))break;else if(this.tokens.matches1AtIndex(1,i0.TokenType.eq)){let Y=this.tokens.currentToken().rhsEndIndex;if(Y==null)throw new Error("Expected = token with an end index.");Q=Y-1}else{let Y=this.tokens.tokens[Q];if(pp.isDeclaration.call(void 0,Y)){let J=this.tokens.identifierNameAtIndex(Q);this.identifierReplacements.set(J,`exports.${J}`)}}}preprocessNamedExportAtIndex(D){D+=2;let{newIndex:Z,namedImports:Q}=this.getNamedImports(D);if(D=Z,this.tokens.matchesContextualAtIndex(D,YY.ContextualKeyword._from))D++;else{for(let{importedName:q,localName:B}of Q)this.addExportBinding(q,B);return}if(!this.tokens.matches1AtIndex(D,i0.TokenType.string))throw new Error("Expected string token at the end of import statement.");let Y=this.tokens.stringValueAtIndex(D);this.getImportInfo(Y).namedExports.push(...Q)}preprocessExportStarAtIndex(D){let Z=null;if(this.tokens.matches3AtIndex(D,i0.TokenType._export,i0.TokenType.star,i0.TokenType._as))D+=3,Z=this.tokens.identifierNameAtIndex(D),D+=2;else D+=3;if(!this.tokens.matches1AtIndex(D,i0.TokenType.string))throw new Error("Expected string token at the end of star export statement.");let Q=this.tokens.stringValueAtIndex(D),Y=this.getImportInfo(Q);if(Z!==null)Y.exportStarNames.push(Z);else Y.hasStarExport=!0}getNamedImports(D){let Z=[];while(!0){if(this.tokens.matches1AtIndex(D,i0.TokenType.braceR)){D++;break}let Q=np.default.call(void 0,this.tokens,D);if(D=Q.endIndex,!Q.isType)Z.push({importedName:Q.leftName,localName:Q.rightName});if(this.tokens.matches2AtIndex(D,i0.TokenType.comma,i0.TokenType.braceR)){D+=2;break}else if(this.tokens.matches1AtIndex(D,i0.TokenType.braceR)){D++;break}else if(this.tokens.matches1AtIndex(D,i0.TokenType.comma))D++;else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[D])}`)}return{newIndex:D,namedImports:Z}}getImportInfo(D){let Z=this.importInfoByPath.get(D);if(Z)return Z;let Q={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(D,Q),Q}addExportBinding(D,Z){if(!this.exportBindingsByLocalName.has(D))this.exportBindingsByLocalName.set(D,[]);this.exportBindingsByLocalName.get(D).push(Z)}claimImportCode(D){let Z=this.importsToReplace.get(D);return this.importsToReplace.set(D,""),Z||""}getIdentifierReplacement(D){return this.identifierReplacements.get(D)||null}resolveExportBinding(D){let Z=this.exportBindingsByLocalName.get(D);if(!Z||Z.length===0)return null;return Z.map((Q)=>`exports.${Q}`).join(" = ")}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}}VV.default=oD});var zV=M((KV,GV)=>{(function(D,Z,Q){typeof KV==="object"&&typeof GV!=="undefined"?Z(GV):typeof define==="function"&&define.amd?define(["module"],Z):(D=typeof globalThis!=="undefined"?globalThis:D||self,Z(Q={exports:{}}),D.sourcemapCodec=("default"in Q.exports)?Q.exports.default:Q.exports)})(KV,function(D){var{defineProperty:Z,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Y}=Object,J=Object.prototype.hasOwnProperty,q=(e,r)=>{for(var a in r)Z(e,a,{get:r[a],enumerable:!0})},B=(e,r,a,F0)=>{if(r&&typeof r==="object"||typeof r==="function"){for(let u0 of Y(r))if(!J.call(e,u0)&&u0!==a)Z(e,u0,{get:()=>r[u0],enumerable:!(F0=Q(r,u0))||F0.enumerable})}return e},H=(e)=>B(Z({},"__esModule",{value:!0}),e),V={};q(V,{decode:()=>s,decodeGeneratedRanges:()=>C,decodeOriginalScopes:()=>A,encode:()=>o,encodeGeneratedRanges:()=>I,encodeOriginalScopes:()=>S}),D.exports=H(V);var K=44,G=59,W="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",O=new Uint8Array(64),F=new Uint8Array(128);for(let e=0;e<W.length;e++){let r=W.charCodeAt(e);O[e]=r,F[r]=e}function E(e,r){let a=0,F0=0,u0=0;do{let o0=e.next();u0=F[o0],a|=(u0&31)<<F0,F0+=5}while(u0&32);let l0=a&1;if(a>>>=1,l0)a=-2147483648|-a;return r+a}function L(e,r,a){let F0=r-a;F0=F0<0?-F0<<1|1:F0<<1;do{let u0=F0&31;if(F0>>>=5,F0>0)u0|=32;e.write(O[u0])}while(F0>0);return r}function j(e,r){if(e.pos>=r)return!1;return e.peek()!==K}var P=16384,u=typeof TextDecoder!=="undefined"?new TextDecoder:typeof Buffer!=="undefined"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let r="";for(let a=0;a<e.length;a++)r+=String.fromCharCode(e[a]);return r}},U=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(P)}write(e){let{buffer:r}=this;if(r[this.pos++]=e,this.pos===P)this.out+=u.decode(r),this.pos=0}flush(){let{buffer:e,out:r,pos:a}=this;return a>0?r+u.decode(e.subarray(0,a)):r}},X=class{constructor(e){this.pos=0,this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){let{buffer:r,pos:a}=this,F0=r.indexOf(e,a);return F0===-1?r.length:F0}},z=[];function A(e){let{length:r}=e,a=new X(e),F0=[],u0=[],l0=0;for(;a.pos<r;a.pos++){l0=E(a,l0);let o0=E(a,0);if(!j(a,r)){let x=u0.pop();x[2]=l0,x[3]=o0;continue}let p0=E(a,0),R=E(a,0)&1?[l0,o0,0,0,p0,E(a,0)]:[l0,o0,0,0,p0],t=z;if(j(a,r)){t=[];do{let x=E(a,0);t.push(x)}while(j(a,r))}R.vars=t,F0.push(R),u0.push(R)}return F0}function S(e){let r=new U;for(let a=0;a<e.length;)a=w(e,a,r,[0]);return r.flush()}function w(e,r,a,F0){let u0=e[r],{0:l0,1:o0,2:p0,3:H1,4:N,vars:R}=u0;if(r>0)a.write(K);F0[0]=L(a,l0,F0[0]),L(a,o0,0),L(a,N,0);let t=u0.length===6?1:0;if(L(a,t,0),u0.length===6)L(a,u0[5],0);for(let x of R)L(a,x,0);for(r++;r<e.length;){let x=e[r],{0:M0,1:s0}=x;if(M0>p0||M0===p0&&s0>=H1)break;r=w(e,r,a,F0)}return a.write(K),F0[0]=L(a,p0,F0[0]),L(a,H1,0),r}function C(e){let{length:r}=e,a=new X(e),F0=[],u0=[],l0=0,o0=0,p0=0,H1=0,N=0,R=0,t=0,x=0;do{let M0=a.indexOf(";"),s0=0;for(;a.pos<M0;a.pos++){if(s0=E(a,s0),!j(a,M0)){let L0=u0.pop();L0[2]=l0,L0[3]=s0;continue}let e0=E(a,0),j1=e0&1,$1=e0&2,h1=e0&4,V0=null,q0=z,E0;if(j1){let L0=E(a,o0);p0=E(a,o0===L0?p0:0),o0=L0,E0=[l0,s0,0,0,L0,p0]}else E0=[l0,s0,0,0];if(E0.isScope=!!h1,$1){let L0=H1,x0=N;H1=E(a,H1);let g0=L0===H1;N=E(a,g0?N:0),R=E(a,g0&&x0===N?R:0),V0=[H1,N,R]}if(E0.callsite=V0,j(a,M0)){q0=[];do{t=l0,x=s0;let L0=E(a,0),x0;if(L0<-1){x0=[[E(a,0)]];for(let g0=-1;g0>L0;g0--){let Q1=t;t=E(a,t),x=E(a,t===Q1?x:0);let s1=E(a,0);x0.push([s1,t,x])}}else x0=[[L0]];q0.push(x0)}while(j(a,M0))}E0.bindings=q0,F0.push(E0),u0.push(E0)}l0++,a.pos=M0+1}while(a.pos<r);return F0}function I(e){if(e.length===0)return"";let r=new U;for(let a=0;a<e.length;)a=v(e,a,r,[0,0,0,0,0,0,0]);return r.flush()}function v(e,r,a,F0){let u0=e[r],{0:l0,1:o0,2:p0,3:H1,isScope:N,callsite:R,bindings:t}=u0;if(F0[0]<l0)g(a,F0[0],l0),F0[0]=l0,F0[1]=0;else if(r>0)a.write(K);F0[1]=L(a,u0[1],F0[1]);let x=(u0.length===6?1:0)|(R?2:0)|(N?4:0);if(L(a,x,0),u0.length===6){let{4:M0,5:s0}=u0;if(M0!==F0[2])F0[3]=0;F0[2]=L(a,M0,F0[2]),F0[3]=L(a,s0,F0[3])}if(R){let{0:M0,1:s0,2:e0}=u0.callsite;if(M0!==F0[4])F0[5]=0,F0[6]=0;else if(s0!==F0[5])F0[6]=0;F0[4]=L(a,M0,F0[4]),F0[5]=L(a,s0,F0[5]),F0[6]=L(a,e0,F0[6])}if(t)for(let M0 of t){if(M0.length>1)L(a,-M0.length,0);let s0=M0[0][0];L(a,s0,0);let e0=l0,j1=o0;for(let $1=1;$1<M0.length;$1++){let h1=M0[$1];e0=L(a,h1[1],e0),j1=L(a,h1[2],j1),L(a,h1[0],0)}}for(r++;r<e.length;){let M0=e[r],{0:s0,1:e0}=M0;if(s0>p0||s0===p0&&e0>=H1)break;r=v(e,r,a,F0)}if(F0[0]<p0)g(a,F0[0],p0),F0[0]=p0,F0[1]=0;else a.write(K);return F0[1]=L(a,H1,F0[1]),r}function g(e,r,a){do e.write(G);while(++r<a)}function s(e){let{length:r}=e,a=new X(e),F0=[],u0=0,l0=0,o0=0,p0=0,H1=0;do{let N=a.indexOf(";"),R=[],t=!0,x=0;u0=0;while(a.pos<N){let M0;if(u0=E(a,u0),u0<x)t=!1;if(x=u0,j(a,N))if(l0=E(a,l0),o0=E(a,o0),p0=E(a,p0),j(a,N))H1=E(a,H1),M0=[u0,l0,o0,p0,H1];else M0=[u0,l0,o0,p0];else M0=[u0];R.push(M0),a.pos++}if(!t)A0(R);F0.push(R),a.pos=N+1}while(a.pos<=r);return F0}function A0(e){e.sort(w0)}function w0(e,r){return e[0]-r[0]}function o(e){let r=new U,a=0,F0=0,u0=0,l0=0;for(let o0=0;o0<e.length;o0++){let p0=e[o0];if(o0>0)r.write(G);if(p0.length===0)continue;let H1=0;for(let N=0;N<p0.length;N++){let R=p0[N];if(N>0)r.write(K);if(H1=L(r,R[0],H1),R.length===1)continue;if(a=L(r,R[1],a),F0=L(r,R[2],F0),u0=L(r,R[3],u0),R.length===4)continue;l0=L(r,R[4],l0)}}return r.flush()}})});var TE=M((WV,OV)=>{(function(D,Z){typeof WV==="object"&&typeof OV!=="undefined"?OV.exports=Z():typeof define==="function"&&define.amd?define(Z):(D=typeof globalThis!=="undefined"?globalThis:D||self,D.resolveURI=Z())})(WV,function(){let D=/^[\w+.-]+:\/\//,Z=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,Q=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function Y(j){return D.test(j)}function J(j){return j.startsWith("//")}function q(j){return j.startsWith("/")}function B(j){return j.startsWith("file:")}function H(j){return/^[.?#]/.test(j)}function V(j){let P=Z.exec(j);return G(P[1],P[2]||"",P[3],P[4]||"",P[5]||"/",P[6]||"",P[7]||"")}function K(j){let P=Q.exec(j),u=P[2];return G("file:","",P[1]||"","",q(u)?u:"/"+u,P[3]||"",P[4]||"")}function G(j,P,u,U,X,z,A){return{scheme:j,user:P,host:u,port:U,path:X,query:z,hash:A,type:7}}function W(j){if(J(j)){let u=V("http:"+j);return u.scheme="",u.type=6,u}if(q(j)){let u=V("http://foo.com"+j);return u.scheme="",u.host="",u.type=5,u}if(B(j))return K(j);if(Y(j))return V(j);let P=V("http://foo.com/"+j);return P.scheme="",P.host="",P.type=j?j.startsWith("?")?3:j.startsWith("#")?2:4:1,P}function O(j){if(j.endsWith("/.."))return j;let P=j.lastIndexOf("/");return j.slice(0,P+1)}function F(j,P){if(E(P,P.type),j.path==="/")j.path=P.path;else j.path=O(P.path)+j.path}function E(j,P){let u=P<=4,U=j.path.split("/"),X=1,z=0,A=!1;for(let w=1;w<U.length;w++){let C=U[w];if(!C){A=!0;continue}if(A=!1,C===".")continue;if(C===".."){if(z)A=!0,z--,X--;else if(u)U[X++]=C;continue}U[X++]=C,z++}let S="";for(let w=1;w<X;w++)S+="/"+U[w];if(!S||A&&!S.endsWith("/.."))S+="/";j.path=S}function L(j,P){if(!j&&!P)return"";let u=W(j),U=u.type;if(P&&U!==7){let z=W(P),A=z.type;switch(U){case 1:u.hash=z.hash;case 2:u.query=z.query;case 3:case 4:F(u,z);case 5:u.user=z.user,u.host=z.host,u.port=z.port;case 6:u.scheme=z.scheme}if(A>U)U=A}E(u,U);let X=u.query+u.hash;switch(U){case 2:case 3:return X;case 4:{let z=u.path.slice(1);if(!z)return X||".";if(H(P||j)&&!H(z))return"./"+z+X;return z+X}case 5:return u.path+X;default:return u.scheme+"//"+u.user+u.host+u.port+u.path+X}}return L})});var bE=M((XV,FV)=>{(function(D,Z,Q){typeof XV==="object"&&typeof FV!=="undefined"?Z(FV,TE(),zV()):typeof define==="function"&&define.amd?define(["module","@jridgewell/resolve-uri","@jridgewell/sourcemap-codec"],Z):(D=typeof globalThis!=="undefined"?globalThis:D||self,Z(Q={exports:{}},D.resolveURI,D.sourcemapCodec),D.traceMapping=("default"in Q.exports)?Q.exports.default:Q.exports)})(XV,function(D,Z,Q){var{create:Y,defineProperty:J,getOwnPropertyDescriptor:q,getOwnPropertyNames:B,getPrototypeOf:H}=Object,V=Object.prototype.hasOwnProperty,K=(d,B0)=>function z0(){return B0||d[B(d)[0]]((B0={exports:{}}).exports,B0),B0.exports},G=(d,B0)=>{for(var z0 in B0)J(d,z0,{get:B0[z0],enumerable:!0})},W=(d,B0,z0,U0)=>{if(B0&&typeof B0==="object"||typeof B0==="function"){for(let y0 of B(B0))if(!V.call(d,y0)&&y0!==z0)J(d,y0,{get:()=>B0[y0],enumerable:!(U0=q(B0,y0))||U0.enumerable})}return d},O=(d,B0,z0)=>(z0=d!=null?Y(H(d)):{},W(B0||!d||!d.__esModule?J(z0,"default",{value:d,enumerable:!0}):z0,d)),F=(d)=>W(J({},"__esModule",{value:!0}),d),E=K({"umd:@jridgewell/sourcemap-codec"(d,B0){B0.exports=Q}}),L=K({"umd:@jridgewell/resolve-uri"(d,B0){B0.exports=Z}}),j={};G(j,{AnyMap:()=>R,FlattenMap:()=>R,GREATEST_LOWER_BOUND:()=>h1,LEAST_UPPER_BOUND:()=>$1,TraceMap:()=>V0,allGeneratedPositionsFor:()=>s1,decodedMap:()=>K8,decodedMappings:()=>L0,eachMapping:()=>L5,encodedMap:()=>c8,encodedMappings:()=>E0,generatedPositionFor:()=>Q1,isIgnored:()=>R8,originalPositionFor:()=>g0,presortedDecodedMap:()=>M8,sourceContentFor:()=>g8,traceSegment:()=>x0}),D.exports=F(j);var P=O(E()),u=O(L());function U(d){if(!d)return"";let B0=d.lastIndexOf("/");return d.slice(0,B0+1)}function X(d,B0){let z0=U(d),U0=B0?B0+"/":"";return(y0)=>u.default(U0+(y0||""),z0)}var z=0,A=1,S=2,w=3,C=4,I=1,v=2;function g(d,B0){let z0=s(d,0);if(z0===d.length)return d;if(!B0)d=d.slice();for(let U0=z0;U0<d.length;U0=s(d,U0+1))d[U0]=w0(d[U0],B0);return d}function s(d,B0){for(let z0=B0;z0<d.length;z0++)if(!A0(d[z0]))return z0;return d.length}function A0(d){for(let B0=1;B0<d.length;B0++)if(d[B0][z]<d[B0-1][z])return!1;return!0}function w0(d,B0){if(!B0)d=d.slice();return d.sort(o)}function o(d,B0){return d[z]-B0[z]}var e=!1;function r(d,B0,z0,U0){while(z0<=U0){let y0=z0+(U0-z0>>1),T0=d[y0][z]-B0;if(T0===0)return e=!0,y0;if(T0<0)z0=y0+1;else U0=y0-1}return e=!1,z0-1}function a(d,B0,z0){for(let U0=z0+1;U0<d.length;z0=U0++)if(d[U0][z]!==B0)break;return z0}function F0(d,B0,z0){for(let U0=z0-1;U0>=0;z0=U0--)if(d[U0][z]!==B0)break;return z0}function u0(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function l0(d,B0,z0,U0){let{lastKey:y0,lastNeedle:T0,lastIndex:q1}=z0,h=0,C0=d.length-1;if(U0===y0){if(B0===T0)return e=q1!==-1&&d[q1][z]===B0,q1;if(B0>=T0)h=q1===-1?0:q1;else C0=q1}return z0.lastKey=U0,z0.lastNeedle=B0,z0.lastIndex=r(d,B0,h,C0)}function o0(d,B0){let z0=B0.map(H1);for(let U0=0;U0<d.length;U0++){let y0=d[U0];for(let T0=0;T0<y0.length;T0++){let q1=y0[T0];if(q1.length===1)continue;let h=q1[A],C0=q1[S],U1=q1[w],v1=z0[h],C1=v1[C0]||(v1[C0]=[]),R0=B0[h],D5=a(C1,U1,l0(C1,U1,R0,C0));R0.lastIndex=++D5,p0(C1,D5,[U1,U0,q1[z]])}}return z0}function p0(d,B0,z0){for(let U0=d.length;U0>B0;U0--)d[U0]=d[U0-1];d[B0]=z0}function H1(){return{__proto__:null}}function N(d){return typeof d==="string"?JSON.parse(d):d}var R=function(d,B0){let z0=N(d);if(!("sections"in z0))return new V0(z0,B0);let U0=[],y0=[],T0=[],q1=[],h=[];t(z0,B0,U0,y0,T0,q1,h,0,0,1/0,1/0);let C0={version:3,file:z0.file,names:q1,sources:y0,sourcesContent:T0,mappings:U0,ignoreList:h};return M8(C0)};function t(d,B0,z0,U0,y0,T0,q1,h,C0,U1,v1){let{sections:C1}=d;for(let R0=0;R0<C1.length;R0++){let{map:D5,offset:e5}=C1[R0],d8=U1,O2=v1;if(R0+1<C1.length){let X2=C1[R0+1].offset;if(d8=Math.min(U1,h+X2.line),d8===U1)O2=Math.min(v1,C0+X2.column);else if(d8<U1)O2=C0+X2.column}x(D5,B0,z0,U0,y0,T0,q1,h+e5.line,C0+e5.column,d8,O2)}}function x(d,B0,z0,U0,y0,T0,q1,h,C0,U1,v1){let C1=N(d);if("sections"in C1)return t(...arguments);let R0=new V0(C1,B0),D5=U0.length,e5=T0.length,d8=L0(R0),{resolvedSources:O2,sourcesContent:X2,ignoreList:d1}=R0;if(M0(U0,O2),M0(T0,R0.names),X2)M0(y0,X2);else for(let l1=0;l1<O2.length;l1++)y0.push(null);if(d1)for(let l1=0;l1<d1.length;l1++)q1.push(d1[l1]+D5);for(let l1=0;l1<d8.length;l1++){let V9=h+l1;if(V9>U1)return;let c9=s0(z0,V9),d9=l1===0?C0:0,K9=d8[l1];for(let j8=0;j8<K9.length;j8++){let a0=K9[j8],_2=d9+a0[z];if(V9===U1&&_2>=v1)return;if(a0.length===1){c9.push([_2]);continue}let G9=D5+a0[A],z9=a0[S],W9=a0[w];c9.push(a0.length===4?[_2,G9,z9,W9]:[_2,G9,z9,W9,e5+a0[C]])}}}function M0(d,B0){for(let z0=0;z0<B0.length;z0++)d.push(B0[z0])}function s0(d,B0){for(let z0=d.length;z0<=B0;z0++)d[z0]=[];return d[B0]}var e0="`line` must be greater than 0 (lines start at line 1)",j1="`column` must be greater than or equal to 0 (columns start at column 0)",$1=-1,h1=1,V0=class{constructor(d,B0){let z0=typeof d==="string";if(!z0&&d._decodedMemo)return d;let U0=N(d),{version:y0,file:T0,names:q1,sourceRoot:h,sources:C0,sourcesContent:U1}=U0;this.version=y0,this.file=T0,this.names=q1||[],this.sourceRoot=h,this.sources=C0,this.sourcesContent=U1,this.ignoreList=U0.ignoreList||U0.x_google_ignoreList||void 0;let v1=X(B0,h);this.resolvedSources=C0.map(v1);let{mappings:C1}=U0;if(typeof C1==="string")this._encoded=C1,this._decoded=void 0;else if(Array.isArray(C1))this._encoded=void 0,this._decoded=g(C1,z0);else if(U0.sections)throw new Error("TraceMap passed sectioned source map, please use FlattenMap export instead");else throw new Error(`invalid source map: ${JSON.stringify(U0)}`);this._decodedMemo=u0(),this._bySources=void 0,this._bySourceMemos=void 0}};function q0(d){return d}function E0(d){var B0,z0;return(z0=(B0=q0(d))._encoded)!=null?z0:B0._encoded=P.encode(q0(d)._decoded)}function L0(d){var B0;return(B0=q0(d))._decoded||(B0._decoded=P.decode(q0(d)._encoded))}function x0(d,B0,z0){let U0=L0(d);if(B0>=U0.length)return null;let y0=U0[B0],T0=h2(y0,q0(d)._decodedMemo,B0,z0,h1);return T0===-1?null:y0[T0]}function g0(d,B0){let{line:z0,column:U0,bias:y0}=B0;if(z0--,z0<0)throw new Error(e0);if(U0<0)throw new Error(j1);let T0=L0(d);if(z0>=T0.length)return I8(null,null,null,null);let q1=T0[z0],h=h2(q1,q0(d)._decodedMemo,z0,U0,y0||h1);if(h===-1)return I8(null,null,null,null);let C0=q1[h];if(C0.length===1)return I8(null,null,null,null);let{names:U1,resolvedSources:v1}=d;return I8(v1[C0[A]],C0[S]+1,C0[w],C0.length===5?U1[C0[C]]:null)}function Q1(d,B0){let{source:z0,line:U0,column:y0,bias:T0}=B0;return g9(d,z0,U0,y0,T0||h1,!1)}function s1(d,B0){let{source:z0,line:U0,column:y0,bias:T0}=B0;return g9(d,z0,U0,y0,T0||$1,!0)}function L5(d,B0){let z0=L0(d),{names:U0,resolvedSources:y0}=d;for(let T0=0;T0<z0.length;T0++){let q1=z0[T0];for(let h=0;h<q1.length;h++){let C0=q1[h],U1=T0+1,v1=C0[0],C1=null,R0=null,D5=null,e5=null;if(C0.length!==1)C1=y0[C0[1]],R0=C0[2]+1,D5=C0[3];if(C0.length===5)e5=U0[C0[4]];B0({generatedLine:U1,generatedColumn:v1,source:C1,originalLine:R0,originalColumn:D5,name:e5})}}}function m8(d,B0){let{sources:z0,resolvedSources:U0}=d,y0=z0.indexOf(B0);if(y0===-1)y0=U0.indexOf(B0);return y0}function g8(d,B0){let{sourcesContent:z0}=d;if(z0==null)return null;let U0=m8(d,B0);return U0===-1?null:z0[U0]}function R8(d,B0){let{ignoreList:z0}=d;if(z0==null)return!1;let U0=m8(d,B0);return U0===-1?!1:z0.includes(U0)}function M8(d,B0){let z0=new V0(o5(d,[]),B0);return q0(z0)._decoded=d.mappings,z0}function K8(d){return o5(d,L0(d))}function c8(d){return o5(d,E0(d))}function o5(d,B0){return{version:d.version,file:d.file,names:d.names,sourceRoot:d.sourceRoot,sources:d.sources,sourcesContent:d.sourcesContent,mappings:B0,ignoreList:d.ignoreList||d.x_google_ignoreList}}function I8(d,B0,z0,U0){return{source:d,line:B0,column:z0,name:U0}}function W2(d,B0){return{line:d,column:B0}}function h2(d,B0,z0,U0,y0){let T0=l0(d,U0,B0,z0);if(e)T0=(y0===$1?a:F0)(d,U0,T0);else if(y0===$1)T0++;if(T0===-1||T0===d.length)return-1;return T0}function TD(d,B0,z0,U0,y0){let T0=h2(d,B0,z0,U0,h1);if(!e&&y0===$1)T0++;if(T0===-1||T0===d.length)return[];let q1=e?U0:d[T0][z];if(!e)T0=F0(d,q1,T0);let h=a(d,q1,T0),C0=[];for(;T0<=h;T0++){let U1=d[T0];C0.push(W2(U1[I]+1,U1[v]))}return C0}function g9(d,B0,z0,U0,y0,T0){var q1;if(z0--,z0<0)throw new Error(e0);if(U0<0)throw new Error(j1);let{sources:h,resolvedSources:C0}=d,U1=h.indexOf(B0);if(U1===-1)U1=C0.indexOf(B0);if(U1===-1)return T0?[]:W2(null,null);let C1=((q1=q0(d))._bySources||(q1._bySources=o0(L0(d),q0(d)._bySourceMemos=h.map(u0))))[U1][z0];if(C1==null)return T0?[]:W2(null,null);let R0=q0(d)._bySourceMemos[U1];if(T0)return TD(C1,R0,z0,U0,y0);let D5=h2(C1,R0,z0,U0,y0);if(D5===-1)return W2(null,null);let e5=C1[D5];return W2(e5[I]+1,e5[v])}})});var hE=M((UV,AV)=>{(function(D,Z,Q){typeof UV==="object"&&typeof AV!=="undefined"?Z(AV,zV(),bE()):typeof define==="function"&&define.amd?define(["module","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],Z):(D=typeof globalThis!=="undefined"?globalThis:D||self,Z(Q={exports:{}},D.sourcemapCodec,D.traceMapping),D.genMapping=("default"in Q.exports)?Q.exports.default:Q.exports)})(UV,function(D,Z,Q){var{create:Y,defineProperty:J,getOwnPropertyDescriptor:q,getOwnPropertyNames:B,getPrototypeOf:H}=Object,V=Object.prototype.hasOwnProperty,K=(V0,q0)=>function E0(){return q0||V0[B(V0)[0]]((q0={exports:{}}).exports,q0),q0.exports},G=(V0,q0)=>{for(var E0 in q0)J(V0,E0,{get:q0[E0],enumerable:!0})},W=(V0,q0,E0,L0)=>{if(q0&&typeof q0==="object"||typeof q0==="function"){for(let x0 of B(q0))if(!V.call(V0,x0)&&x0!==E0)J(V0,x0,{get:()=>q0[x0],enumerable:!(L0=q(q0,x0))||L0.enumerable})}return V0},O=(V0,q0,E0)=>(E0=V0!=null?Y(H(V0)):{},W(q0||!V0||!V0.__esModule?J(E0,"default",{value:V0,enumerable:!0}):E0,V0)),F=(V0)=>W(J({},"__esModule",{value:!0}),V0),E=K({"umd:@jridgewell/sourcemap-codec"(V0,q0){q0.exports=Z}}),L=K({"umd:@jridgewell/trace-mapping"(V0,q0){q0.exports=Q}}),j={};G(j,{GenMapping:()=>A0,addMapping:()=>e,addSegment:()=>o,allMappings:()=>H1,fromMap:()=>p0,maybeAddMapping:()=>a,maybeAddSegment:()=>r,setIgnore:()=>u0,setSourceContent:()=>F0,toDecodedMap:()=>l0,toEncodedMap:()=>o0}),D.exports=F(j);var P=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function u(V0){return V0}function U(V0,q0){return u(V0)._indexes[q0]}function X(V0,q0){let E0=U(V0,q0);if(E0!==void 0)return E0;let{array:L0,_indexes:x0}=u(V0),g0=L0.push(q0);return x0[q0]=g0-1}function z(V0,q0){let E0=U(V0,q0);if(E0===void 0)return;let{array:L0,_indexes:x0}=u(V0);for(let g0=E0+1;g0<L0.length;g0++){let Q1=L0[g0];L0[g0-1]=Q1,x0[Q1]--}x0[q0]=void 0,L0.pop()}var A=O(E()),S=O(L()),w=0,C=1,I=2,v=3,g=4,s=-1,A0=class{constructor({file:V0,sourceRoot:q0}={}){this._names=new P,this._sources=new P,this._sourcesContent=[],this._mappings=[],this.file=V0,this.sourceRoot=q0,this._ignoreList=new P}};function w0(V0){return V0}function o(V0,q0,E0,L0,x0,g0,Q1,s1){return N(!1,V0,q0,E0,L0,x0,g0,Q1,s1)}function e(V0,q0){return h1(!1,V0,q0)}var r=(V0,q0,E0,L0,x0,g0,Q1,s1)=>{return N(!0,V0,q0,E0,L0,x0,g0,Q1,s1)},a=(V0,q0)=>{return h1(!0,V0,q0)};function F0(V0,q0,E0){let{_sources:L0,_sourcesContent:x0}=w0(V0),g0=X(L0,q0);x0[g0]=E0}function u0(V0,q0,E0=!0){let{_sources:L0,_sourcesContent:x0,_ignoreList:g0}=w0(V0),Q1=X(L0,q0);if(Q1===x0.length)x0[Q1]=null;if(E0)X(g0,Q1);else z(g0,Q1)}function l0(V0){let{_mappings:q0,_sources:E0,_sourcesContent:L0,_names:x0,_ignoreList:g0}=w0(V0);return s0(q0),{version:3,file:V0.file||void 0,names:x0.array,sourceRoot:V0.sourceRoot||void 0,sources:E0.array,sourcesContent:L0,mappings:q0,ignoreList:g0.array}}function o0(V0){let q0=l0(V0);return Object.assign({},q0,{mappings:A.encode(q0.mappings)})}function p0(V0){let q0=new S.TraceMap(V0),E0=new A0({file:q0.file,sourceRoot:q0.sourceRoot});if(e0(w0(E0)._names,q0.names),e0(w0(E0)._sources,q0.sources),w0(E0)._sourcesContent=q0.sourcesContent||q0.sources.map(()=>null),w0(E0)._mappings=S.decodedMappings(q0),q0.ignoreList)e0(w0(E0)._ignoreList,q0.ignoreList);return E0}function H1(V0){let q0=[],{_mappings:E0,_sources:L0,_names:x0}=w0(V0);for(let g0=0;g0<E0.length;g0++){let Q1=E0[g0];for(let s1=0;s1<Q1.length;s1++){let L5=Q1[s1],m8={line:g0+1,column:L5[w]},g8=void 0,R8=void 0,M8=void 0;if(L5.length!==1){if(g8=L0.array[L5[C]],R8={line:L5[I]+1,column:L5[v]},L5.length===5)M8=x0.array[L5[g]]}q0.push({generated:m8,source:g8,original:R8,name:M8})}}return q0}function N(V0,q0,E0,L0,x0,g0,Q1,s1,L5){let{_mappings:m8,_sources:g8,_sourcesContent:R8,_names:M8}=w0(q0),K8=t(m8,E0),c8=x(K8,L0);if(!x0){if(V0&&j1(K8,c8))return;return M0(K8,c8,[L0])}R(g0),R(Q1);let o5=X(g8,x0),I8=s1?X(M8,s1):s;if(o5===R8.length)R8[o5]=L5!=null?L5:null;if(V0&&$1(K8,c8,o5,g0,Q1,I8))return;return M0(K8,c8,s1?[L0,o5,g0,Q1,I8]:[L0,o5,g0,Q1])}function R(V0){}function t(V0,q0){for(let E0=V0.length;E0<=q0;E0++)V0[E0]=[];return V0[q0]}function x(V0,q0){let E0=V0.length;for(let L0=E0-1;L0>=0;E0=L0--){let x0=V0[L0];if(q0>=x0[w])break}return E0}function M0(V0,q0,E0){for(let L0=V0.length;L0>q0;L0--)V0[L0]=V0[L0-1];V0[q0]=E0}function s0(V0){let{length:q0}=V0,E0=q0;for(let L0=E0-1;L0>=0;E0=L0,L0--)if(V0[L0].length>0)break;if(E0<q0)V0.length=E0}function e0(V0,q0){for(let E0=0;E0<q0.length;E0++)X(V0,q0[E0])}function j1(V0,q0){if(q0===0)return!0;return V0[q0-1].length===1}function $1(V0,q0,E0,L0,x0,g0){if(q0===0)return!1;let Q1=V0[q0-1];if(Q1.length===1)return!1;return E0===Q1[C]&&L0===Q1[I]&&x0===Q1[v]&&g0===(Q1.length===5?Q1[g]:s)}function h1(V0,q0,E0){let{generated:L0,source:x0,original:g0,name:Q1,content:s1}=E0;if(!x0)return N(V0,q0,L0.line-1,L0.column,null,null,null,null,null);return R(g0),N(V0,q0,L0.line-1,L0.column,x0,g0.line-1,g0.column,Q1,s1)}})});var kE=M(($V)=>{Object.defineProperty($V,"__esModule",{value:!0});var p4=hE(),_E=S8();function sp({code:D,mappings:Z},Q,Y,J,q){let B=ap(J,q),H=new p4.GenMapping({file:Y.compiledFilename}),V=0,K=Z[0];while(K===void 0&&V<Z.length-1)V++,K=Z[V];let G=0,W=0;if(K!==W)p4.maybeAddSegment.call(void 0,H,G,0,Q,G,0);for(let L=0;L<D.length;L++){if(L===K){let j=K-W,P=B[V];p4.maybeAddSegment.call(void 0,H,G,j,Q,G,P);while((K===L||K===void 0)&&V<Z.length-1)V++,K=Z[V]}if(D.charCodeAt(L)===_E.charCodes.lineFeed){if(G++,W=L+1,K!==W)p4.maybeAddSegment.call(void 0,H,G,0,Q,G,0)}}let{sourceRoot:O,sourcesContent:F,...E}=p4.toEncodedMap.call(void 0,H);return E}$V.default=sp;function ap(D,Z){let Q=new Array(Z.length),Y=0,J=Z[Y].start,q=0;for(let B=0;B<D.length;B++){if(B===J)Q[Y]=J-q,Y++,J=Z[Y].start;if(D.charCodeAt(B)===_E.charCodes.lineFeed)q=B+1}return Q}});var yE=M((EV)=>{Object.defineProperty(EV,"__esModule",{value:!0});var tp={require:`
|
|
41
|
+
import {createRequire as CREATE_REQUIRE_NAME} from "module";
|
|
42
|
+
const require = CREATE_REQUIRE_NAME(import.meta.url);
|
|
43
|
+
`,interopRequireWildcard:`
|
|
44
|
+
function interopRequireWildcard(obj) {
|
|
45
|
+
if (obj && obj.__esModule) {
|
|
46
|
+
return obj;
|
|
47
|
+
} else {
|
|
48
|
+
var newObj = {};
|
|
49
|
+
if (obj != null) {
|
|
50
|
+
for (var key in obj) {
|
|
51
|
+
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
52
|
+
newObj[key] = obj[key];
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
newObj.default = obj;
|
|
57
|
+
return newObj;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
`,interopRequireDefault:`
|
|
61
|
+
function interopRequireDefault(obj) {
|
|
62
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
63
|
+
}
|
|
64
|
+
`,createNamedExportFrom:`
|
|
65
|
+
function createNamedExportFrom(obj, localName, importedName) {
|
|
66
|
+
Object.defineProperty(exports, localName, {enumerable: true, configurable: true, get: () => obj[importedName]});
|
|
67
|
+
}
|
|
68
|
+
`,createStarExport:`
|
|
69
|
+
function createStarExport(obj) {
|
|
70
|
+
Object.keys(obj)
|
|
71
|
+
.filter((key) => key !== "default" && key !== "__esModule")
|
|
72
|
+
.forEach((key) => {
|
|
73
|
+
if (exports.hasOwnProperty(key)) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]});
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
`,nullishCoalesce:`
|
|
80
|
+
function nullishCoalesce(lhs, rhsFn) {
|
|
81
|
+
if (lhs != null) {
|
|
82
|
+
return lhs;
|
|
83
|
+
} else {
|
|
84
|
+
return rhsFn();
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
`,asyncNullishCoalesce:`
|
|
88
|
+
async function asyncNullishCoalesce(lhs, rhsFn) {
|
|
89
|
+
if (lhs != null) {
|
|
90
|
+
return lhs;
|
|
91
|
+
} else {
|
|
92
|
+
return await rhsFn();
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
`,optionalChain:`
|
|
96
|
+
function optionalChain(ops) {
|
|
97
|
+
let lastAccessLHS = undefined;
|
|
98
|
+
let value = ops[0];
|
|
99
|
+
let i = 1;
|
|
100
|
+
while (i < ops.length) {
|
|
101
|
+
const op = ops[i];
|
|
102
|
+
const fn = ops[i + 1];
|
|
103
|
+
i += 2;
|
|
104
|
+
if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
|
|
105
|
+
return undefined;
|
|
106
|
+
}
|
|
107
|
+
if (op === 'access' || op === 'optionalAccess') {
|
|
108
|
+
lastAccessLHS = value;
|
|
109
|
+
value = fn(value);
|
|
110
|
+
} else if (op === 'call' || op === 'optionalCall') {
|
|
111
|
+
value = fn((...args) => value.call(lastAccessLHS, ...args));
|
|
112
|
+
lastAccessLHS = undefined;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
return value;
|
|
116
|
+
}
|
|
117
|
+
`,asyncOptionalChain:`
|
|
118
|
+
async function asyncOptionalChain(ops) {
|
|
119
|
+
let lastAccessLHS = undefined;
|
|
120
|
+
let value = ops[0];
|
|
121
|
+
let i = 1;
|
|
122
|
+
while (i < ops.length) {
|
|
123
|
+
const op = ops[i];
|
|
124
|
+
const fn = ops[i + 1];
|
|
125
|
+
i += 2;
|
|
126
|
+
if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
|
|
127
|
+
return undefined;
|
|
128
|
+
}
|
|
129
|
+
if (op === 'access' || op === 'optionalAccess') {
|
|
130
|
+
lastAccessLHS = value;
|
|
131
|
+
value = await fn(value);
|
|
132
|
+
} else if (op === 'call' || op === 'optionalCall') {
|
|
133
|
+
value = await fn((...args) => value.call(lastAccessLHS, ...args));
|
|
134
|
+
lastAccessLHS = undefined;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
return value;
|
|
138
|
+
}
|
|
139
|
+
`,optionalChainDelete:`
|
|
140
|
+
function optionalChainDelete(ops) {
|
|
141
|
+
const result = OPTIONAL_CHAIN_NAME(ops);
|
|
142
|
+
return result == null ? true : result;
|
|
143
|
+
}
|
|
144
|
+
`,asyncOptionalChainDelete:`
|
|
145
|
+
async function asyncOptionalChainDelete(ops) {
|
|
146
|
+
const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops);
|
|
147
|
+
return result == null ? true : result;
|
|
148
|
+
}
|
|
149
|
+
`};class JY{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(D){this.nameManager=D,JY.prototype.__init.call(this),JY.prototype.__init2.call(this)}getHelperName(D){let Z=this.helperNames[D];if(Z)return Z;return Z=this.nameManager.claimFreeName(`_${D}`),this.helperNames[D]=Z,Z}emitHelpers(){let D="";if(this.helperNames.optionalChainDelete)this.getHelperName("optionalChain");if(this.helperNames.asyncOptionalChainDelete)this.getHelperName("asyncOptionalChain");for(let[Z,Q]of Object.entries(tp)){let Y=this.helperNames[Z],J=Q;if(Z==="optionalChainDelete")J=J.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain);else if(Z==="asyncOptionalChainDelete")J=J.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain);else if(Z==="require"){if(this.createRequireName===null)this.createRequireName=this.nameManager.claimFreeName("_createRequire");J=J.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)}if(Y)D+=" ",D+=J.replace(Z,Y).replace(/\s+/g," ").trim()}return D}}EV.HelperManager=JY});var mE=M((BY)=>{Object.defineProperty(BY,"__esModule",{value:!0});var wV=A5(),qY=V1();function op(D,Z,Q){if(!xE(D,Q))return;ep(D,Z,Q)}BY.default=op;function xE(D,Z){for(let Q of D.tokens)if(Q.type===qY.TokenType.name&&!Q.isType&&wV.isNonTopLevelDeclaration.call(void 0,Q)&&Z.has(D.identifierNameForToken(Q)))return!0;return!1}BY.hasShadowedGlobals=xE;function ep(D,Z,Q){let Y=[],J=Z.length-1;for(let q=D.tokens.length-1;;q--){while(Y.length>0&&Y[Y.length-1].startTokenIndex===q+1)Y.pop();while(J>=0&&Z[J].endTokenIndex===q+1)Y.push(Z[J]),J--;if(q<0)break;let B=D.tokens[q],H=D.identifierNameForToken(B);if(Y.length>1&&!B.isType&&B.type===qY.TokenType.name&&Q.has(H)){if(wV.isBlockScopedDeclaration.call(void 0,B))fE(Y[Y.length-1],D,H);else if(wV.isFunctionScopedDeclaration.call(void 0,B)){let V=Y.length-1;while(V>0&&!Y[V].isFunctionScope)V--;if(V<0)throw new Error("Did not find parent function scope.");fE(Y[V],D,H)}}}if(Y.length>0)throw new Error("Expected empty scope stack after processing file.")}function fE(D,Z,Q){for(let Y=D.startTokenIndex;Y<D.endTokenIndex;Y++){let J=Z.tokens[Y];if((J.type===qY.TokenType.name||J.type===qY.TokenType.jsxName)&&Z.identifierNameForToken(J)===Q)J.shadowsGlobal=!0}}});var gE=M((LV)=>{Object.defineProperty(LV,"__esModule",{value:!0});var Di=V1();function Zi(D,Z){let Q=[];for(let Y of Z)if(Y.type===Di.TokenType.name)Q.push(D.slice(Y.start,Y.end));return Q}LV.default=Zi});var cE=M((RV)=>{Object.defineProperty(RV,"__esModule",{value:!0});function Qi(D){return D&&D.__esModule?D:{default:D}}var Yi=gE(),Ji=Qi(Yi);class CV{__init(){this.usedNames=new Set}constructor(D,Z){CV.prototype.__init.call(this),this.usedNames=new Set(Ji.default.call(void 0,D,Z))}claimFreeName(D){let Z=this.findFreeName(D);return this.usedNames.add(Z),Z}findFreeName(D){if(!this.usedNames.has(D))return D;let Z=2;while(this.usedNames.has(D+String(Z)))Z++;return D+String(Z)}}RV.default=CV});var HY=M((d2)=>{var qi=d2&&d2.__extends||function(){var D=function(Z,Q){return D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Y,J){Y.__proto__=J}||function(Y,J){for(var q in J)if(J.hasOwnProperty(q))Y[q]=J[q]},D(Z,Q)};return function(Z,Q){D(Z,Q);function Y(){this.constructor=Z}Z.prototype=Q===null?Object.create(Q):(Y.prototype=Q.prototype,new Y)}}();Object.defineProperty(d2,"__esModule",{value:!0});d2.DetailContext=d2.NoopContext=d2.VError=void 0;var dE=function(D){qi(Z,D);function Z(Q,Y){var J=D.call(this,Y)||this;return J.path=Q,Object.setPrototypeOf(J,Z.prototype),J}return Z}(Error);d2.VError=dE;var Bi=function(){function D(){}return D.prototype.fail=function(Z,Q,Y){return!1},D.prototype.unionResolver=function(){return this},D.prototype.createContext=function(){return this},D.prototype.resolveUnion=function(Z){},D}();d2.NoopContext=Bi;var lE=function(){function D(){this._propNames=[""],this._messages=[null],this._score=0}return D.prototype.fail=function(Z,Q,Y){return this._propNames.push(Z),this._messages.push(Q),this._score+=Y,!1},D.prototype.unionResolver=function(){return new Hi},D.prototype.resolveUnion=function(Z){var Q,Y,J=Z,q=null;for(var B=0,H=J.contexts;B<H.length;B++){var V=H[B];if(!q||V._score>=q._score)q=V}if(q&&q._score>0)(Q=this._propNames).push.apply(Q,q._propNames),(Y=this._messages).push.apply(Y,q._messages)},D.prototype.getError=function(Z){var Q=[];for(var Y=this._propNames.length-1;Y>=0;Y--){var J=this._propNames[Y];Z+=typeof J==="number"?"["+J+"]":J?"."+J:"";var q=this._messages[Y];if(q)Q.push(Z+" "+q)}return new dE(Z,Q.join("; "))},D.prototype.getErrorDetail=function(Z){var Q=[];for(var Y=this._propNames.length-1;Y>=0;Y--){var J=this._propNames[Y];Z+=typeof J==="number"?"["+J+"]":J?"."+J:"";var q=this._messages[Y];if(q)Q.push({path:Z,message:q})}var B=null;for(var Y=Q.length-1;Y>=0;Y--){if(B)Q[Y].nested=[B];B=Q[Y]}return B},D}();d2.DetailContext=lE;var Hi=function(){function D(){this.contexts=[]}return D.prototype.createContext=function(){var Z=new lE;return this.contexts.push(Z),Z},D}()});var vV=M((v0)=>{var b8=v0&&v0.__extends||function(){var D=function(Z,Q){return D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Y,J){Y.__proto__=J}||function(Y,J){for(var q in J)if(J.hasOwnProperty(q))Y[q]=J[q]},D(Z,Q)};return function(Z,Q){D(Z,Q);function Y(){this.constructor=Z}Z.prototype=Q===null?Object.create(Q):(Y.prototype=Q.prototype,new Y)}}();Object.defineProperty(v0,"__esModule",{value:!0});v0.basicTypes=v0.BasicType=v0.TParamList=v0.TParam=v0.param=v0.TFunc=v0.func=v0.TProp=v0.TOptional=v0.opt=v0.TIface=v0.iface=v0.TEnumLiteral=v0.enumlit=v0.TEnumType=v0.enumtype=v0.TIntersection=v0.intersection=v0.TUnion=v0.union=v0.TTuple=v0.tuple=v0.TArray=v0.array=v0.TLiteral=v0.lit=v0.TName=v0.name=v0.TType=void 0;var iE=HY(),O8=function(){function D(){}return D}();v0.TType=O8;function QD(D){return typeof D==="string"?nE(D):D}function jV(D,Z){var Q=D[Z];if(!Q)throw new Error("Unknown type "+Z);return Q}function nE(D){return new NV(D)}v0.name=nE;var NV=function(D){b8(Z,D);function Z(Q){var Y=D.call(this)||this;return Y.name=Q,Y._failMsg="is not a "+Q,Y}return Z.prototype.getChecker=function(Q,Y,J){var q=this,B=jV(Q,this.name),H=B.getChecker(Q,Y,J);if(B instanceof i5||B instanceof Z)return H;return function(V,K){return H(V,K)?!0:K.fail(null,q._failMsg,0)}},Z}(O8);v0.TName=NV;function Vi(D){return new PV(D)}v0.lit=Vi;var PV=function(D){b8(Z,D);function Z(Q){var Y=D.call(this)||this;return Y.value=Q,Y.name=JSON.stringify(Q),Y._failMsg="is not "+Y.name,Y}return Z.prototype.getChecker=function(Q,Y){var J=this;return function(q,B){return q===J.value?!0:B.fail(null,J._failMsg,-1)}},Z}(O8);v0.TLiteral=PV;function Ki(D){return new rE(QD(D))}v0.array=Ki;var rE=function(D){b8(Z,D);function Z(Q){var Y=D.call(this)||this;return Y.ttype=Q,Y}return Z.prototype.getChecker=function(Q,Y){var J=this.ttype.getChecker(Q,Y);return function(q,B){if(!Array.isArray(q))return B.fail(null,"is not an array",0);for(var H=0;H<q.length;H++){var V=J(q[H],B);if(!V)return B.fail(H,null,1)}return!0}},Z}(O8);v0.TArray=rE;function Gi(){var D=[];for(var Z=0;Z<arguments.length;Z++)D[Z]=arguments[Z];return new sE(D.map(function(Q){return QD(Q)}))}v0.tuple=Gi;var sE=function(D){b8(Z,D);function Z(Q){var Y=D.call(this)||this;return Y.ttypes=Q,Y}return Z.prototype.getChecker=function(Q,Y){var J=this.ttypes.map(function(B){return B.getChecker(Q,Y)}),q=function(B,H){if(!Array.isArray(B))return H.fail(null,"is not an array",0);for(var V=0;V<J.length;V++){var K=J[V](B[V],H);if(!K)return H.fail(V,null,1)}return!0};if(!Y)return q;return function(B,H){if(!q(B,H))return!1;return B.length<=J.length?!0:H.fail(J.length,"is extraneous",2)}},Z}(O8);v0.TTuple=sE;function zi(){var D=[];for(var Z=0;Z<arguments.length;Z++)D[Z]=arguments[Z];return new aE(D.map(function(Q){return QD(Q)}))}v0.union=zi;var aE=function(D){b8(Z,D);function Z(Q){var Y=D.call(this)||this;Y.ttypes=Q;var J=Q.map(function(B){return B instanceof NV||B instanceof PV?B.name:null}).filter(function(B){return B}),q=Q.length-J.length;if(J.length){if(q>0)J.push(q+" more");Y._failMsg="is none of "+J.join(", ")}else Y._failMsg="is none of "+q+" types";return Y}return Z.prototype.getChecker=function(Q,Y){var J=this,q=this.ttypes.map(function(B){return B.getChecker(Q,Y)});return function(B,H){var V=H.unionResolver();for(var K=0;K<q.length;K++){var G=q[K](B,V.createContext());if(G)return!0}return H.resolveUnion(V),H.fail(null,J._failMsg,0)}},Z}(O8);v0.TUnion=aE;function Wi(){var D=[];for(var Z=0;Z<arguments.length;Z++)D[Z]=arguments[Z];return new tE(D.map(function(Q){return QD(Q)}))}v0.intersection=Wi;var tE=function(D){b8(Z,D);function Z(Q){var Y=D.call(this)||this;return Y.ttypes=Q,Y}return Z.prototype.getChecker=function(Q,Y){var J=new Set,q=this.ttypes.map(function(B){return B.getChecker(Q,Y,J)});return function(B,H){var V=q.every(function(K){return K(B,H)});if(V)return!0;return H.fail(null,null,0)}},Z}(O8);v0.TIntersection=tE;function Oi(D){return new SV(D)}v0.enumtype=Oi;var SV=function(D){b8(Z,D);function Z(Q){var Y=D.call(this)||this;return Y.members=Q,Y.validValues=new Set,Y._failMsg="is not a valid enum value",Y.validValues=new Set(Object.keys(Q).map(function(J){return Q[J]})),Y}return Z.prototype.getChecker=function(Q,Y){var J=this;return function(q,B){return J.validValues.has(q)?!0:B.fail(null,J._failMsg,0)}},Z}(O8);v0.TEnumType=SV;function Xi(D,Z){return new oE(D,Z)}v0.enumlit=Xi;var oE=function(D){b8(Z,D);function Z(Q,Y){var J=D.call(this)||this;return J.enumName=Q,J.prop=Y,J._failMsg="is not "+Q+"."+Y,J}return Z.prototype.getChecker=function(Q,Y){var J=this,q=jV(Q,this.enumName);if(!(q instanceof SV))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var B=q.members[this.prop];if(!q.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(H,V){return H===B?!0:V.fail(null,J._failMsg,-1)}},Z}(O8);v0.TEnumLiteral=oE;function Fi(D){return Object.keys(D).map(function(Z){return Ui(Z,D[Z])})}function Ui(D,Z){return Z instanceof uV?new MV(D,Z.ttype,!0):new MV(D,QD(Z),!1)}function Ai(D,Z){return new eE(D,Fi(Z))}v0.iface=Ai;var eE=function(D){b8(Z,D);function Z(Q,Y){var J=D.call(this)||this;return J.bases=Q,J.props=Y,J.propSet=new Set(Y.map(function(q){return q.name})),J}return Z.prototype.getChecker=function(Q,Y,J){var q=this,B=this.bases.map(function(O){return jV(Q,O).getChecker(Q,Y)}),H=this.props.map(function(O){return O.ttype.getChecker(Q,Y)}),V=new iE.NoopContext,K=this.props.map(function(O,F){return!O.isOpt&&!H[F](void 0,V)}),G=function(O,F){if(typeof O!=="object"||O===null)return F.fail(null,"is not an object",0);for(var E=0;E<B.length;E++)if(!B[E](O,F))return!1;for(var E=0;E<H.length;E++){var L=q.props[E].name,j=O[L];if(j===void 0){if(K[E])return F.fail(L,"is missing",1)}else{var P=H[E](j,F);if(!P)return F.fail(L,null,1)}}return!0};if(!Y)return G;var W=this.propSet;if(J)this.propSet.forEach(function(O){return J.add(O)}),W=J;return function(O,F){if(!G(O,F))return!1;for(var E in O)if(!W.has(E))return F.fail(E,"is extraneous",2);return!0}},Z}(O8);v0.TIface=eE;function $i(D){return new uV(QD(D))}v0.opt=$i;var uV=function(D){b8(Z,D);function Z(Q){var Y=D.call(this)||this;return Y.ttype=Q,Y}return Z.prototype.getChecker=function(Q,Y){var J=this.ttype.getChecker(Q,Y);return function(q,B){return q===void 0||J(q,B)}},Z}(O8);v0.TOptional=uV;var MV=function(){function D(Z,Q,Y){this.name=Z,this.ttype=Q,this.isOpt=Y}return D}();v0.TProp=MV;function Ei(D){var Z=[];for(var Q=1;Q<arguments.length;Q++)Z[Q-1]=arguments[Q];return new Dw(new Qw(Z),QD(D))}v0.func=Ei;var Dw=function(D){b8(Z,D);function Z(Q,Y){var J=D.call(this)||this;return J.paramList=Q,J.result=Y,J}return Z.prototype.getChecker=function(Q,Y){return function(J,q){return typeof J==="function"?!0:q.fail(null,"is not a function",0)}},Z}(O8);v0.TFunc=Dw;function wi(D,Z,Q){return new Zw(D,QD(Z),Boolean(Q))}v0.param=wi;var Zw=function(){function D(Z,Q,Y){this.name=Z,this.ttype=Q,this.isOpt=Y}return D}();v0.TParam=Zw;var Qw=function(D){b8(Z,D);function Z(Q){var Y=D.call(this)||this;return Y.params=Q,Y}return Z.prototype.getChecker=function(Q,Y){var J=this,q=this.params.map(function(K){return K.ttype.getChecker(Q,Y)}),B=new iE.NoopContext,H=this.params.map(function(K,G){return!K.isOpt&&!q[G](void 0,B)}),V=function(K,G){if(!Array.isArray(K))return G.fail(null,"is not an array",0);for(var W=0;W<q.length;W++){var O=J.params[W];if(K[W]===void 0){if(H[W])return G.fail(O.name,"is missing",1)}else{var F=q[W](K[W],G);if(!F)return G.fail(O.name,null,1)}}return!0};if(!Y)return V;return function(K,G){if(!V(K,G))return!1;return K.length<=q.length?!0:G.fail(q.length,"is extraneous",2)}},Z}(O8);v0.TParamList=Qw;var i5=function(D){b8(Z,D);function Z(Q,Y){var J=D.call(this)||this;return J.validator=Q,J.message=Y,J}return Z.prototype.getChecker=function(Q,Y){var J=this;return function(q,B){return J.validator(q)?!0:B.fail(null,J.message,0)}},Z}(O8);v0.BasicType=i5;v0.basicTypes={any:new i5(function(D){return!0},"is invalid"),number:new i5(function(D){return typeof D==="number"},"is not a number"),object:new i5(function(D){return typeof D==="object"&&D},"is not an object"),boolean:new i5(function(D){return typeof D==="boolean"},"is not a boolean"),string:new i5(function(D){return typeof D==="string"},"is not a string"),symbol:new i5(function(D){return typeof D==="symbol"},"is not a symbol"),void:new i5(function(D){return D==null},"is not void"),undefined:new i5(function(D){return D===void 0},"is not undefined"),null:new i5(function(D){return D===null},"is not null"),never:new i5(function(D){return!1},"is unexpected"),Date:new i5(pE("[object Date]"),"is not a Date"),RegExp:new i5(pE("[object RegExp]"),"is not a RegExp")};var Li=Object.prototype.toString;function pE(D){return function(Z){return typeof Z==="object"&&Z&&Li.call(Z)===D}}if(typeof Buffer!=="undefined")v0.basicTypes.Buffer=new i5(function(D){return Buffer.isBuffer(D)},"is not a Buffer");var Ci=function(D){v0.basicTypes[D.name]=new i5(function(Z){return Z instanceof D},"is not a "+D.name)};for(i4=0,VY=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];i4<VY.length;i4++)IV=VY[i4],Ci(IV);var IV,i4,VY});var TV=M((G1)=>{var Ri=G1&&G1.__spreadArrays||function(){for(var D=0,Z=0,Q=arguments.length;Z<Q;Z++)D+=arguments[Z].length;for(var Y=Array(D),J=0,Z=0;Z<Q;Z++)for(var q=arguments[Z],B=0,H=q.length;B<H;B++,J++)Y[J]=q[B];return Y};Object.defineProperty(G1,"__esModule",{value:!0});G1.Checker=G1.createCheckers=void 0;var n4=vV(),Z6=HY(),b1=vV();Object.defineProperty(G1,"TArray",{enumerable:!0,get:function(){return b1.TArray}});Object.defineProperty(G1,"TEnumType",{enumerable:!0,get:function(){return b1.TEnumType}});Object.defineProperty(G1,"TEnumLiteral",{enumerable:!0,get:function(){return b1.TEnumLiteral}});Object.defineProperty(G1,"TFunc",{enumerable:!0,get:function(){return b1.TFunc}});Object.defineProperty(G1,"TIface",{enumerable:!0,get:function(){return b1.TIface}});Object.defineProperty(G1,"TLiteral",{enumerable:!0,get:function(){return b1.TLiteral}});Object.defineProperty(G1,"TName",{enumerable:!0,get:function(){return b1.TName}});Object.defineProperty(G1,"TOptional",{enumerable:!0,get:function(){return b1.TOptional}});Object.defineProperty(G1,"TParam",{enumerable:!0,get:function(){return b1.TParam}});Object.defineProperty(G1,"TParamList",{enumerable:!0,get:function(){return b1.TParamList}});Object.defineProperty(G1,"TProp",{enumerable:!0,get:function(){return b1.TProp}});Object.defineProperty(G1,"TTuple",{enumerable:!0,get:function(){return b1.TTuple}});Object.defineProperty(G1,"TType",{enumerable:!0,get:function(){return b1.TType}});Object.defineProperty(G1,"TUnion",{enumerable:!0,get:function(){return b1.TUnion}});Object.defineProperty(G1,"TIntersection",{enumerable:!0,get:function(){return b1.TIntersection}});Object.defineProperty(G1,"array",{enumerable:!0,get:function(){return b1.array}});Object.defineProperty(G1,"enumlit",{enumerable:!0,get:function(){return b1.enumlit}});Object.defineProperty(G1,"enumtype",{enumerable:!0,get:function(){return b1.enumtype}});Object.defineProperty(G1,"func",{enumerable:!0,get:function(){return b1.func}});Object.defineProperty(G1,"iface",{enumerable:!0,get:function(){return b1.iface}});Object.defineProperty(G1,"lit",{enumerable:!0,get:function(){return b1.lit}});Object.defineProperty(G1,"name",{enumerable:!0,get:function(){return b1.name}});Object.defineProperty(G1,"opt",{enumerable:!0,get:function(){return b1.opt}});Object.defineProperty(G1,"param",{enumerable:!0,get:function(){return b1.param}});Object.defineProperty(G1,"tuple",{enumerable:!0,get:function(){return b1.tuple}});Object.defineProperty(G1,"union",{enumerable:!0,get:function(){return b1.union}});Object.defineProperty(G1,"intersection",{enumerable:!0,get:function(){return b1.intersection}});Object.defineProperty(G1,"BasicType",{enumerable:!0,get:function(){return b1.BasicType}});var Mi=HY();Object.defineProperty(G1,"VError",{enumerable:!0,get:function(){return Mi.VError}});function Ii(){var D=[];for(var Z=0;Z<arguments.length;Z++)D[Z]=arguments[Z];var Q=Object.assign.apply(Object,Ri([{},n4.basicTypes],D)),Y={};for(var J=0,q=D;J<q.length;J++){var B=q[J];for(var H=0,V=Object.keys(B);H<V.length;H++){var K=V[H];Y[K]=new Yw(Q,B[K])}}return Y}G1.createCheckers=Ii;var Yw=function(){function D(Z,Q,Y){if(Y===void 0)Y="value";if(this.suite=Z,this.ttype=Q,this._path=Y,this.props=new Map,Q instanceof n4.TIface)for(var J=0,q=Q.props;J<q.length;J++){var B=q[J];this.props.set(B.name,B.ttype)}this.checkerPlain=this.ttype.getChecker(Z,!1),this.checkerStrict=this.ttype.getChecker(Z,!0)}return D.prototype.setReportedPath=function(Z){this._path=Z},D.prototype.check=function(Z){return this._doCheck(this.checkerPlain,Z)},D.prototype.test=function(Z){return this.checkerPlain(Z,new Z6.NoopContext)},D.prototype.validate=function(Z){return this._doValidate(this.checkerPlain,Z)},D.prototype.strictCheck=function(Z){return this._doCheck(this.checkerStrict,Z)},D.prototype.strictTest=function(Z){return this.checkerStrict(Z,new Z6.NoopContext)},D.prototype.strictValidate=function(Z){return this._doValidate(this.checkerStrict,Z)},D.prototype.getProp=function(Z){var Q=this.props.get(Z);if(!Q)throw new Error("Type has no property "+Z);return new D(this.suite,Q,this._path+"."+Z)},D.prototype.methodArgs=function(Z){var Q=this._getMethod(Z);return new D(this.suite,Q.paramList)},D.prototype.methodResult=function(Z){var Q=this._getMethod(Z);return new D(this.suite,Q.result)},D.prototype.getArgs=function(){if(!(this.ttype instanceof n4.TFunc))throw new Error("getArgs() applied to non-function");return new D(this.suite,this.ttype.paramList)},D.prototype.getResult=function(){if(!(this.ttype instanceof n4.TFunc))throw new Error("getResult() applied to non-function");return new D(this.suite,this.ttype.result)},D.prototype.getType=function(){return this.ttype},D.prototype._doCheck=function(Z,Q){var Y=new Z6.NoopContext;if(!Z(Q,Y)){var J=new Z6.DetailContext;throw Z(Q,J),J.getError(this._path)}},D.prototype._doValidate=function(Z,Q){var Y=new Z6.NoopContext;if(Z(Q,Y))return null;var J=new Z6.DetailContext;return Z(Q,J),J.getErrorDetail(this._path)},D.prototype._getMethod=function(Z){var Q=this.props.get(Z);if(!Q)throw new Error("Type has no property "+Z);if(!(Q instanceof n4.TFunc))throw new Error("Property "+Z+" is not a method");return Q},D}();G1.Checker=Yw});var Jw=M(($9)=>{Object.defineProperty($9,"__esModule",{value:!0});function ji(D){if(D&&D.__esModule)return D;else{var Z={};if(D!=null){for(var Q in D)if(Object.prototype.hasOwnProperty.call(D,Q))Z[Q]=D[Q]}return Z.default=D,Z}}var Ni=TV(),_1=ji(Ni),Pi=_1.union(_1.lit("jsx"),_1.lit("typescript"),_1.lit("flow"),_1.lit("imports"),_1.lit("react-hot-loader"),_1.lit("jest"));$9.Transform=Pi;var Si=_1.iface([],{compiledFilename:"string"});$9.SourceMapOptions=Si;var ui=_1.iface([],{transforms:_1.array("Transform"),disableESTransforms:_1.opt("boolean"),jsxRuntime:_1.opt(_1.union(_1.lit("classic"),_1.lit("automatic"),_1.lit("preserve"))),production:_1.opt("boolean"),jsxImportSource:_1.opt("string"),jsxPragma:_1.opt("string"),jsxFragmentPragma:_1.opt("string"),keepUnusedImports:_1.opt("boolean"),preserveDynamicImport:_1.opt("boolean"),injectCreateRequireForImportRequire:_1.opt("boolean"),enableLegacyTypeScriptModuleInterop:_1.opt("boolean"),enableLegacyBabel5ModuleInterop:_1.opt("boolean"),sourceMapOptions:_1.opt("SourceMapOptions"),filePath:_1.opt("string")});$9.Options=ui;var vi={Transform:$9.Transform,SourceMapOptions:$9.SourceMapOptions,Options:$9.Options};$9.default=vi});var qw=M((bV)=>{Object.defineProperty(bV,"__esModule",{value:!0});function Ti(D){return D&&D.__esModule?D:{default:D}}var bi=TV(),hi=Jw(),_i=Ti(hi),{Options:ki}=bi.createCheckers.call(void 0,_i.default);function yi(D){ki.strictCheck(D)}bV.validateOptions=yi});var KY=M((l2)=>{Object.defineProperty(l2,"__esModule",{value:!0});var fi=a4(),Bw=Q6(),n5=A5(),r4=S5(),o8=V1(),$5=u8(),s4=eD(),hV=DD();function xi(){n5.next.call(void 0),s4.parseMaybeAssign.call(void 0,!1)}l2.parseSpread=xi;function Hw(D){n5.next.call(void 0),kV(D)}l2.parseRest=Hw;function Vw(D){s4.parseIdentifier.call(void 0),Kw(D)}l2.parseBindingIdentifier=Vw;function mi(){s4.parseIdentifier.call(void 0),$5.state.tokens[$5.state.tokens.length-1].identifierRole=n5.IdentifierRole.ImportDeclaration}l2.parseImportedIdentifier=mi;function Kw(D){let Z;if($5.state.scopeDepth===0)Z=n5.IdentifierRole.TopLevelDeclaration;else if(D)Z=n5.IdentifierRole.BlockScopedDeclaration;else Z=n5.IdentifierRole.FunctionScopedDeclaration;$5.state.tokens[$5.state.tokens.length-1].identifierRole=Z}l2.markPriorBindingIdentifier=Kw;function kV(D){switch($5.state.type){case o8.TokenType._this:{let Z=n5.pushTypeContext.call(void 0,0);n5.next.call(void 0),n5.popTypeContext.call(void 0,Z);return}case o8.TokenType._yield:case o8.TokenType.name:{$5.state.type=o8.TokenType.name,Vw(D);return}case o8.TokenType.bracketL:{n5.next.call(void 0),Gw(o8.TokenType.bracketR,D,!0);return}case o8.TokenType.braceL:s4.parseObj.call(void 0,!0,D);return;default:hV.unexpected.call(void 0)}}l2.parseBindingAtom=kV;function Gw(D,Z,Q=!1,Y=!1,J=0){let q=!0,B=!1,H=$5.state.tokens.length;while(!n5.eat.call(void 0,D)&&!$5.state.error){if(q)q=!1;else if(hV.expect.call(void 0,o8.TokenType.comma),$5.state.tokens[$5.state.tokens.length-1].contextId=J,!B&&$5.state.tokens[H].isType)$5.state.tokens[$5.state.tokens.length-1].isType=!0,B=!0;if(Q&&n5.match.call(void 0,o8.TokenType.comma));else if(n5.eat.call(void 0,D))break;else if(n5.match.call(void 0,o8.TokenType.ellipsis)){Hw(Z),zw(),n5.eat.call(void 0,o8.TokenType.comma),hV.expect.call(void 0,D);break}else gi(Y,Z)}}l2.parseBindingList=Gw;function gi(D,Z){if(D)Bw.tsParseModifiers.call(void 0,[r4.ContextualKeyword._public,r4.ContextualKeyword._protected,r4.ContextualKeyword._private,r4.ContextualKeyword._readonly,r4.ContextualKeyword._override]);_V(Z),zw(),_V(Z,!0)}function zw(){if($5.isFlowEnabled)fi.flowParseAssignableListItemTypes.call(void 0);else if($5.isTypeScriptEnabled)Bw.tsParseAssignableListItemTypes.call(void 0)}function _V(D,Z=!1){if(!Z)kV(D);if(!n5.eat.call(void 0,o8.TokenType.eq))return;let Q=$5.state.tokens.length-1;s4.parseMaybeAssign.call(void 0),$5.state.tokens[Q].rhsEndIndex=$5.state.tokens.length}l2.parseMaybeDefault=_V});var Q6=M((E1)=>{Object.defineProperty(E1,"__esModule",{value:!0});var _=A5(),S0=S5(),b=V1(),c=u8(),B1=eD(),J6=KY(),p2=Z3(),O0=DD(),ci=nV();function fV(){return _.match.call(void 0,b.TokenType.name)}function di(){return _.match.call(void 0,b.TokenType.name)||Boolean(c.state.type&b.TokenType.IS_KEYWORD)||_.match.call(void 0,b.TokenType.string)||_.match.call(void 0,b.TokenType.num)||_.match.call(void 0,b.TokenType.bigint)||_.match.call(void 0,b.TokenType.decimal)}function Uw(){let D=c.state.snapshot();if(_.next.call(void 0),(_.match.call(void 0,b.TokenType.bracketL)||_.match.call(void 0,b.TokenType.braceL)||_.match.call(void 0,b.TokenType.star)||_.match.call(void 0,b.TokenType.ellipsis)||_.match.call(void 0,b.TokenType.hash)||di())&&!O0.hasPrecedingLineBreak.call(void 0))return!0;else return c.state.restoreFromSnapshot(D),!1}function Aw(D){while(!0)if(cV(D)===null)break}E1.tsParseModifiers=Aw;function cV(D){if(!_.match.call(void 0,b.TokenType.name))return null;let Z=c.state.contextualKeyword;if(D.indexOf(Z)!==-1&&Uw()){switch(Z){case S0.ContextualKeyword._readonly:c.state.tokens[c.state.tokens.length-1].type=b.TokenType._readonly;break;case S0.ContextualKeyword._abstract:c.state.tokens[c.state.tokens.length-1].type=b.TokenType._abstract;break;case S0.ContextualKeyword._static:c.state.tokens[c.state.tokens.length-1].type=b.TokenType._static;break;case S0.ContextualKeyword._public:c.state.tokens[c.state.tokens.length-1].type=b.TokenType._public;break;case S0.ContextualKeyword._private:c.state.tokens[c.state.tokens.length-1].type=b.TokenType._private;break;case S0.ContextualKeyword._protected:c.state.tokens[c.state.tokens.length-1].type=b.TokenType._protected;break;case S0.ContextualKeyword._override:c.state.tokens[c.state.tokens.length-1].type=b.TokenType._override;break;case S0.ContextualKeyword._declare:c.state.tokens[c.state.tokens.length-1].type=b.TokenType._declare;break;default:break}return Z}return null}E1.tsParseModifier=cV;function o4(){B1.parseIdentifier.call(void 0);while(_.eat.call(void 0,b.TokenType.dot))B1.parseIdentifier.call(void 0)}function li(){if(o4(),!O0.hasPrecedingLineBreak.call(void 0)&&_.match.call(void 0,b.TokenType.lessThan))B6()}function pi(){_.next.call(void 0),D3()}function ii(){_.next.call(void 0)}function ni(){if(O0.expect.call(void 0,b.TokenType._typeof),_.match.call(void 0,b.TokenType._import))$w();else o4();if(!O0.hasPrecedingLineBreak.call(void 0)&&_.match.call(void 0,b.TokenType.lessThan))B6()}function $w(){if(O0.expect.call(void 0,b.TokenType._import),O0.expect.call(void 0,b.TokenType.parenL),O0.expect.call(void 0,b.TokenType.string),O0.expect.call(void 0,b.TokenType.parenR),_.eat.call(void 0,b.TokenType.dot))o4();if(_.match.call(void 0,b.TokenType.lessThan))B6()}function ri(){_.eat.call(void 0,b.TokenType._const);let D=_.eat.call(void 0,b.TokenType._in),Z=O0.eatContextual.call(void 0,S0.ContextualKeyword._out);if(_.eat.call(void 0,b.TokenType._const),(D||Z)&&!_.match.call(void 0,b.TokenType.name))c.state.tokens[c.state.tokens.length-1].type=b.TokenType.name;else B1.parseIdentifier.call(void 0);if(_.eat.call(void 0,b.TokenType._extends))i1();if(_.eat.call(void 0,b.TokenType.eq))i1()}function q6(){if(_.match.call(void 0,b.TokenType.lessThan))zY()}E1.tsTryParseTypeParameters=q6;function zY(){let D=_.pushTypeContext.call(void 0,0);if(_.match.call(void 0,b.TokenType.lessThan)||_.match.call(void 0,b.TokenType.typeParameterStart))_.next.call(void 0);else O0.unexpected.call(void 0);while(!_.eat.call(void 0,b.TokenType.greaterThan)&&!c.state.error)ri(),_.eat.call(void 0,b.TokenType.comma);_.popTypeContext.call(void 0,D)}function dV(D){let Z=D===b.TokenType.arrow;if(q6(),O0.expect.call(void 0,b.TokenType.parenL),c.state.scopeDepth++,si(!1),c.state.scopeDepth--,Z)t4(D);else if(_.match.call(void 0,D))t4(D)}function si(D){J6.parseBindingList.call(void 0,b.TokenType.parenR,D)}function GY(){if(!_.eat.call(void 0,b.TokenType.comma))O0.semicolon.call(void 0)}function Ww(){dV(b.TokenType.colon),GY()}function ai(){let D=c.state.snapshot();_.next.call(void 0);let Z=_.eat.call(void 0,b.TokenType.name)&&_.match.call(void 0,b.TokenType.colon);return c.state.restoreFromSnapshot(D),Z}function Ew(){if(!(_.match.call(void 0,b.TokenType.bracketL)&&ai()))return!1;let D=_.pushTypeContext.call(void 0,0);return O0.expect.call(void 0,b.TokenType.bracketL),B1.parseIdentifier.call(void 0),D3(),O0.expect.call(void 0,b.TokenType.bracketR),e4(),GY(),_.popTypeContext.call(void 0,D),!0}function Ow(D){if(_.eat.call(void 0,b.TokenType.question),!D&&(_.match.call(void 0,b.TokenType.parenL)||_.match.call(void 0,b.TokenType.lessThan)))dV(b.TokenType.colon),GY();else e4(),GY()}function ti(){if(_.match.call(void 0,b.TokenType.parenL)||_.match.call(void 0,b.TokenType.lessThan)){Ww();return}if(_.match.call(void 0,b.TokenType._new)){if(_.next.call(void 0),_.match.call(void 0,b.TokenType.parenL)||_.match.call(void 0,b.TokenType.lessThan))Ww();else Ow(!1);return}let D=!!cV([S0.ContextualKeyword._readonly]);if(Ew())return;if((O0.isContextual.call(void 0,S0.ContextualKeyword._get)||O0.isContextual.call(void 0,S0.ContextualKeyword._set))&&Uw());B1.parsePropertyName.call(void 0,-1),Ow(D)}function oi(){ww()}function ww(){O0.expect.call(void 0,b.TokenType.braceL);while(!_.eat.call(void 0,b.TokenType.braceR)&&!c.state.error)ti()}function ei(){let D=c.state.snapshot(),Z=Dn();return c.state.restoreFromSnapshot(D),Z}function Dn(){if(_.next.call(void 0),_.eat.call(void 0,b.TokenType.plus)||_.eat.call(void 0,b.TokenType.minus))return O0.isContextual.call(void 0,S0.ContextualKeyword._readonly);if(O0.isContextual.call(void 0,S0.ContextualKeyword._readonly))_.next.call(void 0);if(!_.match.call(void 0,b.TokenType.bracketL))return!1;if(_.next.call(void 0),!fV())return!1;return _.next.call(void 0),_.match.call(void 0,b.TokenType._in)}function Zn(){B1.parseIdentifier.call(void 0),O0.expect.call(void 0,b.TokenType._in),i1()}function Qn(){if(O0.expect.call(void 0,b.TokenType.braceL),_.match.call(void 0,b.TokenType.plus)||_.match.call(void 0,b.TokenType.minus))_.next.call(void 0),O0.expectContextual.call(void 0,S0.ContextualKeyword._readonly);else O0.eatContextual.call(void 0,S0.ContextualKeyword._readonly);if(O0.expect.call(void 0,b.TokenType.bracketL),Zn(),O0.eatContextual.call(void 0,S0.ContextualKeyword._as))i1();if(O0.expect.call(void 0,b.TokenType.bracketR),_.match.call(void 0,b.TokenType.plus)||_.match.call(void 0,b.TokenType.minus))_.next.call(void 0),O0.expect.call(void 0,b.TokenType.question);else _.eat.call(void 0,b.TokenType.question);Un(),O0.semicolon.call(void 0),O0.expect.call(void 0,b.TokenType.braceR)}function Yn(){O0.expect.call(void 0,b.TokenType.bracketL);while(!_.eat.call(void 0,b.TokenType.bracketR)&&!c.state.error)Jn(),_.eat.call(void 0,b.TokenType.comma)}function Jn(){if(_.eat.call(void 0,b.TokenType.ellipsis))i1();else i1(),_.eat.call(void 0,b.TokenType.question);if(_.eat.call(void 0,b.TokenType.colon))i1()}function qn(){O0.expect.call(void 0,b.TokenType.parenL),i1(),O0.expect.call(void 0,b.TokenType.parenR)}function Bn(){_.nextTemplateToken.call(void 0),_.nextTemplateToken.call(void 0);while(!_.match.call(void 0,b.TokenType.backQuote)&&!c.state.error)O0.expect.call(void 0,b.TokenType.dollarBraceL),i1(),_.nextTemplateToken.call(void 0),_.nextTemplateToken.call(void 0);_.next.call(void 0)}var YD;(function(D){D[D.TSFunctionType=0]="TSFunctionType";let Q=1;D[D.TSConstructorType=Q]="TSConstructorType";let Y=Q+1;D[D.TSAbstractConstructorType=Y]="TSAbstractConstructorType"})(YD||(YD={}));function yV(D){if(D===YD.TSAbstractConstructorType)O0.expectContextual.call(void 0,S0.ContextualKeyword._abstract);if(D===YD.TSConstructorType||D===YD.TSAbstractConstructorType)O0.expect.call(void 0,b.TokenType._new);let Z=c.state.inDisallowConditionalTypesContext;c.state.inDisallowConditionalTypesContext=!1,dV(b.TokenType.arrow),c.state.inDisallowConditionalTypesContext=Z}function Hn(){switch(c.state.type){case b.TokenType.name:li();return;case b.TokenType._void:case b.TokenType._null:_.next.call(void 0);return;case b.TokenType.string:case b.TokenType.num:case b.TokenType.bigint:case b.TokenType.decimal:case b.TokenType._true:case b.TokenType._false:B1.parseLiteral.call(void 0);return;case b.TokenType.minus:_.next.call(void 0),B1.parseLiteral.call(void 0);return;case b.TokenType._this:{if(ii(),O0.isContextual.call(void 0,S0.ContextualKeyword._is)&&!O0.hasPrecedingLineBreak.call(void 0))pi();return}case b.TokenType._typeof:ni();return;case b.TokenType._import:$w();return;case b.TokenType.braceL:if(ei())Qn();else oi();return;case b.TokenType.bracketL:Yn();return;case b.TokenType.parenL:qn();return;case b.TokenType.backQuote:Bn();return;default:if(c.state.type&b.TokenType.IS_KEYWORD){_.next.call(void 0),c.state.tokens[c.state.tokens.length-1].type=b.TokenType.name;return}break}O0.unexpected.call(void 0)}function Vn(){Hn();while(!O0.hasPrecedingLineBreak.call(void 0)&&_.eat.call(void 0,b.TokenType.bracketL))if(!_.eat.call(void 0,b.TokenType.bracketR))i1(),O0.expect.call(void 0,b.TokenType.bracketR)}function Kn(){if(O0.expectContextual.call(void 0,S0.ContextualKeyword._infer),B1.parseIdentifier.call(void 0),_.match.call(void 0,b.TokenType._extends)){let D=c.state.snapshot();O0.expect.call(void 0,b.TokenType._extends);let Z=c.state.inDisallowConditionalTypesContext;if(c.state.inDisallowConditionalTypesContext=!0,i1(),c.state.inDisallowConditionalTypesContext=Z,c.state.error||!c.state.inDisallowConditionalTypesContext&&_.match.call(void 0,b.TokenType.question))c.state.restoreFromSnapshot(D)}}function xV(){if(O0.isContextual.call(void 0,S0.ContextualKeyword._keyof)||O0.isContextual.call(void 0,S0.ContextualKeyword._unique)||O0.isContextual.call(void 0,S0.ContextualKeyword._readonly))_.next.call(void 0),xV();else if(O0.isContextual.call(void 0,S0.ContextualKeyword._infer))Kn();else{let D=c.state.inDisallowConditionalTypesContext;c.state.inDisallowConditionalTypesContext=!1,Vn(),c.state.inDisallowConditionalTypesContext=D}}function Xw(){if(_.eat.call(void 0,b.TokenType.bitwiseAND),xV(),_.match.call(void 0,b.TokenType.bitwiseAND))while(_.eat.call(void 0,b.TokenType.bitwiseAND))xV()}function Gn(){if(_.eat.call(void 0,b.TokenType.bitwiseOR),Xw(),_.match.call(void 0,b.TokenType.bitwiseOR))while(_.eat.call(void 0,b.TokenType.bitwiseOR))Xw()}function zn(){if(_.match.call(void 0,b.TokenType.lessThan))return!0;return _.match.call(void 0,b.TokenType.parenL)&&On()}function Wn(){if(_.match.call(void 0,b.TokenType.name)||_.match.call(void 0,b.TokenType._this))return _.next.call(void 0),!0;if(_.match.call(void 0,b.TokenType.braceL)||_.match.call(void 0,b.TokenType.bracketL)){let D=1;_.next.call(void 0);while(D>0&&!c.state.error){if(_.match.call(void 0,b.TokenType.braceL)||_.match.call(void 0,b.TokenType.bracketL))D++;else if(_.match.call(void 0,b.TokenType.braceR)||_.match.call(void 0,b.TokenType.bracketR))D--;_.next.call(void 0)}return!0}return!1}function On(){let D=c.state.snapshot(),Z=Xn();return c.state.restoreFromSnapshot(D),Z}function Xn(){if(_.next.call(void 0),_.match.call(void 0,b.TokenType.parenR)||_.match.call(void 0,b.TokenType.ellipsis))return!0;if(Wn()){if(_.match.call(void 0,b.TokenType.colon)||_.match.call(void 0,b.TokenType.comma)||_.match.call(void 0,b.TokenType.question)||_.match.call(void 0,b.TokenType.eq))return!0;if(_.match.call(void 0,b.TokenType.parenR)){if(_.next.call(void 0),_.match.call(void 0,b.TokenType.arrow))return!0}}return!1}function t4(D){let Z=_.pushTypeContext.call(void 0,0);if(O0.expect.call(void 0,D),!An())i1();_.popTypeContext.call(void 0,Z)}function Fn(){if(_.match.call(void 0,b.TokenType.colon))t4(b.TokenType.colon)}function e4(){if(_.match.call(void 0,b.TokenType.colon))D3()}E1.tsTryParseTypeAnnotation=e4;function Un(){if(_.eat.call(void 0,b.TokenType.colon))i1()}function An(){let D=c.state.snapshot();if(O0.isContextual.call(void 0,S0.ContextualKeyword._asserts))if(_.next.call(void 0),O0.eatContextual.call(void 0,S0.ContextualKeyword._is))return i1(),!0;else if(fV()||_.match.call(void 0,b.TokenType._this)){if(_.next.call(void 0),O0.eatContextual.call(void 0,S0.ContextualKeyword._is))i1();return!0}else return c.state.restoreFromSnapshot(D),!1;else if(fV()||_.match.call(void 0,b.TokenType._this))if(_.next.call(void 0),O0.isContextual.call(void 0,S0.ContextualKeyword._is)&&!O0.hasPrecedingLineBreak.call(void 0))return _.next.call(void 0),i1(),!0;else return c.state.restoreFromSnapshot(D),!1;return!1}function D3(){let D=_.pushTypeContext.call(void 0,0);O0.expect.call(void 0,b.TokenType.colon),i1(),_.popTypeContext.call(void 0,D)}E1.tsParseTypeAnnotation=D3;function i1(){if(mV(),c.state.inDisallowConditionalTypesContext||O0.hasPrecedingLineBreak.call(void 0)||!_.eat.call(void 0,b.TokenType._extends))return;let D=c.state.inDisallowConditionalTypesContext;c.state.inDisallowConditionalTypesContext=!0,mV(),c.state.inDisallowConditionalTypesContext=D,O0.expect.call(void 0,b.TokenType.question),i1(),O0.expect.call(void 0,b.TokenType.colon),i1()}E1.tsParseType=i1;function $n(){return O0.isContextual.call(void 0,S0.ContextualKeyword._abstract)&&_.lookaheadType.call(void 0)===b.TokenType._new}function mV(){if(zn()){yV(YD.TSFunctionType);return}if(_.match.call(void 0,b.TokenType._new)){yV(YD.TSConstructorType);return}else if($n()){yV(YD.TSAbstractConstructorType);return}Gn()}E1.tsParseNonConditionalType=mV;function En(){let D=_.pushTypeContext.call(void 0,1);i1(),O0.expect.call(void 0,b.TokenType.greaterThan),_.popTypeContext.call(void 0,D),B1.parseMaybeUnary.call(void 0)}E1.tsParseTypeAssertion=En;function wn(){if(_.eat.call(void 0,b.TokenType.jsxTagStart)){c.state.tokens[c.state.tokens.length-1].type=b.TokenType.typeParameterStart;let D=_.pushTypeContext.call(void 0,1);while(!_.match.call(void 0,b.TokenType.greaterThan)&&!c.state.error)i1(),_.eat.call(void 0,b.TokenType.comma);ci.nextJSXTagToken.call(void 0),_.popTypeContext.call(void 0,D)}}E1.tsTryParseJSXTypeArgument=wn;function Lw(){while(!_.match.call(void 0,b.TokenType.braceL)&&!c.state.error)Ln(),_.eat.call(void 0,b.TokenType.comma)}function Ln(){if(o4(),_.match.call(void 0,b.TokenType.lessThan))B6()}function Cn(){if(J6.parseBindingIdentifier.call(void 0,!1),q6(),_.eat.call(void 0,b.TokenType._extends))Lw();ww()}function Rn(){J6.parseBindingIdentifier.call(void 0,!1),q6(),O0.expect.call(void 0,b.TokenType.eq),i1(),O0.semicolon.call(void 0)}function Mn(){if(_.match.call(void 0,b.TokenType.string))B1.parseLiteral.call(void 0);else B1.parseIdentifier.call(void 0);if(_.eat.call(void 0,b.TokenType.eq)){let D=c.state.tokens.length-1;B1.parseMaybeAssign.call(void 0),c.state.tokens[D].rhsEndIndex=c.state.tokens.length}}function lV(){J6.parseBindingIdentifier.call(void 0,!1),O0.expect.call(void 0,b.TokenType.braceL);while(!_.eat.call(void 0,b.TokenType.braceR)&&!c.state.error)Mn(),_.eat.call(void 0,b.TokenType.comma)}function pV(){O0.expect.call(void 0,b.TokenType.braceL),p2.parseBlockBody.call(void 0,b.TokenType.braceR)}function gV(){if(J6.parseBindingIdentifier.call(void 0,!1),_.eat.call(void 0,b.TokenType.dot))gV();else pV()}function Cw(){if(O0.isContextual.call(void 0,S0.ContextualKeyword._global))B1.parseIdentifier.call(void 0);else if(_.match.call(void 0,b.TokenType.string))B1.parseExprAtom.call(void 0);else O0.unexpected.call(void 0);if(_.match.call(void 0,b.TokenType.braceL))pV();else O0.semicolon.call(void 0)}function Rw(){J6.parseImportedIdentifier.call(void 0),O0.expect.call(void 0,b.TokenType.eq),jn(),O0.semicolon.call(void 0)}E1.tsParseImportEqualsDeclaration=Rw;function In(){return O0.isContextual.call(void 0,S0.ContextualKeyword._require)&&_.lookaheadType.call(void 0)===b.TokenType.parenL}function jn(){if(In())Nn();else o4()}function Nn(){if(O0.expectContextual.call(void 0,S0.ContextualKeyword._require),O0.expect.call(void 0,b.TokenType.parenL),!_.match.call(void 0,b.TokenType.string))O0.unexpected.call(void 0);B1.parseLiteral.call(void 0),O0.expect.call(void 0,b.TokenType.parenR)}function Pn(){if(O0.isLineTerminator.call(void 0))return!1;switch(c.state.type){case b.TokenType._function:{let D=_.pushTypeContext.call(void 0,1);_.next.call(void 0);let Z=c.state.start;return p2.parseFunction.call(void 0,Z,!0),_.popTypeContext.call(void 0,D),!0}case b.TokenType._class:{let D=_.pushTypeContext.call(void 0,1);return p2.parseClass.call(void 0,!0,!1),_.popTypeContext.call(void 0,D),!0}case b.TokenType._const:if(_.match.call(void 0,b.TokenType._const)&&O0.isLookaheadContextual.call(void 0,S0.ContextualKeyword._enum)){let D=_.pushTypeContext.call(void 0,1);return O0.expect.call(void 0,b.TokenType._const),O0.expectContextual.call(void 0,S0.ContextualKeyword._enum),c.state.tokens[c.state.tokens.length-1].type=b.TokenType._enum,lV(),_.popTypeContext.call(void 0,D),!0}case b.TokenType._var:case b.TokenType._let:{let D=_.pushTypeContext.call(void 0,1);return p2.parseVarStatement.call(void 0,c.state.type!==b.TokenType._var),_.popTypeContext.call(void 0,D),!0}case b.TokenType.name:{let D=_.pushTypeContext.call(void 0,1),Z=c.state.contextualKeyword,Q=!1;if(Z===S0.ContextualKeyword._global)Cw(),Q=!0;else Q=WY(Z,!0);return _.popTypeContext.call(void 0,D),Q}default:return!1}}function Fw(){return WY(c.state.contextualKeyword,!0)}function Sn(D){switch(D){case S0.ContextualKeyword._declare:{let Z=c.state.tokens.length-1;if(Pn())return c.state.tokens[Z].type=b.TokenType._declare,!0;break}case S0.ContextualKeyword._global:if(_.match.call(void 0,b.TokenType.braceL))return pV(),!0;break;default:return WY(D,!1)}return!1}function WY(D,Z){switch(D){case S0.ContextualKeyword._abstract:if(Y6(Z)&&_.match.call(void 0,b.TokenType._class))return c.state.tokens[c.state.tokens.length-1].type=b.TokenType._abstract,p2.parseClass.call(void 0,!0,!1),!0;break;case S0.ContextualKeyword._enum:if(Y6(Z)&&_.match.call(void 0,b.TokenType.name))return c.state.tokens[c.state.tokens.length-1].type=b.TokenType._enum,lV(),!0;break;case S0.ContextualKeyword._interface:if(Y6(Z)&&_.match.call(void 0,b.TokenType.name)){let Q=_.pushTypeContext.call(void 0,Z?2:1);return Cn(),_.popTypeContext.call(void 0,Q),!0}break;case S0.ContextualKeyword._module:if(Y6(Z)){if(_.match.call(void 0,b.TokenType.string)){let Q=_.pushTypeContext.call(void 0,Z?2:1);return Cw(),_.popTypeContext.call(void 0,Q),!0}else if(_.match.call(void 0,b.TokenType.name)){let Q=_.pushTypeContext.call(void 0,Z?2:1);return gV(),_.popTypeContext.call(void 0,Q),!0}}break;case S0.ContextualKeyword._namespace:if(Y6(Z)&&_.match.call(void 0,b.TokenType.name)){let Q=_.pushTypeContext.call(void 0,Z?2:1);return gV(),_.popTypeContext.call(void 0,Q),!0}break;case S0.ContextualKeyword._type:if(Y6(Z)&&_.match.call(void 0,b.TokenType.name)){let Q=_.pushTypeContext.call(void 0,Z?2:1);return Rn(),_.popTypeContext.call(void 0,Q),!0}break;default:break}return!1}function Y6(D){if(D)return _.next.call(void 0),!0;else return!O0.isLineTerminator.call(void 0)}function un(){let D=c.state.snapshot();if(zY(),p2.parseFunctionParams.call(void 0),Fn(),O0.expect.call(void 0,b.TokenType.arrow),c.state.error)return c.state.restoreFromSnapshot(D),!1;return B1.parseFunctionBody.call(void 0,!0),!0}function iV(){if(c.state.type===b.TokenType.bitShiftL)c.state.pos-=1,_.finishToken.call(void 0,b.TokenType.lessThan);B6()}function B6(){let D=_.pushTypeContext.call(void 0,0);O0.expect.call(void 0,b.TokenType.lessThan);while(!_.match.call(void 0,b.TokenType.greaterThan)&&!c.state.error)i1(),_.eat.call(void 0,b.TokenType.comma);if(!D)_.popTypeContext.call(void 0,D),_.rescan_gt.call(void 0),O0.expect.call(void 0,b.TokenType.greaterThan),c.state.tokens[c.state.tokens.length-1].isType=!0;else O0.expect.call(void 0,b.TokenType.greaterThan),_.popTypeContext.call(void 0,D)}function vn(){if(_.match.call(void 0,b.TokenType.name))switch(c.state.contextualKeyword){case S0.ContextualKeyword._abstract:case S0.ContextualKeyword._declare:case S0.ContextualKeyword._enum:case S0.ContextualKeyword._interface:case S0.ContextualKeyword._module:case S0.ContextualKeyword._namespace:case S0.ContextualKeyword._type:return!0;default:break}return!1}E1.tsIsDeclarationStart=vn;function Tn(D,Z){if(_.match.call(void 0,b.TokenType.colon))t4(b.TokenType.colon);if(!_.match.call(void 0,b.TokenType.braceL)&&O0.isLineTerminator.call(void 0)){let Q=c.state.tokens.length-1;while(Q>=0&&(c.state.tokens[Q].start>=D||c.state.tokens[Q].type===b.TokenType._default||c.state.tokens[Q].type===b.TokenType._export))c.state.tokens[Q].isType=!0,Q--;return}B1.parseFunctionBody.call(void 0,!1,Z)}E1.tsParseFunctionBodyAndFinish=Tn;function bn(D,Z,Q){if(!O0.hasPrecedingLineBreak.call(void 0)&&_.eat.call(void 0,b.TokenType.bang)){c.state.tokens[c.state.tokens.length-1].type=b.TokenType.nonNullAssertion;return}if(_.match.call(void 0,b.TokenType.lessThan)||_.match.call(void 0,b.TokenType.bitShiftL)){let Y=c.state.snapshot();if(!Z&&B1.atPossibleAsync.call(void 0)){if(un())return}if(iV(),!Z&&_.eat.call(void 0,b.TokenType.parenL))c.state.tokens[c.state.tokens.length-1].subscriptStartIndex=D,B1.parseCallExpressionArguments.call(void 0);else if(_.match.call(void 0,b.TokenType.backQuote))B1.parseTemplate.call(void 0);else if(c.state.type===b.TokenType.greaterThan||c.state.type!==b.TokenType.parenL&&Boolean(c.state.type&b.TokenType.IS_EXPRESSION_START)&&!O0.hasPrecedingLineBreak.call(void 0))O0.unexpected.call(void 0);if(c.state.error)c.state.restoreFromSnapshot(Y);else return}else if(!Z&&_.match.call(void 0,b.TokenType.questionDot)&&_.lookaheadType.call(void 0)===b.TokenType.lessThan)_.next.call(void 0),c.state.tokens[D].isOptionalChainStart=!0,c.state.tokens[c.state.tokens.length-1].subscriptStartIndex=D,B6(),O0.expect.call(void 0,b.TokenType.parenL),B1.parseCallExpressionArguments.call(void 0);B1.baseParseSubscript.call(void 0,D,Z,Q)}E1.tsParseSubscript=bn;function hn(){if(_.eat.call(void 0,b.TokenType._import)){if(O0.isContextual.call(void 0,S0.ContextualKeyword._type)&&_.lookaheadType.call(void 0)!==b.TokenType.eq)O0.expectContextual.call(void 0,S0.ContextualKeyword._type);return Rw(),!0}else if(_.eat.call(void 0,b.TokenType.eq))return B1.parseExpression.call(void 0),O0.semicolon.call(void 0),!0;else if(O0.eatContextual.call(void 0,S0.ContextualKeyword._as))return O0.expectContextual.call(void 0,S0.ContextualKeyword._namespace),B1.parseIdentifier.call(void 0),O0.semicolon.call(void 0),!0;else{if(O0.isContextual.call(void 0,S0.ContextualKeyword._type)){let D=_.lookaheadType.call(void 0);if(D===b.TokenType.braceL||D===b.TokenType.star)_.next.call(void 0)}return!1}}E1.tsTryParseExport=hn;function _n(){if(B1.parseIdentifier.call(void 0),_.match.call(void 0,b.TokenType.comma)||_.match.call(void 0,b.TokenType.braceR)){c.state.tokens[c.state.tokens.length-1].identifierRole=_.IdentifierRole.ImportDeclaration;return}if(B1.parseIdentifier.call(void 0),_.match.call(void 0,b.TokenType.comma)||_.match.call(void 0,b.TokenType.braceR)){c.state.tokens[c.state.tokens.length-1].identifierRole=_.IdentifierRole.ImportDeclaration,c.state.tokens[c.state.tokens.length-2].isType=!0,c.state.tokens[c.state.tokens.length-1].isType=!0;return}if(B1.parseIdentifier.call(void 0),_.match.call(void 0,b.TokenType.comma)||_.match.call(void 0,b.TokenType.braceR)){c.state.tokens[c.state.tokens.length-3].identifierRole=_.IdentifierRole.ImportAccess,c.state.tokens[c.state.tokens.length-1].identifierRole=_.IdentifierRole.ImportDeclaration;return}B1.parseIdentifier.call(void 0),c.state.tokens[c.state.tokens.length-3].identifierRole=_.IdentifierRole.ImportAccess,c.state.tokens[c.state.tokens.length-1].identifierRole=_.IdentifierRole.ImportDeclaration,c.state.tokens[c.state.tokens.length-4].isType=!0,c.state.tokens[c.state.tokens.length-3].isType=!0,c.state.tokens[c.state.tokens.length-2].isType=!0,c.state.tokens[c.state.tokens.length-1].isType=!0}E1.tsParseImportSpecifier=_n;function kn(){if(B1.parseIdentifier.call(void 0),_.match.call(void 0,b.TokenType.comma)||_.match.call(void 0,b.TokenType.braceR)){c.state.tokens[c.state.tokens.length-1].identifierRole=_.IdentifierRole.ExportAccess;return}if(B1.parseIdentifier.call(void 0),_.match.call(void 0,b.TokenType.comma)||_.match.call(void 0,b.TokenType.braceR)){c.state.tokens[c.state.tokens.length-1].identifierRole=_.IdentifierRole.ExportAccess,c.state.tokens[c.state.tokens.length-2].isType=!0,c.state.tokens[c.state.tokens.length-1].isType=!0;return}if(B1.parseIdentifier.call(void 0),_.match.call(void 0,b.TokenType.comma)||_.match.call(void 0,b.TokenType.braceR)){c.state.tokens[c.state.tokens.length-3].identifierRole=_.IdentifierRole.ExportAccess;return}B1.parseIdentifier.call(void 0),c.state.tokens[c.state.tokens.length-3].identifierRole=_.IdentifierRole.ExportAccess,c.state.tokens[c.state.tokens.length-4].isType=!0,c.state.tokens[c.state.tokens.length-3].isType=!0,c.state.tokens[c.state.tokens.length-2].isType=!0,c.state.tokens[c.state.tokens.length-1].isType=!0}E1.tsParseExportSpecifier=kn;function yn(){if(O0.isContextual.call(void 0,S0.ContextualKeyword._abstract)&&_.lookaheadType.call(void 0)===b.TokenType._class)return c.state.type=b.TokenType._abstract,_.next.call(void 0),p2.parseClass.call(void 0,!0,!0),!0;if(O0.isContextual.call(void 0,S0.ContextualKeyword._interface)){let D=_.pushTypeContext.call(void 0,2);return WY(S0.ContextualKeyword._interface,!0),_.popTypeContext.call(void 0,D),!0}return!1}E1.tsTryParseExportDefaultExpression=yn;function fn(){if(c.state.type===b.TokenType._const){let D=_.lookaheadTypeAndKeyword.call(void 0);if(D.type===b.TokenType.name&&D.contextualKeyword===S0.ContextualKeyword._enum)return O0.expect.call(void 0,b.TokenType._const),O0.expectContextual.call(void 0,S0.ContextualKeyword._enum),c.state.tokens[c.state.tokens.length-1].type=b.TokenType._enum,lV(),!0}return!1}E1.tsTryParseStatementContent=fn;function xn(D){let Z=c.state.tokens.length;Aw([S0.ContextualKeyword._abstract,S0.ContextualKeyword._readonly,S0.ContextualKeyword._declare,S0.ContextualKeyword._static,S0.ContextualKeyword._override]);let Q=c.state.tokens.length;if(Ew()){let J=D?Z-1:Z;for(let q=J;q<Q;q++)c.state.tokens[q].isType=!0;return!0}return!1}E1.tsTryParseClassMemberWithIsStatic=xn;function mn(D){if(!Sn(D))O0.semicolon.call(void 0)}E1.tsParseIdentifierStatement=mn;function gn(){let D=O0.eatContextual.call(void 0,S0.ContextualKeyword._declare);if(D)c.state.tokens[c.state.tokens.length-1].type=b.TokenType._declare;let Z=!1;if(_.match.call(void 0,b.TokenType.name))if(D){let Q=_.pushTypeContext.call(void 0,2);Z=Fw(),_.popTypeContext.call(void 0,Q)}else Z=Fw();if(!Z)if(D){let Q=_.pushTypeContext.call(void 0,2);p2.parseStatement.call(void 0,!0),_.popTypeContext.call(void 0,Q)}else p2.parseStatement.call(void 0,!0)}E1.tsParseExportDeclaration=gn;function cn(D){if(D&&(_.match.call(void 0,b.TokenType.lessThan)||_.match.call(void 0,b.TokenType.bitShiftL)))iV();if(O0.eatContextual.call(void 0,S0.ContextualKeyword._implements)){c.state.tokens[c.state.tokens.length-1].type=b.TokenType._implements;let Z=_.pushTypeContext.call(void 0,1);Lw(),_.popTypeContext.call(void 0,Z)}}E1.tsAfterParseClassSuper=cn;function dn(){q6()}E1.tsStartParseObjPropValue=dn;function ln(){q6()}E1.tsStartParseFunctionParams=ln;function pn(){let D=_.pushTypeContext.call(void 0,0);if(!O0.hasPrecedingLineBreak.call(void 0))_.eat.call(void 0,b.TokenType.bang);e4(),_.popTypeContext.call(void 0,D)}E1.tsAfterParseVarHead=pn;function nn(){if(_.match.call(void 0,b.TokenType.colon))D3()}E1.tsStartParseAsyncArrowFromCallExpression=nn;function rn(D,Z){if(c.isJSXEnabled)return Mw(D,Z);else return Iw(D,Z)}E1.tsParseMaybeAssign=rn;function Mw(D,Z){if(!_.match.call(void 0,b.TokenType.lessThan))return B1.baseParseMaybeAssign.call(void 0,D,Z);let Q=c.state.snapshot(),Y=B1.baseParseMaybeAssign.call(void 0,D,Z);if(c.state.error)c.state.restoreFromSnapshot(Q);else return Y;if(c.state.type=b.TokenType.typeParameterStart,zY(),Y=B1.baseParseMaybeAssign.call(void 0,D,Z),!Y)O0.unexpected.call(void 0);return Y}E1.tsParseMaybeAssignWithJSX=Mw;function Iw(D,Z){if(!_.match.call(void 0,b.TokenType.lessThan))return B1.baseParseMaybeAssign.call(void 0,D,Z);let Q=c.state.snapshot();zY();let Y=B1.baseParseMaybeAssign.call(void 0,D,Z);if(!Y)O0.unexpected.call(void 0);if(c.state.error)c.state.restoreFromSnapshot(Q);else return Y;return B1.baseParseMaybeAssign.call(void 0,D,Z)}E1.tsParseMaybeAssignWithoutJSX=Iw;function sn(){if(_.match.call(void 0,b.TokenType.colon)){let D=c.state.snapshot();if(t4(b.TokenType.colon),O0.canInsertSemicolon.call(void 0))O0.unexpected.call(void 0);if(!_.match.call(void 0,b.TokenType.arrow))O0.unexpected.call(void 0);if(c.state.error)c.state.restoreFromSnapshot(D)}return _.eat.call(void 0,b.TokenType.arrow)}E1.tsParseArrow=sn;function an(){let D=_.pushTypeContext.call(void 0,0);_.eat.call(void 0,b.TokenType.question),e4(),_.popTypeContext.call(void 0,D)}E1.tsParseAssignableListItemTypes=an;function tn(){if(_.match.call(void 0,b.TokenType.lessThan)||_.match.call(void 0,b.TokenType.bitShiftL))iV();p2.baseParseMaybeDecoratorArguments.call(void 0)}E1.tsParseMaybeDecoratorArguments=tn});var nV=M((XY)=>{Object.defineProperty(XY,"__esModule",{value:!0});var z1=A5(),L1=V1(),c0=u8(),OY=eD(),JD=DD(),Z5=S8(),jw=o7(),on=Q6();function en(){let D=!1,Z=!1;while(!0){if(c0.state.pos>=c0.input.length){JD.unexpected.call(void 0,"Unterminated JSX contents");return}let Q=c0.input.charCodeAt(c0.state.pos);if(Q===Z5.charCodes.lessThan||Q===Z5.charCodes.leftCurlyBrace){if(c0.state.pos===c0.state.start){if(Q===Z5.charCodes.lessThan){c0.state.pos++,z1.finishToken.call(void 0,L1.TokenType.jsxTagStart);return}z1.getTokenFromCode.call(void 0,Q);return}if(D&&!Z)z1.finishToken.call(void 0,L1.TokenType.jsxEmptyText);else z1.finishToken.call(void 0,L1.TokenType.jsxText);return}if(Q===Z5.charCodes.lineFeed)D=!0;else if(Q!==Z5.charCodes.space&&Q!==Z5.charCodes.carriageReturn&&Q!==Z5.charCodes.tab)Z=!0;c0.state.pos++}}function Dr(D){c0.state.pos++;for(;;){if(c0.state.pos>=c0.input.length){JD.unexpected.call(void 0,"Unterminated string constant");return}if(c0.input.charCodeAt(c0.state.pos)===D){c0.state.pos++;break}c0.state.pos++}z1.finishToken.call(void 0,L1.TokenType.string)}function Zr(){let D;do{if(c0.state.pos>c0.input.length){JD.unexpected.call(void 0,"Unexpectedly reached the end of input.");return}D=c0.input.charCodeAt(++c0.state.pos)}while(jw.IS_IDENTIFIER_CHAR[D]||D===Z5.charCodes.dash);z1.finishToken.call(void 0,L1.TokenType.jsxName)}function rV(){e8()}function Nw(D){if(rV(),!z1.eat.call(void 0,L1.TokenType.colon)){c0.state.tokens[c0.state.tokens.length-1].identifierRole=D;return}rV()}function Pw(){let D=c0.state.tokens.length;Nw(z1.IdentifierRole.Access);let Z=!1;while(z1.match.call(void 0,L1.TokenType.dot))Z=!0,e8(),rV();if(!Z){let Q=c0.state.tokens[D],Y=c0.input.charCodeAt(Q.start);if(Y>=Z5.charCodes.lowercaseA&&Y<=Z5.charCodes.lowercaseZ)Q.identifierRole=null}}function Qr(){switch(c0.state.type){case L1.TokenType.braceL:z1.next.call(void 0),OY.parseExpression.call(void 0),e8();return;case L1.TokenType.jsxTagStart:uw(),e8();return;case L1.TokenType.string:e8();return;default:JD.unexpected.call(void 0,"JSX value should be either an expression or a quoted JSX text")}}function Yr(){JD.expect.call(void 0,L1.TokenType.ellipsis),OY.parseExpression.call(void 0)}function Jr(D){if(z1.match.call(void 0,L1.TokenType.jsxTagEnd))return!1;if(Pw(),c0.isTypeScriptEnabled)on.tsTryParseJSXTypeArgument.call(void 0);let Z=!1;while(!z1.match.call(void 0,L1.TokenType.slash)&&!z1.match.call(void 0,L1.TokenType.jsxTagEnd)&&!c0.state.error){if(z1.eat.call(void 0,L1.TokenType.braceL)){Z=!0,JD.expect.call(void 0,L1.TokenType.ellipsis),OY.parseMaybeAssign.call(void 0),e8();continue}if(Z&&c0.state.end-c0.state.start===3&&c0.input.charCodeAt(c0.state.start)===Z5.charCodes.lowercaseK&&c0.input.charCodeAt(c0.state.start+1)===Z5.charCodes.lowercaseE&&c0.input.charCodeAt(c0.state.start+2)===Z5.charCodes.lowercaseY)c0.state.tokens[D].jsxRole=z1.JSXRole.KeyAfterPropSpread;if(Nw(z1.IdentifierRole.ObjectKey),z1.match.call(void 0,L1.TokenType.eq))e8(),Qr()}let Q=z1.match.call(void 0,L1.TokenType.slash);if(Q)e8();return Q}function qr(){if(z1.match.call(void 0,L1.TokenType.jsxTagEnd))return;Pw()}function Sw(){let D=c0.state.tokens.length-1;c0.state.tokens[D].jsxRole=z1.JSXRole.NoChildren;let Z=0;if(!Jr(D)){H6();while(!0)switch(c0.state.type){case L1.TokenType.jsxTagStart:if(e8(),z1.match.call(void 0,L1.TokenType.slash)){if(e8(),qr(),c0.state.tokens[D].jsxRole!==z1.JSXRole.KeyAfterPropSpread){if(Z===1)c0.state.tokens[D].jsxRole=z1.JSXRole.OneChild;else if(Z>1)c0.state.tokens[D].jsxRole=z1.JSXRole.StaticChildren}return}Z++,Sw(),H6();break;case L1.TokenType.jsxText:Z++,H6();break;case L1.TokenType.jsxEmptyText:H6();break;case L1.TokenType.braceL:if(z1.next.call(void 0),z1.match.call(void 0,L1.TokenType.ellipsis))Yr(),H6(),Z+=2;else{if(!z1.match.call(void 0,L1.TokenType.braceR))Z++,OY.parseExpression.call(void 0);H6()}break;default:JD.unexpected.call(void 0);return}}}function uw(){e8(),Sw()}XY.jsxParseElement=uw;function e8(){c0.state.tokens.push(new z1.Token),z1.skipSpace.call(void 0),c0.state.start=c0.state.pos;let D=c0.input.charCodeAt(c0.state.pos);if(jw.IS_IDENTIFIER_START[D])Zr();else if(D===Z5.charCodes.quotationMark||D===Z5.charCodes.apostrophe)Dr(D);else switch(++c0.state.pos,D){case Z5.charCodes.greaterThan:z1.finishToken.call(void 0,L1.TokenType.jsxTagEnd);break;case Z5.charCodes.lessThan:z1.finishToken.call(void 0,L1.TokenType.jsxTagStart);break;case Z5.charCodes.slash:z1.finishToken.call(void 0,L1.TokenType.slash);break;case Z5.charCodes.equalsTo:z1.finishToken.call(void 0,L1.TokenType.eq);break;case Z5.charCodes.leftCurlyBrace:z1.finishToken.call(void 0,L1.TokenType.braceL);break;case Z5.charCodes.dot:z1.finishToken.call(void 0,L1.TokenType.dot);break;case Z5.charCodes.colon:z1.finishToken.call(void 0,L1.TokenType.colon);break;default:JD.unexpected.call(void 0)}}XY.nextJSXTagToken=e8;function H6(){c0.state.tokens.push(new z1.Token),c0.state.start=c0.state.pos,en()}});var Tw=M((UY)=>{Object.defineProperty(UY,"__esModule",{value:!0});var FY=A5(),V6=V1(),vw=u8(),Br=eD(),Hr=a4(),Vr=Q6();function Kr(D){if(FY.match.call(void 0,V6.TokenType.question)){let Z=FY.lookaheadType.call(void 0);if(Z===V6.TokenType.colon||Z===V6.TokenType.comma||Z===V6.TokenType.parenR)return}Br.baseParseConditional.call(void 0,D)}UY.typedParseConditional=Kr;function Gr(){if(FY.eatTypeToken.call(void 0,V6.TokenType.question),FY.match.call(void 0,V6.TokenType.colon)){if(vw.isTypeScriptEnabled)Vr.tsParseTypeAnnotation.call(void 0);else if(vw.isFlowEnabled)Hr.flowParseTypeAnnotation.call(void 0)}}UY.typedParseParenItem=Gr});var eD=M((c1)=>{Object.defineProperty(c1,"__esModule",{value:!0});var L9=a4(),zr=nV(),bw=Tw(),BD=Q6(),G0=A5(),E9=S5(),hw=nQ(),Z0=V1(),_w=S8(),Wr=o7(),Q0=u8(),qD=KY(),R2=Z3(),X1=DD();class tV{constructor(D){this.stop=D}}c1.StopState=tV;function Q3(D=!1){if(D2(D),G0.match.call(void 0,Z0.TokenType.comma))while(G0.eat.call(void 0,Z0.TokenType.comma))D2(D)}c1.parseExpression=Q3;function D2(D=!1,Z=!1){if(Q0.isTypeScriptEnabled)return BD.tsParseMaybeAssign.call(void 0,D,Z);else if(Q0.isFlowEnabled)return L9.flowParseMaybeAssign.call(void 0,D,Z);else return kw(D,Z)}c1.parseMaybeAssign=D2;function kw(D,Z){if(G0.match.call(void 0,Z0.TokenType._yield))return Sr(),!1;if(G0.match.call(void 0,Z0.TokenType.parenL)||G0.match.call(void 0,Z0.TokenType.name)||G0.match.call(void 0,Z0.TokenType._yield))Q0.state.potentialArrowAt=Q0.state.start;let Q=Or(D);if(Z)DK();if(Q0.state.type&Z0.TokenType.IS_ASSIGN)return G0.next.call(void 0),D2(D),!1;return Q}c1.baseParseMaybeAssign=kw;function Or(D){if(Fr(D))return!0;return Xr(D),!1}function Xr(D){if(Q0.isTypeScriptEnabled||Q0.isFlowEnabled)bw.typedParseConditional.call(void 0,D);else yw(D)}function yw(D){if(G0.eat.call(void 0,Z0.TokenType.question))D2(),X1.expect.call(void 0,Z0.TokenType.colon),D2(D)}c1.baseParseConditional=yw;function Fr(D){let Z=Q0.state.tokens.length;if(J3())return!0;return AY(Z,-1,D),!1}function AY(D,Z,Q){if(Q0.isTypeScriptEnabled&&(Z0.TokenType._in&Z0.TokenType.PRECEDENCE_MASK)>Z&&!X1.hasPrecedingLineBreak.call(void 0)&&(X1.eatContextual.call(void 0,E9.ContextualKeyword._as)||X1.eatContextual.call(void 0,E9.ContextualKeyword._satisfies))){let J=G0.pushTypeContext.call(void 0,1);BD.tsParseType.call(void 0),G0.popTypeContext.call(void 0,J),G0.rescan_gt.call(void 0),AY(D,Z,Q);return}let Y=Q0.state.type&Z0.TokenType.PRECEDENCE_MASK;if(Y>0&&(!Q||!G0.match.call(void 0,Z0.TokenType._in))){if(Y>Z){let J=Q0.state.type;if(G0.next.call(void 0),J===Z0.TokenType.nullishCoalescing)Q0.state.tokens[Q0.state.tokens.length-1].nullishStartIndex=D;let q=Q0.state.tokens.length;if(J3(),AY(q,J&Z0.TokenType.IS_RIGHT_ASSOCIATIVE?Y-1:Y,Q),J===Z0.TokenType.nullishCoalescing)Q0.state.tokens[D].numNullishCoalesceStarts++,Q0.state.tokens[Q0.state.tokens.length-1].numNullishCoalesceEnds++;AY(D,Z,Q)}}}function J3(){if(Q0.isTypeScriptEnabled&&!Q0.isJSXEnabled&&G0.eat.call(void 0,Z0.TokenType.lessThan))return BD.tsParseTypeAssertion.call(void 0),!1;if(X1.isContextual.call(void 0,E9.ContextualKeyword._module)&&G0.lookaheadCharCode.call(void 0)===_w.charCodes.leftCurlyBrace&&!X1.hasFollowingLineBreak.call(void 0))return ur(),!1;if(Q0.state.type&Z0.TokenType.IS_PREFIX)return G0.next.call(void 0),J3(),!1;if(fw())return!0;while(Q0.state.type&Z0.TokenType.IS_POSTFIX&&!X1.canInsertSemicolon.call(void 0)){if(Q0.state.type===Z0.TokenType.preIncDec)Q0.state.type=Z0.TokenType.postIncDec;G0.next.call(void 0)}return!1}c1.parseMaybeUnary=J3;function fw(){let D=Q0.state.tokens.length;if(LY())return!0;if(oV(D),Q0.state.tokens.length>D&&Q0.state.tokens[D].isOptionalChainStart)Q0.state.tokens[Q0.state.tokens.length-1].isOptionalChainEnd=!0;return!1}c1.parseExprSubscripts=fw;function oV(D,Z=!1){if(Q0.isFlowEnabled)L9.flowParseSubscripts.call(void 0,D,Z);else xw(D,Z)}function xw(D,Z=!1){let Q=new tV(!1);do Ur(D,Z,Q);while(!Q.stop&&!Q0.state.error)}c1.baseParseSubscripts=xw;function Ur(D,Z,Q){if(Q0.isTypeScriptEnabled)BD.tsParseSubscript.call(void 0,D,Z,Q);else if(Q0.isFlowEnabled)L9.flowParseSubscript.call(void 0,D,Z,Q);else mw(D,Z,Q)}function mw(D,Z,Q){if(!Z&&G0.eat.call(void 0,Z0.TokenType.doubleColon))eV(),Q.stop=!0,oV(D,Z);else if(G0.match.call(void 0,Z0.TokenType.questionDot)){if(Q0.state.tokens[D].isOptionalChainStart=!0,Z&&G0.lookaheadType.call(void 0)===Z0.TokenType.parenL){Q.stop=!0;return}if(G0.next.call(void 0),Q0.state.tokens[Q0.state.tokens.length-1].subscriptStartIndex=D,G0.eat.call(void 0,Z0.TokenType.bracketL))Q3(),X1.expect.call(void 0,Z0.TokenType.bracketR);else if(G0.eat.call(void 0,Z0.TokenType.parenL))$Y();else EY()}else if(G0.eat.call(void 0,Z0.TokenType.dot))Q0.state.tokens[Q0.state.tokens.length-1].subscriptStartIndex=D,EY();else if(G0.eat.call(void 0,Z0.TokenType.bracketL))Q0.state.tokens[Q0.state.tokens.length-1].subscriptStartIndex=D,Q3(),X1.expect.call(void 0,Z0.TokenType.bracketR);else if(!Z&&G0.match.call(void 0,Z0.TokenType.parenL))if(gw()){let Y=Q0.state.snapshot(),J=Q0.state.tokens.length;G0.next.call(void 0),Q0.state.tokens[Q0.state.tokens.length-1].subscriptStartIndex=D;let q=Q0.getNextContextId.call(void 0);if(Q0.state.tokens[Q0.state.tokens.length-1].contextId=q,$Y(),Q0.state.tokens[Q0.state.tokens.length-1].contextId=q,Ar())Q0.state.restoreFromSnapshot(Y),Q.stop=!0,Q0.state.scopeDepth++,R2.parseFunctionParams.call(void 0),$r(J)}else{G0.next.call(void 0),Q0.state.tokens[Q0.state.tokens.length-1].subscriptStartIndex=D;let Y=Q0.getNextContextId.call(void 0);Q0.state.tokens[Q0.state.tokens.length-1].contextId=Y,$Y(),Q0.state.tokens[Q0.state.tokens.length-1].contextId=Y}else if(G0.match.call(void 0,Z0.TokenType.backQuote))ZK();else Q.stop=!0}c1.baseParseSubscript=mw;function gw(){return Q0.state.tokens[Q0.state.tokens.length-1].contextualKeyword===E9.ContextualKeyword._async&&!X1.canInsertSemicolon.call(void 0)}c1.atPossibleAsync=gw;function $Y(){let D=!0;while(!G0.eat.call(void 0,Z0.TokenType.parenR)&&!Q0.state.error){if(D)D=!1;else if(X1.expect.call(void 0,Z0.TokenType.comma),G0.eat.call(void 0,Z0.TokenType.parenR))break;nw(!1)}}c1.parseCallExpressionArguments=$Y;function Ar(){return G0.match.call(void 0,Z0.TokenType.colon)||G0.match.call(void 0,Z0.TokenType.arrow)}function $r(D){if(Q0.isTypeScriptEnabled)BD.tsStartParseAsyncArrowFromCallExpression.call(void 0);else if(Q0.isFlowEnabled)L9.flowStartParseAsyncArrowFromCallExpression.call(void 0);X1.expect.call(void 0,Z0.TokenType.arrow),Y3(D)}function eV(){let D=Q0.state.tokens.length;LY(),oV(D,!0)}function LY(){if(G0.eat.call(void 0,Z0.TokenType.modulo))return w9(),!1;if(G0.match.call(void 0,Z0.TokenType.jsxText)||G0.match.call(void 0,Z0.TokenType.jsxEmptyText))return cw(),!1;else if(G0.match.call(void 0,Z0.TokenType.lessThan)&&Q0.isJSXEnabled)return Q0.state.type=Z0.TokenType.jsxTagStart,zr.jsxParseElement.call(void 0),G0.next.call(void 0),!1;let D=Q0.state.potentialArrowAt===Q0.state.start;switch(Q0.state.type){case Z0.TokenType.slash:case Z0.TokenType.assign:G0.retokenizeSlashAsRegex.call(void 0);case Z0.TokenType._super:case Z0.TokenType._this:case Z0.TokenType.regexp:case Z0.TokenType.num:case Z0.TokenType.bigint:case Z0.TokenType.decimal:case Z0.TokenType.string:case Z0.TokenType._null:case Z0.TokenType._true:case Z0.TokenType._false:return G0.next.call(void 0),!1;case Z0.TokenType._import:if(G0.next.call(void 0),G0.match.call(void 0,Z0.TokenType.dot))Q0.state.tokens[Q0.state.tokens.length-1].type=Z0.TokenType.name,G0.next.call(void 0),w9();return!1;case Z0.TokenType.name:{let Z=Q0.state.tokens.length,Q=Q0.state.start,Y=Q0.state.contextualKeyword;if(w9(),Y===E9.ContextualKeyword._await)return Pr(),!1;else if(Y===E9.ContextualKeyword._async&&G0.match.call(void 0,Z0.TokenType._function)&&!X1.canInsertSemicolon.call(void 0))return G0.next.call(void 0),R2.parseFunction.call(void 0,Q,!1),!1;else if(D&&Y===E9.ContextualKeyword._async&&!X1.canInsertSemicolon.call(void 0)&&G0.match.call(void 0,Z0.TokenType.name))return Q0.state.scopeDepth++,qD.parseBindingIdentifier.call(void 0,!1),X1.expect.call(void 0,Z0.TokenType.arrow),Y3(Z),!0;else if(G0.match.call(void 0,Z0.TokenType._do)&&!X1.canInsertSemicolon.call(void 0))return G0.next.call(void 0),R2.parseBlock.call(void 0),!1;if(D&&!X1.canInsertSemicolon.call(void 0)&&G0.match.call(void 0,Z0.TokenType.arrow))return Q0.state.scopeDepth++,qD.markPriorBindingIdentifier.call(void 0,!1),X1.expect.call(void 0,Z0.TokenType.arrow),Y3(Z),!0;return Q0.state.tokens[Q0.state.tokens.length-1].identifierRole=G0.IdentifierRole.Access,!1}case Z0.TokenType._do:return G0.next.call(void 0),R2.parseBlock.call(void 0),!1;case Z0.TokenType.parenL:return dw(D);case Z0.TokenType.bracketL:return G0.next.call(void 0),iw(Z0.TokenType.bracketR,!0),!1;case Z0.TokenType.braceL:return lw(!1,!1),!1;case Z0.TokenType._function:return Er(),!1;case Z0.TokenType.at:R2.parseDecorators.call(void 0);case Z0.TokenType._class:return R2.parseClass.call(void 0,!1),!1;case Z0.TokenType._new:return Cr(),!1;case Z0.TokenType.backQuote:return ZK(),!1;case Z0.TokenType.doubleColon:return G0.next.call(void 0),eV(),!1;case Z0.TokenType.hash:{let Z=G0.lookaheadCharCode.call(void 0);if(Wr.IS_IDENTIFIER_START[Z]||Z===_w.charCodes.backslash)EY();else G0.next.call(void 0);return!1}default:return X1.unexpected.call(void 0),!1}}c1.parseExprAtom=LY;function EY(){G0.eat.call(void 0,Z0.TokenType.hash),w9()}function Er(){let D=Q0.state.start;if(w9(),G0.eat.call(void 0,Z0.TokenType.dot))w9();R2.parseFunction.call(void 0,D,!1)}function cw(){G0.next.call(void 0)}c1.parseLiteral=cw;function wr(){X1.expect.call(void 0,Z0.TokenType.parenL),Q3(),X1.expect.call(void 0,Z0.TokenType.parenR)}c1.parseParenExpression=wr;function dw(D){let Z=Q0.state.snapshot(),Q=Q0.state.tokens.length;X1.expect.call(void 0,Z0.TokenType.parenL);let Y=!0;while(!G0.match.call(void 0,Z0.TokenType.parenR)&&!Q0.state.error){if(Y)Y=!1;else if(X1.expect.call(void 0,Z0.TokenType.comma),G0.match.call(void 0,Z0.TokenType.parenR))break;if(G0.match.call(void 0,Z0.TokenType.ellipsis)){qD.parseRest.call(void 0,!1),DK();break}else D2(!1,!0)}if(X1.expect.call(void 0,Z0.TokenType.parenR),D&&Lr()){if(sV()){if(Q0.state.restoreFromSnapshot(Z),Q0.state.scopeDepth++,R2.parseFunctionParams.call(void 0),sV(),Y3(Q),Q0.state.error)return Q0.state.restoreFromSnapshot(Z),dw(!1),!1;return!0}}return!1}function Lr(){return G0.match.call(void 0,Z0.TokenType.colon)||!X1.canInsertSemicolon.call(void 0)}function sV(){if(Q0.isTypeScriptEnabled)return BD.tsParseArrow.call(void 0);else if(Q0.isFlowEnabled)return L9.flowParseArrow.call(void 0);else return G0.eat.call(void 0,Z0.TokenType.arrow)}c1.parseArrow=sV;function DK(){if(Q0.isTypeScriptEnabled||Q0.isFlowEnabled)bw.typedParseParenItem.call(void 0)}function Cr(){if(X1.expect.call(void 0,Z0.TokenType._new),G0.eat.call(void 0,Z0.TokenType.dot)){w9();return}if(Rr(),Q0.isFlowEnabled)L9.flowStartParseNewArguments.call(void 0);if(G0.eat.call(void 0,Z0.TokenType.parenL))iw(Z0.TokenType.parenR)}function Rr(){eV(),G0.eat.call(void 0,Z0.TokenType.questionDot)}function ZK(){G0.nextTemplateToken.call(void 0),G0.nextTemplateToken.call(void 0);while(!G0.match.call(void 0,Z0.TokenType.backQuote)&&!Q0.state.error)X1.expect.call(void 0,Z0.TokenType.dollarBraceL),Q3(),G0.nextTemplateToken.call(void 0),G0.nextTemplateToken.call(void 0);G0.next.call(void 0)}c1.parseTemplate=ZK;function lw(D,Z){let Q=Q0.getNextContextId.call(void 0),Y=!0;G0.next.call(void 0),Q0.state.tokens[Q0.state.tokens.length-1].contextId=Q;while(!G0.eat.call(void 0,Z0.TokenType.braceR)&&!Q0.state.error){if(Y)Y=!1;else if(X1.expect.call(void 0,Z0.TokenType.comma),G0.eat.call(void 0,Z0.TokenType.braceR))break;let J=!1;if(G0.match.call(void 0,Z0.TokenType.ellipsis)){let q=Q0.state.tokens.length;if(qD.parseSpread.call(void 0),D){if(Q0.state.tokens.length===q+2)qD.markPriorBindingIdentifier.call(void 0,Z);if(G0.eat.call(void 0,Z0.TokenType.braceR))break}continue}if(!D)J=G0.eat.call(void 0,Z0.TokenType.star);if(!D&&X1.isContextual.call(void 0,E9.ContextualKeyword._async)){if(J)X1.unexpected.call(void 0);if(w9(),G0.match.call(void 0,Z0.TokenType.colon)||G0.match.call(void 0,Z0.TokenType.parenL)||G0.match.call(void 0,Z0.TokenType.braceR)||G0.match.call(void 0,Z0.TokenType.eq)||G0.match.call(void 0,Z0.TokenType.comma));else{if(G0.match.call(void 0,Z0.TokenType.star))G0.next.call(void 0),J=!0;wY(Q)}}else wY(Q);Nr(D,Z,Q)}Q0.state.tokens[Q0.state.tokens.length-1].contextId=Q}c1.parseObj=lw;function Mr(D){return!D&&(G0.match.call(void 0,Z0.TokenType.string)||G0.match.call(void 0,Z0.TokenType.num)||G0.match.call(void 0,Z0.TokenType.bracketL)||G0.match.call(void 0,Z0.TokenType.name)||!!(Q0.state.type&Z0.TokenType.IS_KEYWORD))}function Ir(D,Z){let Q=Q0.state.start;if(G0.match.call(void 0,Z0.TokenType.parenL)){if(D)X1.unexpected.call(void 0);return aV(Q,!1),!0}if(Mr(D))return wY(Z),aV(Q,!1),!0;return!1}function jr(D,Z){if(G0.eat.call(void 0,Z0.TokenType.colon)){if(D)qD.parseMaybeDefault.call(void 0,Z);else D2(!1);return}let Q;if(D)if(Q0.state.scopeDepth===0)Q=G0.IdentifierRole.ObjectShorthandTopLevelDeclaration;else if(Z)Q=G0.IdentifierRole.ObjectShorthandBlockScopedDeclaration;else Q=G0.IdentifierRole.ObjectShorthandFunctionScopedDeclaration;else Q=G0.IdentifierRole.ObjectShorthand;Q0.state.tokens[Q0.state.tokens.length-1].identifierRole=Q,qD.parseMaybeDefault.call(void 0,Z,!0)}function Nr(D,Z,Q){if(Q0.isTypeScriptEnabled)BD.tsStartParseObjPropValue.call(void 0);else if(Q0.isFlowEnabled)L9.flowStartParseObjPropValue.call(void 0);if(!Ir(D,Q))jr(D,Z)}function wY(D){if(Q0.isFlowEnabled)L9.flowParseVariance.call(void 0);if(G0.eat.call(void 0,Z0.TokenType.bracketL))Q0.state.tokens[Q0.state.tokens.length-1].contextId=D,D2(),X1.expect.call(void 0,Z0.TokenType.bracketR),Q0.state.tokens[Q0.state.tokens.length-1].contextId=D;else{if(G0.match.call(void 0,Z0.TokenType.num)||G0.match.call(void 0,Z0.TokenType.string)||G0.match.call(void 0,Z0.TokenType.bigint)||G0.match.call(void 0,Z0.TokenType.decimal))LY();else EY();Q0.state.tokens[Q0.state.tokens.length-1].identifierRole=G0.IdentifierRole.ObjectKey,Q0.state.tokens[Q0.state.tokens.length-1].contextId=D}}c1.parsePropertyName=wY;function aV(D,Z){let Q=Q0.getNextContextId.call(void 0);Q0.state.scopeDepth++;let Y=Q0.state.tokens.length,J=Z;R2.parseFunctionParams.call(void 0,J,Q),pw(D,Q);let q=Q0.state.tokens.length;Q0.state.scopes.push(new hw.Scope(Y,q,!0)),Q0.state.scopeDepth--}c1.parseMethod=aV;function Y3(D){QK(!0);let Z=Q0.state.tokens.length;Q0.state.scopes.push(new hw.Scope(D,Z,!0)),Q0.state.scopeDepth--}c1.parseArrowExpression=Y3;function pw(D,Z=0){if(Q0.isTypeScriptEnabled)BD.tsParseFunctionBodyAndFinish.call(void 0,D,Z);else if(Q0.isFlowEnabled)L9.flowParseFunctionBodyAndFinish.call(void 0,Z);else QK(!1,Z)}c1.parseFunctionBodyAndFinish=pw;function QK(D,Z=0){if(D&&!G0.match.call(void 0,Z0.TokenType.braceL))D2();else R2.parseBlock.call(void 0,!0,Z)}c1.parseFunctionBody=QK;function iw(D,Z=!1){let Q=!0;while(!G0.eat.call(void 0,D)&&!Q0.state.error){if(Q)Q=!1;else if(X1.expect.call(void 0,Z0.TokenType.comma),G0.eat.call(void 0,D))break;nw(Z)}}function nw(D){if(D&&G0.match.call(void 0,Z0.TokenType.comma));else if(G0.match.call(void 0,Z0.TokenType.ellipsis))qD.parseSpread.call(void 0),DK();else if(G0.match.call(void 0,Z0.TokenType.question))G0.next.call(void 0);else D2(!1,!0)}function w9(){G0.next.call(void 0),Q0.state.tokens[Q0.state.tokens.length-1].type=Z0.TokenType.name}c1.parseIdentifier=w9;function Pr(){J3()}function Sr(){if(G0.next.call(void 0),!G0.match.call(void 0,Z0.TokenType.semi)&&!X1.canInsertSemicolon.call(void 0))G0.eat.call(void 0,Z0.TokenType.star),D2()}function ur(){X1.expectContextual.call(void 0,E9.ContextualKeyword._module),X1.expect.call(void 0,Z0.TokenType.braceL),R2.parseBlockBody.call(void 0,Z0.TokenType.braceR)}});var a4=M((k1)=>{Object.defineProperty(k1,"__esModule",{value:!0});var f=A5(),n0=S5(),k=V1(),k0=u8(),S1=eD(),HD=Z3(),X0=DD();function vr(D){return(D.type===k.TokenType.name||!!(D.type&k.TokenType.IS_KEYWORD))&&D.contextualKeyword!==n0.ContextualKeyword._from}function i2(D){let Z=f.pushTypeContext.call(void 0,0);X0.expect.call(void 0,D||k.TokenType.colon),X8(),f.popTypeContext.call(void 0,Z)}function rw(){if(X0.expect.call(void 0,k.TokenType.modulo),X0.expectContextual.call(void 0,n0.ContextualKeyword._checks),f.eat.call(void 0,k.TokenType.parenL))S1.parseExpression.call(void 0),X0.expect.call(void 0,k.TokenType.parenR)}function qK(){let D=f.pushTypeContext.call(void 0,0);if(X0.expect.call(void 0,k.TokenType.colon),f.match.call(void 0,k.TokenType.modulo))rw();else if(X8(),f.match.call(void 0,k.TokenType.modulo))rw();f.popTypeContext.call(void 0,D)}function Tr(){f.next.call(void 0),BK(!0)}function br(){if(f.next.call(void 0),S1.parseIdentifier.call(void 0),f.match.call(void 0,k.TokenType.lessThan))n2();X0.expect.call(void 0,k.TokenType.parenL),JK(),X0.expect.call(void 0,k.TokenType.parenR),qK(),X0.semicolon.call(void 0)}function YK(){if(f.match.call(void 0,k.TokenType._class))Tr();else if(f.match.call(void 0,k.TokenType._function))br();else if(f.match.call(void 0,k.TokenType._var))hr();else if(X0.eatContextual.call(void 0,n0.ContextualKeyword._module))if(f.eat.call(void 0,k.TokenType.dot))yr();else _r();else if(X0.isContextual.call(void 0,n0.ContextualKeyword._type))fr();else if(X0.isContextual.call(void 0,n0.ContextualKeyword._opaque))xr();else if(X0.isContextual.call(void 0,n0.ContextualKeyword._interface))mr();else if(f.match.call(void 0,k.TokenType._export))kr();else X0.unexpected.call(void 0)}function hr(){f.next.call(void 0),DL(),X0.semicolon.call(void 0)}function _r(){if(f.match.call(void 0,k.TokenType.string))S1.parseExprAtom.call(void 0);else S1.parseIdentifier.call(void 0);X0.expect.call(void 0,k.TokenType.braceL);while(!f.match.call(void 0,k.TokenType.braceR)&&!k0.state.error)if(f.match.call(void 0,k.TokenType._import))f.next.call(void 0),HD.parseImport.call(void 0);else X0.unexpected.call(void 0);X0.expect.call(void 0,k.TokenType.braceR)}function kr(){if(X0.expect.call(void 0,k.TokenType._export),f.eat.call(void 0,k.TokenType._default))if(f.match.call(void 0,k.TokenType._function)||f.match.call(void 0,k.TokenType._class))YK();else X8(),X0.semicolon.call(void 0);else if(f.match.call(void 0,k.TokenType._var)||f.match.call(void 0,k.TokenType._function)||f.match.call(void 0,k.TokenType._class)||X0.isContextual.call(void 0,n0.ContextualKeyword._opaque))YK();else if(f.match.call(void 0,k.TokenType.star)||f.match.call(void 0,k.TokenType.braceL)||X0.isContextual.call(void 0,n0.ContextualKeyword._interface)||X0.isContextual.call(void 0,n0.ContextualKeyword._type)||X0.isContextual.call(void 0,n0.ContextualKeyword._opaque))HD.parseExport.call(void 0);else X0.unexpected.call(void 0)}function yr(){X0.expectContextual.call(void 0,n0.ContextualKeyword._exports),K6(),X0.semicolon.call(void 0)}function fr(){f.next.call(void 0),VK()}function xr(){f.next.call(void 0),KK(!0)}function mr(){f.next.call(void 0),BK()}function BK(D=!1){if(IY(),f.match.call(void 0,k.TokenType.lessThan))n2();if(f.eat.call(void 0,k.TokenType._extends))do CY();while(!D&&f.eat.call(void 0,k.TokenType.comma));if(X0.isContextual.call(void 0,n0.ContextualKeyword._mixins)){f.next.call(void 0);do CY();while(f.eat.call(void 0,k.TokenType.comma))}if(X0.isContextual.call(void 0,n0.ContextualKeyword._implements)){f.next.call(void 0);do CY();while(f.eat.call(void 0,k.TokenType.comma))}RY(D,!1,D)}function CY(){if(tw(!1),f.match.call(void 0,k.TokenType.lessThan))D7()}function HK(){BK()}function IY(){S1.parseIdentifier.call(void 0)}function VK(){if(IY(),f.match.call(void 0,k.TokenType.lessThan))n2();i2(k.TokenType.eq),X0.semicolon.call(void 0)}function KK(D){if(X0.expectContextual.call(void 0,n0.ContextualKeyword._type),IY(),f.match.call(void 0,k.TokenType.lessThan))n2();if(f.match.call(void 0,k.TokenType.colon))i2(k.TokenType.colon);if(!D)i2(k.TokenType.eq);X0.semicolon.call(void 0)}function gr(){if(WK(),DL(),f.eat.call(void 0,k.TokenType.eq))X8()}function n2(){let D=f.pushTypeContext.call(void 0,0);if(f.match.call(void 0,k.TokenType.lessThan)||f.match.call(void 0,k.TokenType.typeParameterStart))f.next.call(void 0);else X0.unexpected.call(void 0);do if(gr(),!f.match.call(void 0,k.TokenType.greaterThan))X0.expect.call(void 0,k.TokenType.comma);while(!f.match.call(void 0,k.TokenType.greaterThan)&&!k0.state.error);X0.expect.call(void 0,k.TokenType.greaterThan),f.popTypeContext.call(void 0,D)}k1.flowParseTypeParameterDeclaration=n2;function D7(){let D=f.pushTypeContext.call(void 0,0);X0.expect.call(void 0,k.TokenType.lessThan);while(!f.match.call(void 0,k.TokenType.greaterThan)&&!k0.state.error)if(X8(),!f.match.call(void 0,k.TokenType.greaterThan))X0.expect.call(void 0,k.TokenType.comma);X0.expect.call(void 0,k.TokenType.greaterThan),f.popTypeContext.call(void 0,D)}function cr(){if(X0.expectContextual.call(void 0,n0.ContextualKeyword._interface),f.eat.call(void 0,k.TokenType._extends))do CY();while(f.eat.call(void 0,k.TokenType.comma));RY(!1,!1,!1)}function GK(){if(f.match.call(void 0,k.TokenType.num)||f.match.call(void 0,k.TokenType.string))S1.parseExprAtom.call(void 0);else S1.parseIdentifier.call(void 0)}function dr(){if(f.lookaheadType.call(void 0)===k.TokenType.colon)GK(),i2();else X8();X0.expect.call(void 0,k.TokenType.bracketR),i2()}function lr(){if(GK(),X0.expect.call(void 0,k.TokenType.bracketR),X0.expect.call(void 0,k.TokenType.bracketR),f.match.call(void 0,k.TokenType.lessThan)||f.match.call(void 0,k.TokenType.parenL))zK();else f.eat.call(void 0,k.TokenType.question),i2()}function zK(){if(f.match.call(void 0,k.TokenType.lessThan))n2();X0.expect.call(void 0,k.TokenType.parenL);while(!f.match.call(void 0,k.TokenType.parenR)&&!f.match.call(void 0,k.TokenType.ellipsis)&&!k0.state.error)if(MY(),!f.match.call(void 0,k.TokenType.parenR))X0.expect.call(void 0,k.TokenType.comma);if(f.eat.call(void 0,k.TokenType.ellipsis))MY();X0.expect.call(void 0,k.TokenType.parenR),i2()}function pr(){zK()}function RY(D,Z,Q){let Y;if(Z&&f.match.call(void 0,k.TokenType.braceBarL))X0.expect.call(void 0,k.TokenType.braceBarL),Y=k.TokenType.braceBarR;else X0.expect.call(void 0,k.TokenType.braceL),Y=k.TokenType.braceR;while(!f.match.call(void 0,Y)&&!k0.state.error){if(Q&&X0.isContextual.call(void 0,n0.ContextualKeyword._proto)){let J=f.lookaheadType.call(void 0);if(J!==k.TokenType.colon&&J!==k.TokenType.question)f.next.call(void 0),D=!1}if(D&&X0.isContextual.call(void 0,n0.ContextualKeyword._static)){let J=f.lookaheadType.call(void 0);if(J!==k.TokenType.colon&&J!==k.TokenType.question)f.next.call(void 0)}if(WK(),f.eat.call(void 0,k.TokenType.bracketL))if(f.eat.call(void 0,k.TokenType.bracketL))lr();else dr();else if(f.match.call(void 0,k.TokenType.parenL)||f.match.call(void 0,k.TokenType.lessThan))pr();else{if(X0.isContextual.call(void 0,n0.ContextualKeyword._get)||X0.isContextual.call(void 0,n0.ContextualKeyword._set)){let J=f.lookaheadType.call(void 0);if(J===k.TokenType.name||J===k.TokenType.string||J===k.TokenType.num)f.next.call(void 0)}ir()}nr()}X0.expect.call(void 0,Y)}function ir(){if(f.match.call(void 0,k.TokenType.ellipsis)){if(X0.expect.call(void 0,k.TokenType.ellipsis),!f.eat.call(void 0,k.TokenType.comma))f.eat.call(void 0,k.TokenType.semi);if(f.match.call(void 0,k.TokenType.braceR))return;X8()}else if(GK(),f.match.call(void 0,k.TokenType.lessThan)||f.match.call(void 0,k.TokenType.parenL))zK();else f.eat.call(void 0,k.TokenType.question),i2()}function nr(){if(!f.eat.call(void 0,k.TokenType.semi)&&!f.eat.call(void 0,k.TokenType.comma)&&!f.match.call(void 0,k.TokenType.braceR)&&!f.match.call(void 0,k.TokenType.braceBarR))X0.unexpected.call(void 0)}function tw(D){if(!D)S1.parseIdentifier.call(void 0);while(f.eat.call(void 0,k.TokenType.dot))S1.parseIdentifier.call(void 0)}function rr(){if(tw(!0),f.match.call(void 0,k.TokenType.lessThan))D7()}function sr(){X0.expect.call(void 0,k.TokenType._typeof),ow()}function ar(){X0.expect.call(void 0,k.TokenType.bracketL);while(k0.state.pos<k0.input.length&&!f.match.call(void 0,k.TokenType.bracketR)){if(X8(),f.match.call(void 0,k.TokenType.bracketR))break;X0.expect.call(void 0,k.TokenType.comma)}X0.expect.call(void 0,k.TokenType.bracketR)}function MY(){let D=f.lookaheadType.call(void 0);if(D===k.TokenType.colon||D===k.TokenType.question)S1.parseIdentifier.call(void 0),f.eat.call(void 0,k.TokenType.question),i2();else X8()}function JK(){while(!f.match.call(void 0,k.TokenType.parenR)&&!f.match.call(void 0,k.TokenType.ellipsis)&&!k0.state.error)if(MY(),!f.match.call(void 0,k.TokenType.parenR))X0.expect.call(void 0,k.TokenType.comma);if(f.eat.call(void 0,k.TokenType.ellipsis))MY()}function ow(){let D=!1,Z=k0.state.noAnonFunctionType;switch(k0.state.type){case k.TokenType.name:{if(X0.isContextual.call(void 0,n0.ContextualKeyword._interface)){cr();return}S1.parseIdentifier.call(void 0),rr();return}case k.TokenType.braceL:RY(!1,!1,!1);return;case k.TokenType.braceBarL:RY(!1,!0,!1);return;case k.TokenType.bracketL:ar();return;case k.TokenType.lessThan:n2(),X0.expect.call(void 0,k.TokenType.parenL),JK(),X0.expect.call(void 0,k.TokenType.parenR),X0.expect.call(void 0,k.TokenType.arrow),X8();return;case k.TokenType.parenL:if(f.next.call(void 0),!f.match.call(void 0,k.TokenType.parenR)&&!f.match.call(void 0,k.TokenType.ellipsis))if(f.match.call(void 0,k.TokenType.name)){let Q=f.lookaheadType.call(void 0);D=Q!==k.TokenType.question&&Q!==k.TokenType.colon}else D=!0;if(D)if(k0.state.noAnonFunctionType=!1,X8(),k0.state.noAnonFunctionType=Z,k0.state.noAnonFunctionType||!(f.match.call(void 0,k.TokenType.comma)||f.match.call(void 0,k.TokenType.parenR)&&f.lookaheadType.call(void 0)===k.TokenType.arrow)){X0.expect.call(void 0,k.TokenType.parenR);return}else f.eat.call(void 0,k.TokenType.comma);JK(),X0.expect.call(void 0,k.TokenType.parenR),X0.expect.call(void 0,k.TokenType.arrow),X8();return;case k.TokenType.minus:f.next.call(void 0),S1.parseLiteral.call(void 0);return;case k.TokenType.string:case k.TokenType.num:case k.TokenType._true:case k.TokenType._false:case k.TokenType._null:case k.TokenType._this:case k.TokenType._void:case k.TokenType.star:f.next.call(void 0);return;default:if(k0.state.type===k.TokenType._typeof){sr();return}else if(k0.state.type&k.TokenType.IS_KEYWORD){f.next.call(void 0),k0.state.tokens[k0.state.tokens.length-1].type=k.TokenType.name;return}}X0.unexpected.call(void 0)}function tr(){ow();while(!X0.canInsertSemicolon.call(void 0)&&(f.match.call(void 0,k.TokenType.bracketL)||f.match.call(void 0,k.TokenType.questionDot)))if(f.eat.call(void 0,k.TokenType.questionDot),X0.expect.call(void 0,k.TokenType.bracketL),f.eat.call(void 0,k.TokenType.bracketR));else X8(),X0.expect.call(void 0,k.TokenType.bracketR)}function ew(){if(f.eat.call(void 0,k.TokenType.question))ew();else tr()}function sw(){if(ew(),!k0.state.noAnonFunctionType&&f.eat.call(void 0,k.TokenType.arrow))X8()}function aw(){f.eat.call(void 0,k.TokenType.bitwiseAND),sw();while(f.eat.call(void 0,k.TokenType.bitwiseAND))sw()}function or(){f.eat.call(void 0,k.TokenType.bitwiseOR),aw();while(f.eat.call(void 0,k.TokenType.bitwiseOR))aw()}function X8(){or()}function K6(){i2()}k1.flowParseTypeAnnotation=K6;function DL(){if(S1.parseIdentifier.call(void 0),f.match.call(void 0,k.TokenType.colon))K6()}function WK(){if(f.match.call(void 0,k.TokenType.plus)||f.match.call(void 0,k.TokenType.minus))f.next.call(void 0),k0.state.tokens[k0.state.tokens.length-1].isType=!0}k1.flowParseVariance=WK;function er(D){if(f.match.call(void 0,k.TokenType.colon))qK();S1.parseFunctionBody.call(void 0,!1,D)}k1.flowParseFunctionBodyAndFinish=er;function Ds(D,Z,Q){if(f.match.call(void 0,k.TokenType.questionDot)&&f.lookaheadType.call(void 0)===k.TokenType.lessThan){if(Z){Q.stop=!0;return}f.next.call(void 0),D7(),X0.expect.call(void 0,k.TokenType.parenL),S1.parseCallExpressionArguments.call(void 0);return}else if(!Z&&f.match.call(void 0,k.TokenType.lessThan)){let Y=k0.state.snapshot();if(D7(),X0.expect.call(void 0,k.TokenType.parenL),S1.parseCallExpressionArguments.call(void 0),k0.state.error)k0.state.restoreFromSnapshot(Y);else return}S1.baseParseSubscript.call(void 0,D,Z,Q)}k1.flowParseSubscript=Ds;function Zs(){if(f.match.call(void 0,k.TokenType.lessThan)){let D=k0.state.snapshot();if(D7(),k0.state.error)k0.state.restoreFromSnapshot(D)}}k1.flowStartParseNewArguments=Zs;function Qs(){if(f.match.call(void 0,k.TokenType.name)&&k0.state.contextualKeyword===n0.ContextualKeyword._interface){let D=f.pushTypeContext.call(void 0,0);return f.next.call(void 0),HK(),f.popTypeContext.call(void 0,D),!0}else if(X0.isContextual.call(void 0,n0.ContextualKeyword._enum))return ZL(),!0;return!1}k1.flowTryParseStatement=Qs;function Ys(){if(X0.isContextual.call(void 0,n0.ContextualKeyword._enum))return ZL(),!0;return!1}k1.flowTryParseExportDefaultExpression=Ys;function Js(D){if(D===n0.ContextualKeyword._declare){if(f.match.call(void 0,k.TokenType._class)||f.match.call(void 0,k.TokenType.name)||f.match.call(void 0,k.TokenType._function)||f.match.call(void 0,k.TokenType._var)||f.match.call(void 0,k.TokenType._export)){let Z=f.pushTypeContext.call(void 0,1);YK(),f.popTypeContext.call(void 0,Z)}}else if(f.match.call(void 0,k.TokenType.name)){if(D===n0.ContextualKeyword._interface){let Z=f.pushTypeContext.call(void 0,1);HK(),f.popTypeContext.call(void 0,Z)}else if(D===n0.ContextualKeyword._type){let Z=f.pushTypeContext.call(void 0,1);VK(),f.popTypeContext.call(void 0,Z)}else if(D===n0.ContextualKeyword._opaque){let Z=f.pushTypeContext.call(void 0,1);KK(!1),f.popTypeContext.call(void 0,Z)}}X0.semicolon.call(void 0)}k1.flowParseIdentifierStatement=Js;function qs(){return X0.isContextual.call(void 0,n0.ContextualKeyword._type)||X0.isContextual.call(void 0,n0.ContextualKeyword._interface)||X0.isContextual.call(void 0,n0.ContextualKeyword._opaque)||X0.isContextual.call(void 0,n0.ContextualKeyword._enum)}k1.flowShouldParseExportDeclaration=qs;function Bs(){return f.match.call(void 0,k.TokenType.name)&&(k0.state.contextualKeyword===n0.ContextualKeyword._type||k0.state.contextualKeyword===n0.ContextualKeyword._interface||k0.state.contextualKeyword===n0.ContextualKeyword._opaque||k0.state.contextualKeyword===n0.ContextualKeyword._enum)}k1.flowShouldDisallowExportDefaultSpecifier=Bs;function Hs(){if(X0.isContextual.call(void 0,n0.ContextualKeyword._type)){let D=f.pushTypeContext.call(void 0,1);if(f.next.call(void 0),f.match.call(void 0,k.TokenType.braceL))HD.parseExportSpecifiers.call(void 0),HD.parseExportFrom.call(void 0);else VK();f.popTypeContext.call(void 0,D)}else if(X0.isContextual.call(void 0,n0.ContextualKeyword._opaque)){let D=f.pushTypeContext.call(void 0,1);f.next.call(void 0),KK(!1),f.popTypeContext.call(void 0,D)}else if(X0.isContextual.call(void 0,n0.ContextualKeyword._interface)){let D=f.pushTypeContext.call(void 0,1);f.next.call(void 0),HK(),f.popTypeContext.call(void 0,D)}else HD.parseStatement.call(void 0,!0)}k1.flowParseExportDeclaration=Hs;function Vs(){return f.match.call(void 0,k.TokenType.star)||X0.isContextual.call(void 0,n0.ContextualKeyword._type)&&f.lookaheadType.call(void 0)===k.TokenType.star}k1.flowShouldParseExportStar=Vs;function Ks(){if(X0.eatContextual.call(void 0,n0.ContextualKeyword._type)){let D=f.pushTypeContext.call(void 0,2);HD.baseParseExportStar.call(void 0),f.popTypeContext.call(void 0,D)}else HD.baseParseExportStar.call(void 0)}k1.flowParseExportStar=Ks;function Gs(D){if(D&&f.match.call(void 0,k.TokenType.lessThan))D7();if(X0.isContextual.call(void 0,n0.ContextualKeyword._implements)){let Z=f.pushTypeContext.call(void 0,0);f.next.call(void 0),k0.state.tokens[k0.state.tokens.length-1].type=k.TokenType._implements;do if(IY(),f.match.call(void 0,k.TokenType.lessThan))D7();while(f.eat.call(void 0,k.TokenType.comma));f.popTypeContext.call(void 0,Z)}}k1.flowAfterParseClassSuper=Gs;function zs(){if(f.match.call(void 0,k.TokenType.lessThan)){if(n2(),!f.match.call(void 0,k.TokenType.parenL))X0.unexpected.call(void 0)}}k1.flowStartParseObjPropValue=zs;function Ws(){let D=f.pushTypeContext.call(void 0,0);if(f.eat.call(void 0,k.TokenType.question),f.match.call(void 0,k.TokenType.colon))K6();f.popTypeContext.call(void 0,D)}k1.flowParseAssignableListItemTypes=Ws;function Os(){if(f.match.call(void 0,k.TokenType._typeof)||X0.isContextual.call(void 0,n0.ContextualKeyword._type)){let D=f.lookaheadTypeAndKeyword.call(void 0);if(vr(D)||D.type===k.TokenType.braceL||D.type===k.TokenType.star)f.next.call(void 0)}}k1.flowStartParseImportSpecifiers=Os;function Xs(){let D=k0.state.contextualKeyword===n0.ContextualKeyword._type||k0.state.type===k.TokenType._typeof;if(D)f.next.call(void 0);else S1.parseIdentifier.call(void 0);if(X0.isContextual.call(void 0,n0.ContextualKeyword._as)&&!X0.isLookaheadContextual.call(void 0,n0.ContextualKeyword._as))if(S1.parseIdentifier.call(void 0),D&&!f.match.call(void 0,k.TokenType.name)&&!(k0.state.type&k.TokenType.IS_KEYWORD));else S1.parseIdentifier.call(void 0);else{if(D&&(f.match.call(void 0,k.TokenType.name)||!!(k0.state.type&k.TokenType.IS_KEYWORD)))S1.parseIdentifier.call(void 0);if(X0.eatContextual.call(void 0,n0.ContextualKeyword._as))S1.parseIdentifier.call(void 0)}}k1.flowParseImportSpecifier=Xs;function Fs(){if(f.match.call(void 0,k.TokenType.lessThan)){let D=f.pushTypeContext.call(void 0,0);n2(),f.popTypeContext.call(void 0,D)}}k1.flowStartParseFunctionParams=Fs;function Us(){if(f.match.call(void 0,k.TokenType.colon))K6()}k1.flowAfterParseVarHead=Us;function As(){if(f.match.call(void 0,k.TokenType.colon)){let D=k0.state.noAnonFunctionType;k0.state.noAnonFunctionType=!0,K6(),k0.state.noAnonFunctionType=D}}k1.flowStartParseAsyncArrowFromCallExpression=As;function $s(D,Z){if(f.match.call(void 0,k.TokenType.lessThan)){let Q=k0.state.snapshot(),Y=S1.baseParseMaybeAssign.call(void 0,D,Z);if(k0.state.error)k0.state.restoreFromSnapshot(Q),k0.state.type=k.TokenType.typeParameterStart;else return Y;let J=f.pushTypeContext.call(void 0,0);if(n2(),f.popTypeContext.call(void 0,J),Y=S1.baseParseMaybeAssign.call(void 0,D,Z),Y)return!0;X0.unexpected.call(void 0)}return S1.baseParseMaybeAssign.call(void 0,D,Z)}k1.flowParseMaybeAssign=$s;function Es(){if(f.match.call(void 0,k.TokenType.colon)){let D=f.pushTypeContext.call(void 0,0),Z=k0.state.snapshot(),Q=k0.state.noAnonFunctionType;if(k0.state.noAnonFunctionType=!0,qK(),k0.state.noAnonFunctionType=Q,X0.canInsertSemicolon.call(void 0))X0.unexpected.call(void 0);if(!f.match.call(void 0,k.TokenType.arrow))X0.unexpected.call(void 0);if(k0.state.error)k0.state.restoreFromSnapshot(Z);f.popTypeContext.call(void 0,D)}return f.eat.call(void 0,k.TokenType.arrow)}k1.flowParseArrow=Es;function ws(D,Z=!1){if(k0.state.tokens[k0.state.tokens.length-1].contextualKeyword===n0.ContextualKeyword._async&&f.match.call(void 0,k.TokenType.lessThan)){let Q=k0.state.snapshot();if(Ls()&&!k0.state.error)return;k0.state.restoreFromSnapshot(Q)}S1.baseParseSubscripts.call(void 0,D,Z)}k1.flowParseSubscripts=ws;function Ls(){k0.state.scopeDepth++;let D=k0.state.tokens.length;if(HD.parseFunctionParams.call(void 0),!S1.parseArrow.call(void 0))return!1;return S1.parseArrowExpression.call(void 0,D),!0}function ZL(){X0.expectContextual.call(void 0,n0.ContextualKeyword._enum),k0.state.tokens[k0.state.tokens.length-1].type=k.TokenType._enum,S1.parseIdentifier.call(void 0),Cs()}function Cs(){if(X0.eatContextual.call(void 0,n0.ContextualKeyword._of))f.next.call(void 0);X0.expect.call(void 0,k.TokenType.braceL),Rs(),X0.expect.call(void 0,k.TokenType.braceR)}function Rs(){while(!f.match.call(void 0,k.TokenType.braceR)&&!k0.state.error){if(f.eat.call(void 0,k.TokenType.ellipsis))break;if(Ms(),!f.match.call(void 0,k.TokenType.braceR))X0.expect.call(void 0,k.TokenType.comma)}}function Ms(){if(S1.parseIdentifier.call(void 0),f.eat.call(void 0,k.TokenType.eq))f.next.call(void 0)}});var Z3=M((X5)=>{Object.defineProperty(X5,"__esModule",{value:!0});var Is=$K(),r5=a4(),B5=Q6(),Y0=A5(),t0=S5(),VD=nQ(),n=V1(),QL=S8(),l=u8(),w1=eD(),KD=KY(),$0=DD();function js(){if(UK(n.TokenType.eof),l.state.scopes.push(new VD.Scope(0,l.state.tokens.length,!0)),l.state.scopeDepth!==0)throw new Error(`Invalid scope depth at end of file: ${l.state.scopeDepth}`);return new Is.File(l.state.tokens,l.state.scopes)}X5.parseTopLevel=js;function M2(D){if(l.isFlowEnabled){if(r5.flowTryParseStatement.call(void 0))return}if(Y0.match.call(void 0,n.TokenType.at))FK();Ns(D)}X5.parseStatement=M2;function Ns(D){if(l.isTypeScriptEnabled){if(B5.tsTryParseStatementContent.call(void 0))return}let Z=l.state.type;switch(Z){case n.TokenType._break:case n.TokenType._continue:Ss();return;case n.TokenType._debugger:us();return;case n.TokenType._do:vs();return;case n.TokenType._for:Ts();return;case n.TokenType._function:if(Y0.lookaheadType.call(void 0)===n.TokenType.dot)break;if(!D)$0.unexpected.call(void 0);_s();return;case n.TokenType._class:if(!D)$0.unexpected.call(void 0);NY(!0);return;case n.TokenType._if:ks();return;case n.TokenType._return:ys();return;case n.TokenType._switch:fs();return;case n.TokenType._throw:xs();return;case n.TokenType._try:gs();return;case n.TokenType._let:case n.TokenType._const:if(!D)$0.unexpected.call(void 0);case n.TokenType._var:jY(Z!==n.TokenType._var);return;case n.TokenType._while:cs();return;case n.TokenType.braceL:z6();return;case n.TokenType.semi:ds();return;case n.TokenType._export:case n.TokenType._import:{let J=Y0.lookaheadType.call(void 0);if(J===n.TokenType.parenL||J===n.TokenType.dot)break;if(Y0.next.call(void 0),Z===n.TokenType._import)FL();else WL();return}case n.TokenType.name:if(l.state.contextualKeyword===t0.ContextualKeyword._async){let J=l.state.start,q=l.state.snapshot();if(Y0.next.call(void 0),Y0.match.call(void 0,n.TokenType._function)&&!$0.canInsertSemicolon.call(void 0)){$0.expect.call(void 0,n.TokenType._function),H3(J,!0);return}else l.state.restoreFromSnapshot(q)}else if(l.state.contextualKeyword===t0.ContextualKeyword._using&&!$0.hasFollowingLineBreak.call(void 0)&&Y0.lookaheadType.call(void 0)===n.TokenType.name){jY(!0);return}else if(qL()){$0.expectContextual.call(void 0,t0.ContextualKeyword._await),jY(!0);return}default:break}let Q=l.state.tokens.length;w1.parseExpression.call(void 0);let Y=null;if(l.state.tokens.length===Q+1){let J=l.state.tokens[l.state.tokens.length-1];if(J.type===n.TokenType.name)Y=J.contextualKeyword}if(Y==null){$0.semicolon.call(void 0);return}if(Y0.eat.call(void 0,n.TokenType.colon))ls();else ps(Y)}function qL(){if(!$0.isContextual.call(void 0,t0.ContextualKeyword._await))return!1;let D=l.state.snapshot();if(Y0.next.call(void 0),!$0.isContextual.call(void 0,t0.ContextualKeyword._using)||$0.hasPrecedingLineBreak.call(void 0))return l.state.restoreFromSnapshot(D),!1;if(Y0.next.call(void 0),!Y0.match.call(void 0,n.TokenType.name)||$0.hasPrecedingLineBreak.call(void 0))return l.state.restoreFromSnapshot(D),!1;return l.state.restoreFromSnapshot(D),!0}function FK(){while(Y0.match.call(void 0,n.TokenType.at))BL()}X5.parseDecorators=FK;function BL(){if(Y0.next.call(void 0),Y0.eat.call(void 0,n.TokenType.parenL))w1.parseExpression.call(void 0),$0.expect.call(void 0,n.TokenType.parenR);else{w1.parseIdentifier.call(void 0);while(Y0.eat.call(void 0,n.TokenType.dot))w1.parseIdentifier.call(void 0);Ps()}}function Ps(){if(l.isTypeScriptEnabled)B5.tsParseMaybeDecoratorArguments.call(void 0);else HL()}function HL(){if(Y0.eat.call(void 0,n.TokenType.parenL))w1.parseCallExpressionArguments.call(void 0)}X5.baseParseMaybeDecoratorArguments=HL;function Ss(){if(Y0.next.call(void 0),!$0.isLineTerminator.call(void 0))w1.parseIdentifier.call(void 0),$0.semicolon.call(void 0)}function us(){Y0.next.call(void 0),$0.semicolon.call(void 0)}function vs(){Y0.next.call(void 0),M2(!1),$0.expect.call(void 0,n.TokenType._while),w1.parseParenExpression.call(void 0),Y0.eat.call(void 0,n.TokenType.semi)}function Ts(){l.state.scopeDepth++;let D=l.state.tokens.length;hs();let Z=l.state.tokens.length;l.state.scopes.push(new VD.Scope(D,Z,!1)),l.state.scopeDepth--}function bs(){if(!$0.isContextual.call(void 0,t0.ContextualKeyword._using))return!1;if($0.isLookaheadContextual.call(void 0,t0.ContextualKeyword._of))return!1;return!0}function hs(){Y0.next.call(void 0);let D=!1;if($0.isContextual.call(void 0,t0.ContextualKeyword._await))D=!0,Y0.next.call(void 0);if($0.expect.call(void 0,n.TokenType.parenL),Y0.match.call(void 0,n.TokenType.semi)){if(D)$0.unexpected.call(void 0);OK();return}let Z=qL();if(Z||Y0.match.call(void 0,n.TokenType._var)||Y0.match.call(void 0,n.TokenType._let)||Y0.match.call(void 0,n.TokenType._const)||bs()){if(Z)$0.expectContextual.call(void 0,t0.ContextualKeyword._await);if(Y0.next.call(void 0),VL(!0,l.state.type!==n.TokenType._var),Y0.match.call(void 0,n.TokenType._in)||$0.isContextual.call(void 0,t0.ContextualKeyword._of)){YL(D);return}OK();return}if(w1.parseExpression.call(void 0,!0),Y0.match.call(void 0,n.TokenType._in)||$0.isContextual.call(void 0,t0.ContextualKeyword._of)){YL(D);return}if(D)$0.unexpected.call(void 0);OK()}function _s(){let D=l.state.start;Y0.next.call(void 0),H3(D,!0)}function ks(){if(Y0.next.call(void 0),w1.parseParenExpression.call(void 0),M2(!1),Y0.eat.call(void 0,n.TokenType._else))M2(!1)}function ys(){if(Y0.next.call(void 0),!$0.isLineTerminator.call(void 0))w1.parseExpression.call(void 0),$0.semicolon.call(void 0)}function fs(){Y0.next.call(void 0),w1.parseParenExpression.call(void 0),l.state.scopeDepth++;let D=l.state.tokens.length;$0.expect.call(void 0,n.TokenType.braceL);while(!Y0.match.call(void 0,n.TokenType.braceR)&&!l.state.error)if(Y0.match.call(void 0,n.TokenType._case)||Y0.match.call(void 0,n.TokenType._default)){let Q=Y0.match.call(void 0,n.TokenType._case);if(Y0.next.call(void 0),Q)w1.parseExpression.call(void 0);$0.expect.call(void 0,n.TokenType.colon)}else M2(!0);Y0.next.call(void 0);let Z=l.state.tokens.length;l.state.scopes.push(new VD.Scope(D,Z,!1)),l.state.scopeDepth--}function xs(){Y0.next.call(void 0),w1.parseExpression.call(void 0),$0.semicolon.call(void 0)}function ms(){if(KD.parseBindingAtom.call(void 0,!0),l.isTypeScriptEnabled)B5.tsTryParseTypeAnnotation.call(void 0)}function gs(){if(Y0.next.call(void 0),z6(),Y0.match.call(void 0,n.TokenType._catch)){Y0.next.call(void 0);let D=null;if(Y0.match.call(void 0,n.TokenType.parenL))l.state.scopeDepth++,D=l.state.tokens.length,$0.expect.call(void 0,n.TokenType.parenL),ms(),$0.expect.call(void 0,n.TokenType.parenR);if(z6(),D!=null){let Z=l.state.tokens.length;l.state.scopes.push(new VD.Scope(D,Z,!1)),l.state.scopeDepth--}}if(Y0.eat.call(void 0,n.TokenType._finally))z6()}function jY(D){Y0.next.call(void 0),VL(!1,D),$0.semicolon.call(void 0)}X5.parseVarStatement=jY;function cs(){Y0.next.call(void 0),w1.parseParenExpression.call(void 0),M2(!1)}function ds(){Y0.next.call(void 0)}function ls(){M2(!0)}function ps(D){if(l.isTypeScriptEnabled)B5.tsParseIdentifierStatement.call(void 0,D);else if(l.isFlowEnabled)r5.flowParseIdentifierStatement.call(void 0,D);else $0.semicolon.call(void 0)}function z6(D=!1,Z=0){let Q=l.state.tokens.length;if(l.state.scopeDepth++,$0.expect.call(void 0,n.TokenType.braceL),Z)l.state.tokens[l.state.tokens.length-1].contextId=Z;if(UK(n.TokenType.braceR),Z)l.state.tokens[l.state.tokens.length-1].contextId=Z;let Y=l.state.tokens.length;l.state.scopes.push(new VD.Scope(Q,Y,D)),l.state.scopeDepth--}X5.parseBlock=z6;function UK(D){while(!Y0.eat.call(void 0,D)&&!l.state.error)M2(!0)}X5.parseBlockBody=UK;function OK(){if($0.expect.call(void 0,n.TokenType.semi),!Y0.match.call(void 0,n.TokenType.semi))w1.parseExpression.call(void 0);if($0.expect.call(void 0,n.TokenType.semi),!Y0.match.call(void 0,n.TokenType.parenR))w1.parseExpression.call(void 0);$0.expect.call(void 0,n.TokenType.parenR),M2(!1)}function YL(D){if(D)$0.eatContextual.call(void 0,t0.ContextualKeyword._of);else Y0.next.call(void 0);w1.parseExpression.call(void 0),$0.expect.call(void 0,n.TokenType.parenR),M2(!1)}function VL(D,Z){while(!0){if(is(Z),Y0.eat.call(void 0,n.TokenType.eq)){let Q=l.state.tokens.length-1;w1.parseMaybeAssign.call(void 0,D),l.state.tokens[Q].rhsEndIndex=l.state.tokens.length}if(!Y0.eat.call(void 0,n.TokenType.comma))break}}function is(D){if(KD.parseBindingAtom.call(void 0,D),l.isTypeScriptEnabled)B5.tsAfterParseVarHead.call(void 0);else if(l.isFlowEnabled)r5.flowAfterParseVarHead.call(void 0)}function H3(D,Z,Q=!1){if(Y0.match.call(void 0,n.TokenType.star))Y0.next.call(void 0);if(Z&&!Q&&!Y0.match.call(void 0,n.TokenType.name)&&!Y0.match.call(void 0,n.TokenType._yield))$0.unexpected.call(void 0);let Y=null;if(Y0.match.call(void 0,n.TokenType.name)){if(!Z)Y=l.state.tokens.length,l.state.scopeDepth++;KD.parseBindingIdentifier.call(void 0,!1)}let J=l.state.tokens.length;l.state.scopeDepth++,KL(),w1.parseFunctionBodyAndFinish.call(void 0,D);let q=l.state.tokens.length;if(l.state.scopes.push(new VD.Scope(J,q,!0)),l.state.scopeDepth--,Y!==null)l.state.scopes.push(new VD.Scope(Y,q,!0)),l.state.scopeDepth--}X5.parseFunction=H3;function KL(D=!1,Z=0){if(l.isTypeScriptEnabled)B5.tsStartParseFunctionParams.call(void 0);else if(l.isFlowEnabled)r5.flowStartParseFunctionParams.call(void 0);if($0.expect.call(void 0,n.TokenType.parenL),Z)l.state.tokens[l.state.tokens.length-1].contextId=Z;if(KD.parseBindingList.call(void 0,n.TokenType.parenR,!1,!1,D,Z),Z)l.state.tokens[l.state.tokens.length-1].contextId=Z}X5.parseFunctionParams=KL;function NY(D,Z=!1){let Q=l.getNextContextId.call(void 0);Y0.next.call(void 0),l.state.tokens[l.state.tokens.length-1].contextId=Q,l.state.tokens[l.state.tokens.length-1].isExpression=!D;let Y=null;if(!D)Y=l.state.tokens.length,l.state.scopeDepth++;as(D,Z),ts();let J=l.state.tokens.length;if(ns(Q),l.state.error)return;if(l.state.tokens[J].contextId=Q,l.state.tokens[l.state.tokens.length-1].contextId=Q,Y!==null){let q=l.state.tokens.length;l.state.scopes.push(new VD.Scope(Y,q,!1)),l.state.scopeDepth--}}X5.parseClass=NY;function GL(){return Y0.match.call(void 0,n.TokenType.eq)||Y0.match.call(void 0,n.TokenType.semi)||Y0.match.call(void 0,n.TokenType.braceR)||Y0.match.call(void 0,n.TokenType.bang)||Y0.match.call(void 0,n.TokenType.colon)}function zL(){return Y0.match.call(void 0,n.TokenType.parenL)||Y0.match.call(void 0,n.TokenType.lessThan)}function ns(D){$0.expect.call(void 0,n.TokenType.braceL);while(!Y0.eat.call(void 0,n.TokenType.braceR)&&!l.state.error){if(Y0.eat.call(void 0,n.TokenType.semi))continue;if(Y0.match.call(void 0,n.TokenType.at)){BL();continue}let Z=l.state.start;rs(Z,D)}}function rs(D,Z){if(l.isTypeScriptEnabled)B5.tsParseModifiers.call(void 0,[t0.ContextualKeyword._declare,t0.ContextualKeyword._public,t0.ContextualKeyword._protected,t0.ContextualKeyword._private,t0.ContextualKeyword._override]);let Q=!1;if(Y0.match.call(void 0,n.TokenType.name)&&l.state.contextualKeyword===t0.ContextualKeyword._static){if(w1.parseIdentifier.call(void 0),zL()){q3(D,!1);return}else if(GL()){B3();return}if(l.state.tokens[l.state.tokens.length-1].type=n.TokenType._static,Q=!0,Y0.match.call(void 0,n.TokenType.braceL)){l.state.tokens[l.state.tokens.length-1].contextId=Z,z6();return}}ss(D,Q,Z)}function ss(D,Z,Q){if(l.isTypeScriptEnabled){if(B5.tsTryParseClassMemberWithIsStatic.call(void 0,Z))return}if(Y0.eat.call(void 0,n.TokenType.star)){G6(Q),q3(D,!1);return}G6(Q);let Y=!1,J=l.state.tokens[l.state.tokens.length-1];if(J.contextualKeyword===t0.ContextualKeyword._constructor)Y=!0;if(XK(),zL())q3(D,Y);else if(GL())B3();else if(J.contextualKeyword===t0.ContextualKeyword._async&&!$0.isLineTerminator.call(void 0)){if(l.state.tokens[l.state.tokens.length-1].type=n.TokenType._async,Y0.match.call(void 0,n.TokenType.star))Y0.next.call(void 0);G6(Q),XK(),q3(D,!1)}else if((J.contextualKeyword===t0.ContextualKeyword._get||J.contextualKeyword===t0.ContextualKeyword._set)&&!($0.isLineTerminator.call(void 0)&&Y0.match.call(void 0,n.TokenType.star))){if(J.contextualKeyword===t0.ContextualKeyword._get)l.state.tokens[l.state.tokens.length-1].type=n.TokenType._get;else l.state.tokens[l.state.tokens.length-1].type=n.TokenType._set;G6(Q),q3(D,!1)}else if(J.contextualKeyword===t0.ContextualKeyword._accessor&&!$0.isLineTerminator.call(void 0))G6(Q),B3();else if($0.isLineTerminator.call(void 0))B3();else $0.unexpected.call(void 0)}function q3(D,Z){if(l.isTypeScriptEnabled)B5.tsTryParseTypeParameters.call(void 0);else if(l.isFlowEnabled){if(Y0.match.call(void 0,n.TokenType.lessThan))r5.flowParseTypeParameterDeclaration.call(void 0)}w1.parseMethod.call(void 0,D,Z)}function G6(D){w1.parsePropertyName.call(void 0,D)}X5.parseClassPropertyName=G6;function XK(){if(l.isTypeScriptEnabled){let D=Y0.pushTypeContext.call(void 0,0);Y0.eat.call(void 0,n.TokenType.question),Y0.popTypeContext.call(void 0,D)}}X5.parsePostMemberNameModifiers=XK;function B3(){if(l.isTypeScriptEnabled)Y0.eatTypeToken.call(void 0,n.TokenType.bang),B5.tsTryParseTypeAnnotation.call(void 0);else if(l.isFlowEnabled){if(Y0.match.call(void 0,n.TokenType.colon))r5.flowParseTypeAnnotation.call(void 0)}if(Y0.match.call(void 0,n.TokenType.eq)){let D=l.state.tokens.length;Y0.next.call(void 0),w1.parseMaybeAssign.call(void 0),l.state.tokens[D].rhsEndIndex=l.state.tokens.length}$0.semicolon.call(void 0)}X5.parseClassProperty=B3;function as(D,Z=!1){if(l.isTypeScriptEnabled&&(!D||Z)&&$0.isContextual.call(void 0,t0.ContextualKeyword._implements))return;if(Y0.match.call(void 0,n.TokenType.name))KD.parseBindingIdentifier.call(void 0,!0);if(l.isTypeScriptEnabled)B5.tsTryParseTypeParameters.call(void 0);else if(l.isFlowEnabled){if(Y0.match.call(void 0,n.TokenType.lessThan))r5.flowParseTypeParameterDeclaration.call(void 0)}}function ts(){let D=!1;if(Y0.eat.call(void 0,n.TokenType._extends))w1.parseExprSubscripts.call(void 0),D=!0;else D=!1;if(l.isTypeScriptEnabled)B5.tsAfterParseClassSuper.call(void 0,D);else if(l.isFlowEnabled)r5.flowAfterParseClassSuper.call(void 0,D)}function WL(){let D=l.state.tokens.length-1;if(l.isTypeScriptEnabled){if(B5.tsTryParseExport.call(void 0))return}if(Za())Qa();else if(Da()){if(w1.parseIdentifier.call(void 0),Y0.match.call(void 0,n.TokenType.comma)&&Y0.lookaheadType.call(void 0)===n.TokenType.star)$0.expect.call(void 0,n.TokenType.comma),$0.expect.call(void 0,n.TokenType.star),$0.expectContextual.call(void 0,t0.ContextualKeyword._as),w1.parseIdentifier.call(void 0);else OL();V3()}else if(Y0.eat.call(void 0,n.TokenType._default))os();else if(Ja())es();else AK(),V3();l.state.tokens[D].rhsEndIndex=l.state.tokens.length}X5.parseExport=WL;function os(){if(l.isTypeScriptEnabled){if(B5.tsTryParseExportDefaultExpression.call(void 0))return}if(l.isFlowEnabled){if(r5.flowTryParseExportDefaultExpression.call(void 0))return}let D=l.state.start;if(Y0.eat.call(void 0,n.TokenType._function))H3(D,!0,!0);else if($0.isContextual.call(void 0,t0.ContextualKeyword._async)&&Y0.lookaheadType.call(void 0)===n.TokenType._function)$0.eatContextual.call(void 0,t0.ContextualKeyword._async),Y0.eat.call(void 0,n.TokenType._function),H3(D,!0,!0);else if(Y0.match.call(void 0,n.TokenType._class))NY(!0,!0);else if(Y0.match.call(void 0,n.TokenType.at))FK(),NY(!0,!0);else w1.parseMaybeAssign.call(void 0),$0.semicolon.call(void 0)}function es(){if(l.isTypeScriptEnabled)B5.tsParseExportDeclaration.call(void 0);else if(l.isFlowEnabled)r5.flowParseExportDeclaration.call(void 0);else M2(!0)}function Da(){if(l.isTypeScriptEnabled&&B5.tsIsDeclarationStart.call(void 0))return!1;else if(l.isFlowEnabled&&r5.flowShouldDisallowExportDefaultSpecifier.call(void 0))return!1;if(Y0.match.call(void 0,n.TokenType.name))return l.state.contextualKeyword!==t0.ContextualKeyword._async;if(!Y0.match.call(void 0,n.TokenType._default))return!1;let D=Y0.nextTokenStart.call(void 0),Z=Y0.lookaheadTypeAndKeyword.call(void 0),Q=Z.type===n.TokenType.name&&Z.contextualKeyword===t0.ContextualKeyword._from;if(Z.type===n.TokenType.comma)return!0;if(Q){let Y=l.input.charCodeAt(Y0.nextTokenStartSince.call(void 0,D+4));return Y===QL.charCodes.quotationMark||Y===QL.charCodes.apostrophe}return!1}function OL(){if(Y0.eat.call(void 0,n.TokenType.comma))AK()}function V3(){if($0.eatContextual.call(void 0,t0.ContextualKeyword._from))w1.parseExprAtom.call(void 0),UL();$0.semicolon.call(void 0)}X5.parseExportFrom=V3;function Za(){if(l.isFlowEnabled)return r5.flowShouldParseExportStar.call(void 0);else return Y0.match.call(void 0,n.TokenType.star)}function Qa(){if(l.isFlowEnabled)r5.flowParseExportStar.call(void 0);else XL()}function XL(){if($0.expect.call(void 0,n.TokenType.star),$0.isContextual.call(void 0,t0.ContextualKeyword._as))Ya();else V3()}X5.baseParseExportStar=XL;function Ya(){Y0.next.call(void 0),l.state.tokens[l.state.tokens.length-1].type=n.TokenType._as,w1.parseIdentifier.call(void 0),OL(),V3()}function Ja(){return l.isTypeScriptEnabled&&B5.tsIsDeclarationStart.call(void 0)||l.isFlowEnabled&&r5.flowShouldParseExportDeclaration.call(void 0)||l.state.type===n.TokenType._var||l.state.type===n.TokenType._const||l.state.type===n.TokenType._let||l.state.type===n.TokenType._function||l.state.type===n.TokenType._class||$0.isContextual.call(void 0,t0.ContextualKeyword._async)||Y0.match.call(void 0,n.TokenType.at)}function AK(){let D=!0;$0.expect.call(void 0,n.TokenType.braceL);while(!Y0.eat.call(void 0,n.TokenType.braceR)&&!l.state.error){if(D)D=!1;else if($0.expect.call(void 0,n.TokenType.comma),Y0.eat.call(void 0,n.TokenType.braceR))break;qa()}}X5.parseExportSpecifiers=AK;function qa(){if(l.isTypeScriptEnabled){B5.tsParseExportSpecifier.call(void 0);return}if(w1.parseIdentifier.call(void 0),l.state.tokens[l.state.tokens.length-1].identifierRole=Y0.IdentifierRole.ExportAccess,$0.eatContextual.call(void 0,t0.ContextualKeyword._as))w1.parseIdentifier.call(void 0)}function Ba(){let D=l.state.snapshot();if($0.expectContextual.call(void 0,t0.ContextualKeyword._module),$0.eatContextual.call(void 0,t0.ContextualKeyword._from))if($0.isContextual.call(void 0,t0.ContextualKeyword._from))return l.state.restoreFromSnapshot(D),!0;else return l.state.restoreFromSnapshot(D),!1;else if(Y0.match.call(void 0,n.TokenType.comma))return l.state.restoreFromSnapshot(D),!1;else return l.state.restoreFromSnapshot(D),!0}function Ha(){if($0.isContextual.call(void 0,t0.ContextualKeyword._module)&&Ba())Y0.next.call(void 0)}function FL(){if(l.isTypeScriptEnabled&&Y0.match.call(void 0,n.TokenType.name)&&Y0.lookaheadType.call(void 0)===n.TokenType.eq){B5.tsParseImportEqualsDeclaration.call(void 0);return}if(l.isTypeScriptEnabled&&$0.isContextual.call(void 0,t0.ContextualKeyword._type)){let D=Y0.lookaheadTypeAndKeyword.call(void 0);if(D.type===n.TokenType.name&&D.contextualKeyword!==t0.ContextualKeyword._from){if($0.expectContextual.call(void 0,t0.ContextualKeyword._type),Y0.lookaheadType.call(void 0)===n.TokenType.eq){B5.tsParseImportEqualsDeclaration.call(void 0);return}}else if(D.type===n.TokenType.star||D.type===n.TokenType.braceL)$0.expectContextual.call(void 0,t0.ContextualKeyword._type)}if(Y0.match.call(void 0,n.TokenType.string))w1.parseExprAtom.call(void 0);else Ha(),Ka(),$0.expectContextual.call(void 0,t0.ContextualKeyword._from),w1.parseExprAtom.call(void 0);UL(),$0.semicolon.call(void 0)}X5.parseImport=FL;function Va(){return Y0.match.call(void 0,n.TokenType.name)}function JL(){KD.parseImportedIdentifier.call(void 0)}function Ka(){if(l.isFlowEnabled)r5.flowStartParseImportSpecifiers.call(void 0);let D=!0;if(Va()){if(JL(),!Y0.eat.call(void 0,n.TokenType.comma))return}if(Y0.match.call(void 0,n.TokenType.star)){Y0.next.call(void 0),$0.expectContextual.call(void 0,t0.ContextualKeyword._as),JL();return}$0.expect.call(void 0,n.TokenType.braceL);while(!Y0.eat.call(void 0,n.TokenType.braceR)&&!l.state.error){if(D)D=!1;else{if(Y0.eat.call(void 0,n.TokenType.colon))$0.unexpected.call(void 0,"ES2015 named imports do not destructure. Use another statement for destructuring after the import.");if($0.expect.call(void 0,n.TokenType.comma),Y0.eat.call(void 0,n.TokenType.braceR))break}Ga()}}function Ga(){if(l.isTypeScriptEnabled){B5.tsParseImportSpecifier.call(void 0);return}if(l.isFlowEnabled){r5.flowParseImportSpecifier.call(void 0);return}if(KD.parseImportedIdentifier.call(void 0),$0.isContextual.call(void 0,t0.ContextualKeyword._as))l.state.tokens[l.state.tokens.length-1].identifierRole=Y0.IdentifierRole.ImportAccess,Y0.next.call(void 0),KD.parseImportedIdentifier.call(void 0)}function UL(){if(Y0.match.call(void 0,n.TokenType._with)||$0.isContextual.call(void 0,t0.ContextualKeyword._assert)&&!$0.hasPrecedingLineBreak.call(void 0))Y0.next.call(void 0),w1.parseObj.call(void 0,!1,!1)}});var EL=M((wK)=>{Object.defineProperty(wK,"__esModule",{value:!0});var AL=A5(),$L=S8(),EK=u8(),za=Z3();function Wa(){if(EK.state.pos===0&&EK.input.charCodeAt(0)===$L.charCodes.numberSign&&EK.input.charCodeAt(1)===$L.charCodes.exclamationMark)AL.skipLineComment.call(void 0,2);return AL.nextToken.call(void 0),za.parseTopLevel.call(void 0)}wK.parseFile=Wa});var $K=M((SY)=>{Object.defineProperty(SY,"__esModule",{value:!0});var PY=u8(),Oa=EL();class wL{constructor(D,Z){this.tokens=D,this.scopes=Z}}SY.File=wL;function Xa(D,Z,Q,Y){if(Y&&Q)throw new Error("Cannot combine flow and typescript plugins.");PY.initParser.call(void 0,D,Z,Q,Y);let J=Oa.parseFile.call(void 0);if(PY.state.error)throw PY.augmentError.call(void 0,PY.state.error);return J}SY.parse=Xa});var LL=M((LK)=>{Object.defineProperty(LK,"__esModule",{value:!0});var Fa=S5();function Ua(D){let Z=D.currentIndex(),Q=0,Y=D.currentToken();do{let J=D.tokens[Z];if(J.isOptionalChainStart)Q++;if(J.isOptionalChainEnd)Q--;if(Q+=J.numNullishCoalesceStarts,Q-=J.numNullishCoalesceEnds,J.contextualKeyword===Fa.ContextualKeyword._await&&J.identifierRole==null&&J.scopeDepth===Y.scopeDepth)return!0;Z+=1}while(Q>0&&Z<D.tokens.length);return!1}LK.default=Ua});var CL=M((CK)=>{Object.defineProperty(CK,"__esModule",{value:!0});function Aa(D){return D&&D.__esModule?D:{default:D}}var uY=V1(),$a=LL(),Ea=Aa($a);class K3{__init(){this.resultCode=""}__init2(){this.resultMappings=new Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(D,Z,Q,Y,J){this.code=D,this.tokens=Z,this.isFlowEnabled=Q,this.disableESTransforms=Y,this.helperManager=J,K3.prototype.__init.call(this),K3.prototype.__init2.call(this),K3.prototype.__init3.call(this)}snapshot(){return{resultCode:this.resultCode,tokenIndex:this.tokenIndex}}restoreToSnapshot(D){this.resultCode=D.resultCode,this.tokenIndex=D.tokenIndex}dangerouslyGetAndRemoveCodeSinceSnapshot(D){let Z=this.resultCode.slice(D.resultCode.length);return this.resultCode=D.resultCode,Z}reset(){this.resultCode="",this.resultMappings=new Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(D,Z){return this.matches1AtIndex(D,uY.TokenType.name)&&this.tokens[D].contextualKeyword===Z}identifierNameAtIndex(D){return this.identifierNameForToken(this.tokens[D])}identifierNameAtRelativeIndex(D){return this.identifierNameForToken(this.tokenAtRelativeIndex(D))}identifierName(){return this.identifierNameForToken(this.currentToken())}identifierNameForToken(D){return this.code.slice(D.start,D.end)}rawCodeForToken(D){return this.code.slice(D.start,D.end)}stringValueAtIndex(D){return this.stringValueForToken(this.tokens[D])}stringValue(){return this.stringValueForToken(this.currentToken())}stringValueForToken(D){return this.code.slice(D.start+1,D.end-1)}matches1AtIndex(D,Z){return this.tokens[D].type===Z}matches2AtIndex(D,Z,Q){return this.tokens[D].type===Z&&this.tokens[D+1].type===Q}matches3AtIndex(D,Z,Q,Y){return this.tokens[D].type===Z&&this.tokens[D+1].type===Q&&this.tokens[D+2].type===Y}matches1(D){return this.tokens[this.tokenIndex].type===D}matches2(D,Z){return this.tokens[this.tokenIndex].type===D&&this.tokens[this.tokenIndex+1].type===Z}matches3(D,Z,Q){return this.tokens[this.tokenIndex].type===D&&this.tokens[this.tokenIndex+1].type===Z&&this.tokens[this.tokenIndex+2].type===Q}matches4(D,Z,Q,Y){return this.tokens[this.tokenIndex].type===D&&this.tokens[this.tokenIndex+1].type===Z&&this.tokens[this.tokenIndex+2].type===Q&&this.tokens[this.tokenIndex+3].type===Y}matches5(D,Z,Q,Y,J){return this.tokens[this.tokenIndex].type===D&&this.tokens[this.tokenIndex+1].type===Z&&this.tokens[this.tokenIndex+2].type===Q&&this.tokens[this.tokenIndex+3].type===Y&&this.tokens[this.tokenIndex+4].type===J}matchesContextual(D){return this.matchesContextualAtIndex(this.tokenIndex,D)}matchesContextIdAndLabel(D,Z){return this.matches1(D)&&this.currentToken().contextId===Z}previousWhitespaceAndComments(){let D=this.code.slice(this.tokenIndex>0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex].start:this.code.length);if(this.isFlowEnabled)D=D.replace(/@flow/g,"");return D}replaceToken(D){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=D,this.appendTokenSuffix(),this.tokenIndex++}replaceTokenTrimmingLeftWhitespace(D){this.resultCode+=this.previousWhitespaceAndComments().replace(/[^\r\n]/g,""),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=D,this.appendTokenSuffix(),this.tokenIndex++}removeInitialToken(){this.replaceToken("")}removeToken(){this.replaceTokenTrimmingLeftWhitespace("")}removeBalancedCode(){let D=0;while(!this.isAtEnd()){if(this.matches1(uY.TokenType.braceL))D++;else if(this.matches1(uY.TokenType.braceR)){if(D===0)return;D--}this.removeToken()}}copyExpectedToken(D){if(this.tokens[this.tokenIndex].type!==D)throw new Error(`Expected token ${D}`);this.copyToken()}copyToken(){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}copyTokenWithPrefix(D){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultCode+=D,this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}appendTokenPrefix(){let D=this.currentToken();if(D.numNullishCoalesceStarts||D.isOptionalChainStart)D.isAsyncOperation=Ea.default.call(void 0,this);if(this.disableESTransforms)return;if(D.numNullishCoalesceStarts)for(let Z=0;Z<D.numNullishCoalesceStarts;Z++){if(D.isAsyncOperation)this.resultCode+="await ",this.resultCode+=this.helperManager.getHelperName("asyncNullishCoalesce");else this.resultCode+=this.helperManager.getHelperName("nullishCoalesce");this.resultCode+="("}if(D.isOptionalChainStart){if(D.isAsyncOperation)this.resultCode+="await ";if(this.tokenIndex>0&&this.tokenAtRelativeIndex(-1).type===uY.TokenType._delete)if(D.isAsyncOperation)this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete");else this.resultCode+=this.helperManager.getHelperName("optionalChainDelete");else if(D.isAsyncOperation)this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain");else this.resultCode+=this.helperManager.getHelperName("optionalChain");this.resultCode+="(["}}appendTokenSuffix(){let D=this.currentToken();if(D.isOptionalChainEnd&&!this.disableESTransforms)this.resultCode+="])";if(D.numNullishCoalesceEnds&&!this.disableESTransforms)for(let Z=0;Z<D.numNullishCoalesceEnds;Z++)this.resultCode+="))"}appendCode(D){this.resultCode+=D}currentToken(){return this.tokens[this.tokenIndex]}currentTokenCode(){let D=this.currentToken();return this.code.slice(D.start,D.end)}tokenAtRelativeIndex(D){return this.tokens[this.tokenIndex+D]}currentIndex(){return this.tokenIndex}nextToken(){if(this.tokenIndex===this.tokens.length)throw new Error("Unexpectedly reached end of input.");this.tokenIndex++}previousToken(){this.tokenIndex--}finish(){if(this.tokenIndex!==this.tokens.length)throw new Error("Tried to finish processing tokens before reaching the end.");return this.resultCode+=this.previousWhitespaceAndComments(),{code:this.resultCode,mappings:this.resultMappings}}isAtEnd(){return this.tokenIndex===this.tokens.length}}CK.default=K3});var IL=M((MK)=>{Object.defineProperty(MK,"__esModule",{value:!0});var RL=S5(),F1=V1();function wa(D,Z,Q,Y){let J=Z.snapshot(),q=La(Z),B=[],H=[],V=[],K=null,G=[],W=[],O=Z.currentToken().contextId;if(O==null)throw new Error("Expected non-null class context ID on class open-brace.");Z.nextToken();while(!Z.matchesContextIdAndLabel(F1.TokenType.braceR,O))if(Z.matchesContextual(RL.ContextualKeyword._constructor)&&!Z.currentToken().isType)({constructorInitializerStatements:B,constructorInsertPos:K}=ML(Z));else if(Z.matches1(F1.TokenType.semi)){if(!Y)W.push({start:Z.currentIndex(),end:Z.currentIndex()+1});Z.nextToken()}else if(Z.currentToken().isType)Z.nextToken();else{let F=Z.currentIndex(),E=!1,L=!1,j=!1;while(vY(Z.currentToken())){if(Z.matches1(F1.TokenType._static))E=!0;if(Z.matches1(F1.TokenType.hash))L=!0;if(Z.matches1(F1.TokenType._declare)||Z.matches1(F1.TokenType._abstract))j=!0;Z.nextToken()}if(E&&Z.matches1(F1.TokenType.braceL)){RK(Z,O);continue}if(L){RK(Z,O);continue}if(Z.matchesContextual(RL.ContextualKeyword._constructor)&&!Z.currentToken().isType){({constructorInitializerStatements:B,constructorInsertPos:K}=ML(Z));continue}let P=Z.currentIndex();if(Ca(Z),Z.matches1(F1.TokenType.lessThan)||Z.matches1(F1.TokenType.parenL)){RK(Z,O);continue}while(Z.currentToken().isType)Z.nextToken();if(Z.matches1(F1.TokenType.eq)){let u=Z.currentIndex(),U=Z.currentToken().rhsEndIndex;if(U==null)throw new Error("Expected rhsEndIndex on class field assignment.");Z.nextToken();while(Z.currentIndex()<U)D.processToken();let X;if(E)X=Q.claimFreeName("__initStatic"),V.push(X);else X=Q.claimFreeName("__init"),H.push(X);G.push({initializerName:X,equalsIndex:u,start:P,end:Z.currentIndex()})}else if(!Y||j)W.push({start:F,end:Z.currentIndex()})}if(Z.restoreToSnapshot(J),Y)return{headerInfo:q,constructorInitializerStatements:B,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:K,fields:[],rangesToRemove:W};else return{headerInfo:q,constructorInitializerStatements:B,instanceInitializerNames:H,staticInitializerNames:V,constructorInsertPos:K,fields:G,rangesToRemove:W}}MK.default=wa;function RK(D,Z){D.nextToken();while(D.currentToken().contextId!==Z)D.nextToken();while(vY(D.tokenAtRelativeIndex(-1)))D.previousToken()}function La(D){let Z=D.currentToken(),Q=Z.contextId;if(Q==null)throw new Error("Expected context ID on class token.");let Y=Z.isExpression;if(Y==null)throw new Error("Expected isExpression on class token.");let J=null,q=!1;if(D.nextToken(),D.matches1(F1.TokenType.name))J=D.identifierName();while(!D.matchesContextIdAndLabel(F1.TokenType.braceL,Q)){if(D.matches1(F1.TokenType._extends)&&!D.currentToken().isType)q=!0;D.nextToken()}return{isExpression:Y,className:J,hasSuperclass:q}}function ML(D){let Z=[];D.nextToken();let Q=D.currentToken().contextId;if(Q==null)throw new Error("Expected context ID on open-paren starting constructor params.");while(!D.matchesContextIdAndLabel(F1.TokenType.parenR,Q))if(D.currentToken().contextId===Q){if(D.nextToken(),vY(D.currentToken())){D.nextToken();while(vY(D.currentToken()))D.nextToken();let q=D.currentToken();if(q.type!==F1.TokenType.name)throw new Error("Expected identifier after access modifiers in constructor arg.");let B=D.identifierNameForToken(q);Z.push(`this.${B} = ${B}`)}}else D.nextToken();D.nextToken();while(D.currentToken().isType)D.nextToken();let Y=D.currentIndex(),J=!1;while(!D.matchesContextIdAndLabel(F1.TokenType.braceR,Q)){if(!J&&D.matches2(F1.TokenType._super,F1.TokenType.parenL)){D.nextToken();let q=D.currentToken().contextId;if(q==null)throw new Error("Expected a context ID on the super call");while(!D.matchesContextIdAndLabel(F1.TokenType.parenR,q))D.nextToken();Y=D.currentIndex(),J=!0}D.nextToken()}return D.nextToken(),{constructorInitializerStatements:Z,constructorInsertPos:Y}}function vY(D){return[F1.TokenType._async,F1.TokenType._get,F1.TokenType._set,F1.TokenType.plus,F1.TokenType.minus,F1.TokenType._readonly,F1.TokenType._static,F1.TokenType._public,F1.TokenType._private,F1.TokenType._protected,F1.TokenType._override,F1.TokenType._abstract,F1.TokenType.star,F1.TokenType._declare,F1.TokenType.hash].includes(D.type)}function Ca(D){if(D.matches1(F1.TokenType.bracketL)){let Q=D.currentToken().contextId;if(Q==null)throw new Error("Expected class context ID on computed name open bracket.");while(!D.matchesContextIdAndLabel(F1.TokenType.bracketR,Q))D.nextToken();D.nextToken()}else D.nextToken()}});var jK=M((IK)=>{Object.defineProperty(IK,"__esModule",{value:!0});var jL=V1();function Ra(D){if(D.removeInitialToken(),D.removeToken(),D.removeToken(),D.removeToken(),D.matches1(jL.TokenType.parenL))D.removeToken(),D.removeToken(),D.removeToken();else while(D.matches1(jL.TokenType.dot))D.removeToken(),D.removeToken()}IK.default=Ra});var NK=M((TY)=>{Object.defineProperty(TY,"__esModule",{value:!0});var Ma=A5(),Ia=V1(),ja={typeDeclarations:new Set,valueDeclarations:new Set};TY.EMPTY_DECLARATION_INFO=ja;function Na(D){let Z=new Set,Q=new Set;for(let Y=0;Y<D.tokens.length;Y++){let J=D.tokens[Y];if(J.type===Ia.TokenType.name&&Ma.isTopLevelDeclaration.call(void 0,J))if(J.isType)Z.add(D.identifierNameForToken(J));else Q.add(D.identifierNameForToken(J))}return{typeDeclarations:Z,valueDeclarations:Q}}TY.default=Na});var SK=M((PK)=>{Object.defineProperty(PK,"__esModule",{value:!0});var Pa=S5(),NL=V1();function Sa(D){let Z=D.currentIndex();while(!D.matches1AtIndex(Z,NL.TokenType.braceR))Z++;return D.matchesContextualAtIndex(Z+1,Pa.ContextualKeyword._from)&&D.matches1AtIndex(Z+2,NL.TokenType.string)}PK.default=Sa});var vK=M((uK)=>{Object.defineProperty(uK,"__esModule",{value:!0});var ua=S5(),bY=V1();function va(D){if(D.matches2(bY.TokenType._with,bY.TokenType.braceL)||D.matches2(bY.TokenType.name,bY.TokenType.braceL)&&D.matchesContextual(ua.ContextualKeyword._assert))D.removeToken(),D.removeToken(),D.removeBalancedCode(),D.removeToken()}uK.removeMaybeImportAttributes=va});var bK=M((TK)=>{Object.defineProperty(TK,"__esModule",{value:!0});var PL=V1();function Ta(D,Z,Q,Y){if(!D||Z)return!1;let J=Q.currentToken();if(J.rhsEndIndex==null)throw new Error("Expected non-null rhsEndIndex on export token.");let q=J.rhsEndIndex-Q.currentIndex();if(q!==3&&!(q===4&&Q.matches1AtIndex(J.rhsEndIndex-1,PL.TokenType.semi)))return!1;let B=Q.tokenAtRelativeIndex(2);if(B.type!==PL.TokenType.name)return!1;let H=Q.identifierNameForToken(B);return Y.typeDeclarations.has(H)&&!Y.valueDeclarations.has(H)}TK.default=Ta});var uL=M((hK)=>{Object.defineProperty(hK,"__esModule",{value:!0});function W6(D){return D&&D.__esModule?D:{default:D}}var hY=A5(),Z7=S5(),p=V1(),ba=jK(),ha=W6(ba),SL=NK(),_a=W6(SL),ka=l4(),ya=W6(ka),fa=SK(),xa=W6(fa),_Y=vK(),ma=bK(),ga=W6(ma),ca=t8(),da=W6(ca);class G3 extends da.default{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(D,Z,Q,Y,J,q,B,H,V,K,G,W){super();this.rootTransformer=D,this.tokens=Z,this.importProcessor=Q,this.nameManager=Y,this.helperManager=J,this.reactHotLoaderTransformer=q,this.enableLegacyBabel5ModuleInterop=B,this.enableLegacyTypeScriptModuleInterop=H,this.isTypeScriptTransformEnabled=V,this.isFlowTransformEnabled=K,this.preserveDynamicImport=G,this.keepUnusedImports=W,G3.prototype.__init.call(this),G3.prototype.__init2.call(this),G3.prototype.__init3.call(this),this.declarationInfo=V?_a.default.call(void 0,Z):SL.EMPTY_DECLARATION_INFO}getPrefixCode(){let D="";if(this.hadExport)D+='Object.defineProperty(exports, "__esModule", {value: true});';return D}getSuffixCode(){if(this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport)return`
|
|
150
|
+
module.exports = exports.default;
|
|
151
|
+
`;return""}process(){if(this.tokens.matches3(p.TokenType._import,p.TokenType.name,p.TokenType.eq))return this.processImportEquals();if(this.tokens.matches1(p.TokenType._import))return this.processImport(),!0;if(this.tokens.matches2(p.TokenType._export,p.TokenType.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches1(p.TokenType._export)&&!this.tokens.currentToken().isType)return this.hadExport=!0,this.processExport();if(this.tokens.matches2(p.TokenType.name,p.TokenType.postIncDec)){if(this.processPostIncDec())return!0}if(this.tokens.matches1(p.TokenType.name)||this.tokens.matches1(p.TokenType.jsxName))return this.processIdentifier();if(this.tokens.matches1(p.TokenType.eq))return this.processAssignment();if(this.tokens.matches1(p.TokenType.assign))return this.processComplexAssignment();if(this.tokens.matches1(p.TokenType.preIncDec))return this.processPreIncDec();return!1}processImportEquals(){let D=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(this.importProcessor.shouldAutomaticallyElideImportedName(D))ha.default.call(void 0,this.tokens);else this.tokens.replaceToken("const");return!0}processImport(){if(this.tokens.matches2(p.TokenType._import,p.TokenType.parenL)){if(this.preserveDynamicImport){this.tokens.copyToken();return}let Z=this.enableLegacyTypeScriptModuleInterop?"":`${this.helperManager.getHelperName("interopRequireWildcard")}(`;this.tokens.replaceToken(`Promise.resolve().then(() => ${Z}require`);let Q=this.tokens.currentToken().contextId;if(Q==null)throw new Error("Expected context ID on dynamic import invocation.");this.tokens.copyToken();while(!this.tokens.matchesContextIdAndLabel(p.TokenType.parenR,Q))this.rootTransformer.processToken();this.tokens.replaceToken(Z?")))":"))");return}if(this.removeImportAndDetectIfShouldElide())this.tokens.removeToken();else{let Z=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(Z)),this.tokens.appendCode(this.importProcessor.claimImportCode(Z))}if(_Y.removeMaybeImportAttributes.call(void 0,this.tokens),this.tokens.matches1(p.TokenType.semi))this.tokens.removeToken()}removeImportAndDetectIfShouldElide(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(Z7.ContextualKeyword._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,p.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Z7.ContextualKeyword._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(p.TokenType.name)||this.tokens.matches1(p.TokenType.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(p.TokenType.string))return!1;let D=!1,Z=!1;while(!this.tokens.matches1(p.TokenType.string)){if(!D&&this.tokens.matches1(p.TokenType.braceL)||this.tokens.matches1(p.TokenType.comma)){if(this.tokens.removeToken(),!this.tokens.matches1(p.TokenType.braceR))Z=!0;if(this.tokens.matches2(p.TokenType.name,p.TokenType.comma)||this.tokens.matches2(p.TokenType.name,p.TokenType.braceR)||this.tokens.matches4(p.TokenType.name,p.TokenType.name,p.TokenType.name,p.TokenType.comma)||this.tokens.matches4(p.TokenType.name,p.TokenType.name,p.TokenType.name,p.TokenType.braceR))D=!0}this.tokens.removeToken()}if(this.keepUnusedImports)return!1;if(this.isTypeScriptTransformEnabled)return!D;else if(this.isFlowTransformEnabled)return Z&&!D;else return!1}removeRemainingImport(){while(!this.tokens.matches1(p.TokenType.string))this.tokens.removeToken()}processIdentifier(){let D=this.tokens.currentToken();if(D.shadowsGlobal)return!1;if(D.identifierRole===hY.IdentifierRole.ObjectShorthand)return this.processObjectShorthand();if(D.identifierRole!==hY.IdentifierRole.Access)return!1;let Z=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(D));if(!Z)return!1;let Q=this.tokens.currentIndex()+1;while(Q<this.tokens.tokens.length&&this.tokens.tokens[Q].type===p.TokenType.parenR)Q++;if(this.tokens.tokens[Q].type===p.TokenType.parenL)if(this.tokens.tokenAtRelativeIndex(1).type===p.TokenType.parenL&&this.tokens.tokenAtRelativeIndex(-1).type!==p.TokenType._new)this.tokens.replaceToken(`${Z}.call(void 0, `),this.tokens.removeToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(p.TokenType.parenR);else this.tokens.replaceToken(`(0, ${Z})`);else this.tokens.replaceToken(Z);return!0}processObjectShorthand(){let D=this.tokens.identifierName(),Z=this.importProcessor.getIdentifierReplacement(D);if(!Z)return!1;return this.tokens.replaceToken(`${D}: ${Z}`),!0}processExport(){if(this.tokens.matches2(p.TokenType._export,p.TokenType._enum)||this.tokens.matches3(p.TokenType._export,p.TokenType._const,p.TokenType._enum))return this.hadNamedExport=!0,!1;if(this.tokens.matches2(p.TokenType._export,p.TokenType._default)){if(this.tokens.matches3(p.TokenType._export,p.TokenType._default,p.TokenType._enum))return this.hadDefaultExport=!0,!1;return this.processExportDefault(),!0}else if(this.tokens.matches2(p.TokenType._export,p.TokenType.braceL))return this.processExportBindings(),!0;else if(this.tokens.matches2(p.TokenType._export,p.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Z7.ContextualKeyword._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(p.TokenType.braceL)){while(!this.tokens.matches1(p.TokenType.braceR))this.tokens.removeToken();this.tokens.removeToken()}else if(this.tokens.removeToken(),this.tokens.matches1(p.TokenType._as))this.tokens.removeToken(),this.tokens.removeToken();if(this.tokens.matchesContextual(Z7.ContextualKeyword._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,p.TokenType.string))this.tokens.removeToken(),this.tokens.removeToken(),_Y.removeMaybeImportAttributes.call(void 0,this.tokens);return!0}if(this.hadNamedExport=!0,this.tokens.matches2(p.TokenType._export,p.TokenType._var)||this.tokens.matches2(p.TokenType._export,p.TokenType._let)||this.tokens.matches2(p.TokenType._export,p.TokenType._const))return this.processExportVar(),!0;else if(this.tokens.matches2(p.TokenType._export,p.TokenType._function)||this.tokens.matches3(p.TokenType._export,p.TokenType.name,p.TokenType._function))return this.processExportFunction(),!0;else if(this.tokens.matches2(p.TokenType._export,p.TokenType._class)||this.tokens.matches3(p.TokenType._export,p.TokenType._abstract,p.TokenType._class)||this.tokens.matches2(p.TokenType._export,p.TokenType.at))return this.processExportClass(),!0;else if(this.tokens.matches2(p.TokenType._export,p.TokenType.star))return this.processExportStar(),!0;else throw new Error("Unrecognized export syntax.")}processAssignment(){let D=this.tokens.currentIndex(),Z=this.tokens.tokens[D-1];if(Z.isType||Z.type!==p.TokenType.name)return!1;if(Z.shadowsGlobal)return!1;if(D>=2&&this.tokens.matches1AtIndex(D-2,p.TokenType.dot))return!1;if(D>=2&&[p.TokenType._var,p.TokenType._let,p.TokenType._const].includes(this.tokens.tokens[D-2].type))return!1;let Q=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(Z));if(!Q)return!1;return this.tokens.copyToken(),this.tokens.appendCode(` ${Q} =`),!0}processComplexAssignment(){let D=this.tokens.currentIndex(),Z=this.tokens.tokens[D-1];if(Z.type!==p.TokenType.name)return!1;if(Z.shadowsGlobal)return!1;if(D>=2&&this.tokens.matches1AtIndex(D-2,p.TokenType.dot))return!1;let Q=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(Z));if(!Q)return!1;return this.tokens.appendCode(` = ${Q}`),this.tokens.copyToken(),!0}processPreIncDec(){let D=this.tokens.currentIndex(),Z=this.tokens.tokens[D+1];if(Z.type!==p.TokenType.name)return!1;if(Z.shadowsGlobal)return!1;if(D+2<this.tokens.tokens.length&&(this.tokens.matches1AtIndex(D+2,p.TokenType.dot)||this.tokens.matches1AtIndex(D+2,p.TokenType.bracketL)||this.tokens.matches1AtIndex(D+2,p.TokenType.parenL)))return!1;let Q=this.tokens.identifierNameForToken(Z),Y=this.importProcessor.resolveExportBinding(Q);if(!Y)return!1;return this.tokens.appendCode(`${Y} = `),this.tokens.copyToken(),!0}processPostIncDec(){let D=this.tokens.currentIndex(),Z=this.tokens.tokens[D],Q=this.tokens.tokens[D+1];if(Z.type!==p.TokenType.name)return!1;if(Z.shadowsGlobal)return!1;if(D>=1&&this.tokens.matches1AtIndex(D-1,p.TokenType.dot))return!1;let Y=this.tokens.identifierNameForToken(Z),J=this.importProcessor.resolveExportBinding(Y);if(!J)return!1;let q=this.tokens.rawCodeForToken(Q),B=this.importProcessor.getIdentifierReplacement(Y)||Y;if(q==="++")this.tokens.replaceToken(`(${B} = ${J} = ${B} + 1, ${B} - 1)`);else if(q==="--")this.tokens.replaceToken(`(${B} = ${J} = ${B} - 1, ${B} + 1)`);else throw new Error(`Unexpected operator: ${q}`);return this.tokens.removeToken(),!0}processExportDefault(){let D=!0;if(this.tokens.matches4(p.TokenType._export,p.TokenType._default,p.TokenType._function,p.TokenType.name)||this.tokens.matches5(p.TokenType._export,p.TokenType._default,p.TokenType.name,p.TokenType._function,p.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,Z7.ContextualKeyword._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();let Z=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${Z};`)}else if(this.tokens.matches4(p.TokenType._export,p.TokenType._default,p.TokenType._class,p.TokenType.name)||this.tokens.matches5(p.TokenType._export,p.TokenType._default,p.TokenType._abstract,p.TokenType._class,p.TokenType.name)||this.tokens.matches3(p.TokenType._export,p.TokenType._default,p.TokenType.at)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(p.TokenType._abstract))this.tokens.removeToken();let Z=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${Z};`)}else if(ga.default.call(void 0,this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))D=!1,this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){let Z=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${Z}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${Z} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(Z)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =");if(D)this.hadDefaultExport=!0}copyDecorators(){while(this.tokens.matches1(p.TokenType.at))if(this.tokens.copyToken(),this.tokens.matches1(p.TokenType.parenL))this.tokens.copyExpectedToken(p.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(p.TokenType.parenR);else{this.tokens.copyExpectedToken(p.TokenType.name);while(this.tokens.matches1(p.TokenType.dot))this.tokens.copyExpectedToken(p.TokenType.dot),this.tokens.copyExpectedToken(p.TokenType.name);if(this.tokens.matches1(p.TokenType.parenL))this.tokens.copyExpectedToken(p.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(p.TokenType.parenR)}}processExportVar(){if(this.isSimpleExportVar())this.processSimpleExportVar();else this.processComplexExportVar()}isSimpleExportVar(){let D=this.tokens.currentIndex();if(D++,D++,!this.tokens.matches1AtIndex(D,p.TokenType.name))return!1;D++;while(D<this.tokens.tokens.length&&this.tokens.tokens[D].isType)D++;if(!this.tokens.matches1AtIndex(D,p.TokenType.eq))return!1;return!0}processSimpleExportVar(){this.tokens.removeInitialToken(),this.tokens.copyToken();let D=this.tokens.identifierName();while(!this.tokens.matches1(p.TokenType.eq))this.rootTransformer.processToken();let Z=this.tokens.currentToken().rhsEndIndex;if(Z==null)throw new Error("Expected = token with an end index.");while(this.tokens.currentIndex()<Z)this.rootTransformer.processToken();this.tokens.appendCode(`; exports.${D} = ${D}`)}processComplexExportVar(){this.tokens.removeInitialToken(),this.tokens.removeToken();let D=this.tokens.matches1(p.TokenType.braceL);if(D)this.tokens.appendCode("(");let Z=0;while(!0)if(this.tokens.matches1(p.TokenType.braceL)||this.tokens.matches1(p.TokenType.dollarBraceL)||this.tokens.matches1(p.TokenType.bracketL))Z++,this.tokens.copyToken();else if(this.tokens.matches1(p.TokenType.braceR)||this.tokens.matches1(p.TokenType.bracketR))Z--,this.tokens.copyToken();else if(Z===0&&!this.tokens.matches1(p.TokenType.name)&&!this.tokens.currentToken().isType)break;else if(this.tokens.matches1(p.TokenType.eq)){let Q=this.tokens.currentToken().rhsEndIndex;if(Q==null)throw new Error("Expected = token with an end index.");while(this.tokens.currentIndex()<Q)this.rootTransformer.processToken()}else{let Q=this.tokens.currentToken();if(hY.isDeclaration.call(void 0,Q)){let Y=this.tokens.identifierName(),J=this.importProcessor.getIdentifierReplacement(Y);if(J===null)throw new Error(`Expected a replacement for ${Y} in \`export var\` syntax.`);if(hY.isObjectShorthandDeclaration.call(void 0,Q))J=`${Y}: ${J}`;this.tokens.replaceToken(J)}else this.rootTransformer.processToken()}if(D){let Q=this.tokens.currentToken().rhsEndIndex;if(Q==null)throw new Error("Expected = token with an end index.");while(this.tokens.currentIndex()<Q)this.rootTransformer.processToken();this.tokens.appendCode(")")}}processExportFunction(){this.tokens.replaceToken("");let D=this.processNamedFunction();this.tokens.appendCode(` exports.${D} = ${D};`)}processNamedFunction(){if(this.tokens.matches1(p.TokenType._function))this.tokens.copyToken();else if(this.tokens.matches2(p.TokenType.name,p.TokenType._function)){if(!this.tokens.matchesContextual(Z7.ContextualKeyword._async))throw new Error("Expected async keyword in function export.");this.tokens.copyToken(),this.tokens.copyToken()}if(this.tokens.matches1(p.TokenType.star))this.tokens.copyToken();if(!this.tokens.matches1(p.TokenType.name))throw new Error("Expected identifier for exported function name.");let D=this.tokens.identifierName();if(this.tokens.copyToken(),this.tokens.currentToken().isType){this.tokens.removeInitialToken();while(this.tokens.currentToken().isType)this.tokens.removeToken()}return this.tokens.copyExpectedToken(p.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(p.TokenType.parenR),this.rootTransformer.processPossibleTypeRange(),this.tokens.copyExpectedToken(p.TokenType.braceL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(p.TokenType.braceR),D}processExportClass(){if(this.tokens.removeInitialToken(),this.copyDecorators(),this.tokens.matches1(p.TokenType._abstract))this.tokens.removeToken();let D=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.${D} = ${D};`)}processExportBindings(){this.tokens.removeInitialToken(),this.tokens.removeToken();let D=xa.default.call(void 0,this.tokens),Z=[];while(!0){if(this.tokens.matches1(p.TokenType.braceR)){this.tokens.removeToken();break}let Q=ya.default.call(void 0,this.tokens);while(this.tokens.currentIndex()<Q.endIndex)this.tokens.removeToken();if(!(Q.isType||!D&&this.shouldElideExportedIdentifier(Q.leftName))){let J=Q.rightName;if(J==="default")this.hadDefaultExport=!0;else this.hadNamedExport=!0;let q=Q.leftName,B=this.importProcessor.getIdentifierReplacement(q);Z.push(`exports.${J} = ${B||q};`)}if(this.tokens.matches1(p.TokenType.braceR)){this.tokens.removeToken();break}if(this.tokens.matches2(p.TokenType.comma,p.TokenType.braceR)){this.tokens.removeToken(),this.tokens.removeToken();break}else if(this.tokens.matches1(p.TokenType.comma))this.tokens.removeToken();else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.currentToken())}`)}if(this.tokens.matchesContextual(Z7.ContextualKeyword._from)){this.tokens.removeToken();let Q=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(Q)),_Y.removeMaybeImportAttributes.call(void 0,this.tokens)}else this.tokens.appendCode(Z.join(" "));if(this.tokens.matches1(p.TokenType.semi))this.tokens.removeToken()}processExportStar(){this.tokens.removeInitialToken();while(!this.tokens.matches1(p.TokenType.string))this.tokens.removeToken();let D=this.tokens.stringValue();if(this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(D)),_Y.removeMaybeImportAttributes.call(void 0,this.tokens),this.tokens.matches1(p.TokenType.semi))this.tokens.removeToken()}shouldElideExportedIdentifier(D){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.declarationInfo.valueDeclarations.has(D)}}hK.default=G3});var hL=M((kK)=>{Object.defineProperty(kK,"__esModule",{value:!0});function O6(D){return D&&D.__esModule?D:{default:D}}var C9=S5(),P0=V1(),la=jK(),pa=O6(la),TL=NK(),ia=O6(TL),na=l4(),vL=O6(na),ra=HV(),sa=SK(),aa=O6(sa),_K=vK(),ta=bK(),oa=O6(ta),ea=t8(),Dt=O6(ea);class bL extends Dt.default{constructor(D,Z,Q,Y,J,q,B,H){super();this.tokens=D,this.nameManager=Z,this.helperManager=Q,this.reactHotLoaderTransformer=Y,this.isTypeScriptTransformEnabled=J,this.isFlowTransformEnabled=q,this.keepUnusedImports=B,this.nonTypeIdentifiers=J&&!B?ra.getNonTypeIdentifiers.call(void 0,D,H):new Set,this.declarationInfo=J&&!B?ia.default.call(void 0,D):TL.EMPTY_DECLARATION_INFO,this.injectCreateRequireForImportRequire=Boolean(H.injectCreateRequireForImportRequire)}process(){if(this.tokens.matches3(P0.TokenType._import,P0.TokenType.name,P0.TokenType.eq))return this.processImportEquals();if(this.tokens.matches4(P0.TokenType._import,P0.TokenType.name,P0.TokenType.name,P0.TokenType.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,C9.ContextualKeyword._type)){this.tokens.removeInitialToken();for(let D=0;D<7;D++)this.tokens.removeToken();return!0}if(this.tokens.matches2(P0.TokenType._export,P0.TokenType.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches5(P0.TokenType._export,P0.TokenType._import,P0.TokenType.name,P0.TokenType.name,P0.TokenType.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,C9.ContextualKeyword._type)){this.tokens.removeInitialToken();for(let D=0;D<8;D++)this.tokens.removeToken();return!0}if(this.tokens.matches1(P0.TokenType._import))return this.processImport();if(this.tokens.matches2(P0.TokenType._export,P0.TokenType._default))return this.processExportDefault();if(this.tokens.matches2(P0.TokenType._export,P0.TokenType.braceL))return this.processNamedExports();if(this.tokens.matches2(P0.TokenType._export,P0.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,C9.ContextualKeyword._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(P0.TokenType.braceL)){while(!this.tokens.matches1(P0.TokenType.braceR))this.tokens.removeToken();this.tokens.removeToken()}else if(this.tokens.removeToken(),this.tokens.matches1(P0.TokenType._as))this.tokens.removeToken(),this.tokens.removeToken();if(this.tokens.matchesContextual(C9.ContextualKeyword._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,P0.TokenType.string))this.tokens.removeToken(),this.tokens.removeToken(),_K.removeMaybeImportAttributes.call(void 0,this.tokens);return!0}return!1}processImportEquals(){let D=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(this.shouldAutomaticallyElideImportedName(D))pa.default.call(void 0,this.tokens);else if(this.injectCreateRequireForImportRequire)this.tokens.replaceToken("const"),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.replaceToken(this.helperManager.getHelperName("require"));else this.tokens.replaceToken("const");return!0}processImport(){if(this.tokens.matches2(P0.TokenType._import,P0.TokenType.parenL))return!1;let D=this.tokens.snapshot();if(this.removeImportTypeBindings()){this.tokens.restoreToSnapshot(D);while(!this.tokens.matches1(P0.TokenType.string))this.tokens.removeToken();if(this.tokens.removeToken(),_K.removeMaybeImportAttributes.call(void 0,this.tokens),this.tokens.matches1(P0.TokenType.semi))this.tokens.removeToken()}return!0}removeImportTypeBindings(){if(this.tokens.copyExpectedToken(P0.TokenType._import),this.tokens.matchesContextual(C9.ContextualKeyword._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,P0.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,C9.ContextualKeyword._from))return!0;if(this.tokens.matches1(P0.TokenType.string))return this.tokens.copyToken(),!1;if(this.tokens.matchesContextual(C9.ContextualKeyword._module)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,C9.ContextualKeyword._from))this.tokens.copyToken();let D=!1,Z=!1,Q=!1;if(this.tokens.matches1(P0.TokenType.name)){if(this.shouldAutomaticallyElideImportedName(this.tokens.identifierName())){if(this.tokens.removeToken(),this.tokens.matches1(P0.TokenType.comma))this.tokens.removeToken()}else if(D=!0,this.tokens.copyToken(),this.tokens.matches1(P0.TokenType.comma))Q=!0,this.tokens.removeToken()}if(this.tokens.matches1(P0.TokenType.star))if(this.shouldAutomaticallyElideImportedName(this.tokens.identifierNameAtRelativeIndex(2)))this.tokens.removeToken(),this.tokens.removeToken(),this.tokens.removeToken();else{if(Q)this.tokens.appendCode(",");D=!0,this.tokens.copyExpectedToken(P0.TokenType.star),this.tokens.copyExpectedToken(P0.TokenType.name),this.tokens.copyExpectedToken(P0.TokenType.name)}else if(this.tokens.matches1(P0.TokenType.braceL)){if(Q)this.tokens.appendCode(",");this.tokens.copyToken();while(!this.tokens.matches1(P0.TokenType.braceR)){Z=!0;let Y=vL.default.call(void 0,this.tokens);if(Y.isType||this.shouldAutomaticallyElideImportedName(Y.rightName)){while(this.tokens.currentIndex()<Y.endIndex)this.tokens.removeToken();if(this.tokens.matches1(P0.TokenType.comma))this.tokens.removeToken()}else{D=!0;while(this.tokens.currentIndex()<Y.endIndex)this.tokens.copyToken();if(this.tokens.matches1(P0.TokenType.comma))this.tokens.copyToken()}}this.tokens.copyExpectedToken(P0.TokenType.braceR)}if(this.keepUnusedImports)return!1;if(this.isTypeScriptTransformEnabled)return!D;else if(this.isFlowTransformEnabled)return Z&&!D;else return!1}shouldAutomaticallyElideImportedName(D){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(D)}processExportDefault(){if(oa.default.call(void 0,this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))return this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken(),!0;if(!(this.tokens.matches4(P0.TokenType._export,P0.TokenType._default,P0.TokenType._function,P0.TokenType.name)||this.tokens.matches5(P0.TokenType._export,P0.TokenType._default,P0.TokenType.name,P0.TokenType._function,P0.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,C9.ContextualKeyword._async)||this.tokens.matches4(P0.TokenType._export,P0.TokenType._default,P0.TokenType._class,P0.TokenType.name)||this.tokens.matches5(P0.TokenType._export,P0.TokenType._default,P0.TokenType._abstract,P0.TokenType._class,P0.TokenType.name))&&this.reactHotLoaderTransformer){let Z=this.nameManager.claimFreeName("_default");return this.tokens.replaceToken(`let ${Z}; export`),this.tokens.copyToken(),this.tokens.appendCode(` ${Z} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(Z),!0}return!1}processNamedExports(){if(!this.isTypeScriptTransformEnabled)return!1;this.tokens.copyExpectedToken(P0.TokenType._export),this.tokens.copyExpectedToken(P0.TokenType.braceL);let D=aa.default.call(void 0,this.tokens),Z=!1;while(!this.tokens.matches1(P0.TokenType.braceR)){let Q=vL.default.call(void 0,this.tokens);if(Q.isType||!D&&this.shouldElideExportedName(Q.leftName)){while(this.tokens.currentIndex()<Q.endIndex)this.tokens.removeToken();if(this.tokens.matches1(P0.TokenType.comma))this.tokens.removeToken()}else{Z=!0;while(this.tokens.currentIndex()<Q.endIndex)this.tokens.copyToken();if(this.tokens.matches1(P0.TokenType.comma))this.tokens.copyToken()}}if(this.tokens.copyExpectedToken(P0.TokenType.braceR),!this.keepUnusedImports&&D&&!Z)this.tokens.removeToken(),this.tokens.removeToken(),_K.removeMaybeImportAttributes.call(void 0,this.tokens);return!0}shouldElideExportedName(D){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&this.declarationInfo.typeDeclarations.has(D)&&!this.declarationInfo.valueDeclarations.has(D)}}kK.default=bL});var yL=M((yK)=>{Object.defineProperty(yK,"__esModule",{value:!0});function Zt(D){return D&&D.__esModule?D:{default:D}}var _L=S5(),h8=V1(),Qt=t8(),Yt=Zt(Qt);class kL extends Yt.default{constructor(D,Z,Q){super();this.rootTransformer=D,this.tokens=Z,this.isImportsTransformEnabled=Q}process(){if(this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange())return!0;if(this.tokens.matches1(h8.TokenType._enum))return this.processEnum(),!0;if(this.tokens.matches2(h8.TokenType._export,h8.TokenType._enum))return this.processNamedExportEnum(),!0;if(this.tokens.matches3(h8.TokenType._export,h8.TokenType._default,h8.TokenType._enum))return this.processDefaultExportEnum(),!0;return!1}processNamedExportEnum(){if(this.isImportsTransformEnabled){this.tokens.removeInitialToken();let D=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.tokens.appendCode(` exports.${D} = ${D};`)}else this.tokens.copyToken(),this.processEnum()}processDefaultExportEnum(){this.tokens.removeInitialToken(),this.tokens.removeToken();let D=this.tokens.identifierNameAtRelativeIndex(1);if(this.processEnum(),this.isImportsTransformEnabled)this.tokens.appendCode(` exports.default = ${D};`);else this.tokens.appendCode(` export default ${D};`)}processEnum(){this.tokens.replaceToken("const"),this.tokens.copyExpectedToken(h8.TokenType.name);let D=!1;if(this.tokens.matchesContextual(_L.ContextualKeyword._of))this.tokens.removeToken(),D=this.tokens.matchesContextual(_L.ContextualKeyword._symbol),this.tokens.removeToken();let Z=this.tokens.matches3(h8.TokenType.braceL,h8.TokenType.name,h8.TokenType.eq);this.tokens.appendCode(' = require("flow-enums-runtime")');let Q=!D&&!Z;this.tokens.replaceTokenTrimmingLeftWhitespace(Q?".Mirrored([":"({");while(!this.tokens.matches1(h8.TokenType.braceR)){if(this.tokens.matches1(h8.TokenType.ellipsis)){this.tokens.removeToken();break}if(this.processEnumElement(D,Z),this.tokens.matches1(h8.TokenType.comma))this.tokens.copyToken()}this.tokens.replaceToken(Q?"]);":"});")}processEnumElement(D,Z){if(D){let Q=this.tokens.identifierName();this.tokens.copyToken(),this.tokens.appendCode(`: Symbol("${Q}")`)}else if(Z)this.tokens.copyToken(),this.tokens.replaceTokenTrimmingLeftWhitespace(":"),this.tokens.copyToken();else this.tokens.replaceToken(`"${this.tokens.identifierName()}"`)}}yK.default=kL});var fL=M((xK)=>{Object.defineProperty(xK,"__esModule",{value:!0});function Jt(D){return D&&D.__esModule?D:{default:D}}function qt(D){let Z=void 0,Q=D[0],Y=1;while(Y<D.length){let J=D[Y],q=D[Y+1];if(Y+=2,(J==="optionalAccess"||J==="optionalCall")&&Q==null)return;if(J==="access"||J==="optionalAccess")Z=Q,Q=q(Q);else if(J==="call"||J==="optionalCall")Q=q((...B)=>Q.call(Z,...B)),Z=void 0}return Q}var R9=V1(),Bt=t8(),Ht=Jt(Bt),kY="jest",Vt=["mock","unmock","enableAutomock","disableAutomock"];class fK extends Ht.default{__init(){this.hoistedFunctionNames=[]}constructor(D,Z,Q,Y){super();this.rootTransformer=D,this.tokens=Z,this.nameManager=Q,this.importProcessor=Y,fK.prototype.__init.call(this)}process(){if(this.tokens.currentToken().scopeDepth===0&&this.tokens.matches4(R9.TokenType.name,R9.TokenType.dot,R9.TokenType.name,R9.TokenType.parenL)&&this.tokens.identifierName()===kY){if(qt([this,"access",(D)=>D.importProcessor,"optionalAccess",(D)=>D.getGlobalNames,"call",(D)=>D(),"optionalAccess",(D)=>D.has,"call",(D)=>D(kY)]))return!1;return this.extractHoistedCalls()}return!1}getHoistedCode(){if(this.hoistedFunctionNames.length>0)return this.hoistedFunctionNames.map((D)=>`${D}();`).join("");return""}extractHoistedCalls(){this.tokens.removeToken();let D=!1;while(this.tokens.matches3(R9.TokenType.dot,R9.TokenType.name,R9.TokenType.parenL)){let Z=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(Vt.includes(Z)){let Y=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(Y),this.tokens.replaceToken(`function ${Y}(){${kY}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(R9.TokenType.parenR),this.tokens.appendCode(";}"),D=!1}else{if(D)this.tokens.copyToken();else this.tokens.replaceToken(`${kY}.`);this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(R9.TokenType.parenR),D=!0}}return!0}}xK.default=fK});var mL=M((mK)=>{Object.defineProperty(mK,"__esModule",{value:!0});function Kt(D){return D&&D.__esModule?D:{default:D}}var Gt=V1(),zt=t8(),Wt=Kt(zt);class xL extends Wt.default{constructor(D){super();this.tokens=D}process(){if(this.tokens.matches1(Gt.TokenType.num)){let D=this.tokens.currentTokenCode();if(D.includes("_"))return this.tokens.replaceToken(D.replace(/_/g,"")),!0}return!1}}mK.default=xL});var dL=M((gK)=>{Object.defineProperty(gK,"__esModule",{value:!0});function Ot(D){return D&&D.__esModule?D:{default:D}}var gL=V1(),Xt=t8(),Ft=Ot(Xt);class cL extends Ft.default{constructor(D,Z){super();this.tokens=D,this.nameManager=Z}process(){if(this.tokens.matches2(gL.TokenType._catch,gL.TokenType.braceL))return this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0;return!1}}gK.default=cL});var pL=M((cK)=>{Object.defineProperty(cK,"__esModule",{value:!0});function Ut(D){return D&&D.__esModule?D:{default:D}}var H8=V1(),At=t8(),$t=Ut(At);class lL extends $t.default{constructor(D,Z){super();this.tokens=D,this.nameManager=Z}process(){if(this.tokens.matches1(H8.TokenType.nullishCoalescing)){let Q=this.tokens.currentToken();if(this.tokens.tokens[Q.nullishStartIndex].isAsyncOperation)this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => (");else this.tokens.replaceTokenTrimmingLeftWhitespace(", () => (");return!0}if(this.tokens.matches1(H8.TokenType._delete)){if(this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0}let Z=this.tokens.currentToken().subscriptStartIndex;if(Z!=null&&this.tokens.tokens[Z].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==H8.TokenType._super){let Q=this.nameManager.claimFreeName("_"),Y;if(Z>0&&this.tokens.matches1AtIndex(Z-1,H8.TokenType._delete)&&this.isLastSubscriptInChain())Y=`${Q} => delete ${Q}`;else Y=`${Q} => ${Q}`;if(this.tokens.tokens[Z].isAsyncOperation)Y=`async ${Y}`;if(this.tokens.matches2(H8.TokenType.questionDot,H8.TokenType.parenL)||this.tokens.matches2(H8.TokenType.questionDot,H8.TokenType.lessThan)){if(this.justSkippedSuper())this.tokens.appendCode(".bind(this)");this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${Y}`)}else if(this.tokens.matches2(H8.TokenType.questionDot,H8.TokenType.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${Y}`);else if(this.tokens.matches1(H8.TokenType.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${Y}.`);else if(this.tokens.matches1(H8.TokenType.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${Y}.`);else if(this.tokens.matches1(H8.TokenType.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${Y}[`);else if(this.tokens.matches1(H8.TokenType.parenL)){if(this.justSkippedSuper())this.tokens.appendCode(".bind(this)");this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${Y}(`)}else throw new Error("Unexpected subscript operator in optional chain.");return!0}return!1}isLastSubscriptInChain(){let D=0;for(let Z=this.tokens.currentIndex()+1;;Z++){if(Z>=this.tokens.tokens.length)throw new Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[Z].isOptionalChainStart)D++;else if(this.tokens.tokens[Z].isOptionalChainEnd)D--;if(D<0)return!0;if(D===0&&this.tokens.tokens[Z].subscriptStartIndex!=null)return!1}}justSkippedSuper(){let D=0,Z=this.tokens.currentIndex()-1;while(!0){if(Z<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[Z].isOptionalChainStart)D--;else if(this.tokens.tokens[Z].isOptionalChainEnd)D++;if(D<0)return!1;if(D===0&&this.tokens.tokens[Z].subscriptStartIndex!=null)return this.tokens.tokens[Z-1].type===H8.TokenType._super;Z--}}}cK.default=lL});var rL=M((dK)=>{Object.defineProperty(dK,"__esModule",{value:!0});function Et(D){return D&&D.__esModule?D:{default:D}}var iL=A5(),k5=V1(),wt=t8(),Lt=Et(wt);class nL extends Lt.default{constructor(D,Z,Q,Y){super();this.rootTransformer=D,this.tokens=Z,this.importProcessor=Q,this.options=Y}process(){let D=this.tokens.currentIndex();if(this.tokens.identifierName()==="createReactClass"){let Z=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");if(Z)this.tokens.replaceToken(`(0, ${Z})`);else this.tokens.copyToken();return this.tryProcessCreateClassCall(D),!0}if(this.tokens.matches3(k5.TokenType.name,k5.TokenType.dot,k5.TokenType.name)&&this.tokens.identifierName()==="React"&&this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)==="createClass"){let Z=this.importProcessor?this.importProcessor.getIdentifierReplacement("React")||"React":"React";if(Z)this.tokens.replaceToken(Z),this.tokens.copyToken(),this.tokens.copyToken();else this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken();return this.tryProcessCreateClassCall(D),!0}return!1}tryProcessCreateClassCall(D){let Z=this.findDisplayName(D);if(!Z)return;if(this.classNeedsDisplayName())this.tokens.copyExpectedToken(k5.TokenType.parenL),this.tokens.copyExpectedToken(k5.TokenType.braceL),this.tokens.appendCode(`displayName: '${Z}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(k5.TokenType.braceR),this.tokens.copyExpectedToken(k5.TokenType.parenR)}findDisplayName(D){if(D<2)return null;if(this.tokens.matches2AtIndex(D-2,k5.TokenType.name,k5.TokenType.eq))return this.tokens.identifierNameAtIndex(D-2);if(D>=2&&this.tokens.tokens[D-2].identifierRole===iL.IdentifierRole.ObjectKey)return this.tokens.identifierNameAtIndex(D-2);if(this.tokens.matches2AtIndex(D-2,k5.TokenType._export,k5.TokenType._default))return this.getDisplayNameFromFilename();return null}getDisplayNameFromFilename(){let Z=(this.options.filePath||"unknown").split("/"),Q=Z[Z.length-1],Y=Q.lastIndexOf("."),J=Y===-1?Q:Q.slice(0,Y);if(J==="index"&&Z[Z.length-2])return Z[Z.length-2];else return J}classNeedsDisplayName(){let D=this.tokens.currentIndex();if(!this.tokens.matches2(k5.TokenType.parenL,k5.TokenType.braceL))return!1;let Z=D+1,Q=this.tokens.tokens[Z].contextId;if(Q==null)throw new Error("Expected non-null context ID on object open-brace.");for(;D<this.tokens.tokens.length;D++){let Y=this.tokens.tokens[D];if(Y.type===k5.TokenType.braceR&&Y.contextId===Q){D++;break}if(this.tokens.identifierNameAtIndex(D)==="displayName"&&this.tokens.tokens[D].identifierRole===iL.IdentifierRole.ObjectKey&&Y.contextId===Q)return!1}if(D===this.tokens.tokens.length)throw new Error("Unexpected end of input when processing React class.");return this.tokens.matches1AtIndex(D,k5.TokenType.parenR)||this.tokens.matches2AtIndex(D,k5.TokenType.comma,k5.TokenType.parenR)}}dK.default=nL});var aL=M((pK)=>{Object.defineProperty(pK,"__esModule",{value:!0});function Ct(D){return D&&D.__esModule?D:{default:D}}var sL=A5(),Rt=t8(),Mt=Ct(Rt);class lK extends Mt.default{__init(){this.extractedDefaultExportName=null}constructor(D,Z){super();this.tokens=D,this.filePath=Z,lK.prototype.__init.call(this)}setExtractedDefaultExportName(D){this.extractedDefaultExportName=D}getPrefixCode(){return`
|
|
152
|
+
(function () {
|
|
153
|
+
var enterModule = require('react-hot-loader').enterModule;
|
|
154
|
+
enterModule && enterModule(module);
|
|
155
|
+
})();`.replace(/\s+/g," ").trim()}getSuffixCode(){let D=new Set;for(let Q of this.tokens.tokens)if(!Q.isType&&sL.isTopLevelDeclaration.call(void 0,Q)&&Q.identifierRole!==sL.IdentifierRole.ImportDeclaration)D.add(this.tokens.identifierNameForToken(Q));let Z=Array.from(D).map((Q)=>({variableName:Q,uniqueLocalName:Q}));if(this.extractedDefaultExportName)Z.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"});return`
|
|
156
|
+
;(function () {
|
|
157
|
+
var reactHotLoader = require('react-hot-loader').default;
|
|
158
|
+
var leaveModule = require('react-hot-loader').leaveModule;
|
|
159
|
+
if (!reactHotLoader) {
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
${Z.map(({variableName:Q,uniqueLocalName:Y})=>` reactHotLoader.register(${Q}, "${Y}", ${JSON.stringify(this.filePath||"")});`).join(`
|
|
163
|
+
`)}
|
|
164
|
+
leaveModule(module);
|
|
165
|
+
})();`}process(){return!1}}pK.default=lK});var oL=M((iK)=>{Object.defineProperty(iK,"__esModule",{value:!0});var tL=o7(),It=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","enum","implements","interface","let","package","private","protected","public","static","await","false","null","true"]);function jt(D){if(D.length===0)return!1;if(!tL.IS_IDENTIFIER_START[D.charCodeAt(0)])return!1;for(let Z=1;Z<D.length;Z++)if(!tL.IS_IDENTIFIER_CHAR[D.charCodeAt(Z)])return!1;return!It.has(D)}iK.default=jt});var QC=M((nK)=>{Object.defineProperty(nK,"__esModule",{value:!0});function DC(D){return D&&D.__esModule?D:{default:D}}var u1=V1(),Nt=oL(),eL=DC(Nt),Pt=t8(),St=DC(Pt);class ZC extends St.default{constructor(D,Z,Q){super();this.rootTransformer=D,this.tokens=Z,this.isImportsTransformEnabled=Q}process(){if(this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange())return!0;if(this.tokens.matches1(u1.TokenType._public)||this.tokens.matches1(u1.TokenType._protected)||this.tokens.matches1(u1.TokenType._private)||this.tokens.matches1(u1.TokenType._abstract)||this.tokens.matches1(u1.TokenType._readonly)||this.tokens.matches1(u1.TokenType._override)||this.tokens.matches1(u1.TokenType.nonNullAssertion))return this.tokens.removeInitialToken(),!0;if(this.tokens.matches1(u1.TokenType._enum)||this.tokens.matches2(u1.TokenType._const,u1.TokenType._enum))return this.processEnum(),!0;if(this.tokens.matches2(u1.TokenType._export,u1.TokenType._enum)||this.tokens.matches3(u1.TokenType._export,u1.TokenType._const,u1.TokenType._enum))return this.processEnum(!0),!0;return!1}processEnum(D=!1){this.tokens.removeInitialToken();while(this.tokens.matches1(u1.TokenType._const)||this.tokens.matches1(u1.TokenType._enum))this.tokens.removeToken();let Z=this.tokens.identifierName();if(this.tokens.removeToken(),D&&!this.isImportsTransformEnabled)this.tokens.appendCode("export ");if(this.tokens.appendCode(`var ${Z}; (function (${Z})`),this.tokens.copyExpectedToken(u1.TokenType.braceL),this.processEnumBody(Z),this.tokens.copyExpectedToken(u1.TokenType.braceR),D&&this.isImportsTransformEnabled)this.tokens.appendCode(`)(${Z} || (exports.${Z} = ${Z} = {}));`);else this.tokens.appendCode(`)(${Z} || (${Z} = {}));`)}processEnumBody(D){let Z=null;while(!0){if(this.tokens.matches1(u1.TokenType.braceR))break;let{nameStringCode:Q,variableName:Y}=this.extractEnumKeyInfo(this.tokens.currentToken());if(this.tokens.removeInitialToken(),this.tokens.matches3(u1.TokenType.eq,u1.TokenType.string,u1.TokenType.comma)||this.tokens.matches3(u1.TokenType.eq,u1.TokenType.string,u1.TokenType.braceR))this.processStringLiteralEnumMember(D,Q,Y);else if(this.tokens.matches1(u1.TokenType.eq))this.processExplicitValueEnumMember(D,Q,Y);else this.processImplicitValueEnumMember(D,Q,Y,Z);if(this.tokens.matches1(u1.TokenType.comma))this.tokens.removeToken();if(Y!=null)Z=Y;else Z=`${D}[${Q}]`}}extractEnumKeyInfo(D){if(D.type===u1.TokenType.name){let Z=this.tokens.identifierNameForToken(D);return{nameStringCode:`"${Z}"`,variableName:eL.default.call(void 0,Z)?Z:null}}else if(D.type===u1.TokenType.string){let Z=this.tokens.stringValueForToken(D);return{nameStringCode:this.tokens.code.slice(D.start,D.end),variableName:eL.default.call(void 0,Z)?Z:null}}else throw new Error("Expected name or string at beginning of enum element.")}processStringLiteralEnumMember(D,Z,Q){if(Q!=null)this.tokens.appendCode(`const ${Q}`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(`; ${D}[${Z}] = ${Q};`);else this.tokens.appendCode(`${D}[${Z}]`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(";")}processExplicitValueEnumMember(D,Z,Q){let Y=this.tokens.currentToken().rhsEndIndex;if(Y==null)throw new Error("Expected rhsEndIndex on enum assign.");if(Q!=null){this.tokens.appendCode(`const ${Q}`),this.tokens.copyToken();while(this.tokens.currentIndex()<Y)this.rootTransformer.processToken();this.tokens.appendCode(`; ${D}[${D}[${Z}] = ${Q}] = ${Z};`)}else{this.tokens.appendCode(`${D}[${D}[${Z}]`),this.tokens.copyToken();while(this.tokens.currentIndex()<Y)this.rootTransformer.processToken();this.tokens.appendCode(`] = ${Z};`)}}processImplicitValueEnumMember(D,Z,Q,Y){let J=Y!=null?`${Y} + 1`:"0";if(Q!=null)this.tokens.appendCode(`const ${Q} = ${J}; `),J=Q;this.tokens.appendCode(`${D}[${D}[${Z}] = ${J}] = ${Z};`)}}nK.default=ZC});var YC=M((rK)=>{Object.defineProperty(rK,"__esModule",{value:!0});function Z2(D){return D&&D.__esModule?D:{default:D}}var ut=S5(),Q5=V1(),vt=IL(),Tt=Z2(vt),bt=uL(),ht=Z2(bt),_t=hL(),kt=Z2(_t),yt=yL(),ft=Z2(yt),xt=fL(),mt=Z2(xt),gt=qV(),ct=Z2(gt),dt=mL(),lt=Z2(dt),pt=dL(),it=Z2(pt),nt=pL(),rt=Z2(nt),st=rL(),at=Z2(st),tt=aL(),ot=Z2(tt),et=QC(),Do=Z2(et);class yY{__init(){this.transformers=[]}__init2(){this.generatedVariables=[]}constructor(D,Z,Q,Y){yY.prototype.__init.call(this),yY.prototype.__init2.call(this),this.nameManager=D.nameManager,this.helperManager=D.helperManager;let{tokenProcessor:J,importProcessor:q}=D;if(this.tokens=J,this.isImportsTransformEnabled=Z.includes("imports"),this.isReactHotLoaderTransformEnabled=Z.includes("react-hot-loader"),this.disableESTransforms=Boolean(Y.disableESTransforms),!Y.disableESTransforms)this.transformers.push(new rt.default(J,this.nameManager)),this.transformers.push(new lt.default(J)),this.transformers.push(new it.default(J,this.nameManager));if(Z.includes("jsx")){if(Y.jsxRuntime!=="preserve")this.transformers.push(new ct.default(this,J,q,this.nameManager,Y));this.transformers.push(new at.default(this,J,q,Y))}let B=null;if(Z.includes("react-hot-loader")){if(!Y.filePath)throw new Error("filePath is required when using the react-hot-loader transform.");B=new ot.default(J,Y.filePath),this.transformers.push(B)}if(Z.includes("imports")){if(q===null)throw new Error("Expected non-null importProcessor with imports transform enabled.");this.transformers.push(new ht.default(this,J,q,this.nameManager,this.helperManager,B,Q,Boolean(Y.enableLegacyTypeScriptModuleInterop),Z.includes("typescript"),Z.includes("flow"),Boolean(Y.preserveDynamicImport),Boolean(Y.keepUnusedImports)))}else this.transformers.push(new kt.default(J,this.nameManager,this.helperManager,B,Z.includes("typescript"),Z.includes("flow"),Boolean(Y.keepUnusedImports),Y));if(Z.includes("flow"))this.transformers.push(new ft.default(this,J,Z.includes("imports")));if(Z.includes("typescript"))this.transformers.push(new Do.default(this,J,Z.includes("imports")));if(Z.includes("jest"))this.transformers.push(new mt.default(this,J,this.nameManager,q))}transform(){this.tokens.reset(),this.processBalancedCode();let Z=this.isImportsTransformEnabled?'"use strict";':"";for(let q of this.transformers)Z+=q.getPrefixCode();Z+=this.helperManager.emitHelpers(),Z+=this.generatedVariables.map((q)=>` var ${q};`).join("");for(let q of this.transformers)Z+=q.getHoistedCode();let Q="";for(let q of this.transformers)Q+=q.getSuffixCode();let Y=this.tokens.finish(),{code:J}=Y;if(J.startsWith("#!")){let q=J.indexOf(`
|
|
166
|
+
`);if(q===-1)q=J.length,J+=`
|
|
167
|
+
`;return{code:J.slice(0,q+1)+Z+J.slice(q+1)+Q,mappings:this.shiftMappings(Y.mappings,Z.length)}}else return{code:Z+J+Q,mappings:this.shiftMappings(Y.mappings,Z.length)}}processBalancedCode(){let D=0,Z=0;while(!this.tokens.isAtEnd()){if(this.tokens.matches1(Q5.TokenType.braceL)||this.tokens.matches1(Q5.TokenType.dollarBraceL))D++;else if(this.tokens.matches1(Q5.TokenType.braceR)){if(D===0)return;D--}if(this.tokens.matches1(Q5.TokenType.parenL))Z++;else if(this.tokens.matches1(Q5.TokenType.parenR)){if(Z===0)return;Z--}this.processToken()}}processToken(){if(this.tokens.matches1(Q5.TokenType._class)){this.processClass();return}for(let D of this.transformers)if(D.process())return;this.tokens.copyToken()}processNamedClass(){if(!this.tokens.matches2(Q5.TokenType._class,Q5.TokenType.name))throw new Error("Expected identifier for exported class name.");let D=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),D}processClass(){let D=Tt.default.call(void 0,this,this.tokens,this.nameManager,this.disableESTransforms),Z=(D.headerInfo.isExpression||!D.headerInfo.className)&&D.staticInitializerNames.length+D.instanceInitializerNames.length>0,Q=D.headerInfo.className;if(Z)Q=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(Q),this.tokens.appendCode(` (${Q} =`);let J=this.tokens.currentToken().contextId;if(J==null)throw new Error("Expected class to have a context ID.");this.tokens.copyExpectedToken(Q5.TokenType._class);while(!this.tokens.matchesContextIdAndLabel(Q5.TokenType.braceL,J))this.processToken();this.processClassBody(D,Q);let q=D.staticInitializerNames.map((B)=>`${Q}.${B}()`);if(Z)this.tokens.appendCode(`, ${q.map((B)=>`${B}, `).join("")}${Q})`);else if(D.staticInitializerNames.length>0)this.tokens.appendCode(` ${q.map((B)=>`${B};`).join(" ")}`)}processClassBody(D,Z){let{headerInfo:Q,constructorInsertPos:Y,constructorInitializerStatements:J,fields:q,instanceInitializerNames:B,rangesToRemove:H}=D,V=0,K=0,G=this.tokens.currentToken().contextId;if(G==null)throw new Error("Expected non-null context ID on class.");if(this.tokens.copyExpectedToken(Q5.TokenType.braceL),this.isReactHotLoaderTransformEnabled)this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");let W=J.length+B.length>0;if(Y===null&&W){let O=this.makeConstructorInitCode(J,B,Z);if(Q.hasSuperclass){let F=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${F}) { super(...${F}); ${O}; }`)}else this.tokens.appendCode(`constructor() { ${O}; }`)}while(!this.tokens.matchesContextIdAndLabel(Q5.TokenType.braceR,G))if(V<q.length&&this.tokens.currentIndex()===q[V].start){let O=!1;if(this.tokens.matches1(Q5.TokenType.bracketL))this.tokens.copyTokenWithPrefix(`${q[V].initializerName}() {this`);else if(this.tokens.matches1(Q5.TokenType.string)||this.tokens.matches1(Q5.TokenType.num))this.tokens.copyTokenWithPrefix(`${q[V].initializerName}() {this[`),O=!0;else this.tokens.copyTokenWithPrefix(`${q[V].initializerName}() {this.`);while(this.tokens.currentIndex()<q[V].end){if(O&&this.tokens.currentIndex()===q[V].equalsIndex)this.tokens.appendCode("]");this.processToken()}this.tokens.appendCode("}"),V++}else if(K<H.length&&this.tokens.currentIndex()>=H[K].start){if(this.tokens.currentIndex()<H[K].end)this.tokens.removeInitialToken();while(this.tokens.currentIndex()<H[K].end)this.tokens.removeToken();K++}else if(this.tokens.currentIndex()===Y){if(this.tokens.copyToken(),W)this.tokens.appendCode(`;${this.makeConstructorInitCode(J,B,Z)};`);this.processToken()}else this.processToken();this.tokens.copyExpectedToken(Q5.TokenType.braceR)}makeConstructorInitCode(D,Z,Q){return[...D,...Z.map((Y)=>`${Q}.prototype.${Y}.call(this)`)].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(Q5.TokenType.parenR,Q5.TokenType.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let D=this.tokens.currentIndex()+1;while(this.tokens.tokens[D].isType)D++;if(this.tokens.matches1AtIndex(D,Q5.TokenType.arrow)){this.tokens.removeInitialToken();while(this.tokens.currentIndex()<D)this.tokens.removeToken();return this.tokens.replaceTokenTrimmingLeftWhitespace(") =>"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(ut.ContextualKeyword._async)&&!this.tokens.matches1(Q5.TokenType._async))return!1;let D=this.tokens.tokenAtRelativeIndex(1);if(D.type!==Q5.TokenType.lessThan||!D.isType)return!1;let Z=this.tokens.currentIndex()+1;while(this.tokens.tokens[Z].isType)Z++;if(this.tokens.matches1AtIndex(Z,Q5.TokenType.parenL)){this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();while(this.tokens.currentIndex()<Z)this.tokens.removeToken();return this.tokens.removeToken(),this.processBalancedCode(),this.processToken(),!0}return!1}processPossibleTypeRange(){if(this.tokens.currentToken().isType){this.tokens.removeInitialToken();while(this.tokens.currentToken().isType)this.tokens.removeToken();return!0}return!1}shiftMappings(D,Z){for(let Q=0;Q<D.length;Q++){let Y=D[Q];if(Y!==void 0)D[Q]=Y+Z}return D}}rK.default=yY});var BC=M((z3)=>{z3.__esModule=!0;z3.LinesAndColumns=void 0;var fY=`
|
|
168
|
+
`,JC="\r",qC=function(){function D(Z){this.string=Z;var Q=[0];for(var Y=0;Y<Z.length;)switch(Z[Y]){case fY:Y+=fY.length,Q.push(Y);break;case JC:if(Y+=JC.length,Z[Y]===fY)Y+=fY.length;Q.push(Y);break;default:Y++;break}this.offsets=Q}return D.prototype.locationForIndex=function(Z){if(Z<0||Z>this.string.length)return null;var Q=0,Y=this.offsets;while(Y[Q+1]<=Z)Q++;var J=Z-Y[Q];return{line:Q,column:J}},D.prototype.indexForLocation=function(Z){var{line:Q,column:Y}=Z;if(Q<0||Q>=this.offsets.length)return null;if(Y<0||Y>this.lengthOfLine(Q))return null;return this.offsets[Q]+Y},D.prototype.lengthOfLine=function(Z){var Q=this.offsets[Z],Y=Z===this.offsets.length-1?this.string.length:this.offsets[Z+1];return Y-Q},D}();z3.LinesAndColumns=qC;z3.default=qC});var HC=M((sK)=>{Object.defineProperty(sK,"__esModule",{value:!0});function Zo(D){return D&&D.__esModule?D:{default:D}}var Qo=BC(),Yo=Zo(Qo),Jo=V1();function qo(D,Z){if(Z.length===0)return"";let Q=Object.keys(Z[0]).filter((O)=>O!=="type"&&O!=="value"&&O!=="start"&&O!=="end"&&O!=="loc"),Y=Object.keys(Z[0].type).filter((O)=>O!=="label"&&O!=="keyword"),J=["Location","Label","Raw",...Q,...Y],q=new Yo.default(D),B=[J,...Z.map(V)],H=J.map(()=>0);for(let O of B)for(let F=0;F<O.length;F++)H[F]=Math.max(H[F],O[F].length);return B.map((O)=>O.map((F,E)=>F.padEnd(H[E])).join(" ")).join(`
|
|
169
|
+
`);function V(O){let F=D.slice(O.start,O.end);return[G(O.start,O.end),Jo.formatTokenType.call(void 0,O.type),Bo(String(F),14),...Q.map((E)=>K(O[E],E)),...Y.map((E)=>K(O.type[E],E))]}function K(O,F){if(O===!0)return F;else if(O===!1||O===null)return"";else return String(O)}function G(O,F){return`${W(O)}-${W(F)}`}function W(O){let F=q.locationForIndex(O);if(!F)return"Unknown";else return`${F.line+1}:${F.column+1}`}}sK.default=qo;function Bo(D,Z){if(D.length>Z)return`${D.slice(0,Z-3)}...`;else return D}});var VC=M((aK)=>{Object.defineProperty(aK,"__esModule",{value:!0});function Ho(D){return D&&D.__esModule?D:{default:D}}var F8=V1(),Vo=l4(),Ko=Ho(Vo);function Go(D){let Z=new Set;for(let Q=0;Q<D.tokens.length;Q++)if(D.matches1AtIndex(Q,F8.TokenType._import)&&!D.matches3AtIndex(Q,F8.TokenType._import,F8.TokenType.name,F8.TokenType.eq))zo(D,Q,Z);return Z}aK.default=Go;function zo(D,Z,Q){if(Z++,D.matches1AtIndex(Z,F8.TokenType.parenL))return;if(D.matches1AtIndex(Z,F8.TokenType.name)){if(Q.add(D.identifierNameAtIndex(Z)),Z++,D.matches1AtIndex(Z,F8.TokenType.comma))Z++}if(D.matches1AtIndex(Z,F8.TokenType.star))Z+=2,Q.add(D.identifierNameAtIndex(Z)),Z++;if(D.matches1AtIndex(Z,F8.TokenType.braceL))Z++,Wo(D,Z,Q)}function Wo(D,Z,Q){while(!0){if(D.matches1AtIndex(Z,F8.TokenType.braceR))return;let Y=Ko.default.call(void 0,D,Z);if(Z=Y.endIndex,!Y.isType)Q.add(Y.rightName);if(D.matches2AtIndex(Z,F8.TokenType.comma,F8.TokenType.braceR))return;else if(D.matches1AtIndex(Z,F8.TokenType.braceR))return;else if(D.matches1AtIndex(Z,F8.TokenType.comma))Z++;else throw new Error(`Unexpected token: ${JSON.stringify(D.tokens[Z])}`)}}});var zC=M((W3)=>{Object.defineProperty(W3,"__esModule",{value:!0});function GD(D){return D&&D.__esModule?D:{default:D}}var Oo=vE(),Xo=GD(Oo),Fo=kE(),Uo=GD(Fo),Ao=yE(),$o=mE(),KC=GD($o),Eo=cE(),wo=GD(Eo),Lo=qw(),Co=$K(),Ro=CL(),Mo=GD(Ro),Io=YC(),jo=GD(Io),No=HC(),Po=GD(No),So=VC(),uo=GD(So);function vo(){return"3.35.0"}W3.getVersion=vo;function To(D,Z){Lo.validateOptions.call(void 0,Z);try{let Q=GC(D,Z),J=new jo.default(Q,Z.transforms,Boolean(Z.enableLegacyBabel5ModuleInterop),Z).transform(),q={code:J.code};if(Z.sourceMapOptions){if(!Z.filePath)throw new Error("filePath must be specified when generating a source map.");q={...q,sourceMap:Uo.default.call(void 0,J,Z.filePath,Z.sourceMapOptions,D,Q.tokenProcessor.tokens)}}return q}catch(Q){if(Z.filePath)Q.message=`Error transforming ${Z.filePath}: ${Q.message}`;throw Q}}W3.transform=To;function bo(D,Z){let Q=GC(D,Z).tokenProcessor.tokens;return Po.default.call(void 0,D,Q)}W3.getFormattedTokens=bo;function GC(D,Z){let Q=Z.transforms.includes("jsx"),Y=Z.transforms.includes("typescript"),J=Z.transforms.includes("flow"),q=Z.disableESTransforms===!0,B=Co.parse.call(void 0,D,Q,Y,J),H=B.tokens,V=B.scopes,K=new wo.default(D,H),G=new Ao.HelperManager(K),W=new Mo.default(D,H,J,q,G),O=Boolean(Z.enableLegacyTypeScriptModuleInterop),F=null;if(Z.transforms.includes("imports")){if(F=new Xo.default(K,W,O,Z,Z.transforms.includes("typescript"),Boolean(Z.keepUnusedImports),G),F.preprocessTokens(),KC.default.call(void 0,W,V,F.getGlobalNames()),Z.transforms.includes("typescript")&&!Z.keepUnusedImports)F.pruneTypeOnlyImports()}else if(Z.transforms.includes("typescript")&&!Z.keepUnusedImports)KC.default.call(void 0,W,V,uo.default.call(void 0,W));return{tokenProcessor:W,scopes:V,nameManager:K,importProcessor:F,helperManager:G}}});var eK=M((O3)=>{Object.defineProperty(O3,"__esModule",{value:!0});O3.serializeAfterStaticPlugins=_o;O3.serializeAndEvaluate=Q7;O3.serializeSkippingMods=ho;function oK(){let D=rD();return oK=function(){return D},D}function Q7(D){if(["undefined","string","boolean","number","bigint"].includes(typeof D))return D;else if(typeof D==="function")return D();else if(Array.isArray(D))return D.map(Q7);else if(typeof D==="object"){let Z={};for(let Q in D)if(D.hasOwnProperty(Q))Z[Q]=Q7(D[Q]);return Z}throw new(oK()).ConfigError(`Expo config doesn't support \`Symbols\`: ${D}`,"INVALID_CONFIG")}function ho(D){if(typeof D==="object"&&!Array.isArray(D)){let Z={};for(let Q in D)if(D.hasOwnProperty(Q))if(Q==="mods"||Q==="plugins")Z[Q]=D[Q];else Z[Q]=Q7(D[Q]);return Z}return Q7(D)}function tK(D){if(["undefined","string","boolean","number","bigint"].includes(typeof D))return D;else if(typeof D==="function")return D.name||"withAnonymous";else if(Array.isArray(D))return D.map(tK);else if(typeof D==="object"){let Z={};for(let Q in D)if(D.hasOwnProperty(Q))Z[Q]=tK(D[Q]);return Z}throw new(oK()).ConfigError(`Expo config doesn't support \`Symbols\`: ${D}`,"INVALID_CONFIG")}function _o(D){if(typeof D==="object"&&!Array.isArray(D)){let Z={};for(let Q in D)if(D.hasOwnProperty(Q))if(Q==="mods")Z[Q]=D[Q];else if(Q==="plugins"&&Array.isArray(D[Q]))Z[Q]=D[Q].map(tK);else Z[Q]=Q7(D[Q]);return Z}return Q7(D)}});var WC=M((xY)=>{Object.defineProperty(xY,"__esModule",{value:!0});xY.NON_STANDARD_SYMBOL=void 0;var g30=xY.NON_STANDARD_SYMBOL=Symbol("non-standard")});var EC=M((mY)=>{Object.defineProperty(mY,"__esModule",{value:!0});mY.evalConfig=yo;mY.resolveConfigExport=$C;function OC(){let D=require("fs");return OC=function(){return D},D}function XC(){let D=ko(o$());return XC=function(){return D},D}function FC(){let D=zC();return FC=function(){return D},D}function UC(){let D=rD();return UC=function(){return D},D}function DG(){let D=eK();return DG=function(){return D},D}function AC(){let D=WC();return AC=function(){return D},D}function ko(D){return D&&D.__esModule?D:{default:D}}function yo(D,Z){let Q=OC().readFileSync(D,"utf8"),Y;try{let{code:J}=FC().transform(Q,{filePath:D,transforms:["typescript","imports"]});Y=XC().default(J,D)}catch(J){if(fo(J)){let{codeFrameColumns:B}=PB(),H=B(Q,{start:J.loc},{highlightCode:!0});J.codeFrame=H,J.message+=`
|
|
170
|
+
${H}`}else{let B=xo(J);if(B)J.message+=`
|
|
171
|
+
${B}`}throw J}return $C(Y,D,Z)}function fo(D){if(D.loc)return D.loc;if("lineNumber"in D&&"columnNumber"in D)return{line:D.lineNumber,column:D.columnNumber};return null}function xo(D){if(mo(D)){let Z=D.stack?.split(`
|
|
172
|
+
`).filter((Q)=>!Q.startsWith(" at "));if(!Z)return null;if(Z[Z.length-1].startsWith("SyntaxError:"))Z.pop();return Z.join(`
|
|
173
|
+
`)}return null}function mo(D){return D instanceof SyntaxError||D.constructor.name==="SyntaxError"}function $C(D,Z,Q){let Y=AC().NON_STANDARD_SYMBOL;if(Q?.config)Q.config[Y]=!0;if(D.default!=null)D=D.default;let J=typeof D;if(typeof D==="function")D=D(Q);if(D instanceof Promise)throw new(UC()).ConfigError(`Config file ${Z} cannot return a Promise.`,"INVALID_CONFIG");let q=Q?.config?.[Y]&&!D?.[Y];if(D)delete D._hasBaseStaticConfig;if(D?.expo)D=DG().serializeSkippingMods(D.expo);else D=DG().serializeSkippingMods(D);return{config:D,exportedObjectType:J,mayHaveUnusedStaticConfig:q}}});var RC=M((gY)=>{Object.defineProperty(gY,"__esModule",{value:!0});gY.getDynamicConfig=lo;gY.getStaticConfig=po;function wC(){let D=go(c7());return wC=function(){return D},D}function LC(){let D=require("fs");return LC=function(){return D},D}function ZG(){let D=rD();return ZG=function(){return D},D}function CC(){let D=EC();return CC=function(){return D},D}function go(D){return D&&D.__esModule?D:{default:D}}function co(D,Z){if(!LC().existsSync(D))return null;try{return CC().evalConfig(D,Z)}catch(Q){throw Q.isConfigError=!0,Q.message=`Error reading Expo config at ${D}:
|
|
174
|
+
|
|
175
|
+
${Q.message}`,Q}}function lo(D,Z){let Q=co(D,Z);if(Q)return Q;throw new(ZG()).ConfigError(`Failed to read config at: ${D}`,"INVALID_CONFIG")}function po(D){let Z=wC().default.read(D,{json5:!0});if(Z)return Z;throw new(ZG()).ConfigError(`Failed to read config at: ${D}`,"INVALID_CONFIG")}});var JG=M((YG)=>{Object.defineProperty(YG,"__esModule",{value:!0});YG.getExpoSDKVersion=io;function MC(){let D=jC(c7());return MC=function(){return D},D}function IC(){let D=jC(s7());return IC=function(){return D},D}function QG(){let D=rD();return QG=function(){return D},D}function jC(D){return D&&D.__esModule?D:{default:D}}function io(D,Z={}){return Z?.sdkVersion??no(D)}function no(D){let Z=IC().default.silent(D,"expo/package.json");if(!Z)throw new(QG()).ConfigError("Cannot determine the project's Expo SDK version because the module `expo` is not installed. Install it with `npm install expo` and try again.","MODULE_NOT_FOUND");let Q=MC().default.read(Z,{json5:!0}),{version:Y}=Q;if(typeof Y!=="string")throw new(QG()).ConfigError("Cannot determine the project's Expo SDK version because the module `expo` has an invalid package.json (missing `version` field). Try reinstalling node modules and trying again.","MODULE_NOT_FOUND");return`${Y.split(".").shift()}.0.0`}});var cY=M((qG)=>{(function(){qG.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
|
|
176
|
+
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(qG)});var r2=M((NC,zD)=>{(function(){var D,Z,Q,Y,J,q,B,H=[].slice,V={}.hasOwnProperty;D=function(){var K,G,W,O,F,E;if(E=arguments[0],F=2<=arguments.length?H.call(arguments,1):[],J(Object.assign))Object.assign.apply(null,arguments);else for(K=0,W=F.length;K<W;K++)if(O=F[K],O!=null)for(G in O){if(!V.call(O,G))continue;E[G]=O[G]}return E},J=function(K){return!!K&&Object.prototype.toString.call(K)==="[object Function]"},q=function(K){var G;return!!K&&((G=typeof K)==="function"||G==="object")},Q=function(K){if(J(Array.isArray))return Array.isArray(K);else return Object.prototype.toString.call(K)==="[object Array]"},Y=function(K){var G;if(Q(K))return!K.length;else{for(G in K){if(!V.call(K,G))continue;return!1}return!0}},B=function(K){var G,W;return q(K)&&(W=Object.getPrototypeOf(K))&&(G=W.constructor)&&typeof G==="function"&&G instanceof G&&Function.prototype.toString.call(G)===Function.prototype.toString.call(Object)},Z=function(K){if(J(K.valueOf))return K.valueOf();else return K},zD.exports.assign=D,zD.exports.isFunction=J,zD.exports.isObject=q,zD.exports.isArray=Q,zD.exports.isEmpty=Y,zD.exports.isPlainObject=B,zD.exports.getValue=Z}).call(NC)});var BG=M((PC,SC)=>{(function(){var D;SC.exports=D=function(){function Z(){}return Z.prototype.hasFeature=function(Q,Y){return!0},Z.prototype.createDocumentType=function(Q,Y,J){throw new Error("This DOM method is not implemented.")},Z.prototype.createDocument=function(Q,Y,J){throw new Error("This DOM method is not implemented.")},Z.prototype.createHTMLDocument=function(Q){throw new Error("This DOM method is not implemented.")},Z.prototype.getFeature=function(Q,Y){throw new Error("This DOM method is not implemented.")},Z}()}).call(PC)});var TC=M((uC,vC)=>{(function(){var D;vC.exports=D=function(){function Z(){}return Z.prototype.handleError=function(Q){throw new Error(Q)},Z}()}).call(uC)});var _C=M((bC,hC)=>{(function(){var D;hC.exports=D=function(){function Z(Q){this.arr=Q||[]}return Object.defineProperty(Z.prototype,"length",{get:function(){return this.arr.length}}),Z.prototype.item=function(Q){return this.arr[Q]||null},Z.prototype.contains=function(Q){return this.arr.indexOf(Q)!==-1},Z}()}).call(bC)});var fC=M((kC,yC)=>{(function(){var D,Z,Q;Z=TC(),Q=_C(),yC.exports=D=function(){function Y(){var J;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new Z,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=J=Object.create(this.defaultParams)}return Object.defineProperty(Y.prototype,"parameterNames",{get:function(){return new Q(Object.keys(this.defaultParams))}}),Y.prototype.getParameter=function(J){if(this.params.hasOwnProperty(J))return this.params[J];else return null},Y.prototype.canSetParameter=function(J,q){return!0},Y.prototype.setParameter=function(J,q){if(q!=null)return this.params[J]=q;else return delete this.params[J]},Y}()}).call(kC)});var H5=M((xC,mC)=>{(function(){mC.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(xC)});var HG=M((gC,cC)=>{(function(){var D,Z,Q;D=H5(),Q=_8(),cC.exports=Z=function(){function Y(J,q,B){if(this.parent=J,this.parent)this.options=this.parent.options,this.stringify=this.parent.stringify;if(q==null)throw new Error("Missing attribute name. "+this.debugInfo(q));this.name=this.stringify.name(q),this.value=this.stringify.attValue(B),this.type=D.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(Y.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Y.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(Y.prototype,"textContent",{get:function(){return this.value},set:function(J){return this.value=J||""}}),Object.defineProperty(Y.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(Y.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(Y.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(Y.prototype,"specified",{get:function(){return!0}}),Y.prototype.clone=function(){return Object.create(this)},Y.prototype.toString=function(J){return this.options.writer.attribute(this,this.options.writer.filterOptions(J))},Y.prototype.debugInfo=function(J){if(J=J||this.name,J==null)return"parent: <"+this.parent.name+">";else return"attribute: {"+J+"}, parent: <"+this.parent.name+">"},Y.prototype.isEqualNode=function(J){if(J.namespaceURI!==this.namespaceURI)return!1;if(J.prefix!==this.prefix)return!1;if(J.localName!==this.localName)return!1;if(J.value!==this.value)return!1;return!0},Y}()}).call(gC)});var dY=M((dC,lC)=>{(function(){var D;lC.exports=D=function(){function Z(Q){this.nodes=Q}return Object.defineProperty(Z.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),Z.prototype.clone=function(){return this.nodes=null},Z.prototype.getNamedItem=function(Q){return this.nodes[Q]},Z.prototype.setNamedItem=function(Q){var Y=this.nodes[Q.nodeName];return this.nodes[Q.nodeName]=Q,Y||null},Z.prototype.removeNamedItem=function(Q){var Y=this.nodes[Q];return delete this.nodes[Q],Y||null},Z.prototype.item=function(Q){return this.nodes[Object.keys(this.nodes)[Q]]||null},Z.prototype.getNamedItemNS=function(Q,Y){throw new Error("This DOM method is not implemented.")},Z.prototype.setNamedItemNS=function(Q){throw new Error("This DOM method is not implemented.")},Z.prototype.removeNamedItemNS=function(Q,Y){throw new Error("This DOM method is not implemented.")},Z}()}).call(dC)});var lY=M((pC,iC)=>{(function(){var D,Z,Q,Y,J,q,B,H,V,K=function(W,O){for(var F in O)if(G.call(O,F))W[F]=O[F];function E(){this.constructor=W}return E.prototype=O.prototype,W.prototype=new E,W.__super__=O.prototype,W},G={}.hasOwnProperty;V=r2(),H=V.isObject,B=V.isFunction,q=V.getValue,J=_8(),D=H5(),Z=HG(),Y=dY(),iC.exports=Q=function(W){K(O,W);function O(F,E,L){var j,P,u,U;if(O.__super__.constructor.call(this,F),E==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(E),this.type=D.Element,this.attribs={},this.schemaTypeInfo=null,L!=null)this.attribute(L);if(F.type===D.Document){if(this.isRoot=!0,this.documentObject=F,F.rootObject=this,F.children){U=F.children;for(P=0,u=U.length;P<u;P++)if(j=U[P],j.type===D.DocType){j.name=this.name;break}}}}return Object.defineProperty(O.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(O.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(O.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(O.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(O.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(O.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(O.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(O.prototype,"attributes",{get:function(){if(!this.attributeMap||!this.attributeMap.nodes)this.attributeMap=new Y(this.attribs);return this.attributeMap}}),O.prototype.clone=function(){var F,E,L,j;if(L=Object.create(this),L.isRoot)L.documentObject=null;L.attribs={},j=this.attribs;for(E in j){if(!G.call(j,E))continue;F=j[E],L.attribs[E]=F.clone()}return L.children=[],this.children.forEach(function(P){var u=P.clone();return u.parent=L,L.children.push(u)}),L},O.prototype.attribute=function(F,E){var L,j;if(F!=null)F=q(F);if(H(F))for(L in F){if(!G.call(F,L))continue;j=F[L],this.attribute(L,j)}else{if(B(E))E=E.apply();if(this.options.keepNullAttributes&&E==null)this.attribs[F]=new Z(this,F,"");else if(E!=null)this.attribs[F]=new Z(this,F,E)}return this},O.prototype.removeAttribute=function(F){var E,L,j;if(F==null)throw new Error("Missing attribute name. "+this.debugInfo());if(F=q(F),Array.isArray(F))for(L=0,j=F.length;L<j;L++)E=F[L],delete this.attribs[E];else delete this.attribs[F];return this},O.prototype.toString=function(F){return this.options.writer.element(this,this.options.writer.filterOptions(F))},O.prototype.att=function(F,E){return this.attribute(F,E)},O.prototype.a=function(F,E){return this.attribute(F,E)},O.prototype.getAttribute=function(F){if(this.attribs.hasOwnProperty(F))return this.attribs[F].value;else return null},O.prototype.setAttribute=function(F,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.getAttributeNode=function(F){if(this.attribs.hasOwnProperty(F))return this.attribs[F];else return null},O.prototype.setAttributeNode=function(F){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.removeAttributeNode=function(F){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.getElementsByTagName=function(F){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.getAttributeNS=function(F,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.setAttributeNS=function(F,E,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.removeAttributeNS=function(F,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.getAttributeNodeNS=function(F,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.setAttributeNodeNS=function(F){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.getElementsByTagNameNS=function(F,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.hasAttribute=function(F){return this.attribs.hasOwnProperty(F)},O.prototype.hasAttributeNS=function(F,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.setIdAttribute=function(F,E){if(this.attribs.hasOwnProperty(F))return this.attribs[F].isId;else return E},O.prototype.setIdAttributeNS=function(F,E,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.setIdAttributeNode=function(F,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.getElementsByTagName=function(F){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.getElementsByTagNameNS=function(F,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.getElementsByClassName=function(F){throw new Error("This DOM method is not implemented."+this.debugInfo())},O.prototype.isEqualNode=function(F){var E,L,j;if(!O.__super__.isEqualNode.apply(this,arguments).isEqualNode(F))return!1;if(F.namespaceURI!==this.namespaceURI)return!1;if(F.prefix!==this.prefix)return!1;if(F.localName!==this.localName)return!1;if(F.attribs.length!==this.attribs.length)return!1;for(E=L=0,j=this.attribs.length-1;0<=j?L<=j:L>=j;E=0<=j?++L:--L)if(!this.attribs[E].isEqualNode(F.attribs[E]))return!1;return!0},O}(J)}).call(pC)});var X3=M((nC,rC)=>{(function(){var D,Z,Q=function(J,q){for(var B in q)if(Y.call(q,B))J[B]=q[B];function H(){this.constructor=J}return H.prototype=q.prototype,J.prototype=new H,J.__super__=q.prototype,J},Y={}.hasOwnProperty;Z=_8(),rC.exports=D=function(J){Q(q,J);function q(B){q.__super__.constructor.call(this,B),this.value=""}return Object.defineProperty(q.prototype,"data",{get:function(){return this.value},set:function(B){return this.value=B||""}}),Object.defineProperty(q.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(q.prototype,"textContent",{get:function(){return this.value},set:function(B){return this.value=B||""}}),q.prototype.clone=function(){return Object.create(this)},q.prototype.substringData=function(B,H){throw new Error("This DOM method is not implemented."+this.debugInfo())},q.prototype.appendData=function(B){throw new Error("This DOM method is not implemented."+this.debugInfo())},q.prototype.insertData=function(B,H){throw new Error("This DOM method is not implemented."+this.debugInfo())},q.prototype.deleteData=function(B,H){throw new Error("This DOM method is not implemented."+this.debugInfo())},q.prototype.replaceData=function(B,H,V){throw new Error("This DOM method is not implemented."+this.debugInfo())},q.prototype.isEqualNode=function(B){if(!q.__super__.isEqualNode.apply(this,arguments).isEqualNode(B))return!1;if(B.data!==this.data)return!1;return!0},q}(Z)}).call(nC)});var pY=M((sC,aC)=>{(function(){var D,Z,Q,Y=function(q,B){for(var H in B)if(J.call(B,H))q[H]=B[H];function V(){this.constructor=q}return V.prototype=B.prototype,q.prototype=new V,q.__super__=B.prototype,q},J={}.hasOwnProperty;D=H5(),Q=X3(),aC.exports=Z=function(q){Y(B,q);function B(H,V){if(B.__super__.constructor.call(this,H),V==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=D.CData,this.value=this.stringify.cdata(V)}return B.prototype.clone=function(){return Object.create(this)},B.prototype.toString=function(H){return this.options.writer.cdata(this,this.options.writer.filterOptions(H))},B}(Q)}).call(sC)});var iY=M((tC,oC)=>{(function(){var D,Z,Q,Y=function(q,B){for(var H in B)if(J.call(B,H))q[H]=B[H];function V(){this.constructor=q}return V.prototype=B.prototype,q.prototype=new V,q.__super__=B.prototype,q},J={}.hasOwnProperty;D=H5(),Z=X3(),oC.exports=Q=function(q){Y(B,q);function B(H,V){if(B.__super__.constructor.call(this,H),V==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=D.Comment,this.value=this.stringify.comment(V)}return B.prototype.clone=function(){return Object.create(this)},B.prototype.toString=function(H){return this.options.writer.comment(this,this.options.writer.filterOptions(H))},B}(Z)}).call(tC)});var nY=M((eC,DR)=>{(function(){var D,Z,Q,Y,J=function(B,H){for(var V in H)if(q.call(H,V))B[V]=H[V];function K(){this.constructor=B}return K.prototype=H.prototype,B.prototype=new K,B.__super__=H.prototype,B},q={}.hasOwnProperty;Y=r2().isObject,Q=_8(),D=H5(),DR.exports=Z=function(B){J(H,B);function H(V,K,G,W){var O;if(H.__super__.constructor.call(this,V),Y(K))O=K,K=O.version,G=O.encoding,W=O.standalone;if(!K)K="1.0";if(this.type=D.Declaration,this.version=this.stringify.xmlVersion(K),G!=null)this.encoding=this.stringify.xmlEncoding(G);if(W!=null)this.standalone=this.stringify.xmlStandalone(W)}return H.prototype.toString=function(V){return this.options.writer.declaration(this,this.options.writer.filterOptions(V))},H}(Q)}).call(eC)});var rY=M((ZR,QR)=>{(function(){var D,Z,Q,Y=function(q,B){for(var H in B)if(J.call(B,H))q[H]=B[H];function V(){this.constructor=q}return V.prototype=B.prototype,q.prototype=new V,q.__super__=B.prototype,q},J={}.hasOwnProperty;Q=_8(),D=H5(),QR.exports=Z=function(q){Y(B,q);function B(H,V,K,G,W,O){if(B.__super__.constructor.call(this,H),V==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(K==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(V));if(!G)throw new Error("Missing DTD attribute type. "+this.debugInfo(V));if(!W)throw new Error("Missing DTD attribute default. "+this.debugInfo(V));if(W.indexOf("#")!==0)W="#"+W;if(!W.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(V));if(O&&!W.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(V));if(this.elementName=this.stringify.name(V),this.type=D.AttributeDeclaration,this.attributeName=this.stringify.name(K),this.attributeType=this.stringify.dtdAttType(G),O)this.defaultValue=this.stringify.dtdAttDefault(O);this.defaultValueType=W}return B.prototype.toString=function(H){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(H))},B}(Q)}).call(ZR)});var sY=M((YR,JR)=>{(function(){var D,Z,Q,Y,J=function(B,H){for(var V in H)if(q.call(H,V))B[V]=H[V];function K(){this.constructor=B}return K.prototype=H.prototype,B.prototype=new K,B.__super__=H.prototype,B},q={}.hasOwnProperty;Y=r2().isObject,Q=_8(),D=H5(),JR.exports=Z=function(B){J(H,B);function H(V,K,G,W){if(H.__super__.constructor.call(this,V),G==null)throw new Error("Missing DTD entity name. "+this.debugInfo(G));if(W==null)throw new Error("Missing DTD entity value. "+this.debugInfo(G));if(this.pe=!!K,this.name=this.stringify.name(G),this.type=D.EntityDeclaration,!Y(W))this.value=this.stringify.dtdEntityValue(W),this.internal=!0;else{if(!W.pubID&&!W.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(G));if(W.pubID&&!W.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(G));if(this.internal=!1,W.pubID!=null)this.pubID=this.stringify.dtdPubID(W.pubID);if(W.sysID!=null)this.sysID=this.stringify.dtdSysID(W.sysID);if(W.nData!=null)this.nData=this.stringify.dtdNData(W.nData);if(this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(G))}}return Object.defineProperty(H.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(H.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(H.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(H.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(H.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(H.prototype,"xmlVersion",{get:function(){return null}}),H.prototype.toString=function(V){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(V))},H}(Q)}).call(YR)});var aY=M((qR,BR)=>{(function(){var D,Z,Q,Y=function(q,B){for(var H in B)if(J.call(B,H))q[H]=B[H];function V(){this.constructor=q}return V.prototype=B.prototype,q.prototype=new V,q.__super__=B.prototype,q},J={}.hasOwnProperty;Q=_8(),D=H5(),BR.exports=Z=function(q){Y(B,q);function B(H,V,K){if(B.__super__.constructor.call(this,H),V==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(!K)K="(#PCDATA)";if(Array.isArray(K))K="("+K.join(",")+")";this.name=this.stringify.name(V),this.type=D.ElementDeclaration,this.value=this.stringify.dtdElementValue(K)}return B.prototype.toString=function(H){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(H))},B}(Q)}).call(qR)});var tY=M((HR,VR)=>{(function(){var D,Z,Q,Y=function(q,B){for(var H in B)if(J.call(B,H))q[H]=B[H];function V(){this.constructor=q}return V.prototype=B.prototype,q.prototype=new V,q.__super__=B.prototype,q},J={}.hasOwnProperty;Q=_8(),D=H5(),VR.exports=Z=function(q){Y(B,q);function B(H,V,K){if(B.__super__.constructor.call(this,H),V==null)throw new Error("Missing DTD notation name. "+this.debugInfo(V));if(!K.pubID&&!K.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(V));if(this.name=this.stringify.name(V),this.type=D.NotationDeclaration,K.pubID!=null)this.pubID=this.stringify.dtdPubID(K.pubID);if(K.sysID!=null)this.sysID=this.stringify.dtdSysID(K.sysID)}return Object.defineProperty(B.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(B.prototype,"systemId",{get:function(){return this.sysID}}),B.prototype.toString=function(H){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(H))},B}(Q)}).call(HR)});var oY=M((KR,GR)=>{(function(){var D,Z,Q,Y,J,q,B,H,V,K=function(W,O){for(var F in O)if(G.call(O,F))W[F]=O[F];function E(){this.constructor=W}return E.prototype=O.prototype,W.prototype=new E,W.__super__=O.prototype,W},G={}.hasOwnProperty;V=r2().isObject,H=_8(),D=H5(),Z=rY(),Y=sY(),Q=aY(),J=tY(),B=dY(),GR.exports=q=function(W){K(O,W);function O(F,E,L){var j,P,u,U,X,z;if(O.__super__.constructor.call(this,F),this.type=D.DocType,F.children){U=F.children;for(P=0,u=U.length;P<u;P++)if(j=U[P],j.type===D.Element){this.name=j.name;break}}if(this.documentObject=F,V(E))X=E,E=X.pubID,L=X.sysID;if(L==null)z=[E,L],L=z[0],E=z[1];if(E!=null)this.pubID=this.stringify.dtdPubID(E);if(L!=null)this.sysID=this.stringify.dtdSysID(L)}return Object.defineProperty(O.prototype,"entities",{get:function(){var F,E,L,j,P;j={},P=this.children;for(E=0,L=P.length;E<L;E++)if(F=P[E],F.type===D.EntityDeclaration&&!F.pe)j[F.name]=F;return new B(j)}}),Object.defineProperty(O.prototype,"notations",{get:function(){var F,E,L,j,P;j={},P=this.children;for(E=0,L=P.length;E<L;E++)if(F=P[E],F.type===D.NotationDeclaration)j[F.name]=F;return new B(j)}}),Object.defineProperty(O.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(O.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(O.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),O.prototype.element=function(F,E){var L=new Q(this,F,E);return this.children.push(L),this},O.prototype.attList=function(F,E,L,j,P){var u=new Z(this,F,E,L,j,P);return this.children.push(u),this},O.prototype.entity=function(F,E){var L=new Y(this,!1,F,E);return this.children.push(L),this},O.prototype.pEntity=function(F,E){var L=new Y(this,!0,F,E);return this.children.push(L),this},O.prototype.notation=function(F,E){var L=new J(this,F,E);return this.children.push(L),this},O.prototype.toString=function(F){return this.options.writer.docType(this,this.options.writer.filterOptions(F))},O.prototype.ele=function(F,E){return this.element(F,E)},O.prototype.att=function(F,E,L,j,P){return this.attList(F,E,L,j,P)},O.prototype.ent=function(F,E){return this.entity(F,E)},O.prototype.pent=function(F,E){return this.pEntity(F,E)},O.prototype.not=function(F,E){return this.notation(F,E)},O.prototype.up=function(){return this.root()||this.documentObject},O.prototype.isEqualNode=function(F){if(!O.__super__.isEqualNode.apply(this,arguments).isEqualNode(F))return!1;if(F.name!==this.name)return!1;if(F.publicId!==this.publicId)return!1;if(F.systemId!==this.systemId)return!1;return!0},O}(H)}).call(KR)});var eY=M((zR,WR)=>{(function(){var D,Z,Q,Y=function(q,B){for(var H in B)if(J.call(B,H))q[H]=B[H];function V(){this.constructor=q}return V.prototype=B.prototype,q.prototype=new V,q.__super__=B.prototype,q},J={}.hasOwnProperty;D=H5(),Z=_8(),WR.exports=Q=function(q){Y(B,q);function B(H,V){if(B.__super__.constructor.call(this,H),V==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=D.Raw,this.value=this.stringify.raw(V)}return B.prototype.clone=function(){return Object.create(this)},B.prototype.toString=function(H){return this.options.writer.raw(this,this.options.writer.filterOptions(H))},B}(Z)}).call(zR)});var DJ=M((OR,XR)=>{(function(){var D,Z,Q,Y=function(q,B){for(var H in B)if(J.call(B,H))q[H]=B[H];function V(){this.constructor=q}return V.prototype=B.prototype,q.prototype=new V,q.__super__=B.prototype,q},J={}.hasOwnProperty;D=H5(),Z=X3(),XR.exports=Q=function(q){Y(B,q);function B(H,V){if(B.__super__.constructor.call(this,H),V==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=D.Text,this.value=this.stringify.text(V)}return Object.defineProperty(B.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(B.prototype,"wholeText",{get:function(){var H,V,K;K="",V=this.previousSibling;while(V)K=V.data+K,V=V.previousSibling;K+=this.data,H=this.nextSibling;while(H)K=K+H.data,H=H.nextSibling;return K}}),B.prototype.clone=function(){return Object.create(this)},B.prototype.toString=function(H){return this.options.writer.text(this,this.options.writer.filterOptions(H))},B.prototype.splitText=function(H){throw new Error("This DOM method is not implemented."+this.debugInfo())},B.prototype.replaceWholeText=function(H){throw new Error("This DOM method is not implemented."+this.debugInfo())},B}(Z)}).call(OR)});var ZJ=M((FR,UR)=>{(function(){var D,Z,Q,Y=function(q,B){for(var H in B)if(J.call(B,H))q[H]=B[H];function V(){this.constructor=q}return V.prototype=B.prototype,q.prototype=new V,q.__super__=B.prototype,q},J={}.hasOwnProperty;D=H5(),Z=X3(),UR.exports=Q=function(q){Y(B,q);function B(H,V,K){if(B.__super__.constructor.call(this,H),V==null)throw new Error("Missing instruction target. "+this.debugInfo());if(this.type=D.ProcessingInstruction,this.target=this.stringify.insTarget(V),this.name=this.target,K)this.value=this.stringify.insValue(K)}return B.prototype.clone=function(){return Object.create(this)},B.prototype.toString=function(H){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(H))},B.prototype.isEqualNode=function(H){if(!B.__super__.isEqualNode.apply(this,arguments).isEqualNode(H))return!1;if(H.target!==this.target)return!1;return!0},B}(Z)}).call(FR)});var VG=M((AR,$R)=>{(function(){var D,Z,Q,Y=function(q,B){for(var H in B)if(J.call(B,H))q[H]=B[H];function V(){this.constructor=q}return V.prototype=B.prototype,q.prototype=new V,q.__super__=B.prototype,q},J={}.hasOwnProperty;Q=_8(),D=H5(),$R.exports=Z=function(q){Y(B,q);function B(H){B.__super__.constructor.call(this,H),this.type=D.Dummy}return B.prototype.clone=function(){return Object.create(this)},B.prototype.toString=function(H){return""},B}(Q)}).call(AR)});var LR=M((ER,wR)=>{(function(){var D;wR.exports=D=function(){function Z(Q){this.nodes=Q}return Object.defineProperty(Z.prototype,"length",{get:function(){return this.nodes.length||0}}),Z.prototype.clone=function(){return this.nodes=null},Z.prototype.item=function(Q){return this.nodes[Q]||null},Z}()}).call(ER)});var MR=M((CR,RR)=>{(function(){RR.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(CR)});var _8=M((IR,jR)=>{(function(){var D,Z,Q,Y,J,q,B,H,V,K,G,W,O,F,E,L,j,P,u,U={}.hasOwnProperty;u=r2(),P=u.isObject,j=u.isFunction,L=u.isEmpty,E=u.getValue,H=null,Q=null,Y=null,J=null,q=null,O=null,F=null,W=null,B=null,Z=null,G=null,V=null,D=null,jR.exports=K=function(){function X(z){if(this.parent=z,this.parent)this.options=this.parent.options,this.stringify=this.parent.stringify;if(this.value=null,this.children=[],this.baseURI=null,!H)H=lY(),Q=pY(),Y=iY(),J=nY(),q=oY(),O=eY(),F=DJ(),W=ZJ(),B=VG(),Z=H5(),G=LR(),V=dY(),D=MR()}return Object.defineProperty(X.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(X.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(X.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(X.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(X.prototype,"childNodes",{get:function(){if(!this.childNodeList||!this.childNodeList.nodes)this.childNodeList=new G(this.children);return this.childNodeList}}),Object.defineProperty(X.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(X.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(X.prototype,"previousSibling",{get:function(){var z=this.parent.children.indexOf(this);return this.parent.children[z-1]||null}}),Object.defineProperty(X.prototype,"nextSibling",{get:function(){var z=this.parent.children.indexOf(this);return this.parent.children[z+1]||null}}),Object.defineProperty(X.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(X.prototype,"textContent",{get:function(){var z,A,S,w,C;if(this.nodeType===Z.Element||this.nodeType===Z.DocumentFragment){C="",w=this.children;for(A=0,S=w.length;A<S;A++)if(z=w[A],z.textContent)C+=z.textContent;return C}else return null},set:function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),X.prototype.setParent=function(z){var A,S,w,C,I;if(this.parent=z,z)this.options=z.options,this.stringify=z.stringify;C=this.children,I=[];for(S=0,w=C.length;S<w;S++)A=C[S],I.push(A.setParent(this));return I},X.prototype.element=function(z,A,S){var w,C,I,v,g,s,A0,w0,o,e,r;if(s=null,A===null&&S==null)o=[{},null],A=o[0],S=o[1];if(A==null)A={};if(A=E(A),!P(A))e=[A,S],S=e[0],A=e[1];if(z!=null)z=E(z);if(Array.isArray(z))for(I=0,A0=z.length;I<A0;I++)C=z[I],s=this.element(C);else if(j(z))s=this.element(z.apply());else if(P(z))for(g in z){if(!U.call(z,g))continue;if(r=z[g],j(r))r=r.apply();if(!this.options.ignoreDecorators&&this.stringify.convertAttKey&&g.indexOf(this.stringify.convertAttKey)===0)s=this.attribute(g.substr(this.stringify.convertAttKey.length),r);else if(!this.options.separateArrayItems&&Array.isArray(r)&&L(r))s=this.dummy();else if(P(r)&&L(r))s=this.element(g);else if(!this.options.keepNullNodes&&r==null)s=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(r))for(v=0,w0=r.length;v<w0;v++)C=r[v],w={},w[g]=C,s=this.element(w);else if(P(r))if(!this.options.ignoreDecorators&&this.stringify.convertTextKey&&g.indexOf(this.stringify.convertTextKey)===0)s=this.element(r);else s=this.element(g),s.element(r);else s=this.element(g,r)}else if(!this.options.keepNullNodes&&S===null)s=this.dummy();else if(!this.options.ignoreDecorators&&this.stringify.convertTextKey&&z.indexOf(this.stringify.convertTextKey)===0)s=this.text(S);else if(!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&z.indexOf(this.stringify.convertCDataKey)===0)s=this.cdata(S);else if(!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&z.indexOf(this.stringify.convertCommentKey)===0)s=this.comment(S);else if(!this.options.ignoreDecorators&&this.stringify.convertRawKey&&z.indexOf(this.stringify.convertRawKey)===0)s=this.raw(S);else if(!this.options.ignoreDecorators&&this.stringify.convertPIKey&&z.indexOf(this.stringify.convertPIKey)===0)s=this.instruction(z.substr(this.stringify.convertPIKey.length),S);else s=this.node(z,A,S);if(s==null)throw new Error("Could not create any elements with: "+z+". "+this.debugInfo());return s},X.prototype.insertBefore=function(z,A,S){var w,C,I,v,g;if(z!=null?z.type:void 0){if(I=z,v=A,I.setParent(this),v)C=children.indexOf(v),g=children.splice(C),children.push(I),Array.prototype.push.apply(children,g);else children.push(I);return I}else{if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(z));return C=this.parent.children.indexOf(this),g=this.parent.children.splice(C),w=this.parent.element(z,A,S),Array.prototype.push.apply(this.parent.children,g),w}},X.prototype.insertAfter=function(z,A,S){var w,C,I;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(z));return C=this.parent.children.indexOf(this),I=this.parent.children.splice(C+1),w=this.parent.element(z,A,S),Array.prototype.push.apply(this.parent.children,I),w},X.prototype.remove=function(){var z,A;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return z=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[z,z-z+1].concat(A=[])),this.parent},X.prototype.node=function(z,A,S){var w,C;if(z!=null)z=E(z);if(A||(A={}),A=E(A),!P(A))C=[A,S],S=C[0],A=C[1];if(w=new H(this,z,A),S!=null)w.text(S);return this.children.push(w),w},X.prototype.text=function(z){var A;if(P(z))this.element(z);return A=new F(this,z),this.children.push(A),this},X.prototype.cdata=function(z){var A=new Q(this,z);return this.children.push(A),this},X.prototype.comment=function(z){var A=new Y(this,z);return this.children.push(A),this},X.prototype.commentBefore=function(z){var A,S,w;return S=this.parent.children.indexOf(this),w=this.parent.children.splice(S),A=this.parent.comment(z),Array.prototype.push.apply(this.parent.children,w),this},X.prototype.commentAfter=function(z){var A,S,w;return S=this.parent.children.indexOf(this),w=this.parent.children.splice(S+1),A=this.parent.comment(z),Array.prototype.push.apply(this.parent.children,w),this},X.prototype.raw=function(z){var A=new O(this,z);return this.children.push(A),this},X.prototype.dummy=function(){var z=new B(this);return z},X.prototype.instruction=function(z,A){var S,w,C,I,v;if(z!=null)z=E(z);if(A!=null)A=E(A);if(Array.isArray(z))for(I=0,v=z.length;I<v;I++)S=z[I],this.instruction(S);else if(P(z))for(S in z){if(!U.call(z,S))continue;w=z[S],this.instruction(S,w)}else{if(j(A))A=A.apply();C=new W(this,z,A),this.children.push(C)}return this},X.prototype.instructionBefore=function(z,A){var S,w,C;return w=this.parent.children.indexOf(this),C=this.parent.children.splice(w),S=this.parent.instruction(z,A),Array.prototype.push.apply(this.parent.children,C),this},X.prototype.instructionAfter=function(z,A){var S,w,C;return w=this.parent.children.indexOf(this),C=this.parent.children.splice(w+1),S=this.parent.instruction(z,A),Array.prototype.push.apply(this.parent.children,C),this},X.prototype.declaration=function(z,A,S){var w,C;if(w=this.document(),C=new J(w,z,A,S),w.children.length===0)w.children.unshift(C);else if(w.children[0].type===Z.Declaration)w.children[0]=C;else w.children.unshift(C);return w.root()||w},X.prototype.dtd=function(z,A){var S,w,C,I,v,g,s,A0,w0,o;w=this.document(),C=new q(w,z,A),w0=w.children;for(I=v=0,s=w0.length;v<s;I=++v)if(S=w0[I],S.type===Z.DocType)return w.children[I]=C,C;o=w.children;for(I=g=0,A0=o.length;g<A0;I=++g)if(S=o[I],S.isRoot)return w.children.splice(I,0,C),C;return w.children.push(C),C},X.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},X.prototype.root=function(){var z=this;while(z)if(z.type===Z.Document)return z.rootObject;else if(z.isRoot)return z;else z=z.parent},X.prototype.document=function(){var z=this;while(z)if(z.type===Z.Document)return z;else z=z.parent},X.prototype.end=function(z){return this.document().end(z)},X.prototype.prev=function(){var z=this.parent.children.indexOf(this);if(z<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[z-1]},X.prototype.next=function(){var z=this.parent.children.indexOf(this);if(z===-1||z===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[z+1]},X.prototype.importDocument=function(z){var A=z.root().clone();return A.parent=this,A.isRoot=!1,this.children.push(A),this},X.prototype.debugInfo=function(z){var A,S;if(z=z||this.name,z==null&&!((A=this.parent)!=null?A.name:void 0))return"";else if(z==null)return"parent: <"+this.parent.name+">";else if(!((S=this.parent)!=null?S.name:void 0))return"node: <"+z+">";else return"node: <"+z+">, parent: <"+this.parent.name+">"},X.prototype.ele=function(z,A,S){return this.element(z,A,S)},X.prototype.nod=function(z,A,S){return this.node(z,A,S)},X.prototype.txt=function(z){return this.text(z)},X.prototype.dat=function(z){return this.cdata(z)},X.prototype.com=function(z){return this.comment(z)},X.prototype.ins=function(z,A){return this.instruction(z,A)},X.prototype.doc=function(){return this.document()},X.prototype.dec=function(z,A,S){return this.declaration(z,A,S)},X.prototype.e=function(z,A,S){return this.element(z,A,S)},X.prototype.n=function(z,A,S){return this.node(z,A,S)},X.prototype.t=function(z){return this.text(z)},X.prototype.d=function(z){return this.cdata(z)},X.prototype.c=function(z){return this.comment(z)},X.prototype.r=function(z){return this.raw(z)},X.prototype.i=function(z,A){return this.instruction(z,A)},X.prototype.u=function(){return this.up()},X.prototype.importXMLBuilder=function(z){return this.importDocument(z)},X.prototype.replaceChild=function(z,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.removeChild=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.appendChild=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.hasChildNodes=function(){return this.children.length!==0},X.prototype.cloneNode=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.isSupported=function(z,A){return!0},X.prototype.hasAttributes=function(){return this.attribs.length!==0},X.prototype.compareDocumentPosition=function(z){var A,S;if(A=this,A===z)return 0;else if(this.document()!==z.document()){if(S=D.Disconnected|D.ImplementationSpecific,Math.random()<0.5)S|=D.Preceding;else S|=D.Following;return S}else if(A.isAncestor(z))return D.Contains|D.Preceding;else if(A.isDescendant(z))return D.Contains|D.Following;else if(A.isPreceding(z))return D.Preceding;else return D.Following},X.prototype.isSameNode=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.lookupPrefix=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.isDefaultNamespace=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.lookupNamespaceURI=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.isEqualNode=function(z){var A,S,w;if(z.nodeType!==this.nodeType)return!1;if(z.children.length!==this.children.length)return!1;for(A=S=0,w=this.children.length-1;0<=w?S<=w:S>=w;A=0<=w?++S:--S)if(!this.children[A].isEqualNode(z.children[A]))return!1;return!0},X.prototype.getFeature=function(z,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.setUserData=function(z,A,S){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.getUserData=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.contains=function(z){if(!z)return!1;return z===this||this.isDescendant(z)},X.prototype.isDescendant=function(z){var A,S,w,C,I;I=this.children;for(w=0,C=I.length;w<C;w++){if(A=I[w],z===A)return!0;if(S=A.isDescendant(z),S)return!0}return!1},X.prototype.isAncestor=function(z){return z.isDescendant(this)},X.prototype.isPreceding=function(z){var A,S;if(A=this.treePosition(z),S=this.treePosition(this),A===-1||S===-1)return!1;else return A<S},X.prototype.isFollowing=function(z){var A,S;if(A=this.treePosition(z),S=this.treePosition(this),A===-1||S===-1)return!1;else return A>S},X.prototype.treePosition=function(z){var A,S;if(S=0,A=!1,this.foreachTreeNode(this.document(),function(w){if(S++,!A&&w===z)return A=!0}),A)return S;else return-1},X.prototype.foreachTreeNode=function(z,A){var S,w,C,I,v;z||(z=this.document()),I=z.children;for(w=0,C=I.length;w<C;w++)if(S=I[w],v=A(S))return v;else if(v=this.foreachTreeNode(S,A),v)return v},X}()}).call(IR)});var KG=M((NR,PR)=>{(function(){var D,Z=function(Y,J){return function(){return Y.apply(J,arguments)}},Q={}.hasOwnProperty;PR.exports=D=function(){function Y(J){this.assertLegalName=Z(this.assertLegalName,this),this.assertLegalChar=Z(this.assertLegalChar,this);var q,B,H;if(J||(J={}),this.options=J,!this.options.version)this.options.version="1.0";B=J.stringify||{};for(q in B){if(!Q.call(B,q))continue;H=B[q],this[q]=H}}return Y.prototype.name=function(J){if(this.options.noValidation)return J;return this.assertLegalName(""+J||"")},Y.prototype.text=function(J){if(this.options.noValidation)return J;return this.assertLegalChar(this.textEscape(""+J||""))},Y.prototype.cdata=function(J){if(this.options.noValidation)return J;return J=""+J||"",J=J.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(J)},Y.prototype.comment=function(J){if(this.options.noValidation)return J;if(J=""+J||"",J.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+J);return this.assertLegalChar(J)},Y.prototype.raw=function(J){if(this.options.noValidation)return J;return""+J||""},Y.prototype.attValue=function(J){if(this.options.noValidation)return J;return this.assertLegalChar(this.attEscape(J=""+J||""))},Y.prototype.insTarget=function(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")},Y.prototype.insValue=function(J){if(this.options.noValidation)return J;if(J=""+J||"",J.match(/\?>/))throw new Error("Invalid processing instruction value: "+J);return this.assertLegalChar(J)},Y.prototype.xmlVersion=function(J){if(this.options.noValidation)return J;if(J=""+J||"",!J.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+J);return J},Y.prototype.xmlEncoding=function(J){if(this.options.noValidation)return J;if(J=""+J||"",!J.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+J);return this.assertLegalChar(J)},Y.prototype.xmlStandalone=function(J){if(this.options.noValidation)return J;if(J)return"yes";else return"no"},Y.prototype.dtdPubID=function(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")},Y.prototype.dtdSysID=function(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")},Y.prototype.dtdElementValue=function(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")},Y.prototype.dtdAttType=function(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")},Y.prototype.dtdAttDefault=function(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")},Y.prototype.dtdEntityValue=function(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")},Y.prototype.dtdNData=function(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")},Y.prototype.convertAttKey="@",Y.prototype.convertPIKey="?",Y.prototype.convertTextKey="#text",Y.prototype.convertCDataKey="#cdata",Y.prototype.convertCommentKey="#comment",Y.prototype.convertRawKey="#raw",Y.prototype.assertLegalChar=function(J){var q,B;if(this.options.noValidation)return J;if(q="",this.options.version==="1.0"){if(q=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,B=J.match(q))throw new Error("Invalid character in string: "+J+" at index "+B.index)}else if(this.options.version==="1.1"){if(q=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,B=J.match(q))throw new Error("Invalid character in string: "+J+" at index "+B.index)}return J},Y.prototype.assertLegalName=function(J){var q;if(this.options.noValidation)return J;if(this.assertLegalChar(J),q=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!J.match(q))throw new Error("Invalid character in name");return J},Y.prototype.textEscape=function(J){var q;if(this.options.noValidation)return J;return q=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,J.replace(q,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},Y.prototype.attEscape=function(J){var q;if(this.options.noValidation)return J;return q=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,J.replace(q,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},Y}()}).call(NR)});var F3=M((SR,uR)=>{(function(){uR.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(SR)});var GG=M((vR,TR)=>{(function(){var D,Z,Q,Y,J,q,B,H,V,K,G,W,O,F,E,L,j,P={}.hasOwnProperty;j=r2().assign,D=H5(),V=nY(),K=oY(),Q=pY(),Y=iY(),W=lY(),F=eY(),E=DJ(),O=ZJ(),G=VG(),J=rY(),q=aY(),B=sY(),H=tY(),Z=F3(),TR.exports=L=function(){function u(U){var X,z,A;U||(U={}),this.options=U,z=U.writer||{};for(X in z){if(!P.call(z,X))continue;A=z[X],this["_"+X]=this[X],this[X]=A}}return u.prototype.filterOptions=function(U){var X,z,A,S,w,C,I,v;if(U||(U={}),U=j({},this.options,U),X={writer:this},X.pretty=U.pretty||!1,X.allowEmpty=U.allowEmpty||!1,X.indent=(z=U.indent)!=null?z:" ",X.newline=(A=U.newline)!=null?A:`
|
|
177
|
+
`,X.offset=(S=U.offset)!=null?S:0,X.dontPrettyTextNodes=(w=(C=U.dontPrettyTextNodes)!=null?C:U.dontprettytextnodes)!=null?w:0,X.spaceBeforeSlash=(I=(v=U.spaceBeforeSlash)!=null?v:U.spacebeforeslash)!=null?I:"",X.spaceBeforeSlash===!0)X.spaceBeforeSlash=" ";return X.suppressPrettyCount=0,X.user={},X.state=Z.None,X},u.prototype.indent=function(U,X,z){var A;if(!X.pretty||X.suppressPrettyCount)return"";else if(X.pretty){if(A=(z||0)+X.offset+1,A>0)return new Array(A).join(X.indent)}return""},u.prototype.endline=function(U,X,z){if(!X.pretty||X.suppressPrettyCount)return"";else return X.newline},u.prototype.attribute=function(U,X,z){var A;return this.openAttribute(U,X,z),A=" "+U.name+'="'+U.value+'"',this.closeAttribute(U,X,z),A},u.prototype.cdata=function(U,X,z){var A;return this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z)+"<![CDATA[",X.state=Z.InsideTag,A+=U.value,X.state=Z.CloseTag,A+="]]>"+this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A},u.prototype.comment=function(U,X,z){var A;return this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z)+"<!-- ",X.state=Z.InsideTag,A+=U.value,X.state=Z.CloseTag,A+=" -->"+this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A},u.prototype.declaration=function(U,X,z){var A;if(this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z)+"<?xml",X.state=Z.InsideTag,A+=' version="'+U.version+'"',U.encoding!=null)A+=' encoding="'+U.encoding+'"';if(U.standalone!=null)A+=' standalone="'+U.standalone+'"';return X.state=Z.CloseTag,A+=X.spaceBeforeSlash+"?>",A+=this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A},u.prototype.docType=function(U,X,z){var A,S,w,C,I;if(z||(z=0),this.openNode(U,X,z),X.state=Z.OpenTag,C=this.indent(U,X,z),C+="<!DOCTYPE "+U.root().name,U.pubID&&U.sysID)C+=' PUBLIC "'+U.pubID+'" "'+U.sysID+'"';else if(U.sysID)C+=' SYSTEM "'+U.sysID+'"';if(U.children.length>0){C+=" [",C+=this.endline(U,X,z),X.state=Z.InsideTag,I=U.children;for(S=0,w=I.length;S<w;S++)A=I[S],C+=this.writeChildNode(A,X,z+1);X.state=Z.CloseTag,C+="]"}return X.state=Z.CloseTag,C+=X.spaceBeforeSlash+">",C+=this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),C},u.prototype.element=function(U,X,z){var A,S,w,C,I,v,g,s,A0,w0,o,e,r,a;z||(z=0),w0=!1,o="",this.openNode(U,X,z),X.state=Z.OpenTag,o+=this.indent(U,X,z)+"<"+U.name,e=U.attribs;for(A0 in e){if(!P.call(e,A0))continue;A=e[A0],o+=this.attribute(A,X,z)}if(w=U.children.length,C=w===0?null:U.children[0],w===0||U.children.every(function(F0){return(F0.type===D.Text||F0.type===D.Raw)&&F0.value===""}))if(X.allowEmpty)o+=">",X.state=Z.CloseTag,o+="</"+U.name+">"+this.endline(U,X,z);else X.state=Z.CloseTag,o+=X.spaceBeforeSlash+"/>"+this.endline(U,X,z);else if(X.pretty&&w===1&&(C.type===D.Text||C.type===D.Raw)&&C.value!=null)o+=">",X.state=Z.InsideTag,X.suppressPrettyCount++,w0=!0,o+=this.writeChildNode(C,X,z+1),X.suppressPrettyCount--,w0=!1,X.state=Z.CloseTag,o+="</"+U.name+">"+this.endline(U,X,z);else{if(X.dontPrettyTextNodes){r=U.children;for(I=0,g=r.length;I<g;I++)if(S=r[I],(S.type===D.Text||S.type===D.Raw)&&S.value!=null){X.suppressPrettyCount++,w0=!0;break}}o+=">"+this.endline(U,X,z),X.state=Z.InsideTag,a=U.children;for(v=0,s=a.length;v<s;v++)S=a[v],o+=this.writeChildNode(S,X,z+1);if(X.state=Z.CloseTag,o+=this.indent(U,X,z)+"</"+U.name+">",w0)X.suppressPrettyCount--;o+=this.endline(U,X,z),X.state=Z.None}return this.closeNode(U,X,z),o},u.prototype.writeChildNode=function(U,X,z){switch(U.type){case D.CData:return this.cdata(U,X,z);case D.Comment:return this.comment(U,X,z);case D.Element:return this.element(U,X,z);case D.Raw:return this.raw(U,X,z);case D.Text:return this.text(U,X,z);case D.ProcessingInstruction:return this.processingInstruction(U,X,z);case D.Dummy:return"";case D.Declaration:return this.declaration(U,X,z);case D.DocType:return this.docType(U,X,z);case D.AttributeDeclaration:return this.dtdAttList(U,X,z);case D.ElementDeclaration:return this.dtdElement(U,X,z);case D.EntityDeclaration:return this.dtdEntity(U,X,z);case D.NotationDeclaration:return this.dtdNotation(U,X,z);default:throw new Error("Unknown XML node type: "+U.constructor.name)}},u.prototype.processingInstruction=function(U,X,z){var A;if(this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z)+"<?",X.state=Z.InsideTag,A+=U.target,U.value)A+=" "+U.value;return X.state=Z.CloseTag,A+=X.spaceBeforeSlash+"?>",A+=this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A},u.prototype.raw=function(U,X,z){var A;return this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z),X.state=Z.InsideTag,A+=U.value,X.state=Z.CloseTag,A+=this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A},u.prototype.text=function(U,X,z){var A;return this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z),X.state=Z.InsideTag,A+=U.value,X.state=Z.CloseTag,A+=this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A},u.prototype.dtdAttList=function(U,X,z){var A;if(this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z)+"<!ATTLIST",X.state=Z.InsideTag,A+=" "+U.elementName+" "+U.attributeName+" "+U.attributeType,U.defaultValueType!=="#DEFAULT")A+=" "+U.defaultValueType;if(U.defaultValue)A+=' "'+U.defaultValue+'"';return X.state=Z.CloseTag,A+=X.spaceBeforeSlash+">"+this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A},u.prototype.dtdElement=function(U,X,z){var A;return this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z)+"<!ELEMENT",X.state=Z.InsideTag,A+=" "+U.name+" "+U.value,X.state=Z.CloseTag,A+=X.spaceBeforeSlash+">"+this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A},u.prototype.dtdEntity=function(U,X,z){var A;if(this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z)+"<!ENTITY",X.state=Z.InsideTag,U.pe)A+=" %";if(A+=" "+U.name,U.value)A+=' "'+U.value+'"';else{if(U.pubID&&U.sysID)A+=' PUBLIC "'+U.pubID+'" "'+U.sysID+'"';else if(U.sysID)A+=' SYSTEM "'+U.sysID+'"';if(U.nData)A+=" NDATA "+U.nData}return X.state=Z.CloseTag,A+=X.spaceBeforeSlash+">"+this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A},u.prototype.dtdNotation=function(U,X,z){var A;if(this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z)+"<!NOTATION",X.state=Z.InsideTag,A+=" "+U.name,U.pubID&&U.sysID)A+=' PUBLIC "'+U.pubID+'" "'+U.sysID+'"';else if(U.pubID)A+=' PUBLIC "'+U.pubID+'"';else if(U.sysID)A+=' SYSTEM "'+U.sysID+'"';return X.state=Z.CloseTag,A+=X.spaceBeforeSlash+">"+this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A},u.prototype.openNode=function(U,X,z){},u.prototype.closeNode=function(U,X,z){},u.prototype.openAttribute=function(U,X,z){},u.prototype.closeAttribute=function(U,X,z){},u}()}).call(vR)});var QJ=M((bR,hR)=>{(function(){var D,Z,Q=function(J,q){for(var B in q)if(Y.call(q,B))J[B]=q[B];function H(){this.constructor=J}return H.prototype=q.prototype,J.prototype=new H,J.__super__=q.prototype,J},Y={}.hasOwnProperty;Z=GG(),hR.exports=D=function(J){Q(q,J);function q(B){q.__super__.constructor.call(this,B)}return q.prototype.document=function(B,H){var V,K,G,W,O;H=this.filterOptions(H),W="",O=B.children;for(K=0,G=O.length;K<G;K++)V=O[K],W+=this.writeChildNode(V,H,0);if(H.pretty&&W.slice(-H.newline.length)===H.newline)W=W.slice(0,-H.newline.length);return W},q}(Z)}).call(bR)});var zG=M((_R,kR)=>{(function(){var D,Z,Q,Y,J,q,B,H,V=function(G,W){for(var O in W)if(K.call(W,O))G[O]=W[O];function F(){this.constructor=G}return F.prototype=W.prototype,G.prototype=new F,G.__super__=W.prototype,G},K={}.hasOwnProperty;H=r2().isPlainObject,Q=BG(),Z=fC(),J=_8(),D=H5(),B=KG(),q=QJ(),kR.exports=Y=function(G){V(W,G);function W(O){if(W.__super__.constructor.call(this,null),this.name="#document",this.type=D.Document,this.documentURI=null,this.domConfig=new Z,O||(O={}),!O.writer)O.writer=new q;this.options=O,this.stringify=new B(O)}return Object.defineProperty(W.prototype,"implementation",{value:new Q}),Object.defineProperty(W.prototype,"doctype",{get:function(){var O,F,E,L;L=this.children;for(F=0,E=L.length;F<E;F++)if(O=L[F],O.type===D.DocType)return O;return null}}),Object.defineProperty(W.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(W.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(W.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(W.prototype,"xmlEncoding",{get:function(){if(this.children.length!==0&&this.children[0].type===D.Declaration)return this.children[0].encoding;else return null}}),Object.defineProperty(W.prototype,"xmlStandalone",{get:function(){if(this.children.length!==0&&this.children[0].type===D.Declaration)return this.children[0].standalone==="yes";else return!1}}),Object.defineProperty(W.prototype,"xmlVersion",{get:function(){if(this.children.length!==0&&this.children[0].type===D.Declaration)return this.children[0].version;else return"1.0"}}),Object.defineProperty(W.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(W.prototype,"origin",{get:function(){return null}}),Object.defineProperty(W.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(W.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(W.prototype,"contentType",{get:function(){return null}}),W.prototype.end=function(O){var F={};if(!O)O=this.options.writer;else if(H(O))F=O,O=this.options.writer;return O.document(this,O.filterOptions(F))},W.prototype.toString=function(O){return this.options.writer.document(this,this.options.writer.filterOptions(O))},W.prototype.createElement=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.createTextNode=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.createComment=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.createCDATASection=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.createProcessingInstruction=function(O,F){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.createAttribute=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.createEntityReference=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.getElementsByTagName=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.importNode=function(O,F){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.createElementNS=function(O,F){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.createAttributeNS=function(O,F){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.getElementsByTagNameNS=function(O,F){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.getElementById=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.adoptNode=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.renameNode=function(O,F,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.getElementsByClassName=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.createEvent=function(O){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.createNodeIterator=function(O,F,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.createTreeWalker=function(O,F,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},W}(J)}).call(_R)});var xR=M((yR,fR)=>{(function(){var D,Z,Q,Y,J,q,B,H,V,K,G,W,O,F,E,L,j,P,u,U,X,z,A,S,w={}.hasOwnProperty;S=r2(),z=S.isObject,X=S.isFunction,A=S.isPlainObject,U=S.getValue,D=H5(),W=zG(),F=lY(),Y=pY(),J=iY(),L=eY(),u=DJ(),E=ZJ(),K=nY(),G=oY(),q=rY(),H=sY(),B=aY(),V=tY(),Q=HG(),P=KG(),j=QJ(),Z=F3(),fR.exports=O=function(){function C(I,v,g){var s;if(this.name="?xml",this.type=D.Document,I||(I={}),s={},!I.writer)I.writer=new j;else if(A(I.writer))s=I.writer,I.writer=new j;this.options=I,this.writer=I.writer,this.writerOptions=this.writer.filterOptions(s),this.stringify=new P(I),this.onDataCallback=v||function(){},this.onEndCallback=g||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return C.prototype.createChildNode=function(I){var v,g,s,A0,w0,o,e,r;switch(I.type){case D.CData:this.cdata(I.value);break;case D.Comment:this.comment(I.value);break;case D.Element:s={},e=I.attribs;for(g in e){if(!w.call(e,g))continue;v=e[g],s[g]=v.value}this.node(I.name,s);break;case D.Dummy:this.dummy();break;case D.Raw:this.raw(I.value);break;case D.Text:this.text(I.value);break;case D.ProcessingInstruction:this.instruction(I.target,I.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+I.constructor.name)}r=I.children;for(w0=0,o=r.length;w0<o;w0++)if(A0=r[w0],this.createChildNode(A0),A0.type===D.Element)this.up();return this},C.prototype.dummy=function(){return this},C.prototype.node=function(I,v,g){var s;if(I==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(I));if(this.openCurrent(),I=U(I),v==null)v={};if(v=U(v),!z(v))s=[v,g],g=s[0],v=s[1];if(this.currentNode=new F(this,I,v),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,g!=null)this.text(g);return this},C.prototype.element=function(I,v,g){var s,A0,w0,o,e,r;if(this.currentNode&&this.currentNode.type===D.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(I)||z(I)||X(I)){o=this.options.noValidation,this.options.noValidation=!0,r=new W(this.options).element("TEMP_ROOT"),r.element(I),this.options.noValidation=o,e=r.children;for(A0=0,w0=e.length;A0<w0;A0++)if(s=e[A0],this.createChildNode(s),s.type===D.Element)this.up()}else this.node(I,v,g);return this},C.prototype.attribute=function(I,v){var g,s;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(I));if(I!=null)I=U(I);if(z(I))for(g in I){if(!w.call(I,g))continue;s=I[g],this.attribute(g,s)}else{if(X(v))v=v.apply();if(this.options.keepNullAttributes&&v==null)this.currentNode.attribs[I]=new Q(this,I,"");else if(v!=null)this.currentNode.attribs[I]=new Q(this,I,v)}return this},C.prototype.text=function(I){var v;return this.openCurrent(),v=new u(this,I),this.onData(this.writer.text(v,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},C.prototype.cdata=function(I){var v;return this.openCurrent(),v=new Y(this,I),this.onData(this.writer.cdata(v,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},C.prototype.comment=function(I){var v;return this.openCurrent(),v=new J(this,I),this.onData(this.writer.comment(v,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},C.prototype.raw=function(I){var v;return this.openCurrent(),v=new L(this,I),this.onData(this.writer.raw(v,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},C.prototype.instruction=function(I,v){var g,s,A0,w0,o;if(this.openCurrent(),I!=null)I=U(I);if(v!=null)v=U(v);if(Array.isArray(I))for(g=0,w0=I.length;g<w0;g++)s=I[g],this.instruction(s);else if(z(I))for(s in I){if(!w.call(I,s))continue;A0=I[s],this.instruction(s,A0)}else{if(X(v))v=v.apply();o=new E(this,I,v),this.onData(this.writer.processingInstruction(o,this.writerOptions,this.currentLevel+1),this.currentLevel+1)}return this},C.prototype.declaration=function(I,v,g){var s;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return s=new K(this,I,v,g),this.onData(this.writer.declaration(s,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},C.prototype.doctype=function(I,v,g){if(this.openCurrent(),I==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new G(this,v,g),this.currentNode.rootNodeName=I,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},C.prototype.dtdElement=function(I,v){var g;return this.openCurrent(),g=new B(this,I,v),this.onData(this.writer.dtdElement(g,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},C.prototype.attList=function(I,v,g,s,A0){var w0;return this.openCurrent(),w0=new q(this,I,v,g,s,A0),this.onData(this.writer.dtdAttList(w0,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},C.prototype.entity=function(I,v){var g;return this.openCurrent(),g=new H(this,!1,I,v),this.onData(this.writer.dtdEntity(g,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},C.prototype.pEntity=function(I,v){var g;return this.openCurrent(),g=new H(this,!0,I,v),this.onData(this.writer.dtdEntity(g,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},C.prototype.notation=function(I,v){var g;return this.openCurrent(),g=new V(this,I,v),this.onData(this.writer.dtdNotation(g,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},C.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");if(this.currentNode){if(this.currentNode.children)this.closeNode(this.currentNode);else this.openNode(this.currentNode);this.currentNode=null}else this.closeNode(this.openTags[this.currentLevel]);return delete this.openTags[this.currentLevel],this.currentLevel--,this},C.prototype.end=function(){while(this.currentLevel>=0)this.up();return this.onEnd()},C.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},C.prototype.openNode=function(I){var v,g,s,A0;if(!I.isOpen){if(!this.root&&this.currentLevel===0&&I.type===D.Element)this.root=I;if(g="",I.type===D.Element){this.writerOptions.state=Z.OpenTag,g=this.writer.indent(I,this.writerOptions,this.currentLevel)+"<"+I.name,A0=I.attribs;for(s in A0){if(!w.call(A0,s))continue;v=A0[s],g+=this.writer.attribute(v,this.writerOptions,this.currentLevel)}g+=(I.children?">":"/>")+this.writer.endline(I,this.writerOptions,this.currentLevel),this.writerOptions.state=Z.InsideTag}else{if(this.writerOptions.state=Z.OpenTag,g=this.writer.indent(I,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+I.rootNodeName,I.pubID&&I.sysID)g+=' PUBLIC "'+I.pubID+'" "'+I.sysID+'"';else if(I.sysID)g+=' SYSTEM "'+I.sysID+'"';if(I.children)g+=" [",this.writerOptions.state=Z.InsideTag;else this.writerOptions.state=Z.CloseTag,g+=">";g+=this.writer.endline(I,this.writerOptions,this.currentLevel)}return this.onData(g,this.currentLevel),I.isOpen=!0}},C.prototype.closeNode=function(I){var v;if(!I.isClosed){if(v="",this.writerOptions.state=Z.CloseTag,I.type===D.Element)v=this.writer.indent(I,this.writerOptions,this.currentLevel)+"</"+I.name+">"+this.writer.endline(I,this.writerOptions,this.currentLevel);else v=this.writer.indent(I,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(I,this.writerOptions,this.currentLevel);return this.writerOptions.state=Z.None,this.onData(v,this.currentLevel),I.isClosed=!0}},C.prototype.onData=function(I,v){return this.documentStarted=!0,this.onDataCallback(I,v+1)},C.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},C.prototype.debugInfo=function(I){if(I==null)return"";else return"node: <"+I+">"},C.prototype.ele=function(){return this.element.apply(this,arguments)},C.prototype.nod=function(I,v,g){return this.node(I,v,g)},C.prototype.txt=function(I){return this.text(I)},C.prototype.dat=function(I){return this.cdata(I)},C.prototype.com=function(I){return this.comment(I)},C.prototype.ins=function(I,v){return this.instruction(I,v)},C.prototype.dec=function(I,v,g){return this.declaration(I,v,g)},C.prototype.dtd=function(I,v,g){return this.doctype(I,v,g)},C.prototype.e=function(I,v,g){return this.element(I,v,g)},C.prototype.n=function(I,v,g){return this.node(I,v,g)},C.prototype.t=function(I){return this.text(I)},C.prototype.d=function(I){return this.cdata(I)},C.prototype.c=function(I){return this.comment(I)},C.prototype.r=function(I){return this.raw(I)},C.prototype.i=function(I,v){return this.instruction(I,v)},C.prototype.att=function(){if(this.currentNode&&this.currentNode.type===D.DocType)return this.attList.apply(this,arguments);else return this.attribute.apply(this,arguments)},C.prototype.a=function(){if(this.currentNode&&this.currentNode.type===D.DocType)return this.attList.apply(this,arguments);else return this.attribute.apply(this,arguments)},C.prototype.ent=function(I,v){return this.entity(I,v)},C.prototype.pent=function(I,v){return this.pEntity(I,v)},C.prototype.not=function(I,v){return this.notation(I,v)},C}()}).call(yR)});var cR=M((mR,gR)=>{(function(){var D,Z,Q,Y,J=function(B,H){for(var V in H)if(q.call(H,V))B[V]=H[V];function K(){this.constructor=B}return K.prototype=H.prototype,B.prototype=new K,B.__super__=H.prototype,B},q={}.hasOwnProperty;D=H5(),Y=GG(),Z=F3(),gR.exports=Q=function(B){J(H,B);function H(V,K){this.stream=V,H.__super__.constructor.call(this,K)}return H.prototype.endline=function(V,K,G){if(V.isLastRootNode&&K.state===Z.CloseTag)return"";else return H.__super__.endline.call(this,V,K,G)},H.prototype.document=function(V,K){var G,W,O,F,E,L,j,P,u;j=V.children;for(W=O=0,E=j.length;O<E;W=++O)G=j[W],G.isLastRootNode=W===V.children.length-1;K=this.filterOptions(K),P=V.children,u=[];for(F=0,L=P.length;F<L;F++)G=P[F],u.push(this.writeChildNode(G,K,0));return u},H.prototype.attribute=function(V,K,G){return this.stream.write(H.__super__.attribute.call(this,V,K,G))},H.prototype.cdata=function(V,K,G){return this.stream.write(H.__super__.cdata.call(this,V,K,G))},H.prototype.comment=function(V,K,G){return this.stream.write(H.__super__.comment.call(this,V,K,G))},H.prototype.declaration=function(V,K,G){return this.stream.write(H.__super__.declaration.call(this,V,K,G))},H.prototype.docType=function(V,K,G){var W,O,F,E;if(G||(G=0),this.openNode(V,K,G),K.state=Z.OpenTag,this.stream.write(this.indent(V,K,G)),this.stream.write("<!DOCTYPE "+V.root().name),V.pubID&&V.sysID)this.stream.write(' PUBLIC "'+V.pubID+'" "'+V.sysID+'"');else if(V.sysID)this.stream.write(' SYSTEM "'+V.sysID+'"');if(V.children.length>0){this.stream.write(" ["),this.stream.write(this.endline(V,K,G)),K.state=Z.InsideTag,E=V.children;for(O=0,F=E.length;O<F;O++)W=E[O],this.writeChildNode(W,K,G+1);K.state=Z.CloseTag,this.stream.write("]")}return K.state=Z.CloseTag,this.stream.write(K.spaceBeforeSlash+">"),this.stream.write(this.endline(V,K,G)),K.state=Z.None,this.closeNode(V,K,G)},H.prototype.element=function(V,K,G){var W,O,F,E,L,j,P,u,U,X;G||(G=0),this.openNode(V,K,G),K.state=Z.OpenTag,this.stream.write(this.indent(V,K,G)+"<"+V.name),U=V.attribs;for(P in U){if(!q.call(U,P))continue;W=U[P],this.attribute(W,K,G)}if(F=V.children.length,E=F===0?null:V.children[0],F===0||V.children.every(function(z){return(z.type===D.Text||z.type===D.Raw)&&z.value===""}))if(K.allowEmpty)this.stream.write(">"),K.state=Z.CloseTag,this.stream.write("</"+V.name+">");else K.state=Z.CloseTag,this.stream.write(K.spaceBeforeSlash+"/>");else if(K.pretty&&F===1&&(E.type===D.Text||E.type===D.Raw)&&E.value!=null)this.stream.write(">"),K.state=Z.InsideTag,K.suppressPrettyCount++,u=!0,this.writeChildNode(E,K,G+1),K.suppressPrettyCount--,u=!1,K.state=Z.CloseTag,this.stream.write("</"+V.name+">");else{this.stream.write(">"+this.endline(V,K,G)),K.state=Z.InsideTag,X=V.children;for(L=0,j=X.length;L<j;L++)O=X[L],this.writeChildNode(O,K,G+1);K.state=Z.CloseTag,this.stream.write(this.indent(V,K,G)+"</"+V.name+">")}return this.stream.write(this.endline(V,K,G)),K.state=Z.None,this.closeNode(V,K,G)},H.prototype.processingInstruction=function(V,K,G){return this.stream.write(H.__super__.processingInstruction.call(this,V,K,G))},H.prototype.raw=function(V,K,G){return this.stream.write(H.__super__.raw.call(this,V,K,G))},H.prototype.text=function(V,K,G){return this.stream.write(H.__super__.text.call(this,V,K,G))},H.prototype.dtdAttList=function(V,K,G){return this.stream.write(H.__super__.dtdAttList.call(this,V,K,G))},H.prototype.dtdElement=function(V,K,G){return this.stream.write(H.__super__.dtdElement.call(this,V,K,G))},H.prototype.dtdEntity=function(V,K,G){return this.stream.write(H.__super__.dtdEntity.call(this,V,K,G))},H.prototype.dtdNotation=function(V,K,G){return this.stream.write(H.__super__.dtdNotation.call(this,V,K,G))},H}(Y)}).call(mR)});var lR=M((dR,WD)=>{(function(){var D,Z,Q,Y,J,q,B,H,V,K;K=r2(),H=K.assign,V=K.isFunction,Q=BG(),Y=zG(),J=xR(),B=QJ(),q=cR(),D=H5(),Z=F3(),WD.exports.create=function(G,W,O,F){var E,L;if(G==null)throw new Error("Root element needs a name.");if(F=H({},W,O,F),E=new Y(F),L=E.element(G),!F.headless){if(E.declaration(F),F.pubID!=null||F.sysID!=null)E.dtd(F)}return L},WD.exports.begin=function(G,W,O){var F;if(V(G))F=[G,W],W=F[0],O=F[1],G={};if(W)return new J(G,W,O);else return new Y(G)},WD.exports.stringWriter=function(G){return new B(G)},WD.exports.streamWriter=function(G,W){return new q(G,W)},WD.exports.implementation=new Q,WD.exports.nodeType=D,WD.exports.writerState=Z}).call(dR)});var pR=M((WG)=>{(function(){var D,Z,Q,Y,J,q={}.hasOwnProperty;D=lR(),Z=cY().defaults,Y=function(B){return typeof B==="string"&&(B.indexOf("&")>=0||B.indexOf(">")>=0||B.indexOf("<")>=0)},J=function(B){return"<![CDATA["+Q(B)+"]]>"},Q=function(B){return B.replace("]]>","]]]]><![CDATA[>")},WG.Builder=function(){function B(H){var V,K,G;this.options={},K=Z["0.2"];for(V in K){if(!q.call(K,V))continue;G=K[V],this.options[V]=G}for(V in H){if(!q.call(H,V))continue;G=H[V],this.options[V]=G}}return B.prototype.buildObject=function(H){var V,K,G,W,O;if(V=this.options.attrkey,K=this.options.charkey,Object.keys(H).length===1&&this.options.rootName===Z["0.2"].rootName)O=Object.keys(H)[0],H=H[O];else O=this.options.rootName;return G=function(F){return function(E,L){var j,P,u,U,X,z;if(typeof L!=="object")if(F.options.cdata&&Y(L))E.raw(J(L));else E.txt(L);else if(Array.isArray(L))for(U in L){if(!q.call(L,U))continue;P=L[U];for(X in P)u=P[X],E=G(E.ele(X),u).up()}else for(X in L){if(!q.call(L,X))continue;if(P=L[X],X===V){if(typeof P==="object")for(j in P)z=P[j],E=E.att(j,z)}else if(X===K)if(F.options.cdata&&Y(P))E=E.raw(J(P));else E=E.txt(P);else if(Array.isArray(P))for(U in P){if(!q.call(P,U))continue;if(u=P[U],typeof u==="string")if(F.options.cdata&&Y(u))E=E.ele(X).raw(J(u)).up();else E=E.ele(X,u).up();else E=G(E.ele(X),u).up()}else if(typeof P==="object")E=G(E.ele(X),P).up();else if(typeof P==="string"&&F.options.cdata&&Y(P))E=E.ele(X).raw(J(P)).up();else{if(P==null)P="";E=E.ele(X,P.toString()).up()}}return E}}(this),W=D.create(O,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),G(W,H).end(this.options.renderOpts)},B}()}).call(WG)});var iR=M((YJ)=>{(function(D){D.parser=function(N,R){return new Q(N,R)},D.SAXParser=Q,D.SAXStream=K,D.createStream=V,D.MAX_BUFFER_LENGTH=65536;var Z=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];D.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function Q(N,R){if(!(this instanceof Q))return new Q(N,R);var t=this;if(J(t),t.q=t.c="",t.bufferCheckPosition=D.MAX_BUFFER_LENGTH,t.opt=R||{},t.opt.lowercase=t.opt.lowercase||t.opt.lowercasetags,t.looseCase=t.opt.lowercase?"toLowerCase":"toUpperCase",t.tags=[],t.closed=t.closedRoot=t.sawRoot=!1,t.tag=t.error=null,t.strict=!!N,t.noscript=!!(N||t.opt.noscript),t.state=w.BEGIN,t.strictEntities=t.opt.strictEntities,t.ENTITIES=t.strictEntities?Object.create(D.XML_ENTITIES):Object.create(D.ENTITIES),t.attribList=[],t.opt.xmlns)t.ns=Object.create(E);if(t.opt.unquotedAttributeValues===void 0)t.opt.unquotedAttributeValues=!N;if(t.trackPosition=t.opt.position!==!1,t.trackPosition)t.position=t.line=t.column=0;I(t,"onready")}if(!Object.create)Object.create=function(N){function R(){}R.prototype=N;var t=new R;return t};if(!Object.keys)Object.keys=function(N){var R=[];for(var t in N)if(N.hasOwnProperty(t))R.push(t);return R};function Y(N){var R=Math.max(D.MAX_BUFFER_LENGTH,10),t=0;for(var x=0,M0=Z.length;x<M0;x++){var s0=N[Z[x]].length;if(s0>R)switch(Z[x]){case"textNode":g(N);break;case"cdata":v(N,"oncdata",N.cdata),N.cdata="";break;case"script":v(N,"onscript",N.script),N.script="";break;default:A0(N,"Max buffer length exceeded: "+Z[x])}t=Math.max(t,s0)}var e0=D.MAX_BUFFER_LENGTH-t;N.bufferCheckPosition=e0+N.position}function J(N){for(var R=0,t=Z.length;R<t;R++)N[Z[R]]=""}function q(N){if(g(N),N.cdata!=="")v(N,"oncdata",N.cdata),N.cdata="";if(N.script!=="")v(N,"onscript",N.script),N.script=""}Q.prototype={end:function(){w0(this)},write:H1,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){q(this)}};var B;try{B=require("stream").Stream}catch(N){B=function(){}}if(!B)B=function(){};var H=D.EVENTS.filter(function(N){return N!=="error"&&N!=="end"});function V(N,R){return new K(N,R)}function K(N,R){if(!(this instanceof K))return new K(N,R);B.apply(this),this._parser=new Q(N,R),this.writable=!0,this.readable=!0;var t=this;this._parser.onend=function(){t.emit("end")},this._parser.onerror=function(x){t.emit("error",x),t._parser.error=null},this._decoder=null,H.forEach(function(x){Object.defineProperty(t,"on"+x,{get:function(){return t._parser["on"+x]},set:function(M0){if(!M0)return t.removeAllListeners(x),t._parser["on"+x]=M0,M0;t.on(x,M0)},enumerable:!0,configurable:!1})})}K.prototype=Object.create(B.prototype,{constructor:{value:K}}),K.prototype.write=function(N){if(typeof Buffer==="function"&&typeof Buffer.isBuffer==="function"&&Buffer.isBuffer(N)){if(!this._decoder){var R=require("string_decoder").StringDecoder;this._decoder=new R("utf8")}N=this._decoder.write(N)}return this._parser.write(N.toString()),this.emit("data",N),!0},K.prototype.end=function(N){if(N&&N.length)this.write(N);return this._parser.end(),!0},K.prototype.on=function(N,R){var t=this;if(!t._parser["on"+N]&&H.indexOf(N)!==-1)t._parser["on"+N]=function(){var x=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);x.splice(0,0,N),t.emit.apply(t,x)};return B.prototype.on.call(t,N,R)};var G="[CDATA[",W="DOCTYPE",O="http://www.w3.org/XML/1998/namespace",F="http://www.w3.org/2000/xmlns/",E={xml:O,xmlns:F},L=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,j=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,P=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,u=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function U(N){return N===" "||N===`
|
|
178
|
+
`||N==="\r"||N==="\t"}function X(N){return N==='"'||N==="'"}function z(N){return N===">"||U(N)}function A(N,R){return N.test(R)}function S(N,R){return!A(N,R)}var w=0;D.STATE={BEGIN:w++,BEGIN_WHITESPACE:w++,TEXT:w++,TEXT_ENTITY:w++,OPEN_WAKA:w++,SGML_DECL:w++,SGML_DECL_QUOTED:w++,DOCTYPE:w++,DOCTYPE_QUOTED:w++,DOCTYPE_DTD:w++,DOCTYPE_DTD_QUOTED:w++,COMMENT_STARTING:w++,COMMENT:w++,COMMENT_ENDING:w++,COMMENT_ENDED:w++,CDATA:w++,CDATA_ENDING:w++,CDATA_ENDING_2:w++,PROC_INST:w++,PROC_INST_BODY:w++,PROC_INST_ENDING:w++,OPEN_TAG:w++,OPEN_TAG_SLASH:w++,ATTRIB:w++,ATTRIB_NAME:w++,ATTRIB_NAME_SAW_WHITE:w++,ATTRIB_VALUE:w++,ATTRIB_VALUE_QUOTED:w++,ATTRIB_VALUE_CLOSED:w++,ATTRIB_VALUE_UNQUOTED:w++,ATTRIB_VALUE_ENTITY_Q:w++,ATTRIB_VALUE_ENTITY_U:w++,CLOSE_TAG:w++,CLOSE_TAG_SAW_WHITE:w++,SCRIPT:w++,SCRIPT_ENDING:w++},D.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},D.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(D.ENTITIES).forEach(function(N){var R=D.ENTITIES[N],t=typeof R==="number"?String.fromCharCode(R):R;D.ENTITIES[N]=t});for(var C in D.STATE)D.STATE[D.STATE[C]]=C;w=D.STATE;function I(N,R,t){N[R]&&N[R](t)}function v(N,R,t){if(N.textNode)g(N);I(N,R,t)}function g(N){if(N.textNode=s(N.opt,N.textNode),N.textNode)I(N,"ontext",N.textNode);N.textNode=""}function s(N,R){if(N.trim)R=R.trim();if(N.normalize)R=R.replace(/\s+/g," ");return R}function A0(N,R){if(g(N),N.trackPosition)R+=`
|
|
179
|
+
Line: `+N.line+`
|
|
180
|
+
Column: `+N.column+`
|
|
181
|
+
Char: `+N.c;return R=new Error(R),N.error=R,I(N,"onerror",R),N}function w0(N){if(N.sawRoot&&!N.closedRoot)o(N,"Unclosed root tag");if(N.state!==w.BEGIN&&N.state!==w.BEGIN_WHITESPACE&&N.state!==w.TEXT)A0(N,"Unexpected end");return g(N),N.c="",N.closed=!0,I(N,"onend"),Q.call(N,N.strict,N.opt),N}function o(N,R){if(typeof N!=="object"||!(N instanceof Q))throw new Error("bad call to strictFail");if(N.strict)A0(N,R)}function e(N){if(!N.strict)N.tagName=N.tagName[N.looseCase]();var R=N.tags[N.tags.length-1]||N,t=N.tag={name:N.tagName,attributes:{}};if(N.opt.xmlns)t.ns=R.ns;N.attribList.length=0,v(N,"onopentagstart",t)}function r(N,R){var t=N.indexOf(":"),x=t<0?["",N]:N.split(":"),M0=x[0],s0=x[1];if(R&&N==="xmlns")M0="xmlns",s0="";return{prefix:M0,local:s0}}function a(N){if(!N.strict)N.attribName=N.attribName[N.looseCase]();if(N.attribList.indexOf(N.attribName)!==-1||N.tag.attributes.hasOwnProperty(N.attribName)){N.attribName=N.attribValue="";return}if(N.opt.xmlns){var R=r(N.attribName,!0),t=R.prefix,x=R.local;if(t==="xmlns")if(x==="xml"&&N.attribValue!==O)o(N,"xml: prefix must be bound to "+O+`
|
|
182
|
+
Actual: `+N.attribValue);else if(x==="xmlns"&&N.attribValue!==F)o(N,"xmlns: prefix must be bound to "+F+`
|
|
183
|
+
Actual: `+N.attribValue);else{var M0=N.tag,s0=N.tags[N.tags.length-1]||N;if(M0.ns===s0.ns)M0.ns=Object.create(s0.ns);M0.ns[x]=N.attribValue}N.attribList.push([N.attribName,N.attribValue])}else N.tag.attributes[N.attribName]=N.attribValue,v(N,"onattribute",{name:N.attribName,value:N.attribValue});N.attribName=N.attribValue=""}function F0(N,R){if(N.opt.xmlns){var t=N.tag,x=r(N.tagName);if(t.prefix=x.prefix,t.local=x.local,t.uri=t.ns[x.prefix]||"",t.prefix&&!t.uri)o(N,"Unbound namespace prefix: "+JSON.stringify(N.tagName)),t.uri=x.prefix;var M0=N.tags[N.tags.length-1]||N;if(t.ns&&M0.ns!==t.ns)Object.keys(t.ns).forEach(function(g0){v(N,"onopennamespace",{prefix:g0,uri:t.ns[g0]})});for(var s0=0,e0=N.attribList.length;s0<e0;s0++){var j1=N.attribList[s0],$1=j1[0],h1=j1[1],V0=r($1,!0),q0=V0.prefix,E0=V0.local,L0=q0===""?"":t.ns[q0]||"",x0={name:$1,value:h1,prefix:q0,local:E0,uri:L0};if(q0&&q0!=="xmlns"&&!L0)o(N,"Unbound namespace prefix: "+JSON.stringify(q0)),x0.uri=q0;N.tag.attributes[$1]=x0,v(N,"onattribute",x0)}N.attribList.length=0}if(N.tag.isSelfClosing=!!R,N.sawRoot=!0,N.tags.push(N.tag),v(N,"onopentag",N.tag),!R){if(!N.noscript&&N.tagName.toLowerCase()==="script")N.state=w.SCRIPT;else N.state=w.TEXT;N.tag=null,N.tagName=""}N.attribName=N.attribValue="",N.attribList.length=0}function u0(N){if(!N.tagName){o(N,"Weird empty close tag."),N.textNode+="</>",N.state=w.TEXT;return}if(N.script){if(N.tagName!=="script"){N.script+="</"+N.tagName+">",N.tagName="",N.state=w.SCRIPT;return}v(N,"onscript",N.script),N.script=""}var R=N.tags.length,t=N.tagName;if(!N.strict)t=t[N.looseCase]();var x=t;while(R--){var M0=N.tags[R];if(M0.name!==x)o(N,"Unexpected close tag");else break}if(R<0){o(N,"Unmatched closing tag: "+N.tagName),N.textNode+="</"+N.tagName+">",N.state=w.TEXT;return}N.tagName=t;var s0=N.tags.length;while(s0-- >R){var e0=N.tag=N.tags.pop();N.tagName=N.tag.name,v(N,"onclosetag",N.tagName);var j1={};for(var $1 in e0.ns)j1[$1]=e0.ns[$1];var h1=N.tags[N.tags.length-1]||N;if(N.opt.xmlns&&e0.ns!==h1.ns)Object.keys(e0.ns).forEach(function(V0){var q0=e0.ns[V0];v(N,"onclosenamespace",{prefix:V0,uri:q0})})}if(R===0)N.closedRoot=!0;N.tagName=N.attribValue=N.attribName="",N.attribList.length=0,N.state=w.TEXT}function l0(N){var R=N.entity,t=R.toLowerCase(),x,M0="";if(N.ENTITIES[R])return N.ENTITIES[R];if(N.ENTITIES[t])return N.ENTITIES[t];if(R=t,R.charAt(0)==="#")if(R.charAt(1)==="x")R=R.slice(2),x=parseInt(R,16),M0=x.toString(16);else R=R.slice(1),x=parseInt(R,10),M0=x.toString(10);if(R=R.replace(/^0+/,""),isNaN(x)||M0.toLowerCase()!==R)return o(N,"Invalid character entity"),"&"+N.entity+";";return String.fromCodePoint(x)}function o0(N,R){if(R==="<")N.state=w.OPEN_WAKA,N.startTagPosition=N.position;else if(!U(R))o(N,"Non-whitespace before first tag."),N.textNode=R,N.state=w.TEXT}function p0(N,R){var t="";if(R<N.length)t=N.charAt(R);return t}function H1(N){var R=this;if(this.error)throw this.error;if(R.closed)return A0(R,"Cannot write after close. Assign an onready handler.");if(N===null)return w0(R);if(typeof N==="object")N=N.toString();var t=0,x="";while(!0){if(x=p0(N,t++),R.c=x,!x)break;if(R.trackPosition)if(R.position++,x===`
|
|
184
|
+
`)R.line++,R.column=0;else R.column++;switch(R.state){case w.BEGIN:if(R.state=w.BEGIN_WHITESPACE,x==="\uFEFF")continue;o0(R,x);continue;case w.BEGIN_WHITESPACE:o0(R,x);continue;case w.TEXT:if(R.sawRoot&&!R.closedRoot){var M0=t-1;while(x&&x!=="<"&&x!=="&")if(x=p0(N,t++),x&&R.trackPosition)if(R.position++,x===`
|
|
185
|
+
`)R.line++,R.column=0;else R.column++;R.textNode+=N.substring(M0,t-1)}if(x==="<"&&!(R.sawRoot&&R.closedRoot&&!R.strict))R.state=w.OPEN_WAKA,R.startTagPosition=R.position;else{if(!U(x)&&(!R.sawRoot||R.closedRoot))o(R,"Text data outside of root node.");if(x==="&")R.state=w.TEXT_ENTITY;else R.textNode+=x}continue;case w.SCRIPT:if(x==="<")R.state=w.SCRIPT_ENDING;else R.script+=x;continue;case w.SCRIPT_ENDING:if(x==="/")R.state=w.CLOSE_TAG;else R.script+="<"+x,R.state=w.SCRIPT;continue;case w.OPEN_WAKA:if(x==="!")R.state=w.SGML_DECL,R.sgmlDecl="";else if(U(x));else if(A(L,x))R.state=w.OPEN_TAG,R.tagName=x;else if(x==="/")R.state=w.CLOSE_TAG,R.tagName="";else if(x==="?")R.state=w.PROC_INST,R.procInstName=R.procInstBody="";else{if(o(R,"Unencoded <"),R.startTagPosition+1<R.position){var s0=R.position-R.startTagPosition;x=new Array(s0).join(" ")+x}R.textNode+="<"+x,R.state=w.TEXT}continue;case w.SGML_DECL:if(R.sgmlDecl+x==="--"){R.state=w.COMMENT,R.comment="",R.sgmlDecl="";continue}if(R.doctype&&R.doctype!==!0&&R.sgmlDecl)R.state=w.DOCTYPE_DTD,R.doctype+="<!"+R.sgmlDecl+x,R.sgmlDecl="";else if((R.sgmlDecl+x).toUpperCase()===G)v(R,"onopencdata"),R.state=w.CDATA,R.sgmlDecl="",R.cdata="";else if((R.sgmlDecl+x).toUpperCase()===W){if(R.state=w.DOCTYPE,R.doctype||R.sawRoot)o(R,"Inappropriately located doctype declaration");R.doctype="",R.sgmlDecl=""}else if(x===">")v(R,"onsgmldeclaration",R.sgmlDecl),R.sgmlDecl="",R.state=w.TEXT;else if(X(x))R.state=w.SGML_DECL_QUOTED,R.sgmlDecl+=x;else R.sgmlDecl+=x;continue;case w.SGML_DECL_QUOTED:if(x===R.q)R.state=w.SGML_DECL,R.q="";R.sgmlDecl+=x;continue;case w.DOCTYPE:if(x===">")R.state=w.TEXT,v(R,"ondoctype",R.doctype),R.doctype=!0;else if(R.doctype+=x,x==="[")R.state=w.DOCTYPE_DTD;else if(X(x))R.state=w.DOCTYPE_QUOTED,R.q=x;continue;case w.DOCTYPE_QUOTED:if(R.doctype+=x,x===R.q)R.q="",R.state=w.DOCTYPE;continue;case w.DOCTYPE_DTD:if(x==="]")R.doctype+=x,R.state=w.DOCTYPE;else if(x==="<")R.state=w.OPEN_WAKA,R.startTagPosition=R.position;else if(X(x))R.doctype+=x,R.state=w.DOCTYPE_DTD_QUOTED,R.q=x;else R.doctype+=x;continue;case w.DOCTYPE_DTD_QUOTED:if(R.doctype+=x,x===R.q)R.state=w.DOCTYPE_DTD,R.q="";continue;case w.COMMENT:if(x==="-")R.state=w.COMMENT_ENDING;else R.comment+=x;continue;case w.COMMENT_ENDING:if(x==="-"){if(R.state=w.COMMENT_ENDED,R.comment=s(R.opt,R.comment),R.comment)v(R,"oncomment",R.comment);R.comment=""}else R.comment+="-"+x,R.state=w.COMMENT;continue;case w.COMMENT_ENDED:if(x!==">")o(R,"Malformed comment"),R.comment+="--"+x,R.state=w.COMMENT;else if(R.doctype&&R.doctype!==!0)R.state=w.DOCTYPE_DTD;else R.state=w.TEXT;continue;case w.CDATA:if(x==="]")R.state=w.CDATA_ENDING;else R.cdata+=x;continue;case w.CDATA_ENDING:if(x==="]")R.state=w.CDATA_ENDING_2;else R.cdata+="]"+x,R.state=w.CDATA;continue;case w.CDATA_ENDING_2:if(x===">"){if(R.cdata)v(R,"oncdata",R.cdata);v(R,"onclosecdata"),R.cdata="",R.state=w.TEXT}else if(x==="]")R.cdata+="]";else R.cdata+="]]"+x,R.state=w.CDATA;continue;case w.PROC_INST:if(x==="?")R.state=w.PROC_INST_ENDING;else if(U(x))R.state=w.PROC_INST_BODY;else R.procInstName+=x;continue;case w.PROC_INST_BODY:if(!R.procInstBody&&U(x))continue;else if(x==="?")R.state=w.PROC_INST_ENDING;else R.procInstBody+=x;continue;case w.PROC_INST_ENDING:if(x===">")v(R,"onprocessinginstruction",{name:R.procInstName,body:R.procInstBody}),R.procInstName=R.procInstBody="",R.state=w.TEXT;else R.procInstBody+="?"+x,R.state=w.PROC_INST_BODY;continue;case w.OPEN_TAG:if(A(j,x))R.tagName+=x;else if(e(R),x===">")F0(R);else if(x==="/")R.state=w.OPEN_TAG_SLASH;else{if(!U(x))o(R,"Invalid character in tag name");R.state=w.ATTRIB}continue;case w.OPEN_TAG_SLASH:if(x===">")F0(R,!0),u0(R);else o(R,"Forward-slash in opening tag not followed by >"),R.state=w.ATTRIB;continue;case w.ATTRIB:if(U(x))continue;else if(x===">")F0(R);else if(x==="/")R.state=w.OPEN_TAG_SLASH;else if(A(L,x))R.attribName=x,R.attribValue="",R.state=w.ATTRIB_NAME;else o(R,"Invalid attribute name");continue;case w.ATTRIB_NAME:if(x==="=")R.state=w.ATTRIB_VALUE;else if(x===">")o(R,"Attribute without value"),R.attribValue=R.attribName,a(R),F0(R);else if(U(x))R.state=w.ATTRIB_NAME_SAW_WHITE;else if(A(j,x))R.attribName+=x;else o(R,"Invalid attribute name");continue;case w.ATTRIB_NAME_SAW_WHITE:if(x==="=")R.state=w.ATTRIB_VALUE;else if(U(x))continue;else if(o(R,"Attribute without value"),R.tag.attributes[R.attribName]="",R.attribValue="",v(R,"onattribute",{name:R.attribName,value:""}),R.attribName="",x===">")F0(R);else if(A(L,x))R.attribName=x,R.state=w.ATTRIB_NAME;else o(R,"Invalid attribute name"),R.state=w.ATTRIB;continue;case w.ATTRIB_VALUE:if(U(x))continue;else if(X(x))R.q=x,R.state=w.ATTRIB_VALUE_QUOTED;else{if(!R.opt.unquotedAttributeValues)A0(R,"Unquoted attribute value");R.state=w.ATTRIB_VALUE_UNQUOTED,R.attribValue=x}continue;case w.ATTRIB_VALUE_QUOTED:if(x!==R.q){if(x==="&")R.state=w.ATTRIB_VALUE_ENTITY_Q;else R.attribValue+=x;continue}a(R),R.q="",R.state=w.ATTRIB_VALUE_CLOSED;continue;case w.ATTRIB_VALUE_CLOSED:if(U(x))R.state=w.ATTRIB;else if(x===">")F0(R);else if(x==="/")R.state=w.OPEN_TAG_SLASH;else if(A(L,x))o(R,"No whitespace between attributes"),R.attribName=x,R.attribValue="",R.state=w.ATTRIB_NAME;else o(R,"Invalid attribute name");continue;case w.ATTRIB_VALUE_UNQUOTED:if(!z(x)){if(x==="&")R.state=w.ATTRIB_VALUE_ENTITY_U;else R.attribValue+=x;continue}if(a(R),x===">")F0(R);else R.state=w.ATTRIB;continue;case w.CLOSE_TAG:if(!R.tagName)if(U(x))continue;else if(S(L,x))if(R.script)R.script+="</"+x,R.state=w.SCRIPT;else o(R,"Invalid tagname in closing tag.");else R.tagName=x;else if(x===">")u0(R);else if(A(j,x))R.tagName+=x;else if(R.script)R.script+="</"+R.tagName,R.tagName="",R.state=w.SCRIPT;else{if(!U(x))o(R,"Invalid tagname in closing tag");R.state=w.CLOSE_TAG_SAW_WHITE}continue;case w.CLOSE_TAG_SAW_WHITE:if(U(x))continue;if(x===">")u0(R);else o(R,"Invalid characters in closing tag");continue;case w.TEXT_ENTITY:case w.ATTRIB_VALUE_ENTITY_Q:case w.ATTRIB_VALUE_ENTITY_U:var e0,j1;switch(R.state){case w.TEXT_ENTITY:e0=w.TEXT,j1="textNode";break;case w.ATTRIB_VALUE_ENTITY_Q:e0=w.ATTRIB_VALUE_QUOTED,j1="attribValue";break;case w.ATTRIB_VALUE_ENTITY_U:e0=w.ATTRIB_VALUE_UNQUOTED,j1="attribValue";break}if(x===";"){var $1=l0(R);if(R.opt.unparsedEntities&&!Object.values(D.XML_ENTITIES).includes($1))R.entity="",R.state=e0,R.write($1);else R[j1]+=$1,R.entity="",R.state=e0}else if(A(R.entity.length?u:P,x))R.entity+=x;else o(R,"Invalid character in entity name"),R[j1]+="&"+R.entity+x,R.entity="",R.state=e0;continue;default:throw new Error(R,"Unknown state: "+R.state)}}if(R.position>=R.bufferCheckPosition)Y(R);return R}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */if(!String.fromCodePoint)(function(){var N=String.fromCharCode,R=Math.floor,t=function(){var x=16384,M0=[],s0,e0,j1=-1,$1=arguments.length;if(!$1)return"";var h1="";while(++j1<$1){var V0=Number(arguments[j1]);if(!isFinite(V0)||V0<0||V0>1114111||R(V0)!==V0)throw RangeError("Invalid code point: "+V0);if(V0<=65535)M0.push(V0);else V0-=65536,s0=(V0>>10)+55296,e0=V0%1024+56320,M0.push(s0,e0);if(j1+1===$1||M0.length>x)h1+=N.apply(null,M0),M0.length=0}return h1};if(Object.defineProperty)Object.defineProperty(String,"fromCodePoint",{value:t,configurable:!0,writable:!0});else String.fromCodePoint=t})()})(typeof YJ==="undefined"?YJ.sax={}:YJ)});var nR=M((OG)=>{(function(){OG.stripBOM=function(D){if(D[0]==="\uFEFF")return D.substring(1);else return D}}).call(OG)});var XG=M((Y7)=>{(function(){var D=new RegExp(/(?!xmlns)^.*:/);Y7.normalize=function(Z){return Z.toLowerCase()},Y7.firstCharLowerCase=function(Z){return Z.charAt(0).toLowerCase()+Z.slice(1)},Y7.stripPrefix=function(Z){return Z.replace(D,"")},Y7.parseNumbers=function(Z){if(!isNaN(Z))Z=Z%1===0?parseInt(Z,10):parseFloat(Z);return Z},Y7.parseBooleans=function(Z){if(/^(?:true|false)$/i.test(Z))Z=Z.toLowerCase()==="true";return Z}}).call(Y7)});var rR=M((M9)=>{(function(){var D,Z,Q,Y,J,q,B,H,V,K=function(O,F){return function(){return O.apply(F,arguments)}},G=function(O,F){for(var E in F)if(W.call(F,E))O[E]=F[E];function L(){this.constructor=O}return L.prototype=F.prototype,O.prototype=new L,O.__super__=F.prototype,O},W={}.hasOwnProperty;H=iR(),Q=require("events"),D=nR(),B=XG(),V=require("timers").setImmediate,Z=cY().defaults,Y=function(O){return typeof O==="object"&&O!=null&&Object.keys(O).length===0},J=function(O){return O!=="__proto__"&&O!=="constructor"&&O!=="prototype"},q=function(O,F,E){var L,j,P;for(L=0,j=O.length;L<j;L++)P=O[L],F=P(F,E);return F},M9.Parser=function(O){G(F,O);function F(E){this.parseStringPromise=K(this.parseStringPromise,this),this.parseString=K(this.parseString,this),this.reset=K(this.reset,this),this.assignOrPush=K(this.assignOrPush,this),this.processAsync=K(this.processAsync,this);var L,j,P;if(!(this instanceof M9.Parser))return new M9.Parser(E);this.options={},j=Z["0.2"];for(L in j){if(!W.call(j,L))continue;P=j[L],this.options[L]=P}for(L in E){if(!W.call(E,L))continue;P=E[L],this.options[L]=P}if(this.options.xmlns)this.options.xmlnskey=this.options.attrkey+"ns";if(this.options.normalizeTags){if(!this.options.tagNameProcessors)this.options.tagNameProcessors=[];this.options.tagNameProcessors.unshift(B.normalize)}this.reset()}return F.prototype.processAsync=function(){var E,L;try{if(this.remaining.length<=this.options.chunkSize)return E=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(E),this.saxParser.close();else return E=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(E),V(this.processAsync)}catch(j){if(L=j,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(L)}},F.prototype.assignOrPush=function(E,L,j){if(!J(L))return;if(!(L in E))if(!this.options.explicitArray)return E[L]=j;else return E[L]=[j];else{if(!(E[L]instanceof Array))E[L]=[E[L]];return E[L].push(j)}},F.prototype.reset=function(){var E,L,j,P;return this.removeAllListeners(),this.saxParser=H.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(u){return function(U){if(u.saxParser.resume(),!u.saxParser.errThrown)return u.saxParser.errThrown=!0,u.emit("error",U)}}(this),this.saxParser.onend=function(u){return function(){if(!u.saxParser.ended)return u.saxParser.ended=!0,u.emit("end",u.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,P=[],E=this.options.attrkey,L=this.options.charkey,this.saxParser.onopentag=function(u){return function(U){var X,z,A,S,w;if(A={},A[L]="",!u.options.ignoreAttrs){w=U.attributes;for(X in w){if(!W.call(w,X))continue;if(!(E in A)&&!u.options.mergeAttrs)A[E]={};if(z=u.options.attrValueProcessors?q(u.options.attrValueProcessors,U.attributes[X],X):U.attributes[X],S=u.options.attrNameProcessors?q(u.options.attrNameProcessors,X):X,J(S))if(u.options.mergeAttrs)u.assignOrPush(A,S,z);else A[E][S]=z}}if(A["#name"]=u.options.tagNameProcessors?q(u.options.tagNameProcessors,U.name):U.name,u.options.xmlns)A[u.options.xmlnskey]={uri:U.uri,local:U.local};return P.push(A)}}(this),this.saxParser.onclosetag=function(u){return function(){var U,X,z,A,S,w,C,I,v,g;if(w=P.pop(),S=w["#name"],!u.options.explicitChildren||!u.options.preserveChildrenOrder)delete w["#name"];if(w.cdata===!0)U=w.cdata,delete w.cdata;if(v=P[P.length-1],w[L].match(/^\s*$/)&&!U)X=w[L],delete w[L];else{if(u.options.trim)w[L]=w[L].trim();if(u.options.normalize)w[L]=w[L].replace(/\s{2,}/g," ").trim();if(w[L]=u.options.valueProcessors?q(u.options.valueProcessors,w[L],S):w[L],Object.keys(w).length===1&&L in w&&!u.EXPLICIT_CHARKEY)w=w[L]}if(Y(w))if(typeof u.options.emptyTag==="function")w=u.options.emptyTag();else w=u.options.emptyTag!==""?u.options.emptyTag:X;if(u.options.validator!=null)g="/"+function(){var s,A0,w0;w0=[];for(s=0,A0=P.length;s<A0;s++)A=P[s],w0.push(A["#name"]);return w0}().concat(S).join("/"),function(){var s;try{return w=u.options.validator(g,v&&v[S],w)}catch(A0){return s=A0,u.emit("error",s)}}();if(u.options.explicitChildren&&!u.options.mergeAttrs&&typeof w==="object"){if(!u.options.preserveChildrenOrder){if(A={},u.options.attrkey in w)A[u.options.attrkey]=w[u.options.attrkey],delete w[u.options.attrkey];if(!u.options.charsAsChildren&&u.options.charkey in w)A[u.options.charkey]=w[u.options.charkey],delete w[u.options.charkey];if(Object.getOwnPropertyNames(w).length>0)A[u.options.childkey]=w;w=A}else if(v){v[u.options.childkey]=v[u.options.childkey]||[],C={};for(z in w){if(!W.call(w,z))continue;if(J(z))C[z]=w[z]}if(v[u.options.childkey].push(C),delete w["#name"],Object.keys(w).length===1&&L in w&&!u.EXPLICIT_CHARKEY)w=w[L]}}if(P.length>0)return u.assignOrPush(v,S,w);else{if(u.options.explicitRoot)I=w,w={},w[S]=I;return u.resultObject=w,u.saxParser.ended=!0,u.emit("end",u.resultObject)}}}(this),j=function(u){return function(U){var X,z;if(z=P[P.length-1],z){if(z[L]+=U,u.options.explicitChildren&&u.options.preserveChildrenOrder&&u.options.charsAsChildren&&(u.options.includeWhiteChars||U.replace(/\\n/g,"").trim()!=="")){if(z[u.options.childkey]=z[u.options.childkey]||[],X={"#name":"__text__"},X[L]=U,u.options.normalize)X[L]=X[L].replace(/\s{2,}/g," ").trim();z[u.options.childkey].push(X)}return z}}}(this),this.saxParser.ontext=j,this.saxParser.oncdata=function(u){return function(U){var X=j(U);if(X)return X.cdata=!0}}(this)},F.prototype.parseString=function(E,L){var j;if(L!=null&&typeof L==="function")this.on("end",function(P){return this.reset(),L(null,P)}),this.on("error",function(P){return this.reset(),L(P)});try{if(E=E.toString(),E.trim()==="")return this.emit("end",null),!0;if(E=D.stripBOM(E),this.options.async)return this.remaining=E,V(this.processAsync),this.saxParser;return this.saxParser.write(E).close()}catch(P){if(j=P,!(this.saxParser.errThrown||this.saxParser.ended))return this.emit("error",j),this.saxParser.errThrown=!0;else if(this.saxParser.ended)throw j}},F.prototype.parseStringPromise=function(E){return new Promise(function(L){return function(j,P){return L.parseString(E,function(u,U){if(u)return P(u);else return j(U)})}}(this))},F}(Q),M9.parseString=function(O,F,E){var L,j,P;if(E!=null){if(typeof E==="function")L=E;if(typeof F==="object")j=F}else{if(typeof F==="function")L=F;j={}}return P=new M9.Parser(j),P.parseString(O,L)},M9.parseStringPromise=function(O,F){var E,L;if(typeof F==="object")E=F;return L=new M9.Parser(E),L.parseStringPromise(O)}}).call(M9)});var sR=M((I9)=>{(function(){var D,Z,Q,Y,J=function(B,H){for(var V in H)if(q.call(H,V))B[V]=H[V];function K(){this.constructor=B}return K.prototype=H.prototype,B.prototype=new K,B.__super__=H.prototype,B},q={}.hasOwnProperty;Z=cY(),D=pR(),Q=rR(),Y=XG(),I9.defaults=Z.defaults,I9.processors=Y,I9.ValidationError=function(B){J(H,B);function H(V){this.message=V}return H}(Error),I9.Builder=D.Builder,I9.Parser=Q.Parser,I9.parseString=Q.parseString,I9.parseStringPromise=Q.parseStringPromise}).call(I9)});var J7=M((j9)=>{Object.defineProperty(j9,"__esModule",{value:!0});j9._processAndroidXML=DM;j9.escapeAndroidString=QM;j9.format=ZM;j9.parseXMLAsync=ao;j9.readXMLAsync=so;j9.unescapeAndroidString=YM;j9.writeXMLAsync=ro;function JJ(){let D=eR(require("fs"));return JJ=function(){return D},D}function tR(){let D=require("os");return tR=function(){return D},D}function oR(){let D=eR(require("path"));return oR=function(){return D},D}function qJ(){let D=sR();return qJ=function(){return D},D}function eR(D){return D&&D.__esModule?D:{default:D}}async function ro(D){let Z=ZM(D.xml);await JJ().default.promises.mkdir(oR().default.dirname(D.path),{recursive:!0}),await JJ().default.promises.writeFile(D.path,Z)}async function so(D){let Z="";try{Z=await JJ().default.promises.readFile(D.path,{encoding:"utf8",flag:"r"})}catch{}let Y=await new(qJ()).Parser().parseStringPromise(Z||D.fallback||"");return DM(Y)}function DM(D){if(Array.isArray(D?.resources?.string))for(let Z of D?.resources?.string){if(Z.$.translatable==="false"||Z.$.translatable===!1)continue;if(!("_"in Z))throw new Error(`Empty string resource not supported: ${JSON.stringify(Z)}`);Z._=YM(Z._)}return D}async function ao(D){return await new(qJ()).Parser().parseStringPromise(D)}var aR=(D,Z)=>Array(D+1).join(Z);function ZM(D,{indentLevel:Z=2,newline:Q=tR().EOL}={}){let Y;if(typeof D==="string")Y=D;else if(D.toString){let K=new(qJ()).Builder({headless:!0});if(Array.isArray(D?.resources?.string))for(let G of D?.resources?.string){if(G.$.translatable==="false"||G.$.translatable===!1)continue;G._=QM(G._)}return Y=K.buildObject(D),Y}else throw new Error(`Invalid XML value passed in: ${D}`);let J=aR(Z," "),q="",B=/(>)(<)(\/*)/g,H=Y.replace(B,`$1${Q}$2$3`),V=0;return H.split(/\r?\n/).map((K)=>K.trim()).forEach((K)=>{let G=0;if(K.match(/.+<\/\w[^>]*>$/))G=0;else if(K.match(/^<\/\w/)){if(V!==0)V-=1}else if(K.match(/^<\w([^>]*[^/])?>.*$/))G=1;else G=0;let W=aR(V,J);q+=W+K+Q,V+=G}),q.trim()}function QM(D){if(D=D.replace(/[\n\r\t'"@]/g,(Z)=>{switch(Z){case'"':case"'":case"@":return"\\"+Z;case`
|
|
186
|
+
`:return"\\n";case"\r":return"\\r";case"\t":return"\\t";default:throw new Error(`Cannot escape unhandled XML character: ${Z}`)}}),D.match(/(^\s|\s$)/))D='"'+D+'"';return D}function YM(D){return D.replace(/\\(.)/g,"$1")}});var s2=M((u5)=>{Object.defineProperty(u5,"__esModule",{value:!0});u5.addMetaDataItemToMainApplication=Je;u5.addUsesLibraryItemToMainApplication=He;u5.ensureToolsAvailable=Ke;u5.findMetaDataItem=VM;u5.findUsesLibraryItem=KM;u5.getMainActivity=BM;u5.getMainActivityOrThrow=Qe;u5.getMainApplication=EG;u5.getMainApplicationMetaDataValue=Be;u5.getMainApplicationOrThrow=Ze;u5.getRunnableActivity=Ye;u5.prefixAndroidKeys=wG;u5.readAndroidManifestAsync=eo;u5.removeMetaDataItemFromMainApplication=qe;u5.removeUsesLibraryItemFromMainApplication=Ve;u5.writeAndroidManifestAsync=oo;function UG(){let D=$G(require("assert"));return UG=function(){return D},D}function FG(){let D=$G(require("fs"));return FG=function(){return D},D}function JM(){let D=$G(require("path"));return JM=function(){return D},D}function AG(){let D=to(J7());return AG=function(){return D},D}function qM(D){if(typeof WeakMap!="function")return null;var Z=new WeakMap,Q=new WeakMap;return(qM=function(Y){return Y?Q:Z})(D)}function to(D,Z){if(!Z&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var Q=qM(Z);if(Q&&Q.has(D))return Q.get(D);var Y={__proto__:null},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in D)if(q!=="default"&&{}.hasOwnProperty.call(D,q)){var B=J?Object.getOwnPropertyDescriptor(D,q):null;B&&(B.get||B.set)?Object.defineProperty(Y,q,B):Y[q]=D[q]}return Y.default=D,Q&&Q.set(D,Y),Y}function $G(D){return D&&D.__esModule?D:{default:D}}async function oo(D,Z){let Q=AG().format(Z);await FG().default.promises.mkdir(JM().default.dirname(D),{recursive:!0}),await FG().default.promises.writeFile(D,Q)}async function eo(D){let Z=await AG().readXMLAsync({path:D});if(!De(Z))throw new Error("Invalid manifest found at: "+D);return Z}function De(D){return!!D.manifest}function EG(D){return D?.manifest?.application?.filter((Z)=>Z?.$?.["android:name"].endsWith(".MainApplication"))[0]??null}function Ze(D){let Z=EG(D);return UG().default(Z,"AndroidManifest.xml is missing the required MainApplication element"),Z}function Qe(D){let Z=BM(D);return UG().default(Z,"AndroidManifest.xml is missing the required MainActivity element"),Z}function Ye(D){let Z=D?.manifest?.application?.[0]?.activity?.filter?.((Q)=>Q.$["android:enabled"]!=="false"&&Q.$["android:enabled"]!==!1);if(!Z)return null;for(let Q of Z)if(Array.isArray(Q["intent-filter"])){for(let Y of Q["intent-filter"])if(Y.action?.find((J)=>J.$["android:name"]==="android.intent.action.MAIN")&&Y.category?.find((J)=>J.$["android:name"]==="android.intent.category.LAUNCHER"))return Q}return null}function BM(D){return D?.manifest?.application?.[0]?.activity?.filter?.((Q)=>Q.$["android:name"]===".MainActivity")?.[0]??null}function Je(D,Z,Q,Y="value"){let J,q={$:wG({name:Z,[Y]:Q})};if(D["meta-data"])if(J=D["meta-data"].filter((B)=>B.$["android:name"]===Z),J.length)J[0].$[`android:${Y}`]=Q;else D["meta-data"].push(q);else D["meta-data"]=[q];return D}function qe(D,Z){let Q=VM(D,Z);if(D?.["meta-data"]&&Q>-1)D["meta-data"].splice(Q,1);return D}function HM(D,Z,Q){let Y=D[Z];if(Array.isArray(Y))return Y.findIndex((q)=>q.$["android:name"]===Q);return-1}function VM(D,Z){return HM(D,"meta-data",Z)}function KM(D,Z){return HM(D,"uses-library",Z)}function Be(D,Z){let Q=EG(D);if(Q?.hasOwnProperty("meta-data"))return Q?.["meta-data"]?.find((J)=>J.$["android:name"]===Z)?.$["android:value"]??null;return null}function He(D,Z){let Q,Y={$:wG(Z)};if(D["uses-library"])if(Q=D["uses-library"].filter((J)=>J.$["android:name"]===Z.name),Q.length)Q[0].$=Y.$;else D["uses-library"].push(Y);else D["uses-library"]=[Y];return D}function Ve(D,Z){let Q=KM(D,Z);if(D?.["uses-library"]&&Q>-1)D["uses-library"].splice(Q,1);return D}function wG(D){return Object.entries(D).reduce((Z,[Q,Y])=>({...Z,[`android:${Q}`]:Y}),{})}function Ke(D){return Ge(D,{namespace:"xmlns:tools",url:"http://schemas.android.com/tools"})}function Ge(D,{namespace:Z,url:Q}){if(D?.manifest?.$?.[Z])return D;return D.manifest.$[Z]=Q,D}});var zM=M((ZZ0,GM)=>{GM.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var LG=M((QZ0,OM)=>{var U3=zM(),WM={};for(let D of Object.keys(U3))WM[U3[D]]=D;var _0={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};OM.exports=_0;for(let D of Object.keys(_0)){if(!("channels"in _0[D]))throw new Error("missing channels property: "+D);if(!("labels"in _0[D]))throw new Error("missing channel labels property: "+D);if(_0[D].labels.length!==_0[D].channels)throw new Error("channel and label counts mismatch: "+D);let{channels:Z,labels:Q}=_0[D];delete _0[D].channels,delete _0[D].labels,Object.defineProperty(_0[D],"channels",{value:Z}),Object.defineProperty(_0[D],"labels",{value:Q})}_0.rgb.hsl=function(D){let Z=D[0]/255,Q=D[1]/255,Y=D[2]/255,J=Math.min(Z,Q,Y),q=Math.max(Z,Q,Y),B=q-J,H,V;if(q===J)H=0;else if(Z===q)H=(Q-Y)/B;else if(Q===q)H=2+(Y-Z)/B;else if(Y===q)H=4+(Z-Q)/B;if(H=Math.min(H*60,360),H<0)H+=360;let K=(J+q)/2;if(q===J)V=0;else if(K<=0.5)V=B/(q+J);else V=B/(2-q-J);return[H,V*100,K*100]};_0.rgb.hsv=function(D){let Z,Q,Y,J,q,B=D[0]/255,H=D[1]/255,V=D[2]/255,K=Math.max(B,H,V),G=K-Math.min(B,H,V),W=function(O){return(K-O)/6/G+0.5};if(G===0)J=0,q=0;else{if(q=G/K,Z=W(B),Q=W(H),Y=W(V),B===K)J=Y-Q;else if(H===K)J=0.3333333333333333+Z-Y;else if(V===K)J=0.6666666666666666+Q-Z;if(J<0)J+=1;else if(J>1)J-=1}return[J*360,q*100,K*100]};_0.rgb.hwb=function(D){let Z=D[0],Q=D[1],Y=D[2],J=_0.rgb.hsl(D)[0],q=0.00392156862745098*Math.min(Z,Math.min(Q,Y));return Y=1-0.00392156862745098*Math.max(Z,Math.max(Q,Y)),[J,q*100,Y*100]};_0.rgb.cmyk=function(D){let Z=D[0]/255,Q=D[1]/255,Y=D[2]/255,J=Math.min(1-Z,1-Q,1-Y),q=(1-Z-J)/(1-J)||0,B=(1-Q-J)/(1-J)||0,H=(1-Y-J)/(1-J)||0;return[q*100,B*100,H*100,J*100]};function ze(D,Z){return(D[0]-Z[0])**2+(D[1]-Z[1])**2+(D[2]-Z[2])**2}_0.rgb.keyword=function(D){let Z=WM[D];if(Z)return Z;let Q=1/0,Y;for(let J of Object.keys(U3)){let q=U3[J],B=ze(D,q);if(B<Q)Q=B,Y=J}return Y};_0.keyword.rgb=function(D){return U3[D]};_0.rgb.xyz=function(D){let Z=D[0]/255,Q=D[1]/255,Y=D[2]/255;Z=Z>0.04045?((Z+0.055)/1.055)**2.4:Z/12.92,Q=Q>0.04045?((Q+0.055)/1.055)**2.4:Q/12.92,Y=Y>0.04045?((Y+0.055)/1.055)**2.4:Y/12.92;let J=Z*0.4124+Q*0.3576+Y*0.1805,q=Z*0.2126+Q*0.7152+Y*0.0722,B=Z*0.0193+Q*0.1192+Y*0.9505;return[J*100,q*100,B*100]};_0.rgb.lab=function(D){let Z=_0.rgb.xyz(D),Q=Z[0],Y=Z[1],J=Z[2];Q/=95.047,Y/=100,J/=108.883,Q=Q>0.008856?Q**0.3333333333333333:7.787*Q+0.13793103448275862,Y=Y>0.008856?Y**0.3333333333333333:7.787*Y+0.13793103448275862,J=J>0.008856?J**0.3333333333333333:7.787*J+0.13793103448275862;let q=116*Y-16,B=500*(Q-Y),H=200*(Y-J);return[q,B,H]};_0.hsl.rgb=function(D){let Z=D[0]/360,Q=D[1]/100,Y=D[2]/100,J,q,B;if(Q===0)return B=Y*255,[B,B,B];if(Y<0.5)J=Y*(1+Q);else J=Y+Q-Y*Q;let H=2*Y-J,V=[0,0,0];for(let K=0;K<3;K++){if(q=Z+0.3333333333333333*-(K-1),q<0)q++;if(q>1)q--;if(6*q<1)B=H+(J-H)*6*q;else if(2*q<1)B=J;else if(3*q<2)B=H+(J-H)*(0.6666666666666666-q)*6;else B=H;V[K]=B*255}return V};_0.hsl.hsv=function(D){let Z=D[0],Q=D[1]/100,Y=D[2]/100,J=Q,q=Math.max(Y,0.01);Y*=2,Q*=Y<=1?Y:2-Y,J*=q<=1?q:2-q;let B=(Y+Q)/2,H=Y===0?2*J/(q+J):2*Q/(Y+Q);return[Z,H*100,B*100]};_0.hsv.rgb=function(D){let Z=D[0]/60,Q=D[1]/100,Y=D[2]/100,J=Math.floor(Z)%6,q=Z-Math.floor(Z),B=255*Y*(1-Q),H=255*Y*(1-Q*q),V=255*Y*(1-Q*(1-q));switch(Y*=255,J){case 0:return[Y,V,B];case 1:return[H,Y,B];case 2:return[B,Y,V];case 3:return[B,H,Y];case 4:return[V,B,Y];case 5:return[Y,B,H]}};_0.hsv.hsl=function(D){let Z=D[0],Q=D[1]/100,Y=D[2]/100,J=Math.max(Y,0.01),q,B;B=(2-Q)*Y;let H=(2-Q)*J;return q=Q*J,q/=H<=1?H:2-H,q=q||0,B/=2,[Z,q*100,B*100]};_0.hwb.rgb=function(D){let Z=D[0]/360,Q=D[1]/100,Y=D[2]/100,J=Q+Y,q;if(J>1)Q/=J,Y/=J;let B=Math.floor(6*Z),H=1-Y;if(q=6*Z-B,(B&1)!==0)q=1-q;let V=Q+q*(H-Q),K,G,W;switch(B){default:case 6:case 0:K=H,G=V,W=Q;break;case 1:K=V,G=H,W=Q;break;case 2:K=Q,G=H,W=V;break;case 3:K=Q,G=V,W=H;break;case 4:K=V,G=Q,W=H;break;case 5:K=H,G=Q,W=V;break}return[K*255,G*255,W*255]};_0.cmyk.rgb=function(D){let Z=D[0]/100,Q=D[1]/100,Y=D[2]/100,J=D[3]/100,q=1-Math.min(1,Z*(1-J)+J),B=1-Math.min(1,Q*(1-J)+J),H=1-Math.min(1,Y*(1-J)+J);return[q*255,B*255,H*255]};_0.xyz.rgb=function(D){let Z=D[0]/100,Q=D[1]/100,Y=D[2]/100,J,q,B;return J=Z*3.2406+Q*-1.5372+Y*-0.4986,q=Z*-0.9689+Q*1.8758+Y*0.0415,B=Z*0.0557+Q*-0.204+Y*1.057,J=J>0.0031308?1.055*J**0.4166666666666667-0.055:J*12.92,q=q>0.0031308?1.055*q**0.4166666666666667-0.055:q*12.92,B=B>0.0031308?1.055*B**0.4166666666666667-0.055:B*12.92,J=Math.min(Math.max(0,J),1),q=Math.min(Math.max(0,q),1),B=Math.min(Math.max(0,B),1),[J*255,q*255,B*255]};_0.xyz.lab=function(D){let Z=D[0],Q=D[1],Y=D[2];Z/=95.047,Q/=100,Y/=108.883,Z=Z>0.008856?Z**0.3333333333333333:7.787*Z+0.13793103448275862,Q=Q>0.008856?Q**0.3333333333333333:7.787*Q+0.13793103448275862,Y=Y>0.008856?Y**0.3333333333333333:7.787*Y+0.13793103448275862;let J=116*Q-16,q=500*(Z-Q),B=200*(Q-Y);return[J,q,B]};_0.lab.xyz=function(D){let Z=D[0],Q=D[1],Y=D[2],J,q,B;q=(Z+16)/116,J=Q/500+q,B=q-Y/200;let H=q**3,V=J**3,K=B**3;return q=H>0.008856?H:(q-0.13793103448275862)/7.787,J=V>0.008856?V:(J-0.13793103448275862)/7.787,B=K>0.008856?K:(B-0.13793103448275862)/7.787,J*=95.047,q*=100,B*=108.883,[J,q,B]};_0.lab.lch=function(D){let Z=D[0],Q=D[1],Y=D[2],J;if(J=Math.atan2(Y,Q)*360/2/Math.PI,J<0)J+=360;let B=Math.sqrt(Q*Q+Y*Y);return[Z,B,J]};_0.lch.lab=function(D){let Z=D[0],Q=D[1],J=D[2]/360*2*Math.PI,q=Q*Math.cos(J),B=Q*Math.sin(J);return[Z,q,B]};_0.rgb.ansi16=function(D,Z=null){let[Q,Y,J]=D,q=Z===null?_0.rgb.hsv(D)[2]:Z;if(q=Math.round(q/50),q===0)return 30;let B=30+(Math.round(J/255)<<2|Math.round(Y/255)<<1|Math.round(Q/255));if(q===2)B+=60;return B};_0.hsv.ansi16=function(D){return _0.rgb.ansi16(_0.hsv.rgb(D),D[2])};_0.rgb.ansi256=function(D){let Z=D[0],Q=D[1],Y=D[2];if(Z===Q&&Q===Y){if(Z<8)return 16;if(Z>248)return 231;return Math.round((Z-8)/247*24)+232}return 16+36*Math.round(Z/255*5)+6*Math.round(Q/255*5)+Math.round(Y/255*5)};_0.ansi16.rgb=function(D){let Z=D%10;if(Z===0||Z===7){if(D>50)Z+=3.5;return Z=Z/10.5*255,[Z,Z,Z]}let Q=(~~(D>50)+1)*0.5,Y=(Z&1)*Q*255,J=(Z>>1&1)*Q*255,q=(Z>>2&1)*Q*255;return[Y,J,q]};_0.ansi256.rgb=function(D){if(D>=232){let q=(D-232)*10+8;return[q,q,q]}D-=16;let Z,Q=Math.floor(D/36)/5*255,Y=Math.floor((Z=D%36)/6)/5*255,J=Z%6/5*255;return[Q,Y,J]};_0.rgb.hex=function(D){let Q=(((Math.round(D[0])&255)<<16)+((Math.round(D[1])&255)<<8)+(Math.round(D[2])&255)).toString(16).toUpperCase();return"000000".substring(Q.length)+Q};_0.hex.rgb=function(D){let Z=D.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!Z)return[0,0,0];let Q=Z[0];if(Z[0].length===3)Q=Q.split("").map((H)=>{return H+H}).join("");let Y=parseInt(Q,16),J=Y>>16&255,q=Y>>8&255,B=Y&255;return[J,q,B]};_0.rgb.hcg=function(D){let Z=D[0]/255,Q=D[1]/255,Y=D[2]/255,J=Math.max(Math.max(Z,Q),Y),q=Math.min(Math.min(Z,Q),Y),B=J-q,H,V;if(B<1)H=q/(1-B);else H=0;if(B<=0)V=0;else if(J===Z)V=(Q-Y)/B%6;else if(J===Q)V=2+(Y-Z)/B;else V=4+(Z-Q)/B;return V/=6,V%=1,[V*360,B*100,H*100]};_0.hsl.hcg=function(D){let Z=D[1]/100,Q=D[2]/100,Y=Q<0.5?2*Z*Q:2*Z*(1-Q),J=0;if(Y<1)J=(Q-0.5*Y)/(1-Y);return[D[0],Y*100,J*100]};_0.hsv.hcg=function(D){let Z=D[1]/100,Q=D[2]/100,Y=Z*Q,J=0;if(Y<1)J=(Q-Y)/(1-Y);return[D[0],Y*100,J*100]};_0.hcg.rgb=function(D){let Z=D[0]/360,Q=D[1]/100,Y=D[2]/100;if(Q===0)return[Y*255,Y*255,Y*255];let J=[0,0,0],q=Z%1*6,B=q%1,H=1-B,V=0;switch(Math.floor(q)){case 0:J[0]=1,J[1]=B,J[2]=0;break;case 1:J[0]=H,J[1]=1,J[2]=0;break;case 2:J[0]=0,J[1]=1,J[2]=B;break;case 3:J[0]=0,J[1]=H,J[2]=1;break;case 4:J[0]=B,J[1]=0,J[2]=1;break;default:J[0]=1,J[1]=0,J[2]=H}return V=(1-Q)*Y,[(Q*J[0]+V)*255,(Q*J[1]+V)*255,(Q*J[2]+V)*255]};_0.hcg.hsv=function(D){let Z=D[1]/100,Q=D[2]/100,Y=Z+Q*(1-Z),J=0;if(Y>0)J=Z/Y;return[D[0],J*100,Y*100]};_0.hcg.hsl=function(D){let Z=D[1]/100,Y=D[2]/100*(1-Z)+0.5*Z,J=0;if(Y>0&&Y<0.5)J=Z/(2*Y);else if(Y>=0.5&&Y<1)J=Z/(2*(1-Y));return[D[0],J*100,Y*100]};_0.hcg.hwb=function(D){let Z=D[1]/100,Q=D[2]/100,Y=Z+Q*(1-Z);return[D[0],(Y-Z)*100,(1-Y)*100]};_0.hwb.hcg=function(D){let Z=D[1]/100,Y=1-D[2]/100,J=Y-Z,q=0;if(J<1)q=(Y-J)/(1-J);return[D[0],J*100,q*100]};_0.apple.rgb=function(D){return[D[0]/65535*255,D[1]/65535*255,D[2]/65535*255]};_0.rgb.apple=function(D){return[D[0]/255*65535,D[1]/255*65535,D[2]/255*65535]};_0.gray.rgb=function(D){return[D[0]/100*255,D[0]/100*255,D[0]/100*255]};_0.gray.hsl=function(D){return[0,0,D[0]]};_0.gray.hsv=_0.gray.hsl;_0.gray.hwb=function(D){return[0,100,D[0]]};_0.gray.cmyk=function(D){return[0,0,0,D[0]]};_0.gray.lab=function(D){return[D[0],0,0]};_0.gray.hex=function(D){let Z=Math.round(D[0]/100*255)&255,Y=((Z<<16)+(Z<<8)+Z).toString(16).toUpperCase();return"000000".substring(Y.length)+Y};_0.rgb.gray=function(D){return[(D[0]+D[1]+D[2])/3/255*100]}});var FM=M((YZ0,XM)=>{var BJ=LG();function We(){let D={},Z=Object.keys(BJ);for(let Q=Z.length,Y=0;Y<Q;Y++)D[Z[Y]]={distance:-1,parent:null};return D}function Oe(D){let Z=We(),Q=[D];Z[D].distance=0;while(Q.length){let Y=Q.pop(),J=Object.keys(BJ[Y]);for(let q=J.length,B=0;B<q;B++){let H=J[B],V=Z[H];if(V.distance===-1)V.distance=Z[Y].distance+1,V.parent=Y,Q.unshift(H)}}return Z}function Xe(D,Z){return function(Q){return Z(D(Q))}}function Fe(D,Z){let Q=[Z[D].parent,D],Y=BJ[Z[D].parent][D],J=Z[D].parent;while(Z[J].parent)Q.unshift(Z[J].parent),Y=Xe(BJ[Z[J].parent][J],Y),J=Z[J].parent;return Y.conversion=Q,Y}XM.exports=function(D){let Z=Oe(D),Q={},Y=Object.keys(Z);for(let J=Y.length,q=0;q<J;q++){let B=Y[q];if(Z[B].parent===null)continue;Q[B]=Fe(B,Z)}return Q}});var AM=M((JZ0,UM)=>{var CG=LG(),Ue=FM(),X6={},Ae=Object.keys(CG);function $e(D){let Z=function(...Q){let Y=Q[0];if(Y===void 0||Y===null)return Y;if(Y.length>1)Q=Y;return D(Q)};if("conversion"in D)Z.conversion=D.conversion;return Z}function Ee(D){let Z=function(...Q){let Y=Q[0];if(Y===void 0||Y===null)return Y;if(Y.length>1)Q=Y;let J=D(Q);if(typeof J==="object")for(let q=J.length,B=0;B<q;B++)J[B]=Math.round(J[B]);return J};if("conversion"in D)Z.conversion=D.conversion;return Z}Ae.forEach((D)=>{X6[D]={},Object.defineProperty(X6[D],"channels",{value:CG[D].channels}),Object.defineProperty(X6[D],"labels",{value:CG[D].labels});let Z=Ue(D);Object.keys(Z).forEach((Y)=>{let J=Z[Y];X6[D][Y]=Ee(J),X6[D][Y].raw=$e(J)})});UM.exports=X6});var RM=M((qZ0,CM)=>{var $M=(D,Z)=>(...Q)=>{return`\x1B[${D(...Q)+Z}m`},EM=(D,Z)=>(...Q)=>{let Y=D(...Q);return`\x1B[${38+Z};5;${Y}m`},wM=(D,Z)=>(...Q)=>{let Y=D(...Q);return`\x1B[${38+Z};2;${Y[0]};${Y[1]};${Y[2]}m`},HJ=(D)=>D,LM=(D,Z,Q)=>[D,Z,Q],F6=(D,Z,Q)=>{Object.defineProperty(D,Z,{get:()=>{let Y=Q();return Object.defineProperty(D,Z,{value:Y,enumerable:!0,configurable:!0}),Y},enumerable:!0,configurable:!0})},RG,U6=(D,Z,Q,Y)=>{if(RG===void 0)RG=AM();let J=Y?10:0,q={};for(let[B,H]of Object.entries(RG)){let V=B==="ansi16"?"ansi":B;if(B===Z)q[V]=D(Q,J);else if(typeof H==="object")q[V]=D(H[Z],J)}return q};function we(){let D=new Map,Z={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Z.color.gray=Z.color.blackBright,Z.bgColor.bgGray=Z.bgColor.bgBlackBright,Z.color.grey=Z.color.blackBright,Z.bgColor.bgGrey=Z.bgColor.bgBlackBright;for(let[Q,Y]of Object.entries(Z)){for(let[J,q]of Object.entries(Y))Z[J]={open:`\x1B[${q[0]}m`,close:`\x1B[${q[1]}m`},Y[J]=Z[J],D.set(q[0],q[1]);Object.defineProperty(Z,Q,{value:Y,enumerable:!1})}return Object.defineProperty(Z,"codes",{value:D,enumerable:!1}),Z.color.close="\x1B[39m",Z.bgColor.close="\x1B[49m",F6(Z.color,"ansi",()=>U6($M,"ansi16",HJ,!1)),F6(Z.color,"ansi256",()=>U6(EM,"ansi256",HJ,!1)),F6(Z.color,"ansi16m",()=>U6(wM,"rgb",LM,!1)),F6(Z.bgColor,"ansi",()=>U6($M,"ansi16",HJ,!0)),F6(Z.bgColor,"ansi256",()=>U6(EM,"ansi256",HJ,!0)),F6(Z.bgColor,"ansi16m",()=>U6(wM,"rgb",LM,!0)),Z}Object.defineProperty(CM,"exports",{enumerable:!0,get:we})});var IM=M((BZ0,MM)=>{var Le=(D,Z,Q)=>{let Y=D.indexOf(Z);if(Y===-1)return D;let J=Z.length,q=0,B="";do B+=D.substr(q,Y-q)+Z+Q,q=Y+J,Y=D.indexOf(Z,q);while(Y!==-1);return B+=D.substr(q),B},Ce=(D,Z,Q,Y)=>{let J=0,q="";do{let B=D[Y-1]==="\r";q+=D.substr(J,(B?Y-1:Y)-J)+Z+(B?`\r
|
|
187
|
+
`:`
|
|
188
|
+
`)+Q,J=Y+1,Y=D.indexOf(`
|
|
189
|
+
`,J)}while(Y!==-1);return q+=D.substr(J),q};MM.exports={stringReplaceAll:Le,stringEncaseCRLFWithFirstIndex:Ce}});var uM=M((HZ0,SM)=>{var Re=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,jM=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Me=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Ie=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,je=new Map([["n",`
|
|
190
|
+
`],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\x00"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function PM(D){let Z=D[0]==="u",Q=D[1]==="{";if(Z&&!Q&&D.length===5||D[0]==="x"&&D.length===3)return String.fromCharCode(parseInt(D.slice(1),16));if(Z&&Q)return String.fromCodePoint(parseInt(D.slice(2,-1),16));return je.get(D)||D}function Ne(D,Z){let Q=[],Y=Z.trim().split(/\s*,\s*/g),J;for(let q of Y){let B=Number(q);if(!Number.isNaN(B))Q.push(B);else if(J=q.match(Me))Q.push(J[2].replace(Ie,(H,V,K)=>V?PM(V):K));else throw new Error(`Invalid Chalk template style argument: ${q} (in style '${D}')`)}return Q}function Pe(D){jM.lastIndex=0;let Z=[],Q;while((Q=jM.exec(D))!==null){let Y=Q[1];if(Q[2]){let J=Ne(Y,Q[2]);Z.push([Y].concat(J))}else Z.push([Y])}return Z}function NM(D,Z){let Q={};for(let J of Z)for(let q of J.styles)Q[q[0]]=J.inverse?null:q.slice(1);let Y=D;for(let[J,q]of Object.entries(Q)){if(!Array.isArray(q))continue;if(!(J in Y))throw new Error(`Unknown Chalk style: ${J}`);Y=q.length>0?Y[J](...q):Y[J]}return Y}SM.exports=(D,Z)=>{let Q=[],Y=[],J=[];if(Z.replace(Re,(q,B,H,V,K,G)=>{if(B)J.push(PM(B));else if(V){let W=J.join("");J=[],Y.push(Q.length===0?W:NM(D,Q)(W)),Q.push({inverse:H,styles:Pe(V)})}else if(K){if(Q.length===0)throw new Error("Found extraneous } in Chalk template literal");Y.push(NM(D,Q)(J.join(""))),J=[],Q.pop()}else J.push(G)}),Y.push(J.join("")),Q.length>0){let q=`Chalk template literal is missing ${Q.length} closing bracket${Q.length===1?"":"s"} (\`}\`)`;throw new Error(q)}return Y.join("")}});var PG=M((VZ0,yM)=>{var A3=RM(),{stdout:IG,stderr:jG}=KB(),{stringReplaceAll:Se,stringEncaseCRLFWithFirstIndex:ue}=IM(),{isArray:VJ}=Array,TM=["ansi","ansi","ansi256","ansi16m"],A6=Object.create(null),ve=(D,Z={})=>{if(Z.level&&!(Number.isInteger(Z.level)&&Z.level>=0&&Z.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let Q=IG?IG.level:0;D.level=Z.level===void 0?Q:Z.level};class bM{constructor(D){return hM(D)}}var hM=(D)=>{let Z={};return ve(Z,D),Z.template=(...Q)=>kM(Z.template,...Q),Object.setPrototypeOf(Z,KJ.prototype),Object.setPrototypeOf(Z.template,Z),Z.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},Z.template.Instance=bM,Z.template};function KJ(D){return hM(D)}for(let[D,Z]of Object.entries(A3))A6[D]={get(){let Q=GJ(this,NG(Z.open,Z.close,this._styler),this._isEmpty);return Object.defineProperty(this,D,{value:Q}),Q}};A6.visible={get(){let D=GJ(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:D}),D}};var _M=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let D of _M)A6[D]={get(){let{level:Z}=this;return function(...Q){let Y=NG(A3.color[TM[Z]][D](...Q),A3.color.close,this._styler);return GJ(this,Y,this._isEmpty)}}};for(let D of _M){let Z="bg"+D[0].toUpperCase()+D.slice(1);A6[Z]={get(){let{level:Q}=this;return function(...Y){let J=NG(A3.bgColor[TM[Q]][D](...Y),A3.bgColor.close,this._styler);return GJ(this,J,this._isEmpty)}}}}var Te=Object.defineProperties(()=>{},{...A6,level:{enumerable:!0,get(){return this._generator.level},set(D){this._generator.level=D}}}),NG=(D,Z,Q)=>{let Y,J;if(Q===void 0)Y=D,J=Z;else Y=Q.openAll+D,J=Z+Q.closeAll;return{open:D,close:Z,openAll:Y,closeAll:J,parent:Q}},GJ=(D,Z,Q)=>{let Y=(...J)=>{if(VJ(J[0])&&VJ(J[0].raw))return vM(Y,kM(Y,...J));return vM(Y,J.length===1?""+J[0]:J.join(" "))};return Object.setPrototypeOf(Y,Te),Y._generator=D,Y._styler=Z,Y._isEmpty=Q,Y},vM=(D,Z)=>{if(D.level<=0||!Z)return D._isEmpty?"":Z;let Q=D._styler;if(Q===void 0)return Z;let{openAll:Y,closeAll:J}=Q;if(Z.indexOf("\x1B")!==-1)while(Q!==void 0)Z=Se(Z,Q.close,Q.open),Q=Q.parent;let q=Z.indexOf(`
|
|
191
|
+
`);if(q!==-1)Z=ue(Z,J,Y,q);return Y+Z+J},MG,kM=(D,...Z)=>{let[Q]=Z;if(!VJ(Q)||!VJ(Q.raw))return Z.join(" ");let Y=Z.slice(1),J=[Q.raw[0]];for(let q=1;q<Q.length;q++)J.push(String(Y[q-1]).replace(/[{}\\]/g,"\\$&"),String(Q.raw[q]));if(MG===void 0)MG=uM();return MG(D,J.join(""))};Object.defineProperties(KJ.prototype,A6);var zJ=KJ();zJ.supportsColor=IG;zJ.stderr=KJ({level:jG?jG.level:0});zJ.stderr.supportsColor=jG;yM.exports=zJ});var E3=M((KZ0,mM)=>{var be=require("url"),SG=!1,uG=!0;function fM(D,Z){let Q=process.env[D];if(Q===void 0){if(Z===void 0&&!uG)return Q;if(Z===void 0)throw new Error("GetEnv.Nonexistent: "+D+" does not exist and no fallback value provided.");if(SG)throw new Error("GetEnv.DisabledFallbacks: "+D+" relying on fallback when fallbacks have been disabled");return""+Z}return Q}var $3={string:function(D){return""+D},int:function(D){if(!D.match(/^-?\d+$/))throw new Error("GetEnv.NoInteger: "+D+" is not an integer.");return+D},float:function(D){if(+D===1/0||+D===-1/0)throw new Error("GetEnv.Infinity: "+D+" is set to +/-Infinity.");if(!!(isNaN(D)||D===""))throw new Error("GetEnv.NoFloat: "+D+" is not a number.");return+D},bool:function(D){if(!((D||"").toLowerCase()==="true"||(D||"").toLowerCase()==="false"))throw new Error("GetEnv.NoBoolean: "+D+" is not a boolean.");return(D||"").toLowerCase()==="true"},boolish:function(D){try{return $3.bool(D)}catch(Z){if(!(D==="1"||D==="0"))throw new Error("GetEnv.NoBoolean: "+D+" is not a boolean.");return D==="1"}},url:be.parse};function xM(D){return function(Z,Q){if(typeof Z=="string"){let Y=fM(Z,Q);return $3[D](Y)}else return Q2.multi(Z)}}var Q2=xM("string");Object.keys($3).forEach(function(D){Q2[D]=xM(D)});Q2.array=function D(Z,Q,Y,J){if(Q=Q||"string",J=J||/\s*,\s*/,Object.keys($3).indexOf(Q)===-1)throw new Error("GetEnv.ArrayUndefinedType: Unknown array type "+Q);return fM(Z,Y).split(J).map($3[Q])};Q2.multi=function D(Z){let Q={};for(let Y in Z){let J=Z[Y];if(Array.isArray(J))switch(J.length){case 1:case 2:Q[Y]=Q2(J[0],J[1]);break;case 3:Q[Y]=Q2[J[2]](J[0],J[1]);break;default:throw"getenv.multi(): invalid spec"}else Q[Y]=Q2(J)}return Q};Q2.disableFallbacks=function(){SG=!0};Q2.enableFallbacks=function(){SG=!1};Q2.disableErrors=function(){uG=!1};Q2.enableErrors=function(){uG=!0};mM.exports=Q2});var OD=M(($6)=>{Object.defineProperty($6,"__esModule",{value:!0});$6.UnexpectedError=$6.PluginError=void 0;class gM extends Error{name="UnexpectedError";constructor(D){super(`${D}
|
|
192
|
+
Report this issue: https://github.com/expo/expo/issues`)}}$6.UnexpectedError=gM;class cM extends Error{name="PluginError";isPluginError=!0;constructor(D,Z,Q){super(Q?`${D}
|
|
193
|
+
└─ Cause: ${Q.name}: ${Q.message}`:D);this.code=Z,this.cause=Q}}$6.PluginError=cM});var q7=M((WJ)=>{Object.defineProperty(WJ,"__esModule",{value:!0});WJ.withBaseMod=lM;WJ.withMod=fe;function E6(){let D=he(PG());return E6=function(){return D},D}function dM(){let D=E3();return dM=function(){return D},D}function vG(){let D=OD();return vG=function(){return D},D}function he(D){return D&&D.__esModule?D:{default:D}}var _e=dM().boolish("EXPO_DEBUG",!1);function lM(D,{platform:Z,mod:Q,action:Y,skipEmptyMod:J,isProvider:q,isIntrospective:B,saveToInternal:H}){if(!D.mods)D.mods={};if(!D.mods[Z])D.mods[Z]={};let V=D.mods[Z][Q];if(!V){if(J)return D;V=(F)=>F}let K="",G=D._internal?.isDebug??_e;if(G){let O=new Error().stack;K=ye(O),K=`${E6().default.bold(`${Z}.${Q}`)}: ${K}`}if(V.isProvider)if(q)throw new(vG()).PluginError(`Cannot set provider mod for "${Z}.${Q}" because another is already being used.`,"CONFLICTING_PROVIDER");else throw new(vG()).PluginError(`Cannot add mod to "${Z}.${Q}" because the provider has already been added. Provider must be the last mod added.`,"INVALID_MOD_ORDER");async function W({modRequest:O,...F}){if(G)console.log(K);let E=await Y({...F,modRequest:{...O,nextMod:V}});if(H)ke(E,Z,Q,E.modResults);return E}if(W.isProvider=q,B)W.isIntrospective=B;return D.mods[Z][Q]=W,D}function ke(D,Z,Q,Y){if(!D._internal)D._internal={};if(!D._internal.modResults)D._internal.modResults={};if(!D._internal.modResults[Z])D._internal.modResults[Z]={};D._internal.modResults[Z][Q]=Y}function ye(D){if(!D)return"";let Z=[];for(let J of D.split(`
|
|
194
|
+
`)){let[q,B]=J.trim().split(" ");if(q==="at")Z.push(B)}let Q=Z.map((J)=>{return J?.match(/^(\bwith[A-Z].*?\b)/)?.[1]?.trim()??J?.match(/\.(\bwith[A-Z].*?\b)/)?.[1]?.trim()??null}).filter(Boolean).filter((J)=>{return!["withMod","withBaseMod","withExtendedMod"].includes(J)}),Y=["withPlugins","withRunOnce","withStaticPlugin"];return Q.reverse().map((J,q)=>{if(J.includes("BaseMod"))J=E6().default.bold(J);if(J.toLowerCase().includes("dangerous"))J=E6().default.red(J);if(q===0)return E6().default.blue(J);else if(Y.includes(J))return E6().default.dim(J);return J}).join(" ➜ ")}function fe(D,{platform:Z,mod:Q,action:Y}){return lM(D,{platform:Z,mod:Q,isProvider:!1,async action({modRequest:{nextMod:J,...q},modResults:B,...H}){let V=await Y({modRequest:q,modResults:B,...H});return J(V)}})}});var y5=M((f1)=>{Object.defineProperty(f1,"__esModule",{value:!0});f1.createAndroidManifestPlugin=xe;f1.createStringsXmlPlugin=me;f1.withStringsXml=f1.withSettingsGradle=f1.withProjectBuildGradle=f1.withMainApplication=f1.withMainActivity=f1.withGradleProperties=f1.withAppBuildGradle=f1.withAndroidStyles=f1.withAndroidManifest=f1.withAndroidColorsNight=f1.withAndroidColors=void 0;function Y2(){let D=q7();return Y2=function(){return D},D}function xe(D,Z){let Q=(Y)=>pM(Y,async(J)=>{return J.modResults=await D(J,J.modResults),J});if(Z)Object.defineProperty(Q,"name",{value:Z});return Q}function me(D,Z){let Q=(Y)=>iM(Y,async(J)=>{return J.modResults=await D(J,J.modResults),J});if(Z)Object.defineProperty(Q,"name",{value:Z});return Q}var pM=(D,Z)=>{return Y2().withMod(D,{platform:"android",mod:"manifest",action:Z})};f1.withAndroidManifest=pM;var iM=(D,Z)=>{return Y2().withMod(D,{platform:"android",mod:"strings",action:Z})};f1.withStringsXml=iM;var ge=(D,Z)=>{return Y2().withMod(D,{platform:"android",mod:"colors",action:Z})};f1.withAndroidColors=ge;var ce=(D,Z)=>{return Y2().withMod(D,{platform:"android",mod:"colorsNight",action:Z})};f1.withAndroidColorsNight=ce;var de=(D,Z)=>{return Y2().withMod(D,{platform:"android",mod:"styles",action:Z})};f1.withAndroidStyles=de;var le=(D,Z)=>{return Y2().withMod(D,{platform:"android",mod:"mainActivity",action:Z})};f1.withMainActivity=le;var pe=(D,Z)=>{return Y2().withMod(D,{platform:"android",mod:"mainApplication",action:Z})};f1.withMainApplication=pe;var ie=(D,Z)=>{return Y2().withMod(D,{platform:"android",mod:"projectBuildGradle",action:Z})};f1.withProjectBuildGradle=ie;var ne=(D,Z)=>{return Y2().withMod(D,{platform:"android",mod:"appBuildGradle",action:Z})};f1.withAppBuildGradle=ne;var re=(D,Z)=>{return Y2().withMod(D,{platform:"android",mod:"settingsGradle",action:Z})};f1.withSettingsGradle=re;var se=(D,Z)=>{return Y2().withMod(D,{platform:"android",mod:"gradleProperties",action:Z})};f1.withGradleProperties=se});var aM=M((B7)=>{Object.defineProperty(B7,"__esModule",{value:!0});B7.getAllowBackup=rM;B7.getAllowBackupFromManifest=ae;B7.setAllowBackup=sM;B7.withAllowBackup=void 0;function TG(){let D=s2();return TG=function(){return D},D}function nM(){let D=y5();return nM=function(){return D},D}var OZ0=B7.withAllowBackup=nM().createAndroidManifestPlugin(sM,"withAllowBackup");function rM(D){return D.android?.allowBackup??!0}function sM(D,Z){let Q=rM(D),Y=TG().getMainApplication(Z);if(Y?.$)Y.$["android:allowBackup"]=String(Q);return Z}function ae(D){let Z=TG().getMainApplication(D);if(Z?.$)return String(Z.$["android:allowBackup"])==="true";return null}});var hG=M((N9)=>{Object.defineProperty(N9,"__esModule",{value:!0});N9.createBuildGradlePropsConfigPlugin=bG;N9.updateAndroidBuildPropertiesFromConfig=oM;N9.updateAndroidBuildProperty=eM;N9.withNewArchEnabledGradleProps=N9.withJsEngineGradleProps=void 0;function tM(){let D=y5();return tM=function(){return D},D}function bG(D,Z){let Q=(Y,J)=>tM().withGradleProperties(Y,(q)=>{return q.modResults=oM(J??q,q.modResults,D),q});if(Z)Object.defineProperty(Q,"name",{value:Z});return Q}var FZ0=N9.withJsEngineGradleProps=bG([{propName:"hermesEnabled",propValueGetter:(D)=>((D.android?.jsEngine??D.jsEngine??"hermes")==="hermes").toString()}],"withJsEngineGradleProps"),UZ0=N9.withNewArchEnabledGradleProps=bG([{propName:"newArchEnabled",propValueGetter:(D)=>(D.android?.newArchEnabled??D.newArchEnabled)?.toString()}],"withNewArchEnabledGradleProps");function oM(D,Z,Q){for(let Y of Q){let J=Y.propValueGetter(D);eM(Z,Y.propName,J)}return Z}function eM(D,Z,Q,Y){let J=D.findIndex((B)=>B.type==="property"&&B.key===Z),q=J>=0?D[J]:null;if(Q){let B={type:"property",key:Z,value:Q};if(q&&q.type==="property"){try{let H=JSON.parse(q.value),V=JSON.parse(Q);if(Array.isArray(H)&&Array.isArray(V)){let K=H.map((O)=>JSON.stringify(O)),G=V.map((O)=>JSON.stringify(O)),W=[...new Set([...K,...G])].map((O)=>JSON.parse(O));return q.value=JSON.stringify(W),D}}catch{}return q.value=Q,D}return D.push(B),D}if(Y?.removePropWhenValueIsNull&&J>=0)return D.splice(J,1),D;return D}});var L3=M((w3)=>{Object.defineProperty(w3,"__esModule",{value:!0});w3.directoryExistsAsync=ee;w3.fileExists=D00;w3.fileExistsAsync=oe;function _G(){let D=te(require("fs"));return _G=function(){return D},D}function te(D){return D&&D.__esModule?D:{default:D}}async function DI(D){try{return await _G().default.promises.stat(D)}catch{return null}}async function oe(D){return(await DI(D))?.isFile()??!1}async function ee(D){return(await DI(D))?.isDirectory()??!1}function D00(D){try{return _G().default.statSync(D).isFile()}catch{return!1}}});var H7=M((f5)=>{Object.defineProperty(f5,"__esModule",{value:!0});f5.getAndroidManifestAsync=V00;f5.getAppBuildGradleAsync=H00;f5.getAppBuildGradleFilePath=KI;f5.getFileInfo=w6;f5.getGradleFilePath=XJ;f5.getMainActivityAsync=J00;f5.getMainApplicationAsync=Y00;f5.getProjectBuildGradleAsync=q00;f5.getProjectBuildGradleFilePath=HI;f5.getProjectFilePath=kG;f5.getProjectPathOrThrowAsync=yG;f5.getResourceFolderAsync=GI;f5.getResourceXMLPathAsync=K00;f5.getSettingsGradleAsync=B00;f5.getSettingsGradleFilePath=VI;function ZI(){let D=BI(require("assert"));return ZI=function(){return D},D}function OJ(){let D=BI(require("fs"));return OJ=function(){return D},D}function QI(){let D=b4();return QI=function(){return D},D}function J2(){let D=Z00(require("path"));return J2=function(){return D},D}function YI(){let D=OD();return YI=function(){return D},D}function JI(){let D=L3();return JI=function(){return D},D}function qI(D){if(typeof WeakMap!="function")return null;var Z=new WeakMap,Q=new WeakMap;return(qI=function(Y){return Y?Q:Z})(D)}function Z00(D,Z){if(!Z&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var Q=qI(Z);if(Q&&Q.has(D))return Q.get(D);var Y={__proto__:null},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in D)if(q!=="default"&&{}.hasOwnProperty.call(D,q)){var B=J?Object.getOwnPropertyDescriptor(D,q):null;B&&(B.get||B.set)?Object.defineProperty(Y,q,B):Y[q]=D[q]}return Y.default=D,Q&&Q.set(D,Y),Y}function BI(D){return D&&D.__esModule?D:{default:D}}function kG(D,Z){let Q=QI().globSync(`android/app/src/main/java/**/${Z}.@(java|kt)`,{cwd:D,absolute:!0})[0];return ZI().default(Q,`Project file "${Z}" does not exist in android project for root "${D}"`),Q}function Q00(D){let Z=J2().extname(D);switch(Z){case".java":return"java";case".kts":case".kt":return"kt";case".groovy":case".gradle":return"groovy";default:throw new(YI()).UnexpectedError(`Unexpected Android file extension: ${Z}`)}}function w6(D){return{path:J2().normalize(D),contents:OJ().default.readFileSync(D,"utf8"),language:Q00(D)}}async function Y00(D){let Z=kG(D,"MainApplication");return w6(Z)}async function J00(D){let Z=kG(D,"MainActivity");return w6(Z)}function XJ(D,Z){let Q=J2().resolve(D,`${Z}.gradle`),Y=J2().resolve(D,`${Z}.gradle.kts`),J=OJ().default.existsSync(Q),q=!J&&OJ().default.existsSync(Y);if(!J&&!q)throw new Error(`Failed to find '${Z}.gradle' file for project: ${D}.`);return J?Q:Y}function HI(D){return XJ(J2().join(D,"android"),"build")}async function q00(D){return w6(HI(D))}function VI(D){return XJ(J2().join(D,"android"),"settings")}async function B00(D){return w6(VI(D))}function KI(D){return XJ(J2().join(D,"android","app"),"build")}async function H00(D){return w6(KI(D))}async function yG(D){let Z=J2().join(D,"android");if(await JI().directoryExistsAsync(Z))return Z;throw new Error(`Android project folder is missing in project: ${D}`)}async function V00(D){let Z=await yG(D);return J2().join(Z,"app/src/main/AndroidManifest.xml")}async function GI(D){let Z=await yG(D);return J2().join(Z,"app/src/main/res")}async function K00(D,{kind:Z="values",name:Q}){let Y=await GI(D);return J2().join(Y,`${Z}/${Q}.xml`)}});var L6=M((a2)=>{Object.defineProperty(a2,"__esModule",{value:!0});a2.buildResourceGroup=X00;a2.buildResourceItem=O00;a2.ensureDefaultResourceXML=W00;a2.findResourceGroup=F00;a2.getObjectAsResourceGroup=A00;a2.getObjectAsResourceItems=WI;a2.getResourceItemsAsObject=U00;a2.readResourcesXMLAsync=z00;function zI(){let D=J7();return zI=function(){return D},D}var G00='<?xml version="1.0" encoding="utf-8"?><resources></resources>';async function z00({path:D,fallback:Z=G00}){let Q=await zI().readXMLAsync({path:D,fallback:Z});if(!Q.resources)Q.resources={};return Q}function W00(D){if(!D)D={resources:{}};if(!D.resources)D.resources={};return D}function O00({name:D,value:Z,targetApi:Q,translatable:Y}){let J={$:{name:D},_:Z};if(Q)J.$["tools:targetApi"]=Q;if(Y!==void 0)J.$.translatable=String(Y);return J}function X00(D){return{$:{name:D.name,parent:D.parent},item:D.items??[]}}function F00(D,Z){return D?.filter?.(({$:Y})=>{let J=Y.name===Z.name;if(Z.parent!=null&&J)J=Y.parent===Z.parent;return J})?.[0]??null}function U00(D){return D.reduce((Z,Q)=>({...Z,[Q.$.name]:Q._}),{})}function WI(D){return Object.entries(D).map(([Z,Q])=>({$:{name:Z},_:Q}))}function A00(D){return{$:{name:D.name,parent:D.parent},item:WI(D.item)}}});var UJ=M((XD)=>{Object.defineProperty(XD,"__esModule",{value:!0});XD.assignColorValue=E00;XD.getColorsAsObject=w00;XD.getObjectAsColorsXml=L00;XD.getProjectColorsXMLPathAsync=$00;XD.removeColorItem=FI;XD.setColorItem=XI;function OI(){let D=H7();return OI=function(){return D},D}function FJ(){let D=L6();return FJ=function(){return D},D}function $00(D,{kind:Z}={}){return OI().getResourceXMLPathAsync(D,{kind:Z,name:"colors"})}function XI(D,Z){if(Z.resources?.color){let Q=Z.resources.color.filter((Y)=>Y.$.name===D.$.name)[0];if(Q)Q._=D._;else Z.resources.color.push(D)}else{if(!Z.resources||typeof Z.resources==="string")Z.resources={};Z.resources.color=[D]}return Z}function FI(D,Z){if(Z.resources?.color){let Q=Z.resources.color.findIndex((Y)=>Y.$.name===D);if(Q>-1)Z.resources.color.splice(Q,1)}return Z}function E00(D,{value:Z,name:Q}){if(Z)return XI(FJ().buildResourceItem({name:Q,value:Z}),D);return FI(Q,D)}function w00(D){if(!D?.resources?.color)return null;return FJ().getResourceItemsAsObject(D.resources.color)}function L00(D){return{resources:{color:FJ().getObjectAsResourceItems(D)}}}});var UI=M((AJ)=>{Object.defineProperty(AJ,"__esModule",{value:!0});AJ.default=void 0;var CZ0=AJ.default=`// Build integration with EAS
|
|
195
|
+
|
|
196
|
+
import java.nio.file.Paths
|
|
197
|
+
|
|
198
|
+
android {
|
|
199
|
+
signingConfigs {
|
|
200
|
+
release {
|
|
201
|
+
// This is necessary to avoid needing the user to define a release signing config manually
|
|
202
|
+
// If no release config is defined, and this is not present, build for assembleRelease will crash
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
buildTypes {
|
|
207
|
+
release {
|
|
208
|
+
// This is necessary to avoid needing the user to define a release build type manually
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
def isEasBuildConfigured = false
|
|
214
|
+
|
|
215
|
+
tasks.whenTaskAdded {
|
|
216
|
+
def debug = gradle.startParameter.taskNames.any { it.toLowerCase().contains('debug') }
|
|
217
|
+
|
|
218
|
+
if (debug) {
|
|
219
|
+
return
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
// We only need to configure EAS build once
|
|
223
|
+
if (isEasBuildConfigured) {
|
|
224
|
+
return
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
isEasBuildConfigured = true;
|
|
228
|
+
|
|
229
|
+
android.signingConfigs.release {
|
|
230
|
+
def credentialsJson = rootProject.file("../credentials.json");
|
|
231
|
+
|
|
232
|
+
if (credentialsJson.exists()) {
|
|
233
|
+
if (storeFile && !System.getenv("EAS_BUILD")) {
|
|
234
|
+
println("Path to release keystore file is already set, ignoring 'credentials.json'")
|
|
235
|
+
} else {
|
|
236
|
+
try {
|
|
237
|
+
def credentials = new groovy.json.JsonSlurper().parse(credentialsJson)
|
|
238
|
+
def keystorePath = Paths.get(credentials.android.keystore.keystorePath);
|
|
239
|
+
def storeFilePath = keystorePath.isAbsolute()
|
|
240
|
+
? keystorePath
|
|
241
|
+
: rootProject.file("..").toPath().resolve(keystorePath);
|
|
242
|
+
|
|
243
|
+
storeFile storeFilePath.toFile()
|
|
244
|
+
storePassword credentials.android.keystore.keystorePassword
|
|
245
|
+
keyAlias credentials.android.keystore.keyAlias
|
|
246
|
+
if (credentials.android.keystore.containsKey("keyPassword")) {
|
|
247
|
+
keyPassword credentials.android.keystore.keyPassword
|
|
248
|
+
} else {
|
|
249
|
+
// key password is required by Gradle, but PKCS keystores don't have one
|
|
250
|
+
// using the keystore password seems to satisfy the requirement
|
|
251
|
+
keyPassword credentials.android.keystore.keystorePassword
|
|
252
|
+
}
|
|
253
|
+
} catch (Exception e) {
|
|
254
|
+
println("An error occurred while parsing 'credentials.json': " + e.message)
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
} else {
|
|
258
|
+
if (storeFile == null) {
|
|
259
|
+
println("Couldn't find a 'credentials.json' file, skipping release keystore configuration")
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
android.buildTypes.release {
|
|
265
|
+
signingConfig android.signingConfigs.release
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
`});var wI=M((C3)=>{Object.defineProperty(C3,"__esModule",{value:!0});C3.configureEasBuildAsync=R00;C3.getEasBuildGradlePath=gG;C3.isEasBuildGradleConfiguredAsync=M00;function C6(){let D=mG(require("fs"));return C6=function(){return D},D}function $J(){let D=mG(require("path"));return $J=function(){return D},D}function AI(){let D=mG(UI());return AI=function(){return D},D}function xG(){let D=C00(H7());return xG=function(){return D},D}function $I(D){if(typeof WeakMap!="function")return null;var Z=new WeakMap,Q=new WeakMap;return($I=function(Y){return Y?Q:Z})(D)}function C00(D,Z){if(!Z&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var Q=$I(Z);if(Q&&Q.has(D))return Q.get(D);var Y={__proto__:null},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in D)if(q!=="default"&&{}.hasOwnProperty.call(D,q)){var B=J?Object.getOwnPropertyDescriptor(D,q):null;B&&(B.get||B.set)?Object.defineProperty(Y,q,B):Y[q]=D[q]}return Y.default=D,Q&&Q.set(D,Y),Y}function mG(D){return D&&D.__esModule?D:{default:D}}var fG='apply from: "./eas-build.gradle"';function EI(D,Z){return D.replace(/\r\n/g,`
|
|
269
|
+
`).split(`
|
|
270
|
+
`).some((Q)=>Q===Z||Q===Z.replace(/"/g,"'"))}function gG(D){return $J().default.join(D,"android","app","eas-build.gradle")}async function R00(D){let Z=xG().getAppBuildGradleFilePath(D),Q=gG(D);await C6().default.promises.writeFile(Q,AI().default);let Y=await C6().default.promises.readFile($J().default.join(Z),"utf8");if(!EI(Y,fG))await C6().default.promises.writeFile(Z,`${Y.trim()}
|
|
271
|
+
${fG}
|
|
272
|
+
`)}async function M00(D){let Z=xG().getAppBuildGradleFilePath(D),Q=gG(D),Y=await C6().default.existsSync(Q),J=await C6().default.promises.readFile($J().default.join(Z),"utf8");return EI(J,fG)&&Y}});var jI=M((M6)=>{Object.defineProperty(M6,"__esModule",{value:!0});M6.getGoogleMapsApiKey=MI;M6.setGoogleMapsApiKey=II;M6.withGoogleMapsApiKey=void 0;function R6(){let D=s2();return R6=function(){return D},D}function RI(){let D=y5();return RI=function(){return D},D}var LI="com.google.android.geo.API_KEY",CI="org.apache.http.legacy",IZ0=M6.withGoogleMapsApiKey=RI().createAndroidManifestPlugin(II,"withGoogleMapsApiKey");function MI(D){return D.android?.config?.googleMaps?.apiKey??null}function II(D,Z){let Q=MI(D),Y=R6().getMainApplicationOrThrow(Z);if(Q)R6().addMetaDataItemToMainApplication(Y,LI,Q),R6().addUsesLibraryItemToMainApplication(Y,{name:CI,required:!1});else R6().removeMetaDataItemFromMainApplication(Y,LI),R6().removeUsesLibraryItemFromMainApplication(Y,CI);return Z}});var wJ=M((EJ)=>{Object.defineProperty(EJ,"__esModule",{value:!0});EJ.withDangerousMod=void 0;function NI(){let D=q7();return NI=function(){return D},D}var I00=(D,[Z,Q])=>{return NI().withMod(D,{platform:Z,mod:"dangerous",action:Q})};EJ.withDangerousMod=I00});var uI=M((LJ)=>{Object.defineProperty(LJ,"__esModule",{value:!0});LJ.copyFilePathToPathAsync=j00;LJ.removeFile=N00;function R3(){let D=SI(require("fs"));return R3=function(){return D},D}function PI(){let D=SI(require("path"));return PI=function(){return D},D}function SI(D){return D&&D.__esModule?D:{default:D}}async function j00(D,Z){let Q=await R3().default.promises.readFile(D);await R3().default.promises.mkdir(PI().default.dirname(Z),{recursive:!0}),await R3().default.promises.writeFile(Z,Q)}function N00(D){try{return R3().default.unlinkSync(D),!0}catch(Z){if(Z.code==="ENOENT")return!1;throw Z}}});var v5=M((M3)=>{Object.defineProperty(M3,"__esModule",{value:!0});M3.addWarningAndroid=S00;M3.addWarningForPlatform=v00;M3.addWarningIOS=u00;function CJ(){let D=P00(PG());return CJ=function(){return D},D}function P00(D){return D&&D.__esModule?D:{default:D}}function S00(D,Z,Q){console.warn(cG("android",D,Z,Q))}function u00(D,Z,Q){console.warn(cG("ios",D,Z,Q))}function v00(D,Z,Q,Y){console.warn(cG(D,Z,Q,Y))}function cG(D,Z,Q,Y){return CJ().default.yellow`${"» "+CJ().default.bold(D)}: ${Z}: ${Q}${Y?CJ().default.gray(" "+Y):""}`}});var fI=M((q2)=>{Object.defineProperty(q2,"__esModule",{value:!0});q2.applyPlugin=yI;q2.getGoogleServicesFilePath=RJ;q2.setClassPath=kI;q2.setGoogleServicesFile=_I;q2.withGoogleServicesFile=q2.withClassPath=q2.withApplyPlugin=void 0;function dG(){let D=T00(require("path"));return dG=function(){return D},D}function lG(){let D=y5();return lG=function(){return D},D}function bI(){let D=wJ();return bI=function(){return D},D}function hI(){let D=uI();return hI=function(){return D},D}function pG(){let D=v5();return pG=function(){return D},D}function T00(D){return D&&D.__esModule?D:{default:D}}var b00="./android/app/google-services.json",vI="com.google.gms:google-services",TI="com.google.gms.google-services",h00="4.4.1",_00=(D)=>{return lG().withProjectBuildGradle(D,(Z)=>{if(Z.modResults.language==="groovy")Z.modResults.contents=kI(Z,Z.modResults.contents);else pG().addWarningAndroid("android.googleServicesFile","Cannot automatically configure project build.gradle if it's not groovy");return Z})};q2.withClassPath=_00;var k00=(D)=>{return lG().withAppBuildGradle(D,(Z)=>{if(Z.modResults.language==="groovy")Z.modResults.contents=yI(Z,Z.modResults.contents);else pG().addWarningAndroid("android.googleServicesFile","Cannot automatically configure app build.gradle if it's not groovy");return Z})};q2.withApplyPlugin=k00;var y00=(D)=>{return bI().withDangerousMod(D,["android",async(Z)=>{return await _I(Z,Z.modRequest.projectRoot),Z}])};q2.withGoogleServicesFile=y00;function RJ(D){return D.android?.googleServicesFile??null}async function _I(D,Z,Q=b00){let Y=RJ(D);if(!Y)return!1;let J=dG().default.resolve(Z,Y),q=dG().default.resolve(Z,Q);try{await hI().copyFilePathToPathAsync(J,q)}catch(B){throw console.log(B),new Error(`Cannot copy google-services.json from ${J} to ${q}. Ensure the source and destination paths exist.`)}return!0}function kI(D,Z){if(!RJ(D))return Z;if(Z.includes(vI))return Z;return Z.replace(/dependencies\s?{/,`dependencies {
|
|
273
|
+
classpath '${vI}:${h00}'`)}function yI(D,Z){if(!RJ(D))return Z;let Y=new RegExp(`apply\\s+plugin:\\s+['"]${TI}['"]`);if(Z.match(Y))return Z;return Z+`
|
|
274
|
+
apply plugin: '${TI}'`}});var pI=M((V7)=>{Object.defineProperty(V7,"__esModule",{value:!0});V7.default=lI;V7.getIntentFilters=cI;V7.setAndroidIntentFilters=dI;V7.withAndroidIntentFilters=void 0;function xI(){let D=s2();return xI=function(){return D},D}function mI(){let D=y5();return mI=function(){return D},D}var gI="data-generated",vZ0=V7.withAndroidIntentFilters=mI().createAndroidManifestPlugin(dI,"withAndroidIntentFilters");function cI(D){return D.android?.intentFilters??[]}function dI(D,Z){let Q=xI().getMainActivityOrThrow(Z);if(Q["intent-filter"]?.length)Q["intent-filter"]=Q["intent-filter"].filter((J)=>J.$?.[gI]!=="true");let Y=cI(D);if(!Y.length)return Z;return Q["intent-filter"]=Q["intent-filter"]?.concat(lI(Y)),Z}function lI(D){return D.map((Z)=>{return{$:{"android:autoVerify":Z.autoVerify?"true":void 0,[gI]:"true"},action:[{$:{"android:name":`android.intent.action.${Z.action}`}}],data:f00(Z.data),category:x00(Z.category)}})}function f00(D){return(Array.isArray(D)?D:[D]).filter(Boolean).map((Z)=>({$:Object.entries(Z??{}).reduce((Q,[Y,J])=>({...Q,[`android:${Y}`]:J}),{})}))}function x00(D){return(Array.isArray(D)?D:[D]).filter(Boolean).map((Z)=>({$:{"android:name":`android.intent.category.${Z}`}}))}});var nG=M((iG)=>{Object.defineProperty(iG,"__esModule",{value:!0});iG.getResolvedLocalesAsync=m00;function iI(){let D=sI(c7());return iI=function(){return D},D}function nI(){let D=sI(require("path"));return nI=function(){return D},D}function rI(){let D=v5();return rI=function(){return D},D}function sI(D){return D&&D.__esModule?D:{default:D}}async function m00(D,Z,Q){let Y={};for(let[J,q]of Object.entries(Z)){let B=null;if(typeof q==="string")try{B=await iI().default.readAsync(nI().default.join(D,q))}catch{rI().addWarningForPlatform(Q,`locales.${J}`,`Failed to parse JSON of locale file for language: ${J}`,"https://docs.expo.dev/guides/localization/#translating-app-metadata")}else B=q;if(B){let{android:H,ios:V,...K}={android:{},ios:{},...B};if(Q==="ios")Y[J]={...K,...V};else Y[J]={...K,...H}}}return Y}});var Zj=M((I6)=>{Object.defineProperty(I6,"__esModule",{value:!0});I6.getLocales=eI;I6.setLocalesAsync=Dj;I6.withLocales=void 0;function aI(){let D=g00(require("path"));return aI=function(){return D},D}function rG(){let D=sG();return rG=function(){return D},D}function tI(){let D=J7();return tI=function(){return D},D}function oI(){let D=nG();return oI=function(){return D},D}function g00(D){return D&&D.__esModule?D:{default:D}}var c00=(D)=>{return rG().withDangerousMod(D,["android",async(Z)=>{return Z.modResults=await Dj(Z,{projectRoot:Z.modRequest.projectRoot}),Z}])};I6.withLocales=c00;function eI(D){return D.locales??null}async function Dj(D,{projectRoot:Z}){let Q=eI(D);if(!Q)return D;let Y=await oI().getResolvedLocalesAsync(Z,Q,"android");for(let[J,q]of Object.entries(Y)){let B=aI().default.join(await rG().AndroidConfig.Paths.getResourceFolderAsync(Z),`values-b+${J.replaceAll("-","+")}`,"strings.xml");tI().writeXMLAsync({path:B,xml:{resources:Object.entries(q).map(([H,V])=>({string:{$:{name:H},_:`"${V}"`}}))}})}return D}});var MJ=M((I3)=>{Object.defineProperty(I3,"__esModule",{value:!0});I3.getProjectStringsXMLPathAsync=d00;I3.removeStringItem=p00;I3.setStringItem=l00;function Qj(){let D=H7();return Qj=function(){return D},D}async function d00(D,{kind:Z}={}){return Qj().getResourceXMLPathAsync(D,{kind:Z,name:"strings"})}function l00(D,Z){if(!Z?.resources?.string){if(!Z.resources||typeof Z.resources==="string")Z.resources={};return Z.resources.string=D,Z}for(let Q of D){let Y=Z.resources.string.findIndex((J)=>J.$.name===Q.$.name);if(Y>-1)Z.resources.string[Y]=Q;else Z.resources.string=Z.resources.string.concat(Q)}return Z}function p00(D,Z){if(Z?.resources?.string){let Q=Z.resources.string.findIndex((Y)=>Y.$.name===D);if(Q>-1)Z.resources.string.splice(Q,1)}return Z}});var Hj=M((P9)=>{Object.defineProperty(P9,"__esModule",{value:!0});P9.applyNameSettingsGradle=Bj;P9.getName=oG;P9.sanitizeNameForGradle=qj;P9.withNameSettingsGradle=P9.withName=void 0;function Yj(){let D=L6();return Yj=function(){return D},D}function aG(){let D=MJ();return aG=function(){return D},D}function tG(){let D=y5();return tG=function(){return D},D}function Jj(){let D=v5();return Jj=function(){return D},D}function qj(D){return D=D.replace(/[\n\r\t]/g,""),D.replace(/(\/|\\|:|<|>|"|\?|\*|\|)/g,"")}var kZ0=P9.withName=tG().createStringsXmlPlugin(n00,"withName"),i00=(D)=>{return tG().withSettingsGradle(D,(Z)=>{if(Z.modResults.language==="groovy")Z.modResults.contents=Bj(Z,Z.modResults.contents);else Jj().addWarningAndroid("name","Cannot automatically configure settings.gradle if it's not groovy");return Z})};P9.withNameSettingsGradle=i00;function oG(D){return typeof D.name==="string"?D.name:null}function n00(D,Z){let Q=oG(D);if(Q)return aG().setStringItem([Yj().buildResourceItem({name:"app_name",value:Q})],Z);return aG().removeStringItem("app_name",Z)}function Bj(D,Z){let Q=qj(oG(D)??"");return Z.replace(/rootProject.name\s?=\s?(["'])(?:(?=(\\?))\2.)*?\1/g,`rootProject.name = '${Q.replace(/'/g,"\\'")}'`)}});var Wj=M((FD)=>{Object.defineProperty(FD,"__esModule",{value:!0});FD.SCREEN_ORIENTATION_ATTRIBUTE=void 0;FD.getOrientation=Gj;FD.setAndroidOrientation=zj;FD.withOrientation=void 0;function Vj(){let D=s2();return Vj=function(){return D},D}function Kj(){let D=y5();return Kj=function(){return D},D}var r00=FD.SCREEN_ORIENTATION_ATTRIBUTE="android:screenOrientation",fZ0=FD.withOrientation=Kj().createAndroidManifestPlugin(zj,"withOrientation");function Gj(D){return typeof D.orientation==="string"?D.orientation:null}function zj(D,Z){let Q=Gj(D);if(!Q)return Z;let Y=Vj().getMainActivityOrThrow(Z);return Y.$[r00]=Q!=="default"?Q:"unspecified",Z}});var jj=M((k8)=>{Object.defineProperty(k8,"__esModule",{value:!0});k8.getApplicationIdAsync=D10;k8.getPackage=Zz;k8.kotlinSanitized=Ij;k8.renameJniOnDiskForType=Cj;k8.renamePackageOnDisk=Lj;k8.renamePackageOnDiskForType=Rj;k8.setPackageInBuildGradle=Mj;k8.withPackageRefactor=k8.withPackageGradle=void 0;function Xj(){let D=Dz(kD());return Xj=function(){return D},D}function s5(){let D=Dz(require("fs"));return s5=function(){return D},D}function N3(){let D=b4();return N3=function(){return D},D}function F5(){let D=Dz(require("path"));return F5=function(){return D},D}function eG(){let D=H7();return eG=function(){return D},D}function Fj(){let D=y5();return Fj=function(){return D},D}function Uj(){let D=wJ();return Uj=function(){return D},D}function Aj(){let D=L3();return Aj=function(){return D},D}function $j(){let D=v5();return $j=function(){return D},D}function Dz(D){return D&&D.__esModule?D:{default:D}}var j3=Xj().default("expo:config-plugins:android:package"),s00=(D)=>{return Fj().withAppBuildGradle(D,(Z)=>{if(Z.modResults.language==="groovy")Z.modResults.contents=Mj(Z,Z.modResults.contents);else $j().addWarningAndroid("android.package","Cannot automatically configure app build.gradle if it's not groovy");return Z})};k8.withPackageGradle=s00;var a00=(D)=>{return Uj().withDangerousMod(D,["android",async(Z)=>{return await Lj(Z,Z.modRequest.projectRoot),Z}])};k8.withPackageRefactor=a00;function Zz(D){return D.android?.package??null}function Ej(D,Z){return F5().default.join(D,"android","app","src",Z,"java")}function t00(D,Z){let Q=eG().getProjectFilePath(D,"MainApplication"),Y=F5().default.dirname(Q);return F5().default.relative(Z,Y).split(F5().default.sep).filter(Boolean).join(".")}function o00(D,Z,Q,Y){let J=N3().globSync(F5().default.join(D,`android/app/src/${Y}/java/**/${Q}.@(java|kt)`))[0];if(!J)return null;let q=F5().default.dirname(J);return F5().default.relative(Z,q).split(F5().default.sep).filter(Boolean).join(".")}function wj(D,Z){let Q=Ej(D,Z);if(Z==="main")return t00(D,Q);return o00(D,Q,"*",Z)}async function Lj(D,Z){let Q=Zz(D);if(Q===null)return;for(let Y of["debug","main","release"])await Cj({projectRoot:Z,type:Y,packageName:Q}),await Rj({projectRoot:Z,type:Y,packageName:Q})}async function Cj({projectRoot:D,type:Z,packageName:Q}){if(!Q)return;let Y=wj(D,Z);if(!Y||!Q||Y===Q)return;let J=F5().default.join(D,"android","app","src",Z,"jni");[...N3().globSync("**/*",{cwd:J,absolute:!0})].forEach((B)=>{try{if(s5().default.lstatSync(B).isFile()&&[".h",".cpp"].includes(F5().default.extname(B))){let H=s5().default.readFileSync(B).toString();H=H.replace(new RegExp(IJ(Y).replace(/\//g,"\\/"),"g"),IJ(Q)),s5().default.writeFileSync(B,H)}}catch{j3(`Error updating "${B}" for type "${Z}"`)}})}async function Rj({projectRoot:D,type:Z,packageName:Q}){if(!Q)return;let Y=wj(D,Z);if(j3(`Found package "${Y}" for type "${Z}"`),!Y||Y===Q)return;j3(`Refactor "${Y}" to "${Q}" for type "${Z}"`);let J=Ej(D,Z);if(!await Aj().directoryExistsAsync(J)){j3(`- skipping refactor of missing directory: ${J}`);return}let q=F5().default.join(J,...Y.split(".")),B=F5().default.join(J,...Q.split("."));s5().default.mkdirSync(B,{recursive:!0}),N3().globSync("**/*",{cwd:q}).forEach((G)=>{let W=F5().default.join(q,G);if(s5().default.lstatSync(W).isFile())e00(W,F5().default.join(B,G));else s5().default.mkdirSync(W,{recursive:!0})});let H=Y.split(".");while(H.length){let G=F5().default.join(J,...H);try{if(s5().default.readdirSync(G).length===0)s5().default.rmdirSync(G)}finally{H.pop()}}let V=[...N3().globSync("**/*",{cwd:B,absolute:!0})];if(Z==="main")V.push(F5().default.join(D,"android","app","BUCK"));let K=Ij(Q);V.forEach((G)=>{try{if(s5().default.lstatSync(G).isFile()){let W=s5().default.readFileSync(G).toString();if(F5().default.extname(G)===".kt")W=Oj(W,Y,K);else W=Oj(W,Y,Q);if([".h",".cpp"].includes(F5().default.extname(G)))W=W.replace(new RegExp(IJ(Y).replace(/\//g,"\\"),"g"),IJ(Q));s5().default.writeFileSync(G,W)}}catch{j3(`Error updating "${G}" for type "${Z}"`)}})}function e00(D,Z){s5().default.mkdirSync(F5().default.dirname(Z),{recursive:!0}),s5().default.renameSync(D,Z)}function Mj(D,Z){let Q=Zz(D);if(Q===null)return Z;let Y=new RegExp(`(applicationId|namespace) ['"].*['"]`,"g");return Z.replace(Y,`$1 '${Q}'`)}async function D10(D){let Z=eG().getAppBuildGradleFilePath(D);if(!s5().default.existsSync(Z))return null;return(await s5().default.promises.readFile(Z,"utf8")).match(/applicationId ['"](.*)['"]/)?.[1]??null}function Oj(D,Z,Q){let Y=Z.replace(/\./g,"\\.");return D.replace(new RegExp(`"${Y}"`,"g"),`"${Q}"`).replace(new RegExp(`(package|namespace)(\\s+)${Y}`,"g"),`$1$2${Q}`).replace(new RegExp(`(import\\s+)${Y}\\.`,"g"),`$1${Q}.`)}function IJ(D){return`L${D.replace(/\./g,"/")}`}function Ij(D){let Z=["is","in","as","fun"];return D.split(".").map((q)=>Z.includes(q)?"`"+q+"`":q).join(".")}});var hj=M((E5)=>{Object.defineProperty(E5,"__esModule",{value:!0});E5.addBlockedPermissions=Sj;E5.addPermission=Yz;E5.addPermissionToManifest=bj;E5.ensurePermission=B10;E5.ensurePermissionNameFormat=S3;E5.ensurePermissions=q10;E5.getAndroidPermissions=uj;E5.getPermissions=Jz;E5.isPermissionAlreadyRequested=Tj;E5.removePermissions=J10;E5.setAndroidPermissions=vj;E5.withPermissions=E5.withInternalBlockedPermissions=E5.withBlockedPermissions=void 0;function Nj(){let D=s2();return Nj=function(){return D},D}function Qz(){let D=y5();return Qz=function(){return D},D}var P3="uses-permission",Z10=(D,Z)=>{if(Array.isArray(Z)){if(Z=Z.filter(Boolean),!D.android)D.android={};if(!D.android.permissions)D.android.permissions=[];D.android.permissions=[...new Set(D.android.permissions.concat(Z))]}return Qz().withAndroidManifest(D,async(Q)=>{return Q.modResults=await vj(Q,Q.modResults),Q})};E5.withPermissions=Z10;var Pj=(D,Z)=>{let Q=jJ((Array.isArray(Z)?Z:[Z]).filter(Boolean));if(D?.android?.permissions&&Array.isArray(D.android.permissions))D.android.permissions=jJ(D.android.permissions).filter((Y)=>!Q.includes(Y));return Qz().withAndroidManifest(D,async(Y)=>{return Y.modResults=Nj().ensureToolsAvailable(Y.modResults),Y.modResults=Sj(Y.modResults,Q),Y})};E5.withBlockedPermissions=Pj;var Q10=(D)=>{if(D.android?.blockedPermissions?.length)return Pj(D,D.android.blockedPermissions);return D};E5.withInternalBlockedPermissions=Q10;function Sj(D,Z){if(!Array.isArray(D.manifest["uses-permission"]))D.manifest["uses-permission"]=[];for(let Q of jJ(Z))D.manifest["uses-permission"]=Y10(D.manifest["uses-permission"],Q);return D}function Y10(D,Z){return D=D.filter((Q)=>Q.$["android:name"]!==Z),D.push({$:{"android:name":Z,"tools:node":"remove"}}),D}function jJ(D){return D.map((Z)=>{if(!Z.includes("."))return`android.permission.${Z}`;return Z})}function uj(D){return D.android?.permissions??[]}function vj(D,Z){let Q=uj(D),J=[...jJ(Q)];if(!Z.manifest.hasOwnProperty("uses-permission"))Z.manifest["uses-permission"]=[];let q=Z.manifest["uses-permission"]??[];return J.forEach((B)=>{if(!Tj(B,q))bj(B,q)}),Z}function Tj(D,Z){return Z.some((Q)=>Q.$["android:name"]===D)}function bj(D,Z){return Z.push({$:{"android:name":D}}),Z}function J10(D,Z){let Q=Z?Z.map(S3):null,Y=D.manifest[P3]||[],J=[];for(let q of Y)if(Q){let B=q.$["android:name"]||q.$.name;if(!Q.includes(B))J.push(q)}D.manifest[P3]=J}function Yz(D,Z){let Q=D.manifest[P3]||[];Q.push({$:{"android:name":Z}}),D.manifest[P3]=Q}function q10(D,Z){let Q=Jz(D),Y={};for(let J of Z){let q=S3(J);if(!Q.includes(q))Yz(D,q),Y[J]=!0;else Y[J]=!1}return Y}function B10(D,Z){let Q=Jz(D),Y=S3(Z);if(!Q.includes(Y))return Yz(D,Y),!0;return!1}function S3(D){if(D.includes(".")){let Z=D.split("."),Q=Z.pop();return[...Z,Q.toUpperCase()].join(".")}else return S3(`android.permission.${D}`)}function Jz(D){return(D.manifest[P3]||[]).map((Y)=>{return Y.$["android:name"]||Y.$.name})}});var NJ=M((B2)=>{Object.defineProperty(B2,"__esModule",{value:!0});B2.assignStylesValue=O10;B2.getAppThemeGroup=W10;B2.getAppThemeLightNoActionBarGroup=z10;B2.getProjectStylesXMLPathAsync=K10;B2.getStyleParent=u3;B2.getStylesGroupAsObject=X10;B2.getStylesItem=G10;B2.readStylesXMLAsync=V10;B2.removeStylesItem=yj;B2.setStylesItem=kj;function _j(){let D=H7();return _j=function(){return D},D}function K7(){let D=L6();return K7=function(){return D},D}var H10='<?xml version="1.0" encoding="utf-8"?><resources xmlns:tools="http://schemas.android.com/tools"></resources>';async function V10({path:D,fallback:Z=H10}){return K7().readResourcesXMLAsync({path:D,fallback:Z})}async function K10(D,{kind:Z}={}){return _j().getResourceXMLPathAsync(D,{kind:Z,name:"styles"})}function qz(D){if(D=K7().ensureDefaultResourceXML(D),!Array.isArray(D?.resources?.style))D.resources.style=[];return D}function u3(D,Z){return K7().findResourceGroup(D.resources.style,Z)}function G10({name:D,xml:Z,parent:Q}){Z=qz(Z);let Y=u3(Z,Q);if(!Y)return null;if(Y.item){let J=Y.item.filter(({$:q})=>q.name===D)[0];if(J)return J}return null}function kj({item:D,xml:Z,parent:Q}){Z=qz(Z);let Y=u3(Z,Q);if(!Y)Y=K7().buildResourceGroup({parent:"Theme.AppCompat.Light.NoActionBar",...Q}),Z.resources.style.push(Y);if(Y.item){let J=Y.item.filter(({$:q})=>q.name===D.$.name)[0];if(J)J._=D._,J.$=D.$;else Y.item.push(D)}else Y.item=[D];return Z}function yj({name:D,xml:Z,parent:Q}){Z=qz(Z);let Y=u3(Z,Q);if(Y?.item){let J=Y.item.findIndex(({$:q})=>q.name===D);if(J>-1)Y.item.splice(J,1)}return Z}function z10(){return{name:"AppTheme",parent:"Theme.AppCompat.Light.NoActionBar"}}function W10(){return{name:"AppTheme"}}function O10(D,{add:Z,value:Q,targetApi:Y,name:J,parent:q}){if(Z)return kj({xml:D,parent:q,item:K7().buildResourceItem({name:J,targetApi:Y,value:Q})});return yj({xml:D,parent:q,name:J})}function X10(D,Z){let Q=u3(D,Z);return Q?.item?K7().getResourceItemsAsObject(Q.item):null}});var gj=M((S9)=>{Object.defineProperty(S9,"__esModule",{value:!0});S9.getPrimaryColor=Kz;S9.withPrimaryColorStyles=S9.withPrimaryColorColors=S9.withPrimaryColor=void 0;function fj(){let D=UJ();return fj=function(){return D},D}function Bz(){let D=NJ();return Bz=function(){return D},D}function Vz(){let D=y5();return Vz=function(){return D},D}var Hz="colorPrimary",F10="#023c69",U10=(D)=>{return D=xj(D),D=mj(D),D};S9.withPrimaryColor=U10;var xj=(D)=>{return Vz().withAndroidColors(D,(Z)=>{return Z.modResults=fj().assignColorValue(Z.modResults,{name:Hz,value:Kz(Z)}),Z})};S9.withPrimaryColorColors=xj;var mj=(D)=>{return Vz().withAndroidStyles(D,(Z)=>{return Z.modResults=Bz().assignStylesValue(Z.modResults,{add:!!Kz(Z),parent:Bz().getAppThemeGroup(),name:Hz,value:`@color/${Hz}`}),Z})};S9.withPrimaryColorStyles=mj;function Kz(D){return D.primaryColor??F10}});var cj=M((PJ)=>{Object.defineProperty(PJ,"__esModule",{value:!0});PJ.parsePropertiesFile=A10;PJ.propertiesListToString=$10;function A10(D){let Z=[],Q=D.split(`
|
|
275
|
+
`);for(let Y=0;Y<Q.length;Y++){let J=Q[Y].trim();if(!J)Z.push({type:"empty"});else if(J.startsWith("#"))Z.push({type:"comment",value:J.substring(1).trimStart()});else{let q=J.indexOf("="),B=J.slice(0,q),H=J.slice(q+1,J.length);Z.push({type:"property",key:B,value:H})}}return Z}function $10(D){let Z="";for(let Q=0;Q<D.length;Q++){let Y=D[Q];if(Y.type==="empty")Z+="";else if(Y.type==="comment")Z+="# "+Y.value;else if(Y.type==="property")Z+=`${Y.key}=${Y.value}`;else throw new Error(`Invalid properties type "${Y.type}"`);if(Q<D.length-1)Z+=`
|
|
276
|
+
`}return Z}});var ij=M((I2)=>{Object.defineProperty(I2,"__esModule",{value:!0});I2.appendScheme=pj;I2.ensureManifestHasValidIntentFilter=Oz;I2.getScheme=Gz;I2.getSchemesFromManifest=Wz;I2.hasScheme=w10;I2.removeScheme=L10;I2.setScheme=lj;I2.withScheme=void 0;function dj(){let D=y5();return dj=function(){return D},D}function zz(){let D=v5();return zz=function(){return D},D}var pZ0=I2.withScheme=dj().createAndroidManifestPlugin(lj,"withScheme");function Gz(D){if(Array.isArray(D.scheme)){let Z=(Q)=>typeof Q==="string";return D.scheme.filter(Z)}else if(typeof D.scheme==="string")return[D.scheme];return[]}function lj(D,Z){let Q=[...Gz(D),...Gz(D.android??{})];if(Q.length===0)return Z;if(!Oz(Z))return zz().addWarningAndroid("scheme",'Cannot add schemes because the provided manifest does not have a valid Activity with `android:launchMode="singleTask"`',"https://expo.fyi/setup-android-uri-scheme"),Z;let Y=Wz(Z);for(let J of Y){let q=Q.indexOf(J);if(q>-1)Q.splice(q,1)}for(let J of Q)Z=pj(J,Z);return Z}function SJ({actions:D,categories:Z}){return D.includes("android.intent.action.VIEW")&&!Z.includes("android.intent.category.LAUNCHER")}function uJ(D){let Z=D?.action?.map((J)=>J?.$?.["android:name"])??[],Q=D?.category?.map((J)=>J?.$?.["android:name"])??[],Y=D?.data?.filter((J)=>J?.$?.["android:scheme"])?.map((J)=>({scheme:J?.$?.["android:scheme"],host:J?.$?.["android:host"]}))??[];return{actions:Z,categories:Q,data:Y}}function E10(D){if(!Array.isArray(D.manifest.application))return[];let Z=[];for(let Q of D.manifest.application){let{activity:Y}=Q,q=(Array.isArray(Y)?Y:[Y]).filter((B)=>B?.$?.["android:launchMode"]==="singleTask");for(let B of q){let H=B["intent-filter"];Z=Z.concat(H)}}return Z}function Wz(D,Z=null){let Q=[],Y=E10(D);for(let J of Y){let q=uJ(J);if(SJ(q)&&q.data){for(let{scheme:B,host:H}of q.data)if(Z===null||!H||H===Z)Q.push(B)}}return Q}function Oz(D){if(!Array.isArray(D.manifest.application))return!1;for(let Z of D.manifest.application)for(let Q of Z.activity||[])if(Q?.$?.["android:launchMode"]==="singleTask"){for(let Y of Q["intent-filter"]||[]){let J=uJ(Y);if(SJ(J))return!0}if(!Q["intent-filter"])Q["intent-filter"]=[];return Q["intent-filter"].push({action:[{$:{"android:name":"android.intent.action.VIEW"}}],category:[{$:{"android:name":"android.intent.category.DEFAULT"}},{$:{"android:name":"android.intent.category.BROWSABLE"}}]}),!0}return!1}function w10(D,Z){return Wz(Z).includes(D)}function pj(D,Z){if(!Array.isArray(Z.manifest.application))return Z;if(!Oz(Z))return zz().addWarningAndroid("scheme",'Cannot add schemes because the provided manifest does not have a valid Activity with `android:launchMode="singleTask"`',"https://expo.fyi/setup-android-uri-scheme"),Z;for(let Q of Z.manifest.application)for(let Y of Q.activity||[])if(Y?.$?.["android:launchMode"]==="singleTask"){for(let J of Y["intent-filter"]||[]){let q=uJ(J);if(SJ(q)){if(!J.data)J.data=[];J.data.push({$:{"android:scheme":D}})}}break}return Z}function L10(D,Z){if(!Array.isArray(Z.manifest.application))return Z;for(let Q of Z.manifest.application)for(let Y of Q.activity||[])if(Y?.$?.["android:launchMode"]==="singleTask"){for(let J of Y["intent-filter"]||[]){let q=uJ(J);if(SJ(q)){for(let B in J?.data||[])if(J.data?.[B]?.$?.["android:scheme"]===D)delete J.data?.[B]}}break}return Z}});var ej=M((u9)=>{Object.defineProperty(u9,"__esModule",{value:!0});u9.getStatusBarColor=Fz;u9.getStatusBarStyle=oj;u9.getStatusBarTranslucent=tj;u9.setStatusBarColors=sj;u9.setStatusBarStyles=aj;u9.withStatusBar=void 0;function nj(){let D=C10(require("assert"));return nj=function(){return D},D}function rj(){let D=UJ();return rj=function(){return D},D}function v3(){let D=NJ();return v3=function(){return D},D}function Xz(){let D=y5();return Xz=function(){return D},D}function C10(D){return D&&D.__esModule?D:{default:D}}var R10="colorPrimaryDark",M10="android:windowLightStatusBar",I10="android:statusBarColor",j10=(D)=>{return D=N10(D),D=P10(D),D};u9.withStatusBar=j10;var N10=(D)=>{return Xz().withAndroidColors(D,(Z)=>{return Z.modResults=sj(Z,Z.modResults),Z})},P10=(D)=>{return Xz().withAndroidStyles(D,(Z)=>{return Z.modResults=aj(Z,Z.modResults),Z})};function sj(D,Z){return rj().assignColorValue(Z,{name:R10,value:Fz(D)})}function aj(D,Z){let Q=Fz(D),Y=tj(D);return Z=v3().assignStylesValue(Z,{parent:v3().getAppThemeGroup(),name:M10,value:"true",add:oj(D)==="dark-content"}),Z=v3().assignStylesValue(Z,{parent:v3().getAppThemeGroup(),name:I10,value:Y?"@android:color/transparent":Q??"@color/colorPrimaryDark",add:Y||!!Q}),Z}function Fz(D){let Z=D.androidStatusBar?.backgroundColor;if(Z)nj().default(Z!=="translucent",`androidStatusBar.backgroundColor must be a valid hex string, instead got: "${Z}"`);return Z}function tj(D){return D.androidStatusBar?.translucent??!1}function oj(D){return D.androidStatusBar?.barStyle||"light-content"}});var KN=M((H2)=>{Object.defineProperty(H2,"__esModule",{value:!0});H2.assertInternalProjectRoot=T10;H2.moduleNameIsDirectFileReference=TJ;H2.moduleNameIsPackageReference=BN;H2.normalizeStaticPlugin=v10;H2.pluginFileName=void 0;H2.resolveConfigPluginExport=VN;H2.resolveConfigPluginFunction=b10;H2.resolveConfigPluginFunctionWithInfo=HN;H2.resolvePluginForModule=qN;function Uz(){let D=JN(require("assert"));return Uz=function(){return D},D}function ZN(){let D=S10(require("path"));return ZN=function(){return D},D}function vJ(){let D=JN(s7());return vJ=function(){return D},D}function T3(){let D=OD();return T3=function(){return D},D}function QN(){let D=L3();return QN=function(){return D},D}function YN(D){if(typeof WeakMap!="function")return null;var Z=new WeakMap,Q=new WeakMap;return(YN=function(Y){return Y?Q:Z})(D)}function S10(D,Z){if(!Z&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var Q=YN(Z);if(Q&&Q.has(D))return Q.get(D);var Y={__proto__:null},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in D)if(q!=="default"&&{}.hasOwnProperty.call(D,q)){var B=J?Object.getOwnPropertyDescriptor(D,q):null;B&&(B.get||B.set)?Object.defineProperty(Y,q,B):Y[q]=D[q]}return Y.default=D,Q&&Q.set(D,Y),Y}function JN(D){return D&&D.__esModule?D:{default:D}}var DN=H2.pluginFileName="app.plugin.js";function qN(D,Z){if(TJ(Z)){let Q=vJ().default.silent(D,Z);if(Q)return{isPluginFile:Q.endsWith(ZN().sep+DN),filePath:Q}}else if(BN(Z)){let Q=vJ().default.silent(D,`${Z}/${DN}`);if(Q&&QN().fileExists(Q))return{isPluginFile:!0,filePath:Q};let Y=vJ().default.silent(D,Z);if(Y)return{isPluginFile:!1,filePath:Y}}throw new(T3()).PluginError(`Failed to resolve plugin for module "${Z}" relative to "${D}". Do you have node modules installed?`,"PLUGIN_NOT_FOUND")}function u10(D){return!!D.match(/^(\.|~\/|\/)/g)}function TJ(D){if(u10(D))return!0;let Z=D.split("/")?.length;if(D.startsWith("@"))return Z>2;return Z>1}function BN(D){let Z=D.split("/")?.length;return D.startsWith("@")?Z===2:Z===1}function v10(D){if(Array.isArray(D))return Uz().default(D.length>0&&D.length<3,`Wrong number of arguments provided for static config plugin, expected either 1 or 2, got ${D.length}`),D;return[D,void 0]}function T10(D){Uz().default(D,"Unexpected: Config `_internal.projectRoot` isn't defined by expo-cli, this is a bug.")}function b10(D,Z){let{plugin:Q}=HN(D,Z);return Q}function HN(D,Z){let{filePath:Q,isPluginFile:Y}=qN(D,Z),J;try{J=h10(Q)}catch(B){if(B instanceof SyntaxError){if(!Y&&!TJ(Z)){let V=new(T3()).PluginError(`Package "${Z}" does not contain a valid config plugin.
|
|
277
|
+
Learn more: https://docs.expo.dev/guides/config-plugins/#creating-a-plugin
|
|
278
|
+
|
|
279
|
+
${B.message}`,"INVALID_PLUGIN_IMPORT");throw V.stack=B.stack,V}}throw B}return{plugin:VN({plugin:J,pluginFile:Q,pluginReference:Z,isPluginFile:Y}),pluginFile:Q,pluginReference:Z,isPluginFile:Y}}function VN({plugin:D,pluginFile:Z,pluginReference:Q,isPluginFile:Y}){if(D.default!=null)D=D.default;if(typeof D!=="function"){if(!Y&&!TJ(Q))throw new(T3()).PluginError(`Package "${Q}" does not contain a valid config plugin. Module must export a function from file: ${Z}
|
|
280
|
+
Learn more: https://docs.expo.dev/guides/config-plugins/#creating-a-plugin`,"INVALID_PLUGIN_TYPE");throw new(T3()).PluginError(`Plugin "${Q}" must export a function from file: ${Z}. Learn more: https://docs.expo.dev/guides/config-plugins/#creating-a-plugin`,"INVALID_PLUGIN_TYPE")}return D}function h10(D){try{return require(D)}catch(Z){throw Z}}});var Az=M((kJ)=>{Object.defineProperty(kJ,"__esModule",{value:!0});kJ.withStaticPlugin=void 0;function zN(){let D=_10(require("assert"));return zN=function(){return D},D}function _J(){let D=E3();return _J=function(){return D},D}function hJ(){let D=OD();return hJ=function(){return D},D}function bJ(){let D=KN();return bJ=function(){return D},D}function _10(D){return D&&D.__esModule?D:{default:D}}var k10=_J().boolish("EXPO_DEBUG",!1),y10=_J().boolish("EXPO_CONFIG_PLUGIN_VERBOSE_ERRORS",!1),f10=_J().boolish("EXPO_USE_UNVERSIONED_PLUGINS",!1);function GN(D,Z){if(["MODULE_NOT_FOUND","PLUGIN_NOT_FOUND"].includes(Z.code))return!0;return Z.message.includes(`Cannot find module '${D}'`)}function x10(D){if(D instanceof SyntaxError||D instanceof hJ().PluginError&&D.code==="INVALID_PLUGIN_IMPORT")return!!D.message.match(/Unexpected token/)||!!D.message.match(/Cannot use import statement/);return!1}var m10=(D,Z)=>{let Q=Z.projectRoot;if(!Q)Q=D._internal?.projectRoot,bJ().assertInternalProjectRoot(Q);let[Y,J]=bJ().normalizeStaticPlugin(Z.plugin);zN().default(!J?._resolverError,"Plugin property '_resolverError' is a reserved property of `withStaticPlugin`");let q;if(typeof Y==="function")q=Y;else if(typeof Y==="string")try{if(q=bJ().resolveConfigPluginFunction(Q,Y),f10&&!!q&&!!Z._isLegacyPlugin&&!!Z.fallback)console.log(`Force "${Y}" to unversioned plugin`),q=Z.fallback}catch(B){if(k10){if(y10)console.log(`Error resolving plugin "${Y}"`),console.log(B),console.log();else if(!(Z._isLegacyPlugin&&(GN(Y,B)||x10(B))))if(GN(Y,B))console.log(`Could not find plugin "${Y}"`);else console.log(`Error resolving plugin "${Y}"`),console.log(B),console.log()}if(Z.fallback){if(!J)J={};J._resolverError=B,q=Z.fallback}else throw B}else{if(typeof Y==="object")throw new(hJ()).PluginError(`Plugin is an unexpected object, with keys: "${Object.keys(Y).join(", ")}".
|
|
281
|
+
|
|
282
|
+
If you tried to provide parameters to a config plugin, make sure the plugin configuration is wrapped by square brackets. Ex:
|
|
283
|
+
|
|
284
|
+
[
|
|
285
|
+
"some-config-plugin",
|
|
286
|
+
{
|
|
287
|
+
"someParam": "someValue"
|
|
288
|
+
}
|
|
289
|
+
]
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
See the package documentation on how to correctly configure the plugin.`,"INVALID_PLUGIN_TYPE");throw new(hJ()).PluginError(`Plugin is an unexpected type: ${typeof Y}. See the package documentation on how to correctly configure the plugin.`,"INVALID_PLUGIN_TYPE")}return D=q(D,J),D};kJ.withStaticPlugin=m10});var fJ=M((yJ)=>{Object.defineProperty(yJ,"__esModule",{value:!0});yJ.withPlugins=void 0;function WN(){let D=g10(require("assert"));return WN=function(){return D},D}function ON(){let D=Az();return ON=function(){return D},D}function g10(D){return D&&D.__esModule?D:{default:D}}var c10=(D,Z)=>{return WN().default(Array.isArray(Z),"withPlugins expected a valid array of plugins or plugin module paths"),Z.reduce((Q,Y)=>ON().withStaticPlugin(Q,{plugin:Y}),D)};yJ.withPlugins=c10});var FN=M((j2)=>{Object.defineProperty(j2,"__esModule",{value:!0});j2.isSDKVersionRuntimeVersion=j2.getSDKVersionFromRuntimeVersion=j2.getRuntimeVersionForSDKVersion=j2.RUNTIME_VERSION_PREFIX=void 0;j2.RUNTIME_VERSION_PREFIX="exposdk:";function d10(D){return""+j2.RUNTIME_VERSION_PREFIX+D}j2.getRuntimeVersionForSDKVersion=d10;function XN(D){var Z=/^exposdk:(\d+\.\d+\.\d+)$/.exec(D);if(!Z||Z.length<2)return;return Z[1]}j2.getSDKVersionFromRuntimeVersion=XN;function l10(D){return XN(D)!==void 0}j2.isSDKVersionRuntimeVersion=l10});var Ez=M((N2)=>{Object.defineProperty(N2,"__esModule",{value:!0});N2.getVersionCode=EN;N2.getVersionName=AN;N2.setMinBuildScriptExtVersion=UN;N2.setVersionCode=wN;N2.setVersionName=$N;N2.withVersion=N2.withBuildScriptExtMinimumVersion=void 0;function $z(){let D=y5();return $z=function(){return D},D}function xJ(){let D=v5();return xJ=function(){return D},D}var p10=(D)=>{return $z().withAppBuildGradle(D,(Z)=>{if(Z.modResults.language==="groovy")Z.modResults.contents=wN(Z,Z.modResults.contents),Z.modResults.contents=$N(Z,Z.modResults.contents);else xJ().addWarningAndroid("android.versionCode","Cannot automatically configure app build.gradle if it's not groovy");return Z})};N2.withVersion=p10;var i10=(D,Z)=>{return $z().withProjectBuildGradle(D,(Q)=>{if(Q.modResults.language==="groovy")Q.modResults.contents=UN(Q.modResults.contents,Z);else xJ().addWarningAndroid("withBuildScriptExtVersion","Cannot automatically configure project build.gradle if it's not groovy");return Q})};N2.withBuildScriptExtMinimumVersion=i10;function UN(D,{name:Z,minVersion:Q}){let Y=new RegExp(`(${Z}\\s?=\\s?)(\\d+(?:\\.\\d+)?)`),J=D.match(Y)?.[2];if(!J)return xJ().addWarningAndroid("withBuildScriptExtVersion",`Cannot set minimum buildscript.ext.${Z} version because the property "${Z}" cannot be found or does not have a numeric value.`),D;let q=Number(J);return D.replace(Y,`$1${Math.max(Q,q)}`)}function AN(D){return D.android?.version??D.version??null}function $N(D,Z){let Q=AN(D);if(Q===null)return Z;let Y=new RegExp('versionName ".*"');return Z.replace(Y,`versionName "${Q}"`)}function EN(D){return D.android?.versionCode??1}function wN(D,Z){let Q=EN(D);if(Q===null)return Z;let Y=new RegExp("versionCode.*");return Z.replace(Y,`versionCode ${Q}`)}});var LN=M((wz)=>{Object.defineProperty(wz,"__esModule",{value:!0});wz.get=n10;function n10(D,Z){let Q=Z.split("."),Y=D,J;while(J=Q.shift()){if(!(J in Y))return;Y=Y[J]}return Y}});var V5=M((w5)=>{Object.defineProperty(w5,"__esModule",{value:!0});w5.createEntitlementsPlugin=a10;w5.createInfoPlistPlugin=r10;w5.createInfoPlistPluginWithPropertyGuard=s10;w5.withXcodeProject=w5.withPodfileProperties=w5.withPodfile=w5.withInfoPlist=w5.withExpoPlist=w5.withEntitlementsPlist=w5.withAppDelegate=void 0;function UD(){let D=q7();return UD=function(){return D},D}function CN(){let D=LN();return CN=function(){return D},D}function RN(){let D=v5();return RN=function(){return D},D}function r10(D,Z){let Q=(Y)=>Lz(Y,async(J)=>{return J.modResults=await D(J,J.modResults),J});if(Z)Object.defineProperty(Q,"name",{value:Z});return Q}function s10(D,Z,Q){let Y=(J)=>Lz(J,async(q)=>{let B=Z.expoPropertyGetter?Z.expoPropertyGetter(q):CN().get(q,Z.expoConfigProperty);if(q.modRawConfig.ios?.infoPlist?.[Z.infoPlistProperty]===void 0)q.modResults=await D(q,q.modResults);else if(B!==void 0)RN().addWarningIOS(Z.expoConfigProperty,`"ios.infoPlist.${Z.infoPlistProperty}" is set in the config. Ignoring abstract property "${Z.expoConfigProperty}": ${B}`);return q});if(Q)Object.defineProperty(Y,"name",{value:Q});return Y}function a10(D,Z){let Q=(Y)=>MN(Y,async(J)=>{return J.modResults=await D(J,J.modResults),J});if(Z)Object.defineProperty(Q,"name",{value:Z});return Q}var t10=(D,Z)=>{return UD().withMod(D,{platform:"ios",mod:"appDelegate",action:Z})};w5.withAppDelegate=t10;var Lz=(D,Z)=>{return UD().withMod(D,{platform:"ios",mod:"infoPlist",async action(Q){if(Q=await Z(Q),!Q.ios)Q.ios={};return Q.ios.infoPlist=Q.modResults,Q}})};w5.withInfoPlist=Lz;var MN=(D,Z)=>{return UD().withMod(D,{platform:"ios",mod:"entitlements",async action(Q){if(Q=await Z(Q),!Q.ios)Q.ios={};return Q.ios.entitlements=Q.modResults,Q}})};w5.withEntitlementsPlist=MN;var o10=(D,Z)=>{return UD().withMod(D,{platform:"ios",mod:"expoPlist",action:Z})};w5.withExpoPlist=o10;var e10=(D,Z)=>{return UD().withMod(D,{platform:"ios",mod:"xcodeproj",action:Z})};w5.withXcodeProject=e10;var D50=(D,Z)=>{return UD().withMod(D,{platform:"ios",mod:"podfile",action:Z})};w5.withPodfile=D50;var Z50=(D,Z)=>{return UD().withMod(D,{platform:"ios",mod:"podfileProperties",action:Z})};w5.withPodfileProperties=Z50});var Mz=M((t2)=>{Object.defineProperty(t2,"__esModule",{value:!0});t2.getBuildNumber=jN;t2.getVersion=Rz;t2.setBuildNumber=NN;t2.setVersion=IN;t2.withVersion=t2.withBuildNumber=void 0;function Cz(){let D=V5();return Cz=function(){return D},D}var ZQ0=t2.withVersion=Cz().createInfoPlistPluginWithPropertyGuard(IN,{infoPlistProperty:"CFBundleShortVersionString",expoConfigProperty:"version | ios.version",expoPropertyGetter:Rz},"withVersion"),QQ0=t2.withBuildNumber=Cz().createInfoPlistPluginWithPropertyGuard(NN,{infoPlistProperty:"CFBundleVersion",expoConfigProperty:"ios.buildNumber"},"withBuildNumber");function Rz(D){return D.ios?.version||D.version||"1.0.0"}function IN(D,Z){return{...Z,CFBundleShortVersionString:Rz(D)}}function jN(D){return D.ios?.buildNumber?D.ios.buildNumber:"1"}function NN(D,Z){return{...Z,CFBundleVersion:jN(D)}}});var gJ=M((Y5)=>{Object.defineProperty(Y5,"__esModule",{value:!0});Y5.FINGERPRINT_RUNTIME_VERSION_SENTINEL=void 0;Y5.getAppVersion=yN;Y5.getDisableAntiBrickingMeasures=W50;Y5.getExpoUpdatesPackageVersion=Q50;Y5.getNativeVersion=fN;Y5.getRuntimeVersionAsync=xN;Y5.getRuntimeVersionNullableAsync=Y50;Y5.getSDKVersion=J50;Y5.getUpdateUrl=kN;Y5.getUpdatesCheckOnLaunch=V50;Y5.getUpdatesCodeSigningCertificate=K50;Y5.getUpdatesCodeSigningMetadata=gN;Y5.getUpdatesCodeSigningMetadataStringified=G50;Y5.getUpdatesEnabled=q50;Y5.getUpdatesRequestHeaders=cN;Y5.getUpdatesRequestHeadersStringified=z50;Y5.getUpdatesTimeout=H50;Y5.getUpdatesUseEmbeddedUpdate=B50;Y5.resolveRuntimeVersionPolicyAsync=mN;function PN(){let D=FN();return PN=function(){return D},D}function b3(){let D=mJ(require("fs"));return b3=function(){return D},D}function SN(){let D=E3();return SN=function(){return D},D}function uN(){let D=mJ(require("path"));return uN=function(){return D},D}function vN(){let D=mJ(s7());return vN=function(){return D},D}function TN(){let D=mJ(kH());return TN=function(){return D},D}function bN(){let D=_N(Ez());return bN=function(){return D},D}function jz(){let D=_N(Mz());return jz=function(){return D},D}function hN(D){if(typeof WeakMap!="function")return null;var Z=new WeakMap,Q=new WeakMap;return(hN=function(Y){return Y?Q:Z})(D)}function _N(D,Z){if(!Z&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var Q=hN(Z);if(Q&&Q.has(D))return Q.get(D);var Y={__proto__:null},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in D)if(q!=="default"&&{}.hasOwnProperty.call(D,q)){var B=J?Object.getOwnPropertyDescriptor(D,q):null;B&&(B.get||B.set)?Object.defineProperty(Y,q,B):Y[q]=D[q]}return Y.default=D,Q&&Q.set(D,Y),Y}function mJ(D){return D&&D.__esModule?D:{default:D}}var Iz=Y5.FINGERPRINT_RUNTIME_VERSION_SENTINEL="file:fingerprint";function Q50(D){let Z=vN().default.silent(D,"expo-updates/package.json");if(!Z||!b3().default.existsSync(Z))return null;return JSON.parse(b3().default.readFileSync(Z,"utf8")).version}function kN(D){return D.updates?.url??null}function yN(D){return D.version??"1.0.0"}function fN(D,Z){let Q=jz().getVersion(D);switch(Z){case"ios":{let Y=jz().getBuildNumber(D);return`${Q}(${Y})`}case"android":{let Y=bN().getVersionCode(D);return`${Q}(${Y})`}default:throw new Error(`"${Z}" is not a supported platform. Choose either "ios" or "android".`)}}async function Y50(...[D,Z,Q]){try{return await xN(D,Z,Q)}catch(Y){if(SN().boolish("EXPO_DEBUG",!1))console.log(Y);return null}}async function xN(D,Z,Q){let Y=Z[Q]?.runtimeVersion??Z.runtimeVersion;if(!Y)return null;if(typeof Y==="string"){if(Y===Iz)throw new Error(`${Iz} is a reserved value for runtime version. To use a fingerprint runtime version, use the "fingerprint" runtime version policy.`);return Y}else if(!Y.policy)throw new Error(`"${Y}" is not a valid runtime version. Only a string or a runtime version policy is supported.`);else if(Y.policy==="fingerprint")return Iz;else return await mN(Y.policy,Z,Q)}async function mN(D,Z,Q){if(D==="appVersion")return yN(Z);else if(D==="nativeVersion")return fN(Z,Q);else if(D==="sdkVersion"){if(!Z.sdkVersion)throw new Error("An SDK version must be defined when using the 'sdkVersion' runtime policy.");return PN().getRuntimeVersionForSDKVersion(Z.sdkVersion)}else throw new Error(`"${D}" is not a valid runtime version policy type.`)}function J50(D){return typeof D.sdkVersion==="string"?D.sdkVersion:null}function q50(D){if(D.updates?.enabled!==void 0)return D.updates.enabled;return kN(D)!==null}function B50(D){if(D.updates?.useEmbeddedUpdate!==void 0)return D.updates.useEmbeddedUpdate;return!0}function H50(D){return D.updates?.fallbackToCacheTimeout??0}function V50(D,Z){if(D.updates?.checkAutomatically==="ON_ERROR_RECOVERY"){if(Z&&TN().default.gte(Z,"0.11.0"))return"ERROR_RECOVERY_ONLY";return"NEVER"}else if(D.updates?.checkAutomatically==="ON_LOAD")return"ALWAYS";else if(D.updates?.checkAutomatically==="WIFI_ONLY")return"WIFI_ONLY";else if(D.updates?.checkAutomatically==="NEVER")return"NEVER";return"ALWAYS"}function K50(D,Z){let Q=Z.updates?.codeSigningCertificate;if(!Q)return;let Y=uN().default.join(D,Q);if(!b3().default.existsSync(Y))throw new Error(`File not found at \`updates.codeSigningCertificate\` path: ${Y}`);return b3().default.readFileSync(Y,"utf8")}function gN(D){return D.updates?.codeSigningMetadata}function G50(D){let Z=gN(D);if(!Z)return;return JSON.stringify(Z)}function cN(D){return D.updates?.requestHeaders}function z50(D){let Z=cN(D);if(!Z)return;return JSON.stringify(Z)}function W50(D){return D.updates?.disableAntiBrickingMeasures}});var tN=M((o2)=>{Object.defineProperty(o2,"__esModule",{value:!0});o2.Config=void 0;o2.applyRuntimeVersionFromConfigAsync=nN;o2.applyRuntimeVersionFromConfigForProjectRootAsync=rN;o2.setUpdatesConfigAsync=sN;o2.setVersionsConfigAsync=aN;o2.withUpdates=void 0;function dN(){let D=hG();return dN=function(){return D},D}function t1(){let D=s2();return t1=function(){return D},D}function lN(){let D=L6();return lN=function(){return D},D}function Nz(){let D=MJ();return Nz=function(){return D},D}function Pz(){let D=y5();return Pz=function(){return D},D}function pN(){let D=fJ();return pN=function(){return D},D}function y8(){let D=gJ();return y8=function(){return D},D}function iN(){let D=v5();return iN=function(){return D},D}var T5=o2.Config=function(D){return D.ENABLED="expo.modules.updates.ENABLED",D.CHECK_ON_LAUNCH="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH",D.LAUNCH_WAIT_MS="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS",D.RUNTIME_VERSION="expo.modules.updates.EXPO_RUNTIME_VERSION",D.UPDATE_URL="expo.modules.updates.EXPO_UPDATE_URL",D.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY="expo.modules.updates.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY",D.UPDATES_HAS_EMBEDDED_UPDATE="expo.modules.updates.HAS_EMBEDDED_UPDATE",D.CODE_SIGNING_CERTIFICATE="expo.modules.updates.CODE_SIGNING_CERTIFICATE",D.CODE_SIGNING_METADATA="expo.modules.updates.CODE_SIGNING_METADATA",D.DISABLE_ANTI_BRICKING_MEASURES="expo.modules.updates.DISABLE_ANTI_BRICKING_MEASURES",D}({}),O50=(D)=>{return pN().withPlugins(D,[F50,U50,X50])};o2.withUpdates=O50;var X50=dN().createBuildGradlePropsConfigPlugin([{propName:"EX_UPDATES_NATIVE_DEBUG",propValueGetter:(D)=>D?.updates?.useNativeDebug===!0?"true":void 0}],"withUpdatesNativeDebugGradleProps"),F50=(D)=>{return Pz().withAndroidManifest(D,async(Z)=>{let Q=Z.modRequest.projectRoot,Y=y8().getExpoUpdatesPackageVersion(Q);return Z.modResults=await sN(Q,Z,Z.modResults,Y),Z})},U50=Pz().createStringsXmlPlugin(nN,"withRuntimeVersionResource");async function nN(D,Z){let Q=D.modRequest.projectRoot;return await rN(Q,D,Z)}async function rN(D,Z,Q){let Y=await y8().getRuntimeVersionNullableAsync(D,Z,"android");if(Y)return Nz().setStringItem([lN().buildResourceItem({name:"expo_runtime_version",value:Y})],Q);return Nz().removeStringItem("expo_runtime_version",Q)}async function sN(D,Z,Q,Y){let J=t1().getMainApplicationOrThrow(Q);t1().addMetaDataItemToMainApplication(J,T5.ENABLED,String(y8().getUpdatesEnabled(Z)));let q=y8().getUpdatesCheckOnLaunch(Z,Y);t1().addMetaDataItemToMainApplication(J,T5.CHECK_ON_LAUNCH,q);let B=y8().getUpdatesTimeout(Z);if(t1().addMetaDataItemToMainApplication(J,T5.LAUNCH_WAIT_MS,String(B)),y8().getUpdatesUseEmbeddedUpdate(Z))t1().removeMetaDataItemFromMainApplication(J,T5.UPDATES_HAS_EMBEDDED_UPDATE);else{if(B===0&&q!=="ALWAYS")iN().addWarningAndroid("updates.useEmbeddedUpdate",'updates.checkOnLaunch should be set to "ON_LOAD" and updates.fallbackToCacheTimeout should be set to a non-zero value when updates.useEmbeddedUpdate is set to false. This is because an update must be fetched on the initial launch, when no embedded update is available.');t1().addMetaDataItemToMainApplication(J,T5.UPDATES_HAS_EMBEDDED_UPDATE,"false")}let V=y8().getUpdateUrl(Z);if(V)t1().addMetaDataItemToMainApplication(J,T5.UPDATE_URL,V);else t1().removeMetaDataItemFromMainApplication(J,T5.UPDATE_URL);let K=y8().getUpdatesCodeSigningCertificate(D,Z);if(K)t1().addMetaDataItemToMainApplication(J,T5.CODE_SIGNING_CERTIFICATE,K);else t1().removeMetaDataItemFromMainApplication(J,T5.CODE_SIGNING_CERTIFICATE);let G=y8().getUpdatesCodeSigningMetadataStringified(Z);if(G)t1().addMetaDataItemToMainApplication(J,T5.CODE_SIGNING_METADATA,G);else t1().removeMetaDataItemFromMainApplication(J,T5.CODE_SIGNING_METADATA);let W=y8().getUpdatesRequestHeadersStringified(Z);if(W)t1().addMetaDataItemToMainApplication(J,T5.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY,W);else t1().removeMetaDataItemFromMainApplication(J,T5.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY);if(y8().getDisableAntiBrickingMeasures(Z))t1().addMetaDataItemToMainApplication(J,T5.DISABLE_ANTI_BRICKING_MEASURES,"true");else t1().removeMetaDataItemFromMainApplication(J,T5.DISABLE_ANTI_BRICKING_MEASURES);return await aN(D,Z,Q)}async function aN(D,Z,Q){let Y=t1().getMainApplicationOrThrow(Q),J=await y8().getRuntimeVersionNullableAsync(D,Z,"android");if(!J&&t1().findMetaDataItem(Y,T5.RUNTIME_VERSION)>-1)throw new Error("A runtime version is set in your AndroidManifest.xml, but is missing from your Expo app config (app.json/app.config.js). Either set runtimeVersion in your Expo app config or remove expo.modules.updates.EXPO_RUNTIME_VERSION from your AndroidManifest.xml.");if(J)t1().removeMetaDataItemFromMainApplication(Y,"expo.modules.updates.EXPO_SDK_VERSION"),t1().addMetaDataItemToMainApplication(Y,T5.RUNTIME_VERSION,"@string/expo_runtime_version");else t1().removeMetaDataItemFromMainApplication(Y,T5.RUNTIME_VERSION),t1().removeMetaDataItemFromMainApplication(Y,"expo.modules.updates.EXPO_SDK_VERSION");return Q}});var QP=M((j6)=>{Object.defineProperty(j6,"__esModule",{value:!0});j6.getWindowSoftInputModeMode=ZP;j6.setWindowSoftInputModeMode=DP;j6.withWindowSoftInputMode=void 0;function oN(){let D=s2();return oN=function(){return D},D}function eN(){let D=y5();return eN=function(){return D},D}var A50="android:windowSoftInputMode",$50={pan:"adjustPan",resize:"adjustResize"},E50=(D)=>{return eN().withAndroidManifest(D,async(Z)=>{return Z.modResults=DP(Z,Z.modResults),Z})};j6.withWindowSoftInputMode=E50;function DP(D,Z){let Q=oN().getMainActivityOrThrow(Z);return Q.$[A50]=ZP(D),Z}function ZP(D){let Z=D.android?.softwareKeyboardLayoutMode;if(!Z)return"adjustResize";return $50[Z]??Z}});var Sz=M((d0)=>{Object.defineProperty(d0,"__esModule",{value:!0});d0.WindowSoftInputMode=d0.Version=d0.Updates=d0.Styles=d0.Strings=d0.StatusBar=d0.Scheme=d0.Resources=d0.Properties=d0.PrimaryColor=d0.Permissions=d0.Paths=d0.Package=d0.Orientation=d0.Name=d0.Manifest=d0.Locales=d0.IntentFilters=d0.GoogleServices=d0.GoogleMapsApiKey=d0.EasBuild=d0.Colors=d0.BuildProperties=d0.AllowBackup=void 0;function YP(){let D=n1(aM());return YP=function(){return D},D}Object.defineProperty(d0,"AllowBackup",{enumerable:!0,get:function(){return YP()}});function JP(){let D=n1(hG());return JP=function(){return D},D}Object.defineProperty(d0,"BuildProperties",{enumerable:!0,get:function(){return JP()}});function qP(){let D=n1(UJ());return qP=function(){return D},D}Object.defineProperty(d0,"Colors",{enumerable:!0,get:function(){return qP()}});function BP(){let D=n1(wI());return BP=function(){return D},D}Object.defineProperty(d0,"EasBuild",{enumerable:!0,get:function(){return BP()}});function HP(){let D=n1(jI());return HP=function(){return D},D}Object.defineProperty(d0,"GoogleMapsApiKey",{enumerable:!0,get:function(){return HP()}});function VP(){let D=n1(fI());return VP=function(){return D},D}Object.defineProperty(d0,"GoogleServices",{enumerable:!0,get:function(){return VP()}});function KP(){let D=n1(pI());return KP=function(){return D},D}Object.defineProperty(d0,"IntentFilters",{enumerable:!0,get:function(){return KP()}});function GP(){let D=n1(Zj());return GP=function(){return D},D}Object.defineProperty(d0,"Locales",{enumerable:!0,get:function(){return GP()}});function zP(){let D=n1(s2());return zP=function(){return D},D}Object.defineProperty(d0,"Manifest",{enumerable:!0,get:function(){return zP()}});function WP(){let D=n1(Hj());return WP=function(){return D},D}Object.defineProperty(d0,"Name",{enumerable:!0,get:function(){return WP()}});function OP(){let D=n1(Wj());return OP=function(){return D},D}Object.defineProperty(d0,"Orientation",{enumerable:!0,get:function(){return OP()}});function XP(){let D=n1(jj());return XP=function(){return D},D}Object.defineProperty(d0,"Package",{enumerable:!0,get:function(){return XP()}});function FP(){let D=n1(H7());return FP=function(){return D},D}Object.defineProperty(d0,"Paths",{enumerable:!0,get:function(){return FP()}});function UP(){let D=n1(hj());return UP=function(){return D},D}Object.defineProperty(d0,"Permissions",{enumerable:!0,get:function(){return UP()}});function AP(){let D=n1(gj());return AP=function(){return D},D}Object.defineProperty(d0,"PrimaryColor",{enumerable:!0,get:function(){return AP()}});function $P(){let D=n1(cj());return $P=function(){return D},D}Object.defineProperty(d0,"Properties",{enumerable:!0,get:function(){return $P()}});function EP(){let D=n1(L6());return EP=function(){return D},D}Object.defineProperty(d0,"Resources",{enumerable:!0,get:function(){return EP()}});function wP(){let D=n1(ij());return wP=function(){return D},D}Object.defineProperty(d0,"Scheme",{enumerable:!0,get:function(){return wP()}});function LP(){let D=n1(ej());return LP=function(){return D},D}Object.defineProperty(d0,"StatusBar",{enumerable:!0,get:function(){return LP()}});function CP(){let D=n1(MJ());return CP=function(){return D},D}Object.defineProperty(d0,"Strings",{enumerable:!0,get:function(){return CP()}});function RP(){let D=n1(NJ());return RP=function(){return D},D}Object.defineProperty(d0,"Styles",{enumerable:!0,get:function(){return RP()}});function MP(){let D=n1(tN());return MP=function(){return D},D}Object.defineProperty(d0,"Updates",{enumerable:!0,get:function(){return MP()}});function IP(){let D=n1(Ez());return IP=function(){return D},D}Object.defineProperty(d0,"Version",{enumerable:!0,get:function(){return IP()}});function jP(){let D=n1(QP());return jP=function(){return D},D}Object.defineProperty(d0,"WindowSoftInputMode",{enumerable:!0,get:function(){return jP()}});function NP(D){if(typeof WeakMap!="function")return null;var Z=new WeakMap,Q=new WeakMap;return(NP=function(Y){return Y?Q:Z})(D)}function n1(D,Z){if(!Z&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var Q=NP(Z);if(Q&&Q.has(D))return Q.get(D);var Y={__proto__:null},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in D)if(q!=="default"&&{}.hasOwnProperty.call(D,q)){var B=J?Object.getOwnPropertyDescriptor(D,q):null;B&&(B.get||B.set)?Object.defineProperty(Y,q,B):Y[q]=D[q]}return Y.default=D,Q&&Q.set(D,Y),Y}});var uz=M((cJ,PP)=>{Object.defineProperty(cJ,"__esModule",{value:!0});cJ.default=C50;var w50=L50(require("crypto"));function L50(D){return D&&D.__esModule?D:{default:D}}function C50(){return w50.default.randomBytes(16)}PP.exports=cJ.default});var dJ=M((h3,uP)=>{Object.defineProperty(h3,"__esModule",{value:!0});h3.default=void 0;var SP=[];for(N6=0;N6<256;++N6)SP[N6]=(N6+256).toString(16).substr(1);var N6;function R50(D,Z){var Q=Z||0,Y=SP;return[Y[D[Q++]],Y[D[Q++]],Y[D[Q++]],Y[D[Q++]],"-",Y[D[Q++]],Y[D[Q++]],"-",Y[D[Q++]],Y[D[Q++]],"-",Y[D[Q++]],Y[D[Q++]],"-",Y[D[Q++]],Y[D[Q++]],Y[D[Q++]],Y[D[Q++]],Y[D[Q++]],Y[D[Q++]]].join("")}var M50=R50;h3.default=M50;uP.exports=h3.default});var hP=M((_3,bP)=>{Object.defineProperty(_3,"__esModule",{value:!0});_3.default=void 0;var I50=TP(uz()),j50=TP(dJ());function TP(D){return D&&D.__esModule?D:{default:D}}var vP,vz,Tz=0,bz=0;function N50(D,Z,Q){var Y=Z&&Q||0,J=Z||[];D=D||{};var q=D.node||vP,B=D.clockseq!==void 0?D.clockseq:vz;if(q==null||B==null){var H=D.random||(D.rng||I50.default)();if(q==null)q=vP=[H[0]|1,H[1],H[2],H[3],H[4],H[5]];if(B==null)B=vz=(H[6]<<8|H[7])&16383}var V=D.msecs!==void 0?D.msecs:new Date().getTime(),K=D.nsecs!==void 0?D.nsecs:bz+1,G=V-Tz+(K-bz)/1e4;if(G<0&&D.clockseq===void 0)B=B+1&16383;if((G<0||V>Tz)&&D.nsecs===void 0)K=0;if(K>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Tz=V,bz=K,vz=B,V+=12219292800000;var W=((V&268435455)*1e4+K)%4294967296;J[Y++]=W>>>24&255,J[Y++]=W>>>16&255,J[Y++]=W>>>8&255,J[Y++]=W&255;var O=V/4294967296*1e4&268435455;J[Y++]=O>>>8&255,J[Y++]=O&255,J[Y++]=O>>>24&15|16,J[Y++]=O>>>16&255,J[Y++]=B>>>8|128,J[Y++]=B&255;for(var F=0;F<6;++F)J[Y+F]=q[F];return Z?Z:j50.default(J)}var P50=N50;_3.default=P50;bP.exports=_3.default});var hz=M((G7)=>{Object.defineProperty(G7,"__esModule",{value:!0});G7.default=b50;G7.URL=G7.DNS=void 0;var S50=u50(dJ());function u50(D){return D&&D.__esModule?D:{default:D}}function v50(D){var Z=[];return D.replace(/[a-fA-F0-9]{2}/g,function(Q){Z.push(parseInt(Q,16))}),Z}function T50(D){D=unescape(encodeURIComponent(D));var Z=new Array(D.length);for(var Q=0;Q<D.length;Q++)Z[Q]=D.charCodeAt(Q);return Z}var _P="6ba7b810-9dad-11d1-80b4-00c04fd430c8";G7.DNS=_P;var kP="6ba7b811-9dad-11d1-80b4-00c04fd430c8";G7.URL=kP;function b50(D,Z,Q){var Y=function(J,q,B,H){var V=B&&H||0;if(typeof J=="string")J=T50(J);if(typeof q=="string")q=v50(q);if(!Array.isArray(J))throw TypeError("value must be an array of bytes");if(!Array.isArray(q)||q.length!==16)throw TypeError("namespace must be uuid string or an Array of 16 byte values");var K=Q(q.concat(J));if(K[6]=K[6]&15|Z,K[8]=K[8]&63|128,B)for(var G=0;G<16;++G)B[V+G]=K[G];return B||S50.default(K)};try{Y.name=D}catch(J){}return Y.DNS=_P,Y.URL=kP,Y}});var fP=M((k3,yP)=>{Object.defineProperty(k3,"__esModule",{value:!0});k3.default=void 0;var h50=_50(require("crypto"));function _50(D){return D&&D.__esModule?D:{default:D}}function k50(D){if(Array.isArray(D))D=Buffer.from(D);else if(typeof D==="string")D=Buffer.from(D,"utf8");return h50.default.createHash("md5").update(D).digest()}var y50=k50;k3.default=y50;yP.exports=k3.default});var gP=M((y3,mP)=>{Object.defineProperty(y3,"__esModule",{value:!0});y3.default=void 0;var f50=xP(hz()),x50=xP(fP());function xP(D){return D&&D.__esModule?D:{default:D}}var m50=f50.default("v3",48,x50.default),g50=m50;y3.default=g50;mP.exports=y3.default});var lP=M((f3,dP)=>{Object.defineProperty(f3,"__esModule",{value:!0});f3.default=void 0;var c50=cP(uz()),d50=cP(dJ());function cP(D){return D&&D.__esModule?D:{default:D}}function l50(D,Z,Q){var Y=Z&&Q||0;if(typeof D=="string")Z=D==="binary"?new Array(16):null,D=null;D=D||{};var J=D.random||(D.rng||c50.default)();if(J[6]=J[6]&15|64,J[8]=J[8]&63|128,Z)for(var q=0;q<16;++q)Z[Y+q]=J[q];return Z||d50.default(J)}var p50=l50;f3.default=p50;dP.exports=f3.default});var iP=M((x3,pP)=>{Object.defineProperty(x3,"__esModule",{value:!0});x3.default=void 0;var i50=n50(require("crypto"));function n50(D){return D&&D.__esModule?D:{default:D}}function r50(D){if(Array.isArray(D))D=Buffer.from(D);else if(typeof D==="string")D=Buffer.from(D,"utf8");return i50.default.createHash("sha1").update(D).digest()}var s50=r50;x3.default=s50;pP.exports=x3.default});var sP=M((m3,rP)=>{Object.defineProperty(m3,"__esModule",{value:!0});m3.default=void 0;var a50=nP(hz()),t50=nP(iP());function nP(D){return D&&D.__esModule?D:{default:D}}var o50=a50.default("v5",80,t50.default),e50=o50;m3.default=e50;rP.exports=m3.default});var aP=M((P6)=>{Object.defineProperty(P6,"__esModule",{value:!0});Object.defineProperty(P6,"v1",{enumerable:!0,get:function(){return D80.default}});Object.defineProperty(P6,"v3",{enumerable:!0,get:function(){return Z80.default}});Object.defineProperty(P6,"v4",{enumerable:!0,get:function(){return Q80.default}});Object.defineProperty(P6,"v5",{enumerable:!0,get:function(){return Y80.default}});var D80=lJ(hP()),Z80=lJ(gP()),Q80=lJ(lP()),Y80=lJ(sP());function lJ(D){return D&&D.__esModule?D:{default:D}}});var DS=M((zQ0,eP)=>{var GQ0=kz(),tP=require("util"),AD=tP.format,J80="\t",pJ=/_comment$/,q80=require("events").EventEmitter;function oP(D){if(D<=0)return"";else return J80+oP(D-1)}function iJ(D,Z){var Q=Z[D+"_comment"];if(Q)return Q;else return null}function g3(D){return D===Object(D)}function _z(D){return Array.isArray(D)}function f8(D,Z){if(!Z)Z={};if(Z.omitEmptyValues===void 0)Z.omitEmptyValues=!1;this.contents=D,this.sync=!1,this.indentLevel=0,this.omitEmptyValues=Z.omitEmptyValues}tP.inherits(f8,q80);f8.prototype.write=function(D){var Z=AD.apply(null,arguments);if(this.sync)this.buffer+=AD("%s%s",oP(this.indentLevel),Z)};f8.prototype.writeFlush=function(D){var Z=this.indentLevel;this.indentLevel=0,this.write.apply(this,arguments),this.indentLevel=Z};f8.prototype.writeSync=function(){return this.sync=!0,this.buffer="",this.writeHeadComment(),this.writeProject(),this.buffer};f8.prototype.writeHeadComment=function(){if(this.contents.headComment)this.write(`// %s
|
|
293
|
+
`,this.contents.headComment)};f8.prototype.writeProject=function(){var D=this.contents.project,Z,Q,Y;if(this.write(`{
|
|
294
|
+
`),D){this.indentLevel++;for(Z in D){if(pJ.test(Z))continue;if(Q=iJ(Z,D),Y=D[Z],_z(Y))this.writeArray(Y,Z);else if(g3(Y)){if(this.write(`%s = {
|
|
295
|
+
`,Z),this.indentLevel++,Z==="objects")this.writeObjectsSections(Y);else this.writeObject(Y);this.indentLevel--,this.write(`};
|
|
296
|
+
`)}else if(this.omitEmptyValues&&(Y===void 0||Y===null))continue;else if(Q)this.write(`%s = %s /* %s */;
|
|
297
|
+
`,Z,Y,Q);else this.write(`%s = %s;
|
|
298
|
+
`,Z,Y)}this.indentLevel--}this.write(`}
|
|
299
|
+
`)};f8.prototype.writeObject=function(D){var Z,Q,Y;for(Z in D){if(pJ.test(Z))continue;if(Y=iJ(Z,D),Q=D[Z],_z(Q))this.writeArray(Q,Z);else if(g3(Q))this.write(`%s = {
|
|
300
|
+
`,Z),this.indentLevel++,this.writeObject(Q),this.indentLevel--,this.write(`};
|
|
301
|
+
`);else if(this.omitEmptyValues&&(Q===void 0||Q===null))continue;else if(Y)this.write(`%s = %s /* %s */;
|
|
302
|
+
`,Z,Q,Y);else this.write(`%s = %s;
|
|
303
|
+
`,Z,Q)}};f8.prototype.writeObjectsSections=function(D){var Z,Q;for(Z in D)if(this.writeFlush(`
|
|
304
|
+
`),Q=D[Z],g3(Q))this.writeSectionComment(Z,!0),this.writeSection(Q),this.writeSectionComment(Z,!1)};f8.prototype.writeArray=function(D,Z){var Q,Y;this.write(`%s = (
|
|
305
|
+
`,Z),this.indentLevel++;for(Q=0;Q<D.length;Q++)if(Y=D[Q],Y.value&&Y.comment)this.write(`%s /* %s */,
|
|
306
|
+
`,Y.value,Y.comment);else if(g3(Y))this.write(`{
|
|
307
|
+
`),this.indentLevel++,this.writeObject(Y),this.indentLevel--,this.write(`},
|
|
308
|
+
`);else this.write(`%s,
|
|
309
|
+
`,Y);this.indentLevel--,this.write(`);
|
|
310
|
+
`)};f8.prototype.writeSectionComment=function(D,Z){if(Z)this.writeFlush(`/* Begin %s section */
|
|
311
|
+
`,D);else this.writeFlush(`/* End %s section */
|
|
312
|
+
`,D)};f8.prototype.writeSection=function(D){var Z,Q,Y;for(Z in D){if(pJ.test(Z))continue;if(Y=iJ(Z,D),Q=D[Z],Q.isa=="PBXBuildFile"||Q.isa=="PBXFileReference")this.writeInlineObject(Z,Y,Q);else{if(Y)this.write(`%s /* %s */ = {
|
|
313
|
+
`,Z,Y);else this.write(`%s = {
|
|
314
|
+
`,Z);this.indentLevel++,this.writeObject(Q),this.indentLevel--,this.write(`};
|
|
315
|
+
`)}}};f8.prototype.writeInlineObject=function(D,Z,Q){var Y=[],J=this,q=function(B,H,V){var K,G,W;if(H)Y.push(AD("%s /* %s */ = {",B,H));else Y.push(AD("%s = {",B));for(K in V){if(pJ.test(K))continue;if(G=iJ(K,V),W=V[K],_z(W)){Y.push(AD("%s = (",K));for(var O=0;O<W.length;O++)Y.push(AD("%s, ",W[O]));Y.push("); ")}else if(g3(W))q(K,G,W);else if(J.omitEmptyValues&&(W===void 0||W===null))continue;else if(G)Y.push(AD("%s = %s /* %s */; ",K,W,G));else Y.push(AD("%s = %s; ",K,W))}Y.push("}; ")};q(D,Z,Q),this.write(`%s
|
|
316
|
+
`,Y.join("").trim())};eP.exports=f8});var yz=M((WQ0,JS)=>{var S6=require("path"),B80=require("util"),ZS='"<group>"',H80="BUILT_PRODUCTS_DIR",V80="Resources",YS="unknown",nJ={a:"archive.ar",app:"wrapper.application",appex:"wrapper.app-extension",bundle:"wrapper.plug-in",dylib:"compiled.mach-o.dylib",framework:"wrapper.framework",h:"sourcecode.c.h",m:"sourcecode.c.objc",markdown:"text",mdimporter:"wrapper.cfbundle",octest:"wrapper.cfbundle",pch:"sourcecode.c.h",plist:"text.plist.xml",sh:"text.script.sh",swift:"sourcecode.swift",tbd:"sourcecode.text-based-dylib-definition",xcassets:"folder.assetcatalog",xcconfig:"text.xcconfig",xcdatamodel:"wrapper.xcdatamodel",xcodeproj:"wrapper.pb-project",xctest:"wrapper.cfbundle",xib:"file.xib",strings:"text.plist.strings"},QS={"archive.ar":"Frameworks","compiled.mach-o.dylib":"Frameworks","sourcecode.text-based-dylib-definition":"Frameworks","wrapper.framework":"Frameworks","embedded.framework":"Embed Frameworks","sourcecode.c.h":"Resources","sourcecode.c.objc":"Sources","sourcecode.swift":"Sources"},K80={"compiled.mach-o.dylib":"usr/lib/","sourcecode.text-based-dylib-definition":"usr/lib/","wrapper.framework":"System/Library/Frameworks/"},G80={"compiled.mach-o.dylib":"SDKROOT","sourcecode.text-based-dylib-definition":"SDKROOT","wrapper.framework":"SDKROOT"},z80={"sourcecode.c.h":4,"sourcecode.c.h":4,"sourcecode.c.objc":4,"sourcecode.swift":4,text:4,"text.plist.xml":4,"text.script.sh":4,"text.xcconfig":4,"text.plist.strings":4};function $D(D){return D==null?"":D.replace(/(^")|("$)/g,"")}function W80(D){var Z=S6.extname(D).substring(1),Q=nJ[$D(Z)];if(!Q)return YS;return Q}function O80(D){var Z=D.lastKnownFileType&&D.lastKnownFileType!=YS?D.lastKnownFileType:D.explicitFileType;for(var Q in nJ)if(nJ.hasOwnProperty($D(Q))){if(nJ[$D(Q)]===$D(Z))return Q}}function X80(D){var Z=D.lastKnownFileType||D.explicitFileType,Q=z80[$D(Z)];if(Q)return Q}function F80(D,Z){var Q=S6.extname(D.basename).substring(1),Y=D.lastKnownFileType||D.explicitFileType,J=QS[$D(Y)];if(Q==="xcdatamodeld")return"Sources";if(Z.customFramework&&Z.embed)return QS["embedded.framework"];if(!J)return V80;return J}function U80(D){var Z=D.lastKnownFileType||D.explicitFileType,Q=G80[$D(Z)];if(D.explicitFileType)return H80;if(D.customFramework)return ZS;if(!Q)return ZS;return Q}function A80(D,Z){var Q=D.lastKnownFileType||D.explicitFileType,Y=K80[$D(Q)];if(D.customFramework)return Z;if(Y)return S6.join(Y,S6.basename(Z));return Z}function $80(D,Q){var Q=Q||{};if(this.basename=S6.basename(D),this.lastKnownFileType=Q.lastKnownFileType||W80(D),this.group=F80(this,Q),Q.customFramework==!0)this.customFramework=!0,this.dirname=S6.dirname(D).replace(/\\/g,"/");if(this.path=A80(this,D).replace(/\\/g,"/"),this.fileEncoding=this.defaultEncoding=Q.defaultEncoding||X80(this),Q.explicitFileType)this.explicitFileType=Q.explicitFileType,this.basename=this.basename+"."+O80(this),delete this.path,delete this.lastKnownFileType,delete this.group,delete this.defaultEncoding;if(this.sourceTree=Q.sourceTree||U80(this),this.includeInIndex=0,Q.weak&&Q.weak===!0)this.settings={ATTRIBUTES:["Weak"]};if(Q.compilerFlags){if(!this.settings)this.settings={};this.settings.COMPILER_FLAGS=B80.format('"%s"',Q.compilerFlags)}if(Q.embed&&Q.sign){if(!this.settings)this.settings={};if(!this.settings.ATTRIBUTES)this.settings.ATTRIBUTES=[];this.settings.ATTRIBUTES.push("CodeSignOnCopy")}}JS.exports=$80});var BS=M((OQ0,qS)=>{function E80(D,Z){function Q(){this.constructor=D}Q.prototype=Z.prototype,D.prototype=new Q}function z7(D,Z,Q,Y){if(this.message=D,this.expected=Z,this.found=Q,this.location=Y,this.name="SyntaxError",typeof Error.captureStackTrace==="function")Error.captureStackTrace(this,z7)}E80(z7,Error);z7.buildMessage=function(D,Z){var Q={literal:function(K){return'"'+J(K.text)+'"'},class:function(K){var G="",W;for(W=0;W<K.parts.length;W++)G+=K.parts[W]instanceof Array?q(K.parts[W][0])+"-"+q(K.parts[W][1]):q(K.parts[W]);return"["+(K.inverted?"^":"")+G+"]"},any:function(K){return"any character"},end:function(K){return"end of input"},other:function(K){return K.description}};function Y(K){return K.charCodeAt(0).toString(16).toUpperCase()}function J(K){return K.replace(/\\/g,"\\\\").replace(/"/g,"\\\"").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(G){return"\\x0"+Y(G)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(G){return"\\x"+Y(G)})}function q(K){return K.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(G){return"\\x0"+Y(G)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(G){return"\\x"+Y(G)})}function B(K){return Q[K.type](K)}function H(K){var G=new Array(K.length),W,O;for(W=0;W<K.length;W++)G[W]=B(K[W]);if(G.sort(),G.length>0){for(W=1,O=1;W<G.length;W++)if(G[W-1]!==G[W])G[O]=G[W],O++;G.length=O}switch(G.length){case 1:return G[0];case 2:return G[0]+" or "+G[1];default:return G.slice(0,-1).join(", ")+", or "+G[G.length-1]}}function V(K){return K?'"'+J(K)+'"':"end of input"}return"Expected "+H(D)+" but "+V(Z)+" found."};function w80(D,Z){Z=Z!==void 0?Z:{};var Q={},Y={Project:z9},J=z9,q=function($,T){var m=Object.create(null);if(m.project=T,$)m.headComment=$;return m},B="{",H=d1("{",!1),V="}",K=d1("}",!1),G=function($){return $},W=function(){return Object.create(null)},O=function($){var T=$[0][0];for(var m=1;m<$.length;m++){var H0=$[m][0];T=Object.assign(T,H0)}return T},F="=",E=d1("=",!1),L=";",j=d1(";",!1),P=function($,T){var m=Object.create(null);return m[$]=T,m},u=function($,T){var m=Object.create(null),H0=$.id+"_comment";return m[$.id]=T,m[H0]=$[H0],m},U=function($,T){var m=Object.create(null);return m[$]=T.value,m[$+"_comment"]=T.comment,m},X=function($,T){var m=Object.create(null);return m.id=$,m[$+"_comment"]=T.trim(),m},z=function($,T){var m=Object.create(null);return m.comment=T.trim(),m.value=$.trim(),m},A=/^[^*]/,S=l1(["*"],!0,!1),w=function($){return $.join("")},C="/*",I=d1("/*",!1),v="*/",g=d1("*/",!1),s=function($,T){var m=Object.create(null);return m[$.name]=T,m},A0="/* Begin ",w0=d1("/* Begin ",!1),o=" section */",e=d1(" section */",!1),r=function($){return{name:$}},a="/* End ",F0=d1("/* End ",!1),u0="(",l0=d1("(",!1),o0=")",p0=d1(")",!1),H1=function($){return $},N=function(){return[]},R=function($,T){if(T)return T.unshift($),T;else return[$]},t=function($){return $},x=function($,T){var m=Object.create(null);return m.value=$.trim(),m.comment=T.trim(),m},M0=",",s0=d1(",",!1),e0=/^[A-Za-z0-9_.]/,j1=l1([["A","Z"],["a","z"],["0","9"],"_","."],!1,!1),$1=function($){return $.join("")},h1=".",V0=d1(".",!1),q0=function($){return $.join("")},E0=function($){return parseInt($.join(""),10)},L0=function($){return'"'+$+'"'},x0=function($){return $.join("")},g0=V9(),Q1=function($){return $},s1="\\",L5=d1("\\",!1),m8=function(){return"\\\""},g8=function($){return $.join("")},R8=/^[^;,\n]/,M8=l1([";",",",`
|
|
317
|
+
`],!0,!1),K8="//",c8=d1("//",!1),o5=function($){return $},I8=function($){return $.join("")},W2=/^[0-9]/,h2=l1([["0","9"]],!1,!1),TD=/^[A-Za-z]/,g9=l1([["A","Z"],["a","z"]],!1,!1),d='"',B0=d1('"',!1),z0=d9("whitespace"),U0=/^[\t ]/,y0=l1(["\t"," "],!1,!1),T0=/^[\n\r]/,q1=l1([`
|
|
318
|
+
`,"\r"],!1,!1),h=0,C0=0,U1=[{line:1,column:1}],v1=0,C1=[],R0=0,D5;if("startRule"in Z){if(!(Z.startRule in Y))throw new Error(`Can't start parsing from rule "`+Z.startRule+'".');J=Y[Z.startRule]}function e5(){return D.substring(C0,h)}function d8(){return j8(C0,h)}function O2($,T){throw T=T!==void 0?T:j8(C0,h),G9([d9($)],D.substring(C0,h),T)}function X2($,T){throw T=T!==void 0?T:j8(C0,h),_2($,T)}function d1($,T){return{type:"literal",text:$,ignoreCase:T}}function l1($,T,m){return{type:"class",parts:$,inverted:T,ignoreCase:m}}function V9(){return{type:"any"}}function c9(){return{type:"end"}}function d9($){return{type:"other",description:$}}function K9($){var T=U1[$],m;if(T)return T;else{m=$-1;while(!U1[m])m--;T=U1[m],T={line:T.line,column:T.column};while(m<$){if(D.charCodeAt(m)===10)T.line++,T.column=1;else T.column++;m++}return U1[$]=T,T}}function j8($,T){var m=K9($),H0=K9(T);return{start:{offset:$,line:m.line,column:m.column},end:{offset:T,line:H0.line,column:H0.column}}}function a0($){if(h<v1)return;if(h>v1)v1=h,C1=[];C1.push($)}function _2($,T){return new z7($,null,null,T)}function G9($,T,m){return new z7(z7.buildMessage($,T),$,T,m)}function z9(){var $,T,m,H0,f0,y1,N8;if($=h,T=by(),T===Q)T=null;if(T!==Q){if(m=u7(),m===Q)m=null;if(m!==Q)if(H0=a1(),H0!==Q)if(f0=W9(),f0!==Q)if(y1=bD(),y1!==Q)if(N8=a1(),N8!==Q)C0=$,T=q(T,f0),$=T;else h=$,$=Q;else h=$,$=Q;else h=$,$=Q;else h=$,$=Q;else h=$,$=Q}else h=$,$=Q;return $}function W9(){var $,T,m,H0;if($=h,D.charCodeAt(h)===123)T=B,h++;else if(T=Q,R0===0)a0(H);if(T!==Q){if(m=S7(),m===Q)m=P7();if(m!==Q){if(D.charCodeAt(h)===125)H0=V,h++;else if(H0=Q,R0===0)a0(K);if(H0!==Q)C0=$,T=G(m),$=T;else h=$,$=Q}else h=$,$=Q}else h=$,$=Q;return $}function P7(){var $,T;if($=h,T=a1(),T!==Q)C0=$,T=W();return $=T,$}function S7(){var $,T,m,H0,f0,y1;if($=h,T=a1(),T!==Q){if(m=[],H0=h,f0=IZ(),f0===Q)f0=NZ();if(f0!==Q)if(y1=a1(),y1!==Q)f0=[f0,y1],H0=f0;else h=H0,H0=Q;else h=H0,H0=Q;if(H0!==Q)while(H0!==Q){if(m.push(H0),H0=h,f0=IZ(),f0===Q)f0=NZ();if(f0!==Q)if(y1=a1(),y1!==Q)f0=[f0,y1],H0=f0;else h=H0,H0=Q;else h=H0,H0=Q}else m=Q;if(m!==Q)C0=$,T=O(m),$=T;else h=$,$=Q}else h=$,$=Q;return $}function IZ(){var $=rq();if($===Q)$=sq();return $}function rq(){var $,T,m,H0,f0,y1,N8;if($=h,T=Q4(),T!==Q)if(m=a1(),m!==Q){if(D.charCodeAt(h)===61)H0=F,h++;else if(H0=Q,R0===0)a0(E);if(H0!==Q)if(f0=a1(),f0!==Q)if(y1=Y4(),y1!==Q){if(D.charCodeAt(h)===59)N8=L,h++;else if(N8=Q,R0===0)a0(j);if(N8!==Q)C0=$,T=P(T,y1),$=T;else h=$,$=Q}else h=$,$=Q;else h=$,$=Q;else h=$,$=Q}else h=$,$=Q;else h=$,$=Q;return $}function sq(){var $,T,m,H0,f0,y1,N8;if($=h,T=aq(),T!==Q)if(m=a1(),m!==Q){if(D.charCodeAt(h)===61)H0=F,h++;else if(H0=Q,R0===0)a0(E);if(H0!==Q)if(f0=a1(),f0!==Q)if(y1=Y4(),y1!==Q){if(D.charCodeAt(h)===59)N8=L,h++;else if(N8=Q,R0===0)a0(j);if(N8!==Q)C0=$,T=u(T,y1),$=T;else h=$,$=Q}else h=$,$=Q;else h=$,$=Q;else h=$,$=Q}else h=$,$=Q;else h=$,$=Q;if($===Q)if($=h,T=Q4(),T!==Q)if(m=a1(),m!==Q){if(D.charCodeAt(h)===61)H0=F,h++;else if(H0=Q,R0===0)a0(E);if(H0!==Q)if(f0=a1(),f0!==Q)if(y1=tq(),y1!==Q){if(D.charCodeAt(h)===59)N8=L,h++;else if(N8=Q,R0===0)a0(j);if(N8!==Q)C0=$,T=U(T,y1),$=T;else h=$,$=Q}else h=$,$=Q;else h=$,$=Q;else h=$,$=Q}else h=$,$=Q;else h=$,$=Q;return $}function aq(){var $,T,m,H0;if($=h,T=Q4(),T!==Q)if(m=a1(),m!==Q)if(H0=u7(),H0!==Q)C0=$,T=X(T,H0),$=T;else h=$,$=Q;else h=$,$=Q;else h=$,$=Q;return $}function tq(){var $,T,m,H0;if($=h,T=Y4(),T!==Q)if(m=a1(),m!==Q)if(H0=u7(),H0!==Q)C0=$,T=z(T,H0),$=T;else h=$,$=Q;else h=$,$=Q;else h=$,$=Q;return $}function u7(){var $,T,m,H0;if($=h,T=jZ(),T!==Q){if(m=[],A.test(D.charAt(h)))H0=D.charAt(h),h++;else if(H0=Q,R0===0)a0(S);if(H0!==Q){while(H0!==Q)if(m.push(H0),A.test(D.charAt(h)))H0=D.charAt(h),h++;else if(H0=Q,R0===0)a0(S)}else m=Q;if(m!==Q)if(H0=oq(),H0!==Q)C0=$,T=w(m),$=T;else h=$,$=Q;else h=$,$=Q}else h=$,$=Q;return $}function jZ(){var $;if(D.substr(h,2)===C)$=C,h+=2;else if($=Q,R0===0)a0(I);return $}function oq(){var $;if(D.substr(h,2)===v)$=v,h+=2;else if($=Q,R0===0)a0(g);return $}function NZ(){var $,T,m,H0,f0,y1;if($=h,T=eq(),T!==Q)if(m=a1(),m!==Q){if(H0=S7(),H0===Q)H0=P7();if(H0!==Q)if(f0=a1(),f0!==Q)if(y1=DB(),y1!==Q)C0=$,T=s(T,H0),$=T;else h=$,$=Q;else h=$,$=Q;else h=$,$=Q}else h=$,$=Q;else h=$,$=Q;return $}function eq(){var $,T,m,H0,f0;if($=h,D.substr(h,9)===A0)T=A0,h+=9;else if(T=Q,R0===0)a0(w0);if(T!==Q)if(m=Q4(),m!==Q){if(D.substr(h,11)===o)H0=o,h+=11;else if(H0=Q,R0===0)a0(e);if(H0!==Q)if(f0=bD(),f0!==Q)C0=$,T=r(m),$=T;else h=$,$=Q;else h=$,$=Q}else h=$,$=Q;else h=$,$=Q;return $}function DB(){var $,T,m,H0,f0;if($=h,D.substr(h,7)===a)T=a,h+=7;else if(T=Q,R0===0)a0(F0);if(T!==Q)if(m=Q4(),m!==Q){if(D.substr(h,11)===o)H0=o,h+=11;else if(H0=Q,R0===0)a0(e);if(H0!==Q)if(f0=bD(),f0!==Q)C0=$,T=r(m),$=T;else h=$,$=Q;else h=$,$=Q}else h=$,$=Q;else h=$,$=Q;return $}function ZB(){var $,T,m,H0;if($=h,D.charCodeAt(h)===40)T=u0,h++;else if(T=Q,R0===0)a0(l0);if(T!==Q){if(m=PZ(),m===Q)m=QB();if(m!==Q){if(D.charCodeAt(h)===41)H0=o0,h++;else if(H0=Q,R0===0)a0(p0);if(H0!==Q)C0=$,T=H1(m),$=T;else h=$,$=Q}else h=$,$=Q}else h=$,$=Q;return $}function QB(){var $,T;if($=h,T=a1(),T!==Q)C0=$,T=N();return $=T,$}function PZ(){var $,T,m,H0,f0,y1;if($=h,T=a1(),T!==Q)if(m=YB(),m!==Q)if(H0=a1(),H0!==Q){if(f0=PZ(),f0===Q)f0=null;if(f0!==Q)if(y1=a1(),y1!==Q)C0=$,T=R(m,f0),$=T;else h=$,$=Q;else h=$,$=Q}else h=$,$=Q;else h=$,$=Q;else h=$,$=Q;return $}function YB(){var $=JB();if($===Q)$=jy();return $}function JB(){var $,T,m;if($=h,T=Y4(),T!==Q)if(m=nO(),m!==Q)C0=$,T=t(T),$=T;else h=$,$=Q;else h=$,$=Q;return $}function jy(){var $,T,m,H0,f0;if($=h,T=Y4(),T!==Q)if(m=a1(),m!==Q)if(H0=u7(),H0!==Q)if(f0=nO(),f0!==Q)C0=$,T=x(T,H0),$=T;else h=$,$=Q;else h=$,$=Q;else h=$,$=Q;else h=$,$=Q;return $}function nO(){var $,T,m,H0;if(D.charCodeAt(h)===44)$=M0,h++;else if($=Q,R0===0)a0(s0);if($===Q)if($=h,T=a1(),T!==Q){if(m=h,R0++,D.charCodeAt(h)===41)H0=o0,h++;else if(H0=Q,R0===0)a0(p0);if(R0--,H0!==Q)h=m,m=void 0;else m=Q;if(m!==Q)T=[T,m],$=T;else h=$,$=Q}else h=$,$=Q;return $}function Q4(){var $,T,m;if($=h,T=[],e0.test(D.charAt(h)))m=D.charAt(h),h++;else if(m=Q,R0===0)a0(j1);if(m!==Q){while(m!==Q)if(T.push(m),e0.test(D.charAt(h)))m=D.charAt(h),h++;else if(m=Q,R0===0)a0(j1)}else T=Q;if(T!==Q)C0=$,T=$1(T);if($=T,$===Q)$=rO();return $}function Y4(){var $=W9();if($===Q){if($=ZB(),$===Q){if($=Ny(),$===Q)$=Sy()}}return $}function Ny(){var $=Py();if($===Q)$=qB();return $}function Py(){var $,T,m,H0,f0;if($=h,T=h,m=qB(),m!==Q){if(D.charCodeAt(h)===46)H0=h1,h++;else if(H0=Q,R0===0)a0(V0);if(H0!==Q)if(f0=qB(),f0!==Q)m=[m,H0,f0],T=m;else h=T,T=Q;else h=T,T=Q}else h=T,T=Q;if(T!==Q)C0=$,T=q0(T);return $=T,$}function qB(){var $,T,m,H0,f0;if($=h,T=h,R0++,m=_y(),R0--,m===Q)T=void 0;else h=T,T=Q;if(T!==Q){if(m=[],H0=oO(),H0!==Q)while(H0!==Q)m.push(H0),H0=oO();else m=Q;if(m!==Q){if(H0=h,R0++,f0=tO(),R0--,f0===Q)H0=void 0;else h=H0,H0=Q;if(H0!==Q)C0=$,T=E0(m),$=T;else h=$,$=Q}else h=$,$=Q}else h=$,$=Q;return $}function Sy(){var $=rO();if($===Q)$=Ty();return $}function rO(){var $,T,m,H0;if($=h,T=SZ(),T!==Q)if(m=uy(),m!==Q)if(H0=SZ(),H0!==Q)C0=$,T=L0(m),$=T;else h=$,$=Q;else h=$,$=Q;else h=$,$=Q;return $}function uy(){var $,T,m;if($=h,T=[],m=sO(),m!==Q)while(m!==Q)T.push(m),m=sO();else T=Q;if(T!==Q)C0=$,T=x0(T);return $=T,$}function sO(){var $,T,m;if($=vy(),$===Q){if($=h,T=h,R0++,m=SZ(),R0--,m===Q)T=void 0;else h=T,T=Q;if(T!==Q){if(D.length>h)m=D.charAt(h),h++;else if(m=Q,R0===0)a0(g0);if(m!==Q)C0=$,T=Q1(m),$=T;else h=$,$=Q}else h=$,$=Q}return $}function vy(){var $,T,m;if($=h,D.charCodeAt(h)===92)T=s1,h++;else if(T=Q,R0===0)a0(L5);if(T!==Q)if(m=SZ(),m!==Q)C0=$,T=m8(),$=T;else h=$,$=Q;else h=$,$=Q;return $}function Ty(){var $,T,m;if($=h,T=[],m=aO(),m!==Q)while(m!==Q)T.push(m),m=aO();else T=Q;if(T!==Q)C0=$,T=g8(T);return $=T,$}function aO(){var $,T,m,H0;if($=h,T=h,R0++,m=jZ(),R0--,m===Q)T=void 0;else h=T,T=Q;if(T!==Q){if(m=h,R0++,H0=ky(),R0--,H0===Q)m=void 0;else h=m,m=Q;if(m!==Q)if(H0=tO(),H0!==Q)C0=$,T=Q1(H0),$=T;else h=$,$=Q;else h=$,$=Q}else h=$,$=Q;return $}function tO(){var $;if(R8.test(D.charAt(h)))$=D.charAt(h),h++;else if($=Q,R0===0)a0(M8);return $}function by(){var $,T,m,H0,f0;if($=h,D.substr(h,2)===K8)T=K8,h+=2;else if(T=Q,R0===0)a0(c8);if(T!==Q)if(m=a1(),m!==Q)if(H0=hy(),H0!==Q)if(f0=bD(),f0!==Q)C0=$,T=o5(H0),$=T;else h=$,$=Q;else h=$,$=Q;else h=$,$=Q;else h=$,$=Q;return $}function hy(){var $,T,m;$=h,T=[],m=DX();while(m!==Q)T.push(m),m=DX();if(T!==Q)C0=$,T=I8(T);return $=T,$}function oO(){var $;if(W2.test(D.charAt(h)))$=D.charAt(h),h++;else if($=Q,R0===0)a0(h2);return $}function _y(){var $;if(TD.test(D.charAt(h)))$=D.charAt(h),h++;else if($=Q,R0===0)a0(g9);return $}function SZ(){var $;if(D.charCodeAt(h)===34)$=d,h++;else if($=Q,R0===0)a0(B0);return $}function a1(){var $,T;R0++,$=[],T=eO();while(T!==Q)$.push(T),T=eO();if(R0--,$===Q){if(T=Q,R0===0)a0(z0)}return $}function eO(){var $=bD();if($===Q){if(U0.test(D.charAt(h)))$=D.charAt(h),h++;else if($=Q,R0===0)a0(y0)}return $}function DX(){var $,T,m;if($=h,T=h,R0++,m=bD(),R0--,m===Q)T=void 0;else h=T,T=Q;if(T!==Q)if(m=yy(),m!==Q)C0=$,T=Q1(m),$=T;else h=$,$=Q;else h=$,$=Q;return $}function ky(){var $=bD();if($===Q){if(D.charCodeAt(h)===59)$=L,h++;else if($=Q,R0===0)a0(j)}return $}function bD(){var $;if(T0.test(D.charAt(h)))$=D.charAt(h),h++;else if($=Q,R0===0)a0(q1);return $}function yy(){var $;if(D.length>h)$=D.charAt(h),h++;else if($=Q,R0===0)a0(g0);return $}if(D5=J(),D5!==Q&&h===D.length)return D5;else{if(D5!==Q&&h<D.length)a0(c9());throw G9(C1,v1<D.length?D.charAt(v1):null,v1<D.length?j8(v1,v1+1):j8(v1,v1))}}qS.exports={SyntaxError:z7,parse:w80}});var VS=M((rJ,c3)=>{var HS=rJ&&rJ.__importDefault||function(D){return D&&D.__esModule?D:{default:D}};(function(D){if(typeof c3==="object"&&typeof c3.exports==="object"){var Z=D(require,rJ);if(Z!==void 0)c3.exports=Z}else if(typeof define==="function"&&define.amd)define(["require","exports","bplist-creator","bplist-parser","./parse","./readFile","./readFileSync","./stringify","./writeBinaryFile","./writeBinaryFileSync","./writeFile","./writeFileSync"],D)})(function(D,Z){Object.defineProperty(Z,"__esModule",{value:!0});var Q=HS(D("bplist-creator")),Y=HS(D("bplist-parser")),J=D("./parse"),q=D("./readFile"),B=D("./readFileSync"),H=D("./stringify"),V=D("./writeBinaryFile"),K=D("./writeBinaryFileSync"),G=D("./writeFile"),W=D("./writeFileSync"),O={bplistCreator:Q.default,bplistParser:Y.default,parse:J.parse,readFile:q.readFile,readFileSync:B.readFileSync,stringify:H.stringify,writeBinaryFile:V.writeBinaryFile,writeBinaryFileSync:K.writeBinaryFileSync,writeFile:G.writeFile,writeFileSync:W.writeFileSync};Z.default=O,c3.exports=O})});var kz=M((XQ0,FS)=>{var __dirname="/home/expo/workingdir/build/node_modules/xcode/lib",KS=require("util"),U8=KS.format,L80=require("events").EventEmitter,wD=require("path"),C80=aP(),R80=require("child_process").fork,M80=DS(),U5=yz(),GS=require("fs"),I80=BS(),j80=VS(),K5=/_comment$/;function J0(D){if(!(this instanceof J0))return new J0(D);this.filepath=wD.resolve(D)}KS.inherits(J0,L80);J0.prototype.parse=function(D){var Z=R80(__dirname+"/parseJob.js",[this.filepath]);if(Z.on("message",function(Q){if(Q.name=="SyntaxError"||Q.code)this.emit("error",Q);else this.hash=Q,this.emit("end",null,Q)}.bind(this)),D)this.on("error",D),this.on("end",D);return this};J0.prototype.parseSync=function(){var D=GS.readFileSync(this.filepath,"utf-8");return this.hash=I80.parse(D),this};J0.prototype.writeSync=function(D){return this.writer=new M80(this.hash,D),this.writer.writeSync()};J0.prototype.allUuids=function(){var D=this.hash.project.objects,Z=[],Q;for(key in D)Q=D[key],Z=Z.concat(Object.keys(Q));return Z=Z.filter(function(Y){return!K5.test(Y)&&Y.length==24}),Z};J0.prototype.generateUuid=function(){var D=C80.v4().replace(/-/g,"").substr(0,24).toUpperCase();if(this.allUuids().indexOf(D)>=0)return this.generateUuid();else return D};J0.prototype.addPluginFile=function(D,Z){var Q=new U5(D,Z);if(Q.plugin=!0,WS(Q,this),this.hasFile(Q.path))return null;return Q.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(Q),this.addToPluginsPbxGroup(Q),Q};J0.prototype.removePluginFile=function(D,Z){var Q=new U5(D,Z);return WS(Q,this),this.removeFromPbxFileReferenceSection(Q),this.removeFromPluginsPbxGroup(Q),Q};J0.prototype.addProductFile=function(D,Z){var Q=new U5(D,Z);return Q.includeInIndex=0,Q.fileRef=this.generateUuid(),Q.target=Z?Z.target:void 0,Q.group=Z?Z.group:void 0,Q.uuid=this.generateUuid(),Q.path=Q.basename,this.addToPbxFileReferenceSection(Q),this.addToProductsPbxGroup(Q),Q};J0.prototype.removeProductFile=function(D,Z){var Q=new U5(D,Z);return this.removeFromProductsPbxGroup(Q),Q};J0.prototype.addSourceFile=function(D,Z,Q){var Y;if(Q)Y=this.addFile(D,Q,Z);else Y=this.addPluginFile(D,Z);if(!Y)return!1;return Y.target=Z?Z.target:void 0,Y.uuid=this.generateUuid(),this.addToPbxBuildFileSection(Y),this.addToPbxSourcesBuildPhase(Y),Y};J0.prototype.removeSourceFile=function(D,Z,Q){var Y;if(Q)Y=this.removeFile(D,Q,Z);else Y=this.removePluginFile(D,Z);return Y.target=Z?Z.target:void 0,this.removeFromPbxBuildFileSection(Y),this.removeFromPbxSourcesBuildPhase(Y),Y};J0.prototype.addHeaderFile=function(D,Z,Q){if(Q)return this.addFile(D,Q,Z);else return this.addPluginFile(D,Z)};J0.prototype.removeHeaderFile=function(D,Z,Q){if(Q)return this.removeFile(D,Q,Z);else return this.removePluginFile(D,Z)};J0.prototype.addResourceFile=function(D,Z,Q){Z=Z||{};var Y;if(Z.plugin){if(Y=this.addPluginFile(D,Z),!Y)return!1}else if(Y=new U5(D,Z),this.hasFile(Y.path))return!1;if(Y.uuid=this.generateUuid(),Y.target=Z?Z.target:void 0,!Z.plugin)OS(Y,this),Y.fileRef=this.generateUuid();if(!Z.variantGroup)this.addToPbxBuildFileSection(Y),this.addToPbxResourcesBuildPhase(Y);if(!Z.plugin)if(this.addToPbxFileReferenceSection(Y),Q){if(this.getPBXGroupByKey(Q))this.addToPbxGroup(Y,Q);else if(this.getPBXVariantGroupByKey(Q))this.addToPbxVariantGroup(Y,Q)}else this.addToResourcesPbxGroup(Y);return Y};J0.prototype.removeResourceFile=function(D,Z,Q){var Y=new U5(D,Z);if(Y.target=Z?Z.target:void 0,OS(Y,this),this.removeFromPbxBuildFileSection(Y),this.removeFromPbxFileReferenceSection(Y),Q){if(this.getPBXGroupByKey(Q))this.removeFromPbxGroup(Y,Q);else if(this.getPBXVariantGroupByKey(Q))this.removeFromPbxVariantGroup(Y,Q)}else this.removeFromResourcesPbxGroup(Y);return this.removeFromPbxResourcesBuildPhase(Y),Y};J0.prototype.addFramework=function(D,Z){var Q=Z&&Z.customFramework==!0,Y=!Z||(Z.link==null||Z.link),J=Z&&Z.embed;if(Z)delete Z.embed;var q=new U5(D,Z);if(q.uuid=this.generateUuid(),q.fileRef=this.generateUuid(),q.target=Z?Z.target:void 0,this.hasFile(q.path))return!1;if(this.addToPbxBuildFileSection(q),this.addToPbxFileReferenceSection(q),this.addToFrameworksPbxGroup(q),Y)this.addToPbxFrameworksBuildPhase(q);if(Q){if(this.addToFrameworkSearchPaths(q),J){Z.embed=J;var B=new U5(D,Z);return B.uuid=this.generateUuid(),B.fileRef=q.fileRef,this.addToPbxBuildFileSection(B),this.addToPbxEmbedFrameworksBuildPhase(B),B}}return q};J0.prototype.removeFramework=function(D,Z){var Q=Z&&Z.embed;if(Z)delete Z.embed;var Y=new U5(D,Z);if(Y.target=Z?Z.target:void 0,this.removeFromPbxBuildFileSection(Y),this.removeFromPbxFileReferenceSection(Y),this.removeFromFrameworksPbxGroup(Y),this.removeFromPbxFrameworksBuildPhase(Y),Z&&Z.customFramework)this.removeFromFrameworkSearchPaths(Y);Z=Z||{},Z.embed=!0;var J=new U5(D,Z);return J.fileRef=Y.fileRef,this.removeFromPbxBuildFileSection(J),this.removeFromPbxEmbedFrameworksBuildPhase(J),Y};J0.prototype.addCopyfile=function(D,Z){var Q=new U5(D,Z);if(this.hasFile(Q.path))Q=this.hasFile(Q.path);return Q.fileRef=Q.uuid=this.generateUuid(),Q.target=Z?Z.target:void 0,this.addToPbxBuildFileSection(Q),this.addToPbxFileReferenceSection(Q),this.addToPbxCopyfilesBuildPhase(Q),Q};J0.prototype.pbxCopyfilesBuildPhaseObj=function(D){return this.buildPhaseObject("PBXCopyFilesBuildPhase","Copy Files",D)};J0.prototype.addToPbxCopyfilesBuildPhase=function(D){var Z=this.buildPhaseObject("PBXCopyFilesBuildPhase","Copy Files",D.target);Z.files.push(ED(D))};J0.prototype.removeCopyfile=function(D,Z){var Q=new U5(D,Z);return Q.target=Z?Z.target:void 0,this.removeFromPbxBuildFileSection(Q),this.removeFromPbxFileReferenceSection(Q),this.removeFromPbxCopyfilesBuildPhase(Q),Q};J0.prototype.removeFromPbxCopyfilesBuildPhase=function(D){var Z=this.pbxCopyfilesBuildPhaseObj(D.target);for(i in Z.files)if(Z.files[i].comment==W7(D)){Z.files.splice(i,1);break}};J0.prototype.addStaticLibrary=function(D,Z){Z=Z||{};var Q;if(Z.plugin){if(Q=this.addPluginFile(D,Z),!Q)return!1}else if(Q=new U5(D,Z),this.hasFile(Q.path))return!1;if(Q.uuid=this.generateUuid(),Q.target=Z?Z.target:void 0,!Z.plugin)Q.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(Q);return this.addToPbxBuildFileSection(Q),this.addToPbxFrameworksBuildPhase(Q),this.addToLibrarySearchPaths(Q),Q};J0.prototype.addToPbxBuildFileSection=function(D){var Z=U8("%s_comment",D.uuid);this.pbxBuildFileSection()[D.uuid]=N80(D),this.pbxBuildFileSection()[Z]=u80(D)};J0.prototype.removeFromPbxBuildFileSection=function(D){var Z;for(Z in this.pbxBuildFileSection())if(this.pbxBuildFileSection()[Z].fileRef_comment==D.basename){D.uuid=Z,delete this.pbxBuildFileSection()[Z];var Q=U8("%s_comment",Z);delete this.pbxBuildFileSection()[Q]}};J0.prototype.addPbxGroup=function(D,Z,Q,Y){var J=this.hash.project.objects.PBXGroup,q=this.generateUuid(),B=U8("%s_comment",q),H={isa:"PBXGroup",children:[],name:Z,path:Q,sourceTree:Y?Y:'"<group>"'},V=this.pbxFileReferenceSection(),K={};for(var G in V){if(!K5.test(G))continue;var W=G.split(K5)[0],O=V[W];K[O.path]={fileRef:W,basename:V[G]}}for(var F=0;F<D.length;F++){var E=D[F],L='"'+E+'"';if(K[E]){H.children.push(b5(K[E]));continue}else if(K[L]){H.children.push(b5(K[L]));continue}var j=new U5(E);j.uuid=this.generateUuid(),j.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(j),this.addToPbxBuildFileSection(j),H.children.push(b5(j))}if(J)J[q]=H,J[B]=Z;return{uuid:q,pbxGroup:H}};J0.prototype.removePbxGroup=function(D){var Z=this.hash.project.objects.PBXGroup,Q,Y;for(Q in Z){if(!K5.test(Q))continue;if(Z[Q]==D)Y=Q.split(K5)[0],delete Z[Y]}};J0.prototype.addToPbxProjectSection=function(D){var Z={value:D.uuid,comment:T80(D.pbxNativeTarget)};this.pbxProjectSection()[this.getFirstProject().uuid].targets.push(Z)};J0.prototype.addToPbxNativeTargetSection=function(D){var Z=U8("%s_comment",D.uuid);this.pbxNativeTargetSection()[D.uuid]=D.pbxNativeTarget,this.pbxNativeTargetSection()[Z]=D.pbxNativeTarget.name};J0.prototype.addToPbxFileReferenceSection=function(D){var Z=U8("%s_comment",D.fileRef);this.pbxFileReferenceSection()[D.fileRef]=zS(D),this.pbxFileReferenceSection()[Z]=v80(D)};J0.prototype.removeFromPbxFileReferenceSection=function(D){var Z,Q=zS(D);for(Z in this.pbxFileReferenceSection())if(this.pbxFileReferenceSection()[Z].name==Q.name||'"'+this.pbxFileReferenceSection()[Z].name+'"'==Q.name||this.pbxFileReferenceSection()[Z].path==Q.path||'"'+this.pbxFileReferenceSection()[Z].path+'"'==Q.path){D.fileRef=D.uuid=Z,delete this.pbxFileReferenceSection()[Z];break}var Y=U8("%s_comment",D.fileRef);if(this.pbxFileReferenceSection()[Y]!=null)delete this.pbxFileReferenceSection()[Y];return D};J0.prototype.addToXcVersionGroupSection=function(D){if(!D.models||!D.currentModel)throw new Error("Cannot create a XCVersionGroup section from not a data model document file");var Z=U8("%s_comment",D.fileRef);if(!this.xcVersionGroupSection()[D.fileRef])this.xcVersionGroupSection()[D.fileRef]={isa:"XCVersionGroup",children:D.models.map(function(Q){return Q.fileRef}),currentVersion:D.currentModel.fileRef,name:wD.basename(D.path),path:D.path,sourceTree:'"<group>"',versionGroupType:"wrapper.xcdatamodel"},this.xcVersionGroupSection()[Z]=wD.basename(D.path)};J0.prototype.addToPluginsPbxGroup=function(D){var Z=this.pbxGroupByName("Plugins");if(!Z)this.addPbxGroup([D.path],"Plugins");else Z.children.push(b5(D))};J0.prototype.removeFromPluginsPbxGroup=function(D){if(!this.pbxGroupByName("Plugins"))return null;var Z=this.pbxGroupByName("Plugins").children,Q;for(Q in Z)if(b5(D).value==Z[Q].value&&b5(D).comment==Z[Q].comment){Z.splice(Q,1);break}};J0.prototype.addToResourcesPbxGroup=function(D){var Z=this.pbxGroupByName("Resources");if(!Z)this.addPbxGroup([D.path],"Resources");else Z.children.push(b5(D))};J0.prototype.removeFromResourcesPbxGroup=function(D){if(!this.pbxGroupByName("Resources"))return null;var Z=this.pbxGroupByName("Resources").children,Q;for(Q in Z)if(b5(D).value==Z[Q].value&&b5(D).comment==Z[Q].comment){Z.splice(Q,1);break}};J0.prototype.addToFrameworksPbxGroup=function(D){var Z=this.pbxGroupByName("Frameworks");if(!Z)this.addPbxGroup([D.path],"Frameworks");else Z.children.push(b5(D))};J0.prototype.removeFromFrameworksPbxGroup=function(D){if(!this.pbxGroupByName("Frameworks"))return null;var Z=this.pbxGroupByName("Frameworks").children;for(i in Z)if(b5(D).value==Z[i].value&&b5(D).comment==Z[i].comment){Z.splice(i,1);break}};J0.prototype.addToPbxEmbedFrameworksBuildPhase=function(D){var Z=this.pbxEmbedFrameworksBuildPhaseObj(D.target);if(Z)Z.files.push(ED(D))};J0.prototype.removeFromPbxEmbedFrameworksBuildPhase=function(D){var Z=this.pbxEmbedFrameworksBuildPhaseObj(D.target);if(Z){var Q=[];for(i in Z.files)if(Z.files[i].comment!=W7(D))Q.push(Z.files[i]);Z.files=Q}};J0.prototype.addToProductsPbxGroup=function(D){var Z=this.pbxGroupByName("Products");if(!Z)this.addPbxGroup([D.path],"Products");else Z.children.push(b5(D))};J0.prototype.removeFromProductsPbxGroup=function(D){if(!this.pbxGroupByName("Products"))return null;var Z=this.pbxGroupByName("Products").children,Q;for(Q in Z)if(b5(D).value==Z[Q].value&&b5(D).comment==Z[Q].comment){Z.splice(Q,1);break}};J0.prototype.addToPbxSourcesBuildPhase=function(D){var Z=this.pbxSourcesBuildPhaseObj(D.target);Z.files.push(ED(D))};J0.prototype.removeFromPbxSourcesBuildPhase=function(D){var Z=this.pbxSourcesBuildPhaseObj(D.target),Q;for(Q in Z.files)if(Z.files[Q].comment==W7(D)){Z.files.splice(Q,1);break}};J0.prototype.addToPbxResourcesBuildPhase=function(D){var Z=this.pbxResourcesBuildPhaseObj(D.target);Z.files.push(ED(D))};J0.prototype.removeFromPbxResourcesBuildPhase=function(D){var Z=this.pbxResourcesBuildPhaseObj(D.target),Q;for(Q in Z.files)if(Z.files[Q].comment==W7(D)){Z.files.splice(Q,1);break}};J0.prototype.addToPbxFrameworksBuildPhase=function(D){var Z=this.pbxFrameworksBuildPhaseObj(D.target);Z.files.push(ED(D))};J0.prototype.removeFromPbxFrameworksBuildPhase=function(D){var Z=this.pbxFrameworksBuildPhaseObj(D.target);for(i in Z.files)if(Z.files[i].comment==W7(D)){Z.files.splice(i,1);break}};J0.prototype.addXCConfigurationList=function(D,Z,Q){var Y=this.pbxXCBuildConfigurationSection(),J=this.pbxXCConfigurationList(),q=this.generateUuid(),B=U8("%s_comment",q),H={isa:"XCConfigurationList",buildConfigurations:[],defaultConfigurationIsVisible:0,defaultConfigurationName:Z};for(var V=0;V<D.length;V++){var K=D[V],G=this.generateUuid(),W=U8("%s_comment",G);Y[G]=K,Y[W]=K.name,H.buildConfigurations.push({value:G,comment:K.name})}if(J)J[q]=H,J[B]=Q;return{uuid:q,xcConfigurationList:H}};J0.prototype.addTargetDependency=function(D,Z){if(!D)return;var Q=this.pbxNativeTargetSection();if(typeof Q[D]=="undefined")throw new Error("Invalid target: "+D);for(var Y=0;Y<Z.length;Y++){var J=Z[Y];if(typeof Q[J]=="undefined")throw new Error("Invalid target: "+J)}var q="PBXTargetDependency",B="PBXContainerItemProxy",H=this.hash.project.objects[q],V=this.hash.project.objects[B];for(var Y=0;Y<Z.length;Y++){var K=Z[Y],G=U8("%s_comment",K),W=this.generateUuid(),O=U8("%s_comment",W),F=this.generateUuid(),E=U8("%s_comment",F),L={isa:B,containerPortal:this.hash.project.rootObject,containerPortal_comment:this.hash.project.rootObject_comment,proxyType:1,remoteGlobalIDString:K,remoteInfo:Q[K].name},j={isa:q,target:K,target_comment:Q[G],targetProxy:F,targetProxy_comment:B};if(V&&H)V[F]=L,V[E]=B,H[W]=j,H[O]=q,Q[D].dependencies.push({value:W,comment:q})}return{uuid:D,target:Q[D]}};J0.prototype.addBuildPhase=function(D,Z,Q,Y,J,q){var B,H=this.pbxFileReferenceSection(),V=this.pbxBuildFileSection(),K=this.generateUuid(),G=Y||this.getFirstTarget().uuid,W=U8("%s_comment",K),O={isa:Z,buildActionMask:2147483647,files:[],runOnlyForDeploymentPostprocessing:0},F={};if(Z==="PBXCopyFilesBuildPhase")O=P80(O,J,q,Q);else if(Z==="PBXShellScriptBuildPhase")O=S80(O,J,Q);if(!this.hash.project.objects[Z])this.hash.project.objects[Z]=new Object;if(!this.hash.project.objects[Z][K])this.hash.project.objects[Z][K]=O,this.hash.project.objects[Z][W]=Q;if(this.hash.project.objects.PBXNativeTarget[G].buildPhases)this.hash.project.objects.PBXNativeTarget[G].buildPhases.push({value:K,comment:Q});for(var E in V){if(!K5.test(E))continue;var L=E.split(K5)[0],j=V[L];if(fileReference=H[j.fileRef],!fileReference)continue;var P=new U5(fileReference.path);F[fileReference.path]={uuid:L,basename:P.basename,group:P.group}}for(var u=0;u<D.length;u++){var U=D[u],X='"'+U+'"',z=new U5(U);if(F[U]){O.files.push(ED(F[U]));continue}else if(F[X]){O.files.push(ED(F[X]));continue}z.uuid=this.generateUuid(),z.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(z),this.addToPbxBuildFileSection(z),O.files.push(ED(z))}if(B)B[K]=O,B[W]=Q;return{uuid:K,buildPhase:O}};J0.prototype.pbxProjectSection=function(){return this.hash.project.objects.PBXProject};J0.prototype.pbxBuildFileSection=function(){return this.hash.project.objects.PBXBuildFile};J0.prototype.pbxXCBuildConfigurationSection=function(){return this.hash.project.objects.XCBuildConfiguration};J0.prototype.pbxFileReferenceSection=function(){return this.hash.project.objects.PBXFileReference};J0.prototype.pbxNativeTargetSection=function(){return this.hash.project.objects.PBXNativeTarget};J0.prototype.xcVersionGroupSection=function(){if(typeof this.hash.project.objects.XCVersionGroup!=="object")this.hash.project.objects.XCVersionGroup={};return this.hash.project.objects.XCVersionGroup};J0.prototype.pbxXCConfigurationList=function(){return this.hash.project.objects.XCConfigurationList};J0.prototype.pbxGroupByName=function(D){var Z=this.hash.project.objects.PBXGroup,Q,Y;for(Q in Z){if(!K5.test(Q))continue;if(Z[Q]==D)return Y=Q.split(K5)[0],Z[Y]}return null};J0.prototype.pbxTargetByName=function(D){return this.pbxItemByComment(D,"PBXNativeTarget")};J0.prototype.findTargetKey=function(D){var Z=this.hash.project.objects.PBXNativeTarget;for(var Q in Z){if(K5.test(Q))continue;var Y=Z[Q];if(Y.name===D)return Q}return null};J0.prototype.pbxItemByComment=function(D,Z){var Q=this.hash.project.objects[Z],Y,J;for(Y in Q){if(!K5.test(Y))continue;if(Q[Y]==D)return J=Y.split(K5)[0],Q[J]}return null};J0.prototype.pbxSourcesBuildPhaseObj=function(D){return this.buildPhaseObject("PBXSourcesBuildPhase","Sources",D)};J0.prototype.pbxResourcesBuildPhaseObj=function(D){return this.buildPhaseObject("PBXResourcesBuildPhase","Resources",D)};J0.prototype.pbxFrameworksBuildPhaseObj=function(D){return this.buildPhaseObject("PBXFrameworksBuildPhase","Frameworks",D)};J0.prototype.pbxEmbedFrameworksBuildPhaseObj=function(D){return this.buildPhaseObject("PBXCopyFilesBuildPhase","Embed Frameworks",D)};J0.prototype.buildPhase=function(D,Z){if(!Z)return;var Q=this.pbxNativeTargetSection();if(typeof Q[Z]=="undefined")throw new Error("Invalid target: "+Z);var Y=Q[Z],J=Y.buildPhases;for(var q in J){var B=J[q];if(B.comment==D)return B.value+"_comment"}};J0.prototype.buildPhaseObject=function(D,Z,Q){var Y=this.hash.project.objects[D],J,q,B,H=this.buildPhase(Z,Q);for(B in Y){if(!K5.test(B))continue;if(H&&H!=B)continue;if(Y[B]==Z)return q=B.split(K5)[0],Y[q]}return null};J0.prototype.addBuildProperty=function(D,Z,Q){var Y=A8(this.pbxXCBuildConfigurationSection()),J,q;for(J in Y)if(q=Y[J],!Q||q.name===Q)q.buildSettings[D]=Z};J0.prototype.removeBuildProperty=function(D,Z){var Q=A8(this.pbxXCBuildConfigurationSection()),Y,J;for(Y in Q)if(J=Q[Y],J.buildSettings[D]&&!Z||J.name===Z)delete J.buildSettings[D]};J0.prototype.updateBuildProperty=function(D,Z,Q,Y){let J=[];if(Y){let V=this.pbxTargetByName(Y),K=V&&V.buildConfigurationList,G=this.pbxXCConfigurationList();for(let W in G)if(!K5.test(W)&&K===W){let O=G[W].buildConfigurations;for(let F of O)J.push(F.value);break}}var q=this.pbxXCBuildConfigurationSection();for(var B in q)if(!K5.test(B)){if(Y&&!J.includes(B))continue;var H=q[B];if(Q&&H.name===Q||!Q)H.buildSettings[D]=Z}};J0.prototype.updateProductName=function(D){this.updateBuildProperty("PRODUCT_NAME",'"'+D+'"')};J0.prototype.removeFromFrameworkSearchPaths=function(D){var Z=A8(this.pbxXCBuildConfigurationSection()),Q='"$(inherited)"',Y="FRAMEWORK_SEARCH_PATHS",J,q,B,H=u6(D,this);for(J in Z){if(q=Z[J].buildSettings,e2(q.PRODUCT_NAME)!=this.productName)continue;if(B=q[Y],B&&Array.isArray(B)){var V=B.filter(function(K){return K.indexOf(H)>-1});V.forEach(function(K){var G=B.indexOf(K);B.splice(G,1)})}}};J0.prototype.addToFrameworkSearchPaths=function(D){var Z=A8(this.pbxXCBuildConfigurationSection()),Q='"$(inherited)"',Y,J,q;for(Y in Z){if(J=Z[Y].buildSettings,e2(J.PRODUCT_NAME)!=this.productName)continue;if(!J.FRAMEWORK_SEARCH_PATHS||J.FRAMEWORK_SEARCH_PATHS===Q)J.FRAMEWORK_SEARCH_PATHS=[Q];J.FRAMEWORK_SEARCH_PATHS.push(u6(D,this))}};J0.prototype.removeFromLibrarySearchPaths=function(D){var Z=A8(this.pbxXCBuildConfigurationSection()),Q='"$(inherited)"',Y="LIBRARY_SEARCH_PATHS",J,q,B,H=u6(D,this);for(J in Z){if(q=Z[J].buildSettings,e2(q.PRODUCT_NAME)!=this.productName)continue;if(B=q[Y],B&&Array.isArray(B)){var V=B.filter(function(K){return K.indexOf(H)>-1});V.forEach(function(K){var G=B.indexOf(K);B.splice(G,1)})}}};J0.prototype.addToLibrarySearchPaths=function(D){var Z=A8(this.pbxXCBuildConfigurationSection()),Q='"$(inherited)"',Y,J,q;for(Y in Z){if(J=Z[Y].buildSettings,e2(J.PRODUCT_NAME)!=this.productName)continue;if(!J.LIBRARY_SEARCH_PATHS||J.LIBRARY_SEARCH_PATHS===Q)J.LIBRARY_SEARCH_PATHS=[Q];if(typeof D==="string")J.LIBRARY_SEARCH_PATHS.push(D);else J.LIBRARY_SEARCH_PATHS.push(u6(D,this))}};J0.prototype.removeFromHeaderSearchPaths=function(D){var Z=A8(this.pbxXCBuildConfigurationSection()),Q='"$(inherited)"',Y="HEADER_SEARCH_PATHS",J,q,B,H=u6(D,this);for(J in Z){if(q=Z[J].buildSettings,e2(q.PRODUCT_NAME)!=this.productName)continue;if(q[Y]){var V=q[Y].filter(function(K){return K.indexOf(H)>-1});V.forEach(function(K){var G=q[Y].indexOf(K);q[Y].splice(G,1)})}}};J0.prototype.addToHeaderSearchPaths=function(D){var Z=A8(this.pbxXCBuildConfigurationSection()),Q='"$(inherited)"',Y,J,q;for(Y in Z){if(J=Z[Y].buildSettings,e2(J.PRODUCT_NAME)!=this.productName)continue;if(!J.HEADER_SEARCH_PATHS)J.HEADER_SEARCH_PATHS=[Q];if(typeof D==="string")J.HEADER_SEARCH_PATHS.push(D);else J.HEADER_SEARCH_PATHS.push(u6(D,this))}};J0.prototype.addToOtherLinkerFlags=function(D){var Z=A8(this.pbxXCBuildConfigurationSection()),Q='"$(inherited)"',Y="OTHER_LDFLAGS",J,q;for(J in Z){if(q=Z[J].buildSettings,e2(q.PRODUCT_NAME)!=this.productName)continue;if(!q[Y]||q[Y]===Q)q[Y]=[Q];q[Y].push(D)}};J0.prototype.removeFromOtherLinkerFlags=function(D){var Z=A8(this.pbxXCBuildConfigurationSection()),Q="OTHER_LDFLAGS",Y,J;for(Y in Z){if(J=Z[Y].buildSettings,e2(J.PRODUCT_NAME)!=this.productName)continue;if(J[Q]){var q=J[Q].filter(function(B){return B.indexOf(D)>-1});q.forEach(function(B){var H=J[Q].indexOf(B);J[Q].splice(H,1)})}}};J0.prototype.addToBuildSettings=function(D,Z){var Q=A8(this.pbxXCBuildConfigurationSection()),Y,J;for(Y in Q)J=Q[Y].buildSettings,J[D]=Z};J0.prototype.removeFromBuildSettings=function(D){var Z=A8(this.pbxXCBuildConfigurationSection()),Q,Y;for(Q in Z)if(Y=Z[Q].buildSettings,Y[D])delete Y[D]};J0.prototype.__defineGetter__("productName",function(){var D=A8(this.pbxXCBuildConfigurationSection()),Z,Q;for(Z in D)if(Q=D[Z].buildSettings.PRODUCT_NAME,Q)return e2(Q)});J0.prototype.hasFile=function(D){var Z=A8(this.pbxFileReferenceSection()),Q,Y;for(Y in Z)if(Q=Z[Y],Q.path==D||Q.path=='"'+D+'"')return Q;return!1};J0.prototype.addTarget=function(D,Z,Q,Y){var J=this.generateUuid(),q=Z,B=Q||D,H=D.trim(),V=Y;if(!H)throw new Error("Target name missing.");if(!q)throw new Error("Target type missing.");if(!d3(q))throw new Error("Target type invalid: "+q);var K=[{name:"Debug",isa:"XCBuildConfiguration",buildSettings:{GCC_PREPROCESSOR_DEFINITIONS:['"DEBUG=1"','"$(inherited)"'],INFOPLIST_FILE:'"'+wD.join(B,B+'-Info.plist"'),LD_RUNPATH_SEARCH_PATHS:'"$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"',PRODUCT_NAME:'"'+H+'"',SKIP_INSTALL:"YES"}},{name:"Release",isa:"XCBuildConfiguration",buildSettings:{INFOPLIST_FILE:'"'+wD.join(B,B+'-Info.plist"'),LD_RUNPATH_SEARCH_PATHS:'"$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"',PRODUCT_NAME:'"'+H+'"',SKIP_INSTALL:"YES"}}];if(V)K=K.map((u)=>{return u.buildSettings.PRODUCT_BUNDLE_IDENTIFIER='"'+V+'"',u});var G=this.addXCConfigurationList(K,"Release",'Build configuration list for PBXNativeTarget "'+H+'"'),W=H,O=d3(q),F=b80(O),E=this.addProductFile(W,{group:"Copy Files",target:J,explicitFileType:F}),L=E.basename;this.addToPbxBuildFileSection(E);var j={uuid:J,pbxNativeTarget:{isa:"PBXNativeTarget",name:'"'+H+'"',productName:'"'+H+'"',productReference:E.fileRef,productType:'"'+d3(q)+'"',buildConfigurationList:G.uuid,buildPhases:[],buildRules:[],dependencies:[]}};if(this.addToPbxNativeTargetSection(j),q==="app_extension")this.addBuildPhase([],"PBXCopyFilesBuildPhase","Copy Files",this.getFirstTarget().uuid,q),this.addToPbxCopyfilesBuildPhase(E);else if(q==="watch2_app")this.addBuildPhase([H+".app"],"PBXCopyFilesBuildPhase","Embed Watch Content",this.getFirstTarget().uuid,q,'"$(CONTENTS_FOLDER_PATH)/Watch"');else if(q==="watch2_extension"){var P=this.getTarget(d3("watch2_app"));if(P)this.addBuildPhase([H+".appex"],"PBXCopyFilesBuildPhase","Embed App Extensions",P.uuid,q)}if(this.addToPbxProjectSection(j),q==="watch2_extension"){var P=this.getTarget(d3("watch2_app"));if(P)this.addTargetDependency(P.uuid,[j.uuid])}else this.addTargetDependency(this.getFirstTarget().uuid,[j.uuid]);return j};function N80(D){var Z=Object.create(null);if(Z.isa="PBXBuildFile",Z.fileRef=D.fileRef,Z.fileRef_comment=D.basename,D.settings)Z.settings=D.settings;return Z}function zS(D){var Z={isa:"PBXFileReference",name:'"'+D.basename+'"',path:'"'+D.path.replace(/\\/g,"/")+'"',sourceTree:D.sourceTree,fileEncoding:D.fileEncoding,lastKnownFileType:D.lastKnownFileType,explicitFileType:D.explicitFileType,includeInIndex:D.includeInIndex};return Z}function b5(D){var Z=Object.create(null);return Z.value=D.fileRef,Z.comment=D.basename,Z}function ED(D){var Z=Object.create(null);return Z.value=D.uuid,Z.comment=W7(D),Z}function P80(D,Z,Q,Y){var J={application:"wrapper",app_extension:"plugins",bundle:"wrapper",command_line_tool:"wrapper",dynamic_library:"products_directory",framework:"shared_frameworks",frameworks:"frameworks",static_library:"products_directory",unit_test_bundle:"wrapper",watch_app:"wrapper",watch2_app:"products_directory",watch_extension:"plugins",watch2_extension:"plugins"},q={absolute_path:0,executables:6,frameworks:10,java_resources:15,plugins:13,products_directory:16,resources:7,shared_frameworks:11,shared_support:12,wrapper:1,xpc_services:0};return D.name='"'+Y+'"',D.dstPath=Q||'""',D.dstSubfolderSpec=q[J[Z]],D}function S80(D,Z,Q){return D.name='"'+Q+'"',D.inputPaths=Z.inputPaths||[],D.outputPaths=Z.outputPaths||[],D.shellPath=Z.shellPath,D.shellScript='"'+Z.shellScript.replace(/"/g,"\\\"")+'"',D}function u80(D){return W7(D)}function v80(D){return D.basename||wD.basename(D.path)}function T80(D){return D.name}function W7(D){return U8("%s in %s",D.basename,D.group)}function WS(D,Z){return XS(D,Z,"Plugins")}function OS(D,Z){return XS(D,Z,"Resources")}function XS(D,Z,Q){var Y=new RegExp("^"+Q+"[\\\\/]");if(Z.pbxGroupByName(Q).path)D.path=D.path.replace(Y,"");return D}function u6(D,Z){var Q=Z.pbxGroupByName("Plugins"),Y=Q?Q.path:null,J=wD.dirname(D.path);if(J==".")J="";else J="/"+J;if(D.plugin&&Y)return'"\\"$(SRCROOT)/'+e2(Y)+'\\""';else if(D.customFramework&&D.dirname)return'"\\"'+D.dirname+'\\""';else return'"\\"$(SRCROOT)/'+Z.productName+J+'\\""'}function A8(D){var Z=Object.keys(D),Q={},Y=0;for(Y;Y<Z.length;Y++)if(!K5.test(Z[Y]))Q[Z[Y]]=D[Z[Y]];return Q}function e2(D){if(D)return D.replace(/^"(.*)"$/,"$1")}function d3(D){return PRODUCTTYPE_BY_TARGETTYPE={application:"com.apple.product-type.application",app_extension:"com.apple.product-type.app-extension",bundle:"com.apple.product-type.bundle",command_line_tool:"com.apple.product-type.tool",dynamic_library:"com.apple.product-type.library.dynamic",framework:"com.apple.product-type.framework",static_library:"com.apple.product-type.library.static",unit_test_bundle:"com.apple.product-type.bundle.unit-test",watch_app:"com.apple.product-type.application.watchapp",watch2_app:"com.apple.product-type.application.watchapp2",watch_extension:"com.apple.product-type.watchkit-extension",watch2_extension:"com.apple.product-type.watchkit2-extension"},PRODUCTTYPE_BY_TARGETTYPE[D]}function b80(D){return FILETYPE_BY_PRODUCTTYPE={"com.apple.product-type.application":'"wrapper.application"',"com.apple.product-type.app-extension":'"wrapper.app-extension"',"com.apple.product-type.bundle":'"wrapper.plug-in"',"com.apple.product-type.tool":'"compiled.mach-o.dylib"',"com.apple.product-type.library.dynamic":'"compiled.mach-o.dylib"',"com.apple.product-type.framework":'"wrapper.framework"',"com.apple.product-type.library.static":'"archive.ar"',"com.apple.product-type.bundle.unit-test":'"wrapper.cfbundle"',"com.apple.product-type.application.watchapp":'"wrapper.application"',"com.apple.product-type.application.watchapp2":'"wrapper.application"',"com.apple.product-type.watchkit-extension":'"wrapper.app-extension"',"com.apple.product-type.watchkit2-extension":'"wrapper.app-extension"'},FILETYPE_BY_PRODUCTTYPE[D]}J0.prototype.getFirstProject=function(){var D=this.pbxProjectSection(),Z=Object.keys(D)[0],Q=D[Z];return{uuid:Z,firstProject:Q}};J0.prototype.getFirstTarget=function(){var D=this.getFirstProject().firstProject.targets[0].value,Z=this.pbxNativeTargetSection()[D];return{uuid:D,firstTarget:Z}};J0.prototype.getTarget=function(D){var Z=this.getFirstProject().firstProject.targets,Q=this.pbxNativeTargetSection();for(var Y=0;Y<Z.length;Y++){var J=Z[Y],q=J.value;if(Q[q].productType==='"'+D+'"'){var B=this.pbxNativeTargetSection()[q];return{uuid:q,target:B}}}return null};J0.prototype.addToPbxGroupType=function(D,Z,Q){var Y=this.getPBXGroupByKeyAndType(Z,Q);if(Y&&Y.children!==void 0)if(typeof D==="string"){var J={value:D};if(this.getPBXGroupByKey(D))J.comment=this.getPBXGroupByKey(D).name;else if(this.getPBXVariantGroupByKey(D))J.comment=this.getPBXVariantGroupByKey(D).name;Y.children.push(J)}else Y.children.push(b5(D))};J0.prototype.addToPbxVariantGroup=function(D,Z){this.addToPbxGroupType(D,Z,"PBXVariantGroup")};J0.prototype.addToPbxGroup=function(D,Z){this.addToPbxGroupType(D,Z,"PBXGroup")};J0.prototype.pbxCreateGroupWithType=function(D,Z,Q){var Y={isa:'"'+Q+'"',children:[],name:D,sourceTree:'"<group>"'};if(Z)Y.path=Z;var J=this.generateUuid(),q=J+"_comment",B=this.hash.project.objects[Q];if(!B)B=this.hash.project.objects[Q]=new Object;return B[q]=D,B[J]=Y,J};J0.prototype.pbxCreateVariantGroup=function(D){return this.pbxCreateGroupWithType(D,void 0,"PBXVariantGroup")};J0.prototype.pbxCreateGroup=function(D,Z){return this.pbxCreateGroupWithType(D,Z,"PBXGroup")};J0.prototype.removeFromPbxGroupAndType=function(D,Z,Q){var Y=this.getPBXGroupByKeyAndType(Z,Q);if(Y){var J=Y.children,q;for(q in J)if(b5(D).value==J[q].value&&b5(D).comment==J[q].comment){J.splice(q,1);break}}};J0.prototype.removeFromPbxGroup=function(D,Z){this.removeFromPbxGroupAndType(D,Z,"PBXGroup")};J0.prototype.removeFromPbxVariantGroup=function(D,Z){this.removeFromPbxGroupAndType(D,Z,"PBXVariantGroup")};J0.prototype.getPBXGroupByKeyAndType=function(D,Z){return this.hash.project.objects[Z][D]};J0.prototype.getPBXGroupByKey=function(D){return this.hash.project.objects.PBXGroup[D]};J0.prototype.getPBXVariantGroupByKey=function(D){return this.hash.project.objects.PBXVariantGroup[D]};J0.prototype.findPBXGroupKeyAndType=function(D,Z){var Q=this.hash.project.objects[Z],Y;for(var J in Q){if(K5.test(J))continue;var q=Q[J];if(D&&D.path&&D.name){if(D.path===q.path&&D.name===q.name){Y=J;break}}else if(D&&D.path){if(D.path===q.path){Y=J;break}}else if(D&&D.name){if(D.name===q.name){Y=J;break}}}return Y};J0.prototype.findPBXGroupKey=function(D){return this.findPBXGroupKeyAndType(D,"PBXGroup")};J0.prototype.findPBXVariantGroupKey=function(D){return this.findPBXGroupKeyAndType(D,"PBXVariantGroup")};J0.prototype.addLocalizationVariantGroup=function(D){var Z=this.pbxCreateVariantGroup(D),Q=this.findPBXGroupKey({name:"Resources"});this.addToPbxGroup(Z,Q);var Y={uuid:this.generateUuid(),fileRef:Z,basename:D};return this.addToPbxBuildFileSection(Y),this.addToPbxResourcesBuildPhase(Y),Y};J0.prototype.addKnownRegion=function(D){if(!this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions)this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions=[];if(!this.hasKnownRegion(D))this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions.push(D)};J0.prototype.removeKnownRegion=function(D){var Z=this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions;if(Z){for(var Q=0;Q<Z.length;Q++)if(Z[Q]===D){Z.splice(Q,1);break}this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions=Z}};J0.prototype.hasKnownRegion=function(D){var Z=this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions;if(Z){for(var Q in Z)if(Z[Q]===D)return!0}return!1};J0.prototype.getPBXObject=function(D){return this.hash.project.objects[D]};J0.prototype.addFile=function(D,Z,Q){var Y=new U5(D,Q);if(this.hasFile(Y.path))return null;if(Y.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(Y),this.getPBXGroupByKey(Z))this.addToPbxGroup(Y,Z);else if(this.getPBXVariantGroupByKey(Z))this.addToPbxVariantGroup(Y,Z);return Y};J0.prototype.removeFile=function(D,Z,Q){var Y=new U5(D,Q);if(this.removeFromPbxFileReferenceSection(Y),this.getPBXGroupByKey(Z))this.removeFromPbxGroup(Y,Z);else if(this.getPBXVariantGroupByKey(Z))this.removeFromPbxVariantGroup(Y,Z);return Y};J0.prototype.getBuildProperty=function(D,Z,Q){var Y;let J=[];if(Q){let V=this.pbxTargetByName(Q),K=V&&V.buildConfigurationList,G=this.pbxXCConfigurationList();for(let W in G)if(!K5.test(W)&&K===W){let O=G[W].buildConfigurations;for(let F of O)J.push(F.value);break}}var q=this.pbxXCBuildConfigurationSection();for(var B in q)if(!K5.test(B)){if(Q&&!J.includes(B))continue;var H=q[B];if(Z&&H.name===Z||Z===void 0){if(H.buildSettings[D]!==void 0)Y=H.buildSettings[D]}}return Y};J0.prototype.getBuildConfigByName=function(D){var Z={},Q=this.pbxXCBuildConfigurationSection();for(var Y in Q)if(!K5.test(Y)){var J=Q[Y];if(J.name===D)Z[Y]=J}return Z};J0.prototype.addDataModelDocument=function(D,Z,Q){if(!Z)Z="Resources";if(!this.getPBXGroupByKey(Z))Z=this.findPBXGroupKey({name:Z});var Y=new U5(D,Q);if(!Y||this.hasFile(Y.path))return null;if(Y.fileRef=this.generateUuid(),this.addToPbxGroup(Y,Z),!Y)return!1;Y.target=Q?Q.target:void 0,Y.uuid=this.generateUuid(),this.addToPbxBuildFileSection(Y),this.addToPbxSourcesBuildPhase(Y),Y.models=[];var J,q=GS.readdirSync(Y.path);for(var B in q){var H=q[B],V=wD.join(D,H);if(H==".xccurrentversion"){J=j80.readFileSync(V)._XCCurrentVersionName;continue}var K=new U5(V);if(K.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(K),Y.models.push(K),J&&J===H)Y.currentModel=K}if(!Y.currentModel)Y.currentModel=Y.models[0];return this.addToXcVersionGroupSection(Y),Y};J0.prototype.addTargetAttribute=function(D,Z,Q){var Y=this.getFirstProject().firstProject.attributes;if(Y.TargetAttributes===void 0)Y.TargetAttributes={};if(Q=Q||this.getFirstTarget(),Y.TargetAttributes[Q.uuid]===void 0)Y.TargetAttributes[Q.uuid]={};Y.TargetAttributes[Q.uuid][D]=Z};J0.prototype.removeTargetAttribute=function(D,Z){var Q=this.getFirstProject().firstProject.attributes;if(Z=Z||this.getFirstTarget(),Q.TargetAttributes&&Q.TargetAttributes[Z.uuid])delete Q.TargetAttributes[Z.uuid][D]};FS.exports=J0});var v6=M((US)=>{US.project=kz()});var O7=M((fz)=>{Object.defineProperty(fz,"__esModule",{value:!0});fz.trimQuotes=h80;function h80(D){return D&&D[0]==='"'&&D[D.length-1]==='"'?D.slice(1,-1):D}});var $S=M((AQ0,AS)=>{AS.exports=(D)=>{let Z=/^\\\\\?\\/.test(D),Q=/[^\u0000-\u0080]+/.test(D);if(Z||Q)return D;return D.replace(/\\/g,"/")}});var mz=M((T6)=>{Object.defineProperty(T6,"__esModule",{value:!0});T6.getApplicationTargetNameForSchemeAsync=y80;T6.getArchiveBuildConfigurationForSchemeAsync=f80;T6.getRunnableSchemesFromXcodeproj=k80;T6.getSchemesFromXcodeproj=_80;function xz(){let D=X7();return xz=function(){return D},D}function sJ(){let D=v9();return sJ=function(){return D},D}function l3(){let D=x5();return l3=function(){return D},D}function wS(){let D=J7();return wS=function(){return D},D}function _80(D){return xz().findSchemeNames(D)}function k80(D,{configuration:Z="Debug"}={}){let Q=l3().getPbxproj(D);return sJ().findSignableTargets(Q).map(([,Y])=>{let J="iOS",q=l3().unquote(Y.productType);if(q===sJ().TargetType.WATCH)J="watchOS";else if(q.startsWith(sJ().TargetType.APPLICATION)){let B=Q.hash.project.objects.XCConfigurationList[Y.buildConfigurationList];if(B){let H=B.buildConfigurations.find((V)=>V.comment===Z)||B.buildConfigurations[0];if(H?.value){let V=Q.hash.project.objects.XCBuildConfiguration?.[H.value],K=V.buildSettings.SDKROOT;if(K==="appletvos"||"TVOS_DEPLOYMENT_TARGET"in V.buildSettings)J="tvOS";else if(K==="iphoneos")J="iOS"}}}return{name:l3().unquote(Y.name),osType:J,type:l3().unquote(Y.productType)}})}async function LS(D,Z){let Q=xz().findSchemePaths(D),Y=new RegExp(`[\\\\/]${Z}.xcscheme`,"i"),J=Q.find((q)=>Y.exec(q));if(J)return await wS().readXMLAsync({path:J});else throw new Error(`scheme '${Z}' does not exist, make sure it's marked as shared`)}async function y80(D,Z){let Y=(await LS(D,Z))?.Scheme?.BuildAction?.[0]?.BuildActionEntries?.[0]?.BuildActionEntry,J=Y?.length===1?ES(Y[0]):ES(Y?.find((q)=>{return q.BuildableReference?.[0]?.$?.BuildableName?.endsWith(".app")}));if(!J)throw new Error(`${Z}.xcscheme seems to be corrupted`);return J}async function f80(D,Z){let Y=(await LS(D,Z))?.Scheme?.ArchiveAction?.[0]?.$?.buildConfiguration;if(!Y)throw new Error(`${Z}.xcscheme seems to be corrupted`);return Y}function ES(D){return D?.BuildableReference?.[0]?.$?.BlueprintName}});var v9=M((S2)=>{Object.defineProperty(S2,"__esModule",{value:!0});S2.TargetType=void 0;S2.findApplicationTargetWithDependenciesAsync=m80;S2.findFirstNativeTarget=MS;S2.findNativeTargetByName=gz;S2.findSignableTargets=g80;S2.getNativeTargets=n3;S2.getXCBuildConfigurationFromPbxproj=x80;S2.isTargetOfType=p3;function CS(){let D=mz();return CS=function(){return D},D}function aJ(){let D=x5();return aJ=function(){return D},D}function i3(){let D=O7();return i3=function(){return D},D}var P2=S2.TargetType=function(D){return D.APPLICATION="com.apple.product-type.application",D.EXTENSION="com.apple.product-type.app-extension",D.WATCH="com.apple.product-type.application.watchapp",D.APP_CLIP="com.apple.product-type.application.on-demand-install-capable",D.STICKER_PACK_EXTENSION="com.apple.product-type.app-extension.messages-sticker-pack",D.FRAMEWORK="com.apple.product-type.framework",D.OTHER="other",D}({});function x80(D,{targetName:Z,buildConfiguration:Q="Release"}={}){let[,Y]=Z?gz(D,Z):MS(D),[,J]=aJ().getBuildConfigurationForListIdAndName(D,{configurationListId:Y.buildConfigurationList,buildConfiguration:Q});return J??null}async function m80(D,Z){let Q=await CS().getApplicationTargetNameForSchemeAsync(D,Z),Y=aJ().getPbxproj(D),[,J]=gz(Y,Q),q=RS(Y,J);return{name:i3().trimQuotes(J.name),type:P2.APPLICATION,signable:!0,dependencies:q}}function RS(D,Z){if(!Z.dependencies||Z.dependencies.length===0)return;let Q=[P2.FRAMEWORK];return Z.dependencies.map(({value:Y})=>{let{target:J}=D.getPBXGroupByKeyAndType(Y,"PBXTargetDependency"),[,q]=c80(D,J),B=p3(q,P2.EXTENSION)?P2.EXTENSION:P2.OTHER;return{name:i3().trimQuotes(q.name),type:B,signable:!Q.some((H)=>p3(q,H)),dependencies:RS(D,q)}})}function p3(D,Z){return i3().trimQuotes(D.productType)===Z}function n3(D){let Z=D.pbxNativeTargetSection();return Object.entries(Z).filter(aJ().isNotComment)}function g80(D){let Z=n3(D),Q=[P2.APPLICATION,P2.APP_CLIP,P2.EXTENSION,P2.WATCH,P2.STICKER_PACK_EXTENSION],Y=Z.filter(([,J])=>{for(let q of Q)if(p3(J,q))return!0;return!1});if(Y.length===0)throw new Error("Could not find any signable targets in project.pbxproj");return Y}function MS(D){let Q=n3(D).filter(([,Y])=>p3(Y,P2.APPLICATION));if(Q.length===0)throw new Error("Could not find any application target in project.pbxproj");return Q[0]}function gz(D,Z){let Y=n3(D).find(([,J])=>i3().trimQuotes(J.name)===Z);if(!Y)throw new Error(`Could not find target '${Z}' in project.pbxproj`);return Y}function c80(D,Z){let Y=n3(D).find(([J])=>J===Z);if(!Y)throw new Error(`Could not find target with id '${Z}' in project.pbxproj`);return Y}});var tJ=M((A7)=>{Object.defineProperty(A7,"__esModule",{value:!0});A7.ensureApplicationTargetEntitlementsFileConfigured=l80;A7.getEntitlementsPath=d80;A7.setAssociatedDomains=PS;A7.withAssociatedDomains=void 0;function F7(){let D=dz(require("fs"));return F7=function(){return D},D}function U7(){let D=dz(require("path"));return U7=function(){return D},D}function IS(){let D=dz($S());return IS=function(){return D},D}function cz(){let D=v9();return cz=function(){return D},D}function b6(){let D=x5();return b6=function(){return D},D}function jS(){let D=O7();return jS=function(){return D},D}function NS(){let D=V5();return NS=function(){return D},D}function dz(D){return D&&D.__esModule?D:{default:D}}var wQ0=A7.withAssociatedDomains=NS().createEntitlementsPlugin(PS,"withAssociatedDomains");function PS(D,{"com.apple.developer.associated-domains":Z,...Q}){if(D.ios?.associatedDomains)return{...Q,"com.apple.developer.associated-domains":D.ios.associatedDomains};return Q}function d80(D,{targetName:Z,buildConfiguration:Q="Release"}={}){let Y=b6().getPbxproj(D),J=cz().getXCBuildConfigurationFromPbxproj(Y,{targetName:Z,buildConfiguration:Q});if(!J)return null;let q=SS(D,J);return q&&F7().default.existsSync(q)?q:null}function SS(D,Z){let Q=Z?.buildSettings?.CODE_SIGN_ENTITLEMENTS;if(Q)return U7().default.normalize(U7().default.join(D,"ios",jS().trimQuotes(Q)));else return null}function l80(D){let Z=b6().getPbxproj(D),Q=b6().getProjectName(D),Y=b6().getProductName(Z),[,J]=cz().findFirstNativeTarget(Z),q=b6().getBuildConfigurationsForListId(Z,J.buildConfigurationList),B=!1;for(let[,H]of q){let V=SS(D,H);if(V&&F7().default.existsSync(V))return;B=!0;let K=IS().default(U7().default.join(Q,`${Y}.entitlements`)),G=U7().default.normalize(U7().default.join(D,"ios",K));if(F7().default.mkdirSync(U7().default.dirname(G),{recursive:!0}),!F7().default.existsSync(G))F7().default.writeFileSync(G,p80);H.buildSettings.CODE_SIGN_ENTITLEMENTS=K}if(B)F7().default.writeFileSync(Z.filepath,Z.writeSync())}var p80=`
|
|
319
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
320
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
321
|
+
<plist version="1.0">
|
|
322
|
+
<dict>
|
|
323
|
+
</dict>
|
|
324
|
+
</plist>
|
|
325
|
+
`});var uS=M((lz)=>{Object.defineProperty(lz,"__esModule",{value:!0});lz.withSortedGlobResult=i80;function i80(D){return D.sort((Z,Q)=>Z.localeCompare(Q))}});var X7=M((G5)=>{Object.defineProperty(G5,"__esModule",{value:!0});G5.findSchemeNames=t80;G5.findSchemePaths=xS;G5.getAllEntitlementsPaths=Z20;G5.getAllInfoPlistPaths=gS;G5.getAllPBXProjectPaths=mS;G5.getAllXcodeProjectPaths=iz;G5.getAppDelegate=yS;G5.getAppDelegateFilePath=_S;G5.getAppDelegateHeaderFilePath=n80;G5.getAppDelegateObjcHeaderFilePath=r80;G5.getEntitlementsPath=Q20;G5.getExpoPlistPath=Y20;G5.getFileInfo=kS;G5.getInfoPlistPath=D20;G5.getPBXProjectPath=e80;G5.getPodfilePath=s80;G5.getSourceRoot=fS;G5.getSupportingPath=cS;G5.getXcodeProjectPath=o80;function pz(){let D=require("fs");return pz=function(){return D},D}function T9(){let D=b4();return T9=function(){return D},D}function a5(){let D=hS(require("path"));return a5=function(){return D},D}function vS(){let D=hS(tJ());return vS=function(){return D},D}function b9(){let D=OD();return b9=function(){return D},D}function LD(){let D=uS();return LD=function(){return D},D}function TS(){let D=v5();return TS=function(){return D},D}function bS(D){if(typeof WeakMap!="function")return null;var Z=new WeakMap,Q=new WeakMap;return(bS=function(Y){return Y?Q:Z})(D)}function hS(D,Z){if(!Z&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var Q=bS(Z);if(Q&&Q.has(D))return Q.get(D);var Y={__proto__:null},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in D)if(q!=="default"&&{}.hasOwnProperty.call(D,q)){var B=J?Object.getOwnPropertyDescriptor(D,q):null;B&&(B.get||B.set)?Object.defineProperty(Y,q,B):Y[q]=D[q]}return Y.default=D,Q&&Q.set(D,Y),Y}var CD=["**/@(Carthage|Pods|vendor|node_modules)/**"];function n80(D){let[Z,...Q]=LD().withSortedGlobResult(T9().globSync("ios/*/AppDelegate.h",{absolute:!0,cwd:D,ignore:CD}));if(!Z)throw new(b9()).UnexpectedError(`Could not locate a valid AppDelegate header at root: "${D}"`);if(Q.length)$7({tag:"app-delegate-header",fileName:"AppDelegate",projectRoot:D,using:Z,extra:Q});return Z}function _S(D){let[Z,...Q]=LD().withSortedGlobResult(T9().globSync("ios/*/AppDelegate.@(m|mm|swift)",{absolute:!0,cwd:D,ignore:CD}));if(!Z)throw new(b9()).UnexpectedError(`Could not locate a valid AppDelegate at root: "${D}"`);if(Q.length)$7({tag:"app-delegate",fileName:"AppDelegate",projectRoot:D,using:Z,extra:Q});return Z}function r80(D){let[Z,...Q]=LD().withSortedGlobResult(T9().globSync("ios/*/AppDelegate.h",{absolute:!0,cwd:D,ignore:CD}));if(!Z)throw new(b9()).UnexpectedError(`Could not locate a valid AppDelegate.h at root: "${D}"`);if(Q.length)$7({tag:"app-delegate-objc-header",fileName:"AppDelegate.h",projectRoot:D,using:Z,extra:Q});return Z}function s80(D){let[Z,...Q]=LD().withSortedGlobResult(T9().globSync("ios/Podfile",{absolute:!0,cwd:D,ignore:CD}));if(!Z)throw new(b9()).UnexpectedError(`Could not locate a valid Podfile at root: "${D}"`);if(Q.length)$7({tag:"podfile",fileName:"Podfile",projectRoot:D,using:Z,extra:Q});return Z}function a80(D){let Z=a5().extname(D);if(!Z&&a5().basename(D)==="Podfile")return"rb";switch(Z){case".mm":return"objcpp";case".m":case".h":return"objc";case".swift":return"swift";default:throw new(b9()).UnexpectedError(`Unexpected iOS file extension: ${Z}`)}}function kS(D){return{path:a5().normalize(D),contents:pz().readFileSync(D,"utf8"),language:a80(D)}}function yS(D){let Z=_S(D);return kS(Z)}function fS(D){let Z=yS(D);return a5().dirname(Z.path)}function xS(D){return LD().withSortedGlobResult(T9().globSync("ios/*.xcodeproj/xcshareddata/xcschemes/*.xcscheme",{absolute:!0,cwd:D,ignore:CD}))}function t80(D){return xS(D).map((Q)=>a5().parse(Q).name)}function iz(D){let Q=LD().withSortedGlobResult(T9().globSync("ios/**/*.xcodeproj",{cwd:D,ignore:CD}).map((Y)=>Y.replace(/^\//,"")).filter((Y)=>!/test|example|sample/i.test(Y)||a5().dirname(Y)==="ios")).sort((Y,J)=>{let q=a5().dirname(Y)==="ios",B=a5().dirname(J)==="ios";if(q&&B||!q&&!B)return 0;return q?-1:1});if(!Q.length)throw new(b9()).UnexpectedError(`Failed to locate the ios/*.xcodeproj files relative to path "${D}".`);return Q.map((Y)=>a5().join(D,Y))}function o80(D){let[Z,...Q]=iz(D);if(Q.length)$7({tag:"xcodeproj",fileName:"*.xcodeproj",projectRoot:D,using:Z,extra:Q});return Z}function mS(D){let Q=iz(D).map((Y)=>a5().join(Y,"project.pbxproj")).filter((Y)=>pz().existsSync(Y));if(!Q.length)throw new(b9()).UnexpectedError(`Failed to locate the ios/*.xcodeproj/project.pbxproj files relative to path "${D}".`);return Q}function e80(D){let[Z,...Q]=mS(D);if(Q.length)$7({tag:"project-pbxproj",fileName:"project.pbxproj",projectRoot:D,using:Z,extra:Q});return Z}function gS(D){let Z=LD().withSortedGlobResult(T9().globSync("ios/*/Info.plist",{absolute:!0,cwd:D,ignore:CD})).sort((Q,Y)=>Q.length-Y.length);if(!Z.length)throw new(b9()).UnexpectedError(`Failed to locate Info.plist files relative to path "${D}".`);return Z}function D20(D){let[Z,...Q]=gS(D);if(Q.length)$7({tag:"info-plist",fileName:"Info.plist",projectRoot:D,using:Z,extra:Q});return Z}function Z20(D){return T9().globSync("ios/*/*.entitlements",{absolute:!0,cwd:D,ignore:CD})}function Q20(D){return vS().getEntitlementsPath(D)}function cS(D){return a5().resolve(D,"ios",a5().basename(fS(D)),"Supporting")}function Y20(D){let Z=cS(D);return a5().join(Z,"Expo.plist")}function $7({tag:D,fileName:Z,projectRoot:Q,using:Y,extra:J}){let q=Q?a5().relative(Q,Y):Y,B=Q?J.map((H)=>a5().relative(Q,H)):J;TS().addWarningIOS(`paths-${D}`,`Found multiple ${Z} file paths, using "${q}". Ignored paths: ${JSON.stringify(B)}`)}});var x5=M((o1)=>{Object.defineProperty(o1,"__esModule",{value:!0});o1.addBuildSourceFileToGroup=K20;o1.addFileToGroupAndLink=rz;o1.addFramework=G20;o1.addResourceFileToGroup=V20;o1.ensureGroupRecursively=X20;o1.getApplicationNativeTarget=oS;o1.getBuildConfigurationForListIdAndName=A20;o1.getBuildConfigurationsForListId=Qu;o1.getHackyProjectName=B20;o1.getPbxproj=Du;o1.getProductName=F20;o1.getProjectName=aS;o1.getProjectSection=U20;o1.getXCConfigurationListEntries=Zu;o1.isBuildConfig=Yu;o1.isNotComment=sz;o1.isNotTestHost=$20;o1.resolvePathOrProject=q20;o1.resolveXcodeBuildSetting=oJ;o1.sanitizedName=tS;o1.unquote=E20;function eJ(){let D=r3(require("assert"));return eJ=function(){return D},D}function E7(){let D=r3(require("path"));return E7=function(){return D},D}function lS(){let D=r3(xH());return lS=function(){return D},D}function pS(){let D=r3(v6());return pS=function(){return D},D}function iS(){let D=r3(yz());return iS=function(){return D},D}function nS(){let D=O7();return nS=function(){return D},D}function rS(){let D=v5();return rS=function(){return D},D}function nz(){let D=J20(X7());return nz=function(){return D},D}function sS(D){if(typeof WeakMap!="function")return null;var Z=new WeakMap,Q=new WeakMap;return(sS=function(Y){return Y?Q:Z})(D)}function J20(D,Z){if(!Z&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var Q=sS(Z);if(Q&&Q.has(D))return Q.get(D);var Y={__proto__:null},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in D)if(q!=="default"&&{}.hasOwnProperty.call(D,q)){var B=J?Object.getOwnPropertyDescriptor(D,q):null;B&&(B.get||B.set)?Object.defineProperty(Y,q,B):Y[q]=D[q]}return Y.default=D,Q&&Q.set(D,Y),Y}function r3(D){return D&&D.__esModule?D:{default:D}}function aS(D){let Z=nz().getSourceRoot(D);return E7().default.basename(Z)}function q20(D){if(typeof D==="string")try{return Du(D)}catch{return null}return D}function tS(D){return dS(D)||dS(lS().default(D))||"app"}function dS(D){return D.replace(/[\W_]+/g,"").normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function B20(D,Z){try{return aS(D)}catch{let Q=Z.name;return eJ().default(Q,"Your project needs a name in app.json/app.config.js."),tS(Q)}}function H20({filepath:D,group:Z}){let Q=new(iS()).default(D);if(Z.children.find((J)=>J.comment===Q.basename))return null;return Q}function V20({filepath:D,groupName:Z,isBuildFile:Q,project:Y,verbose:J,targetUuid:q}){return rz({filepath:D,groupName:Z,project:Y,verbose:J,targetUuid:q,addFileToProject({project:B,file:H}){if(B.addToPbxFileReferenceSection(H),Q)B.addToPbxBuildFileSection(H);B.addToPbxResourcesBuildPhase(H)}})}function K20({filepath:D,groupName:Z,project:Q,verbose:Y,targetUuid:J}){return rz({filepath:D,groupName:Z,project:Q,verbose:Y,targetUuid:J,addFileToProject({project:q,file:B}){q.addToPbxFileReferenceSection(B),q.addToPbxBuildFileSection(B),q.addToPbxSourcesBuildPhase(B)}})}function rz({filepath:D,groupName:Z,project:Q,verbose:Y,addFileToProject:J,targetUuid:q}){let B=O20(Q,Z),H=H20({filepath:D,group:B});if(!H){if(Y)rS().addWarningIOS("ios-xcode-project",`Skipped adding duplicate file "${D}" to PBXGroup named "${Z}"`);return Q}if(q!=null)H.target=q;else{let V=Q.getTarget("com.apple.product-type.application");H.target=V?.uuid}return H.uuid=Q.generateUuid(),H.fileRef=Q.generateUuid(),J({project:Q,file:H}),B.children.push({value:H.fileRef,comment:H.basename}),Q}function oS({project:D,projectName:Z}){let Q=D.getTarget("com.apple.product-type.application");return eJ().default(Q,"Couldn't locate application PBXNativeTarget in '.xcodeproj' file."),eJ().default(String(Q.target.name)===Z,`Application native target name mismatch. Expected ${Z}, but found ${Q.target.name}.`),Q}function G20({project:D,projectName:Z,framework:Q}){let Y=oS({project:D,projectName:Z});return D.addFramework(Q,{target:Y.uuid})}function eS(D){return D.split("/")}var z20=(D,Z)=>{if(!D)return;return D.children.find((Q)=>Q.comment===Z)};function W20(D,Z,Q){let Y=z20(Z,Q);if(Y)return D.getPBXGroupByKey(Y.value)??null;return null}function O20(D,Z){let{firstProject:Q}=D.getFirstProject(),Y=D.getPBXGroupByKey(Q.mainGroup),J=eS(Z);for(let q of J){let B=W20(D,Y,q);if(B)Y=B;else break}if(!Y)throw Error(`Xcode PBXGroup with name "${Z}" could not be found in the Xcode project.`);return Y}function X20(D,Z){let Q=eS(Z),Y=(B,H)=>B.children.find(({comment:V})=>V===H),{firstProject:J}=D.getFirstProject(),q=D.getPBXGroupByKey(J.mainGroup);for(let B of Q){if(q&&!Y(q,B))q.children.push({comment:B,value:D.pbxCreateGroup(B,'""')});q=D.pbxGroupByName(B)}return q??null}function Du(D){let Z=nz().getPBXProjectPath(D),Q=pS().default.project(Z);return Q.parseSync(),Q}function F20(D){let Z="$(TARGET_NAME)";try{Z=D.productName}catch{}if(Z==="$(TARGET_NAME)")Z=D.getFirstTarget()?.firstTarget?.productName??Z;return Z}function U20(D){return D.pbxProjectSection()}function Zu(D){let Z=D.pbxXCConfigurationList();return Object.entries(Z).filter(sz)}function Qu(D,Z){let Q=Zu(D),[,Y]=Q.find(([q])=>q===Z),J=Y.buildConfigurations.map((q)=>q.value);return Object.entries(D.pbxXCBuildConfigurationSection()).filter(sz).filter(Yu).filter(([q])=>J.includes(q))}function A20(D,{configurationListId:Z,buildConfiguration:Q}){let Y=Qu(D,Z).find((J)=>nS().trimQuotes(J[1].name)===Q);if(!Y)throw new Error(`Build configuration '${Q}' does not exist in list with id '${Z}'`);return Y}function Yu([,D]){return D.isa==="XCBuildConfiguration"}function $20([,D]){return!D.buildSettings.TEST_HOST}function sz([D]){return!D.endsWith("_comment")}function E20(D){if(typeof D==="number")D=String(D);return D.match(/^"(.*)"$/)?.[1]??D}function oJ(D,Z){let Q=D?.replace(/\$\(([^()]*|\([^)]*\))\)/g,(Y)=>{let[J,...q]=Y.slice(2,-1).split(":"),B=Z(J);if(B)B=oJ(B,Z);let H=B;return q.forEach((V)=>{switch(V){case"lower":H=H?.toLowerCase();break;case"upper":H=H?.toUpperCase();break;case"suffix":if(H)H=E7().default.extname(H);break;case"file":if(H)H=E7().default.basename(H);break;case"dir":if(H)H=E7().default.dirname(H);break;case"base":if(H){let K=E7().default.basename(H),G=K.lastIndexOf(".");H=G===-1?K:K.slice(0,G)}break;case"rfc1034identifier":H=H?.replace(/[^a-zA-Z0-9]/g,"-");break;case"c99extidentifier":H=H?.replace(/[-\s]/g,"_");break;case"standardizepath":if(H)H=E7().default.resolve(H);break;default:H||=V.match(/default=(.*)/)?.[1];break}}),oJ(H??"",Z)});if(Q!==D)return oJ(Q,Z);return D}});var Vu=M((h9)=>{Object.defineProperty(h9,"__esModule",{value:!0});h9.getBitcode=Bu;h9.setBitcode=tz;h9.setBitcodeWithConfig=Hu;h9.withCustomBitcode=h9.withBitcode=void 0;function Ju(){let D=x5();return Ju=function(){return D},D}function az(){let D=V5();return az=function(){return D},D}function qu(){let D=v5();return qu=function(){return D},D}var w20=(D)=>{return az().withXcodeProject(D,async(Z)=>{return Z.modResults=await Hu(Z,{project:Z.modResults}),Z})};h9.withBitcode=w20;var L20=(D,Z)=>{return az().withXcodeProject(D,async(Q)=>{return Q.modResults=await tz(Z,{project:Q.modResults}),Q})};h9.withCustomBitcode=L20;function Bu(D){return D.ios?.bitcode}function Hu(D,{project:Z}){let Q=Bu(D);return tz(Q,{project:Z})}function tz(D,{project:Z}){if(D==null)return Z;let Y=typeof D==="string"?D:void 0,J=!!D;if(Y){let q=Object.entries(Z.pbxXCBuildConfigurationSection()).filter(Ju().isNotComment);if(q.find(([,H])=>H.name===Y))Z.addBuildProperty("ENABLE_BITCODE","NO");else{let H=[...new Set(q.map(([,V])=>`"${V.name}"`))].sort();qu().addWarningIOS("ios.bitcode",`No configuration named "${Y}". Expected one of: ${H.join(", ")}.`)}}return Z.addBuildProperty("ENABLE_BITCODE",J?"YES":"NO",Y),Z}});var ez=M((_9)=>{Object.defineProperty(_9,"__esModule",{value:!0});_9.createBuildPodfilePropsConfigPlugin=oz;_9.updateIosBuildPropertiesFromConfig=Gu;_9.updateIosBuildProperty=zu;_9.withNewArchEnabledPodfileProps=_9.withJsEnginePodfileProps=void 0;function Ku(){let D=V5();return Ku=function(){return D},D}function oz(D,Z){let Q=(Y,J)=>Ku().withPodfileProperties(Y,(q)=>{return q.modResults=Gu(J??q,q.modResults,D),q});if(Z)Object.defineProperty(Q,"name",{value:Z});return Q}var jQ0=_9.withJsEnginePodfileProps=oz([{propName:"expo.jsEngine",propValueGetter:(D)=>D.ios?.jsEngine??D.jsEngine??"hermes"}],"withJsEnginePodfileProps"),NQ0=_9.withNewArchEnabledPodfileProps=oz([{propName:"newArchEnabled",propValueGetter:(D)=>(D.ios?.newArchEnabled??D.newArchEnabled)?.toString()}],"withNewArchEnabledPodfileProps");function Gu(D,Z,Q){for(let Y of Q){let J=Y.propValueGetter(D);zu(Z,Y.propName,J)}return Z}function zu(D,Z,Q,Y){if(Q)D[Z]=Q;else if(Y?.removePropWhenValueIsNull)delete D[Z];return D}});var Ou=M((Dq)=>{Dq.byteLength=R20;Dq.toByteArray=I20;Dq.fromByteArray=P20;var D9=[],V2=[],C20=typeof Uint8Array!=="undefined"?Uint8Array:Array,DW="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(RD=0,ZW=DW.length;RD<ZW;++RD)D9[RD]=DW[RD],V2[DW.charCodeAt(RD)]=RD;var RD,ZW;V2[45]=62;V2[95]=63;function Wu(D){var Z=D.length;if(Z%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Q=D.indexOf("=");if(Q===-1)Q=Z;var Y=Q===Z?0:4-Q%4;return[Q,Y]}function R20(D){var Z=Wu(D),Q=Z[0],Y=Z[1];return(Q+Y)*3/4-Y}function M20(D,Z,Q){return(Z+Q)*3/4-Q}function I20(D){var Z,Q=Wu(D),Y=Q[0],J=Q[1],q=new C20(M20(D,Y,J)),B=0,H=J>0?Y-4:Y,V;for(V=0;V<H;V+=4)Z=V2[D.charCodeAt(V)]<<18|V2[D.charCodeAt(V+1)]<<12|V2[D.charCodeAt(V+2)]<<6|V2[D.charCodeAt(V+3)],q[B++]=Z>>16&255,q[B++]=Z>>8&255,q[B++]=Z&255;if(J===2)Z=V2[D.charCodeAt(V)]<<2|V2[D.charCodeAt(V+1)]>>4,q[B++]=Z&255;if(J===1)Z=V2[D.charCodeAt(V)]<<10|V2[D.charCodeAt(V+1)]<<4|V2[D.charCodeAt(V+2)]>>2,q[B++]=Z>>8&255,q[B++]=Z&255;return q}function j20(D){return D9[D>>18&63]+D9[D>>12&63]+D9[D>>6&63]+D9[D&63]}function N20(D,Z,Q){var Y,J=[];for(var q=Z;q<Q;q+=3)Y=(D[q]<<16&16711680)+(D[q+1]<<8&65280)+(D[q+2]&255),J.push(j20(Y));return J.join("")}function P20(D){var Z,Q=D.length,Y=Q%3,J=[],q=16383;for(var B=0,H=Q-Y;B<H;B+=q)J.push(N20(D,B,B+q>H?H:B+q));if(Y===1)Z=D[Q-1],J.push(D9[Z>>2]+D9[Z<<4&63]+"==");else if(Y===2)Z=(D[Q-2]<<8)+D[Q-1],J.push(D9[Z>>10]+D9[Z>>4&63]+D9[Z<<2&63]+"=");return J.join("")}});var Z9=M((Xu,MD)=>{(function(){var D,Z,Q,Y,J,q,B,H={}.hasOwnProperty;D=function(V,...K){var G,W,O,F;if(J(Object.assign))Object.assign.apply(null,arguments);else for(G=0,O=K.length;G<O;G++)if(F=K[G],F!=null)for(W in F){if(!H.call(F,W))continue;V[W]=F[W]}return V},J=function(V){return!!V&&Object.prototype.toString.call(V)==="[object Function]"},q=function(V){var K;return!!V&&((K=typeof V)==="function"||K==="object")},Q=function(V){if(J(Array.isArray))return Array.isArray(V);else return Object.prototype.toString.call(V)==="[object Array]"},Y=function(V){var K;if(Q(V))return!V.length;else{for(K in V){if(!H.call(V,K))continue;return!1}return!0}},B=function(V){var K,G;return q(V)&&(G=Object.getPrototypeOf(V))&&(K=G.constructor)&&typeof K==="function"&&K instanceof K&&Function.prototype.toString.call(K)===Function.prototype.toString.call(Object)},Z=function(V){if(J(V.valueOf))return V.valueOf();else return V},MD.exports.assign=D,MD.exports.isFunction=J,MD.exports.isObject=q,MD.exports.isArray=Q,MD.exports.isEmpty=Y,MD.exports.isPlainObject=B,MD.exports.getValue=Z}).call(Xu)});var QW=M((Fu,Uu)=>{(function(){var D;Uu.exports=D=class Z{hasFeature(Q,Y){return!0}createDocumentType(Q,Y,J){throw new Error("This DOM method is not implemented.")}createDocument(Q,Y,J){throw new Error("This DOM method is not implemented.")}createHTMLDocument(Q){throw new Error("This DOM method is not implemented.")}getFeature(Q,Y){throw new Error("This DOM method is not implemented.")}}}).call(Fu)});var Eu=M((Au,$u)=>{(function(){var D;$u.exports=D=class Z{constructor(){}handleError(Q){throw new Error(Q)}}}).call(Au)});var Cu=M((wu,Lu)=>{(function(){var D;Lu.exports=D=function(){class Z{constructor(Q){this.arr=Q||[]}item(Q){return this.arr[Q]||null}contains(Q){return this.arr.indexOf(Q)!==-1}}return Object.defineProperty(Z.prototype,"length",{get:function(){return this.arr.length}}),Z}.call(this)}).call(wu)});var Iu=M((Ru,Mu)=>{(function(){var D,Z,Q;Z=Eu(),Q=Cu(),Mu.exports=D=function(){class Y{constructor(){var J;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new Z,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=J=Object.create(this.defaultParams)}getParameter(J){if(this.params.hasOwnProperty(J))return this.params[J];else return null}canSetParameter(J,q){return!0}setParameter(J,q){if(q!=null)return this.params[J]=q;else return delete this.params[J]}}return Object.defineProperty(Y.prototype,"parameterNames",{get:function(){return new Q(Object.keys(this.defaultParams))}}),Y}.call(this)}).call(Ru)});var z5=M((ju,Nu)=>{(function(){Nu.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(ju)});var YW=M((Pu,Su)=>{(function(){var D,Z,Q;D=z5(),Q=x8(),Su.exports=Z=function(){class Y{constructor(J,q,B){if(this.parent=J,this.parent)this.options=this.parent.options,this.stringify=this.parent.stringify;if(q==null)throw new Error("Missing attribute name. "+this.debugInfo(q));this.name=this.stringify.name(q),this.value=this.stringify.attValue(B),this.type=D.Attribute,this.isId=!1,this.schemaTypeInfo=null}clone(){return Object.create(this)}toString(J){return this.options.writer.attribute(this,this.options.writer.filterOptions(J))}debugInfo(J){if(J=J||this.name,J==null)return"parent: <"+this.parent.name+">";else return"attribute: {"+J+"}, parent: <"+this.parent.name+">"}isEqualNode(J){if(J.namespaceURI!==this.namespaceURI)return!1;if(J.prefix!==this.prefix)return!1;if(J.localName!==this.localName)return!1;if(J.value!==this.value)return!1;return!0}}return Object.defineProperty(Y.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Y.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(Y.prototype,"textContent",{get:function(){return this.value},set:function(J){return this.value=J||""}}),Object.defineProperty(Y.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(Y.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(Y.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(Y.prototype,"specified",{get:function(){return!0}}),Y}.call(this)}).call(Pu)});var Zq=M((uu,vu)=>{(function(){var D;vu.exports=D=function(){class Z{constructor(Q){this.nodes=Q}clone(){return this.nodes=null}getNamedItem(Q){return this.nodes[Q]}setNamedItem(Q){var Y=this.nodes[Q.nodeName];return this.nodes[Q.nodeName]=Q,Y||null}removeNamedItem(Q){var Y=this.nodes[Q];return delete this.nodes[Q],Y||null}item(Q){return this.nodes[Object.keys(this.nodes)[Q]]||null}getNamedItemNS(Q,Y){throw new Error("This DOM method is not implemented.")}setNamedItemNS(Q){throw new Error("This DOM method is not implemented.")}removeNamedItemNS(Q,Y){throw new Error("This DOM method is not implemented.")}}return Object.defineProperty(Z.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),Z}.call(this)}).call(uu)});var Qq=M((Tu,bu)=>{(function(){var D,Z,Q,Y,J,q,B,H,V={}.hasOwnProperty;({isObject:H,isFunction:B,getValue:q}=Z9()),J=x8(),D=z5(),Z=YW(),Y=Zq(),bu.exports=Q=function(){class K extends J{constructor(G,W,O){var F,E,L,j;super(G);if(W==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(W),this.type=D.Element,this.attribs={},this.schemaTypeInfo=null,O!=null)this.attribute(O);if(G.type===D.Document){if(this.isRoot=!0,this.documentObject=G,G.rootObject=this,G.children){j=G.children;for(E=0,L=j.length;E<L;E++)if(F=j[E],F.type===D.DocType){F.name=this.name;break}}}}clone(){var G,W,O,F;if(O=Object.create(this),O.isRoot)O.documentObject=null;O.attribs={},F=this.attribs;for(W in F){if(!V.call(F,W))continue;G=F[W],O.attribs[W]=G.clone()}return O.children=[],this.children.forEach(function(E){var L=E.clone();return L.parent=O,O.children.push(L)}),O}attribute(G,W){var O,F;if(G!=null)G=q(G);if(H(G))for(O in G){if(!V.call(G,O))continue;F=G[O],this.attribute(O,F)}else{if(B(W))W=W.apply();if(this.options.keepNullAttributes&&W==null)this.attribs[G]=new Z(this,G,"");else if(W!=null)this.attribs[G]=new Z(this,G,W)}return this}removeAttribute(G){var W,O,F;if(G==null)throw new Error("Missing attribute name. "+this.debugInfo());if(G=q(G),Array.isArray(G))for(O=0,F=G.length;O<F;O++)W=G[O],delete this.attribs[W];else delete this.attribs[G];return this}toString(G){return this.options.writer.element(this,this.options.writer.filterOptions(G))}att(G,W){return this.attribute(G,W)}a(G,W){return this.attribute(G,W)}getAttribute(G){if(this.attribs.hasOwnProperty(G))return this.attribs[G].value;else return null}setAttribute(G,W){throw new Error("This DOM method is not implemented."+this.debugInfo())}getAttributeNode(G){if(this.attribs.hasOwnProperty(G))return this.attribs[G];else return null}setAttributeNode(G){throw new Error("This DOM method is not implemented."+this.debugInfo())}removeAttributeNode(G){throw new Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagName(G){throw new Error("This DOM method is not implemented."+this.debugInfo())}getAttributeNS(G,W){throw new Error("This DOM method is not implemented."+this.debugInfo())}setAttributeNS(G,W,O){throw new Error("This DOM method is not implemented."+this.debugInfo())}removeAttributeNS(G,W){throw new Error("This DOM method is not implemented."+this.debugInfo())}getAttributeNodeNS(G,W){throw new Error("This DOM method is not implemented."+this.debugInfo())}setAttributeNodeNS(G){throw new Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagNameNS(G,W){throw new Error("This DOM method is not implemented."+this.debugInfo())}hasAttribute(G){return this.attribs.hasOwnProperty(G)}hasAttributeNS(G,W){throw new Error("This DOM method is not implemented."+this.debugInfo())}setIdAttribute(G,W){if(this.attribs.hasOwnProperty(G))return this.attribs[G].isId;else return W}setIdAttributeNS(G,W,O){throw new Error("This DOM method is not implemented."+this.debugInfo())}setIdAttributeNode(G,W){throw new Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagName(G){throw new Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagNameNS(G,W){throw new Error("This DOM method is not implemented."+this.debugInfo())}getElementsByClassName(G){throw new Error("This DOM method is not implemented."+this.debugInfo())}isEqualNode(G){var W,O,F;if(!super.isEqualNode(G))return!1;if(G.namespaceURI!==this.namespaceURI)return!1;if(G.prefix!==this.prefix)return!1;if(G.localName!==this.localName)return!1;if(G.attribs.length!==this.attribs.length)return!1;for(W=O=0,F=this.attribs.length-1;0<=F?O<=F:O>=F;W=0<=F?++O:--O)if(!this.attribs[W].isEqualNode(G.attribs[W]))return!1;return!0}}return Object.defineProperty(K.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(K.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(K.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(K.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(K.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(K.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(K.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(K.prototype,"attributes",{get:function(){if(!this.attributeMap||!this.attributeMap.nodes)this.attributeMap=new Y(this.attribs);return this.attributeMap}}),K}.call(this)}).call(Tu)});var s3=M((hu,_u)=>{(function(){var D,Z;Z=x8(),_u.exports=D=function(){class Q extends Z{constructor(Y){super(Y);this.value=""}clone(){return Object.create(this)}substringData(Y,J){throw new Error("This DOM method is not implemented."+this.debugInfo())}appendData(Y){throw new Error("This DOM method is not implemented."+this.debugInfo())}insertData(Y,J){throw new Error("This DOM method is not implemented."+this.debugInfo())}deleteData(Y,J){throw new Error("This DOM method is not implemented."+this.debugInfo())}replaceData(Y,J,q){throw new Error("This DOM method is not implemented."+this.debugInfo())}isEqualNode(Y){if(!super.isEqualNode(Y))return!1;if(Y.data!==this.data)return!1;return!0}}return Object.defineProperty(Q.prototype,"data",{get:function(){return this.value},set:function(Y){return this.value=Y||""}}),Object.defineProperty(Q.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(Q.prototype,"textContent",{get:function(){return this.value},set:function(Y){return this.value=Y||""}}),Q}.call(this)}).call(hu)});var Yq=M((ku,yu)=>{(function(){var D,Z,Q;D=z5(),Q=s3(),yu.exports=Z=class Y extends Q{constructor(J,q){super(J);if(q==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=D.CData,this.value=this.stringify.cdata(q)}clone(){return Object.create(this)}toString(J){return this.options.writer.cdata(this,this.options.writer.filterOptions(J))}}}).call(ku)});var Jq=M((fu,xu)=>{(function(){var D,Z,Q;D=z5(),Z=s3(),xu.exports=Q=class Y extends Z{constructor(J,q){super(J);if(q==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=D.Comment,this.value=this.stringify.comment(q)}clone(){return Object.create(this)}toString(J){return this.options.writer.comment(this,this.options.writer.filterOptions(J))}}}).call(fu)});var qq=M((mu,gu)=>{(function(){var D,Z,Q,Y;({isObject:Y}=Z9()),Q=x8(),D=z5(),gu.exports=Z=class J extends Q{constructor(q,B,H,V){super(q);if(Y(B))({version:B,encoding:H,standalone:V}=B);if(!B)B="1.0";if(this.type=D.Declaration,this.version=this.stringify.xmlVersion(B),H!=null)this.encoding=this.stringify.xmlEncoding(H);if(V!=null)this.standalone=this.stringify.xmlStandalone(V)}toString(q){return this.options.writer.declaration(this,this.options.writer.filterOptions(q))}}}).call(mu)});var Bq=M((cu,du)=>{(function(){var D,Z,Q;Q=x8(),D=z5(),du.exports=Z=class Y extends Q{constructor(J,q,B,H,V,K){super(J);if(q==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(B==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(q));if(!H)throw new Error("Missing DTD attribute type. "+this.debugInfo(q));if(!V)throw new Error("Missing DTD attribute default. "+this.debugInfo(q));if(V.indexOf("#")!==0)V="#"+V;if(!V.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(q));if(K&&!V.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(q));if(this.elementName=this.stringify.name(q),this.type=D.AttributeDeclaration,this.attributeName=this.stringify.name(B),this.attributeType=this.stringify.dtdAttType(H),K)this.defaultValue=this.stringify.dtdAttDefault(K);this.defaultValueType=V}toString(J){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(J))}}}).call(cu)});var Hq=M((lu,pu)=>{(function(){var D,Z,Q,Y;({isObject:Y}=Z9()),Q=x8(),D=z5(),pu.exports=Z=function(){class J extends Q{constructor(q,B,H,V){super(q);if(H==null)throw new Error("Missing DTD entity name. "+this.debugInfo(H));if(V==null)throw new Error("Missing DTD entity value. "+this.debugInfo(H));if(this.pe=!!B,this.name=this.stringify.name(H),this.type=D.EntityDeclaration,!Y(V))this.value=this.stringify.dtdEntityValue(V),this.internal=!0;else{if(!V.pubID&&!V.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(H));if(V.pubID&&!V.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(H));if(this.internal=!1,V.pubID!=null)this.pubID=this.stringify.dtdPubID(V.pubID);if(V.sysID!=null)this.sysID=this.stringify.dtdSysID(V.sysID);if(V.nData!=null)this.nData=this.stringify.dtdNData(V.nData);if(this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(H))}}toString(q){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(q))}}return Object.defineProperty(J.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(J.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(J.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(J.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(J.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(J.prototype,"xmlVersion",{get:function(){return null}}),J}.call(this)}).call(lu)});var Vq=M((iu,nu)=>{(function(){var D,Z,Q;Q=x8(),D=z5(),nu.exports=Z=class Y extends Q{constructor(J,q,B){super(J);if(q==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(!B)B="(#PCDATA)";if(Array.isArray(B))B="("+B.join(",")+")";this.name=this.stringify.name(q),this.type=D.ElementDeclaration,this.value=this.stringify.dtdElementValue(B)}toString(J){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(J))}}}).call(iu)});var Kq=M((ru,su)=>{(function(){var D,Z,Q;Q=x8(),D=z5(),su.exports=Z=function(){class Y extends Q{constructor(J,q,B){super(J);if(q==null)throw new Error("Missing DTD notation name. "+this.debugInfo(q));if(!B.pubID&&!B.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(q));if(this.name=this.stringify.name(q),this.type=D.NotationDeclaration,B.pubID!=null)this.pubID=this.stringify.dtdPubID(B.pubID);if(B.sysID!=null)this.sysID=this.stringify.dtdSysID(B.sysID)}toString(J){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(J))}}return Object.defineProperty(Y.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(Y.prototype,"systemId",{get:function(){return this.sysID}}),Y}.call(this)}).call(ru)});var Gq=M((au,tu)=>{(function(){var D,Z,Q,Y,J,q,B,H,V;({isObject:V}=Z9()),H=x8(),D=z5(),Z=Bq(),Y=Hq(),Q=Vq(),J=Kq(),B=Zq(),tu.exports=q=function(){class K extends H{constructor(G,W,O){var F,E,L,j;super(G);if(this.type=D.DocType,G.children){j=G.children;for(E=0,L=j.length;E<L;E++)if(F=j[E],F.type===D.Element){this.name=F.name;break}}if(this.documentObject=G,V(W))({pubID:W,sysID:O}=W);if(O==null)[O,W]=[W,O];if(W!=null)this.pubID=this.stringify.dtdPubID(W);if(O!=null)this.sysID=this.stringify.dtdSysID(O)}element(G,W){var O=new Q(this,G,W);return this.children.push(O),this}attList(G,W,O,F,E){var L=new Z(this,G,W,O,F,E);return this.children.push(L),this}entity(G,W){var O=new Y(this,!1,G,W);return this.children.push(O),this}pEntity(G,W){var O=new Y(this,!0,G,W);return this.children.push(O),this}notation(G,W){var O=new J(this,G,W);return this.children.push(O),this}toString(G){return this.options.writer.docType(this,this.options.writer.filterOptions(G))}ele(G,W){return this.element(G,W)}att(G,W,O,F,E){return this.attList(G,W,O,F,E)}ent(G,W){return this.entity(G,W)}pent(G,W){return this.pEntity(G,W)}not(G,W){return this.notation(G,W)}up(){return this.root()||this.documentObject}isEqualNode(G){if(!super.isEqualNode(G))return!1;if(G.name!==this.name)return!1;if(G.publicId!==this.publicId)return!1;if(G.systemId!==this.systemId)return!1;return!0}}return Object.defineProperty(K.prototype,"entities",{get:function(){var G,W,O,F,E;F={},E=this.children;for(W=0,O=E.length;W<O;W++)if(G=E[W],G.type===D.EntityDeclaration&&!G.pe)F[G.name]=G;return new B(F)}}),Object.defineProperty(K.prototype,"notations",{get:function(){var G,W,O,F,E;F={},E=this.children;for(W=0,O=E.length;W<O;W++)if(G=E[W],G.type===D.NotationDeclaration)F[G.name]=G;return new B(F)}}),Object.defineProperty(K.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(K.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(K.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),K}.call(this)}).call(au)});var zq=M((ou,eu)=>{(function(){var D,Z,Q;D=z5(),Z=x8(),eu.exports=Q=class Y extends Z{constructor(J,q){super(J);if(q==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=D.Raw,this.value=this.stringify.raw(q)}clone(){return Object.create(this)}toString(J){return this.options.writer.raw(this,this.options.writer.filterOptions(J))}}}).call(ou)});var Wq=M((Dv,Zv)=>{(function(){var D,Z,Q;D=z5(),Z=s3(),Zv.exports=Q=function(){class Y extends Z{constructor(J,q){super(J);if(q==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=D.Text,this.value=this.stringify.text(q)}clone(){return Object.create(this)}toString(J){return this.options.writer.text(this,this.options.writer.filterOptions(J))}splitText(J){throw new Error("This DOM method is not implemented."+this.debugInfo())}replaceWholeText(J){throw new Error("This DOM method is not implemented."+this.debugInfo())}}return Object.defineProperty(Y.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(Y.prototype,"wholeText",{get:function(){var J,q,B;B="",q=this.previousSibling;while(q)B=q.data+B,q=q.previousSibling;B+=this.data,J=this.nextSibling;while(J)B=B+J.data,J=J.nextSibling;return B}}),Y}.call(this)}).call(Dv)});var Oq=M((Qv,Yv)=>{(function(){var D,Z,Q;D=z5(),Z=s3(),Yv.exports=Q=class Y extends Z{constructor(J,q,B){super(J);if(q==null)throw new Error("Missing instruction target. "+this.debugInfo());if(this.type=D.ProcessingInstruction,this.target=this.stringify.insTarget(q),this.name=this.target,B)this.value=this.stringify.insValue(B)}clone(){return Object.create(this)}toString(J){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(J))}isEqualNode(J){if(!super.isEqualNode(J))return!1;if(J.target!==this.target)return!1;return!0}}}).call(Qv)});var JW=M((Jv,qv)=>{(function(){var D,Z,Q;Q=x8(),D=z5(),qv.exports=Z=class Y extends Q{constructor(J){super(J);this.type=D.Dummy}clone(){return Object.create(this)}toString(J){return""}}}).call(Jv)});var Vv=M((Bv,Hv)=>{(function(){var D;Hv.exports=D=function(){class Z{constructor(Q){this.nodes=Q}clone(){return this.nodes=null}item(Q){return this.nodes[Q]||null}}return Object.defineProperty(Z.prototype,"length",{get:function(){return this.nodes.length||0}}),Z}.call(this)}).call(Bv)});var zv=M((Kv,Gv)=>{(function(){Gv.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(Kv)});var x8=M((Wv,Ov)=>{(function(){var D,Z,Q,Y,J,q,B,H,V,K,G,W,O,F,E,L,j,P,u={}.hasOwnProperty,U=[].splice;({isObject:P,isFunction:j,isEmpty:L,getValue:E}=Z9()),H=null,Q=null,Y=null,J=null,q=null,O=null,F=null,W=null,B=null,Z=null,G=null,V=null,D=null,Ov.exports=K=function(){class X{constructor(z){if(this.parent=z,this.parent)this.options=this.parent.options,this.stringify=this.parent.stringify;if(this.value=null,this.children=[],this.baseURI=null,!H)H=Qq(),Q=Yq(),Y=Jq(),J=qq(),q=Gq(),O=zq(),F=Wq(),W=Oq(),B=JW(),Z=z5(),G=Vv(),V=Zq(),D=zv()}setParent(z){var A,S,w,C,I;if(this.parent=z,z)this.options=z.options,this.stringify=z.stringify;C=this.children,I=[];for(S=0,w=C.length;S<w;S++)A=C[S],I.push(A.setParent(this));return I}element(z,A,S){var w,C,I,v,g,s,A0,w0,o;if(s=null,A===null&&S==null)[A,S]=[{},null];if(A==null)A={};if(A=E(A),!P(A))[S,A]=[A,S];if(z!=null)z=E(z);if(Array.isArray(z))for(I=0,A0=z.length;I<A0;I++)C=z[I],s=this.element(C);else if(j(z))s=this.element(z.apply());else if(P(z))for(g in z){if(!u.call(z,g))continue;if(o=z[g],j(o))o=o.apply();if(!this.options.ignoreDecorators&&this.stringify.convertAttKey&&g.indexOf(this.stringify.convertAttKey)===0)s=this.attribute(g.substr(this.stringify.convertAttKey.length),o);else if(!this.options.separateArrayItems&&Array.isArray(o)&&L(o))s=this.dummy();else if(P(o)&&L(o))s=this.element(g);else if(!this.options.keepNullNodes&&o==null)s=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(o))for(v=0,w0=o.length;v<w0;v++)C=o[v],w={},w[g]=C,s=this.element(w);else if(P(o))if(!this.options.ignoreDecorators&&this.stringify.convertTextKey&&g.indexOf(this.stringify.convertTextKey)===0)s=this.element(o);else s=this.element(g),s.element(o);else s=this.element(g,o)}else if(!this.options.keepNullNodes&&S===null)s=this.dummy();else if(!this.options.ignoreDecorators&&this.stringify.convertTextKey&&z.indexOf(this.stringify.convertTextKey)===0)s=this.text(S);else if(!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&z.indexOf(this.stringify.convertCDataKey)===0)s=this.cdata(S);else if(!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&z.indexOf(this.stringify.convertCommentKey)===0)s=this.comment(S);else if(!this.options.ignoreDecorators&&this.stringify.convertRawKey&&z.indexOf(this.stringify.convertRawKey)===0)s=this.raw(S);else if(!this.options.ignoreDecorators&&this.stringify.convertPIKey&&z.indexOf(this.stringify.convertPIKey)===0)s=this.instruction(z.substr(this.stringify.convertPIKey.length),S);else s=this.node(z,A,S);if(s==null)throw new Error("Could not create any elements with: "+z+". "+this.debugInfo());return s}insertBefore(z,A,S){var w,C,I,v,g;if(z!=null?z.type:void 0){if(I=z,v=A,I.setParent(this),v)C=children.indexOf(v),g=children.splice(C),children.push(I),Array.prototype.push.apply(children,g);else children.push(I);return I}else{if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(z));return C=this.parent.children.indexOf(this),g=this.parent.children.splice(C),w=this.parent.element(z,A,S),Array.prototype.push.apply(this.parent.children,g),w}}insertAfter(z,A,S){var w,C,I;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(z));return C=this.parent.children.indexOf(this),I=this.parent.children.splice(C+1),w=this.parent.element(z,A,S),Array.prototype.push.apply(this.parent.children,I),w}remove(){var z,A;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return z=this.parent.children.indexOf(this),U.apply(this.parent.children,[z,z-z+1].concat(A=[])),this.parent}node(z,A,S){var w;if(z!=null)z=E(z);if(A||(A={}),A=E(A),!P(A))[S,A]=[A,S];if(w=new H(this,z,A),S!=null)w.text(S);return this.children.push(w),w}text(z){var A;if(P(z))this.element(z);return A=new F(this,z),this.children.push(A),this}cdata(z){var A=new Q(this,z);return this.children.push(A),this}comment(z){var A=new Y(this,z);return this.children.push(A),this}commentBefore(z){var A,S,w;return S=this.parent.children.indexOf(this),w=this.parent.children.splice(S),A=this.parent.comment(z),Array.prototype.push.apply(this.parent.children,w),this}commentAfter(z){var A,S,w;return S=this.parent.children.indexOf(this),w=this.parent.children.splice(S+1),A=this.parent.comment(z),Array.prototype.push.apply(this.parent.children,w),this}raw(z){var A=new O(this,z);return this.children.push(A),this}dummy(){var z=new B(this);return z}instruction(z,A){var S,w,C,I,v;if(z!=null)z=E(z);if(A!=null)A=E(A);if(Array.isArray(z))for(I=0,v=z.length;I<v;I++)S=z[I],this.instruction(S);else if(P(z))for(S in z){if(!u.call(z,S))continue;w=z[S],this.instruction(S,w)}else{if(j(A))A=A.apply();C=new W(this,z,A),this.children.push(C)}return this}instructionBefore(z,A){var S,w,C;return w=this.parent.children.indexOf(this),C=this.parent.children.splice(w),S=this.parent.instruction(z,A),Array.prototype.push.apply(this.parent.children,C),this}instructionAfter(z,A){var S,w,C;return w=this.parent.children.indexOf(this),C=this.parent.children.splice(w+1),S=this.parent.instruction(z,A),Array.prototype.push.apply(this.parent.children,C),this}declaration(z,A,S){var w,C;if(w=this.document(),C=new J(w,z,A,S),w.children.length===0)w.children.unshift(C);else if(w.children[0].type===Z.Declaration)w.children[0]=C;else w.children.unshift(C);return w.root()||w}dtd(z,A){var S,w,C,I,v,g,s,A0,w0,o;w=this.document(),C=new q(w,z,A),w0=w.children;for(I=v=0,s=w0.length;v<s;I=++v)if(S=w0[I],S.type===Z.DocType)return w.children[I]=C,C;o=w.children;for(I=g=0,A0=o.length;g<A0;I=++g)if(S=o[I],S.isRoot)return w.children.splice(I,0,C),C;return w.children.push(C),C}up(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent}root(){var z=this;while(z)if(z.type===Z.Document)return z.rootObject;else if(z.isRoot)return z;else z=z.parent}document(){var z=this;while(z)if(z.type===Z.Document)return z;else z=z.parent}end(z){return this.document().end(z)}prev(){var z=this.parent.children.indexOf(this);if(z<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[z-1]}next(){var z=this.parent.children.indexOf(this);if(z===-1||z===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[z+1]}importDocument(z){var A,S,w,C,I;if(S=z.root().clone(),S.parent=this,S.isRoot=!1,this.children.push(S),this.type===Z.Document){if(S.isRoot=!0,S.documentObject=this,this.rootObject=S,this.children){I=this.children;for(w=0,C=I.length;w<C;w++)if(A=I[w],A.type===Z.DocType){A.name=S.name;break}}}return this}debugInfo(z){var A,S;if(z=z||this.name,z==null&&!((A=this.parent)!=null?A.name:void 0))return"";else if(z==null)return"parent: <"+this.parent.name+">";else if(!((S=this.parent)!=null?S.name:void 0))return"node: <"+z+">";else return"node: <"+z+">, parent: <"+this.parent.name+">"}ele(z,A,S){return this.element(z,A,S)}nod(z,A,S){return this.node(z,A,S)}txt(z){return this.text(z)}dat(z){return this.cdata(z)}com(z){return this.comment(z)}ins(z,A){return this.instruction(z,A)}doc(){return this.document()}dec(z,A,S){return this.declaration(z,A,S)}e(z,A,S){return this.element(z,A,S)}n(z,A,S){return this.node(z,A,S)}t(z){return this.text(z)}d(z){return this.cdata(z)}c(z){return this.comment(z)}r(z){return this.raw(z)}i(z,A){return this.instruction(z,A)}u(){return this.up()}importXMLBuilder(z){return this.importDocument(z)}attribute(z,A){throw new Error("attribute() applies to element nodes only.")}att(z,A){return this.attribute(z,A)}a(z,A){return this.attribute(z,A)}removeAttribute(z){throw new Error("attribute() applies to element nodes only.")}replaceChild(z,A){throw new Error("This DOM method is not implemented."+this.debugInfo())}removeChild(z){throw new Error("This DOM method is not implemented."+this.debugInfo())}appendChild(z){throw new Error("This DOM method is not implemented."+this.debugInfo())}hasChildNodes(){return this.children.length!==0}cloneNode(z){throw new Error("This DOM method is not implemented."+this.debugInfo())}normalize(){throw new Error("This DOM method is not implemented."+this.debugInfo())}isSupported(z,A){return!0}hasAttributes(){return this.attribs.length!==0}compareDocumentPosition(z){var A,S;if(A=this,A===z)return 0;else if(this.document()!==z.document()){if(S=D.Disconnected|D.ImplementationSpecific,Math.random()<0.5)S|=D.Preceding;else S|=D.Following;return S}else if(A.isAncestor(z))return D.Contains|D.Preceding;else if(A.isDescendant(z))return D.Contains|D.Following;else if(A.isPreceding(z))return D.Preceding;else return D.Following}isSameNode(z){throw new Error("This DOM method is not implemented."+this.debugInfo())}lookupPrefix(z){throw new Error("This DOM method is not implemented."+this.debugInfo())}isDefaultNamespace(z){throw new Error("This DOM method is not implemented."+this.debugInfo())}lookupNamespaceURI(z){throw new Error("This DOM method is not implemented."+this.debugInfo())}isEqualNode(z){var A,S,w;if(z.nodeType!==this.nodeType)return!1;if(z.children.length!==this.children.length)return!1;for(A=S=0,w=this.children.length-1;0<=w?S<=w:S>=w;A=0<=w?++S:--S)if(!this.children[A].isEqualNode(z.children[A]))return!1;return!0}getFeature(z,A){throw new Error("This DOM method is not implemented."+this.debugInfo())}setUserData(z,A,S){throw new Error("This DOM method is not implemented."+this.debugInfo())}getUserData(z){throw new Error("This DOM method is not implemented."+this.debugInfo())}contains(z){if(!z)return!1;return z===this||this.isDescendant(z)}isDescendant(z){var A,S,w,C,I;I=this.children;for(w=0,C=I.length;w<C;w++){if(A=I[w],z===A)return!0;if(S=A.isDescendant(z),S)return!0}return!1}isAncestor(z){return z.isDescendant(this)}isPreceding(z){var A,S;if(A=this.treePosition(z),S=this.treePosition(this),A===-1||S===-1)return!1;else return A<S}isFollowing(z){var A,S;if(A=this.treePosition(z),S=this.treePosition(this),A===-1||S===-1)return!1;else return A>S}treePosition(z){var A,S;if(S=0,A=!1,this.foreachTreeNode(this.document(),function(w){if(S++,!A&&w===z)return A=!0}),A)return S;else return-1}foreachTreeNode(z,A){var S,w,C,I,v;z||(z=this.document()),I=z.children;for(w=0,C=I.length;w<C;w++)if(S=I[w],v=A(S))return v;else if(v=this.foreachTreeNode(S,A),v)return v}}return Object.defineProperty(X.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(X.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(X.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(X.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(X.prototype,"childNodes",{get:function(){if(!this.childNodeList||!this.childNodeList.nodes)this.childNodeList=new G(this.children);return this.childNodeList}}),Object.defineProperty(X.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(X.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(X.prototype,"previousSibling",{get:function(){var z=this.parent.children.indexOf(this);return this.parent.children[z-1]||null}}),Object.defineProperty(X.prototype,"nextSibling",{get:function(){var z=this.parent.children.indexOf(this);return this.parent.children[z+1]||null}}),Object.defineProperty(X.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(X.prototype,"textContent",{get:function(){var z,A,S,w,C;if(this.nodeType===Z.Element||this.nodeType===Z.DocumentFragment){C="",w=this.children;for(A=0,S=w.length;A<S;A++)if(z=w[A],z.textContent)C+=z.textContent;return C}else return null},set:function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),X}.call(this)}).call(Wv)});var qW=M((Xv,Fv)=>{(function(){var D,Z={}.hasOwnProperty;Fv.exports=D=function(){class Q{constructor(Y){var J,q,B;if(this.assertLegalChar=this.assertLegalChar.bind(this),this.assertLegalName=this.assertLegalName.bind(this),Y||(Y={}),this.options=Y,!this.options.version)this.options.version="1.0";q=Y.stringify||{};for(J in q){if(!Z.call(q,J))continue;B=q[J],this[J]=B}}name(Y){if(this.options.noValidation)return Y;return this.assertLegalName(""+Y||"")}text(Y){if(this.options.noValidation)return Y;return this.assertLegalChar(this.textEscape(""+Y||""))}cdata(Y){if(this.options.noValidation)return Y;return Y=""+Y||"",Y=Y.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(Y)}comment(Y){if(this.options.noValidation)return Y;if(Y=""+Y||"",Y.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+Y);return this.assertLegalChar(Y)}raw(Y){if(this.options.noValidation)return Y;return""+Y||""}attValue(Y){if(this.options.noValidation)return Y;return this.assertLegalChar(this.attEscape(Y=""+Y||""))}insTarget(Y){if(this.options.noValidation)return Y;return this.assertLegalChar(""+Y||"")}insValue(Y){if(this.options.noValidation)return Y;if(Y=""+Y||"",Y.match(/\?>/))throw new Error("Invalid processing instruction value: "+Y);return this.assertLegalChar(Y)}xmlVersion(Y){if(this.options.noValidation)return Y;if(Y=""+Y||"",!Y.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+Y);return Y}xmlEncoding(Y){if(this.options.noValidation)return Y;if(Y=""+Y||"",!Y.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+Y);return this.assertLegalChar(Y)}xmlStandalone(Y){if(this.options.noValidation)return Y;if(Y)return"yes";else return"no"}dtdPubID(Y){if(this.options.noValidation)return Y;return this.assertLegalChar(""+Y||"")}dtdSysID(Y){if(this.options.noValidation)return Y;return this.assertLegalChar(""+Y||"")}dtdElementValue(Y){if(this.options.noValidation)return Y;return this.assertLegalChar(""+Y||"")}dtdAttType(Y){if(this.options.noValidation)return Y;return this.assertLegalChar(""+Y||"")}dtdAttDefault(Y){if(this.options.noValidation)return Y;return this.assertLegalChar(""+Y||"")}dtdEntityValue(Y){if(this.options.noValidation)return Y;return this.assertLegalChar(""+Y||"")}dtdNData(Y){if(this.options.noValidation)return Y;return this.assertLegalChar(""+Y||"")}assertLegalChar(Y){var J,q;if(this.options.noValidation)return Y;if(this.options.version==="1.0"){if(J=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,this.options.invalidCharReplacement!==void 0)Y=Y.replace(J,this.options.invalidCharReplacement);else if(q=Y.match(J))throw new Error(`Invalid character in string: ${Y} at index ${q.index}`)}else if(this.options.version==="1.1"){if(J=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,this.options.invalidCharReplacement!==void 0)Y=Y.replace(J,this.options.invalidCharReplacement);else if(q=Y.match(J))throw new Error(`Invalid character in string: ${Y} at index ${q.index}`)}return Y}assertLegalName(Y){var J;if(this.options.noValidation)return Y;if(Y=this.assertLegalChar(Y),J=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!Y.match(J))throw new Error(`Invalid character in name: ${Y}`);return Y}textEscape(Y){var J;if(this.options.noValidation)return Y;return J=this.options.noDoubleEncoding?/(?!&(lt|gt|amp|apos|quot);)&/g:/&/g,Y.replace(J,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")}attEscape(Y){var J;if(this.options.noValidation)return Y;return J=this.options.noDoubleEncoding?/(?!&(lt|gt|amp|apos|quot);)&/g:/&/g,Y.replace(J,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")}}return Q.prototype.convertAttKey="@",Q.prototype.convertPIKey="?",Q.prototype.convertTextKey="#text",Q.prototype.convertCDataKey="#cdata",Q.prototype.convertCommentKey="#comment",Q.prototype.convertRawKey="#raw",Q}.call(this)}).call(Xv)});var a3=M((Uv,Av)=>{(function(){Av.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(Uv)});var BW=M(($v,Ev)=>{(function(){var D,Z,Q,Y,J,q,B,H,V,K,G,W,O,F,E,L,j,P={}.hasOwnProperty;({assign:j}=Z9()),D=z5(),V=qq(),K=Gq(),Q=Yq(),Y=Jq(),W=Qq(),F=zq(),E=Wq(),O=Oq(),G=JW(),J=Bq(),q=Vq(),B=Hq(),H=Kq(),Z=a3(),Ev.exports=L=class u{constructor(U){var X,z,A;U||(U={}),this.options=U,z=U.writer||{};for(X in z){if(!P.call(z,X))continue;A=z[X],this["_"+X]=this[X],this[X]=A}}filterOptions(U){var X,z,A,S,w,C,I,v,g;if(U||(U={}),U=j({},this.options,U),X={writer:this},X.pretty=U.pretty||!1,X.allowEmpty=U.allowEmpty||!1,X.indent=(z=U.indent)!=null?z:" ",X.newline=(A=U.newline)!=null?A:`
|
|
326
|
+
`,X.offset=(S=U.offset)!=null?S:0,X.width=(w=U.width)!=null?w:0,X.dontPrettyTextNodes=(C=(I=U.dontPrettyTextNodes)!=null?I:U.dontprettytextnodes)!=null?C:0,X.spaceBeforeSlash=(v=(g=U.spaceBeforeSlash)!=null?g:U.spacebeforeslash)!=null?v:"",X.spaceBeforeSlash===!0)X.spaceBeforeSlash=" ";return X.suppressPrettyCount=0,X.user={},X.state=Z.None,X}indent(U,X,z){var A;if(!X.pretty||X.suppressPrettyCount)return"";else if(X.pretty){if(A=(z||0)+X.offset+1,A>0)return new Array(A).join(X.indent)}return""}endline(U,X,z){if(!X.pretty||X.suppressPrettyCount)return"";else return X.newline}attribute(U,X,z){var A;if(this.openAttribute(U,X,z),X.pretty&&X.width>0)A=U.name+'="'+U.value+'"';else A=" "+U.name+'="'+U.value+'"';return this.closeAttribute(U,X,z),A}cdata(U,X,z){var A;return this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z)+"<![CDATA[",X.state=Z.InsideTag,A+=U.value,X.state=Z.CloseTag,A+="]]>"+this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A}comment(U,X,z){var A;return this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z)+"<!-- ",X.state=Z.InsideTag,A+=U.value,X.state=Z.CloseTag,A+=" -->"+this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A}declaration(U,X,z){var A;if(this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z)+"<?xml",X.state=Z.InsideTag,A+=' version="'+U.version+'"',U.encoding!=null)A+=' encoding="'+U.encoding+'"';if(U.standalone!=null)A+=' standalone="'+U.standalone+'"';return X.state=Z.CloseTag,A+=X.spaceBeforeSlash+"?>",A+=this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A}docType(U,X,z){var A,S,w,C,I;if(z||(z=0),this.openNode(U,X,z),X.state=Z.OpenTag,C=this.indent(U,X,z),C+="<!DOCTYPE "+U.root().name,U.pubID&&U.sysID)C+=' PUBLIC "'+U.pubID+'" "'+U.sysID+'"';else if(U.sysID)C+=' SYSTEM "'+U.sysID+'"';if(U.children.length>0){C+=" [",C+=this.endline(U,X,z),X.state=Z.InsideTag,I=U.children;for(S=0,w=I.length;S<w;S++)A=I[S],C+=this.writeChildNode(A,X,z+1);X.state=Z.CloseTag,C+="]"}return X.state=Z.CloseTag,C+=X.spaceBeforeSlash+">",C+=this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),C}element(U,X,z){var A,S,w,C,I,v,g,s,A0,w0,o,e,r,a,F0,u0,l0,o0,p0;if(z||(z=0),e=!1,this.openNode(U,X,z),X.state=Z.OpenTag,r=this.indent(U,X,z)+"<"+U.name,X.pretty&&X.width>0){s=r.length,F0=U.attribs;for(o in F0){if(!P.call(F0,o))continue;if(A=F0[o],a=this.attribute(A,X,z),S=a.length,s+S>X.width)p0=this.indent(U,X,z+1)+a,r+=this.endline(U,X,z)+p0,s=p0.length;else p0=" "+a,r+=p0,s+=p0.length}}else{u0=U.attribs;for(o in u0){if(!P.call(u0,o))continue;A=u0[o],r+=this.attribute(A,X,z)}}if(C=U.children.length,I=C===0?null:U.children[0],C===0||U.children.every(function(H1){return(H1.type===D.Text||H1.type===D.Raw||H1.type===D.CData)&&H1.value===""}))if(X.allowEmpty)r+=">",X.state=Z.CloseTag,r+="</"+U.name+">"+this.endline(U,X,z);else X.state=Z.CloseTag,r+=X.spaceBeforeSlash+"/>"+this.endline(U,X,z);else if(X.pretty&&C===1&&(I.type===D.Text||I.type===D.Raw||I.type===D.CData)&&I.value!=null)r+=">",X.state=Z.InsideTag,X.suppressPrettyCount++,e=!0,r+=this.writeChildNode(I,X,z+1),X.suppressPrettyCount--,e=!1,X.state=Z.CloseTag,r+="</"+U.name+">"+this.endline(U,X,z);else{if(X.dontPrettyTextNodes){l0=U.children;for(v=0,A0=l0.length;v<A0;v++)if(w=l0[v],(w.type===D.Text||w.type===D.Raw||w.type===D.CData)&&w.value!=null){X.suppressPrettyCount++,e=!0;break}}r+=">"+this.endline(U,X,z),X.state=Z.InsideTag,o0=U.children;for(g=0,w0=o0.length;g<w0;g++)w=o0[g],r+=this.writeChildNode(w,X,z+1);if(X.state=Z.CloseTag,r+=this.indent(U,X,z)+"</"+U.name+">",e)X.suppressPrettyCount--;r+=this.endline(U,X,z),X.state=Z.None}return this.closeNode(U,X,z),r}writeChildNode(U,X,z){switch(U.type){case D.CData:return this.cdata(U,X,z);case D.Comment:return this.comment(U,X,z);case D.Element:return this.element(U,X,z);case D.Raw:return this.raw(U,X,z);case D.Text:return this.text(U,X,z);case D.ProcessingInstruction:return this.processingInstruction(U,X,z);case D.Dummy:return"";case D.Declaration:return this.declaration(U,X,z);case D.DocType:return this.docType(U,X,z);case D.AttributeDeclaration:return this.dtdAttList(U,X,z);case D.ElementDeclaration:return this.dtdElement(U,X,z);case D.EntityDeclaration:return this.dtdEntity(U,X,z);case D.NotationDeclaration:return this.dtdNotation(U,X,z);default:throw new Error("Unknown XML node type: "+U.constructor.name)}}processingInstruction(U,X,z){var A;if(this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z)+"<?",X.state=Z.InsideTag,A+=U.target,U.value)A+=" "+U.value;return X.state=Z.CloseTag,A+=X.spaceBeforeSlash+"?>",A+=this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A}raw(U,X,z){var A;return this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z),X.state=Z.InsideTag,A+=U.value,X.state=Z.CloseTag,A+=this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A}text(U,X,z){var A;return this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z),X.state=Z.InsideTag,A+=U.value,X.state=Z.CloseTag,A+=this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A}dtdAttList(U,X,z){var A;if(this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z)+"<!ATTLIST",X.state=Z.InsideTag,A+=" "+U.elementName+" "+U.attributeName+" "+U.attributeType,U.defaultValueType!=="#DEFAULT")A+=" "+U.defaultValueType;if(U.defaultValue)A+=' "'+U.defaultValue+'"';return X.state=Z.CloseTag,A+=X.spaceBeforeSlash+">"+this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A}dtdElement(U,X,z){var A;return this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z)+"<!ELEMENT",X.state=Z.InsideTag,A+=" "+U.name+" "+U.value,X.state=Z.CloseTag,A+=X.spaceBeforeSlash+">"+this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A}dtdEntity(U,X,z){var A;if(this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z)+"<!ENTITY",X.state=Z.InsideTag,U.pe)A+=" %";if(A+=" "+U.name,U.value)A+=' "'+U.value+'"';else{if(U.pubID&&U.sysID)A+=' PUBLIC "'+U.pubID+'" "'+U.sysID+'"';else if(U.sysID)A+=' SYSTEM "'+U.sysID+'"';if(U.nData)A+=" NDATA "+U.nData}return X.state=Z.CloseTag,A+=X.spaceBeforeSlash+">"+this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A}dtdNotation(U,X,z){var A;if(this.openNode(U,X,z),X.state=Z.OpenTag,A=this.indent(U,X,z)+"<!NOTATION",X.state=Z.InsideTag,A+=" "+U.name,U.pubID&&U.sysID)A+=' PUBLIC "'+U.pubID+'" "'+U.sysID+'"';else if(U.pubID)A+=' PUBLIC "'+U.pubID+'"';else if(U.sysID)A+=' SYSTEM "'+U.sysID+'"';return X.state=Z.CloseTag,A+=X.spaceBeforeSlash+">"+this.endline(U,X,z),X.state=Z.None,this.closeNode(U,X,z),A}openNode(U,X,z){}closeNode(U,X,z){}openAttribute(U,X,z){}closeAttribute(U,X,z){}}}).call($v)});var Xq=M((wv,Lv)=>{(function(){var D,Z;Z=BW(),Lv.exports=D=class Q extends Z{constructor(Y){super(Y)}document(Y,J){var q,B,H,V,K;J=this.filterOptions(J),V="",K=Y.children;for(B=0,H=K.length;B<H;B++)q=K[B],V+=this.writeChildNode(q,J,0);if(J.pretty&&V.slice(-J.newline.length)===J.newline)V=V.slice(0,-J.newline.length);return V}}}).call(wv)});var HW=M((Cv,Rv)=>{(function(){var D,Z,Q,Y,J,q,B,H;({isPlainObject:H}=Z9()),Q=QW(),Z=Iu(),J=x8(),D=z5(),B=qW(),q=Xq(),Rv.exports=Y=function(){class V extends J{constructor(K){super(null);if(this.name="#document",this.type=D.Document,this.documentURI=null,this.domConfig=new Z,K||(K={}),!K.writer)K.writer=new q;this.options=K,this.stringify=new B(K)}end(K){var G={};if(!K)K=this.options.writer;else if(H(K))G=K,K=this.options.writer;return K.document(this,K.filterOptions(G))}toString(K){return this.options.writer.document(this,this.options.writer.filterOptions(K))}createElement(K){throw new Error("This DOM method is not implemented."+this.debugInfo())}createDocumentFragment(){throw new Error("This DOM method is not implemented."+this.debugInfo())}createTextNode(K){throw new Error("This DOM method is not implemented."+this.debugInfo())}createComment(K){throw new Error("This DOM method is not implemented."+this.debugInfo())}createCDATASection(K){throw new Error("This DOM method is not implemented."+this.debugInfo())}createProcessingInstruction(K,G){throw new Error("This DOM method is not implemented."+this.debugInfo())}createAttribute(K){throw new Error("This DOM method is not implemented."+this.debugInfo())}createEntityReference(K){throw new Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagName(K){throw new Error("This DOM method is not implemented."+this.debugInfo())}importNode(K,G){throw new Error("This DOM method is not implemented."+this.debugInfo())}createElementNS(K,G){throw new Error("This DOM method is not implemented."+this.debugInfo())}createAttributeNS(K,G){throw new Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagNameNS(K,G){throw new Error("This DOM method is not implemented."+this.debugInfo())}getElementById(K){throw new Error("This DOM method is not implemented."+this.debugInfo())}adoptNode(K){throw new Error("This DOM method is not implemented."+this.debugInfo())}normalizeDocument(){throw new Error("This DOM method is not implemented."+this.debugInfo())}renameNode(K,G,W){throw new Error("This DOM method is not implemented."+this.debugInfo())}getElementsByClassName(K){throw new Error("This DOM method is not implemented."+this.debugInfo())}createEvent(K){throw new Error("This DOM method is not implemented."+this.debugInfo())}createRange(){throw new Error("This DOM method is not implemented."+this.debugInfo())}createNodeIterator(K,G,W){throw new Error("This DOM method is not implemented."+this.debugInfo())}createTreeWalker(K,G,W){throw new Error("This DOM method is not implemented."+this.debugInfo())}}return Object.defineProperty(V.prototype,"implementation",{value:new Q}),Object.defineProperty(V.prototype,"doctype",{get:function(){var K,G,W,O;O=this.children;for(G=0,W=O.length;G<W;G++)if(K=O[G],K.type===D.DocType)return K;return null}}),Object.defineProperty(V.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(V.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(V.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(V.prototype,"xmlEncoding",{get:function(){if(this.children.length!==0&&this.children[0].type===D.Declaration)return this.children[0].encoding;else return null}}),Object.defineProperty(V.prototype,"xmlStandalone",{get:function(){if(this.children.length!==0&&this.children[0].type===D.Declaration)return this.children[0].standalone==="yes";else return!1}}),Object.defineProperty(V.prototype,"xmlVersion",{get:function(){if(this.children.length!==0&&this.children[0].type===D.Declaration)return this.children[0].version;else return"1.0"}}),Object.defineProperty(V.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(V.prototype,"origin",{get:function(){return null}}),Object.defineProperty(V.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(V.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(V.prototype,"contentType",{get:function(){return null}}),V}.call(this)}).call(Cv)});var jv=M((Mv,Iv)=>{(function(){var D,Z,Q,Y,J,q,B,H,V,K,G,W,O,F,E,L,j,P,u,U,X,z,A,S={}.hasOwnProperty;({isObject:z,isFunction:X,isPlainObject:A,getValue:U}=Z9()),D=z5(),W=HW(),F=Qq(),Y=Yq(),J=Jq(),L=zq(),u=Wq(),E=Oq(),K=qq(),G=Gq(),q=Bq(),H=Hq(),B=Vq(),V=Kq(),Q=YW(),P=qW(),j=Xq(),Z=a3(),Iv.exports=O=class w{constructor(C,I,v){var g;if(this.name="?xml",this.type=D.Document,C||(C={}),g={},!C.writer)C.writer=new j;else if(A(C.writer))g=C.writer,C.writer=new j;this.options=C,this.writer=C.writer,this.writerOptions=this.writer.filterOptions(g),this.stringify=new P(C),this.onDataCallback=I||function(){},this.onEndCallback=v||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}createChildNode(C){var I,v,g,s,A0,w0,o,e;switch(C.type){case D.CData:this.cdata(C.value);break;case D.Comment:this.comment(C.value);break;case D.Element:g={},o=C.attribs;for(v in o){if(!S.call(o,v))continue;I=o[v],g[v]=I.value}this.node(C.name,g);break;case D.Dummy:this.dummy();break;case D.Raw:this.raw(C.value);break;case D.Text:this.text(C.value);break;case D.ProcessingInstruction:this.instruction(C.target,C.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+C.constructor.name)}e=C.children;for(A0=0,w0=e.length;A0<w0;A0++)if(s=e[A0],this.createChildNode(s),s.type===D.Element)this.up();return this}dummy(){return this}node(C,I,v){if(C==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(C));if(this.openCurrent(),C=U(C),I==null)I={};if(I=U(I),!z(I))[v,I]=[I,v];if(this.currentNode=new F(this,C,I),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,v!=null)this.text(v);return this}element(C,I,v){var g,s,A0,w0,o,e;if(this.currentNode&&this.currentNode.type===D.DocType)this.dtdElement(...arguments);else if(Array.isArray(C)||z(C)||X(C)){w0=this.options.noValidation,this.options.noValidation=!0,e=new W(this.options).element("TEMP_ROOT"),e.element(C),this.options.noValidation=w0,o=e.children;for(s=0,A0=o.length;s<A0;s++)if(g=o[s],this.createChildNode(g),g.type===D.Element)this.up()}else this.node(C,I,v);return this}attribute(C,I){var v,g;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(C));if(C!=null)C=U(C);if(z(C))for(v in C){if(!S.call(C,v))continue;g=C[v],this.attribute(v,g)}else{if(X(I))I=I.apply();if(this.options.keepNullAttributes&&I==null)this.currentNode.attribs[C]=new Q(this,C,"");else if(I!=null)this.currentNode.attribs[C]=new Q(this,C,I)}return this}text(C){var I;return this.openCurrent(),I=new u(this,C),this.onData(this.writer.text(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}cdata(C){var I;return this.openCurrent(),I=new Y(this,C),this.onData(this.writer.cdata(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}comment(C){var I;return this.openCurrent(),I=new J(this,C),this.onData(this.writer.comment(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}raw(C){var I;return this.openCurrent(),I=new L(this,C),this.onData(this.writer.raw(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}instruction(C,I){var v,g,s,A0,w0;if(this.openCurrent(),C!=null)C=U(C);if(I!=null)I=U(I);if(Array.isArray(C))for(v=0,A0=C.length;v<A0;v++)g=C[v],this.instruction(g);else if(z(C))for(g in C){if(!S.call(C,g))continue;s=C[g],this.instruction(g,s)}else{if(X(I))I=I.apply();w0=new E(this,C,I),this.onData(this.writer.processingInstruction(w0,this.writerOptions,this.currentLevel+1),this.currentLevel+1)}return this}declaration(C,I,v){var g;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return g=new K(this,C,I,v),this.onData(this.writer.declaration(g,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}doctype(C,I,v){if(this.openCurrent(),C==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new G(this,I,v),this.currentNode.rootNodeName=C,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this}dtdElement(C,I){var v;return this.openCurrent(),v=new B(this,C,I),this.onData(this.writer.dtdElement(v,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}attList(C,I,v,g,s){var A0;return this.openCurrent(),A0=new q(this,C,I,v,g,s),this.onData(this.writer.dtdAttList(A0,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}entity(C,I){var v;return this.openCurrent(),v=new H(this,!1,C,I),this.onData(this.writer.dtdEntity(v,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}pEntity(C,I){var v;return this.openCurrent(),v=new H(this,!0,C,I),this.onData(this.writer.dtdEntity(v,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}notation(C,I){var v;return this.openCurrent(),v=new V(this,C,I),this.onData(this.writer.dtdNotation(v,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}up(){if(this.currentLevel<0)throw new Error("The document node has no parent.");if(this.currentNode){if(this.currentNode.children)this.closeNode(this.currentNode);else this.openNode(this.currentNode);this.currentNode=null}else this.closeNode(this.openTags[this.currentLevel]);return delete this.openTags[this.currentLevel],this.currentLevel--,this}end(){while(this.currentLevel>=0)this.up();return this.onEnd()}openCurrent(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)}openNode(C){var I,v,g,s;if(!C.isOpen){if(!this.root&&this.currentLevel===0&&C.type===D.Element)this.root=C;if(v="",C.type===D.Element){this.writerOptions.state=Z.OpenTag,v=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<"+C.name,s=C.attribs;for(g in s){if(!S.call(s,g))continue;I=s[g],v+=this.writer.attribute(I,this.writerOptions,this.currentLevel)}v+=(C.children?">":"/>")+this.writer.endline(C,this.writerOptions,this.currentLevel),this.writerOptions.state=Z.InsideTag}else{if(this.writerOptions.state=Z.OpenTag,v=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+C.rootNodeName,C.pubID&&C.sysID)v+=' PUBLIC "'+C.pubID+'" "'+C.sysID+'"';else if(C.sysID)v+=' SYSTEM "'+C.sysID+'"';if(C.children)v+=" [",this.writerOptions.state=Z.InsideTag;else this.writerOptions.state=Z.CloseTag,v+=">";v+=this.writer.endline(C,this.writerOptions,this.currentLevel)}return this.onData(v,this.currentLevel),C.isOpen=!0}}closeNode(C){var I;if(!C.isClosed){if(I="",this.writerOptions.state=Z.CloseTag,C.type===D.Element)I=this.writer.indent(C,this.writerOptions,this.currentLevel)+"</"+C.name+">"+this.writer.endline(C,this.writerOptions,this.currentLevel);else I=this.writer.indent(C,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(C,this.writerOptions,this.currentLevel);return this.writerOptions.state=Z.None,this.onData(I,this.currentLevel),C.isClosed=!0}}onData(C,I){return this.documentStarted=!0,this.onDataCallback(C,I+1)}onEnd(){return this.documentCompleted=!0,this.onEndCallback()}debugInfo(C){if(C==null)return"";else return"node: <"+C+">"}ele(){return this.element(...arguments)}nod(C,I,v){return this.node(C,I,v)}txt(C){return this.text(C)}dat(C){return this.cdata(C)}com(C){return this.comment(C)}ins(C,I){return this.instruction(C,I)}dec(C,I,v){return this.declaration(C,I,v)}dtd(C,I,v){return this.doctype(C,I,v)}e(C,I,v){return this.element(C,I,v)}n(C,I,v){return this.node(C,I,v)}t(C){return this.text(C)}d(C){return this.cdata(C)}c(C){return this.comment(C)}r(C){return this.raw(C)}i(C,I){return this.instruction(C,I)}att(){if(this.currentNode&&this.currentNode.type===D.DocType)return this.attList(...arguments);else return this.attribute(...arguments)}a(){if(this.currentNode&&this.currentNode.type===D.DocType)return this.attList(...arguments);else return this.attribute(...arguments)}ent(C,I){return this.entity(C,I)}pent(C,I){return this.pEntity(C,I)}not(C,I){return this.notation(C,I)}}}).call(Mv)});var Sv=M((Nv,Pv)=>{(function(){var D,Z,Q,Y,J={}.hasOwnProperty;D=z5(),Y=BW(),Z=a3(),Pv.exports=Q=class q extends Y{constructor(B,H){super(H);this.stream=B}endline(B,H,V){if(B.isLastRootNode&&H.state===Z.CloseTag)return"";else return super.endline(B,H,V)}document(B,H){var V,K,G,W,O,F,E,L,j;E=B.children;for(K=G=0,O=E.length;G<O;K=++G)V=E[K],V.isLastRootNode=K===B.children.length-1;H=this.filterOptions(H),L=B.children,j=[];for(W=0,F=L.length;W<F;W++)V=L[W],j.push(this.writeChildNode(V,H,0));return j}cdata(B,H,V){return this.stream.write(super.cdata(B,H,V))}comment(B,H,V){return this.stream.write(super.comment(B,H,V))}declaration(B,H,V){return this.stream.write(super.declaration(B,H,V))}docType(B,H,V){var K,G,W,O;if(V||(V=0),this.openNode(B,H,V),H.state=Z.OpenTag,this.stream.write(this.indent(B,H,V)),this.stream.write("<!DOCTYPE "+B.root().name),B.pubID&&B.sysID)this.stream.write(' PUBLIC "'+B.pubID+'" "'+B.sysID+'"');else if(B.sysID)this.stream.write(' SYSTEM "'+B.sysID+'"');if(B.children.length>0){this.stream.write(" ["),this.stream.write(this.endline(B,H,V)),H.state=Z.InsideTag,O=B.children;for(G=0,W=O.length;G<W;G++)K=O[G],this.writeChildNode(K,H,V+1);H.state=Z.CloseTag,this.stream.write("]")}return H.state=Z.CloseTag,this.stream.write(H.spaceBeforeSlash+">"),this.stream.write(this.endline(B,H,V)),H.state=Z.None,this.closeNode(B,H,V)}element(B,H,V){var K,G,W,O,F,E,L,j,P,u,U,X,z,A,S,w;if(V||(V=0),this.openNode(B,H,V),H.state=Z.OpenTag,U=this.indent(B,H,V)+"<"+B.name,H.pretty&&H.width>0){L=U.length,z=B.attribs;for(P in z){if(!J.call(z,P))continue;if(K=z[P],X=this.attribute(K,H,V),G=X.length,L+G>H.width)w=this.indent(B,H,V+1)+X,U+=this.endline(B,H,V)+w,L=w.length;else w=" "+X,U+=w,L+=w.length}}else{A=B.attribs;for(P in A){if(!J.call(A,P))continue;K=A[P],U+=this.attribute(K,H,V)}}if(this.stream.write(U),O=B.children.length,F=O===0?null:B.children[0],O===0||B.children.every(function(C){return(C.type===D.Text||C.type===D.Raw||C.type===D.CData)&&C.value===""}))if(H.allowEmpty)this.stream.write(">"),H.state=Z.CloseTag,this.stream.write("</"+B.name+">");else H.state=Z.CloseTag,this.stream.write(H.spaceBeforeSlash+"/>");else if(H.pretty&&O===1&&(F.type===D.Text||F.type===D.Raw||F.type===D.CData)&&F.value!=null)this.stream.write(">"),H.state=Z.InsideTag,H.suppressPrettyCount++,u=!0,this.writeChildNode(F,H,V+1),H.suppressPrettyCount--,u=!1,H.state=Z.CloseTag,this.stream.write("</"+B.name+">");else{this.stream.write(">"+this.endline(B,H,V)),H.state=Z.InsideTag,S=B.children;for(E=0,j=S.length;E<j;E++)W=S[E],this.writeChildNode(W,H,V+1);H.state=Z.CloseTag,this.stream.write(this.indent(B,H,V)+"</"+B.name+">")}return this.stream.write(this.endline(B,H,V)),H.state=Z.None,this.closeNode(B,H,V)}processingInstruction(B,H,V){return this.stream.write(super.processingInstruction(B,H,V))}raw(B,H,V){return this.stream.write(super.raw(B,H,V))}text(B,H,V){return this.stream.write(super.text(B,H,V))}dtdAttList(B,H,V){return this.stream.write(super.dtdAttList(B,H,V))}dtdElement(B,H,V){return this.stream.write(super.dtdElement(B,H,V))}dtdEntity(B,H,V){return this.stream.write(super.dtdEntity(B,H,V))}dtdNotation(B,H,V){return this.stream.write(super.dtdNotation(B,H,V))}}}).call(Nv)});var vv=M((uv,ID)=>{(function(){var D,Z,Q,Y,J,q,B,H,V;({assign:H,isFunction:V}=Z9()),Q=QW(),Y=HW(),J=jv(),B=Xq(),q=Sv(),D=z5(),Z=a3(),ID.exports.create=function(K,G,W,O){var F,E;if(K==null)throw new Error("Root element needs a name.");if(O=H({},G,W,O),F=new Y(O),E=F.element(K),!O.headless){if(F.declaration(O),O.pubID!=null||O.sysID!=null)F.dtd(O)}return E},ID.exports.begin=function(K,G,W){if(V(K))[G,W]=[K,G],K={};if(G)return new J(K,G,W);else return new Y(K)},ID.exports.stringWriter=function(K){return new B(K)},ID.exports.streamWriter=function(K,G){return new q(K,G)},ID.exports.implementation=new Q,ID.exports.nodeType=D,ID.exports.writerState=Z}).call(uv)});var _v=M((t3)=>{var hv=t3&&t3.__importDefault||function(D){return D&&D.__esModule?D:{default:D}};Object.defineProperty(t3,"__esModule",{value:!0});t3.build=T20;var Tv=hv(Ou()),S20=hv(vv());function u20(D){function Z(Q){return Q<10?"0"+Q:Q}return D.getUTCFullYear()+"-"+Z(D.getUTCMonth()+1)+"-"+Z(D.getUTCDate())+"T"+Z(D.getUTCHours())+":"+Z(D.getUTCMinutes())+":"+Z(D.getUTCSeconds())+"Z"}var v20=Object.prototype.toString;function bv(D){let Z=v20.call(D).match(/\[object (.*)\]/);return Z?Z[1]:Z}function T20(D,Z){let Q={version:"1.0",encoding:"UTF-8"},Y={pubid:"-//Apple//DTD PLIST 1.0//EN",sysid:"http://www.apple.com/DTDs/PropertyList-1.0.dtd"},J=S20.default.create("plist");if(J.dec(Q.version,Q.encoding,Q.standalone),J.dtd(Y.pubid,Y.sysid),J.att("version","1.0"),VW(D,J),!Z)Z={};return Z.pretty=Z.pretty!==!1,J.end(Z)}function VW(D,Z){let Q,Y,J,q=bv(D);if(q==="Undefined");else if(Array.isArray(D)){Z=Z.ele("array");for(Y=0;Y<D.length;Y++)VW(D[Y],Z)}else if(Buffer.isBuffer(D))Z.ele("data").raw(D.toString("base64"));else if(q==="Object"){Z=Z.ele("dict");for(J in D)if(D.hasOwnProperty(J)&&D[J]!==void 0)Z.ele("key").txt(J),VW(D[J],Z)}else if(q==="Number")Q=D%1===0?"integer":"real",Z.ele(Q).txt(D.toString());else if(q==="Date")Z.ele("date").txt(u20(new Date(D)));else if(q==="Boolean")Z.ele(D?"true":"false");else if(q==="String")Z.ele("string").txt(D);else if(q==="ArrayBuffer")Z.ele("data").raw(Tv.default.fromByteArray(D));else if(D&&D.buffer&&bv(D.buffer)==="ArrayBuffer")Z.ele("data").raw(Tv.default.fromByteArray(new Uint8Array(D.buffer)))}});var o3=M((h6)=>{function b20(D,Z,Q){if(Q===void 0)Q=Array.prototype;if(D&&typeof Q.find==="function")return Q.find.call(D,Z);for(var Y=0;Y<D.length;Y++)if(Object.prototype.hasOwnProperty.call(D,Y)){var J=D[Y];if(Z.call(void 0,J,Y,D))return J}}function KW(D,Z){if(Z===void 0)Z=Object;return Z&&typeof Z.freeze==="function"?Z.freeze(D):D}function h20(D,Z){if(D===null||typeof D!=="object")throw new TypeError("target is not an object");for(var Q in Z)if(Object.prototype.hasOwnProperty.call(Z,Q))D[Q]=Z[Q];return D}var kv=KW({HTML:"text/html",isHTML:function(D){return D===kv.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),yv=KW({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(D){return D===yv.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});h6.assign=h20;h6.find=b20;h6.freeze=KW;h6.MIME_TYPE=kv;h6.NAMESPACE=yv});var wW=M((jD)=>{var pv=o3(),Q9=pv.find,e3=pv.NAMESPACE;function _20(D){return D!==""}function k20(D){return D?D.split(/[\t\n\f\r ]+/).filter(_20):[]}function y20(D,Z){if(!D.hasOwnProperty(Z))D[Z]=!0;return D}function fv(D){if(!D)return[];var Z=k20(D);return Object.keys(Z.reduce(y20,{}))}function f20(D){return function(Z){return D&&D.indexOf(Z)!==-1}}function ZZ(D,Z){for(var Q in D)if(Object.prototype.hasOwnProperty.call(D,Q))Z[Q]=D[Q]}function E8(D,Z){var Q=D.prototype;if(!(Q instanceof Z)){let J=function(){};var Y=J;J.prototype=Z.prototype,J=new J,ZZ(Q,J),D.prototype=Q=J}if(Q.constructor!=D){if(typeof D!="function")console.error("unknown Class:"+D);Q.constructor=D}}var w8={},u2=w8.ELEMENT_NODE=1,k6=w8.ATTRIBUTE_NODE=2,Fq=w8.TEXT_NODE=3,iv=w8.CDATA_SECTION_NODE=4,nv=w8.ENTITY_REFERENCE_NODE=5,x20=w8.ENTITY_NODE=6,rv=w8.PROCESSING_INSTRUCTION_NODE=7,sv=w8.COMMENT_NODE=8,av=w8.DOCUMENT_NODE=9,tv=w8.DOCUMENT_TYPE_NODE=10,y9=w8.DOCUMENT_FRAGMENT_NODE=11,m20=w8.NOTATION_NODE=12,t5={},h5={},TQ0=t5.INDEX_SIZE_ERR=(h5[1]="Index size error",1),bQ0=t5.DOMSTRING_SIZE_ERR=(h5[2]="DOMString size error",2),$8=t5.HIERARCHY_REQUEST_ERR=(h5[3]="Hierarchy request error",3),hQ0=t5.WRONG_DOCUMENT_ERR=(h5[4]="Wrong document",4),_Q0=t5.INVALID_CHARACTER_ERR=(h5[5]="Invalid character",5),kQ0=t5.NO_DATA_ALLOWED_ERR=(h5[6]="No data allowed",6),yQ0=t5.NO_MODIFICATION_ALLOWED_ERR=(h5[7]="No modification allowed",7),ov=t5.NOT_FOUND_ERR=(h5[8]="Not found",8),fQ0=t5.NOT_SUPPORTED_ERR=(h5[9]="Not supported",9),xv=t5.INUSE_ATTRIBUTE_ERR=(h5[10]="Attribute in use",10),xQ0=t5.INVALID_STATE_ERR=(h5[11]="Invalid state",11),mQ0=t5.SYNTAX_ERR=(h5[12]="Syntax error",12),gQ0=t5.INVALID_MODIFICATION_ERR=(h5[13]="Invalid modification",13),cQ0=t5.NAMESPACE_ERR=(h5[14]="Invalid namespace",14),dQ0=t5.INVALID_ACCESS_ERR=(h5[15]="Invalid access",15);function W5(D,Z){if(Z instanceof Error)var Q=Z;else if(Q=this,Error.call(this,h5[D]),this.message=h5[D],Error.captureStackTrace)Error.captureStackTrace(this,W5);if(Q.code=D,Z)this.message=this.message+": "+Z;return Q}W5.prototype=Error.prototype;ZZ(t5,W5);function k9(){}k9.prototype={length:0,item:function(D){return D>=0&&D<this.length?this[D]:null},toString:function(D,Z){for(var Q=[],Y=0;Y<this.length;Y++)_6(this[Y],Q,D,Z);return Q.join("")},filter:function(D){return Array.prototype.filter.call(this,D)},indexOf:function(D){return Array.prototype.indexOf.call(this,D)}};function y6(D,Z){this._node=D,this._refresh=Z,WW(this)}function WW(D){var Z=D._node._inc||D._node.ownerDocument._inc;if(D._inc!==Z){var Q=D._refresh(D._node);if(GT(D,"length",Q.length),!D.$$length||Q.length<D.$$length){for(var Y=Q.length;Y in D;Y++)if(Object.prototype.hasOwnProperty.call(D,Y))delete D[Y]}ZZ(Q,D),D._inc=Z}}y6.prototype.item=function(D){return WW(this),this[D]||null};E8(y6,k9);function Uq(){}function ev(D,Z){var Q=D.length;while(Q--)if(D[Q]===Z)return Q}function mv(D,Z,Q,Y){if(Y)Z[ev(Z,Y)]=Q;else Z[Z.length++]=Q;if(D){Q.ownerElement=D;var J=D.ownerDocument;if(J)Y&&QT(J,D,Y),g20(J,D,Q)}}function gv(D,Z,Q){var Y=ev(Z,Q);if(Y>=0){var J=Z.length-1;while(Y<J)Z[Y]=Z[++Y];if(Z.length=J,D){var q=D.ownerDocument;if(q)QT(q,D,Q),Q.ownerElement=null}}else throw new W5(ov,new Error(D.tagName+"@"+Q))}Uq.prototype={length:0,item:k9.prototype.item,getNamedItem:function(D){var Z=this.length;while(Z--){var Q=this[Z];if(Q.nodeName==D)return Q}},setNamedItem:function(D){var Z=D.ownerElement;if(Z&&Z!=this._ownerElement)throw new W5(xv);var Q=this.getNamedItem(D.nodeName);return mv(this._ownerElement,this,D,Q),Q},setNamedItemNS:function(D){var Z=D.ownerElement,Q;if(Z&&Z!=this._ownerElement)throw new W5(xv);return Q=this.getNamedItemNS(D.namespaceURI,D.localName),mv(this._ownerElement,this,D,Q),Q},removeNamedItem:function(D){var Z=this.getNamedItem(D);return gv(this._ownerElement,this,Z),Z},removeNamedItemNS:function(D,Z){var Q=this.getNamedItemNS(D,Z);return gv(this._ownerElement,this,Q),Q},getNamedItemNS:function(D,Z){var Q=this.length;while(Q--){var Y=this[Q];if(Y.localName==Z&&Y.namespaceURI==D)return Y}return null}};function DT(){}DT.prototype={hasFeature:function(D,Z){return!0},createDocument:function(D,Z,Q){var Y=new QZ;if(Y.implementation=this,Y.childNodes=new k9,Y.doctype=Q||null,Q)Y.appendChild(Q);if(Z){var J=Y.createElementNS(D,Z);Y.appendChild(J)}return Y},createDocumentType:function(D,Z,Q){var Y=new Eq;return Y.name=D,Y.nodeName=D,Y.publicId=Z||"",Y.systemId=Q||"",Y}};function T1(){}T1.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(D,Z){return Aq(this,D,Z)},replaceChild:function(D,Z){if(Aq(this,D,Z,JT),Z)this.removeChild(Z)},removeChild:function(D){return YT(this,D)},appendChild:function(D){return this.insertBefore(D,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(D){return zW(this.ownerDocument||this,this,D)},normalize:function(){var D=this.firstChild;while(D){var Z=D.nextSibling;if(Z&&Z.nodeType==Fq&&D.nodeType==Fq)this.removeChild(Z),D.appendData(Z.data);else D.normalize(),D=Z}},isSupported:function(D,Z){return this.ownerDocument.implementation.hasFeature(D,Z)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(D){var Z=this;while(Z){var Q=Z._nsMap;if(Q){for(var Y in Q)if(Object.prototype.hasOwnProperty.call(Q,Y)&&Q[Y]===D)return Y}Z=Z.nodeType==k6?Z.ownerDocument:Z.parentNode}return null},lookupNamespaceURI:function(D){var Z=this;while(Z){var Q=Z._nsMap;if(Q){if(Object.prototype.hasOwnProperty.call(Q,D))return Q[D]}Z=Z.nodeType==k6?Z.ownerDocument:Z.parentNode}return null},isDefaultNamespace:function(D){var Z=this.lookupPrefix(D);return Z==null}};function ZT(D){return D=="<"&&"<"||D==">"&&">"||D=="&"&&"&"||D=='"'&&"""||"&#"+D.charCodeAt()+";"}ZZ(w8,T1);ZZ(w8,T1.prototype);function DZ(D,Z){if(Z(D))return!0;if(D=D.firstChild)do if(DZ(D,Z))return!0;while(D=D.nextSibling)}function QZ(){this.ownerDocument=this}function g20(D,Z,Q){D&&D._inc++;var Y=Q.namespaceURI;if(Y===e3.XMLNS)Z._nsMap[Q.prefix?Q.localName:""]=Q.value}function QT(D,Z,Q,Y){D&&D._inc++;var J=Q.namespaceURI;if(J===e3.XMLNS)delete Z._nsMap[Q.prefix?Q.localName:""]}function OW(D,Z,Q){if(D&&D._inc){D._inc++;var Y=Z.childNodes;if(Q)Y[Y.length++]=Q;else{var J=Z.firstChild,q=0;while(J)Y[q++]=J,J=J.nextSibling;Y.length=q,delete Y[Y.length]}}}function YT(D,Z){var{previousSibling:Q,nextSibling:Y}=Z;if(Q)Q.nextSibling=Y;else D.firstChild=Y;if(Y)Y.previousSibling=Q;else D.lastChild=Q;return Z.parentNode=null,Z.previousSibling=null,Z.nextSibling=null,OW(D.ownerDocument,D),Z}function c20(D){return D&&(D.nodeType===T1.DOCUMENT_NODE||D.nodeType===T1.DOCUMENT_FRAGMENT_NODE||D.nodeType===T1.ELEMENT_NODE)}function d20(D){return D&&(Y9(D)||XW(D)||f9(D)||D.nodeType===T1.DOCUMENT_FRAGMENT_NODE||D.nodeType===T1.COMMENT_NODE||D.nodeType===T1.PROCESSING_INSTRUCTION_NODE)}function f9(D){return D&&D.nodeType===T1.DOCUMENT_TYPE_NODE}function Y9(D){return D&&D.nodeType===T1.ELEMENT_NODE}function XW(D){return D&&D.nodeType===T1.TEXT_NODE}function cv(D,Z){var Q=D.childNodes||[];if(Q9(Q,Y9)||f9(Z))return!1;var Y=Q9(Q,f9);return!(Z&&Y&&Q.indexOf(Y)>Q.indexOf(Z))}function dv(D,Z){var Q=D.childNodes||[];function Y(q){return Y9(q)&&q!==Z}if(Q9(Q,Y))return!1;var J=Q9(Q,f9);return!(Z&&J&&Q.indexOf(J)>Q.indexOf(Z))}function l20(D,Z,Q){if(!c20(D))throw new W5($8,"Unexpected parent node type "+D.nodeType);if(Q&&Q.parentNode!==D)throw new W5(ov,"child not in parent");if(!d20(Z)||f9(Z)&&D.nodeType!==T1.DOCUMENT_NODE)throw new W5($8,"Unexpected node type "+Z.nodeType+" for parent node type "+D.nodeType)}function p20(D,Z,Q){var Y=D.childNodes||[],J=Z.childNodes||[];if(Z.nodeType===T1.DOCUMENT_FRAGMENT_NODE){var q=J.filter(Y9);if(q.length>1||Q9(J,XW))throw new W5($8,"More than one element or text in fragment");if(q.length===1&&!cv(D,Q))throw new W5($8,"Element in fragment can not be inserted before doctype")}if(Y9(Z)){if(!cv(D,Q))throw new W5($8,"Only one element can be added and only after doctype")}if(f9(Z)){if(Q9(Y,f9))throw new W5($8,"Only one doctype is allowed");var B=Q9(Y,Y9);if(Q&&Y.indexOf(B)<Y.indexOf(Q))throw new W5($8,"Doctype can only be inserted before an element");if(!Q&&B)throw new W5($8,"Doctype can not be appended since element is present")}}function JT(D,Z,Q){var Y=D.childNodes||[],J=Z.childNodes||[];if(Z.nodeType===T1.DOCUMENT_FRAGMENT_NODE){var q=J.filter(Y9);if(q.length>1||Q9(J,XW))throw new W5($8,"More than one element or text in fragment");if(q.length===1&&!dv(D,Q))throw new W5($8,"Element in fragment can not be inserted before doctype")}if(Y9(Z)){if(!dv(D,Q))throw new W5($8,"Only one element can be added and only after doctype")}if(f9(Z)){let V=function(K){return f9(K)&&K!==Q};var H=V;if(Q9(Y,V))throw new W5($8,"Only one doctype is allowed");var B=Q9(Y,Y9);if(Q&&Y.indexOf(B)<Y.indexOf(Q))throw new W5($8,"Doctype can only be inserted before an element")}}function Aq(D,Z,Q,Y){if(l20(D,Z,Q),D.nodeType===T1.DOCUMENT_NODE)(Y||p20)(D,Z,Q);var J=Z.parentNode;if(J)J.removeChild(Z);if(Z.nodeType===y9){var q=Z.firstChild;if(q==null)return Z;var B=Z.lastChild}else q=B=Z;var H=Q?Q.previousSibling:D.lastChild;if(q.previousSibling=H,B.nextSibling=Q,H)H.nextSibling=q;else D.firstChild=q;if(Q==null)D.lastChild=B;else Q.previousSibling=B;do q.parentNode=D;while(q!==B&&(q=q.nextSibling));if(OW(D.ownerDocument||D,D),Z.nodeType==y9)Z.firstChild=Z.lastChild=null;return Z}function i20(D,Z){if(Z.parentNode)Z.parentNode.removeChild(Z);if(Z.parentNode=D,Z.previousSibling=D.lastChild,Z.nextSibling=null,Z.previousSibling)Z.previousSibling.nextSibling=Z;else D.firstChild=Z;return D.lastChild=Z,OW(D.ownerDocument,D,Z),Z}QZ.prototype={nodeName:"#document",nodeType:av,doctype:null,documentElement:null,_inc:1,insertBefore:function(D,Z){if(D.nodeType==y9){var Q=D.firstChild;while(Q){var Y=Q.nextSibling;this.insertBefore(Q,Z),Q=Y}return D}if(Aq(this,D,Z),D.ownerDocument=this,this.documentElement===null&&D.nodeType===u2)this.documentElement=D;return D},removeChild:function(D){if(this.documentElement==D)this.documentElement=null;return YT(this,D)},replaceChild:function(D,Z){if(Aq(this,D,Z,JT),D.ownerDocument=this,Z)this.removeChild(Z);if(Y9(D))this.documentElement=D},importNode:function(D,Z){return KT(this,D,Z)},getElementById:function(D){var Z=null;return DZ(this.documentElement,function(Q){if(Q.nodeType==u2){if(Q.getAttribute("id")==D)return Z=Q,!0}}),Z},getElementsByClassName:function(D){var Z=fv(D);return new y6(this,function(Q){var Y=[];if(Z.length>0)DZ(Q.documentElement,function(J){if(J!==Q&&J.nodeType===u2){var q=J.getAttribute("class");if(q){var B=D===q;if(!B){var H=fv(q);B=Z.every(f20(H))}if(B)Y.push(J)}}});return Y})},createElement:function(D){var Z=new w7;Z.ownerDocument=this,Z.nodeName=D,Z.tagName=D,Z.localName=D,Z.childNodes=new k9;var Q=Z.attributes=new Uq;return Q._ownerElement=Z,Z},createDocumentFragment:function(){var D=new wq;return D.ownerDocument=this,D.childNodes=new k9,D},createTextNode:function(D){var Z=new FW;return Z.ownerDocument=this,Z.appendData(D),Z},createComment:function(D){var Z=new UW;return Z.ownerDocument=this,Z.appendData(D),Z},createCDATASection:function(D){var Z=new AW;return Z.ownerDocument=this,Z.appendData(D),Z},createProcessingInstruction:function(D,Z){var Q=new EW;return Q.ownerDocument=this,Q.tagName=Q.nodeName=Q.target=D,Q.nodeValue=Q.data=Z,Q},createAttribute:function(D){var Z=new $q;return Z.ownerDocument=this,Z.name=D,Z.nodeName=D,Z.localName=D,Z.specified=!0,Z},createEntityReference:function(D){var Z=new $W;return Z.ownerDocument=this,Z.nodeName=D,Z},createElementNS:function(D,Z){var Q=new w7,Y=Z.split(":"),J=Q.attributes=new Uq;if(Q.childNodes=new k9,Q.ownerDocument=this,Q.nodeName=Z,Q.tagName=Z,Q.namespaceURI=D,Y.length==2)Q.prefix=Y[0],Q.localName=Y[1];else Q.localName=Z;return J._ownerElement=Q,Q},createAttributeNS:function(D,Z){var Q=new $q,Y=Z.split(":");if(Q.ownerDocument=this,Q.nodeName=Z,Q.name=Z,Q.namespaceURI=D,Q.specified=!0,Y.length==2)Q.prefix=Y[0],Q.localName=Y[1];else Q.localName=Z;return Q}};E8(QZ,T1);function w7(){this._nsMap={}}w7.prototype={nodeType:u2,hasAttribute:function(D){return this.getAttributeNode(D)!=null},getAttribute:function(D){var Z=this.getAttributeNode(D);return Z&&Z.value||""},getAttributeNode:function(D){return this.attributes.getNamedItem(D)},setAttribute:function(D,Z){var Q=this.ownerDocument.createAttribute(D);Q.value=Q.nodeValue=""+Z,this.setAttributeNode(Q)},removeAttribute:function(D){var Z=this.getAttributeNode(D);Z&&this.removeAttributeNode(Z)},appendChild:function(D){if(D.nodeType===y9)return this.insertBefore(D,null);else return i20(this,D)},setAttributeNode:function(D){return this.attributes.setNamedItem(D)},setAttributeNodeNS:function(D){return this.attributes.setNamedItemNS(D)},removeAttributeNode:function(D){return this.attributes.removeNamedItem(D.nodeName)},removeAttributeNS:function(D,Z){var Q=this.getAttributeNodeNS(D,Z);Q&&this.removeAttributeNode(Q)},hasAttributeNS:function(D,Z){return this.getAttributeNodeNS(D,Z)!=null},getAttributeNS:function(D,Z){var Q=this.getAttributeNodeNS(D,Z);return Q&&Q.value||""},setAttributeNS:function(D,Z,Q){var Y=this.ownerDocument.createAttributeNS(D,Z);Y.value=Y.nodeValue=""+Q,this.setAttributeNode(Y)},getAttributeNodeNS:function(D,Z){return this.attributes.getNamedItemNS(D,Z)},getElementsByTagName:function(D){return new y6(this,function(Z){var Q=[];return DZ(Z,function(Y){if(Y!==Z&&Y.nodeType==u2&&(D==="*"||Y.tagName==D))Q.push(Y)}),Q})},getElementsByTagNameNS:function(D,Z){return new y6(this,function(Q){var Y=[];return DZ(Q,function(J){if(J!==Q&&J.nodeType===u2&&(D==="*"||J.namespaceURI===D)&&(Z==="*"||J.localName==Z))Y.push(J)}),Y})}};QZ.prototype.getElementsByTagName=w7.prototype.getElementsByTagName;QZ.prototype.getElementsByTagNameNS=w7.prototype.getElementsByTagNameNS;E8(w7,T1);function $q(){}$q.prototype.nodeType=k6;E8($q,T1);function YZ(){}YZ.prototype={data:"",substringData:function(D,Z){return this.data.substring(D,D+Z)},appendData:function(D){D=this.data+D,this.nodeValue=this.data=D,this.length=D.length},insertData:function(D,Z){this.replaceData(D,0,Z)},appendChild:function(D){throw new Error(h5[$8])},deleteData:function(D,Z){this.replaceData(D,Z,"")},replaceData:function(D,Z,Q){var Y=this.data.substring(0,D),J=this.data.substring(D+Z);Q=Y+Q+J,this.nodeValue=this.data=Q,this.length=Q.length}};E8(YZ,T1);function FW(){}FW.prototype={nodeName:"#text",nodeType:Fq,splitText:function(D){var Z=this.data,Q=Z.substring(D);Z=Z.substring(0,D),this.data=this.nodeValue=Z,this.length=Z.length;var Y=this.ownerDocument.createTextNode(Q);if(this.parentNode)this.parentNode.insertBefore(Y,this.nextSibling);return Y}};E8(FW,YZ);function UW(){}UW.prototype={nodeName:"#comment",nodeType:sv};E8(UW,YZ);function AW(){}AW.prototype={nodeName:"#cdata-section",nodeType:iv};E8(AW,YZ);function Eq(){}Eq.prototype.nodeType=tv;E8(Eq,T1);function qT(){}qT.prototype.nodeType=m20;E8(qT,T1);function BT(){}BT.prototype.nodeType=x20;E8(BT,T1);function $W(){}$W.prototype.nodeType=nv;E8($W,T1);function wq(){}wq.prototype.nodeName="#document-fragment";wq.prototype.nodeType=y9;E8(wq,T1);function EW(){}EW.prototype.nodeType=rv;E8(EW,T1);function HT(){}HT.prototype.serializeToString=function(D,Z,Q){return VT.call(D,Z,Q)};T1.prototype.toString=VT;function VT(D,Z){var Q=[],Y=this.nodeType==9&&this.documentElement||this,J=Y.prefix,q=Y.namespaceURI;if(q&&J==null){var J=Y.lookupPrefix(q);if(J==null)var B=[{namespace:q,prefix:null}]}return _6(this,Q,D,Z,B),Q.join("")}function lv(D,Z,Q){var Y=D.prefix||"",J=D.namespaceURI;if(!J)return!1;if(Y==="xml"&&J===e3.XML||J===e3.XMLNS)return!1;var q=Q.length;while(q--){var B=Q[q];if(B.prefix===Y)return B.namespace!==J}return!0}function GW(D,Z,Q){D.push(" ",Z,'="',Q.replace(/[<>&"\t\n\r]/g,ZT),'"')}function _6(D,Z,Q,Y,J){if(!J)J=[];if(Y)if(D=Y(D),D){if(typeof D=="string"){Z.push(D);return}}else return;switch(D.nodeType){case u2:var q=D.attributes,B=q.length,P=D.firstChild,H=D.tagName;Q=e3.isHTML(D.namespaceURI)||Q;var V=H;if(!Q&&!D.prefix&&D.namespaceURI){var K;for(var G=0;G<q.length;G++)if(q.item(G).name==="xmlns"){K=q.item(G).value;break}if(!K)for(var W=J.length-1;W>=0;W--){var O=J[W];if(O.prefix===""&&O.namespace===D.namespaceURI){K=O.namespace;break}}if(K!==D.namespaceURI)for(var W=J.length-1;W>=0;W--){var O=J[W];if(O.namespace===D.namespaceURI){if(O.prefix)V=O.prefix+":"+H;break}}}Z.push("<",V);for(var F=0;F<B;F++){var E=q.item(F);if(E.prefix=="xmlns")J.push({prefix:E.localName,namespace:E.value});else if(E.nodeName=="xmlns")J.push({prefix:"",namespace:E.value})}for(var F=0;F<B;F++){var E=q.item(F);if(lv(E,Q,J)){var L=E.prefix||"",j=E.namespaceURI;GW(Z,L?"xmlns:"+L:"xmlns",j),J.push({prefix:L,namespace:j})}_6(E,Z,Q,Y,J)}if(H===V&&lv(D,Q,J)){var L=D.prefix||"",j=D.namespaceURI;GW(Z,L?"xmlns:"+L:"xmlns",j),J.push({prefix:L,namespace:j})}if(P||Q&&!/^(?:meta|link|img|br|hr|input)$/i.test(H)){if(Z.push(">"),Q&&/^script$/i.test(H))while(P){if(P.data)Z.push(P.data);else _6(P,Z,Q,Y,J.slice());P=P.nextSibling}else while(P)_6(P,Z,Q,Y,J.slice()),P=P.nextSibling;Z.push("</",V,">")}else Z.push("/>");return;case av:case y9:var P=D.firstChild;while(P)_6(P,Z,Q,Y,J.slice()),P=P.nextSibling;return;case k6:return GW(Z,D.name,D.value);case Fq:return Z.push(D.data.replace(/[<&>]/g,ZT));case iv:return Z.push("<![CDATA[",D.data,"]]>");case sv:return Z.push("<!--",D.data,"-->");case tv:var{publicId:u,systemId:U}=D;if(Z.push("<!DOCTYPE ",D.name),u){if(Z.push(" PUBLIC ",u),U&&U!=".")Z.push(" ",U);Z.push(">")}else if(U&&U!=".")Z.push(" SYSTEM ",U,">");else{var X=D.internalSubset;if(X)Z.push(" [",X,"]");Z.push(">")}return;case rv:return Z.push("<?",D.target," ",D.data,"?>");case nv:return Z.push("&",D.nodeName,";");default:Z.push("??",D.nodeName)}}function KT(D,Z,Q){var Y;switch(Z.nodeType){case u2:Y=Z.cloneNode(!1),Y.ownerDocument=D;case y9:break;case k6:Q=!0;break}if(!Y)Y=Z.cloneNode(!1);if(Y.ownerDocument=D,Y.parentNode=null,Q){var J=Z.firstChild;while(J)Y.appendChild(KT(D,J,Q)),J=J.nextSibling}return Y}function zW(D,Z,Q){var Y=new Z.constructor;for(var J in Z)if(Object.prototype.hasOwnProperty.call(Z,J)){var q=Z[J];if(typeof q!="object"){if(q!=Y[J])Y[J]=q}}if(Z.childNodes)Y.childNodes=new k9;switch(Y.ownerDocument=D,Y.nodeType){case u2:var B=Z.attributes,H=Y.attributes=new Uq,V=B.length;H._ownerElement=Y;for(var K=0;K<V;K++)Y.setAttributeNode(zW(D,B.item(K),!0));break;case k6:Q=!0}if(Q){var G=Z.firstChild;while(G)Y.appendChild(zW(D,G,Q)),G=G.nextSibling}return Y}function GT(D,Z,Q){D[Z]=Q}try{if(Object.defineProperty){let D=function(Z){switch(Z.nodeType){case u2:case y9:var Q=[];Z=Z.firstChild;while(Z){if(Z.nodeType!==7&&Z.nodeType!==8)Q.push(D(Z));Z=Z.nextSibling}return Q.join("");default:return Z.nodeValue}};n20=D,Object.defineProperty(y6.prototype,"length",{get:function(){return WW(this),this.$$length}}),Object.defineProperty(T1.prototype,"textContent",{get:function(){return D(this)},set:function(Z){switch(this.nodeType){case u2:case y9:while(this.firstChild)this.removeChild(this.firstChild);if(Z||String(Z))this.appendChild(this.ownerDocument.createTextNode(Z));break;default:this.data=Z,this.value=Z,this.nodeValue=Z}}}),GT=function(Z,Q,Y){Z["$$"+Q]=Y}}}catch(D){}var n20;jD.DocumentType=Eq;jD.DOMException=W5;jD.DOMImplementation=DT;jD.Element=w7;jD.Node=T1;jD.NodeList=k9;jD.XMLSerializer=HT});var WT=M((JZ)=>{var zT=o3().freeze;JZ.XML_ENTITIES=zT({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'});JZ.HTML_ENTITIES=zT({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"\uD835\uDD04",afr:"\uD835\uDD1E",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"\uD835\uDD38",aopf:"\uD835\uDD52",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"\uD835\uDC9C",ascr:"\uD835\uDCB6",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"\uD835\uDD05",bfr:"\uD835\uDD1F",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"\uD835\uDD39",bopf:"\uD835\uDD53",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"\uD835\uDCB7",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"\uD835\uDD20",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"\uD835\uDD54",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"\uD835\uDC9E",cscr:"\uD835\uDCB8",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"\uD835\uDD07",dfr:"\uD835\uDD21",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"\uD835\uDD3B",dopf:"\uD835\uDD55",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"\uD835\uDC9F",dscr:"\uD835\uDCB9",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"\uD835\uDD08",efr:"\uD835\uDD22",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"\uD835\uDD3C",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"\uD835\uDD09",ffr:"\uD835\uDD23",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"\uD835\uDD3D",fopf:"\uD835\uDD57",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"\uD835\uDCBB",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"\uD835\uDD0A",gfr:"\uD835\uDD24",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"\uD835\uDD3E",gopf:"\uD835\uDD58",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"\uD835\uDD25",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"\uD835\uDD59",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"\uD835\uDCBD",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"\uD835\uDD26",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"\uD835\uDD40",iopf:"\uD835\uDD5A",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"\uD835\uDCBE",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"\uD835\uDD0D",jfr:"\uD835\uDD27",jmath:"ȷ",Jopf:"\uD835\uDD41",jopf:"\uD835\uDD5B",Jscr:"\uD835\uDCA5",jscr:"\uD835\uDCBF",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"\uD835\uDD0E",kfr:"\uD835\uDD28",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"\uD835\uDD42",kopf:"\uD835\uDD5C",Kscr:"\uD835\uDCA6",kscr:"\uD835\uDCC0",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"\uD835\uDD0F",lfr:"\uD835\uDD29",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"\uD835\uDD43",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"\uD835\uDCC1",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"\uD835\uDD10",mfr:"\uD835\uDD2A",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"\uD835\uDD44",mopf:"\uD835\uDD5E",mp:"∓",Mscr:"ℳ",mscr:"\uD835\uDCC2",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
327
|
+
`,nexist:"∄",nexists:"∄",Nfr:"\uD835\uDD11",nfr:"\uD835\uDD2B",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"\uD835\uDD5F",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"\uD835\uDCA9",nscr:"\uD835\uDCC3",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"\uD835\uDD12",ofr:"\uD835\uDD2C",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"\uD835\uDD46",oopf:"\uD835\uDD60",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"\uD835\uDCAA",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"\uD835\uDD13",pfr:"\uD835\uDD2D",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"\uD835\uDD61",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"\uD835\uDCAB",pscr:"\uD835\uDCC5",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"\uD835\uDD14",qfr:"\uD835\uDD2E",qint:"⨌",Qopf:"ℚ",qopf:"\uD835\uDD62",qprime:"⁗",Qscr:"\uD835\uDCAC",qscr:"\uD835\uDCC6",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"\uD835\uDD2F",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"\uD835\uDCC7",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"\uD835\uDD16",sfr:"\uD835\uDD30",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"\uD835\uDD4A",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"\uD835\uDCAE",sscr:"\uD835\uDCC8",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"\uD835\uDD17",tfr:"\uD835\uDD31",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"\uD835\uDD4B",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"\uD835\uDCAF",tscr:"\uD835\uDCC9",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"\uD835\uDD18",ufr:"\uD835\uDD32",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"\uD835\uDD4C",uopf:"\uD835\uDD66",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"\uD835\uDCB0",uscr:"\uD835\uDCCA",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"\uD835\uDD19",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"\uD835\uDD4D",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",Vscr:"\uD835\uDCB1",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"\uD835\uDD1A",wfr:"\uD835\uDD34",Wopf:"\uD835\uDD4E",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",Wscr:"\uD835\uDCB2",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"\uD835\uDD1B",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"\uD835\uDD4F",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"\uD835\uDCB3",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"\uD835\uDD1C",yfr:"\uD835\uDD36",YIcy:"Ї",yicy:"ї",Yopf:"\uD835\uDD50",yopf:"\uD835\uDD6A",Yscr:"\uD835\uDCB4",yscr:"\uD835\uDCCE",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"\uD835\uDD37",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"\uD835\uDD6B",Zscr:"\uD835\uDCB5",zscr:"\uD835\uDCCF",zwj:"",zwnj:""});JZ.entityMap=JZ.HTML_ENTITIES});var wT=M((CW)=>{var VZ=o3().NAMESPACE,LW=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,OT=new RegExp("[\\-\\.0-9"+LW.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),XT=new RegExp("^"+LW.source+OT.source+"*(?::"+LW.source+OT.source+"*)?$"),qZ=0,ND=1,f6=2,BZ=3,x6=4,m6=5,HZ=6,Lq=7;function g6(D,Z){if(this.message=D,this.locator=Z,Error.captureStackTrace)Error.captureStackTrace(this,g6)}g6.prototype=new Error;g6.prototype.name=g6.name;function AT(){}AT.prototype={parse:function(D,Z,Q){var Y=this.domBuilder;Y.startDocument(),$T(Z,Z={}),r20(D,Z,Q,Y,this.errorHandler),Y.endDocument()}};function r20(D,Z,Q,Y,J){function q(o){if(o>65535){o-=65536;var e=55296+(o>>10),r=56320+(o&1023);return String.fromCharCode(e,r)}else return String.fromCharCode(o)}function B(o){var e=o.slice(1,-1);if(Object.hasOwnProperty.call(Q,e))return Q[e];else if(e.charAt(0)==="#")return q(parseInt(e.substr(1).replace("x","0x")));else return J.error("entity not found:"+o),o}function H(o){if(o>L){var e=D.substring(L,o).replace(/&#?\w+;/g,B);O&&V(L),Y.characters(e,0,o-L),L=o}}function V(o,e){while(o>=G&&(e=W.exec(D)))K=e.index,G=K+e[0].length,O.lineNumber++;O.columnNumber=o-K+1}var K=0,G=0,W=/.*(?:\r\n?|\n)|.*$/g,O=Y.locator,F=[{currentNSMap:Z}],E={},L=0;while(!0){try{var j=D.indexOf("<",L);if(j<0){if(!D.substr(L).match(/^\s*$/)){var P=Y.doc,u=P.createTextNode(D.substr(L));P.appendChild(u),Y.currentElement=u}return}if(j>L)H(j);switch(D.charAt(j+1)){case"/":var v=D.indexOf(">",j+3),U=D.substring(j+2,v).replace(/[ \t\n\r]+$/g,""),X=F.pop();if(v<0)U=D.substring(j+2).replace(/[\s<].*/,""),J.error("end tag name: "+U+" is not complete:"+X.tagName),v=j+1+U.length;else if(U.match(/\s</))U=U.replace(/[\s<].*/,""),J.error("end tag name: "+U+" maybe not complete"),v=j+1+U.length;var z=X.localNSMap,A=X.tagName==U,S=A||X.tagName&&X.tagName.toLowerCase()==U.toLowerCase();if(S){if(Y.endElement(X.uri,X.localName,U),z){for(var w in z)if(Object.prototype.hasOwnProperty.call(z,w))Y.endPrefixMapping(w)}if(!A)J.fatalError("end tag name: "+U+" is not match the current start tagName:"+X.tagName)}else F.push(X);v++;break;case"?":O&&V(j),v=e20(D,j,Y);break;case"!":O&&V(j),v=o20(D,j,Y,J);break;default:O&&V(j);var C=new ET,I=F[F.length-1].currentNSMap,v=s20(D,j,C,I,B,J),g=C.length;if(!C.closed&&t20(D,v,C.tagName,E)){if(C.closed=!0,!Q.nbsp)J.warning("unclosed xml attribute")}if(O&&g){var s=FT(O,{});for(var A0=0;A0<g;A0++){var w0=C[A0];V(w0.offset),w0.locator=FT(O,{})}if(Y.locator=s,UT(C,Y,I))F.push(C);Y.locator=O}else if(UT(C,Y,I))F.push(C);if(VZ.isHTML(C.uri)&&!C.closed)v=a20(D,v,C.tagName,B,Y);else v++}}catch(o){if(o instanceof g6)throw o;J.error("element parse error: "+o),v=-1}if(v>L)L=v;else H(Math.max(j,L)+1)}}function FT(D,Z){return Z.lineNumber=D.lineNumber,Z.columnNumber=D.columnNumber,Z}function s20(D,Z,Q,Y,J,q){function B(F,E,L){if(Q.attributeNames.hasOwnProperty(F))q.fatalError("Attribute "+F+" redefined");Q.addValue(F,E.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,J),L)}var H,V,K=++Z,G=qZ;while(!0){var W=D.charAt(K);switch(W){case"=":if(G===ND)H=D.slice(Z,K),G=BZ;else if(G===f6)G=BZ;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(G===BZ||G===ND){if(G===ND)q.warning('attribute value must after "="'),H=D.slice(Z,K);if(Z=K+1,K=D.indexOf(W,Z),K>0)V=D.slice(Z,K),B(H,V,Z-1),G=m6;else throw new Error("attribute value no end '"+W+"' match")}else if(G==x6)V=D.slice(Z,K),B(H,V,Z),q.warning('attribute "'+H+'" missed start quot('+W+")!!"),Z=K+1,G=m6;else throw new Error('attribute value must after "="');break;case"/":switch(G){case qZ:Q.setTagName(D.slice(Z,K));case m6:case HZ:case Lq:G=Lq,Q.closed=!0;case x6:case ND:break;case f6:Q.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":if(q.error("unexpected end of input"),G==qZ)Q.setTagName(D.slice(Z,K));return K;case">":switch(G){case qZ:Q.setTagName(D.slice(Z,K));case m6:case HZ:case Lq:break;case x6:case ND:if(V=D.slice(Z,K),V.slice(-1)==="/")Q.closed=!0,V=V.slice(0,-1);case f6:if(G===f6)V=H;if(G==x6)q.warning('attribute "'+V+'" missed quot(")!'),B(H,V,Z);else{if(!VZ.isHTML(Y[""])||!V.match(/^(?:disabled|checked|selected)$/i))q.warning('attribute "'+V+'" missed value!! "'+V+'" instead!!');B(V,V,Z)}break;case BZ:throw new Error("attribute value missed!!")}return K;case"":W=" ";default:if(W<=" ")switch(G){case qZ:Q.setTagName(D.slice(Z,K)),G=HZ;break;case ND:H=D.slice(Z,K),G=f6;break;case x6:var V=D.slice(Z,K);q.warning('attribute "'+V+'" missed quot(")!!'),B(H,V,Z);case m6:G=HZ;break}else switch(G){case f6:var O=Q.tagName;if(!VZ.isHTML(Y[""])||!H.match(/^(?:disabled|checked|selected)$/i))q.warning('attribute "'+H+'" missed value!! "'+H+'" instead2!!');B(H,H,Z),Z=K,G=ND;break;case m6:q.warning('attribute space is required"'+H+'"!!');case HZ:G=ND,Z=K;break;case BZ:G=x6,Z=K;break;case Lq:throw new Error("elements closed character '/' and '>' must be connected to")}}K++}}function UT(D,Z,Q){var Y=D.tagName,J=null,W=D.length;while(W--){var q=D[W],B=q.qName,H=q.value,O=B.indexOf(":");if(O>0)var V=q.prefix=B.slice(0,O),K=B.slice(O+1),G=V==="xmlns"&&K;else K=B,V=null,G=B==="xmlns"&&"";if(q.localName=K,G!==!1){if(J==null)J={},$T(Q,Q={});Q[G]=J[G]=H,q.uri=VZ.XMLNS,Z.startPrefixMapping(G,H)}}var W=D.length;while(W--){q=D[W];var V=q.prefix;if(V){if(V==="xml")q.uri=VZ.XML;if(V!=="xmlns")q.uri=Q[V||""]}}var O=Y.indexOf(":");if(O>0)V=D.prefix=Y.slice(0,O),K=D.localName=Y.slice(O+1);else V=null,K=D.localName=Y;var F=D.uri=Q[V||""];if(Z.startElement(F,K,Y,D),D.closed){if(Z.endElement(F,K,Y),J){for(V in J)if(Object.prototype.hasOwnProperty.call(J,V))Z.endPrefixMapping(V)}}else return D.currentNSMap=Q,D.localNSMap=J,!0}function a20(D,Z,Q,Y,J){if(/^(?:script|textarea)$/i.test(Q)){var q=D.indexOf("</"+Q+">",Z),B=D.substring(Z+1,q);if(/[&<]/.test(B)){if(/^script$/i.test(Q))return J.characters(B,0,B.length),q;return B=B.replace(/&#?\w+;/g,Y),J.characters(B,0,B.length),q}}return Z+1}function t20(D,Z,Q,Y){var J=Y[Q];if(J==null){if(J=D.lastIndexOf("</"+Q+">"),J<Z)J=D.lastIndexOf("</"+Q);Y[Q]=J}return J<Z}function $T(D,Z){for(var Q in D)if(Object.prototype.hasOwnProperty.call(D,Q))Z[Q]=D[Q]}function o20(D,Z,Q,Y){var J=D.charAt(Z+2);switch(J){case"-":if(D.charAt(Z+3)==="-"){var q=D.indexOf("-->",Z+4);if(q>Z)return Q.comment(D,Z+4,q-Z-4),q+3;else return Y.error("Unclosed comment"),-1}else return-1;default:if(D.substr(Z+3,6)=="CDATA["){var q=D.indexOf("]]>",Z+9);return Q.startCDATA(),Q.characters(D,Z+9,q-Z-9),Q.endCDATA(),q+3}var B=D90(D,Z),H=B.length;if(H>1&&/!doctype/i.test(B[0][0])){var V=B[1][0],K=!1,G=!1;if(H>3){if(/^public$/i.test(B[2][0]))K=B[3][0],G=H>4&&B[4][0];else if(/^system$/i.test(B[2][0]))G=B[3][0]}var W=B[H-1];return Q.startDTD(V,K,G),Q.endDTD(),W.index+W[0].length}}return-1}function e20(D,Z,Q){var Y=D.indexOf("?>",Z);if(Y){var J=D.substring(Z,Y).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(J){var q=J[0].length;return Q.processingInstruction(J[1],J[2]),Y+2}else return-1}return-1}function ET(){this.attributeNames={}}ET.prototype={setTagName:function(D){if(!XT.test(D))throw new Error("invalid tagName:"+D);this.tagName=D},addValue:function(D,Z,Q){if(!XT.test(D))throw new Error("invalid attribute:"+D);this.attributeNames[D]=this.length,this[this.length++]={qName:D,value:Z,offset:Q}},length:0,getLocalName:function(D){return this[D].localName},getLocator:function(D){return this[D].locator},getQName:function(D){return this[D].qName},getURI:function(D){return this[D].uri},getValue:function(D){return this[D].value}};function D90(D,Z){var Q,Y=[],J=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;J.lastIndex=Z,J.exec(D);while(Q=J.exec(D))if(Y.push(Q),Q[1])return Y}CW.XMLReader=AT;CW.ParseError=g6});var NT=M((Rq)=>{var Z90=o3(),Q90=wW(),LT=WT(),MT=wT(),Y90=Q90.DOMImplementation,CT=Z90.NAMESPACE,J90=MT.ParseError,q90=MT.XMLReader;function IT(D){return D.replace(/\r[\n\u0085]/g,`
|
|
328
|
+
`).replace(/[\r\u0085\u2028]/g,`
|
|
329
|
+
`)}function jT(D){this.options=D||{locator:{}}}jT.prototype.parseFromString=function(D,Z){var Q=this.options,Y=new q90,J=Q.domBuilder||new KZ,q=Q.errorHandler,B=Q.locator,H=Q.xmlns||{},V=/\/x?html?$/.test(Z),K=V?LT.HTML_ENTITIES:LT.XML_ENTITIES;if(B)J.setDocumentLocator(B);if(Y.errorHandler=B90(q,J,B),Y.domBuilder=Q.domBuilder||J,V)H[""]=CT.HTML;H.xml=H.xml||CT.XML;var G=Q.normalizeLineEndings||IT;if(D&&typeof D==="string")Y.parse(G(D),H,K);else Y.errorHandler.error("invalid doc source");return J.doc};function B90(D,Z,Q){if(!D){if(Z instanceof KZ)return Z;D=Z}var Y={},J=D instanceof Function;Q=Q||{};function q(B){var H=D[B];if(!H&&J)H=D.length==2?function(V){D(B,V)}:D;Y[B]=H&&function(V){H("[xmldom "+B+"] "+V+RW(Q))}||function(){}}return q("warning"),q("error"),q("fatalError"),Y}function KZ(){this.cdata=!1}function c6(D,Z){Z.lineNumber=D.lineNumber,Z.columnNumber=D.columnNumber}KZ.prototype={startDocument:function(){if(this.doc=new Y90().createDocument(null,null,null),this.locator)this.doc.documentURI=this.locator.systemId},startElement:function(D,Z,Q,Y){var J=this.doc,q=J.createElementNS(D,Q||Z),B=Y.length;Cq(this,q),this.currentElement=q,this.locator&&c6(this.locator,q);for(var H=0;H<B;H++){var D=Y.getURI(H),V=Y.getValue(H),Q=Y.getQName(H),K=J.createAttributeNS(D,Q);this.locator&&c6(Y.getLocator(H),K),K.value=K.nodeValue=V,q.setAttributeNode(K)}},endElement:function(D,Z,Q){var Y=this.currentElement,J=Y.tagName;this.currentElement=Y.parentNode},startPrefixMapping:function(D,Z){},endPrefixMapping:function(D){},processingInstruction:function(D,Z){var Q=this.doc.createProcessingInstruction(D,Z);this.locator&&c6(this.locator,Q),Cq(this,Q)},ignorableWhitespace:function(D,Z,Q){},characters:function(D,Z,Q){if(D=RT.apply(this,arguments),D){if(this.cdata)var Y=this.doc.createCDATASection(D);else var Y=this.doc.createTextNode(D);if(this.currentElement)this.currentElement.appendChild(Y);else if(/^\s*$/.test(D))this.doc.appendChild(Y);this.locator&&c6(this.locator,Y)}},skippedEntity:function(D){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(D){if(this.locator=D)D.lineNumber=0},comment:function(D,Z,Q){D=RT.apply(this,arguments);var Y=this.doc.createComment(D);this.locator&&c6(this.locator,Y),Cq(this,Y)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(D,Z,Q){var Y=this.doc.implementation;if(Y&&Y.createDocumentType){var J=Y.createDocumentType(D,Z,Q);this.locator&&c6(this.locator,J),Cq(this,J),this.doc.doctype=J}},warning:function(D){console.warn("[xmldom warning] "+D,RW(this.locator))},error:function(D){console.error("[xmldom error] "+D,RW(this.locator))},fatalError:function(D){throw new J90(D,this.locator)}};function RW(D){if(D)return`
|
|
330
|
+
@`+(D.systemId||"")+"#[line:"+D.lineNumber+",col:"+D.columnNumber+"]"}function RT(D,Z,Q){if(typeof D=="string")return D.substr(Z,Q);else{if(D.length>=Z+Q||Z)return new java.lang.String(D,Z,Q)+"";return D}}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(D){KZ.prototype[D]=function(){return null}});function Cq(D,Z){if(!D.currentElement)D.doc.appendChild(Z);else D.currentElement.appendChild(Z)}Rq.__DOMHandler=KZ;Rq.normalizeLineEndings=IT;Rq.DOMParser=jT});var ST=M((Mq)=>{var PT=wW();Mq.DOMImplementation=PT.DOMImplementation;Mq.XMLSerializer=PT.XMLSerializer;Mq.DOMParser=NT().DOMParser});var vT=M((GZ)=>{var H90=GZ&&GZ.__importDefault||function(D){return D&&D.__esModule?D:{default:D}};Object.defineProperty(GZ,"__esModule",{value:!0});GZ.parse=G90;var V90=ST(),d6=H90(require("assert")),Iq=3,uT=4,K90=8;function MW(D){return D.nodeType===Iq||D.nodeType===K90||D.nodeType===uT}function x9(D){return!D.childNodes||D.childNodes.length===0}function G90(D){let Z=new V90.DOMParser({errorHandler(){}}).parseFromString(D);d6.default(Z.documentElement.nodeName==="plist","malformed document. First element should be <plist>");let Q=l6(Z.documentElement);if(Q.length===1)Q=Q[0];return Q}function l6(D){let Z,Q,Y,J,q,B;if(!D)return null;if(D.nodeName==="plist"){if(J=[],x9(D))return J;for(Z=0;Z<D.childNodes.length;Z++)if(!MW(D.childNodes[Z]))J.push(l6(D.childNodes[Z]));return J}else if(D.nodeName==="dict"){if(Q={},Y=null,B=0,x9(D))return Q;for(Z=0;Z<D.childNodes.length;Z++){if(MW(D.childNodes[Z]))continue;if(B%2===0)d6.default(D.childNodes[Z].nodeName==="key","Missing key while parsing <dict/>."),Y=l6(D.childNodes[Z]);else d6.default(D.childNodes[Z].nodeName!=="key",'Unexpected key "'+l6(D.childNodes[Z])+'" while parsing <dict/>.'),Q[Y]=l6(D.childNodes[Z]);B+=1}if(B%2===1)throw new Error('Missing value for "'+Y+'" while parsing <dict/>');return Q}else if(D.nodeName==="array"){if(J=[],x9(D))return J;for(Z=0;Z<D.childNodes.length;Z++)if(!MW(D.childNodes[Z])){if(q=l6(D.childNodes[Z]),q!=null)J.push(q)}return J}else if(D.nodeName==="#text");else if(D.nodeName==="key"){if(x9(D))return"";return D.childNodes[0].nodeValue}else if(D.nodeName==="string"){if(q="",x9(D))return q;for(Z=0;Z<D.childNodes.length;Z++){let H=D.childNodes[Z].nodeType;if(H===Iq||H===uT)q+=D.childNodes[Z].nodeValue}return q}else if(D.nodeName==="integer")return d6.default(!x9(D),'Cannot parse "" as integer.'),parseInt(D.childNodes[0].nodeValue,10);else if(D.nodeName==="real"){d6.default(!x9(D),'Cannot parse "" as real.'),q="";for(Z=0;Z<D.childNodes.length;Z++)if(D.childNodes[Z].nodeType===Iq)q+=D.childNodes[Z].nodeValue;return parseFloat(q)}else if(D.nodeName==="data"){if(q="",x9(D))return Buffer.from(q,"base64");for(Z=0;Z<D.childNodes.length;Z++)if(D.childNodes[Z].nodeType===Iq)q+=D.childNodes[Z].nodeValue.replace(/\s+/g,"");return Buffer.from(q,"base64")}else if(D.nodeName==="date")return d6.default(!x9(D),'Cannot parse "" as Date.'),new Date(D.childNodes[0].nodeValue);else if(D.nodeName==="true")return!0;else if(D.nodeName==="false")return!1}});var zZ=M((IW)=>{Object.defineProperty(IW,"__esModule",{value:!0});var z90=_v(),W90=vT();IW.default={parse:W90.parse,build:z90.build}});var mT=M((v2)=>{Object.defineProperty(v2,"__esModule",{value:!0});v2.getBundleIdentifier=kT;v2.getBundleIdentifierFromPbxproj=F90;v2.resetAllPlistBundleIdentifiers=$90;v2.resetPlistBundleIdentifier=xT;v2.setBundleIdentifier=X90;v2.setBundleIdentifierForPbxproj=A90;v2.updateBundleIdentifierForPbxproj=yT;v2.withBundleIdentifier=void 0;function jW(){let D=Pq(zZ());return jW=function(){return D},D}function bT(){let D=Pq(require("assert"));return bT=function(){return D},D}function jq(){let D=Pq(require("fs"));return jq=function(){return D},D}function NW(){let D=Pq(v6());return NW=function(){return D},D}function Nq(){let D=X7();return Nq=function(){return D},D}function PW(){let D=v9();return PW=function(){return D},D}function SW(){let D=x5();return SW=function(){return D},D}function hT(){let D=O7();return hT=function(){return D},D}function _T(){let D=V5();return _T=function(){return D},D}function Pq(D){return D&&D.__esModule?D:{default:D}}var O90=(D,{bundleIdentifier:Z})=>{return _T().withXcodeProject(D,async(Q)=>{let Y=Z??Q.ios?.bundleIdentifier;return bT().default(Y,"`bundleIdentifier` must be defined in the app config (`ios.bundleIdentifier`) or passed to the plugin `withBundleIdentifier`."),Q.modResults=fT(Q.modResults,Y,!1),Q})};v2.withBundleIdentifier=O90;function kT(D){return D.ios?.bundleIdentifier??null}function X90(D,Z){let Q=kT(D);if(!Q)return Z;return{...Z,CFBundleIdentifier:Q}}function F90(D,{targetName:Z,buildConfiguration:Q="Release"}={}){let Y;try{Y=Nq().getPBXProjectPath(D)}catch{return null}let J=NW().default.project(Y);J.parseSync();let q=PW().getXCBuildConfigurationFromPbxproj(J,{targetName:Z,buildConfiguration:Q});if(!q)return null;return U90(q)}function U90(D){let Z=D.buildSettings.PRODUCT_BUNDLE_IDENTIFIER;if(Z){let Q=hT().trimQuotes(Z);return SW().resolveXcodeBuildSetting(Q,(Y)=>D.buildSettings[Y])}else return null}function yT(D,Z,Q=!0){let Y=NW().default.project(D);Y.parseSync(),jq().default.writeFileSync(D,fT(Y,Z,Q).writeSync())}function fT(D,Z,Q=!0){let[,Y]=PW().findFirstNativeTarget(D);return SW().getBuildConfigurationsForListId(D,Y.buildConfigurationList).forEach(([,J])=>{if(J.buildSettings.PRODUCT_BUNDLE_IDENTIFIER===Z)return;if(J.buildSettings.PRODUCT_BUNDLE_IDENTIFIER=`"${Z}"`,Q){let q=Z.split(".").pop();if(!q?.includes("$"))J.buildSettings.PRODUCT_NAME=q}}),D}function A90(D,Z,Q=!0){let Y=[];try{Y=Nq().getAllPBXProjectPaths(D)}catch{}for(let J of Y)yT(J,Z,Q)}var TT="$(PRODUCT_BUNDLE_IDENTIFIER)";function $90(D){let Z=Nq().getAllInfoPlistPaths(D);for(let Q of Z)xT(Q)}function xT(D){let Z=jq().default.readFileSync(D,"utf8"),Q=jW().default.parse(Z);if(Q.CFBundleIdentifier){if(Q.CFBundleIdentifier===TT)return;let Y={pretty:!0,indent:"\t"},J=jW().default.build({...Q,CFBundleIdentifier:TT},Y);if(J!==Z)jq().default.writeFileSync(D,J)}}});var tT=M((PD)=>{Object.defineProperty(PD,"__esModule",{value:!0});PD.getDevelopmentTeam=sT;PD.setDevelopmentTeamForBuildConfiguration=aT;PD.setDevelopmentTeamForPbxproj=w90;PD.updateDevelopmentTeamForPbxproj=uW;PD.withDevelopmentTeam=void 0;function gT(){let D=rT(require("node:fs"));return gT=function(){return D},D}function cT(){let D=rT(v6());return cT=function(){return D},D}function dT(){let D=X7();return dT=function(){return D},D}function lT(){let D=v9();return lT=function(){return D},D}function pT(){let D=x5();return pT=function(){return D},D}function iT(){let D=O7();return iT=function(){return D},D}function nT(){let D=V5();return nT=function(){return D},D}function rT(D){return D&&D.__esModule?D:{default:D}}var E90=(D,{appleTeamId:Z}={})=>{return nT().withXcodeProject(D,(Q)=>{let Y=Z??sT(Q);if(Y)Q.modResults=uW(Q.modResults,Y);return Q})};PD.withDevelopmentTeam=E90;function sT(D){return D.ios?.appleTeamId??null}function aT(D,Z){if(Z)D.buildSettings.DEVELOPMENT_TEAM=iT().trimQuotes(Z);else delete D.buildSettings.DEVELOPMENT_TEAM}function uW(D,Z){return lT().getNativeTargets(D).forEach(([,Y])=>{pT().getBuildConfigurationsForListId(D,Y.buildConfigurationList).forEach(([,J])=>aT(J,Z))}),D}function w90(D,Z){let Q=dT().getAllPBXProjectPaths(D);for(let Y of Q){let J=cT().default.project(Y);J.parseSync(),J=uW(J,Z),gT().default.writeFileSync(Y,J.writeSync())}}});var qb=M((m9)=>{Object.defineProperty(m9,"__esModule",{value:!0});m9.formatDeviceFamilies=Yb;m9.getDeviceFamilies=Qb;m9.getIsTabletOnly=Zb;m9.getSupportsTablet=Db;m9.setDeviceFamily=Jb;m9.withDeviceFamily=void 0;function oT(){let D=V5();return oT=function(){return D},D}function eT(){let D=v5();return eT=function(){return D},D}var L90=(D)=>{return oT().withXcodeProject(D,async(Z)=>{return Z.modResults=await Jb(Z,{project:Z.modResults}),Z})};m9.withDeviceFamily=L90;function Db(D){return!!D.ios?.supportsTablet}function Zb(D){return!!D?.ios?.isTabletOnly}function Qb(D){let Z=Db(D),Q=Zb(D);if(Q&&D.ios?.supportsTablet===!1)eT().addWarningIOS("ios.supportsTablet","Found contradictory values: `{ ios: { isTabletOnly: true, supportsTablet: false } }`. Using `{ isTabletOnly: true }`.");if(Q)return[2];else if(Z)return[1,2];else return[1]}function Yb(D){return`"${D.join(",")}"`}function Jb(D,{project:Z}){let Q=Yb(Qb(D)),Y=Z.pbxXCBuildConfigurationSection();for(let{buildSettings:J}of Object.values(Y||{}))if(typeof J?.PRODUCT_NAME!=="undefined")if(typeof J?.TVOS_DEPLOYMENT_TARGET!=="undefined")J.TARGETED_DEVICE_FAMILY="3";else J.TARGETED_DEVICE_FAMILY=Q;return Z}});var TW=M((J9)=>{Object.defineProperty(J9,"__esModule",{value:!0});J9.appendScheme=C90;J9.getScheme=vW;J9.getSchemesFromPlist=I90;J9.hasScheme=M90;J9.removeScheme=R90;J9.setScheme=Hb;J9.withScheme=void 0;function Bb(){let D=V5();return Bb=function(){return D},D}var DY0=J9.withScheme=Bb().createInfoPlistPluginWithPropertyGuard(Hb,{infoPlistProperty:"CFBundleURLTypes",expoConfigProperty:"scheme"},"withScheme");function vW(D){if(Array.isArray(D.scheme)){let Z=(Q)=>{return typeof Q==="string"};return D.scheme.filter(Z)}else if(typeof D.scheme==="string")return[D.scheme];return[]}function Hb(D,Z){let Q=[...vW(D),...vW(D.ios??{})];if(D.ios?.bundleIdentifier)Q.push(D.ios.bundleIdentifier);if(Q.length===0)return Z;return{...Z,CFBundleURLTypes:[{CFBundleURLSchemes:Q}]}}function C90(D,Z){if(!D)return Z;let Q=Z.CFBundleURLTypes??[];if(Q?.some(({CFBundleURLSchemes:Y})=>Y.includes(D)))return Z;return{...Z,CFBundleURLTypes:[...Q,{CFBundleURLSchemes:[D]}]}}function R90(D,Z){if(!D)return Z;if(!Z.CFBundleURLTypes)return Z;return Z.CFBundleURLTypes=Z.CFBundleURLTypes.map((Q)=>{let Y=Q.CFBundleURLSchemes.indexOf(D);if(Y>-1){if(Q.CFBundleURLSchemes.splice(Y,1),Q.CFBundleURLSchemes.length===0)return}return Q}).filter(Boolean),Z}function M90(D,Z){let Q=Z.CFBundleURLTypes;if(!Array.isArray(Q))return!1;return Q?.some(({CFBundleURLSchemes:Y})=>Array.isArray(Y)?Y.includes(D):!1)}function I90(D){if(Array.isArray(D.CFBundleURLTypes))return D.CFBundleURLTypes.reduce((Z,{CFBundleURLSchemes:Q})=>{if(Array.isArray(Q))return[...Z,...Q];return Z},[]);return[]}});var Ub=M((T2)=>{Object.defineProperty(T2,"__esModule",{value:!0});T2.getGoogleServicesFile=kW;T2.getGoogleSignInReversedClientId=Wb;T2.setGoogleConfig=Xb;T2.setGoogleServicesFile=Fb;T2.setGoogleSignInReversedClientId=Ob;T2.withGoogleServicesFile=T2.withGoogle=void 0;function Vb(){let D=uq(zZ());return Vb=function(){return D},D}function Kb(){let D=uq(require("assert"));return Kb=function(){return D},D}function hW(){let D=uq(require("fs"));return hW=function(){return D},D}function Sq(){let D=uq(require("path"));return Sq=function(){return D},D}function Gb(){let D=X7();return Gb=function(){return D},D}function zb(){let D=TW();return zb=function(){return D},D}function bW(){let D=x5();return bW=function(){return D},D}function _W(){let D=V5();return _W=function(){return D},D}function uq(D){return D&&D.__esModule?D:{default:D}}var j90=(D)=>{return _W().withInfoPlist(D,(Z)=>{return Z.modResults=Xb(Z,Z.modResults,Z.modRequest),Z})};T2.withGoogle=j90;var N90=(D)=>{return _W().withXcodeProject(D,(Z)=>{return Z.modResults=Fb(Z,{projectRoot:Z.modRequest.projectRoot,project:Z.modResults}),Z})};T2.withGoogleServicesFile=N90;function P90(D,{projectRoot:Z}){let Q=Sq().default.resolve(Z,D),Y=hW().default.readFileSync(Q,"utf8");return Kb().default(Y,"GoogleService-Info.plist is empty"),Vb().default.parse(Y)}function Wb(D,Z){let Q=kW(D);if(Q===null)return null;return P90(Q,Z).REVERSED_CLIENT_ID??null}function kW(D){return D.ios?.googleServicesFile??null}function Ob(D,Z,Q){let Y=Wb(D,Q);if(Y===null)return Z;return zb().appendScheme(Y,Z)}function Xb(D,Z,Q){return Z=Ob(D,Z,Q),Z}function Fb(D,{projectRoot:Z,project:Q}){let Y=kW(D);if(Y===null)return Q;let J=Sq().default.resolve(Z,Y);hW().default.copyFileSync(J,Sq().default.join(Gb().getSourceRoot(Z),"GoogleService-Info.plist"));let q=bW().getProjectName(Z),B=`${q}/GoogleService-Info.plist`;if(!Q.hasFile(B))Q=bW().addResourceFileToGroup({filepath:B,groupName:q,project:Q,isBuildFile:!0,verbose:!0});return Q}});var Ab={};var Rb=M((p6)=>{Object.defineProperty(p6,"__esModule",{value:!0});p6.getLocales=Lb;p6.setLocalesAsync=Cb;p6.withLocales=void 0;function fW(){let D=wb(require("fs"));return fW=function(){return D},D}function WZ(){let D=wb(require("path"));return WZ=function(){return D},D}function vq(){let D=x5();return vq=function(){return D},D}function $b(){let D=V5();return $b=function(){return D},D}function Eb(){let D=nG();return Eb=function(){return D},D}function wb(D){return D&&D.__esModule?D:{default:D}}var S90=(D)=>{return $b().withXcodeProject(D,async(Z)=>{return Z.modResults=await Cb(Z,{projectRoot:Z.modRequest.projectRoot,project:Z.modResults}),Z})};p6.withLocales=S90;function Lb(D){return D.locales??null}async function Cb(D,{projectRoot:Z,project:Q}){let Y=Lb(D);if(!Y)return Q;let J=await Eb().getResolvedLocalesAsync(Z,Y,"ios"),q=vq().getProjectName(Z),B=WZ().default.join(Z,"ios",q,"Supporting"),H="InfoPlist.strings";for(let[V,K]of Object.entries(J)){let G=WZ().default.join(B,`${V}.lproj`);await fW().default.promises.mkdir(G,{recursive:!0});let W=WZ().default.join(G,H),O=[];for(let[L,j]of Object.entries(K))O.push(`${L} = "${j}";`);await fW().default.promises.writeFile(W,O.join(`
|
|
331
|
+
`));let F=`${q}/Supporting/${V}.lproj`;if(!vq().ensureGroupRecursively(Q,F)?.children.some(({comment:L})=>L===H))Q=vq().addResourceFileToGroup({filepath:WZ().default.relative(B,W),groupName:F,project:Q,isBuildFile:!0,verbose:!0})}return Q}});var Nb=M((L7)=>{Object.defineProperty(L7,"__esModule",{value:!0});L7.createGeneratedHeaderComment=Ib;L7.createHash=jb;L7.mergeContents=T90;L7.removeContents=b90;L7.removeGeneratedContents=xW;function Mb(){let D=u90(require("crypto"));return Mb=function(){return D},D}function u90(D){return D&&D.__esModule?D:{default:D}}function v90(D,Z){let Q=D.split(`
|
|
332
|
+
`),Y=Q.findIndex((q)=>new RegExp(`@generated begin ${Z} -`).test(q)),J=Q.findIndex((q)=>new RegExp(`@generated end ${Z}$`).test(q));return{contents:Q,start:Y,end:J}}function T90({src:D,newSrc:Z,tag:Q,anchor:Y,offset:J,comment:q}){let B=Ib(Z,Q,q);if(!D.includes(B)){let H=xW(D,Q);return{contents:h90(H??D,Y,J,[B,...Z.split(`
|
|
333
|
+
`),`${q} @generated end ${Q}`]),didMerge:!0,didClear:!!H}}return{contents:D,didClear:!1,didMerge:!1}}function b90({src:D,tag:Z}){let Q=xW(D,Z);return{contents:Q??D,didMerge:!1,didClear:!!Q}}function h90(D,Z,Q,Y){let J=D.split(`
|
|
334
|
+
`),q=J.findIndex((B)=>B.match(Z));if(q<0){let B=new Error(`Failed to match "${Z}" in contents:
|
|
335
|
+
${D}`);throw B.code="ERR_NO_MATCH",B}for(let B of Y)J.splice(q+Q,0,B),q++;return J.join(`
|
|
336
|
+
`)}function xW(D,Z){let{contents:Q,start:Y,end:J}=v90(D,Z);if(Y>-1&&J>-1&&Y<J)return Q.splice(Y,J-Y+1),Q.join(`
|
|
337
|
+
`);return null}function Ib(D,Z,Q){let Y=jb(D);return`${Q} @generated begin ${Z} - expo prebuild (DO NOT MODIFY) ${Y}`}function jb(D){return`sync-${Mb().default.createHash("sha1").update(D).digest("hex")}`}});var mb=M((L8)=>{Object.defineProperty(L8,"__esModule",{value:!0});L8.MATCH_INIT=void 0;L8.addGoogleMapsAppDelegateImport=Tb;L8.addGoogleMapsAppDelegateInit=hb;L8.addMapsCocoaPods=kb;L8.getGoogleMapsApiKey=gW;L8.removeGoogleMapsAppDelegateImport=bb;L8.removeGoogleMapsAppDelegateInit=_b;L8.removeMapsCocoaPods=yb;L8.setGoogleMapsApiKey=vb;L8.withMaps=void 0;function Pb(){let D=ub(require("path"));return Pb=function(){return D},D}function Sb(){let D=ub(s7());return Sb=function(){return D},D}function Tq(){let D=V5();return Tq=function(){return D},D}function C7(){let D=Nb();return C7=function(){return D},D}function ub(D){return D&&D.__esModule?D:{default:D}}var mW=kD()("expo:config-plugins:ios:maps"),_90=L8.MATCH_INIT=/\bsuper\.application\(\w+?, didFinishLaunchingWithOptions: \w+?\)/g,k90=Tq().createInfoPlistPlugin(vb,"withGoogleMapsKey"),y90=(D)=>{D=k90(D);let Z=gW(D);return mW("Google Maps API Key:",Z),D=f90(D,{useGoogleMaps:!!Z}),D=x90(D,{apiKey:Z}),D};L8.withMaps=y90;function gW(D){return D.ios?.config?.googleMapsApiKey??null}function vb(D,{GMSApiKey:Z,...Q}){let Y=gW(D);if(Y===null)return Q;return{...Q,GMSApiKey:Y}}function Tb(D){let Z=["#if canImport(GoogleMaps)","import GoogleMaps","#endif"];return C7().mergeContents({tag:"react-native-maps-import",src:D,newSrc:Z.join(`
|
|
338
|
+
`),anchor:/@UIApplicationMain/,offset:0,comment:"//"})}function bb(D){return C7().removeContents({tag:"react-native-maps-import",src:D})}function hb(D,Z){let Q=["#if canImport(GoogleMaps)",`GMSServices.provideAPIKey("${Z}")`,"#endif"];return C7().mergeContents({tag:"react-native-maps-init",src:D,newSrc:Q.join(`
|
|
339
|
+
`),anchor:_90,offset:0,comment:"//"})}function _b(D){return C7().removeContents({tag:"react-native-maps-init",src:D})}function kb(D){return C7().mergeContents({tag:"react-native-maps",src:D,newSrc:" pod 'react-native-google-maps', path: File.dirname(`node --print \"require.resolve('react-native-maps/package.json')\"`)",anchor:/use_native_modules/,offset:0,comment:"#"})}function yb(D){return C7().removeContents({tag:"react-native-maps",src:D})}function fb(D){let Z=Sb().default.silent(D,"react-native-maps/package.json");return Z?Pb().default.dirname(Z):null}function xb(D){return!0}var f90=(D,{useGoogleMaps:Z})=>{return Tq().withPodfile(D,async(Q)=>{let Y=fb(Q.modRequest.projectRoot),J=xb(Q);mW("Is Expo Autolinked:",J),mW("react-native-maps path:",Y);let q;if(J&&Y&&Z)try{q=kb(Q.modResults.contents)}catch(B){if(B.code==="ERR_NO_MATCH")throw new Error("Cannot add react-native-maps to the project's ios/Podfile because it's malformed. Report this with a copy of your project Podfile: https://github.com/expo/expo/issues");throw B}else q=yb(Q.modResults.contents);if(q.didMerge||q.didClear)Q.modResults.contents=q.contents;return Q})},x90=(D,{apiKey:Z})=>{return Tq().withAppDelegate(D,(Q)=>{if(!Z||!xb(Q)||!fb(Q.modRequest.projectRoot))return Q.modResults.contents=bb(Q.modResults.contents).contents,Q.modResults.contents=_b(Q.modResults.contents).contents,Q;if(Q.modResults.language!=="swift")throw new Error(`Cannot setup Google Maps because the project AppDelegate is not a supported language: ${Q.modResults.language}`);try{Q.modResults.contents=Tb(Q.modResults.contents).contents,Q.modResults.contents=hb(Q.modResults.contents,Z).contents}catch(Y){if(Y.code==="ERR_NO_MATCH")throw new Error("Cannot add Google Maps to the project's AppDelegate because it's malformed. Report this with a copy of your project AppDelegate: https://github.com/expo/expo/issues");throw Y}return Q})}});var pb=M((K2)=>{Object.defineProperty(K2,"__esModule",{value:!0});K2.getName=hq;K2.setDisplayName=cb;K2.setName=db;K2.setProductName=lb;K2.withProductName=K2.withName=K2.withDisplayName=void 0;function gb(){let D=v9();return gb=function(){return D},D}function cW(){let D=x5();return cW=function(){return D},D}function bq(){let D=V5();return bq=function(){return D},D}var BY0=K2.withDisplayName=bq().createInfoPlistPluginWithPropertyGuard(cb,{infoPlistProperty:"CFBundleDisplayName",expoConfigProperty:"name"},"withDisplayName"),HY0=K2.withName=bq().createInfoPlistPluginWithPropertyGuard(db,{infoPlistProperty:"CFBundleName",expoConfigProperty:"name"},"withName"),m90=(D)=>{return bq().withXcodeProject(D,(Z)=>{return Z.modResults=lb(Z,Z.modResults),Z})};K2.withProductName=m90;function hq(D){return typeof D.name==="string"?D.name:null}function cb(D,{CFBundleDisplayName:Z,...Q}){let Y=null;if(typeof D==="string")Y=D;else Y=hq(D);if(!Y)return Q;return{...Q,CFBundleDisplayName:Y}}function db(D,{CFBundleName:Z,...Q}){let Y=hq(D);if(!Y)return Q;return{...Q,CFBundleName:Y}}function lb(D,Z){let Q=cW().sanitizedName(hq(D)??"");if(!Q)return Z;let Y=g90(Q),[,J]=gb().findFirstNativeTarget(Z);return cW().getBuildConfigurationsForListId(Z,J.buildConfigurationList).forEach(([,q])=>{q.buildSettings.PRODUCT_NAME=Y}),Z}var g90=(D)=>{if(!D.match(/^['"]/))return`"${D}"`;return D}});var tb=M((q9)=>{Object.defineProperty(q9,"__esModule",{value:!0});q9.PORTRAIT_ORIENTATIONS=q9.LANDSCAPE_ORIENTATIONS=void 0;q9.getOrientation=sb;q9.setOrientation=ab;q9.withOrientation=void 0;function rb(){let D=V5();return rb=function(){return D},D}var KY0=q9.withOrientation=rb().createInfoPlistPluginWithPropertyGuard(ab,{infoPlistProperty:"UISupportedInterfaceOrientations",expoConfigProperty:"orientation"},"withOrientation");function sb(D){return D.orientation??null}var ib=q9.PORTRAIT_ORIENTATIONS=["UIInterfaceOrientationPortrait","UIInterfaceOrientationPortraitUpsideDown"],nb=q9.LANDSCAPE_ORIENTATIONS=["UIInterfaceOrientationLandscapeLeft","UIInterfaceOrientationLandscapeRight"];function c90(D){if(D==="portrait")return ib;else if(D==="landscape")return nb;else return[...ib,...nb]}function ab(D,Z){let Q=sb(D);return{...Z,UISupportedInterfaceOrientations:c90(Q)}}});var Zh=M((_q)=>{Object.defineProperty(_q,"__esModule",{value:!0});_q.applyPermissions=Dh;_q.createPermissionsPlugin=l90;function ob(){let D=d90(kD());return ob=function(){return D},D}function eb(){let D=V5();return eb=function(){return D},D}function d90(D){return D&&D.__esModule?D:{default:D}}var dW=ob().default("expo:config-plugins:ios:permissions");function Dh(D,Z,Q){let Y=Object.entries(D);if(Y.length===0)dW(`No defaults provided: ${JSON.stringify(Z)}`);for(let[J,q]of Y)if(Z[J]===!1)dW(`Deleting "${J}"`),delete Q[J];else Q[J]=Z[J]||Q[J]||q,dW(`Setting "${J}" to "${Q[J]}"`);return Q}function l90(D,Z){let Q=(Y,J)=>eb().withInfoPlist(Y,async(q)=>{return q.modResults=Dh(D,J,q.modResults),q});if(Z)Object.defineProperty(Q,"name",{value:Z});return Q}});var qh=M((XZ)=>{Object.defineProperty(XZ,"__esModule",{value:!0});XZ.mergePrivacyInfo=Jh;XZ.setPrivacyInfo=Yh;XZ.withPrivacyInfo=p90;function lW(){let D=iW(zZ());return lW=function(){return D},D}function i6(){let D=iW(require("fs"));return i6=function(){return D},D}function OZ(){let D=iW(require("path"));return OZ=function(){return D},D}function pW(){let D=x5();return pW=function(){return D},D}function Qh(){let D=V5();return Qh=function(){return D},D}function iW(D){return D&&D.__esModule?D:{default:D}}function p90(D){let Z=D.ios?.privacyManifests;if(!Z)return D;return Qh().withXcodeProject(D,(Q)=>{return Yh(Q,Z)})}function Yh(D,Z){let{projectRoot:Q,platformProjectRoot:Y}=D.modRequest,J=pW().getProjectName(Q),q=OZ().default.join(Y,J,"PrivacyInfo.xcprivacy"),B=i90(q),H=B?lW().default.parse(B):{},V=Jh(H,Z),K=lW().default.build(V);if(n90(q,K),!D.modResults.hasFile(q))D.modResults=pW().addResourceFileToGroup({filepath:OZ().default.join(J,"PrivacyInfo.xcprivacy"),groupName:J,project:D.modResults,isBuildFile:!0,verbose:!0});return D}function i90(D){if(!i6().default.existsSync(D))return null;return i6().default.readFileSync(D,{encoding:"utf8"})}function n90(D,Z){if(!i6().default.existsSync(OZ().default.dirname(D)))i6().default.mkdirSync(OZ().default.dirname(D),{recursive:!0});i6().default.writeFileSync(D,Z)}function Jh(D,Z){let{NSPrivacyAccessedAPITypes:Q=[],NSPrivacyCollectedDataTypes:Y=[],NSPrivacyTracking:J=!1,NSPrivacyTrackingDomains:q=[]}=structuredClone(D);return J=Z.NSPrivacyTracking??D.NSPrivacyTracking??!1,Z.NSPrivacyAccessedAPITypes?.forEach((B)=>{let H=Q.find((V)=>V.NSPrivacyAccessedAPIType===B.NSPrivacyAccessedAPIType);if(!H)Q.push(B);else H.NSPrivacyAccessedAPITypeReasons=[...new Set(H?.NSPrivacyAccessedAPITypeReasons?.concat(...B.NSPrivacyAccessedAPITypeReasons))]}),Z.NSPrivacyCollectedDataTypes?.forEach((B)=>{let H=Y.find((V)=>V.NSPrivacyCollectedDataType===B.NSPrivacyCollectedDataType);if(!H)Y.push(B);else H.NSPrivacyCollectedDataTypePurposes=[...new Set(H?.NSPrivacyCollectedDataTypePurposes?.concat(...B.NSPrivacyCollectedDataTypePurposes))]}),q=[...new Set(q.concat(Z.NSPrivacyTrackingDomains??[]))],{NSPrivacyAccessedAPITypes:Q,NSPrivacyCollectedDataTypes:Y,NSPrivacyTracking:J,NSPrivacyTrackingDomains:q}}});var Vh=M((rW)=>{Object.defineProperty(rW,"__esModule",{value:!0});rW.setProvisioningProfileForPbxproj=s90;function Bh(){let D=r90(require("fs"));return Bh=function(){return D},D}function nW(){let D=v9();return nW=function(){return D},D}function FZ(){let D=x5();return FZ=function(){return D},D}function Hh(){let D=O7();return Hh=function(){return D},D}function r90(D){return D&&D.__esModule?D:{default:D}}function s90(D,{targetName:Z,profileName:Q,appleTeamId:Y,buildConfiguration:J="Release"}){let q=FZ().getPbxproj(D),B=Z?nW().findNativeTargetByName(q,Z):nW().findFirstNativeTarget(q),[H,V]=B,K=a90(Y);FZ().getBuildConfigurationsForListId(q,V.buildConfigurationList).filter(([,G])=>Hh().trimQuotes(G.name)===J).forEach(([,G])=>{G.buildSettings.PROVISIONING_PROFILE_SPECIFIER=`"${Q}"`,G.buildSettings.DEVELOPMENT_TEAM=K,G.buildSettings.CODE_SIGN_IDENTITY='"iPhone Distribution"',G.buildSettings.CODE_SIGN_STYLE="Manual"}),Object.entries(FZ().getProjectSection(q)).filter(FZ().isNotComment).forEach(([,G])=>{if(!G.attributes.TargetAttributes[H])G.attributes.TargetAttributes[H]={};G.attributes.TargetAttributes[H].DevelopmentTeam=K,G.attributes.TargetAttributes[H].ProvisioningStyle="Manual"}),Bh().default.writeFileSync(q.filepath,q.writeSync())}var a90=(D)=>{if(!D.match(/^['"]/))return`"${D}"`;return D}});var Oh=M((UZ)=>{Object.defineProperty(UZ,"__esModule",{value:!0});UZ.setRequiresFullScreen=Wh;UZ.withRequiresFullScreen=void 0;function Kh(){let D=V5();return Kh=function(){return D},D}function Gh(){let D=v5();return Gh=function(){return D},D}var XY0=UZ.withRequiresFullScreen=Kh().createInfoPlistPlugin(Wh,"withRequiresFullScreen"),sW="UISupportedInterfaceOrientations~ipad",zh=["UIInterfaceOrientationPortrait","UIInterfaceOrientationPortraitUpsideDown","UIInterfaceOrientationLandscapeLeft","UIInterfaceOrientationLandscapeRight"];function t90(D){return Array.isArray(D)&&D.every((Z)=>typeof Z==="string")}function o90(D){return zh.every((Z)=>D.includes(Z))}function e90(D){if(t90(D)&&D.length&&!o90(D)){let Z=D.join(", ");return Gh().addWarningIOS("ios.requireFullScreen",`iPad multitasking requires all \`${sW}\` orientations to be defined in the Info.plist. The Info.plist currently defines values that are incompatible with multitasking, these will be overwritten to prevent submission failure. Existing: ${Z}`),D}return[]}function Wh(D,Z){let Q=!!D.ios?.requireFullScreen;if((D.ios?.supportsTablet||D.ios?.isTabletOnly)&&!Q){let J=e90(Z[sW]);Z[sW]=[...new Set(J.concat(zh))]}return{...Z,UIRequiresFullScreen:Q}}});var wh=M((B9)=>{Object.defineProperty(B9,"__esModule",{value:!0});B9.Config=void 0;B9.setUpdatesConfigAsync=$h;B9.setVersionsConfigAsync=Eh;B9.withUpdatesNativeDebugPodfileProps=B9.withUpdates=void 0;function Xh(){let D=ez();return Xh=function(){return D},D}function Fh(){let D=V5();return Fh=function(){return D},D}function Uh(){let D=fJ();return Uh=function(){return D},D}function G2(){let D=gJ();return G2=function(){return D},D}function Ah(){let D=v5();return Ah=function(){return D},D}var _5=B9.Config=function(D){return D.ENABLED="EXUpdatesEnabled",D.CHECK_ON_LAUNCH="EXUpdatesCheckOnLaunch",D.LAUNCH_WAIT_MS="EXUpdatesLaunchWaitMs",D.RUNTIME_VERSION="EXUpdatesRuntimeVersion",D.UPDATE_URL="EXUpdatesURL",D.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY="EXUpdatesRequestHeaders",D.UPDATES_HAS_EMBEDDED_UPDATE="EXUpdatesHasEmbeddedUpdate",D.CODE_SIGNING_CERTIFICATE="EXUpdatesCodeSigningCertificate",D.CODE_SIGNING_METADATA="EXUpdatesCodeSigningMetadata",D.DISABLE_ANTI_BRICKING_MEASURES="EXUpdatesDisableAntiBrickingMeasures",D}({}),DD0=(D)=>{return Uh().withPlugins(D,[QD0,ZD0])};B9.withUpdates=DD0;var ZD0=B9.withUpdatesNativeDebugPodfileProps=Xh().createBuildPodfilePropsConfigPlugin([{propName:"updatesNativeDebug",propValueGetter:(D)=>D?.updates?.useNativeDebug===!0?"true":void 0}],"withUpdatesNativeDebugPodfileProps"),QD0=(D)=>{return Fh().withExpoPlist(D,async(Z)=>{let Q=Z.modRequest.projectRoot,Y=G2().getExpoUpdatesPackageVersion(Q);return Z.modResults=await $h(Q,Z,Z.modResults,Y),Z})};async function $h(D,Z,Q,Y){let J=G2().getUpdatesCheckOnLaunch(Z,Y),q=G2().getUpdatesTimeout(Z),B=G2().getUpdatesUseEmbeddedUpdate(Z);if(!B&&q===0&&J!=="ALWAYS")Ah().addWarningIOS("updates.useEmbeddedUpdate",'updates.checkOnLaunch should be set to "ON_LOAD" and updates.fallbackToCacheTimeout should be set to a non-zero value when updates.useEmbeddedUpdate is set to false. This is because an update must be fetched on the initial launch, when no embedded update is available.');let H={...Q,[_5.ENABLED]:G2().getUpdatesEnabled(Z),[_5.CHECK_ON_LAUNCH]:J,[_5.LAUNCH_WAIT_MS]:q};if(B)delete H[_5.UPDATES_HAS_EMBEDDED_UPDATE];else H[_5.UPDATES_HAS_EMBEDDED_UPDATE]=!1;let V=G2().getUpdateUrl(Z);if(V)H[_5.UPDATE_URL]=V;else delete H[_5.UPDATE_URL];let K=G2().getUpdatesCodeSigningCertificate(D,Z);if(K)H[_5.CODE_SIGNING_CERTIFICATE]=K;else delete H[_5.CODE_SIGNING_CERTIFICATE];let G=G2().getUpdatesCodeSigningMetadata(Z);if(G)H[_5.CODE_SIGNING_METADATA]=G;else delete H[_5.CODE_SIGNING_METADATA];let W=G2().getUpdatesRequestHeaders(Z);if(W)H[_5.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY]=W;else delete H[_5.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY];let O=G2().getDisableAntiBrickingMeasures(Z);if(O)H[_5.DISABLE_ANTI_BRICKING_MEASURES]=O;else delete H[_5.DISABLE_ANTI_BRICKING_MEASURES];return await Eh(D,Z,H)}async function Eh(D,Z,Q){let Y={...Q},J=await G2().getRuntimeVersionNullableAsync(D,Z,"ios");if(!J&&Q[_5.RUNTIME_VERSION])throw new Error("A runtime version is set in your Expo.plist, but is missing from your Expo app config (app.json/app.config.js). Set runtimeVersion in your Expo app config or remove EXUpdatesRuntimeVersion from your Expo.plist.");if(J)delete Y.EXUpdatesSDKVersion,Y[_5.RUNTIME_VERSION]=J;else delete Y.EXUpdatesSDKVersion,delete Y[_5.RUNTIME_VERSION];return Y}});var Mh=M((n6)=>{Object.defineProperty(n6,"__esModule",{value:!0});n6.getUsesNonExemptEncryption=Ch;n6.setUsesNonExemptEncryption=Rh;n6.withUsesNonExemptEncryption=void 0;function Lh(){let D=V5();return Lh=function(){return D},D}var AY0=n6.withUsesNonExemptEncryption=Lh().createInfoPlistPluginWithPropertyGuard(Rh,{infoPlistProperty:"ITSAppUsesNonExemptEncryption",expoConfigProperty:"ios.config.usesNonExemptEncryption"},"withUsesNonExemptEncryption");function Ch(D){return D?.ios?.config?.usesNonExemptEncryption??null}function Rh(D,{ITSAppUsesNonExemptEncryption:Z,...Q}){let Y=Ch(D);if(Y===null)return Q;return{...Q,ITSAppUsesNonExemptEncryption:Y}}});var Ph=M((AZ)=>{Object.defineProperty(AZ,"__esModule",{value:!0});AZ.createBuildSourceFile=Nh;AZ.withBuildSourceFile=void 0;function aW(){let D=jh(require("fs"));return aW=function(){return D},D}function kq(){let D=jh(require("path"));return kq=function(){return D},D}function tW(){let D=x5();return tW=function(){return D},D}function Ih(){let D=V5();return Ih=function(){return D},D}function jh(D){return D&&D.__esModule?D:{default:D}}var YD0=(D,{filePath:Z,contents:Q,overwrite:Y})=>{return Ih().withXcodeProject(D,(J)=>{let q=tW().getProjectName(J.modRequest.projectRoot);return J.modResults=Nh({project:J.modResults,nativeProjectRoot:J.modRequest.platformProjectRoot,fileContents:Q,filePath:kq().default.join(q,Z),overwrite:Y}),J})};AZ.withBuildSourceFile=YD0;function Nh({project:D,nativeProjectRoot:Z,filePath:Q,fileContents:Y,overwrite:J}){let q=kq().default.join(Z,Q);if(J||!aW().default.existsSync(q))aW().default.writeFileSync(q,Y,"utf8");let B=kq().default.dirname(Q);if(!D.hasFile(Q))D=tW().addBuildSourceFileToGroup({filepath:Q,groupName:B,project:D});return D}});var eW=M((m0)=>{Object.defineProperty(m0,"__esModule",{value:!0});m0.Entitlements=m0.DeviceFamily=m0.DevelopmentTeam=m0.BundleIdentifier=m0.BuildScheme=m0.BuildProperties=m0.Bitcode=void 0;Object.defineProperty(m0,"ExpoPlist",{enumerable:!0,get:function(){return oW().ExpoPlist}});m0.Google=void 0;Object.defineProperty(m0,"InfoPlist",{enumerable:!0,get:function(){return oW().InfoPlist}});m0.XcodeUtils=m0.XcodeProjectFile=m0.Version=m0.UsesNonExemptEncryption=m0.Updates=m0.Target=m0.Scheme=m0.RequiresFullScreen=m0.ProvisioningProfile=m0.PrivacyInfo=m0.Permissions=m0.Paths=m0.Orientation=m0.Name=m0.Maps=m0.Locales=void 0;function Sh(){let D=r1(Vu());return Sh=function(){return D},D}Object.defineProperty(m0,"Bitcode",{enumerable:!0,get:function(){return Sh()}});function uh(){let D=r1(ez());return uh=function(){return D},D}Object.defineProperty(m0,"BuildProperties",{enumerable:!0,get:function(){return uh()}});function vh(){let D=r1(mz());return vh=function(){return D},D}Object.defineProperty(m0,"BuildScheme",{enumerable:!0,get:function(){return vh()}});function Th(){let D=r1(mT());return Th=function(){return D},D}Object.defineProperty(m0,"BundleIdentifier",{enumerable:!0,get:function(){return Th()}});function bh(){let D=r1(tT());return bh=function(){return D},D}Object.defineProperty(m0,"DevelopmentTeam",{enumerable:!0,get:function(){return bh()}});function hh(){let D=r1(qb());return hh=function(){return D},D}Object.defineProperty(m0,"DeviceFamily",{enumerable:!0,get:function(){return hh()}});function _h(){let D=r1(tJ());return _h=function(){return D},D}Object.defineProperty(m0,"Entitlements",{enumerable:!0,get:function(){return _h()}});function kh(){let D=r1(Ub());return kh=function(){return D},D}Object.defineProperty(m0,"Google",{enumerable:!0,get:function(){return kh()}});function oW(){let D=uZ(Ab);return oW=function(){return D},D}function yh(){let D=r1(Rb());return yh=function(){return D},D}Object.defineProperty(m0,"Locales",{enumerable:!0,get:function(){return yh()}});function fh(){let D=r1(mb());return fh=function(){return D},D}Object.defineProperty(m0,"Maps",{enumerable:!0,get:function(){return fh()}});function xh(){let D=r1(pb());return xh=function(){return D},D}Object.defineProperty(m0,"Name",{enumerable:!0,get:function(){return xh()}});function mh(){let D=r1(tb());return mh=function(){return D},D}Object.defineProperty(m0,"Orientation",{enumerable:!0,get:function(){return mh()}});function gh(){let D=r1(X7());return gh=function(){return D},D}Object.defineProperty(m0,"Paths",{enumerable:!0,get:function(){return gh()}});function ch(){let D=r1(Zh());return ch=function(){return D},D}Object.defineProperty(m0,"Permissions",{enumerable:!0,get:function(){return ch()}});function dh(){let D=r1(qh());return dh=function(){return D},D}Object.defineProperty(m0,"PrivacyInfo",{enumerable:!0,get:function(){return dh()}});function lh(){let D=r1(Vh());return lh=function(){return D},D}Object.defineProperty(m0,"ProvisioningProfile",{enumerable:!0,get:function(){return lh()}});function ph(){let D=r1(Oh());return ph=function(){return D},D}Object.defineProperty(m0,"RequiresFullScreen",{enumerable:!0,get:function(){return ph()}});function ih(){let D=r1(TW());return ih=function(){return D},D}Object.defineProperty(m0,"Scheme",{enumerable:!0,get:function(){return ih()}});function nh(){let D=r1(v9());return nh=function(){return D},D}Object.defineProperty(m0,"Target",{enumerable:!0,get:function(){return nh()}});function rh(){let D=r1(wh());return rh=function(){return D},D}Object.defineProperty(m0,"Updates",{enumerable:!0,get:function(){return rh()}});function sh(){let D=r1(Mh());return sh=function(){return D},D}Object.defineProperty(m0,"UsesNonExemptEncryption",{enumerable:!0,get:function(){return sh()}});function ah(){let D=r1(Mz());return ah=function(){return D},D}Object.defineProperty(m0,"Version",{enumerable:!0,get:function(){return ah()}});function th(){let D=r1(Ph());return th=function(){return D},D}Object.defineProperty(m0,"XcodeProjectFile",{enumerable:!0,get:function(){return th()}});function oh(){let D=r1(x5());return oh=function(){return D},D}Object.defineProperty(m0,"XcodeUtils",{enumerable:!0,get:function(){return oh()}});function eh(D){if(typeof WeakMap!="function")return null;var Z=new WeakMap,Q=new WeakMap;return(eh=function(Y){return Y?Q:Z})(D)}function r1(D,Z){if(!Z&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var Q=eh(Z);if(Q&&Q.has(D))return Q.get(D);var Y={__proto__:null},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in D)if(q!=="default"&&{}.hasOwnProperty.call(D,q)){var B=J?Object.getOwnPropertyDescriptor(D,q):null;B&&(B.get||B.set)?Object.defineProperty(Y,q,B):Y[q]=D[q]}return Y.default=D,Q&&Q.set(D,Y),Y}});var $Z=M((R7)=>{Object.defineProperty(R7,"__esModule",{value:!0});R7.assertModResults=J_;R7.createBaseMod=Y_;R7.createPlatformBaseMod=q_;R7.provider=BD0;R7.withGeneratedBaseMods=HD0;function Z_(){let D=JD0(kD());return Z_=function(){return D},D}function Q_(){let D=q7();return Q_=function(){return D},D}function JD0(D){return D&&D.__esModule?D:{default:D}}var qD0=Z_().default("expo:config-plugins:base-mods");function Y_({methodName:D,platform:Z,modName:Q,getFilePath:Y,read:J,write:q,isIntrospective:B}){let H=(V,K)=>{let G=K||{};return Q_().withBaseMod(V,{platform:Z,mod:Q,skipEmptyMod:G.skipEmptyMod??!0,saveToInternal:G.saveToInternal??!1,isProvider:!0,isIntrospective:B,async action({modRequest:{nextMod:W,...O},...F}){try{let E={...F,modRequest:O},L=await Y(E,G);qD0(`mods.${Z}.${Q}: file path: ${L||"[skipped]"}`);let j=await J(L,E,G);return E=await W({...E,modResults:j,modRequest:O}),J_(E,O.platform,O.modName),await q(L,E,G),E}catch(E){throw E.message=`[${Z}.${Q}]: ${D}: ${E.message}`,E}}})};if(D)Object.defineProperty(H,"name",{value:D});return H}function J_(D,Z,Q){let Y=D;if(!Y||typeof Y!=="object"||!Y?.mods)throw new Error(`Mod \`mods.${Z}.${Q}\` evaluated to an object that is not a valid project config. Instead got: ${JSON.stringify(Y)}`);return Y}function D_(D){return D.charAt(0).toUpperCase()+D.slice(1)}function q_({modName:D,...Z}){let Q=`with${D_(Z.platform)}${D_(D)}BaseMod`;return Y_({methodName:Q,modName:D,...Z})}function BD0(D){return D}function HD0(D,{platform:Z,providers:Q,...Y}){return Object.entries(Q).reduce((J,[q,B])=>{return q_({platform:Z,modName:q,...B})(J,Y)},D)}});var DO=M((M7)=>{Object.defineProperty(M7,"__esModule",{value:!0});M7.reverseSortString=void 0;M7.sortObjWithOrder=KD0;M7.sortObject=VD0;M7.sortWithOrder=B_;function VD0(D,Z){return Object.keys(D).sort(Z).reduce((Q,Y)=>({...Q,[Y]:D[Y]}),{})}function KD0(D,Z){return B_(Object.keys(D),Z).reduce((Y,J)=>({...Y,[J]:D[J]}),{})}function B_(D,Z){let Q=[...new Set(Z.concat(D))],Y=[];while(Q.length){let J=Q.shift(),q=D.indexOf(J);if(q>-1){let[B]=D.splice(q,1);Y.push(B)}}return Y}var GD0=(D,Z)=>{if(D<Z)return 1;if(D>Z)return-1;return 0};M7.reverseSortString=GD0});var QO=M((EZ)=>{Object.defineProperty(EZ,"__esModule",{value:!0});EZ.getAndroidModFileProviders=K_;EZ.sortAndroidManifest=V_;EZ.withAndroidBaseMods=FD0;function H_(){let D=require("fs");return H_=function(){return D},D}function ZO(){let D=zD0(require("path"));return ZO=function(){return D},D}function V8(){let D=$Z();return V8=function(){return D},D}function e1(){let D=Sz();return e1=function(){return D},D}function s6(){let D=J7();return s6=function(){return D},D}function yq(){let D=DO();return yq=function(){return D},D}function zD0(D){return D&&D.__esModule?D:{default:D}}var{readFile:WD0,writeFile:r6}=H_().promises;function OD0(D){return s6().parseXMLAsync(`
|
|
340
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="${D.android?.package??"com.placeholder.appid"}">
|
|
341
|
+
|
|
342
|
+
<uses-permission android:name="android.permission.INTERNET"/>
|
|
343
|
+
<!-- OPTIONAL PERMISSIONS, REMOVE WHATEVER YOU DO NOT NEED -->
|
|
344
|
+
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
|
345
|
+
<uses-permission android:name="android.permission.VIBRATE"/>
|
|
346
|
+
<!-- These require runtime permissions on M -->
|
|
347
|
+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
|
348
|
+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
|
349
|
+
<!-- END OPTIONAL PERMISSIONS -->
|
|
350
|
+
|
|
351
|
+
<queries>
|
|
352
|
+
<!-- Support checking for http(s) links via the Linking API -->
|
|
353
|
+
<intent>
|
|
354
|
+
<action android:name="android.intent.action.VIEW" />
|
|
355
|
+
<category android:name="android.intent.category.BROWSABLE" />
|
|
356
|
+
<data android:scheme="https" />
|
|
357
|
+
</intent>
|
|
358
|
+
</queries>
|
|
359
|
+
|
|
360
|
+
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="false" android:theme="@style/AppTheme" android:supportsRtl="true">
|
|
361
|
+
<activity android:name=".MainActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true">
|
|
362
|
+
<intent-filter>
|
|
363
|
+
<action android:name="android.intent.action.MAIN"/>
|
|
364
|
+
<category android:name="android.intent.category.LAUNCHER"/>
|
|
365
|
+
</intent-filter>
|
|
366
|
+
</activity>
|
|
367
|
+
</application>
|
|
368
|
+
</manifest>
|
|
369
|
+
`)}function V_(D){if(D.manifest){if(D.manifest=yq().sortObject(D.manifest,yq().reverseSortString),Array.isArray(D.manifest["uses-permission"]))D.manifest["uses-permission"].sort((Z,Q)=>{if(Z.$["android:name"]<Q.$["android:name"])return-1;if(Z.$["android:name"]>Q.$["android:name"])return 1;return 0});if(Array.isArray(D.manifest.application))D.manifest.application=D.manifest.application.map((Z)=>{if(Z=yq().sortObjWithOrder(Z,["meta-data","service","activity"]),Array.isArray(Z["meta-data"]))Z["meta-data"].sort((Q,Y)=>{if(Q.$["android:name"]<Y.$["android:name"])return-1;if(Q.$["android:name"]>Y.$["android:name"])return 1;return 0});return Z})}return D}var XD0={dangerous:V8().provider({getFilePath(){return""},async read(){return{filePath:"",modResults:{}}},async write(){}}),finalized:V8().provider({getFilePath(){return""},async read(){return{filePath:"",modResults:{}}},async write(){}}),manifest:V8().provider({isIntrospective:!0,getFilePath({modRequest:{platformProjectRoot:D}}){return ZO().default.join(D,"app/src/main/AndroidManifest.xml")},async read(D,Z){try{return await e1().Manifest.readAndroidManifestAsync(D)}catch(Q){if(!Z.modRequest.introspect)throw Q}return await OD0(Z)},async write(D,{modResults:Z,modRequest:{introspect:Q}}){if(Q)return;await e1().Manifest.writeAndroidManifestAsync(D,V_(Z))}}),gradleProperties:V8().provider({isIntrospective:!0,getFilePath({modRequest:{platformProjectRoot:D}}){return ZO().default.join(D,"gradle.properties")},async read(D,Z){try{return await e1().Properties.parsePropertiesFile(await WD0(D,"utf8"))}catch(Q){if(!Z.modRequest.introspect)throw Q}return[]},async write(D,{modResults:Z,modRequest:{introspect:Q}}){if(Q)return;await r6(D,e1().Properties.propertiesListToString(Z))}}),strings:V8().provider({isIntrospective:!0,async getFilePath({modRequest:{projectRoot:D,introspect:Z}}){try{return await e1().Strings.getProjectStringsXMLPathAsync(D)}catch(Q){if(!Z)throw Q}return""},async read(D,Z){try{return await e1().Resources.readResourcesXMLAsync({path:D})}catch(Q){if(!Z.modRequest.introspect)throw Q}return{resources:{}}},async write(D,{modResults:Z,modRequest:{introspect:Q}}){if(Q)return;await s6().writeXMLAsync({path:D,xml:Z})}}),colors:V8().provider({isIntrospective:!0,async getFilePath({modRequest:{projectRoot:D,introspect:Z}}){try{return await e1().Colors.getProjectColorsXMLPathAsync(D)}catch(Q){if(!Z)throw Q}return""},async read(D,{modRequest:{introspect:Z}}){try{return await e1().Resources.readResourcesXMLAsync({path:D})}catch(Q){if(!Z)throw Q}return{resources:{}}},async write(D,{modResults:Z,modRequest:{introspect:Q}}){if(Q)return;await s6().writeXMLAsync({path:D,xml:Z})}}),colorsNight:V8().provider({isIntrospective:!0,async getFilePath({modRequest:{projectRoot:D,introspect:Z}}){try{return await e1().Colors.getProjectColorsXMLPathAsync(D,{kind:"values-night"})}catch(Q){if(!Z)throw Q}return""},async read(D,Z){try{return await e1().Resources.readResourcesXMLAsync({path:D})}catch(Q){if(!Z.modRequest.introspect)throw Q}return{resources:{}}},async write(D,{modResults:Z,modRequest:{introspect:Q}}){if(Q)return;await s6().writeXMLAsync({path:D,xml:Z})}}),styles:V8().provider({isIntrospective:!0,async getFilePath({modRequest:{projectRoot:D,introspect:Z}}){try{return await e1().Styles.getProjectStylesXMLPathAsync(D)}catch(Q){if(!Z)throw Q}return""},async read(D,Z){let Q={resources:{}};try{Q=await e1().Resources.readResourcesXMLAsync({path:D,fallback:'<?xml version="1.0" encoding="utf-8"?><resources xmlns:tools="http://schemas.android.com/tools"></resources>'})}catch(Y){if(!Z.modRequest.introspect)throw Y}if(!Q.resources.$)Q.resources.$={};if(!Q.resources.$?.["xmlns:tools"])Q.resources.$["xmlns:tools"]="http://schemas.android.com/tools";return Q},async write(D,{modResults:Z,modRequest:{introspect:Q}}){if(Q)return;await s6().writeXMLAsync({path:D,xml:Z})}}),projectBuildGradle:V8().provider({getFilePath({modRequest:{projectRoot:D}}){return e1().Paths.getProjectBuildGradleFilePath(D)},async read(D){return e1().Paths.getFileInfo(D)},async write(D,{modResults:{contents:Z}}){await r6(D,Z)}}),settingsGradle:V8().provider({getFilePath({modRequest:{projectRoot:D}}){return e1().Paths.getSettingsGradleFilePath(D)},async read(D){return e1().Paths.getFileInfo(D)},async write(D,{modResults:{contents:Z}}){await r6(D,Z)}}),appBuildGradle:V8().provider({getFilePath({modRequest:{projectRoot:D}}){return e1().Paths.getAppBuildGradleFilePath(D)},async read(D){return e1().Paths.getFileInfo(D)},async write(D,{modResults:{contents:Z}}){await r6(D,Z)}}),mainActivity:V8().provider({getFilePath({modRequest:{projectRoot:D}}){return e1().Paths.getProjectFilePath(D,"MainActivity")},async read(D){return e1().Paths.getFileInfo(D)},async write(D,{modResults:{contents:Z}}){await r6(D,Z)}}),mainApplication:V8().provider({getFilePath({modRequest:{projectRoot:D}}){return e1().Paths.getProjectFilePath(D,"MainApplication")},async read(D){return e1().Paths.getFileInfo(D)},async write(D,{modResults:{contents:Z}}){await r6(D,Z)}})};function FD0(D,{providers:Z,...Q}={}){return V8().withGeneratedBaseMods(D,{...Q,platform:"android",providers:Z??K_()})}function K_(){return XD0}});var W_=M((YO)=>{Object.defineProperty(YO,"__esModule",{value:!0});YO.getInfoPlistPathFromPbxproj=UD0;function G_(){let D=x5();return G_=function(){return D},D}function z_(){let D=v9();return z_=function(){return D},D}function UD0(D,{targetName:Z,buildConfiguration:Q="Release"}={}){let Y=G_().resolvePathOrProject(D);if(!Y)return null;let J=z_().getXCBuildConfigurationFromPbxproj(Y,{targetName:Z,buildConfiguration:Q});if(!J)return null;return AD0(J.buildSettings.INFOPLIST_FILE)}function AD0(D){return D?.replace(/"/g,"").replace("$(SRCROOT)","")??null}});var KO=M((xq)=>{Object.defineProperty(xq,"__esModule",{value:!0});xq.getIosModFileProviders=w_;xq.withIosBaseMods=LD0;function qO(){let D=LZ(c7());return qO=function(){return D},D}function I7(){let D=LZ(zZ());return I7=function(){return D},D}function BO(){let D=LZ(require("assert"));return BO=function(){return D},D}function VO(){let D=$D0(require("fs"));return VO=function(){return D},D}function wZ(){let D=LZ(require("path"));return wZ=function(){return D},D}function X_(){let D=LZ(v6());return X_=function(){return D},D}function b2(){let D=$Z();return b2=function(){return D},D}function SD(){let D=eW();return SD=function(){return D},D}function F_(){let D=tJ();return F_=function(){return D},D}function U_(){let D=x5();return U_=function(){return D},D}function A_(){let D=W_();return A_=function(){return D},D}function $_(){let D=L3();return $_=function(){return D},D}function fq(){let D=DO();return fq=function(){return D},D}function HO(){let D=v5();return HO=function(){return D},D}function E_(D){if(typeof WeakMap!="function")return null;var Z=new WeakMap,Q=new WeakMap;return(E_=function(Y){return Y?Q:Z})(D)}function $D0(D,Z){if(!Z&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var Q=E_(Z);if(Q&&Q.has(D))return Q.get(D);var Y={__proto__:null},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in D)if(q!=="default"&&{}.hasOwnProperty.call(D,q)){var B=J?Object.getOwnPropertyDescriptor(D,q):null;B&&(B.get||B.set)?Object.defineProperty(Y,q,B):Y[q]=D[q]}return Y.default=D,Q&&Q.set(D,Y),Y}function LZ(D){return D&&D.__esModule?D:{default:D}}var{readFile:JO,writeFile:a6}=VO().promises;function O_(){return{}}function ED0(){return{CFBundleDevelopmentRegion:"$(DEVELOPMENT_LANGUAGE)",CFBundleExecutable:"$(EXECUTABLE_NAME)",CFBundleIdentifier:"$(PRODUCT_BUNDLE_IDENTIFIER)",CFBundleName:"$(PRODUCT_NAME)",CFBundlePackageType:"$(PRODUCT_BUNDLE_PACKAGE_TYPE)",CFBundleInfoDictionaryVersion:"6.0",CFBundleSignature:"????",LSMinimumSystemVersion:"12.0",LSRequiresIPhoneOS:!0,NSAppTransportSecurity:{NSAllowsArbitraryLoads:!0,NSExceptionDomains:{localhost:{NSExceptionAllowsInsecureHTTPLoads:!0}}},UILaunchStoryboardName:"SplashScreen",UIRequiredDeviceCapabilities:["armv7"],UIViewControllerBasedStatusBarAppearance:!1,UIStatusBarStyle:"UIStatusBarStyleDefault",CADisableMinimumFrameDurationOnPhone:!0}}var wD0={dangerous:b2().provider({getFilePath(){return""},async read(){return{}},async write(){}}),finalized:b2().provider({getFilePath(){return""},async read(){return{}},async write(){}}),appDelegate:b2().provider({getFilePath({modRequest:{projectRoot:D}}){return SD().Paths.getAppDelegateFilePath(D)},async read(D){return SD().Paths.getFileInfo(D)},async write(D,{modResults:{contents:Z}}){await a6(D,Z)}}),expoPlist:b2().provider({isIntrospective:!0,getFilePath({modRequest:{platformProjectRoot:D,projectName:Z}}){let Q=wZ().default.join(D,Z,"Supporting");return wZ().default.resolve(Q,"Expo.plist")},async read(D,{modRequest:{introspect:Z}}){try{return I7().default.parse(await JO(D,"utf8"))}catch(Q){if(Z)return{};throw Q}},async write(D,{modResults:Z,modRequest:{introspect:Q}}){if(Q)return;await a6(D,I7().default.build(fq().sortObject(Z)))}}),xcodeproj:b2().provider({getFilePath({modRequest:{projectRoot:D}}){return SD().Paths.getPBXProjectPath(D)},async read(D){let Z=X_().default.project(D);return Z.parseSync(),Z},async write(D,{modResults:Z}){await a6(D,Z.writeSync())}}),infoPlist:b2().provider({isIntrospective:!0,async getFilePath(D){let Z=null;try{Z=U_().getPbxproj(D.modRequest.projectRoot)}catch{}if(Z){let Q=A_().getInfoPlistPathFromPbxproj(Z);if(Q){let Y=wZ().default.join(D.modRequest.platformProjectRoot,Q);if($_().fileExists(Y))return Y;HO().addWarningIOS("mods.ios.infoPlist",`Info.plist file linked to Xcode project does not exist: ${Y}`)}else HO().addWarningIOS("mods.ios.infoPlist","Failed to find Info.plist linked to Xcode project.")}try{return await SD().Paths.getInfoPlistPath(D.modRequest.projectRoot)}catch(Q){if(D.modRequest.introspect)return"";throw Q}},async read(D,Z){if(!Z.ios)Z.ios={};if(!Z.ios.infoPlist)Z.ios.infoPlist={};let Q;try{let Y=await JO(D,"utf8");BO().default(Y,"Info.plist is empty"),Q=I7().default.parse(Y)}catch(Y){if(!Z.modRequest.introspect)throw Y;Q=ED0()}return Z.ios.infoPlist={...Q||{},...Z.ios.infoPlist},Z.ios.infoPlist},async write(D,Z){if(!Z.ios)Z.ios={};if(Z.ios.infoPlist=Z.modResults,Z.modRequest.introspect)return;await a6(D,I7().default.build(fq().sortObject(Z.modResults)))}}),entitlements:b2().provider({isIntrospective:!0,async getFilePath(D){try{return F_().ensureApplicationTargetEntitlementsFileConfigured(D.modRequest.projectRoot),SD().Entitlements.getEntitlementsPath(D.modRequest.projectRoot)??""}catch(Z){if(D.modRequest.introspect)return"";throw Z}},async read(D,Z){let Q;try{if(!Z.modRequest.ignoreExistingNativeFiles&&VO().default.existsSync(D)){let Y=await JO(D,"utf8");BO().default(Y,"Entitlements plist is empty"),Q=I7().default.parse(Y)}else Q=O_()}catch(Y){if(!Z.modRequest.introspect)throw Y;Q=O_()}if(!Z.ios)Z.ios={};if(!Z.ios.entitlements)Z.ios.entitlements={};return Z.ios.entitlements={...Q||{},...Z.ios.entitlements},Z.ios.entitlements},async write(D,Z){if(!Z.ios)Z.ios={};if(Z.ios.entitlements=Z.modResults,Z.modRequest.introspect)return;await a6(D,I7().default.build(fq().sortObject(Z.modResults)))}}),podfile:b2().provider({getFilePath({modRequest:{projectRoot:D}}){return SD().Paths.getPodfilePath(D)},async read(D){return SD().Paths.getFileInfo(D)},async write(D,{modResults:{contents:Z}}){await a6(D,Z)}}),podfileProperties:b2().provider({isIntrospective:!0,getFilePath({modRequest:{platformProjectRoot:D}}){return wZ().default.resolve(D,"Podfile.properties.json")},async read(D){let Z={};try{Z=await qO().default.readAsync(D)}catch{}return Z},async write(D,{modResults:Z,modRequest:{introspect:Q}}){if(Q)return;await qO().default.writeAsync(D,Z)}})};function LD0(D,{providers:Z,...Q}={}){return b2().withGeneratedBaseMods(D,{...Q,platform:"ios",providers:Z??w_()})}function w_(){return wD0}});var GO=M((mq)=>{Object.defineProperty(mq,"__esModule",{value:!0});mq.addHistoryItem=RD0;mq.getHistoryItem=CD0;function CD0(D,Z){return D._internal?.pluginHistory?.[Z]??null}function RD0(D,Z){if(!D._internal)D._internal={};if(!D._internal.pluginHistory)D._internal.pluginHistory={};if(!Z.version)Z.version="UNVERSIONED";return D._internal.pluginHistory[Z.name]=Z,D}});var R_=M((t6)=>{Object.defineProperty(t6,"__esModule",{value:!0});Object.defineProperty(t6,"AndroidManifest",{enumerable:!0,get:function(){return C_().AndroidManifest}});Object.defineProperty(t6,"ExpoPlist",{enumerable:!0,get:function(){return zO().ExpoPlist}});Object.defineProperty(t6,"InfoPlist",{enumerable:!0,get:function(){return zO().InfoPlist}});Object.defineProperty(t6,"XcodeProject",{enumerable:!0,get:function(){return L_().XcodeProject}});function L_(){let D=v6();return L_=function(){return D},D}function C_(){let D=s2();return C_=function(){return D},D}function zO(){let D=uZ(Ab);return zO=function(){return D},D}});var I_=M((CZ)=>{Object.defineProperty(CZ,"__esModule",{value:!0});CZ.createRunOncePlugin=MD0;CZ.withRunOnce=void 0;function WO(){let D=GO();return WO=function(){return D},D}var M_=(D,{plugin:Z,name:Q,version:Y})=>{if(WO().getHistoryItem(D,Q))return D;return D=WO().addHistoryItem(D,{name:Q,version:Y}),Z(D)};CZ.withRunOnce=M_;function MD0(D,Z,Q){return(Y,J)=>{return M_(Y,{plugin:(q)=>D(q,J),name:Z,version:Q})}}});var N_=M((gq)=>{Object.defineProperty(gq,"__esModule",{value:!0});gq.withFinalizedMod=void 0;function j_(){let D=q7();return j_=function(){return D},D}var ID0=(D,[Z,Q])=>{return j_().withMod(D,{platform:Z,mod:"finalized",action:Q})};gq.withFinalizedMod=ID0});var m_=M((j7)=>{Object.defineProperty(j7,"__esModule",{value:!0});j7.compileModsAsync=ND0;j7.evalModsAsync=x_;j7.sortMods=f_;j7.withDefaultBaseMods=k_;j7.withIntrospectionBaseMods=y_;function P_(){let D=__(kD());return P_=function(){return D},D}function S_(){let D=__(require("path"));return S_=function(){return D},D}function u_(){let D=$Z();return u_=function(){return D},D}function XO(){let D=QO();return XO=function(){return D},D}function FO(){let D=KO();return FO=function(){return D},D}function v_(){let D=x5();return v_=function(){return D},D}function T_(){let D=OD();return T_=function(){return D},D}function b_(){let D=jD0(v5());return b_=function(){return D},D}function h_(D){if(typeof WeakMap!="function")return null;var Z=new WeakMap,Q=new WeakMap;return(h_=function(Y){return Y?Q:Z})(D)}function jD0(D,Z){if(!Z&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var Q=h_(Z);if(Q&&Q.has(D))return Q.get(D);var Y={__proto__:null},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in D)if(q!=="default"&&{}.hasOwnProperty.call(D,q)){var B=J?Object.getOwnPropertyDescriptor(D,q):null;B&&(B.get||B.set)?Object.defineProperty(Y,q,B):Y[q]=D[q]}return Y.default=D,Q&&Q.set(D,Y),Y}function __(D){return D&&D.__esModule?D:{default:D}}var OO=P_().default("expo:config-plugins:mod-compiler");function k_(D,Z={}){return D=FO().withIosBaseMods(D,Z),D=XO().withAndroidBaseMods(D,Z),D}function y_(D,Z={}){if(D=FO().withIosBaseMods(D,{saveToInternal:!0,skipEmptyMod:!1,...Z}),D=XO().withAndroidBaseMods(D,{saveToInternal:!0,skipEmptyMod:!1,...Z}),D.mods){for(let Q of Object.keys(D.mods))for(let Y of Object.keys(D.mods[Q]||{}))if(!D.mods[Q]?.[Y]?.isIntrospective)OO(`removing non-idempotent mod: ${Q}.${Y}`),delete D.mods[Q]?.[Y]}return D}async function ND0(D,Z){if(Z.introspect===!0)D=y_(D);else D=k_(D);return await x_(D,Z)}function f_(D,Z){let Q=new Set;return D.filter(([J])=>{let q=Q.has(J);return Q.add(J),!q}).sort(([J],[q])=>{let B=Z[J]||0,H=Z[q]||0;return B-H})}function PD0({mods:D,...Z}){return Object.freeze(JSON.parse(JSON.stringify(Z)))}var SD0={ios:{dangerous:-2,xcodeproj:-1,finalized:1}};async function x_(D,{projectRoot:Z,introspect:Q,platforms:Y,assertMissingModProviders:J,ignoreExistingNativeFiles:q=!1}){let B=PD0(D);for(let[H,V]of Object.entries(D.mods??{})){if(Y&&!Y.includes(H)){OO(`skip platform: ${H}`);continue}let K=Object.entries(V);if(K.length){K=f_(K,SD0[H]??{dangerous:-1,finalized:1}),OO(`run in order: ${K.map(([O])=>O).join(", ")}`);let G=S_().default.join(Z,H),W=H==="ios"?v_().getHackyProjectName(Z,D):void 0;for(let[O,F]of K){let E={projectRoot:Z,projectName:W,platformProjectRoot:G,platform:H,modName:O,introspect:!!Q,ignoreExistingNativeFiles:q};if(!F.isProvider){let j=`Initial base modifier for "${H}.${O}" is not a provider and therefore will not provide modResults to child mods`;if(J!==!1)throw new(T_()).PluginError(j,"MISSING_PROVIDER");else{b_().addWarningForPlatform(H,`${H}.${O}`,`Skipping: Initial base modifier for "${H}.${O}" is not a provider and therefore will not provide modResults to child mods. This may be due to an outdated version of Expo CLI.`);continue}}let L=await F({...D,modResults:null,modRequest:E,modRawConfig:B});D=u_().assertModResults(L,H,O),delete D.modResults,delete D.modRequest,delete D.modRawConfig}}}return D}});var sG=M((r0)=>{Object.defineProperty(r0,"__esModule",{value:!0});var uD0={BaseMods:!0,AndroidConfig:!0,IOSConfig:!0,XML:!0,History:!0,WarningAggregator:!0,Updates:!0,withPlugins:!0,withRunOnce:!0,createRunOncePlugin:!0,withDangerousMod:!0,withFinalizedMod:!0,withMod:!0,withBaseMod:!0,withAppDelegate:!0,withInfoPlist:!0,withEntitlementsPlist:!0,withExpoPlist:!0,withXcodeProject:!0,withPodfile:!0,withPodfileProperties:!0,withAndroidManifest:!0,withStringsXml:!0,withAndroidColors:!0,withAndroidColorsNight:!0,withAndroidStyles:!0,withMainActivity:!0,withMainApplication:!0,withProjectBuildGradle:!0,withAppBuildGradle:!0,withSettingsGradle:!0,withGradleProperties:!0,withStaticPlugin:!0,compileModsAsync:!0,withDefaultBaseMods:!0,evalModsAsync:!0,PluginError:!0};r0.IOSConfig=r0.History=r0.BaseMods=r0.AndroidConfig=void 0;Object.defineProperty(r0,"PluginError",{enumerable:!0,get:function(){return t_().PluginError}});r0.XML=r0.WarningAggregator=r0.Updates=void 0;Object.defineProperty(r0,"compileModsAsync",{enumerable:!0,get:function(){return cq().compileModsAsync}});Object.defineProperty(r0,"createRunOncePlugin",{enumerable:!0,get:function(){return wO().createRunOncePlugin}});Object.defineProperty(r0,"evalModsAsync",{enumerable:!0,get:function(){return cq().evalModsAsync}});Object.defineProperty(r0,"withAndroidColors",{enumerable:!0,get:function(){return z2().withAndroidColors}});Object.defineProperty(r0,"withAndroidColorsNight",{enumerable:!0,get:function(){return z2().withAndroidColorsNight}});Object.defineProperty(r0,"withAndroidManifest",{enumerable:!0,get:function(){return z2().withAndroidManifest}});Object.defineProperty(r0,"withAndroidStyles",{enumerable:!0,get:function(){return z2().withAndroidStyles}});Object.defineProperty(r0,"withAppBuildGradle",{enumerable:!0,get:function(){return z2().withAppBuildGradle}});Object.defineProperty(r0,"withAppDelegate",{enumerable:!0,get:function(){return uD().withAppDelegate}});Object.defineProperty(r0,"withBaseMod",{enumerable:!0,get:function(){return LO().withBaseMod}});Object.defineProperty(r0,"withDangerousMod",{enumerable:!0,get:function(){return r_().withDangerousMod}});Object.defineProperty(r0,"withDefaultBaseMods",{enumerable:!0,get:function(){return cq().withDefaultBaseMods}});Object.defineProperty(r0,"withEntitlementsPlist",{enumerable:!0,get:function(){return uD().withEntitlementsPlist}});Object.defineProperty(r0,"withExpoPlist",{enumerable:!0,get:function(){return uD().withExpoPlist}});Object.defineProperty(r0,"withFinalizedMod",{enumerable:!0,get:function(){return s_().withFinalizedMod}});Object.defineProperty(r0,"withGradleProperties",{enumerable:!0,get:function(){return z2().withGradleProperties}});Object.defineProperty(r0,"withInfoPlist",{enumerable:!0,get:function(){return uD().withInfoPlist}});Object.defineProperty(r0,"withMainActivity",{enumerable:!0,get:function(){return z2().withMainActivity}});Object.defineProperty(r0,"withMainApplication",{enumerable:!0,get:function(){return z2().withMainApplication}});Object.defineProperty(r0,"withMod",{enumerable:!0,get:function(){return LO().withMod}});Object.defineProperty(r0,"withPlugins",{enumerable:!0,get:function(){return n_().withPlugins}});Object.defineProperty(r0,"withPodfile",{enumerable:!0,get:function(){return uD().withPodfile}});Object.defineProperty(r0,"withPodfileProperties",{enumerable:!0,get:function(){return uD().withPodfileProperties}});Object.defineProperty(r0,"withProjectBuildGradle",{enumerable:!0,get:function(){return z2().withProjectBuildGradle}});Object.defineProperty(r0,"withRunOnce",{enumerable:!0,get:function(){return wO().withRunOnce}});Object.defineProperty(r0,"withSettingsGradle",{enumerable:!0,get:function(){return z2().withSettingsGradle}});Object.defineProperty(r0,"withStaticPlugin",{enumerable:!0,get:function(){return a_().withStaticPlugin}});Object.defineProperty(r0,"withStringsXml",{enumerable:!0,get:function(){return z2().withStringsXml}});Object.defineProperty(r0,"withXcodeProject",{enumerable:!0,get:function(){return uD().withXcodeProject}});function g_(){let D=o6(Sz());return g_=function(){return D},D}Object.defineProperty(r0,"AndroidConfig",{enumerable:!0,get:function(){return g_()}});function c_(){let D=o6(eW());return c_=function(){return D},D}Object.defineProperty(r0,"IOSConfig",{enumerable:!0,get:function(){return c_()}});function AO(){let D=$Z();return AO=function(){return D},D}function $O(){let D=QO();return $O=function(){return D},D}function EO(){let D=KO();return EO=function(){return D},D}function d_(){let D=o6(J7());return d_=function(){return D},D}Object.defineProperty(r0,"XML",{enumerable:!0,get:function(){return d_()}});function l_(){let D=o6(GO());return l_=function(){return D},D}Object.defineProperty(r0,"History",{enumerable:!0,get:function(){return l_()}});function p_(){let D=o6(v5());return p_=function(){return D},D}Object.defineProperty(r0,"WarningAggregator",{enumerable:!0,get:function(){return p_()}});function i_(){let D=o6(gJ());return i_=function(){return D},D}Object.defineProperty(r0,"Updates",{enumerable:!0,get:function(){return i_()}});var UO=R_();Object.keys(UO).forEach(function(D){if(D==="default"||D==="__esModule")return;if(Object.prototype.hasOwnProperty.call(uD0,D))return;if(D in r0&&r0[D]===UO[D])return;Object.defineProperty(r0,D,{enumerable:!0,get:function(){return UO[D]}})});function n_(){let D=fJ();return n_=function(){return D},D}function wO(){let D=I_();return wO=function(){return D},D}function r_(){let D=wJ();return r_=function(){return D},D}function s_(){let D=N_();return s_=function(){return D},D}function LO(){let D=q7();return LO=function(){return D},D}function uD(){let D=V5();return uD=function(){return D},D}function z2(){let D=y5();return z2=function(){return D},D}function a_(){let D=Az();return a_=function(){return D},D}function cq(){let D=m_();return cq=function(){return D},D}function t_(){let D=OD();return t_=function(){return D},D}function o_(D){if(typeof WeakMap!="function")return null;var Z=new WeakMap,Q=new WeakMap;return(o_=function(Y){return Y?Q:Z})(D)}function o6(D,Z){if(!Z&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var Q=o_(Z);if(Q&&Q.has(D))return Q.get(D);var Y={__proto__:null},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in D)if(q!=="default"&&{}.hasOwnProperty.call(D,q)){var B=J?Object.getOwnPropertyDescriptor(D,q):null;B&&(B.get||B.set)?Object.defineProperty(Y,q,B):Y[q]=D[q]}return Y.default=D,Q&&Q.set(D,Y),Y}var vY0=r0.BaseMods={withGeneratedBaseMods:AO().withGeneratedBaseMods,provider:AO().provider,withAndroidBaseMods:$O().withAndroidBaseMods,getAndroidModFileProviders:$O().getAndroidModFileProviders,withIosBaseMods:EO().withIosBaseMods,getIosModFileProviders:EO().getIosModFileProviders}});var Zk=M((dq)=>{Object.defineProperty(dq,"__esModule",{value:!0});dq.withConfigPlugins=void 0;function e_(){let D=sG();return e_=function(){return D},D}function Dk(){let D=eK();return Dk=function(){return D},D}var vD0=(D,Z)=>{if(!Array.isArray(D.plugins)||!D.plugins?.length)return D;if(!Z)D=e_().withPlugins(D,D.plugins);else delete D.plugins;return Dk().serializeAfterStaticPlugins(D)};dq.withConfigPlugins=vD0});var Yk=M((e6)=>{Object.defineProperty(e6,"__esModule",{value:!0});e6.withInternal=e6.EXPO_DEBUG=void 0;function Qk(){let D=E3();return Qk=function(){return D},D}var TD0=e6.EXPO_DEBUG=Qk().boolish("EXPO_DEBUG",!1),bD0=(D,Z)=>{if(!D._internal)D._internal={};return D._internal={isDebug:TD0,...D._internal,...Z},D};e6.withInternal=bD0});var Hk=M((CO)=>{Object.defineProperty(CO,"__esModule",{value:!0});CO.getRootPackageJsonPath=hD0;function Jk(){let D=require("fs");return Jk=function(){return D},D}function qk(){let D=require("path");return qk=function(){return D},D}function Bk(){let D=rD();return Bk=function(){return D},D}function hD0(D){let Z=qk().join(D,"package.json");if(!Jk().existsSync(Z))throw new(Bk()).ConfigError(`The expected package.json path: ${Z} does not exist`,"MODULE_NOT_FOUND");return Z}});var Kk=M((Vk)=>{Object.defineProperty(Vk,"__esModule",{value:!0})});var RO=M((RZ)=>{Object.defineProperty(RZ,"__esModule",{value:!0});Object.defineProperty(RZ,"ExpoConfig",{enumerable:!0,get:function(){return Gk().ExpoConfig}});RZ.ProjectPrivacy=void 0;function Gk(){let D=Kk();return Gk=function(){return D},D}var yY0=RZ.ProjectPrivacy=function(D){return D.PUBLIC="public",D.UNLISTED="unlisted",D}({})});var Rk=M((C8)=>{Object.defineProperty(C8,"__esModule",{value:!0});var _D0={getConfig:!0,getPackageJson:!0,getConfigFilePaths:!0,modifyConfigAsync:!0,getWebOutputPath:!0,getNameFromConfig:!0,getDefaultTarget:!0,getProjectConfigDescription:!0,getProjectConfigDescriptionWithPaths:!0};C8.getConfig=pq;C8.getConfigFilePaths=uO;C8.getDefaultTarget=lD0;C8.getNameFromConfig=dD0;C8.getPackageJson=yD0;C8.getProjectConfigDescription=iD0;C8.getProjectConfigDescriptionWithPaths=Ck;C8.getWebOutputPath=cD0;C8.modifyConfigAsync=mD0;function MZ(){let D=N7(c7());return MZ=function(){return D},D}function lq(){let D=N7(rF());return lq=function(){return D},D}function PO(){let D=N7(require("fs"));return PO=function(){return D},D}function IO(){let D=b4();return IO=function(){return D},D}function H9(){let D=N7(require("path"));return H9=function(){return D},D}function jO(){let D=N7(s7());return jO=function(){return D},D}function Fk(){let D=N7(kH());return Fk=function(){return D},D}function Uk(){let D=N7(xH());return Uk=function(){return D},D}function NO(){let D=RC();return NO=function(){return D},D}function Ak(){let D=JG();return Ak=function(){return D},D}function $k(){let D=Zk();return $k=function(){return D},D}function Ek(){let D=Yk();return Ek=function(){return D},D}function wk(){let D=Hk();return wk=function(){return D},D}var MO=RO();Object.keys(MO).forEach(function(D){if(D==="default"||D==="__esModule")return;if(Object.prototype.hasOwnProperty.call(_D0,D))return;if(D in C8&&C8[D]===MO[D])return;Object.defineProperty(C8,D,{enumerable:!0,get:function(){return MO[D]}})});function N7(D){return D&&D.__esModule?D:{default:D}}var zk=!1;function Wk(D){if(!D)return D||null;if(D.expo&&!zk){let Y=Object.keys(D).filter((J)=>J!=="expo");if(Y.length){zk=!0;let J=(V)=>`\x1B[33m${V}\x1B[0m`,q=(V)=>`\x1B[90m${V}\x1B[0m`,B=(V)=>`\x1B[1m${V}\x1B[22m`,H=Y.length>1;console.warn(J(B("Warning: ")+`Root-level ${B('"expo"')} object found. Ignoring extra key${H?"s":""} in Expo config: ${Y.map((V)=>`"${V}"`).join(", ")}
|
|
370
|
+
`+q("Learn more: https://expo.fyi/root-expo-object")))}}let{mods:Z,...Q}=D.expo??D;return{expo:Q,mods:Z}}function kD0(D){let Z=[];if(jO().default.silent(D,"react-native"))Z.push("ios","android");if(jO().default.silent(D,"react-dom"))Z.push("web");return Z}function pq(D,Z={}){let Q=uO(D),Y=Q.staticConfigPath?NO().getStaticConfig(Q.staticConfigPath):null,J=Y||{},q=Wk(Y)||{},[B,H]=SO(D);function V(G,W,O=!1){let F={...Xk({projectRoot:D,exp:G.expo||{},pkg:B,skipSDKVersionRequirement:Z.skipSDKVersionRequirement,paths:Q,packageJsonPath:H}),mods:G.mods,dynamicConfigObjectType:W,rootConfig:J,dynamicConfigPath:Q.dynamicConfigPath,staticConfigPath:Q.staticConfigPath,hasUnusedStaticConfig:!!Q.staticConfigPath&&!!Q.dynamicConfigPath&&O};if(Z.isModdedConfig)F.exp.mods=G.mods??null;if(F.exp=$k().withConfigPlugins(F.exp,!!Z.skipPlugins),!Z.isModdedConfig)delete F.exp.mods;if(Z.isPublicConfig){if(delete F.exp._internal,"hooks"in F.exp)delete F.exp.hooks;if(F.exp.ios?.config)delete F.exp.ios.config;if(F.exp.android?.config)delete F.exp.android.config;delete F.exp.updates?.codeSigningCertificate,delete F.exp.updates?.codeSigningMetadata}return F}function K(G){return Xk({projectRoot:D,exp:G.expo||{},pkg:B,skipSDKVersionRequirement:!0,paths:Q,packageJsonPath:H}).exp}if(Q.dynamicConfigPath){let{exportedObjectType:G,config:W,mayHaveUnusedStaticConfig:O}=NO().getDynamicConfig(Q.dynamicConfigPath,{projectRoot:D,staticConfigPath:Q.staticConfigPath,packageJsonPath:H,config:K(q)}),F=Wk(W)||{};return V(F,G,O)}return V(q||{},null)}function yD0(D){let[Z]=SO(D);return Z}function SO(D){let Z=wk().getRootPackageJsonPath(D);return[MZ().default.read(Z),Z]}function uO(D){return{dynamicConfigPath:fD0(D),staticConfigPath:xD0(D)}}function fD0(D){for(let Z of["app.config.ts","app.config.js"]){let Q=H9().default.join(D,Z);if(PO().default.existsSync(Q))return Q}return null}function xD0(D){for(let Z of["app.config.json","app.json"]){let Q=H9().default.join(D,Z);if(PO().default.existsSync(Q))return Q}return null}async function mD0(D,Z,Q={},Y={}){let J=pq(D,Q),q=Y.dryRun;if(!J.dynamicConfigPath){let B=Ok(J,Z);if(!q){let H=J.staticConfigPath??H9().default.join(D,"app.json");await MZ().default.writeAsync(H,B,{json5:!1})}return{type:"success",config:B.expo??B}}if(J.staticConfigPath&&J.dynamicConfigObjectType==="function"&&!Z.hasOwnProperty("plugins")){let B=Ok(J,Z);if(q)return{type:"warn",message:`Cannot verify config modifications in dry-run mode for config at: ${H9().default.relative(D,J.dynamicConfigPath)}`,config:null};await MZ().default.writeAsync(J.staticConfigPath,B,{json5:!1});let H=pq(D,Q);if(Lk(Z,H.exp))return{type:"success",config:H.exp};await MZ().default.writeAsync(J.staticConfigPath,J.rootConfig,{json5:!1})}return{type:"warn",message:`Cannot automatically write to dynamic config at: ${H9().default.relative(D,J.dynamicConfigPath)}`,config:null}}function Ok(D,{plugins:Z,...Q}){let Y=!D.rootConfig.expo?lq().default(D.rootConfig,Q):lq().default(D.rootConfig.expo,Q);if(Z?.length){if(!Y.plugins)Y.plugins=[];let q=Object.fromEntries(Y.plugins.map((B)=>typeof B==="string"?[B,void 0]:B));for(let B of Z){let[H,V]=Array.isArray(B)?B:[B];if(!H)continue;if(!(H in q)){Y.plugins.push(B);continue}if(V){Y.plugins=Y.plugins.map((K)=>{let[G]=Array.isArray(K)?K:[K];if(G!==H)return K;if(typeof K==="string")return[K,V];if(Array.isArray(K)&&K[0])return[K[0],lq().default(K[1]??{},V)];return K});continue}}}return!D.rootConfig.expo?Y:{...D.rootConfig,expo:Y}}function Lk(D,Z){for(let Q in D){if(!D.hasOwnProperty(Q))continue;if(typeof D[Q]==="object"&&Z[Q]!==null){if(!Lk(D[Q],Z[Q]))return!1}else if(D[Q]!==Z[Q])return!1}return!0}function Xk({projectRoot:D,exp:Z,pkg:Q,paths:Y,packageJsonPath:J,skipSDKVersionRequirement:q=!1}){if(!Z)Z={};Z=Ek().withInternal(Z,{projectRoot:D,...Y??{},packageJsonPath:J});let B=typeof Q.name==="string"?Q.name:H9().default.basename(D),H=typeof Q.version==="string"?Q.version:"1.0.0",V={...Q,name:B,version:H},K=Z.name??B,G=Z.slug??Uk().default(K.toLowerCase()),W=Z.version??H,O=Z.description;if(!O&&typeof Q.description==="string")O=Q.description;let F={...Z,name:K,slug:G,version:W,description:O},E;try{E=Ak().getExpoSDKVersion(D,F)}catch(j){if(!q)throw j}let L=Z.platforms;if(!L)L=kD0(D);return{exp:{...F,sdkVersion:E,platforms:L},pkg:V}}var gD0="web-build";function cD0(D={}){if(process.env.WEBPACK_BUILD_OUTPUT_PATH)return process.env.WEBPACK_BUILD_OUTPUT_PATH;return(D.expo||D||{})?.web?.build?.output||gD0}function dD0(D={}){let Z=D.expo||D,{web:Q={}}=Z,Y=D.displayName||Z.displayName||Z.name,J=Q.name||Y;return{appName:Y,webName:J}}function lD0(D,Z){if(Z??=pq(D,{skipSDKVersionRequirement:!0}).exp,Z.sdkVersion&&Z.sdkVersion!=="UNVERSIONED"&&Fk().default.lt(Z.sdkVersion,"37.0.0"))return"managed";return pD0(D)?"bare":"managed"}function pD0(D){let[Z]=SO(D);if(Z.dependencies&&Z.dependencies.expokit)return!1;if(IO().sync("ios/**/*.xcodeproj",{absolute:!0,cwd:D}).length)return!0;if(IO().sync("android/**/*.gradle",{absolute:!0,cwd:D}).length)return!0;return!1}function iD0(D){let Z=uO(D);return Ck(D,Z)}function Ck(D,Z){if(Z.dynamicConfigPath){let Q=H9().default.relative(D,Z.dynamicConfigPath);if(Z.staticConfigPath)return`${Q} or ${H9().default.relative(D,Z.staticConfigPath)}`;return Q}else if(Z.staticConfigPath)return H9().default.relative(D,Z.staticConfigPath);return"app.json"}});var nD0={};var Mk=M((m5)=>{Object.defineProperty(m5,"__esModule",{value:!0});var vO=Rk();Object.keys(vO).forEach(function(D){if(D==="default"||D==="__esModule")return;if(D in m5&&m5[D]===vO[D])return;Object.defineProperty(m5,D,{enumerable:!0,get:function(){return vO[D]}})});var TO=RO();Object.keys(TO).forEach(function(D){if(D==="default"||D==="__esModule")return;if(D in m5&&m5[D]===TO[D])return;Object.defineProperty(m5,D,{enumerable:!0,get:function(){return TO[D]}})});var bO=JG();Object.keys(bO).forEach(function(D){if(D==="default"||D==="__esModule")return;if(D in m5&&m5[D]===bO[D])return;Object.defineProperty(m5,D,{enumerable:!0,get:function(){return bO[D]}})});var hO=rD();Object.keys(hO).forEach(function(D){if(D==="default"||D==="__esModule")return;if(D in m5&&m5[D]===hO[D])return;Object.defineProperty(m5,D,{enumerable:!0,get:function(){return hO[D]}})});var _O=uZ(nD0);Object.keys(_O).forEach(function(D){if(D==="default"||D==="__esModule")return;if(D in m5&&m5[D]===_O[D])return;Object.defineProperty(m5,D,{enumerable:!0,get:function(){return _O[D]}})})});var jk={};JX(jk,{expoManifestCommand:()=>rD0});function sD0(D){let Z=_7({args:D,allowPositionals:!0});if(Z.positionals.length>1)throw new D8("COMMAND_INPUT",`Expected 0 or 1 arguments, received: ${Z.positionals.length}`);return{projectRoot:Ik.default.cwd(),mutation:Z.positionals.length===1?Z.positionals[0]:null}}async function aD0(D,Z){let Q=JSON.stringify(Z,null,2),Y=await iq.modifyConfigAsync(D,Z,{skipSDKVersionRequirement:!0,skipPlugins:!0,strict:!1});switch(q4("command","expo-manifest")("Mutation result: %O",Y),Y.type){case"fail":throw console.error(p8`{red ❌ Failed to modify {bold app.json} with:}`),console.log(Q),new D8("EXPO_MANIFEST_WRITE_FAILURE",Y.message);case"warn":throw console.error(p8`{red ⚠️ Encountered warnings when modifying {bold app.json} with:}`),console.log(Q),new D8("EXPO_MANIFEST_WRITE_WARNING",Y.message);case"success":default:console.warn(p8`{greenBright ✅ Modified {bold app.json} with:}`),console.log(Q)}}var iq,Ik,rD0=async(D)=>{let Z=sD0(D);if(q4("command","expo-manifest")("Resolved input: %O",Z),Z.mutation)return aD0(Z.projectRoot,JSON.parse(Z.mutation));let Q=iq.getConfig(Z.projectRoot,{skipSDKVersionRequirement:!0,skipPlugins:!0,strict:!1});console.log(JSON.stringify(Q.exp))};var Nk=v7(()=>{iq=l9(Mk()),Ik=l9(require("node:process"));B4();yZ();kZ()});var Tk=M((lY0,vk)=>{vk.exports=uk;uk.sync=oD0;var Pk=require("fs");function tD0(D,Z){var Q=Z.pathExt!==void 0?Z.pathExt:process.env.PATHEXT;if(!Q)return!0;if(Q=Q.split(";"),Q.indexOf("")!==-1)return!0;for(var Y=0;Y<Q.length;Y++){var J=Q[Y].toLowerCase();if(J&&D.substr(-J.length).toLowerCase()===J)return!0}return!1}function Sk(D,Z,Q){if(!D.isSymbolicLink()&&!D.isFile())return!1;return tD0(Z,Q)}function uk(D,Z,Q){Pk.stat(D,function(Y,J){Q(Y,Y?!1:Sk(J,D,Z))})}function oD0(D,Z){return Sk(Pk.statSync(D),D,Z)}});var yk=M((pY0,kk)=>{kk.exports=hk;hk.sync=eD0;var bk=require("fs");function hk(D,Z,Q){bk.stat(D,function(Y,J){Q(Y,Y?!1:_k(J,Z))})}function eD0(D,Z){return _k(bk.statSync(D),Z)}function _k(D,Z){return D.isFile()&&D70(D,Z)}function D70(D,Z){var{mode:Q,uid:Y,gid:J}=D,q=Z.uid!==void 0?Z.uid:process.getuid&&process.getuid(),B=Z.gid!==void 0?Z.gid:process.getgid&&process.getgid(),H=parseInt("100",8),V=parseInt("010",8),K=parseInt("001",8),G=H|V,W=Q&K||Q&V&&J===B||Q&H&&Y===q||Q&G&&q===0;return W}});var xk=M((nY0,fk)=>{var iY0=require("fs"),nq;if(process.platform==="win32"||global.TESTING_WINDOWS)nq=Tk();else nq=yk();fk.exports=kO;kO.sync=Z70;function kO(D,Z,Q){if(typeof Z==="function")Q=Z,Z={};if(!Q){if(typeof Promise!=="function")throw new TypeError("callback not provided");return new Promise(function(Y,J){kO(D,Z||{},function(q,B){if(q)J(q);else Y(B)})})}nq(D,Z||{},function(Y,J){if(Y){if(Y.code==="EACCES"||Z&&Z.ignoreErrors)Y=null,J=!1}Q(Y,J)})}function Z70(D,Z){try{return nq.sync(D,Z||{})}catch(Q){if(Z&&Z.ignoreErrors||Q.code==="EACCES")return!1;else throw Q}}});var ik=M((rY0,pk)=>{var D4=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",mk=require("path"),Q70=D4?";":":",gk=xk(),ck=(D)=>Object.assign(new Error(`not found: ${D}`),{code:"ENOENT"}),dk=(D,Z)=>{let Q=Z.colon||Q70,Y=D.match(/\//)||D4&&D.match(/\\/)?[""]:[...D4?[process.cwd()]:[],...(Z.path||process.env.PATH||"").split(Q)],J=D4?Z.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",q=D4?J.split(Q):[""];if(D4){if(D.indexOf(".")!==-1&&q[0]!=="")q.unshift("")}return{pathEnv:Y,pathExt:q,pathExtExe:J}},lk=(D,Z,Q)=>{if(typeof Z==="function")Q=Z,Z={};if(!Z)Z={};let{pathEnv:Y,pathExt:J,pathExtExe:q}=dk(D,Z),B=[],H=(K)=>new Promise((G,W)=>{if(K===Y.length)return Z.all&&B.length?G(B):W(ck(D));let O=Y[K],F=/^".*"$/.test(O)?O.slice(1,-1):O,E=mk.join(F,D),L=!F&&/^\.[\\\/]/.test(D)?D.slice(0,2)+E:E;G(V(L,K,0))}),V=(K,G,W)=>new Promise((O,F)=>{if(W===J.length)return O(H(G+1));let E=J[W];gk(K+E,{pathExt:q},(L,j)=>{if(!L&&j)if(Z.all)B.push(K+E);else return O(K+E);return O(V(K,G,W+1))})});return Q?H(0).then((K)=>Q(null,K),Q):H(0)},Y70=(D,Z)=>{Z=Z||{};let{pathEnv:Q,pathExt:Y,pathExtExe:J}=dk(D,Z),q=[];for(let B=0;B<Q.length;B++){let H=Q[B],V=/^".*"$/.test(H)?H.slice(1,-1):H,K=mk.join(V,D),G=!V&&/^\.[\\\/]/.test(D)?D.slice(0,2)+K:K;for(let W=0;W<Y.length;W++){let O=G+Y[W];try{if(gk.sync(O,{pathExt:J}))if(Z.all)q.push(O);else return O}catch(F){}}}if(Z.all&&q.length)return q;if(Z.nothrow)return null;throw ck(D)};pk.exports=lk;lk.sync=Y70});var rk=M((sY0,yO)=>{var nk=(D={})=>{let Z=D.env||process.env;if((D.platform||process.platform)!=="win32")return"PATH";return Object.keys(Z).reverse().find((Y)=>Y.toUpperCase()==="PATH")||"Path"};yO.exports=nk;yO.exports.default=nk});var ok=M((aY0,tk)=>{var sk=require("path"),J70=ik(),q70=rk();function ak(D,Z){let Q=D.options.env||process.env,Y=process.cwd(),J=D.options.cwd!=null,q=J&&process.chdir!==void 0&&!process.chdir.disabled;if(q)try{process.chdir(D.options.cwd)}catch(H){}let B;try{B=J70.sync(D.command,{path:Q[q70({env:Q})],pathExt:Z?sk.delimiter:void 0})}catch(H){}finally{if(q)process.chdir(Y)}if(B)B=sk.resolve(J?D.options.cwd:"",B);return B}function B70(D){return ak(D)||ak(D,!0)}tk.exports=B70});var ek=M((tY0,xO)=>{var fO=/([()\][%!^"`<>&|;, *?])/g;function H70(D){return D=D.replace(fO,"^$1"),D}function V70(D,Z){if(D=`${D}`,D=D.replace(/(?=(\\+?)?)\1"/g,"$1$1\\\""),D=D.replace(/(?=(\\+?)?)\1$/,"$1$1"),D=`"${D}"`,D=D.replace(fO,"^$1"),Z)D=D.replace(fO,"^$1");return D}xO.exports.command=H70;xO.exports.argument=V70});var Zy=M((oY0,Dy)=>{Dy.exports=/^#!(.*)/});var Yy=M((eY0,Qy)=>{var K70=Zy();Qy.exports=(D="")=>{let Z=D.match(K70);if(!Z)return null;let[Q,Y]=Z[0].replace(/#! ?/,"").split(" "),J=Q.split("/").pop();if(J==="env")return Y;return Y?`${J} ${Y}`:J}});var qy=M((DJ0,Jy)=>{var mO=require("fs"),G70=Yy();function z70(D){let Q=Buffer.alloc(150),Y;try{Y=mO.openSync(D,"r"),mO.readSync(Y,Q,0,150,0),mO.closeSync(Y)}catch(J){}return G70(Q.toString())}Jy.exports=z70});var Ky=M((ZJ0,Vy)=>{var W70=require("path"),By=ok(),Hy=ek(),O70=qy(),X70=process.platform==="win32",F70=/\.(?:com|exe)$/i,U70=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function A70(D){D.file=By(D);let Z=D.file&&O70(D.file);if(Z)return D.args.unshift(D.file),D.command=Z,By(D);return D.file}function $70(D){if(!X70)return D;let Z=A70(D),Q=!F70.test(Z);if(D.options.forceShell||Q){let Y=U70.test(Z);D.command=W70.normalize(D.command),D.command=Hy.command(D.command),D.args=D.args.map((q)=>Hy.argument(q,Y));let J=[D.command].concat(D.args).join(" ");D.args=["/d","/s","/c",`"${J}"`],D.command=process.env.comspec||"cmd.exe",D.options.windowsVerbatimArguments=!0}return D}function E70(D,Z,Q){if(Z&&!Array.isArray(Z))Q=Z,Z=null;Z=Z?Z.slice(0):[],Q=Object.assign({},Q);let Y={command:D,args:Z,options:Q,file:void 0,original:{command:D,args:Z}};return Q.shell?Y:$70(Y)}Vy.exports=E70});var Wy=M((QJ0,zy)=>{var gO=process.platform==="win32";function cO(D,Z){return Object.assign(new Error(`${Z} ${D.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${Z} ${D.command}`,path:D.command,spawnargs:D.args})}function w70(D,Z){if(!gO)return;let Q=D.emit;D.emit=function(Y,J){if(Y==="exit"){let q=Gy(J,Z);if(q)return Q.call(D,"error",q)}return Q.apply(D,arguments)}}function Gy(D,Z){if(gO&&D===1&&!Z.file)return cO(Z.original,"spawn");return null}function L70(D,Z){if(gO&&D===1&&!Z.file)return cO(Z.original,"spawnSync");return null}zy.exports={hookChildProcess:w70,verifyENOENT:Gy,verifyENOENTSync:L70,notFoundError:cO}});var Fy=M((YJ0,Z4)=>{var Oy=require("child_process"),dO=Ky(),lO=Wy();function Xy(D,Z,Q){let Y=dO(D,Z,Q),J=Oy.spawn(Y.command,Y.args,Y.options);return lO.hookChildProcess(J,Y),J}function C70(D,Z,Q){let Y=dO(D,Z,Q),J=Oy.spawnSync(Y.command,Y.args,Y.options);return J.error=J.error||lO.verifyENOENTSync(J.status,Y),J}Z4.exports=Xy;Z4.exports.spawn=Xy;Z4.exports.sync=C70;Z4.exports._parse=dO;Z4.exports._enoent=lO});var Ay=M((pO,Uy)=>{var R70=pO&&pO.__importDefault||function(D){return D&&D.__esModule?D:{default:D}},M70=R70(Fy());function I70(D,Z,Q={}){let Y=new Error,J=Y.stack?Y.stack.replace(/^.*/," ..."):null,q,B=new Promise((H,V)=>{let{ignoreStdio:K,...G}=Q;q=M70.default(D,Z,G);let W="",O="";if(!K){if(q.stdout)q.stdout.on("data",(L)=>{W+=L});if(q.stderr)q.stderr.on("data",(L)=>{O+=L})}let F=(L,j)=>{q.removeListener("error",E);let P={pid:q.pid,output:[W,O],stdout:W,stderr:O,status:L,signal:j};if(L!==0){let u=Z&&Z.length>0?` ${Z.join(" ")}`:"",U=j?new Error(`${D}${u} exited with signal: ${j}`):new Error(`${D}${u} exited with non-zero code: ${L}`);if(U.stack&&J)U.stack+=`
|
|
371
|
+
${J}`;Object.assign(U,P),V(U)}else H(P)},E=(L)=>{if(K)q.removeListener("exit",F);else q.removeListener("close",F);Object.assign(L,{pid:q.pid,output:[W,O],stdout:W,stderr:O,status:null,signal:null}),V(L)};if(K)q.once("exit",F);else q.once("close",F);q.once("error",E)});return B.child=q,B}Uy.exports=I70});var Cy={};JX(Cy,{expoExportEagerCommand:()=>j70});function N70(D){let Z=_7({args:D,options:{expo:{type:"string"},platform:{type:"string",enum:["android","ios"]}}});if(!Ly.default(Z.values.expo))throw new D8("COMMAND_INPUT",`Expected '--expo' to be a valid semver, received: ${Z.values.expo}`);return{projectRoot:Ey.default.cwd(),platform:Z.values.platform,expo:Z.values.expo}}var $y,Ey,wy,Ly,j70=async(D)=>{let Z=N70(D);if(q4("command","expo-export-eager")("Resolved input: %O",Z),!wy.default(Z.expo,"52.0.0")){console.warn(p8.yellow("⚠️ Skipping early bundling")),console.warn(p8.dim("Expo SDK 52+ supports bundling the app before running native builds.")),console.warn(p8.dim("Failing the launch as fast as possible if there are unexpected bundling errors."));return}await $y.default("bun",["expo","export:embed","--eager","--dev=false",`--platform=${Z.platform}`],{cwd:Z.projectRoot,stdio:"inherit"}),console.warn(),console.warn(p8.greenBright("✅ Bundled the app early"))};var Ry=v7(()=>{$y=l9(Ay()),Ey=l9(require("node:process")),wy=l9(y4()),Ly=l9(MH());B4();yZ();kZ()});var S70={};module.exports=uZ(S70);var vD=l9(require("node:process"));vZ();B4();yZ();var My={"expo:manifest":()=>Promise.resolve().then(() => (Nk(),jk)).then((D)=>D.expoManifestCommand),"expo:export-eager":()=>Promise.resolve().then(() => (Ry(),Cy)).then((D)=>D.expoExportEagerCommand)},{values:Iy}=_7({strict:!1,options:{version:{short:"v",type:"boolean"},help:{short:"h",type:"boolean"}}});if(Iy.version)console.log(hD.PKG_VERSION),vD.default.exit(0);if(Iy.help)console.log(hD.PKG_DESCRIPTION),vD.default.exit(0);var[iO,...P70]=vD.default.argv.slice(2);if(!(iO in My))WB(new D8("COMMAND_UNKNOWN",`Unknown command received '${iO}'`));else vD.default.on("SIGINT",()=>vD.default.exit(0)),vD.default.on("SIGTERM",()=>vD.default.exit(0)),My[iO]().then((D)=>D(P70)).catch(WB);
|