@withgraphite/graphite-cli 1.0.14 → 1.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@withgraphite/graphite-cli",
3
- "version": "1.0.14",
3
+ "version": "1.1.1",
4
4
  "license": "None",
5
5
  "main": "./graphite.js",
6
6
  "homepage": "https://github.com/withgraphite/graphite-cli",
package/335.js DELETED
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env node
2
- /*! For license information please see 335.js.LICENSE.txt */
3
- exports.id=335,exports.ids=[335],exports.modules={94215:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(30180),i=r(38931),s={returnIndex:!1},o=(t,e,r,n)=>{const s=Array.isArray(r),o=s?r[0]:r;if(!s&&"string"!=typeof o)throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(o));const a=i(o);for(let t=0;t<e.length;t++)if((0,e[t])(a))return!!n&&-1;const u=s&&[a].concat(r.slice(1));for(let e=0;e<t.length;e++){const r=t[e];if(s?r(...u):r(a))return!n||e}return!!n&&-1},a=(t,e,r=s)=>{if(null==t)throw new TypeError("anymatch: specify first argument");const i="boolean"==typeof r?{returnIndex:r}:r,a=i.returnIndex||!1,u=(c=t,Array.isArray(c)?c:[c]);var c;const l=u.filter((t=>"string"==typeof t&&"!"===t.charAt(0))).map((t=>t.slice(1))).map((t=>n(t,i))),h=u.filter((t=>"string"!=typeof t||"string"==typeof t&&"!"!==t.charAt(0))).map((t=>((t,e)=>{if("function"==typeof t)return t;if("string"==typeof t){const r=n(t,e);return e=>t===e||r(e)}return t instanceof RegExp?e=>t.test(e):t=>!1})(t,i)));return null==e?(t,e=!1)=>o(h,l,t,"boolean"==typeof e&&e):o(h,l,e,a)};a.default=a,t.exports=a},63061:(t,e,r)=>{t.exports=r(57724)},39621:(t,e,r)=>{"use strict";const n=r(82386),i=r(15382),s=r(27216),o=r(91536),a=(t,e={})=>{let r=[];if(Array.isArray(t))for(let n of t){let t=a.create(n,e);Array.isArray(t)?r.push(...t):r.push(t)}else r=[].concat(a.create(t,e));return e&&!0===e.expand&&!0===e.nodupes&&(r=[...new Set(r)]),r};a.parse=(t,e={})=>o(t,e),a.stringify=(t,e={})=>n("string"==typeof t?a.parse(t,e):t,e),a.compile=(t,e={})=>("string"==typeof t&&(t=a.parse(t,e)),i(t,e)),a.expand=(t,e={})=>{"string"==typeof t&&(t=a.parse(t,e));let r=s(t,e);return!0===e.noempty&&(r=r.filter(Boolean)),!0===e.nodupes&&(r=[...new Set(r)]),r},a.create=(t,e={})=>""===t||t.length<3?[t]:!0!==e.expand?a.compile(t,e):a.expand(t,e),t.exports=a},15382:(t,e,r)=>{"use strict";const n=r(72661),i=r(63731);t.exports=(t,e={})=>{let r=(t,s={})=>{let o=i.isInvalidBrace(s),a=!0===t.invalid&&!0===e.escapeInvalid,u=!0===o||!0===a,c=!0===e.escapeInvalid?"\\":"",l="";if(!0===t.isOpen)return c+t.value;if(!0===t.isClose)return c+t.value;if("open"===t.type)return u?c+t.value:"(";if("close"===t.type)return u?c+t.value:")";if("comma"===t.type)return"comma"===t.prev.type?"":u?t.value:"|";if(t.value)return t.value;if(t.nodes&&t.ranges>0){let r=i.reduce(t.nodes),s=n(...r,{...e,wrap:!1,toRegex:!0});if(0!==s.length)return r.length>1&&s.length>1?`(${s})`:s}if(t.nodes)for(let e of t.nodes)l+=r(e,t);return l};return r(t)}},14094:t=>{"use strict";t.exports={MAX_LENGTH:65536,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:"\n",CHAR_NO_BREAK_SPACE:" ",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:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},27216:(t,e,r)=>{"use strict";const n=r(72661),i=r(82386),s=r(63731),o=(t="",e="",r=!1)=>{let n=[];if(t=[].concat(t),!(e=[].concat(e)).length)return t;if(!t.length)return r?s.flatten(e).map((t=>`{${t}}`)):e;for(let i of t)if(Array.isArray(i))for(let t of i)n.push(o(t,e,r));else for(let t of e)!0===r&&"string"==typeof t&&(t=`{${t}}`),n.push(Array.isArray(t)?o(i,t,r):i+t);return s.flatten(n)};t.exports=(t,e={})=>{let r=void 0===e.rangeLimit?1e3:e.rangeLimit,a=(t,u={})=>{t.queue=[];let c=u,l=u.queue;for(;"brace"!==c.type&&"root"!==c.type&&c.parent;)c=c.parent,l=c.queue;if(t.invalid||t.dollar)return void l.push(o(l.pop(),i(t,e)));if("brace"===t.type&&!0!==t.invalid&&2===t.nodes.length)return void l.push(o(l.pop(),["{}"]));if(t.nodes&&t.ranges>0){let a=s.reduce(t.nodes);if(s.exceedsLimit(...a,e.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let u=n(...a,e);return 0===u.length&&(u=i(t,e)),l.push(o(l.pop(),u)),void(t.nodes=[])}let h=s.encloseBrace(t),p=t.queue,f=t;for(;"brace"!==f.type&&"root"!==f.type&&f.parent;)f=f.parent,p=f.queue;for(let e=0;e<t.nodes.length;e++){let r=t.nodes[e];"comma"!==r.type||"brace"!==t.type?"close"!==r.type?r.value&&"open"!==r.type?p.push(o(p.pop(),r.value)):r.nodes&&a(r,t):l.push(o(l.pop(),p,h)):(1===e&&p.push(""),p.push(""))}return p};return s.flatten(a(t))}},91536:(t,e,r)=>{"use strict";const n=r(82386),{MAX_LENGTH:i,CHAR_BACKSLASH:s,CHAR_BACKTICK:o,CHAR_COMMA:a,CHAR_DOT:u,CHAR_LEFT_PARENTHESES:c,CHAR_RIGHT_PARENTHESES:l,CHAR_LEFT_CURLY_BRACE:h,CHAR_RIGHT_CURLY_BRACE:p,CHAR_LEFT_SQUARE_BRACKET:f,CHAR_RIGHT_SQUARE_BRACKET:d,CHAR_DOUBLE_QUOTE:_,CHAR_SINGLE_QUOTE:v,CHAR_NO_BREAK_SPACE:m,CHAR_ZERO_WIDTH_NOBREAK_SPACE:y}=r(14094);t.exports=(t,e={})=>{if("string"!=typeof t)throw new TypeError("Expected a string");let r=e||{},g="number"==typeof r.maxLength?Math.min(i,r.maxLength):i;if(t.length>g)throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${g})`);let E,w={type:"root",input:t,nodes:[]},S=[w],R=w,A=w,b=0,I=t.length,x=0,O=0;const T=()=>t[x++],C=t=>{if("text"===t.type&&"dot"===A.type&&(A.type="text"),!A||"text"!==A.type||"text"!==t.type)return R.nodes.push(t),t.parent=R,t.prev=A,A=t,t;A.value+=t.value};for(C({type:"bos"});x<I;)if(R=S[S.length-1],E=T(),E!==y&&E!==m)if(E!==s)if(E!==d)if(E!==f)if(E!==c)if(E!==l)if(E!==_&&E!==v&&E!==o)if(E!==h)if(E!==p)if(E===a&&O>0){if(R.ranges>0){R.ranges=0;let t=R.nodes.shift();R.nodes=[t,{type:"text",value:n(R)}]}C({type:"comma",value:E}),R.commas++}else if(E===u&&O>0&&0===R.commas){let t=R.nodes;if(0===O||0===t.length){C({type:"text",value:E});continue}if("dot"===A.type){if(R.range=[],A.value+=E,A.type="range",3!==R.nodes.length&&5!==R.nodes.length){R.invalid=!0,R.ranges=0,A.type="text";continue}R.ranges++,R.args=[];continue}if("range"===A.type){t.pop();let e=t[t.length-1];e.value+=A.value+E,A=e,R.ranges--;continue}C({type:"dot",value:E})}else C({type:"text",value:E});else{if("brace"!==R.type){C({type:"text",value:E});continue}let t="close";R=S.pop(),R.close=!0,C({type:t,value:E}),O--,R=S[S.length-1]}else{O++;let t=A.value&&"$"===A.value.slice(-1)||!0===R.dollar;R=C({type:"brace",open:!0,close:!1,dollar:t,depth:O,commas:0,ranges:0,nodes:[]}),S.push(R),C({type:"open",value:E})}else{let t,r=E;for(!0!==e.keepQuotes&&(E="");x<I&&(t=T());)if(t!==s){if(t===r){!0===e.keepQuotes&&(E+=t);break}E+=t}else E+=t+T();C({type:"text",value:E})}else{if("paren"!==R.type){C({type:"text",value:E});continue}R=S.pop(),C({type:"text",value:E}),R=S[S.length-1]}else R=C({type:"paren",nodes:[]}),S.push(R),C({type:"text",value:E});else{let t;for(b++;x<I&&(t=T());)if(E+=t,t!==f)if(t!==s){if(t===d&&(b--,0===b))break}else E+=T();else b++;C({type:"text",value:E})}else C({type:"text",value:"\\"+E});else C({type:"text",value:(e.keepEscaping?E:"")+T()});do{if(R=S.pop(),"root"!==R.type){R.nodes.forEach((t=>{t.nodes||("open"===t.type&&(t.isOpen=!0),"close"===t.type&&(t.isClose=!0),t.nodes||(t.type="text"),t.invalid=!0)}));let t=S[S.length-1],e=t.nodes.indexOf(R);t.nodes.splice(e,1,...R.nodes)}}while(S.length>0);return C({type:"eos"}),w}},82386:(t,e,r)=>{"use strict";const n=r(63731);t.exports=(t,e={})=>{let r=(t,i={})=>{let s=e.escapeInvalid&&n.isInvalidBrace(i),o=!0===t.invalid&&!0===e.escapeInvalid,a="";if(t.value)return(s||o)&&n.isOpenOrClose(t)?"\\"+t.value:t.value;if(t.value)return t.value;if(t.nodes)for(let e of t.nodes)a+=r(e);return a};return r(t)}},63731:(t,e)=>{"use strict";e.isInteger=t=>"number"==typeof t?Number.isInteger(t):"string"==typeof t&&""!==t.trim()&&Number.isInteger(Number(t)),e.find=(t,e)=>t.nodes.find((t=>t.type===e)),e.exceedsLimit=(t,r,n=1,i)=>!1!==i&&!(!e.isInteger(t)||!e.isInteger(r))&&(Number(r)-Number(t))/Number(n)>=i,e.escapeNode=(t,e=0,r)=>{let n=t.nodes[e];n&&(r&&n.type===r||"open"===n.type||"close"===n.type)&&!0!==n.escaped&&(n.value="\\"+n.value,n.escaped=!0)},e.encloseBrace=t=>"brace"===t.type&&t.commas>>0+t.ranges>>0==0&&(t.invalid=!0,!0),e.isInvalidBrace=t=>!("brace"!==t.type||!0!==t.invalid&&!t.dollar&&(t.commas>>0+t.ranges>>0!=0&&!0===t.open&&!0===t.close||(t.invalid=!0,0))),e.isOpenOrClose=t=>"open"===t.type||"close"===t.type||!0===t.open||!0===t.close,e.reduce=t=>t.reduce(((t,e)=>("text"===e.type&&t.push(e.value),"range"===e.type&&(e.type="text"),t)),[]),e.flatten=(...t)=>{const e=[],r=t=>{for(let n=0;n<t.length;n++){let i=t[n];Array.isArray(i)?r(i,e):void 0!==i&&e.push(i)}return e};return r(t),e}},44828:(t,e,r)=>{"use strict";const{EventEmitter:n}=r(82361),i=r(57147),s=r(71017),{promisify:o}=r(73837),a=r(58465),u=r(94215).default,c=r(53797),l=r(46938),h=r(39621),p=r(38931),f=r(37833),d=r(11058),{EV_ALL:_,EV_READY:v,EV_ADD:m,EV_CHANGE:y,EV_UNLINK:g,EV_ADD_DIR:E,EV_UNLINK_DIR:w,EV_RAW:S,EV_ERROR:R,STR_CLOSE:A,STR_END:b,BACK_SLASH_RE:I,DOUBLE_SLASH_RE:x,SLASH_OR_BACK_SLASH_RE:O,DOT_RE:T,REPLACER_RE:C,SLASH:$,SLASH_SLASH:L,BRACE_START:N,BANG:P,ONE_DOT:D,TWO_DOTS:k,GLOBSTAR:M,SLASH_GLOBSTAR:H,ANYMATCH_OPTS:j,STRING_TYPE:G,FUNCTION_TYPE:z,EMPTY_STR:F,EMPTY_FN:B,isWindows:U,isMacos:W,isIBMi:K}=r(17162),q=o(i.stat),V=o(i.readdir),X=(t=[])=>Array.isArray(t)?t:[t],Y=(t,e=[])=>(t.forEach((t=>{Array.isArray(t)?Y(t,e):e.push(t)})),e),Q=t=>{const e=Y(X(t));if(!e.every((t=>typeof t===G)))throw new TypeError(`Non-string provided as watch path: ${e}`);return e.map(J)},Z=t=>{let e=t.replace(I,$),r=!1;for(e.startsWith(L)&&(r=!0);e.match(x);)e=e.replace(x,$);return r&&(e=$+e),e},J=t=>Z(s.normalize(Z(t))),tt=(t=F)=>e=>typeof e!==G?e:J(s.isAbsolute(e)?e:s.join(t,e)),et=(t,e)=>void 0===t[e];class rt{constructor(t,e){this.path=t,this._removeWatcher=e,this.items=new Set}add(t){const{items:e}=this;e&&t!==D&&t!==k&&e.add(t)}async remove(t){const{items:e}=this;if(!e)return;if(e.delete(t),e.size>0)return;const r=this.path;try{await V(r)}catch(t){this._removeWatcher&&this._removeWatcher(s.dirname(r),s.basename(r))}}has(t){const{items:e}=this;if(e)return e.has(t)}getChildren(){const{items:t}=this;if(t)return[...t.values()]}dispose(){this.items.clear(),delete this.path,delete this._removeWatcher,delete this.items,Object.freeze(this)}}class nt{constructor(t,e,r,n){this.fsw=n,this.path=t=t.replace(C,F),this.watchPath=e,this.fullWatchPath=s.resolve(e),this.hasGlob=e!==t,t===F&&(this.hasGlob=!1),this.globSymlink=!(!this.hasGlob||!r)&&void 0,this.globFilter=!!this.hasGlob&&u(t,void 0,j),this.dirParts=this.getDirParts(t),this.dirParts.forEach((t=>{t.length>1&&t.pop()})),this.followSymlinks=r,this.statMethod=r?"stat":"lstat"}checkGlobSymlink(t){return void 0===this.globSymlink&&(this.globSymlink=t.fullParentDir!==this.fullWatchPath&&{realPath:t.fullParentDir,linkPath:this.fullWatchPath}),this.globSymlink?t.fullPath.replace(this.globSymlink.realPath,this.globSymlink.linkPath):t.fullPath}entryPath(t){return s.join(this.watchPath,s.relative(this.watchPath,this.checkGlobSymlink(t)))}filterPath(t){const{stats:e}=t;if(e&&e.isSymbolicLink())return this.filterDir(t);const r=this.entryPath(t);return(!this.hasGlob||typeof this.globFilter!==z||this.globFilter(r))&&this.fsw._isntIgnored(r,e)&&this.fsw._hasReadPermissions(e)}getDirParts(t){if(!this.hasGlob)return[];const e=[];return(t.includes(N)?h.expand(t):[t]).forEach((t=>{e.push(s.relative(this.watchPath,t).split(O))})),e}filterDir(t){if(this.hasGlob){const e=this.getDirParts(this.checkGlobSymlink(t));let r=!1;this.unmatchedGlob=!this.dirParts.some((t=>t.every(((t,n)=>(t===M&&(r=!0),r||!e[0][n]||u(t,e[0][n],j))))))}return!this.unmatchedGlob&&this.fsw._isntIgnored(this.entryPath(t),t.stats)}}class it extends n{constructor(t){super();const e={};t&&Object.assign(e,t),this._watched=new Map,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._symlinkPaths=new Map,this._streams=new Set,this.closed=!1,et(e,"persistent")&&(e.persistent=!0),et(e,"ignoreInitial")&&(e.ignoreInitial=!1),et(e,"ignorePermissionErrors")&&(e.ignorePermissionErrors=!1),et(e,"interval")&&(e.interval=100),et(e,"binaryInterval")&&(e.binaryInterval=300),et(e,"disableGlobbing")&&(e.disableGlobbing=!1),e.enableBinaryInterval=e.binaryInterval!==e.interval,et(e,"useFsEvents")&&(e.useFsEvents=!e.usePolling),d.canUse()||(e.useFsEvents=!1),et(e,"usePolling")&&!e.useFsEvents&&(e.usePolling=W),K&&(e.usePolling=!0);const r=process.env.CHOKIDAR_USEPOLLING;if(void 0!==r){const t=r.toLowerCase();e.usePolling="false"!==t&&"0"!==t&&("true"===t||"1"===t||!!t)}const n=process.env.CHOKIDAR_INTERVAL;n&&(e.interval=Number.parseInt(n,10)),et(e,"atomic")&&(e.atomic=!e.usePolling&&!e.useFsEvents),e.atomic&&(this._pendingUnlinks=new Map),et(e,"followSymlinks")&&(e.followSymlinks=!0),et(e,"awaitWriteFinish")&&(e.awaitWriteFinish=!1),!0===e.awaitWriteFinish&&(e.awaitWriteFinish={});const i=e.awaitWriteFinish;i&&(i.stabilityThreshold||(i.stabilityThreshold=2e3),i.pollInterval||(i.pollInterval=100),this._pendingWrites=new Map),e.ignored&&(e.ignored=X(e.ignored));let s=0;this._emitReady=()=>{s++,s>=this._readyCount&&(this._emitReady=B,this._readyEmitted=!0,process.nextTick((()=>this.emit(v))))},this._emitRaw=(...t)=>this.emit(S,...t),this._readyEmitted=!1,this.options=e,e.useFsEvents?this._fsEventsHandler=new d(this):this._nodeFsHandler=new f(this),Object.freeze(e)}add(t,e,r){const{cwd:n,disableGlobbing:i}=this.options;this.closed=!1;let o=Q(t);return n&&(o=o.map((t=>{const e=((t,e)=>s.isAbsolute(t)?t:t.startsWith(P)?P+s.join(e,t.slice(1)):s.join(e,t))(t,n);return i||!l(t)?e:p(e)}))),o=o.filter((t=>t.startsWith(P)?(this._ignoredPaths.add(t.slice(1)),!1):(this._ignoredPaths.delete(t),this._ignoredPaths.delete(t+H),this._userIgnored=void 0,!0))),this.options.useFsEvents&&this._fsEventsHandler?(this._readyCount||(this._readyCount=o.length),this.options.persistent&&(this._readyCount*=2),o.forEach((t=>this._fsEventsHandler._addToFsEvents(t)))):(this._readyCount||(this._readyCount=0),this._readyCount+=o.length,Promise.all(o.map((async t=>{const n=await this._nodeFsHandler._addToNodeFs(t,!r,0,0,e);return n&&this._emitReady(),n}))).then((t=>{this.closed||t.filter((t=>t)).forEach((t=>{this.add(s.dirname(t),s.basename(e||t))}))}))),this}unwatch(t){if(this.closed)return this;const e=Q(t),{cwd:r}=this.options;return e.forEach((t=>{s.isAbsolute(t)||this._closers.has(t)||(r&&(t=s.join(r,t)),t=s.resolve(t)),this._closePath(t),this._ignoredPaths.add(t),this._watched.has(t)&&this._ignoredPaths.add(t+H),this._userIgnored=void 0})),this}close(){if(this.closed)return this._closePromise;this.closed=!0,this.removeAllListeners();const t=[];return this._closers.forEach((e=>e.forEach((e=>{const r=e();r instanceof Promise&&t.push(r)})))),this._streams.forEach((t=>t.destroy())),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((t=>t.dispose())),["closers","watched","streams","symlinkPaths","throttled"].forEach((t=>{this[`_${t}`].clear()})),this._closePromise=t.length?Promise.all(t).then((()=>{})):Promise.resolve(),this._closePromise}getWatched(){const t={};return this._watched.forEach(((e,r)=>{const n=this.options.cwd?s.relative(this.options.cwd,r):r;t[n||D]=e.getChildren().sort()})),t}emitWithAll(t,e){this.emit(...e),t!==R&&this.emit(_,...e)}async _emit(t,e,r,n,i){if(this.closed)return;const o=this.options;U&&(e=s.normalize(e)),o.cwd&&(e=s.relative(o.cwd,e));const a=[t,e];void 0!==i?a.push(r,n,i):void 0!==n?a.push(r,n):void 0!==r&&a.push(r);const u=o.awaitWriteFinish;let c;if(u&&(c=this._pendingWrites.get(e)))return c.lastChange=new Date,this;if(o.atomic){if(t===g)return this._pendingUnlinks.set(e,a),setTimeout((()=>{this._pendingUnlinks.forEach(((t,e)=>{this.emit(...t),this.emit(_,...t),this._pendingUnlinks.delete(e)}))}),"number"==typeof o.atomic?o.atomic:100),this;t===m&&this._pendingUnlinks.has(e)&&(t=a[0]=y,this._pendingUnlinks.delete(e))}if(u&&(t===m||t===y)&&this._readyEmitted){const r=(e,r)=>{e?(t=a[0]=R,a[1]=e,this.emitWithAll(t,a)):r&&(a.length>2?a[2]=r:a.push(r),this.emitWithAll(t,a))};return this._awaitWriteFinish(e,u.stabilityThreshold,t,r),this}if(t===y&&!this._throttle(y,e,50))return this;if(o.alwaysStat&&void 0===r&&(t===m||t===E||t===y)){const t=o.cwd?s.join(o.cwd,e):e;let r;try{r=await q(t)}catch(t){}if(!r||this.closed)return;a.push(r)}return this.emitWithAll(t,a),this}_handleError(t){const e=t&&t.code;return t&&"ENOENT"!==e&&"ENOTDIR"!==e&&(!this.options.ignorePermissionErrors||"EPERM"!==e&&"EACCES"!==e)&&this.emit(R,t),t||this.closed}_throttle(t,e,r){this._throttled.has(t)||this._throttled.set(t,new Map);const n=this._throttled.get(t),i=n.get(e);if(i)return i.count++,!1;let s;const o=()=>{const t=n.get(e),r=t?t.count:0;return n.delete(e),clearTimeout(s),t&&clearTimeout(t.timeoutObject),r};s=setTimeout(o,r);const a={timeoutObject:s,clear:o,count:0};return n.set(e,a),a}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(t,e,r,n){let o,a=t;this.options.cwd&&!s.isAbsolute(t)&&(a=s.join(this.options.cwd,t));const u=new Date,c=r=>{i.stat(a,((i,s)=>{if(i||!this._pendingWrites.has(t))return void(i&&"ENOENT"!==i.code&&n(i));const a=Number(new Date);r&&s.size!==r.size&&(this._pendingWrites.get(t).lastChange=a),a-this._pendingWrites.get(t).lastChange>=e?(this._pendingWrites.delete(t),n(void 0,s)):o=setTimeout(c,this.options.awaitWriteFinish.pollInterval,s)}))};this._pendingWrites.has(t)||(this._pendingWrites.set(t,{lastChange:u,cancelWait:()=>(this._pendingWrites.delete(t),clearTimeout(o),r)}),o=setTimeout(c,this.options.awaitWriteFinish.pollInterval))}_getGlobIgnored(){return[...this._ignoredPaths.values()]}_isIgnored(t,e){if(this.options.atomic&&T.test(t))return!0;if(!this._userIgnored){const{cwd:t}=this.options,e=this.options.ignored,r=e&&e.map(tt(t)),n=X(r).filter((t=>typeof t===G&&!l(t))).map((t=>t+H)),i=this._getGlobIgnored().map(tt(t)).concat(r,n);this._userIgnored=u(i,void 0,j)}return this._userIgnored([t,e])}_isntIgnored(t,e){return!this._isIgnored(t,e)}_getWatchHelpers(t,e){const r=e||this.options.disableGlobbing||!l(t)?t:c(t),n=this.options.followSymlinks;return new nt(t,r,n,this)}_getWatchedDir(t){this._boundRemove||(this._boundRemove=this._remove.bind(this));const e=s.resolve(t);return this._watched.has(e)||this._watched.set(e,new rt(e,this._boundRemove)),this._watched.get(e)}_hasReadPermissions(t){if(this.options.ignorePermissionErrors)return!0;const e=511&(t&&Number.parseInt(t.mode,10)),r=Number.parseInt(e.toString(8)[0],10);return Boolean(4&r)}_remove(t,e,r){const n=s.join(t,e),i=s.resolve(n);if(r=null!=r?r:this._watched.has(n)||this._watched.has(i),!this._throttle("remove",n,100))return;r||this.options.useFsEvents||1!==this._watched.size||this.add(t,e,!0),this._getWatchedDir(n).getChildren().forEach((t=>this._remove(n,t)));const o=this._getWatchedDir(t),a=o.has(e);o.remove(e),this._symlinkPaths.has(i)&&this._symlinkPaths.delete(i);let u=n;if(this.options.cwd&&(u=s.relative(this.options.cwd,n)),this.options.awaitWriteFinish&&this._pendingWrites.has(u)&&this._pendingWrites.get(u).cancelWait()===m)return;this._watched.delete(n),this._watched.delete(i);const c=r?w:g;a&&!this._isIgnored(n)&&this._emit(c,n),this.options.useFsEvents||this._closePath(n)}_closePath(t){this._closeFile(t);const e=s.dirname(t);this._getWatchedDir(e).remove(s.basename(t))}_closeFile(t){const e=this._closers.get(t);e&&(e.forEach((t=>t())),this._closers.delete(t))}_addPathCloser(t,e){if(!e)return;let r=this._closers.get(t);r||(r=[],this._closers.set(t,r)),r.push(e)}_readdirp(t,e){if(this.closed)return;const r={type:_,alwaysStat:!0,lstat:!0,...e};let n=a(t,r);return this._streams.add(n),n.once(A,(()=>{n=void 0})),n.once(b,(()=>{n&&(this._streams.delete(n),n=void 0)})),n}}e.FSWatcher=it,e.watch=(t,e)=>{const r=new it(e);return r.add(t),r}},17162:(t,e,r)=>{"use strict";const{sep:n}=r(71017),{platform:i}=process,s=r(22037);e.EV_ALL="all",e.EV_READY="ready",e.EV_ADD="add",e.EV_CHANGE="change",e.EV_ADD_DIR="addDir",e.EV_UNLINK="unlink",e.EV_UNLINK_DIR="unlinkDir",e.EV_RAW="raw",e.EV_ERROR="error",e.STR_DATA="data",e.STR_END="end",e.STR_CLOSE="close",e.FSEVENT_CREATED="created",e.FSEVENT_MODIFIED="modified",e.FSEVENT_DELETED="deleted",e.FSEVENT_MOVED="moved",e.FSEVENT_CLONED="cloned",e.FSEVENT_UNKNOWN="unknown",e.FSEVENT_TYPE_FILE="file",e.FSEVENT_TYPE_DIRECTORY="directory",e.FSEVENT_TYPE_SYMLINK="symlink",e.KEY_LISTENERS="listeners",e.KEY_ERR="errHandlers",e.KEY_RAW="rawEmitters",e.HANDLER_KEYS=[e.KEY_LISTENERS,e.KEY_ERR,e.KEY_RAW],e.DOT_SLASH=`.${n}`,e.BACK_SLASH_RE=/\\/g,e.DOUBLE_SLASH_RE=/\/\//,e.SLASH_OR_BACK_SLASH_RE=/[/\\]/,e.DOT_RE=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,e.REPLACER_RE=/^\.[/\\]/,e.SLASH="/",e.SLASH_SLASH="//",e.BRACE_START="{",e.BANG="!",e.ONE_DOT=".",e.TWO_DOTS="..",e.STAR="*",e.GLOBSTAR="**",e.ROOT_GLOBSTAR="/**/*",e.SLASH_GLOBSTAR="/**",e.DIR_SUFFIX="Dir",e.ANYMATCH_OPTS={dot:!0},e.STRING_TYPE="string",e.FUNCTION_TYPE="function",e.EMPTY_STR="",e.EMPTY_FN=()=>{},e.IDENTITY_FN=t=>t,e.isWindows="win32"===i,e.isMacos="darwin"===i,e.isLinux="linux"===i,e.isIBMi="OS400"===s.type()},11058:(t,e,r)=>{"use strict";const n=r(57147),i=r(71017),{promisify:s}=r(73837);let o;try{o=r(55874)}catch(t){process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR&&console.error(t)}if(o){const t=process.version.match(/v(\d+)\.(\d+)/);if(t&&t[1]&&t[2]){const e=Number.parseInt(t[1],10),r=Number.parseInt(t[2],10);8===e&&r<16&&(o=void 0)}}const{EV_ADD:a,EV_CHANGE:u,EV_ADD_DIR:c,EV_UNLINK:l,EV_ERROR:h,STR_DATA:p,STR_END:f,FSEVENT_CREATED:d,FSEVENT_MODIFIED:_,FSEVENT_DELETED:v,FSEVENT_MOVED:m,FSEVENT_UNKNOWN:y,FSEVENT_TYPE_FILE:g,FSEVENT_TYPE_DIRECTORY:E,FSEVENT_TYPE_SYMLINK:w,ROOT_GLOBSTAR:S,DIR_SUFFIX:R,DOT_SLASH:A,FUNCTION_TYPE:b,EMPTY_FN:I,IDENTITY_FN:x}=r(17162),O=s(n.stat),T=s(n.lstat),C=s(n.realpath),$={stat:O,lstat:T},L=new Map,N=new Set([69888,70400,71424,72704,73472,131328,131840,262912]),P=(t,e)=>({stop:o.watch(t,e)}),D=(t,e)=>{let r=0;for(;!t.indexOf(e)&&(t=i.dirname(t))!==e;)r++;return r},k=(t,e)=>t.type===E&&e.isDirectory()||t.type===w&&e.isSymbolicLink()||t.type===g&&e.isFile();t.exports=class{constructor(t){this.fsw=t}checkIgnored(t,e){const r=this.fsw._ignoredPaths;if(this.fsw._isIgnored(t,e))return r.add(t),e&&e.isDirectory()&&r.add(t+S),!0;r.delete(t),r.delete(t+S)}addOrChange(t,e,r,n,i,s,o,c){const l=i.has(s)?u:a;this.handleEvent(l,t,e,r,n,i,s,o,c)}async checkExists(t,e,r,n,i,s,o,a){try{const u=await O(t);if(this.fsw.closed)return;k(o,u)?this.addOrChange(t,e,r,n,i,s,o,a):this.handleEvent(l,t,e,r,n,i,s,o,a)}catch(u){"EACCES"===u.code?this.addOrChange(t,e,r,n,i,s,o,a):this.handleEvent(l,t,e,r,n,i,s,o,a)}}handleEvent(t,e,r,n,i,s,o,u,h){if(!this.fsw.closed&&!this.checkIgnored(e))if(t===l){const t=u.type===E;(t||s.has(o))&&this.fsw._remove(i,o,t)}else{if(t===a){if(u.type===E&&this.fsw._getWatchedDir(e),u.type===w&&h.followSymlinks){const t=void 0===h.depth?void 0:D(r,n)+1;return this._addToFsEvents(e,!1,!0,t)}this.fsw._getWatchedDir(i).add(o)}const s=u.type===E?t+R:t;this.fsw._emit(s,e),s===c&&this._addToFsEvents(e,!1,!0)}}_watchWithFsEvents(t,e,r,n){if(this.fsw.closed||this.fsw._isIgnored(t))return;const s=this.fsw.options,a=function(t,e,r,n){let s=i.extname(e)?i.dirname(e):e;const a=i.dirname(s);let u=L.get(s);(t=>{let e=0;for(const r of L.keys())if(0===r.indexOf(t)&&(e++,e>=10))return!0;return!1})(a)&&(s=a);const c=i.resolve(t),l=c!==e,h=(t,n,s)=>{l&&(t=t.replace(e,c)),t!==c&&t.indexOf(c+i.sep)||r(t,n,s)};let p=!1;for(const t of L.keys())if(0===e.indexOf(i.resolve(t)+i.sep)){s=t,u=L.get(s),p=!0;break}return u||p?u.listeners.add(h):(u={listeners:new Set([h]),rawEmitter:n,watcher:P(s,((t,e)=>{if(!u.listeners.size)return;const r=o.getInfo(t,e);u.listeners.forEach((n=>{n(t,e,r)})),u.rawEmitter(r.event,t,r)}))},L.set(s,u)),()=>{const t=u.listeners;if(t.delete(h),!t.size&&(L.delete(s),u.watcher))return u.watcher.stop().then((()=>{u.rawEmitter=u.watcher=void 0,Object.freeze(u)}))}}(t,e,(async(o,a,u)=>{if(this.fsw.closed)return;if(void 0!==s.depth&&D(o,e)>s.depth)return;const c=r(i.join(t,i.relative(t,o)));if(n&&!n(c))return;const h=i.dirname(c),p=i.basename(c),f=this.fsw._getWatchedDir(u.type===E?c:h);if(N.has(a)||u.event===y)if(typeof s.ignored===b){let t;try{t=await O(c)}catch(t){}if(this.fsw.closed)return;if(this.checkIgnored(c,t))return;k(u,t)?this.addOrChange(c,o,e,h,f,p,u,s):this.handleEvent(l,c,o,e,h,f,p,u,s)}else this.checkExists(c,o,e,h,f,p,u,s);else switch(u.event){case d:case _:return this.addOrChange(c,o,e,h,f,p,u,s);case v:case m:return this.checkExists(c,o,e,h,f,p,u,s)}}),this.fsw._emitRaw);return this.fsw._emitReady(),a}async _handleFsEventsSymlink(t,e,r,n){if(!this.fsw.closed&&!this.fsw._symlinkPaths.has(e)){this.fsw._symlinkPaths.set(e,!0),this.fsw._incrReadyCount();try{const e=await C(t);if(this.fsw.closed)return;if(this.fsw._isIgnored(e))return this.fsw._emitReady();this.fsw._incrReadyCount(),this._addToFsEvents(e||t,(n=>{let s=t;return e&&e!==A?s=n.replace(e,t):n!==A&&(s=i.join(t,n)),r(s)}),!1,n)}catch(t){if(this.fsw._handleError(t))return this.fsw._emitReady()}}}emitAdd(t,e,r,n,s){const o=r(t),u=e.isDirectory(),l=this.fsw._getWatchedDir(i.dirname(o)),h=i.basename(o);u&&this.fsw._getWatchedDir(o),l.has(h)||(l.add(h),n.ignoreInitial&&!0!==s||this.fsw._emit(u?c:a,o,e))}initWatch(t,e,r,n){if(this.fsw.closed)return;const s=this._watchWithFsEvents(r.watchPath,i.resolve(t||r.watchPath),n,r.globFilter);this.fsw._addPathCloser(e,s)}async _addToFsEvents(t,e,r,n){if(this.fsw.closed)return;const s=this.fsw.options,o=typeof e===b?e:x,a=this.fsw._getWatchHelpers(t);try{const e=await $[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,e))throw null;if(e.isDirectory()){if(a.globFilter||this.emitAdd(o(t),e,o,s,r),n&&n>s.depth)return;this.fsw._readdirp(a.watchPath,{fileFilter:t=>a.filterPath(t),directoryFilter:t=>a.filterDir(t),...(u=s.depth-(n||0),isNaN(u)?{}:{depth:u})}).on(p,(t=>{if(this.fsw.closed)return;if(t.stats.isDirectory()&&!a.filterPath(t))return;const e=i.join(a.watchPath,t.path),{fullPath:n}=t;if(a.followSymlinks&&t.stats.isSymbolicLink()){const t=void 0===s.depth?void 0:D(e,i.resolve(a.watchPath))+1;this._handleFsEventsSymlink(e,n,o,t)}else this.emitAdd(e,t.stats,o,s,r)})).on(h,I).on(f,(()=>{this.fsw._emitReady()}))}else this.emitAdd(a.watchPath,e,o,s,r),this.fsw._emitReady()}catch(t){t&&!this.fsw._handleError(t)||(this.fsw._emitReady(),this.fsw._emitReady())}var u;if(s.persistent&&!0!==r)if(typeof e===b)this.initWatch(void 0,t,a,o);else{let e;try{e=await C(a.watchPath)}catch(t){}this.initWatch(e,t,a,o)}}},t.exports.canUse=()=>o&&L.size<128},37833:(t,e,r)=>{"use strict";const n=r(57147),i=r(71017),{promisify:s}=r(73837),o=r(97978),{isWindows:a,isLinux:u,EMPTY_FN:c,EMPTY_STR:l,KEY_LISTENERS:h,KEY_ERR:p,KEY_RAW:f,HANDLER_KEYS:d,EV_CHANGE:_,EV_ADD:v,EV_ADD_DIR:m,EV_ERROR:y,STR_DATA:g,STR_END:E,BRACE_START:w,STAR:S}=r(17162),R=s(n.open),A=s(n.stat),b=s(n.lstat),I=s(n.close),x=s(n.realpath),O={lstat:b,stat:A},T=(t,e)=>{t instanceof Set?t.forEach(e):e(t)},C=(t,e,r)=>{let n=t[e];n instanceof Set||(t[e]=n=new Set([n])),n.add(r)},$=(t,e,r)=>{const n=t[e];n instanceof Set?n.delete(r):n===r&&delete t[e]},L=t=>t instanceof Set?0===t.size:!t,N=new Map;function P(t,e,r,s,o){const a=(e,n)=>{r(t),o(e,n,{watchedPath:t}),n&&t!==n&&D(i.resolve(t,n),h,i.join(t,n))};try{return n.watch(t,e,a)}catch(t){s(t)}}const D=(t,e,r,n,i)=>{const s=N.get(t);s&&T(s[e],(t=>{t(r,n,i)}))},k=new Map;t.exports=class{constructor(t){this.fsw=t,this._boundHandleError=e=>t._handleError(e)}_watchWithNodeFs(t,e){const r=this.fsw.options,s=i.dirname(t),u=i.basename(t);this.fsw._getWatchedDir(s).add(u);const l=i.resolve(t),v={persistent:r.persistent};let m;return e||(e=c),r.usePolling?(v.interval=r.enableBinaryInterval&&o(u)?r.binaryInterval:r.interval,m=((t,e,r,i)=>{const{listener:s,rawEmitter:o}=i;let a=k.get(e),u=new Set,c=new Set;const l=a&&a.options;return l&&(l.persistent<r.persistent||l.interval>r.interval)&&(u=a.listeners,c=a.rawEmitters,n.unwatchFile(e),a=void 0),a?(C(a,h,s),C(a,f,o)):(a={listeners:s,rawEmitters:o,options:r,watcher:n.watchFile(e,r,((r,n)=>{T(a.rawEmitters,(t=>{t(_,e,{curr:r,prev:n})}));const i=r.mtimeMs;(r.size!==n.size||i>n.mtimeMs||0===i)&&T(a.listeners,(e=>e(t,r)))}))},k.set(e,a)),()=>{$(a,h,s),$(a,f,o),L(a.listeners)&&(k.delete(e),n.unwatchFile(e),a.options=a.watcher=void 0,Object.freeze(a))}})(t,l,v,{listener:e,rawEmitter:this.fsw._emitRaw})):m=((t,e,r,n)=>{const{listener:i,errHandler:s,rawEmitter:o}=n;let u,c=N.get(e);if(!r.persistent)return u=P(t,r,i,s,o),u.close.bind(u);if(c)C(c,h,i),C(c,p,s),C(c,f,o);else{if(u=P(t,r,D.bind(null,e,h),s,D.bind(null,e,f)),!u)return;u.on(y,(async r=>{const n=D.bind(null,e,p);if(c.watcherUnusable=!0,a&&"EPERM"===r.code)try{const e=await R(t,"r");await I(e),n(r)}catch(t){}else n(r)})),c={listeners:i,errHandlers:s,rawEmitters:o,watcher:u},N.set(e,c)}return()=>{$(c,h,i),$(c,p,s),$(c,f,o),L(c.listeners)&&(c.watcher.close(),N.delete(e),d.forEach((t=>e=>{const r=t[e];r instanceof Set?r.clear():delete t[e]})(c)),c.watcher=void 0,Object.freeze(c))}})(t,l,v,{listener:e,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw}),m}_handleFile(t,e,r){if(this.fsw.closed)return;const n=i.dirname(t),s=i.basename(t),o=this.fsw._getWatchedDir(n);let a=e;if(o.has(s))return;const c=async(e,r)=>{if(this.fsw._throttle("watch",t,5))if(r&&0!==r.mtimeMs){if(o.has(s)){const e=r.atimeMs,n=r.mtimeMs;(!e||e<=n||n!==a.mtimeMs)&&this.fsw._emit(_,t,r),a=r}}else try{const r=await A(t);if(this.fsw.closed)return;const n=r.atimeMs,i=r.mtimeMs;(!n||n<=i||i!==a.mtimeMs)&&this.fsw._emit(_,t,r),u&&a.ino!==r.ino?(this.fsw._closeFile(e),a=r,this.fsw._addPathCloser(e,this._watchWithNodeFs(t,c))):a=r}catch(t){this.fsw._remove(n,s)}},l=this._watchWithNodeFs(t,c);if((!r||!this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(t)){if(!this.fsw._throttle(v,t,0))return;this.fsw._emit(v,t,e)}return l}async _handleSymlink(t,e,r,n){if(this.fsw.closed)return;const i=t.fullPath,s=this.fsw._getWatchedDir(e);if(!this.fsw.options.followSymlinks){let e;this.fsw._incrReadyCount();try{e=await x(r)}catch(t){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;return s.has(n)?this.fsw._symlinkPaths.get(i)!==e&&(this.fsw._symlinkPaths.set(i,e),this.fsw._emit(_,r,t.stats)):(s.add(n),this.fsw._symlinkPaths.set(i,e),this.fsw._emit(v,r,t.stats)),this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(i))return!0;this.fsw._symlinkPaths.set(i,!0)}_handleRead(t,e,r,n,s,o,a){if(t=i.join(t,l),!r.hasGlob&&!(a=this.fsw._throttle("readdir",t,1e3)))return;const u=this.fsw._getWatchedDir(r.path),c=new Set;let h=this.fsw._readdirp(t,{fileFilter:t=>r.filterPath(t),directoryFilter:t=>r.filterDir(t),depth:0}).on(g,(async a=>{if(this.fsw.closed)return void(h=void 0);const l=a.path;let p=i.join(t,l);c.add(l),a.stats.isSymbolicLink()&&await this._handleSymlink(a,t,p,l)||(this.fsw.closed?h=void 0:l!==n&&(n||u.has(l))||(this.fsw._incrReadyCount(),p=i.join(s,i.relative(s,p)),this._addToNodeFs(p,e,r,o+1)))})).on(y,this._boundHandleError);return new Promise((e=>h.once(E,(()=>{if(this.fsw.closed)return void(h=void 0);const l=!!a&&a.clear();e(),u.getChildren().filter((e=>e!==t&&!c.has(e)&&(!r.hasGlob||r.filterPath({fullPath:i.resolve(t,e)})))).forEach((e=>{this.fsw._remove(t,e)})),h=void 0,l&&this._handleRead(t,!1,r,n,s,o,a)}))))}async _handleDir(t,e,r,n,s,o,a){const u=this.fsw._getWatchedDir(i.dirname(t)),c=u.has(i.basename(t));let l,h;r&&this.fsw.options.ignoreInitial||s||c||o.hasGlob&&!o.globFilter(t)||this.fsw._emit(m,t,e),u.add(i.basename(t)),this.fsw._getWatchedDir(t);const p=this.fsw.options.depth;if((null==p||n<=p)&&!this.fsw._symlinkPaths.has(a)){if(!s&&(await this._handleRead(t,r,o,s,t,n,l),this.fsw.closed))return;h=this._watchWithNodeFs(t,((e,r)=>{r&&0===r.mtimeMs||this._handleRead(e,!1,o,s,t,n,l)}))}return h}async _addToNodeFs(t,e,r,n,s){const o=this.fsw._emitReady;if(this.fsw._isIgnored(t)||this.fsw.closed)return o(),!1;const a=this.fsw._getWatchHelpers(t,n);!a.hasGlob&&r&&(a.hasGlob=r.hasGlob,a.globFilter=r.globFilter,a.filterPath=t=>r.filterPath(t),a.filterDir=t=>r.filterDir(t));try{const r=await O[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,r))return o(),!1;const u=this.fsw.options.followSymlinks&&!t.includes(S)&&!t.includes(w);let c;if(r.isDirectory()){const o=i.resolve(t),l=u?await x(t):t;if(this.fsw.closed)return;if(c=await this._handleDir(a.watchPath,r,e,n,s,a,l),this.fsw.closed)return;o!==l&&void 0!==l&&this.fsw._symlinkPaths.set(o,l)}else if(r.isSymbolicLink()){const s=u?await x(t):t;if(this.fsw.closed)return;const o=i.dirname(a.watchPath);if(this.fsw._getWatchedDir(o).add(a.watchPath),this.fsw._emit(v,a.watchPath,r),c=await this._handleDir(o,r,e,n,t,a,s),this.fsw.closed)return;void 0!==s&&this.fsw._symlinkPaths.set(i.resolve(t),s)}else c=this._handleFile(a.watchPath,r,e);return o(),this.fsw._addPathCloser(t,c),!1}catch(e){if(this.fsw._handleError(e))return o(),t}}}},99198:(t,e,r)=>{"use strict";const n=r(32081),i=r(54760),s=r(68451);function o(t,e,r){const o=i(t,e,r),a=n.spawn(o.command,o.args,o.options);return s.hookChildProcess(a,o),a}t.exports=o,t.exports.spawn=o,t.exports.sync=function(t,e,r){const o=i(t,e,r),a=n.spawnSync(o.command,o.args,o.options);return a.error=a.error||s.verifyENOENTSync(a.status,o),a},t.exports._parse=i,t.exports._enoent=s},68451:t=>{"use strict";const e="win32"===process.platform;function r(t,e){return Object.assign(new Error(`${e} ${t.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e} ${t.command}`,path:t.command,spawnargs:t.args})}function n(t,n){return e&&1===t&&!n.file?r(n.original,"spawn"):null}t.exports={hookChildProcess:function(t,r){if(!e)return;const i=t.emit;t.emit=function(e,s){if("exit"===e){const e=n(s,r);if(e)return i.call(t,"error",e)}return i.apply(t,arguments)}},verifyENOENT:n,verifyENOENTSync:function(t,n){return e&&1===t&&!n.file?r(n.original,"spawnSync"):null},notFoundError:r}},54760:(t,e,r)=>{"use strict";const n=r(71017),i=r(47645),s=r(60565),o=r(90864),a="win32"===process.platform,u=/\.(?:com|exe)$/i,c=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;t.exports=function(t,e,r){e&&!Array.isArray(e)&&(r=e,e=null);const l={command:t,args:e=e?e.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:t,args:e}};return r.shell?l:function(t){if(!a)return t;const e=function(t){t.file=i(t);const e=t.file&&o(t.file);return e?(t.args.unshift(t.file),t.command=e,i(t)):t.file}(t),r=!u.test(e);if(t.options.forceShell||r){const r=c.test(e);t.command=n.normalize(t.command),t.command=s.command(t.command),t.args=t.args.map((t=>s.argument(t,r)));const i=[t.command].concat(t.args).join(" ");t.args=["/d","/s","/c",`"${i}"`],t.command=process.env.comspec||"cmd.exe",t.options.windowsVerbatimArguments=!0}return t}(l)}},60565:t=>{"use strict";const e=/([()\][%!^"`<>&|;, *?])/g;t.exports.command=function(t){return t.replace(e,"^$1")},t.exports.argument=function(t,r){return t=(t=`"${t=(t=(t=`${t}`).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(e,"^$1"),r&&(t=t.replace(e,"^$1")),t}},90864:(t,e,r)=>{"use strict";const n=r(57147),i=r(10646);t.exports=function(t){const e=Buffer.alloc(150);let r;try{r=n.openSync(t,"r"),n.readSync(r,e,0,150,0),n.closeSync(r)}catch(t){}return i(e.toString())}},47645:(t,e,r)=>{"use strict";const n=r(71017),i=r(85746),s=r(96919);function o(t,e){const r=t.options.env||process.env,o=process.cwd(),a=null!=t.options.cwd,u=a&&void 0!==process.chdir&&!process.chdir.disabled;if(u)try{process.chdir(t.options.cwd)}catch(t){}let c;try{c=i.sync(t.command,{path:r[s({env:r})],pathExt:e?n.delimiter:void 0})}catch(t){}finally{u&&process.chdir(o)}return c&&(c=n.resolve(a?t.options.cwd:"",c)),c}t.exports=function(t){return o(t)||o(t,!0)}},34987:(t,e,r)=>{"use strict";const n=r(71017),i=r(32081),s=r(99198),o=r(25133),a=r(72002),u=r(52499),c=r(19053),l=r(88089),{spawnedKill:h,spawnedCancel:p,setupTimeout:f,validateTimeout:d,setExitHandler:_}=r(83675),{handleInput:v,getSpawnedResult:m,makeAllStream:y,validateInputSync:g}=r(19501),{mergePromise:E,getSpawnedPromise:w}=r(48998),{joinCommand:S,parseCommand:R,getEscapedCommand:A}=r(10858),b=(t,e,r={})=>{const i=s._parse(t,e,r);return t=i.command,e=i.args,(r={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(r=i.options).cwd||process.cwd(),execPath:process.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,...r}).env=(({env:t,extendEnv:e,preferLocal:r,localDir:n,execPath:i})=>{const s=e?{...process.env,...t}:t;return r?a.env({env:s,cwd:n,execPath:i}):s})(r),r.stdio=l(r),"win32"===process.platform&&"cmd"===n.basename(t,".exe")&&e.unshift("/q"),{file:t,args:e,options:r,parsed:i}},I=(t,e,r)=>"string"==typeof e||Buffer.isBuffer(e)?t.stripFinalNewline?o(e):e:void 0===r?void 0:"",x=(t,e,r)=>{const n=b(t,e,r),s=S(t,e),o=A(t,e);let a;d(n.options);try{a=i.spawn(n.file,n.args,n.options)}catch(t){const e=new i.ChildProcess,r=Promise.reject(c({error:t,stdout:"",stderr:"",all:"",command:s,escapedCommand:o,parsed:n,timedOut:!1,isCanceled:!1,killed:!1}));return E(e,r)}const l=w(a),g=f(a,n.options,l),R=_(a,n.options,g),x={isCanceled:!1};a.kill=h.bind(null,a.kill.bind(a)),a.cancel=p.bind(null,a,x);const O=u((async()=>{const[{error:t,exitCode:e,signal:r,timedOut:i},u,l,h]=await m(a,n.options,R),p=I(n.options,u),f=I(n.options,l),d=I(n.options,h);if(t||0!==e||null!==r){const u=c({error:t,exitCode:e,signal:r,stdout:p,stderr:f,all:d,command:s,escapedCommand:o,parsed:n,timedOut:i,isCanceled:x.isCanceled,killed:a.killed});if(!n.options.reject)return u;throw u}return{command:s,escapedCommand:o,exitCode:0,stdout:p,stderr:f,all:d,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}));return v(a,n.options.input),a.all=y(a,n.options),E(a,O)};t.exports=x,t.exports.sync=(t,e,r)=>{const n=b(t,e,r),s=S(t,e),o=A(t,e);let a;g(n.options);try{a=i.spawnSync(n.file,n.args,n.options)}catch(t){throw c({error:t,stdout:"",stderr:"",all:"",command:s,escapedCommand:o,parsed:n,timedOut:!1,isCanceled:!1,killed:!1})}const u=I(n.options,a.stdout,a.error),l=I(n.options,a.stderr,a.error);if(a.error||0!==a.status||null!==a.signal){const t=c({stdout:u,stderr:l,error:a.error,signal:a.signal,exitCode:a.status,command:s,escapedCommand:o,parsed:n,timedOut:a.error&&"ETIMEDOUT"===a.error.code,isCanceled:!1,killed:null!==a.signal});if(!n.options.reject)return t;throw t}return{command:s,escapedCommand:o,exitCode:0,stdout:u,stderr:l,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}},t.exports.command=(t,e)=>{const[r,...n]=R(t);return x(r,n,e)},t.exports.commandSync=(t,e)=>{const[r,...n]=R(t);return x.sync(r,n,e)},t.exports.node=(t,e,r={})=>{e&&!Array.isArray(e)&&"object"==typeof e&&(r=e,e=[]);const n=l.node(r),i=process.execArgv.filter((t=>!t.startsWith("--inspect"))),{nodePath:s=process.execPath,nodeOptions:o=i}=r;return x(s,[...o,t,...Array.isArray(e)?e:[]],{...r,stdin:void 0,stdout:void 0,stderr:void 0,stdio:n,shell:!1})}},10858:t=>{"use strict";const e=(t,e=[])=>Array.isArray(e)?[t,...e]:[t],r=/^[\w.-]+$/,n=/"/g,i=/ +/g;t.exports={joinCommand:(t,r)=>e(t,r).join(" "),getEscapedCommand:(t,i)=>e(t,i).map((t=>(t=>"string"!=typeof t||r.test(t)?t:`"${t.replace(n,'\\"')}"`)(t))).join(" "),parseCommand:t=>{const e=[];for(const r of t.trim().split(i)){const t=e[e.length-1];t&&t.endsWith("\\")?e[e.length-1]=`${t.slice(0,-1)} ${r}`:e.push(r)}return e}}},19053:(t,e,r)=>{"use strict";const{signalsByName:n}=r(74296);t.exports=({stdout:t,stderr:e,all:r,error:i,signal:s,exitCode:o,command:a,escapedCommand:u,timedOut:c,isCanceled:l,killed:h,parsed:{options:{timeout:p}}})=>{o=null===o?void 0:o;const f=void 0===(s=null===s?void 0:s)?void 0:n[s].description,d=(({timedOut:t,timeout:e,errorCode:r,signal:n,signalDescription:i,exitCode:s,isCanceled:o})=>t?`timed out after ${e} milliseconds`:o?"was canceled":void 0!==r?`failed with ${r}`:void 0!==n?`was killed with ${n} (${i})`:void 0!==s?`failed with exit code ${s}`:"failed")({timedOut:c,timeout:p,errorCode:i&&i.code,signal:s,signalDescription:f,exitCode:o,isCanceled:l}),_=`Command ${d}: ${a}`,v="[object Error]"===Object.prototype.toString.call(i),m=v?`${_}\n${i.message}`:_,y=[m,e,t].filter(Boolean).join("\n");return v?(i.originalMessage=i.message,i.message=y):i=new Error(y),i.shortMessage=m,i.command=a,i.escapedCommand=u,i.exitCode=o,i.signal=s,i.signalDescription=f,i.stdout=t,i.stderr=e,void 0!==r&&(i.all=r),"bufferedData"in i&&delete i.bufferedData,i.failed=!0,i.timedOut=Boolean(c),i.isCanceled=l,i.killed=h&&!c,i}},83675:(t,e,r)=>{"use strict";const n=r(22037),i=r(303),s=(t,{forceKillAfterTimeout:e},r)=>o(t)&&!1!==e&&r,o=t=>t===n.constants.signals.SIGTERM||"string"==typeof t&&"SIGTERM"===t.toUpperCase(),a=({forceKillAfterTimeout:t=!0})=>{if(!0===t)return 5e3;if(!Number.isFinite(t)||t<0)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${t}\` (${typeof t})`);return t};t.exports={spawnedKill:(t,e="SIGTERM",r={})=>{const n=t(e);return((t,e,r,n)=>{if(!s(e,r,n))return;const i=a(r),o=setTimeout((()=>{t("SIGKILL")}),i);o.unref&&o.unref()})(t,e,r,n),n},spawnedCancel:(t,e)=>{t.kill()&&(e.isCanceled=!0)},setupTimeout:(t,{timeout:e,killSignal:r="SIGTERM"},n)=>{if(0===e||void 0===e)return n;let i;const s=new Promise(((n,s)=>{i=setTimeout((()=>{((t,e,r)=>{t.kill(e),r(Object.assign(new Error("Timed out"),{timedOut:!0,signal:e}))})(t,r,s)}),e)})),o=n.finally((()=>{clearTimeout(i)}));return Promise.race([s,o])},validateTimeout:({timeout:t})=>{if(void 0!==t&&(!Number.isFinite(t)||t<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${t}\` (${typeof t})`)},setExitHandler:async(t,{cleanup:e,detached:r},n)=>{if(!e||r)return n;const s=i((()=>{t.kill()}));return n.finally((()=>{s()}))}}},48998:t=>{"use strict";const e=(async()=>{})().constructor.prototype,r=["then","catch","finally"].map((t=>[t,Reflect.getOwnPropertyDescriptor(e,t)]));t.exports={mergePromise:(t,e)=>{for(const[n,i]of r){const r="function"==typeof e?(...t)=>Reflect.apply(i.value,e(),t):i.value.bind(e);Reflect.defineProperty(t,n,{...i,value:r})}return t},getSpawnedPromise:t=>new Promise(((e,r)=>{t.on("exit",((t,r)=>{e({exitCode:t,signal:r})})),t.on("error",(t=>{r(t)})),t.stdin&&t.stdin.on("error",(t=>{r(t)}))}))}},88089:t=>{"use strict";const e=["stdin","stdout","stderr"],r=t=>{if(!t)return;const{stdio:r}=t;if(void 0===r)return e.map((e=>t[e]));if((t=>e.some((e=>void 0!==t[e])))(t))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${e.map((t=>`\`${t}\``)).join(", ")}`);if("string"==typeof r)return r;if(!Array.isArray(r))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof r}\``);const n=Math.max(r.length,e.length);return Array.from({length:n},((t,e)=>r[e]))};t.exports=r,t.exports.node=t=>{const e=r(t);return"ipc"===e?"ipc":void 0===e||"string"==typeof e?[e,e,e,"ipc"]:e.includes("ipc")?e:[...e,"ipc"]}},19501:(t,e,r)=>{"use strict";const n=r(68572),i=r(74998),s=r(94866),o=async(t,e)=>{if(t){t.destroy();try{return await e}catch(t){return t.bufferedData}}},a=(t,{encoding:e,buffer:r,maxBuffer:n})=>{if(t&&r)return e?i(t,{encoding:e,maxBuffer:n}):i.buffer(t,{maxBuffer:n})};t.exports={handleInput:(t,e)=>{void 0!==e&&void 0!==t.stdin&&(n(e)?e.pipe(t.stdin):t.stdin.end(e))},makeAllStream:(t,{all:e})=>{if(!e||!t.stdout&&!t.stderr)return;const r=s();return t.stdout&&r.add(t.stdout),t.stderr&&r.add(t.stderr),r},getSpawnedResult:async({stdout:t,stderr:e,all:r},{encoding:n,buffer:i,maxBuffer:s},u)=>{const c=a(t,{encoding:n,buffer:i,maxBuffer:s}),l=a(e,{encoding:n,buffer:i,maxBuffer:s}),h=a(r,{encoding:n,buffer:i,maxBuffer:2*s});try{return await Promise.all([u,c,l,h])}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},o(t,c),o(e,l),o(r,h)])}},validateInputSync:({input:t})=>{if(n(t))throw new TypeError("The `input` option cannot be a stream in sync mode")}}},72661:(t,e,r)=>{"use strict";const n=r(73837),i=r(53555),s=t=>null!==t&&"object"==typeof t&&!Array.isArray(t),o=t=>"number"==typeof t||"string"==typeof t&&""!==t,a=t=>Number.isInteger(+t),u=t=>{let e=`${t}`,r=-1;if("-"===e[0]&&(e=e.slice(1)),"0"===e)return!1;for(;"0"===e[++r];);return r>0},c=(t,e,r)=>{if(e>0){let r="-"===t[0]?"-":"";r&&(t=t.slice(1)),t=r+t.padStart(r?e-1:e,"0")}return!1===r?String(t):t},l=(t,e)=>{let r="-"===t[0]?"-":"";for(r&&(t=t.slice(1),e--);t.length<e;)t="0"+t;return r?"-"+t:t},h=(t,e,r,n)=>{if(r)return i(t,e,{wrap:!1,...n});let s=String.fromCharCode(t);return t===e?s:`[${s}-${String.fromCharCode(e)}]`},p=(t,e,r)=>{if(Array.isArray(t)){let e=!0===r.wrap,n=r.capture?"":"?:";return e?`(${n}${t.join("|")})`:t.join("|")}return i(t,e,r)},f=(...t)=>new RangeError("Invalid range arguments: "+n.inspect(...t)),d=(t,e,r)=>{if(!0===r.strictRanges)throw f([t,e]);return[]},_=(t,e,r,n={})=>{if(null==e&&o(t))return[t];if(!o(t)||!o(e))return d(t,e,n);if("function"==typeof r)return _(t,e,1,{transform:r});if(s(r))return _(t,e,0,r);let i={...n};return!0===i.capture&&(i.wrap=!0),r=r||i.step||1,a(r)?a(t)&&a(e)?((t,e,r=1,n={})=>{let i=Number(t),s=Number(e);if(!Number.isInteger(i)||!Number.isInteger(s)){if(!0===n.strictRanges)throw f([t,e]);return[]}0===i&&(i=0),0===s&&(s=0);let o=i>s,a=String(t),d=String(e),_=String(r);r=Math.max(Math.abs(r),1);let v=u(a)||u(d)||u(_),m=v?Math.max(a.length,d.length,_.length):0,y=!1===v&&!1===((t,e,r)=>"string"==typeof t||"string"==typeof e||!0===r.stringify)(t,e,n),g=n.transform||(t=>e=>!0===t?Number(e):String(e))(y);if(n.toRegex&&1===r)return h(l(t,m),l(e,m),!0,n);let E={negatives:[],positives:[]},w=[],S=0;for(;o?i>=s:i<=s;)!0===n.toRegex&&r>1?E[(R=i)<0?"negatives":"positives"].push(Math.abs(R)):w.push(c(g(i,S),m,y)),i=o?i-r:i+r,S++;var R;return!0===n.toRegex?r>1?((t,e)=>{t.negatives.sort(((t,e)=>t<e?-1:t>e?1:0)),t.positives.sort(((t,e)=>t<e?-1:t>e?1:0));let r,n=e.capture?"":"?:",i="",s="";return t.positives.length&&(i=t.positives.join("|")),t.negatives.length&&(s=`-(${n}${t.negatives.join("|")})`),r=i&&s?`${i}|${s}`:i||s,e.wrap?`(${n}${r})`:r})(E,n):p(w,null,{wrap:!1,...n}):w})(t,e,r,i):((t,e,r=1,n={})=>{if(!a(t)&&t.length>1||!a(e)&&e.length>1)return d(t,e,n);let i=n.transform||(t=>String.fromCharCode(t)),s=`${t}`.charCodeAt(0),o=`${e}`.charCodeAt(0),u=s>o,c=Math.min(s,o),l=Math.max(s,o);if(n.toRegex&&1===r)return h(c,l,!1,n);let f=[],_=0;for(;u?s>=o:s<=o;)f.push(i(s,_)),s=u?s-r:s+r,_++;return!0===n.toRegex?p(f,null,{wrap:!1,options:n}):f})(t,e,Math.max(Math.abs(r),1),i):null==r||s(r)?_(t,e,1,r):((t,e)=>{if(!0===e.strictRanges)throw new TypeError(`Expected step "${t}" to be a number`);return[]})(r,i)};t.exports=_},55874:(t,e,r)=>{"use strict";if("darwin"!==process.platform)throw new Error(`Module 'fsevents' is not compatible with platform '${process.platform}'`);const n=r(98483),i=n.constants;function s(t){return i.ItemIsFile&t?"file":i.ItemIsDir&t?"directory":i.ItemIsSymlink&t?"symlink":void 0}function o(t){return i.ItemRemoved&t?"deleted":i.ItemRenamed&t?"moved":i.ItemCreated&t?"created":i.ItemModified&t?"modified":i.RootChanged&t?"root-changed":i.ItemCloned&t?"cloned":function(t){for(let e in t)if(t[e])return!0;return!1}(t)?"modified":"unknown"}function a(t){return{inode:!!(i.ItemInodeMetaMod&t),finder:!!(i.ItemFinderInfoMod&t),access:!!(i.ItemChangeOwner&t),xattrs:!!(i.ItemXattrMod&t)}}e.watch=function(t,e,i){if("string"!=typeof t)throw new TypeError("fsevents argument 1 must be a string and not a "+typeof t);if("function"==typeof e&&void 0===i&&(i=e,e=n.flags.SinceNow),"number"!=typeof e)throw new TypeError("fsevents argument 2 must be a number and not a "+typeof e);if("function"!=typeof i)throw new TypeError("fsevents argument 3 must be a function and not a "+typeof i);let s=new(r(87993))(t),o=n.start(n.global,s.resolvedPath,e,s.wrap(i));if(!o)throw new Error(`could not watch: ${t}`);return()=>{const t=o?Promise.resolve(o).then(n.stop):Promise.resolve(void 0);return o=void 0,t}},e.getInfo=function(t,e){return{path:t,flags:e,event:o(e),type:s(e),changes:a(e)}},e.constants=i},87993:(t,e,r)=>{const n=r(71017);let i=null;try{i=r(35125)}catch{}if(null!=i){const e=function(t){const e=new Map;for(const r of t.getAllLocators()){const n=t.getPackageInformation(r);console.assert(n,"The package information should be available");const i=t.resolveVirtual(n.packageLocation);if(null===i)continue;const s=e.get(i)||[i];e.set(i,s),s.push(n.packageLocation)}const r=[...e.keys()].sort(((t,e)=>e.length-t.length));return t=>{const n=r.find((e=>t.startsWith(e)));if(void 0===n)return[t];const i=t.substr(n.length);return e.get(n).map((t=>t+i))}}(i);t.exports=class{constructor(t){this.normalizedPath=n.resolve(t),this.resolvedPath=i.resolveVirtual(this.normalizedPath)||this.normalizedPath}transpose(t){return null!==this.resolvedPath?this.normalizedPath+t.substr(this.resolvedPath.length):t}wrap(t){return(r,...n)=>{for(const i of e(r))t(this.transpose(i),...n)}}}}else t.exports=class{constructor(t){this.resolvedPath=t}wrap(t){return t}}},73661:(t,e,r)=>{"use strict";const{PassThrough:n}=r(12781);t.exports=t=>{t={...t};const{array:e}=t;let{encoding:r}=t;const i="buffer"===r;let s=!1;e?s=!(r||i):r=r||"utf8",i&&(r=null);const o=new n({objectMode:s});r&&o.setEncoding(r);let a=0;const u=[];return o.on("data",(t=>{u.push(t),s?a=u.length:a+=t.length})),o.getBufferedValue=()=>e?u:i?Buffer.concat(u,a):u.join(""),o.getBufferedLength=()=>a,o}},74998:(t,e,r)=>{"use strict";const{constants:n}=r(14300),i=r(12781),{promisify:s}=r(73837),o=r(73661),a=s(i.pipeline);class u extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}async function c(t,e){if(!t)throw new Error("Expected a stream");e={maxBuffer:1/0,...e};const{maxBuffer:r}=e,i=o(e);return await new Promise(((e,s)=>{const o=t=>{t&&i.getBufferedLength()<=n.MAX_LENGTH&&(t.bufferedData=i.getBufferedValue()),s(t)};(async()=>{try{await a(t,i),e()}catch(t){o(t)}})(),i.on("data",(()=>{i.getBufferedLength()>r&&o(new u)}))})),i.getBufferedValue()}t.exports=c,t.exports.buffer=(t,e)=>c(t,{...e,encoding:"buffer"}),t.exports.array=(t,e)=>c(t,{...e,array:!0}),t.exports.MaxBufferError=u},53797:(t,e,r)=>{"use strict";var n=r(46938),i=r(71017).posix.dirname,s="win32"===r(22037).platform(),o=/\\/g,a=/[\{\[].*[\}\]]$/,u=/(^|[^\\])([\{\[]|\([^\)]+$)/,c=/\\([\!\*\?\|\[\]\(\)\{\}])/g;t.exports=function(t,e){Object.assign({flipBackslashes:!0},e).flipBackslashes&&s&&t.indexOf("/")<0&&(t=t.replace(o,"/")),a.test(t)&&(t+="/"),t+="a";do{t=i(t)}while(n(t)||u.test(t));return t.replace(c,"$1")}},79604:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SIGNALS=void 0,e.SIGNALS=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}]},74296:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.signalsByNumber=e.signalsByName=void 0;var n=r(22037),i=r(88027),s=r(43201);const o=(0,i.getSignals)().reduce((function(t,{name:e,number:r,description:n,supported:i,action:s,forced:o,standard:a}){return{...t,[e]:{name:e,number:r,description:n,supported:i,action:s,forced:o,standard:a}}}),{});e.signalsByName=o;const a=function(t,e){const r=e.find((({name:e})=>n.constants.signals[e]===t));return void 0!==r?r:e.find((e=>e.number===t))},u=function(){const t=(0,i.getSignals)(),e=s.SIGRTMAX+1,r=Array.from({length:e},((e,r)=>function(t,e){const r=a(t,e);if(void 0===r)return{};const{name:n,description:i,supported:s,action:o,forced:u,standard:c}=r;return{[t]:{name:n,number:t,description:i,supported:s,action:o,forced:u,standard:c}}}(r,t)));return Object.assign({},...r)}();e.signalsByNumber=u},43201:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SIGRTMAX=e.getRealtimeSignals=void 0,e.getRealtimeSignals=function(){const t=i-n+1;return Array.from({length:t},r)};const r=function(t,e){return{name:`SIGRT${e+1}`,number:n+e,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}},n=34,i=64;e.SIGRTMAX=i},88027:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSignals=void 0;var n=r(22037),i=r(79604),s=r(43201);e.getSignals=function(){const t=(0,s.getRealtimeSignals)();return[...i.SIGNALS,...t].map(o)};const o=function({name:t,number:e,description:r,action:i,forced:s=!1,standard:o}){const{signals:{[t]:a}}=n.constants,u=void 0!==a;return{name:t,number:u?a:e,description:r,supported:u,action:i,forced:s,standard:o}}},97978:(t,e,r)=>{"use strict";const n=r(71017),i=r(63061),s=new Set(i);t.exports=t=>s.has(n.extname(t).slice(1).toLowerCase())},16665:t=>{t.exports=function(t){if("string"!=typeof t||""===t)return!1;for(var e;e=/(\\).|([@?!+*]\(.*\))/g.exec(t);){if(e[2])return!0;t=t.slice(e.index+e[0].length)}return!1}},46938:(t,e,r)=>{var n=r(16665),i={"{":"}","(":")","[":"]"},s=function(t){if("!"===t[0])return!0;for(var e=0,r=-2,n=-2,s=-2,o=-2,a=-2;e<t.length;){if("*"===t[e])return!0;if("?"===t[e+1]&&/[\].+)]/.test(t[e]))return!0;if(-1!==n&&"["===t[e]&&"]"!==t[e+1]&&(n<e&&(n=t.indexOf("]",e)),n>e)){if(-1===a||a>n)return!0;if(-1===(a=t.indexOf("\\",e))||a>n)return!0}if(-1!==s&&"{"===t[e]&&"}"!==t[e+1]&&(s=t.indexOf("}",e))>e&&(-1===(a=t.indexOf("\\",e))||a>s))return!0;if(-1!==o&&"("===t[e]&&"?"===t[e+1]&&/[:!=]/.test(t[e+2])&&")"!==t[e+3]&&(o=t.indexOf(")",e))>e&&(-1===(a=t.indexOf("\\",e))||a>o))return!0;if(-1!==r&&"("===t[e]&&"|"!==t[e+1]&&(r<e&&(r=t.indexOf("|",e)),-1!==r&&")"!==t[r+1]&&(o=t.indexOf(")",r))>r&&(-1===(a=t.indexOf("\\",r))||a>o)))return!0;if("\\"===t[e]){var u=t[e+1];e+=2;var c=i[u];if(c){var l=t.indexOf(c,e);-1!==l&&(e=l+1)}if("!"===t[e])return!0}else e++}return!1},o=function(t){if("!"===t[0])return!0;for(var e=0;e<t.length;){if(/[*?{}()[\]]/.test(t[e]))return!0;if("\\"===t[e]){var r=t[e+1];e+=2;var n=i[r];if(n){var s=t.indexOf(n,e);-1!==s&&(e=s+1)}if("!"===t[e])return!0}else e++}return!1};t.exports=function(t,e){if("string"!=typeof t||""===t)return!1;if(n(t))return!0;var r=s;return e&&!1===e.strict&&(r=o),r(t)}},79056:t=>{"use strict";t.exports=function(t){return"number"==typeof t?t-t==0:"string"==typeof t&&""!==t.trim()&&(Number.isFinite?Number.isFinite(+t):isFinite(+t))}},68572:t=>{"use strict";const e=t=>null!==t&&"object"==typeof t&&"function"==typeof t.pipe;e.writable=t=>e(t)&&!1!==t.writable&&"function"==typeof t._write&&"object"==typeof t._writableState,e.readable=t=>e(t)&&!1!==t.readable&&"function"==typeof t._read&&"object"==typeof t._readableState,e.duplex=t=>e.writable(t)&&e.readable(t),e.transform=t=>e.duplex(t)&&"function"==typeof t._transform,t.exports=e},53199:(t,e,r)=>{var n;function i(t,e,r){if("function"==typeof e&&(r=e,e={}),!r){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise((function(r,n){i(t,e||{},(function(t,e){t?n(t):r(e)}))}))}n(t,e||{},(function(t,n){t&&("EACCES"===t.code||e&&e.ignoreErrors)&&(t=null,n=!1),r(t,n)}))}r(57147),n="win32"===process.platform||global.TESTING_WINDOWS?r(61772):r(15612),t.exports=i,i.sync=function(t,e){try{return n.sync(t,e||{})}catch(t){if(e&&e.ignoreErrors||"EACCES"===t.code)return!1;throw t}}},15612:(t,e,r)=>{t.exports=i,i.sync=function(t,e){return s(n.statSync(t),e)};var n=r(57147);function i(t,e,r){n.stat(t,(function(t,n){r(t,!t&&s(n,e))}))}function s(t,e){return t.isFile()&&function(t,e){var r=t.mode,n=t.uid,i=t.gid,s=void 0!==e.uid?e.uid:process.getuid&&process.getuid(),o=void 0!==e.gid?e.gid:process.getgid&&process.getgid(),a=parseInt("100",8),u=parseInt("010",8);return r&parseInt("001",8)||r&u&&i===o||r&a&&n===s||r&(a|u)&&0===s}(t,e)}},61772:(t,e,r)=>{t.exports=s,s.sync=function(t,e){return i(n.statSync(t),t,e)};var n=r(57147);function i(t,e,r){return!(!t.isSymbolicLink()&&!t.isFile())&&function(t,e){var r=void 0!==e.pathExt?e.pathExt:process.env.PATHEXT;if(!r)return!0;if(-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;n<r.length;n++){var i=r[n].toLowerCase();if(i&&t.substr(-i.length).toLowerCase()===i)return!0}return!1}(e,r)}function s(t,e,r){n.stat(t,(function(n,s){r(n,!n&&i(s,t,e))}))}},74926:(t,e,r)=>{"use strict";const n=r(92894),i=Symbol("max"),s=Symbol("length"),o=Symbol("lengthCalculator"),a=Symbol("allowStale"),u=Symbol("maxAge"),c=Symbol("dispose"),l=Symbol("noDisposeOnSet"),h=Symbol("lruList"),p=Symbol("cache"),f=Symbol("updateAgeOnGet"),d=()=>1,_=(t,e,r)=>{const n=t[p].get(e);if(n){const e=n.value;if(v(t,e)){if(y(t,n),!t[a])return}else r&&(t[f]&&(n.value.now=Date.now()),t[h].unshiftNode(n));return e.value}},v=(t,e)=>{if(!e||!e.maxAge&&!t[u])return!1;const r=Date.now()-e.now;return e.maxAge?r>e.maxAge:t[u]&&r>t[u]},m=t=>{if(t[s]>t[i])for(let e=t[h].tail;t[s]>t[i]&&null!==e;){const r=e.prev;y(t,e),e=r}},y=(t,e)=>{if(e){const r=e.value;t[c]&&t[c](r.key,r.value),t[s]-=r.length,t[p].delete(r.key),t[h].removeNode(e)}};class g{constructor(t,e,r,n,i){this.key=t,this.value=e,this.length=r,this.now=n,this.maxAge=i||0}}const E=(t,e,r,n)=>{let i=r.value;v(t,i)&&(y(t,r),t[a]||(i=void 0)),i&&e.call(n,i.value,i.key,t)};t.exports=class{constructor(t){if("number"==typeof t&&(t={max:t}),t||(t={}),t.max&&("number"!=typeof t.max||t.max<0))throw new TypeError("max must be a non-negative number");this[i]=t.max||1/0;const e=t.length||d;if(this[o]="function"!=typeof e?d:e,this[a]=t.stale||!1,t.maxAge&&"number"!=typeof t.maxAge)throw new TypeError("maxAge must be a number");this[u]=t.maxAge||0,this[c]=t.dispose,this[l]=t.noDisposeOnSet||!1,this[f]=t.updateAgeOnGet||!1,this.reset()}set max(t){if("number"!=typeof t||t<0)throw new TypeError("max must be a non-negative number");this[i]=t||1/0,m(this)}get max(){return this[i]}set allowStale(t){this[a]=!!t}get allowStale(){return this[a]}set maxAge(t){if("number"!=typeof t)throw new TypeError("maxAge must be a non-negative number");this[u]=t,m(this)}get maxAge(){return this[u]}set lengthCalculator(t){"function"!=typeof t&&(t=d),t!==this[o]&&(this[o]=t,this[s]=0,this[h].forEach((t=>{t.length=this[o](t.value,t.key),this[s]+=t.length}))),m(this)}get lengthCalculator(){return this[o]}get length(){return this[s]}get itemCount(){return this[h].length}rforEach(t,e){e=e||this;for(let r=this[h].tail;null!==r;){const n=r.prev;E(this,t,r,e),r=n}}forEach(t,e){e=e||this;for(let r=this[h].head;null!==r;){const n=r.next;E(this,t,r,e),r=n}}keys(){return this[h].toArray().map((t=>t.key))}values(){return this[h].toArray().map((t=>t.value))}reset(){this[c]&&this[h]&&this[h].length&&this[h].forEach((t=>this[c](t.key,t.value))),this[p]=new Map,this[h]=new n,this[s]=0}dump(){return this[h].map((t=>!v(this,t)&&{k:t.key,v:t.value,e:t.now+(t.maxAge||0)})).toArray().filter((t=>t))}dumpLru(){return this[h]}set(t,e,r){if((r=r||this[u])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const n=r?Date.now():0,a=this[o](e,t);if(this[p].has(t)){if(a>this[i])return y(this,this[p].get(t)),!1;const o=this[p].get(t).value;return this[c]&&(this[l]||this[c](t,o.value)),o.now=n,o.maxAge=r,o.value=e,this[s]+=a-o.length,o.length=a,this.get(t),m(this),!0}const f=new g(t,e,a,n,r);return f.length>this[i]?(this[c]&&this[c](t,e),!1):(this[s]+=f.length,this[h].unshift(f),this[p].set(t,this[h].head),m(this),!0)}has(t){if(!this[p].has(t))return!1;const e=this[p].get(t).value;return!v(this,e)}get(t){return _(this,t,!0)}peek(t){return _(this,t,!1)}pop(){const t=this[h].tail;return t?(y(this,t),t.value):null}del(t){y(this,this[p].get(t))}load(t){this.reset();const e=Date.now();for(let r=t.length-1;r>=0;r--){const n=t[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{const t=i-e;t>0&&this.set(n.k,n.v,t)}}}prune(){this[p].forEach(((t,e)=>_(this,e,!1)))}}},94866:(t,e,r)=>{"use strict";const{PassThrough:n}=r(12781);t.exports=function(){var t=[],e=new n({objectMode:!0});return e.setMaxListeners(0),e.add=r,e.isEmpty=function(){return 0==t.length},e.on("unpipe",i),Array.prototype.slice.call(arguments).forEach(r),e;function r(n){return Array.isArray(n)?(n.forEach(r),this):(t.push(n),n.once("end",i.bind(null,n)),n.once("error",e.emit.bind(e,"error")),n.pipe(e,{end:!1}),this)}function i(r){!(t=t.filter((function(t){return t!==r}))).length&&e.readable&&e.end()}}},15702:t=>{"use strict";const e=(t,e)=>{for(const r of Reflect.ownKeys(e))Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r));return t};t.exports=e,t.exports.default=e},38931:t=>{t.exports=function(t,e){if("string"!=typeof t)throw new TypeError("expected path to be a string");if("\\"===t||"/"===t)return"/";var r=t.length;if(r<=1)return t;var n="";if(r>4&&"\\"===t[3]){var i=t[2];"?"!==i&&"."!==i||"\\\\"!==t.slice(0,2)||(t=t.slice(2),n="//")}var s=t.split(/[/\\]+/);return!1!==e&&""===s[s.length-1]&&s.pop(),n+s.join("/")}},72002:(t,e,r)=>{"use strict";const n=r(71017),i=r(96919),s=t=>{let e;t={cwd:process.cwd(),path:process.env[i()],execPath:process.execPath,...t};let r=n.resolve(t.cwd);const s=[];for(;e!==r;)s.push(n.join(r,"node_modules/.bin")),e=r,r=n.resolve(r,"..");const o=n.resolve(t.cwd,t.execPath,"..");return s.push(o),s.concat(t.path).join(n.delimiter)};t.exports=s,t.exports.default=s,t.exports.env=e=>{const r={...(e={env:process.env,...e}).env},n=i({env:r});return e.path=r[n],r[n]=t.exports(e),r}},52499:(t,e,r)=>{"use strict";const n=r(15702),i=new WeakMap,s=(t,e={})=>{if("function"!=typeof t)throw new TypeError("Expected a function");let r,s=0;const o=t.displayName||t.name||"<anonymous>",a=function(...n){if(i.set(a,++s),1===s)r=t.apply(this,n),t=null;else if(!0===e.throw)throw new Error(`Function \`${o}\` can only be called once`);return r};return n(a,t),i.set(a,s),a};t.exports=s,t.exports.default=s,t.exports.callCount=t=>{if(!i.has(t))throw new Error(`The given function \`${t.name}\` is not wrapped by the \`onetime\` package`);return i.get(t)}},96919:t=>{"use strict";const e=(t={})=>{const e=t.env||process.env;return"win32"!==(t.platform||process.platform)?"PATH":Object.keys(e).reverse().find((t=>"PATH"===t.toUpperCase()))||"Path"};t.exports=e,t.exports.default=e},30180:(t,e,r)=>{"use strict";t.exports=r(95335)},70054:(t,e,r)=>{"use strict";const n=r(71017),i="\\\\/",s=`[^${i}]`,o="\\.",a="\\/",u="[^/]",c=`(?:${a}|$)`,l=`(?:^|${a})`,h=`${o}{1,2}${c}`,p={DOT_LITERAL:o,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:a,ONE_CHAR:"(?=.)",QMARK:u,END_ANCHOR:c,DOTS_SLASH:h,NO_DOT:`(?!${o})`,NO_DOTS:`(?!${l}${h})`,NO_DOT_SLASH:`(?!${o}{0,1}${c})`,NO_DOTS_SLASH:`(?!${h})`,QMARK_NO_DOT:`[^.${a}]`,STAR:`${u}*?`,START_ANCHOR:l},f={...p,SLASH_LITERAL:`[${i}]`,QMARK:s,STAR:`${s}*?`,DOTS_SLASH:`${o}{1,2}(?:[${i}]|$)`,NO_DOT:`(?!${o})`,NO_DOTS:`(?!(?:^|[${i}])${o}{1,2}(?:[${i}]|$))`,NO_DOT_SLASH:`(?!${o}{0,1}(?:[${i}]|$))`,NO_DOTS_SLASH:`(?!${o}{1,2}(?:[${i}]|$))`,QMARK_NO_DOT:`[^.${i}]`,START_ANCHOR:`(?:^|[${i}])`,END_ANCHOR:`(?:[${i}]|$)`};t.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{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"},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:n.sep,extglobChars:t=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${t.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:t=>!0===t?f:p}},96332:(t,e,r)=>{"use strict";const n=r(70054),i=r(79155),{MAX_LENGTH:s,POSIX_REGEX_SOURCE:o,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:u,REPLACEMENTS:c}=n,l=(t,e)=>{if("function"==typeof e.expandRange)return e.expandRange(...t,e);t.sort();const r=`[${t.join("-")}]`;try{new RegExp(r)}catch(e){return t.map((t=>i.escapeRegex(t))).join("..")}return r},h=(t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`,p=(t,e)=>{if("string"!=typeof t)throw new TypeError("Expected a string");t=c[t]||t;const r={...e},f="number"==typeof r.maxLength?Math.min(s,r.maxLength):s;let d=t.length;if(d>f)throw new SyntaxError(`Input length: ${d}, exceeds maximum allowed length: ${f}`);const _={type:"bos",value:"",output:r.prepend||""},v=[_],m=r.capture?"":"?:",y=i.isWindows(e),g=n.globChars(y),E=n.extglobChars(g),{DOT_LITERAL:w,PLUS_LITERAL:S,SLASH_LITERAL:R,ONE_CHAR:A,DOTS_SLASH:b,NO_DOT:I,NO_DOT_SLASH:x,NO_DOTS_SLASH:O,QMARK:T,QMARK_NO_DOT:C,STAR:$,START_ANCHOR:L}=g,N=t=>`(${m}(?:(?!${L}${t.dot?b:w}).)*?)`,P=r.dot?"":I,D=r.dot?T:C;let k=!0===r.bash?N(r):$;r.capture&&(k=`(${k})`),"boolean"==typeof r.noext&&(r.noextglob=r.noext);const M={input:t,index:-1,start:0,dot:!0===r.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:v};t=i.removePrefix(t,M),d=t.length;const H=[],j=[],G=[];let z,F=_;const B=()=>M.index===d-1,U=M.peek=(e=1)=>t[M.index+e],W=M.advance=()=>t[++M.index]||"",K=()=>t.slice(M.index+1),q=(t="",e=0)=>{M.consumed+=t,M.index+=e},V=t=>{M.output+=null!=t.output?t.output:t.value,q(t.value)},X=()=>{let t=1;for(;"!"===U()&&("("!==U(2)||"?"===U(3));)W(),M.start++,t++;return t%2!=0&&(M.negated=!0,M.start++,!0)},Y=t=>{M[t]++,G.push(t)},Q=t=>{M[t]--,G.pop()},Z=t=>{if("globstar"===F.type){const e=M.braces>0&&("comma"===t.type||"brace"===t.type),r=!0===t.extglob||H.length&&("pipe"===t.type||"paren"===t.type);"slash"===t.type||"paren"===t.type||e||r||(M.output=M.output.slice(0,-F.output.length),F.type="star",F.value="*",F.output=k,M.output+=F.output)}if(H.length&&"paren"!==t.type&&(H[H.length-1].inner+=t.value),(t.value||t.output)&&V(t),F&&"text"===F.type&&"text"===t.type)return F.value+=t.value,void(F.output=(F.output||"")+t.value);t.prev=F,v.push(t),F=t},J=(t,e)=>{const n={...E[e],conditions:1,inner:""};n.prev=F,n.parens=M.parens,n.output=M.output;const i=(r.capture?"(":"")+n.open;Y("parens"),Z({type:t,value:e,output:M.output?"":A}),Z({type:"paren",extglob:!0,value:W(),output:i}),H.push(n)},tt=t=>{let n,i=t.close+(r.capture?")":"");if("negate"===t.type){let s=k;if(t.inner&&t.inner.length>1&&t.inner.includes("/")&&(s=N(r)),(s!==k||B()||/^\)+$/.test(K()))&&(i=t.close=`)$))${s}`),t.inner.includes("*")&&(n=K())&&/^\.[^\\/.]+$/.test(n)){const r=p(n,{...e,fastpaths:!1}).output;i=t.close=`)${r})${s})`}"bos"===t.prev.type&&(M.negatedExtglob=!0)}Z({type:"paren",extglob:!0,value:z,output:i}),Q("parens")};if(!1!==r.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(t)){let n=!1,s=t.replace(u,((t,e,r,i,s,o)=>"\\"===i?(n=!0,t):"?"===i?e?e+i+(s?T.repeat(s.length):""):0===o?D+(s?T.repeat(s.length):""):T.repeat(r.length):"."===i?w.repeat(r.length):"*"===i?e?e+i+(s?k:""):k:e?t:`\\${t}`));return!0===n&&(s=!0===r.unescape?s.replace(/\\/g,""):s.replace(/\\+/g,(t=>t.length%2==0?"\\\\":t?"\\":""))),s===t&&!0===r.contains?(M.output=t,M):(M.output=i.wrapOutput(s,M,e),M)}for(;!B();){if(z=W(),"\0"===z)continue;if("\\"===z){const t=U();if("/"===t&&!0!==r.bash)continue;if("."===t||";"===t)continue;if(!t){z+="\\",Z({type:"text",value:z});continue}const e=/^\\+/.exec(K());let n=0;if(e&&e[0].length>2&&(n=e[0].length,M.index+=n,n%2!=0&&(z+="\\")),!0===r.unescape?z=W():z+=W(),0===M.brackets){Z({type:"text",value:z});continue}}if(M.brackets>0&&("]"!==z||"["===F.value||"[^"===F.value)){if(!1!==r.posix&&":"===z){const t=F.value.slice(1);if(t.includes("[")&&(F.posix=!0,t.includes(":"))){const t=F.value.lastIndexOf("["),e=F.value.slice(0,t),r=F.value.slice(t+2),n=o[r];if(n){F.value=e+n,M.backtrack=!0,W(),_.output||1!==v.indexOf(F)||(_.output=A);continue}}}("["===z&&":"!==U()||"-"===z&&"]"===U())&&(z=`\\${z}`),"]"!==z||"["!==F.value&&"[^"!==F.value||(z=`\\${z}`),!0===r.posix&&"!"===z&&"["===F.value&&(z="^"),F.value+=z,V({value:z});continue}if(1===M.quotes&&'"'!==z){z=i.escapeRegex(z),F.value+=z,V({value:z});continue}if('"'===z){M.quotes=1===M.quotes?0:1,!0===r.keepQuotes&&Z({type:"text",value:z});continue}if("("===z){Y("parens"),Z({type:"paren",value:z});continue}if(")"===z){if(0===M.parens&&!0===r.strictBrackets)throw new SyntaxError(h("opening","("));const t=H[H.length-1];if(t&&M.parens===t.parens+1){tt(H.pop());continue}Z({type:"paren",value:z,output:M.parens?")":"\\)"}),Q("parens");continue}if("["===z){if(!0!==r.nobracket&&K().includes("]"))Y("brackets");else{if(!0!==r.nobracket&&!0===r.strictBrackets)throw new SyntaxError(h("closing","]"));z=`\\${z}`}Z({type:"bracket",value:z});continue}if("]"===z){if(!0===r.nobracket||F&&"bracket"===F.type&&1===F.value.length){Z({type:"text",value:z,output:`\\${z}`});continue}if(0===M.brackets){if(!0===r.strictBrackets)throw new SyntaxError(h("opening","["));Z({type:"text",value:z,output:`\\${z}`});continue}Q("brackets");const t=F.value.slice(1);if(!0===F.posix||"^"!==t[0]||t.includes("/")||(z=`/${z}`),F.value+=z,V({value:z}),!1===r.literalBrackets||i.hasRegexChars(t))continue;const e=i.escapeRegex(F.value);if(M.output=M.output.slice(0,-F.value.length),!0===r.literalBrackets){M.output+=e,F.value=e;continue}F.value=`(${m}${e}|${F.value})`,M.output+=F.value;continue}if("{"===z&&!0!==r.nobrace){Y("braces");const t={type:"brace",value:z,output:"(",outputIndex:M.output.length,tokensIndex:M.tokens.length};j.push(t),Z(t);continue}if("}"===z){const t=j[j.length-1];if(!0===r.nobrace||!t){Z({type:"text",value:z,output:z});continue}let e=")";if(!0===t.dots){const t=v.slice(),n=[];for(let e=t.length-1;e>=0&&(v.pop(),"brace"!==t[e].type);e--)"dots"!==t[e].type&&n.unshift(t[e].value);e=l(n,r),M.backtrack=!0}if(!0!==t.comma&&!0!==t.dots){const r=M.output.slice(0,t.outputIndex),n=M.tokens.slice(t.tokensIndex);t.value=t.output="\\{",z=e="\\}",M.output=r;for(const t of n)M.output+=t.output||t.value}Z({type:"brace",value:z,output:e}),Q("braces"),j.pop();continue}if("|"===z){H.length>0&&H[H.length-1].conditions++,Z({type:"text",value:z});continue}if(","===z){let t=z;const e=j[j.length-1];e&&"braces"===G[G.length-1]&&(e.comma=!0,t="|"),Z({type:"comma",value:z,output:t});continue}if("/"===z){if("dot"===F.type&&M.index===M.start+1){M.start=M.index+1,M.consumed="",M.output="",v.pop(),F=_;continue}Z({type:"slash",value:z,output:R});continue}if("."===z){if(M.braces>0&&"dot"===F.type){"."===F.value&&(F.output=w);const t=j[j.length-1];F.type="dots",F.output+=z,F.value+=z,t.dots=!0;continue}if(M.braces+M.parens===0&&"bos"!==F.type&&"slash"!==F.type){Z({type:"text",value:z,output:w});continue}Z({type:"dot",value:z,output:w});continue}if("?"===z){if((!F||"("!==F.value)&&!0!==r.noextglob&&"("===U()&&"?"!==U(2)){J("qmark",z);continue}if(F&&"paren"===F.type){const t=U();let e=z;if("<"===t&&!i.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===F.value&&!/[!=<:]/.test(t)||"<"===t&&!/<([!=]|\w+>)/.test(K()))&&(e=`\\${z}`),Z({type:"text",value:z,output:e});continue}if(!0!==r.dot&&("slash"===F.type||"bos"===F.type)){Z({type:"qmark",value:z,output:C});continue}Z({type:"qmark",value:z,output:T});continue}if("!"===z){if(!0!==r.noextglob&&"("===U()&&("?"!==U(2)||!/[!=<:]/.test(U(3)))){J("negate",z);continue}if(!0!==r.nonegate&&0===M.index){X();continue}}if("+"===z){if(!0!==r.noextglob&&"("===U()&&"?"!==U(2)){J("plus",z);continue}if(F&&"("===F.value||!1===r.regex){Z({type:"plus",value:z,output:S});continue}if(F&&("bracket"===F.type||"paren"===F.type||"brace"===F.type)||M.parens>0){Z({type:"plus",value:z});continue}Z({type:"plus",value:S});continue}if("@"===z){if(!0!==r.noextglob&&"("===U()&&"?"!==U(2)){Z({type:"at",extglob:!0,value:z,output:""});continue}Z({type:"text",value:z});continue}if("*"!==z){"$"!==z&&"^"!==z||(z=`\\${z}`);const t=a.exec(K());t&&(z+=t[0],M.index+=t[0].length),Z({type:"text",value:z});continue}if(F&&("globstar"===F.type||!0===F.star)){F.type="star",F.star=!0,F.value+=z,F.output=k,M.backtrack=!0,M.globstar=!0,q(z);continue}let e=K();if(!0!==r.noextglob&&/^\([^?]/.test(e)){J("star",z);continue}if("star"===F.type){if(!0===r.noglobstar){q(z);continue}const n=F.prev,i=n.prev,s="slash"===n.type||"bos"===n.type,o=i&&("star"===i.type||"globstar"===i.type);if(!0===r.bash&&(!s||e[0]&&"/"!==e[0])){Z({type:"star",value:z,output:""});continue}const a=M.braces>0&&("comma"===n.type||"brace"===n.type),u=H.length&&("pipe"===n.type||"paren"===n.type);if(!s&&"paren"!==n.type&&!a&&!u){Z({type:"star",value:z,output:""});continue}for(;"/**"===e.slice(0,3);){const r=t[M.index+4];if(r&&"/"!==r)break;e=e.slice(3),q("/**",3)}if("bos"===n.type&&B()){F.type="globstar",F.value+=z,F.output=N(r),M.output=F.output,M.globstar=!0,q(z);continue}if("slash"===n.type&&"bos"!==n.prev.type&&!o&&B()){M.output=M.output.slice(0,-(n.output+F.output).length),n.output=`(?:${n.output}`,F.type="globstar",F.output=N(r)+(r.strictSlashes?")":"|$)"),F.value+=z,M.globstar=!0,M.output+=n.output+F.output,q(z);continue}if("slash"===n.type&&"bos"!==n.prev.type&&"/"===e[0]){const t=void 0!==e[1]?"|$":"";M.output=M.output.slice(0,-(n.output+F.output).length),n.output=`(?:${n.output}`,F.type="globstar",F.output=`${N(r)}${R}|${R}${t})`,F.value+=z,M.output+=n.output+F.output,M.globstar=!0,q(z+W()),Z({type:"slash",value:"/",output:""});continue}if("bos"===n.type&&"/"===e[0]){F.type="globstar",F.value+=z,F.output=`(?:^|${R}|${N(r)}${R})`,M.output=F.output,M.globstar=!0,q(z+W()),Z({type:"slash",value:"/",output:""});continue}M.output=M.output.slice(0,-F.output.length),F.type="globstar",F.output=N(r),F.value+=z,M.output+=F.output,M.globstar=!0,q(z);continue}const n={type:"star",value:z,output:k};!0!==r.bash?!F||"bracket"!==F.type&&"paren"!==F.type||!0!==r.regex?(M.index!==M.start&&"slash"!==F.type&&"dot"!==F.type||("dot"===F.type?(M.output+=x,F.output+=x):!0===r.dot?(M.output+=O,F.output+=O):(M.output+=P,F.output+=P),"*"!==U()&&(M.output+=A,F.output+=A)),Z(n)):(n.output=z,Z(n)):(n.output=".*?","bos"!==F.type&&"slash"!==F.type||(n.output=P+n.output),Z(n))}for(;M.brackets>0;){if(!0===r.strictBrackets)throw new SyntaxError(h("closing","]"));M.output=i.escapeLast(M.output,"["),Q("brackets")}for(;M.parens>0;){if(!0===r.strictBrackets)throw new SyntaxError(h("closing",")"));M.output=i.escapeLast(M.output,"("),Q("parens")}for(;M.braces>0;){if(!0===r.strictBrackets)throw new SyntaxError(h("closing","}"));M.output=i.escapeLast(M.output,"{"),Q("braces")}if(!0===r.strictSlashes||"star"!==F.type&&"bracket"!==F.type||Z({type:"maybe_slash",value:"",output:`${R}?`}),!0===M.backtrack){M.output="";for(const t of M.tokens)M.output+=null!=t.output?t.output:t.value,t.suffix&&(M.output+=t.suffix)}return M};p.fastpaths=(t,e)=>{const r={...e},o="number"==typeof r.maxLength?Math.min(s,r.maxLength):s,a=t.length;if(a>o)throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${o}`);t=c[t]||t;const u=i.isWindows(e),{DOT_LITERAL:l,SLASH_LITERAL:h,ONE_CHAR:p,DOTS_SLASH:f,NO_DOT:d,NO_DOTS:_,NO_DOTS_SLASH:v,STAR:m,START_ANCHOR:y}=n.globChars(u),g=r.dot?_:d,E=r.dot?v:d,w=r.capture?"":"?:";let S=!0===r.bash?".*?":m;r.capture&&(S=`(${S})`);const R=t=>!0===t.noglobstar?S:`(${w}(?:(?!${y}${t.dot?f:l}).)*?)`,A=t=>{switch(t){case"*":return`${g}${p}${S}`;case".*":return`${l}${p}${S}`;case"*.*":return`${g}${S}${l}${p}${S}`;case"*/*":return`${g}${S}${h}${p}${E}${S}`;case"**":return g+R(r);case"**/*":return`(?:${g}${R(r)}${h})?${E}${p}${S}`;case"**/*.*":return`(?:${g}${R(r)}${h})?${E}${S}${l}${p}${S}`;case"**/.*":return`(?:${g}${R(r)}${h})?${l}${p}${S}`;default:{const e=/^(.*?)\.(\w+)$/.exec(t);if(!e)return;const r=A(e[1]);if(!r)return;return r+l+e[2]}}},b=i.removePrefix(t,{negated:!1,prefix:""});let I=A(b);return I&&!0!==r.strictSlashes&&(I+=`${h}?`),I},t.exports=p},95335:(t,e,r)=>{"use strict";const n=r(71017),i=r(73787),s=r(96332),o=r(79155),a=r(70054),u=(t,e,r=!1)=>{if(Array.isArray(t)){const n=t.map((t=>u(t,e,r))),i=t=>{for(const e of n){const r=e(t);if(r)return r}return!1};return i}const n=(i=t)&&"object"==typeof i&&!Array.isArray(i)&&t.tokens&&t.input;var i;if(""===t||"string"!=typeof t&&!n)throw new TypeError("Expected pattern to be a non-empty string");const s=e||{},a=o.isWindows(e),c=n?u.compileRe(t,e):u.makeRe(t,e,!1,!0),l=c.state;delete c.state;let h=()=>!1;if(s.ignore){const t={...e,ignore:null,onMatch:null,onResult:null};h=u(s.ignore,t,r)}const p=(r,n=!1)=>{const{isMatch:i,match:o,output:p}=u.test(r,c,e,{glob:t,posix:a}),f={glob:t,state:l,regex:c,posix:a,input:r,output:p,match:o,isMatch:i};return"function"==typeof s.onResult&&s.onResult(f),!1===i?(f.isMatch=!1,!!n&&f):h(r)?("function"==typeof s.onIgnore&&s.onIgnore(f),f.isMatch=!1,!!n&&f):("function"==typeof s.onMatch&&s.onMatch(f),!n||f)};return r&&(p.state=l),p};u.test=(t,e,r,{glob:n,posix:i}={})=>{if("string"!=typeof t)throw new TypeError("Expected input to be a string");if(""===t)return{isMatch:!1,output:""};const s=r||{},a=s.format||(i?o.toPosixSlashes:null);let c=t===n,l=c&&a?a(t):t;return!1===c&&(l=a?a(t):t,c=l===n),!1!==c&&!0!==s.capture||(c=!0===s.matchBase||!0===s.basename?u.matchBase(t,e,r,i):e.exec(l)),{isMatch:Boolean(c),match:c,output:l}},u.matchBase=(t,e,r,i=o.isWindows(r))=>(e instanceof RegExp?e:u.makeRe(e,r)).test(n.basename(t)),u.isMatch=(t,e,r)=>u(e,r)(t),u.parse=(t,e)=>Array.isArray(t)?t.map((t=>u.parse(t,e))):s(t,{...e,fastpaths:!1}),u.scan=(t,e)=>i(t,e),u.compileRe=(t,e,r=!1,n=!1)=>{if(!0===r)return t.output;const i=e||{},s=i.contains?"":"^",o=i.contains?"":"$";let a=`${s}(?:${t.output})${o}`;t&&!0===t.negated&&(a=`^(?!${a}).*$`);const c=u.toRegex(a,e);return!0===n&&(c.state=t),c},u.makeRe=(t,e={},r=!1,n=!1)=>{if(!t||"string"!=typeof t)throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return!1===e.fastpaths||"."!==t[0]&&"*"!==t[0]||(i.output=s.fastpaths(t,e)),i.output||(i=s(t,e)),u.compileRe(i,e,r,n)},u.toRegex=(t,e)=>{try{const r=e||{};return new RegExp(t,r.flags||(r.nocase?"i":""))}catch(t){if(e&&!0===e.debug)throw t;return/$^/}},u.constants=a,t.exports=u},73787:(t,e,r)=>{"use strict";const n=r(79155),{CHAR_ASTERISK:i,CHAR_AT:s,CHAR_BACKWARD_SLASH:o,CHAR_COMMA:a,CHAR_DOT:u,CHAR_EXCLAMATION_MARK:c,CHAR_FORWARD_SLASH:l,CHAR_LEFT_CURLY_BRACE:h,CHAR_LEFT_PARENTHESES:p,CHAR_LEFT_SQUARE_BRACKET:f,CHAR_PLUS:d,CHAR_QUESTION_MARK:_,CHAR_RIGHT_CURLY_BRACE:v,CHAR_RIGHT_PARENTHESES:m,CHAR_RIGHT_SQUARE_BRACKET:y}=r(70054),g=t=>t===l||t===o,E=t=>{!0!==t.isPrefix&&(t.depth=t.isGlobstar?1/0:1)};t.exports=(t,e)=>{const r=e||{},w=t.length-1,S=!0===r.parts||!0===r.scanToEnd,R=[],A=[],b=[];let I,x,O=t,T=-1,C=0,$=0,L=!1,N=!1,P=!1,D=!1,k=!1,M=!1,H=!1,j=!1,G=!1,z=!1,F=0,B={value:"",depth:0,isGlob:!1};const U=()=>T>=w,W=()=>(I=x,O.charCodeAt(++T));for(;T<w;){let t;if(x=W(),x!==o){if(!0===M||x===h){for(F++;!0!==U()&&(x=W());)if(x!==o)if(x!==h){if(!0!==M&&x===u&&(x=W())===u){if(L=B.isBrace=!0,P=B.isGlob=!0,z=!0,!0===S)continue;break}if(!0!==M&&x===a){if(L=B.isBrace=!0,P=B.isGlob=!0,z=!0,!0===S)continue;break}if(x===v&&(F--,0===F)){M=!1,L=B.isBrace=!0,z=!0;break}}else F++;else H=B.backslashes=!0,W();if(!0===S)continue;break}if(x!==l){if(!0!==r.noext&&!0==(x===d||x===s||x===i||x===_||x===c)&&O.charCodeAt(T+1)===p){if(P=B.isGlob=!0,D=B.isExtglob=!0,z=!0,x===c&&T===C&&(G=!0),!0===S){for(;!0!==U()&&(x=W());)if(x!==o){if(x===m){P=B.isGlob=!0,z=!0;break}}else H=B.backslashes=!0,x=W();continue}break}if(x===i){if(I===i&&(k=B.isGlobstar=!0),P=B.isGlob=!0,z=!0,!0===S)continue;break}if(x===_){if(P=B.isGlob=!0,z=!0,!0===S)continue;break}if(x===f){for(;!0!==U()&&(t=W());)if(t!==o){if(t===y){N=B.isBracket=!0,P=B.isGlob=!0,z=!0;break}}else H=B.backslashes=!0,W();if(!0===S)continue;break}if(!0===r.nonegate||x!==c||T!==C){if(!0!==r.noparen&&x===p){if(P=B.isGlob=!0,!0===S){for(;!0!==U()&&(x=W());)if(x!==p){if(x===m){z=!0;break}}else H=B.backslashes=!0,x=W();continue}break}if(!0===P){if(z=!0,!0===S)continue;break}}else j=B.negated=!0,C++}else{if(R.push(T),A.push(B),B={value:"",depth:0,isGlob:!1},!0===z)continue;if(I===u&&T===C+1){C+=2;continue}$=T+1}}else H=B.backslashes=!0,x=W(),x===h&&(M=!0)}!0===r.noext&&(D=!1,P=!1);let K=O,q="",V="";C>0&&(q=O.slice(0,C),O=O.slice(C),$-=C),K&&!0===P&&$>0?(K=O.slice(0,$),V=O.slice($)):!0===P?(K="",V=O):K=O,K&&""!==K&&"/"!==K&&K!==O&&g(K.charCodeAt(K.length-1))&&(K=K.slice(0,-1)),!0===r.unescape&&(V&&(V=n.removeBackslashes(V)),K&&!0===H&&(K=n.removeBackslashes(K)));const X={prefix:q,input:t,start:C,base:K,glob:V,isBrace:L,isBracket:N,isGlob:P,isExtglob:D,isGlobstar:k,negated:j,negatedExtglob:G};if(!0===r.tokens&&(X.maxDepth=0,g(x)||A.push(B),X.tokens=A),!0===r.parts||!0===r.tokens){let e;for(let n=0;n<R.length;n++){const i=e?e+1:C,s=R[n],o=t.slice(i,s);r.tokens&&(0===n&&0!==C?(A[n].isPrefix=!0,A[n].value=q):A[n].value=o,E(A[n]),X.maxDepth+=A[n].depth),0===n&&""===o||b.push(o),e=s}if(e&&e+1<t.length){const n=t.slice(e+1);b.push(n),r.tokens&&(A[A.length-1].value=n,E(A[A.length-1]),X.maxDepth+=A[A.length-1].depth)}X.slashes=R,X.parts=b}return X}},79155:(t,e,r)=>{"use strict";const n=r(71017),i="win32"===process.platform,{REGEX_BACKSLASH:s,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:u}=r(70054);e.isObject=t=>null!==t&&"object"==typeof t&&!Array.isArray(t),e.hasRegexChars=t=>a.test(t),e.isRegexChar=t=>1===t.length&&e.hasRegexChars(t),e.escapeRegex=t=>t.replace(u,"\\$1"),e.toPosixSlashes=t=>t.replace(s,"/"),e.removeBackslashes=t=>t.replace(o,(t=>"\\"===t?"":t)),e.supportsLookbehinds=()=>{const t=process.version.slice(1).split(".").map(Number);return 3===t.length&&t[0]>=9||8===t[0]&&t[1]>=10},e.isWindows=t=>t&&"boolean"==typeof t.windows?t.windows:!0===i||"\\"===n.sep,e.escapeLast=(t,r,n)=>{const i=t.lastIndexOf(r,n);return-1===i?t:"\\"===t[i-1]?e.escapeLast(t,r,i-1):`${t.slice(0,i)}\\${t.slice(i)}`},e.removePrefix=(t,e={})=>{let r=t;return r.startsWith("./")&&(r=r.slice(2),e.prefix="./"),r},e.wrapOutput=(t,e={},r={})=>{let n=`${r.contains?"":"^"}(?:${t})${r.contains?"":"$"}`;return!0===e.negated&&(n=`(?:^(?!${n}).*$)`),n}},58465:(t,e,r)=>{"use strict";const n=r(57147),{Readable:i}=r(12781),s=r(71017),{promisify:o}=r(73837),a=r(30180),u=o(n.readdir),c=o(n.stat),l=o(n.lstat),h=o(n.realpath),p="READDIRP_RECURSIVE_ERROR",f=new Set(["ENOENT","EPERM","EACCES","ELOOP",p]),d="files",_="directories",v="files_directories",m="all",y=[d,_,v,m],[g,E]=process.versions.node.split(".").slice(0,2).map((t=>Number.parseInt(t,10))),w="win32"===process.platform&&(g>10||10===g&&E>=5),S=t=>{if(void 0!==t){if("function"==typeof t)return t;if("string"==typeof t){const e=a(t.trim());return t=>e(t.basename)}if(Array.isArray(t)){const e=[],r=[];for(const n of t){const t=n.trim();"!"===t.charAt(0)?r.push(a(t.slice(1))):e.push(a(t))}return r.length>0?e.length>0?t=>e.some((e=>e(t.basename)))&&!r.some((e=>e(t.basename))):t=>!r.some((e=>e(t.basename))):t=>e.some((e=>e(t.basename)))}}};class R extends i{static get defaultOptions(){return{root:".",fileFilter:t=>!0,directoryFilter:t=>!0,type:d,lstat:!1,depth:2147483648,alwaysStat:!1}}constructor(t={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:t.highWaterMark||4096});const e={...R.defaultOptions,...t},{root:r,type:i}=e;this._fileFilter=S(e.fileFilter),this._directoryFilter=S(e.directoryFilter);const o=e.lstat?l:c;this._stat=w?t=>o(t,{bigint:!0}):o,this._maxDepth=e.depth,this._wantsDir=[_,v,m].includes(i),this._wantsFile=[d,v,m].includes(i),this._wantsEverything=i===m,this._root=s.resolve(r),this._isDirent="Dirent"in n&&!e.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(r,1)],this.reading=!1,this.parent=void 0}async _read(t){if(!this.reading){this.reading=!0;try{for(;!this.destroyed&&t>0;){const{path:e,depth:r,files:n=[]}=this.parent||{};if(n.length>0){const i=n.splice(0,t).map((t=>this._formatEntry(t,e)));for(const e of await Promise.all(i)){if(this.destroyed)return;const n=await this._getEntryType(e);"directory"===n&&this._directoryFilter(e)?(r<=this._maxDepth&&this.parents.push(this._exploreDir(e.fullPath,r+1)),this._wantsDir&&(this.push(e),t--)):("file"===n||this._includeAsFile(e))&&this._fileFilter(e)&&this._wantsFile&&(this.push(e),t--)}}else{const t=this.parents.pop();if(!t){this.push(null);break}if(this.parent=await t,this.destroyed)return}}}catch(t){this.destroy(t)}finally{this.reading=!1}}}async _exploreDir(t,e){let r;try{r=await u(t,this._rdOptions)}catch(t){this._onError(t)}return{files:r,depth:e,path:t}}async _formatEntry(t,e){let r;try{const n=this._isDirent?t.name:t,i=s.resolve(s.join(e,n));r={path:s.relative(this._root,i),fullPath:i,basename:n},r[this._statsProp]=this._isDirent?t:await this._stat(i)}catch(t){this._onError(t)}return r}_onError(t){var e;e=t,f.has(e.code)&&!this.destroyed?this.emit("warn",t):this.destroy(t)}async _getEntryType(t){const e=t&&t[this._statsProp];if(e){if(e.isFile())return"file";if(e.isDirectory())return"directory";if(e&&e.isSymbolicLink()){const e=t.fullPath;try{const t=await h(e),r=await l(t);if(r.isFile())return"file";if(r.isDirectory()){const r=t.length;if(e.startsWith(t)&&e.substr(r,1)===s.sep){const r=new Error(`Circular symlink detected: "${e}" points to "${t}"`);return r.code=p,this._onError(r)}return"directory"}}catch(t){this._onError(t)}}}}_includeAsFile(t){const e=t&&t[this._statsProp];return e&&this._wantsEverything&&!e.isDirectory()}}const A=(t,e={})=>{let r=e.entryType||e.type;if("both"===r&&(r=v),r&&(e.type=r),!t)throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");if("string"!=typeof t)throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");if(r&&!y.includes(r))throw new Error(`readdirp: Invalid type passed. Use one of ${y.join(", ")}`);return e.root=t,new R(e)};A.promise=(t,e={})=>new Promise(((r,n)=>{const i=[];A(t,e).on("data",(t=>i.push(t))).on("end",(()=>r(i))).on("error",(t=>n(t)))})),A.ReaddirpStream=R,A.default=A,t.exports=A},95742:(t,e,r)=>{const n=Symbol("SemVer ANY");class i{static get ANY(){return n}constructor(t,e){if(e=s(e),t instanceof i){if(t.loose===!!e.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),c("comparator",t,e),this.options=e,this.loose=!!e.loose,this.parse(t),this.semver===n?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(t){const e=this.options.loose?o[a.COMPARATORLOOSE]:o[a.COMPARATOR],r=t.match(e);if(!r)throw new TypeError(`Invalid comparator: ${t}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new l(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(t){if(c("Comparator.test",t,this.options.loose),this.semver===n||t===n)return!0;if("string"==typeof t)try{t=new l(t,this.options)}catch(t){return!1}return u(t,this.operator,this.semver,this.options)}intersects(t,e){if(!(t instanceof i))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new h(t.value,e).test(this.value):""===t.operator?""===t.value||new h(this.value,e).test(t.semver):!((e=s(e)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===t.value)||!e.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!t.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!t.operator.startsWith("<"))&&(this.semver.version!==t.semver.version||!this.operator.includes("=")||!t.operator.includes("="))&&!(u(this.semver,"<",t.semver,e)&&this.operator.startsWith(">")&&t.operator.startsWith("<"))&&!(u(this.semver,">",t.semver,e)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}}t.exports=i;const s=r(45769),{safeRe:o,t:a}=r(36908),u=r(98414),c=r(49566),l=r(58814),h=r(18588)},18588:(t,e,r)=>{class n{constructor(t,e){if(e=s(e),t instanceof n)return t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease?t:new n(t.raw,e);if(t instanceof o)return this.raw=t.value,this.set=[[t]],this.format(),this;if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((t=>this.parseRange(t.trim()))).filter((t=>t.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const t=this.set[0];if(this.set=this.set.filter((t=>!v(t[0]))),0===this.set.length)this.set=[t];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&m(t[0])){this.set=[t];break}}this.format()}format(){return this.range=this.set.map((t=>t.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(t){const e=((this.options.includePrerelease&&d)|(this.options.loose&&_))+":"+t,r=i.get(e);if(r)return r;const n=this.options.loose,s=n?c[l.HYPHENRANGELOOSE]:c[l.HYPHENRANGE];t=t.replace(s,T(this.options.includePrerelease)),a("hyphen replace",t),t=t.replace(c[l.COMPARATORTRIM],h),a("comparator trim",t),t=t.replace(c[l.TILDETRIM],p),a("tilde trim",t),t=t.replace(c[l.CARETTRIM],f),a("caret trim",t);let u=t.split(" ").map((t=>g(t,this.options))).join(" ").split(/\s+/).map((t=>O(t,this.options)));n&&(u=u.filter((t=>(a("loose invalid filter",t,this.options),!!t.match(c[l.COMPARATORLOOSE]))))),a("range list",u);const m=new Map,y=u.map((t=>new o(t,this.options)));for(const t of y){if(v(t))return[t];m.set(t.value,t)}m.size>1&&m.has("")&&m.delete("");const E=[...m.values()];return i.set(e,E),E}intersects(t,e){if(!(t instanceof n))throw new TypeError("a Range is required");return this.set.some((r=>y(r,e)&&t.set.some((t=>y(t,e)&&r.every((r=>t.every((t=>r.intersects(t,e)))))))))}test(t){if(!t)return!1;if("string"==typeof t)try{t=new u(t,this.options)}catch(t){return!1}for(let e=0;e<this.set.length;e++)if(C(this.set[e],t,this.options))return!0;return!1}}t.exports=n;const i=new(r(74926))({max:1e3}),s=r(45769),o=r(95742),a=r(49566),u=r(58814),{safeRe:c,t:l,comparatorTrimReplace:h,tildeTrimReplace:p,caretTrimReplace:f}=r(36908),{FLAG_INCLUDE_PRERELEASE:d,FLAG_LOOSE:_}=r(89738),v=t=>"<0.0.0-0"===t.value,m=t=>""===t.value,y=(t,e)=>{let r=!0;const n=t.slice();let i=n.pop();for(;r&&n.length;)r=n.every((t=>i.intersects(t,e))),i=n.pop();return r},g=(t,e)=>(a("comp",t,e),t=R(t,e),a("caret",t),t=w(t,e),a("tildes",t),t=b(t,e),a("xrange",t),t=x(t,e),a("stars",t),t),E=t=>!t||"x"===t.toLowerCase()||"*"===t,w=(t,e)=>t.trim().split(/\s+/).map((t=>S(t,e))).join(" "),S=(t,e)=>{const r=e.loose?c[l.TILDELOOSE]:c[l.TILDE];return t.replace(r,((e,r,n,i,s)=>{let o;return a("tilde",t,e,r,n,i,s),E(r)?o="":E(n)?o=`>=${r}.0.0 <${+r+1}.0.0-0`:E(i)?o=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:s?(a("replaceTilde pr",s),o=`>=${r}.${n}.${i}-${s} <${r}.${+n+1}.0-0`):o=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,a("tilde return",o),o}))},R=(t,e)=>t.trim().split(/\s+/).map((t=>A(t,e))).join(" "),A=(t,e)=>{a("caret",t,e);const r=e.loose?c[l.CARETLOOSE]:c[l.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,((e,r,i,s,o)=>{let u;return a("caret",t,e,r,i,s,o),E(r)?u="":E(i)?u=`>=${r}.0.0${n} <${+r+1}.0.0-0`:E(s)?u="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:o?(a("replaceCaret pr",o),u="0"===r?"0"===i?`>=${r}.${i}.${s}-${o} <${r}.${i}.${+s+1}-0`:`>=${r}.${i}.${s}-${o} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${s}-${o} <${+r+1}.0.0-0`):(a("no pr"),u="0"===r?"0"===i?`>=${r}.${i}.${s}${n} <${r}.${i}.${+s+1}-0`:`>=${r}.${i}.${s}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${s} <${+r+1}.0.0-0`),a("caret return",u),u}))},b=(t,e)=>(a("replaceXRanges",t,e),t.split(/\s+/).map((t=>I(t,e))).join(" ")),I=(t,e)=>{t=t.trim();const r=e.loose?c[l.XRANGELOOSE]:c[l.XRANGE];return t.replace(r,((r,n,i,s,o,u)=>{a("xRange",t,r,n,i,s,o,u);const c=E(i),l=c||E(s),h=l||E(o),p=h;return"="===n&&p&&(n=""),u=e.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(l&&(s=0),o=0,">"===n?(n=">=",l?(i=+i+1,s=0,o=0):(s=+s+1,o=0)):"<="===n&&(n="<",l?i=+i+1:s=+s+1),"<"===n&&(u="-0"),r=`${n+i}.${s}.${o}${u}`):l?r=`>=${i}.0.0${u} <${+i+1}.0.0-0`:h&&(r=`>=${i}.${s}.0${u} <${i}.${+s+1}.0-0`),a("xRange return",r),r}))},x=(t,e)=>(a("replaceStars",t,e),t.trim().replace(c[l.STAR],"")),O=(t,e)=>(a("replaceGTE0",t,e),t.trim().replace(c[e.includePrerelease?l.GTE0PRE:l.GTE0],"")),T=t=>(e,r,n,i,s,o,a,u,c,l,h,p,f)=>`${r=E(n)?"":E(i)?`>=${n}.0.0${t?"-0":""}`:E(s)?`>=${n}.${i}.0${t?"-0":""}`:o?`>=${r}`:`>=${r}${t?"-0":""}`} ${u=E(c)?"":E(l)?`<${+c+1}.0.0-0`:E(h)?`<${c}.${+l+1}.0-0`:p?`<=${c}.${l}.${h}-${p}`:t?`<${c}.${l}.${+h+1}-0`:`<=${u}`}`.trim(),C=(t,e,r)=>{for(let r=0;r<t.length;r++)if(!t[r].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(let r=0;r<t.length;r++)if(a(t[r].semver),t[r].semver!==o.ANY&&t[r].semver.prerelease.length>0){const n=t[r].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0}},58814:(t,e,r)=>{const n=r(49566),{MAX_LENGTH:i,MAX_SAFE_INTEGER:s}=r(89738),{safeRe:o,t:a}=r(36908),u=r(45769),{compareIdentifiers:c}=r(3886);class l{constructor(t,e){if(e=u(e),t instanceof l){if(t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>i)throw new TypeError(`version is longer than ${i} characters`);n("SemVer",t,e),this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease;const r=t.trim().match(e.loose?o[a.LOOSE]:o[a.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((t=>{if(/^[0-9]+$/.test(t)){const e=+t;if(e>=0&&e<s)return e}return t})):this.prerelease=[],this.build=r[5]?r[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(n("SemVer.compare",this.version,this.options,t),!(t instanceof l)){if("string"==typeof t&&t===this.version)return 0;t=new l(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof l||(t=new l(t,this.options)),c(this.major,t.major)||c(this.minor,t.minor)||c(this.patch,t.patch)}comparePre(t){if(t instanceof l||(t=new l(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 e=0;do{const r=this.prerelease[e],i=t.prerelease[e];if(n("prerelease compare",e,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return c(r,i)}while(++e)}compareBuild(t){t instanceof l||(t=new l(t,this.options));let e=0;do{const r=this.build[e],i=t.build[e];if(n("prerelease compare",e,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return c(r,i)}while(++e)}inc(t,e,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e,r),this.inc("pre",e,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e,r),this.inc("pre",e,r);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const t=Number(r)?1:0;if(!e&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[t];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(e===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(t)}}if(e){let n=[e,t];!1===r&&(n=[e]),0===c(this.prerelease[0],e)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}t.exports=l},31505:(t,e,r)=>{const n=r(92200);t.exports=(t,e)=>{const r=n(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null}},98414:(t,e,r)=>{const n=r(36085),i=r(2190),s=r(74774),o=r(54109),a=r(60250),u=r(20338);t.exports=(t,e,r,c)=>{switch(e){case"===":return"object"==typeof t&&(t=t.version),"object"==typeof r&&(r=r.version),t===r;case"!==":return"object"==typeof t&&(t=t.version),"object"==typeof r&&(r=r.version),t!==r;case"":case"=":case"==":return n(t,r,c);case"!=":return i(t,r,c);case">":return s(t,r,c);case">=":return o(t,r,c);case"<":return a(t,r,c);case"<=":return u(t,r,c);default:throw new TypeError(`Invalid operator: ${e}`)}}},44901:(t,e,r)=>{const n=r(58814),i=r(92200),{safeRe:s,t:o}=r(36908);t.exports=(t,e)=>{if(t instanceof n)return t;if("number"==typeof t&&(t=String(t)),"string"!=typeof t)return null;let r=null;if((e=e||{}).rtl){let e;for(;(e=s[o.COERCERTL].exec(t))&&(!r||r.index+r[0].length!==t.length);)r&&e.index+e[0].length===r.index+r[0].length||(r=e),s[o.COERCERTL].lastIndex=e.index+e[1].length+e[2].length;s[o.COERCERTL].lastIndex=-1}else r=t.match(s[o.COERCE]);return null===r?null:i(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,e)}},64128:(t,e,r)=>{const n=r(58814);t.exports=(t,e,r)=>{const i=new n(t,r),s=new n(e,r);return i.compare(s)||i.compareBuild(s)}},72821:(t,e,r)=>{const n=r(27646);t.exports=(t,e)=>n(t,e,!0)},27646:(t,e,r)=>{const n=r(58814);t.exports=(t,e,r)=>new n(t,r).compare(new n(e,r))},51103:(t,e,r)=>{const n=r(92200);t.exports=(t,e)=>{const r=n(t,null,!0),i=n(e,null,!0),s=r.compare(i);if(0===s)return null;const o=s>0,a=o?r:i,u=o?i:r,c=!!a.prerelease.length;if(u.prerelease.length&&!c)return u.patch||u.minor?a.patch?"patch":a.minor?"minor":"major":"major";const l=c?"pre":"";return r.major!==i.major?l+"major":r.minor!==i.minor?l+"minor":r.patch!==i.patch?l+"patch":"prerelease"}},36085:(t,e,r)=>{const n=r(27646);t.exports=(t,e,r)=>0===n(t,e,r)},74774:(t,e,r)=>{const n=r(27646);t.exports=(t,e,r)=>n(t,e,r)>0},54109:(t,e,r)=>{const n=r(27646);t.exports=(t,e,r)=>n(t,e,r)>=0},10684:(t,e,r)=>{const n=r(58814);t.exports=(t,e,r,i,s)=>{"string"==typeof r&&(s=i,i=r,r=void 0);try{return new n(t instanceof n?t.version:t,r).inc(e,i,s).version}catch(t){return null}}},60250:(t,e,r)=>{const n=r(27646);t.exports=(t,e,r)=>n(t,e,r)<0},20338:(t,e,r)=>{const n=r(27646);t.exports=(t,e,r)=>n(t,e,r)<=0},38022:(t,e,r)=>{const n=r(58814);t.exports=(t,e)=>new n(t,e).major},51052:(t,e,r)=>{const n=r(58814);t.exports=(t,e)=>new n(t,e).minor},2190:(t,e,r)=>{const n=r(27646);t.exports=(t,e,r)=>0!==n(t,e,r)},92200:(t,e,r)=>{const n=r(58814);t.exports=(t,e,r=!1)=>{if(t instanceof n)return t;try{return new n(t,e)}catch(t){if(!r)return null;throw t}}},42038:(t,e,r)=>{const n=r(58814);t.exports=(t,e)=>new n(t,e).patch},55121:(t,e,r)=>{const n=r(92200);t.exports=(t,e)=>{const r=n(t,e);return r&&r.prerelease.length?r.prerelease:null}},72492:(t,e,r)=>{const n=r(27646);t.exports=(t,e,r)=>n(e,t,r)},24113:(t,e,r)=>{const n=r(64128);t.exports=(t,e)=>t.sort(((t,r)=>n(r,t,e)))},79403:(t,e,r)=>{const n=r(18588);t.exports=(t,e,r)=>{try{e=new n(e,r)}catch(t){return!1}return e.test(t)}},7733:(t,e,r)=>{const n=r(64128);t.exports=(t,e)=>t.sort(((t,r)=>n(t,r,e)))},56053:(t,e,r)=>{const n=r(92200);t.exports=(t,e)=>{const r=n(t,e);return r?r.version:null}},59778:(t,e,r)=>{const n=r(36908),i=r(89738),s=r(58814),o=r(3886),a=r(92200),u=r(56053),c=r(31505),l=r(10684),h=r(51103),p=r(38022),f=r(51052),d=r(42038),_=r(55121),v=r(27646),m=r(72492),y=r(72821),g=r(64128),E=r(7733),w=r(24113),S=r(74774),R=r(60250),A=r(36085),b=r(2190),I=r(54109),x=r(20338),O=r(98414),T=r(44901),C=r(95742),$=r(18588),L=r(79403),N=r(68507),P=r(80826),D=r(83521),k=r(84936),M=r(75195),H=r(43973),j=r(99267),G=r(54127),z=r(49166),F=r(56821),B=r(57800);t.exports={parse:a,valid:u,clean:c,inc:l,diff:h,major:p,minor:f,patch:d,prerelease:_,compare:v,rcompare:m,compareLoose:y,compareBuild:g,sort:E,rsort:w,gt:S,lt:R,eq:A,neq:b,gte:I,lte:x,cmp:O,coerce:T,Comparator:C,Range:$,satisfies:L,toComparators:N,maxSatisfying:P,minSatisfying:D,minVersion:k,validRange:M,outside:H,gtr:j,ltr:G,intersects:z,simplifyRange:F,subset:B,SemVer:s,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},89738:t=>{const e=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:e,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},49566:t=>{const e="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};t.exports=e},3886:t=>{const e=/^[0-9]+$/,r=(t,r)=>{const n=e.test(t),i=e.test(r);return n&&i&&(t=+t,r=+r),t===r?0:n&&!i?-1:i&&!n?1:t<r?-1:1};t.exports={compareIdentifiers:r,rcompareIdentifiers:(t,e)=>r(e,t)}},45769:t=>{const e=Object.freeze({loose:!0}),r=Object.freeze({});t.exports=t=>t?"object"!=typeof t?e:t:r},36908:(t,e,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:s}=r(89738),o=r(49566),a=(e=t.exports={}).re=[],u=e.safeRe=[],c=e.src=[],l=e.t={};let h=0;const p="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",s],[p,i]],d=(t,e,r)=>{const n=(t=>{for(const[e,r]of f)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t})(e),i=h++;o(t,i,e),l[t]=i,c[i]=e,a[i]=new RegExp(e,r?"g":void 0),u[i]=new RegExp(n,r?"g":void 0)};d("NUMERICIDENTIFIER","0|[1-9]\\d*"),d("NUMERICIDENTIFIERLOOSE","\\d+"),d("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),d("MAINVERSION",`(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})`),d("MAINVERSIONLOOSE",`(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})`),d("PRERELEASEIDENTIFIER",`(?:${c[l.NUMERICIDENTIFIER]}|${c[l.NONNUMERICIDENTIFIER]})`),d("PRERELEASEIDENTIFIERLOOSE",`(?:${c[l.NUMERICIDENTIFIERLOOSE]}|${c[l.NONNUMERICIDENTIFIER]})`),d("PRERELEASE",`(?:-(${c[l.PRERELEASEIDENTIFIER]}(?:\\.${c[l.PRERELEASEIDENTIFIER]})*))`),d("PRERELEASELOOSE",`(?:-?(${c[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[l.PRERELEASEIDENTIFIERLOOSE]})*))`),d("BUILDIDENTIFIER",`${p}+`),d("BUILD",`(?:\\+(${c[l.BUILDIDENTIFIER]}(?:\\.${c[l.BUILDIDENTIFIER]})*))`),d("FULLPLAIN",`v?${c[l.MAINVERSION]}${c[l.PRERELEASE]}?${c[l.BUILD]}?`),d("FULL",`^${c[l.FULLPLAIN]}$`),d("LOOSEPLAIN",`[v=\\s]*${c[l.MAINVERSIONLOOSE]}${c[l.PRERELEASELOOSE]}?${c[l.BUILD]}?`),d("LOOSE",`^${c[l.LOOSEPLAIN]}$`),d("GTLT","((?:<|>)?=?)"),d("XRANGEIDENTIFIERLOOSE",`${c[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),d("XRANGEIDENTIFIER",`${c[l.NUMERICIDENTIFIER]}|x|X|\\*`),d("XRANGEPLAIN",`[v=\\s]*(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:${c[l.PRERELEASE]})?${c[l.BUILD]}?)?)?`),d("XRANGEPLAINLOOSE",`[v=\\s]*(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:${c[l.PRERELEASELOOSE]})?${c[l.BUILD]}?)?)?`),d("XRANGE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAIN]}$`),d("XRANGELOOSE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAINLOOSE]}$`),d("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),d("COERCERTL",c[l.COERCE],!0),d("LONETILDE","(?:~>?)"),d("TILDETRIM",`(\\s*)${c[l.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",d("TILDE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAIN]}$`),d("TILDELOOSE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAINLOOSE]}$`),d("LONECARET","(?:\\^)"),d("CARETTRIM",`(\\s*)${c[l.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",d("CARET",`^${c[l.LONECARET]}${c[l.XRANGEPLAIN]}$`),d("CARETLOOSE",`^${c[l.LONECARET]}${c[l.XRANGEPLAINLOOSE]}$`),d("COMPARATORLOOSE",`^${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]})$|^$`),d("COMPARATOR",`^${c[l.GTLT]}\\s*(${c[l.FULLPLAIN]})$|^$`),d("COMPARATORTRIM",`(\\s*)${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]}|${c[l.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",d("HYPHENRANGE",`^\\s*(${c[l.XRANGEPLAIN]})\\s+-\\s+(${c[l.XRANGEPLAIN]})\\s*$`),d("HYPHENRANGELOOSE",`^\\s*(${c[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[l.XRANGEPLAINLOOSE]})\\s*$`),d("STAR","(<|>)?=?\\s*\\*"),d("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),d("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},99267:(t,e,r)=>{const n=r(43973);t.exports=(t,e,r)=>n(t,e,">",r)},49166:(t,e,r)=>{const n=r(18588);t.exports=(t,e,r)=>(t=new n(t,r),e=new n(e,r),t.intersects(e,r))},54127:(t,e,r)=>{const n=r(43973);t.exports=(t,e,r)=>n(t,e,"<",r)},80826:(t,e,r)=>{const n=r(58814),i=r(18588);t.exports=(t,e,r)=>{let s=null,o=null,a=null;try{a=new i(e,r)}catch(t){return null}return t.forEach((t=>{a.test(t)&&(s&&-1!==o.compare(t)||(s=t,o=new n(s,r)))})),s}},83521:(t,e,r)=>{const n=r(58814),i=r(18588);t.exports=(t,e,r)=>{let s=null,o=null,a=null;try{a=new i(e,r)}catch(t){return null}return t.forEach((t=>{a.test(t)&&(s&&1!==o.compare(t)||(s=t,o=new n(s,r)))})),s}},84936:(t,e,r)=>{const n=r(58814),i=r(18588),s=r(74774);t.exports=(t,e)=>{t=new i(t,e);let r=new n("0.0.0");if(t.test(r))return r;if(r=new n("0.0.0-0"),t.test(r))return r;r=null;for(let e=0;e<t.set.length;++e){const i=t.set[e];let o=null;i.forEach((t=>{const e=new n(t.semver.version);switch(t.operator){case">":0===e.prerelease.length?e.patch++:e.prerelease.push(0),e.raw=e.format();case"":case">=":o&&!s(e,o)||(o=e);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${t.operator}`)}})),!o||r&&!s(r,o)||(r=o)}return r&&t.test(r)?r:null}},43973:(t,e,r)=>{const n=r(58814),i=r(95742),{ANY:s}=i,o=r(18588),a=r(79403),u=r(74774),c=r(60250),l=r(20338),h=r(54109);t.exports=(t,e,r,p)=>{let f,d,_,v,m;switch(t=new n(t,p),e=new o(e,p),r){case">":f=u,d=l,_=c,v=">",m=">=";break;case"<":f=c,d=h,_=u,v="<",m="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(t,e,p))return!1;for(let r=0;r<e.set.length;++r){const n=e.set[r];let o=null,a=null;if(n.forEach((t=>{t.semver===s&&(t=new i(">=0.0.0")),o=o||t,a=a||t,f(t.semver,o.semver,p)?o=t:_(t.semver,a.semver,p)&&(a=t)})),o.operator===v||o.operator===m)return!1;if((!a.operator||a.operator===v)&&d(t,a.semver))return!1;if(a.operator===m&&_(t,a.semver))return!1}return!0}},56821:(t,e,r)=>{const n=r(79403),i=r(27646);t.exports=(t,e,r)=>{const s=[];let o=null,a=null;const u=t.sort(((t,e)=>i(t,e,r)));for(const t of u)n(t,e,r)?(a=t,o||(o=t)):(a&&s.push([o,a]),a=null,o=null);o&&s.push([o,null]);const c=[];for(const[t,e]of s)t===e?c.push(t):e||t!==u[0]?e?t===u[0]?c.push(`<=${e}`):c.push(`${t} - ${e}`):c.push(`>=${t}`):c.push("*");const l=c.join(" || "),h="string"==typeof e.raw?e.raw:String(e);return l.length<h.length?l:e}},57800:(t,e,r)=>{const n=r(18588),i=r(95742),{ANY:s}=i,o=r(79403),a=r(27646),u=[new i(">=0.0.0-0")],c=[new i(">=0.0.0")],l=(t,e,r)=>{if(t===e)return!0;if(1===t.length&&t[0].semver===s){if(1===e.length&&e[0].semver===s)return!0;t=r.includePrerelease?u:c}if(1===e.length&&e[0].semver===s){if(r.includePrerelease)return!0;e=c}const n=new Set;let i,l,f,d,_,v,m;for(const e of t)">"===e.operator||">="===e.operator?i=h(i,e,r):"<"===e.operator||"<="===e.operator?l=p(l,e,r):n.add(e.semver);if(n.size>1)return null;if(i&&l){if(f=a(i.semver,l.semver,r),f>0)return null;if(0===f&&(">="!==i.operator||"<="!==l.operator))return null}for(const t of n){if(i&&!o(t,String(i),r))return null;if(l&&!o(t,String(l),r))return null;for(const n of e)if(!o(t,String(n),r))return!1;return!0}let y=!(!l||r.includePrerelease||!l.semver.prerelease.length)&&l.semver,g=!(!i||r.includePrerelease||!i.semver.prerelease.length)&&i.semver;y&&1===y.prerelease.length&&"<"===l.operator&&0===y.prerelease[0]&&(y=!1);for(const t of e){if(m=m||">"===t.operator||">="===t.operator,v=v||"<"===t.operator||"<="===t.operator,i)if(g&&t.semver.prerelease&&t.semver.prerelease.length&&t.semver.major===g.major&&t.semver.minor===g.minor&&t.semver.patch===g.patch&&(g=!1),">"===t.operator||">="===t.operator){if(d=h(i,t,r),d===t&&d!==i)return!1}else if(">="===i.operator&&!o(i.semver,String(t),r))return!1;if(l)if(y&&t.semver.prerelease&&t.semver.prerelease.length&&t.semver.major===y.major&&t.semver.minor===y.minor&&t.semver.patch===y.patch&&(y=!1),"<"===t.operator||"<="===t.operator){if(_=p(l,t,r),_===t&&_!==l)return!1}else if("<="===l.operator&&!o(l.semver,String(t),r))return!1;if(!t.operator&&(l||i)&&0!==f)return!1}return!(i&&v&&!l&&0!==f||l&&m&&!i&&0!==f||g||y)},h=(t,e,r)=>{if(!t)return e;const n=a(t.semver,e.semver,r);return n>0?t:n<0||">"===e.operator&&">="===t.operator?e:t},p=(t,e,r)=>{if(!t)return e;const n=a(t.semver,e.semver,r);return n<0?t:n>0||"<"===e.operator&&"<="===t.operator?e:t};t.exports=(t,e,r={})=>{if(t===e)return!0;t=new n(t,r),e=new n(e,r);let i=!1;t:for(const n of t.set){for(const t of e.set){const e=l(n,t,r);if(i=i||null!==e,e)continue t}if(i)return!1}return!0}},68507:(t,e,r)=>{const n=r(18588);t.exports=(t,e)=>new n(t,e).set.map((t=>t.map((t=>t.value)).join(" ").trim().split(" ")))},75195:(t,e,r)=>{const n=r(18588);t.exports=(t,e)=>{try{return new n(t,e).range||"*"}catch(t){return null}}},10646:(t,e,r)=>{"use strict";const n=r(81974);t.exports=(t="")=>{const e=t.match(n);if(!e)return null;const[r,i]=e[0].replace(/#! ?/,"").split(" "),s=r.split("/").pop();return"env"===s?i:i?`${s} ${i}`:s}},81974:t=>{"use strict";t.exports=/^#!(.*)/},303:(t,e,r)=>{var n=global.process;const i=function(t){return t&&"object"==typeof t&&"function"==typeof t.removeListener&&"function"==typeof t.emit&&"function"==typeof t.reallyExit&&"function"==typeof t.listeners&&"function"==typeof t.kill&&"number"==typeof t.pid&&"function"==typeof t.on};if(i(n)){var s,o=r(39491),a=r(77743),u=/^win/i.test(n.platform),c=r(82361);"function"!=typeof c&&(c=c.EventEmitter),n.__signal_exit_emitter__?s=n.__signal_exit_emitter__:((s=n.__signal_exit_emitter__=new c).count=0,s.emitted={}),s.infinite||(s.setMaxListeners(1/0),s.infinite=!0),t.exports=function(t,e){if(!i(global.process))return function(){};o.equal(typeof t,"function","a callback must be provided for exit handler"),!1===f&&d();var r="exit";return e&&e.alwaysLast&&(r="afterexit"),s.on(r,t),function(){s.removeListener(r,t),0===s.listeners("exit").length&&0===s.listeners("afterexit").length&&l()}};var l=function(){f&&i(global.process)&&(f=!1,a.forEach((function(t){try{n.removeListener(t,p[t])}catch(t){}})),n.emit=m,n.reallyExit=_,s.count-=1)};t.exports.unload=l;var h=function(t,e,r){s.emitted[t]||(s.emitted[t]=!0,s.emit(t,e,r))},p={};a.forEach((function(t){p[t]=function(){i(global.process)&&n.listeners(t).length===s.count&&(l(),h("exit",null,t),h("afterexit",null,t),u&&"SIGHUP"===t&&(t="SIGINT"),n.kill(n.pid,t))}})),t.exports.signals=function(){return a};var f=!1,d=function(){!f&&i(global.process)&&(f=!0,s.count+=1,a=a.filter((function(t){try{return n.on(t,p[t]),!0}catch(t){return!1}})),n.emit=y,n.reallyExit=v)};t.exports.load=d;var _=n.reallyExit,v=function(t){i(global.process)&&(n.exitCode=t||0,h("exit",n.exitCode,null),h("afterexit",n.exitCode,null),_.call(n,n.exitCode))},m=n.emit,y=function(t,e){if("exit"===t&&i(global.process)){void 0!==e&&(n.exitCode=e);var r=m.apply(this,arguments);return h("exit",n.exitCode,null),h("afterexit",n.exitCode,null),r}return m.apply(this,arguments)}}else t.exports=function(){return function(){}}},77743:t=>{t.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&t.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&t.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")},25133:t=>{"use strict";t.exports=t=>{const e="string"==typeof t?"\n":"\n".charCodeAt(),r="string"==typeof t?"\r":"\r".charCodeAt();return t[t.length-1]===e&&(t=t.slice(0,t.length-1)),t[t.length-1]===r&&(t=t.slice(0,t.length-1)),t}},53555:(t,e,r)=>{"use strict";const n=r(79056),i=(t,e,r)=>{if(!1===n(t))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===e||t===e)return String(t);if(!1===n(e))throw new TypeError("toRegexRange: expected the second argument to be a number.");let s={relaxZeros:!0,...r};"boolean"==typeof s.strictZeros&&(s.relaxZeros=!1===s.strictZeros);let u=t+":"+e+"="+String(s.relaxZeros)+String(s.shorthand)+String(s.capture)+String(s.wrap);if(i.cache.hasOwnProperty(u))return i.cache[u].result;let c=Math.min(t,e),l=Math.max(t,e);if(1===Math.abs(c-l)){let r=t+"|"+e;return s.capture?`(${r})`:!1===s.wrap?r:`(?:${r})`}let h=f(t)||f(e),p={min:t,max:e,a:c,b:l},d=[],_=[];return h&&(p.isPadded=h,p.maxLen=String(p.max).length),c<0&&(_=o(l<0?Math.abs(l):1,Math.abs(c),p,s),c=p.a=0),l>=0&&(d=o(c,l,p,s)),p.negatives=_,p.positives=d,p.result=function(t,e,r){let n=a(t,e,"-",!1)||[],i=a(e,t,"",!1)||[],s=a(t,e,"-?",!0)||[];return n.concat(s).concat(i).join("|")}(_,d),!0===s.capture?p.result=`(${p.result})`:!1!==s.wrap&&d.length+_.length>1&&(p.result=`(?:${p.result})`),i.cache[u]=p,p.result};function s(t,e,r){if(t===e)return{pattern:t,count:[],digits:0};let n=function(t,e){let r=[];for(let n=0;n<t.length;n++)r.push([t[n],e[n]]);return r}(t,e),i=n.length,s="",o=0;for(let t=0;t<i;t++){let[e,r]=n[t];e===r?s+=e:"0"!==e||"9"!==r?s+=`[${a=e}${(u=r)-a==1?"":"-"}${u}]`:o++}var a,u;return o&&(s+=!0===r.shorthand?"\\d":"[0-9]"),{pattern:s,count:[o],digits:i}}function o(t,e,r,n){let i,o=function(t,e){let r=1,n=1,i=l(t,r),s=new Set([e]);for(;t<=i&&i<=e;)s.add(i),r+=1,i=l(t,r);for(i=h(e+1,n)-1;t<i&&i<=e;)s.add(i),n+=1,i=h(e+1,n)-1;return s=[...s],s.sort(u),s}(t,e),a=[],c=t;for(let t=0;t<o.length;t++){let e=o[t],u=s(String(c),String(e),n),l="";r.isPadded||!i||i.pattern!==u.pattern?(r.isPadded&&(l=d(e,r,n)),u.string=l+u.pattern+p(u.count),a.push(u),c=e+1,i=u):(i.count.length>1&&i.count.pop(),i.count.push(u.count[0]),i.string=i.pattern+p(i.count),c=e+1)}return a}function a(t,e,r,n,i){let s=[];for(let i of t){let{string:t}=i;n||c(e,"string",t)||s.push(r+t),n&&c(e,"string",t)&&s.push(r+t)}return s}function u(t,e){return t>e?1:e>t?-1:0}function c(t,e,r){return t.some((t=>t[e]===r))}function l(t,e){return Number(String(t).slice(0,-e)+"9".repeat(e))}function h(t,e){return t-t%Math.pow(10,e)}function p(t){let[e=0,r=""]=t;return r||e>1?`{${e+(r?","+r:"")}}`:""}function f(t){return/^-?(0+)\d/.test(t)}function d(t,e,r){if(!e.isPadded)return t;let n=Math.abs(e.maxLen-String(t).length),i=!1!==r.relaxZeros;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}}`}}i.cache={},i.clearCache=()=>i.cache={},t.exports=i},85746:(t,e,r)=>{const n="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,i=r(71017),s=n?";":":",o=r(53199),a=t=>Object.assign(new Error(`not found: ${t}`),{code:"ENOENT"}),u=(t,e)=>{const r=e.colon||s,i=t.match(/\//)||n&&t.match(/\\/)?[""]:[...n?[process.cwd()]:[],...(e.path||process.env.PATH||"").split(r)],o=n?e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",a=n?o.split(r):[""];return n&&-1!==t.indexOf(".")&&""!==a[0]&&a.unshift(""),{pathEnv:i,pathExt:a,pathExtExe:o}},c=(t,e,r)=>{"function"==typeof e&&(r=e,e={}),e||(e={});const{pathEnv:n,pathExt:s,pathExtExe:c}=u(t,e),l=[],h=r=>new Promise(((s,o)=>{if(r===n.length)return e.all&&l.length?s(l):o(a(t));const u=n[r],c=/^".*"$/.test(u)?u.slice(1,-1):u,h=i.join(c,t),f=!c&&/^\.[\\\/]/.test(t)?t.slice(0,2)+h:h;s(p(f,r,0))})),p=(t,r,n)=>new Promise(((i,a)=>{if(n===s.length)return i(h(r+1));const u=s[n];o(t+u,{pathExt:c},((s,o)=>{if(!s&&o){if(!e.all)return i(t+u);l.push(t+u)}return i(p(t,r,n+1))}))}));return r?h(0).then((t=>r(null,t)),r):h(0)};t.exports=c,c.sync=(t,e)=>{e=e||{};const{pathEnv:r,pathExt:n,pathExtExe:s}=u(t,e),c=[];for(let a=0;a<r.length;a++){const u=r[a],l=/^".*"$/.test(u)?u.slice(1,-1):u,h=i.join(l,t),p=!l&&/^\.[\\\/]/.test(t)?t.slice(0,2)+h:h;for(let t=0;t<n.length;t++){const r=p+n[t];try{if(o.sync(r,{pathExt:s})){if(!e.all)return r;c.push(r)}}catch(t){}}}if(e.all&&c.length)return c;if(e.nothrow)return null;throw a(t)}},31047:t=>{"use strict";t.exports=function(t){t.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}},92894:(t,e,r)=>{"use strict";function n(t){var e=this;if(e instanceof n||(e=new n),e.tail=null,e.head=null,e.length=0,t&&"function"==typeof t.forEach)t.forEach((function(t){e.push(t)}));else if(arguments.length>0)for(var r=0,i=arguments.length;r<i;r++)e.push(arguments[r]);return e}function i(t,e,r,n){if(!(this instanceof i))return new i(t,e,r,n);this.list=n,this.value=t,e?(e.next=this,this.prev=e):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}t.exports=n,n.Node=i,n.create=n,n.prototype.removeNode=function(t){if(t.list!==this)throw new Error("removing node which does not belong to this list");var e=t.next,r=t.prev;return e&&(e.prev=r),r&&(r.next=e),t===this.head&&(this.head=e),t===this.tail&&(this.tail=r),t.list.length--,t.next=null,t.prev=null,t.list=null,e},n.prototype.unshiftNode=function(t){if(t!==this.head){t.list&&t.list.removeNode(t);var e=this.head;t.list=this,t.next=e,e&&(e.prev=t),this.head=t,this.tail||(this.tail=t),this.length++}},n.prototype.pushNode=function(t){if(t!==this.tail){t.list&&t.list.removeNode(t);var e=this.tail;t.list=this,t.prev=e,e&&(e.next=t),this.tail=t,this.head||(this.head=t),this.length++}},n.prototype.push=function(){for(var t=0,e=arguments.length;t<e;t++)n=arguments[t],(r=this).tail=new i(n,r.tail,null,r),r.head||(r.head=r.tail),r.length++;var r,n;return this.length},n.prototype.unshift=function(){for(var t=0,e=arguments.length;t<e;t++)n=arguments[t],(r=this).head=new i(n,null,r.head,r),r.tail||(r.tail=r.head),r.length++;var r,n;return this.length},n.prototype.pop=function(){if(this.tail){var t=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,t}},n.prototype.shift=function(){if(this.head){var t=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,t}},n.prototype.forEach=function(t,e){e=e||this;for(var r=this.head,n=0;null!==r;n++)t.call(e,r.value,n,this),r=r.next},n.prototype.forEachReverse=function(t,e){e=e||this;for(var r=this.tail,n=this.length-1;null!==r;n--)t.call(e,r.value,n,this),r=r.prev},n.prototype.get=function(t){for(var e=0,r=this.head;null!==r&&e<t;e++)r=r.next;if(e===t&&null!==r)return r.value},n.prototype.getReverse=function(t){for(var e=0,r=this.tail;null!==r&&e<t;e++)r=r.prev;if(e===t&&null!==r)return r.value},n.prototype.map=function(t,e){e=e||this;for(var r=new n,i=this.head;null!==i;)r.push(t.call(e,i.value,this)),i=i.next;return r},n.prototype.mapReverse=function(t,e){e=e||this;for(var r=new n,i=this.tail;null!==i;)r.push(t.call(e,i.value,this)),i=i.prev;return r},n.prototype.reduce=function(t,e){var r,n=this.head;if(arguments.length>1)r=e;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var i=0;null!==n;i++)r=t(r,n.value,i),n=n.next;return r},n.prototype.reduceReverse=function(t,e){var r,n=this.tail;if(arguments.length>1)r=e;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var i=this.length-1;null!==n;i--)r=t(r,n.value,i),n=n.prev;return r},n.prototype.toArray=function(){for(var t=new Array(this.length),e=0,r=this.head;null!==r;e++)t[e]=r.value,r=r.next;return t},n.prototype.toArrayReverse=function(){for(var t=new Array(this.length),e=0,r=this.tail;null!==r;e++)t[e]=r.value,r=r.prev;return t},n.prototype.slice=function(t,e){(e=e||this.length)<0&&(e+=this.length),(t=t||0)<0&&(t+=this.length);var r=new n;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var i=0,s=this.head;null!==s&&i<t;i++)s=s.next;for(;null!==s&&i<e;i++,s=s.next)r.push(s.value);return r},n.prototype.sliceReverse=function(t,e){(e=e||this.length)<0&&(e+=this.length),(t=t||0)<0&&(t+=this.length);var r=new n;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var i=this.length,s=this.tail;null!==s&&i>e;i--)s=s.prev;for(;null!==s&&i>t;i--,s=s.prev)r.push(s.value);return r},n.prototype.splice=function(t,e,...r){t>this.length&&(t=this.length-1),t<0&&(t=this.length+t);for(var n=0,s=this.head;null!==s&&n<t;n++)s=s.next;var o,a,u,c,l=[];for(n=0;s&&n<e;n++)l.push(s.value),s=this.removeNode(s);for(null===s&&(s=this.tail),s!==this.head&&s!==this.tail&&(s=s.prev),n=0;n<r.length;n++)o=this,a=s,u=r[n],c=void 0,null===(c=a===o.head?new i(u,null,a,o):new i(u,a,a.next,o)).next&&(o.tail=c),null===c.prev&&(o.head=c),o.length++,s=c;return l},n.prototype.reverse=function(){for(var t=this.head,e=this.tail,r=t;null!==r;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=e,this.tail=t,this};try{r(31047)(n)}catch(t){}},30826:function(t,e){!function(t){"use strict";var e="delete",r=5,n=1<<r,i=n-1,s={};function o(t){t&&(t.value=!0)}function a(){}function u(t){return void 0===t.size&&(t.size=t.__iterate(l)),t.size}function c(t,e){if("number"!=typeof e){var r=e>>>0;if(""+r!==e||4294967295===r)return NaN;e=r}return e<0?u(t)+e:e}function l(){return!0}function h(t,e,r){return(0===t&&!_(t)||void 0!==r&&t<=-r)&&(void 0===e||void 0!==r&&e>=r)}function p(t,e){return d(t,e,0)}function f(t,e){return d(t,e,e)}function d(t,e,r){return void 0===t?r:_(t)?e===1/0?e:0|Math.max(0,e+t):void 0===e||e===t?t:0|Math.min(e,t)}function _(t){return t<0||0===t&&1/t==-1/0}var v="@@__IMMUTABLE_ITERABLE__@@";function m(t){return Boolean(t&&t[v])}var y="@@__IMMUTABLE_KEYED__@@";function g(t){return Boolean(t&&t[y])}var E="@@__IMMUTABLE_INDEXED__@@";function w(t){return Boolean(t&&t[E])}function S(t){return g(t)||w(t)}var R=function(t){return m(t)?t:X(t)},A=function(t){function e(t){return g(t)?t:Y(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(R),b=function(t){function e(t){return w(t)?t:Q(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(R),I=function(t){function e(t){return m(t)&&!S(t)?t:Z(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(R);R.Keyed=A,R.Indexed=b,R.Set=I;var x="@@__IMMUTABLE_SEQ__@@";function O(t){return Boolean(t&&t[x])}var T="@@__IMMUTABLE_RECORD__@@";function C(t){return Boolean(t&&t[T])}function $(t){return m(t)||C(t)}var L="@@__IMMUTABLE_ORDERED__@@";function N(t){return Boolean(t&&t[L])}var P=0,D=1,k=2,M="function"==typeof Symbol&&Symbol.iterator,H="@@iterator",j=M||H,G=function(t){this.next=t};function z(t,e,r,n){var i=0===t?e:1===t?r:[e,r];return n?n.value=i:n={value:i,done:!1},n}function F(){return{value:void 0,done:!0}}function B(t){return!!Array.isArray(t)||!!K(t)}function U(t){return t&&"function"==typeof t.next}function W(t){var e=K(t);return e&&e.call(t)}function K(t){var e=t&&(M&&t[M]||t[H]);if("function"==typeof e)return e}G.prototype.toString=function(){return"[Iterator]"},G.KEYS=P,G.VALUES=D,G.ENTRIES=k,G.prototype.inspect=G.prototype.toSource=function(){return this.toString()},G.prototype[j]=function(){return this};var q=Object.prototype.hasOwnProperty;function V(t){return!(!Array.isArray(t)&&"string"!=typeof t)||t&&"object"==typeof t&&Number.isInteger(t.length)&&t.length>=0&&(0===t.length?1===Object.keys(t).length:t.hasOwnProperty(t.length-1))}var X=function(t){function e(t){return null==t?nt():$(t)?t.toSeq():function(t){var e=ot(t);if(e)return r=t,n=K(r),n&&n===r.entries?e.fromEntrySeq():function(t){var e=K(t);return e&&e===t.keys}(t)?e.toSetSeq():e;var r,n;if("object"==typeof t)return new tt(t);throw new TypeError("Expected Array or collection object of values, or keyed object: "+t)}(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq {","}")},e.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},e.prototype.__iterate=function(t,e){var r=this._cache;if(r){for(var n=r.length,i=0;i!==n;){var s=r[e?n-++i:i++];if(!1===t(s[1],s[0],this))break}return i}return this.__iterateUncached(t,e)},e.prototype.__iterator=function(t,e){var r=this._cache;if(r){var n=r.length,i=0;return new G((function(){if(i===n)return{value:void 0,done:!0};var s=r[e?n-++i:i++];return z(t,s[0],s[1])}))}return this.__iteratorUncached(t,e)},e}(R),Y=function(t){function e(t){return null==t?nt().toKeyedSeq():m(t)?g(t)?t.toSeq():t.fromEntrySeq():C(t)?t.toSeq():it(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toKeyedSeq=function(){return this},e}(X),Q=function(t){function e(t){return null==t?nt():m(t)?g(t)?t.entrySeq():t.toIndexedSeq():C(t)?t.toSeq().entrySeq():st(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toIndexedSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq [","]")},e}(X),Z=function(t){function e(t){return(m(t)&&!S(t)?t:Q(t)).toSetSeq()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toSetSeq=function(){return this},e}(X);X.isSeq=O,X.Keyed=Y,X.Set=Z,X.Indexed=Q,X.prototype[x]=!0;var J=function(t){function e(t){this._array=t,this.size=t.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this.has(t)?this._array[c(this,t)]:e},e.prototype.__iterate=function(t,e){for(var r=this._array,n=r.length,i=0;i!==n;){var s=e?n-++i:i++;if(!1===t(r[s],s,this))break}return i},e.prototype.__iterator=function(t,e){var r=this._array,n=r.length,i=0;return new G((function(){if(i===n)return{value:void 0,done:!0};var s=e?n-++i:i++;return z(t,s,r[s])}))},e}(Q),tt=function(t){function e(t){var e=Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]);this._object=t,this._keys=e,this.size=e.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},e.prototype.has=function(t){return q.call(this._object,t)},e.prototype.__iterate=function(t,e){for(var r=this._object,n=this._keys,i=n.length,s=0;s!==i;){var o=n[e?i-++s:s++];if(!1===t(r[o],o,this))break}return s},e.prototype.__iterator=function(t,e){var r=this._object,n=this._keys,i=n.length,s=0;return new G((function(){if(s===i)return{value:void 0,done:!0};var o=n[e?i-++s:s++];return z(t,o,r[o])}))},e}(Y);tt.prototype[L]=!0;var et,rt=function(t){function e(t){this._collection=t,this.size=t.length||t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var r=W(this._collection),n=0;if(U(r))for(var i;!(i=r.next()).done&&!1!==t(i.value,n++,this););return n},e.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=W(this._collection);if(!U(r))return new G(F);var n=0;return new G((function(){var e=r.next();return e.done?e:z(t,n++,e.value)}))},e}(Q);function nt(){return et||(et=new J([]))}function it(t){var e=ot(t);if(e)return e.fromEntrySeq();if("object"==typeof t)return new tt(t);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+t)}function st(t){var e=ot(t);if(e)return e;throw new TypeError("Expected Array or collection object of values: "+t)}function ot(t){return V(t)?new J(t):B(t)?new rt(t):void 0}var at="@@__IMMUTABLE_MAP__@@";function ut(t){return Boolean(t&&t[at])}function ct(t){return ut(t)&&N(t)}function lt(t){return Boolean(t&&"function"==typeof t.equals&&"function"==typeof t.hashCode)}function ht(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!!(lt(t)&&lt(e)&&t.equals(e))}var pt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var r=65535&(t|=0),n=65535&(e|=0);return r*n+((t>>>16)*n+r*(e>>>16)<<16>>>0)|0};function ft(t){return t>>>1&1073741824|3221225471&t}var dt=Object.prototype.valueOf;function _t(t){if(null==t)return vt(t);if("function"==typeof t.hashCode)return ft(t.hashCode(t));var e,r,n,i=(e=t).valueOf!==dt&&"function"==typeof e.valueOf?e.valueOf(e):e;if(null==i)return vt(i);switch(typeof i){case"boolean":return i?1108378657:1108378656;case"number":return function(t){if(t!=t||t===1/0)return 0;var e=0|t;for(e!==t&&(e^=4294967295*t);t>4294967295;)e^=t/=4294967295;return ft(e)}(i);case"string":return i.length>It?(void 0===(n=Tt[r=i])&&(n=mt(r),Ot===xt&&(Ot=0,Tt={}),Ot++,Tt[r]=n),n):mt(i);case"object":case"function":return function(t){var e;if(St&&void 0!==(e=wt.get(t)))return e;if(void 0!==(e=t[bt]))return e;if(!gt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[bt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=Et(),St)wt.set(t,e);else{if(void 0!==yt&&!1===yt(t))throw new Error("Non-extensible objects are not allowed as keys.");if(gt)Object.defineProperty(t,bt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[bt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[bt]=e}}return e}(i);case"symbol":return function(t){var e=Rt[t];return void 0!==e||(e=Et(),Rt[t]=e),e}(i);default:if("function"==typeof i.toString)return mt(i.toString());throw new Error("Value type "+typeof i+" cannot be hashed.")}}function vt(t){return null===t?1108378658:1108378659}function mt(t){for(var e=0,r=0;r<t.length;r++)e=31*e+t.charCodeAt(r)|0;return ft(e)}var yt=Object.isExtensible,gt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();function Et(){var t=++At;return 1073741824&At&&(At=0),t}var wt,St="function"==typeof WeakMap;St&&(wt=new WeakMap);var Rt=Object.create(null),At=0,bt="__immutablehash__";"function"==typeof Symbol&&(bt=Symbol(bt));var It=16,xt=255,Ot=0,Tt={},Ct=function(t){function e(t,e){this._iter=t,this._useKeys=e,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this._iter.get(t,e)},e.prototype.has=function(t){return this._iter.has(t)},e.prototype.valueSeq=function(){return this._iter.valueSeq()},e.prototype.reverse=function(){var t=this,e=kt(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},e.prototype.map=function(t,e){var r=this,n=Dt(this,t,e);return this._useKeys||(n.valueSeq=function(){return r._iter.toSeq().map(t,e)}),n},e.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate((function(e,n){return t(e,n,r)}),e)},e.prototype.__iterator=function(t,e){return this._iter.__iterator(t,e)},e}(Y);Ct.prototype[L]=!0;var $t=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.includes=function(t){return this._iter.includes(t)},e.prototype.__iterate=function(t,e){var r=this,n=0;return e&&u(this),this._iter.__iterate((function(i){return t(i,e?r.size-++n:n++,r)}),e)},e.prototype.__iterator=function(t,e){var r=this,n=this._iter.__iterator(D,e),i=0;return e&&u(this),new G((function(){var s=n.next();return s.done?s:z(t,e?r.size-++i:i++,s.value,s)}))},e}(Q),Lt=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.has=function(t){return this._iter.includes(t)},e.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate((function(e){return t(e,e,r)}),e)},e.prototype.__iterator=function(t,e){var r=this._iter.__iterator(D,e);return new G((function(){var e=r.next();return e.done?e:z(t,e.value,e.value,e)}))},e}(Z),Nt=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.entrySeq=function(){return this._iter.toSeq()},e.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate((function(e){if(e){Kt(e);var n=m(e);return t(n?e.get(1):e[1],n?e.get(0):e[0],r)}}),e)},e.prototype.__iterator=function(t,e){var r=this._iter.__iterator(D,e);return new G((function(){for(;;){var e=r.next();if(e.done)return e;var n=e.value;if(n){Kt(n);var i=m(n);return z(t,i?n.get(0):n[0],i?n.get(1):n[1],e)}}}))},e}(Y);function Pt(t){var e=Vt(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Xt,e.__iterateUncached=function(e,r){var n=this;return t.__iterate((function(t,r){return!1!==e(r,t,n)}),r)},e.__iteratorUncached=function(e,r){if(e===k){var n=t.__iterator(e,r);return new G((function(){var t=n.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(e===D?P:D,r)},e}function Dt(t,e,r){var n=Vt(t);return n.size=t.size,n.has=function(e){return t.has(e)},n.get=function(n,i){var o=t.get(n,s);return o===s?i:e.call(r,o,n,t)},n.__iterateUncached=function(n,i){var s=this;return t.__iterate((function(t,i,o){return!1!==n(e.call(r,t,i,o),i,s)}),i)},n.__iteratorUncached=function(n,i){var s=t.__iterator(k,i);return new G((function(){var i=s.next();if(i.done)return i;var o=i.value,a=o[0];return z(n,a,e.call(r,o[1],a,t),i)}))},n}function kt(t,e){var r=this,n=Vt(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=Pt(t);return e.reverse=function(){return t.flip()},e}),n.get=function(r,n){return t.get(e?r:-1-r,n)},n.has=function(r){return t.has(e?r:-1-r)},n.includes=function(e){return t.includes(e)},n.cacheResult=Xt,n.__iterate=function(r,n){var i=this,s=0;return n&&u(t),t.__iterate((function(t,o){return r(t,e?o:n?i.size-++s:s++,i)}),!n)},n.__iterator=function(n,i){var s=0;i&&u(t);var o=t.__iterator(k,!i);return new G((function(){var t=o.next();if(t.done)return t;var a=t.value;return z(n,e?a[0]:i?r.size-++s:s++,a[1],t)}))},n}function Mt(t,e,r,n){var i=Vt(t);return n&&(i.has=function(n){var i=t.get(n,s);return i!==s&&!!e.call(r,i,n,t)},i.get=function(n,i){var o=t.get(n,s);return o!==s&&e.call(r,o,n,t)?o:i}),i.__iterateUncached=function(i,s){var o=this,a=0;return t.__iterate((function(t,s,u){if(e.call(r,t,s,u))return a++,i(t,n?s:a-1,o)}),s),a},i.__iteratorUncached=function(i,s){var o=t.__iterator(k,s),a=0;return new G((function(){for(;;){var s=o.next();if(s.done)return s;var u=s.value,c=u[0],l=u[1];if(e.call(r,l,c,t))return z(i,n?c:a++,l,s)}}))},i}function Ht(t,e,r,n){var i=t.size;if(h(e,r,i))return t;var s=p(e,i),o=f(r,i);if(s!=s||o!=o)return Ht(t.toSeq().cacheResult(),e,r,n);var a,u=o-s;u==u&&(a=u<0?0:u);var l=Vt(t);return l.size=0===a?a:t.size&&a||void 0,!n&&O(t)&&a>=0&&(l.get=function(e,r){return(e=c(this,e))>=0&&e<a?t.get(e+s,r):r}),l.__iterateUncached=function(e,r){var i=this;if(0===a)return 0;if(r)return this.cacheResult().__iterate(e,r);var o=0,u=!0,c=0;return t.__iterate((function(t,r){if(!u||!(u=o++<s))return c++,!1!==e(t,n?r:c-1,i)&&c!==a})),c},l.__iteratorUncached=function(e,r){if(0!==a&&r)return this.cacheResult().__iterator(e,r);if(0===a)return new G(F);var i=t.__iterator(e,r),o=0,u=0;return new G((function(){for(;o++<s;)i.next();if(++u>a)return{value:void 0,done:!0};var t=i.next();return n||e===D||t.done?t:z(e,u-1,e===P?void 0:t.value[1],t)}))},l}function jt(t,e,r,n){var i=Vt(t);return i.__iterateUncached=function(i,s){var o=this;if(s)return this.cacheResult().__iterate(i,s);var a=!0,u=0;return t.__iterate((function(t,s,c){if(!a||!(a=e.call(r,t,s,c)))return u++,i(t,n?s:u-1,o)})),u},i.__iteratorUncached=function(i,s){var o=this;if(s)return this.cacheResult().__iterator(i,s);var a=t.__iterator(k,s),u=!0,c=0;return new G((function(){var t,s,l;do{if((t=a.next()).done)return n||i===D?t:z(i,c++,i===P?void 0:t.value[1],t);var h=t.value;s=h[0],l=h[1],u&&(u=e.call(r,l,s,o))}while(u);return i===k?t:z(i,s,l,t)}))},i}function Gt(t,e,r){var n=Vt(t);return n.__iterateUncached=function(i,s){if(s)return this.cacheResult().__iterate(i,s);var o=0,a=!1;return function t(u,c){u.__iterate((function(s,u){return(!e||c<e)&&m(s)?t(s,c+1):(o++,!1===i(s,r?u:o-1,n)&&(a=!0)),!a}),s)}(t,0),o},n.__iteratorUncached=function(n,i){if(i)return this.cacheResult().__iterator(n,i);var s=t.__iterator(n,i),o=[],a=0;return new G((function(){for(;s;){var t=s.next();if(!1===t.done){var u=t.value;if(n===k&&(u=u[1]),e&&!(o.length<e)||!m(u))return r?t:z(n,a++,u,t);o.push(s),s=u.__iterator(n,i)}else s=o.pop()}return{value:void 0,done:!0}}))},n}function zt(t,e,r){e||(e=Yt);var n=g(t),i=0,s=t.toSeq().map((function(e,n){return[n,e,i++,r?r(e,n,t):e]})).valueSeq().toArray();return s.sort((function(t,r){return e(t[3],r[3])||t[2]-r[2]})).forEach(n?function(t,e){s[e].length=2}:function(t,e){s[e]=t[1]}),n?Y(s):w(t)?Q(s):Z(s)}function Ft(t,e,r){if(e||(e=Yt),r){var n=t.toSeq().map((function(e,n){return[e,r(e,n,t)]})).reduce((function(t,r){return Bt(e,t[1],r[1])?r:t}));return n&&n[0]}return t.reduce((function(t,r){return Bt(e,t,r)?r:t}))}function Bt(t,e,r){var n=t(r,e);return 0===n&&r!==e&&(null==r||r!=r)||n>0}function Ut(t,e,r,n){var i=Vt(t),s=new J(r).map((function(t){return t.size}));return i.size=n?s.max():s.min(),i.__iterate=function(t,e){for(var r,n=this.__iterator(D,e),i=0;!(r=n.next()).done&&!1!==t(r.value,i++,this););return i},i.__iteratorUncached=function(t,i){var s=r.map((function(t){return t=R(t),W(i?t.reverse():t)})),o=0,a=!1;return new G((function(){var r;return a||(r=s.map((function(t){return t.next()})),a=n?r.every((function(t){return t.done})):r.some((function(t){return t.done}))),a?{value:void 0,done:!0}:z(t,o++,e.apply(null,r.map((function(t){return t.value}))))}))},i}function Wt(t,e){return t===e?t:O(t)?e:t.constructor(e)}function Kt(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function qt(t){return g(t)?A:w(t)?b:I}function Vt(t){return Object.create((g(t)?Y:w(t)?Q:Z).prototype)}function Xt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):X.prototype.cacheResult.call(this)}function Yt(t,e){return void 0===t&&void 0===e?0:void 0===t?1:void 0===e?-1:t>e?1:t<e?-1:0}function Qt(t,e){e=e||0;for(var r=Math.max(0,t.length-e),n=new Array(r),i=0;i<r;i++)n[i]=t[i+e];return n}function Zt(t,e){if(!t)throw new Error(e)}function Jt(t){Zt(t!==1/0,"Cannot perform this action with an infinite size.")}function te(t){if(V(t)&&"string"!=typeof t)return t;if(N(t))return t.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+t)}$t.prototype.cacheResult=Ct.prototype.cacheResult=Lt.prototype.cacheResult=Nt.prototype.cacheResult=Xt;var ee=Object.prototype.toString;function re(t){if(!t||"object"!=typeof t||"[object Object]"!==ee.call(t))return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var r=e,n=Object.getPrototypeOf(e);null!==n;)r=n,n=Object.getPrototypeOf(r);return r===e}function ne(t){return"object"==typeof t&&($(t)||Array.isArray(t)||re(t))}function ie(t){try{return"string"==typeof t?JSON.stringify(t):String(t)}catch(e){return JSON.stringify(t)}}function se(t,e){return $(t)?t.has(e):ne(t)&&q.call(t,e)}function oe(t,e,r){return $(t)?t.get(e,r):se(t,e)?"function"==typeof t.get?t.get(e):t[e]:r}function ae(t){if(Array.isArray(t))return Qt(t);var e={};for(var r in t)q.call(t,r)&&(e[r]=t[r]);return e}function ue(t,e){if(!ne(t))throw new TypeError("Cannot update non-data-structure value: "+t);if($(t)){if(!t.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+t);return t.remove(e)}if(!q.call(t,e))return t;var r=ae(t);return Array.isArray(r)?r.splice(e,1):delete r[e],r}function ce(t,e,r){if(!ne(t))throw new TypeError("Cannot update non-data-structure value: "+t);if($(t)){if(!t.set)throw new TypeError("Cannot update immutable value without .set() method: "+t);return t.set(e,r)}if(q.call(t,e)&&r===t[e])return t;var n=ae(t);return n[e]=r,n}function le(t,e,r,n){n||(n=r,r=void 0);var i=he($(t),t,te(e),0,r,n);return i===s?r:i}function he(t,e,r,n,i,o){var a=e===s;if(n===r.length){var u=a?i:e,c=o(u);return c===u?e:c}if(!a&&!ne(e))throw new TypeError("Cannot update within non-data-structure value in path ["+r.slice(0,n).map(ie)+"]: "+e);var l=r[n],h=a?s:oe(e,l,s),p=he(h===s?t:$(h),h,r,n+1,i,o);return p===h?e:p===s?ue(e,l):ce(a?t?Ve():{}:e,l,p)}function pe(t,e,r){return le(t,e,s,(function(){return r}))}function fe(t,e){return pe(this,t,e)}function de(t,e){return le(t,e,(function(){return s}))}function _e(t){return de(this,t)}function ve(t,e,r,n){return le(t,[e],r,n)}function me(t,e,r){return 1===arguments.length?t(this):ve(this,t,e,r)}function ye(t,e,r){return le(this,t,e,r)}function ge(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return we(this,t)}function Ee(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];if("function"!=typeof t)throw new TypeError("Invalid merger function: "+t);return we(this,e,t)}function we(t,e,r){for(var n=[],i=0;i<e.length;i++){var o=A(e[i]);0!==o.size&&n.push(o)}return 0===n.length?t:0!==t.toSeq().size||t.__ownerID||1!==n.length?t.withMutations((function(t){for(var e=r?function(e,n){ve(t,n,s,(function(t){return t===s?e:r(t,e,n)}))}:function(e,r){t.set(r,e)},i=0;i<n.length;i++)n[i].forEach(e)})):t.constructor(n[0])}function Se(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];return xe(t,e)}function Re(t,e){for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];return xe(e,r,t)}function Ae(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];return Ie(t,e)}function be(t,e){for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];return Ie(e,r,t)}function Ie(t,e,r){return xe(t,e,function(t){function e(r,n,i){return ne(r)&&ne(n)&&(s=n,o=X(r),a=X(s),w(o)===w(a)&&g(o)===g(a))?xe(r,[n],e):t?t(r,n,i):n;var s,o,a}return e}(r))}function xe(t,e,r){if(!ne(t))throw new TypeError("Cannot merge into non-data-structure value: "+t);if($(t))return"function"==typeof r&&t.mergeWith?t.mergeWith.apply(t,[r].concat(e)):t.merge?t.merge.apply(t,e):t.concat.apply(t,e);for(var n=Array.isArray(t),i=t,s=n?b:A,o=n?function(e){i===t&&(i=ae(i)),i.push(e)}:function(e,n){var s=q.call(i,n),o=s&&r?r(i[n],e,n):e;s&&o===i[n]||(i===t&&(i=ae(i)),i[n]=o)},a=0;a<e.length;a++)s(e[a]).forEach(o);return i}function Oe(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Ie(this,t)}function Te(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];return Ie(this,e,t)}function Ce(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];return le(this,t,Ve(),(function(t){return xe(t,e)}))}function $e(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];return le(this,t,Ve(),(function(t){return Ie(t,e)}))}function Le(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this}function Ne(){return this.__ownerID?this:this.__ensureOwner(new a)}function Pe(){return this.__ensureOwner()}function De(){return this.__altered}var ke=function(t){function e(e){return null==e?Ve():ut(e)&&!N(e)?e:Ve().withMutations((function(r){var n=t(e);Jt(n.size),n.forEach((function(t,e){return r.set(e,t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Ve().withMutations((function(e){for(var r=0;r<t.length;r+=2){if(r+1>=t.length)throw new Error("Missing value for key: "+t[r]);e.set(t[r],t[r+1])}}))},e.prototype.toString=function(){return this.__toString("Map {","}")},e.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},e.prototype.set=function(t,e){return Xe(this,t,e)},e.prototype.remove=function(t){return Xe(this,t,s)},e.prototype.deleteAll=function(t){var e=R(t);return 0===e.size?this:this.withMutations((function(t){e.forEach((function(e){return t.remove(e)}))}))},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ve()},e.prototype.sort=function(t){return Er(zt(this,t))},e.prototype.sortBy=function(t,e){return Er(zt(this,e,t))},e.prototype.map=function(t,e){var r=this;return this.withMutations((function(n){n.forEach((function(i,s){n.set(s,t.call(e,i,s,r))}))}))},e.prototype.__iterator=function(t,e){return new Ue(this,t,e)},e.prototype.__iterate=function(t,e){var r=this,n=0;return this._root&&this._root.iterate((function(e){return n++,t(e[1],e[0],r)}),e),n},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?qe(this.size,this._root,t,this.__hash):0===this.size?Ve():(this.__ownerID=t,this.__altered=!1,this)},e}(A);ke.isMap=ut;var Me=ke.prototype;Me[at]=!0,Me[e]=Me.remove,Me.removeAll=Me.deleteAll,Me.setIn=fe,Me.removeIn=Me.deleteIn=_e,Me.update=me,Me.updateIn=ye,Me.merge=Me.concat=ge,Me.mergeWith=Ee,Me.mergeDeep=Oe,Me.mergeDeepWith=Te,Me.mergeIn=Ce,Me.mergeDeepIn=$e,Me.withMutations=Le,Me.wasAltered=De,Me.asImmutable=Pe,Me["@@transducer/init"]=Me.asMutable=Ne,Me["@@transducer/step"]=function(t,e){return t.set(e[0],e[1])},Me["@@transducer/result"]=function(t){return t.asImmutable()};var He=function(t,e){this.ownerID=t,this.entries=e};He.prototype.get=function(t,e,r,n){for(var i=this.entries,s=0,o=i.length;s<o;s++)if(ht(r,i[s][0]))return i[s][1];return n},He.prototype.update=function(t,e,r,n,i,u,c){for(var l=i===s,h=this.entries,p=0,f=h.length;p<f&&!ht(n,h[p][0]);p++);var d=p<f;if(d?h[p][1]===i:l)return this;if(o(c),(l||!d)&&o(u),!l||1!==h.length){if(!d&&!l&&h.length>=er)return function(t,e,r,n){t||(t=new a);for(var i=new Fe(t,_t(r),[r,n]),s=0;s<e.length;s++){var o=e[s];i=i.update(t,0,void 0,o[0],o[1])}return i}(t,h,n,i);var _=t&&t===this.ownerID,v=_?h:Qt(h);return d?l?p===f-1?v.pop():v[p]=v.pop():v[p]=[n,i]:v.push([n,i]),_?(this.entries=v,this):new He(t,v)}};var je=function(t,e,r){this.ownerID=t,this.bitmap=e,this.nodes=r};je.prototype.get=function(t,e,n,s){void 0===e&&(e=_t(n));var o=1<<((0===t?e:e>>>t)&i),a=this.bitmap;return 0==(a&o)?s:this.nodes[Je(a&o-1)].get(t+r,e,n,s)},je.prototype.update=function(t,e,o,a,u,c,l){void 0===o&&(o=_t(a));var h=(0===e?o:o>>>e)&i,p=1<<h,f=this.bitmap,d=0!=(f&p);if(!d&&u===s)return this;var _=Je(f&p-1),v=this.nodes,m=d?v[_]:void 0,y=Ye(m,t,e+r,o,a,u,c,l);if(y===m)return this;if(!d&&y&&v.length>=rr)return function(t,e,r,i,s){for(var o=0,a=new Array(n),u=0;0!==r;u++,r>>>=1)a[u]=1&r?e[o++]:void 0;return a[i]=s,new Ge(t,o+1,a)}(t,v,f,h,y);if(d&&!y&&2===v.length&&Qe(v[1^_]))return v[1^_];if(d&&y&&1===v.length&&Qe(y))return y;var g=t&&t===this.ownerID,E=d?y?f:f^p:f|p,w=d?y?tr(v,_,y,g):function(t,e,r){var n=t.length-1;if(r&&e===n)return t.pop(),t;for(var i=new Array(n),s=0,o=0;o<n;o++)o===e&&(s=1),i[o]=t[o+s];return i}(v,_,g):function(t,e,r,n){var i=t.length+1;if(n&&e+1===i)return t[e]=r,t;for(var s=new Array(i),o=0,a=0;a<i;a++)a===e?(s[a]=r,o=-1):s[a]=t[a+o];return s}(v,_,y,g);return g?(this.bitmap=E,this.nodes=w,this):new je(t,E,w)};var Ge=function(t,e,r){this.ownerID=t,this.count=e,this.nodes=r};Ge.prototype.get=function(t,e,n,s){void 0===e&&(e=_t(n));var o=(0===t?e:e>>>t)&i,a=this.nodes[o];return a?a.get(t+r,e,n,s):s},Ge.prototype.update=function(t,e,n,o,a,u,c){void 0===n&&(n=_t(o));var l=(0===e?n:n>>>e)&i,h=a===s,p=this.nodes,f=p[l];if(h&&!f)return this;var d=Ye(f,t,e+r,n,o,a,u,c);if(d===f)return this;var _=this.count;if(f){if(!d&&--_<nr)return function(t,e,r,n){for(var i=0,s=0,o=new Array(r),a=0,u=1,c=e.length;a<c;a++,u<<=1){var l=e[a];void 0!==l&&a!==n&&(i|=u,o[s++]=l)}return new je(t,i,o)}(t,p,_,l)}else _++;var v=t&&t===this.ownerID,m=tr(p,l,d,v);return v?(this.count=_,this.nodes=m,this):new Ge(t,_,m)};var ze=function(t,e,r){this.ownerID=t,this.keyHash=e,this.entries=r};ze.prototype.get=function(t,e,r,n){for(var i=this.entries,s=0,o=i.length;s<o;s++)if(ht(r,i[s][0]))return i[s][1];return n},ze.prototype.update=function(t,e,r,n,i,a,u){void 0===r&&(r=_t(n));var c=i===s;if(r!==this.keyHash)return c?this:(o(u),o(a),Ze(this,t,e,r,[n,i]));for(var l=this.entries,h=0,p=l.length;h<p&&!ht(n,l[h][0]);h++);var f=h<p;if(f?l[h][1]===i:c)return this;if(o(u),(c||!f)&&o(a),c&&2===p)return new Fe(t,this.keyHash,l[1^h]);var d=t&&t===this.ownerID,_=d?l:Qt(l);return f?c?h===p-1?_.pop():_[h]=_.pop():_[h]=[n,i]:_.push([n,i]),d?(this.entries=_,this):new ze(t,this.keyHash,_)};var Fe=function(t,e,r){this.ownerID=t,this.keyHash=e,this.entry=r};Fe.prototype.get=function(t,e,r,n){return ht(r,this.entry[0])?this.entry[1]:n},Fe.prototype.update=function(t,e,r,n,i,a,u){var c=i===s,l=ht(n,this.entry[0]);return(l?i===this.entry[1]:c)?this:(o(u),c?void o(a):l?t&&t===this.ownerID?(this.entry[1]=i,this):new Fe(t,this.keyHash,[n,i]):(o(a),Ze(this,t,e,_t(n),[n,i])))},He.prototype.iterate=ze.prototype.iterate=function(t,e){for(var r=this.entries,n=0,i=r.length-1;n<=i;n++)if(!1===t(r[e?i-n:n]))return!1},je.prototype.iterate=Ge.prototype.iterate=function(t,e){for(var r=this.nodes,n=0,i=r.length-1;n<=i;n++){var s=r[e?i-n:n];if(s&&!1===s.iterate(t,e))return!1}},Fe.prototype.iterate=function(t,e){return t(this.entry)};var Be,Ue=function(t){function e(t,e,r){this._type=e,this._reverse=r,this._stack=t._root&&Ke(t._root)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var r=e.node,n=e.index++,i=void 0;if(r.entry){if(0===n)return We(t,r.entry)}else if(r.entries){if(n<=(i=r.entries.length-1))return We(t,r.entries[this._reverse?i-n:n])}else if(n<=(i=r.nodes.length-1)){var s=r.nodes[this._reverse?i-n:n];if(s){if(s.entry)return We(t,s.entry);e=this._stack=Ke(s,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}},e}(G);function We(t,e){return z(t,e[0],e[1])}function Ke(t,e){return{node:t,index:0,__prev:e}}function qe(t,e,r,n){var i=Object.create(Me);return i.size=t,i._root=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function Ve(){return Be||(Be=qe(0))}function Xe(t,e,r){var n,i;if(t._root){var o={value:!1},a={value:!1};if(n=Ye(t._root,t.__ownerID,0,void 0,e,r,o,a),!a.value)return t;i=t.size+(o.value?r===s?-1:1:0)}else{if(r===s)return t;i=1,n=new He(t.__ownerID,[[e,r]])}return t.__ownerID?(t.size=i,t._root=n,t.__hash=void 0,t.__altered=!0,t):n?qe(i,n):Ve()}function Ye(t,e,r,n,i,a,u,c){return t?t.update(e,r,n,i,a,u,c):a===s?t:(o(c),o(u),new Fe(e,n,[i,a]))}function Qe(t){return t.constructor===Fe||t.constructor===ze}function Ze(t,e,n,s,o){if(t.keyHash===s)return new ze(e,s,[t.entry,o]);var a,u=(0===n?t.keyHash:t.keyHash>>>n)&i,c=(0===n?s:s>>>n)&i,l=u===c?[Ze(t,e,n+r,s,o)]:(a=new Fe(e,s,o),u<c?[t,a]:[a,t]);return new je(e,1<<u|1<<c,l)}function Je(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function tr(t,e,r,n){var i=n?t:Qt(t);return i[e]=r,i}var er=n/4,rr=n/2,nr=n/4,ir="@@__IMMUTABLE_LIST__@@";function sr(t){return Boolean(t&&t[ir])}var or=function(t){function e(e){var i=fr();if(null==e)return i;if(sr(e))return e;var s=t(e),o=s.size;return 0===o?i:(Jt(o),o>0&&o<n?pr(0,o,r,null,new ur(s.toArray())):i.withMutations((function(t){t.setSize(o),s.forEach((function(e,r){return t.set(r,e)}))})))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("List [","]")},e.prototype.get=function(t,e){if((t=c(this,t))>=0&&t<this.size){var r=vr(this,t+=this._origin);return r&&r.array[t&i]}return e},e.prototype.set=function(t,e){return function(t,e,r){if((e=c(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?mr(t,e).set(0,r):mr(t,0,e+1).set(e,r)}));e+=t._origin;var n=t._tail,i=t._root,s={value:!1};return e>=yr(t._capacity)?n=dr(n,t.__ownerID,0,e,r,s):i=dr(i,t.__ownerID,t._level,e,r,s),s.value?t.__ownerID?(t._root=i,t._tail=n,t.__hash=void 0,t.__altered=!0,t):pr(t._origin,t._capacity,t._level,i,n):t}(this,t,e)},e.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},e.prototype.insert=function(t,e){return this.splice(t,0,e)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=r,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):fr()},e.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(r){mr(r,0,e+t.length);for(var n=0;n<t.length;n++)r.set(e+n,t[n])}))},e.prototype.pop=function(){return mr(this,0,-1)},e.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){mr(e,-t.length);for(var r=0;r<t.length;r++)e.set(r,t[r])}))},e.prototype.shift=function(){return mr(this,1)},e.prototype.concat=function(){for(var e=arguments,r=[],n=0;n<arguments.length;n++){var i=e[n],s=t("string"!=typeof i&&B(i)?i:[i]);0!==s.size&&r.push(s)}return 0===r.length?this:0!==this.size||this.__ownerID||1!==r.length?this.withMutations((function(t){r.forEach((function(e){return e.forEach((function(e){return t.push(e)}))}))})):this.constructor(r[0])},e.prototype.setSize=function(t){return mr(this,0,t)},e.prototype.map=function(t,e){var r=this;return this.withMutations((function(n){for(var i=0;i<r.size;i++)n.set(i,t.call(e,n.get(i),i,r))}))},e.prototype.slice=function(t,e){var r=this.size;return h(t,e,r)?this:mr(this,p(t,r),f(e,r))},e.prototype.__iterator=function(t,e){var r=e?this.size:0,n=hr(this,e);return new G((function(){var i=n();return i===lr?{value:void 0,done:!0}:z(t,e?--r:r++,i)}))},e.prototype.__iterate=function(t,e){for(var r,n=e?this.size:0,i=hr(this,e);(r=i())!==lr&&!1!==t(r,e?--n:n++,this););return n},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?pr(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):0===this.size?fr():(this.__ownerID=t,this.__altered=!1,this)},e}(b);or.isList=sr;var ar=or.prototype;ar[ir]=!0,ar[e]=ar.remove,ar.merge=ar.concat,ar.setIn=fe,ar.deleteIn=ar.removeIn=_e,ar.update=me,ar.updateIn=ye,ar.mergeIn=Ce,ar.mergeDeepIn=$e,ar.withMutations=Le,ar.wasAltered=De,ar.asImmutable=Pe,ar["@@transducer/init"]=ar.asMutable=Ne,ar["@@transducer/step"]=function(t,e){return t.push(e)},ar["@@transducer/result"]=function(t){return t.asImmutable()};var ur=function(t,e){this.array=t,this.ownerID=e};ur.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var s=n>>>e&i;if(s>=this.array.length)return new ur([],t);var o,a=0===s;if(e>0){var u=this.array[s];if((o=u&&u.removeBefore(t,e-r,n))===u&&a)return this}if(a&&!o)return this;var c=_r(this,t);if(!a)for(var l=0;l<s;l++)c.array[l]=void 0;return o&&(c.array[s]=o),c},ur.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var s,o=n-1>>>e&i;if(o>=this.array.length)return this;if(e>0){var a=this.array[o];if((s=a&&a.removeAfter(t,e-r,n))===a&&o===this.array.length-1)return this}var u=_r(this,t);return u.array.splice(o+1),s&&(u.array[o]=s),u};var cr,lr={};function hr(t,e){var i=t._origin,s=t._capacity,o=yr(s),a=t._tail;return u(t._root,t._level,0);function u(t,c,l){return 0===c?function(t,r){var u=r===o?a&&a.array:t&&t.array,c=r>i?0:i-r,l=s-r;return l>n&&(l=n),function(){if(c===l)return lr;var t=e?--l:c++;return u&&u[t]}}(t,l):function(t,o,a){var c,l=t&&t.array,h=a>i?0:i-a>>o,p=1+(s-a>>o);return p>n&&(p=n),function(){for(;;){if(c){var t=c();if(t!==lr)return t;c=null}if(h===p)return lr;var n=e?--p:h++;c=u(l&&l[n],o-r,a+(n<<o))}}}(t,c,l)}}function pr(t,e,r,n,i,s,o){var a=Object.create(ar);return a.size=e-t,a._origin=t,a._capacity=e,a._level=r,a._root=n,a._tail=i,a.__ownerID=s,a.__hash=o,a.__altered=!1,a}function fr(){return cr||(cr=pr(0,0,r))}function dr(t,e,n,s,a,u){var c,l=s>>>n&i,h=t&&l<t.array.length;if(!h&&void 0===a)return t;if(n>0){var p=t&&t.array[l],f=dr(p,e,n-r,s,a,u);return f===p?t:((c=_r(t,e)).array[l]=f,c)}return h&&t.array[l]===a?t:(u&&o(u),c=_r(t,e),void 0===a&&l===c.array.length-1?c.array.pop():c.array[l]=a,c)}function _r(t,e){return e&&t&&e===t.ownerID?t:new ur(t?t.array.slice():[],e)}function vr(t,e){if(e>=yr(t._capacity))return t._tail;if(e<1<<t._level+r){for(var n=t._root,s=t._level;n&&s>0;)n=n.array[e>>>s&i],s-=r;return n}}function mr(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var s=t.__ownerID||new a,o=t._origin,u=t._capacity,c=o+e,l=void 0===n?u:n<0?u+n:o+n;if(c===o&&l===u)return t;if(c>=l)return t.clear();for(var h=t._level,p=t._root,f=0;c+f<0;)p=new ur(p&&p.array.length?[void 0,p]:[],s),f+=1<<(h+=r);f&&(c+=f,o+=f,l+=f,u+=f);for(var d=yr(u),_=yr(l);_>=1<<h+r;)p=new ur(p&&p.array.length?[p]:[],s),h+=r;var v=t._tail,m=_<d?vr(t,l-1):_>d?new ur([],s):v;if(v&&_>d&&c<u&&v.array.length){for(var y=p=_r(p,s),g=h;g>r;g-=r){var E=d>>>g&i;y=y.array[E]=_r(y.array[E],s)}y.array[d>>>r&i]=v}if(l<u&&(m=m&&m.removeAfter(s,0,l)),c>=_)c-=_,l-=_,h=r,p=null,m=m&&m.removeBefore(s,0,c);else if(c>o||_<d){for(f=0;p;){var w=c>>>h&i;if(w!==_>>>h&i)break;w&&(f+=(1<<h)*w),h-=r,p=p.array[w]}p&&c>o&&(p=p.removeBefore(s,h,c-f)),p&&_<d&&(p=p.removeAfter(s,h,_-f)),f&&(c-=f,l-=f)}return t.__ownerID?(t.size=l-c,t._origin=c,t._capacity=l,t._level=h,t._root=p,t._tail=m,t.__hash=void 0,t.__altered=!0,t):pr(c,l,h,p,m)}function yr(t){return t<n?0:t-1>>>r<<r}var gr,Er=function(t){function e(t){return null==t?Sr():ct(t)?t:Sr().withMutations((function(e){var r=A(t);Jt(r.size),r.forEach((function(t,r){return e.set(r,t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("OrderedMap {","}")},e.prototype.get=function(t,e){var r=this._map.get(t);return void 0!==r?this._list.get(r)[1]:e},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):Sr()},e.prototype.set=function(t,e){return Rr(this,t,e)},e.prototype.remove=function(t){return Rr(this,t,s)},e.prototype.__iterate=function(t,e){var r=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],r)}),e)},e.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},e.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),r=this._list.__ensureOwner(t);return t?wr(e,r,t,this.__hash):0===this.size?Sr():(this.__ownerID=t,this.__altered=!1,this._map=e,this._list=r,this)},e}(ke);function wr(t,e,r,n){var i=Object.create(Er.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function Sr(){return gr||(gr=wr(Ve(),fr()))}function Rr(t,e,r){var i,o,a=t._map,u=t._list,c=a.get(e),l=void 0!==c;if(r===s){if(!l)return t;u.size>=n&&u.size>=2*a.size?(i=(o=u.filter((function(t,e){return void 0!==t&&c!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(i.__ownerID=o.__ownerID=t.__ownerID)):(i=a.remove(e),o=c===u.size-1?u.pop():u.set(c,void 0))}else if(l){if(r===u.get(c)[1])return t;i=a,o=u.set(c,[e,r])}else i=a.set(e,u.size),o=u.set(u.size,[e,r]);return t.__ownerID?(t.size=i.size,t._map=i,t._list=o,t.__hash=void 0,t.__altered=!0,t):wr(i,o)}Er.isOrderedMap=ct,Er.prototype[L]=!0,Er.prototype[e]=Er.prototype.remove;var Ar="@@__IMMUTABLE_STACK__@@";function br(t){return Boolean(t&&t[Ar])}var Ir=function(t){function e(t){return null==t?Cr():br(t)?t:Cr().pushAll(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("Stack [","]")},e.prototype.get=function(t,e){var r=this._head;for(t=c(this,t);r&&t--;)r=r.next;return r?r.value:e},e.prototype.peek=function(){return this._head&&this._head.value},e.prototype.push=function(){var t=arguments;if(0===arguments.length)return this;for(var e=this.size+arguments.length,r=this._head,n=arguments.length-1;n>=0;n--)r={value:t[n],next:r};return this.__ownerID?(this.size=e,this._head=r,this.__hash=void 0,this.__altered=!0,this):Tr(e,r)},e.prototype.pushAll=function(e){if(0===(e=t(e)).size)return this;if(0===this.size&&br(e))return e;Jt(e.size);var r=this.size,n=this._head;return e.__iterate((function(t){r++,n={value:t,next:n}}),!0),this.__ownerID?(this.size=r,this._head=n,this.__hash=void 0,this.__altered=!0,this):Tr(r,n)},e.prototype.pop=function(){return this.slice(1)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Cr()},e.prototype.slice=function(e,r){if(h(e,r,this.size))return this;var n=p(e,this.size);if(f(r,this.size)!==this.size)return t.prototype.slice.call(this,e,r);for(var i=this.size-n,s=this._head;n--;)s=s.next;return this.__ownerID?(this.size=i,this._head=s,this.__hash=void 0,this.__altered=!0,this):Tr(i,s)},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Tr(this.size,this._head,t,this.__hash):0===this.size?Cr():(this.__ownerID=t,this.__altered=!1,this)},e.prototype.__iterate=function(t,e){var r=this;if(e)return new J(this.toArray()).__iterate((function(e,n){return t(e,n,r)}),e);for(var n=0,i=this._head;i&&!1!==t(i.value,n++,this);)i=i.next;return n},e.prototype.__iterator=function(t,e){if(e)return new J(this.toArray()).__iterator(t,e);var r=0,n=this._head;return new G((function(){if(n){var e=n.value;return n=n.next,z(t,r++,e)}return{value:void 0,done:!0}}))},e}(b);Ir.isStack=br;var xr,Or=Ir.prototype;function Tr(t,e,r,n){var i=Object.create(Or);return i.size=t,i._head=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function Cr(){return xr||(xr=Tr(0))}Or[Ar]=!0,Or.shift=Or.pop,Or.unshift=Or.push,Or.unshiftAll=Or.pushAll,Or.withMutations=Le,Or.wasAltered=De,Or.asImmutable=Pe,Or["@@transducer/init"]=Or.asMutable=Ne,Or["@@transducer/step"]=function(t,e){return t.unshift(e)},Or["@@transducer/result"]=function(t){return t.asImmutable()};var $r="@@__IMMUTABLE_SET__@@";function Lr(t){return Boolean(t&&t[$r])}function Nr(t){return Lr(t)&&N(t)}function Pr(t,e){if(t===e)return!0;if(!m(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||g(t)!==g(e)||w(t)!==w(e)||N(t)!==N(e))return!1;if(0===t.size&&0===e.size)return!0;var r=!S(t);if(N(t)){var n=t.entries();return e.every((function(t,e){var i=n.next().value;return i&&ht(i[1],t)&&(r||ht(i[0],e))}))&&n.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var o=t;t=e,e=o}var a=!0,u=e.__iterate((function(e,n){if(r?!t.has(e):i?!ht(e,t.get(n,s)):!ht(t.get(n,s),e))return a=!1,!1}));return a&&t.size===u}function Dr(t,e){var r=function(r){t.prototype[r]=e[r]};return Object.keys(e).forEach(r),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(r),t}function kr(t){if(!t||"object"!=typeof t)return t;if(!m(t)){if(!ne(t))return t;t=X(t)}if(g(t)){var e={};return t.__iterate((function(t,r){e[r]=kr(t)})),e}var r=[];return t.__iterate((function(t){r.push(kr(t))})),r}var Mr=function(t){function e(e){return null==e?Fr():Lr(e)&&!N(e)?e:Fr().withMutations((function(r){var n=t(e);Jt(n.size),n.forEach((function(t){return r.add(t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(A(t).keySeq())},e.intersect=function(t){return(t=R(t).toArray()).length?jr.intersect.apply(e(t.pop()),t):Fr()},e.union=function(t){return(t=R(t).toArray()).length?jr.union.apply(e(t.pop()),t):Fr()},e.prototype.toString=function(){return this.__toString("Set {","}")},e.prototype.has=function(t){return this._map.has(t)},e.prototype.add=function(t){return Gr(this,this._map.set(t,t))},e.prototype.remove=function(t){return Gr(this,this._map.remove(t))},e.prototype.clear=function(){return Gr(this,this._map.clear())},e.prototype.map=function(t,e){var r=this,n=!1,i=Gr(this,this._map.mapEntries((function(i){var s=i[1],o=t.call(e,s,s,r);return o!==s&&(n=!0),[o,o]}),e));return n?i:this},e.prototype.union=function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(r){for(var n=0;n<e.length;n++)"string"==typeof e[n]?r.add(e[n]):t(e[n]).forEach((function(t){return r.add(t)}))})):this.constructor(e[0])},e.prototype.intersect=function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];if(0===e.length)return this;e=e.map((function(e){return t(e)}));var n=[];return this.forEach((function(t){e.every((function(e){return e.includes(t)}))||n.push(t)})),this.withMutations((function(t){n.forEach((function(e){t.remove(e)}))}))},e.prototype.subtract=function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];if(0===e.length)return this;e=e.map((function(e){return t(e)}));var n=[];return this.forEach((function(t){e.some((function(e){return e.includes(t)}))&&n.push(t)})),this.withMutations((function(t){n.forEach((function(e){t.remove(e)}))}))},e.prototype.sort=function(t){return un(zt(this,t))},e.prototype.sortBy=function(t,e){return un(zt(this,e,t))},e.prototype.wasAltered=function(){return this._map.wasAltered()},e.prototype.__iterate=function(t,e){var r=this;return this._map.__iterate((function(e){return t(e,e,r)}),e)},e.prototype.__iterator=function(t,e){return this._map.__iterator(t,e)},e.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):0===this.size?this.__empty():(this.__ownerID=t,this._map=e,this)},e}(I);Mr.isSet=Lr;var Hr,jr=Mr.prototype;function Gr(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function zr(t,e){var r=Object.create(jr);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function Fr(){return Hr||(Hr=zr(Ve()))}jr[$r]=!0,jr[e]=jr.remove,jr.merge=jr.concat=jr.union,jr.withMutations=Le,jr.asImmutable=Pe,jr["@@transducer/init"]=jr.asMutable=Ne,jr["@@transducer/step"]=function(t,e){return t.add(e)},jr["@@transducer/result"]=function(t){return t.asImmutable()},jr.__empty=Fr,jr.__make=zr;var Br,Ur=function(t){function e(t,r,n){if(!(this instanceof e))return new e(t,r,n);if(Zt(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===r&&(r=1/0),n=void 0===n?1:Math.abs(n),r<t&&(n=-n),this._start=t,this._end=r,this._step=n,this.size=Math.max(0,Math.ceil((r-t)/n-1)+1),0===this.size){if(Br)return Br;Br=this}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},e.prototype.get=function(t,e){return this.has(t)?this._start+c(this,t)*this._step:e},e.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},e.prototype.slice=function(t,r){return h(t,r,this.size)?this:(t=p(t,this.size),(r=f(r,this.size))<=t?new e(0,0):new e(this.get(t,this._end),this.get(r,this._end),this._step))},e.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var r=e/this._step;if(r>=0&&r<this.size)return r}return-1},e.prototype.lastIndexOf=function(t){return this.indexOf(t)},e.prototype.__iterate=function(t,e){for(var r=this.size,n=this._step,i=e?this._start+(r-1)*n:this._start,s=0;s!==r&&!1!==t(i,e?r-++s:s++,this);)i+=e?-n:n;return s},e.prototype.__iterator=function(t,e){var r=this.size,n=this._step,i=e?this._start+(r-1)*n:this._start,s=0;return new G((function(){if(s===r)return{value:void 0,done:!0};var o=i;return i+=e?-n:n,z(t,e?r-++s:s++,o)}))},e.prototype.equals=function(t){return t instanceof e?this._start===t._start&&this._end===t._end&&this._step===t._step:Pr(this,t)},e}(Q);function Wr(t,e,r){for(var n=te(e),i=0;i!==n.length;)if((t=oe(t,n[i++],s))===s)return r;return t}function Kr(t,e){return Wr(this,t,e)}function qr(t,e){return Wr(t,e,s)!==s}function Vr(){Jt(this.size);var t={};return this.__iterate((function(e,r){t[r]=e})),t}R.isIterable=m,R.isKeyed=g,R.isIndexed=w,R.isAssociative=S,R.isOrdered=N,R.Iterator=G,Dr(R,{toArray:function(){Jt(this.size);var t=new Array(this.size||0),e=g(this),r=0;return this.__iterate((function(n,i){t[r++]=e?[i,n]:n})),t},toIndexedSeq:function(){return new $t(this)},toJS:function(){return kr(this)},toKeyedSeq:function(){return new Ct(this,!0)},toMap:function(){return ke(this.toKeyedSeq())},toObject:Vr,toOrderedMap:function(){return Er(this.toKeyedSeq())},toOrderedSet:function(){return un(g(this)?this.valueSeq():this)},toSet:function(){return Mr(g(this)?this.valueSeq():this)},toSetSeq:function(){return new Lt(this)},toSeq:function(){return w(this)?this.toIndexedSeq():g(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Ir(g(this)?this.valueSeq():this)},toList:function(){return or(g(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Wt(this,function(t,e){var r=g(t),n=[t].concat(e).map((function(t){return m(t)?r&&(t=A(t)):t=r?it(t):st(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===n.length)return t;if(1===n.length){var i=n[0];if(i===t||r&&g(i)||w(t)&&w(i))return i}var s=new J(n);return r?s=s.toKeyedSeq():w(t)||(s=s.toSetSeq()),(s=s.flatten(!0)).size=n.reduce((function(t,e){if(void 0!==t){var r=e.size;if(void 0!==r)return t+r}}),0),s}(this,t))},includes:function(t){return this.some((function(e){return ht(e,t)}))},entries:function(){return this.__iterator(k)},every:function(t,e){Jt(this.size);var r=!0;return this.__iterate((function(n,i,s){if(!t.call(e,n,i,s))return r=!1,!1})),r},filter:function(t,e){return Wt(this,Mt(this,t,e,!0))},partition:function(t,e){return function(t,e,r){var n=g(t),i=[[],[]];t.__iterate((function(s,o){i[e.call(r,s,o,t)?1:0].push(n?[o,s]:s)}));var s=qt(t);return i.map((function(e){return Wt(t,s(e))}))}(this,t,e)},find:function(t,e,r){var n=this.findEntry(t,e);return n?n[1]:r},forEach:function(t,e){return Jt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Jt(this.size),t=void 0!==t?""+t:",";var e="",r=!0;return this.__iterate((function(n){r?r=!1:e+=t,e+=null!=n?n.toString():""})),e},keys:function(){return this.__iterator(P)},map:function(t,e){return Wt(this,Dt(this,t,e))},reduce:function(t,e,r){return Jr(this,t,e,r,arguments.length<2,!1)},reduceRight:function(t,e,r){return Jr(this,t,e,r,arguments.length<2,!0)},reverse:function(){return Wt(this,kt(this,!0))},slice:function(t,e){return Wt(this,Ht(this,t,e,!0))},some:function(t,e){Jt(this.size);var r=!1;return this.__iterate((function(n,i,s){if(t.call(e,n,i,s))return r=!0,!1})),r},sort:function(t){return Wt(this,zt(this,t))},values:function(){return this.__iterator(D)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return u(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,r){var n=ke().asMutable();return t.__iterate((function(i,s){n.update(e.call(r,i,s,t),0,(function(t){return t+1}))})),n.asImmutable()}(this,t,e)},equals:function(t){return Pr(this,t)},entrySeq:function(){var t=this;if(t._cache)return new J(t._cache);var e=t.toSeq().map(en).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(rn(t),e)},findEntry:function(t,e,r){var n=r;return this.__iterate((function(r,i,s){if(t.call(e,r,i,s))return n=[i,r],!1})),n},findKey:function(t,e){var r=this.findEntry(t,e);return r&&r[0]},findLast:function(t,e,r){return this.toKeyedSeq().reverse().find(t,e,r)},findLastEntry:function(t,e,r){return this.toKeyedSeq().reverse().findEntry(t,e,r)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(t){return this.find(l,null,t)},flatMap:function(t,e){return Wt(this,function(t,e,r){var n=qt(t);return t.toSeq().map((function(i,s){return n(e.call(r,i,s,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Wt(this,Gt(this,t,!0))},fromEntrySeq:function(){return new Nt(this)},get:function(t,e){return this.find((function(e,r){return ht(r,t)}),void 0,e)},getIn:Kr,groupBy:function(t,e){return function(t,e,r){var n=g(t),i=(N(t)?Er():ke()).asMutable();t.__iterate((function(s,o){i.update(e.call(r,s,o,t),(function(t){return(t=t||[]).push(n?[o,s]:s),t}))}));var s=qt(t);return i.map((function(e){return Wt(t,s(e))})).asImmutable()}(this,t,e)},has:function(t){return this.get(t,s)!==s},hasIn:function(t){return qr(this,t)},isSubset:function(t){return t="function"==typeof t.includes?t:R(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:R(t)).isSubset(this)},keyOf:function(t){return this.findKey((function(e){return ht(e,t)}))},keySeq:function(){return this.toSeq().map(tn).toIndexedSeq()},last:function(t){return this.toSeq().reverse().first(t)},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return Ft(this,t)},maxBy:function(t,e){return Ft(this,e,t)},min:function(t){return Ft(this,t?nn(t):on)},minBy:function(t,e){return Ft(this,e?nn(e):on,t)},rest:function(){return this.slice(1)},skip:function(t){return 0===t?this:this.slice(Math.max(0,t))},skipLast:function(t){return 0===t?this:this.slice(0,-Math.max(0,t))},skipWhile:function(t,e){return Wt(this,jt(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(rn(t),e)},sortBy:function(t,e){return Wt(this,zt(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return this.slice(-Math.max(0,t))},takeWhile:function(t,e){return Wt(this,function(t,e,r){var n=Vt(t);return n.__iterateUncached=function(n,i){var s=this;if(i)return this.cacheResult().__iterate(n,i);var o=0;return t.__iterate((function(t,i,a){return e.call(r,t,i,a)&&++o&&n(t,i,s)})),o},n.__iteratorUncached=function(n,i){var s=this;if(i)return this.cacheResult().__iterator(n,i);var o=t.__iterator(k,i),a=!0;return new G((function(){if(!a)return{value:void 0,done:!0};var t=o.next();if(t.done)return t;var i=t.value,u=i[0],c=i[1];return e.call(r,c,u,s)?n===k?t:z(n,u,c,t):(a=!1,{value:void 0,done:!0})}))},n}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(rn(t),e)},update:function(t){return t(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=N(t),r=g(t),n=e?1:0;return function(t,e){return e=pt(e,3432918353),e=pt(e<<15|e>>>-15,461845907),e=pt(e<<13|e>>>-13,5),e=pt((e=(e+3864292196|0)^t)^e>>>16,2246822507),ft((e=pt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(r?e?function(t,e){n=31*n+an(_t(t),_t(e))|0}:function(t,e){n=n+an(_t(t),_t(e))|0}:e?function(t){n=31*n+_t(t)|0}:function(t){n=n+_t(t)|0}),n)}(this))}});var Xr=R.prototype;Xr[v]=!0,Xr[j]=Xr.values,Xr.toJSON=Xr.toArray,Xr.__toStringMapper=ie,Xr.inspect=Xr.toSource=function(){return this.toString()},Xr.chain=Xr.flatMap,Xr.contains=Xr.includes,Dr(A,{flip:function(){return Wt(this,Pt(this))},mapEntries:function(t,e){var r=this,n=0;return Wt(this,this.toSeq().map((function(i,s){return t.call(e,[s,i],n++,r)})).fromEntrySeq())},mapKeys:function(t,e){var r=this;return Wt(this,this.toSeq().flip().map((function(n,i){return t.call(e,n,i,r)})).flip())}});var Yr=A.prototype;Yr[y]=!0,Yr[j]=Xr.entries,Yr.toJSON=Vr,Yr.__toStringMapper=function(t,e){return ie(e)+": "+ie(t)},Dr(b,{toKeyedSeq:function(){return new Ct(this,!1)},filter:function(t,e){return Wt(this,Mt(this,t,e,!1))},findIndex:function(t,e){var r=this.findEntry(t,e);return r?r[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Wt(this,kt(this,!1))},slice:function(t,e){return Wt(this,Ht(this,t,e,!1))},splice:function(t,e){var r=arguments.length;if(e=Math.max(e||0,0),0===r||2===r&&!e)return this;t=p(t,t<0?this.count():this.size);var n=this.slice(0,t);return Wt(this,1===r?n:n.concat(Qt(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var r=this.findLastEntry(t,e);return r?r[0]:-1},first:function(t){return this.get(0,t)},flatten:function(t){return Wt(this,Gt(this,t,!1))},get:function(t,e){return(t=c(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,r){return r===t}),void 0,e)},has:function(t){return(t=c(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Wt(this,function(t,e){var r=Vt(t);return r.size=t.size&&2*t.size-1,r.__iterateUncached=function(r,n){var i=this,s=0;return t.__iterate((function(t){return(!s||!1!==r(e,s++,i))&&!1!==r(t,s++,i)}),n),s},r.__iteratorUncached=function(r,n){var i,s=t.__iterator(D,n),o=0;return new G((function(){return(!i||o%2)&&(i=s.next()).done?i:o%2?z(r,o++,e):z(r,o++,i.value,i)}))},r}(this,t))},interleave:function(){var t=[this].concat(Qt(arguments)),e=Ut(this.toSeq(),Q.of,t),r=e.flatten(!0);return e.size&&(r.size=e.size*t.length),Wt(this,r)},keySeq:function(){return Ur(0,this.size)},last:function(t){return this.get(-1,t)},skipWhile:function(t,e){return Wt(this,jt(this,t,e,!1))},zip:function(){return Wt(this,Ut(this,sn,[this].concat(Qt(arguments))))},zipAll:function(){return Wt(this,Ut(this,sn,[this].concat(Qt(arguments)),!0))},zipWith:function(t){var e=Qt(arguments);return e[0]=this,Wt(this,Ut(this,t,e))}});var Qr=b.prototype;Qr[E]=!0,Qr[L]=!0,Dr(I,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}});var Zr=I.prototype;function Jr(t,e,r,n,i,s){return Jt(t.size),t.__iterate((function(t,s,o){i?(i=!1,r=t):r=e.call(n,r,t,s,o)}),s),r}function tn(t,e){return e}function en(t,e){return[e,t]}function rn(t){return function(){return!t.apply(this,arguments)}}function nn(t){return function(){return-t.apply(this,arguments)}}function sn(){return Qt(arguments)}function on(t,e){return t<e?1:t>e?-1:0}function an(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}Zr.has=Xr.includes,Zr.contains=Zr.includes,Zr.keys=Zr.values,Dr(Y,Yr),Dr(Q,Qr),Dr(Z,Zr);var un=function(t){function e(t){return null==t?pn():Nr(t)?t:pn().withMutations((function(e){var r=I(t);Jt(r.size),r.forEach((function(t){return e.add(t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(A(t).keySeq())},e.prototype.toString=function(){return this.__toString("OrderedSet {","}")},e}(Mr);un.isOrderedSet=Nr;var cn,ln=un.prototype;function hn(t,e){var r=Object.create(ln);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function pn(){return cn||(cn=hn(Sr()))}ln[L]=!0,ln.zip=Qr.zip,ln.zipWith=Qr.zipWith,ln.zipAll=Qr.zipAll,ln.__empty=pn,ln.__make=hn;var fn={LeftThenRight:-1,RightThenLeft:1};var dn=function(t,e){var r;!function(t){if(C(t))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if($(t))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===t||"object"!=typeof t)throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(t);var n=function(s){var o=this;if(s instanceof n)return s;if(!(this instanceof n))return new n(s);if(!r){r=!0;var a=Object.keys(t),u=i._indices={};i._name=e,i._keys=a,i._defaultValues=t;for(var c=0;c<a.length;c++){var l=a[c];u[l]=c,i[l]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+mn(this)+' with property "'+l+'" since that property name is part of the Record API.'):gn(i,l)}}return this.__ownerID=void 0,this._values=or().withMutations((function(t){t.setSize(o._keys.length),A(s).forEach((function(e,r){t.set(o._indices[r],e===o._defaultValues[r]?void 0:e)}))})),this},i=n.prototype=Object.create(_n);return i.constructor=n,e&&(n.displayName=e),n};dn.prototype.toString=function(){for(var t,e=mn(this)+" { ",r=this._keys,n=0,i=r.length;n!==i;n++)e+=(n?", ":"")+(t=r[n])+": "+ie(this.get(t));return e+" }"},dn.prototype.equals=function(t){return this===t||C(t)&&yn(this).equals(yn(t))},dn.prototype.hashCode=function(){return yn(this).hashCode()},dn.prototype.has=function(t){return this._indices.hasOwnProperty(t)},dn.prototype.get=function(t,e){if(!this.has(t))return e;var r=this._indices[t],n=this._values.get(r);return void 0===n?this._defaultValues[t]:n},dn.prototype.set=function(t,e){if(this.has(t)){var r=this._values.set(this._indices[t],e===this._defaultValues[t]?void 0:e);if(r!==this._values&&!this.__ownerID)return vn(this,r)}return this},dn.prototype.remove=function(t){return this.set(t)},dn.prototype.clear=function(){var t=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:vn(this,t)},dn.prototype.wasAltered=function(){return this._values.wasAltered()},dn.prototype.toSeq=function(){return yn(this)},dn.prototype.toJS=function(){return kr(this)},dn.prototype.entries=function(){return this.__iterator(k)},dn.prototype.__iterator=function(t,e){return yn(this).__iterator(t,e)},dn.prototype.__iterate=function(t,e){return yn(this).__iterate(t,e)},dn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._values.__ensureOwner(t);return t?vn(this,e,t):(this.__ownerID=t,this._values=e,this)},dn.isRecord=C,dn.getDescriptiveName=mn;var _n=dn.prototype;function vn(t,e,r){var n=Object.create(Object.getPrototypeOf(t));return n._values=e,n.__ownerID=r,n}function mn(t){return t.constructor.displayName||t.constructor.name||"Record"}function yn(t){return it(t._keys.map((function(e){return[e,t.get(e)]})))}function gn(t,e){try{Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){Zt(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}catch(t){}}_n[T]=!0,_n[e]=_n.remove,_n.deleteIn=_n.removeIn=_e,_n.getIn=Kr,_n.hasIn=Xr.hasIn,_n.merge=ge,_n.mergeWith=Ee,_n.mergeIn=Ce,_n.mergeDeep=Oe,_n.mergeDeepWith=Te,_n.mergeDeepIn=$e,_n.setIn=fe,_n.update=me,_n.updateIn=ye,_n.withMutations=Le,_n.asMutable=Ne,_n.asImmutable=Pe,_n[j]=_n.entries,_n.toJSON=_n.toObject=Xr.toObject,_n.inspect=_n.toSource=function(){return this.toString()};var En,wn=function(t){function e(t,r){if(!(this instanceof e))return new e(t,r);if(this._value=t,this.size=void 0===r?1/0:Math.max(0,r),0===this.size){if(En)return En;En=this}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},e.prototype.get=function(t,e){return this.has(t)?this._value:e},e.prototype.includes=function(t){return ht(this._value,t)},e.prototype.slice=function(t,r){var n=this.size;return h(t,r,n)?this:new e(this._value,f(r,n)-p(t,n))},e.prototype.reverse=function(){return this},e.prototype.indexOf=function(t){return ht(this._value,t)?0:-1},e.prototype.lastIndexOf=function(t){return ht(this._value,t)?this.size:-1},e.prototype.__iterate=function(t,e){for(var r=this.size,n=0;n!==r&&!1!==t(this._value,e?r-++n:n++,this););return n},e.prototype.__iterator=function(t,e){var r=this,n=this.size,i=0;return new G((function(){return i===n?{value:void 0,done:!0}:z(t,e?n-++i:i++,r._value)}))},e.prototype.equals=function(t){return t instanceof e?ht(this._value,t._value):Pr(t)},e}(Q);function Sn(t,e){return Rn([],e||An,t,"",e&&e.length>2?[]:void 0,{"":t})}function Rn(t,e,r,n,i,s){if("string"!=typeof r&&!$(r)&&(V(r)||B(r)||re(r))){if(~t.indexOf(r))throw new TypeError("Cannot convert circular structure to Immutable");t.push(r),i&&""!==n&&i.push(n);var o=e.call(s,n,X(r).map((function(n,s){return Rn(t,e,n,s,i,r)})),i&&i.slice());return t.pop(),i&&i.pop(),o}return r}function An(t,e){return w(e)?e.toList():g(e)?e.toMap():e.toSet()}var bn="4.3.1",In={version:bn,Collection:R,Iterable:R,Seq:X,Map:ke,OrderedMap:Er,List:or,Stack:Ir,Set:Mr,OrderedSet:un,PairSorting:fn,Record:dn,Range:Ur,Repeat:wn,is:ht,fromJS:Sn,hash:_t,isImmutable:$,isCollection:m,isKeyed:g,isIndexed:w,isAssociative:S,isOrdered:N,isValueObject:lt,isPlainObject:re,isSeq:O,isList:sr,isMap:ut,isOrderedMap:ct,isStack:br,isSet:Lr,isOrderedSet:Nr,isRecord:C,get:oe,getIn:Wr,has:se,hasIn:qr,merge:Se,mergeDeep:Ae,mergeWith:Re,mergeDeepWith:be,remove:ue,removeIn:de,set:ce,setIn:pe,update:ve,updateIn:le},xn=R;t.Collection=R,t.Iterable=xn,t.List=or,t.Map=ke,t.OrderedMap=Er,t.OrderedSet=un,t.PairSorting=fn,t.Range=Ur,t.Record=dn,t.Repeat=wn,t.Seq=X,t.Set=Mr,t.Stack=Ir,t.default=In,t.fromJS=Sn,t.get=oe,t.getIn=Wr,t.has=se,t.hasIn=qr,t.hash=_t,t.is=ht,t.isAssociative=S,t.isCollection=m,t.isImmutable=$,t.isIndexed=w,t.isKeyed=g,t.isList=sr,t.isMap=ut,t.isOrdered=N,t.isOrderedMap=ct,t.isOrderedSet=Nr,t.isPlainObject=re,t.isRecord=C,t.isSeq=O,t.isSet=Lr,t.isStack=br,t.isValueObject=lt,t.merge=Se,t.mergeDeep=Ae,t.mergeDeepWith=be,t.mergeWith=Re,t.remove=ue,t.removeIn=de,t.set=ce,t.setIn=pe,t.update=ve,t.updateIn=le,t.version=bn,Object.defineProperty(t,"__esModule",{value:!0})}(e)},53811:(t,e,r)=>{const{EventEmitter:n}=r(82361);class i{constructor(){this.eventEmitter=new n,this.onabort=null,this.aborted=!1,this.reason=void 0}toString(){return"[object AbortSignal]"}get[Symbol.toStringTag](){return"AbortSignal"}removeEventListener(t,e){this.eventEmitter.removeListener(t,e)}addEventListener(t,e){this.eventEmitter.on(t,e)}dispatchEvent(t){const e={type:t,target:this},r=`on${t}`;"function"==typeof this[r]&&this[r](e),this.eventEmitter.emit(t,e)}throwIfAborted(){if(this.aborted)throw this.reason}static abort(t){const e=new s;return e.abort(),e.signal}static timeout(t){const e=new s;return setTimeout((()=>e.abort(new Error("TimeoutError"))),t),e.signal}}class s{constructor(){this.signal=new i}abort(t){this.signal.aborted||(this.signal.aborted=!0,this.signal.reason=t||new Error("AbortError"),this.signal.dispatchEvent("abort"))}toString(){return"[object AbortController]"}get[Symbol.toStringTag](){return"AbortController"}}t.exports={AbortController:s,AbortSignal:i}},98483:(t,e,r)=>{t=r.nmd(t);try{process.dlopen(t,__dirname+r(71017).sep+r.p+"1463a26331df3b0b4d694b076097b2dd.node")}catch(t){throw new Error("node-loader:\n"+t)}},57724:t=>{"use strict";t.exports=JSON.parse('["3dm","3ds","3g2","3gp","7z","a","aac","adp","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]')}};
@@ -1,2 +0,0 @@
1
- .SplitDiffView-hunk-table{border-spacing:0;table-layout:fixed;width:100%}.SplitDiffView-hunk-table tbody{vertical-align:top}.SplitDiffView-hunk-table td{word-wrap:anywhere;font-size:12px;line-height:16px;padding:2px 0 2px 6px;white-space:pre-wrap}.SplitDiffView-hunk-table td.lineNumber{padding-left:10px;padding-right:10px;text-align:right;white-space:nowrap}.SplitDiffView-hunk-table td.separator{line-height:20px;padding-bottom:0;padding-top:0;text-align:center}
2
- /*# sourceMappingURL=521.c3a7ac34.chunk.css.map*/
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/css/521.c3a7ac34.chunk.css","mappings":"AAAA,0BACE,iBACA,mBACA,WAGF,gCACE,mBAGF,6BAKE,mBAJA,eACA,iBACA,sBACA,oBACA,CAGF,wCACE,kBACA,mBACA,iBACA,mBAGF,uCACE,iBAEA,iBADA,cAEA","sources":["parts/split-diff-view/SplitDiffHunk.scss"],"sourcesContent":[".SplitDiffView-hunk-table {\n border-spacing: 0;\n table-layout: fixed;\n width: 100%;\n}\n\n.SplitDiffView-hunk-table tbody {\n vertical-align: top;\n}\n\n.SplitDiffView-hunk-table td {\n font-size: 12px;\n line-height: 16px;\n padding: 2px 0 2px 6px;\n white-space: pre-wrap;\n word-wrap: anywhere;\n}\n\n.SplitDiffView-hunk-table td.lineNumber {\n padding-left: 10px;\n padding-right: 10px;\n text-align: right;\n white-space: nowrap;\n}\n\n.SplitDiffView-hunk-table td.separator {\n line-height: 20px;\n padding-top: 0;\n padding-bottom: 0;\n text-align: center;\n}\n"],"names":[],"sourceRoot":""}