UNPKG

@stencil/core

Version:

A Compiler for Web Components and Progressive Web Apps

14 lines • 194 kB
/*! Stencil Node System v4.43.3 | MIT Licensed | https://stenciljs.com */ "use strict";var ko=Object.create;var pn=Object.defineProperty;var Po=Object.getOwnPropertyDescriptor;var Io=Object.getOwnPropertyNames;var Mo=Object.getPrototypeOf,Fo=Object.prototype.hasOwnProperty;var Gr=r=>{throw TypeError(r)};var Ho=(r,e,t)=>e in r?pn(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var Ee=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),Vr=(r,e)=>{for(var t in e)pn(r,t,{get:e[t],enumerable:!0})},Jr=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Io(e))!Fo.call(r,s)&&s!==t&&pn(r,s,{get:()=>e[s],enumerable:!(n=Po(e,s))||n.enumerable});return r};var xe=(r,e,t)=>(t=r!=null?ko(Mo(r)):{},Jr(e||!r||!r.__esModule?pn(t,"default",{value:r,enumerable:!0}):t,r)),Bo=r=>Jr(pn({},"__esModule",{value:!0}),r);var Te=(r,e,t)=>Ho(r,typeof e!="symbol"?e+"":e,t),er=(r,e,t)=>e.has(r)||Gr("Cannot "+t);var B=(r,e,t)=>(er(r,e,"read from private field"),t?t.call(r):e.get(r)),Fe=(r,e,t)=>e.has(r)?Gr("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,t),de=(r,e,t,n)=>(er(r,e,"write to private field"),n?n.call(r,t):e.set(r,t),t),le=(r,e,t)=>(er(r,e,"access private method"),t);var Zr=Ee((Fu,hn)=>{"use strict";var jo=typeof process<"u"&&process.env.TERM_PROGRAM==="Hyper",Uo=typeof process<"u"&&process.platform==="win32",Kr=typeof process<"u"&&process.platform==="linux",tr={ballotDisabled:"\u2612",ballotOff:"\u2610",ballotOn:"\u2611",bullet:"\u2022",bulletWhite:"\u25E6",fullBlock:"\u2588",heart:"\u2764",identicalTo:"\u2261",line:"\u2500",mark:"\u203B",middot:"\xB7",minus:"\uFF0D",multiplication:"\xD7",obelus:"\xF7",pencilDownRight:"\u270E",pencilRight:"\u270F",pencilUpRight:"\u2710",percent:"%",pilcrow2:"\u2761",pilcrow:"\xB6",plusMinus:"\xB1",question:"?",section:"\xA7",starsOff:"\u2606",starsOn:"\u2605",upDownArrow:"\u2195"},Yr=Object.assign({},tr,{check:"\u221A",cross:"\xD7",ellipsisLarge:"...",ellipsis:"...",info:"i",questionSmall:"?",pointer:">",pointerSmall:"\xBB",radioOff:"( )",radioOn:"(*)",warning:"\u203C"}),Qr=Object.assign({},tr,{ballotCross:"\u2718",check:"\u2714",cross:"\u2716",ellipsisLarge:"\u22EF",ellipsis:"\u2026",info:"\u2139",questionFull:"\uFF1F",questionSmall:"\uFE56",pointer:Kr?"\u25B8":"\u276F",pointerSmall:Kr?"\u2023":"\u203A",radioOff:"\u25EF",radioOn:"\u25C9",warning:"\u26A0"});hn.exports=Uo&&!jo?Yr:Qr;Reflect.defineProperty(hn.exports,"common",{enumerable:!1,value:tr});Reflect.defineProperty(hn.exports,"windows",{enumerable:!1,value:Yr});Reflect.defineProperty(hn.exports,"other",{enumerable:!1,value:Qr})});var _r=Ee((Hu,nr)=>{"use strict";var zo=r=>r!==null&&typeof r=="object"&&!Array.isArray(r),Wo=/[\u001b\u009b][[\]#;?()]*(?:(?:(?:[^\W_]*;?[^\W_]*)\u0007)|(?:(?:[0-9]{1,4}(;[0-9]{0,4})*)?[~0-9=<>cf-nqrtyA-PRZ]))/g,Xo=()=>typeof process<"u"?process.env.FORCE_COLOR!=="0":!1,qr=()=>{let r={enabled:Xo(),visible:!0,styles:{},keys:{}},e=i=>{let o=i.open=`\x1B[${i.codes[0]}m`,a=i.close=`\x1B[${i.codes[1]}m`,u=i.regex=new RegExp(`\\u001b\\[${i.codes[1]}m`,"g");return i.wrap=(c,f)=>{c.includes(a)&&(c=c.replace(u,a+o));let p=o+c+a;return f?p.replace(/\r*\n/g,`${a}$&${o}`):p},i},t=(i,o,a)=>typeof i=="function"?i(o):i.wrap(o,a),n=(i,o)=>{if(i===""||i==null)return"";if(r.enabled===!1)return i;if(r.visible===!1)return"";let a=""+i,u=a.includes(` `),c=o.length;for(c>0&&o.includes("unstyle")&&(o=[...new Set(["unstyle",...o])].reverse());c-- >0;)a=t(r.styles[o[c]],a,u);return a},s=(i,o,a)=>{r.styles[i]=e({name:i,codes:o}),(r.keys[a]||(r.keys[a]=[])).push(i),Reflect.defineProperty(r,i,{configurable:!0,enumerable:!0,set(c){r.alias(i,c)},get(){let c=f=>n(f,c.stack);return Reflect.setPrototypeOf(c,r),c.stack=this.stack?this.stack.concat(i):[i],c}})};return s("reset",[0,0],"modifier"),s("bold",[1,22],"modifier"),s("dim",[2,22],"modifier"),s("italic",[3,23],"modifier"),s("underline",[4,24],"modifier"),s("inverse",[7,27],"modifier"),s("hidden",[8,28],"modifier"),s("strikethrough",[9,29],"modifier"),s("black",[30,39],"color"),s("red",[31,39],"color"),s("green",[32,39],"color"),s("yellow",[33,39],"color"),s("blue",[34,39],"color"),s("magenta",[35,39],"color"),s("cyan",[36,39],"color"),s("white",[37,39],"color"),s("gray",[90,39],"color"),s("grey",[90,39],"color"),s("bgBlack",[40,49],"bg"),s("bgRed",[41,49],"bg"),s("bgGreen",[42,49],"bg"),s("bgYellow",[43,49],"bg"),s("bgBlue",[44,49],"bg"),s("bgMagenta",[45,49],"bg"),s("bgCyan",[46,49],"bg"),s("bgWhite",[47,49],"bg"),s("blackBright",[90,39],"bright"),s("redBright",[91,39],"bright"),s("greenBright",[92,39],"bright"),s("yellowBright",[93,39],"bright"),s("blueBright",[94,39],"bright"),s("magentaBright",[95,39],"bright"),s("cyanBright",[96,39],"bright"),s("whiteBright",[97,39],"bright"),s("bgBlackBright",[100,49],"bgBright"),s("bgRedBright",[101,49],"bgBright"),s("bgGreenBright",[102,49],"bgBright"),s("bgYellowBright",[103,49],"bgBright"),s("bgBlueBright",[104,49],"bgBright"),s("bgMagentaBright",[105,49],"bgBright"),s("bgCyanBright",[106,49],"bgBright"),s("bgWhiteBright",[107,49],"bgBright"),r.ansiRegex=Wo,r.hasColor=r.hasAnsi=i=>(r.ansiRegex.lastIndex=0,typeof i=="string"&&i!==""&&r.ansiRegex.test(i)),r.alias=(i,o)=>{let a=typeof o=="string"?r[o]:o;if(typeof a!="function")throw new TypeError("Expected alias to be the name of an existing color (string) or a function");a.stack||(Reflect.defineProperty(a,"name",{value:i}),r.styles[i]=a,a.stack=[i]),Reflect.defineProperty(r,i,{configurable:!0,enumerable:!0,set(u){r.alias(i,u)},get(){let u=c=>n(c,u.stack);return Reflect.setPrototypeOf(u,r),u.stack=this.stack?this.stack.concat(a.stack):a.stack,u}})},r.theme=i=>{if(!zo(i))throw new TypeError("Expected theme to be an object");for(let o of Object.keys(i))r.alias(o,i[o]);return r},r.alias("unstyle",i=>typeof i=="string"&&i!==""?(r.ansiRegex.lastIndex=0,i.replace(r.ansiRegex,"")):""),r.alias("noop",i=>i),r.none=r.clear=r.noop,r.stripColor=r.unstyle,r.symbols=Zr(),r.define=s,r};nr.exports=qr();nr.exports.create=qr});var hs=Ee((Ld,ps)=>{"use strict";ps.exports=ds;function ds(r,e,t){r instanceof RegExp&&(r=us(r,t)),e instanceof RegExp&&(e=us(e,t));var n=fs(r,e,t);return n&&{start:n[0],end:n[1],pre:t.slice(0,n[0]),body:t.slice(n[0]+r.length,n[1]),post:t.slice(n[1]+e.length)}}function us(r,e){var t=e.match(r);return t?t[0]:null}ds.range=fs;function fs(r,e,t){var n,s,i,o,a,u=t.indexOf(r),c=t.indexOf(e,u+1),f=u;if(u>=0&&c>0){if(r===e)return[u,c];for(n=[],i=t.length;f>=0&&!a;)f==u?(n.push(f),u=t.indexOf(r,f+1)):n.length==1?a=[n.pop(),c]:(s=n.pop(),s<i&&(i=s,o=c),c=t.indexOf(e,f+1)),f=u<c&&u>=0?u:c;n.length&&(a=[i,o])}return a}});var $s=Ee((Rd,Ss)=>{var ms=hs();Ss.exports=fa;var gs="\0SLASH"+Math.random()+"\0",ys="\0OPEN"+Math.random()+"\0",cr="\0CLOSE"+Math.random()+"\0",vs="\0COMMA"+Math.random()+"\0",bs="\0PERIOD"+Math.random()+"\0";function lr(r){return parseInt(r,10)==r?parseInt(r,10):r.charCodeAt(0)}function ua(r){return r.split("\\\\").join(gs).split("\\{").join(ys).split("\\}").join(cr).split("\\,").join(vs).split("\\.").join(bs)}function da(r){return r.split(gs).join("\\").split(ys).join("{").split(cr).join("}").split(vs).join(",").split(bs).join(".")}function Es(r){if(!r)return[""];var e=[],t=ms("{","}",r);if(!t)return r.split(",");var n=t.pre,s=t.body,i=t.post,o=n.split(",");o[o.length-1]+="{"+s+"}";var a=Es(i);return i.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function fa(r){return r?(r.substr(0,2)==="{}"&&(r="\\{\\}"+r.substr(2)),gn(ua(r),!0).map(da)):[]}function pa(r){return"{"+r+"}"}function ha(r){return/^-?0\d/.test(r)}function ma(r,e){return r<=e}function ga(r,e){return r>=e}function gn(r,e){var t=[],n=ms("{","}",r);if(!n)return[r];var s=n.pre,i=n.post.length?gn(n.post,!1):[""];if(/\$$/.test(n.pre))for(var o=0;o<i.length;o++){var a=s+"{"+n.body+"}"+i[o];t.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,p=n.body.indexOf(",")>=0;if(!f&&!p)return n.post.match(/,(?!,).*\}/)?(r=n.pre+"{"+n.body+cr+n.post,gn(r)):[r];var b;if(f)b=n.body.split(/\.\./);else if(b=Es(n.body),b.length===1&&(b=gn(b[0],!1).map(pa),b.length===1))return i.map(function(A){return n.pre+b[0]+A});var $;if(f){var h=lr(b[0]),T=lr(b[1]),x=Math.max(b[0].length,b[1].length),k=b.length==3?Math.abs(lr(b[2])):1,C=ma,I=T<h;I&&(k*=-1,C=ga);var R=b.some(ha);$=[];for(var g=h;C(g,T);g+=k){var S;if(c)S=String.fromCharCode(g),S==="\\"&&(S="");else if(S=String(g),R){var L=x-S.length;if(L>0){var D=new Array(L+1).join("0");g<0?S="-"+D+S.slice(1):S=D+S}}$.push(S)}}else{$=[];for(var P=0;P<b.length;P++)$.push.apply($,gn(b[P],!1))}for(var P=0;P<$.length;P++)for(var o=0;o<i.length;o++){var a=s+$[P]+i[o];(!e||f||a)&&t.push(a)}}return t}});var ii=Ee((bb,si)=>{si.exports=(function(r){var e={};function t(n){if(e[n])return e[n].exports;var s=e[n]={i:n,l:!1,exports:{}};return r[n].call(s.exports,s,s.exports,t),s.l=!0,s.exports}return t.m=r,t.c=e,t.i=function(n){return n},t.d=function(n,s,i){t.o(n,s)||Object.defineProperty(n,s,{configurable:!1,enumerable:!0,get:i})},t.n=function(n){var s=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(s,"a",s),s},t.o=function(n,s){return Object.prototype.hasOwnProperty.call(n,s)},t.p="",t(t.s=14)})([(function(r,e){r.exports=require("path")}),(function(r,e,t){"use strict";e.__esModule=!0;var n=t(173),s=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.default=function(o){return function(){var a=o.apply(this,arguments);return new s.default(function(u,c){function f(p,b){try{var $=a[p](b),h=$.value}catch(T){c(T);return}if($.done)u(h);else return s.default.resolve(h).then(function(T){f("next",T)},function(T){f("throw",T)})}return f("next")})}}}),(function(r,e){r.exports=require("util")}),(function(r,e){r.exports=require("fs")}),(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class n extends Error{constructor(c,f){super(c),this.code=f}}e.MessageError=n;class s extends n{constructor(c,f,p){super(c,f),this.process=p}}e.ProcessSpawnError=s;class i extends n{}e.SecurityError=i;class o extends n{}e.ProcessTermError=o;class a extends Error{constructor(c,f){super(c),this.responseCode=f}}e.ResponseError=a}),(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getFirstSuitableFolder=e.readFirstAvailableStream=e.makeTempDir=e.hardlinksWork=e.writeFilePreservingEol=e.getFileSizeOnDisk=e.walk=e.symlink=e.find=e.readJsonAndFile=e.readJson=e.readFileAny=e.hardlinkBulk=e.copyBulk=e.unlink=e.glob=e.link=e.chmod=e.lstat=e.exists=e.mkdirp=e.stat=e.access=e.rename=e.readdir=e.realpath=e.readlink=e.writeFile=e.open=e.readFileBuffer=e.lockQueue=e.constants=void 0;var n;function s(){return n=F(t(1))}let i=(()=>{var Y=(0,(n||s()).default)(function*(V,z,U,G){let re=(()=>{var ue=(0,(n||s()).default)(function*(Ie){let be=Ie.src,se=Ie.dest,fn=Ie.type,et=Ie.onFresh||ot,Le=Ie.onDone||ot;if(fe.has(se.toLowerCase())?G.verbose(`The case-insensitive file ${se} shouldn't be copied twice in one bulk copy`):fe.add(se.toLowerCase()),fn==="symlink"){yield Ae((l||d()).default.dirname(se)),et(),ze.symlink.push({dest:se,linkname:be}),Le();return}if(z.ignoreBasenames.indexOf((l||d()).default.basename(be))>=0)return;let Re=yield we(be),Lt;Re.isDirectory()&&(Lt=yield Pe(be));let Ye;try{Ye=yield we(se)}catch(Ve){if(Ve.code!=="ENOENT")throw Ve}if(Ye){let Ve=Re.isSymbolicLink()&&Ye.isSymbolicLink(),Rt=Re.isDirectory()&&Ye.isDirectory(),vt=Re.isFile()&&Ye.isFile();if(vt&&ve.has(se)){Le(),G.verbose(G.lang("verboseFileSkipArtifact",be));return}if(vt&&Re.size===Ye.size&&(0,(W||Z()).fileDatesEqual)(Re.mtime,Ye.mtime)){Le(),G.verbose(G.lang("verboseFileSkip",be,se,Re.size,+Re.mtime));return}if(Ve){let Me=yield pe(be);if(Me===(yield pe(se))){Le(),G.verbose(G.lang("verboseFileSkipSymlink",be,se,Me));return}}if(Rt){let Me=yield Pe(se);Zt(Lt,"src files not initialised");for(var mt=Me,kt=Array.isArray(mt),tt=0,mt=kt?mt:mt[Symbol.iterator]();;){var _t;if(kt){if(tt>=mt.length)break;_t=mt[tt++]}else{if(tt=mt.next(),tt.done)break;_t=tt.value}let Mt=_t;if(Lt.indexOf(Mt)<0){let At=(l||d()).default.join(se,Mt);if(U.add(At),(yield we(At)).isDirectory())for(var gt=yield Pe(At),Pt=Array.isArray(gt),nt=0,gt=Pt?gt:gt[Symbol.iterator]();;){var en;if(Pt){if(nt>=gt.length)break;en=gt[nt++]}else{if(nt=gt.next(),nt.done)break;en=nt.value}let _n=en;U.add((l||d()).default.join(At,_n))}}}}}if(Ye&&Ye.isSymbolicLink()&&(yield(0,(W||Z()).unlink)(se),Ye=null),Re.isSymbolicLink()){et();let Ve=yield pe(be);ze.symlink.push({dest:se,linkname:Ve}),Le()}else if(Re.isDirectory()){Ye||(G.verbose(G.lang("verboseFileFolder",se)),yield Ae(se));let Ve=se.split((l||d()).default.sep);for(;Ve.length;)fe.add(Ve.join((l||d()).default.sep).toLowerCase()),Ve.pop();Zt(Lt,"src files not initialised");let Rt=Lt.length;Rt||Le();for(var yt=Lt,It=Array.isArray(yt),rt=0,yt=It?yt:yt[Symbol.iterator]();;){var Ge;if(It){if(rt>=yt.length)break;Ge=yt[rt++]}else{if(rt=yt.next(),rt.done)break;Ge=rt.value}let vt=Ge;V.push({dest:(l||d()).default.join(se,vt),onFresh:et,onDone:(function(Me){function Mt(){return Me.apply(this,arguments)}return Mt.toString=function(){return Me.toString()},Mt})(function(){--Rt===0&&Le()}),src:(l||d()).default.join(be,vt)})}}else if(Re.isFile())et(),ze.file.push({src:be,dest:se,atime:Re.atime,mtime:Re.mtime,mode:Re.mode}),Le();else throw new Error(`unsure how to copy this: ${be}`)});return function(be){return ue.apply(this,arguments)}})(),ve=new Set(z.artifactFiles||[]),fe=new Set;for(var ae=V,he=Array.isArray(ae),oe=0,ae=he?ae:ae[Symbol.iterator]();;){var _e;if(he){if(oe>=ae.length)break;_e=ae[oe++]}else{if(oe=ae.next(),oe.done)break;_e=oe.value}let ue=_e,Ie=ue.onDone;ue.onDone=function(){z.onProgress(ue.dest),Ie&&Ie()}}z.onStart(V.length);let ze={file:[],symlink:[],link:[]};for(;V.length;){let ue=V.splice(0,zt);yield Promise.all(ue.map(re))}for(var We=ve,wt=Array.isArray(We),pt=0,We=wt?We:We[Symbol.iterator]();;){var Wt;if(wt){if(pt>=We.length)break;Wt=We[pt++]}else{if(pt=We.next(),pt.done)break;Wt=pt.value}let ue=Wt;U.has(ue)&&(G.verbose(G.lang("verboseFilePhantomExtraneous",ue)),U.delete(ue))}for(var Xe=U,dn=Array.isArray(Xe),ht=0,Xe=dn?Xe:Xe[Symbol.iterator]();;){var Xt;if(dn){if(ht>=Xe.length)break;Xt=Xe[ht++]}else{if(ht=Xe.next(),ht.done)break;Xt=ht.value}let ue=Xt;fe.has(ue.toLowerCase())&&U.delete(ue)}return ze});return function(z,U,G,re){return Y.apply(this,arguments)}})(),o=(()=>{var Y=(0,(n||s()).default)(function*(V,z,U,G){let re=(()=>{var ue=(0,(n||s()).default)(function*(Ie){let be=Ie.src,se=Ie.dest,fn=Ie.onFresh||ot,et=Ie.onDone||ot;if(fe.has(se.toLowerCase())){et();return}if(fe.add(se.toLowerCase()),z.ignoreBasenames.indexOf((l||d()).default.basename(be))>=0)return;let Le=yield we(be),Re;Le.isDirectory()&&(Re=yield Pe(be));let Lt=yield ft(se);if(Lt){let Ge=yield we(se),Ve=Le.isSymbolicLink()&&Ge.isSymbolicLink(),Rt=Le.isDirectory()&&Ge.isDirectory(),vt=Le.isFile()&&Ge.isFile();if(Le.mode!==Ge.mode)try{yield De(se,Le.mode)}catch(Me){G.verbose(Me)}if(vt&&ve.has(se)){et(),G.verbose(G.lang("verboseFileSkipArtifact",be));return}if(vt&&Le.ino!==null&&Le.ino===Ge.ino){et(),G.verbose(G.lang("verboseFileSkip",be,se,Le.ino));return}if(Ve){let Me=yield pe(be);if(Me===(yield pe(se))){et(),G.verbose(G.lang("verboseFileSkipSymlink",be,se,Me));return}}if(Rt){let Me=yield Pe(se);Zt(Re,"src files not initialised");for(var tt=Me,Ye=Array.isArray(tt),kt=0,tt=Ye?tt:tt[Symbol.iterator]();;){var mt;if(Ye){if(kt>=tt.length)break;mt=tt[kt++]}else{if(kt=tt.next(),kt.done)break;mt=kt.value}let Mt=mt;if(Re.indexOf(Mt)<0){let At=(l||d()).default.join(se,Mt);if(U.add(At),(yield we(At)).isDirectory())for(var nt=yield Pe(At),_t=Array.isArray(nt),Pt=0,nt=_t?nt:nt[Symbol.iterator]();;){var gt;if(_t){if(Pt>=nt.length)break;gt=nt[Pt++]}else{if(Pt=nt.next(),Pt.done)break;gt=Pt.value}let _n=gt;U.add((l||d()).default.join(At,_n))}}}}}if(Le.isSymbolicLink()){fn();let Ge=yield pe(be);ze.symlink.push({dest:se,linkname:Ge}),et()}else if(Le.isDirectory()){G.verbose(G.lang("verboseFileFolder",se)),yield Ae(se);let Ge=se.split((l||d()).default.sep);for(;Ge.length;)fe.add(Ge.join((l||d()).default.sep).toLowerCase()),Ge.pop();Zt(Re,"src files not initialised");let Ve=Re.length;Ve||et();for(var rt=Re,en=Array.isArray(rt),It=0,rt=en?rt:rt[Symbol.iterator]();;){var yt;if(en){if(It>=rt.length)break;yt=rt[It++]}else{if(It=rt.next(),It.done)break;yt=It.value}let Rt=yt;V.push({onFresh:fn,src:(l||d()).default.join(be,Rt),dest:(l||d()).default.join(se,Rt),onDone:(function(vt){function Me(){return vt.apply(this,arguments)}return Me.toString=function(){return vt.toString()},Me})(function(){--Ve===0&&et()})})}}else if(Le.isFile())fn(),ze.link.push({src:be,dest:se,removeDest:Lt}),et();else throw new Error(`unsure how to copy this: ${be}`)});return function(be){return ue.apply(this,arguments)}})(),ve=new Set(z.artifactFiles||[]),fe=new Set;for(var ae=V,he=Array.isArray(ae),oe=0,ae=he?ae:ae[Symbol.iterator]();;){var _e;if(he){if(oe>=ae.length)break;_e=ae[oe++]}else{if(oe=ae.next(),oe.done)break;_e=oe.value}let ue=_e,Ie=ue.onDone||ot;ue.onDone=function(){z.onProgress(ue.dest),Ie()}}z.onStart(V.length);let ze={file:[],symlink:[],link:[]};for(;V.length;){let ue=V.splice(0,zt);yield Promise.all(ue.map(re))}for(var We=ve,wt=Array.isArray(We),pt=0,We=wt?We:We[Symbol.iterator]();;){var Wt;if(wt){if(pt>=We.length)break;Wt=We[pt++]}else{if(pt=We.next(),pt.done)break;Wt=pt.value}let ue=Wt;U.has(ue)&&(G.verbose(G.lang("verboseFilePhantomExtraneous",ue)),U.delete(ue))}for(var Xe=U,dn=Array.isArray(Xe),ht=0,Xe=dn?Xe:Xe[Symbol.iterator]();;){var Xt;if(dn){if(ht>=Xe.length)break;Xt=Xe[ht++]}else{if(ht=Xe.next(),ht.done)break;Xt=ht.value}let ue=Xt;fe.has(ue.toLowerCase())&&U.delete(ue)}return ze});return function(z,U,G,re){return Y.apply(this,arguments)}})(),a=e.copyBulk=(()=>{var Y=(0,(n||s()).default)(function*(V,z,U){let G={onStart:U&&U.onStart||ot,onProgress:U&&U.onProgress||ot,possibleExtraneous:U?U.possibleExtraneous:new Set,ignoreBasenames:U&&U.ignoreBasenames||[],artifactFiles:U&&U.artifactFiles||[]},re=yield i(V,G,G.possibleExtraneous,z);G.onStart(re.file.length+re.symlink.length+re.link.length);let ve=re.file,fe=new Map;yield(E||O()).queue(ve,(()=>{var oe=(0,(n||s()).default)(function*(ae){let _e;for(;_e=fe.get(ae.dest);)yield _e;z.verbose(z.lang("verboseFileCopy",ae.src,ae.dest));let ze=(0,(W||Z()).copyFile)(ae,function(){return fe.delete(ae.dest)});return fe.set(ae.dest,ze),G.onProgress(ae.dest),ze});return function(ae){return oe.apply(this,arguments)}})(),zt);let he=re.symlink;yield(E||O()).queue(he,function(oe){let ae=(l||d()).default.resolve((l||d()).default.dirname(oe.dest),oe.linkname);return z.verbose(z.lang("verboseFileSymlink",oe.dest,ae)),$(ae,oe.dest)})});return function(z,U,G){return Y.apply(this,arguments)}})(),u=e.hardlinkBulk=(()=>{var Y=(0,(n||s()).default)(function*(V,z,U){let G={onStart:U&&U.onStart||ot,onProgress:U&&U.onProgress||ot,possibleExtraneous:U?U.possibleExtraneous:new Set,artifactFiles:U&&U.artifactFiles||[],ignoreBasenames:[]},re=yield o(V,G,G.possibleExtraneous,z);G.onStart(re.file.length+re.symlink.length+re.link.length);let ve=re.link;yield(E||O()).queue(ve,(()=>{var he=(0,(n||s()).default)(function*(oe){z.verbose(z.lang("verboseFileLink",oe.src,oe.dest)),oe.removeDest&&(yield(0,(W||Z()).unlink)(oe.dest)),yield Cn(oe.src,oe.dest)});return function(oe){return he.apply(this,arguments)}})(),zt);let fe=re.symlink;yield(E||O()).queue(fe,function(he){let oe=(l||d()).default.resolve((l||d()).default.dirname(he.dest),he.linkname);return z.verbose(z.lang("verboseFileSymlink",he.dest,oe)),$(oe,he.dest)})});return function(z,U,G){return Y.apply(this,arguments)}})(),c=e.readFileAny=(()=>{var Y=(0,(n||s()).default)(function*(V){for(var G=V,z=Array.isArray(G),U=0,G=z?G:G[Symbol.iterator]();;){var re;if(z){if(U>=G.length)break;re=G[U++]}else{if(U=G.next(),U.done)break;re=U.value}let ve=re;if(yield ft(ve))return qn(ve)}return null});return function(z){return Y.apply(this,arguments)}})(),f=e.readJson=(()=>{var Y=(0,(n||s()).default)(function*(V){return(yield p(V)).object});return function(z){return Y.apply(this,arguments)}})(),p=e.readJsonAndFile=(()=>{var Y=(0,(n||s()).default)(function*(V){let z=yield qn(V);try{return{object:(0,(M||j()).default)(JSON.parse(un(z))),content:z}}catch(U){throw U.message=`${V}: ${U.message}`,U}});return function(z){return Y.apply(this,arguments)}})(),b=e.find=(()=>{var Y=(0,(n||s()).default)(function*(V,z){let U=z.split((l||d()).default.sep);for(;U.length;){let G=U.concat(V).join((l||d()).default.sep);if(yield ft(G))return G;U.pop()}return!1});return function(z,U){return Y.apply(this,arguments)}})(),$=e.symlink=(()=>{var Y=(0,(n||s()).default)(function*(V,z){try{if((yield we(z)).isSymbolicLink()&&(yield Be(z))===V)return}catch(U){if(U.code!=="ENOENT")throw U}if(yield(0,(W||Z()).unlink)(z),process.platform==="win32")yield Rn(V,z,"junction");else{let U;try{U=(l||d()).default.relative((S||L()).default.realpathSync((l||d()).default.dirname(z)),(S||L()).default.realpathSync(V))}catch(G){if(G.code!=="ENOENT")throw G;U=(l||d()).default.relative((l||d()).default.dirname(z),V)}yield Rn(U||".",z)}});return function(z,U){return Y.apply(this,arguments)}})(),h=e.walk=(()=>{var Y=(0,(n||s()).default)(function*(V,z,U=new Set){let G=[],re=yield Pe(V);U.size&&(re=re.filter(function(ae){return!U.has(ae)}));for(var he=re,ve=Array.isArray(he),fe=0,he=ve?he:he[Symbol.iterator]();;){var oe;if(ve){if(fe>=he.length)break;oe=he[fe++]}else{if(fe=he.next(),fe.done)break;oe=fe.value}let ae=oe,_e=z?(l||d()).default.join(z,ae):ae,ze=(l||d()).default.join(V,ae),wt=yield we(ze);G.push({relative:_e,basename:ae,absolute:ze,mtime:+wt.mtime}),wt.isDirectory()&&(G=G.concat(yield h(ze,_e,U)))}return G});return function(z,U){return Y.apply(this,arguments)}})(),T=e.getFileSizeOnDisk=(()=>{var Y=(0,(n||s()).default)(function*(V){let z=yield we(V),U=z.size,G=z.blksize;return Math.ceil(U/G)*G});return function(z){return Y.apply(this,arguments)}})(),x=(()=>{var Y=(0,(n||s()).default)(function*(V){if(!(yield ft(V)))return;let z=yield Q(V);for(let U=0;U<z.length;++U){if(z[U]===No)return`\r `;if(z[U]===wo)return` `}});return function(z){return Y.apply(this,arguments)}})(),k=e.writeFilePreservingEol=(()=>{var Y=(0,(n||s()).default)(function*(V,z){let U=(yield x(V))||(A||y()).default.EOL;U!==` `&&(z=z.replace(/\n/g,U)),yield ye(V,z)});return function(z,U){return Y.apply(this,arguments)}})(),C=e.hardlinksWork=(()=>{var Y=(0,(n||s()).default)(function*(V){let z="test-file"+Math.random(),U=(l||d()).default.join(V,z),G=(l||d()).default.join(V,z+"-link");try{yield ye(U,"test"),yield Cn(U,G)}catch{return!1}finally{yield(0,(W||Z()).unlink)(U),yield(0,(W||Z()).unlink)(G)}return!0});return function(z){return Y.apply(this,arguments)}})(),I=e.makeTempDir=(()=>{var Y=(0,(n||s()).default)(function*(V){let z=(l||d()).default.join((A||y()).default.tmpdir(),`yarn-${V||""}-${Date.now()}-${Math.random()}`);return yield(0,(W||Z()).unlink)(z),yield Ae(z),z});return function(z){return Y.apply(this,arguments)}})(),R=e.readFirstAvailableStream=(()=>{var Y=(0,(n||s()).default)(function*(V){for(var G=V,z=Array.isArray(G),U=0,G=z?G:G[Symbol.iterator]();;){var re;if(z){if(U>=G.length)break;re=G[U++]}else{if(U=G.next(),U.done)break;re=U.value}let ve=re;try{let fe=yield _(ve,"r");return(S||L()).default.createReadStream(ve,{fd:fe})}catch{}}return null});return function(z){return Y.apply(this,arguments)}})(),g=e.getFirstSuitableFolder=(()=>{var Y=(0,(n||s()).default)(function*(V,z=X.W_OK|X.X_OK){let U={skipped:[],folder:null};for(var ve=V,G=Array.isArray(ve),re=0,ve=G?ve:ve[Symbol.iterator]();;){var fe;if(G){if(re>=ve.length)break;fe=ve[re++]}else{if(re=ve.next(),re.done)break;fe=re.value}let he=fe;try{return yield Ae(he),yield De(he,z),U.folder=he,U}catch(oe){U.skipped.push({error:oe,folder:he})}}return U});return function(z){return Y.apply(this,arguments)}})();e.copy=An,e.readFile=qn,e.readFileRaw=Do,e.normalizeOS=Xr;var S;function L(){return S=F(t(3))}var D;function P(){return D=F(t(75))}var A;function y(){return A=F(t(36))}var l;function d(){return l=F(t(0))}var m;function v(){return m=F(t(84))}var E;function O(){return E=H(t(40))}var N;function w(){return N=t(40)}var M;function j(){return M=F(t(20))}var W;function Z(){return W=t(164)}function H(Y){if(Y&&Y.__esModule)return Y;var V={};if(Y!=null)for(var z in Y)Object.prototype.hasOwnProperty.call(Y,z)&&(V[z]=Y[z]);return V.default=Y,V}function F(Y){return Y&&Y.__esModule?Y:{default:Y}}let X=e.constants=typeof(S||L()).default.constants<"u"?(S||L()).default.constants:{R_OK:(S||L()).default.R_OK,W_OK:(S||L()).default.W_OK,X_OK:(S||L()).default.X_OK},q=e.lockQueue=new(m||v()).default("fs lock"),Q=e.readFileBuffer=(0,(N||w()).promisify)((S||L()).default.readFile),_=e.open=(0,(N||w()).promisify)((S||L()).default.open),ye=e.writeFile=(0,(N||w()).promisify)((S||L()).default.writeFile),pe=e.readlink=(0,(N||w()).promisify)((S||L()).default.readlink),Be=e.realpath=(0,(N||w()).promisify)((S||L()).default.realpath),Pe=e.readdir=(0,(N||w()).promisify)((S||L()).default.readdir),dt=e.rename=(0,(N||w()).promisify)((S||L()).default.rename),De=e.access=(0,(N||w()).promisify)((S||L()).default.access),Ne=e.stat=(0,(N||w()).promisify)((S||L()).default.stat),Ae=e.mkdirp=(0,(N||w()).promisify)(t(116)),ft=e.exists=(0,(N||w()).promisify)((S||L()).default.exists,!0),we=e.lstat=(0,(N||w()).promisify)((S||L()).default.lstat),Ct=e.chmod=(0,(N||w()).promisify)((S||L()).default.chmod),Cn=e.link=(0,(N||w()).promisify)((S||L()).default.link),Ln=e.glob=(0,(N||w()).promisify)((D||P()).default);e.unlink=(W||Z()).unlink;let zt=(S||L()).default.copyFile?128:4,Rn=(0,(N||w()).promisify)((S||L()).default.symlink),Zt=t(7),un=t(122),ot=()=>{};function An(Y,V,z){return a([{src:Y,dest:V}],z)}function qt(Y,V){return new Promise((z,U)=>{(S||L()).default.readFile(Y,V,function(G,re){G?U(G):z(re)})})}function qn(Y){return qt(Y,"utf8").then(Xr)}function Do(Y){return qt(Y,"binary")}function Xr(Y){return Y.replace(/\r\n/g,` `)}let No=13,wo=10}),(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPathKey=De;let n=t(36),s=t(0),i=t(45).default;var o=t(171);let a=o.getCacheDir,u=o.getConfigDir,c=o.getDataDir,f=t(227),p=e.DEPENDENCY_TYPES=["devDependencies","dependencies","optionalDependencies","peerDependencies"],b=e.RESOLUTIONS="resolutions",$=e.MANIFEST_FIELDS=[b,...p],h=e.SUPPORTED_NODE_VERSIONS="^4.8.0 || ^5.7.0 || ^6.2.2 || >=8.0.0",T=e.YARN_REGISTRY="https://registry.yarnpkg.com",x=e.YARN_DOCS="https://yarnpkg.com/en/docs/cli/",k=e.YARN_INSTALLER_SH="https://yarnpkg.com/install.sh",C=e.YARN_INSTALLER_MSI="https://yarnpkg.com/latest.msi",I=e.SELF_UPDATE_VERSION_URL="https://yarnpkg.com/latest-version",R=e.CACHE_VERSION=2,g=e.LOCKFILE_VERSION=1,S=e.NETWORK_CONCURRENCY=8,L=e.NETWORK_TIMEOUT=30*1e3,D=e.CHILD_CONCURRENCY=5,P=e.REQUIRED_PACKAGE_KEYS=["name","version","_uid"];function A(){let Ae=[a()];return process.getuid&&Ae.push(s.join(n.tmpdir(),`.yarn-cache-${process.getuid()}`)),Ae.push(s.join(n.tmpdir(),".yarn-cache")),Ae}let y=e.PREFERRED_MODULE_CACHE_DIRECTORIES=A(),l=e.CONFIG_DIRECTORY=u(),d=e.DATA_DIRECTORY=c(),m=e.LINK_REGISTRY_DIRECTORY=s.join(d,"link"),v=e.GLOBAL_MODULE_DIRECTORY=s.join(d,"global"),E=e.NODE_BIN_PATH=process.execPath,O=e.YARN_BIN_PATH=N();function N(){return f?__filename:s.join(__dirname,"..","bin","yarn.js")}let w=e.NODE_MODULES_FOLDER="node_modules",M=e.NODE_PACKAGE_JSON="package.json",j=e.POSIX_GLOBAL_PREFIX=`${process.env.DESTDIR||""}/usr/local`,W=e.FALLBACK_GLOBAL_PREFIX=s.join(i,".yarn"),Z=e.META_FOLDER=".yarn-meta",H=e.INTEGRITY_FILENAME=".yarn-integrity",F=e.LOCKFILE_FILENAME="yarn.lock",X=e.METADATA_FILENAME=".yarn-metadata.json",q=e.TARBALL_FILENAME=".yarn-tarball.tgz",Q=e.CLEAN_FILENAME=".yarnclean",_=e.NPM_LOCK_FILENAME="package-lock.json",ye=e.NPM_SHRINKWRAP_FILENAME="npm-shrinkwrap.json",pe=e.DEFAULT_INDENT=" ",Be=e.SINGLE_INSTANCE_PORT=31997,Pe=e.SINGLE_INSTANCE_FILENAME=".yarn-single-instance",dt=e.ENV_PATH_KEY=De(process.platform,process.env);function De(Ae,ft){let we="PATH";if(Ae==="win32"){we="Path";for(let Ct in ft)Ct.toLowerCase()==="path"&&(we=Ct)}return we}let Ne=e.VERSION_COLOR_SCHEME={major:"red",premajor:"red",minor:"yellow",preminor:"yellow",patch:"green",prepatch:"green",prerelease:"red",unchanged:"white",unknown:"red"}}),(function(r,e,t){"use strict";var n=process.env.NODE_ENV,s=function(i,o,a,u,c,f,p,b){if(n!=="production"&&o===void 0)throw new Error("invariant requires an error message argument");if(!i){var $;if(o===void 0)$=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var h=[a,u,c,f,p,b],T=0;$=new Error(o.replace(/%s/g,function(){return h[T++]})),$.name="Invariant Violation"}throw $.framesToPop=1,$}};r.exports=s}),,(function(r,e){r.exports=require("crypto")}),,(function(r,e){var t=r.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=t)}),(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sortAlpha=s,e.entries=i,e.removePrefix=o,e.removeSuffix=a,e.addSuffix=u,e.hyphenate=c,e.camelCase=f,e.compareSortedArrays=p,e.sleep=b;let n=t(176);function s($,h){let T=Math.min($.length,h.length);for(let x=0;x<T;x++){let k=$.charCodeAt(x),C=h.charCodeAt(x);if(k!==C)return k-C}return $.length-h.length}function i($){let h=[];if($)for(let T in $)h.push([T,$[T]]);return h}function o($,h){return $.startsWith(h)&&($=$.slice(h.length)),$}function a($,h){return $.endsWith(h)?$.slice(0,-h.length):$}function u($,h){return $.endsWith(h)?$:$+h}function c($){return $.replace(/[A-Z]/g,h=>"-"+h.charAt(0).toLowerCase())}function f($){return/[A-Z]/.test($)?null:n($)}function p($,h){if($.length!==h.length)return!1;for(let T=0,x=$.length;T<x;T++)if($[T]!==h[T])return!1;return!0}function b($){return new Promise(h=>{setTimeout(h,$)})}}),(function(r,e,t){var n=t(107)("wks"),s=t(111),i=t(11).Symbol,o=typeof i=="function",a=r.exports=function(u){return n[u]||(n[u]=o&&i[u]||(o?i:s)("Symbol."+u))};a.store=n}),(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n;function s(){return n=R(t(1))}var i;function o(){return i=t(81)}Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return R(i||o()).default}});var a;function u(){return a=t(150)}Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return R(a||u()).default}}),e.implodeEntry=l,e.explodeEntry=d;var c;function f(){return c=t(12)}var p;function b(){return p=t(29)}var $;function h(){return $=R(t(81))}var T;function x(){return T=t(6)}var k;function C(){return k=I(t(5))}function I(v){if(v&&v.__esModule)return v;var E={};if(v!=null)for(var O in v)Object.prototype.hasOwnProperty.call(v,O)&&(E[O]=v[O]);return E.default=v,E}function R(v){return v&&v.__esModule?v:{default:v}}let g=t(7),S=t(0),L=t(55);function D(v){return(0,(p||b()).normalizePattern)(v).name}function P(v){return v&&Object.keys(v).length?v:void 0}function A(v){return v.resolved||(v.reference&&v.hash?`${v.reference}#${v.hash}`:null)}function y(v){return v.toString().split(" ").sort().join(" ")}function l(v,E){let O=D(v),N=E.integrity?y(E.integrity):"",w={name:O===E.name?void 0:E.name,version:E.version,uid:E.uid===E.version?void 0:E.uid,resolved:E.resolved,registry:E.registry==="npm"?void 0:E.registry,dependencies:P(E.dependencies),optionalDependencies:P(E.optionalDependencies),permissions:P(E.permissions),prebuiltVariants:P(E.prebuiltVariants)};return N&&(w.integrity=N),w}function d(v,E){E.optionalDependencies=E.optionalDependencies||{},E.dependencies=E.dependencies||{},E.uid=E.uid||E.version,E.permissions=E.permissions||{},E.registry=E.registry||"npm",E.name=E.name||D(v);let O=E.integrity;return O&&O.isIntegrity&&(E.integrity=L.parse(O)),E}class m{constructor({cache:E,source:O,parseResultType:N}={}){this.source=O||"",this.cache=E,this.parseResultType=N}hasEntriesExistWithoutIntegrity(){if(!this.cache)return!1;for(let E in this.cache)if(!/^.*@(file:|http)/.test(E)&&this.cache[E]&&!this.cache[E].integrity)return!0;return!1}static fromDirectory(E,O){return(0,(n||s()).default)(function*(){let N=S.join(E,(T||x()).LOCKFILE_FILENAME),w,M="",j;return(yield(k||C()).exists(N))?(M=yield(k||C()).readFile(N),j=(0,($||h()).default)(M,N),O&&(j.type==="merge"?O.info(O.lang("lockfileMerged")):j.type==="conflict"&&O.warn(O.lang("lockfileConflict"))),w=j.object):O&&O.info(O.lang("noLockfileFound")),new m({cache:w,source:M,parseResultType:j&&j.type})})()}getLocked(E){let O=this.cache;if(!O)return;let N=E in O&&O[E];if(typeof N=="string")return this.getLocked(N);if(N)return d(E,N),N}removePattern(E){let O=this.cache;O&&delete O[E]}getLockfile(E){let O={},N=new Map,w=Object.keys(E).sort((c||f()).sortAlpha);for(var W=w,M=Array.isArray(W),j=0,W=M?W:W[Symbol.iterator]();;){var Z;if(M){if(j>=W.length)break;Z=W[j++]}else{if(j=W.next(),j.done)break;Z=j.value}let H=Z,F=E[H],X=F._remote,q=F._reference;g(q,"Package is missing a reference"),g(X,"Package is missing a remote");let Q=A(X),_=Q&&N.get(Q);if(_){O[H]=_,!_.name&&D(H)!==F.name&&(_.name=F.name);continue}let ye=l(H,{name:F.name,version:F.version,uid:F._uid,resolved:X.resolved,integrity:X.integrity,registry:X.registry,dependencies:F.dependencies,peerDependencies:F.peerDependencies,optionalDependencies:F.optionalDependencies,permissions:q.permissions,prebuiltVariants:F.prebuiltVariants});O[H]=ye,Q&&N.set(Q,ye)}return O}}e.default=m}),,,(function(r,e){r.exports=require("stream")}),,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;function n(s={}){if(Array.isArray(s))for(var a=s,i=Array.isArray(a),o=0,a=i?a:a[Symbol.iterator]();;){var u;if(i){if(o>=a.length)break;u=a[o++]}else{if(o=a.next(),o.done)break;u=o.value}n(u)}else if((s!==null&&typeof s=="object"||typeof s=="function")&&(Object.setPrototypeOf(s,null),typeof s=="object"))for(let c in s)n(s[c]);return s}}),,(function(r,e){r.exports=require("assert")}),(function(r,e){var t=r.exports={version:"2.5.7"};typeof __e=="number"&&(__e=t)}),,,,(function(r,e,t){var n=t(34);r.exports=function(s){if(!n(s))throw TypeError(s+" is not an object!");return s}}),,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizePattern=n;function n(s){let i=!1,o="latest",a=s,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?i=!0:o="*"),u&&(a=`@${a}`),{name:a,range:o,hasVersion:i}}}),,(function(r,e,t){var n=t(50),s=t(106);r.exports=t(33)?function(i,o,a){return n.f(i,o,s(1,a))}:function(i,o,a){return i[o]=a,i}}),(function(r,e,t){var n=t(63),s=n.Buffer;function i(a,u){for(var c in a)u[c]=a[c]}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?r.exports=n:(i(n,e),e.Buffer=o);function o(a,u,c){return s(a,u,c)}i(s,o),o.from=function(a,u,c){if(typeof a=="number")throw new TypeError("Argument must not be a number");return s(a,u,c)},o.alloc=function(a,u,c){if(typeof a!="number")throw new TypeError("Argument must be a number");var f=s(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 s(a)},o.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(a)}}),(function(r,e,t){r.exports=!t(85)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})}),(function(r,e){r.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}}),(function(r,e){r.exports={}}),(function(r,e){r.exports=require("os")}),,,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wait=n,e.promisify=s,e.queue=i;function n(o){return new Promise(a=>{setTimeout(a,o)})}function s(o,a){return function(...u){return new Promise(function(c,f){u.push(function(p,...b){let $=b;b.length<=1&&($=b[0]),a&&($=p,p=null),p?f(p):c($)}),o.apply(null,u)})}}function i(o,a,u=1/0){u=Math.min(u,o.length),o=o.slice();let c=[],f=o.length;return f?new Promise((p,b)=>{for(let h=0;h<u;h++)$();function $(){let h=o.shift();a(h).then(function(x){c.push(x),f--,f===0?p(c):o.length&&$()},b)}}):Promise.resolve(c)}}),(function(r,e,t){var n=t(11),s=t(23),i=t(48),o=t(31),a=t(49),u="prototype",c=function(f,p,b){var $=f&c.F,h=f&c.G,T=f&c.S,x=f&c.P,k=f&c.B,C=f&c.W,I=h?s:s[p]||(s[p]={}),R=I[u],g=h?n:T?n[p]:(n[p]||{})[u],S,L,D;h&&(b=p);for(S in b)L=!$&&g&&g[S]!==void 0,!(L&&a(I,S))&&(D=L?g[S]:b[S],I[S]=h&&typeof g[S]!="function"?b[S]:k&&L?i(D,n):C&&g[S]==D?(function(P){var A=function(y,l,d){if(this instanceof P){switch(arguments.length){case 0:return new P;case 1:return new P(y);case 2:return new P(y,l)}return new P(y,l,d)}return P.apply(this,arguments)};return A[u]=P[u],A})(D):x&&typeof D=="function"?i(Function.call,D):D,x&&((I.virtual||(I.virtual={}))[S]=D,f&c.R&&R&&!R[S]&&o(R,S,D)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,r.exports=c}),(function(r,e,t){try{var n=t(2);if(typeof n.inherits!="function")throw"";r.exports=n.inherits}catch{r.exports=t(224)}}),,,(function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.home=void 0;var n;function s(){return n=i(t(169))}function i(c){return c&&c.__esModule?c:{default:c}}let o=t(0),a=e.home=t(36).homedir(),u=(n||s()).default?o.resolve("/usr/local/share"):a;e.default=u}),(function(r,e){r.exports=function(t){if(typeof t!="function")throw TypeError(t+" is not a function!");return t}}),(function(r,e){var t={}.toString;r.exports=function(n){return t.call(n).slice(8,-1)}}),(function(r,e,t){var n=t(46);r.exports=function(s,i,o){if(n(s),i===void 0)return s;switch(o){case 1:return function(a){return s.call(i,a)};case 2:return function(a,u){return s.call(i,a,u)};case 3:return function(a,u,c){return s.call(i,a,u,c)}}return function(){return s.apply(i,arguments)}}}),(function(r,e){var t={}.hasOwnProperty;r.exports=function(n,s){return t.call(n,s)}}),(function(r,e,t){var n=t(27),s=t(184),i=t(201),o=Object.defineProperty;e.f=t(33)?Object.defineProperty:function(u,c,f){if(n(u),c=i(c,!0),n(f),s)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(r,e){r.exports=require("events")}),(function(r,e,t){"use strict";let n=t(32).Buffer,s=t(9),i=t(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 p{get isHash(){return!0}constructor(y,l){let d=!!(l&&l.strict);this.source=y.trim();let m=this.source.match(d?c:u);if(!m||d&&!o.some(E=>E===m[1]))return;this.algorithm=m[1],this.digest=m[2];let v=m[3];this.options=v?v.slice(1).split("?"):[]}hexDigest(){return this.digest&&n.from(this.digest,"base64").toString("hex")}toJSON(){return this.toString()}toString(y){if(y&&y.strict&&!(o.some(d=>d===this.algorithm)&&this.digest.match(a)&&(this.options||[]).every(d=>d.match(f))))return"";let l=this.options&&this.options.length?`?${this.options.join("?")}`:"";return`${this.algorithm}-${this.digest}${l}`}}class b{get isIntegrity(){return!0}toJSON(){return this.toString()}toString(y){y=y||{};let l=y.sep||" ";return y.strict&&(l=l.replace(/\S+/g," ")),Object.keys(this).map(d=>this[d].map(m=>p.prototype.toString.call(m,y)).filter(m=>m.length).join(l)).filter(d=>d.length).join(l)}concat(y,l){let d=typeof y=="string"?y:T(y,l);return $(`${this.toString(l)} ${d}`,l)}hexDigest(){return $(this,{single:!0}).hexDigest()}match(y,l){let d=$(y,l),m=d.pickAlgorithm(l);return this[m]&&d[m]&&this[m].find(v=>d[m].find(E=>v.digest===E.digest))||!1}pickAlgorithm(y){let l=y&&y.pickAlgorithm||P,d=Object.keys(this);if(!d.length)throw new Error(`No algorithms available for ${JSON.stringify(this.toString())}`);return d.reduce((m,v)=>l(m,v)||m)}}r.exports.parse=$;function $(A,y){if(y=y||{},typeof A=="string")return h(A,y);if(A.algorithm&&A.digest){let l=new b;return l[A.algorithm]=[A],h(T(l,y),y)}else return h(T(A,y),y)}function h(A,y){return y.single?new p(A,y):A.trim().split(/\s+/).reduce((l,d)=>{let m=new p(d,y);if(m.algorithm&&m.digest){let v=m.algorithm;l[v]||(l[v]=[]),l[v].push(m)}return l},new b)}r.exports.stringify=T;function T(A,y){return A.algorithm&&A.digest?p.prototype.toString.call(A,y):typeof A=="string"?T($(A,y),y):b.prototype.toString.call(A,y)}r.exports.fromHex=x;function x(A,y,l){let d=l&&l.options&&l.options.length?`?${l.options.join("?")}`:"";return $(`${y}-${n.from(A,"hex").toString("base64")}${d}`,l)}r.exports.fromData=k;function k(A,y){y=y||{};let l=y.algorithms||["sha512"],d=y.options&&y.options.length?`?${y.options.join("?")}`:"";return l.reduce((m,v)=>{let E=s.createHash(v).update(A).digest("base64"),O=new p(`${v}-${E}${d}`,y);if(O.algorithm&&O.digest){let N=O.algorithm;m[N]||(m[N]=[]),m[N].push(O)}return m},new b)}r.exports.fromStream=C;function C(A,y){y=y||{};let l=y.Promise||Promise,d=g(y);return new l((m,v)=>{A.pipe(d),A.on("error",v),d.on("error",v);let E;d.on("integrity",O=>{E=O}),d.on("end",()=>m(E)),d.on("data",()=>{})})}r.exports.checkData=I;function I(A,y,l){if(l=l||{},y=$(y,l),!Object.keys(y).length){if(l.error)throw Object.assign(new Error("No valid integrity hashes to check against"),{code:"EINTEGRITY"});return!1}let d=y.pickAlgorithm(l),m=s.createHash(d).update(A).digest("base64"),v=$({algorithm:d,digest:m}),E=v.match(y,l);if(E||!l.error)return E;if(typeof l.size=="number"&&A.length!==l.size){let O=new Error(`data size mismatch when checking ${y}. Wanted: ${l.size} Found: ${A.length}`);throw O.code="EBADSIZE",O.found=A.length,O.expected=l.size,O.sri=y,O}else{let O=new Error(`Integrity checksum failed when using ${d}: Wanted ${y}, but got ${v}. (${A.length} bytes)`);throw O.code="EINTEGRITY",O.found=v,O.expected=y,O.algorithm=d,O.sri=y,O}}r.exports.checkStream=R;function R(A,y,l){l=l||{};let d=l.Promise||Promise,m=g(Object.assign({},l,{integrity:y}));return new d((v,E)=>{A.pipe(m),A.on("error",E),m.on("error",E);let O;m.on("verified",N=>{O=N}),m.on("end",()=>v(O)),m.on("data",()=>{})})}r.exports.integrityStream=g;function g(A){A=A||{};let y=A.integrity&&$(A.integrity,A),l=y&&Object.keys(y).length,d=l&&y.pickAlgorithm(A),m=l&&y[d],v=Array.from(new Set((A.algorithms||["sha512"]).concat(d?[d]:[]))),E=v.map(s.createHash),O=0,N=new i({transform(w,M,j){O+=w.length,E.forEach(W=>W.update(w,M)),j(null,w,M)}}).on("end",()=>{let w=A.options&&A.options.length?`?${A.options.join("?")}`:"",M=$(E.map((W,Z)=>`${v[Z]}-${W.digest("base64")}${w}`).join(" "),A),j=l&&M.match(y,A);if(typeof A.size=="number"&&O!==A.size){let W=new Error(`stream size mismatch when checking ${y}. Wanted: ${A.size} Found: ${O}`);W.code="EBADSIZE",W.found=O,W.expected=A.size,W.sri=y,N.emit("error",W)}else if(A.integrity&&!j){let W=new Error(`${y} integrity checksum failed when using ${d}: wanted ${m} but got ${M}. (${O} bytes)`);W.code="EINTEGRITY",W.found=M,W.expected=m,W.algorithm=d,W.sri=y,N.emit("error",W)}else N.emit("size",O),N.emit("integrity",M),j&&N.emit("verified",j)});return N}r.exports.create=S;function S(A){A=A||{};let y=A.algorithms||["sha512"],l=A.options&&A.options.length?`?${A.options.join("?")}`:"",d=y.map(s.createHash);return{update:function(m,v){return d.forEach(E=>E.update(m,v)),this},digest:function(m){return y.reduce((E,O)=>{let N=d.shift().digest("base64"),w=new p(`${O}-${N}${l}`,A);if(w.algorithm&&w.digest){let M=w.algorithm;E[M]||(E[M]=[]),E[M].push(w)}return E},new b)}}}let L=new Set(s.getHashes()),D=["md5","whirlpool","sha1","sha224","sha256","sha384","sha512","sha3","sha3-256","sha3-384","sha3-512","sha3_256","sha3_384","sha3_512"].filter(A=>L.has(A));function P(A,y){return D.indexOf(A.toLowerCase())>=D.indexOf(y.toLowerCase())?A:y}}),,,,,(function(r,e,t){r.exports=x,x.Minimatch=k;var n={sep:"/"};try{n=t(0)}catch{}var s=x.GLOBSTAR=k.GLOBSTAR={},i=t(175),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="[^/]",u=a+"*?",c="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",f="(?:(?!(?:\\/|^)\\.).)*?",p=b("().*{}+?[]^$\\!");function b(y){return y.split("").reduce(function(l,d){return l[d]=!0,l},{})}var $=/\/+/;x.filter=h;function h(y,l){return l=l||{},function(d,m,v){return x(d,y,l)}}function T(y,l){y=y||{},l=l||{};var d={};return Object.keys(l).forEach(function(m){d[m]=l[m]}),Object.keys(y).forEach(function(m){d[m]=y[m]}),d}x.defaults=function(y){if(!y||!Object.keys(y).length)return x;var l=x,d=function(v,E,O){return l.minimatch(v,E,T(y,O))};return d.Minimatch=function(v,E){return new l.Minimatch(v,T(y,E))},d},k.defaults=function(y){return!y||!Object.keys(y).length?k:x.defaults(y).Minimatch};function x(y,l,d){if(typeof l!="string")throw new TypeError("glob pattern string required");return d||(d={}),!d.nocomment&&l.charAt(0)==="#"?!1:l.trim()===""?y==="":new k(l,d).match(y)}function k(y,l){if(!(this instanceof k))return new k(y,l);if(typeof y!="string")throw new TypeError("glob pattern string required");l||(l={}),y=y.trim(),n.sep!=="/"&&(y=y.split(n.sep).join("/")),this.options=l,this.set=[],this.pattern=y,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}k.prototype.debug=function(){},k.prototype.make=C;function C(){if(!this._made){var y=this.pattern,l=this.options;if(!l.nocomment&&y.charAt(0)==="#"){this.comment=!0;return}if(!y){this.empty=!0;return}this.parseNegate();var d=this.globSet=this.braceExpand();l.debug&&(this.debug=console.error),this.debug(this.pattern,d),d=this.globParts=d.map(function(m){return m.split($)}),this.debug(this.pattern,d),d=d.map(function(m,v,E){return m.map(this.parse,this)},this),this.debug(this.pattern,d),d=d.filter(function(m){return m.indexOf(!1)===-1}),this.debug(this.pattern,d),this.set=d}}k.prototype.parseNegate=I;function I(){var y=this.pattern,l=!1,d=this.options,m=0;if(!d.nonegate){for(var v=0,E=y.length;v<E&&y.charAt(v)==="!";v++)l=!l,m++;m&&(this.pattern=y.substr(m)),this.negate=l}}x.braceExpand=function(y,l){return R(y,l)},k.prototype.braceExpand=R;function R(y,l){if(l||(this instanceof k?l=this.options:l={}),y=typeof y>"u"?this.pattern:y,typeof y>"u")throw new TypeError("undefined pattern");return l.nobrace||!y.match(/\{.*\}/)?[y]:i(y)}k.prototype.parse=S;var g={};function S(y,l){if(y.length>1024*64)throw new TypeError("pattern is too long");var d=this.options;if(!d.noglobstar&&y==="**")return s;if(y==="")return"";var m="",v=!!d.nocase,E=!1,O=[],N=[],w,M=!1,j=-1,W=-1,Z=y.charAt(0)==="."?"":d.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",H=this;function F(){if(w){switch(w){case"*":m+=u,v=!0;break;case"?":m+=a,v=!0;break;default:m+="\\"+w;break}H.debug("clearStateChar %j %j",w,m),w=!1}}for(var X=0,q=y.length,Q;X<q&&(Q=y.charAt(X));X++){if(this.debug("%s %s %s %j",y,X,m,Q),E&&p[Q]){m+="\\"+Q,E=!1;continue}switch(Q){case"/":return!1;case"\\":F(),E=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",y,X,m,Q),M){this.debug(" in class"),Q==="!"&&X===W+1&&(Q="^"),m+=Q;continue}H.debug("call clearStateChar %j",w),F(),w=Q,d.noext&&F();continue;case"(":if(M){m+="(";continue}if(!w){m+="\\(";continue}O.push({type:w,start:X-1,reStart:m.length,open:o[w].open,close:o[w].close}),m+=w==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",w,m),w=!1;continue;case")":if(M||!O.length){m+="\\)";continue}F(),v=!0;var _=O.pop();m+=_.close,_.type==="!"&&N.push(_),_.reEnd=m.length;continue;case"|":if(M||!O.length||E){m+="\\|",E=!1;continue}F(),m+="|";continue;case"[":if(F(),M){m+="\\"+Q;continue}M=!0,W=X,j=m.length,m+=Q;continue;case"]":if(X===W+1||!M){m+="\\"+Q,E=!1;continue}if(M){var ye=y.substring(W+1,X);try{RegExp("["+ye+"]")}catch{var pe=this.parse(ye,g);m=m.substr(0,j)+"\\["+pe[0]+"\\]",v=v||pe[1],M=!1;continue}}v=!0,M=!1,m+=Q;continue;default:F(),E?E=!1:p[Q]&&!(Q==="^"&&M)&&(m+="\\"),m+=Q}}for(M&&(ye=y.substr(W+1),pe=this.parse(ye,g),m=m.substr(0,j)+"\\["+pe[0],v=v||pe[1]),_=O.pop();_;_=O.pop()){var Be=m.slice(_.reStart+_.open.length);this.debug("setting tail",m,_),Be=Be.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(ot,An,qt){return qt||(qt="\\"),An+An+qt+"|"}),this.debug(`tail=%j %s`,Be,Be,_,m);var Pe=_.type==="*"?u:_.type==="?"?a:"\\"+_.type;v=!0,m=m.slice(0,_.reStart)+Pe+"\\("+Be}F(),E&&(m+="\\\\");var dt=!1;switch(m.charAt(0)){case".":case"[":case"(":dt=!0}for(var De=N.length-1;De>-1;De--){var Ne=N[De],Ae=m.slice(0,Ne.reStart),ft=m.slice(Ne.reStart,Ne.reEnd-8),we=m.slice(Ne.reEnd-8,Ne.reEnd),Ct=m.slice(Ne.reEnd);we+=Ct;var Cn=Ae.split("(").length-1,Ln=Ct;for(X=0;X<Cn;X++)Ln=Ln.replace(/\)[+*?]?/,"");Ct=Ln;var zt="";Ct===""&&l!==g&&(zt="$");var Rn=Ae+ft+Ct+zt+we;m=Rn}if(m!==""&&v&&(m="(?=.)"+m),dt&&(m=Z+m),l===g)return[m,v];if(!v)return P(y);var Zt=d.nocase?"i":"";try{var un=new RegExp("^"+m+"$",Zt)}catch{return new RegExp("$.")}return un._glob=y,un._src=m,un}x.makeRe=function(y,l){return new k(y,l||{}).makeRe()},k.prototype.makeRe=L;function L(){if(this.regexp||this.regexp===!1)return this.regexp;var y=this.set;if(!y.length)return this.regexp=!1,this.regexp;var l=this.options,d=l.noglobstar?u:l.dot?c:f,m=l.nocase?"i":"",v=y.map(function(E){return E.map(function(O){return O===s?d:typeof O=="string"?A(O):O._src}).join("\\/")}).join("|");v="^(?:"+v+")$",this.negate&&(v="^(?!"+v+").*$");try{this.regexp=new RegExp(v,m)}catch{this.regexp=!1}return this.regexp}x.match=function(y,l,d){d=d||{};var m=new k(l,d);return y=y.filter(function(v){return m.match(v)}),m.options.nonull&&!y.length&&y.push(l),y},k.prototype.match=D;function D(y,l){if(this.debug("match",y,this.pattern),this.comment)return!1;if(this.empty)return y==="";if(y==="/"&&l)return!0;var d=this.options;n.sep!=="/"&&(y=y.split(n.sep).join("/")),y=y.split($),this.debug(this.pattern,"split",y);var m=this.set;this.debug(this.pattern,"set",m);var v,E;for(E=y.length-1;E>=0&&(v=y[E],!v);E--);for(E=0;E<m.length;E++){var O=m[E],N=y;d.matchBase&&