ado-npm-auth 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,128 +1,131 @@
1
- var iC=Object.create;var Fh=Object.defineProperty;var sC=Object.getOwnPropertyDescriptor;var oC=Object.getOwnPropertyNames;var aC=Object.getPrototypeOf,uC=Object.prototype.hasOwnProperty;var M=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var F=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var cC=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of oC(t))!uC.call(e,i)&&i!==r&&Fh(e,i,{get:()=>t[i],enumerable:!(n=sC(t,i))||n.enumerable});return e};var kh=(e,t,r)=>(r=e!=null?iC(aC(e)):{},cC(t||!e||!e.__esModule?Fh(r,"default",{value:e,enumerable:!0}):r,e));var Os=F(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});bs.getPackageDependencies=void 0;function lC(e,t,r={withDevDependencies:!0}){let n={...e.dependencies,...r.withDevDependencies&&e.devDependencies,...r.withPeerDependencies&&e.peerDependencies};return Object.keys(t).filter(i=>!!n[i])}bs.getPackageDependencies=lC});var Ph=F(vr=>{"use strict";Object.defineProperty(vr,"__esModule",{value:!0});vr.getTransitiveProviders=vr.getTransitiveConsumers=vr.getDependentMap=void 0;var fC=Os(),La=new Map;function hC(e,t=[]){return JSON.stringify({packages:e,scope:t})}function Na(e,t=[]){let r=hC(e,t);if(La.has(r))return La.get(r);let n=[],i=new Set,s=t.length>0?[...t]:Object.keys(e);for(;s.length>0;){let o=s.pop();if(i.has(o))continue;i.add(o);let a=e[o],u=(0,fC.getPackageDependencies)(a,e);if(u.length>0)for(let c of u)s.push(c),n.push([c,o]);else n.push([null,o])}return La.set(r,n),n}function dC(e){let t=Na(e),r=new Map;for(let[n,i]of t)r.has(i)||r.set(i,new Set),n&&r.get(i).add(n);return r}vr.getDependentMap=dC;function pC(e,t,r=[]){let n=Na(t,r),i=[...e],s=new Set;for(;i.length>0;){let o=i.shift();if(!s.has(o)){s.add(o);for(let[a,u]of n)a===o&&i.push(u)}}return[...s].filter(o=>!e.includes(o))}vr.getTransitiveConsumers=pC;function gC(e,t){let r=Na(t),n=[...e],i=new Set;for(;n.length>0;){let s=n.shift();if(!i.has(s)){i.add(s);for(let[o,a]of r)a===s&&o&&n.push(o)}}return[...i].filter(s=>!e.includes(s))}vr.getTransitiveProviders=gC});var Dh=F(At=>{"use strict";Object.defineProperty(At,"__esModule",{value:!0});At.getInternalDeps=At.getTransitiveConsumers=At.getTransitiveDependents=At.getTransitiveProviders=At.getTransitiveDependencies=void 0;var Rs=Ph();Object.defineProperty(At,"getTransitiveConsumers",{enumerable:!0,get:function(){return Rs.getTransitiveConsumers}});Object.defineProperty(At,"getTransitiveProviders",{enumerable:!0,get:function(){return Rs.getTransitiveProviders}});var mC=Os();At.getTransitiveDependencies=Rs.getTransitiveProviders;At.getTransitiveDependents=Rs.getTransitiveConsumers;At.getInternalDeps=mC.getPackageDependencies});var Th=F(Fs=>{"use strict";Object.defineProperty(Fs,"__esModule",{value:!0});Fs.infoFromPackageJson=void 0;function yC(e,t){return{packageJsonPath:t,...e}}Fs.infoFromPackageJson=yC});var Lh=F((nj,Ih)=>{var Ba=class{constructor(t){this.value=t,this.next=void 0}},$a=class{constructor(){this.clear()}enqueue(t){let r=new Ba(t);this._head?(this._tail.next=r,this._tail=r):(this._head=r,this._tail=r),this._size++}dequeue(){let t=this._head;if(t)return this._head=this._head.next,this._size--,t.value}clear(){this._head=void 0,this._tail=void 0,this._size=0}get size(){return this._size}*[Symbol.iterator](){let t=this._head;for(;t;)yield t.value,t=t.next}};Ih.exports=$a});var Bh=F((ij,Nh)=>{"use strict";var vC=Lh(),EC=e=>{if(!((Number.isInteger(e)||e===1/0)&&e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");let t=new vC,r=0,n=()=>{r--,t.size>0&&t.dequeue()()},i=async(a,u,...c)=>{r++;let f=(async()=>a(...c))();u(f);try{await f}catch{}n()},s=(a,u,...c)=>{t.enqueue(i.bind(null,a,u,...c)),(async()=>(await Promise.resolve(),r<e&&t.size>0&&t.dequeue()()))()},o=(a,...u)=>new Promise(c=>{s(a,c,...u)});return Object.defineProperties(o,{activeCount:{get:()=>r},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),o};Nh.exports=EC});var jh=F((sj,Mh)=>{"use strict";var $h=Bh(),ks=class extends Error{constructor(t){super(),this.value=t}},AC=async(e,t)=>t(await e),SC=async e=>{let t=await Promise.all(e);if(t[1]===!0)throw new ks(t[0]);return!1},wC=async(e,t,r)=>{r={concurrency:1/0,preserveOrder:!0,...r};let n=$h(r.concurrency),i=[...e].map(o=>[o,n(AC,o,t)]),s=$h(r.preserveOrder?1:1/0);try{await Promise.all(i.map(o=>s(SC,o)))}catch(o){if(o instanceof ks)return o.value;throw o}};Mh.exports=wC});var Yh=F((oj,Ma)=>{"use strict";var qh=M("path"),Ps=M("fs"),{promisify:Hh}=M("util"),CC=jh(),_C=Hh(Ps.stat),xC=Hh(Ps.lstat),Gh={directory:"isDirectory",file:"isFile"};function Uh({type:e}){if(!(e in Gh))throw new Error(`Invalid type specified: ${e}`)}var Wh=(e,t)=>e===void 0||t[Gh[e]]();Ma.exports=async(e,t)=>{t={cwd:process.cwd(),type:"file",allowSymlinks:!0,...t},Uh(t);let r=t.allowSymlinks?_C:xC;return CC(e,async n=>{try{let i=await r(qh.resolve(t.cwd,n));return Wh(t.type,i)}catch{return!1}},t)};Ma.exports.sync=(e,t)=>{t={cwd:process.cwd(),allowSymlinks:!0,type:"file",...t},Uh(t);let r=t.allowSymlinks?Ps.statSync:Ps.lstatSync;for(let n of e)try{let i=r(qh.resolve(t.cwd,n));if(Wh(t.type,i))return n}catch{}}});var Vh=F((aj,ja)=>{"use strict";var zh=M("fs"),{promisify:bC}=M("util"),OC=bC(zh.access);ja.exports=async e=>{try{return await OC(e),!0}catch{return!1}};ja.exports.sync=e=>{try{return zh.accessSync(e),!0}catch{return!1}}});var Cn=F((uj,wn)=>{"use strict";var Er=M("path"),Ds=Yh(),Kh=Vh(),qa=Symbol("findUp.stop");wn.exports=async(e,t={})=>{let r=Er.resolve(t.cwd||""),{root:n}=Er.parse(r),i=[].concat(e),s=async o=>{if(typeof e!="function")return Ds(i,o);let a=await e(o.cwd);return typeof a=="string"?Ds([a],o):a};for(;;){let o=await s({...t,cwd:r});if(o===qa)return;if(o)return Er.resolve(r,o);if(r===n)return;r=Er.dirname(r)}};wn.exports.sync=(e,t={})=>{let r=Er.resolve(t.cwd||""),{root:n}=Er.parse(r),i=[].concat(e),s=o=>{if(typeof e!="function")return Ds.sync(i,o);let a=e(o.cwd);return typeof a=="string"?Ds.sync([a],o):a};for(;;){let o=s({...t,cwd:r});if(o===qa)return;if(o)return Er.resolve(r,o);if(r===n)return;r=Er.dirname(r)}};wn.exports.exists=Kh;wn.exports.sync.exists=Kh.sync;wn.exports.stop=qa});var Ts=F(Ar=>{"use strict";var Xh=Ar&&Ar.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ar,"__esModule",{value:!0});Ar.getWorkspaceImplementation=Ar.getWorkspaceImplementationAndLockFile=void 0;var RC=Xh(Cn()),FC=Xh(M("path")),Qh={};function Jh(e,t=Qh){if(t[e])return t[e];let r=RC.default.sync(["lerna.json","rush.json","yarn.lock","pnpm-workspace.yaml","package-lock.json"],{cwd:e});if(r){switch(FC.default.basename(r)){case"lerna.json":t[e]={implementation:"lerna",lockFile:r};break;case"yarn.lock":t[e]={implementation:"yarn",lockFile:r};break;case"pnpm-workspace.yaml":t[e]={implementation:"pnpm",lockFile:r};break;case"rush.json":t[e]={implementation:"rush",lockFile:r};break;case"package-lock.json":t[e]={implementation:"npm",lockFile:r};break}return t[e]}}Ar.getWorkspaceImplementationAndLockFile=Jh;function kC(e,t=Qh){var r;return(r=Jh(e,t))===null||r===void 0?void 0:r.implementation}Ar.getWorkspaceImplementation=kC});var ed=F((lj,Zh)=>{"use strict";Zh.exports=(...e)=>[...new Set([].concat(...e))]});var Ha=F((fj,nd)=>{"use strict";var PC=M("stream"),td=PC.PassThrough,DC=Array.prototype.slice;nd.exports=TC;function TC(){let e=[],t=DC.call(arguments),r=!1,n=t[t.length-1];n&&!Array.isArray(n)&&n.pipe==null?t.pop():n={};let i=n.end!==!1,s=n.pipeError===!0;n.objectMode==null&&(n.objectMode=!0),n.highWaterMark==null&&(n.highWaterMark=64*1024);let o=td(n);function a(){for(let f=0,l=arguments.length;f<l;f++)e.push(rd(arguments[f],n));return u(),this}function u(){if(r)return;r=!0;let f=e.shift();if(!f){process.nextTick(c);return}Array.isArray(f)||(f=[f]);let l=f.length+1;function h(){--l>0||(r=!1,u())}function d(g){function S(){g.removeListener("merge2UnpipeEnd",S),g.removeListener("end",S),s&&g.removeListener("error",w),h()}function w(k){o.emit("error",k)}if(g._readableState.endEmitted)return h();g.on("merge2UnpipeEnd",S),g.on("end",S),s&&g.on("error",w),g.pipe(o,{end:!1}),g.resume()}for(let g=0;g<f.length;g++)d(f[g]);h()}function c(){r=!1,o.emit("queueDrain"),i&&o.end()}return o.setMaxListeners(0),o.add=a,o.on("unpipe",function(f){f.emit("merge2UnpipeEnd")}),t.length&&a.apply(null,t),o}function rd(e,t){if(Array.isArray(e))for(let r=0,n=e.length;r<n;r++)e[r]=rd(e[r],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(td(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}});var id=F(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.splitWhen=_n.flatten=void 0;function IC(e){return e.reduce((t,r)=>[].concat(t,r),[])}_n.flatten=IC;function LC(e,t){let r=[[]],n=0;for(let i of e)t(i)?(n++,r[n]=[]):r[n].push(i);return r}_n.splitWhen=LC});var sd=F(Is=>{"use strict";Object.defineProperty(Is,"__esModule",{value:!0});Is.isEnoentCodeError=void 0;function NC(e){return e.code==="ENOENT"}Is.isEnoentCodeError=NC});var od=F(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});Ls.createDirentFromStats=void 0;var Ga=class{constructor(t,r){this.name=t,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function BC(e,t){return new Ga(e,t)}Ls.createDirentFromStats=BC});var ld=F(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});De.convertPosixPathToPattern=De.convertWindowsPathToPattern=De.convertPathToPattern=De.escapePosixPath=De.escapeWindowsPath=De.escape=De.removeLeadingDotSegment=De.makeAbsolute=De.unixify=void 0;var $C=M("os"),MC=M("path"),ad=$C.platform()==="win32",jC=2,qC=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,HC=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,GC=/^\\\\([.?])/,UC=/\\(?![!()+@[\]{}])/g;function WC(e){return e.replace(/\\/g,"/")}De.unixify=WC;function YC(e,t){return MC.resolve(e,t)}De.makeAbsolute=YC;function zC(e){if(e.charAt(0)==="."){let t=e.charAt(1);if(t==="/"||t==="\\")return e.slice(jC)}return e}De.removeLeadingDotSegment=zC;De.escape=ad?Ua:Wa;function Ua(e){return e.replace(HC,"\\$2")}De.escapeWindowsPath=Ua;function Wa(e){return e.replace(qC,"\\$2")}De.escapePosixPath=Wa;De.convertPathToPattern=ad?ud:cd;function ud(e){return Ua(e).replace(GC,"//$1").replace(UC,"/")}De.convertWindowsPathToPattern=ud;function cd(e){return Wa(e)}De.convertPosixPathToPattern=cd});var hd=F((mj,fd)=>{fd.exports=function(t){if(typeof t!="string"||t==="")return!1;for(var r;r=/(\\).|([@?!+*]\(.*\))/g.exec(t);){if(r[2])return!0;t=t.slice(r.index+r[0].length)}return!1}});var gd=F((yj,pd)=>{var VC=hd(),dd={"{":"}","(":")","[":"]"},KC=function(e){if(e[0]==="!")return!0;for(var t=0,r=-2,n=-2,i=-2,s=-2,o=-2;t<e.length;){if(e[t]==="*"||e[t+1]==="?"&&/[\].+)]/.test(e[t])||n!==-1&&e[t]==="["&&e[t+1]!=="]"&&(n<t&&(n=e.indexOf("]",t)),n>t&&(o===-1||o>n||(o=e.indexOf("\\",t),o===-1||o>n)))||i!==-1&&e[t]==="{"&&e[t+1]!=="}"&&(i=e.indexOf("}",t),i>t&&(o=e.indexOf("\\",t),o===-1||o>i))||s!==-1&&e[t]==="("&&e[t+1]==="?"&&/[:!=]/.test(e[t+2])&&e[t+3]!==")"&&(s=e.indexOf(")",t),s>t&&(o=e.indexOf("\\",t),o===-1||o>s))||r!==-1&&e[t]==="("&&e[t+1]!=="|"&&(r<t&&(r=e.indexOf("|",t)),r!==-1&&e[r+1]!==")"&&(s=e.indexOf(")",r),s>r&&(o=e.indexOf("\\",r),o===-1||o>s))))return!0;if(e[t]==="\\"){var a=e[t+1];t+=2;var u=dd[a];if(u){var c=e.indexOf(u,t);c!==-1&&(t=c+1)}if(e[t]==="!")return!0}else t++}return!1},XC=function(e){if(e[0]==="!")return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if(e[t]==="\\"){var r=e[t+1];t+=2;var n=dd[r];if(n){var i=e.indexOf(n,t);i!==-1&&(t=i+1)}if(e[t]==="!")return!0}else t++}return!1};pd.exports=function(t,r){if(typeof t!="string"||t==="")return!1;if(VC(t))return!0;var n=KC;return r&&r.strict===!1&&(n=XC),n(t)}});var yd=F((vj,md)=>{"use strict";var QC=gd(),JC=M("path").posix.dirname,ZC=M("os").platform()==="win32",Ya="/",e_=/\\/g,t_=/[\{\[].*[\}\]]$/,r_=/(^|[^\\])([\{\[]|\([^\)]+$)/,n_=/\\([\!\*\?\|\[\]\(\)\{\}])/g;md.exports=function(t,r){var n=Object.assign({flipBackslashes:!0},r);n.flipBackslashes&&ZC&&t.indexOf(Ya)<0&&(t=t.replace(e_,Ya)),t_.test(t)&&(t+=Ya),t+="a";do t=JC(t);while(QC(t)||r_.test(t));return t.replace(n_,"$1")}});var Ns=F(St=>{"use strict";St.isInteger=e=>typeof e=="number"?Number.isInteger(e):typeof e=="string"&&e.trim()!==""?Number.isInteger(Number(e)):!1;St.find=(e,t)=>e.nodes.find(r=>r.type===t);St.exceedsLimit=(e,t,r=1,n)=>n===!1||!St.isInteger(e)||!St.isInteger(t)?!1:(Number(t)-Number(e))/Number(r)>=n;St.escapeNode=(e,t=0,r)=>{let n=e.nodes[t];n&&(r&&n.type===r||n.type==="open"||n.type==="close")&&n.escaped!==!0&&(n.value="\\"+n.value,n.escaped=!0)};St.encloseBrace=e=>e.type!=="brace"||e.commas>>0+e.ranges>>0?!1:(e.invalid=!0,!0);St.isInvalidBrace=e=>e.type!=="brace"?!1:e.invalid===!0||e.dollar?!0:!(e.commas>>0+e.ranges>>0)||e.open!==!0||e.close!==!0?(e.invalid=!0,!0):!1;St.isOpenOrClose=e=>e.type==="open"||e.type==="close"?!0:e.open===!0||e.close===!0;St.reduce=e=>e.reduce((t,r)=>(r.type==="text"&&t.push(r.value),r.type==="range"&&(r.type="text"),t),[]);St.flatten=(...e)=>{let t=[],r=n=>{for(let i=0;i<n.length;i++){let s=n[i];if(Array.isArray(s)){r(s);continue}s!==void 0&&t.push(s)}return t};return r(e),t}});var Bs=F((Aj,Ed)=>{"use strict";var vd=Ns();Ed.exports=(e,t={})=>{let r=(n,i={})=>{let s=t.escapeInvalid&&vd.isInvalidBrace(i),o=n.invalid===!0&&t.escapeInvalid===!0,a="";if(n.value)return(s||o)&&vd.isOpenOrClose(n)?"\\"+n.value:n.value;if(n.value)return n.value;if(n.nodes)for(let u of n.nodes)a+=r(u);return a};return r(e)}});var Sd=F((Sj,Ad)=>{"use strict";Ad.exports=function(e){return typeof e=="number"?e-e===0:typeof e=="string"&&e.trim()!==""?Number.isFinite?Number.isFinite(+e):isFinite(+e):!1}});var kd=F((wj,Fd)=>{"use strict";var wd=Sd(),Yr=(e,t,r)=>{if(wd(e)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(t===void 0||e===t)return String(e);if(wd(t)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let n={relaxZeros:!0,...r};typeof n.strictZeros=="boolean"&&(n.relaxZeros=n.strictZeros===!1);let i=String(n.relaxZeros),s=String(n.shorthand),o=String(n.capture),a=String(n.wrap),u=e+":"+t+"="+i+s+o+a;if(Yr.cache.hasOwnProperty(u))return Yr.cache[u].result;let c=Math.min(e,t),f=Math.max(e,t);if(Math.abs(c-f)===1){let S=e+"|"+t;return n.capture?`(${S})`:n.wrap===!1?S:`(?:${S})`}let l=Rd(e)||Rd(t),h={min:e,max:t,a:c,b:f},d=[],g=[];if(l&&(h.isPadded=l,h.maxLen=String(h.max).length),c<0){let S=f<0?Math.abs(f):1;g=Cd(S,Math.abs(c),h,n),c=h.a=0}return f>=0&&(d=Cd(c,f,h,n)),h.negatives=g,h.positives=d,h.result=i_(g,d,n),n.capture===!0?h.result=`(${h.result})`:n.wrap!==!1&&d.length+g.length>1&&(h.result=`(?:${h.result})`),Yr.cache[u]=h,h.result};function i_(e,t,r){let n=za(e,t,"-",!1,r)||[],i=za(t,e,"",!1,r)||[],s=za(e,t,"-?",!0,r)||[];return n.concat(s).concat(i).join("|")}function s_(e,t){let r=1,n=1,i=xd(e,r),s=new Set([t]);for(;e<=i&&i<=t;)s.add(i),r+=1,i=xd(e,r);for(i=bd(t+1,n)-1;e<i&&i<=t;)s.add(i),n+=1,i=bd(t+1,n)-1;return s=[...s],s.sort(u_),s}function o_(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=a_(e,t),i=n.length,s="",o=0;for(let a=0;a<i;a++){let[u,c]=n[a];u===c?s+=u:u!=="0"||c!=="9"?s+=c_(u,c,r):o++}return o&&(s+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:s,count:[o],digits:i}}function Cd(e,t,r,n){let i=s_(e,t),s=[],o=e,a;for(let u=0;u<i.length;u++){let c=i[u],f=o_(String(o),String(c),n),l="";if(!r.isPadded&&a&&a.pattern===f.pattern){a.count.length>1&&a.count.pop(),a.count.push(f.count[0]),a.string=a.pattern+Od(a.count),o=c+1;continue}r.isPadded&&(l=l_(c,r,n)),f.string=l+f.pattern+Od(f.count),s.push(f),o=c+1,a=f}return s}function za(e,t,r,n,i){let s=[];for(let o of e){let{string:a}=o;!n&&!_d(t,"string",a)&&s.push(r+a),n&&_d(t,"string",a)&&s.push(r+a)}return s}function a_(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}function u_(e,t){return e>t?1:t>e?-1:0}function _d(e,t,r){return e.some(n=>n[t]===r)}function xd(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function bd(e,t){return e-e%Math.pow(10,t)}function Od(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function c_(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function Rd(e){return/^-?(0+)\d/.test(e)}function l_(e,t,r){if(!t.isPadded)return e;let n=Math.abs(t.maxLen-String(e).length),i=r.relaxZeros!==!1;switch(n){case 0:return"";case 1:return i?"0?":"0";case 2:return i?"0{0,2}":"00";default:return i?`0{0,${n}}`:`0{${n}}`}}Yr.cache={};Yr.clearCache=()=>Yr.cache={};Fd.exports=Yr});var Xa=F((Cj,Bd)=>{"use strict";var f_=M("util"),Dd=kd(),Pd=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),h_=e=>t=>e===!0?Number(t):String(t),Va=e=>typeof e=="number"||typeof e=="string"&&e!=="",_i=e=>Number.isInteger(+e),Ka=e=>{let t=`${e}`,r=-1;if(t[0]==="-"&&(t=t.slice(1)),t==="0")return!1;for(;t[++r]==="0";);return r>0},d_=(e,t,r)=>typeof e=="string"||typeof t=="string"?!0:r.stringify===!0,p_=(e,t,r)=>{if(t>0){let n=e[0]==="-"?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return r===!1?String(e):e},Ms=(e,t)=>{let r=e[0]==="-"?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},g_=(e,t,r)=>{e.negatives.sort((a,u)=>a<u?-1:a>u?1:0),e.positives.sort((a,u)=>a<u?-1:a>u?1:0);let n=t.capture?"":"?:",i="",s="",o;return e.positives.length&&(i=e.positives.map(a=>Ms(String(a),r)).join("|")),e.negatives.length&&(s=`-(${n}${e.negatives.map(a=>Ms(String(a),r)).join("|")})`),i&&s?o=`${i}|${s}`:o=i||s,t.wrap?`(${n}${o})`:o},Td=(e,t,r,n)=>{if(r)return Dd(e,t,{wrap:!1,...n});let i=String.fromCharCode(e);if(e===t)return i;let s=String.fromCharCode(t);return`[${i}-${s}]`},Id=(e,t,r)=>{if(Array.isArray(e)){let n=r.wrap===!0,i=r.capture?"":"?:";return n?`(${i}${e.join("|")})`:e.join("|")}return Dd(e,t,r)},Ld=(...e)=>new RangeError("Invalid range arguments: "+f_.inspect(...e)),Nd=(e,t,r)=>{if(r.strictRanges===!0)throw Ld([e,t]);return[]},m_=(e,t)=>{if(t.strictRanges===!0)throw new TypeError(`Expected step "${e}" to be a number`);return[]},y_=(e,t,r=1,n={})=>{let i=Number(e),s=Number(t);if(!Number.isInteger(i)||!Number.isInteger(s)){if(n.strictRanges===!0)throw Ld([e,t]);return[]}i===0&&(i=0),s===0&&(s=0);let o=i>s,a=String(e),u=String(t),c=String(r);r=Math.max(Math.abs(r),1);let f=Ka(a)||Ka(u)||Ka(c),l=f?Math.max(a.length,u.length,c.length):0,h=f===!1&&d_(e,t,n)===!1,d=n.transform||h_(h);if(n.toRegex&&r===1)return Td(Ms(e,l),Ms(t,l),!0,n);let g={negatives:[],positives:[]},S=_=>g[_<0?"negatives":"positives"].push(Math.abs(_)),w=[],k=0;for(;o?i>=s:i<=s;)n.toRegex===!0&&r>1?S(i):w.push(p_(d(i,k),l,h)),i=o?i-r:i+r,k++;return n.toRegex===!0?r>1?g_(g,n,l):Id(w,null,{wrap:!1,...n}):w},v_=(e,t,r=1,n={})=>{if(!_i(e)&&e.length>1||!_i(t)&&t.length>1)return Nd(e,t,n);let i=n.transform||(h=>String.fromCharCode(h)),s=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),a=s>o,u=Math.min(s,o),c=Math.max(s,o);if(n.toRegex&&r===1)return Td(u,c,!1,n);let f=[],l=0;for(;a?s>=o:s<=o;)f.push(i(s,l)),s=a?s-r:s+r,l++;return n.toRegex===!0?Id(f,null,{wrap:!1,options:n}):f},$s=(e,t,r,n={})=>{if(t==null&&Va(e))return[e];if(!Va(e)||!Va(t))return Nd(e,t,n);if(typeof r=="function")return $s(e,t,1,{transform:r});if(Pd(r))return $s(e,t,0,r);let i={...n};return i.capture===!0&&(i.wrap=!0),r=r||i.step||1,_i(r)?_i(e)&&_i(t)?y_(e,t,r,i):v_(e,t,Math.max(Math.abs(r),1),i):r!=null&&!Pd(r)?m_(r,i):$s(e,t,1,r)};Bd.exports=$s});var jd=F((_j,Md)=>{"use strict";var E_=Xa(),$d=Ns(),A_=(e,t={})=>{let r=(n,i={})=>{let s=$d.isInvalidBrace(i),o=n.invalid===!0&&t.escapeInvalid===!0,a=s===!0||o===!0,u=t.escapeInvalid===!0?"\\":"",c="";if(n.isOpen===!0)return u+n.value;if(n.isClose===!0)return console.log("node.isClose",u,n.value),u+n.value;if(n.type==="open")return a?u+n.value:"(";if(n.type==="close")return a?u+n.value:")";if(n.type==="comma")return n.prev.type==="comma"?"":a?n.value:"|";if(n.value)return n.value;if(n.nodes&&n.ranges>0){let f=$d.reduce(n.nodes),l=E_(...f,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(l.length!==0)return f.length>1&&l.length>1?`(${l})`:l}if(n.nodes)for(let f of n.nodes)c+=r(f,n);return c};return r(e)};Md.exports=A_});var Gd=F((xj,Hd)=>{"use strict";var S_=Xa(),qd=Bs(),xn=Ns(),zr=(e="",t="",r=!1)=>{let n=[];if(e=[].concat(e),t=[].concat(t),!t.length)return e;if(!e.length)return r?xn.flatten(t).map(i=>`{${i}}`):t;for(let i of e)if(Array.isArray(i))for(let s of i)n.push(zr(s,t,r));else for(let s of t)r===!0&&typeof s=="string"&&(s=`{${s}}`),n.push(Array.isArray(s)?zr(i,s,r):i+s);return xn.flatten(n)},w_=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit,n=(i,s={})=>{i.queue=[];let o=s,a=s.queue;for(;o.type!=="brace"&&o.type!=="root"&&o.parent;)o=o.parent,a=o.queue;if(i.invalid||i.dollar){a.push(zr(a.pop(),qd(i,t)));return}if(i.type==="brace"&&i.invalid!==!0&&i.nodes.length===2){a.push(zr(a.pop(),["{}"]));return}if(i.nodes&&i.ranges>0){let l=xn.reduce(i.nodes);if(xn.exceedsLimit(...l,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let h=S_(...l,t);h.length===0&&(h=qd(i,t)),a.push(zr(a.pop(),h)),i.nodes=[];return}let u=xn.encloseBrace(i),c=i.queue,f=i;for(;f.type!=="brace"&&f.type!=="root"&&f.parent;)f=f.parent,c=f.queue;for(let l=0;l<i.nodes.length;l++){let h=i.nodes[l];if(h.type==="comma"&&i.type==="brace"){l===1&&c.push(""),c.push("");continue}if(h.type==="close"){a.push(zr(a.pop(),c,u));continue}if(h.value&&h.type!=="open"){c.push(zr(c.pop(),h.value));continue}h.nodes&&n(h,i)}return c};return xn.flatten(n(e))};Hd.exports=w_});var Wd=F((bj,Ud)=>{"use strict";Ud.exports={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
2
- `,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var Xd=F((Oj,Kd)=>{"use strict";var C_=Bs(),{MAX_LENGTH:Yd,CHAR_BACKSLASH:Qa,CHAR_BACKTICK:__,CHAR_COMMA:x_,CHAR_DOT:b_,CHAR_LEFT_PARENTHESES:O_,CHAR_RIGHT_PARENTHESES:R_,CHAR_LEFT_CURLY_BRACE:F_,CHAR_RIGHT_CURLY_BRACE:k_,CHAR_LEFT_SQUARE_BRACKET:zd,CHAR_RIGHT_SQUARE_BRACKET:Vd,CHAR_DOUBLE_QUOTE:P_,CHAR_SINGLE_QUOTE:D_,CHAR_NO_BREAK_SPACE:T_,CHAR_ZERO_WIDTH_NOBREAK_SPACE:I_}=Wd(),L_=(e,t={})=>{if(typeof e!="string")throw new TypeError("Expected a string");let r=t||{},n=typeof r.maxLength=="number"?Math.min(Yd,r.maxLength):Yd;if(e.length>n)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${n})`);let i={type:"root",input:e,nodes:[]},s=[i],o=i,a=i,u=0,c=e.length,f=0,l=0,h,d=()=>e[f++],g=S=>{if(S.type==="text"&&a.type==="dot"&&(a.type="text"),a&&a.type==="text"&&S.type==="text"){a.value+=S.value;return}return o.nodes.push(S),S.parent=o,S.prev=a,a=S,S};for(g({type:"bos"});f<c;)if(o=s[s.length-1],h=d(),!(h===I_||h===T_)){if(h===Qa){g({type:"text",value:(t.keepEscaping?h:"")+d()});continue}if(h===Vd){g({type:"text",value:"\\"+h});continue}if(h===zd){u++;let S;for(;f<c&&(S=d());){if(h+=S,S===zd){u++;continue}if(S===Qa){h+=d();continue}if(S===Vd&&(u--,u===0))break}g({type:"text",value:h});continue}if(h===O_){o=g({type:"paren",nodes:[]}),s.push(o),g({type:"text",value:h});continue}if(h===R_){if(o.type!=="paren"){g({type:"text",value:h});continue}o=s.pop(),g({type:"text",value:h}),o=s[s.length-1];continue}if(h===P_||h===D_||h===__){let S=h,w;for(t.keepQuotes!==!0&&(h="");f<c&&(w=d());){if(w===Qa){h+=w+d();continue}if(w===S){t.keepQuotes===!0&&(h+=w);break}h+=w}g({type:"text",value:h});continue}if(h===F_){l++;let w={type:"brace",open:!0,close:!1,dollar:a.value&&a.value.slice(-1)==="$"||o.dollar===!0,depth:l,commas:0,ranges:0,nodes:[]};o=g(w),s.push(o),g({type:"open",value:h});continue}if(h===k_){if(o.type!=="brace"){g({type:"text",value:h});continue}let S="close";o=s.pop(),o.close=!0,g({type:S,value:h}),l--,o=s[s.length-1];continue}if(h===x_&&l>0){if(o.ranges>0){o.ranges=0;let S=o.nodes.shift();o.nodes=[S,{type:"text",value:C_(o)}]}g({type:"comma",value:h}),o.commas++;continue}if(h===b_&&l>0&&o.commas===0){let S=o.nodes;if(l===0||S.length===0){g({type:"text",value:h});continue}if(a.type==="dot"){if(o.range=[],a.value+=h,a.type="range",o.nodes.length!==3&&o.nodes.length!==5){o.invalid=!0,o.ranges=0,a.type="text";continue}o.ranges++,o.args=[];continue}if(a.type==="range"){S.pop();let w=S[S.length-1];w.value+=a.value+h,a=w,o.ranges--;continue}g({type:"dot",value:h});continue}g({type:"text",value:h})}do if(o=s.pop(),o.type!=="root"){o.nodes.forEach(k=>{k.nodes||(k.type==="open"&&(k.isOpen=!0),k.type==="close"&&(k.isClose=!0),k.nodes||(k.type="text"),k.invalid=!0)});let S=s[s.length-1],w=S.nodes.indexOf(o);S.nodes.splice(w,1,...o.nodes)}while(s.length>0);return g({type:"eos"}),i};Kd.exports=L_});var Zd=F((Rj,Jd)=>{"use strict";var Qd=Bs(),N_=jd(),B_=Gd(),$_=Xd(),mt=(e,t={})=>{let r=[];if(Array.isArray(e))for(let n of e){let i=mt.create(n,t);Array.isArray(i)?r.push(...i):r.push(i)}else r=[].concat(mt.create(e,t));return t&&t.expand===!0&&t.nodupes===!0&&(r=[...new Set(r)]),r};mt.parse=(e,t={})=>$_(e,t);mt.stringify=(e,t={})=>Qd(typeof e=="string"?mt.parse(e,t):e,t);mt.compile=(e,t={})=>(typeof e=="string"&&(e=mt.parse(e,t)),N_(e,t));mt.expand=(e,t={})=>{typeof e=="string"&&(e=mt.parse(e,t));let r=B_(e,t);return t.noempty===!0&&(r=r.filter(Boolean)),t.nodupes===!0&&(r=[...new Set(r)]),r};mt.create=(e,t={})=>e===""||e.length<3?[e]:t.expand!==!0?mt.compile(e,t):mt.expand(e,t);Jd.exports=mt});var xi=F((Fj,ip)=>{"use strict";var M_=M("path"),jt="\\\\/",ep=`[^${jt}]`,Jt="\\.",j_="\\+",q_="\\?",js="\\/",H_="(?=.)",tp="[^/]",Ja=`(?:${js}|$)`,rp=`(?:^|${js})`,Za=`${Jt}{1,2}${Ja}`,G_=`(?!${Jt})`,U_=`(?!${rp}${Za})`,W_=`(?!${Jt}{0,1}${Ja})`,Y_=`(?!${Za})`,z_=`[^.${js}]`,V_=`${tp}*?`,np={DOT_LITERAL:Jt,PLUS_LITERAL:j_,QMARK_LITERAL:q_,SLASH_LITERAL:js,ONE_CHAR:H_,QMARK:tp,END_ANCHOR:Ja,DOTS_SLASH:Za,NO_DOT:G_,NO_DOTS:U_,NO_DOT_SLASH:W_,NO_DOTS_SLASH:Y_,QMARK_NO_DOT:z_,STAR:V_,START_ANCHOR:rp},K_={...np,SLASH_LITERAL:`[${jt}]`,QMARK:ep,STAR:`${ep}*?`,DOTS_SLASH:`${Jt}{1,2}(?:[${jt}]|$)`,NO_DOT:`(?!${Jt})`,NO_DOTS:`(?!(?:^|[${jt}])${Jt}{1,2}(?:[${jt}]|$))`,NO_DOT_SLASH:`(?!${Jt}{0,1}(?:[${jt}]|$))`,NO_DOTS_SLASH:`(?!${Jt}{1,2}(?:[${jt}]|$))`,QMARK_NO_DOT:`[^.${jt}]`,START_ANCHOR:`(?:^|[${jt}])`,END_ANCHOR:`(?:[${jt}]|$)`},X_={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};ip.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:X_,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:M_.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===!0?K_:np}}});var bi=F(st=>{"use strict";var Q_=M("path"),J_=process.platform==="win32",{REGEX_BACKSLASH:Z_,REGEX_REMOVE_BACKSLASH:ex,REGEX_SPECIAL_CHARS:tx,REGEX_SPECIAL_CHARS_GLOBAL:rx}=xi();st.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);st.hasRegexChars=e=>tx.test(e);st.isRegexChar=e=>e.length===1&&st.hasRegexChars(e);st.escapeRegex=e=>e.replace(rx,"\\$1");st.toPosixSlashes=e=>e.replace(Z_,"/");st.removeBackslashes=e=>e.replace(ex,t=>t==="\\"?"":t);st.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".").map(Number);return e.length===3&&e[0]>=9||e[0]===8&&e[1]>=10};st.isWindows=e=>e&&typeof e.windows=="boolean"?e.windows:J_===!0||Q_.sep==="\\";st.escapeLast=(e,t,r)=>{let n=e.lastIndexOf(t,r);return n===-1?e:e[n-1]==="\\"?st.escapeLast(e,t,n-1):`${e.slice(0,n)}\\${e.slice(n)}`};st.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r};st.wrapOutput=(e,t={},r={})=>{let n=r.contains?"":"^",i=r.contains?"":"$",s=`${n}(?:${e})${i}`;return t.negated===!0&&(s=`(?:^(?!${s}).*$)`),s}});var hp=F((Pj,fp)=>{"use strict";var sp=bi(),{CHAR_ASTERISK:eu,CHAR_AT:nx,CHAR_BACKWARD_SLASH:Oi,CHAR_COMMA:ix,CHAR_DOT:tu,CHAR_EXCLAMATION_MARK:ru,CHAR_FORWARD_SLASH:lp,CHAR_LEFT_CURLY_BRACE:nu,CHAR_LEFT_PARENTHESES:iu,CHAR_LEFT_SQUARE_BRACKET:sx,CHAR_PLUS:ox,CHAR_QUESTION_MARK:op,CHAR_RIGHT_CURLY_BRACE:ax,CHAR_RIGHT_PARENTHESES:ap,CHAR_RIGHT_SQUARE_BRACKET:ux}=xi(),up=e=>e===lp||e===Oi,cp=e=>{e.isPrefix!==!0&&(e.depth=e.isGlobstar?1/0:1)},cx=(e,t)=>{let r=t||{},n=e.length-1,i=r.parts===!0||r.scanToEnd===!0,s=[],o=[],a=[],u=e,c=-1,f=0,l=0,h=!1,d=!1,g=!1,S=!1,w=!1,k=!1,_=!1,N=!1,D=!1,A=!1,R=0,b,O,T={value:"",depth:0,isGlob:!1},x=()=>c>=n,p=()=>u.charCodeAt(c+1),m=()=>(b=O,u.charCodeAt(++c));for(;c<n;){O=m();let P;if(O===Oi){_=T.backslashes=!0,O=m(),O===nu&&(k=!0);continue}if(k===!0||O===nu){for(R++;x()!==!0&&(O=m());){if(O===Oi){_=T.backslashes=!0,m();continue}if(O===nu){R++;continue}if(k!==!0&&O===tu&&(O=m())===tu){if(h=T.isBrace=!0,g=T.isGlob=!0,A=!0,i===!0)continue;break}if(k!==!0&&O===ix){if(h=T.isBrace=!0,g=T.isGlob=!0,A=!0,i===!0)continue;break}if(O===ax&&(R--,R===0)){k=!1,h=T.isBrace=!0,A=!0;break}}if(i===!0)continue;break}if(O===lp){if(s.push(c),o.push(T),T={value:"",depth:0,isGlob:!1},A===!0)continue;if(b===tu&&c===f+1){f+=2;continue}l=c+1;continue}if(r.noext!==!0&&(O===ox||O===nx||O===eu||O===op||O===ru)===!0&&p()===iu){if(g=T.isGlob=!0,S=T.isExtglob=!0,A=!0,O===ru&&c===f&&(D=!0),i===!0){for(;x()!==!0&&(O=m());){if(O===Oi){_=T.backslashes=!0,O=m();continue}if(O===ap){g=T.isGlob=!0,A=!0;break}}continue}break}if(O===eu){if(b===eu&&(w=T.isGlobstar=!0),g=T.isGlob=!0,A=!0,i===!0)continue;break}if(O===op){if(g=T.isGlob=!0,A=!0,i===!0)continue;break}if(O===sx){for(;x()!==!0&&(P=m());){if(P===Oi){_=T.backslashes=!0,m();continue}if(P===ux){d=T.isBracket=!0,g=T.isGlob=!0,A=!0;break}}if(i===!0)continue;break}if(r.nonegate!==!0&&O===ru&&c===f){N=T.negated=!0,f++;continue}if(r.noparen!==!0&&O===iu){if(g=T.isGlob=!0,i===!0){for(;x()!==!0&&(O=m());){if(O===iu){_=T.backslashes=!0,O=m();continue}if(O===ap){A=!0;break}}continue}break}if(g===!0){if(A=!0,i===!0)continue;break}}r.noext===!0&&(S=!1,g=!1);let E=u,C="",y="";f>0&&(C=u.slice(0,f),u=u.slice(f),l-=f),E&&g===!0&&l>0?(E=u.slice(0,l),y=u.slice(l)):g===!0?(E="",y=u):E=u,E&&E!==""&&E!=="/"&&E!==u&&up(E.charCodeAt(E.length-1))&&(E=E.slice(0,-1)),r.unescape===!0&&(y&&(y=sp.removeBackslashes(y)),E&&_===!0&&(E=sp.removeBackslashes(E)));let v={prefix:C,input:e,start:f,base:E,glob:y,isBrace:h,isBracket:d,isGlob:g,isExtglob:S,isGlobstar:w,negated:N,negatedExtglob:D};if(r.tokens===!0&&(v.maxDepth=0,up(O)||o.push(T),v.tokens=o),r.parts===!0||r.tokens===!0){let P;for(let I=0;I<s.length;I++){let L=P?P+1:f,$=s[I],U=e.slice(L,$);r.tokens&&(I===0&&f!==0?(o[I].isPrefix=!0,o[I].value=C):o[I].value=U,cp(o[I]),v.maxDepth+=o[I].depth),(I!==0||U!=="")&&a.push(U),P=$}if(P&&P+1<e.length){let I=e.slice(P+1);a.push(I),r.tokens&&(o[o.length-1].value=I,cp(o[o.length-1]),v.maxDepth+=o[o.length-1].depth)}v.slashes=s,v.parts=a}return v};fp.exports=cx});var gp=F((Dj,pp)=>{"use strict";var qs=xi(),yt=bi(),{MAX_LENGTH:Hs,POSIX_REGEX_SOURCE:lx,REGEX_NON_SPECIAL_CHARS:fx,REGEX_SPECIAL_CHARS_BACKREF:hx,REPLACEMENTS:dp}=qs,dx=(e,t)=>{if(typeof t.expandRange=="function")return t.expandRange(...e,t);e.sort();let r=`[${e.join("-")}]`;try{new RegExp(r)}catch{return e.map(i=>yt.escapeRegex(i)).join("..")}return r},bn=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,su=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");e=dp[e]||e;let r={...t},n=typeof r.maxLength=="number"?Math.min(Hs,r.maxLength):Hs,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);let s={type:"bos",value:"",output:r.prepend||""},o=[s],a=r.capture?"":"?:",u=yt.isWindows(t),c=qs.globChars(u),f=qs.extglobChars(c),{DOT_LITERAL:l,PLUS_LITERAL:h,SLASH_LITERAL:d,ONE_CHAR:g,DOTS_SLASH:S,NO_DOT:w,NO_DOT_SLASH:k,NO_DOTS_SLASH:_,QMARK:N,QMARK_NO_DOT:D,STAR:A,START_ANCHOR:R}=c,b=q=>`(${a}(?:(?!${R}${q.dot?S:l}).)*?)`,O=r.dot?"":w,T=r.dot?N:D,x=r.bash===!0?b(r):A;r.capture&&(x=`(${x})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let p={input:e,index:-1,start:0,dot:r.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:o};e=yt.removePrefix(e,p),i=e.length;let m=[],E=[],C=[],y=s,v,P=()=>p.index===i-1,I=p.peek=(q=1)=>e[p.index+q],L=p.advance=()=>e[++p.index]||"",$=()=>e.slice(p.index+1),U=(q="",ie=0)=>{p.consumed+=q,p.index+=ie},z=q=>{p.output+=q.output!=null?q.output:q.value,U(q.value)},oe=()=>{let q=1;for(;I()==="!"&&(I(2)!=="("||I(3)==="?");)L(),p.start++,q++;return q%2===0?!1:(p.negated=!0,p.start++,!0)},H=q=>{p[q]++,C.push(q)},B=q=>{p[q]--,C.pop()},j=q=>{if(y.type==="globstar"){let ie=p.braces>0&&(q.type==="comma"||q.type==="brace"),G=q.extglob===!0||m.length&&(q.type==="pipe"||q.type==="paren");q.type!=="slash"&&q.type!=="paren"&&!ie&&!G&&(p.output=p.output.slice(0,-y.output.length),y.type="star",y.value="*",y.output=x,p.output+=y.output)}if(m.length&&q.type!=="paren"&&(m[m.length-1].inner+=q.value),(q.value||q.output)&&z(q),y&&y.type==="text"&&q.type==="text"){y.value+=q.value,y.output=(y.output||"")+q.value;return}q.prev=y,o.push(q),y=q},te=(q,ie)=>{let G={...f[ie],conditions:1,inner:""};G.prev=y,G.parens=p.parens,G.output=p.output;let ne=(r.capture?"(":"")+G.open;H("parens"),j({type:q,value:ie,output:p.output?"":g}),j({type:"paren",extglob:!0,value:L(),output:ne}),m.push(G)},re=q=>{let ie=q.close+(r.capture?")":""),G;if(q.type==="negate"){let ne=x;if(q.inner&&q.inner.length>1&&q.inner.includes("/")&&(ne=b(r)),(ne!==x||P()||/^\)+$/.test($()))&&(ie=q.close=`)$))${ne}`),q.inner.includes("*")&&(G=$())&&/^\.[^\\/.]+$/.test(G)){let ce=su(G,{...t,fastpaths:!1}).output;ie=q.close=`)${ce})${ne})`}q.prev.type==="bos"&&(p.negatedExtglob=!0)}j({type:"paren",extglob:!0,value:v,output:ie}),B("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(e)){let q=!1,ie=e.replace(hx,(G,ne,ce,Ee,fe,Re)=>Ee==="\\"?(q=!0,G):Ee==="?"?ne?ne+Ee+(fe?N.repeat(fe.length):""):Re===0?T+(fe?N.repeat(fe.length):""):N.repeat(ce.length):Ee==="."?l.repeat(ce.length):Ee==="*"?ne?ne+Ee+(fe?x:""):x:ne?G:`\\${G}`);return q===!0&&(r.unescape===!0?ie=ie.replace(/\\/g,""):ie=ie.replace(/\\+/g,G=>G.length%2===0?"\\\\":G?"\\":"")),ie===e&&r.contains===!0?(p.output=e,p):(p.output=yt.wrapOutput(ie,p,t),p)}for(;!P();){if(v=L(),v==="\0")continue;if(v==="\\"){let G=I();if(G==="/"&&r.bash!==!0||G==="."||G===";")continue;if(!G){v+="\\",j({type:"text",value:v});continue}let ne=/^\\+/.exec($()),ce=0;if(ne&&ne[0].length>2&&(ce=ne[0].length,p.index+=ce,ce%2!==0&&(v+="\\")),r.unescape===!0?v=L():v+=L(),p.brackets===0){j({type:"text",value:v});continue}}if(p.brackets>0&&(v!=="]"||y.value==="["||y.value==="[^")){if(r.posix!==!1&&v===":"){let G=y.value.slice(1);if(G.includes("[")&&(y.posix=!0,G.includes(":"))){let ne=y.value.lastIndexOf("["),ce=y.value.slice(0,ne),Ee=y.value.slice(ne+2),fe=lx[Ee];if(fe){y.value=ce+fe,p.backtrack=!0,L(),!s.output&&o.indexOf(y)===1&&(s.output=g);continue}}}(v==="["&&I()!==":"||v==="-"&&I()==="]")&&(v=`\\${v}`),v==="]"&&(y.value==="["||y.value==="[^")&&(v=`\\${v}`),r.posix===!0&&v==="!"&&y.value==="["&&(v="^"),y.value+=v,z({value:v});continue}if(p.quotes===1&&v!=='"'){v=yt.escapeRegex(v),y.value+=v,z({value:v});continue}if(v==='"'){p.quotes=p.quotes===1?0:1,r.keepQuotes===!0&&j({type:"text",value:v});continue}if(v==="("){H("parens"),j({type:"paren",value:v});continue}if(v===")"){if(p.parens===0&&r.strictBrackets===!0)throw new SyntaxError(bn("opening","("));let G=m[m.length-1];if(G&&p.parens===G.parens+1){re(m.pop());continue}j({type:"paren",value:v,output:p.parens?")":"\\)"}),B("parens");continue}if(v==="["){if(r.nobracket===!0||!$().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(bn("closing","]"));v=`\\${v}`}else H("brackets");j({type:"bracket",value:v});continue}if(v==="]"){if(r.nobracket===!0||y&&y.type==="bracket"&&y.value.length===1){j({type:"text",value:v,output:`\\${v}`});continue}if(p.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(bn("opening","["));j({type:"text",value:v,output:`\\${v}`});continue}B("brackets");let G=y.value.slice(1);if(y.posix!==!0&&G[0]==="^"&&!G.includes("/")&&(v=`/${v}`),y.value+=v,z({value:v}),r.literalBrackets===!1||yt.hasRegexChars(G))continue;let ne=yt.escapeRegex(y.value);if(p.output=p.output.slice(0,-y.value.length),r.literalBrackets===!0){p.output+=ne,y.value=ne;continue}y.value=`(${a}${ne}|${y.value})`,p.output+=y.value;continue}if(v==="{"&&r.nobrace!==!0){H("braces");let G={type:"brace",value:v,output:"(",outputIndex:p.output.length,tokensIndex:p.tokens.length};E.push(G),j(G);continue}if(v==="}"){let G=E[E.length-1];if(r.nobrace===!0||!G){j({type:"text",value:v,output:v});continue}let ne=")";if(G.dots===!0){let ce=o.slice(),Ee=[];for(let fe=ce.length-1;fe>=0&&(o.pop(),ce[fe].type!=="brace");fe--)ce[fe].type!=="dots"&&Ee.unshift(ce[fe].value);ne=dx(Ee,r),p.backtrack=!0}if(G.comma!==!0&&G.dots!==!0){let ce=p.output.slice(0,G.outputIndex),Ee=p.tokens.slice(G.tokensIndex);G.value=G.output="\\{",v=ne="\\}",p.output=ce;for(let fe of Ee)p.output+=fe.output||fe.value}j({type:"brace",value:v,output:ne}),B("braces"),E.pop();continue}if(v==="|"){m.length>0&&m[m.length-1].conditions++,j({type:"text",value:v});continue}if(v===","){let G=v,ne=E[E.length-1];ne&&C[C.length-1]==="braces"&&(ne.comma=!0,G="|"),j({type:"comma",value:v,output:G});continue}if(v==="/"){if(y.type==="dot"&&p.index===p.start+1){p.start=p.index+1,p.consumed="",p.output="",o.pop(),y=s;continue}j({type:"slash",value:v,output:d});continue}if(v==="."){if(p.braces>0&&y.type==="dot"){y.value==="."&&(y.output=l);let G=E[E.length-1];y.type="dots",y.output+=v,y.value+=v,G.dots=!0;continue}if(p.braces+p.parens===0&&y.type!=="bos"&&y.type!=="slash"){j({type:"text",value:v,output:l});continue}j({type:"dot",value:v,output:l});continue}if(v==="?"){if(!(y&&y.value==="(")&&r.noextglob!==!0&&I()==="("&&I(2)!=="?"){te("qmark",v);continue}if(y&&y.type==="paren"){let ne=I(),ce=v;if(ne==="<"&&!yt.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(y.value==="("&&!/[!=<:]/.test(ne)||ne==="<"&&!/<([!=]|\w+>)/.test($()))&&(ce=`\\${v}`),j({type:"text",value:v,output:ce});continue}if(r.dot!==!0&&(y.type==="slash"||y.type==="bos")){j({type:"qmark",value:v,output:D});continue}j({type:"qmark",value:v,output:N});continue}if(v==="!"){if(r.noextglob!==!0&&I()==="("&&(I(2)!=="?"||!/[!=<:]/.test(I(3)))){te("negate",v);continue}if(r.nonegate!==!0&&p.index===0){oe();continue}}if(v==="+"){if(r.noextglob!==!0&&I()==="("&&I(2)!=="?"){te("plus",v);continue}if(y&&y.value==="("||r.regex===!1){j({type:"plus",value:v,output:h});continue}if(y&&(y.type==="bracket"||y.type==="paren"||y.type==="brace")||p.parens>0){j({type:"plus",value:v});continue}j({type:"plus",value:h});continue}if(v==="@"){if(r.noextglob!==!0&&I()==="("&&I(2)!=="?"){j({type:"at",extglob:!0,value:v,output:""});continue}j({type:"text",value:v});continue}if(v!=="*"){(v==="$"||v==="^")&&(v=`\\${v}`);let G=fx.exec($());G&&(v+=G[0],p.index+=G[0].length),j({type:"text",value:v});continue}if(y&&(y.type==="globstar"||y.star===!0)){y.type="star",y.star=!0,y.value+=v,y.output=x,p.backtrack=!0,p.globstar=!0,U(v);continue}let q=$();if(r.noextglob!==!0&&/^\([^?]/.test(q)){te("star",v);continue}if(y.type==="star"){if(r.noglobstar===!0){U(v);continue}let G=y.prev,ne=G.prev,ce=G.type==="slash"||G.type==="bos",Ee=ne&&(ne.type==="star"||ne.type==="globstar");if(r.bash===!0&&(!ce||q[0]&&q[0]!=="/")){j({type:"star",value:v,output:""});continue}let fe=p.braces>0&&(G.type==="comma"||G.type==="brace"),Re=m.length&&(G.type==="pipe"||G.type==="paren");if(!ce&&G.type!=="paren"&&!fe&&!Re){j({type:"star",value:v,output:""});continue}for(;q.slice(0,3)==="/**";){let xe=e[p.index+4];if(xe&&xe!=="/")break;q=q.slice(3),U("/**",3)}if(G.type==="bos"&&P()){y.type="globstar",y.value+=v,y.output=b(r),p.output=y.output,p.globstar=!0,U(v);continue}if(G.type==="slash"&&G.prev.type!=="bos"&&!Ee&&P()){p.output=p.output.slice(0,-(G.output+y.output).length),G.output=`(?:${G.output}`,y.type="globstar",y.output=b(r)+(r.strictSlashes?")":"|$)"),y.value+=v,p.globstar=!0,p.output+=G.output+y.output,U(v);continue}if(G.type==="slash"&&G.prev.type!=="bos"&&q[0]==="/"){let xe=q[1]!==void 0?"|$":"";p.output=p.output.slice(0,-(G.output+y.output).length),G.output=`(?:${G.output}`,y.type="globstar",y.output=`${b(r)}${d}|${d}${xe})`,y.value+=v,p.output+=G.output+y.output,p.globstar=!0,U(v+L()),j({type:"slash",value:"/",output:""});continue}if(G.type==="bos"&&q[0]==="/"){y.type="globstar",y.value+=v,y.output=`(?:^|${d}|${b(r)}${d})`,p.output=y.output,p.globstar=!0,U(v+L()),j({type:"slash",value:"/",output:""});continue}p.output=p.output.slice(0,-y.output.length),y.type="globstar",y.output=b(r),y.value+=v,p.output+=y.output,p.globstar=!0,U(v);continue}let ie={type:"star",value:v,output:x};if(r.bash===!0){ie.output=".*?",(y.type==="bos"||y.type==="slash")&&(ie.output=O+ie.output),j(ie);continue}if(y&&(y.type==="bracket"||y.type==="paren")&&r.regex===!0){ie.output=v,j(ie);continue}(p.index===p.start||y.type==="slash"||y.type==="dot")&&(y.type==="dot"?(p.output+=k,y.output+=k):r.dot===!0?(p.output+=_,y.output+=_):(p.output+=O,y.output+=O),I()!=="*"&&(p.output+=g,y.output+=g)),j(ie)}for(;p.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(bn("closing","]"));p.output=yt.escapeLast(p.output,"["),B("brackets")}for(;p.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(bn("closing",")"));p.output=yt.escapeLast(p.output,"("),B("parens")}for(;p.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(bn("closing","}"));p.output=yt.escapeLast(p.output,"{"),B("braces")}if(r.strictSlashes!==!0&&(y.type==="star"||y.type==="bracket")&&j({type:"maybe_slash",value:"",output:`${d}?`}),p.backtrack===!0){p.output="";for(let q of p.tokens)p.output+=q.output!=null?q.output:q.value,q.suffix&&(p.output+=q.suffix)}return p};su.fastpaths=(e,t)=>{let r={...t},n=typeof r.maxLength=="number"?Math.min(Hs,r.maxLength):Hs,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);e=dp[e]||e;let s=yt.isWindows(t),{DOT_LITERAL:o,SLASH_LITERAL:a,ONE_CHAR:u,DOTS_SLASH:c,NO_DOT:f,NO_DOTS:l,NO_DOTS_SLASH:h,STAR:d,START_ANCHOR:g}=qs.globChars(s),S=r.dot?l:f,w=r.dot?h:f,k=r.capture?"":"?:",_={negated:!1,prefix:""},N=r.bash===!0?".*?":d;r.capture&&(N=`(${N})`);let D=O=>O.noglobstar===!0?N:`(${k}(?:(?!${g}${O.dot?c:o}).)*?)`,A=O=>{switch(O){case"*":return`${S}${u}${N}`;case".*":return`${o}${u}${N}`;case"*.*":return`${S}${N}${o}${u}${N}`;case"*/*":return`${S}${N}${a}${u}${w}${N}`;case"**":return S+D(r);case"**/*":return`(?:${S}${D(r)}${a})?${w}${u}${N}`;case"**/*.*":return`(?:${S}${D(r)}${a})?${w}${N}${o}${u}${N}`;case"**/.*":return`(?:${S}${D(r)}${a})?${o}${u}${N}`;default:{let T=/^(.*?)\.(\w+)$/.exec(O);if(!T)return;let x=A(T[1]);return x?x+o+T[2]:void 0}}},R=yt.removePrefix(e,_),b=A(R);return b&&r.strictSlashes!==!0&&(b+=`${a}?`),b};pp.exports=su});var yp=F((Tj,mp)=>{"use strict";var px=M("path"),gx=hp(),ou=gp(),au=bi(),mx=xi(),yx=e=>e&&typeof e=="object"&&!Array.isArray(e),Pe=(e,t,r=!1)=>{if(Array.isArray(e)){let f=e.map(h=>Pe(h,t,r));return h=>{for(let d of f){let g=d(h);if(g)return g}return!1}}let n=yx(e)&&e.tokens&&e.input;if(e===""||typeof e!="string"&&!n)throw new TypeError("Expected pattern to be a non-empty string");let i=t||{},s=au.isWindows(t),o=n?Pe.compileRe(e,t):Pe.makeRe(e,t,!1,!0),a=o.state;delete o.state;let u=()=>!1;if(i.ignore){let f={...t,ignore:null,onMatch:null,onResult:null};u=Pe(i.ignore,f,r)}let c=(f,l=!1)=>{let{isMatch:h,match:d,output:g}=Pe.test(f,o,t,{glob:e,posix:s}),S={glob:e,state:a,regex:o,posix:s,input:f,output:g,match:d,isMatch:h};return typeof i.onResult=="function"&&i.onResult(S),h===!1?(S.isMatch=!1,l?S:!1):u(f)?(typeof i.onIgnore=="function"&&i.onIgnore(S),S.isMatch=!1,l?S:!1):(typeof i.onMatch=="function"&&i.onMatch(S),l?S:!0)};return r&&(c.state=a),c};Pe.test=(e,t,r,{glob:n,posix:i}={})=>{if(typeof e!="string")throw new TypeError("Expected input to be a string");if(e==="")return{isMatch:!1,output:""};let s=r||{},o=s.format||(i?au.toPosixSlashes:null),a=e===n,u=a&&o?o(e):e;return a===!1&&(u=o?o(e):e,a=u===n),(a===!1||s.capture===!0)&&(s.matchBase===!0||s.basename===!0?a=Pe.matchBase(e,t,r,i):a=t.exec(u)),{isMatch:!!a,match:a,output:u}};Pe.matchBase=(e,t,r,n=au.isWindows(r))=>(t instanceof RegExp?t:Pe.makeRe(t,r)).test(px.basename(e));Pe.isMatch=(e,t,r)=>Pe(t,r)(e);Pe.parse=(e,t)=>Array.isArray(e)?e.map(r=>Pe.parse(r,t)):ou(e,{...t,fastpaths:!1});Pe.scan=(e,t)=>gx(e,t);Pe.compileRe=(e,t,r=!1,n=!1)=>{if(r===!0)return e.output;let i=t||{},s=i.contains?"":"^",o=i.contains?"":"$",a=`${s}(?:${e.output})${o}`;e&&e.negated===!0&&(a=`^(?!${a}).*$`);let u=Pe.toRegex(a,t);return n===!0&&(u.state=e),u};Pe.makeRe=(e,t={},r=!1,n=!1)=>{if(!e||typeof e!="string")throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(e[0]==="."||e[0]==="*")&&(i.output=ou.fastpaths(e,t)),i.output||(i=ou(e,t)),Pe.compileRe(i,t,r,n)};Pe.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(r){if(t&&t.debug===!0)throw r;return/$^/}};Pe.constants=mx;mp.exports=Pe});var Ep=F((Ij,vp)=>{"use strict";vp.exports=yp()});var Ri=F((Lj,Cp)=>{"use strict";var Sp=M("util"),wp=Zd(),qt=Ep(),uu=bi(),Ap=e=>e===""||e==="./",be=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let n=new Set,i=new Set,s=new Set,o=0,a=f=>{s.add(f.output),r&&r.onResult&&r.onResult(f)};for(let f=0;f<t.length;f++){let l=qt(String(t[f]),{...r,onResult:a},!0),h=l.state.negated||l.state.negatedExtglob;h&&o++;for(let d of e){let g=l(d,!0);(h?!g.isMatch:g.isMatch)&&(h?n.add(g.output):(n.delete(g.output),i.add(g.output)))}}let c=(o===t.length?[...s]:[...i]).filter(f=>!n.has(f));if(r&&c.length===0){if(r.failglob===!0)throw new Error(`No matches found for "${t.join(", ")}"`);if(r.nonull===!0||r.nullglob===!0)return r.unescape?t.map(f=>f.replace(/\\/g,"")):t}return c};be.match=be;be.matcher=(e,t)=>qt(e,t);be.isMatch=(e,t,r)=>qt(t,r)(e);be.any=be.isMatch;be.not=(e,t,r={})=>{t=[].concat(t).map(String);let n=new Set,i=[],s=a=>{r.onResult&&r.onResult(a),i.push(a.output)},o=new Set(be(e,t,{...r,onResult:s}));for(let a of i)o.has(a)||n.add(a);return[...n]};be.contains=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${Sp.inspect(e)}"`);if(Array.isArray(t))return t.some(n=>be.contains(e,n,r));if(typeof t=="string"){if(Ap(e)||Ap(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return be.isMatch(e,t,{...r,contains:!0})};be.matchKeys=(e,t,r)=>{if(!uu.isObject(e))throw new TypeError("Expected the first argument to be an object");let n=be(Object.keys(e),t,r),i={};for(let s of n)i[s]=e[s];return i};be.some=(e,t,r)=>{let n=[].concat(e);for(let i of[].concat(t)){let s=qt(String(i),r);if(n.some(o=>s(o)))return!0}return!1};be.every=(e,t,r)=>{let n=[].concat(e);for(let i of[].concat(t)){let s=qt(String(i),r);if(!n.every(o=>s(o)))return!1}return!0};be.all=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${Sp.inspect(e)}"`);return[].concat(t).every(n=>qt(n,r)(e))};be.capture=(e,t,r)=>{let n=uu.isWindows(r),s=qt.makeRe(String(e),{...r,capture:!0}).exec(n?uu.toPosixSlashes(t):t);if(s)return s.slice(1).map(o=>o===void 0?"":o)};be.makeRe=(...e)=>qt.makeRe(...e);be.scan=(...e)=>qt.scan(...e);be.parse=(e,t)=>{let r=[];for(let n of[].concat(e||[]))for(let i of wp(String(n),t))r.push(qt.parse(i,t));return r};be.braces=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return t&&t.nobrace===!0||!/\{.*\}/.test(e)?[e]:wp(e,t)};be.braceExpand=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return be.braces(e,{...t,expand:!0})};Cp.exports=be});var Pp=F(ae=>{"use strict";Object.defineProperty(ae,"__esModule",{value:!0});ae.removeDuplicateSlashes=ae.matchAny=ae.convertPatternsToRe=ae.makeRe=ae.getPatternParts=ae.expandBraceExpansion=ae.expandPatternsWithBraceExpansion=ae.isAffectDepthOfReadingPattern=ae.endsWithSlashGlobStar=ae.hasGlobStar=ae.getBaseDirectory=ae.isPatternRelatedToParentDirectory=ae.getPatternsOutsideCurrentDirectory=ae.getPatternsInsideCurrentDirectory=ae.getPositivePatterns=ae.getNegativePatterns=ae.isPositivePattern=ae.isNegativePattern=ae.convertToNegativePattern=ae.convertToPositivePattern=ae.isDynamicPattern=ae.isStaticPattern=void 0;var vx=M("path"),Ex=yd(),cu=Ri(),_p="**",Ax="\\",Sx=/[*?]|^!/,wx=/\[[^[]*]/,Cx=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,_x=/[!*+?@]\([^(]*\)/,xx=/,|\.\./,bx=/(?!^)\/{2,}/g;function xp(e,t={}){return!bp(e,t)}ae.isStaticPattern=xp;function bp(e,t={}){return e===""?!1:!!(t.caseSensitiveMatch===!1||e.includes(Ax)||Sx.test(e)||wx.test(e)||Cx.test(e)||t.extglob!==!1&&_x.test(e)||t.braceExpansion!==!1&&Ox(e))}ae.isDynamicPattern=bp;function Ox(e){let t=e.indexOf("{");if(t===-1)return!1;let r=e.indexOf("}",t+1);if(r===-1)return!1;let n=e.slice(t,r);return xx.test(n)}function Rx(e){return Gs(e)?e.slice(1):e}ae.convertToPositivePattern=Rx;function Fx(e){return"!"+e}ae.convertToNegativePattern=Fx;function Gs(e){return e.startsWith("!")&&e[1]!=="("}ae.isNegativePattern=Gs;function Op(e){return!Gs(e)}ae.isPositivePattern=Op;function kx(e){return e.filter(Gs)}ae.getNegativePatterns=kx;function Px(e){return e.filter(Op)}ae.getPositivePatterns=Px;function Dx(e){return e.filter(t=>!lu(t))}ae.getPatternsInsideCurrentDirectory=Dx;function Tx(e){return e.filter(lu)}ae.getPatternsOutsideCurrentDirectory=Tx;function lu(e){return e.startsWith("..")||e.startsWith("./..")}ae.isPatternRelatedToParentDirectory=lu;function Ix(e){return Ex(e,{flipBackslashes:!1})}ae.getBaseDirectory=Ix;function Lx(e){return e.includes(_p)}ae.hasGlobStar=Lx;function Rp(e){return e.endsWith("/"+_p)}ae.endsWithSlashGlobStar=Rp;function Nx(e){let t=vx.basename(e);return Rp(e)||xp(t)}ae.isAffectDepthOfReadingPattern=Nx;function Bx(e){return e.reduce((t,r)=>t.concat(Fp(r)),[])}ae.expandPatternsWithBraceExpansion=Bx;function Fp(e){let t=cu.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0});return t.sort((r,n)=>r.length-n.length),t.filter(r=>r!=="")}ae.expandBraceExpansion=Fp;function $x(e,t){let{parts:r}=cu.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return r.length===0&&(r=[e]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r}ae.getPatternParts=$x;function kp(e,t){return cu.makeRe(e,t)}ae.makeRe=kp;function Mx(e,t){return e.map(r=>kp(r,t))}ae.convertPatternsToRe=Mx;function jx(e,t){return t.some(r=>r.test(e))}ae.matchAny=jx;function qx(e){return e.replace(bx,"/")}ae.removeDuplicateSlashes=qx});var Tp=F(Us=>{"use strict";Object.defineProperty(Us,"__esModule",{value:!0});Us.merge=void 0;var Hx=Ha();function Gx(e){let t=Hx(e);return e.forEach(r=>{r.once("error",n=>t.emit("error",n))}),t.once("close",()=>Dp(e)),t.once("end",()=>Dp(e)),t}Us.merge=Gx;function Dp(e){e.forEach(t=>t.emit("close"))}});var Ip=F(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.isEmpty=On.isString=void 0;function Ux(e){return typeof e=="string"}On.isString=Ux;function Wx(e){return e===""}On.isEmpty=Wx});var Zt=F(Ge=>{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});Ge.string=Ge.stream=Ge.pattern=Ge.path=Ge.fs=Ge.errno=Ge.array=void 0;var Yx=id();Ge.array=Yx;var zx=sd();Ge.errno=zx;var Vx=od();Ge.fs=Vx;var Kx=ld();Ge.path=Kx;var Xx=Pp();Ge.pattern=Xx;var Qx=Tp();Ge.stream=Qx;var Jx=Ip();Ge.string=Jx});var $p=F(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.convertPatternGroupToTask=Ue.convertPatternGroupsToTasks=Ue.groupPatternsByBaseDirectory=Ue.getNegativePatternsAsPositive=Ue.getPositivePatterns=Ue.convertPatternsToTasks=Ue.generate=void 0;var Lt=Zt();function Zx(e,t){let r=Lp(e,t),n=Lp(t.ignore,t),i=Np(r),s=Bp(r,n),o=i.filter(f=>Lt.pattern.isStaticPattern(f,t)),a=i.filter(f=>Lt.pattern.isDynamicPattern(f,t)),u=fu(o,s,!1),c=fu(a,s,!0);return u.concat(c)}Ue.generate=Zx;function Lp(e,t){let r=e;return t.braceExpansion&&(r=Lt.pattern.expandPatternsWithBraceExpansion(r)),t.baseNameMatch&&(r=r.map(n=>n.includes("/")?n:`**/${n}`)),r.map(n=>Lt.pattern.removeDuplicateSlashes(n))}function fu(e,t,r){let n=[],i=Lt.pattern.getPatternsOutsideCurrentDirectory(e),s=Lt.pattern.getPatternsInsideCurrentDirectory(e),o=hu(i),a=hu(s);return n.push(...du(o,t,r)),"."in a?n.push(pu(".",s,t,r)):n.push(...du(a,t,r)),n}Ue.convertPatternsToTasks=fu;function Np(e){return Lt.pattern.getPositivePatterns(e)}Ue.getPositivePatterns=Np;function Bp(e,t){return Lt.pattern.getNegativePatterns(e).concat(t).map(Lt.pattern.convertToPositivePattern)}Ue.getNegativePatternsAsPositive=Bp;function hu(e){let t={};return e.reduce((r,n)=>{let i=Lt.pattern.getBaseDirectory(n);return i in r?r[i].push(n):r[i]=[n],r},t)}Ue.groupPatternsByBaseDirectory=hu;function du(e,t,r){return Object.keys(e).map(n=>pu(n,e[n],t,r))}Ue.convertPatternGroupsToTasks=du;function pu(e,t,r,n){return{dynamic:n,positive:t,negative:r,base:e,patterns:[].concat(t,r.map(Lt.pattern.convertToNegativePattern))}}Ue.convertPatternGroupToTask=pu});var jp=F(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.read=void 0;function eb(e,t,r){t.fs.lstat(e,(n,i)=>{if(n!==null){Mp(r,n);return}if(!i.isSymbolicLink()||!t.followSymbolicLink){gu(r,i);return}t.fs.stat(e,(s,o)=>{if(s!==null){if(t.throwErrorOnBrokenSymbolicLink){Mp(r,s);return}gu(r,i);return}t.markSymbolicLink&&(o.isSymbolicLink=()=>!0),gu(r,o)})})}Ws.read=eb;function Mp(e,t){e(t)}function gu(e,t){e(null,t)}});var qp=F(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});Ys.read=void 0;function tb(e,t){let r=t.fs.lstatSync(e);if(!r.isSymbolicLink()||!t.followSymbolicLink)return r;try{let n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(n){if(!t.throwErrorOnBrokenSymbolicLink)return r;throw n}}Ys.read=tb});var Hp=F(Sr=>{"use strict";Object.defineProperty(Sr,"__esModule",{value:!0});Sr.createFileSystemAdapter=Sr.FILE_SYSTEM_ADAPTER=void 0;var zs=M("fs");Sr.FILE_SYSTEM_ADAPTER={lstat:zs.lstat,stat:zs.stat,lstatSync:zs.lstatSync,statSync:zs.statSync};function rb(e){return e===void 0?Sr.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Sr.FILE_SYSTEM_ADAPTER),e)}Sr.createFileSystemAdapter=rb});var Gp=F(yu=>{"use strict";Object.defineProperty(yu,"__esModule",{value:!0});var nb=Hp(),mu=class{constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=nb.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(t,r){return t??r}};yu.default=mu});var Vr=F(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});wr.statSync=wr.stat=wr.Settings=void 0;var Up=jp(),ib=qp(),vu=Gp();wr.Settings=vu.default;function sb(e,t,r){if(typeof t=="function"){Up.read(e,Eu(),t);return}Up.read(e,Eu(t),r)}wr.stat=sb;function ob(e,t){let r=Eu(t);return ib.read(e,r)}wr.statSync=ob;function Eu(e={}){return e instanceof vu.default?e:new vu.default(e)}});var zp=F((Yj,Yp)=>{var Wp;Yp.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):e=>(Wp||(Wp=Promise.resolve())).then(e).catch(t=>setTimeout(()=>{throw t},0))});var Kp=F((zj,Vp)=>{Vp.exports=ub;var ab=zp();function ub(e,t){let r,n,i,s=!0;Array.isArray(e)?(r=[],n=e.length):(i=Object.keys(e),r={},n=i.length);function o(u){function c(){t&&t(u,r),t=null}s?ab(c):c()}function a(u,c,f){r[u]=f,(--n===0||c)&&o(c)}n?i?i.forEach(function(u){e[u](function(c,f){a(u,c,f)})}):e.forEach(function(u,c){u(function(f,l){a(c,f,l)})}):o(null),s=!1}});var Au=F(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var Vs=process.versions.node.split(".");if(Vs[0]===void 0||Vs[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var Xp=Number.parseInt(Vs[0],10),cb=Number.parseInt(Vs[1],10),Qp=10,lb=10,fb=Xp>Qp,hb=Xp===Qp&&cb>=lb;Ks.IS_SUPPORT_READDIR_WITH_FILE_TYPES=fb||hb});var Jp=F(Xs=>{"use strict";Object.defineProperty(Xs,"__esModule",{value:!0});Xs.createDirentFromStats=void 0;var Su=class{constructor(t,r){this.name=t,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function db(e,t){return new Su(e,t)}Xs.createDirentFromStats=db});var wu=F(Qs=>{"use strict";Object.defineProperty(Qs,"__esModule",{value:!0});Qs.fs=void 0;var pb=Jp();Qs.fs=pb});var Cu=F(Js=>{"use strict";Object.defineProperty(Js,"__esModule",{value:!0});Js.joinPathSegments=void 0;function gb(e,t,r){return e.endsWith(r)?e+t:e+r+t}Js.joinPathSegments=gb});var ig=F(Cr=>{"use strict";Object.defineProperty(Cr,"__esModule",{value:!0});Cr.readdir=Cr.readdirWithFileTypes=Cr.read=void 0;var mb=Vr(),Zp=Kp(),yb=Au(),eg=wu(),tg=Cu();function vb(e,t,r){if(!t.stats&&yb.IS_SUPPORT_READDIR_WITH_FILE_TYPES){rg(e,t,r);return}ng(e,t,r)}Cr.read=vb;function rg(e,t,r){t.fs.readdir(e,{withFileTypes:!0},(n,i)=>{if(n!==null){Zs(r,n);return}let s=i.map(a=>({dirent:a,name:a.name,path:tg.joinPathSegments(e,a.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks){_u(r,s);return}let o=s.map(a=>Eb(a,t));Zp(o,(a,u)=>{if(a!==null){Zs(r,a);return}_u(r,u)})})}Cr.readdirWithFileTypes=rg;function Eb(e,t){return r=>{if(!e.dirent.isSymbolicLink()){r(null,e);return}t.fs.stat(e.path,(n,i)=>{if(n!==null){if(t.throwErrorOnBrokenSymbolicLink){r(n);return}r(null,e);return}e.dirent=eg.fs.createDirentFromStats(e.name,i),r(null,e)})}}function ng(e,t,r){t.fs.readdir(e,(n,i)=>{if(n!==null){Zs(r,n);return}let s=i.map(o=>{let a=tg.joinPathSegments(e,o,t.pathSegmentSeparator);return u=>{mb.stat(a,t.fsStatSettings,(c,f)=>{if(c!==null){u(c);return}let l={name:o,path:a,dirent:eg.fs.createDirentFromStats(o,f)};t.stats&&(l.stats=f),u(null,l)})}});Zp(s,(o,a)=>{if(o!==null){Zs(r,o);return}_u(r,a)})})}Cr.readdir=ng;function Zs(e,t){e(t)}function _u(e,t){e(null,t)}});var cg=F(_r=>{"use strict";Object.defineProperty(_r,"__esModule",{value:!0});_r.readdir=_r.readdirWithFileTypes=_r.read=void 0;var Ab=Vr(),Sb=Au(),sg=wu(),og=Cu();function wb(e,t){return!t.stats&&Sb.IS_SUPPORT_READDIR_WITH_FILE_TYPES?ag(e,t):ug(e,t)}_r.read=wb;function ag(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(n=>{let i={dirent:n,name:n.name,path:og.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{let s=t.fs.statSync(i.path);i.dirent=sg.fs.createDirentFromStats(i.name,s)}catch(s){if(t.throwErrorOnBrokenSymbolicLink)throw s}return i})}_r.readdirWithFileTypes=ag;function ug(e,t){return t.fs.readdirSync(e).map(n=>{let i=og.joinPathSegments(e,n,t.pathSegmentSeparator),s=Ab.statSync(i,t.fsStatSettings),o={name:n,path:i,dirent:sg.fs.createDirentFromStats(n,s)};return t.stats&&(o.stats=s),o})}_r.readdir=ug});var lg=F(xr=>{"use strict";Object.defineProperty(xr,"__esModule",{value:!0});xr.createFileSystemAdapter=xr.FILE_SYSTEM_ADAPTER=void 0;var Rn=M("fs");xr.FILE_SYSTEM_ADAPTER={lstat:Rn.lstat,stat:Rn.stat,lstatSync:Rn.lstatSync,statSync:Rn.statSync,readdir:Rn.readdir,readdirSync:Rn.readdirSync};function Cb(e){return e===void 0?xr.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},xr.FILE_SYSTEM_ADAPTER),e)}xr.createFileSystemAdapter=Cb});var fg=F(bu=>{"use strict";Object.defineProperty(bu,"__esModule",{value:!0});var _b=M("path"),xb=Vr(),bb=lg(),xu=class{constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=bb.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,_b.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new xb.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t??r}};bu.default=xu});var eo=F(br=>{"use strict";Object.defineProperty(br,"__esModule",{value:!0});br.Settings=br.scandirSync=br.scandir=void 0;var hg=ig(),Ob=cg(),Ou=fg();br.Settings=Ou.default;function Rb(e,t,r){if(typeof t=="function"){hg.read(e,Ru(),t);return}hg.read(e,Ru(t),r)}br.scandir=Rb;function Fb(e,t){let r=Ru(t);return Ob.read(e,r)}br.scandirSync=Fb;function Ru(e={}){return e instanceof Ou.default?e:new Ou.default(e)}});var pg=F((nq,dg)=>{"use strict";function kb(e){var t=new e,r=t;function n(){var s=t;return s.next?t=s.next:(t=new e,r=t),s.next=null,s}function i(s){r.next=s,r=s}return{get:n,release:i}}dg.exports=kb});var mg=F((iq,Fu)=>{"use strict";var Pb=pg();function gg(e,t,r){if(typeof e=="function"&&(r=t,t=e,e=null),!(r>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var n=Pb(Db),i=null,s=null,o=0,a=null,u={push:S,drain:wt,saturated:wt,pause:f,paused:!1,get concurrency(){return r},set concurrency(A){if(!(A>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(r=A,!u.paused)for(;i&&o<r;)o++,k()},running:c,resume:d,idle:g,length:l,getQueue:h,unshift:w,empty:wt,kill:_,killAndDrain:N,error:D};return u;function c(){return o}function f(){u.paused=!0}function l(){for(var A=i,R=0;A;)A=A.next,R++;return R}function h(){for(var A=i,R=[];A;)R.push(A.value),A=A.next;return R}function d(){if(u.paused){if(u.paused=!1,i===null){o++,k();return}for(;i&&o<r;)o++,k()}}function g(){return o===0&&u.length()===0}function S(A,R){var b=n.get();b.context=e,b.release=k,b.value=A,b.callback=R||wt,b.errorHandler=a,o>=r||u.paused?s?(s.next=b,s=b):(i=b,s=b,u.saturated()):(o++,t.call(e,b.value,b.worked))}function w(A,R){var b=n.get();b.context=e,b.release=k,b.value=A,b.callback=R||wt,b.errorHandler=a,o>=r||u.paused?i?(b.next=i,i=b):(i=b,s=b,u.saturated()):(o++,t.call(e,b.value,b.worked))}function k(A){A&&n.release(A);var R=i;R&&o<=r?u.paused?o--:(s===i&&(s=null),i=R.next,R.next=null,t.call(e,R.value,R.worked),s===null&&u.empty()):--o===0&&u.drain()}function _(){i=null,s=null,u.drain=wt}function N(){i=null,s=null,u.drain(),u.drain=wt}function D(A){a=A}}function wt(){}function Db(){this.value=null,this.callback=wt,this.next=null,this.release=wt,this.context=null,this.errorHandler=null;var e=this;this.worked=function(r,n){var i=e.callback,s=e.errorHandler,o=e.value;e.value=null,e.callback=wt,e.errorHandler&&s(r,o),i.call(e.context,r,n),e.release(e)}}function Tb(e,t,r){typeof e=="function"&&(r=t,t=e,e=null);function n(f,l){t.call(this,f).then(function(h){l(null,h)},l)}var i=gg(e,n,r),s=i.push,o=i.unshift;return i.push=a,i.unshift=u,i.drained=c,i;function a(f){var l=new Promise(function(h,d){s(f,function(g,S){if(g){d(g);return}h(S)})});return l.catch(wt),l}function u(f){var l=new Promise(function(h,d){o(f,function(g,S){if(g){d(g);return}h(S)})});return l.catch(wt),l}function c(){if(i.idle())return new Promise(function(h){h()});var f=i.drain,l=new Promise(function(h){i.drain=function(){f(),h()}});return l}}Fu.exports=gg;Fu.exports.promise=Tb});var to=F(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});Ht.joinPathSegments=Ht.replacePathSegmentSeparator=Ht.isAppliedFilter=Ht.isFatalError=void 0;function Ib(e,t){return e.errorFilter===null?!0:!e.errorFilter(t)}Ht.isFatalError=Ib;function Lb(e,t){return e===null||e(t)}Ht.isAppliedFilter=Lb;function Nb(e,t){return e.split(/[/\\]/).join(t)}Ht.replacePathSegmentSeparator=Nb;function Bb(e,t,r){return e===""?t:e.endsWith(r)?e+t:e+r+t}Ht.joinPathSegments=Bb});var Du=F(Pu=>{"use strict";Object.defineProperty(Pu,"__esModule",{value:!0});var $b=to(),ku=class{constructor(t,r){this._root=t,this._settings=r,this._root=$b.replacePathSegmentSeparator(t,r.pathSegmentSeparator)}};Pu.default=ku});var Lu=F(Iu=>{"use strict";Object.defineProperty(Iu,"__esModule",{value:!0});var Mb=M("events"),jb=eo(),qb=mg(),ro=to(),Hb=Du(),Tu=class extends Hb.default{constructor(t,r){super(t,r),this._settings=r,this._scandir=jb.scandir,this._emitter=new Mb.EventEmitter,this._queue=qb(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(t){this._emitter.on("entry",t)}onError(t){this._emitter.once("error",t)}onEnd(t){this._emitter.once("end",t)}_pushToQueue(t,r){let n={directory:t,base:r};this._queue.push(n,i=>{i!==null&&this._handleError(i)})}_worker(t,r){this._scandir(t.directory,this._settings.fsScandirSettings,(n,i)=>{if(n!==null){r(n,void 0);return}for(let s of i)this._handleEntry(s,t.base);r(null,void 0)})}_handleError(t){this._isDestroyed||!ro.isFatalError(this._settings,t)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",t))}_handleEntry(t,r){if(this._isDestroyed||this._isFatalError)return;let n=t.path;r!==void 0&&(t.path=ro.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),ro.isAppliedFilter(this._settings.entryFilter,t)&&this._emitEntry(t),t.dirent.isDirectory()&&ro.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_emitEntry(t){this._emitter.emit("entry",t)}};Iu.default=Tu});var yg=F(Bu=>{"use strict";Object.defineProperty(Bu,"__esModule",{value:!0});var Gb=Lu(),Nu=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new Gb.default(this._root,this._settings),this._storage=[]}read(t){this._reader.onError(r=>{Ub(t,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{Wb(t,this._storage)}),this._reader.read()}};Bu.default=Nu;function Ub(e,t){e(t)}function Wb(e,t){e(null,t)}});var vg=F(Mu=>{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});var Yb=M("stream"),zb=Lu(),$u=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new zb.default(this._root,this._settings),this._stream=new Yb.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(t=>{this._stream.emit("error",t)}),this._reader.onEntry(t=>{this._stream.push(t)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};Mu.default=$u});var Eg=F(qu=>{"use strict";Object.defineProperty(qu,"__esModule",{value:!0});var Vb=eo(),no=to(),Kb=Du(),ju=class extends Kb.default{constructor(){super(...arguments),this._scandir=Vb.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(t,r){this._queue.add({directory:t,base:r})}_handleQueue(){for(let t of this._queue.values())this._handleDirectory(t.directory,t.base)}_handleDirectory(t,r){try{let n=this._scandir(t,this._settings.fsScandirSettings);for(let i of n)this._handleEntry(i,r)}catch(n){this._handleError(n)}}_handleError(t){if(no.isFatalError(this._settings,t))throw t}_handleEntry(t,r){let n=t.path;r!==void 0&&(t.path=no.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),no.isAppliedFilter(this._settings.entryFilter,t)&&this._pushToStorage(t),t.dirent.isDirectory()&&no.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_pushToStorage(t){this._storage.push(t)}};qu.default=ju});var Ag=F(Gu=>{"use strict";Object.defineProperty(Gu,"__esModule",{value:!0});var Xb=Eg(),Hu=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new Xb.default(this._root,this._settings)}read(){return this._reader.read()}};Gu.default=Hu});var Sg=F(Wu=>{"use strict";Object.defineProperty(Wu,"__esModule",{value:!0});var Qb=M("path"),Jb=eo(),Uu=class{constructor(t={}){this._options=t,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Qb.sep),this.fsScandirSettings=new Jb.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t??r}};Wu.default=Uu});var so=F(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt.Settings=Gt.walkStream=Gt.walkSync=Gt.walk=void 0;var wg=yg(),Zb=vg(),eO=Ag(),Yu=Sg();Gt.Settings=Yu.default;function tO(e,t,r){if(typeof t=="function"){new wg.default(e,io()).read(t);return}new wg.default(e,io(t)).read(r)}Gt.walk=tO;function rO(e,t){let r=io(t);return new eO.default(e,r).read()}Gt.walkSync=rO;function nO(e,t){let r=io(t);return new Zb.default(e,r).read()}Gt.walkStream=nO;function io(e={}){return e instanceof Yu.default?e:new Yu.default(e)}});var oo=F(Vu=>{"use strict";Object.defineProperty(Vu,"__esModule",{value:!0});var iO=M("path"),sO=Vr(),Cg=Zt(),zu=class{constructor(t){this._settings=t,this._fsStatSettings=new sO.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(t){return iO.resolve(this._settings.cwd,t)}_makeEntry(t,r){let n={name:r,path:r,dirent:Cg.fs.createDirentFromStats(r,t)};return this._settings.stats&&(n.stats=t),n}_isFatalError(t){return!Cg.errno.isEnoentCodeError(t)&&!this._settings.suppressErrors}};Vu.default=zu});var Qu=F(Xu=>{"use strict";Object.defineProperty(Xu,"__esModule",{value:!0});var oO=M("stream"),aO=Vr(),uO=so(),cO=oo(),Ku=class extends cO.default{constructor(){super(...arguments),this._walkStream=uO.walkStream,this._stat=aO.stat}dynamic(t,r){return this._walkStream(t,r)}static(t,r){let n=t.map(this._getFullEntryPath,this),i=new oO.PassThrough({objectMode:!0});i._write=(s,o,a)=>this._getEntry(n[s],t[s],r).then(u=>{u!==null&&r.entryFilter(u)&&i.push(u),s===n.length-1&&i.end(),a()}).catch(a);for(let s=0;s<n.length;s++)i.write(s);return i}_getEntry(t,r,n){return this._getStat(t).then(i=>this._makeEntry(i,r)).catch(i=>{if(n.errorFilter(i))return null;throw i})}_getStat(t){return new Promise((r,n)=>{this._stat(t,this._fsStatSettings,(i,s)=>i===null?r(s):n(i))})}};Xu.default=Ku});var _g=F(Zu=>{"use strict";Object.defineProperty(Zu,"__esModule",{value:!0});var lO=so(),fO=oo(),hO=Qu(),Ju=class extends fO.default{constructor(){super(...arguments),this._walkAsync=lO.walk,this._readerStream=new hO.default(this._settings)}dynamic(t,r){return new Promise((n,i)=>{this._walkAsync(t,r,(s,o)=>{s===null?n(o):i(s)})})}async static(t,r){let n=[],i=this._readerStream.static(t,r);return new Promise((s,o)=>{i.once("error",o),i.on("data",a=>n.push(a)),i.once("end",()=>s(n))})}};Zu.default=Ju});var xg=F(tc=>{"use strict";Object.defineProperty(tc,"__esModule",{value:!0});var Fi=Zt(),ec=class{constructor(t,r,n){this._patterns=t,this._settings=r,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){for(let t of this._patterns){let r=this._getPatternSegments(t),n=this._splitSegmentsIntoSections(r);this._storage.push({complete:n.length<=1,pattern:t,segments:r,sections:n})}}_getPatternSegments(t){return Fi.pattern.getPatternParts(t,this._micromatchOptions).map(n=>Fi.pattern.isDynamicPattern(n,this._settings)?{dynamic:!0,pattern:n,patternRe:Fi.pattern.makeRe(n,this._micromatchOptions)}:{dynamic:!1,pattern:n})}_splitSegmentsIntoSections(t){return Fi.array.splitWhen(t,r=>r.dynamic&&Fi.pattern.hasGlobStar(r.pattern))}};tc.default=ec});var bg=F(nc=>{"use strict";Object.defineProperty(nc,"__esModule",{value:!0});var dO=xg(),rc=class extends dO.default{match(t){let r=t.split("/"),n=r.length,i=this._storage.filter(s=>!s.complete||s.segments.length>n);for(let s of i){let o=s.sections[0];if(!s.complete&&n>o.length||r.every((u,c)=>{let f=s.segments[c];return!!(f.dynamic&&f.patternRe.test(u)||!f.dynamic&&f.pattern===u)}))return!0}return!1}};nc.default=rc});var Og=F(sc=>{"use strict";Object.defineProperty(sc,"__esModule",{value:!0});var ao=Zt(),pO=bg(),ic=class{constructor(t,r){this._settings=t,this._micromatchOptions=r}getFilter(t,r,n){let i=this._getMatcher(r),s=this._getNegativePatternsRe(n);return o=>this._filter(t,o,i,s)}_getMatcher(t){return new pO.default(t,this._settings,this._micromatchOptions)}_getNegativePatternsRe(t){let r=t.filter(ao.pattern.isAffectDepthOfReadingPattern);return ao.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(t,r,n,i){if(this._isSkippedByDeep(t,r.path)||this._isSkippedSymbolicLink(r))return!1;let s=ao.path.removeLeadingDotSegment(r.path);return this._isSkippedByPositivePatterns(s,n)?!1:this._isSkippedByNegativePatterns(s,i)}_isSkippedByDeep(t,r){return this._settings.deep===1/0?!1:this._getEntryLevel(t,r)>=this._settings.deep}_getEntryLevel(t,r){let n=r.split("/").length;if(t==="")return n;let i=t.split("/").length;return n-i}_isSkippedSymbolicLink(t){return!this._settings.followSymbolicLinks&&t.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(t,r){return!this._settings.baseNameMatch&&!r.match(t)}_isSkippedByNegativePatterns(t,r){return!ao.pattern.matchAny(t,r)}};sc.default=ic});var Rg=F(ac=>{"use strict";Object.defineProperty(ac,"__esModule",{value:!0});var Kr=Zt(),oc=class{constructor(t,r){this._settings=t,this._micromatchOptions=r,this.index=new Map}getFilter(t,r){let n=Kr.pattern.convertPatternsToRe(t,this._micromatchOptions),i=Kr.pattern.convertPatternsToRe(r,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return s=>this._filter(s,n,i)}_filter(t,r,n){let i=Kr.path.removeLeadingDotSegment(t.path);if(this._settings.unique&&this._isDuplicateEntry(i)||this._onlyFileFilter(t)||this._onlyDirectoryFilter(t)||this._isSkippedByAbsoluteNegativePatterns(i,n))return!1;let s=t.dirent.isDirectory(),o=this._isMatchToPatterns(i,r,s)&&!this._isMatchToPatterns(i,n,s);return this._settings.unique&&o&&this._createIndexRecord(i),o}_isDuplicateEntry(t){return this.index.has(t)}_createIndexRecord(t){this.index.set(t,void 0)}_onlyFileFilter(t){return this._settings.onlyFiles&&!t.dirent.isFile()}_onlyDirectoryFilter(t){return this._settings.onlyDirectories&&!t.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(t,r){if(!this._settings.absolute)return!1;let n=Kr.path.makeAbsolute(this._settings.cwd,t);return Kr.pattern.matchAny(n,r)}_isMatchToPatterns(t,r,n){let i=Kr.pattern.matchAny(t,r);return!i&&n?Kr.pattern.matchAny(t+"/",r):i}};ac.default=oc});var Fg=F(cc=>{"use strict";Object.defineProperty(cc,"__esModule",{value:!0});var gO=Zt(),uc=class{constructor(t){this._settings=t}getFilter(){return t=>this._isNonFatalError(t)}_isNonFatalError(t){return gO.errno.isEnoentCodeError(t)||this._settings.suppressErrors}};cc.default=uc});var Pg=F(fc=>{"use strict";Object.defineProperty(fc,"__esModule",{value:!0});var kg=Zt(),lc=class{constructor(t){this._settings=t}getTransformer(){return t=>this._transform(t)}_transform(t){let r=t.path;return this._settings.absolute&&(r=kg.path.makeAbsolute(this._settings.cwd,r),r=kg.path.unixify(r)),this._settings.markDirectories&&t.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},t),{path:r}):r}};fc.default=lc});var uo=F(dc=>{"use strict";Object.defineProperty(dc,"__esModule",{value:!0});var mO=M("path"),yO=Og(),vO=Rg(),EO=Fg(),AO=Pg(),hc=class{constructor(t){this._settings=t,this.errorFilter=new EO.default(this._settings),this.entryFilter=new vO.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new yO.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new AO.default(this._settings)}_getRootDirectory(t){return mO.resolve(this._settings.cwd,t.base)}_getReaderOptions(t){let r=t.base==="."?"":t.base;return{basePath:r,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(r,t.positive,t.negative),entryFilter:this.entryFilter.getFilter(t.positive,t.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};dc.default=hc});var Dg=F(gc=>{"use strict";Object.defineProperty(gc,"__esModule",{value:!0});var SO=_g(),wO=uo(),pc=class extends wO.default{constructor(){super(...arguments),this._reader=new SO.default(this._settings)}async read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t);return(await this.api(r,t,n)).map(s=>n.transform(s))}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};gc.default=pc});var Tg=F(yc=>{"use strict";Object.defineProperty(yc,"__esModule",{value:!0});var CO=M("stream"),_O=Qu(),xO=uo(),mc=class extends xO.default{constructor(){super(...arguments),this._reader=new _O.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t),i=this.api(r,t,n),s=new CO.Readable({objectMode:!0,read:()=>{}});return i.once("error",o=>s.emit("error",o)).on("data",o=>s.emit("data",n.transform(o))).once("end",()=>s.emit("end")),s.once("close",()=>i.destroy()),s}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};yc.default=mc});var Ig=F(Ec=>{"use strict";Object.defineProperty(Ec,"__esModule",{value:!0});var bO=Vr(),OO=so(),RO=oo(),vc=class extends RO.default{constructor(){super(...arguments),this._walkSync=OO.walkSync,this._statSync=bO.statSync}dynamic(t,r){return this._walkSync(t,r)}static(t,r){let n=[];for(let i of t){let s=this._getFullEntryPath(i),o=this._getEntry(s,i,r);o===null||!r.entryFilter(o)||n.push(o)}return n}_getEntry(t,r,n){try{let i=this._getStat(t);return this._makeEntry(i,r)}catch(i){if(n.errorFilter(i))return null;throw i}}_getStat(t){return this._statSync(t,this._fsStatSettings)}};Ec.default=vc});var Lg=F(Sc=>{"use strict";Object.defineProperty(Sc,"__esModule",{value:!0});var FO=Ig(),kO=uo(),Ac=class extends kO.default{constructor(){super(...arguments),this._reader=new FO.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t);return this.api(r,t,n).map(n.transform)}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};Sc.default=Ac});var Ng=F(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var Fn=M("fs"),PO=M("os"),DO=Math.max(PO.cpus().length,1);kn.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:Fn.lstat,lstatSync:Fn.lstatSync,stat:Fn.stat,statSync:Fn.statSync,readdir:Fn.readdir,readdirSync:Fn.readdirSync};var wc=class{constructor(t={}){this._options=t,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,DO),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(t,r){return t===void 0?r:t}_getFileSystemMethods(t={}){return Object.assign(Object.assign({},kn.DEFAULT_FILE_SYSTEM_ADAPTER),t)}};kn.default=wc});var bc=F((Fq,$g)=>{"use strict";var Bg=$p(),TO=Dg(),IO=Tg(),LO=Lg(),Cc=Ng(),Ct=Zt();async function _c(e,t){Nt(e);let r=xc(e,TO.default,t),n=await Promise.all(r);return Ct.array.flatten(n)}(function(e){e.glob=e,e.globSync=t,e.globStream=r,e.async=e;function t(c,f){Nt(c);let l=xc(c,LO.default,f);return Ct.array.flatten(l)}e.sync=t;function r(c,f){Nt(c);let l=xc(c,IO.default,f);return Ct.stream.merge(l)}e.stream=r;function n(c,f){Nt(c);let l=[].concat(c),h=new Cc.default(f);return Bg.generate(l,h)}e.generateTasks=n;function i(c,f){Nt(c);let l=new Cc.default(f);return Ct.pattern.isDynamicPattern(c,l)}e.isDynamicPattern=i;function s(c){return Nt(c),Ct.path.escape(c)}e.escapePath=s;function o(c){return Nt(c),Ct.path.convertPathToPattern(c)}e.convertPathToPattern=o;let a;(function(c){function f(h){return Nt(h),Ct.path.escapePosixPath(h)}c.escapePath=f;function l(h){return Nt(h),Ct.path.convertPosixPathToPattern(h)}c.convertPathToPattern=l})(a=e.posix||(e.posix={}));let u;(function(c){function f(h){return Nt(h),Ct.path.escapeWindowsPath(h)}c.escapePath=f;function l(h){return Nt(h),Ct.path.convertWindowsPathToPattern(h)}c.convertPathToPattern=l})(u=e.win32||(e.win32={}))})(_c||(_c={}));function xc(e,t,r){let n=[].concat(e),i=new Cc.default(r),s=Bg.generate(n,i),o=new t(i);return s.map(o.read,o)}function Nt(e){if(![].concat(e).every(n=>Ct.string.isString(n)&&!Ct.string.isEmpty(n)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}$g.exports=_c});var jg=F(Xr=>{"use strict";var{promisify:NO}=M("util"),Mg=M("fs");async function Oc(e,t,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return(await NO(Mg[e])(r))[t]()}catch(n){if(n.code==="ENOENT")return!1;throw n}}function Rc(e,t,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return Mg[e](r)[t]()}catch(n){if(n.code==="ENOENT")return!1;throw n}}Xr.isFile=Oc.bind(null,"stat","isFile");Xr.isDirectory=Oc.bind(null,"stat","isDirectory");Xr.isSymlink=Oc.bind(null,"lstat","isSymbolicLink");Xr.isFileSync=Rc.bind(null,"statSync","isFile");Xr.isDirectorySync=Rc.bind(null,"statSync","isDirectory");Xr.isSymlinkSync=Rc.bind(null,"lstatSync","isSymbolicLink")});var Wg=F((Pq,Fc)=>{"use strict";var Qr=M("path"),qg=jg(),Hg=e=>e.length>1?`{${e.join(",")}}`:e[0],Gg=(e,t)=>{let r=e[0]==="!"?e.slice(1):e;return Qr.isAbsolute(r)?r:Qr.join(t,r)},BO=(e,t)=>Qr.extname(e)?`**/${e}`:`**/${e}.${Hg(t)}`,Ug=(e,t)=>{if(t.files&&!Array.isArray(t.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof t.files}\``);if(t.extensions&&!Array.isArray(t.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof t.extensions}\``);return t.files&&t.extensions?t.files.map(r=>Qr.posix.join(e,BO(r,t.extensions))):t.files?t.files.map(r=>Qr.posix.join(e,`**/${r}`)):t.extensions?[Qr.posix.join(e,`**/*.${Hg(t.extensions)}`)]:[Qr.posix.join(e,"**")]};Fc.exports=async(e,t)=>{if(t={cwd:process.cwd(),...t},typeof t.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);let r=await Promise.all([].concat(e).map(async n=>await qg.isDirectory(Gg(n,t.cwd))?Ug(n,t):n));return[].concat.apply([],r)};Fc.exports.sync=(e,t)=>{if(t={cwd:process.cwd(),...t},typeof t.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);let r=[].concat(e).map(n=>qg.isDirectorySync(Gg(n,t.cwd))?Ug(n,t):n);return[].concat.apply([],r)}});var e0=F((Dq,Zg)=>{function Yg(e){return Array.isArray(e)?e:[e]}var Dc="",zg=" ",kc="\\",$O=/^\s+$/,MO=/(?:[^\\]|^)\\$/,jO=/^\\!/,qO=/^\\#/,HO=/\r?\n/g,GO=/^\.*\/|^\.+$/,Pc="/",Xg="node-ignore";typeof Symbol<"u"&&(Xg=Symbol.for("node-ignore"));var Vg=Xg,UO=(e,t,r)=>Object.defineProperty(e,t,{value:r}),WO=/([0-z])-([0-z])/g,Qg=()=>!1,YO=e=>e.replace(WO,(t,r,n)=>r.charCodeAt(0)<=n.charCodeAt(0)?t:Dc),zO=e=>{let{length:t}=e;return e.slice(0,t-t%2)},VO=[[/^\uFEFF/,()=>Dc],[/\\?\s+$/,e=>e.indexOf("\\")===0?zg:Dc],[/\\\s/g,()=>zg],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,r)=>t+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,r)=>{let n=r.replace(/\\\*/g,"[^\\/]*");return t+n}],[/\\\\\\(?=[$.|*+(){^])/g,()=>kc],[/\\\\/g,()=>kc],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,r,n,i)=>t===kc?`\\[${r}${zO(n)}${i}`:i==="]"&&n.length%2===0?`[${YO(r)}${n}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],Kg=Object.create(null),KO=(e,t)=>{let r=Kg[e];return r||(r=VO.reduce((n,i)=>n.replace(i[0],i[1].bind(e)),e),Kg[e]=r),t?new RegExp(r,"i"):new RegExp(r)},Lc=e=>typeof e=="string",XO=e=>e&&Lc(e)&&!$O.test(e)&&!MO.test(e)&&e.indexOf("#")!==0,QO=e=>e.split(HO),Tc=class{constructor(t,r,n,i){this.origin=t,this.pattern=r,this.negative=n,this.regex=i}},JO=(e,t)=>{let r=e,n=!1;e.indexOf("!")===0&&(n=!0,e=e.substr(1)),e=e.replace(jO,"!").replace(qO,"#");let i=KO(e,t);return new Tc(r,e,n,i)},ZO=(e,t)=>{throw new t(e)},er=(e,t,r)=>Lc(e)?e?er.isNotRelative(e)?r(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):!0:r("path must not be empty",TypeError):r(`path must be a string, but got \`${t}\``,TypeError),Jg=e=>GO.test(e);er.isNotRelative=Jg;er.convert=e=>e;var Ic=class{constructor({ignorecase:t=!0,ignoreCase:r=t,allowRelativePaths:n=!1}={}){UO(this,Vg,!0),this._rules=[],this._ignoreCase=r,this._allowRelativePaths=n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(t){if(t&&t[Vg]){this._rules=this._rules.concat(t._rules),this._added=!0;return}if(XO(t)){let r=JO(t,this._ignoreCase);this._added=!0,this._rules.push(r)}}add(t){return this._added=!1,Yg(Lc(t)?QO(t):t).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(t){return this.add(t)}_testOne(t,r){let n=!1,i=!1;return this._rules.forEach(s=>{let{negative:o}=s;if(i===o&&n!==i||o&&!n&&!i&&!r)return;s.regex.test(t)&&(n=!o,i=o)}),{ignored:n,unignored:i}}_test(t,r,n,i){let s=t&&er.convert(t);return er(s,t,this._allowRelativePaths?Qg:ZO),this._t(s,r,n,i)}_t(t,r,n,i){if(t in r)return r[t];if(i||(i=t.split(Pc)),i.pop(),!i.length)return r[t]=this._testOne(t,n);let s=this._t(i.join(Pc)+Pc,r,n,i);return r[t]=s.ignored?s:this._testOne(t,n)}ignores(t){return this._test(t,this._ignoreCache,!1).ignored}createFilter(){return t=>!this.ignores(t)}filter(t){return Yg(t).filter(this.createFilter())}test(t){return this._test(t,this._testCache,!0)}},co=e=>new Ic(e),eR=e=>er(e&&er.convert(e),e,Qg);co.isPathValid=eR;co.default=co;Zg.exports=co;if(typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let e=r=>/^\\\\\?\\/.test(r)||/["<>|\u0000-\u001F]+/u.test(r)?r:r.replace(/\\/g,"/");er.convert=e;let t=/^[a-z]:\//i;er.isNotRelative=r=>t.test(r)||Jg(r)}});var r0=F((Tq,t0)=>{"use strict";t0.exports=e=>{let t=/^\\\\\?\\/.test(e),r=/[^\u0000-\u0080]+/.test(e);return t||r?e:e.replace(/\\/g,"/")}});var c0=F((Iq,Nc)=>{"use strict";var{promisify:tR}=M("util"),n0=M("fs"),tr=M("path"),i0=bc(),rR=e0(),ki=r0(),s0=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],nR=tR(n0.readFile),iR=e=>t=>t.startsWith("!")?"!"+tr.posix.join(e,t.slice(1)):tr.posix.join(e,t),sR=(e,t)=>{let r=ki(tr.relative(t.cwd,tr.dirname(t.fileName)));return e.split(/\r?\n/).filter(Boolean).filter(n=>!n.startsWith("#")).map(iR(r))},o0=e=>{let t=rR();for(let r of e)t.add(sR(r.content,{cwd:r.cwd,fileName:r.filePath}));return t},oR=(e,t)=>{if(e=ki(e),tr.isAbsolute(t)){if(ki(t).startsWith(e))return t;throw new Error(`Path ${t} is not in cwd ${e}`)}return tr.join(e,t)},a0=(e,t)=>r=>e.ignores(ki(tr.relative(t,oR(t,r.path||r)))),aR=async(e,t)=>{let r=tr.join(t,e),n=await nR(r,"utf8");return{cwd:t,filePath:r,content:n}},uR=(e,t)=>{let r=tr.join(t,e),n=n0.readFileSync(r,"utf8");return{cwd:t,filePath:r,content:n}},u0=({ignore:e=[],cwd:t=ki(process.cwd())}={})=>({ignore:e,cwd:t});Nc.exports=async e=>{e=u0(e);let t=await i0("**/.gitignore",{ignore:s0.concat(e.ignore),cwd:e.cwd}),r=await Promise.all(t.map(i=>aR(i,e.cwd))),n=o0(r);return a0(n,e.cwd)};Nc.exports.sync=e=>{e=u0(e);let r=i0.sync("**/.gitignore",{ignore:s0.concat(e.ignore),cwd:e.cwd}).map(i=>uR(i,e.cwd)),n=o0(r);return a0(n,e.cwd)}});var f0=F((Lq,l0)=>{"use strict";var{Transform:cR}=M("stream"),lo=class extends cR{constructor(){super({objectMode:!0})}},Bc=class extends lo{constructor(t){super(),this._filter=t}_transform(t,r,n){this._filter(t)&&this.push(t),n()}},$c=class extends lo{constructor(){super(),this._pushed=new Set}_transform(t,r,n){this._pushed.has(t)||(this.push(t),this._pushed.add(t)),n()}};l0.exports={FilterStream:Bc,UniqueStream:$c}});var m0=F((Nq,Jr)=>{"use strict";var d0=M("fs"),fo=ed(),lR=Ha(),ho=bc(),po=Wg(),Mc=c0(),{FilterStream:fR,UniqueStream:hR}=f0(),p0=()=>!1,h0=e=>e[0]==="!",dR=e=>{if(!e.every(t=>typeof t=="string"))throw new TypeError("Patterns must be a string or an array of strings")},pR=(e={})=>{if(!e.cwd)return;let t;try{t=d0.statSync(e.cwd)}catch{return}if(!t.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},gR=e=>e.stats instanceof d0.Stats?e.path:e,go=(e,t)=>{e=fo([].concat(e)),dR(e),pR(t);let r=[];t={ignore:[],expandDirectories:!0,...t};for(let[n,i]of e.entries()){if(h0(i))continue;let s=e.slice(n).filter(a=>h0(a)).map(a=>a.slice(1)),o={...t,ignore:t.ignore.concat(s)};r.push({pattern:i,options:o})}return r},mR=(e,t)=>{let r={};return e.options.cwd&&(r.cwd=e.options.cwd),Array.isArray(e.options.expandDirectories)?r={...r,files:e.options.expandDirectories}:typeof e.options.expandDirectories=="object"&&(r={...r,...e.options.expandDirectories}),t(e.pattern,r)},jc=(e,t)=>e.options.expandDirectories?mR(e,t):[e.pattern],g0=e=>e&&e.gitignore?Mc.sync({cwd:e.cwd,ignore:e.ignore}):p0,qc=e=>t=>{let{options:r}=e;return r.ignore&&Array.isArray(r.ignore)&&r.expandDirectories&&(r.ignore=po.sync(r.ignore)),{pattern:t,options:r}};Jr.exports=async(e,t)=>{let r=go(e,t),n=async()=>t&&t.gitignore?Mc({cwd:t.cwd,ignore:t.ignore}):p0,i=async()=>{let u=await Promise.all(r.map(async c=>{let f=await jc(c,po);return Promise.all(f.map(qc(c)))}));return fo(...u)},[s,o]=await Promise.all([n(),i()]),a=await Promise.all(o.map(u=>ho(u.pattern,u.options)));return fo(...a).filter(u=>!s(gR(u)))};Jr.exports.sync=(e,t)=>{let r=go(e,t),n=[];for(let o of r){let a=jc(o,po.sync).map(qc(o));n.push(...a)}let i=g0(t),s=[];for(let o of n)s=fo(s,ho.sync(o.pattern,o.options));return s.filter(o=>!i(o))};Jr.exports.stream=(e,t)=>{let r=go(e,t),n=[];for(let a of r){let u=jc(a,po.sync).map(qc(a));n.push(...u)}let i=g0(t),s=new fR(a=>!i(a)),o=new hR;return lR(n.map(a=>ho.stream(a.pattern,a.options))).pipe(s).pipe(o)};Jr.exports.generateGlobTasks=go;Jr.exports.hasMagic=(e,t)=>[].concat(e).some(r=>ho.isDynamicPattern(r,t));Jr.exports.gitignore=Mc});var yo=F(Pn=>{"use strict";var y0=Pn&&Pn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Pn,"__esModule",{value:!0});Pn.getPackagePaths=void 0;var mo=y0(M("path")),yR=y0(m0()),Pi={};function vR(e,t,r){if(Pi[e])return Pi[e];let n=yR.default.sync(t.map(i=>mo.default.join(i,"package.json").replace(/\\/g,"/")),{cwd:e,absolute:!0,ignore:["**/node_modules/**","**/__fixtures__/**"],stats:!1}).map(i=>mo.default.dirname(i));return mo.default.sep==="/"?Pi[e]=n:Pi[e]=n.map(i=>i.replace(/\//g,mo.default.sep)),Pi[e]}Pn.getPackagePaths=vR});var Di=F(Dn=>{"use strict";var v0=Dn&&Dn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Dn,"__esModule",{value:!0});Dn.getWorkspacePackageInfo=void 0;var ER=v0(M("path")),AR=v0(M("fs"));function SR(e){return e?e.reduce((t,r)=>{let n,i=ER.default.join(r,"package.json");try{n=JSON.parse(AR.default.readFileSync(i,"utf-8"))}catch{return t}return[...t,{name:n.name,path:r,packageJson:{...n,packageJsonPath:i}}]},[]):[]}Dn.getWorkspacePackageInfo=SR});var Hc=F(Or=>{"use strict";var E0=Or&&Or.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Or,"__esModule",{value:!0});Or.getWorkspaceInfoFromWorkspaceRoot=Or.getPackageJsonWorkspaceRoot=void 0;var wR=E0(M("fs")),A0=E0(M("path")),CR=Ts(),_R=yo(),xR=Di();function bR(e){var t;let r=(t=(0,CR.getWorkspaceImplementationAndLockFile)(e))===null||t===void 0?void 0:t.lockFile;return r?A0.default.dirname(r):e}Or.getPackageJsonWorkspaceRoot=bR;function OR(e){let t=A0.default.join(e,"package.json");try{return JSON.parse(wR.default.readFileSync(t,"utf-8"))}catch{throw new Error("Could not load package.json from workspaces root")}}function RR(e){let{workspaces:t}=e;if(t&&Array.isArray(t))return t;if(!t||!t.packages)throw new Error("Could not find a workspaces object in package.json");return t.packages}function FR(e){try{let t=OR(e),r=RR(t),n=(0,_R.getPackagePaths)(e,r);return(0,xR.getWorkspacePackageInfo)(n)}catch{return[]}}Or.getWorkspaceInfoFromWorkspaceRoot=FR});var vo=F(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.getYarnWorkspaces=Tn.getYarnWorkspaceRoot=void 0;var S0=Hc();function w0(e){let t=(0,S0.getPackageJsonWorkspaceRoot)(e);if(!t)throw new Error("Could not find yarn workspaces root");return t}Tn.getYarnWorkspaceRoot=w0;function kR(e){let t=w0(e);return(0,S0.getWorkspaceInfoFromWorkspaceRoot)(t)}Tn.getYarnWorkspaces=kR});var In=F((qq,Zr)=>{"use strict";function C0(e){return typeof e>"u"||e===null}function PR(e){return typeof e=="object"&&e!==null}function DR(e){return Array.isArray(e)?e:C0(e)?[]:[e]}function TR(e,t){var r,n,i,s;if(t)for(s=Object.keys(t),r=0,n=s.length;r<n;r+=1)i=s[r],e[i]=t[i];return e}function IR(e,t){var r="",n;for(n=0;n<t;n+=1)r+=e;return r}function LR(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}Zr.exports.isNothing=C0;Zr.exports.isObject=PR;Zr.exports.toArray=DR;Zr.exports.repeat=IR;Zr.exports.isNegativeZero=LR;Zr.exports.extend=TR});var Ln=F((Hq,x0)=>{"use strict";function _0(e,t){var r="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=`
1
+ var D_=Object.create;var Wd=Object.defineProperty;var F_=Object.getOwnPropertyDescriptor;var L_=Object.getOwnPropertyNames;var T_=Object.getPrototypeOf,k_=Object.prototype.hasOwnProperty;var M=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var _=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var N_=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of L_(t))!k_.call(e,i)&&i!==r&&Wd(e,i,{get:()=>t[i],enumerable:!(n=F_(t,i))||n.enumerable});return e};var zd=(e,t,r)=>(r=e!=null?D_(T_(e)):{},N_(t||!e||!e.__esModule?Wd(r,"default",{value:e,enumerable:!0}):r,e));var bo=_(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.getPackageDependencies=void 0;function I_(e,t,r={withDevDependencies:!0}){let n={...e.dependencies,...r.withDevDependencies&&e.devDependencies,...r.withPeerDependencies&&e.peerDependencies};return Object.keys(t).filter(i=>!!n[i])}So.getPackageDependencies=I_});var Yd=_(jr=>{"use strict";Object.defineProperty(jr,"__esModule",{value:!0});jr.getTransitiveProviders=jr.getTransitiveConsumers=jr.getDependentMap=void 0;var $_=bo(),dc=new Map;function B_(e,t=[]){return JSON.stringify({packages:e,scope:t})}function mc(e,t=[]){let r=B_(e,t);if(dc.has(r))return dc.get(r);let n=[],i=new Set,s=t.length>0?[...t]:Object.keys(e);for(;s.length>0;){let o=s.pop();if(i.has(o))continue;i.add(o);let a=e[o],c=(0,$_.getPackageDependencies)(a,e);if(c.length>0)for(let u of c)s.push(u),n.push([u,o]);else n.push([null,o])}return dc.set(r,n),n}function M_(e){let t=mc(e),r=new Map;for(let[n,i]of t)r.has(i)||r.set(i,new Set),n&&r.get(i).add(n);return r}jr.getDependentMap=M_;function j_(e,t,r=[]){let n=mc(t,r),i=[...e],s=new Set;for(;i.length>0;){let o=i.shift();if(!s.has(o)){s.add(o);for(let[a,c]of n)a===o&&i.push(c)}}return[...s].filter(o=>!e.includes(o))}jr.getTransitiveConsumers=j_;function q_(e,t){let r=mc(t),n=[...e],i=new Set;for(;n.length>0;){let s=n.shift();if(!i.has(s)){i.add(s);for(let[o,a]of r)a===s&&o&&n.push(o)}}return[...i].filter(s=>!e.includes(s))}jr.getTransitiveProviders=q_});var Vd=_(Lt=>{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});Lt.getInternalDeps=Lt.getTransitiveConsumers=Lt.getTransitiveDependents=Lt.getTransitiveProviders=Lt.getTransitiveDependencies=void 0;var Co=Yd();Object.defineProperty(Lt,"getTransitiveConsumers",{enumerable:!0,get:function(){return Co.getTransitiveConsumers}});Object.defineProperty(Lt,"getTransitiveProviders",{enumerable:!0,get:function(){return Co.getTransitiveProviders}});var G_=bo();Lt.getTransitiveDependencies=Co.getTransitiveProviders;Lt.getTransitiveDependents=Co.getTransitiveConsumers;Lt.getInternalDeps=G_.getPackageDependencies});var Kd=_(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.infoFromPackageJson=void 0;function U_(e,t){return{packageJsonPath:t,...e}}xo.infoFromPackageJson=U_});var Jd=_((n8,Xd)=>{var gc=class{constructor(t){this.value=t,this.next=void 0}},yc=class{constructor(){this.clear()}enqueue(t){let r=new gc(t);this._head?(this._tail.next=r,this._tail=r):(this._head=r,this._tail=r),this._size++}dequeue(){let t=this._head;if(t)return this._head=this._head.next,this._size--,t.value}clear(){this._head=void 0,this._tail=void 0,this._size=0}get size(){return this._size}*[Symbol.iterator](){let t=this._head;for(;t;)yield t.value,t=t.next}};Xd.exports=yc});var Zd=_((i8,Qd)=>{"use strict";var H_=Jd(),W_=e=>{if(!((Number.isInteger(e)||e===1/0)&&e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");let t=new H_,r=0,n=()=>{r--,t.size>0&&t.dequeue()()},i=async(a,c,...u)=>{r++;let f=(async()=>a(...u))();c(f);try{await f}catch{}n()},s=(a,c,...u)=>{t.enqueue(i.bind(null,a,c,...u)),(async()=>(await Promise.resolve(),r<e&&t.size>0&&t.dequeue()()))()},o=(a,...c)=>new Promise(u=>{s(a,u,...c)});return Object.defineProperties(o,{activeCount:{get:()=>r},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),o};Qd.exports=W_});var rm=_((s8,tm)=>{"use strict";var em=Zd(),Oo=class extends Error{constructor(t){super(),this.value=t}},z_=async(e,t)=>t(await e),Y_=async e=>{let t=await Promise.all(e);if(t[1]===!0)throw new Oo(t[0]);return!1},V_=async(e,t,r)=>{r={concurrency:1/0,preserveOrder:!0,...r};let n=em(r.concurrency),i=[...e].map(o=>[o,n(z_,o,t)]),s=em(r.preserveOrder?1:1/0);try{await Promise.all(i.map(o=>s(Y_,o)))}catch(o){if(o instanceof Oo)return o.value;throw o}};tm.exports=V_});var um=_((o8,vc)=>{"use strict";var nm=M("path"),_o=M("fs"),{promisify:im}=M("util"),K_=rm(),X_=im(_o.stat),J_=im(_o.lstat),sm={directory:"isDirectory",file:"isFile"};function om({type:e}){if(!(e in sm))throw new Error(`Invalid type specified: ${e}`)}var am=(e,t)=>e===void 0||t[sm[e]]();vc.exports=async(e,t)=>{t={cwd:process.cwd(),type:"file",allowSymlinks:!0,...t},om(t);let r=t.allowSymlinks?X_:J_;return K_(e,async n=>{try{let i=await r(nm.resolve(t.cwd,n));return am(t.type,i)}catch{return!1}},t)};vc.exports.sync=(e,t)=>{t={cwd:process.cwd(),allowSymlinks:!0,type:"file",...t},om(t);let r=t.allowSymlinks?_o.statSync:_o.lstatSync;for(let n of e)try{let i=r(nm.resolve(t.cwd,n));if(am(t.type,i))return n}catch{}}});var lm=_((a8,Ec)=>{"use strict";var cm=M("fs"),{promisify:Q_}=M("util"),Z_=Q_(cm.access);Ec.exports=async e=>{try{return await Z_(e),!0}catch{return!1}};Ec.exports.sync=e=>{try{return cm.accessSync(e),!0}catch{return!1}}});var zn=_((u8,Wn)=>{"use strict";var qr=M("path"),Po=um(),fm=lm(),Ac=Symbol("findUp.stop");Wn.exports=async(e,t={})=>{let r=qr.resolve(t.cwd||""),{root:n}=qr.parse(r),i=[].concat(e),s=async o=>{if(typeof e!="function")return Po(i,o);let a=await e(o.cwd);return typeof a=="string"?Po([a],o):a};for(;;){let o=await s({...t,cwd:r});if(o===Ac)return;if(o)return qr.resolve(r,o);if(r===n)return;r=qr.dirname(r)}};Wn.exports.sync=(e,t={})=>{let r=qr.resolve(t.cwd||""),{root:n}=qr.parse(r),i=[].concat(e),s=o=>{if(typeof e!="function")return Po.sync(i,o);let a=e(o.cwd);return typeof a=="string"?Po.sync([a],o):a};for(;;){let o=s({...t,cwd:r});if(o===Ac)return;if(o)return qr.resolve(r,o);if(r===n)return;r=qr.dirname(r)}};Wn.exports.exists=fm;Wn.exports.sync.exists=fm.sync;Wn.exports.stop=Ac});var Ro=_(Gr=>{"use strict";var hm=Gr&&Gr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Gr,"__esModule",{value:!0});Gr.getWorkspaceImplementation=Gr.getWorkspaceImplementationAndLockFile=void 0;var eP=hm(zn()),tP=hm(M("path")),pm={};function dm(e,t=pm){if(t[e])return t[e];let r=eP.default.sync(["lerna.json","rush.json","yarn.lock","pnpm-workspace.yaml","package-lock.json"],{cwd:e});if(r){switch(tP.default.basename(r)){case"lerna.json":t[e]={implementation:"lerna",lockFile:r};break;case"yarn.lock":t[e]={implementation:"yarn",lockFile:r};break;case"pnpm-workspace.yaml":t[e]={implementation:"pnpm",lockFile:r};break;case"rush.json":t[e]={implementation:"rush",lockFile:r};break;case"package-lock.json":t[e]={implementation:"npm",lockFile:r};break}return t[e]}}Gr.getWorkspaceImplementationAndLockFile=dm;function rP(e,t=pm){var r;return(r=dm(e,t))===null||r===void 0?void 0:r.implementation}Gr.getWorkspaceImplementation=rP});var gm=_((l8,mm)=>{"use strict";mm.exports=(...e)=>[...new Set([].concat(...e))]});var wc=_((f8,Em)=>{"use strict";var nP=M("stream"),ym=nP.PassThrough,iP=Array.prototype.slice;Em.exports=sP;function sP(){let e=[],t=iP.call(arguments),r=!1,n=t[t.length-1];n&&!Array.isArray(n)&&n.pipe==null?t.pop():n={};let i=n.end!==!1,s=n.pipeError===!0;n.objectMode==null&&(n.objectMode=!0),n.highWaterMark==null&&(n.highWaterMark=64*1024);let o=ym(n);function a(){for(let f=0,l=arguments.length;f<l;f++)e.push(vm(arguments[f],n));return c(),this}function c(){if(r)return;r=!0;let f=e.shift();if(!f){process.nextTick(u);return}Array.isArray(f)||(f=[f]);let l=f.length+1;function h(){--l>0||(r=!1,c())}function p(d){function g(){d.removeListener("merge2UnpipeEnd",g),d.removeListener("end",g),s&&d.removeListener("error",E),h()}function E(x){o.emit("error",x)}if(d._readableState.endEmitted)return h();d.on("merge2UnpipeEnd",g),d.on("end",g),s&&d.on("error",E),d.pipe(o,{end:!1}),d.resume()}for(let d=0;d<f.length;d++)p(f[d]);h()}function u(){r=!1,o.emit("queueDrain"),i&&o.end()}return o.setMaxListeners(0),o.add=a,o.on("unpipe",function(f){f.emit("merge2UnpipeEnd")}),t.length&&a.apply(null,t),o}function vm(e,t){if(Array.isArray(e))for(let r=0,n=e.length;r<n;r++)e[r]=vm(e[r],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(ym(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}});var Am=_(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.splitWhen=Yn.flatten=void 0;function oP(e){return e.reduce((t,r)=>[].concat(t,r),[])}Yn.flatten=oP;function aP(e,t){let r=[[]],n=0;for(let i of e)t(i)?(n++,r[n]=[]):r[n].push(i);return r}Yn.splitWhen=aP});var wm=_(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.isEnoentCodeError=void 0;function uP(e){return e.code==="ENOENT"}Do.isEnoentCodeError=uP});var Sm=_(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});Fo.createDirentFromStats=void 0;var Sc=class{constructor(t,r){this.name=t,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function cP(e,t){return new Sc(e,t)}Fo.createDirentFromStats=cP});var Om=_($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.convertPosixPathToPattern=$e.convertWindowsPathToPattern=$e.convertPathToPattern=$e.escapePosixPath=$e.escapeWindowsPath=$e.escape=$e.removeLeadingDotSegment=$e.makeAbsolute=$e.unixify=void 0;var lP=M("os"),fP=M("path"),bm=lP.platform()==="win32",hP=2,pP=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,dP=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,mP=/^\\\\([.?])/,gP=/\\(?![!()+@[\]{}])/g;function yP(e){return e.replace(/\\/g,"/")}$e.unixify=yP;function vP(e,t){return fP.resolve(e,t)}$e.makeAbsolute=vP;function EP(e){if(e.charAt(0)==="."){let t=e.charAt(1);if(t==="/"||t==="\\")return e.slice(hP)}return e}$e.removeLeadingDotSegment=EP;$e.escape=bm?bc:Cc;function bc(e){return e.replace(dP,"\\$2")}$e.escapeWindowsPath=bc;function Cc(e){return e.replace(pP,"\\$2")}$e.escapePosixPath=Cc;$e.convertPathToPattern=bm?Cm:xm;function Cm(e){return bc(e).replace(mP,"//$1").replace(gP,"/")}$e.convertWindowsPathToPattern=Cm;function xm(e){return Cc(e)}$e.convertPosixPathToPattern=xm});var Pm=_((g8,_m)=>{_m.exports=function(t){if(typeof t!="string"||t==="")return!1;for(var r;r=/(\\).|([@?!+*]\(.*\))/g.exec(t);){if(r[2])return!0;t=t.slice(r.index+r[0].length)}return!1}});var Fm=_((y8,Dm)=>{var AP=Pm(),Rm={"{":"}","(":")","[":"]"},wP=function(e){if(e[0]==="!")return!0;for(var t=0,r=-2,n=-2,i=-2,s=-2,o=-2;t<e.length;){if(e[t]==="*"||e[t+1]==="?"&&/[\].+)]/.test(e[t])||n!==-1&&e[t]==="["&&e[t+1]!=="]"&&(n<t&&(n=e.indexOf("]",t)),n>t&&(o===-1||o>n||(o=e.indexOf("\\",t),o===-1||o>n)))||i!==-1&&e[t]==="{"&&e[t+1]!=="}"&&(i=e.indexOf("}",t),i>t&&(o=e.indexOf("\\",t),o===-1||o>i))||s!==-1&&e[t]==="("&&e[t+1]==="?"&&/[:!=]/.test(e[t+2])&&e[t+3]!==")"&&(s=e.indexOf(")",t),s>t&&(o=e.indexOf("\\",t),o===-1||o>s))||r!==-1&&e[t]==="("&&e[t+1]!=="|"&&(r<t&&(r=e.indexOf("|",t)),r!==-1&&e[r+1]!==")"&&(s=e.indexOf(")",r),s>r&&(o=e.indexOf("\\",r),o===-1||o>s))))return!0;if(e[t]==="\\"){var a=e[t+1];t+=2;var c=Rm[a];if(c){var u=e.indexOf(c,t);u!==-1&&(t=u+1)}if(e[t]==="!")return!0}else t++}return!1},SP=function(e){if(e[0]==="!")return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if(e[t]==="\\"){var r=e[t+1];t+=2;var n=Rm[r];if(n){var i=e.indexOf(n,t);i!==-1&&(t=i+1)}if(e[t]==="!")return!0}else t++}return!1};Dm.exports=function(t,r){if(typeof t!="string"||t==="")return!1;if(AP(t))return!0;var n=wP;return r&&r.strict===!1&&(n=SP),n(t)}});var Tm=_((v8,Lm)=>{"use strict";var bP=Fm(),CP=M("path").posix.dirname,xP=M("os").platform()==="win32",xc="/",OP=/\\/g,_P=/[\{\[].*[\}\]]$/,PP=/(^|[^\\])([\{\[]|\([^\)]+$)/,RP=/\\([\!\*\?\|\[\]\(\)\{\}])/g;Lm.exports=function(t,r){var n=Object.assign({flipBackslashes:!0},r);n.flipBackslashes&&xP&&t.indexOf(xc)<0&&(t=t.replace(OP,xc)),_P.test(t)&&(t+=xc),t+="a";do t=CP(t);while(bP(t)||PP.test(t));return t.replace(RP,"$1")}});var Lo=_(Tt=>{"use strict";Tt.isInteger=e=>typeof e=="number"?Number.isInteger(e):typeof e=="string"&&e.trim()!==""?Number.isInteger(Number(e)):!1;Tt.find=(e,t)=>e.nodes.find(r=>r.type===t);Tt.exceedsLimit=(e,t,r=1,n)=>n===!1||!Tt.isInteger(e)||!Tt.isInteger(t)?!1:(Number(t)-Number(e))/Number(r)>=n;Tt.escapeNode=(e,t=0,r)=>{let n=e.nodes[t];n&&(r&&n.type===r||n.type==="open"||n.type==="close")&&n.escaped!==!0&&(n.value="\\"+n.value,n.escaped=!0)};Tt.encloseBrace=e=>e.type!=="brace"||e.commas>>0+e.ranges>>0?!1:(e.invalid=!0,!0);Tt.isInvalidBrace=e=>e.type!=="brace"?!1:e.invalid===!0||e.dollar?!0:!(e.commas>>0+e.ranges>>0)||e.open!==!0||e.close!==!0?(e.invalid=!0,!0):!1;Tt.isOpenOrClose=e=>e.type==="open"||e.type==="close"?!0:e.open===!0||e.close===!0;Tt.reduce=e=>e.reduce((t,r)=>(r.type==="text"&&t.push(r.value),r.type==="range"&&(r.type="text"),t),[]);Tt.flatten=(...e)=>{let t=[],r=n=>{for(let i=0;i<n.length;i++){let s=n[i];if(Array.isArray(s)){r(s);continue}s!==void 0&&t.push(s)}return t};return r(e),t}});var To=_((A8,Nm)=>{"use strict";var km=Lo();Nm.exports=(e,t={})=>{let r=(n,i={})=>{let s=t.escapeInvalid&&km.isInvalidBrace(i),o=n.invalid===!0&&t.escapeInvalid===!0,a="";if(n.value)return(s||o)&&km.isOpenOrClose(n)?"\\"+n.value:n.value;if(n.value)return n.value;if(n.nodes)for(let c of n.nodes)a+=r(c);return a};return r(e)}});var $m=_((w8,Im)=>{"use strict";Im.exports=function(e){return typeof e=="number"?e-e===0:typeof e=="string"&&e.trim()!==""?Number.isFinite?Number.isFinite(+e):isFinite(+e):!1}});var zm=_((S8,Wm)=>{"use strict";var Bm=$m(),yn=(e,t,r)=>{if(Bm(e)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(t===void 0||e===t)return String(e);if(Bm(t)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let n={relaxZeros:!0,...r};typeof n.strictZeros=="boolean"&&(n.relaxZeros=n.strictZeros===!1);let i=String(n.relaxZeros),s=String(n.shorthand),o=String(n.capture),a=String(n.wrap),c=e+":"+t+"="+i+s+o+a;if(yn.cache.hasOwnProperty(c))return yn.cache[c].result;let u=Math.min(e,t),f=Math.max(e,t);if(Math.abs(u-f)===1){let g=e+"|"+t;return n.capture?`(${g})`:n.wrap===!1?g:`(?:${g})`}let l=Hm(e)||Hm(t),h={min:e,max:t,a:u,b:f},p=[],d=[];if(l&&(h.isPadded=l,h.maxLen=String(h.max).length),u<0){let g=f<0?Math.abs(f):1;d=Mm(g,Math.abs(u),h,n),u=h.a=0}return f>=0&&(p=Mm(u,f,h,n)),h.negatives=d,h.positives=p,h.result=DP(d,p,n),n.capture===!0?h.result=`(${h.result})`:n.wrap!==!1&&p.length+d.length>1&&(h.result=`(?:${h.result})`),yn.cache[c]=h,h.result};function DP(e,t,r){let n=Oc(e,t,"-",!1,r)||[],i=Oc(t,e,"",!1,r)||[],s=Oc(e,t,"-?",!0,r)||[];return n.concat(s).concat(i).join("|")}function FP(e,t){let r=1,n=1,i=qm(e,r),s=new Set([t]);for(;e<=i&&i<=t;)s.add(i),r+=1,i=qm(e,r);for(i=Gm(t+1,n)-1;e<i&&i<=t;)s.add(i),n+=1,i=Gm(t+1,n)-1;return s=[...s],s.sort(kP),s}function LP(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=TP(e,t),i=n.length,s="",o=0;for(let a=0;a<i;a++){let[c,u]=n[a];c===u?s+=c:c!=="0"||u!=="9"?s+=NP(c,u,r):o++}return o&&(s+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:s,count:[o],digits:i}}function Mm(e,t,r,n){let i=FP(e,t),s=[],o=e,a;for(let c=0;c<i.length;c++){let u=i[c],f=LP(String(o),String(u),n),l="";if(!r.isPadded&&a&&a.pattern===f.pattern){a.count.length>1&&a.count.pop(),a.count.push(f.count[0]),a.string=a.pattern+Um(a.count),o=u+1;continue}r.isPadded&&(l=IP(u,r,n)),f.string=l+f.pattern+Um(f.count),s.push(f),o=u+1,a=f}return s}function Oc(e,t,r,n,i){let s=[];for(let o of e){let{string:a}=o;!n&&!jm(t,"string",a)&&s.push(r+a),n&&jm(t,"string",a)&&s.push(r+a)}return s}function TP(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}function kP(e,t){return e>t?1:t>e?-1:0}function jm(e,t,r){return e.some(n=>n[t]===r)}function qm(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function Gm(e,t){return e-e%Math.pow(10,t)}function Um(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function NP(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function Hm(e){return/^-?(0+)\d/.test(e)}function IP(e,t,r){if(!t.isPadded)return e;let n=Math.abs(t.maxLen-String(e).length),i=r.relaxZeros!==!1;switch(n){case 0:return"";case 1:return i?"0?":"0";case 2:return i?"0{0,2}":"00";default:return i?`0{0,${n}}`:`0{${n}}`}}yn.cache={};yn.clearCache=()=>yn.cache={};Wm.exports=yn});var Rc=_((b8,Zm)=>{"use strict";var $P=M("util"),Vm=zm(),Ym=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),BP=e=>t=>e===!0?Number(t):String(t),_c=e=>typeof e=="number"||typeof e=="string"&&e!=="",Vi=e=>Number.isInteger(+e),Pc=e=>{let t=`${e}`,r=-1;if(t[0]==="-"&&(t=t.slice(1)),t==="0")return!1;for(;t[++r]==="0";);return r>0},MP=(e,t,r)=>typeof e=="string"||typeof t=="string"?!0:r.stringify===!0,jP=(e,t,r)=>{if(t>0){let n=e[0]==="-"?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return r===!1?String(e):e},No=(e,t)=>{let r=e[0]==="-"?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},qP=(e,t,r)=>{e.negatives.sort((a,c)=>a<c?-1:a>c?1:0),e.positives.sort((a,c)=>a<c?-1:a>c?1:0);let n=t.capture?"":"?:",i="",s="",o;return e.positives.length&&(i=e.positives.map(a=>No(String(a),r)).join("|")),e.negatives.length&&(s=`-(${n}${e.negatives.map(a=>No(String(a),r)).join("|")})`),i&&s?o=`${i}|${s}`:o=i||s,t.wrap?`(${n}${o})`:o},Km=(e,t,r,n)=>{if(r)return Vm(e,t,{wrap:!1,...n});let i=String.fromCharCode(e);if(e===t)return i;let s=String.fromCharCode(t);return`[${i}-${s}]`},Xm=(e,t,r)=>{if(Array.isArray(e)){let n=r.wrap===!0,i=r.capture?"":"?:";return n?`(${i}${e.join("|")})`:e.join("|")}return Vm(e,t,r)},Jm=(...e)=>new RangeError("Invalid range arguments: "+$P.inspect(...e)),Qm=(e,t,r)=>{if(r.strictRanges===!0)throw Jm([e,t]);return[]},GP=(e,t)=>{if(t.strictRanges===!0)throw new TypeError(`Expected step "${e}" to be a number`);return[]},UP=(e,t,r=1,n={})=>{let i=Number(e),s=Number(t);if(!Number.isInteger(i)||!Number.isInteger(s)){if(n.strictRanges===!0)throw Jm([e,t]);return[]}i===0&&(i=0),s===0&&(s=0);let o=i>s,a=String(e),c=String(t),u=String(r);r=Math.max(Math.abs(r),1);let f=Pc(a)||Pc(c)||Pc(u),l=f?Math.max(a.length,c.length,u.length):0,h=f===!1&&MP(e,t,n)===!1,p=n.transform||BP(h);if(n.toRegex&&r===1)return Km(No(e,l),No(t,l),!0,n);let d={negatives:[],positives:[]},g=b=>d[b<0?"negatives":"positives"].push(Math.abs(b)),E=[],x=0;for(;o?i>=s:i<=s;)n.toRegex===!0&&r>1?g(i):E.push(jP(p(i,x),l,h)),i=o?i-r:i+r,x++;return n.toRegex===!0?r>1?qP(d,n,l):Xm(E,null,{wrap:!1,...n}):E},HP=(e,t,r=1,n={})=>{if(!Vi(e)&&e.length>1||!Vi(t)&&t.length>1)return Qm(e,t,n);let i=n.transform||(h=>String.fromCharCode(h)),s=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),a=s>o,c=Math.min(s,o),u=Math.max(s,o);if(n.toRegex&&r===1)return Km(c,u,!1,n);let f=[],l=0;for(;a?s>=o:s<=o;)f.push(i(s,l)),s=a?s-r:s+r,l++;return n.toRegex===!0?Xm(f,null,{wrap:!1,options:n}):f},ko=(e,t,r,n={})=>{if(t==null&&_c(e))return[e];if(!_c(e)||!_c(t))return Qm(e,t,n);if(typeof r=="function")return ko(e,t,1,{transform:r});if(Ym(r))return ko(e,t,0,r);let i={...n};return i.capture===!0&&(i.wrap=!0),r=r||i.step||1,Vi(r)?Vi(e)&&Vi(t)?UP(e,t,r,i):HP(e,t,Math.max(Math.abs(r),1),i):r!=null&&!Ym(r)?GP(r,i):ko(e,t,1,r)};Zm.exports=ko});var rg=_((C8,tg)=>{"use strict";var WP=Rc(),eg=Lo(),zP=(e,t={})=>{let r=(n,i={})=>{let s=eg.isInvalidBrace(i),o=n.invalid===!0&&t.escapeInvalid===!0,a=s===!0||o===!0,c=t.escapeInvalid===!0?"\\":"",u="";if(n.isOpen===!0)return c+n.value;if(n.isClose===!0)return console.log("node.isClose",c,n.value),c+n.value;if(n.type==="open")return a?c+n.value:"(";if(n.type==="close")return a?c+n.value:")";if(n.type==="comma")return n.prev.type==="comma"?"":a?n.value:"|";if(n.value)return n.value;if(n.nodes&&n.ranges>0){let f=eg.reduce(n.nodes),l=WP(...f,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(l.length!==0)return f.length>1&&l.length>1?`(${l})`:l}if(n.nodes)for(let f of n.nodes)u+=r(f,n);return u};return r(e)};tg.exports=zP});var sg=_((x8,ig)=>{"use strict";var YP=Rc(),ng=To(),Vn=Lo(),vn=(e="",t="",r=!1)=>{let n=[];if(e=[].concat(e),t=[].concat(t),!t.length)return e;if(!e.length)return r?Vn.flatten(t).map(i=>`{${i}}`):t;for(let i of e)if(Array.isArray(i))for(let s of i)n.push(vn(s,t,r));else for(let s of t)r===!0&&typeof s=="string"&&(s=`{${s}}`),n.push(Array.isArray(s)?vn(i,s,r):i+s);return Vn.flatten(n)},VP=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit,n=(i,s={})=>{i.queue=[];let o=s,a=s.queue;for(;o.type!=="brace"&&o.type!=="root"&&o.parent;)o=o.parent,a=o.queue;if(i.invalid||i.dollar){a.push(vn(a.pop(),ng(i,t)));return}if(i.type==="brace"&&i.invalid!==!0&&i.nodes.length===2){a.push(vn(a.pop(),["{}"]));return}if(i.nodes&&i.ranges>0){let l=Vn.reduce(i.nodes);if(Vn.exceedsLimit(...l,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let h=YP(...l,t);h.length===0&&(h=ng(i,t)),a.push(vn(a.pop(),h)),i.nodes=[];return}let c=Vn.encloseBrace(i),u=i.queue,f=i;for(;f.type!=="brace"&&f.type!=="root"&&f.parent;)f=f.parent,u=f.queue;for(let l=0;l<i.nodes.length;l++){let h=i.nodes[l];if(h.type==="comma"&&i.type==="brace"){l===1&&u.push(""),u.push("");continue}if(h.type==="close"){a.push(vn(a.pop(),u,c));continue}if(h.value&&h.type!=="open"){u.push(vn(u.pop(),h.value));continue}h.nodes&&n(h,i)}return u};return Vn.flatten(n(e))};ig.exports=VP});var ag=_((O8,og)=>{"use strict";og.exports={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
2
+ `,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var hg=_((_8,fg)=>{"use strict";var KP=To(),{MAX_LENGTH:ug,CHAR_BACKSLASH:Dc,CHAR_BACKTICK:XP,CHAR_COMMA:JP,CHAR_DOT:QP,CHAR_LEFT_PARENTHESES:ZP,CHAR_RIGHT_PARENTHESES:eR,CHAR_LEFT_CURLY_BRACE:tR,CHAR_RIGHT_CURLY_BRACE:rR,CHAR_LEFT_SQUARE_BRACKET:cg,CHAR_RIGHT_SQUARE_BRACKET:lg,CHAR_DOUBLE_QUOTE:nR,CHAR_SINGLE_QUOTE:iR,CHAR_NO_BREAK_SPACE:sR,CHAR_ZERO_WIDTH_NOBREAK_SPACE:oR}=ag(),aR=(e,t={})=>{if(typeof e!="string")throw new TypeError("Expected a string");let r=t||{},n=typeof r.maxLength=="number"?Math.min(ug,r.maxLength):ug;if(e.length>n)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${n})`);let i={type:"root",input:e,nodes:[]},s=[i],o=i,a=i,c=0,u=e.length,f=0,l=0,h,p=()=>e[f++],d=g=>{if(g.type==="text"&&a.type==="dot"&&(a.type="text"),a&&a.type==="text"&&g.type==="text"){a.value+=g.value;return}return o.nodes.push(g),g.parent=o,g.prev=a,a=g,g};for(d({type:"bos"});f<u;)if(o=s[s.length-1],h=p(),!(h===oR||h===sR)){if(h===Dc){d({type:"text",value:(t.keepEscaping?h:"")+p()});continue}if(h===lg){d({type:"text",value:"\\"+h});continue}if(h===cg){c++;let g;for(;f<u&&(g=p());){if(h+=g,g===cg){c++;continue}if(g===Dc){h+=p();continue}if(g===lg&&(c--,c===0))break}d({type:"text",value:h});continue}if(h===ZP){o=d({type:"paren",nodes:[]}),s.push(o),d({type:"text",value:h});continue}if(h===eR){if(o.type!=="paren"){d({type:"text",value:h});continue}o=s.pop(),d({type:"text",value:h}),o=s[s.length-1];continue}if(h===nR||h===iR||h===XP){let g=h,E;for(t.keepQuotes!==!0&&(h="");f<u&&(E=p());){if(E===Dc){h+=E+p();continue}if(E===g){t.keepQuotes===!0&&(h+=E);break}h+=E}d({type:"text",value:h});continue}if(h===tR){l++;let E={type:"brace",open:!0,close:!1,dollar:a.value&&a.value.slice(-1)==="$"||o.dollar===!0,depth:l,commas:0,ranges:0,nodes:[]};o=d(E),s.push(o),d({type:"open",value:h});continue}if(h===rR){if(o.type!=="brace"){d({type:"text",value:h});continue}let g="close";o=s.pop(),o.close=!0,d({type:g,value:h}),l--,o=s[s.length-1];continue}if(h===JP&&l>0){if(o.ranges>0){o.ranges=0;let g=o.nodes.shift();o.nodes=[g,{type:"text",value:KP(o)}]}d({type:"comma",value:h}),o.commas++;continue}if(h===QP&&l>0&&o.commas===0){let g=o.nodes;if(l===0||g.length===0){d({type:"text",value:h});continue}if(a.type==="dot"){if(o.range=[],a.value+=h,a.type="range",o.nodes.length!==3&&o.nodes.length!==5){o.invalid=!0,o.ranges=0,a.type="text";continue}o.ranges++,o.args=[];continue}if(a.type==="range"){g.pop();let E=g[g.length-1];E.value+=a.value+h,a=E,o.ranges--;continue}d({type:"dot",value:h});continue}d({type:"text",value:h})}do if(o=s.pop(),o.type!=="root"){o.nodes.forEach(x=>{x.nodes||(x.type==="open"&&(x.isOpen=!0),x.type==="close"&&(x.isClose=!0),x.nodes||(x.type="text"),x.invalid=!0)});let g=s[s.length-1],E=g.nodes.indexOf(o);g.nodes.splice(E,1,...o.nodes)}while(s.length>0);return d({type:"eos"}),i};fg.exports=aR});var mg=_((P8,dg)=>{"use strict";var pg=To(),uR=rg(),cR=sg(),lR=hg(),Pt=(e,t={})=>{let r=[];if(Array.isArray(e))for(let n of e){let i=Pt.create(n,t);Array.isArray(i)?r.push(...i):r.push(i)}else r=[].concat(Pt.create(e,t));return t&&t.expand===!0&&t.nodupes===!0&&(r=[...new Set(r)]),r};Pt.parse=(e,t={})=>lR(e,t);Pt.stringify=(e,t={})=>pg(typeof e=="string"?Pt.parse(e,t):e,t);Pt.compile=(e,t={})=>(typeof e=="string"&&(e=Pt.parse(e,t)),uR(e,t));Pt.expand=(e,t={})=>{typeof e=="string"&&(e=Pt.parse(e,t));let r=cR(e,t);return t.noempty===!0&&(r=r.filter(Boolean)),t.nodupes===!0&&(r=[...new Set(r)]),r};Pt.create=(e,t={})=>e===""||e.length<3?[e]:t.expand!==!0?Pt.compile(e,t):Pt.expand(e,t);dg.exports=Pt});var Ki=_((R8,Ag)=>{"use strict";var fR=M("path"),rr="\\\\/",gg=`[^${rr}]`,vr="\\.",hR="\\+",pR="\\?",Io="\\/",dR="(?=.)",yg="[^/]",Fc=`(?:${Io}|$)`,vg=`(?:^|${Io})`,Lc=`${vr}{1,2}${Fc}`,mR=`(?!${vr})`,gR=`(?!${vg}${Lc})`,yR=`(?!${vr}{0,1}${Fc})`,vR=`(?!${Lc})`,ER=`[^.${Io}]`,AR=`${yg}*?`,Eg={DOT_LITERAL:vr,PLUS_LITERAL:hR,QMARK_LITERAL:pR,SLASH_LITERAL:Io,ONE_CHAR:dR,QMARK:yg,END_ANCHOR:Fc,DOTS_SLASH:Lc,NO_DOT:mR,NO_DOTS:gR,NO_DOT_SLASH:yR,NO_DOTS_SLASH:vR,QMARK_NO_DOT:ER,STAR:AR,START_ANCHOR:vg},wR={...Eg,SLASH_LITERAL:`[${rr}]`,QMARK:gg,STAR:`${gg}*?`,DOTS_SLASH:`${vr}{1,2}(?:[${rr}]|$)`,NO_DOT:`(?!${vr})`,NO_DOTS:`(?!(?:^|[${rr}])${vr}{1,2}(?:[${rr}]|$))`,NO_DOT_SLASH:`(?!${vr}{0,1}(?:[${rr}]|$))`,NO_DOTS_SLASH:`(?!${vr}{1,2}(?:[${rr}]|$))`,QMARK_NO_DOT:`[^.${rr}]`,START_ANCHOR:`(?:^|[${rr}])`,END_ANCHOR:`(?:[${rr}]|$)`},SR={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};Ag.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:SR,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:fR.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===!0?wR:Eg}}});var Xi=_(vt=>{"use strict";var bR=M("path"),CR=process.platform==="win32",{REGEX_BACKSLASH:xR,REGEX_REMOVE_BACKSLASH:OR,REGEX_SPECIAL_CHARS:_R,REGEX_SPECIAL_CHARS_GLOBAL:PR}=Ki();vt.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);vt.hasRegexChars=e=>_R.test(e);vt.isRegexChar=e=>e.length===1&&vt.hasRegexChars(e);vt.escapeRegex=e=>e.replace(PR,"\\$1");vt.toPosixSlashes=e=>e.replace(xR,"/");vt.removeBackslashes=e=>e.replace(OR,t=>t==="\\"?"":t);vt.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".").map(Number);return e.length===3&&e[0]>=9||e[0]===8&&e[1]>=10};vt.isWindows=e=>e&&typeof e.windows=="boolean"?e.windows:CR===!0||bR.sep==="\\";vt.escapeLast=(e,t,r)=>{let n=e.lastIndexOf(t,r);return n===-1?e:e[n-1]==="\\"?vt.escapeLast(e,t,n-1):`${e.slice(0,n)}\\${e.slice(n)}`};vt.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r};vt.wrapOutput=(e,t={},r={})=>{let n=r.contains?"":"^",i=r.contains?"":"$",s=`${n}(?:${e})${i}`;return t.negated===!0&&(s=`(?:^(?!${s}).*$)`),s}});var Pg=_((F8,_g)=>{"use strict";var wg=Xi(),{CHAR_ASTERISK:Tc,CHAR_AT:RR,CHAR_BACKWARD_SLASH:Ji,CHAR_COMMA:DR,CHAR_DOT:kc,CHAR_EXCLAMATION_MARK:Nc,CHAR_FORWARD_SLASH:Og,CHAR_LEFT_CURLY_BRACE:Ic,CHAR_LEFT_PARENTHESES:$c,CHAR_LEFT_SQUARE_BRACKET:FR,CHAR_PLUS:LR,CHAR_QUESTION_MARK:Sg,CHAR_RIGHT_CURLY_BRACE:TR,CHAR_RIGHT_PARENTHESES:bg,CHAR_RIGHT_SQUARE_BRACKET:kR}=Ki(),Cg=e=>e===Og||e===Ji,xg=e=>{e.isPrefix!==!0&&(e.depth=e.isGlobstar?1/0:1)},NR=(e,t)=>{let r=t||{},n=e.length-1,i=r.parts===!0||r.scanToEnd===!0,s=[],o=[],a=[],c=e,u=-1,f=0,l=0,h=!1,p=!1,d=!1,g=!1,E=!1,x=!1,b=!1,L=!1,F=!1,A=!1,R=0,D,P,N={value:"",depth:0,isGlob:!1},O=()=>u>=n,m=()=>c.charCodeAt(u+1),y=()=>(D=P,c.charCodeAt(++u));for(;u<n;){P=y();let T;if(P===Ji){b=N.backslashes=!0,P=y(),P===Ic&&(x=!0);continue}if(x===!0||P===Ic){for(R++;O()!==!0&&(P=y());){if(P===Ji){b=N.backslashes=!0,y();continue}if(P===Ic){R++;continue}if(x!==!0&&P===kc&&(P=y())===kc){if(h=N.isBrace=!0,d=N.isGlob=!0,A=!0,i===!0)continue;break}if(x!==!0&&P===DR){if(h=N.isBrace=!0,d=N.isGlob=!0,A=!0,i===!0)continue;break}if(P===TR&&(R--,R===0)){x=!1,h=N.isBrace=!0,A=!0;break}}if(i===!0)continue;break}if(P===Og){if(s.push(u),o.push(N),N={value:"",depth:0,isGlob:!1},A===!0)continue;if(D===kc&&u===f+1){f+=2;continue}l=u+1;continue}if(r.noext!==!0&&(P===LR||P===RR||P===Tc||P===Sg||P===Nc)===!0&&m()===$c){if(d=N.isGlob=!0,g=N.isExtglob=!0,A=!0,P===Nc&&u===f&&(F=!0),i===!0){for(;O()!==!0&&(P=y());){if(P===Ji){b=N.backslashes=!0,P=y();continue}if(P===bg){d=N.isGlob=!0,A=!0;break}}continue}break}if(P===Tc){if(D===Tc&&(E=N.isGlobstar=!0),d=N.isGlob=!0,A=!0,i===!0)continue;break}if(P===Sg){if(d=N.isGlob=!0,A=!0,i===!0)continue;break}if(P===FR){for(;O()!==!0&&(T=y());){if(T===Ji){b=N.backslashes=!0,y();continue}if(T===kR){p=N.isBracket=!0,d=N.isGlob=!0,A=!0;break}}if(i===!0)continue;break}if(r.nonegate!==!0&&P===Nc&&u===f){L=N.negated=!0,f++;continue}if(r.noparen!==!0&&P===$c){if(d=N.isGlob=!0,i===!0){for(;O()!==!0&&(P=y());){if(P===$c){b=N.backslashes=!0,P=y();continue}if(P===bg){A=!0;break}}continue}break}if(d===!0){if(A=!0,i===!0)continue;break}}r.noext===!0&&(g=!1,d=!1);let w=c,C="",v="";f>0&&(C=c.slice(0,f),c=c.slice(f),l-=f),w&&d===!0&&l>0?(w=c.slice(0,l),v=c.slice(l)):d===!0?(w="",v=c):w=c,w&&w!==""&&w!=="/"&&w!==c&&Cg(w.charCodeAt(w.length-1))&&(w=w.slice(0,-1)),r.unescape===!0&&(v&&(v=wg.removeBackslashes(v)),w&&b===!0&&(w=wg.removeBackslashes(w)));let S={prefix:C,input:e,start:f,base:w,glob:v,isBrace:h,isBracket:p,isGlob:d,isExtglob:g,isGlobstar:E,negated:L,negatedExtglob:F};if(r.tokens===!0&&(S.maxDepth=0,Cg(P)||o.push(N),S.tokens=o),r.parts===!0||r.tokens===!0){let T;for(let k=0;k<s.length;k++){let I=T?T+1:f,B=s[k],G=e.slice(I,B);r.tokens&&(k===0&&f!==0?(o[k].isPrefix=!0,o[k].value=C):o[k].value=G,xg(o[k]),S.maxDepth+=o[k].depth),(k!==0||G!=="")&&a.push(G),T=B}if(T&&T+1<e.length){let k=e.slice(T+1);a.push(k),r.tokens&&(o[o.length-1].value=k,xg(o[o.length-1]),S.maxDepth+=o[o.length-1].depth)}S.slashes=s,S.parts=a}return S};_g.exports=NR});var Fg=_((L8,Dg)=>{"use strict";var $o=Ki(),Rt=Xi(),{MAX_LENGTH:Bo,POSIX_REGEX_SOURCE:IR,REGEX_NON_SPECIAL_CHARS:$R,REGEX_SPECIAL_CHARS_BACKREF:BR,REPLACEMENTS:Rg}=$o,MR=(e,t)=>{if(typeof t.expandRange=="function")return t.expandRange(...e,t);e.sort();let r=`[${e.join("-")}]`;try{new RegExp(r)}catch{return e.map(i=>Rt.escapeRegex(i)).join("..")}return r},Kn=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,Bc=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");e=Rg[e]||e;let r={...t},n=typeof r.maxLength=="number"?Math.min(Bo,r.maxLength):Bo,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);let s={type:"bos",value:"",output:r.prepend||""},o=[s],a=r.capture?"":"?:",c=Rt.isWindows(t),u=$o.globChars(c),f=$o.extglobChars(u),{DOT_LITERAL:l,PLUS_LITERAL:h,SLASH_LITERAL:p,ONE_CHAR:d,DOTS_SLASH:g,NO_DOT:E,NO_DOT_SLASH:x,NO_DOTS_SLASH:b,QMARK:L,QMARK_NO_DOT:F,STAR:A,START_ANCHOR:R}=u,D=q=>`(${a}(?:(?!${R}${q.dot?g:l}).)*?)`,P=r.dot?"":E,N=r.dot?L:F,O=r.bash===!0?D(r):A;r.capture&&(O=`(${O})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let m={input:e,index:-1,start:0,dot:r.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:o};e=Rt.removePrefix(e,m),i=e.length;let y=[],w=[],C=[],v=s,S,T=()=>m.index===i-1,k=m.peek=(q=1)=>e[m.index+q],I=m.advance=()=>e[++m.index]||"",B=()=>e.slice(m.index+1),G=(q="",oe=0)=>{m.consumed+=q,m.index+=oe},z=q=>{m.output+=q.output!=null?q.output:q.value,G(q.value)},se=()=>{let q=1;for(;k()==="!"&&(k(2)!=="("||k(3)==="?");)I(),m.start++,q++;return q%2===0?!1:(m.negated=!0,m.start++,!0)},U=q=>{m[q]++,C.push(q)},$=q=>{m[q]--,C.pop()},j=q=>{if(v.type==="globstar"){let oe=m.braces>0&&(q.type==="comma"||q.type==="brace"),H=q.extglob===!0||y.length&&(q.type==="pipe"||q.type==="paren");q.type!=="slash"&&q.type!=="paren"&&!oe&&!H&&(m.output=m.output.slice(0,-v.output.length),v.type="star",v.value="*",v.output=O,m.output+=v.output)}if(y.length&&q.type!=="paren"&&(y[y.length-1].inner+=q.value),(q.value||q.output)&&z(q),v&&v.type==="text"&&q.type==="text"){v.value+=q.value,v.output=(v.output||"")+q.value;return}q.prev=v,o.push(q),v=q},re=(q,oe)=>{let H={...f[oe],conditions:1,inner:""};H.prev=v,H.parens=m.parens,H.output=m.output;let ie=(r.capture?"(":"")+H.open;U("parens"),j({type:q,value:oe,output:m.output?"":d}),j({type:"paren",extglob:!0,value:I(),output:ie}),y.push(H)},ne=q=>{let oe=q.close+(r.capture?")":""),H;if(q.type==="negate"){let ie=O;if(q.inner&&q.inner.length>1&&q.inner.includes("/")&&(ie=D(r)),(ie!==O||T()||/^\)+$/.test(B()))&&(oe=q.close=`)$))${ie}`),q.inner.includes("*")&&(H=B())&&/^\.[^\\/.]+$/.test(H)){let le=Bc(H,{...t,fastpaths:!1}).output;oe=q.close=`)${le})${ie})`}q.prev.type==="bos"&&(m.negatedExtglob=!0)}j({type:"paren",extglob:!0,value:S,output:oe}),$("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(e)){let q=!1,oe=e.replace(BR,(H,ie,le,Se,he,Le)=>Se==="\\"?(q=!0,H):Se==="?"?ie?ie+Se+(he?L.repeat(he.length):""):Le===0?N+(he?L.repeat(he.length):""):L.repeat(le.length):Se==="."?l.repeat(le.length):Se==="*"?ie?ie+Se+(he?O:""):O:ie?H:`\\${H}`);return q===!0&&(r.unescape===!0?oe=oe.replace(/\\/g,""):oe=oe.replace(/\\+/g,H=>H.length%2===0?"\\\\":H?"\\":"")),oe===e&&r.contains===!0?(m.output=e,m):(m.output=Rt.wrapOutput(oe,m,t),m)}for(;!T();){if(S=I(),S==="\0")continue;if(S==="\\"){let H=k();if(H==="/"&&r.bash!==!0||H==="."||H===";")continue;if(!H){S+="\\",j({type:"text",value:S});continue}let ie=/^\\+/.exec(B()),le=0;if(ie&&ie[0].length>2&&(le=ie[0].length,m.index+=le,le%2!==0&&(S+="\\")),r.unescape===!0?S=I():S+=I(),m.brackets===0){j({type:"text",value:S});continue}}if(m.brackets>0&&(S!=="]"||v.value==="["||v.value==="[^")){if(r.posix!==!1&&S===":"){let H=v.value.slice(1);if(H.includes("[")&&(v.posix=!0,H.includes(":"))){let ie=v.value.lastIndexOf("["),le=v.value.slice(0,ie),Se=v.value.slice(ie+2),he=IR[Se];if(he){v.value=le+he,m.backtrack=!0,I(),!s.output&&o.indexOf(v)===1&&(s.output=d);continue}}}(S==="["&&k()!==":"||S==="-"&&k()==="]")&&(S=`\\${S}`),S==="]"&&(v.value==="["||v.value==="[^")&&(S=`\\${S}`),r.posix===!0&&S==="!"&&v.value==="["&&(S="^"),v.value+=S,z({value:S});continue}if(m.quotes===1&&S!=='"'){S=Rt.escapeRegex(S),v.value+=S,z({value:S});continue}if(S==='"'){m.quotes=m.quotes===1?0:1,r.keepQuotes===!0&&j({type:"text",value:S});continue}if(S==="("){U("parens"),j({type:"paren",value:S});continue}if(S===")"){if(m.parens===0&&r.strictBrackets===!0)throw new SyntaxError(Kn("opening","("));let H=y[y.length-1];if(H&&m.parens===H.parens+1){ne(y.pop());continue}j({type:"paren",value:S,output:m.parens?")":"\\)"}),$("parens");continue}if(S==="["){if(r.nobracket===!0||!B().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(Kn("closing","]"));S=`\\${S}`}else U("brackets");j({type:"bracket",value:S});continue}if(S==="]"){if(r.nobracket===!0||v&&v.type==="bracket"&&v.value.length===1){j({type:"text",value:S,output:`\\${S}`});continue}if(m.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(Kn("opening","["));j({type:"text",value:S,output:`\\${S}`});continue}$("brackets");let H=v.value.slice(1);if(v.posix!==!0&&H[0]==="^"&&!H.includes("/")&&(S=`/${S}`),v.value+=S,z({value:S}),r.literalBrackets===!1||Rt.hasRegexChars(H))continue;let ie=Rt.escapeRegex(v.value);if(m.output=m.output.slice(0,-v.value.length),r.literalBrackets===!0){m.output+=ie,v.value=ie;continue}v.value=`(${a}${ie}|${v.value})`,m.output+=v.value;continue}if(S==="{"&&r.nobrace!==!0){U("braces");let H={type:"brace",value:S,output:"(",outputIndex:m.output.length,tokensIndex:m.tokens.length};w.push(H),j(H);continue}if(S==="}"){let H=w[w.length-1];if(r.nobrace===!0||!H){j({type:"text",value:S,output:S});continue}let ie=")";if(H.dots===!0){let le=o.slice(),Se=[];for(let he=le.length-1;he>=0&&(o.pop(),le[he].type!=="brace");he--)le[he].type!=="dots"&&Se.unshift(le[he].value);ie=MR(Se,r),m.backtrack=!0}if(H.comma!==!0&&H.dots!==!0){let le=m.output.slice(0,H.outputIndex),Se=m.tokens.slice(H.tokensIndex);H.value=H.output="\\{",S=ie="\\}",m.output=le;for(let he of Se)m.output+=he.output||he.value}j({type:"brace",value:S,output:ie}),$("braces"),w.pop();continue}if(S==="|"){y.length>0&&y[y.length-1].conditions++,j({type:"text",value:S});continue}if(S===","){let H=S,ie=w[w.length-1];ie&&C[C.length-1]==="braces"&&(ie.comma=!0,H="|"),j({type:"comma",value:S,output:H});continue}if(S==="/"){if(v.type==="dot"&&m.index===m.start+1){m.start=m.index+1,m.consumed="",m.output="",o.pop(),v=s;continue}j({type:"slash",value:S,output:p});continue}if(S==="."){if(m.braces>0&&v.type==="dot"){v.value==="."&&(v.output=l);let H=w[w.length-1];v.type="dots",v.output+=S,v.value+=S,H.dots=!0;continue}if(m.braces+m.parens===0&&v.type!=="bos"&&v.type!=="slash"){j({type:"text",value:S,output:l});continue}j({type:"dot",value:S,output:l});continue}if(S==="?"){if(!(v&&v.value==="(")&&r.noextglob!==!0&&k()==="("&&k(2)!=="?"){re("qmark",S);continue}if(v&&v.type==="paren"){let ie=k(),le=S;if(ie==="<"&&!Rt.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(v.value==="("&&!/[!=<:]/.test(ie)||ie==="<"&&!/<([!=]|\w+>)/.test(B()))&&(le=`\\${S}`),j({type:"text",value:S,output:le});continue}if(r.dot!==!0&&(v.type==="slash"||v.type==="bos")){j({type:"qmark",value:S,output:F});continue}j({type:"qmark",value:S,output:L});continue}if(S==="!"){if(r.noextglob!==!0&&k()==="("&&(k(2)!=="?"||!/[!=<:]/.test(k(3)))){re("negate",S);continue}if(r.nonegate!==!0&&m.index===0){se();continue}}if(S==="+"){if(r.noextglob!==!0&&k()==="("&&k(2)!=="?"){re("plus",S);continue}if(v&&v.value==="("||r.regex===!1){j({type:"plus",value:S,output:h});continue}if(v&&(v.type==="bracket"||v.type==="paren"||v.type==="brace")||m.parens>0){j({type:"plus",value:S});continue}j({type:"plus",value:h});continue}if(S==="@"){if(r.noextglob!==!0&&k()==="("&&k(2)!=="?"){j({type:"at",extglob:!0,value:S,output:""});continue}j({type:"text",value:S});continue}if(S!=="*"){(S==="$"||S==="^")&&(S=`\\${S}`);let H=$R.exec(B());H&&(S+=H[0],m.index+=H[0].length),j({type:"text",value:S});continue}if(v&&(v.type==="globstar"||v.star===!0)){v.type="star",v.star=!0,v.value+=S,v.output=O,m.backtrack=!0,m.globstar=!0,G(S);continue}let q=B();if(r.noextglob!==!0&&/^\([^?]/.test(q)){re("star",S);continue}if(v.type==="star"){if(r.noglobstar===!0){G(S);continue}let H=v.prev,ie=H.prev,le=H.type==="slash"||H.type==="bos",Se=ie&&(ie.type==="star"||ie.type==="globstar");if(r.bash===!0&&(!le||q[0]&&q[0]!=="/")){j({type:"star",value:S,output:""});continue}let he=m.braces>0&&(H.type==="comma"||H.type==="brace"),Le=y.length&&(H.type==="pipe"||H.type==="paren");if(!le&&H.type!=="paren"&&!he&&!Le){j({type:"star",value:S,output:""});continue}for(;q.slice(0,3)==="/**";){let Re=e[m.index+4];if(Re&&Re!=="/")break;q=q.slice(3),G("/**",3)}if(H.type==="bos"&&T()){v.type="globstar",v.value+=S,v.output=D(r),m.output=v.output,m.globstar=!0,G(S);continue}if(H.type==="slash"&&H.prev.type!=="bos"&&!Se&&T()){m.output=m.output.slice(0,-(H.output+v.output).length),H.output=`(?:${H.output}`,v.type="globstar",v.output=D(r)+(r.strictSlashes?")":"|$)"),v.value+=S,m.globstar=!0,m.output+=H.output+v.output,G(S);continue}if(H.type==="slash"&&H.prev.type!=="bos"&&q[0]==="/"){let Re=q[1]!==void 0?"|$":"";m.output=m.output.slice(0,-(H.output+v.output).length),H.output=`(?:${H.output}`,v.type="globstar",v.output=`${D(r)}${p}|${p}${Re})`,v.value+=S,m.output+=H.output+v.output,m.globstar=!0,G(S+I()),j({type:"slash",value:"/",output:""});continue}if(H.type==="bos"&&q[0]==="/"){v.type="globstar",v.value+=S,v.output=`(?:^|${p}|${D(r)}${p})`,m.output=v.output,m.globstar=!0,G(S+I()),j({type:"slash",value:"/",output:""});continue}m.output=m.output.slice(0,-v.output.length),v.type="globstar",v.output=D(r),v.value+=S,m.output+=v.output,m.globstar=!0,G(S);continue}let oe={type:"star",value:S,output:O};if(r.bash===!0){oe.output=".*?",(v.type==="bos"||v.type==="slash")&&(oe.output=P+oe.output),j(oe);continue}if(v&&(v.type==="bracket"||v.type==="paren")&&r.regex===!0){oe.output=S,j(oe);continue}(m.index===m.start||v.type==="slash"||v.type==="dot")&&(v.type==="dot"?(m.output+=x,v.output+=x):r.dot===!0?(m.output+=b,v.output+=b):(m.output+=P,v.output+=P),k()!=="*"&&(m.output+=d,v.output+=d)),j(oe)}for(;m.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(Kn("closing","]"));m.output=Rt.escapeLast(m.output,"["),$("brackets")}for(;m.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(Kn("closing",")"));m.output=Rt.escapeLast(m.output,"("),$("parens")}for(;m.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(Kn("closing","}"));m.output=Rt.escapeLast(m.output,"{"),$("braces")}if(r.strictSlashes!==!0&&(v.type==="star"||v.type==="bracket")&&j({type:"maybe_slash",value:"",output:`${p}?`}),m.backtrack===!0){m.output="";for(let q of m.tokens)m.output+=q.output!=null?q.output:q.value,q.suffix&&(m.output+=q.suffix)}return m};Bc.fastpaths=(e,t)=>{let r={...t},n=typeof r.maxLength=="number"?Math.min(Bo,r.maxLength):Bo,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);e=Rg[e]||e;let s=Rt.isWindows(t),{DOT_LITERAL:o,SLASH_LITERAL:a,ONE_CHAR:c,DOTS_SLASH:u,NO_DOT:f,NO_DOTS:l,NO_DOTS_SLASH:h,STAR:p,START_ANCHOR:d}=$o.globChars(s),g=r.dot?l:f,E=r.dot?h:f,x=r.capture?"":"?:",b={negated:!1,prefix:""},L=r.bash===!0?".*?":p;r.capture&&(L=`(${L})`);let F=P=>P.noglobstar===!0?L:`(${x}(?:(?!${d}${P.dot?u:o}).)*?)`,A=P=>{switch(P){case"*":return`${g}${c}${L}`;case".*":return`${o}${c}${L}`;case"*.*":return`${g}${L}${o}${c}${L}`;case"*/*":return`${g}${L}${a}${c}${E}${L}`;case"**":return g+F(r);case"**/*":return`(?:${g}${F(r)}${a})?${E}${c}${L}`;case"**/*.*":return`(?:${g}${F(r)}${a})?${E}${L}${o}${c}${L}`;case"**/.*":return`(?:${g}${F(r)}${a})?${o}${c}${L}`;default:{let N=/^(.*?)\.(\w+)$/.exec(P);if(!N)return;let O=A(N[1]);return O?O+o+N[2]:void 0}}},R=Rt.removePrefix(e,b),D=A(R);return D&&r.strictSlashes!==!0&&(D+=`${a}?`),D};Dg.exports=Bc});var Tg=_((T8,Lg)=>{"use strict";var jR=M("path"),qR=Pg(),Mc=Fg(),jc=Xi(),GR=Ki(),UR=e=>e&&typeof e=="object"&&!Array.isArray(e),Ne=(e,t,r=!1)=>{if(Array.isArray(e)){let f=e.map(h=>Ne(h,t,r));return h=>{for(let p of f){let d=p(h);if(d)return d}return!1}}let n=UR(e)&&e.tokens&&e.input;if(e===""||typeof e!="string"&&!n)throw new TypeError("Expected pattern to be a non-empty string");let i=t||{},s=jc.isWindows(t),o=n?Ne.compileRe(e,t):Ne.makeRe(e,t,!1,!0),a=o.state;delete o.state;let c=()=>!1;if(i.ignore){let f={...t,ignore:null,onMatch:null,onResult:null};c=Ne(i.ignore,f,r)}let u=(f,l=!1)=>{let{isMatch:h,match:p,output:d}=Ne.test(f,o,t,{glob:e,posix:s}),g={glob:e,state:a,regex:o,posix:s,input:f,output:d,match:p,isMatch:h};return typeof i.onResult=="function"&&i.onResult(g),h===!1?(g.isMatch=!1,l?g:!1):c(f)?(typeof i.onIgnore=="function"&&i.onIgnore(g),g.isMatch=!1,l?g:!1):(typeof i.onMatch=="function"&&i.onMatch(g),l?g:!0)};return r&&(u.state=a),u};Ne.test=(e,t,r,{glob:n,posix:i}={})=>{if(typeof e!="string")throw new TypeError("Expected input to be a string");if(e==="")return{isMatch:!1,output:""};let s=r||{},o=s.format||(i?jc.toPosixSlashes:null),a=e===n,c=a&&o?o(e):e;return a===!1&&(c=o?o(e):e,a=c===n),(a===!1||s.capture===!0)&&(s.matchBase===!0||s.basename===!0?a=Ne.matchBase(e,t,r,i):a=t.exec(c)),{isMatch:!!a,match:a,output:c}};Ne.matchBase=(e,t,r,n=jc.isWindows(r))=>(t instanceof RegExp?t:Ne.makeRe(t,r)).test(jR.basename(e));Ne.isMatch=(e,t,r)=>Ne(t,r)(e);Ne.parse=(e,t)=>Array.isArray(e)?e.map(r=>Ne.parse(r,t)):Mc(e,{...t,fastpaths:!1});Ne.scan=(e,t)=>qR(e,t);Ne.compileRe=(e,t,r=!1,n=!1)=>{if(r===!0)return e.output;let i=t||{},s=i.contains?"":"^",o=i.contains?"":"$",a=`${s}(?:${e.output})${o}`;e&&e.negated===!0&&(a=`^(?!${a}).*$`);let c=Ne.toRegex(a,t);return n===!0&&(c.state=e),c};Ne.makeRe=(e,t={},r=!1,n=!1)=>{if(!e||typeof e!="string")throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(e[0]==="."||e[0]==="*")&&(i.output=Mc.fastpaths(e,t)),i.output||(i=Mc(e,t)),Ne.compileRe(i,t,r,n)};Ne.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(r){if(t&&t.debug===!0)throw r;return/$^/}};Ne.constants=GR;Lg.exports=Ne});var Ng=_((k8,kg)=>{"use strict";kg.exports=Tg()});var Qi=_((N8,Mg)=>{"use strict";var $g=M("util"),Bg=mg(),nr=Ng(),qc=Xi(),Ig=e=>e===""||e==="./",De=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let n=new Set,i=new Set,s=new Set,o=0,a=f=>{s.add(f.output),r&&r.onResult&&r.onResult(f)};for(let f=0;f<t.length;f++){let l=nr(String(t[f]),{...r,onResult:a},!0),h=l.state.negated||l.state.negatedExtglob;h&&o++;for(let p of e){let d=l(p,!0);(h?!d.isMatch:d.isMatch)&&(h?n.add(d.output):(n.delete(d.output),i.add(d.output)))}}let u=(o===t.length?[...s]:[...i]).filter(f=>!n.has(f));if(r&&u.length===0){if(r.failglob===!0)throw new Error(`No matches found for "${t.join(", ")}"`);if(r.nonull===!0||r.nullglob===!0)return r.unescape?t.map(f=>f.replace(/\\/g,"")):t}return u};De.match=De;De.matcher=(e,t)=>nr(e,t);De.isMatch=(e,t,r)=>nr(t,r)(e);De.any=De.isMatch;De.not=(e,t,r={})=>{t=[].concat(t).map(String);let n=new Set,i=[],s=a=>{r.onResult&&r.onResult(a),i.push(a.output)},o=new Set(De(e,t,{...r,onResult:s}));for(let a of i)o.has(a)||n.add(a);return[...n]};De.contains=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${$g.inspect(e)}"`);if(Array.isArray(t))return t.some(n=>De.contains(e,n,r));if(typeof t=="string"){if(Ig(e)||Ig(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return De.isMatch(e,t,{...r,contains:!0})};De.matchKeys=(e,t,r)=>{if(!qc.isObject(e))throw new TypeError("Expected the first argument to be an object");let n=De(Object.keys(e),t,r),i={};for(let s of n)i[s]=e[s];return i};De.some=(e,t,r)=>{let n=[].concat(e);for(let i of[].concat(t)){let s=nr(String(i),r);if(n.some(o=>s(o)))return!0}return!1};De.every=(e,t,r)=>{let n=[].concat(e);for(let i of[].concat(t)){let s=nr(String(i),r);if(!n.every(o=>s(o)))return!1}return!0};De.all=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${$g.inspect(e)}"`);return[].concat(t).every(n=>nr(n,r)(e))};De.capture=(e,t,r)=>{let n=qc.isWindows(r),s=nr.makeRe(String(e),{...r,capture:!0}).exec(n?qc.toPosixSlashes(t):t);if(s)return s.slice(1).map(o=>o===void 0?"":o)};De.makeRe=(...e)=>nr.makeRe(...e);De.scan=(...e)=>nr.scan(...e);De.parse=(e,t)=>{let r=[];for(let n of[].concat(e||[]))for(let i of Bg(String(n),t))r.push(nr.parse(i,t));return r};De.braces=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return t&&t.nobrace===!0||!/\{.*\}/.test(e)?[e]:Bg(e,t)};De.braceExpand=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return De.braces(e,{...t,expand:!0})};Mg.exports=De});var Yg=_(ue=>{"use strict";Object.defineProperty(ue,"__esModule",{value:!0});ue.removeDuplicateSlashes=ue.matchAny=ue.convertPatternsToRe=ue.makeRe=ue.getPatternParts=ue.expandBraceExpansion=ue.expandPatternsWithBraceExpansion=ue.isAffectDepthOfReadingPattern=ue.endsWithSlashGlobStar=ue.hasGlobStar=ue.getBaseDirectory=ue.isPatternRelatedToParentDirectory=ue.getPatternsOutsideCurrentDirectory=ue.getPatternsInsideCurrentDirectory=ue.getPositivePatterns=ue.getNegativePatterns=ue.isPositivePattern=ue.isNegativePattern=ue.convertToNegativePattern=ue.convertToPositivePattern=ue.isDynamicPattern=ue.isStaticPattern=void 0;var HR=M("path"),WR=Tm(),Gc=Qi(),jg="**",zR="\\",YR=/[*?]|^!/,VR=/\[[^[]*]/,KR=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,XR=/[!*+?@]\([^(]*\)/,JR=/,|\.\./,QR=/(?!^)\/{2,}/g;function qg(e,t={}){return!Gg(e,t)}ue.isStaticPattern=qg;function Gg(e,t={}){return e===""?!1:!!(t.caseSensitiveMatch===!1||e.includes(zR)||YR.test(e)||VR.test(e)||KR.test(e)||t.extglob!==!1&&XR.test(e)||t.braceExpansion!==!1&&ZR(e))}ue.isDynamicPattern=Gg;function ZR(e){let t=e.indexOf("{");if(t===-1)return!1;let r=e.indexOf("}",t+1);if(r===-1)return!1;let n=e.slice(t,r);return JR.test(n)}function eD(e){return Mo(e)?e.slice(1):e}ue.convertToPositivePattern=eD;function tD(e){return"!"+e}ue.convertToNegativePattern=tD;function Mo(e){return e.startsWith("!")&&e[1]!=="("}ue.isNegativePattern=Mo;function Ug(e){return!Mo(e)}ue.isPositivePattern=Ug;function rD(e){return e.filter(Mo)}ue.getNegativePatterns=rD;function nD(e){return e.filter(Ug)}ue.getPositivePatterns=nD;function iD(e){return e.filter(t=>!Uc(t))}ue.getPatternsInsideCurrentDirectory=iD;function sD(e){return e.filter(Uc)}ue.getPatternsOutsideCurrentDirectory=sD;function Uc(e){return e.startsWith("..")||e.startsWith("./..")}ue.isPatternRelatedToParentDirectory=Uc;function oD(e){return WR(e,{flipBackslashes:!1})}ue.getBaseDirectory=oD;function aD(e){return e.includes(jg)}ue.hasGlobStar=aD;function Hg(e){return e.endsWith("/"+jg)}ue.endsWithSlashGlobStar=Hg;function uD(e){let t=HR.basename(e);return Hg(e)||qg(t)}ue.isAffectDepthOfReadingPattern=uD;function cD(e){return e.reduce((t,r)=>t.concat(Wg(r)),[])}ue.expandPatternsWithBraceExpansion=cD;function Wg(e){let t=Gc.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0});return t.sort((r,n)=>r.length-n.length),t.filter(r=>r!=="")}ue.expandBraceExpansion=Wg;function lD(e,t){let{parts:r}=Gc.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return r.length===0&&(r=[e]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r}ue.getPatternParts=lD;function zg(e,t){return Gc.makeRe(e,t)}ue.makeRe=zg;function fD(e,t){return e.map(r=>zg(r,t))}ue.convertPatternsToRe=fD;function hD(e,t){return t.some(r=>r.test(e))}ue.matchAny=hD;function pD(e){return e.replace(QR,"/")}ue.removeDuplicateSlashes=pD});var Kg=_(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.merge=void 0;var dD=wc();function mD(e){let t=dD(e);return e.forEach(r=>{r.once("error",n=>t.emit("error",n))}),t.once("close",()=>Vg(e)),t.once("end",()=>Vg(e)),t}jo.merge=mD;function Vg(e){e.forEach(t=>t.emit("close"))}});var Xg=_(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.isEmpty=Xn.isString=void 0;function gD(e){return typeof e=="string"}Xn.isString=gD;function yD(e){return e===""}Xn.isEmpty=yD});var Er=_(Ze=>{"use strict";Object.defineProperty(Ze,"__esModule",{value:!0});Ze.string=Ze.stream=Ze.pattern=Ze.path=Ze.fs=Ze.errno=Ze.array=void 0;var vD=Am();Ze.array=vD;var ED=wm();Ze.errno=ED;var AD=Sm();Ze.fs=AD;var wD=Om();Ze.path=wD;var SD=Yg();Ze.pattern=SD;var bD=Kg();Ze.stream=bD;var CD=Xg();Ze.string=CD});var e0=_(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});et.convertPatternGroupToTask=et.convertPatternGroupsToTasks=et.groupPatternsByBaseDirectory=et.getNegativePatternsAsPositive=et.getPositivePatterns=et.convertPatternsToTasks=et.generate=void 0;var Xt=Er();function xD(e,t){let r=Jg(e,t),n=Jg(t.ignore,t),i=Qg(r),s=Zg(r,n),o=i.filter(f=>Xt.pattern.isStaticPattern(f,t)),a=i.filter(f=>Xt.pattern.isDynamicPattern(f,t)),c=Hc(o,s,!1),u=Hc(a,s,!0);return c.concat(u)}et.generate=xD;function Jg(e,t){let r=e;return t.braceExpansion&&(r=Xt.pattern.expandPatternsWithBraceExpansion(r)),t.baseNameMatch&&(r=r.map(n=>n.includes("/")?n:`**/${n}`)),r.map(n=>Xt.pattern.removeDuplicateSlashes(n))}function Hc(e,t,r){let n=[],i=Xt.pattern.getPatternsOutsideCurrentDirectory(e),s=Xt.pattern.getPatternsInsideCurrentDirectory(e),o=Wc(i),a=Wc(s);return n.push(...zc(o,t,r)),"."in a?n.push(Yc(".",s,t,r)):n.push(...zc(a,t,r)),n}et.convertPatternsToTasks=Hc;function Qg(e){return Xt.pattern.getPositivePatterns(e)}et.getPositivePatterns=Qg;function Zg(e,t){return Xt.pattern.getNegativePatterns(e).concat(t).map(Xt.pattern.convertToPositivePattern)}et.getNegativePatternsAsPositive=Zg;function Wc(e){let t={};return e.reduce((r,n)=>{let i=Xt.pattern.getBaseDirectory(n);return i in r?r[i].push(n):r[i]=[n],r},t)}et.groupPatternsByBaseDirectory=Wc;function zc(e,t,r){return Object.keys(e).map(n=>Yc(n,e[n],t,r))}et.convertPatternGroupsToTasks=zc;function Yc(e,t,r,n){return{dynamic:n,positive:t,negative:r,base:e,patterns:[].concat(t,r.map(Xt.pattern.convertToNegativePattern))}}et.convertPatternGroupToTask=Yc});var r0=_(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.read=void 0;function OD(e,t,r){t.fs.lstat(e,(n,i)=>{if(n!==null){t0(r,n);return}if(!i.isSymbolicLink()||!t.followSymbolicLink){Vc(r,i);return}t.fs.stat(e,(s,o)=>{if(s!==null){if(t.throwErrorOnBrokenSymbolicLink){t0(r,s);return}Vc(r,i);return}t.markSymbolicLink&&(o.isSymbolicLink=()=>!0),Vc(r,o)})})}qo.read=OD;function t0(e,t){e(t)}function Vc(e,t){e(null,t)}});var n0=_(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.read=void 0;function _D(e,t){let r=t.fs.lstatSync(e);if(!r.isSymbolicLink()||!t.followSymbolicLink)return r;try{let n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(n){if(!t.throwErrorOnBrokenSymbolicLink)return r;throw n}}Go.read=_D});var i0=_(Ur=>{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0});Ur.createFileSystemAdapter=Ur.FILE_SYSTEM_ADAPTER=void 0;var Uo=M("fs");Ur.FILE_SYSTEM_ADAPTER={lstat:Uo.lstat,stat:Uo.stat,lstatSync:Uo.lstatSync,statSync:Uo.statSync};function PD(e){return e===void 0?Ur.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Ur.FILE_SYSTEM_ADAPTER),e)}Ur.createFileSystemAdapter=PD});var s0=_(Xc=>{"use strict";Object.defineProperty(Xc,"__esModule",{value:!0});var RD=i0(),Kc=class{constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=RD.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(t,r){return t??r}};Xc.default=Kc});var En=_(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});Hr.statSync=Hr.stat=Hr.Settings=void 0;var o0=r0(),DD=n0(),Jc=s0();Hr.Settings=Jc.default;function FD(e,t,r){if(typeof t=="function"){o0.read(e,Qc(),t);return}o0.read(e,Qc(t),r)}Hr.stat=FD;function LD(e,t){let r=Qc(t);return DD.read(e,r)}Hr.statSync=LD;function Qc(e={}){return e instanceof Jc.default?e:new Jc.default(e)}});var c0=_((z8,u0)=>{var a0;u0.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):e=>(a0||(a0=Promise.resolve())).then(e).catch(t=>setTimeout(()=>{throw t},0))});var f0=_((Y8,l0)=>{l0.exports=kD;var TD=c0();function kD(e,t){let r,n,i,s=!0;Array.isArray(e)?(r=[],n=e.length):(i=Object.keys(e),r={},n=i.length);function o(c){function u(){t&&t(c,r),t=null}s?TD(u):u()}function a(c,u,f){r[c]=f,(--n===0||u)&&o(u)}n?i?i.forEach(function(c){e[c](function(u,f){a(c,u,f)})}):e.forEach(function(c,u){c(function(f,l){a(u,f,l)})}):o(null),s=!1}});var Zc=_(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var Ho=process.versions.node.split(".");if(Ho[0]===void 0||Ho[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var h0=Number.parseInt(Ho[0],10),ND=Number.parseInt(Ho[1],10),p0=10,ID=10,$D=h0>p0,BD=h0===p0&&ND>=ID;Wo.IS_SUPPORT_READDIR_WITH_FILE_TYPES=$D||BD});var d0=_(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.createDirentFromStats=void 0;var el=class{constructor(t,r){this.name=t,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function MD(e,t){return new el(e,t)}zo.createDirentFromStats=MD});var tl=_(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.fs=void 0;var jD=d0();Yo.fs=jD});var rl=_(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.joinPathSegments=void 0;function qD(e,t,r){return e.endsWith(r)?e+t:e+r+t}Vo.joinPathSegments=qD});var A0=_(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});Wr.readdir=Wr.readdirWithFileTypes=Wr.read=void 0;var GD=En(),m0=f0(),UD=Zc(),g0=tl(),y0=rl();function HD(e,t,r){if(!t.stats&&UD.IS_SUPPORT_READDIR_WITH_FILE_TYPES){v0(e,t,r);return}E0(e,t,r)}Wr.read=HD;function v0(e,t,r){t.fs.readdir(e,{withFileTypes:!0},(n,i)=>{if(n!==null){Ko(r,n);return}let s=i.map(a=>({dirent:a,name:a.name,path:y0.joinPathSegments(e,a.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks){nl(r,s);return}let o=s.map(a=>WD(a,t));m0(o,(a,c)=>{if(a!==null){Ko(r,a);return}nl(r,c)})})}Wr.readdirWithFileTypes=v0;function WD(e,t){return r=>{if(!e.dirent.isSymbolicLink()){r(null,e);return}t.fs.stat(e.path,(n,i)=>{if(n!==null){if(t.throwErrorOnBrokenSymbolicLink){r(n);return}r(null,e);return}e.dirent=g0.fs.createDirentFromStats(e.name,i),r(null,e)})}}function E0(e,t,r){t.fs.readdir(e,(n,i)=>{if(n!==null){Ko(r,n);return}let s=i.map(o=>{let a=y0.joinPathSegments(e,o,t.pathSegmentSeparator);return c=>{GD.stat(a,t.fsStatSettings,(u,f)=>{if(u!==null){c(u);return}let l={name:o,path:a,dirent:g0.fs.createDirentFromStats(o,f)};t.stats&&(l.stats=f),c(null,l)})}});m0(s,(o,a)=>{if(o!==null){Ko(r,o);return}nl(r,a)})})}Wr.readdir=E0;function Ko(e,t){e(t)}function nl(e,t){e(null,t)}});var x0=_(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});zr.readdir=zr.readdirWithFileTypes=zr.read=void 0;var zD=En(),YD=Zc(),w0=tl(),S0=rl();function VD(e,t){return!t.stats&&YD.IS_SUPPORT_READDIR_WITH_FILE_TYPES?b0(e,t):C0(e,t)}zr.read=VD;function b0(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(n=>{let i={dirent:n,name:n.name,path:S0.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{let s=t.fs.statSync(i.path);i.dirent=w0.fs.createDirentFromStats(i.name,s)}catch(s){if(t.throwErrorOnBrokenSymbolicLink)throw s}return i})}zr.readdirWithFileTypes=b0;function C0(e,t){return t.fs.readdirSync(e).map(n=>{let i=S0.joinPathSegments(e,n,t.pathSegmentSeparator),s=zD.statSync(i,t.fsStatSettings),o={name:n,path:i,dirent:w0.fs.createDirentFromStats(n,s)};return t.stats&&(o.stats=s),o})}zr.readdir=C0});var O0=_(Yr=>{"use strict";Object.defineProperty(Yr,"__esModule",{value:!0});Yr.createFileSystemAdapter=Yr.FILE_SYSTEM_ADAPTER=void 0;var Jn=M("fs");Yr.FILE_SYSTEM_ADAPTER={lstat:Jn.lstat,stat:Jn.stat,lstatSync:Jn.lstatSync,statSync:Jn.statSync,readdir:Jn.readdir,readdirSync:Jn.readdirSync};function KD(e){return e===void 0?Yr.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Yr.FILE_SYSTEM_ADAPTER),e)}Yr.createFileSystemAdapter=KD});var _0=_(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});var XD=M("path"),JD=En(),QD=O0(),il=class{constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=QD.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,XD.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new JD.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t??r}};sl.default=il});var Xo=_(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.Settings=Vr.scandirSync=Vr.scandir=void 0;var P0=A0(),ZD=x0(),ol=_0();Vr.Settings=ol.default;function eF(e,t,r){if(typeof t=="function"){P0.read(e,al(),t);return}P0.read(e,al(t),r)}Vr.scandir=eF;function tF(e,t){let r=al(t);return ZD.read(e,r)}Vr.scandirSync=tF;function al(e={}){return e instanceof ol.default?e:new ol.default(e)}});var D0=_((n4,R0)=>{"use strict";function rF(e){var t=new e,r=t;function n(){var s=t;return s.next?t=s.next:(t=new e,r=t),s.next=null,s}function i(s){r.next=s,r=s}return{get:n,release:i}}R0.exports=rF});var L0=_((i4,ul)=>{"use strict";var nF=D0();function F0(e,t,r){if(typeof e=="function"&&(r=t,t=e,e=null),!(r>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var n=nF(iF),i=null,s=null,o=0,a=null,c={push:g,drain:kt,saturated:kt,pause:f,paused:!1,get concurrency(){return r},set concurrency(A){if(!(A>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(r=A,!c.paused)for(;i&&o<r;)o++,x()},running:u,resume:p,idle:d,length:l,getQueue:h,unshift:E,empty:kt,kill:b,killAndDrain:L,error:F};return c;function u(){return o}function f(){c.paused=!0}function l(){for(var A=i,R=0;A;)A=A.next,R++;return R}function h(){for(var A=i,R=[];A;)R.push(A.value),A=A.next;return R}function p(){if(c.paused){if(c.paused=!1,i===null){o++,x();return}for(;i&&o<r;)o++,x()}}function d(){return o===0&&c.length()===0}function g(A,R){var D=n.get();D.context=e,D.release=x,D.value=A,D.callback=R||kt,D.errorHandler=a,o>=r||c.paused?s?(s.next=D,s=D):(i=D,s=D,c.saturated()):(o++,t.call(e,D.value,D.worked))}function E(A,R){var D=n.get();D.context=e,D.release=x,D.value=A,D.callback=R||kt,D.errorHandler=a,o>=r||c.paused?i?(D.next=i,i=D):(i=D,s=D,c.saturated()):(o++,t.call(e,D.value,D.worked))}function x(A){A&&n.release(A);var R=i;R&&o<=r?c.paused?o--:(s===i&&(s=null),i=R.next,R.next=null,t.call(e,R.value,R.worked),s===null&&c.empty()):--o===0&&c.drain()}function b(){i=null,s=null,c.drain=kt}function L(){i=null,s=null,c.drain(),c.drain=kt}function F(A){a=A}}function kt(){}function iF(){this.value=null,this.callback=kt,this.next=null,this.release=kt,this.context=null,this.errorHandler=null;var e=this;this.worked=function(r,n){var i=e.callback,s=e.errorHandler,o=e.value;e.value=null,e.callback=kt,e.errorHandler&&s(r,o),i.call(e.context,r,n),e.release(e)}}function sF(e,t,r){typeof e=="function"&&(r=t,t=e,e=null);function n(f,l){t.call(this,f).then(function(h){l(null,h)},l)}var i=F0(e,n,r),s=i.push,o=i.unshift;return i.push=a,i.unshift=c,i.drained=u,i;function a(f){var l=new Promise(function(h,p){s(f,function(d,g){if(d){p(d);return}h(g)})});return l.catch(kt),l}function c(f){var l=new Promise(function(h,p){o(f,function(d,g){if(d){p(d);return}h(g)})});return l.catch(kt),l}function u(){if(i.idle())return new Promise(function(h){h()});var f=i.drain,l=new Promise(function(h){i.drain=function(){f(),h()}});return l}}ul.exports=F0;ul.exports.promise=sF});var Jo=_(ir=>{"use strict";Object.defineProperty(ir,"__esModule",{value:!0});ir.joinPathSegments=ir.replacePathSegmentSeparator=ir.isAppliedFilter=ir.isFatalError=void 0;function oF(e,t){return e.errorFilter===null?!0:!e.errorFilter(t)}ir.isFatalError=oF;function aF(e,t){return e===null||e(t)}ir.isAppliedFilter=aF;function uF(e,t){return e.split(/[/\\]/).join(t)}ir.replacePathSegmentSeparator=uF;function cF(e,t,r){return e===""?t:e.endsWith(r)?e+t:e+r+t}ir.joinPathSegments=cF});var fl=_(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});var lF=Jo(),cl=class{constructor(t,r){this._root=t,this._settings=r,this._root=lF.replacePathSegmentSeparator(t,r.pathSegmentSeparator)}};ll.default=cl});var dl=_(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});var fF=M("events"),hF=Xo(),pF=L0(),Qo=Jo(),dF=fl(),hl=class extends dF.default{constructor(t,r){super(t,r),this._settings=r,this._scandir=hF.scandir,this._emitter=new fF.EventEmitter,this._queue=pF(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(t){this._emitter.on("entry",t)}onError(t){this._emitter.once("error",t)}onEnd(t){this._emitter.once("end",t)}_pushToQueue(t,r){let n={directory:t,base:r};this._queue.push(n,i=>{i!==null&&this._handleError(i)})}_worker(t,r){this._scandir(t.directory,this._settings.fsScandirSettings,(n,i)=>{if(n!==null){r(n,void 0);return}for(let s of i)this._handleEntry(s,t.base);r(null,void 0)})}_handleError(t){this._isDestroyed||!Qo.isFatalError(this._settings,t)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",t))}_handleEntry(t,r){if(this._isDestroyed||this._isFatalError)return;let n=t.path;r!==void 0&&(t.path=Qo.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),Qo.isAppliedFilter(this._settings.entryFilter,t)&&this._emitEntry(t),t.dirent.isDirectory()&&Qo.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_emitEntry(t){this._emitter.emit("entry",t)}};pl.default=hl});var T0=_(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});var mF=dl(),ml=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new mF.default(this._root,this._settings),this._storage=[]}read(t){this._reader.onError(r=>{gF(t,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{yF(t,this._storage)}),this._reader.read()}};gl.default=ml;function gF(e,t){e(t)}function yF(e,t){e(null,t)}});var k0=_(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});var vF=M("stream"),EF=dl(),yl=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new EF.default(this._root,this._settings),this._stream=new vF.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(t=>{this._stream.emit("error",t)}),this._reader.onEntry(t=>{this._stream.push(t)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};vl.default=yl});var N0=_(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});var AF=Xo(),Zo=Jo(),wF=fl(),El=class extends wF.default{constructor(){super(...arguments),this._scandir=AF.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(t,r){this._queue.add({directory:t,base:r})}_handleQueue(){for(let t of this._queue.values())this._handleDirectory(t.directory,t.base)}_handleDirectory(t,r){try{let n=this._scandir(t,this._settings.fsScandirSettings);for(let i of n)this._handleEntry(i,r)}catch(n){this._handleError(n)}}_handleError(t){if(Zo.isFatalError(this._settings,t))throw t}_handleEntry(t,r){let n=t.path;r!==void 0&&(t.path=Zo.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),Zo.isAppliedFilter(this._settings.entryFilter,t)&&this._pushToStorage(t),t.dirent.isDirectory()&&Zo.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_pushToStorage(t){this._storage.push(t)}};Al.default=El});var I0=_(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});var SF=N0(),wl=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new SF.default(this._root,this._settings)}read(){return this._reader.read()}};Sl.default=wl});var $0=_(Cl=>{"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});var bF=M("path"),CF=Xo(),bl=class{constructor(t={}){this._options=t,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,bF.sep),this.fsScandirSettings=new CF.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t??r}};Cl.default=bl});var ta=_(sr=>{"use strict";Object.defineProperty(sr,"__esModule",{value:!0});sr.Settings=sr.walkStream=sr.walkSync=sr.walk=void 0;var B0=T0(),xF=k0(),OF=I0(),xl=$0();sr.Settings=xl.default;function _F(e,t,r){if(typeof t=="function"){new B0.default(e,ea()).read(t);return}new B0.default(e,ea(t)).read(r)}sr.walk=_F;function PF(e,t){let r=ea(t);return new OF.default(e,r).read()}sr.walkSync=PF;function RF(e,t){let r=ea(t);return new xF.default(e,r).read()}sr.walkStream=RF;function ea(e={}){return e instanceof xl.default?e:new xl.default(e)}});var ra=_(_l=>{"use strict";Object.defineProperty(_l,"__esModule",{value:!0});var DF=M("path"),FF=En(),M0=Er(),Ol=class{constructor(t){this._settings=t,this._fsStatSettings=new FF.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(t){return DF.resolve(this._settings.cwd,t)}_makeEntry(t,r){let n={name:r,path:r,dirent:M0.fs.createDirentFromStats(r,t)};return this._settings.stats&&(n.stats=t),n}_isFatalError(t){return!M0.errno.isEnoentCodeError(t)&&!this._settings.suppressErrors}};_l.default=Ol});var Dl=_(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});var LF=M("stream"),TF=En(),kF=ta(),NF=ra(),Pl=class extends NF.default{constructor(){super(...arguments),this._walkStream=kF.walkStream,this._stat=TF.stat}dynamic(t,r){return this._walkStream(t,r)}static(t,r){let n=t.map(this._getFullEntryPath,this),i=new LF.PassThrough({objectMode:!0});i._write=(s,o,a)=>this._getEntry(n[s],t[s],r).then(c=>{c!==null&&r.entryFilter(c)&&i.push(c),s===n.length-1&&i.end(),a()}).catch(a);for(let s=0;s<n.length;s++)i.write(s);return i}_getEntry(t,r,n){return this._getStat(t).then(i=>this._makeEntry(i,r)).catch(i=>{if(n.errorFilter(i))return null;throw i})}_getStat(t){return new Promise((r,n)=>{this._stat(t,this._fsStatSettings,(i,s)=>i===null?r(s):n(i))})}};Rl.default=Pl});var j0=_(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});var IF=ta(),$F=ra(),BF=Dl(),Fl=class extends $F.default{constructor(){super(...arguments),this._walkAsync=IF.walk,this._readerStream=new BF.default(this._settings)}dynamic(t,r){return new Promise((n,i)=>{this._walkAsync(t,r,(s,o)=>{s===null?n(o):i(s)})})}async static(t,r){let n=[],i=this._readerStream.static(t,r);return new Promise((s,o)=>{i.once("error",o),i.on("data",a=>n.push(a)),i.once("end",()=>s(n))})}};Ll.default=Fl});var q0=_(kl=>{"use strict";Object.defineProperty(kl,"__esModule",{value:!0});var Zi=Er(),Tl=class{constructor(t,r,n){this._patterns=t,this._settings=r,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){for(let t of this._patterns){let r=this._getPatternSegments(t),n=this._splitSegmentsIntoSections(r);this._storage.push({complete:n.length<=1,pattern:t,segments:r,sections:n})}}_getPatternSegments(t){return Zi.pattern.getPatternParts(t,this._micromatchOptions).map(n=>Zi.pattern.isDynamicPattern(n,this._settings)?{dynamic:!0,pattern:n,patternRe:Zi.pattern.makeRe(n,this._micromatchOptions)}:{dynamic:!1,pattern:n})}_splitSegmentsIntoSections(t){return Zi.array.splitWhen(t,r=>r.dynamic&&Zi.pattern.hasGlobStar(r.pattern))}};kl.default=Tl});var G0=_(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});var MF=q0(),Nl=class extends MF.default{match(t){let r=t.split("/"),n=r.length,i=this._storage.filter(s=>!s.complete||s.segments.length>n);for(let s of i){let o=s.sections[0];if(!s.complete&&n>o.length||r.every((c,u)=>{let f=s.segments[u];return!!(f.dynamic&&f.patternRe.test(c)||!f.dynamic&&f.pattern===c)}))return!0}return!1}};Il.default=Nl});var U0=_(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});var na=Er(),jF=G0(),$l=class{constructor(t,r){this._settings=t,this._micromatchOptions=r}getFilter(t,r,n){let i=this._getMatcher(r),s=this._getNegativePatternsRe(n);return o=>this._filter(t,o,i,s)}_getMatcher(t){return new jF.default(t,this._settings,this._micromatchOptions)}_getNegativePatternsRe(t){let r=t.filter(na.pattern.isAffectDepthOfReadingPattern);return na.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(t,r,n,i){if(this._isSkippedByDeep(t,r.path)||this._isSkippedSymbolicLink(r))return!1;let s=na.path.removeLeadingDotSegment(r.path);return this._isSkippedByPositivePatterns(s,n)?!1:this._isSkippedByNegativePatterns(s,i)}_isSkippedByDeep(t,r){return this._settings.deep===1/0?!1:this._getEntryLevel(t,r)>=this._settings.deep}_getEntryLevel(t,r){let n=r.split("/").length;if(t==="")return n;let i=t.split("/").length;return n-i}_isSkippedSymbolicLink(t){return!this._settings.followSymbolicLinks&&t.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(t,r){return!this._settings.baseNameMatch&&!r.match(t)}_isSkippedByNegativePatterns(t,r){return!na.pattern.matchAny(t,r)}};Bl.default=$l});var H0=_(jl=>{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});var An=Er(),Ml=class{constructor(t,r){this._settings=t,this._micromatchOptions=r,this.index=new Map}getFilter(t,r){let n=An.pattern.convertPatternsToRe(t,this._micromatchOptions),i=An.pattern.convertPatternsToRe(r,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return s=>this._filter(s,n,i)}_filter(t,r,n){let i=An.path.removeLeadingDotSegment(t.path);if(this._settings.unique&&this._isDuplicateEntry(i)||this._onlyFileFilter(t)||this._onlyDirectoryFilter(t)||this._isSkippedByAbsoluteNegativePatterns(i,n))return!1;let s=t.dirent.isDirectory(),o=this._isMatchToPatterns(i,r,s)&&!this._isMatchToPatterns(i,n,s);return this._settings.unique&&o&&this._createIndexRecord(i),o}_isDuplicateEntry(t){return this.index.has(t)}_createIndexRecord(t){this.index.set(t,void 0)}_onlyFileFilter(t){return this._settings.onlyFiles&&!t.dirent.isFile()}_onlyDirectoryFilter(t){return this._settings.onlyDirectories&&!t.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(t,r){if(!this._settings.absolute)return!1;let n=An.path.makeAbsolute(this._settings.cwd,t);return An.pattern.matchAny(n,r)}_isMatchToPatterns(t,r,n){let i=An.pattern.matchAny(t,r);return!i&&n?An.pattern.matchAny(t+"/",r):i}};jl.default=Ml});var W0=_(Gl=>{"use strict";Object.defineProperty(Gl,"__esModule",{value:!0});var qF=Er(),ql=class{constructor(t){this._settings=t}getFilter(){return t=>this._isNonFatalError(t)}_isNonFatalError(t){return qF.errno.isEnoentCodeError(t)||this._settings.suppressErrors}};Gl.default=ql});var Y0=_(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});var z0=Er(),Ul=class{constructor(t){this._settings=t}getTransformer(){return t=>this._transform(t)}_transform(t){let r=t.path;return this._settings.absolute&&(r=z0.path.makeAbsolute(this._settings.cwd,r),r=z0.path.unixify(r)),this._settings.markDirectories&&t.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},t),{path:r}):r}};Hl.default=Ul});var ia=_(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});var GF=M("path"),UF=U0(),HF=H0(),WF=W0(),zF=Y0(),Wl=class{constructor(t){this._settings=t,this.errorFilter=new WF.default(this._settings),this.entryFilter=new HF.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new UF.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new zF.default(this._settings)}_getRootDirectory(t){return GF.resolve(this._settings.cwd,t.base)}_getReaderOptions(t){let r=t.base==="."?"":t.base;return{basePath:r,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(r,t.positive,t.negative),entryFilter:this.entryFilter.getFilter(t.positive,t.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};zl.default=Wl});var V0=_(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});var YF=j0(),VF=ia(),Yl=class extends VF.default{constructor(){super(...arguments),this._reader=new YF.default(this._settings)}async read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t);return(await this.api(r,t,n)).map(s=>n.transform(s))}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};Vl.default=Yl});var K0=_(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});var KF=M("stream"),XF=Dl(),JF=ia(),Kl=class extends JF.default{constructor(){super(...arguments),this._reader=new XF.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t),i=this.api(r,t,n),s=new KF.Readable({objectMode:!0,read:()=>{}});return i.once("error",o=>s.emit("error",o)).on("data",o=>s.emit("data",n.transform(o))).once("end",()=>s.emit("end")),s.once("close",()=>i.destroy()),s}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};Xl.default=Kl});var X0=_(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});var QF=En(),ZF=ta(),eL=ra(),Jl=class extends eL.default{constructor(){super(...arguments),this._walkSync=ZF.walkSync,this._statSync=QF.statSync}dynamic(t,r){return this._walkSync(t,r)}static(t,r){let n=[];for(let i of t){let s=this._getFullEntryPath(i),o=this._getEntry(s,i,r);o===null||!r.entryFilter(o)||n.push(o)}return n}_getEntry(t,r,n){try{let i=this._getStat(t);return this._makeEntry(i,r)}catch(i){if(n.errorFilter(i))return null;throw i}}_getStat(t){return this._statSync(t,this._fsStatSettings)}};Ql.default=Jl});var J0=_(ef=>{"use strict";Object.defineProperty(ef,"__esModule",{value:!0});var tL=X0(),rL=ia(),Zl=class extends rL.default{constructor(){super(...arguments),this._reader=new tL.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t);return this.api(r,t,n).map(n.transform)}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};ef.default=Zl});var Q0=_(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var Qn=M("fs"),nL=M("os"),iL=Math.max(nL.cpus().length,1);Zn.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:Qn.lstat,lstatSync:Qn.lstatSync,stat:Qn.stat,statSync:Qn.statSync,readdir:Qn.readdir,readdirSync:Qn.readdirSync};var tf=class{constructor(t={}){this._options=t,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,iL),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(t,r){return t===void 0?r:t}_getFileSystemMethods(t={}){return Object.assign(Object.assign({},Zn.DEFAULT_FILE_SYSTEM_ADAPTER),t)}};Zn.default=tf});var of=_((R4,ey)=>{"use strict";var Z0=e0(),sL=V0(),oL=K0(),aL=J0(),rf=Q0(),Nt=Er();async function nf(e,t){Jt(e);let r=sf(e,sL.default,t),n=await Promise.all(r);return Nt.array.flatten(n)}(function(e){e.glob=e,e.globSync=t,e.globStream=r,e.async=e;function t(u,f){Jt(u);let l=sf(u,aL.default,f);return Nt.array.flatten(l)}e.sync=t;function r(u,f){Jt(u);let l=sf(u,oL.default,f);return Nt.stream.merge(l)}e.stream=r;function n(u,f){Jt(u);let l=[].concat(u),h=new rf.default(f);return Z0.generate(l,h)}e.generateTasks=n;function i(u,f){Jt(u);let l=new rf.default(f);return Nt.pattern.isDynamicPattern(u,l)}e.isDynamicPattern=i;function s(u){return Jt(u),Nt.path.escape(u)}e.escapePath=s;function o(u){return Jt(u),Nt.path.convertPathToPattern(u)}e.convertPathToPattern=o;let a;(function(u){function f(h){return Jt(h),Nt.path.escapePosixPath(h)}u.escapePath=f;function l(h){return Jt(h),Nt.path.convertPosixPathToPattern(h)}u.convertPathToPattern=l})(a=e.posix||(e.posix={}));let c;(function(u){function f(h){return Jt(h),Nt.path.escapeWindowsPath(h)}u.escapePath=f;function l(h){return Jt(h),Nt.path.convertWindowsPathToPattern(h)}u.convertPathToPattern=l})(c=e.win32||(e.win32={}))})(nf||(nf={}));function sf(e,t,r){let n=[].concat(e),i=new rf.default(r),s=Z0.generate(n,i),o=new t(i);return s.map(o.read,o)}function Jt(e){if(![].concat(e).every(n=>Nt.string.isString(n)&&!Nt.string.isEmpty(n)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}ey.exports=nf});var ry=_(wn=>{"use strict";var{promisify:uL}=M("util"),ty=M("fs");async function af(e,t,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return(await uL(ty[e])(r))[t]()}catch(n){if(n.code==="ENOENT")return!1;throw n}}function uf(e,t,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return ty[e](r)[t]()}catch(n){if(n.code==="ENOENT")return!1;throw n}}wn.isFile=af.bind(null,"stat","isFile");wn.isDirectory=af.bind(null,"stat","isDirectory");wn.isSymlink=af.bind(null,"lstat","isSymbolicLink");wn.isFileSync=uf.bind(null,"statSync","isFile");wn.isDirectorySync=uf.bind(null,"statSync","isDirectory");wn.isSymlinkSync=uf.bind(null,"lstatSync","isSymbolicLink")});var ay=_((F4,cf)=>{"use strict";var Sn=M("path"),ny=ry(),iy=e=>e.length>1?`{${e.join(",")}}`:e[0],sy=(e,t)=>{let r=e[0]==="!"?e.slice(1):e;return Sn.isAbsolute(r)?r:Sn.join(t,r)},cL=(e,t)=>Sn.extname(e)?`**/${e}`:`**/${e}.${iy(t)}`,oy=(e,t)=>{if(t.files&&!Array.isArray(t.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof t.files}\``);if(t.extensions&&!Array.isArray(t.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof t.extensions}\``);return t.files&&t.extensions?t.files.map(r=>Sn.posix.join(e,cL(r,t.extensions))):t.files?t.files.map(r=>Sn.posix.join(e,`**/${r}`)):t.extensions?[Sn.posix.join(e,`**/*.${iy(t.extensions)}`)]:[Sn.posix.join(e,"**")]};cf.exports=async(e,t)=>{if(t={cwd:process.cwd(),...t},typeof t.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);let r=await Promise.all([].concat(e).map(async n=>await ny.isDirectory(sy(n,t.cwd))?oy(n,t):n));return[].concat.apply([],r)};cf.exports.sync=(e,t)=>{if(t={cwd:process.cwd(),...t},typeof t.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);let r=[].concat(e).map(n=>ny.isDirectorySync(sy(n,t.cwd))?oy(n,t):n);return[].concat.apply([],r)}});var gy=_((L4,my)=>{function uy(e){return Array.isArray(e)?e:[e]}var hf="",cy=" ",lf="\\",lL=/^\s+$/,fL=/(?:[^\\]|^)\\$/,hL=/^\\!/,pL=/^\\#/,dL=/\r?\n/g,mL=/^\.*\/|^\.+$/,ff="/",hy="node-ignore";typeof Symbol<"u"&&(hy=Symbol.for("node-ignore"));var ly=hy,gL=(e,t,r)=>Object.defineProperty(e,t,{value:r}),yL=/([0-z])-([0-z])/g,py=()=>!1,vL=e=>e.replace(yL,(t,r,n)=>r.charCodeAt(0)<=n.charCodeAt(0)?t:hf),EL=e=>{let{length:t}=e;return e.slice(0,t-t%2)},AL=[[/^\uFEFF/,()=>hf],[/\\?\s+$/,e=>e.indexOf("\\")===0?cy:hf],[/\\\s/g,()=>cy],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,r)=>t+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,r)=>{let n=r.replace(/\\\*/g,"[^\\/]*");return t+n}],[/\\\\\\(?=[$.|*+(){^])/g,()=>lf],[/\\\\/g,()=>lf],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,r,n,i)=>t===lf?`\\[${r}${EL(n)}${i}`:i==="]"&&n.length%2===0?`[${vL(r)}${n}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],fy=Object.create(null),wL=(e,t)=>{let r=fy[e];return r||(r=AL.reduce((n,i)=>n.replace(i[0],i[1].bind(e)),e),fy[e]=r),t?new RegExp(r,"i"):new RegExp(r)},mf=e=>typeof e=="string",SL=e=>e&&mf(e)&&!lL.test(e)&&!fL.test(e)&&e.indexOf("#")!==0,bL=e=>e.split(dL),pf=class{constructor(t,r,n,i){this.origin=t,this.pattern=r,this.negative=n,this.regex=i}},CL=(e,t)=>{let r=e,n=!1;e.indexOf("!")===0&&(n=!0,e=e.substr(1)),e=e.replace(hL,"!").replace(pL,"#");let i=wL(e,t);return new pf(r,e,n,i)},xL=(e,t)=>{throw new t(e)},Ar=(e,t,r)=>mf(e)?e?Ar.isNotRelative(e)?r(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):!0:r("path must not be empty",TypeError):r(`path must be a string, but got \`${t}\``,TypeError),dy=e=>mL.test(e);Ar.isNotRelative=dy;Ar.convert=e=>e;var df=class{constructor({ignorecase:t=!0,ignoreCase:r=t,allowRelativePaths:n=!1}={}){gL(this,ly,!0),this._rules=[],this._ignoreCase=r,this._allowRelativePaths=n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(t){if(t&&t[ly]){this._rules=this._rules.concat(t._rules),this._added=!0;return}if(SL(t)){let r=CL(t,this._ignoreCase);this._added=!0,this._rules.push(r)}}add(t){return this._added=!1,uy(mf(t)?bL(t):t).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(t){return this.add(t)}_testOne(t,r){let n=!1,i=!1;return this._rules.forEach(s=>{let{negative:o}=s;if(i===o&&n!==i||o&&!n&&!i&&!r)return;s.regex.test(t)&&(n=!o,i=o)}),{ignored:n,unignored:i}}_test(t,r,n,i){let s=t&&Ar.convert(t);return Ar(s,t,this._allowRelativePaths?py:xL),this._t(s,r,n,i)}_t(t,r,n,i){if(t in r)return r[t];if(i||(i=t.split(ff)),i.pop(),!i.length)return r[t]=this._testOne(t,n);let s=this._t(i.join(ff)+ff,r,n,i);return r[t]=s.ignored?s:this._testOne(t,n)}ignores(t){return this._test(t,this._ignoreCache,!1).ignored}createFilter(){return t=>!this.ignores(t)}filter(t){return uy(t).filter(this.createFilter())}test(t){return this._test(t,this._testCache,!0)}},sa=e=>new df(e),OL=e=>Ar(e&&Ar.convert(e),e,py);sa.isPathValid=OL;sa.default=sa;my.exports=sa;if(typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let e=r=>/^\\\\\?\\/.test(r)||/["<>|\u0000-\u001F]+/u.test(r)?r:r.replace(/\\/g,"/");Ar.convert=e;let t=/^[a-z]:\//i;Ar.isNotRelative=r=>t.test(r)||dy(r)}});var vy=_((T4,yy)=>{"use strict";yy.exports=e=>{let t=/^\\\\\?\\/.test(e),r=/[^\u0000-\u0080]+/.test(e);return t||r?e:e.replace(/\\/g,"/")}});var xy=_((k4,gf)=>{"use strict";var{promisify:_L}=M("util"),Ey=M("fs"),wr=M("path"),Ay=of(),PL=gy(),es=vy(),wy=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],RL=_L(Ey.readFile),DL=e=>t=>t.startsWith("!")?"!"+wr.posix.join(e,t.slice(1)):wr.posix.join(e,t),FL=(e,t)=>{let r=es(wr.relative(t.cwd,wr.dirname(t.fileName)));return e.split(/\r?\n/).filter(Boolean).filter(n=>!n.startsWith("#")).map(DL(r))},Sy=e=>{let t=PL();for(let r of e)t.add(FL(r.content,{cwd:r.cwd,fileName:r.filePath}));return t},LL=(e,t)=>{if(e=es(e),wr.isAbsolute(t)){if(es(t).startsWith(e))return t;throw new Error(`Path ${t} is not in cwd ${e}`)}return wr.join(e,t)},by=(e,t)=>r=>e.ignores(es(wr.relative(t,LL(t,r.path||r)))),TL=async(e,t)=>{let r=wr.join(t,e),n=await RL(r,"utf8");return{cwd:t,filePath:r,content:n}},kL=(e,t)=>{let r=wr.join(t,e),n=Ey.readFileSync(r,"utf8");return{cwd:t,filePath:r,content:n}},Cy=({ignore:e=[],cwd:t=es(process.cwd())}={})=>({ignore:e,cwd:t});gf.exports=async e=>{e=Cy(e);let t=await Ay("**/.gitignore",{ignore:wy.concat(e.ignore),cwd:e.cwd}),r=await Promise.all(t.map(i=>TL(i,e.cwd))),n=Sy(r);return by(n,e.cwd)};gf.exports.sync=e=>{e=Cy(e);let r=Ay.sync("**/.gitignore",{ignore:wy.concat(e.ignore),cwd:e.cwd}).map(i=>kL(i,e.cwd)),n=Sy(r);return by(n,e.cwd)}});var _y=_((N4,Oy)=>{"use strict";var{Transform:NL}=M("stream"),oa=class extends NL{constructor(){super({objectMode:!0})}},yf=class extends oa{constructor(t){super(),this._filter=t}_transform(t,r,n){this._filter(t)&&this.push(t),n()}},vf=class extends oa{constructor(){super(),this._pushed=new Set}_transform(t,r,n){this._pushed.has(t)||(this.push(t),this._pushed.add(t)),n()}};Oy.exports={FilterStream:yf,UniqueStream:vf}});var Ly=_((I4,bn)=>{"use strict";var Ry=M("fs"),aa=gm(),IL=wc(),ua=of(),ca=ay(),Ef=xy(),{FilterStream:$L,UniqueStream:BL}=_y(),Dy=()=>!1,Py=e=>e[0]==="!",ML=e=>{if(!e.every(t=>typeof t=="string"))throw new TypeError("Patterns must be a string or an array of strings")},jL=(e={})=>{if(!e.cwd)return;let t;try{t=Ry.statSync(e.cwd)}catch{return}if(!t.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},qL=e=>e.stats instanceof Ry.Stats?e.path:e,la=(e,t)=>{e=aa([].concat(e)),ML(e),jL(t);let r=[];t={ignore:[],expandDirectories:!0,...t};for(let[n,i]of e.entries()){if(Py(i))continue;let s=e.slice(n).filter(a=>Py(a)).map(a=>a.slice(1)),o={...t,ignore:t.ignore.concat(s)};r.push({pattern:i,options:o})}return r},GL=(e,t)=>{let r={};return e.options.cwd&&(r.cwd=e.options.cwd),Array.isArray(e.options.expandDirectories)?r={...r,files:e.options.expandDirectories}:typeof e.options.expandDirectories=="object"&&(r={...r,...e.options.expandDirectories}),t(e.pattern,r)},Af=(e,t)=>e.options.expandDirectories?GL(e,t):[e.pattern],Fy=e=>e&&e.gitignore?Ef.sync({cwd:e.cwd,ignore:e.ignore}):Dy,wf=e=>t=>{let{options:r}=e;return r.ignore&&Array.isArray(r.ignore)&&r.expandDirectories&&(r.ignore=ca.sync(r.ignore)),{pattern:t,options:r}};bn.exports=async(e,t)=>{let r=la(e,t),n=async()=>t&&t.gitignore?Ef({cwd:t.cwd,ignore:t.ignore}):Dy,i=async()=>{let c=await Promise.all(r.map(async u=>{let f=await Af(u,ca);return Promise.all(f.map(wf(u)))}));return aa(...c)},[s,o]=await Promise.all([n(),i()]),a=await Promise.all(o.map(c=>ua(c.pattern,c.options)));return aa(...a).filter(c=>!s(qL(c)))};bn.exports.sync=(e,t)=>{let r=la(e,t),n=[];for(let o of r){let a=Af(o,ca.sync).map(wf(o));n.push(...a)}let i=Fy(t),s=[];for(let o of n)s=aa(s,ua.sync(o.pattern,o.options));return s.filter(o=>!i(o))};bn.exports.stream=(e,t)=>{let r=la(e,t),n=[];for(let a of r){let c=Af(a,ca.sync).map(wf(a));n.push(...c)}let i=Fy(t),s=new $L(a=>!i(a)),o=new BL;return IL(n.map(a=>ua.stream(a.pattern,a.options))).pipe(s).pipe(o)};bn.exports.generateGlobTasks=la;bn.exports.hasMagic=(e,t)=>[].concat(e).some(r=>ua.isDynamicPattern(r,t));bn.exports.gitignore=Ef});var ha=_(ei=>{"use strict";var Ty=ei&&ei.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ei,"__esModule",{value:!0});ei.getPackagePaths=void 0;var fa=Ty(M("path")),UL=Ty(Ly()),ts={};function HL(e,t,r){if(ts[e])return ts[e];let n=UL.default.sync(t.map(i=>fa.default.join(i,"package.json").replace(/\\/g,"/")),{cwd:e,absolute:!0,ignore:["**/node_modules/**","**/__fixtures__/**"],stats:!1}).map(i=>fa.default.dirname(i));return fa.default.sep==="/"?ts[e]=n:ts[e]=n.map(i=>i.replace(/\//g,fa.default.sep)),ts[e]}ei.getPackagePaths=HL});var rs=_(ti=>{"use strict";var ky=ti&&ti.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ti,"__esModule",{value:!0});ti.getWorkspacePackageInfo=void 0;var WL=ky(M("path")),zL=ky(M("fs"));function YL(e){return e?e.reduce((t,r)=>{let n,i=WL.default.join(r,"package.json");try{n=JSON.parse(zL.default.readFileSync(i,"utf-8"))}catch{return t}return[...t,{name:n.name,path:r,packageJson:{...n,packageJsonPath:i}}]},[]):[]}ti.getWorkspacePackageInfo=YL});var Sf=_(Kr=>{"use strict";var Ny=Kr&&Kr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Kr,"__esModule",{value:!0});Kr.getWorkspaceInfoFromWorkspaceRoot=Kr.getPackageJsonWorkspaceRoot=void 0;var VL=Ny(M("fs")),Iy=Ny(M("path")),KL=Ro(),XL=ha(),JL=rs();function QL(e){var t;let r=(t=(0,KL.getWorkspaceImplementationAndLockFile)(e))===null||t===void 0?void 0:t.lockFile;return r?Iy.default.dirname(r):e}Kr.getPackageJsonWorkspaceRoot=QL;function ZL(e){let t=Iy.default.join(e,"package.json");try{return JSON.parse(VL.default.readFileSync(t,"utf-8"))}catch{throw new Error("Could not load package.json from workspaces root")}}function eT(e){let{workspaces:t}=e;if(t&&Array.isArray(t))return t;if(!t||!t.packages)throw new Error("Could not find a workspaces object in package.json");return t.packages}function tT(e){try{let t=ZL(e),r=eT(t),n=(0,XL.getPackagePaths)(e,r);return(0,JL.getWorkspacePackageInfo)(n)}catch{return[]}}Kr.getWorkspaceInfoFromWorkspaceRoot=tT});var pa=_(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.getYarnWorkspaces=ri.getYarnWorkspaceRoot=void 0;var $y=Sf();function By(e){let t=(0,$y.getPackageJsonWorkspaceRoot)(e);if(!t)throw new Error("Could not find yarn workspaces root");return t}ri.getYarnWorkspaceRoot=By;function rT(e){let t=By(e);return(0,$y.getWorkspaceInfoFromWorkspaceRoot)(t)}ri.getYarnWorkspaces=rT});var ni=_((q4,Cn)=>{"use strict";function My(e){return typeof e>"u"||e===null}function nT(e){return typeof e=="object"&&e!==null}function iT(e){return Array.isArray(e)?e:My(e)?[]:[e]}function sT(e,t){var r,n,i,s;if(t)for(s=Object.keys(t),r=0,n=s.length;r<n;r+=1)i=s[r],e[i]=t[i];return e}function oT(e,t){var r="",n;for(n=0;n<t;n+=1)r+=e;return r}function aT(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}Cn.exports.isNothing=My;Cn.exports.isObject=nT;Cn.exports.toArray=iT;Cn.exports.repeat=oT;Cn.exports.isNegativeZero=aT;Cn.exports.extend=sT});var ii=_((G4,qy)=>{"use strict";function jy(e,t){var r="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=`
3
3
 
4
- `+e.mark.snippet),n+" "+r):n}function Ti(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=_0(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Ti.prototype=Object.create(Error.prototype);Ti.prototype.constructor=Ti;Ti.prototype.toString=function(t){return this.name+": "+_0(this,t)};x0.exports=Ti});var O0=F((Gq,b0)=>{"use strict";var Ii=In();function Gc(e,t,r,n,i){var s="",o="",a=Math.floor(i/2)-1;return n-t>a&&(s=" ... ",t=n-a+s.length),r-n>a&&(o=" ...",r=n+a-o.length),{str:s+e.slice(t,r).replace(/\t/g,"\u2192")+o,pos:n-t+s.length}}function Uc(e,t){return Ii.repeat(" ",t-e.length)+e}function NR(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],i=[],s,o=-1;s=r.exec(e.buffer);)i.push(s.index),n.push(s.index+s[0].length),e.position<=s.index&&o<0&&(o=n.length-2);o<0&&(o=n.length-1);var a="",u,c,f=Math.min(e.line+t.linesAfter,i.length).toString().length,l=t.maxLength-(t.indent+f+3);for(u=1;u<=t.linesBefore&&!(o-u<0);u++)c=Gc(e.buffer,n[o-u],i[o-u],e.position-(n[o]-n[o-u]),l),a=Ii.repeat(" ",t.indent)+Uc((e.line-u+1).toString(),f)+" | "+c.str+`
5
- `+a;for(c=Gc(e.buffer,n[o],i[o],e.position,l),a+=Ii.repeat(" ",t.indent)+Uc((e.line+1).toString(),f)+" | "+c.str+`
6
- `,a+=Ii.repeat("-",t.indent+f+3+c.pos)+`^
7
- `,u=1;u<=t.linesAfter&&!(o+u>=i.length);u++)c=Gc(e.buffer,n[o+u],i[o+u],e.position-(n[o]-n[o+u]),l),a+=Ii.repeat(" ",t.indent)+Uc((e.line+u+1).toString(),f)+" | "+c.str+`
8
- `;return a.replace(/\n$/,"")}b0.exports=NR});var We=F((Uq,F0)=>{"use strict";var R0=Ln(),BR=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],$R=["scalar","sequence","mapping"];function MR(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(n){t[String(n)]=r})}),t}function jR(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(BR.indexOf(r)===-1)throw new R0('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=MR(t.styleAliases||null),$R.indexOf(this.kind)===-1)throw new R0('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}F0.exports=jR});var zc=F((Wq,P0)=>{"use strict";var Li=Ln(),Wc=We();function k0(e,t){var r=[];return e[t].forEach(function(n){var i=r.length;r.forEach(function(s,o){s.tag===n.tag&&s.kind===n.kind&&s.multi===n.multi&&(i=o)}),r[i]=n}),r}function qR(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function n(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(n);return e}function Yc(e){return this.extend(e)}Yc.prototype.extend=function(t){var r=[],n=[];if(t instanceof Wc)n.push(t);else if(Array.isArray(t))n=n.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(r=r.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit));else throw new Li("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(s){if(!(s instanceof Wc))throw new Li("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(s.loadKind&&s.loadKind!=="scalar")throw new Li("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(s.multi)throw new Li("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(s){if(!(s instanceof Wc))throw new Li("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var i=Object.create(Yc.prototype);return i.implicit=(this.implicit||[]).concat(r),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=k0(i,"implicit"),i.compiledExplicit=k0(i,"explicit"),i.compiledTypeMap=qR(i.compiledImplicit,i.compiledExplicit),i};P0.exports=Yc});var Vc=F((Yq,D0)=>{"use strict";var HR=We();D0.exports=new HR("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}})});var Kc=F((zq,T0)=>{"use strict";var GR=We();T0.exports=new GR("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}})});var Xc=F((Vq,I0)=>{"use strict";var UR=We();I0.exports=new UR("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}})});var Qc=F((Kq,L0)=>{"use strict";var WR=zc();L0.exports=new WR({explicit:[Vc(),Kc(),Xc()]})});var Jc=F((Xq,N0)=>{"use strict";var YR=We();function zR(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function VR(){return null}function KR(e){return e===null}N0.exports=new YR("tag:yaml.org,2002:null",{kind:"scalar",resolve:zR,construct:VR,predicate:KR,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})});var Zc=F((Qq,B0)=>{"use strict";var XR=We();function QR(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function JR(e){return e==="true"||e==="True"||e==="TRUE"}function ZR(e){return Object.prototype.toString.call(e)==="[object Boolean]"}B0.exports=new XR("tag:yaml.org,2002:bool",{kind:"scalar",resolve:QR,construct:JR,predicate:ZR,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})});var el=F((Jq,$0)=>{"use strict";var eF=In(),tF=We();function rF(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function nF(e){return 48<=e&&e<=55}function iF(e){return 48<=e&&e<=57}function sF(e){if(e===null)return!1;var t=e.length,r=0,n=!1,i;if(!t)return!1;if(i=e[r],(i==="-"||i==="+")&&(i=e[++r]),i==="0"){if(r+1===t)return!0;if(i=e[++r],i==="b"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(i!=="0"&&i!=="1")return!1;n=!0}return n&&i!=="_"}if(i==="x"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!rF(e.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}if(i==="o"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!nF(e.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}}if(i==="_")return!1;for(;r<t;r++)if(i=e[r],i!=="_"){if(!iF(e.charCodeAt(r)))return!1;n=!0}return!(!n||i==="_")}function oF(e){var t=e,r=1,n;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),n=t[0],(n==="-"||n==="+")&&(n==="-"&&(r=-1),t=t.slice(1),n=t[0]),t==="0")return 0;if(n==="0"){if(t[1]==="b")return r*parseInt(t.slice(2),2);if(t[1]==="x")return r*parseInt(t.slice(2),16);if(t[1]==="o")return r*parseInt(t.slice(2),8)}return r*parseInt(t,10)}function aF(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!eF.isNegativeZero(e)}$0.exports=new tF("tag:yaml.org,2002:int",{kind:"scalar",resolve:sF,construct:oF,predicate:aF,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})});var tl=F((Zq,j0)=>{"use strict";var M0=In(),uF=We(),cF=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function lF(e){return!(e===null||!cF.test(e)||e[e.length-1]==="_")}function fF(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}var hF=/^[-+]?[0-9]+e/;function dF(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(M0.isNegativeZero(e))return"-0.0";return r=e.toString(10),hF.test(r)?r.replace("e",".e"):r}function pF(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||M0.isNegativeZero(e))}j0.exports=new uF("tag:yaml.org,2002:float",{kind:"scalar",resolve:lF,construct:fF,predicate:pF,represent:dF,defaultStyle:"lowercase"})});var rl=F((e6,q0)=>{"use strict";q0.exports=Qc().extend({implicit:[Jc(),Zc(),el(),tl()]})});var nl=F((t6,H0)=>{"use strict";H0.exports=rl()});var il=F((r6,W0)=>{"use strict";var gF=We(),G0=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),U0=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function mF(e){return e===null?!1:G0.exec(e)!==null||U0.exec(e)!==null}function yF(e){var t,r,n,i,s,o,a,u=0,c=null,f,l,h;if(t=G0.exec(e),t===null&&(t=U0.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,n,i));if(s=+t[4],o=+t[5],a=+t[6],t[7]){for(u=t[7].slice(0,3);u.length<3;)u+="0";u=+u}return t[9]&&(f=+t[10],l=+(t[11]||0),c=(f*60+l)*6e4,t[9]==="-"&&(c=-c)),h=new Date(Date.UTC(r,n,i,s,o,a,u)),c&&h.setTime(h.getTime()-c),h}function vF(e){return e.toISOString()}W0.exports=new gF("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:mF,construct:yF,instanceOf:Date,represent:vF})});var sl=F((n6,Y0)=>{"use strict";var EF=We();function AF(e){return e==="<<"||e===null}Y0.exports=new EF("tag:yaml.org,2002:merge",{kind:"scalar",resolve:AF})});var al=F((i6,z0)=>{"use strict";var SF=We(),ol=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
9
- \r`;function wF(e){if(e===null)return!1;var t,r,n=0,i=e.length,s=ol;for(r=0;r<i;r++)if(t=s.indexOf(e.charAt(r)),!(t>64)){if(t<0)return!1;n+=6}return n%8===0}function CF(e){var t,r,n=e.replace(/[\r\n=]/g,""),i=n.length,s=ol,o=0,a=[];for(t=0;t<i;t++)t%4===0&&t&&(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)),o=o<<6|s.indexOf(n.charAt(t));return r=i%4*6,r===0?(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)):r===18?(a.push(o>>10&255),a.push(o>>2&255)):r===12&&a.push(o>>4&255),new Uint8Array(a)}function _F(e){var t="",r=0,n,i,s=e.length,o=ol;for(n=0;n<s;n++)n%3===0&&n&&(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]),r=(r<<8)+e[n];return i=s%3,i===0?(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]):i===2?(t+=o[r>>10&63],t+=o[r>>4&63],t+=o[r<<2&63],t+=o[64]):i===1&&(t+=o[r>>2&63],t+=o[r<<4&63],t+=o[64],t+=o[64]),t}function xF(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}z0.exports=new SF("tag:yaml.org,2002:binary",{kind:"scalar",resolve:wF,construct:CF,predicate:xF,represent:_F})});var ul=F((s6,V0)=>{"use strict";var bF=We(),OF=Object.prototype.hasOwnProperty,RF=Object.prototype.toString;function FF(e){if(e===null)return!0;var t=[],r,n,i,s,o,a=e;for(r=0,n=a.length;r<n;r+=1){if(i=a[r],o=!1,RF.call(i)!=="[object Object]")return!1;for(s in i)if(OF.call(i,s))if(!o)o=!0;else return!1;if(!o)return!1;if(t.indexOf(s)===-1)t.push(s);else return!1}return!0}function kF(e){return e!==null?e:[]}V0.exports=new bF("tag:yaml.org,2002:omap",{kind:"sequence",resolve:FF,construct:kF})});var cl=F((o6,K0)=>{"use strict";var PF=We(),DF=Object.prototype.toString;function TF(e){if(e===null)return!0;var t,r,n,i,s,o=e;for(s=new Array(o.length),t=0,r=o.length;t<r;t+=1){if(n=o[t],DF.call(n)!=="[object Object]"||(i=Object.keys(n),i.length!==1))return!1;s[t]=[i[0],n[i[0]]]}return!0}function IF(e){if(e===null)return[];var t,r,n,i,s,o=e;for(s=new Array(o.length),t=0,r=o.length;t<r;t+=1)n=o[t],i=Object.keys(n),s[t]=[i[0],n[i[0]]];return s}K0.exports=new PF("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:TF,construct:IF})});var ll=F((a6,X0)=>{"use strict";var LF=We(),NF=Object.prototype.hasOwnProperty;function BF(e){if(e===null)return!0;var t,r=e;for(t in r)if(NF.call(r,t)&&r[t]!==null)return!1;return!0}function $F(e){return e!==null?e:{}}X0.exports=new LF("tag:yaml.org,2002:set",{kind:"mapping",resolve:BF,construct:$F})});var Eo=F((u6,Q0)=>{"use strict";Q0.exports=nl().extend({implicit:[il(),sl()],explicit:[al(),ul(),cl(),ll()]})});var dm=F((c6,pl)=>{"use strict";var tn=In(),im=Ln(),MF=O0(),jF=Eo(),Fr=Object.prototype.hasOwnProperty,Ao=1,sm=2,om=3,So=4,fl=1,qF=2,J0=3,HF=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,GF=/[\x85\u2028\u2029]/,UF=/[,\[\]\{\}]/,am=/^(?:!|!!|![a-z\-]+!)$/i,um=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function Z0(e){return Object.prototype.toString.call(e)}function Ut(e){return e===10||e===13}function rn(e){return e===9||e===32}function ot(e){return e===9||e===32||e===10||e===13}function Nn(e){return e===44||e===91||e===93||e===123||e===125}function WF(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function YF(e){return e===120?2:e===117?4:e===85?8:0}function zF(e){return 48<=e&&e<=57?e-48:-1}function em(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
10
- `:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"\x85":e===95?"\xA0":e===76?"\u2028":e===80?"\u2029":""}function VF(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var cm=new Array(256),lm=new Array(256);for(en=0;en<256;en++)cm[en]=em(en)?1:0,lm[en]=em(en);var en;function KF(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||jF,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function fm(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=MF(r),new im(t,r)}function Z(e,t){throw fm(e,t)}function wo(e,t){e.onWarning&&e.onWarning.call(null,fm(e,t))}var tm={YAML:function(t,r,n){var i,s,o;t.version!==null&&Z(t,"duplication of %YAML directive"),n.length!==1&&Z(t,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),i===null&&Z(t,"ill-formed argument of the YAML directive"),s=parseInt(i[1],10),o=parseInt(i[2],10),s!==1&&Z(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=o<2,o!==1&&o!==2&&wo(t,"unsupported YAML version of the document")},TAG:function(t,r,n){var i,s;n.length!==2&&Z(t,"TAG directive accepts exactly two arguments"),i=n[0],s=n[1],am.test(i)||Z(t,"ill-formed tag handle (first argument) of the TAG directive"),Fr.call(t.tagMap,i)&&Z(t,'there is a previously declared suffix for "'+i+'" tag handle'),um.test(s)||Z(t,"ill-formed tag prefix (second argument) of the TAG directive");try{s=decodeURIComponent(s)}catch{Z(t,"tag prefix is malformed: "+s)}t.tagMap[i]=s}};function Rr(e,t,r,n){var i,s,o,a;if(t<r){if(a=e.input.slice(t,r),n)for(i=0,s=a.length;i<s;i+=1)o=a.charCodeAt(i),o===9||32<=o&&o<=1114111||Z(e,"expected valid JSON character");else HF.test(a)&&Z(e,"the stream contains non-printable characters");e.result+=a}}function rm(e,t,r,n){var i,s,o,a;for(tn.isObject(r)||Z(e,"cannot merge mappings; the provided source object is unacceptable"),i=Object.keys(r),o=0,a=i.length;o<a;o+=1)s=i[o],Fr.call(t,s)||(t[s]=r[s],n[s]=!0)}function Bn(e,t,r,n,i,s,o,a,u){var c,f;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),c=0,f=i.length;c<f;c+=1)Array.isArray(i[c])&&Z(e,"nested arrays are not supported inside keys"),typeof i=="object"&&Z0(i[c])==="[object Object]"&&(i[c]="[object Object]");if(typeof i=="object"&&Z0(i)==="[object Object]"&&(i="[object Object]"),i=String(i),t===null&&(t={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(s))for(c=0,f=s.length;c<f;c+=1)rm(e,t,s[c],r);else rm(e,t,s,r);else!e.json&&!Fr.call(r,i)&&Fr.call(t,i)&&(e.line=o||e.line,e.lineStart=a||e.lineStart,e.position=u||e.position,Z(e,"duplicated mapping key")),i==="__proto__"?Object.defineProperty(t,i,{configurable:!0,enumerable:!0,writable:!0,value:s}):t[i]=s,delete r[i];return t}function hl(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):Z(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function Te(e,t,r){for(var n=0,i=e.input.charCodeAt(e.position);i!==0;){for(;rn(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(Ut(i))for(hl(e),i=e.input.charCodeAt(e.position),n++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return r!==-1&&n!==0&&e.lineIndent<r&&wo(e,"deficient indentation"),n}function Co(e){var t=e.position,r;return r=e.input.charCodeAt(t),!!((r===45||r===46)&&r===e.input.charCodeAt(t+1)&&r===e.input.charCodeAt(t+2)&&(t+=3,r=e.input.charCodeAt(t),r===0||ot(r)))}function dl(e,t){t===1?e.result+=" ":t>1&&(e.result+=tn.repeat(`
11
- `,t-1))}function XF(e,t,r){var n,i,s,o,a,u,c,f,l=e.kind,h=e.result,d;if(d=e.input.charCodeAt(e.position),ot(d)||Nn(d)||d===35||d===38||d===42||d===33||d===124||d===62||d===39||d===34||d===37||d===64||d===96||(d===63||d===45)&&(i=e.input.charCodeAt(e.position+1),ot(i)||r&&Nn(i)))return!1;for(e.kind="scalar",e.result="",s=o=e.position,a=!1;d!==0;){if(d===58){if(i=e.input.charCodeAt(e.position+1),ot(i)||r&&Nn(i))break}else if(d===35){if(n=e.input.charCodeAt(e.position-1),ot(n))break}else{if(e.position===e.lineStart&&Co(e)||r&&Nn(d))break;if(Ut(d))if(u=e.line,c=e.lineStart,f=e.lineIndent,Te(e,!1,-1),e.lineIndent>=t){a=!0,d=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=u,e.lineStart=c,e.lineIndent=f;break}}a&&(Rr(e,s,o,!1),dl(e,e.line-u),s=o=e.position,a=!1),rn(d)||(o=e.position+1),d=e.input.charCodeAt(++e.position)}return Rr(e,s,o,!1),e.result?!0:(e.kind=l,e.result=h,!1)}function QF(e,t){var r,n,i;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(Rr(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,i=e.position;else return!0;else Ut(r)?(Rr(e,n,i,!0),dl(e,Te(e,!1,t)),n=i=e.position):e.position===e.lineStart&&Co(e)?Z(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);Z(e,"unexpected end of the stream within a single quoted scalar")}function JF(e,t){var r,n,i,s,o,a;if(a=e.input.charCodeAt(e.position),a!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(a=e.input.charCodeAt(e.position))!==0;){if(a===34)return Rr(e,r,e.position,!0),e.position++,!0;if(a===92){if(Rr(e,r,e.position,!0),a=e.input.charCodeAt(++e.position),Ut(a))Te(e,!1,t);else if(a<256&&cm[a])e.result+=lm[a],e.position++;else if((o=YF(a))>0){for(i=o,s=0;i>0;i--)a=e.input.charCodeAt(++e.position),(o=WF(a))>=0?s=(s<<4)+o:Z(e,"expected hexadecimal character");e.result+=VF(s),e.position++}else Z(e,"unknown escape sequence");r=n=e.position}else Ut(a)?(Rr(e,r,n,!0),dl(e,Te(e,!1,t)),r=n=e.position):e.position===e.lineStart&&Co(e)?Z(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}Z(e,"unexpected end of the stream within a double quoted scalar")}function ZF(e,t){var r=!0,n,i,s,o=e.tag,a,u=e.anchor,c,f,l,h,d,g=Object.create(null),S,w,k,_;if(_=e.input.charCodeAt(e.position),_===91)f=93,d=!1,a=[];else if(_===123)f=125,d=!0,a={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),_=e.input.charCodeAt(++e.position);_!==0;){if(Te(e,!0,t),_=e.input.charCodeAt(e.position),_===f)return e.position++,e.tag=o,e.anchor=u,e.kind=d?"mapping":"sequence",e.result=a,!0;r?_===44&&Z(e,"expected the node content, but found ','"):Z(e,"missed comma between flow collection entries"),w=S=k=null,l=h=!1,_===63&&(c=e.input.charCodeAt(e.position+1),ot(c)&&(l=h=!0,e.position++,Te(e,!0,t))),n=e.line,i=e.lineStart,s=e.position,$n(e,t,Ao,!1,!0),w=e.tag,S=e.result,Te(e,!0,t),_=e.input.charCodeAt(e.position),(h||e.line===n)&&_===58&&(l=!0,_=e.input.charCodeAt(++e.position),Te(e,!0,t),$n(e,t,Ao,!1,!0),k=e.result),d?Bn(e,a,g,w,S,k,n,i,s):l?a.push(Bn(e,null,g,w,S,k,n,i,s)):a.push(S),Te(e,!0,t),_=e.input.charCodeAt(e.position),_===44?(r=!0,_=e.input.charCodeAt(++e.position)):r=!1}Z(e,"unexpected end of the stream within a flow collection")}function ek(e,t){var r,n,i=fl,s=!1,o=!1,a=t,u=0,c=!1,f,l;if(l=e.input.charCodeAt(e.position),l===124)n=!1;else if(l===62)n=!0;else return!1;for(e.kind="scalar",e.result="";l!==0;)if(l=e.input.charCodeAt(++e.position),l===43||l===45)fl===i?i=l===43?J0:qF:Z(e,"repeat of a chomping mode identifier");else if((f=zF(l))>=0)f===0?Z(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?Z(e,"repeat of an indentation width identifier"):(a=t+f-1,o=!0);else break;if(rn(l)){do l=e.input.charCodeAt(++e.position);while(rn(l));if(l===35)do l=e.input.charCodeAt(++e.position);while(!Ut(l)&&l!==0)}for(;l!==0;){for(hl(e),e.lineIndent=0,l=e.input.charCodeAt(e.position);(!o||e.lineIndent<a)&&l===32;)e.lineIndent++,l=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>a&&(a=e.lineIndent),Ut(l)){u++;continue}if(e.lineIndent<a){i===J0?e.result+=tn.repeat(`
12
- `,s?1+u:u):i===fl&&s&&(e.result+=`
13
- `);break}for(n?rn(l)?(c=!0,e.result+=tn.repeat(`
14
- `,s?1+u:u)):c?(c=!1,e.result+=tn.repeat(`
15
- `,u+1)):u===0?s&&(e.result+=" "):e.result+=tn.repeat(`
16
- `,u):e.result+=tn.repeat(`
17
- `,s?1+u:u),s=!0,o=!0,u=0,r=e.position;!Ut(l)&&l!==0;)l=e.input.charCodeAt(++e.position);Rr(e,r,e.position,!1)}return!0}function nm(e,t){var r,n=e.tag,i=e.anchor,s=[],o,a=!1,u;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),u=e.input.charCodeAt(e.position);u!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Z(e,"tab characters must not be used in indentation")),!(u!==45||(o=e.input.charCodeAt(e.position+1),!ot(o))));){if(a=!0,e.position++,Te(e,!0,-1)&&e.lineIndent<=t){s.push(null),u=e.input.charCodeAt(e.position);continue}if(r=e.line,$n(e,t,om,!1,!0),s.push(e.result),Te(e,!0,-1),u=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&u!==0)Z(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return a?(e.tag=n,e.anchor=i,e.kind="sequence",e.result=s,!0):!1}function tk(e,t,r){var n,i,s,o,a,u,c=e.tag,f=e.anchor,l={},h=Object.create(null),d=null,g=null,S=null,w=!1,k=!1,_;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=l),_=e.input.charCodeAt(e.position);_!==0;){if(!w&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Z(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),s=e.line,(_===63||_===58)&&ot(n))_===63?(w&&(Bn(e,l,h,d,g,null,o,a,u),d=g=S=null),k=!0,w=!0,i=!0):w?(w=!1,i=!0):Z(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,_=n;else{if(o=e.line,a=e.lineStart,u=e.position,!$n(e,r,sm,!1,!0))break;if(e.line===s){for(_=e.input.charCodeAt(e.position);rn(_);)_=e.input.charCodeAt(++e.position);if(_===58)_=e.input.charCodeAt(++e.position),ot(_)||Z(e,"a whitespace character is expected after the key-value separator within a block mapping"),w&&(Bn(e,l,h,d,g,null,o,a,u),d=g=S=null),k=!0,w=!1,i=!1,d=e.tag,g=e.result;else if(k)Z(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=c,e.anchor=f,!0}else if(k)Z(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=c,e.anchor=f,!0}if((e.line===s||e.lineIndent>t)&&(w&&(o=e.line,a=e.lineStart,u=e.position),$n(e,t,So,!0,i)&&(w?g=e.result:S=e.result),w||(Bn(e,l,h,d,g,S,o,a,u),d=g=S=null),Te(e,!0,-1),_=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>t)&&_!==0)Z(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return w&&Bn(e,l,h,d,g,null,o,a,u),k&&(e.tag=c,e.anchor=f,e.kind="mapping",e.result=l),k}function rk(e){var t,r=!1,n=!1,i,s,o;if(o=e.input.charCodeAt(e.position),o!==33)return!1;if(e.tag!==null&&Z(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),o===60?(r=!0,o=e.input.charCodeAt(++e.position)):o===33?(n=!0,i="!!",o=e.input.charCodeAt(++e.position)):i="!",t=e.position,r){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(s=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):Z(e,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!ot(o);)o===33&&(n?Z(e,"tag suffix cannot contain exclamation marks"):(i=e.input.slice(t-1,e.position+1),am.test(i)||Z(e,"named tag handle cannot contain such characters"),n=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);s=e.input.slice(t,e.position),UF.test(s)&&Z(e,"tag suffix cannot contain flow indicator characters")}s&&!um.test(s)&&Z(e,"tag name cannot contain such characters: "+s);try{s=decodeURIComponent(s)}catch{Z(e,"tag name is malformed: "+s)}return r?e.tag=s:Fr.call(e.tagMap,i)?e.tag=e.tagMap[i]+s:i==="!"?e.tag="!"+s:i==="!!"?e.tag="tag:yaml.org,2002:"+s:Z(e,'undeclared tag handle "'+i+'"'),!0}function nk(e){var t,r;if(r=e.input.charCodeAt(e.position),r!==38)return!1;for(e.anchor!==null&&Z(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!ot(r)&&!Nn(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&Z(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function ik(e){var t,r,n;if(n=e.input.charCodeAt(e.position),n!==42)return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!ot(n)&&!Nn(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&Z(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),Fr.call(e.anchorMap,r)||Z(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],Te(e,!0,-1),!0}function $n(e,t,r,n,i){var s,o,a,u=1,c=!1,f=!1,l,h,d,g,S,w;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,s=o=a=So===r||om===r,n&&Te(e,!0,-1)&&(c=!0,e.lineIndent>t?u=1:e.lineIndent===t?u=0:e.lineIndent<t&&(u=-1)),u===1)for(;rk(e)||nk(e);)Te(e,!0,-1)?(c=!0,a=s,e.lineIndent>t?u=1:e.lineIndent===t?u=0:e.lineIndent<t&&(u=-1)):a=!1;if(a&&(a=c||i),(u===1||So===r)&&(Ao===r||sm===r?S=t:S=t+1,w=e.position-e.lineStart,u===1?a&&(nm(e,w)||tk(e,w,S))||ZF(e,S)?f=!0:(o&&ek(e,S)||QF(e,S)||JF(e,S)?f=!0:ik(e)?(f=!0,(e.tag!==null||e.anchor!==null)&&Z(e,"alias node should not have any properties")):XF(e,S,Ao===r)&&(f=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):u===0&&(f=a&&nm(e,w))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&Z(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),l=0,h=e.implicitTypes.length;l<h;l+=1)if(g=e.implicitTypes[l],g.resolve(e.result)){e.result=g.construct(e.result),e.tag=g.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(Fr.call(e.typeMap[e.kind||"fallback"],e.tag))g=e.typeMap[e.kind||"fallback"][e.tag];else for(g=null,d=e.typeMap.multi[e.kind||"fallback"],l=0,h=d.length;l<h;l+=1)if(e.tag.slice(0,d[l].tag.length)===d[l].tag){g=d[l];break}g||Z(e,"unknown tag !<"+e.tag+">"),e.result!==null&&g.kind!==e.kind&&Z(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+g.kind+'", not "'+e.kind+'"'),g.resolve(e.result,e.tag)?(e.result=g.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Z(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||f}function sk(e){var t=e.position,r,n,i,s=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(Te(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(s=!0,o=e.input.charCodeAt(++e.position),r=e.position;o!==0&&!ot(o);)o=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),i=[],n.length<1&&Z(e,"directive name must not be less than one character in length");o!==0;){for(;rn(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!Ut(o));break}if(Ut(o))break;for(r=e.position;o!==0&&!ot(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(r,e.position))}o!==0&&hl(e),Fr.call(tm,n)?tm[n](e,n,i):wo(e,'unknown document directive "'+n+'"')}if(Te(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Te(e,!0,-1)):s&&Z(e,"directives end mark is expected"),$n(e,e.lineIndent-1,So,!1,!0),Te(e,!0,-1),e.checkLineBreaks&&GF.test(e.input.slice(t,e.position))&&wo(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Co(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Te(e,!0,-1));return}if(e.position<e.length-1)Z(e,"end of the stream or a document separator is expected");else return}function hm(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
18
- `),e.charCodeAt(0)===65279&&(e=e.slice(1)));var r=new KF(e,t),n=e.indexOf("\0");for(n!==-1&&(r.position=n,Z(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)sk(r);return r.documents}function ok(e,t,r){t!==null&&typeof t=="object"&&typeof r>"u"&&(r=t,t=null);var n=hm(e,r);if(typeof t!="function")return n;for(var i=0,s=n.length;i<s;i+=1)t(n[i])}function ak(e,t){var r=hm(e,t);if(r.length!==0){if(r.length===1)return r[0];throw new im("expected a single document in the stream, but found more")}}pl.exports.loadAll=ok;pl.exports.load=ak});var Im=F((l6,Tm)=>{"use strict";var bo=In(),ji=Ln(),uk=Eo(),wm=Object.prototype.toString,Cm=Object.prototype.hasOwnProperty,El=65279,ck=9,Bi=10,lk=13,fk=32,hk=33,dk=34,gl=35,pk=37,gk=38,mk=39,yk=42,_m=44,vk=45,_o=58,Ek=61,Ak=62,Sk=63,wk=64,xm=91,bm=93,Ck=96,Om=123,_k=124,Rm=125,Ye={};Ye[0]="\\0";Ye[7]="\\a";Ye[8]="\\b";Ye[9]="\\t";Ye[10]="\\n";Ye[11]="\\v";Ye[12]="\\f";Ye[13]="\\r";Ye[27]="\\e";Ye[34]='\\"';Ye[92]="\\\\";Ye[133]="\\N";Ye[160]="\\_";Ye[8232]="\\L";Ye[8233]="\\P";var xk=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],bk=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function Ok(e,t){var r,n,i,s,o,a,u;if(t===null)return{};for(r={},n=Object.keys(t),i=0,s=n.length;i<s;i+=1)o=n[i],a=String(t[o]),o.slice(0,2)==="!!"&&(o="tag:yaml.org,2002:"+o.slice(2)),u=e.compiledTypeMap.fallback[o],u&&Cm.call(u.styleAliases,a)&&(a=u.styleAliases[a]),r[o]=a;return r}function Rk(e){var t,r,n;if(t=e.toString(16).toUpperCase(),e<=255)r="x",n=2;else if(e<=65535)r="u",n=4;else if(e<=4294967295)r="U",n=8;else throw new ji("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+bo.repeat("0",n-t.length)+t}var Fk=1,$i=2;function kk(e){this.schema=e.schema||uk,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=bo.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=Ok(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType==='"'?$i:Fk,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer=="function"?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function pm(e,t){for(var r=bo.repeat(" ",t),n=0,i=-1,s="",o,a=e.length;n<a;)i=e.indexOf(`
4
+ `+e.mark.snippet),n+" "+r):n}function ns(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=jy(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}ns.prototype=Object.create(Error.prototype);ns.prototype.constructor=ns;ns.prototype.toString=function(t){return this.name+": "+jy(this,t)};qy.exports=ns});var Uy=_((U4,Gy)=>{"use strict";var is=ni();function bf(e,t,r,n,i){var s="",o="",a=Math.floor(i/2)-1;return n-t>a&&(s=" ... ",t=n-a+s.length),r-n>a&&(o=" ...",r=n+a-o.length),{str:s+e.slice(t,r).replace(/\t/g,"\u2192")+o,pos:n-t+s.length}}function Cf(e,t){return is.repeat(" ",t-e.length)+e}function uT(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],i=[],s,o=-1;s=r.exec(e.buffer);)i.push(s.index),n.push(s.index+s[0].length),e.position<=s.index&&o<0&&(o=n.length-2);o<0&&(o=n.length-1);var a="",c,u,f=Math.min(e.line+t.linesAfter,i.length).toString().length,l=t.maxLength-(t.indent+f+3);for(c=1;c<=t.linesBefore&&!(o-c<0);c++)u=bf(e.buffer,n[o-c],i[o-c],e.position-(n[o]-n[o-c]),l),a=is.repeat(" ",t.indent)+Cf((e.line-c+1).toString(),f)+" | "+u.str+`
5
+ `+a;for(u=bf(e.buffer,n[o],i[o],e.position,l),a+=is.repeat(" ",t.indent)+Cf((e.line+1).toString(),f)+" | "+u.str+`
6
+ `,a+=is.repeat("-",t.indent+f+3+u.pos)+`^
7
+ `,c=1;c<=t.linesAfter&&!(o+c>=i.length);c++)u=bf(e.buffer,n[o+c],i[o+c],e.position-(n[o]-n[o+c]),l),a+=is.repeat(" ",t.indent)+Cf((e.line+c+1).toString(),f)+" | "+u.str+`
8
+ `;return a.replace(/\n$/,"")}Gy.exports=uT});var tt=_((H4,Wy)=>{"use strict";var Hy=ii(),cT=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],lT=["scalar","sequence","mapping"];function fT(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(n){t[String(n)]=r})}),t}function hT(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(cT.indexOf(r)===-1)throw new Hy('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=fT(t.styleAliases||null),lT.indexOf(this.kind)===-1)throw new Hy('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}Wy.exports=hT});var _f=_((W4,Yy)=>{"use strict";var ss=ii(),xf=tt();function zy(e,t){var r=[];return e[t].forEach(function(n){var i=r.length;r.forEach(function(s,o){s.tag===n.tag&&s.kind===n.kind&&s.multi===n.multi&&(i=o)}),r[i]=n}),r}function pT(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function n(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(n);return e}function Of(e){return this.extend(e)}Of.prototype.extend=function(t){var r=[],n=[];if(t instanceof xf)n.push(t);else if(Array.isArray(t))n=n.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(r=r.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit));else throw new ss("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(s){if(!(s instanceof xf))throw new ss("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(s.loadKind&&s.loadKind!=="scalar")throw new ss("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(s.multi)throw new ss("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(s){if(!(s instanceof xf))throw new ss("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var i=Object.create(Of.prototype);return i.implicit=(this.implicit||[]).concat(r),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=zy(i,"implicit"),i.compiledExplicit=zy(i,"explicit"),i.compiledTypeMap=pT(i.compiledImplicit,i.compiledExplicit),i};Yy.exports=Of});var Pf=_((z4,Vy)=>{"use strict";var dT=tt();Vy.exports=new dT("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}})});var Rf=_((Y4,Ky)=>{"use strict";var mT=tt();Ky.exports=new mT("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}})});var Df=_((V4,Xy)=>{"use strict";var gT=tt();Xy.exports=new gT("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}})});var Ff=_((K4,Jy)=>{"use strict";var yT=_f();Jy.exports=new yT({explicit:[Pf(),Rf(),Df()]})});var Lf=_((X4,Qy)=>{"use strict";var vT=tt();function ET(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function AT(){return null}function wT(e){return e===null}Qy.exports=new vT("tag:yaml.org,2002:null",{kind:"scalar",resolve:ET,construct:AT,predicate:wT,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})});var Tf=_((J4,Zy)=>{"use strict";var ST=tt();function bT(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function CT(e){return e==="true"||e==="True"||e==="TRUE"}function xT(e){return Object.prototype.toString.call(e)==="[object Boolean]"}Zy.exports=new ST("tag:yaml.org,2002:bool",{kind:"scalar",resolve:bT,construct:CT,predicate:xT,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})});var kf=_((Q4,ev)=>{"use strict";var OT=ni(),_T=tt();function PT(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function RT(e){return 48<=e&&e<=55}function DT(e){return 48<=e&&e<=57}function FT(e){if(e===null)return!1;var t=e.length,r=0,n=!1,i;if(!t)return!1;if(i=e[r],(i==="-"||i==="+")&&(i=e[++r]),i==="0"){if(r+1===t)return!0;if(i=e[++r],i==="b"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(i!=="0"&&i!=="1")return!1;n=!0}return n&&i!=="_"}if(i==="x"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!PT(e.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}if(i==="o"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!RT(e.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}}if(i==="_")return!1;for(;r<t;r++)if(i=e[r],i!=="_"){if(!DT(e.charCodeAt(r)))return!1;n=!0}return!(!n||i==="_")}function LT(e){var t=e,r=1,n;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),n=t[0],(n==="-"||n==="+")&&(n==="-"&&(r=-1),t=t.slice(1),n=t[0]),t==="0")return 0;if(n==="0"){if(t[1]==="b")return r*parseInt(t.slice(2),2);if(t[1]==="x")return r*parseInt(t.slice(2),16);if(t[1]==="o")return r*parseInt(t.slice(2),8)}return r*parseInt(t,10)}function TT(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!OT.isNegativeZero(e)}ev.exports=new _T("tag:yaml.org,2002:int",{kind:"scalar",resolve:FT,construct:LT,predicate:TT,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})});var Nf=_((Z4,rv)=>{"use strict";var tv=ni(),kT=tt(),NT=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function IT(e){return!(e===null||!NT.test(e)||e[e.length-1]==="_")}function $T(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}var BT=/^[-+]?[0-9]+e/;function MT(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(tv.isNegativeZero(e))return"-0.0";return r=e.toString(10),BT.test(r)?r.replace("e",".e"):r}function jT(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||tv.isNegativeZero(e))}rv.exports=new kT("tag:yaml.org,2002:float",{kind:"scalar",resolve:IT,construct:$T,predicate:jT,represent:MT,defaultStyle:"lowercase"})});var If=_((e7,nv)=>{"use strict";nv.exports=Ff().extend({implicit:[Lf(),Tf(),kf(),Nf()]})});var $f=_((t7,iv)=>{"use strict";iv.exports=If()});var Bf=_((r7,av)=>{"use strict";var qT=tt(),sv=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),ov=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function GT(e){return e===null?!1:sv.exec(e)!==null||ov.exec(e)!==null}function UT(e){var t,r,n,i,s,o,a,c=0,u=null,f,l,h;if(t=sv.exec(e),t===null&&(t=ov.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,n,i));if(s=+t[4],o=+t[5],a=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(f=+t[10],l=+(t[11]||0),u=(f*60+l)*6e4,t[9]==="-"&&(u=-u)),h=new Date(Date.UTC(r,n,i,s,o,a,c)),u&&h.setTime(h.getTime()-u),h}function HT(e){return e.toISOString()}av.exports=new qT("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:GT,construct:UT,instanceOf:Date,represent:HT})});var Mf=_((n7,uv)=>{"use strict";var WT=tt();function zT(e){return e==="<<"||e===null}uv.exports=new WT("tag:yaml.org,2002:merge",{kind:"scalar",resolve:zT})});var qf=_((i7,cv)=>{"use strict";var YT=tt(),jf=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
9
+ \r`;function VT(e){if(e===null)return!1;var t,r,n=0,i=e.length,s=jf;for(r=0;r<i;r++)if(t=s.indexOf(e.charAt(r)),!(t>64)){if(t<0)return!1;n+=6}return n%8===0}function KT(e){var t,r,n=e.replace(/[\r\n=]/g,""),i=n.length,s=jf,o=0,a=[];for(t=0;t<i;t++)t%4===0&&t&&(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)),o=o<<6|s.indexOf(n.charAt(t));return r=i%4*6,r===0?(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)):r===18?(a.push(o>>10&255),a.push(o>>2&255)):r===12&&a.push(o>>4&255),new Uint8Array(a)}function XT(e){var t="",r=0,n,i,s=e.length,o=jf;for(n=0;n<s;n++)n%3===0&&n&&(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]),r=(r<<8)+e[n];return i=s%3,i===0?(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]):i===2?(t+=o[r>>10&63],t+=o[r>>4&63],t+=o[r<<2&63],t+=o[64]):i===1&&(t+=o[r>>2&63],t+=o[r<<4&63],t+=o[64],t+=o[64]),t}function JT(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}cv.exports=new YT("tag:yaml.org,2002:binary",{kind:"scalar",resolve:VT,construct:KT,predicate:JT,represent:XT})});var Gf=_((s7,lv)=>{"use strict";var QT=tt(),ZT=Object.prototype.hasOwnProperty,ek=Object.prototype.toString;function tk(e){if(e===null)return!0;var t=[],r,n,i,s,o,a=e;for(r=0,n=a.length;r<n;r+=1){if(i=a[r],o=!1,ek.call(i)!=="[object Object]")return!1;for(s in i)if(ZT.call(i,s))if(!o)o=!0;else return!1;if(!o)return!1;if(t.indexOf(s)===-1)t.push(s);else return!1}return!0}function rk(e){return e!==null?e:[]}lv.exports=new QT("tag:yaml.org,2002:omap",{kind:"sequence",resolve:tk,construct:rk})});var Uf=_((o7,fv)=>{"use strict";var nk=tt(),ik=Object.prototype.toString;function sk(e){if(e===null)return!0;var t,r,n,i,s,o=e;for(s=new Array(o.length),t=0,r=o.length;t<r;t+=1){if(n=o[t],ik.call(n)!=="[object Object]"||(i=Object.keys(n),i.length!==1))return!1;s[t]=[i[0],n[i[0]]]}return!0}function ok(e){if(e===null)return[];var t,r,n,i,s,o=e;for(s=new Array(o.length),t=0,r=o.length;t<r;t+=1)n=o[t],i=Object.keys(n),s[t]=[i[0],n[i[0]]];return s}fv.exports=new nk("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:sk,construct:ok})});var Hf=_((a7,hv)=>{"use strict";var ak=tt(),uk=Object.prototype.hasOwnProperty;function ck(e){if(e===null)return!0;var t,r=e;for(t in r)if(uk.call(r,t)&&r[t]!==null)return!1;return!0}function lk(e){return e!==null?e:{}}hv.exports=new ak("tag:yaml.org,2002:set",{kind:"mapping",resolve:ck,construct:lk})});var da=_((u7,pv)=>{"use strict";pv.exports=$f().extend({implicit:[Bf(),Mf()],explicit:[qf(),Gf(),Uf(),Hf()]})});var Rv=_((c7,Vf)=>{"use strict";var On=ni(),Av=ii(),fk=Uy(),hk=da(),Jr=Object.prototype.hasOwnProperty,ma=1,wv=2,Sv=3,ga=4,Wf=1,pk=2,dv=3,dk=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,mk=/[\x85\u2028\u2029]/,gk=/[,\[\]\{\}]/,bv=/^(?:!|!!|![a-z\-]+!)$/i,Cv=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function mv(e){return Object.prototype.toString.call(e)}function or(e){return e===10||e===13}function _n(e){return e===9||e===32}function Et(e){return e===9||e===32||e===10||e===13}function si(e){return e===44||e===91||e===93||e===123||e===125}function yk(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function vk(e){return e===120?2:e===117?4:e===85?8:0}function Ek(e){return 48<=e&&e<=57?e-48:-1}function gv(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
10
+ `:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"\x85":e===95?"\xA0":e===76?"\u2028":e===80?"\u2029":""}function Ak(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var xv=new Array(256),Ov=new Array(256);for(xn=0;xn<256;xn++)xv[xn]=gv(xn)?1:0,Ov[xn]=gv(xn);var xn;function wk(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||hk,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function _v(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=fk(r),new Av(t,r)}function ee(e,t){throw _v(e,t)}function ya(e,t){e.onWarning&&e.onWarning.call(null,_v(e,t))}var yv={YAML:function(t,r,n){var i,s,o;t.version!==null&&ee(t,"duplication of %YAML directive"),n.length!==1&&ee(t,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),i===null&&ee(t,"ill-formed argument of the YAML directive"),s=parseInt(i[1],10),o=parseInt(i[2],10),s!==1&&ee(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=o<2,o!==1&&o!==2&&ya(t,"unsupported YAML version of the document")},TAG:function(t,r,n){var i,s;n.length!==2&&ee(t,"TAG directive accepts exactly two arguments"),i=n[0],s=n[1],bv.test(i)||ee(t,"ill-formed tag handle (first argument) of the TAG directive"),Jr.call(t.tagMap,i)&&ee(t,'there is a previously declared suffix for "'+i+'" tag handle'),Cv.test(s)||ee(t,"ill-formed tag prefix (second argument) of the TAG directive");try{s=decodeURIComponent(s)}catch{ee(t,"tag prefix is malformed: "+s)}t.tagMap[i]=s}};function Xr(e,t,r,n){var i,s,o,a;if(t<r){if(a=e.input.slice(t,r),n)for(i=0,s=a.length;i<s;i+=1)o=a.charCodeAt(i),o===9||32<=o&&o<=1114111||ee(e,"expected valid JSON character");else dk.test(a)&&ee(e,"the stream contains non-printable characters");e.result+=a}}function vv(e,t,r,n){var i,s,o,a;for(On.isObject(r)||ee(e,"cannot merge mappings; the provided source object is unacceptable"),i=Object.keys(r),o=0,a=i.length;o<a;o+=1)s=i[o],Jr.call(t,s)||(t[s]=r[s],n[s]=!0)}function oi(e,t,r,n,i,s,o,a,c){var u,f;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),u=0,f=i.length;u<f;u+=1)Array.isArray(i[u])&&ee(e,"nested arrays are not supported inside keys"),typeof i=="object"&&mv(i[u])==="[object Object]"&&(i[u]="[object Object]");if(typeof i=="object"&&mv(i)==="[object Object]"&&(i="[object Object]"),i=String(i),t===null&&(t={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(s))for(u=0,f=s.length;u<f;u+=1)vv(e,t,s[u],r);else vv(e,t,s,r);else!e.json&&!Jr.call(r,i)&&Jr.call(t,i)&&(e.line=o||e.line,e.lineStart=a||e.lineStart,e.position=c||e.position,ee(e,"duplicated mapping key")),i==="__proto__"?Object.defineProperty(t,i,{configurable:!0,enumerable:!0,writable:!0,value:s}):t[i]=s,delete r[i];return t}function zf(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):ee(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function Be(e,t,r){for(var n=0,i=e.input.charCodeAt(e.position);i!==0;){for(;_n(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(or(i))for(zf(e),i=e.input.charCodeAt(e.position),n++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return r!==-1&&n!==0&&e.lineIndent<r&&ya(e,"deficient indentation"),n}function va(e){var t=e.position,r;return r=e.input.charCodeAt(t),!!((r===45||r===46)&&r===e.input.charCodeAt(t+1)&&r===e.input.charCodeAt(t+2)&&(t+=3,r=e.input.charCodeAt(t),r===0||Et(r)))}function Yf(e,t){t===1?e.result+=" ":t>1&&(e.result+=On.repeat(`
11
+ `,t-1))}function Sk(e,t,r){var n,i,s,o,a,c,u,f,l=e.kind,h=e.result,p;if(p=e.input.charCodeAt(e.position),Et(p)||si(p)||p===35||p===38||p===42||p===33||p===124||p===62||p===39||p===34||p===37||p===64||p===96||(p===63||p===45)&&(i=e.input.charCodeAt(e.position+1),Et(i)||r&&si(i)))return!1;for(e.kind="scalar",e.result="",s=o=e.position,a=!1;p!==0;){if(p===58){if(i=e.input.charCodeAt(e.position+1),Et(i)||r&&si(i))break}else if(p===35){if(n=e.input.charCodeAt(e.position-1),Et(n))break}else{if(e.position===e.lineStart&&va(e)||r&&si(p))break;if(or(p))if(c=e.line,u=e.lineStart,f=e.lineIndent,Be(e,!1,-1),e.lineIndent>=t){a=!0,p=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=c,e.lineStart=u,e.lineIndent=f;break}}a&&(Xr(e,s,o,!1),Yf(e,e.line-c),s=o=e.position,a=!1),_n(p)||(o=e.position+1),p=e.input.charCodeAt(++e.position)}return Xr(e,s,o,!1),e.result?!0:(e.kind=l,e.result=h,!1)}function bk(e,t){var r,n,i;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(Xr(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,i=e.position;else return!0;else or(r)?(Xr(e,n,i,!0),Yf(e,Be(e,!1,t)),n=i=e.position):e.position===e.lineStart&&va(e)?ee(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);ee(e,"unexpected end of the stream within a single quoted scalar")}function Ck(e,t){var r,n,i,s,o,a;if(a=e.input.charCodeAt(e.position),a!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(a=e.input.charCodeAt(e.position))!==0;){if(a===34)return Xr(e,r,e.position,!0),e.position++,!0;if(a===92){if(Xr(e,r,e.position,!0),a=e.input.charCodeAt(++e.position),or(a))Be(e,!1,t);else if(a<256&&xv[a])e.result+=Ov[a],e.position++;else if((o=vk(a))>0){for(i=o,s=0;i>0;i--)a=e.input.charCodeAt(++e.position),(o=yk(a))>=0?s=(s<<4)+o:ee(e,"expected hexadecimal character");e.result+=Ak(s),e.position++}else ee(e,"unknown escape sequence");r=n=e.position}else or(a)?(Xr(e,r,n,!0),Yf(e,Be(e,!1,t)),r=n=e.position):e.position===e.lineStart&&va(e)?ee(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}ee(e,"unexpected end of the stream within a double quoted scalar")}function xk(e,t){var r=!0,n,i,s,o=e.tag,a,c=e.anchor,u,f,l,h,p,d=Object.create(null),g,E,x,b;if(b=e.input.charCodeAt(e.position),b===91)f=93,p=!1,a=[];else if(b===123)f=125,p=!0,a={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),b=e.input.charCodeAt(++e.position);b!==0;){if(Be(e,!0,t),b=e.input.charCodeAt(e.position),b===f)return e.position++,e.tag=o,e.anchor=c,e.kind=p?"mapping":"sequence",e.result=a,!0;r?b===44&&ee(e,"expected the node content, but found ','"):ee(e,"missed comma between flow collection entries"),E=g=x=null,l=h=!1,b===63&&(u=e.input.charCodeAt(e.position+1),Et(u)&&(l=h=!0,e.position++,Be(e,!0,t))),n=e.line,i=e.lineStart,s=e.position,ai(e,t,ma,!1,!0),E=e.tag,g=e.result,Be(e,!0,t),b=e.input.charCodeAt(e.position),(h||e.line===n)&&b===58&&(l=!0,b=e.input.charCodeAt(++e.position),Be(e,!0,t),ai(e,t,ma,!1,!0),x=e.result),p?oi(e,a,d,E,g,x,n,i,s):l?a.push(oi(e,null,d,E,g,x,n,i,s)):a.push(g),Be(e,!0,t),b=e.input.charCodeAt(e.position),b===44?(r=!0,b=e.input.charCodeAt(++e.position)):r=!1}ee(e,"unexpected end of the stream within a flow collection")}function Ok(e,t){var r,n,i=Wf,s=!1,o=!1,a=t,c=0,u=!1,f,l;if(l=e.input.charCodeAt(e.position),l===124)n=!1;else if(l===62)n=!0;else return!1;for(e.kind="scalar",e.result="";l!==0;)if(l=e.input.charCodeAt(++e.position),l===43||l===45)Wf===i?i=l===43?dv:pk:ee(e,"repeat of a chomping mode identifier");else if((f=Ek(l))>=0)f===0?ee(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?ee(e,"repeat of an indentation width identifier"):(a=t+f-1,o=!0);else break;if(_n(l)){do l=e.input.charCodeAt(++e.position);while(_n(l));if(l===35)do l=e.input.charCodeAt(++e.position);while(!or(l)&&l!==0)}for(;l!==0;){for(zf(e),e.lineIndent=0,l=e.input.charCodeAt(e.position);(!o||e.lineIndent<a)&&l===32;)e.lineIndent++,l=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>a&&(a=e.lineIndent),or(l)){c++;continue}if(e.lineIndent<a){i===dv?e.result+=On.repeat(`
12
+ `,s?1+c:c):i===Wf&&s&&(e.result+=`
13
+ `);break}for(n?_n(l)?(u=!0,e.result+=On.repeat(`
14
+ `,s?1+c:c)):u?(u=!1,e.result+=On.repeat(`
15
+ `,c+1)):c===0?s&&(e.result+=" "):e.result+=On.repeat(`
16
+ `,c):e.result+=On.repeat(`
17
+ `,s?1+c:c),s=!0,o=!0,c=0,r=e.position;!or(l)&&l!==0;)l=e.input.charCodeAt(++e.position);Xr(e,r,e.position,!1)}return!0}function Ev(e,t){var r,n=e.tag,i=e.anchor,s=[],o,a=!1,c;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),c=e.input.charCodeAt(e.position);c!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,ee(e,"tab characters must not be used in indentation")),!(c!==45||(o=e.input.charCodeAt(e.position+1),!Et(o))));){if(a=!0,e.position++,Be(e,!0,-1)&&e.lineIndent<=t){s.push(null),c=e.input.charCodeAt(e.position);continue}if(r=e.line,ai(e,t,Sv,!1,!0),s.push(e.result),Be(e,!0,-1),c=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&c!==0)ee(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return a?(e.tag=n,e.anchor=i,e.kind="sequence",e.result=s,!0):!1}function _k(e,t,r){var n,i,s,o,a,c,u=e.tag,f=e.anchor,l={},h=Object.create(null),p=null,d=null,g=null,E=!1,x=!1,b;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=l),b=e.input.charCodeAt(e.position);b!==0;){if(!E&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,ee(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),s=e.line,(b===63||b===58)&&Et(n))b===63?(E&&(oi(e,l,h,p,d,null,o,a,c),p=d=g=null),x=!0,E=!0,i=!0):E?(E=!1,i=!0):ee(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,b=n;else{if(o=e.line,a=e.lineStart,c=e.position,!ai(e,r,wv,!1,!0))break;if(e.line===s){for(b=e.input.charCodeAt(e.position);_n(b);)b=e.input.charCodeAt(++e.position);if(b===58)b=e.input.charCodeAt(++e.position),Et(b)||ee(e,"a whitespace character is expected after the key-value separator within a block mapping"),E&&(oi(e,l,h,p,d,null,o,a,c),p=d=g=null),x=!0,E=!1,i=!1,p=e.tag,d=e.result;else if(x)ee(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=u,e.anchor=f,!0}else if(x)ee(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=u,e.anchor=f,!0}if((e.line===s||e.lineIndent>t)&&(E&&(o=e.line,a=e.lineStart,c=e.position),ai(e,t,ga,!0,i)&&(E?d=e.result:g=e.result),E||(oi(e,l,h,p,d,g,o,a,c),p=d=g=null),Be(e,!0,-1),b=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>t)&&b!==0)ee(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return E&&oi(e,l,h,p,d,null,o,a,c),x&&(e.tag=u,e.anchor=f,e.kind="mapping",e.result=l),x}function Pk(e){var t,r=!1,n=!1,i,s,o;if(o=e.input.charCodeAt(e.position),o!==33)return!1;if(e.tag!==null&&ee(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),o===60?(r=!0,o=e.input.charCodeAt(++e.position)):o===33?(n=!0,i="!!",o=e.input.charCodeAt(++e.position)):i="!",t=e.position,r){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(s=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):ee(e,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!Et(o);)o===33&&(n?ee(e,"tag suffix cannot contain exclamation marks"):(i=e.input.slice(t-1,e.position+1),bv.test(i)||ee(e,"named tag handle cannot contain such characters"),n=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);s=e.input.slice(t,e.position),gk.test(s)&&ee(e,"tag suffix cannot contain flow indicator characters")}s&&!Cv.test(s)&&ee(e,"tag name cannot contain such characters: "+s);try{s=decodeURIComponent(s)}catch{ee(e,"tag name is malformed: "+s)}return r?e.tag=s:Jr.call(e.tagMap,i)?e.tag=e.tagMap[i]+s:i==="!"?e.tag="!"+s:i==="!!"?e.tag="tag:yaml.org,2002:"+s:ee(e,'undeclared tag handle "'+i+'"'),!0}function Rk(e){var t,r;if(r=e.input.charCodeAt(e.position),r!==38)return!1;for(e.anchor!==null&&ee(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!Et(r)&&!si(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&ee(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function Dk(e){var t,r,n;if(n=e.input.charCodeAt(e.position),n!==42)return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!Et(n)&&!si(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&ee(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),Jr.call(e.anchorMap,r)||ee(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],Be(e,!0,-1),!0}function ai(e,t,r,n,i){var s,o,a,c=1,u=!1,f=!1,l,h,p,d,g,E;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,s=o=a=ga===r||Sv===r,n&&Be(e,!0,-1)&&(u=!0,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)),c===1)for(;Pk(e)||Rk(e);)Be(e,!0,-1)?(u=!0,a=s,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)):a=!1;if(a&&(a=u||i),(c===1||ga===r)&&(ma===r||wv===r?g=t:g=t+1,E=e.position-e.lineStart,c===1?a&&(Ev(e,E)||_k(e,E,g))||xk(e,g)?f=!0:(o&&Ok(e,g)||bk(e,g)||Ck(e,g)?f=!0:Dk(e)?(f=!0,(e.tag!==null||e.anchor!==null)&&ee(e,"alias node should not have any properties")):Sk(e,g,ma===r)&&(f=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):c===0&&(f=a&&Ev(e,E))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&ee(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),l=0,h=e.implicitTypes.length;l<h;l+=1)if(d=e.implicitTypes[l],d.resolve(e.result)){e.result=d.construct(e.result),e.tag=d.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(Jr.call(e.typeMap[e.kind||"fallback"],e.tag))d=e.typeMap[e.kind||"fallback"][e.tag];else for(d=null,p=e.typeMap.multi[e.kind||"fallback"],l=0,h=p.length;l<h;l+=1)if(e.tag.slice(0,p[l].tag.length)===p[l].tag){d=p[l];break}d||ee(e,"unknown tag !<"+e.tag+">"),e.result!==null&&d.kind!==e.kind&&ee(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+d.kind+'", not "'+e.kind+'"'),d.resolve(e.result,e.tag)?(e.result=d.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):ee(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||f}function Fk(e){var t=e.position,r,n,i,s=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(Be(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(s=!0,o=e.input.charCodeAt(++e.position),r=e.position;o!==0&&!Et(o);)o=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),i=[],n.length<1&&ee(e,"directive name must not be less than one character in length");o!==0;){for(;_n(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!or(o));break}if(or(o))break;for(r=e.position;o!==0&&!Et(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(r,e.position))}o!==0&&zf(e),Jr.call(yv,n)?yv[n](e,n,i):ya(e,'unknown document directive "'+n+'"')}if(Be(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Be(e,!0,-1)):s&&ee(e,"directives end mark is expected"),ai(e,e.lineIndent-1,ga,!1,!0),Be(e,!0,-1),e.checkLineBreaks&&mk.test(e.input.slice(t,e.position))&&ya(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&va(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Be(e,!0,-1));return}if(e.position<e.length-1)ee(e,"end of the stream or a document separator is expected");else return}function Pv(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
18
+ `),e.charCodeAt(0)===65279&&(e=e.slice(1)));var r=new wk(e,t),n=e.indexOf("\0");for(n!==-1&&(r.position=n,ee(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)Fk(r);return r.documents}function Lk(e,t,r){t!==null&&typeof t=="object"&&typeof r>"u"&&(r=t,t=null);var n=Pv(e,r);if(typeof t!="function")return n;for(var i=0,s=n.length;i<s;i+=1)t(n[i])}function Tk(e,t){var r=Pv(e,t);if(r.length!==0){if(r.length===1)return r[0];throw new Av("expected a single document in the stream, but found more")}}Vf.exports.loadAll=Lk;Vf.exports.load=Tk});var Xv=_((l7,Kv)=>{"use strict";var wa=ni(),ls=ii(),kk=da(),Bv=Object.prototype.toString,Mv=Object.prototype.hasOwnProperty,Zf=65279,Nk=9,as=10,Ik=13,$k=32,Bk=33,Mk=34,Kf=35,jk=37,qk=38,Gk=39,Uk=42,jv=44,Hk=45,Ea=58,Wk=61,zk=62,Yk=63,Vk=64,qv=91,Gv=93,Kk=96,Uv=123,Xk=124,Hv=125,rt={};rt[0]="\\0";rt[7]="\\a";rt[8]="\\b";rt[9]="\\t";rt[10]="\\n";rt[11]="\\v";rt[12]="\\f";rt[13]="\\r";rt[27]="\\e";rt[34]='\\"';rt[92]="\\\\";rt[133]="\\N";rt[160]="\\_";rt[8232]="\\L";rt[8233]="\\P";var Jk=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],Qk=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function Zk(e,t){var r,n,i,s,o,a,c;if(t===null)return{};for(r={},n=Object.keys(t),i=0,s=n.length;i<s;i+=1)o=n[i],a=String(t[o]),o.slice(0,2)==="!!"&&(o="tag:yaml.org,2002:"+o.slice(2)),c=e.compiledTypeMap.fallback[o],c&&Mv.call(c.styleAliases,a)&&(a=c.styleAliases[a]),r[o]=a;return r}function eN(e){var t,r,n;if(t=e.toString(16).toUpperCase(),e<=255)r="x",n=2;else if(e<=65535)r="u",n=4;else if(e<=4294967295)r="U",n=8;else throw new ls("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+wa.repeat("0",n-t.length)+t}var tN=1,us=2;function rN(e){this.schema=e.schema||kk,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=wa.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=Zk(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType==='"'?us:tN,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer=="function"?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Dv(e,t){for(var r=wa.repeat(" ",t),n=0,i=-1,s="",o,a=e.length;n<a;)i=e.indexOf(`
19
19
  `,n),i===-1?(o=e.slice(n),n=a):(o=e.slice(n,i+1),n=i+1),o.length&&o!==`
20
- `&&(s+=r),s+=o;return s}function ml(e,t){return`
21
- `+bo.repeat(" ",e.indent*t)}function Pk(e,t){var r,n,i;for(r=0,n=e.implicitTypes.length;r<n;r+=1)if(i=e.implicitTypes[r],i.resolve(t))return!0;return!1}function xo(e){return e===fk||e===ck}function Mi(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==El||65536<=e&&e<=1114111}function gm(e){return Mi(e)&&e!==El&&e!==lk&&e!==Bi}function mm(e,t,r){var n=gm(e),i=n&&!xo(e);return(r?n:n&&e!==_m&&e!==xm&&e!==bm&&e!==Om&&e!==Rm)&&e!==gl&&!(t===_o&&!i)||gm(t)&&!xo(t)&&e===gl||t===_o&&i}function Dk(e){return Mi(e)&&e!==El&&!xo(e)&&e!==vk&&e!==Sk&&e!==_o&&e!==_m&&e!==xm&&e!==bm&&e!==Om&&e!==Rm&&e!==gl&&e!==gk&&e!==yk&&e!==hk&&e!==_k&&e!==Ek&&e!==Ak&&e!==mk&&e!==dk&&e!==pk&&e!==wk&&e!==Ck}function Tk(e){return!xo(e)&&e!==_o}function Ni(e,t){var r=e.charCodeAt(t),n;return r>=55296&&r<=56319&&t+1<e.length&&(n=e.charCodeAt(t+1),n>=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}function Fm(e){var t=/^\n* /;return t.test(e)}var km=1,yl=2,Pm=3,Dm=4,Mn=5;function Ik(e,t,r,n,i,s,o,a){var u,c=0,f=null,l=!1,h=!1,d=n!==-1,g=-1,S=Dk(Ni(e,0))&&Tk(Ni(e,e.length-1));if(t||o)for(u=0;u<e.length;c>=65536?u+=2:u++){if(c=Ni(e,u),!Mi(c))return Mn;S=S&&mm(c,f,a),f=c}else{for(u=0;u<e.length;c>=65536?u+=2:u++){if(c=Ni(e,u),c===Bi)l=!0,d&&(h=h||u-g-1>n&&e[g+1]!==" ",g=u);else if(!Mi(c))return Mn;S=S&&mm(c,f,a),f=c}h=h||d&&u-g-1>n&&e[g+1]!==" "}return!l&&!h?S&&!o&&!i(e)?km:s===$i?Mn:yl:r>9&&Fm(e)?Mn:o?s===$i?Mn:yl:h?Dm:Pm}function Lk(e,t,r,n,i){e.dump=function(){if(t.length===0)return e.quotingType===$i?'""':"''";if(!e.noCompatMode&&(xk.indexOf(t)!==-1||bk.test(t)))return e.quotingType===$i?'"'+t+'"':"'"+t+"'";var s=e.indent*Math.max(1,r),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s),a=n||e.flowLevel>-1&&r>=e.flowLevel;function u(c){return Pk(e,c)}switch(Ik(t,a,e.indent,o,u,e.quotingType,e.forceQuotes&&!n,i)){case km:return t;case yl:return"'"+t.replace(/'/g,"''")+"'";case Pm:return"|"+ym(t,e.indent)+vm(pm(t,s));case Dm:return">"+ym(t,e.indent)+vm(pm(Nk(t,o),s));case Mn:return'"'+Bk(t,o)+'"';default:throw new ji("impossible error: invalid scalar style")}}()}function ym(e,t){var r=Fm(e)?String(t):"",n=e[e.length-1]===`
20
+ `&&(s+=r),s+=o;return s}function Xf(e,t){return`
21
+ `+wa.repeat(" ",e.indent*t)}function nN(e,t){var r,n,i;for(r=0,n=e.implicitTypes.length;r<n;r+=1)if(i=e.implicitTypes[r],i.resolve(t))return!0;return!1}function Aa(e){return e===$k||e===Nk}function cs(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==Zf||65536<=e&&e<=1114111}function Fv(e){return cs(e)&&e!==Zf&&e!==Ik&&e!==as}function Lv(e,t,r){var n=Fv(e),i=n&&!Aa(e);return(r?n:n&&e!==jv&&e!==qv&&e!==Gv&&e!==Uv&&e!==Hv)&&e!==Kf&&!(t===Ea&&!i)||Fv(t)&&!Aa(t)&&e===Kf||t===Ea&&i}function iN(e){return cs(e)&&e!==Zf&&!Aa(e)&&e!==Hk&&e!==Yk&&e!==Ea&&e!==jv&&e!==qv&&e!==Gv&&e!==Uv&&e!==Hv&&e!==Kf&&e!==qk&&e!==Uk&&e!==Bk&&e!==Xk&&e!==Wk&&e!==zk&&e!==Gk&&e!==Mk&&e!==jk&&e!==Vk&&e!==Kk}function sN(e){return!Aa(e)&&e!==Ea}function os(e,t){var r=e.charCodeAt(t),n;return r>=55296&&r<=56319&&t+1<e.length&&(n=e.charCodeAt(t+1),n>=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}function Wv(e){var t=/^\n* /;return t.test(e)}var zv=1,Jf=2,Yv=3,Vv=4,ui=5;function oN(e,t,r,n,i,s,o,a){var c,u=0,f=null,l=!1,h=!1,p=n!==-1,d=-1,g=iN(os(e,0))&&sN(os(e,e.length-1));if(t||o)for(c=0;c<e.length;u>=65536?c+=2:c++){if(u=os(e,c),!cs(u))return ui;g=g&&Lv(u,f,a),f=u}else{for(c=0;c<e.length;u>=65536?c+=2:c++){if(u=os(e,c),u===as)l=!0,p&&(h=h||c-d-1>n&&e[d+1]!==" ",d=c);else if(!cs(u))return ui;g=g&&Lv(u,f,a),f=u}h=h||p&&c-d-1>n&&e[d+1]!==" "}return!l&&!h?g&&!o&&!i(e)?zv:s===us?ui:Jf:r>9&&Wv(e)?ui:o?s===us?ui:Jf:h?Vv:Yv}function aN(e,t,r,n,i){e.dump=function(){if(t.length===0)return e.quotingType===us?'""':"''";if(!e.noCompatMode&&(Jk.indexOf(t)!==-1||Qk.test(t)))return e.quotingType===us?'"'+t+'"':"'"+t+"'";var s=e.indent*Math.max(1,r),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s),a=n||e.flowLevel>-1&&r>=e.flowLevel;function c(u){return nN(e,u)}switch(oN(t,a,e.indent,o,c,e.quotingType,e.forceQuotes&&!n,i)){case zv:return t;case Jf:return"'"+t.replace(/'/g,"''")+"'";case Yv:return"|"+Tv(t,e.indent)+kv(Dv(t,s));case Vv:return">"+Tv(t,e.indent)+kv(Dv(uN(t,o),s));case ui:return'"'+cN(t,o)+'"';default:throw new ls("impossible error: invalid scalar style")}}()}function Tv(e,t){var r=Wv(e)?String(t):"",n=e[e.length-1]===`
22
22
  `,i=n&&(e[e.length-2]===`
23
23
  `||e===`
24
24
  `),s=i?"+":n?"":"-";return r+s+`
25
- `}function vm(e){return e[e.length-1]===`
26
- `?e.slice(0,-1):e}function Nk(e,t){for(var r=/(\n+)([^\n]*)/g,n=function(){var c=e.indexOf(`
27
- `);return c=c!==-1?c:e.length,r.lastIndex=c,Em(e.slice(0,c),t)}(),i=e[0]===`
28
- `||e[0]===" ",s,o;o=r.exec(e);){var a=o[1],u=o[2];s=u[0]===" ",n+=a+(!i&&!s&&u!==""?`
29
- `:"")+Em(u,t),i=s}return n}function Em(e,t){if(e===""||e[0]===" ")return e;for(var r=/ [^ ]/g,n,i=0,s,o=0,a=0,u="";n=r.exec(e);)a=n.index,a-i>t&&(s=o>i?o:a,u+=`
30
- `+e.slice(i,s),i=s+1),o=a;return u+=`
31
- `,e.length-i>t&&o>i?u+=e.slice(i,o)+`
32
- `+e.slice(o+1):u+=e.slice(i),u.slice(1)}function Bk(e){for(var t="",r=0,n,i=0;i<e.length;r>=65536?i+=2:i++)r=Ni(e,i),n=Ye[r],!n&&Mi(r)?(t+=e[i],r>=65536&&(t+=e[i+1])):t+=n||Rk(r);return t}function $k(e,t,r){var n="",i=e.tag,s,o,a;for(s=0,o=r.length;s<o;s+=1)a=r[s],e.replacer&&(a=e.replacer.call(r,String(s),a)),(rr(e,t,a,!1,!1)||typeof a>"u"&&rr(e,t,null,!1,!1))&&(n!==""&&(n+=","+(e.condenseFlow?"":" ")),n+=e.dump);e.tag=i,e.dump="["+n+"]"}function Am(e,t,r,n){var i="",s=e.tag,o,a,u;for(o=0,a=r.length;o<a;o+=1)u=r[o],e.replacer&&(u=e.replacer.call(r,String(o),u)),(rr(e,t+1,u,!0,!0,!1,!0)||typeof u>"u"&&rr(e,t+1,null,!0,!0,!1,!0))&&((!n||i!=="")&&(i+=ml(e,t)),e.dump&&Bi===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump);e.tag=s,e.dump=i||"[]"}function Mk(e,t,r){var n="",i=e.tag,s=Object.keys(r),o,a,u,c,f;for(o=0,a=s.length;o<a;o+=1)f="",n!==""&&(f+=", "),e.condenseFlow&&(f+='"'),u=s[o],c=r[u],e.replacer&&(c=e.replacer.call(r,u,c)),rr(e,t,u,!1,!1)&&(e.dump.length>1024&&(f+="? "),f+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),rr(e,t,c,!1,!1)&&(f+=e.dump,n+=f));e.tag=i,e.dump="{"+n+"}"}function jk(e,t,r,n){var i="",s=e.tag,o=Object.keys(r),a,u,c,f,l,h;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys=="function")o.sort(e.sortKeys);else if(e.sortKeys)throw new ji("sortKeys must be a boolean or a function");for(a=0,u=o.length;a<u;a+=1)h="",(!n||i!=="")&&(h+=ml(e,t)),c=o[a],f=r[c],e.replacer&&(f=e.replacer.call(r,c,f)),rr(e,t+1,c,!0,!0,!0)&&(l=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,l&&(e.dump&&Bi===e.dump.charCodeAt(0)?h+="?":h+="? "),h+=e.dump,l&&(h+=ml(e,t)),rr(e,t+1,f,!0,l)&&(e.dump&&Bi===e.dump.charCodeAt(0)?h+=":":h+=": ",h+=e.dump,i+=h));e.tag=s,e.dump=i||"{}"}function Sm(e,t,r){var n,i,s,o,a,u;for(i=r?e.explicitTypes:e.implicitTypes,s=0,o=i.length;s<o;s+=1)if(a=i[s],(a.instanceOf||a.predicate)&&(!a.instanceOf||typeof t=="object"&&t instanceof a.instanceOf)&&(!a.predicate||a.predicate(t))){if(r?a.multi&&a.representName?e.tag=a.representName(t):e.tag=a.tag:e.tag="?",a.represent){if(u=e.styleMap[a.tag]||a.defaultStyle,wm.call(a.represent)==="[object Function]")n=a.represent(t,u);else if(Cm.call(a.represent,u))n=a.represent[u](t,u);else throw new ji("!<"+a.tag+'> tag resolver accepts not "'+u+'" style');e.dump=n}return!0}return!1}function rr(e,t,r,n,i,s,o){e.tag=null,e.dump=r,Sm(e,r,!1)||Sm(e,r,!0);var a=wm.call(e.dump),u=n,c;n&&(n=e.flowLevel<0||e.flowLevel>t);var f=a==="[object Object]"||a==="[object Array]",l,h;if(f&&(l=e.duplicates.indexOf(r),h=l!==-1),(e.tag!==null&&e.tag!=="?"||h||e.indent!==2&&t>0)&&(i=!1),h&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(f&&h&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),a==="[object Object]")n&&Object.keys(e.dump).length!==0?(jk(e,t,e.dump,i),h&&(e.dump="&ref_"+l+e.dump)):(Mk(e,t,e.dump),h&&(e.dump="&ref_"+l+" "+e.dump));else if(a==="[object Array]")n&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?Am(e,t-1,e.dump,i):Am(e,t,e.dump,i),h&&(e.dump="&ref_"+l+e.dump)):($k(e,t,e.dump),h&&(e.dump="&ref_"+l+" "+e.dump));else if(a==="[object String]")e.tag!=="?"&&Lk(e,e.dump,t,s,u);else{if(a==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new ji("unacceptable kind of an object to dump "+a)}e.tag!==null&&e.tag!=="?"&&(c=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?c="!"+c:c.slice(0,18)==="tag:yaml.org,2002:"?c="!!"+c.slice(18):c="!<"+c+">",e.dump=c+" "+e.dump)}return!0}function qk(e,t){var r=[],n=[],i,s;for(vl(e,r,n),i=0,s=n.length;i<s;i+=1)t.duplicates.push(r[n[i]]);t.usedDuplicates=new Array(s)}function vl(e,t,r){var n,i,s;if(e!==null&&typeof e=="object")if(i=t.indexOf(e),i!==-1)r.indexOf(i)===-1&&r.push(i);else if(t.push(e),Array.isArray(e))for(i=0,s=e.length;i<s;i+=1)vl(e[i],t,r);else for(n=Object.keys(e),i=0,s=n.length;i<s;i+=1)vl(e[n[i]],t,r)}function Hk(e,t){t=t||{};var r=new kk(t);r.noRefs||qk(e,r);var n=e;return r.replacer&&(n=r.replacer.call({"":n},"",n)),rr(r,0,n,!0,!0)?r.dump+`
33
- `:""}Tm.exports.dump=Hk});var Nm=F((f6,et)=>{"use strict";var Lm=dm(),Gk=Im();function Al(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}et.exports.Type=We();et.exports.Schema=zc();et.exports.FAILSAFE_SCHEMA=Qc();et.exports.JSON_SCHEMA=rl();et.exports.CORE_SCHEMA=nl();et.exports.DEFAULT_SCHEMA=Eo();et.exports.load=Lm.load;et.exports.loadAll=Lm.loadAll;et.exports.dump=Gk.dump;et.exports.YAMLException=Ln();et.exports.types={binary:al(),float:tl(),map:Xc(),null:Jc(),pairs:cl(),set:ll(),timestamp:il(),bool:Zc(),int:el(),merge:sl(),omap:ul(),seq:Kc(),str:Vc()};et.exports.safeLoad=Al("safeLoad","load");et.exports.safeLoadAll=Al("safeLoadAll","loadAll");et.exports.safeDump=Al("safeDump","dump")});var Sl=F(jn=>{"use strict";var Uk=jn&&jn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(jn,"__esModule",{value:!0});jn.readYaml=void 0;var Wk=Uk(M("fs"));function Yk(e){let t=Nm(),r=Wk.default.readFileSync(e,"utf8");return t.load(r)}jn.readYaml=Yk});var Oo=F(kr=>{"use strict";var Bm=kr&&kr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(kr,"__esModule",{value:!0});kr.getPnpmWorkspaces=kr.getPnpmWorkspaceRoot=void 0;var $m=Bm(M("path")),zk=Bm(Cn()),Vk=yo(),Kk=Di(),Xk=Sl();function Mm(e){let t=zk.default.sync("pnpm-workspace.yaml",{cwd:e});if(!t)throw new Error("Could not find pnpm workspaces root");return $m.default.dirname(t)}kr.getPnpmWorkspaceRoot=Mm;function Qk(e){try{let t=Mm(e),r=$m.default.join(t,"pnpm-workspace.yaml"),n=(0,Xk.readYaml)(r),i=(0,Vk.getPackagePaths)(t,n.packages);return(0,Kk.getWorkspacePackageInfo)(i)}catch{return[]}}kr.getPnpmWorkspaces=Qk});var wl=F((p6,Wt)=>{var jm=Wt.exports;Wt.exports.isWhiteSpace=function(t){return t===" "||t==="\xA0"||t==="\uFEFF"||t>=" "&&t<="\r"||t==="\u1680"||t>="\u2000"&&t<="\u200A"||t==="\u2028"||t==="\u2029"||t==="\u202F"||t==="\u205F"||t==="\u3000"};Wt.exports.isWhiteSpaceJSON=function(t){return t===" "||t===" "||t===`
34
- `||t==="\r"};Wt.exports.isLineTerminator=function(t){return t===`
35
- `||t==="\r"||t==="\u2028"||t==="\u2029"};Wt.exports.isLineTerminatorJSON=function(t){return t===`
36
- `||t==="\r"};Wt.exports.isIdentifierStart=function(t){return t==="$"||t==="_"||t>="A"&&t<="Z"||t>="a"&&t<="z"||t>="\x80"&&jm.NonAsciiIdentifierStart.test(t)};Wt.exports.isIdentifierPart=function(t){return t==="$"||t==="_"||t>="A"&&t<="Z"||t>="a"&&t<="z"||t>="0"&&t<="9"||t>="\x80"&&jm.NonAsciiIdentifierPart.test(t)};Wt.exports.NonAsciiIdentifierStart=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/;Wt.exports.NonAsciiIdentifierPart=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191C\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE26\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/});var Hi=F((g6,Ro)=>{var nr=wl();function qn(e){return e>="0"&&e<="9"||e>="A"&&e<="F"||e>="a"&&e<="f"}function Hn(e){return e>="0"&&e<="7"}function qi(e){return e>="0"&&e<="9"}var qm={"'":"'",'"':'"',"\\":"\\",b:"\b",f:"\f",n:`
37
- `,r:"\r",t:" ",v:"\v","/":"/"};function Jk(e,t,r,n,i,s){var o=t+" at "+(n+1)+":"+(i+1),a=r-i-1,u="",c="",f=s?nr.isLineTerminator:nr.isLineTerminatorJSON;for(a<r-70&&(a=r-70);;){var l=e[++a];if(f(l)||a===e.length){r>=a&&(c+="^");break}if(u+=l,r===a?c+="^":r>a&&(c+=e[a]===" "?" ":" "),u.length>78)break}return o+`
38
- `+u+`
39
- `+c}function Zk(e,t){var r=!1,n=!1;t.legacy||t.mode==="json"||(t.mode==="cjson"?n=!0:(t.mode,r=!0));var i=r?nr.isLineTerminator:nr.isLineTerminatorJSON,s=r?nr.isWhiteSpace:nr.isWhiteSpaceJSON,o=e.length,a=0,u=0,c=0,f=[],l=function(){},h=function(x){return x};t._tokenize&&function(){var x=null;l=function(){if(x!==null)throw Error("internal error, token overlap");x=c},h=function(p,m){if(x!=c){var E={raw:e.substr(x,c-x),type:m,stack:f.slice(0)};p!==void 0&&(E.value=p),t._tokenize.call(null,E)}return x=null,p}}();function d(x){var p=c-u;if(!x)if(c<o){var m="'"+JSON.stringify(e[c]).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";x||(x="Unexpected token "+m)}else x||(x="Unexpected end of input");var E=SyntaxError(Jk(e,x,c,a,p,r));throw E.row=a+1,E.column=p+1,E}function g(x){x==="\r"&&e[c]===`
40
- `&&c++,u=c,a++}function S(){for(var x;c<o;){l();var p=e[c++];return p==='"'||p==="'"&&r?h(O(p),"literal"):p==="{"?(h(void 0,"separator"),D()):p==="["?(h(void 0,"separator"),A()):p==="-"||p==="."||qi(p)||r&&(p==="+"||p==="I"||p==="N")?h(R(),"literal"):p==="n"?(N("null"),h(null,"literal")):p==="t"?(N("true"),h(!0,"literal")):p==="f"?(N("false"),h(!1,"literal")):(c--,h(void 0))}}function w(){for(var x;c<o;){l();var p=e[c++];if(p==='"'||p==="'"&&r)return h(O(p),"key");if(p==="{")return h(void 0,"separator"),D();if(p==="[")return h(void 0,"separator"),A();if(p==="."||qi(p))return h(R(!0),"key");if(r&&nr.isIdentifierStart(p)||p==="\\"&&e[c]==="u"){var m=c-1,x=b();return x===void 0?(c=m,h(void 0)):h(x,"key")}else return c--,h(void 0)}}function k(){for(l();c<o;){var x=e[c++];if(i(x))c--,h(void 0,"whitespace"),l(),c++,g(x),h(void 0,"newline"),l();else if(!s(x))if(x==="/"&&(r||n)&&(e[c]==="/"||e[c]==="*"))c--,h(void 0,"whitespace"),l(),c++,_(e[c++]==="*"),h(void 0,"comment"),l();else{c--;break}}return h(void 0,"whitespace")}function _(x){for(;c<o;){var p=e[c++];if(i(p)){if(!x){c--;return}g(p)}else if(p==="*"&&x&&e[c]==="/"){c++;return}}x&&d("Unclosed multiline comment")}function N(x){for(var p=c,m=x.length,E=1;E<m;E++)(c>=o||x[E]!=e[c])&&(c=p-1,d()),c++}function D(){for(var x=t.null_prototype?Object.create(null):{},p={},m=!1;c<o;){k();var E=w();k(),l();var C=e[c++];if(h(void 0,"separator"),C==="}"&&E===void 0)return!r&&m&&(c--,d("Trailing comma in object")),x;if(C===":"&&E!==void 0){k(),f.push(E);var y=S();f.pop(),y===void 0&&d("No value found for key "+E),typeof E!="string"&&(!r||typeof E!="number")&&d("Wrong key type: "+E),(E in p||p[E]!=null)&&t.reserved_keys!=="replace"?t.reserved_keys==="throw"&&d("Reserved key: "+E):(typeof t.reviver=="function"&&(y=t.reviver.call(null,E,y)),y!==void 0&&(m=!0,Object.defineProperty(x,E,{value:y,enumerable:!0,configurable:!0,writable:!0}))),k(),l();var C=e[c++];if(h(void 0,"separator"),C===",")continue;if(C==="}")return x;d()}else c--,d()}d()}function A(){for(var x=[];c<o;){k(),f.push(x.length);var p=S();f.pop(),k(),l();var m=e[c++];if(h(void 0,"separator"),p!==void 0&&(typeof t.reviver=="function"&&(p=t.reviver.call(null,String(x.length),p)),p===void 0?(x.length++,p=!0):x.push(p)),m===",")p===void 0&&d("Elisions are not supported");else{if(m==="]")return!r&&p===void 0&&x.length&&(c--,d("Trailing comma in array")),x;c--,d()}}}function R(){c--;var x=c,p=e[c++],m,E=function(P){var I=e.substr(x,c-x);if(P)var L=parseInt(I.replace(/^0o?/,""),8);else var L=Number(I);if(Number.isNaN(L))c--,d('Bad numeric literal - "'+e.substr(x,c-x+1)+'"');else if(!r&&!I.match(/^-?(0|[1-9][0-9]*)(\.[0-9]+)?(e[+-]?[0-9]+)?$/i))c--,d('Non-json numeric literal - "'+e.substr(x,c-x+1)+'"');else return L};if((p==="-"||p==="+"&&r)&&(p=e[c++]),p==="N"&&r)return N("NaN"),NaN;if(p==="I"&&r)return N("Infinity"),E();if(p>="1"&&p<="9"){for(;c<o&&qi(e[c]);)c++;p=e[c++]}if(p==="0"){p=e[c++];var C=p==="o"||p==="O"||Hn(p),y=p==="x"||p==="X";if(r&&(C||y)){for(;c<o&&(y?qn:Hn)(e[c]);)c++;var v=1;return e[x]==="-"?(v=-1,x++):e[x]==="+"&&x++,v*E(C)}}if(p==="."){for(;c<o&&qi(e[c]);)c++;p=e[c++]}if(p==="e"||p==="E"){for(p=e[c++],(p==="-"||p==="+")&&c++;c<o&&qi(e[c]);)c++;p=e[c++]}return c--,E()}function b(){c--;for(var x="";c<o;){var p=e[c++];if(p==="\\"&&e[c]==="u"&&qn(e[c+1])&&qn(e[c+2])&&qn(e[c+3])&&qn(e[c+4])&&(p=String.fromCharCode(parseInt(e.substr(c+1,4),16)),c+=5),x.length)if(nr.isIdentifierPart(p))x+=p;else return c--,x;else if(nr.isIdentifierStart(p))x+=p;else return}d()}function O(x){for(var p="";c<o;){var m=e[c++];if(m===x)return p;if(m==="\\")if(c>=o&&d(),m=e[c++],qm[m]&&(r||m!="v"&&m!="'"))p+=qm[m];else if(r&&i(m))g(m);else if(m==="u"||m==="x"&&r){for(var E=m==="u"?4:2,C=0;C<E;C++)c>=o&&d(),qn(e[c])||d("Bad escape sequence"),c++;p+=String.fromCharCode(parseInt(e.substr(c-E,E),16))}else if(r&&Hn(m)){if(m<"4"&&Hn(e[c])&&Hn(e[c+1]))var y=3;else if(Hn(e[c]))var y=2;else var y=1;c+=y-1,p+=String.fromCharCode(parseInt(e.substr(c-y,y),8))}else r?p+=m:(c--,d());else i(m)?d():(!r&&m.charCodeAt(0)<32&&(c--,d("Unexpected control character")),p+=m)}d()}k();var T=S();if(T!==void 0||c<o){if(k(),c>=o)return typeof t.reviver=="function"&&(T=t.reviver.call(null,"",T)),T;d()}else d(c?"No data, only a whitespace":"No data, empty input")}Ro.exports.parse=function(t,r){if(typeof r=="function"&&(r={reviver:r}),t!==void 0){typeof t!="string"&&(t=String(t)),r==null&&(r={}),r.reserved_keys==null&&(r.reserved_keys="ignore"),(r.reserved_keys==="throw"||r.reserved_keys==="ignore")&&r.null_prototype==null&&(r.null_prototype=!0);try{return Zk(t,r)}catch(i){if(i instanceof SyntaxError&&i.row!=null&&i.column!=null){var n=i;i=SyntaxError(n.message),i.column=n.column,i.row=n.row}throw i}}};Ro.exports.tokenize=function(t,r){r==null&&(r={}),r._tokenize=function(i){r._addstack&&i.stack.unshift.apply(i.stack,r._addstack),n.push(i)};var n=[];return n.data=Ro.exports.parse(t,r),n}});var xl=F((m6,Gm)=>{var Cl=wl();(function(){}).name||Object.defineProperty(function(){}.constructor.prototype,"name",{get:function(){var e=this.toString().match(/^\s*function\s*(\S*)\s*\(/)[1];return Object.defineProperty(this,"name",{value:e}),e}});var eP={0:"\\0",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",92:"\\\\"},tP=Object.prototype.hasOwnProperty,Hm=/[\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/;function _l(e,t,r,n){var i=t.mode==="json5"||!t.mode;function s(l,h){var d=t._prefix?t._prefix:"";if(!t.indent)return d+l;for(var g="",S=r+(h||0),w=0;w<S;w++)g+=t.indent;return d+g+l+(h?`
41
- `:"")}function o(l){if(t.quote_keys)return a(l);if(String(Number(l))==l&&l[0]!="-")return l;if(l=="")return a(l);for(var h="",d=0;d<l.length;d++){if(d>0){if(!Cl.isIdentifierPart(l[d]))return a(l)}else if(!Cl.isIdentifierStart(l[d]))return a(l);var g=l.charCodeAt(d);t.ascii?g<128?h+=l[d]:h+="\\u"+("0000"+g.toString(16)).slice(-4):Hm.exec(l[d])?h+="\\u"+("0000"+g.toString(16)).slice(-4):h+=l[d]}return h}function a(l){for(var h=t.quote,d=h.charCodeAt(0),g="",S=0;S<l.length;S++){var w=l.charCodeAt(S);if(w<16)w===0&&i?g+="\\0":w>=8&&w<=13&&(i||w!==11)?g+=eP[w]:i?g+="\\x0"+w.toString(16):g+="\\u000"+w.toString(16);else if(w<32)i?g+="\\x"+w.toString(16):g+="\\u00"+w.toString(16);else if(w>=32&&w<128)w===47&&S&&l[S-1]==="<"?g+="\\"+l[S]:w===92?g+="\\\\":w===d?g+="\\"+h:g+=l[S];else if(t.ascii||Cl.isLineTerminator(l[S])||Hm.exec(l[S]))if(w<256)i?g+="\\x"+w.toString(16):g+="\\u00"+w.toString(16);else if(w<4096)g+="\\u0"+w.toString(16);else if(w<65536)g+="\\u"+w.toString(16);else throw Error("weird codepoint");else g+=l[S]}return h+g+h}function u(){if(e===null)return"null";var l=[],h=0,d;if(Array.isArray(e)){d="[]";for(var g=0;g<e.length;g++){var S=_l(e[g],t,r+1,String(g));S===void 0&&(S="null"),h+=S.length+2,l.push(S+",")}}else{d="{}";var w=function(N){var D=_l(e[N],t,r+1,N);D!==void 0&&(D=o(N)+":"+(t.indent?" ":"")+D+",",h+=D.length+1,l.push(D))};if(Array.isArray(t.replacer))for(var g=0;g<t.replacer.length;g++)tP.call(e,t.replacer[g])&&w(t.replacer[g]);else{var k=Object.keys(e);t.sort_keys&&(k=k.sort(typeof t.sort_keys=="function"?t.sort_keys:void 0)),k.forEach(w)}}if(h-=2,t.indent&&(h>t._splitMax-r*t.indent.length||h>t._splitMin)){t.no_trailing_comma&&l.length&&(l[l.length-1]=l[l.length-1].substring(0,l[l.length-1].length-1));var _=l.map(function(N){return s(N,1)}).join("");return d[0]+(t.indent?`
42
- `:"")+_+s(d[1])}else{l.length&&(l[l.length-1]=l[l.length-1].substring(0,l[l.length-1].length-1));var _=l.join(t.indent?" ":"");return d[0]+_+d[1]}}function c(l){switch(typeof t.replacer=="function"&&(l=t.replacer.call(null,n,l)),typeof l){case"string":return a(l);case"number":return l===0&&1/l<0?"-0":!i&&!Number.isFinite(l)?"null":l.toString();case"boolean":return l.toString();case"undefined":return;case"function":default:return JSON.stringify(l)}}if(t._stringify_key)return o(e);if(typeof e=="object"){if(e===null)return"null";var f;return(typeof(f=e.toJSON5)=="function"&&t.mode!=="json"||typeof(f=e.toJSON)=="function")&&(e=f.call(e,n)),e===null?"null":typeof e!="object"?c(e):e.constructor===Number||e.constructor===Boolean||e.constructor===String?(e=e.valueOf(),c(e)):e.constructor===Date?c(e.toISOString()):typeof t.replacer=="function"&&(e=t.replacer.call(null,n,e),typeof e!="object")?c(e):u(e)}else return c(e)}Gm.exports.stringify=function(t,r,n){return typeof r=="function"||Array.isArray(r)?r={replacer:r}:typeof r=="object"&&r!==null||(r={}),n!=null&&(r.indent=n),r.indent==null&&(r.indent=" "),r.quote==null&&(r.quote="'"),r.ascii==null&&(r.ascii=!1),r.mode==null&&(r.mode="json5"),(r.mode==="json"||r.mode==="cjson")&&(r.quote='"',r.no_trailing_comma=!0,r.quote_keys=!0),typeof r.indent=="object"&&(r.indent.constructor===Number||r.indent.constructor===Boolean||r.indent.constructor===String)&&(r.indent=r.indent.valueOf()),typeof r.indent=="number"?r.indent>=0?r.indent=Array(Math.min(~~r.indent,10)+1).join(" "):r.indent=!1:typeof r.indent=="string"&&(r.indent=r.indent.substr(0,10)),r._splitMin==null&&(r._splitMin=50),r._splitMax==null&&(r._splitMax=70),_l(t,r,0,"")}});var bl=F((y6,Um)=>{var rP=Hi().tokenize;Um.exports.analyze=function(t,r){r==null&&(r={}),Array.isArray(t)||(t=rP(t,r));for(var n={has_whitespace:!1,has_comments:!1,has_newlines:!1,has_trailing_comma:!1,indent:"",newline:`
43
- `,quote:'"',quote_keys:!0},i={indent:{},newline:{},quote:{}},s=0;s<t.length;s++){if(t[s].type==="newline"){if(t[s+1]&&t[s+1].type==="whitespace"&&(t[s+1].raw[0]===" "&&(i.indent[" "]=(i.indent[" "]||0)+1),t[s+1].raw.match(/^\x20+$/))){var o=t[s+1].raw.length,a=t[s+1].stack.length+1;if(o%a===0){var u=Array(o/a+1).join(" ");i.indent[u]=(i.indent[u]||0)+1}}i.newline[t[s].raw]=(i.newline[t[s].raw]||0)+1}if(t[s].type==="newline"&&(n.has_newlines=!0),t[s].type==="whitespace"&&(n.has_whitespace=!0),t[s].type==="comment"&&(n.has_comments=!0),t[s].type==="key"&&t[s].raw[0]!=='"'&&t[s].raw[0]!=="'"&&(n.quote_keys=!1),(t[s].type==="key"||t[s].type==="literal")&&(t[s].raw[0]==='"'||t[s].raw[0]==="'")&&(i.quote[t[s].raw[0]]=(i.quote[t[s].raw[0]]||0)+1),t[s].type==="separator"&&t[s].raw===",")for(var c=s+1;c<t.length&&!(t[c].type==="literal"||t[c].type==="key");c++)t[c].type==="separator"&&(n.has_trailing_comma=!0)}for(var f in i)Object.keys(i[f]).length&&(n[f]=Object.keys(i[f]).reduce(function(l,h){return i[f][l]>i[f][h]?l:h}));return n}});var Xm=F((v6,Rl)=>{var Bt=M("assert"),Km=Hi().tokenize,nP=xl().stringify,iP=bl().analyze;function Ui(e){return typeof e=="object"&&e!==null}function Fo(e,t,r,n,i){r=Object.create(r),r._stringify_key=!!n,i&&(r._prefix=i.prefix.map(function(a){return a.raw}).join("")),r._splitMin==null&&(r._splitMin=0),r._splitMax==null&&(r._splitMax=0);var s=nP(e,r);if(n)return[{raw:s,type:"key",stack:t,value:e}];r._addstack=t;var o=Km(s,{_addstack:t});return o.data=null,o}function Ol(e){if(typeof e=="number"&&(e=String(e)),e===""&&(e=[]),typeof e=="string"&&(e=e.split(".")),!Array.isArray(e))throw Error("Invalid path type, string or array expected");return e}function Wm(e,t,r,n,i){for(;r[n].stack[t]!=e;)if(n++>=i)return!1;for(;r[i].stack[t]!=e;)if(i--<n)return!1;return[n,i]}function Gi(e){return e==="whitespace"||e==="newline"||e==="comment"}function Ym(e,t,r){for(;Gi(e[t].type);)if(t++>=r)return!1;return t}function Gn(e,t,r){for(;Gi(e[r].type);)if(r--<t)return!1;return r}function zm(e,t,r,n,i){var s={sep1:[],sep2:[],suffix:[],prefix:[],newline:[]};if(e[n].type==="separator"&&e[n].stack.length!==i+1&&e[n].raw!==","||(e[n].type==="separator"&&(n=Gn(e,r,n-1)),n===!1))return s;for(;e[n].stack.length>i;)n--;if(!t){for(;Gi(e[n].type);){if(n<r)return s;if(e[n].type==="whitespace")s.sep2.unshift(e[n]);else return s;n--}for(Bt.equal(e[n].type,"separator"),Bt.equal(e[n].raw,":");Gi(e[--n].type);){if(n<r)return s;if(e[n].type==="whitespace")s.sep1.unshift(e[n]);else return s}Bt.equal(e[n].type,"key"),n--}for(;Gi(e[n].type);){if(n<r)return s;if(e[n].type==="whitespace")s.prefix.unshift(e[n]);else return e[n].type==="newline"&&s.newline.unshift(e[n]),s;n--}return s}function ir(e,t){var r=Object.create(ir.prototype);t==null&&(t={});var n=r._tokens=Km(e,t);r._data=n.data,n.data=null,r._options=t;var i=iP(e,t);return t.indent==null&&(t.indent=i.indent),t.quote==null&&(t.quote=i.quote),t.quote_keys==null&&(t.quote_keys=i.quote_keys),t.no_trailing_comma==null&&(t.no_trailing_comma=!i.has_trailing_comma),r}function Vm(e,t,r){function n(i){return Error("You can't "+(r?"unset":"set")+" key '"+e+"'"+i)}if(!Ui(t))throw n(" of an non-object");if(Array.isArray(t))if(String(e).match(/^\d+$/)){if(e=Number(String(e)),t.length<e||r&&t.length===e)throw n(", out of bounds");if(r&&t.length!==e+1)throw n(" in the middle of an array");return!0}else throw n(" of an array");else return!0}ir.prototype.set=function(e,t){if(e=Ol(e),e.length===0){if(t===void 0)throw Error("can't remove root document");this._data=t;var r=!1}else{for(var n=this._data,i=0;i<e.length-1;i++)Vm(e[i],n,!1),n=n[e[i]];i===e.length-1&&Vm(e[i],n,t===void 0);var r=!(e[i]in n);t===void 0?Array.isArray(n)?n.pop():delete n[e[i]]:n[e[i]]=t}this._tokens.length||(this._tokens=[{raw:"",type:"literal",stack:[],value:void 0}]);for(var s=[Ym(this._tokens,0,this._tokens.length-1),Gn(this._tokens,0,this._tokens.length-1)],i=0;i<e.length-1;i++)if(s=Wm(e[i],i,this._tokens,s[0],s[1]),s==!1)throw Error("internal error, please report this");if(e.length===0)var o=Fo(t,e,this._options);else if(r){var f=e.slice(0,i),u=Gn(this._tokens,s[0]+1,s[1]-1);Bt(u!==!1);var c=u!==!1?zm(this._tokens,Array.isArray(n),s[0]+1,u,i):{},o=Fo(t,e,this._options,!1,c),l=[];c.newline&&c.newline.length&&(l=l.concat(c.newline)),c.prefix&&c.prefix.length&&(l=l.concat(c.prefix)),Array.isArray(n)||(l=l.concat(Fo(e[e.length-1],f,this._options,!0)),c.sep1&&c.sep1.length&&(l=l.concat(c.sep1)),l.push({raw:":",type:"separator",stack:f}),c.sep2&&c.sep2.length&&(l=l.concat(c.sep2))),o.unshift.apply(o,l),this._tokens[u].type==="separator"&&this._tokens[u].stack.length===e.length-1?this._tokens[u].raw===","&&o.push({raw:",",type:"separator",stack:f}):o.unshift({raw:",",type:"separator",stack:f}),c.suffix&&c.suffix.length&&o.push.apply(o,c.suffix),Bt.equal(this._tokens[s[1]].type,"separator"),s[0]=u+1,s[1]=u}else{var a=s;if(s=Wm(e[i],i,this._tokens,s[0],s[1]),t===void 0&&s!==!1){var o=[];if(!Array.isArray(n)){var u=Gn(this._tokens,a[0],s[0]-1);Bt.equal(this._tokens[u].type,"separator"),Bt.equal(this._tokens[u].raw,":"),s[0]=u;var u=Gn(this._tokens,a[0],s[0]-1);Bt.equal(this._tokens[u].type,"key"),Bt.equal(this._tokens[u].value,e[e.length-1]),s[0]=u}var u=Gn(this._tokens,a[0],s[0]-1);Bt.equal(this._tokens[u].type,"separator"),this._tokens[u].raw===","?s[0]=u:(u=Ym(this._tokens,s[1]+1,a[1]),Bt.equal(this._tokens[u].type,"separator"),this._tokens[u].raw===","&&(s[1]=u))}else var c=u!==!1?zm(this._tokens,Array.isArray(n),a[0],s[1]-1,i):{},o=Fo(t,e,this._options,!1,c)}return o.unshift(s[1]-s[0]+1),o.unshift(s[0]),this._tokens.splice.apply(this._tokens,o),this};ir.prototype.unset=function(e){return this.set(e,void 0)};ir.prototype.get=function(e){e=Ol(e);for(var t=this._data,r=0;r<e.length;r++){if(!Ui(t))return;t=t[e[r]]}return t};ir.prototype.has=function(e){e=Ol(e);for(var t=this._data,r=0;r<e.length;r++){if(!Ui(t))return!1;t=t[e[r]]}return t!==void 0};ir.prototype.update=function(e){var t=this;return r([],t._data,e),t;function r(n,i,s){if(!Ui(s)||!Ui(i))s!==i&&t.set(n,s);else if(Array.isArray(s)!=Array.isArray(i))t.set(n,s);else if(Array.isArray(s))if(s.length>i.length)for(var o=0;o<s.length;o++)n.push(String(o)),r(n,i[o],s[o]),n.pop();else for(var o=i.length-1;o>=0;o--)n.push(String(o)),r(n,i[o],s[o]),n.pop();else{for(var o in s)n.push(String(o)),r(n,i[o],s[o]),n.pop();for(var o in i)o in s||(n.push(String(o)),r(n,i[o],s[o]),n.pop())}}};ir.prototype.toString=function(){return this._tokens.map(function(e){return e.raw}).join("")};Rl.exports.Document=ir;Rl.exports.update=function(t,r,n){return ir(t,n).update(r).toString()}});var Qm=F((E6,ko)=>{var sP=M("fs"),oP=Wi();ko.exports.register=function(){var e=M,t="extensions";e[t][".json5"]=function(r,n){r.exports=oP.parse(sP.readFileSync(n,"utf8"))}};ko.exports.patch_JSON_parse=function(){var e=JSON.parse;JSON.parse=function(t,r){try{return e(t,r)}catch(n){throw Wi().parse(t,{mode:"json",legacy:!0,reviver:r,reserved_keys:"replace",null_prototype:!1}),n}}};ko.exports.middleware=function(){return function(e,t,r){throw Error("this function is removed, use express-json5 instead")}}});var Wi=F((S6,nn)=>{nn.exports.__defineGetter__("parse",function(){return Hi().parse});nn.exports.__defineGetter__("stringify",function(){return xl().stringify});nn.exports.__defineGetter__("tokenize",function(){return Hi().tokenize});nn.exports.__defineGetter__("update",function(){return Xm().update});nn.exports.__defineGetter__("analyze",function(){return bl().analyze});nn.exports.__defineGetter__("utils",function(){return Qm()})});var To=F(Pr=>{"use strict";var Do=Pr&&Pr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Pr,"__esModule",{value:!0});Pr.getRushWorkspaces=Pr.getRushWorkspaceRoot=void 0;var aP=Do(Cn()),Po=Do(M("path")),uP=Do(Wi()),cP=Do(M("fs")),lP=Di();function Jm(e){let t=aP.default.sync("rush.json",{cwd:e});if(!t)throw new Error("Could not find rush workspaces root");return Po.default.dirname(t)}Pr.getRushWorkspaceRoot=Jm;function fP(e){try{let t=Jm(e),r=Po.default.join(t,"rush.json"),n=uP.default.parse(cP.default.readFileSync(r,"utf-8")),i=Po.default.dirname(r);return(0,lP.getWorkspacePackageInfo)(n.projects.map(s=>Po.default.join(i,s.projectFolder)))}catch{return[]}}Pr.getRushWorkspaces=fP});var Fl=F(Un=>{"use strict";Object.defineProperty(Un,"__esModule",{value:!0});Un.getNpmWorkspaces=Un.getNpmWorkspaceRoot=void 0;var Zm=Hc();function ey(e){let t=(0,Zm.getPackageJsonWorkspaceRoot)(e);if(!t)throw new Error("Could not find NPM workspaces root");return t}Un.getNpmWorkspaceRoot=ey;function hP(e){let t=ey(e);return(0,Zm.getWorkspaceInfoFromWorkspaceRoot)(t)}Un.getNpmWorkspaces=hP});var kl=F(Dr=>{"use strict";var Io=Dr&&Dr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Dr,"__esModule",{value:!0});Dr.getLernaWorkspaces=Dr.getLernaWorkspaceRoot=void 0;var dP=Io(Cn()),pP=Io(M("fs")),gP=Io(Wi()),ty=Io(M("path")),mP=yo(),yP=Di();function ry(e){let t=dP.default.sync("lerna.json",{cwd:e});if(!t)throw new Error("Could not find lerna workspace root");return ty.default.dirname(t)}Dr.getLernaWorkspaceRoot=ry;function vP(e,t){try{let r=ry(e),n=ty.default.join(r,"lerna.json"),i=gP.default.parse(pP.default.readFileSync(n,"utf-8")),s=(0,mP.getPackagePaths)(r,i.packages,t);return(0,yP.getWorkspacePackageInfo)(s)}catch{return[]}}Dr.getLernaWorkspaces=vP});var No=F(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.getWorkspaces=void 0;var EP=Ts(),AP=process.env.PREFERRED_WORKSPACE_MANAGER;function SP(e){let t=AP||(0,EP.getWorkspaceImplementation)(e);if(!t)return[];switch(t){case"yarn":return vo().getYarnWorkspaces(e);case"pnpm":return Oo().getPnpmWorkspaces(e);case"rush":return To().getRushWorkspaces(e);case"npm":return Fl().getNpmWorkspaces(e);case"lerna":return kl().getLernaWorkspaces(e)}}Lo.getWorkspaces=SP});var Pl=F(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn._resetCache=Wn.getAllPackageJsonFiles=void 0;var wP=No(),Bo=new Map;function CP(e){if(Bo.has(e))return Bo.get(e);let r=(0,wP.getWorkspaces)(e).map(n=>n.packageJson.packageJsonPath);return Bo.set(e,r),r}Wn.getAllPackageJsonFiles=CP;function _P(){Bo.clear()}Wn._resetCache=_P});var ny=F(Yn=>{"use strict";var xP=Yn&&Yn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Yn,"__esModule",{value:!0});Yn.getPackageInfos=void 0;var bP=xP(M("fs")),OP=Th(),RP=Pl();function FP(e){let t=(0,RP.getAllPackageJsonFiles)(e),r={};return t&&t.length>0?(t.forEach(n=>{try{let i=JSON.parse(bP.default.readFileSync(n,"utf-8"));r[i.name]=(0,OP.infoFromPackageJson)(i,n)}catch(i){throw i instanceof Error?new Error(`Invalid package.json file detected ${n}: ${i.message}`):i}}),r):{}}Yn.getPackageInfos=FP});var Yi=F(_t=>{"use strict";Object.defineProperty(_t,"__esModule",{value:!0});_t.gitFailFast=_t.git=_t.clearGitObservers=_t.addGitObserver=_t.GitError=void 0;var kP=M("child_process"),$o=class extends Error{constructor(t,r){r instanceof Error?super(`${t}: ${r.message}`):super(t),this.originalError=r}};_t.GitError=$o;var PP=process.env.GIT_MAX_BUFFER?parseInt(process.env.GIT_MAX_BUFFER):500*1024*1024,zn=[],Dl;function DP(e){return zn.push(e),()=>IP(e)}_t.addGitObserver=DP;function TP(){zn.splice(0,zn.length)}_t.clearGitObservers=TP;function IP(e){let t=zn.indexOf(e);t>-1&&zn.splice(t,1)}function iy(e,t){let r=(0,kP.spawnSync)("git",e,{maxBuffer:PP,...t}),n={stderr:r.stderr.toString().trimRight(),stdout:r.stdout.toString().trimRight(),success:r.status===0};if(!Dl){Dl=!0;for(let i of zn)i(e,n);Dl=!1}return n}_t.git=iy;function LP(e,t){var r,n;let i=iy(e,t);if(!i.success)throw t?.noExitCode||(process.exitCode=1),new $o(`CRITICAL ERROR: running git command: git ${e.join(" ")}!
25
+ `}function kv(e){return e[e.length-1]===`
26
+ `?e.slice(0,-1):e}function uN(e,t){for(var r=/(\n+)([^\n]*)/g,n=function(){var u=e.indexOf(`
27
+ `);return u=u!==-1?u:e.length,r.lastIndex=u,Nv(e.slice(0,u),t)}(),i=e[0]===`
28
+ `||e[0]===" ",s,o;o=r.exec(e);){var a=o[1],c=o[2];s=c[0]===" ",n+=a+(!i&&!s&&c!==""?`
29
+ `:"")+Nv(c,t),i=s}return n}function Nv(e,t){if(e===""||e[0]===" ")return e;for(var r=/ [^ ]/g,n,i=0,s,o=0,a=0,c="";n=r.exec(e);)a=n.index,a-i>t&&(s=o>i?o:a,c+=`
30
+ `+e.slice(i,s),i=s+1),o=a;return c+=`
31
+ `,e.length-i>t&&o>i?c+=e.slice(i,o)+`
32
+ `+e.slice(o+1):c+=e.slice(i),c.slice(1)}function cN(e){for(var t="",r=0,n,i=0;i<e.length;r>=65536?i+=2:i++)r=os(e,i),n=rt[r],!n&&cs(r)?(t+=e[i],r>=65536&&(t+=e[i+1])):t+=n||eN(r);return t}function lN(e,t,r){var n="",i=e.tag,s,o,a;for(s=0,o=r.length;s<o;s+=1)a=r[s],e.replacer&&(a=e.replacer.call(r,String(s),a)),(Sr(e,t,a,!1,!1)||typeof a>"u"&&Sr(e,t,null,!1,!1))&&(n!==""&&(n+=","+(e.condenseFlow?"":" ")),n+=e.dump);e.tag=i,e.dump="["+n+"]"}function Iv(e,t,r,n){var i="",s=e.tag,o,a,c;for(o=0,a=r.length;o<a;o+=1)c=r[o],e.replacer&&(c=e.replacer.call(r,String(o),c)),(Sr(e,t+1,c,!0,!0,!1,!0)||typeof c>"u"&&Sr(e,t+1,null,!0,!0,!1,!0))&&((!n||i!=="")&&(i+=Xf(e,t)),e.dump&&as===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump);e.tag=s,e.dump=i||"[]"}function fN(e,t,r){var n="",i=e.tag,s=Object.keys(r),o,a,c,u,f;for(o=0,a=s.length;o<a;o+=1)f="",n!==""&&(f+=", "),e.condenseFlow&&(f+='"'),c=s[o],u=r[c],e.replacer&&(u=e.replacer.call(r,c,u)),Sr(e,t,c,!1,!1)&&(e.dump.length>1024&&(f+="? "),f+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Sr(e,t,u,!1,!1)&&(f+=e.dump,n+=f));e.tag=i,e.dump="{"+n+"}"}function hN(e,t,r,n){var i="",s=e.tag,o=Object.keys(r),a,c,u,f,l,h;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys=="function")o.sort(e.sortKeys);else if(e.sortKeys)throw new ls("sortKeys must be a boolean or a function");for(a=0,c=o.length;a<c;a+=1)h="",(!n||i!=="")&&(h+=Xf(e,t)),u=o[a],f=r[u],e.replacer&&(f=e.replacer.call(r,u,f)),Sr(e,t+1,u,!0,!0,!0)&&(l=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,l&&(e.dump&&as===e.dump.charCodeAt(0)?h+="?":h+="? "),h+=e.dump,l&&(h+=Xf(e,t)),Sr(e,t+1,f,!0,l)&&(e.dump&&as===e.dump.charCodeAt(0)?h+=":":h+=": ",h+=e.dump,i+=h));e.tag=s,e.dump=i||"{}"}function $v(e,t,r){var n,i,s,o,a,c;for(i=r?e.explicitTypes:e.implicitTypes,s=0,o=i.length;s<o;s+=1)if(a=i[s],(a.instanceOf||a.predicate)&&(!a.instanceOf||typeof t=="object"&&t instanceof a.instanceOf)&&(!a.predicate||a.predicate(t))){if(r?a.multi&&a.representName?e.tag=a.representName(t):e.tag=a.tag:e.tag="?",a.represent){if(c=e.styleMap[a.tag]||a.defaultStyle,Bv.call(a.represent)==="[object Function]")n=a.represent(t,c);else if(Mv.call(a.represent,c))n=a.represent[c](t,c);else throw new ls("!<"+a.tag+'> tag resolver accepts not "'+c+'" style');e.dump=n}return!0}return!1}function Sr(e,t,r,n,i,s,o){e.tag=null,e.dump=r,$v(e,r,!1)||$v(e,r,!0);var a=Bv.call(e.dump),c=n,u;n&&(n=e.flowLevel<0||e.flowLevel>t);var f=a==="[object Object]"||a==="[object Array]",l,h;if(f&&(l=e.duplicates.indexOf(r),h=l!==-1),(e.tag!==null&&e.tag!=="?"||h||e.indent!==2&&t>0)&&(i=!1),h&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(f&&h&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),a==="[object Object]")n&&Object.keys(e.dump).length!==0?(hN(e,t,e.dump,i),h&&(e.dump="&ref_"+l+e.dump)):(fN(e,t,e.dump),h&&(e.dump="&ref_"+l+" "+e.dump));else if(a==="[object Array]")n&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?Iv(e,t-1,e.dump,i):Iv(e,t,e.dump,i),h&&(e.dump="&ref_"+l+e.dump)):(lN(e,t,e.dump),h&&(e.dump="&ref_"+l+" "+e.dump));else if(a==="[object String]")e.tag!=="?"&&aN(e,e.dump,t,s,c);else{if(a==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new ls("unacceptable kind of an object to dump "+a)}e.tag!==null&&e.tag!=="?"&&(u=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?u="!"+u:u.slice(0,18)==="tag:yaml.org,2002:"?u="!!"+u.slice(18):u="!<"+u+">",e.dump=u+" "+e.dump)}return!0}function pN(e,t){var r=[],n=[],i,s;for(Qf(e,r,n),i=0,s=n.length;i<s;i+=1)t.duplicates.push(r[n[i]]);t.usedDuplicates=new Array(s)}function Qf(e,t,r){var n,i,s;if(e!==null&&typeof e=="object")if(i=t.indexOf(e),i!==-1)r.indexOf(i)===-1&&r.push(i);else if(t.push(e),Array.isArray(e))for(i=0,s=e.length;i<s;i+=1)Qf(e[i],t,r);else for(n=Object.keys(e),i=0,s=n.length;i<s;i+=1)Qf(e[n[i]],t,r)}function dN(e,t){t=t||{};var r=new rN(t);r.noRefs||pN(e,r);var n=e;return r.replacer&&(n=r.replacer.call({"":n},"",n)),Sr(r,0,n,!0,!0)?r.dump+`
33
+ `:""}Kv.exports.dump=dN});var Qv=_((f7,ft)=>{"use strict";var Jv=Rv(),mN=Xv();function eh(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}ft.exports.Type=tt();ft.exports.Schema=_f();ft.exports.FAILSAFE_SCHEMA=Ff();ft.exports.JSON_SCHEMA=If();ft.exports.CORE_SCHEMA=$f();ft.exports.DEFAULT_SCHEMA=da();ft.exports.load=Jv.load;ft.exports.loadAll=Jv.loadAll;ft.exports.dump=mN.dump;ft.exports.YAMLException=ii();ft.exports.types={binary:qf(),float:Nf(),map:Df(),null:Lf(),pairs:Uf(),set:Hf(),timestamp:Bf(),bool:Tf(),int:kf(),merge:Mf(),omap:Gf(),seq:Rf(),str:Pf()};ft.exports.safeLoad=eh("safeLoad","load");ft.exports.safeLoadAll=eh("safeLoadAll","loadAll");ft.exports.safeDump=eh("safeDump","dump")});var th=_(ci=>{"use strict";var gN=ci&&ci.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ci,"__esModule",{value:!0});ci.readYaml=void 0;var yN=gN(M("fs"));function vN(e){let t=Qv(),r=yN.default.readFileSync(e,"utf8");return t.load(r)}ci.readYaml=vN});var Sa=_(Qr=>{"use strict";var Zv=Qr&&Qr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Qr,"__esModule",{value:!0});Qr.getPnpmWorkspaces=Qr.getPnpmWorkspaceRoot=void 0;var eE=Zv(M("path")),EN=Zv(zn()),AN=ha(),wN=rs(),SN=th();function tE(e){let t=EN.default.sync("pnpm-workspace.yaml",{cwd:e});if(!t)throw new Error("Could not find pnpm workspaces root");return eE.default.dirname(t)}Qr.getPnpmWorkspaceRoot=tE;function bN(e){try{let t=tE(e),r=eE.default.join(t,"pnpm-workspace.yaml"),n=(0,SN.readYaml)(r),i=(0,AN.getPackagePaths)(t,n.packages);return(0,wN.getWorkspacePackageInfo)(i)}catch{return[]}}Qr.getPnpmWorkspaces=bN});var rh=_((d7,ar)=>{var rE=ar.exports;ar.exports.isWhiteSpace=function(t){return t===" "||t==="\xA0"||t==="\uFEFF"||t>=" "&&t<="\r"||t==="\u1680"||t>="\u2000"&&t<="\u200A"||t==="\u2028"||t==="\u2029"||t==="\u202F"||t==="\u205F"||t==="\u3000"};ar.exports.isWhiteSpaceJSON=function(t){return t===" "||t===" "||t===`
34
+ `||t==="\r"};ar.exports.isLineTerminator=function(t){return t===`
35
+ `||t==="\r"||t==="\u2028"||t==="\u2029"};ar.exports.isLineTerminatorJSON=function(t){return t===`
36
+ `||t==="\r"};ar.exports.isIdentifierStart=function(t){return t==="$"||t==="_"||t>="A"&&t<="Z"||t>="a"&&t<="z"||t>="\x80"&&rE.NonAsciiIdentifierStart.test(t)};ar.exports.isIdentifierPart=function(t){return t==="$"||t==="_"||t>="A"&&t<="Z"||t>="a"&&t<="z"||t>="0"&&t<="9"||t>="\x80"&&rE.NonAsciiIdentifierPart.test(t)};ar.exports.NonAsciiIdentifierStart=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/;ar.exports.NonAsciiIdentifierPart=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191C\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE26\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/});var hs=_((m7,ba)=>{var br=rh();function li(e){return e>="0"&&e<="9"||e>="A"&&e<="F"||e>="a"&&e<="f"}function fi(e){return e>="0"&&e<="7"}function fs(e){return e>="0"&&e<="9"}var nE={"'":"'",'"':'"',"\\":"\\",b:"\b",f:"\f",n:`
37
+ `,r:"\r",t:" ",v:"\v","/":"/"};function CN(e,t,r,n,i,s){var o=t+" at "+(n+1)+":"+(i+1),a=r-i-1,c="",u="",f=s?br.isLineTerminator:br.isLineTerminatorJSON;for(a<r-70&&(a=r-70);;){var l=e[++a];if(f(l)||a===e.length){r>=a&&(u+="^");break}if(c+=l,r===a?u+="^":r>a&&(u+=e[a]===" "?" ":" "),c.length>78)break}return o+`
38
+ `+c+`
39
+ `+u}function xN(e,t){var r=!1,n=!1;t.legacy||t.mode==="json"||(t.mode==="cjson"?n=!0:(t.mode,r=!0));var i=r?br.isLineTerminator:br.isLineTerminatorJSON,s=r?br.isWhiteSpace:br.isWhiteSpaceJSON,o=e.length,a=0,c=0,u=0,f=[],l=function(){},h=function(O){return O};t._tokenize&&function(){var O=null;l=function(){if(O!==null)throw Error("internal error, token overlap");O=u},h=function(m,y){if(O!=u){var w={raw:e.substr(O,u-O),type:y,stack:f.slice(0)};m!==void 0&&(w.value=m),t._tokenize.call(null,w)}return O=null,m}}();function p(O){var m=u-c;if(!O)if(u<o){var y="'"+JSON.stringify(e[u]).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";O||(O="Unexpected token "+y)}else O||(O="Unexpected end of input");var w=SyntaxError(CN(e,O,u,a,m,r));throw w.row=a+1,w.column=m+1,w}function d(O){O==="\r"&&e[u]===`
40
+ `&&u++,c=u,a++}function g(){for(var O;u<o;){l();var m=e[u++];return m==='"'||m==="'"&&r?h(P(m),"literal"):m==="{"?(h(void 0,"separator"),F()):m==="["?(h(void 0,"separator"),A()):m==="-"||m==="."||fs(m)||r&&(m==="+"||m==="I"||m==="N")?h(R(),"literal"):m==="n"?(L("null"),h(null,"literal")):m==="t"?(L("true"),h(!0,"literal")):m==="f"?(L("false"),h(!1,"literal")):(u--,h(void 0))}}function E(){for(var O;u<o;){l();var m=e[u++];if(m==='"'||m==="'"&&r)return h(P(m),"key");if(m==="{")return h(void 0,"separator"),F();if(m==="[")return h(void 0,"separator"),A();if(m==="."||fs(m))return h(R(!0),"key");if(r&&br.isIdentifierStart(m)||m==="\\"&&e[u]==="u"){var y=u-1,O=D();return O===void 0?(u=y,h(void 0)):h(O,"key")}else return u--,h(void 0)}}function x(){for(l();u<o;){var O=e[u++];if(i(O))u--,h(void 0,"whitespace"),l(),u++,d(O),h(void 0,"newline"),l();else if(!s(O))if(O==="/"&&(r||n)&&(e[u]==="/"||e[u]==="*"))u--,h(void 0,"whitespace"),l(),u++,b(e[u++]==="*"),h(void 0,"comment"),l();else{u--;break}}return h(void 0,"whitespace")}function b(O){for(;u<o;){var m=e[u++];if(i(m)){if(!O){u--;return}d(m)}else if(m==="*"&&O&&e[u]==="/"){u++;return}}O&&p("Unclosed multiline comment")}function L(O){for(var m=u,y=O.length,w=1;w<y;w++)(u>=o||O[w]!=e[u])&&(u=m-1,p()),u++}function F(){for(var O=t.null_prototype?Object.create(null):{},m={},y=!1;u<o;){x();var w=E();x(),l();var C=e[u++];if(h(void 0,"separator"),C==="}"&&w===void 0)return!r&&y&&(u--,p("Trailing comma in object")),O;if(C===":"&&w!==void 0){x(),f.push(w);var v=g();f.pop(),v===void 0&&p("No value found for key "+w),typeof w!="string"&&(!r||typeof w!="number")&&p("Wrong key type: "+w),(w in m||m[w]!=null)&&t.reserved_keys!=="replace"?t.reserved_keys==="throw"&&p("Reserved key: "+w):(typeof t.reviver=="function"&&(v=t.reviver.call(null,w,v)),v!==void 0&&(y=!0,Object.defineProperty(O,w,{value:v,enumerable:!0,configurable:!0,writable:!0}))),x(),l();var C=e[u++];if(h(void 0,"separator"),C===",")continue;if(C==="}")return O;p()}else u--,p()}p()}function A(){for(var O=[];u<o;){x(),f.push(O.length);var m=g();f.pop(),x(),l();var y=e[u++];if(h(void 0,"separator"),m!==void 0&&(typeof t.reviver=="function"&&(m=t.reviver.call(null,String(O.length),m)),m===void 0?(O.length++,m=!0):O.push(m)),y===",")m===void 0&&p("Elisions are not supported");else{if(y==="]")return!r&&m===void 0&&O.length&&(u--,p("Trailing comma in array")),O;u--,p()}}}function R(){u--;var O=u,m=e[u++],y,w=function(T){var k=e.substr(O,u-O);if(T)var I=parseInt(k.replace(/^0o?/,""),8);else var I=Number(k);if(Number.isNaN(I))u--,p('Bad numeric literal - "'+e.substr(O,u-O+1)+'"');else if(!r&&!k.match(/^-?(0|[1-9][0-9]*)(\.[0-9]+)?(e[+-]?[0-9]+)?$/i))u--,p('Non-json numeric literal - "'+e.substr(O,u-O+1)+'"');else return I};if((m==="-"||m==="+"&&r)&&(m=e[u++]),m==="N"&&r)return L("NaN"),NaN;if(m==="I"&&r)return L("Infinity"),w();if(m>="1"&&m<="9"){for(;u<o&&fs(e[u]);)u++;m=e[u++]}if(m==="0"){m=e[u++];var C=m==="o"||m==="O"||fi(m),v=m==="x"||m==="X";if(r&&(C||v)){for(;u<o&&(v?li:fi)(e[u]);)u++;var S=1;return e[O]==="-"?(S=-1,O++):e[O]==="+"&&O++,S*w(C)}}if(m==="."){for(;u<o&&fs(e[u]);)u++;m=e[u++]}if(m==="e"||m==="E"){for(m=e[u++],(m==="-"||m==="+")&&u++;u<o&&fs(e[u]);)u++;m=e[u++]}return u--,w()}function D(){u--;for(var O="";u<o;){var m=e[u++];if(m==="\\"&&e[u]==="u"&&li(e[u+1])&&li(e[u+2])&&li(e[u+3])&&li(e[u+4])&&(m=String.fromCharCode(parseInt(e.substr(u+1,4),16)),u+=5),O.length)if(br.isIdentifierPart(m))O+=m;else return u--,O;else if(br.isIdentifierStart(m))O+=m;else return}p()}function P(O){for(var m="";u<o;){var y=e[u++];if(y===O)return m;if(y==="\\")if(u>=o&&p(),y=e[u++],nE[y]&&(r||y!="v"&&y!="'"))m+=nE[y];else if(r&&i(y))d(y);else if(y==="u"||y==="x"&&r){for(var w=y==="u"?4:2,C=0;C<w;C++)u>=o&&p(),li(e[u])||p("Bad escape sequence"),u++;m+=String.fromCharCode(parseInt(e.substr(u-w,w),16))}else if(r&&fi(y)){if(y<"4"&&fi(e[u])&&fi(e[u+1]))var v=3;else if(fi(e[u]))var v=2;else var v=1;u+=v-1,m+=String.fromCharCode(parseInt(e.substr(u-v,v),8))}else r?m+=y:(u--,p());else i(y)?p():(!r&&y.charCodeAt(0)<32&&(u--,p("Unexpected control character")),m+=y)}p()}x();var N=g();if(N!==void 0||u<o){if(x(),u>=o)return typeof t.reviver=="function"&&(N=t.reviver.call(null,"",N)),N;p()}else p(u?"No data, only a whitespace":"No data, empty input")}ba.exports.parse=function(t,r){if(typeof r=="function"&&(r={reviver:r}),t!==void 0){typeof t!="string"&&(t=String(t)),r==null&&(r={}),r.reserved_keys==null&&(r.reserved_keys="ignore"),(r.reserved_keys==="throw"||r.reserved_keys==="ignore")&&r.null_prototype==null&&(r.null_prototype=!0);try{return xN(t,r)}catch(i){if(i instanceof SyntaxError&&i.row!=null&&i.column!=null){var n=i;i=SyntaxError(n.message),i.column=n.column,i.row=n.row}throw i}}};ba.exports.tokenize=function(t,r){r==null&&(r={}),r._tokenize=function(i){r._addstack&&i.stack.unshift.apply(i.stack,r._addstack),n.push(i)};var n=[];return n.data=ba.exports.parse(t,r),n}});var sh=_((g7,sE)=>{var nh=rh();(function(){}).name||Object.defineProperty(function(){}.constructor.prototype,"name",{get:function(){var e=this.toString().match(/^\s*function\s*(\S*)\s*\(/)[1];return Object.defineProperty(this,"name",{value:e}),e}});var ON={0:"\\0",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",92:"\\\\"},_N=Object.prototype.hasOwnProperty,iE=/[\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/;function ih(e,t,r,n){var i=t.mode==="json5"||!t.mode;function s(l,h){var p=t._prefix?t._prefix:"";if(!t.indent)return p+l;for(var d="",g=r+(h||0),E=0;E<g;E++)d+=t.indent;return p+d+l+(h?`
41
+ `:"")}function o(l){if(t.quote_keys)return a(l);if(String(Number(l))==l&&l[0]!="-")return l;if(l=="")return a(l);for(var h="",p=0;p<l.length;p++){if(p>0){if(!nh.isIdentifierPart(l[p]))return a(l)}else if(!nh.isIdentifierStart(l[p]))return a(l);var d=l.charCodeAt(p);t.ascii?d<128?h+=l[p]:h+="\\u"+("0000"+d.toString(16)).slice(-4):iE.exec(l[p])?h+="\\u"+("0000"+d.toString(16)).slice(-4):h+=l[p]}return h}function a(l){for(var h=t.quote,p=h.charCodeAt(0),d="",g=0;g<l.length;g++){var E=l.charCodeAt(g);if(E<16)E===0&&i?d+="\\0":E>=8&&E<=13&&(i||E!==11)?d+=ON[E]:i?d+="\\x0"+E.toString(16):d+="\\u000"+E.toString(16);else if(E<32)i?d+="\\x"+E.toString(16):d+="\\u00"+E.toString(16);else if(E>=32&&E<128)E===47&&g&&l[g-1]==="<"?d+="\\"+l[g]:E===92?d+="\\\\":E===p?d+="\\"+h:d+=l[g];else if(t.ascii||nh.isLineTerminator(l[g])||iE.exec(l[g]))if(E<256)i?d+="\\x"+E.toString(16):d+="\\u00"+E.toString(16);else if(E<4096)d+="\\u0"+E.toString(16);else if(E<65536)d+="\\u"+E.toString(16);else throw Error("weird codepoint");else d+=l[g]}return h+d+h}function c(){if(e===null)return"null";var l=[],h=0,p;if(Array.isArray(e)){p="[]";for(var d=0;d<e.length;d++){var g=ih(e[d],t,r+1,String(d));g===void 0&&(g="null"),h+=g.length+2,l.push(g+",")}}else{p="{}";var E=function(L){var F=ih(e[L],t,r+1,L);F!==void 0&&(F=o(L)+":"+(t.indent?" ":"")+F+",",h+=F.length+1,l.push(F))};if(Array.isArray(t.replacer))for(var d=0;d<t.replacer.length;d++)_N.call(e,t.replacer[d])&&E(t.replacer[d]);else{var x=Object.keys(e);t.sort_keys&&(x=x.sort(typeof t.sort_keys=="function"?t.sort_keys:void 0)),x.forEach(E)}}if(h-=2,t.indent&&(h>t._splitMax-r*t.indent.length||h>t._splitMin)){t.no_trailing_comma&&l.length&&(l[l.length-1]=l[l.length-1].substring(0,l[l.length-1].length-1));var b=l.map(function(L){return s(L,1)}).join("");return p[0]+(t.indent?`
42
+ `:"")+b+s(p[1])}else{l.length&&(l[l.length-1]=l[l.length-1].substring(0,l[l.length-1].length-1));var b=l.join(t.indent?" ":"");return p[0]+b+p[1]}}function u(l){switch(typeof t.replacer=="function"&&(l=t.replacer.call(null,n,l)),typeof l){case"string":return a(l);case"number":return l===0&&1/l<0?"-0":!i&&!Number.isFinite(l)?"null":l.toString();case"boolean":return l.toString();case"undefined":return;case"function":default:return JSON.stringify(l)}}if(t._stringify_key)return o(e);if(typeof e=="object"){if(e===null)return"null";var f;return(typeof(f=e.toJSON5)=="function"&&t.mode!=="json"||typeof(f=e.toJSON)=="function")&&(e=f.call(e,n)),e===null?"null":typeof e!="object"?u(e):e.constructor===Number||e.constructor===Boolean||e.constructor===String?(e=e.valueOf(),u(e)):e.constructor===Date?u(e.toISOString()):typeof t.replacer=="function"&&(e=t.replacer.call(null,n,e),typeof e!="object")?u(e):c(e)}else return u(e)}sE.exports.stringify=function(t,r,n){return typeof r=="function"||Array.isArray(r)?r={replacer:r}:typeof r=="object"&&r!==null||(r={}),n!=null&&(r.indent=n),r.indent==null&&(r.indent=" "),r.quote==null&&(r.quote="'"),r.ascii==null&&(r.ascii=!1),r.mode==null&&(r.mode="json5"),(r.mode==="json"||r.mode==="cjson")&&(r.quote='"',r.no_trailing_comma=!0,r.quote_keys=!0),typeof r.indent=="object"&&(r.indent.constructor===Number||r.indent.constructor===Boolean||r.indent.constructor===String)&&(r.indent=r.indent.valueOf()),typeof r.indent=="number"?r.indent>=0?r.indent=Array(Math.min(~~r.indent,10)+1).join(" "):r.indent=!1:typeof r.indent=="string"&&(r.indent=r.indent.substr(0,10)),r._splitMin==null&&(r._splitMin=50),r._splitMax==null&&(r._splitMax=70),ih(t,r,0,"")}});var oh=_((y7,oE)=>{var PN=hs().tokenize;oE.exports.analyze=function(t,r){r==null&&(r={}),Array.isArray(t)||(t=PN(t,r));for(var n={has_whitespace:!1,has_comments:!1,has_newlines:!1,has_trailing_comma:!1,indent:"",newline:`
43
+ `,quote:'"',quote_keys:!0},i={indent:{},newline:{},quote:{}},s=0;s<t.length;s++){if(t[s].type==="newline"){if(t[s+1]&&t[s+1].type==="whitespace"&&(t[s+1].raw[0]===" "&&(i.indent[" "]=(i.indent[" "]||0)+1),t[s+1].raw.match(/^\x20+$/))){var o=t[s+1].raw.length,a=t[s+1].stack.length+1;if(o%a===0){var c=Array(o/a+1).join(" ");i.indent[c]=(i.indent[c]||0)+1}}i.newline[t[s].raw]=(i.newline[t[s].raw]||0)+1}if(t[s].type==="newline"&&(n.has_newlines=!0),t[s].type==="whitespace"&&(n.has_whitespace=!0),t[s].type==="comment"&&(n.has_comments=!0),t[s].type==="key"&&t[s].raw[0]!=='"'&&t[s].raw[0]!=="'"&&(n.quote_keys=!1),(t[s].type==="key"||t[s].type==="literal")&&(t[s].raw[0]==='"'||t[s].raw[0]==="'")&&(i.quote[t[s].raw[0]]=(i.quote[t[s].raw[0]]||0)+1),t[s].type==="separator"&&t[s].raw===",")for(var u=s+1;u<t.length&&!(t[u].type==="literal"||t[u].type==="key");u++)t[u].type==="separator"&&(n.has_trailing_comma=!0)}for(var f in i)Object.keys(i[f]).length&&(n[f]=Object.keys(i[f]).reduce(function(l,h){return i[f][l]>i[f][h]?l:h}));return n}});var hE=_((v7,uh)=>{var Qt=M("assert"),fE=hs().tokenize,RN=sh().stringify,DN=oh().analyze;function ds(e){return typeof e=="object"&&e!==null}function Ca(e,t,r,n,i){r=Object.create(r),r._stringify_key=!!n,i&&(r._prefix=i.prefix.map(function(a){return a.raw}).join("")),r._splitMin==null&&(r._splitMin=0),r._splitMax==null&&(r._splitMax=0);var s=RN(e,r);if(n)return[{raw:s,type:"key",stack:t,value:e}];r._addstack=t;var o=fE(s,{_addstack:t});return o.data=null,o}function ah(e){if(typeof e=="number"&&(e=String(e)),e===""&&(e=[]),typeof e=="string"&&(e=e.split(".")),!Array.isArray(e))throw Error("Invalid path type, string or array expected");return e}function aE(e,t,r,n,i){for(;r[n].stack[t]!=e;)if(n++>=i)return!1;for(;r[i].stack[t]!=e;)if(i--<n)return!1;return[n,i]}function ps(e){return e==="whitespace"||e==="newline"||e==="comment"}function uE(e,t,r){for(;ps(e[t].type);)if(t++>=r)return!1;return t}function hi(e,t,r){for(;ps(e[r].type);)if(r--<t)return!1;return r}function cE(e,t,r,n,i){var s={sep1:[],sep2:[],suffix:[],prefix:[],newline:[]};if(e[n].type==="separator"&&e[n].stack.length!==i+1&&e[n].raw!==","||(e[n].type==="separator"&&(n=hi(e,r,n-1)),n===!1))return s;for(;e[n].stack.length>i;)n--;if(!t){for(;ps(e[n].type);){if(n<r)return s;if(e[n].type==="whitespace")s.sep2.unshift(e[n]);else return s;n--}for(Qt.equal(e[n].type,"separator"),Qt.equal(e[n].raw,":");ps(e[--n].type);){if(n<r)return s;if(e[n].type==="whitespace")s.sep1.unshift(e[n]);else return s}Qt.equal(e[n].type,"key"),n--}for(;ps(e[n].type);){if(n<r)return s;if(e[n].type==="whitespace")s.prefix.unshift(e[n]);else return e[n].type==="newline"&&s.newline.unshift(e[n]),s;n--}return s}function Cr(e,t){var r=Object.create(Cr.prototype);t==null&&(t={});var n=r._tokens=fE(e,t);r._data=n.data,n.data=null,r._options=t;var i=DN(e,t);return t.indent==null&&(t.indent=i.indent),t.quote==null&&(t.quote=i.quote),t.quote_keys==null&&(t.quote_keys=i.quote_keys),t.no_trailing_comma==null&&(t.no_trailing_comma=!i.has_trailing_comma),r}function lE(e,t,r){function n(i){return Error("You can't "+(r?"unset":"set")+" key '"+e+"'"+i)}if(!ds(t))throw n(" of an non-object");if(Array.isArray(t))if(String(e).match(/^\d+$/)){if(e=Number(String(e)),t.length<e||r&&t.length===e)throw n(", out of bounds");if(r&&t.length!==e+1)throw n(" in the middle of an array");return!0}else throw n(" of an array");else return!0}Cr.prototype.set=function(e,t){if(e=ah(e),e.length===0){if(t===void 0)throw Error("can't remove root document");this._data=t;var r=!1}else{for(var n=this._data,i=0;i<e.length-1;i++)lE(e[i],n,!1),n=n[e[i]];i===e.length-1&&lE(e[i],n,t===void 0);var r=!(e[i]in n);t===void 0?Array.isArray(n)?n.pop():delete n[e[i]]:n[e[i]]=t}this._tokens.length||(this._tokens=[{raw:"",type:"literal",stack:[],value:void 0}]);for(var s=[uE(this._tokens,0,this._tokens.length-1),hi(this._tokens,0,this._tokens.length-1)],i=0;i<e.length-1;i++)if(s=aE(e[i],i,this._tokens,s[0],s[1]),s==!1)throw Error("internal error, please report this");if(e.length===0)var o=Ca(t,e,this._options);else if(r){var f=e.slice(0,i),c=hi(this._tokens,s[0]+1,s[1]-1);Qt(c!==!1);var u=c!==!1?cE(this._tokens,Array.isArray(n),s[0]+1,c,i):{},o=Ca(t,e,this._options,!1,u),l=[];u.newline&&u.newline.length&&(l=l.concat(u.newline)),u.prefix&&u.prefix.length&&(l=l.concat(u.prefix)),Array.isArray(n)||(l=l.concat(Ca(e[e.length-1],f,this._options,!0)),u.sep1&&u.sep1.length&&(l=l.concat(u.sep1)),l.push({raw:":",type:"separator",stack:f}),u.sep2&&u.sep2.length&&(l=l.concat(u.sep2))),o.unshift.apply(o,l),this._tokens[c].type==="separator"&&this._tokens[c].stack.length===e.length-1?this._tokens[c].raw===","&&o.push({raw:",",type:"separator",stack:f}):o.unshift({raw:",",type:"separator",stack:f}),u.suffix&&u.suffix.length&&o.push.apply(o,u.suffix),Qt.equal(this._tokens[s[1]].type,"separator"),s[0]=c+1,s[1]=c}else{var a=s;if(s=aE(e[i],i,this._tokens,s[0],s[1]),t===void 0&&s!==!1){var o=[];if(!Array.isArray(n)){var c=hi(this._tokens,a[0],s[0]-1);Qt.equal(this._tokens[c].type,"separator"),Qt.equal(this._tokens[c].raw,":"),s[0]=c;var c=hi(this._tokens,a[0],s[0]-1);Qt.equal(this._tokens[c].type,"key"),Qt.equal(this._tokens[c].value,e[e.length-1]),s[0]=c}var c=hi(this._tokens,a[0],s[0]-1);Qt.equal(this._tokens[c].type,"separator"),this._tokens[c].raw===","?s[0]=c:(c=uE(this._tokens,s[1]+1,a[1]),Qt.equal(this._tokens[c].type,"separator"),this._tokens[c].raw===","&&(s[1]=c))}else var u=c!==!1?cE(this._tokens,Array.isArray(n),a[0],s[1]-1,i):{},o=Ca(t,e,this._options,!1,u)}return o.unshift(s[1]-s[0]+1),o.unshift(s[0]),this._tokens.splice.apply(this._tokens,o),this};Cr.prototype.unset=function(e){return this.set(e,void 0)};Cr.prototype.get=function(e){e=ah(e);for(var t=this._data,r=0;r<e.length;r++){if(!ds(t))return;t=t[e[r]]}return t};Cr.prototype.has=function(e){e=ah(e);for(var t=this._data,r=0;r<e.length;r++){if(!ds(t))return!1;t=t[e[r]]}return t!==void 0};Cr.prototype.update=function(e){var t=this;return r([],t._data,e),t;function r(n,i,s){if(!ds(s)||!ds(i))s!==i&&t.set(n,s);else if(Array.isArray(s)!=Array.isArray(i))t.set(n,s);else if(Array.isArray(s))if(s.length>i.length)for(var o=0;o<s.length;o++)n.push(String(o)),r(n,i[o],s[o]),n.pop();else for(var o=i.length-1;o>=0;o--)n.push(String(o)),r(n,i[o],s[o]),n.pop();else{for(var o in s)n.push(String(o)),r(n,i[o],s[o]),n.pop();for(var o in i)o in s||(n.push(String(o)),r(n,i[o],s[o]),n.pop())}}};Cr.prototype.toString=function(){return this._tokens.map(function(e){return e.raw}).join("")};uh.exports.Document=Cr;uh.exports.update=function(t,r,n){return Cr(t,n).update(r).toString()}});var pE=_((E7,xa)=>{var FN=M("fs"),LN=ms();xa.exports.register=function(){var e=M,t="extensions";e[t][".json5"]=function(r,n){r.exports=LN.parse(FN.readFileSync(n,"utf8"))}};xa.exports.patch_JSON_parse=function(){var e=JSON.parse;JSON.parse=function(t,r){try{return e(t,r)}catch(n){throw ms().parse(t,{mode:"json",legacy:!0,reviver:r,reserved_keys:"replace",null_prototype:!1}),n}}};xa.exports.middleware=function(){return function(e,t,r){throw Error("this function is removed, use express-json5 instead")}}});var ms=_((w7,Pn)=>{Pn.exports.__defineGetter__("parse",function(){return hs().parse});Pn.exports.__defineGetter__("stringify",function(){return sh().stringify});Pn.exports.__defineGetter__("tokenize",function(){return hs().tokenize});Pn.exports.__defineGetter__("update",function(){return hE().update});Pn.exports.__defineGetter__("analyze",function(){return oh().analyze});Pn.exports.__defineGetter__("utils",function(){return pE()})});var Pa=_(Zr=>{"use strict";var _a=Zr&&Zr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Zr,"__esModule",{value:!0});Zr.getRushWorkspaces=Zr.getRushWorkspaceRoot=void 0;var TN=_a(zn()),Oa=_a(M("path")),kN=_a(ms()),NN=_a(M("fs")),IN=rs();function dE(e){let t=TN.default.sync("rush.json",{cwd:e});if(!t)throw new Error("Could not find rush workspaces root");return Oa.default.dirname(t)}Zr.getRushWorkspaceRoot=dE;function $N(e){try{let t=dE(e),r=Oa.default.join(t,"rush.json"),n=kN.default.parse(NN.default.readFileSync(r,"utf-8")),i=Oa.default.dirname(r);return(0,IN.getWorkspacePackageInfo)(n.projects.map(s=>Oa.default.join(i,s.projectFolder)))}catch{return[]}}Zr.getRushWorkspaces=$N});var ch=_(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.getNpmWorkspaces=pi.getNpmWorkspaceRoot=void 0;var mE=Sf();function gE(e){let t=(0,mE.getPackageJsonWorkspaceRoot)(e);if(!t)throw new Error("Could not find NPM workspaces root");return t}pi.getNpmWorkspaceRoot=gE;function BN(e){let t=gE(e);return(0,mE.getWorkspaceInfoFromWorkspaceRoot)(t)}pi.getNpmWorkspaces=BN});var lh=_(en=>{"use strict";var Ra=en&&en.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(en,"__esModule",{value:!0});en.getLernaWorkspaces=en.getLernaWorkspaceRoot=void 0;var MN=Ra(zn()),jN=Ra(M("fs")),qN=Ra(ms()),yE=Ra(M("path")),GN=ha(),UN=rs();function vE(e){let t=MN.default.sync("lerna.json",{cwd:e});if(!t)throw new Error("Could not find lerna workspace root");return yE.default.dirname(t)}en.getLernaWorkspaceRoot=vE;function HN(e,t){try{let r=vE(e),n=yE.default.join(r,"lerna.json"),i=qN.default.parse(jN.default.readFileSync(n,"utf-8")),s=(0,GN.getPackagePaths)(r,i.packages,t);return(0,UN.getWorkspacePackageInfo)(s)}catch{return[]}}en.getLernaWorkspaces=HN});var Fa=_(Da=>{"use strict";Object.defineProperty(Da,"__esModule",{value:!0});Da.getWorkspaces=void 0;var WN=Ro(),zN=process.env.PREFERRED_WORKSPACE_MANAGER;function YN(e){let t=zN||(0,WN.getWorkspaceImplementation)(e);if(!t)return[];switch(t){case"yarn":return pa().getYarnWorkspaces(e);case"pnpm":return Sa().getPnpmWorkspaces(e);case"rush":return Pa().getRushWorkspaces(e);case"npm":return ch().getNpmWorkspaces(e);case"lerna":return lh().getLernaWorkspaces(e)}}Da.getWorkspaces=YN});var fh=_(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di._resetCache=di.getAllPackageJsonFiles=void 0;var VN=Fa(),La=new Map;function KN(e){if(La.has(e))return La.get(e);let r=(0,VN.getWorkspaces)(e).map(n=>n.packageJson.packageJsonPath);return La.set(e,r),r}di.getAllPackageJsonFiles=KN;function XN(){La.clear()}di._resetCache=XN});var EE=_(mi=>{"use strict";var JN=mi&&mi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(mi,"__esModule",{value:!0});mi.getPackageInfos=void 0;var QN=JN(M("fs")),ZN=Kd(),eI=fh();function tI(e){let t=(0,eI.getAllPackageJsonFiles)(e),r={};return t&&t.length>0?(t.forEach(n=>{try{let i=JSON.parse(QN.default.readFileSync(n,"utf-8"));r[i.name]=(0,ZN.infoFromPackageJson)(i,n)}catch(i){throw i instanceof Error?new Error(`Invalid package.json file detected ${n}: ${i.message}`):i}}),r):{}}mi.getPackageInfos=tI});var gs=_(It=>{"use strict";Object.defineProperty(It,"__esModule",{value:!0});It.gitFailFast=It.git=It.clearGitObservers=It.addGitObserver=It.GitError=void 0;var rI=M("child_process"),Ta=class extends Error{constructor(t,r){r instanceof Error?super(`${t}: ${r.message}`):super(t),this.originalError=r}};It.GitError=Ta;var nI=process.env.GIT_MAX_BUFFER?parseInt(process.env.GIT_MAX_BUFFER):500*1024*1024,gi=[],hh;function iI(e){return gi.push(e),()=>oI(e)}It.addGitObserver=iI;function sI(){gi.splice(0,gi.length)}It.clearGitObservers=sI;function oI(e){let t=gi.indexOf(e);t>-1&&gi.splice(t,1)}function AE(e,t){let r=(0,rI.spawnSync)("git",e,{maxBuffer:nI,...t}),n={stderr:r.stderr.toString().trimRight(),stdout:r.stdout.toString().trimRight(),success:r.status===0};if(!hh){hh=!0;for(let i of gi)i(e,n);hh=!1}return n}It.git=AE;function aI(e,t){var r,n;let i=AE(e,t);if(!i.success)throw t?.noExitCode||(process.exitCode=1),new Ta(`CRITICAL ERROR: running git command: git ${e.join(" ")}!
44
44
  ${(r=i.stdout)===null||r===void 0?void 0:r.toString().trimRight()}
45
- ${(n=i.stderr)===null||n===void 0?void 0:n.toString().trimRight()}`)}_t.gitFailFast=LP});var Tl=F(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.getWorkspaceRoot=void 0;var NP=Ts(),BP=process.env.PREFERRED_WORKSPACE_MANAGER;function $P(e){let t=BP||(0,NP.getWorkspaceImplementation)(e);if(t)switch(t){case"yarn":return vo().getYarnWorkspaceRoot(e);case"pnpm":return Oo().getPnpmWorkspaceRoot(e);case"rush":return To().getRushWorkspaceRoot(e);case"npm":return Fl().getNpmWorkspaceRoot(e);case"lerna":return kl().getLernaWorkspaceRoot(e)}}Mo.getWorkspaceRoot=$P});var Il=F(at=>{"use strict";var sy=at&&at.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(at,"__esModule",{value:!0});at.isChildOf=at.findProjectRoot=at.findPackageRoot=at.findGitRoot=at.searchUp=void 0;var zi=sy(M("path")),MP=sy(M("fs")),jP=Tl(),qP=jo();function oy(e,t){let r=zi.default.parse(t).root,n=!1;for(;!n&&t!==r;){if(MP.default.existsSync(zi.default.join(t,e))){n=!0;break}t=zi.default.dirname(t)}return n?t:null}at.searchUp=oy;function ay(e){let t=(0,qP.git)(["rev-parse","--show-toplevel"],{cwd:e});if(!t.success)throw new Error(`Directory "${e}" is not in a git repository`);return zi.default.normalize(t.stdout)}at.findGitRoot=ay;function HP(e){return oy("package.json",e)}at.findPackageRoot=HP;function GP(e){let t;try{t=(0,jP.getWorkspaceRoot)(e)}catch{}return t||ay(e)}at.findProjectRoot=GP;function UP(e,t){let r=zi.default.relative(e,t);return/^[.\/\\]+$/.test(r)}at.isChildOf=UP});var Ll=F((P6,uy)=>{"use strict";uy.exports=function(t,r){r===!0&&(r=0);var n="";if(typeof t=="string")try{n=new URL(t).protocol}catch{}else t&&t.constructor===URL&&(n=t.protocol);var i=n.split(/\:|\+/).filter(Boolean);return typeof r=="number"?i[r]:i}});var ly=F((D6,cy)=>{"use strict";var WP=Ll();function YP(e){var t={protocols:[],protocol:null,port:null,resource:"",host:"",user:"",password:"",pathname:"",hash:"",search:"",href:e,query:{},parse_failed:!1};try{var r=new URL(e);t.protocols=WP(r),t.protocol=t.protocols[0],t.port=r.port,t.resource=r.hostname,t.host=r.host,t.user=r.username||"",t.password=r.password||"",t.pathname=r.pathname,t.hash=r.hash.slice(1),t.search=r.search.slice(1),t.href=r.href,t.query=Object.fromEntries(r.searchParams)}catch{t.protocols=["file"],t.protocol=t.protocols[0],t.port="",t.resource="",t.user="",t.pathname="",t.hash="",t.search="",t.href=e,t.query={},t.parse_failed=!0}return t}cy.exports=YP});var dy=F((T6,hy)=>{"use strict";var zP=ly();function VP(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var KP=VP(zP),XP="text/plain",QP="us-ascii",fy=(e,t)=>t.some(r=>r instanceof RegExp?r.test(e):r===e),JP=(e,{stripHash:t})=>{let r=/^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$/.exec(e);if(!r)throw new Error(`Invalid URL: ${e}`);let{type:n,data:i,hash:s}=r.groups,o=n.split(";");s=t?"":s;let a=!1;o[o.length-1]==="base64"&&(o.pop(),a=!0);let u=(o.shift()||"").toLowerCase(),f=[...o.map(l=>{let[h,d=""]=l.split("=").map(g=>g.trim());return h==="charset"&&(d=d.toLowerCase(),d===QP)?"":`${h}${d?`=${d}`:""}`}).filter(Boolean)];return a&&f.push("base64"),(f.length>0||u&&u!==XP)&&f.unshift(u),`data:${f.join(";")},${a?i.trim():i}${s?`#${s}`:""}`};function ZP(e,t){if(t={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,sortQueryParameters:!0,...t},e=e.trim(),/^data:/i.test(e))return JP(e,t);if(/^view-source:/i.test(e))throw new Error("`view-source:` is not supported as it is a non-standard protocol");let r=e.startsWith("//");!r&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));let i=new URL(e);if(t.forceHttp&&t.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&i.protocol==="https:"&&(i.protocol="http:"),t.forceHttps&&i.protocol==="http:"&&(i.protocol="https:"),t.stripAuthentication&&(i.username="",i.password=""),t.stripHash?i.hash="":t.stripTextFragment&&(i.hash=i.hash.replace(/#?:~:text.*?$/i,"")),i.pathname){let o=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,a=0,u="";for(;;){let f=o.exec(i.pathname);if(!f)break;let l=f[0],h=f.index,d=i.pathname.slice(a,h);u+=d.replace(/\/{2,}/g,"/"),u+=l,a=h+l.length}let c=i.pathname.slice(a,i.pathname.length);u+=c.replace(/\/{2,}/g,"/"),i.pathname=u}if(i.pathname)try{i.pathname=decodeURI(i.pathname)}catch{}if(t.removeDirectoryIndex===!0&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let o=i.pathname.split("/"),a=o[o.length-1];fy(a,t.removeDirectoryIndex)&&(o=o.slice(0,-1),i.pathname=o.slice(1).join("/")+"/")}if(i.hostname&&(i.hostname=i.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(i.hostname)&&(i.hostname=i.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(let o of[...i.searchParams.keys()])fy(o,t.removeQueryParameters)&&i.searchParams.delete(o);if(t.removeQueryParameters===!0&&(i.search=""),t.sortQueryParameters){i.searchParams.sort();try{i.search=decodeURIComponent(i.search)}catch{}}t.removeTrailingSlash&&(i.pathname=i.pathname.replace(/\/$/,""));let s=e;return e=i.toString(),!t.removeSingleSlash&&i.pathname==="/"&&!s.endsWith("/")&&i.hash===""&&(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||i.pathname==="/")&&i.hash===""&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),r&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}var Nl=(e,t=!1)=>{let r=/^(?:([a-z_][a-z0-9_-]{0,31})@|https?:\/\/)([\w\.\-@]+)[\/:]([\~,\.\w,\-,\_,\/]+?(?:\.git|\/)?)$/,n=s=>{let o=new Error(s);throw o.subject_url=e,o};(typeof e!="string"||!e.trim())&&n("Invalid url."),e.length>Nl.MAX_INPUT_LENGTH&&n("Input exceeds maximum length. If needed, change the value of parseUrl.MAX_INPUT_LENGTH."),t&&(typeof t!="object"&&(t={stripHash:!1}),e=ZP(e,t));let i=KP.default(e);if(i.parse_failed){let s=i.href.match(r);s?(i.protocols=["ssh"],i.protocol="ssh",i.resource=s[2],i.host=s[2],i.user=s[1],i.pathname=`/${s[3]}`,i.parse_failed=!1):n("URL parsing failed.")}return i};Nl.MAX_INPUT_LENGTH=2048;hy.exports=Nl});var my=F((I6,gy)=>{"use strict";var eD=Ll();function py(e){if(Array.isArray(e))return e.indexOf("ssh")!==-1||e.indexOf("rsync")!==-1;if(typeof e!="string")return!1;var t=eD(e);if(e=e.substring(e.indexOf("://")+3),py(t))return!0;var r=new RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!e.match(r)&&e.indexOf("@")<e.indexOf(":")}gy.exports=py});var Ey=F((L6,vy)=>{"use strict";var tD=dy(),yy=my();function rD(e){var t=tD(e);return t.token="",t.password==="x-oauth-basic"?t.token=t.user:t.user==="x-token-auth"&&(t.token=t.password),yy(t.protocols)||t.protocols.length===0&&yy(e)?t.protocol="ssh":t.protocols.length?t.protocol=t.protocols[0]:(t.protocol="file",t.protocols=["file"]),t.href=t.href.replace(/\/$/,""),t}vy.exports=rD});var Sy=F((N6,Ay)=>{"use strict";var nD=Ey();function Bl(e){if(typeof e!="string")throw new Error("The url must be a string.");var t=/^([a-z\d-]{1,39})\/([-\.\w]{1,100})$/i;t.test(e)&&(e="https://github.com/"+e);var r=nD(e),n=r.resource.split("."),i=null;switch(r.toString=function(w){return Bl.stringify(this,w)},r.source=n.length>2?n.slice(1-n.length).join("."):r.source=r.resource,r.git_suffix=/\.git$/.test(r.pathname),r.name=decodeURIComponent((r.pathname||r.href).replace(/(^\/)|(\/$)/g,"").replace(/\.git$/,"")),r.owner=decodeURIComponent(r.user),r.source){case"git.cloudforge.com":r.owner=r.user,r.organization=n[0],r.source="cloudforge.com";break;case"visualstudio.com":if(r.resource==="vs-ssh.visualstudio.com"){i=r.name.split("/"),i.length===4&&(r.organization=i[1],r.owner=i[2],r.name=i[3],r.full_name=i[2]+"/"+i[3]);break}else{i=r.name.split("/"),i.length===2?(r.owner=i[1],r.name=i[1],r.full_name="_git/"+r.name):i.length===3?(r.name=i[2],i[0]==="DefaultCollection"?(r.owner=i[2],r.organization=i[0],r.full_name=r.organization+"/_git/"+r.name):(r.owner=i[0],r.full_name=r.owner+"/_git/"+r.name)):i.length===4&&(r.organization=i[0],r.owner=i[1],r.name=i[3],r.full_name=r.organization+"/"+r.owner+"/_git/"+r.name);break}case"dev.azure.com":case"azure.com":if(r.resource==="ssh.dev.azure.com"){i=r.name.split("/"),i.length===4&&(r.organization=i[1],r.owner=i[2],r.name=i[3]);break}else{i=r.name.split("/"),i.length===5?(r.organization=i[0],r.owner=i[1],r.name=i[4],r.full_name="_git/"+r.name):i.length===3?(r.name=i[2],i[0]==="DefaultCollection"?(r.owner=i[2],r.organization=i[0],r.full_name=r.organization+"/_git/"+r.name):(r.owner=i[0],r.full_name=r.owner+"/_git/"+r.name)):i.length===4&&(r.organization=i[0],r.owner=i[1],r.name=i[3],r.full_name=r.organization+"/"+r.owner+"/_git/"+r.name),r.query&&r.query.path&&(r.filepath=r.query.path.replace(/^\/+/g,"")),r.query&&r.query.version&&(r.ref=r.query.version.replace(/^GB/,""));break}default:i=r.name.split("/");var s=i.length-1;if(i.length>=2){var o=i.indexOf("-",2),a=i.indexOf("blob",2),u=i.indexOf("tree",2),c=i.indexOf("commit",2),f=i.indexOf("src",2),l=i.indexOf("raw",2),h=i.indexOf("edit",2);s=o>0?o-1:a>0?a-1:u>0?u-1:c>0?c-1:f>0?f-1:l>0?l-1:h>0?h-1:s,r.owner=i.slice(0,s).join("/"),r.name=i[s],c&&(r.commit=i[s+2])}r.ref="",r.filepathtype="",r.filepath="";var d=i.length>s&&i[s+1]==="-"?s+1:s;i.length>d+2&&["raw","src","blob","tree","edit"].indexOf(i[d+1])>=0&&(r.filepathtype=i[d+1],r.ref=i[d+2],i.length>d+3&&(r.filepath=i.slice(d+3).join("/"))),r.organization=r.owner;break}r.full_name||(r.full_name=r.owner,r.name&&(r.full_name&&(r.full_name+="/"),r.full_name+=r.name)),r.owner.startsWith("scm/")&&(r.source="bitbucket-server",r.owner=r.owner.replace("scm/",""),r.organization=r.owner,r.full_name=r.owner+"/"+r.name);var g=/(projects|users)\/(.*?)\/repos\/(.*?)((\/.*$)|$)/,S=g.exec(r.pathname);return S!=null&&(r.source="bitbucket-server",S[1]==="users"?r.owner="~"+S[2]:r.owner=S[2],r.organization=r.owner,r.name=S[3],i=S[4].split("/"),i.length>1&&(["raw","browse"].indexOf(i[1])>=0?(r.filepathtype=i[1],i.length>2&&(r.filepath=i.slice(2).join("/"))):i[1]==="commits"&&i.length>2&&(r.commit=i[2])),r.full_name=r.owner+"/"+r.name,r.query.at?r.ref=r.query.at:r.ref=""),r}Bl.stringify=function(e,t){t=t||(e.protocols&&e.protocols.length?e.protocols.join("+"):e.protocol);var r=e.port?":"+e.port:"",n=e.user||"git",i=e.git_suffix?".git":"";switch(t){case"ssh":return r?"ssh://"+n+"@"+e.resource+r+"/"+e.full_name+i:n+"@"+e.resource+":"+e.full_name+i;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return t+"://"+n+"@"+e.resource+r+"/"+e.full_name+i;case"http":case"https":var s=e.token?iD(e):e.user&&(e.protocols.includes("http")||e.protocols.includes("https"))?e.user+"@":"";return t+"://"+s+e.resource+r+"/"+sD(e)+i;default:return e.href}};function iD(e){switch(e.source){case"bitbucket.org":return"x-token-auth:"+e.token+"@";default:return e.token+"@"}}function sD(e){switch(e.source){case"bitbucket-server":return"scm/"+e.full_name;default:return""+e.full_name}}Ay.exports=Bl});var wy=F(Vn=>{"use strict";var oD=Vn&&Vn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Vn,"__esModule",{value:!0});Vn.getRepositoryName=void 0;var aD=oD(Sy());function uD(e){var t;try{let r=e.replace("/_optimized/","/").replace("/DefaultCollection/","/"),n=(0,aD.default)(r),i=r.includes(".visualstudio.com"),s=r.includes("dev.azure.com");if(!i&&!s)return n.full_name;let o=n.full_name.match(/(vs-ssh\.visualstudio\.com|ssh\.dev\.azure\.com):v\d+\/([^/]+)\/([^/]+)/);if(o)return`${o[2]}/${o[3]}/${n.name}`;let a=n.organization;return!a&&i&&(a=(t=n.resource.match(/([^.@]+)\.visualstudio\.com/))===null||t===void 0?void 0:t[1]),`${a}/${n.owner}/${n.name}`}catch{return""}}Vn.getRepositoryName=uD});var $l=F(Kn=>{"use strict";var _y=Kn&&Kn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Kn,"__esModule",{value:!0});Kn.getDefaultRemote=void 0;var cD=_y(M("fs")),lD=_y(M("path")),fD=Il(),Cy=wy(),hD=Yi();function dD(e){let t=typeof e=="string"?{cwd:e}:e,{cwd:r,strict:n,verbose:i}=t,s=k=>i&&console.log(k),o=k=>{if(n)throw new Error(k);s(k)},a=(0,fD.findGitRoot)(r),u={},c=lD.default.join(a,"package.json");try{u=JSON.parse(cD.default.readFileSync(c,"utf8").trim())}catch{o(`Could not read "${c}"`)}let{repository:f}=u,l=typeof f=="string"?f:f&&f.url||"";l||console.log(`Valid "repository" key not found in "${c}". Consider adding this info for more accurate git remote detection.`);let h=(0,Cy.getRepositoryName)(l),d=(0,hD.git)(["remote","-v"],{cwd:r});d.success||o(`Could not determine available git remotes under "${r}"`);let g={};if(d.stdout.split(`
46
- `).forEach(k=>{let[_,N]=k.split(/\s+/),D=(0,Cy.getRepositoryName)(N);D&&(g[D]=_)}),h){if(g[h])return g[h];o(`Could not find remote pointing to repository "${h}".`)}let S=Object.values(g),w=["upstream","origin",...S];for(let k of w)if(S.includes(k))return s(`Default to remote "${k}"`),k;return o(`Could not find any remotes in git repo at "${a}".`),s('Assuming default remote "origin".'),"origin"}Kn.getDefaultRemote=dD});var Ml=F(se=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0});se.listAllTrackedFiles=se.getDefaultBranch=se.parseRemoteBranch=se.getRemoteBranch=se.getParentBranch=se.revertLocalChanges=se.stageAndCommit=se.commit=se.stage=se.init=se.getFileAddedHash=se.getCurrentHash=se.getShortBranchName=se.getFullBranchRef=se.getBranchName=se.getUserEmail=se.getRecentCommitMessages=se.getStagedChanges=se.getChangesBetweenRefs=se.getBranchChanges=se.getChanges=se.getUnstagedChanges=se.fetchRemoteBranch=se.fetchRemote=se.getUntrackedChanges=void 0;var le=Yi();function pD(e){try{return Vi((0,le.git)(["ls-files","--others","--exclude-standard"],{cwd:e}))}catch(t){throw new le.GitError("Cannot gather information about untracked changes",t)}}se.getUntrackedChanges=pD;function gD(e,t){if(!(0,le.git)(["fetch","--",e],{cwd:t}).success)throw new le.GitError(`Cannot fetch remote "${e}"`)}se.fetchRemote=gD;function mD(e,t,r){if(!(0,le.git)(["fetch","--",e,t],{cwd:r}).success)throw new le.GitError(`Cannot fetch branch "${t}" from remote "${e}"`)}se.fetchRemoteBranch=mD;function yD(e){try{return Vi((0,le.git)(["--no-pager","diff","--name-only","--relative"],{cwd:e}))}catch(t){throw new le.GitError("Cannot gather information about unstaged changes",t)}}se.getUnstagedChanges=yD;function vD(e,t){try{return Vi((0,le.git)(["--no-pager","diff","--relative","--name-only",e+"..."],{cwd:t}))}catch(r){throw new le.GitError("Cannot gather information about changes",r)}}se.getChanges=vD;function ED(e,t){return xy(e,"",[],"",t)}se.getBranchChanges=ED;function xy(e,t,r,n,i){try{return Vi((0,le.git)(["--no-pager","diff","--name-only","--relative",...r,`${e}...${t}`,...n?["--",n]:[]],{cwd:i}))}catch(s){throw new le.GitError(`Cannot gather information about change between refs changes (${e} to ${t})`,s)}}se.getChangesBetweenRefs=xy;function AD(e){try{return Vi((0,le.git)(["--no-pager","diff","--relative","--staged","--name-only"],{cwd:e}))}catch(t){throw new le.GitError("Cannot gather information about staged changes",t)}}se.getStagedChanges=AD;function SD(e,t){try{let r=(0,le.git)(["log","--decorate","--pretty=format:%s",`${e}..HEAD`],{cwd:t});return r.success?r.stdout.split(/\n/).map(n=>n.trim()):[]}catch(r){throw new le.GitError("Cannot gather information about recent commits",r)}}se.getRecentCommitMessages=SD;function wD(e){try{let t=(0,le.git)(["config","user.email"],{cwd:e});return t.success?t.stdout:null}catch(t){throw new le.GitError("Cannot gather information about user.email",t)}}se.getUserEmail=wD;function by(e){try{let t=(0,le.git)(["rev-parse","--abbrev-ref","HEAD"],{cwd:e});return t.success?t.stdout:null}catch(t){throw new le.GitError("Cannot get branch name",t)}}se.getBranchName=by;function CD(e,t){let r=(0,le.git)(["show-ref","--heads",e],{cwd:t});return r.success?r.stdout.split(" ")[1]:null}se.getFullBranchRef=CD;function _D(e,t){let r=(0,le.git)(["name-rev","--name-only",e],{cwd:t});return r.success?r.stdout:null}se.getShortBranchName=_D;function xD(e){try{let t=(0,le.git)(["rev-parse","HEAD"],{cwd:e});return t.success?t.stdout:null}catch(t){throw new le.GitError("Cannot get current git hash",t)}}se.getCurrentHash=xD;function bD(e,t){let r=(0,le.git)(["rev-list","HEAD",e],{cwd:t});if(r.success)return r.stdout.trim().split(`
47
- `).slice(-1)[0]}se.getFileAddedHash=bD;function OD(e,t,r){(0,le.git)(["init"],{cwd:e});let n=(0,le.git)(["config","--list"],{cwd:e}).stdout.split(`
48
- `);if(!n.find(i=>i.includes("user.name"))){if(!r)throw new le.GitError("must include a username when initializing git repo");(0,le.git)(["config","user.name",r],{cwd:e})}if(!n.find(i=>i.includes("user.email"))){if(!t)throw new Error("must include a email when initializing git repo");(0,le.git)(["config","user.email",t],{cwd:e})}}se.init=OD;function Oy(e,t){try{e.forEach(r=>{(0,le.git)(["add",r],{cwd:t})})}catch(r){throw new le.GitError("Cannot stage changes",r)}}se.stage=Oy;function Ry(e,t,r=[]){try{let n=(0,le.git)(["commit","-m",e,...r],{cwd:t});if(!n.success)throw new Error(`Cannot commit changes: ${n.stdout} ${n.stderr}`)}catch(n){throw new le.GitError("Cannot commit changes",n)}}se.commit=Ry;function RD(e,t,r,n=[]){Oy(e,r),Ry(t,r,n)}se.stageAndCommit=RD;function FD(e){let t=`workspace-tools_${new Date().getTime()}`;(0,le.git)(["stash","push","-u","-m",t],{cwd:e});let r=(0,le.git)(["stash","list"]);if(r.success){let i=r.stdout.split(/\n/).find(s=>s.includes(t));if(i){let s=i.match(/^[^:]+/);if(s)return(0,le.git)(["stash","drop",s[0]]),!0}}return!1}se.revertLocalChanges=FD;function kD(e){let t=by(e);if(!t||t==="HEAD")return null;let r=(0,le.git)(["show-branch","-a"],{cwd:e});if(r.success){let i=r.stdout.split(/\n/).find(o=>o.includes("*")&&!o.includes(t)&&!o.includes("publish_")),s=i?.match(/\[(.*)\]/);return s?s[1]:null}return null}se.getParentBranch=kD;function PD(e,t){let r=(0,le.git)(["rev-parse","--abbrev-ref","--symbolic-full-name",`${e}@{u}`],{cwd:t});return r.success?r.stdout.trim():null}se.getRemoteBranch=PD;function DD(e){let t=e.indexOf("/",0),r=e.substring(0,t),n=e.substring(t+1);return{remote:r,remoteBranch:n}}se.parseRemoteBranch=DD;function TD(e){let t=(0,le.git)(["config","init.defaultBranch"],{cwd:e});return t.success?t.stdout.trim():"master"}se.getDefaultBranch=TD;function ID(e,t){let r=(0,le.git)(["ls-files",...e],{cwd:t});return r.success&&r.stdout.trim()?r.stdout.trim().split(/\n/):[]}se.listAllTrackedFiles=ID;function Vi(e){return e.success?e.stdout.split(/\n/).map(t=>t.trim()).filter(t=>!!t&&!t.includes("node_modules")):[]}});var Fy=F(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.getDefaultRemoteBranch=void 0;var LD=$l(),ND=Yi(),BD=Ml();function $D(...e){var t;let[r,n]=e,i=typeof r=="string"?{branch:r,cwd:n}:r,{cwd:s,branch:o}=i,a=(0,LD.getDefaultRemote)(i);if(o)return`${a}/${o}`;let u=(0,ND.git)(["remote","show",a],{cwd:s}),c;return u.success&&(c=(t=u.stdout.split(/\n/).find(f=>f.includes("HEAD branch")))===null||t===void 0?void 0:t.replace(/^\s*HEAD branch:\s+/,"")),`${a}/${c||(0,BD.getDefaultBranch)(s)}`}qo.getDefaultRemoteBranch=$D});var jo=F(Yt=>{"use strict";var MD=Yt&&Yt.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Ho=Yt&&Yt.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&MD(t,e,r)};Object.defineProperty(Yt,"__esModule",{value:!0});Ho(Yi(),Yt);Ho($l(),Yt);Ho(Fy(),Yt);Ho(Ml(),Yt)});var jl=F(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.createDependencyMap=void 0;var jD=Os();function qD(e,t={withDevDependencies:!0,withPeerDependencies:!1}){let r={dependencies:new Map,dependents:new Map};for(let[n,i]of Object.entries(e)){let s=(0,jD.getPackageDependencies)(i,e,t);for(let o of s)r.dependencies.has(n)||r.dependencies.set(n,new Set),r.dependencies.get(n).add(o),r.dependents.has(o)||r.dependents.set(o,new Set),r.dependents.get(o).add(n)}return r}Go.createDependencyMap=qD});var Py=F(Xn=>{"use strict";var HD=Xn&&Xn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Xn,"__esModule",{value:!0});Xn.createPackageGraph=void 0;var Ki=jl(),GD=HD(Ri());function UD(e,t){let r=new Set,n=[],i=new Set,s,o,a,u;function c(h,d,g,S){if(r.add(d),!h||h.includeDependencies&&g)for(let w of g){let k=f(d,w);i.has(k)||(i.add(k),n.push({name:d,dependency:w})),r.add(w)}if(!h||h.includeDependents&&S)for(let w of S){let k=f(w,d);i.has(k)||(i.add(k),n.push({name:w,dependency:d})),r.add(w)}}if(t){t=Array.isArray(t)?t:[t];for(let h of t){let d=c.bind(void 0,h),g=l(e,h);ky(e,g,d,h)}}else{let h=c.bind(void 0,void 0),d=l(e);ky(e,d,h)}return{packages:[...r],dependencies:n};function f(h,d){return`${h}->${d}`}function l(h,d){return d?d.withDevDependencies&&d.withPeerDependencies?(s??(s=(0,Ki.createDependencyMap)(h,d)),s):d.withDevDependencies&&!d.withPeerDependencies?(a??(a=(0,Ki.createDependencyMap)(h,d)),a):!d.withDevDependencies&&d.withPeerDependencies?(o??(o=(0,Ki.createDependencyMap)(h,d)),o):(u??(u=(0,Ki.createDependencyMap)(h,d)),u):(0,Ki.createDependencyMap)(h)}}Xn.createPackageGraph=UD;function ky(e,t,r,n){var i,s;let o=new Set,a=Object.keys(e),u=n?(0,GD.default)(a,n.namePatterns):a;for(;u.length>0;){let c=u.pop();if(o.has(c))continue;let f=new Set,l=[],h=[];if(!n||n.includeDependencies){l=[...(i=t.dependencies.get(c))!==null&&i!==void 0?i:[]];for(let d of l)f.add(d)}if(!n||n.includeDependents){h=[...(s=t.dependents.get(c))!==null&&s!==void 0?s:[]];for(let d of h)f.add(d)}if(r(c,l,h),o.add(c),f.size>0)for(let d of f)u.push(d)}}});var Dy=F(sr=>{"use strict";var WD=sr&&sr.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),YD=sr&&sr.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&WD(t,e,r)};Object.defineProperty(sr,"__esModule",{value:!0});sr.getDependentMap=void 0;YD(Py(),sr);var zD=jl();function VD(e){return(0,zD.createDependencyMap)(e).dependencies}sr.getDependentMap=VD});var Xi=F(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.nameAtVersion=void 0;function KD(e,t){return`${e}@${t}`}Uo.nameAtVersion=KD});var Ty=F(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.parsePnpmLock=void 0;var XD=Xi();function QD(e){let t={};if(e&&e.packages)for(let[r,n]of Object.entries(e.packages)){let i=r.split(/\//),s=i.length>3?`${i[1]}/${i[2]}`:i[1],o=i.length>3?i[3]:i[2];t[(0,XD.nameAtVersion)(s,o)]={version:o,dependencies:n.dependencies}}return{object:t,type:"success"}}Wo.parsePnpmLock=QD});var Iy=F(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.parseNpmLock=void 0;var JD=Xi();function ZD(e){var t;return{object:Object.fromEntries(Object.entries((t=e.dependencies)!==null&&t!==void 0?t:{}).map(([n,i])=>[(0,JD.nameAtVersion)(n,i.version),i])),type:"success"}}Yo.parseNpmLock=ZD});var Ny=F((V6,Ly)=>{Ly.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.i=function(n){return n},r.d=function(n,i,s){r.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:s})},r.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(i,"a",i),i},r.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},r.p="",r(r.s=14)}([function(e,t){e.exports=M("path")},function(e,t,r){"use strict";t.__esModule=!0;var n=r(173),i=s(n);function s(o){return o&&o.__esModule?o:{default:o}}t.default=function(o){return function(){var a=o.apply(this,arguments);return new i.default(function(u,c){function f(l,h){try{var d=a[l](h),g=d.value}catch(S){c(S);return}if(d.done)u(g);else return i.default.resolve(g).then(function(S){f("next",S)},function(S){f("throw",S)})}return f("next")})}}},function(e,t){e.exports=M("util")},function(e,t){e.exports=M("fs")},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(c,f){super(c),this.code=f}}t.MessageError=n;class i extends n{constructor(c,f,l){super(c,f),this.process=l}}t.ProcessSpawnError=i;class s extends n{}t.SecurityError=s;class o extends n{}t.ProcessTermError=o;class a extends Error{constructor(c,f){super(c),this.responseCode=f}}t.ResponseError=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFirstSuitableFolder=t.readFirstAvailableStream=t.makeTempDir=t.hardlinksWork=t.writeFilePreservingEol=t.getFileSizeOnDisk=t.walk=t.symlink=t.find=t.readJsonAndFile=t.readJson=t.readFileAny=t.hardlinkBulk=t.copyBulk=t.unlink=t.glob=t.link=t.chmod=t.lstat=t.exists=t.mkdirp=t.stat=t.access=t.rename=t.readdir=t.realpath=t.readlink=t.writeFile=t.open=t.readFileBuffer=t.lockQueue=t.constants=void 0;var n;function i(){return n=B(r(1))}let s=(()=>{var J=(0,(n||i()).default)(function*(K,Y,W,V){let he=(()=>{var ye=(0,(n||i()).default)(function*(je){let we=je.src,de=je.dest,Ci=je.type,ht=je.onFresh||Et,Fe=je.onDone||Et;if(ve.has(de.toLowerCase())?V.verbose(`The case-insensitive file ${de} shouldn't be copied twice in one bulk copy`):ve.add(de.toLowerCase()),Ci==="symlink"){yield xe((m||E()).default.dirname(de)),ht(),Ke.symlink.push({dest:de,linkname:we}),Fe();return}if(Y.ignoreBasenames.indexOf((m||E()).default.basename(we))>=0)return;let ke=yield Me(we),Kt;ke.isDirectory()&&(Kt=yield ce(we));let it;try{it=yield Me(de)}catch(Ze){if(Ze.code!=="ENOENT")throw Ze}if(it){let Ze=ke.isSymbolicLink()&&it.isSymbolicLink(),Xt=ke.isDirectory()&&it.isDirectory(),It=ke.isFile()&&it.isFile();if(It&&Se.has(de)){Fe(),V.verbose(V.lang("verboseFileSkipArtifact",we));return}if(It&&ke.size===it.size&&(0,(z||oe()).fileDatesEqual)(ke.mtime,it.mtime)){Fe(),V.verbose(V.lang("verboseFileSkip",we,de,ke.size,+ke.mtime));return}if(Ze){let qe=yield G(we);if(qe===(yield G(de))){Fe(),V.verbose(V.lang("verboseFileSkipSymlink",we,de,qe));return}}if(Xt){let qe=yield ce(de);vn(Kt,"src files not initialised");for(var Pt=qe,pr=Array.isArray(Pt),dt=0,Pt=pr?Pt:Pt[Symbol.iterator]();;){var An;if(pr){if(dt>=Pt.length)break;An=Pt[dt++]}else{if(dt=Pt.next(),dt.done)break;An=dt.value}let yr=An;if(Kt.indexOf(yr)<0){let Qt=(m||E()).default.join(de,yr);if(W.add(Qt),(yield Me(Qt)).isDirectory())for(var Dt=yield ce(Qt),gr=Array.isArray(Dt),pt=0,Dt=gr?Dt:Dt[Symbol.iterator]();;){var Sn;if(gr){if(pt>=Dt.length)break;Sn=Dt[pt++]}else{if(pt=Dt.next(),pt.done)break;Sn=pt.value}let Ia=Sn;W.add((m||E()).default.join(Qt,Ia))}}}}}if(it&&it.isSymbolicLink()&&(yield(0,(z||oe()).unlink)(de),it=null),ke.isSymbolicLink()){ht();let Ze=yield G(we);Ke.symlink.push({dest:de,linkname:Ze}),Fe()}else if(ke.isDirectory()){it||(V.verbose(V.lang("verboseFileFolder",de)),yield xe(de));let Ze=de.split((m||E()).default.sep);for(;Ze.length;)ve.add(Ze.join((m||E()).default.sep).toLowerCase()),Ze.pop();vn(Kt,"src files not initialised");let Xt=Kt.length;Xt||Fe();for(var Tt=Kt,mr=Array.isArray(Tt),gt=0,Tt=mr?Tt:Tt[Symbol.iterator]();;){var Je;if(mr){if(gt>=Tt.length)break;Je=Tt[gt++]}else{if(gt=Tt.next(),gt.done)break;Je=gt.value}let It=Je;K.push({dest:(m||E()).default.join(de,It),onFresh:ht,onDone:function(qe){function yr(){return qe.apply(this,arguments)}return yr.toString=function(){return qe.toString()},yr}(function(){--Xt===0&&Fe()}),src:(m||E()).default.join(we,It)})}}else if(ke.isFile())ht(),Ke.file.push({src:we,dest:de,atime:ke.atime,mtime:ke.mtime,mode:ke.mode}),Fe();else throw new Error(`unsure how to copy this: ${we}`)});return function(we){return ye.apply(this,arguments)}})(),Se=new Set(Y.artifactFiles||[]),ve=new Set;for(var ge=K,Ae=Array.isArray(ge),pe=0,ge=Ae?ge:ge[Symbol.iterator]();;){var ft;if(Ae){if(pe>=ge.length)break;ft=ge[pe++]}else{if(pe=ge.next(),pe.done)break;ft=pe.value}let ye=ft,je=ye.onDone;ye.onDone=function(){Y.onProgress(ye.dest),je&&je()}}Y.onStart(K.length);let Ke={file:[],symlink:[],link:[]};for(;K.length;){let ye=K.splice(0,Gr);yield Promise.all(ye.map(he))}for(var Xe=Se,dr=Array.isArray(Xe),Ft=0,Xe=dr?Xe:Xe[Symbol.iterator]();;){var Ur;if(dr){if(Ft>=Xe.length)break;Ur=Xe[Ft++]}else{if(Ft=Xe.next(),Ft.done)break;Ur=Ft.value}let ye=Ur;W.has(ye)&&(V.verbose(V.lang("verboseFilePhantomExtraneous",ye)),W.delete(ye))}for(var Qe=W,wi=Array.isArray(Qe),kt=0,Qe=wi?Qe:Qe[Symbol.iterator]();;){var Wr;if(wi){if(kt>=Qe.length)break;Wr=Qe[kt++]}else{if(kt=Qe.next(),kt.done)break;Wr=kt.value}let ye=Wr;ve.has(ye.toLowerCase())&&W.delete(ye)}return Ke});return function(Y,W,V,he){return J.apply(this,arguments)}})(),o=(()=>{var J=(0,(n||i()).default)(function*(K,Y,W,V){let he=(()=>{var ye=(0,(n||i()).default)(function*(je){let we=je.src,de=je.dest,Ci=je.onFresh||Et,ht=je.onDone||Et;if(ve.has(de.toLowerCase())){ht();return}if(ve.add(de.toLowerCase()),Y.ignoreBasenames.indexOf((m||E()).default.basename(we))>=0)return;let Fe=yield Me(we),ke;Fe.isDirectory()&&(ke=yield ce(we));let Kt=yield Rt(de);if(Kt){let Je=yield Me(de),Ze=Fe.isSymbolicLink()&&Je.isSymbolicLink(),Xt=Fe.isDirectory()&&Je.isDirectory(),It=Fe.isFile()&&Je.isFile();if(Fe.mode!==Je.mode)try{yield fe(de,Fe.mode)}catch(qe){V.verbose(qe)}if(It&&Se.has(de)){ht(),V.verbose(V.lang("verboseFileSkipArtifact",we));return}if(It&&Fe.ino!==null&&Fe.ino===Je.ino){ht(),V.verbose(V.lang("verboseFileSkip",we,de,Fe.ino));return}if(Ze){let qe=yield G(we);if(qe===(yield G(de))){ht(),V.verbose(V.lang("verboseFileSkipSymlink",we,de,qe));return}}if(Xt){let qe=yield ce(de);vn(ke,"src files not initialised");for(var dt=qe,it=Array.isArray(dt),pr=0,dt=it?dt:dt[Symbol.iterator]();;){var Pt;if(it){if(pr>=dt.length)break;Pt=dt[pr++]}else{if(pr=dt.next(),pr.done)break;Pt=pr.value}let yr=Pt;if(ke.indexOf(yr)<0){let Qt=(m||E()).default.join(de,yr);if(W.add(Qt),(yield Me(Qt)).isDirectory())for(var pt=yield ce(Qt),An=Array.isArray(pt),gr=0,pt=An?pt:pt[Symbol.iterator]();;){var Dt;if(An){if(gr>=pt.length)break;Dt=pt[gr++]}else{if(gr=pt.next(),gr.done)break;Dt=gr.value}let Ia=Dt;W.add((m||E()).default.join(Qt,Ia))}}}}}if(Fe.isSymbolicLink()){Ci();let Je=yield G(we);Ke.symlink.push({dest:de,linkname:Je}),ht()}else if(Fe.isDirectory()){V.verbose(V.lang("verboseFileFolder",de)),yield xe(de);let Je=de.split((m||E()).default.sep);for(;Je.length;)ve.add(Je.join((m||E()).default.sep).toLowerCase()),Je.pop();vn(ke,"src files not initialised");let Ze=ke.length;Ze||ht();for(var gt=ke,Sn=Array.isArray(gt),mr=0,gt=Sn?gt:gt[Symbol.iterator]();;){var Tt;if(Sn){if(mr>=gt.length)break;Tt=gt[mr++]}else{if(mr=gt.next(),mr.done)break;Tt=mr.value}let Xt=Tt;K.push({onFresh:Ci,src:(m||E()).default.join(we,Xt),dest:(m||E()).default.join(de,Xt),onDone:function(It){function qe(){return It.apply(this,arguments)}return qe.toString=function(){return It.toString()},qe}(function(){--Ze===0&&ht()})})}}else if(Fe.isFile())Ci(),Ke.link.push({src:we,dest:de,removeDest:Kt}),ht();else throw new Error(`unsure how to copy this: ${we}`)});return function(we){return ye.apply(this,arguments)}})(),Se=new Set(Y.artifactFiles||[]),ve=new Set;for(var ge=K,Ae=Array.isArray(ge),pe=0,ge=Ae?ge:ge[Symbol.iterator]();;){var ft;if(Ae){if(pe>=ge.length)break;ft=ge[pe++]}else{if(pe=ge.next(),pe.done)break;ft=pe.value}let ye=ft,je=ye.onDone||Et;ye.onDone=function(){Y.onProgress(ye.dest),je()}}Y.onStart(K.length);let Ke={file:[],symlink:[],link:[]};for(;K.length;){let ye=K.splice(0,Gr);yield Promise.all(ye.map(he))}for(var Xe=Se,dr=Array.isArray(Xe),Ft=0,Xe=dr?Xe:Xe[Symbol.iterator]();;){var Ur;if(dr){if(Ft>=Xe.length)break;Ur=Xe[Ft++]}else{if(Ft=Xe.next(),Ft.done)break;Ur=Ft.value}let ye=Ur;W.has(ye)&&(V.verbose(V.lang("verboseFilePhantomExtraneous",ye)),W.delete(ye))}for(var Qe=W,wi=Array.isArray(Qe),kt=0,Qe=wi?Qe:Qe[Symbol.iterator]();;){var Wr;if(wi){if(kt>=Qe.length)break;Wr=Qe[kt++]}else{if(kt=Qe.next(),kt.done)break;Wr=kt.value}let ye=Wr;ve.has(ye.toLowerCase())&&W.delete(ye)}return Ke});return function(Y,W,V,he){return J.apply(this,arguments)}})(),a=t.copyBulk=(()=>{var J=(0,(n||i()).default)(function*(K,Y,W){let V={onStart:W&&W.onStart||Et,onProgress:W&&W.onProgress||Et,possibleExtraneous:W?W.possibleExtraneous:new Set,ignoreBasenames:W&&W.ignoreBasenames||[],artifactFiles:W&&W.artifactFiles||[]},he=yield s(K,V,V.possibleExtraneous,Y);V.onStart(he.file.length+he.symlink.length+he.link.length);let Se=he.file,ve=new Map;yield(v||P()).queue(Se,(()=>{var pe=(0,(n||i()).default)(function*(ge){let ft;for(;ft=ve.get(ge.dest);)yield ft;Y.verbose(Y.lang("verboseFileCopy",ge.src,ge.dest));let Ke=(0,(z||oe()).copyFile)(ge,function(){return ve.delete(ge.dest)});return ve.set(ge.dest,Ke),V.onProgress(ge.dest),Ke});return function(ge){return pe.apply(this,arguments)}})(),Gr);let Ae=he.symlink;yield(v||P()).queue(Ae,function(pe){let ge=(m||E()).default.resolve((m||E()).default.dirname(pe.dest),pe.linkname);return Y.verbose(Y.lang("verboseFileSymlink",pe.dest,ge)),d(ge,pe.dest)})});return function(Y,W,V){return J.apply(this,arguments)}})(),u=t.hardlinkBulk=(()=>{var J=(0,(n||i()).default)(function*(K,Y,W){let V={onStart:W&&W.onStart||Et,onProgress:W&&W.onProgress||Et,possibleExtraneous:W?W.possibleExtraneous:new Set,artifactFiles:W&&W.artifactFiles||[],ignoreBasenames:[]},he=yield o(K,V,V.possibleExtraneous,Y);V.onStart(he.file.length+he.symlink.length+he.link.length);let Se=he.link;yield(v||P()).queue(Se,(()=>{var Ae=(0,(n||i()).default)(function*(pe){Y.verbose(Y.lang("verboseFileLink",pe.src,pe.dest)),pe.removeDest&&(yield(0,(z||oe()).unlink)(pe.dest)),yield ws(pe.src,pe.dest)});return function(pe){return Ae.apply(this,arguments)}})(),Gr);let ve=he.symlink;yield(v||P()).queue(ve,function(Ae){let pe=(m||E()).default.resolve((m||E()).default.dirname(Ae.dest),Ae.linkname);return Y.verbose(Y.lang("verboseFileSymlink",Ae.dest,pe)),d(pe,Ae.dest)})});return function(Y,W,V){return J.apply(this,arguments)}})(),c=t.readFileAny=(()=>{var J=(0,(n||i()).default)(function*(K){for(var V=K,Y=Array.isArray(V),W=0,V=Y?V:V[Symbol.iterator]();;){var he;if(Y){if(W>=V.length)break;he=V[W++]}else{if(W=V.next(),W.done)break;he=W.value}let Se=he;if(yield Rt(Se))return Ta(Se)}return null});return function(Y){return J.apply(this,arguments)}})(),f=t.readJson=(()=>{var J=(0,(n||i()).default)(function*(K){return(yield l(K)).object});return function(Y){return J.apply(this,arguments)}})(),l=t.readJsonAndFile=(()=>{var J=(0,(n||i()).default)(function*(K){let Y=yield Ta(K);try{return{object:(0,($||U()).default)(JSON.parse(Si(Y))),content:Y}}catch(W){throw W.message=`${K}: ${W.message}`,W}});return function(Y){return J.apply(this,arguments)}})(),h=t.find=(()=>{var J=(0,(n||i()).default)(function*(K,Y){let W=Y.split((m||E()).default.sep);for(;W.length;){let V=W.concat(K).join((m||E()).default.sep);if(yield Rt(V))return V;W.pop()}return!1});return function(Y,W){return J.apply(this,arguments)}})(),d=t.symlink=(()=>{var J=(0,(n||i()).default)(function*(K,Y){try{if((yield Me(Y)).isSymbolicLink()&&(yield ne(Y))===K)return}catch(W){if(W.code!=="ENOENT")throw W}if(yield(0,(z||oe()).unlink)(Y),process.platform==="win32")yield _s(K,Y,"junction");else{let W;try{W=(m||E()).default.relative((R||b()).default.realpathSync((m||E()).default.dirname(Y)),(R||b()).default.realpathSync(K))}catch(V){if(V.code!=="ENOENT")throw V;W=(m||E()).default.relative((m||E()).default.dirname(Y),K)}yield _s(W||".",Y)}});return function(Y,W){return J.apply(this,arguments)}})(),g=t.walk=(()=>{var J=(0,(n||i()).default)(function*(K,Y,W=new Set){let V=[],he=yield ce(K);W.size&&(he=he.filter(function(ge){return!W.has(ge)}));for(var Ae=he,Se=Array.isArray(Ae),ve=0,Ae=Se?Ae:Ae[Symbol.iterator]();;){var pe;if(Se){if(ve>=Ae.length)break;pe=Ae[ve++]}else{if(ve=Ae.next(),ve.done)break;pe=ve.value}let ge=pe,ft=Y?(m||E()).default.join(Y,ge):ge,Ke=(m||E()).default.join(K,ge),dr=yield Me(Ke);V.push({relative:ft,basename:ge,absolute:Ke,mtime:+dr.mtime}),dr.isDirectory()&&(V=V.concat(yield g(Ke,ft,W)))}return V});return function(Y,W){return J.apply(this,arguments)}})(),S=t.getFileSizeOnDisk=(()=>{var J=(0,(n||i()).default)(function*(K){let Y=yield Me(K),W=Y.size,V=Y.blksize;return Math.ceil(W/V)*V});return function(Y){return J.apply(this,arguments)}})(),w=(()=>{var J=(0,(n||i()).default)(function*(K){if(!(yield Rt(K)))return;let Y=yield re(K);for(let W=0;W<Y.length;++W){if(Y[W]===rC)return`\r
49
- `;if(Y[W]===nC)return`
50
- `}});return function(Y){return J.apply(this,arguments)}})(),k=t.writeFilePreservingEol=(()=>{var J=(0,(n||i()).default)(function*(K,Y){let W=(yield w(K))||(x||p()).default.EOL;W!==`
51
- `&&(Y=Y.replace(/\n/g,W)),yield ie(K,Y)});return function(Y,W){return J.apply(this,arguments)}})(),_=t.hardlinksWork=(()=>{var J=(0,(n||i()).default)(function*(K){let Y="test-file"+Math.random(),W=(m||E()).default.join(K,Y),V=(m||E()).default.join(K,Y+"-link");try{yield ie(W,"test"),yield ws(W,V)}catch{return!1}finally{yield(0,(z||oe()).unlink)(W),yield(0,(z||oe()).unlink)(V)}return!0});return function(Y){return J.apply(this,arguments)}})(),N=t.makeTempDir=(()=>{var J=(0,(n||i()).default)(function*(K){let Y=(m||E()).default.join((x||p()).default.tmpdir(),`yarn-${K||""}-${Date.now()}-${Math.random()}`);return yield(0,(z||oe()).unlink)(Y),yield xe(Y),Y});return function(Y){return J.apply(this,arguments)}})(),D=t.readFirstAvailableStream=(()=>{var J=(0,(n||i()).default)(function*(K){for(var V=K,Y=Array.isArray(V),W=0,V=Y?V:V[Symbol.iterator]();;){var he;if(Y){if(W>=V.length)break;he=V[W++]}else{if(W=V.next(),W.done)break;he=W.value}let Se=he;try{let ve=yield q(Se,"r");return(R||b()).default.createReadStream(Se,{fd:ve})}catch{}}return null});return function(Y){return J.apply(this,arguments)}})(),A=t.getFirstSuitableFolder=(()=>{var J=(0,(n||i()).default)(function*(K,Y=j.W_OK|j.X_OK){let W={skipped:[],folder:null};for(var Se=K,V=Array.isArray(Se),he=0,Se=V?Se:Se[Symbol.iterator]();;){var ve;if(V){if(he>=Se.length)break;ve=Se[he++]}else{if(he=Se.next(),he.done)break;ve=he.value}let Ae=ve;try{return yield xe(Ae),yield fe(Ae,Y),W.folder=Ae,W}catch(pe){W.skipped.push({error:pe,folder:Ae})}}return W});return function(Y){return J.apply(this,arguments)}})();t.copy=xs,t.readFile=Ta,t.readFileRaw=tC,t.normalizeOS=Rh;var R;function b(){return R=B(r(3))}var O;function T(){return O=B(r(75))}var x;function p(){return x=B(r(36))}var m;function E(){return m=B(r(0))}var C;function y(){return C=B(r(84))}var v;function P(){return v=H(r(40))}var I;function L(){return I=r(40)}var $;function U(){return $=B(r(20))}var z;function oe(){return z=r(164)}function H(J){if(J&&J.__esModule)return J;var K={};if(J!=null)for(var Y in J)Object.prototype.hasOwnProperty.call(J,Y)&&(K[Y]=J[Y]);return K.default=J,K}function B(J){return J&&J.__esModule?J:{default:J}}let j=t.constants=typeof(R||b()).default.constants<"u"?(R||b()).default.constants:{R_OK:(R||b()).default.R_OK,W_OK:(R||b()).default.W_OK,X_OK:(R||b()).default.X_OK},te=t.lockQueue=new(C||y()).default("fs lock"),re=t.readFileBuffer=(0,(I||L()).promisify)((R||b()).default.readFile),q=t.open=(0,(I||L()).promisify)((R||b()).default.open),ie=t.writeFile=(0,(I||L()).promisify)((R||b()).default.writeFile),G=t.readlink=(0,(I||L()).promisify)((R||b()).default.readlink),ne=t.realpath=(0,(I||L()).promisify)((R||b()).default.realpath),ce=t.readdir=(0,(I||L()).promisify)((R||b()).default.readdir),Ee=t.rename=(0,(I||L()).promisify)((R||b()).default.rename),fe=t.access=(0,(I||L()).promisify)((R||b()).default.access),Re=t.stat=(0,(I||L()).promisify)((R||b()).default.stat),xe=t.mkdirp=(0,(I||L()).promisify)(r(116)),Rt=t.exists=(0,(I||L()).promisify)((R||b()).default.exists,!0),Me=t.lstat=(0,(I||L()).promisify)((R||b()).default.lstat),Vt=t.chmod=(0,(I||L()).promisify)((R||b()).default.chmod),ws=t.link=(0,(I||L()).promisify)((R||b()).default.link),Cs=t.glob=(0,(I||L()).promisify)((O||T()).default);t.unlink=(z||oe()).unlink;let Gr=(R||b()).default.copyFile?128:4,_s=(0,(I||L()).promisify)((R||b()).default.symlink),vn=r(7),Si=r(122),Et=()=>{};function xs(J,K,Y){return a([{src:J,dest:K}],Y)}function En(J,K){return new Promise((Y,W)=>{(R||b()).default.readFile(J,K,function(V,he){V?W(V):Y(he)})})}function Ta(J){return En(J,"utf8").then(Rh)}function tC(J){return En(J,"binary")}function Rh(J){return J.replace(/\r\n/g,`
52
- `)}let rC=13,nC=10},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPathKey=fe;let n=r(36),i=r(0),s=r(45).default;var o=r(171);let a=o.getCacheDir,u=o.getConfigDir,c=o.getDataDir,f=r(227),l=t.DEPENDENCY_TYPES=["devDependencies","dependencies","optionalDependencies","peerDependencies"],h=t.RESOLUTIONS="resolutions",d=t.MANIFEST_FIELDS=[h,...l],g=t.SUPPORTED_NODE_VERSIONS="^4.8.0 || ^5.7.0 || ^6.2.2 || >=8.0.0",S=t.YARN_REGISTRY="https://registry.yarnpkg.com",w=t.YARN_DOCS="https://yarnpkg.com/en/docs/cli/",k=t.YARN_INSTALLER_SH="https://yarnpkg.com/install.sh",_=t.YARN_INSTALLER_MSI="https://yarnpkg.com/latest.msi",N=t.SELF_UPDATE_VERSION_URL="https://yarnpkg.com/latest-version",D=t.CACHE_VERSION=2,A=t.LOCKFILE_VERSION=1,R=t.NETWORK_CONCURRENCY=8,b=t.NETWORK_TIMEOUT=30*1e3,O=t.CHILD_CONCURRENCY=5,T=t.REQUIRED_PACKAGE_KEYS=["name","version","_uid"];function x(){let xe=[a()];return process.getuid&&xe.push(i.join(n.tmpdir(),`.yarn-cache-${process.getuid()}`)),xe.push(i.join(n.tmpdir(),".yarn-cache")),xe}let p=t.PREFERRED_MODULE_CACHE_DIRECTORIES=x(),m=t.CONFIG_DIRECTORY=u(),E=t.DATA_DIRECTORY=c(),C=t.LINK_REGISTRY_DIRECTORY=i.join(E,"link"),y=t.GLOBAL_MODULE_DIRECTORY=i.join(E,"global"),v=t.NODE_BIN_PATH=process.execPath,P=t.YARN_BIN_PATH=I();function I(){return f?__filename:i.join(__dirname,"..","bin","yarn.js")}let L=t.NODE_MODULES_FOLDER="node_modules",$=t.NODE_PACKAGE_JSON="package.json",U=t.POSIX_GLOBAL_PREFIX=`${process.env.DESTDIR||""}/usr/local`,z=t.FALLBACK_GLOBAL_PREFIX=i.join(s,".yarn"),oe=t.META_FOLDER=".yarn-meta",H=t.INTEGRITY_FILENAME=".yarn-integrity",B=t.LOCKFILE_FILENAME="yarn.lock",j=t.METADATA_FILENAME=".yarn-metadata.json",te=t.TARBALL_FILENAME=".yarn-tarball.tgz",re=t.CLEAN_FILENAME=".yarnclean",q=t.NPM_LOCK_FILENAME="package-lock.json",ie=t.NPM_SHRINKWRAP_FILENAME="npm-shrinkwrap.json",G=t.DEFAULT_INDENT=" ",ne=t.SINGLE_INSTANCE_PORT=31997,ce=t.SINGLE_INSTANCE_FILENAME=".yarn-single-instance",Ee=t.ENV_PATH_KEY=fe(process.platform,process.env);function fe(xe,Rt){let Me="PATH";if(xe==="win32"){Me="Path";for(let Vt in Rt)Vt.toLowerCase()==="path"&&(Me=Vt)}return Me}let Re=t.VERSION_COLOR_SCHEME={major:"red",premajor:"red",minor:"yellow",preminor:"yellow",patch:"green",prepatch:"green",prerelease:"red",unchanged:"white",unknown:"red"}},function(e,t,r){"use strict";var n=process.env.NODE_ENV,i=function(s,o,a,u,c,f,l,h){if(n!=="production"&&o===void 0)throw new Error("invariant requires an error message argument");if(!s){var d;if(o===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var g=[a,u,c,f,l,h],S=0;d=new Error(o.replace(/%s/g,function(){return g[S++]})),d.name="Invariant Violation"}throw d.framesToPop=1,d}};e.exports=i},,function(e,t){e.exports=M("crypto")},,function(e,t){var r=e.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=r)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortAlpha=i,t.entries=s,t.removePrefix=o,t.removeSuffix=a,t.addSuffix=u,t.hyphenate=c,t.camelCase=f,t.compareSortedArrays=l,t.sleep=h;let n=r(176);function i(d,g){let S=Math.min(d.length,g.length);for(let w=0;w<S;w++){let k=d.charCodeAt(w),_=g.charCodeAt(w);if(k!==_)return k-_}return d.length-g.length}function s(d){let g=[];if(d)for(let S in d)g.push([S,d[S]]);return g}function o(d,g){return d.startsWith(g)&&(d=d.slice(g.length)),d}function a(d,g){return d.endsWith(g)?d.slice(0,-g.length):d}function u(d,g){return d.endsWith(g)?d:d+g}function c(d){return d.replace(/[A-Z]/g,g=>"-"+g.charAt(0).toLowerCase())}function f(d){return/[A-Z]/.test(d)?null:n(d)}function l(d,g){if(d.length!==g.length)return!1;for(let S=0,w=d.length;S<w;S++)if(d[S]!==g[S])return!1;return!0}function h(d){return new Promise(g=>{setTimeout(g,d)})}},function(e,t,r){var n=r(107)("wks"),i=r(111),s=r(11).Symbol,o=typeof s=="function",a=e.exports=function(u){return n[u]||(n[u]=o&&s[u]||(o?s:i)("Symbol."+u))};a.store=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=t.parse=void 0;var n;function i(){return n=D(r(1))}var s;function o(){return s=r(81)}Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return D(s||o()).default}});var a;function u(){return a=r(150)}Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return D(a||u()).default}}),t.implodeEntry=m,t.explodeEntry=E;var c;function f(){return c=r(12)}var l;function h(){return l=r(29)}var d;function g(){return d=D(r(81))}var S;function w(){return S=r(6)}var k;function _(){return k=N(r(5))}function N(y){if(y&&y.__esModule)return y;var v={};if(y!=null)for(var P in y)Object.prototype.hasOwnProperty.call(y,P)&&(v[P]=y[P]);return v.default=y,v}function D(y){return y&&y.__esModule?y:{default:y}}let A=r(7),R=r(0),b=r(55);function O(y){return(0,(l||h()).normalizePattern)(y).name}function T(y){return y&&Object.keys(y).length?y:void 0}function x(y){return y.resolved||(y.reference&&y.hash?`${y.reference}#${y.hash}`:null)}function p(y){return y.toString().split(" ").sort().join(" ")}function m(y,v){let P=O(y),I=v.integrity?p(v.integrity):"",L={name:P===v.name?void 0:v.name,version:v.version,uid:v.uid===v.version?void 0:v.uid,resolved:v.resolved,registry:v.registry==="npm"?void 0:v.registry,dependencies:T(v.dependencies),optionalDependencies:T(v.optionalDependencies),permissions:T(v.permissions),prebuiltVariants:T(v.prebuiltVariants)};return I&&(L.integrity=I),L}function E(y,v){v.optionalDependencies=v.optionalDependencies||{},v.dependencies=v.dependencies||{},v.uid=v.uid||v.version,v.permissions=v.permissions||{},v.registry=v.registry||"npm",v.name=v.name||O(y);let P=v.integrity;return P&&P.isIntegrity&&(v.integrity=b.parse(P)),v}class C{constructor({cache:v,source:P,parseResultType:I}={}){this.source=P||"",this.cache=v,this.parseResultType=I}hasEntriesExistWithoutIntegrity(){if(!this.cache)return!1;for(let v in this.cache)if(!/^.*@(file:|http)/.test(v)&&this.cache[v]&&!this.cache[v].integrity)return!0;return!1}static fromDirectory(v,P){return(0,(n||i()).default)(function*(){let I=R.join(v,(S||w()).LOCKFILE_FILENAME),L,$="",U;return(yield(k||_()).exists(I))?($=yield(k||_()).readFile(I),U=(0,(d||g()).default)($,I),P&&(U.type==="merge"?P.info(P.lang("lockfileMerged")):U.type==="conflict"&&P.warn(P.lang("lockfileConflict"))),L=U.object):P&&P.info(P.lang("noLockfileFound")),new C({cache:L,source:$,parseResultType:U&&U.type})})()}getLocked(v){let P=this.cache;if(!P)return;let I=v in P&&P[v];if(typeof I=="string")return this.getLocked(I);if(I)return E(v,I),I}removePattern(v){let P=this.cache;P&&delete P[v]}getLockfile(v){let P={},I=new Map,L=Object.keys(v).sort((c||f()).sortAlpha);for(var z=L,$=Array.isArray(z),U=0,z=$?z:z[Symbol.iterator]();;){var oe;if($){if(U>=z.length)break;oe=z[U++]}else{if(U=z.next(),U.done)break;oe=U.value}let H=oe,B=v[H],j=B._remote,te=B._reference;A(te,"Package is missing a reference"),A(j,"Package is missing a remote");let re=x(j),q=re&&I.get(re);if(q){P[H]=q,!q.name&&O(H)!==B.name&&(q.name=B.name);continue}let ie=m(H,{name:B.name,version:B.version,uid:B._uid,resolved:j.resolved,integrity:j.integrity,registry:j.registry,dependencies:B.dependencies,peerDependencies:B.peerDependencies,optionalDependencies:B.optionalDependencies,permissions:te.permissions,prebuiltVariants:B.prebuiltVariants});P[H]=ie,re&&I.set(re,ie)}return P}}t.default=C},,,function(e,t){e.exports=M("stream")},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(i={}){if(Array.isArray(i))for(var a=i,s=Array.isArray(a),o=0,a=s?a:a[Symbol.iterator]();;){var u;if(s){if(o>=a.length)break;u=a[o++]}else{if(o=a.next(),o.done)break;u=o.value}n(u)}else if((i!==null&&typeof i=="object"||typeof i=="function")&&(Object.setPrototypeOf(i,null),typeof i=="object"))for(let c in i)n(i[c]);return i}},,function(e,t){e.exports=M("assert")},function(e,t){var r=e.exports={version:"2.5.7"};typeof __e=="number"&&(__e=r)},,,,function(e,t,r){var n=r(34);e.exports=function(i){if(!n(i))throw TypeError(i+" is not an object!");return i}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePattern=n;function n(i){let s=!1,o="latest",a=i,u=!1;a[0]==="@"&&(u=!0,a=a.slice(1));let c=a.split("@");return c.length>1&&(a=c.shift(),o=c.join("@"),o?s=!0:o="*"),u&&(a=`@${a}`),{name:a,range:o,hasVersion:s}}},,function(e,t,r){var n=r(50),i=r(106);e.exports=r(33)?function(s,o,a){return n.f(s,o,i(1,a))}:function(s,o,a){return s[o]=a,s}},function(e,t,r){var n=r(63),i=n.Buffer;function s(a,u){for(var c in a)u[c]=a[c]}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=o);function o(a,u,c){return i(a,u,c)}s(i,o),o.from=function(a,u,c){if(typeof a=="number")throw new TypeError("Argument must not be a number");return i(a,u,c)},o.alloc=function(a,u,c){if(typeof a!="number")throw new TypeError("Argument must be a number");var f=i(a);return u!==void 0?typeof c=="string"?f.fill(u,c):f.fill(u):f.fill(0),f},o.allocUnsafe=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return i(a)},o.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(a)}},function(e,t,r){e.exports=!r(85)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(e,t){e.exports=function(r){return typeof r=="object"?r!==null:typeof r=="function"}},function(e,t){e.exports={}},function(e,t){e.exports=M("os")},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wait=n,t.promisify=i,t.queue=s;function n(o){return new Promise(a=>{setTimeout(a,o)})}function i(o,a){return function(...u){return new Promise(function(c,f){u.push(function(l,...h){let d=h;h.length<=1&&(d=h[0]),a&&(d=l,l=null),l?f(l):c(d)}),o.apply(null,u)})}}function s(o,a,u=1/0){u=Math.min(u,o.length),o=o.slice();let c=[],f=o.length;return f?new Promise((l,h)=>{for(let g=0;g<u;g++)d();function d(){let g=o.shift();a(g).then(function(w){c.push(w),f--,f===0?l(c):o.length&&d()},h)}}):Promise.resolve(c)}},function(e,t,r){var n=r(11),i=r(23),s=r(48),o=r(31),a=r(49),u="prototype",c=function(f,l,h){var d=f&c.F,g=f&c.G,S=f&c.S,w=f&c.P,k=f&c.B,_=f&c.W,N=g?i:i[l]||(i[l]={}),D=N[u],A=g?n:S?n[l]:(n[l]||{})[u],R,b,O;g&&(h=l);for(R in h)b=!d&&A&&A[R]!==void 0,!(b&&a(N,R))&&(O=b?A[R]:h[R],N[R]=g&&typeof A[R]!="function"?h[R]:k&&b?s(O,n):_&&A[R]==O?function(T){var x=function(p,m,E){if(this instanceof T){switch(arguments.length){case 0:return new T;case 1:return new T(p);case 2:return new T(p,m)}return new T(p,m,E)}return T.apply(this,arguments)};return x[u]=T[u],x}(O):w&&typeof O=="function"?s(Function.call,O):O,w&&((N.virtual||(N.virtual={}))[R]=O,f&c.R&&D&&!D[R]&&o(D,R,O)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,r){try{var n=r(2);if(typeof n.inherits!="function")throw"";e.exports=n.inherits}catch{e.exports=r(224)}},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.home=void 0;var n;function i(){return n=s(r(169))}function s(c){return c&&c.__esModule?c:{default:c}}let o=r(0),a=t.home=r(36).homedir(),u=(n||i()).default?o.resolve("/usr/local/share"):a;t.default=u},function(e,t){e.exports=function(r){if(typeof r!="function")throw TypeError(r+" is not a function!");return r}},function(e,t){var r={}.toString;e.exports=function(n){return r.call(n).slice(8,-1)}},function(e,t,r){var n=r(46);e.exports=function(i,s,o){if(n(i),s===void 0)return i;switch(o){case 1:return function(a){return i.call(s,a)};case 2:return function(a,u){return i.call(s,a,u)};case 3:return function(a,u,c){return i.call(s,a,u,c)}}return function(){return i.apply(s,arguments)}}},function(e,t){var r={}.hasOwnProperty;e.exports=function(n,i){return r.call(n,i)}},function(e,t,r){var n=r(27),i=r(184),s=r(201),o=Object.defineProperty;t.f=r(33)?Object.defineProperty:function(u,c,f){if(n(u),c=s(c,!0),n(f),i)try{return o(u,c,f)}catch{}if("get"in f||"set"in f)throw TypeError("Accessors not supported!");return"value"in f&&(u[c]=f.value),u}},,,,function(e,t){e.exports=M("events")},function(e,t,r){"use strict";let n=r(32).Buffer,i=r(9),s=r(17).Transform,o=["sha256","sha384","sha512"],a=/^[a-z0-9+/]+(?:=?=?)$/i,u=/^([^-]+)-([^?]+)([?\S*]*)$/,c=/^([^-]+)-([A-Za-z0-9+/=]{44,88})(\?[\x21-\x7E]*)*$/,f=/^[\x21-\x7E]+$/;class l{get isHash(){return!0}constructor(p,m){let E=!!(m&&m.strict);this.source=p.trim();let C=this.source.match(E?c:u);if(!C||E&&!o.some(v=>v===C[1]))return;this.algorithm=C[1],this.digest=C[2];let y=C[3];this.options=y?y.slice(1).split("?"):[]}hexDigest(){return this.digest&&n.from(this.digest,"base64").toString("hex")}toJSON(){return this.toString()}toString(p){if(p&&p.strict&&!(o.some(E=>E===this.algorithm)&&this.digest.match(a)&&(this.options||[]).every(E=>E.match(f))))return"";let m=this.options&&this.options.length?`?${this.options.join("?")}`:"";return`${this.algorithm}-${this.digest}${m}`}}class h{get isIntegrity(){return!0}toJSON(){return this.toString()}toString(p){p=p||{};let m=p.sep||" ";return p.strict&&(m=m.replace(/\S+/g," ")),Object.keys(this).map(E=>this[E].map(C=>l.prototype.toString.call(C,p)).filter(C=>C.length).join(m)).filter(E=>E.length).join(m)}concat(p,m){let E=typeof p=="string"?p:S(p,m);return d(`${this.toString(m)} ${E}`,m)}hexDigest(){return d(this,{single:!0}).hexDigest()}match(p,m){let E=d(p,m),C=E.pickAlgorithm(m);return this[C]&&E[C]&&this[C].find(y=>E[C].find(v=>y.digest===v.digest))||!1}pickAlgorithm(p){let m=p&&p.pickAlgorithm||T,E=Object.keys(this);if(!E.length)throw new Error(`No algorithms available for ${JSON.stringify(this.toString())}`);return E.reduce((C,y)=>m(C,y)||C)}}e.exports.parse=d;function d(x,p){if(p=p||{},typeof x=="string")return g(x,p);if(x.algorithm&&x.digest){let m=new h;return m[x.algorithm]=[x],g(S(m,p),p)}else return g(S(x,p),p)}function g(x,p){return p.single?new l(x,p):x.trim().split(/\s+/).reduce((m,E)=>{let C=new l(E,p);if(C.algorithm&&C.digest){let y=C.algorithm;m[y]||(m[y]=[]),m[y].push(C)}return m},new h)}e.exports.stringify=S;function S(x,p){return x.algorithm&&x.digest?l.prototype.toString.call(x,p):typeof x=="string"?S(d(x,p),p):h.prototype.toString.call(x,p)}e.exports.fromHex=w;function w(x,p,m){let E=m&&m.options&&m.options.length?`?${m.options.join("?")}`:"";return d(`${p}-${n.from(x,"hex").toString("base64")}${E}`,m)}e.exports.fromData=k;function k(x,p){p=p||{};let m=p.algorithms||["sha512"],E=p.options&&p.options.length?`?${p.options.join("?")}`:"";return m.reduce((C,y)=>{let v=i.createHash(y).update(x).digest("base64"),P=new l(`${y}-${v}${E}`,p);if(P.algorithm&&P.digest){let I=P.algorithm;C[I]||(C[I]=[]),C[I].push(P)}return C},new h)}e.exports.fromStream=_;function _(x,p){p=p||{};let m=p.Promise||Promise,E=A(p);return new m((C,y)=>{x.pipe(E),x.on("error",y),E.on("error",y);let v;E.on("integrity",P=>{v=P}),E.on("end",()=>C(v)),E.on("data",()=>{})})}e.exports.checkData=N;function N(x,p,m){if(m=m||{},p=d(p,m),!Object.keys(p).length){if(m.error)throw Object.assign(new Error("No valid integrity hashes to check against"),{code:"EINTEGRITY"});return!1}let E=p.pickAlgorithm(m),C=i.createHash(E).update(x).digest("base64"),y=d({algorithm:E,digest:C}),v=y.match(p,m);if(v||!m.error)return v;if(typeof m.size=="number"&&x.length!==m.size){let P=new Error(`data size mismatch when checking ${p}.
53
- Wanted: ${m.size}
54
- Found: ${x.length}`);throw P.code="EBADSIZE",P.found=x.length,P.expected=m.size,P.sri=p,P}else{let P=new Error(`Integrity checksum failed when using ${E}: Wanted ${p}, but got ${y}. (${x.length} bytes)`);throw P.code="EINTEGRITY",P.found=y,P.expected=p,P.algorithm=E,P.sri=p,P}}e.exports.checkStream=D;function D(x,p,m){m=m||{};let E=m.Promise||Promise,C=A(Object.assign({},m,{integrity:p}));return new E((y,v)=>{x.pipe(C),x.on("error",v),C.on("error",v);let P;C.on("verified",I=>{P=I}),C.on("end",()=>y(P)),C.on("data",()=>{})})}e.exports.integrityStream=A;function A(x){x=x||{};let p=x.integrity&&d(x.integrity,x),m=p&&Object.keys(p).length,E=m&&p.pickAlgorithm(x),C=m&&p[E],y=Array.from(new Set((x.algorithms||["sha512"]).concat(E?[E]:[]))),v=y.map(i.createHash),P=0,I=new s({transform(L,$,U){P+=L.length,v.forEach(z=>z.update(L,$)),U(null,L,$)}}).on("end",()=>{let L=x.options&&x.options.length?`?${x.options.join("?")}`:"",$=d(v.map((z,oe)=>`${y[oe]}-${z.digest("base64")}${L}`).join(" "),x),U=m&&$.match(p,x);if(typeof x.size=="number"&&P!==x.size){let z=new Error(`stream size mismatch when checking ${p}.
55
- Wanted: ${x.size}
56
- Found: ${P}`);z.code="EBADSIZE",z.found=P,z.expected=x.size,z.sri=p,I.emit("error",z)}else if(x.integrity&&!U){let z=new Error(`${p} integrity checksum failed when using ${E}: wanted ${C} but got ${$}. (${P} bytes)`);z.code="EINTEGRITY",z.found=$,z.expected=C,z.algorithm=E,z.sri=p,I.emit("error",z)}else I.emit("size",P),I.emit("integrity",$),U&&I.emit("verified",U)});return I}e.exports.create=R;function R(x){x=x||{};let p=x.algorithms||["sha512"],m=x.options&&x.options.length?`?${x.options.join("?")}`:"",E=p.map(i.createHash);return{update:function(C,y){return E.forEach(v=>v.update(C,y)),this},digest:function(C){return p.reduce((v,P)=>{let I=E.shift().digest("base64"),L=new l(`${P}-${I}${m}`,x);if(L.algorithm&&L.digest){let $=L.algorithm;v[$]||(v[$]=[]),v[$].push(L)}return v},new h)}}}let b=new Set(i.getHashes()),O=["md5","whirlpool","sha1","sha224","sha256","sha384","sha512","sha3","sha3-256","sha3-384","sha3-512","sha3_256","sha3_384","sha3_512"].filter(x=>b.has(x));function T(x,p){return O.indexOf(x.toLowerCase())>=O.indexOf(p.toLowerCase())?x:p}},,,,,function(e,t,r){e.exports=w,w.Minimatch=k;var n={sep:"/"};try{n=r(0)}catch{}var i=w.GLOBSTAR=k.GLOBSTAR={},s=r(175),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="[^/]",u=a+"*?",c="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",f="(?:(?!(?:\\/|^)\\.).)*?",l=h("().*{}+?[]^$\\!");function h(p){return p.split("").reduce(function(m,E){return m[E]=!0,m},{})}var d=/\/+/;w.filter=g;function g(p,m){return m=m||{},function(E,C,y){return w(E,p,m)}}function S(p,m){p=p||{},m=m||{};var E={};return Object.keys(m).forEach(function(C){E[C]=m[C]}),Object.keys(p).forEach(function(C){E[C]=p[C]}),E}w.defaults=function(p){if(!p||!Object.keys(p).length)return w;var m=w,E=function(y,v,P){return m.minimatch(y,v,S(p,P))};return E.Minimatch=function(y,v){return new m.Minimatch(y,S(p,v))},E},k.defaults=function(p){return!p||!Object.keys(p).length?k:w.defaults(p).Minimatch};function w(p,m,E){if(typeof m!="string")throw new TypeError("glob pattern string required");return E||(E={}),!E.nocomment&&m.charAt(0)==="#"?!1:m.trim()===""?p==="":new k(m,E).match(p)}function k(p,m){if(!(this instanceof k))return new k(p,m);if(typeof p!="string")throw new TypeError("glob pattern string required");m||(m={}),p=p.trim(),n.sep!=="/"&&(p=p.split(n.sep).join("/")),this.options=m,this.set=[],this.pattern=p,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}k.prototype.debug=function(){},k.prototype.make=_;function _(){if(!this._made){var p=this.pattern,m=this.options;if(!m.nocomment&&p.charAt(0)==="#"){this.comment=!0;return}if(!p){this.empty=!0;return}this.parseNegate();var E=this.globSet=this.braceExpand();m.debug&&(this.debug=console.error),this.debug(this.pattern,E),E=this.globParts=E.map(function(C){return C.split(d)}),this.debug(this.pattern,E),E=E.map(function(C,y,v){return C.map(this.parse,this)},this),this.debug(this.pattern,E),E=E.filter(function(C){return C.indexOf(!1)===-1}),this.debug(this.pattern,E),this.set=E}}k.prototype.parseNegate=N;function N(){var p=this.pattern,m=!1,E=this.options,C=0;if(!E.nonegate){for(var y=0,v=p.length;y<v&&p.charAt(y)==="!";y++)m=!m,C++;C&&(this.pattern=p.substr(C)),this.negate=m}}w.braceExpand=function(p,m){return D(p,m)},k.prototype.braceExpand=D;function D(p,m){if(m||(this instanceof k?m=this.options:m={}),p=typeof p>"u"?this.pattern:p,typeof p>"u")throw new TypeError("undefined pattern");return m.nobrace||!p.match(/\{.*\}/)?[p]:s(p)}k.prototype.parse=R;var A={};function R(p,m){if(p.length>1024*64)throw new TypeError("pattern is too long");var E=this.options;if(!E.noglobstar&&p==="**")return i;if(p==="")return"";var C="",y=!!E.nocase,v=!1,P=[],I=[],L,$=!1,U=-1,z=-1,oe=p.charAt(0)==="."?"":E.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",H=this;function B(){if(L){switch(L){case"*":C+=u,y=!0;break;case"?":C+=a,y=!0;break;default:C+="\\"+L;break}H.debug("clearStateChar %j %j",L,C),L=!1}}for(var j=0,te=p.length,re;j<te&&(re=p.charAt(j));j++){if(this.debug("%s %s %s %j",p,j,C,re),v&&l[re]){C+="\\"+re,v=!1;continue}switch(re){case"/":return!1;case"\\":B(),v=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",p,j,C,re),$){this.debug(" in class"),re==="!"&&j===z+1&&(re="^"),C+=re;continue}H.debug("call clearStateChar %j",L),B(),L=re,E.noext&&B();continue;case"(":if($){C+="(";continue}if(!L){C+="\\(";continue}P.push({type:L,start:j-1,reStart:C.length,open:o[L].open,close:o[L].close}),C+=L==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",L,C),L=!1;continue;case")":if($||!P.length){C+="\\)";continue}B(),y=!0;var q=P.pop();C+=q.close,q.type==="!"&&I.push(q),q.reEnd=C.length;continue;case"|":if($||!P.length||v){C+="\\|",v=!1;continue}B(),C+="|";continue;case"[":if(B(),$){C+="\\"+re;continue}$=!0,z=j,U=C.length,C+=re;continue;case"]":if(j===z+1||!$){C+="\\"+re,v=!1;continue}if($){var ie=p.substring(z+1,j);try{RegExp("["+ie+"]")}catch{var G=this.parse(ie,A);C=C.substr(0,U)+"\\["+G[0]+"\\]",y=y||G[1],$=!1;continue}}y=!0,$=!1,C+=re;continue;default:B(),v?v=!1:l[re]&&!(re==="^"&&$)&&(C+="\\"),C+=re}}for($&&(ie=p.substr(z+1),G=this.parse(ie,A),C=C.substr(0,U)+"\\["+G[0],y=y||G[1]),q=P.pop();q;q=P.pop()){var ne=C.slice(q.reStart+q.open.length);this.debug("setting tail",C,q),ne=ne.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(Et,xs,En){return En||(En="\\"),xs+xs+En+"|"}),this.debug(`tail=%j
57
- %s`,ne,ne,q,C);var ce=q.type==="*"?u:q.type==="?"?a:"\\"+q.type;y=!0,C=C.slice(0,q.reStart)+ce+"\\("+ne}B(),v&&(C+="\\\\");var Ee=!1;switch(C.charAt(0)){case".":case"[":case"(":Ee=!0}for(var fe=I.length-1;fe>-1;fe--){var Re=I[fe],xe=C.slice(0,Re.reStart),Rt=C.slice(Re.reStart,Re.reEnd-8),Me=C.slice(Re.reEnd-8,Re.reEnd),Vt=C.slice(Re.reEnd);Me+=Vt;var ws=xe.split("(").length-1,Cs=Vt;for(j=0;j<ws;j++)Cs=Cs.replace(/\)[+*?]?/,"");Vt=Cs;var Gr="";Vt===""&&m!==A&&(Gr="$");var _s=xe+Rt+Vt+Gr+Me;C=_s}if(C!==""&&y&&(C="(?=.)"+C),Ee&&(C=oe+C),m===A)return[C,y];if(!y)return T(p);var vn=E.nocase?"i":"";try{var Si=new RegExp("^"+C+"$",vn)}catch{return new RegExp("$.")}return Si._glob=p,Si._src=C,Si}w.makeRe=function(p,m){return new k(p,m||{}).makeRe()},k.prototype.makeRe=b;function b(){if(this.regexp||this.regexp===!1)return this.regexp;var p=this.set;if(!p.length)return this.regexp=!1,this.regexp;var m=this.options,E=m.noglobstar?u:m.dot?c:f,C=m.nocase?"i":"",y=p.map(function(v){return v.map(function(P){return P===i?E:typeof P=="string"?x(P):P._src}).join("\\/")}).join("|");y="^(?:"+y+")$",this.negate&&(y="^(?!"+y+").*$");try{this.regexp=new RegExp(y,C)}catch{this.regexp=!1}return this.regexp}w.match=function(p,m,E){E=E||{};var C=new k(m,E);return p=p.filter(function(y){return C.match(y)}),C.options.nonull&&!p.length&&p.push(m),p},k.prototype.match=O;function O(p,m){if(this.debug("match",p,this.pattern),this.comment)return!1;if(this.empty)return p==="";if(p==="/"&&m)return!0;var E=this.options;n.sep!=="/"&&(p=p.split(n.sep).join("/")),p=p.split(d),this.debug(this.pattern,"split",p);var C=this.set;this.debug(this.pattern,"set",C);var y,v;for(v=p.length-1;v>=0&&(y=p[v],!y);v--);for(v=0;v<C.length;v++){var P=C[v],I=p;E.matchBase&&P.length===1&&(I=[y]);var L=this.matchOne(I,P,m);if(L)return E.flipNegate?!0:!this.negate}return E.flipNegate?!1:this.negate}k.prototype.matchOne=function(p,m,E){var C=this.options;this.debug("matchOne",{this:this,file:p,pattern:m}),this.debug("matchOne",p.length,m.length);for(var y=0,v=0,P=p.length,I=m.length;y<P&&v<I;y++,v++){this.debug("matchOne loop");var L=m[v],$=p[y];if(this.debug(m,L,$),L===!1)return!1;if(L===i){this.debug("GLOBSTAR",[m,L,$]);var U=y,z=v+1;if(z===I){for(this.debug("** at the end");y<P;y++)if(p[y]==="."||p[y]===".."||!C.dot&&p[y].charAt(0)===".")return!1;return!0}for(;U<P;){var oe=p[U];if(this.debug(`
58
- globstar while`,p,U,m,z,oe),this.matchOne(p.slice(U),m.slice(z),E))return this.debug("globstar found match!",U,P,oe),!0;if(oe==="."||oe===".."||!C.dot&&oe.charAt(0)==="."){this.debug("dot detected!",p,U,m,z);break}this.debug("globstar swallow a segment, and continue"),U++}return!!(E&&(this.debug(`
59
- >>> no match, partial?`,p,U,m,z),U===P))}var H;if(typeof L=="string"?(C.nocase?H=$.toLowerCase()===L.toLowerCase():H=$===L,this.debug("string match",L,$,H)):(H=$.match(L),this.debug("pattern match",L,$,H)),!H)return!1}if(y===P&&v===I)return!0;if(y===P)return E;if(v===I){var B=y===P-1&&p[y]==="";return B}throw new Error("wtf?")};function T(p){return p.replace(/\\(.)/g,"$1")}function x(p){return p.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},function(e,t,r){var n=r(123);e.exports=n(i),e.exports.strict=n(s),i.proto=i(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return s(this)},configurable:!0})});function i(o){var a=function(){return a.called?a.value:(a.called=!0,a.value=o.apply(this,arguments))};return a.called=!1,a}function s(o){var a=function(){if(a.called)throw new Error(a.onceError);return a.called=!0,a.value=o.apply(this,arguments)},u=o.name||"Function wrapped with `once`";return a.onceError=u+" shouldn't be called more than once",a.called=!1,a}},,function(e,t){e.exports=M("buffer")},,,,function(e,t){e.exports=function(r){if(r==null)throw TypeError("Can't call method on "+r);return r}},function(e,t,r){var n=r(34),i=r(11).document,s=n(i)&&n(i.createElement);e.exports=function(o){return s?i.createElement(o):{}}},function(e,t){e.exports=!0},function(e,t,r){"use strict";var n=r(46);function i(s){var o,a;this.promise=new s(function(u,c){if(o!==void 0||a!==void 0)throw TypeError("Bad Promise constructor");o=u,a=c}),this.resolve=n(o),this.reject=n(a)}e.exports.f=function(s){return new i(s)}},function(e,t,r){var n=r(50).f,i=r(49),s=r(13)("toStringTag");e.exports=function(o,a,u){o&&!i(o=u?o:o.prototype,s)&&n(o,s,{configurable:!0,value:a})}},function(e,t,r){var n=r(107)("keys"),i=r(111);e.exports=function(s){return n[s]||(n[s]=i(s))}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(i){return isNaN(i=+i)?0:(i>0?n:r)(i)}},function(e,t,r){var n=r(131),i=r(67);e.exports=function(s){return n(i(s))}},function(e,t,r){e.exports=b;var n=r(3),i=r(114),s=r(60),o=s.Minimatch,a=r(42),u=r(54).EventEmitter,c=r(0),f=r(22),l=r(76),h=r(218),d=r(115),g=d.alphasort,S=d.alphasorti,w=d.setopts,k=d.ownProp,_=r(223),N=r(2),D=d.childrenIgnored,A=d.isIgnored,R=r(61);function b(m,E,C){if(typeof E=="function"&&(C=E,E={}),E||(E={}),E.sync){if(C)throw new TypeError("callback provided to sync glob");return h(m,E)}return new x(m,E,C)}b.sync=h;var O=b.GlobSync=h.GlobSync;b.glob=b;function T(m,E){if(E===null||typeof E!="object")return m;for(var C=Object.keys(E),y=C.length;y--;)m[C[y]]=E[C[y]];return m}b.hasMagic=function(m,E){var C=T({},E);C.noprocess=!0;var y=new x(m,C),v=y.minimatch.set;if(!m)return!1;if(v.length>1)return!0;for(var P=0;P<v[0].length;P++)if(typeof v[0][P]!="string")return!0;return!1},b.Glob=x,a(x,u);function x(m,E,C){if(typeof E=="function"&&(C=E,E=null),E&&E.sync){if(C)throw new TypeError("callback provided to sync glob");return new O(m,E)}if(!(this instanceof x))return new x(m,E,C);w(this,m,E),this._didRealPath=!1;var y=this.minimatch.set.length;this.matches=new Array(y),typeof C=="function"&&(C=R(C),this.on("error",C),this.on("end",function($){C(null,$)}));var v=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(y===0)return L();for(var P=!0,I=0;I<y;I++)this._process(this.minimatch.set[I],I,!1,L);P=!1;function L(){--v._processing,v._processing<=0&&(P?process.nextTick(function(){v._finish()}):v._finish())}}x.prototype._finish=function(){if(f(this instanceof x),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();d.finish(this),this.emit("end",this.found)}},x.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var m=this.matches.length;if(m===0)return this._finish();for(var E=this,C=0;C<this.matches.length;C++)this._realpathSet(C,y);function y(){--m===0&&E._finish()}},x.prototype._realpathSet=function(m,E){var C=this.matches[m];if(!C)return E();var y=Object.keys(C),v=this,P=y.length;if(P===0)return E();var I=this.matches[m]=Object.create(null);y.forEach(function(L,$){L=v._makeAbs(L),i.realpath(L,v.realpathCache,function(U,z){U?U.syscall==="stat"?I[L]=!0:v.emit("error",U):I[z]=!0,--P===0&&(v.matches[m]=I,E())})})},x.prototype._mark=function(m){return d.mark(this,m)},x.prototype._makeAbs=function(m){return d.makeAbs(this,m)},x.prototype.abort=function(){this.aborted=!0,this.emit("abort")},x.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},x.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var m=this._emitQueue.slice(0);this._emitQueue.length=0;for(var E=0;E<m.length;E++){var C=m[E];this._emitMatch(C[0],C[1])}}if(this._processQueue.length){var y=this._processQueue.slice(0);this._processQueue.length=0;for(var E=0;E<y.length;E++){var v=y[E];this._processing--,this._process(v[0],v[1],v[2],v[3])}}}},x.prototype._process=function(m,E,C,y){if(f(this instanceof x),f(typeof y=="function"),!this.aborted){if(this._processing++,this.paused){this._processQueue.push([m,E,C,y]);return}for(var v=0;typeof m[v]=="string";)v++;var P;switch(v){case m.length:this._processSimple(m.join("/"),E,y);return;case 0:P=null;break;default:P=m.slice(0,v).join("/");break}var I=m.slice(v),L;P===null?L=".":((l(P)||l(m.join("/")))&&(!P||!l(P))&&(P="/"+P),L=P);var $=this._makeAbs(L);if(D(this,L))return y();var U=I[0]===s.GLOBSTAR;U?this._processGlobStar(P,L,$,I,E,C,y):this._processReaddir(P,L,$,I,E,C,y)}},x.prototype._processReaddir=function(m,E,C,y,v,P,I){var L=this;this._readdir(C,P,function($,U){return L._processReaddir2(m,E,C,y,v,P,U,I)})},x.prototype._processReaddir2=function(m,E,C,y,v,P,I,L){if(!I)return L();for(var $=y[0],U=!!this.minimatch.negate,z=$._glob,oe=this.dot||z.charAt(0)===".",H=[],B=0;B<I.length;B++){var j=I[B];if(j.charAt(0)!=="."||oe){var te;U&&!m?te=!j.match($):te=j.match($),te&&H.push(j)}}var re=H.length;if(re===0)return L();if(y.length===1&&!this.mark&&!this.stat){this.matches[v]||(this.matches[v]=Object.create(null));for(var B=0;B<re;B++){var j=H[B];m&&(m!=="/"?j=m+"/"+j:j=m+j),j.charAt(0)==="/"&&!this.nomount&&(j=c.join(this.root,j)),this._emitMatch(v,j)}return L()}y.shift();for(var B=0;B<re;B++){var j=H[B],q;m&&(m!=="/"?j=m+"/"+j:j=m+j),this._process([j].concat(y),v,P,L)}L()},x.prototype._emitMatch=function(m,E){if(!this.aborted&&!A(this,E)){if(this.paused){this._emitQueue.push([m,E]);return}var C=l(E)?E:this._makeAbs(E);if(this.mark&&(E=this._mark(E)),this.absolute&&(E=C),!this.matches[m][E]){if(this.nodir){var y=this.cache[C];if(y==="DIR"||Array.isArray(y))return}this.matches[m][E]=!0;var v=this.statCache[C];v&&this.emit("stat",E,v),this.emit("match",E)}}},x.prototype._readdirInGlobStar=function(m,E){if(this.aborted)return;if(this.follow)return this._readdir(m,!1,E);var C="lstat\0"+m,y=this,v=_(C,P);v&&n.lstat(m,v);function P(I,L){if(I&&I.code==="ENOENT")return E();var $=L&&L.isSymbolicLink();y.symlinks[m]=$,!$&&L&&!L.isDirectory()?(y.cache[m]="FILE",E()):y._readdir(m,!1,E)}},x.prototype._readdir=function(m,E,C){if(!this.aborted&&(C=_("readdir\0"+m+"\0"+E,C),!!C)){if(E&&!k(this.symlinks,m))return this._readdirInGlobStar(m,C);if(k(this.cache,m)){var y=this.cache[m];if(!y||y==="FILE")return C();if(Array.isArray(y))return C(null,y)}var v=this;n.readdir(m,p(this,m,C))}};function p(m,E,C){return function(y,v){y?m._readdirError(E,y,C):m._readdirEntries(E,v,C)}}x.prototype._readdirEntries=function(m,E,C){if(!this.aborted){if(!this.mark&&!this.stat)for(var y=0;y<E.length;y++){var v=E[y];m==="/"?v=m+v:v=m+"/"+v,this.cache[v]=!0}return this.cache[m]=E,C(null,E)}},x.prototype._readdirError=function(m,E,C){if(!this.aborted){switch(E.code){case"ENOTSUP":case"ENOTDIR":var y=this._makeAbs(m);if(this.cache[y]="FILE",y===this.cwdAbs){var v=new Error(E.code+" invalid cwd "+this.cwd);v.path=this.cwd,v.code=E.code,this.emit("error",v),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(m)]=!1;break;default:this.cache[this._makeAbs(m)]=!1,this.strict&&(this.emit("error",E),this.abort()),this.silent||console.error("glob error",E);break}return C()}},x.prototype._processGlobStar=function(m,E,C,y,v,P,I){var L=this;this._readdir(C,P,function($,U){L._processGlobStar2(m,E,C,y,v,P,U,I)})},x.prototype._processGlobStar2=function(m,E,C,y,v,P,I,L){if(!I)return L();var $=y.slice(1),U=m?[m]:[],z=U.concat($);this._process(z,v,!1,L);var oe=this.symlinks[C],H=I.length;if(oe&&P)return L();for(var B=0;B<H;B++){var j=I[B];if(!(j.charAt(0)==="."&&!this.dot)){var te=U.concat(I[B],$);this._process(te,v,!0,L);var re=U.concat(I[B],y);this._process(re,v,!0,L)}}L()},x.prototype._processSimple=function(m,E,C){var y=this;this._stat(m,function(v,P){y._processSimple2(m,E,v,P,C)})},x.prototype._processSimple2=function(m,E,C,y,v){if(this.matches[E]||(this.matches[E]=Object.create(null)),!y)return v();if(m&&l(m)&&!this.nomount){var P=/[\/\\]$/.test(m);m.charAt(0)==="/"?m=c.join(this.root,m):(m=c.resolve(this.root,m),P&&(m+="/"))}process.platform==="win32"&&(m=m.replace(/\\/g,"/")),this._emitMatch(E,m),v()},x.prototype._stat=function(m,E){var C=this._makeAbs(m),y=m.slice(-1)==="/";if(m.length>this.maxLength)return E();if(!this.stat&&k(this.cache,C)){var v=this.cache[C];if(Array.isArray(v)&&(v="DIR"),!y||v==="DIR")return E(null,v);if(y&&v==="FILE")return E()}var P,I=this.statCache[C];if(I!==void 0){if(I===!1)return E(null,I);var L=I.isDirectory()?"DIR":"FILE";return y&&L==="FILE"?E():E(null,L,I)}var $=this,U=_("stat\0"+C,z);U&&n.lstat(C,U);function z(oe,H){if(H&&H.isSymbolicLink())return n.stat(C,function(B,j){B?$._stat2(m,C,null,H,E):$._stat2(m,C,B,j,E)});$._stat2(m,C,oe,H,E)}},x.prototype._stat2=function(m,E,C,y,v){if(C&&(C.code==="ENOENT"||C.code==="ENOTDIR"))return this.statCache[E]=!1,v();var P=m.slice(-1)==="/";if(this.statCache[E]=y,E.slice(-1)==="/"&&y&&!y.isDirectory())return v(null,!1,y);var I=!0;return y&&(I=y.isDirectory()?"DIR":"FILE"),this.cache[E]=this.cache[E]||I,P&&I==="FILE"?v():v(null,I,y)}},function(e,t,r){"use strict";function n(s){return s.charAt(0)==="/"}function i(s){var o=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,a=o.exec(s),u=a[1]||"",c=!!(u&&u.charAt(1)!==":");return!!(a[2]||c)}e.exports=process.platform==="win32"?i:n,e.exports.posix=n,e.exports.win32=i},,,function(e,t){e.exports=M("tty")},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(C,y="lockfile"){return C=(0,(a||u()).default)(C),p(C)?E(C,y):{type:"success",object:m(C,y)}};var n;function i(){return n=S(r(2))}var s;function o(){return s=S(r(7))}var a;function u(){return a=S(r(122))}var c;function f(){return c=r(6)}var l;function h(){return l=r(4)}var d;function g(){return d=S(r(20))}function S(C){return C&&C.__esModule?C:{default:C}}let w=/^yarn lockfile v(\d+)$/,k={boolean:"BOOLEAN",string:"STRING",identifier:"IDENTIFIER",eof:"EOF",colon:"COLON",newline:"NEWLINE",comment:"COMMENT",indent:"INDENT",invalid:"INVALID",number:"NUMBER",comma:"COMMA"},_=[k.boolean,k.string,k.number];function N(C){return _.indexOf(C.type)>=0}function*D(C){let y=!1,v=1,P=0;function I(L,$){return{line:v,col:P,type:L,value:$}}for(;C.length;){let L=0;if(C[0]===`
60
- `||C[0]==="\r")L++,C[1]===`
61
- `&&L++,v++,P=0,yield I(k.newline);else if(C[0]==="#"){L++;let $="";for(;C[L]!==`
62
- `;)$+=C[L],L++;yield I(k.comment,$)}else if(C[0]===" ")if(y){let $="";for(let U=0;C[U]===" ";U++)$+=C[U];if($.length%2)throw new TypeError("Invalid number of spaces");L=$.length,yield I(k.indent,$.length/2)}else L++;else if(C[0]==='"'){let $="";for(let U=0;;U++){let z=C[U];if($+=z,U>0&&z==='"'&&!(C[U-1]==="\\"&&C[U-2]!=="\\"))break}L=$.length;try{yield I(k.string,JSON.parse($))}catch(U){if(U instanceof SyntaxError)yield I(k.invalid);else throw U}}else if(/^[0-9]/.test(C)){let $="";for(let U=0;/^[0-9]$/.test(C[U]);U++)$+=C[U];L=$.length,yield I(k.number,+$)}else if(/^true/.test(C))yield I(k.boolean,!0),L=4;else if(/^false/.test(C))yield I(k.boolean,!1),L=5;else if(C[0]===":")yield I(k.colon),L++;else if(C[0]===",")yield I(k.comma),L++;else if(/^[a-zA-Z\/-]/g.test(C)){let $="";for(let U=0;U<C.length;U++){let z=C[U];if(z===":"||z===" "||z===`
63
- `||z==="\r"||z===",")break;$+=z}L=$.length,yield I(k.string,$)}else yield I(k.invalid);L||(yield I(k.invalid)),P+=L,y=C[0]===`
45
+ ${(n=i.stderr)===null||n===void 0?void 0:n.toString().trimRight()}`)}It.gitFailFast=aI});var ph=_(ka=>{"use strict";Object.defineProperty(ka,"__esModule",{value:!0});ka.getWorkspaceRoot=void 0;var uI=Ro(),cI=process.env.PREFERRED_WORKSPACE_MANAGER;function lI(e){let t=cI||(0,uI.getWorkspaceImplementation)(e);if(t)switch(t){case"yarn":return pa().getYarnWorkspaceRoot(e);case"pnpm":return Sa().getPnpmWorkspaceRoot(e);case"rush":return Pa().getRushWorkspaceRoot(e);case"npm":return ch().getNpmWorkspaceRoot(e);case"lerna":return lh().getLernaWorkspaceRoot(e)}}ka.getWorkspaceRoot=lI});var dh=_(At=>{"use strict";var wE=At&&At.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(At,"__esModule",{value:!0});At.isChildOf=At.findProjectRoot=At.findPackageRoot=At.findGitRoot=At.searchUp=void 0;var ys=wE(M("path")),fI=wE(M("fs")),hI=ph(),pI=Na();function SE(e,t){let r=ys.default.parse(t).root,n=!1;for(;!n&&t!==r;){if(fI.default.existsSync(ys.default.join(t,e))){n=!0;break}t=ys.default.dirname(t)}return n?t:null}At.searchUp=SE;function bE(e){let t=(0,pI.git)(["rev-parse","--show-toplevel"],{cwd:e});if(!t.success)throw new Error(`Directory "${e}" is not in a git repository`);return ys.default.normalize(t.stdout)}At.findGitRoot=bE;function dI(e){return SE("package.json",e)}At.findPackageRoot=dI;function mI(e){let t;try{t=(0,hI.getWorkspaceRoot)(e)}catch{}return t||bE(e)}At.findProjectRoot=mI;function gI(e,t){let r=ys.default.relative(e,t);return/^[.\/\\]+$/.test(r)}At.isChildOf=gI});var mh=_((F7,CE)=>{"use strict";CE.exports=function(t,r){r===!0&&(r=0);var n="";if(typeof t=="string")try{n=new URL(t).protocol}catch{}else t&&t.constructor===URL&&(n=t.protocol);var i=n.split(/\:|\+/).filter(Boolean);return typeof r=="number"?i[r]:i}});var OE=_((L7,xE)=>{"use strict";var yI=mh();function vI(e){var t={protocols:[],protocol:null,port:null,resource:"",host:"",user:"",password:"",pathname:"",hash:"",search:"",href:e,query:{},parse_failed:!1};try{var r=new URL(e);t.protocols=yI(r),t.protocol=t.protocols[0],t.port=r.port,t.resource=r.hostname,t.host=r.host,t.user=r.username||"",t.password=r.password||"",t.pathname=r.pathname,t.hash=r.hash.slice(1),t.search=r.search.slice(1),t.href=r.href,t.query=Object.fromEntries(r.searchParams)}catch{t.protocols=["file"],t.protocol=t.protocols[0],t.port="",t.resource="",t.user="",t.pathname="",t.hash="",t.search="",t.href=e,t.query={},t.parse_failed=!0}return t}xE.exports=vI});var RE=_((T7,PE)=>{"use strict";var EI=OE();function AI(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var wI=AI(EI),SI="text/plain",bI="us-ascii",_E=(e,t)=>t.some(r=>r instanceof RegExp?r.test(e):r===e),CI=(e,{stripHash:t})=>{let r=/^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$/.exec(e);if(!r)throw new Error(`Invalid URL: ${e}`);let{type:n,data:i,hash:s}=r.groups,o=n.split(";");s=t?"":s;let a=!1;o[o.length-1]==="base64"&&(o.pop(),a=!0);let c=(o.shift()||"").toLowerCase(),f=[...o.map(l=>{let[h,p=""]=l.split("=").map(d=>d.trim());return h==="charset"&&(p=p.toLowerCase(),p===bI)?"":`${h}${p?`=${p}`:""}`}).filter(Boolean)];return a&&f.push("base64"),(f.length>0||c&&c!==SI)&&f.unshift(c),`data:${f.join(";")},${a?i.trim():i}${s?`#${s}`:""}`};function xI(e,t){if(t={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,sortQueryParameters:!0,...t},e=e.trim(),/^data:/i.test(e))return CI(e,t);if(/^view-source:/i.test(e))throw new Error("`view-source:` is not supported as it is a non-standard protocol");let r=e.startsWith("//");!r&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));let i=new URL(e);if(t.forceHttp&&t.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&i.protocol==="https:"&&(i.protocol="http:"),t.forceHttps&&i.protocol==="http:"&&(i.protocol="https:"),t.stripAuthentication&&(i.username="",i.password=""),t.stripHash?i.hash="":t.stripTextFragment&&(i.hash=i.hash.replace(/#?:~:text.*?$/i,"")),i.pathname){let o=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,a=0,c="";for(;;){let f=o.exec(i.pathname);if(!f)break;let l=f[0],h=f.index,p=i.pathname.slice(a,h);c+=p.replace(/\/{2,}/g,"/"),c+=l,a=h+l.length}let u=i.pathname.slice(a,i.pathname.length);c+=u.replace(/\/{2,}/g,"/"),i.pathname=c}if(i.pathname)try{i.pathname=decodeURI(i.pathname)}catch{}if(t.removeDirectoryIndex===!0&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let o=i.pathname.split("/"),a=o[o.length-1];_E(a,t.removeDirectoryIndex)&&(o=o.slice(0,-1),i.pathname=o.slice(1).join("/")+"/")}if(i.hostname&&(i.hostname=i.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(i.hostname)&&(i.hostname=i.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(let o of[...i.searchParams.keys()])_E(o,t.removeQueryParameters)&&i.searchParams.delete(o);if(t.removeQueryParameters===!0&&(i.search=""),t.sortQueryParameters){i.searchParams.sort();try{i.search=decodeURIComponent(i.search)}catch{}}t.removeTrailingSlash&&(i.pathname=i.pathname.replace(/\/$/,""));let s=e;return e=i.toString(),!t.removeSingleSlash&&i.pathname==="/"&&!s.endsWith("/")&&i.hash===""&&(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||i.pathname==="/")&&i.hash===""&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),r&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}var gh=(e,t=!1)=>{let r=/^(?:([a-z_][a-z0-9_-]{0,31})@|https?:\/\/)([\w\.\-@]+)[\/:]([\~,\.\w,\-,\_,\/]+?(?:\.git|\/)?)$/,n=s=>{let o=new Error(s);throw o.subject_url=e,o};(typeof e!="string"||!e.trim())&&n("Invalid url."),e.length>gh.MAX_INPUT_LENGTH&&n("Input exceeds maximum length. If needed, change the value of parseUrl.MAX_INPUT_LENGTH."),t&&(typeof t!="object"&&(t={stripHash:!1}),e=xI(e,t));let i=wI.default(e);if(i.parse_failed){let s=i.href.match(r);s?(i.protocols=["ssh"],i.protocol="ssh",i.resource=s[2],i.host=s[2],i.user=s[1],i.pathname=`/${s[3]}`,i.parse_failed=!1):n("URL parsing failed.")}return i};gh.MAX_INPUT_LENGTH=2048;PE.exports=gh});var LE=_((k7,FE)=>{"use strict";var OI=mh();function DE(e){if(Array.isArray(e))return e.indexOf("ssh")!==-1||e.indexOf("rsync")!==-1;if(typeof e!="string")return!1;var t=OI(e);if(e=e.substring(e.indexOf("://")+3),DE(t))return!0;var r=new RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!e.match(r)&&e.indexOf("@")<e.indexOf(":")}FE.exports=DE});var NE=_((N7,kE)=>{"use strict";var _I=RE(),TE=LE();function PI(e){var t=_I(e);return t.token="",t.password==="x-oauth-basic"?t.token=t.user:t.user==="x-token-auth"&&(t.token=t.password),TE(t.protocols)||t.protocols.length===0&&TE(e)?t.protocol="ssh":t.protocols.length?t.protocol=t.protocols[0]:(t.protocol="file",t.protocols=["file"]),t.href=t.href.replace(/\/$/,""),t}kE.exports=PI});var $E=_((I7,IE)=>{"use strict";var RI=NE();function yh(e){if(typeof e!="string")throw new Error("The url must be a string.");var t=/^([a-z\d-]{1,39})\/([-\.\w]{1,100})$/i;t.test(e)&&(e="https://github.com/"+e);var r=RI(e),n=r.resource.split("."),i=null;switch(r.toString=function(E){return yh.stringify(this,E)},r.source=n.length>2?n.slice(1-n.length).join("."):r.source=r.resource,r.git_suffix=/\.git$/.test(r.pathname),r.name=decodeURIComponent((r.pathname||r.href).replace(/(^\/)|(\/$)/g,"").replace(/\.git$/,"")),r.owner=decodeURIComponent(r.user),r.source){case"git.cloudforge.com":r.owner=r.user,r.organization=n[0],r.source="cloudforge.com";break;case"visualstudio.com":if(r.resource==="vs-ssh.visualstudio.com"){i=r.name.split("/"),i.length===4&&(r.organization=i[1],r.owner=i[2],r.name=i[3],r.full_name=i[2]+"/"+i[3]);break}else{i=r.name.split("/"),i.length===2?(r.owner=i[1],r.name=i[1],r.full_name="_git/"+r.name):i.length===3?(r.name=i[2],i[0]==="DefaultCollection"?(r.owner=i[2],r.organization=i[0],r.full_name=r.organization+"/_git/"+r.name):(r.owner=i[0],r.full_name=r.owner+"/_git/"+r.name)):i.length===4&&(r.organization=i[0],r.owner=i[1],r.name=i[3],r.full_name=r.organization+"/"+r.owner+"/_git/"+r.name);break}case"dev.azure.com":case"azure.com":if(r.resource==="ssh.dev.azure.com"){i=r.name.split("/"),i.length===4&&(r.organization=i[1],r.owner=i[2],r.name=i[3]);break}else{i=r.name.split("/"),i.length===5?(r.organization=i[0],r.owner=i[1],r.name=i[4],r.full_name="_git/"+r.name):i.length===3?(r.name=i[2],i[0]==="DefaultCollection"?(r.owner=i[2],r.organization=i[0],r.full_name=r.organization+"/_git/"+r.name):(r.owner=i[0],r.full_name=r.owner+"/_git/"+r.name)):i.length===4&&(r.organization=i[0],r.owner=i[1],r.name=i[3],r.full_name=r.organization+"/"+r.owner+"/_git/"+r.name),r.query&&r.query.path&&(r.filepath=r.query.path.replace(/^\/+/g,"")),r.query&&r.query.version&&(r.ref=r.query.version.replace(/^GB/,""));break}default:i=r.name.split("/");var s=i.length-1;if(i.length>=2){var o=i.indexOf("-",2),a=i.indexOf("blob",2),c=i.indexOf("tree",2),u=i.indexOf("commit",2),f=i.indexOf("src",2),l=i.indexOf("raw",2),h=i.indexOf("edit",2);s=o>0?o-1:a>0?a-1:c>0?c-1:u>0?u-1:f>0?f-1:l>0?l-1:h>0?h-1:s,r.owner=i.slice(0,s).join("/"),r.name=i[s],u&&(r.commit=i[s+2])}r.ref="",r.filepathtype="",r.filepath="";var p=i.length>s&&i[s+1]==="-"?s+1:s;i.length>p+2&&["raw","src","blob","tree","edit"].indexOf(i[p+1])>=0&&(r.filepathtype=i[p+1],r.ref=i[p+2],i.length>p+3&&(r.filepath=i.slice(p+3).join("/"))),r.organization=r.owner;break}r.full_name||(r.full_name=r.owner,r.name&&(r.full_name&&(r.full_name+="/"),r.full_name+=r.name)),r.owner.startsWith("scm/")&&(r.source="bitbucket-server",r.owner=r.owner.replace("scm/",""),r.organization=r.owner,r.full_name=r.owner+"/"+r.name);var d=/(projects|users)\/(.*?)\/repos\/(.*?)((\/.*$)|$)/,g=d.exec(r.pathname);return g!=null&&(r.source="bitbucket-server",g[1]==="users"?r.owner="~"+g[2]:r.owner=g[2],r.organization=r.owner,r.name=g[3],i=g[4].split("/"),i.length>1&&(["raw","browse"].indexOf(i[1])>=0?(r.filepathtype=i[1],i.length>2&&(r.filepath=i.slice(2).join("/"))):i[1]==="commits"&&i.length>2&&(r.commit=i[2])),r.full_name=r.owner+"/"+r.name,r.query.at?r.ref=r.query.at:r.ref=""),r}yh.stringify=function(e,t){t=t||(e.protocols&&e.protocols.length?e.protocols.join("+"):e.protocol);var r=e.port?":"+e.port:"",n=e.user||"git",i=e.git_suffix?".git":"";switch(t){case"ssh":return r?"ssh://"+n+"@"+e.resource+r+"/"+e.full_name+i:n+"@"+e.resource+":"+e.full_name+i;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return t+"://"+n+"@"+e.resource+r+"/"+e.full_name+i;case"http":case"https":var s=e.token?DI(e):e.user&&(e.protocols.includes("http")||e.protocols.includes("https"))?e.user+"@":"";return t+"://"+s+e.resource+r+"/"+FI(e)+i;default:return e.href}};function DI(e){switch(e.source){case"bitbucket.org":return"x-token-auth:"+e.token+"@";default:return e.token+"@"}}function FI(e){switch(e.source){case"bitbucket-server":return"scm/"+e.full_name;default:return""+e.full_name}}IE.exports=yh});var BE=_(yi=>{"use strict";var LI=yi&&yi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(yi,"__esModule",{value:!0});yi.getRepositoryName=void 0;var TI=LI($E());function kI(e){var t;try{let r=e.replace("/_optimized/","/").replace("/DefaultCollection/","/"),n=(0,TI.default)(r),i=r.includes(".visualstudio.com"),s=r.includes("dev.azure.com");if(!i&&!s)return n.full_name;let o=n.full_name.match(/(vs-ssh\.visualstudio\.com|ssh\.dev\.azure\.com):v\d+\/([^/]+)\/([^/]+)/);if(o)return`${o[2]}/${o[3]}/${n.name}`;let a=n.organization;return!a&&i&&(a=(t=n.resource.match(/([^.@]+)\.visualstudio\.com/))===null||t===void 0?void 0:t[1]),`${a}/${n.owner}/${n.name}`}catch{return""}}yi.getRepositoryName=kI});var vh=_(vi=>{"use strict";var jE=vi&&vi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vi,"__esModule",{value:!0});vi.getDefaultRemote=void 0;var NI=jE(M("fs")),II=jE(M("path")),$I=dh(),ME=BE(),BI=gs();function MI(e){let t=typeof e=="string"?{cwd:e}:e,{cwd:r,strict:n,verbose:i}=t,s=x=>i&&console.log(x),o=x=>{if(n)throw new Error(x);s(x)},a=(0,$I.findGitRoot)(r),c={},u=II.default.join(a,"package.json");try{c=JSON.parse(NI.default.readFileSync(u,"utf8").trim())}catch{o(`Could not read "${u}"`)}let{repository:f}=c,l=typeof f=="string"?f:f&&f.url||"";l||console.log(`Valid "repository" key not found in "${u}". Consider adding this info for more accurate git remote detection.`);let h=(0,ME.getRepositoryName)(l),p=(0,BI.git)(["remote","-v"],{cwd:r});p.success||o(`Could not determine available git remotes under "${r}"`);let d={};if(p.stdout.split(`
46
+ `).forEach(x=>{let[b,L]=x.split(/\s+/),F=(0,ME.getRepositoryName)(L);F&&(d[F]=b)}),h){if(d[h])return d[h];o(`Could not find remote pointing to repository "${h}".`)}let g=Object.values(d),E=["upstream","origin",...g];for(let x of E)if(g.includes(x))return s(`Default to remote "${x}"`),x;return o(`Could not find any remotes in git repo at "${a}".`),s('Assuming default remote "origin".'),"origin"}vi.getDefaultRemote=MI});var Eh=_(ae=>{"use strict";Object.defineProperty(ae,"__esModule",{value:!0});ae.listAllTrackedFiles=ae.getDefaultBranch=ae.parseRemoteBranch=ae.getRemoteBranch=ae.getParentBranch=ae.revertLocalChanges=ae.stageAndCommit=ae.commit=ae.stage=ae.init=ae.getFileAddedHash=ae.getCurrentHash=ae.getShortBranchName=ae.getFullBranchRef=ae.getBranchName=ae.getUserEmail=ae.getRecentCommitMessages=ae.getStagedChanges=ae.getChangesBetweenRefs=ae.getBranchChanges=ae.getChanges=ae.getUnstagedChanges=ae.fetchRemoteBranch=ae.fetchRemote=ae.getUntrackedChanges=void 0;var fe=gs();function jI(e){try{return vs((0,fe.git)(["ls-files","--others","--exclude-standard"],{cwd:e}))}catch(t){throw new fe.GitError("Cannot gather information about untracked changes",t)}}ae.getUntrackedChanges=jI;function qI(e,t){if(!(0,fe.git)(["fetch","--",e],{cwd:t}).success)throw new fe.GitError(`Cannot fetch remote "${e}"`)}ae.fetchRemote=qI;function GI(e,t,r){if(!(0,fe.git)(["fetch","--",e,t],{cwd:r}).success)throw new fe.GitError(`Cannot fetch branch "${t}" from remote "${e}"`)}ae.fetchRemoteBranch=GI;function UI(e){try{return vs((0,fe.git)(["--no-pager","diff","--name-only","--relative"],{cwd:e}))}catch(t){throw new fe.GitError("Cannot gather information about unstaged changes",t)}}ae.getUnstagedChanges=UI;function HI(e,t){try{return vs((0,fe.git)(["--no-pager","diff","--relative","--name-only",e+"..."],{cwd:t}))}catch(r){throw new fe.GitError("Cannot gather information about changes",r)}}ae.getChanges=HI;function WI(e,t){return qE(e,"",[],"",t)}ae.getBranchChanges=WI;function qE(e,t,r,n,i){try{return vs((0,fe.git)(["--no-pager","diff","--name-only","--relative",...r,`${e}...${t}`,...n?["--",n]:[]],{cwd:i}))}catch(s){throw new fe.GitError(`Cannot gather information about change between refs changes (${e} to ${t})`,s)}}ae.getChangesBetweenRefs=qE;function zI(e){try{return vs((0,fe.git)(["--no-pager","diff","--relative","--staged","--name-only"],{cwd:e}))}catch(t){throw new fe.GitError("Cannot gather information about staged changes",t)}}ae.getStagedChanges=zI;function YI(e,t){try{let r=(0,fe.git)(["log","--decorate","--pretty=format:%s",`${e}..HEAD`],{cwd:t});return r.success?r.stdout.split(/\n/).map(n=>n.trim()):[]}catch(r){throw new fe.GitError("Cannot gather information about recent commits",r)}}ae.getRecentCommitMessages=YI;function VI(e){try{let t=(0,fe.git)(["config","user.email"],{cwd:e});return t.success?t.stdout:null}catch(t){throw new fe.GitError("Cannot gather information about user.email",t)}}ae.getUserEmail=VI;function GE(e){try{let t=(0,fe.git)(["rev-parse","--abbrev-ref","HEAD"],{cwd:e});return t.success?t.stdout:null}catch(t){throw new fe.GitError("Cannot get branch name",t)}}ae.getBranchName=GE;function KI(e,t){let r=(0,fe.git)(["show-ref","--heads",e],{cwd:t});return r.success?r.stdout.split(" ")[1]:null}ae.getFullBranchRef=KI;function XI(e,t){let r=(0,fe.git)(["name-rev","--name-only",e],{cwd:t});return r.success?r.stdout:null}ae.getShortBranchName=XI;function JI(e){try{let t=(0,fe.git)(["rev-parse","HEAD"],{cwd:e});return t.success?t.stdout:null}catch(t){throw new fe.GitError("Cannot get current git hash",t)}}ae.getCurrentHash=JI;function QI(e,t){let r=(0,fe.git)(["rev-list","HEAD",e],{cwd:t});if(r.success)return r.stdout.trim().split(`
47
+ `).slice(-1)[0]}ae.getFileAddedHash=QI;function ZI(e,t,r){(0,fe.git)(["init"],{cwd:e});let n=(0,fe.git)(["config","--list"],{cwd:e}).stdout.split(`
48
+ `);if(!n.find(i=>i.includes("user.name"))){if(!r)throw new fe.GitError("must include a username when initializing git repo");(0,fe.git)(["config","user.name",r],{cwd:e})}if(!n.find(i=>i.includes("user.email"))){if(!t)throw new Error("must include a email when initializing git repo");(0,fe.git)(["config","user.email",t],{cwd:e})}}ae.init=ZI;function UE(e,t){try{e.forEach(r=>{(0,fe.git)(["add",r],{cwd:t})})}catch(r){throw new fe.GitError("Cannot stage changes",r)}}ae.stage=UE;function HE(e,t,r=[]){try{let n=(0,fe.git)(["commit","-m",e,...r],{cwd:t});if(!n.success)throw new Error(`Cannot commit changes: ${n.stdout} ${n.stderr}`)}catch(n){throw new fe.GitError("Cannot commit changes",n)}}ae.commit=HE;function e2(e,t,r,n=[]){UE(e,r),HE(t,r,n)}ae.stageAndCommit=e2;function t2(e){let t=`workspace-tools_${new Date().getTime()}`;(0,fe.git)(["stash","push","-u","-m",t],{cwd:e});let r=(0,fe.git)(["stash","list"]);if(r.success){let i=r.stdout.split(/\n/).find(s=>s.includes(t));if(i){let s=i.match(/^[^:]+/);if(s)return(0,fe.git)(["stash","drop",s[0]]),!0}}return!1}ae.revertLocalChanges=t2;function r2(e){let t=GE(e);if(!t||t==="HEAD")return null;let r=(0,fe.git)(["show-branch","-a"],{cwd:e});if(r.success){let i=r.stdout.split(/\n/).find(o=>o.includes("*")&&!o.includes(t)&&!o.includes("publish_")),s=i?.match(/\[(.*)\]/);return s?s[1]:null}return null}ae.getParentBranch=r2;function n2(e,t){let r=(0,fe.git)(["rev-parse","--abbrev-ref","--symbolic-full-name",`${e}@{u}`],{cwd:t});return r.success?r.stdout.trim():null}ae.getRemoteBranch=n2;function i2(e){let t=e.indexOf("/",0),r=e.substring(0,t),n=e.substring(t+1);return{remote:r,remoteBranch:n}}ae.parseRemoteBranch=i2;function s2(e){let t=(0,fe.git)(["config","init.defaultBranch"],{cwd:e});return t.success?t.stdout.trim():"master"}ae.getDefaultBranch=s2;function o2(e,t){let r=(0,fe.git)(["ls-files",...e],{cwd:t});return r.success&&r.stdout.trim()?r.stdout.trim().split(/\n/):[]}ae.listAllTrackedFiles=o2;function vs(e){return e.success?e.stdout.split(/\n/).map(t=>t.trim()).filter(t=>!!t&&!t.includes("node_modules")):[]}});var WE=_(Ia=>{"use strict";Object.defineProperty(Ia,"__esModule",{value:!0});Ia.getDefaultRemoteBranch=void 0;var a2=vh(),u2=gs(),c2=Eh();function l2(...e){var t;let[r,n]=e,i=typeof r=="string"?{branch:r,cwd:n}:r,{cwd:s,branch:o}=i,a=(0,a2.getDefaultRemote)(i);if(o)return`${a}/${o}`;let c=(0,u2.git)(["remote","show",a],{cwd:s}),u;return c.success&&(u=(t=c.stdout.split(/\n/).find(f=>f.includes("HEAD branch")))===null||t===void 0?void 0:t.replace(/^\s*HEAD branch:\s+/,"")),`${a}/${u||(0,c2.getDefaultBranch)(s)}`}Ia.getDefaultRemoteBranch=l2});var Na=_(ur=>{"use strict";var f2=ur&&ur.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),$a=ur&&ur.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&f2(t,e,r)};Object.defineProperty(ur,"__esModule",{value:!0});$a(gs(),ur);$a(vh(),ur);$a(WE(),ur);$a(Eh(),ur)});var Ah=_(Ba=>{"use strict";Object.defineProperty(Ba,"__esModule",{value:!0});Ba.createDependencyMap=void 0;var h2=bo();function p2(e,t={withDevDependencies:!0,withPeerDependencies:!1}){let r={dependencies:new Map,dependents:new Map};for(let[n,i]of Object.entries(e)){let s=(0,h2.getPackageDependencies)(i,e,t);for(let o of s)r.dependencies.has(n)||r.dependencies.set(n,new Set),r.dependencies.get(n).add(o),r.dependents.has(o)||r.dependents.set(o,new Set),r.dependents.get(o).add(n)}return r}Ba.createDependencyMap=p2});var YE=_(Ei=>{"use strict";var d2=Ei&&Ei.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ei,"__esModule",{value:!0});Ei.createPackageGraph=void 0;var Es=Ah(),m2=d2(Qi());function g2(e,t){let r=new Set,n=[],i=new Set,s,o,a,c;function u(h,p,d,g){if(r.add(p),!h||h.includeDependencies&&d)for(let E of d){let x=f(p,E);i.has(x)||(i.add(x),n.push({name:p,dependency:E})),r.add(E)}if(!h||h.includeDependents&&g)for(let E of g){let x=f(E,p);i.has(x)||(i.add(x),n.push({name:E,dependency:p})),r.add(E)}}if(t){t=Array.isArray(t)?t:[t];for(let h of t){let p=u.bind(void 0,h),d=l(e,h);zE(e,d,p,h)}}else{let h=u.bind(void 0,void 0),p=l(e);zE(e,p,h)}return{packages:[...r],dependencies:n};function f(h,p){return`${h}->${p}`}function l(h,p){return p?p.withDevDependencies&&p.withPeerDependencies?(s??(s=(0,Es.createDependencyMap)(h,p)),s):p.withDevDependencies&&!p.withPeerDependencies?(a??(a=(0,Es.createDependencyMap)(h,p)),a):!p.withDevDependencies&&p.withPeerDependencies?(o??(o=(0,Es.createDependencyMap)(h,p)),o):(c??(c=(0,Es.createDependencyMap)(h,p)),c):(0,Es.createDependencyMap)(h)}}Ei.createPackageGraph=g2;function zE(e,t,r,n){var i,s;let o=new Set,a=Object.keys(e),c=n?(0,m2.default)(a,n.namePatterns):a;for(;c.length>0;){let u=c.pop();if(o.has(u))continue;let f=new Set,l=[],h=[];if(!n||n.includeDependencies){l=[...(i=t.dependencies.get(u))!==null&&i!==void 0?i:[]];for(let p of l)f.add(p)}if(!n||n.includeDependents){h=[...(s=t.dependents.get(u))!==null&&s!==void 0?s:[]];for(let p of h)f.add(p)}if(r(u,l,h),o.add(u),f.size>0)for(let p of f)c.push(p)}}});var VE=_(xr=>{"use strict";var y2=xr&&xr.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),v2=xr&&xr.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&y2(t,e,r)};Object.defineProperty(xr,"__esModule",{value:!0});xr.getDependentMap=void 0;v2(YE(),xr);var E2=Ah();function A2(e){return(0,E2.createDependencyMap)(e).dependencies}xr.getDependentMap=A2});var As=_(Ma=>{"use strict";Object.defineProperty(Ma,"__esModule",{value:!0});Ma.nameAtVersion=void 0;function w2(e,t){return`${e}@${t}`}Ma.nameAtVersion=w2});var KE=_(ja=>{"use strict";Object.defineProperty(ja,"__esModule",{value:!0});ja.parsePnpmLock=void 0;var S2=As();function b2(e){let t={};if(e&&e.packages)for(let[r,n]of Object.entries(e.packages)){let i=r.split(/\//),s=i.length>3?`${i[1]}/${i[2]}`:i[1],o=i.length>3?i[3]:i[2];t[(0,S2.nameAtVersion)(s,o)]={version:o,dependencies:n.dependencies}}return{object:t,type:"success"}}ja.parsePnpmLock=b2});var XE=_(qa=>{"use strict";Object.defineProperty(qa,"__esModule",{value:!0});qa.parseNpmLock=void 0;var C2=As();function x2(e){var t;return{object:Object.fromEntries(Object.entries((t=e.dependencies)!==null&&t!==void 0?t:{}).map(([n,i])=>[(0,C2.nameAtVersion)(n,i.version),i])),type:"success"}}qa.parseNpmLock=x2});var QE=_((V7,JE)=>{JE.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.i=function(n){return n},r.d=function(n,i,s){r.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:s})},r.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(i,"a",i),i},r.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},r.p="",r(r.s=14)}([function(e,t){e.exports=M("path")},function(e,t,r){"use strict";t.__esModule=!0;var n=r(173),i=s(n);function s(o){return o&&o.__esModule?o:{default:o}}t.default=function(o){return function(){var a=o.apply(this,arguments);return new i.default(function(c,u){function f(l,h){try{var p=a[l](h),d=p.value}catch(g){u(g);return}if(p.done)c(d);else return i.default.resolve(d).then(function(g){f("next",g)},function(g){f("throw",g)})}return f("next")})}}},function(e,t){e.exports=M("util")},function(e,t){e.exports=M("fs")},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(u,f){super(u),this.code=f}}t.MessageError=n;class i extends n{constructor(u,f,l){super(u,f),this.process=l}}t.ProcessSpawnError=i;class s extends n{}t.SecurityError=s;class o extends n{}t.ProcessTermError=o;class a extends Error{constructor(u,f){super(u),this.responseCode=f}}t.ResponseError=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFirstSuitableFolder=t.readFirstAvailableStream=t.makeTempDir=t.hardlinksWork=t.writeFilePreservingEol=t.getFileSizeOnDisk=t.walk=t.symlink=t.find=t.readJsonAndFile=t.readJson=t.readFileAny=t.hardlinkBulk=t.copyBulk=t.unlink=t.glob=t.link=t.chmod=t.lstat=t.exists=t.mkdirp=t.stat=t.access=t.rename=t.readdir=t.realpath=t.readlink=t.writeFile=t.open=t.readFileBuffer=t.lockQueue=t.constants=void 0;var n;function i(){return n=$(r(1))}let s=(()=>{var Z=(0,(n||i()).default)(function*(K,Y,W,V){let pe=(()=>{var Ae=(0,(n||i()).default)(function*(Ke){let xe=Ke.src,de=Ke.dest,Yi=Ke.type,Ct=Ke.onFresh||Ft,Te=Ke.onDone||Ft;if(we.has(de.toLowerCase())?V.verbose(`The case-insensitive file ${de} shouldn't be copied twice in one bulk copy`):we.add(de.toLowerCase()),Yi==="symlink"){yield Re((y||w()).default.dirname(de)),Ct(),ot.symlink.push({dest:de,linkname:xe}),Te();return}if(Y.ignoreBasenames.indexOf((y||w()).default.basename(xe))>=0)return;let ke=yield We(xe),mr;ke.isDirectory()&&(mr=yield le(xe));let yt;try{yt=yield We(de)}catch(lt){if(lt.code!=="ENOENT")throw lt}if(yt){let lt=ke.isSymbolicLink()&&yt.isSymbolicLink(),gr=ke.isDirectory()&&yt.isDirectory(),Kt=ke.isFile()&&yt.isFile();if(Kt&&Ce.has(de)){Te(),V.verbose(V.lang("verboseFileSkipArtifact",xe));return}if(Kt&&ke.size===yt.size&&(0,(z||se()).fileDatesEqual)(ke.mtime,yt.mtime)){Te(),V.verbose(V.lang("verboseFileSkip",xe,de,ke.size,+ke.mtime));return}if(lt){let Xe=yield H(xe);if(Xe===(yield H(de))){Te(),V.verbose(V.lang("verboseFileSkipSymlink",xe,de,Xe));return}}if(gr){let Xe=yield le(de);qn(mr,"src files not initialised");for(var zt=Xe,Ir=Array.isArray(zt),xt=0,zt=Ir?zt:zt[Symbol.iterator]();;){var Un;if(Ir){if(xt>=zt.length)break;Un=zt[xt++]}else{if(xt=zt.next(),xt.done)break;Un=xt.value}let Mr=Un;if(mr.indexOf(Mr)<0){let yr=(y||w()).default.join(de,Mr);if(W.add(yr),(yield We(yr)).isDirectory())for(var Yt=yield le(yr),$r=Array.isArray(Yt),Ot=0,Yt=$r?Yt:Yt[Symbol.iterator]();;){var Hn;if($r){if(Ot>=Yt.length)break;Hn=Yt[Ot++]}else{if(Ot=Yt.next(),Ot.done)break;Hn=Ot.value}let pc=Hn;W.add((y||w()).default.join(yr,pc))}}}}}if(yt&&yt.isSymbolicLink()&&(yield(0,(z||se()).unlink)(de),yt=null),ke.isSymbolicLink()){Ct();let lt=yield H(xe);ot.symlink.push({dest:de,linkname:lt}),Te()}else if(ke.isDirectory()){yt||(V.verbose(V.lang("verboseFileFolder",de)),yield Re(de));let lt=de.split((y||w()).default.sep);for(;lt.length;)we.add(lt.join((y||w()).default.sep).toLowerCase()),lt.pop();qn(mr,"src files not initialised");let gr=mr.length;gr||Te();for(var Vt=mr,Br=Array.isArray(Vt),_t=0,Vt=Br?Vt:Vt[Symbol.iterator]();;){var ct;if(Br){if(_t>=Vt.length)break;ct=Vt[_t++]}else{if(_t=Vt.next(),_t.done)break;ct=_t.value}let Kt=ct;K.push({dest:(y||w()).default.join(de,Kt),onFresh:Ct,onDone:function(Xe){function Mr(){return Xe.apply(this,arguments)}return Mr.toString=function(){return Xe.toString()},Mr}(function(){--gr===0&&Te()}),src:(y||w()).default.join(xe,Kt)})}}else if(ke.isFile())Ct(),ot.file.push({src:xe,dest:de,atime:ke.atime,mtime:ke.mtime,mode:ke.mode}),Te();else throw new Error(`unsure how to copy this: ${xe}`)});return function(xe){return Ae.apply(this,arguments)}})(),Ce=new Set(Y.artifactFiles||[]),we=new Set;for(var ye=K,be=Array.isArray(ye),ge=0,ye=be?ye:ye[Symbol.iterator]();;){var bt;if(be){if(ge>=ye.length)break;bt=ye[ge++]}else{if(ge=ye.next(),ge.done)break;bt=ge.value}let Ae=bt,Ke=Ae.onDone;Ae.onDone=function(){Y.onProgress(Ae.dest),Ke&&Ke()}}Y.onStart(K.length);let ot={file:[],symlink:[],link:[]};for(;K.length;){let Ae=K.splice(0,dn);yield Promise.all(Ae.map(pe))}for(var at=Ce,Nr=Array.isArray(at),Ht=0,at=Nr?at:at[Symbol.iterator]();;){var mn;if(Nr){if(Ht>=at.length)break;mn=at[Ht++]}else{if(Ht=at.next(),Ht.done)break;mn=Ht.value}let Ae=mn;W.has(Ae)&&(V.verbose(V.lang("verboseFilePhantomExtraneous",Ae)),W.delete(Ae))}for(var ut=W,zi=Array.isArray(ut),Wt=0,ut=zi?ut:ut[Symbol.iterator]();;){var gn;if(zi){if(Wt>=ut.length)break;gn=ut[Wt++]}else{if(Wt=ut.next(),Wt.done)break;gn=Wt.value}let Ae=gn;we.has(Ae.toLowerCase())&&W.delete(Ae)}return ot});return function(Y,W,V,pe){return Z.apply(this,arguments)}})(),o=(()=>{var Z=(0,(n||i()).default)(function*(K,Y,W,V){let pe=(()=>{var Ae=(0,(n||i()).default)(function*(Ke){let xe=Ke.src,de=Ke.dest,Yi=Ke.onFresh||Ft,Ct=Ke.onDone||Ft;if(we.has(de.toLowerCase())){Ct();return}if(we.add(de.toLowerCase()),Y.ignoreBasenames.indexOf((y||w()).default.basename(xe))>=0)return;let Te=yield We(xe),ke;Te.isDirectory()&&(ke=yield le(xe));let mr=yield Ut(de);if(mr){let ct=yield We(de),lt=Te.isSymbolicLink()&&ct.isSymbolicLink(),gr=Te.isDirectory()&&ct.isDirectory(),Kt=Te.isFile()&&ct.isFile();if(Te.mode!==ct.mode)try{yield he(de,Te.mode)}catch(Xe){V.verbose(Xe)}if(Kt&&Ce.has(de)){Ct(),V.verbose(V.lang("verboseFileSkipArtifact",xe));return}if(Kt&&Te.ino!==null&&Te.ino===ct.ino){Ct(),V.verbose(V.lang("verboseFileSkip",xe,de,Te.ino));return}if(lt){let Xe=yield H(xe);if(Xe===(yield H(de))){Ct(),V.verbose(V.lang("verboseFileSkipSymlink",xe,de,Xe));return}}if(gr){let Xe=yield le(de);qn(ke,"src files not initialised");for(var xt=Xe,yt=Array.isArray(xt),Ir=0,xt=yt?xt:xt[Symbol.iterator]();;){var zt;if(yt){if(Ir>=xt.length)break;zt=xt[Ir++]}else{if(Ir=xt.next(),Ir.done)break;zt=Ir.value}let Mr=zt;if(ke.indexOf(Mr)<0){let yr=(y||w()).default.join(de,Mr);if(W.add(yr),(yield We(yr)).isDirectory())for(var Ot=yield le(yr),Un=Array.isArray(Ot),$r=0,Ot=Un?Ot:Ot[Symbol.iterator]();;){var Yt;if(Un){if($r>=Ot.length)break;Yt=Ot[$r++]}else{if($r=Ot.next(),$r.done)break;Yt=$r.value}let pc=Yt;W.add((y||w()).default.join(yr,pc))}}}}}if(Te.isSymbolicLink()){Yi();let ct=yield H(xe);ot.symlink.push({dest:de,linkname:ct}),Ct()}else if(Te.isDirectory()){V.verbose(V.lang("verboseFileFolder",de)),yield Re(de);let ct=de.split((y||w()).default.sep);for(;ct.length;)we.add(ct.join((y||w()).default.sep).toLowerCase()),ct.pop();qn(ke,"src files not initialised");let lt=ke.length;lt||Ct();for(var _t=ke,Hn=Array.isArray(_t),Br=0,_t=Hn?_t:_t[Symbol.iterator]();;){var Vt;if(Hn){if(Br>=_t.length)break;Vt=_t[Br++]}else{if(Br=_t.next(),Br.done)break;Vt=Br.value}let gr=Vt;K.push({onFresh:Yi,src:(y||w()).default.join(xe,gr),dest:(y||w()).default.join(de,gr),onDone:function(Kt){function Xe(){return Kt.apply(this,arguments)}return Xe.toString=function(){return Kt.toString()},Xe}(function(){--lt===0&&Ct()})})}}else if(Te.isFile())Yi(),ot.link.push({src:xe,dest:de,removeDest:mr}),Ct();else throw new Error(`unsure how to copy this: ${xe}`)});return function(xe){return Ae.apply(this,arguments)}})(),Ce=new Set(Y.artifactFiles||[]),we=new Set;for(var ye=K,be=Array.isArray(ye),ge=0,ye=be?ye:ye[Symbol.iterator]();;){var bt;if(be){if(ge>=ye.length)break;bt=ye[ge++]}else{if(ge=ye.next(),ge.done)break;bt=ge.value}let Ae=bt,Ke=Ae.onDone||Ft;Ae.onDone=function(){Y.onProgress(Ae.dest),Ke()}}Y.onStart(K.length);let ot={file:[],symlink:[],link:[]};for(;K.length;){let Ae=K.splice(0,dn);yield Promise.all(Ae.map(pe))}for(var at=Ce,Nr=Array.isArray(at),Ht=0,at=Nr?at:at[Symbol.iterator]();;){var mn;if(Nr){if(Ht>=at.length)break;mn=at[Ht++]}else{if(Ht=at.next(),Ht.done)break;mn=Ht.value}let Ae=mn;W.has(Ae)&&(V.verbose(V.lang("verboseFilePhantomExtraneous",Ae)),W.delete(Ae))}for(var ut=W,zi=Array.isArray(ut),Wt=0,ut=zi?ut:ut[Symbol.iterator]();;){var gn;if(zi){if(Wt>=ut.length)break;gn=ut[Wt++]}else{if(Wt=ut.next(),Wt.done)break;gn=Wt.value}let Ae=gn;we.has(Ae.toLowerCase())&&W.delete(Ae)}return ot});return function(Y,W,V,pe){return Z.apply(this,arguments)}})(),a=t.copyBulk=(()=>{var Z=(0,(n||i()).default)(function*(K,Y,W){let V={onStart:W&&W.onStart||Ft,onProgress:W&&W.onProgress||Ft,possibleExtraneous:W?W.possibleExtraneous:new Set,ignoreBasenames:W&&W.ignoreBasenames||[],artifactFiles:W&&W.artifactFiles||[]},pe=yield s(K,V,V.possibleExtraneous,Y);V.onStart(pe.file.length+pe.symlink.length+pe.link.length);let Ce=pe.file,we=new Map;yield(S||T()).queue(Ce,(()=>{var ge=(0,(n||i()).default)(function*(ye){let bt;for(;bt=we.get(ye.dest);)yield bt;Y.verbose(Y.lang("verboseFileCopy",ye.src,ye.dest));let ot=(0,(z||se()).copyFile)(ye,function(){return we.delete(ye.dest)});return we.set(ye.dest,ot),V.onProgress(ye.dest),ot});return function(ye){return ge.apply(this,arguments)}})(),dn);let be=pe.symlink;yield(S||T()).queue(be,function(ge){let ye=(y||w()).default.resolve((y||w()).default.dirname(ge.dest),ge.linkname);return Y.verbose(Y.lang("verboseFileSymlink",ge.dest,ye)),p(ye,ge.dest)})});return function(Y,W,V){return Z.apply(this,arguments)}})(),c=t.hardlinkBulk=(()=>{var Z=(0,(n||i()).default)(function*(K,Y,W){let V={onStart:W&&W.onStart||Ft,onProgress:W&&W.onProgress||Ft,possibleExtraneous:W?W.possibleExtraneous:new Set,artifactFiles:W&&W.artifactFiles||[],ignoreBasenames:[]},pe=yield o(K,V,V.possibleExtraneous,Y);V.onStart(pe.file.length+pe.symlink.length+pe.link.length);let Ce=pe.link;yield(S||T()).queue(Ce,(()=>{var be=(0,(n||i()).default)(function*(ge){Y.verbose(Y.lang("verboseFileLink",ge.src,ge.dest)),ge.removeDest&&(yield(0,(z||se()).unlink)(ge.dest)),yield vo(ge.src,ge.dest)});return function(ge){return be.apply(this,arguments)}})(),dn);let we=pe.symlink;yield(S||T()).queue(we,function(be){let ge=(y||w()).default.resolve((y||w()).default.dirname(be.dest),be.linkname);return Y.verbose(Y.lang("verboseFileSymlink",be.dest,ge)),p(ge,be.dest)})});return function(Y,W,V){return Z.apply(this,arguments)}})(),u=t.readFileAny=(()=>{var Z=(0,(n||i()).default)(function*(K){for(var V=K,Y=Array.isArray(V),W=0,V=Y?V:V[Symbol.iterator]();;){var pe;if(Y){if(W>=V.length)break;pe=V[W++]}else{if(W=V.next(),W.done)break;pe=W.value}let Ce=pe;if(yield Ut(Ce))return hc(Ce)}return null});return function(Y){return Z.apply(this,arguments)}})(),f=t.readJson=(()=>{var Z=(0,(n||i()).default)(function*(K){return(yield l(K)).object});return function(Y){return Z.apply(this,arguments)}})(),l=t.readJsonAndFile=(()=>{var Z=(0,(n||i()).default)(function*(K){let Y=yield hc(K);try{return{object:(0,(B||G()).default)(JSON.parse(Wi(Y))),content:Y}}catch(W){throw W.message=`${K}: ${W.message}`,W}});return function(Y){return Z.apply(this,arguments)}})(),h=t.find=(()=>{var Z=(0,(n||i()).default)(function*(K,Y){let W=Y.split((y||w()).default.sep);for(;W.length;){let V=W.concat(K).join((y||w()).default.sep);if(yield Ut(V))return V;W.pop()}return!1});return function(Y,W){return Z.apply(this,arguments)}})(),p=t.symlink=(()=>{var Z=(0,(n||i()).default)(function*(K,Y){try{if((yield We(Y)).isSymbolicLink()&&(yield ie(Y))===K)return}catch(W){if(W.code!=="ENOENT")throw W}if(yield(0,(z||se()).unlink)(Y),process.platform==="win32")yield Ao(K,Y,"junction");else{let W;try{W=(y||w()).default.relative((R||D()).default.realpathSync((y||w()).default.dirname(Y)),(R||D()).default.realpathSync(K))}catch(V){if(V.code!=="ENOENT")throw V;W=(y||w()).default.relative((y||w()).default.dirname(Y),K)}yield Ao(W||".",Y)}});return function(Y,W){return Z.apply(this,arguments)}})(),d=t.walk=(()=>{var Z=(0,(n||i()).default)(function*(K,Y,W=new Set){let V=[],pe=yield le(K);W.size&&(pe=pe.filter(function(ye){return!W.has(ye)}));for(var be=pe,Ce=Array.isArray(be),we=0,be=Ce?be:be[Symbol.iterator]();;){var ge;if(Ce){if(we>=be.length)break;ge=be[we++]}else{if(we=be.next(),we.done)break;ge=we.value}let ye=ge,bt=Y?(y||w()).default.join(Y,ye):ye,ot=(y||w()).default.join(K,ye),Nr=yield We(ot);V.push({relative:bt,basename:ye,absolute:ot,mtime:+Nr.mtime}),Nr.isDirectory()&&(V=V.concat(yield d(ot,bt,W)))}return V});return function(Y,W){return Z.apply(this,arguments)}})(),g=t.getFileSizeOnDisk=(()=>{var Z=(0,(n||i()).default)(function*(K){let Y=yield We(K),W=Y.size,V=Y.blksize;return Math.ceil(W/V)*V});return function(Y){return Z.apply(this,arguments)}})(),E=(()=>{var Z=(0,(n||i()).default)(function*(K){if(!(yield Ut(K)))return;let Y=yield ne(K);for(let W=0;W<Y.length;++W){if(Y[W]===P_)return`\r
49
+ `;if(Y[W]===R_)return`
50
+ `}});return function(Y){return Z.apply(this,arguments)}})(),x=t.writeFilePreservingEol=(()=>{var Z=(0,(n||i()).default)(function*(K,Y){let W=(yield E(K))||(O||m()).default.EOL;W!==`
51
+ `&&(Y=Y.replace(/\n/g,W)),yield oe(K,Y)});return function(Y,W){return Z.apply(this,arguments)}})(),b=t.hardlinksWork=(()=>{var Z=(0,(n||i()).default)(function*(K){let Y="test-file"+Math.random(),W=(y||w()).default.join(K,Y),V=(y||w()).default.join(K,Y+"-link");try{yield oe(W,"test"),yield vo(W,V)}catch{return!1}finally{yield(0,(z||se()).unlink)(W),yield(0,(z||se()).unlink)(V)}return!0});return function(Y){return Z.apply(this,arguments)}})(),L=t.makeTempDir=(()=>{var Z=(0,(n||i()).default)(function*(K){let Y=(y||w()).default.join((O||m()).default.tmpdir(),`yarn-${K||""}-${Date.now()}-${Math.random()}`);return yield(0,(z||se()).unlink)(Y),yield Re(Y),Y});return function(Y){return Z.apply(this,arguments)}})(),F=t.readFirstAvailableStream=(()=>{var Z=(0,(n||i()).default)(function*(K){for(var V=K,Y=Array.isArray(V),W=0,V=Y?V:V[Symbol.iterator]();;){var pe;if(Y){if(W>=V.length)break;pe=V[W++]}else{if(W=V.next(),W.done)break;pe=W.value}let Ce=pe;try{let we=yield q(Ce,"r");return(R||D()).default.createReadStream(Ce,{fd:we})}catch{}}return null});return function(Y){return Z.apply(this,arguments)}})(),A=t.getFirstSuitableFolder=(()=>{var Z=(0,(n||i()).default)(function*(K,Y=j.W_OK|j.X_OK){let W={skipped:[],folder:null};for(var Ce=K,V=Array.isArray(Ce),pe=0,Ce=V?Ce:Ce[Symbol.iterator]();;){var we;if(V){if(pe>=Ce.length)break;we=Ce[pe++]}else{if(pe=Ce.next(),pe.done)break;we=pe.value}let be=we;try{return yield Re(be),yield he(be,Y),W.folder=be,W}catch(ge){W.skipped.push({error:ge,folder:be})}}return W});return function(Y){return Z.apply(this,arguments)}})();t.copy=wo,t.readFile=hc,t.readFileRaw=__,t.normalizeOS=Hd;var R;function D(){return R=$(r(3))}var P;function N(){return P=$(r(75))}var O;function m(){return O=$(r(36))}var y;function w(){return y=$(r(0))}var C;function v(){return C=$(r(84))}var S;function T(){return S=U(r(40))}var k;function I(){return k=r(40)}var B;function G(){return B=$(r(20))}var z;function se(){return z=r(164)}function U(Z){if(Z&&Z.__esModule)return Z;var K={};if(Z!=null)for(var Y in Z)Object.prototype.hasOwnProperty.call(Z,Y)&&(K[Y]=Z[Y]);return K.default=Z,K}function $(Z){return Z&&Z.__esModule?Z:{default:Z}}let j=t.constants=typeof(R||D()).default.constants<"u"?(R||D()).default.constants:{R_OK:(R||D()).default.R_OK,W_OK:(R||D()).default.W_OK,X_OK:(R||D()).default.X_OK},re=t.lockQueue=new(C||v()).default("fs lock"),ne=t.readFileBuffer=(0,(k||I()).promisify)((R||D()).default.readFile),q=t.open=(0,(k||I()).promisify)((R||D()).default.open),oe=t.writeFile=(0,(k||I()).promisify)((R||D()).default.writeFile),H=t.readlink=(0,(k||I()).promisify)((R||D()).default.readlink),ie=t.realpath=(0,(k||I()).promisify)((R||D()).default.realpath),le=t.readdir=(0,(k||I()).promisify)((R||D()).default.readdir),Se=t.rename=(0,(k||I()).promisify)((R||D()).default.rename),he=t.access=(0,(k||I()).promisify)((R||D()).default.access),Le=t.stat=(0,(k||I()).promisify)((R||D()).default.stat),Re=t.mkdirp=(0,(k||I()).promisify)(r(116)),Ut=t.exists=(0,(k||I()).promisify)((R||D()).default.exists,!0),We=t.lstat=(0,(k||I()).promisify)((R||D()).default.lstat),dr=t.chmod=(0,(k||I()).promisify)((R||D()).default.chmod),vo=t.link=(0,(k||I()).promisify)((R||D()).default.link),Eo=t.glob=(0,(k||I()).promisify)((P||N()).default);t.unlink=(z||se()).unlink;let dn=(R||D()).default.copyFile?128:4,Ao=(0,(k||I()).promisify)((R||D()).default.symlink),qn=r(7),Wi=r(122),Ft=()=>{};function wo(Z,K,Y){return a([{src:Z,dest:K}],Y)}function Gn(Z,K){return new Promise((Y,W)=>{(R||D()).default.readFile(Z,K,function(V,pe){V?W(V):Y(pe)})})}function hc(Z){return Gn(Z,"utf8").then(Hd)}function __(Z){return Gn(Z,"binary")}function Hd(Z){return Z.replace(/\r\n/g,`
52
+ `)}let P_=13,R_=10},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPathKey=he;let n=r(36),i=r(0),s=r(45).default;var o=r(171);let a=o.getCacheDir,c=o.getConfigDir,u=o.getDataDir,f=r(227),l=t.DEPENDENCY_TYPES=["devDependencies","dependencies","optionalDependencies","peerDependencies"],h=t.RESOLUTIONS="resolutions",p=t.MANIFEST_FIELDS=[h,...l],d=t.SUPPORTED_NODE_VERSIONS="^4.8.0 || ^5.7.0 || ^6.2.2 || >=8.0.0",g=t.YARN_REGISTRY="https://registry.yarnpkg.com",E=t.YARN_DOCS="https://yarnpkg.com/en/docs/cli/",x=t.YARN_INSTALLER_SH="https://yarnpkg.com/install.sh",b=t.YARN_INSTALLER_MSI="https://yarnpkg.com/latest.msi",L=t.SELF_UPDATE_VERSION_URL="https://yarnpkg.com/latest-version",F=t.CACHE_VERSION=2,A=t.LOCKFILE_VERSION=1,R=t.NETWORK_CONCURRENCY=8,D=t.NETWORK_TIMEOUT=30*1e3,P=t.CHILD_CONCURRENCY=5,N=t.REQUIRED_PACKAGE_KEYS=["name","version","_uid"];function O(){let Re=[a()];return process.getuid&&Re.push(i.join(n.tmpdir(),`.yarn-cache-${process.getuid()}`)),Re.push(i.join(n.tmpdir(),".yarn-cache")),Re}let m=t.PREFERRED_MODULE_CACHE_DIRECTORIES=O(),y=t.CONFIG_DIRECTORY=c(),w=t.DATA_DIRECTORY=u(),C=t.LINK_REGISTRY_DIRECTORY=i.join(w,"link"),v=t.GLOBAL_MODULE_DIRECTORY=i.join(w,"global"),S=t.NODE_BIN_PATH=process.execPath,T=t.YARN_BIN_PATH=k();function k(){return f?__filename:i.join(__dirname,"..","bin","yarn.js")}let I=t.NODE_MODULES_FOLDER="node_modules",B=t.NODE_PACKAGE_JSON="package.json",G=t.POSIX_GLOBAL_PREFIX=`${process.env.DESTDIR||""}/usr/local`,z=t.FALLBACK_GLOBAL_PREFIX=i.join(s,".yarn"),se=t.META_FOLDER=".yarn-meta",U=t.INTEGRITY_FILENAME=".yarn-integrity",$=t.LOCKFILE_FILENAME="yarn.lock",j=t.METADATA_FILENAME=".yarn-metadata.json",re=t.TARBALL_FILENAME=".yarn-tarball.tgz",ne=t.CLEAN_FILENAME=".yarnclean",q=t.NPM_LOCK_FILENAME="package-lock.json",oe=t.NPM_SHRINKWRAP_FILENAME="npm-shrinkwrap.json",H=t.DEFAULT_INDENT=" ",ie=t.SINGLE_INSTANCE_PORT=31997,le=t.SINGLE_INSTANCE_FILENAME=".yarn-single-instance",Se=t.ENV_PATH_KEY=he(process.platform,process.env);function he(Re,Ut){let We="PATH";if(Re==="win32"){We="Path";for(let dr in Ut)dr.toLowerCase()==="path"&&(We=dr)}return We}let Le=t.VERSION_COLOR_SCHEME={major:"red",premajor:"red",minor:"yellow",preminor:"yellow",patch:"green",prepatch:"green",prerelease:"red",unchanged:"white",unknown:"red"}},function(e,t,r){"use strict";var n=process.env.NODE_ENV,i=function(s,o,a,c,u,f,l,h){if(n!=="production"&&o===void 0)throw new Error("invariant requires an error message argument");if(!s){var p;if(o===void 0)p=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[a,c,u,f,l,h],g=0;p=new Error(o.replace(/%s/g,function(){return d[g++]})),p.name="Invariant Violation"}throw p.framesToPop=1,p}};e.exports=i},,function(e,t){e.exports=M("crypto")},,function(e,t){var r=e.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=r)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortAlpha=i,t.entries=s,t.removePrefix=o,t.removeSuffix=a,t.addSuffix=c,t.hyphenate=u,t.camelCase=f,t.compareSortedArrays=l,t.sleep=h;let n=r(176);function i(p,d){let g=Math.min(p.length,d.length);for(let E=0;E<g;E++){let x=p.charCodeAt(E),b=d.charCodeAt(E);if(x!==b)return x-b}return p.length-d.length}function s(p){let d=[];if(p)for(let g in p)d.push([g,p[g]]);return d}function o(p,d){return p.startsWith(d)&&(p=p.slice(d.length)),p}function a(p,d){return p.endsWith(d)?p.slice(0,-d.length):p}function c(p,d){return p.endsWith(d)?p:p+d}function u(p){return p.replace(/[A-Z]/g,d=>"-"+d.charAt(0).toLowerCase())}function f(p){return/[A-Z]/.test(p)?null:n(p)}function l(p,d){if(p.length!==d.length)return!1;for(let g=0,E=p.length;g<E;g++)if(p[g]!==d[g])return!1;return!0}function h(p){return new Promise(d=>{setTimeout(d,p)})}},function(e,t,r){var n=r(107)("wks"),i=r(111),s=r(11).Symbol,o=typeof s=="function",a=e.exports=function(c){return n[c]||(n[c]=o&&s[c]||(o?s:i)("Symbol."+c))};a.store=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=t.parse=void 0;var n;function i(){return n=F(r(1))}var s;function o(){return s=r(81)}Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return F(s||o()).default}});var a;function c(){return a=r(150)}Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return F(a||c()).default}}),t.implodeEntry=y,t.explodeEntry=w;var u;function f(){return u=r(12)}var l;function h(){return l=r(29)}var p;function d(){return p=F(r(81))}var g;function E(){return g=r(6)}var x;function b(){return x=L(r(5))}function L(v){if(v&&v.__esModule)return v;var S={};if(v!=null)for(var T in v)Object.prototype.hasOwnProperty.call(v,T)&&(S[T]=v[T]);return S.default=v,S}function F(v){return v&&v.__esModule?v:{default:v}}let A=r(7),R=r(0),D=r(55);function P(v){return(0,(l||h()).normalizePattern)(v).name}function N(v){return v&&Object.keys(v).length?v:void 0}function O(v){return v.resolved||(v.reference&&v.hash?`${v.reference}#${v.hash}`:null)}function m(v){return v.toString().split(" ").sort().join(" ")}function y(v,S){let T=P(v),k=S.integrity?m(S.integrity):"",I={name:T===S.name?void 0:S.name,version:S.version,uid:S.uid===S.version?void 0:S.uid,resolved:S.resolved,registry:S.registry==="npm"?void 0:S.registry,dependencies:N(S.dependencies),optionalDependencies:N(S.optionalDependencies),permissions:N(S.permissions),prebuiltVariants:N(S.prebuiltVariants)};return k&&(I.integrity=k),I}function w(v,S){S.optionalDependencies=S.optionalDependencies||{},S.dependencies=S.dependencies||{},S.uid=S.uid||S.version,S.permissions=S.permissions||{},S.registry=S.registry||"npm",S.name=S.name||P(v);let T=S.integrity;return T&&T.isIntegrity&&(S.integrity=D.parse(T)),S}class C{constructor({cache:S,source:T,parseResultType:k}={}){this.source=T||"",this.cache=S,this.parseResultType=k}hasEntriesExistWithoutIntegrity(){if(!this.cache)return!1;for(let S in this.cache)if(!/^.*@(file:|http)/.test(S)&&this.cache[S]&&!this.cache[S].integrity)return!0;return!1}static fromDirectory(S,T){return(0,(n||i()).default)(function*(){let k=R.join(S,(g||E()).LOCKFILE_FILENAME),I,B="",G;return(yield(x||b()).exists(k))?(B=yield(x||b()).readFile(k),G=(0,(p||d()).default)(B,k),T&&(G.type==="merge"?T.info(T.lang("lockfileMerged")):G.type==="conflict"&&T.warn(T.lang("lockfileConflict"))),I=G.object):T&&T.info(T.lang("noLockfileFound")),new C({cache:I,source:B,parseResultType:G&&G.type})})()}getLocked(S){let T=this.cache;if(!T)return;let k=S in T&&T[S];if(typeof k=="string")return this.getLocked(k);if(k)return w(S,k),k}removePattern(S){let T=this.cache;T&&delete T[S]}getLockfile(S){let T={},k=new Map,I=Object.keys(S).sort((u||f()).sortAlpha);for(var z=I,B=Array.isArray(z),G=0,z=B?z:z[Symbol.iterator]();;){var se;if(B){if(G>=z.length)break;se=z[G++]}else{if(G=z.next(),G.done)break;se=G.value}let U=se,$=S[U],j=$._remote,re=$._reference;A(re,"Package is missing a reference"),A(j,"Package is missing a remote");let ne=O(j),q=ne&&k.get(ne);if(q){T[U]=q,!q.name&&P(U)!==$.name&&(q.name=$.name);continue}let oe=y(U,{name:$.name,version:$.version,uid:$._uid,resolved:j.resolved,integrity:j.integrity,registry:j.registry,dependencies:$.dependencies,peerDependencies:$.peerDependencies,optionalDependencies:$.optionalDependencies,permissions:re.permissions,prebuiltVariants:$.prebuiltVariants});T[U]=oe,ne&&k.set(ne,oe)}return T}}t.default=C},,,function(e,t){e.exports=M("stream")},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(i={}){if(Array.isArray(i))for(var a=i,s=Array.isArray(a),o=0,a=s?a:a[Symbol.iterator]();;){var c;if(s){if(o>=a.length)break;c=a[o++]}else{if(o=a.next(),o.done)break;c=o.value}n(c)}else if((i!==null&&typeof i=="object"||typeof i=="function")&&(Object.setPrototypeOf(i,null),typeof i=="object"))for(let u in i)n(i[u]);return i}},,function(e,t){e.exports=M("assert")},function(e,t){var r=e.exports={version:"2.5.7"};typeof __e=="number"&&(__e=r)},,,,function(e,t,r){var n=r(34);e.exports=function(i){if(!n(i))throw TypeError(i+" is not an object!");return i}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePattern=n;function n(i){let s=!1,o="latest",a=i,c=!1;a[0]==="@"&&(c=!0,a=a.slice(1));let u=a.split("@");return u.length>1&&(a=u.shift(),o=u.join("@"),o?s=!0:o="*"),c&&(a=`@${a}`),{name:a,range:o,hasVersion:s}}},,function(e,t,r){var n=r(50),i=r(106);e.exports=r(33)?function(s,o,a){return n.f(s,o,i(1,a))}:function(s,o,a){return s[o]=a,s}},function(e,t,r){var n=r(63),i=n.Buffer;function s(a,c){for(var u in a)c[u]=a[u]}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=o);function o(a,c,u){return i(a,c,u)}s(i,o),o.from=function(a,c,u){if(typeof a=="number")throw new TypeError("Argument must not be a number");return i(a,c,u)},o.alloc=function(a,c,u){if(typeof a!="number")throw new TypeError("Argument must be a number");var f=i(a);return c!==void 0?typeof u=="string"?f.fill(c,u):f.fill(c):f.fill(0),f},o.allocUnsafe=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return i(a)},o.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(a)}},function(e,t,r){e.exports=!r(85)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(e,t){e.exports=function(r){return typeof r=="object"?r!==null:typeof r=="function"}},function(e,t){e.exports={}},function(e,t){e.exports=M("os")},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wait=n,t.promisify=i,t.queue=s;function n(o){return new Promise(a=>{setTimeout(a,o)})}function i(o,a){return function(...c){return new Promise(function(u,f){c.push(function(l,...h){let p=h;h.length<=1&&(p=h[0]),a&&(p=l,l=null),l?f(l):u(p)}),o.apply(null,c)})}}function s(o,a,c=1/0){c=Math.min(c,o.length),o=o.slice();let u=[],f=o.length;return f?new Promise((l,h)=>{for(let d=0;d<c;d++)p();function p(){let d=o.shift();a(d).then(function(E){u.push(E),f--,f===0?l(u):o.length&&p()},h)}}):Promise.resolve(u)}},function(e,t,r){var n=r(11),i=r(23),s=r(48),o=r(31),a=r(49),c="prototype",u=function(f,l,h){var p=f&u.F,d=f&u.G,g=f&u.S,E=f&u.P,x=f&u.B,b=f&u.W,L=d?i:i[l]||(i[l]={}),F=L[c],A=d?n:g?n[l]:(n[l]||{})[c],R,D,P;d&&(h=l);for(R in h)D=!p&&A&&A[R]!==void 0,!(D&&a(L,R))&&(P=D?A[R]:h[R],L[R]=d&&typeof A[R]!="function"?h[R]:x&&D?s(P,n):b&&A[R]==P?function(N){var O=function(m,y,w){if(this instanceof N){switch(arguments.length){case 0:return new N;case 1:return new N(m);case 2:return new N(m,y)}return new N(m,y,w)}return N.apply(this,arguments)};return O[c]=N[c],O}(P):E&&typeof P=="function"?s(Function.call,P):P,E&&((L.virtual||(L.virtual={}))[R]=P,f&u.R&&F&&!F[R]&&o(F,R,P)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t,r){try{var n=r(2);if(typeof n.inherits!="function")throw"";e.exports=n.inherits}catch{e.exports=r(224)}},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.home=void 0;var n;function i(){return n=s(r(169))}function s(u){return u&&u.__esModule?u:{default:u}}let o=r(0),a=t.home=r(36).homedir(),c=(n||i()).default?o.resolve("/usr/local/share"):a;t.default=c},function(e,t){e.exports=function(r){if(typeof r!="function")throw TypeError(r+" is not a function!");return r}},function(e,t){var r={}.toString;e.exports=function(n){return r.call(n).slice(8,-1)}},function(e,t,r){var n=r(46);e.exports=function(i,s,o){if(n(i),s===void 0)return i;switch(o){case 1:return function(a){return i.call(s,a)};case 2:return function(a,c){return i.call(s,a,c)};case 3:return function(a,c,u){return i.call(s,a,c,u)}}return function(){return i.apply(s,arguments)}}},function(e,t){var r={}.hasOwnProperty;e.exports=function(n,i){return r.call(n,i)}},function(e,t,r){var n=r(27),i=r(184),s=r(201),o=Object.defineProperty;t.f=r(33)?Object.defineProperty:function(c,u,f){if(n(c),u=s(u,!0),n(f),i)try{return o(c,u,f)}catch{}if("get"in f||"set"in f)throw TypeError("Accessors not supported!");return"value"in f&&(c[u]=f.value),c}},,,,function(e,t){e.exports=M("events")},function(e,t,r){"use strict";let n=r(32).Buffer,i=r(9),s=r(17).Transform,o=["sha256","sha384","sha512"],a=/^[a-z0-9+/]+(?:=?=?)$/i,c=/^([^-]+)-([^?]+)([?\S*]*)$/,u=/^([^-]+)-([A-Za-z0-9+/=]{44,88})(\?[\x21-\x7E]*)*$/,f=/^[\x21-\x7E]+$/;class l{get isHash(){return!0}constructor(m,y){let w=!!(y&&y.strict);this.source=m.trim();let C=this.source.match(w?u:c);if(!C||w&&!o.some(S=>S===C[1]))return;this.algorithm=C[1],this.digest=C[2];let v=C[3];this.options=v?v.slice(1).split("?"):[]}hexDigest(){return this.digest&&n.from(this.digest,"base64").toString("hex")}toJSON(){return this.toString()}toString(m){if(m&&m.strict&&!(o.some(w=>w===this.algorithm)&&this.digest.match(a)&&(this.options||[]).every(w=>w.match(f))))return"";let y=this.options&&this.options.length?`?${this.options.join("?")}`:"";return`${this.algorithm}-${this.digest}${y}`}}class h{get isIntegrity(){return!0}toJSON(){return this.toString()}toString(m){m=m||{};let y=m.sep||" ";return m.strict&&(y=y.replace(/\S+/g," ")),Object.keys(this).map(w=>this[w].map(C=>l.prototype.toString.call(C,m)).filter(C=>C.length).join(y)).filter(w=>w.length).join(y)}concat(m,y){let w=typeof m=="string"?m:g(m,y);return p(`${this.toString(y)} ${w}`,y)}hexDigest(){return p(this,{single:!0}).hexDigest()}match(m,y){let w=p(m,y),C=w.pickAlgorithm(y);return this[C]&&w[C]&&this[C].find(v=>w[C].find(S=>v.digest===S.digest))||!1}pickAlgorithm(m){let y=m&&m.pickAlgorithm||N,w=Object.keys(this);if(!w.length)throw new Error(`No algorithms available for ${JSON.stringify(this.toString())}`);return w.reduce((C,v)=>y(C,v)||C)}}e.exports.parse=p;function p(O,m){if(m=m||{},typeof O=="string")return d(O,m);if(O.algorithm&&O.digest){let y=new h;return y[O.algorithm]=[O],d(g(y,m),m)}else return d(g(O,m),m)}function d(O,m){return m.single?new l(O,m):O.trim().split(/\s+/).reduce((y,w)=>{let C=new l(w,m);if(C.algorithm&&C.digest){let v=C.algorithm;y[v]||(y[v]=[]),y[v].push(C)}return y},new h)}e.exports.stringify=g;function g(O,m){return O.algorithm&&O.digest?l.prototype.toString.call(O,m):typeof O=="string"?g(p(O,m),m):h.prototype.toString.call(O,m)}e.exports.fromHex=E;function E(O,m,y){let w=y&&y.options&&y.options.length?`?${y.options.join("?")}`:"";return p(`${m}-${n.from(O,"hex").toString("base64")}${w}`,y)}e.exports.fromData=x;function x(O,m){m=m||{};let y=m.algorithms||["sha512"],w=m.options&&m.options.length?`?${m.options.join("?")}`:"";return y.reduce((C,v)=>{let S=i.createHash(v).update(O).digest("base64"),T=new l(`${v}-${S}${w}`,m);if(T.algorithm&&T.digest){let k=T.algorithm;C[k]||(C[k]=[]),C[k].push(T)}return C},new h)}e.exports.fromStream=b;function b(O,m){m=m||{};let y=m.Promise||Promise,w=A(m);return new y((C,v)=>{O.pipe(w),O.on("error",v),w.on("error",v);let S;w.on("integrity",T=>{S=T}),w.on("end",()=>C(S)),w.on("data",()=>{})})}e.exports.checkData=L;function L(O,m,y){if(y=y||{},m=p(m,y),!Object.keys(m).length){if(y.error)throw Object.assign(new Error("No valid integrity hashes to check against"),{code:"EINTEGRITY"});return!1}let w=m.pickAlgorithm(y),C=i.createHash(w).update(O).digest("base64"),v=p({algorithm:w,digest:C}),S=v.match(m,y);if(S||!y.error)return S;if(typeof y.size=="number"&&O.length!==y.size){let T=new Error(`data size mismatch when checking ${m}.
53
+ Wanted: ${y.size}
54
+ Found: ${O.length}`);throw T.code="EBADSIZE",T.found=O.length,T.expected=y.size,T.sri=m,T}else{let T=new Error(`Integrity checksum failed when using ${w}: Wanted ${m}, but got ${v}. (${O.length} bytes)`);throw T.code="EINTEGRITY",T.found=v,T.expected=m,T.algorithm=w,T.sri=m,T}}e.exports.checkStream=F;function F(O,m,y){y=y||{};let w=y.Promise||Promise,C=A(Object.assign({},y,{integrity:m}));return new w((v,S)=>{O.pipe(C),O.on("error",S),C.on("error",S);let T;C.on("verified",k=>{T=k}),C.on("end",()=>v(T)),C.on("data",()=>{})})}e.exports.integrityStream=A;function A(O){O=O||{};let m=O.integrity&&p(O.integrity,O),y=m&&Object.keys(m).length,w=y&&m.pickAlgorithm(O),C=y&&m[w],v=Array.from(new Set((O.algorithms||["sha512"]).concat(w?[w]:[]))),S=v.map(i.createHash),T=0,k=new s({transform(I,B,G){T+=I.length,S.forEach(z=>z.update(I,B)),G(null,I,B)}}).on("end",()=>{let I=O.options&&O.options.length?`?${O.options.join("?")}`:"",B=p(S.map((z,se)=>`${v[se]}-${z.digest("base64")}${I}`).join(" "),O),G=y&&B.match(m,O);if(typeof O.size=="number"&&T!==O.size){let z=new Error(`stream size mismatch when checking ${m}.
55
+ Wanted: ${O.size}
56
+ Found: ${T}`);z.code="EBADSIZE",z.found=T,z.expected=O.size,z.sri=m,k.emit("error",z)}else if(O.integrity&&!G){let z=new Error(`${m} integrity checksum failed when using ${w}: wanted ${C} but got ${B}. (${T} bytes)`);z.code="EINTEGRITY",z.found=B,z.expected=C,z.algorithm=w,z.sri=m,k.emit("error",z)}else k.emit("size",T),k.emit("integrity",B),G&&k.emit("verified",G)});return k}e.exports.create=R;function R(O){O=O||{};let m=O.algorithms||["sha512"],y=O.options&&O.options.length?`?${O.options.join("?")}`:"",w=m.map(i.createHash);return{update:function(C,v){return w.forEach(S=>S.update(C,v)),this},digest:function(C){return m.reduce((S,T)=>{let k=w.shift().digest("base64"),I=new l(`${T}-${k}${y}`,O);if(I.algorithm&&I.digest){let B=I.algorithm;S[B]||(S[B]=[]),S[B].push(I)}return S},new h)}}}let D=new Set(i.getHashes()),P=["md5","whirlpool","sha1","sha224","sha256","sha384","sha512","sha3","sha3-256","sha3-384","sha3-512","sha3_256","sha3_384","sha3_512"].filter(O=>D.has(O));function N(O,m){return P.indexOf(O.toLowerCase())>=P.indexOf(m.toLowerCase())?O:m}},,,,,function(e,t,r){e.exports=E,E.Minimatch=x;var n={sep:"/"};try{n=r(0)}catch{}var i=E.GLOBSTAR=x.GLOBSTAR={},s=r(175),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="[^/]",c=a+"*?",u="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",f="(?:(?!(?:\\/|^)\\.).)*?",l=h("().*{}+?[]^$\\!");function h(m){return m.split("").reduce(function(y,w){return y[w]=!0,y},{})}var p=/\/+/;E.filter=d;function d(m,y){return y=y||{},function(w,C,v){return E(w,m,y)}}function g(m,y){m=m||{},y=y||{};var w={};return Object.keys(y).forEach(function(C){w[C]=y[C]}),Object.keys(m).forEach(function(C){w[C]=m[C]}),w}E.defaults=function(m){if(!m||!Object.keys(m).length)return E;var y=E,w=function(v,S,T){return y.minimatch(v,S,g(m,T))};return w.Minimatch=function(v,S){return new y.Minimatch(v,g(m,S))},w},x.defaults=function(m){return!m||!Object.keys(m).length?x:E.defaults(m).Minimatch};function E(m,y,w){if(typeof y!="string")throw new TypeError("glob pattern string required");return w||(w={}),!w.nocomment&&y.charAt(0)==="#"?!1:y.trim()===""?m==="":new x(y,w).match(m)}function x(m,y){if(!(this instanceof x))return new x(m,y);if(typeof m!="string")throw new TypeError("glob pattern string required");y||(y={}),m=m.trim(),n.sep!=="/"&&(m=m.split(n.sep).join("/")),this.options=y,this.set=[],this.pattern=m,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}x.prototype.debug=function(){},x.prototype.make=b;function b(){if(!this._made){var m=this.pattern,y=this.options;if(!y.nocomment&&m.charAt(0)==="#"){this.comment=!0;return}if(!m){this.empty=!0;return}this.parseNegate();var w=this.globSet=this.braceExpand();y.debug&&(this.debug=console.error),this.debug(this.pattern,w),w=this.globParts=w.map(function(C){return C.split(p)}),this.debug(this.pattern,w),w=w.map(function(C,v,S){return C.map(this.parse,this)},this),this.debug(this.pattern,w),w=w.filter(function(C){return C.indexOf(!1)===-1}),this.debug(this.pattern,w),this.set=w}}x.prototype.parseNegate=L;function L(){var m=this.pattern,y=!1,w=this.options,C=0;if(!w.nonegate){for(var v=0,S=m.length;v<S&&m.charAt(v)==="!";v++)y=!y,C++;C&&(this.pattern=m.substr(C)),this.negate=y}}E.braceExpand=function(m,y){return F(m,y)},x.prototype.braceExpand=F;function F(m,y){if(y||(this instanceof x?y=this.options:y={}),m=typeof m>"u"?this.pattern:m,typeof m>"u")throw new TypeError("undefined pattern");return y.nobrace||!m.match(/\{.*\}/)?[m]:s(m)}x.prototype.parse=R;var A={};function R(m,y){if(m.length>1024*64)throw new TypeError("pattern is too long");var w=this.options;if(!w.noglobstar&&m==="**")return i;if(m==="")return"";var C="",v=!!w.nocase,S=!1,T=[],k=[],I,B=!1,G=-1,z=-1,se=m.charAt(0)==="."?"":w.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",U=this;function $(){if(I){switch(I){case"*":C+=c,v=!0;break;case"?":C+=a,v=!0;break;default:C+="\\"+I;break}U.debug("clearStateChar %j %j",I,C),I=!1}}for(var j=0,re=m.length,ne;j<re&&(ne=m.charAt(j));j++){if(this.debug("%s %s %s %j",m,j,C,ne),S&&l[ne]){C+="\\"+ne,S=!1;continue}switch(ne){case"/":return!1;case"\\":$(),S=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",m,j,C,ne),B){this.debug(" in class"),ne==="!"&&j===z+1&&(ne="^"),C+=ne;continue}U.debug("call clearStateChar %j",I),$(),I=ne,w.noext&&$();continue;case"(":if(B){C+="(";continue}if(!I){C+="\\(";continue}T.push({type:I,start:j-1,reStart:C.length,open:o[I].open,close:o[I].close}),C+=I==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",I,C),I=!1;continue;case")":if(B||!T.length){C+="\\)";continue}$(),v=!0;var q=T.pop();C+=q.close,q.type==="!"&&k.push(q),q.reEnd=C.length;continue;case"|":if(B||!T.length||S){C+="\\|",S=!1;continue}$(),C+="|";continue;case"[":if($(),B){C+="\\"+ne;continue}B=!0,z=j,G=C.length,C+=ne;continue;case"]":if(j===z+1||!B){C+="\\"+ne,S=!1;continue}if(B){var oe=m.substring(z+1,j);try{RegExp("["+oe+"]")}catch{var H=this.parse(oe,A);C=C.substr(0,G)+"\\["+H[0]+"\\]",v=v||H[1],B=!1;continue}}v=!0,B=!1,C+=ne;continue;default:$(),S?S=!1:l[ne]&&!(ne==="^"&&B)&&(C+="\\"),C+=ne}}for(B&&(oe=m.substr(z+1),H=this.parse(oe,A),C=C.substr(0,G)+"\\["+H[0],v=v||H[1]),q=T.pop();q;q=T.pop()){var ie=C.slice(q.reStart+q.open.length);this.debug("setting tail",C,q),ie=ie.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(Ft,wo,Gn){return Gn||(Gn="\\"),wo+wo+Gn+"|"}),this.debug(`tail=%j
57
+ %s`,ie,ie,q,C);var le=q.type==="*"?c:q.type==="?"?a:"\\"+q.type;v=!0,C=C.slice(0,q.reStart)+le+"\\("+ie}$(),S&&(C+="\\\\");var Se=!1;switch(C.charAt(0)){case".":case"[":case"(":Se=!0}for(var he=k.length-1;he>-1;he--){var Le=k[he],Re=C.slice(0,Le.reStart),Ut=C.slice(Le.reStart,Le.reEnd-8),We=C.slice(Le.reEnd-8,Le.reEnd),dr=C.slice(Le.reEnd);We+=dr;var vo=Re.split("(").length-1,Eo=dr;for(j=0;j<vo;j++)Eo=Eo.replace(/\)[+*?]?/,"");dr=Eo;var dn="";dr===""&&y!==A&&(dn="$");var Ao=Re+Ut+dr+dn+We;C=Ao}if(C!==""&&v&&(C="(?=.)"+C),Se&&(C=se+C),y===A)return[C,v];if(!v)return N(m);var qn=w.nocase?"i":"";try{var Wi=new RegExp("^"+C+"$",qn)}catch{return new RegExp("$.")}return Wi._glob=m,Wi._src=C,Wi}E.makeRe=function(m,y){return new x(m,y||{}).makeRe()},x.prototype.makeRe=D;function D(){if(this.regexp||this.regexp===!1)return this.regexp;var m=this.set;if(!m.length)return this.regexp=!1,this.regexp;var y=this.options,w=y.noglobstar?c:y.dot?u:f,C=y.nocase?"i":"",v=m.map(function(S){return S.map(function(T){return T===i?w:typeof T=="string"?O(T):T._src}).join("\\/")}).join("|");v="^(?:"+v+")$",this.negate&&(v="^(?!"+v+").*$");try{this.regexp=new RegExp(v,C)}catch{this.regexp=!1}return this.regexp}E.match=function(m,y,w){w=w||{};var C=new x(y,w);return m=m.filter(function(v){return C.match(v)}),C.options.nonull&&!m.length&&m.push(y),m},x.prototype.match=P;function P(m,y){if(this.debug("match",m,this.pattern),this.comment)return!1;if(this.empty)return m==="";if(m==="/"&&y)return!0;var w=this.options;n.sep!=="/"&&(m=m.split(n.sep).join("/")),m=m.split(p),this.debug(this.pattern,"split",m);var C=this.set;this.debug(this.pattern,"set",C);var v,S;for(S=m.length-1;S>=0&&(v=m[S],!v);S--);for(S=0;S<C.length;S++){var T=C[S],k=m;w.matchBase&&T.length===1&&(k=[v]);var I=this.matchOne(k,T,y);if(I)return w.flipNegate?!0:!this.negate}return w.flipNegate?!1:this.negate}x.prototype.matchOne=function(m,y,w){var C=this.options;this.debug("matchOne",{this:this,file:m,pattern:y}),this.debug("matchOne",m.length,y.length);for(var v=0,S=0,T=m.length,k=y.length;v<T&&S<k;v++,S++){this.debug("matchOne loop");var I=y[S],B=m[v];if(this.debug(y,I,B),I===!1)return!1;if(I===i){this.debug("GLOBSTAR",[y,I,B]);var G=v,z=S+1;if(z===k){for(this.debug("** at the end");v<T;v++)if(m[v]==="."||m[v]===".."||!C.dot&&m[v].charAt(0)===".")return!1;return!0}for(;G<T;){var se=m[G];if(this.debug(`
58
+ globstar while`,m,G,y,z,se),this.matchOne(m.slice(G),y.slice(z),w))return this.debug("globstar found match!",G,T,se),!0;if(se==="."||se===".."||!C.dot&&se.charAt(0)==="."){this.debug("dot detected!",m,G,y,z);break}this.debug("globstar swallow a segment, and continue"),G++}return!!(w&&(this.debug(`
59
+ >>> no match, partial?`,m,G,y,z),G===T))}var U;if(typeof I=="string"?(C.nocase?U=B.toLowerCase()===I.toLowerCase():U=B===I,this.debug("string match",I,B,U)):(U=B.match(I),this.debug("pattern match",I,B,U)),!U)return!1}if(v===T&&S===k)return!0;if(v===T)return w;if(S===k){var $=v===T-1&&m[v]==="";return $}throw new Error("wtf?")};function N(m){return m.replace(/\\(.)/g,"$1")}function O(m){return m.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},function(e,t,r){var n=r(123);e.exports=n(i),e.exports.strict=n(s),i.proto=i(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return s(this)},configurable:!0})});function i(o){var a=function(){return a.called?a.value:(a.called=!0,a.value=o.apply(this,arguments))};return a.called=!1,a}function s(o){var a=function(){if(a.called)throw new Error(a.onceError);return a.called=!0,a.value=o.apply(this,arguments)},c=o.name||"Function wrapped with `once`";return a.onceError=c+" shouldn't be called more than once",a.called=!1,a}},,function(e,t){e.exports=M("buffer")},,,,function(e,t){e.exports=function(r){if(r==null)throw TypeError("Can't call method on "+r);return r}},function(e,t,r){var n=r(34),i=r(11).document,s=n(i)&&n(i.createElement);e.exports=function(o){return s?i.createElement(o):{}}},function(e,t){e.exports=!0},function(e,t,r){"use strict";var n=r(46);function i(s){var o,a;this.promise=new s(function(c,u){if(o!==void 0||a!==void 0)throw TypeError("Bad Promise constructor");o=c,a=u}),this.resolve=n(o),this.reject=n(a)}e.exports.f=function(s){return new i(s)}},function(e,t,r){var n=r(50).f,i=r(49),s=r(13)("toStringTag");e.exports=function(o,a,c){o&&!i(o=c?o:o.prototype,s)&&n(o,s,{configurable:!0,value:a})}},function(e,t,r){var n=r(107)("keys"),i=r(111);e.exports=function(s){return n[s]||(n[s]=i(s))}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(i){return isNaN(i=+i)?0:(i>0?n:r)(i)}},function(e,t,r){var n=r(131),i=r(67);e.exports=function(s){return n(i(s))}},function(e,t,r){e.exports=D;var n=r(3),i=r(114),s=r(60),o=s.Minimatch,a=r(42),c=r(54).EventEmitter,u=r(0),f=r(22),l=r(76),h=r(218),p=r(115),d=p.alphasort,g=p.alphasorti,E=p.setopts,x=p.ownProp,b=r(223),L=r(2),F=p.childrenIgnored,A=p.isIgnored,R=r(61);function D(y,w,C){if(typeof w=="function"&&(C=w,w={}),w||(w={}),w.sync){if(C)throw new TypeError("callback provided to sync glob");return h(y,w)}return new O(y,w,C)}D.sync=h;var P=D.GlobSync=h.GlobSync;D.glob=D;function N(y,w){if(w===null||typeof w!="object")return y;for(var C=Object.keys(w),v=C.length;v--;)y[C[v]]=w[C[v]];return y}D.hasMagic=function(y,w){var C=N({},w);C.noprocess=!0;var v=new O(y,C),S=v.minimatch.set;if(!y)return!1;if(S.length>1)return!0;for(var T=0;T<S[0].length;T++)if(typeof S[0][T]!="string")return!0;return!1},D.Glob=O,a(O,c);function O(y,w,C){if(typeof w=="function"&&(C=w,w=null),w&&w.sync){if(C)throw new TypeError("callback provided to sync glob");return new P(y,w)}if(!(this instanceof O))return new O(y,w,C);E(this,y,w),this._didRealPath=!1;var v=this.minimatch.set.length;this.matches=new Array(v),typeof C=="function"&&(C=R(C),this.on("error",C),this.on("end",function(B){C(null,B)}));var S=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(v===0)return I();for(var T=!0,k=0;k<v;k++)this._process(this.minimatch.set[k],k,!1,I);T=!1;function I(){--S._processing,S._processing<=0&&(T?process.nextTick(function(){S._finish()}):S._finish())}}O.prototype._finish=function(){if(f(this instanceof O),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();p.finish(this),this.emit("end",this.found)}},O.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var y=this.matches.length;if(y===0)return this._finish();for(var w=this,C=0;C<this.matches.length;C++)this._realpathSet(C,v);function v(){--y===0&&w._finish()}},O.prototype._realpathSet=function(y,w){var C=this.matches[y];if(!C)return w();var v=Object.keys(C),S=this,T=v.length;if(T===0)return w();var k=this.matches[y]=Object.create(null);v.forEach(function(I,B){I=S._makeAbs(I),i.realpath(I,S.realpathCache,function(G,z){G?G.syscall==="stat"?k[I]=!0:S.emit("error",G):k[z]=!0,--T===0&&(S.matches[y]=k,w())})})},O.prototype._mark=function(y){return p.mark(this,y)},O.prototype._makeAbs=function(y){return p.makeAbs(this,y)},O.prototype.abort=function(){this.aborted=!0,this.emit("abort")},O.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},O.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var y=this._emitQueue.slice(0);this._emitQueue.length=0;for(var w=0;w<y.length;w++){var C=y[w];this._emitMatch(C[0],C[1])}}if(this._processQueue.length){var v=this._processQueue.slice(0);this._processQueue.length=0;for(var w=0;w<v.length;w++){var S=v[w];this._processing--,this._process(S[0],S[1],S[2],S[3])}}}},O.prototype._process=function(y,w,C,v){if(f(this instanceof O),f(typeof v=="function"),!this.aborted){if(this._processing++,this.paused){this._processQueue.push([y,w,C,v]);return}for(var S=0;typeof y[S]=="string";)S++;var T;switch(S){case y.length:this._processSimple(y.join("/"),w,v);return;case 0:T=null;break;default:T=y.slice(0,S).join("/");break}var k=y.slice(S),I;T===null?I=".":((l(T)||l(y.join("/")))&&(!T||!l(T))&&(T="/"+T),I=T);var B=this._makeAbs(I);if(F(this,I))return v();var G=k[0]===s.GLOBSTAR;G?this._processGlobStar(T,I,B,k,w,C,v):this._processReaddir(T,I,B,k,w,C,v)}},O.prototype._processReaddir=function(y,w,C,v,S,T,k){var I=this;this._readdir(C,T,function(B,G){return I._processReaddir2(y,w,C,v,S,T,G,k)})},O.prototype._processReaddir2=function(y,w,C,v,S,T,k,I){if(!k)return I();for(var B=v[0],G=!!this.minimatch.negate,z=B._glob,se=this.dot||z.charAt(0)===".",U=[],$=0;$<k.length;$++){var j=k[$];if(j.charAt(0)!=="."||se){var re;G&&!y?re=!j.match(B):re=j.match(B),re&&U.push(j)}}var ne=U.length;if(ne===0)return I();if(v.length===1&&!this.mark&&!this.stat){this.matches[S]||(this.matches[S]=Object.create(null));for(var $=0;$<ne;$++){var j=U[$];y&&(y!=="/"?j=y+"/"+j:j=y+j),j.charAt(0)==="/"&&!this.nomount&&(j=u.join(this.root,j)),this._emitMatch(S,j)}return I()}v.shift();for(var $=0;$<ne;$++){var j=U[$],q;y&&(y!=="/"?j=y+"/"+j:j=y+j),this._process([j].concat(v),S,T,I)}I()},O.prototype._emitMatch=function(y,w){if(!this.aborted&&!A(this,w)){if(this.paused){this._emitQueue.push([y,w]);return}var C=l(w)?w:this._makeAbs(w);if(this.mark&&(w=this._mark(w)),this.absolute&&(w=C),!this.matches[y][w]){if(this.nodir){var v=this.cache[C];if(v==="DIR"||Array.isArray(v))return}this.matches[y][w]=!0;var S=this.statCache[C];S&&this.emit("stat",w,S),this.emit("match",w)}}},O.prototype._readdirInGlobStar=function(y,w){if(this.aborted)return;if(this.follow)return this._readdir(y,!1,w);var C="lstat\0"+y,v=this,S=b(C,T);S&&n.lstat(y,S);function T(k,I){if(k&&k.code==="ENOENT")return w();var B=I&&I.isSymbolicLink();v.symlinks[y]=B,!B&&I&&!I.isDirectory()?(v.cache[y]="FILE",w()):v._readdir(y,!1,w)}},O.prototype._readdir=function(y,w,C){if(!this.aborted&&(C=b("readdir\0"+y+"\0"+w,C),!!C)){if(w&&!x(this.symlinks,y))return this._readdirInGlobStar(y,C);if(x(this.cache,y)){var v=this.cache[y];if(!v||v==="FILE")return C();if(Array.isArray(v))return C(null,v)}var S=this;n.readdir(y,m(this,y,C))}};function m(y,w,C){return function(v,S){v?y._readdirError(w,v,C):y._readdirEntries(w,S,C)}}O.prototype._readdirEntries=function(y,w,C){if(!this.aborted){if(!this.mark&&!this.stat)for(var v=0;v<w.length;v++){var S=w[v];y==="/"?S=y+S:S=y+"/"+S,this.cache[S]=!0}return this.cache[y]=w,C(null,w)}},O.prototype._readdirError=function(y,w,C){if(!this.aborted){switch(w.code){case"ENOTSUP":case"ENOTDIR":var v=this._makeAbs(y);if(this.cache[v]="FILE",v===this.cwdAbs){var S=new Error(w.code+" invalid cwd "+this.cwd);S.path=this.cwd,S.code=w.code,this.emit("error",S),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(y)]=!1;break;default:this.cache[this._makeAbs(y)]=!1,this.strict&&(this.emit("error",w),this.abort()),this.silent||console.error("glob error",w);break}return C()}},O.prototype._processGlobStar=function(y,w,C,v,S,T,k){var I=this;this._readdir(C,T,function(B,G){I._processGlobStar2(y,w,C,v,S,T,G,k)})},O.prototype._processGlobStar2=function(y,w,C,v,S,T,k,I){if(!k)return I();var B=v.slice(1),G=y?[y]:[],z=G.concat(B);this._process(z,S,!1,I);var se=this.symlinks[C],U=k.length;if(se&&T)return I();for(var $=0;$<U;$++){var j=k[$];if(!(j.charAt(0)==="."&&!this.dot)){var re=G.concat(k[$],B);this._process(re,S,!0,I);var ne=G.concat(k[$],v);this._process(ne,S,!0,I)}}I()},O.prototype._processSimple=function(y,w,C){var v=this;this._stat(y,function(S,T){v._processSimple2(y,w,S,T,C)})},O.prototype._processSimple2=function(y,w,C,v,S){if(this.matches[w]||(this.matches[w]=Object.create(null)),!v)return S();if(y&&l(y)&&!this.nomount){var T=/[\/\\]$/.test(y);y.charAt(0)==="/"?y=u.join(this.root,y):(y=u.resolve(this.root,y),T&&(y+="/"))}process.platform==="win32"&&(y=y.replace(/\\/g,"/")),this._emitMatch(w,y),S()},O.prototype._stat=function(y,w){var C=this._makeAbs(y),v=y.slice(-1)==="/";if(y.length>this.maxLength)return w();if(!this.stat&&x(this.cache,C)){var S=this.cache[C];if(Array.isArray(S)&&(S="DIR"),!v||S==="DIR")return w(null,S);if(v&&S==="FILE")return w()}var T,k=this.statCache[C];if(k!==void 0){if(k===!1)return w(null,k);var I=k.isDirectory()?"DIR":"FILE";return v&&I==="FILE"?w():w(null,I,k)}var B=this,G=b("stat\0"+C,z);G&&n.lstat(C,G);function z(se,U){if(U&&U.isSymbolicLink())return n.stat(C,function($,j){$?B._stat2(y,C,null,U,w):B._stat2(y,C,$,j,w)});B._stat2(y,C,se,U,w)}},O.prototype._stat2=function(y,w,C,v,S){if(C&&(C.code==="ENOENT"||C.code==="ENOTDIR"))return this.statCache[w]=!1,S();var T=y.slice(-1)==="/";if(this.statCache[w]=v,w.slice(-1)==="/"&&v&&!v.isDirectory())return S(null,!1,v);var k=!0;return v&&(k=v.isDirectory()?"DIR":"FILE"),this.cache[w]=this.cache[w]||k,T&&k==="FILE"?S():S(null,k,v)}},function(e,t,r){"use strict";function n(s){return s.charAt(0)==="/"}function i(s){var o=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,a=o.exec(s),c=a[1]||"",u=!!(c&&c.charAt(1)!==":");return!!(a[2]||u)}e.exports=process.platform==="win32"?i:n,e.exports.posix=n,e.exports.win32=i},,,function(e,t){e.exports=M("tty")},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(C,v="lockfile"){return C=(0,(a||c()).default)(C),m(C)?w(C,v):{type:"success",object:y(C,v)}};var n;function i(){return n=g(r(2))}var s;function o(){return s=g(r(7))}var a;function c(){return a=g(r(122))}var u;function f(){return u=r(6)}var l;function h(){return l=r(4)}var p;function d(){return p=g(r(20))}function g(C){return C&&C.__esModule?C:{default:C}}let E=/^yarn lockfile v(\d+)$/,x={boolean:"BOOLEAN",string:"STRING",identifier:"IDENTIFIER",eof:"EOF",colon:"COLON",newline:"NEWLINE",comment:"COMMENT",indent:"INDENT",invalid:"INVALID",number:"NUMBER",comma:"COMMA"},b=[x.boolean,x.string,x.number];function L(C){return b.indexOf(C.type)>=0}function*F(C){let v=!1,S=1,T=0;function k(I,B){return{line:S,col:T,type:I,value:B}}for(;C.length;){let I=0;if(C[0]===`
60
+ `||C[0]==="\r")I++,C[1]===`
61
+ `&&I++,S++,T=0,yield k(x.newline);else if(C[0]==="#"){I++;let B="";for(;C[I]!==`
62
+ `;)B+=C[I],I++;yield k(x.comment,B)}else if(C[0]===" ")if(v){let B="";for(let G=0;C[G]===" ";G++)B+=C[G];if(B.length%2)throw new TypeError("Invalid number of spaces");I=B.length,yield k(x.indent,B.length/2)}else I++;else if(C[0]==='"'){let B="";for(let G=0;;G++){let z=C[G];if(B+=z,G>0&&z==='"'&&!(C[G-1]==="\\"&&C[G-2]!=="\\"))break}I=B.length;try{yield k(x.string,JSON.parse(B))}catch(G){if(G instanceof SyntaxError)yield k(x.invalid);else throw G}}else if(/^[0-9]/.test(C)){let B="";for(let G=0;/^[0-9]$/.test(C[G]);G++)B+=C[G];I=B.length,yield k(x.number,+B)}else if(/^true/.test(C))yield k(x.boolean,!0),I=4;else if(/^false/.test(C))yield k(x.boolean,!1),I=5;else if(C[0]===":")yield k(x.colon),I++;else if(C[0]===",")yield k(x.comma),I++;else if(/^[a-zA-Z\/-]/g.test(C)){let B="";for(let G=0;G<C.length;G++){let z=C[G];if(z===":"||z===" "||z===`
63
+ `||z==="\r"||z===",")break;B+=z}I=B.length,yield k(x.string,B)}else yield k(x.invalid);I||(yield k(x.invalid)),T+=I,v=C[0]===`
64
64
  `||C[0]==="\r"&&C[1]===`
65
- `,C=C.slice(L)}yield I(k.eof)}class A{constructor(y,v="lockfile"){this.comments=[],this.tokens=D(y),this.fileLoc=v}onComment(y){let v=y.value;(0,(s||o()).default)(typeof v=="string","expected token value to be a string");let P=v.trim(),I=P.match(w);if(I){let L=+I[1];if(L>(c||f()).LOCKFILE_VERSION)throw new(l||h()).MessageError(`Can't install from a lockfile of version ${L} as you're on an old yarn version that only supports versions up to ${(c||f()).LOCKFILE_VERSION}. Run \`$ yarn self-update\` to upgrade to the latest version.`)}this.comments.push(P)}next(){let y=this.tokens.next();(0,(s||o()).default)(y,"expected a token");let v=y.done,P=y.value;if(v||!P)throw new Error("No more tokens");return P.type===k.comment?(this.onComment(P),this.next()):this.token=P}unexpected(y="Unexpected token"){throw new SyntaxError(`${y} ${this.token.line}:${this.token.col} in ${this.fileLoc}`)}expect(y){this.token.type===y?this.next():this.unexpected()}eat(y){return this.token.type===y?(this.next(),!0):!1}parse(y=0){let v=(0,(d||g()).default)();for(;;){let B=this.token;if(B.type===k.newline){let j=this.next();if(!y)continue;if(j.type!==k.indent)break;if(j.value===y)this.next();else break}else if(B.type===k.indent)if(B.value===y)this.next();else break;else{if(B.type===k.eof)break;if(B.type===k.string){let j=B.value;(0,(s||o()).default)(j,"Expected a key");let te=[j];for(this.next();this.token.type===k.comma;){this.next();let q=this.token;q.type!==k.string&&this.unexpected("Expected string");let ie=q.value;(0,(s||o()).default)(ie,"Expected a key"),te.push(ie),this.next()}let re=this.token;if(re.type===k.colon){this.next();let q=this.parse(y+1);for(var L=te,P=Array.isArray(L),I=0,L=P?L:L[Symbol.iterator]();;){var $;if(P){if(I>=L.length)break;$=L[I++]}else{if(I=L.next(),I.done)break;$=I.value}let ie=$;v[ie]=q}if(y&&this.token.type!==k.indent)break}else if(N(re)){for(var oe=te,U=Array.isArray(oe),z=0,oe=U?oe:oe[Symbol.iterator]();;){var H;if(U){if(z>=oe.length)break;H=oe[z++]}else{if(z=oe.next(),z.done)break;H=z.value}let q=H;v[q]=re.value}this.next()}else this.unexpected("Invalid value type")}else this.unexpected(`Unknown token: ${(n||i()).default.inspect(B)}`)}}return v}}let R="|||||||",b=">>>>>>>",O="=======",T="<<<<<<<";function x(C){let y=[[],[]],v=C.split(/\r?\n/g),P=!1;for(;v.length;){let I=v.shift();if(I.startsWith(T)){for(;v.length;){let L=v.shift();if(L===O){P=!1;break}else if(P||L.startsWith(R)){P=!0;continue}else y[0].push(L)}for(;v.length;){let L=v.shift();if(L.startsWith(b))break;y[1].push(L)}}else y[0].push(I),y[1].push(I)}return[y[0].join(`
66
- `),y[1].join(`
67
- `)]}function p(C){return C.includes(T)&&C.includes(O)&&C.includes(b)}function m(C,y){let v=new A(C,y);return v.next(),v.parse()}function E(C,y){let v=x(C);try{return{type:"merge",object:Object.assign({},m(v[0],y),m(v[1],y))}}catch(P){if(P instanceof SyntaxError)return{type:"conflict",object:{}};throw P}}},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n;function i(){return n=s(r(20))}function s(u){return u&&u.__esModule?u:{default:u}}let o=r(212)("yarn");class a{constructor(c,f=1/0){this.concurrencyQueue=[],this.maxConcurrency=f,this.runningCount=0,this.warnedStuck=!1,this.alias=c,this.first=!0,this.running=(0,(n||i()).default)(),this.queue=(0,(n||i()).default)(),this.stuckTick=this.stuckTick.bind(this)}stillActive(){this.stuckTimer&&clearTimeout(this.stuckTimer),this.stuckTimer=setTimeout(this.stuckTick,5e3),this.stuckTimer.unref&&this.stuckTimer.unref()}stuckTick(){this.runningCount===1&&(this.warnedStuck=!0,o(`The ${JSON.stringify(this.alias)} blocking queue may be stuck. 5 seconds without any activity with 1 worker: ${Object.keys(this.running)[0]}`))}push(c,f){return this.first?this.first=!1:this.stillActive(),new Promise((l,h)=>{(this.queue[c]=this.queue[c]||[]).push({factory:f,resolve:l,reject:h}),this.running[c]||this.shift(c)})}shift(c){this.running[c]&&(delete this.running[c],this.runningCount--,this.stuckTimer&&(clearTimeout(this.stuckTimer),this.stuckTimer=null),this.warnedStuck&&(this.warnedStuck=!1,o(`${JSON.stringify(this.alias)} blocking queue finally resolved. Nothing to worry about.`)));let f=this.queue[c];if(!f)return;var l=f.shift();let h=l.resolve,d=l.reject,g=l.factory;f.length||delete this.queue[c];let S=()=>{this.shift(c),this.shiftConcurrencyQueue()},w=()=>{this.running[c]=!0,this.runningCount++,g().then(function(k){return h(k),S(),null}).catch(function(k){d(k),S()})};this.maybePushConcurrencyQueue(w)}maybePushConcurrencyQueue(c){this.runningCount<this.maxConcurrency?c():this.concurrencyQueue.push(c)}shiftConcurrencyQueue(){if(this.runningCount<this.maxConcurrency){let c=this.concurrencyQueue.shift();c&&c()}}}t.default=a},function(e,t){e.exports=function(r){try{return!!r()}catch{return!0}}},,,,,,,,,,,,,,,function(e,t,r){var n=r(47),i=r(13)("toStringTag"),s=n(function(){return arguments}())=="Arguments",o=function(a,u){try{return a[u]}catch{}};e.exports=function(a){var u,c,f;return a===void 0?"Undefined":a===null?"Null":typeof(c=o(u=Object(a),i))=="string"?c:s?n(u):(f=n(u))=="Object"&&typeof u.callee=="function"?"Arguments":f}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){var n=r(11).document;e.exports=n&&n.documentElement},function(e,t,r){"use strict";var n=r(69),i=r(41),s=r(197),o=r(31),a=r(35),u=r(188),c=r(71),f=r(194),l=r(13)("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",g="keys",S="values",w=function(){return this};e.exports=function(k,_,N,D,A,R,b){u(N,_,D);var O=function($){if(!h&&$ in m)return m[$];switch($){case g:return function(){return new N(this,$)};case S:return function(){return new N(this,$)}}return function(){return new N(this,$)}},T=_+" Iterator",x=A==S,p=!1,m=k.prototype,E=m[l]||m[d]||A&&m[A],C=E||O(A),y=A?x?O("entries"):C:void 0,v=_=="Array"&&m.entries||E,P,I,L;if(v&&(L=f(v.call(new k)),L!==Object.prototype&&L.next&&(c(L,T,!0),!n&&typeof L[l]!="function"&&o(L,l,w))),x&&E&&E.name!==S&&(p=!0,C=function(){return E.call(this)}),(!n||b)&&(h||p||!m[l])&&o(m,l,C),a[_]=C,a[T]=w,A)if(P={values:x?C:O(S),keys:R?C:O(g),entries:y},b)for(I in P)I in m||s(m,I,P[I]);else i(i.P+i.F*(h||p),_,P);return P}},function(e,t){e.exports=function(r){try{return{e:!1,v:r()}}catch(n){return{e:!0,v:n}}}},function(e,t,r){var n=r(27),i=r(34),s=r(70);e.exports=function(o,a){if(n(o),i(a)&&a.constructor===o)return a;var u=s.f(o),c=u.resolve;return c(a),u.promise}},function(e,t){e.exports=function(r,n){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}}},function(e,t,r){var n=r(23),i=r(11),s="__core-js_shared__",o=i[s]||(i[s]={});(e.exports=function(a,u){return o[a]||(o[a]=u!==void 0?u:{})})("versions",[]).push({version:n.version,mode:r(69)?"pure":"global",copyright:"\xA9 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t,r){var n=r(27),i=r(46),s=r(13)("species");e.exports=function(o,a){var u=n(o).constructor,c;return u===void 0||(c=n(u)[s])==null?a:i(c)}},function(e,t,r){var n=r(48),i=r(185),s=r(102),o=r(68),a=r(11),u=a.process,c=a.setImmediate,f=a.clearImmediate,l=a.MessageChannel,h=a.Dispatch,d=0,g={},S="onreadystatechange",w,k,_,N=function(){var A=+this;if(g.hasOwnProperty(A)){var R=g[A];delete g[A],R()}},D=function(A){N.call(A.data)};(!c||!f)&&(c=function(R){for(var b=[],O=1;arguments.length>O;)b.push(arguments[O++]);return g[++d]=function(){i(typeof R=="function"?R:Function(R),b)},w(d),d},f=function(R){delete g[R]},r(47)(u)=="process"?w=function(A){u.nextTick(n(N,A,1))}:h&&h.now?w=function(A){h.now(n(N,A,1))}:l?(k=new l,_=k.port2,k.port1.onmessage=D,w=n(_.postMessage,_,1)):a.addEventListener&&typeof postMessage=="function"&&!a.importScripts?(w=function(A){a.postMessage(A+"","*")},a.addEventListener("message",D,!1)):S in o("script")?w=function(A){s.appendChild(o("script"))[S]=function(){s.removeChild(this),N.call(A)}}:w=function(A){setTimeout(n(N,A,1),0)}),e.exports={set:c,clear:f}},function(e,t,r){var n=r(73),i=Math.min;e.exports=function(s){return s>0?i(n(s),9007199254740991):0}},function(e,t){var r=0,n=Math.random();e.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++r+n).toString(36))}},function(e,t,r){t=e.exports=i.debug=i.default=i,t.coerce=c,t.disable=a,t.enable=o,t.enabled=u,t.humanize=r(229),t.instances=[],t.names=[],t.skips=[],t.formatters={};function n(f){var l=0,h;for(h in f)l=(l<<5)-l+f.charCodeAt(h),l|=0;return t.colors[Math.abs(l)%t.colors.length]}function i(f){var l;function h(){if(h.enabled){var d=h,g=+new Date,S=g-(l||g);d.diff=S,d.prev=l,d.curr=g,l=g;for(var w=new Array(arguments.length),k=0;k<w.length;k++)w[k]=arguments[k];w[0]=t.coerce(w[0]),typeof w[0]!="string"&&w.unshift("%O");var _=0;w[0]=w[0].replace(/%([a-zA-Z%])/g,function(D,A){if(D==="%%")return D;_++;var R=t.formatters[A];if(typeof R=="function"){var b=w[_];D=R.call(d,b),w.splice(_,1),_--}return D}),t.formatArgs.call(d,w);var N=h.log||t.log||console.log.bind(console);N.apply(d,w)}}return h.namespace=f,h.enabled=t.enabled(f),h.useColors=t.useColors(),h.color=n(f),h.destroy=s,typeof t.init=="function"&&t.init(h),t.instances.push(h),h}function s(){var f=t.instances.indexOf(this);return f!==-1?(t.instances.splice(f,1),!0):!1}function o(f){t.save(f),t.names=[],t.skips=[];var l,h=(typeof f=="string"?f:"").split(/[\s,]+/),d=h.length;for(l=0;l<d;l++)h[l]&&(f=h[l].replace(/\*/g,".*?"),f[0]==="-"?t.skips.push(new RegExp("^"+f.substr(1)+"$")):t.names.push(new RegExp("^"+f+"$")));for(l=0;l<t.instances.length;l++){var g=t.instances[l];g.enabled=t.enabled(g.namespace)}}function a(){t.enable("")}function u(f){if(f[f.length-1]==="*")return!0;var l,h;for(l=0,h=t.skips.length;l<h;l++)if(t.skips[l].test(f))return!1;for(l=0,h=t.names.length;l<h;l++)if(t.names[l].test(f))return!0;return!1}function c(f){return f instanceof Error?f.stack||f.message:f}},,function(e,t,r){e.exports=f,f.realpath=f,f.sync=l,f.realpathSync=l,f.monkeypatch=h,f.unmonkeypatch=d;var n=r(3),i=n.realpath,s=n.realpathSync,o=process.version,a=/^v[0-5]\./.test(o),u=r(217);function c(g){return g&&g.syscall==="realpath"&&(g.code==="ELOOP"||g.code==="ENOMEM"||g.code==="ENAMETOOLONG")}function f(g,S,w){if(a)return i(g,S,w);typeof S=="function"&&(w=S,S=null),i(g,S,function(k,_){c(k)?u.realpath(g,S,w):w(k,_)})}function l(g,S){if(a)return s(g,S);try{return s(g,S)}catch(w){if(c(w))return u.realpathSync(g,S);throw w}}function h(){n.realpath=f,n.realpathSync=l}function d(){n.realpath=i,n.realpathSync=s}},function(e,t,r){t.alphasort=c,t.alphasorti=u,t.setopts=h,t.ownProp=n,t.makeAbs=S,t.finish=d,t.mark=g,t.isIgnored=w,t.childrenIgnored=k;function n(_,N){return Object.prototype.hasOwnProperty.call(_,N)}var i=r(0),s=r(60),o=r(76),a=s.Minimatch;function u(_,N){return _.toLowerCase().localeCompare(N.toLowerCase())}function c(_,N){return _.localeCompare(N)}function f(_,N){_.ignore=N.ignore||[],Array.isArray(_.ignore)||(_.ignore=[_.ignore]),_.ignore.length&&(_.ignore=_.ignore.map(l))}function l(_){var N=null;if(_.slice(-3)==="/**"){var D=_.replace(/(\/\*\*)+$/,"");N=new a(D,{dot:!0})}return{matcher:new a(_,{dot:!0}),gmatcher:N}}function h(_,N,D){if(D||(D={}),D.matchBase&&N.indexOf("/")===-1){if(D.noglobstar)throw new Error("base matching requires globstar");N="**/"+N}_.silent=!!D.silent,_.pattern=N,_.strict=D.strict!==!1,_.realpath=!!D.realpath,_.realpathCache=D.realpathCache||Object.create(null),_.follow=!!D.follow,_.dot=!!D.dot,_.mark=!!D.mark,_.nodir=!!D.nodir,_.nodir&&(_.mark=!0),_.sync=!!D.sync,_.nounique=!!D.nounique,_.nonull=!!D.nonull,_.nosort=!!D.nosort,_.nocase=!!D.nocase,_.stat=!!D.stat,_.noprocess=!!D.noprocess,_.absolute=!!D.absolute,_.maxLength=D.maxLength||1/0,_.cache=D.cache||Object.create(null),_.statCache=D.statCache||Object.create(null),_.symlinks=D.symlinks||Object.create(null),f(_,D),_.changedCwd=!1;var A=process.cwd();n(D,"cwd")?(_.cwd=i.resolve(D.cwd),_.changedCwd=_.cwd!==A):_.cwd=A,_.root=D.root||i.resolve(_.cwd,"/"),_.root=i.resolve(_.root),process.platform==="win32"&&(_.root=_.root.replace(/\\/g,"/")),_.cwdAbs=o(_.cwd)?_.cwd:S(_,_.cwd),process.platform==="win32"&&(_.cwdAbs=_.cwdAbs.replace(/\\/g,"/")),_.nomount=!!D.nomount,D.nonegate=!0,D.nocomment=!0,_.minimatch=new a(N,D),_.options=_.minimatch.options}function d(_){for(var N=_.nounique,D=N?[]:Object.create(null),A=0,R=_.matches.length;A<R;A++){var b=_.matches[A];if(!b||Object.keys(b).length===0){if(_.nonull){var O=_.minimatch.globSet[A];N?D.push(O):D[O]=!0}}else{var T=Object.keys(b);N?D.push.apply(D,T):T.forEach(function(x){D[x]=!0})}}if(N||(D=Object.keys(D)),_.nosort||(D=D.sort(_.nocase?u:c)),_.mark){for(var A=0;A<D.length;A++)D[A]=_._mark(D[A]);_.nodir&&(D=D.filter(function(x){var p=!/\/$/.test(x),m=_.cache[x]||_.cache[S(_,x)];return p&&m&&(p=m!=="DIR"&&!Array.isArray(m)),p}))}_.ignore.length&&(D=D.filter(function(x){return!w(_,x)})),_.found=D}function g(_,N){var D=S(_,N),A=_.cache[D],R=N;if(A){var b=A==="DIR"||Array.isArray(A),O=N.slice(-1)==="/";if(b&&!O?R+="/":!b&&O&&(R=R.slice(0,-1)),R!==N){var T=S(_,R);_.statCache[T]=_.statCache[D],_.cache[T]=_.cache[D]}}return R}function S(_,N){var D=N;return N.charAt(0)==="/"?D=i.join(_.root,N):o(N)||N===""?D=N:_.changedCwd?D=i.resolve(_.cwd,N):D=i.resolve(N),process.platform==="win32"&&(D=D.replace(/\\/g,"/")),D}function w(_,N){return _.ignore.length?_.ignore.some(function(D){return D.matcher.match(N)||!!(D.gmatcher&&D.gmatcher.match(N))}):!1}function k(_,N){return _.ignore.length?_.ignore.some(function(D){return!!(D.gmatcher&&D.gmatcher.match(N))}):!1}},function(e,t,r){var n=r(0),i=r(3),s=parseInt("0777",8);e.exports=o.mkdirp=o.mkdirP=o;function o(a,u,c,f){typeof u=="function"?(c=u,u={}):(!u||typeof u!="object")&&(u={mode:u});var l=u.mode,h=u.fs||i;l===void 0&&(l=s&~process.umask()),f||(f=null);var d=c||function(){};a=n.resolve(a),h.mkdir(a,l,function(g){if(!g)return f=f||a,d(null,f);switch(g.code){case"ENOENT":o(n.dirname(a),u,function(S,w){S?d(S,w):o(a,u,d,w)});break;default:h.stat(a,function(S,w){S||!w.isDirectory()?d(g,f):d(null,f)});break}})}o.sync=function a(u,c,f){(!c||typeof c!="object")&&(c={mode:c});var l=c.mode,h=c.fs||i;l===void 0&&(l=s&~process.umask()),f||(f=null),u=n.resolve(u);try{h.mkdirSync(u,l),f=f||u}catch(g){switch(g.code){case"ENOENT":f=a(n.dirname(u),c,f),a(u,c,f);break;default:var d;try{d=h.statSync(u)}catch{throw g}if(!d.isDirectory())throw g;break}}return f}},,,,,,function(e,t,r){"use strict";e.exports=n=>{if(typeof n!="string")throw new TypeError("Expected a string, got "+typeof n);return n.charCodeAt(0)===65279?n.slice(1):n}},function(e,t){e.exports=r;function r(n,i){if(n&&i)return r(n)(i);if(typeof n!="function")throw new TypeError("need wrapper function");return Object.keys(n).forEach(function(o){s[o]=n[o]}),s;function s(){for(var o=new Array(arguments.length),a=0;a<o.length;a++)o[a]=arguments[a];var u=n.apply(this,o),c=o[o.length-1];return typeof u=="function"&&u!==c&&Object.keys(c).forEach(function(f){u[f]=c[f]}),u}}},,,,,,,,function(e,t,r){var n=r(47);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(i){return n(i)=="String"?i.split(""):Object(i)}},function(e,t,r){var n=r(195),i=r(101);e.exports=Object.keys||function(o){return n(o,i)}},function(e,t,r){var n=r(67);e.exports=function(i){return Object(n(i))}},,,,,,,,,,,,function(e,t){e.exports={name:"yarn",installationMethod:"unknown",version:"1.10.0-0",license:"BSD-2-Clause",preferGlobal:!0,description:"\u{1F4E6}\u{1F408} Fast, reliable, and secure dependency management.",dependencies:{"@zkochan/cmd-shim":"^2.2.4","babel-runtime":"^6.26.0",bytes:"^3.0.0",camelcase:"^4.0.0",chalk:"^2.1.0",commander:"^2.9.0",death:"^1.0.0",debug:"^3.0.0","deep-equal":"^1.0.1","detect-indent":"^5.0.0",dnscache:"^1.0.1",glob:"^7.1.1","gunzip-maybe":"^1.4.0","hash-for-dep":"^1.2.3","imports-loader":"^0.8.0",ini:"^1.3.4",inquirer:"^3.0.1",invariant:"^2.2.0","is-builtin-module":"^2.0.0","is-ci":"^1.0.10","is-webpack-bundle":"^1.0.0",leven:"^2.0.0","loud-rejection":"^1.2.0",micromatch:"^2.3.11",mkdirp:"^0.5.1","node-emoji":"^1.6.1","normalize-url":"^2.0.0","npm-logical-tree":"^1.2.1","object-path":"^0.11.2","proper-lockfile":"^2.0.0",puka:"^1.0.0",read:"^1.0.7",request:"^2.87.0","request-capture-har":"^1.2.2",rimraf:"^2.5.0",semver:"^5.1.0",ssri:"^5.3.0","strip-ansi":"^4.0.0","strip-bom":"^3.0.0","tar-fs":"^1.16.0","tar-stream":"^1.6.1",uuid:"^3.0.1","v8-compile-cache":"^2.0.0","validate-npm-package-license":"^3.0.3",yn:"^2.0.0"},devDependencies:{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-loader":"^6.2.5","babel-plugin-array-includes":"^2.0.3","babel-plugin-transform-builtin-extend":"^1.1.2","babel-plugin-transform-inline-imports-commonjs":"^1.0.0","babel-plugin-transform-runtime":"^6.4.3","babel-preset-env":"^1.6.0","babel-preset-flow":"^6.23.0","babel-preset-stage-0":"^6.0.0",babylon:"^6.5.0",commitizen:"^2.9.6","cz-conventional-changelog":"^2.0.0",eslint:"^4.3.0","eslint-config-fb-strict":"^22.0.0","eslint-plugin-babel":"^5.0.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-jasmine":"^2.6.2","eslint-plugin-jest":"^21.0.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prefer-object-spread":"^1.2.1","eslint-plugin-prettier":"^2.1.2","eslint-plugin-react":"^7.1.0","eslint-plugin-relay":"^0.0.24","eslint-plugin-yarn-internal":"file:scripts/eslint-rules",execa:"^0.10.0","flow-bin":"^0.66.0","git-release-notes":"^3.0.0",gulp:"^3.9.0","gulp-babel":"^7.0.0","gulp-if":"^2.0.1","gulp-newer":"^1.0.0","gulp-plumber":"^1.0.1","gulp-sourcemaps":"^2.2.0","gulp-util":"^3.0.7","gulp-watch":"^5.0.0",jest:"^22.4.4",jsinspect:"^0.12.6",minimatch:"^3.0.4","mock-stdin":"^0.3.0",prettier:"^1.5.2",temp:"^0.8.3",webpack:"^2.1.0-beta.25",yargs:"^6.3.0"},resolutions:{sshpk:"^1.14.2"},engines:{node:">=4.0.0"},repository:"yarnpkg/yarn",bin:{yarn:"./bin/yarn.js",yarnpkg:"./bin/yarn.js"},scripts:{build:"gulp build","build-bundle":"node ./scripts/build-webpack.js","build-chocolatey":"powershell ./scripts/build-chocolatey.ps1","build-deb":"./scripts/build-deb.sh","build-dist":"bash ./scripts/build-dist.sh","build-win-installer":"scripts\\build-windows-installer.bat",changelog:"git-release-notes $(git describe --tags --abbrev=0 $(git describe --tags --abbrev=0)^)..$(git describe --tags --abbrev=0) scripts/changelog.md","dupe-check":"yarn jsinspect ./src",lint:"eslint . && flow check","pkg-tests":"yarn --cwd packages/pkg-tests jest yarn.test.js",prettier:"eslint src __tests__ --fix","release-branch":"./scripts/release-branch.sh",test:"yarn lint && yarn test-only","test-only":"node --max_old_space_size=4096 node_modules/jest/bin/jest.js --verbose","test-only-debug":"node --inspect-brk --max_old_space_size=4096 node_modules/jest/bin/jest.js --runInBand --verbose","test-coverage":"node --max_old_space_size=4096 node_modules/jest/bin/jest.js --coverage --verbose",watch:"gulp watch",commit:"git-cz"},jest:{collectCoverageFrom:["src/**/*.js"],testEnvironment:"node",modulePathIgnorePatterns:["__tests__/fixtures/","packages/pkg-tests/pkg-tests-fixtures","dist/"],testPathIgnorePatterns:["__tests__/(fixtures|__mocks__)/","updates/","_(temp|mock|install|init|helpers).js$","packages/pkg-tests"]},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}}}},,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=S;var n;function i(){return n=r(12)}var s;function o(){return s=r(6)}var a;function u(){return a=r(145)}let c=process.version;function f(w){return w.indexOf("true")===0||w.indexOf("false")===0||/[:\s\n\\",\[\]]/g.test(w)||/^[0-9]/g.test(w)||!/^[a-zA-Z]/g.test(w)}function l(w){return typeof w=="boolean"||typeof w=="number"||f(w)?JSON.stringify(w):w}let h={name:1,version:2,uid:3,resolved:4,integrity:5,registry:6,dependencies:7};function d(w,k){return h[w]||h[k]?(h[w]||100)>(h[k]||100)?1:-1:(0,(n||i()).sortAlpha)(w,k)}function g(w,k){if(typeof w!="object")throw new TypeError;let _=k.indent,N=[],D=Object.keys(w).sort(d),A=[];for(let R=0;R<D.length;R++){let b=D[R],O=w[b];if(O==null||A.indexOf(b)>=0)continue;let T=[b];if(typeof O=="object")for(let p=R+1;p<D.length;p++){let m=D[p];O===w[m]&&T.push(m)}let x=T.sort((n||i()).sortAlpha).map(l).join(", ");if(typeof O=="string"||typeof O=="boolean"||typeof O=="number")N.push(`${x} ${l(O)}`);else if(typeof O=="object")N.push(`${x}:
68
- ${g(O,{indent:_+" "})}`+(k.topLevel?`
69
- `:""));else throw new TypeError;A=A.concat(T)}return _+N.join(`
70
- ${_}`)}function S(w,k,_){let N=g(w,{indent:"",topLevel:!0});if(k)return N;let D=[];return D.push("# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY."),D.push(`# yarn lockfile v${(s||o()).LOCKFILE_VERSION}`),_&&(D.push(`# yarn v${(a||u()).version}`),D.push(`# node ${c}`)),D.push(`
71
- `),D.push(N),D.join(`
72
- `)}},,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fileDatesEqual=t.copyFile=t.unlink=void 0;var n;function i(){return n=f(r(1))}let s=(()=>{var b=(0,(n||i()).default)(function*(O,T,x){let p=O===void 0,m=O||-1;if(l===void 0){let E=yield g(T);l=R(E.mtime,x.mtime)}if(!l){if(p)try{m=yield S(T,"a",x.mode)}catch{try{m=yield S(T,"r",x.mode)}catch{return}}try{m&&(yield w(m,x.atime,x.mtime))}catch{}finally{p&&m&&(yield d(m))}}});return function(T,x,p){return b.apply(this,arguments)}})();var o;function a(){return o=f(r(3))}var u;function c(){return u=r(40)}function f(b){return b&&b.__esModule?b:{default:b}}let l,h=(0,(u||c()).promisify)((o||a()).default.readFile),d=(0,(u||c()).promisify)((o||a()).default.close),g=(0,(u||c()).promisify)((o||a()).default.lstat),S=(0,(u||c()).promisify)((o||a()).default.open),w=(0,(u||c()).promisify)((o||a()).default.futimes),k=(0,(u||c()).promisify)((o||a()).default.write),_=t.unlink=(0,(u||c()).promisify)(r(233)),N=t.copyFile=(()=>{var b=(0,(n||i()).default)(function*(O,T){try{yield _(O.dest),yield D(O.src,O.dest,0,O)}finally{T&&T()}});return function(T,x){return b.apply(this,arguments)}})(),D=(b,O,T,x)=>(o||a()).default.copyFile?new Promise((p,m)=>(o||a()).default.copyFile(b,O,T,E=>{E?m(E):s(void 0,O,x).then(()=>p()).catch(C=>m(C))})):A(b,O,T,x),A=(()=>{var b=(0,(n||i()).default)(function*(O,T,x,p){let m=yield S(T,"w",p.mode);try{let E=yield h(O);yield k(m,E,0,E.length),yield s(m,T,p)}finally{yield d(m)}});return function(T,x,p,m){return b.apply(this,arguments)}})(),R=t.fileDatesEqual=(b,O)=>{let T=b.getTime(),x=O.getTime();if(process.platform!=="win32")return T===x;if(Math.abs(T-x)<=1)return!0;let p=Math.floor(T/1e3),m=Math.floor(x/1e3);return T-p*1e3===0||x-m*1e3===0?p===m:T===x}},,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFakeRoot=i,t.isRootUser=s;function n(){return process.platform!=="win32"&&process.getuid?process.getuid():null}t.default=s(n())&&!i();function i(){return!!process.env.FAKEROOTKEY}function s(o){return o===0}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDataDir=a,t.getCacheDir=u,t.getConfigDir=c;let n=r(0),i=r(45).default,s=n.join(i,".config","yarn"),o=n.join(i,".cache","yarn");function a(){if(process.platform==="win32"){let l=f();return l==null?s:n.join(l,"Data")}else return process.env.XDG_DATA_HOME?n.join(process.env.XDG_DATA_HOME,"yarn"):s}function u(){return process.platform==="win32"?n.join(f()||n.join(i,"AppData","Local","Yarn"),"Cache"):process.env.XDG_CACHE_HOME?n.join(process.env.XDG_CACHE_HOME,"yarn"):process.platform==="darwin"?n.join(i,"Library","Caches","Yarn"):o}function c(){if(process.platform==="win32"){let l=f();return l==null?s:n.join(l,"Config")}else return process.env.XDG_CONFIG_HOME?n.join(process.env.XDG_CONFIG_HOME,"yarn"):s}function f(){return process.env.LOCALAPPDATA?n.join(process.env.LOCALAPPDATA,"Yarn"):null}},,function(e,t,r){e.exports={default:r(179),__esModule:!0}},function(e,t,r){"use strict";e.exports=n;function n(o,a,u){o instanceof RegExp&&(o=i(o,u)),a instanceof RegExp&&(a=i(a,u));var c=s(o,a,u);return c&&{start:c[0],end:c[1],pre:u.slice(0,c[0]),body:u.slice(c[0]+o.length,c[1]),post:u.slice(c[1]+a.length)}}function i(o,a){var u=a.match(o);return u?u[0]:null}n.range=s;function s(o,a,u){var c,f,l,h,d,g=u.indexOf(o),S=u.indexOf(a,g+1),w=g;if(g>=0&&S>0){for(c=[],l=u.length;w>=0&&!d;)w==g?(c.push(w),g=u.indexOf(o,w+1)):c.length==1?d=[c.pop(),S]:(f=c.pop(),f<l&&(l=f,h=S),S=u.indexOf(a,w+1)),w=g<S&&g>=0?g:S;c.length&&(d=[l,h])}return d}},function(e,t,r){var n=r(178),i=r(174);e.exports=g;var s="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",u="\0COMMA"+Math.random()+"\0",c="\0PERIOD"+Math.random()+"\0";function f(A){return parseInt(A,10)==A?parseInt(A,10):A.charCodeAt(0)}function l(A){return A.split("\\\\").join(s).split("\\{").join(o).split("\\}").join(a).split("\\,").join(u).split("\\.").join(c)}function h(A){return A.split(s).join("\\").split(o).join("{").split(a).join("}").split(u).join(",").split(c).join(".")}function d(A){if(!A)return[""];var R=[],b=i("{","}",A);if(!b)return A.split(",");var O=b.pre,T=b.body,x=b.post,p=O.split(",");p[p.length-1]+="{"+T+"}";var m=d(x);return x.length&&(p[p.length-1]+=m.shift(),p.push.apply(p,m)),R.push.apply(R,p),R}function g(A){return A?(A.substr(0,2)==="{}"&&(A="\\{\\}"+A.substr(2)),D(l(A),!0).map(h)):[]}function S(A){return A}function w(A){return"{"+A+"}"}function k(A){return/^-?0\d/.test(A)}function _(A,R){return A<=R}function N(A,R){return A>=R}function D(A,R){var b=[],O=i("{","}",A);if(!O||/\$$/.test(O.pre))return[A];var T=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(O.body),x=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(O.body),p=T||x,m=O.body.indexOf(",")>=0;if(!p&&!m)return O.post.match(/,.*\}/)?(A=O.pre+"{"+O.body+a+O.post,D(A)):[A];var E;if(p)E=O.body.split(/\.\./);else if(E=d(O.body),E.length===1&&(E=D(E[0],!1).map(w),E.length===1)){var y=O.post.length?D(O.post,!1):[""];return y.map(function(ne){return O.pre+E[0]+ne})}var C=O.pre,y=O.post.length?D(O.post,!1):[""],v;if(p){var P=f(E[0]),I=f(E[1]),L=Math.max(E[0].length,E[1].length),$=E.length==3?Math.abs(f(E[2])):1,U=_,z=I<P;z&&($*=-1,U=N);var oe=E.some(k);v=[];for(var H=P;U(H,I);H+=$){var B;if(x)B=String.fromCharCode(H),B==="\\"&&(B="");else if(B=String(H),oe){var j=L-B.length;if(j>0){var te=new Array(j+1).join("0");H<0?B="-"+te+B.slice(1):B=te+B}}v.push(B)}}else v=n(E,function(G){return D(G,!1)});for(var re=0;re<v.length;re++)for(var q=0;q<y.length;q++){var ie=C+v[re]+y[q];(!R||p||ie)&&b.push(ie)}return b}},function(e,t,r){"use strict";function n(i){let s=!1,o=!1,a=!1;for(let u=0;u<i.length;u++){let c=i[u];s&&/[a-zA-Z]/.test(c)&&c.toUpperCase()===c?(i=i.substr(0,u)+"-"+i.substr(u),s=!1,a=o,o=!0,u++):o&&a&&/[a-zA-Z]/.test(c)&&c.toLowerCase()===c?(i=i.substr(0,u-1)+"-"+i.substr(u-1),a=o,o=!1,s=!0):(s=c.toLowerCase()===c,a=o,o=c.toUpperCase()===c)}return i}e.exports=function(i){return arguments.length>1?i=Array.from(arguments).map(o=>o.trim()).filter(o=>o.length).join("-"):i=i.trim(),i.length===0?"":i.length===1?i.toLowerCase():/^[a-z0-9]+$/.test(i)?i:(i!==i.toLowerCase()&&(i=n(i)),i.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(o,a)=>a.toUpperCase()))}},,function(e,t){e.exports=function(n,i){for(var s=[],o=0;o<n.length;o++){var a=i(n[o],o);r(a)?s.push.apply(s,a):s.push(a)}return s};var r=Array.isArray||function(n){return Object.prototype.toString.call(n)==="[object Array]"}},function(e,t,r){r(205),r(207),r(210),r(206),r(208),r(209),e.exports=r(23).Promise},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(r,n,i,s){if(!(r instanceof n)||s!==void 0&&s in r)throw TypeError(i+": incorrect invocation!");return r}},function(e,t,r){var n=r(74),i=r(110),s=r(200);e.exports=function(o){return function(a,u,c){var f=n(a),l=i(f.length),h=s(c,l),d;if(o&&u!=u){for(;l>h;)if(d=f[h++],d!=d)return!0}else for(;l>h;h++)if((o||h in f)&&f[h]===u)return o||h||0;return!o&&-1}}},function(e,l,r){var n=r(48),i=r(187),s=r(186),o=r(27),a=r(110),u=r(203),c={},f={},l=e.exports=function(h,d,g,S,w){var k=w?function(){return h}:u(h),_=n(g,S,d?2:1),N=0,D,A,R,b;if(typeof k!="function")throw TypeError(h+" is not iterable!");if(s(k)){for(D=a(h.length);D>N;N++)if(b=d?_(o(A=h[N])[0],A[1]):_(h[N]),b===c||b===f)return b}else for(R=k.call(h);!(A=R.next()).done;)if(b=i(R,_,A.value,d),b===c||b===f)return b};l.BREAK=c,l.RETURN=f},function(e,t,r){e.exports=!r(33)&&!r(85)(function(){return Object.defineProperty(r(68)("div"),"a",{get:function(){return 7}}).a!=7})},function(e,t){e.exports=function(r,n,i){var s=i===void 0;switch(n.length){case 0:return s?r():r.call(i);case 1:return s?r(n[0]):r.call(i,n[0]);case 2:return s?r(n[0],n[1]):r.call(i,n[0],n[1]);case 3:return s?r(n[0],n[1],n[2]):r.call(i,n[0],n[1],n[2]);case 4:return s?r(n[0],n[1],n[2],n[3]):r.call(i,n[0],n[1],n[2],n[3])}return r.apply(i,n)}},function(e,t,r){var n=r(35),i=r(13)("iterator"),s=Array.prototype;e.exports=function(o){return o!==void 0&&(n.Array===o||s[i]===o)}},function(e,t,r){var n=r(27);e.exports=function(i,s,o,a){try{return a?s(n(o)[0],o[1]):s(o)}catch(c){var u=i.return;throw u!==void 0&&n(u.call(i)),c}}},function(e,t,r){"use strict";var n=r(192),i=r(106),s=r(71),o={};r(31)(o,r(13)("iterator"),function(){return this}),e.exports=function(a,u,c){a.prototype=n(o,{next:i(1,c)}),s(a,u+" Iterator")}},function(e,t,r){var n=r(13)("iterator"),i=!1;try{var s=[7][n]();s.return=function(){i=!0},Array.from(s,function(){throw 2})}catch{}e.exports=function(o,a){if(!a&&!i)return!1;var u=!1;try{var c=[7],f=c[n]();f.next=function(){return{done:u=!0}},c[n]=function(){return f},o(c)}catch{}return u}},function(e,t){e.exports=function(r,n){return{value:n,done:!!r}}},function(e,t,r){var n=r(11),i=r(109).set,s=n.MutationObserver||n.WebKitMutationObserver,o=n.process,a=n.Promise,u=r(47)(o)=="process";e.exports=function(){var c,f,l,h=function(){var w,k;for(u&&(w=o.domain)&&w.exit();c;){k=c.fn,c=c.next;try{k()}catch(_){throw c?l():f=void 0,_}}f=void 0,w&&w.enter()};if(u)l=function(){o.nextTick(h)};else if(s&&!(n.navigator&&n.navigator.standalone)){var d=!0,g=document.createTextNode("");new s(h).observe(g,{characterData:!0}),l=function(){g.data=d=!d}}else if(a&&a.resolve){var S=a.resolve(void 0);l=function(){S.then(h)}}else l=function(){i.call(n,h)};return function(w){var k={fn:w,next:void 0};f&&(f.next=k),c||(c=k,l()),f=k}}},function(e,t,r){var n=r(27),i=r(193),s=r(101),o=r(72)("IE_PROTO"),a=function(){},u="prototype",c=function(){var f=r(68)("iframe"),l=s.length,h="<",d=">",g;for(f.style.display="none",r(102).appendChild(f),f.src="javascript:",g=f.contentWindow.document,g.open(),g.write(h+"script"+d+"document.F=Object"+h+"/script"+d),g.close(),c=g.F;l--;)delete c[u][s[l]];return c()};e.exports=Object.create||function(l,h){var d;return l!==null?(a[u]=n(l),d=new a,a[u]=null,d[o]=l):d=c(),h===void 0?d:i(d,h)}},function(e,t,r){var n=r(50),i=r(27),s=r(132);e.exports=r(33)?Object.defineProperties:function(a,u){i(a);for(var c=s(u),f=c.length,l=0,h;f>l;)n.f(a,h=c[l++],u[h]);return a}},function(e,t,r){var n=r(49),i=r(133),s=r(72)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(a){return a=i(a),n(a,s)?a[s]:typeof a.constructor=="function"&&a instanceof a.constructor?a.constructor.prototype:a instanceof Object?o:null}},function(e,t,r){var n=r(49),i=r(74),s=r(182)(!1),o=r(72)("IE_PROTO");e.exports=function(a,u){var c=i(a),f=0,l=[],h;for(h in c)h!=o&&n(c,h)&&l.push(h);for(;u.length>f;)n(c,h=u[f++])&&(~s(l,h)||l.push(h));return l}},function(e,t,r){var n=r(31);e.exports=function(i,s,o){for(var a in s)o&&i[a]?i[a]=s[a]:n(i,a,s[a]);return i}},function(e,t,r){e.exports=r(31)},function(e,t,r){"use strict";var n=r(11),i=r(23),s=r(50),o=r(33),a=r(13)("species");e.exports=function(u){var c=typeof i[u]=="function"?i[u]:n[u];o&&c&&!c[a]&&s.f(c,a,{configurable:!0,get:function(){return this}})}},function(e,t,r){var n=r(73),i=r(67);e.exports=function(s){return function(o,a){var u=String(i(o)),c=n(a),f=u.length,l,h;return c<0||c>=f?s?"":void 0:(l=u.charCodeAt(c),l<55296||l>56319||c+1===f||(h=u.charCodeAt(c+1))<56320||h>57343?s?u.charAt(c):l:s?u.slice(c,c+2):(l-55296<<10)+(h-56320)+65536)}}},function(e,t,r){var n=r(73),i=Math.max,s=Math.min;e.exports=function(o,a){return o=n(o),o<0?i(o+a,0):s(o,a)}},function(e,t,r){var n=r(34);e.exports=function(i,s){if(!n(i))return i;var o,a;if(s&&typeof(o=i.toString)=="function"&&!n(a=o.call(i))||typeof(o=i.valueOf)=="function"&&!n(a=o.call(i))||!s&&typeof(o=i.toString)=="function"&&!n(a=o.call(i)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){var n=r(11),i=n.navigator;e.exports=i&&i.userAgent||""},function(e,t,r){var n=r(100),i=r(13)("iterator"),s=r(35);e.exports=r(23).getIteratorMethod=function(o){if(o!=null)return o[i]||o["@@iterator"]||s[n(o)]}},function(e,t,r){"use strict";var n=r(180),i=r(190),s=r(35),o=r(74);e.exports=r(103)(Array,"Array",function(a,u){this._t=o(a),this._i=0,this._k=u},function(){var a=this._t,u=this._k,c=this._i++;return!a||c>=a.length?(this._t=void 0,i(1)):u=="keys"?i(0,c):u=="values"?i(0,a[c]):i(0,[c,a[c]])},"values"),s.Arguments=s.Array,n("keys"),n("values"),n("entries")},function(e,t){},function(e,t,r){"use strict";var n=r(69),i=r(11),s=r(48),o=r(100),a=r(41),u=r(34),c=r(46),f=r(181),l=r(183),h=r(108),d=r(109).set,g=r(191)(),S=r(70),w=r(104),k=r(202),_=r(105),N="Promise",D=i.TypeError,A=i.process,R=A&&A.versions,b=R&&R.v8||"",O=i[N],T=o(A)=="process",x=function(){},p,m,E,C,y=m=S.f,v=!!function(){try{var H=O.resolve(1),B=(H.constructor={})[r(13)("species")]=function(j){j(x,x)};return(T||typeof PromiseRejectionEvent=="function")&&H.then(x)instanceof B&&b.indexOf("6.6")!==0&&k.indexOf("Chrome/66")===-1}catch{}}(),P=function(H){var B;return u(H)&&typeof(B=H.then)=="function"?B:!1},I=function(H,B){if(!H._n){H._n=!0;var j=H._c;g(function(){for(var te=H._v,re=H._s==1,q=0,ie=function(G){var ne=re?G.ok:G.fail,ce=G.resolve,Ee=G.reject,fe=G.domain,Re,xe,Rt;try{ne?(re||(H._h==2&&U(H),H._h=1),ne===!0?Re=te:(fe&&fe.enter(),Re=ne(te),fe&&(fe.exit(),Rt=!0)),Re===G.promise?Ee(D("Promise-chain cycle")):(xe=P(Re))?xe.call(Re,ce,Ee):ce(Re)):Ee(te)}catch(Me){fe&&!Rt&&fe.exit(),Ee(Me)}};j.length>q;)ie(j[q++]);H._c=[],H._n=!1,B&&!H._h&&L(H)})}},L=function(H){d.call(i,function(){var B=H._v,j=$(H),te,re,q;if(j&&(te=w(function(){T?A.emit("unhandledRejection",B,H):(re=i.onunhandledrejection)?re({promise:H,reason:B}):(q=i.console)&&q.error&&q.error("Unhandled promise rejection",B)}),H._h=T||$(H)?2:1),H._a=void 0,j&&te.e)throw te.v})},$=function(H){return H._h!==1&&(H._a||H._c).length===0},U=function(H){d.call(i,function(){var B;T?A.emit("rejectionHandled",H):(B=i.onrejectionhandled)&&B({promise:H,reason:H._v})})},z=function(H){var B=this;B._d||(B._d=!0,B=B._w||B,B._v=H,B._s=2,B._a||(B._a=B._c.slice()),I(B,!0))},oe=function(H){var B=this,j;if(!B._d){B._d=!0,B=B._w||B;try{if(B===H)throw D("Promise can't be resolved itself");(j=P(H))?g(function(){var te={_w:B,_d:!1};try{j.call(H,s(oe,te,1),s(z,te,1))}catch(re){z.call(te,re)}}):(B._v=H,B._s=1,I(B,!1))}catch(te){z.call({_w:B,_d:!1},te)}}};v||(O=function(B){f(this,O,N,"_h"),c(B),p.call(this);try{B(s(oe,this,1),s(z,this,1))}catch(j){z.call(this,j)}},p=function(B){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},p.prototype=r(196)(O.prototype,{then:function(B,j){var te=y(h(this,O));return te.ok=typeof B=="function"?B:!0,te.fail=typeof j=="function"&&j,te.domain=T?A.domain:void 0,this._c.push(te),this._a&&this._a.push(te),this._s&&I(this,!1),te.promise},catch:function(H){return this.then(void 0,H)}}),E=function(){var H=new p;this.promise=H,this.resolve=s(oe,H,1),this.reject=s(z,H,1)},S.f=y=function(H){return H===O||H===C?new E(H):m(H)}),a(a.G+a.W+a.F*!v,{Promise:O}),r(71)(O,N),r(198)(N),C=r(23)[N],a(a.S+a.F*!v,N,{reject:function(B){var j=y(this),te=j.reject;return te(B),j.promise}}),a(a.S+a.F*(n||!v),N,{resolve:function(B){return _(n&&this===C?O:this,B)}}),a(a.S+a.F*!(v&&r(189)(function(H){O.all(H).catch(x)})),N,{all:function(B){var j=this,te=y(j),re=te.resolve,q=te.reject,ie=w(function(){var G=[],ne=0,ce=1;l(B,!1,function(Ee){var fe=ne++,Re=!1;G.push(void 0),ce++,j.resolve(Ee).then(function(xe){Re||(Re=!0,G[fe]=xe,--ce||re(G))},q)}),--ce||re(G)});return ie.e&&q(ie.v),te.promise},race:function(B){var j=this,te=y(j),re=te.reject,q=w(function(){l(B,!1,function(ie){j.resolve(ie).then(te.resolve,re)})});return q.e&&re(q.v),te.promise}})},function(e,t,r){"use strict";var n=r(199)(!0);r(103)(String,"String",function(i){this._t=String(i),this._i=0},function(){var i=this._t,s=this._i,o;return s>=i.length?{value:void 0,done:!0}:(o=n(i,s),this._i+=o.length,{value:o,done:!1})})},function(e,t,r){"use strict";var n=r(41),i=r(23),s=r(11),o=r(108),a=r(105);n(n.P+n.R,"Promise",{finally:function(u){var c=o(this,i.Promise||s.Promise),f=typeof u=="function";return this.then(f?function(l){return a(c,u()).then(function(){return l})}:u,f?function(l){return a(c,u()).then(function(){throw l})}:u)}})},function(e,t,r){"use strict";var n=r(41),i=r(70),s=r(104);n(n.S,"Promise",{try:function(o){var a=i.f(this),u=s(o);return(u.e?a.reject:a.resolve)(u.v),a.promise}})},function(e,t,r){r(204);for(var n=r(11),i=r(31),s=r(35),o=r(13)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<a.length;u++){var c=a[u],f=n[c],l=f&&f.prototype;l&&!l[o]&&i(l,o,c),s[c]=s.Array}},function(e,t,r){t=e.exports=r(112),t.log=s,t.formatArgs=i,t.save=o,t.load=a,t.useColors=n,t.storage=typeof chrome<"u"&&typeof chrome.storage<"u"?chrome.storage.local:u(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){return typeof window<"u"&&window.process&&window.process.type==="renderer"?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}t.formatters.j=function(c){try{return JSON.stringify(c)}catch(f){return"[UnexpectedJSONParseError]: "+f.message}};function i(c){var f=this.useColors;if(c[0]=(f?"%c":"")+this.namespace+(f?" %c":" ")+c[0]+(f?"%c ":" ")+"+"+t.humanize(this.diff),!!f){var l="color: "+this.color;c.splice(1,0,l,"color: inherit");var h=0,d=0;c[0].replace(/%[a-zA-Z%]/g,function(g){g!=="%%"&&(h++,g==="%c"&&(d=h))}),c.splice(d,0,l)}}function s(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function o(c){try{c==null?t.storage.removeItem("debug"):t.storage.debug=c}catch{}}function a(){var c;try{c=t.storage.debug}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=process.env.DEBUG),c}t.enable(a());function u(){try{return window.localStorage}catch{}}},function(e,t,r){typeof process>"u"||process.type==="renderer"?e.exports=r(211):e.exports=r(213)},function(e,t,r){var n=r(79),i=r(2);t=e.exports=r(112),t.init=h,t.log=c,t.formatArgs=a,t.save=f,t.load=l,t.useColors=o,t.colors=[6,2,3,4,5,1];try{var s=r(239);s&&s.level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}t.inspectOpts=Object.keys(process.env).filter(function(d){return/^debug_/i.test(d)}).reduce(function(d,g){var S=g.substring(6).toLowerCase().replace(/_([a-z])/g,function(k,_){return _.toUpperCase()}),w=process.env[g];return/^(yes|on|true|enabled)$/i.test(w)?w=!0:/^(no|off|false|disabled)$/i.test(w)?w=!1:w==="null"?w=null:w=Number(w),d[S]=w,d},{});function o(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:n.isatty(process.stderr.fd)}t.formatters.o=function(d){return this.inspectOpts.colors=this.useColors,i.inspect(d,this.inspectOpts).split(`
73
- `).map(function(g){return g.trim()}).join(" ")},t.formatters.O=function(d){return this.inspectOpts.colors=this.useColors,i.inspect(d,this.inspectOpts)};function a(d){var g=this.namespace,S=this.useColors;if(S){var w=this.color,k="\x1B[3"+(w<8?w:"8;5;"+w),_=" "+k+";1m"+g+" \x1B[0m";d[0]=_+d[0].split(`
65
+ `,C=C.slice(I)}yield k(x.eof)}class A{constructor(v,S="lockfile"){this.comments=[],this.tokens=F(v),this.fileLoc=S}onComment(v){let S=v.value;(0,(s||o()).default)(typeof S=="string","expected token value to be a string");let T=S.trim(),k=T.match(E);if(k){let I=+k[1];if(I>(u||f()).LOCKFILE_VERSION)throw new(l||h()).MessageError(`Can't install from a lockfile of version ${I} as you're on an old yarn version that only supports versions up to ${(u||f()).LOCKFILE_VERSION}. Run \`$ yarn self-update\` to upgrade to the latest version.`)}this.comments.push(T)}next(){let v=this.tokens.next();(0,(s||o()).default)(v,"expected a token");let S=v.done,T=v.value;if(S||!T)throw new Error("No more tokens");return T.type===x.comment?(this.onComment(T),this.next()):this.token=T}unexpected(v="Unexpected token"){throw new SyntaxError(`${v} ${this.token.line}:${this.token.col} in ${this.fileLoc}`)}expect(v){this.token.type===v?this.next():this.unexpected()}eat(v){return this.token.type===v?(this.next(),!0):!1}parse(v=0){let S=(0,(p||d()).default)();for(;;){let $=this.token;if($.type===x.newline){let j=this.next();if(!v)continue;if(j.type!==x.indent)break;if(j.value===v)this.next();else break}else if($.type===x.indent)if($.value===v)this.next();else break;else{if($.type===x.eof)break;if($.type===x.string){let j=$.value;(0,(s||o()).default)(j,"Expected a key");let re=[j];for(this.next();this.token.type===x.comma;){this.next();let q=this.token;q.type!==x.string&&this.unexpected("Expected string");let oe=q.value;(0,(s||o()).default)(oe,"Expected a key"),re.push(oe),this.next()}let ne=this.token;if(ne.type===x.colon){this.next();let q=this.parse(v+1);for(var I=re,T=Array.isArray(I),k=0,I=T?I:I[Symbol.iterator]();;){var B;if(T){if(k>=I.length)break;B=I[k++]}else{if(k=I.next(),k.done)break;B=k.value}let oe=B;S[oe]=q}if(v&&this.token.type!==x.indent)break}else if(L(ne)){for(var se=re,G=Array.isArray(se),z=0,se=G?se:se[Symbol.iterator]();;){var U;if(G){if(z>=se.length)break;U=se[z++]}else{if(z=se.next(),z.done)break;U=z.value}let q=U;S[q]=ne.value}this.next()}else this.unexpected("Invalid value type")}else this.unexpected(`Unknown token: ${(n||i()).default.inspect($)}`)}}return S}}let R="|||||||",D=">>>>>>>",P="=======",N="<<<<<<<";function O(C){let v=[[],[]],S=C.split(/\r?\n/g),T=!1;for(;S.length;){let k=S.shift();if(k.startsWith(N)){for(;S.length;){let I=S.shift();if(I===P){T=!1;break}else if(T||I.startsWith(R)){T=!0;continue}else v[0].push(I)}for(;S.length;){let I=S.shift();if(I.startsWith(D))break;v[1].push(I)}}else v[0].push(k),v[1].push(k)}return[v[0].join(`
66
+ `),v[1].join(`
67
+ `)]}function m(C){return C.includes(N)&&C.includes(P)&&C.includes(D)}function y(C,v){let S=new A(C,v);return S.next(),S.parse()}function w(C,v){let S=O(C);try{return{type:"merge",object:Object.assign({},y(S[0],v),y(S[1],v))}}catch(T){if(T instanceof SyntaxError)return{type:"conflict",object:{}};throw T}}},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n;function i(){return n=s(r(20))}function s(c){return c&&c.__esModule?c:{default:c}}let o=r(212)("yarn");class a{constructor(u,f=1/0){this.concurrencyQueue=[],this.maxConcurrency=f,this.runningCount=0,this.warnedStuck=!1,this.alias=u,this.first=!0,this.running=(0,(n||i()).default)(),this.queue=(0,(n||i()).default)(),this.stuckTick=this.stuckTick.bind(this)}stillActive(){this.stuckTimer&&clearTimeout(this.stuckTimer),this.stuckTimer=setTimeout(this.stuckTick,5e3),this.stuckTimer.unref&&this.stuckTimer.unref()}stuckTick(){this.runningCount===1&&(this.warnedStuck=!0,o(`The ${JSON.stringify(this.alias)} blocking queue may be stuck. 5 seconds without any activity with 1 worker: ${Object.keys(this.running)[0]}`))}push(u,f){return this.first?this.first=!1:this.stillActive(),new Promise((l,h)=>{(this.queue[u]=this.queue[u]||[]).push({factory:f,resolve:l,reject:h}),this.running[u]||this.shift(u)})}shift(u){this.running[u]&&(delete this.running[u],this.runningCount--,this.stuckTimer&&(clearTimeout(this.stuckTimer),this.stuckTimer=null),this.warnedStuck&&(this.warnedStuck=!1,o(`${JSON.stringify(this.alias)} blocking queue finally resolved. Nothing to worry about.`)));let f=this.queue[u];if(!f)return;var l=f.shift();let h=l.resolve,p=l.reject,d=l.factory;f.length||delete this.queue[u];let g=()=>{this.shift(u),this.shiftConcurrencyQueue()},E=()=>{this.running[u]=!0,this.runningCount++,d().then(function(x){return h(x),g(),null}).catch(function(x){p(x),g()})};this.maybePushConcurrencyQueue(E)}maybePushConcurrencyQueue(u){this.runningCount<this.maxConcurrency?u():this.concurrencyQueue.push(u)}shiftConcurrencyQueue(){if(this.runningCount<this.maxConcurrency){let u=this.concurrencyQueue.shift();u&&u()}}}t.default=a},function(e,t){e.exports=function(r){try{return!!r()}catch{return!0}}},,,,,,,,,,,,,,,function(e,t,r){var n=r(47),i=r(13)("toStringTag"),s=n(function(){return arguments}())=="Arguments",o=function(a,c){try{return a[c]}catch{}};e.exports=function(a){var c,u,f;return a===void 0?"Undefined":a===null?"Null":typeof(u=o(c=Object(a),i))=="string"?u:s?n(c):(f=n(c))=="Object"&&typeof c.callee=="function"?"Arguments":f}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){var n=r(11).document;e.exports=n&&n.documentElement},function(e,t,r){"use strict";var n=r(69),i=r(41),s=r(197),o=r(31),a=r(35),c=r(188),u=r(71),f=r(194),l=r(13)("iterator"),h=!([].keys&&"next"in[].keys()),p="@@iterator",d="keys",g="values",E=function(){return this};e.exports=function(x,b,L,F,A,R,D){c(L,b,F);var P=function(B){if(!h&&B in y)return y[B];switch(B){case d:return function(){return new L(this,B)};case g:return function(){return new L(this,B)}}return function(){return new L(this,B)}},N=b+" Iterator",O=A==g,m=!1,y=x.prototype,w=y[l]||y[p]||A&&y[A],C=w||P(A),v=A?O?P("entries"):C:void 0,S=b=="Array"&&y.entries||w,T,k,I;if(S&&(I=f(S.call(new x)),I!==Object.prototype&&I.next&&(u(I,N,!0),!n&&typeof I[l]!="function"&&o(I,l,E))),O&&w&&w.name!==g&&(m=!0,C=function(){return w.call(this)}),(!n||D)&&(h||m||!y[l])&&o(y,l,C),a[b]=C,a[N]=E,A)if(T={values:O?C:P(g),keys:R?C:P(d),entries:v},D)for(k in T)k in y||s(y,k,T[k]);else i(i.P+i.F*(h||m),b,T);return T}},function(e,t){e.exports=function(r){try{return{e:!1,v:r()}}catch(n){return{e:!0,v:n}}}},function(e,t,r){var n=r(27),i=r(34),s=r(70);e.exports=function(o,a){if(n(o),i(a)&&a.constructor===o)return a;var c=s.f(o),u=c.resolve;return u(a),c.promise}},function(e,t){e.exports=function(r,n){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}}},function(e,t,r){var n=r(23),i=r(11),s="__core-js_shared__",o=i[s]||(i[s]={});(e.exports=function(a,c){return o[a]||(o[a]=c!==void 0?c:{})})("versions",[]).push({version:n.version,mode:r(69)?"pure":"global",copyright:"\xA9 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t,r){var n=r(27),i=r(46),s=r(13)("species");e.exports=function(o,a){var c=n(o).constructor,u;return c===void 0||(u=n(c)[s])==null?a:i(u)}},function(e,t,r){var n=r(48),i=r(185),s=r(102),o=r(68),a=r(11),c=a.process,u=a.setImmediate,f=a.clearImmediate,l=a.MessageChannel,h=a.Dispatch,p=0,d={},g="onreadystatechange",E,x,b,L=function(){var A=+this;if(d.hasOwnProperty(A)){var R=d[A];delete d[A],R()}},F=function(A){L.call(A.data)};(!u||!f)&&(u=function(R){for(var D=[],P=1;arguments.length>P;)D.push(arguments[P++]);return d[++p]=function(){i(typeof R=="function"?R:Function(R),D)},E(p),p},f=function(R){delete d[R]},r(47)(c)=="process"?E=function(A){c.nextTick(n(L,A,1))}:h&&h.now?E=function(A){h.now(n(L,A,1))}:l?(x=new l,b=x.port2,x.port1.onmessage=F,E=n(b.postMessage,b,1)):a.addEventListener&&typeof postMessage=="function"&&!a.importScripts?(E=function(A){a.postMessage(A+"","*")},a.addEventListener("message",F,!1)):g in o("script")?E=function(A){s.appendChild(o("script"))[g]=function(){s.removeChild(this),L.call(A)}}:E=function(A){setTimeout(n(L,A,1),0)}),e.exports={set:u,clear:f}},function(e,t,r){var n=r(73),i=Math.min;e.exports=function(s){return s>0?i(n(s),9007199254740991):0}},function(e,t){var r=0,n=Math.random();e.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++r+n).toString(36))}},function(e,t,r){t=e.exports=i.debug=i.default=i,t.coerce=u,t.disable=a,t.enable=o,t.enabled=c,t.humanize=r(229),t.instances=[],t.names=[],t.skips=[],t.formatters={};function n(f){var l=0,h;for(h in f)l=(l<<5)-l+f.charCodeAt(h),l|=0;return t.colors[Math.abs(l)%t.colors.length]}function i(f){var l;function h(){if(h.enabled){var p=h,d=+new Date,g=d-(l||d);p.diff=g,p.prev=l,p.curr=d,l=d;for(var E=new Array(arguments.length),x=0;x<E.length;x++)E[x]=arguments[x];E[0]=t.coerce(E[0]),typeof E[0]!="string"&&E.unshift("%O");var b=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,function(F,A){if(F==="%%")return F;b++;var R=t.formatters[A];if(typeof R=="function"){var D=E[b];F=R.call(p,D),E.splice(b,1),b--}return F}),t.formatArgs.call(p,E);var L=h.log||t.log||console.log.bind(console);L.apply(p,E)}}return h.namespace=f,h.enabled=t.enabled(f),h.useColors=t.useColors(),h.color=n(f),h.destroy=s,typeof t.init=="function"&&t.init(h),t.instances.push(h),h}function s(){var f=t.instances.indexOf(this);return f!==-1?(t.instances.splice(f,1),!0):!1}function o(f){t.save(f),t.names=[],t.skips=[];var l,h=(typeof f=="string"?f:"").split(/[\s,]+/),p=h.length;for(l=0;l<p;l++)h[l]&&(f=h[l].replace(/\*/g,".*?"),f[0]==="-"?t.skips.push(new RegExp("^"+f.substr(1)+"$")):t.names.push(new RegExp("^"+f+"$")));for(l=0;l<t.instances.length;l++){var d=t.instances[l];d.enabled=t.enabled(d.namespace)}}function a(){t.enable("")}function c(f){if(f[f.length-1]==="*")return!0;var l,h;for(l=0,h=t.skips.length;l<h;l++)if(t.skips[l].test(f))return!1;for(l=0,h=t.names.length;l<h;l++)if(t.names[l].test(f))return!0;return!1}function u(f){return f instanceof Error?f.stack||f.message:f}},,function(e,t,r){e.exports=f,f.realpath=f,f.sync=l,f.realpathSync=l,f.monkeypatch=h,f.unmonkeypatch=p;var n=r(3),i=n.realpath,s=n.realpathSync,o=process.version,a=/^v[0-5]\./.test(o),c=r(217);function u(d){return d&&d.syscall==="realpath"&&(d.code==="ELOOP"||d.code==="ENOMEM"||d.code==="ENAMETOOLONG")}function f(d,g,E){if(a)return i(d,g,E);typeof g=="function"&&(E=g,g=null),i(d,g,function(x,b){u(x)?c.realpath(d,g,E):E(x,b)})}function l(d,g){if(a)return s(d,g);try{return s(d,g)}catch(E){if(u(E))return c.realpathSync(d,g);throw E}}function h(){n.realpath=f,n.realpathSync=l}function p(){n.realpath=i,n.realpathSync=s}},function(e,t,r){t.alphasort=u,t.alphasorti=c,t.setopts=h,t.ownProp=n,t.makeAbs=g,t.finish=p,t.mark=d,t.isIgnored=E,t.childrenIgnored=x;function n(b,L){return Object.prototype.hasOwnProperty.call(b,L)}var i=r(0),s=r(60),o=r(76),a=s.Minimatch;function c(b,L){return b.toLowerCase().localeCompare(L.toLowerCase())}function u(b,L){return b.localeCompare(L)}function f(b,L){b.ignore=L.ignore||[],Array.isArray(b.ignore)||(b.ignore=[b.ignore]),b.ignore.length&&(b.ignore=b.ignore.map(l))}function l(b){var L=null;if(b.slice(-3)==="/**"){var F=b.replace(/(\/\*\*)+$/,"");L=new a(F,{dot:!0})}return{matcher:new a(b,{dot:!0}),gmatcher:L}}function h(b,L,F){if(F||(F={}),F.matchBase&&L.indexOf("/")===-1){if(F.noglobstar)throw new Error("base matching requires globstar");L="**/"+L}b.silent=!!F.silent,b.pattern=L,b.strict=F.strict!==!1,b.realpath=!!F.realpath,b.realpathCache=F.realpathCache||Object.create(null),b.follow=!!F.follow,b.dot=!!F.dot,b.mark=!!F.mark,b.nodir=!!F.nodir,b.nodir&&(b.mark=!0),b.sync=!!F.sync,b.nounique=!!F.nounique,b.nonull=!!F.nonull,b.nosort=!!F.nosort,b.nocase=!!F.nocase,b.stat=!!F.stat,b.noprocess=!!F.noprocess,b.absolute=!!F.absolute,b.maxLength=F.maxLength||1/0,b.cache=F.cache||Object.create(null),b.statCache=F.statCache||Object.create(null),b.symlinks=F.symlinks||Object.create(null),f(b,F),b.changedCwd=!1;var A=process.cwd();n(F,"cwd")?(b.cwd=i.resolve(F.cwd),b.changedCwd=b.cwd!==A):b.cwd=A,b.root=F.root||i.resolve(b.cwd,"/"),b.root=i.resolve(b.root),process.platform==="win32"&&(b.root=b.root.replace(/\\/g,"/")),b.cwdAbs=o(b.cwd)?b.cwd:g(b,b.cwd),process.platform==="win32"&&(b.cwdAbs=b.cwdAbs.replace(/\\/g,"/")),b.nomount=!!F.nomount,F.nonegate=!0,F.nocomment=!0,b.minimatch=new a(L,F),b.options=b.minimatch.options}function p(b){for(var L=b.nounique,F=L?[]:Object.create(null),A=0,R=b.matches.length;A<R;A++){var D=b.matches[A];if(!D||Object.keys(D).length===0){if(b.nonull){var P=b.minimatch.globSet[A];L?F.push(P):F[P]=!0}}else{var N=Object.keys(D);L?F.push.apply(F,N):N.forEach(function(O){F[O]=!0})}}if(L||(F=Object.keys(F)),b.nosort||(F=F.sort(b.nocase?c:u)),b.mark){for(var A=0;A<F.length;A++)F[A]=b._mark(F[A]);b.nodir&&(F=F.filter(function(O){var m=!/\/$/.test(O),y=b.cache[O]||b.cache[g(b,O)];return m&&y&&(m=y!=="DIR"&&!Array.isArray(y)),m}))}b.ignore.length&&(F=F.filter(function(O){return!E(b,O)})),b.found=F}function d(b,L){var F=g(b,L),A=b.cache[F],R=L;if(A){var D=A==="DIR"||Array.isArray(A),P=L.slice(-1)==="/";if(D&&!P?R+="/":!D&&P&&(R=R.slice(0,-1)),R!==L){var N=g(b,R);b.statCache[N]=b.statCache[F],b.cache[N]=b.cache[F]}}return R}function g(b,L){var F=L;return L.charAt(0)==="/"?F=i.join(b.root,L):o(L)||L===""?F=L:b.changedCwd?F=i.resolve(b.cwd,L):F=i.resolve(L),process.platform==="win32"&&(F=F.replace(/\\/g,"/")),F}function E(b,L){return b.ignore.length?b.ignore.some(function(F){return F.matcher.match(L)||!!(F.gmatcher&&F.gmatcher.match(L))}):!1}function x(b,L){return b.ignore.length?b.ignore.some(function(F){return!!(F.gmatcher&&F.gmatcher.match(L))}):!1}},function(e,t,r){var n=r(0),i=r(3),s=parseInt("0777",8);e.exports=o.mkdirp=o.mkdirP=o;function o(a,c,u,f){typeof c=="function"?(u=c,c={}):(!c||typeof c!="object")&&(c={mode:c});var l=c.mode,h=c.fs||i;l===void 0&&(l=s&~process.umask()),f||(f=null);var p=u||function(){};a=n.resolve(a),h.mkdir(a,l,function(d){if(!d)return f=f||a,p(null,f);switch(d.code){case"ENOENT":o(n.dirname(a),c,function(g,E){g?p(g,E):o(a,c,p,E)});break;default:h.stat(a,function(g,E){g||!E.isDirectory()?p(d,f):p(null,f)});break}})}o.sync=function a(c,u,f){(!u||typeof u!="object")&&(u={mode:u});var l=u.mode,h=u.fs||i;l===void 0&&(l=s&~process.umask()),f||(f=null),c=n.resolve(c);try{h.mkdirSync(c,l),f=f||c}catch(d){switch(d.code){case"ENOENT":f=a(n.dirname(c),u,f),a(c,u,f);break;default:var p;try{p=h.statSync(c)}catch{throw d}if(!p.isDirectory())throw d;break}}return f}},,,,,,function(e,t,r){"use strict";e.exports=n=>{if(typeof n!="string")throw new TypeError("Expected a string, got "+typeof n);return n.charCodeAt(0)===65279?n.slice(1):n}},function(e,t){e.exports=r;function r(n,i){if(n&&i)return r(n)(i);if(typeof n!="function")throw new TypeError("need wrapper function");return Object.keys(n).forEach(function(o){s[o]=n[o]}),s;function s(){for(var o=new Array(arguments.length),a=0;a<o.length;a++)o[a]=arguments[a];var c=n.apply(this,o),u=o[o.length-1];return typeof c=="function"&&c!==u&&Object.keys(u).forEach(function(f){c[f]=u[f]}),c}}},,,,,,,,function(e,t,r){var n=r(47);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(i){return n(i)=="String"?i.split(""):Object(i)}},function(e,t,r){var n=r(195),i=r(101);e.exports=Object.keys||function(o){return n(o,i)}},function(e,t,r){var n=r(67);e.exports=function(i){return Object(n(i))}},,,,,,,,,,,,function(e,t){e.exports={name:"yarn",installationMethod:"unknown",version:"1.10.0-0",license:"BSD-2-Clause",preferGlobal:!0,description:"\u{1F4E6}\u{1F408} Fast, reliable, and secure dependency management.",dependencies:{"@zkochan/cmd-shim":"^2.2.4","babel-runtime":"^6.26.0",bytes:"^3.0.0",camelcase:"^4.0.0",chalk:"^2.1.0",commander:"^2.9.0",death:"^1.0.0",debug:"^3.0.0","deep-equal":"^1.0.1","detect-indent":"^5.0.0",dnscache:"^1.0.1",glob:"^7.1.1","gunzip-maybe":"^1.4.0","hash-for-dep":"^1.2.3","imports-loader":"^0.8.0",ini:"^1.3.4",inquirer:"^3.0.1",invariant:"^2.2.0","is-builtin-module":"^2.0.0","is-ci":"^1.0.10","is-webpack-bundle":"^1.0.0",leven:"^2.0.0","loud-rejection":"^1.2.0",micromatch:"^2.3.11",mkdirp:"^0.5.1","node-emoji":"^1.6.1","normalize-url":"^2.0.0","npm-logical-tree":"^1.2.1","object-path":"^0.11.2","proper-lockfile":"^2.0.0",puka:"^1.0.0",read:"^1.0.7",request:"^2.87.0","request-capture-har":"^1.2.2",rimraf:"^2.5.0",semver:"^5.1.0",ssri:"^5.3.0","strip-ansi":"^4.0.0","strip-bom":"^3.0.0","tar-fs":"^1.16.0","tar-stream":"^1.6.1",uuid:"^3.0.1","v8-compile-cache":"^2.0.0","validate-npm-package-license":"^3.0.3",yn:"^2.0.0"},devDependencies:{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-loader":"^6.2.5","babel-plugin-array-includes":"^2.0.3","babel-plugin-transform-builtin-extend":"^1.1.2","babel-plugin-transform-inline-imports-commonjs":"^1.0.0","babel-plugin-transform-runtime":"^6.4.3","babel-preset-env":"^1.6.0","babel-preset-flow":"^6.23.0","babel-preset-stage-0":"^6.0.0",babylon:"^6.5.0",commitizen:"^2.9.6","cz-conventional-changelog":"^2.0.0",eslint:"^4.3.0","eslint-config-fb-strict":"^22.0.0","eslint-plugin-babel":"^5.0.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-jasmine":"^2.6.2","eslint-plugin-jest":"^21.0.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prefer-object-spread":"^1.2.1","eslint-plugin-prettier":"^2.1.2","eslint-plugin-react":"^7.1.0","eslint-plugin-relay":"^0.0.24","eslint-plugin-yarn-internal":"file:scripts/eslint-rules",execa:"^0.10.0","flow-bin":"^0.66.0","git-release-notes":"^3.0.0",gulp:"^3.9.0","gulp-babel":"^7.0.0","gulp-if":"^2.0.1","gulp-newer":"^1.0.0","gulp-plumber":"^1.0.1","gulp-sourcemaps":"^2.2.0","gulp-util":"^3.0.7","gulp-watch":"^5.0.0",jest:"^22.4.4",jsinspect:"^0.12.6",minimatch:"^3.0.4","mock-stdin":"^0.3.0",prettier:"^1.5.2",temp:"^0.8.3",webpack:"^2.1.0-beta.25",yargs:"^6.3.0"},resolutions:{sshpk:"^1.14.2"},engines:{node:">=4.0.0"},repository:"yarnpkg/yarn",bin:{yarn:"./bin/yarn.js",yarnpkg:"./bin/yarn.js"},scripts:{build:"gulp build","build-bundle":"node ./scripts/build-webpack.js","build-chocolatey":"powershell ./scripts/build-chocolatey.ps1","build-deb":"./scripts/build-deb.sh","build-dist":"bash ./scripts/build-dist.sh","build-win-installer":"scripts\\build-windows-installer.bat",changelog:"git-release-notes $(git describe --tags --abbrev=0 $(git describe --tags --abbrev=0)^)..$(git describe --tags --abbrev=0) scripts/changelog.md","dupe-check":"yarn jsinspect ./src",lint:"eslint . && flow check","pkg-tests":"yarn --cwd packages/pkg-tests jest yarn.test.js",prettier:"eslint src __tests__ --fix","release-branch":"./scripts/release-branch.sh",test:"yarn lint && yarn test-only","test-only":"node --max_old_space_size=4096 node_modules/jest/bin/jest.js --verbose","test-only-debug":"node --inspect-brk --max_old_space_size=4096 node_modules/jest/bin/jest.js --runInBand --verbose","test-coverage":"node --max_old_space_size=4096 node_modules/jest/bin/jest.js --coverage --verbose",watch:"gulp watch",commit:"git-cz"},jest:{collectCoverageFrom:["src/**/*.js"],testEnvironment:"node",modulePathIgnorePatterns:["__tests__/fixtures/","packages/pkg-tests/pkg-tests-fixtures","dist/"],testPathIgnorePatterns:["__tests__/(fixtures|__mocks__)/","updates/","_(temp|mock|install|init|helpers).js$","packages/pkg-tests"]},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}}}},,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;var n;function i(){return n=r(12)}var s;function o(){return s=r(6)}var a;function c(){return a=r(145)}let u=process.version;function f(E){return E.indexOf("true")===0||E.indexOf("false")===0||/[:\s\n\\",\[\]]/g.test(E)||/^[0-9]/g.test(E)||!/^[a-zA-Z]/g.test(E)}function l(E){return typeof E=="boolean"||typeof E=="number"||f(E)?JSON.stringify(E):E}let h={name:1,version:2,uid:3,resolved:4,integrity:5,registry:6,dependencies:7};function p(E,x){return h[E]||h[x]?(h[E]||100)>(h[x]||100)?1:-1:(0,(n||i()).sortAlpha)(E,x)}function d(E,x){if(typeof E!="object")throw new TypeError;let b=x.indent,L=[],F=Object.keys(E).sort(p),A=[];for(let R=0;R<F.length;R++){let D=F[R],P=E[D];if(P==null||A.indexOf(D)>=0)continue;let N=[D];if(typeof P=="object")for(let m=R+1;m<F.length;m++){let y=F[m];P===E[y]&&N.push(y)}let O=N.sort((n||i()).sortAlpha).map(l).join(", ");if(typeof P=="string"||typeof P=="boolean"||typeof P=="number")L.push(`${O} ${l(P)}`);else if(typeof P=="object")L.push(`${O}:
68
+ ${d(P,{indent:b+" "})}`+(x.topLevel?`
69
+ `:""));else throw new TypeError;A=A.concat(N)}return b+L.join(`
70
+ ${b}`)}function g(E,x,b){let L=d(E,{indent:"",topLevel:!0});if(x)return L;let F=[];return F.push("# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY."),F.push(`# yarn lockfile v${(s||o()).LOCKFILE_VERSION}`),b&&(F.push(`# yarn v${(a||c()).version}`),F.push(`# node ${u}`)),F.push(`
71
+ `),F.push(L),F.join(`
72
+ `)}},,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fileDatesEqual=t.copyFile=t.unlink=void 0;var n;function i(){return n=f(r(1))}let s=(()=>{var D=(0,(n||i()).default)(function*(P,N,O){let m=P===void 0,y=P||-1;if(l===void 0){let w=yield d(N);l=R(w.mtime,O.mtime)}if(!l){if(m)try{y=yield g(N,"a",O.mode)}catch{try{y=yield g(N,"r",O.mode)}catch{return}}try{y&&(yield E(y,O.atime,O.mtime))}catch{}finally{m&&y&&(yield p(y))}}});return function(N,O,m){return D.apply(this,arguments)}})();var o;function a(){return o=f(r(3))}var c;function u(){return c=r(40)}function f(D){return D&&D.__esModule?D:{default:D}}let l,h=(0,(c||u()).promisify)((o||a()).default.readFile),p=(0,(c||u()).promisify)((o||a()).default.close),d=(0,(c||u()).promisify)((o||a()).default.lstat),g=(0,(c||u()).promisify)((o||a()).default.open),E=(0,(c||u()).promisify)((o||a()).default.futimes),x=(0,(c||u()).promisify)((o||a()).default.write),b=t.unlink=(0,(c||u()).promisify)(r(233)),L=t.copyFile=(()=>{var D=(0,(n||i()).default)(function*(P,N){try{yield b(P.dest),yield F(P.src,P.dest,0,P)}finally{N&&N()}});return function(N,O){return D.apply(this,arguments)}})(),F=(D,P,N,O)=>(o||a()).default.copyFile?new Promise((m,y)=>(o||a()).default.copyFile(D,P,N,w=>{w?y(w):s(void 0,P,O).then(()=>m()).catch(C=>y(C))})):A(D,P,N,O),A=(()=>{var D=(0,(n||i()).default)(function*(P,N,O,m){let y=yield g(N,"w",m.mode);try{let w=yield h(P);yield x(y,w,0,w.length),yield s(y,N,m)}finally{yield p(y)}});return function(N,O,m,y){return D.apply(this,arguments)}})(),R=t.fileDatesEqual=(D,P)=>{let N=D.getTime(),O=P.getTime();if(process.platform!=="win32")return N===O;if(Math.abs(N-O)<=1)return!0;let m=Math.floor(N/1e3),y=Math.floor(O/1e3);return N-m*1e3===0||O-y*1e3===0?m===y:N===O}},,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFakeRoot=i,t.isRootUser=s;function n(){return process.platform!=="win32"&&process.getuid?process.getuid():null}t.default=s(n())&&!i();function i(){return!!process.env.FAKEROOTKEY}function s(o){return o===0}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDataDir=a,t.getCacheDir=c,t.getConfigDir=u;let n=r(0),i=r(45).default,s=n.join(i,".config","yarn"),o=n.join(i,".cache","yarn");function a(){if(process.platform==="win32"){let l=f();return l==null?s:n.join(l,"Data")}else return process.env.XDG_DATA_HOME?n.join(process.env.XDG_DATA_HOME,"yarn"):s}function c(){return process.platform==="win32"?n.join(f()||n.join(i,"AppData","Local","Yarn"),"Cache"):process.env.XDG_CACHE_HOME?n.join(process.env.XDG_CACHE_HOME,"yarn"):process.platform==="darwin"?n.join(i,"Library","Caches","Yarn"):o}function u(){if(process.platform==="win32"){let l=f();return l==null?s:n.join(l,"Config")}else return process.env.XDG_CONFIG_HOME?n.join(process.env.XDG_CONFIG_HOME,"yarn"):s}function f(){return process.env.LOCALAPPDATA?n.join(process.env.LOCALAPPDATA,"Yarn"):null}},,function(e,t,r){e.exports={default:r(179),__esModule:!0}},function(e,t,r){"use strict";e.exports=n;function n(o,a,c){o instanceof RegExp&&(o=i(o,c)),a instanceof RegExp&&(a=i(a,c));var u=s(o,a,c);return u&&{start:u[0],end:u[1],pre:c.slice(0,u[0]),body:c.slice(u[0]+o.length,u[1]),post:c.slice(u[1]+a.length)}}function i(o,a){var c=a.match(o);return c?c[0]:null}n.range=s;function s(o,a,c){var u,f,l,h,p,d=c.indexOf(o),g=c.indexOf(a,d+1),E=d;if(d>=0&&g>0){for(u=[],l=c.length;E>=0&&!p;)E==d?(u.push(E),d=c.indexOf(o,E+1)):u.length==1?p=[u.pop(),g]:(f=u.pop(),f<l&&(l=f,h=g),g=c.indexOf(a,E+1)),E=d<g&&d>=0?d:g;u.length&&(p=[l,h])}return p}},function(e,t,r){var n=r(178),i=r(174);e.exports=d;var s="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",c="\0COMMA"+Math.random()+"\0",u="\0PERIOD"+Math.random()+"\0";function f(A){return parseInt(A,10)==A?parseInt(A,10):A.charCodeAt(0)}function l(A){return A.split("\\\\").join(s).split("\\{").join(o).split("\\}").join(a).split("\\,").join(c).split("\\.").join(u)}function h(A){return A.split(s).join("\\").split(o).join("{").split(a).join("}").split(c).join(",").split(u).join(".")}function p(A){if(!A)return[""];var R=[],D=i("{","}",A);if(!D)return A.split(",");var P=D.pre,N=D.body,O=D.post,m=P.split(",");m[m.length-1]+="{"+N+"}";var y=p(O);return O.length&&(m[m.length-1]+=y.shift(),m.push.apply(m,y)),R.push.apply(R,m),R}function d(A){return A?(A.substr(0,2)==="{}"&&(A="\\{\\}"+A.substr(2)),F(l(A),!0).map(h)):[]}function g(A){return A}function E(A){return"{"+A+"}"}function x(A){return/^-?0\d/.test(A)}function b(A,R){return A<=R}function L(A,R){return A>=R}function F(A,R){var D=[],P=i("{","}",A);if(!P||/\$$/.test(P.pre))return[A];var N=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(P.body),O=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(P.body),m=N||O,y=P.body.indexOf(",")>=0;if(!m&&!y)return P.post.match(/,.*\}/)?(A=P.pre+"{"+P.body+a+P.post,F(A)):[A];var w;if(m)w=P.body.split(/\.\./);else if(w=p(P.body),w.length===1&&(w=F(w[0],!1).map(E),w.length===1)){var v=P.post.length?F(P.post,!1):[""];return v.map(function(ie){return P.pre+w[0]+ie})}var C=P.pre,v=P.post.length?F(P.post,!1):[""],S;if(m){var T=f(w[0]),k=f(w[1]),I=Math.max(w[0].length,w[1].length),B=w.length==3?Math.abs(f(w[2])):1,G=b,z=k<T;z&&(B*=-1,G=L);var se=w.some(x);S=[];for(var U=T;G(U,k);U+=B){var $;if(O)$=String.fromCharCode(U),$==="\\"&&($="");else if($=String(U),se){var j=I-$.length;if(j>0){var re=new Array(j+1).join("0");U<0?$="-"+re+$.slice(1):$=re+$}}S.push($)}}else S=n(w,function(H){return F(H,!1)});for(var ne=0;ne<S.length;ne++)for(var q=0;q<v.length;q++){var oe=C+S[ne]+v[q];(!R||m||oe)&&D.push(oe)}return D}},function(e,t,r){"use strict";function n(i){let s=!1,o=!1,a=!1;for(let c=0;c<i.length;c++){let u=i[c];s&&/[a-zA-Z]/.test(u)&&u.toUpperCase()===u?(i=i.substr(0,c)+"-"+i.substr(c),s=!1,a=o,o=!0,c++):o&&a&&/[a-zA-Z]/.test(u)&&u.toLowerCase()===u?(i=i.substr(0,c-1)+"-"+i.substr(c-1),a=o,o=!1,s=!0):(s=u.toLowerCase()===u,a=o,o=u.toUpperCase()===u)}return i}e.exports=function(i){return arguments.length>1?i=Array.from(arguments).map(o=>o.trim()).filter(o=>o.length).join("-"):i=i.trim(),i.length===0?"":i.length===1?i.toLowerCase():/^[a-z0-9]+$/.test(i)?i:(i!==i.toLowerCase()&&(i=n(i)),i.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(o,a)=>a.toUpperCase()))}},,function(e,t){e.exports=function(n,i){for(var s=[],o=0;o<n.length;o++){var a=i(n[o],o);r(a)?s.push.apply(s,a):s.push(a)}return s};var r=Array.isArray||function(n){return Object.prototype.toString.call(n)==="[object Array]"}},function(e,t,r){r(205),r(207),r(210),r(206),r(208),r(209),e.exports=r(23).Promise},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(r,n,i,s){if(!(r instanceof n)||s!==void 0&&s in r)throw TypeError(i+": incorrect invocation!");return r}},function(e,t,r){var n=r(74),i=r(110),s=r(200);e.exports=function(o){return function(a,c,u){var f=n(a),l=i(f.length),h=s(u,l),p;if(o&&c!=c){for(;l>h;)if(p=f[h++],p!=p)return!0}else for(;l>h;h++)if((o||h in f)&&f[h]===c)return o||h||0;return!o&&-1}}},function(e,l,r){var n=r(48),i=r(187),s=r(186),o=r(27),a=r(110),c=r(203),u={},f={},l=e.exports=function(h,p,d,g,E){var x=E?function(){return h}:c(h),b=n(d,g,p?2:1),L=0,F,A,R,D;if(typeof x!="function")throw TypeError(h+" is not iterable!");if(s(x)){for(F=a(h.length);F>L;L++)if(D=p?b(o(A=h[L])[0],A[1]):b(h[L]),D===u||D===f)return D}else for(R=x.call(h);!(A=R.next()).done;)if(D=i(R,b,A.value,p),D===u||D===f)return D};l.BREAK=u,l.RETURN=f},function(e,t,r){e.exports=!r(33)&&!r(85)(function(){return Object.defineProperty(r(68)("div"),"a",{get:function(){return 7}}).a!=7})},function(e,t){e.exports=function(r,n,i){var s=i===void 0;switch(n.length){case 0:return s?r():r.call(i);case 1:return s?r(n[0]):r.call(i,n[0]);case 2:return s?r(n[0],n[1]):r.call(i,n[0],n[1]);case 3:return s?r(n[0],n[1],n[2]):r.call(i,n[0],n[1],n[2]);case 4:return s?r(n[0],n[1],n[2],n[3]):r.call(i,n[0],n[1],n[2],n[3])}return r.apply(i,n)}},function(e,t,r){var n=r(35),i=r(13)("iterator"),s=Array.prototype;e.exports=function(o){return o!==void 0&&(n.Array===o||s[i]===o)}},function(e,t,r){var n=r(27);e.exports=function(i,s,o,a){try{return a?s(n(o)[0],o[1]):s(o)}catch(u){var c=i.return;throw c!==void 0&&n(c.call(i)),u}}},function(e,t,r){"use strict";var n=r(192),i=r(106),s=r(71),o={};r(31)(o,r(13)("iterator"),function(){return this}),e.exports=function(a,c,u){a.prototype=n(o,{next:i(1,u)}),s(a,c+" Iterator")}},function(e,t,r){var n=r(13)("iterator"),i=!1;try{var s=[7][n]();s.return=function(){i=!0},Array.from(s,function(){throw 2})}catch{}e.exports=function(o,a){if(!a&&!i)return!1;var c=!1;try{var u=[7],f=u[n]();f.next=function(){return{done:c=!0}},u[n]=function(){return f},o(u)}catch{}return c}},function(e,t){e.exports=function(r,n){return{value:n,done:!!r}}},function(e,t,r){var n=r(11),i=r(109).set,s=n.MutationObserver||n.WebKitMutationObserver,o=n.process,a=n.Promise,c=r(47)(o)=="process";e.exports=function(){var u,f,l,h=function(){var E,x;for(c&&(E=o.domain)&&E.exit();u;){x=u.fn,u=u.next;try{x()}catch(b){throw u?l():f=void 0,b}}f=void 0,E&&E.enter()};if(c)l=function(){o.nextTick(h)};else if(s&&!(n.navigator&&n.navigator.standalone)){var p=!0,d=document.createTextNode("");new s(h).observe(d,{characterData:!0}),l=function(){d.data=p=!p}}else if(a&&a.resolve){var g=a.resolve(void 0);l=function(){g.then(h)}}else l=function(){i.call(n,h)};return function(E){var x={fn:E,next:void 0};f&&(f.next=x),u||(u=x,l()),f=x}}},function(e,t,r){var n=r(27),i=r(193),s=r(101),o=r(72)("IE_PROTO"),a=function(){},c="prototype",u=function(){var f=r(68)("iframe"),l=s.length,h="<",p=">",d;for(f.style.display="none",r(102).appendChild(f),f.src="javascript:",d=f.contentWindow.document,d.open(),d.write(h+"script"+p+"document.F=Object"+h+"/script"+p),d.close(),u=d.F;l--;)delete u[c][s[l]];return u()};e.exports=Object.create||function(l,h){var p;return l!==null?(a[c]=n(l),p=new a,a[c]=null,p[o]=l):p=u(),h===void 0?p:i(p,h)}},function(e,t,r){var n=r(50),i=r(27),s=r(132);e.exports=r(33)?Object.defineProperties:function(a,c){i(a);for(var u=s(c),f=u.length,l=0,h;f>l;)n.f(a,h=u[l++],c[h]);return a}},function(e,t,r){var n=r(49),i=r(133),s=r(72)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(a){return a=i(a),n(a,s)?a[s]:typeof a.constructor=="function"&&a instanceof a.constructor?a.constructor.prototype:a instanceof Object?o:null}},function(e,t,r){var n=r(49),i=r(74),s=r(182)(!1),o=r(72)("IE_PROTO");e.exports=function(a,c){var u=i(a),f=0,l=[],h;for(h in u)h!=o&&n(u,h)&&l.push(h);for(;c.length>f;)n(u,h=c[f++])&&(~s(l,h)||l.push(h));return l}},function(e,t,r){var n=r(31);e.exports=function(i,s,o){for(var a in s)o&&i[a]?i[a]=s[a]:n(i,a,s[a]);return i}},function(e,t,r){e.exports=r(31)},function(e,t,r){"use strict";var n=r(11),i=r(23),s=r(50),o=r(33),a=r(13)("species");e.exports=function(c){var u=typeof i[c]=="function"?i[c]:n[c];o&&u&&!u[a]&&s.f(u,a,{configurable:!0,get:function(){return this}})}},function(e,t,r){var n=r(73),i=r(67);e.exports=function(s){return function(o,a){var c=String(i(o)),u=n(a),f=c.length,l,h;return u<0||u>=f?s?"":void 0:(l=c.charCodeAt(u),l<55296||l>56319||u+1===f||(h=c.charCodeAt(u+1))<56320||h>57343?s?c.charAt(u):l:s?c.slice(u,u+2):(l-55296<<10)+(h-56320)+65536)}}},function(e,t,r){var n=r(73),i=Math.max,s=Math.min;e.exports=function(o,a){return o=n(o),o<0?i(o+a,0):s(o,a)}},function(e,t,r){var n=r(34);e.exports=function(i,s){if(!n(i))return i;var o,a;if(s&&typeof(o=i.toString)=="function"&&!n(a=o.call(i))||typeof(o=i.valueOf)=="function"&&!n(a=o.call(i))||!s&&typeof(o=i.toString)=="function"&&!n(a=o.call(i)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){var n=r(11),i=n.navigator;e.exports=i&&i.userAgent||""},function(e,t,r){var n=r(100),i=r(13)("iterator"),s=r(35);e.exports=r(23).getIteratorMethod=function(o){if(o!=null)return o[i]||o["@@iterator"]||s[n(o)]}},function(e,t,r){"use strict";var n=r(180),i=r(190),s=r(35),o=r(74);e.exports=r(103)(Array,"Array",function(a,c){this._t=o(a),this._i=0,this._k=c},function(){var a=this._t,c=this._k,u=this._i++;return!a||u>=a.length?(this._t=void 0,i(1)):c=="keys"?i(0,u):c=="values"?i(0,a[u]):i(0,[u,a[u]])},"values"),s.Arguments=s.Array,n("keys"),n("values"),n("entries")},function(e,t){},function(e,t,r){"use strict";var n=r(69),i=r(11),s=r(48),o=r(100),a=r(41),c=r(34),u=r(46),f=r(181),l=r(183),h=r(108),p=r(109).set,d=r(191)(),g=r(70),E=r(104),x=r(202),b=r(105),L="Promise",F=i.TypeError,A=i.process,R=A&&A.versions,D=R&&R.v8||"",P=i[L],N=o(A)=="process",O=function(){},m,y,w,C,v=y=g.f,S=!!function(){try{var U=P.resolve(1),$=(U.constructor={})[r(13)("species")]=function(j){j(O,O)};return(N||typeof PromiseRejectionEvent=="function")&&U.then(O)instanceof $&&D.indexOf("6.6")!==0&&x.indexOf("Chrome/66")===-1}catch{}}(),T=function(U){var $;return c(U)&&typeof($=U.then)=="function"?$:!1},k=function(U,$){if(!U._n){U._n=!0;var j=U._c;d(function(){for(var re=U._v,ne=U._s==1,q=0,oe=function(H){var ie=ne?H.ok:H.fail,le=H.resolve,Se=H.reject,he=H.domain,Le,Re,Ut;try{ie?(ne||(U._h==2&&G(U),U._h=1),ie===!0?Le=re:(he&&he.enter(),Le=ie(re),he&&(he.exit(),Ut=!0)),Le===H.promise?Se(F("Promise-chain cycle")):(Re=T(Le))?Re.call(Le,le,Se):le(Le)):Se(re)}catch(We){he&&!Ut&&he.exit(),Se(We)}};j.length>q;)oe(j[q++]);U._c=[],U._n=!1,$&&!U._h&&I(U)})}},I=function(U){p.call(i,function(){var $=U._v,j=B(U),re,ne,q;if(j&&(re=E(function(){N?A.emit("unhandledRejection",$,U):(ne=i.onunhandledrejection)?ne({promise:U,reason:$}):(q=i.console)&&q.error&&q.error("Unhandled promise rejection",$)}),U._h=N||B(U)?2:1),U._a=void 0,j&&re.e)throw re.v})},B=function(U){return U._h!==1&&(U._a||U._c).length===0},G=function(U){p.call(i,function(){var $;N?A.emit("rejectionHandled",U):($=i.onrejectionhandled)&&$({promise:U,reason:U._v})})},z=function(U){var $=this;$._d||($._d=!0,$=$._w||$,$._v=U,$._s=2,$._a||($._a=$._c.slice()),k($,!0))},se=function(U){var $=this,j;if(!$._d){$._d=!0,$=$._w||$;try{if($===U)throw F("Promise can't be resolved itself");(j=T(U))?d(function(){var re={_w:$,_d:!1};try{j.call(U,s(se,re,1),s(z,re,1))}catch(ne){z.call(re,ne)}}):($._v=U,$._s=1,k($,!1))}catch(re){z.call({_w:$,_d:!1},re)}}};S||(P=function($){f(this,P,L,"_h"),u($),m.call(this);try{$(s(se,this,1),s(z,this,1))}catch(j){z.call(this,j)}},m=function($){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},m.prototype=r(196)(P.prototype,{then:function($,j){var re=v(h(this,P));return re.ok=typeof $=="function"?$:!0,re.fail=typeof j=="function"&&j,re.domain=N?A.domain:void 0,this._c.push(re),this._a&&this._a.push(re),this._s&&k(this,!1),re.promise},catch:function(U){return this.then(void 0,U)}}),w=function(){var U=new m;this.promise=U,this.resolve=s(se,U,1),this.reject=s(z,U,1)},g.f=v=function(U){return U===P||U===C?new w(U):y(U)}),a(a.G+a.W+a.F*!S,{Promise:P}),r(71)(P,L),r(198)(L),C=r(23)[L],a(a.S+a.F*!S,L,{reject:function($){var j=v(this),re=j.reject;return re($),j.promise}}),a(a.S+a.F*(n||!S),L,{resolve:function($){return b(n&&this===C?P:this,$)}}),a(a.S+a.F*!(S&&r(189)(function(U){P.all(U).catch(O)})),L,{all:function($){var j=this,re=v(j),ne=re.resolve,q=re.reject,oe=E(function(){var H=[],ie=0,le=1;l($,!1,function(Se){var he=ie++,Le=!1;H.push(void 0),le++,j.resolve(Se).then(function(Re){Le||(Le=!0,H[he]=Re,--le||ne(H))},q)}),--le||ne(H)});return oe.e&&q(oe.v),re.promise},race:function($){var j=this,re=v(j),ne=re.reject,q=E(function(){l($,!1,function(oe){j.resolve(oe).then(re.resolve,ne)})});return q.e&&ne(q.v),re.promise}})},function(e,t,r){"use strict";var n=r(199)(!0);r(103)(String,"String",function(i){this._t=String(i),this._i=0},function(){var i=this._t,s=this._i,o;return s>=i.length?{value:void 0,done:!0}:(o=n(i,s),this._i+=o.length,{value:o,done:!1})})},function(e,t,r){"use strict";var n=r(41),i=r(23),s=r(11),o=r(108),a=r(105);n(n.P+n.R,"Promise",{finally:function(c){var u=o(this,i.Promise||s.Promise),f=typeof c=="function";return this.then(f?function(l){return a(u,c()).then(function(){return l})}:c,f?function(l){return a(u,c()).then(function(){throw l})}:c)}})},function(e,t,r){"use strict";var n=r(41),i=r(70),s=r(104);n(n.S,"Promise",{try:function(o){var a=i.f(this),c=s(o);return(c.e?a.reject:a.resolve)(c.v),a.promise}})},function(e,t,r){r(204);for(var n=r(11),i=r(31),s=r(35),o=r(13)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var u=a[c],f=n[u],l=f&&f.prototype;l&&!l[o]&&i(l,o,u),s[u]=s.Array}},function(e,t,r){t=e.exports=r(112),t.log=s,t.formatArgs=i,t.save=o,t.load=a,t.useColors=n,t.storage=typeof chrome<"u"&&typeof chrome.storage<"u"?chrome.storage.local:c(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){return typeof window<"u"&&window.process&&window.process.type==="renderer"?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}t.formatters.j=function(u){try{return JSON.stringify(u)}catch(f){return"[UnexpectedJSONParseError]: "+f.message}};function i(u){var f=this.useColors;if(u[0]=(f?"%c":"")+this.namespace+(f?" %c":" ")+u[0]+(f?"%c ":" ")+"+"+t.humanize(this.diff),!!f){var l="color: "+this.color;u.splice(1,0,l,"color: inherit");var h=0,p=0;u[0].replace(/%[a-zA-Z%]/g,function(d){d!=="%%"&&(h++,d==="%c"&&(p=h))}),u.splice(p,0,l)}}function s(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function o(u){try{u==null?t.storage.removeItem("debug"):t.storage.debug=u}catch{}}function a(){var u;try{u=t.storage.debug}catch{}return!u&&typeof process<"u"&&"env"in process&&(u=process.env.DEBUG),u}t.enable(a());function c(){try{return window.localStorage}catch{}}},function(e,t,r){typeof process>"u"||process.type==="renderer"?e.exports=r(211):e.exports=r(213)},function(e,t,r){var n=r(79),i=r(2);t=e.exports=r(112),t.init=h,t.log=u,t.formatArgs=a,t.save=f,t.load=l,t.useColors=o,t.colors=[6,2,3,4,5,1];try{var s=r(239);s&&s.level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}t.inspectOpts=Object.keys(process.env).filter(function(p){return/^debug_/i.test(p)}).reduce(function(p,d){var g=d.substring(6).toLowerCase().replace(/_([a-z])/g,function(x,b){return b.toUpperCase()}),E=process.env[d];return/^(yes|on|true|enabled)$/i.test(E)?E=!0:/^(no|off|false|disabled)$/i.test(E)?E=!1:E==="null"?E=null:E=Number(E),p[g]=E,p},{});function o(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:n.isatty(process.stderr.fd)}t.formatters.o=function(p){return this.inspectOpts.colors=this.useColors,i.inspect(p,this.inspectOpts).split(`
73
+ `).map(function(d){return d.trim()}).join(" ")},t.formatters.O=function(p){return this.inspectOpts.colors=this.useColors,i.inspect(p,this.inspectOpts)};function a(p){var d=this.namespace,g=this.useColors;if(g){var E=this.color,x="\x1B[3"+(E<8?E:"8;5;"+E),b=" "+x+";1m"+d+" \x1B[0m";p[0]=b+p[0].split(`
74
74
  `).join(`
75
- `+_),d.push(k+"m+"+t.humanize(this.diff)+"\x1B[0m")}else d[0]=u()+g+" "+d[0]}function u(){return t.inspectOpts.hideDate?"":new Date().toISOString()+" "}function c(){return process.stderr.write(i.format.apply(i,arguments)+`
76
- `)}function f(d){d==null?delete process.env.DEBUG:process.env.DEBUG=d}function l(){return process.env.DEBUG}function h(d){d.inspectOpts={};for(var g=Object.keys(t.inspectOpts),S=0;S<g.length;S++)d.inspectOpts[g[S]]=t.inspectOpts[g[S]]}t.enable(l())},,,,function(e,t,r){var n=r(0),i=process.platform==="win32",s=r(3),o=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function a(){var h;if(o){var d=new Error;h=g}else h=S;return h;function g(w){w&&(d.message=w.message,w=d,S(w))}function S(w){if(w){if(process.throwDeprecation)throw w;if(!process.noDeprecation){var k="fs: missing callback "+(w.stack||w.message);process.traceDeprecation?console.trace(k):console.error(k)}}}}function u(h){return typeof h=="function"?h:a()}var c=n.normalize;if(i)var f=/(.*?)(?:[\/\\]+|$)/g;else var f=/(.*?)(?:[\/]+|$)/g;if(i)var l=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else var l=/^[\/]*/;t.realpathSync=function(d,g){if(d=n.resolve(d),g&&Object.prototype.hasOwnProperty.call(g,d))return g[d];var S=d,w={},k={},_,N,D,A;R();function R(){var m=l.exec(d);_=m[0].length,N=m[0],D=m[0],A="",i&&!k[D]&&(s.lstatSync(D),k[D]=!0)}for(;_<d.length;){f.lastIndex=_;var b=f.exec(d);if(A=N,N+=b[0],D=A+b[1],_=f.lastIndex,!(k[D]||g&&g[D]===D)){var O;if(g&&Object.prototype.hasOwnProperty.call(g,D))O=g[D];else{var T=s.lstatSync(D);if(!T.isSymbolicLink()){k[D]=!0,g&&(g[D]=D);continue}var x=null;if(!i){var p=T.dev.toString(32)+":"+T.ino.toString(32);w.hasOwnProperty(p)&&(x=w[p])}x===null&&(s.statSync(D),x=s.readlinkSync(D)),O=n.resolve(A,x),g&&(g[D]=O),i||(w[p]=x)}d=n.resolve(O,d.slice(_)),R()}}return g&&(g[S]=d),d},t.realpath=function(d,g,S){if(typeof S!="function"&&(S=u(g),g=null),d=n.resolve(d),g&&Object.prototype.hasOwnProperty.call(g,d))return process.nextTick(S.bind(null,null,g[d]));var w=d,k={},_={},N,D,A,R;b();function b(){var m=l.exec(d);N=m[0].length,D=m[0],A=m[0],R="",i&&!_[A]?s.lstat(A,function(E){if(E)return S(E);_[A]=!0,O()}):process.nextTick(O)}function O(){if(N>=d.length)return g&&(g[w]=d),S(null,d);f.lastIndex=N;var m=f.exec(d);return R=D,D+=m[0],A=R+m[1],N=f.lastIndex,_[A]||g&&g[A]===A?process.nextTick(O):g&&Object.prototype.hasOwnProperty.call(g,A)?p(g[A]):s.lstat(A,T)}function T(m,E){if(m)return S(m);if(!E.isSymbolicLink())return _[A]=!0,g&&(g[A]=A),process.nextTick(O);if(!i){var C=E.dev.toString(32)+":"+E.ino.toString(32);if(k.hasOwnProperty(C))return x(null,k[C],A)}s.stat(A,function(y){if(y)return S(y);s.readlink(A,function(v,P){i||(k[C]=P),x(v,P)})})}function x(m,E,C){if(m)return S(m);var y=n.resolve(R,E);g&&(g[C]=y),p(y)}function p(m){d=n.resolve(m,d.slice(N)),b()}}},function(e,t,r){e.exports=N,N.GlobSync=D;var n=r(3),i=r(114),s=r(60),o=s.Minimatch,a=r(75).Glob,u=r(2),c=r(0),f=r(22),l=r(76),h=r(115),d=h.alphasort,g=h.alphasorti,S=h.setopts,w=h.ownProp,k=h.childrenIgnored,_=h.isIgnored;function N(A,R){if(typeof R=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
77
- See: https://github.com/isaacs/node-glob/issues/167`);return new D(A,R).found}function D(A,R){if(!A)throw new Error("must provide pattern");if(typeof R=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
78
- See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof D))return new D(A,R);if(S(this,A,R),this.noprocess)return this;var b=this.minimatch.set.length;this.matches=new Array(b);for(var O=0;O<b;O++)this._process(this.minimatch.set[O],O,!1);this._finish()}D.prototype._finish=function(){if(f(this instanceof D),this.realpath){var A=this;this.matches.forEach(function(R,b){var O=A.matches[b]=Object.create(null);for(var T in R)try{T=A._makeAbs(T);var x=i.realpathSync(T,A.realpathCache);O[x]=!0}catch(p){if(p.syscall==="stat")O[A._makeAbs(T)]=!0;else throw p}})}h.finish(this)},D.prototype._process=function(A,R,b){f(this instanceof D);for(var O=0;typeof A[O]=="string";)O++;var T;switch(O){case A.length:this._processSimple(A.join("/"),R);return;case 0:T=null;break;default:T=A.slice(0,O).join("/");break}var x=A.slice(O),p;T===null?p=".":((l(T)||l(A.join("/")))&&(!T||!l(T))&&(T="/"+T),p=T);var m=this._makeAbs(p);if(!k(this,p)){var E=x[0]===s.GLOBSTAR;E?this._processGlobStar(T,p,m,x,R,b):this._processReaddir(T,p,m,x,R,b)}},D.prototype._processReaddir=function(A,R,b,O,T,x){var p=this._readdir(b,x);if(p){for(var m=O[0],E=!!this.minimatch.negate,C=m._glob,y=this.dot||C.charAt(0)===".",v=[],P=0;P<p.length;P++){var I=p[P];if(I.charAt(0)!=="."||y){var L;E&&!A?L=!I.match(m):L=I.match(m),L&&v.push(I)}}var $=v.length;if($!==0){if(O.length===1&&!this.mark&&!this.stat){this.matches[T]||(this.matches[T]=Object.create(null));for(var P=0;P<$;P++){var I=v[P];A&&(A.slice(-1)!=="/"?I=A+"/"+I:I=A+I),I.charAt(0)==="/"&&!this.nomount&&(I=c.join(this.root,I)),this._emitMatch(T,I)}return}O.shift();for(var P=0;P<$;P++){var I=v[P],U;A?U=[A,I]:U=[I],this._process(U.concat(O),T,x)}}}},D.prototype._emitMatch=function(A,R){if(!_(this,R)){var b=this._makeAbs(R);if(this.mark&&(R=this._mark(R)),this.absolute&&(R=b),!this.matches[A][R]){if(this.nodir){var O=this.cache[b];if(O==="DIR"||Array.isArray(O))return}this.matches[A][R]=!0,this.stat&&this._stat(R)}}},D.prototype._readdirInGlobStar=function(A){if(this.follow)return this._readdir(A,!1);var R,b,O;try{b=n.lstatSync(A)}catch(x){if(x.code==="ENOENT")return null}var T=b&&b.isSymbolicLink();return this.symlinks[A]=T,!T&&b&&!b.isDirectory()?this.cache[A]="FILE":R=this._readdir(A,!1),R},D.prototype._readdir=function(A,R){var b;if(R&&!w(this.symlinks,A))return this._readdirInGlobStar(A);if(w(this.cache,A)){var O=this.cache[A];if(!O||O==="FILE")return null;if(Array.isArray(O))return O}try{return this._readdirEntries(A,n.readdirSync(A))}catch(T){return this._readdirError(A,T),null}},D.prototype._readdirEntries=function(A,R){if(!this.mark&&!this.stat)for(var b=0;b<R.length;b++){var O=R[b];A==="/"?O=A+O:O=A+"/"+O,this.cache[O]=!0}return this.cache[A]=R,R},D.prototype._readdirError=function(A,R){switch(R.code){case"ENOTSUP":case"ENOTDIR":var b=this._makeAbs(A);if(this.cache[b]="FILE",b===this.cwdAbs){var O=new Error(R.code+" invalid cwd "+this.cwd);throw O.path=this.cwd,O.code=R.code,O}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(A)]=!1;break;default:if(this.cache[this._makeAbs(A)]=!1,this.strict)throw R;this.silent||console.error("glob error",R);break}},D.prototype._processGlobStar=function(A,R,b,O,T,x){var p=this._readdir(b,x);if(p){var m=O.slice(1),E=A?[A]:[],C=E.concat(m);this._process(C,T,!1);var y=p.length,v=this.symlinks[b];if(!(v&&x))for(var P=0;P<y;P++){var I=p[P];if(!(I.charAt(0)==="."&&!this.dot)){var L=E.concat(p[P],m);this._process(L,T,!0);var $=E.concat(p[P],O);this._process($,T,!0)}}}},D.prototype._processSimple=function(A,R){var b=this._stat(A);if(this.matches[R]||(this.matches[R]=Object.create(null)),!!b){if(A&&l(A)&&!this.nomount){var O=/[\/\\]$/.test(A);A.charAt(0)==="/"?A=c.join(this.root,A):(A=c.resolve(this.root,A),O&&(A+="/"))}process.platform==="win32"&&(A=A.replace(/\\/g,"/")),this._emitMatch(R,A)}},D.prototype._stat=function(A){var R=this._makeAbs(A),b=A.slice(-1)==="/";if(A.length>this.maxLength)return!1;if(!this.stat&&w(this.cache,R)){var p=this.cache[R];if(Array.isArray(p)&&(p="DIR"),!b||p==="DIR")return p;if(b&&p==="FILE")return!1}var O,T=this.statCache[R];if(!T){var x;try{x=n.lstatSync(R)}catch(m){if(m&&(m.code==="ENOENT"||m.code==="ENOTDIR"))return this.statCache[R]=!1,!1}if(x&&x.isSymbolicLink())try{T=n.statSync(R)}catch{T=x}else T=x}this.statCache[R]=T;var p=!0;return T&&(p=T.isDirectory()?"DIR":"FILE"),this.cache[R]=this.cache[R]||p,b&&p==="FILE"?!1:p},D.prototype._mark=function(A){return h.mark(this,A)},D.prototype._makeAbs=function(A){return h.makeAbs(this,A)}},,,function(e,t,r){"use strict";e.exports=function(n,i){i=i||process.argv;var s=i.indexOf("--"),o=/^--/.test(n)?"":"--",a=i.indexOf(o+n);return a!==-1&&(s!==-1?a<s:!0)}},,function(e,t,r){var n=r(123),i=Object.create(null),s=r(61);e.exports=n(o);function o(c,f){return i[c]?(i[c].push(f),null):(i[c]=[f],a(c))}function a(c){return s(function f(){var l=i[c],h=l.length,d=u(arguments);try{for(var g=0;g<h;g++)l[g].apply(null,d)}finally{l.length>h?(l.splice(0,h),process.nextTick(function(){f.apply(null,d)})):delete i[c]}})}function u(c){for(var f=c.length,l=[],h=0;h<f;h++)l[h]=c[h];return l}},function(e,t){typeof Object.create=="function"?e.exports=function(n,i){n.super_=i,n.prototype=Object.create(i.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(n,i){n.super_=i;var s=function(){};s.prototype=i.prototype,n.prototype=new s,n.prototype.constructor=n}},,,function(e,t,r){e.exports=typeof r<"u"},,function(e,t){var r=1e3,n=r*60,i=n*60,s=i*24,o=s*365.25;e.exports=function(l,h){h=h||{};var d=typeof l;if(d==="string"&&l.length>0)return a(l);if(d==="number"&&isNaN(l)===!1)return h.long?c(l):u(l);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(l))};function a(l){if(l=String(l),!(l.length>100)){var h=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(l);if(h){var d=parseFloat(h[1]),g=(h[2]||"ms").toLowerCase();switch(g){case"years":case"year":case"yrs":case"yr":case"y":return d*o;case"days":case"day":case"d":return d*s;case"hours":case"hour":case"hrs":case"hr":case"h":return d*i;case"minutes":case"minute":case"mins":case"min":case"m":return d*n;case"seconds":case"second":case"secs":case"sec":case"s":return d*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function u(l){return l>=s?Math.round(l/s)+"d":l>=i?Math.round(l/i)+"h":l>=n?Math.round(l/n)+"m":l>=r?Math.round(l/r)+"s":l+"ms"}function c(l){return f(l,s,"day")||f(l,i,"hour")||f(l,n,"minute")||f(l,r,"second")||l+" ms"}function f(l,h,d){if(!(l<h))return l<h*1.5?Math.floor(l/h)+" "+d:Math.ceil(l/h)+" "+d+"s"}},,,,function(e,t,r){e.exports=h,h.sync=_;var n=r(22),i=r(0),s=r(3),o=r(75),a=parseInt("666",8),u={nosort:!0,silent:!0},c=0,f=process.platform==="win32";function l(A){var R=["unlink","chmod","stat","lstat","rmdir","readdir"];R.forEach(function(b){A[b]=A[b]||s[b],b=b+"Sync",A[b]=A[b]||s[b]}),A.maxBusyTries=A.maxBusyTries||3,A.emfileWait=A.emfileWait||1e3,A.glob===!1&&(A.disableGlob=!0),A.disableGlob=A.disableGlob||!1,A.glob=A.glob||u}function h(A,R,b){typeof R=="function"&&(b=R,R={}),n(A,"rimraf: missing path"),n.equal(typeof A,"string","rimraf: path should be a string"),n.equal(typeof b,"function","rimraf: callback function required"),n(R,"rimraf: invalid options argument provided"),n.equal(typeof R,"object","rimraf: options should be object"),l(R);var O=0,T=null,x=0;if(R.disableGlob||!o.hasMagic(A))return m(null,[A]);R.lstat(A,function(E,C){if(!E)return m(null,[A]);o(A,R.glob,m)});function p(E){T=T||E,--x===0&&b(T)}function m(E,C){if(E)return b(E);if(x=C.length,x===0)return b();C.forEach(function(y){d(y,R,function v(P){if(P){if((P.code==="EBUSY"||P.code==="ENOTEMPTY"||P.code==="EPERM")&&O<R.maxBusyTries){O++;var I=O*100;return setTimeout(function(){d(y,R,v)},I)}if(P.code==="EMFILE"&&c<R.emfileWait)return setTimeout(function(){d(y,R,v)},c++);P.code==="ENOENT"&&(P=null)}c=0,p(P)})})}}function d(A,R,b){n(A),n(R),n(typeof b=="function"),R.lstat(A,function(O,T){if(O&&O.code==="ENOENT")return b(null);if(O&&O.code==="EPERM"&&f&&g(A,R,O,b),T&&T.isDirectory())return w(A,R,O,b);R.unlink(A,function(x){if(x){if(x.code==="ENOENT")return b(null);if(x.code==="EPERM")return f?g(A,R,x,b):w(A,R,x,b);if(x.code==="EISDIR")return w(A,R,x,b)}return b(x)})})}function g(A,R,b,O){n(A),n(R),n(typeof O=="function"),b&&n(b instanceof Error),R.chmod(A,a,function(T){T?O(T.code==="ENOENT"?null:b):R.stat(A,function(x,p){x?O(x.code==="ENOENT"?null:b):p.isDirectory()?w(A,R,b,O):R.unlink(A,O)})})}function S(A,R,b){n(A),n(R),b&&n(b instanceof Error);try{R.chmodSync(A,a)}catch(T){if(T.code==="ENOENT")return;throw b}try{var O=R.statSync(A)}catch(T){if(T.code==="ENOENT")return;throw b}O.isDirectory()?N(A,R,b):R.unlinkSync(A)}function w(A,R,b,O){n(A),n(R),b&&n(b instanceof Error),n(typeof O=="function"),R.rmdir(A,function(T){T&&(T.code==="ENOTEMPTY"||T.code==="EEXIST"||T.code==="EPERM")?k(A,R,O):T&&T.code==="ENOTDIR"?O(b):O(T)})}function k(A,R,b){n(A),n(R),n(typeof b=="function"),R.readdir(A,function(O,T){if(O)return b(O);var x=T.length;if(x===0)return R.rmdir(A,b);var p;T.forEach(function(m){h(i.join(A,m),R,function(E){if(!p){if(E)return b(p=E);--x===0&&R.rmdir(A,b)}})})})}function _(A,R){R=R||{},l(R),n(A,"rimraf: missing path"),n.equal(typeof A,"string","rimraf: path should be a string"),n(R,"rimraf: missing options"),n.equal(typeof R,"object","rimraf: options should be object");var b;if(R.disableGlob||!o.hasMagic(A))b=[A];else try{R.lstatSync(A),b=[A]}catch{b=o.sync(A,R.glob)}if(b.length)for(var O=0;O<b.length;O++){var A=b[O];try{var T=R.lstatSync(A)}catch(p){if(p.code==="ENOENT")return;p.code==="EPERM"&&f&&S(A,R,p)}try{T&&T.isDirectory()?N(A,R,null):R.unlinkSync(A)}catch(p){if(p.code==="ENOENT")return;if(p.code==="EPERM")return f?S(A,R,p):N(A,R,p);if(p.code!=="EISDIR")throw p;N(A,R,p)}}}function N(A,R,b){n(A),n(R),b&&n(b instanceof Error);try{R.rmdirSync(A)}catch(O){if(O.code==="ENOENT")return;if(O.code==="ENOTDIR")throw b;(O.code==="ENOTEMPTY"||O.code==="EEXIST"||O.code==="EPERM")&&D(A,R)}}function D(A,R){n(A),n(R),R.readdirSync(A).forEach(function(p){_(i.join(A,p),R)});var b=f?100:1,O=0;do{var T=!0;try{var x=R.rmdirSync(A,R);return T=!1,x}finally{if(++O<b&&T)continue}}while(!0)}},,,,,,function(e,t,r){"use strict";var n=r(221),i=function(o){return o===0?!1:{level:o,hasBasic:!0,has256:o>=2,has16m:o>=3}},s=function(){return n("no-color")||n("no-colors")||n("color=false")?0:n("color=16m")||n("color=full")||n("color=truecolor")?3:n("color=256")?2:n("color")||n("colors")||n("color=true")||n("color=always")?1:process.stdout&&!process.stdout.isTTY?0:process.platform==="win32"?1:"CI"in process.env?"TRAVIS"in process.env||process.env.CI==="Travis"?1:0:"TEAMCITY_VERSION"in process.env?process.env.TEAMCITY_VERSION.match(/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/)===null?0:1:/^(screen|xterm)-256(?:color)?/.test(process.env.TERM)?2:/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)||"COLORTERM"in process.env?1:(process.env.TERM==="dumb",0)}();s===0&&"FORCE_COLOR"in process.env&&(s=1),e.exports=process&&i(s)}])});var By=F(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.queryLockFile=void 0;var eT=Xi();function tT(e,t,r){let n=(0,eT.nameAtVersion)(e,t);return r.object[n]}zo.queryLockFile=tT});var My=F($y=>{"use strict";Object.defineProperty($y,"__esModule",{value:!0})});var Gy=F(Ne=>{"use strict";var qy=Ne&&Ne.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),rT=Ne&&Ne.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),nT=Ne&&Ne.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&qy(t,e,r);return rT(t,e),t},iT=Ne&&Ne.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&qy(t,e,r)},Hy=Ne&&Ne.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ne,"__esModule",{value:!0});Ne.queryLockFile=Ne.nameAtVersion=Ne.parseLockFile=void 0;var ql=Hy(Cn()),jy=Hy(M("fs")),sT=Xi();Object.defineProperty(Ne,"nameAtVersion",{enumerable:!0,get:function(){return sT.nameAtVersion}});var oT=Ty(),aT=Iy(),uT=Sl(),$t={};async function cT(e){let t=await(0,ql.default)(["yarn.lock","common/config/rush/yarn.lock"],{cwd:e});if(t){if($t[t])return $t[t];let i=(await Promise.resolve().then(()=>nT(Ny()))).parse,s=jy.default.readFileSync(t,"utf-8"),o=i(s);return $t[t]=o,o}let r=await(0,ql.default)(["pnpm-lock.yaml","common/config/rush/pnpm-lock.yaml"],{cwd:e});if(r){if($t[r])return $t[r];let i=(0,uT.readYaml)(r),s=(0,oT.parsePnpmLock)(i);return $t[r]=s,$t[r]}let n=await(0,ql.default)(["package-lock.json"],{cwd:e});if(n){if($t[n])return $t[n];let i;try{i=jy.default.readFileSync(n,"utf-8")}catch{throw new Error("Couldn\u2019t parse package-lock.json.")}let s=JSON.parse(i.toString());if(!s?.lockfileVersion||s.lockfileVersion<2)throw new Error(`Your package-lock.json version is not supported: lockfileVersion is ${s.lockfileVersion}. You need npm version 7 or above and package-lock version 2 or above. Please, upgrade npm or choose a different package manager.`);return $t[n]=(0,aT.parseNpmLock)(s),$t[n]}throw new Error("You do not have yarn.lock, pnpm-lock.yaml or package-lock.json. Please use one of these package managers.")}Ne.parseLockFile=cT;var lT=By();Object.defineProperty(Ne,"queryLockFile",{enumerable:!0,get:function(){return lT.queryLockFile}});iT(My(),Ne)});var Wy=F(Qn=>{"use strict";var fT=Qn&&Qn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Qn,"__esModule",{value:!0});Qn.getScopedPackages=void 0;var Uy=fT(Ri());function hT(e,t){let r=Array.isArray(t)?t:Object.keys(t),n=new Set,i=e.filter(o=>o.startsWith("@")||o.startsWith("!@"));if(i.length>0){let o=(0,Uy.default)(r,i);for(let a of o)n.add(a)}let s=e.filter(o=>!o.startsWith("@")&&!o.startsWith("!@"));if(s.length>0){let o=dT(r),a=(0,Uy.default)(Object.keys(o),s);for(let u of a)for(let c of o[u])n.add(c)}return[...n]}Qn.getScopedPackages=hT;function dT(e){let t={};for(let r of e){let n=r.replace(/^@[^/]+\//,"");t[n]=t[n]||[],t[n].push(r)}return t}});var zy=F(Yy=>{"use strict";Object.defineProperty(Yy,"__esModule",{value:!0})});var Ky=F(Vy=>{"use strict";Object.defineProperty(Vy,"__esModule",{value:!0})});var Qy=F(Xy=>{"use strict";Object.defineProperty(Xy,"__esModule",{value:!0})});var Jy=F(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.findWorkspacePath=void 0;function pT(e,t){let r=e.find(({name:n})=>n===t);if(r)return r.path}Vo.findWorkspacePath=pT});var Hl=F(Jn=>{"use strict";var Zy=Jn&&Jn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Jn,"__esModule",{value:!0});Jn.getPackagesByFiles=void 0;var gT=Zy(Ri()),mT=Zy(M("path")),yT=No();function vT(e,t,r=[],n=!1){let i=(0,yT.getWorkspaces)(e),s=new Set((0,gT.default)(t,r));t=t.filter(a=>!s.has(a));let o=new Set;for(let a of t){let u=i.filter(c=>a.indexOf(mT.default.relative(e,c.path).replace(/\\/g,"/"))===0);if(u&&u.length>0){let c=u.reduce((f,l)=>f.path.length>l.path.length?f:l,u[0]);o.add(c.name)}else if(n)return i.map(c=>c.name)}return[...o]}Jn.getPackagesByFiles=vT});var tv=F(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.getChangedPackages=Zn.getChangedPackagesBetweenRefs=void 0;var or=jo(),ev=Hl();function ET(e,t,r="",n=[]){let i=[...new Set([...(0,or.getUntrackedChanges)(e)||[],...(0,or.getUnstagedChanges)(e)||[],...(0,or.getChangesBetweenRefs)(t,r,[],"",e)||[],...(0,or.getStagedChanges)(e)||[]])];return(0,ev.getPackagesByFiles)(e,i,n,!0)}Zn.getChangedPackagesBetweenRefs=ET;function AT(e,t,r=[]){let n=t||(0,or.getDefaultRemoteBranch)({cwd:e}),i=[...new Set([...(0,or.getUntrackedChanges)(e)||[],...(0,or.getUnstagedChanges)(e)||[],...(0,or.getBranchChanges)(n,e)||[],...(0,or.getStagedChanges)(e)||[]])];return(0,ev.getPackagesByFiles)(e,i,r,!0)}Zn.getChangedPackages=AT});var rv=F(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.listOfWorkspacePackageNames=void 0;function ST(e){return e.map(({name:t})=>t)}Ko.listOfWorkspacePackageNames=ST});var nv=F(Ce=>{"use strict";var wT=Ce&&Ce.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Ie=Ce&&Ce.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&wT(t,e,r)};Object.defineProperty(Ce,"__esModule",{value:!0});Ie(Dh(),Ce);Ie(ny(),Ce);Ie(jo(),Ce);Ie(Dy(),Ce);Ie(Gy(),Ce);Ie(Il(),Ce);Ie(Wy(),Ce);Ie(zy(),Ce);Ie(Ky(),Ce);Ie(Qy(),Ce);Ie(Jy(),Ce);Ie(No(),Ce);Ie(Tl(),Ce);Ie(Oo(),Ce);Ie(To(),Ce);Ie(vo(),Ce);Ie(tv(),Ce);Ie(Hl(),Ce);Ie(rv(),Ce);Ie(Pl(),Ce)});var mE=F((D9,gE)=>{var{dirname:V2,resolve:K2}=M("path");gE.exports=function*(e){for(e=K2(e);e;){yield e;let t=V2(e);t===e?e=null:e=t}}});var SE=F((T9,AE)=>{var{hasOwnProperty:sf}=Object.prototype,ia=typeof process<"u"&&process.platform==="win32"?`\r
75
+ `+b),p.push(x+"m+"+t.humanize(this.diff)+"\x1B[0m")}else p[0]=c()+d+" "+p[0]}function c(){return t.inspectOpts.hideDate?"":new Date().toISOString()+" "}function u(){return process.stderr.write(i.format.apply(i,arguments)+`
76
+ `)}function f(p){p==null?delete process.env.DEBUG:process.env.DEBUG=p}function l(){return process.env.DEBUG}function h(p){p.inspectOpts={};for(var d=Object.keys(t.inspectOpts),g=0;g<d.length;g++)p.inspectOpts[d[g]]=t.inspectOpts[d[g]]}t.enable(l())},,,,function(e,t,r){var n=r(0),i=process.platform==="win32",s=r(3),o=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function a(){var h;if(o){var p=new Error;h=d}else h=g;return h;function d(E){E&&(p.message=E.message,E=p,g(E))}function g(E){if(E){if(process.throwDeprecation)throw E;if(!process.noDeprecation){var x="fs: missing callback "+(E.stack||E.message);process.traceDeprecation?console.trace(x):console.error(x)}}}}function c(h){return typeof h=="function"?h:a()}var u=n.normalize;if(i)var f=/(.*?)(?:[\/\\]+|$)/g;else var f=/(.*?)(?:[\/]+|$)/g;if(i)var l=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else var l=/^[\/]*/;t.realpathSync=function(p,d){if(p=n.resolve(p),d&&Object.prototype.hasOwnProperty.call(d,p))return d[p];var g=p,E={},x={},b,L,F,A;R();function R(){var y=l.exec(p);b=y[0].length,L=y[0],F=y[0],A="",i&&!x[F]&&(s.lstatSync(F),x[F]=!0)}for(;b<p.length;){f.lastIndex=b;var D=f.exec(p);if(A=L,L+=D[0],F=A+D[1],b=f.lastIndex,!(x[F]||d&&d[F]===F)){var P;if(d&&Object.prototype.hasOwnProperty.call(d,F))P=d[F];else{var N=s.lstatSync(F);if(!N.isSymbolicLink()){x[F]=!0,d&&(d[F]=F);continue}var O=null;if(!i){var m=N.dev.toString(32)+":"+N.ino.toString(32);E.hasOwnProperty(m)&&(O=E[m])}O===null&&(s.statSync(F),O=s.readlinkSync(F)),P=n.resolve(A,O),d&&(d[F]=P),i||(E[m]=O)}p=n.resolve(P,p.slice(b)),R()}}return d&&(d[g]=p),p},t.realpath=function(p,d,g){if(typeof g!="function"&&(g=c(d),d=null),p=n.resolve(p),d&&Object.prototype.hasOwnProperty.call(d,p))return process.nextTick(g.bind(null,null,d[p]));var E=p,x={},b={},L,F,A,R;D();function D(){var y=l.exec(p);L=y[0].length,F=y[0],A=y[0],R="",i&&!b[A]?s.lstat(A,function(w){if(w)return g(w);b[A]=!0,P()}):process.nextTick(P)}function P(){if(L>=p.length)return d&&(d[E]=p),g(null,p);f.lastIndex=L;var y=f.exec(p);return R=F,F+=y[0],A=R+y[1],L=f.lastIndex,b[A]||d&&d[A]===A?process.nextTick(P):d&&Object.prototype.hasOwnProperty.call(d,A)?m(d[A]):s.lstat(A,N)}function N(y,w){if(y)return g(y);if(!w.isSymbolicLink())return b[A]=!0,d&&(d[A]=A),process.nextTick(P);if(!i){var C=w.dev.toString(32)+":"+w.ino.toString(32);if(x.hasOwnProperty(C))return O(null,x[C],A)}s.stat(A,function(v){if(v)return g(v);s.readlink(A,function(S,T){i||(x[C]=T),O(S,T)})})}function O(y,w,C){if(y)return g(y);var v=n.resolve(R,w);d&&(d[C]=v),m(v)}function m(y){p=n.resolve(y,p.slice(L)),D()}}},function(e,t,r){e.exports=L,L.GlobSync=F;var n=r(3),i=r(114),s=r(60),o=s.Minimatch,a=r(75).Glob,c=r(2),u=r(0),f=r(22),l=r(76),h=r(115),p=h.alphasort,d=h.alphasorti,g=h.setopts,E=h.ownProp,x=h.childrenIgnored,b=h.isIgnored;function L(A,R){if(typeof R=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
77
+ See: https://github.com/isaacs/node-glob/issues/167`);return new F(A,R).found}function F(A,R){if(!A)throw new Error("must provide pattern");if(typeof R=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
78
+ See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof F))return new F(A,R);if(g(this,A,R),this.noprocess)return this;var D=this.minimatch.set.length;this.matches=new Array(D);for(var P=0;P<D;P++)this._process(this.minimatch.set[P],P,!1);this._finish()}F.prototype._finish=function(){if(f(this instanceof F),this.realpath){var A=this;this.matches.forEach(function(R,D){var P=A.matches[D]=Object.create(null);for(var N in R)try{N=A._makeAbs(N);var O=i.realpathSync(N,A.realpathCache);P[O]=!0}catch(m){if(m.syscall==="stat")P[A._makeAbs(N)]=!0;else throw m}})}h.finish(this)},F.prototype._process=function(A,R,D){f(this instanceof F);for(var P=0;typeof A[P]=="string";)P++;var N;switch(P){case A.length:this._processSimple(A.join("/"),R);return;case 0:N=null;break;default:N=A.slice(0,P).join("/");break}var O=A.slice(P),m;N===null?m=".":((l(N)||l(A.join("/")))&&(!N||!l(N))&&(N="/"+N),m=N);var y=this._makeAbs(m);if(!x(this,m)){var w=O[0]===s.GLOBSTAR;w?this._processGlobStar(N,m,y,O,R,D):this._processReaddir(N,m,y,O,R,D)}},F.prototype._processReaddir=function(A,R,D,P,N,O){var m=this._readdir(D,O);if(m){for(var y=P[0],w=!!this.minimatch.negate,C=y._glob,v=this.dot||C.charAt(0)===".",S=[],T=0;T<m.length;T++){var k=m[T];if(k.charAt(0)!=="."||v){var I;w&&!A?I=!k.match(y):I=k.match(y),I&&S.push(k)}}var B=S.length;if(B!==0){if(P.length===1&&!this.mark&&!this.stat){this.matches[N]||(this.matches[N]=Object.create(null));for(var T=0;T<B;T++){var k=S[T];A&&(A.slice(-1)!=="/"?k=A+"/"+k:k=A+k),k.charAt(0)==="/"&&!this.nomount&&(k=u.join(this.root,k)),this._emitMatch(N,k)}return}P.shift();for(var T=0;T<B;T++){var k=S[T],G;A?G=[A,k]:G=[k],this._process(G.concat(P),N,O)}}}},F.prototype._emitMatch=function(A,R){if(!b(this,R)){var D=this._makeAbs(R);if(this.mark&&(R=this._mark(R)),this.absolute&&(R=D),!this.matches[A][R]){if(this.nodir){var P=this.cache[D];if(P==="DIR"||Array.isArray(P))return}this.matches[A][R]=!0,this.stat&&this._stat(R)}}},F.prototype._readdirInGlobStar=function(A){if(this.follow)return this._readdir(A,!1);var R,D,P;try{D=n.lstatSync(A)}catch(O){if(O.code==="ENOENT")return null}var N=D&&D.isSymbolicLink();return this.symlinks[A]=N,!N&&D&&!D.isDirectory()?this.cache[A]="FILE":R=this._readdir(A,!1),R},F.prototype._readdir=function(A,R){var D;if(R&&!E(this.symlinks,A))return this._readdirInGlobStar(A);if(E(this.cache,A)){var P=this.cache[A];if(!P||P==="FILE")return null;if(Array.isArray(P))return P}try{return this._readdirEntries(A,n.readdirSync(A))}catch(N){return this._readdirError(A,N),null}},F.prototype._readdirEntries=function(A,R){if(!this.mark&&!this.stat)for(var D=0;D<R.length;D++){var P=R[D];A==="/"?P=A+P:P=A+"/"+P,this.cache[P]=!0}return this.cache[A]=R,R},F.prototype._readdirError=function(A,R){switch(R.code){case"ENOTSUP":case"ENOTDIR":var D=this._makeAbs(A);if(this.cache[D]="FILE",D===this.cwdAbs){var P=new Error(R.code+" invalid cwd "+this.cwd);throw P.path=this.cwd,P.code=R.code,P}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(A)]=!1;break;default:if(this.cache[this._makeAbs(A)]=!1,this.strict)throw R;this.silent||console.error("glob error",R);break}},F.prototype._processGlobStar=function(A,R,D,P,N,O){var m=this._readdir(D,O);if(m){var y=P.slice(1),w=A?[A]:[],C=w.concat(y);this._process(C,N,!1);var v=m.length,S=this.symlinks[D];if(!(S&&O))for(var T=0;T<v;T++){var k=m[T];if(!(k.charAt(0)==="."&&!this.dot)){var I=w.concat(m[T],y);this._process(I,N,!0);var B=w.concat(m[T],P);this._process(B,N,!0)}}}},F.prototype._processSimple=function(A,R){var D=this._stat(A);if(this.matches[R]||(this.matches[R]=Object.create(null)),!!D){if(A&&l(A)&&!this.nomount){var P=/[\/\\]$/.test(A);A.charAt(0)==="/"?A=u.join(this.root,A):(A=u.resolve(this.root,A),P&&(A+="/"))}process.platform==="win32"&&(A=A.replace(/\\/g,"/")),this._emitMatch(R,A)}},F.prototype._stat=function(A){var R=this._makeAbs(A),D=A.slice(-1)==="/";if(A.length>this.maxLength)return!1;if(!this.stat&&E(this.cache,R)){var m=this.cache[R];if(Array.isArray(m)&&(m="DIR"),!D||m==="DIR")return m;if(D&&m==="FILE")return!1}var P,N=this.statCache[R];if(!N){var O;try{O=n.lstatSync(R)}catch(y){if(y&&(y.code==="ENOENT"||y.code==="ENOTDIR"))return this.statCache[R]=!1,!1}if(O&&O.isSymbolicLink())try{N=n.statSync(R)}catch{N=O}else N=O}this.statCache[R]=N;var m=!0;return N&&(m=N.isDirectory()?"DIR":"FILE"),this.cache[R]=this.cache[R]||m,D&&m==="FILE"?!1:m},F.prototype._mark=function(A){return h.mark(this,A)},F.prototype._makeAbs=function(A){return h.makeAbs(this,A)}},,,function(e,t,r){"use strict";e.exports=function(n,i){i=i||process.argv;var s=i.indexOf("--"),o=/^--/.test(n)?"":"--",a=i.indexOf(o+n);return a!==-1&&(s!==-1?a<s:!0)}},,function(e,t,r){var n=r(123),i=Object.create(null),s=r(61);e.exports=n(o);function o(u,f){return i[u]?(i[u].push(f),null):(i[u]=[f],a(u))}function a(u){return s(function f(){var l=i[u],h=l.length,p=c(arguments);try{for(var d=0;d<h;d++)l[d].apply(null,p)}finally{l.length>h?(l.splice(0,h),process.nextTick(function(){f.apply(null,p)})):delete i[u]}})}function c(u){for(var f=u.length,l=[],h=0;h<f;h++)l[h]=u[h];return l}},function(e,t){typeof Object.create=="function"?e.exports=function(n,i){n.super_=i,n.prototype=Object.create(i.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(n,i){n.super_=i;var s=function(){};s.prototype=i.prototype,n.prototype=new s,n.prototype.constructor=n}},,,function(e,t,r){e.exports=typeof r<"u"},,function(e,t){var r=1e3,n=r*60,i=n*60,s=i*24,o=s*365.25;e.exports=function(l,h){h=h||{};var p=typeof l;if(p==="string"&&l.length>0)return a(l);if(p==="number"&&isNaN(l)===!1)return h.long?u(l):c(l);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(l))};function a(l){if(l=String(l),!(l.length>100)){var h=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(l);if(h){var p=parseFloat(h[1]),d=(h[2]||"ms").toLowerCase();switch(d){case"years":case"year":case"yrs":case"yr":case"y":return p*o;case"days":case"day":case"d":return p*s;case"hours":case"hour":case"hrs":case"hr":case"h":return p*i;case"minutes":case"minute":case"mins":case"min":case"m":return p*n;case"seconds":case"second":case"secs":case"sec":case"s":return p*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return}}}}function c(l){return l>=s?Math.round(l/s)+"d":l>=i?Math.round(l/i)+"h":l>=n?Math.round(l/n)+"m":l>=r?Math.round(l/r)+"s":l+"ms"}function u(l){return f(l,s,"day")||f(l,i,"hour")||f(l,n,"minute")||f(l,r,"second")||l+" ms"}function f(l,h,p){if(!(l<h))return l<h*1.5?Math.floor(l/h)+" "+p:Math.ceil(l/h)+" "+p+"s"}},,,,function(e,t,r){e.exports=h,h.sync=b;var n=r(22),i=r(0),s=r(3),o=r(75),a=parseInt("666",8),c={nosort:!0,silent:!0},u=0,f=process.platform==="win32";function l(A){var R=["unlink","chmod","stat","lstat","rmdir","readdir"];R.forEach(function(D){A[D]=A[D]||s[D],D=D+"Sync",A[D]=A[D]||s[D]}),A.maxBusyTries=A.maxBusyTries||3,A.emfileWait=A.emfileWait||1e3,A.glob===!1&&(A.disableGlob=!0),A.disableGlob=A.disableGlob||!1,A.glob=A.glob||c}function h(A,R,D){typeof R=="function"&&(D=R,R={}),n(A,"rimraf: missing path"),n.equal(typeof A,"string","rimraf: path should be a string"),n.equal(typeof D,"function","rimraf: callback function required"),n(R,"rimraf: invalid options argument provided"),n.equal(typeof R,"object","rimraf: options should be object"),l(R);var P=0,N=null,O=0;if(R.disableGlob||!o.hasMagic(A))return y(null,[A]);R.lstat(A,function(w,C){if(!w)return y(null,[A]);o(A,R.glob,y)});function m(w){N=N||w,--O===0&&D(N)}function y(w,C){if(w)return D(w);if(O=C.length,O===0)return D();C.forEach(function(v){p(v,R,function S(T){if(T){if((T.code==="EBUSY"||T.code==="ENOTEMPTY"||T.code==="EPERM")&&P<R.maxBusyTries){P++;var k=P*100;return setTimeout(function(){p(v,R,S)},k)}if(T.code==="EMFILE"&&u<R.emfileWait)return setTimeout(function(){p(v,R,S)},u++);T.code==="ENOENT"&&(T=null)}u=0,m(T)})})}}function p(A,R,D){n(A),n(R),n(typeof D=="function"),R.lstat(A,function(P,N){if(P&&P.code==="ENOENT")return D(null);if(P&&P.code==="EPERM"&&f&&d(A,R,P,D),N&&N.isDirectory())return E(A,R,P,D);R.unlink(A,function(O){if(O){if(O.code==="ENOENT")return D(null);if(O.code==="EPERM")return f?d(A,R,O,D):E(A,R,O,D);if(O.code==="EISDIR")return E(A,R,O,D)}return D(O)})})}function d(A,R,D,P){n(A),n(R),n(typeof P=="function"),D&&n(D instanceof Error),R.chmod(A,a,function(N){N?P(N.code==="ENOENT"?null:D):R.stat(A,function(O,m){O?P(O.code==="ENOENT"?null:D):m.isDirectory()?E(A,R,D,P):R.unlink(A,P)})})}function g(A,R,D){n(A),n(R),D&&n(D instanceof Error);try{R.chmodSync(A,a)}catch(N){if(N.code==="ENOENT")return;throw D}try{var P=R.statSync(A)}catch(N){if(N.code==="ENOENT")return;throw D}P.isDirectory()?L(A,R,D):R.unlinkSync(A)}function E(A,R,D,P){n(A),n(R),D&&n(D instanceof Error),n(typeof P=="function"),R.rmdir(A,function(N){N&&(N.code==="ENOTEMPTY"||N.code==="EEXIST"||N.code==="EPERM")?x(A,R,P):N&&N.code==="ENOTDIR"?P(D):P(N)})}function x(A,R,D){n(A),n(R),n(typeof D=="function"),R.readdir(A,function(P,N){if(P)return D(P);var O=N.length;if(O===0)return R.rmdir(A,D);var m;N.forEach(function(y){h(i.join(A,y),R,function(w){if(!m){if(w)return D(m=w);--O===0&&R.rmdir(A,D)}})})})}function b(A,R){R=R||{},l(R),n(A,"rimraf: missing path"),n.equal(typeof A,"string","rimraf: path should be a string"),n(R,"rimraf: missing options"),n.equal(typeof R,"object","rimraf: options should be object");var D;if(R.disableGlob||!o.hasMagic(A))D=[A];else try{R.lstatSync(A),D=[A]}catch{D=o.sync(A,R.glob)}if(D.length)for(var P=0;P<D.length;P++){var A=D[P];try{var N=R.lstatSync(A)}catch(m){if(m.code==="ENOENT")return;m.code==="EPERM"&&f&&g(A,R,m)}try{N&&N.isDirectory()?L(A,R,null):R.unlinkSync(A)}catch(m){if(m.code==="ENOENT")return;if(m.code==="EPERM")return f?g(A,R,m):L(A,R,m);if(m.code!=="EISDIR")throw m;L(A,R,m)}}}function L(A,R,D){n(A),n(R),D&&n(D instanceof Error);try{R.rmdirSync(A)}catch(P){if(P.code==="ENOENT")return;if(P.code==="ENOTDIR")throw D;(P.code==="ENOTEMPTY"||P.code==="EEXIST"||P.code==="EPERM")&&F(A,R)}}function F(A,R){n(A),n(R),R.readdirSync(A).forEach(function(m){b(i.join(A,m),R)});var D=f?100:1,P=0;do{var N=!0;try{var O=R.rmdirSync(A,R);return N=!1,O}finally{if(++P<D&&N)continue}}while(!0)}},,,,,,function(e,t,r){"use strict";var n=r(221),i=function(o){return o===0?!1:{level:o,hasBasic:!0,has256:o>=2,has16m:o>=3}},s=function(){return n("no-color")||n("no-colors")||n("color=false")?0:n("color=16m")||n("color=full")||n("color=truecolor")?3:n("color=256")?2:n("color")||n("colors")||n("color=true")||n("color=always")?1:process.stdout&&!process.stdout.isTTY?0:process.platform==="win32"?1:"CI"in process.env?"TRAVIS"in process.env||process.env.CI==="Travis"?1:0:"TEAMCITY_VERSION"in process.env?process.env.TEAMCITY_VERSION.match(/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/)===null?0:1:/^(screen|xterm)-256(?:color)?/.test(process.env.TERM)?2:/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)||"COLORTERM"in process.env?1:(process.env.TERM==="dumb",0)}();s===0&&"FORCE_COLOR"in process.env&&(s=1),e.exports=process&&i(s)}])});var ZE=_(Ga=>{"use strict";Object.defineProperty(Ga,"__esModule",{value:!0});Ga.queryLockFile=void 0;var O2=As();function _2(e,t,r){let n=(0,O2.nameAtVersion)(e,t);return r.object[n]}Ga.queryLockFile=_2});var tA=_(eA=>{"use strict";Object.defineProperty(eA,"__esModule",{value:!0})});var sA=_(Ge=>{"use strict";var nA=Ge&&Ge.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),P2=Ge&&Ge.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),R2=Ge&&Ge.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&nA(t,e,r);return P2(t,e),t},D2=Ge&&Ge.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&nA(t,e,r)},iA=Ge&&Ge.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ge,"__esModule",{value:!0});Ge.queryLockFile=Ge.nameAtVersion=Ge.parseLockFile=void 0;var wh=iA(zn()),rA=iA(M("fs")),F2=As();Object.defineProperty(Ge,"nameAtVersion",{enumerable:!0,get:function(){return F2.nameAtVersion}});var L2=KE(),T2=XE(),k2=th(),Zt={};async function N2(e){let t=await(0,wh.default)(["yarn.lock","common/config/rush/yarn.lock"],{cwd:e});if(t){if(Zt[t])return Zt[t];let i=(await Promise.resolve().then(()=>R2(QE()))).parse,s=rA.default.readFileSync(t,"utf-8"),o=i(s);return Zt[t]=o,o}let r=await(0,wh.default)(["pnpm-lock.yaml","common/config/rush/pnpm-lock.yaml"],{cwd:e});if(r){if(Zt[r])return Zt[r];let i=(0,k2.readYaml)(r),s=(0,L2.parsePnpmLock)(i);return Zt[r]=s,Zt[r]}let n=await(0,wh.default)(["package-lock.json"],{cwd:e});if(n){if(Zt[n])return Zt[n];let i;try{i=rA.default.readFileSync(n,"utf-8")}catch{throw new Error("Couldn\u2019t parse package-lock.json.")}let s=JSON.parse(i.toString());if(!s?.lockfileVersion||s.lockfileVersion<2)throw new Error(`Your package-lock.json version is not supported: lockfileVersion is ${s.lockfileVersion}. You need npm version 7 or above and package-lock version 2 or above. Please, upgrade npm or choose a different package manager.`);return Zt[n]=(0,T2.parseNpmLock)(s),Zt[n]}throw new Error("You do not have yarn.lock, pnpm-lock.yaml or package-lock.json. Please use one of these package managers.")}Ge.parseLockFile=N2;var I2=ZE();Object.defineProperty(Ge,"queryLockFile",{enumerable:!0,get:function(){return I2.queryLockFile}});D2(tA(),Ge)});var aA=_(Ai=>{"use strict";var $2=Ai&&Ai.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ai,"__esModule",{value:!0});Ai.getScopedPackages=void 0;var oA=$2(Qi());function B2(e,t){let r=Array.isArray(t)?t:Object.keys(t),n=new Set,i=e.filter(o=>o.startsWith("@")||o.startsWith("!@"));if(i.length>0){let o=(0,oA.default)(r,i);for(let a of o)n.add(a)}let s=e.filter(o=>!o.startsWith("@")&&!o.startsWith("!@"));if(s.length>0){let o=M2(r),a=(0,oA.default)(Object.keys(o),s);for(let c of a)for(let u of o[c])n.add(u)}return[...n]}Ai.getScopedPackages=B2;function M2(e){let t={};for(let r of e){let n=r.replace(/^@[^/]+\//,"");t[n]=t[n]||[],t[n].push(r)}return t}});var cA=_(uA=>{"use strict";Object.defineProperty(uA,"__esModule",{value:!0})});var fA=_(lA=>{"use strict";Object.defineProperty(lA,"__esModule",{value:!0})});var pA=_(hA=>{"use strict";Object.defineProperty(hA,"__esModule",{value:!0})});var dA=_(Ua=>{"use strict";Object.defineProperty(Ua,"__esModule",{value:!0});Ua.findWorkspacePath=void 0;function j2(e,t){let r=e.find(({name:n})=>n===t);if(r)return r.path}Ua.findWorkspacePath=j2});var Sh=_(wi=>{"use strict";var mA=wi&&wi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(wi,"__esModule",{value:!0});wi.getPackagesByFiles=void 0;var q2=mA(Qi()),G2=mA(M("path")),U2=Fa();function H2(e,t,r=[],n=!1){let i=(0,U2.getWorkspaces)(e),s=new Set((0,q2.default)(t,r));t=t.filter(a=>!s.has(a));let o=new Set;for(let a of t){let c=i.filter(u=>a.indexOf(G2.default.relative(e,u.path).replace(/\\/g,"/"))===0);if(c&&c.length>0){let u=c.reduce((f,l)=>f.path.length>l.path.length?f:l,c[0]);o.add(u.name)}else if(n)return i.map(u=>u.name)}return[...o]}wi.getPackagesByFiles=H2});var yA=_(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.getChangedPackages=Si.getChangedPackagesBetweenRefs=void 0;var Or=Na(),gA=Sh();function W2(e,t,r="",n=[]){let i=[...new Set([...(0,Or.getUntrackedChanges)(e)||[],...(0,Or.getUnstagedChanges)(e)||[],...(0,Or.getChangesBetweenRefs)(t,r,[],"",e)||[],...(0,Or.getStagedChanges)(e)||[]])];return(0,gA.getPackagesByFiles)(e,i,n,!0)}Si.getChangedPackagesBetweenRefs=W2;function z2(e,t,r=[]){let n=t||(0,Or.getDefaultRemoteBranch)({cwd:e}),i=[...new Set([...(0,Or.getUntrackedChanges)(e)||[],...(0,Or.getUnstagedChanges)(e)||[],...(0,Or.getBranchChanges)(n,e)||[],...(0,Or.getStagedChanges)(e)||[]])];return(0,gA.getPackagesByFiles)(e,i,r,!0)}Si.getChangedPackages=z2});var vA=_(Ha=>{"use strict";Object.defineProperty(Ha,"__esModule",{value:!0});Ha.listOfWorkspacePackageNames=void 0;function Y2(e){return e.map(({name:t})=>t)}Ha.listOfWorkspacePackageNames=Y2});var EA=_(Oe=>{"use strict";var V2=Oe&&Oe.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Me=Oe&&Oe.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&V2(t,e,r)};Object.defineProperty(Oe,"__esModule",{value:!0});Me(Vd(),Oe);Me(EE(),Oe);Me(Na(),Oe);Me(VE(),Oe);Me(sA(),Oe);Me(dh(),Oe);Me(aA(),Oe);Me(cA(),Oe);Me(fA(),Oe);Me(pA(),Oe);Me(dA(),Oe);Me(Fa(),Oe);Me(ph(),Oe);Me(Sa(),Oe);Me(Pa(),Oe);Me(pa(),Oe);Me(yA(),Oe);Me(Sh(),Oe);Me(vA(),Oe);Me(fh(),Oe)});var Fw=_(Za=>{"use strict";Object.defineProperty(Za,"__esModule",{value:!0});Za.walkUp=void 0;var Dw=M("path"),AM=function*(e){for(e=(0,Dw.resolve)(e);e;){yield e;let t=(0,Dw.dirname)(e);if(t===e)break;e=t}};Za.walkUp=AM});var qh=_((T5,Nw)=>{var{hasOwnProperty:Mh}=Object.prototype,jh=(e,t={})=>{typeof t=="string"&&(t={section:t}),t.align=t.align===!0,t.newline=t.newline===!0,t.sort=t.sort===!0,t.whitespace=t.whitespace===!0||t.align===!0,t.platform=t.platform||typeof process<"u"&&process.platform,t.bracketedArray=t.bracketedArray!==!1;let r=t.platform==="win32"?`\r
79
79
  `:`
80
- `,of=(e,t)=>{let r=[],n="";typeof t=="string"?t={section:t,whitespace:!1}:(t=t||Object.create(null),t.whitespace=t.whitespace===!0);let i=t.whitespace?" = ":"=";for(let s of Object.keys(e)){let o=e[s];if(o&&Array.isArray(o))for(let a of o)n+=oi(s+"[]")+i+oi(a)+ia;else o&&typeof o=="object"?r.push(s):n+=oi(s)+i+oi(o)+ia}t.section&&n.length&&(n="["+oi(t.section)+"]"+ia+n);for(let s of r){let o=vE(s).join("\\."),a=(t.section?t.section+".":"")+o,{whitespace:u}=t,c=of(e[s],{section:a,whitespace:u});n.length&&c.length&&(n+=ia),n+=c}return n},vE=e=>e.replace(/\1/g,"LITERAL\\1LITERAL").replace(/\\\./g,"").split(/\./).map(t=>t.replace(/\1/g,"\\.").replace(/\2LITERAL\\1LITERAL\2/g,"")),yE=e=>{let t=Object.create(null),r=t,n=null,i=/^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i,s=e.split(/[\r\n]+/g);for(let a of s){if(!a||a.match(/^\s*[;#]/))continue;let u=a.match(i);if(!u)continue;if(u[1]!==void 0){if(n=sa(u[1]),n==="__proto__"){r=Object.create(null);continue}r=t[n]=t[n]||Object.create(null);continue}let c=sa(u[2]),f=c.length>2&&c.slice(-2)==="[]",l=f?c.slice(0,-2):c;if(l==="__proto__")continue;let h=u[3]?sa(u[4]):!0,d=h==="true"||h==="false"||h==="null"?JSON.parse(h):h;f&&(sf.call(r,l)?Array.isArray(r[l])||(r[l]=[r[l]]):r[l]=[]),Array.isArray(r[l])?r[l].push(d):r[l]=d}let o=[];for(let a of Object.keys(t)){if(!sf.call(t,a)||typeof t[a]!="object"||Array.isArray(t[a]))continue;let u=vE(a);r=t;let c=u.pop(),f=c.replace(/\\\./g,".");for(let l of u)l!=="__proto__"&&((!sf.call(r,l)||typeof r[l]!="object")&&(r[l]=Object.create(null)),r=r[l]);r===t&&f===c||(r[f]=t[a],o.push(a))}for(let a of o)delete t[a];return t},EE=e=>e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"),oi=e=>typeof e!="string"||e.match(/[=\r\n]/)||e.match(/^\[/)||e.length>1&&EE(e)||e!==e.trim()?JSON.stringify(e):e.split(";").join("\\;").split("#").join("\\#"),sa=(e,t)=>{if(e=(e||"").trim(),EE(e)){e.charAt(0)==="'"&&(e=e.slice(1,-1));try{e=JSON.parse(e)}catch{}}else{let r=!1,n="";for(let i=0,s=e.length;i<s;i++){let o=e.charAt(i);if(r)"\\;#".indexOf(o)!==-1?n+=o:n+="\\"+o,r=!1;else{if(";#".indexOf(o)!==-1)break;o==="\\"?r=!0:n+=o}}return r&&(n+="\\"),n.trim()}return e};AE.exports={parse:yE,decode:yE,stringify:of,encode:of,safe:oi,unsafe:sa}});var _E=F((wE,CE)=>{CE.exports=wE=rs.abbrev=rs;rs.monkeyPatch=X2;function X2(){Object.defineProperty(Array.prototype,"abbrev",{value:function(){return rs(this)},enumerable:!1,configurable:!0,writable:!0}),Object.defineProperty(Object.prototype,"abbrev",{value:function(){return rs(Object.keys(this))},enumerable:!1,configurable:!0,writable:!0})}function rs(e){(arguments.length!==1||!Array.isArray(e))&&(e=Array.prototype.slice.call(arguments,0));for(var t=0,r=e.length,n=[];t<r;t++)n[t]=typeof e[t]=="string"?e[t]:String(e[t]);n=n.sort(Q2);for(var i={},s="",t=0,r=n.length;t<r;t++){var o=n[t],a=n[t+1]||"",u=!0,c=!0;if(o!==a){for(var f=0,l=o.length;f<l;f++){var h=o.charAt(f);if(u=u&&h===a.charAt(f),c=c&&h===s.charAt(f),!u&&!c){f++;break}}if(s=o,f===l){i[o]=o;continue}for(var d=o.substr(0,f);f<=l;f++)i[d]=o,d+=o.charAt(f)}}return i}function Q2(e,t){return e===t?0:e>t?1:-1}});var uf=F((ur,kE)=>{var Oe=process.env.DEBUG_NOPT||process.env.NOPT_DEBUG?function(){console.error.apply(console,arguments)}:function(){},bE=M("url"),af=M("path"),OE=M("stream").Stream,xE=_E(),J2=M("os");kE.exports=ur=Z2;ur.clean=RE;ur.typeDefs={String:{type:String,validate:eL},Boolean:{type:Boolean,validate:iL},url:{type:bE,validate:sL},Number:{type:Number,validate:rL},path:{type:af,validate:tL},Stream:{type:OE,validate:oL},Date:{type:Date,validate:nL}};function Z2(e,t,r,n){r=r||process.argv,e=e||{},t=t||{},typeof n!="number"&&(n=2),Oe(e,t,r,n),r=r.slice(n);var i={},s={remain:[],cooked:r,original:r.slice(0)};return aL(r,i,s.remain,e,t),RE(i,e,ur.typeDefs),i.argv=s,Object.defineProperty(i.argv,"toString",{value:function(){return this.original.map(JSON.stringify).join(" ")},enumerable:!1}),i}function RE(e,t,r){r=r||ur.typeDefs;var n={},i=[!1,!0,null,String,Array];Object.keys(e).forEach(function(s){if(s!=="argv"){var o=e[s],a=Array.isArray(o),u=t[s];a||(o=[o]),u||(u=i),u===Array&&(u=i.concat(Array)),Array.isArray(u)||(u=[u]),Oe("val=%j",o),Oe("types=",u),o=o.map(function(c){if(typeof c=="string"&&(Oe("string %j",c),c=c.trim(),c==="null"&&~u.indexOf(null)||c==="true"&&(~u.indexOf(!0)||~u.indexOf(Boolean))||c==="false"&&(~u.indexOf(!1)||~u.indexOf(Boolean))?(c=JSON.parse(c),Oe("jsonable %j",c)):~u.indexOf(Number)&&!isNaN(c)?(Oe("convert to number",c),c=+c):~u.indexOf(Date)&&!isNaN(Date.parse(c))&&(Oe("convert to date",c),c=new Date(c))),!Object.prototype.hasOwnProperty.call(t,s))return c;c===!1&&~u.indexOf(null)&&!(~u.indexOf(!1)||~u.indexOf(Boolean))&&(c=null);var f={};return f[s]=c,Oe("prevalidated val",f,c,t[s]),FE(f,s,c,t[s],r)?(Oe("validated v",f,c,t[s]),f[s]):(ur.invalidHandler?ur.invalidHandler(s,c,t[s],e):ur.invalidHandler!==!1&&Oe("invalid: "+s+"="+c,t[s]),n)}).filter(function(c){return c!==n}),!o.length&&u.indexOf(Array)===-1?(Oe("VAL HAS NO LENGTH, DELETE IT",o,s,u.indexOf(Array)),delete e[s]):a?(Oe(a,e[s],o),e[s]=o):e[s]=o[0],Oe("k=%s val=%j",s,o,e[s])}})}function eL(e,t,r){e[t]=String(r)}function tL(e,t,r){if(r===!0)return!1;if(r===null)return!0;r=String(r);var n=process.platform==="win32",i=n?/^~(\/|\\)/:/^~\//,s=J2.homedir();return s&&r.match(i)?e[t]=af.resolve(s,r.slice(2)):e[t]=af.resolve(r),!0}function rL(e,t,r){if(Oe("validate Number %j %j %j",t,r,isNaN(r)),isNaN(r))return!1;e[t]=+r}function nL(e,t,r){var n=Date.parse(r);if(Oe("validate Date %j %j %j",t,r,n),isNaN(n))return!1;e[t]=new Date(r)}function iL(e,t,r){r instanceof Boolean?r=r.valueOf():typeof r=="string"?isNaN(r)?r==="null"||r==="false"?r=!1:r=!0:r=!!+r:r=!!r,e[t]=r}function sL(e,t,r){if(r=bE.parse(String(r)),!r.host)return!1;e[t]=r.href}function oL(e,t,r){if(!(r instanceof OE))return!1;e[t]=r}function FE(e,t,r,n,i){if(Array.isArray(n)){for(let c=0,f=n.length;c<f;c++)if(n[c]!==Array&&FE(e,t,r,n[c],i))return!0;return delete e[t],!1}if(n===Array)return!0;if(n!==n)return Oe("Poison NaN",t,r,n),delete e[t],!1;if(r===n)return Oe("Explicitly allowed %j",r),e[t]=r,!0;var s=!1,o=Object.keys(i);for(let c=0,f=o.length;c<f;c++){Oe("test type %j %j %j",t,r,o[c]);var a=i[o[c]];if(a&&(n&&n.name&&a.type&&a.type.name?n.name===a.type.name:n===a.type)){var u={};if(s=a.validate(u,t,r)!==!1,r=u[t],s){e[t]=r;break}}}return Oe("OK? %j (%j %j %j)",s,t,r,o[o.length-1]),s||delete e[t],s}function aL(e,t,r,n,i){Oe("parse",e,t,r);for(var s=xE(Object.keys(n)),o=xE(Object.keys(i)),a=0;a<e.length;a++){var u=e[a];if(Oe("arg",u),u.match(/^-{2,}$/)){r.push.apply(r,e.slice(a+1)),e[a]="--";break}var c=!1;if(u.charAt(0)==="-"&&u.length>1){var f=u.indexOf("=");if(f>-1){c=!0;var l=u.slice(f+1);u=u.slice(0,f),e.splice(a,1,u,l)}var h=uL(u,i,o,s);if(Oe("arg=%j shRes=%j",u,h),h&&(Oe(u,h),e.splice.apply(e,[a,1].concat(h)),u!==h[0])){a--;continue}u=u.replace(/^-+/,"");for(var d=null;u.toLowerCase().indexOf("no-")===0;)d=!d,u=u.slice(3);s[u]&&(u=s[u]);var g=n[u],S=Array.isArray(g);S&&g.length===1&&(S=!1,g=g[0]);var w=g===Array||S&&g.indexOf(Array)!==-1;!Object.prototype.hasOwnProperty.call(n,u)&&Object.prototype.hasOwnProperty.call(t,u)&&(Array.isArray(t[u])||(t[u]=[t[u]]),w=!0);var k,_=e[a+1],N=typeof d=="boolean"||g===Boolean||S&&g.indexOf(Boolean)!==-1||typeof g>"u"&&!c||_==="false"&&(g===null||S&&~g.indexOf(null));if(N){k=!d,(_==="true"||_==="false")&&(k=JSON.parse(_),_=null,d&&(k=!k),a++),S&&_&&(~g.indexOf(_)?(k=_,a++):_==="null"&&~g.indexOf(null)?(k=null,a++):!_.match(/^-{2,}[^-]/)&&!isNaN(_)&&~g.indexOf(Number)?(k=+_,a++):!_.match(/^-[^-]/)&&~g.indexOf(String)&&(k=_,a++)),w?(t[u]=t[u]||[]).push(k):t[u]=k;continue}g===String&&(_===void 0?_="":_.match(/^-{1,2}[^-]+/)&&(_="",a--)),_&&_.match(/^-{2,}$/)&&(_=void 0,a--),k=_===void 0?!0:_,w?(t[u]=t[u]||[]).push(k):t[u]=k,a++;continue}r.push(u)}}function uL(e,t,r,n){if(e=e.replace(/^-+/,""),n[e]===e)return null;if(t[e])return t[e]&&!Array.isArray(t[e])&&(t[e]=t[e].split(/\s+/)),t[e];var i=t.___singles;i||(i=Object.keys(t).filter(function(o){return o.length===1}).reduce(function(o,a){return o[a]=!0,o},{}),t.___singles=i,Oe("shorthand singles",i));var s=e.split("").filter(function(o){return i[o]});return s.join("")===e?s.map(function(o){return t[o]}).reduce(function(o,a){return o.concat(a)},[]):n[e]&&!t[e]?null:(r[e]&&(e=r[e]),t[e]&&!Array.isArray(t[e])&&(t[e]=t[e].split(/\s+/)),t[e])}});var LE=F((I9,oa)=>{var cr=new Map,PE=M("fs"),{dirname:DE,resolve:cf}=M("path"),cL=e=>new Promise((t,r)=>PE.lstat(e,(n,i)=>n?r(n):t(i))),TE=e=>{if(e=cf(e),cr.has(e))return Promise.resolve(cr.get(e));let t=i=>{let{uid:s,gid:o}=i;return cr.set(e,{uid:s,gid:o}),{uid:s,gid:o}},r=DE(e),n=r===e?null:i=>TE(r).then(s=>(cr.set(e,s),s));return cL(e).then(t,n)},IE=e=>{if(e=cf(e),cr.has(e))return cr.get(e);let t=DE(e),r=!0;try{let n=PE.lstatSync(e);r=!1;let{uid:i,gid:s}=n;return cr.set(e,{uid:i,gid:s}),{uid:i,gid:s}}finally{if(r&&t!==e){let n=IE(t);return cr.set(e,n),n}}},ns=new Map;oa.exports=e=>{if(e=cf(e),ns.has(e))return Promise.resolve(ns.get(e));let t=TE(e).then(r=>(ns.delete(e),r));return ns.set(e,t),t};oa.exports.sync=IE;oa.exports.clearCache=()=>{cr.clear(),ns.clear()}});var $E=F((L9,BE)=>{var{promisify:NE}=M("util"),Nr=M("fs"),lL=e=>{if(!e)e={mode:511,fs:Nr};else if(typeof e=="object")e={mode:511,fs:Nr,...e};else if(typeof e=="number")e={mode:e,fs:Nr};else if(typeof e=="string")e={mode:parseInt(e,8),fs:Nr};else throw new TypeError("invalid options argument");return e.mkdir=e.mkdir||e.fs.mkdir||Nr.mkdir,e.mkdirAsync=NE(e.mkdir),e.stat=e.stat||e.fs.stat||Nr.stat,e.statAsync=NE(e.stat),e.statSync=e.statSync||e.fs.statSync||Nr.statSync,e.mkdirSync=e.mkdirSync||e.fs.mkdirSync||Nr.mkdirSync,e};BE.exports=lL});var jE=F((N9,ME)=>{var fL=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,{resolve:hL,parse:dL}=M("path"),pL=e=>{if(/\0/.test(e))throw Object.assign(new TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"});if(e=hL(e),fL==="win32"){let t=/[*|"<>?:]/,{root:r}=dL(e);if(t.test(e.substr(r.length)))throw Object.assign(new Error("Illegal characters in path."),{path:e,code:"EINVAL"})}return e};ME.exports=pL});var WE=F((B9,UE)=>{var{dirname:qE}=M("path"),HE=(e,t,r=void 0)=>r===t?Promise.resolve():e.statAsync(t).then(n=>n.isDirectory()?r:void 0,n=>n.code==="ENOENT"?HE(e,qE(t),t):void 0),GE=(e,t,r=void 0)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0}catch(n){return n.code==="ENOENT"?GE(e,qE(t),t):void 0}};UE.exports={findMade:HE,findMadeSync:GE}});var hf=F(($9,zE)=>{var{dirname:YE}=M("path"),lf=(e,t,r)=>{t.recursive=!1;let n=YE(e);return n===e?t.mkdirAsync(e,t).catch(i=>{if(i.code!=="EISDIR")throw i}):t.mkdirAsync(e,t).then(()=>r||e,i=>{if(i.code==="ENOENT")return lf(n,t).then(s=>lf(e,t,s));if(i.code!=="EEXIST"&&i.code!=="EROFS")throw i;return t.statAsync(e).then(s=>{if(s.isDirectory())return r;throw i},()=>{throw i})})},ff=(e,t,r)=>{let n=YE(e);if(t.recursive=!1,n===e)try{return t.mkdirSync(e,t)}catch(i){if(i.code!=="EISDIR")throw i;return}try{return t.mkdirSync(e,t),r||e}catch(i){if(i.code==="ENOENT")return ff(e,t,ff(n,t,r));if(i.code!=="EEXIST"&&i.code!=="EROFS")throw i;try{if(!t.statSync(e).isDirectory())throw i}catch{throw i}}};zE.exports={mkdirpManual:lf,mkdirpManualSync:ff}});var XE=F((M9,KE)=>{var{dirname:VE}=M("path"),{findMade:gL,findMadeSync:mL}=WE(),{mkdirpManual:yL,mkdirpManualSync:vL}=hf(),EL=(e,t)=>(t.recursive=!0,VE(e)===e?t.mkdirAsync(e,t):gL(t,e).then(n=>t.mkdirAsync(e,t).then(()=>n).catch(i=>{if(i.code==="ENOENT")return yL(e,t);throw i}))),AL=(e,t)=>{if(t.recursive=!0,VE(e)===e)return t.mkdirSync(e,t);let n=mL(t,e);try{return t.mkdirSync(e,t),n}catch(i){if(i.code==="ENOENT")return vL(e,t);throw i}};KE.exports={mkdirpNative:EL,mkdirpNativeSync:AL}});var eA=F((j9,ZE)=>{var QE=M("fs"),SL=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version,df=SL.replace(/^v/,"").split("."),JE=+df[0]>10||+df[0]==10&&+df[1]>=12,wL=JE?e=>e.mkdir===QE.mkdir:()=>!1,CL=JE?e=>e.mkdirSync===QE.mkdirSync:()=>!1;ZE.exports={useNative:wL,useNativeSync:CL}});var oA=F((q9,sA)=>{var ai=$E(),ui=jE(),{mkdirpNative:tA,mkdirpNativeSync:rA}=XE(),{mkdirpManual:nA,mkdirpManualSync:iA}=hf(),{useNative:_L,useNativeSync:xL}=eA(),ci=(e,t)=>(e=ui(e),t=ai(t),_L(t)?tA(e,t):nA(e,t)),bL=(e,t)=>(e=ui(e),t=ai(t),xL(t)?rA(e,t):iA(e,t));ci.sync=bL;ci.native=(e,t)=>tA(ui(e),ai(t));ci.manual=(e,t)=>nA(ui(e),ai(t));ci.nativeSync=(e,t)=>rA(ui(e),ai(t));ci.manualSync=(e,t)=>iA(ui(e),ai(t));sA.exports=ci});var dA=F((H9,hA)=>{"use strict";var xt=M("fs"),an=M("path"),OL=xt.lchown?"lchown":"chown",RL=xt.lchownSync?"lchownSync":"chownSync",uA=xt.lchown&&!process.version.match(/v1[1-9]+\./)&&!process.version.match(/v10\.[6-9]/),aA=(e,t,r)=>{try{return xt[RL](e,t,r)}catch(n){if(n.code!=="ENOENT")throw n}},FL=(e,t,r)=>{try{return xt.chownSync(e,t,r)}catch(n){if(n.code!=="ENOENT")throw n}},kL=uA?(e,t,r,n)=>i=>{!i||i.code!=="EISDIR"?n(i):xt.chown(e,t,r,n)}:(e,t,r,n)=>n,pf=uA?(e,t,r)=>{try{return aA(e,t,r)}catch(n){if(n.code!=="EISDIR")throw n;FL(e,t,r)}}:(e,t,r)=>aA(e,t,r),PL=process.version,cA=(e,t,r)=>xt.readdir(e,t,r),DL=(e,t)=>xt.readdirSync(e,t);/^v4\./.test(PL)&&(cA=(e,t,r)=>xt.readdir(e,r));var aa=(e,t,r,n)=>{xt[OL](e,t,r,kL(e,t,r,i=>{n(i&&i.code!=="ENOENT"?i:null)}))},lA=(e,t,r,n,i)=>{if(typeof t=="string")return xt.lstat(an.resolve(e,t),(s,o)=>{if(s)return i(s.code!=="ENOENT"?s:null);o.name=t,lA(e,o,r,n,i)});if(t.isDirectory())gf(an.resolve(e,t.name),r,n,s=>{if(s)return i(s);let o=an.resolve(e,t.name);aa(o,r,n,i)});else{let s=an.resolve(e,t.name);aa(s,r,n,i)}},gf=(e,t,r,n)=>{cA(e,{withFileTypes:!0},(i,s)=>{if(i){if(i.code==="ENOENT")return n();if(i.code!=="ENOTDIR"&&i.code!=="ENOTSUP")return n(i)}if(i||!s.length)return aa(e,t,r,n);let o=s.length,a=null,u=c=>{if(!a){if(c)return n(a=c);if(--o===0)return aa(e,t,r,n)}};s.forEach(c=>lA(e,c,t,r,u))})},TL=(e,t,r,n)=>{if(typeof t=="string")try{let i=xt.lstatSync(an.resolve(e,t));i.name=t,t=i}catch(i){if(i.code==="ENOENT")return;throw i}t.isDirectory()&&fA(an.resolve(e,t.name),r,n),pf(an.resolve(e,t.name),r,n)},fA=(e,t,r)=>{let n;try{n=DL(e,{withFileTypes:!0})}catch(i){if(i.code==="ENOENT")return;if(i.code==="ENOTDIR"||i.code==="ENOTSUP")return pf(e,t,r);throw i}return n&&n.length&&n.forEach(i=>TL(e,i,t,r)),pf(e,t,r)};hA.exports=gf;gf.sync=fA});var yA=F((G9,mf)=>{var pA=LE(),ua=oA(),{promisify:IL}=M("util"),gA=IL(dA()),LL=process.env.__TESTING_MKDIRP_INFER_OWNER_PLATFORM__||process.platform,NL=LL==="win32",BL=process.getuid&&process.getuid()===0,mA=!NL&&BL;mf.exports=mA?(e,t)=>pA(e).then(({uid:r,gid:n})=>ua(e,t).then(i=>r!==0||n!==process.getgid()?gA(i||e,r,n).then(()=>i):i)):(e,t)=>ua(e,t);mf.exports.sync=mA?(e,t)=>{let{uid:r,gid:n}=pA.sync(e),i=ua.sync(e);return(r!==0||n!==process.getgid())&&gA.sync(i||e,r,n),i}:(e,t)=>ua.sync(e,t)});var AA=F((U9,EA)=>{var{basename:vA,dirname:$L}=M("path"),ML=(e,t)=>e.charAt(0)==="@"?`${e}/${t}`:t;EA.exports=e=>e?ML(vA($L(e)),vA(e)):!1});var wA=F((W9,SA)=>{var jL=typeof process=="object"&&process&&process.platform==="win32";SA.exports=jL?{sep:"\\"}:{sep:"/"}});var OA=F((Y9,bA)=>{"use strict";bA.exports=_A;function _A(e,t,r){e instanceof RegExp&&(e=CA(e,r)),t instanceof RegExp&&(t=CA(t,r));var n=xA(e,t,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+e.length,n[1]),post:r.slice(n[1]+t.length)}}function CA(e,t){var r=t.match(e);return r?r[0]:null}_A.range=xA;function xA(e,t,r){var n,i,s,o,a,u=r.indexOf(e),c=r.indexOf(t,u+1),f=u;if(u>=0&&c>0){if(e===t)return[u,c];for(n=[],s=r.length;f>=0&&!a;)f==u?(n.push(f),u=r.indexOf(e,f+1)):n.length==1?a=[n.pop(),c]:(i=n.pop(),i<s&&(s=i,o=c),c=r.indexOf(t,f+1)),f=u<c&&u>=0?u:c;n.length&&(a=[s,o])}return a}});var LA=F((z9,IA)=>{var RA=OA();IA.exports=GL;var FA="\0SLASH"+Math.random()+"\0",kA="\0OPEN"+Math.random()+"\0",vf="\0CLOSE"+Math.random()+"\0",PA="\0COMMA"+Math.random()+"\0",DA="\0PERIOD"+Math.random()+"\0";function yf(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function qL(e){return e.split("\\\\").join(FA).split("\\{").join(kA).split("\\}").join(vf).split("\\,").join(PA).split("\\.").join(DA)}function HL(e){return e.split(FA).join("\\").split(kA).join("{").split(vf).join("}").split(PA).join(",").split(DA).join(".")}function TA(e){if(!e)return[""];var t=[],r=RA("{","}",e);if(!r)return e.split(",");var n=r.pre,i=r.body,s=r.post,o=n.split(",");o[o.length-1]+="{"+i+"}";var a=TA(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),t.push.apply(t,o),t}function GL(e){return e?(e.substr(0,2)==="{}"&&(e="\\{\\}"+e.substr(2)),is(qL(e),!0).map(HL)):[]}function UL(e){return"{"+e+"}"}function WL(e){return/^-?0\d/.test(e)}function YL(e,t){return e<=t}function zL(e,t){return e>=t}function is(e,t){var r=[],n=RA("{","}",e);if(!n)return[e];var i=n.pre,s=n.post.length?is(n.post,!1):[""];if(/\$$/.test(n.pre))for(var o=0;o<s.length;o++){var a=i+"{"+n.body+"}"+s[o];r.push(a)}else{var u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),f=u||c,l=n.body.indexOf(",")>=0;if(!f&&!l)return n.post.match(/,.*\}/)?(e=n.pre+"{"+n.body+vf+n.post,is(e)):[e];var h;if(f)h=n.body.split(/\.\./);else if(h=TA(n.body),h.length===1&&(h=is(h[0],!1).map(UL),h.length===1))return s.map(function(x){return n.pre+h[0]+x});var d;if(f){var g=yf(h[0]),S=yf(h[1]),w=Math.max(h[0].length,h[1].length),k=h.length==3?Math.abs(yf(h[2])):1,_=YL,N=S<g;N&&(k*=-1,_=zL);var D=h.some(WL);d=[];for(var A=g;_(A,S);A+=k){var R;if(c)R=String.fromCharCode(A),R==="\\"&&(R="");else if(R=String(A),D){var b=w-R.length;if(b>0){var O=new Array(b+1).join("0");A<0?R="-"+O+R.slice(1):R=O+R}}d.push(R)}}else{d=[];for(var T=0;T<h.length;T++)d.push.apply(d,is(h[T],!1))}for(var T=0;T<d.length;T++)for(var o=0;o<s.length;o++){var a=i+d[T]+s[o];(!t||f||a)&&r.push(a)}}return r}});var ss=F((K9,Cf)=>{var vt=Cf.exports=(e,t,r={})=>(ca(t),!r.nocomment&&t.charAt(0)==="#"?!1:new li(t,r).match(e));Cf.exports=vt;var Sf=wA();vt.sep=Sf.sep;var Mt=Symbol("globstar **");vt.GLOBSTAR=Mt;var VL=LA(),NA={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},wf="[^/]",Ef=wf+"*?",KL="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",XL="(?:(?!(?:\\/|^)\\.).)*?",MA=e=>e.split("").reduce((t,r)=>(t[r]=!0,t),{}),BA=MA("().*{}+?[]^$\\!"),QL=MA("[.("),$A=/\/+/;vt.filter=(e,t={})=>(r,n,i)=>vt(r,e,t);var Br=(e,t={})=>{let r={};return Object.keys(e).forEach(n=>r[n]=e[n]),Object.keys(t).forEach(n=>r[n]=t[n]),r};vt.defaults=e=>{if(!e||typeof e!="object"||!Object.keys(e).length)return vt;let t=vt,r=(n,i,s)=>t(n,i,Br(e,s));return r.Minimatch=class extends t.Minimatch{constructor(i,s){super(i,Br(e,s))}},r.Minimatch.defaults=n=>t.defaults(Br(e,n)).Minimatch,r.filter=(n,i)=>t.filter(n,Br(e,i)),r.defaults=n=>t.defaults(Br(e,n)),r.makeRe=(n,i)=>t.makeRe(n,Br(e,i)),r.braceExpand=(n,i)=>t.braceExpand(n,Br(e,i)),r.match=(n,i,s)=>t.match(n,i,Br(e,s)),r};vt.braceExpand=(e,t)=>jA(e,t);var jA=(e,t={})=>(ca(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:VL(e)),JL=1024*64,ca=e=>{if(typeof e!="string")throw new TypeError("invalid pattern");if(e.length>JL)throw new TypeError("pattern is too long")},Af=Symbol("subparse");vt.makeRe=(e,t)=>new li(e,t||{}).makeRe();vt.match=(e,t,r={})=>{let n=new li(t,r);return e=e.filter(i=>n.match(i)),n.options.nonull&&!e.length&&e.push(t),e};var ZL=e=>e.replace(/\\(.)/g,"$1"),eN=e=>e.replace(/\\([^-\]])/g,"$1"),tN=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),rN=e=>e.replace(/[[\]\\]/g,"\\$&"),li=class{constructor(t,r){ca(t),r||(r={}),this.options=r,this.set=[],this.pattern=t,this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.make()}debug(){}make(){let t=this.pattern,r=this.options;if(!r.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();let n=this.globSet=this.braceExpand();r.debug&&(this.debug=(...i)=>console.error(...i)),this.debug(this.pattern,n),n=this.globParts=n.map(i=>i.split($A)),this.debug(this.pattern,n),n=n.map((i,s,o)=>i.map(this.parse,this)),this.debug(this.pattern,n),n=n.filter(i=>i.indexOf(!1)===-1),this.debug(this.pattern,n),this.set=n}parseNegate(){if(this.options.nonegate)return;let t=this.pattern,r=!1,n=0;for(let i=0;i<t.length&&t.charAt(i)==="!";i++)r=!r,n++;n&&(this.pattern=t.slice(n)),this.negate=r}matchOne(t,r,n){var i=this.options;this.debug("matchOne",{this:this,file:t,pattern:r}),this.debug("matchOne",t.length,r.length);for(var s=0,o=0,a=t.length,u=r.length;s<a&&o<u;s++,o++){this.debug("matchOne loop");var c=r[o],f=t[s];if(this.debug(r,c,f),c===!1)return!1;if(c===Mt){this.debug("GLOBSTAR",[r,c,f]);var l=s,h=o+1;if(h===u){for(this.debug("** at the end");s<a;s++)if(t[s]==="."||t[s]===".."||!i.dot&&t[s].charAt(0)===".")return!1;return!0}for(;l<a;){var d=t[l];if(this.debug(`
81
- globstar while`,t,l,r,h,d),this.matchOne(t.slice(l),r.slice(h),n))return this.debug("globstar found match!",l,a,d),!0;if(d==="."||d===".."||!i.dot&&d.charAt(0)==="."){this.debug("dot detected!",t,l,r,h);break}this.debug("globstar swallow a segment, and continue"),l++}return!!(n&&(this.debug(`
82
- >>> no match, partial?`,t,l,r,h),l===a))}var g;if(typeof c=="string"?(g=f===c,this.debug("string match",c,f,g)):(g=f.match(c),this.debug("pattern match",c,f,g)),!g)return!1}if(s===a&&o===u)return!0;if(s===a)return n;if(o===u)return s===a-1&&t[s]==="";throw new Error("wtf?")}braceExpand(){return jA(this.pattern,this.options)}parse(t,r){ca(t);let n=this.options;if(t==="**")if(n.noglobstar)t="*";else return Mt;if(t==="")return"";let i="",s=!1,o=!1,a=[],u=[],c,f=!1,l=-1,h=-1,d,g,S,w=t.charAt(0)===".",k=n.dot||w,_=()=>w?"":k?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",N=b=>b.charAt(0)==="."?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",D=()=>{if(c){switch(c){case"*":i+=Ef,s=!0;break;case"?":i+=wf,s=!0;break;default:i+="\\"+c;break}this.debug("clearStateChar %j %j",c,i),c=!1}};for(let b=0,O;b<t.length&&(O=t.charAt(b));b++){if(this.debug("%s %s %s %j",t,b,i,O),o){if(O==="/")return!1;BA[O]&&(i+="\\"),i+=O,o=!1;continue}switch(O){case"/":return!1;case"\\":if(f&&t.charAt(b+1)==="-"){i+=O;continue}D(),o=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",t,b,i,O),f){this.debug(" in class"),O==="!"&&b===h+1&&(O="^"),i+=O;continue}this.debug("call clearStateChar %j",c),D(),c=O,n.noext&&D();continue;case"(":{if(f){i+="(";continue}if(!c){i+="\\(";continue}let T={type:c,start:b-1,reStart:i.length,open:NA[c].open,close:NA[c].close};this.debug(this.pattern," ",T),a.push(T),i+=T.open,T.start===0&&T.type!=="!"&&(w=!0,i+=N(t.slice(b+1))),this.debug("plType %j %j",c,i),c=!1;continue}case")":{let T=a[a.length-1];if(f||!T){i+="\\)";continue}a.pop(),D(),s=!0,g=T,i+=g.close,g.type==="!"&&u.push(Object.assign(g,{reEnd:i.length}));continue}case"|":{let T=a[a.length-1];if(f||!T){i+="\\|";continue}D(),i+="|",T.start===0&&T.type!=="!"&&(w=!0,i+=N(t.slice(b+1)));continue}case"[":if(D(),f){i+="\\"+O;continue}f=!0,h=b,l=i.length,i+=O;continue;case"]":if(b===h+1||!f){i+="\\"+O;continue}d=t.substring(h+1,b);try{RegExp("["+rN(eN(d))+"]"),i+=O}catch{i=i.substring(0,l)+"(?:$.)"}s=!0,f=!1;continue;default:D(),BA[O]&&!(O==="^"&&f)&&(i+="\\"),i+=O;break}}for(f&&(d=t.slice(h+1),S=this.parse(d,Af),i=i.substring(0,l)+"\\["+S[0],s=s||S[1]),g=a.pop();g;g=a.pop()){let b;b=i.slice(g.reStart+g.open.length),this.debug("setting tail",i,g),b=b.replace(/((?:\\{2}){0,64})(\\?)\|/g,(T,x,p)=>(p||(p="\\"),x+x+p+"|")),this.debug(`tail=%j
83
- %s`,b,b,g,i);let O=g.type==="*"?Ef:g.type==="?"?wf:"\\"+g.type;s=!0,i=i.slice(0,g.reStart)+O+"\\("+b}D(),o&&(i+="\\\\");let A=QL[i.charAt(0)];for(let b=u.length-1;b>-1;b--){let O=u[b],T=i.slice(0,O.reStart),x=i.slice(O.reStart,O.reEnd-8),p=i.slice(O.reEnd),m=i.slice(O.reEnd-8,O.reEnd)+p,E=T.split(")").length,C=T.split("(").length-E,y=p;for(let P=0;P<C;P++)y=y.replace(/\)[+*?]?/,"");p=y;let v=p===""&&r!==Af?"(?:$|\\/)":"";i=T+x+p+v+m}if(i!==""&&s&&(i="(?=.)"+i),A&&(i=_()+i),r===Af)return[i,s];if(n.nocase&&!s&&(s=t.toUpperCase()!==t.toLowerCase()),!s)return ZL(t);let R=n.nocase?"i":"";try{return Object.assign(new RegExp("^"+i+"$",R),{_glob:t,_src:i})}catch{return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let t=this.set;if(!t.length)return this.regexp=!1,this.regexp;let r=this.options,n=r.noglobstar?Ef:r.dot?KL:XL,i=r.nocase?"i":"",s=t.map(o=>(o=o.map(a=>typeof a=="string"?tN(a):a===Mt?Mt:a._src).reduce((a,u)=>(a[a.length-1]===Mt&&u===Mt||a.push(u),a),[]),o.forEach((a,u)=>{a!==Mt||o[u-1]===Mt||(u===0?o.length>1?o[u+1]="(?:\\/|"+n+"\\/)?"+o[u+1]:o[u]=n:u===o.length-1?o[u-1]+="(?:\\/|"+n+")?":(o[u-1]+="(?:\\/|\\/"+n+"\\/)"+o[u+1],o[u+1]=Mt))}),o.filter(a=>a!==Mt).join("/"))).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,i)}catch{this.regexp=!1}return this.regexp}match(t,r=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return t==="";if(t==="/"&&r)return!0;let n=this.options;Sf.sep!=="/"&&(t=t.split(Sf.sep).join("/")),t=t.split($A),this.debug(this.pattern,"split",t);let i=this.set;this.debug(this.pattern,"set",i);let s;for(let o=t.length-1;o>=0&&(s=t[o],!s);o--);for(let o=0;o<i.length;o++){let a=i[o],u=t;if(n.matchBase&&a.length===1&&(u=[s]),this.matchOne(u,a,r))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(t){return vt.defaults(t).Minimatch}};vt.Minimatch=li});var GA=F((X9,HA)=>{"use strict";var nN=e=>{let t=e.charCodeAt(0).toString(16).toUpperCase();return"0x"+(t.length%2?"0":"")+t},iN=(e,t,r)=>{if(!t)return{message:e.message+" while parsing empty string",position:0};let n=e.message.match(/^Unexpected token (.) .*position\s+(\d+)/i),i=n?+n[2]:e.message.match(/^Unexpected end of JSON.*/i)?t.length-1:null,s=n?e.message.replace(/^Unexpected token ./,`Unexpected token ${JSON.stringify(n[1])} (${nN(n[1])})`):e.message;if(i!=null){let o=i<=r?0:i-r,a=i+r>=t.length?t.length:i+r,u=(o===0?"":"...")+t.slice(o,a)+(a===t.length?"":"...");return{message:s+` while parsing ${t===u?"":"near "}${JSON.stringify(u)}`,position:i}}else return{message:s+` while parsing '${t.slice(0,r*2)}'`,position:0}},la=class extends SyntaxError{constructor(t,r,n,i){n=n||20;let s=iN(t,r,n);super(s.message),Object.assign(this,s),this.code="EJSONPARSE",this.systemError=t,Error.captureStackTrace(this,i||this.constructor)}get name(){return this.constructor.name}set name(t){}get[Symbol.toStringTag](){return this.constructor.name}},sN=Symbol.for("indent"),oN=Symbol.for("newline"),aN=/^\s*[{\[]((?:\r?\n)+)([\s\t]*)/,uN=/^(?:\{\}|\[\])((?:\r?\n)+)?$/,fa=(e,t,r)=>{let n=qA(e);r=r||20;try{let[,i=`
84
- `,s=" "]=n.match(uN)||n.match(aN)||[,"",""],o=JSON.parse(n,t);return o&&typeof o=="object"&&(o[oN]=i,o[sN]=s),o}catch(i){if(typeof e!="string"&&!Buffer.isBuffer(e)){let s=Array.isArray(e)&&e.length===0;throw Object.assign(new TypeError(`Cannot parse ${s?"an empty array":String(e)}`),{code:"EJSONPARSE",systemError:i})}throw new la(i,n,r,fa)}},qA=e=>String(e).replace(/^\uFEFF/,"");HA.exports=fa;fa.JSONParseError=la;fa.noExceptions=(e,t)=>{try{return JSON.parse(qA(e),t)}catch{}}});var zA=F((Q9,YA)=>{var{join:UA,basename:WA}=M("path"),cN=e=>e.bin?typeof e.bin=="string"?lN(e):Array.isArray(e.bin)?fN(e):typeof e.bin=="object"?xf(e):_f(e):_f(e),lN=e=>e.name?(e.bin={[e.name]:e.bin},xf(e)):_f(e),fN=e=>(e.bin=e.bin.reduce((t,r)=>(t[WA(r)]=r,t),{}),xf(e)),_f=e=>(delete e.bin,e),xf=e=>{let t=e.bin,r={},n=!1;return Object.keys(t).forEach(i=>{let s=UA("/",WA(i.replace(/\\|:/g,"/"))).substr(1);if(typeof t[i]!="string"||!s)return;let o=UA("/",t[i]).replace(/\\/g,"/").substr(1);o&&(r[s]=o,n=!0)}),n?e.bin=r:delete e.bin,e};YA.exports=cN});var Ff=F((J9,JA)=>{var{promisify:Of}=M("util"),Rf=M("fs"),hN=Of(Rf.readFile),dN=Of(Rf.lstat),pN=Of(Rf.readdir),gN=GA(),{resolve:VA,dirname:mN,join:bf,relative:yN}=M("path"),KA=e=>hN(e,"utf8").then(t=>EN(e,QA(AN(gN(t))))).catch(t=>{throw t.path=e,t}),vN=zA(),EN=async(e,t)=>{if(t.bin)return t;let r=t.directories&&t.directories.bin;if(!r||typeof r!="string")return t;let n=mN(e),i=bf(".",bf("/",r));return t.bin=await XA(n,i,{}),t},XA=async(e,t,r)=>{let n=await pN(VA(e,t)).catch(()=>[]);for(let i of n){if(i.charAt(0)===".")continue;let s=VA(e,t,i),o=await dN(s).catch(()=>null);if(o)o.isFile()?r[i]=yN(e,s):o.isDirectory()&&await XA(e,bf(t,i),r);else continue}return r},AN=e=>{for(let t of Object.keys(e).filter(r=>/^_/.test(r)))delete e[t];return e},QA=e=>(SN(e),CN(e),wN(e),_N(e),xN(e),vN(e),e);KA.normalize=QA;var SN=e=>(e.name&&e.version&&(e._id=`${e.name}@${e.version}`),e),wN=e=>{let t=e.optionalDependencies,r=e.dependencies||{};if(t&&typeof t=="object")for(let n of Object.keys(t))delete r[n];return Object.keys(r).length===0&&delete e.dependencies,e},CN=e=>{let t=e.bundledDependencies,r=e.bundleDependencies===void 0?t:e.bundleDependencies;return r===!1?e.bundleDependencies=[]:r===!0?e.bundleDependencies=Object.keys(e.dependencies||{}):r&&typeof r=="object"?Array.isArray(r)?e.bundleDependencies=r:e.bundleDependencies=Object.keys(r):delete e.bundleDependencies,delete e.bundledDependencies,e},_N=e=>{if(!e.scripts||typeof e.scripts!="object")return delete e.scripts,e;for(let[t,r]of Object.entries(e.scripts))typeof r!="string"&&delete e.scripts[t];return e},xN=e=>(e.funding&&typeof e.funding=="string"&&(e.funding={url:e.funding}),e);JA.exports=KA});var ZA=F(kf=>{var un=M("path"),Mr=process.platform==="win32",$r=M("fs"),bN=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function ON(){var e;if(bN){var t=new Error;e=r}else e=n;return e;function r(i){i&&(t.message=i.message,i=t,n(i))}function n(i){if(i){if(process.throwDeprecation)throw i;if(!process.noDeprecation){var s="fs: missing callback "+(i.stack||i.message);process.traceDeprecation?console.trace(s):console.error(s)}}}}function RN(e){return typeof e=="function"?e:ON()}var Z9=un.normalize;Mr?lr=/(.*?)(?:[\/\\]+|$)/g:lr=/(.*?)(?:[\/]+|$)/g;var lr;Mr?os=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/:os=/^[\/]*/;var os;kf.realpathSync=function(t,r){if(t=un.resolve(t),r&&Object.prototype.hasOwnProperty.call(r,t))return r[t];var n=t,i={},s={},o,a,u,c;f();function f(){var w=os.exec(t);o=w[0].length,a=w[0],u=w[0],c="",Mr&&!s[u]&&($r.lstatSync(u),s[u]=!0)}for(;o<t.length;){lr.lastIndex=o;var l=lr.exec(t);if(c=a,a+=l[0],u=c+l[1],o=lr.lastIndex,!(s[u]||r&&r[u]===u)){var h;if(r&&Object.prototype.hasOwnProperty.call(r,u))h=r[u];else{var d=$r.lstatSync(u);if(!d.isSymbolicLink()){s[u]=!0,r&&(r[u]=u);continue}var g=null;if(!Mr){var S=d.dev.toString(32)+":"+d.ino.toString(32);i.hasOwnProperty(S)&&(g=i[S])}g===null&&($r.statSync(u),g=$r.readlinkSync(u)),h=un.resolve(c,g),r&&(r[u]=h),Mr||(i[S]=g)}t=un.resolve(h,t.slice(o)),f()}}return r&&(r[n]=t),t};kf.realpath=function(t,r,n){if(typeof n!="function"&&(n=RN(r),r=null),t=un.resolve(t),r&&Object.prototype.hasOwnProperty.call(r,t))return process.nextTick(n.bind(null,null,r[t]));var i=t,s={},o={},a,u,c,f;l();function l(){var w=os.exec(t);a=w[0].length,u=w[0],c=w[0],f="",Mr&&!o[c]?$r.lstat(c,function(k){if(k)return n(k);o[c]=!0,h()}):process.nextTick(h)}function h(){if(a>=t.length)return r&&(r[i]=t),n(null,t);lr.lastIndex=a;var w=lr.exec(t);return f=u,u+=w[0],c=f+w[1],a=lr.lastIndex,o[c]||r&&r[c]===c?process.nextTick(h):r&&Object.prototype.hasOwnProperty.call(r,c)?S(r[c]):$r.lstat(c,d)}function d(w,k){if(w)return n(w);if(!k.isSymbolicLink())return o[c]=!0,r&&(r[c]=c),process.nextTick(h);if(!Mr){var _=k.dev.toString(32)+":"+k.ino.toString(32);if(s.hasOwnProperty(_))return g(null,s[_],c)}$r.stat(c,function(N){if(N)return n(N);$r.readlink(c,function(D,A){Mr||(s[_]=A),g(D,A)})})}function g(w,k,_){if(w)return n(w);var N=un.resolve(f,k);r&&(r[_]=N),S(N)}function S(w){t=un.resolve(w,t.slice(a)),l()}}});var If=F((tH,n1)=>{n1.exports=jr;jr.realpath=jr;jr.sync=Tf;jr.realpathSync=Tf;jr.monkeypatch=kN;jr.unmonkeypatch=PN;var fi=M("fs"),Pf=fi.realpath,Df=fi.realpathSync,FN=process.version,e1=/^v[0-5]\./.test(FN),t1=ZA();function r1(e){return e&&e.syscall==="realpath"&&(e.code==="ELOOP"||e.code==="ENOMEM"||e.code==="ENAMETOOLONG")}function jr(e,t,r){if(e1)return Pf(e,t,r);typeof t=="function"&&(r=t,t=null),Pf(e,t,function(n,i){r1(n)?t1.realpath(e,t,r):r(n,i)})}function Tf(e,t){if(e1)return Df(e,t);try{return Df(e,t)}catch(r){if(r1(r))return t1.realpathSync(e,t);throw r}}function kN(){fi.realpath=jr,fi.realpathSync=Tf}function PN(){fi.realpath=Pf,fi.realpathSync=Df}});var i1=F((rH,Lf)=>{typeof Object.create=="function"?Lf.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Lf.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}});var s1=F((nH,Bf)=>{try{if(Nf=M("util"),typeof Nf.inherits!="function")throw"";Bf.exports=Nf.inherits}catch{Bf.exports=i1()}var Nf});var Mf=F(qr=>{qr.setopts=BN;qr.ownProp=o1;qr.makeAbs=as;qr.finish=$N;qr.mark=MN;qr.isIgnored=u1;qr.childrenIgnored=jN;function o1(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var DN=M("fs"),cn=M("path"),TN=ss(),a1=M("path").isAbsolute,$f=TN.Minimatch;function IN(e,t){return e.localeCompare(t,"en")}function LN(e,t){e.ignore=t.ignore||[],Array.isArray(e.ignore)||(e.ignore=[e.ignore]),e.ignore.length&&(e.ignore=e.ignore.map(NN))}function NN(e){var t=null;if(e.slice(-3)==="/**"){var r=e.replace(/(\/\*\*)+$/,"");t=new $f(r,{dot:!0})}return{matcher:new $f(e,{dot:!0}),gmatcher:t}}function BN(e,t,r){if(r||(r={}),r.matchBase&&t.indexOf("/")===-1){if(r.noglobstar)throw new Error("base matching requires globstar");t="**/"+t}e.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,e.windowsPathsNoEscape&&(t=t.replace(/\\/g,"/")),e.silent=!!r.silent,e.pattern=t,e.strict=r.strict!==!1,e.realpath=!!r.realpath,e.realpathCache=r.realpathCache||Object.create(null),e.follow=!!r.follow,e.dot=!!r.dot,e.mark=!!r.mark,e.nodir=!!r.nodir,e.nodir&&(e.mark=!0),e.sync=!!r.sync,e.nounique=!!r.nounique,e.nonull=!!r.nonull,e.nosort=!!r.nosort,e.nocase=!!r.nocase,e.stat=!!r.stat,e.noprocess=!!r.noprocess,e.absolute=!!r.absolute,e.fs=r.fs||DN,e.maxLength=r.maxLength||1/0,e.cache=r.cache||Object.create(null),e.statCache=r.statCache||Object.create(null),e.symlinks=r.symlinks||Object.create(null),LN(e,r),e.changedCwd=!1;var n=process.cwd();o1(r,"cwd")?(e.cwd=cn.resolve(r.cwd),e.changedCwd=e.cwd!==n):e.cwd=cn.resolve(n),e.root=r.root||cn.resolve(e.cwd,"/"),e.root=cn.resolve(e.root),e.cwdAbs=a1(e.cwd)?e.cwd:as(e,e.cwd),e.nomount=!!r.nomount,process.platform==="win32"&&(e.root=e.root.replace(/\\/g,"/"),e.cwd=e.cwd.replace(/\\/g,"/"),e.cwdAbs=e.cwdAbs.replace(/\\/g,"/")),r.nonegate=!0,r.nocomment=!0,e.minimatch=new $f(t,r),e.options=e.minimatch.options}function $N(e){for(var t=e.nounique,r=t?[]:Object.create(null),n=0,i=e.matches.length;n<i;n++){var s=e.matches[n];if(!s||Object.keys(s).length===0){if(e.nonull){var o=e.minimatch.globSet[n];t?r.push(o):r[o]=!0}}else{var a=Object.keys(s);t?r.push.apply(r,a):a.forEach(function(u){r[u]=!0})}}if(t||(r=Object.keys(r)),e.nosort||(r=r.sort(IN)),e.mark){for(var n=0;n<r.length;n++)r[n]=e._mark(r[n]);e.nodir&&(r=r.filter(function(u){var c=!/\/$/.test(u),f=e.cache[u]||e.cache[as(e,u)];return c&&f&&(c=f!=="DIR"&&!Array.isArray(f)),c}))}e.ignore.length&&(r=r.filter(function(u){return!u1(e,u)})),e.found=r}function MN(e,t){var r=as(e,t),n=e.cache[r],i=t;if(n){var s=n==="DIR"||Array.isArray(n),o=t.slice(-1)==="/";if(s&&!o?i+="/":!s&&o&&(i=i.slice(0,-1)),i!==t){var a=as(e,i);e.statCache[a]=e.statCache[r],e.cache[a]=e.cache[r]}}return i}function as(e,t){var r=t;return t.charAt(0)==="/"?r=cn.join(e.root,t):a1(t)||t===""?r=t:e.changedCwd?r=cn.resolve(e.cwd,t):r=cn.resolve(t),process.platform==="win32"&&(r=r.replace(/\\/g,"/")),r}function u1(e,t){return e.ignore.length?e.ignore.some(function(r){return r.matcher.match(t)||!!(r.gmatcher&&r.gmatcher.match(t))}):!1}function jN(e,t){return e.ignore.length?e.ignore.some(function(r){return!!(r.gmatcher&&r.gmatcher.match(t))}):!1}});var d1=F((uH,h1)=>{h1.exports=f1;f1.GlobSync=$e;var qN=If(),c1=ss(),sH=c1.Minimatch,oH=Hf().Glob,aH=M("util"),jf=M("path"),l1=M("assert"),ha=M("path").isAbsolute,ln=Mf(),HN=ln.setopts,qf=ln.ownProp,GN=ln.childrenIgnored,UN=ln.isIgnored;function f1(e,t){if(typeof t=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
85
- See: https://github.com/isaacs/node-glob/issues/167`);return new $e(e,t).found}function $e(e,t){if(!e)throw new Error("must provide pattern");if(typeof t=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
86
- See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof $e))return new $e(e,t);if(HN(this,e,t),this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var n=0;n<r;n++)this._process(this.minimatch.set[n],n,!1);this._finish()}$e.prototype._finish=function(){if(l1.ok(this instanceof $e),this.realpath){var e=this;this.matches.forEach(function(t,r){var n=e.matches[r]=Object.create(null);for(var i in t)try{i=e._makeAbs(i);var s=qN.realpathSync(i,e.realpathCache);n[s]=!0}catch(o){if(o.syscall==="stat")n[e._makeAbs(i)]=!0;else throw o}})}ln.finish(this)};$e.prototype._process=function(e,t,r){l1.ok(this instanceof $e);for(var n=0;typeof e[n]=="string";)n++;var i;switch(n){case e.length:this._processSimple(e.join("/"),t);return;case 0:i=null;break;default:i=e.slice(0,n).join("/");break}var s=e.slice(n),o;i===null?o=".":((ha(i)||ha(e.map(function(c){return typeof c=="string"?c:"[*]"}).join("/")))&&(!i||!ha(i))&&(i="/"+i),o=i);var a=this._makeAbs(o);if(!GN(this,o)){var u=s[0]===c1.GLOBSTAR;u?this._processGlobStar(i,o,a,s,t,r):this._processReaddir(i,o,a,s,t,r)}};$e.prototype._processReaddir=function(e,t,r,n,i,s){var o=this._readdir(r,s);if(o){for(var a=n[0],u=!!this.minimatch.negate,c=a._glob,f=this.dot||c.charAt(0)===".",l=[],h=0;h<o.length;h++){var d=o[h];if(d.charAt(0)!=="."||f){var g;u&&!e?g=!d.match(a):g=d.match(a),g&&l.push(d)}}var S=l.length;if(S!==0){if(n.length===1&&!this.mark&&!this.stat){this.matches[i]||(this.matches[i]=Object.create(null));for(var h=0;h<S;h++){var d=l[h];e&&(e.slice(-1)!=="/"?d=e+"/"+d:d=e+d),d.charAt(0)==="/"&&!this.nomount&&(d=jf.join(this.root,d)),this._emitMatch(i,d)}return}n.shift();for(var h=0;h<S;h++){var d=l[h],w;e?w=[e,d]:w=[d],this._process(w.concat(n),i,s)}}}};$e.prototype._emitMatch=function(e,t){if(!UN(this,t)){var r=this._makeAbs(t);if(this.mark&&(t=this._mark(t)),this.absolute&&(t=r),!this.matches[e][t]){if(this.nodir){var n=this.cache[r];if(n==="DIR"||Array.isArray(n))return}this.matches[e][t]=!0,this.stat&&this._stat(t)}}};$e.prototype._readdirInGlobStar=function(e){if(this.follow)return this._readdir(e,!1);var t,r,n;try{r=this.fs.lstatSync(e)}catch(s){if(s.code==="ENOENT")return null}var i=r&&r.isSymbolicLink();return this.symlinks[e]=i,!i&&r&&!r.isDirectory()?this.cache[e]="FILE":t=this._readdir(e,!1),t};$e.prototype._readdir=function(e,t){var r;if(t&&!qf(this.symlinks,e))return this._readdirInGlobStar(e);if(qf(this.cache,e)){var n=this.cache[e];if(!n||n==="FILE")return null;if(Array.isArray(n))return n}try{return this._readdirEntries(e,this.fs.readdirSync(e))}catch(i){return this._readdirError(e,i),null}};$e.prototype._readdirEntries=function(e,t){if(!this.mark&&!this.stat)for(var r=0;r<t.length;r++){var n=t[r];e==="/"?n=e+n:n=e+"/"+n,this.cache[n]=!0}return this.cache[e]=t,t};$e.prototype._readdirError=function(e,t){switch(t.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(e);if(this.cache[r]="FILE",r===this.cwdAbs){var n=new Error(t.code+" invalid cwd "+this.cwd);throw n.path=this.cwd,n.code=t.code,n}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=!1;break;default:if(this.cache[this._makeAbs(e)]=!1,this.strict)throw t;this.silent||console.error("glob error",t);break}};$e.prototype._processGlobStar=function(e,t,r,n,i,s){var o=this._readdir(r,s);if(o){var a=n.slice(1),u=e?[e]:[],c=u.concat(a);this._process(c,i,!1);var f=o.length,l=this.symlinks[r];if(!(l&&s))for(var h=0;h<f;h++){var d=o[h];if(!(d.charAt(0)==="."&&!this.dot)){var g=u.concat(o[h],a);this._process(g,i,!0);var S=u.concat(o[h],n);this._process(S,i,!0)}}}};$e.prototype._processSimple=function(e,t){var r=this._stat(e);if(this.matches[t]||(this.matches[t]=Object.create(null)),!!r){if(e&&ha(e)&&!this.nomount){var n=/[\/\\]$/.test(e);e.charAt(0)==="/"?e=jf.join(this.root,e):(e=jf.resolve(this.root,e),n&&(e+="/"))}process.platform==="win32"&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e)}};$e.prototype._stat=function(e){var t=this._makeAbs(e),r=e.slice(-1)==="/";if(e.length>this.maxLength)return!1;if(!this.stat&&qf(this.cache,t)){var o=this.cache[t];if(Array.isArray(o)&&(o="DIR"),!r||o==="DIR")return o;if(r&&o==="FILE")return!1}var n,i=this.statCache[t];if(!i){var s;try{s=this.fs.lstatSync(t)}catch(a){if(a&&(a.code==="ENOENT"||a.code==="ENOTDIR"))return this.statCache[t]=!1,!1}if(s&&s.isSymbolicLink())try{i=this.fs.statSync(t)}catch{i=s}else i=s}this.statCache[t]=i;var o=!0;return i&&(o=i.isDirectory()?"DIR":"FILE"),this.cache[t]=this.cache[t]||o,r&&o==="FILE"?!1:o};$e.prototype._mark=function(e){return ln.mark(this,e)};$e.prototype._makeAbs=function(e){return ln.makeAbs(this,e)}});var Gf=F((cH,g1)=>{g1.exports=p1;function p1(e,t){if(e&&t)return p1(e)(t);if(typeof e!="function")throw new TypeError("need wrapper function");return Object.keys(e).forEach(function(n){r[n]=e[n]}),r;function r(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];var s=e.apply(this,n),o=n[n.length-1];return typeof s=="function"&&s!==o&&Object.keys(o).forEach(function(a){s[a]=o[a]}),s}}});var Wf=F((lH,Uf)=>{var m1=Gf();Uf.exports=m1(da);Uf.exports.strict=m1(y1);da.proto=da(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return da(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return y1(this)},configurable:!0})});function da(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function y1(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},r=e.name||"Function wrapped with `once`";return t.onceError=r+" shouldn't be called more than once",t.called=!1,t}});var E1=F((fH,v1)=>{var WN=Gf(),us=Object.create(null),YN=Wf();v1.exports=WN(zN);function zN(e,t){return us[e]?(us[e].push(t),null):(us[e]=[t],VN(e))}function VN(e){return YN(function t(){var r=us[e],n=r.length,i=KN(arguments);try{for(var s=0;s<n;s++)r[s].apply(null,i)}finally{r.length>n?(r.splice(0,n),process.nextTick(function(){t.apply(null,i)})):delete us[e]}})}function KN(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n]=e[n];return r}});var Hf=F((pH,S1)=>{S1.exports=fn;var XN=If(),A1=ss(),hH=A1.Minimatch,QN=s1(),JN=M("events").EventEmitter,Yf=M("path"),zf=M("assert"),cs=M("path").isAbsolute,Kf=d1(),hn=Mf(),ZN=hn.setopts,Vf=hn.ownProp,Xf=E1(),dH=M("util"),eB=hn.childrenIgnored,tB=hn.isIgnored,rB=Wf();function fn(e,t,r){if(typeof t=="function"&&(r=t,t={}),t||(t={}),t.sync){if(r)throw new TypeError("callback provided to sync glob");return Kf(e,t)}return new me(e,t,r)}fn.sync=Kf;var nB=fn.GlobSync=Kf.GlobSync;fn.glob=fn;function iB(e,t){if(t===null||typeof t!="object")return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}fn.hasMagic=function(e,t){var r=iB({},t);r.noprocess=!0;var n=new me(e,r),i=n.minimatch.set;if(!e)return!1;if(i.length>1)return!0;for(var s=0;s<i[0].length;s++)if(typeof i[0][s]!="string")return!0;return!1};fn.Glob=me;QN(me,JN);function me(e,t,r){if(typeof t=="function"&&(r=t,t=null),t&&t.sync){if(r)throw new TypeError("callback provided to sync glob");return new nB(e,t)}if(!(this instanceof me))return new me(e,t,r);ZN(this,e,t),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),typeof r=="function"&&(r=rB(r),this.on("error",r),this.on("end",function(u){r(null,u)}));var i=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(n===0)return a();for(var s=!0,o=0;o<n;o++)this._process(this.minimatch.set[o],o,!1,a);s=!1;function a(){--i._processing,i._processing<=0&&(s?process.nextTick(function(){i._finish()}):i._finish())}}me.prototype._finish=function(){if(zf(this instanceof me),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();hn.finish(this),this.emit("end",this.found)}};me.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var e=this.matches.length;if(e===0)return this._finish();for(var t=this,r=0;r<this.matches.length;r++)this._realpathSet(r,n);function n(){--e===0&&t._finish()}};me.prototype._realpathSet=function(e,t){var r=this.matches[e];if(!r)return t();var n=Object.keys(r),i=this,s=n.length;if(s===0)return t();var o=this.matches[e]=Object.create(null);n.forEach(function(a,u){a=i._makeAbs(a),XN.realpath(a,i.realpathCache,function(c,f){c?c.syscall==="stat"?o[a]=!0:i.emit("error",c):o[f]=!0,--s===0&&(i.matches[e]=o,t())})})};me.prototype._mark=function(e){return hn.mark(this,e)};me.prototype._makeAbs=function(e){return hn.makeAbs(this,e)};me.prototype.abort=function(){this.aborted=!0,this.emit("abort")};me.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))};me.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var e=this._emitQueue.slice(0);this._emitQueue.length=0;for(var t=0;t<e.length;t++){var r=e[t];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var n=this._processQueue.slice(0);this._processQueue.length=0;for(var t=0;t<n.length;t++){var i=n[t];this._processing--,this._process(i[0],i[1],i[2],i[3])}}}};me.prototype._process=function(e,t,r,n){if(zf(this instanceof me),zf(typeof n=="function"),!this.aborted){if(this._processing++,this.paused){this._processQueue.push([e,t,r,n]);return}for(var i=0;typeof e[i]=="string";)i++;var s;switch(i){case e.length:this._processSimple(e.join("/"),t,n);return;case 0:s=null;break;default:s=e.slice(0,i).join("/");break}var o=e.slice(i),a;s===null?a=".":((cs(s)||cs(e.map(function(f){return typeof f=="string"?f:"[*]"}).join("/")))&&(!s||!cs(s))&&(s="/"+s),a=s);var u=this._makeAbs(a);if(eB(this,a))return n();var c=o[0]===A1.GLOBSTAR;c?this._processGlobStar(s,a,u,o,t,r,n):this._processReaddir(s,a,u,o,t,r,n)}};me.prototype._processReaddir=function(e,t,r,n,i,s,o){var a=this;this._readdir(r,s,function(u,c){return a._processReaddir2(e,t,r,n,i,s,c,o)})};me.prototype._processReaddir2=function(e,t,r,n,i,s,o,a){if(!o)return a();for(var u=n[0],c=!!this.minimatch.negate,f=u._glob,l=this.dot||f.charAt(0)===".",h=[],d=0;d<o.length;d++){var g=o[d];if(g.charAt(0)!=="."||l){var S;c&&!e?S=!g.match(u):S=g.match(u),S&&h.push(g)}}var w=h.length;if(w===0)return a();if(n.length===1&&!this.mark&&!this.stat){this.matches[i]||(this.matches[i]=Object.create(null));for(var d=0;d<w;d++){var g=h[d];e&&(e!=="/"?g=e+"/"+g:g=e+g),g.charAt(0)==="/"&&!this.nomount&&(g=Yf.join(this.root,g)),this._emitMatch(i,g)}return a()}n.shift();for(var d=0;d<w;d++){var g=h[d],k;e&&(e!=="/"?g=e+"/"+g:g=e+g),this._process([g].concat(n),i,s,a)}a()};me.prototype._emitMatch=function(e,t){if(!this.aborted&&!tB(this,t)){if(this.paused){this._emitQueue.push([e,t]);return}var r=cs(t)?t:this._makeAbs(t);if(this.mark&&(t=this._mark(t)),this.absolute&&(t=r),!this.matches[e][t]){if(this.nodir){var n=this.cache[r];if(n==="DIR"||Array.isArray(n))return}this.matches[e][t]=!0;var i=this.statCache[r];i&&this.emit("stat",t,i),this.emit("match",t)}}};me.prototype._readdirInGlobStar=function(e,t){if(this.aborted)return;if(this.follow)return this._readdir(e,!1,t);var r="lstat\0"+e,n=this,i=Xf(r,s);i&&n.fs.lstat(e,i);function s(o,a){if(o&&o.code==="ENOENT")return t();var u=a&&a.isSymbolicLink();n.symlinks[e]=u,!u&&a&&!a.isDirectory()?(n.cache[e]="FILE",t()):n._readdir(e,!1,t)}};me.prototype._readdir=function(e,t,r){if(!this.aborted&&(r=Xf("readdir\0"+e+"\0"+t,r),!!r)){if(t&&!Vf(this.symlinks,e))return this._readdirInGlobStar(e,r);if(Vf(this.cache,e)){var n=this.cache[e];if(!n||n==="FILE")return r();if(Array.isArray(n))return r(null,n)}var i=this;i.fs.readdir(e,sB(this,e,r))}};function sB(e,t,r){return function(n,i){n?e._readdirError(t,n,r):e._readdirEntries(t,i,r)}}me.prototype._readdirEntries=function(e,t,r){if(!this.aborted){if(!this.mark&&!this.stat)for(var n=0;n<t.length;n++){var i=t[n];e==="/"?i=e+i:i=e+"/"+i,this.cache[i]=!0}return this.cache[e]=t,r(null,t)}};me.prototype._readdirError=function(e,t,r){if(!this.aborted){switch(t.code){case"ENOTSUP":case"ENOTDIR":var n=this._makeAbs(e);if(this.cache[n]="FILE",n===this.cwdAbs){var i=new Error(t.code+" invalid cwd "+this.cwd);i.path=this.cwd,i.code=t.code,this.emit("error",i),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=!1;break;default:this.cache[this._makeAbs(e)]=!1,this.strict&&(this.emit("error",t),this.abort()),this.silent||console.error("glob error",t);break}return r()}};me.prototype._processGlobStar=function(e,t,r,n,i,s,o){var a=this;this._readdir(r,s,function(u,c){a._processGlobStar2(e,t,r,n,i,s,c,o)})};me.prototype._processGlobStar2=function(e,t,r,n,i,s,o,a){if(!o)return a();var u=n.slice(1),c=e?[e]:[],f=c.concat(u);this._process(f,i,!1,a);var l=this.symlinks[r],h=o.length;if(l&&s)return a();for(var d=0;d<h;d++){var g=o[d];if(!(g.charAt(0)==="."&&!this.dot)){var S=c.concat(o[d],u);this._process(S,i,!0,a);var w=c.concat(o[d],n);this._process(w,i,!0,a)}}a()};me.prototype._processSimple=function(e,t,r){var n=this;this._stat(e,function(i,s){n._processSimple2(e,t,i,s,r)})};me.prototype._processSimple2=function(e,t,r,n,i){if(this.matches[t]||(this.matches[t]=Object.create(null)),!n)return i();if(e&&cs(e)&&!this.nomount){var s=/[\/\\]$/.test(e);e.charAt(0)==="/"?e=Yf.join(this.root,e):(e=Yf.resolve(this.root,e),s&&(e+="/"))}process.platform==="win32"&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e),i()};me.prototype._stat=function(e,t){var r=this._makeAbs(e),n=e.slice(-1)==="/";if(e.length>this.maxLength)return t();if(!this.stat&&Vf(this.cache,r)){var i=this.cache[r];if(Array.isArray(i)&&(i="DIR"),!n||i==="DIR")return t(null,i);if(n&&i==="FILE")return t()}var s,o=this.statCache[r];if(o!==void 0){if(o===!1)return t(null,o);var a=o.isDirectory()?"DIR":"FILE";return n&&a==="FILE"?t():t(null,a,o)}var u=this,c=Xf("stat\0"+r,f);c&&u.fs.lstat(r,c);function f(l,h){if(h&&h.isSymbolicLink())return u.fs.stat(r,function(d,g){d?u._stat2(e,r,null,h,t):u._stat2(e,r,d,g,t)});u._stat2(e,r,l,h,t)}};me.prototype._stat2=function(e,t,r,n,i){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR"))return this.statCache[t]=!1,i();var s=e.slice(-1)==="/";if(this.statCache[t]=n,t.slice(-1)==="/"&&n&&!n.isDirectory())return i(null,!1,n);var o=!0;return n&&(o=n.isDirectory()?"DIR":"FILE"),this.cache[t]=this.cache[t]||o,s&&o==="FILE"?i():i(null,o,n)}});var R1=F((gH,O1)=>{var{promisify:oB}=M("util"),w1=M("path"),aB=AA(),uB=ss(),cB=Ff(),lB=Hf(),fB=oB(lB);function hB(e){let t=[];for(let r of e){let n=r.match(/^!+/);n&&(r=r.slice(n[0].length)),r=r.replace(/^\/+/,"");let i=n&&n[0].length%2===1;t.push({pattern:r,negate:i})}return t}function C1(e){let t=Array.isArray(e.packages)?e.packages:e;if(!Array.isArray(t))throw pa({message:"workspaces config expects an Array",code:"EWORKSPACESCONFIG"});return hB(t)}function _1(e,t){let{name:r}=e;return r||aB(t)}function x1(e){return(...t)=>{let r=e.cwd?e.cwd:process.cwd();return w1.join.apply(null,[r,...t])}}function dB(e){return e=e.replace(/\\/g,"/"),e.endsWith("/")?e:`${e}/`}function pa({Type:e=TypeError,message:t,code:r}){return Object.assign(new e(t),{code:r})}function pB(e){return new Map(Array.from(e,t=>t.reverse()))}async function b1(e={}){if(!e||!e.pkg)throw pa({message:"mapWorkspaces missing pkg info",code:"EMAPWORKSPACESPKG"});let{workspaces:t=[]}=e.pkg,r=C1(t),n=new Map,i=new Map;if(!r.length)return n;let s=()=>({...e,ignore:[...e.ignore||[],"**/node_modules/**"]}),o=x1(e);for(let u of r){let c=await fB(dB(u.pattern),s());for(let f of c){let l,h=o(f,"package.json"),d=w1.dirname(h);try{l=await cB(h)}catch(w){if(w.code==="ENOENT")continue;throw w}let g=_1(l,d),S=i.get(g);S||(S=new Set,i.set(g,S)),u.negate?S.delete(d):S.add(d)}}let a=["must not have multiple workspaces with the same name"];for(let[u,c]of i)c.size!==0&&(c.size>1?gB(a,u,c):n.set(u,c.values().next().value));if(a.length>1)throw pa({Type:Error,message:a.join(`
87
- `),code:"EDUPLICATEWORKSPACE"});return n}function gB(e,t,r){e.push(`package '${t}' has conflicts in the following paths:`);for(let n of r)e.push(" "+n)}b1.virtual=function(e={}){if(!e||!e.lockfile)throw pa({message:"mapWorkspaces.virtual missing lockfile info",code:"EMAPWORKSPACESLOCKFILE"});let{packages:t={}}=e.lockfile,{workspaces:r=[]}=t[""]||{},n=new Map,i=C1(r);if(!i.length)return n;i.push({pattern:"**/node_modules/**",negate:!0});let s=x1(e);for(let o of Object.keys(t))if(o!==""){for(let a of i)if(uB(o,a.pattern)){let u=s(o),c=_1(t[o],u);a.negate?n.delete(u):n.set(u,c)}}return pB(n)};O1.exports=b1});var P1=F((mH,k1)=>{var F1=["notice","error","warn","info","verbose","http","silly","pause","resume"],mB=e=>(...t)=>process.emit("log",e,...t),Qf={};for(let e of F1)Qf[e]=mB(e);Qf.LEVELS=F1;k1.exports=Qf});var Zf=F((yH,T1)=>{var Jf=class{},D1=e=>{if(typeof e=="string"){if(/^0o?[0-7]+$/.test(e))return parseInt(e.replace(/^0o?/,""),8);if(/^[1-9][0-9]*$/.test(e))return parseInt(e,10);throw new Error(`invalid umask value: ${e}`)}if(typeof e!="number")throw new Error(`invalid umask value: ${e}`);if(e=Math.floor(e),e<0||e>511)throw new Error(`invalid umask value: ${e}`);return e},yB=(e,t,r)=>{try{return e[t]=D1(r),!0}catch{return!1}};T1.exports={Umask:Jf,parse:D1,validate:yB}});var ls=F((vH,I1)=>{var vB="2.0.0",EB=Number.MAX_SAFE_INTEGER||9007199254740991,AB=16,SB=250,wB=["major","premajor","minor","preminor","patch","prepatch","prerelease"];I1.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:AB,MAX_SAFE_BUILD_LENGTH:SB,MAX_SAFE_INTEGER:EB,RELEASE_TYPES:wB,SEMVER_SPEC_VERSION:vB,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var fs=F((EH,L1)=>{var CB=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};L1.exports=CB});var hi=F((fr,N1)=>{var{MAX_SAFE_COMPONENT_LENGTH:eh,MAX_SAFE_BUILD_LENGTH:_B,MAX_LENGTH:xB}=ls(),bB=fs();fr=N1.exports={};var OB=fr.re=[],RB=fr.safeRe=[],X=fr.src=[],Q=fr.t={},FB=0,th="[a-zA-Z0-9-]",kB=[["\\s",1],["\\d",xB],[th,_B]],PB=e=>{for(let[t,r]of kB)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},ue=(e,t,r)=>{let n=PB(t),i=FB++;bB(e,i,t),Q[e]=i,X[i]=t,OB[i]=new RegExp(t,r?"g":void 0),RB[i]=new RegExp(n,r?"g":void 0)};ue("NUMERICIDENTIFIER","0|[1-9]\\d*");ue("NUMERICIDENTIFIERLOOSE","\\d+");ue("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${th}*`);ue("MAINVERSION",`(${X[Q.NUMERICIDENTIFIER]})\\.(${X[Q.NUMERICIDENTIFIER]})\\.(${X[Q.NUMERICIDENTIFIER]})`);ue("MAINVERSIONLOOSE",`(${X[Q.NUMERICIDENTIFIERLOOSE]})\\.(${X[Q.NUMERICIDENTIFIERLOOSE]})\\.(${X[Q.NUMERICIDENTIFIERLOOSE]})`);ue("PRERELEASEIDENTIFIER",`(?:${X[Q.NUMERICIDENTIFIER]}|${X[Q.NONNUMERICIDENTIFIER]})`);ue("PRERELEASEIDENTIFIERLOOSE",`(?:${X[Q.NUMERICIDENTIFIERLOOSE]}|${X[Q.NONNUMERICIDENTIFIER]})`);ue("PRERELEASE",`(?:-(${X[Q.PRERELEASEIDENTIFIER]}(?:\\.${X[Q.PRERELEASEIDENTIFIER]})*))`);ue("PRERELEASELOOSE",`(?:-?(${X[Q.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${X[Q.PRERELEASEIDENTIFIERLOOSE]})*))`);ue("BUILDIDENTIFIER",`${th}+`);ue("BUILD",`(?:\\+(${X[Q.BUILDIDENTIFIER]}(?:\\.${X[Q.BUILDIDENTIFIER]})*))`);ue("FULLPLAIN",`v?${X[Q.MAINVERSION]}${X[Q.PRERELEASE]}?${X[Q.BUILD]}?`);ue("FULL",`^${X[Q.FULLPLAIN]}$`);ue("LOOSEPLAIN",`[v=\\s]*${X[Q.MAINVERSIONLOOSE]}${X[Q.PRERELEASELOOSE]}?${X[Q.BUILD]}?`);ue("LOOSE",`^${X[Q.LOOSEPLAIN]}$`);ue("GTLT","((?:<|>)?=?)");ue("XRANGEIDENTIFIERLOOSE",`${X[Q.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ue("XRANGEIDENTIFIER",`${X[Q.NUMERICIDENTIFIER]}|x|X|\\*`);ue("XRANGEPLAIN",`[v=\\s]*(${X[Q.XRANGEIDENTIFIER]})(?:\\.(${X[Q.XRANGEIDENTIFIER]})(?:\\.(${X[Q.XRANGEIDENTIFIER]})(?:${X[Q.PRERELEASE]})?${X[Q.BUILD]}?)?)?`);ue("XRANGEPLAINLOOSE",`[v=\\s]*(${X[Q.XRANGEIDENTIFIERLOOSE]})(?:\\.(${X[Q.XRANGEIDENTIFIERLOOSE]})(?:\\.(${X[Q.XRANGEIDENTIFIERLOOSE]})(?:${X[Q.PRERELEASELOOSE]})?${X[Q.BUILD]}?)?)?`);ue("XRANGE",`^${X[Q.GTLT]}\\s*${X[Q.XRANGEPLAIN]}$`);ue("XRANGELOOSE",`^${X[Q.GTLT]}\\s*${X[Q.XRANGEPLAINLOOSE]}$`);ue("COERCEPLAIN",`(^|[^\\d])(\\d{1,${eh}})(?:\\.(\\d{1,${eh}}))?(?:\\.(\\d{1,${eh}}))?`);ue("COERCE",`${X[Q.COERCEPLAIN]}(?:$|[^\\d])`);ue("COERCEFULL",X[Q.COERCEPLAIN]+`(?:${X[Q.PRERELEASE]})?(?:${X[Q.BUILD]})?(?:$|[^\\d])`);ue("COERCERTL",X[Q.COERCE],!0);ue("COERCERTLFULL",X[Q.COERCEFULL],!0);ue("LONETILDE","(?:~>?)");ue("TILDETRIM",`(\\s*)${X[Q.LONETILDE]}\\s+`,!0);fr.tildeTrimReplace="$1~";ue("TILDE",`^${X[Q.LONETILDE]}${X[Q.XRANGEPLAIN]}$`);ue("TILDELOOSE",`^${X[Q.LONETILDE]}${X[Q.XRANGEPLAINLOOSE]}$`);ue("LONECARET","(?:\\^)");ue("CARETTRIM",`(\\s*)${X[Q.LONECARET]}\\s+`,!0);fr.caretTrimReplace="$1^";ue("CARET",`^${X[Q.LONECARET]}${X[Q.XRANGEPLAIN]}$`);ue("CARETLOOSE",`^${X[Q.LONECARET]}${X[Q.XRANGEPLAINLOOSE]}$`);ue("COMPARATORLOOSE",`^${X[Q.GTLT]}\\s*(${X[Q.LOOSEPLAIN]})$|^$`);ue("COMPARATOR",`^${X[Q.GTLT]}\\s*(${X[Q.FULLPLAIN]})$|^$`);ue("COMPARATORTRIM",`(\\s*)${X[Q.GTLT]}\\s*(${X[Q.LOOSEPLAIN]}|${X[Q.XRANGEPLAIN]})`,!0);fr.comparatorTrimReplace="$1$2$3";ue("HYPHENRANGE",`^\\s*(${X[Q.XRANGEPLAIN]})\\s+-\\s+(${X[Q.XRANGEPLAIN]})\\s*$`);ue("HYPHENRANGELOOSE",`^\\s*(${X[Q.XRANGEPLAINLOOSE]})\\s+-\\s+(${X[Q.XRANGEPLAINLOOSE]})\\s*$`);ue("STAR","(<|>)?=?\\s*\\*");ue("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ue("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var ga=F((AH,B1)=>{var DB=Object.freeze({loose:!0}),TB=Object.freeze({}),IB=e=>e?typeof e!="object"?DB:e:TB;B1.exports=IB});var rh=F((SH,j1)=>{var $1=/^[0-9]+$/,M1=(e,t)=>{let r=$1.test(e),n=$1.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},LB=(e,t)=>M1(t,e);j1.exports={compareIdentifiers:M1,rcompareIdentifiers:LB}});var Ve=F((wH,U1)=>{var ma=fs(),{MAX_LENGTH:q1,MAX_SAFE_INTEGER:ya}=ls(),{safeRe:H1,t:G1}=hi(),NB=ga(),{compareIdentifiers:di}=rh(),nh=class e{constructor(t,r){if(r=NB(r),t instanceof e){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>q1)throw new TypeError(`version is longer than ${q1} characters`);ma("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=t.trim().match(r.loose?H1[G1.LOOSE]:H1[G1.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>ya||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ya||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ya||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let s=+i;if(s>=0&&s<ya)return s}return i}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(ma("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if(typeof t=="string"&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),di(this.major,t.major)||di(this.minor,t.minor)||di(this.patch,t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let n=this.prerelease[r],i=t.prerelease[r];if(ma("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return di(n,i)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let n=this.build[r],i=t.build[r];if(ma("build compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return di(n,i)}while(++r)}inc(t,r,n){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let i=Number(n)?1:0;if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[i];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let s=[r,i];n===!1&&(s=[r]),di(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};U1.exports=nh});var dn=F((CH,Y1)=>{var W1=Ve(),BB=(e,t,r=!1)=>{if(e instanceof W1)return e;try{return new W1(e,t)}catch(n){if(!r)return null;throw n}};Y1.exports=BB});var V1=F((_H,z1)=>{var $B=dn(),MB=(e,t)=>{let r=$B(e,t);return r?r.version:null};z1.exports=MB});var X1=F((xH,K1)=>{var jB=dn(),qB=(e,t)=>{let r=jB(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};K1.exports=qB});var Z1=F((bH,J1)=>{var Q1=Ve(),HB=(e,t,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new Q1(e instanceof Q1?e.version:e,r).inc(t,n,i).version}catch{return null}};J1.exports=HB});var rS=F((OH,tS)=>{var eS=dn(),GB=(e,t)=>{let r=eS(e,null,!0),n=eS(t,null,!0),i=r.compare(n);if(i===0)return null;let s=i>0,o=s?r:n,a=s?n:r,u=!!o.prerelease.length;if(!!a.prerelease.length&&!u)return!a.patch&&!a.minor?"major":o.patch?"patch":o.minor?"minor":"major";let f=u?"pre":"";return r.major!==n.major?f+"major":r.minor!==n.minor?f+"minor":r.patch!==n.patch?f+"patch":"prerelease"};tS.exports=GB});var iS=F((RH,nS)=>{var UB=Ve(),WB=(e,t)=>new UB(e,t).major;nS.exports=WB});var oS=F((FH,sS)=>{var YB=Ve(),zB=(e,t)=>new YB(e,t).minor;sS.exports=zB});var uS=F((kH,aS)=>{var VB=Ve(),KB=(e,t)=>new VB(e,t).patch;aS.exports=KB});var lS=F((PH,cS)=>{var XB=dn(),QB=(e,t)=>{let r=XB(e,t);return r&&r.prerelease.length?r.prerelease:null};cS.exports=QB});var bt=F((DH,hS)=>{var fS=Ve(),JB=(e,t,r)=>new fS(e,r).compare(new fS(t,r));hS.exports=JB});var pS=F((TH,dS)=>{var ZB=bt(),e$=(e,t,r)=>ZB(t,e,r);dS.exports=e$});var mS=F((IH,gS)=>{var t$=bt(),r$=(e,t)=>t$(e,t,!0);gS.exports=r$});var va=F((LH,vS)=>{var yS=Ve(),n$=(e,t,r)=>{let n=new yS(e,r),i=new yS(t,r);return n.compare(i)||n.compareBuild(i)};vS.exports=n$});var AS=F((NH,ES)=>{var i$=va(),s$=(e,t)=>e.sort((r,n)=>i$(r,n,t));ES.exports=s$});var wS=F((BH,SS)=>{var o$=va(),a$=(e,t)=>e.sort((r,n)=>o$(n,r,t));SS.exports=a$});var hs=F(($H,CS)=>{var u$=bt(),c$=(e,t,r)=>u$(e,t,r)>0;CS.exports=c$});var Ea=F((MH,_S)=>{var l$=bt(),f$=(e,t,r)=>l$(e,t,r)<0;_S.exports=f$});var ih=F((jH,xS)=>{var h$=bt(),d$=(e,t,r)=>h$(e,t,r)===0;xS.exports=d$});var sh=F((qH,bS)=>{var p$=bt(),g$=(e,t,r)=>p$(e,t,r)!==0;bS.exports=g$});var Aa=F((HH,OS)=>{var m$=bt(),y$=(e,t,r)=>m$(e,t,r)>=0;OS.exports=y$});var Sa=F((GH,RS)=>{var v$=bt(),E$=(e,t,r)=>v$(e,t,r)<=0;RS.exports=E$});var oh=F((UH,FS)=>{var A$=ih(),S$=sh(),w$=hs(),C$=Aa(),_$=Ea(),x$=Sa(),b$=(e,t,r,n)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return A$(e,r,n);case"!=":return S$(e,r,n);case">":return w$(e,r,n);case">=":return C$(e,r,n);case"<":return _$(e,r,n);case"<=":return x$(e,r,n);default:throw new TypeError(`Invalid operator: ${t}`)}};FS.exports=b$});var PS=F((WH,kS)=>{var O$=Ve(),R$=dn(),{safeRe:wa,t:Ca}=hi(),F$=(e,t)=>{if(e instanceof O$)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(t.includePrerelease?wa[Ca.COERCEFULL]:wa[Ca.COERCE]);else{let u=t.includePrerelease?wa[Ca.COERCERTLFULL]:wa[Ca.COERCERTL],c;for(;(c=u.exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||c.index+c[0].length!==r.index+r[0].length)&&(r=c),u.lastIndex=c.index+c[1].length+c[2].length;u.lastIndex=-1}if(r===null)return null;let n=r[2],i=r[3]||"0",s=r[4]||"0",o=t.includePrerelease&&r[5]?`-${r[5]}`:"",a=t.includePrerelease&&r[6]?`+${r[6]}`:"";return R$(`${n}.${i}.${s}${o}${a}`,t)};kS.exports=F$});var TS=F((YH,DS)=>{var ah=class{constructor(){this.max=1e3,this.map=new Map}get(t){let r=this.map.get(t);if(r!==void 0)return this.map.delete(t),this.map.set(t,r),r}delete(t){return this.map.delete(t)}set(t,r){if(!this.delete(t)&&r!==void 0){if(this.map.size>=this.max){let i=this.map.keys().next().value;this.delete(i)}this.map.set(t,r)}return this}};DS.exports=ah});var Ot=F((zH,BS)=>{var k$=/\s+/g,uh=class e{constructor(t,r){if(r=D$(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof ch)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t.trim().replace(k$," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(i=>!LS(i[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&M$(i[0])){this.set=[i];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let t=0;t<this.set.length;t++){t>0&&(this.formatted+="||");let r=this.set[t];for(let n=0;n<r.length;n++)n>0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(t){let n=((this.options.includePrerelease&&B$)|(this.options.loose&&$$))+":"+t,i=IS.get(n);if(i)return i;let s=this.options.loose,o=s?ct[rt.HYPHENRANGELOOSE]:ct[rt.HYPHENRANGE];t=t.replace(o,K$(this.options.includePrerelease)),_e("hyphen replace",t),t=t.replace(ct[rt.COMPARATORTRIM],I$),_e("comparator trim",t),t=t.replace(ct[rt.TILDETRIM],L$),_e("tilde trim",t),t=t.replace(ct[rt.CARETTRIM],N$),_e("caret trim",t);let a=t.split(" ").map(l=>j$(l,this.options)).join(" ").split(/\s+/).map(l=>V$(l,this.options));s&&(a=a.filter(l=>(_e("loose invalid filter",l,this.options),!!l.match(ct[rt.COMPARATORLOOSE])))),_e("range list",a);let u=new Map,c=a.map(l=>new ch(l,this.options));for(let l of c){if(LS(l))return[l];u.set(l.value,l)}u.size>1&&u.has("")&&u.delete("");let f=[...u.values()];return IS.set(n,f),f}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some(n=>NS(n,r)&&t.set.some(i=>NS(i,r)&&n.every(s=>i.every(o=>s.intersects(o,r)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new T$(t,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(X$(this.set[r],t,this.options))return!0;return!1}};BS.exports=uh;var P$=TS(),IS=new P$,D$=ga(),ch=ds(),_e=fs(),T$=Ve(),{safeRe:ct,t:rt,comparatorTrimReplace:I$,tildeTrimReplace:L$,caretTrimReplace:N$}=hi(),{FLAG_INCLUDE_PRERELEASE:B$,FLAG_LOOSE:$$}=ls(),LS=e=>e.value==="<0.0.0-0",M$=e=>e.value==="",NS=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every(s=>i.intersects(s,t)),i=n.pop();return r},j$=(e,t)=>(_e("comp",e,t),e=G$(e,t),_e("caret",e),e=q$(e,t),_e("tildes",e),e=W$(e,t),_e("xrange",e),e=z$(e,t),_e("stars",e),e),nt=e=>!e||e.toLowerCase()==="x"||e==="*",q$=(e,t)=>e.trim().split(/\s+/).map(r=>H$(r,t)).join(" "),H$=(e,t)=>{let r=t.loose?ct[rt.TILDELOOSE]:ct[rt.TILDE];return e.replace(r,(n,i,s,o,a)=>{_e("tilde",e,n,i,s,o,a);let u;return nt(i)?u="":nt(s)?u=`>=${i}.0.0 <${+i+1}.0.0-0`:nt(o)?u=`>=${i}.${s}.0 <${i}.${+s+1}.0-0`:a?(_e("replaceTilde pr",a),u=`>=${i}.${s}.${o}-${a} <${i}.${+s+1}.0-0`):u=`>=${i}.${s}.${o} <${i}.${+s+1}.0-0`,_e("tilde return",u),u})},G$=(e,t)=>e.trim().split(/\s+/).map(r=>U$(r,t)).join(" "),U$=(e,t)=>{_e("caret",e,t);let r=t.loose?ct[rt.CARETLOOSE]:ct[rt.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(i,s,o,a,u)=>{_e("caret",e,i,s,o,a,u);let c;return nt(s)?c="":nt(o)?c=`>=${s}.0.0${n} <${+s+1}.0.0-0`:nt(a)?s==="0"?c=`>=${s}.${o}.0${n} <${s}.${+o+1}.0-0`:c=`>=${s}.${o}.0${n} <${+s+1}.0.0-0`:u?(_e("replaceCaret pr",u),s==="0"?o==="0"?c=`>=${s}.${o}.${a}-${u} <${s}.${o}.${+a+1}-0`:c=`>=${s}.${o}.${a}-${u} <${s}.${+o+1}.0-0`:c=`>=${s}.${o}.${a}-${u} <${+s+1}.0.0-0`):(_e("no pr"),s==="0"?o==="0"?c=`>=${s}.${o}.${a}${n} <${s}.${o}.${+a+1}-0`:c=`>=${s}.${o}.${a}${n} <${s}.${+o+1}.0-0`:c=`>=${s}.${o}.${a} <${+s+1}.0.0-0`),_e("caret return",c),c})},W$=(e,t)=>(_e("replaceXRanges",e,t),e.split(/\s+/).map(r=>Y$(r,t)).join(" ")),Y$=(e,t)=>{e=e.trim();let r=t.loose?ct[rt.XRANGELOOSE]:ct[rt.XRANGE];return e.replace(r,(n,i,s,o,a,u)=>{_e("xRange",e,n,i,s,o,a,u);let c=nt(s),f=c||nt(o),l=f||nt(a),h=l;return i==="="&&h&&(i=""),u=t.includePrerelease?"-0":"",c?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&h?(f&&(o=0),a=0,i===">"?(i=">=",f?(s=+s+1,o=0,a=0):(o=+o+1,a=0)):i==="<="&&(i="<",f?s=+s+1:o=+o+1),i==="<"&&(u="-0"),n=`${i+s}.${o}.${a}${u}`):f?n=`>=${s}.0.0${u} <${+s+1}.0.0-0`:l&&(n=`>=${s}.${o}.0${u} <${s}.${+o+1}.0-0`),_e("xRange return",n),n})},z$=(e,t)=>(_e("replaceStars",e,t),e.trim().replace(ct[rt.STAR],"")),V$=(e,t)=>(_e("replaceGTE0",e,t),e.trim().replace(ct[t.includePrerelease?rt.GTE0PRE:rt.GTE0],"")),K$=e=>(t,r,n,i,s,o,a,u,c,f,l,h)=>(nt(n)?r="":nt(i)?r=`>=${n}.0.0${e?"-0":""}`:nt(s)?r=`>=${n}.${i}.0${e?"-0":""}`:o?r=`>=${r}`:r=`>=${r}${e?"-0":""}`,nt(c)?u="":nt(f)?u=`<${+c+1}.0.0-0`:nt(l)?u=`<${c}.${+f+1}.0-0`:h?u=`<=${c}.${f}.${l}-${h}`:e?u=`<${c}.${f}.${+l+1}-0`:u=`<=${u}`,`${r} ${u}`.trim()),X$=(e,t,r)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let n=0;n<e.length;n++)if(_e(e[n].semver),e[n].semver!==ch.ANY&&e[n].semver.prerelease.length>0){let i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}});var ds=F((VH,GS)=>{var ps=Symbol("SemVer ANY"),hh=class e{static get ANY(){return ps}constructor(t,r){if(r=$S(r),t instanceof e){if(t.loose===!!r.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),fh("comparator",t,r),this.options=r,this.loose=!!r.loose,this.parse(t),this.semver===ps?this.value="":this.value=this.operator+this.semver.version,fh("comp",this)}parse(t){let r=this.options.loose?MS[jS.COMPARATORLOOSE]:MS[jS.COMPARATOR],n=t.match(r);if(!n)throw new TypeError(`Invalid comparator: ${t}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new qS(n[2],this.options.loose):this.semver=ps}toString(){return this.value}test(t){if(fh("Comparator.test",t,this.options.loose),this.semver===ps||t===ps)return!0;if(typeof t=="string")try{t=new qS(t,this.options)}catch{return!1}return lh(t,this.operator,this.semver,this.options)}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new HS(t.value,r).test(this.value):t.operator===""?t.value===""?!0:new HS(this.value,r).test(t.semver):(r=$S(r),r.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&t.operator.startsWith(">")||this.operator.startsWith("<")&&t.operator.startsWith("<")||this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")||lh(this.semver,"<",t.semver,r)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||lh(this.semver,">",t.semver,r)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};GS.exports=hh;var $S=ga(),{safeRe:MS,t:jS}=hi(),lh=oh(),fh=fs(),qS=Ve(),HS=Ot()});var gs=F((KH,US)=>{var Q$=Ot(),J$=(e,t,r)=>{try{t=new Q$(t,r)}catch{return!1}return t.test(e)};US.exports=J$});var YS=F((XH,WS)=>{var Z$=Ot(),eM=(e,t)=>new Z$(e,t).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));WS.exports=eM});var VS=F((QH,zS)=>{var tM=Ve(),rM=Ot(),nM=(e,t,r)=>{let n=null,i=null,s=null;try{s=new rM(t,r)}catch{return null}return e.forEach(o=>{s.test(o)&&(!n||i.compare(o)===-1)&&(n=o,i=new tM(n,r))}),n};zS.exports=nM});var XS=F((JH,KS)=>{var iM=Ve(),sM=Ot(),oM=(e,t,r)=>{let n=null,i=null,s=null;try{s=new sM(t,r)}catch{return null}return e.forEach(o=>{s.test(o)&&(!n||i.compare(o)===1)&&(n=o,i=new iM(n,r))}),n};KS.exports=oM});var ZS=F((ZH,JS)=>{var dh=Ve(),aM=Ot(),QS=hs(),uM=(e,t)=>{e=new aM(e,t);let r=new dh("0.0.0");if(e.test(r)||(r=new dh("0.0.0-0"),e.test(r)))return r;r=null;for(let n=0;n<e.set.length;++n){let i=e.set[n],s=null;i.forEach(o=>{let a=new dh(o.semver.version);switch(o.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!s||QS(a,s))&&(s=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),s&&(!r||QS(r,s))&&(r=s)}return r&&e.test(r)?r:null};JS.exports=uM});var tw=F((e8,ew)=>{var cM=Ot(),lM=(e,t)=>{try{return new cM(e,t).range||"*"}catch{return null}};ew.exports=lM});var _a=F((t8,sw)=>{var fM=Ve(),iw=ds(),{ANY:hM}=iw,dM=Ot(),pM=gs(),rw=hs(),nw=Ea(),gM=Sa(),mM=Aa(),yM=(e,t,r,n)=>{e=new fM(e,n),t=new dM(t,n);let i,s,o,a,u;switch(r){case">":i=rw,s=gM,o=nw,a=">",u=">=";break;case"<":i=nw,s=mM,o=rw,a="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(pM(e,t,n))return!1;for(let c=0;c<t.set.length;++c){let f=t.set[c],l=null,h=null;if(f.forEach(d=>{d.semver===hM&&(d=new iw(">=0.0.0")),l=l||d,h=h||d,i(d.semver,l.semver,n)?l=d:o(d.semver,h.semver,n)&&(h=d)}),l.operator===a||l.operator===u||(!h.operator||h.operator===a)&&s(e,h.semver))return!1;if(h.operator===u&&o(e,h.semver))return!1}return!0};sw.exports=yM});var aw=F((r8,ow)=>{var vM=_a(),EM=(e,t,r)=>vM(e,t,">",r);ow.exports=EM});var cw=F((n8,uw)=>{var AM=_a(),SM=(e,t,r)=>AM(e,t,"<",r);uw.exports=SM});var hw=F((i8,fw)=>{var lw=Ot(),wM=(e,t,r)=>(e=new lw(e,r),t=new lw(t,r),e.intersects(t,r));fw.exports=wM});var pw=F((s8,dw)=>{var CM=gs(),_M=bt();dw.exports=(e,t,r)=>{let n=[],i=null,s=null,o=e.sort((f,l)=>_M(f,l,r));for(let f of o)CM(f,t,r)?(s=f,i||(i=f)):(s&&n.push([i,s]),s=null,i=null);i&&n.push([i,null]);let a=[];for(let[f,l]of n)f===l?a.push(f):!l&&f===o[0]?a.push("*"):l?f===o[0]?a.push(`<=${l}`):a.push(`${f} - ${l}`):a.push(`>=${f}`);let u=a.join(" || "),c=typeof t.raw=="string"?t.raw:String(t);return u.length<c.length?u:t}});var Aw=F((o8,Ew)=>{var gw=Ot(),gh=ds(),{ANY:ph}=gh,ms=gs(),mh=bt(),xM=(e,t,r={})=>{if(e===t)return!0;e=new gw(e,r),t=new gw(t,r);let n=!1;e:for(let i of e.set){for(let s of t.set){let o=OM(i,s,r);if(n=n||o!==null,o)continue e}if(n)return!1}return!0},bM=[new gh(">=0.0.0-0")],mw=[new gh(">=0.0.0")],OM=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===ph){if(t.length===1&&t[0].semver===ph)return!0;r.includePrerelease?e=bM:e=mw}if(t.length===1&&t[0].semver===ph){if(r.includePrerelease)return!0;t=mw}let n=new Set,i,s;for(let d of e)d.operator===">"||d.operator===">="?i=yw(i,d,r):d.operator==="<"||d.operator==="<="?s=vw(s,d,r):n.add(d.semver);if(n.size>1)return null;let o;if(i&&s){if(o=mh(i.semver,s.semver,r),o>0)return null;if(o===0&&(i.operator!==">="||s.operator!=="<="))return null}for(let d of n){if(i&&!ms(d,String(i),r)||s&&!ms(d,String(s),r))return null;for(let g of t)if(!ms(d,String(g),r))return!1;return!0}let a,u,c,f,l=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,h=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;l&&l.prerelease.length===1&&s.operator==="<"&&l.prerelease[0]===0&&(l=!1);for(let d of t){if(f=f||d.operator===">"||d.operator===">=",c=c||d.operator==="<"||d.operator==="<=",i){if(h&&d.semver.prerelease&&d.semver.prerelease.length&&d.semver.major===h.major&&d.semver.minor===h.minor&&d.semver.patch===h.patch&&(h=!1),d.operator===">"||d.operator===">="){if(a=yw(i,d,r),a===d&&a!==i)return!1}else if(i.operator===">="&&!ms(i.semver,String(d),r))return!1}if(s){if(l&&d.semver.prerelease&&d.semver.prerelease.length&&d.semver.major===l.major&&d.semver.minor===l.minor&&d.semver.patch===l.patch&&(l=!1),d.operator==="<"||d.operator==="<="){if(u=vw(s,d,r),u===d&&u!==s)return!1}else if(s.operator==="<="&&!ms(s.semver,String(d),r))return!1}if(!d.operator&&(s||i)&&o!==0)return!1}return!(i&&c&&!s&&o!==0||s&&f&&!i&&o!==0||h||l)},yw=(e,t,r)=>{if(!e)return t;let n=mh(e.semver,t.semver,r);return n>0?e:n<0||t.operator===">"&&e.operator===">="?t:e},vw=(e,t,r)=>{if(!e)return t;let n=mh(e.semver,t.semver,r);return n<0?e:n>0||t.operator==="<"&&e.operator==="<="?t:e};Ew.exports=xM});var _w=F((a8,Cw)=>{var yh=hi(),Sw=ls(),RM=Ve(),ww=rh(),FM=dn(),kM=V1(),PM=X1(),DM=Z1(),TM=rS(),IM=iS(),LM=oS(),NM=uS(),BM=lS(),$M=bt(),MM=pS(),jM=mS(),qM=va(),HM=AS(),GM=wS(),UM=hs(),WM=Ea(),YM=ih(),zM=sh(),VM=Aa(),KM=Sa(),XM=oh(),QM=PS(),JM=ds(),ZM=Ot(),e3=gs(),t3=YS(),r3=VS(),n3=XS(),i3=ZS(),s3=tw(),o3=_a(),a3=aw(),u3=cw(),c3=hw(),l3=pw(),f3=Aw();Cw.exports={parse:FM,valid:kM,clean:PM,inc:DM,diff:TM,major:IM,minor:LM,patch:NM,prerelease:BM,compare:$M,rcompare:MM,compareLoose:jM,compareBuild:qM,sort:HM,rsort:GM,gt:UM,lt:WM,eq:YM,neq:zM,gte:VM,lte:KM,cmp:XM,coerce:QM,Comparator:JM,Range:ZM,satisfies:e3,toComparators:t3,maxSatisfying:r3,minSatisfying:n3,minVersion:i3,validRange:s3,outside:o3,gtr:a3,ltr:u3,intersects:c3,simplifyRange:l3,subset:f3,SemVer:RM,re:yh.re,src:yh.src,tokens:yh.t,SEMVER_SPEC_VERSION:Sw.SEMVER_SPEC_VERSION,RELEASE_TYPES:Sw.RELEASE_TYPES,compareIdentifiers:ww.compareIdentifiers,rcompareIdentifiers:ww.rcompareIdentifiers}});var xa=F((u8,vh)=>{var Hr=uf(),{Umask:h3,validate:d3}=Zf(),xw=_w(),p3=(e,t,r)=>{let n=xw.valid(r);if(!n)return!1;e[t]=n},g3=Hr.typeDefs.path.validate,m3=(e,t,r)=>typeof r!="string"?!1:g3(e,t,r);vh.exports={...Hr.typeDefs,semver:{type:xw,validate:p3,description:"full valid SemVer string"},Umask:{type:h3,validate:d3,description:"octal number in range 0o000..0o777 (0..511)"},url:{...Hr.typeDefs.url,description:'full url with "http://"'},path:{...Hr.typeDefs.path,validate:m3,description:"valid filesystem path"},Number:{...Hr.typeDefs.Number,description:"numeric value"},Boolean:{...Hr.typeDefs.Boolean,description:"boolean value (true or false)"},Date:{...Hr.typeDefs.Date,description:"valid Date string"}};Hr.typeDefs=vh.exports});var Rw=F((c8,Ow)=>{var{URL:bw}=M("url");Ow.exports=e=>{let t=new bw(e),r=`${t.protocol}//${t.host}${t.pathname}`,n=new bw(".",r);return`//${n.host}${n.pathname}`}});var Eh=F((l8,Fw)=>{var y3=/(?<!\\)(\\*)\$\{([^${}]+)\}/g;Fw.exports=(e,t)=>e.replace(y3,(r,n,i)=>{let s=t[i]!==void 0?t[i]:`\${${i}}`;return n.length%2?r.slice((n.length+1)/2):n.slice(n.length/2)+s})});var Dw=F((f8,Pw)=>{var ys=xa(),v3=Eh(),{resolve:kw}=M("path"),{parse:E3}=Zf(),Ah=(e,t,r,n=!1)=>{if(typeof e!="string"&&!Array.isArray(e))return e;let{platform:i,types:s,home:o,env:a}=r,u=new Set([].concat(s[t])),c=u.has(ys.path.type),f=u.has(ys.Boolean.type),l=c||u.has(ys.String.type),h=u.has(ys.Umask.type),d=u.has(ys.Number.type),g=!n&&u.has(Array);if(Array.isArray(e))return g?e.map(S=>Ah(S,t,r,!0)):e;if(e=e.trim(),g)return Ah(e.split(`
80
+ `,n=t.whitespace?" = ":"=",i=[],s=t.sort?Object.keys(e).sort():Object.keys(e),o=0;t.align&&(o=Pr(s.filter(u=>e[u]===null||Array.isArray(e[u])||typeof e[u]!="object").map(u=>Array.isArray(e[u])?`${u}[]`:u).concat([""]).reduce((u,f)=>Pr(u).length>=Pr(f).length?u:f)).length);let a="",c=t.bracketedArray?"[]":"";for(let u of s){let f=e[u];if(f&&Array.isArray(f))for(let l of f)a+=Pr(`${u}${c}`).padEnd(o," ")+n+Pr(l)+r;else f&&typeof f=="object"?i.push(u):a+=Pr(u).padEnd(o," ")+n+Pr(f)+r}t.section&&a.length&&(a="["+Pr(t.section)+"]"+(t.newline?r+r:r)+a);for(let u of i){let f=Tw(u,".").join("\\."),l=(t.section?t.section+".":"")+f,h=jh(e[u],{...t,section:l});a.length&&h.length&&(a+=r),a+=h}return a};function Tw(e,t){var r=0,n=0,i=0,s=[];do if(i=e.indexOf(t,r),i!==-1){if(r=i+t.length,i>0&&e[i-1]==="\\")continue;s.push(e.slice(n,i)),n=i+t.length}while(i!==-1);return s.push(e.slice(n)),s}var Lw=(e,t={})=>{t.bracketedArray=t.bracketedArray!==!1;let r=Object.create(null),n=r,i=null,s=/^\[([^\]]*)\]\s*$|^([^=]+)(=(.*))?$/i,o=e.split(/[\r\n]+/g),a={};for(let u of o){if(!u||u.match(/^\s*[;#]/)||u.match(/^\s*$/))continue;let f=u.match(s);if(!f)continue;if(f[1]!==void 0){if(i=eu(f[1]),i==="__proto__"){n=Object.create(null);continue}n=r[i]=r[i]||Object.create(null);continue}let l=eu(f[2]),h;t.bracketedArray?h=l.length>2&&l.slice(-2)==="[]":(a[l]=(a?.[l]||0)+1,h=a[l]>1);let p=h&&l.endsWith("[]")?l.slice(0,-2):l;if(p==="__proto__")continue;let d=f[3]?eu(f[4]):!0,g=d==="true"||d==="false"||d==="null"?JSON.parse(d):d;h&&(Mh.call(n,p)?Array.isArray(n[p])||(n[p]=[n[p]]):n[p]=[]),Array.isArray(n[p])?n[p].push(g):n[p]=g}let c=[];for(let u of Object.keys(r)){if(!Mh.call(r,u)||typeof r[u]!="object"||Array.isArray(r[u]))continue;let f=Tw(u,".");n=r;let l=f.pop(),h=l.replace(/\\\./g,".");for(let p of f)p!=="__proto__"&&((!Mh.call(n,p)||typeof n[p]!="object")&&(n[p]=Object.create(null)),n=n[p]);n===r&&h===l||(n[h]=r[u],c.push(u))}for(let u of c)delete r[u];return r},kw=e=>e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"),Pr=e=>typeof e!="string"||e.match(/[=\r\n]/)||e.match(/^\[/)||e.length>1&&kw(e)||e!==e.trim()?JSON.stringify(e):e.split(";").join("\\;").split("#").join("\\#"),eu=e=>{if(e=(e||"").trim(),kw(e)){e.charAt(0)==="'"&&(e=e.slice(1,-1));try{e=JSON.parse(e)}catch{}}else{let t=!1,r="";for(let n=0,i=e.length;n<i;n++){let s=e.charAt(n);if(t)"\\;#".indexOf(s)!==-1?r+=s:r+="\\"+s,t=!1;else{if(";#".indexOf(s)!==-1)break;s==="\\"?t=!0:r+=s}}return t&&(r+="\\"),r.trim()}return e};Nw.exports={parse:Lw,decode:Lw,stringify:jh,encode:jh,safe:Pr,unsafe:eu}});var $w=_((k5,Iw)=>{Iw.exports=wM;function wM(...e){let t=e.length===1||Array.isArray(e[0])?e[0]:e;for(let i=0,s=t.length;i<s;i++)t[i]=typeof t[i]=="string"?t[i]:String(t[i]);t=t.sort(SM);let r={},n="";for(let i=0,s=t.length;i<s;i++){let o=t[i],a=t[i+1]||"",c=!0,u=!0;if(o===a)continue;let f=0,l=o.length;for(;f<l;f++){let h=o.charAt(f);if(c=c&&h===a.charAt(f),u=u&&h===n.charAt(f),!c&&!u){f++;break}}if(n=o,f===l){r[o]=o;continue}for(let h=o.slice(0,f);f<=l;f++)r[h]=o,h+=o.charAt(f)}return r}function SM(e,t){return e===t?0:e>t?1:-1}});var Gh=_((N5,Bw)=>{Bw.exports=process.env.DEBUG_NOPT||process.env.NOPT_DEBUG?(...e)=>console.error(...e):()=>{}});var Hh=_((I5,Gw)=>{var Mw=M("url"),Uh=M("path"),jw=M("stream").Stream,bM=M("os"),qw=Gh();function CM(e,t,r){e[t]=String(r)}function xM(e,t,r){if(r===!0)return!1;if(r===null)return!0;r=String(r);let i=process.platform==="win32"?/^~(\/|\\)/:/^~\//,s=bM.homedir();return s&&r.match(i)?e[t]=Uh.resolve(s,r.slice(2)):e[t]=Uh.resolve(r),!0}function OM(e,t,r){if(qw("validate Number %j %j %j",t,r,isNaN(r)),isNaN(r))return!1;e[t]=+r}function _M(e,t,r){let n=Date.parse(r);if(qw("validate Date %j %j %j",t,r,n),isNaN(n))return!1;e[t]=new Date(r)}function PM(e,t,r){typeof r=="string"?isNaN(r)?r==="null"||r==="false"?r=!1:r=!0:r=!!+r:r=!!r,e[t]=r}function RM(e,t,r){if(r=Mw.parse(String(r)),!r.host)return!1;e[t]=r.href}function DM(e,t,r){if(!(r instanceof jw))return!1;e[t]=r}Gw.exports={String:{type:String,validate:CM},Boolean:{type:Boolean,validate:PM},url:{type:Mw,validate:RM},Number:{type:Number,validate:OM},path:{type:Uh,validate:xM},Stream:{type:jw,validate:DM},Date:{type:Date,validate:_M},Array:{type:Array}}});var Xw=_(($5,Kw)=>{var tu=$w(),Fe=Gh(),FM=Hh(),Hw=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Ww=(e,{types:t,dynamicTypes:r})=>{let n=Hw(t,e),i=t[e];if(!n&&typeof r=="function"){let s=r(e);s!==void 0&&(i=s,n=!0)}return[n,i]},Ri=(e,t)=>t&&e===t,lr=(e,t)=>t&&e.indexOf(t)!==-1,LM=(e,t)=>t&&!lr(e,t);function TM(e,{types:t,shorthands:r,typeDefs:n,invalidHandler:i,typeDefault:s,dynamicTypes:o}={}){Fe(t,r,e,n);let a={},c={remain:[],cooked:e,original:e.slice(0)};return Yw(e,a,c.remain,{typeDefs:n,types:t,dynamicTypes:o,shorthands:r}),zw(a,{types:t,dynamicTypes:o,typeDefs:n,invalidHandler:i,typeDefault:s}),a.argv=c,Object.defineProperty(a.argv,"toString",{value:function(){return this.original.map(JSON.stringify).join(" ")},enumerable:!1}),a}function zw(e,{types:t={},typeDefs:r={},dynamicTypes:n,invalidHandler:i,typeDefault:s}={}){let o=r.String?.type,a=r.Number?.type,c=r.Array?.type,u=r.Boolean?.type,f=r.Date?.type,l=typeof s<"u";l||(s=[!1,!0,null],o&&s.push(o),c&&s.push(c));let h={};Object.keys(e).forEach(p=>{if(p==="argv")return;let d=e[p];Fe("val=%j",d);let g=Array.isArray(d),[E,x]=Ww(p,{types:t,dynamicTypes:n}),b=x;g||(d=[d]),b||(b=s),Ri(b,c)&&(b=s.concat(c)),Array.isArray(b)||(b=[b]),Fe("val=%j",d),Fe("types=",b),d=d.map(L=>{if(typeof L=="string"&&(Fe("string %j",L),L=L.trim(),L==="null"&&~b.indexOf(null)||L==="true"&&(~b.indexOf(!0)||lr(b,u))||L==="false"&&(~b.indexOf(!1)||lr(b,u))?(L=JSON.parse(L),Fe("jsonable %j",L)):lr(b,a)&&!isNaN(L)?(Fe("convert to number",L),L=+L):lr(b,f)&&!isNaN(Date.parse(L))&&(Fe("convert to date",L),L=new Date(L))),!E){if(!l)return L;x=s}L===!1&&~b.indexOf(null)&&!(~b.indexOf(!1)||lr(b,u))&&(L=null);let F={};return F[p]=L,Fe("prevalidated val",F,L,x),Wh(F,p,L,x,{typeDefs:r})?(Fe("validated v",F,L,x),F[p]):(i?i(p,L,x,e):i!==!1&&Fe("invalid: "+p+"="+L,x),h)}).filter(L=>L!==h),!d.length&&LM(b,c)?(Fe("VAL HAS NO LENGTH, DELETE IT",d,p,b.indexOf(c)),delete e[p]):g?(Fe(g,e[p],d),e[p]=d):e[p]=d[0],Fe("k=%s val=%j",p,d,e[p])})}function Wh(e,t,r,n,{typeDefs:i}={}){let s=i?.Array?.type;if(Array.isArray(n)){for(let c=0,u=n.length;c<u;c++)if(!Ri(n[c],s)&&Wh(e,t,r,n[c],{typeDefs:i}))return!0;return delete e[t],!1}if(Ri(n,s))return!0;if(n!==n)return Fe("Poison NaN",t,r,n),delete e[t],!1;if(r===n)return Fe("Explicitly allowed %j",r),e[t]=r,!0;let o=!1,a=Object.keys(i);for(let c=0,u=a.length;c<u;c++){Fe("test type %j %j %j",t,r,a[c]);let f=i[a[c]];if(f&&(n&&n.name&&f.type&&f.type.name?n.name===f.type.name:n===f.type)){let l={};if(o=f.validate(l,t,r)!==!1,r=l[t],o){e[t]=r;break}}}return Fe("OK? %j (%j %j %j)",o,t,r,a[a.length-1]),o||delete e[t],o}function Yw(e,t,r,{types:n={},typeDefs:i={},shorthands:s={},dynamicTypes:o}={}){let a=i.String?.type,c=i.Number?.type,u=i.Array?.type,f=i.Boolean?.type;Fe("parse",e,t,r);let l=tu(Object.keys(n));Fe("abbrevs=%j",l);let h=tu(Object.keys(s));for(let p=0;p<e.length;p++){let d=e[p];if(Fe("arg",d),d.match(/^-{2,}$/)){r.push.apply(r,e.slice(p+1)),e[p]="--";break}let g=!1;if(d.charAt(0)==="-"&&d.length>1){let E=d.indexOf("=");if(E>-1){g=!0;let O=d.slice(E+1);d=d.slice(0,E),e.splice(p,1,d,O)}let x=Vw(d,h,l,{shorthands:s});if(Fe("arg=%j shRes=%j",d,x),x&&(e.splice.apply(e,[p,1].concat(x)),d!==x[0])){p--;continue}d=d.replace(/^-+/,"");let b=null;for(;d.toLowerCase().indexOf("no-")===0;)b=!b,d=d.slice(3);l[d]&&(d=l[d]);let[L,F]=Ww(d,{types:n,dynamicTypes:o}),A=Array.isArray(F);A&&F.length===1&&(A=!1,F=F[0]);let R=Ri(F,u)||A&&lr(F,u);!L&&Hw(t,d)&&(Array.isArray(t[d])||(t[d]=[t[d]]),R=!0);let D,P=e[p+1];if(typeof b=="boolean"||Ri(F,f)||A&&lr(F,f)||typeof F>"u"&&!g||P==="false"&&(F===null||A&&~F.indexOf(null))){D=!b,(P==="true"||P==="false")&&(D=JSON.parse(P),P=null,b&&(D=!D),p++),A&&P&&(~F.indexOf(P)?(D=P,p++):P==="null"&&~F.indexOf(null)?(D=null,p++):!P.match(/^-{2,}[^-]/)&&!isNaN(P)&&lr(F,c)?(D=+P,p++):!P.match(/^-[^-]/)&&lr(F,a)&&(D=P,p++)),R?(t[d]=t[d]||[]).push(D):t[d]=D;continue}Ri(F,a)&&(P===void 0?P="":P.match(/^-{1,2}[^-]+/)&&(P="",p--)),P&&P.match(/^-{2,}$/)&&(P=void 0,p--),D=P===void 0?!0:P,R?(t[d]=t[d]||[]).push(D):t[d]=D,p++;continue}r.push(d)}}var Uw=Symbol("singles"),kM=(e,t)=>{let r=t[Uw];r||(r=Object.keys(t).filter(i=>i.length===1).reduce((i,s)=>(i[s]=!0,i),{}),t[Uw]=r,Fe("shorthand singles",r));let n=e.split("").filter(i=>r[i]);return n.join("")===e?n:null};function Vw(e,...t){let{types:r={},shorthands:n={}}=t.length?t.pop():{},i=t[0]??tu(Object.keys(n)),s=t[1]??tu(Object.keys(r));if(e=e.replace(/^-+/,""),s[e]===e)return null;if(n[e])return n[e]&&!Array.isArray(n[e])&&(n[e]=n[e].split(/\s+/)),n[e];let o=kM(e,n);return o?o.map(a=>n[a]).reduce((a,c)=>a.concat(c),[]):s[e]&&!n[e]?null:(i[e]&&(e=i[e]),n[e]&&!Array.isArray(n[e])&&(n[e]=n[e].split(/\s+/)),n[e])}Kw.exports={nopt:TM,clean:zw,parse:Yw,validate:Wh,resolveShort:Vw,typeDefs:FM}});var Yh=_((Rr,Jw)=>{var zh=Xw(),NM=Hh();Jw.exports=Rr=IM;Rr.clean=$M;Rr.typeDefs=NM;Rr.lib=zh;function IM(e,t,r=process.argv,n=2){return zh.nopt(r.slice(n),{types:e||{},shorthands:t||{},typeDefs:Rr.typeDefs,invalidHandler:Rr.invalidHandler})}function $M(e,t,r=Rr.typeDefs){return zh.clean(e,{types:t||{},typeDefs:r,invalidHandler:Rr.invalidHandler})}});var Os=_((B5,Qw)=>{var BM=Symbol("proc-log.meta");Qw.exports={META:BM,output:{LEVELS:["standard","error","buffer","flush"],KEYS:{standard:"standard",error:"error",buffer:"buffer",flush:"flush"},standard:function(...e){return process.emit("output","standard",...e)},error:function(...e){return process.emit("output","error",...e)},buffer:function(...e){return process.emit("output","buffer",...e)},flush:function(...e){return process.emit("output","flush",...e)}},log:{LEVELS:["notice","error","warn","info","verbose","http","silly","timing","pause","resume"],KEYS:{notice:"notice",error:"error",warn:"warn",info:"info",verbose:"verbose",http:"http",silly:"silly",timing:"timing",pause:"pause",resume:"resume"},error:function(...e){return process.emit("log","error",...e)},notice:function(...e){return process.emit("log","notice",...e)},warn:function(...e){return process.emit("log","warn",...e)},info:function(...e){return process.emit("log","info",...e)},verbose:function(...e){return process.emit("log","verbose",...e)},http:function(...e){return process.emit("log","http",...e)},silly:function(...e){return process.emit("log","silly",...e)},timing:function(...e){return process.emit("log","timing",...e)},pause:function(){return process.emit("log","pause")},resume:function(){return process.emit("log","resume")}},time:{LEVELS:["start","end"],KEYS:{start:"start",end:"end"},start:function(e,t){process.emit("time","start",e);function r(){return process.emit("time","end",e)}if(typeof t=="function"){let n=t();return n&&n.finally?n.finally(r):(r(),n)}return r},end:function(e){return process.emit("time","end",e)}},input:{LEVELS:["start","end","read"],KEYS:{start:"start",end:"end",read:"read"},start:function(e){process.emit("input","start");function t(){return process.emit("input","end")}if(typeof e=="function"){let r=e();return r&&r.finally?r.finally(t):(t(),r)}return t},end:function(){return process.emit("input","end")},read:function(...e){let t,r,n=new Promise((i,s)=>{t=i,r=s});return process.emit("input","read",t,r,...e),n}}}});var Vh=_((M5,eS)=>{var Zw=e=>{if(typeof e=="string"){if(/^0o?[0-7]+$/.test(e))return parseInt(e.replace(/^0o?/,""),8);if(/^[1-9][0-9]*$/.test(e))return parseInt(e,10);throw new Error(`invalid umask value: ${e}`)}else{if(typeof e!="number")throw new Error(`invalid umask value: ${e}`);if(e=Math.floor(e),e<0||e>511)throw new Error(`invalid umask value: ${e}`);return e}},MM=(e,t,r)=>{try{return e[t]=Zw(r),!0}catch{return!1}};eS.exports={parse:Zw,validate:MM}});var _s=_((j5,tS)=>{var jM=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};tS.exports=jM});var Ps=_((q5,rS)=>{var qM="2.0.0",GM=Number.MAX_SAFE_INTEGER||9007199254740991,UM=16,HM=250,WM=["major","premajor","minor","preminor","patch","prepatch","prerelease"];rS.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:UM,MAX_SAFE_BUILD_LENGTH:HM,MAX_SAFE_INTEGER:GM,RELEASE_TYPES:WM,SEMVER_SPEC_VERSION:qM,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Di=_((Dr,nS)=>{var{MAX_SAFE_COMPONENT_LENGTH:Kh,MAX_SAFE_BUILD_LENGTH:zM,MAX_LENGTH:YM}=Ps(),VM=_s();Dr=nS.exports={};var KM=Dr.re=[],XM=Dr.safeRe=[],X=Dr.src=[],J=Dr.t={},JM=0,Xh="[a-zA-Z0-9-]",QM=[["\\s",1],["\\d",YM],[Xh,zM]],ZM=e=>{for(let[t,r]of QM)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},ce=(e,t,r)=>{let n=ZM(t),i=JM++;VM(e,i,t),J[e]=i,X[i]=t,KM[i]=new RegExp(t,r?"g":void 0),XM[i]=new RegExp(n,r?"g":void 0)};ce("NUMERICIDENTIFIER","0|[1-9]\\d*");ce("NUMERICIDENTIFIERLOOSE","\\d+");ce("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Xh}*`);ce("MAINVERSION",`(${X[J.NUMERICIDENTIFIER]})\\.(${X[J.NUMERICIDENTIFIER]})\\.(${X[J.NUMERICIDENTIFIER]})`);ce("MAINVERSIONLOOSE",`(${X[J.NUMERICIDENTIFIERLOOSE]})\\.(${X[J.NUMERICIDENTIFIERLOOSE]})\\.(${X[J.NUMERICIDENTIFIERLOOSE]})`);ce("PRERELEASEIDENTIFIER",`(?:${X[J.NUMERICIDENTIFIER]}|${X[J.NONNUMERICIDENTIFIER]})`);ce("PRERELEASEIDENTIFIERLOOSE",`(?:${X[J.NUMERICIDENTIFIERLOOSE]}|${X[J.NONNUMERICIDENTIFIER]})`);ce("PRERELEASE",`(?:-(${X[J.PRERELEASEIDENTIFIER]}(?:\\.${X[J.PRERELEASEIDENTIFIER]})*))`);ce("PRERELEASELOOSE",`(?:-?(${X[J.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${X[J.PRERELEASEIDENTIFIERLOOSE]})*))`);ce("BUILDIDENTIFIER",`${Xh}+`);ce("BUILD",`(?:\\+(${X[J.BUILDIDENTIFIER]}(?:\\.${X[J.BUILDIDENTIFIER]})*))`);ce("FULLPLAIN",`v?${X[J.MAINVERSION]}${X[J.PRERELEASE]}?${X[J.BUILD]}?`);ce("FULL",`^${X[J.FULLPLAIN]}$`);ce("LOOSEPLAIN",`[v=\\s]*${X[J.MAINVERSIONLOOSE]}${X[J.PRERELEASELOOSE]}?${X[J.BUILD]}?`);ce("LOOSE",`^${X[J.LOOSEPLAIN]}$`);ce("GTLT","((?:<|>)?=?)");ce("XRANGEIDENTIFIERLOOSE",`${X[J.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ce("XRANGEIDENTIFIER",`${X[J.NUMERICIDENTIFIER]}|x|X|\\*`);ce("XRANGEPLAIN",`[v=\\s]*(${X[J.XRANGEIDENTIFIER]})(?:\\.(${X[J.XRANGEIDENTIFIER]})(?:\\.(${X[J.XRANGEIDENTIFIER]})(?:${X[J.PRERELEASE]})?${X[J.BUILD]}?)?)?`);ce("XRANGEPLAINLOOSE",`[v=\\s]*(${X[J.XRANGEIDENTIFIERLOOSE]})(?:\\.(${X[J.XRANGEIDENTIFIERLOOSE]})(?:\\.(${X[J.XRANGEIDENTIFIERLOOSE]})(?:${X[J.PRERELEASELOOSE]})?${X[J.BUILD]}?)?)?`);ce("XRANGE",`^${X[J.GTLT]}\\s*${X[J.XRANGEPLAIN]}$`);ce("XRANGELOOSE",`^${X[J.GTLT]}\\s*${X[J.XRANGEPLAINLOOSE]}$`);ce("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Kh}})(?:\\.(\\d{1,${Kh}}))?(?:\\.(\\d{1,${Kh}}))?`);ce("COERCE",`${X[J.COERCEPLAIN]}(?:$|[^\\d])`);ce("COERCEFULL",X[J.COERCEPLAIN]+`(?:${X[J.PRERELEASE]})?(?:${X[J.BUILD]})?(?:$|[^\\d])`);ce("COERCERTL",X[J.COERCE],!0);ce("COERCERTLFULL",X[J.COERCEFULL],!0);ce("LONETILDE","(?:~>?)");ce("TILDETRIM",`(\\s*)${X[J.LONETILDE]}\\s+`,!0);Dr.tildeTrimReplace="$1~";ce("TILDE",`^${X[J.LONETILDE]}${X[J.XRANGEPLAIN]}$`);ce("TILDELOOSE",`^${X[J.LONETILDE]}${X[J.XRANGEPLAINLOOSE]}$`);ce("LONECARET","(?:\\^)");ce("CARETTRIM",`(\\s*)${X[J.LONECARET]}\\s+`,!0);Dr.caretTrimReplace="$1^";ce("CARET",`^${X[J.LONECARET]}${X[J.XRANGEPLAIN]}$`);ce("CARETLOOSE",`^${X[J.LONECARET]}${X[J.XRANGEPLAINLOOSE]}$`);ce("COMPARATORLOOSE",`^${X[J.GTLT]}\\s*(${X[J.LOOSEPLAIN]})$|^$`);ce("COMPARATOR",`^${X[J.GTLT]}\\s*(${X[J.FULLPLAIN]})$|^$`);ce("COMPARATORTRIM",`(\\s*)${X[J.GTLT]}\\s*(${X[J.LOOSEPLAIN]}|${X[J.XRANGEPLAIN]})`,!0);Dr.comparatorTrimReplace="$1$2$3";ce("HYPHENRANGE",`^\\s*(${X[J.XRANGEPLAIN]})\\s+-\\s+(${X[J.XRANGEPLAIN]})\\s*$`);ce("HYPHENRANGELOOSE",`^\\s*(${X[J.XRANGEPLAINLOOSE]})\\s+-\\s+(${X[J.XRANGEPLAINLOOSE]})\\s*$`);ce("STAR","(<|>)?=?\\s*\\*");ce("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ce("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var ru=_((G5,iS)=>{var ej=Object.freeze({loose:!0}),tj=Object.freeze({}),rj=e=>e?typeof e!="object"?ej:e:tj;iS.exports=rj});var Jh=_((U5,aS)=>{var sS=/^[0-9]+$/,oS=(e,t)=>{let r=sS.test(e),n=sS.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},nj=(e,t)=>oS(t,e);aS.exports={compareIdentifiers:oS,rcompareIdentifiers:nj}});var it=_((H5,fS)=>{var nu=_s(),{MAX_LENGTH:uS,MAX_SAFE_INTEGER:iu}=Ps(),{safeRe:cS,t:lS}=Di(),ij=ru(),{compareIdentifiers:Fi}=Jh(),Qh=class e{constructor(t,r){if(r=ij(r),t instanceof e){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>uS)throw new TypeError(`version is longer than ${uS} characters`);nu("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=t.trim().match(r.loose?cS[lS.LOOSE]:cS[lS.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>iu||this.major<0)throw new TypeError("Invalid major version");if(this.minor>iu||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>iu||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let s=+i;if(s>=0&&s<iu)return s}return i}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(nu("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if(typeof t=="string"&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),Fi(this.major,t.major)||Fi(this.minor,t.minor)||Fi(this.patch,t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let n=this.prerelease[r],i=t.prerelease[r];if(nu("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return Fi(n,i)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let n=this.build[r],i=t.build[r];if(nu("build compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return Fi(n,i)}while(++r)}inc(t,r,n){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let i=Number(n)?1:0;if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[i];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let s=[r,i];n===!1&&(s=[r]),Fi(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};fS.exports=Qh});var Fn=_((W5,pS)=>{var hS=it(),sj=(e,t,r=!1)=>{if(e instanceof hS)return e;try{return new hS(e,t)}catch(n){if(!r)return null;throw n}};pS.exports=sj});var Rs=_((z5,dS)=>{var oj=Fn(),aj=(e,t)=>{let r=oj(e,t);return r?r.version:null};dS.exports=aj});var su=_((Y5,tp)=>{var sn=Yh(),{validate:uj}=Vh(),Zh=class{},ep=class{},cj=Rs(),lj=(e,t,r)=>{let n=cj(r);if(!n)return!1;e[t]=n},fj=sn.typeDefs.path.validate,hj=(e,t,r)=>typeof r!="string"?!1:fj(e,t,r);tp.exports={...sn.typeDefs,semver:{type:ep,validate:lj,description:"full valid SemVer string"},Umask:{type:Zh,validate:uj,description:"octal number in range 0o000..0o777 (0..511)"},url:{...sn.typeDefs.url,description:'full url with "http://"'},path:{...sn.typeDefs.path,validate:hj,description:"valid filesystem path"},Number:{...sn.typeDefs.Number,description:"numeric value"},Boolean:{...sn.typeDefs.Boolean,description:"boolean value (true or false)"},Date:{...sn.typeDefs.Date,description:"valid Date string"}};sn.typeDefs=tp.exports});var yS=_((V5,gS)=>{var{URL:mS}=M("node:url");gS.exports=e=>{let t=new mS(e),r=`${t.protocol}//${t.host}${t.pathname}`,n=new mS(".",r);return`//${n.host}${n.pathname}`}});var rp=_((K5,vS)=>{var pj=/(?<!\\)(\\*)\$\{([^${}]+)\}/g;vS.exports=(e,t)=>e.replace(pj,(r,n,i)=>{let s=t[i]!==void 0?t[i]:`\${${i}}`;return n.length%2?r.slice((n.length+1)/2):n.slice(n.length/2)+s})});var wS=_((X5,AS)=>{var Li=su(),dj=rp(),{resolve:ES}=M("node:path"),{parse:mj}=Vh(),np=(e,t,r,n=!1)=>{if(typeof e!="string"&&!Array.isArray(e))return e;let{platform:i,types:s,home:o,env:a}=r,c=new Set([].concat(s[t])),u=c.has(Li.path.type),f=c.has(Li.Boolean.type),l=u||c.has(Li.String.type),h=c.has(Li.Umask.type),p=c.has(Li.Number.type),d=!n&&c.has(Array),g=c.has(Li.Date.type);if(Array.isArray(e))return d?e.map(E=>np(E,t,r,!0)):e;if(e=e.trim(),d)return np(e.split(`
88
81
 
89
- `),t,r);if(f&&!l&&e==="")return!0;if(!l&&!c&&!d)switch(e){case"true":return!0;case"false":return!1;case"null":return null;case"undefined":return}if(e=v3(e,a),c&&((i==="win32"?/^~(\/|\\)/:/^~\//).test(e)&&o?e=kw(o,e.slice(2)):e=kw(e)),h)try{return E3(e)}catch{return e}return d&&!isNaN(e)&&(e=+e),e};Pw.exports=Ah});var Lw=F((h8,Iw)=>{var A3=xa(),Tw=e=>{if(!e||typeof e!="function"&&typeof e!="object")return e;if(Array.isArray(e))return e.map(t=>Tw(t));for(let{type:t,description:r}of Object.values(A3))if(t===e)return r||t;return e};Iw.exports=e=>[].concat(Tw(e)).filter(t=>t!==void 0)});var Mw=F((d8,$w)=>{var S3=(e,t)=>!/^[/@_]/.test(e)&&typeof Sh(t)=="string"&&`npm_config_${e.replace(/-/g,"_").toLowerCase()}`,Sh=e=>Array.isArray(e)?e.map(t=>Sh(t)).join(`
82
+ `),t,r);if(f&&!l&&e==="")return!0;if(!l&&!u&&!p)switch(e){case"true":return!0;case"false":return!1;case"null":return null;case"undefined":return}if(e=dj(e,a),g)return new Date(e);if(u&&((i==="win32"?/^~(\/|\\)/:/^~\//).test(e)&&o?e=ES(o,e.slice(2)):e=ES(e)),h)try{return mj(e)}catch{return e}return p&&!isNaN(e)&&(e=+e),e};AS.exports=np});var xS=_((J5,CS)=>{var gj=(e,t)=>!/^[/@_]/.test(e)&&typeof ip(t)=="string"&&`npm_config_${e.replace(/-/g,"_").toLowerCase()}`,ip=e=>Array.isArray(e)?e.map(t=>ip(t)).join(`
90
83
 
91
- `):e==null||e===!1?"":typeof e=="object"?null:String(e),Nw=(e,t)=>!Array.isArray(t)||!Array.isArray(e)?e===t:w3(e,t),w3=(e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0},Bw=(e,t,r)=>{let n=Sh(r),i=S3(t,n);i&&n!==null&&(e[i]=n)},C3=e=>{let{env:t,defaults:r,definitions:n,list:[i,s]}=e;t.INIT_CWD=process.cwd();let o=new Set(Object.keys(i)),a=new Set(Object.keys(s));for(let u in i){let{deprecated:c,envExport:f=!0}=n[u]||{};c||f===!1||(Nw(r[u],i[u])?Nw(s[u],i[u])||Bw(t,u,i[u]):a.has(u)&&!o.has(u)||Bw(t,u,i[u]))}t.HOME=e.home,t.npm_config_global_prefix=e.globalPrefix,t.npm_config_local_prefix=e.localPrefix,i.editor&&(t.EDITOR=i.editor),i["node-options"]&&(t.NODE_OPTIONS=i["node-options"]),M.main&&M.main.filename&&(t.npm_execpath=M.main.filename),t.NODE=t.npm_node_execpath=e.execPath};$w.exports=C3});var Vw=F((g8,zw)=>{var _3=mE(),jw=SE(),pi=uf(),x3=yA(),b3=R1(),O3=Ff(),hr=P1(),qw=process.getuid&&process.getuid(),R3=process.getgid&&process.getgid(),{resolve:pn,dirname:ba,join:F3}=M("path"),{homedir:k3}=M("os"),{promisify:Ei}=M("util"),Ai=M("fs"),P3=Ei(Ai.readFile),D3=Ei(Ai.writeFile),T3=Ei(Ai.chmod),I3=Ei(Ai.chown),L3=Ei(Ai.unlink),Oa=Ei(Ai.stat),Ra=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Hw=(e,t,r)=>{Object.defineProperty(e,t,{get:r,set(n){Object.defineProperty(e,t,{value:n,configurable:!0,writable:!0,enumerable:!0})},configurable:!0,enumerable:!0})},vs=xa(),gn=Rw(),N3=Eh(),B3=Dw(),$3=Lw(),M3=Mw(),Yw=new Set(["global","user","project"]),Es=new Set(["default","builtin",...Yw,"env","cli"]),wh=Symbol("loaded"),lt=Symbol("get"),Gw=Symbol("find"),gi=Symbol("loadObject"),As=Symbol("loadFile"),Ch=Symbol("checkDeprecated"),Uw=Symbol("flatten"),mn=Symbol("flatOptions"),_h=class{static get typeDefs(){return vs}constructor({definitions:t,shorthands:r,flatten:n,npmPath:i,env:s=process.env,argv:o=process.argv,platform:a=process.platform,execPath:u=process.execPath,cwd:c=process.cwd()}){this.definitions=t;let f={},l={};this.deprecated={};for(let[g,S]of Object.entries(t))l[g]=S.default,f[g]=S.type,S.deprecated&&(this.deprecated[g]=S.deprecated.trim().replace(/\n +/,`
92
- `));this[mn]=null,this[Uw]=n,this.types=f,this.shorthands=r,this.defaults=l,this.npmPath=i,this.argv=o,this.env=s,this.execPath=u,this.platform=a,this.cwd=c,this.globalPrefix=null,this.localPrefix=null,this.home=null;let h=[...Es];this.data=new Map;let d=null;for(let g of h)this.data.set(g,d=new xh(d));this.data.set=()=>{throw new Error("cannot change internal config data structure")},this.data.delete=()=>{throw new Error("cannot change internal config data structure")},this.sources=new Map([]),this.list=[];for(let{data:g}of this.data.values())this.list.unshift(g);Object.freeze(this.list),this[wh]=!1}get loaded(){return this[wh]}get prefix(){return this[lt]("global")?this.globalPrefix:this.localPrefix}find(t){if(!this.loaded)throw new Error("call config.load() before reading values");return this[Gw](t)}[Gw](t){let r=[...this.data.entries()];for(let n=r.length-1;n>-1;n--){let[i,{data:s}]=r[n];if(Ra(s,t))return i}return null}get(t,r){if(!this.loaded)throw new Error("call config.load() before reading values");return this[lt](t,r)}[lt](t,r=null){if(r!==null&&!Es.has(r))throw new Error("invalid config location param: "+r);let{data:n}=this.data.get(r||"cli");return r===null||Ra(n,t)?n[t]:void 0}set(t,r,n="cli"){if(!this.loaded)throw new Error("call config.load() before setting values");if(!Es.has(n))throw new Error("invalid config location param: "+n);this[Ch](t);let{data:i}=this.data.get(n);i[t]=r,this.data.get(n)[vi]=null,this[mn]=null}get flat(){if(this[mn])return this[mn];process.emit("time","config:load:flatten"),this[mn]={};for(let{data:t}of this.data.values())this[Uw](t,this[mn]);return process.emit("timeEnd","config:load:flatten"),this[mn]}delete(t,r="cli"){if(!this.loaded)throw new Error("call config.load() before deleting values");if(!Es.has(r))throw new Error("invalid config location param: "+r);delete this.data.get(r).data[t]}async load(){if(this.loaded)throw new Error("attempting to load npm config multiple times");process.emit("time","config:load"),process.emit("time","config:load:defaults"),this.loadDefaults(),process.emit("timeEnd","config:load:defaults"),process.emit("time","config:load:builtin"),await this.loadBuiltinConfig(),process.emit("timeEnd","config:load:builtin"),process.emit("time","config:load:cli"),this.loadCLI(),process.emit("timeEnd","config:load:cli"),process.emit("time","config:load:env"),this.loadEnv(),process.emit("timeEnd","config:load:env"),process.emit("time","config:load:project"),await this.loadProjectConfig(),process.emit("timeEnd","config:load:project"),process.emit("time","config:load:user"),await this.loadUserConfig(),process.emit("timeEnd","config:load:user"),process.emit("time","config:load:global"),await this.loadGlobalConfig(),process.emit("timeEnd","config:load:global"),process.emit("time","config:load:validate"),this.validate(),process.emit("timeEnd","config:load:validate"),this[wh]=!0,process.emit("time","config:load:credentials");let t=this.get("registry"),r=this.getCredentialsByURI(t);try{this.setCredentialsByURI(t,r)}catch{}process.emit("timeEnd","config:load:credentials"),this.globalPrefix=this.get("prefix"),process.emit("time","config:load:setEnvs"),this.setEnvs(),process.emit("timeEnd","config:load:setEnvs"),process.emit("timeEnd","config:load")}loadDefaults(){this.loadGlobalPrefix(),this.loadHome(),this[gi]({...this.defaults,prefix:this.globalPrefix},"default","default values");let{data:t}=this.data.get("default");Hw(t,"metrics-registry",()=>this[lt]("registry")),Hw(t,"globalconfig",()=>pn(this[lt]("prefix"),"etc/npmrc"))}loadHome(){if(this.env.HOME)return this.home=this.env.HOME;this.home=k3()}loadGlobalPrefix(){if(this.globalPrefix)throw new Error("cannot load default global prefix more than once");this.env.PREFIX?this.globalPrefix=this.env.PREFIX:this.platform==="win32"?this.globalPrefix=ba(this.execPath):(this.globalPrefix=ba(ba(this.execPath)),this.env.DESTDIR&&(this.globalPrefix=F3(this.env.DESTDIR,this.globalPrefix)))}loadEnv(){let t=Object.create(null);for(let[r,n]of Object.entries(this.env)){if(!/^npm_config_/i.test(r)||n==="")continue;let i=r.slice(11);i.startsWith("//")||(i=i.replace(/(?!^)_/g,"-").toLowerCase()),t[i]=n}this[gi](t,"env","environment")}loadCLI(){pi.invalidHandler=(r,n,i)=>this.invalidHandler(r,n,i,"command line options","cli");let t=pi(this.types,this.shorthands,this.argv);pi.invalidHandler=null,this.parsedArgv=t.argv,delete t.argv,this[gi](t,"cli","command line options")}get valid(){for(let[t,{valid:r}]of this.data.entries())if(r===!1||r===null&&!this.validate(t))return!1;return!0}validate(t){if(t){let r=this.data.get(t);return r[vi]=!0,pi.invalidHandler=(n,i,s)=>this.invalidHandler(n,i,s,r.source,t),pi.clean(r.data,this.types,this.typeDefs),pi.invalidHandler=null,r[vi]}else{let r=!0;for(let[n]of this.data.entries()){if(n==="default"||n==="builtin"||n==="cli")continue;let i=this.validate(n);r=r&&i}return r}}isDefault(t){let[r,...n]=[...Es],i=this.data.get(r).data;return Ra(i,t)&&n.every(s=>{let o=this.data.get(s).data;return!Ra(o,t)})}invalidHandler(t,r,n,i,s){hr.warn("invalid config",t+"="+JSON.stringify(r),`set in ${i}`),this.data.get(s)[vi]=!1,Array.isArray(n)&&(n.includes(vs.url.type)?n=vs.url.type:n.includes(vs.path.type)&&(n=vs.path.type));let o=$3(n),a=o.indexOf(Array)!==-1,u=o.filter(h=>h!==void 0&&h!==Array),f="Must be"+(u.length===1&&a?" one or more":u.length>1&&a?" one or more of:":u.length>1?" one of:":""),l=u.length===1?u[0]:u.filter(h=>h!==Array).map(h=>typeof h=="string"?h:JSON.stringify(h)).join(", ");hr.warn("invalid config",f,l)}[gi](t,r,n,i=null){let s=this.data.get(r);if(s.source){let o=`double-loading "${r}" configs from ${n}, previously loaded from ${s.source}`;throw new Error(o)}if(this.sources.has(n)){let o=`double-loading config "${n}" as "${r}", previously loaded as "${this.sources.get(n)}"`;throw new Error(o)}if(s.source=n,this.sources.set(n,r),i)s.loadError=i,i.code!=="ENOENT"&&hr.verbose("config",`error loading ${r} config`,i);else{s.raw=t;for(let[o,a]of Object.entries(t)){let u=N3(o,this.env),c=this.parseField(a,u);r!=="default"&&this[Ch](u,r,t,[o,a]),s.data[u]=c}}}[Ch](t,r,n,i){this.deprecated[t]&&hr.warn("config",t,this.deprecated[t])}parseField(t,r,n=!1){return B3(t,r,this,n)}async[As](t,r){process.emit("time","config:load:file:"+t),await P3(t,"utf8").then(n=>this[gi](jw.parse(n),r,t),n=>this[gi](null,r,t,n)),process.emit("timeEnd","config:load:file:"+t)}loadBuiltinConfig(){return this[As](pn(this.npmPath,"npmrc"),"builtin")}async loadProjectConfig(){if(await this.loadLocalPrefix(),this[lt]("global")===!0||this[lt]("location")==="global"){this.data.get("project").source="(global mode enabled, ignored)",this.sources.set(this.data.get("project").source,"project");return}let t=pn(this.localPrefix,".npmrc");if(t!==this[lt]("userconfig"))return this[As](t,"project");this.data.get("project").source='(same as "user" config, ignored)',this.sources.set(this.data.get("project").source,"project")}async loadLocalPrefix(){let t=this[lt]("prefix","cli");if(t){this.localPrefix=t;return}let r=this[lt]("workspaces","cli"),n=this[lt]("global")||this[lt]("location")==="global";for(let i of _3(this.cwd)){let s=await Oa(pn(i,"node_modules")).then(a=>a.isDirectory()).catch(()=>!1),o=await Oa(pn(i,"package.json")).then(a=>a.isFile()).catch(()=>!1);if(!this.localPrefix&&(s||o)){if(this.localPrefix=i,r===!1||n)return;continue}if(this.localPrefix&&o){let a=await O3(pn(i,"package.json")).catch(()=>!1);if(!a)continue;let u=await b3({cwd:i,pkg:a});for(let c of u.values())if(c===this.localPrefix){await Oa(pn(this.localPrefix,".npmrc")).then(h=>h.isFile()).catch(()=>!1)&&hr.warn(`ignoring workspace config at ${this.localPrefix}/.npmrc`);let{data:l}=this.data.get("default");l.workspace=[this.localPrefix],this.localPrefix=i,hr.info(`found workspace root at ${this.localPrefix}`);return}}}this.localPrefix||(this.localPrefix=this.cwd)}loadUserConfig(){return this[As](this[lt]("userconfig"),"user")}loadGlobalConfig(){return this[As](this[lt]("globalconfig"),"global")}async save(t){if(!this.loaded)throw new Error("call config.load() before saving");if(!Yw.has(t))throw new Error("invalid config location param: "+t);let r=this.data.get(t);if(r[mi]={...r.data},r[yi]=null,t==="user"){let o=this.get("registry"),a=this.getCredentialsByURI(o);try{this.setCredentialsByURI(o,a)}catch{}}let n=jw.stringify(r.data).trim()+`
93
- `;if(!n.trim()){await L3(r.source).catch(o=>{});return}let i=ba(r.source);if(await x3(i),await D3(r.source,n,"utf8"),qw===0){let o=await Oa(i).catch(()=>null);o&&(o.uid!==qw||o.gid!==R3)&&await I3(r.source,o.uid,o.gid).catch(()=>{})}let s=t==="user"?384:438;await T3(r.source,s)}clearCredentialsByURI(t){let r=gn(t);gn(this.get("registry"))===r&&(this.delete("-authtoken","user"),this.delete("_authToken","user"),this.delete("_authtoken","user"),this.delete("_auth","user"),this.delete("_password","user"),this.delete("username","user")),this.delete(`${r}:_authToken`,"user"),this.delete(`${r}:_auth`,"user"),this.delete(`${r}:_password`,"user"),this.delete(`${r}:username`,"user"),this.delete(`${r}:email`,"user"),this.delete(`${r}:certfile`,"user"),this.delete(`${r}:keyfile`,"user")}setCredentialsByURI(t,{token:r,username:n,password:i,email:s,certfile:o,keyfile:a}){let u=gn(t),c=gn(this.get("registry"));if(c===u&&(this.delete("_password","user"),this.delete("username","user"),this.delete("_auth","user"),this.delete("_authtoken","user"),this.delete("-authtoken","user"),this.delete("_authToken","user")),u===c&&(s=s||this.get("email","user")||this.get(`${u}:email`,"user"),s&&this.set("email",s,"user")),this.delete(`${u}:always-auth`,"user"),this.delete(`${u}:email`,"user"),o&&a&&(this.set(`${u}:certfile`,o,"user"),this.set(`${u}:keyfile`,a,"user")),r)this.set(`${u}:_authToken`,r,"user"),this.delete(`${u}:_password`,"user"),this.delete(`${u}:username`,"user");else if(n||i){if(!n)throw new Error("must include username");if(!i)throw new Error("must include password");this.delete(`${u}:_authToken`,"user"),this.set(`${u}:username`,n,"user");let f=Buffer.from(i,"utf8").toString("base64");this.set(`${u}:_password`,f,"user")}else if(!o||!a)throw new Error("No credentials to set.")}getCredentialsByURI(t){let r=gn(t),n={},i=["`_auth`, `_authToken`, `username` and `_password` must be scoped to a registry.","see `npm help npmrc` for more information."].join(" "),s=this.get(`${r}:email`)||this.get("email");s&&(n.email=s);let o=this.get(`${r}:certfile`),a=this.get(`${r}:keyfile`);o&&a&&(n.certfile=o,n.keyfile=a);let u=gn(this.get("registry"))&&this.get("_authToken"),c=this.get(`${r}:_authToken`)||u;if(c)return c===u&&hr.warn("config",i),n.token=c,n;let f=this.get(`${r}:username`),l=this.get(`${r}:_password`);if(f&&l){n.username=f,n.password=Buffer.from(l,"base64").toString("utf8");let N=`${n.username}:${n.password}`;return n.auth=Buffer.from(N,"utf8").toString("base64"),n}let h=this.get(`${r}:_auth`);if(h){let D=Buffer.from(h,"base64").toString("utf8").split(":");return n.username=D.shift(),n.password=D.join(":"),n.auth=h,n}let d=gn(this.get("registry"));if(r!==d)return n;let g=this.get("username"),S=this.get("_password");if(g&&S){hr.warn("config",i),n.username=g,n.password=Buffer.from(S,"base64").toString("utf8");let N=`${n.username}:${n.password}`;return n.auth=Buffer.from(N,"utf8").toString("base64"),n}let w=this.get("_auth");if(!w)return n;hr.warn("config",i);let _=Buffer.from(w,"base64").toString("utf8").split(":");return n.username=_.shift(),n.password=_.join(":"),n.auth=w,n}setEnvs(){M3(this)}},Ww=Symbol("data"),mi=Symbol("raw"),yi=Symbol("loadError"),Fa=Symbol("source"),vi=Symbol("valid"),xh=class{constructor(t){this[Ww]=Object.create(t&&t.data),this[Fa]=null,this[yi]=null,this[mi]=null,this[vi]=!0}get data(){return this[Ww]}get valid(){return this[vi]}set source(t){if(this[Fa])throw new Error("cannot set ConfigData source more than once");this[Fa]=t}get source(){return this[Fa]}set loadError(t){if(this[yi]||this[mi])throw new Error("cannot set ConfigData loadError after load");this[yi]=t}get loadError(){return this[yi]}set raw(t){if(this[mi]||this[yi])throw new Error("cannot set ConfigData raw after load");this[mi]=t}get raw(){return this[mi]}};zw.exports=_h});var uv=kh(nv(),1);import{join as ov}from"node:path";import bT from"node:fs/promises";import av from"node:path";import{homedir as OT}from"node:os";var CT=e=>{try{e.startsWith("https://")||(e="https://"+e);let t=new URL(e),r=t.hostname,n=t.pathname;if(r.endsWith("dev.azure.com")){let i=n.split("/").filter(Boolean);if(i.length>=2)return{organization:i[0],project:i[1]};throw new Error("Not enough segments in path for a valid organization and project extraction.")}if(r.endsWith("visualstudio.com")){let i=r.split(".")[0],s=n.split("/").filter(Boolean);if(i&&s.length>=1)return{organization:i,project:s[0]};throw new Error("Not enough segments in path or missing subdomain for a valid organization and project extraction.")}throw new Error("URL format not recognized or does not contain enough information.")}catch{throw new Error("Invalid URL or unsupported format")}},ei=(e,t="")=>{try{let{organization:r}=CT(e);return r}catch{return t}};function Tr(e){return Buffer.from(e||"").toString("base64")}var Xo=e=>Buffer.from(e,"base64").toString("utf8");import _T from"https";var xT={port:443,method:"GET"},iv=async e=>new Promise((t,r)=>{let n={...xT,...e};_T.request(n,s=>{let o="",a={},u=s.statusCode===200;s.on("data",c=>{o+=c}),s.on("end",()=>{o&&n?.headers?.Accept==="application/json"&&(a=JSON.parse(o.toString().trim())),u?t(a||o):(a&&(a={...a,statusCode:s.statusCode}),r(a||o||new Error(`Error code: ${s.statusCode}.`)))}),s.on("error",c=>{r(new Error(c))})}).end()});var sv=async({password:e,organization:t})=>{let r=`Basic ${Tr(`.:${e}`)}`,n={hostname:"feeds.dev.azure.com",port:443,path:`/${t}/_apis/packaging/feeds/1?api-version=6.1-preview.1`,method:"GET",headers:{Accept:"application/json",Authorization:r}};try{await iv(n)}catch(i){if(i.statusCode===404)return;throw i}};var cv="me",lv="me@example.com",ti=class{constructor(t,r,n){this.id=t;this.workspaceFileName=r;let i;if(n&&av.basename(n)===this.workspaceFileName)i=av.resolve(n);else{let o=(0,uv.getWorkspaceRoot)(process.cwd())||"";i=ov(o,this.workspaceFileName)}this.workspaceFilePath=i;let s=process.env.HOME||process.env.USERPROFILE||OT()||"";this.userFilePath=ov(s,r),this.feeds=new Map}async isSupportedInRepo(){try{await bT.access(this.workspaceFilePath)}catch{return!1}return!0}async validateAllUsedFeeds(){await this.prepUserFile();let t=[],r=await this.getWorkspaceRegistries(),n=await this.getUserFeeds();for(let i of r){let s=n.get(i);if(s){let o=!0;try{await sv({password:s.authToken||"",organization:s.adoOrganization})}catch{o=!1}t.push({feed:s,isValid:o,fileProvider:this})}else t.push({feed:{registry:i,adoOrganization:ei(i)},isValid:!1,fileProvider:this})}return t}};function bv(e){return typeof e>"u"||e===null}function RT(e){return typeof e=="object"&&e!==null}function FT(e){return Array.isArray(e)?e:bv(e)?[]:[e]}function kT(e,t){var r,n,i,s;if(t)for(s=Object.keys(t),r=0,n=s.length;r<n;r+=1)i=s[r],e[i]=t[i];return e}function PT(e,t){var r="",n;for(n=0;n<t;n+=1)r+=e;return r}function DT(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var TT=bv,IT=RT,LT=FT,NT=PT,BT=DT,$T=kT,Be={isNothing:TT,isObject:IT,toArray:LT,repeat:NT,isNegativeZero:BT,extend:$T};function Ov(e,t){var r="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=`
84
+ `):e==null||e===!1?"":typeof e=="object"?null:String(e),SS=(e,t)=>!Array.isArray(t)||!Array.isArray(e)?e===t:yj(e,t),yj=(e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0},bS=(e,t,r)=>{let n=ip(r),i=gj(t,n);i&&n!==null&&(e[i]=n)},vj=e=>{let{env:t,defaults:r,definitions:n,list:[i,s]}=e;t.INIT_CWD=process.cwd();let o=new Set(Object.keys(i)),a=new Set(Object.keys(s));for(let c in i){let{deprecated:u,envExport:f=!0}=n[c]||{};u||f===!1||(SS(r[c],i[c])?SS(s[c],i[c])||bS(t,c,i[c]):a.has(c)&&!o.has(c)||bS(t,c,i[c]))}t.HOME=e.home,t.npm_config_global_prefix=e.globalPrefix,t.npm_config_local_prefix=e.localPrefix,i.editor&&(t.EDITOR=i.editor),i["node-options"]&&(t.NODE_OPTIONS=i["node-options"]),t.npm_execpath=e.npmBin,t.NODE=t.npm_node_execpath=e.execPath};CS.exports=vj});var _S=_((Q5,OS)=>{"use strict";var sp=class extends Error{constructor(t){let r="Invalid auth configuration found: ";r+=t.map(n=>{if(n.action==="delete")return`\`${n.key}\` is not allowed in ${n.where} config`;if(n.action==="rename")return`\`${n.from}\` must be renamed to \`${n.to}\` in ${n.where} config`}).join(", "),r+="\nPlease run `npm config fix` to repair your configuration.`",super(r),this.code="ERR_INVALID_AUTH",this.problems=t}};OS.exports={ErrInvalidAuth:sp}});var DS=_((Z5,RS)=>{var Ej=su(),PS=e=>{if(!e||typeof e!="function"&&typeof e!="object")return e;if(Array.isArray(e))return e.map(t=>PS(t));for(let{type:t,description:r}of Object.values(Ej))if(t===e)return r||t;return e};RS.exports=e=>[].concat(PS(e)).filter(t=>t!==void 0)});var ap=_((ez,kS)=>{"use strict";var Aj=Symbol.for("indent"),wj=Symbol.for("newline"),Sj=`
85
+ `,bj=" ",Cj=/^\uFEFF/,xj=/^\s*[{[]((?:\r?\n)+)([\s\t]*)/,Oj=/^(?:\{\}|\[\])((?:\r?\n)+)?$/,FS=/^Unexpected token '?(.)'?(,)? /i,_j=e=>{let t=e.charCodeAt(0).toString(16).toUpperCase();return`0x${t.length%2?"0":""}${t}`},LS=e=>String(e).replace(Cj,""),op=(e,t,r=0)=>({message:`${e} while parsing ${t}`,position:r}),Pj=(e,t,r=20)=>{let n=e.message;if(!t)return op(n,"empty string");let i=n.match(FS),s=n.match(/ position\s+(\d+)/i);i&&(n=n.replace(FS,`Unexpected token ${JSON.stringify(i[1])} (${_j(i[1])})$2 `));let o;if(s?o=+s[1]:n.match(/^Unexpected end of JSON.*/i)&&(o=t.length-1),o==null)return op(n,`'${t.slice(0,r*2)}'`);let a=o<=r?0:o-r,c=o+r>=t.length?t.length:o+r,u=`${a?"...":""}${t.slice(a,c)}${c===t.length?"":"..."}`;return op(n,`${t===u?"":"near "}${JSON.stringify(u)}`,o)},ou=class extends SyntaxError{constructor(t,r,n,i){let s=Pj(t,r,n);super(s.message),Object.assign(this,s),this.code="EJSONPARSE",this.systemError=t,Error.captureStackTrace(this,i||this.constructor)}get name(){return this.constructor.name}set name(t){}get[Symbol.toStringTag](){return this.constructor.name}},TS=(e,t)=>{let r=JSON.parse(e,t);if(r&&typeof r=="object"){let n=e.match(Oj)||e.match(xj)||[null,"",""];r[wj]=n[1]??Sj,r[Aj]=n[2]??bj}return r},au=(e,t,r)=>{let n=LS(e);try{return TS(n,t)}catch(i){if(typeof e!="string"&&!Buffer.isBuffer(e)){let s=Array.isArray(e)&&e.length===0?"an empty array":String(e);throw Object.assign(new TypeError(`Cannot parse ${s}`),{code:"EJSONPARSE",systemError:i})}throw new ou(i,n,r,au)}};kS.exports=au;au.JSONParseError=ou;au.noExceptions=(e,t)=>{try{return TS(LS(e),t)}catch{}}});var $S=_((tz,IS)=>{var up=new Set(["dependencies","optionalDependencies","devDependencies","peerDependencies"]),Rj=e=>{for(let t of up)e&&e[t]&&(e[t]=Object.keys(e[t]).sort((r,n)=>r.localeCompare(n,"en")).reduce((r,n)=>(r[n]=e[t][n],r),{}));return e},NS=({content:e,originalContent:t})=>{let r=Rj({...e});if(r.dependencies&&r.optionalDependencies)for(let a of Object.keys(r.optionalDependencies))delete r.dependencies[a];let n={...t};for(let a of up)r[a]&&(n[a]=r[a]),r[a]&&typeof r=="object"&&Object.keys(r[a]).length===0&&delete n[a];let{dependencies:i,peerDependencies:s}=t||{},{peerDependencies:o}=n;if(i&&s&&o)for(let a of Object.keys(s))i[a]!==void 0&&o[a]!==void 0&&(n.dependencies=n.dependencies||{},n.dependencies[a]=o[a]);return n};NS.knownKeys=up;IS.exports=NS});var MS=_((rz,BS)=>{var Dj=({content:e,originalContent:t={}})=>{let r=e.scripts;if(!r)return t;if(Object.entries(r).some(([i,s])=>typeof i!="string"||typeof s!="string"))throw Object.assign(new TypeError("package.json scripts should be a key-value pair of strings."),{code:"ESCRIPTSINVALID"});return{...t,scripts:{...r}}};BS.exports=Dj});var qS=_((nz,jS)=>{var Fj=({content:e,originalContent:t={}})=>{let r=e.workspaces;if(!r)return t;let n=()=>r.some(i=>typeof i!="string");if(!r.length||n())throw Object.assign(new TypeError("workspaces should be an array of strings."),{code:"EWORKSPACESINVALID"});return{...t,workspaces:[...r]}};jS.exports=Fj});var uu=_((iz,GS)=>{var Lj=Fn(),Tj=(e,t)=>{let r=Lj(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};GS.exports=Tj});var fu=_(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});lu.LRUCache=void 0;var Ti=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,HS=new Set,cp=typeof process=="object"&&process?process:{},WS=(e,t,r,n)=>{typeof cp.emitWarning=="function"?cp.emitWarning(e,t,r,n):console.error(`[${r}] ${t}: ${e}`)},cu=globalThis.AbortController,US=globalThis.AbortSignal;if(typeof cu>"u"){US=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(n,i){this._onabort.push(i)}},cu=class{constructor(){t()}signal=new US;abort(n){if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(let i of this.signal._onabort)i(n);this.signal.onabort?.(n)}}};let e=cp.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",t=()=>{e&&(e=!1,WS("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 kj=e=>!HS.has(e),az=Symbol("type"),on=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),zS=e=>on(e)?e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?ki:null:null,ki=class extends Array{constructor(t){super(t),this.fill(0)}},lp=class e{heap;length;static#e=!1;static create(t){let r=zS(t);if(!r)return[];e.#e=!0;let n=new e(t,r);return e.#e=!1,n}constructor(t,r){if(!e.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new r(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}},fp=class e{#e;#r;#t;#n;#o;#h;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#c;#l;#a;#u;#s;#y;#v;#d;#p;#b;#g;#C;#x;#A;#w;#S;#m;static unsafeExposeInternals(t){return{starts:t.#x,ttls:t.#A,sizes:t.#C,keyMap:t.#a,keyList:t.#u,valList:t.#s,next:t.#y,prev:t.#v,get head(){return t.#d},get tail(){return t.#p},free:t.#b,isBackgroundFetch:r=>t.#f(r),backgroundFetch:(r,n,i,s)=>t.#B(r,n,i,s),moveToTail:r=>t.#j(r),indexes:r=>t.#_(r),rindexes:r=>t.#P(r),isStale:r=>t.#E(r)}}get max(){return this.#e}get maxSize(){return this.#r}get calculatedSize(){return this.#l}get size(){return this.#c}get fetchMethod(){return this.#o}get memoMethod(){return this.#h}get dispose(){return this.#t}get disposeAfter(){return this.#n}constructor(t){let{max:r=0,ttl:n,ttlResolution:i=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:c,dispose:u,disposeAfter:f,noDisposeOnSet:l,noUpdateTTL:h,maxSize:p=0,maxEntrySize:d=0,sizeCalculation:g,fetchMethod:E,memoMethod:x,noDeleteOnFetchRejection:b,noDeleteOnStaleGet:L,allowStaleOnFetchRejection:F,allowStaleOnFetchAbort:A,ignoreFetchAbort:R}=t;if(r!==0&&!on(r))throw new TypeError("max option must be a nonnegative integer");let D=r?zS(r):Array;if(!D)throw new Error("invalid max value: "+r);if(this.#e=r,this.#r=p,this.maxEntrySize=d||this.#r,this.sizeCalculation=g,this.sizeCalculation){if(!this.#r&&!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(x!==void 0&&typeof x!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#h=x,E!==void 0&&typeof E!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#o=E,this.#S=!!E,this.#a=new Map,this.#u=new Array(r).fill(void 0),this.#s=new Array(r).fill(void 0),this.#y=new D(r),this.#v=new D(r),this.#d=0,this.#p=0,this.#b=lp.create(r),this.#c=0,this.#l=0,typeof u=="function"&&(this.#t=u),typeof f=="function"?(this.#n=f,this.#g=[]):(this.#n=void 0,this.#g=void 0),this.#w=!!this.#t,this.#m=!!this.#n,this.noDisposeOnSet=!!l,this.noUpdateTTL=!!h,this.noDeleteOnFetchRejection=!!b,this.allowStaleOnFetchRejection=!!F,this.allowStaleOnFetchAbort=!!A,this.ignoreFetchAbort=!!R,this.maxEntrySize!==0){if(this.#r!==0&&!on(this.#r))throw new TypeError("maxSize must be a positive integer if specified");if(!on(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#D()}if(this.allowStale=!!c,this.noDeleteOnStaleGet=!!L,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=on(i)||i===0?i:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!on(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#R()}if(this.#e===0&&this.ttl===0&&this.#r===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#r){let P="LRU_CACHE_UNBOUNDED";kj(P)&&(HS.add(P),WS("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",P,e))}}getRemainingTTL(t){return this.#a.has(t)?1/0:0}#R(){let t=new ki(this.#e),r=new ki(this.#e);this.#A=t,this.#x=r,this.#L=(s,o,a=Ti.now())=>{if(r[s]=o!==0?a:0,t[s]=o,o!==0&&this.ttlAutopurge){let c=setTimeout(()=>{this.#E(s)&&this.#F(this.#u[s],"expire")},o+1);c.unref&&c.unref()}},this.#O=s=>{r[s]=t[s]!==0?Ti.now():0},this.#i=(s,o)=>{if(t[o]){let a=t[o],c=r[o];if(!a||!c)return;s.ttl=a,s.start=c,s.now=n||i();let u=s.now-c;s.remainingTTL=a-u}};let n=0,i=()=>{let s=Ti.now();if(this.ttlResolution>0){n=s;let o=setTimeout(()=>n=0,this.ttlResolution);o.unref&&o.unref()}return s};this.getRemainingTTL=s=>{let o=this.#a.get(s);if(o===void 0)return 0;let a=t[o],c=r[o];if(!a||!c)return 1/0;let u=(n||i())-c;return a-u},this.#E=s=>{let o=r[s],a=t[s];return!!a&&!!o&&(n||i())-o>a}}#O=()=>{};#i=()=>{};#L=()=>{};#E=()=>!1;#D(){let t=new ki(this.#e);this.#l=0,this.#C=t,this.#T=r=>{this.#l-=t[r],t[r]=0},this.#N=(r,n,i,s)=>{if(this.#f(n))return 0;if(!on(i))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(i=s(n,r),!on(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.#k=(r,n,i)=>{if(t[r]=n,this.#r){let s=this.#r-t[r];for(;this.#l>s;)this.#$(!0)}this.#l+=t[r],i&&(i.entrySize=n,i.totalCalculatedSize=this.#l)}}#T=t=>{};#k=(t,r,n)=>{};#N=(t,r,n,i)=>{if(n||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#_({allowStale:t=this.allowStale}={}){if(this.#c)for(let r=this.#p;!(!this.#I(r)||((t||!this.#E(r))&&(yield r),r===this.#d));)r=this.#v[r]}*#P({allowStale:t=this.allowStale}={}){if(this.#c)for(let r=this.#d;!(!this.#I(r)||((t||!this.#E(r))&&(yield r),r===this.#p));)r=this.#y[r]}#I(t){return t!==void 0&&this.#a.get(this.#u[t])===t}*entries(){for(let t of this.#_())this.#s[t]!==void 0&&this.#u[t]!==void 0&&!this.#f(this.#s[t])&&(yield[this.#u[t],this.#s[t]])}*rentries(){for(let t of this.#P())this.#s[t]!==void 0&&this.#u[t]!==void 0&&!this.#f(this.#s[t])&&(yield[this.#u[t],this.#s[t]])}*keys(){for(let t of this.#_()){let r=this.#u[t];r!==void 0&&!this.#f(this.#s[t])&&(yield r)}}*rkeys(){for(let t of this.#P()){let r=this.#u[t];r!==void 0&&!this.#f(this.#s[t])&&(yield r)}}*values(){for(let t of this.#_())this.#s[t]!==void 0&&!this.#f(this.#s[t])&&(yield this.#s[t])}*rvalues(){for(let t of this.#P())this.#s[t]!==void 0&&!this.#f(this.#s[t])&&(yield this.#s[t])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,r={}){for(let n of this.#_()){let i=this.#s[n],s=this.#f(i)?i.__staleWhileFetching:i;if(s!==void 0&&t(s,this.#u[n],this))return this.get(this.#u[n],r)}}forEach(t,r=this){for(let n of this.#_()){let i=this.#s[n],s=this.#f(i)?i.__staleWhileFetching:i;s!==void 0&&t.call(r,s,this.#u[n],this)}}rforEach(t,r=this){for(let n of this.#P()){let i=this.#s[n],s=this.#f(i)?i.__staleWhileFetching:i;s!==void 0&&t.call(r,s,this.#u[n],this)}}purgeStale(){let t=!1;for(let r of this.#P({allowStale:!0}))this.#E(r)&&(this.#F(this.#u[r],"expire"),t=!0);return t}info(t){let r=this.#a.get(t);if(r===void 0)return;let n=this.#s[r],i=this.#f(n)?n.__staleWhileFetching:n;if(i===void 0)return;let s={value:i};if(this.#A&&this.#x){let o=this.#A[r],a=this.#x[r];if(o&&a){let c=o-(Ti.now()-a);s.ttl=c,s.start=Date.now()}}return this.#C&&(s.size=this.#C[r]),s}dump(){let t=[];for(let r of this.#_({allowStale:!0})){let n=this.#u[r],i=this.#s[r],s=this.#f(i)?i.__staleWhileFetching:i;if(s===void 0||n===void 0)continue;let o={value:s};if(this.#A&&this.#x){o.ttl=this.#A[r];let a=Ti.now()-this.#x[r];o.start=Math.floor(Date.now()-a)}this.#C&&(o.size=this.#C[r]),t.unshift([n,o])}return t}load(t){this.clear();for(let[r,n]of t){if(n.start){let i=Date.now()-n.start;n.start=Ti.now()-i}this.set(r,n.value,n)}}set(t,r,n={}){if(r===void 0)return this.delete(t),this;let{ttl:i=this.ttl,start:s,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:c}=n,{noUpdateTTL:u=this.noUpdateTTL}=n,f=this.#N(t,r,n.size||0,a);if(this.maxEntrySize&&f>this.maxEntrySize)return c&&(c.set="miss",c.maxEntrySizeExceeded=!0),this.#F(t,"set"),this;let l=this.#c===0?void 0:this.#a.get(t);if(l===void 0)l=this.#c===0?this.#p:this.#b.length!==0?this.#b.pop():this.#c===this.#e?this.#$(!1):this.#c,this.#u[l]=t,this.#s[l]=r,this.#a.set(t,l),this.#y[this.#p]=l,this.#v[l]=this.#p,this.#p=l,this.#c++,this.#k(l,f,c),c&&(c.set="add"),u=!1;else{this.#j(l);let h=this.#s[l];if(r!==h){if(this.#S&&this.#f(h)){h.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:p}=h;p!==void 0&&!o&&(this.#w&&this.#t?.(p,t,"set"),this.#m&&this.#g?.push([p,t,"set"]))}else o||(this.#w&&this.#t?.(h,t,"set"),this.#m&&this.#g?.push([h,t,"set"]));if(this.#T(l),this.#k(l,f,c),this.#s[l]=r,c){c.set="replace";let p=h&&this.#f(h)?h.__staleWhileFetching:h;p!==void 0&&(c.oldValue=p)}}else c&&(c.set="update")}if(i!==0&&!this.#A&&this.#R(),this.#A&&(u||this.#L(l,i,s),c&&this.#i(c,l)),!o&&this.#m&&this.#g){let h=this.#g,p;for(;p=h?.shift();)this.#n?.(...p)}return this}pop(){try{for(;this.#c;){let t=this.#s[this.#d];if(this.#$(!0),this.#f(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#m&&this.#g){let t=this.#g,r;for(;r=t?.shift();)this.#n?.(...r)}}}#$(t){let r=this.#d,n=this.#u[r],i=this.#s[r];return this.#S&&this.#f(i)?i.__abortController.abort(new Error("evicted")):(this.#w||this.#m)&&(this.#w&&this.#t?.(i,n,"evict"),this.#m&&this.#g?.push([i,n,"evict"])),this.#T(r),t&&(this.#u[r]=void 0,this.#s[r]=void 0,this.#b.push(r)),this.#c===1?(this.#d=this.#p=0,this.#b.length=0):this.#d=this.#y[r],this.#a.delete(n),this.#c--,r}has(t,r={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:i}=r,s=this.#a.get(t);if(s!==void 0){let o=this.#s[s];if(this.#f(o)&&o.__staleWhileFetching===void 0)return!1;if(this.#E(s))i&&(i.has="stale",this.#i(i,s));else return n&&this.#O(s),i&&(i.has="hit",this.#i(i,s)),!0}else i&&(i.has="miss");return!1}peek(t,r={}){let{allowStale:n=this.allowStale}=r,i=this.#a.get(t);if(i===void 0||!n&&this.#E(i))return;let s=this.#s[i];return this.#f(s)?s.__staleWhileFetching:s}#B(t,r,n,i){let s=r===void 0?void 0:this.#s[r];if(this.#f(s))return s;let o=new cu,{signal:a}=n;a?.addEventListener("abort",()=>o.abort(a.reason),{signal:o.signal});let c={signal:o.signal,options:n,context:i},u=(g,E=!1)=>{let{aborted:x}=o.signal,b=n.ignoreFetchAbort&&g!==void 0;if(n.status&&(x&&!E?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,b&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),x&&!b&&!E)return l(o.signal.reason);let L=p;return this.#s[r]===p&&(g===void 0?L.__staleWhileFetching?this.#s[r]=L.__staleWhileFetching:this.#F(t,"fetch"):(n.status&&(n.status.fetchUpdated=!0),this.set(t,g,c.options))),g},f=g=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=g),l(g)),l=g=>{let{aborted:E}=o.signal,x=E&&n.allowStaleOnFetchAbort,b=x||n.allowStaleOnFetchRejection,L=b||n.noDeleteOnFetchRejection,F=p;if(this.#s[r]===p&&(!L||F.__staleWhileFetching===void 0?this.#F(t,"fetch"):x||(this.#s[r]=F.__staleWhileFetching)),b)return n.status&&F.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),F.__staleWhileFetching;if(F.__returned===F)throw g},h=(g,E)=>{let x=this.#o?.(t,s,c);x&&x instanceof Promise&&x.then(b=>g(b===void 0?void 0:b),E),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(g(void 0),n.allowStaleOnFetchAbort&&(g=b=>u(b,!0)))})};n.status&&(n.status.fetchDispatched=!0);let p=new Promise(h).then(u,f),d=Object.assign(p,{__abortController:o,__staleWhileFetching:s,__returned:void 0});return r===void 0?(this.set(t,d,{...c.options,status:void 0}),r=this.#a.get(t)):this.#s[r]=d,d}#f(t){if(!this.#S)return!1;let r=t;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof cu}async fetch(t,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:c=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:f=this.noUpdateTTL,noDeleteOnFetchRejection:l=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:h=this.allowStaleOnFetchRejection,ignoreFetchAbort:p=this.ignoreFetchAbort,allowStaleOnFetchAbort:d=this.allowStaleOnFetchAbort,context:g,forceRefresh:E=!1,status:x,signal:b}=r;if(!this.#S)return x&&(x.fetch="get"),this.get(t,{allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,status:x});let L={allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:s,ttl:o,noDisposeOnSet:a,size:c,sizeCalculation:u,noUpdateTTL:f,noDeleteOnFetchRejection:l,allowStaleOnFetchRejection:h,allowStaleOnFetchAbort:d,ignoreFetchAbort:p,status:x,signal:b},F=this.#a.get(t);if(F===void 0){x&&(x.fetch="miss");let A=this.#B(t,F,L,g);return A.__returned=A}else{let A=this.#s[F];if(this.#f(A)){let O=n&&A.__staleWhileFetching!==void 0;return x&&(x.fetch="inflight",O&&(x.returnedStale=!0)),O?A.__staleWhileFetching:A.__returned=A}let R=this.#E(F);if(!E&&!R)return x&&(x.fetch="hit"),this.#j(F),i&&this.#O(F),x&&this.#i(x,F),A;let D=this.#B(t,F,L,g),N=D.__staleWhileFetching!==void 0&&n;return x&&(x.fetch=R?"stale":"refresh",N&&R&&(x.returnedStale=!0)),N?D.__staleWhileFetching:D.__returned=D}}async forceFetch(t,r={}){let n=await this.fetch(t,r);if(n===void 0)throw new Error("fetch() returned undefined");return n}memo(t,r={}){let n=this.#h;if(!n)throw new Error("no memoMethod provided to constructor");let{context:i,forceRefresh:s,...o}=r,a=this.get(t,o);if(!s&&a!==void 0)return a;let c=n(t,a,{options:o,context:i});return this.set(t,c,o),c}get(t,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:o}=r,a=this.#a.get(t);if(a!==void 0){let c=this.#s[a],u=this.#f(c);return o&&this.#i(o,a),this.#E(a)?(o&&(o.get="stale"),u?(o&&n&&c.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?c.__staleWhileFetching:void 0):(s||this.#F(t,"expire"),o&&n&&(o.returnedStale=!0),n?c:void 0)):(o&&(o.get="hit"),u?c.__staleWhileFetching:(this.#j(a),i&&this.#O(a),c))}else o&&(o.get="miss")}#M(t,r){this.#v[r]=t,this.#y[t]=r}#j(t){t!==this.#p&&(t===this.#d?this.#d=this.#y[t]:this.#M(this.#v[t],this.#y[t]),this.#M(this.#p,t),this.#p=t)}delete(t){return this.#F(t,"delete")}#F(t,r){let n=!1;if(this.#c!==0){let i=this.#a.get(t);if(i!==void 0)if(n=!0,this.#c===1)this.#q(r);else{this.#T(i);let s=this.#s[i];if(this.#f(s)?s.__abortController.abort(new Error("deleted")):(this.#w||this.#m)&&(this.#w&&this.#t?.(s,t,r),this.#m&&this.#g?.push([s,t,r])),this.#a.delete(t),this.#u[i]=void 0,this.#s[i]=void 0,i===this.#p)this.#p=this.#v[i];else if(i===this.#d)this.#d=this.#y[i];else{let o=this.#v[i];this.#y[o]=this.#y[i];let a=this.#y[i];this.#v[a]=this.#v[i]}this.#c--,this.#b.push(i)}}if(this.#m&&this.#g?.length){let i=this.#g,s;for(;s=i?.shift();)this.#n?.(...s)}return n}clear(){return this.#q("delete")}#q(t){for(let r of this.#P({allowStale:!0})){let n=this.#s[r];if(this.#f(n))n.__abortController.abort(new Error("deleted"));else{let i=this.#u[r];this.#w&&this.#t?.(n,i,t),this.#m&&this.#g?.push([n,i,t])}}if(this.#a.clear(),this.#s.fill(void 0),this.#u.fill(void 0),this.#A&&this.#x&&(this.#A.fill(0),this.#x.fill(0)),this.#C&&this.#C.fill(0),this.#d=0,this.#p=0,this.#b.length=0,this.#l=0,this.#c=0,this.#m&&this.#g){let r=this.#g,n;for(;n=r?.shift();)this.#n?.(...n)}}};lu.LRUCache=fp});var KS=_((cz,VS)=>{"use strict";var ve=(...e)=>e.every(t=>t)?e.join(""):"",qe=e=>e?encodeURIComponent(e):"",YS=e=>e.toLowerCase().replace(/^\W+/g,"").replace(/(?<!\W)\W+$/,"").replace(/\//g,"").replace(/\W+/g,"-"),Nj={sshtemplate:({domain:e,user:t,project:r,committish:n})=>`git@${e}:${t}/${r}.git${ve("#",n)}`,sshurltemplate:({domain:e,user:t,project:r,committish:n})=>`git+ssh://git@${e}/${t}/${r}.git${ve("#",n)}`,edittemplate:({domain:e,user:t,project:r,committish:n,editpath:i,path:s})=>`https://${e}/${t}/${r}${ve("/",i,"/",qe(n||"HEAD"),"/",s)}`,browsetemplate:({domain:e,user:t,project:r,committish:n,treepath:i})=>`https://${e}/${t}/${r}${ve("/",i,"/",qe(n))}`,browsetreetemplate:({domain:e,user:t,project:r,committish:n,treepath:i,path:s,fragment:o,hashformat:a})=>`https://${e}/${t}/${r}/${i}/${qe(n||"HEAD")}/${s}${ve("#",a(o||""))}`,browseblobtemplate:({domain:e,user:t,project:r,committish:n,blobpath:i,path:s,fragment:o,hashformat:a})=>`https://${e}/${t}/${r}/${i}/${qe(n||"HEAD")}/${s}${ve("#",a(o||""))}`,docstemplate:({domain:e,user:t,project:r,treepath:n,committish:i})=>`https://${e}/${t}/${r}${ve("/",n,"/",qe(i))}#readme`,httpstemplate:({auth:e,domain:t,user:r,project:n,committish:i})=>`git+https://${ve(e,"@")}${t}/${r}/${n}.git${ve("#",i)}`,filetemplate:({domain:e,user:t,project:r,committish:n,path:i})=>`https://${e}/${t}/${r}/raw/${qe(n||"HEAD")}/${i}`,shortcuttemplate:({type:e,user:t,project:r,committish:n})=>`${e}:${t}/${r}${ve("#",n)}`,pathtemplate:({user:e,project:t,committish:r})=>`${e}/${t}${ve("#",r)}`,bugstemplate:({domain:e,user:t,project:r})=>`https://${e}/${t}/${r}/issues`,hashformat:YS},an={};an.github={protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",blobpath:"blob",editpath:"edit",filetemplate:({auth:e,user:t,project:r,committish:n,path:i})=>`https://${ve(e,"@")}raw.githubusercontent.com/${t}/${r}/${qe(n||"HEAD")}/${i}`,gittemplate:({auth:e,domain:t,user:r,project:n,committish:i})=>`git://${ve(e,"@")}${t}/${r}/${n}.git${ve("#",i)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://codeload.${e}/${t}/${r}/tar.gz/${qe(n||"HEAD")}`,extract:e=>{let[,t,r,n,i]=e.pathname.split("/",5);if(!(n&&n!=="tree")&&(n||(i=e.hash.slice(1)),r&&r.endsWith(".git")&&(r=r.slice(0,-4)),!(!t||!r)))return{user:t,project:r,committish:i}}};an.bitbucket={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",blobpath:"src",editpath:"?mode=edit",edittemplate:({domain:e,user:t,project:r,committish:n,treepath:i,path:s,editpath:o})=>`https://${e}/${t}/${r}${ve("/",i,"/",qe(n||"HEAD"),"/",s,o)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/get/${qe(n||"HEAD")}.tar.gz`,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(!["get"].includes(n)&&(r&&r.endsWith(".git")&&(r=r.slice(0,-4)),!(!t||!r)))return{user:t,project:r,committish:e.hash.slice(1)}}};an.gitlab={protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",blobpath:"tree",editpath:"-/edit",httpstemplate:({auth:e,domain:t,user:r,project:n,committish:i})=>`git+https://${ve(e,"@")}${t}/${r}/${n}.git${ve("#",i)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/repository/archive.tar.gz?ref=${qe(n||"HEAD")}`,extract:e=>{let t=e.pathname.slice(1);if(t.includes("/-/")||t.includes("/archive.tar.gz"))return;let r=t.split("/"),n=r.pop();n.endsWith(".git")&&(n=n.slice(0,-4));let i=r.join("/");if(!(!i||!n))return{user:i,project:n,committish:e.hash.slice(1)}}};an.gist={protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",editpath:"edit",sshtemplate:({domain:e,project:t,committish:r})=>`git@${e}:${t}.git${ve("#",r)}`,sshurltemplate:({domain:e,project:t,committish:r})=>`git+ssh://git@${e}/${t}.git${ve("#",r)}`,edittemplate:({domain:e,user:t,project:r,committish:n,editpath:i})=>`https://${e}/${t}/${r}${ve("/",qe(n))}/${i}`,browsetemplate:({domain:e,project:t,committish:r})=>`https://${e}/${t}${ve("/",qe(r))}`,browsetreetemplate:({domain:e,project:t,committish:r,path:n,hashformat:i})=>`https://${e}/${t}${ve("/",qe(r))}${ve("#",i(n))}`,browseblobtemplate:({domain:e,project:t,committish:r,path:n,hashformat:i})=>`https://${e}/${t}${ve("/",qe(r))}${ve("#",i(n))}`,docstemplate:({domain:e,project:t,committish:r})=>`https://${e}/${t}${ve("/",qe(r))}`,httpstemplate:({domain:e,project:t,committish:r})=>`git+https://${e}/${t}.git${ve("#",r)}`,filetemplate:({user:e,project:t,committish:r,path:n})=>`https://gist.githubusercontent.com/${e}/${t}/raw${ve("/",qe(r))}/${n}`,shortcuttemplate:({type:e,project:t,committish:r})=>`${e}:${t}${ve("#",r)}`,pathtemplate:({project:e,committish:t})=>`${e}${ve("#",t)}`,bugstemplate:({domain:e,project:t})=>`https://${e}/${t}`,gittemplate:({domain:e,project:t,committish:r})=>`git://${e}/${t}.git${ve("#",r)}`,tarballtemplate:({project:e,committish:t})=>`https://codeload.github.com/gist/${e}/tar.gz/${qe(t||"HEAD")}`,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(n!=="raw"){if(!r){if(!t)return;r=t,t=null}return r.endsWith(".git")&&(r=r.slice(0,-4)),{user:t,project:r,committish:e.hash.slice(1)}}},hashformat:function(e){return e&&"file-"+YS(e)}};an.sourcehut={protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",blobpath:"tree",filetemplate:({domain:e,user:t,project:r,committish:n,path:i})=>`https://${e}/${t}/${r}/blob/${qe(n)||"HEAD"}/${i}`,httpstemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}.git${ve("#",n)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/archive/${qe(n)||"HEAD"}.tar.gz`,bugstemplate:()=>null,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(!["archive"].includes(n)&&(r&&r.endsWith(".git")&&(r=r.slice(0,-4)),!(!t||!r)))return{user:t,project:r,committish:e.hash.slice(1)}}};for(let[e,t]of Object.entries(an))an[e]=Object.assign({},Nj,t);VS.exports=an});var pp=_((lz,JS)=>{var Ij=M("url"),hp=(e,t,r)=>{let n=e.indexOf(r);return e.lastIndexOf(t,n>-1?n:1/0)},XS=e=>{try{return new Ij.URL(e)}catch{}},$j=(e,t)=>{let r=e.indexOf(":"),n=e.slice(0,r+1);if(Object.prototype.hasOwnProperty.call(t,n))return e;let i=e.indexOf("@");return i>-1?i>r?`git+ssh://${e}`:e:e.indexOf("//")===r+1?e:`${e.slice(0,r+1)}//${e.slice(r+1)}`},Bj=e=>{let t=hp(e,"@","#"),r=hp(e,":","#");return r>t&&(e=e.slice(0,r)+"/"+e.slice(r+1)),hp(e,":","#")===-1&&e.indexOf("//")===-1&&(e=`git+ssh://${e}`),e};JS.exports=(e,t)=>{let r=t?$j(e,t):e;return XS(r)||XS(Bj(r))}});var ZS=_((fz,QS)=>{"use strict";var Mj=pp(),jj=e=>{let t=e.indexOf("#"),r=e.indexOf("/"),n=e.indexOf("/",r+1),i=e.indexOf(":"),s=/\s/.exec(e),o=e.indexOf("@"),a=!s||t>-1&&s.index>t,c=o===-1||t>-1&&o>t,u=i===-1||t>-1&&i>t,f=n===-1||t>-1&&n>t,l=r>0,h=t>-1?e[t-1]!=="/":!e.endsWith("/"),p=!e.startsWith(".");return a&&l&&h&&p&&c&&u&&f};QS.exports=(e,t,{gitHosts:r,protocols:n})=>{if(!e)return;let i=jj(e)?`github:${e}`:e,s=Mj(i,n);if(!s)return;let o=r.byShortcut[s.protocol],a=r.byDomain[s.hostname.startsWith("www.")?s.hostname.slice(4):s.hostname],c=o||a;if(!c)return;let u=r[o||a],f=null;n[s.protocol]?.auth&&(s.username||s.password)&&(f=`${s.username}${s.password?":"+s.password:""}`);let l=null,h=null,p=null,d=null;try{if(o){let g=s.pathname.startsWith("/")?s.pathname.slice(1):s.pathname,E=g.indexOf("@");E>-1&&(g=g.slice(E+1));let x=g.lastIndexOf("/");x>-1?(h=decodeURIComponent(g.slice(0,x)),h||(h=null),p=decodeURIComponent(g.slice(x+1))):p=decodeURIComponent(g),p.endsWith(".git")&&(p=p.slice(0,-4)),s.hash&&(l=decodeURIComponent(s.hash.slice(1))),d="shortcut"}else{if(!u.protocols.includes(s.protocol))return;let g=u.extract(s);if(!g)return;h=g.user&&decodeURIComponent(g.user),p=decodeURIComponent(g.project),l=decodeURIComponent(g.committish),d=n[s.protocol]?.name||s.protocol.slice(0,-1)}}catch(g){if(g instanceof URIError)return;throw g}return[c,h,f,p,l,d,t]}});var pu=_((hz,e1)=>{"use strict";var{LRUCache:qj}=fu(),Gj=KS(),Uj=ZS(),Hj=pp(),dp=new qj({max:1e3}),hu=class e{constructor(t,r,n,i,s,o,a={}){Object.assign(this,e.#e[t],{type:t,user:r,auth:n,project:i,committish:s,default:o,opts:a})}static#e={byShortcut:{},byDomain:{}};static#r={"git+ssh:":{name:"sshurl"},"ssh:":{name:"sshurl"},"git+https:":{name:"https",auth:!0},"git:":{auth:!0},"http:":{auth:!0},"https:":{auth:!0},"git+http:":{auth:!0}};static addHost(t,r){e.#e[t]=r,e.#e.byDomain[r.domain]=t,e.#e.byShortcut[`${t}:`]=t,e.#r[`${t}:`]={name:t}}static fromUrl(t,r){if(typeof t!="string")return;let n=t+JSON.stringify(r||{});if(!dp.has(n)){let i=Uj(t,r,{gitHosts:e.#e,protocols:e.#r});dp.set(n,i?new e(...i):void 0)}return dp.get(n)}static parseUrl(t){return Hj(t)}#t(t,r){if(typeof t!="function")return null;let n={...this,...this.opts,...r};n.path||(n.path=""),n.path.startsWith("/")&&(n.path=n.path.slice(1)),n.noCommittish&&(n.committish=null);let i=t(n);return n.noGitPlus&&i.startsWith("git+")?i.slice(4):i}hash(){return this.committish?`#${this.committish}`:""}ssh(t){return this.#t(this.sshtemplate,t)}sshurl(t){return this.#t(this.sshurltemplate,t)}browse(t,...r){return typeof t!="string"?this.#t(this.browsetemplate,t):typeof r[0]!="string"?this.#t(this.browsetreetemplate,{...r[0],path:t}):this.#t(this.browsetreetemplate,{...r[1],fragment:r[0],path:t})}browseFile(t,...r){return typeof r[0]!="string"?this.#t(this.browseblobtemplate,{...r[0],path:t}):this.#t(this.browseblobtemplate,{...r[1],fragment:r[0],path:t})}docs(t){return this.#t(this.docstemplate,t)}bugs(t){return this.#t(this.bugstemplate,t)}https(t){return this.#t(this.httpstemplate,t)}git(t){return this.#t(this.gittemplate,t)}shortcut(t){return this.#t(this.shortcuttemplate,t)}path(t){return this.#t(this.pathtemplate,t)}tarball(t){return this.#t(this.tarballtemplate,{...t,noCommittish:!1})}file(t,r){return this.#t(this.filetemplate,{...r,path:t})}edit(t,r){return this.#t(this.edittemplate,{...r,path:t})}getDefaultRepresentation(){return this.default}toString(t){return this.default&&typeof this[this.default]=="function"?this[this.default](t):this.sshurl(t)}};for(let[e,t]of Object.entries(Gj))hu.addHost(e,t);e1.exports=hu});var s1=_((pz,i1)=>{"use strict";i1.exports=r1;function r1(e,t,r){e instanceof RegExp&&(e=t1(e,r)),t instanceof RegExp&&(t=t1(t,r));var n=n1(e,t,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+e.length,n[1]),post:r.slice(n[1]+t.length)}}function t1(e,t){var r=t.match(e);return r?r[0]:null}r1.range=n1;function n1(e,t,r){var n,i,s,o,a,c=r.indexOf(e),u=r.indexOf(t,c+1),f=c;if(c>=0&&u>0){if(e===t)return[c,u];for(n=[],s=r.length;f>=0&&!a;)f==c?(n.push(f),c=r.indexOf(e,f+1)):n.length==1?a=[n.pop(),u]:(i=n.pop(),i<s&&(s=i,o=u),u=r.indexOf(t,f+1)),f=c<u&&c>=0?c:u;n.length&&(a=[s,o])}return a}});var p1=_((dz,h1)=>{var o1=s1();h1.exports=Yj;var a1="\0SLASH"+Math.random()+"\0",u1="\0OPEN"+Math.random()+"\0",gp="\0CLOSE"+Math.random()+"\0",c1="\0COMMA"+Math.random()+"\0",l1="\0PERIOD"+Math.random()+"\0";function mp(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function Wj(e){return e.split("\\\\").join(a1).split("\\{").join(u1).split("\\}").join(gp).split("\\,").join(c1).split("\\.").join(l1)}function zj(e){return e.split(a1).join("\\").split(u1).join("{").split(gp).join("}").split(c1).join(",").split(l1).join(".")}function f1(e){if(!e)return[""];var t=[],r=o1("{","}",e);if(!r)return e.split(",");var n=r.pre,i=r.body,s=r.post,o=n.split(",");o[o.length-1]+="{"+i+"}";var a=f1(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),t.push.apply(t,o),t}function Yj(e){return e?(e.substr(0,2)==="{}"&&(e="\\{\\}"+e.substr(2)),Ds(Wj(e),!0).map(zj)):[]}function Vj(e){return"{"+e+"}"}function Kj(e){return/^-?0\d/.test(e)}function Xj(e,t){return e<=t}function Jj(e,t){return e>=t}function Ds(e,t){var r=[],n=o1("{","}",e);if(!n)return[e];var i=n.pre,s=n.post.length?Ds(n.post,!1):[""];if(/\$$/.test(n.pre))for(var o=0;o<s.length;o++){var a=i+"{"+n.body+"}"+s[o];r.push(a)}else{var c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),f=c||u,l=n.body.indexOf(",")>=0;if(!f&&!l)return n.post.match(/,.*\}/)?(e=n.pre+"{"+n.body+gp+n.post,Ds(e)):[e];var h;if(f)h=n.body.split(/\.\./);else if(h=f1(n.body),h.length===1&&(h=Ds(h[0],!1).map(Vj),h.length===1))return s.map(function(O){return n.pre+h[0]+O});var p;if(f){var d=mp(h[0]),g=mp(h[1]),E=Math.max(h[0].length,h[1].length),x=h.length==3?Math.abs(mp(h[2])):1,b=Xj,L=g<d;L&&(x*=-1,b=Jj);var F=h.some(Kj);p=[];for(var A=d;b(A,g);A+=x){var R;if(u)R=String.fromCharCode(A),R==="\\"&&(R="");else if(R=String(A),F){var D=E-R.length;if(D>0){var P=new Array(D+1).join("0");A<0?R="-"+P+R.slice(1):R=P+R}}p.push(R)}}else{p=[];for(var N=0;N<h.length;N++)p.push.apply(p,Ds(h[N],!1))}for(var N=0;N<p.length;N++)for(var o=0;o<s.length;o++){var a=i+p[N]+s[o];(!t||f||a)&&r.push(a)}}return r}});var d1=_(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});du.assertValidPattern=void 0;var Qj=1024*64,Zj=e=>{if(typeof e!="string")throw new TypeError("invalid pattern");if(e.length>Qj)throw new TypeError("pattern is too long")};du.assertValidPattern=Zj});var g1=_(mu=>{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});mu.parseClass=void 0;var e3={"[: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]},Fs=e=>e.replace(/[[\]\\-]/g,"\\$&"),t3=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),m1=e=>e.join(""),r3=(e,t)=>{let r=t;if(e.charAt(r)!=="[")throw new Error("not in a brace expression");let n=[],i=[],s=r+1,o=!1,a=!1,c=!1,u=!1,f=r,l="";e:for(;s<e.length;){let g=e.charAt(s);if((g==="!"||g==="^")&&s===r+1){u=!0,s++;continue}if(g==="]"&&o&&!c){f=s+1;break}if(o=!0,g==="\\"&&!c){c=!0,s++;continue}if(g==="["&&!c){for(let[E,[x,b,L]]of Object.entries(e3))if(e.startsWith(E,s)){if(l)return["$.",!1,e.length-r,!0];s+=E.length,L?i.push(x):n.push(x),a=a||b;continue e}}if(c=!1,l){g>l?n.push(Fs(l)+"-"+Fs(g)):g===l&&n.push(Fs(g)),l="",s++;continue}if(e.startsWith("-]",s+1)){n.push(Fs(g+"-")),s+=2;continue}if(e.startsWith("-",s+1)){l=g,s+=2;continue}n.push(Fs(g)),s++}if(f<s)return["",!1,0,!1];if(!n.length&&!i.length)return["$.",!1,e.length-r,!0];if(i.length===0&&n.length===1&&/^\\?.$/.test(n[0])&&!u){let g=n[0].length===2?n[0].slice(-1):n[0];return[t3(g),!1,f-r,!1]}let h="["+(u?"^":"")+m1(n)+"]",p="["+(u?"":"^")+m1(i)+"]";return[n.length&&i.length?"("+h+"|"+p+")":n.length?h:p,a,f-r,!0]};mu.parseClass=r3});var yu=_(gu=>{"use strict";Object.defineProperty(gu,"__esModule",{value:!0});gu.unescape=void 0;var n3=(e,{windowsPathsNoEscape:t=!1}={})=>t?e.replace(/\[([^\/\\])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");gu.unescape=n3});var Ep=_(Au=>{"use strict";Object.defineProperty(Au,"__esModule",{value:!0});Au.AST=void 0;var i3=g1(),vu=yu(),s3=new Set(["!","?","+","*","@"]),y1=e=>s3.has(e),o3="(?!(?:^|/)\\.\\.?(?:$|/))",Eu="(?!\\.)",a3=new Set(["[","."]),u3=new Set(["..","."]),c3=new Set("().*{}+?[]^$\\!"),l3=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),vp="[^/]",v1=vp+"*?",E1=vp+"+?",yp=class e{type;#e;#r;#t=!1;#n=[];#o;#h;#c;#l=!1;#a;#u;#s=!1;constructor(t,r,n={}){this.type=t,t&&(this.#r=!0),this.#o=r,this.#e=this.#o?this.#o.#e:this,this.#a=this.#e===this?n:this.#e.#a,this.#c=this.#e===this?[]:this.#e.#c,t==="!"&&!this.#e.#l&&this.#c.push(this),this.#h=this.#o?this.#o.#n.length:0}get hasMagic(){if(this.#r!==void 0)return this.#r;for(let t of this.#n)if(typeof t!="string"&&(t.type||t.hasMagic))return this.#r=!0;return this.#r}toString(){return this.#u!==void 0?this.#u:this.type?this.#u=this.type+"("+this.#n.map(t=>String(t)).join("|")+")":this.#u=this.#n.map(t=>String(t)).join("")}#y(){if(this!==this.#e)throw new Error("should only call on root");if(this.#l)return this;this.toString(),this.#l=!0;let t;for(;t=this.#c.pop();){if(t.type!=="!")continue;let r=t,n=r.#o;for(;n;){for(let i=r.#h+1;!n.type&&i<n.#n.length;i++)for(let s of t.#n){if(typeof s=="string")throw new Error("string part in extglob AST??");s.copyIn(n.#n[i])}r=n,n=r.#o}}return this}push(...t){for(let r of t)if(r!==""){if(typeof r!="string"&&!(r instanceof e&&r.#o===this))throw new Error("invalid part: "+r);this.#n.push(r)}}toJSON(){let t=this.type===null?this.#n.slice().map(r=>typeof r=="string"?r:r.toJSON()):[this.type,...this.#n.map(r=>r.toJSON())];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#l&&this.#o?.type==="!")&&t.push({}),t}isStart(){if(this.#e===this)return!0;if(!this.#o?.isStart())return!1;if(this.#h===0)return!0;let t=this.#o;for(let r=0;r<this.#h;r++){let n=t.#n[r];if(!(n instanceof e&&n.type==="!"))return!1}return!0}isEnd(){if(this.#e===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.#n.length:0;return this.#h===t-1}copyIn(t){typeof t=="string"?this.push(t):this.push(t.clone(this))}clone(t){let r=new e(this.type,t);for(let n of this.#n)r.copyIn(n);return r}static#v(t,r,n,i){let s=!1,o=!1,a=-1,c=!1;if(r.type===null){let p=n,d="";for(;p<t.length;){let g=t.charAt(p++);if(s||g==="\\"){s=!s,d+=g;continue}if(o){p===a+1?(g==="^"||g==="!")&&(c=!0):g==="]"&&!(p===a+2&&c)&&(o=!1),d+=g;continue}else if(g==="["){o=!0,a=p,c=!1,d+=g;continue}if(!i.noext&&y1(g)&&t.charAt(p)==="("){r.push(d),d="";let E=new e(g,r);p=e.#v(t,E,p,i),r.push(E);continue}d+=g}return r.push(d),p}let u=n+1,f=new e(null,r),l=[],h="";for(;u<t.length;){let p=t.charAt(u++);if(s||p==="\\"){s=!s,h+=p;continue}if(o){u===a+1?(p==="^"||p==="!")&&(c=!0):p==="]"&&!(u===a+2&&c)&&(o=!1),h+=p;continue}else if(p==="["){o=!0,a=u,c=!1,h+=p;continue}if(y1(p)&&t.charAt(u)==="("){f.push(h),h="";let d=new e(p,f);f.push(d),u=e.#v(t,d,u,i);continue}if(p==="|"){f.push(h),h="",l.push(f),f=new e(null,r);continue}if(p===")")return h===""&&r.#n.length===0&&(r.#s=!0),f.push(h),h="",r.push(...l,f),u;h+=p}return r.type=null,r.#r=void 0,r.#n=[t.substring(n-1)],u}static fromGlob(t,r={}){let n=new e(null,void 0,r);return e.#v(t,n,0,r),n}toMMPattern(){if(this!==this.#e)return this.#e.toMMPattern();let t=this.toString(),[r,n,i,s]=this.toRegExpSource();if(!(i||this.#r||this.#a.nocase&&!this.#a.nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return n;let a=(this.#a.nocase?"i":"")+(s?"u":"");return Object.assign(new RegExp(`^${r}$`,a),{_src:r,_glob:t})}get options(){return this.#a}toRegExpSource(t){let r=t??!!this.#a.dot;if(this.#e===this&&this.#y(),!this.type){let c=this.isStart()&&this.isEnd(),u=this.#n.map(p=>{let[d,g,E,x]=typeof p=="string"?e.#p(p,this.#r,c):p.toRegExpSource(t);return this.#r=this.#r||E,this.#t=this.#t||x,d}).join(""),f="";if(this.isStart()&&typeof this.#n[0]=="string"&&!(this.#n.length===1&&u3.has(this.#n[0]))){let d=a3,g=r&&d.has(u.charAt(0))||u.startsWith("\\.")&&d.has(u.charAt(2))||u.startsWith("\\.\\.")&&d.has(u.charAt(4)),E=!r&&!t&&d.has(u.charAt(0));f=g?o3:E?Eu:""}let l="";return this.isEnd()&&this.#e.#l&&this.#o?.type==="!"&&(l="(?:$|\\/)"),[f+u+l,(0,vu.unescape)(u),this.#r=!!this.#r,this.#t]}let n=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:",s=this.#d(r);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){let c=this.toString();return this.#n=[c],this.type=null,this.#r=void 0,[c,(0,vu.unescape)(this.toString()),!1,!1]}let o=!n||t||r||!Eu?"":this.#d(!0);o===s&&(o=""),o&&(s=`(?:${s})(?:${o})*?`);let a="";if(this.type==="!"&&this.#s)a=(this.isStart()&&!r?Eu:"")+E1;else{let c=this.type==="!"?"))"+(this.isStart()&&!r&&!t?Eu:"")+v1+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&o?")":this.type==="*"&&o?")?":`)${this.type}`;a=i+s+c}return[a,(0,vu.unescape)(s),this.#r=!!this.#r,this.#t]}#d(t){return this.#n.map(r=>{if(typeof r=="string")throw new Error("string type in extglob ast??");let[n,i,s,o]=r.toRegExpSource(t);return this.#t=this.#t||o,n}).filter(r=>!(this.isStart()&&this.isEnd())||!!r).join("|")}static#p(t,r,n=!1){let i=!1,s="",o=!1;for(let a=0;a<t.length;a++){let c=t.charAt(a);if(i){i=!1,s+=(c3.has(c)?"\\":"")+c;continue}if(c==="\\"){a===t.length-1?s+="\\\\":i=!0;continue}if(c==="["){let[u,f,l,h]=(0,i3.parseClass)(t,a);if(l){s+=u,o=o||f,a+=l-1,r=r||h;continue}}if(c==="*"){n&&t==="*"?s+=E1:s+=v1,r=!0;continue}if(c==="?"){s+=vp,r=!0;continue}s+=l3(c)}return[s,(0,vu.unescape)(t),!!r,o]}};Au.AST=yp});var Ap=_(wu=>{"use strict";Object.defineProperty(wu,"__esModule",{value:!0});wu.escape=void 0;var f3=(e,{windowsPathsNoEscape:t=!1}={})=>t?e.replace(/[?*()[\]]/g,"[$&]"):e.replace(/[?*()[\]\\]/g,"\\$&");wu.escape=f3});var Fr=_(Q=>{"use strict";var h3=Q&&Q.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Q,"__esModule",{value:!0});Q.unescape=Q.escape=Q.AST=Q.Minimatch=Q.match=Q.makeRe=Q.braceExpand=Q.defaults=Q.filter=Q.GLOBSTAR=Q.sep=Q.minimatch=void 0;var p3=h3(p1()),Su=d1(),S1=Ep(),d3=Ap(),m3=yu(),g3=(e,t,r={})=>((0,Su.assertValidPattern)(t),!r.nocomment&&t.charAt(0)==="#"?!1:new Ln(t,r).match(e));Q.minimatch=g3;var y3=/^\*+([^+@!?\*\[\(]*)$/,v3=e=>t=>!t.startsWith(".")&&t.endsWith(e),E3=e=>t=>t.endsWith(e),A3=e=>(e=e.toLowerCase(),t=>!t.startsWith(".")&&t.toLowerCase().endsWith(e)),w3=e=>(e=e.toLowerCase(),t=>t.toLowerCase().endsWith(e)),S3=/^\*+\.\*+$/,b3=e=>!e.startsWith(".")&&e.includes("."),C3=e=>e!=="."&&e!==".."&&e.includes("."),x3=/^\.\*+$/,O3=e=>e!=="."&&e!==".."&&e.startsWith("."),_3=/^\*+$/,P3=e=>e.length!==0&&!e.startsWith("."),R3=e=>e.length!==0&&e!=="."&&e!=="..",D3=/^\?+([^+@!?\*\[\(]*)?$/,F3=([e,t=""])=>{let r=b1([e]);return t?(t=t.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(t)):r},L3=([e,t=""])=>{let r=C1([e]);return t?(t=t.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(t)):r},T3=([e,t=""])=>{let r=C1([e]);return t?n=>r(n)&&n.endsWith(t):r},k3=([e,t=""])=>{let r=b1([e]);return t?n=>r(n)&&n.endsWith(t):r},b1=([e])=>{let t=e.length;return r=>r.length===t&&!r.startsWith(".")},C1=([e])=>{let t=e.length;return r=>r.length===t&&r!=="."&&r!==".."},x1=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",A1={win32:{sep:"\\"},posix:{sep:"/"}};Q.sep=x1==="win32"?A1.win32.sep:A1.posix.sep;Q.minimatch.sep=Q.sep;Q.GLOBSTAR=Symbol("globstar **");Q.minimatch.GLOBSTAR=Q.GLOBSTAR;var N3="[^/]",I3=N3+"*?",$3="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",B3="(?:(?!(?:\\/|^)\\.).)*?",M3=(e,t={})=>r=>(0,Q.minimatch)(r,e,t);Q.filter=M3;Q.minimatch.filter=Q.filter;var $t=(e,t={})=>Object.assign({},e,t),j3=e=>{if(!e||typeof e!="object"||!Object.keys(e).length)return Q.minimatch;let t=Q.minimatch;return Object.assign((n,i,s={})=>t(n,i,$t(e,s)),{Minimatch:class extends t.Minimatch{constructor(i,s={}){super(i,$t(e,s))}static defaults(i){return t.defaults($t(e,i)).Minimatch}},AST:class extends t.AST{constructor(i,s,o={}){super(i,s,$t(e,o))}static fromGlob(i,s={}){return t.AST.fromGlob(i,$t(e,s))}},unescape:(n,i={})=>t.unescape(n,$t(e,i)),escape:(n,i={})=>t.escape(n,$t(e,i)),filter:(n,i={})=>t.filter(n,$t(e,i)),defaults:n=>t.defaults($t(e,n)),makeRe:(n,i={})=>t.makeRe(n,$t(e,i)),braceExpand:(n,i={})=>t.braceExpand(n,$t(e,i)),match:(n,i,s={})=>t.match(n,i,$t(e,s)),sep:t.sep,GLOBSTAR:Q.GLOBSTAR})};Q.defaults=j3;Q.minimatch.defaults=Q.defaults;var q3=(e,t={})=>((0,Su.assertValidPattern)(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:(0,p3.default)(e));Q.braceExpand=q3;Q.minimatch.braceExpand=Q.braceExpand;var G3=(e,t={})=>new Ln(e,t).makeRe();Q.makeRe=G3;Q.minimatch.makeRe=Q.makeRe;var U3=(e,t,r={})=>{let n=new Ln(t,r);return e=e.filter(i=>n.match(i)),n.options.nonull&&!e.length&&e.push(t),e};Q.match=U3;Q.minimatch.match=Q.match;var w1=/[?*]|[+@!]\(.*?\)|\[|\]/,H3=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Ln=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,r={}){(0,Su.assertValidPattern)(t),r=r||{},this.options=r,this.pattern=t,this.platform=r.platform||x1,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!r.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!r.nonegate,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=r.windowsNoMagicRoot!==void 0?r.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 r of t)if(typeof r!="string")return!0;return!1}debug(...t){}make(){let t=this.pattern,r=this.options;if(!r.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],r.debug&&(this.debug=(...s)=>console.error(...s)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(s=>this.slashSplit(s));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map((s,o,a)=>{if(this.isWindows&&this.windowsNoMagicRoot){let c=s[0]===""&&s[1]===""&&(s[2]==="?"||!w1.test(s[2]))&&!w1.test(s[3]),u=/^[a-z]:/i.test(s[0]);if(c)return[...s.slice(0,4),...s.slice(4).map(f=>this.parse(f))];if(u)return[s[0],...s.slice(1).map(f=>this.parse(f))]}return s.map(c=>this.parse(c))});if(this.debug(this.pattern,i),this.set=i.filter(s=>s.indexOf(!1)===-1),this.isWindows)for(let s=0;s<this.set.length;s++){let o=this.set[s];o[0]===""&&o[1]===""&&this.globParts[s][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 n=0;n<t.length;n++)for(let i=0;i<t[n].length;i++)t[n][i]==="**"&&(t[n][i]="*");let{optimizationLevel:r=1}=this.options;return r>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):r>=1?t=this.levelOneOptimize(t):t=this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map(r=>{let n=-1;for(;(n=r.indexOf("**",n+1))!==-1;){let i=n;for(;r[i+1]==="**";)i++;i!==n&&r.splice(n,i-n)}return r})}levelOneOptimize(t){return t.map(r=>(r=r.reduce((n,i)=>{let s=n[n.length-1];return i==="**"&&s==="**"?n:i===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(n.pop(),n):(n.push(i),n)},[]),r.length===0?[""]:r))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let i=1;i<t.length-1;i++){let s=t[i];i===1&&s===""&&t[0]===""||(s==="."||s==="")&&(r=!0,t.splice(i,1),i--)}t[0]==="."&&t.length===2&&(t[1]==="."||t[1]==="")&&(r=!0,t.pop())}let n=0;for(;(n=t.indexOf("..",n+1))!==-1;){let i=t[n-1];i&&i!=="."&&i!==".."&&i!=="**"&&(r=!0,t.splice(n-1,2),n-=2)}}while(r);return t.length===0?[""]:t}firstPhasePreProcess(t){let r=!1;do{r=!1;for(let n of t){let i=-1;for(;(i=n.indexOf("**",i+1))!==-1;){let o=i;for(;n[o+1]==="**";)o++;o>i&&n.splice(i+1,o-i);let a=n[i+1],c=n[i+2],u=n[i+3];if(a!==".."||!c||c==="."||c===".."||!u||u==="."||u==="..")continue;r=!0,n.splice(i,1);let f=n.slice(0);f[i]="**",t.push(f),i--}if(!this.preserveMultipleSlashes){for(let o=1;o<n.length-1;o++){let a=n[o];o===1&&a===""&&n[0]===""||(a==="."||a==="")&&(r=!0,n.splice(o,1),o--)}n[0]==="."&&n.length===2&&(n[1]==="."||n[1]==="")&&(r=!0,n.pop())}let s=0;for(;(s=n.indexOf("..",s+1))!==-1;){let o=n[s-1];if(o&&o!=="."&&o!==".."&&o!=="**"){r=!0;let c=s===1&&n[s+1]==="**"?["."]:[];n.splice(s-1,2,...c),n.length===0&&n.push(""),s-=2}}}}while(r);return t}secondPhasePreProcess(t){for(let r=0;r<t.length-1;r++)for(let n=r+1;n<t.length;n++){let i=this.partsMatch(t[r],t[n],!this.preserveMultipleSlashes);if(i){t[r]=[],t[n]=i;break}}return t.filter(r=>r.length)}partsMatch(t,r,n=!1){let i=0,s=0,o=[],a="";for(;i<t.length&&s<r.length;)if(t[i]===r[s])o.push(a==="b"?r[s]:t[i]),i++,s++;else if(n&&t[i]==="**"&&r[s]===t[i+1])o.push(t[i]),i++;else if(n&&r[s]==="**"&&t[i]===r[s+1])o.push(r[s]),s++;else if(t[i]==="*"&&r[s]&&(this.options.dot||!r[s].startsWith("."))&&r[s]!=="**"){if(a==="b")return!1;a="a",o.push(t[i]),i++,s++}else if(r[s]==="*"&&t[i]&&(this.options.dot||!t[i].startsWith("."))&&t[i]!=="**"){if(a==="a")return!1;a="b",o.push(r[s]),i++,s++}else return!1;return t.length===r.length&&o}parseNegate(){if(this.nonegate)return;let t=this.pattern,r=!1,n=0;for(let i=0;i<t.length&&t.charAt(i)==="!";i++)r=!r,n++;n&&(this.pattern=t.slice(n)),this.negate=r}matchOne(t,r,n=!1){let i=this.options;if(this.isWindows){let g=typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0]),E=!g&&t[0]===""&&t[1]===""&&t[2]==="?"&&/^[a-z]:$/i.test(t[3]),x=typeof r[0]=="string"&&/^[a-z]:$/i.test(r[0]),b=!x&&r[0]===""&&r[1]===""&&r[2]==="?"&&typeof r[3]=="string"&&/^[a-z]:$/i.test(r[3]),L=E?3:g?0:void 0,F=b?3:x?0:void 0;if(typeof L=="number"&&typeof F=="number"){let[A,R]=[t[L],r[F]];A.toLowerCase()===R.toLowerCase()&&(r[F]=A,F>L?r=r.slice(F):L>F&&(t=t.slice(L)))}}let{optimizationLevel:s=1}=this.options;s>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:r}),this.debug("matchOne",t.length,r.length);for(var o=0,a=0,c=t.length,u=r.length;o<c&&a<u;o++,a++){this.debug("matchOne loop");var f=r[a],l=t[o];if(this.debug(r,f,l),f===!1)return!1;if(f===Q.GLOBSTAR){this.debug("GLOBSTAR",[r,f,l]);var h=o,p=a+1;if(p===u){for(this.debug("** at the end");o<c;o++)if(t[o]==="."||t[o]===".."||!i.dot&&t[o].charAt(0)===".")return!1;return!0}for(;h<c;){var d=t[h];if(this.debug(`
86
+ globstar while`,t,h,r,p,d),this.matchOne(t.slice(h),r.slice(p),n))return this.debug("globstar found match!",h,c,d),!0;if(d==="."||d===".."||!i.dot&&d.charAt(0)==="."){this.debug("dot detected!",t,h,r,p);break}this.debug("globstar swallow a segment, and continue"),h++}return!!(n&&(this.debug(`
87
+ >>> no match, partial?`,t,h,r,p),h===c))}let g;if(typeof f=="string"?(g=l===f,this.debug("string match",f,l,g)):(g=f.test(l),this.debug("pattern match",f,l,g)),!g)return!1}if(o===c&&a===u)return!0;if(o===c)return n;if(a===u)return o===c-1&&t[o]==="";throw new Error("wtf?")}braceExpand(){return(0,Q.braceExpand)(this.pattern,this.options)}parse(t){(0,Su.assertValidPattern)(t);let r=this.options;if(t==="**")return Q.GLOBSTAR;if(t==="")return"";let n,i=null;(n=t.match(_3))?i=r.dot?R3:P3:(n=t.match(y3))?i=(r.nocase?r.dot?w3:A3:r.dot?E3:v3)(n[1]):(n=t.match(D3))?i=(r.nocase?r.dot?L3:F3:r.dot?T3:k3)(n):(n=t.match(S3))?i=r.dot?C3:b3:(n=t.match(x3))&&(i=O3);let s=S1.AST.fromGlob(t,this.options).toMMPattern();return i&&typeof s=="object"&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let t=this.set;if(!t.length)return this.regexp=!1,this.regexp;let r=this.options,n=r.noglobstar?I3:r.dot?$3:B3,i=new Set(r.nocase?["i"]:[]),s=t.map(c=>{let u=c.map(f=>{if(f instanceof RegExp)for(let l of f.flags.split(""))i.add(l);return typeof f=="string"?H3(f):f===Q.GLOBSTAR?Q.GLOBSTAR:f._src});return u.forEach((f,l)=>{let h=u[l+1],p=u[l-1];f!==Q.GLOBSTAR||p===Q.GLOBSTAR||(p===void 0?h!==void 0&&h!==Q.GLOBSTAR?u[l+1]="(?:\\/|"+n+"\\/)?"+h:u[l]=n:h===void 0?u[l-1]=p+"(?:\\/|"+n+")?":h!==Q.GLOBSTAR&&(u[l-1]=p+"(?:\\/|\\/"+n+"\\/)"+h,u[l+1]=Q.GLOBSTAR))}),u.filter(f=>f!==Q.GLOBSTAR).join("/")}).join("|"),[o,a]=t.length>1?["(?:",")"]:["",""];s="^"+o+s+a+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...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,r=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return t==="";if(t==="/"&&r)return!0;let n=this.options;this.isWindows&&(t=t.split("\\").join("/"));let i=this.slashSplit(t);this.debug(this.pattern,"split",i);let s=this.set;this.debug(this.pattern,"set",s);let o=i[i.length-1];if(!o)for(let a=i.length-2;!o&&a>=0;a--)o=i[a];for(let a=0;a<s.length;a++){let c=s[a],u=i;if(n.matchBase&&c.length===1&&(u=[o]),this.matchOne(u,c,r))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(t){return Q.minimatch.defaults(t).Minimatch}};Q.Minimatch=Ln;var W3=Ep();Object.defineProperty(Q,"AST",{enumerable:!0,get:function(){return W3.AST}});var z3=Ap();Object.defineProperty(Q,"escape",{enumerable:!0,get:function(){return z3.escape}});var Y3=yu();Object.defineProperty(Q,"unescape",{enumerable:!0,get:function(){return Y3.unescape}});Q.minimatch.AST=S1.AST;Q.minimatch.Minimatch=Ln;Q.minimatch.escape=d3.escape;Q.minimatch.unescape=m3.unescape});var Pp=_(dt=>{"use strict";var V3=dt&&dt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(dt,"__esModule",{value:!0});dt.Minipass=dt.isWritable=dt.isReadable=dt.isStream=void 0;var O1=typeof process=="object"&&process?process:{stdout:null,stderr:null},_p=M("node:events"),D1=V3(M("node:stream")),K3=M("node:string_decoder"),X3=e=>!!e&&typeof e=="object"&&(e instanceof Ru||e instanceof D1.default||(0,dt.isReadable)(e)||(0,dt.isWritable)(e));dt.isStream=X3;var J3=e=>!!e&&typeof e=="object"&&e instanceof _p.EventEmitter&&typeof e.pipe=="function"&&e.pipe!==D1.default.Writable.prototype.pipe;dt.isReadable=J3;var Q3=e=>!!e&&typeof e=="object"&&e instanceof _p.EventEmitter&&typeof e.write=="function"&&typeof e.end=="function";dt.isWritable=Q3;var Lr=Symbol("EOF"),Tr=Symbol("maybeEmitEnd"),un=Symbol("emittedEnd"),bu=Symbol("emittingEnd"),Ls=Symbol("emittedError"),Cu=Symbol("closed"),_1=Symbol("read"),xu=Symbol("flush"),P1=Symbol("flushChunk"),er=Symbol("encoding"),Ni=Symbol("decoder"),ze=Symbol("flowing"),Ts=Symbol("paused"),Ii=Symbol("resume"),Ye=Symbol("buffer"),pt=Symbol("pipes"),Ve=Symbol("bufferLength"),wp=Symbol("bufferPush"),Ou=Symbol("bufferShift"),st=Symbol("objectMode"),Ie=Symbol("destroyed"),Sp=Symbol("error"),bp=Symbol("emitData"),R1=Symbol("emitEnd"),Cp=Symbol("emitEnd2"),fr=Symbol("async"),xp=Symbol("abort"),_u=Symbol("aborted"),ks=Symbol("signal"),Tn=Symbol("dataListeners"),Dt=Symbol("discarded"),Ns=e=>Promise.resolve().then(e),Z3=e=>e(),eq=e=>e==="end"||e==="finish"||e==="prefinish",tq=e=>e instanceof ArrayBuffer||!!e&&typeof e=="object"&&e.constructor&&e.constructor.name==="ArrayBuffer"&&e.byteLength>=0,rq=e=>!Buffer.isBuffer(e)&&ArrayBuffer.isView(e),Pu=class{src;dest;opts;ondrain;constructor(t,r,n){this.src=t,this.dest=r,this.opts=n,this.ondrain=()=>t[Ii](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(t){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},Op=class extends Pu{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,r,n){super(t,r,n),this.proxyErrors=i=>r.emit("error",i),t.on("error",this.proxyErrors)}},nq=e=>!!e.objectMode,iq=e=>!e.objectMode&&!!e.encoding&&e.encoding!=="buffer",Ru=class extends _p.EventEmitter{[ze]=!1;[Ts]=!1;[pt]=[];[Ye]=[];[st];[er];[fr];[Ni];[Lr]=!1;[un]=!1;[bu]=!1;[Cu]=!1;[Ls]=null;[Ve]=0;[Ie]=!1;[ks];[_u]=!1;[Tn]=0;[Dt]=!1;writable=!0;readable=!0;constructor(...t){let r=t[0]||{};if(super(),r.objectMode&&typeof r.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");nq(r)?(this[st]=!0,this[er]=null):iq(r)?(this[er]=r.encoding,this[st]=!1):(this[st]=!1,this[er]=null),this[fr]=!!r.async,this[Ni]=this[er]?new K3.StringDecoder(this[er]):null,r&&r.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[Ye]}),r&&r.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[pt]});let{signal:n}=r;n&&(this[ks]=n,n.aborted?this[xp]():n.addEventListener("abort",()=>this[xp]()))}get bufferLength(){return this[Ve]}get encoding(){return this[er]}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[st]}set objectMode(t){throw new Error("objectMode must be set at instantiation time")}get async(){return this[fr]}set async(t){this[fr]=this[fr]||!!t}[xp](){this[_u]=!0,this.emit("abort",this[ks]?.reason),this.destroy(this[ks]?.reason)}get aborted(){return this[_u]}set aborted(t){}write(t,r,n){if(this[_u])return!1;if(this[Lr])throw new Error("write after end");if(this[Ie])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(n=r,r="utf8"),r||(r="utf8");let i=this[fr]?Ns:Z3;if(!this[st]&&!Buffer.isBuffer(t)){if(rq(t))t=Buffer.from(t.buffer,t.byteOffset,t.byteLength);else if(tq(t))t=Buffer.from(t);else if(typeof t!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[st]?(this[ze]&&this[Ve]!==0&&this[xu](!0),this[ze]?this.emit("data",t):this[wp](t),this[Ve]!==0&&this.emit("readable"),n&&i(n),this[ze]):t.length?(typeof t=="string"&&!(r===this[er]&&!this[Ni]?.lastNeed)&&(t=Buffer.from(t,r)),Buffer.isBuffer(t)&&this[er]&&(t=this[Ni].write(t)),this[ze]&&this[Ve]!==0&&this[xu](!0),this[ze]?this.emit("data",t):this[wp](t),this[Ve]!==0&&this.emit("readable"),n&&i(n),this[ze]):(this[Ve]!==0&&this.emit("readable"),n&&i(n),this[ze])}read(t){if(this[Ie])return null;if(this[Dt]=!1,this[Ve]===0||t===0||t&&t>this[Ve])return this[Tr](),null;this[st]&&(t=null),this[Ye].length>1&&!this[st]&&(this[Ye]=[this[er]?this[Ye].join(""):Buffer.concat(this[Ye],this[Ve])]);let r=this[_1](t||null,this[Ye][0]);return this[Tr](),r}[_1](t,r){if(this[st])this[Ou]();else{let n=r;t===n.length||t===null?this[Ou]():typeof n=="string"?(this[Ye][0]=n.slice(t),r=n.slice(0,t),this[Ve]-=t):(this[Ye][0]=n.subarray(t),r=n.subarray(0,t),this[Ve]-=t)}return this.emit("data",r),!this[Ye].length&&!this[Lr]&&this.emit("drain"),r}end(t,r,n){return typeof t=="function"&&(n=t,t=void 0),typeof r=="function"&&(n=r,r="utf8"),t!==void 0&&this.write(t,r),n&&this.once("end",n),this[Lr]=!0,this.writable=!1,(this[ze]||!this[Ts])&&this[Tr](),this}[Ii](){this[Ie]||(!this[Tn]&&!this[pt].length&&(this[Dt]=!0),this[Ts]=!1,this[ze]=!0,this.emit("resume"),this[Ye].length?this[xu]():this[Lr]?this[Tr]():this.emit("drain"))}resume(){return this[Ii]()}pause(){this[ze]=!1,this[Ts]=!0,this[Dt]=!1}get destroyed(){return this[Ie]}get flowing(){return this[ze]}get paused(){return this[Ts]}[wp](t){this[st]?this[Ve]+=1:this[Ve]+=t.length,this[Ye].push(t)}[Ou](){return this[st]?this[Ve]-=1:this[Ve]-=this[Ye][0].length,this[Ye].shift()}[xu](t=!1){do;while(this[P1](this[Ou]())&&this[Ye].length);!t&&!this[Ye].length&&!this[Lr]&&this.emit("drain")}[P1](t){return this.emit("data",t),this[ze]}pipe(t,r){if(this[Ie])return t;this[Dt]=!1;let n=this[un];return r=r||{},t===O1.stdout||t===O1.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,n?r.end&&t.end():(this[pt].push(r.proxyErrors?new Op(this,t,r):new Pu(this,t,r)),this[fr]?Ns(()=>this[Ii]()):this[Ii]()),t}unpipe(t){let r=this[pt].find(n=>n.dest===t);r&&(this[pt].length===1?(this[ze]&&this[Tn]===0&&(this[ze]=!1),this[pt]=[]):this[pt].splice(this[pt].indexOf(r),1),r.unpipe())}addListener(t,r){return this.on(t,r)}on(t,r){let n=super.on(t,r);if(t==="data")this[Dt]=!1,this[Tn]++,!this[pt].length&&!this[ze]&&this[Ii]();else if(t==="readable"&&this[Ve]!==0)super.emit("readable");else if(eq(t)&&this[un])super.emit(t),this.removeAllListeners(t);else if(t==="error"&&this[Ls]){let i=r;this[fr]?Ns(()=>i.call(this,this[Ls])):i.call(this,this[Ls])}return n}removeListener(t,r){return this.off(t,r)}off(t,r){let n=super.off(t,r);return t==="data"&&(this[Tn]=this.listeners("data").length,this[Tn]===0&&!this[Dt]&&!this[pt].length&&(this[ze]=!1)),n}removeAllListeners(t){let r=super.removeAllListeners(t);return(t==="data"||t===void 0)&&(this[Tn]=0,!this[Dt]&&!this[pt].length&&(this[ze]=!1)),r}get emittedEnd(){return this[un]}[Tr](){!this[bu]&&!this[un]&&!this[Ie]&&this[Ye].length===0&&this[Lr]&&(this[bu]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Cu]&&this.emit("close"),this[bu]=!1)}emit(t,...r){let n=r[0];if(t!=="error"&&t!=="close"&&t!==Ie&&this[Ie])return!1;if(t==="data")return!this[st]&&!n?!1:this[fr]?(Ns(()=>this[bp](n)),!0):this[bp](n);if(t==="end")return this[R1]();if(t==="close"){if(this[Cu]=!0,!this[un]&&!this[Ie])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(t==="error"){this[Ls]=n,super.emit(Sp,n);let s=!this[ks]||this.listeners("error").length?super.emit("error",n):!1;return this[Tr](),s}else if(t==="resume"){let s=super.emit("resume");return this[Tr](),s}else if(t==="finish"||t==="prefinish"){let s=super.emit(t);return this.removeAllListeners(t),s}let i=super.emit(t,...r);return this[Tr](),i}[bp](t){for(let n of this[pt])n.dest.write(t)===!1&&this.pause();let r=this[Dt]?!1:super.emit("data",t);return this[Tr](),r}[R1](){return this[un]?!1:(this[un]=!0,this.readable=!1,this[fr]?(Ns(()=>this[Cp]()),!0):this[Cp]())}[Cp](){if(this[Ni]){let r=this[Ni].end();if(r){for(let n of this[pt])n.dest.write(r);this[Dt]||super.emit("data",r)}}for(let r of this[pt])r.end();let t=super.emit("end");return this.removeAllListeners("end"),t}async collect(){let t=Object.assign([],{dataLength:0});this[st]||(t.dataLength=0);let r=this.promise();return this.on("data",n=>{t.push(n),this[st]||(t.dataLength+=n.length)}),await r,t}async concat(){if(this[st])throw new Error("cannot concat in objectMode");let t=await this.collect();return this[er]?t.join(""):Buffer.concat(t,t.dataLength)}async promise(){return new Promise((t,r)=>{this.on(Ie,()=>r(new Error("stream destroyed"))),this.on("error",n=>r(n)),this.on("end",()=>t())})}[Symbol.asyncIterator](){this[Dt]=!1;let t=!1,r=async()=>(this.pause(),t=!0,{value:void 0,done:!0});return{next:()=>{if(t)return r();let i=this.read();if(i!==null)return Promise.resolve({done:!1,value:i});if(this[Lr])return r();let s,o,a=l=>{this.off("data",c),this.off("end",u),this.off(Ie,f),r(),o(l)},c=l=>{this.off("error",a),this.off("end",u),this.off(Ie,f),this.pause(),s({value:l,done:!!this[Lr]})},u=()=>{this.off("error",a),this.off("data",c),this.off(Ie,f),r(),s({done:!0,value:void 0})},f=()=>a(new Error("stream destroyed"));return new Promise((l,h)=>{o=h,s=l,this.once(Ie,f),this.once("error",a),this.once("end",u),this.once("data",c)})},throw:r,return:r,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[Dt]=!1;let t=!1,r=()=>(this.pause(),this.off(Sp,r),this.off(Ie,r),this.off("end",r),t=!0,{done:!0,value:void 0}),n=()=>{if(t)return r();let i=this.read();return i===null?r():{done:!1,value:i}};return this.once("end",r),this.once(Sp,r),this.once(Ie,r),{next:n,throw:r,return:r,[Symbol.iterator](){return this}}}destroy(t){if(this[Ie])return t?this.emit("error",t):this.emit(Ie),this;this[Ie]=!0,this[Dt]=!0,this[Ye].length=0,this[Ve]=0;let r=this;return typeof r.close=="function"&&!this[Cu]&&r.close(),t?this.emit("error",t):this.emit(Ie),this}static get isStream(){return dt.isStream}};dt.Minipass=Ru});var W1=_(Ee=>{"use strict";var sq=Ee&&Ee.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),oq=Ee&&Ee.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),aq=Ee&&Ee.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&sq(t,e,r);return oq(t,e),t};Object.defineProperty(Ee,"__esModule",{value:!0});Ee.PathScurry=Ee.Path=Ee.PathScurryDarwin=Ee.PathScurryPosix=Ee.PathScurryWin32=Ee.PathScurryBase=Ee.PathPosix=Ee.PathWin32=Ee.PathBase=Ee.ChildrenCache=Ee.ResolveCache=void 0;var I1=fu(),ku=M("node:path"),uq=M("node:url"),$s=M("fs"),cq=aq(M("node:fs")),lq=$s.realpathSync.native,Du=M("node:fs/promises"),F1=Pp(),Bs={lstatSync:$s.lstatSync,readdir:$s.readdir,readdirSync:$s.readdirSync,readlinkSync:$s.readlinkSync,realpathSync:lq,promises:{lstat:Du.lstat,readdir:Du.readdir,readlink:Du.readlink,realpath:Du.realpath}},$1=e=>!e||e===Bs||e===cq?Bs:{...Bs,...e,promises:{...Bs.promises,...e.promises||{}}},B1=/^\\\\\?\\([a-z]:)\\?$/i,fq=e=>e.replace(/\//g,"\\").replace(B1,"$1\\"),hq=/[\\\/]/,Mt=0,M1=1,j1=2,hr=4,q1=6,G1=8,kn=10,U1=12,Bt=15,Is=~Bt,Rp=16,L1=32,Ms=64,tr=128,Fu=256,Tu=512,T1=Ms|tr|Tu,pq=1023,Dp=e=>e.isFile()?G1:e.isDirectory()?hr:e.isSymbolicLink()?kn:e.isCharacterDevice()?j1:e.isBlockDevice()?q1:e.isSocket()?U1:e.isFIFO()?M1:Mt,k1=new Map,js=e=>{let t=k1.get(e);if(t)return t;let r=e.normalize("NFKD");return k1.set(e,r),r},N1=new Map,Lu=e=>{let t=N1.get(e);if(t)return t;let r=js(e.toLowerCase());return N1.set(e,r),r},qs=class extends I1.LRUCache{constructor(){super({max:256})}};Ee.ResolveCache=qs;var Nu=class extends I1.LRUCache{constructor(t=16*1024){super({maxSize:t,sizeCalculation:r=>r.length+1})}};Ee.ChildrenCache=Nu;var H1=Symbol("PathScurry setAsCwd"),Qe=class{name;root;roots;parent;nocase;isCWD=!1;#e;#r;get dev(){return this.#r}#t;get mode(){return this.#t}#n;get nlink(){return this.#n}#o;get uid(){return this.#o}#h;get gid(){return this.#h}#c;get rdev(){return this.#c}#l;get blksize(){return this.#l}#a;get ino(){return this.#a}#u;get size(){return this.#u}#s;get blocks(){return this.#s}#y;get atimeMs(){return this.#y}#v;get mtimeMs(){return this.#v}#d;get ctimeMs(){return this.#d}#p;get birthtimeMs(){return this.#p}#b;get atime(){return this.#b}#g;get mtime(){return this.#g}#C;get ctime(){return this.#C}#x;get birthtime(){return this.#x}#A;#w;#S;#m;#R;#O;#i;#L;#E;#D;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(t,r=Mt,n,i,s,o,a){this.name=t,this.#A=s?Lu(t):js(t),this.#i=r&pq,this.nocase=s,this.roots=i,this.root=n||this,this.#L=o,this.#S=a.fullpath,this.#R=a.relative,this.#O=a.relativePosix,this.parent=a.parent,this.parent?this.#e=this.parent.#e:this.#e=$1(a.fs)}depth(){return this.#w!==void 0?this.#w:this.parent?this.#w=this.parent.depth()+1:this.#w=0}childrenCache(){return this.#L}resolve(t){if(!t)return this;let r=this.getRootString(t),i=t.substring(r.length).split(this.splitSep);return r?this.getRoot(r).#T(i):this.#T(i)}#T(t){let r=this;for(let n of t)r=r.child(n);return r}children(){let t=this.#L.get(this);if(t)return t;let r=Object.assign([],{provisional:0});return this.#L.set(this,r),this.#i&=~Rp,r}child(t,r){if(t===""||t===".")return this;if(t==="..")return this.parent||this;let n=this.children(),i=this.nocase?Lu(t):js(t);for(let c of n)if(c.#A===i)return c;let s=this.parent?this.sep:"",o=this.#S?this.#S+s+t:void 0,a=this.newChild(t,Mt,{...r,parent:this,fullpath:o});return this.canReaddir()||(a.#i|=tr),n.push(a),a}relative(){if(this.isCWD)return"";if(this.#R!==void 0)return this.#R;let t=this.name,r=this.parent;if(!r)return this.#R=this.name;let n=r.relative();return n+(!n||!r.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,r=this.parent;if(!r)return this.#O=this.fullpathPosix();let n=r.relativePosix();return n+(!n||!r.parent?"":"/")+t}fullpath(){if(this.#S!==void 0)return this.#S;let t=this.name,r=this.parent;if(!r)return this.#S=this.name;let i=r.fullpath()+(r.parent?this.sep:"")+t;return this.#S=i}fullpathPosix(){if(this.#m!==void 0)return this.#m;if(this.sep==="/")return this.#m=this.fullpath();if(!this.parent){let i=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(i)?this.#m=`//?/${i}`:this.#m=i}let t=this.parent,r=t.fullpathPosix(),n=r+(!r||!t.parent?"":"/")+this.name;return this.#m=n}isUnknown(){return(this.#i&Bt)===Mt}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.#i&Bt)===G1}isDirectory(){return(this.#i&Bt)===hr}isCharacterDevice(){return(this.#i&Bt)===j1}isBlockDevice(){return(this.#i&Bt)===q1}isFIFO(){return(this.#i&Bt)===M1}isSocket(){return(this.#i&Bt)===U1}isSymbolicLink(){return(this.#i&kn)===kn}lstatCached(){return this.#i&L1?this:void 0}readlinkCached(){return this.#E}realpathCached(){return this.#D}readdirCached(){let t=this.children();return t.slice(0,t.provisional)}canReadlink(){if(this.#E)return!0;if(!this.parent)return!1;let t=this.#i&Bt;return!(t!==Mt&&t!==kn||this.#i&Fu||this.#i&tr)}calledReaddir(){return!!(this.#i&Rp)}isENOENT(){return!!(this.#i&tr)}isNamed(t){return this.nocase?this.#A===Lu(t):this.#A===js(t)}async readlink(){let t=this.#E;if(t)return t;if(this.canReadlink()&&this.parent)try{let r=await this.#e.promises.readlink(this.fullpath()),n=(await this.parent.realpath())?.resolve(r);if(n)return this.#E=n}catch(r){this.#f(r.code);return}}readlinkSync(){let t=this.#E;if(t)return t;if(this.canReadlink()&&this.parent)try{let r=this.#e.readlinkSync(this.fullpath()),n=this.parent.realpathSync()?.resolve(r);if(n)return this.#E=n}catch(r){this.#f(r.code);return}}#k(t){this.#i|=Rp;for(let r=t.provisional;r<t.length;r++){let n=t[r];n&&n.#N()}}#N(){this.#i&tr||(this.#i=(this.#i|tr)&Is,this.#_())}#_(){let t=this.children();t.provisional=0;for(let r of t)r.#N()}#P(){this.#i|=Tu,this.#I()}#I(){if(this.#i&Ms)return;let t=this.#i;(t&Bt)===hr&&(t&=Is),this.#i=t|Ms,this.#_()}#$(t=""){t==="ENOTDIR"||t==="EPERM"?this.#I():t==="ENOENT"?this.#N():this.children().provisional=0}#B(t=""){t==="ENOTDIR"?this.parent.#I():t==="ENOENT"&&this.#N()}#f(t=""){let r=this.#i;r|=Fu,t==="ENOENT"&&(r|=tr),(t==="EINVAL"||t==="UNKNOWN")&&(r&=Is),this.#i=r,t==="ENOTDIR"&&this.parent&&this.parent.#I()}#M(t,r){return this.#F(t,r)||this.#j(t,r)}#j(t,r){let n=Dp(t),i=this.newChild(t.name,n,{parent:this}),s=i.#i&Bt;return s!==hr&&s!==kn&&s!==Mt&&(i.#i|=Ms),r.unshift(i),r.provisional++,i}#F(t,r){for(let n=r.provisional;n<r.length;n++){let i=r[n];if((this.nocase?Lu(t.name):js(t.name))===i.#A)return this.#q(t,i,n,r)}}#q(t,r,n,i){let s=r.name;return r.#i=r.#i&Is|Dp(t),s!==t.name&&(r.name=t.name),n!==i.provisional&&(n===i.length-1?i.pop():i.splice(n,1),i.unshift(r)),i.provisional++,r}async lstat(){if(!(this.#i&tr))try{return this.#W(await this.#e.promises.lstat(this.fullpath())),this}catch(t){this.#B(t.code)}}lstatSync(){if(!(this.#i&tr))try{return this.#W(this.#e.lstatSync(this.fullpath())),this}catch(t){this.#B(t.code)}}#W(t){let{atime:r,atimeMs:n,birthtime:i,birthtimeMs:s,blksize:o,blocks:a,ctime:c,ctimeMs:u,dev:f,gid:l,ino:h,mode:p,mtime:d,mtimeMs:g,nlink:E,rdev:x,size:b,uid:L}=t;this.#b=r,this.#y=n,this.#x=i,this.#p=s,this.#l=o,this.#s=a,this.#C=c,this.#d=u,this.#r=f,this.#h=l,this.#a=h,this.#t=p,this.#g=d,this.#v=g,this.#n=E,this.#c=x,this.#u=b,this.#o=L;let F=Dp(t);this.#i=this.#i&Is|F|L1,F!==Mt&&F!==hr&&F!==kn&&(this.#i|=Ms)}#U=[];#H=!1;#z(t){this.#H=!1;let r=this.#U.slice();this.#U.length=0,r.forEach(n=>n(null,t))}readdirCB(t,r=!1){if(!this.canReaddir()){r?t(null,[]):queueMicrotask(()=>t(null,[]));return}let n=this.children();if(this.calledReaddir()){let s=n.slice(0,n.provisional);r?t(null,s):queueMicrotask(()=>t(null,s));return}if(this.#U.push(t),this.#H)return;this.#H=!0;let i=this.fullpath();this.#e.readdir(i,{withFileTypes:!0},(s,o)=>{if(s)this.#$(s.code),n.provisional=0;else{for(let a of o)this.#M(a,n);this.#k(n)}this.#z(n.slice(0,n.provisional))})}#G;async readdir(){if(!this.canReaddir())return[];let t=this.children();if(this.calledReaddir())return t.slice(0,t.provisional);let r=this.fullpath();if(this.#G)await this.#G;else{let n=()=>{};this.#G=new Promise(i=>n=i);try{for(let i of await this.#e.promises.readdir(r,{withFileTypes:!0}))this.#M(i,t);this.#k(t)}catch(i){this.#$(i.code),t.provisional=0}this.#G=void 0,n()}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 r=this.fullpath();try{for(let n of this.#e.readdirSync(r,{withFileTypes:!0}))this.#M(n,t);this.#k(t)}catch(n){this.#$(n.code),t.provisional=0}return t.slice(0,t.provisional)}canReaddir(){if(this.#i&T1)return!1;let t=Bt&this.#i;return t===Mt||t===hr||t===kn}shouldWalk(t,r){return(this.#i&hr)===hr&&!(this.#i&T1)&&!t.has(this)&&(!r||r(this))}async realpath(){if(this.#D)return this.#D;if(!((Tu|Fu|tr)&this.#i))try{let t=await this.#e.promises.realpath(this.fullpath());return this.#D=this.resolve(t)}catch{this.#P()}}realpathSync(){if(this.#D)return this.#D;if(!((Tu|Fu|tr)&this.#i))try{let t=this.#e.realpathSync(this.fullpath());return this.#D=this.resolve(t)}catch{this.#P()}}[H1](t){if(t===this)return;t.isCWD=!1,this.isCWD=!0;let r=new Set([]),n=[],i=this;for(;i&&i.parent;)r.add(i),i.#R=n.join(this.sep),i.#O=n.join("/"),i=i.parent,n.push("..");for(i=t;i&&i.parent&&!r.has(i);)i.#R=void 0,i.#O=void 0,i=i.parent}};Ee.PathBase=Qe;var Gs=class e extends Qe{sep="\\";splitSep=hq;constructor(t,r=Mt,n,i,s,o,a){super(t,r,n,i,s,o,a)}newChild(t,r=Mt,n={}){return new e(t,r,this.root,this.roots,this.nocase,this.childrenCache(),n)}getRootString(t){return ku.win32.parse(t).root}getRoot(t){if(t=fq(t.toUpperCase()),t===this.root.name)return this.root;for(let[r,n]of Object.entries(this.roots))if(this.sameRoot(t,r))return this.roots[t]=n;return this.roots[t]=new Ws(t,this).root}sameRoot(t,r=this.root.name){return t=t.toUpperCase().replace(/\//g,"\\").replace(B1,"$1\\"),t===r}};Ee.PathWin32=Gs;var Us=class e extends Qe{splitSep="/";sep="/";constructor(t,r=Mt,n,i,s,o,a){super(t,r,n,i,s,o,a)}getRootString(t){return t.startsWith("/")?"/":""}getRoot(t){return this.root}newChild(t,r=Mt,n={}){return new e(t,r,this.root,this.roots,this.nocase,this.childrenCache(),n)}};Ee.PathPosix=Us;var Hs=class{root;rootPath;roots;cwd;#e;#r;#t;nocase;#n;constructor(t=process.cwd(),r,n,{nocase:i,childrenCacheSize:s=16*1024,fs:o=Bs}={}){this.#n=$1(o),(t instanceof URL||t.startsWith("file://"))&&(t=(0,uq.fileURLToPath)(t));let a=r.resolve(t);this.roots=Object.create(null),this.rootPath=this.parseRootPath(a),this.#e=new qs,this.#r=new qs,this.#t=new Nu(s);let c=a.substring(this.rootPath.length).split(n);if(c.length===1&&!c[0]&&c.pop(),i===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=i,this.root=this.newRoot(this.#n),this.roots[this.rootPath]=this.root;let u=this.root,f=c.length-1,l=r.sep,h=this.rootPath,p=!1;for(let d of c){let g=f--;u=u.child(d,{relative:new Array(g).fill("..").join(l),relativePosix:new Array(g).fill("..").join("/"),fullpath:h+=(p?"":l)+d}),p=!0}this.cwd=u}depth(t=this.cwd){return typeof t=="string"&&(t=this.cwd.resolve(t)),t.depth()}childrenCache(){return this.#t}resolve(...t){let r="";for(let s=t.length-1;s>=0;s--){let o=t[s];if(!(!o||o===".")&&(r=r?`${o}/${r}`:o,this.isAbsolute(o)))break}let n=this.#e.get(r);if(n!==void 0)return n;let i=this.cwd.resolve(r).fullpath();return this.#e.set(r,i),i}resolvePosix(...t){let r="";for(let s=t.length-1;s>=0;s--){let o=t[s];if(!(!o||o===".")&&(r=r?`${o}/${r}`:o,this.isAbsolute(o)))break}let n=this.#r.get(r);if(n!==void 0)return n;let i=this.cwd.resolve(r).fullpathPosix();return this.#r.set(r,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,r={withFileTypes:!0}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof Qe||(r=t,t=this.cwd);let{withFileTypes:n}=r;if(t.canReaddir()){let i=await t.readdir();return n?i:i.map(s=>s.name)}else return[]}readdirSync(t=this.cwd,r={withFileTypes:!0}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof Qe||(r=t,t=this.cwd);let{withFileTypes:n=!0}=r;return t.canReaddir()?n?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:r}={withFileTypes:!1}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof Qe||(r=t.withFileTypes,t=this.cwd);let n=await t.readlink();return r?n:n?.fullpath()}readlinkSync(t=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof Qe||(r=t.withFileTypes,t=this.cwd);let n=t.readlinkSync();return r?n:n?.fullpath()}async realpath(t=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof Qe||(r=t.withFileTypes,t=this.cwd);let n=await t.realpath();return r?n:n?.fullpath()}realpathSync(t=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof Qe||(r=t.withFileTypes,t=this.cwd);let n=t.realpathSync();return r?n:n?.fullpath()}async walk(t=this.cwd,r={}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof Qe||(r=t,t=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=r,a=[];(!s||s(t))&&a.push(n?t:t.fullpath());let c=new Set,u=(l,h)=>{c.add(l),l.readdirCB((p,d)=>{if(p)return h(p);let g=d.length;if(!g)return h();let E=()=>{--g===0&&h()};for(let x of d)(!s||s(x))&&a.push(n?x:x.fullpath()),i&&x.isSymbolicLink()?x.realpath().then(b=>b?.isUnknown()?b.lstat():b).then(b=>b?.shouldWalk(c,o)?u(b,E):E()):x.shouldWalk(c,o)?u(x,E):E()},!0)},f=t;return new Promise((l,h)=>{u(f,p=>{if(p)return h(p);l(a)})})}walkSync(t=this.cwd,r={}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof Qe||(r=t,t=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=r,a=[];(!s||s(t))&&a.push(n?t:t.fullpath());let c=new Set([t]);for(let u of c){let f=u.readdirSync();for(let l of f){(!s||s(l))&&a.push(n?l:l.fullpath());let h=l;if(l.isSymbolicLink()){if(!(i&&(h=l.realpathSync())))continue;h.isUnknown()&&h.lstatSync()}h.shouldWalk(c,o)&&c.add(h)}}return a}[Symbol.asyncIterator](){return this.iterate()}iterate(t=this.cwd,r={}){return typeof t=="string"?t=this.cwd.resolve(t):t instanceof Qe||(r=t,t=this.cwd),this.stream(t,r)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(t=this.cwd,r={}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof Qe||(r=t,t=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=r;(!s||s(t))&&(yield n?t:t.fullpath());let a=new Set([t]);for(let c of a){let u=c.readdirSync();for(let f of u){(!s||s(f))&&(yield n?f:f.fullpath());let l=f;if(f.isSymbolicLink()){if(!(i&&(l=f.realpathSync())))continue;l.isUnknown()&&l.lstatSync()}l.shouldWalk(a,o)&&a.add(l)}}}stream(t=this.cwd,r={}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof Qe||(r=t,t=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=r,a=new F1.Minipass({objectMode:!0});(!s||s(t))&&a.write(n?t:t.fullpath());let c=new Set,u=[t],f=0,l=()=>{let h=!1;for(;!h;){let p=u.shift();if(!p){f===0&&a.end();return}f++,c.add(p);let d=(E,x,b=!1)=>{if(E)return a.emit("error",E);if(i&&!b){let L=[];for(let F of x)F.isSymbolicLink()&&L.push(F.realpath().then(A=>A?.isUnknown()?A.lstat():A));if(L.length){Promise.all(L).then(()=>d(null,x,!0));return}}for(let L of x)L&&(!s||s(L))&&(a.write(n?L:L.fullpath())||(h=!0));f--;for(let L of x){let F=L.realpathCached()||L;F.shouldWalk(c,o)&&u.push(F)}h&&!a.flowing?a.once("drain",l):g||l()},g=!0;p.readdirCB(d,!0),g=!1}};return l(),a}streamSync(t=this.cwd,r={}){typeof t=="string"?t=this.cwd.resolve(t):t instanceof Qe||(r=t,t=this.cwd);let{withFileTypes:n=!0,follow:i=!1,filter:s,walkFilter:o}=r,a=new F1.Minipass({objectMode:!0}),c=new Set;(!s||s(t))&&a.write(n?t:t.fullpath());let u=[t],f=0,l=()=>{let h=!1;for(;!h;){let p=u.shift();if(!p){f===0&&a.end();return}f++,c.add(p);let d=p.readdirSync();for(let g of d)(!s||s(g))&&(a.write(n?g:g.fullpath())||(h=!0));f--;for(let g of d){let E=g;if(g.isSymbolicLink()){if(!(i&&(E=g.realpathSync())))continue;E.isUnknown()&&E.lstatSync()}E.shouldWalk(c,o)&&u.push(E)}}h&&!a.flowing&&a.once("drain",l)};return l(),a}chdir(t=this.cwd){let r=this.cwd;this.cwd=typeof t=="string"?this.cwd.resolve(t):t,this.cwd[H1](r)}};Ee.PathScurryBase=Hs;var Ws=class extends Hs{sep="\\";constructor(t=process.cwd(),r={}){let{nocase:n=!0}=r;super(t,ku.win32,"\\",{...r,nocase:n}),this.nocase=n;for(let i=this.cwd;i;i=i.parent)i.nocase=this.nocase}parseRootPath(t){return ku.win32.parse(t).root.toUpperCase()}newRoot(t){return new Gs(this.rootPath,hr,void 0,this.roots,this.nocase,this.childrenCache(),{fs:t})}isAbsolute(t){return t.startsWith("/")||t.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(t)}};Ee.PathScurryWin32=Ws;var zs=class extends Hs{sep="/";constructor(t=process.cwd(),r={}){let{nocase:n=!1}=r;super(t,ku.posix,"/",{...r,nocase:n}),this.nocase=n}parseRootPath(t){return"/"}newRoot(t){return new Us(this.rootPath,hr,void 0,this.roots,this.nocase,this.childrenCache(),{fs:t})}isAbsolute(t){return t.startsWith("/")}};Ee.PathScurryPosix=zs;var Iu=class extends zs{constructor(t=process.cwd(),r={}){let{nocase:n=!0}=r;super(t,{...r,nocase:n})}};Ee.PathScurryDarwin=Iu;Ee.Path=process.platform==="win32"?Gs:Us;Ee.PathScurry=process.platform==="win32"?Ws:process.platform==="darwin"?Iu:zs});var Lp=_($u=>{"use strict";Object.defineProperty($u,"__esModule",{value:!0});$u.Pattern=void 0;var dq=Fr(),mq=e=>e.length>=1,gq=e=>e.length>=1,Fp=class e{#e;#r;#t;length;#n;#o;#h;#c;#l;#a;#u=!0;constructor(t,r,n,i){if(!mq(t))throw new TypeError("empty pattern list");if(!gq(r))throw new TypeError("empty glob list");if(r.length!==t.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=t.length,n<0||n>=this.length)throw new TypeError("index out of range");if(this.#e=t,this.#r=r,this.#t=n,this.#n=i,this.#t===0){if(this.isUNC()){let[s,o,a,c,...u]=this.#e,[f,l,h,p,...d]=this.#r;u[0]===""&&(u.shift(),d.shift());let g=[s,o,a,c,""].join("/"),E=[f,l,h,p,""].join("/");this.#e=[g,...u],this.#r=[E,...d],this.length=this.#e.length}else if(this.isDrive()||this.isAbsolute()){let[s,...o]=this.#e,[a,...c]=this.#r;o[0]===""&&(o.shift(),c.shift());let u=s+"/",f=a+"/";this.#e=[u,...o],this.#r=[f,...c],this.length=this.#e.length}}}pattern(){return this.#e[this.#t]}isString(){return typeof this.#e[this.#t]=="string"}isGlobstar(){return this.#e[this.#t]===dq.GLOBSTAR}isRegExp(){return this.#e[this.#t]instanceof RegExp}globString(){return this.#h=this.#h||(this.#t===0?this.isAbsolute()?this.#r[0]+this.#r.slice(1).join("/"):this.#r.join("/"):this.#r.slice(this.#t).join("/"))}hasMore(){return this.length>this.#t+1}rest(){return this.#o!==void 0?this.#o:this.hasMore()?(this.#o=new e(this.#e,this.#r,this.#t+1,this.#n),this.#o.#a=this.#a,this.#o.#l=this.#l,this.#o.#c=this.#c,this.#o):this.#o=null}isUNC(){let t=this.#e;return this.#l!==void 0?this.#l:this.#l=this.#n==="win32"&&this.#t===0&&t[0]===""&&t[1]===""&&typeof t[2]=="string"&&!!t[2]&&typeof t[3]=="string"&&!!t[3]}isDrive(){let t=this.#e;return this.#c!==void 0?this.#c:this.#c=this.#n==="win32"&&this.#t===0&&this.length>1&&typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0])}isAbsolute(){let t=this.#e;return this.#a!==void 0?this.#a:this.#a=t[0]===""&&t.length>1||this.isDrive()||this.isUNC()}root(){let t=this.#e[0];return typeof t=="string"&&this.isAbsolute()&&this.#t===0?t:""}checkFollowGlobstar(){return!(this.#t===0||!this.isGlobstar()||!this.#u)}markFollowGlobstar(){return this.#t===0||!this.isGlobstar()||!this.#u?!1:(this.#u=!1,!0)}};$u.Pattern=Fp});var kp=_(Bu=>{"use strict";Object.defineProperty(Bu,"__esModule",{value:!0});Bu.Ignore=void 0;var z1=Fr(),yq=Lp(),vq=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",Tp=class{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(t,{nobrace:r,nocase:n,noext:i,noglobstar:s,platform:o=vq}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=o,this.mmopts={dot:!0,nobrace:r,nocase:n,noext:i,noglobstar:s,optimizationLevel:2,platform:o,nocomment:!0,nonegate:!0};for(let a of t)this.add(a)}add(t){let r=new z1.Minimatch(t,this.mmopts);for(let n=0;n<r.set.length;n++){let i=r.set[n],s=r.globParts[n];if(!i||!s)throw new Error("invalid pattern object");for(;i[0]==="."&&s[0]===".";)i.shift(),s.shift();let o=new yq.Pattern(i,s,0,this.platform),a=new z1.Minimatch(o.globString(),this.mmopts),c=s[s.length-1]==="**",u=o.isAbsolute();u?this.absolute.push(a):this.relative.push(a),c&&(u?this.absoluteChildren.push(a):this.relativeChildren.push(a))}}ignored(t){let r=t.fullpath(),n=`${r}/`,i=t.relative()||".",s=`${i}/`;for(let o of this.relative)if(o.match(i)||o.match(s))return!0;for(let o of this.absolute)if(o.match(r)||o.match(n))return!0;return!1}childrenIgnored(t){let r=t.fullpath()+"/",n=(t.relative()||".")+"/";for(let i of this.relativeChildren)if(i.match(n))return!0;for(let i of this.absoluteChildren)if(i.match(r))return!0;return!1}};Bu.Ignore=Tp});var V1=_(pr=>{"use strict";Object.defineProperty(pr,"__esModule",{value:!0});pr.Processor=pr.SubWalks=pr.MatchRecord=pr.HasWalkedCache=void 0;var Y1=Fr(),Mu=class e{store;constructor(t=new Map){this.store=t}copy(){return new e(new Map(this.store))}hasWalked(t,r){return this.store.get(t.fullpath())?.has(r.globString())}storeWalked(t,r){let n=t.fullpath(),i=this.store.get(n);i?i.add(r.globString()):this.store.set(n,new Set([r.globString()]))}};pr.HasWalkedCache=Mu;var ju=class{store=new Map;add(t,r,n){let i=(r?2:0)|(n?1:0),s=this.store.get(t);this.store.set(t,s===void 0?i:i&s)}entries(){return[...this.store.entries()].map(([t,r])=>[t,!!(r&2),!!(r&1)])}};pr.MatchRecord=ju;var qu=class{store=new Map;add(t,r){if(!t.canReaddir())return;let n=this.store.get(t);n?n.find(i=>i.globString()===r.globString())||n.push(r):this.store.set(t,[r])}get(t){let r=this.store.get(t);if(!r)throw new Error("attempting to walk unknown path");return r}entries(){return this.keys().map(t=>[t,this.store.get(t)])}keys(){return[...this.store.keys()].filter(t=>t.canReaddir())}};pr.SubWalks=qu;var Np=class e{hasWalkedCache;matches=new ju;subwalks=new qu;patterns;follow;dot;opts;constructor(t,r){this.opts=t,this.follow=!!t.follow,this.dot=!!t.dot,this.hasWalkedCache=r?r.copy():new Mu}processPatterns(t,r){this.patterns=r;let n=r.map(i=>[t,i]);for(let[i,s]of n){this.hasWalkedCache.storeWalked(i,s);let o=s.root(),a=s.isAbsolute()&&this.opts.absolute!==!1;if(o){i=i.resolve(o==="/"&&this.opts.root!==void 0?this.opts.root:o);let l=s.rest();if(l)s=l;else{this.matches.add(i,!0,!1);continue}}if(i.isENOENT())continue;let c,u,f=!1;for(;typeof(c=s.pattern())=="string"&&(u=s.rest());)i=i.resolve(c),s=u,f=!0;if(c=s.pattern(),u=s.rest(),f){if(this.hasWalkedCache.hasWalked(i,s))continue;this.hasWalkedCache.storeWalked(i,s)}if(typeof c=="string"){let l=c===".."||c===""||c===".";this.matches.add(i.resolve(c),a,l);continue}else if(c===Y1.GLOBSTAR){(!i.isSymbolicLink()||this.follow||s.checkFollowGlobstar())&&this.subwalks.add(i,s);let l=u?.pattern(),h=u?.rest();if(!u||(l===""||l===".")&&!h)this.matches.add(i,a,l===""||l===".");else if(l===".."){let p=i.parent||i;h?this.hasWalkedCache.hasWalked(p,h)||this.subwalks.add(p,h):this.matches.add(p,a,!0)}}else c instanceof RegExp&&this.subwalks.add(i,s)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new e(this.opts,this.hasWalkedCache)}filterEntries(t,r){let n=this.subwalks.get(t),i=this.child();for(let s of r)for(let o of n){let a=o.isAbsolute(),c=o.pattern(),u=o.rest();c===Y1.GLOBSTAR?i.testGlobstar(s,o,u,a):c instanceof RegExp?i.testRegExp(s,c,u,a):i.testString(s,c,u,a)}return i}testGlobstar(t,r,n,i){if((this.dot||!t.name.startsWith("."))&&(r.hasMore()||this.matches.add(t,i,!1),t.canReaddir()&&(this.follow||!t.isSymbolicLink()?this.subwalks.add(t,r):t.isSymbolicLink()&&(n&&r.checkFollowGlobstar()?this.subwalks.add(t,n):r.markFollowGlobstar()&&this.subwalks.add(t,r)))),n){let s=n.pattern();if(typeof s=="string"&&s!==".."&&s!==""&&s!==".")this.testString(t,s,n.rest(),i);else if(s===".."){let o=t.parent||t;this.subwalks.add(o,n)}else s instanceof RegExp&&this.testRegExp(t,s,n.rest(),i)}}testRegExp(t,r,n,i){r.test(t.name)&&(n?this.subwalks.add(t,n):this.matches.add(t,i,!1))}testString(t,r,n,i){t.isNamed(r)&&(n?this.subwalks.add(t,n):this.matches.add(t,i,!1))}};pr.Processor=Np});var J1=_(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.GlobStream=cn.GlobWalker=cn.GlobUtil=void 0;var Eq=Pp(),K1=kp(),X1=V1(),Aq=(e,t)=>typeof e=="string"?new K1.Ignore([e],t):Array.isArray(e)?new K1.Ignore(e,t):e,Ys=class{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#e=[];#r;#t;signal;maxDepth;includeChildMatches;constructor(t,r,n){if(this.patterns=t,this.path=r,this.opts=n,this.#t=!n.posix&&n.platform==="win32"?"\\":"/",this.includeChildMatches=n.includeChildMatches!==!1,(n.ignore||!this.includeChildMatches)&&(this.#r=Aq(n.ignore??[],n),!this.includeChildMatches&&typeof this.#r.add!="function")){let i="cannot ignore child matches, ignore lacks add() method.";throw new Error(i)}this.maxDepth=n.maxDepth||1/0,n.signal&&(this.signal=n.signal,this.signal.addEventListener("abort",()=>{this.#e.length=0}))}#n(t){return this.seen.has(t)||!!this.#r?.ignored?.(t)}#o(t){return!!this.#r?.childrenIgnored?.(t)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let t;for(;!this.paused&&(t=this.#e.shift());)t()}onResume(t){this.signal?.aborted||(this.paused?this.#e.push(t):t())}async matchCheck(t,r){if(r&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=t.realpathCached()||await t.realpath(),!n)return;t=n}let s=t.isUnknown()||this.opts.stat?await t.lstat():t;if(this.opts.follow&&this.opts.nodir&&s?.isSymbolicLink()){let o=await s.realpath();o&&(o.isUnknown()||this.opts.stat)&&await o.lstat()}return this.matchCheckTest(s,r)}matchCheckTest(t,r){return t&&(this.maxDepth===1/0||t.depth()<=this.maxDepth)&&(!r||t.canReaddir())&&(!this.opts.nodir||!t.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!t.isSymbolicLink()||!t.realpathCached()?.isDirectory())&&!this.#n(t)?t:void 0}matchCheckSync(t,r){if(r&&this.opts.nodir)return;let n;if(this.opts.realpath){if(n=t.realpathCached()||t.realpathSync(),!n)return;t=n}let s=t.isUnknown()||this.opts.stat?t.lstatSync():t;if(this.opts.follow&&this.opts.nodir&&s?.isSymbolicLink()){let o=s.realpathSync();o&&(o?.isUnknown()||this.opts.stat)&&o.lstatSync()}return this.matchCheckTest(s,r)}matchFinish(t,r){if(this.#n(t))return;if(!this.includeChildMatches&&this.#r?.add){let s=`${t.relativePosix()}/**`;this.#r.add(s)}let n=this.opts.absolute===void 0?r:this.opts.absolute;this.seen.add(t);let i=this.opts.mark&&t.isDirectory()?this.#t:"";if(this.opts.withFileTypes)this.matchEmit(t);else if(n){let s=this.opts.posix?t.fullpathPosix():t.fullpath();this.matchEmit(s+i)}else{let s=this.opts.posix?t.relativePosix():t.relative(),o=this.opts.dotRelative&&!s.startsWith(".."+this.#t)?"."+this.#t:"";this.matchEmit(s?o+s+i:"."+i)}}async match(t,r,n){let i=await this.matchCheck(t,n);i&&this.matchFinish(i,r)}matchSync(t,r,n){let i=this.matchCheckSync(t,n);i&&this.matchFinish(i,r)}walkCB(t,r,n){this.signal?.aborted&&n(),this.walkCB2(t,r,new X1.Processor(this.opts),n)}walkCB2(t,r,n,i){if(this.#o(t))return i();if(this.signal?.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2(t,r,n,i));return}n.processPatterns(t,r);let s=1,o=()=>{--s===0&&i()};for(let[a,c,u]of n.matches.entries())this.#n(a)||(s++,this.match(a,c,u).then(()=>o()));for(let a of n.subwalkTargets()){if(this.maxDepth!==1/0&&a.depth()>=this.maxDepth)continue;s++;let c=a.readdirCached();a.calledReaddir()?this.walkCB3(a,c,n,o):a.readdirCB((u,f)=>this.walkCB3(a,f,n,o),!0)}o()}walkCB3(t,r,n,i){n=n.filterEntries(t,r);let s=1,o=()=>{--s===0&&i()};for(let[a,c,u]of n.matches.entries())this.#n(a)||(s++,this.match(a,c,u).then(()=>o()));for(let[a,c]of n.subwalks.entries())s++,this.walkCB2(a,c,n.child(),o);o()}walkCBSync(t,r,n){this.signal?.aborted&&n(),this.walkCB2Sync(t,r,new X1.Processor(this.opts),n)}walkCB2Sync(t,r,n,i){if(this.#o(t))return i();if(this.signal?.aborted&&i(),this.paused){this.onResume(()=>this.walkCB2Sync(t,r,n,i));return}n.processPatterns(t,r);let s=1,o=()=>{--s===0&&i()};for(let[a,c,u]of n.matches.entries())this.#n(a)||this.matchSync(a,c,u);for(let a of n.subwalkTargets()){if(this.maxDepth!==1/0&&a.depth()>=this.maxDepth)continue;s++;let c=a.readdirSync();this.walkCB3Sync(a,c,n,o)}o()}walkCB3Sync(t,r,n,i){n=n.filterEntries(t,r);let s=1,o=()=>{--s===0&&i()};for(let[a,c,u]of n.matches.entries())this.#n(a)||this.matchSync(a,c,u);for(let[a,c]of n.subwalks.entries())s++,this.walkCB2Sync(a,c,n.child(),o);o()}};cn.GlobUtil=Ys;var Ip=class extends Ys{matches=new Set;constructor(t,r,n){super(t,r,n)}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,r)=>{this.walkCB(this.path,this.patterns,()=>{this.signal?.aborted?r(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}};cn.GlobWalker=Ip;var $p=class extends Ys{results;constructor(t,r,n){super(t,r,n),this.results=new Eq.Minipass({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}};cn.GlobStream=$p});var Mp=_(Hu=>{"use strict";Object.defineProperty(Hu,"__esModule",{value:!0});Hu.Glob=void 0;var wq=Fr(),Sq=M("node:url"),Gu=W1(),bq=Lp(),Uu=J1(),Cq=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",Bp=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,r){if(!r)throw new TypeError("glob options required");if(this.withFileTypes=!!r.withFileTypes,this.signal=r.signal,this.follow=!!r.follow,this.dot=!!r.dot,this.dotRelative=!!r.dotRelative,this.nodir=!!r.nodir,this.mark=!!r.mark,r.cwd?(r.cwd instanceof URL||r.cwd.startsWith("file://"))&&(r.cwd=(0,Sq.fileURLToPath)(r.cwd)):this.cwd="",this.cwd=r.cwd||"",this.root=r.root,this.magicalBraces=!!r.magicalBraces,this.nobrace=!!r.nobrace,this.noext=!!r.noext,this.realpath=!!r.realpath,this.absolute=r.absolute,this.includeChildMatches=r.includeChildMatches!==!1,this.noglobstar=!!r.noglobstar,this.matchBase=!!r.matchBase,this.maxDepth=typeof r.maxDepth=="number"?r.maxDepth:1/0,this.stat=!!r.stat,this.ignore=r.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof t=="string"&&(t=[t]),this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(t=t.map(c=>c.replace(/\\/g,"/"))),this.matchBase){if(r.noglobstar)throw new TypeError("base matching requires globstar");t=t.map(c=>c.includes("/")?c:`./**/${c}`)}if(this.pattern=t,this.platform=r.platform||Cq,this.opts={...r,platform:this.platform},r.scurry){if(this.scurry=r.scurry,r.nocase!==void 0&&r.nocase!==r.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let c=r.platform==="win32"?Gu.PathScurryWin32:r.platform==="darwin"?Gu.PathScurryDarwin:r.platform?Gu.PathScurryPosix:Gu.PathScurry;this.scurry=new c(this.cwd,{nocase:r.nocase,fs:r.fs})}this.nocase=this.scurry.nocase;let n=this.platform==="darwin"||this.platform==="win32",i={...r,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:n,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},s=this.pattern.map(c=>new wq.Minimatch(c,i)),[o,a]=s.reduce((c,u)=>(c[0].push(...u.set),c[1].push(...u.globParts),c),[[],[]]);this.patterns=o.map((c,u)=>{let f=a[u];if(!f)throw new Error("invalid pattern object");return new bq.Pattern(c,f,0,this.platform)})}async walk(){return[...await new Uu.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new Uu.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new Uu.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new Uu.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}};Hu.Glob=Bp});var jp=_(Wu=>{"use strict";Object.defineProperty(Wu,"__esModule",{value:!0});Wu.hasMagic=void 0;var xq=Fr(),Oq=(e,t={})=>{Array.isArray(e)||(e=[e]);for(let r of e)if(new xq.Minimatch(r,t).hasMagic())return!0;return!1};Wu.hasMagic=Oq});var Hp=_(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.glob=me.sync=me.iterate=me.iterateSync=me.stream=me.streamSync=me.Ignore=me.hasMagic=me.Glob=me.unescape=me.escape=void 0;me.globStreamSync=Vs;me.globStream=qp;me.globSync=Gp;me.globIterateSync=Ks;me.globIterate=Up;var Q1=Fr(),Nn=Mp(),_q=jp(),eb=Fr();Object.defineProperty(me,"escape",{enumerable:!0,get:function(){return eb.escape}});Object.defineProperty(me,"unescape",{enumerable:!0,get:function(){return eb.unescape}});var Pq=Mp();Object.defineProperty(me,"Glob",{enumerable:!0,get:function(){return Pq.Glob}});var Rq=jp();Object.defineProperty(me,"hasMagic",{enumerable:!0,get:function(){return Rq.hasMagic}});var Dq=kp();Object.defineProperty(me,"Ignore",{enumerable:!0,get:function(){return Dq.Ignore}});function Vs(e,t={}){return new Nn.Glob(e,t).streamSync()}function qp(e,t={}){return new Nn.Glob(e,t).stream()}function Gp(e,t={}){return new Nn.Glob(e,t).walkSync()}async function Z1(e,t={}){return new Nn.Glob(e,t).walk()}function Ks(e,t={}){return new Nn.Glob(e,t).iterateSync()}function Up(e,t={}){return new Nn.Glob(e,t).iterate()}me.streamSync=Vs;me.stream=Object.assign(qp,{sync:Vs});me.iterateSync=Ks;me.iterate=Object.assign(Up,{sync:Ks});me.sync=Object.assign(Gp,{stream:Vs,iterate:Ks});me.glob=Object.assign(Z1,{glob:Z1,globSync:Gp,sync:me.sync,globStream:qp,stream:me.stream,globStreamSync:Vs,streamSync:me.streamSync,globIterate:Up,iterate:me.iterate,globIterateSync:Ks,iterateSync:me.iterateSync,Glob:Nn.Glob,hasMagic:_q.hasMagic,escape:Q1.escape,unescape:Q1.unescape});me.glob.glob=me.glob});var nb=_((Lz,rb)=>{"use strict";rb.exports=tb;var Xs;try{Xs=M("bluebird")}catch{Xs=Promise}var $i={};tb.active=$i;function tb(e,t){return Xs.all([e,t]).then(function(n){let i=n[0],s=n[1];return Array.isArray(i)?Xs.all(i).then(function(o){return r(o.join(""),s)}):r(i,s)});function r(n,i){if(!$i[n]){let s=function(){delete $i[n]};$i[n]=new Xs(function(o){return o(i())}),$i[n].then(s,s)}return $i[n]}}});var sb=_(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.sync=Bi.isexe=void 0;var Fq=M("fs"),Lq=M("fs/promises"),Tq=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return ib(await(0,Lq.stat)(e),t)}catch(n){let i=n;if(r||i.code==="EACCES")return!1;throw i}};Bi.isexe=Tq;var kq=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return ib((0,Fq.statSync)(e),t)}catch(n){let i=n;if(r||i.code==="EACCES")return!1;throw i}};Bi.sync=kq;var ib=(e,t)=>e.isFile()&&Nq(e,t),Nq=(e,t)=>{let r=t.uid??process.getuid?.(),n=t.groups??process.getgroups?.()??[],i=t.gid??process.getgid?.()??n[0];if(r===void 0||i===void 0)throw new Error("cannot get uid or gid");let s=new Set([i,...n]),o=e.mode,a=e.uid,c=e.gid,u=parseInt("100",8),f=parseInt("010",8),l=parseInt("001",8),h=u|f;return!!(o&l||o&f&&s.has(c)||o&u&&a===r||o&h&&r===0)}});var ab=_(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.sync=Mi.isexe=void 0;var Iq=M("fs"),$q=M("fs/promises"),Bq=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return ob(await(0,$q.stat)(e),e,t)}catch(n){let i=n;if(r||i.code==="EACCES")return!1;throw i}};Mi.isexe=Bq;var Mq=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return ob((0,Iq.statSync)(e),e,t)}catch(n){let i=n;if(r||i.code==="EACCES")return!1;throw i}};Mi.sync=Mq;var jq=(e,t)=>{let{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(n.indexOf("")!==-1)return!0;for(let i=0;i<n.length;i++){let s=n[i].toLowerCase(),o=e.substring(e.length-s.length).toLowerCase();if(s&&o===s)return!0}return!1},ob=(e,t,r)=>e.isFile()&&jq(t,r)});var cb=_(ub=>{"use strict";Object.defineProperty(ub,"__esModule",{value:!0})});var mb=_(He=>{"use strict";var lb=He&&He.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),qq=He&&He.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),fb=He&&He.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&lb(t,e,r);return qq(t,e),t},Gq=He&&He.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&lb(t,e,r)};Object.defineProperty(He,"__esModule",{value:!0});He.sync=He.isexe=He.posix=He.win32=void 0;var hb=fb(sb());He.posix=hb;var pb=fb(ab());He.win32=pb;Gq(cb(),He);var Uq=process.env._ISEXE_TEST_PLATFORM_||process.platform,db=Uq==="win32"?pb:hb;He.isexe=db.isexe;He.sync=db.sync});var Wp=_(($z,Cb)=>{var{isexe:Hq,sync:Wq}=mb(),{join:zq,delimiter:Yq,sep:gb,posix:yb}=M("path"),vb=process.platform==="win32",Eb=new RegExp(`[${yb.sep}${gb===yb.sep?"":gb}]`.replace(/(\\)/g,"\\$1")),Vq=new RegExp(`^\\.${Eb.source}`),Ab=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),wb=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=Yq})=>{let i=e.match(Eb)?[""]:[...vb?[process.cwd()]:[],...(t||"").split(n)];if(vb){let s=r||[".EXE",".CMD",".BAT",".COM"].join(n),o=s.split(n).flatMap(a=>[a,a.toLowerCase()]);return e.includes(".")&&o[0]!==""&&o.unshift(""),{pathEnv:i,pathExt:o,pathExtExe:s}}return{pathEnv:i,pathExt:[""]}},Sb=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e;return(!r&&Vq.test(t)?t.slice(0,2):"")+zq(r,t)},bb=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=wb(e,t),s=[];for(let o of r){let a=Sb(o,e);for(let c of n){let u=a+c;if(await Hq(u,{pathExt:i,ignoreErrors:!0})){if(!t.all)return u;s.push(u)}}}if(t.all&&s.length)return s;if(t.nothrow)return null;throw Ab(e)},Kq=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=wb(e,t),s=[];for(let o of r){let a=Sb(o,e);for(let c of n){let u=a+c;if(Wq(u,{pathExt:i,ignoreErrors:!0})){if(!t.all)return u;s.push(u)}}}if(t.all&&s.length)return s;if(t.nothrow)return null;throw Ab(e)};Cb.exports=bb;bb.sync=Kq});var Ob=_((Bz,xb)=>{"use strict";var Xq=(e,t)=>{if(!e.length)return'""';let r;if(!/[ \t\n\v"]/.test(e))r=e;else{r='"';for(let n=0;n<=e.length;++n){let i=0;for(;e[n]==="\\";)++n,++i;if(n===e.length){r+="\\".repeat(i*2);break}e[n]==='"'?(r+="\\".repeat(i*2+1),r+=e[n]):(r+="\\".repeat(i),r+=e[n])}r+='"'}return r=r.replace(/[ !%^&()<>|"]/g,"^$&"),t&&(r=r.replace(/[ !%^&()<>|"]/g,"^$&")),r},Jq=e=>e.length?/[\t\n\r "#$&'()*;<>?\\`|~]/.test(e)?`'${e.replace(/'/g,"'\\''")}'`.replace(/^(?:'')+(?!$)/,"").replace(/\\'''/g,"\\'"):e:"''";xb.exports={cmd:Xq,sh:Jq}});var Fb=_((Mz,Db)=>{"use strict";var{spawn:Qq}=M("child_process"),Zq=M("os"),eG=Wp(),_b=Ob(),Yp=(e,t,r={},n={})=>{if(r.shell)return Rb(e,t,r,n);let i,s,o=new Promise((p,d)=>{i=p,s=d}),a=new Error("command failed"),c=[],u=[],f=p=>({cmd:e,args:t,...p,...rG(c,u,r),...n}),l=(p,d)=>{let g=f(d);s(Object.assign(p,g))},h=Qq(e,t,r);return o.stdin=h.stdin,o.process=h,h.on("error",l),h.stdout&&(h.stdout.on("data",p=>c.push(p)),h.stdout.on("error",l)),h.stderr&&(h.stderr.on("data",p=>u.push(p)),h.stderr.on("error",l)),h.on("close",(p,d)=>{p||d?l(a,{code:p,signal:d}):i(f({code:p,signal:d}))}),o},Rb=(e,t,r,n)=>{let i=r.shell;i===!0&&(i=process.platform==="win32"?process.env.ComSpec:"sh");let s={...r,shell:!1},o=[],a=e;if(/(?:^|\\)cmd(?:\.exe)?$/i.test(i)){let u=!1,f="",l=!1;for(let p=0;p<e.length;++p){let d=e.charAt(p);if(d===" "&&!l)break;f+=d,(d==='"'||d==="'")&&(l=!l)}let h;try{h=eG.sync(f,{path:s.env&&Pb(s.env,"PATH")||process.env.PATH,pathext:s.env&&Pb(s.env,"PATHEXT")||process.env.PATHEXT}).toLowerCase()}catch{h=f.toLowerCase()}u=h.endsWith(".cmd")||h.endsWith(".bat");for(let p of t)a+=` ${_b.cmd(p,u)}`;o.push("/d","/s","/c",a),s.windowsVerbatimArguments=!0}else{for(let u of t)a+=` ${_b.sh(u)}`;o.push("-c",a)}return Yp(i,o,s,n)},tG=(e,t={},r={})=>{let n={...t,shell:!0},i=[].concat(e),s=process.platform;if(s==="linux"&&Zq.release().toLowerCase().includes("microsoft")&&(s="wsl",!process.env.BROWSER))return Promise.reject(new Error("Set the BROWSER environment variable to your desired browser."));let o=n.command;return o||(s==="win32"?(n.shell=process.env.ComSpec,o='start ""'):s==="wsl"?o="sensible-browser":s==="darwin"?o="open":o="xdg-open"),Rb(o,i,n,r)};Yp.open=tG;var zp=(e="pipe",t)=>e==="pipe"||e===null?!0:Array.isArray(e)?zp(e[t],t):!1,rG=(e,t,{stdioString:r=!0,stdio:n})=>{let i={stdout:null,stderr:null};return zp(n,1)&&(i.stdout=Buffer.concat(e),r&&(i.stdout=i.stdout.toString().trim())),zp(n,2)&&(i.stderr=Buffer.concat(t),r&&(i.stderr=i.stderr.toString().trim())),i},Pb=(e,t)=>{t=t.toLowerCase();for(let r of Object.keys(e).sort())if(r.toLowerCase()===t)return e[r]};Db.exports=Yp});var kb=_((jz,Tb)=>{"use strict";function Lb(e,t){for(let r in t)Object.defineProperty(e,r,{value:t[r],enumerable:!0,configurable:!0});return e}function nG(e,t,r){if(!e||typeof e=="string")throw new TypeError("Please pass an Error to err-code");r||(r={}),typeof t=="object"&&(r=t,t=void 0),t!=null&&(r.code=t);try{return Lb(e,r)}catch{r.message=e.message,r.stack=e.stack;let i=function(){};return i.prototype=Object.create(Object.getPrototypeOf(e)),Lb(new i,r)}}Tb.exports=nG});var Ib=_((qz,Nb)=>{function jt(e,t){typeof t=="boolean"&&(t={forever:t}),this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=t||{},this._maxRetryTime=t&&t.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}Nb.exports=jt;jt.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts};jt.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timeouts=[],this._cachedTimeouts=null};jt.prototype.retry=function(e){if(this._timeout&&clearTimeout(this._timeout),!e)return!1;var t=new Date().getTime();if(e&&t-this._operationStart>=this._maxRetryTime)return this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(this._errors.length-1,this._errors.length),this._timeouts=this._cachedTimeouts.slice(0),r=this._timeouts.shift();else return!1;var n=this,i=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r);return this._options.unref&&i.unref(),!0};jt.prototype.attempt=function(e,t){this._fn=e,t&&(t.timeout&&(this._operationTimeout=t.timeout),t.cb&&(this._operationTimeoutCb=t.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};jt.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};jt.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};jt.prototype.start=jt.prototype.try;jt.prototype.errors=function(){return this._errors};jt.prototype.attempts=function(){return this._attempts};jt.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},t=null,r=0,n=0;n<this._errors.length;n++){var i=this._errors[n],s=i.message,o=(e[s]||0)+1;e[s]=o,o>=r&&(t=i,r=o)}return t}});var $b=_(In=>{var iG=Ib();In.operation=function(e){var t=In.timeouts(e);return new iG(t,{forever:e&&e.forever,unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};In.timeouts=function(e){if(e instanceof Array)return[].concat(e);var t={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in e)t[r]=e[r];if(t.minTimeout>t.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var n=[],i=0;i<t.retries;i++)n.push(this.createTimeout(i,t));return e&&e.forever&&!n.length&&n.push(this.createTimeout(i,t)),n.sort(function(s,o){return s-o}),n};In.createTimeout=function(e,t){var r=t.randomize?Math.random()+1:1,n=Math.round(r*t.minTimeout*Math.pow(t.factor,e));return n=Math.min(n,t.maxTimeout),n};In.wrap=function(e,t,r){if(t instanceof Array&&(r=t,t=null),!r){r=[];for(var n in e)typeof e[n]=="function"&&r.push(n)}for(var i=0;i<r.length;i++){var s=r[i],o=e[s];e[s]=function(c){var u=In.operation(t),f=Array.prototype.slice.call(arguments,1),l=f.pop();f.push(function(h){u.retry(h)||(h&&(arguments[0]=u.mainError()),l.apply(this,arguments))}),u.attempt(function(){c.apply(e,f)})}.bind(e,o),e[s].options=t}}});var Mb=_((Uz,Bb)=>{Bb.exports=$b()});var Gb=_((Hz,qb)=>{"use strict";var sG=kb(),oG=Mb(),aG=Object.prototype.hasOwnProperty;function jb(e){return e&&e.code==="EPROMISERETRY"&&aG.call(e,"retried")}function uG(e,t){var r,n;return typeof e=="object"&&typeof t=="function"&&(r=t,t=e,e=r),n=oG.operation(t),new Promise(function(i,s){n.attempt(function(o){Promise.resolve().then(function(){return e(function(a){throw jb(a)&&(a=a.retried),sG(new Error("Retrying"),"EPROMISERETRY",{retried:a})},o)}).then(i,function(a){jb(a)&&(a=a.retried,n.retry(a||new Error))||s(a)})})})}qb.exports=uG});var Jp=_((Wz,Ub)=>{var Js=class extends Error{shouldRetry(){return!1}},Vp=class extends Js{constructor(){super("A git connection error occurred")}shouldRetry(t){return t<3}},Kp=class extends Js{constructor(){super("The git reference could not be found")}},Xp=class extends Js{constructor(){super("An unknown git error occurred")}};Ub.exports={GitConnectionError:Vp,GitPathspecError:Kp,GitUnknownError:Xp}});var Wb=_((zz,Hb)=>{var{GitConnectionError:cG,GitPathspecError:lG,GitUnknownError:fG}=Jp(),hG=new RegExp(["remote error: Internal Server Error","The remote end hung up unexpectedly","Connection timed out","Operation timed out","Failed to connect to .* Timed out","Connection reset by peer","SSL_ERROR_SYSCALL","The requested URL returned error: 503"].join("|")),pG=/pathspec .* did not match any file\(s\) known to git/;function dG(e){let t=e.stderr,r;return hG.test(t)?r=new cG(t):pG.test(t)?r=new lG(t):r=new fG(t),Object.assign(r,e)}Hb.exports=dG});var Kb=_((Yz,Qp)=>{var zb=M("node:fs"),mG=M("node:os"),gG=M("node:path"),yG=qh(),Yb=gG.join(mG.homedir(),".gitconfig"),Qs=null,Vb=()=>{if(Qs===null)try{if(Qs={},zb.existsSync(Yb)){let e=zb.readFileSync(Yb,"utf-8");Qs=yG.parse(e)}}catch{Qs={}}return Qs},vG=()=>{let e=Vb();return{sshCommandSetInConfig:e?.core?.sshCommand!==void 0,askPassSetInConfig:e?.core?.askpass!==void 0}},EG=process.env.GIT_SSH_COMMAND!==void 0,AG=process.env.GIT_ASKPASS!==void 0,{sshCommandSetInConfig:wG,askPassSetInConfig:SG}=vG(),bG={...AG||SG?{}:{GIT_ASKPASS:"echo"},...EG||wG?{}:{GIT_SSH_COMMAND:"ssh -oStrictHostKeyChecking=accept-new"}};Qp.exports=(e={})=>({stdioString:!0,...e,shell:!1,env:e.env||{...bG,...process.env}});Qp.exports.loadGitConfig=Vb});var Jb=_((Vz,Xb)=>{var CG=Wp(),Zp;try{Zp=CG.sync("git")}catch{}Xb.exports=(e={})=>e.git?e.git:!Zp||e.git===!1?Object.assign(new Error("No git binary found in $PATH"),{code:"ENOGIT"}):Zp});var Zs=_((Kz,Qb)=>{var xG=Fb(),OG=Gb(),{log:_G}=Os(),PG=Wb(),RG=Kb();Qb.exports=(e,t={})=>{let n=Jb()(t);if(n instanceof Error)return Promise.reject(n);let i=t.allowReplace||e[0]==="--no-replace-objects"?e:["--no-replace-objects",...e],s=t.retry;return s==null&&(s={retries:t.fetchRetries||2,factor:t.fetchRetryFactor||10,maxTimeout:t.fetchRetryMaxtimeout||6e4,minTimeout:t.fetchRetryMintimeout||1e3}),OG((o,a)=>(a!==1&&_G.silly("git",`Retrying git command: ${i.join(" ")} attempt # ${a}`),xG(n,i,RG(t)).catch(c=>{let u=PG(c);if(!u.shouldRetry(a))throw u;o(u)})),s)}});var tC=_((Xz,eC)=>{var Zb=it(),DG=(e,t,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new Zb(e instanceof Zb?e.version:e,r).inc(t,n,i).version}catch{return null}};eC.exports=DG});var iC=_((Jz,nC)=>{var rC=Fn(),FG=(e,t)=>{let r=rC(e,null,!0),n=rC(t,null,!0),i=r.compare(n);if(i===0)return null;let s=i>0,o=s?r:n,a=s?n:r,c=!!o.prerelease.length;if(!!a.prerelease.length&&!c)return!a.patch&&!a.minor?"major":o.patch?"patch":o.minor?"minor":"major";let f=c?"pre":"";return r.major!==n.major?f+"major":r.minor!==n.minor?f+"minor":r.patch!==n.patch?f+"patch":"prerelease"};nC.exports=FG});var oC=_((Qz,sC)=>{var LG=it(),TG=(e,t)=>new LG(e,t).major;sC.exports=TG});var uC=_((Zz,aC)=>{var kG=it(),NG=(e,t)=>new kG(e,t).minor;aC.exports=NG});var lC=_((eY,cC)=>{var IG=it(),$G=(e,t)=>new IG(e,t).patch;cC.exports=$G});var hC=_((tY,fC)=>{var BG=Fn(),MG=(e,t)=>{let r=BG(e,t);return r&&r.prerelease.length?r.prerelease:null};fC.exports=MG});var qt=_((rY,dC)=>{var pC=it(),jG=(e,t,r)=>new pC(e,r).compare(new pC(t,r));dC.exports=jG});var gC=_((nY,mC)=>{var qG=qt(),GG=(e,t,r)=>qG(t,e,r);mC.exports=GG});var vC=_((iY,yC)=>{var UG=qt(),HG=(e,t)=>UG(e,t,!0);yC.exports=HG});var zu=_((sY,AC)=>{var EC=it(),WG=(e,t,r)=>{let n=new EC(e,r),i=new EC(t,r);return n.compare(i)||n.compareBuild(i)};AC.exports=WG});var SC=_((oY,wC)=>{var zG=zu(),YG=(e,t)=>e.sort((r,n)=>zG(r,n,t));wC.exports=YG});var CC=_((aY,bC)=>{var VG=zu(),KG=(e,t)=>e.sort((r,n)=>VG(n,r,t));bC.exports=KG});var eo=_((uY,xC)=>{var XG=qt(),JG=(e,t,r)=>XG(e,t,r)>0;xC.exports=JG});var Yu=_((cY,OC)=>{var QG=qt(),ZG=(e,t,r)=>QG(e,t,r)<0;OC.exports=ZG});var ed=_((lY,_C)=>{var eU=qt(),tU=(e,t,r)=>eU(e,t,r)===0;_C.exports=tU});var td=_((fY,PC)=>{var rU=qt(),nU=(e,t,r)=>rU(e,t,r)!==0;PC.exports=nU});var Vu=_((hY,RC)=>{var iU=qt(),sU=(e,t,r)=>iU(e,t,r)>=0;RC.exports=sU});var Ku=_((pY,DC)=>{var oU=qt(),aU=(e,t,r)=>oU(e,t,r)<=0;DC.exports=aU});var rd=_((dY,FC)=>{var uU=ed(),cU=td(),lU=eo(),fU=Vu(),hU=Yu(),pU=Ku(),dU=(e,t,r,n)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return uU(e,r,n);case"!=":return cU(e,r,n);case">":return lU(e,r,n);case">=":return fU(e,r,n);case"<":return hU(e,r,n);case"<=":return pU(e,r,n);default:throw new TypeError(`Invalid operator: ${t}`)}};FC.exports=dU});var TC=_((mY,LC)=>{var mU=it(),gU=Fn(),{safeRe:Xu,t:Ju}=Di(),yU=(e,t)=>{if(e instanceof mU)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(t.includePrerelease?Xu[Ju.COERCEFULL]:Xu[Ju.COERCE]);else{let c=t.includePrerelease?Xu[Ju.COERCERTLFULL]:Xu[Ju.COERCERTL],u;for(;(u=c.exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),c.lastIndex=u.index+u[1].length+u[2].length;c.lastIndex=-1}if(r===null)return null;let n=r[2],i=r[3]||"0",s=r[4]||"0",o=t.includePrerelease&&r[5]?`-${r[5]}`:"",a=t.includePrerelease&&r[6]?`+${r[6]}`:"";return gU(`${n}.${i}.${s}${o}${a}`,t)};LC.exports=yU});var NC=_((gY,kC)=>{var nd=class{constructor(){this.max=1e3,this.map=new Map}get(t){let r=this.map.get(t);if(r!==void 0)return this.map.delete(t),this.map.set(t,r),r}delete(t){return this.map.delete(t)}set(t,r){if(!this.delete(t)&&r!==void 0){if(this.map.size>=this.max){let i=this.map.keys().next().value;this.delete(i)}this.map.set(t,r)}return this}};kC.exports=nd});var Gt=_((yY,MC)=>{var vU=/\s+/g,id=class e{constructor(t,r){if(r=AU(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof sd)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t.trim().replace(vU," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(i=>!$C(i[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&_U(i[0])){this.set=[i];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let t=0;t<this.set.length;t++){t>0&&(this.formatted+="||");let r=this.set[t];for(let n=0;n<r.length;n++)n>0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(t){let n=((this.options.includePrerelease&&xU)|(this.options.loose&&OU))+":"+t,i=IC.get(n);if(i)return i;let s=this.options.loose,o=s?St[mt.HYPHENRANGELOOSE]:St[mt.HYPHENRANGE];t=t.replace(o,$U(this.options.includePrerelease)),_e("hyphen replace",t),t=t.replace(St[mt.COMPARATORTRIM],SU),_e("comparator trim",t),t=t.replace(St[mt.TILDETRIM],bU),_e("tilde trim",t),t=t.replace(St[mt.CARETTRIM],CU),_e("caret trim",t);let a=t.split(" ").map(l=>PU(l,this.options)).join(" ").split(/\s+/).map(l=>IU(l,this.options));s&&(a=a.filter(l=>(_e("loose invalid filter",l,this.options),!!l.match(St[mt.COMPARATORLOOSE])))),_e("range list",a);let c=new Map,u=a.map(l=>new sd(l,this.options));for(let l of u){if($C(l))return[l];c.set(l.value,l)}c.size>1&&c.has("")&&c.delete("");let f=[...c.values()];return IC.set(n,f),f}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some(n=>BC(n,r)&&t.set.some(i=>BC(i,r)&&n.every(s=>i.every(o=>s.intersects(o,r)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new wU(t,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(BU(this.set[r],t,this.options))return!0;return!1}};MC.exports=id;var EU=NC(),IC=new EU,AU=ru(),sd=to(),_e=_s(),wU=it(),{safeRe:St,t:mt,comparatorTrimReplace:SU,tildeTrimReplace:bU,caretTrimReplace:CU}=Di(),{FLAG_INCLUDE_PRERELEASE:xU,FLAG_LOOSE:OU}=Ps(),$C=e=>e.value==="<0.0.0-0",_U=e=>e.value==="",BC=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every(s=>i.intersects(s,t)),i=n.pop();return r},PU=(e,t)=>(_e("comp",e,t),e=FU(e,t),_e("caret",e),e=RU(e,t),_e("tildes",e),e=TU(e,t),_e("xrange",e),e=NU(e,t),_e("stars",e),e),gt=e=>!e||e.toLowerCase()==="x"||e==="*",RU=(e,t)=>e.trim().split(/\s+/).map(r=>DU(r,t)).join(" "),DU=(e,t)=>{let r=t.loose?St[mt.TILDELOOSE]:St[mt.TILDE];return e.replace(r,(n,i,s,o,a)=>{_e("tilde",e,n,i,s,o,a);let c;return gt(i)?c="":gt(s)?c=`>=${i}.0.0 <${+i+1}.0.0-0`:gt(o)?c=`>=${i}.${s}.0 <${i}.${+s+1}.0-0`:a?(_e("replaceTilde pr",a),c=`>=${i}.${s}.${o}-${a} <${i}.${+s+1}.0-0`):c=`>=${i}.${s}.${o} <${i}.${+s+1}.0-0`,_e("tilde return",c),c})},FU=(e,t)=>e.trim().split(/\s+/).map(r=>LU(r,t)).join(" "),LU=(e,t)=>{_e("caret",e,t);let r=t.loose?St[mt.CARETLOOSE]:St[mt.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(i,s,o,a,c)=>{_e("caret",e,i,s,o,a,c);let u;return gt(s)?u="":gt(o)?u=`>=${s}.0.0${n} <${+s+1}.0.0-0`:gt(a)?s==="0"?u=`>=${s}.${o}.0${n} <${s}.${+o+1}.0-0`:u=`>=${s}.${o}.0${n} <${+s+1}.0.0-0`:c?(_e("replaceCaret pr",c),s==="0"?o==="0"?u=`>=${s}.${o}.${a}-${c} <${s}.${o}.${+a+1}-0`:u=`>=${s}.${o}.${a}-${c} <${s}.${+o+1}.0-0`:u=`>=${s}.${o}.${a}-${c} <${+s+1}.0.0-0`):(_e("no pr"),s==="0"?o==="0"?u=`>=${s}.${o}.${a}${n} <${s}.${o}.${+a+1}-0`:u=`>=${s}.${o}.${a}${n} <${s}.${+o+1}.0-0`:u=`>=${s}.${o}.${a} <${+s+1}.0.0-0`),_e("caret return",u),u})},TU=(e,t)=>(_e("replaceXRanges",e,t),e.split(/\s+/).map(r=>kU(r,t)).join(" ")),kU=(e,t)=>{e=e.trim();let r=t.loose?St[mt.XRANGELOOSE]:St[mt.XRANGE];return e.replace(r,(n,i,s,o,a,c)=>{_e("xRange",e,n,i,s,o,a,c);let u=gt(s),f=u||gt(o),l=f||gt(a),h=l;return i==="="&&h&&(i=""),c=t.includePrerelease?"-0":"",u?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&h?(f&&(o=0),a=0,i===">"?(i=">=",f?(s=+s+1,o=0,a=0):(o=+o+1,a=0)):i==="<="&&(i="<",f?s=+s+1:o=+o+1),i==="<"&&(c="-0"),n=`${i+s}.${o}.${a}${c}`):f?n=`>=${s}.0.0${c} <${+s+1}.0.0-0`:l&&(n=`>=${s}.${o}.0${c} <${s}.${+o+1}.0-0`),_e("xRange return",n),n})},NU=(e,t)=>(_e("replaceStars",e,t),e.trim().replace(St[mt.STAR],"")),IU=(e,t)=>(_e("replaceGTE0",e,t),e.trim().replace(St[t.includePrerelease?mt.GTE0PRE:mt.GTE0],"")),$U=e=>(t,r,n,i,s,o,a,c,u,f,l,h)=>(gt(n)?r="":gt(i)?r=`>=${n}.0.0${e?"-0":""}`:gt(s)?r=`>=${n}.${i}.0${e?"-0":""}`:o?r=`>=${r}`:r=`>=${r}${e?"-0":""}`,gt(u)?c="":gt(f)?c=`<${+u+1}.0.0-0`:gt(l)?c=`<${u}.${+f+1}.0-0`:h?c=`<=${u}.${f}.${l}-${h}`:e?c=`<${u}.${f}.${+l+1}-0`:c=`<=${c}`,`${r} ${c}`.trim()),BU=(e,t,r)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let n=0;n<e.length;n++)if(_e(e[n].semver),e[n].semver!==sd.ANY&&e[n].semver.prerelease.length>0){let i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}});var to=_((vY,WC)=>{var ro=Symbol("SemVer ANY"),ud=class e{static get ANY(){return ro}constructor(t,r){if(r=jC(r),t instanceof e){if(t.loose===!!r.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),ad("comparator",t,r),this.options=r,this.loose=!!r.loose,this.parse(t),this.semver===ro?this.value="":this.value=this.operator+this.semver.version,ad("comp",this)}parse(t){let r=this.options.loose?qC[GC.COMPARATORLOOSE]:qC[GC.COMPARATOR],n=t.match(r);if(!n)throw new TypeError(`Invalid comparator: ${t}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new UC(n[2],this.options.loose):this.semver=ro}toString(){return this.value}test(t){if(ad("Comparator.test",t,this.options.loose),this.semver===ro||t===ro)return!0;if(typeof t=="string")try{t=new UC(t,this.options)}catch{return!1}return od(t,this.operator,this.semver,this.options)}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new HC(t.value,r).test(this.value):t.operator===""?t.value===""?!0:new HC(this.value,r).test(t.semver):(r=jC(r),r.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&t.operator.startsWith(">")||this.operator.startsWith("<")&&t.operator.startsWith("<")||this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")||od(this.semver,"<",t.semver,r)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||od(this.semver,">",t.semver,r)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};WC.exports=ud;var jC=ru(),{safeRe:qC,t:GC}=Di(),od=rd(),ad=_s(),UC=it(),HC=Gt()});var ji=_((EY,zC)=>{var MU=Gt(),jU=(e,t,r)=>{try{t=new MU(t,r)}catch{return!1}return t.test(e)};zC.exports=jU});var VC=_((AY,YC)=>{var qU=Gt(),GU=(e,t)=>new qU(e,t).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));YC.exports=GU});var XC=_((wY,KC)=>{var UU=it(),HU=Gt(),WU=(e,t,r)=>{let n=null,i=null,s=null;try{s=new HU(t,r)}catch{return null}return e.forEach(o=>{s.test(o)&&(!n||i.compare(o)===-1)&&(n=o,i=new UU(n,r))}),n};KC.exports=WU});var QC=_((SY,JC)=>{var zU=it(),YU=Gt(),VU=(e,t,r)=>{let n=null,i=null,s=null;try{s=new YU(t,r)}catch{return null}return e.forEach(o=>{s.test(o)&&(!n||i.compare(o)===1)&&(n=o,i=new zU(n,r))}),n};JC.exports=VU});var tx=_((bY,ex)=>{var cd=it(),KU=Gt(),ZC=eo(),XU=(e,t)=>{e=new KU(e,t);let r=new cd("0.0.0");if(e.test(r)||(r=new cd("0.0.0-0"),e.test(r)))return r;r=null;for(let n=0;n<e.set.length;++n){let i=e.set[n],s=null;i.forEach(o=>{let a=new cd(o.semver.version);switch(o.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!s||ZC(a,s))&&(s=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),s&&(!r||ZC(r,s))&&(r=s)}return r&&e.test(r)?r:null};ex.exports=XU});var ld=_((CY,rx)=>{var JU=Gt(),QU=(e,t)=>{try{return new JU(e,t).range||"*"}catch{return null}};rx.exports=QU});var Qu=_((xY,ox)=>{var ZU=it(),sx=to(),{ANY:eH}=sx,tH=Gt(),rH=ji(),nx=eo(),ix=Yu(),nH=Ku(),iH=Vu(),sH=(e,t,r,n)=>{e=new ZU(e,n),t=new tH(t,n);let i,s,o,a,c;switch(r){case">":i=nx,s=nH,o=ix,a=">",c=">=";break;case"<":i=ix,s=iH,o=nx,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(rH(e,t,n))return!1;for(let u=0;u<t.set.length;++u){let f=t.set[u],l=null,h=null;if(f.forEach(p=>{p.semver===eH&&(p=new sx(">=0.0.0")),l=l||p,h=h||p,i(p.semver,l.semver,n)?l=p:o(p.semver,h.semver,n)&&(h=p)}),l.operator===a||l.operator===c||(!h.operator||h.operator===a)&&s(e,h.semver))return!1;if(h.operator===c&&o(e,h.semver))return!1}return!0};ox.exports=sH});var ux=_((OY,ax)=>{var oH=Qu(),aH=(e,t,r)=>oH(e,t,">",r);ax.exports=aH});var lx=_((_Y,cx)=>{var uH=Qu(),cH=(e,t,r)=>uH(e,t,"<",r);cx.exports=cH});var px=_((PY,hx)=>{var fx=Gt(),lH=(e,t,r)=>(e=new fx(e,r),t=new fx(t,r),e.intersects(t,r));hx.exports=lH});var mx=_((RY,dx)=>{var fH=ji(),hH=qt();dx.exports=(e,t,r)=>{let n=[],i=null,s=null,o=e.sort((f,l)=>hH(f,l,r));for(let f of o)fH(f,t,r)?(s=f,i||(i=f)):(s&&n.push([i,s]),s=null,i=null);i&&n.push([i,null]);let a=[];for(let[f,l]of n)f===l?a.push(f):!l&&f===o[0]?a.push("*"):l?f===o[0]?a.push(`<=${l}`):a.push(`${f} - ${l}`):a.push(`>=${f}`);let c=a.join(" || "),u=typeof t.raw=="string"?t.raw:String(t);return c.length<u.length?c:t}});var wx=_((DY,Ax)=>{var gx=Gt(),hd=to(),{ANY:fd}=hd,no=ji(),pd=qt(),pH=(e,t,r={})=>{if(e===t)return!0;e=new gx(e,r),t=new gx(t,r);let n=!1;e:for(let i of e.set){for(let s of t.set){let o=mH(i,s,r);if(n=n||o!==null,o)continue e}if(n)return!1}return!0},dH=[new hd(">=0.0.0-0")],yx=[new hd(">=0.0.0")],mH=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===fd){if(t.length===1&&t[0].semver===fd)return!0;r.includePrerelease?e=dH:e=yx}if(t.length===1&&t[0].semver===fd){if(r.includePrerelease)return!0;t=yx}let n=new Set,i,s;for(let p of e)p.operator===">"||p.operator===">="?i=vx(i,p,r):p.operator==="<"||p.operator==="<="?s=Ex(s,p,r):n.add(p.semver);if(n.size>1)return null;let o;if(i&&s){if(o=pd(i.semver,s.semver,r),o>0)return null;if(o===0&&(i.operator!==">="||s.operator!=="<="))return null}for(let p of n){if(i&&!no(p,String(i),r)||s&&!no(p,String(s),r))return null;for(let d of t)if(!no(p,String(d),r))return!1;return!0}let a,c,u,f,l=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,h=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;l&&l.prerelease.length===1&&s.operator==="<"&&l.prerelease[0]===0&&(l=!1);for(let p of t){if(f=f||p.operator===">"||p.operator===">=",u=u||p.operator==="<"||p.operator==="<=",i){if(h&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===h.major&&p.semver.minor===h.minor&&p.semver.patch===h.patch&&(h=!1),p.operator===">"||p.operator===">="){if(a=vx(i,p,r),a===p&&a!==i)return!1}else if(i.operator===">="&&!no(i.semver,String(p),r))return!1}if(s){if(l&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===l.major&&p.semver.minor===l.minor&&p.semver.patch===l.patch&&(l=!1),p.operator==="<"||p.operator==="<="){if(c=Ex(s,p,r),c===p&&c!==s)return!1}else if(s.operator==="<="&&!no(s.semver,String(p),r))return!1}if(!p.operator&&(s||i)&&o!==0)return!1}return!(i&&u&&!s&&o!==0||s&&f&&!i&&o!==0||h||l)},vx=(e,t,r)=>{if(!e)return t;let n=pd(e.semver,t.semver,r);return n>0?e:n<0||t.operator===">"&&e.operator===">="?t:e},Ex=(e,t,r)=>{if(!e)return t;let n=pd(e.semver,t.semver,r);return n<0?e:n>0||t.operator==="<"&&e.operator==="<="?t:e};Ax.exports=pH});var io=_((FY,Cx)=>{var dd=Di(),Sx=Ps(),gH=it(),bx=Jh(),yH=Fn(),vH=Rs(),EH=uu(),AH=tC(),wH=iC(),SH=oC(),bH=uC(),CH=lC(),xH=hC(),OH=qt(),_H=gC(),PH=vC(),RH=zu(),DH=SC(),FH=CC(),LH=eo(),TH=Yu(),kH=ed(),NH=td(),IH=Vu(),$H=Ku(),BH=rd(),MH=TC(),jH=to(),qH=Gt(),GH=ji(),UH=VC(),HH=XC(),WH=QC(),zH=tx(),YH=ld(),VH=Qu(),KH=ux(),XH=lx(),JH=px(),QH=mx(),ZH=wx();Cx.exports={parse:yH,valid:vH,clean:EH,inc:AH,diff:wH,major:SH,minor:bH,patch:CH,prerelease:xH,compare:OH,rcompare:_H,compareLoose:PH,compareBuild:RH,sort:DH,rsort:FH,gt:LH,lt:TH,eq:kH,neq:NH,gte:IH,lte:$H,cmp:BH,coerce:MH,Comparator:jH,Range:qH,satisfies:GH,toComparators:UH,maxSatisfying:HH,minSatisfying:WH,minVersion:zH,validRange:YH,outside:VH,gtr:KH,ltr:XH,intersects:JH,simplifyRange:QH,subset:ZH,SemVer:gH,re:dd.re,src:dd.src,tokens:dd.t,SEMVER_SPEC_VERSION:Sx.SEMVER_SPEC_VERSION,RELEASE_TYPES:Sx.RELEASE_TYPES,compareIdentifiers:bx.compareIdentifiers,rcompareIdentifiers:bx.rcompareIdentifiers}});var _x=_((LY,Ox)=>{var xx=io();Ox.exports=e=>eW(e.reduce(oW,{versions:{},"dist-tags":{},refs:{},shas:{}}));var eW=e=>nW(tW(rW(e))),tW=e=>(Object.keys(e.refs).forEach(t=>{let r=e.refs[t];e.shas[r.sha]?e.shas[r.sha].push(t):e.shas[r.sha]=[t]}),e),rW=e=>(Object.keys(e.refs).filter(t=>t.endsWith("^{}")).forEach(t=>{let r=e.refs[t],n=e.refs[t.replace(/\^\{\}$/,"")];n&&(n.sha=r.sha,delete e.refs[t])}),e),nW=e=>{let t=e.refs.HEAD||{};return Object.keys(e.versions).forEach(n=>{let i=e.versions[n];e.refs.latest&&i.sha===e.refs.latest.sha?e["dist-tags"].latest=n:i.sha===t.sha&&(e["dist-tags"].HEAD=n,e.refs.latest||(e["dist-tags"].latest=n))}),e},iW=e=>e.startsWith("refs/tags/")?"tag":e.startsWith("refs/heads/")?"branch":e.startsWith("refs/pull/")?"pull":e==="HEAD"?"head":"other",sW=e=>{let t=e.trim().split(/\s+/,2);if(t.length<2)return null;let r=t[0].trim(),n=t[1].trim(),i=iW(n);if(i==="tag"){let s=n.slice(10);return{sha:r,ref:s,rawRef:n,type:i}}if(i==="branch"){let s=n.slice(11);return{sha:r,ref:s,rawRef:n,type:i}}if(i==="pull"){let s=n.slice(5).replace(/\/head$/,"");return{sha:r,ref:s,rawRef:n,type:i}}return i==="head"?{sha:r,ref:"HEAD",rawRef:n,type:i}:{sha:r,ref:n,rawRef:n,type:i}},oW=(e,t)=>{let r=sW(t);if(!r)return e;if(e.refs[r.ref]=r,e.refs[r.rawRef]=r,r.type==="tag"){let n=!r.ref.endsWith("^{}")&&r.ref.match(/v?(\d+\.\d+\.\d+(?:[-+].+)?)$/);n&&xx.valid(n[1],!0)&&(e.versions[xx.clean(n[1],!0)]=r)}return e}});var md=_((TY,Rx)=>{var aW=nb(),uW=Zs(),{LRUCache:cW}=fu(),Px=new cW({max:100,ttl:5*60*1e3}),lW=_x();Rx.exports=async(e,t={})=>{if(!t.noGitRevCache){let r=Px.get(e);if(r)return r}return aW(`ls-remote:${e}`,()=>uW(["ls-remote",e],t).then(({stdout:r})=>lW(r.trim().split(`
88
+ `))).then(r=>(Px.set(e,r),r)))}});var Fx=_(Dx=>{var fW=e=>(e.fakePlatform||process.platform)==="win32";Dx.isWindows=fW});var Tx=_((NY,Lx)=>{"use strict";var{builtinModules:hW}=M("module"),pW=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"),dW=["node_modules","favicon.ico"];function mW(e){var t=[],r=[];if(e===null)return r.push("name cannot be null"),so(t,r);if(e===void 0)return r.push("name cannot be undefined"),so(t,r);if(typeof e!="string")return r.push("name must be a string"),so(t,r);if(e.length||r.push("name length must be greater than zero"),e.match(/^\./)&&r.push("name cannot start with a period"),e.match(/^_/)&&r.push("name cannot start with an underscore"),e.trim()!==e&&r.push("name cannot contain leading or trailing spaces"),dW.forEach(function(o){e.toLowerCase()===o&&r.push(o+" is a blacklisted name")}),hW.includes(e.toLowerCase())&&t.push(e+" is a core module name"),e.length>214&&t.push("name can no longer contain more than 214 characters"),e.toLowerCase()!==e&&t.push("name can no longer contain capital letters"),/[~'!()*]/.test(e.split("/").slice(-1)[0])&&t.push(`name can no longer contain special characters ("~'!()*")`),encodeURIComponent(e)!==e){var n=e.match(pW);if(n){var i=n[1],s=n[2];if(encodeURIComponent(i)===i&&encodeURIComponent(s)===s)return so(t,r)}r.push("name can only contain URL-friendly characters")}return so(t,r)}var so=function(e,t){var r={validForNewPackages:t.length===0&&e.length===0,validForOldPackages:t.length===0,warnings:e,errors:t};return r.warnings.length||delete r.warnings,r.errors.length||delete r.errors,r};Lx.exports=mW});var qx=_((IY,ao)=>{"use strict";ao.exports=oo;ao.exports.resolve=jx;ao.exports.toPurl=SW;ao.exports.Result=qi;var{URL:$n}=M("url"),gW=pu(),kx=io(),ln=global.FAKE_WINDOWS?M("path").win32:M("path"),$x=Tx(),{homedir:yW}=M("os"),{log:vW}=Os(),yd=process.platform==="win32"||global.FAKE_WINDOWS,Bx=yd?/\\|[/]/:/[/]/,Mx=/^(?:git[+])?[a-z]+:/i,EW=/^[^@]+@[^:.]+\.[^:]+:.+$/i,vd=/[.](?:tgz|tar.gz|tar)$/i,AW=/:[0-9]+(\/|$)/i;function oo(e,t){let r,n;if(typeof e=="object")return e instanceof qi&&(!t||t===e.where)?e:e.name&&e.rawSpec?oo.resolve(e.name,e.rawSpec,t||e.where):oo(e.raw,t||e.where);let i=e[0]==="@"?e.slice(1).indexOf("@")+1:e.indexOf("@"),s=i>0?e.slice(0,i):e;return Mx.test(e)?n=e:EW.test(e)?n=`git+ssh://${e}`:s[0]!=="@"&&(Bx.test(s)||vd.test(s))?n=e:i>0?(r=s,n=e.slice(i+1)||"*"):$x(e).validForOldPackages?(r=e,n="*"):n=e,jx(r,n,t,e)}var wW=yd?/^(?:[.]|~[/]|[/\\]|[a-zA-Z]:)/:/^(?:[.]|~[/]|[/]|[a-zA-Z]:)/;function jx(e,t,r,n){let i=new qi({raw:n,name:e,rawSpec:t,fromArgument:n!=null});if(e&&i.setName(e),t&&(wW.test(t)||/^file:/i.test(t)))return Ix(i,r);if(t&&/^npm:/i.test(t))return RW(i,r);let s=gW.fromUrl(t,{noGitPlus:!0,noCommittish:!0});return s?OW(i,s):t&&Mx.test(t)?PW(i):t&&(Bx.test(t)||vd.test(t))?Ix(i,r):DW(i)}var Nx="https://registry.npmjs.org";function SW(e,t=Nx){let r=oo(e);if(r.type!=="version")throw xW(r.type,r.raw);let n="pkg:npm/"+r.name.replace(/^@/,"%40")+"@"+r.rawSpec;return t!==Nx&&(n+="?repository_url="+t),n}function bW(e,t,r){let n=new Error(`Invalid package name "${e}" of package "${r}": ${t.errors.join("; ")}.`);return n.code="EINVALIDPACKAGENAME",n}function CW(e,t){let r=new Error(`Invalid tag name "${e}" of package "${t}": Tags may not have any characters that encodeURIComponent encodes.`);return r.code="EINVALIDTAGNAME",r}function xW(e,t){let r=new Error(`Invalid type "${e}" of package "${t}": Purl can only be generated for "version" types.`);return r.code="EINVALIDPURLTYPE",r}function qi(e){this.type=e.type,this.registry=e.registry,this.where=e.where,e.raw==null?this.raw=e.name?e.name+"@"+e.rawSpec:e.rawSpec:this.raw=e.raw,this.name=void 0,this.escapedName=void 0,this.scope=void 0,this.rawSpec=e.rawSpec||"",this.saveSpec=e.saveSpec,this.fetchSpec=e.fetchSpec,e.name&&this.setName(e.name),this.gitRange=e.gitRange,this.gitCommittish=e.gitCommittish,this.gitSubdir=e.gitSubdir,this.hosted=e.hosted}qi.prototype.setName=function(e){let t=$x(e);if(!t.validForOldPackages)throw bW(e,t,this.raw);return this.name=e,this.scope=e[0]==="@"?e.slice(0,e.indexOf("/")):void 0,this.escapedName=e.replace("/","%2f"),this};qi.prototype.toString=function(){let e=[];this.name!=null&&this.name!==""&&e.push(this.name);let t=this.saveSpec||this.fetchSpec||this.rawSpec;return t!=null&&t!==""&&e.push(t),e.length?e.join("@"):this.raw};qi.prototype.toJSON=function(){let e=Object.assign({},this);return delete e.hosted,e};function gd(e,t){if(!t){e.gitCommittish=null;return}for(let r of t.split("::")){if(!r.includes(":")){if(e.gitRange)throw new Error("cannot override existing semver range with a committish");if(e.gitCommittish)throw new Error("cannot override existing committish with a second committish");e.gitCommittish=r;continue}let[n,i]=r.split(":");if(n==="semver"){if(e.gitCommittish)throw new Error("cannot override existing committish with a semver range");if(e.gitRange)throw new Error("cannot override existing semver range with a second semver range");e.gitRange=decodeURIComponent(i);continue}if(n==="path"){if(e.gitSubdir)throw new Error("cannot override existing path with a second path");e.gitSubdir=`/${i}`;continue}vW.warn("npm-package-arg",`ignoring unknown key "${n}"`)}}function Ix(e,t){t||(t=process.cwd()),e.type=vd.test(e.rawSpec)?"file":"directory",e.where=t;let r,n,s=(/^file:/.test(e.rawSpec)?"":"file:")+e.rawSpec,o=s.replace(/^file:/,"");try{n=new $n(s,`file://${ln.resolve(t)}/`),r=new $n(s)}catch(u){let f=new Error("Invalid file: URL, must comply with RFC 8089");throw Object.assign(f,{raw:e.rawSpec,spec:e,where:t,originalError:u})}if(n.host&&n.host!=="localhost"){let u=e.rawSpec.replace(/^file:\/\//,"file:///");n=new $n(u,`file://${ln.resolve(t)}/`),r=new $n(u),o=u.replace(/^file:/,"")}if(/^\/{1,3}\.\.?(\/|$)/.test(o)){let u=e.rawSpec.replace(/^file:\/{1,3}/,"file:");n=new $n(u,`file://${ln.resolve(t)}/`),r=new $n(u),o=u.replace(/^file:/,"")}let a=decodeURIComponent(r.pathname),c=decodeURIComponent(n.pathname);return yd&&(a=a.replace(/^\/+([a-z]:\/)/i,"$1"),c=c.replace(/^\/+([a-z]:\/)/i,"$1")),/^\/~(\/|$)/.test(a)?(e.saveSpec=`file:${a.substr(1)}`,c=ln.resolve(yW(),a.substr(3))):ln.isAbsolute(o)?e.saveSpec=`file:${ln.resolve(c)}`:e.saveSpec=`file:${ln.relative(t,c)}`,e.fetchSpec=ln.resolve(t,c),e}function OW(e,t){return e.type="git",e.hosted=t,e.saveSpec=t.toString({noGitPlus:!1,noCommittish:!1}),e.fetchSpec=t.getDefaultRepresentation()==="shortcut"?null:t.toString(),gd(e,t.committish),e}function _W(e,t){let r=new Error(`Unsupported URL Type "${e}": ${t}`);return r.code="EUNSUPPORTEDPROTOCOL",r}function PW(e){let t=e.rawSpec;if(e.saveSpec=t,t.startsWith("git+ssh:")){let n=t.match(/^git\+ssh:\/\/([^:#]+:[^#]+(?:\.git)?)(?:#(.*))?$/i);if(n&&!n[1].match(AW))return e.type="git",gd(e,n[2]),e.fetchSpec=n[1],e}else t.startsWith("git+file://")&&(t=t.replace(/\\/g,"/"));let r=new $n(t);switch(r.protocol){case"git:":case"git+http:":case"git+https:":case"git+rsync:":case"git+ftp:":case"git+file:":case"git+ssh:":e.type="git",gd(e,r.hash.slice(1)),r.protocol==="git+file:"&&/^git\+file:\/\/[a-z]:/i.test(t)?e.fetchSpec=`git+file://${r.host.toLowerCase()}:${r.pathname}`:(r.hash="",e.fetchSpec=r.toString()),e.fetchSpec.startsWith("git+")&&(e.fetchSpec=e.fetchSpec.slice(4));break;case"http:":case"https:":e.type="remote",e.fetchSpec=e.saveSpec;break;default:throw _W(r.protocol,t)}return e}function RW(e,t){let r=oo(e.rawSpec.substr(4),t);if(r.type==="alias")throw new Error("nested aliases not supported");if(!r.registry)throw new Error("aliases only work for registry deps");if(!r.name)throw new Error("aliases must have a name");return e.subSpec=r,e.registry=!0,e.type="alias",e.saveSpec=null,e.fetchSpec=null,e}function DW(e){e.registry=!0;let t=e.rawSpec.trim();e.saveSpec=null,e.fetchSpec=t;let r=kx.valid(t,!0),n=kx.validRange(t,!0);if(r)e.type="version";else if(n)e.type="range";else{if(encodeURIComponent(t)!==t)throw CW(t,e.raw);e.type="tag"}return e}});var zx=_(($Y,Wx)=>{var Bn=M("node:process"),FW=M("node:os"),LW=M("node:fs");function TW(e){return e.includes("libc.musl-")||e.includes("ld-musl-")}function Gx(){return Bn.platform}function Ux(){return Bn.arch}var kW="/usr/bin/ldd";function NW(){try{let e=LW.readFileSync(kW,"utf-8");return e.includes("musl")?"musl":e.includes("GNU C Library")?"glibc":null}catch{return}}function IW(){let e=Bn.report.excludeNetwork;Bn.report.excludeNetwork=!0;let t=Bn.report.getReport();return Bn.report.excludeNetwork=e,t.header?.glibcVersionRuntime?kr="glibc":Array.isArray(t.sharedObjects)&&t.sharedObjects.some(TW)?kr="musl":kr=null,kr}var kr;function Hx(e){if(e==="linux")return kr===void 0&&(kr=NW(),kr===void 0&&(kr=IW())),kr}function $W(e={}){let t=e.os||Gx();return{cpu:{name:e.cpu||Ux()},libc:{name:e.libc||Hx(t)},os:{name:t,version:e.osVersion||FW.release()},packageManager:{name:"npm",version:e.npmVersion},runtime:{name:"node",version:e.nodeVersion||Bn.version}}}Wx.exports={cpu:Ux,libc:Hx,os:Gx,devEngines:$W}});var Vx=_((BY,Yx)=>{var BW=ji(),MW=ld(),jW=["ignore","warn","error","download"],qW=["name","version","onFail"],GW=["packageManager","runtime","cpu","libc","os"];function UW(e,t,r){let{engine:n}=r;if(typeof e!="object"||e===null||Array.isArray(e))throw new Error(`Invalid non-object value for "${n}"`);let i=Object.keys(e);for(let s of i)if(!qW.includes(s))throw new Error(`Invalid property "${s}" for "${n}"`);if(!i.includes("name"))throw new Error(`Missing "name" property for "${n}"`);if(typeof e.name!="string")throw new Error(`Invalid non-string value for "name" within "${n}"`);if(typeof t.name!="string"||t.name==="")throw new Error(`Unable to determine "name" for "${n}"`);if(i.includes("onFail")){if(typeof e.onFail!="string")throw new Error(`Invalid non-string value for "onFail" within "${n}"`);if(!jW.includes(e.onFail))throw new Error(`Invalid onFail value "${e.onFail}" for "${n}"`)}if(e.name!==t.name)return new Error(`Invalid name "${e.name}" does not match "${t.name}" for "${n}"`);if(i.includes("version")){if(typeof e.version!="string")throw new Error(`Invalid non-string value for "version" within "${n}"`);if(typeof t.version!="string"||t.version==="")throw new Error(`Unable to determine "version" for "${n}" "${e.name}"`);if(MW(e.version)){if(!BW(t.version,e.version,r.semver))return new Error(`Invalid semver version "${e.version}" does not match "${t.version}" for "${n}"`)}else if(e.version!==t.version)return new Error(`Invalid version "${e.version}" does not match "${t.version}" for "${n}"`)}}function HW(e,t={},r={}){if(typeof e!="object"||e===null||Array.isArray(e))throw new Error("Invalid non-object value for devEngines");let n=[];for(let i of Object.keys(e)){if(!GW.includes(i))throw new Error(`Invalid property "${i}"`);let s=e[i],o=[s].flat(),a=t[i]||{};if(o.length===0)continue;let c=[];for(let f of o){let l=UW(f,a,{...r,engine:i});l&&c.push(l)}if(c.length===o.length){let l=o[o.length-1].onFail||"error";l==="download"&&(l="error");let h=Object.assign(new Error(`Invalid engine "${i}"`),{errors:c,engine:i,isWarn:l==="warn",isError:l==="error",current:a,required:s});n.push(h)}}return n}Yx.exports={checkDevEngines:HW}});var Jx=_((MY,Xx)=>{var Kx=io(),Zu=zx(),{checkDevEngines:WW}=Vx(),zW=(e,t,r,n=!1)=>{let i=n?null:r,s=e.engines,o={includePrerelease:!0};if(!s)return;let a=i&&s.node&&!Kx.satisfies(i,s.node,o),c=t&&s.npm&&!Kx.satisfies(t,s.npm,o);if(a||c)throw Object.assign(new Error("Unsupported engine"),{pkgid:e._id,current:{node:r,npm:t},required:s,code:"EBADENGINE"})},YW=(e,t=!1,r={})=>{if(t)return;let n=r.os||Zu.os(),i=r.cpu||Zu.cpu(),s=r.libc||Zu.libc(n),o=e.os?Ed(n,e.os):!0,a=e.cpu?Ed(i,e.cpu):!0,c=e.libc?Ed(s,e.libc):!0;if(e.libc&&!s&&(c=!1),!o||!a||!c)throw Object.assign(new Error("Unsupported platform"),{pkgid:e._id,current:{os:n,cpu:i,libc:s},required:{os:e.os,cpu:e.cpu,libc:e.libc},code:"EBADPLATFORM"})},Ed=(e,t)=>{if(typeof t=="string"&&(t=[t]),t.length===1&&t[0]==="any")return!0;let r=0,n=!1;for(let i of t){let s=i.charAt(0)==="!",o=s?i.slice(1):i;if(s){if(r++,e===o)return!1}else n=n||e===o}return n||r===t.length};Xx.exports={checkEngine:zW,checkPlatform:YW,checkDevEngines:WW,currentEnv:Zu}});var tO=_((jY,eO)=>{var{join:Qx,basename:Zx}=M("path"),VW=e=>e.bin?typeof e.bin=="string"?KW(e):Array.isArray(e.bin)?XW(e):typeof e.bin=="object"?wd(e):Ad(e):Ad(e),KW=e=>e.name?(e.bin={[e.name]:e.bin},wd(e)):Ad(e),XW=e=>(e.bin=e.bin.reduce((t,r)=>(t[Zx(r)]=r,t),{}),wd(e)),Ad=e=>(delete e.bin,e),wd=e=>{let t=e.bin,r={},n=!1;return Object.keys(t).forEach(i=>{let s=Qx("/",Zx(i.replace(/\\|:/g,"/"))).slice(1);if(typeof t[i]!="string"||!s)return;let o=Qx("/",t[i].replace(/\\/g,"/")).replace(/\\/g,"/").slice(1);o&&(r[s]=o,n=!0)}),n?e.bin=r:delete e.bin,e};eO.exports=VW});var iO=_((qY,nO)=>{"use strict";var rO=qx(),uo=io(),{checkEngine:JW}=Jx(),QW=tO(),Sd=(e,t,r)=>{try{return JW(e,t,r),!0}catch{return!1}},ec=(e,t,r)=>!e||!e[t]||Date.parse(e[t])<=r,ZW={includePrerelease:!0,loose:!0},tc=(e,t)=>t&&uo.satisfies(e,t,ZW),bd=(e,t)=>e&&tc(e.version,t)?{...e,_shouldAvoid:!0}:e,co=(e,t,r)=>{let{defaultTag:n="latest",before:i=null,nodeVersion:s=process.version,npmVersion:o=null,includeStaged:a=!1,avoid:c=null,avoidStrict:u=!1}=r,{name:f,time:l}=e,h=e.versions||{};if(u){let P={...r,avoidStrict:!1},N=co(e,t,P);if(!N||!N._shouldAvoid)return N;let O=co(e,`^${N.version}`,P);if(!O||!O._shouldAvoid)return{...O,_outsideDependencyRange:!0,_isSemVerMajor:!1};let m=co(e,"*",P);if(!m||!m._shouldAvoid)return{...m,_outsideDependencyRange:!0,_isSemVerMajor:!0};throw Object.assign(new Error(`No avoidable versions for ${f}`),{code:"ETARGET",name:f,wanted:t,avoid:c,before:i,versions:Object.keys(h)})}let p=a&&e.stagedVersions&&e.stagedVersions.versions||{},d=e.policyRestrictions&&e.policyRestrictions.versions||{},g=i&&l?+new Date(i):1/0,x=rO.resolve(f,t||n).type,b=e["dist-tags"]||{};if(x!=="tag"&&x!=="version"&&x!=="range")throw new Error("Only tag, version, and range are supported");if(t&&x==="tag"){let P=b[t];return ec(l,P,g)?bd(h[P]||p[P]||d[P],c):co(e,`<=${P}`,r)}if(t&&x==="version"){let P=uo.clean(t,{loose:!0}),N=h[P]||p[P]||d[P];return ec(l,P,g)?bd(N,c):null}let L=x==="range"?t:"*",F=b[n];if(F&&(L==="*"||uo.satisfies(F,L,{loose:!0}))&&!d[F]&&!tc(F,c)){let P=h[F];if(P&&ec(l,F,g)&&Sd(P,o,s)&&!P.deprecated&&!p[F])return P}let A=Object.entries(h).concat(Object.entries(p)).concat(Object.entries(d)).filter(([P])=>ec(l,P,g));if(!A.length)throw Object.assign(new Error(`No versions available for ${f}`),{code:"ENOVERSIONS",name:f,type:x,wanted:t,before:i,versions:Object.keys(h)});let R={loose:!0},D=A.filter(([P])=>uo.satisfies(P,L,{loose:!0})).sort((P,N)=>{let[O,m]=P,[y,w]=N,C=!tc(O,c),v=!tc(y,c),S=!d[O],T=!d[y],k=!p[O],I=!p[y],B=!m.deprecated,G=!w.deprecated,z=Sd(m,o,s),se=Sd(w,o,s);return v-C||T-S||I-k||(G&&se)-(B&&z)||se-z||G-B||uo.rcompare(O,y,R)});return bd(D[0]&&D[0][1],c)};nO.exports=(e,t,r={})=>{let n=co(e,t,r),i=n&&QW(n),s=e.policyRestrictions,o=s&&s.versions||{};if(i&&!o[i.version])return i;let{before:a=null,defaultTag:c="latest"}=r,u=a?new Date(a).toLocaleString():"",{name:f}=e,l=`${f}@${t}`+(a?` with a date before ${u}`:""),h=i&&!!o[i.version],p=h?s.message:"",d=h?`Could not download ${l} due to policy violations:
89
+ ${p}`:`No matching version found for ${l}.`,g=h?"E403":"ETARGET";throw Object.assign(new Error(d),{code:g,type:rO.resolve(e.name,t).type,wanted:t,versions:Object.keys(e.versions??{}),name:f,distTags:e["dist-tags"],defaultTag:c})}});var uO=_((GY,aO)=>{var e9=new Set(["github.com","gist.github.com","gitlab.com","bitbucket.com","bitbucket.org"]),{parse:t9}=M("url"),sO=M("path"),r9=md(),lo=Zs(),{isWindows:rc}=Fx(),n9=iO(),Cd=M("fs/promises");aO.exports=(e,t="HEAD",r=null,n={})=>r9(e,n).then(i=>s9(e,i,t,o9(i,t,n),r||i9(e,n.cwd),n));var xd=(e,t)=>t.gitShallow===!1||t.gitShallow?t.gitShallow:e9.has(t9(e).host),i9=(e,t=process.cwd())=>sO.resolve(t,sO.basename(e.replace(/[/\\]?\.git$/,""))),s9=(e,t,r,n,i,s)=>n?n.sha===t.refs.HEAD.sha?c9(e,n,i,s):n.type==="tag"||n.type==="branch"?u9(e,n,i,s):a9(e,n,i,s):l9(e,r,i,s),o9=(e,t,r)=>{let{spec:n={}}=r;return t=n.gitCommittish||t,e?n.gitRange?n9(e,n.gitRange,r):t?e.refs[t]?e.refs[t]:e.shas[t]?e.refs[e.shas[t][0]]:null:e.refs.HEAD:null},a9=(e,t,r,n)=>{let i=xd(e,n),s=["fetch","origin",t.rawRef].concat(i?["--depth=1"]:[]),o=a=>lo(a,{...n,cwd:r});return Cd.mkdir(r,{recursive:!0}).then(()=>o(["init"])).then(()=>rc(n)?o(["config","--local","--add","core.longpaths","true"]):null).then(()=>o(["remote","add","origin",e])).then(()=>o(s)).then(()=>o(["checkout",t.sha])).then(()=>oO(r,n)).then(()=>t.sha)},u9=(e,t,r,n)=>{let i=["clone","-b",t.ref,e,r,"--recurse-submodules"];return xd(e,n)&&i.push("--depth=1"),rc(n)&&i.push("--config","core.longpaths=true"),lo(i,n).then(()=>t.sha)},c9=(e,t,r,n)=>{let i=["clone",e,r,"--recurse-submodules"];return xd(e,n)&&i.push("--depth=1"),rc(n)&&i.push("--config","core.longpaths=true"),lo(i,n).then(()=>t.sha)},oO=async(e,t)=>await Cd.stat(`${e}/.gitmodules`).then(()=>!0).catch(()=>!1)?lo(["submodule","update","-q","--init","--recursive"],{...t,cwd:e}):null,l9=(e,t,r,n)=>{let i=rc(n)?["--config","core.longpaths=true"]:[],s=["clone","--mirror","-q",e,r+"/.git"],o=a=>lo(a,{...n,cwd:r});return Cd.mkdir(r,{recursive:!0}).then(()=>o(s.concat(i))).then(()=>o(["init"])).then(()=>o(["checkout",t])).then(()=>oO(r,n)).then(()=>o(["rev-parse","--revs-only","HEAD"])).then(({stdout:a})=>a.trim())}});var Od=_((UY,cO)=>{var{stat:f9}=M("fs/promises");cO.exports=({cwd:e=process.cwd()}={})=>f9(e+"/.git").then(()=>!0,()=>!1)});var fO=_((HY,lO)=>{var h9=Od(),{dirname:p9}=M("path");lO.exports=async({cwd:e=process.cwd(),root:t}={})=>{for(;;){if(await h9({cwd:e}))return e;let r=p9(e);if(e===t||e===r)return null;e=r}}});var pO=_((WY,hO)=>{var d9=Zs();hO.exports=(e={})=>d9(["status","--porcelain=v1","-uno"],e).then(t=>!t.stdout.trim().split(/\r?\n+/).map(r=>r.trim()).filter(r=>r).length)});var mO=_((zY,dO)=>{dO.exports={clone:uO(),revs:md(),spawn:Zs(),is:Od(),find:fO(),isClean:pO(),errors:Jp()}});var _d=_((YY,m9)=>{m9.exports=["0BSD","3D-Slicer-1.0","AAL","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0-only","AGPL-3.0-or-later","AMD-newlib","AMDPLPA","AML","AML-glslang","AMPAS","ANTLR-PD","ANTLR-PD-fallback","APAFML","APL-1.0","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","ASWF-Digital-Assets-1.0","ASWF-Digital-Assets-1.1","Abstyles","AdaCore-doc","Adobe-2006","Adobe-Display-PostScript","Adobe-Glyph","Adobe-Utopia","Afmparse","Aladdin","Apache-1.0","Apache-1.1","Apache-2.0","App-s2p","Arphic-1999","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Darwin","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-2-Clause-first-lines","BSD-3-Clause","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-HP","BSD-3-Clause-LBNL","BSD-3-Clause-Modification","BSD-3-Clause-No-Military-License","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-3-Clause-Sun","BSD-3-Clause-acpica","BSD-3-Clause-flex","BSD-4-Clause","BSD-4-Clause-Shortened","BSD-4-Clause-UC","BSD-4.3RENO","BSD-4.3TAHOE","BSD-Advertising-Acknowledgement","BSD-Attribution-HPND-disclaimer","BSD-Inferno-Nettverk","BSD-Protection","BSD-Source-Code","BSD-Source-beginning-file","BSD-Systemics","BSD-Systemics-W3Works","BSL-1.0","BUSL-1.1","Baekmuk","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","Bitstream-Charter","Bitstream-Vera","BlueOak-1.0.0","Boehm-GC","Borceux","Brian-Gladman-2-Clause","Brian-Gladman-3-Clause","C-UDA-1.0","CAL-1.0","CAL-1.0-Combined-Work-Exception","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-2.5-AU","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-3.0-AU","CC-BY-3.0-DE","CC-BY-3.0-IGO","CC-BY-3.0-NL","CC-BY-3.0-US","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-3.0-DE","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-DE","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.0-DE","CC-BY-NC-SA-2.0-FR","CC-BY-NC-SA-2.0-UK","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-3.0-DE","CC-BY-NC-SA-3.0-IGO","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-3.0-DE","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.0-UK","CC-BY-SA-2.1-JP","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-3.0-DE","CC-BY-SA-3.0-IGO","CC-BY-SA-4.0","CC-PDDC","CC0-1.0","CDDL-1.0","CDDL-1.1","CDL-1.0","CDLA-Permissive-1.0","CDLA-Permissive-2.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CFITSIO","CMU-Mach","CMU-Mach-nodoc","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","COIL-1.0","CPAL-1.0","CPL-1.0","CPOL-1.02","CUA-OPL-1.0","Caldera","Caldera-no-preamble","Catharon","ClArtistic","Clips","Community-Spec-1.0","Condor-1.1","Cornell-Lossless-JPEG","Cronyx","Crossword","CrystalStacker","Cube","D-FSL-1.0","DEC-3-Clause","DL-DE-BY-2.0","DL-DE-ZERO-2.0","DOC","DRL-1.0","DRL-1.1","DSDP","DocBook-Schema","DocBook-XML","Dotseqn","ECL-1.0","ECL-2.0","EFL-1.0","EFL-2.0","EPICS","EPL-1.0","EPL-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Elastic-2.0","Entessa","ErlPL-1.1","Eurosym","FBM","FDK-AAC","FSFAP","FSFAP-no-warranty-disclaimer","FSFUL","FSFULLR","FSFULLRWD","FTL","Fair","Ferguson-Twofish","Frameworx-1.0","FreeBSD-DOC","FreeImage","Furuseth","GCR-docs","GD","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","GL2PS","GLWTPL","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0-only","GPL-2.0-or-later","GPL-3.0-only","GPL-3.0-or-later","Giftware","Glide","Glulxe","Graphics-Gems","Gutmann","HIDAPI","HP-1986","HP-1989","HPND","HPND-DEC","HPND-Fenneberg-Livingston","HPND-INRIA-IMAG","HPND-Intel","HPND-Kevlin-Henney","HPND-MIT-disclaimer","HPND-Markus-Kuhn","HPND-Netrek","HPND-Pbmplus","HPND-UC","HPND-UC-export-US","HPND-doc","HPND-doc-sell","HPND-export-US","HPND-export-US-acknowledgement","HPND-export-US-modify","HPND-export2-US","HPND-merchantability-variant","HPND-sell-MIT-disclaimer-xserver","HPND-sell-regexpr","HPND-sell-variant","HPND-sell-variant-MIT-disclaimer","HPND-sell-variant-MIT-disclaimer-rev","HTMLTIDY","HaskellReport","Hippocratic-2.1","IBM-pibs","ICU","IEC-Code-Components-EULA","IJG","IJG-short","IPA","IPL-1.0","ISC","ISC-Veillard","ImageMagick","Imlib2","Info-ZIP","Inner-Net-2.0","Intel","Intel-ACPI","Interbase-1.0","JPL-image","JPNIC","JSON","Jam","JasPer-2.0","Kastrup","Kazlib","Knuth-CTAN","LAL-1.2","LAL-1.3","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","LOOP","LPD-document","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","LZMA-SDK-9.11-to-9.20","LZMA-SDK-9.22","Latex2e","Latex2e-translated-notice","Leptonica","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Libpng","Linux-OpenIB","Linux-man-pages-1-para","Linux-man-pages-copyleft","Linux-man-pages-copyleft-2-para","Linux-man-pages-copyleft-var","Lucida-Bitmap-Fonts","MIT","MIT-0","MIT-CMU","MIT-Festival","MIT-Khronos-old","MIT-Modern-Variant","MIT-Wu","MIT-advertising","MIT-enna","MIT-feh","MIT-open-group","MIT-testregex","MITNFA","MMIXware","MPEG-SSG","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","MS-LPL","MS-PL","MS-RL","MTLL","Mackerras-3-Clause","Mackerras-3-Clause-acknowledgment","MakeIndex","Martin-Birgmeier","McPhee-slideshow","Minpack","MirOS","Motosoto","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NAIST-2003","NASA-1.3","NBPL-1.0","NCBI-PD","NCGL-UK-2.0","NCL","NCSA","NGPL","NICTA-1.0","NIST-PD","NIST-PD-fallback","NIST-Software","NLOD-1.0","NLOD-2.0","NLPL","NOSL","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTP","NTP-0","Naumen","NetCDF","Newsletr","Nokia","Noweb","O-UDA-1.0","OAR","OCCT-PL","OCLC-2.0","ODC-By-1.0","ODbL-1.0","OFFIS","OFL-1.0","OFL-1.0-RFN","OFL-1.0-no-RFN","OFL-1.1","OFL-1.1-RFN","OFL-1.1-no-RFN","OGC-1.0","OGDL-Taiwan-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OLFL-1.3","OML","OPL-1.0","OPL-UK-3.0","OPUBL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenPBS-2.3","OpenSSL","OpenSSL-standalone","OpenVision","PADL","PDDL-1.0","PHP-3.0","PHP-3.01","PPL","PSF-2.0","Parity-6.0.0","Parity-7.0.0","Pixar","Plexus","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","Python-2.0","Python-2.0.1","QPL-1.0","QPL-1.0-INRIA-2004","Qhull","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Rdisc","Ruby","Ruby-pty","SAX-PD","SAX-PD-2.0","SCEA","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SGI-OpenGL","SGP4","SHL-0.5","SHL-0.51","SISSL","SISSL-1.2","SL","SMLNJ","SMPPL","SNIA","SPL-1.0","SSH-OpenSSH","SSH-short","SSLeay-standalone","SSPL-1.0","SWL","Saxpath","SchemeReport","Sendmail","Sendmail-8.23","SimPL-2.0","Sleepycat","Soundex","Spencer-86","Spencer-94","Spencer-99","SugarCRM-1.1.3","Sun-PPP","Sun-PPP-2000","SunPro","Symlinks","TAPR-OHL-1.0","TCL","TCP-wrappers","TGPPL-1.0","TMate","TORQUE-1.1","TOSL","TPDL","TPL-1.0","TTWL","TTYP0","TU-Berlin-1.0","TU-Berlin-2.0","TermReadKey","UCAR","UCL-1.0","UMich-Merit","UPL-1.0","URT-RLE","Ubuntu-font-1.0","Unicode-3.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","UnixCrypt","Unlicense","VOSTROM","VSL-1.0","Vim","W3C","W3C-19980720","W3C-20150513","WTFPL","Watcom-1.0","Widget-Workshop","Wsuipa","X11","X11-distribute-modifications-variant","X11-swapped","XFree86-1.1","XSkat","Xdebug-1.03","Xerox","Xfig","Xnet","YPL-1.0","YPL-1.1","ZPL-1.1","ZPL-2.0","ZPL-2.1","Zed","Zeeff","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","any-OSI","bcrypt-Solar-Designer","blessing","bzip2-1.0.6","check-cvs","checkmk","copyleft-next-0.3.0","copyleft-next-0.3.1","curl","cve-tou","diffmark","dtoa","dvipdfm","eGenix","etalab-2.0","fwlw","gSOAP-1.3b","gnuplot","gtkbook","hdparm","iMatix","libpng-2.0","libselinux-1.0","libtiff","libutil-David-Nugent","lsof","magaz","mailprio","metamail","mpi-permissive","mpich2","mplus","pkgconf","pnmstitch","psfrag","psutils","python-ldap","radvd","snprintf","softSurfer","ssh-keyscan","swrule","threeparttable","ulem","w3m","xinetd","xkeyboard-config-Zinoviev","xlock","xpp","xzoom","zlib-acknowledgement"]});var gO=_((VY,g9)=>{g9.exports=["AGPL-1.0","AGPL-3.0","BSD-2-Clause-FreeBSD","BSD-2-Clause-NetBSD","GFDL-1.1","GFDL-1.2","GFDL-1.3","GPL-1.0","GPL-2.0","GPL-2.0-with-GCC-exception","GPL-2.0-with-autoconf-exception","GPL-2.0-with-bison-exception","GPL-2.0-with-classpath-exception","GPL-2.0-with-font-exception","GPL-3.0","GPL-3.0-with-GCC-exception","GPL-3.0-with-autoconf-exception","LGPL-2.0","LGPL-2.1","LGPL-3.0","Net-SNMP","Nunit","StandardML-NJ","bzip2-1.0.5","eCos-2.0","wxWindows"]});var yO=_((KY,y9)=>{y9.exports=["389-exception","Asterisk-exception","Autoconf-exception-2.0","Autoconf-exception-3.0","Autoconf-exception-generic","Autoconf-exception-generic-3.0","Autoconf-exception-macro","Bison-exception-1.24","Bison-exception-2.2","Bootloader-exception","Classpath-exception-2.0","CLISP-exception-2.0","cryptsetup-OpenSSL-exception","DigiRule-FOSS-exception","eCos-exception-2.0","Fawkes-Runtime-exception","FLTK-exception","fmt-exception","Font-exception-2.0","freertos-exception-2.0","GCC-exception-2.0","GCC-exception-2.0-note","GCC-exception-3.1","Gmsh-exception","GNAT-exception","GNOME-examples-exception","GNU-compiler-exception","gnu-javamail-exception","GPL-3.0-interface-exception","GPL-3.0-linking-exception","GPL-3.0-linking-source-exception","GPL-CC-1.0","GStreamer-exception-2005","GStreamer-exception-2008","i2p-gpl-java-exception","KiCad-libraries-exception","LGPL-3.0-linking-exception","libpri-OpenH323-exception","Libtool-exception","Linux-syscall-note","LLGPL","LLVM-exception","LZMA-exception","mif-exception","OCaml-LGPL-linking-exception","OCCT-exception-1.0","OpenJDK-assembly-exception-1.0","openvpn-openssl-exception","PS-or-PDF-font-exception-20170817","QPL-1.0-INRIA-2004-exception","Qt-GPL-exception-1.0","Qt-LGPL-exception-1.1","Qwt-exception-1.0","SANE-exception","SHL-2.0","SHL-2.1","stunnel-exception","SWI-exception","Swift-exception","Texinfo-exception","u-boot-exception-2.0","UBDL-exception","Universal-FOSS-exception-1.0","vsftpd-openssl-exception","WxWindows-exception-3.1","x11vnc-openssl-exception"]});var EO=_((XY,vO)=>{"use strict";var v9=[].concat(_d()).concat(gO()),E9=yO();vO.exports=function(e){var t=0;function r(){return t<e.length}function n(d){if(d instanceof RegExp){var g=e.slice(t),E=g.match(d);if(E)return t+=E[0].length,E[0]}else if(e.indexOf(d,t)===t)return t+=d.length,d}function i(){n(/[ ]*/)}function s(){for(var d,g=["WITH","AND","OR","(",")",":","+"],E=0;E<g.length&&(d=n(g[E]),!d);E++);if(d==="+"&&t>1&&e[t-2]===" ")throw new Error("Space before `+`");return d&&{type:"OPERATOR",string:d}}function o(){return n(/[A-Za-z0-9-.]+/)}function a(){var d=o();if(!d)throw new Error("Expected idstring at offset "+t);return d}function c(){if(n("DocumentRef-")){var d=a();return{type:"DOCUMENTREF",string:d}}}function u(){if(n("LicenseRef-")){var d=a();return{type:"LICENSEREF",string:d}}}function f(){var d=t,g=o();if(v9.indexOf(g)!==-1)return{type:"LICENSE",string:g};if(E9.indexOf(g)!==-1)return{type:"EXCEPTION",string:g};t=d}function l(){return s()||c()||u()||f()}for(var h=[];r()&&(i(),!!r());){var p=l();if(!p)throw new Error("Unexpected `"+e[t]+"` at offset "+t);h.push(p)}return h}});var wO=_((JY,AO)=>{"use strict";AO.exports=function(e){var t=0;function r(){return t<e.length}function n(){return r()?e[t]:null}function i(){if(!r())throw new Error;t++}function s(g){var E=n();if(E&&E.type==="OPERATOR"&&g===E.string)return i(),E.string}function o(){if(s("WITH")){var g=n();if(g&&g.type==="EXCEPTION")return i(),g.string;throw new Error("Expected exception after `WITH`")}}function a(){var g=t,E="",x=n();if(x.type==="DOCUMENTREF"&&(i(),E+="DocumentRef-"+x.string+":",!s(":")))throw new Error("Expected `:` after `DocumentRef-...`");if(x=n(),x.type==="LICENSEREF")return i(),E+="LicenseRef-"+x.string,{license:E};t=g}function c(){var g=n();if(g&&g.type==="LICENSE"){i();var E={license:g.string};s("+")&&(E.plus=!0);var x=o();return x&&(E.exception=x),E}}function u(){var g=s("(");if(g){var E=p();if(!s(")"))throw new Error("Expected `)`");return E}}function f(){return u()||a()||c()}function l(g,E){return function x(){var b=E();if(b){if(!s(g))return b;var L=x();if(!L)throw new Error("Expected expression");return{left:b,conjunction:g.toLowerCase(),right:L}}}}var h=l("AND",f),p=l("OR",h),d=p();if(!d||r())throw new Error("Syntax error");return d}});var Pd=_((QY,SO)=>{"use strict";var A9=EO(),w9=wO();SO.exports=function(e){return w9(A9(e))}});var FO=_((ZY,DO)=>{var S9=Pd(),b9=_d();function nc(e){try{return S9(e),!0}catch{return!1}}function RO(e,t){var r=t[0].length-e[0].length;return r!==0?r:e[0].toUpperCase().localeCompare(t[0].toUpperCase())}var bO=[["APGL","AGPL"],["Gpl","GPL"],["GLP","GPL"],["APL","Apache"],["ISD","ISC"],["GLP","GPL"],["IST","ISC"],["Claude","Clause"],[" or later","+"],[" International",""],["GNU","GPL"],["GUN","GPL"],["+",""],["GNU GPL","GPL"],["GNU LGPL","LGPL"],["GNU/GPL","GPL"],["GNU GLP","GPL"],["GNU LESSER GENERAL PUBLIC LICENSE","LGPL"],["GNU Lesser General Public License","LGPL"],["GNU LESSER GENERAL PUBLIC LICENSE","LGPL-2.1"],["GNU Lesser General Public License","LGPL-2.1"],["LESSER GENERAL PUBLIC LICENSE","LGPL"],["Lesser General Public License","LGPL"],["LESSER GENERAL PUBLIC LICENSE","LGPL-2.1"],["Lesser General Public License","LGPL-2.1"],["GNU General Public License","GPL"],["Gnu public license","GPL"],["GNU Public License","GPL"],["GNU GENERAL PUBLIC LICENSE","GPL"],["MTI","MIT"],["Mozilla Public License","MPL"],["Universal Permissive License","UPL"],["WTH","WTF"],["WTFGPL","WTFPL"],["-License",""]].sort(RO),C9=0,x9=1,CO=[function(e){return e.toUpperCase()},function(e){return e.trim()},function(e){return e.replace(/\./g,"")},function(e){return e.replace(/\s+/g,"")},function(e){return e.replace(/\s+/g,"-")},function(e){return e.replace("v","-")},function(e){return e.replace(/,?\s*(\d)/,"-$1")},function(e){return e.replace(/,?\s*(\d)/,"-$1.0")},function(e){return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2")},function(e){return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2.0")},function(e){return e[0].toUpperCase()+e.slice(1)},function(e){return e.replace("/","-")},function(e){return e.replace(/\s*V\s*(\d)/,"-$1").replace(/(\d)$/,"$1.0")},function(e){return e.indexOf("3.0")!==-1?e+"-or-later":e+"-only"},function(e){return e+"only"},function(e){return e.replace(/(\d)$/,"-$1.0")},function(e){return e.replace(/(-| )?(\d)$/,"-$2-Clause")},function(e){return e.replace(/(-| )clause(-| )(\d)/,"-$3-Clause")},function(e){return e.replace(/\b(Modified|New|Revised)(-| )?BSD((-| )License)?/i,"BSD-3-Clause")},function(e){return e.replace(/\bSimplified(-| )?BSD((-| )License)?/i,"BSD-2-Clause")},function(e){return e.replace(/\b(Free|Net)(-| )?BSD((-| )License)?/i,"BSD-2-Clause-$1BSD")},function(e){return e.replace(/\bClear(-| )?BSD((-| )License)?/i,"BSD-3-Clause-Clear")},function(e){return e.replace(/\b(Old|Original)(-| )?BSD((-| )License)?/i,"BSD-4-Clause")},function(e){return"CC-"+e},function(e){return"CC-"+e+"-4.0"},function(e){return e.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")},function(e){return"CC-"+e.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")+"-4.0"}],Rd=b9.map(function(e){var t=/^(.*)-\d+\.\d+$/.exec(e);return t?[t[0],t[1]]:[e,null]}).reduce(function(e,t){var r=t[1];return e[r]=e[r]||[],e[r].push(t[0]),e},{}),O9=Object.keys(Rd).map(function(t){return[t,Rd[t]]}).filter(function(t){return t[1].length===1&&t[0]!==null&&t[0]!=="APL"}).map(function(t){return[t[0],t[1][0]]});Rd=void 0;var xO=[["UNLI","Unlicense"],["WTF","WTFPL"],["2 CLAUSE","BSD-2-Clause"],["2-CLAUSE","BSD-2-Clause"],["3 CLAUSE","BSD-3-Clause"],["3-CLAUSE","BSD-3-Clause"],["AFFERO","AGPL-3.0-or-later"],["AGPL","AGPL-3.0-or-later"],["APACHE","Apache-2.0"],["ARTISTIC","Artistic-2.0"],["Affero","AGPL-3.0-or-later"],["BEER","Beerware"],["BOOST","BSL-1.0"],["BSD","BSD-2-Clause"],["CDDL","CDDL-1.1"],["ECLIPSE","EPL-1.0"],["FUCK","WTFPL"],["GNU","GPL-3.0-or-later"],["LGPL","LGPL-3.0-or-later"],["GPLV1","GPL-1.0-only"],["GPL-1","GPL-1.0-only"],["GPLV2","GPL-2.0-only"],["GPL-2","GPL-2.0-only"],["GPL","GPL-3.0-or-later"],["MIT +NO-FALSE-ATTRIBS","MITNFA"],["MIT","MIT"],["MPL","MPL-2.0"],["X11","X11"],["ZLIB","Zlib"]].concat(O9).sort(RO),_9=0,P9=1,OO=function(e){for(var t=0;t<CO.length;t++){var r=CO[t](e).trim();if(r!==e&&nc(r))return r}return null},_O=function(e){for(var t=e.toUpperCase(),r=0;r<xO.length;r++){var n=xO[r];if(t.indexOf(n[_9])>-1)return n[P9]}return null},PO=function(e,t){for(var r=0;r<bO.length;r++){var n=bO[r],i=n[C9];if(e.indexOf(i)>-1){var s=e.replace(i,n[x9]),o=t(s);if(o!==null)return o}}return null};DO.exports=function(e,t){t=t||{};var r=t.upgrade===void 0?!0:!!t.upgrade;function n(a){return r?R9(a):a}var i=typeof e=="string"&&e.trim().length!==0;if(!i)throw Error("Invalid argument. Expected non-empty string.");if(e=e.trim(),nc(e))return n(e);var s=e.replace(/\+$/,"").trim();if(nc(s))return n(s);var o=OO(e);return o!==null||(o=PO(e,function(a){return nc(a)?a:OO(a)}),o!==null)||(o=_O(e),o!==null)||(o=PO(e,_O),o!==null)?n(o):null};function R9(e){return["GPL-1.0","LGPL-1.0","AGPL-1.0","GPL-2.0","LGPL-2.0","AGPL-2.0","LGPL-2.1"].indexOf(e)!==-1?e+"-only":["GPL-1.0+","GPL-2.0+","GPL-3.0+","LGPL-2.0+","LGPL-2.1+","LGPL-3.0+","AGPL-1.0+","AGPL-3.0+"].indexOf(e)!==-1?e.replace(/\+$/,"-or-later"):["GPL-3.0","LGPL-3.0","AGPL-3.0"].indexOf(e)!==-1?e+"-or-later":e}});var NO=_((eV,kO)=>{var D9=Pd(),F9=FO(),LO='license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN <filename>"',L9=/^SEE LICEN[CS]E IN (.+)$/;function TO(e,t){return t.slice(0,e.length)===e}function Dd(e){if(e.hasOwnProperty("license")){var t=e.license;return TO("LicenseRef",t)||TO("DocumentRef",t)}else return Dd(e.left)||Dd(e.right)}kO.exports=function(e){var t;try{t=D9(e)}catch{var r;if(e==="UNLICENSED"||e==="UNLICENCED")return{validForOldPackages:!0,validForNewPackages:!0,unlicensed:!0};if(r=L9.exec(e))return{validForOldPackages:!0,validForNewPackages:!0,inFile:r[1]};var n={validForOldPackages:!1,validForNewPackages:!1,warnings:[LO]};if(e.trim().length!==0){var i=F9(e);i&&n.warnings.push('license is similar to the valid expression "'+i+'"')}return n}return Dd(t)?{validForNewPackages:!1,validForOldPackages:!1,spdx:!0,warnings:[LO]}:{validForNewPackages:!0,validForOldPackages:!0,spdx:!0}}});var $O=_((tV,IO)=>{IO.exports=T9;function T9(e){if(!e||e==="ERROR: No README data found!")return;e=e.trim().split(`
90
+ `);let t=0;for(;e[t]&&e[t].trim().match(/^(#|$)/);)t++;let r=e.length,n=t+1;for(;n<r&&e[n].trim();)n++;return e.slice(t,n).join(" ").trim()}});var BO=_((rV,k9)=>{k9.exports={topLevel:{dependancies:"dependencies",dependecies:"dependencies",depdenencies:"dependencies",devEependencies:"devDependencies",depends:"dependencies","dev-dependencies":"devDependencies",devDependences:"devDependencies",devDepenencies:"devDependencies",devdependencies:"devDependencies",repostitory:"repository",repo:"repository",prefereGlobal:"preferGlobal",hompage:"homepage",hampage:"homepage",autohr:"author",autor:"author",contributers:"contributors",publicationConfig:"publishConfig",script:"scripts"},bugs:{web:"url",name:"url"},script:{server:"start",tests:"test"}}});var GO=_((nV,qO)=>{var N9=Rs(),I9=uu(),$9=NO(),ic=pu(),B9=M("node:module"),M9=["dependencies","devDependencies","optionalDependencies"],j9=$O(),Fd=M("url"),fn=BO(),MO=e=>e.includes("@")&&e.indexOf("@")<e.lastIndexOf(".");qO.exports={warn:function(){},fixRepositoryField:function(e){if(e.repositories&&(this.warn("repositories"),e.repository=e.repositories[0]),!e.repository)return this.warn("missingRepository");typeof e.repository=="string"&&(e.repository={type:"git",url:e.repository});var t=e.repository.url||"";if(t){var r=ic.fromUrl(t);r&&(t=e.repository.url=r.getDefaultRepresentation()==="shortcut"?r.https():r.toString())}t.match(/github.com\/[^/]+\/[^/]+\.git\.git$/)&&this.warn("brokenGitUrl",t)},fixTypos:function(e){Object.keys(fn.topLevel).forEach(function(t){Object.prototype.hasOwnProperty.call(e,t)&&this.warn("typo",t,fn.topLevel[t])},this)},fixScriptsField:function(e){if(e.scripts){if(typeof e.scripts!="object"){this.warn("nonObjectScripts"),delete e.scripts;return}Object.keys(e.scripts).forEach(function(t){typeof e.scripts[t]!="string"?(this.warn("nonStringScript"),delete e.scripts[t]):fn.script[t]&&!e.scripts[fn.script[t]]&&this.warn("typo",t,fn.script[t],"scripts")},this)}},fixFilesField:function(e){var t=e.files;t&&!Array.isArray(t)?(this.warn("nonArrayFiles"),delete e.files):e.files&&(e.files=e.files.filter(function(r){return!r||typeof r!="string"?(this.warn("invalidFilename",r),!1):!0},this))},fixBinField:function(e){if(e.bin&&typeof e.bin=="string"){var t={},r;(r=e.name.match(/^@[^/]+[/](.*)$/))?t[r[1]]=e.bin:t[e.name]=e.bin,e.bin=t}},fixManField:function(e){e.man&&typeof e.man=="string"&&(e.man=[e.man])},fixBundleDependenciesField:function(e){var t="bundledDependencies",r="bundleDependencies";e[t]&&!e[r]&&(e[r]=e[t],delete e[t]),e[r]&&!Array.isArray(e[r])?(this.warn("nonArrayBundleDependencies"),delete e[r]):e[r]&&(e[r]=e[r].filter(function(n){return!n||typeof n!="string"?(this.warn("nonStringBundleDependency",n),!1):(e.dependencies||(e.dependencies={}),Object.prototype.hasOwnProperty.call(e.dependencies,n)||(this.warn("nonDependencyBundleDependency",n),e.dependencies[n]="*"),!0)},this))},fixDependencies:function(e){V9(e,this.warn),z9(e,this.warn),this.fixBundleDependenciesField(e),["dependencies","devDependencies"].forEach(function(t){if(t in e){if(!e[t]||typeof e[t]!="object"){this.warn("nonObjectDependencies",t),delete e[t];return}Object.keys(e[t]).forEach(function(r){var n=e[t][r];typeof n!="string"&&(this.warn("nonStringDependency",r,JSON.stringify(n)),delete e[t][r]);var i=ic.fromUrl(e[t][r]);i&&(e[t][r]=i.toString())},this)}},this)},fixModulesField:function(e){e.modules&&(this.warn("deprecatedModules"),delete e.modules)},fixKeywordsField:function(e){typeof e.keywords=="string"&&(e.keywords=e.keywords.split(/,\s+/)),e.keywords&&!Array.isArray(e.keywords)?(delete e.keywords,this.warn("nonArrayKeywords")):e.keywords&&(e.keywords=e.keywords.filter(function(t){return typeof t!="string"||!t?(this.warn("nonStringKeyword"),!1):!0},this))},fixVersionField:function(e,t){var r=!t;if(!e.version)return e.version="",!0;if(!N9(e.version,r))throw new Error('Invalid version: "'+e.version+'"');return e.version=I9(e.version,r),!0},fixPeople:function(e){jO(e,H9),jO(e,W9)},fixNameField:function(e,t){typeof t=="boolean"?t={strict:t}:typeof t>"u"&&(t={});var r=t.strict;if(!e.name&&!r){e.name="";return}if(typeof e.name!="string")throw new Error("name field must be a string.");r||(e.name=e.name.trim()),U9(e.name,r,t.allowLegacyCase),B9.builtinModules.includes(e.name)&&this.warn("conflictingName",e.name)},fixDescriptionField:function(e){e.description&&typeof e.description!="string"&&(this.warn("nonStringDescription"),delete e.description),e.readme&&!e.description&&(e.description=j9(e.readme)),e.description===void 0&&delete e.description,e.description||this.warn("missingDescription")},fixReadmeField:function(e){e.readme||(this.warn("missingReadme"),e.readme="ERROR: No README data found!")},fixBugsField:function(e){if(!e.bugs&&e.repository&&e.repository.url){var t=ic.fromUrl(e.repository.url);t&&t.bugs()&&(e.bugs={url:t.bugs()})}else if(e.bugs){if(typeof e.bugs=="string")MO(e.bugs)?e.bugs={email:e.bugs}:Fd.parse(e.bugs).protocol?e.bugs={url:e.bugs}:this.warn("nonEmailUrlBugsString");else{K9(e.bugs,this.warn);var r=e.bugs;e.bugs={},r.url&&(typeof r.url=="string"&&Fd.parse(r.url).protocol?e.bugs.url=r.url:this.warn("nonUrlBugsUrlField")),r.email&&(typeof r.email=="string"&&MO(r.email)?e.bugs.email=r.email:this.warn("nonEmailBugsEmailField"))}!e.bugs.email&&!e.bugs.url&&(delete e.bugs,this.warn("emptyNormalizedBugs"))}},fixHomepageField:function(e){if(!e.homepage&&e.repository&&e.repository.url){var t=ic.fromUrl(e.repository.url);t&&t.docs()&&(e.homepage=t.docs())}if(e.homepage){if(typeof e.homepage!="string")return this.warn("nonUrlHomepage"),delete e.homepage;Fd.parse(e.homepage).protocol||(e.homepage="http://"+e.homepage)}},fixLicenseField:function(e){let t=e.license||e.licence;if(!t)return this.warn("missingLicense");if(typeof t!="string"||t.length<1||t.trim()==="")return this.warn("invalidLicense");if(!$9(t).validForNewPackages)return this.warn("invalidLicense")}};function q9(e){if(e.charAt(0)!=="@")return!1;var t=e.slice(1).split("/");return t.length!==2?!1:t[0]&&t[1]&&t[0]===encodeURIComponent(t[0])&&t[1]===encodeURIComponent(t[1])}function G9(e){return!e.match(/[/@\s+%:]/)&&e===encodeURIComponent(e)}function U9(e,t,r){if(e.charAt(0)==="."||!(q9(e)||G9(e))||t&&!r&&e!==e.toLowerCase()||e.toLowerCase()==="node_modules"||e.toLowerCase()==="favicon.ico")throw new Error("Invalid name: "+JSON.stringify(e))}function jO(e,t){return e.author&&(e.author=t(e.author)),["maintainers","contributors"].forEach(function(r){Array.isArray(e[r])&&(e[r]=e[r].map(t))}),e}function H9(e){if(typeof e=="string")return e;var t=e.name||"",r=e.url||e.web,n=r?" ("+r+")":"",i=e.email||e.mail,s=i?" <"+i+">":"";return t+s+n}function W9(e){if(typeof e!="string")return e;var t=e.match(/^([^(<]+)/),r=e.match(/\(([^()]+)\)/),n=e.match(/<([^<>]+)>/),i={};return t&&t[0].trim()&&(i.name=t[0].trim()),n&&(i.email=n[1]),r&&(i.url=r[1]),i}function z9(e){var t=e.optionalDependencies;if(t){var r=e.dependencies||{};Object.keys(t).forEach(function(n){r[n]=t[n]}),e.dependencies=r}}function Y9(e,t,r){if(!e)return{};if(typeof e=="string"&&(e=e.trim().split(/[\n\r\s\t ,]+/)),!Array.isArray(e))return e;r("deprecatedArrayDependencies",t);var n={};return e.filter(function(i){return typeof i=="string"}).forEach(function(i){i=i.trim().split(/(:?[@\s><=])/);var s=i.shift(),o=i.join("");o=o.trim(),o=o.replace(/^@/,""),n[s]=o}),n}function V9(e,t){M9.forEach(function(r){e[r]&&(e[r]=Y9(e[r],r,t))})}function K9(e,t){e&&Object.keys(e).forEach(function(r){fn.bugs[r]&&(t("typo",r,fn.bugs[r],"bugs"),e[fn.bugs[r]]=e[r],delete e[r])})}});var UO=_((iV,X9)=>{X9.exports={repositories:"'repositories' (plural) Not supported. Please pick one as the 'repository' field",missingRepository:"No repository field.",brokenGitUrl:"Probably broken git url: %s",nonObjectScripts:"scripts must be an object",nonStringScript:"script values must be string commands",nonArrayFiles:"Invalid 'files' member",invalidFilename:"Invalid filename in 'files' list: %s",nonArrayBundleDependencies:"Invalid 'bundleDependencies' list. Must be array of package names",nonStringBundleDependency:"Invalid bundleDependencies member: %s",nonDependencyBundleDependency:"Non-dependency in bundleDependencies: %s",nonObjectDependencies:"%s field must be an object",nonStringDependency:"Invalid dependency: %s %s",deprecatedArrayDependencies:"specifying %s as array is deprecated",deprecatedModules:"modules field is deprecated",nonArrayKeywords:"keywords should be an array of strings",nonStringKeyword:"keywords should be an array of strings",conflictingName:"%s is also the name of a node core module.",nonStringDescription:"'description' field should be a string",missingDescription:"No description",missingReadme:"No README data",missingLicense:"No license field.",nonEmailUrlBugsString:"Bug string field must be url, email, or {email,url}",nonUrlBugsUrlField:"bugs.url field must be a string url. Deleted.",nonEmailBugsEmailField:"bugs.email field must be a string email. Deleted.",emptyNormalizedBugs:"Normalized value of bugs field is an empty object. Deleted.",nonUrlHomepage:"homepage field must be a string url. Deleted.",invalidLicense:"license should be a valid SPDX license expression",typo:"%s should probably be %s."}});var zO=_((sV,WO)=>{var HO=M("util"),Ld=UO();WO.exports=function(){var e=Array.prototype.slice.call(arguments,0),t=e.shift();if(t==="typo")return J9.apply(null,e);var r=Ld[t]?Ld[t]:t+": '%s'";return e.unshift(r),HO.format.apply(null,e)};function J9(e,t,r){return r&&(e=r+"['"+e+"']",t=r+"['"+t+"']"),HO.format(Ld.typo,e,t)}});var JO=_((oV,XO)=>{var Q9=Rs(),Z9=uu(),hn=M("node:fs/promises"),Pe=M("node:path"),{log:e6}=Os(),Td;function YO(){return Td||(Td=pu()),Td}var kd;function sc(){return kd||(kd=Hp().glob),kd}function VO(e,t){if(e.bin&&(typeof e.bin=="string"&&e.name?(t?.push('"bin" was converted to an object'),e.bin={[e.name]:e.bin}):Array.isArray(e.bin)&&(t?.push('"bin" was converted to an object'),e.bin=e.bin.reduce((r,n)=>(r[Pe.basename(n)]=n,r),{})),typeof e.bin=="object")){for(let r in e.bin){if(typeof e.bin[r]!="string"){delete e.bin[r],t?.push(`removed invalid "bin[${r}]"`);continue}let n=Pe.basename(fo(r));if(!n){delete e.bin[r],t?.push(`removed invalid "bin[${r}]"`);continue}let i=fo(e.bin[r]);if(!i){delete e.bin[r],t?.push(`removed invalid "bin[${r}]"`);continue}n!==r&&(delete e.bin[r],t?.push(`"bin[${r}]" was renamed to "bin[${n}]"`)),i!==e.bin[r]&&t?.push(`"bin[${n}]" script name was cleaned`),e.bin[n]=i}return Object.keys(e.bin).length===0&&(t?.push('empty "bin" was removed'),delete e.bin),e}delete e.bin}function t6(e,t){if(e.man){let r=[];for(let n of Array.isArray(e.man)?e.man:[e.man])typeof n!="string"?t?.push(`removed invalid "man [${n}]"`):r.push(fo(n));if(!r.length)t?.push('empty "man" was removed');else return e.man=r,e}delete e.man}function r6(e){return!e.match(/[/@\s+%:]/)&&e===encodeURIComponent(e)}function n6(e){if(e.charAt(0)!=="@")return!1;let t=e.slice(1).split("/");return t.length!==2?!1:t[0]&&t[1]&&t[0]===encodeURIComponent(t[0])&&t[1]===encodeURIComponent(t[1])}function KO(e){return e.replace(/\\|:/g,"/")}function fo(e){let t=KO(Pe.join(".",Pe.join("/",KO(e))));return t.startsWith("./")?"":t}var i6=async(e,{strict:t,steps:r,root:n,changes:i,allowLegacyCase:s})=>{if(!e.content)throw new Error("Can not normalize without content");let o=e.content,a=o.scripts||{},c=`${o.name??""}@${o.version??""}`;if(r.includes("fixNameField")||r.includes("normalizeData"))if(!o.name&&!t)i?.push('Missing "name" field was set to an empty string'),o.name="";else{if(typeof o.name!="string")throw new Error("name field must be a string.");if(!t){let u=o.name.trim();o.name!==u&&(i?.push('Whitespace was trimmed from "name"'),o.name=u)}if(o.name.startsWith(".")||!(n6(o.name)||r6(o.name))||t&&!s&&o.name!==o.name.toLowerCase()||o.name.toLowerCase()==="node_modules"||o.name.toLowerCase()==="favicon.ico")throw new Error("Invalid name: "+JSON.stringify(o.name))}if(r.includes("fixVersionField")||r.includes("normalizeData")){let u=!t;if(!o.version)o.version="";else{if(!Q9(o.version,u))throw new Error(`Invalid version: "${o.version}"`);let f=Z9(o.version,u);f!==o.version&&(i?.push(`"version" was cleaned and set to "${f}"`),o.version=f)}}if(r.includes("_attributes"))for(let u in o)u.startsWith("_")&&(i?.push(`"${u}" was removed`),delete e.content[u]);if(r.includes("_id")&&o.name&&o.version&&(i?.push(`"_id" was set to ${c}`),o._id=c),r.includes("bundledDependencies")&&(o.bundleDependencies===void 0&&o.bundledDependencies!==void 0&&(o.bundleDependencies=o.bundledDependencies),i?.push('Deleted incorrect "bundledDependencies"'),delete o.bundledDependencies),r.includes("bundleDependencies")){let u=o.bundleDependencies;u===!1&&!r.includes("bundleDependenciesDeleteFalse")?(i?.push('"bundleDependencies" was changed from "false" to "[]"'),o.bundleDependencies=[]):u===!0?(i?.push('"bundleDependencies" was auto-populated from "dependencies"'),o.bundleDependencies=Object.keys(o.dependencies||{})):u&&typeof u=="object"?Array.isArray(u)||(i?.push('"bundleDependencies" was changed from an object to an array'),o.bundleDependencies=Object.keys(u)):"bundleDependencies"in o&&(i?.push('"bundleDependencies" was removed'),delete o.bundleDependencies)}if(r.includes("optionalDedupe")&&o.dependencies&&o.optionalDependencies&&typeof o.optionalDependencies=="object"){for(let u in o.optionalDependencies)i?.push(`optionalDependencies."${u}" was removed`),delete o.dependencies[u];Object.keys(o.dependencies).length||(i?.push('Empty "optionalDependencies" was removed'),delete o.dependencies)}if(r.includes("gypfile")&&!a.install&&!a.preinstall&&o.gypfile!==!1&&(await sc()("*.gyp",{cwd:e.path})).length&&(a.install="node-gyp rebuild",o.scripts=a,o.gypfile=!0,i?.push('"scripts.install" was set to "node-gyp rebuild"'),i?.push('"gypfile" was set to "true"')),r.includes("serverjs")&&!a.start)try{await hn.access(Pe.join(e.path,"server.js")),a.start="node server.js",o.scripts=a,i?.push('"scripts.start" was set to "node server.js"')}catch{}if((r.includes("scripts")||r.includes("scriptpath"))&&o.scripts!==void 0){let u=/^(\.[/\\])?node_modules[/\\].bin[\\/]/;if(typeof o.scripts=="object")for(let f in o.scripts)typeof o.scripts[f]!="string"?(delete o.scripts[f],i?.push(`Invalid scripts."${f}" was removed`)):r.includes("scriptpath")&&u.test(o.scripts[f])&&(o.scripts[f]=o.scripts[f].replace(u,""),i?.push(`scripts entry "${f}" was fixed to remove node_modules/.bin reference`));else i?.push('Removed invalid "scripts"'),delete o.scripts}if(r.includes("funding")&&o.funding&&typeof o.funding=="string"&&(o.funding={url:o.funding},i?.push('"funding" was changed to an object with a url attribute')),r.includes("authors")&&!o.contributors)try{let f=(await hn.readFile(Pe.join(e.path,"AUTHORS"),"utf8")).split(/\r?\n/g).map(l=>l.replace(/^\s*#.*$/,"").trim()).filter(l=>l);o.contributors=f,i?.push('"contributors" was auto-populated with the contents of the "AUTHORS" file')}catch{}if(r.includes("readme")&&!o.readme){let u=/\.m?a?r?k?d?o?w?n?$/i,f=await sc()("{README,README.*}",{cwd:e.path,nocase:!0,mark:!0}),l;for(let h of f)if(!h.endsWith(Pe.sep)){if(h.match(u)){l=h;break}h.endsWith("README")&&(l=h)}if(l){let h=await hn.readFile(Pe.join(e.path,l),"utf8");o.readme=h,o.readmeFilename=l,i?.push(`"readme" was set to the contents of ${l}`),i?.push(`"readmeFilename" was set to ${l}`)}o.readme||(o.readme="ERROR: No README data found!")}if(r.includes("mans")){if(o.directories?.man&&!o.man){let u=fo(o.directories.man),f=Pe.resolve(e.path,u),l=await sc()("**/*.[0-9]",{cwd:f});o.man=l.map(h=>Pe.relative(e.path,Pe.join(f,h)).split(Pe.sep).join("/"))}t6(o,i)}if((r.includes("bin")||r.includes("binDir")||r.includes("binRefs"))&&VO(o,i),r.includes("binDir")&&o.directories?.bin&&!o.bin){let u=Pe.resolve(e.path,fo(o.directories.bin)),f=await sc()("**",{cwd:u});o.bin=f.reduce((l,h)=>{if(h&&!h.startsWith(".")){let p=Pe.basename(h);l[p]=Pe.join(o.directories.bin,h)}return l},{}),VO(o,i)}if(r.includes("gitHead")&&!o.gitHead){let f=await mO().find({cwd:e.path,root:n}),l;if(f)try{l=await hn.readFile(Pe.resolve(f,".git/HEAD"),"utf8")}catch{}let h;if(l)if(l.startsWith("ref: ")){let p=l.replace(/^ref: /,"").trim(),d=Pe.resolve(f,".git",p);try{h=await hn.readFile(d,"utf8"),h=h.replace(/^ref: /,"").trim()}catch{}if(!h){let g=Pe.resolve(f,".git/packed-refs");try{let E=await hn.readFile(g,"utf8");if(E){E=E.split(`
91
+ `);for(let x=0;x<E.length;x++){let b=E[x].match(/^([0-9a-f]{40}) (.+)$/);if(b&&b[2].trim()===p){h=b[1];break}}}}catch{}}}else h=l.trim();h&&(o.gitHead=h)}if(r.includes("fillTypes")){let u=o.main||"index.js";if(typeof u!="string")throw new TypeError('The "main" attribute must be of type string.');let l=`./${Pe.join(Pe.dirname(u),Pe.basename(u,Pe.extname(u)))}.d.ts`;if(!("types"in o||"typings"in o))try{await hn.access(Pe.join(e.path,l)),o.types=l.split(Pe.sep).join("/")}catch{}}if((r.includes("fixRepositoryField")||r.includes("normalizeData"))&&(o.repositories&&(i?.push(`"repository" was set to the first entry in "repositories" (${o.repository})`),o.repository=o.repositories[0]),o.repository&&(typeof o.repository=="string"&&(i?.push('"repository" was changed from a string to an object'),o.repository={type:"git",url:o.repository}),o.repository.url))){let u=YO().fromUrl(o.repository.url),f;u&&(u.getDefaultRepresentation()==="shortcut"?f=u.https():f=u.toString(),f!==o.repository.url&&(i?.push(`"repository.url" was normalized to "${f}"`),o.repository.url=f))}if(r.includes("fixDependencies")||r.includes("normalizeData")){for(let u of["dependencies","devDependencies","optionalDependencies"])if(o[u]){let f=!0;if(typeof o[u]=="string"&&(i?.push(`"${u}" was converted from a string into an object`),o[u]=o[u].trim().split(/[\n\r\s\t ,]+/),f=!1),Array.isArray(o[u])){f&&i?.push(`"${u}" was converted from an array into an object`);let l={};for(let h of o[u])if(typeof h=="string"){let p=h.trim().split(/(:?[@\s><=])/),d=p.shift(),g=p.join("").replace(/^@/,"").trim();l[d]=g}o[u]=l}}for(let u of["dependencies","devDependencies"])if(u in o)if(!o[u]||typeof o[u]!="object")i?.push(`Removed invalid "${u}"`),delete o[u];else for(let f in o[u]){typeof o[u][f]!="string"&&(i?.push(`Removed invalid "${u}.${f}"`),delete o[u][f]);let h=YO().fromUrl(o[u][f])?.toString();h&&h!==o[u][f]&&(i?.push(`Normalized git reference to "${u}.${f}"`),o[u][f]=h.toString())}}if(r.includes("normalizeData")){let u=GO(),f=zO();u.warn=function(){i?.push(f.apply(null,arguments))};let l=["fixDescriptionField","fixModulesField","fixFilesField","fixManField","fixBugsField","fixKeywordsField","fixBundleDependenciesField","fixHomepageField","fixReadmeField","fixLicenseField","fixPeople","fixTypos"];for(let h of l)u[h](o)}if(r.includes("binRefs")&&o.bin instanceof Object)for(let u in o.bin)try{await hn.access(Pe.resolve(e.path,o.bin[u]))}catch{e6.warn("package-json",c,`No bin file found at ${o.bin[u]}`)}};XO.exports=i6});var t_=_((aV,e_)=>{var{readFile:s6}=M("fs/promises"),o6=ap();async function QO(e){try{return await s6(e,"utf8")}catch(t){throw t.message=`Could not read package.json: ${t}`,t}}function ZO(e){try{return o6(e)}catch(t){throw t.message=`Invalid package.json: ${t}`,t}}async function a6(e){let t=await QO(e);return ZO(t)}e_.exports={read:QO,parse:ZO,readPackage:a6}});var n_=_((uV,r_)=>{function u6(e){let{name:t,version:r,private:n,description:i,keywords:s,homepage:o,bugs:a,repository:c,funding:u,license:f,author:l,maintainers:h,contributors:p,type:d,imports:g,exports:E,main:x,browser:b,types:L,bin:F,man:A,directories:R,files:D,workspaces:P,scripts:N,config:O,dependencies:m,devDependencies:y,peerDependencies:w,peerDependenciesMeta:C,optionalDependencies:v,bundledDependencies:S,bundleDependencies:T,engines:k,os:I,cpu:B,publishConfig:G,devEngines:z,licenses:se,overrides:U,...$}=e;return{...typeof t<"u"?{name:t}:{},...typeof r<"u"?{version:r}:{},...typeof n<"u"?{private:n}:{},...typeof i<"u"?{description:i}:{},...typeof s<"u"?{keywords:s}:{},...typeof o<"u"?{homepage:o}:{},...typeof a<"u"?{bugs:a}:{},...typeof c<"u"?{repository:c}:{},...typeof u<"u"?{funding:u}:{},...typeof f<"u"?{license:f}:{},...typeof l<"u"?{author:l}:{},...typeof h<"u"?{maintainers:h}:{},...typeof p<"u"?{contributors:p}:{},...typeof d<"u"?{type:d}:{},...typeof g<"u"?{imports:g}:{},...typeof E<"u"?{exports:E}:{},...typeof x<"u"?{main:x}:{},...typeof b<"u"?{browser:b}:{},...typeof L<"u"?{types:L}:{},...typeof F<"u"?{bin:F}:{},...typeof A<"u"?{man:A}:{},...typeof R<"u"?{directories:R}:{},...typeof D<"u"?{files:D}:{},...typeof P<"u"?{workspaces:P}:{},...typeof N<"u"?{scripts:N}:{},...typeof O<"u"?{config:O}:{},...typeof m<"u"?{dependencies:m}:{},...typeof y<"u"?{devDependencies:y}:{},...typeof w<"u"?{peerDependencies:w}:{},...typeof C<"u"?{peerDependenciesMeta:C}:{},...typeof v<"u"?{optionalDependencies:v}:{},...typeof S<"u"?{bundledDependencies:S}:{},...typeof T<"u"?{bundleDependencies:T}:{},...typeof k<"u"?{engines:k}:{},...typeof I<"u"?{os:I}:{},...typeof B<"u"?{cpu:B}:{},...typeof G<"u"?{publishConfig:G}:{},...typeof z<"u"?{devEngines:z}:{},...typeof se<"u"?{licenses:se}:{},...typeof U<"u"?{overrides:U}:{},...$}}r_.exports={packageSort:u6}});var $d=_((cV,o_)=>{var{readFile:c6,writeFile:l6}=M("node:fs/promises"),{resolve:i_}=M("node:path"),f6=ap(),s_=$S(),h6=MS(),p6=qS(),Nd=JO(),{read:d6,parse:m6}=t_(),{packageSort:g6}=n_(),y6=new Set([s_,h6,p6]),v6=new Set([...s_.knownKeys,"scripts","workspaces"]),Id=class e{static normalizeSteps=Object.freeze(["_id","_attributes","bundledDependencies","bundleDependencies","optionalDedupe","scripts","funding","bin"]);static fixSteps=Object.freeze(["binRefs","bundleDependencies","bundleDependenciesFalse","fixNameField","fixVersionField","fixRepositoryField","fixDependencies","devDependencies","scriptpath"]);static prepareSteps=Object.freeze(["_id","_attributes","bundledDependencies","bundleDependencies","bundleDependenciesDeleteFalse","gypfile","serverjs","scriptpath","authors","readme","mans","binDir","gitHead","fillTypes","normalizeData","binRefs"]);static async create(t,r={}){let n=new e;return await n.create(t),r.data?n.update(r.data):n}static async load(t,r={}){let n=new e;if(!r.create)return n.load(t);try{return await n.load(t)}catch(i){if(!i.message.startsWith("Could not read package.json"))throw i;return await n.create(t)}}static async fix(t,r){let n=new e;return await n.load(t,!0),n.fix(r)}static async prepare(t,r){let n=new e;return await n.load(t,!0),n.prepare(r)}static async normalize(t,r){let n=new e;return await n.load(t),n.normalize(r)}#e;#r;#t="";#n=!0;async load(t,r){this.#e=t;let n;try{this.#t=await d6(this.filename)}catch(i){if(!r)throw i;n=i}if(n){let i=i_(this.path,"index.js"),s;try{s=await c6(i,"utf8")}catch{throw n}try{this.fromComment(s)}catch{throw n}return this.#n=!1,this}return this.fromJSON(this.#t)}fromJSON(t){return this.#r=m6(t),this}fromContent(t){return this.#r=t,this.#n=!1,this}fromComment(t){if(t=t.split(/^\/\*\*package(?:\s|$)/m),t.length<2)throw new Error("File has no package in comments");if(t=t[1],t=t.split(/\*\*\/$/m),t.length<2)throw new Error("File has no package in comments");return t=t[0],t=t.replace(/^\s*\*/mg,""),this.#r=f6(t),this}get content(){return this.#r}get path(){return this.#e}get filename(){if(this.path)return i_(this.path,"package.json")}create(t){return this.#e=t,this.#r={},this}update(t){if(!this.content)throw new Error("Can not update without content. Please `load` or `create`");for(let r of y6)this.#r=r({content:t,originalContent:this.content});for(let[r,n]of Object.entries(t))v6.has(r)||(this.content[r]=n);return this}async save({sort:t}={}){if(!this.#n)throw new Error("No package.json to save to");let{[Symbol.for("indent")]:r,[Symbol.for("newline")]:n,...i}=this.content,s=r===void 0?" ":r,o=n===void 0?`
92
+ `:n,a=t?g6(i):i,c=`${JSON.stringify(a,null,s)}
93
+ `.replace(/\n/g,o);if(c.trim()!==this.#t.trim())return await l6(this.filename,c)}async normalize(t={}){return t.steps||(t.steps=this.constructor.normalizeSteps),await Nd(this,t),this}async prepare(t={}){return t.steps||(t.steps=this.constructor.prepareSteps),await Nd(this,t),this}async fix(t={}){return t.steps=this.constructor.fixSteps,await Nd(this,t),this}};o_.exports=Id});var c_=_((lV,u_)=>{var{basename:a_,dirname:E6}=M("path"),A6=(e,t)=>e.charAt(0)==="@"?`${e}/${t}`:t;u_.exports=e=>e?A6(a_(E6(e)),a_(e)):!1});var m_=_((fV,d_)=>{var l_=M("path"),w6=c_(),{minimatch:ho}=Fr(),S6=$d(),{glob:b6}=Hp();function C6(e){let t=[],r=[];for(let n of e){let i=n.match(/^!+/);if(i&&(n=n.slice(i[0].length)),n=n.replace(/^\.?\/+/,""),i&&i[0].length%2===1)r.push(n);else{for(let o=0;o<r.length;++o){let a=r[o];ho(n,a)&&r.splice(o,1)}t.push(n)}}for(let n of r)for(let i of ho.match(t,n))t.splice(t.indexOf(i),1);return{patterns:t,negatedPatterns:r}}function f_(e){let t=Array.isArray(e.packages)?e.packages:e;if(!Array.isArray(t))throw oc({message:"workspaces config expects an Array",code:"EWORKSPACESCONFIG"});return C6(t)}function h_(e,t){return e.name||w6(t)}function x6(e){return e=e.replace(/\\/g,"/"),e.endsWith("/")?e:`${e}/`}function oc({Type:e=TypeError,message:t,code:r}){return Object.assign(new e(t),{code:r})}function O6(e){return new Map(Array.from(e,t=>t.reverse()))}async function p_(e={}){if(!e||!e.pkg)throw oc({message:"mapWorkspaces missing pkg info",code:"EMAPWORKSPACESPKG"});e.cwd||(e.cwd=process.cwd());let{workspaces:t=[]}=e.pkg,{patterns:r,negatedPatterns:n}=f_(t),i=new Map;if(!r.length&&!n.length)return i;let s=new Map,o=()=>({...e,ignore:[...e.ignore||[],"**/node_modules/**",...n]}),a=await b6(r.map(f=>x6(f)),o());a=a.sort((f,l)=>f.localeCompare(l,"en"));let c=[];for(let f of r)c.push(...a.filter(l=>ho(l,f,{partial:!0,windowsPathsNoEscape:!0})));for(let f of c){let l;try{l=await S6.normalize(l_.join(e.cwd,f))}catch(d){if(d.code==="ENOENT"||d.code==="ENOTDIR")continue;throw d}let h=h_(l.content,l.path),p=s.get(h);p||(p=new Set,s.set(h,p)),p.add(l.path)}let u=["must not have multiple workspaces with the same name"];for(let[f,l]of s)l.size>1?_6(u,f,l):i.set(f,l.values().next().value);if(u.length>1)throw oc({Type:Error,message:u.join(`
94
+ `),code:"EDUPLICATEWORKSPACE"});return i}function _6(e,t,r){e.push(`package '${t}' has conflicts in the following paths:`);for(let n of r)e.push(" "+n)}p_.virtual=function(e={}){if(!e||!e.lockfile)throw oc({message:"mapWorkspaces.virtual missing lockfile info",code:"EMAPWORKSPACESLOCKFILE"});e.cwd||(e.cwd=process.cwd());let{packages:t={}}=e.lockfile,{workspaces:r=[]}=t[""]||{},n=new Map,{patterns:i,negatedPatterns:s}=f_(r);if(!i.length&&!s.length)return n;s.push("**/node_modules/**");let o=Object.keys(t);for(let a of s)for(let c of ho.match(o,a))o.splice(o.indexOf(c),1);for(let a of i)for(let c of ho.match(o,a)){let u=l_.join(e.cwd,c),f=h_(t[c],u);n.set(u,f)}return O6(n)};d_.exports=p_});var A_=_((hV,E_)=>{var{walkUp:P6}=Fw(),g_=qh(),Gi=Yh(),{log:pn,time:R6}=Os(),{resolve:go,dirname:ac,join:Bd}=M("node:path"),{homedir:D6}=M("node:os"),{readFile:F6,writeFile:L6,chmod:T6,unlink:k6,stat:y_,mkdir:N6}=M("node:fs/promises"),Md=(...e)=>y_(go(...e)).then(t=>t.isFile()).catch(()=>!1),I6=(...e)=>y_(go(...e)).then(t=>t.isDirectory()).catch(()=>!1),uc=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Ui=su(),Mn=yS(),$6=rp(),B6=wS(),M6=xS(),v_=new Set(["global","user","project"]),po=new Set(["default","builtin",...v_,"env","cli"]),jd=class{#e=!1;#r;#t=null;static get typeDefs(){return Ui}constructor({definitions:t,shorthands:r,flatten:n,npmPath:i,env:s=process.env,argv:o=process.argv,platform:a=process.platform,execPath:c=process.execPath,cwd:u=process.cwd(),excludeNpmCwd:f=!1}){this.definitions=t;let l={},h={};this.deprecated={};for(let[g,E]of Object.entries(t))h[g]=E.default,l[g]=E.type,E.deprecated&&(this.deprecated[g]=E.deprecated.trim().replace(/\n +/,`
95
+ `));this.#r=n,this.types=l,this.shorthands=r,this.defaults=h,this.npmPath=i,this.npmBin=Bd(this.npmPath,"bin/npm-cli.js"),this.argv=o,this.env=s,this.execPath=c,this.platform=a,this.cwd=u,this.excludeNpmCwd=f,this.globalPrefix=null,this.localPrefix=null,this.localPackage=null,this.home=null;let p=[...po];this.data=new Map;let d=null;for(let g of p)this.data.set(g,d=new qd(d));this.data.set=()=>{throw new Error("cannot change internal config data structure")},this.data.delete=()=>{throw new Error("cannot change internal config data structure")},this.sources=new Map([]),this.list=[];for(let{data:g}of this.data.values())this.list.unshift(g);Object.freeze(this.list),this.#e=!1}get loaded(){return this.#e}get prefix(){return this.#n("global")?this.globalPrefix:this.localPrefix}find(t){if(!this.loaded)throw new Error("call config.load() before reading values");let r=[...this.data.entries()];for(let n=r.length-1;n>-1;n--){let[i,{data:s}]=r[n];if(uc(s,t))return i}return null}get(t,r){if(!this.loaded)throw new Error("call config.load() before reading values");return this.#n(t,r)}#n(t,r=null){if(r!==null&&!po.has(r))throw new Error("invalid config location param: "+r);let{data:n}=this.data.get(r||"cli");return r===null||uc(n,t)?n[t]:void 0}set(t,r,n="cli"){if(!this.loaded)throw new Error("call config.load() before setting values");if(!po.has(n))throw new Error("invalid config location param: "+n);this.#c(t);let{data:i,raw:s}=this.data.get(n);i[t]=r,["global","user","project"].includes(n)&&(s[t]=r),this.data.get(n)[Hi]=null,this.#t=null}get flat(){if(this.#t)return this.#t;let t=R6.start("config:load:flatten");this.#t={};for(let{data:r}of this.data.values())this.#r(r,this.#t);return this.#t.nodeBin=this.execPath,this.#t.npmBin=this.npmBin,t(),this.#t}delete(t,r="cli"){if(!this.loaded)throw new Error("call config.load() before deleting values");if(!po.has(r))throw new Error("invalid config location param: "+r);let{data:n,raw:i}=this.data.get(r);delete n[t],["global","user","project"].includes(r)&&delete i[t]}async load(){if(this.loaded)throw new Error("attempting to load npm config multiple times");this.loadDefaults(),await this.loadBuiltinConfig(),this.loadCLI(),this.loadEnv(),await this.loadProjectConfig(),await this.loadUserConfig(),await this.loadGlobalConfig(),this.#e=!0,this.globalPrefix=this.get("prefix"),this.setEnvs()}loadDefaults(){this.loadGlobalPrefix(),this.loadHome();let t={...this.defaults,prefix:this.globalPrefix};try{t["npm-version"]=M(Bd(this.npmPath,"package.json")).version}catch{}this.#h(t,"default","default values");let{data:r}=this.data.get("default");Object.defineProperty(r,"globalconfig",{get:()=>go(this.#n("prefix"),"etc/npmrc"),set(n){Object.defineProperty(r,"globalconfig",{value:n,configurable:!0,writable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}loadHome(){this.home=this.env.HOME||D6()}loadGlobalPrefix(){if(this.globalPrefix)throw new Error("cannot load default global prefix more than once");this.env.PREFIX?this.globalPrefix=this.env.PREFIX:this.platform==="win32"?this.globalPrefix=ac(this.execPath):(this.globalPrefix=ac(ac(this.execPath)),this.env.DESTDIR&&(this.globalPrefix=Bd(this.env.DESTDIR,this.globalPrefix)))}loadEnv(){let t=Object.create(null);for(let[r,n]of Object.entries(this.env)){if(!/^npm_config_/i.test(r)||n==="")continue;let i=r.slice(11);i.startsWith("//")||(i=i.replace(/(?!^)_/g,"-").toLowerCase()),t[i]=n}this.#h(t,"env","environment")}loadCLI(){Gi.invalidHandler=(r,n,i)=>this.invalidHandler(r,n,i,"command line options","cli");let t=Gi(this.types,this.shorthands,this.argv);Gi.invalidHandler=null,this.parsedArgv=t.argv,delete t.argv,this.#h(t,"cli","command line options")}get valid(){for(let[t,{valid:r}]of this.data.entries())if(r===!1||r===null&&!this.validate(t))return!1;return!0}validate(t){if(t){let r=this.data.get(t);return r[Hi]=!0,Gi.invalidHandler=(n,i,s)=>this.invalidHandler(n,i,s,r.source,t),Gi.clean(r.data,this.types,Ui),Gi.invalidHandler=null,r[Hi]}else{let r=!0,n=[];for(let i of this.data.keys()){if(i==="default"||i==="builtin"||i==="cli")continue;let s=this.validate(i);if(r=r&&s,["global","user","project"].includes(i)){for(let a of["_authtoken","-authtoken"])this.get(a,i)&&n.push({action:"delete",key:a,where:i});let o=Mn(this.get("registry"));for(let a of["_auth","_authToken","username","_password"])this.get(a,i)&&(a==="username"&&!this.get("_password",i)?n.push({action:"delete",key:a,where:i}):a==="_password"&&!this.get("username",i)?n.push({action:"delete",key:a,where:i}):n.push({action:"rename",from:a,to:`${o}:${a}`,where:i}))}}if(n.length){let{ErrInvalidAuth:i}=_S();throw new i(n)}return r}}repair(t){if(!t)try{this.validate()}catch(r){if(r.code!=="ERR_INVALID_AUTH")throw r;t=r.problems}finally{t||(t=[])}for(let r of t)if(r.action==="delete")this.delete(r.key,r.where);else if(r.action==="rename"){let n=this.data.get(r.where).raw?.[r.from],i=this.get(r.from,r.where);this.set(r.to,n||i,r.where),this.delete(r.from,r.where)}}isDefault(t){let[r,...n]=[...po],i=this.data.get(r).data;return uc(i,t)&&n.every(s=>{let o=this.data.get(s).data;return!uc(o,t)})}invalidHandler(t,r,n,i,s){let o=DS();pn.warn("invalid config",t+"="+JSON.stringify(r),`set in ${i}`),this.data.get(s)[Hi]=!1,Array.isArray(n)&&(n.includes(Ui.url.type)?n=Ui.url.type:n.includes(Ui.path.type)&&(n=Ui.path.type));let a=o(n),c=a.filter(l=>l!==void 0&&l!==Array),u="Must be"+this.#o(c,a),f=c.length===1?c[0]:[...new Set(c.map(l=>typeof l=="string"?l:JSON.stringify(l)))].join(", ");pn.warn("invalid config",u,f)}#o(t,r){let n;return t.length===1&&r.includes(Array)?n=" one or more":t.length>1&&r.includes(Array)?n=" one or more of:":t.length>1?n=" one of:":n="",n}#h(t,r,n,i=null){let s=this.data.get(r);if(s.source){let o=`double-loading "${r}" configs from ${n}, previously loaded from ${s.source}`;throw new Error(o)}if(this.sources.has(n)){let o=`double-loading config "${n}" as "${r}", previously loaded as "${this.sources.get(n)}"`;throw new Error(o)}if(s.source=n,this.sources.set(n,r),i)s.loadError=i,i.code!=="ENOENT"&&pn.verbose("config",`error loading ${r} config`,i);else{s.raw=t;for(let[o,a]of Object.entries(t)){let c=$6(o,this.env),u=this.parseField(a,c);if(r!=="default"&&(this.#c(c),this.definitions[o]?.exclusive)){for(let f of this.definitions[o].exclusive)if(!this.isDefault(f))throw new TypeError(`--${o} can not be provided when using --${f}`)}s.data[c]=u}}}#c(t){this.deprecated[t]&&pn.warn("config",t,this.deprecated[t])}parseField(t,r,n=!1){return B6(t,r,this,n)}async#l(t,r){pn.silly("config",`load:file:${t}`),await F6(t,"utf8").then(n=>{let i=g_.parse(n);return r==="project"&&i.prefix&&pn.error("config",`prefix cannot be changed from project config: ${t}.`),this.#h(i,r,t)},n=>this.#h(null,r,t,n))}loadBuiltinConfig(){return this.#l(go(this.npmPath,"npmrc"),"builtin")}async loadProjectConfig(){if(await this.loadLocalPrefix(),this.localPackage==null&&(this.localPackage=await Md(this.localPrefix,"package.json")),this.#n("global")===!0||this.#n("location")==="global"){this.data.get("project").source="(global mode enabled, ignored)",this.sources.set(this.data.get("project").source,"project");return}let t=go(this.localPrefix,".npmrc");if(t!==this.#n("userconfig"))return this.#l(t,"project");this.data.get("project").source='(same as "user" config, ignored)',this.sources.set(this.data.get("project").source,"project")}async loadLocalPrefix(){let t=this.#n("prefix","cli");if(t){this.localPrefix=t;return}let r=this.#n("workspaces","cli"),n=this.#n("global")||this.#n("location")==="global";for(let i of P6(this.cwd)){if(this.excludeNpmCwd&&i===this.npmPath)break;let s=await Md(i,"package.json");if(!this.localPrefix&&(s||await I6(i,"node_modules"))){if(this.localPrefix=i,this.localPackage=s,r===!1||n)return;continue}if(this.localPrefix&&s){let o=$d(),{content:a}=await o.normalize(i).catch(()=>({content:{}}));if(!a?.workspaces)continue;let u=await m_()({cwd:i,pkg:a});for(let f of u.values())if(f===this.localPrefix){await Md(this.localPrefix,".npmrc")&&pn.warn("config",`ignoring workspace config at ${this.localPrefix}/.npmrc`);let{data:l}=this.data.get("default");l.workspace=[this.localPrefix],this.localPrefix=i,this.localPackage=s,pn.info("config",`found workspace root at ${this.localPrefix}`);return}}}this.localPrefix||(this.localPrefix=this.cwd)}loadUserConfig(){return this.#l(this.#n("userconfig"),"user")}loadGlobalConfig(){return this.#l(this.#n("globalconfig"),"global")}async save(t){if(!this.loaded)throw new Error("call config.load() before saving");if(!v_.has(t))throw new Error("invalid config location param: "+t);let r=this.data.get(t);if(r[mo]=null,t==="user"){let o=Mn(this.get("registry")),a=this.get(`${o}:email`,"user");a&&(this.delete(`${o}:email`,"user"),this.set("email",a,"user"))}let n=g_.stringify(r.raw).trim()+`
96
+ `;if(!n.trim()){await k6(r.source).catch(()=>{});return}let i=ac(r.source);await N6(i,{recursive:!0}),await L6(r.source,n,"utf8");let s=t==="user"?384:438;await T6(r.source,s)}clearCredentialsByURI(t,r="user"){let n=Mn(t);if(Mn(this.get("registry"))===n){this.delete("-authtoken",r),this.delete("_authToken",r),this.delete("_authtoken",r),this.delete("_auth",r),this.delete("_password",r),this.delete("username",r);let s=this.get(`${n}:email`,r);s&&this.set("email",s,r)}this.delete(`${n}:_authToken`,r),this.delete(`${n}:_auth`,r),this.delete(`${n}:_password`,r),this.delete(`${n}:username`,r),this.delete(`${n}:email`,r),this.delete(`${n}:certfile`,r),this.delete(`${n}:keyfile`,r)}setCredentialsByURI(t,{token:r,username:n,password:i,certfile:s,keyfile:o}){let a=Mn(t);if(this.delete(`${a}:always-auth`,"user"),this.delete(`${a}:email`,"user"),s&&o&&(this.set(`${a}:certfile`,s,"user"),this.set(`${a}:keyfile`,o,"user")),r)this.set(`${a}:_authToken`,r,"user"),this.delete(`${a}:_password`,"user"),this.delete(`${a}:username`,"user");else if(n||i){if(!n)throw new Error("must include username");if(!i)throw new Error("must include password");this.delete(`${a}:_authToken`,"user"),this.set(`${a}:username`,n,"user");let c=Buffer.from(i,"utf8").toString("base64");this.set(`${a}:_password`,c,"user")}else if(!s||!o)throw new Error("No credentials to set.")}getCredentialsByURI(t){let r=Mn(t),n=Mn(this.get("registry")),i={},s=this.get(`${r}:email`)||this.get("email");s&&(r===n&&this.set("email",s,"user"),i.email=s);let o=this.get(`${r}:certfile`),a=this.get(`${r}:keyfile`);o&&a&&(i.certfile=o,i.keyfile=a);let c=this.get(`${r}:_authToken`);if(c)return i.token=c,i;let u=this.get(`${r}:username`),f=this.get(`${r}:_password`);if(u&&f){i.username=u,i.password=Buffer.from(f,"base64").toString("utf8");let h=`${i.username}:${i.password}`;return i.auth=Buffer.from(h,"utf8").toString("base64"),i}let l=this.get(`${r}:_auth`);if(l){let p=Buffer.from(l,"base64").toString("utf8").split(":");return i.username=p.shift(),i.password=p.join(":"),i.auth=l,i}return i}setEnvs(){M6(this)}},mo=Symbol("loadError"),Hi=Symbol("valid"),qd=class{#e;#r=null;#t=null;constructor(t){this.#e=Object.create(t&&t.data),this.#t={},this[Hi]=!0}get data(){return this.#e}get valid(){return this[Hi]}set source(t){if(this.#r)throw new Error("cannot set ConfigData source more than once");this.#r=t}get source(){return this.#r}set loadError(t){if(this[mo]||Object.keys(this.#t).length)throw new Error("cannot set ConfigData loadError after load");this[mo]=t}get loadError(){return this[mo]}set raw(t){if(Object.keys(this.#t).length||this[mo])throw new Error("cannot set ConfigData raw after load");this.#t=t}get raw(){return this.#t}};E_.exports=jd});var CA=zd(EA(),1);import{join as SA}from"node:path";import Q2 from"node:fs/promises";import bA from"node:path";import{homedir as Z2}from"node:os";var K2=e=>{try{e.startsWith("https://")||(e="https://"+e);let t=new URL(e),r=t.hostname,n=t.pathname;if(r.endsWith("dev.azure.com")){let i=n.split("/").filter(Boolean);if(i.length>=2)return{organization:i[0],project:i[1]};throw new Error("Not enough segments in path for a valid organization and project extraction.")}if(r.endsWith("visualstudio.com")){let i=r.split(".")[0],s=n.split("/").filter(Boolean);if(i&&s.length>=1)return{organization:i,project:s[0]};throw new Error("Not enough segments in path or missing subdomain for a valid organization and project extraction.")}throw new Error("URL format not recognized or does not contain enough information.")}catch{throw new Error("Invalid URL or unsupported format")}},bi=(e,t="")=>{try{let{organization:r}=K2(e);return r}catch{return t}};function tn(e){return Buffer.from(e||"").toString("base64")}var Wa=e=>Buffer.from(e,"base64").toString("utf8");import X2 from"https";var J2={port:443,method:"GET"},AA=async e=>new Promise((t,r)=>{let n={...J2,...e};X2.request(n,s=>{let o="",a={},c=s.statusCode===200;s.on("data",u=>{o+=u}),s.on("end",()=>{o&&n?.headers?.Accept==="application/json"&&(a=JSON.parse(o.toString().trim())),c?t(a||o):(a&&(a={...a,statusCode:s.statusCode}),r(a||o||new Error(`Error code: ${s.statusCode}.`)))}),s.on("error",u=>{r(new Error(u))})}).end()});var wA=async({password:e,organization:t})=>{let r=`Basic ${tn(`.:${e}`)}`,n={hostname:"feeds.dev.azure.com",port:443,path:`/${t}/_apis/packaging/feeds/1?api-version=6.1-preview.1`,method:"GET",headers:{Accept:"application/json",Authorization:r}};try{await AA(n)}catch(i){if(i.statusCode===404)return;throw i}};var xA="me",OA="me@example.com",Ci=class{constructor(t,r,n){this.id=t;this.workspaceFileName=r;let i;if(n&&bA.basename(n)===this.workspaceFileName)i=bA.resolve(n);else{let o=(0,CA.getWorkspaceRoot)(process.cwd())||"";i=SA(o,this.workspaceFileName)}this.workspaceFilePath=i;let s=process.env.HOME||process.env.USERPROFILE||Z2()||"";this.userFilePath=SA(s,r),this.feeds=new Map}async isSupportedInRepo(){try{await Q2.access(this.workspaceFilePath)}catch{return!1}return!0}async validateAllUsedFeeds(){await this.prepUserFile();let t=[],r=await this.getWorkspaceRegistries(),n=await this.getUserFeeds();for(let i of r){let s=n.get(i);if(s){let o=!0;try{await wA({password:s.authToken||"",organization:s.adoOrganization})}catch{o=!1}t.push({feed:s,isValid:o,fileProvider:this})}else t.push({feed:{registry:i,adoOrganization:bi(i)},isValid:!1,fileProvider:this})}return t}};function GA(e){return typeof e>"u"||e===null}function e$(e){return typeof e=="object"&&e!==null}function t$(e){return Array.isArray(e)?e:GA(e)?[]:[e]}function r$(e,t){var r,n,i,s;if(t)for(s=Object.keys(t),r=0,n=s.length;r<n;r+=1)i=s[r],e[i]=t[i];return e}function n$(e,t){var r="",n;for(n=0;n<t;n+=1)r+=e;return r}function i$(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var s$=GA,o$=e$,a$=t$,u$=n$,c$=i$,l$=r$,Ue={isNothing:s$,isObject:o$,toArray:a$,repeat:u$,isNegativeZero:c$,extend:l$};function UA(e,t){var r="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=`
94
97
 
95
- `+e.mark.snippet),n+" "+r):n}function Ji(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=Ov(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Ji.prototype=Object.create(Error.prototype);Ji.prototype.constructor=Ji;Ji.prototype.toString=function(t){return this.name+": "+Ov(this,t)};var tt=Ji;function Gl(e,t,r,n,i){var s="",o="",a=Math.floor(i/2)-1;return n-t>a&&(s=" ... ",t=n-a+s.length),r-n>a&&(o=" ...",r=n+a-o.length),{str:s+e.slice(t,r).replace(/\t/g,"\u2192")+o,pos:n-t+s.length}}function Ul(e,t){return Be.repeat(" ",t-e.length)+e}function MT(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],i=[],s,o=-1;s=r.exec(e.buffer);)i.push(s.index),n.push(s.index+s[0].length),e.position<=s.index&&o<0&&(o=n.length-2);o<0&&(o=n.length-1);var a="",u,c,f=Math.min(e.line+t.linesAfter,i.length).toString().length,l=t.maxLength-(t.indent+f+3);for(u=1;u<=t.linesBefore&&!(o-u<0);u++)c=Gl(e.buffer,n[o-u],i[o-u],e.position-(n[o]-n[o-u]),l),a=Be.repeat(" ",t.indent)+Ul((e.line-u+1).toString(),f)+" | "+c.str+`
96
- `+a;for(c=Gl(e.buffer,n[o],i[o],e.position,l),a+=Be.repeat(" ",t.indent)+Ul((e.line+1).toString(),f)+" | "+c.str+`
97
- `,a+=Be.repeat("-",t.indent+f+3+c.pos)+`^
98
- `,u=1;u<=t.linesAfter&&!(o+u>=i.length);u++)c=Gl(e.buffer,n[o+u],i[o+u],e.position-(n[o]-n[o+u]),l),a+=Be.repeat(" ",t.indent)+Ul((e.line+u+1).toString(),f)+" | "+c.str+`
99
- `;return a.replace(/\n$/,"")}var jT=MT,qT=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],HT=["scalar","sequence","mapping"];function GT(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(n){t[String(n)]=r})}),t}function UT(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(qT.indexOf(r)===-1)throw new tt('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=GT(t.styleAliases||null),HT.indexOf(this.kind)===-1)throw new tt('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var He=UT;function fv(e,t){var r=[];return e[t].forEach(function(n){var i=r.length;r.forEach(function(s,o){s.tag===n.tag&&s.kind===n.kind&&s.multi===n.multi&&(i=o)}),r[i]=n}),r}function WT(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function n(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(n);return e}function Yl(e){return this.extend(e)}Yl.prototype.extend=function(t){var r=[],n=[];if(t instanceof He)n.push(t);else if(Array.isArray(t))n=n.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(r=r.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit));else throw new tt("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(s){if(!(s instanceof He))throw new tt("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(s.loadKind&&s.loadKind!=="scalar")throw new tt("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(s.multi)throw new tt("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(s){if(!(s instanceof He))throw new tt("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var i=Object.create(Yl.prototype);return i.implicit=(this.implicit||[]).concat(r),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=fv(i,"implicit"),i.compiledExplicit=fv(i,"explicit"),i.compiledTypeMap=WT(i.compiledImplicit,i.compiledExplicit),i};var Rv=Yl,Fv=new He("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),kv=new He("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),Pv=new He("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),Dv=new Rv({explicit:[Fv,kv,Pv]});function YT(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function zT(){return null}function VT(e){return e===null}var Tv=new He("tag:yaml.org,2002:null",{kind:"scalar",resolve:YT,construct:zT,predicate:VT,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function KT(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function XT(e){return e==="true"||e==="True"||e==="TRUE"}function QT(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var Iv=new He("tag:yaml.org,2002:bool",{kind:"scalar",resolve:KT,construct:XT,predicate:QT,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function JT(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function ZT(e){return 48<=e&&e<=55}function eI(e){return 48<=e&&e<=57}function tI(e){if(e===null)return!1;var t=e.length,r=0,n=!1,i;if(!t)return!1;if(i=e[r],(i==="-"||i==="+")&&(i=e[++r]),i==="0"){if(r+1===t)return!0;if(i=e[++r],i==="b"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(i!=="0"&&i!=="1")return!1;n=!0}return n&&i!=="_"}if(i==="x"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!JT(e.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}if(i==="o"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!ZT(e.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}}if(i==="_")return!1;for(;r<t;r++)if(i=e[r],i!=="_"){if(!eI(e.charCodeAt(r)))return!1;n=!0}return!(!n||i==="_")}function rI(e){var t=e,r=1,n;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),n=t[0],(n==="-"||n==="+")&&(n==="-"&&(r=-1),t=t.slice(1),n=t[0]),t==="0")return 0;if(n==="0"){if(t[1]==="b")return r*parseInt(t.slice(2),2);if(t[1]==="x")return r*parseInt(t.slice(2),16);if(t[1]==="o")return r*parseInt(t.slice(2),8)}return r*parseInt(t,10)}function nI(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!Be.isNegativeZero(e)}var Lv=new He("tag:yaml.org,2002:int",{kind:"scalar",resolve:tI,construct:rI,predicate:nI,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),iI=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function sI(e){return!(e===null||!iI.test(e)||e[e.length-1]==="_")}function oI(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}var aI=/^[-+]?[0-9]+e/;function uI(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Be.isNegativeZero(e))return"-0.0";return r=e.toString(10),aI.test(r)?r.replace("e",".e"):r}function cI(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||Be.isNegativeZero(e))}var Nv=new He("tag:yaml.org,2002:float",{kind:"scalar",resolve:sI,construct:oI,predicate:cI,represent:uI,defaultStyle:"lowercase"}),Bv=Dv.extend({implicit:[Tv,Iv,Lv,Nv]}),$v=Bv,Mv=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),jv=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function lI(e){return e===null?!1:Mv.exec(e)!==null||jv.exec(e)!==null}function fI(e){var t,r,n,i,s,o,a,u=0,c=null,f,l,h;if(t=Mv.exec(e),t===null&&(t=jv.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,n,i));if(s=+t[4],o=+t[5],a=+t[6],t[7]){for(u=t[7].slice(0,3);u.length<3;)u+="0";u=+u}return t[9]&&(f=+t[10],l=+(t[11]||0),c=(f*60+l)*6e4,t[9]==="-"&&(c=-c)),h=new Date(Date.UTC(r,n,i,s,o,a,u)),c&&h.setTime(h.getTime()-c),h}function hI(e){return e.toISOString()}var qv=new He("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:lI,construct:fI,instanceOf:Date,represent:hI});function dI(e){return e==="<<"||e===null}var Hv=new He("tag:yaml.org,2002:merge",{kind:"scalar",resolve:dI}),Ql=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
100
- \r`;function pI(e){if(e===null)return!1;var t,r,n=0,i=e.length,s=Ql;for(r=0;r<i;r++)if(t=s.indexOf(e.charAt(r)),!(t>64)){if(t<0)return!1;n+=6}return n%8===0}function gI(e){var t,r,n=e.replace(/[\r\n=]/g,""),i=n.length,s=Ql,o=0,a=[];for(t=0;t<i;t++)t%4===0&&t&&(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)),o=o<<6|s.indexOf(n.charAt(t));return r=i%4*6,r===0?(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)):r===18?(a.push(o>>10&255),a.push(o>>2&255)):r===12&&a.push(o>>4&255),new Uint8Array(a)}function mI(e){var t="",r=0,n,i,s=e.length,o=Ql;for(n=0;n<s;n++)n%3===0&&n&&(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]),r=(r<<8)+e[n];return i=s%3,i===0?(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]):i===2?(t+=o[r>>10&63],t+=o[r>>4&63],t+=o[r<<2&63],t+=o[64]):i===1&&(t+=o[r>>2&63],t+=o[r<<4&63],t+=o[64],t+=o[64]),t}function yI(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var Gv=new He("tag:yaml.org,2002:binary",{kind:"scalar",resolve:pI,construct:gI,predicate:yI,represent:mI}),vI=Object.prototype.hasOwnProperty,EI=Object.prototype.toString;function AI(e){if(e===null)return!0;var t=[],r,n,i,s,o,a=e;for(r=0,n=a.length;r<n;r+=1){if(i=a[r],o=!1,EI.call(i)!=="[object Object]")return!1;for(s in i)if(vI.call(i,s))if(!o)o=!0;else return!1;if(!o)return!1;if(t.indexOf(s)===-1)t.push(s);else return!1}return!0}function SI(e){return e!==null?e:[]}var Uv=new He("tag:yaml.org,2002:omap",{kind:"sequence",resolve:AI,construct:SI}),wI=Object.prototype.toString;function CI(e){if(e===null)return!0;var t,r,n,i,s,o=e;for(s=new Array(o.length),t=0,r=o.length;t<r;t+=1){if(n=o[t],wI.call(n)!=="[object Object]"||(i=Object.keys(n),i.length!==1))return!1;s[t]=[i[0],n[i[0]]]}return!0}function _I(e){if(e===null)return[];var t,r,n,i,s,o=e;for(s=new Array(o.length),t=0,r=o.length;t<r;t+=1)n=o[t],i=Object.keys(n),s[t]=[i[0],n[i[0]]];return s}var Wv=new He("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:CI,construct:_I}),xI=Object.prototype.hasOwnProperty;function bI(e){if(e===null)return!0;var t,r=e;for(t in r)if(xI.call(r,t)&&r[t]!==null)return!1;return!0}function OI(e){return e!==null?e:{}}var Yv=new He("tag:yaml.org,2002:set",{kind:"mapping",resolve:bI,construct:OI}),Jl=$v.extend({implicit:[qv,Hv],explicit:[Gv,Uv,Wv,Yv]}),Lr=Object.prototype.hasOwnProperty,Qo=1,zv=2,Vv=3,Jo=4,Wl=1,RI=2,hv=3,FI=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,kI=/[\x85\u2028\u2029]/,PI=/[,\[\]\{\}]/,Kv=/^(?:!|!!|![a-z\-]+!)$/i,Xv=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function dv(e){return Object.prototype.toString.call(e)}function zt(e){return e===10||e===13}function on(e){return e===9||e===32}function ut(e){return e===9||e===32||e===10||e===13}function ni(e){return e===44||e===91||e===93||e===123||e===125}function DI(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function TI(e){return e===120?2:e===117?4:e===85?8:0}function II(e){return 48<=e&&e<=57?e-48:-1}function pv(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
101
- `:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"\x85":e===95?"\xA0":e===76?"\u2028":e===80?"\u2029":""}function LI(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var Qv=new Array(256),Jv=new Array(256);for(sn=0;sn<256;sn++)Qv[sn]=pv(sn)?1:0,Jv[sn]=pv(sn);var sn;function NI(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||Jl,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Zv(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=jT(r),new tt(t,r)}function ee(e,t){throw Zv(e,t)}function Zo(e,t){e.onWarning&&e.onWarning.call(null,Zv(e,t))}var gv={YAML:function(t,r,n){var i,s,o;t.version!==null&&ee(t,"duplication of %YAML directive"),n.length!==1&&ee(t,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),i===null&&ee(t,"ill-formed argument of the YAML directive"),s=parseInt(i[1],10),o=parseInt(i[2],10),s!==1&&ee(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=o<2,o!==1&&o!==2&&Zo(t,"unsupported YAML version of the document")},TAG:function(t,r,n){var i,s;n.length!==2&&ee(t,"TAG directive accepts exactly two arguments"),i=n[0],s=n[1],Kv.test(i)||ee(t,"ill-formed tag handle (first argument) of the TAG directive"),Lr.call(t.tagMap,i)&&ee(t,'there is a previously declared suffix for "'+i+'" tag handle'),Xv.test(s)||ee(t,"ill-formed tag prefix (second argument) of the TAG directive");try{s=decodeURIComponent(s)}catch{ee(t,"tag prefix is malformed: "+s)}t.tagMap[i]=s}};function Ir(e,t,r,n){var i,s,o,a;if(t<r){if(a=e.input.slice(t,r),n)for(i=0,s=a.length;i<s;i+=1)o=a.charCodeAt(i),o===9||32<=o&&o<=1114111||ee(e,"expected valid JSON character");else FI.test(a)&&ee(e,"the stream contains non-printable characters");e.result+=a}}function mv(e,t,r,n){var i,s,o,a;for(Be.isObject(r)||ee(e,"cannot merge mappings; the provided source object is unacceptable"),i=Object.keys(r),o=0,a=i.length;o<a;o+=1)s=i[o],Lr.call(t,s)||(t[s]=r[s],n[s]=!0)}function ii(e,t,r,n,i,s,o,a,u){var c,f;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),c=0,f=i.length;c<f;c+=1)Array.isArray(i[c])&&ee(e,"nested arrays are not supported inside keys"),typeof i=="object"&&dv(i[c])==="[object Object]"&&(i[c]="[object Object]");if(typeof i=="object"&&dv(i)==="[object Object]"&&(i="[object Object]"),i=String(i),t===null&&(t={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(s))for(c=0,f=s.length;c<f;c+=1)mv(e,t,s[c],r);else mv(e,t,s,r);else!e.json&&!Lr.call(r,i)&&Lr.call(t,i)&&(e.line=o||e.line,e.lineStart=a||e.lineStart,e.position=u||e.position,ee(e,"duplicated mapping key")),i==="__proto__"?Object.defineProperty(t,i,{configurable:!0,enumerable:!0,writable:!0,value:s}):t[i]=s,delete r[i];return t}function Zl(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):ee(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function Le(e,t,r){for(var n=0,i=e.input.charCodeAt(e.position);i!==0;){for(;on(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(zt(i))for(Zl(e),i=e.input.charCodeAt(e.position),n++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return r!==-1&&n!==0&&e.lineIndent<r&&Zo(e,"deficient indentation"),n}function ra(e){var t=e.position,r;return r=e.input.charCodeAt(t),!!((r===45||r===46)&&r===e.input.charCodeAt(t+1)&&r===e.input.charCodeAt(t+2)&&(t+=3,r=e.input.charCodeAt(t),r===0||ut(r)))}function ef(e,t){t===1?e.result+=" ":t>1&&(e.result+=Be.repeat(`
102
- `,t-1))}function BI(e,t,r){var n,i,s,o,a,u,c,f,l=e.kind,h=e.result,d;if(d=e.input.charCodeAt(e.position),ut(d)||ni(d)||d===35||d===38||d===42||d===33||d===124||d===62||d===39||d===34||d===37||d===64||d===96||(d===63||d===45)&&(i=e.input.charCodeAt(e.position+1),ut(i)||r&&ni(i)))return!1;for(e.kind="scalar",e.result="",s=o=e.position,a=!1;d!==0;){if(d===58){if(i=e.input.charCodeAt(e.position+1),ut(i)||r&&ni(i))break}else if(d===35){if(n=e.input.charCodeAt(e.position-1),ut(n))break}else{if(e.position===e.lineStart&&ra(e)||r&&ni(d))break;if(zt(d))if(u=e.line,c=e.lineStart,f=e.lineIndent,Le(e,!1,-1),e.lineIndent>=t){a=!0,d=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=u,e.lineStart=c,e.lineIndent=f;break}}a&&(Ir(e,s,o,!1),ef(e,e.line-u),s=o=e.position,a=!1),on(d)||(o=e.position+1),d=e.input.charCodeAt(++e.position)}return Ir(e,s,o,!1),e.result?!0:(e.kind=l,e.result=h,!1)}function $I(e,t){var r,n,i;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(Ir(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,i=e.position;else return!0;else zt(r)?(Ir(e,n,i,!0),ef(e,Le(e,!1,t)),n=i=e.position):e.position===e.lineStart&&ra(e)?ee(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);ee(e,"unexpected end of the stream within a single quoted scalar")}function MI(e,t){var r,n,i,s,o,a;if(a=e.input.charCodeAt(e.position),a!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(a=e.input.charCodeAt(e.position))!==0;){if(a===34)return Ir(e,r,e.position,!0),e.position++,!0;if(a===92){if(Ir(e,r,e.position,!0),a=e.input.charCodeAt(++e.position),zt(a))Le(e,!1,t);else if(a<256&&Qv[a])e.result+=Jv[a],e.position++;else if((o=TI(a))>0){for(i=o,s=0;i>0;i--)a=e.input.charCodeAt(++e.position),(o=DI(a))>=0?s=(s<<4)+o:ee(e,"expected hexadecimal character");e.result+=LI(s),e.position++}else ee(e,"unknown escape sequence");r=n=e.position}else zt(a)?(Ir(e,r,n,!0),ef(e,Le(e,!1,t)),r=n=e.position):e.position===e.lineStart&&ra(e)?ee(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}ee(e,"unexpected end of the stream within a double quoted scalar")}function jI(e,t){var r=!0,n,i,s,o=e.tag,a,u=e.anchor,c,f,l,h,d,g=Object.create(null),S,w,k,_;if(_=e.input.charCodeAt(e.position),_===91)f=93,d=!1,a=[];else if(_===123)f=125,d=!0,a={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),_=e.input.charCodeAt(++e.position);_!==0;){if(Le(e,!0,t),_=e.input.charCodeAt(e.position),_===f)return e.position++,e.tag=o,e.anchor=u,e.kind=d?"mapping":"sequence",e.result=a,!0;r?_===44&&ee(e,"expected the node content, but found ','"):ee(e,"missed comma between flow collection entries"),w=S=k=null,l=h=!1,_===63&&(c=e.input.charCodeAt(e.position+1),ut(c)&&(l=h=!0,e.position++,Le(e,!0,t))),n=e.line,i=e.lineStart,s=e.position,si(e,t,Qo,!1,!0),w=e.tag,S=e.result,Le(e,!0,t),_=e.input.charCodeAt(e.position),(h||e.line===n)&&_===58&&(l=!0,_=e.input.charCodeAt(++e.position),Le(e,!0,t),si(e,t,Qo,!1,!0),k=e.result),d?ii(e,a,g,w,S,k,n,i,s):l?a.push(ii(e,null,g,w,S,k,n,i,s)):a.push(S),Le(e,!0,t),_=e.input.charCodeAt(e.position),_===44?(r=!0,_=e.input.charCodeAt(++e.position)):r=!1}ee(e,"unexpected end of the stream within a flow collection")}function qI(e,t){var r,n,i=Wl,s=!1,o=!1,a=t,u=0,c=!1,f,l;if(l=e.input.charCodeAt(e.position),l===124)n=!1;else if(l===62)n=!0;else return!1;for(e.kind="scalar",e.result="";l!==0;)if(l=e.input.charCodeAt(++e.position),l===43||l===45)Wl===i?i=l===43?hv:RI:ee(e,"repeat of a chomping mode identifier");else if((f=II(l))>=0)f===0?ee(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?ee(e,"repeat of an indentation width identifier"):(a=t+f-1,o=!0);else break;if(on(l)){do l=e.input.charCodeAt(++e.position);while(on(l));if(l===35)do l=e.input.charCodeAt(++e.position);while(!zt(l)&&l!==0)}for(;l!==0;){for(Zl(e),e.lineIndent=0,l=e.input.charCodeAt(e.position);(!o||e.lineIndent<a)&&l===32;)e.lineIndent++,l=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>a&&(a=e.lineIndent),zt(l)){u++;continue}if(e.lineIndent<a){i===hv?e.result+=Be.repeat(`
103
- `,s?1+u:u):i===Wl&&s&&(e.result+=`
104
- `);break}for(n?on(l)?(c=!0,e.result+=Be.repeat(`
105
- `,s?1+u:u)):c?(c=!1,e.result+=Be.repeat(`
106
- `,u+1)):u===0?s&&(e.result+=" "):e.result+=Be.repeat(`
107
- `,u):e.result+=Be.repeat(`
108
- `,s?1+u:u),s=!0,o=!0,u=0,r=e.position;!zt(l)&&l!==0;)l=e.input.charCodeAt(++e.position);Ir(e,r,e.position,!1)}return!0}function yv(e,t){var r,n=e.tag,i=e.anchor,s=[],o,a=!1,u;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),u=e.input.charCodeAt(e.position);u!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,ee(e,"tab characters must not be used in indentation")),!(u!==45||(o=e.input.charCodeAt(e.position+1),!ut(o))));){if(a=!0,e.position++,Le(e,!0,-1)&&e.lineIndent<=t){s.push(null),u=e.input.charCodeAt(e.position);continue}if(r=e.line,si(e,t,Vv,!1,!0),s.push(e.result),Le(e,!0,-1),u=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&u!==0)ee(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return a?(e.tag=n,e.anchor=i,e.kind="sequence",e.result=s,!0):!1}function HI(e,t,r){var n,i,s,o,a,u,c=e.tag,f=e.anchor,l={},h=Object.create(null),d=null,g=null,S=null,w=!1,k=!1,_;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=l),_=e.input.charCodeAt(e.position);_!==0;){if(!w&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,ee(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),s=e.line,(_===63||_===58)&&ut(n))_===63?(w&&(ii(e,l,h,d,g,null,o,a,u),d=g=S=null),k=!0,w=!0,i=!0):w?(w=!1,i=!0):ee(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,_=n;else{if(o=e.line,a=e.lineStart,u=e.position,!si(e,r,zv,!1,!0))break;if(e.line===s){for(_=e.input.charCodeAt(e.position);on(_);)_=e.input.charCodeAt(++e.position);if(_===58)_=e.input.charCodeAt(++e.position),ut(_)||ee(e,"a whitespace character is expected after the key-value separator within a block mapping"),w&&(ii(e,l,h,d,g,null,o,a,u),d=g=S=null),k=!0,w=!1,i=!1,d=e.tag,g=e.result;else if(k)ee(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=c,e.anchor=f,!0}else if(k)ee(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=c,e.anchor=f,!0}if((e.line===s||e.lineIndent>t)&&(w&&(o=e.line,a=e.lineStart,u=e.position),si(e,t,Jo,!0,i)&&(w?g=e.result:S=e.result),w||(ii(e,l,h,d,g,S,o,a,u),d=g=S=null),Le(e,!0,-1),_=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>t)&&_!==0)ee(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return w&&ii(e,l,h,d,g,null,o,a,u),k&&(e.tag=c,e.anchor=f,e.kind="mapping",e.result=l),k}function GI(e){var t,r=!1,n=!1,i,s,o;if(o=e.input.charCodeAt(e.position),o!==33)return!1;if(e.tag!==null&&ee(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),o===60?(r=!0,o=e.input.charCodeAt(++e.position)):o===33?(n=!0,i="!!",o=e.input.charCodeAt(++e.position)):i="!",t=e.position,r){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(s=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):ee(e,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!ut(o);)o===33&&(n?ee(e,"tag suffix cannot contain exclamation marks"):(i=e.input.slice(t-1,e.position+1),Kv.test(i)||ee(e,"named tag handle cannot contain such characters"),n=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);s=e.input.slice(t,e.position),PI.test(s)&&ee(e,"tag suffix cannot contain flow indicator characters")}s&&!Xv.test(s)&&ee(e,"tag name cannot contain such characters: "+s);try{s=decodeURIComponent(s)}catch{ee(e,"tag name is malformed: "+s)}return r?e.tag=s:Lr.call(e.tagMap,i)?e.tag=e.tagMap[i]+s:i==="!"?e.tag="!"+s:i==="!!"?e.tag="tag:yaml.org,2002:"+s:ee(e,'undeclared tag handle "'+i+'"'),!0}function UI(e){var t,r;if(r=e.input.charCodeAt(e.position),r!==38)return!1;for(e.anchor!==null&&ee(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!ut(r)&&!ni(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&ee(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function WI(e){var t,r,n;if(n=e.input.charCodeAt(e.position),n!==42)return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!ut(n)&&!ni(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&ee(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),Lr.call(e.anchorMap,r)||ee(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],Le(e,!0,-1),!0}function si(e,t,r,n,i){var s,o,a,u=1,c=!1,f=!1,l,h,d,g,S,w;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,s=o=a=Jo===r||Vv===r,n&&Le(e,!0,-1)&&(c=!0,e.lineIndent>t?u=1:e.lineIndent===t?u=0:e.lineIndent<t&&(u=-1)),u===1)for(;GI(e)||UI(e);)Le(e,!0,-1)?(c=!0,a=s,e.lineIndent>t?u=1:e.lineIndent===t?u=0:e.lineIndent<t&&(u=-1)):a=!1;if(a&&(a=c||i),(u===1||Jo===r)&&(Qo===r||zv===r?S=t:S=t+1,w=e.position-e.lineStart,u===1?a&&(yv(e,w)||HI(e,w,S))||jI(e,S)?f=!0:(o&&qI(e,S)||$I(e,S)||MI(e,S)?f=!0:WI(e)?(f=!0,(e.tag!==null||e.anchor!==null)&&ee(e,"alias node should not have any properties")):BI(e,S,Qo===r)&&(f=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):u===0&&(f=a&&yv(e,w))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&ee(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),l=0,h=e.implicitTypes.length;l<h;l+=1)if(g=e.implicitTypes[l],g.resolve(e.result)){e.result=g.construct(e.result),e.tag=g.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(Lr.call(e.typeMap[e.kind||"fallback"],e.tag))g=e.typeMap[e.kind||"fallback"][e.tag];else for(g=null,d=e.typeMap.multi[e.kind||"fallback"],l=0,h=d.length;l<h;l+=1)if(e.tag.slice(0,d[l].tag.length)===d[l].tag){g=d[l];break}g||ee(e,"unknown tag !<"+e.tag+">"),e.result!==null&&g.kind!==e.kind&&ee(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+g.kind+'", not "'+e.kind+'"'),g.resolve(e.result,e.tag)?(e.result=g.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):ee(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||f}function YI(e){var t=e.position,r,n,i,s=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(Le(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(s=!0,o=e.input.charCodeAt(++e.position),r=e.position;o!==0&&!ut(o);)o=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),i=[],n.length<1&&ee(e,"directive name must not be less than one character in length");o!==0;){for(;on(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!zt(o));break}if(zt(o))break;for(r=e.position;o!==0&&!ut(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(r,e.position))}o!==0&&Zl(e),Lr.call(gv,n)?gv[n](e,n,i):Zo(e,'unknown document directive "'+n+'"')}if(Le(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Le(e,!0,-1)):s&&ee(e,"directives end mark is expected"),si(e,e.lineIndent-1,Jo,!1,!0),Le(e,!0,-1),e.checkLineBreaks&&kI.test(e.input.slice(t,e.position))&&Zo(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&ra(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Le(e,!0,-1));return}if(e.position<e.length-1)ee(e,"end of the stream or a document separator is expected");else return}function eE(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
109
- `),e.charCodeAt(0)===65279&&(e=e.slice(1)));var r=new NI(e,t),n=e.indexOf("\0");for(n!==-1&&(r.position=n,ee(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)YI(r);return r.documents}function zI(e,t,r){t!==null&&typeof t=="object"&&typeof r>"u"&&(r=t,t=null);var n=eE(e,r);if(typeof t!="function")return n;for(var i=0,s=n.length;i<s;i+=1)t(n[i])}function VI(e,t){var r=eE(e,t);if(r.length!==0){if(r.length===1)return r[0];throw new tt("expected a single document in the stream, but found more")}}var KI=zI,XI=VI,tE={loadAll:KI,load:XI},rE=Object.prototype.toString,nE=Object.prototype.hasOwnProperty,tf=65279,QI=9,Zi=10,JI=13,ZI=32,e2=33,t2=34,zl=35,r2=37,n2=38,i2=39,s2=42,iE=44,o2=45,ea=58,a2=61,u2=62,c2=63,l2=64,sE=91,oE=93,f2=96,aE=123,h2=124,uE=125,ze={};ze[0]="\\0";ze[7]="\\a";ze[8]="\\b";ze[9]="\\t";ze[10]="\\n";ze[11]="\\v";ze[12]="\\f";ze[13]="\\r";ze[27]="\\e";ze[34]='\\"';ze[92]="\\\\";ze[133]="\\N";ze[160]="\\_";ze[8232]="\\L";ze[8233]="\\P";var d2=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],p2=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function g2(e,t){var r,n,i,s,o,a,u;if(t===null)return{};for(r={},n=Object.keys(t),i=0,s=n.length;i<s;i+=1)o=n[i],a=String(t[o]),o.slice(0,2)==="!!"&&(o="tag:yaml.org,2002:"+o.slice(2)),u=e.compiledTypeMap.fallback[o],u&&nE.call(u.styleAliases,a)&&(a=u.styleAliases[a]),r[o]=a;return r}function m2(e){var t,r,n;if(t=e.toString(16).toUpperCase(),e<=255)r="x",n=2;else if(e<=65535)r="u",n=4;else if(e<=4294967295)r="U",n=8;else throw new tt("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+Be.repeat("0",n-t.length)+t}var y2=1,es=2;function v2(e){this.schema=e.schema||Jl,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=Be.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=g2(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType==='"'?es:y2,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer=="function"?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function vv(e,t){for(var r=Be.repeat(" ",t),n=0,i=-1,s="",o,a=e.length;n<a;)i=e.indexOf(`
98
+ `+e.mark.snippet),n+" "+r):n}function Ss(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=UA(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Ss.prototype=Object.create(Error.prototype);Ss.prototype.constructor=Ss;Ss.prototype.toString=function(t){return this.name+": "+UA(this,t)};var ht=Ss;function bh(e,t,r,n,i){var s="",o="",a=Math.floor(i/2)-1;return n-t>a&&(s=" ... ",t=n-a+s.length),r-n>a&&(o=" ...",r=n+a-o.length),{str:s+e.slice(t,r).replace(/\t/g,"\u2192")+o,pos:n-t+s.length}}function Ch(e,t){return Ue.repeat(" ",t-e.length)+e}function f$(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],i=[],s,o=-1;s=r.exec(e.buffer);)i.push(s.index),n.push(s.index+s[0].length),e.position<=s.index&&o<0&&(o=n.length-2);o<0&&(o=n.length-1);var a="",c,u,f=Math.min(e.line+t.linesAfter,i.length).toString().length,l=t.maxLength-(t.indent+f+3);for(c=1;c<=t.linesBefore&&!(o-c<0);c++)u=bh(e.buffer,n[o-c],i[o-c],e.position-(n[o]-n[o-c]),l),a=Ue.repeat(" ",t.indent)+Ch((e.line-c+1).toString(),f)+" | "+u.str+`
99
+ `+a;for(u=bh(e.buffer,n[o],i[o],e.position,l),a+=Ue.repeat(" ",t.indent)+Ch((e.line+1).toString(),f)+" | "+u.str+`
100
+ `,a+=Ue.repeat("-",t.indent+f+3+u.pos)+`^
101
+ `,c=1;c<=t.linesAfter&&!(o+c>=i.length);c++)u=bh(e.buffer,n[o+c],i[o+c],e.position-(n[o]-n[o+c]),l),a+=Ue.repeat(" ",t.indent)+Ch((e.line+c+1).toString(),f)+" | "+u.str+`
102
+ `;return a.replace(/\n$/,"")}var h$=f$,p$=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],d$=["scalar","sequence","mapping"];function m$(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(n){t[String(n)]=r})}),t}function g$(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(p$.indexOf(r)===-1)throw new ht('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=m$(t.styleAliases||null),d$.indexOf(this.kind)===-1)throw new ht('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var Je=g$;function _A(e,t){var r=[];return e[t].forEach(function(n){var i=r.length;r.forEach(function(s,o){s.tag===n.tag&&s.kind===n.kind&&s.multi===n.multi&&(i=o)}),r[i]=n}),r}function y$(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function n(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(n);return e}function Oh(e){return this.extend(e)}Oh.prototype.extend=function(t){var r=[],n=[];if(t instanceof Je)n.push(t);else if(Array.isArray(t))n=n.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(r=r.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit));else throw new ht("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(s){if(!(s instanceof Je))throw new ht("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(s.loadKind&&s.loadKind!=="scalar")throw new ht("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(s.multi)throw new ht("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(s){if(!(s instanceof Je))throw new ht("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var i=Object.create(Oh.prototype);return i.implicit=(this.implicit||[]).concat(r),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=_A(i,"implicit"),i.compiledExplicit=_A(i,"explicit"),i.compiledTypeMap=y$(i.compiledImplicit,i.compiledExplicit),i};var HA=Oh,WA=new Je("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),zA=new Je("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),YA=new Je("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),VA=new HA({explicit:[WA,zA,YA]});function v$(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function E$(){return null}function A$(e){return e===null}var KA=new Je("tag:yaml.org,2002:null",{kind:"scalar",resolve:v$,construct:E$,predicate:A$,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function w$(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function S$(e){return e==="true"||e==="True"||e==="TRUE"}function b$(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var XA=new Je("tag:yaml.org,2002:bool",{kind:"scalar",resolve:w$,construct:S$,predicate:b$,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function C$(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function x$(e){return 48<=e&&e<=55}function O$(e){return 48<=e&&e<=57}function _$(e){if(e===null)return!1;var t=e.length,r=0,n=!1,i;if(!t)return!1;if(i=e[r],(i==="-"||i==="+")&&(i=e[++r]),i==="0"){if(r+1===t)return!0;if(i=e[++r],i==="b"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(i!=="0"&&i!=="1")return!1;n=!0}return n&&i!=="_"}if(i==="x"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!C$(e.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}if(i==="o"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!x$(e.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}}if(i==="_")return!1;for(;r<t;r++)if(i=e[r],i!=="_"){if(!O$(e.charCodeAt(r)))return!1;n=!0}return!(!n||i==="_")}function P$(e){var t=e,r=1,n;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),n=t[0],(n==="-"||n==="+")&&(n==="-"&&(r=-1),t=t.slice(1),n=t[0]),t==="0")return 0;if(n==="0"){if(t[1]==="b")return r*parseInt(t.slice(2),2);if(t[1]==="x")return r*parseInt(t.slice(2),16);if(t[1]==="o")return r*parseInt(t.slice(2),8)}return r*parseInt(t,10)}function R$(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!Ue.isNegativeZero(e)}var JA=new Je("tag:yaml.org,2002:int",{kind:"scalar",resolve:_$,construct:P$,predicate:R$,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),D$=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function F$(e){return!(e===null||!D$.test(e)||e[e.length-1]==="_")}function L$(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}var T$=/^[-+]?[0-9]+e/;function k$(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Ue.isNegativeZero(e))return"-0.0";return r=e.toString(10),T$.test(r)?r.replace("e",".e"):r}function N$(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||Ue.isNegativeZero(e))}var QA=new Je("tag:yaml.org,2002:float",{kind:"scalar",resolve:F$,construct:L$,predicate:N$,represent:k$,defaultStyle:"lowercase"}),ZA=VA.extend({implicit:[KA,XA,JA,QA]}),ew=ZA,tw=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),rw=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function I$(e){return e===null?!1:tw.exec(e)!==null||rw.exec(e)!==null}function $$(e){var t,r,n,i,s,o,a,c=0,u=null,f,l,h;if(t=tw.exec(e),t===null&&(t=rw.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,n,i));if(s=+t[4],o=+t[5],a=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(f=+t[10],l=+(t[11]||0),u=(f*60+l)*6e4,t[9]==="-"&&(u=-u)),h=new Date(Date.UTC(r,n,i,s,o,a,c)),u&&h.setTime(h.getTime()-u),h}function B$(e){return e.toISOString()}var nw=new Je("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:I$,construct:$$,instanceOf:Date,represent:B$});function M$(e){return e==="<<"||e===null}var iw=new Je("tag:yaml.org,2002:merge",{kind:"scalar",resolve:M$}),Fh=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
103
+ \r`;function j$(e){if(e===null)return!1;var t,r,n=0,i=e.length,s=Fh;for(r=0;r<i;r++)if(t=s.indexOf(e.charAt(r)),!(t>64)){if(t<0)return!1;n+=6}return n%8===0}function q$(e){var t,r,n=e.replace(/[\r\n=]/g,""),i=n.length,s=Fh,o=0,a=[];for(t=0;t<i;t++)t%4===0&&t&&(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)),o=o<<6|s.indexOf(n.charAt(t));return r=i%4*6,r===0?(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)):r===18?(a.push(o>>10&255),a.push(o>>2&255)):r===12&&a.push(o>>4&255),new Uint8Array(a)}function G$(e){var t="",r=0,n,i,s=e.length,o=Fh;for(n=0;n<s;n++)n%3===0&&n&&(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]),r=(r<<8)+e[n];return i=s%3,i===0?(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]):i===2?(t+=o[r>>10&63],t+=o[r>>4&63],t+=o[r<<2&63],t+=o[64]):i===1&&(t+=o[r>>2&63],t+=o[r<<4&63],t+=o[64],t+=o[64]),t}function U$(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var sw=new Je("tag:yaml.org,2002:binary",{kind:"scalar",resolve:j$,construct:q$,predicate:U$,represent:G$}),H$=Object.prototype.hasOwnProperty,W$=Object.prototype.toString;function z$(e){if(e===null)return!0;var t=[],r,n,i,s,o,a=e;for(r=0,n=a.length;r<n;r+=1){if(i=a[r],o=!1,W$.call(i)!=="[object Object]")return!1;for(s in i)if(H$.call(i,s))if(!o)o=!0;else return!1;if(!o)return!1;if(t.indexOf(s)===-1)t.push(s);else return!1}return!0}function Y$(e){return e!==null?e:[]}var ow=new Je("tag:yaml.org,2002:omap",{kind:"sequence",resolve:z$,construct:Y$}),V$=Object.prototype.toString;function K$(e){if(e===null)return!0;var t,r,n,i,s,o=e;for(s=new Array(o.length),t=0,r=o.length;t<r;t+=1){if(n=o[t],V$.call(n)!=="[object Object]"||(i=Object.keys(n),i.length!==1))return!1;s[t]=[i[0],n[i[0]]]}return!0}function X$(e){if(e===null)return[];var t,r,n,i,s,o=e;for(s=new Array(o.length),t=0,r=o.length;t<r;t+=1)n=o[t],i=Object.keys(n),s[t]=[i[0],n[i[0]]];return s}var aw=new Je("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:K$,construct:X$}),J$=Object.prototype.hasOwnProperty;function Q$(e){if(e===null)return!0;var t,r=e;for(t in r)if(J$.call(r,t)&&r[t]!==null)return!1;return!0}function Z$(e){return e!==null?e:{}}var uw=new Je("tag:yaml.org,2002:set",{kind:"mapping",resolve:Q$,construct:Z$}),Lh=ew.extend({implicit:[nw,iw],explicit:[sw,ow,aw,uw]}),nn=Object.prototype.hasOwnProperty,za=1,cw=2,lw=3,Ya=4,xh=1,eB=2,PA=3,tB=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,rB=/[\x85\u2028\u2029]/,nB=/[,\[\]\{\}]/,fw=/^(?:!|!!|![a-z\-]+!)$/i,hw=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function RA(e){return Object.prototype.toString.call(e)}function cr(e){return e===10||e===13}function Dn(e){return e===9||e===32}function wt(e){return e===9||e===32||e===10||e===13}function Oi(e){return e===44||e===91||e===93||e===123||e===125}function iB(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function sB(e){return e===120?2:e===117?4:e===85?8:0}function oB(e){return 48<=e&&e<=57?e-48:-1}function DA(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
104
+ `:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"\x85":e===95?"\xA0":e===76?"\u2028":e===80?"\u2029":""}function aB(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var pw=new Array(256),dw=new Array(256);for(Rn=0;Rn<256;Rn++)pw[Rn]=DA(Rn)?1:0,dw[Rn]=DA(Rn);var Rn;function uB(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||Lh,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function mw(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=h$(r),new ht(t,r)}function te(e,t){throw mw(e,t)}function Va(e,t){e.onWarning&&e.onWarning.call(null,mw(e,t))}var FA={YAML:function(t,r,n){var i,s,o;t.version!==null&&te(t,"duplication of %YAML directive"),n.length!==1&&te(t,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),i===null&&te(t,"ill-formed argument of the YAML directive"),s=parseInt(i[1],10),o=parseInt(i[2],10),s!==1&&te(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=o<2,o!==1&&o!==2&&Va(t,"unsupported YAML version of the document")},TAG:function(t,r,n){var i,s;n.length!==2&&te(t,"TAG directive accepts exactly two arguments"),i=n[0],s=n[1],fw.test(i)||te(t,"ill-formed tag handle (first argument) of the TAG directive"),nn.call(t.tagMap,i)&&te(t,'there is a previously declared suffix for "'+i+'" tag handle'),hw.test(s)||te(t,"ill-formed tag prefix (second argument) of the TAG directive");try{s=decodeURIComponent(s)}catch{te(t,"tag prefix is malformed: "+s)}t.tagMap[i]=s}};function rn(e,t,r,n){var i,s,o,a;if(t<r){if(a=e.input.slice(t,r),n)for(i=0,s=a.length;i<s;i+=1)o=a.charCodeAt(i),o===9||32<=o&&o<=1114111||te(e,"expected valid JSON character");else tB.test(a)&&te(e,"the stream contains non-printable characters");e.result+=a}}function LA(e,t,r,n){var i,s,o,a;for(Ue.isObject(r)||te(e,"cannot merge mappings; the provided source object is unacceptable"),i=Object.keys(r),o=0,a=i.length;o<a;o+=1)s=i[o],nn.call(t,s)||(t[s]=r[s],n[s]=!0)}function _i(e,t,r,n,i,s,o,a,c){var u,f;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),u=0,f=i.length;u<f;u+=1)Array.isArray(i[u])&&te(e,"nested arrays are not supported inside keys"),typeof i=="object"&&RA(i[u])==="[object Object]"&&(i[u]="[object Object]");if(typeof i=="object"&&RA(i)==="[object Object]"&&(i="[object Object]"),i=String(i),t===null&&(t={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(s))for(u=0,f=s.length;u<f;u+=1)LA(e,t,s[u],r);else LA(e,t,s,r);else!e.json&&!nn.call(r,i)&&nn.call(t,i)&&(e.line=o||e.line,e.lineStart=a||e.lineStart,e.position=c||e.position,te(e,"duplicated mapping key")),i==="__proto__"?Object.defineProperty(t,i,{configurable:!0,enumerable:!0,writable:!0,value:s}):t[i]=s,delete r[i];return t}function Th(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):te(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function je(e,t,r){for(var n=0,i=e.input.charCodeAt(e.position);i!==0;){for(;Dn(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(cr(i))for(Th(e),i=e.input.charCodeAt(e.position),n++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return r!==-1&&n!==0&&e.lineIndent<r&&Va(e,"deficient indentation"),n}function Ja(e){var t=e.position,r;return r=e.input.charCodeAt(t),!!((r===45||r===46)&&r===e.input.charCodeAt(t+1)&&r===e.input.charCodeAt(t+2)&&(t+=3,r=e.input.charCodeAt(t),r===0||wt(r)))}function kh(e,t){t===1?e.result+=" ":t>1&&(e.result+=Ue.repeat(`
105
+ `,t-1))}function cB(e,t,r){var n,i,s,o,a,c,u,f,l=e.kind,h=e.result,p;if(p=e.input.charCodeAt(e.position),wt(p)||Oi(p)||p===35||p===38||p===42||p===33||p===124||p===62||p===39||p===34||p===37||p===64||p===96||(p===63||p===45)&&(i=e.input.charCodeAt(e.position+1),wt(i)||r&&Oi(i)))return!1;for(e.kind="scalar",e.result="",s=o=e.position,a=!1;p!==0;){if(p===58){if(i=e.input.charCodeAt(e.position+1),wt(i)||r&&Oi(i))break}else if(p===35){if(n=e.input.charCodeAt(e.position-1),wt(n))break}else{if(e.position===e.lineStart&&Ja(e)||r&&Oi(p))break;if(cr(p))if(c=e.line,u=e.lineStart,f=e.lineIndent,je(e,!1,-1),e.lineIndent>=t){a=!0,p=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=c,e.lineStart=u,e.lineIndent=f;break}}a&&(rn(e,s,o,!1),kh(e,e.line-c),s=o=e.position,a=!1),Dn(p)||(o=e.position+1),p=e.input.charCodeAt(++e.position)}return rn(e,s,o,!1),e.result?!0:(e.kind=l,e.result=h,!1)}function lB(e,t){var r,n,i;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(rn(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,i=e.position;else return!0;else cr(r)?(rn(e,n,i,!0),kh(e,je(e,!1,t)),n=i=e.position):e.position===e.lineStart&&Ja(e)?te(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);te(e,"unexpected end of the stream within a single quoted scalar")}function fB(e,t){var r,n,i,s,o,a;if(a=e.input.charCodeAt(e.position),a!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(a=e.input.charCodeAt(e.position))!==0;){if(a===34)return rn(e,r,e.position,!0),e.position++,!0;if(a===92){if(rn(e,r,e.position,!0),a=e.input.charCodeAt(++e.position),cr(a))je(e,!1,t);else if(a<256&&pw[a])e.result+=dw[a],e.position++;else if((o=sB(a))>0){for(i=o,s=0;i>0;i--)a=e.input.charCodeAt(++e.position),(o=iB(a))>=0?s=(s<<4)+o:te(e,"expected hexadecimal character");e.result+=aB(s),e.position++}else te(e,"unknown escape sequence");r=n=e.position}else cr(a)?(rn(e,r,n,!0),kh(e,je(e,!1,t)),r=n=e.position):e.position===e.lineStart&&Ja(e)?te(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}te(e,"unexpected end of the stream within a double quoted scalar")}function hB(e,t){var r=!0,n,i,s,o=e.tag,a,c=e.anchor,u,f,l,h,p,d=Object.create(null),g,E,x,b;if(b=e.input.charCodeAt(e.position),b===91)f=93,p=!1,a=[];else if(b===123)f=125,p=!0,a={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),b=e.input.charCodeAt(++e.position);b!==0;){if(je(e,!0,t),b=e.input.charCodeAt(e.position),b===f)return e.position++,e.tag=o,e.anchor=c,e.kind=p?"mapping":"sequence",e.result=a,!0;r?b===44&&te(e,"expected the node content, but found ','"):te(e,"missed comma between flow collection entries"),E=g=x=null,l=h=!1,b===63&&(u=e.input.charCodeAt(e.position+1),wt(u)&&(l=h=!0,e.position++,je(e,!0,t))),n=e.line,i=e.lineStart,s=e.position,Pi(e,t,za,!1,!0),E=e.tag,g=e.result,je(e,!0,t),b=e.input.charCodeAt(e.position),(h||e.line===n)&&b===58&&(l=!0,b=e.input.charCodeAt(++e.position),je(e,!0,t),Pi(e,t,za,!1,!0),x=e.result),p?_i(e,a,d,E,g,x,n,i,s):l?a.push(_i(e,null,d,E,g,x,n,i,s)):a.push(g),je(e,!0,t),b=e.input.charCodeAt(e.position),b===44?(r=!0,b=e.input.charCodeAt(++e.position)):r=!1}te(e,"unexpected end of the stream within a flow collection")}function pB(e,t){var r,n,i=xh,s=!1,o=!1,a=t,c=0,u=!1,f,l;if(l=e.input.charCodeAt(e.position),l===124)n=!1;else if(l===62)n=!0;else return!1;for(e.kind="scalar",e.result="";l!==0;)if(l=e.input.charCodeAt(++e.position),l===43||l===45)xh===i?i=l===43?PA:eB:te(e,"repeat of a chomping mode identifier");else if((f=oB(l))>=0)f===0?te(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?te(e,"repeat of an indentation width identifier"):(a=t+f-1,o=!0);else break;if(Dn(l)){do l=e.input.charCodeAt(++e.position);while(Dn(l));if(l===35)do l=e.input.charCodeAt(++e.position);while(!cr(l)&&l!==0)}for(;l!==0;){for(Th(e),e.lineIndent=0,l=e.input.charCodeAt(e.position);(!o||e.lineIndent<a)&&l===32;)e.lineIndent++,l=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>a&&(a=e.lineIndent),cr(l)){c++;continue}if(e.lineIndent<a){i===PA?e.result+=Ue.repeat(`
106
+ `,s?1+c:c):i===xh&&s&&(e.result+=`
107
+ `);break}for(n?Dn(l)?(u=!0,e.result+=Ue.repeat(`
108
+ `,s?1+c:c)):u?(u=!1,e.result+=Ue.repeat(`
109
+ `,c+1)):c===0?s&&(e.result+=" "):e.result+=Ue.repeat(`
110
+ `,c):e.result+=Ue.repeat(`
111
+ `,s?1+c:c),s=!0,o=!0,c=0,r=e.position;!cr(l)&&l!==0;)l=e.input.charCodeAt(++e.position);rn(e,r,e.position,!1)}return!0}function TA(e,t){var r,n=e.tag,i=e.anchor,s=[],o,a=!1,c;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),c=e.input.charCodeAt(e.position);c!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,te(e,"tab characters must not be used in indentation")),!(c!==45||(o=e.input.charCodeAt(e.position+1),!wt(o))));){if(a=!0,e.position++,je(e,!0,-1)&&e.lineIndent<=t){s.push(null),c=e.input.charCodeAt(e.position);continue}if(r=e.line,Pi(e,t,lw,!1,!0),s.push(e.result),je(e,!0,-1),c=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&c!==0)te(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return a?(e.tag=n,e.anchor=i,e.kind="sequence",e.result=s,!0):!1}function dB(e,t,r){var n,i,s,o,a,c,u=e.tag,f=e.anchor,l={},h=Object.create(null),p=null,d=null,g=null,E=!1,x=!1,b;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=l),b=e.input.charCodeAt(e.position);b!==0;){if(!E&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,te(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),s=e.line,(b===63||b===58)&&wt(n))b===63?(E&&(_i(e,l,h,p,d,null,o,a,c),p=d=g=null),x=!0,E=!0,i=!0):E?(E=!1,i=!0):te(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,b=n;else{if(o=e.line,a=e.lineStart,c=e.position,!Pi(e,r,cw,!1,!0))break;if(e.line===s){for(b=e.input.charCodeAt(e.position);Dn(b);)b=e.input.charCodeAt(++e.position);if(b===58)b=e.input.charCodeAt(++e.position),wt(b)||te(e,"a whitespace character is expected after the key-value separator within a block mapping"),E&&(_i(e,l,h,p,d,null,o,a,c),p=d=g=null),x=!0,E=!1,i=!1,p=e.tag,d=e.result;else if(x)te(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=u,e.anchor=f,!0}else if(x)te(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=u,e.anchor=f,!0}if((e.line===s||e.lineIndent>t)&&(E&&(o=e.line,a=e.lineStart,c=e.position),Pi(e,t,Ya,!0,i)&&(E?d=e.result:g=e.result),E||(_i(e,l,h,p,d,g,o,a,c),p=d=g=null),je(e,!0,-1),b=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>t)&&b!==0)te(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return E&&_i(e,l,h,p,d,null,o,a,c),x&&(e.tag=u,e.anchor=f,e.kind="mapping",e.result=l),x}function mB(e){var t,r=!1,n=!1,i,s,o;if(o=e.input.charCodeAt(e.position),o!==33)return!1;if(e.tag!==null&&te(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),o===60?(r=!0,o=e.input.charCodeAt(++e.position)):o===33?(n=!0,i="!!",o=e.input.charCodeAt(++e.position)):i="!",t=e.position,r){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(s=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):te(e,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!wt(o);)o===33&&(n?te(e,"tag suffix cannot contain exclamation marks"):(i=e.input.slice(t-1,e.position+1),fw.test(i)||te(e,"named tag handle cannot contain such characters"),n=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);s=e.input.slice(t,e.position),nB.test(s)&&te(e,"tag suffix cannot contain flow indicator characters")}s&&!hw.test(s)&&te(e,"tag name cannot contain such characters: "+s);try{s=decodeURIComponent(s)}catch{te(e,"tag name is malformed: "+s)}return r?e.tag=s:nn.call(e.tagMap,i)?e.tag=e.tagMap[i]+s:i==="!"?e.tag="!"+s:i==="!!"?e.tag="tag:yaml.org,2002:"+s:te(e,'undeclared tag handle "'+i+'"'),!0}function gB(e){var t,r;if(r=e.input.charCodeAt(e.position),r!==38)return!1;for(e.anchor!==null&&te(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!wt(r)&&!Oi(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&te(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function yB(e){var t,r,n;if(n=e.input.charCodeAt(e.position),n!==42)return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!wt(n)&&!Oi(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&te(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),nn.call(e.anchorMap,r)||te(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],je(e,!0,-1),!0}function Pi(e,t,r,n,i){var s,o,a,c=1,u=!1,f=!1,l,h,p,d,g,E;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,s=o=a=Ya===r||lw===r,n&&je(e,!0,-1)&&(u=!0,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)),c===1)for(;mB(e)||gB(e);)je(e,!0,-1)?(u=!0,a=s,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)):a=!1;if(a&&(a=u||i),(c===1||Ya===r)&&(za===r||cw===r?g=t:g=t+1,E=e.position-e.lineStart,c===1?a&&(TA(e,E)||dB(e,E,g))||hB(e,g)?f=!0:(o&&pB(e,g)||lB(e,g)||fB(e,g)?f=!0:yB(e)?(f=!0,(e.tag!==null||e.anchor!==null)&&te(e,"alias node should not have any properties")):cB(e,g,za===r)&&(f=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):c===0&&(f=a&&TA(e,E))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&te(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),l=0,h=e.implicitTypes.length;l<h;l+=1)if(d=e.implicitTypes[l],d.resolve(e.result)){e.result=d.construct(e.result),e.tag=d.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(nn.call(e.typeMap[e.kind||"fallback"],e.tag))d=e.typeMap[e.kind||"fallback"][e.tag];else for(d=null,p=e.typeMap.multi[e.kind||"fallback"],l=0,h=p.length;l<h;l+=1)if(e.tag.slice(0,p[l].tag.length)===p[l].tag){d=p[l];break}d||te(e,"unknown tag !<"+e.tag+">"),e.result!==null&&d.kind!==e.kind&&te(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+d.kind+'", not "'+e.kind+'"'),d.resolve(e.result,e.tag)?(e.result=d.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):te(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||f}function vB(e){var t=e.position,r,n,i,s=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(je(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(s=!0,o=e.input.charCodeAt(++e.position),r=e.position;o!==0&&!wt(o);)o=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),i=[],n.length<1&&te(e,"directive name must not be less than one character in length");o!==0;){for(;Dn(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!cr(o));break}if(cr(o))break;for(r=e.position;o!==0&&!wt(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(r,e.position))}o!==0&&Th(e),nn.call(FA,n)?FA[n](e,n,i):Va(e,'unknown document directive "'+n+'"')}if(je(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,je(e,!0,-1)):s&&te(e,"directives end mark is expected"),Pi(e,e.lineIndent-1,Ya,!1,!0),je(e,!0,-1),e.checkLineBreaks&&rB.test(e.input.slice(t,e.position))&&Va(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Ja(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,je(e,!0,-1));return}if(e.position<e.length-1)te(e,"end of the stream or a document separator is expected");else return}function gw(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
112
+ `),e.charCodeAt(0)===65279&&(e=e.slice(1)));var r=new uB(e,t),n=e.indexOf("\0");for(n!==-1&&(r.position=n,te(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)vB(r);return r.documents}function EB(e,t,r){t!==null&&typeof t=="object"&&typeof r>"u"&&(r=t,t=null);var n=gw(e,r);if(typeof t!="function")return n;for(var i=0,s=n.length;i<s;i+=1)t(n[i])}function AB(e,t){var r=gw(e,t);if(r.length!==0){if(r.length===1)return r[0];throw new ht("expected a single document in the stream, but found more")}}var wB=EB,SB=AB,yw={loadAll:wB,load:SB},vw=Object.prototype.toString,Ew=Object.prototype.hasOwnProperty,Nh=65279,bB=9,bs=10,CB=13,xB=32,OB=33,_B=34,_h=35,PB=37,RB=38,DB=39,FB=42,Aw=44,LB=45,Ka=58,TB=61,kB=62,NB=63,IB=64,ww=91,Sw=93,$B=96,bw=123,BB=124,Cw=125,nt={};nt[0]="\\0";nt[7]="\\a";nt[8]="\\b";nt[9]="\\t";nt[10]="\\n";nt[11]="\\v";nt[12]="\\f";nt[13]="\\r";nt[27]="\\e";nt[34]='\\"';nt[92]="\\\\";nt[133]="\\N";nt[160]="\\_";nt[8232]="\\L";nt[8233]="\\P";var MB=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],jB=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function qB(e,t){var r,n,i,s,o,a,c;if(t===null)return{};for(r={},n=Object.keys(t),i=0,s=n.length;i<s;i+=1)o=n[i],a=String(t[o]),o.slice(0,2)==="!!"&&(o="tag:yaml.org,2002:"+o.slice(2)),c=e.compiledTypeMap.fallback[o],c&&Ew.call(c.styleAliases,a)&&(a=c.styleAliases[a]),r[o]=a;return r}function GB(e){var t,r,n;if(t=e.toString(16).toUpperCase(),e<=255)r="x",n=2;else if(e<=65535)r="u",n=4;else if(e<=4294967295)r="U",n=8;else throw new ht("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+Ue.repeat("0",n-t.length)+t}var UB=1,Cs=2;function HB(e){this.schema=e.schema||Lh,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=Ue.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=qB(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType==='"'?Cs:UB,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer=="function"?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function kA(e,t){for(var r=Ue.repeat(" ",t),n=0,i=-1,s="",o,a=e.length;n<a;)i=e.indexOf(`
110
113
  `,n),i===-1?(o=e.slice(n),n=a):(o=e.slice(n,i+1),n=i+1),o.length&&o!==`
111
- `&&(s+=r),s+=o;return s}function Vl(e,t){return`
112
- `+Be.repeat(" ",e.indent*t)}function E2(e,t){var r,n,i;for(r=0,n=e.implicitTypes.length;r<n;r+=1)if(i=e.implicitTypes[r],i.resolve(t))return!0;return!1}function ta(e){return e===ZI||e===QI}function ts(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==tf||65536<=e&&e<=1114111}function Ev(e){return ts(e)&&e!==tf&&e!==JI&&e!==Zi}function Av(e,t,r){var n=Ev(e),i=n&&!ta(e);return(r?n:n&&e!==iE&&e!==sE&&e!==oE&&e!==aE&&e!==uE)&&e!==zl&&!(t===ea&&!i)||Ev(t)&&!ta(t)&&e===zl||t===ea&&i}function A2(e){return ts(e)&&e!==tf&&!ta(e)&&e!==o2&&e!==c2&&e!==ea&&e!==iE&&e!==sE&&e!==oE&&e!==aE&&e!==uE&&e!==zl&&e!==n2&&e!==s2&&e!==e2&&e!==h2&&e!==a2&&e!==u2&&e!==i2&&e!==t2&&e!==r2&&e!==l2&&e!==f2}function S2(e){return!ta(e)&&e!==ea}function Qi(e,t){var r=e.charCodeAt(t),n;return r>=55296&&r<=56319&&t+1<e.length&&(n=e.charCodeAt(t+1),n>=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}function cE(e){var t=/^\n* /;return t.test(e)}var lE=1,Kl=2,fE=3,hE=4,ri=5;function w2(e,t,r,n,i,s,o,a){var u,c=0,f=null,l=!1,h=!1,d=n!==-1,g=-1,S=A2(Qi(e,0))&&S2(Qi(e,e.length-1));if(t||o)for(u=0;u<e.length;c>=65536?u+=2:u++){if(c=Qi(e,u),!ts(c))return ri;S=S&&Av(c,f,a),f=c}else{for(u=0;u<e.length;c>=65536?u+=2:u++){if(c=Qi(e,u),c===Zi)l=!0,d&&(h=h||u-g-1>n&&e[g+1]!==" ",g=u);else if(!ts(c))return ri;S=S&&Av(c,f,a),f=c}h=h||d&&u-g-1>n&&e[g+1]!==" "}return!l&&!h?S&&!o&&!i(e)?lE:s===es?ri:Kl:r>9&&cE(e)?ri:o?s===es?ri:Kl:h?hE:fE}function C2(e,t,r,n,i){e.dump=function(){if(t.length===0)return e.quotingType===es?'""':"''";if(!e.noCompatMode&&(d2.indexOf(t)!==-1||p2.test(t)))return e.quotingType===es?'"'+t+'"':"'"+t+"'";var s=e.indent*Math.max(1,r),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s),a=n||e.flowLevel>-1&&r>=e.flowLevel;function u(c){return E2(e,c)}switch(w2(t,a,e.indent,o,u,e.quotingType,e.forceQuotes&&!n,i)){case lE:return t;case Kl:return"'"+t.replace(/'/g,"''")+"'";case fE:return"|"+Sv(t,e.indent)+wv(vv(t,s));case hE:return">"+Sv(t,e.indent)+wv(vv(_2(t,o),s));case ri:return'"'+x2(t)+'"';default:throw new tt("impossible error: invalid scalar style")}}()}function Sv(e,t){var r=cE(e)?String(t):"",n=e[e.length-1]===`
114
+ `&&(s+=r),s+=o;return s}function Ph(e,t){return`
115
+ `+Ue.repeat(" ",e.indent*t)}function WB(e,t){var r,n,i;for(r=0,n=e.implicitTypes.length;r<n;r+=1)if(i=e.implicitTypes[r],i.resolve(t))return!0;return!1}function Xa(e){return e===xB||e===bB}function xs(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==Nh||65536<=e&&e<=1114111}function NA(e){return xs(e)&&e!==Nh&&e!==CB&&e!==bs}function IA(e,t,r){var n=NA(e),i=n&&!Xa(e);return(r?n:n&&e!==Aw&&e!==ww&&e!==Sw&&e!==bw&&e!==Cw)&&e!==_h&&!(t===Ka&&!i)||NA(t)&&!Xa(t)&&e===_h||t===Ka&&i}function zB(e){return xs(e)&&e!==Nh&&!Xa(e)&&e!==LB&&e!==NB&&e!==Ka&&e!==Aw&&e!==ww&&e!==Sw&&e!==bw&&e!==Cw&&e!==_h&&e!==RB&&e!==FB&&e!==OB&&e!==BB&&e!==TB&&e!==kB&&e!==DB&&e!==_B&&e!==PB&&e!==IB&&e!==$B}function YB(e){return!Xa(e)&&e!==Ka}function ws(e,t){var r=e.charCodeAt(t),n;return r>=55296&&r<=56319&&t+1<e.length&&(n=e.charCodeAt(t+1),n>=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}function xw(e){var t=/^\n* /;return t.test(e)}var Ow=1,Rh=2,_w=3,Pw=4,xi=5;function VB(e,t,r,n,i,s,o,a){var c,u=0,f=null,l=!1,h=!1,p=n!==-1,d=-1,g=zB(ws(e,0))&&YB(ws(e,e.length-1));if(t||o)for(c=0;c<e.length;u>=65536?c+=2:c++){if(u=ws(e,c),!xs(u))return xi;g=g&&IA(u,f,a),f=u}else{for(c=0;c<e.length;u>=65536?c+=2:c++){if(u=ws(e,c),u===bs)l=!0,p&&(h=h||c-d-1>n&&e[d+1]!==" ",d=c);else if(!xs(u))return xi;g=g&&IA(u,f,a),f=u}h=h||p&&c-d-1>n&&e[d+1]!==" "}return!l&&!h?g&&!o&&!i(e)?Ow:s===Cs?xi:Rh:r>9&&xw(e)?xi:o?s===Cs?xi:Rh:h?Pw:_w}function KB(e,t,r,n,i){e.dump=function(){if(t.length===0)return e.quotingType===Cs?'""':"''";if(!e.noCompatMode&&(MB.indexOf(t)!==-1||jB.test(t)))return e.quotingType===Cs?'"'+t+'"':"'"+t+"'";var s=e.indent*Math.max(1,r),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s),a=n||e.flowLevel>-1&&r>=e.flowLevel;function c(u){return WB(e,u)}switch(VB(t,a,e.indent,o,c,e.quotingType,e.forceQuotes&&!n,i)){case Ow:return t;case Rh:return"'"+t.replace(/'/g,"''")+"'";case _w:return"|"+$A(t,e.indent)+BA(kA(t,s));case Pw:return">"+$A(t,e.indent)+BA(kA(XB(t,o),s));case xi:return'"'+JB(t)+'"';default:throw new ht("impossible error: invalid scalar style")}}()}function $A(e,t){var r=xw(e)?String(t):"",n=e[e.length-1]===`
113
116
  `,i=n&&(e[e.length-2]===`
114
117
  `||e===`
115
118
  `),s=i?"+":n?"":"-";return r+s+`
116
- `}function wv(e){return e[e.length-1]===`
117
- `?e.slice(0,-1):e}function _2(e,t){for(var r=/(\n+)([^\n]*)/g,n=function(){var c=e.indexOf(`
118
- `);return c=c!==-1?c:e.length,r.lastIndex=c,Cv(e.slice(0,c),t)}(),i=e[0]===`
119
- `||e[0]===" ",s,o;o=r.exec(e);){var a=o[1],u=o[2];s=u[0]===" ",n+=a+(!i&&!s&&u!==""?`
120
- `:"")+Cv(u,t),i=s}return n}function Cv(e,t){if(e===""||e[0]===" ")return e;for(var r=/ [^ ]/g,n,i=0,s,o=0,a=0,u="";n=r.exec(e);)a=n.index,a-i>t&&(s=o>i?o:a,u+=`
121
- `+e.slice(i,s),i=s+1),o=a;return u+=`
122
- `,e.length-i>t&&o>i?u+=e.slice(i,o)+`
123
- `+e.slice(o+1):u+=e.slice(i),u.slice(1)}function x2(e){for(var t="",r=0,n,i=0;i<e.length;r>=65536?i+=2:i++)r=Qi(e,i),n=ze[r],!n&&ts(r)?(t+=e[i],r>=65536&&(t+=e[i+1])):t+=n||m2(r);return t}function b2(e,t,r){var n="",i=e.tag,s,o,a;for(s=0,o=r.length;s<o;s+=1)a=r[s],e.replacer&&(a=e.replacer.call(r,String(s),a)),(ar(e,t,a,!1,!1)||typeof a>"u"&&ar(e,t,null,!1,!1))&&(n!==""&&(n+=","+(e.condenseFlow?"":" ")),n+=e.dump);e.tag=i,e.dump="["+n+"]"}function _v(e,t,r,n){var i="",s=e.tag,o,a,u;for(o=0,a=r.length;o<a;o+=1)u=r[o],e.replacer&&(u=e.replacer.call(r,String(o),u)),(ar(e,t+1,u,!0,!0,!1,!0)||typeof u>"u"&&ar(e,t+1,null,!0,!0,!1,!0))&&((!n||i!=="")&&(i+=Vl(e,t)),e.dump&&Zi===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump);e.tag=s,e.dump=i||"[]"}function O2(e,t,r){var n="",i=e.tag,s=Object.keys(r),o,a,u,c,f;for(o=0,a=s.length;o<a;o+=1)f="",n!==""&&(f+=", "),e.condenseFlow&&(f+='"'),u=s[o],c=r[u],e.replacer&&(c=e.replacer.call(r,u,c)),ar(e,t,u,!1,!1)&&(e.dump.length>1024&&(f+="? "),f+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),ar(e,t,c,!1,!1)&&(f+=e.dump,n+=f));e.tag=i,e.dump="{"+n+"}"}function R2(e,t,r,n){var i="",s=e.tag,o=Object.keys(r),a,u,c,f,l,h;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys=="function")o.sort(e.sortKeys);else if(e.sortKeys)throw new tt("sortKeys must be a boolean or a function");for(a=0,u=o.length;a<u;a+=1)h="",(!n||i!=="")&&(h+=Vl(e,t)),c=o[a],f=r[c],e.replacer&&(f=e.replacer.call(r,c,f)),ar(e,t+1,c,!0,!0,!0)&&(l=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,l&&(e.dump&&Zi===e.dump.charCodeAt(0)?h+="?":h+="? "),h+=e.dump,l&&(h+=Vl(e,t)),ar(e,t+1,f,!0,l)&&(e.dump&&Zi===e.dump.charCodeAt(0)?h+=":":h+=": ",h+=e.dump,i+=h));e.tag=s,e.dump=i||"{}"}function xv(e,t,r){var n,i,s,o,a,u;for(i=r?e.explicitTypes:e.implicitTypes,s=0,o=i.length;s<o;s+=1)if(a=i[s],(a.instanceOf||a.predicate)&&(!a.instanceOf||typeof t=="object"&&t instanceof a.instanceOf)&&(!a.predicate||a.predicate(t))){if(r?a.multi&&a.representName?e.tag=a.representName(t):e.tag=a.tag:e.tag="?",a.represent){if(u=e.styleMap[a.tag]||a.defaultStyle,rE.call(a.represent)==="[object Function]")n=a.represent(t,u);else if(nE.call(a.represent,u))n=a.represent[u](t,u);else throw new tt("!<"+a.tag+'> tag resolver accepts not "'+u+'" style');e.dump=n}return!0}return!1}function ar(e,t,r,n,i,s,o){e.tag=null,e.dump=r,xv(e,r,!1)||xv(e,r,!0);var a=rE.call(e.dump),u=n,c;n&&(n=e.flowLevel<0||e.flowLevel>t);var f=a==="[object Object]"||a==="[object Array]",l,h;if(f&&(l=e.duplicates.indexOf(r),h=l!==-1),(e.tag!==null&&e.tag!=="?"||h||e.indent!==2&&t>0)&&(i=!1),h&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(f&&h&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),a==="[object Object]")n&&Object.keys(e.dump).length!==0?(R2(e,t,e.dump,i),h&&(e.dump="&ref_"+l+e.dump)):(O2(e,t,e.dump),h&&(e.dump="&ref_"+l+" "+e.dump));else if(a==="[object Array]")n&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?_v(e,t-1,e.dump,i):_v(e,t,e.dump,i),h&&(e.dump="&ref_"+l+e.dump)):(b2(e,t,e.dump),h&&(e.dump="&ref_"+l+" "+e.dump));else if(a==="[object String]")e.tag!=="?"&&C2(e,e.dump,t,s,u);else{if(a==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new tt("unacceptable kind of an object to dump "+a)}e.tag!==null&&e.tag!=="?"&&(c=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?c="!"+c:c.slice(0,18)==="tag:yaml.org,2002:"?c="!!"+c.slice(18):c="!<"+c+">",e.dump=c+" "+e.dump)}return!0}function F2(e,t){var r=[],n=[],i,s;for(Xl(e,r,n),i=0,s=n.length;i<s;i+=1)t.duplicates.push(r[n[i]]);t.usedDuplicates=new Array(s)}function Xl(e,t,r){var n,i,s;if(e!==null&&typeof e=="object")if(i=t.indexOf(e),i!==-1)r.indexOf(i)===-1&&r.push(i);else if(t.push(e),Array.isArray(e))for(i=0,s=e.length;i<s;i+=1)Xl(e[i],t,r);else for(n=Object.keys(e),i=0,s=n.length;i<s;i+=1)Xl(e[n[i]],t,r)}function k2(e,t){t=t||{};var r=new v2(t);r.noRefs||F2(e,r);var n=e;return r.replacer&&(n=r.replacer.call({"":n},"",n)),ar(r,0,n,!0,!0)?r.dump+`
124
- `:""}var P2=k2,D2={dump:P2};function rf(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}var T2=He,I2=Rv,L2=Dv,N2=Bv,B2=$v,$2=Jl,M2=tE.load,j2=tE.loadAll,q2=D2.dump,H2=tt,G2={binary:Gv,float:Nv,map:Pv,null:Tv,pairs:Wv,set:Yv,timestamp:qv,bool:Iv,int:Lv,merge:Hv,omap:Uv,seq:kv,str:Fv},U2=rf("safeLoad","load"),W2=rf("safeLoadAll","loadAll"),Y2=rf("safeDump","dump"),z2={Type:T2,Schema:I2,FAILSAFE_SCHEMA:L2,JSON_SCHEMA:N2,CORE_SCHEMA:B2,DEFAULT_SCHEMA:$2,load:M2,loadAll:j2,dump:q2,YAMLException:H2,types:G2,safeLoad:U2,safeLoadAll:W2,safeDump:Y2},nf=z2;import dE from"node:fs/promises";var na=e=>{let t=new URL(e),n=t.protocol.length+2;return t.toString().slice(n)};var pE=class extends ti{constructor(t){super("YarnRc",".yarnrc.yml",t)}async prepUserFile(){}async getUserFeeds(){let t=new Map,r=await this.paseYarnRc(this.userFilePath);if(!r)return t;let n=r.npmRegistries||{};for(var i of Object.keys(n)){let s=n[i]||{},o=i.startsWith("//")?i.substring(2):i,a={registry:o,adoOrganization:ei(o)},u=Xo(s.npmAuthIdent||""),c=u.indexOf(":");c>0&&(a.userName=u.substring(0,c),a.authToken=u.substring(c+1)),t.set(o,a)}return t}async getWorkspaceRegistries(){let t=[],r=await this.paseYarnRc(this.workspaceFilePath);if(r.npmRegistryServer&&t.push(na(r.npmRegistryServer)),r.npmScopes)for(var n of Object.keys(r.npmScopes)){let i=r.npmScopes[n]?.npmRegistryServer;i&&t.push(i)}return t}async writeWorkspaceRegistries(t){let r=await this.paseYarnRc(this.userFilePath)||{};r.npmRegistries||(r.npmRegistries={});for(var n of t){let s="//"+n.registry,o=r.npmRegistries[s]||{};o.npmAlwaysAuth===void 0&&(o.npmAlwaysAuth=!0),o.npmAuthIdent=Tr(`${n.userName}:${n.authToken}`),r.npmRegistries[s]=o}let i=nf.dump(r);await dE.writeFile(this.userFilePath,i)}async paseYarnRc(t){let r=await dE.readFile(t,"utf8");return nf.load(r,{filename:t})}};var Xw=kh(Vw(),1);import Ss from"node:fs/promises";import{EOL as bh}from"node:os";import j3 from"node:path";var Kw=class extends ti{constructor(t){super("NpmRc",".npmrc",t)}async prepUserFile(){try{let r=(await Ss.readFile(this.userFilePath,"utf-8")).split(bh).filter(n=>!n.includes("registry=")).join(bh);await Ss.writeFile(this.userFilePath,r)}catch{await Ss.writeFile(this.userFilePath,"")}}async getWorkspaceRegistries(){let t;try{t=new Xw.default({npmPath:this.workspaceFilePath,argv:["<dummy_node>","<dummy_pnpm_js>",`--prefix=${j3.dirname(this.workspaceFilePath)}`],shorthands:{},definitions:{}}),await t.load()}catch(i){throw i instanceof TypeError&&i.message.includes("Invalid URL")?new Error("Registry URL missing or invalid"):new Error("Error loading .npmrc")}return Object.keys((t.data?.get("project")||{}).data||{}).filter(i=>i.includes("registry")).map(i=>t.get(i,"project")).map(i=>na(i))}async getUserFeeds(){let t=new Map;return await this.processNpmRcFile(this.userFilePath,(r,n,i,s)=>{let o=t.get(n);switch(o||(o={registry:n,adoOrganization:ei(n)},t.set(o.registry,o)),i){case"_password":o.authToken=Xo(s).trim();break;case"username":o.userName=s;break;case"email":o.email=s;break}}),t}async patchUserNpmRcFile(t){let r=new Set(t.values()),n=await this.processNpmRcFile(this.userFilePath,(i,s,o,a)=>{let u=t.get(this.toRegistryAndFunctionKey(s,o));return u!==void 0?(r.delete(u),u):i},i=>i);for(let i of r)n.push(i);return n}toRegistryAndFunctionKey(t,r){return`//${t}:${r}=`}async writeWorkspaceRegistries(t){let r=new Map;for(var n of t)r.set(this.toRegistryAndFunctionKey(n.registry,"username"),`//${n.registry}:username=${n.userName||cv}`),r.set(this.toRegistryAndFunctionKey(n.registry,"email"),`//${n.registry}:email=${n.email||lv}`),r.set(this.toRegistryAndFunctionKey(n.registry,"_password"),`//${n.registry}:_password=${Tr(n.authToken)}`);let i=await this.patchUserNpmRcFile(r);await Ss.writeFile(this.userFilePath,i.join(bh),{encoding:"utf-8"})}async processNpmRcFile(t,r,n){let s=(await Ss.readFile(t,{encoding:"utf8"})).split(`
125
- `).map(a=>a.trim()),o=[];for(let a of s){let u=a.indexOf("/:");if(a.startsWith("//")&&u>=2){let c=a.substring(2,u+1),f=a.substring(u+2),l=f.substring(0,f.indexOf("=")),h=f.substring(f.indexOf("=")+1),d=r(a,c,l,h);d&&o.push(d)}else if(n){let c=n(a);c&&o.push(c)}}return o}};import{hostname as Q3}from"os";import{arch as V3,platform as K3}from"os";import{exec as q3}from"node:child_process";import{promisify as H3}from"node:util";var ka=H3(q3);import{arch as W3,platform as Qw}from"os";import{release as G3,platform as U3}from"os";var yn=()=>U3()==="linux"&&G3().toLowerCase().includes("wsl");var Jw=()=>{let e={win32:["x64"],darwin:["x64","arm64"]};return yn()||e[Qw()]&&e[Qw()].includes(W3())};var Oh;var Y3=["npm","exec","--silent","--yes","azureauth","--"],z3={...process.env,npm_config_registry:"https://registry.npmjs.org"},Pa=()=>(Oh||(Oh=yn()?["azureauth.exe"]:Y3),{command:Oh,env:z3});import{spawnSync as X3}from"child_process";var Da;var Zw=async()=>{if(Da===void 0){let{command:e,env:t}=Pa(),r=`${e.join(" ")} --version`;try{let n=await ka(r,{env:t}),[,i]=n.stdout.split(".");Da=parseInt(i)>=8}catch{Da=!1}}return Da};var eC=async(e,t)=>{if(!Jw())throw new Error(`AzureAuth is not supported for platform ${K3()} and architecture ${V3()}`);let{command:r,env:n}=t?{command:[t],env:process.env}:Pa(),i=[...r,"ado","pat",`--prompt-hint ${yn()?e.promptHint:`"${e.promptHint}"`}`,`--organization ${e.organization}`,`--display-name ${e.displayName}`,...e.scope.map(s=>`--scope ${s}`)];e.output&&i.push(`--output ${e.output}`),e.mode&&i.push(`--mode ${e.mode}`),e.domain&&i.push(`--domain ${e.domain}`),e.timeout&&i.push(`--timeout ${e.timeout}`);try{let s;if(yn())try{if(s=X3(i[0],i.slice(1),{encoding:"utf-8"}),s.status===0||s.stderr&&!s.stdout)throw new Error(`Azure Auth failed with exit code ${s.status}: ${s.stderr}`)}catch(o){throw new Error(`Failed to get Ado Pat from system AzureAuth: ${o.message}`)}else try{if(s=await ka(i.join(" "),{env:n}),s.stderr&&!s.stdout)throw new Error(s.stderr)}catch(o){throw new Error(`Failed to get Ado Pat from npx AzureAuth: ${o.message}`)}if(e.output==="json")try{return JSON.parse(s.stdout)}catch{throw new Error(`Failed to parse JSON output: ${s.stdout}`)}return s.stdout}catch(s){throw await Zw()?new Error(s.message):new Error(`AzureAuth is not installed: ${s}`)}};var X8=async(e,t=!1,r)=>{let n=`${Q3()}-${e}`,s=(await eC({promptHint:`${n} .npmrc PAT`,organization:e,displayName:`${n}-npmrc-pat`,scope:["vso.packaging"],timeout:"30",output:"json"},r)).token;return t?Tr(s):s};export{ti as FileProvider,Kw as NpmrcFileProvider,pE as YarnRcFileProvider,lv as defaultEmail,cv as defaultUser,X8 as generateNpmrcPat};
119
+ `}function BA(e){return e[e.length-1]===`
120
+ `?e.slice(0,-1):e}function XB(e,t){for(var r=/(\n+)([^\n]*)/g,n=function(){var u=e.indexOf(`
121
+ `);return u=u!==-1?u:e.length,r.lastIndex=u,MA(e.slice(0,u),t)}(),i=e[0]===`
122
+ `||e[0]===" ",s,o;o=r.exec(e);){var a=o[1],c=o[2];s=c[0]===" ",n+=a+(!i&&!s&&c!==""?`
123
+ `:"")+MA(c,t),i=s}return n}function MA(e,t){if(e===""||e[0]===" ")return e;for(var r=/ [^ ]/g,n,i=0,s,o=0,a=0,c="";n=r.exec(e);)a=n.index,a-i>t&&(s=o>i?o:a,c+=`
124
+ `+e.slice(i,s),i=s+1),o=a;return c+=`
125
+ `,e.length-i>t&&o>i?c+=e.slice(i,o)+`
126
+ `+e.slice(o+1):c+=e.slice(i),c.slice(1)}function JB(e){for(var t="",r=0,n,i=0;i<e.length;r>=65536?i+=2:i++)r=ws(e,i),n=nt[r],!n&&xs(r)?(t+=e[i],r>=65536&&(t+=e[i+1])):t+=n||GB(r);return t}function QB(e,t,r){var n="",i=e.tag,s,o,a;for(s=0,o=r.length;s<o;s+=1)a=r[s],e.replacer&&(a=e.replacer.call(r,String(s),a)),(_r(e,t,a,!1,!1)||typeof a>"u"&&_r(e,t,null,!1,!1))&&(n!==""&&(n+=","+(e.condenseFlow?"":" ")),n+=e.dump);e.tag=i,e.dump="["+n+"]"}function jA(e,t,r,n){var i="",s=e.tag,o,a,c;for(o=0,a=r.length;o<a;o+=1)c=r[o],e.replacer&&(c=e.replacer.call(r,String(o),c)),(_r(e,t+1,c,!0,!0,!1,!0)||typeof c>"u"&&_r(e,t+1,null,!0,!0,!1,!0))&&((!n||i!=="")&&(i+=Ph(e,t)),e.dump&&bs===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump);e.tag=s,e.dump=i||"[]"}function ZB(e,t,r){var n="",i=e.tag,s=Object.keys(r),o,a,c,u,f;for(o=0,a=s.length;o<a;o+=1)f="",n!==""&&(f+=", "),e.condenseFlow&&(f+='"'),c=s[o],u=r[c],e.replacer&&(u=e.replacer.call(r,c,u)),_r(e,t,c,!1,!1)&&(e.dump.length>1024&&(f+="? "),f+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),_r(e,t,u,!1,!1)&&(f+=e.dump,n+=f));e.tag=i,e.dump="{"+n+"}"}function eM(e,t,r,n){var i="",s=e.tag,o=Object.keys(r),a,c,u,f,l,h;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys=="function")o.sort(e.sortKeys);else if(e.sortKeys)throw new ht("sortKeys must be a boolean or a function");for(a=0,c=o.length;a<c;a+=1)h="",(!n||i!=="")&&(h+=Ph(e,t)),u=o[a],f=r[u],e.replacer&&(f=e.replacer.call(r,u,f)),_r(e,t+1,u,!0,!0,!0)&&(l=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,l&&(e.dump&&bs===e.dump.charCodeAt(0)?h+="?":h+="? "),h+=e.dump,l&&(h+=Ph(e,t)),_r(e,t+1,f,!0,l)&&(e.dump&&bs===e.dump.charCodeAt(0)?h+=":":h+=": ",h+=e.dump,i+=h));e.tag=s,e.dump=i||"{}"}function qA(e,t,r){var n,i,s,o,a,c;for(i=r?e.explicitTypes:e.implicitTypes,s=0,o=i.length;s<o;s+=1)if(a=i[s],(a.instanceOf||a.predicate)&&(!a.instanceOf||typeof t=="object"&&t instanceof a.instanceOf)&&(!a.predicate||a.predicate(t))){if(r?a.multi&&a.representName?e.tag=a.representName(t):e.tag=a.tag:e.tag="?",a.represent){if(c=e.styleMap[a.tag]||a.defaultStyle,vw.call(a.represent)==="[object Function]")n=a.represent(t,c);else if(Ew.call(a.represent,c))n=a.represent[c](t,c);else throw new ht("!<"+a.tag+'> tag resolver accepts not "'+c+'" style');e.dump=n}return!0}return!1}function _r(e,t,r,n,i,s,o){e.tag=null,e.dump=r,qA(e,r,!1)||qA(e,r,!0);var a=vw.call(e.dump),c=n,u;n&&(n=e.flowLevel<0||e.flowLevel>t);var f=a==="[object Object]"||a==="[object Array]",l,h;if(f&&(l=e.duplicates.indexOf(r),h=l!==-1),(e.tag!==null&&e.tag!=="?"||h||e.indent!==2&&t>0)&&(i=!1),h&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(f&&h&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),a==="[object Object]")n&&Object.keys(e.dump).length!==0?(eM(e,t,e.dump,i),h&&(e.dump="&ref_"+l+e.dump)):(ZB(e,t,e.dump),h&&(e.dump="&ref_"+l+" "+e.dump));else if(a==="[object Array]")n&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?jA(e,t-1,e.dump,i):jA(e,t,e.dump,i),h&&(e.dump="&ref_"+l+e.dump)):(QB(e,t,e.dump),h&&(e.dump="&ref_"+l+" "+e.dump));else if(a==="[object String]")e.tag!=="?"&&KB(e,e.dump,t,s,c);else{if(a==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new ht("unacceptable kind of an object to dump "+a)}e.tag!==null&&e.tag!=="?"&&(u=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?u="!"+u:u.slice(0,18)==="tag:yaml.org,2002:"?u="!!"+u.slice(18):u="!<"+u+">",e.dump=u+" "+e.dump)}return!0}function tM(e,t){var r=[],n=[],i,s;for(Dh(e,r,n),i=0,s=n.length;i<s;i+=1)t.duplicates.push(r[n[i]]);t.usedDuplicates=new Array(s)}function Dh(e,t,r){var n,i,s;if(e!==null&&typeof e=="object")if(i=t.indexOf(e),i!==-1)r.indexOf(i)===-1&&r.push(i);else if(t.push(e),Array.isArray(e))for(i=0,s=e.length;i<s;i+=1)Dh(e[i],t,r);else for(n=Object.keys(e),i=0,s=n.length;i<s;i+=1)Dh(e[n[i]],t,r)}function rM(e,t){t=t||{};var r=new HB(t);r.noRefs||tM(e,r);var n=e;return r.replacer&&(n=r.replacer.call({"":n},"",n)),_r(r,0,n,!0,!0)?r.dump+`
127
+ `:""}var nM=rM,iM={dump:nM};function Ih(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}var sM=Je,oM=HA,aM=VA,uM=ZA,cM=ew,lM=Lh,fM=yw.load,hM=yw.loadAll,pM=iM.dump,dM=ht,mM={binary:sw,float:QA,map:YA,null:KA,pairs:aw,set:uw,timestamp:nw,bool:XA,int:JA,merge:iw,omap:ow,seq:zA,str:WA},gM=Ih("safeLoad","load"),yM=Ih("safeLoadAll","loadAll"),vM=Ih("safeDump","dump"),EM={Type:sM,Schema:oM,FAILSAFE_SCHEMA:aM,JSON_SCHEMA:uM,CORE_SCHEMA:cM,DEFAULT_SCHEMA:lM,load:fM,loadAll:hM,dump:pM,YAMLException:dM,types:mM,safeLoad:gM,safeLoadAll:yM,safeDump:vM},$h=EM;import Bh from"node:fs/promises";var Qa=e=>{let t=new URL(e),n=t.protocol.length+2;return t.toString().slice(n)};var Rw=class extends Ci{constructor(t){super("YarnRc",".yarnrc.yml",t)}async prepUserFile(){try{let t=await this.paseYarnRc(this.userFilePath);t&&t.npmRegistryServer&&(delete t.npmRegistryServer,await this.writeYarnRc(this.userFilePath,t))}catch{await Bh.writeFile(this.userFilePath,"")}}async getUserFeeds(){let t=new Map,r=await this.paseYarnRc(this.userFilePath);if(!r)return t;let n=r.npmRegistries||{};for(var i of Object.keys(n)){let s=n[i]||{},o=i.startsWith("//")?i.substring(2):i,a={registry:o,adoOrganization:bi(o)},c=Wa(s.npmAuthIdent||""),u=c.indexOf(":");u>0&&(a.userName=c.substring(0,u),a.authToken=c.substring(u+1)),t.set(o,a)}return t}async getWorkspaceRegistries(){let t=[],r=await this.paseYarnRc(this.workspaceFilePath);if(r.npmRegistryServer&&t.push(Qa(r.npmRegistryServer)),r.npmScopes)for(var n of Object.keys(r.npmScopes)){let i=r.npmScopes[n]?.npmRegistryServer;i&&t.push(i)}return t}async writeWorkspaceRegistries(t){let r=await this.paseYarnRc(this.userFilePath)||{};r.npmRegistries||(r.npmRegistries={});for(var n of t){let i="//"+n.registry,s=r.npmRegistries[i]||{};s.npmAlwaysAuth===void 0&&(s.npmAlwaysAuth=!0),s.npmAuthIdent=tn(`${n.userName}:${n.authToken}`),r.npmRegistries[i]=s}await this.writeYarnRc(this.userFilePath,r)}async writeYarnRc(t,r){let n=$h.dump(r);await Bh.writeFile(t,n,"utf8")}async paseYarnRc(t){let r=await Bh.readFile(t,"utf8");return $h.load(r,{filename:t})}};var S_=zd(A_(),1);import yo from"node:fs/promises";import{EOL as Gd}from"node:os";import j6 from"node:path";var w_=class extends Ci{constructor(t){super("NpmRc",".npmrc",t)}async prepUserFile(){try{let r=(await yo.readFile(this.userFilePath,"utf-8")).split(Gd).filter(n=>!n.includes("registry=")).join(Gd);await yo.writeFile(this.userFilePath,r)}catch{await yo.writeFile(this.userFilePath,"")}}async getWorkspaceRegistries(){let t;try{t=new S_.default({npmPath:this.workspaceFilePath,argv:["<dummy_node>","<dummy_pnpm_js>",`--prefix=${j6.dirname(this.workspaceFilePath)}`],shorthands:{},definitions:{}}),await t.load()}catch(i){throw i instanceof TypeError&&i.message.includes("Invalid URL")?new Error("Registry URL missing or invalid"):new Error("Error loading .npmrc")}return Object.keys((t.data?.get("project")||{}).data||{}).filter(i=>i.includes("registry")).map(i=>t.get(i,"project")).map(i=>Qa(i))}async getUserFeeds(){let t=new Map;return await this.processNpmRcFile(this.userFilePath,(r,n,i,s)=>{let o=t.get(n);switch(o||(o={registry:n,adoOrganization:bi(n)},t.set(o.registry,o)),i){case"_password":o.authToken=Wa(s).trim();break;case"username":o.userName=s;break;case"email":o.email=s;break}}),t}async patchUserNpmRcFile(t){let r=new Set(t.values()),n=await this.processNpmRcFile(this.userFilePath,(i,s,o,a)=>{let c=t.get(this.toRegistryAndFunctionKey(s,o));return c!==void 0?(r.delete(c),c):i},i=>i);for(let i of r)n.push(i);return n}toRegistryAndFunctionKey(t,r){return`//${t}:${r}=`}async writeWorkspaceRegistries(t){let r=new Map;for(var n of t)r.set(this.toRegistryAndFunctionKey(n.registry,"username"),`//${n.registry}:username=${n.userName||xA}`),r.set(this.toRegistryAndFunctionKey(n.registry,"email"),`//${n.registry}:email=${n.email||OA}`),r.set(this.toRegistryAndFunctionKey(n.registry,"_password"),`//${n.registry}:_password=${tn(n.authToken)}`);let i=await this.patchUserNpmRcFile(r);await yo.writeFile(this.userFilePath,i.join(Gd),{encoding:"utf-8"})}async processNpmRcFile(t,r,n){let s=(await yo.readFile(t,{encoding:"utf8"})).split(`
128
+ `).map(a=>a.trim()),o=[];for(let a of s){let c=a.indexOf("/:");if(a.startsWith("//")&&c>=2){let u=a.substring(2,c+1),f=a.substring(c+2),l=f.substring(0,f.indexOf("=")),h=f.substring(f.indexOf("=")+1),p=r(a,u,l,h);p&&o.push(p)}else if(n){let u=n(a);u&&o.push(u)}}return o}};import{hostname as J6}from"os";import{arch as V6,platform as K6}from"os";import{exec as q6}from"node:child_process";import{promisify as G6}from"node:util";var cc=G6(q6);import{arch as W6,platform as b_}from"os";import{release as U6,platform as H6}from"os";var jn=()=>H6()==="linux"&&U6().toLowerCase().includes("wsl");var C_=()=>{let e={win32:["x64"],darwin:["x64","arm64"]};return jn()||e[b_()]&&e[b_()].includes(W6())};var Ud;var z6=["npm","exec","--silent","--yes","azureauth","--"],Y6={...process.env,npm_config_registry:"https://registry.npmjs.org"},lc=()=>(Ud||(Ud=jn()?["azureauth.exe"]:z6),{command:Ud,env:Y6});import{spawnSync as X6}from"child_process";var fc;var x_=async()=>{if(fc===void 0){let{command:e,env:t}=lc(),r=`${e.join(" ")} --version`;try{let n=await cc(r,{env:t}),[,i]=n.stdout.split(".");fc=parseInt(i)>=8}catch{fc=!1}}return fc};var O_=async(e,t)=>{if(!C_())throw new Error(`AzureAuth is not supported for platform ${K6()} and architecture ${V6()}`);let{command:r,env:n}=t?{command:[t],env:process.env}:lc(),i=[...r,"ado","pat",`--prompt-hint ${jn()?e.promptHint:`"${e.promptHint}"`}`,`--organization ${e.organization}`,`--display-name ${e.displayName}`,...e.scope.map(s=>`--scope ${s}`)];e.output&&i.push(`--output ${e.output}`),e.mode&&i.push(`--mode ${e.mode}`),e.domain&&i.push(`--domain ${e.domain}`),e.timeout&&i.push(`--timeout ${e.timeout}`);try{let s;if(jn())try{if(s=X6(i[0],i.slice(1),{encoding:"utf-8"}),s.status===0||s.stderr&&!s.stdout)throw new Error(`Azure Auth failed with exit code ${s.status}: ${s.stderr}`)}catch(o){throw new Error(`Failed to get Ado Pat from system AzureAuth: ${o.message}`)}else try{if(s=await cc(i.join(" "),{env:n}),s.stderr&&!s.stdout)throw new Error(s.stderr)}catch(o){throw new Error(`Failed to get Ado Pat from npx AzureAuth: ${o.message}`)}if(e.output==="json")try{return JSON.parse(s.stdout)}catch{throw new Error(`Failed to parse JSON output: ${s.stdout}`)}return s.stdout}catch(s){throw await x_()?new Error(s.message):new Error(`AzureAuth is not installed: ${s}`)}};var VV=async(e,t=!1,r)=>{let n=`${J6()}-${e}`,s=(await O_({promptHint:`${n} .npmrc PAT`,organization:e,displayName:`${n}-npmrc-pat`,scope:["vso.packaging"],timeout:"30",output:"json"},r)).token;return t?tn(s):s};export{Ci as FileProvider,w_ as NpmrcFileProvider,Rw as YarnRcFileProvider,OA as defaultEmail,xA as defaultUser,VV as generateNpmrcPat};
126
129
  /*! Bundled license information:
127
130
 
128
131
  is-extglob/index.js:
@@ -185,4 +188,3 @@ git-url-parse/lib/index.js:
185
188
  js-yaml/dist/js-yaml.mjs:
186
189
  (*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT *)
187
190
  */
188
- //# sourceMappingURL=index.js.map