create-expo 5.0.3 → 5.0.5

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.
@@ -31,8 +31,8 @@ var prompts = __webpack_require__(6133);
31
31
  var prompts_default = /*#__PURE__*/__webpack_require__.n(prompts);
32
32
  // EXTERNAL MODULE: ../@expo/package-manager/build/index.js
33
33
  var build = __webpack_require__(6268);
34
- // EXTERNAL MODULE: ../../node_modules/.pnpm/glob@13.0.6/node_modules/glob/dist/esm/index.min.js
35
- var index_min = __webpack_require__(9337);
34
+ // EXTERNAL MODULE: ../../node_modules/.pnpm/glob@14.0.3/node_modules/glob/dist/esm/index.min.js
35
+ var index_min = __webpack_require__(3199);
36
36
  // EXTERNAL MODULE: ../../node_modules/.pnpm/ora@3.4.0/node_modules/ora/index.js
37
37
  var ora = __webpack_require__(5344);
38
38
  var ora_default = /*#__PURE__*/__webpack_require__.n(ora);
@@ -1,5 +1,5 @@
1
- exports.id = 223;
2
- exports.ids = [223];
1
+ exports.id = 253;
2
+ exports.ids = [253];
3
3
  exports.modules = {
4
4
 
5
5
  /***/ 2671:
@@ -11701,26 +11701,26 @@ module.exports = eval("require")("../package.json");
11701
11701
 
11702
11702
  /***/ }),
11703
11703
 
11704
- /***/ 9337:
11704
+ /***/ 3199:
11705
11705
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
11706
11706
 
11707
11707
  "use strict";
11708
- var node_fs__WEBPACK_IMPORTED_MODULE_3___namespace_cache;
11708
+ var node_fs__WEBPACK_IMPORTED_MODULE_4___namespace_cache;
11709
11709
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11710
- /* harmony export */ TI: () => (/* binding */ Ze)
11710
+ /* harmony export */ TI: () => (/* binding */ Cs)
11711
11711
  /* harmony export */ });
11712
11712
  /* unused harmony exports Glob, Ignore, escape, globIterate, globIterateSync, globStream, globStreamSync, globSync, hasMagic, iterate, iterateSync, stream, streamSync, sync, unescape */
11713
11713
  /* harmony import */ var node_url__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3136);
11714
- /* harmony import */ var node_path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6760);
11715
- /* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9896);
11716
- /* harmony import */ var node_fs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3024);
11717
- /* harmony import */ var node_fs_promises__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1455);
11718
- /* harmony import */ var node_events__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8474);
11719
- /* harmony import */ var node_stream__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7075);
11720
- /* harmony import */ var node_string_decoder__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(6193);
11721
- var Gt=(n,t,e)=>{let s=n instanceof RegExp?ce(n,e):n,i=t instanceof RegExp?ce(t,e):t,r=s!==null&&i!=null&&ss(s,i,e);return r&&{start:r[0],end:r[1],pre:e.slice(0,r[0]),body:e.slice(r[0]+s.length,r[1]),post:e.slice(r[1]+i.length)}},ce=(n,t)=>{let e=t.match(n);return e?e[0]:null},ss=(n,t,e)=>{let s,i,r,o,h,a=e.indexOf(n),l=e.indexOf(t,a+1),u=a;if(a>=0&&l>0){if(n===t)return[a,l];for(s=[],r=e.length;u>=0&&!h;){if(u===a)s.push(u),a=e.indexOf(n,u+1);else if(s.length===1){let c=s.pop();c!==void 0&&(h=[c,l])}else i=s.pop(),i!==void 0&&i<r&&(r=i,o=l),l=e.indexOf(t,u+1);u=a<l&&a>=0?a:l}s.length&&o!==void 0&&(h=[r,o])}return h};var fe="\0SLASH"+Math.random()+"\0",ue="\0OPEN"+Math.random()+"\0",qt="\0CLOSE"+Math.random()+"\0",de="\0COMMA"+Math.random()+"\0",pe="\0PERIOD"+Math.random()+"\0",is=new RegExp(fe,"g"),rs=new RegExp(ue,"g"),ns=new RegExp(qt,"g"),os=new RegExp(de,"g"),hs=new RegExp(pe,"g"),as=/\\\\/g,ls=/\\{/g,cs=/\\}/g,fs=/\\,/g,us=/\\./g,ds=1e5;function Ht(n){return isNaN(n)?n.charCodeAt(0):parseInt(n,10)}function ps(n){return n.replace(as,fe).replace(ls,ue).replace(cs,qt).replace(fs,de).replace(us,pe)}function ms(n){return n.replace(is,"\\").replace(rs,"{").replace(ns,"}").replace(os,",").replace(hs,".")}function me(n){if(!n)return[""];let t=[],e=Gt("{","}",n);if(!e)return n.split(",");let{pre:s,body:i,post:r}=e,o=s.split(",");o[o.length-1]+="{"+i+"}";let h=me(r);return r.length&&(o[o.length-1]+=h.shift(),o.push.apply(o,h)),t.push.apply(t,o),t}function ge(n,t={}){if(!n)return[];let{max:e=ds}=t;return n.slice(0,2)==="{}"&&(n="\\{\\}"+n.slice(2)),ht(ps(n),e,!0).map(ms)}function gs(n){return"{"+n+"}"}function ws(n){return/^-?0\d/.test(n)}function ys(n,t){return n<=t}function bs(n,t){return n>=t}function ht(n,t,e){let s=[],i=Gt("{","}",n);if(!i)return[n];let r=i.pre,o=i.post.length?ht(i.post,t,!1):[""];if(/\$$/.test(i.pre))for(let h=0;h<o.length&&h<t;h++){let a=r+"{"+i.body+"}"+o[h];s.push(a)}else{let h=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),a=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),l=h||a,u=i.body.indexOf(",")>=0;if(!l&&!u)return i.post.match(/,(?!,).*\}/)?(n=i.pre+"{"+i.body+qt+i.post,ht(n,t,!0)):[n];let c;if(l)c=i.body.split(/\.\./);else if(c=me(i.body),c.length===1&&c[0]!==void 0&&(c=ht(c[0],t,!1).map(gs),c.length===1))return o.map(f=>i.pre+c[0]+f);let d;if(l&&c[0]!==void 0&&c[1]!==void 0){let f=Ht(c[0]),m=Ht(c[1]),p=Math.max(c[0].length,c[1].length),w=c.length===3&&c[2]!==void 0?Math.abs(Ht(c[2])):1,g=ys;m<f&&(w*=-1,g=bs);let E=c.some(ws);d=[];for(let y=f;g(y,m);y+=w){let b;if(a)b=String.fromCharCode(y),b==="\\"&&(b="");else if(b=String(y),E){let z=p-b.length;if(z>0){let $=new Array(z+1).join("0");y<0?b="-"+$+b.slice(1):b=$+b}}d.push(b)}}else{d=[];for(let f=0;f<c.length;f++)d.push.apply(d,ht(c[f],t,!1))}for(let f=0;f<d.length;f++)for(let m=0;m<o.length&&s.length<t;m++){let p=r+d[f]+o[m];(!e||l||p)&&s.push(p)}}return s}var at=n=>{if(typeof n!="string")throw new TypeError("invalid pattern");if(n.length>65536)throw new TypeError("pattern is too long")};var Ss={"[: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]},lt=n=>n.replace(/[[\]\\-]/g,"\\$&"),Es=n=>n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),we=n=>n.join(""),ye=(n,t)=>{let e=t;if(n.charAt(e)!=="[")throw new Error("not in a brace expression");let s=[],i=[],r=e+1,o=!1,h=!1,a=!1,l=!1,u=e,c="";t:for(;r<n.length;){let p=n.charAt(r);if((p==="!"||p==="^")&&r===e+1){l=!0,r++;continue}if(p==="]"&&o&&!a){u=r+1;break}if(o=!0,p==="\\"&&!a){a=!0,r++;continue}if(p==="["&&!a){for(let[w,[g,S,E]]of Object.entries(Ss))if(n.startsWith(w,r)){if(c)return["$.",!1,n.length-e,!0];r+=w.length,E?i.push(g):s.push(g),h=h||S;continue t}}if(a=!1,c){p>c?s.push(lt(c)+"-"+lt(p)):p===c&&s.push(lt(p)),c="",r++;continue}if(n.startsWith("-]",r+1)){s.push(lt(p+"-")),r+=2;continue}if(n.startsWith("-",r+1)){c=p,r+=2;continue}s.push(lt(p)),r++}if(u<r)return["",!1,0,!1];if(!s.length&&!i.length)return["$.",!1,n.length-e,!0];if(i.length===0&&s.length===1&&/^\\?.$/.test(s[0])&&!l){let p=s[0].length===2?s[0].slice(-1):s[0];return[Es(p),!1,u-e,!1]}let d="["+(l?"^":"")+we(s)+"]",f="["+(l?"":"^")+we(i)+"]";return[s.length&&i.length?"("+d+"|"+f+")":s.length?d:f,h,u-e,!0]};var W=(n,{windowsPathsNoEscape:t=!1,magicalBraces:e=!0}={})=>e?t?n.replace(/\[([^\/\\])\]/g,"$1"):n.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"):t?n.replace(/\[([^\/\\{}])\]/g,"$1"):n.replace(/((?!\\).|^)\[([^\/\\{}])\]/g,"$1$2").replace(/\\([^\/{}])/g,"$1");var xs=new Set(["!","?","+","*","@"]),be=n=>xs.has(n),vs="(?!(?:^|/)\\.\\.?(?:$|/))",Ct="(?!\\.)",Cs=new Set(["[","."]),Ts=new Set(["..","."]),As=new Set("().*{}+?[]^$\\!"),ks=n=>n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Kt="[^/]",Se=Kt+"*?",Ee=Kt+"+?",Q=class n{type;#t;#s;#n=!1;#r=[];#o;#S;#w;#c=!1;#h;#u;#f=!1;constructor(t,e,s={}){this.type=t,t&&(this.#s=!0),this.#o=e,this.#t=this.#o?this.#o.#t:this,this.#h=this.#t===this?s:this.#t.#h,this.#w=this.#t===this?[]:this.#t.#w,t==="!"&&!this.#t.#c&&this.#w.push(this),this.#S=this.#o?this.#o.#r.length:0}get hasMagic(){if(this.#s!==void 0)return this.#s;for(let t of this.#r)if(typeof t!="string"&&(t.type||t.hasMagic))return this.#s=!0;return this.#s}toString(){return this.#u!==void 0?this.#u:this.type?this.#u=this.type+"("+this.#r.map(t=>String(t)).join("|")+")":this.#u=this.#r.map(t=>String(t)).join("")}#a(){if(this!==this.#t)throw new Error("should only call on root");if(this.#c)return this;this.toString(),this.#c=!0;let t;for(;t=this.#w.pop();){if(t.type!=="!")continue;let e=t,s=e.#o;for(;s;){for(let i=e.#S+1;!s.type&&i<s.#r.length;i++)for(let r of t.#r){if(typeof r=="string")throw new Error("string part in extglob AST??");r.copyIn(s.#r[i])}e=s,s=e.#o}}return this}push(...t){for(let e of t)if(e!==""){if(typeof e!="string"&&!(e instanceof n&&e.#o===this))throw new Error("invalid part: "+e);this.#r.push(e)}}toJSON(){let t=this.type===null?this.#r.slice().map(e=>typeof e=="string"?e:e.toJSON()):[this.type,...this.#r.map(e=>e.toJSON())];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===this.#t||this.#t.#c&&this.#o?.type==="!")&&t.push({}),t}isStart(){if(this.#t===this)return!0;if(!this.#o?.isStart())return!1;if(this.#S===0)return!0;let t=this.#o;for(let e=0;e<this.#S;e++){let s=t.#r[e];if(!(s instanceof n&&s.type==="!"))return!1}return!0}isEnd(){if(this.#t===this||this.#o?.type==="!")return!0;if(!this.#o?.isEnd())return!1;if(!this.type)return this.#o?.isEnd();let t=this.#o?this.#o.#r.length:0;return this.#S===t-1}copyIn(t){typeof t=="string"?this.push(t):this.push(t.clone(this))}clone(t){let e=new n(this.type,t);for(let s of this.#r)e.copyIn(s);return e}static#i(t,e,s,i){let r=!1,o=!1,h=-1,a=!1;if(e.type===null){let f=s,m="";for(;f<t.length;){let p=t.charAt(f++);if(r||p==="\\"){r=!r,m+=p;continue}if(o){f===h+1?(p==="^"||p==="!")&&(a=!0):p==="]"&&!(f===h+2&&a)&&(o=!1),m+=p;continue}else if(p==="["){o=!0,h=f,a=!1,m+=p;continue}if(!i.noext&&be(p)&&t.charAt(f)==="("){e.push(m),m="";let w=new n(p,e);f=n.#i(t,w,f,i),e.push(w);continue}m+=p}return e.push(m),f}let l=s+1,u=new n(null,e),c=[],d="";for(;l<t.length;){let f=t.charAt(l++);if(r||f==="\\"){r=!r,d+=f;continue}if(o){l===h+1?(f==="^"||f==="!")&&(a=!0):f==="]"&&!(l===h+2&&a)&&(o=!1),d+=f;continue}else if(f==="["){o=!0,h=l,a=!1,d+=f;continue}if(be(f)&&t.charAt(l)==="("){u.push(d),d="";let m=new n(f,u);u.push(m),l=n.#i(t,m,l,i);continue}if(f==="|"){u.push(d),d="",c.push(u),u=new n(null,e);continue}if(f===")")return d===""&&e.#r.length===0&&(e.#f=!0),u.push(d),d="",e.push(...c,u),l;d+=f}return e.type=null,e.#s=void 0,e.#r=[t.substring(s-1)],l}static fromGlob(t,e={}){let s=new n(null,void 0,e);return n.#i(t,s,0,e),s}toMMPattern(){if(this!==this.#t)return this.#t.toMMPattern();let t=this.toString(),[e,s,i,r]=this.toRegExpSource();if(!(i||this.#s||this.#h.nocase&&!this.#h.nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return s;let h=(this.#h.nocase?"i":"")+(r?"u":"");return Object.assign(new RegExp(`^${e}$`,h),{_src:e,_glob:t})}get options(){return this.#h}toRegExpSource(t){let e=t??!!this.#h.dot;if(this.#t===this&&this.#a(),!this.type){let a=this.isStart()&&this.isEnd()&&!this.#r.some(f=>typeof f!="string"),l=this.#r.map(f=>{let[m,p,w,g]=typeof f=="string"?n.#E(f,this.#s,a):f.toRegExpSource(t);return this.#s=this.#s||w,this.#n=this.#n||g,m}).join(""),u="";if(this.isStart()&&typeof this.#r[0]=="string"&&!(this.#r.length===1&&Ts.has(this.#r[0]))){let m=Cs,p=e&&m.has(l.charAt(0))||l.startsWith("\\.")&&m.has(l.charAt(2))||l.startsWith("\\.\\.")&&m.has(l.charAt(4)),w=!e&&!t&&m.has(l.charAt(0));u=p?vs:w?Ct:""}let c="";return this.isEnd()&&this.#t.#c&&this.#o?.type==="!"&&(c="(?:$|\\/)"),[u+l+c,W(l),this.#s=!!this.#s,this.#n]}let s=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:",r=this.#d(e);if(this.isStart()&&this.isEnd()&&!r&&this.type!=="!"){let a=this.toString();return this.#r=[a],this.type=null,this.#s=void 0,[a,W(this.toString()),!1,!1]}let o=!s||t||e||!Ct?"":this.#d(!0);o===r&&(o=""),o&&(r=`(?:${r})(?:${o})*?`);let h="";if(this.type==="!"&&this.#f)h=(this.isStart()&&!e?Ct:"")+Ee;else{let a=this.type==="!"?"))"+(this.isStart()&&!e&&!t?Ct:"")+Se+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&o?")":this.type==="*"&&o?")?":`)${this.type}`;h=i+r+a}return[h,W(r),this.#s=!!this.#s,this.#n]}#d(t){return this.#r.map(e=>{if(typeof e=="string")throw new Error("string type in extglob ast??");let[s,i,r,o]=e.toRegExpSource(t);return this.#n=this.#n||o,s}).filter(e=>!(this.isStart()&&this.isEnd())||!!e).join("|")}static#E(t,e,s=!1){let i=!1,r="",o=!1,h=!1;for(let a=0;a<t.length;a++){let l=t.charAt(a);if(i){i=!1,r+=(As.has(l)?"\\":"")+l;continue}if(l==="*"){if(h)continue;h=!0,r+=s&&/^[*]+$/.test(t)?Ee:Se,e=!0;continue}else h=!1;if(l==="\\"){a===t.length-1?r+="\\\\":i=!0;continue}if(l==="["){let[u,c,d,f]=ye(t,a);if(d){r+=u,o=o||c,a+=d-1,e=e||f;continue}}if(l==="?"){r+=Kt,e=!0;continue}r+=ks(l)}return[r,W(t),!!e,o]}};var tt=(n,{windowsPathsNoEscape:t=!1,magicalBraces:e=!1}={})=>e?t?n.replace(/[?*()[\]{}]/g,"[$&]"):n.replace(/[?*()[\]\\{}]/g,"\\$&"):t?n.replace(/[?*()[\]]/g,"[$&]"):n.replace(/[?*()[\]\\]/g,"\\$&");var O=(n,t,e={})=>(at(t),!e.nocomment&&t.charAt(0)==="#"?!1:new D(t,e).match(n)),Rs=/^\*+([^+@!?\*\[\(]*)$/,Os=n=>t=>!t.startsWith(".")&&t.endsWith(n),Fs=n=>t=>t.endsWith(n),Ds=n=>(n=n.toLowerCase(),t=>!t.startsWith(".")&&t.toLowerCase().endsWith(n)),Ms=n=>(n=n.toLowerCase(),t=>t.toLowerCase().endsWith(n)),Ns=/^\*+\.\*+$/,_s=n=>!n.startsWith(".")&&n.includes("."),Ls=n=>n!=="."&&n!==".."&&n.includes("."),Ws=/^\.\*+$/,Ps=n=>n!=="."&&n!==".."&&n.startsWith("."),js=/^\*+$/,Is=n=>n.length!==0&&!n.startsWith("."),zs=n=>n.length!==0&&n!=="."&&n!=="..",Bs=/^\?+([^+@!?\*\[\(]*)?$/,Us=([n,t=""])=>{let e=Ce([n]);return t?(t=t.toLowerCase(),s=>e(s)&&s.toLowerCase().endsWith(t)):e},$s=([n,t=""])=>{let e=Te([n]);return t?(t=t.toLowerCase(),s=>e(s)&&s.toLowerCase().endsWith(t)):e},Gs=([n,t=""])=>{let e=Te([n]);return t?s=>e(s)&&s.endsWith(t):e},Hs=([n,t=""])=>{let e=Ce([n]);return t?s=>e(s)&&s.endsWith(t):e},Ce=([n])=>{let t=n.length;return e=>e.length===t&&!e.startsWith(".")},Te=([n])=>{let t=n.length;return e=>e.length===t&&e!=="."&&e!==".."},Ae=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",xe={win32:{sep:"\\"},posix:{sep:"/"}},qs=Ae==="win32"?xe.win32.sep:xe.posix.sep;O.sep=qs;var A=Symbol("globstar **");O.GLOBSTAR=A;var Ks="[^/]",Vs=Ks+"*?",Ys="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Xs="(?:(?!(?:\\/|^)\\.).)*?",Js=(n,t={})=>e=>O(e,n,t);O.filter=Js;var N=(n,t={})=>Object.assign({},n,t),Zs=n=>{if(!n||typeof n!="object"||!Object.keys(n).length)return O;let t=O;return Object.assign((s,i,r={})=>t(s,i,N(n,r)),{Minimatch:class extends t.Minimatch{constructor(i,r={}){super(i,N(n,r))}static defaults(i){return t.defaults(N(n,i)).Minimatch}},AST:class extends t.AST{constructor(i,r,o={}){super(i,r,N(n,o))}static fromGlob(i,r={}){return t.AST.fromGlob(i,N(n,r))}},unescape:(s,i={})=>t.unescape(s,N(n,i)),escape:(s,i={})=>t.escape(s,N(n,i)),filter:(s,i={})=>t.filter(s,N(n,i)),defaults:s=>t.defaults(N(n,s)),makeRe:(s,i={})=>t.makeRe(s,N(n,i)),braceExpand:(s,i={})=>t.braceExpand(s,N(n,i)),match:(s,i,r={})=>t.match(s,i,N(n,r)),sep:t.sep,GLOBSTAR:A})};O.defaults=Zs;var ke=(n,t={})=>(at(n),t.nobrace||!/\{(?:(?!\{).)*\}/.test(n)?[n]:ge(n,{max:t.braceExpandMax}));O.braceExpand=ke;var Qs=(n,t={})=>new D(n,t).makeRe();O.makeRe=Qs;var ti=(n,t,e={})=>{let s=new D(t,e);return n=n.filter(i=>s.match(i)),s.options.nonull&&!n.length&&n.push(t),n};O.match=ti;var ve=/[?*]|[+@!]\(.*?\)|\[|\]/,ei=n=>n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),D=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,e={}){at(t),e=e||{},this.options=e,this.pattern=t,this.platform=e.platform||Ae,this.isWindows=this.platform==="win32";let s="allowWindowsEscape";this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||e[s]===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=e.windowsNoMagicRoot!==void 0?e.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 t of this.set)for(let e of t)if(typeof e!="string")return!0;return!1}debug(...t){}make(){let t=this.pattern,e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=(...r)=>console.error(...r)),this.debug(this.pattern,this.globSet);let s=this.globSet.map(r=>this.slashSplit(r));this.globParts=this.preprocess(s),this.debug(this.pattern,this.globParts);let i=this.globParts.map((r,o,h)=>{if(this.isWindows&&this.windowsNoMagicRoot){let a=r[0]===""&&r[1]===""&&(r[2]==="?"||!ve.test(r[2]))&&!ve.test(r[3]),l=/^[a-z]:/i.test(r[0]);if(a)return[...r.slice(0,4),...r.slice(4).map(u=>this.parse(u))];if(l)return[r[0],...r.slice(1).map(u=>this.parse(u))]}return r.map(a=>this.parse(a))});if(this.debug(this.pattern,i),this.set=i.filter(r=>r.indexOf(!1)===-1),this.isWindows)for(let r=0;r<this.set.length;r++){let o=this.set[r];o[0]===""&&o[1]===""&&this.globParts[r][2]==="?"&&typeof o[3]=="string"&&/^[a-z]:$/i.test(o[3])&&(o[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let s=0;s<t.length;s++)for(let i=0;i<t[s].length;i++)t[s][i]==="**"&&(t[s][i]="*");let{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):e>=1?t=this.levelOneOptimize(t):t=this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map(e=>{let s=-1;for(;(s=e.indexOf("**",s+1))!==-1;){let i=s;for(;e[i+1]==="**";)i++;i!==s&&e.splice(s,i-s)}return e})}levelOneOptimize(t){return t.map(e=>(e=e.reduce((s,i)=>{let r=s[s.length-1];return i==="**"&&r==="**"?s:i===".."&&r&&r!==".."&&r!=="."&&r!=="**"?(s.pop(),s):(s.push(i),s)},[]),e.length===0?[""]:e))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let i=1;i<t.length-1;i++){let r=t[i];i===1&&r===""&&t[0]===""||(r==="."||r==="")&&(e=!0,t.splice(i,1),i--)}t[0]==="."&&t.length===2&&(t[1]==="."||t[1]==="")&&(e=!0,t.pop())}let s=0;for(;(s=t.indexOf("..",s+1))!==-1;){let i=t[s-1];i&&i!=="."&&i!==".."&&i!=="**"&&(e=!0,t.splice(s-1,2),s-=2)}}while(e);return t.length===0?[""]:t}firstPhasePreProcess(t){let e=!1;do{e=!1;for(let s of t){let i=-1;for(;(i=s.indexOf("**",i+1))!==-1;){let o=i;for(;s[o+1]==="**";)o++;o>i&&s.splice(i+1,o-i);let h=s[i+1],a=s[i+2],l=s[i+3];if(h!==".."||!a||a==="."||a===".."||!l||l==="."||l==="..")continue;e=!0,s.splice(i,1);let u=s.slice(0);u[i]="**",t.push(u),i--}if(!this.preserveMultipleSlashes){for(let o=1;o<s.length-1;o++){let h=s[o];o===1&&h===""&&s[0]===""||(h==="."||h==="")&&(e=!0,s.splice(o,1),o--)}s[0]==="."&&s.length===2&&(s[1]==="."||s[1]==="")&&(e=!0,s.pop())}let r=0;for(;(r=s.indexOf("..",r+1))!==-1;){let o=s[r-1];if(o&&o!=="."&&o!==".."&&o!=="**"){e=!0;let a=r===1&&s[r+1]==="**"?["."]:[];s.splice(r-1,2,...a),s.length===0&&s.push(""),r-=2}}}}while(e);return t}secondPhasePreProcess(t){for(let e=0;e<t.length-1;e++)for(let s=e+1;s<t.length;s++){let i=this.partsMatch(t[e],t[s],!this.preserveMultipleSlashes);if(i){t[e]=[],t[s]=i;break}}return t.filter(e=>e.length)}partsMatch(t,e,s=!1){let i=0,r=0,o=[],h="";for(;i<t.length&&r<e.length;)if(t[i]===e[r])o.push(h==="b"?e[r]:t[i]),i++,r++;else if(s&&t[i]==="**"&&e[r]===t[i+1])o.push(t[i]),i++;else if(s&&e[r]==="**"&&t[i]===e[r+1])o.push(e[r]),r++;else if(t[i]==="*"&&e[r]&&(this.options.dot||!e[r].startsWith("."))&&e[r]!=="**"){if(h==="b")return!1;h="a",o.push(t[i]),i++,r++}else if(e[r]==="*"&&t[i]&&(this.options.dot||!t[i].startsWith("."))&&t[i]!=="**"){if(h==="a")return!1;h="b",o.push(e[r]),i++,r++}else return!1;return t.length===e.length&&o}parseNegate(){if(this.nonegate)return;let t=this.pattern,e=!1,s=0;for(let i=0;i<t.length&&t.charAt(i)==="!";i++)e=!e,s++;s&&(this.pattern=t.slice(s)),this.negate=e}matchOne(t,e,s=!1){let i=this.options;if(this.isWindows){let p=typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0]),w=!p&&t[0]===""&&t[1]===""&&t[2]==="?"&&/^[a-z]:$/i.test(t[3]),g=typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0]),S=!g&&e[0]===""&&e[1]===""&&e[2]==="?"&&typeof e[3]=="string"&&/^[a-z]:$/i.test(e[3]),E=w?3:p?0:void 0,y=S?3:g?0:void 0;if(typeof E=="number"&&typeof y=="number"){let[b,z]=[t[E],e[y]];b.toLowerCase()===z.toLowerCase()&&(e[y]=b,y>E?e=e.slice(y):E>y&&(t=t.slice(E)))}}let{optimizationLevel:r=1}=this.options;r>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var o=0,h=0,a=t.length,l=e.length;o<a&&h<l;o++,h++){this.debug("matchOne loop");var u=e[h],c=t[o];if(this.debug(e,u,c),u===!1)return!1;if(u===A){this.debug("GLOBSTAR",[e,u,c]);var d=o,f=h+1;if(f===l){for(this.debug("** at the end");o<a;o++)if(t[o]==="."||t[o]===".."||!i.dot&&t[o].charAt(0)===".")return!1;return!0}for(;d<a;){var m=t[d];if(this.debug(`
11722
- globstar while`,t,d,e,f,m),this.matchOne(t.slice(d),e.slice(f),s))return this.debug("globstar found match!",d,a,m),!0;if(m==="."||m===".."||!i.dot&&m.charAt(0)==="."){this.debug("dot detected!",t,d,e,f);break}this.debug("globstar swallow a segment, and continue"),d++}return!!(s&&(this.debug(`
11723
- >>> no match, partial?`,t,d,e,f),d===a))}let p;if(typeof u=="string"?(p=c===u,this.debug("string match",u,c,p)):(p=u.test(c),this.debug("pattern match",u,c,p)),!p)return!1}if(o===a&&h===l)return!0;if(o===a)return s;if(h===l)return o===a-1&&t[o]==="";throw new Error("wtf?")}braceExpand(){return ke(this.pattern,this.options)}parse(t){at(t);let e=this.options;if(t==="**")return A;if(t==="")return"";let s,i=null;(s=t.match(js))?i=e.dot?zs:Is:(s=t.match(Rs))?i=(e.nocase?e.dot?Ms:Ds:e.dot?Fs:Os)(s[1]):(s=t.match(Bs))?i=(e.nocase?e.dot?$s:Us:e.dot?Gs:Hs)(s):(s=t.match(Ns))?i=e.dot?Ls:_s:(s=t.match(Ws))&&(i=Ps);let r=Q.fromGlob(t,this.options).toMMPattern();return i&&typeof r=="object"&&Reflect.defineProperty(r,"test",{value:i}),r}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let t=this.set;if(!t.length)return this.regexp=!1,this.regexp;let e=this.options,s=e.noglobstar?Vs:e.dot?Ys:Xs,i=new Set(e.nocase?["i"]:[]),r=t.map(a=>{let l=a.map(c=>{if(c instanceof RegExp)for(let d of c.flags.split(""))i.add(d);return typeof c=="string"?ei(c):c===A?A:c._src});l.forEach((c,d)=>{let f=l[d+1],m=l[d-1];c!==A||m===A||(m===void 0?f!==void 0&&f!==A?l[d+1]="(?:\\/|"+s+"\\/)?"+f:l[d]=s:f===void 0?l[d-1]=m+"(?:\\/|\\/"+s+")?":f!==A&&(l[d-1]=m+"(?:\\/|\\/"+s+"\\/)"+f,l[d+1]=A))});let u=l.filter(c=>c!==A);if(this.partial&&u.length>=1){let c=[];for(let d=1;d<=u.length;d++)c.push(u.slice(0,d).join("/"));return"(?:"+c.join("|")+")"}return u.join("/")}).join("|"),[o,h]=t.length>1?["(?:",")"]:["",""];r="^"+o+r+h+"$",this.partial&&(r="^(?:\\/|"+o+r.slice(1,-1)+h+")$"),this.negate&&(r="^(?!"+r+").+$");try{this.regexp=new RegExp(r,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return t==="";if(t==="/"&&e)return!0;let s=this.options;this.isWindows&&(t=t.split("\\").join("/"));let i=this.slashSplit(t);this.debug(this.pattern,"split",i);let r=this.set;this.debug(this.pattern,"set",r);let o=i[i.length-1];if(!o)for(let h=i.length-2;!o&&h>=0;h--)o=i[h];for(let h=0;h<r.length;h++){let a=r[h],l=i;if(s.matchBase&&a.length===1&&(l=[o]),this.matchOne(l,a,e))return s.flipNegate?!0:!this.negate}return s.flipNegate?!1:this.negate}static defaults(t){return O.defaults(t).Minimatch}};O.AST=Q;O.Minimatch=D;O.escape=tt;O.unescape=W;var si=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,Oe=new Set,Vt=typeof process=="object"&&process?process:{},Fe=(n,t,e,s)=>{typeof Vt.emitWarning=="function"?Vt.emitWarning(n,t,e,s):console.error(`[${e}] ${t}: ${n}`)},At=globalThis.AbortController,Re=globalThis.AbortSignal;if(typeof At>"u"){Re=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(e,s){this._onabort.push(s)}},At=class{constructor(){t()}signal=new Re;abort(e){if(!this.signal.aborted){this.signal.reason=e,this.signal.aborted=!0;for(let s of this.signal._onabort)s(e);this.signal.onabort?.(e)}}};let n=Vt.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",t=()=>{n&&(n=!1,Fe("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",t))}}var ii=n=>!Oe.has(n);var q=n=>n&&n===Math.floor(n)&&n>0&&isFinite(n),De=n=>q(n)?n<=Math.pow(2,8)?Uint8Array:n<=Math.pow(2,16)?Uint16Array:n<=Math.pow(2,32)?Uint32Array:n<=Number.MAX_SAFE_INTEGER?Tt:null:null,Tt=class extends Array{constructor(n){super(n),this.fill(0)}},ri=class ct{heap;length;static#t=!1;static create(t){let e=De(t);if(!e)return[];ct.#t=!0;let s=new ct(t,e);return ct.#t=!1,s}constructor(t,e){if(!ct.#t)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}},ft=class Me{#t;#s;#n;#r;#o;#S;#w;#c;get perf(){return this.#c}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#h;#u;#f;#a;#i;#d;#E;#b;#p;#R;#m;#C;#T;#g;#y;#x;#A;#e;#_;static unsafeExposeInternals(t){return{starts:t.#T,ttls:t.#g,autopurgeTimers:t.#y,sizes:t.#C,keyMap:t.#f,keyList:t.#a,valList:t.#i,next:t.#d,prev:t.#E,get head(){return t.#b},get tail(){return t.#p},free:t.#R,isBackgroundFetch:e=>t.#l(e),backgroundFetch:(e,s,i,r)=>t.#U(e,s,i,r),moveToTail:e=>t.#W(e),indexes:e=>t.#F(e),rindexes:e=>t.#D(e),isStale:e=>t.#v(e)}}get max(){return this.#t}get maxSize(){return this.#s}get calculatedSize(){return this.#u}get size(){return this.#h}get fetchMethod(){return this.#S}get memoMethod(){return this.#w}get dispose(){return this.#n}get onInsert(){return this.#r}get disposeAfter(){return this.#o}constructor(t){let{max:e=0,ttl:s,ttlResolution:i=1,ttlAutopurge:r,updateAgeOnGet:o,updateAgeOnHas:h,allowStale:a,dispose:l,onInsert:u,disposeAfter:c,noDisposeOnSet:d,noUpdateTTL:f,maxSize:m=0,maxEntrySize:p=0,sizeCalculation:w,fetchMethod:g,memoMethod:S,noDeleteOnFetchRejection:E,noDeleteOnStaleGet:y,allowStaleOnFetchRejection:b,allowStaleOnFetchAbort:z,ignoreFetchAbort:$,perf:J}=t;if(J!==void 0&&typeof J?.now!="function")throw new TypeError("perf option must have a now() method if specified");if(this.#c=J??si,e!==0&&!q(e))throw new TypeError("max option must be a nonnegative integer");let Z=e?De(e):Array;if(!Z)throw new Error("invalid max value: "+e);if(this.#t=e,this.#s=m,this.maxEntrySize=p||this.#s,this.sizeCalculation=w,this.sizeCalculation){if(!this.#s&&!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(S!==void 0&&typeof S!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#w=S,g!==void 0&&typeof g!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#S=g,this.#A=!!g,this.#f=new Map,this.#a=new Array(e).fill(void 0),this.#i=new Array(e).fill(void 0),this.#d=new Z(e),this.#E=new Z(e),this.#b=0,this.#p=0,this.#R=ri.create(e),this.#h=0,this.#u=0,typeof l=="function"&&(this.#n=l),typeof u=="function"&&(this.#r=u),typeof c=="function"?(this.#o=c,this.#m=[]):(this.#o=void 0,this.#m=void 0),this.#x=!!this.#n,this.#_=!!this.#r,this.#e=!!this.#o,this.noDisposeOnSet=!!d,this.noUpdateTTL=!!f,this.noDeleteOnFetchRejection=!!E,this.allowStaleOnFetchRejection=!!b,this.allowStaleOnFetchAbort=!!z,this.ignoreFetchAbort=!!$,this.maxEntrySize!==0){if(this.#s!==0&&!q(this.#s))throw new TypeError("maxSize must be a positive integer if specified");if(!q(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#G()}if(this.allowStale=!!a,this.noDeleteOnStaleGet=!!y,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!h,this.ttlResolution=q(i)||i===0?i:1,this.ttlAutopurge=!!r,this.ttl=s||0,this.ttl){if(!q(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#M()}if(this.#t===0&&this.ttl===0&&this.#s===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#t&&!this.#s){let $t="LRU_CACHE_UNBOUNDED";ii($t)&&(Oe.add($t),Fe("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",$t,Me))}}getRemainingTTL(t){return this.#f.has(t)?1/0:0}#M(){let t=new Tt(this.#t),e=new Tt(this.#t);this.#g=t,this.#T=e;let s=this.ttlAutopurge?new Array(this.#t):void 0;this.#y=s,this.#j=(o,h,a=this.#c.now())=>{if(e[o]=h!==0?a:0,t[o]=h,s?.[o]&&(clearTimeout(s[o]),s[o]=void 0),h!==0&&s){let l=setTimeout(()=>{this.#v(o)&&this.#O(this.#a[o],"expire")},h+1);l.unref&&l.unref(),s[o]=l}},this.#k=o=>{e[o]=t[o]!==0?this.#c.now():0},this.#N=(o,h)=>{if(t[h]){let a=t[h],l=e[h];if(!a||!l)return;o.ttl=a,o.start=l,o.now=i||r();let u=o.now-l;o.remainingTTL=a-u}};let i=0,r=()=>{let o=this.#c.now();if(this.ttlResolution>0){i=o;let h=setTimeout(()=>i=0,this.ttlResolution);h.unref&&h.unref()}return o};this.getRemainingTTL=o=>{let h=this.#f.get(o);if(h===void 0)return 0;let a=t[h],l=e[h];if(!a||!l)return 1/0;let u=(i||r())-l;return a-u},this.#v=o=>{let h=e[o],a=t[o];return!!a&&!!h&&(i||r())-h>a}}#k=()=>{};#N=()=>{};#j=()=>{};#v=()=>!1;#G(){let t=new Tt(this.#t);this.#u=0,this.#C=t,this.#P=e=>{this.#u-=t[e],t[e]=0},this.#I=(e,s,i,r)=>{if(this.#l(s))return 0;if(!q(i))if(r){if(typeof r!="function")throw new TypeError("sizeCalculation must be a function");if(i=r(s,e),!q(i))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 i},this.#L=(e,s,i)=>{if(t[e]=s,this.#s){let r=this.#s-t[e];for(;this.#u>r;)this.#B(!0)}this.#u+=t[e],i&&(i.entrySize=s,i.totalCalculatedSize=this.#u)}}#P=t=>{};#L=(t,e,s)=>{};#I=(t,e,s,i)=>{if(s||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#F({allowStale:t=this.allowStale}={}){if(this.#h)for(let e=this.#p;!(!this.#z(e)||((t||!this.#v(e))&&(yield e),e===this.#b));)e=this.#E[e]}*#D({allowStale:t=this.allowStale}={}){if(this.#h)for(let e=this.#b;!(!this.#z(e)||((t||!this.#v(e))&&(yield e),e===this.#p));)e=this.#d[e]}#z(t){return t!==void 0&&this.#f.get(this.#a[t])===t}*entries(){for(let t of this.#F())this.#i[t]!==void 0&&this.#a[t]!==void 0&&!this.#l(this.#i[t])&&(yield[this.#a[t],this.#i[t]])}*rentries(){for(let t of this.#D())this.#i[t]!==void 0&&this.#a[t]!==void 0&&!this.#l(this.#i[t])&&(yield[this.#a[t],this.#i[t]])}*keys(){for(let t of this.#F()){let e=this.#a[t];e!==void 0&&!this.#l(this.#i[t])&&(yield e)}}*rkeys(){for(let t of this.#D()){let e=this.#a[t];e!==void 0&&!this.#l(this.#i[t])&&(yield e)}}*values(){for(let t of this.#F())this.#i[t]!==void 0&&!this.#l(this.#i[t])&&(yield this.#i[t])}*rvalues(){for(let t of this.#D())this.#i[t]!==void 0&&!this.#l(this.#i[t])&&(yield this.#i[t])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,e={}){for(let s of this.#F()){let i=this.#i[s],r=this.#l(i)?i.__staleWhileFetching:i;if(r!==void 0&&t(r,this.#a[s],this))return this.get(this.#a[s],e)}}forEach(t,e=this){for(let s of this.#F()){let i=this.#i[s],r=this.#l(i)?i.__staleWhileFetching:i;r!==void 0&&t.call(e,r,this.#a[s],this)}}rforEach(t,e=this){for(let s of this.#D()){let i=this.#i[s],r=this.#l(i)?i.__staleWhileFetching:i;r!==void 0&&t.call(e,r,this.#a[s],this)}}purgeStale(){let t=!1;for(let e of this.#D({allowStale:!0}))this.#v(e)&&(this.#O(this.#a[e],"expire"),t=!0);return t}info(t){let e=this.#f.get(t);if(e===void 0)return;let s=this.#i[e],i=this.#l(s)?s.__staleWhileFetching:s;if(i===void 0)return;let r={value:i};if(this.#g&&this.#T){let o=this.#g[e],h=this.#T[e];if(o&&h){let a=o-(this.#c.now()-h);r.ttl=a,r.start=Date.now()}}return this.#C&&(r.size=this.#C[e]),r}dump(){let t=[];for(let e of this.#F({allowStale:!0})){let s=this.#a[e],i=this.#i[e],r=this.#l(i)?i.__staleWhileFetching:i;if(r===void 0||s===void 0)continue;let o={value:r};if(this.#g&&this.#T){o.ttl=this.#g[e];let h=this.#c.now()-this.#T[e];o.start=Math.floor(Date.now()-h)}this.#C&&(o.size=this.#C[e]),t.unshift([s,o])}return t}load(t){this.clear();for(let[e,s]of t){if(s.start){let i=Date.now()-s.start;s.start=this.#c.now()-i}this.set(e,s.value,s)}}set(t,e,s={}){if(e===void 0)return this.delete(t),this;let{ttl:i=this.ttl,start:r,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:h=this.sizeCalculation,status:a}=s,{noUpdateTTL:l=this.noUpdateTTL}=s,u=this.#I(t,e,s.size||0,h);if(this.maxEntrySize&&u>this.maxEntrySize)return a&&(a.set="miss",a.maxEntrySizeExceeded=!0),this.#O(t,"set"),this;let c=this.#h===0?void 0:this.#f.get(t);if(c===void 0)c=this.#h===0?this.#p:this.#R.length!==0?this.#R.pop():this.#h===this.#t?this.#B(!1):this.#h,this.#a[c]=t,this.#i[c]=e,this.#f.set(t,c),this.#d[this.#p]=c,this.#E[c]=this.#p,this.#p=c,this.#h++,this.#L(c,u,a),a&&(a.set="add"),l=!1,this.#_&&this.#r?.(e,t,"add");else{this.#W(c);let d=this.#i[c];if(e!==d){if(this.#A&&this.#l(d)){d.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:f}=d;f!==void 0&&!o&&(this.#x&&this.#n?.(f,t,"set"),this.#e&&this.#m?.push([f,t,"set"]))}else o||(this.#x&&this.#n?.(d,t,"set"),this.#e&&this.#m?.push([d,t,"set"]));if(this.#P(c),this.#L(c,u,a),this.#i[c]=e,a){a.set="replace";let f=d&&this.#l(d)?d.__staleWhileFetching:d;f!==void 0&&(a.oldValue=f)}}else a&&(a.set="update");this.#_&&this.onInsert?.(e,t,e===d?"update":"replace")}if(i!==0&&!this.#g&&this.#M(),this.#g&&(l||this.#j(c,i,r),a&&this.#N(a,c)),!o&&this.#e&&this.#m){let d=this.#m,f;for(;f=d?.shift();)this.#o?.(...f)}return this}pop(){try{for(;this.#h;){let t=this.#i[this.#b];if(this.#B(!0),this.#l(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#e&&this.#m){let t=this.#m,e;for(;e=t?.shift();)this.#o?.(...e)}}}#B(t){let e=this.#b,s=this.#a[e],i=this.#i[e];return this.#A&&this.#l(i)?i.__abortController.abort(new Error("evicted")):(this.#x||this.#e)&&(this.#x&&this.#n?.(i,s,"evict"),this.#e&&this.#m?.push([i,s,"evict"])),this.#P(e),this.#y?.[e]&&(clearTimeout(this.#y[e]),this.#y[e]=void 0),t&&(this.#a[e]=void 0,this.#i[e]=void 0,this.#R.push(e)),this.#h===1?(this.#b=this.#p=0,this.#R.length=0):this.#b=this.#d[e],this.#f.delete(s),this.#h--,e}has(t,e={}){let{updateAgeOnHas:s=this.updateAgeOnHas,status:i}=e,r=this.#f.get(t);if(r!==void 0){let o=this.#i[r];if(this.#l(o)&&o.__staleWhileFetching===void 0)return!1;if(this.#v(r))i&&(i.has="stale",this.#N(i,r));else return s&&this.#k(r),i&&(i.has="hit",this.#N(i,r)),!0}else i&&(i.has="miss");return!1}peek(t,e={}){let{allowStale:s=this.allowStale}=e,i=this.#f.get(t);if(i===void 0||!s&&this.#v(i))return;let r=this.#i[i];return this.#l(r)?r.__staleWhileFetching:r}#U(t,e,s,i){let r=e===void 0?void 0:this.#i[e];if(this.#l(r))return r;let o=new At,{signal:h}=s;h?.addEventListener("abort",()=>o.abort(h.reason),{signal:o.signal});let a={signal:o.signal,options:s,context:i},l=(p,w=!1)=>{let{aborted:g}=o.signal,S=s.ignoreFetchAbort&&p!==void 0,E=s.ignoreFetchAbort||!!(s.allowStaleOnFetchAbort&&p!==void 0);if(s.status&&(g&&!w?(s.status.fetchAborted=!0,s.status.fetchError=o.signal.reason,S&&(s.status.fetchAbortIgnored=!0)):s.status.fetchResolved=!0),g&&!S&&!w)return c(o.signal.reason,E);let y=f,b=this.#i[e];return(b===f||S&&w&&b===void 0)&&(p===void 0?y.__staleWhileFetching!==void 0?this.#i[e]=y.__staleWhileFetching:this.#O(t,"fetch"):(s.status&&(s.status.fetchUpdated=!0),this.set(t,p,a.options))),p},u=p=>(s.status&&(s.status.fetchRejected=!0,s.status.fetchError=p),c(p,!1)),c=(p,w)=>{let{aborted:g}=o.signal,S=g&&s.allowStaleOnFetchAbort,E=S||s.allowStaleOnFetchRejection,y=E||s.noDeleteOnFetchRejection,b=f;if(this.#i[e]===f&&(!y||!w&&b.__staleWhileFetching===void 0?this.#O(t,"fetch"):S||(this.#i[e]=b.__staleWhileFetching)),E)return s.status&&b.__staleWhileFetching!==void 0&&(s.status.returnedStale=!0),b.__staleWhileFetching;if(b.__returned===b)throw p},d=(p,w)=>{let g=this.#S?.(t,r,a);g&&g instanceof Promise&&g.then(S=>p(S===void 0?void 0:S),w),o.signal.addEventListener("abort",()=>{(!s.ignoreFetchAbort||s.allowStaleOnFetchAbort)&&(p(void 0),s.allowStaleOnFetchAbort&&(p=S=>l(S,!0)))})};s.status&&(s.status.fetchDispatched=!0);let f=new Promise(d).then(l,u),m=Object.assign(f,{__abortController:o,__staleWhileFetching:r,__returned:void 0});return e===void 0?(this.set(t,m,{...a.options,status:void 0}),e=this.#f.get(t)):this.#i[e]=m,m}#l(t){if(!this.#A)return!1;let e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof At}async fetch(t,e={}){let{allowStale:s=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:h=this.noDisposeOnSet,size:a=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:u=this.noUpdateTTL,noDeleteOnFetchRejection:c=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:f=this.ignoreFetchAbort,allowStaleOnFetchAbort:m=this.allowStaleOnFetchAbort,context:p,forceRefresh:w=!1,status:g,signal:S}=e;if(!this.#A)return g&&(g.fetch="get"),this.get(t,{allowStale:s,updateAgeOnGet:i,noDeleteOnStaleGet:r,status:g});let E={allowStale:s,updateAgeOnGet:i,noDeleteOnStaleGet:r,ttl:o,noDisposeOnSet:h,size:a,sizeCalculation:l,noUpdateTTL:u,noDeleteOnFetchRejection:c,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:m,ignoreFetchAbort:f,status:g,signal:S},y=this.#f.get(t);if(y===void 0){g&&(g.fetch="miss");let b=this.#U(t,y,E,p);return b.__returned=b}else{let b=this.#i[y];if(this.#l(b)){let Z=s&&b.__staleWhileFetching!==void 0;return g&&(g.fetch="inflight",Z&&(g.returnedStale=!0)),Z?b.__staleWhileFetching:b.__returned=b}let z=this.#v(y);if(!w&&!z)return g&&(g.fetch="hit"),this.#W(y),i&&this.#k(y),g&&this.#N(g,y),b;let $=this.#U(t,y,E,p),J=$.__staleWhileFetching!==void 0&&s;return g&&(g.fetch=z?"stale":"refresh",J&&z&&(g.returnedStale=!0)),J?$.__staleWhileFetching:$.__returned=$}}async forceFetch(t,e={}){let s=await this.fetch(t,e);if(s===void 0)throw new Error("fetch() returned undefined");return s}memo(t,e={}){let s=this.#w;if(!s)throw new Error("no memoMethod provided to constructor");let{context:i,forceRefresh:r,...o}=e,h=this.get(t,o);if(!r&&h!==void 0)return h;let a=s(t,h,{options:o,context:i});return this.set(t,a,o),a}get(t,e={}){let{allowStale:s=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,status:o}=e,h=this.#f.get(t);if(h!==void 0){let a=this.#i[h],l=this.#l(a);return o&&this.#N(o,h),this.#v(h)?(o&&(o.get="stale"),l?(o&&s&&a.__staleWhileFetching!==void 0&&(o.returnedStale=!0),s?a.__staleWhileFetching:void 0):(r||this.#O(t,"expire"),o&&s&&(o.returnedStale=!0),s?a:void 0)):(o&&(o.get="hit"),l?a.__staleWhileFetching:(this.#W(h),i&&this.#k(h),a))}else o&&(o.get="miss")}#$(t,e){this.#E[e]=t,this.#d[t]=e}#W(t){t!==this.#p&&(t===this.#b?this.#b=this.#d[t]:this.#$(this.#E[t],this.#d[t]),this.#$(this.#p,t),this.#p=t)}delete(t){return this.#O(t,"delete")}#O(t,e){let s=!1;if(this.#h!==0){let i=this.#f.get(t);if(i!==void 0)if(this.#y?.[i]&&(clearTimeout(this.#y?.[i]),this.#y[i]=void 0),s=!0,this.#h===1)this.#H(e);else{this.#P(i);let r=this.#i[i];if(this.#l(r)?r.__abortController.abort(new Error("deleted")):(this.#x||this.#e)&&(this.#x&&this.#n?.(r,t,e),this.#e&&this.#m?.push([r,t,e])),this.#f.delete(t),this.#a[i]=void 0,this.#i[i]=void 0,i===this.#p)this.#p=this.#E[i];else if(i===this.#b)this.#b=this.#d[i];else{let o=this.#E[i];this.#d[o]=this.#d[i];let h=this.#d[i];this.#E[h]=this.#E[i]}this.#h--,this.#R.push(i)}}if(this.#e&&this.#m?.length){let i=this.#m,r;for(;r=i?.shift();)this.#o?.(...r)}return s}clear(){return this.#H("delete")}#H(t){for(let e of this.#D({allowStale:!0})){let s=this.#i[e];if(this.#l(s))s.__abortController.abort(new Error("deleted"));else{let i=this.#a[e];this.#x&&this.#n?.(s,i,t),this.#e&&this.#m?.push([s,i,t])}}if(this.#f.clear(),this.#i.fill(void 0),this.#a.fill(void 0),this.#g&&this.#T){this.#g.fill(0),this.#T.fill(0);for(let e of this.#y??[])e!==void 0&&clearTimeout(e);this.#y?.fill(void 0)}if(this.#C&&this.#C.fill(0),this.#b=0,this.#p=0,this.#R.length=0,this.#u=0,this.#h=0,this.#e&&this.#m){let e=this.#m,s;for(;s=e?.shift();)this.#o?.(...s)}}};var Ne=typeof process=="object"&&process?process:{stdout:null,stderr:null},oi=n=>!!n&&typeof n=="object"&&(n instanceof V||n instanceof node_stream__WEBPACK_IMPORTED_MODULE_6__||hi(n)||ai(n)),hi=n=>!!n&&typeof n=="object"&&n instanceof node_events__WEBPACK_IMPORTED_MODULE_5__.EventEmitter&&typeof n.pipe=="function"&&n.pipe!==node_stream__WEBPACK_IMPORTED_MODULE_6__.Writable.prototype.pipe,ai=n=>!!n&&typeof n=="object"&&n instanceof node_events__WEBPACK_IMPORTED_MODULE_5__.EventEmitter&&typeof n.write=="function"&&typeof n.end=="function",G=Symbol("EOF"),H=Symbol("maybeEmitEnd"),K=Symbol("emittedEnd"),kt=Symbol("emittingEnd"),ut=Symbol("emittedError"),Rt=Symbol("closed"),_e=Symbol("read"),Ot=Symbol("flush"),Le=Symbol("flushChunk"),P=Symbol("encoding"),et=Symbol("decoder"),v=Symbol("flowing"),dt=Symbol("paused"),st=Symbol("resume"),C=Symbol("buffer"),F=Symbol("pipes"),T=Symbol("bufferLength"),Yt=Symbol("bufferPush"),Ft=Symbol("bufferShift"),k=Symbol("objectMode"),x=Symbol("destroyed"),Xt=Symbol("error"),Jt=Symbol("emitData"),We=Symbol("emitEnd"),Zt=Symbol("emitEnd2"),B=Symbol("async"),Qt=Symbol("abort"),Dt=Symbol("aborted"),pt=Symbol("signal"),Y=Symbol("dataListeners"),M=Symbol("discarded"),mt=n=>Promise.resolve().then(n),li=n=>n(),ci=n=>n==="end"||n==="finish"||n==="prefinish",fi=n=>n instanceof ArrayBuffer||!!n&&typeof n=="object"&&n.constructor&&n.constructor.name==="ArrayBuffer"&&n.byteLength>=0,ui=n=>!Buffer.isBuffer(n)&&ArrayBuffer.isView(n),Mt=class{src;dest;opts;ondrain;constructor(t,e,s){this.src=t,this.dest=e,this.opts=s,this.ondrain=()=>t[st](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(t){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},te=class extends Mt{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,e,s){super(t,e,s),this.proxyErrors=i=>this.dest.emit("error",i),t.on("error",this.proxyErrors)}},di=n=>!!n.objectMode,pi=n=>!n.objectMode&&!!n.encoding&&n.encoding!=="buffer",V=class extends node_events__WEBPACK_IMPORTED_MODULE_5__.EventEmitter{[v]=!1;[dt]=!1;[F]=[];[C]=[];[k];[P];[B];[et];[G]=!1;[K]=!1;[kt]=!1;[Rt]=!1;[ut]=null;[T]=0;[x]=!1;[pt];[Dt]=!1;[Y]=0;[M]=!1;writable=!0;readable=!0;constructor(...t){let e=t[0]||{};if(super(),e.objectMode&&typeof e.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");di(e)?(this[k]=!0,this[P]=null):pi(e)?(this[P]=e.encoding,this[k]=!1):(this[k]=!1,this[P]=null),this[B]=!!e.async,this[et]=this[P]?new node_string_decoder__WEBPACK_IMPORTED_MODULE_7__.StringDecoder(this[P]):null,e&&e.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[C]}),e&&e.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[F]});let{signal:s}=e;s&&(this[pt]=s,s.aborted?this[Qt]():s.addEventListener("abort",()=>this[Qt]()))}get bufferLength(){return this[T]}get encoding(){return this[P]}set encoding(t){throw new Error("Encoding must be set at instantiation time")}setEncoding(t){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[k]}set objectMode(t){throw new Error("objectMode must be set at instantiation time")}get async(){return this[B]}set async(t){this[B]=this[B]||!!t}[Qt](){this[Dt]=!0,this.emit("abort",this[pt]?.reason),this.destroy(this[pt]?.reason)}get aborted(){return this[Dt]}set aborted(t){}write(t,e,s){if(this[Dt])return!1;if(this[G])throw new Error("write after end");if(this[x])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof e=="function"&&(s=e,e="utf8"),e||(e="utf8");let i=this[B]?mt:li;if(!this[k]&&!Buffer.isBuffer(t)){if(ui(t))t=Buffer.from(t.buffer,t.byteOffset,t.byteLength);else if(fi(t))t=Buffer.from(t);else if(typeof t!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[k]?(this[v]&&this[T]!==0&&this[Ot](!0),this[v]?this.emit("data",t):this[Yt](t),this[T]!==0&&this.emit("readable"),s&&i(s),this[v]):t.length?(typeof t=="string"&&!(e===this[P]&&!this[et]?.lastNeed)&&(t=Buffer.from(t,e)),Buffer.isBuffer(t)&&this[P]&&(t=this[et].write(t)),this[v]&&this[T]!==0&&this[Ot](!0),this[v]?this.emit("data",t):this[Yt](t),this[T]!==0&&this.emit("readable"),s&&i(s),this[v]):(this[T]!==0&&this.emit("readable"),s&&i(s),this[v])}read(t){if(this[x])return null;if(this[M]=!1,this[T]===0||t===0||t&&t>this[T])return this[H](),null;this[k]&&(t=null),this[C].length>1&&!this[k]&&(this[C]=[this[P]?this[C].join(""):Buffer.concat(this[C],this[T])]);let e=this[_e](t||null,this[C][0]);return this[H](),e}[_e](t,e){if(this[k])this[Ft]();else{let s=e;t===s.length||t===null?this[Ft]():typeof s=="string"?(this[C][0]=s.slice(t),e=s.slice(0,t),this[T]-=t):(this[C][0]=s.subarray(t),e=s.subarray(0,t),this[T]-=t)}return this.emit("data",e),!this[C].length&&!this[G]&&this.emit("drain"),e}end(t,e,s){return typeof t=="function"&&(s=t,t=void 0),typeof e=="function"&&(s=e,e="utf8"),t!==void 0&&this.write(t,e),s&&this.once("end",s),this[G]=!0,this.writable=!1,(this[v]||!this[dt])&&this[H](),this}[st](){this[x]||(!this[Y]&&!this[F].length&&(this[M]=!0),this[dt]=!1,this[v]=!0,this.emit("resume"),this[C].length?this[Ot]():this[G]?this[H]():this.emit("drain"))}resume(){return this[st]()}pause(){this[v]=!1,this[dt]=!0,this[M]=!1}get destroyed(){return this[x]}get flowing(){return this[v]}get paused(){return this[dt]}[Yt](t){this[k]?this[T]+=1:this[T]+=t.length,this[C].push(t)}[Ft](){return this[k]?this[T]-=1:this[T]-=this[C][0].length,this[C].shift()}[Ot](t=!1){do;while(this[Le](this[Ft]())&&this[C].length);!t&&!this[C].length&&!this[G]&&this.emit("drain")}[Le](t){return this.emit("data",t),this[v]}pipe(t,e){if(this[x])return t;this[M]=!1;let s=this[K];return e=e||{},t===Ne.stdout||t===Ne.stderr?e.end=!1:e.end=e.end!==!1,e.proxyErrors=!!e.proxyErrors,s?e.end&&t.end():(this[F].push(e.proxyErrors?new te(this,t,e):new Mt(this,t,e)),this[B]?mt(()=>this[st]()):this[st]()),t}unpipe(t){let e=this[F].find(s=>s.dest===t);e&&(this[F].length===1?(this[v]&&this[Y]===0&&(this[v]=!1),this[F]=[]):this[F].splice(this[F].indexOf(e),1),e.unpipe())}addListener(t,e){return this.on(t,e)}on(t,e){let s=super.on(t,e);if(t==="data")this[M]=!1,this[Y]++,!this[F].length&&!this[v]&&this[st]();else if(t==="readable"&&this[T]!==0)super.emit("readable");else if(ci(t)&&this[K])super.emit(t),this.removeAllListeners(t);else if(t==="error"&&this[ut]){let i=e;this[B]?mt(()=>i.call(this,this[ut])):i.call(this,this[ut])}return s}removeListener(t,e){return this.off(t,e)}off(t,e){let s=super.off(t,e);return t==="data"&&(this[Y]=this.listeners("data").length,this[Y]===0&&!this[M]&&!this[F].length&&(this[v]=!1)),s}removeAllListeners(t){let e=super.removeAllListeners(t);return(t==="data"||t===void 0)&&(this[Y]=0,!this[M]&&!this[F].length&&(this[v]=!1)),e}get emittedEnd(){return this[K]}[H](){!this[kt]&&!this[K]&&!this[x]&&this[C].length===0&&this[G]&&(this[kt]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Rt]&&this.emit("close"),this[kt]=!1)}emit(t,...e){let s=e[0];if(t!=="error"&&t!=="close"&&t!==x&&this[x])return!1;if(t==="data")return!this[k]&&!s?!1:this[B]?(mt(()=>this[Jt](s)),!0):this[Jt](s);if(t==="end")return this[We]();if(t==="close"){if(this[Rt]=!0,!this[K]&&!this[x])return!1;let r=super.emit("close");return this.removeAllListeners("close"),r}else if(t==="error"){this[ut]=s,super.emit(Xt,s);let r=!this[pt]||this.listeners("error").length?super.emit("error",s):!1;return this[H](),r}else if(t==="resume"){let r=super.emit("resume");return this[H](),r}else if(t==="finish"||t==="prefinish"){let r=super.emit(t);return this.removeAllListeners(t),r}let i=super.emit(t,...e);return this[H](),i}[Jt](t){for(let s of this[F])s.dest.write(t)===!1&&this.pause();let e=this[M]?!1:super.emit("data",t);return this[H](),e}[We](){return this[K]?!1:(this[K]=!0,this.readable=!1,this[B]?(mt(()=>this[Zt]()),!0):this[Zt]())}[Zt](){if(this[et]){let e=this[et].end();if(e){for(let s of this[F])s.dest.write(e);this[M]||super.emit("data",e)}}for(let e of this[F])e.end();let t=super.emit("end");return this.removeAllListeners("end"),t}async collect(){let t=Object.assign([],{dataLength:0});this[k]||(t.dataLength=0);let e=this.promise();return this.on("data",s=>{t.push(s),this[k]||(t.dataLength+=s.length)}),await e,t}async concat(){if(this[k])throw new Error("cannot concat in objectMode");let t=await this.collect();return this[P]?t.join(""):Buffer.concat(t,t.dataLength)}async promise(){return new Promise((t,e)=>{this.on(x,()=>e(new Error("stream destroyed"))),this.on("error",s=>e(s)),this.on("end",()=>t())})}[Symbol.asyncIterator](){this[M]=!1;let t=!1,e=async()=>(this.pause(),t=!0,{value:void 0,done:!0});return{next:()=>{if(t)return e();let i=this.read();if(i!==null)return Promise.resolve({done:!1,value:i});if(this[G])return e();let r,o,h=c=>{this.off("data",a),this.off("end",l),this.off(x,u),e(),o(c)},a=c=>{this.off("error",h),this.off("end",l),this.off(x,u),this.pause(),r({value:c,done:!!this[G]})},l=()=>{this.off("error",h),this.off("data",a),this.off(x,u),e(),r({done:!0,value:void 0})},u=()=>h(new Error("stream destroyed"));return new Promise((c,d)=>{o=d,r=c,this.once(x,u),this.once("error",h),this.once("end",l),this.once("data",a)})},throw:e,return:e,[Symbol.asyncIterator](){return this},[Symbol.asyncDispose]:async()=>{}}}[Symbol.iterator](){this[M]=!1;let t=!1,e=()=>(this.pause(),this.off(Xt,e),this.off(x,e),this.off("end",e),t=!0,{done:!0,value:void 0}),s=()=>{if(t)return e();let i=this.read();return i===null?e():{done:!1,value:i}};return this.once("end",e),this.once(Xt,e),this.once(x,e),{next:s,throw:e,return:e,[Symbol.iterator](){return this},[Symbol.dispose]:()=>{}}}destroy(t){if(this[x])return t?this.emit("error",t):this.emit(x),this;this[x]=!0,this[M]=!0,this[C].length=0,this[T]=0;let e=this;return typeof e.close=="function"&&!this[Rt]&&e.close(),t?this.emit("error",t):this.emit(x),this}static get isStream(){return oi}};var vi=fs__WEBPACK_IMPORTED_MODULE_2__.realpathSync.native,wt={lstatSync:fs__WEBPACK_IMPORTED_MODULE_2__.lstatSync,readdir:fs__WEBPACK_IMPORTED_MODULE_2__.readdir,readdirSync:fs__WEBPACK_IMPORTED_MODULE_2__.readdirSync,readlinkSync:fs__WEBPACK_IMPORTED_MODULE_2__.readlinkSync,realpathSync:vi,promises:{lstat:node_fs_promises__WEBPACK_IMPORTED_MODULE_4__.lstat,readdir:node_fs_promises__WEBPACK_IMPORTED_MODULE_4__.readdir,readlink:node_fs_promises__WEBPACK_IMPORTED_MODULE_4__.readlink,realpath:node_fs_promises__WEBPACK_IMPORTED_MODULE_4__.realpath}},Ue=n=>!n||n===wt||n===/*#__PURE__*/ (node_fs__WEBPACK_IMPORTED_MODULE_3___namespace_cache || (node_fs__WEBPACK_IMPORTED_MODULE_3___namespace_cache = __webpack_require__.t(node_fs__WEBPACK_IMPORTED_MODULE_3__, 2)))?wt:{...wt,...n,promises:{...wt.promises,...n.promises||{}}},$e=/^\\\\\?\\([a-z]:)\\?$/i,Ri=n=>n.replace(/\//g,"\\").replace($e,"$1\\"),Oi=/[\\\/]/,L=0,Ge=1,He=2,U=4,qe=6,Ke=8,X=10,Ve=12,_=15,gt=~_,se=16,je=32,yt=64,j=128,Nt=256,Lt=512,Ie=yt|j|Lt,Fi=1023,ie=n=>n.isFile()?Ke:n.isDirectory()?U:n.isSymbolicLink()?X:n.isCharacterDevice()?He:n.isBlockDevice()?qe:n.isSocket()?Ve:n.isFIFO()?Ge:L,ze=new ft({max:2**12}),bt=n=>{let t=ze.get(n);if(t)return t;let e=n.normalize("NFKD");return ze.set(n,e),e},Be=new ft({max:2**12}),_t=n=>{let t=Be.get(n);if(t)return t;let e=bt(n.toLowerCase());return Be.set(n,e),e},Wt=class extends ft{constructor(){super({max:256})}},ne=class extends ft{constructor(t=16*1024){super({maxSize:t,sizeCalculation:e=>e.length+1})}},Ye=Symbol("PathScurry setAsCwd"),R=class{name;root;roots;parent;nocase;isCWD=!1;#t;#s;get dev(){return this.#s}#n;get mode(){return this.#n}#r;get nlink(){return this.#r}#o;get uid(){return this.#o}#S;get gid(){return this.#S}#w;get rdev(){return this.#w}#c;get blksize(){return this.#c}#h;get ino(){return this.#h}#u;get size(){return this.#u}#f;get blocks(){return this.#f}#a;get atimeMs(){return this.#a}#i;get mtimeMs(){return this.#i}#d;get ctimeMs(){return this.#d}#E;get birthtimeMs(){return this.#E}#b;get atime(){return this.#b}#p;get mtime(){return this.#p}#R;get ctime(){return this.#R}#m;get birthtime(){return this.#m}#C;#T;#g;#y;#x;#A;#e;#_;#M;#k;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(t,e=L,s,i,r,o,h){this.name=t,this.#C=r?_t(t):bt(t),this.#e=e&Fi,this.nocase=r,this.roots=i,this.root=s||this,this.#_=o,this.#g=h.fullpath,this.#x=h.relative,this.#A=h.relativePosix,this.parent=h.parent,this.parent?this.#t=this.parent.#t:this.#t=Ue(h.fs)}depth(){return this.#T!==void 0?this.#T:this.parent?this.#T=this.parent.depth()+1:this.#T=0}childrenCache(){return this.#_}resolve(t){if(!t)return this;let e=this.getRootString(t),i=t.substring(e.length).split(this.splitSep);return e?this.getRoot(e).#N(i):this.#N(i)}#N(t){let e=this;for(let s of t)e=e.child(s);return e}children(){let t=this.#_.get(this);if(t)return t;let e=Object.assign([],{provisional:0});return this.#_.set(this,e),this.#e&=~se,e}child(t,e){if(t===""||t===".")return this;if(t==="..")return this.parent||this;let s=this.children(),i=this.nocase?_t(t):bt(t);for(let a of s)if(a.#C===i)return a;let r=this.parent?this.sep:"",o=this.#g?this.#g+r+t:void 0,h=this.newChild(t,L,{...e,parent:this,fullpath:o});return this.canReaddir()||(h.#e|=j),s.push(h),h}relative(){if(this.isCWD)return"";if(this.#x!==void 0)return this.#x;let t=this.name,e=this.parent;if(!e)return this.#x=this.name;let s=e.relative();return s+(!s||!e.parent?"":this.sep)+t}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#A!==void 0)return this.#A;let t=this.name,e=this.parent;if(!e)return this.#A=this.fullpathPosix();let s=e.relativePosix();return s+(!s||!e.parent?"":"/")+t}fullpath(){if(this.#g!==void 0)return this.#g;let t=this.name,e=this.parent;if(!e)return this.#g=this.name;let i=e.fullpath()+(e.parent?this.sep:"")+t;return this.#g=i}fullpathPosix(){if(this.#y!==void 0)return this.#y;if(this.sep==="/")return this.#y=this.fullpath();if(!this.parent){let i=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(i)?this.#y=`//?/${i}`:this.#y=i}let t=this.parent,e=t.fullpathPosix(),s=e+(!e||!t.parent?"":"/")+this.name;return this.#y=s}isUnknown(){return(this.#e&_)===L}isType(t){return this[`is${t}`]()}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.#e&_)===Ke}isDirectory(){return(this.#e&_)===U}isCharacterDevice(){return(this.#e&_)===He}isBlockDevice(){return(this.#e&_)===qe}isFIFO(){return(this.#e&_)===Ge}isSocket(){return(this.#e&_)===Ve}isSymbolicLink(){return(this.#e&X)===X}lstatCached(){return this.#e&je?this:void 0}readlinkCached(){return this.#M}realpathCached(){return this.#k}readdirCached(){let t=this.children();return t.slice(0,t.provisional)}canReadlink(){if(this.#M)return!0;if(!this.parent)return!1;let t=this.#e&_;return!(t!==L&&t!==X||this.#e&Nt||this.#e&j)}calledReaddir(){return!!(this.#e&se)}isENOENT(){return!!(this.#e&j)}isNamed(t){return this.nocase?this.#C===_t(t):this.#C===bt(t)}async readlink(){let t=this.#M;if(t)return t;if(this.canReadlink()&&this.parent)try{let e=await this.#t.promises.readlink(this.fullpath()),s=(await this.parent.realpath())?.resolve(e);if(s)return this.#M=s}catch(e){this.#D(e.code);return}}readlinkSync(){let t=this.#M;if(t)return t;if(this.canReadlink()&&this.parent)try{let e=this.#t.readlinkSync(this.fullpath()),s=this.parent.realpathSync()?.resolve(e);if(s)return this.#M=s}catch(e){this.#D(e.code);return}}#j(t){this.#e|=se;for(let e=t.provisional;e<t.length;e++){let s=t[e];s&&s.#v()}}#v(){this.#e&j||(this.#e=(this.#e|j)&gt,this.#G())}#G(){let t=this.children();t.provisional=0;for(let e of t)e.#v()}#P(){this.#e|=Lt,this.#L()}#L(){if(this.#e&yt)return;let t=this.#e;(t&_)===U&&(t&=gt),this.#e=t|yt,this.#G()}#I(t=""){t==="ENOTDIR"||t==="EPERM"?this.#L():t==="ENOENT"?this.#v():this.children().provisional=0}#F(t=""){t==="ENOTDIR"?this.parent.#L():t==="ENOENT"&&this.#v()}#D(t=""){let e=this.#e;e|=Nt,t==="ENOENT"&&(e|=j),(t==="EINVAL"||t==="UNKNOWN")&&(e&=gt),this.#e=e,t==="ENOTDIR"&&this.parent&&this.parent.#L()}#z(t,e){return this.#U(t,e)||this.#B(t,e)}#B(t,e){let s=ie(t),i=this.newChild(t.name,s,{parent:this}),r=i.#e&_;return r!==U&&r!==X&&r!==L&&(i.#e|=yt),e.unshift(i),e.provisional++,i}#U(t,e){for(let s=e.provisional;s<e.length;s++){let i=e[s];if((this.nocase?_t(t.name):bt(t.name))===i.#C)return this.#l(t,i,s,e)}}#l(t,e,s,i){let r=e.name;return e.#e=e.#e&gt|ie(t),r!==t.name&&(e.name=t.name),s!==i.provisional&&(s===i.length-1?i.pop():i.splice(s,1),i.unshift(e)),i.provisional++,e}async lstat(){if((this.#e&j)===0)try{return this.#$(await this.#t.promises.lstat(this.fullpath())),this}catch(t){this.#F(t.code)}}lstatSync(){if((this.#e&j)===0)try{return this.#$(this.#t.lstatSync(this.fullpath())),this}catch(t){this.#F(t.code)}}#$(t){let{atime:e,atimeMs:s,birthtime:i,birthtimeMs:r,blksize:o,blocks:h,ctime:a,ctimeMs:l,dev:u,gid:c,ino:d,mode:f,mtime:m,mtimeMs:p,nlink:w,rdev:g,size:S,uid:E}=t;this.#b=e,this.#a=s,this.#m=i,this.#E=r,this.#c=o,this.#f=h,this.#R=a,this.#d=l,this.#s=u,this.#S=c,this.#h=d,this.#n=f,this.#p=m,this.#i=p,this.#r=w,this.#w=g,this.#u=S,this.#o=E;let y=ie(t);this.#e=this.#e&gt|y|je,y!==L&&y!==U&&y!==X&&(this.#e|=yt)}#W=[];#O=!1;#H(t){this.#O=!1;let e=this.#W.slice();this.#W.length=0,e.forEach(s=>s(null,t))}readdirCB(t,e=!1){if(!this.canReaddir()){e?t(null,[]):queueMicrotask(()=>t(null,[]));return}let s=this.children();if(this.calledReaddir()){let r=s.slice(0,s.provisional);e?t(null,r):queueMicrotask(()=>t(null,r));return}if(this.#W.push(t),this.#O)return;this.#O=!0;let i=this.fullpath();this.#t.readdir(i,{withFileTypes:!0},(r,o)=>{if(r)this.#I(r.code),s.provisional=0;else{for(let h of o)this.#z(h,s);this.#j(s)}this.#H(s.slice(0,s.provisional))})}#q;async readdir(){if(!this.canReaddir())return[];let t=this.children();if(this.calledReaddir())return t.slice(0,t.provisional);let e=this.fullpath();if(this.#q)await this.#q;else{let s=()=>{};this.#q=new Promise(i=>s=i);try{for(let i of await this.#t.promises.readdir(e,{withFileTypes:!0}))this.#z(i,t);this.#j(t)}catch(i){this.#I(i.code),t.provisional=0}this.#q=void 0,s()}return t.slice(0,t.provisional)}readdirSync(){if(!this.canReaddir())return[];let t=this.children();if(this.calledReaddir())return t.slice(0,t.provisional);let e=this.fullpath();try{for(let s of this.#t.readdirSync(e,{withFileTypes:!0}))this.#z(s,t);this.#j(t)}catch(s){this.#I(s.code),t.provisional=0}return t.slice(0,t.provisional)}canReaddir(){if(this.#e&Ie)return!1;let t=_&this.#e;return t===L||t===U||t===X}shouldWalk(t,e){return(this.#e&U)===U&&!(this.#e&Ie)&&!t.has(this)&&(!e||e(this))}async realpath(){if(this.#k)return this.#k;if(!((Lt|Nt|j)&this.#e))try{let t=await this.#t.promises.realpath(this.fullpath());return this.#k=this.resolve(t)}catch{this.#P()}}realpathSync(){if(this.#k)return this.#k;if(!((Lt|Nt|j)&this.#e))try{let t=this.#t.realpathSync(this.fullpath());return this.#k=this.resolve(t)}catch{this.#P()}}[Ye](t){if(t===this)return;t.isCWD=!1,this.isCWD=!0;let e=new Set([]),s=[],i=this;for(;i&&i.parent;)e.add(i),i.#x=s.join(this.sep),i.#A=s.join("/"),i=i.parent,s.push("..");for(i=t;i&&i.parent&&!e.has(i);)i.#x=void 0,i.#A=void 0,i=i.parent}},Pt=class n extends R{sep="\\";splitSep=Oi;constructor(t,e=L,s,i,r,o,h){super(t,e,s,i,r,o,h)}newChild(t,e=L,s={}){return new n(t,e,this.root,this.roots,this.nocase,this.childrenCache(),s)}getRootString(t){return node_path__WEBPACK_IMPORTED_MODULE_1__.win32.parse(t).root}getRoot(t){if(t=Ri(t.toUpperCase()),t===this.root.name)return this.root;for(let[e,s]of Object.entries(this.roots))if(this.sameRoot(t,e))return this.roots[t]=s;return this.roots[t]=new it(t,this).root}sameRoot(t,e=this.root.name){return t=t.toUpperCase().replace(/\//g,"\\").replace($e,"$1\\"),t===e}},jt=class n extends R{splitSep="/";sep="/";constructor(t,e=L,s,i,r,o,h){super(t,e,s,i,r,o,h)}getRootString(t){return t.startsWith("/")?"/":""}getRoot(t){return this.root}newChild(t,e=L,s={}){return new n(t,e,this.root,this.roots,this.nocase,this.childrenCache(),s)}},It=class{root;rootPath;roots;cwd;#t;#s;#n;nocase;#r;constructor(t=process.cwd(),e,s,{nocase:i,childrenCacheSize:r=16*1024,fs:o=wt}={}){this.#r=Ue(o),(t instanceof URL||t.startsWith("file://"))&&(t=(0,node_url__WEBPACK_IMPORTED_MODULE_0__.fileURLToPath)(t));let h=e.resolve(t);this.roots=Object.create(null),this.rootPath=this.parseRootPath(h),this.#t=new Wt,this.#s=new Wt,this.#n=new ne(r);let a=h.substring(this.rootPath.length).split(s);if(a.length===1&&!a[0]&&a.pop(),i===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=i,this.root=this.newRoot(this.#r),this.roots[this.rootPath]=this.root;let l=this.root,u=a.length-1,c=e.sep,d=this.rootPath,f=!1;for(let m of a){let p=u--;l=l.child(m,{relative:new Array(p).fill("..").join(c),relativePosix:new Array(p).fill("..").join("/"),fullpath:d+=(f?"":c)+m}),f=!0}this.cwd=l}depth(t=this.cwd){return typeof t=="string"&&(t=this.cwd.resolve(t)),t.depth()}childrenCache(){return this.#n}resolve(...t){let e="";for(let r=t.length-1;r>=0;r--){let o=t[r];if(!(!o||o===".")&&(e=e?`${o}/${e}`:o,this.isAbsolute(o)))break}let s=this.#t.get(e);if(s!==void 0)return s;let i=this.cwd.resolve(e).fullpath();return this.#t.set(e,i),i}resolvePosix(...t){let e="";for(let r=t.length-1;r>=0;r--){let o=t[r];if(!(!o||o===".")&&(e=e?`${o}/${e}`:o,this.isAbsolute(o)))break}let s=this.#s.get(e);if(s!==void 0)return s;let i=this.cwd.resolve(e).fullpathPosix();return this.#s.set(e,i),i}relative(t=this.cwd){return typeof t=="string"&&(t=this.cwd.resolve(t)),t.relative()}relativePosix(t=this.cwd){return typeof t=="string"&&(t=this.cwd.resolve(t)),t.relativePosix()}basename(t=this.cwd){return typeof t=="string"&&(t=this.cwd.resolve(t)),t.name}dirname(t=this.cwd){return typeof t=="string"&&(t=this.cwd.resolve(t)),(t.parent||t).fullpath()}async readdir(t=this.cwd,e={withFileTypes:!0}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);let{withFileTypes:s}=e;if(t.canReaddir()){let i=await t.readdir();return s?i:i.map(r=>r.name)}else return[]}readdirSync(t=this.cwd,e={withFileTypes:!0}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);let{withFileTypes:s=!0}=e;return t.canReaddir()?s?t.readdirSync():t.readdirSync().map(i=>i.name):[]}async lstat(t=this.cwd){return typeof t=="string"&&(t=this.cwd.resolve(t)),t.lstat()}lstatSync(t=this.cwd){return typeof t=="string"&&(t=this.cwd.resolve(t)),t.lstatSync()}async readlink(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof R||(e=t.withFileTypes,t=this.cwd);let s=await t.readlink();return e?s:s?.fullpath()}readlinkSync(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof R||(e=t.withFileTypes,t=this.cwd);let s=t.readlinkSync();return e?s:s?.fullpath()}async realpath(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof R||(e=t.withFileTypes,t=this.cwd);let s=await t.realpath();return e?s:s?.fullpath()}realpathSync(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof R||(e=t.withFileTypes,t=this.cwd);let s=t.realpathSync();return e?s:s?.fullpath()}async walk(t=this.cwd,e={}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);let{withFileTypes:s=!0,follow:i=!1,filter:r,walkFilter:o}=e,h=[];(!r||r(t))&&h.push(s?t:t.fullpath());let a=new Set,l=(c,d)=>{a.add(c),c.readdirCB((f,m)=>{if(f)return d(f);let p=m.length;if(!p)return d();let w=()=>{--p===0&&d()};for(let g of m)(!r||r(g))&&h.push(s?g:g.fullpath()),i&&g.isSymbolicLink()?g.realpath().then(S=>S?.isUnknown()?S.lstat():S).then(S=>S?.shouldWalk(a,o)?l(S,w):w()):g.shouldWalk(a,o)?l(g,w):w()},!0)},u=t;return new Promise((c,d)=>{l(u,f=>{if(f)return d(f);c(h)})})}walkSync(t=this.cwd,e={}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);let{withFileTypes:s=!0,follow:i=!1,filter:r,walkFilter:o}=e,h=[];(!r||r(t))&&h.push(s?t:t.fullpath());let a=new Set([t]);for(let l of a){let u=l.readdirSync();for(let c of u){(!r||r(c))&&h.push(s?c:c.fullpath());let d=c;if(c.isSymbolicLink()){if(!(i&&(d=c.realpathSync())))continue;d.isUnknown()&&d.lstatSync()}d.shouldWalk(a,o)&&a.add(d)}}return h}[Symbol.asyncIterator](){return this.iterate()}iterate(t=this.cwd,e={}){return typeof t=="string"?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd),this.stream(t,e)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(t=this.cwd,e={}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);let{withFileTypes:s=!0,follow:i=!1,filter:r,walkFilter:o}=e;(!r||r(t))&&(yield s?t:t.fullpath());let h=new Set([t]);for(let a of h){let l=a.readdirSync();for(let u of l){(!r||r(u))&&(yield s?u:u.fullpath());let c=u;if(u.isSymbolicLink()){if(!(i&&(c=u.realpathSync())))continue;c.isUnknown()&&c.lstatSync()}c.shouldWalk(h,o)&&h.add(c)}}}stream(t=this.cwd,e={}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);let{withFileTypes:s=!0,follow:i=!1,filter:r,walkFilter:o}=e,h=new V({objectMode:!0});(!r||r(t))&&h.write(s?t:t.fullpath());let a=new Set,l=[t],u=0,c=()=>{let d=!1;for(;!d;){let f=l.shift();if(!f){u===0&&h.end();return}u++,a.add(f);let m=(w,g,S=!1)=>{if(w)return h.emit("error",w);if(i&&!S){let E=[];for(let y of g)y.isSymbolicLink()&&E.push(y.realpath().then(b=>b?.isUnknown()?b.lstat():b));if(E.length){Promise.all(E).then(()=>m(null,g,!0));return}}for(let E of g)E&&(!r||r(E))&&(h.write(s?E:E.fullpath())||(d=!0));u--;for(let E of g){let y=E.realpathCached()||E;y.shouldWalk(a,o)&&l.push(y)}d&&!h.flowing?h.once("drain",c):p||c()},p=!0;f.readdirCB(m,!0),p=!1}};return c(),h}streamSync(t=this.cwd,e={}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);let{withFileTypes:s=!0,follow:i=!1,filter:r,walkFilter:o}=e,h=new V({objectMode:!0}),a=new Set;(!r||r(t))&&h.write(s?t:t.fullpath());let l=[t],u=0,c=()=>{let d=!1;for(;!d;){let f=l.shift();if(!f){u===0&&h.end();return}u++,a.add(f);let m=f.readdirSync();for(let p of m)(!r||r(p))&&(h.write(s?p:p.fullpath())||(d=!0));u--;for(let p of m){let w=p;if(p.isSymbolicLink()){if(!(i&&(w=p.realpathSync())))continue;w.isUnknown()&&w.lstatSync()}w.shouldWalk(a,o)&&l.push(w)}}d&&!h.flowing&&h.once("drain",c)};return c(),h}chdir(t=this.cwd){let e=this.cwd;this.cwd=typeof t=="string"?this.cwd.resolve(t):t,this.cwd[Ye](e)}},it=class extends It{sep="\\";constructor(t=process.cwd(),e={}){let{nocase:s=!0}=e;super(t,node_path__WEBPACK_IMPORTED_MODULE_1__.win32,"\\",{...e,nocase:s}),this.nocase=s;for(let i=this.cwd;i;i=i.parent)i.nocase=this.nocase}parseRootPath(t){return node_path__WEBPACK_IMPORTED_MODULE_1__.win32.parse(t).root.toUpperCase()}newRoot(t){return new Pt(this.rootPath,U,void 0,this.roots,this.nocase,this.childrenCache(),{fs:t})}isAbsolute(t){return t.startsWith("/")||t.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(t)}},rt=class extends It{sep="/";constructor(t=process.cwd(),e={}){let{nocase:s=!1}=e;super(t,node_path__WEBPACK_IMPORTED_MODULE_1__.posix,"/",{...e,nocase:s}),this.nocase=s}parseRootPath(t){return"/"}newRoot(t){return new jt(this.rootPath,U,void 0,this.roots,this.nocase,this.childrenCache(),{fs:t})}isAbsolute(t){return t.startsWith("/")}},St=class extends rt{constructor(t=process.cwd(),e={}){let{nocase:s=!0}=e;super(t,{...e,nocase:s})}},Cr=process.platform==="win32"?Pt:jt,Xe=process.platform==="win32"?it:process.platform==="darwin"?St:rt;var Di=n=>n.length>=1,Mi=n=>n.length>=1,Ni=Symbol.for("nodejs.util.inspect.custom"),nt=class n{#t;#s;#n;length;#r;#o;#S;#w;#c;#h;#u=!0;constructor(t,e,s,i){if(!Di(t))throw new TypeError("empty pattern list");if(!Mi(e))throw new TypeError("empty glob list");if(e.length!==t.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=t.length,s<0||s>=this.length)throw new TypeError("index out of range");if(this.#t=t,this.#s=e,this.#n=s,this.#r=i,this.#n===0){if(this.isUNC()){let[r,o,h,a,...l]=this.#t,[u,c,d,f,...m]=this.#s;l[0]===""&&(l.shift(),m.shift());let p=[r,o,h,a,""].join("/"),w=[u,c,d,f,""].join("/");this.#t=[p,...l],this.#s=[w,...m],this.length=this.#t.length}else if(this.isDrive()||this.isAbsolute()){let[r,...o]=this.#t,[h,...a]=this.#s;o[0]===""&&(o.shift(),a.shift());let l=r+"/",u=h+"/";this.#t=[l,...o],this.#s=[u,...a],this.length=this.#t.length}}}[Ni](){return"Pattern <"+this.#s.slice(this.#n).join("/")+">"}pattern(){return this.#t[this.#n]}isString(){return typeof this.#t[this.#n]=="string"}isGlobstar(){return this.#t[this.#n]===A}isRegExp(){return this.#t[this.#n]instanceof RegExp}globString(){return this.#S=this.#S||(this.#n===0?this.isAbsolute()?this.#s[0]+this.#s.slice(1).join("/"):this.#s.join("/"):this.#s.slice(this.#n).join("/"))}hasMore(){return this.length>this.#n+1}rest(){return this.#o!==void 0?this.#o:this.hasMore()?(this.#o=new n(this.#t,this.#s,this.#n+1,this.#r),this.#o.#h=this.#h,this.#o.#c=this.#c,this.#o.#w=this.#w,this.#o):this.#o=null}isUNC(){let t=this.#t;return this.#c!==void 0?this.#c:this.#c=this.#r==="win32"&&this.#n===0&&t[0]===""&&t[1]===""&&typeof t[2]=="string"&&!!t[2]&&typeof t[3]=="string"&&!!t[3]}isDrive(){let t=this.#t;return this.#w!==void 0?this.#w:this.#w=this.#r==="win32"&&this.#n===0&&this.length>1&&typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0])}isAbsolute(){let t=this.#t;return this.#h!==void 0?this.#h:this.#h=t[0]===""&&t.length>1||this.isDrive()||this.isUNC()}root(){let t=this.#t[0];return typeof t=="string"&&this.isAbsolute()&&this.#n===0?t:""}checkFollowGlobstar(){return!(this.#n===0||!this.isGlobstar()||!this.#u)}markFollowGlobstar(){return this.#n===0||!this.isGlobstar()||!this.#u?!1:(this.#u=!1,!0)}};var _i=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",ot=class{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(t,{nobrace:e,nocase:s,noext:i,noglobstar:r,platform:o=_i}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=o,this.mmopts={dot:!0,nobrace:e,nocase:s,noext:i,noglobstar:r,optimizationLevel:2,platform:o,nocomment:!0,nonegate:!0};for(let h of t)this.add(h)}add(t){let e=new D(t,this.mmopts);for(let s=0;s<e.set.length;s++){let i=e.set[s],r=e.globParts[s];if(!i||!r)throw new Error("invalid pattern object");for(;i[0]==="."&&r[0]===".";)i.shift(),r.shift();let o=new nt(i,r,0,this.platform),h=new D(o.globString(),this.mmopts),a=r[r.length-1]==="**",l=o.isAbsolute();l?this.absolute.push(h):this.relative.push(h),a&&(l?this.absoluteChildren.push(h):this.relativeChildren.push(h))}}ignored(t){let e=t.fullpath(),s=`${e}/`,i=t.relative()||".",r=`${i}/`;for(let o of this.relative)if(o.match(i)||o.match(r))return!0;for(let o of this.absolute)if(o.match(e)||o.match(s))return!0;return!1}childrenIgnored(t){let e=t.fullpath()+"/",s=(t.relative()||".")+"/";for(let i of this.relativeChildren)if(i.match(s))return!0;for(let i of this.absoluteChildren)if(i.match(e))return!0;return!1}};var oe=class n{store;constructor(t=new Map){this.store=t}copy(){return new n(new Map(this.store))}hasWalked(t,e){return this.store.get(t.fullpath())?.has(e.globString())}storeWalked(t,e){let s=t.fullpath(),i=this.store.get(s);i?i.add(e.globString()):this.store.set(s,new Set([e.globString()]))}},he=class{store=new Map;add(t,e,s){let i=(e?2:0)|(s?1:0),r=this.store.get(t);this.store.set(t,r===void 0?i:i&r)}entries(){return[...this.store.entries()].map(([t,e])=>[t,!!(e&2),!!(e&1)])}},ae=class{store=new Map;add(t,e){if(!t.canReaddir())return;let s=this.store.get(t);s?s.find(i=>i.globString()===e.globString())||s.push(e):this.store.set(t,[e])}get(t){let e=this.store.get(t);if(!e)throw new Error("attempting to walk unknown path");return e}entries(){return this.keys().map(t=>[t,this.store.get(t)])}keys(){return[...this.store.keys()].filter(t=>t.canReaddir())}},Et=class n{hasWalkedCache;matches=new he;subwalks=new ae;patterns;follow;dot;opts;constructor(t,e){this.opts=t,this.follow=!!t.follow,this.dot=!!t.dot,this.hasWalkedCache=e?e.copy():new oe}processPatterns(t,e){this.patterns=e;let s=e.map(i=>[t,i]);for(let[i,r]of s){this.hasWalkedCache.storeWalked(i,r);let o=r.root(),h=r.isAbsolute()&&this.opts.absolute!==!1;if(o){i=i.resolve(o==="/"&&this.opts.root!==void 0?this.opts.root:o);let c=r.rest();if(c)r=c;else{this.matches.add(i,!0,!1);continue}}if(i.isENOENT())continue;let a,l,u=!1;for(;typeof(a=r.pattern())=="string"&&(l=r.rest());)i=i.resolve(a),r=l,u=!0;if(a=r.pattern(),l=r.rest(),u){if(this.hasWalkedCache.hasWalked(i,r))continue;this.hasWalkedCache.storeWalked(i,r)}if(typeof a=="string"){let c=a===".."||a===""||a===".";this.matches.add(i.resolve(a),h,c);continue}else if(a===A){(!i.isSymbolicLink()||this.follow||r.checkFollowGlobstar())&&this.subwalks.add(i,r);let c=l?.pattern(),d=l?.rest();if(!l||(c===""||c===".")&&!d)this.matches.add(i,h,c===""||c===".");else if(c===".."){let f=i.parent||i;d?this.hasWalkedCache.hasWalked(f,d)||this.subwalks.add(f,d):this.matches.add(f,h,!0)}}else a instanceof RegExp&&this.subwalks.add(i,r)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new n(this.opts,this.hasWalkedCache)}filterEntries(t,e){let s=this.subwalks.get(t),i=this.child();for(let r of e)for(let o of s){let h=o.isAbsolute(),a=o.pattern(),l=o.rest();a===A?i.testGlobstar(r,o,l,h):a instanceof RegExp?i.testRegExp(r,a,l,h):i.testString(r,a,l,h)}return i}testGlobstar(t,e,s,i){if((this.dot||!t.name.startsWith("."))&&(e.hasMore()||this.matches.add(t,i,!1),t.canReaddir()&&(this.follow||!t.isSymbolicLink()?this.subwalks.add(t,e):t.isSymbolicLink()&&(s&&e.checkFollowGlobstar()?this.subwalks.add(t,s):e.markFollowGlobstar()&&this.subwalks.add(t,e)))),s){let r=s.pattern();if(typeof r=="string"&&r!==".."&&r!==""&&r!==".")this.testString(t,r,s.rest(),i);else if(r===".."){let o=t.parent||t;this.subwalks.add(o,s)}else r instanceof RegExp&&this.testRegExp(t,r,s.rest(),i)}}testRegExp(t,e,s,i){e.test(t.name)&&(s?this.subwalks.add(t,s):this.matches.add(t,i,!1))}testString(t,e,s,i){t.isNamed(e)&&(s?this.subwalks.add(t,s):this.matches.add(t,i,!1))}};var Li=(n,t)=>typeof n=="string"?new ot([n],t):Array.isArray(n)?new ot(n,t):n,zt=class{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#t=[];#s;#n;signal;maxDepth;includeChildMatches;constructor(t,e,s){if(this.patterns=t,this.path=e,this.opts=s,this.#n=!s.posix&&s.platform==="win32"?"\\":"/",this.includeChildMatches=s.includeChildMatches!==!1,(s.ignore||!this.includeChildMatches)&&(this.#s=Li(s.ignore??[],s),!this.includeChildMatches&&typeof this.#s.add!="function")){let i="cannot ignore child matches, ignore lacks add() method.";throw new Error(i)}this.maxDepth=s.maxDepth||1/0,s.signal&&(this.signal=s.signal,this.signal.addEventListener("abort",()=>{this.#t.length=0}))}#r(t){return this.seen.has(t)||!!this.#s?.ignored?.(t)}#o(t){return!!this.#s?.childrenIgnored?.(t)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let t;for(;!this.paused&&(t=this.#t.shift());)t()}onResume(t){this.signal?.aborted||(this.paused?this.#t.push(t):t())}async matchCheck(t,e){if(e&&this.opts.nodir)return;let s;if(this.opts.realpath){if(s=t.realpathCached()||await t.realpath(),!s)return;t=s}let r=t.isUnknown()||this.opts.stat?await t.lstat():t;if(this.opts.follow&&this.opts.nodir&&r?.isSymbolicLink()){let o=await r.realpath();o&&(o.isUnknown()||this.opts.stat)&&await o.lstat()}return this.matchCheckTest(r,e)}matchCheckTest(t,e){return t&&(this.maxDepth===1/0||t.depth()<=this.maxDepth)&&(!e||t.canReaddir())&&(!this.opts.nodir||!t.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!t.isSymbolicLink()||!t.realpathCached()?.isDirectory())&&!this.#r(t)?t:void 0}matchCheckSync(t,e){if(e&&this.opts.nodir)return;let s;if(this.opts.realpath){if(s=t.realpathCached()||t.realpathSync(),!s)return;t=s}let r=t.isUnknown()||this.opts.stat?t.lstatSync():t;if(this.opts.follow&&this.opts.nodir&&r?.isSymbolicLink()){let o=r.realpathSync();o&&(o?.isUnknown()||this.opts.stat)&&o.lstatSync()}return this.matchCheckTest(r,e)}matchFinish(t,e){if(this.#r(t))return;if(!this.includeChildMatches&&this.#s?.add){let r=`${t.relativePosix()}/**`;this.#s.add(r)}let s=this.opts.absolute===void 0?e:this.opts.absolute;this.seen.add(t);let i=this.opts.mark&&t.isDirectory()?this.#n:"";if(this.opts.withFileTypes)this.matchEmit(t);else if(s){let r=this.opts.posix?t.fullpathPosix():t.fullpath();this.matchEmit(r+i)}else{let r=this.opts.posix?t.relativePosix():t.relative(),o=this.opts.dotRelative&&!r.startsWith(".."+this.#n)?"."+this.#n:"";this.matchEmit(r?o+r+i:"."+i)}}async match(t,e,s){let i=await this.matchCheck(t,s);i&&this.matchFinish(i,e)}matchSync(t,e,s){let i=this.matchCheckSync(t,s);i&&this.matchFinish(i,e)}walkCB(t,e,s){this.signal?.aborted&&s(),this.walkCB2(t,e,new Et(this.opts),s)}walkCB2(t,e,s,i){if(this.#o(t))return i();if(this.signal?.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2(t,e,s,i));return}s.processPatterns(t,e);let r=1,o=()=>{--r===0&&i()};for(let[h,a,l]of s.matches.entries())this.#r(h)||(r++,this.match(h,a,l).then(()=>o()));for(let h of s.subwalkTargets()){if(this.maxDepth!==1/0&&h.depth()>=this.maxDepth)continue;r++;let a=h.readdirCached();h.calledReaddir()?this.walkCB3(h,a,s,o):h.readdirCB((l,u)=>this.walkCB3(h,u,s,o),!0)}o()}walkCB3(t,e,s,i){s=s.filterEntries(t,e);let r=1,o=()=>{--r===0&&i()};for(let[h,a,l]of s.matches.entries())this.#r(h)||(r++,this.match(h,a,l).then(()=>o()));for(let[h,a]of s.subwalks.entries())r++,this.walkCB2(h,a,s.child(),o);o()}walkCBSync(t,e,s){this.signal?.aborted&&s(),this.walkCB2Sync(t,e,new Et(this.opts),s)}walkCB2Sync(t,e,s,i){if(this.#o(t))return i();if(this.signal?.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2Sync(t,e,s,i));return}s.processPatterns(t,e);let r=1,o=()=>{--r===0&&i()};for(let[h,a,l]of s.matches.entries())this.#r(h)||this.matchSync(h,a,l);for(let h of s.subwalkTargets()){if(this.maxDepth!==1/0&&h.depth()>=this.maxDepth)continue;r++;let a=h.readdirSync();this.walkCB3Sync(h,a,s,o)}o()}walkCB3Sync(t,e,s,i){s=s.filterEntries(t,e);let r=1,o=()=>{--r===0&&i()};for(let[h,a,l]of s.matches.entries())this.#r(h)||this.matchSync(h,a,l);for(let[h,a]of s.subwalks.entries())r++,this.walkCB2Sync(h,a,s.child(),o);o()}},xt=class extends zt{matches=new Set;constructor(t,e,s){super(t,e,s)}matchEmit(t){this.matches.add(t)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise((t,e)=>{this.walkCB(this.path,this.patterns,()=>{this.signal?.aborted?e(this.signal.reason):t(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}},vt=class extends zt{results;constructor(t,e,s){super(t,e,s),this.results=new V({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(t){this.results.write(t),this.results.flowing||this.pause()}stream(){let t=this.path;return t.isUnknown()?t.lstat().then(()=>{this.walkCB(t,this.patterns,()=>this.results.end())}):this.walkCB(t,this.patterns,()=>this.results.end()),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}};var Pi=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",I=class{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(t,e){if(!e)throw new TypeError("glob options required");if(this.withFileTypes=!!e.withFileTypes,this.signal=e.signal,this.follow=!!e.follow,this.dot=!!e.dot,this.dotRelative=!!e.dotRelative,this.nodir=!!e.nodir,this.mark=!!e.mark,e.cwd?(e.cwd instanceof URL||e.cwd.startsWith("file://"))&&(e.cwd=(0,node_url__WEBPACK_IMPORTED_MODULE_0__.fileURLToPath)(e.cwd)):this.cwd="",this.cwd=e.cwd||"",this.root=e.root,this.magicalBraces=!!e.magicalBraces,this.nobrace=!!e.nobrace,this.noext=!!e.noext,this.realpath=!!e.realpath,this.absolute=e.absolute,this.includeChildMatches=e.includeChildMatches!==!1,this.noglobstar=!!e.noglobstar,this.matchBase=!!e.matchBase,this.maxDepth=typeof e.maxDepth=="number"?e.maxDepth:1/0,this.stat=!!e.stat,this.ignore=e.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof t=="string"&&(t=[t]),this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||e.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(t=t.map(a=>a.replace(/\\/g,"/"))),this.matchBase){if(e.noglobstar)throw new TypeError("base matching requires globstar");t=t.map(a=>a.includes("/")?a:`./**/${a}`)}if(this.pattern=t,this.platform=e.platform||Pi,this.opts={...e,platform:this.platform},e.scurry){if(this.scurry=e.scurry,e.nocase!==void 0&&e.nocase!==e.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let a=e.platform==="win32"?it:e.platform==="darwin"?St:e.platform?rt:Xe;this.scurry=new a(this.cwd,{nocase:e.nocase,fs:e.fs})}this.nocase=this.scurry.nocase;let s=this.platform==="darwin"||this.platform==="win32",i={braceExpandMax:1e4,...e,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:s,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},r=this.pattern.map(a=>new D(a,i)),[o,h]=r.reduce((a,l)=>(a[0].push(...l.set),a[1].push(...l.globParts),a),[[],[]]);this.patterns=o.map((a,l)=>{let u=h[l];if(!u)throw new Error("invalid pattern object");return new nt(a,u,0,this.platform)})}async walk(){return[...await new xt(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 xt(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 vt(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 vt(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()}};var le=(n,t={})=>{Array.isArray(n)||(n=[n]);for(let e of n)if(new D(e,t).hasMagic())return!0;return!1};function Bt(n,t={}){return new I(n,t).streamSync()}function Qe(n,t={}){return new I(n,t).stream()}function ts(n,t={}){return new I(n,t).walkSync()}async function Je(n,t={}){return new I(n,t).walk()}function Ut(n,t={}){return new I(n,t).iterateSync()}function es(n,t={}){return new I(n,t).iterate()}var ji=Bt,Ii=Object.assign(Qe,{sync:Bt}),zi=Ut,Bi=Object.assign(es,{sync:Ut}),Ui=Object.assign(ts,{stream:Bt,iterate:Ut}),Ze=Object.assign(Je,{glob:Je,globSync:ts,sync:Ui,globStream:Qe,stream:Ii,globStreamSync:Bt,streamSync:ji,globIterate:es,iterate:Bi,globIterateSync:Ut,iterateSync:zi,Glob:I,hasMagic:le,escape:tt,unescape:W});Ze.glob=Ze;
11714
+ /* harmony import */ var node_diagnostics_channel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3053);
11715
+ /* harmony import */ var node_path__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6760);
11716
+ /* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9896);
11717
+ /* harmony import */ var node_fs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3024);
11718
+ /* harmony import */ var node_fs_promises__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1455);
11719
+ /* harmony import */ var node_events__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(8474);
11720
+ /* harmony import */ var node_stream__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(7075);
11721
+ /* harmony import */ var node_string_decoder__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(6193);
11722
+ var se=(r,t,e)=>{let s=r instanceof RegExp?De(r,e):r,i=t instanceof RegExp?De(t,e):t,n=s!==null&&i!=null&&Ms(s,i,e);return n&&{start:n[0],end:n[1],pre:e.slice(0,n[0]),body:e.slice(n[0]+s.length,n[1]),post:e.slice(n[1]+i.length)}},De=(r,t)=>{let e=t.match(r);return e?e[0]:null},Ms=(r,t,e)=>{let s,i,n,o,a,h=e.indexOf(r),l=e.indexOf(t,h+1),c=h;if(h>=0&&l>0){if(r===t)return[h,l];for(s=[],n=e.length;c>=0&&!a;){if(c===h)s.push(c),h=e.indexOf(r,c+1);else if(s.length===1){let f=s.pop();f!==void 0&&(a=[f,l])}else i=s.pop(),i!==void 0&&i<n&&(n=i,o=l),l=e.indexOf(t,c+1);c=h<l&&h>=0?h:l}s.length&&o!==void 0&&(a=[n,o])}return a};var Ne="\0SLASH"+Math.random()+"\0",Pe="\0OPEN"+Math.random()+"\0",oe="\0CLOSE"+Math.random()+"\0",ze="\0COMMA"+Math.random()+"\0",Le="\0PERIOD"+Math.random()+"\0",Ts=new RegExp(Ne,"g"),Fs=new RegExp(Pe,"g"),_s=new RegExp(oe,"g"),Ds=new RegExp(ze,"g"),Ns=new RegExp(Le,"g"),Ps=/\\\\/g,zs=/\\{/g,Ls=/\\}/g,js=/\\,/g,Ws=/\\\./g,$s=1e5,Bs=4e6,Is=1e3,Us=1e3;function ie(r){return isNaN(r)?r.charCodeAt(0):parseInt(r,10)}function Gs(r){return r.replace(Ps,Ne).replace(zs,Pe).replace(Ls,oe).replace(js,ze).replace(Ws,Le)}function Hs(r){return r.replace(Ts,"\\").replace(Fs,"{").replace(_s,"}").replace(Ds,",").replace(Ns,".")}function ne(r,t){for(let e=0;e<t.length;e++)r.push(t[e])}function qs(r){let t=[],e="";for(;;){let s=se("{","}",r);if(!s){let h=r.split(",");return h[0]=e+h[0],ne(t,h),t}let{pre:i,body:n,post:o}=s,a=i.split(",");if(a[0]=e+a[0],a[a.length-1]+="{"+n+"}",!o.length)return ne(t,a),t;e=a.pop(),ne(t,a),r=o}}function je(r,t={}){if(!r)return[];let{max:e=$s,maxLength:s=Bs,maxDepth:i=Is,maxRewrites:n=Us}=t;return r.slice(0,2)==="{}"&&(r="\\{\\}"+r.slice(2)),re(Gs(r),e,s,i,0,n,!0).map(Hs)}function Ks(r){return"{"+r+"}"}function Xs(r){return/^-?0\d/.test(r)}function Vs(r,t){return r<=t}function Ys(r,t){return r>=t}function lt(r,t,e,s,i,n){let o=[],a=0;for(let h=0;h<r.length;h++)for(let l=0;l<e.length;l++){if(o.length>=s)return o;let c=r[h]+t+e[l];if(!(n&&!c)){if(a+c.length>i)return o;o.push(c),a+=c.length}}return o}function Zs(r,t,e,s){let i=r.split(/\.\./),n=[];if(i[0]===void 0||i[1]===void 0)return n;let o=ie(i[0]),a=ie(i[1]),h=Math.max(i[0].length,i[1].length),l=i.length===3&&i[2]!==void 0?Math.max(Math.abs(ie(i[2])),1):1,c=Vs;a<o&&(l*=-1,c=Ys);let p=i.some(Xs),d=0;for(let g=o;c(g,a)&&n.length<e;g+=l){let u;if(t)u=String.fromCharCode(g),u==="\\"&&(u="");else if(u=String(g),p){let w=h-u.length;if(w>0){let m=new Array(w+1).join("0");g<0?u="-"+m+u.slice(1):u=m+u}}if(d+u.length>s)break;n.push(u),d+=u.length}return n}function re(r,t,e,s,i,n,o){if(i>s)return[r];let a=[""],h=0,l=!1,c=!0;for(;;){let f=se("{","}",r);if(!f)return lt(a,r,[""],t,e,l);let p=f.pre;if(/\$$/.test(p)){if(a=lt(a,p+"{"+f.body+"}",[""],t,e,l&&!f.post.length),c=!1,!f.post.length)break;r=f.post;continue}let d=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(f.body),g=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(f.body),u=d||g,w=f.body.indexOf(",")>=0;if(!u&&!w){if(h<n&&f.post.match(/,(?!,).*\}/)){h++,r=f.pre+"{"+f.body+oe+f.post,o=!0;continue}return lt(a,p+"{"+f.body+"}"+f.post,[""],t,e,l)}c&&(l=o&&!u,c=!1);let m;if(u)m=Zs(f.body,g,t,e);else{let b=qs(f.body);if(b.length===1&&b[0]!==void 0&&(b=re(b[0],t,e,s,i+1,n,!1).map(Ks),b.length===1)){if(a=lt(a,p+b[0],[""],t,e,l&&!f.post.length),!f.post.length)break;r=f.post;continue}let v=l&&!f.post.length&&!p;for(let y=0;v&&y<a.length;y++)a[y]&&(v=!1);m=[];let S=0;t:for(let y=0;y<b.length;y++){let q=re(b[y],t,e,s,i+1,n,!1);for(let W=0;W<q.length;W++){let I=q[W];if(!(v&&!I)){if(m.length>=t||S+I.length>e)break t;m.push(I),S+=I.length}}}}if(a=lt(a,p,m,t,e,l&&!f.post.length),!f.post.length)break;r=f.post}return a}var Js={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}"],"[:alpha:]":["\\p{L}\\p{Nl}"],"[:ascii:]":["\\x00-\\x7f"],"[:blank:]":["\\p{Zs}\\t"],"[:cntrl:]":["\\p{Cc}"],"[:digit:]":["\\p{Nd}"],"[:graph:]":["\\p{Z}\\p{C}",!0],"[:lower:]":["\\p{Ll}"],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}\\p{S}"],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f"],"[:upper:]":["\\p{Lu}"],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}"],"[:xdigit:]":["A-Fa-f0-9"]},ct=r=>r.replace(/[[\]\\-]/g,"\\$&"),he=/$./,We=(r,t,e=!1,s)=>{let i=m=>{let b=s?m.normalize(s):m;return[...b].length===1?b:m},n=t;if(r.charAt(n)!=="[")throw new Error("not in a brace expression");let o=[],a=[],h=n+1,l=!1,c=!1,f=!1,p=n,d="";t:for(;h<r.length;){let m=String.fromCodePoint(r.codePointAt(h));if((m==="!"||m==="^")&&h===n+1){f=!0,h++;continue}if(m==="]"&&l&&!c){p=h+1;break}if(l=!0,m==="\\"&&!c){c=!0,h++;continue}if(m==="["&&!c){for(let[v,[S,y]]of Object.entries(Js))if(r.startsWith(v,h)){if(d)return[he,r.length-n];h+=v.length,y?a.push(S):o.push(S);continue t}}c=!1;let b=i(m);if(d){b.codePointAt(0)>d.codePointAt(0)?o.push(ct(d)+"-"+ct(b)):b===d&&o.push(ct(b)),d="",h+=m.length;continue}if(r.startsWith("-]",h+m.length)){o.push(ct(b+"-")),h+=m.length+1;continue}if(r.startsWith("-",h+m.length)){d=b,h+=m.length+1;continue}o.push(ct(b)),h+=m.length}if(p<h)return[he,0];if(!o.length&&!a.length)return[he,r.length-n];let g="["+(f?"^":"")+o.join("")+"]",u="["+(f?"":"^")+a.join("")+"]",w="^"+(o.length&&a.length?"("+g+"|"+u+")":o.length?g:u);return[new RegExp(w,e?"iu":"u"),p-n]};var ae={t:"match",id:0},Qs="!?+*@",J=r=>({t:"lit",ch:r}),ti=r=>r.replace(/[\\^$.*+?()[\]{}|/]/g,"\\$&"),le=r=>new RegExp(`^${ti(r)}$`,"iu"),ue=(r,t)=>{if(t===r.ch)return!0;if(!r.re)return!1;let e=t.charCodeAt(0);if(e>=128)return r.re.test(t);let s=r.ascii??=new Uint8Array(128);return s[e]||=r.re.test(t)?1:2,s[e]===1},ei=(r,t,e,s)=>{let i=[];for(let n=0;n<r.length;){let o=String.fromCodePoint(r.codePointAt(n));if(o==="\\"){let a=r.codePointAt(n+1),h=a===void 0?o:String.fromCodePoint(a);i.push(J(h)),n+=1+h.length;continue}if(o==="["){let[a,h]=We(r,n,t,s);if(h){i.push({t:"class",re:a}),n+=h;continue}}if(!e&&Qs.includes(o)&&r[n+1]==="("){i.push({t:"open",type:o}),n+=2;continue}i.push(!e&&o==="|"?{t:"bar"}:!e&&o===")"?{t:"close"}:o==="*"?{t:"star"}:o==="?"?{t:"any"}:J(o)),n+=o.length}return i},si=r=>{let t=new Map,e=[];return r.forEach((s,i)=>{s.t==="open"?e.push(i):s.t==="close"&&e.length&&t.set(e.pop(),i)}),t},Ue=(r,t,e,s,i)=>{let n=[],o=[n];for(let a=e;a<s;a++){let h=r[a],l=t.get(a);if(h.t==="open"&&l!==void 0){let c=Ue(r,t,a+1,l,!1);n.push({t:"ext",type:h.type,alts:c}),a=l}else h.t==="bar"&&!i?o.push(n=[]):h.t==="open"?n.push(J(h.type),J("(")):h.t==="bar"?n.push(J("|")):h.t==="close"?n.push(J(")")):n.push(h)}return o},Ge=(r,t)=>{let e=[],s="",i=()=>{for(let n of s.normalize(t))e.push(J(n));s=""};for(let n of r){if(n.t==="lit"){s+=n.ch;continue}i(),e.push(n.t==="ext"?{...n,alts:n.alts.map(o=>Ge(o,t))}:n)}return i(),e},ii=(r,t)=>{let e=1,s=a=>({t:"split",id:e++,out:a}),i=(a,h)=>a.reduceRight((l,c)=>n(c,l),h),n=(a,h)=>{switch(a.t){case"lit":let p=t?le(a.ch):void 0;return{t:"lit",id:e++,ch:a.ch,re:p,next:h};case"any":case"star":return{t:a.t,id:e++,next:h};case"class":return{t:"class",id:e++,re:a.re,next:h}}let l=p=>a.alts.map(d=>i(d,p));switch(a.type){case"@":return s(l(h));case"?":return s([h,...l(h)]);case"!":return{t:"neg",id:e++,sub:s(l(ae)),next:h}}let c=s([]),f=s(l(c));return c.out.push(h,f),a.type==="*"?c:f};return[i(r,ae),e]},ni=r=>{let t=[],e=new Set,s=n=>n.t==="match"?"match":String(n.id),i=(n,o)=>{if(n.t==="match"||e.has(n))return;e.add(n);let a=h=>t.push(`${o}${n.id}: ${h}`);switch(n.t){case"split":a(`split -> ${n.out.map(s).join(", ")}`);for(let h of n.out)i(h,o);return;case"neg":return a(`!(${s(n.sub)}) -> ${s(n.next)}`),i(n.sub,o+" "),i(n.next,o);case"lit":a(`${JSON.stringify(n.ch)} -> ${s(n.next)}`);break;case"class":a(`${n.re} -> ${s(n.next)}`);break;default:a(`${n.t==="any"?"?":"*"} -> ${s(n.next)}`)}i(n.next,o)};return i(r,""),[`start -> ${s(r)}`,...t].join(`
11723
+ `)},ce=class{gen;threads=[];match=!1;runs=[];ids=[];constructor(t){this.gen=t}get dead(){return!this.threads.length&&!this.match&&!this.runs.length}},He=(r,t)=>r.ids.length!==t.ids.length||r.runs.length!==t.runs.length||r.ids.some((e,s)=>e!==t.ids[s])?!1:r.runs.every(e=>t.runs.some(s=>s.neg===e.neg&&He(s.state,e.state))),$e=r=>({has:new Float64Array(r),seen:new Float64Array(r),gen:0}),ft=class{dots;dotStart;#t;constructor(t,e,s){this.dots=t,this.dotStart=e,this.#t=s}state(){return new ce(++this.#t.gen)}done(t){return t.ids=t.threads.map(e=>e.id).sort((e,s)=>e-s),t.match&&t.ids.unshift(ae.id),t}#i(t,e){let{seen:s}=this.#t;return s[e.id]===t.gen?!1:(s[e.id]=t.gen,!0)}#e(t,e){let{has:s}=this.#t;return s[e.id]===t.gen?!1:(s[e.id]=t.gen,t.threads.push(e),!0)}restricted(t,e){return e&&(this.dots||this.dotStart&&t===0)}add(t,e,s,i){switch(e.t){case"split":if(!this.#i(t,e))return;for(let o of e.out)this.add(t,o,s,i);return;case"neg":if(!this.#i(t,e))return;let n=this.state();return this.add(n,e.sub,s,!1),this.done(n),this.addRun(t,{t:"run",neg:e,state:n},s,i);case"star":if(this.restricted(s,i))return;this.#e(t,e)&&this.add(t,e.next,s,i);return;case"match":t.match=!0;return;default:this.#e(t,e)}}addRun(t,e,s,i){for(let n of t.runs)if(n.neg===e.neg&&He(n.state,e.state))return;t.runs.push(e),e.state.match||this.add(t,e.neg.next,s,i)}step(t,e,s,i){let n=this.state();for(let o of t.threads)switch(o.t){case"lit":ue(o,e)&&this.add(n,o.next,s+1,i);break;case"any":this.restricted(s,i)||this.add(n,o.next,s+1,i);break;case"class":!this.restricted(s,i)&&o.re.test(e)&&this.add(n,o.next,s+1,i);break;case"star":this.restricted(s,i)||this.add(n,o,s+1,i)}if(!this.restricted(s,i))for(let o of t.runs){if(o.state.dead){this.addRun(n,o,s+1,i);continue}let a=this.step(o.state,e,s,!1);this.addRun(n,{t:"run",neg:o.neg,state:a},s+1,i)}return this.done(n)}},qe=r=>{let t=r.ids.join();if(!r.runs.length)return t;let e=r.runs.map(s=>`${s.neg.id}(${qe(s.state)})`);return`${t}|${e.sort().join("|")}`},ri=1<<18,fe=class{#t;#i=new Map;#e=0;#o;#r;#d;#c;constructor(t,e){this.#t=t,this.#d=new ft(!1,!1,e),this.#c=new ft(!1,!0,e)}#p(t){return{state:t,match:t.match,dead:t.dead,next:new Map}}#h(t){let e=qe(t),s=this.#i.get(e);if(s)return s;this.#e>ri&&this.#m();let i=this.#p(t);return this.#i.set(e,i),this.#e+=e.length+1,i}#m(){this.#i.clear(),this.#e=0,this.#o=void 0,this.#r=void 0}start(t){if(t){if(this.#r)return this.#r;let s=this.#c.state();return this.#c.add(s,this.#t,0,!0),this.#r=this.#p(this.#c.done(s))}if(this.#o)return this.#o;let e=this.#d.state();return this.#d.add(e,this.#t,0,!0),this.#o=this.#h(this.#d.done(e))}next(t,e){let s=e.charCodeAt(0),i=s<128?void 0:t.next.get(e);if(i)return i;let n=t===this.#r?this.#h(this.#c.step(t.state,e,0,!0)):this.#h(this.#d.step(t.state,e,1,!0));return s<128?(t.ascii||(t.ascii=new Array(128),this.#e+=128),t.ascii[s]=n):t.next.set(e,n),this.#e++,n}},oi=r=>{let t=[];for(let e=r;e.t!=="match";e=e.next){if(e.t==="split"||e.t==="neg")return;t.push(e)}return t},hi=(r,t,e,s)=>{let i=0,n=e,o=-1,a=0;for(;n<s;){let h=r[i];if(h?.t==="star"){o=i++,a=n;continue}let l=t[n];if(h&&(h.t==="any"||h.t==="lit"&&ue(h,l)||h.t==="class"&&h.re.test(l))){i++,n++;continue}if(o===-1)return!1;i=o+1,n=++a}for(;r[i]?.t==="star";)i++;return i===r.length},Ke=r=>{let t=0,e=0;for(let s of r){let[i,n]=ai(s);t+=i,e+=n}return[t,e]},ai=r=>{if(r.t==="star")return[0,1/0];if(r.t!=="ext")return[1,1];if(r.type==="!")return[0,1/0];let t=r.alts.map(Ke),e=Math.min(...t.map(n=>n[0])),s=Math.max(...t.map(n=>n[1])),i=s===0?0:1/0;return r.type==="@"?[e,s]:r.type==="?"?[0,s]:r.type==="*"?[0,i]:[e,i]},Be=(r,t,e)=>{for(let s=0;s<r.length;s++)if(!ue(r[s],t[e+s]))return!1;return!0},li=/[/\ud800-\udfff]/,ci=/[\ud800-\udfff]/,Ft=r=>ci.test(r)?[...r]:r,Ie=r=>{if(r.includes("/"))throw new Error("can only match a single path portion, got: "+r)},ut=class{pattern;options;#t;#i;#e;#o;#r;#d;#c;#p=!1;#h=0;#m=1/0;#a=[];#l=[];#n;#w;#x=!1;#b;#f;constructor(t,e={}){if(t.includes("/"))throw new Error("can only match a single path portion, got pattern: "+t);this.pattern=t,this.options=e;let{nocase:s=!1,noext:i=!1,normalize:n}=e;this.#f=n===!0?"NFC":n||void 0;let o=/^[?*+@]\(\)$/.test(t),a=ei(t,s,i||o,this.#f),[h]=Ue(a,si(a),0,a.length,!0);this.#f&&(h=Ge(h,this.#f));let[l,c]=ii(h,s);if(this.#t=l,this.#i=c,h.every(f=>f.t==="lit"))this.#r=h.map(f=>f.ch).join(""),s&&(this.#d=le(this.#r));else{let f=g=>g.t!=="lit"?void 0:s?{ch:g.ch,re:le(g.ch)}:{ch:g.ch};for(let g of h){let u=f(g);if(!u)break;this.#a.push(u)}for(let g=h.length-1;g>=0;g--){let u=f(h[g]);if(!u)break;this.#l.unshift(u)}this.#x=!!(this.#a.length||this.#l.length),s||(this.#n=this.#a.map(g=>g.ch).join(""),this.#w=this.#l.map(g=>g.ch).join("")),this.#c=oi(this.#t)?.slice(this.#a.length,-this.#l.length||void 0),this.#p=!!this.#c?.every(g=>g.t==="star"||g.t==="any");let[p,d]=Ke(h);this.#h=p,this.#m=d}}test(t){return this.#f?(Ie(t),this.#v(t.normalize(this.#f))):li.test(t)?(Ie(t),this.#v(t,[...t])):this.#v(t,t)}testUnchecked(t){return this.#v(this.#f?t.normalize(this.#f):t)}#v(t,e){if(this.#r!==void 0)return this.#d?this.#d.test(t):t===this.#r;let s=this.#h,i=this.#m;if(e===void 0){let c=t.length,f=c+1>>1;if(c<s||f>i)return!1;(f<s||c>i)&&(e=Ft(t))}if(e!==void 0&&(e.length<s||e.length>i))return!1;let n=this.#a.length;if(this.#x)if(this.#n!==void 0&&this.#w!==void 0){if(!t.startsWith(this.#n)||!t.endsWith(this.#w))return!1}else{e??=Ft(t);let c=e.length-this.#l.length;if(!Be(this.#a,e,0)||!Be(this.#l,e,c))return!1}let o=!this.options.dot&&t.startsWith(".");if(this.#c){if(t==="."||t===".."||o&&!n)return!1;if(this.#p)return!0;e??=Ft(t);let c=e.length-this.#l.length;return hi(this.#c,e,n,c)}if(e??=Ft(t),t==="."||t===".."){this.#e??=$e(this.#i);let c=this.#o??=new ft(!0,!1,this.#e),f=c.state();c.add(f,this.#t,0,!0);let p=c.done(f);for(let d=0;d<e.length;d++)p=c.step(p,e[d],d,!0);return p.match}this.#e??=$e(this.#i);let a=this.#b??=new fe(this.#t,this.#e),h=a.start(o),l=e===t;for(let c=0;c<e.length;c++){if(h.dead)return!1;let f=l?t.charCodeAt(c):e[c].charCodeAt(0);h=h.ascii?.[f]??a.next(h,e[c])}return h.match}toString(){return ni(this.#t)}};var dt=r=>{if(typeof r!="string")throw new TypeError("invalid pattern");if(r.length>65536)throw new TypeError("pattern is too long")};var K=(r,{windowsPathsNoEscape:t=!1,magicalBraces:e=!1}={})=>e?t?r.replace(/[?*()[\]{}]/g,"[$&]"):r.replace(/[?*()[\]\\{}]/g,"\\$&"):t?r.replace(/[?*()[\]]/g,"[$&]"):r.replace(/[?*()[\]\\]/g,"\\$&");var st=(r,{windowsPathsNoEscape:t=!1,magicalBraces:e=!0}={})=>e?t?r.replace(/\[([^/\\])\]/g,"$1"):r.replace(/((?!\\).|^)\[([^/\\])\]/g,"$1$2").replace(/\\([^/])/g,"$1"):t?r.replace(/\[([^/\\{}])\]/g,"$1"):r.replace(/((?!\\).|^)\[([^/\\{}])\]/g,"$1$2").replace(/\\([^/{}])/g,"$1");var F=(r,t,e={})=>(dt(t),!e.nocomment&&t.charAt(0)==="#"?!1:new D(t,e).match(r)),Qe=typeof process=="object"&&process?process.env?.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",Xe={win32:{sep:"\\"},posix:{sep:"/"}},fi=Qe==="win32"?Xe.win32.sep:Xe.posix.sep;F.sep=fi;var x=Symbol("globstar **");F.GLOBSTAR=x;var ui=(r,t={})=>e=>F(e,r,t);F.filter=ui;var U=(r,t={})=>Object.assign({},r,t),di=r=>{if(!r||typeof r!="object"||!Object.keys(r).length)return F;let t=F;return Object.assign((s,i,n={})=>t(s,i,U(r,n)),{Minimatch:class extends t.Minimatch{constructor(i,n={}){super(i,U(r,n))}static defaults(i){return t.defaults(U(r,i)).Minimatch}},unescape:(s,i={})=>t.unescape(s,U(r,i)),escape:(s,i={})=>t.escape(s,U(r,i)),filter:(s,i={})=>t.filter(s,U(r,i)),defaults:s=>t.defaults(U(r,s)),braceExpand:(s,i={})=>t.braceExpand(s,U(r,i)),match:(s,i,n={})=>t.match(s,i,U(r,n)),sep:t.sep,GLOBSTAR:x})};F.defaults=di;var ts=(r,t={})=>(dt(r),t.nobrace||!/\{(?:(?!\{).)*\}/.test(r)?[r]:je(r,{max:t.braceExpandMax}));F.braceExpand=ts;var pi=(r,t,e={})=>{let s=new D(t,e);return r=r.filter(i=>s.match(i)),s.options.nonull&&!r.length&&r.push(t),r};F.match=pi;var Ve=/[?*]|[+@!]\(.*?\)|\[|\]/,es=(r,t)=>{let e=t+1;(r.charAt(e)==="!"||r.charAt(e)==="^")&&e++;let s=!1;for(;e<r.length;e++){let i=r.charAt(e);if(i==="]"&&s)return e;s=!0,i==="\\"&&e++}return-1},mi=(r,t)=>{if(!t&&(r==="+()"||r==="@()"))return r;let e="";for(let s=0;s<r.length;s++){let i=r.charAt(s);if(i==="\\")e+=r.charAt(++s)||i;else{if(i==="*"||i==="?")return;if(i==="["){let n=es(r,s);if(n===-1){e+=i;continue}let o=r.slice(s+1,n);if(o.startsWith("\\")&&(o=o.slice(1)),[...o].length!==1||"!^".includes(r.charAt(s+1)))return;e+=o,s=n}else{if(!t&&"+@!".includes(i)&&r.charAt(s+1)==="("&&r.includes(")",s+2))return;e+=i}}}return e},gi=r=>{if(/^[?*+@]\(\)$/.test(r)||r.includes("[:"))return!1;let t=0;for(let e=0;e<r.length;e++){let s=r.charAt(e);if(s==="\\"){if(++e===r.length)return!1}else if(s==="["){let i=es(r,e);i!==-1&&(e=i)}else if("+@!?*".includes(s)&&r.charAt(e+1)==="(")t++,e++;else if(s===")"){if(!t--)return!1}else if(s==="|"&&!t)return!1}return!t},de,Ye,X=(r,t)=>typeof r=="string"?t===r:t!==""&&r.testUnchecked(t),Ze=(r,t,e,s,i)=>X(r,t)?e:s!==void 0&&X(r,s)?i:-1,ge=r=>r==="."||r==="..",pe=r=>typeof r=="string"&&/^[a-z]:$/i.test(r),Dt=r=>typeof r=="string"&&/^unc$/i.test(r),me=r=>{if(r[0]!==""||r[1]!=="")return-1;let t=r[2]!=="?"?2:Dt(r[3])?4:-1,e=r[t],s=r[t+1];return t!==-1&&e!==void 0&&e!==""&&e!==x&&s!==void 0&&s!==""&&s!==x?t:-1},_t=(r,t)=>!ge(r)&&(t||!r.startsWith(".")),pt=(r,t,e,s,i)=>{for(let n=t;n<e;){if(r.charCodeAt(n)===46){if(!s)return!0;let a=r.charCodeAt(n+1)===46?n+2:n+1;if(a>=e||Nt(r.charCodeAt(a),i))return!0}let o=we(r,n,i);if(o===-1)return!1;for(n=o+1;n<e&&Nt(r.charCodeAt(n),i);)n++}return!1},Nt=(r,t)=>t==="/"?r===47:t==="\\"?r===92:r===47||r===92,we=(r,t,e)=>{if(e!=="both")return r.indexOf(e,t);let s=r.indexOf("/",t),i=r.indexOf("\\",t);return s===-1?i:i===-1?s:Math.min(s,i)},Je=(r,t,e)=>e!=="both"?r.lastIndexOf(e,t):Math.max(r.lastIndexOf("/",t),r.lastIndexOf("\\",t)),D=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;#t;#i;#e;#o;#r=[];#d=[];#c=[];#p=new Map;#h=new WeakMap;constructor(t,e={}){dt(t),e=e||{},this.options=e,this.maxGlobstarRecursion=e.maxGlobstarRecursion??200,this.pattern=t,this.platform=e.platform||Qe,this.isWindows=this.platform==="win32";let s="allowWindowsEscape";this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||e[s]===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=e.windowsNoMagicRoot!==void 0?e.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.#t=!this.preserveMultipleSlashes,this.#e=(e.optimizationLevel??1)>=2;let i=e.normalize;this.#o=i===!0?"NFC":i||void 0,this.make();let n=this.set.map(o=>this.#a(o));this.#c=this.set.map((o,a)=>this.#t&&o.length-1>n[a]),this.#r=this.set.map((o,a)=>{let h=this.#c[a]?o.length-1:o.length,l=o.slice(n[a]+1,h).filter(c=>typeof c=="string"&&!!c);return[...new Set(l)]}),this.#i=this.#r.some(o=>o.length),this.#d=this.set.map((o,a)=>{let[h,l,c]=o;if(this.#c[a]&&o.length===2&&h===x&&l!==x)return"tail";if(this.#c[a]&&e.matchBase&&o.length===1&&h!==x&&h!=="")return"base";if(!(!this.#t||n[a]!==-1)){if(o.length===3&&h===x&&c===x&&l!==x&&l!==""&&this.maxGlobstarRecursion>0)return"mid";if(o.length===2&&l===x&&h!==x&&h!=="")return"head"}})}#m(t){return this.#o?t.normalize(this.#o):t}#a(t){if(!this.isWindows)return-1;if(pe(t[0]))return 0;if(t[0]===""&&t[1]===""&&t[2]==="?"&&pe(t[3]))return 3;let s=me(t);return s===-1?-1:s+1}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let t of this.set)for(let e of t)if(typeof e!="string")return!0;return!1}make(){let t=this.pattern,e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())];let s=this.globSet.map(n=>this.#S(n));this.globParts=this.preprocess(s);let i=this.globParts.map((n,o,a)=>{if(this.isWindows&&this.windowsNoMagicRoot){let h=n[2]==="?"&&Dt(n[3])?6:4,l=n[0]===""&&n[1]===""&&(n[2]==="?"||!Ve.test(n[2]))&&n.slice(3,h).every(f=>!Ve.test(f)),c=/^[a-z]:/i.test(n[0]);if(l)return[...n.slice(0,h).map(f=>this.#m(f)),...n.slice(h).map(f=>this.parse(f))];if(c)return[this.#m(n[0]),...n.slice(1).map(f=>this.parse(f))]}return n.map(h=>this.parse(h))});if(this.set=i.filter(n=>n.indexOf(!1)===-1),this.isWindows)for(let n=0;n<this.set.length;n++){let o=this.set[n];o[0]===""&&o[1]===""&&this.globParts[n][2]==="?"&&(pe(o[3])||Dt(this.globParts[n][3]))&&(Dt(this.globParts[n][3])&&(o[3]="UNC"),o[2]="?")}e.noext||this.mergeRows()}mergeRows(){let t=!0;for(;t;){t=!1;let e=Math.max(0,...this.set.map(s=>s.length));for(let s=0;s<e;s++){let i=new Map;this.set.forEach((o,a)=>{if(!(o[s]instanceof ut)||!gi(this.globParts[a][s]))return;let h=[...this.globParts[a]];h[s]="";let l=`${o.length}/${h.join("/")}`,c=i.get(l);c?c.push(a):i.set(l,[a])});let n=new Set;for(let o of i.values()){if(o.length<2)continue;let[a,...h]=o,c=`@(${o.map(f=>this.globParts[f][s]).join("|")})`;this.globParts[a][s]=c,this.set[a][s]=this.parse(c);for(let f of h)n.add(f)}n.size&&(t=!0,this.set=this.set.filter((o,a)=>!n.has(a)),this.globParts=this.globParts.filter((o,a)=>!n.has(a)))}}}preprocess(t){if(this.options.noglobstar)for(let s of t)for(let i=0;i<s.length;i++)s[i]==="**"&&(s[i]="*");let{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):e>=1?t=this.levelOneOptimize(t):t=this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map(e=>{let s=-1;for(;(s=e.indexOf("**",s+1))!==-1;){let i=s;for(;e[i+1]==="**";)i++;i!==s&&e.splice(s,i-s)}return e})}levelOneOptimize(t){return t.map(e=>{let s=this.#a(e)+1;return e=e.reduce((i,n)=>{let o=i[i.length-1];return n==="**"&&o==="**"?i:n===".."&&i.length>s&&o&&o!==".."&&o!=="."&&o!=="**"?(i.pop(),i):(i.push(n),i)},[]),e.length===0?[""]:e})}#l(t){let e=!this.isWindows||!t.includes("\\")?"/":t.includes("/")?"both":"\\",s=this.#t?0:-1,i="",n=0,o,a=0,h=!!this.options.dot;t:for(let l=0;l<this.set.length;l++){let c=this.set[l],f=c[c.length-1],p=s!==-1&&this.#c[l]&&f!==x;if(p&&s===0){let u=Je(t,t.length,e);if(n=u+1,i=t.slice(n),i===""&&u>=0){let m=u;for(;m>0&&Nt(t.charCodeAt(m-1),e);)m--;a=m===0?0:Je(t,m-1,e)+1,o=t.slice(a,m)}let w=this.#e&&(ge(i)||i===""&&o!==void 0&&ge(o));s=w?-1:1,p=!w}let d=-1;if(p&&typeof f=="string"&&(d=Ze(f,i,n,o,a),d===-1))continue;if(this.#i){for(let u of this.#r[l])if(!t.includes(u))continue t}if(p&&typeof f=="object"&&(d=Ze(f,i,n,o,a),d===-1))continue;let g=this.#d[l];if(g==="base"&&p)return"yes";if(g==="tail"&&p){if(this.#e&&pt(t,0,d,!0,e))return"maybe";if(!pt(t,0,d,h,e))return"yes";continue}if(g==="mid"||g==="head"){let u=this.#w(t,c,g==="head",h,e);if(u!=="no")return u;continue}return"maybe"}return"no"}#n(t,e,s){let i=!!this.options.dot,n=t.length;if(s==="head"){if(n<2||!X(e[0],t[0]))return!1;for(let a=1;a<n;a++)if(!_t(t[a],i))return!1;return!0}let o=e[1];if(s==="tail"){let a=n-1;if(!X(o,t[a])&&(t[a]!==""||n===1||!X(o,t[--a])))return!1;for(let h=0;h<a;h++)if(!_t(t[h],i))return!1;return!0}for(let a=0;a<n;a++){if(X(o,t[a])&&a+1<n){let h=a+1;for(;h<n&&_t(t[h],i);)h++;if(h===n)return!0}if(!_t(t[a],i))return!1}return!1}#w(t,e,s,i,n){if(this.#e&&pt(t,0,t.length,!0,n))return"maybe";let o=e[s?0:1],a=0;for(let h=we(t,a,n);h!==-1;h=we(t,a,n)){let l=h+1;for(;l<t.length&&Nt(t.charCodeAt(l),n);)l++;if((typeof o=="string"?h-a===o.length&&t.startsWith(o,a):h>a&&o.testUnchecked(t.slice(a,h)))&&!pt(t,l,t.length,i,n))return"yes";if(s||pt(t,a,l,i,n))return"no";a=l}return"no"}#x(t){let e=de;return e?.f===t&&e.isWindows===this.isWindows&&e.preserveMultipleSlashes===this.preserveMultipleSlashes&&e.normalize===this.#o?e:void 0}#b(t){let{isWindows:e,preserveMultipleSlashes:s}=this,i=this.#S(e?t.split("\\").join("/"):t),n=this.#o;return n&&(i=i.map(o=>o.normalize(n))),de={f:t,isWindows:e,preserveMultipleSlashes:s,normalize:n,parts:i},de}#f(t){let e=[...t],s=!1;do{if(s=!1,!this.preserveMultipleSlashes){for(let o=1;o<e.length-1;o++){let a=e[o];o===1&&a===""&&e[0]===""||(a==="."||a==="")&&(s=!0,e.splice(o,1),o--)}e[0]==="."&&e.length===2&&(e[1]==="."||e[1]==="")&&(s=!0,e.pop())}let i=this.#a(e)+1,n=i;for(;(n=e.indexOf("..",n+1))!==-1;){let o=e[n-1];o&&o!=="."&&o!==".."&&o!=="**"&&(s=!0,e.splice(n-1,2),n=Math.max(n-2,i))}}while(s);return e.length===0?[""]:e}firstPhasePreProcess(t){let{braceExpandMax:e=1e5}=this.options,s=!1;do{s=!1;for(let i of t){let n=-1;for(;(n=i.indexOf("**",n+1))!==-1;){let h=n;for(;i[h+1]==="**";)h++;h>n&&i.splice(n+1,h-n);let l=i[n+1],c=i[n+2],f=i[n+3];if(l!==".."||!c||c==="."||c===".."||!f||f==="."||f===".."||t.length>=e)continue;s=!0,i.splice(n,1);let p=i.slice(0);p[n]="**",t.push(p),n--}if(!this.preserveMultipleSlashes){for(let h=1;h<i.length-1;h++){let l=i[h];h===1&&l===""&&i[0]===""||(l==="."||l==="")&&(s=!0,i.splice(h,1),h--)}i[0]==="."&&i.length===2&&(i[1]==="."||i[1]==="")&&(s=!0,i.pop())}let o=this.#a(i)+1,a=o;for(;(a=i.indexOf("..",a+1))!==-1;){let h=i[a-1];if(h&&h!=="."&&h!==".."&&h!=="**"){s=!0;let c=a===1&&i[a+1]==="**"?["."]:[];i.splice(a-1,2,...c),i.length===0&&i.push(""),a=Math.max(a-2,o)}}}}while(s);return t}secondPhasePreProcess(t){if(t.length>1e3)return t;for(let e=0;e<t.length-1;e++)for(let s=e+1;s<t.length;s++){let i=this.partsMatch(t[e],t[s],!this.preserveMultipleSlashes);if(i){t[e]=[],t[s]=i;break}}return t.filter(e=>e.length)}partsMatch(t,e,s=!1){let i=0,n=0,o=[],a="";for(;i<t.length&&n<e.length;)if(t[i]===e[n])o.push(a==="b"?e[n]:t[i]),i++,n++;else if(s&&t[i]==="**"&&e[n]===t[i+1])o.push(t[i]),i++;else if(s&&e[n]==="**"&&t[i]===e[n+1])o.push(e[n]),n++;else if(t[i]==="*"&&e[n]&&(this.options.dot||!e[n].startsWith("."))&&e[n]!=="**"){if(a==="b")return!1;a="a",o.push(t[i]),i++,n++}else if(e[n]==="*"&&t[i]&&(this.options.dot||!t[i].startsWith("."))&&t[i]!=="**"){if(a==="a")return!1;a="b",o.push(e[n]),i++,n++}else return!1;return t.length===e.length&&o}parseNegate(){if(this.nonegate)return;let t=this.pattern,e=!1,s=0;for(let i=0;i<t.length&&t.charAt(i)==="!";i++)e=!e,s++;s&&(this.pattern=t.slice(s)),this.negate=e}#v(t,e,s,i){let n=0,o=0,a=this.isWindows?me(e):-1,h=a===-1?-1:me(s);if(h!==-1){let l=s[h],c=s[h+1];typeof l!="string"||typeof c!="string"?(n=a,o=h):e[a].toLowerCase()===l.toLowerCase()&&e[a+1].toLowerCase()===c.toLowerCase()&&(n=a+2,o=h+2)}else if(this.isWindows){let l=typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0]),c=!l&&t[0]===""&&t[1]===""&&t[2]==="?"&&/^[a-z]:$/i.test(t[3]),f=typeof s[0]=="string"&&/^[a-z]:$/i.test(s[0]),p=!f&&s[0]===""&&s[1]===""&&s[2]==="?"&&typeof s[3]=="string"&&/^[a-z]:$/i.test(s[3]),d=c?3:l?0:void 0,g=p?3:f?0:void 0;if(typeof d=="number"&&typeof g=="number"){let[u,w]=[t[d],s[g]];u.toLowerCase()===w.toLowerCase()&&(o=g+1,n=d+1)}}return t=e,s.includes(x)?this.#y(t,s,i,n,o):this.#g(t,s,i,n,o)}#y(t,e,s,i,n){let{head:o,body:a,tail:h,segments:l}=this.#E(e,s,n);if(o.length){let f=i+o.length;if(!this.#g(t,o,s,i,0,f))return!1;i+=o.length,n+=o.length}let c=0;if(h.length){if(h.length+i>t.length)return!1;let f=t.length-h.length;if(this.#g(t,h,s,f,0))c=h.length;else{if(t[t.length-1]!==""||i+h.length===t.length||(f--,!this.#g(t,h,s,f,0)))return!1;c=h.length+1}}if(!a.length){let f=!!c;for(let p=i;p<t.length-c;p++){let d=String(t[p]);if(f=!0,d==="."||d===".."||!this.options.dot&&d.startsWith("."))return!1}return s||f}return!!this.#k(t,l,t.length-c,i,0,s,0,!!c,new Set)}#E(t,e,s){let i=this.#h.get(t);i||(i=[],this.#h.set(t,i));let n=s*2+(e?1:0),o=i[n];if(o)return o;let a=t.indexOf(x,s),h=t.lastIndexOf(x),l=t.slice(s,a),c=t.slice(a+1,e?void 0:h),f=e?[]:t.slice(h+1),p=[[[],0]],d=p[0],g=0,u=[0];for(let m of c)m===x?(u.push(g),d=[[],0],p.push(d)):(d[0].push(m),g++);p.forEach((m,b)=>{m[1]=g-u[b]});let w={head:l,body:c,tail:f,segments:p};return i[n]=w,w}#k(t,e,s,i,n,o,a,h,l){let c=e[n];if(!c){if(o)return i>=s||i===s-1&&t[i]==="";for(let g=i;g<s;g++){h=!0;let u=t[g];if(u==="."||u===".."||!this.options.dot&&u.startsWith("."))return!1}return h}let[f,p]=c,d=o?s:s-p;for(;i<=d;){let g=n*(t.length+1)+i;if(l.has(g))return!1;if(l.add(g),this.#g(t,f,o,i,0,i+f.length)&&a<this.maxGlobstarRecursion){let m=this.#k(t,e,s,i+f.length,n+1,o,a+1,h,l);if(m!==!1)return m}if(i===d)break;let w=t[i];if(w==="."||w===".."||!this.options.dot&&w.startsWith("."))return!1;i++}return o||null}#g(t,e,s,i,n,o=t.length){let a,h,l,c;for(a=i,h=n,c=Math.min(o,t.length),l=e.length;a<c&&h<l;a++,h++){let f=e[h],p=t[a];if(f===!1||f===x||!X(f,p))return!1}if(a===c&&h===l)return!0;if(a===c)return s;if(h===l)return a===c-1&&t[a]==="";throw new Error("wtf?")}braceExpand(){return ts(this.pattern,this.options)}parse(t){dt(t);let e=this.options;if(t==="**")return x;if(t==="")return"";let{nocase:s,nocaseMagicOnly:i,noext:n=!1,dot:o,normalize:a}=e,h=mi(t,n);if(h!==void 0&&!(s&&!i&&t.toUpperCase()!==t.toLowerCase()))return this.#m(h);let l=this.#p.get(t);return l||(l=new ut(t,{nocase:s,noext:n,dot:o,normalize:a}),this.#p.set(t,l)),l}#S(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.comment)return!1;if(this.empty)return t==="";if(t==="/"&&e)return!0;let s=this.options,i=this.#x(t);if(!i){if(!e&&!this.#o&&(this.#t||this.#i)&&Ye!==t){Ye=t;let l=this.#l(t);if(l==="no")return s.flipNegate?!1:this.negate;if(l==="yes")return s.flipNegate?!0:!this.negate}i=this.#b(t)}let n=i.parts,o=this.#e?i.resolved??=this.#f(n):n,a=this.set,h=n[n.length-1];if(!h)for(let l=n.length-2;!h&&l>=0;l--)h=n[l];for(let l=0;l<a.length;l++){let c=a[l],f=e?void 0:this.#d[l];if(f==="base"?X(c[0],h):f?this.#n(o,c,f):s.matchBase&&c.length===1?this.#v([h],[h],c,e):this.#v(n,o,c,e))return s.flipNegate?!0:!this.negate}return s.flipNegate?!1:this.negate}static defaults(t){return F.defaults(t).Minimatch}};F.Minimatch=D;F.escape=K;F.unescape=st;var R=(0,node_diagnostics_channel__WEBPACK_IMPORTED_MODULE_1__.channel)("lru-cache:metrics"),mt=(0,node_diagnostics_channel__WEBPACK_IMPORTED_MODULE_1__.tracingChannel)("lru-cache"),yi=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,be=()=>R.hasSubscribers||mt.hasSubscribers,is=new Set,ss=typeof process=="object"&&process?process:{},Si=(r,t,e,s)=>{typeof ss.emitWarning=="function"?ss.emitWarning(r,t,e,s):console.error(`[${e}] ${t}: ${r}`)},vi=r=>!is.has(r),V=r=>!!r&&r===Math.floor(r)&&r>0&&isFinite(r),ns=r=>V(r)?r<=Math.pow(2,8)?Uint8Array:r<=Math.pow(2,16)?Uint16Array:r<=Math.pow(2,32)?Uint32Array:r<=Number.MAX_SAFE_INTEGER?Pt:null:null,Pt=class extends Array{constructor(r){super(r),this.fill(0)}},xi=class gt{heap;length;static#t=!1;static create(t){let e=ns(t);if(!e)return[];gt.#t=!0;let s=new gt(t,e);return gt.#t=!1,s}constructor(t,e){if(!gt.#t)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}},wt=class rs{#t;#i;#e;#o;#r;#d;#c;#p;get perf(){return this.#p}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;backgroundFetchSize;#h;#m;#a;#l;#n;#w;#x;#b;#f;#v;#y;#E;#k;#g;#S;#C;#O;#s;#F;static unsafeExposeInternals(t){return{starts:t.#k,ttls:t.#g,autopurgeTimers:t.#S,sizes:t.#E,keyMap:t.#a,keyList:t.#l,valList:t.#n,next:t.#w,prev:t.#x,get head(){return t.#b},get tail(){return t.#f},free:t.#v,isBackgroundFetch:e=>t.#u(e),backgroundFetch:(e,s,i,n)=>t.#L(e,s,i,n),moveToTail:e=>t.#X(e),indexes:e=>t.#M(e),rindexes:e=>t.#T(e),isStale:e=>t.#A(e)}}get max(){return this.#t}get maxSize(){return this.#i}get calculatedSize(){return this.#m}get size(){return this.#h}get fetchMethod(){return this.#d}get memoMethod(){return this.#c}get dispose(){return this.#e}get onInsert(){return this.#o}get disposeAfter(){return this.#r}constructor(t){let{max:e=0,ttl:s,ttlResolution:i=1,ttlAutopurge:n,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:h,dispose:l,onInsert:c,disposeAfter:f,noDisposeOnSet:p,noUpdateTTL:d,maxSize:g=0,maxEntrySize:u=0,sizeCalculation:w,fetchMethod:m,memoMethod:b,noDeleteOnFetchRejection:v,noDeleteOnStaleGet:S,allowStaleOnFetchRejection:y,allowStaleOnFetchAbort:q,ignoreFetchAbort:W,backgroundFetchSize:I=1,perf:et}=t;if(this.backgroundFetchSize=I,et!==void 0&&typeof et?.now!="function")throw new TypeError("perf option must have a now() method if specified");if(this.#p=et??yi,e!==0&&!V(e))throw new TypeError("max option must be a nonnegative integer");let te=e?ns(e):Array;if(!te)throw new Error("invalid max value: "+e);if(this.#t=e,this.#i=g,this.maxEntrySize=u||this.#i,this.sizeCalculation=w,this.sizeCalculation){if(!this.#i&&!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(b!==void 0&&typeof b!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#c=b,m!==void 0&&typeof m!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#d=m,this.#O=!!m,this.#a=new Map,this.#l=Array.from({length:e}).fill(void 0),this.#n=Array.from({length:e}).fill(void 0),this.#w=new te(e),this.#x=new te(e),this.#b=0,this.#f=0,this.#v=xi.create(e),this.#h=0,this.#m=0,typeof l=="function"&&(this.#e=l),typeof c=="function"&&(this.#o=c),typeof f=="function"?(this.#r=f,this.#y=[]):(this.#r=void 0,this.#y=void 0),this.#C=!!this.#e,this.#F=!!this.#o,this.#s=!!this.#r,this.noDisposeOnSet=!!p,this.noUpdateTTL=!!d,this.noDeleteOnFetchRejection=!!v,this.allowStaleOnFetchRejection=!!y,this.allowStaleOnFetchAbort=!!q,this.ignoreFetchAbort=!!W,this.maxEntrySize!==0){if(this.#i!==0&&!V(this.#i))throw new TypeError("maxSize must be a positive integer if specified");if(!V(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#G()}if(this.allowStale=!!h,this.noDeleteOnStaleGet=!!S,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=V(i)||i===0?i:1,this.ttlAutopurge=!!n,this.ttl=s||0,this.ttl){if(!V(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#_()}if(this.#t===0&&this.ttl===0&&this.#i===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#t&&!this.#i){let ee="LRU_CACHE_UNBOUNDED";vi(ee)&&(is.add(ee),Si("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",ee,rs))}}getRemainingTTL(t){return this.#a.has(t)?1/0:0}#_(){let t=new Pt(this.#t),e=new Pt(this.#t);this.#g=t,this.#k=e;let s=this.ttlAutopurge?Array.from({length:this.#t}):void 0;this.#S=s,this.#W=(h,l,c=this.#p.now())=>{e[h]=l!==0?c:0,t[h]=l,i(h,l)},this.#R=h=>{e[h]=t[h]!==0?this.#p.now():0,i(h,t[h])};let i=this.ttlAutopurge?(h,l)=>{if(s?.[h]&&(clearTimeout(s[h]),s[h]=void 0),l&&l!==0&&s){let c=setTimeout(()=>{this.#A(h)?(this.#j(this.#l[h],"expire"),s[h]=void 0):i(h,a(h))},l+1);c.unref&&c.unref(),s[h]=c}}:()=>{};this.#D=(h,l)=>{if(t[l]){let c=t[l],f=e[l];if(!c||!f)return;h.ttl=c,h.start=f,h.now=n||o();let p=h.now-f;h.remainingTTL=c-p}};let n=0,o=()=>{let h=this.#p.now();if(this.ttlResolution>0){n=h;let l=setTimeout(()=>n=0,this.ttlResolution);l.unref&&l.unref()}return h};this.getRemainingTTL=h=>{let l=this.#a.get(h);return l===void 0?0:a(l)};let a=h=>{let l=t[h],c=e[h];if(!l||!c)return 1/0;let f=(n||o())-c;return l-f};this.#A=h=>{let l=e[h],c=t[h];return!!c&&!!l&&(n||o())-l>c}}#R=()=>{};#D=()=>{};#W=()=>{};#A=()=>!1;#G(){let t=new Pt(this.#t);this.#m=0,this.#E=t,this.#P=e=>{this.#m-=t[e],t[e]=0},this.#$=(e,s,i,n)=>{if(!V(i)){if(this.#u(s))return this.backgroundFetchSize;if(n){if(typeof n!="function")throw new TypeError("sizeCalculation must be a function");if(i=n(s,e),!V(i))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 i},this.#N=(e,s,i)=>{if(t[e]=s,this.#i){let n=this.#i-t[e];for(;this.#m>n;)this.#U(!0)}this.#m+=t[e],i&&(i.entrySize=s,i.totalCalculatedSize=this.#m)}}#P=t=>{};#N=(t,e,s)=>{};#$=(t,e,s,i)=>{if(s||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#M({allowStale:t=this.allowStale}={}){if(this.#h)for(let e=this.#f;this.#B(e)&&((t||!this.#A(e))&&(yield e),e!==this.#b);)e=this.#x[e]}*#T({allowStale:t=this.allowStale}={}){if(this.#h)for(let e=this.#b;this.#B(e)&&((t||!this.#A(e))&&(yield e),e!==this.#f);)e=this.#w[e]}#B(t){return t!==void 0&&this.#a.get(this.#l[t])===t}*entries(){for(let t of this.#M())this.#n[t]!==void 0&&this.#l[t]!==void 0&&!this.#u(this.#n[t])&&(yield[this.#l[t],this.#n[t]])}*rentries(){for(let t of this.#T())this.#n[t]!==void 0&&this.#l[t]!==void 0&&!this.#u(this.#n[t])&&(yield[this.#l[t],this.#n[t]])}*keys(){for(let t of this.#M()){let e=this.#l[t];e!==void 0&&!this.#u(this.#n[t])&&(yield e)}}*rkeys(){for(let t of this.#T()){let e=this.#l[t];e!==void 0&&!this.#u(this.#n[t])&&(yield e)}}*values(){for(let t of this.#M())this.#n[t]!==void 0&&!this.#u(this.#n[t])&&(yield this.#n[t])}*rvalues(){for(let t of this.#T())this.#n[t]!==void 0&&!this.#u(this.#n[t])&&(yield this.#n[t])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,e={}){for(let s of this.#M()){let i=this.#n[s],n=this.#u(i)?i.__staleWhileFetching:i;if(n!==void 0&&t(n,this.#l[s],this))return this.#K(this.#l[s],e)}}forEach(t,e=this){for(let s of this.#M()){let i=this.#n[s],n=this.#u(i)?i.__staleWhileFetching:i;n!==void 0&&t.call(e,n,this.#l[s],this)}}rforEach(t,e=this){for(let s of this.#T()){let i=this.#n[s],n=this.#u(i)?i.__staleWhileFetching:i;n!==void 0&&t.call(e,n,this.#l[s],this)}}purgeStale(){let t=!1;for(let e of this.#T({allowStale:!0}))this.#A(e)&&(this.#j(this.#l[e],"expire"),t=!0);return t}info(t){let e=this.#a.get(t);if(e===void 0)return;let s=this.#n[e],i=this.#u(s)?s.__staleWhileFetching:s;if(i===void 0)return;let n={value:i};if(this.#g&&this.#k){let o=this.#g[e],a=this.#k[e];if(o&&a){let h=o-(this.#p.now()-a);n.ttl=h,n.start=Date.now()}}return this.#E&&(n.size=this.#E[e]),n}dump(){let t=[];for(let e of this.#M({allowStale:!0})){let s=this.#l[e],i=this.#n[e],n=this.#u(i)?i.__staleWhileFetching:i;if(n===void 0||s===void 0)continue;let o={value:n};if(this.#g&&this.#k){o.ttl=this.#g[e];let a=this.#p.now()-this.#k[e];o.start=Math.floor(Date.now()-a)}this.#E&&(o.size=this.#E[e]),t.unshift([s,o])}return t}load(t){this.clear();for(let[e,s]of t){if(s.start){let i=Date.now()-s.start;s.start=this.#p.now()-i}this.#z(e,s.value,s)}}set(t,e,s={}){let{status:i=R.hasSubscribers?{}:void 0}=s;s.status=i,i&&(i.op="set",i.key=t,e!==void 0&&(i.value=e),i.cache=this);let n=this.#z(t,e,s);return i&&R.hasSubscribers&&R.publish(i),n}#z(t,e,s,i){let{ttl:n=this.ttl,start:o,noDisposeOnSet:a=this.noDisposeOnSet,sizeCalculation:h=this.sizeCalculation,status:l}=s,c=this.#u(e);if(e===void 0)return l&&(l.set="deleted"),this.delete(t),this;let{noUpdateTTL:f=this.noUpdateTTL}=s;l&&!c&&(l.value=e);let p=this.#$(t,e,s.size||0,h,l);if(this.maxEntrySize&&p>this.maxEntrySize)return this.#j(t,"set"),l&&(l.set="miss",l.maxEntrySizeExceeded=!0),this;let d=this.#h===0?void 0:this.#a.get(t);if(d===void 0)d=this.#h===0?this.#f:this.#v.length!==0?this.#v.pop():this.#h===this.#t?this.#U(!1):this.#h,this.#l[d]=t,this.#n[d]=e,this.#a.set(t,d),this.#w[this.#f]=d,this.#x[d]=this.#f,this.#f=d,this.#h++,this.#N(d,p,l),l&&(l.set="add"),f=!1,this.#F&&!c&&this.#o?.(e,t,"add");else{this.#X(d);let g=this.#n[d];if(e!==g){if(!a)if(this.#u(g)){g!==i&&g.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:u}=g;u!==void 0&&u!==e&&(this.#C&&this.#e?.(u,t,"set"),this.#s&&this.#y?.push([u,t,"set"]))}else this.#C&&this.#e?.(g,t,"set"),this.#s&&this.#y?.push([g,t,"set"]);if(this.#P(d),this.#N(d,p,l),this.#n[d]=e,!c){let u=g&&this.#u(g)?g.__staleWhileFetching:g,w=u===void 0?"add":e!==u?"replace":"update";l&&(l.set=w,u!==void 0&&(l.oldValue=u)),this.#F&&this.onInsert?.(e,t,w)}}else c||(l&&(l.set="update"),this.#F&&this.onInsert?.(e,t,"update"))}if(n!==0&&!this.#g&&this.#_(),this.#g&&(f||this.#W(d,n,o),l&&this.#D(l,d)),!a&&this.#s&&this.#y){let g=this.#y,u;for(;u=g?.shift();)this.#r?.(...u)}return this}pop(){try{for(;this.#h;){let t=this.#n[this.#b];if(this.#U(!0),this.#u(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#s&&this.#y){let t=this.#y,e;for(;e=t?.shift();)this.#r?.(...e)}}}#U(t){let e=this.#b,s=this.#l[e],i=this.#n[e],n=this.#u(i);n&&i.__abortController.abort(new Error("evicted"));let o=n?i.__staleWhileFetching:i;return(this.#C||this.#s)&&o!==void 0&&(this.#C&&this.#e?.(o,s,"evict"),this.#s&&this.#y?.push([o,s,"evict"])),this.#P(e),this.#S?.[e]&&(clearTimeout(this.#S[e]),this.#S[e]=void 0),t&&(this.#l[e]=void 0,this.#n[e]=void 0,this.#v.push(e)),this.#h===1?(this.#b=this.#f=0,this.#v.length=0):this.#b=this.#w[e],this.#a.delete(s),this.#h--,e}has(t,e={}){let{status:s=R.hasSubscribers?{}:void 0}=e;e.status=s,s&&(s.op="has",s.key=t,s.cache=this);let i=this.#V(t,e);return R.hasSubscribers&&R.publish(s),i}#V(t,e={}){let{updateAgeOnHas:s=this.updateAgeOnHas,status:i}=e,n=this.#a.get(t);if(n!==void 0){let o=this.#n[n];if(this.#u(o)&&o.__staleWhileFetching===void 0)return!1;if(this.#A(n))i&&(i.has="stale",this.#D(i,n));else return s&&this.#R(n),i&&(i.has="hit",this.#D(i,n)),!0}else i&&(i.has="miss");return!1}peek(t,e={}){let{status:s=be()?{}:void 0}=e;s&&(s.op="peek",s.key=t,s.cache=this),e.status=s;let i=this.#H(t,e);return R.hasSubscribers&&R.publish(s),i}#H(t,e){let{status:s,allowStale:i=this.allowStale}=e,n=this.#a.get(t);if(n===void 0||!i&&this.#A(n)){s&&(s.peek=n===void 0?"miss":"stale");return}let o=this.#n[n],a=this.#u(o)?o.__staleWhileFetching:o;return s&&(a!==void 0?(s.peek="hit",s.value=a):s.peek="miss"),a}#L(t,e,s,i){let n=e===void 0?void 0:this.#n[e];if(this.#u(n))return n;let o=new AbortController,{signal:a}=s;a?.addEventListener("abort",()=>o.abort(a.reason),{signal:o.signal});let h={signal:o.signal,options:s,context:i},l=(u,w=!1)=>{let{aborted:m}=o.signal,b=s.ignoreFetchAbort&&u!==void 0,v=s.ignoreFetchAbort||!!(s.allowStaleOnFetchAbort&&u!==void 0);if(s.status&&(m&&!w?(s.status.fetchAborted=!0,s.status.fetchError=o.signal.reason,b&&(s.status.fetchAbortIgnored=!0)):s.status.fetchResolved=!0),m&&!b&&!w)return f(o.signal.reason,v);let S=d,y=this.#n[e];return(y===d||y===void 0&&b&&w)&&(u===void 0?S.__staleWhileFetching!==void 0?this.#n[e]=S.__staleWhileFetching:this.#j(t,"fetch"):(s.status&&(s.status.fetchUpdated=!0),this.#z(t,u,h.options,S))),u},c=u=>(s.status&&(s.status.fetchRejected=!0,s.status.fetchError=u),f(u,!1)),f=(u,w)=>{let{aborted:m}=o.signal,b=m&&s.allowStaleOnFetchAbort,v=b||s.allowStaleOnFetchRejection,S=v||s.noDeleteOnFetchRejection,y=d;if(this.#n[e]===d&&(!S||!w&&y.__staleWhileFetching===void 0?this.#j(t,"fetch"):b||(this.#n[e]=y.__staleWhileFetching)),v)return s.status&&y.__staleWhileFetching!==void 0&&(s.status.returnedStale=!0),y.__staleWhileFetching;if(y.__returned===y)throw u},p=(u,w)=>{let m=this.#d?.(t,n,h);o.signal.addEventListener("abort",()=>{(!s.ignoreFetchAbort||s.allowStaleOnFetchAbort)&&(u(void 0),s.allowStaleOnFetchAbort&&(u=b=>l(b,!0)))}),m&&m instanceof Promise?m.then(b=>u(b===void 0?void 0:b),w):m!==void 0&&u(m)};s.status&&(s.status.fetchDispatched=!0);let d=new Promise(p).then(l,c),g=Object.assign(d,{__abortController:o,__staleWhileFetching:n,__returned:void 0});return e===void 0?(this.#z(t,g,{...h.options,status:void 0}),e=this.#a.get(t)):this.#n[e]=g,g}#u(t){if(!this.#O)return!1;let e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof AbortController}fetch(t,e={}){let s=mt.hasSubscribers,{status:i=be()?{}:void 0}=e;e.status=i,i&&e.context&&(i.context=e.context);let n=this.#q(t,e);return i&&s&&(i.trace=!0,mt.tracePromise(()=>n,i).catch(()=>{})),n}async#q(t,e={}){let{allowStale:s=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:h=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:f=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:p=this.allowStaleOnFetchRejection,ignoreFetchAbort:d=this.ignoreFetchAbort,allowStaleOnFetchAbort:g=this.allowStaleOnFetchAbort,context:u,forceRefresh:w=!1,status:m,signal:b}=e;if(m&&(m.op="fetch",m.key=t,w&&(m.forceRefresh=!0),m.cache=this),!this.#O)return m&&(m.fetch="get"),this.#K(t,{allowStale:s,updateAgeOnGet:i,noDeleteOnStaleGet:n,status:m});let v={allowStale:s,updateAgeOnGet:i,noDeleteOnStaleGet:n,ttl:o,noDisposeOnSet:a,size:h,sizeCalculation:l,noUpdateTTL:c,noDeleteOnFetchRejection:f,allowStaleOnFetchRejection:p,allowStaleOnFetchAbort:g,ignoreFetchAbort:d,status:m,signal:b},S=this.#a.get(t);if(S===void 0){m&&(m.fetch="miss");let y=this.#L(t,S,v,u);return y.__returned=y}else{let y=this.#n[S];if(this.#u(y)){let et=s&&y.__staleWhileFetching!==void 0;return m&&(m.fetch="inflight",et&&(m.returnedStale=!0)),et?y.__staleWhileFetching:y.__returned=y}let q=this.#A(S);if(!w&&!q)return m&&(m.fetch="hit"),this.#X(S),i&&this.#R(S),m&&this.#D(m,S),y;let W=this.#L(t,S,v,u),I=W.__staleWhileFetching!==void 0&&s;return m&&(m.fetch=q?"stale":"refresh",I&&q&&(m.returnedStale=!0)),I?W.__staleWhileFetching:W.__returned=W}}forceFetch(t,e={}){let s=mt.hasSubscribers,{status:i=be()?{}:void 0}=e;e.status=i,i&&e.context&&(i.context=e.context);let n=this.#I(t,e);return i&&s&&(i.trace=!0,mt.tracePromise(()=>n,i).catch(()=>{})),n}async#I(t,e={}){let s=await this.#q(t,e);if(s===void 0)throw new Error("fetch() returned undefined");return s}memo(t,e={}){let{status:s=R.hasSubscribers?{}:void 0}=e;e.status=s,s&&(s.op="memo",s.key=t,e.context&&(s.context=e.context),s.cache=this);let i=this.#J(t,e);return s&&(s.value=i),R.hasSubscribers&&R.publish(s),i}#J(t,e={}){let s=this.#c;if(!s)throw new Error("no memoMethod provided to constructor");let{context:i,status:n,forceRefresh:o,...a}=e;n&&o&&(n.forceRefresh=!0);let h=this.#K(t,a),l=o||h===void 0;if(n&&(n.memo=l?"miss":"hit",l||(n.value=h)),!l)return h;let c=s(t,h,{options:a,context:i});return n&&(n.value=c),this.#z(t,c,a),c}get(t,e={}){let{status:s=R.hasSubscribers?{}:void 0}=e;e.status=s,s&&(s.op="get",s.key=t,s.cache=this);let i=this.#K(t,e);return s&&(i!==void 0&&(s.value=i),R.hasSubscribers&&R.publish(s)),i}#K(t,e={}){let{allowStale:s=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,status:o}=e,a=this.#a.get(t);if(a===void 0){o&&(o.get="miss");return}let h=this.#n[a],l=this.#u(h);return o&&this.#D(o,a),this.#A(a)?l?(o&&(o.get="stale-fetching"),s&&h.__staleWhileFetching!==void 0?(o&&(o.returnedStale=!0),h.__staleWhileFetching):void 0):(n||this.#j(t,"expire"),o&&(o.get="stale"),s?(o&&(o.returnedStale=!0),h):void 0):(o&&(o.get=l?"fetching":"hit"),this.#X(a),i&&this.#R(a),l?h.__staleWhileFetching:h)}#Y(t,e){this.#x[e]=t,this.#w[t]=e}#X(t){t!==this.#f&&(t===this.#b?this.#b=this.#w[t]:this.#Y(this.#x[t],this.#w[t]),this.#Y(this.#f,t),this.#f=t)}delete(t){return this.#j(t,"delete")}#j(t,e){R.hasSubscribers&&R.publish({op:"delete",delete:e,key:t,cache:this});let s=!1;if(this.#h!==0){let i=this.#a.get(t);if(i!==void 0)if(this.#S?.[i]&&(clearTimeout(this.#S[i]),this.#S[i]=void 0),s=!0,this.#h===1)this.#Z(e);else{this.#P(i);let n=this.#n[i];if(this.#u(n)?n.__abortController.abort(new Error("deleted")):(this.#C||this.#s)&&(this.#C&&this.#e?.(n,t,e),this.#s&&this.#y?.push([n,t,e])),this.#a.delete(t),this.#l[i]=void 0,this.#n[i]=void 0,i===this.#f)this.#f=this.#x[i];else if(i===this.#b)this.#b=this.#w[i];else{let o=this.#x[i];this.#w[o]=this.#w[i];let a=this.#w[i];this.#x[a]=this.#x[i]}this.#h--,this.#v.push(i)}}if(this.#s&&this.#y?.length){let i=this.#y,n;for(;n=i?.shift();)this.#r?.(...n)}return s}clear(){return this.#Z("delete")}#Z(t){for(let e of this.#T({allowStale:!0})){let s=this.#n[e];if(this.#u(s))s.__abortController.abort(new Error("deleted"));else{let i=this.#l[e];this.#C&&this.#e?.(s,i,t),this.#s&&this.#y?.push([s,i,t])}}if(this.#a.clear(),this.#n.fill(void 0),this.#l.fill(void 0),this.#g&&this.#k){this.#g.fill(0),this.#k.fill(0);for(let e of this.#S??[])e!==void 0&&clearTimeout(e);this.#S?.fill(void 0)}if(this.#E&&this.#E.fill(0),this.#b=0,this.#f=0,this.#v.length=0,this.#m=0,this.#h=0,this.#s&&this.#y){let e=this.#y,s;for(;s=e?.shift();)this.#r?.(...s)}}};var os=typeof process=="object"&&process?process:{stdout:null,stderr:null},ki=r=>!!r&&typeof r=="object"&&(r instanceof Z||r instanceof node_stream__WEBPACK_IMPORTED_MODULE_7__||Ci(r)||Ai(r)),Ci=r=>!!r&&typeof r=="object"&&r instanceof node_events__WEBPACK_IMPORTED_MODULE_6__.EventEmitter&&typeof r.pipe=="function"&&r.pipe!==node_stream__WEBPACK_IMPORTED_MODULE_7__.Writable.prototype.pipe,Ai=r=>!!r&&typeof r=="object"&&r instanceof node_events__WEBPACK_IMPORTED_MODULE_6__.EventEmitter&&typeof r.write=="function"&&typeof r.end=="function",G=Symbol("EOF"),H=Symbol("maybeEmitEnd"),Y=Symbol("emittedEnd"),zt=Symbol("emittingEnd"),bt=Symbol("emittedError"),Lt=Symbol("closed"),hs=Symbol("read"),jt=Symbol("flush"),as=Symbol("flushChunk"),z=Symbol("encoding"),it=Symbol("decoder"),k=Symbol("flowing"),yt=Symbol("paused"),nt=Symbol("resume"),C=Symbol("buffer"),T=Symbol("pipes"),A=Symbol("bufferLength"),ye=Symbol("bufferPush"),Wt=Symbol("bufferShift"),O=Symbol("objectMode"),E=Symbol("destroyed"),Se=Symbol("error"),ve=Symbol("emitData"),ls=Symbol("emitEnd"),xe=Symbol("emitEnd2"),$=Symbol("async"),Ee=Symbol("abort"),$t=Symbol("aborted"),St=Symbol("signal"),Q=Symbol("dataListeners"),_=Symbol("discarded"),vt=r=>Promise.resolve().then(r),Ri=r=>r(),Oi=r=>r==="end"||r==="finish"||r==="prefinish",Mi=r=>r instanceof ArrayBuffer||!!r&&typeof r=="object"&&r.constructor&&r.constructor.name==="ArrayBuffer"&&r.byteLength>=0,Ti=r=>!Buffer.isBuffer(r)&&ArrayBuffer.isView(r),Bt=class{src;dest;opts;ondrain;constructor(t,e,s){this.src=t,this.dest=e,this.opts=s,this.ondrain=()=>t[nt](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(t){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},ke=class extends Bt{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,e,s){super(t,e,s),this.proxyErrors=i=>this.dest.emit("error",i),t.on("error",this.proxyErrors)}},Fi=r=>!!r.objectMode,_i=r=>!r.objectMode&&!!r.encoding&&r.encoding!=="buffer",Z=class extends node_events__WEBPACK_IMPORTED_MODULE_6__.EventEmitter{[k]=!1;[yt]=!1;[T]=[];[C]=[];[O];[z];[$];[it];[G]=!1;[Y]=!1;[zt]=!1;[Lt]=!1;[bt]=null;[A]=0;[E]=!1;[St];[$t]=!1;[Q]=0;[_]=!1;writable=!0;readable=!0;constructor(...t){let e=t[0]||{};if(super(),e.objectMode&&typeof e.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");Fi(e)?(this[O]=!0,this[z]=null):_i(e)?(this[z]=e.encoding,this[O]=!1):(this[O]=!1,this[z]=null),this[$]=!!e.async,this[it]=this[z]?new node_string_decoder__WEBPACK_IMPORTED_MODULE_8__.StringDecoder(this[z]):null,e&&e.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[C]}),e&&e.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[T]});let{signal:s}=e;s&&(this[St]=s,s.aborted?this[Ee]():s.addEventListener("abort",()=>this[Ee]()))}get bufferLength(){return this[A]}get encoding(){return this[z]}set encoding(t){throw new Error("Encoding must be set at instantiation time")}setEncoding(t){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[O]}set objectMode(t){throw new Error("objectMode must be set at instantiation time")}get async(){return this[$]}set async(t){this[$]=this[$]||!!t}[Ee](){this[$t]=!0,this.emit("abort",this[St]?.reason),this.destroy(this[St]?.reason)}get aborted(){return this[$t]}set aborted(t){}write(t,e,s){if(this[$t])return!1;if(this[G])throw new Error("write after end");if(this[E])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof e=="function"&&(s=e,e="utf8"),e||(e="utf8");let i=this[$]?vt:Ri;if(!this[O]&&!Buffer.isBuffer(t)){if(Ti(t))t=Buffer.from(t.buffer,t.byteOffset,t.byteLength);else if(Mi(t))t=Buffer.from(t);else if(typeof t!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[O]?(this[k]&&this[A]!==0&&this[jt](!0),this[k]?this.emit("data",t):this[ye](t),this[A]!==0&&this.emit("readable"),s&&i(s),this[k]):t.length?(typeof t=="string"&&!(e===this[z]&&!this[it]?.lastNeed)&&(t=Buffer.from(t,e)),Buffer.isBuffer(t)&&this[z]&&(t=this[it].write(t)),this[k]&&this[A]!==0&&this[jt](!0),this[k]?this.emit("data",t):this[ye](t),this[A]!==0&&this.emit("readable"),s&&i(s),this[k]):(this[A]!==0&&this.emit("readable"),s&&i(s),this[k])}read(t){if(this[E])return null;if(this[_]=!1,this[A]===0||t===0||t&&t>this[A])return this[H](),null;this[O]&&(t=null),this[C].length>1&&!this[O]&&(this[C]=[this[z]?this[C].join(""):Buffer.concat(this[C],this[A])]);let e=this[hs](t||null,this[C][0]);return this[H](),e}[hs](t,e){if(this[O])this[Wt]();else{let s=e;t===s.length||t===null?this[Wt]():typeof s=="string"?(this[C][0]=s.slice(t),e=s.slice(0,t),this[A]-=t):(this[C][0]=s.subarray(t),e=s.subarray(0,t),this[A]-=t)}return this.emit("data",e),!this[C].length&&!this[G]&&this.emit("drain"),e}end(t,e,s){return typeof t=="function"&&(s=t,t=void 0),typeof e=="function"&&(s=e,e="utf8"),t!==void 0&&this.write(t,e),s&&this.once("end",s),this[G]=!0,this.writable=!1,(this[k]||!this[yt])&&this[H](),this}[nt](){this[E]||(!this[Q]&&!this[T].length&&(this[_]=!0),this[yt]=!1,this[k]=!0,this.emit("resume"),this[C].length?this[jt]():this[G]?this[H]():this.emit("drain"))}resume(){return this[nt]()}pause(){this[k]=!1,this[yt]=!0,this[_]=!1}get destroyed(){return this[E]}get flowing(){return this[k]}get paused(){return this[yt]}[ye](t){this[O]?this[A]+=1:this[A]+=t.length,this[C].push(t)}[Wt](){return this[O]?this[A]-=1:this[A]-=this[C][0].length,this[C].shift()}[jt](t=!1){do;while(this[as](this[Wt]())&&this[C].length);!t&&!this[C].length&&!this[G]&&this.emit("drain")}[as](t){return this.emit("data",t),this[k]}pipe(t,e){if(this[E])return t;this[_]=!1;let s=this[Y];return e=e||{},t===os.stdout||t===os.stderr?e.end=!1:e.end=e.end!==!1,e.proxyErrors=!!e.proxyErrors,s?e.end&&t.end():(this[T].push(e.proxyErrors?new ke(this,t,e):new Bt(this,t,e)),this[$]?vt(()=>this[nt]()):this[nt]()),t}unpipe(t){let e=this[T].find(s=>s.dest===t);e&&(this[T].length===1?(this[k]&&this[Q]===0&&(this[k]=!1),this[T]=[]):this[T].splice(this[T].indexOf(e),1),e.unpipe())}addListener(t,e){return this.on(t,e)}on(t,e){let s=super.on(t,e);if(t==="data")this[_]=!1,this[Q]++,!this[T].length&&!this[k]&&this[nt]();else if(t==="readable"&&this[A]!==0)super.emit("readable");else if(Oi(t)&&this[Y])super.emit(t),this.removeAllListeners(t);else if(t==="error"&&this[bt]){let i=e;this[$]?vt(()=>i.call(this,this[bt])):i.call(this,this[bt])}return s}removeListener(t,e){return this.off(t,e)}off(t,e){let s=super.off(t,e);return t==="data"&&(this[Q]=this.listeners("data").length,this[Q]===0&&!this[_]&&!this[T].length&&(this[k]=!1)),s}removeAllListeners(t){let e=super.removeAllListeners(t);return(t==="data"||t===void 0)&&(this[Q]=0,!this[_]&&!this[T].length&&(this[k]=!1)),e}get emittedEnd(){return this[Y]}[H](){!this[zt]&&!this[Y]&&!this[E]&&this[C].length===0&&this[G]&&(this[zt]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Lt]&&this.emit("close"),this[zt]=!1)}emit(t,...e){let s=e[0];if(t!=="error"&&t!=="close"&&t!==E&&this[E])return!1;if(t==="data")return!this[O]&&!s?!1:this[$]?(vt(()=>this[ve](s)),!0):this[ve](s);if(t==="end")return this[ls]();if(t==="close"){if(this[Lt]=!0,!this[Y]&&!this[E])return!1;let n=super.emit("close");return this.removeAllListeners("close"),n}else if(t==="error"){this[bt]=s,super.emit(Se,s);let n=!this[St]||this.listeners("error").length?super.emit("error",s):!1;return this[H](),n}else if(t==="resume"){let n=super.emit("resume");return this[H](),n}else if(t==="finish"||t==="prefinish"){let n=super.emit(t);return this.removeAllListeners(t),n}let i=super.emit(t,...e);return this[H](),i}[ve](t){for(let s of this[T])s.dest.write(t)===!1&&this.pause();let e=this[_]?!1:super.emit("data",t);return this[H](),e}[ls](){return this[Y]?!1:(this[Y]=!0,this.readable=!1,this[$]?(vt(()=>this[xe]()),!0):this[xe]())}[xe](){if(this[it]){let e=this[it].end();if(e){for(let s of this[T])s.dest.write(e);this[_]||super.emit("data",e)}}for(let e of this[T])e.end();let t=super.emit("end");return this.removeAllListeners("end"),t}async collect(){let t=Object.assign([],{dataLength:0});this[O]||(t.dataLength=0);let e=this.promise();return this.on("data",s=>{t.push(s),this[O]||(t.dataLength+=s.length)}),await e,t}async concat(){if(this[O])throw new Error("cannot concat in objectMode");let t=await this.collect();return this[z]?t.join(""):Buffer.concat(t,t.dataLength)}async promise(){return new Promise((t,e)=>{this.on(E,()=>e(new Error("stream destroyed"))),this.on("error",s=>e(s)),this.on("end",()=>t())})}[Symbol.asyncIterator](){this[_]=!1;let t=!1,e=async()=>(this.pause(),t=!0,{value:void 0,done:!0});return{next:()=>{if(t)return e();let i=this.read();if(i!==null)return Promise.resolve({done:!1,value:i});if(this[G])return e();let n,o,a=f=>{this.off("data",h),this.off("end",l),this.off(E,c),e(),o(f)},h=f=>{this.off("error",a),this.off("end",l),this.off(E,c),this.pause(),n({value:f,done:!!this[G]})},l=()=>{this.off("error",a),this.off("data",h),this.off(E,c),e(),n({done:!0,value:void 0})},c=()=>a(new Error("stream destroyed"));return new Promise((f,p)=>{o=p,n=f,this.once(E,c),this.once("error",a),this.once("end",l),this.once("data",h)})},throw:e,return:e,[Symbol.asyncIterator](){return this},[Symbol.asyncDispose]:async()=>{}}}[Symbol.iterator](){this[_]=!1;let t=!1,e=()=>(this.pause(),this.off(Se,e),this.off(E,e),this.off("end",e),t=!0,{done:!0,value:void 0}),s=()=>{if(t)return e();let i=this.read();return i===null?e():{done:!1,value:i}};return this.once("end",e),this.once(Se,e),this.once(E,e),{next:s,throw:e,return:e,[Symbol.iterator](){return this},[Symbol.dispose]:()=>{}}}destroy(t){if(this[E])return t?this.emit("error",t):this.emit(E),this;this[E]=!0,this[_]=!0,this[C].length=0,this[A]=0;let e=this;return typeof e.close=="function"&&!this[Lt]&&e.close(),t?this.emit("error",t):this.emit(E),this}static get isStream(){return ki}};var Bi=fs__WEBPACK_IMPORTED_MODULE_3__.realpathSync.native,Et={lstatSync:fs__WEBPACK_IMPORTED_MODULE_3__.lstatSync,readdir:fs__WEBPACK_IMPORTED_MODULE_3__.readdir,readdirSync:fs__WEBPACK_IMPORTED_MODULE_3__.readdirSync,readlinkSync:fs__WEBPACK_IMPORTED_MODULE_3__.readlinkSync,realpathSync:Bi,promises:{lstat:node_fs_promises__WEBPACK_IMPORTED_MODULE_5__.lstat,readdir:node_fs_promises__WEBPACK_IMPORTED_MODULE_5__.readdir,readlink:node_fs_promises__WEBPACK_IMPORTED_MODULE_5__.readlink,realpath:node_fs_promises__WEBPACK_IMPORTED_MODULE_5__.realpath}},gs=r=>!r||r===Et||r===/*#__PURE__*/ (node_fs__WEBPACK_IMPORTED_MODULE_4___namespace_cache || (node_fs__WEBPACK_IMPORTED_MODULE_4___namespace_cache = __webpack_require__.t(node_fs__WEBPACK_IMPORTED_MODULE_4__, 2)))?Et:{...Et,...r,promises:{...Et.promises,...r.promises}},qi=/^\\\\\?\\([a-z]:)\\?$/i,Ki=/^\\\\\?\\UNC\\([^\\]+\\[^\\]+)\\?$/i,Xi=/^\\\\[^\\?]+\\[^\\]+$/,fs=r=>r.replace(/\//g,"\\").replace(qi,"$1\\").replace(Ki,"\\\\$1\\").replace(Xi,"$&\\"),Vi=/^[\\/]{2}\?[\\/]unc[\\/][^\\/]+[\\/][^\\/]+(?:[\\/]|$)/i,Yi=/^[\\/]{2}\?[\\/](?=[a-z]:)/i,Zi=/^[\\/]{2}\?[\\/]unc(?=[\\/][^\\/]+[\\/][^\\/])/i,Ji=/[\\/]/,P=0,ws=1,bs=2,B=4,ys=6,Ss=8,tt=10,vs=12,N=15,xt=~N,Ae=16,us=32,kt=64,L=128,It=256,Gt=512,ds=kt|L|Gt,Qi=1023,Re=r=>r.isFile()?Ss:r.isDirectory()?B:r.isSymbolicLink()?tt:r.isCharacterDevice()?bs:r.isBlockDevice()?ys:r.isSocket()?vs:r.isFIFO()?ws:P,ps=new wt({max:2**12}),Ct=r=>{let t=ps.get(r);if(t)return t;let e=r.normalize("NFKD");return ps.set(r,e),e},ms=new wt({max:2**12}),Ut=r=>{let t=ms.get(r);if(t)return t;let e=Ct(r.toLowerCase());return ms.set(r,e),e},Ht=class extends wt{constructor(){super({max:256})}},Me=class extends wt{constructor(t=16*1024){super({maxSize:t,sizeCalculation:e=>e.length+1})}},xs=Symbol("PathScurry setAsCwd"),M=class{name;root;roots;parent;nocase;isCWD=!1;#t;#i;get dev(){return this.#i}#e;get mode(){return this.#e}#o;get nlink(){return this.#o}#r;get uid(){return this.#r}#d;get gid(){return this.#d}#c;get rdev(){return this.#c}#p;get blksize(){return this.#p}#h;get ino(){return this.#h}#m;get size(){return this.#m}#a;get blocks(){return this.#a}#l;get atimeMs(){return this.#l}#n;get mtimeMs(){return this.#n}#w;get ctimeMs(){return this.#w}#x;get birthtimeMs(){return this.#x}#b;get atime(){return this.#b}#f;get mtime(){return this.#f}#v;get ctime(){return this.#v}#y;get birthtime(){return this.#y}#E;#k;#g;#S;#C;#O;#s;#F;#_;#R;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(t,e=P,s,i,n,o,a){this.name=t,this.#E=n?Ut(t):Ct(t),this.#s=e&Qi,this.nocase=n,this.roots=i,this.root=s||this,this.#F=o,this.#g=a.fullpath,this.#C=a.relative,this.#O=a.relativePosix,this.parent=a.parent,this.parent?this.#t=this.parent.#t:this.#t=gs(a.fs)}get fs(){return this.#t}depth(){return this.#k!==void 0?this.#k:this.parent?this.#k=this.parent.depth()+1:this.#k=0}childrenCache(){return this.#F}resolve(t){if(!t)return this;let e=this.getRootString(t),i=t.substring(e.length).split(this.splitSep);return e?this.getRoot(e).#D(i):this.#D(i)}#D(t){let e=this;for(let s of t)e=e.child(s);return e}children(){let t=this.#F.get(this);if(t)return t;let e=Object.assign([],{provisional:0});return this.#F.set(this,e),this.#s&=~Ae,e}child(t,e){if(t===""||t===".")return this;if(t==="..")return this.parent||this;let s=this.children(),i=this.nocase?Ut(t):Ct(t);for(let h of s)if(h.#E===i)return h;let n=this.parent?this.sep:"",o=this.#g?this.#g+n+t:void 0,a=this.newChild(t,P,{...e,parent:this,fullpath:o});return this.canReaddir()||(a.#s|=L),s.push(a),a}relative(){if(this.isCWD)return"";if(this.#C!==void 0)return this.#C;let t=this.name,e=this.parent;if(!e)return this.#C=this.name;let s=e.relative();return s+(!s||!e.parent?"":this.sep)+t}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#O!==void 0)return this.#O;let t=this.name,e=this.parent;if(!e)return this.#O=this.fullpathPosix();let s=e.relativePosix();return s+(!s||!e.parent?"":"/")+t}fullpath(){if(this.#g!==void 0)return this.#g;let t=this.name,e=this.parent;if(!e)return this.#g=this.name;let i=e.fullpath()+(e.parent?this.sep:"")+t;return this.#g=i}fullpathPosix(){if(this.#S!==void 0)return this.#S;if(this.sep==="/")return this.#S=this.fullpath();if(!this.parent){let i=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(i)?this.#S=`//?/${i}`:this.#S=i}let t=this.parent,e=t.fullpathPosix(),s=e+(!e||!t.parent?"":"/")+this.name;return this.#S=s}isUnknown(){return(this.#s&N)===P}isType(t){return this[`is${t}`]()}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.#s&N)===Ss}isDirectory(){return(this.#s&N)===B}isCharacterDevice(){return(this.#s&N)===bs}isBlockDevice(){return(this.#s&N)===ys}isFIFO(){return(this.#s&N)===ws}isSocket(){return(this.#s&N)===vs}isSymbolicLink(){return(this.#s&tt)===tt}lstatCached(){return this.#s&us?this:void 0}readlinkCached(){return this.#_}realpathCached(){return this.#R}readdirCached(){let t=this.children();return t.slice(0,t.provisional)}canReadlink(){if(this.#_)return!0;if(!this.parent)return!1;let t=this.#s&N;return!(t!==P&&t!==tt||this.#s&It||this.#s&L)}calledReaddir(){return!!(this.#s&Ae)}isENOENT(){return!!(this.#s&L)}isNamed(t){return this.nocase?this.#E===Ut(t):this.#E===Ct(t)}async readlink(){let t=this.#_;if(t)return t;if(this.canReadlink()&&this.parent)try{let e=await this.#t.promises.readlink(this.fullpath()),s=(await this.parent.realpath())?.resolve(e);if(s)return this.#_=s}catch(e){this.#T(e.code);return}}readlinkSync(){let t=this.#_;if(t)return t;if(this.canReadlink()&&this.parent)try{let e=this.#t.readlinkSync(this.fullpath()),s=this.parent.realpathSync()?.resolve(e);if(s)return this.#_=s}catch(e){this.#T(e.code);return}}#W(t){this.#s|=Ae;for(let e=t.provisional;e<t.length;e++){let s=t[e];s&&s.#A()}}#A(){this.#s&L||(this.#s=(this.#s|L)&xt,this.#G())}#G(){let t=this.children();t.provisional=0;for(let e of t)e.#A()}#P(){this.#s|=Gt,this.#N()}#N(){if(this.#s&kt)return;let t=this.#s;(t&N)===B&&(t&=xt),this.#s=t|kt,this.#G()}#$(t=""){t==="ENOTDIR"||t==="EPERM"?this.#N():t==="ENOENT"?this.#A():this.children().provisional=0}#M(t=""){t==="ENOTDIR"?this.parent.#N():t==="ENOENT"&&this.#A()}#T(t=""){let e=this.#s;e|=It,t==="ENOENT"&&(e|=L),(t==="EINVAL"||t==="UNKNOWN")&&(e&=xt),this.#s=e,t==="ENOTDIR"&&this.parent&&this.parent.#N()}#B(t,e){return this.#U(t,e)||this.#z(t,e)}#z(t,e){let s=Re(t),i=this.newChild(t.name,s,{parent:this}),n=i.#s&N;return n!==B&&n!==tt&&n!==P&&(i.#s|=kt),e.unshift(i),e.provisional++,i}#U(t,e){for(let s=e.provisional;s<e.length;s++){let i=e[s];if((this.nocase?Ut(t.name):Ct(t.name))===i.#E)return this.#V(t,i,s,e)}}#V(t,e,s,i){let n=e.name;return e.#s=e.#s&xt|Re(t),n!==t.name&&(e.name=t.name),s!==i.provisional&&(s===i.length-1?i.pop():i.splice(s,1),i.unshift(e)),i.provisional++,e}async lstat(){if((this.#s&L)===0)try{return this.#H(await this.#t.promises.lstat(this.fullpath())),this}catch(t){this.#M(t.code)}}lstatSync(){if((this.#s&L)===0)try{return this.#H(this.#t.lstatSync(this.fullpath())),this}catch(t){this.#M(t.code)}}#H(t){let{atime:e,atimeMs:s,birthtime:i,birthtimeMs:n,blksize:o,blocks:a,ctime:h,ctimeMs:l,dev:c,gid:f,ino:p,mode:d,mtime:g,mtimeMs:u,nlink:w,rdev:m,size:b,uid:v}=t;this.#b=e,this.#l=s,this.#y=i,this.#x=n,this.#p=o,this.#a=a,this.#v=h,this.#w=l,this.#i=c,this.#d=f,this.#h=p,this.#e=d,this.#f=g,this.#n=u,this.#o=w,this.#c=m,this.#m=b,this.#r=v;let S=Re(t);this.#s=this.#s&xt|S|us,S!==P&&S!==B&&S!==tt&&(this.#s|=kt)}#L=[];#u=!1;#q(t){this.#u=!1;let e=this.#L.slice();this.#L.length=0,e.forEach(s=>s(null,t))}readdirCB(t,e=!1){if(!this.canReaddir()){e?t(null,[]):queueMicrotask(()=>t(null,[]));return}let s=this.children();if(this.calledReaddir()){let n=s.slice(0,s.provisional);e?t(null,n):queueMicrotask(()=>t(null,n));return}if(this.#L.push(t),this.#u)return;this.#u=!0;let i=this.fullpath();this.#t.readdir(i,{withFileTypes:!0},(n,o)=>{if(n)this.#$(n.code),s.provisional=0;else{for(let a of o)this.#B(a,s);this.#W(s)}this.#q(s.slice(0,s.provisional))})}#I;async readdir(){if(!this.canReaddir())return[];let t=this.children();if(this.calledReaddir())return t.slice(0,t.provisional);let e=this.fullpath();if(this.#I)await this.#I;else{let s=()=>{};this.#I=new Promise(i=>s=i);try{for(let i of await this.#t.promises.readdir(e,{withFileTypes:!0}))this.#B(i,t);this.#W(t)}catch(i){this.#$(i.code),t.provisional=0}this.#I=void 0,s()}return t.slice(0,t.provisional)}readdirSync(){if(!this.canReaddir())return[];let t=this.children();if(this.calledReaddir())return t.slice(0,t.provisional);let e=this.fullpath();try{for(let s of this.#t.readdirSync(e,{withFileTypes:!0}))this.#B(s,t);this.#W(t)}catch(s){this.#$(s.code),t.provisional=0}return t.slice(0,t.provisional)}canReaddir(){if(this.#s&ds)return!1;let t=N&this.#s;return t===P||t===B||t===tt}shouldWalk(t,e){return(this.#s&B)===B&&!(this.#s&ds)&&!t.has(this)&&(!e||e(this))}async realpath(){if(this.#R)return this.#R;if(!((Gt|It|L)&this.#s))try{let t=await this.#t.promises.realpath(this.fullpath());return this.#R=this.resolve(t)}catch{this.#P()}}realpathSync(){if(this.#R)return this.#R;if(!((Gt|It|L)&this.#s))try{let t=this.#t.realpathSync(this.fullpath());return this.#R=this.resolve(t)}catch{this.#P()}}[xs](t){if(t===this)return;t.isCWD=!1,this.isCWD=!0;let e=new Set([]),s=[],i=this;for(;i&&i.parent;)e.add(i),i.#C=s.join(this.sep),i.#O=s.join("/"),i=i.parent,s.push("..");for(i=t;i&&i.parent&&!e.has(i);)i.#C=void 0,i.#O=void 0,i=i.parent}},qt=class r extends M{sep="\\";splitSep=Ji;constructor(t,e=P,s,i,n,o,a){super(t,e,s,i,n,o,a)}newChild(t,e=P,s={}){return new r(t,e,this.root,this.roots,this.nocase,this.childrenCache(),s)}getRootString(t){return Vi.exec(t)?.[0]??node_path__WEBPACK_IMPORTED_MODULE_2__.win32.parse(t).root}getRoot(t){if(t=fs(t.toUpperCase()),t===this.root.name||/^[\\/]$/.test(t))return this.root;for(let[e,s]of Object.entries(this.roots))if(this.sameRoot(t,e))return this.roots[t]=s;return this.roots[t]=new rt(t,{nocase:this.nocase,fs:this.fs}).root}sameRoot(t,e=this.root.name){return fs(t.toUpperCase())===e}},Kt=class r extends M{splitSep="/";sep="/";constructor(t,e=P,s,i,n,o,a){super(t,e,s,i,n,o,a)}getRootString(t){return t.startsWith("/")?"/":""}getRoot(t){return this.root}newChild(t,e=P,s={}){return new r(t,e,this.root,this.roots,this.nocase,this.childrenCache(),s)}},Xt=class{root;rootPath;roots;cwd;#t;#i;#e;nocase;#o;constructor(t=process.cwd(),e,s,{nocase:i,childrenCacheSize:n=16*1024,fs:o=Et}={}){this.#o=gs(o),(t instanceof URL||t.startsWith("file://"))&&(t=(0,node_url__WEBPACK_IMPORTED_MODULE_0__.fileURLToPath)(t));let a=e.resolve(t);this.roots=Object.create(null),this.rootPath=this.parseRootPath(a),this.#t=new Ht,this.#i=new Ht,this.#e=new Me(n);let h=a.substring(this.rootPath.length).split(s);if(h.length===1&&!h[0]&&h.pop(),i===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=i,this.root=this.newRoot(this.#o),this.roots[this.rootPath]=this.root;let l=this.root,c=h.length-1,f=e.sep,p=this.rootPath,d=!1;for(let g of h){let u=c--;l=l.child(g,{relative:new Array(u).fill("..").join(f),relativePosix:new Array(u).fill("..").join("/"),fullpath:p+=(d?"":f)+g}),d=!0}this.cwd=l}depth(t=this.cwd){return typeof t=="string"&&(t=this.cwd.resolve(t)),t.depth()}childrenCache(){return this.#e}resolve(...t){let e="";for(let n=t.length-1;n>=0;n--){let o=t[n];if(!(!o||o===".")&&(e=e?`${o}/${e}`:o,this.isAbsolute(o)))break}let s=this.#t.get(e);if(s!==void 0)return s;let i=this.cwd.resolve(e).fullpath();return this.#t.set(e,i),i}resolvePosix(...t){let e="";for(let n=t.length-1;n>=0;n--){let o=t[n];if(!(!o||o===".")&&(e=e?`${o}/${e}`:o,this.isAbsolute(o)))break}let s=this.#i.get(e);if(s!==void 0)return s;let i=this.cwd.resolve(e).fullpathPosix();return this.#i.set(e,i),i}relative(t=this.cwd){return typeof t=="string"&&(t=this.cwd.resolve(t)),t.relative()}relativePosix(t=this.cwd){return typeof t=="string"&&(t=this.cwd.resolve(t)),t.relativePosix()}basename(t=this.cwd){return typeof t=="string"&&(t=this.cwd.resolve(t)),t.name}dirname(t=this.cwd){return typeof t=="string"&&(t=this.cwd.resolve(t)),(t.parent||t).fullpath()}async readdir(t=this.cwd,e={withFileTypes:!0}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof M||(e=t,t=this.cwd);let{withFileTypes:s}=e;if(t.canReaddir()){let i=await t.readdir();return s?i:i.map(n=>n.name)}else return[]}readdirSync(t=this.cwd,e={withFileTypes:!0}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof M||(e=t,t=this.cwd);let{withFileTypes:s=!0}=e;return t.canReaddir()?s?t.readdirSync():t.readdirSync().map(i=>i.name):[]}async lstat(t=this.cwd){return typeof t=="string"&&(t=this.cwd.resolve(t)),t.lstat()}lstatSync(t=this.cwd){return typeof t=="string"&&(t=this.cwd.resolve(t)),t.lstatSync()}async readlink(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof M||(e=t.withFileTypes,t=this.cwd);let s=await t.readlink();return e?s:s?.fullpath()}readlinkSync(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof M||(e=t.withFileTypes,t=this.cwd);let s=t.readlinkSync();return e?s:s?.fullpath()}async realpath(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof M||(e=t.withFileTypes,t=this.cwd);let s=await t.realpath();return e?s:s?.fullpath()}realpathSync(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof M||(e=t.withFileTypes,t=this.cwd);let s=t.realpathSync();return e?s:s?.fullpath()}async walk(t=this.cwd,e={}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof M||(e=t,t=this.cwd);let{withFileTypes:s=!0,follow:i=!1,filter:n,walkFilter:o}=e,a=[];(!n||n(t))&&a.push(s?t:t.fullpath());let h=new Set,l=(f,p)=>{h.add(f),f.readdirCB((d,g)=>{if(d)return p(d);let u=g.length;if(!u)return p();let w=()=>{--u===0&&p()};for(let m of g)(!n||n(m))&&a.push(s?m:m.fullpath()),i&&m.isSymbolicLink()?m.realpath().then(b=>b?.isUnknown()?b.lstat():b).then(b=>b?.shouldWalk(h,o)?l(b,w):w()):m.shouldWalk(h,o)?l(m,w):w()},!0)},c=t;return new Promise((f,p)=>{l(c,d=>{if(d)return p(d);f(a)})})}walkSync(t=this.cwd,e={}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof M||(e=t,t=this.cwd);let{withFileTypes:s=!0,follow:i=!1,filter:n,walkFilter:o}=e,a=[];(!n||n(t))&&a.push(s?t:t.fullpath());let h=new Set([t]);for(let l of h){let c=l.readdirSync();for(let f of c){(!n||n(f))&&a.push(s?f:f.fullpath());let p=f;if(f.isSymbolicLink()){if(!(i&&(p=f.realpathSync())))continue;p.isUnknown()&&p.lstatSync()}p.shouldWalk(h,o)&&h.add(p)}}return a}[Symbol.asyncIterator](){return this.iterate()}iterate(t=this.cwd,e={}){return typeof t=="string"?t=this.cwd.resolve(t):t instanceof M||(e=t,t=this.cwd),this.stream(t,e)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(t=this.cwd,e={}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof M||(e=t,t=this.cwd);let{withFileTypes:s=!0,follow:i=!1,filter:n,walkFilter:o}=e;(!n||n(t))&&(yield s?t:t.fullpath());let a=new Set([t]);for(let h of a){let l=h.readdirSync();for(let c of l){(!n||n(c))&&(yield s?c:c.fullpath());let f=c;if(c.isSymbolicLink()){if(!(i&&(f=c.realpathSync())))continue;f.isUnknown()&&f.lstatSync()}f.shouldWalk(a,o)&&a.add(f)}}}stream(t=this.cwd,e={}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof M||(e=t,t=this.cwd);let{withFileTypes:s=!0,follow:i=!1,filter:n,walkFilter:o}=e,a=new Z({objectMode:!0});(!n||n(t))&&a.write(s?t:t.fullpath());let h=new Set,l=[t],c=0,f=()=>{let p=!1;for(;!p;){let d=l.shift();if(!d){c===0&&a.end();return}c++,h.add(d);let g=(w,m,b=!1)=>{if(w)return a.emit("error",w);if(i&&!b){let v=[];for(let S of m)S.isSymbolicLink()&&v.push(S.realpath().then(y=>y?.isUnknown()?y.lstat():y));if(v.length){Promise.all(v).then(()=>g(null,m,!0));return}}for(let v of m)v&&(!n||n(v))&&(a.write(s?v:v.fullpath())||(p=!0));c--;for(let v of m){let S=v.realpathCached()||v;S.shouldWalk(h,o)&&l.push(S)}p&&!a.flowing?a.once("drain",f):u||f()},u=!0;d.readdirCB(g,!0),u=!1}};return f(),a}streamSync(t=this.cwd,e={}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof M||(e=t,t=this.cwd);let{withFileTypes:s=!0,follow:i=!1,filter:n,walkFilter:o}=e,a=new Z({objectMode:!0}),h=new Set;(!n||n(t))&&a.write(s?t:t.fullpath());let l=[t],c=0,f=()=>{let p=!1;for(;!p;){let d=l.shift();if(!d){c===0&&a.end();return}c++,h.add(d);let g=d.readdirSync();for(let u of g)(!n||n(u))&&(a.write(s?u:u.fullpath())||(p=!0));c--;for(let u of g){let w=u;if(u.isSymbolicLink()){if(!(i&&(w=u.realpathSync())))continue;w.isUnknown()&&w.lstatSync()}w.shouldWalk(h,o)&&l.push(w)}}p&&!a.flowing&&a.once("drain",f)};return f(),a}chdir(t=this.cwd){let e=this.cwd;this.cwd=typeof t=="string"?this.cwd.resolve(t):t,this.cwd[xs](e)}},rt=class extends Xt{sep="\\";constructor(t=process.cwd(),e={}){let{nocase:s=!0}=e;typeof t=="string"&&!t.startsWith("file://")&&(t=t.replace(Yi,"").replace(Zi,"\\")),super(t,node_path__WEBPACK_IMPORTED_MODULE_2__.win32,"\\",{...e,nocase:s}),this.nocase=s;for(let i=this.cwd;i;i=i.parent)i.nocase=this.nocase}parseRootPath(t){return node_path__WEBPACK_IMPORTED_MODULE_2__.win32.parse(t).root.toUpperCase()}newRoot(t){return new qt(this.rootPath,B,void 0,this.roots,this.nocase,this.childrenCache(),{fs:t})}isAbsolute(t){return t.startsWith("/")||t.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(t)}},ot=class extends Xt{sep="/";constructor(t=process.cwd(),e={}){let{nocase:s=!1}=e;super(t,node_path__WEBPACK_IMPORTED_MODULE_2__.posix,"/",{...e,nocase:s}),this.nocase=s}parseRootPath(t){return"/"}newRoot(t){return new Kt(this.rootPath,B,void 0,this.roots,this.nocase,this.childrenCache(),{fs:t})}isAbsolute(t){return t.startsWith("/")}},At=class extends ot{constructor(t=process.cwd(),e={}){let{nocase:s=!0}=e;super(t,{...e,nocase:s})}},Gn=process.platform==="win32"?qt:Kt,Es=process.platform==="win32"?rt:process.platform==="darwin"?At:ot;var tn=r=>r.length>=1,en=r=>r.length>=1,sn=Symbol.for("nodejs.util.inspect.custom"),ht=class r{#t;#i;#e;length;#o;#r;#d;#c;#p;#h;#m=!0;constructor(t,e,s,i){if(!tn(t))throw new TypeError("empty pattern list");if(!en(e))throw new TypeError("empty glob list");if(e.length!==t.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=t.length,s<0||s>=this.length)throw new TypeError("index out of range");if(this.#t=t,this.#i=e,this.#e=s,this.#o=i,this.#e===0){if(this.isUNC()){let n=this.#a()?6:4,o=this.#t.slice(0,n),a=this.#i.slice(0,n),h=this.#t.slice(n),l=this.#i.slice(n);h[0]===""&&(h.shift(),l.shift());let c=[...o,""].join("/"),f=[...a,""].join("/");this.#t=[c,...h],this.#i=[f,...l],this.length=this.#t.length}else if(this.isDrive()||this.isAbsolute()){let[n,...o]=this.#t,[a,...h]=this.#i;o[0]===""&&(o.shift(),h.shift());let l=`${n}/`,c=`${a}/`;this.#t=[l,...o],this.#i=[c,...h],this.length=this.#t.length}}}[sn](){return`Pattern <${this.#i.slice(this.#e).join("/")}>`}pattern(){return this.#t[this.#e]}isString(){return typeof this.#t[this.#e]=="string"}isGlobstar(){return this.#t[this.#e]===x}isMatcher(){return typeof this.#t[this.#e]=="object"}globString(){return this.#d=this.#d||(this.#e===0?this.isAbsolute()?this.#i[0]+this.#i.slice(1).join("/"):this.#i.join("/"):this.#i.slice(this.#e).join("/"))}hasMore(){return this.length>this.#e+1}rest(){return this.#r!==void 0?this.#r:this.hasMore()?(this.#r=new r(this.#t,this.#i,this.#e+1,this.#o),this.#r.#h=this.#h,this.#r.#p=this.#p,this.#r.#c=this.#c,this.#r):this.#r=null}#a(){let t=this.#t;return t[2]==="?"&&typeof t[3]=="string"&&/^unc$/i.test(t[3])}isUNC(){let t=this.#t,e=this.#a()?4:2;return this.#p!==void 0?this.#p:this.#p=this.#o==="win32"&&this.#e===0&&t[0]===""&&t[1]===""&&typeof t[e]=="string"&&!!t[e]&&typeof t[e+1]=="string"&&!!t[e+1]}isDrive(){let t=this.#t;return this.#c!==void 0?this.#c:this.#c=this.#o==="win32"&&this.#e===0&&this.length>1&&typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0])}isAbsolute(){let t=this.#t;return this.#h!==void 0?this.#h:this.#h=t[0]===""&&t.length>1||this.isDrive()||this.isUNC()}root(){let t=this.#t[0];return typeof t=="string"&&this.isAbsolute()&&this.#e===0?t:""}checkFollowGlobstar(){return!(this.#e===0||!this.isGlobstar()||!this.#m)}markFollowGlobstar(){return this.#e===0||!this.isGlobstar()||!this.#m?!1:(this.#m=!1,!0)}};var nn=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",at=class{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;slashRoot;constructor(t,{nobrace:e,nocase:s,noext:i,noglobstar:n,normalize:o,platform:a=nn,root:h,windowsPathsNoEscape:l,allowWindowsEscape:c},f){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=a,l=!!l||c===!1,this.mmopts={dot:!0,nobrace:e,nocase:s,noext:i,noglobstar:n,normalize:o,optimizationLevel:2,platform:a,nocomment:!0,nonegate:!0,windowsPathsNoEscape:l};let p=f?.resolve(h??"/").fullpath()??"/";this.slashRoot=K(p.replace(/\\/g,"/").replace(/\/$/,""),{windowsPathsNoEscape:l});for(let d of t)this.add(d)}add(t){let e=new D(t,this.mmopts);for(let s=0;s<e.set.length;s++){let i=e.set[s],n=e.globParts[s];if(!i||!n)throw new Error("invalid pattern object");for(;i[0]==="."&&n[0]===".";)i.shift(),n.shift();let o=new ht(i,n,0,this.platform),a=o.root()==="/"?`${this.slashRoot}/${o.rest()?.globString()??""}`:o.globString(),h=new D(a,this.mmopts),l=n[n.length-1]==="**",c=o.isAbsolute();c?this.absolute.push(h):this.relative.push(h),l&&(c?this.absoluteChildren.push(h):this.relativeChildren.push(h))}}ignored(t){let e=t.fullpath(),s=`${e}/`,i=t.relative()||".",n=`${i}/`;for(let o of this.relative)if(o.match(i)||o.match(n))return!0;for(let o of this.absolute)if(o.match(e)||o.match(s))return!0;return!1}childrenIgnored(t){let e=`${t.fullpath()}/`,s=`${t.relative()||"."}/`;for(let i of this.relativeChildren)if(i.match(s))return!0;for(let i of this.absoluteChildren)if(i.match(e))return!0;return!1}};var Te=class r{parent;store;constructor(t){this.parent=t}copy(){return new r(this)}#t(t){let e=this.store?.get(t);return e||!this.parent?e:this.parent.#t(t)}hasWalked(t,e){return!!this.#t(t.fullpath())?.has(e.globString())}storeWalked(t,e){let s=t.fullpath(),i=this.#t(s);i?i.add(e.globString()):(this.store??=new Map).set(s,new Set([e.globString()]))}},Rt=class r{static ABSOLUTE=2;static IF_DIR=1;store=new Map;add(t,e,s){let i=(e?r.ABSOLUTE:0)|(s?r.IF_DIR:0),n=this.store.get(t);this.store.set(t,n===void 0?i:i&n)}},Fe=class{store=new Map;add(t,e){if(!t.canReaddir())return;let s=this.store.get(t);s?s.find(i=>i.globString()===e.globString())||s.push(e):this.store.set(t,[e])}get(t){let e=this.store.get(t);if(!e)throw new Error("attempting to walk unknown path");return e}entries(){return this.keys().map(t=>[t,this.store.get(t)])}keys(){return[...this.store.keys()].filter(t=>t.canReaddir())}},Ot=class r{hasWalkedCache;matches=new Rt;subwalks=new Fe;patterns;follow;dot;opts;constructor(t,e){this.opts=t,this.follow=!!t.follow,this.dot=!!t.dot,this.hasWalkedCache=e?e.copy():new Te}processPatterns(t,e){this.patterns=e;let s=e.map(i=>[t,i]);for(let[i,n]of s){this.hasWalkedCache.storeWalked(i,n);let o=n.root(),a=n.isAbsolute()&&this.opts.absolute!==!1;if(o){i=i.resolve(o==="/"&&this.opts.root!==void 0?this.opts.root:o);let f=n.rest();if(f)n=f;else{this.matches.add(i,!0,!1);continue}}if(i.isENOENT())continue;let h,l,c=!1;for(;typeof(h=n.pattern())=="string"&&(l=n.rest());)i=i.resolve(h),n=l,c=!0;if(h=n.pattern(),l=n.rest(),c){if(this.hasWalkedCache.hasWalked(i,n))continue;this.hasWalkedCache.storeWalked(i,n)}if(typeof h=="string"){let f=h===".."||h===""||h===".";this.matches.add(i.resolve(h),a,f);continue}else if(h===x){(!i.isSymbolicLink()||this.follow||n.checkFollowGlobstar())&&this.subwalks.add(i,n);let f=l?.pattern(),p=l?.rest();if(!l||(f===""||f===".")&&!p)this.matches.add(i,a,f===""||f===".");else if(f===".."){let d=i.parent||i;p?this.hasWalkedCache.hasWalked(d,p)||this.subwalks.add(d,p):this.matches.add(d,a,!0)}}else typeof h=="object"&&this.subwalks.add(i,n)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new r(this.opts,this.hasWalkedCache)}filterEntries(t,e){let s=this.subwalks.get(t),i=this.child();for(let n of e)for(let o of s){let a=o.isAbsolute(),h=o.pattern(),l=o.rest();h===x?i.testGlobstar(n,o,l,a):typeof h=="object"?i.testMatcher(n,h,l,a):i.testString(n,h,l,a)}return i}testGlobstar(t,e,s,i){if((this.dot||!t.name.startsWith("."))&&(e.hasMore()||this.matches.add(t,i,!1),t.canReaddir()&&(this.follow||!t.isSymbolicLink()?this.subwalks.add(t,e):t.isSymbolicLink()&&(s&&e.checkFollowGlobstar()?this.subwalks.add(t,s):e.markFollowGlobstar()&&this.subwalks.add(t,e)))),s){let n=s.pattern();if(typeof n=="string"&&n!==".."&&n!==""&&n!==".")this.testString(t,n,s.rest(),i);else if(n===".."){let o=t.parent||t;this.subwalks.add(o,s)}else typeof n=="object"&&this.testMatcher(t,n,s.rest(),i)}}testMatcher(t,e,s,i){e.testUnchecked(t.name)&&(s?this.subwalks.add(t,s):this.matches.add(t,i,!1))}testString(t,e,s,i){t.isNamed(e)&&(s?this.subwalks.add(t,s):this.matches.add(t,i,!1))}};var{ABSOLUTE:Vt,IF_DIR:Yt}=Rt,rn=(r,t,e)=>typeof r=="string"?new at([r],t,e):Array.isArray(r)?new at(r,t,e):r,Zt=class{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#t=[];#i;#e;signal;maxDepth;includeChildMatches;constructor(t,e,s){if(this.patterns=t,this.path=e,this.opts=s,this.#e=!s.posix&&s.platform==="win32"?"\\":"/",this.includeChildMatches=s.includeChildMatches!==!1,(s.ignore||!this.includeChildMatches)&&(this.#i=rn(s.ignore??[],s,e),!this.includeChildMatches&&typeof this.#i.add!="function")){let i="cannot ignore child matches, ignore lacks add() method.";throw new Error(i)}this.maxDepth=s.maxDepth||1/0,s.signal&&(this.signal=s.signal,this.signal.addEventListener("abort",()=>{this.#t.length=0}))}#o(t){return this.seen.has(t)||!!this.#i?.ignored?.(t)}#r(t){return!!this.#i?.childrenIgnored?.(t)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let t;for(;!this.paused&&(t=this.#t.shift());)t()}onResume(t){this.paused?this.#t.push(t):t()}async matchCheck(t,e){if(e&&this.opts.nodir)return;let s,i;if(this.opts.realpath){if(s=t.realpathCached()||await t.realpath(),!s)return;i=s}else i=t;let o=i.isUnknown()||this.opts.stat?await i.lstat():i;if(this.opts.follow&&this.opts.nodir&&o?.isSymbolicLink()){let a=await o.realpath();a&&(a.isUnknown()||this.opts.stat)&&await a.lstat()}return this.matchCheckTest(o,e)}matchCheckTest(t,e){return t&&(this.maxDepth===1/0||t.depth()<=this.maxDepth)&&(!e||t.canReaddir())&&(!this.opts.nodir||!t.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!t.isSymbolicLink()||!t.realpathCached()?.isDirectory())&&!this.#o(t)?t:void 0}matchCheckSync(t,e){if(e&&this.opts.nodir)return;let s,i;if(this.opts.realpath){if(s=t.realpathCached()||t.realpathSync(),!s)return;i=s}else i=t;let o=i.isUnknown()||this.opts.stat?i.lstatSync():i;if(this.opts.follow&&this.opts.nodir&&o?.isSymbolicLink()){let a=o.realpathSync();a&&(a?.isUnknown()||this.opts.stat)&&a.lstatSync()}return this.matchCheckTest(o,e)}matchFinish(t,e){this.#o(t)||this.#d(t,e)}#d(t,e){if(!this.includeChildMatches&&this.#i?.add){let n=`${t.relativePosix()}/**`;this.#i.add(n)}let s=this.opts.absolute===void 0?e:this.opts.absolute;this.seen.add(t);let i=this.opts.mark&&t.isDirectory()?this.#e:"";if(this.opts.withFileTypes)this.matchEmit(t);else if(s){let n=this.opts.posix?t.fullpathPosix():t.fullpath();this.matchEmit(n+i)}else{let n=this.opts.posix?t.relativePosix():t.relative(),o=this.opts.dotRelative&&!n.startsWith(`..${this.#e}`)?`.${this.#e}`:"";this.matchEmit(n?o+n+i:`.${i}`)}}async match(t,e,s){let i=await this.matchCheck(t,s);i&&this.matchFinish(i,e)}matchSync(t,e,s){let i=this.matchCheckSync(t,s);i&&this.#d(i,e)}walkCB(t,e,s){if(this.signal?.aborted)return s();this.walkCB2(t,e,new Ot(this.opts),s)}walkCB2(t,e,s,i){if(this.#r(t)||this.signal?.aborted)return i();if(this.paused){this.onResume(()=>this.walkCB2(t,e,s,i));return}s.processPatterns(t,e);let n=1,o=()=>{--n===0&&i()};for(let[a,h]of s.matches.store)this.#o(a)||(n++,this.match(a,!!(h&Vt),!!(h&Yt)).then(()=>o()));for(let a of s.subwalkTargets()){if(this.maxDepth!==1/0&&a.depth()>=this.maxDepth)continue;n++;let h=a.readdirCached();a.calledReaddir()?this.walkCB3(a,h,s,o):a.readdirCB((l,c)=>this.walkCB3(a,c,s,o),!0)}o()}walkCB3(t,e,s,i){let n=s.filterEntries(t,e),o=1,a=()=>{--o===0&&i()};for(let[h,l]of n.matches.store)this.#o(h)||(o++,this.match(h,!!(l&Vt),!!(l&Yt)).then(()=>a()));for(let[h,l]of n.subwalks.entries())o++,this.walkCB2(h,l,n.child(),a);a()}walkCBSync(t,e,s){if(this.signal?.aborted)return s();this.walkCB2Sync(t,e,new Ot(this.opts),s)}walkCB2Sync(t,e,s,i){if(this.#r(t)||this.signal?.aborted)return i();if(this.paused){this.onResume(()=>this.walkCB2Sync(t,e,s,i));return}s.processPatterns(t,e);let n=1,o=()=>{--n===0&&i()};for(let[a,h]of s.matches.store)this.#o(a)||this.matchSync(a,!!(h&Vt),!!(h&Yt));for(let a of s.subwalkTargets()){if(this.maxDepth!==1/0&&a.depth()>=this.maxDepth)continue;n++;let h=a.readdirSync();this.walkCB3Sync(a,h,s,o)}o()}walkCB3Sync(t,e,s,i){let n=s.filterEntries(t,e),o=1,a=()=>{--o===0&&i()};for(let[h,l]of n.matches.store)this.#o(h)||this.matchSync(h,!!(l&Vt),!!(l&Yt));for(let[h,l]of n.subwalks.entries())o++,this.walkCB2Sync(h,l,n.child(),a);a()}},Mt=class extends Zt{matches=[];constructor(t,e,s){super(t,e,s)}matchEmit(t){this.matches.push(t)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise((t,e)=>{this.walkCB(this.path,this.patterns,()=>{this.signal?.aborted?e(this.signal.reason):t(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}},Tt=class extends Zt{results;constructor(t,e,s){super(t,e,s),this.results=new Z({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(t){this.results.write(t),this.results.flowing||this.pause()}stream(){let t=this.path;return t.isUnknown()?t.lstat().then(()=>{this.walkCB(t,this.patterns,()=>this.results.end())}):this.walkCB(t,this.patterns,()=>this.results.end()),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}};var hn=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",j=class{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(t,e){if(!e)throw new TypeError("glob options required");if(this.withFileTypes=!!e.withFileTypes,this.signal=e.signal,this.follow=!!e.follow,this.dot=!!e.dot,this.dotRelative=!!e.dotRelative,this.nodir=!!e.nodir,this.mark=!!e.mark,e.cwd?(e.cwd instanceof URL||e.cwd.startsWith("file://"))&&(e.cwd=(0,node_url__WEBPACK_IMPORTED_MODULE_0__.fileURLToPath)(e.cwd)):this.cwd="",this.cwd=e.cwd||"",this.root=e.root,this.magicalBraces=!!e.magicalBraces,this.nobrace=!!e.nobrace,this.noext=!!e.noext,this.realpath=!!e.realpath,this.absolute=e.absolute,this.includeChildMatches=e.includeChildMatches!==!1,this.noglobstar=!!e.noglobstar,this.matchBase=!!e.matchBase,this.maxDepth=typeof e.maxDepth=="number"?e.maxDepth:1/0,this.stat=!!e.stat,this.ignore=e.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");let s=typeof t=="string"?[t]:t;if(this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||e.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(s=s.map(l=>l.replace(/\\/g,"/"))),this.matchBase){if(e.noglobstar)throw new TypeError("base matching requires globstar");s=s.map(l=>l.includes("/")?l:`./**/${l}`)}if(this.pattern=s,this.platform=e.platform||hn,this.opts={...e,platform:this.platform},e.scurry){if(this.scurry=e.scurry,e.nocase!==void 0&&e.nocase!==e.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let l=e.platform==="win32"?rt:e.platform==="darwin"?At:e.platform?ot:Es;this.scurry=new l(this.cwd,{nocase:e.nocase,fs:e.fs})}this.nocase=this.scurry.nocase;let i=this.platform==="darwin"||this.platform==="win32",n={braceExpandMax:1e4,...e,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:i,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape},o=this.pattern.map(l=>new D(l,n)),[a,h]=o.reduce((l,c)=>(l[0].push(...c.set),l[1].push(...c.globParts),l),[[],[]]);this.patterns=a.map((l,c)=>{let f=h[c];if(!f)throw new Error("invalid pattern object");return new ht(l,f,0,this.platform)})}async walk(){return await new Mt(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 Mt(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 Tt(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 Tt(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()}};var _e=(r,t={})=>{for(let e of Array.isArray(r)?r:[r])if(new D(e,t).hasMagic())return!0;return!1};function Jt(r,t={}){return new j(r,t).streamSync()}function As(r,t={}){return new j(r,t).stream()}function Rs(r,t={}){return new j(r,t).walkSync()}async function ks(r,t={}){return new j(r,t).walk()}function Qt(r,t={}){return new j(r,t).iterateSync()}function Os(r,t={}){return new j(r,t).iterate()}var an=Jt,ln=Object.assign(As,{sync:Jt}),cn=Qt,fn=Object.assign(Os,{sync:Qt}),un=Object.assign(Rs,{stream:Jt,iterate:Qt}),Cs=Object.assign(ks,{glob:ks,globSync:Rs,sync:un,globStream:As,stream:ln,globStreamSync:Jt,streamSync:an,globIterate:Os,iterate:fn,globIterateSync:Qt,iterateSync:cn,Glob:j,hasMagic:_e,escape:K,unescape:st});Cs.glob=Cs;
11724
11724
  //# sourceMappingURL=index.min.js.map
11725
11725
 
11726
11726
 
package/build/index.js CHANGED
@@ -46,4 +46,4 @@ const n=r(5680);const toRegexRange=(e,t,r)=>{if(n(e)===false){throw new TypeErro
46
46
  {bold yarn:} {cyan yarn create ${e}}
47
47
  {bold pnpm:} {cyan pnpm create ${e}}
48
48
  {bold bun:} {cyan bun create ${e}}
49
- `)}const{AnalyticsEventPhases:c,AnalyticsEventTypes:l,flushAsync:p,track:h}=await r.e(601).then(r.bind(r,601));try{const s=await resolveStringOrBooleanArgsAsync(e,t,{"--template":Boolean,"--example":Boolean,"-t":"--template","-e":"--example"});f(`Default args:\n%O`,n);f(`Parsed:\n%O`,s);const{createAsync:i}=await Promise.all([r.e(223),r.e(205)]).then(r.bind(r,8205));await i(s.projectRoot,{yes:!!n["--yes"],template:s.args["--template"],example:s.args["--example"],install:!n["--no-install"],agentsMd:!n["--no-agents-md"]});h({event:l.CREATE_EXPO_APP,properties:{phase:c.SUCCESS}});await p()}catch(e){if(!(e instanceof o.R)){u.tG.exception(e)}h({event:l.CREATE_EXPO_APP,properties:{phase:c.FAIL,message:e.cause}});await p().finally((()=>{process.exit(e.code||1)}))}finally{const e=await(await r.e(517).then(r.bind(r,7517))).default;await e()}}run()},6467:(e,t,r)=>{"use strict";r.d(t,{V:()=>n});const n=r(8330).name},6725:(e,t,r)=>{"use strict";r.d(t,{R:()=>ExitError});class ExitError extends Error{cause;code;constructor(e,t){super(e instanceof Error?e.message:e);this.cause=e;this.code=t}}},1545:(e,t,r)=>{"use strict";r.d(t,{NS:()=>exit,tG:()=>o});var n=r(2314);var s=r.n(n);var i=r(6725);function error(...e){console.error(...e)}function exception(e){const{env:t}=r(4342);error(s().red(e.toString())+(t.EXPO_DEBUG?"\n"+s().gray(e.stack):""))}function log(...e){console.log(...e)}function exit(e,t=1){if(e instanceof Error){exception(e)}else if(e){if(t===0){log(e)}else{error(e)}}if(t!==0){throw new i.R(e,t)}process.exit(t)}const o={error:error,exception:exception,log:log,exit:exit}},9560:(e,t,r)=>{"use strict";r.d(t,{DC:()=>installDependenciesAsync,MZ:()=>configurePackageManager,Wq:()=>formatRunCommand,_c:()=>resolvePackageManager,fZ:()=>formatSelfCommand});var n=r(6268);var s=r.n(n);var i=r(5317);var o=r.n(i);var u=r(6467);const a=r(6675)("expo:init:resolvePackageManager");function resolvePackageManager(){const e=process.env.npm_config_user_agent;a("npm_config_user_agent:",e);if(e?.startsWith("yarn")){return"yarn"}else if(e?.startsWith("pnpm")){return"pnpm"}else if(e?.startsWith("bun")){return"bun"}else if(e?.startsWith("npm")){return"npm"}if(isPackageManagerAvailable("yarn")){return"yarn"}else if(isPackageManagerAvailable("pnpm")){return"pnpm"}else if(isPackageManagerAvailable("bun")){return"bun"}return"npm"}function isPackageManagerAvailable(e){try{(0,i.execSync)(`${e} --version`,{stdio:"ignore"});return true}catch{}return false}function formatRunCommand(e,t){switch(e){case"pnpm":return`pnpm run ${t}`;case"yarn":return`yarn ${t}`;case"bun":return`bun run ${t}`;case"npm":default:return`npm run ${t}`}}function formatSelfCommand(){const e=resolvePackageManager();switch(e){case"pnpm":return`pnpx ${u.V}`;case"bun":return`bunx ${u.V}`;case"yarn":case"npm":default:return`npx ${u.V}`}}function createPackageManager(e,t){switch(e){case"yarn":return new n.YarnPackageManager(t);case"pnpm":return new n.PnpmPackageManager(t);case"bun":return new n.BunPackageManager(t);case"npm":default:return new n.NpmPackageManager(t)}}async function installDependenciesAsync(e,t,r={silent:false}){await createPackageManager(t,{cwd:e,silent:r.silent}).installAsync()}async function configurePackageManager(e,t,r={silent:false}){const n=createPackageManager(t,{cwd:e,...r});switch(n.name){case"yarn":{const e=await n.versionAsync();const t=parseInt(e.split(".")[0]??"",10);if(t>=2){await n.runAsync(["config","set","nodeLinker","node-modules"])}break}}}},4342:(e,t,r)=>{"use strict";r.r(t);r.d(t,{env:()=>i});var n=r(277);var s=r.n(n);class Env{get EXPO_DEBUG(){return(0,n.boolish)("EXPO_DEBUG",false)}get EXPO_BETA(){return(0,n.boolish)("EXPO_BETA",false)}get CI(){return(0,n.boolish)("CI",false)}get EXPO_NO_CACHE(){return(0,n.boolish)("EXPO_NO_CACHE",false)}get EXPO_NO_TELEMETRY(){return(0,n.boolish)("EXPO_NO_TELEMETRY",false)}}const i=new Env},2613:e=>{"use strict";e.exports=require("assert")},181:e=>{"use strict";e.exports=require("buffer")},5317:e=>{"use strict";e.exports=require("child_process")},6982:e=>{"use strict";e.exports=require("crypto")},2250:e=>{"use strict";e.exports=require("dns")},4434:e=>{"use strict";e.exports=require("events")},9896:e=>{"use strict";e.exports=require("fs")},8611:e=>{"use strict";e.exports=require("http")},5692:e=>{"use strict";e.exports=require("https")},3339:e=>{"use strict";e.exports=require("module")},5217:e=>{"use strict";e.exports=require("node:crypto")},8474:e=>{"use strict";e.exports=require("node:events")},3024:e=>{"use strict";e.exports=require("node:fs")},1455:e=>{"use strict";e.exports=require("node:fs/promises")},6760:e=>{"use strict";e.exports=require("node:path")},1708:e=>{"use strict";e.exports=require("node:process")},7075:e=>{"use strict";e.exports=require("node:stream")},6193:e=>{"use strict";e.exports=require("node:string_decoder")},3136:e=>{"use strict";e.exports=require("node:url")},857:e=>{"use strict";e.exports=require("os")},6928:e=>{"use strict";e.exports=require("path")},3785:e=>{"use strict";e.exports=require("readline")},2203:e=>{"use strict";e.exports=require("stream")},2018:e=>{"use strict";e.exports=require("tty")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},5112:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(6831);var s=r(7815);var i=r(8740);function isColorSupported(){return typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?false:n.isColorSupported}const compose=(e,t)=>r=>e(t(r));function buildDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:compose(compose(e.white,e.bgRed),e.bold),gutter:e.gray,marker:compose(e.red,e.bold),message:compose(e.red,e.bold),reset:e.reset}}const o=buildDefs(n.createColors(true));const u=buildDefs(n.createColors(false));function getDefs(e){return e?o:u}const a=new Set(["as","async","from","get","of","set"]);const c=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let f;const p=/^[a-z][\w-]*$/i;const getTokenType=function(e,t,r){if(e.type==="name"){const n=e.value;if(i.isKeyword(n)||i.isStrictReservedWord(n,true)||a.has(n)){return"keyword"}if(p.test(n)&&(r[t-1]==="<"||r.slice(t-2,t)==="</")){return"jsxIdentifier"}const s=String.fromCodePoint(n.codePointAt(0));if(s!==s.toLowerCase()){return"capitalized"}}if(e.type==="punctuator"&&l.test(e.value)){return"bracket"}if(e.type==="invalid"&&(e.value==="@"||e.value==="#")){return"punctuator"}return e.type};f=function*(e){let t;while(t=s.default.exec(e)){const r=s.matchToToken(t);yield{type:getTokenType(r,t.index,e),value:r.value}}};function highlight(e){if(e==="")return"";const t=getDefs(true);let r="";for(const{type:n,value:s}of f(e)){if(n in t){r+=s.split(c).map((e=>t[n](e))).join("\n")}else{r+=s}}return r}let h=false;const d=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r,n){const s=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},s,e.end);const{linesAbove:o=2,linesBelow:u=3}=r||{};const a=s.line-n;const c=s.column;const l=i.line-n;const f=i.column;let p=Math.max(a-(o+1),0);let h=Math.min(t.length,l+u);if(a===-1){p=0}if(l===-1){h=t.length}const d=l-a;const g={};if(d){for(let e=0;e<=d;e++){const r=e+a;if(!c){g[r]=true}else if(e===0){const e=t[r-1].length;g[r]=[c,e-c+1]}else if(e===d){g[r]=[0,f]}else{const n=t[r-e].length;g[r]=[0,n]}}}else{if(c===f){if(c){g[a]=[c,0]}else{g[a]=true}}else{g[a]=[c,f-c]}}return{start:p,end:h,markerLines:g}}function codeFrameColumns(e,t,r={}){const n=r.forceColor||isColorSupported()&&r.highlightCode;const s=(r.startLine||1)-1;const i=getDefs(n);const o=e.split(d);const{start:u,end:a,markerLines:c}=getMarkerLines(t,o,r,s);const l=t.start&&typeof t.start.column==="number";const f=String(a+s).length;const p=n?highlight(e):e;let h=p.split(d,a).slice(u,a).map(((e,t)=>{const n=u+1+t;const o=` ${n+s}`.slice(-f);const a=` ${o} |`;const l=c[n];const p=!c[n+1];if(l){let t="";if(Array.isArray(l)){const n=e.slice(0,Math.max(l[0]-1,0)).replace(/[^\t]/g," ");const s=l[1]||1;t=["\n ",i.gutter(a.replace(/\d/g," "))," ",n,i.marker("^").repeat(s)].join("");if(p&&r.message){t+=" "+i.message(r.message)}}return[i.marker(">"),i.gutter(a),e.length>0?` ${e}`:"",t].join("")}else{return` ${i.gutter(a)}${e.length>0?` ${e}`:""}`}})).join("\n");if(r.message&&!l){h=`${" ".repeat(f+1)}${r.message}\n${h}`}if(n){return i.reset(h)}else{return h}}function index(e,t,r,n={}){if(!h){h=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}t.codeFrameColumns=codeFrameColumns;t["default"]=index;t.highlight=highlight},3357:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;t.isIdentifierStart=isIdentifierStart;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const o=[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,7,25,39,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,5,57,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,24,43,261,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,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,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,208,30,2,2,2,1,2,6,3,4,10,1,225,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,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489];const u=[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,78,5,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,199,7,137,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,55,9,266,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,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;n<s;n+=2){r+=t[n];if(r>e)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,u)}function isIdentifierName(e){let t=true;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if((n&64512)===55296&&r+1<e.length){const t=e.charCodeAt(++r);if((t&64512)===56320){n=65536+((n&1023)<<10)+(t&1023)}}if(t){t=false;if(!isIdentifierStart(n)){return false}}else if(!isIdentifierChar(n)){return false}}return!t}},8740:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});var n=r(3357);var s=r(1391)},1391:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isKeyword=isKeyword;t.isReservedWord=isReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isStrictReservedWord=isStrictReservedWord;const r={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"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},5934:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LRUCache=void 0;const r=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date;const n=new Set;const s=typeof process==="object"&&!!process?process:{};const emitWarning=(e,t,r,n)=>{typeof s.emitWarning==="function"?s.emitWarning(e,t,r,n):console.error(`[${r}] ${t}: ${e}`)};let i=globalThis.AbortController;let o=globalThis.AbortSignal;if(typeof i==="undefined"){o=class AbortSignal{onabort;_onabort=[];reason;aborted=false;addEventListener(e,t){this._onabort.push(t)}};i=class AbortController{constructor(){warnACPolyfill()}signal=new o;abort(e){if(this.signal.aborted)return;this.signal.reason=e;this.signal.aborted=true;for(const t of this.signal._onabort){t(e)}this.signal.onabort?.(e)}};let e=s.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const warnACPolyfill=()=>{if(!e)return;e=false;emitWarning("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",warnACPolyfill)}}const shouldWarn=e=>!n.has(e);const u=Symbol("type");const isPosInt=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e);const getUintArray=e=>!isPosInt(e)?null:e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?ZeroArray:null;class ZeroArray extends Array{constructor(e){super(e);this.fill(0)}}class Stack{heap;length;static#s=false;static create(e){const t=getUintArray(e);if(!t)return[];Stack.#s=true;const r=new Stack(e,t);Stack.#s=false;return r}constructor(e,t){if(!Stack.#s){throw new TypeError("instantiate Stack using Stack.create(n)")}this.heap=new t(e);this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}}class LRUCache{#i;#o;#u;#a;#c;#l;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#f;#p;#h;#d;#g;#m;#D;#A;#E;#y;#C;#w;#b;#v;#F;#_;#S;static unsafeExposeInternals(e){return{starts:e.#b,ttls:e.#v,sizes:e.#w,keyMap:e.#h,keyList:e.#d,valList:e.#g,next:e.#m,prev:e.#D,get head(){return e.#A},get tail(){return e.#E},free:e.#y,isBackgroundFetch:t=>e.#x(t),backgroundFetch:(t,r,n,s)=>e.#O(t,r,n,s),moveToTail:t=>e.#R(t),indexes:t=>e.#k(t),rindexes:t=>e.#$(t),isStale:t=>e.#B(t)}}get max(){return this.#i}get maxSize(){return this.#o}get calculatedSize(){return this.#p}get size(){return this.#f}get fetchMethod(){return this.#c}get memoMethod(){return this.#l}get dispose(){return this.#u}get disposeAfter(){return this.#a}constructor(e){const{max:t=0,ttl:r,ttlResolution:s=1,ttlAutopurge:i,updateAgeOnGet:o,updateAgeOnHas:u,allowStale:a,dispose:c,disposeAfter:l,noDisposeOnSet:f,noUpdateTTL:p,maxSize:h=0,maxEntrySize:d=0,sizeCalculation:g,fetchMethod:m,memoMethod:D,noDeleteOnFetchRejection:A,noDeleteOnStaleGet:E,allowStaleOnFetchRejection:y,allowStaleOnFetchAbort:C,ignoreFetchAbort:w}=e;if(t!==0&&!isPosInt(t)){throw new TypeError("max option must be a nonnegative integer")}const b=t?getUintArray(t):Array;if(!b){throw new Error("invalid max value: "+t)}this.#i=t;this.#o=h;this.maxEntrySize=d||this.#o;this.sizeCalculation=g;if(this.sizeCalculation){if(!this.#o&&!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(D!==undefined&&typeof D!=="function"){throw new TypeError("memoMethod must be a function if defined")}this.#l=D;if(m!==undefined&&typeof m!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#c=m;this.#_=!!m;this.#h=new Map;this.#d=new Array(t).fill(undefined);this.#g=new Array(t).fill(undefined);this.#m=new b(t);this.#D=new b(t);this.#A=0;this.#E=0;this.#y=Stack.create(t);this.#f=0;this.#p=0;if(typeof c==="function"){this.#u=c}if(typeof l==="function"){this.#a=l;this.#C=[]}else{this.#a=undefined;this.#C=undefined}this.#F=!!this.#u;this.#S=!!this.#a;this.noDisposeOnSet=!!f;this.noUpdateTTL=!!p;this.noDeleteOnFetchRejection=!!A;this.allowStaleOnFetchRejection=!!y;this.allowStaleOnFetchAbort=!!C;this.ignoreFetchAbort=!!w;if(this.maxEntrySize!==0){if(this.#o!==0){if(!isPosInt(this.#o)){throw new TypeError("maxSize must be a positive integer if specified")}}if(!isPosInt(this.maxEntrySize)){throw new TypeError("maxEntrySize must be a positive integer if specified")}this.#L()}this.allowStale=!!a;this.noDeleteOnStaleGet=!!E;this.updateAgeOnGet=!!o;this.updateAgeOnHas=!!u;this.ttlResolution=isPosInt(s)||s===0?s:1;this.ttlAutopurge=!!i;this.ttl=r||0;if(this.ttl){if(!isPosInt(this.ttl)){throw new TypeError("ttl must be a positive integer if specified")}this.#I()}if(this.#i===0&&this.ttl===0&&this.#o===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#i&&!this.#o){const e="LRU_CACHE_UNBOUNDED";if(shouldWarn(e)){n.add(e);const t="TTL caching without ttlAutopurge, max, or maxSize can "+"result in unbounded memory consumption.";emitWarning(t,"UnboundedCacheWarning",e,LRUCache)}}}getRemainingTTL(e){return this.#h.has(e)?Infinity:0}#I(){const e=new ZeroArray(this.#i);const t=new ZeroArray(this.#i);this.#v=e;this.#b=t;this.#P=(n,s,i=r.now())=>{t[n]=s!==0?i:0;e[n]=s;if(s!==0&&this.ttlAutopurge){const e=setTimeout((()=>{if(this.#B(n)){this.#N(this.#d[n],"expire")}}),s+1);if(e.unref){e.unref()}}};this.#T=n=>{t[n]=e[n]!==0?r.now():0};this.#M=(r,s)=>{if(e[s]){const i=e[s];const o=t[s];if(!i||!o)return;r.ttl=i;r.start=o;r.now=n||getNow();const u=r.now-o;r.remainingTTL=i-u}};let n=0;const getNow=()=>{const e=r.now();if(this.ttlResolution>0){n=e;const t=setTimeout((()=>n=0),this.ttlResolution);if(t.unref){t.unref()}}return e};this.getRemainingTTL=r=>{const s=this.#h.get(r);if(s===undefined){return 0}const i=e[s];const o=t[s];if(!i||!o){return Infinity}const u=(n||getNow())-o;return i-u};this.#B=r=>{const s=t[r];const i=e[r];return!!i&&!!s&&(n||getNow())-s>i}}#T=()=>{};#M=()=>{};#P=()=>{};#B=()=>false;#L(){const e=new ZeroArray(this.#i);this.#p=0;this.#w=e;this.#j=t=>{this.#p-=e[t];e[t]=0};this.#H=(e,t,r,n)=>{if(this.#x(t)){return 0}if(!isPosInt(r)){if(n){if(typeof n!=="function"){throw new TypeError("sizeCalculation must be a function")}r=n(t,e);if(!isPosInt(r)){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 r};this.#G=(t,r,n)=>{e[t]=r;if(this.#o){const r=this.#o-e[t];while(this.#p>r){this.#U(true)}}this.#p+=e[t];if(n){n.entrySize=r;n.totalCalculatedSize=this.#p}}}#j=e=>{};#G=(e,t,r)=>{};#H=(e,t,r,n)=>{if(r||n){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#k({allowStale:e=this.allowStale}={}){if(this.#f){for(let t=this.#E;true;){if(!this.#W(t)){break}if(e||!this.#B(t)){yield t}if(t===this.#A){break}else{t=this.#D[t]}}}}*#$({allowStale:e=this.allowStale}={}){if(this.#f){for(let t=this.#A;true;){if(!this.#W(t)){break}if(e||!this.#B(t)){yield t}if(t===this.#E){break}else{t=this.#m[t]}}}}#W(e){return e!==undefined&&this.#h.get(this.#d[e])===e}*entries(){for(const e of this.#k()){if(this.#g[e]!==undefined&&this.#d[e]!==undefined&&!this.#x(this.#g[e])){yield[this.#d[e],this.#g[e]]}}}*rentries(){for(const e of this.#$()){if(this.#g[e]!==undefined&&this.#d[e]!==undefined&&!this.#x(this.#g[e])){yield[this.#d[e],this.#g[e]]}}}*keys(){for(const e of this.#k()){const t=this.#d[e];if(t!==undefined&&!this.#x(this.#g[e])){yield t}}}*rkeys(){for(const e of this.#$()){const t=this.#d[e];if(t!==undefined&&!this.#x(this.#g[e])){yield t}}}*values(){for(const e of this.#k()){const t=this.#g[e];if(t!==undefined&&!this.#x(this.#g[e])){yield this.#g[e]}}}*rvalues(){for(const e of this.#$()){const t=this.#g[e];if(t!==undefined&&!this.#x(this.#g[e])){yield this.#g[e]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,t={}){for(const r of this.#k()){const n=this.#g[r];const s=this.#x(n)?n.__staleWhileFetching:n;if(s===undefined)continue;if(e(s,this.#d[r],this)){return this.get(this.#d[r],t)}}}forEach(e,t=this){for(const r of this.#k()){const n=this.#g[r];const s=this.#x(n)?n.__staleWhileFetching:n;if(s===undefined)continue;e.call(t,s,this.#d[r],this)}}rforEach(e,t=this){for(const r of this.#$()){const n=this.#g[r];const s=this.#x(n)?n.__staleWhileFetching:n;if(s===undefined)continue;e.call(t,s,this.#d[r],this)}}purgeStale(){let e=false;for(const t of this.#$({allowStale:true})){if(this.#B(t)){this.#N(this.#d[t],"expire");e=true}}return e}info(e){const t=this.#h.get(e);if(t===undefined)return undefined;const n=this.#g[t];const s=this.#x(n)?n.__staleWhileFetching:n;if(s===undefined)return undefined;const i={value:s};if(this.#v&&this.#b){const e=this.#v[t];const n=this.#b[t];if(e&&n){const t=e-(r.now()-n);i.ttl=t;i.start=Date.now()}}if(this.#w){i.size=this.#w[t]}return i}dump(){const e=[];for(const t of this.#k({allowStale:true})){const n=this.#d[t];const s=this.#g[t];const i=this.#x(s)?s.__staleWhileFetching:s;if(i===undefined||n===undefined)continue;const o={value:i};if(this.#v&&this.#b){o.ttl=this.#v[t];const e=r.now()-this.#b[t];o.start=Math.floor(Date.now()-e)}if(this.#w){o.size=this.#w[t]}e.unshift([n,o])}return e}load(e){this.clear();for(const[t,n]of e){if(n.start){const e=Date.now()-n.start;n.start=r.now()-e}this.set(t,n.value,n)}}set(e,t,r={}){if(t===undefined){this.delete(e);return this}const{ttl:n=this.ttl,start:s,noDisposeOnSet:i=this.noDisposeOnSet,sizeCalculation:o=this.sizeCalculation,status:u}=r;let{noUpdateTTL:a=this.noUpdateTTL}=r;const c=this.#H(e,t,r.size||0,o);if(this.maxEntrySize&&c>this.maxEntrySize){if(u){u.set="miss";u.maxEntrySizeExceeded=true}this.#N(e,"set");return this}let l=this.#f===0?undefined:this.#h.get(e);if(l===undefined){l=this.#f===0?this.#E:this.#y.length!==0?this.#y.pop():this.#f===this.#i?this.#U(false):this.#f;this.#d[l]=e;this.#g[l]=t;this.#h.set(e,l);this.#m[this.#E]=l;this.#D[l]=this.#E;this.#E=l;this.#f++;this.#G(l,c,u);if(u)u.set="add";a=false}else{this.#R(l);const r=this.#g[l];if(t!==r){if(this.#_&&this.#x(r)){r.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:t}=r;if(t!==undefined&&!i){if(this.#F){this.#u?.(t,e,"set")}if(this.#S){this.#C?.push([t,e,"set"])}}}else if(!i){if(this.#F){this.#u?.(r,e,"set")}if(this.#S){this.#C?.push([r,e,"set"])}}this.#j(l);this.#G(l,c,u);this.#g[l]=t;if(u){u.set="replace";const e=r&&this.#x(r)?r.__staleWhileFetching:r;if(e!==undefined)u.oldValue=e}}else if(u){u.set="update"}}if(n!==0&&!this.#v){this.#I()}if(this.#v){if(!a){this.#P(l,n,s)}if(u)this.#M(u,l)}if(!i&&this.#S&&this.#C){const e=this.#C;let t;while(t=e?.shift()){this.#a?.(...t)}}return this}pop(){try{while(this.#f){const e=this.#g[this.#A];this.#U(true);if(this.#x(e)){if(e.__staleWhileFetching){return e.__staleWhileFetching}}else if(e!==undefined){return e}}}finally{if(this.#S&&this.#C){const e=this.#C;let t;while(t=e?.shift()){this.#a?.(...t)}}}}#U(e){const t=this.#A;const r=this.#d[t];const n=this.#g[t];if(this.#_&&this.#x(n)){n.__abortController.abort(new Error("evicted"))}else if(this.#F||this.#S){if(this.#F){this.#u?.(n,r,"evict")}if(this.#S){this.#C?.push([n,r,"evict"])}}this.#j(t);if(e){this.#d[t]=undefined;this.#g[t]=undefined;this.#y.push(t)}if(this.#f===1){this.#A=this.#E=0;this.#y.length=0}else{this.#A=this.#m[t]}this.#h.delete(r);this.#f--;return t}has(e,t={}){const{updateAgeOnHas:r=this.updateAgeOnHas,status:n}=t;const s=this.#h.get(e);if(s!==undefined){const e=this.#g[s];if(this.#x(e)&&e.__staleWhileFetching===undefined){return false}if(!this.#B(s)){if(r){this.#T(s)}if(n){n.has="hit";this.#M(n,s)}return true}else if(n){n.has="stale";this.#M(n,s)}}else if(n){n.has="miss"}return false}peek(e,t={}){const{allowStale:r=this.allowStale}=t;const n=this.#h.get(e);if(n===undefined||!r&&this.#B(n)){return}const s=this.#g[n];return this.#x(s)?s.__staleWhileFetching:s}#O(e,t,r,n){const s=t===undefined?undefined:this.#g[t];if(this.#x(s)){return s}const o=new i;const{signal:u}=r;u?.addEventListener("abort",(()=>o.abort(u.reason)),{signal:o.signal});const a={signal:o.signal,options:r,context:n};const cb=(n,s=false)=>{const{aborted:i}=o.signal;const u=r.ignoreFetchAbort&&n!==undefined;if(r.status){if(i&&!s){r.status.fetchAborted=true;r.status.fetchError=o.signal.reason;if(u)r.status.fetchAbortIgnored=true}else{r.status.fetchResolved=true}}if(i&&!u&&!s){return fetchFail(o.signal.reason)}const l=c;if(this.#g[t]===c){if(n===undefined){if(l.__staleWhileFetching){this.#g[t]=l.__staleWhileFetching}else{this.#N(e,"fetch")}}else{if(r.status)r.status.fetchUpdated=true;this.set(e,n,a.options)}}return n};const eb=e=>{if(r.status){r.status.fetchRejected=true;r.status.fetchError=e}return fetchFail(e)};const fetchFail=n=>{const{aborted:s}=o.signal;const i=s&&r.allowStaleOnFetchAbort;const u=i||r.allowStaleOnFetchRejection;const a=u||r.noDeleteOnFetchRejection;const l=c;if(this.#g[t]===c){const r=!a||l.__staleWhileFetching===undefined;if(r){this.#N(e,"fetch")}else if(!i){this.#g[t]=l.__staleWhileFetching}}if(u){if(r.status&&l.__staleWhileFetching!==undefined){r.status.returnedStale=true}return l.__staleWhileFetching}else if(l.__returned===l){throw n}};const pcall=(t,n)=>{const i=this.#c?.(e,s,a);if(i&&i instanceof Promise){i.then((e=>t(e===undefined?undefined:e)),n)}o.signal.addEventListener("abort",(()=>{if(!r.ignoreFetchAbort||r.allowStaleOnFetchAbort){t(undefined);if(r.allowStaleOnFetchAbort){t=e=>cb(e,true)}}}))};if(r.status)r.status.fetchDispatched=true;const c=new Promise(pcall).then(cb,eb);const l=Object.assign(c,{__abortController:o,__staleWhileFetching:s,__returned:undefined});if(t===undefined){this.set(e,l,{...a.options,status:undefined});t=this.#h.get(e)}else{this.#g[t]=l}return l}#x(e){if(!this.#_)return false;const t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof i}async fetch(e,t={}){const{allowStale:r=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:i=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:u=0,sizeCalculation:a=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:l=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:p=this.ignoreFetchAbort,allowStaleOnFetchAbort:h=this.allowStaleOnFetchAbort,context:d,forceRefresh:g=false,status:m,signal:D}=t;if(!this.#_){if(m)m.fetch="get";return this.get(e,{allowStale:r,updateAgeOnGet:n,noDeleteOnStaleGet:s,status:m})}const A={allowStale:r,updateAgeOnGet:n,noDeleteOnStaleGet:s,ttl:i,noDisposeOnSet:o,size:u,sizeCalculation:a,noUpdateTTL:c,noDeleteOnFetchRejection:l,allowStaleOnFetchRejection:f,allowStaleOnFetchAbort:h,ignoreFetchAbort:p,status:m,signal:D};let E=this.#h.get(e);if(E===undefined){if(m)m.fetch="miss";const t=this.#O(e,E,A,d);return t.__returned=t}else{const t=this.#g[E];if(this.#x(t)){const e=r&&t.__staleWhileFetching!==undefined;if(m){m.fetch="inflight";if(e)m.returnedStale=true}return e?t.__staleWhileFetching:t.__returned=t}const s=this.#B(E);if(!g&&!s){if(m)m.fetch="hit";this.#R(E);if(n){this.#T(E)}if(m)this.#M(m,E);return t}const i=this.#O(e,E,A,d);const o=i.__staleWhileFetching!==undefined;const u=o&&r;if(m){m.fetch=s?"stale":"refresh";if(u&&s)m.returnedStale=true}return u?i.__staleWhileFetching:i.__returned=i}}async forceFetch(e,t={}){const r=await this.fetch(e,t);if(r===undefined)throw new Error("fetch() returned undefined");return r}memo(e,t={}){const r=this.#l;if(!r){throw new Error("no memoMethod provided to constructor")}const{context:n,forceRefresh:s,...i}=t;const o=this.get(e,i);if(!s&&o!==undefined)return o;const u=r(e,o,{options:i,context:n});this.set(e,u,i);return u}get(e,t={}){const{allowStale:r=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:i}=t;const o=this.#h.get(e);if(o!==undefined){const t=this.#g[o];const u=this.#x(t);if(i)this.#M(i,o);if(this.#B(o)){if(i)i.get="stale";if(!u){if(!s){this.#N(e,"expire")}if(i&&r)i.returnedStale=true;return r?t:undefined}else{if(i&&r&&t.__staleWhileFetching!==undefined){i.returnedStale=true}return r?t.__staleWhileFetching:undefined}}else{if(i)i.get="hit";if(u){return t.__staleWhileFetching}this.#R(o);if(n){this.#T(o)}return t}}else if(i){i.get="miss"}}#z(e,t){this.#D[t]=e;this.#m[e]=t}#R(e){if(e!==this.#E){if(e===this.#A){this.#A=this.#m[e]}else{this.#z(this.#D[e],this.#m[e])}this.#z(this.#E,e);this.#E=e}}delete(e){return this.#N(e,"delete")}#N(e,t){let r=false;if(this.#f!==0){const n=this.#h.get(e);if(n!==undefined){r=true;if(this.#f===1){this.#q(t)}else{this.#j(n);const r=this.#g[n];if(this.#x(r)){r.__abortController.abort(new Error("deleted"))}else if(this.#F||this.#S){if(this.#F){this.#u?.(r,e,t)}if(this.#S){this.#C?.push([r,e,t])}}this.#h.delete(e);this.#d[n]=undefined;this.#g[n]=undefined;if(n===this.#E){this.#E=this.#D[n]}else if(n===this.#A){this.#A=this.#m[n]}else{const e=this.#D[n];this.#m[e]=this.#m[n];const t=this.#m[n];this.#D[t]=this.#D[n]}this.#f--;this.#y.push(n)}}}if(this.#S&&this.#C?.length){const e=this.#C;let t;while(t=e?.shift()){this.#a?.(...t)}}return r}clear(){return this.#q("delete")}#q(e){for(const t of this.#$({allowStale:true})){const r=this.#g[t];if(this.#x(r)){r.__abortController.abort(new Error("deleted"))}else{const n=this.#d[t];if(this.#F){this.#u?.(r,n,e)}if(this.#S){this.#C?.push([r,n,e])}}}this.#h.clear();this.#g.fill(undefined);this.#d.fill(undefined);if(this.#v&&this.#b){this.#v.fill(0);this.#b.fill(0)}if(this.#w){this.#w.fill(0)}this.#A=0;this.#E=0;this.#y.length=0;this.#p=0;this.#f=0;if(this.#S&&this.#C){const e=this.#C;let t;while(t=e?.shift()){this.#a?.(...t)}}}}t.LRUCache=LRUCache},8330:e=>{"use strict";e.exports=JSON.parse('{"name":"create-expo","version":"5.0.3","bin":"./bin/create-expo.js","main":"build","description":"Create universal Expo apps","license":"BSD-3-Clause","keywords":["expo","react-native","react"],"homepage":"https://docs.expo.dev","repository":{"type":"git","url":"https://github.com/expo/expo.git","directory":"packages/create-expo"},"author":"Evan Bacon <bacon@expo.io> (https://github.com/evanbacon)","files":["bin","build","template"],"engines":{"node":"^22.13.0 || ^24.3.0 || ^26.0.0 || >=27.0.0"},"scripts":{"build":"ncc build ./src/index.ts -o build/","build:prod":"ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register","clean":"expo-module clean","lint":"expo-module lint","typecheck":"expo-module typecheck","test":"expo-module test","test:e2e":"expo-module test --config e2e/jest.config.js --runInBand","sync-agent-templates":"node scripts/sync-agent-templates.js","watch":"pnpm run build --watch","prepublishOnly":"pnpm run sync-agent-templates && pnpm run clean && pnpm run build:prod"},"devDependencies":{"@expo/config":"workspace:*","@expo/json-file":"workspace:*","@expo/package-manager":"workspace:*","@expo/spawn-async":"^1.8.0","@octokit/types":"^13.5.0","@types/debug":"^4.1.7","@types/getenv":"^1.0.0","@types/node":"^22.14.0","@types/picomatch":"^2.3.3","@types/prompts":"2.0.14","@vercel/ncc":"^0.38.3","arg":"^5.0.2","chalk":"^4.0.0","debug":"^4.3.4","expo-module-scripts":"workspace:*","getenv":"^2.0.0","glob":"^13.0.0","memfs":"^3.2.0","multitars":"^1.0.2","nock":"^14.0.10","ora":"3.4.0","picomatch":"^2.3.2","prompts":"^2.4.2","update-check":"^1.5.4"},"gitHead":"ad1efa3fa5802156660198ba5d787f91014d8df3"}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={id:r,loaded:false,exports:{}};var i=true;try{e[r].call(s.exports,s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}s.loaded=true;return s.exports}__nccwpck_require__.m=e;(()=>{__nccwpck_require__.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;__nccwpck_require__.d(t,{a:t});return t}})();(()=>{var e=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;var t;__nccwpck_require__.t=function(r,n){if(n&1)r=this(r);if(n&8)return r;if(typeof r==="object"&&r){if(n&4&&r.__esModule)return r;if(n&16&&typeof r.then==="function")return r}var s=Object.create(null);__nccwpck_require__.r(s);var i={};t=t||[null,e({}),e([]),e(e)];for(var o=n&2&&r;typeof o=="object"&&!~t.indexOf(o);o=e(o)){Object.getOwnPropertyNames(o).forEach((e=>i[e]=()=>r[e]))}i["default"]=()=>r;__nccwpck_require__.d(s,i);return s}})();(()=>{__nccwpck_require__.d=(e,t)=>{for(var r in t){if(__nccwpck_require__.o(t,r)&&!__nccwpck_require__.o(e,r)){Object.defineProperty(e,r,{enumerable:true,get:t[r]})}}}})();(()=>{__nccwpck_require__.f={};__nccwpck_require__.e=e=>Promise.all(Object.keys(__nccwpck_require__.f).reduce(((t,r)=>{__nccwpck_require__.f[r](e,t);return t}),[]))})();(()=>{__nccwpck_require__.u=e=>""+e+".index.js"})();(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";(()=>{var e={792:1};var installChunk=t=>{var r=t.modules,n=t.ids,s=t.runtime;for(var i in r){if(__nccwpck_require__.o(r,i)){__nccwpck_require__.m[i]=r[i]}}if(s)s(__nccwpck_require__);for(var o=0;o<n.length;o++)e[n[o]]=1};__nccwpck_require__.f.require=(t,r)=>{if(!e[t]){if(true){installChunk(require("./"+__nccwpck_require__.u(t)))}else e[t]=1}}})();var r={};(()=>{"use strict";__nccwpck_require__.r(r);var e=__nccwpck_require__(6675);var t=__nccwpck_require__.n(e);var n=__nccwpck_require__(277);var s=__nccwpck_require__.n(n);var i=__nccwpck_require__(6467);process.title=i.V;if((0,n.boolish)("EXPO_DEBUG",false)){t().enable("expo:init:*")}else if(t().enabled("expo:init:")){process.env.EXPO_DEBUG="1"}__nccwpck_require__(4456)})();module.exports=r})();
49
+ `)}const{AnalyticsEventPhases:c,AnalyticsEventTypes:l,flushAsync:p,track:h}=await r.e(601).then(r.bind(r,601));try{const s=await resolveStringOrBooleanArgsAsync(e,t,{"--template":Boolean,"--example":Boolean,"-t":"--template","-e":"--example"});f(`Default args:\n%O`,n);f(`Parsed:\n%O`,s);const{createAsync:i}=await Promise.all([r.e(253),r.e(205)]).then(r.bind(r,8205));await i(s.projectRoot,{yes:!!n["--yes"],template:s.args["--template"],example:s.args["--example"],install:!n["--no-install"],agentsMd:!n["--no-agents-md"]});h({event:l.CREATE_EXPO_APP,properties:{phase:c.SUCCESS}});await p()}catch(e){if(!(e instanceof o.R)){u.tG.exception(e)}h({event:l.CREATE_EXPO_APP,properties:{phase:c.FAIL,message:e.cause}});await p().finally((()=>{process.exit(e.code||1)}))}finally{const e=await(await r.e(517).then(r.bind(r,7517))).default;await e()}}run()},6467:(e,t,r)=>{"use strict";r.d(t,{V:()=>n});const n=r(8330).name},6725:(e,t,r)=>{"use strict";r.d(t,{R:()=>ExitError});class ExitError extends Error{cause;code;constructor(e,t){super(e instanceof Error?e.message:e);this.cause=e;this.code=t}}},1545:(e,t,r)=>{"use strict";r.d(t,{NS:()=>exit,tG:()=>o});var n=r(2314);var s=r.n(n);var i=r(6725);function error(...e){console.error(...e)}function exception(e){const{env:t}=r(4342);error(s().red(e.toString())+(t.EXPO_DEBUG?"\n"+s().gray(e.stack):""))}function log(...e){console.log(...e)}function exit(e,t=1){if(e instanceof Error){exception(e)}else if(e){if(t===0){log(e)}else{error(e)}}if(t!==0){throw new i.R(e,t)}process.exit(t)}const o={error:error,exception:exception,log:log,exit:exit}},9560:(e,t,r)=>{"use strict";r.d(t,{DC:()=>installDependenciesAsync,MZ:()=>configurePackageManager,Wq:()=>formatRunCommand,_c:()=>resolvePackageManager,fZ:()=>formatSelfCommand});var n=r(6268);var s=r.n(n);var i=r(5317);var o=r.n(i);var u=r(6467);const a=r(6675)("expo:init:resolvePackageManager");function resolvePackageManager(){const e=process.env.npm_config_user_agent;a("npm_config_user_agent:",e);if(e?.startsWith("yarn")){return"yarn"}else if(e?.startsWith("pnpm")){return"pnpm"}else if(e?.startsWith("bun")){return"bun"}else if(e?.startsWith("npm")){return"npm"}if(isPackageManagerAvailable("yarn")){return"yarn"}else if(isPackageManagerAvailable("pnpm")){return"pnpm"}else if(isPackageManagerAvailable("bun")){return"bun"}return"npm"}function isPackageManagerAvailable(e){try{(0,i.execSync)(`${e} --version`,{stdio:"ignore"});return true}catch{}return false}function formatRunCommand(e,t){switch(e){case"pnpm":return`pnpm run ${t}`;case"yarn":return`yarn ${t}`;case"bun":return`bun run ${t}`;case"npm":default:return`npm run ${t}`}}function formatSelfCommand(){const e=resolvePackageManager();switch(e){case"pnpm":return`pnpx ${u.V}`;case"bun":return`bunx ${u.V}`;case"yarn":case"npm":default:return`npx ${u.V}`}}function createPackageManager(e,t){switch(e){case"yarn":return new n.YarnPackageManager(t);case"pnpm":return new n.PnpmPackageManager(t);case"bun":return new n.BunPackageManager(t);case"npm":default:return new n.NpmPackageManager(t)}}async function installDependenciesAsync(e,t,r={silent:false}){await createPackageManager(t,{cwd:e,silent:r.silent}).installAsync()}async function configurePackageManager(e,t,r={silent:false}){const n=createPackageManager(t,{cwd:e,...r});switch(n.name){case"yarn":{const e=await n.versionAsync();const t=parseInt(e.split(".")[0]??"",10);if(t>=2){await n.runAsync(["config","set","nodeLinker","node-modules"])}break}}}},4342:(e,t,r)=>{"use strict";r.r(t);r.d(t,{env:()=>i});var n=r(277);var s=r.n(n);class Env{get EXPO_DEBUG(){return(0,n.boolish)("EXPO_DEBUG",false)}get EXPO_BETA(){return(0,n.boolish)("EXPO_BETA",false)}get CI(){const e=process.env.CI;return e==="1"||e?.toLowerCase()==="true"}get EXPO_NO_CACHE(){return(0,n.boolish)("EXPO_NO_CACHE",false)}get EXPO_NO_TELEMETRY(){return(0,n.boolish)("EXPO_NO_TELEMETRY",false)}}const i=new Env},2613:e=>{"use strict";e.exports=require("assert")},181:e=>{"use strict";e.exports=require("buffer")},5317:e=>{"use strict";e.exports=require("child_process")},6982:e=>{"use strict";e.exports=require("crypto")},2250:e=>{"use strict";e.exports=require("dns")},4434:e=>{"use strict";e.exports=require("events")},9896:e=>{"use strict";e.exports=require("fs")},8611:e=>{"use strict";e.exports=require("http")},5692:e=>{"use strict";e.exports=require("https")},3339:e=>{"use strict";e.exports=require("module")},5217:e=>{"use strict";e.exports=require("node:crypto")},3053:e=>{"use strict";e.exports=require("node:diagnostics_channel")},8474:e=>{"use strict";e.exports=require("node:events")},3024:e=>{"use strict";e.exports=require("node:fs")},1455:e=>{"use strict";e.exports=require("node:fs/promises")},6760:e=>{"use strict";e.exports=require("node:path")},1708:e=>{"use strict";e.exports=require("node:process")},7075:e=>{"use strict";e.exports=require("node:stream")},6193:e=>{"use strict";e.exports=require("node:string_decoder")},3136:e=>{"use strict";e.exports=require("node:url")},857:e=>{"use strict";e.exports=require("os")},6928:e=>{"use strict";e.exports=require("path")},3785:e=>{"use strict";e.exports=require("readline")},2203:e=>{"use strict";e.exports=require("stream")},2018:e=>{"use strict";e.exports=require("tty")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},5112:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(6831);var s=r(7815);var i=r(8740);function isColorSupported(){return typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?false:n.isColorSupported}const compose=(e,t)=>r=>e(t(r));function buildDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:compose(compose(e.white,e.bgRed),e.bold),gutter:e.gray,marker:compose(e.red,e.bold),message:compose(e.red,e.bold),reset:e.reset}}const o=buildDefs(n.createColors(true));const u=buildDefs(n.createColors(false));function getDefs(e){return e?o:u}const a=new Set(["as","async","from","get","of","set"]);const c=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let f;const p=/^[a-z][\w-]*$/i;const getTokenType=function(e,t,r){if(e.type==="name"){const n=e.value;if(i.isKeyword(n)||i.isStrictReservedWord(n,true)||a.has(n)){return"keyword"}if(p.test(n)&&(r[t-1]==="<"||r.slice(t-2,t)==="</")){return"jsxIdentifier"}const s=String.fromCodePoint(n.codePointAt(0));if(s!==s.toLowerCase()){return"capitalized"}}if(e.type==="punctuator"&&l.test(e.value)){return"bracket"}if(e.type==="invalid"&&(e.value==="@"||e.value==="#")){return"punctuator"}return e.type};f=function*(e){let t;while(t=s.default.exec(e)){const r=s.matchToToken(t);yield{type:getTokenType(r,t.index,e),value:r.value}}};function highlight(e){if(e==="")return"";const t=getDefs(true);let r="";for(const{type:n,value:s}of f(e)){if(n in t){r+=s.split(c).map((e=>t[n](e))).join("\n")}else{r+=s}}return r}let h=false;const d=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r,n){const s=Object.assign({column:0,line:-1},e.start);const i=Object.assign({},s,e.end);const{linesAbove:o=2,linesBelow:u=3}=r||{};const a=s.line-n;const c=s.column;const l=i.line-n;const f=i.column;let p=Math.max(a-(o+1),0);let h=Math.min(t.length,l+u);if(a===-1){p=0}if(l===-1){h=t.length}const d=l-a;const g={};if(d){for(let e=0;e<=d;e++){const r=e+a;if(!c){g[r]=true}else if(e===0){const e=t[r-1].length;g[r]=[c,e-c+1]}else if(e===d){g[r]=[0,f]}else{const n=t[r-e].length;g[r]=[0,n]}}}else{if(c===f){if(c){g[a]=[c,0]}else{g[a]=true}}else{g[a]=[c,f-c]}}return{start:p,end:h,markerLines:g}}function codeFrameColumns(e,t,r={}){const n=r.forceColor||isColorSupported()&&r.highlightCode;const s=(r.startLine||1)-1;const i=getDefs(n);const o=e.split(d);const{start:u,end:a,markerLines:c}=getMarkerLines(t,o,r,s);const l=t.start&&typeof t.start.column==="number";const f=String(a+s).length;const p=n?highlight(e):e;let h=p.split(d,a).slice(u,a).map(((e,t)=>{const n=u+1+t;const o=` ${n+s}`.slice(-f);const a=` ${o} |`;const l=c[n];const p=!c[n+1];if(l){let t="";if(Array.isArray(l)){const n=e.slice(0,Math.max(l[0]-1,0)).replace(/[^\t]/g," ");const s=l[1]||1;t=["\n ",i.gutter(a.replace(/\d/g," "))," ",n,i.marker("^").repeat(s)].join("");if(p&&r.message){t+=" "+i.message(r.message)}}return[i.marker(">"),i.gutter(a),e.length>0?` ${e}`:"",t].join("")}else{return` ${i.gutter(a)}${e.length>0?` ${e}`:""}`}})).join("\n");if(r.message&&!l){h=`${" ".repeat(f+1)}${r.message}\n${h}`}if(n){return i.reset(h)}else{return h}}function index(e,t,r,n={}){if(!h){h=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}t.codeFrameColumns=codeFrameColumns;t["default"]=index;t.highlight=highlight},3357:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;t.isIdentifierStart=isIdentifierStart;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const o=[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,7,25,39,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,5,57,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,24,43,261,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,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,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,208,30,2,2,2,1,2,6,3,4,10,1,225,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,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489];const u=[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,78,5,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,199,7,137,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,55,9,266,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,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;n<s;n+=2){r+=t[n];if(r>e)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,u)}function isIdentifierName(e){let t=true;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if((n&64512)===55296&&r+1<e.length){const t=e.charCodeAt(++r);if((t&64512)===56320){n=65536+((n&1023)<<10)+(t&1023)}}if(t){t=false;if(!isIdentifierStart(n)){return false}}else if(!isIdentifierChar(n)){return false}}return!t}},8740:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});var n=r(3357);var s=r(1391)},1391:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isKeyword=isKeyword;t.isReservedWord=isReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isStrictReservedWord=isStrictReservedWord;const r={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"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},5934:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LRUCache=void 0;const r=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date;const n=new Set;const s=typeof process==="object"&&!!process?process:{};const emitWarning=(e,t,r,n)=>{typeof s.emitWarning==="function"?s.emitWarning(e,t,r,n):console.error(`[${r}] ${t}: ${e}`)};let i=globalThis.AbortController;let o=globalThis.AbortSignal;if(typeof i==="undefined"){o=class AbortSignal{onabort;_onabort=[];reason;aborted=false;addEventListener(e,t){this._onabort.push(t)}};i=class AbortController{constructor(){warnACPolyfill()}signal=new o;abort(e){if(this.signal.aborted)return;this.signal.reason=e;this.signal.aborted=true;for(const t of this.signal._onabort){t(e)}this.signal.onabort?.(e)}};let e=s.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const warnACPolyfill=()=>{if(!e)return;e=false;emitWarning("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",warnACPolyfill)}}const shouldWarn=e=>!n.has(e);const u=Symbol("type");const isPosInt=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e);const getUintArray=e=>!isPosInt(e)?null:e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?ZeroArray:null;class ZeroArray extends Array{constructor(e){super(e);this.fill(0)}}class Stack{heap;length;static#s=false;static create(e){const t=getUintArray(e);if(!t)return[];Stack.#s=true;const r=new Stack(e,t);Stack.#s=false;return r}constructor(e,t){if(!Stack.#s){throw new TypeError("instantiate Stack using Stack.create(n)")}this.heap=new t(e);this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}}class LRUCache{#i;#o;#u;#a;#c;#l;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#f;#p;#h;#d;#g;#m;#D;#A;#E;#y;#C;#w;#b;#v;#F;#_;#S;static unsafeExposeInternals(e){return{starts:e.#b,ttls:e.#v,sizes:e.#w,keyMap:e.#h,keyList:e.#d,valList:e.#g,next:e.#m,prev:e.#D,get head(){return e.#A},get tail(){return e.#E},free:e.#y,isBackgroundFetch:t=>e.#x(t),backgroundFetch:(t,r,n,s)=>e.#O(t,r,n,s),moveToTail:t=>e.#R(t),indexes:t=>e.#k(t),rindexes:t=>e.#$(t),isStale:t=>e.#B(t)}}get max(){return this.#i}get maxSize(){return this.#o}get calculatedSize(){return this.#p}get size(){return this.#f}get fetchMethod(){return this.#c}get memoMethod(){return this.#l}get dispose(){return this.#u}get disposeAfter(){return this.#a}constructor(e){const{max:t=0,ttl:r,ttlResolution:s=1,ttlAutopurge:i,updateAgeOnGet:o,updateAgeOnHas:u,allowStale:a,dispose:c,disposeAfter:l,noDisposeOnSet:f,noUpdateTTL:p,maxSize:h=0,maxEntrySize:d=0,sizeCalculation:g,fetchMethod:m,memoMethod:D,noDeleteOnFetchRejection:A,noDeleteOnStaleGet:E,allowStaleOnFetchRejection:y,allowStaleOnFetchAbort:C,ignoreFetchAbort:w}=e;if(t!==0&&!isPosInt(t)){throw new TypeError("max option must be a nonnegative integer")}const b=t?getUintArray(t):Array;if(!b){throw new Error("invalid max value: "+t)}this.#i=t;this.#o=h;this.maxEntrySize=d||this.#o;this.sizeCalculation=g;if(this.sizeCalculation){if(!this.#o&&!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(D!==undefined&&typeof D!=="function"){throw new TypeError("memoMethod must be a function if defined")}this.#l=D;if(m!==undefined&&typeof m!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#c=m;this.#_=!!m;this.#h=new Map;this.#d=new Array(t).fill(undefined);this.#g=new Array(t).fill(undefined);this.#m=new b(t);this.#D=new b(t);this.#A=0;this.#E=0;this.#y=Stack.create(t);this.#f=0;this.#p=0;if(typeof c==="function"){this.#u=c}if(typeof l==="function"){this.#a=l;this.#C=[]}else{this.#a=undefined;this.#C=undefined}this.#F=!!this.#u;this.#S=!!this.#a;this.noDisposeOnSet=!!f;this.noUpdateTTL=!!p;this.noDeleteOnFetchRejection=!!A;this.allowStaleOnFetchRejection=!!y;this.allowStaleOnFetchAbort=!!C;this.ignoreFetchAbort=!!w;if(this.maxEntrySize!==0){if(this.#o!==0){if(!isPosInt(this.#o)){throw new TypeError("maxSize must be a positive integer if specified")}}if(!isPosInt(this.maxEntrySize)){throw new TypeError("maxEntrySize must be a positive integer if specified")}this.#L()}this.allowStale=!!a;this.noDeleteOnStaleGet=!!E;this.updateAgeOnGet=!!o;this.updateAgeOnHas=!!u;this.ttlResolution=isPosInt(s)||s===0?s:1;this.ttlAutopurge=!!i;this.ttl=r||0;if(this.ttl){if(!isPosInt(this.ttl)){throw new TypeError("ttl must be a positive integer if specified")}this.#I()}if(this.#i===0&&this.ttl===0&&this.#o===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#i&&!this.#o){const e="LRU_CACHE_UNBOUNDED";if(shouldWarn(e)){n.add(e);const t="TTL caching without ttlAutopurge, max, or maxSize can "+"result in unbounded memory consumption.";emitWarning(t,"UnboundedCacheWarning",e,LRUCache)}}}getRemainingTTL(e){return this.#h.has(e)?Infinity:0}#I(){const e=new ZeroArray(this.#i);const t=new ZeroArray(this.#i);this.#v=e;this.#b=t;this.#P=(n,s,i=r.now())=>{t[n]=s!==0?i:0;e[n]=s;if(s!==0&&this.ttlAutopurge){const e=setTimeout((()=>{if(this.#B(n)){this.#N(this.#d[n],"expire")}}),s+1);if(e.unref){e.unref()}}};this.#T=n=>{t[n]=e[n]!==0?r.now():0};this.#M=(r,s)=>{if(e[s]){const i=e[s];const o=t[s];if(!i||!o)return;r.ttl=i;r.start=o;r.now=n||getNow();const u=r.now-o;r.remainingTTL=i-u}};let n=0;const getNow=()=>{const e=r.now();if(this.ttlResolution>0){n=e;const t=setTimeout((()=>n=0),this.ttlResolution);if(t.unref){t.unref()}}return e};this.getRemainingTTL=r=>{const s=this.#h.get(r);if(s===undefined){return 0}const i=e[s];const o=t[s];if(!i||!o){return Infinity}const u=(n||getNow())-o;return i-u};this.#B=r=>{const s=t[r];const i=e[r];return!!i&&!!s&&(n||getNow())-s>i}}#T=()=>{};#M=()=>{};#P=()=>{};#B=()=>false;#L(){const e=new ZeroArray(this.#i);this.#p=0;this.#w=e;this.#j=t=>{this.#p-=e[t];e[t]=0};this.#H=(e,t,r,n)=>{if(this.#x(t)){return 0}if(!isPosInt(r)){if(n){if(typeof n!=="function"){throw new TypeError("sizeCalculation must be a function")}r=n(t,e);if(!isPosInt(r)){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 r};this.#G=(t,r,n)=>{e[t]=r;if(this.#o){const r=this.#o-e[t];while(this.#p>r){this.#U(true)}}this.#p+=e[t];if(n){n.entrySize=r;n.totalCalculatedSize=this.#p}}}#j=e=>{};#G=(e,t,r)=>{};#H=(e,t,r,n)=>{if(r||n){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#k({allowStale:e=this.allowStale}={}){if(this.#f){for(let t=this.#E;true;){if(!this.#W(t)){break}if(e||!this.#B(t)){yield t}if(t===this.#A){break}else{t=this.#D[t]}}}}*#$({allowStale:e=this.allowStale}={}){if(this.#f){for(let t=this.#A;true;){if(!this.#W(t)){break}if(e||!this.#B(t)){yield t}if(t===this.#E){break}else{t=this.#m[t]}}}}#W(e){return e!==undefined&&this.#h.get(this.#d[e])===e}*entries(){for(const e of this.#k()){if(this.#g[e]!==undefined&&this.#d[e]!==undefined&&!this.#x(this.#g[e])){yield[this.#d[e],this.#g[e]]}}}*rentries(){for(const e of this.#$()){if(this.#g[e]!==undefined&&this.#d[e]!==undefined&&!this.#x(this.#g[e])){yield[this.#d[e],this.#g[e]]}}}*keys(){for(const e of this.#k()){const t=this.#d[e];if(t!==undefined&&!this.#x(this.#g[e])){yield t}}}*rkeys(){for(const e of this.#$()){const t=this.#d[e];if(t!==undefined&&!this.#x(this.#g[e])){yield t}}}*values(){for(const e of this.#k()){const t=this.#g[e];if(t!==undefined&&!this.#x(this.#g[e])){yield this.#g[e]}}}*rvalues(){for(const e of this.#$()){const t=this.#g[e];if(t!==undefined&&!this.#x(this.#g[e])){yield this.#g[e]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,t={}){for(const r of this.#k()){const n=this.#g[r];const s=this.#x(n)?n.__staleWhileFetching:n;if(s===undefined)continue;if(e(s,this.#d[r],this)){return this.get(this.#d[r],t)}}}forEach(e,t=this){for(const r of this.#k()){const n=this.#g[r];const s=this.#x(n)?n.__staleWhileFetching:n;if(s===undefined)continue;e.call(t,s,this.#d[r],this)}}rforEach(e,t=this){for(const r of this.#$()){const n=this.#g[r];const s=this.#x(n)?n.__staleWhileFetching:n;if(s===undefined)continue;e.call(t,s,this.#d[r],this)}}purgeStale(){let e=false;for(const t of this.#$({allowStale:true})){if(this.#B(t)){this.#N(this.#d[t],"expire");e=true}}return e}info(e){const t=this.#h.get(e);if(t===undefined)return undefined;const n=this.#g[t];const s=this.#x(n)?n.__staleWhileFetching:n;if(s===undefined)return undefined;const i={value:s};if(this.#v&&this.#b){const e=this.#v[t];const n=this.#b[t];if(e&&n){const t=e-(r.now()-n);i.ttl=t;i.start=Date.now()}}if(this.#w){i.size=this.#w[t]}return i}dump(){const e=[];for(const t of this.#k({allowStale:true})){const n=this.#d[t];const s=this.#g[t];const i=this.#x(s)?s.__staleWhileFetching:s;if(i===undefined||n===undefined)continue;const o={value:i};if(this.#v&&this.#b){o.ttl=this.#v[t];const e=r.now()-this.#b[t];o.start=Math.floor(Date.now()-e)}if(this.#w){o.size=this.#w[t]}e.unshift([n,o])}return e}load(e){this.clear();for(const[t,n]of e){if(n.start){const e=Date.now()-n.start;n.start=r.now()-e}this.set(t,n.value,n)}}set(e,t,r={}){if(t===undefined){this.delete(e);return this}const{ttl:n=this.ttl,start:s,noDisposeOnSet:i=this.noDisposeOnSet,sizeCalculation:o=this.sizeCalculation,status:u}=r;let{noUpdateTTL:a=this.noUpdateTTL}=r;const c=this.#H(e,t,r.size||0,o);if(this.maxEntrySize&&c>this.maxEntrySize){if(u){u.set="miss";u.maxEntrySizeExceeded=true}this.#N(e,"set");return this}let l=this.#f===0?undefined:this.#h.get(e);if(l===undefined){l=this.#f===0?this.#E:this.#y.length!==0?this.#y.pop():this.#f===this.#i?this.#U(false):this.#f;this.#d[l]=e;this.#g[l]=t;this.#h.set(e,l);this.#m[this.#E]=l;this.#D[l]=this.#E;this.#E=l;this.#f++;this.#G(l,c,u);if(u)u.set="add";a=false}else{this.#R(l);const r=this.#g[l];if(t!==r){if(this.#_&&this.#x(r)){r.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:t}=r;if(t!==undefined&&!i){if(this.#F){this.#u?.(t,e,"set")}if(this.#S){this.#C?.push([t,e,"set"])}}}else if(!i){if(this.#F){this.#u?.(r,e,"set")}if(this.#S){this.#C?.push([r,e,"set"])}}this.#j(l);this.#G(l,c,u);this.#g[l]=t;if(u){u.set="replace";const e=r&&this.#x(r)?r.__staleWhileFetching:r;if(e!==undefined)u.oldValue=e}}else if(u){u.set="update"}}if(n!==0&&!this.#v){this.#I()}if(this.#v){if(!a){this.#P(l,n,s)}if(u)this.#M(u,l)}if(!i&&this.#S&&this.#C){const e=this.#C;let t;while(t=e?.shift()){this.#a?.(...t)}}return this}pop(){try{while(this.#f){const e=this.#g[this.#A];this.#U(true);if(this.#x(e)){if(e.__staleWhileFetching){return e.__staleWhileFetching}}else if(e!==undefined){return e}}}finally{if(this.#S&&this.#C){const e=this.#C;let t;while(t=e?.shift()){this.#a?.(...t)}}}}#U(e){const t=this.#A;const r=this.#d[t];const n=this.#g[t];if(this.#_&&this.#x(n)){n.__abortController.abort(new Error("evicted"))}else if(this.#F||this.#S){if(this.#F){this.#u?.(n,r,"evict")}if(this.#S){this.#C?.push([n,r,"evict"])}}this.#j(t);if(e){this.#d[t]=undefined;this.#g[t]=undefined;this.#y.push(t)}if(this.#f===1){this.#A=this.#E=0;this.#y.length=0}else{this.#A=this.#m[t]}this.#h.delete(r);this.#f--;return t}has(e,t={}){const{updateAgeOnHas:r=this.updateAgeOnHas,status:n}=t;const s=this.#h.get(e);if(s!==undefined){const e=this.#g[s];if(this.#x(e)&&e.__staleWhileFetching===undefined){return false}if(!this.#B(s)){if(r){this.#T(s)}if(n){n.has="hit";this.#M(n,s)}return true}else if(n){n.has="stale";this.#M(n,s)}}else if(n){n.has="miss"}return false}peek(e,t={}){const{allowStale:r=this.allowStale}=t;const n=this.#h.get(e);if(n===undefined||!r&&this.#B(n)){return}const s=this.#g[n];return this.#x(s)?s.__staleWhileFetching:s}#O(e,t,r,n){const s=t===undefined?undefined:this.#g[t];if(this.#x(s)){return s}const o=new i;const{signal:u}=r;u?.addEventListener("abort",(()=>o.abort(u.reason)),{signal:o.signal});const a={signal:o.signal,options:r,context:n};const cb=(n,s=false)=>{const{aborted:i}=o.signal;const u=r.ignoreFetchAbort&&n!==undefined;if(r.status){if(i&&!s){r.status.fetchAborted=true;r.status.fetchError=o.signal.reason;if(u)r.status.fetchAbortIgnored=true}else{r.status.fetchResolved=true}}if(i&&!u&&!s){return fetchFail(o.signal.reason)}const l=c;if(this.#g[t]===c){if(n===undefined){if(l.__staleWhileFetching){this.#g[t]=l.__staleWhileFetching}else{this.#N(e,"fetch")}}else{if(r.status)r.status.fetchUpdated=true;this.set(e,n,a.options)}}return n};const eb=e=>{if(r.status){r.status.fetchRejected=true;r.status.fetchError=e}return fetchFail(e)};const fetchFail=n=>{const{aborted:s}=o.signal;const i=s&&r.allowStaleOnFetchAbort;const u=i||r.allowStaleOnFetchRejection;const a=u||r.noDeleteOnFetchRejection;const l=c;if(this.#g[t]===c){const r=!a||l.__staleWhileFetching===undefined;if(r){this.#N(e,"fetch")}else if(!i){this.#g[t]=l.__staleWhileFetching}}if(u){if(r.status&&l.__staleWhileFetching!==undefined){r.status.returnedStale=true}return l.__staleWhileFetching}else if(l.__returned===l){throw n}};const pcall=(t,n)=>{const i=this.#c?.(e,s,a);if(i&&i instanceof Promise){i.then((e=>t(e===undefined?undefined:e)),n)}o.signal.addEventListener("abort",(()=>{if(!r.ignoreFetchAbort||r.allowStaleOnFetchAbort){t(undefined);if(r.allowStaleOnFetchAbort){t=e=>cb(e,true)}}}))};if(r.status)r.status.fetchDispatched=true;const c=new Promise(pcall).then(cb,eb);const l=Object.assign(c,{__abortController:o,__staleWhileFetching:s,__returned:undefined});if(t===undefined){this.set(e,l,{...a.options,status:undefined});t=this.#h.get(e)}else{this.#g[t]=l}return l}#x(e){if(!this.#_)return false;const t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof i}async fetch(e,t={}){const{allowStale:r=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:i=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:u=0,sizeCalculation:a=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:l=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:p=this.ignoreFetchAbort,allowStaleOnFetchAbort:h=this.allowStaleOnFetchAbort,context:d,forceRefresh:g=false,status:m,signal:D}=t;if(!this.#_){if(m)m.fetch="get";return this.get(e,{allowStale:r,updateAgeOnGet:n,noDeleteOnStaleGet:s,status:m})}const A={allowStale:r,updateAgeOnGet:n,noDeleteOnStaleGet:s,ttl:i,noDisposeOnSet:o,size:u,sizeCalculation:a,noUpdateTTL:c,noDeleteOnFetchRejection:l,allowStaleOnFetchRejection:f,allowStaleOnFetchAbort:h,ignoreFetchAbort:p,status:m,signal:D};let E=this.#h.get(e);if(E===undefined){if(m)m.fetch="miss";const t=this.#O(e,E,A,d);return t.__returned=t}else{const t=this.#g[E];if(this.#x(t)){const e=r&&t.__staleWhileFetching!==undefined;if(m){m.fetch="inflight";if(e)m.returnedStale=true}return e?t.__staleWhileFetching:t.__returned=t}const s=this.#B(E);if(!g&&!s){if(m)m.fetch="hit";this.#R(E);if(n){this.#T(E)}if(m)this.#M(m,E);return t}const i=this.#O(e,E,A,d);const o=i.__staleWhileFetching!==undefined;const u=o&&r;if(m){m.fetch=s?"stale":"refresh";if(u&&s)m.returnedStale=true}return u?i.__staleWhileFetching:i.__returned=i}}async forceFetch(e,t={}){const r=await this.fetch(e,t);if(r===undefined)throw new Error("fetch() returned undefined");return r}memo(e,t={}){const r=this.#l;if(!r){throw new Error("no memoMethod provided to constructor")}const{context:n,forceRefresh:s,...i}=t;const o=this.get(e,i);if(!s&&o!==undefined)return o;const u=r(e,o,{options:i,context:n});this.set(e,u,i);return u}get(e,t={}){const{allowStale:r=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:i}=t;const o=this.#h.get(e);if(o!==undefined){const t=this.#g[o];const u=this.#x(t);if(i)this.#M(i,o);if(this.#B(o)){if(i)i.get="stale";if(!u){if(!s){this.#N(e,"expire")}if(i&&r)i.returnedStale=true;return r?t:undefined}else{if(i&&r&&t.__staleWhileFetching!==undefined){i.returnedStale=true}return r?t.__staleWhileFetching:undefined}}else{if(i)i.get="hit";if(u){return t.__staleWhileFetching}this.#R(o);if(n){this.#T(o)}return t}}else if(i){i.get="miss"}}#z(e,t){this.#D[t]=e;this.#m[e]=t}#R(e){if(e!==this.#E){if(e===this.#A){this.#A=this.#m[e]}else{this.#z(this.#D[e],this.#m[e])}this.#z(this.#E,e);this.#E=e}}delete(e){return this.#N(e,"delete")}#N(e,t){let r=false;if(this.#f!==0){const n=this.#h.get(e);if(n!==undefined){r=true;if(this.#f===1){this.#q(t)}else{this.#j(n);const r=this.#g[n];if(this.#x(r)){r.__abortController.abort(new Error("deleted"))}else if(this.#F||this.#S){if(this.#F){this.#u?.(r,e,t)}if(this.#S){this.#C?.push([r,e,t])}}this.#h.delete(e);this.#d[n]=undefined;this.#g[n]=undefined;if(n===this.#E){this.#E=this.#D[n]}else if(n===this.#A){this.#A=this.#m[n]}else{const e=this.#D[n];this.#m[e]=this.#m[n];const t=this.#m[n];this.#D[t]=this.#D[n]}this.#f--;this.#y.push(n)}}}if(this.#S&&this.#C?.length){const e=this.#C;let t;while(t=e?.shift()){this.#a?.(...t)}}return r}clear(){return this.#q("delete")}#q(e){for(const t of this.#$({allowStale:true})){const r=this.#g[t];if(this.#x(r)){r.__abortController.abort(new Error("deleted"))}else{const n=this.#d[t];if(this.#F){this.#u?.(r,n,e)}if(this.#S){this.#C?.push([r,n,e])}}}this.#h.clear();this.#g.fill(undefined);this.#d.fill(undefined);if(this.#v&&this.#b){this.#v.fill(0);this.#b.fill(0)}if(this.#w){this.#w.fill(0)}this.#A=0;this.#E=0;this.#y.length=0;this.#p=0;this.#f=0;if(this.#S&&this.#C){const e=this.#C;let t;while(t=e?.shift()){this.#a?.(...t)}}}}t.LRUCache=LRUCache},8330:e=>{"use strict";e.exports=JSON.parse('{"name":"create-expo","version":"5.0.5","bin":"./bin/create-expo.js","main":"build","description":"Create universal Expo apps","license":"BSD-3-Clause","keywords":["expo","react-native","react"],"homepage":"https://docs.expo.dev","repository":{"type":"git","url":"https://github.com/expo/expo.git","directory":"packages/create-expo"},"author":"Evan Bacon <bacon@expo.io> (https://github.com/evanbacon)","files":["bin","build","template"],"engines":{"node":"^22.13.0 || ^24.3.0 || ^26.0.0 || >=27.0.0"},"scripts":{"build":"ncc build ./src/index.ts -o build/","build:prod":"ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register","clean":"expo-module clean","lint":"expo-module lint","typecheck":"expo-module typecheck","test":"expo-module test","test:e2e":"expo-module test --config e2e/jest.config.js --runInBand","sync-agent-templates":"node scripts/sync-agent-templates.js","watch":"pnpm run build --watch","prepublishOnly":"pnpm run sync-agent-templates && pnpm run clean && pnpm run build:prod"},"devDependencies":{"@expo/config":"workspace:*","@expo/json-file":"workspace:*","@expo/package-manager":"workspace:*","@expo/spawn-async":"^1.8.0","@octokit/types":"^13.5.0","@types/debug":"^4.1.7","@types/getenv":"^1.0.0","@types/node":"^22.14.0","@types/picomatch":"^2.3.3","@types/prompts":"2.0.14","@vercel/ncc":"^0.38.3","arg":"^5.0.2","chalk":"^4.0.0","debug":"^4.3.4","expo-module-scripts":"workspace:*","getenv":"^2.0.0","glob":"^14.0.3","memfs":"^3.2.0","multitars":"^1.0.2","nock":"^14.0.10","ora":"3.4.0","picomatch":"^2.3.2","prompts":"^2.4.2","update-check":"^1.5.4"},"gitHead":"14616b4ffe6167019952be745310f563d15bf68a"}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={id:r,loaded:false,exports:{}};var i=true;try{e[r].call(s.exports,s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}s.loaded=true;return s.exports}__nccwpck_require__.m=e;(()=>{__nccwpck_require__.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;__nccwpck_require__.d(t,{a:t});return t}})();(()=>{var e=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;var t;__nccwpck_require__.t=function(r,n){if(n&1)r=this(r);if(n&8)return r;if(typeof r==="object"&&r){if(n&4&&r.__esModule)return r;if(n&16&&typeof r.then==="function")return r}var s=Object.create(null);__nccwpck_require__.r(s);var i={};t=t||[null,e({}),e([]),e(e)];for(var o=n&2&&r;typeof o=="object"&&!~t.indexOf(o);o=e(o)){Object.getOwnPropertyNames(o).forEach((e=>i[e]=()=>r[e]))}i["default"]=()=>r;__nccwpck_require__.d(s,i);return s}})();(()=>{__nccwpck_require__.d=(e,t)=>{for(var r in t){if(__nccwpck_require__.o(t,r)&&!__nccwpck_require__.o(e,r)){Object.defineProperty(e,r,{enumerable:true,get:t[r]})}}}})();(()=>{__nccwpck_require__.f={};__nccwpck_require__.e=e=>Promise.all(Object.keys(__nccwpck_require__.f).reduce(((t,r)=>{__nccwpck_require__.f[r](e,t);return t}),[]))})();(()=>{__nccwpck_require__.u=e=>""+e+".index.js"})();(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";(()=>{var e={792:1};var installChunk=t=>{var r=t.modules,n=t.ids,s=t.runtime;for(var i in r){if(__nccwpck_require__.o(r,i)){__nccwpck_require__.m[i]=r[i]}}if(s)s(__nccwpck_require__);for(var o=0;o<n.length;o++)e[n[o]]=1};__nccwpck_require__.f.require=(t,r)=>{if(!e[t]){if(true){installChunk(require("./"+__nccwpck_require__.u(t)))}else e[t]=1}}})();var r={};(()=>{"use strict";__nccwpck_require__.r(r);var e=__nccwpck_require__(6675);var t=__nccwpck_require__.n(e);var n=__nccwpck_require__(277);var s=__nccwpck_require__.n(n);var i=__nccwpck_require__(6467);process.title=i.V;if((0,n.boolish)("EXPO_DEBUG",false)){t().enable("expo:init:*")}else if(t().enabled("expo:init:")){process.env.EXPO_DEBUG="1"}__nccwpck_require__(4456)})();module.exports=r})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-expo",
3
- "version": "5.0.3",
3
+ "version": "5.0.5",
4
4
  "bin": "./bin/create-expo.js",
5
5
  "main": "build",
6
6
  "description": "Create universal Expo apps",
@@ -38,7 +38,7 @@
38
38
  "chalk": "^4.0.0",
39
39
  "debug": "^4.3.4",
40
40
  "getenv": "^2.0.0",
41
- "glob": "^13.0.0",
41
+ "glob": "^14.0.3",
42
42
  "memfs": "^3.2.0",
43
43
  "multitars": "^1.0.2",
44
44
  "nock": "^14.0.10",
@@ -46,12 +46,12 @@
46
46
  "picomatch": "^2.3.2",
47
47
  "prompts": "^2.4.2",
48
48
  "update-check": "^1.5.4",
49
- "@expo/config": "57.0.9",
49
+ "@expo/config": "57.0.12",
50
+ "@expo/package-manager": "1.13.1",
50
51
  "@expo/json-file": "11.0.1",
51
- "expo-module-scripts": "56.0.3",
52
- "@expo/package-manager": "1.13.1"
52
+ "expo-module-scripts": "56.0.3"
53
53
  },
54
- "gitHead": "ad1efa3fa5802156660198ba5d787f91014d8df3",
54
+ "gitHead": "14616b4ffe6167019952be745310f563d15bf68a",
55
55
  "scripts": {
56
56
  "build": "ncc build ./src/index.ts -o build/",
57
57
  "build:prod": "ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register",