create-storm-workspace 1.97.279 → 1.97.280
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/CHANGELOG.md +10 -0
- package/README.md +1 -1
- package/index.js +43 -43
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -187,67 +187,67 @@ ${E}`;break;case"retry":t(E)&&(d[g]=E);break;case"id":r(E)&&(d[g]=E);break;case"
|
|
|
187
187
|
`)+r,n=i+1,i=e.indexOf(`
|
|
188
188
|
`,n)}while(i!==-1);return s+=e.substr(n),s};nq.exports={stringReplaceAll:Noe,stringEncaseCRLFWithFirstIndex:Loe}});var lq=X((Xve,uq)=>{"use strict";var Moe=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,oq=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ooe=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Poe=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Uoe=new Map([["n",`
|
|
189
189
|
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function cq(e){let t=e[0]==="u",r=e[1]==="{";return t&&!r&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):t&&r?String.fromCodePoint(parseInt(e.slice(2,-1),16)):Uoe.get(e)||e}function qoe(e,t){let r=[],i=t.trim().split(/\s*,\s*/g),n;for(let s of i){let o=Number(s);if(!Number.isNaN(o))r.push(o);else if(n=s.match(Ooe))r.push(n[2].replace(Poe,(a,u,l)=>u?cq(u):l));else throw new Error(`Invalid Chalk template style argument: ${s} (in style '${e}')`)}return r}function Voe(e){oq.lastIndex=0;let t=[],r;for(;(r=oq.exec(e))!==null;){let i=r[1];if(r[2]){let n=qoe(i,r[2]);t.push([i].concat(n))}else t.push([i])}return t}function aq(e,t){let r={};for(let n of t)for(let s of n.styles)r[s[0]]=n.inverse?null:s.slice(1);let i=e;for(let[n,s]of Object.entries(r))if(Array.isArray(s)){if(!(n in i))throw new Error(`Unknown Chalk style: ${n}`);i=s.length>0?i[n](...s):i[n]}return i}uq.exports=(e,t)=>{let r=[],i=[],n=[];if(t.replace(Moe,(s,o,a,u,l,A)=>{if(o)n.push(cq(o));else if(u){let h=n.join("");n=[],i.push(r.length===0?h:aq(e,r)(h)),r.push({inverse:a,styles:Voe(u)})}else if(l){if(r.length===0)throw new Error("Found extraneous } in Chalk template literal");i.push(aq(e,r)(n.join(""))),n=[],r.pop()}else n.push(A)}),i.push(n.join("")),r.length>0){let s=`Chalk template literal is missing ${r.length} closing bracket${r.length===1?"":"s"} (\`}\`)`;throw new Error(s)}return i.join("")}});var cl=X((exe,gq)=>{"use strict";var hf=X3(),{stdout:Wx,stderr:Jx}=Hx(),{stringReplaceAll:$oe,stringEncaseCRLFWithFirstIndex:Goe}=sq(),{isArray:bC}=Array,Aq=["ansi","ansi","ansi256","ansi16m"],CA=Object.create(null),joe=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=Wx?Wx.level:0;e.level=t.level===void 0?r:t.level},Zx=class{constructor(t){return pq(t)}},pq=e=>{let t={};return joe(t,e),t.template=(...r)=>fq(t.template,...r),Object.setPrototypeOf(t,IC.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=Zx,t.template};function IC(e){return pq(e)}for(let[e,t]of Object.entries(hf))CA[e]={get(){let r=wC(this,Kx(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};CA.visible={get(){let e=wC(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};var dq=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of dq)CA[e]={get(){let{level:t}=this;return function(...r){let i=Kx(hf.color[Aq[t]][e](...r),hf.color.close,this._styler);return wC(this,i,this._isEmpty)}}};for(let e of dq){let t="bg"+e[0].toUpperCase()+e.slice(1);CA[t]={get(){let{level:r}=this;return function(...i){let n=Kx(hf.bgColor[Aq[r]][e](...i),hf.bgColor.close,this._styler);return wC(this,n,this._isEmpty)}}}}var zoe=Object.defineProperties(()=>{},{...CA,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),Kx=(e,t,r)=>{let i,n;return r===void 0?(i=e,n=t):(i=r.openAll+e,n=t+r.closeAll),{open:e,close:t,openAll:i,closeAll:n,parent:r}},wC=(e,t,r)=>{let i=(...n)=>bC(n[0])&&bC(n[0].raw)?hq(i,fq(i,...n)):hq(i,n.length===1?""+n[0]:n.join(" "));return Object.setPrototypeOf(i,zoe),i._generator=e,i._styler=t,i._isEmpty=r,i},hq=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(r===void 0)return t;let{openAll:i,closeAll:n}=r;if(t.indexOf("\x1B")!==-1)for(;r!==void 0;)t=$oe(t,r.close,r.open),r=r.parent;let s=t.indexOf(`
|
|
190
|
-
`);return s!==-1&&(t=Goe(t,n,i,s)),i+t+n},Yx,fq=(e,...t)=>{let[r]=t;if(!bC(r)||!bC(r.raw))return t.join(" ");let i=t.slice(1),n=[r.raw[0]];for(let s=1;s<r.length;s++)n.push(String(i[s-1]).replace(/[{}\\]/g,"\\$&"),String(r.raw[s]));return Yx===void 0&&(Yx=lq()),Yx(e,n.join(""))};Object.defineProperties(IC.prototype,CA);var BC=IC();BC.supportsColor=Wx;BC.stderr=IC({level:Jx?Jx.level:0});BC.stderr.supportsColor=Jx;gq.exports=BC});var Uo={};Du(Uo,{__addDisposableResource:()=>mG,__assign:()=>KC,__asyncDelegator:()=>uG,__asyncGenerator:()=>cG,__asyncValues:()=>lG,__await:()=>vA,__awaiter:()=>rG,__classPrivateFieldGet:()=>dG,__classPrivateFieldIn:()=>gG,__classPrivateFieldSet:()=>fG,__createBinding:()=>e0,__decorate:()=>W$,__disposeResources:()=>EG,__esDecorate:()=>Z$,__exportStar:()=>nG,__extends:()=>H$,__generator:()=>iG,__importDefault:()=>pG,__importStar:()=>AG,__makeTemplateObject:()=>hG,__metadata:()=>tG,__param:()=>J$,__propKey:()=>X$,__read:()=>BQ,__rest:()=>Y$,__rewriteRelativeImportExtension:()=>CG,__runInitializers:()=>K$,__setFunctionName:()=>eG,__spread:()=>sG,__spreadArray:()=>aG,__spreadArrays:()=>oG,__values:()=>XC,default:()=>ece});function H$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");IQ(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Y$(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}function W$(e,t,r,i){var n=arguments.length,s=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(n<3?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}function J$(e,t){return function(r,i){t(r,i,e)}}function Z$(e,t,r,i,n,s){function o(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}for(var a=i.kind,u=a==="getter"?"get":a==="setter"?"set":"value",l=!t&&e?i.static?e:e.prototype:null,A=t||(l?Object.getOwnPropertyDescriptor(l,i.name):{}),h,d=!1,m=r.length-1;m>=0;m--){var g={};for(var E in i)g[E]=E==="access"?{}:i[E];for(var E in i.access)g.access[E]=i.access[E];g.addInitializer=function(w){if(d)throw new TypeError("Cannot add initializers after decoration has completed");s.push(o(w||null))};var y=(0,r[m])(a==="accessor"?{get:A.get,set:A.set}:A[u],g);if(a==="accessor"){if(y===void 0)continue;if(y===null||typeof y!="object")throw new TypeError("Object expected");(h=o(y.get))&&(A.get=h),(h=o(y.set))&&(A.set=h),(h=o(y.init))&&n.unshift(h)}else(h=o(y))&&(a==="field"?n.unshift(h):A[u]=h)}l&&Object.defineProperty(l,i.name,A),d=!0}function K$(e,t,r){for(var i=arguments.length>2,n=0;n<t.length;n++)r=i?t[n].call(e,r):t[n].call(e);return i?r:void 0}function X$(e){return typeof e=="symbol"?e:"".concat(e)}function eG(e,t,r){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function tG(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function rG(e,t,r,i){function n(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(A){try{l(i.next(A))}catch(h){o(h)}}function u(A){try{l(i.throw(A))}catch(h){o(h)}}function l(A){A.done?s(A.value):n(A.value).then(a,u)}l((i=i.apply(e,t||[])).next())})}function iG(e,t){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},i,n,s,o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(A){return u([l,A])}}function u(l){if(i)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(r=0)),r;)try{if(i=1,n&&(s=l[0]&2?n.return:l[0]?n.throw||((s=n.return)&&s.call(n),0):n.next)&&!(s=s.call(n,l[1])).done)return s;switch(n=0,s&&(l=[l[0]&2,s.value]),l[0]){case 0:case 1:s=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,n=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]<s[3])){r.label=l[1];break}if(l[0]===6&&r.label<s[1]){r.label=s[1],s=l;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(l);break}s[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(A){l=[6,A],n=0}finally{i=s=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function nG(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&e0(t,e,r)}function XC(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function BQ(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var i=r.call(e),n,s=[],o;try{for(;(t===void 0||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(a){o={error:a}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function sG(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(BQ(arguments[t]));return e}function oG(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var i=Array(e),n=0,t=0;t<r;t++)for(var s=arguments[t],o=0,a=s.length;o<a;o++,n++)i[n]=s[o];return i}function aG(e,t,r){if(r||arguments.length===2)for(var i=0,n=t.length,s;i<n;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return e.concat(s||Array.prototype.slice.call(t))}function vA(e){return this instanceof vA?(this.v=e,this):new vA(e)}function cG(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=r.apply(e,t||[]),n,s=[];return n=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",o),n[Symbol.asyncIterator]=function(){return this},n;function o(m){return function(g){return Promise.resolve(g).then(m,h)}}function a(m,g){i[m]&&(n[m]=function(E){return new Promise(function(y,w){s.push([m,E,y,w])>1||u(m,E)})},g&&(n[m]=g(n[m])))}function u(m,g){try{l(i[m](g))}catch(E){d(s[0][3],E)}}function l(m){m.value instanceof vA?Promise.resolve(m.value.v).then(A,h):d(s[0][2],m)}function A(m){u("next",m)}function h(m){u("throw",m)}function d(m,g){m(g),s.shift(),s.length&&u(s[0][0],s[0][1])}}function uG(e){var t,r;return t={},i("next"),i("throw",function(n){throw n}),i("return"),t[Symbol.iterator]=function(){return this},t;function i(n,s){t[n]=e[n]?function(o){return(r=!r)?{value:vA(e[n](o)),done:!1}:s?s(o):o}:s}}function lG(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof XC=="function"?XC(e):e[Symbol.iterator](),r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r);function i(s){r[s]=e[s]&&function(o){return new Promise(function(a,u){o=e[s](o),n(a,u,o.done,o.value)})}}function n(s,o,a,u){Promise.resolve(u).then(function(l){s({value:l,done:a})},o)}}function hG(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function AG(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=wQ(e),i=0;i<r.length;i++)r[i]!=="default"&&e0(t,e,r[i]);return Kae(t,e),t}function pG(e){return e&&e.__esModule?e:{default:e}}function dG(e,t,r,i){if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?i:r==="a"?i.call(e):i?i.value:t.get(e)}function fG(e,t,r,i,n){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!n)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?n.call(e,r):n?n.value=r:t.set(e,r),r}function gG(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function mG(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var i,n;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=t[Symbol.asyncDispose]}if(i===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=t[Symbol.dispose],r&&(n=i)}if(typeof i!="function")throw new TypeError("Object not disposable.");n&&(i=function(){try{n.call(this)}catch(s){return Promise.reject(s)}}),e.stack.push({value:t,dispose:i,async:r})}else r&&e.stack.push({async:!0});return t}function EG(e){function t(s){e.error=e.hasError?new Xae(s,e.error,"An error was suppressed during disposal."):s,e.hasError=!0}var r,i=0;function n(){for(;r=e.stack.pop();)try{if(!r.async&&i===1)return i=0,e.stack.push(r),Promise.resolve().then(n);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return i|=2,Promise.resolve(s).then(n,function(o){return t(o),n()})}else i|=1}catch(o){t(o)}if(i===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return n()}function CG(e,t){return typeof e=="string"&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,i,n,s,o){return i?t?".jsx":".js":n&&(!s||!o)?r:n+s+"."+o.toLowerCase()+"js"}):e}var IQ,KC,e0,Kae,wQ,Xae,ece,qo=jr(()=>{IQ=function(e,t){return IQ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},IQ(e,t)};KC=function(){return KC=Object.assign||function(t){for(var r,i=1,n=arguments.length;i<n;i++){r=arguments[i];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},KC.apply(this,arguments)};e0=Object.create?(function(e,t,r,i){i===void 0&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}):(function(e,t,r,i){i===void 0&&(i=r),e[i]=t[r]});Kae=Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t},wQ=function(e){return wQ=Object.getOwnPropertyNames||function(t){var r=[];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[r.length]=i);return r},wQ(e)};Xae=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var i=new Error(r);return i.name="SuppressedError",i.error=e,i.suppressed=t,i};ece={__extends:H$,__assign:KC,__rest:Y$,__decorate:W$,__param:J$,__esDecorate:Z$,__runInitializers:K$,__propKey:X$,__setFunctionName:eG,__metadata:tG,__awaiter:rG,__generator:iG,__createBinding:e0,__exportStar:nG,__values:XC,__read:BQ,__spread:sG,__spreadArrays:oG,__spreadArray:aG,__await:vA,__asyncGenerator:cG,__asyncDelegator:uG,__asyncValues:lG,__makeTemplateObject:hG,__importStar:AG,__importDefault:pG,__classPrivateFieldGet:dG,__classPrivateFieldSet:fG,__classPrivateFieldIn:gG,__addDisposableResource:mG,__disposeResources:EG,__rewriteRelativeImportExtension:CG}});var bG=X((cke,vQ)=>{"use strict";var yG=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};vQ.exports=yG;vQ.exports.default=yG});var wG=X((uke,r0)=>{"use strict";var tce=bG(),t0=new WeakMap,IG=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,i=0,n=e.displayName||e.name||"<anonymous>",s=function(...o){if(t0.set(s,++i),i===1)r=e.apply(this,o),e=null;else if(t.throw===!0)throw new Error(`Function \`${n}\` can only be called once`);return r};return tce(s,e),t0.set(s,i),s};r0.exports=IG;r0.exports.default=IG;r0.exports.callCount=e=>{if(!t0.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return t0.get(e)}});var BG=X((lke,i0)=>{i0.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&i0.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&i0.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var DG=X((hke,SA)=>{var Gr=global.process,hl=function(e){return e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function"};hl(Gr)?(vG=require("assert"),xA=BG(),xG=/^win/i.test(Gr.platform),If=require("events"),typeof If!="function"&&(If=If.EventEmitter),Gr.__signal_exit_emitter__?Ri=Gr.__signal_exit_emitter__:(Ri=Gr.__signal_exit_emitter__=new If,Ri.count=0,Ri.emitted={}),Ri.infinite||(Ri.setMaxListeners(1/0),Ri.infinite=!0),SA.exports=function(e,t){if(!hl(global.process))return function(){};vG.equal(typeof e,"function","a callback must be provided for exit handler"),QA===!1&&xQ();var r="exit";t&&t.alwaysLast&&(r="afterexit");var i=function(){Ri.removeListener(r,e),Ri.listeners("exit").length===0&&Ri.listeners("afterexit").length===0&&n0()};return Ri.on(r,e),i},n0=function(){!QA||!hl(global.process)||(QA=!1,xA.forEach(function(t){try{Gr.removeListener(t,s0[t])}catch{}}),Gr.emit=o0,Gr.reallyExit=QQ,Ri.count-=1)},SA.exports.unload=n0,Al=function(t,r,i){Ri.emitted[t]||(Ri.emitted[t]=!0,Ri.emit(t,r,i))},s0={},xA.forEach(function(e){s0[e]=function(){if(hl(global.process)){var r=Gr.listeners(e);r.length===Ri.count&&(n0(),Al("exit",null,e),Al("afterexit",null,e),xG&&e==="SIGHUP"&&(e="SIGINT"),Gr.kill(Gr.pid,e))}}}),SA.exports.signals=function(){return xA},QA=!1,xQ=function(){QA||!hl(global.process)||(QA=!0,Ri.count+=1,xA=xA.filter(function(t){try{return Gr.on(t,s0[t]),!0}catch{return!1}}),Gr.emit=SG,Gr.reallyExit=QG)},SA.exports.load=xQ,QQ=Gr.reallyExit,QG=function(t){hl(global.process)&&(Gr.exitCode=t||0,Al("exit",Gr.exitCode,null),Al("afterexit",Gr.exitCode,null),QQ.call(Gr,Gr.exitCode))},o0=Gr.emit,SG=function(t,r){if(t==="exit"&&hl(global.process)){r!==void 0&&(Gr.exitCode=r);var i=o0.apply(this,arguments);return Al("exit",Gr.exitCode,null),Al("afterexit",Gr.exitCode,null),i}else return o0.apply(this,arguments)}):SA.exports=function(){return function(){}};var vG,xA,xG,If,Ri,n0,Al,s0,QA,xQ,QQ,QG,o0,SG});var RG=X((Ake,kG)=>{"use strict";var rce=wG(),ice=DG();kG.exports=rce(()=>{ice(()=>{process.stderr.write("\x1B[?25h")},{alwaysLast:!0})})});var _G=X(DA=>{"use strict";var nce=RG(),a0=!1;DA.show=(e=process.stderr)=>{e.isTTY&&(a0=!1,e.write("\x1B[?25h"))};DA.hide=(e=process.stderr)=>{e.isTTY&&(nce(),a0=!0,e.write("\x1B[?25l"))};DA.toggle=(e,t)=>{e!==void 0&&(a0=e),a0?DA.show(t):DA.hide(t)}});var TG=X((dke,sce)=>{sce.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots13:{interval:80,frames:["\u28FC","\u28F9","\u28BB","\u283F","\u285F","\u28CF","\u28E7","\u28F6"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},sand:{interval:80,frames:["\u2801","\u2802","\u2804","\u2840","\u2848","\u2850","\u2860","\u28C0","\u28C1","\u28C2","\u28C4","\u28CC","\u28D4","\u28E4","\u28E5","\u28E6","\u28EE","\u28F6","\u28F7","\u28FF","\u287F","\u283F","\u289F","\u281F","\u285B","\u281B","\u282B","\u288B","\u280B","\u280D","\u2849","\u2809","\u2811","\u2821","\u2881"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},binary:{interval:80,frames:["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]},dwarfFortress:{interval:80,frames:[" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A \u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A \xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A \xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\u2593\xA3 "," \u263A\u2593\xA3 "," \u263A\u2592\xA3 "," \u263A\u2592\xA3 "," \u263A\u2591\xA3 "," \u263A\u2591\xA3 "," \u263A \xA3 "," \u263A\xA3 "," \u263A\xA3 "," \u263A\u2593 "," \u263A\u2593 "," \u263A\u2592 "," \u263A\u2592 "," \u263A\u2591 "," \u263A\u2591 "," \u263A "," \u263A &"," \u263A \u263C&"," \u263A \u263C &"," \u263A\u263C &"," \u263A\u263C & "," \u203C & "," \u263A & "," \u203C & "," \u263A & "," \u203C & "," \u263A & ","\u203C & "," & "," & "," & \u2591 "," & \u2592 "," & \u2593 "," & \xA3 "," & \u2591\xA3 "," & \u2592\xA3 "," & \u2593\xA3 "," & \xA3\xA3 "," & \u2591\xA3\xA3 "," & \u2592\xA3\xA3 ","& \u2593\xA3\xA3 ","& \xA3\xA3\xA3 "," \u2591\xA3\xA3\xA3 "," \u2592\xA3\xA3\xA3 "," \u2593\xA3\xA3\xA3 "," \u2588\xA3\xA3\xA3 "," \u2591\u2588\xA3\xA3\xA3 "," \u2592\u2588\xA3\xA3\xA3 "," \u2593\u2588\xA3\xA3\xA3 "," \u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "]}}});var LG=X((fke,NG)=>{"use strict";var c0=Object.assign({},TG()),FG=Object.keys(c0);Object.defineProperty(c0,"random",{get(){let e=Math.floor(Math.random()*FG.length),t=FG[e];return c0[t]}});NG.exports=c0});var OG=X((gke,MG)=>{"use strict";MG.exports=()=>process.platform!=="win32"?!0:!!process.env.CI||!!process.env.WT_SESSION||process.env.TERM_PROGRAM==="vscode"||process.env.TERM==="xterm-256color"||process.env.TERM==="alacritty"});var UG=X((mke,PG)=>{"use strict";var zc=cl(),oce=OG(),ace={info:zc.blue("\u2139"),success:zc.green("\u2714"),warning:zc.yellow("\u26A0"),error:zc.red("\u2716")},cce={info:zc.blue("i"),success:zc.green("\u221A"),warning:zc.yellow("\u203C"),error:zc.red("\xD7")};PG.exports=oce()?ace:cce});var VG=X((Eke,qG)=>{"use strict";qG.exports=({onlyFirst:e=!1}={})=>{let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}});var $a=X((Cke,$G)=>{"use strict";var uce=VG();$G.exports=e=>typeof e=="string"?e.replace(uce(),""):e});var GG=X((yke,u0)=>{var lce=(function(){"use strict";function e(o,a,u,l){var A;typeof a=="object"&&(u=a.depth,l=a.prototype,A=a.filter,a=a.circular);var h=[],d=[],m=typeof Buffer<"u";typeof a>"u"&&(a=!0),typeof u>"u"&&(u=1/0);function g(E,y){if(E===null)return null;if(y==0)return E;var w,R;if(typeof E!="object")return E;if(e.__isArray(E))w=[];else if(e.__isRegExp(E))w=new RegExp(E.source,s(E)),E.lastIndex&&(w.lastIndex=E.lastIndex);else if(e.__isDate(E))w=new Date(E.getTime());else{if(m&&Buffer.isBuffer(E))return Buffer.allocUnsafe?w=Buffer.allocUnsafe(E.length):w=new Buffer(E.length),E.copy(w),w;typeof l>"u"?(R=Object.getPrototypeOf(E),w=Object.create(R)):(w=Object.create(l),R=l)}if(a){var S=h.indexOf(E);if(S!=-1)return d[S];h.push(E),d.push(w)}for(var F in E){var q;R&&(q=Object.getOwnPropertyDescriptor(R,F)),!(q&&q.set==null)&&(w[F]=g(E[F],y-1))}return w}return g(o,u)}e.clonePrototype=function(a){if(a===null)return null;var u=function(){};return u.prototype=a,new u};function t(o){return Object.prototype.toString.call(o)}e.__objToStr=t;function r(o){return typeof o=="object"&&t(o)==="[object Date]"}e.__isDate=r;function i(o){return typeof o=="object"&&t(o)==="[object Array]"}e.__isArray=i;function n(o){return typeof o=="object"&&t(o)==="[object RegExp]"}e.__isRegExp=n;function s(o){var a="";return o.global&&(a+="g"),o.ignoreCase&&(a+="i"),o.multiline&&(a+="m"),a}return e.__getRegExpFlags=s,e})();typeof u0=="object"&&u0.exports&&(u0.exports=lce)});var zG=X((bke,jG)=>{var hce=GG();jG.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(r){typeof e[r]>"u"&&(e[r]=hce(t[r]))}),e}});var YG=X((Ike,HG)=>{HG.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]});var KG=X((wke,SQ)=>{"use strict";var Ace=zG(),wf=YG(),JG={nul:0,control:0};SQ.exports=function(t){return ZG(t,JG)};SQ.exports.config=function(e){return e=Ace(e||{},JG),function(r){return ZG(r,e)}};function ZG(e,t){if(typeof e!="string")return WG(e,t);for(var r=0,i=0;i<e.length;i++){var n=WG(e.charCodeAt(i),t);if(n<0)return-1;r+=n}return r}function WG(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:pce(e)?0:1+(e>=4352&&(e<=4447||e==9001||e==9002||e>=11904&&e<=42191&&e!=12351||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=196605||e>=196608&&e<=262141))}function pce(e){var t=0,r=wf.length-1,i;if(e<wf[0][0]||e>wf[r][1])return!1;for(;r>=t;)if(i=Math.floor((t+r)/2),e>wf[i][1])t=i+1;else if(e<wf[i][0])r=i-1;else return!0;return!1}});var ej=X((Bke,XG)=>{"use strict";XG.exports=({stream:e=process.stdout}={})=>!!(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))});var DQ=X((vke,tj)=>{tj.exports=require("stream")});var aj=X((xke,oj)=>{"use strict";function rj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,i)}return r}function ij(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?rj(Object(r),!0).forEach(function(i){dce(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rj(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function dce(e,t,r){return t=sj(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nj(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,sj(i.key),i)}}function gce(e,t,r){return t&&nj(e.prototype,t),r&&nj(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function sj(e){var t=mce(e,"string");return typeof t=="symbol"?t:String(t)}function mce(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ece=require("buffer"),l0=Ece.Buffer,Cce=require("util"),kQ=Cce.inspect,yce=kQ&&kQ.custom||"inspect";function bce(e,t,r){l0.prototype.copy.call(e,t,r)}oj.exports=(function(){function e(){fce(this,e),this.head=null,this.tail=null,this.length=0}return gce(e,[{key:"push",value:function(r){var i={data:r,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length}},{key:"unshift",value:function(r){var i={data:r,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var i=this.head,n=""+i.data;i=i.next;)n+=r+i.data;return n}},{key:"concat",value:function(r){if(this.length===0)return l0.alloc(0);for(var i=l0.allocUnsafe(r>>>0),n=this.head,s=0;n;)bce(n.data,i,s),s+=n.data.length,n=n.next;return i}},{key:"consume",value:function(r,i){var n;return r<this.head.data.length?(n=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?n=this.shift():n=i?this._getString(r):this._getBuffer(r),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var i=this.head,n=1,s=i.data;for(r-=s.length;i=i.next;){var o=i.data,a=r>o.length?o.length:r;if(a===o.length?s+=o:s+=o.slice(0,r),r-=a,r===0){a===o.length?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=o.slice(a));break}++n}return this.length-=n,s}},{key:"_getBuffer",value:function(r){var i=l0.allocUnsafe(r),n=this.head,s=1;for(n.data.copy(i),r-=n.data.length;n=n.next;){var o=n.data,a=r>o.length?o.length:r;if(o.copy(i,i.length-r,0,a),r-=a,r===0){a===o.length?(++s,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(a));break}++s}return this.length-=s,i}},{key:yce,value:function(r,i){return kQ(this,ij(ij({},i),{},{depth:0,customInspect:!1}))}}]),e})()});var _Q=X((Qke,uj)=>{"use strict";function Ice(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return i||n?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(RQ,this,e)):process.nextTick(RQ,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(s){!t&&s?r._writableState?r._writableState.errorEmitted?process.nextTick(h0,r):(r._writableState.errorEmitted=!0,process.nextTick(cj,r,s)):process.nextTick(cj,r,s):t?(process.nextTick(h0,r),t(s)):process.nextTick(h0,r)}),this)}function cj(e,t){RQ(e,t),h0(e)}function h0(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function wce(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function RQ(e,t){e.emit("error",t)}function Bce(e,t){var r=e._readableState,i=e._writableState;r&&r.autoDestroy||i&&i.autoDestroy?e.destroy(t):e.emit("error",t)}uj.exports={destroy:Ice,undestroy:wce,errorOrDestroy:Bce}});var Hc=X((Ske,Aj)=>{"use strict";var hj={};function xs(e,t,r){r||(r=Error);function i(s,o,a){return typeof t=="string"?t:t(s,o,a)}class n extends r{constructor(o,a,u){super(i(o,a,u))}}n.prototype.name=r.name,n.prototype.code=e,hj[e]=n}function lj(e,t){if(Array.isArray(e)){let r=e.length;return e=e.map(i=>String(i)),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:r===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}else return`of ${t} ${String(e)}`}function vce(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function xce(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function Qce(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}xs("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);xs("ERR_INVALID_ARG_TYPE",function(e,t,r){let i;typeof t=="string"&&vce(t,"not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";let n;if(xce(e," argument"))n=`The ${e} ${i} ${lj(t,"type")}`;else{let s=Qce(e,".")?"property":"argument";n=`The "${e}" ${s} ${i} ${lj(t,"type")}`}return n+=`. Received type ${typeof r}`,n},TypeError);xs("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");xs("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});xs("ERR_STREAM_PREMATURE_CLOSE","Premature close");xs("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});xs("ERR_MULTIPLE_CALLBACK","Callback called multiple times");xs("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");xs("ERR_STREAM_WRITE_AFTER_END","write after end");xs("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);xs("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);xs("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Aj.exports.codes=hj});var TQ=X((Dke,pj)=>{"use strict";var Sce=Hc().codes.ERR_INVALID_OPT_VALUE;function Dce(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function kce(e,t,r,i){var n=Dce(t,i,r);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var s=i?r:"highWaterMark";throw new Sce(s,n)}return Math.floor(n)}return e.objectMode?16:16*1024}pj.exports={getHighWaterMark:kce}});var dj=X((kke,FQ)=>{typeof Object.create=="function"?FQ.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:FQ.exports=function(t,r){if(r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t}}});var pl=X((Rke,LQ)=>{try{if(NQ=require("util"),typeof NQ.inherits!="function")throw"";LQ.exports=NQ.inherits}catch{LQ.exports=dj()}var NQ});var gj=X((_ke,fj)=>{fj.exports=require("util").deprecate});var PQ=X((Tke,Ij)=>{"use strict";Ij.exports=Kr;function Ej(e){var t=this;this.next=null,this.entry=null,this.finish=function(){iue(t,e)}}var kA;Kr.WritableState=vf;var Rce={deprecate:gj()},Cj=DQ(),p0=require("buffer").Buffer,_ce=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Tce(e){return p0.from(e)}function Fce(e){return p0.isBuffer(e)||e instanceof _ce}var OQ=_Q(),Nce=TQ(),Lce=Nce.getHighWaterMark,Yc=Hc().codes,Mce=Yc.ERR_INVALID_ARG_TYPE,Oce=Yc.ERR_METHOD_NOT_IMPLEMENTED,Pce=Yc.ERR_MULTIPLE_CALLBACK,Uce=Yc.ERR_STREAM_CANNOT_PIPE,qce=Yc.ERR_STREAM_DESTROYED,Vce=Yc.ERR_STREAM_NULL_VALUES,$ce=Yc.ERR_STREAM_WRITE_AFTER_END,Gce=Yc.ERR_UNKNOWN_ENCODING,RA=OQ.errorOrDestroy;pl()(Kr,Cj);function jce(){}function vf(e,t,r){kA=kA||dl(),e=e||{},typeof r!="boolean"&&(r=t instanceof kA),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=Lce(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=e.decodeStrings===!1;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(n){Kce(t,n)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Ej(this)}vf.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(vf.prototype,"buffer",{get:Rce.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var A0;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(A0=Function.prototype[Symbol.hasInstance],Object.defineProperty(Kr,Symbol.hasInstance,{value:function(t){return A0.call(this,t)?!0:this!==Kr?!1:t&&t._writableState instanceof vf}})):A0=function(t){return t instanceof this};function Kr(e){kA=kA||dl();var t=this instanceof kA;if(!t&&!A0.call(Kr,this))return new Kr(e);this._writableState=new vf(e,this,t),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),Cj.call(this)}Kr.prototype.pipe=function(){RA(this,new Uce)};function zce(e,t){var r=new $ce;RA(e,r),process.nextTick(t,r)}function Hce(e,t,r,i){var n;return r===null?n=new Vce:typeof r!="string"&&!t.objectMode&&(n=new Mce("chunk",["string","Buffer"],r)),n?(RA(e,n),process.nextTick(i,n),!1):!0}Kr.prototype.write=function(e,t,r){var i=this._writableState,n=!1,s=!i.objectMode&&Fce(e);return s&&!p0.isBuffer(e)&&(e=Tce(e)),typeof t=="function"&&(r=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),typeof r!="function"&&(r=jce),i.ending?zce(this,r):(s||Hce(this,i,e,r))&&(i.pendingcb++,n=Wce(this,i,s,e,t,r)),n};Kr.prototype.cork=function(){this._writableState.corked++};Kr.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&yj(this,e))};Kr.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new Gce(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(Kr.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Yce(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=p0.from(t,r)),t}Object.defineProperty(Kr.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Wce(e,t,r,i,n,s){if(!r){var o=Yce(t,i,n);i!==o&&(r=!0,n="buffer",i=o)}var a=t.objectMode?1:i.length;t.length+=a;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:i,encoding:n,isBuf:r,callback:s,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else MQ(e,t,!1,a,i,n,s);return u}function MQ(e,t,r,i,n,s,o){t.writelen=i,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new qce("write")):r?e._writev(n,t.onwrite):e._write(n,s,t.onwrite),t.sync=!1}function Jce(e,t,r,i,n){--t.pendingcb,r?(process.nextTick(n,i),process.nextTick(Bf,e,t),e._writableState.errorEmitted=!0,RA(e,i)):(n(i),e._writableState.errorEmitted=!0,RA(e,i),Bf(e,t))}function Zce(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function Kce(e,t){var r=e._writableState,i=r.sync,n=r.writecb;if(typeof n!="function")throw new Pce;if(Zce(r),t)Jce(e,r,i,t,n);else{var s=bj(r)||e.destroyed;!s&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&yj(e,r),i?process.nextTick(mj,e,r,s,n):mj(e,r,s,n)}}function mj(e,t,r,i){r||Xce(e,t),t.pendingcb--,i(),Bf(e,t)}function Xce(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function yj(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,n=new Array(i),s=t.corkedRequestsFree;s.entry=r;for(var o=0,a=!0;r;)n[o]=r,r.isBuf||(a=!1),r=r.next,o+=1;n.allBuffers=a,MQ(e,t,!0,t.length,n,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new Ej(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,A=r.callback,h=t.objectMode?1:u.length;if(MQ(e,t,!1,h,u,l,A),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}Kr.prototype._write=function(e,t,r){r(new Oce("_write()"))};Kr.prototype._writev=null;Kr.prototype.end=function(e,t,r){var i=this._writableState;return typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null),e!=null&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||rue(this,i,r),this};Object.defineProperty(Kr.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function bj(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function eue(e,t){e._final(function(r){t.pendingcb--,r&&RA(e,r),t.prefinished=!0,e.emit("prefinish"),Bf(e,t)})}function tue(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(eue,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function Bf(e,t){var r=bj(t);if(r&&(tue(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}function rue(e,t,r){t.ending=!0,Bf(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function iue(e,t,r){var i=e.entry;for(e.entry=null;i;){var n=i.callback;t.pendingcb--,n(r),i=i.next}t.corkedRequestsFree.next=e}Object.defineProperty(Kr.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}});Kr.prototype.destroy=OQ.destroy;Kr.prototype._undestroy=OQ.undestroy;Kr.prototype._destroy=function(e,t){t(e)}});var dl=X((Fke,Bj)=>{"use strict";var nue=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};Bj.exports=Vo;var wj=VQ(),qQ=PQ();pl()(Vo,wj);for(UQ=nue(qQ.prototype),d0=0;d0<UQ.length;d0++)f0=UQ[d0],Vo.prototype[f0]||(Vo.prototype[f0]=qQ.prototype[f0]);var UQ,f0,d0;function Vo(e){if(!(this instanceof Vo))return new Vo(e);wj.call(this,e),qQ.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",sue)))}Object.defineProperty(Vo.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(Vo.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(Vo.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function sue(){this._writableState.ended||process.nextTick(oue,this)}function oue(e){e.end()}Object.defineProperty(Vo.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(t){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=t,this._writableState.destroyed=t)}})});var Qj=X(($Q,xj)=>{var g0=require("buffer"),$o=g0.Buffer;function vj(e,t){for(var r in e)t[r]=e[r]}$o.from&&$o.alloc&&$o.allocUnsafe&&$o.allocUnsafeSlow?xj.exports=g0:(vj(g0,$Q),$Q.Buffer=fl);function fl(e,t,r){return $o(e,t,r)}fl.prototype=Object.create($o.prototype);vj($o,fl);fl.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return $o(e,t,r)};fl.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var i=$o(e);return t!==void 0?typeof r=="string"?i.fill(t,r):i.fill(t):i.fill(0),i};fl.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return $o(e)};fl.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return g0.SlowBuffer(e)}});var zQ=X(Dj=>{"use strict";var jQ=Qj().Buffer,Sj=jQ.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function aue(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function cue(e){var t=aue(e);if(typeof t!="string"&&(jQ.isEncoding===Sj||!Sj(e)))throw new Error("Unknown encoding: "+e);return t||e}Dj.StringDecoder=xf;function xf(e){this.encoding=cue(e);var t;switch(this.encoding){case"utf16le":this.text=due,this.end=fue,t=4;break;case"utf8":this.fillLast=hue,t=4;break;case"base64":this.text=gue,this.end=mue,t=3;break;default:this.write=Eue,this.end=Cue;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=jQ.allocUnsafe(t)}xf.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""};xf.prototype.end=pue;xf.prototype.text=Aue;xf.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function GQ(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function uue(e,t,r){var i=t.length-1;if(i<r)return 0;var n=GQ(t[i]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--i<r||n===-2?0:(n=GQ(t[i]),n>=0?(n>0&&(e.lastNeed=n-2),n):--i<r||n===-2?0:(n=GQ(t[i]),n>=0?(n>0&&(n===2?n=0:e.lastNeed=n-3),n):0))}function lue(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"\uFFFD";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"\uFFFD";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"\uFFFD"}}function hue(e){var t=this.lastTotal-this.lastNeed,r=lue(this,e,t);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function Aue(e,t){var r=uue(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function pue(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function due(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var i=r.charCodeAt(r.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function fue(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function gue(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function mue(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function Eue(e){return e.toString(this.encoding)}function Cue(e){return e&&e.length?this.write(e):""}});var m0=X((Lke,_j)=>{"use strict";var kj=Hc().codes.ERR_STREAM_PREMATURE_CLOSE;function yue(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,i=new Array(r),n=0;n<r;n++)i[n]=arguments[n];e.apply(this,i)}}}function bue(){}function Iue(e){return e.setHeader&&typeof e.abort=="function"}function Rj(e,t,r){if(typeof t=="function")return Rj(e,null,t);t||(t={}),r=yue(r||bue);var i=t.readable||t.readable!==!1&&e.readable,n=t.writable||t.writable!==!1&&e.writable,s=function(){e.writable||a()},o=e._writableState&&e._writableState.finished,a=function(){n=!1,o=!0,i||r.call(e)},u=e._readableState&&e._readableState.endEmitted,l=function(){i=!1,u=!0,n||r.call(e)},A=function(g){r.call(e,g)},h=function(){var g;if(i&&!u)return(!e._readableState||!e._readableState.ended)&&(g=new kj),r.call(e,g);if(n&&!o)return(!e._writableState||!e._writableState.ended)&&(g=new kj),r.call(e,g)},d=function(){e.req.on("finish",a)};return Iue(e)?(e.on("complete",a),e.on("abort",h),e.req?d():e.on("request",d)):n&&!e._writableState&&(e.on("end",s),e.on("close",s)),e.on("end",l),e.on("finish",a),t.error!==!1&&e.on("error",A),e.on("close",h),function(){e.removeListener("complete",a),e.removeListener("abort",h),e.removeListener("request",d),e.req&&e.req.removeListener("finish",a),e.removeListener("end",s),e.removeListener("close",s),e.removeListener("finish",a),e.removeListener("end",l),e.removeListener("error",A),e.removeListener("close",h)}}_j.exports=Rj});var Fj=X((Mke,Tj)=>{"use strict";var E0;function Wc(e,t,r){return t=wue(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wue(e){var t=Bue(e,"string");return typeof t=="symbol"?t:String(t)}function Bue(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var vue=m0(),Jc=Symbol("lastResolve"),gl=Symbol("lastReject"),Qf=Symbol("error"),C0=Symbol("ended"),ml=Symbol("lastPromise"),HQ=Symbol("handlePromise"),El=Symbol("stream");function Zc(e,t){return{value:e,done:t}}function xue(e){var t=e[Jc];if(t!==null){var r=e[El].read();r!==null&&(e[ml]=null,e[Jc]=null,e[gl]=null,t(Zc(r,!1)))}}function Que(e){process.nextTick(xue,e)}function Sue(e,t){return function(r,i){e.then(function(){if(t[C0]){r(Zc(void 0,!0));return}t[HQ](r,i)},i)}}var Due=Object.getPrototypeOf(function(){}),kue=Object.setPrototypeOf((E0={get stream(){return this[El]},next:function(){var t=this,r=this[Qf];if(r!==null)return Promise.reject(r);if(this[C0])return Promise.resolve(Zc(void 0,!0));if(this[El].destroyed)return new Promise(function(o,a){process.nextTick(function(){t[Qf]?a(t[Qf]):o(Zc(void 0,!0))})});var i=this[ml],n;if(i)n=new Promise(Sue(i,this));else{var s=this[El].read();if(s!==null)return Promise.resolve(Zc(s,!1));n=new Promise(this[HQ])}return this[ml]=n,n}},Wc(E0,Symbol.asyncIterator,function(){return this}),Wc(E0,"return",function(){var t=this;return new Promise(function(r,i){t[El].destroy(null,function(n){if(n){i(n);return}r(Zc(void 0,!0))})})}),E0),Due),Rue=function(t){var r,i=Object.create(kue,(r={},Wc(r,El,{value:t,writable:!0}),Wc(r,Jc,{value:null,writable:!0}),Wc(r,gl,{value:null,writable:!0}),Wc(r,Qf,{value:null,writable:!0}),Wc(r,C0,{value:t._readableState.endEmitted,writable:!0}),Wc(r,HQ,{value:function(s,o){var a=i[El].read();a?(i[ml]=null,i[Jc]=null,i[gl]=null,s(Zc(a,!1))):(i[Jc]=s,i[gl]=o)},writable:!0}),r));return i[ml]=null,vue(t,function(n){if(n&&n.code!=="ERR_STREAM_PREMATURE_CLOSE"){var s=i[gl];s!==null&&(i[ml]=null,i[Jc]=null,i[gl]=null,s(n)),i[Qf]=n;return}var o=i[Jc];o!==null&&(i[ml]=null,i[Jc]=null,i[gl]=null,o(Zc(void 0,!0))),i[C0]=!0}),t.on("readable",Que.bind(null,i)),i};Tj.exports=Rue});var Oj=X((Oke,Mj)=>{"use strict";function Nj(e,t,r,i,n,s,o){try{var a=e[s](o),u=a.value}catch(l){r(l);return}a.done?t(u):Promise.resolve(u).then(i,n)}function _ue(e){return function(){var t=this,r=arguments;return new Promise(function(i,n){var s=e.apply(t,r);function o(u){Nj(s,i,n,o,a,"next",u)}function a(u){Nj(s,i,n,o,a,"throw",u)}o(void 0)})}}function Lj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,i)}return r}function Tue(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Lj(Object(r),!0).forEach(function(i){Fue(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lj(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function Fue(e,t,r){return t=Nue(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nue(e){var t=Lue(e,"string");return typeof t=="symbol"?t:String(t)}function Lue(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Mue=Hc().codes.ERR_INVALID_ARG_TYPE;function Oue(e,t,r){var i;if(t&&typeof t.next=="function")i=t;else if(t&&t[Symbol.asyncIterator])i=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])i=t[Symbol.iterator]();else throw new Mue("iterable",["Iterable"],t);var n=new e(Tue({objectMode:!0},r)),s=!1;n._read=function(){s||(s=!0,o())};function o(){return a.apply(this,arguments)}function a(){return a=_ue(function*(){try{var u=yield i.next(),l=u.value,A=u.done;A?n.push(null):n.push(yield l)?o():s=!1}catch(h){n.destroy(h)}}),a.apply(this,arguments)}return n}Mj.exports=Oue});var VQ=X((Uke,Yj)=>{"use strict";Yj.exports=pr;var _A;pr.ReadableState=Vj;var Pke=require("events").EventEmitter,qj=function(t,r){return t.listeners(r).length},Df=DQ(),y0=require("buffer").Buffer,Pue=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Uue(e){return y0.from(e)}function que(e){return y0.isBuffer(e)||e instanceof Pue}var YQ=require("util"),Xt;YQ&&YQ.debuglog?Xt=YQ.debuglog("stream"):Xt=function(){};var Vue=aj(),tS=_Q(),$ue=TQ(),Gue=$ue.getHighWaterMark,b0=Hc().codes,jue=b0.ERR_INVALID_ARG_TYPE,zue=b0.ERR_STREAM_PUSH_AFTER_EOF,Hue=b0.ERR_METHOD_NOT_IMPLEMENTED,Yue=b0.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,TA,WQ,JQ;pl()(pr,Df);var Sf=tS.errorOrDestroy,ZQ=["error","close","destroy","pause","resume"];function Wue(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function Vj(e,t,r){_A=_A||dl(),e=e||{},typeof r!="boolean"&&(r=t instanceof _A),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=Gue(this,e,"readableHighWaterMark",r),this.buffer=new Vue,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(TA||(TA=zQ().StringDecoder),this.decoder=new TA(e.encoding),this.encoding=e.encoding)}function pr(e){if(_A=_A||dl(),!(this instanceof pr))return new pr(e);var t=this instanceof _A;this._readableState=new Vj(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Df.call(this)}Object.defineProperty(pr.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}});pr.prototype.destroy=tS.destroy;pr.prototype._undestroy=tS.undestroy;pr.prototype._destroy=function(e,t){t(e)};pr.prototype.push=function(e,t){var r=this._readableState,i;return r.objectMode?i=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=y0.from(e,t),t=""),i=!0),$j(this,e,t,!1,i)};pr.prototype.unshift=function(e){return $j(this,e,null,!0,!1)};function $j(e,t,r,i,n){Xt("readableAddChunk",t);var s=e._readableState;if(t===null)s.reading=!1,Kue(e,s);else{var o;if(n||(o=Jue(s,t)),o)Sf(e,o);else if(s.objectMode||t&&t.length>0)if(typeof t!="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==y0.prototype&&(t=Uue(t)),i)s.endEmitted?Sf(e,new Yue):KQ(e,s,t,!0);else if(s.ended)Sf(e,new zue);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||t.length!==0?KQ(e,s,t,!1):eS(e,s)):KQ(e,s,t,!1)}else i||(s.reading=!1,eS(e,s))}return!s.ended&&(s.length<s.highWaterMark||s.length===0)}function KQ(e,t,r,i){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&I0(e)),eS(e,t)}function Jue(e,t){var r;return!que(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new jue("chunk",["string","Buffer","Uint8Array"],t)),r}pr.prototype.isPaused=function(){return this._readableState.flowing===!1};pr.prototype.setEncoding=function(e){TA||(TA=zQ().StringDecoder);var t=new TA(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";r!==null;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),i!==""&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var Pj=1073741824;function Zue(e){return e>=Pj?e=Pj:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Uj(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=Zue(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}pr.prototype.read=function(e){Xt("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended))return Xt("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?XQ(this):I0(this),null;if(e=Uj(e,t),e===0&&t.ended)return t.length===0&&XQ(this),null;var i=t.needReadable;Xt("need readable",i),(t.length===0||t.length-e<t.highWaterMark)&&(i=!0,Xt("length less than watermark",i)),t.ended||t.reading?(i=!1,Xt("reading or ended",i)):i&&(Xt("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Uj(r,t)));var n;return e>0?n=zj(e,t):n=null,n===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&XQ(this)),n!==null&&this.emit("data",n),n};function Kue(e,t){if(Xt("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?I0(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Gj(e)))}}function I0(e){var t=e._readableState;Xt("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(Xt("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(Gj,e))}function Gj(e){var t=e._readableState;Xt("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,rS(e)}function eS(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(Xue,e,t))}function Xue(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(Xt("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}pr.prototype._read=function(e){Sf(this,new Hue("_read()"))};pr.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,Xt("pipe count=%d opts=%j",i.pipesCount,t);var n=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,s=n?a:E;i.endEmitted?process.nextTick(s):r.once("end",s),e.on("unpipe",o);function o(y,w){Xt("onunpipe"),y===r&&w&&w.hasUnpiped===!1&&(w.hasUnpiped=!0,A())}function a(){Xt("onend"),e.end()}var u=ele(r);e.on("drain",u);var l=!1;function A(){Xt("cleanup"),e.removeListener("close",m),e.removeListener("finish",g),e.removeListener("drain",u),e.removeListener("error",d),e.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",E),r.removeListener("data",h),l=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u()}r.on("data",h);function h(y){Xt("ondata");var w=e.write(y);Xt("dest.write",w),w===!1&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&Hj(i.pipes,e)!==-1)&&!l&&(Xt("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function d(y){Xt("onerror",y),E(),e.removeListener("error",d),qj(e,"error")===0&&Sf(e,y)}Wue(e,"error",d);function m(){e.removeListener("finish",g),E()}e.once("close",m);function g(){Xt("onfinish"),e.removeListener("close",m),E()}e.once("finish",g);function E(){Xt("unpipe"),r.unpipe(e)}return e.emit("pipe",r),i.flowing||(Xt("pipe resume"),r.resume()),e};function ele(e){return function(){var r=e._readableState;Xt("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&qj(e,"data")&&(r.flowing=!0,rS(e))}}pr.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var i=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<n;s++)i[s].emit("unpipe",this,{hasUnpiped:!1});return this}var o=Hj(t.pipes,e);return o===-1?this:(t.pipes.splice(o,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};pr.prototype.on=function(e,t){var r=Df.prototype.on.call(this,e,t),i=this._readableState;return e==="data"?(i.readableListening=this.listenerCount("readable")>0,i.flowing!==!1&&this.resume()):e==="readable"&&!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,Xt("on readable",i.length,i.reading),i.length?I0(this):i.reading||process.nextTick(tle,this)),r};pr.prototype.addListener=pr.prototype.on;pr.prototype.removeListener=function(e,t){var r=Df.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(jj,this),r};pr.prototype.removeAllListeners=function(e){var t=Df.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(jj,this),t};function jj(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function tle(e){Xt("readable nexttick read 0"),e.read(0)}pr.prototype.resume=function(){var e=this._readableState;return e.flowing||(Xt("resume"),e.flowing=!e.readableListening,rle(this,e)),e.paused=!1,this};function rle(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(ile,e,t))}function ile(e,t){Xt("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),rS(e),t.flowing&&!t.reading&&e.read(0)}pr.prototype.pause=function(){return Xt("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(Xt("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function rS(e){var t=e._readableState;for(Xt("flow",t.flowing);t.flowing&&e.read()!==null;);}pr.prototype.wrap=function(e){var t=this,r=this._readableState,i=!1;e.on("end",function(){if(Xt("wrapped end"),r.decoder&&!r.ended){var o=r.decoder.end();o&&o.length&&t.push(o)}t.push(null)}),e.on("data",function(o){if(Xt("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!(r.objectMode&&o==null)&&!(!r.objectMode&&(!o||!o.length))){var a=t.push(o);a||(i=!0,e.pause())}});for(var n in e)this[n]===void 0&&typeof e[n]=="function"&&(this[n]=(function(a){return function(){return e[a].apply(e,arguments)}})(n));for(var s=0;s<ZQ.length;s++)e.on(ZQ[s],this.emit.bind(this,ZQ[s]));return this._read=function(o){Xt("wrapped _read",o),i&&(i=!1,e.resume())},this};typeof Symbol=="function"&&(pr.prototype[Symbol.asyncIterator]=function(){return WQ===void 0&&(WQ=Fj()),WQ(this)});Object.defineProperty(pr.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(pr.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(pr.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});pr._fromList=zj;Object.defineProperty(pr.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function zj(e,t){if(t.length===0)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.first():r=t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function XQ(e){var t=e._readableState;Xt("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(nle,t,e))}function nle(e,t){if(Xt("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}typeof Symbol=="function"&&(pr.from=function(e,t){return JQ===void 0&&(JQ=Oj()),JQ(pr,e,t)});function Hj(e,t){for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1}});var iS=X((qke,Jj)=>{"use strict";Jj.exports=Ga;var w0=Hc().codes,sle=w0.ERR_METHOD_NOT_IMPLEMENTED,ole=w0.ERR_MULTIPLE_CALLBACK,ale=w0.ERR_TRANSFORM_ALREADY_TRANSFORMING,cle=w0.ERR_TRANSFORM_WITH_LENGTH_0,B0=dl();pl()(Ga,B0);function ule(e,t){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(i===null)return this.emit("error",new ole);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),i(e);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function Ga(e){if(!(this instanceof Ga))return new Ga(e);B0.call(this,e),this._transformState={afterTransform:ule.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",lle)}function lle(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){Wj(e,t,r)}):Wj(this,null,null)}Ga.prototype.push=function(e,t){return this._transformState.needTransform=!1,B0.prototype.push.call(this,e,t)};Ga.prototype._transform=function(e,t,r){r(new sle("_transform()"))};Ga.prototype._write=function(e,t,r){var i=this._transformState;if(i.writecb=r,i.writechunk=e,i.writeencoding=t,!i.transforming){var n=this._readableState;(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}};Ga.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};Ga.prototype._destroy=function(e,t){B0.prototype._destroy.call(this,e,function(r){t(r)})};function Wj(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new cle;if(e._transformState.transforming)throw new ale;return e.push(null)}});var Xj=X((Vke,Kj)=>{"use strict";Kj.exports=kf;var Zj=iS();pl()(kf,Zj);function kf(e){if(!(this instanceof kf))return new kf(e);Zj.call(this,e)}kf.prototype._transform=function(e,t,r){r(null,e)}});var n5=X(($ke,i5)=>{"use strict";var nS;function hle(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var r5=Hc().codes,Ale=r5.ERR_MISSING_ARGS,ple=r5.ERR_STREAM_DESTROYED;function e5(e){if(e)throw e}function dle(e){return e.setHeader&&typeof e.abort=="function"}function fle(e,t,r,i){i=hle(i);var n=!1;e.on("close",function(){n=!0}),nS===void 0&&(nS=m0()),nS(e,{readable:t,writable:r},function(o){if(o)return i(o);n=!0,i()});var s=!1;return function(o){if(!n&&!s){if(s=!0,dle(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();i(o||new ple("pipe"))}}}function t5(e){e()}function gle(e,t){return e.pipe(t)}function mle(e){return!e.length||typeof e[e.length-1]!="function"?e5:e.pop()}function Ele(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=mle(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Ale("streams");var n,s=t.map(function(o,a){var u=a<t.length-1,l=a>0;return fle(o,u,l,function(A){n||(n=A),A&&s.forEach(t5),!u&&(s.forEach(t5),i(n))})});return t.reduce(gle)}i5.exports=Ele});var s5=X((Qs,_f)=>{var Rf=require("stream");process.env.READABLE_STREAM==="disable"&&Rf?(_f.exports=Rf.Readable,Object.assign(_f.exports,Rf),_f.exports.Stream=Rf):(Qs=_f.exports=VQ(),Qs.Stream=Rf||Qs,Qs.Readable=Qs,Qs.Writable=PQ(),Qs.Duplex=dl(),Qs.Transform=iS(),Qs.PassThrough=Xj(),Qs.finished=m0(),Qs.pipeline=n5())});var c5=X((Gke,a5)=>{"use strict";var{Buffer:Ks}=require("buffer"),o5=Symbol.for("BufferList");function Or(e){if(!(this instanceof Or))return new Or(e);Or._init.call(this,e)}Or._init=function(t){Object.defineProperty(this,o5,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)};Or.prototype._new=function(t){return new Or(t)};Or.prototype._offset=function(t){if(t===0)return[0,0];let r=0;for(let i=0;i<this._bufs.length;i++){let n=r+this._bufs[i].length;if(t<n||i===this._bufs.length-1)return[i,t-r];r=n}};Or.prototype._reverseOffset=function(e){let t=e[0],r=e[1];for(let i=0;i<t;i++)r+=this._bufs[i].length;return r};Or.prototype.get=function(t){if(t>this.length||t<0)return;let r=this._offset(t);return this._bufs[r[0]][r[1]]};Or.prototype.slice=function(t,r){return typeof t=="number"&&t<0&&(t+=this.length),typeof r=="number"&&r<0&&(r+=this.length),this.copy(null,0,t,r)};Or.prototype.copy=function(t,r,i,n){if((typeof i!="number"||i<0)&&(i=0),(typeof n!="number"||n>this.length)&&(n=this.length),i>=this.length||n<=0)return t||Ks.alloc(0);let s=!!t,o=this._offset(i),a=n-i,u=a,l=s&&r||0,A=o[1];if(i===0&&n===this.length){if(!s)return this._bufs.length===1?this._bufs[0]:Ks.concat(this._bufs,this.length);for(let h=0;h<this._bufs.length;h++)this._bufs[h].copy(t,l),l+=this._bufs[h].length;return t}if(u<=this._bufs[o[0]].length-A)return s?this._bufs[o[0]].copy(t,r,A,A+u):this._bufs[o[0]].slice(A,A+u);s||(t=Ks.allocUnsafe(a));for(let h=o[0];h<this._bufs.length;h++){let d=this._bufs[h].length-A;if(u>d)this._bufs[h].copy(t,l,A),l+=d;else{this._bufs[h].copy(t,l,A,A+u),l+=d;break}u-=d,A&&(A=0)}return t.length>l?t.slice(0,l):t};Or.prototype.shallowSlice=function(t,r){if(t=t||0,r=typeof r!="number"?this.length:r,t<0&&(t+=this.length),r<0&&(r+=this.length),t===r)return this._new();let i=this._offset(t),n=this._offset(r),s=this._bufs.slice(i[0],n[0]+1);return n[1]===0?s.pop():s[s.length-1]=s[s.length-1].slice(0,n[1]),i[1]!==0&&(s[0]=s[0].slice(i[1])),this._new(s)};Or.prototype.toString=function(t,r,i){return this.slice(r,i).toString(t)};Or.prototype.consume=function(t){if(t=Math.trunc(t),Number.isNaN(t)||t<=0)return this;for(;this._bufs.length;)if(t>=this._bufs[0].length)t-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(t),this.length-=t;break}return this};Or.prototype.duplicate=function(){let t=this._new();for(let r=0;r<this._bufs.length;r++)t.append(this._bufs[r]);return t};Or.prototype.append=function(t){if(t==null)return this;if(t.buffer)this._appendBuffer(Ks.from(t.buffer,t.byteOffset,t.byteLength));else if(Array.isArray(t))for(let r=0;r<t.length;r++)this.append(t[r]);else if(this._isBufferList(t))for(let r=0;r<t._bufs.length;r++)this.append(t._bufs[r]);else typeof t=="number"&&(t=t.toString()),this._appendBuffer(Ks.from(t));return this};Or.prototype._appendBuffer=function(t){this._bufs.push(t),this.length+=t.length};Or.prototype.indexOf=function(e,t,r){if(r===void 0&&typeof t=="string"&&(r=t,t=void 0),typeof e=="function"||Array.isArray(e))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if(typeof e=="number"?e=Ks.from([e]):typeof e=="string"?e=Ks.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=Ks.from(e.buffer,e.byteOffset,e.byteLength):Ks.isBuffer(e)||(e=Ks.from(e)),t=Number(t||0),isNaN(t)&&(t=0),t<0&&(t=this.length+t),t<0&&(t=0),e.length===0)return t>this.length?this.length:t;let i=this._offset(t),n=i[0],s=i[1];for(;n<this._bufs.length;n++){let o=this._bufs[n];for(;s<o.length;)if(o.length-s>=e.length){let u=o.indexOf(e,s);if(u!==-1)return this._reverseOffset([n,u]);s=o.length-e.length+1}else{let u=this._reverseOffset([n,s]);if(this._match(u,e))return u;s++}s=0}return-1};Or.prototype._match=function(e,t){if(this.length-e<t.length)return!1;for(let r=0;r<t.length;r++)if(this.get(e+r)!==t[r])return!1;return!0};(function(){let e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let t in e)(function(r){e[r]===null?Or.prototype[r]=function(i,n){return this.slice(i,i+n)[r](0,n)}:Or.prototype[r]=function(i=0){return this.slice(i,i+e[r])[r](0)}})(t)})();Or.prototype._isBufferList=function(t){return t instanceof Or||Or.isBufferList(t)};Or.isBufferList=function(t){return t!=null&&t[o5]};a5.exports=Or});var u5=X((jke,v0)=>{"use strict";var sS=s5().Duplex,Cle=pl(),Tf=c5();function Ji(e){if(!(this instanceof Ji))return new Ji(e);if(typeof e=="function"){this._callback=e;let t=function(i){this._callback&&(this._callback(i),this._callback=null)}.bind(this);this.on("pipe",function(i){i.on("error",t)}),this.on("unpipe",function(i){i.removeListener("error",t)}),e=null}Tf._init.call(this,e),sS.call(this)}Cle(Ji,sS);Object.assign(Ji.prototype,Tf.prototype);Ji.prototype._new=function(t){return new Ji(t)};Ji.prototype._write=function(t,r,i){this._appendBuffer(t),typeof i=="function"&&i()};Ji.prototype._read=function(t){if(!this.length)return this.push(null);t=Math.min(t,this.length),this.push(this.slice(0,t)),this.consume(t)};Ji.prototype.end=function(t){sS.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)};Ji.prototype._destroy=function(t,r){this._bufs.length=0,this.length=0,r(t)};Ji.prototype._isBufferList=function(t){return t instanceof Ji||t instanceof Tf||Ji.isBufferList(t)};Ji.isBufferList=Tf.isBufferList;v0.exports=Ji;v0.exports.BufferListStream=Ji;v0.exports.BufferList=Tf});var FA=X((zke,uS)=>{"use strict";var yle=require("readline"),ble=cl(),l5=_G(),x0=LG(),Q0=UG(),Ile=$a(),wle=KG(),Ble=ej(),{BufferListStream:vle}=u5(),oS=Symbol("text"),aS=Symbol("prefixText"),xle=3,Qle=()=>process.platform!=="win32"||process.env.TERM_PROGRAM==="vscode"||!!process.env.WT_SESSION,cS=class{constructor(){this.requests=0,this.mutedStream=new vle,this.mutedStream.pipe(process.stdout);let t=this;this.ourEmit=function(r,i,...n){let{stdin:s}=process;if(t.requests>0||s.emit===t.ourEmit){if(r==="keypress")return;r==="data"&&i.includes(xle)&&process.emit("SIGINT"),Reflect.apply(t.oldEmit,this,[r,i,...n])}else Reflect.apply(process.stdin.emit,this,[r,i,...n])}}start(){this.requests++,this.requests===1&&this.realStart()}stop(){if(this.requests<=0)throw new Error("`stop` called more times than `start`");this.requests--,this.requests===0&&this.realStop()}realStart(){process.platform!=="win32"&&(this.rl=yle.createInterface({input:process.stdin,output:this.mutedStream}),this.rl.on("SIGINT",()=>{process.listenerCount("SIGINT")===0?process.emit("SIGINT"):(this.rl.close(),process.kill(process.pid,"SIGINT"))}))}realStop(){process.platform!=="win32"&&(this.rl.close(),this.rl=void 0)}},S0,D0=class{constructor(t){S0||(S0=new cS),typeof t=="string"&&(t={text:t}),this.options={text:"",color:"cyan",stream:process.stderr,discardStdin:!0,...t},this.spinner=this.options.spinner,this.color=this.options.color,this.hideCursor=this.options.hideCursor!==!1,this.interval=this.options.interval||this.spinner.interval||100,this.stream=this.options.stream,this.id=void 0,this.isEnabled=typeof this.options.isEnabled=="boolean"?this.options.isEnabled:Ble({stream:this.stream}),this.isSilent=typeof this.options.isSilent=="boolean"?this.options.isSilent:!1,this.text=this.options.text,this.prefixText=this.options.prefixText,this.linesToClear=0,this.indent=this.options.indent,this.discardStdin=this.options.discardStdin,this.isDiscardingStdin=!1}get indent(){return this._indent}set indent(t=0){if(!(t>=0&&Number.isInteger(t)))throw new Error("The `indent` option must be an integer from 0 and up");this._indent=t}_updateInterval(t){t!==void 0&&(this.interval=t)}get spinner(){return this._spinner}set spinner(t){if(this.frameIndex=0,typeof t=="object"){if(t.frames===void 0)throw new Error("The given spinner must have a `frames` property");this._spinner=t}else if(!Qle())this._spinner=x0.line;else if(t===void 0)this._spinner=x0.dots;else if(x0[t])this._spinner=x0[t];else throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json for a full list.`);this._updateInterval(this._spinner.interval)}get text(){return this[oS]}set text(t){this[oS]=t,this.updateLineCount()}get prefixText(){return this[aS]}set prefixText(t){this[aS]=t,this.updateLineCount()}get isSpinning(){return this.id!==void 0}getFullPrefixText(t=this[aS],r=" "){return typeof t=="string"?t+r:typeof t=="function"?t()+r:""}updateLineCount(){let t=this.stream.columns||80,r=this.getFullPrefixText(this.prefixText,"-");this.lineCount=0;for(let i of Ile(r+"--"+this[oS]).split(`
|
|
190
|
+
`);return s!==-1&&(t=Goe(t,n,i,s)),i+t+n},Yx,fq=(e,...t)=>{let[r]=t;if(!bC(r)||!bC(r.raw))return t.join(" ");let i=t.slice(1),n=[r.raw[0]];for(let s=1;s<r.length;s++)n.push(String(i[s-1]).replace(/[{}\\]/g,"\\$&"),String(r.raw[s]));return Yx===void 0&&(Yx=lq()),Yx(e,n.join(""))};Object.defineProperties(IC.prototype,CA);var BC=IC();BC.supportsColor=Wx;BC.stderr=IC({level:Jx?Jx.level:0});BC.stderr.supportsColor=Jx;gq.exports=BC});var Uo={};Du(Uo,{__addDisposableResource:()=>mG,__assign:()=>KC,__asyncDelegator:()=>uG,__asyncGenerator:()=>cG,__asyncValues:()=>lG,__await:()=>vA,__awaiter:()=>rG,__classPrivateFieldGet:()=>dG,__classPrivateFieldIn:()=>gG,__classPrivateFieldSet:()=>fG,__createBinding:()=>e0,__decorate:()=>W$,__disposeResources:()=>EG,__esDecorate:()=>Z$,__exportStar:()=>nG,__extends:()=>H$,__generator:()=>iG,__importDefault:()=>pG,__importStar:()=>AG,__makeTemplateObject:()=>hG,__metadata:()=>tG,__param:()=>J$,__propKey:()=>X$,__read:()=>BQ,__rest:()=>Y$,__rewriteRelativeImportExtension:()=>CG,__runInitializers:()=>K$,__setFunctionName:()=>eG,__spread:()=>sG,__spreadArray:()=>aG,__spreadArrays:()=>oG,__values:()=>XC,default:()=>ece});function H$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");IQ(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Y$(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}function W$(e,t,r,i){var n=arguments.length,s=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(n<3?o(s):n>3?o(t,r,s):o(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s}function J$(e,t){return function(r,i){t(r,i,e)}}function Z$(e,t,r,i,n,s){function o(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}for(var a=i.kind,u=a==="getter"?"get":a==="setter"?"set":"value",l=!t&&e?i.static?e:e.prototype:null,A=t||(l?Object.getOwnPropertyDescriptor(l,i.name):{}),h,d=!1,m=r.length-1;m>=0;m--){var g={};for(var E in i)g[E]=E==="access"?{}:i[E];for(var E in i.access)g.access[E]=i.access[E];g.addInitializer=function(w){if(d)throw new TypeError("Cannot add initializers after decoration has completed");s.push(o(w||null))};var y=(0,r[m])(a==="accessor"?{get:A.get,set:A.set}:A[u],g);if(a==="accessor"){if(y===void 0)continue;if(y===null||typeof y!="object")throw new TypeError("Object expected");(h=o(y.get))&&(A.get=h),(h=o(y.set))&&(A.set=h),(h=o(y.init))&&n.unshift(h)}else(h=o(y))&&(a==="field"?n.unshift(h):A[u]=h)}l&&Object.defineProperty(l,i.name,A),d=!0}function K$(e,t,r){for(var i=arguments.length>2,n=0;n<t.length;n++)r=i?t[n].call(e,r):t[n].call(e);return i?r:void 0}function X$(e){return typeof e=="symbol"?e:"".concat(e)}function eG(e,t,r){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function tG(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function rG(e,t,r,i){function n(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(A){try{l(i.next(A))}catch(h){o(h)}}function u(A){try{l(i.throw(A))}catch(h){o(h)}}function l(A){A.done?s(A.value):n(A.value).then(a,u)}l((i=i.apply(e,t||[])).next())})}function iG(e,t){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},i,n,s,o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(A){return u([l,A])}}function u(l){if(i)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(r=0)),r;)try{if(i=1,n&&(s=l[0]&2?n.return:l[0]?n.throw||((s=n.return)&&s.call(n),0):n.next)&&!(s=s.call(n,l[1])).done)return s;switch(n=0,s&&(l=[l[0]&2,s.value]),l[0]){case 0:case 1:s=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,n=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]<s[3])){r.label=l[1];break}if(l[0]===6&&r.label<s[1]){r.label=s[1],s=l;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(l);break}s[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(A){l=[6,A],n=0}finally{i=s=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function nG(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&e0(t,e,r)}function XC(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function BQ(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var i=r.call(e),n,s=[],o;try{for(;(t===void 0||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(a){o={error:a}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function sG(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(BQ(arguments[t]));return e}function oG(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var i=Array(e),n=0,t=0;t<r;t++)for(var s=arguments[t],o=0,a=s.length;o<a;o++,n++)i[n]=s[o];return i}function aG(e,t,r){if(r||arguments.length===2)for(var i=0,n=t.length,s;i<n;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return e.concat(s||Array.prototype.slice.call(t))}function vA(e){return this instanceof vA?(this.v=e,this):new vA(e)}function cG(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=r.apply(e,t||[]),n,s=[];return n=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",o),n[Symbol.asyncIterator]=function(){return this},n;function o(m){return function(g){return Promise.resolve(g).then(m,h)}}function a(m,g){i[m]&&(n[m]=function(E){return new Promise(function(y,w){s.push([m,E,y,w])>1||u(m,E)})},g&&(n[m]=g(n[m])))}function u(m,g){try{l(i[m](g))}catch(E){d(s[0][3],E)}}function l(m){m.value instanceof vA?Promise.resolve(m.value.v).then(A,h):d(s[0][2],m)}function A(m){u("next",m)}function h(m){u("throw",m)}function d(m,g){m(g),s.shift(),s.length&&u(s[0][0],s[0][1])}}function uG(e){var t,r;return t={},i("next"),i("throw",function(n){throw n}),i("return"),t[Symbol.iterator]=function(){return this},t;function i(n,s){t[n]=e[n]?function(o){return(r=!r)?{value:vA(e[n](o)),done:!1}:s?s(o):o}:s}}function lG(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof XC=="function"?XC(e):e[Symbol.iterator](),r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r);function i(s){r[s]=e[s]&&function(o){return new Promise(function(a,u){o=e[s](o),n(a,u,o.done,o.value)})}}function n(s,o,a,u){Promise.resolve(u).then(function(l){s({value:l,done:a})},o)}}function hG(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function AG(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=wQ(e),i=0;i<r.length;i++)r[i]!=="default"&&e0(t,e,r[i]);return Kae(t,e),t}function pG(e){return e&&e.__esModule?e:{default:e}}function dG(e,t,r,i){if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?i:r==="a"?i.call(e):i?i.value:t.get(e)}function fG(e,t,r,i,n){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!n)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?n.call(e,r):n?n.value=r:t.set(e,r),r}function gG(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function mG(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var i,n;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=t[Symbol.asyncDispose]}if(i===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=t[Symbol.dispose],r&&(n=i)}if(typeof i!="function")throw new TypeError("Object not disposable.");n&&(i=function(){try{n.call(this)}catch(s){return Promise.reject(s)}}),e.stack.push({value:t,dispose:i,async:r})}else r&&e.stack.push({async:!0});return t}function EG(e){function t(s){e.error=e.hasError?new Xae(s,e.error,"An error was suppressed during disposal."):s,e.hasError=!0}var r,i=0;function n(){for(;r=e.stack.pop();)try{if(!r.async&&i===1)return i=0,e.stack.push(r),Promise.resolve().then(n);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return i|=2,Promise.resolve(s).then(n,function(o){return t(o),n()})}else i|=1}catch(o){t(o)}if(i===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return n()}function CG(e,t){return typeof e=="string"&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,i,n,s,o){return i?t?".jsx":".js":n&&(!s||!o)?r:n+s+"."+o.toLowerCase()+"js"}):e}var IQ,KC,e0,Kae,wQ,Xae,ece,qo=jr(()=>{IQ=function(e,t){return IQ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},IQ(e,t)};KC=function(){return KC=Object.assign||function(t){for(var r,i=1,n=arguments.length;i<n;i++){r=arguments[i];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},KC.apply(this,arguments)};e0=Object.create?(function(e,t,r,i){i===void 0&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}):(function(e,t,r,i){i===void 0&&(i=r),e[i]=t[r]});Kae=Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t},wQ=function(e){return wQ=Object.getOwnPropertyNames||function(t){var r=[];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[r.length]=i);return r},wQ(e)};Xae=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var i=new Error(r);return i.name="SuppressedError",i.error=e,i.suppressed=t,i};ece={__extends:H$,__assign:KC,__rest:Y$,__decorate:W$,__param:J$,__esDecorate:Z$,__runInitializers:K$,__propKey:X$,__setFunctionName:eG,__metadata:tG,__awaiter:rG,__generator:iG,__createBinding:e0,__exportStar:nG,__values:XC,__read:BQ,__spread:sG,__spreadArrays:oG,__spreadArray:aG,__await:vA,__asyncGenerator:cG,__asyncDelegator:uG,__asyncValues:lG,__makeTemplateObject:hG,__importStar:AG,__importDefault:pG,__classPrivateFieldGet:dG,__classPrivateFieldSet:fG,__classPrivateFieldIn:gG,__addDisposableResource:mG,__disposeResources:EG,__rewriteRelativeImportExtension:CG}});var bG=X((oke,vQ)=>{"use strict";var yG=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};vQ.exports=yG;vQ.exports.default=yG});var wG=X((ake,r0)=>{"use strict";var tce=bG(),t0=new WeakMap,IG=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,i=0,n=e.displayName||e.name||"<anonymous>",s=function(...o){if(t0.set(s,++i),i===1)r=e.apply(this,o),e=null;else if(t.throw===!0)throw new Error(`Function \`${n}\` can only be called once`);return r};return tce(s,e),t0.set(s,i),s};r0.exports=IG;r0.exports.default=IG;r0.exports.callCount=e=>{if(!t0.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return t0.get(e)}});var BG=X((cke,i0)=>{i0.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&i0.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&i0.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var DG=X((uke,SA)=>{var Gr=global.process,hl=function(e){return e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function"};hl(Gr)?(vG=require("assert"),xA=BG(),xG=/^win/i.test(Gr.platform),If=require("events"),typeof If!="function"&&(If=If.EventEmitter),Gr.__signal_exit_emitter__?Ri=Gr.__signal_exit_emitter__:(Ri=Gr.__signal_exit_emitter__=new If,Ri.count=0,Ri.emitted={}),Ri.infinite||(Ri.setMaxListeners(1/0),Ri.infinite=!0),SA.exports=function(e,t){if(!hl(global.process))return function(){};vG.equal(typeof e,"function","a callback must be provided for exit handler"),QA===!1&&xQ();var r="exit";t&&t.alwaysLast&&(r="afterexit");var i=function(){Ri.removeListener(r,e),Ri.listeners("exit").length===0&&Ri.listeners("afterexit").length===0&&n0()};return Ri.on(r,e),i},n0=function(){!QA||!hl(global.process)||(QA=!1,xA.forEach(function(t){try{Gr.removeListener(t,s0[t])}catch{}}),Gr.emit=o0,Gr.reallyExit=QQ,Ri.count-=1)},SA.exports.unload=n0,Al=function(t,r,i){Ri.emitted[t]||(Ri.emitted[t]=!0,Ri.emit(t,r,i))},s0={},xA.forEach(function(e){s0[e]=function(){if(hl(global.process)){var r=Gr.listeners(e);r.length===Ri.count&&(n0(),Al("exit",null,e),Al("afterexit",null,e),xG&&e==="SIGHUP"&&(e="SIGINT"),Gr.kill(Gr.pid,e))}}}),SA.exports.signals=function(){return xA},QA=!1,xQ=function(){QA||!hl(global.process)||(QA=!0,Ri.count+=1,xA=xA.filter(function(t){try{return Gr.on(t,s0[t]),!0}catch{return!1}}),Gr.emit=SG,Gr.reallyExit=QG)},SA.exports.load=xQ,QQ=Gr.reallyExit,QG=function(t){hl(global.process)&&(Gr.exitCode=t||0,Al("exit",Gr.exitCode,null),Al("afterexit",Gr.exitCode,null),QQ.call(Gr,Gr.exitCode))},o0=Gr.emit,SG=function(t,r){if(t==="exit"&&hl(global.process)){r!==void 0&&(Gr.exitCode=r);var i=o0.apply(this,arguments);return Al("exit",Gr.exitCode,null),Al("afterexit",Gr.exitCode,null),i}else return o0.apply(this,arguments)}):SA.exports=function(){return function(){}};var vG,xA,xG,If,Ri,n0,Al,s0,QA,xQ,QQ,QG,o0,SG});var RG=X((lke,kG)=>{"use strict";var rce=wG(),ice=DG();kG.exports=rce(()=>{ice(()=>{process.stderr.write("\x1B[?25h")},{alwaysLast:!0})})});var _G=X(DA=>{"use strict";var nce=RG(),a0=!1;DA.show=(e=process.stderr)=>{e.isTTY&&(a0=!1,e.write("\x1B[?25h"))};DA.hide=(e=process.stderr)=>{e.isTTY&&(nce(),a0=!0,e.write("\x1B[?25l"))};DA.toggle=(e,t)=>{e!==void 0&&(a0=e),a0?DA.show(t):DA.hide(t)}});var TG=X((Ake,sce)=>{sce.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots13:{interval:80,frames:["\u28FC","\u28F9","\u28BB","\u283F","\u285F","\u28CF","\u28E7","\u28F6"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},sand:{interval:80,frames:["\u2801","\u2802","\u2804","\u2840","\u2848","\u2850","\u2860","\u28C0","\u28C1","\u28C2","\u28C4","\u28CC","\u28D4","\u28E4","\u28E5","\u28E6","\u28EE","\u28F6","\u28F7","\u28FF","\u287F","\u283F","\u289F","\u281F","\u285B","\u281B","\u282B","\u288B","\u280B","\u280D","\u2849","\u2809","\u2811","\u2821","\u2881"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},binary:{interval:80,frames:["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]},dwarfFortress:{interval:80,frames:[" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A \u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A \xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A \xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\u2593\xA3 "," \u263A\u2593\xA3 "," \u263A\u2592\xA3 "," \u263A\u2592\xA3 "," \u263A\u2591\xA3 "," \u263A\u2591\xA3 "," \u263A \xA3 "," \u263A\xA3 "," \u263A\xA3 "," \u263A\u2593 "," \u263A\u2593 "," \u263A\u2592 "," \u263A\u2592 "," \u263A\u2591 "," \u263A\u2591 "," \u263A "," \u263A &"," \u263A \u263C&"," \u263A \u263C &"," \u263A\u263C &"," \u263A\u263C & "," \u203C & "," \u263A & "," \u203C & "," \u263A & "," \u203C & "," \u263A & ","\u203C & "," & "," & "," & \u2591 "," & \u2592 "," & \u2593 "," & \xA3 "," & \u2591\xA3 "," & \u2592\xA3 "," & \u2593\xA3 "," & \xA3\xA3 "," & \u2591\xA3\xA3 "," & \u2592\xA3\xA3 ","& \u2593\xA3\xA3 ","& \xA3\xA3\xA3 "," \u2591\xA3\xA3\xA3 "," \u2592\xA3\xA3\xA3 "," \u2593\xA3\xA3\xA3 "," \u2588\xA3\xA3\xA3 "," \u2591\u2588\xA3\xA3\xA3 "," \u2592\u2588\xA3\xA3\xA3 "," \u2593\u2588\xA3\xA3\xA3 "," \u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "]}}});var LG=X((pke,NG)=>{"use strict";var c0=Object.assign({},TG()),FG=Object.keys(c0);Object.defineProperty(c0,"random",{get(){let e=Math.floor(Math.random()*FG.length),t=FG[e];return c0[t]}});NG.exports=c0});var OG=X((dke,MG)=>{"use strict";MG.exports=()=>process.platform!=="win32"?!0:!!process.env.CI||!!process.env.WT_SESSION||process.env.TERM_PROGRAM==="vscode"||process.env.TERM==="xterm-256color"||process.env.TERM==="alacritty"});var UG=X((fke,PG)=>{"use strict";var zc=cl(),oce=OG(),ace={info:zc.blue("\u2139"),success:zc.green("\u2714"),warning:zc.yellow("\u26A0"),error:zc.red("\u2716")},cce={info:zc.blue("i"),success:zc.green("\u221A"),warning:zc.yellow("\u203C"),error:zc.red("\xD7")};PG.exports=oce()?ace:cce});var VG=X((gke,qG)=>{"use strict";qG.exports=({onlyFirst:e=!1}={})=>{let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}});var $a=X((mke,$G)=>{"use strict";var uce=VG();$G.exports=e=>typeof e=="string"?e.replace(uce(),""):e});var GG=X((Eke,u0)=>{var lce=(function(){"use strict";function e(o,a,u,l){var A;typeof a=="object"&&(u=a.depth,l=a.prototype,A=a.filter,a=a.circular);var h=[],d=[],m=typeof Buffer<"u";typeof a>"u"&&(a=!0),typeof u>"u"&&(u=1/0);function g(E,y){if(E===null)return null;if(y==0)return E;var w,R;if(typeof E!="object")return E;if(e.__isArray(E))w=[];else if(e.__isRegExp(E))w=new RegExp(E.source,s(E)),E.lastIndex&&(w.lastIndex=E.lastIndex);else if(e.__isDate(E))w=new Date(E.getTime());else{if(m&&Buffer.isBuffer(E))return Buffer.allocUnsafe?w=Buffer.allocUnsafe(E.length):w=new Buffer(E.length),E.copy(w),w;typeof l>"u"?(R=Object.getPrototypeOf(E),w=Object.create(R)):(w=Object.create(l),R=l)}if(a){var S=h.indexOf(E);if(S!=-1)return d[S];h.push(E),d.push(w)}for(var F in E){var q;R&&(q=Object.getOwnPropertyDescriptor(R,F)),!(q&&q.set==null)&&(w[F]=g(E[F],y-1))}return w}return g(o,u)}e.clonePrototype=function(a){if(a===null)return null;var u=function(){};return u.prototype=a,new u};function t(o){return Object.prototype.toString.call(o)}e.__objToStr=t;function r(o){return typeof o=="object"&&t(o)==="[object Date]"}e.__isDate=r;function i(o){return typeof o=="object"&&t(o)==="[object Array]"}e.__isArray=i;function n(o){return typeof o=="object"&&t(o)==="[object RegExp]"}e.__isRegExp=n;function s(o){var a="";return o.global&&(a+="g"),o.ignoreCase&&(a+="i"),o.multiline&&(a+="m"),a}return e.__getRegExpFlags=s,e})();typeof u0=="object"&&u0.exports&&(u0.exports=lce)});var zG=X((Cke,jG)=>{var hce=GG();jG.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(r){typeof e[r]>"u"&&(e[r]=hce(t[r]))}),e}});var YG=X((yke,HG)=>{HG.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]});var KG=X((bke,SQ)=>{"use strict";var Ace=zG(),wf=YG(),JG={nul:0,control:0};SQ.exports=function(t){return ZG(t,JG)};SQ.exports.config=function(e){return e=Ace(e||{},JG),function(r){return ZG(r,e)}};function ZG(e,t){if(typeof e!="string")return WG(e,t);for(var r=0,i=0;i<e.length;i++){var n=WG(e.charCodeAt(i),t);if(n<0)return-1;r+=n}return r}function WG(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:pce(e)?0:1+(e>=4352&&(e<=4447||e==9001||e==9002||e>=11904&&e<=42191&&e!=12351||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=196605||e>=196608&&e<=262141))}function pce(e){var t=0,r=wf.length-1,i;if(e<wf[0][0]||e>wf[r][1])return!1;for(;r>=t;)if(i=Math.floor((t+r)/2),e>wf[i][1])t=i+1;else if(e<wf[i][0])r=i-1;else return!0;return!1}});var ej=X((Ike,XG)=>{"use strict";XG.exports=({stream:e=process.stdout}={})=>!!(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))});var DQ=X((wke,tj)=>{tj.exports=require("stream")});var aj=X((Bke,oj)=>{"use strict";function rj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,i)}return r}function ij(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?rj(Object(r),!0).forEach(function(i){dce(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rj(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function dce(e,t,r){return t=sj(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nj(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,sj(i.key),i)}}function gce(e,t,r){return t&&nj(e.prototype,t),r&&nj(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function sj(e){var t=mce(e,"string");return typeof t=="symbol"?t:String(t)}function mce(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ece=require("buffer"),l0=Ece.Buffer,Cce=require("util"),kQ=Cce.inspect,yce=kQ&&kQ.custom||"inspect";function bce(e,t,r){l0.prototype.copy.call(e,t,r)}oj.exports=(function(){function e(){fce(this,e),this.head=null,this.tail=null,this.length=0}return gce(e,[{key:"push",value:function(r){var i={data:r,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length}},{key:"unshift",value:function(r){var i={data:r,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var i=this.head,n=""+i.data;i=i.next;)n+=r+i.data;return n}},{key:"concat",value:function(r){if(this.length===0)return l0.alloc(0);for(var i=l0.allocUnsafe(r>>>0),n=this.head,s=0;n;)bce(n.data,i,s),s+=n.data.length,n=n.next;return i}},{key:"consume",value:function(r,i){var n;return r<this.head.data.length?(n=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?n=this.shift():n=i?this._getString(r):this._getBuffer(r),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var i=this.head,n=1,s=i.data;for(r-=s.length;i=i.next;){var o=i.data,a=r>o.length?o.length:r;if(a===o.length?s+=o:s+=o.slice(0,r),r-=a,r===0){a===o.length?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=o.slice(a));break}++n}return this.length-=n,s}},{key:"_getBuffer",value:function(r){var i=l0.allocUnsafe(r),n=this.head,s=1;for(n.data.copy(i),r-=n.data.length;n=n.next;){var o=n.data,a=r>o.length?o.length:r;if(o.copy(i,i.length-r,0,a),r-=a,r===0){a===o.length?(++s,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(a));break}++s}return this.length-=s,i}},{key:yce,value:function(r,i){return kQ(this,ij(ij({},i),{},{depth:0,customInspect:!1}))}}]),e})()});var _Q=X((vke,uj)=>{"use strict";function Ice(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return i||n?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(RQ,this,e)):process.nextTick(RQ,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(s){!t&&s?r._writableState?r._writableState.errorEmitted?process.nextTick(h0,r):(r._writableState.errorEmitted=!0,process.nextTick(cj,r,s)):process.nextTick(cj,r,s):t?(process.nextTick(h0,r),t(s)):process.nextTick(h0,r)}),this)}function cj(e,t){RQ(e,t),h0(e)}function h0(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function wce(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function RQ(e,t){e.emit("error",t)}function Bce(e,t){var r=e._readableState,i=e._writableState;r&&r.autoDestroy||i&&i.autoDestroy?e.destroy(t):e.emit("error",t)}uj.exports={destroy:Ice,undestroy:wce,errorOrDestroy:Bce}});var Hc=X((xke,Aj)=>{"use strict";var hj={};function xs(e,t,r){r||(r=Error);function i(s,o,a){return typeof t=="string"?t:t(s,o,a)}class n extends r{constructor(o,a,u){super(i(o,a,u))}}n.prototype.name=r.name,n.prototype.code=e,hj[e]=n}function lj(e,t){if(Array.isArray(e)){let r=e.length;return e=e.map(i=>String(i)),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:r===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}else return`of ${t} ${String(e)}`}function vce(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function xce(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function Qce(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}xs("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);xs("ERR_INVALID_ARG_TYPE",function(e,t,r){let i;typeof t=="string"&&vce(t,"not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";let n;if(xce(e," argument"))n=`The ${e} ${i} ${lj(t,"type")}`;else{let s=Qce(e,".")?"property":"argument";n=`The "${e}" ${s} ${i} ${lj(t,"type")}`}return n+=`. Received type ${typeof r}`,n},TypeError);xs("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");xs("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});xs("ERR_STREAM_PREMATURE_CLOSE","Premature close");xs("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});xs("ERR_MULTIPLE_CALLBACK","Callback called multiple times");xs("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");xs("ERR_STREAM_WRITE_AFTER_END","write after end");xs("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);xs("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);xs("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Aj.exports.codes=hj});var TQ=X((Qke,pj)=>{"use strict";var Sce=Hc().codes.ERR_INVALID_OPT_VALUE;function Dce(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function kce(e,t,r,i){var n=Dce(t,i,r);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var s=i?r:"highWaterMark";throw new Sce(s,n)}return Math.floor(n)}return e.objectMode?16:16*1024}pj.exports={getHighWaterMark:kce}});var dj=X((Ske,FQ)=>{typeof Object.create=="function"?FQ.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:FQ.exports=function(t,r){if(r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t}}});var pl=X((Dke,LQ)=>{try{if(NQ=require("util"),typeof NQ.inherits!="function")throw"";LQ.exports=NQ.inherits}catch{LQ.exports=dj()}var NQ});var gj=X((kke,fj)=>{fj.exports=require("util").deprecate});var PQ=X((Rke,Ij)=>{"use strict";Ij.exports=Kr;function Ej(e){var t=this;this.next=null,this.entry=null,this.finish=function(){iue(t,e)}}var kA;Kr.WritableState=vf;var Rce={deprecate:gj()},Cj=DQ(),p0=require("buffer").Buffer,_ce=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Tce(e){return p0.from(e)}function Fce(e){return p0.isBuffer(e)||e instanceof _ce}var OQ=_Q(),Nce=TQ(),Lce=Nce.getHighWaterMark,Yc=Hc().codes,Mce=Yc.ERR_INVALID_ARG_TYPE,Oce=Yc.ERR_METHOD_NOT_IMPLEMENTED,Pce=Yc.ERR_MULTIPLE_CALLBACK,Uce=Yc.ERR_STREAM_CANNOT_PIPE,qce=Yc.ERR_STREAM_DESTROYED,Vce=Yc.ERR_STREAM_NULL_VALUES,$ce=Yc.ERR_STREAM_WRITE_AFTER_END,Gce=Yc.ERR_UNKNOWN_ENCODING,RA=OQ.errorOrDestroy;pl()(Kr,Cj);function jce(){}function vf(e,t,r){kA=kA||dl(),e=e||{},typeof r!="boolean"&&(r=t instanceof kA),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=Lce(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=e.decodeStrings===!1;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(n){Kce(t,n)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Ej(this)}vf.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(vf.prototype,"buffer",{get:Rce.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var A0;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(A0=Function.prototype[Symbol.hasInstance],Object.defineProperty(Kr,Symbol.hasInstance,{value:function(t){return A0.call(this,t)?!0:this!==Kr?!1:t&&t._writableState instanceof vf}})):A0=function(t){return t instanceof this};function Kr(e){kA=kA||dl();var t=this instanceof kA;if(!t&&!A0.call(Kr,this))return new Kr(e);this._writableState=new vf(e,this,t),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),Cj.call(this)}Kr.prototype.pipe=function(){RA(this,new Uce)};function zce(e,t){var r=new $ce;RA(e,r),process.nextTick(t,r)}function Hce(e,t,r,i){var n;return r===null?n=new Vce:typeof r!="string"&&!t.objectMode&&(n=new Mce("chunk",["string","Buffer"],r)),n?(RA(e,n),process.nextTick(i,n),!1):!0}Kr.prototype.write=function(e,t,r){var i=this._writableState,n=!1,s=!i.objectMode&&Fce(e);return s&&!p0.isBuffer(e)&&(e=Tce(e)),typeof t=="function"&&(r=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),typeof r!="function"&&(r=jce),i.ending?zce(this,r):(s||Hce(this,i,e,r))&&(i.pendingcb++,n=Wce(this,i,s,e,t,r)),n};Kr.prototype.cork=function(){this._writableState.corked++};Kr.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&yj(this,e))};Kr.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new Gce(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(Kr.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Yce(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=p0.from(t,r)),t}Object.defineProperty(Kr.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Wce(e,t,r,i,n,s){if(!r){var o=Yce(t,i,n);i!==o&&(r=!0,n="buffer",i=o)}var a=t.objectMode?1:i.length;t.length+=a;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:i,encoding:n,isBuf:r,callback:s,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else MQ(e,t,!1,a,i,n,s);return u}function MQ(e,t,r,i,n,s,o){t.writelen=i,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new qce("write")):r?e._writev(n,t.onwrite):e._write(n,s,t.onwrite),t.sync=!1}function Jce(e,t,r,i,n){--t.pendingcb,r?(process.nextTick(n,i),process.nextTick(Bf,e,t),e._writableState.errorEmitted=!0,RA(e,i)):(n(i),e._writableState.errorEmitted=!0,RA(e,i),Bf(e,t))}function Zce(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function Kce(e,t){var r=e._writableState,i=r.sync,n=r.writecb;if(typeof n!="function")throw new Pce;if(Zce(r),t)Jce(e,r,i,t,n);else{var s=bj(r)||e.destroyed;!s&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&yj(e,r),i?process.nextTick(mj,e,r,s,n):mj(e,r,s,n)}}function mj(e,t,r,i){r||Xce(e,t),t.pendingcb--,i(),Bf(e,t)}function Xce(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function yj(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,n=new Array(i),s=t.corkedRequestsFree;s.entry=r;for(var o=0,a=!0;r;)n[o]=r,r.isBuf||(a=!1),r=r.next,o+=1;n.allBuffers=a,MQ(e,t,!0,t.length,n,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new Ej(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,A=r.callback,h=t.objectMode?1:u.length;if(MQ(e,t,!1,h,u,l,A),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}Kr.prototype._write=function(e,t,r){r(new Oce("_write()"))};Kr.prototype._writev=null;Kr.prototype.end=function(e,t,r){var i=this._writableState;return typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null),e!=null&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||rue(this,i,r),this};Object.defineProperty(Kr.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function bj(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function eue(e,t){e._final(function(r){t.pendingcb--,r&&RA(e,r),t.prefinished=!0,e.emit("prefinish"),Bf(e,t)})}function tue(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(eue,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function Bf(e,t){var r=bj(t);if(r&&(tue(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}function rue(e,t,r){t.ending=!0,Bf(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function iue(e,t,r){var i=e.entry;for(e.entry=null;i;){var n=i.callback;t.pendingcb--,n(r),i=i.next}t.corkedRequestsFree.next=e}Object.defineProperty(Kr.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}});Kr.prototype.destroy=OQ.destroy;Kr.prototype._undestroy=OQ.undestroy;Kr.prototype._destroy=function(e,t){t(e)}});var dl=X((_ke,Bj)=>{"use strict";var nue=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};Bj.exports=Vo;var wj=VQ(),qQ=PQ();pl()(Vo,wj);for(UQ=nue(qQ.prototype),d0=0;d0<UQ.length;d0++)f0=UQ[d0],Vo.prototype[f0]||(Vo.prototype[f0]=qQ.prototype[f0]);var UQ,f0,d0;function Vo(e){if(!(this instanceof Vo))return new Vo(e);wj.call(this,e),qQ.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",sue)))}Object.defineProperty(Vo.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(Vo.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(Vo.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function sue(){this._writableState.ended||process.nextTick(oue,this)}function oue(e){e.end()}Object.defineProperty(Vo.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(t){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=t,this._writableState.destroyed=t)}})});var Qj=X(($Q,xj)=>{var g0=require("buffer"),$o=g0.Buffer;function vj(e,t){for(var r in e)t[r]=e[r]}$o.from&&$o.alloc&&$o.allocUnsafe&&$o.allocUnsafeSlow?xj.exports=g0:(vj(g0,$Q),$Q.Buffer=fl);function fl(e,t,r){return $o(e,t,r)}fl.prototype=Object.create($o.prototype);vj($o,fl);fl.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return $o(e,t,r)};fl.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var i=$o(e);return t!==void 0?typeof r=="string"?i.fill(t,r):i.fill(t):i.fill(0),i};fl.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return $o(e)};fl.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return g0.SlowBuffer(e)}});var zQ=X(Dj=>{"use strict";var jQ=Qj().Buffer,Sj=jQ.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function aue(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function cue(e){var t=aue(e);if(typeof t!="string"&&(jQ.isEncoding===Sj||!Sj(e)))throw new Error("Unknown encoding: "+e);return t||e}Dj.StringDecoder=xf;function xf(e){this.encoding=cue(e);var t;switch(this.encoding){case"utf16le":this.text=due,this.end=fue,t=4;break;case"utf8":this.fillLast=hue,t=4;break;case"base64":this.text=gue,this.end=mue,t=3;break;default:this.write=Eue,this.end=Cue;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=jQ.allocUnsafe(t)}xf.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""};xf.prototype.end=pue;xf.prototype.text=Aue;xf.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function GQ(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function uue(e,t,r){var i=t.length-1;if(i<r)return 0;var n=GQ(t[i]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--i<r||n===-2?0:(n=GQ(t[i]),n>=0?(n>0&&(e.lastNeed=n-2),n):--i<r||n===-2?0:(n=GQ(t[i]),n>=0?(n>0&&(n===2?n=0:e.lastNeed=n-3),n):0))}function lue(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"\uFFFD";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"\uFFFD";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"\uFFFD"}}function hue(e){var t=this.lastTotal-this.lastNeed,r=lue(this,e,t);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function Aue(e,t){var r=uue(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function pue(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function due(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var i=r.charCodeAt(r.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function fue(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function gue(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function mue(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function Eue(e){return e.toString(this.encoding)}function Cue(e){return e&&e.length?this.write(e):""}});var m0=X((Fke,_j)=>{"use strict";var kj=Hc().codes.ERR_STREAM_PREMATURE_CLOSE;function yue(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,i=new Array(r),n=0;n<r;n++)i[n]=arguments[n];e.apply(this,i)}}}function bue(){}function Iue(e){return e.setHeader&&typeof e.abort=="function"}function Rj(e,t,r){if(typeof t=="function")return Rj(e,null,t);t||(t={}),r=yue(r||bue);var i=t.readable||t.readable!==!1&&e.readable,n=t.writable||t.writable!==!1&&e.writable,s=function(){e.writable||a()},o=e._writableState&&e._writableState.finished,a=function(){n=!1,o=!0,i||r.call(e)},u=e._readableState&&e._readableState.endEmitted,l=function(){i=!1,u=!0,n||r.call(e)},A=function(g){r.call(e,g)},h=function(){var g;if(i&&!u)return(!e._readableState||!e._readableState.ended)&&(g=new kj),r.call(e,g);if(n&&!o)return(!e._writableState||!e._writableState.ended)&&(g=new kj),r.call(e,g)},d=function(){e.req.on("finish",a)};return Iue(e)?(e.on("complete",a),e.on("abort",h),e.req?d():e.on("request",d)):n&&!e._writableState&&(e.on("end",s),e.on("close",s)),e.on("end",l),e.on("finish",a),t.error!==!1&&e.on("error",A),e.on("close",h),function(){e.removeListener("complete",a),e.removeListener("abort",h),e.removeListener("request",d),e.req&&e.req.removeListener("finish",a),e.removeListener("end",s),e.removeListener("close",s),e.removeListener("finish",a),e.removeListener("end",l),e.removeListener("error",A),e.removeListener("close",h)}}_j.exports=Rj});var Fj=X((Nke,Tj)=>{"use strict";var E0;function Wc(e,t,r){return t=wue(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wue(e){var t=Bue(e,"string");return typeof t=="symbol"?t:String(t)}function Bue(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var vue=m0(),Jc=Symbol("lastResolve"),gl=Symbol("lastReject"),Qf=Symbol("error"),C0=Symbol("ended"),ml=Symbol("lastPromise"),HQ=Symbol("handlePromise"),El=Symbol("stream");function Zc(e,t){return{value:e,done:t}}function xue(e){var t=e[Jc];if(t!==null){var r=e[El].read();r!==null&&(e[ml]=null,e[Jc]=null,e[gl]=null,t(Zc(r,!1)))}}function Que(e){process.nextTick(xue,e)}function Sue(e,t){return function(r,i){e.then(function(){if(t[C0]){r(Zc(void 0,!0));return}t[HQ](r,i)},i)}}var Due=Object.getPrototypeOf(function(){}),kue=Object.setPrototypeOf((E0={get stream(){return this[El]},next:function(){var t=this,r=this[Qf];if(r!==null)return Promise.reject(r);if(this[C0])return Promise.resolve(Zc(void 0,!0));if(this[El].destroyed)return new Promise(function(o,a){process.nextTick(function(){t[Qf]?a(t[Qf]):o(Zc(void 0,!0))})});var i=this[ml],n;if(i)n=new Promise(Sue(i,this));else{var s=this[El].read();if(s!==null)return Promise.resolve(Zc(s,!1));n=new Promise(this[HQ])}return this[ml]=n,n}},Wc(E0,Symbol.asyncIterator,function(){return this}),Wc(E0,"return",function(){var t=this;return new Promise(function(r,i){t[El].destroy(null,function(n){if(n){i(n);return}r(Zc(void 0,!0))})})}),E0),Due),Rue=function(t){var r,i=Object.create(kue,(r={},Wc(r,El,{value:t,writable:!0}),Wc(r,Jc,{value:null,writable:!0}),Wc(r,gl,{value:null,writable:!0}),Wc(r,Qf,{value:null,writable:!0}),Wc(r,C0,{value:t._readableState.endEmitted,writable:!0}),Wc(r,HQ,{value:function(s,o){var a=i[El].read();a?(i[ml]=null,i[Jc]=null,i[gl]=null,s(Zc(a,!1))):(i[Jc]=s,i[gl]=o)},writable:!0}),r));return i[ml]=null,vue(t,function(n){if(n&&n.code!=="ERR_STREAM_PREMATURE_CLOSE"){var s=i[gl];s!==null&&(i[ml]=null,i[Jc]=null,i[gl]=null,s(n)),i[Qf]=n;return}var o=i[Jc];o!==null&&(i[ml]=null,i[Jc]=null,i[gl]=null,o(Zc(void 0,!0))),i[C0]=!0}),t.on("readable",Que.bind(null,i)),i};Tj.exports=Rue});var Oj=X((Lke,Mj)=>{"use strict";function Nj(e,t,r,i,n,s,o){try{var a=e[s](o),u=a.value}catch(l){r(l);return}a.done?t(u):Promise.resolve(u).then(i,n)}function _ue(e){return function(){var t=this,r=arguments;return new Promise(function(i,n){var s=e.apply(t,r);function o(u){Nj(s,i,n,o,a,"next",u)}function a(u){Nj(s,i,n,o,a,"throw",u)}o(void 0)})}}function Lj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,i)}return r}function Tue(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Lj(Object(r),!0).forEach(function(i){Fue(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lj(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function Fue(e,t,r){return t=Nue(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nue(e){var t=Lue(e,"string");return typeof t=="symbol"?t:String(t)}function Lue(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Mue=Hc().codes.ERR_INVALID_ARG_TYPE;function Oue(e,t,r){var i;if(t&&typeof t.next=="function")i=t;else if(t&&t[Symbol.asyncIterator])i=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])i=t[Symbol.iterator]();else throw new Mue("iterable",["Iterable"],t);var n=new e(Tue({objectMode:!0},r)),s=!1;n._read=function(){s||(s=!0,o())};function o(){return a.apply(this,arguments)}function a(){return a=_ue(function*(){try{var u=yield i.next(),l=u.value,A=u.done;A?n.push(null):n.push(yield l)?o():s=!1}catch(h){n.destroy(h)}}),a.apply(this,arguments)}return n}Mj.exports=Oue});var VQ=X((Oke,Yj)=>{"use strict";Yj.exports=pr;var _A;pr.ReadableState=Vj;var Mke=require("events").EventEmitter,qj=function(t,r){return t.listeners(r).length},Df=DQ(),y0=require("buffer").Buffer,Pue=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Uue(e){return y0.from(e)}function que(e){return y0.isBuffer(e)||e instanceof Pue}var YQ=require("util"),Xt;YQ&&YQ.debuglog?Xt=YQ.debuglog("stream"):Xt=function(){};var Vue=aj(),t1=_Q(),$ue=TQ(),Gue=$ue.getHighWaterMark,b0=Hc().codes,jue=b0.ERR_INVALID_ARG_TYPE,zue=b0.ERR_STREAM_PUSH_AFTER_EOF,Hue=b0.ERR_METHOD_NOT_IMPLEMENTED,Yue=b0.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,TA,WQ,JQ;pl()(pr,Df);var Sf=t1.errorOrDestroy,ZQ=["error","close","destroy","pause","resume"];function Wue(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function Vj(e,t,r){_A=_A||dl(),e=e||{},typeof r!="boolean"&&(r=t instanceof _A),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=Gue(this,e,"readableHighWaterMark",r),this.buffer=new Vue,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(TA||(TA=zQ().StringDecoder),this.decoder=new TA(e.encoding),this.encoding=e.encoding)}function pr(e){if(_A=_A||dl(),!(this instanceof pr))return new pr(e);var t=this instanceof _A;this._readableState=new Vj(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Df.call(this)}Object.defineProperty(pr.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}});pr.prototype.destroy=t1.destroy;pr.prototype._undestroy=t1.undestroy;pr.prototype._destroy=function(e,t){t(e)};pr.prototype.push=function(e,t){var r=this._readableState,i;return r.objectMode?i=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=y0.from(e,t),t=""),i=!0),$j(this,e,t,!1,i)};pr.prototype.unshift=function(e){return $j(this,e,null,!0,!1)};function $j(e,t,r,i,n){Xt("readableAddChunk",t);var s=e._readableState;if(t===null)s.reading=!1,Kue(e,s);else{var o;if(n||(o=Jue(s,t)),o)Sf(e,o);else if(s.objectMode||t&&t.length>0)if(typeof t!="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==y0.prototype&&(t=Uue(t)),i)s.endEmitted?Sf(e,new Yue):KQ(e,s,t,!0);else if(s.ended)Sf(e,new zue);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||t.length!==0?KQ(e,s,t,!1):e1(e,s)):KQ(e,s,t,!1)}else i||(s.reading=!1,e1(e,s))}return!s.ended&&(s.length<s.highWaterMark||s.length===0)}function KQ(e,t,r,i){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&I0(e)),e1(e,t)}function Jue(e,t){var r;return!que(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new jue("chunk",["string","Buffer","Uint8Array"],t)),r}pr.prototype.isPaused=function(){return this._readableState.flowing===!1};pr.prototype.setEncoding=function(e){TA||(TA=zQ().StringDecoder);var t=new TA(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";r!==null;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),i!==""&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var Pj=1073741824;function Zue(e){return e>=Pj?e=Pj:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Uj(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=Zue(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}pr.prototype.read=function(e){Xt("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended))return Xt("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?XQ(this):I0(this),null;if(e=Uj(e,t),e===0&&t.ended)return t.length===0&&XQ(this),null;var i=t.needReadable;Xt("need readable",i),(t.length===0||t.length-e<t.highWaterMark)&&(i=!0,Xt("length less than watermark",i)),t.ended||t.reading?(i=!1,Xt("reading or ended",i)):i&&(Xt("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Uj(r,t)));var n;return e>0?n=zj(e,t):n=null,n===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&XQ(this)),n!==null&&this.emit("data",n),n};function Kue(e,t){if(Xt("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?I0(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Gj(e)))}}function I0(e){var t=e._readableState;Xt("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(Xt("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(Gj,e))}function Gj(e){var t=e._readableState;Xt("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,r1(e)}function e1(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(Xue,e,t))}function Xue(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(Xt("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}pr.prototype._read=function(e){Sf(this,new Hue("_read()"))};pr.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,Xt("pipe count=%d opts=%j",i.pipesCount,t);var n=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,s=n?a:E;i.endEmitted?process.nextTick(s):r.once("end",s),e.on("unpipe",o);function o(y,w){Xt("onunpipe"),y===r&&w&&w.hasUnpiped===!1&&(w.hasUnpiped=!0,A())}function a(){Xt("onend"),e.end()}var u=ele(r);e.on("drain",u);var l=!1;function A(){Xt("cleanup"),e.removeListener("close",m),e.removeListener("finish",g),e.removeListener("drain",u),e.removeListener("error",d),e.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",E),r.removeListener("data",h),l=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u()}r.on("data",h);function h(y){Xt("ondata");var w=e.write(y);Xt("dest.write",w),w===!1&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&Hj(i.pipes,e)!==-1)&&!l&&(Xt("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function d(y){Xt("onerror",y),E(),e.removeListener("error",d),qj(e,"error")===0&&Sf(e,y)}Wue(e,"error",d);function m(){e.removeListener("finish",g),E()}e.once("close",m);function g(){Xt("onfinish"),e.removeListener("close",m),E()}e.once("finish",g);function E(){Xt("unpipe"),r.unpipe(e)}return e.emit("pipe",r),i.flowing||(Xt("pipe resume"),r.resume()),e};function ele(e){return function(){var r=e._readableState;Xt("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&qj(e,"data")&&(r.flowing=!0,r1(e))}}pr.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var i=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<n;s++)i[s].emit("unpipe",this,{hasUnpiped:!1});return this}var o=Hj(t.pipes,e);return o===-1?this:(t.pipes.splice(o,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};pr.prototype.on=function(e,t){var r=Df.prototype.on.call(this,e,t),i=this._readableState;return e==="data"?(i.readableListening=this.listenerCount("readable")>0,i.flowing!==!1&&this.resume()):e==="readable"&&!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,Xt("on readable",i.length,i.reading),i.length?I0(this):i.reading||process.nextTick(tle,this)),r};pr.prototype.addListener=pr.prototype.on;pr.prototype.removeListener=function(e,t){var r=Df.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(jj,this),r};pr.prototype.removeAllListeners=function(e){var t=Df.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(jj,this),t};function jj(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function tle(e){Xt("readable nexttick read 0"),e.read(0)}pr.prototype.resume=function(){var e=this._readableState;return e.flowing||(Xt("resume"),e.flowing=!e.readableListening,rle(this,e)),e.paused=!1,this};function rle(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(ile,e,t))}function ile(e,t){Xt("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),r1(e),t.flowing&&!t.reading&&e.read(0)}pr.prototype.pause=function(){return Xt("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(Xt("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function r1(e){var t=e._readableState;for(Xt("flow",t.flowing);t.flowing&&e.read()!==null;);}pr.prototype.wrap=function(e){var t=this,r=this._readableState,i=!1;e.on("end",function(){if(Xt("wrapped end"),r.decoder&&!r.ended){var o=r.decoder.end();o&&o.length&&t.push(o)}t.push(null)}),e.on("data",function(o){if(Xt("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!(r.objectMode&&o==null)&&!(!r.objectMode&&(!o||!o.length))){var a=t.push(o);a||(i=!0,e.pause())}});for(var n in e)this[n]===void 0&&typeof e[n]=="function"&&(this[n]=(function(a){return function(){return e[a].apply(e,arguments)}})(n));for(var s=0;s<ZQ.length;s++)e.on(ZQ[s],this.emit.bind(this,ZQ[s]));return this._read=function(o){Xt("wrapped _read",o),i&&(i=!1,e.resume())},this};typeof Symbol=="function"&&(pr.prototype[Symbol.asyncIterator]=function(){return WQ===void 0&&(WQ=Fj()),WQ(this)});Object.defineProperty(pr.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(pr.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(pr.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});pr._fromList=zj;Object.defineProperty(pr.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function zj(e,t){if(t.length===0)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.first():r=t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function XQ(e){var t=e._readableState;Xt("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(nle,t,e))}function nle(e,t){if(Xt("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}typeof Symbol=="function"&&(pr.from=function(e,t){return JQ===void 0&&(JQ=Oj()),JQ(pr,e,t)});function Hj(e,t){for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1}});var i1=X((Pke,Jj)=>{"use strict";Jj.exports=Ga;var w0=Hc().codes,sle=w0.ERR_METHOD_NOT_IMPLEMENTED,ole=w0.ERR_MULTIPLE_CALLBACK,ale=w0.ERR_TRANSFORM_ALREADY_TRANSFORMING,cle=w0.ERR_TRANSFORM_WITH_LENGTH_0,B0=dl();pl()(Ga,B0);function ule(e,t){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(i===null)return this.emit("error",new ole);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),i(e);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function Ga(e){if(!(this instanceof Ga))return new Ga(e);B0.call(this,e),this._transformState={afterTransform:ule.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",lle)}function lle(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){Wj(e,t,r)}):Wj(this,null,null)}Ga.prototype.push=function(e,t){return this._transformState.needTransform=!1,B0.prototype.push.call(this,e,t)};Ga.prototype._transform=function(e,t,r){r(new sle("_transform()"))};Ga.prototype._write=function(e,t,r){var i=this._transformState;if(i.writecb=r,i.writechunk=e,i.writeencoding=t,!i.transforming){var n=this._readableState;(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}};Ga.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};Ga.prototype._destroy=function(e,t){B0.prototype._destroy.call(this,e,function(r){t(r)})};function Wj(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new cle;if(e._transformState.transforming)throw new ale;return e.push(null)}});var Xj=X((Uke,Kj)=>{"use strict";Kj.exports=kf;var Zj=i1();pl()(kf,Zj);function kf(e){if(!(this instanceof kf))return new kf(e);Zj.call(this,e)}kf.prototype._transform=function(e,t,r){r(null,e)}});var n5=X((qke,i5)=>{"use strict";var n1;function hle(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var r5=Hc().codes,Ale=r5.ERR_MISSING_ARGS,ple=r5.ERR_STREAM_DESTROYED;function e5(e){if(e)throw e}function dle(e){return e.setHeader&&typeof e.abort=="function"}function fle(e,t,r,i){i=hle(i);var n=!1;e.on("close",function(){n=!0}),n1===void 0&&(n1=m0()),n1(e,{readable:t,writable:r},function(o){if(o)return i(o);n=!0,i()});var s=!1;return function(o){if(!n&&!s){if(s=!0,dle(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();i(o||new ple("pipe"))}}}function t5(e){e()}function gle(e,t){return e.pipe(t)}function mle(e){return!e.length||typeof e[e.length-1]!="function"?e5:e.pop()}function Ele(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=mle(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Ale("streams");var n,s=t.map(function(o,a){var u=a<t.length-1,l=a>0;return fle(o,u,l,function(A){n||(n=A),A&&s.forEach(t5),!u&&(s.forEach(t5),i(n))})});return t.reduce(gle)}i5.exports=Ele});var s5=X((Qs,_f)=>{var Rf=require("stream");process.env.READABLE_STREAM==="disable"&&Rf?(_f.exports=Rf.Readable,Object.assign(_f.exports,Rf),_f.exports.Stream=Rf):(Qs=_f.exports=VQ(),Qs.Stream=Rf||Qs,Qs.Readable=Qs,Qs.Writable=PQ(),Qs.Duplex=dl(),Qs.Transform=i1(),Qs.PassThrough=Xj(),Qs.finished=m0(),Qs.pipeline=n5())});var c5=X((Vke,a5)=>{"use strict";var{Buffer:Ks}=require("buffer"),o5=Symbol.for("BufferList");function Or(e){if(!(this instanceof Or))return new Or(e);Or._init.call(this,e)}Or._init=function(t){Object.defineProperty(this,o5,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)};Or.prototype._new=function(t){return new Or(t)};Or.prototype._offset=function(t){if(t===0)return[0,0];let r=0;for(let i=0;i<this._bufs.length;i++){let n=r+this._bufs[i].length;if(t<n||i===this._bufs.length-1)return[i,t-r];r=n}};Or.prototype._reverseOffset=function(e){let t=e[0],r=e[1];for(let i=0;i<t;i++)r+=this._bufs[i].length;return r};Or.prototype.get=function(t){if(t>this.length||t<0)return;let r=this._offset(t);return this._bufs[r[0]][r[1]]};Or.prototype.slice=function(t,r){return typeof t=="number"&&t<0&&(t+=this.length),typeof r=="number"&&r<0&&(r+=this.length),this.copy(null,0,t,r)};Or.prototype.copy=function(t,r,i,n){if((typeof i!="number"||i<0)&&(i=0),(typeof n!="number"||n>this.length)&&(n=this.length),i>=this.length||n<=0)return t||Ks.alloc(0);let s=!!t,o=this._offset(i),a=n-i,u=a,l=s&&r||0,A=o[1];if(i===0&&n===this.length){if(!s)return this._bufs.length===1?this._bufs[0]:Ks.concat(this._bufs,this.length);for(let h=0;h<this._bufs.length;h++)this._bufs[h].copy(t,l),l+=this._bufs[h].length;return t}if(u<=this._bufs[o[0]].length-A)return s?this._bufs[o[0]].copy(t,r,A,A+u):this._bufs[o[0]].slice(A,A+u);s||(t=Ks.allocUnsafe(a));for(let h=o[0];h<this._bufs.length;h++){let d=this._bufs[h].length-A;if(u>d)this._bufs[h].copy(t,l,A),l+=d;else{this._bufs[h].copy(t,l,A,A+u),l+=d;break}u-=d,A&&(A=0)}return t.length>l?t.slice(0,l):t};Or.prototype.shallowSlice=function(t,r){if(t=t||0,r=typeof r!="number"?this.length:r,t<0&&(t+=this.length),r<0&&(r+=this.length),t===r)return this._new();let i=this._offset(t),n=this._offset(r),s=this._bufs.slice(i[0],n[0]+1);return n[1]===0?s.pop():s[s.length-1]=s[s.length-1].slice(0,n[1]),i[1]!==0&&(s[0]=s[0].slice(i[1])),this._new(s)};Or.prototype.toString=function(t,r,i){return this.slice(r,i).toString(t)};Or.prototype.consume=function(t){if(t=Math.trunc(t),Number.isNaN(t)||t<=0)return this;for(;this._bufs.length;)if(t>=this._bufs[0].length)t-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(t),this.length-=t;break}return this};Or.prototype.duplicate=function(){let t=this._new();for(let r=0;r<this._bufs.length;r++)t.append(this._bufs[r]);return t};Or.prototype.append=function(t){if(t==null)return this;if(t.buffer)this._appendBuffer(Ks.from(t.buffer,t.byteOffset,t.byteLength));else if(Array.isArray(t))for(let r=0;r<t.length;r++)this.append(t[r]);else if(this._isBufferList(t))for(let r=0;r<t._bufs.length;r++)this.append(t._bufs[r]);else typeof t=="number"&&(t=t.toString()),this._appendBuffer(Ks.from(t));return this};Or.prototype._appendBuffer=function(t){this._bufs.push(t),this.length+=t.length};Or.prototype.indexOf=function(e,t,r){if(r===void 0&&typeof t=="string"&&(r=t,t=void 0),typeof e=="function"||Array.isArray(e))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if(typeof e=="number"?e=Ks.from([e]):typeof e=="string"?e=Ks.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=Ks.from(e.buffer,e.byteOffset,e.byteLength):Ks.isBuffer(e)||(e=Ks.from(e)),t=Number(t||0),isNaN(t)&&(t=0),t<0&&(t=this.length+t),t<0&&(t=0),e.length===0)return t>this.length?this.length:t;let i=this._offset(t),n=i[0],s=i[1];for(;n<this._bufs.length;n++){let o=this._bufs[n];for(;s<o.length;)if(o.length-s>=e.length){let u=o.indexOf(e,s);if(u!==-1)return this._reverseOffset([n,u]);s=o.length-e.length+1}else{let u=this._reverseOffset([n,s]);if(this._match(u,e))return u;s++}s=0}return-1};Or.prototype._match=function(e,t){if(this.length-e<t.length)return!1;for(let r=0;r<t.length;r++)if(this.get(e+r)!==t[r])return!1;return!0};(function(){let e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let t in e)(function(r){e[r]===null?Or.prototype[r]=function(i,n){return this.slice(i,i+n)[r](0,n)}:Or.prototype[r]=function(i=0){return this.slice(i,i+e[r])[r](0)}})(t)})();Or.prototype._isBufferList=function(t){return t instanceof Or||Or.isBufferList(t)};Or.isBufferList=function(t){return t!=null&&t[o5]};a5.exports=Or});var u5=X(($ke,v0)=>{"use strict";var s1=s5().Duplex,Cle=pl(),Tf=c5();function Ji(e){if(!(this instanceof Ji))return new Ji(e);if(typeof e=="function"){this._callback=e;let t=function(i){this._callback&&(this._callback(i),this._callback=null)}.bind(this);this.on("pipe",function(i){i.on("error",t)}),this.on("unpipe",function(i){i.removeListener("error",t)}),e=null}Tf._init.call(this,e),s1.call(this)}Cle(Ji,s1);Object.assign(Ji.prototype,Tf.prototype);Ji.prototype._new=function(t){return new Ji(t)};Ji.prototype._write=function(t,r,i){this._appendBuffer(t),typeof i=="function"&&i()};Ji.prototype._read=function(t){if(!this.length)return this.push(null);t=Math.min(t,this.length),this.push(this.slice(0,t)),this.consume(t)};Ji.prototype.end=function(t){s1.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)};Ji.prototype._destroy=function(t,r){this._bufs.length=0,this.length=0,r(t)};Ji.prototype._isBufferList=function(t){return t instanceof Ji||t instanceof Tf||Ji.isBufferList(t)};Ji.isBufferList=Tf.isBufferList;v0.exports=Ji;v0.exports.BufferListStream=Ji;v0.exports.BufferList=Tf});var FA=X((Gke,u1)=>{"use strict";var yle=require("readline"),ble=cl(),l5=_G(),x0=LG(),Q0=UG(),Ile=$a(),wle=KG(),Ble=ej(),{BufferListStream:vle}=u5(),o1=Symbol("text"),a1=Symbol("prefixText"),xle=3,Qle=()=>process.platform!=="win32"||process.env.TERM_PROGRAM==="vscode"||!!process.env.WT_SESSION,c1=class{constructor(){this.requests=0,this.mutedStream=new vle,this.mutedStream.pipe(process.stdout);let t=this;this.ourEmit=function(r,i,...n){let{stdin:s}=process;if(t.requests>0||s.emit===t.ourEmit){if(r==="keypress")return;r==="data"&&i.includes(xle)&&process.emit("SIGINT"),Reflect.apply(t.oldEmit,this,[r,i,...n])}else Reflect.apply(process.stdin.emit,this,[r,i,...n])}}start(){this.requests++,this.requests===1&&this.realStart()}stop(){if(this.requests<=0)throw new Error("`stop` called more times than `start`");this.requests--,this.requests===0&&this.realStop()}realStart(){process.platform!=="win32"&&(this.rl=yle.createInterface({input:process.stdin,output:this.mutedStream}),this.rl.on("SIGINT",()=>{process.listenerCount("SIGINT")===0?process.emit("SIGINT"):(this.rl.close(),process.kill(process.pid,"SIGINT"))}))}realStop(){process.platform!=="win32"&&(this.rl.close(),this.rl=void 0)}},S0,D0=class{constructor(t){S0||(S0=new c1),typeof t=="string"&&(t={text:t}),this.options={text:"",color:"cyan",stream:process.stderr,discardStdin:!0,...t},this.spinner=this.options.spinner,this.color=this.options.color,this.hideCursor=this.options.hideCursor!==!1,this.interval=this.options.interval||this.spinner.interval||100,this.stream=this.options.stream,this.id=void 0,this.isEnabled=typeof this.options.isEnabled=="boolean"?this.options.isEnabled:Ble({stream:this.stream}),this.isSilent=typeof this.options.isSilent=="boolean"?this.options.isSilent:!1,this.text=this.options.text,this.prefixText=this.options.prefixText,this.linesToClear=0,this.indent=this.options.indent,this.discardStdin=this.options.discardStdin,this.isDiscardingStdin=!1}get indent(){return this._indent}set indent(t=0){if(!(t>=0&&Number.isInteger(t)))throw new Error("The `indent` option must be an integer from 0 and up");this._indent=t}_updateInterval(t){t!==void 0&&(this.interval=t)}get spinner(){return this._spinner}set spinner(t){if(this.frameIndex=0,typeof t=="object"){if(t.frames===void 0)throw new Error("The given spinner must have a `frames` property");this._spinner=t}else if(!Qle())this._spinner=x0.line;else if(t===void 0)this._spinner=x0.dots;else if(x0[t])this._spinner=x0[t];else throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json for a full list.`);this._updateInterval(this._spinner.interval)}get text(){return this[o1]}set text(t){this[o1]=t,this.updateLineCount()}get prefixText(){return this[a1]}set prefixText(t){this[a1]=t,this.updateLineCount()}get isSpinning(){return this.id!==void 0}getFullPrefixText(t=this[a1],r=" "){return typeof t=="string"?t+r:typeof t=="function"?t()+r:""}updateLineCount(){let t=this.stream.columns||80,r=this.getFullPrefixText(this.prefixText,"-");this.lineCount=0;for(let i of Ile(r+"--"+this[o1]).split(`
|
|
191
191
|
`))this.lineCount+=Math.max(1,Math.ceil(wle(i)/t))}get isEnabled(){return this._isEnabled&&!this.isSilent}set isEnabled(t){if(typeof t!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this._isEnabled=t}get isSilent(){return this._isSilent}set isSilent(t){if(typeof t!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this._isSilent=t}frame(){let{frames:t}=this.spinner,r=t[this.frameIndex];this.color&&(r=ble[this.color](r)),this.frameIndex=++this.frameIndex%t.length;let i=typeof this.prefixText=="string"&&this.prefixText!==""?this.prefixText+" ":"",n=typeof this.text=="string"?" "+this.text:"";return i+r+n}clear(){if(!this.isEnabled||!this.stream.isTTY)return this;for(let t=0;t<this.linesToClear;t++)t>0&&this.stream.moveCursor(0,-1),this.stream.clearLine(),this.stream.cursorTo(this.indent);return this.linesToClear=0,this}render(){return this.isSilent?this:(this.clear(),this.stream.write(this.frame()),this.linesToClear=this.lineCount,this)}start(t){return t&&(this.text=t),this.isSilent?this:this.isEnabled?this.isSpinning?this:(this.hideCursor&&l5.hide(this.stream),this.discardStdin&&process.stdin.isTTY&&(this.isDiscardingStdin=!0,S0.start()),this.render(),this.id=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.stream.write(`- ${this.text}
|
|
192
192
|
`),this)}stop(){return this.isEnabled?(clearInterval(this.id),this.id=void 0,this.frameIndex=0,this.clear(),this.hideCursor&&l5.show(this.stream),this.discardStdin&&process.stdin.isTTY&&this.isDiscardingStdin&&(S0.stop(),this.isDiscardingStdin=!1),this):this}succeed(t){return this.stopAndPersist({symbol:Q0.success,text:t})}fail(t){return this.stopAndPersist({symbol:Q0.error,text:t})}warn(t){return this.stopAndPersist({symbol:Q0.warning,text:t})}info(t){return this.stopAndPersist({symbol:Q0.info,text:t})}stopAndPersist(t={}){if(this.isSilent)return this;let r=t.prefixText||this.prefixText,i=t.text||this.text,n=typeof i=="string"?" "+i:"";return this.stop(),this.stream.write(`${this.getFullPrefixText(r," ")}${t.symbol||" "}${n}
|
|
193
|
-
`),this}},Sle=function(e){return new D0(e)};
|
|
193
|
+
`),this}},Sle=function(e){return new D0(e)};u1.exports=Sle;u1.exports.promise=(e,t)=>{if(typeof e.then!="function")throw new TypeError("Parameter `action` must be a Promise");let r=new D0(t);return r.start(),(async()=>{try{await e,r.succeed()}catch{r.fail()}})(),r}});var Xs=X(Cl=>{"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});Cl.CreateNxWorkspaceError=Cl.CnwError=void 0;Cl.mapErrorToBodyLines=Dle;var k0=class extends Error{constructor(t,r,i,n){super(r),this.code=t,this.logFile=i,this.exitCode=n,this.name="CnwError"}};Cl.CnwError=k0;var R0=class extends Error{constructor(t,r,i){super(t),this.logMessage=t,this.code=r,this.logFile=i,this.name="CreateNxWorkspaceError"}};Cl.CreateNxWorkspaceError=R0;function Dle(e){if((e.message?.split(`
|
|
194
194
|
`).filter(i=>!!i.trim())).length<3){let i=[`Error: ${e.message}`];return process.env.NX_VERBOSE_LOGGING==="true"&&i.push(`Stack: ${e.stack}`),i}let r=e instanceof R0?[`Exit code: ${e.code}`,`Log file: ${e.logFile}`]:e instanceof k0&&e.logFile?[`Log file: ${e.logFile}`]:[];return process.env.NX_VERBOSE_LOGGING==="true"&&(r.push(`Error: ${e.message}`),r.push(`Stack: ${e.stack}`)),r}});var ja=X(_0=>{"use strict";Object.defineProperty(_0,"__esModule",{value:!0});_0.spawnAndWait=Tle;_0.execAndWait=Fle;var h5=require("child_process"),kle=require("fs"),Rle=require("path"),_le=Xs();function Tle(e,t,r,i){return new Promise((n,s)=>{let o=[e,...t].map(A=>A.includes(" ")?`"${A}"`:A).join(" "),a=(0,h5.spawn)(o,{cwd:r,stdio:"inherit",env:{...process.env,NX_DAEMON:"false",ESLINT_USE_FLAT_CONFIG:process.env.ESLINT_USE_FLAT_CONFIG??"true"},shell:!0,windowsHide:!0}),u=!1,l;i&&(l=setTimeout(()=>{u=!0,a.kill("SIGTERM")},i)),a.on("exit",(A,h)=>{if(l&&clearTimeout(l),u){s({code:1,timedOut:!0});return}A===null&&(A=Nle(h)),A!==0?s({code:A}):n({code:0})})})}function Fle(e,t,r=!1,i){return new Promise((n,s)=>{(0,h5.exec)(e,{cwd:t,env:{...process.env,NX_DAEMON:"false"},windowsHide:!0,maxBuffer:1024*1024*10,...i?{timeout:i}:{}},(o,a,u)=>{if(o)if(r)s(o.killed?{timedOut:!0}:void 0);else{let l=(0,Rle.join)(t,"error.log");(0,kle.writeFileSync)(l,`${a}
|
|
195
|
-
${u}`);let A=u&&u.trim().length?u:a&&a.trim().length?a:`Command failed with exit code ${o.code??"unknown"}. See ${l} for details.`;s(new _le.CnwError("UNKNOWN",A,l,o.code??void 0))}else n({code:0,stdout:a})})})}function Nle(e){switch(e){case"SIGHUP":return 129;case"SIGINT":return 130;case"SIGTERM":return 143;default:return 128}}});var yl=X(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.packageManagerList=void 0;pn.detectPackageManager=
|
|
195
|
+
${u}`);let A=u&&u.trim().length?u:a&&a.trim().length?a:`Command failed with exit code ${o.code??"unknown"}. See ${l} for details.`;s(new _le.CnwError("UNKNOWN",A,l,o.code??void 0))}else n({code:0,stdout:a})})})}function Nle(e){switch(e){case"SIGHUP":return 129;case"SIGINT":return 130;case"SIGTERM":return 143;default:return 128}}});var yl=X(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.packageManagerList=void 0;pn.detectPackageManager=h1;pn.getPackageManagerCommand=Ole;pn.generatePackageManagerFiles=Ple;pn.workspacesToPnpmYaml=A5;pn.convertStarToWorkspaceProtocol=T0;pn.findAllWorkspacePackageJsons=A1;pn.findWorkspacePackages=qle;pn.getPackageManagerVersion=p1;pn.detectInvokedPackageManager=Vle;var Lle=require("node:child_process"),Zi=require("node:fs"),Ss=require("node:path"),Mle=Xs();pn.packageManagerList=["pnpm","yarn","npm","bun"];function h1(e=""){return(0,Zi.existsSync)((0,Ss.join)(e,"bun.lockb"))||(0,Zi.existsSync)((0,Ss.join)(e,"bun.lock"))?"bun":(0,Zi.existsSync)((0,Ss.join)(e,"yarn.lock"))?"yarn":(0,Zi.existsSync)((0,Ss.join)(e,"pnpm-lock.yaml"))?"pnpm":"npm"}function Ole(e=h1()){let t=p1(e),[r,i]=t.split(".");switch(e){case"yarn":let n=+r>=2,s="yarn install";return{preInstall:`yarn set version ${t}`,install:n?s:`${s} --ignore-scripts`,exec:n?"npx":"yarn",globalAdd:"yarn global add",getRegistryUrl:n?"yarn config get npmRegistryServer":"yarn config get registry"};case"pnpm":let o=!1;return(+r>=6&&+i>=13||+r>=7)&&(o=!0),{install:"pnpm install --no-frozen-lockfile --ignore-scripts",exec:o?"pnpm exec":"pnpx",globalAdd:"pnpm add -g",getRegistryUrl:"pnpm config get registry"};case"npm":return{install:"npm install --ignore-scripts",exec:"npx",globalAdd:"npm i -g",getRegistryUrl:"npm config get registry"};case"bun":return{install:"bun install --ignore-scripts",exec:"bunx",globalAdd:"bun install -g"}}}function Ple(e,t=h1()){let[r]=p1(t).split(".");switch(t){case"pnpm":Ule(e),T0(e);break;case"yarn":+r>=2&&((0,Zi.writeFileSync)((0,Ss.join)(e,".yarnrc.yml"),`nodeLinker: node-modules
|
|
196
196
|
enableScripts: false`),(0,Zi.writeFileSync)((0,Ss.join)(e,"yarn.lock"),"")),T0(e);break;case"bun":T0(e);break}}function A5(e){return`packages:
|
|
197
197
|
${e.map(t=>` - '${t}'`).join(`
|
|
198
198
|
`)}
|
|
199
199
|
`}function Ule(e){let t=(0,Ss.join)(e,"package.json");if(!(0,Zi.existsSync)(t))return;let r=JSON.parse((0,Zi.readFileSync)(t,"utf-8")),i=r.workspaces;!i||i.length===0||((0,Zi.writeFileSync)((0,Ss.join)(e,"pnpm-workspace.yaml"),A5(i)),delete r.workspaces,(0,Zi.writeFileSync)(t,JSON.stringify(r,null,2)+`
|
|
200
|
-
`))}function T0(e){for(let t of
|
|
201
|
-
`)}catch{}}function AS(e,t=2){let r=[];for(let i of["packages","libs","apps"]){let n=(0,Ss.join)(e,i);(0,Zi.existsSync)(n)&&p5(n,1,t,r)}return r}function p5(e,t,r,i){if(!(t>r))try{let n=(0,Zi.readdirSync)(e,{withFileTypes:!0});for(let s of n){if(!s.isDirectory())continue;let o=(0,Ss.join)(e,s.name),a=(0,Ss.join)(o,"package.json");(0,Zi.existsSync)(a)&&i.push(a),t<r&&p5(o,t+1,r,i)}}catch{}}function qle(e){let t=[],r=AS(e);for(let i of r)try{let n=JSON.parse((0,Zi.readFileSync)(i,"utf-8"));n.name&&t.push(n.name)}catch{}return t.sort()}var lS=new Map;function pS(e,t=process.cwd()){if(lS.has(e))return lS.get(e);try{let r=(0,Lle.execSync)(`${e} --version`,{cwd:t,encoding:"utf-8",windowsHide:!0}).trim();return lS.set(e,r),r}catch{throw new Mle.CnwError("INVALID_PACKAGE_MANAGER",`Package manager '${e}' is not installed or not found in PATH.`)}}function Vle(){if(process.env.npm_config_user_agent){for(let e of pn.packageManagerList)if(process.env.npm_config_user_agent.startsWith(`${e}/`))return e}if(process.env.npm_execpath){for(let e of pn.packageManagerList)if(process.env.npm_execpath.split(Ss.sep).includes(e))return e}return"npm"}});var E5=X((Jke,m5)=>{m5.exports=Ff;Ff.flatten=Ff;Ff.unflatten=g5;function d5(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function f5(e){return e}function Ff(e,t){t=t||{};let r=t.delimiter||".",i=t.maxDepth,n=t.transformKey||f5,s={};function o(a,u,l){l=l||1,Object.keys(a).forEach(function(A){let h=a[A],d=t.safe&&Array.isArray(h),m=Object.prototype.toString.call(h),g=d5(h),E=m==="[object Object]"||m==="[object Array]",y=u?u+r+n(A):n(A);if(!d&&!g&&E&&Object.keys(h).length&&(!t.maxDepth||l<i))return o(h,y,l+1);s[y]=h})}return o(e),s}function g5(e,t){t=t||{};let r=t.delimiter||".",i=t.overwrite||!1,n=t.transformKey||f5,s={};if(d5(e)||Object.prototype.toString.call(e)!=="[object Object]")return e;function a(A){let h=Number(A);return isNaN(h)||A.indexOf(".")!==-1||t.object?A:h}function u(A,h,d){return Object.keys(d).reduce(function(m,g){return m[A+r+g]=d[g],m},h)}function l(A){let h=Object.prototype.toString.call(A),d=h==="[object Array]",m=h==="[object Object]";if(A){if(d)return!A.length;if(m)return!Object.keys(A).length}else return!0}return e=Object.keys(e).reduce(function(A,h){let d=Object.prototype.toString.call(e[h]);return!(d==="[object Object]"||d==="[object Array]")||l(e[h])?(A[h]=e[h],A):u(h,A,Ff(e[h],t))},{}),Object.keys(e).forEach(function(A){let h=A.split(r).map(n),d=a(h.shift()),m=a(h[0]),g=s;for(;m!==void 0;){if(d==="__proto__")return;let E=Object.prototype.toString.call(g[d]),y=E==="[object Object]"||E==="[object Array]";if(!i&&!y&&typeof g[d]<"u")return;(i&&!y||!i&&g[d]==null)&&(g[d]=typeof m=="number"&&!t.object?[]:{}),g=g[d],h.length>0&&(d=a(h.shift()),m=a(h[0]))}g[d]=g5(e[A],t)}),s}});var gS=X(fS=>{"use strict";Object.defineProperty(fS,"__esModule",{value:!0});fS.unparse=Gle;var $le=E5();function Gle(e){let t=[];for(let r of Object.keys(e)){let i=e[r];dS(r,i,t)}return t}function dS(e,t,r){if(t===!0)r.push(`--${e}`);else if(t===!1)r.push(`--no-${e}`);else if(Array.isArray(t))t.forEach(i=>dS(e,i,r));else if(Object.prototype.toString.call(t)==="[object Object]"){let i=(0,$le.flatten)(t,{safe:!0});for(let n in i)dS(`${e}.${n}`,i[n],r)}else typeof t=="string"&&t.includes(" ")?r.push(`--${e}="${t}"`):t!=null&&r.push(`--${e}=${t}`)}});var y5=X(mS=>{"use strict";Object.defineProperty(mS,"__esModule",{value:!0});mS.createEmptyWorkspace=Zle;var jle=(qo(),na(Uo)),zle=jle.__importDefault(FA()),Hle=require("path"),Yle=ja(),Wle=Xs(),C5=yl(),Jle=gS();async function Zle(e,t,r,i){i.packageManager||(i.packageManager=r);let n=i.name;delete i.skipInstall;let{workingDir:s,...o}=i,a=(0,Jle.unparse)({...o}).join(" "),u=(0,C5.getPackageManagerCommand)(r),l=`new ${a}`,A=(i.workingDir??process.cwd()).replace(/\\/g,"/"),h=`"${A}"`;process.platform==="win32"&&/\s/.test(h)&&r==="npm"&&+(0,C5.getPackageManagerVersion)(r,e).split(".")[0]<7&&(h=`\\"${h.slice(1,-1)}\\"`);let d=(0,zle.default)(`Creating your workspace in ${n}`).start();try{let m=`${u.exec} nx ${l} --nxWorkspaceRoot=${h}`;await(0,Yle.execAndWait)(m,e),d.succeed(`Successfully created the workspace: ${n}`)}catch(m){d.fail();let g=m instanceof Error?m.message:String(m);throw new Wle.CnwError("WORKSPACE_CREATION_FAILED",`Failed to create a workspace: ${g}`)}finally{d.stop()}return(0,Hle.join)(A,n)}});var I5=X(ES=>{"use strict";Object.defineProperty(ES,"__esModule",{value:!0});ES.createPreset=the;var Kle=Xs(),b5=yl(),Xle=ja(),ehe=gS();async function the(e,t,r,i){let{skipGit:n,commit:s,nxCloud:o,workingDir:a,...u}=t;u.verbose||delete u.verbose;let l=(0,ehe.unparse)({interactive:!0,...u}).join(" "),A=(0,b5.getPackageManagerCommand)(r),h=(t.workingDir??process.cwd()).replace(/\\/g,"/"),d=`"${h}"`;process.platform==="win32"&&/\s/.test(d)&&r==="npm"&&+(0,b5.getPackageManagerVersion)(r,h).split(".")[0]<7&&(d=`\\"${d.slice(1,-1)}\\"`),process.env.NX_VERBOSE_LOGGING==="true"||l.includes("--verbose")||(l="--quiet "+l);let m=`g ${e}:preset ${l}`;try{let[g,...E]=A.exec.split(" ");E.push("nx",`--nxWorkspaceRoot=${d}`,...m.split(" ")),await(0,Xle.spawnAndWait)(g,E,i)}catch{throw new Kle.CnwError("PRESET_FAILED",`Failed to apply preset: ${e}`)}}});var U5=X((eRe,za)=>{var kr=require("fs"),N0=require("os"),gi=require("path"),w5=require("crypto"),Go={fs:kr.constants,os:N0.constants},B5="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",S5=/XXXXXX/,rhe=3,D5=(Go.O_CREAT||Go.fs.O_CREAT)|(Go.O_EXCL||Go.fs.O_EXCL)|(Go.O_RDWR||Go.fs.O_RDWR),ihe=N0.platform()==="win32",nhe=Go.EBADF||Go.os.errno.EBADF,she=Go.ENOENT||Go.os.errno.ENOENT,k5=448,R5=384,ohe="exit",NA=[],_5=kr.rmdirSync.bind(kr),T5=!1;function ahe(e,t){return kr.rm(e,{recursive:!0},t)}function F5(e){return kr.rmSync(e,{recursive:!0})}function IS(e,t){let r=LA(e,t),i=r[0],n=r[1];mhe(i,function(s,o){if(s)return n(s);let a=o.tries;(function u(){try{let l=L5(o);kr.stat(l,function(A){if(!A)return a-- >0?u():n(new Error("Could not get a unique tmp filename, max tries reached "+l));n(null,l)})}catch(l){n(l)}})()})}function wS(e){let t=LA(e),r=t[0],i=Ehe(r),n=i.tries;do{let s=L5(i);try{kr.statSync(s)}catch{return s}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function che(e,t){let r=LA(e,t),i=r[0],n=r[1];IS(i,function(o,a){if(o)return n(o);kr.open(a,D5,i.mode||R5,function(l,A){if(l)return n(l);if(i.discardDescriptor)return kr.close(A,function(d){return n(d,a,void 0,yS(a,-1,i,!1))});{let h=i.discardDescriptor||i.detachDescriptor;n(null,a,A,yS(a,h?-1:A,i,!1))}})})}function uhe(e){let t=LA(e),r=t[0],i=r.discardDescriptor||r.detachDescriptor,n=wS(r),s=kr.openSync(n,D5,r.mode||R5);return r.discardDescriptor&&(kr.closeSync(s),s=void 0),{name:n,fd:s,removeCallback:yS(n,i?-1:s,r,!0)}}function lhe(e,t){let r=LA(e,t),i=r[0],n=r[1];IS(i,function(o,a){if(o)return n(o);kr.mkdir(a,i.mode||k5,function(l){if(l)return n(l);n(null,a,N5(a,i,!1))})})}function hhe(e){let t=LA(e),r=t[0],i=wS(r);return kr.mkdirSync(i,r.mode||k5),{name:i,removeCallback:N5(i,r,!0)}}function Ahe(e,t){let r=function(i){if(i&&!bS(i))return t(i);t()};0<=e[0]?kr.close(e[0],function(){kr.unlink(e[1],r)}):kr.unlink(e[1],r)}function phe(e){let t=null;try{0<=e[0]&&kr.closeSync(e[0])}catch(r){if(!Che(r)&&!bS(r))throw r}finally{try{kr.unlinkSync(e[1])}catch(r){bS(r)||(t=r)}}if(t!==null)throw t}function yS(e,t,r,i){let n=F0(phe,[t,e],i),s=F0(Ahe,[t,e],i,n);return r.keep||NA.unshift(n),i?n:s}function N5(e,t,r){let i=t.unsafeCleanup?ahe:kr.rmdir.bind(kr),n=t.unsafeCleanup?F5:_5,s=F0(n,e,r),o=F0(i,e,r,s);return t.keep||NA.unshift(s),r?s:o}function F0(e,t,r,i){let n=!1;return function s(o){if(!n){let a=i||s,u=NA.indexOf(a);return u>=0&&NA.splice(u,1),n=!0,r||e===_5||e===F5?e(t):e(t,o||function(){})}}}function dhe(){if(T5)for(;NA.length;)try{NA[0]()}catch{}}function v5(e){let t=[],r=null;try{r=w5.randomBytes(e)}catch{r=w5.pseudoRandomBytes(e)}for(let i=0;i<e;i++)t.push(B5[r[i]%B5.length]);return t.join("")}function Fn(e){return typeof e>"u"}function LA(e,t){if(typeof e=="function")return[{},e];if(Fn(e))return[{},t];let r={};for(let i of Object.getOwnPropertyNames(e))r[i]=e[i];return[r,t]}function fhe(e,t,r){let i=gi.isAbsolute(e)?e:gi.join(t,e);kr.stat(i,function(n){n?kr.realpath(gi.dirname(i),function(s,o){if(s)return r(s);r(null,gi.join(o,gi.basename(i)))}):kr.realpath(i,r)})}function ghe(e,t){let r=gi.isAbsolute(e)?e:gi.join(t,e);try{return kr.statSync(r),kr.realpathSync(r)}catch{let n=kr.realpathSync(gi.dirname(r));return gi.join(n,gi.basename(r))}}function L5(e){let t=e.tmpdir;if(!Fn(e.name))return gi.join(t,e.dir,e.name);if(!Fn(e.template))return gi.join(t,e.dir,e.template).replace(S5,v5(6));let r=[e.prefix?e.prefix:"tmp","-",process.pid,"-",v5(12),e.postfix?"-"+e.postfix:""].join("");return gi.join(t,e.dir,r)}function CS(e,t){if(typeof t!="string")throw new Error(`${e} option must be a string, got "${typeof t}".`);if(t.includes(".."))throw new Error("Relative value not allowed");return t}function M5(e){if(!Fn(e.name)){let t=e.name;if(gi.isAbsolute(t))throw new Error(`name option must not contain an absolute path, found "${t}".`);let r=gi.basename(t);if(r===".."||r==="."||r!==t)throw new Error(`name option must not contain a path, found "${t}".`)}if(!Fn(e.template)){if(typeof e.template!="string")throw new Error(`template option must be a string, got "${typeof e.template}".`);if(!e.template.match(S5))throw new Error(`Invalid template, found "${e.template}".`)}if(!Fn(e.tries)&&isNaN(e.tries)||e.tries<0)throw new Error(`Invalid tries, found "${e.tries}".`);e.tries=Fn(e.name)?e.tries||rhe:1,e.keep=!!e.keep,e.detachDescriptor=!!e.detachDescriptor,e.discardDescriptor=!!e.discardDescriptor,e.unsafeCleanup=!!e.unsafeCleanup,e.prefix=Fn(e.prefix)?"":CS("prefix",e.prefix),e.postfix=Fn(e.postfix)?"":CS("postfix",e.postfix),e.template=Fn(e.template)?void 0:CS("template",e.template)}function x5(e,t,r,i){if(Fn(t))return i(null);fhe(t,r,function(n,s){if(n)return i(n);let o=gi.relative(r,s);if(o.startsWith("..")||gi.isAbsolute(o))return i(new Error(`${e} option must be relative to "${r}", found "${o}".`));i(null,o)})}function Q5(e,t,r){if(Fn(t))return;let i=ghe(t,r),n=gi.relative(r,i);if(n.startsWith("..")||gi.isAbsolute(n))throw new Error(`${e} option must be relative to "${r}", found "${n}".`);return n}function mhe(e,t){bhe(e,function(r,i){if(r)return t(r);e.tmpdir=i;try{M5(e,i)}catch(n){return t(n)}x5("dir",e.dir,i,function(n,s){if(n)return t(n);e.dir=Fn(s)?"":s,x5("template",e.template,i,function(o,a){if(o)return t(o);e.template=a,t(null,e)})})})}function Ehe(e){let t=e.tmpdir=P5(e);M5(e,t);let r=Q5("dir",e.dir,t);return e.dir=Fn(r)?"":r,e.template=Q5("template",e.template,t),e}function Che(e){return O5(e,-nhe,"EBADF")}function bS(e){return O5(e,-she,"ENOENT")}function O5(e,t,r){return ihe?e.code===r:e.code===r&&e.errno===t}function yhe(){T5=!0}function bhe(e,t){return kr.realpath(e&&e.tmpdir||N0.tmpdir(),t)}function P5(e){return kr.realpathSync(e&&e.tmpdir||N0.tmpdir())}process.addListener(ohe,dhe);Object.defineProperty(za.exports,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return P5()}});za.exports.dir=lhe;za.exports.dirSync=hhe;za.exports.file=che;za.exports.fileSync=uhe;za.exports.tmpName=IS;za.exports.tmpNameSync=wS;za.exports.setGracefulCleanup=yhe});var q5=X((tRe,Ihe)=>{Ihe.exports={name:"create-nx-workspace",version:"22.7.8",private:!1,description:"Smart Monorepos \xB7 Fast Builds",repository:{type:"git",url:"https://github.com/nrwl/nx.git",directory:"packages/create-nx-workspace"},keywords:["Monorepo","Angular","React","Web","Node","Nest","Jest","Cypress","Playwright","CLI"],bin:{"create-nx-workspace":"./bin/index.js"},author:"Victor Savkin",license:"MIT",bugs:{url:"https://github.com/nrwl/nx/issues"},homepage:"https://nx.dev",dependencies:{axios:"1.18.1",chalk:"^4.1.0",enquirer:"~2.3.6",flat:"^5.0.2",open:"^8.4.0",ora:"5.3.0",tmp:"~0.2.1",tslib:"^2.3.0",yargs:"^17.6.2"},publishConfig:{access:"public"}}});var BS=X(L0=>{"use strict";Object.defineProperty(L0,"__esModule",{value:!0});L0.nxVersion=void 0;L0.nxVersion=q5().version});var j5=X(xS=>{"use strict";Object.defineProperty(xS,"__esModule",{value:!0});xS.createSandbox=She;var whe=(qo(),na(Uo)),Bhe=require("fs"),vhe=U5(),xhe=whe.__importDefault(FA()),Qhe=require("path"),V5=yl(),$5=ja(),G5=BS(),vS=Xs();async function She(e){let t=(0,xhe.default)(`Installing dependencies with ${e}`).start(),{install:r,preInstall:i}=(0,V5.getPackageManagerCommand)(e),n=(0,vhe.dirSync)().name;try{(0,Bhe.writeFileSync)((0,Qhe.join)(n,"package.json"),JSON.stringify({dependencies:{nx:G5.nxVersion,"@nx/workspace":G5.nxVersion},license:"MIT"})),(0,V5.generatePackageManagerFiles)(n,e),i&&await(0,$5.execAndWait)(i,n),await(0,$5.execAndWait)(r,n),t.succeed()}catch(s){t.fail();let o=s instanceof vS.CnwError?s.logFile:void 0,a=s instanceof vS.CnwError?s.exitCode:void 0,u=s instanceof Error?s.message:String(s),l=["Failed to install dependencies"];throw u?.trim()&&l.push(u.trim()),a!=null&&l.push(`Exit code: ${a}`),o&&l.push(`Log file: ${o}`),l.push(`
|
|
202
|
-
Please verify that "${r}" runs successfully in a temporary directory.`),new
|
|
203
|
-
`),o,a??void 0)}finally{t.stop()}return n}});var z5=X(
|
|
204
|
-
`),l=o.length;for(l>0&&o.includes("unstyle")&&(o=[...new Set(["unstyle",...o])].reverse());l-- >0;)a=r(e.styles[o[l]],a,u);return a},n=(s,o,a)=>{e.styles[s]=t({name:s,codes:o}),(e.keys[a]||(e.keys[a]=[])).push(s),Reflect.defineProperty(e,s,{configurable:!0,enumerable:!0,set(l){e.alias(s,l)},get(){let l=A=>i(A,l.stack);return Reflect.setPrototypeOf(l,e),l.stack=this.stack?this.stack.concat(s):[s],l}})};return n("reset",[0,0],"modifier"),n("bold",[1,22],"modifier"),n("dim",[2,22],"modifier"),n("italic",[3,23],"modifier"),n("underline",[4,24],"modifier"),n("inverse",[7,27],"modifier"),n("hidden",[8,28],"modifier"),n("strikethrough",[9,29],"modifier"),n("black",[30,39],"color"),n("red",[31,39],"color"),n("green",[32,39],"color"),n("yellow",[33,39],"color"),n("blue",[34,39],"color"),n("magenta",[35,39],"color"),n("cyan",[36,39],"color"),n("white",[37,39],"color"),n("gray",[90,39],"color"),n("grey",[90,39],"color"),n("bgBlack",[40,49],"bg"),n("bgRed",[41,49],"bg"),n("bgGreen",[42,49],"bg"),n("bgYellow",[43,49],"bg"),n("bgBlue",[44,49],"bg"),n("bgMagenta",[45,49],"bg"),n("bgCyan",[46,49],"bg"),n("bgWhite",[47,49],"bg"),n("blackBright",[90,39],"bright"),n("redBright",[91,39],"bright"),n("greenBright",[92,39],"bright"),n("yellowBright",[93,39],"bright"),n("blueBright",[94,39],"bright"),n("magentaBright",[95,39],"bright"),n("cyanBright",[96,39],"bright"),n("whiteBright",[97,39],"bright"),n("bgBlackBright",[100,49],"bgBright"),n("bgRedBright",[101,49],"bgBright"),n("bgGreenBright",[102,49],"bgBright"),n("bgYellowBright",[103,49],"bgBright"),n("bgBlueBright",[104,49],"bgBright"),n("bgMagentaBright",[105,49],"bgBright"),n("bgCyanBright",[106,49],"bgBright"),n("bgWhiteBright",[107,49],"bgBright"),e.ansiRegex=$he,e.hasColor=e.hasAnsi=s=>(e.ansiRegex.lastIndex=0,typeof s=="string"&&s!==""&&e.ansiRegex.test(s)),e.alias=(s,o)=>{let a=typeof o=="string"?e[o]:o;if(typeof a!="function")throw new TypeError("Expected alias to be the name of an existing color (string) or a function");a.stack||(Reflect.defineProperty(a,"name",{value:s}),e.styles[s]=a,a.stack=[s]),Reflect.defineProperty(e,s,{configurable:!0,enumerable:!0,set(u){e.alias(s,u)},get(){let u=l=>i(l,u.stack);return Reflect.setPrototypeOf(u,e),u.stack=this.stack?this.stack.concat(a.stack):a.stack,u}})},e.theme=s=>{if(!Vhe(s))throw new TypeError("Expected theme to be an object");for(let o of Object.keys(s))e.alias(o,s[o]);return e},e.alias("unstyle",s=>typeof s=="string"&&s!==""?(e.ansiRegex.lastIndex=0,s.replace(e.ansiRegex,"")):""),e.alias("noop",s=>s),e.none=e.clear=e.noop,e.stripColor=e.unstyle,e.symbols=J5(),e.define=n,e};
|
|
205
|
-
`+r,width:n=80}=t,s=(i+r).match(/[^\S\n]/g)||[];n-=s.length;let o=`.{1,${n}}([\\s\\u200B]+|$)|[^\\s\\u200B]+?([\\s\\u200B]+|$)`,a=e.trim(),u=new RegExp(o,"g"),l=a.match(u)||[];return l=l.map(A=>A.replace(/\n$/,"")),t.padEnd&&(l=l.map(A=>A.padEnd(n," "))),t.padStart&&(l=l.map(A=>A.padStart(n," "))),r+l.join(i)};sr.unmute=e=>{let t=e.stack.find(i=>Ds.keys.color.includes(i));return t?Ds[t]:e.stack.find(i=>i.slice(2)==="bg")?Ds[t.slice(2)]:i=>i};sr.pascal=e=>e?e[0].toUpperCase()+e.slice(1):"";sr.inverse=e=>{if(!e||!e.stack)return e;let t=e.stack.find(i=>Ds.keys.color.includes(i));if(t){let i=Ds["bg"+sr.pascal(t)];return i?i.black:e}let r=e.stack.find(i=>i.slice(0,2)==="bg");return r?Ds[r.slice(2).toLowerCase()]||e:Ds.none};sr.complement=e=>{if(!e||!e.stack)return e;let t=e.stack.find(i=>Ds.keys.color.includes(i)),r=e.stack.find(i=>i.slice(0,2)==="bg");if(t&&!r)return Ds[X5[t]||t];if(r){let i=r.slice(2).toLowerCase(),n=X5[i];return n&&Ds["bg"+sr.pascal(n)]||e}return Ds.none};sr.meridiem=e=>{let t=e.getHours(),r=e.getMinutes(),i=t>=12?"pm":"am";t=t%12;let n=t===0?12:t,s=r<10?"0"+r:r;return n+":"+s+" "+i};sr.set=(e={},t="",r)=>t.split(".").reduce((i,n,s,o)=>{let a=o.length-1>s?i[n]||{}:r;return!sr.isObject(a)&&s<o.length-1&&(a={}),i[n]=a},e);sr.get=(e={},t="",r)=>{let i=e[t]==null?t.split(".").reduce((n,s)=>n&&n[s],e):e[t];return i??r};sr.mixin=(e,t)=>{if(!O0(e))return t;if(!O0(t))return e;for(let r of Object.keys(t)){let i=Object.getOwnPropertyDescriptor(t,r);if(i.hasOwnProperty("value"))if(e.hasOwnProperty(r)&&O0(i.value)){let n=Object.getOwnPropertyDescriptor(e,r);O0(n.value)?e[r]=sr.merge({},e[r],t[r]):Reflect.defineProperty(e,r,i)}else Reflect.defineProperty(e,r,i);else Reflect.defineProperty(e,r,i)}return e};sr.merge=(...e)=>{let t={};for(let r of e)sr.mixin(t,r);return t};sr.mixinEmitter=(e,t)=>{let r=t.constructor.prototype;for(let i of Object.keys(r)){let n=r[i];typeof n=="function"?sr.define(e,i,n.bind(t)):sr.define(e,i,n)}};sr.onExit=e=>{let t=(r,i)=>{K5||(K5=!0,
|
|
206
|
-
`)i.name="enter";else if(e===" ")i.name="tab";else if(e==="\b"||e==="\x7F"||e==="\x1B\x7F"||e==="\x1B\b")i.name="backspace",i.meta=e.charAt(0)==="\x1B";else if(e==="\x1B"||e==="\x1B\x1B")i.name="escape",i.meta=e.length===2;else if(e===" "||e==="\x1B ")i.name="space",i.meta=e.length===2;else if(e<="")i.name=String.fromCharCode(e.charCodeAt(0)+97-1),i.ctrl=!0;else if(e.length===1&&e>="0"&&e<="9")i.name="number";else if(e.length===1&&e>="a"&&e<="z")i.name=e;else if(e.length===1&&e>="A"&&e<="Z")i.name=e.toLowerCase(),i.shift=!0;else if(r=Hhe.exec(e))i.meta=!0,i.shift=/^[A-Z]$/.test(r[1]);else if(r=Yhe.exec(e)){let n=[...e];n[0]==="\x1B"&&n[1]==="\x1B"&&(i.option=!0);let s=[r[1],r[2],r[4],r[6]].filter(Boolean).join(""),o=(r[3]||r[5]||1)-1;i.ctrl=!!(o&4),i.meta=!!(o&10),i.shift=!!(o&1),i.code=s,i.name=Whe[s],i.shift=Jhe(s)||i.shift,i.ctrl=Zhe(s)||i.ctrl}return i};P0.listen=(e={},t)=>{let{stdin:r}=e;if(!r||r!==process.stdin&&!r.isTTY)throw new Error("Invalid stream passed");let i=t4.createInterface({terminal:!0,input:r});t4.emitKeypressEvents(r,i);let n=(a,u)=>t(a,P0(a,u),i),s=r.isRaw;return r.isTTY&&r.setRawMode(!0),r.on("keypress",n),i.resume(),()=>{r.isTTY&&r.setRawMode(s),r.removeListener("keypress",n),i.pause(),i.close()}};P0.action=(e,t,r)=>{let i={...zhe,...r};return t.ctrl?(t.action=i.ctrl[t.name],t):t.option&&i.option?(t.action=i.option[t.name],t):t.shift?(t.action=i.shift[t.name],t):(t.action=i.keys[t.name],t)};r4.exports=P0});var s4=X((pRe,n4)=>{"use strict";n4.exports=e=>{e.timers=e.timers||{};let t=e.options.timers;if(t)for(let r of Object.keys(t)){let i=t[r];typeof i=="number"&&(i={interval:i}),Khe(e,r,i)}};function Khe(e,t,r={}){let i=e.timers[t]={name:t,start:Date.now(),ms:0,tick:0},n=r.interval||120;i.frames=r.frames||[],i.loading=!0;let s=setInterval(()=>{i.ms=Date.now()-i.start,i.tick++,e.render()},n);return i.stop=()=>{i.loading=!1,clearInterval(s)},Reflect.defineProperty(i,"interval",{value:s}),e.once("close",()=>i.stop()),i.stop}});var a4=X((dRe,o4)=>{"use strict";var{define:Xhe,width:eAe}=Ki(),NS=class{constructor(t){let r=t.options;Xhe(this,"_prompt",t),this.type=t.type,this.name=t.name,this.message="",this.header="",this.footer="",this.error="",this.hint="",this.input="",this.cursor=0,this.index=0,this.lines=0,this.tick=0,this.prompt="",this.buffer="",this.width=eAe(r.stdout||process.stdout),Object.assign(this,r),this.name=this.name||this.message,this.message=this.message||this.name,this.symbols=t.symbols,this.styles=t.styles,this.required=new Set,this.cancelled=!1,this.submitted=!1}clone(){let t={...this};return t.status=this.status,t.buffer=Buffer.from(t.buffer),delete t.clone,t}set color(t){this._color=t}get color(){let t=this.prompt.styles;if(this.cancelled)return t.cancelled;if(this.submitted)return t.submitted;let r=this._color||t[this.status];return typeof r=="function"?r:t.pending}set loading(t){this._loading=t}get loading(){return typeof this._loading=="boolean"?this._loading:this.loadingChoices?"choices":!1}get status(){return this.cancelled?"cancelled":this.submitted?"submitted":"pending"}};o4.exports=NS});var u4=X((fRe,c4)=>{"use strict";var LS=Ki(),Ui=Nn(),MS={default:Ui.noop,noop:Ui.noop,set inverse(e){this._inverse=e},get inverse(){return this._inverse||LS.inverse(this.primary)},set complement(e){this._complement=e},get complement(){return this._complement||LS.complement(this.primary)},primary:Ui.cyan,success:Ui.green,danger:Ui.magenta,strong:Ui.bold,warning:Ui.yellow,muted:Ui.dim,disabled:Ui.gray,dark:Ui.dim.gray,underline:Ui.underline,set info(e){this._info=e},get info(){return this._info||this.primary},set em(e){this._em=e},get em(){return this._em||this.primary.underline},set heading(e){this._heading=e},get heading(){return this._heading||this.muted.underline},set pending(e){this._pending=e},get pending(){return this._pending||this.primary},set submitted(e){this._submitted=e},get submitted(){return this._submitted||this.success},set cancelled(e){this._cancelled=e},get cancelled(){return this._cancelled||this.danger},set typing(e){this._typing=e},get typing(){return this._typing||this.dim},set placeholder(e){this._placeholder=e},get placeholder(){return this._placeholder||this.primary.dim},set highlight(e){this._highlight=e},get highlight(){return this._highlight||this.inverse}};MS.merge=(e={})=>{e.styles&&typeof e.styles.enabled=="boolean"&&(Ui.enabled=e.styles.enabled),e.styles&&typeof e.styles.visible=="boolean"&&(Ui.visible=e.styles.visible);let t=LS.merge({},MS,e.styles);delete t.merge;for(let r of Object.keys(Ui))t.hasOwnProperty(r)||Reflect.defineProperty(t,r,{get:()=>Ui[r]});for(let r of Object.keys(Ui.styles))t.hasOwnProperty(r)||Reflect.defineProperty(t,r,{get:()=>Ui[r]});return t};c4.exports=MS});var h4=X((gRe,l4)=>{"use strict";var OS=process.platform==="win32",Ha=Nn(),tAe=Ki(),PS={...Ha.symbols,upDownDoubleArrow:"\u21D5",upDownDoubleArrow2:"\u2B0D",upDownArrow:"\u2195",asterisk:"*",asterism:"\u2042",bulletWhite:"\u25E6",electricArrow:"\u2301",ellipsisLarge:"\u22EF",ellipsisSmall:"\u2026",fullBlock:"\u2588",identicalTo:"\u2261",indicator:Ha.symbols.check,leftAngle:"\u2039",mark:"\u203B",minus:"\u2212",multiplication:"\xD7",obelus:"\xF7",percent:"%",pilcrow:"\xB6",pilcrow2:"\u2761",pencilUpRight:"\u2710",pencilDownRight:"\u270E",pencilRight:"\u270F",plus:"+",plusMinus:"\xB1",pointRight:"\u261E",rightAngle:"\u203A",section:"\xA7",hexagon:{off:"\u2B21",on:"\u2B22",disabled:"\u2B22"},ballot:{on:"\u2611",off:"\u2610",disabled:"\u2612"},stars:{on:"\u2605",off:"\u2606",disabled:"\u2606"},folder:{on:"\u25BC",off:"\u25B6",disabled:"\u25B6"},prefix:{pending:Ha.symbols.question,submitted:Ha.symbols.check,cancelled:Ha.symbols.cross},separator:{pending:Ha.symbols.pointerSmall,submitted:Ha.symbols.middot,cancelled:Ha.symbols.middot},radio:{off:OS?"( )":"\u25EF",on:OS?"(*)":"\u25C9",disabled:OS?"(|)":"\u24BE"},numbers:["\u24EA","\u2460","\u2461","\u2462","\u2463","\u2464","\u2465","\u2466","\u2467","\u2468","\u2469","\u246A","\u246B","\u246C","\u246D","\u246E","\u246F","\u2470","\u2471","\u2472","\u2473","\u3251","\u3252","\u3253","\u3254","\u3255","\u3256","\u3257","\u3258","\u3259","\u325A","\u325B","\u325C","\u325D","\u325E","\u325F","\u32B1","\u32B2","\u32B3","\u32B4","\u32B5","\u32B6","\u32B7","\u32B8","\u32B9","\u32BA","\u32BB","\u32BC","\u32BD","\u32BE","\u32BF"]};PS.merge=e=>{let t=tAe.merge({},Ha.symbols,PS,e.symbols);return delete t.merge,t};l4.exports=PS});var p4=X((mRe,A4)=>{"use strict";var rAe=u4(),iAe=h4(),nAe=Ki();A4.exports=e=>{e.options=nAe.merge({},e.options.theme,e.options),e.symbols=iAe.merge(e.options),e.styles=rAe.merge(e.options)}});var E4=X((g4,m4)=>{"use strict";var d4=process.env.TERM_PROGRAM==="Apple_Terminal",sAe=Nn(),US=Ki(),eo=m4.exports=g4,Hr="\x1B[",f4="\x07",qS=!1,Kc=eo.code={bell:f4,beep:f4,beginning:`${Hr}G`,down:`${Hr}J`,esc:Hr,getPosition:`${Hr}6n`,hide:`${Hr}?25l`,line:`${Hr}2K`,lineEnd:`${Hr}K`,lineStart:`${Hr}1K`,restorePosition:Hr+(d4?"8":"u"),savePosition:Hr+(d4?"7":"s"),screen:`${Hr}2J`,show:`${Hr}?25h`,up:`${Hr}1J`},bl=eo.cursor={get hidden(){return qS},hide(){return qS=!0,Kc.hide},show(){return qS=!1,Kc.show},forward:(e=1)=>`${Hr}${e}C`,backward:(e=1)=>`${Hr}${e}D`,nextLine:(e=1)=>`${Hr}E`.repeat(e),prevLine:(e=1)=>`${Hr}F`.repeat(e),up:(e=1)=>e?`${Hr}${e}A`:"",down:(e=1)=>e?`${Hr}${e}B`:"",right:(e=1)=>e?`${Hr}${e}C`:"",left:(e=1)=>e?`${Hr}${e}D`:"",to(e,t){return t?`${Hr}${t+1};${e+1}H`:`${Hr}${e+1}G`},move(e=0,t=0){let r="";return r+=e<0?bl.left(-e):e>0?bl.right(e):"",r+=t<0?bl.up(-t):t>0?bl.down(t):"",r},restore(e={}){let{after:t,cursor:r,initial:i,input:n,prompt:s,size:o,value:a}=e;if(i=US.isPrimitive(i)?String(i):"",n=US.isPrimitive(n)?String(n):"",a=US.isPrimitive(a)?String(a):"",o){let u=eo.cursor.up(o)+eo.cursor.to(s.length),l=n.length-r;return l>0&&(u+=eo.cursor.left(l)),u}if(a||t){let u=!n&&i?-i.length:-n.length+r;return t&&(u-=t.length),n===""&&i&&!s.includes(i)&&(u+=i.length),eo.cursor.move(u)}}},VS=eo.erase={screen:Kc.screen,up:Kc.up,down:Kc.down,line:Kc.line,lineEnd:Kc.lineEnd,lineStart:Kc.lineStart,lines(e){let t="";for(let r=0;r<e;r++)t+=eo.erase.line+(r<e-1?eo.cursor.up(1):"");return e&&(t+=eo.code.beginning),t}};eo.clear=(e="",t=process.stdout.columns)=>{if(!t)return VS.line+bl.to(0);let r=s=>[...sAe.unstyle(s)].length,i=e.split(/\r?\n/),n=0;for(let s of i)n+=1+Math.floor(Math.max(r(s)-1,0)/t);return(VS.line+bl.prevLine()).repeat(n-1)+VS.line+bl.to(0)}});var PA=X((ERe,y4)=>{"use strict";var oAe=require("events"),C4=Nn(),$S=i4(),aAe=s4(),cAe=a4(),uAe=p4(),Ln=Ki(),Il=E4(),GS=class e extends oAe{constructor(t={}){super(),this.name=t.name,this.type=t.type,this.options=t,uAe(this),aAe(this),this.state=new cAe(this),this.initial=[t.initial,t.default].find(r=>r!=null),this.stdout=t.stdout||process.stdout,this.stdin=t.stdin||process.stdin,this.scale=t.scale||1,this.term=this.options.term||process.env.TERM_PROGRAM,this.margin=hAe(this.options.margin),this.setMaxListeners(0),lAe(this)}async keypress(t,r={}){this.keypressed=!0;let i=$S.action(t,$S(t,r),this.options.actions);this.state.keypress=i,this.emit("keypress",t,i),this.emit("state",this.state.clone());let n=this.options[i.action]||this[i.action]||this.dispatch;if(typeof n=="function")return await n.call(this,t,i);this.alert()}alert(){delete this.state.alert,this.options.show===!1?this.emit("alert"):this.stdout.write(Il.code.beep)}cursorHide(){this.stdout.write(Il.cursor.hide()),Ln.onExit(()=>this.cursorShow())}cursorShow(){this.stdout.write(Il.cursor.show())}write(t){t&&(this.stdout&&this.state.show!==!1&&this.stdout.write(t),this.state.buffer+=t)}clear(t=0){let r=this.state.buffer;this.state.buffer="",!(!r&&!t||this.options.show===!1)&&this.stdout.write(Il.cursor.down(t)+Il.clear(r,this.width))}restore(){if(this.state.closed||this.options.show===!1)return;let{prompt:t,after:r,rest:i}=this.sections(),{cursor:n,initial:s="",input:o="",value:a=""}=this,u=this.state.size=i.length,l={after:r,cursor:n,initial:s,input:o,prompt:t,size:u,value:a},A=Il.cursor.restore(l);A&&this.stdout.write(A)}sections(){let{buffer:t,input:r,prompt:i}=this.state;i=C4.unstyle(i);let n=C4.unstyle(t),s=n.indexOf(i),o=n.slice(0,s),u=n.slice(s).split(`
|
|
200
|
+
`))}function T0(e){for(let t of A1(e))try{let r=JSON.parse((0,Zi.readFileSync)(t,"utf-8")),i=!1;for(let n of[r.dependencies,r.devDependencies])if(n)for(let[s,o]of Object.entries(n))o==="*"&&(n[s]="workspace:*",i=!0);i&&(0,Zi.writeFileSync)(t,JSON.stringify(r,null,2)+`
|
|
201
|
+
`)}catch{}}function A1(e,t=2){let r=[];for(let i of["packages","libs","apps"]){let n=(0,Ss.join)(e,i);(0,Zi.existsSync)(n)&&p5(n,1,t,r)}return r}function p5(e,t,r,i){if(!(t>r))try{let n=(0,Zi.readdirSync)(e,{withFileTypes:!0});for(let s of n){if(!s.isDirectory())continue;let o=(0,Ss.join)(e,s.name),a=(0,Ss.join)(o,"package.json");(0,Zi.existsSync)(a)&&i.push(a),t<r&&p5(o,t+1,r,i)}}catch{}}function qle(e){let t=[],r=A1(e);for(let i of r)try{let n=JSON.parse((0,Zi.readFileSync)(i,"utf-8"));n.name&&t.push(n.name)}catch{}return t.sort()}var l1=new Map;function p1(e,t=process.cwd()){if(l1.has(e))return l1.get(e);try{let r=(0,Lle.execSync)(`${e} --version`,{cwd:t,encoding:"utf-8",windowsHide:!0}).trim();return l1.set(e,r),r}catch{throw new Mle.CnwError("INVALID_PACKAGE_MANAGER",`Package manager '${e}' is not installed or not found in PATH.`)}}function Vle(){if(process.env.npm_config_user_agent){for(let e of pn.packageManagerList)if(process.env.npm_config_user_agent.startsWith(`${e}/`))return e}if(process.env.npm_execpath){for(let e of pn.packageManagerList)if(process.env.npm_execpath.split(Ss.sep).includes(e))return e}return"npm"}});var E5=X((Yke,m5)=>{m5.exports=Ff;Ff.flatten=Ff;Ff.unflatten=g5;function d5(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function f5(e){return e}function Ff(e,t){t=t||{};let r=t.delimiter||".",i=t.maxDepth,n=t.transformKey||f5,s={};function o(a,u,l){l=l||1,Object.keys(a).forEach(function(A){let h=a[A],d=t.safe&&Array.isArray(h),m=Object.prototype.toString.call(h),g=d5(h),E=m==="[object Object]"||m==="[object Array]",y=u?u+r+n(A):n(A);if(!d&&!g&&E&&Object.keys(h).length&&(!t.maxDepth||l<i))return o(h,y,l+1);s[y]=h})}return o(e),s}function g5(e,t){t=t||{};let r=t.delimiter||".",i=t.overwrite||!1,n=t.transformKey||f5,s={};if(d5(e)||Object.prototype.toString.call(e)!=="[object Object]")return e;function a(A){let h=Number(A);return isNaN(h)||A.indexOf(".")!==-1||t.object?A:h}function u(A,h,d){return Object.keys(d).reduce(function(m,g){return m[A+r+g]=d[g],m},h)}function l(A){let h=Object.prototype.toString.call(A),d=h==="[object Array]",m=h==="[object Object]";if(A){if(d)return!A.length;if(m)return!Object.keys(A).length}else return!0}return e=Object.keys(e).reduce(function(A,h){let d=Object.prototype.toString.call(e[h]);return!(d==="[object Object]"||d==="[object Array]")||l(e[h])?(A[h]=e[h],A):u(h,A,Ff(e[h],t))},{}),Object.keys(e).forEach(function(A){let h=A.split(r).map(n),d=a(h.shift()),m=a(h[0]),g=s;for(;m!==void 0;){if(d==="__proto__")return;let E=Object.prototype.toString.call(g[d]),y=E==="[object Object]"||E==="[object Array]";if(!i&&!y&&typeof g[d]<"u")return;(i&&!y||!i&&g[d]==null)&&(g[d]=typeof m=="number"&&!t.object?[]:{}),g=g[d],h.length>0&&(d=a(h.shift()),m=a(h[0]))}g[d]=g5(e[A],t)}),s}});var g1=X(f1=>{"use strict";Object.defineProperty(f1,"__esModule",{value:!0});f1.unparse=Gle;var $le=E5();function Gle(e){let t=[];for(let r of Object.keys(e)){let i=e[r];d1(r,i,t)}return t}function d1(e,t,r){if(t===!0)r.push(`--${e}`);else if(t===!1)r.push(`--no-${e}`);else if(Array.isArray(t))t.forEach(i=>d1(e,i,r));else if(Object.prototype.toString.call(t)==="[object Object]"){let i=(0,$le.flatten)(t,{safe:!0});for(let n in i)d1(`${e}.${n}`,i[n],r)}else typeof t=="string"&&t.includes(" ")?r.push(`--${e}="${t}"`):t!=null&&r.push(`--${e}=${t}`)}});var y5=X(m1=>{"use strict";Object.defineProperty(m1,"__esModule",{value:!0});m1.createEmptyWorkspace=Zle;var jle=(qo(),na(Uo)),zle=jle.__importDefault(FA()),Hle=require("path"),Yle=ja(),Wle=Xs(),C5=yl(),Jle=g1();async function Zle(e,t,r,i){i.packageManager||(i.packageManager=r);let n=i.name;delete i.skipInstall;let{workingDir:s,...o}=i,a=(0,Jle.unparse)({...o}).join(" "),u=(0,C5.getPackageManagerCommand)(r),l=`new ${a}`,A=(i.workingDir??process.cwd()).replace(/\\/g,"/"),h=`"${A}"`;process.platform==="win32"&&/\s/.test(h)&&r==="npm"&&+(0,C5.getPackageManagerVersion)(r,e).split(".")[0]<7&&(h=`\\"${h.slice(1,-1)}\\"`);let d=(0,zle.default)(`Creating your workspace in ${n}`).start();try{let m=`${u.exec} nx ${l} --nxWorkspaceRoot=${h}`;await(0,Yle.execAndWait)(m,e),d.succeed(`Successfully created the workspace: ${n}`)}catch(m){d.fail();let g=m instanceof Error?m.message:String(m);throw new Wle.CnwError("WORKSPACE_CREATION_FAILED",`Failed to create a workspace: ${g}`)}finally{d.stop()}return(0,Hle.join)(A,n)}});var I5=X(E1=>{"use strict";Object.defineProperty(E1,"__esModule",{value:!0});E1.createPreset=the;var Kle=Xs(),b5=yl(),Xle=ja(),ehe=g1();async function the(e,t,r,i){let{skipGit:n,commit:s,nxCloud:o,workingDir:a,...u}=t;u.verbose||delete u.verbose;let l=(0,ehe.unparse)({interactive:!0,...u}).join(" "),A=(0,b5.getPackageManagerCommand)(r),h=(t.workingDir??process.cwd()).replace(/\\/g,"/"),d=`"${h}"`;process.platform==="win32"&&/\s/.test(d)&&r==="npm"&&+(0,b5.getPackageManagerVersion)(r,h).split(".")[0]<7&&(d=`\\"${d.slice(1,-1)}\\"`),process.env.NX_VERBOSE_LOGGING==="true"||l.includes("--verbose")||(l="--quiet "+l);let m=`g ${e}:preset ${l}`;try{let[g,...E]=A.exec.split(" ");E.push("nx",`--nxWorkspaceRoot=${d}`,...m.split(" ")),await(0,Xle.spawnAndWait)(g,E,i)}catch{throw new Kle.CnwError("PRESET_FAILED",`Failed to apply preset: ${e}`)}}});var U5=X((Kke,za)=>{var kr=require("fs"),N0=require("os"),gi=require("path"),w5=require("crypto"),Go={fs:kr.constants,os:N0.constants},B5="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",S5=/XXXXXX/,rhe=3,D5=(Go.O_CREAT||Go.fs.O_CREAT)|(Go.O_EXCL||Go.fs.O_EXCL)|(Go.O_RDWR||Go.fs.O_RDWR),ihe=N0.platform()==="win32",nhe=Go.EBADF||Go.os.errno.EBADF,she=Go.ENOENT||Go.os.errno.ENOENT,k5=448,R5=384,ohe="exit",NA=[],_5=kr.rmdirSync.bind(kr),T5=!1;function ahe(e,t){return kr.rm(e,{recursive:!0},t)}function F5(e){return kr.rmSync(e,{recursive:!0})}function I1(e,t){let r=LA(e,t),i=r[0],n=r[1];mhe(i,function(s,o){if(s)return n(s);let a=o.tries;(function u(){try{let l=L5(o);kr.stat(l,function(A){if(!A)return a-- >0?u():n(new Error("Could not get a unique tmp filename, max tries reached "+l));n(null,l)})}catch(l){n(l)}})()})}function w1(e){let t=LA(e),r=t[0],i=Ehe(r),n=i.tries;do{let s=L5(i);try{kr.statSync(s)}catch{return s}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function che(e,t){let r=LA(e,t),i=r[0],n=r[1];I1(i,function(o,a){if(o)return n(o);kr.open(a,D5,i.mode||R5,function(l,A){if(l)return n(l);if(i.discardDescriptor)return kr.close(A,function(d){return n(d,a,void 0,y1(a,-1,i,!1))});{let h=i.discardDescriptor||i.detachDescriptor;n(null,a,A,y1(a,h?-1:A,i,!1))}})})}function uhe(e){let t=LA(e),r=t[0],i=r.discardDescriptor||r.detachDescriptor,n=w1(r),s=kr.openSync(n,D5,r.mode||R5);return r.discardDescriptor&&(kr.closeSync(s),s=void 0),{name:n,fd:s,removeCallback:y1(n,i?-1:s,r,!0)}}function lhe(e,t){let r=LA(e,t),i=r[0],n=r[1];I1(i,function(o,a){if(o)return n(o);kr.mkdir(a,i.mode||k5,function(l){if(l)return n(l);n(null,a,N5(a,i,!1))})})}function hhe(e){let t=LA(e),r=t[0],i=w1(r);return kr.mkdirSync(i,r.mode||k5),{name:i,removeCallback:N5(i,r,!0)}}function Ahe(e,t){let r=function(i){if(i&&!b1(i))return t(i);t()};0<=e[0]?kr.close(e[0],function(){kr.unlink(e[1],r)}):kr.unlink(e[1],r)}function phe(e){let t=null;try{0<=e[0]&&kr.closeSync(e[0])}catch(r){if(!Che(r)&&!b1(r))throw r}finally{try{kr.unlinkSync(e[1])}catch(r){b1(r)||(t=r)}}if(t!==null)throw t}function y1(e,t,r,i){let n=F0(phe,[t,e],i),s=F0(Ahe,[t,e],i,n);return r.keep||NA.unshift(n),i?n:s}function N5(e,t,r){let i=t.unsafeCleanup?ahe:kr.rmdir.bind(kr),n=t.unsafeCleanup?F5:_5,s=F0(n,e,r),o=F0(i,e,r,s);return t.keep||NA.unshift(s),r?s:o}function F0(e,t,r,i){let n=!1;return function s(o){if(!n){let a=i||s,u=NA.indexOf(a);return u>=0&&NA.splice(u,1),n=!0,r||e===_5||e===F5?e(t):e(t,o||function(){})}}}function dhe(){if(T5)for(;NA.length;)try{NA[0]()}catch{}}function v5(e){let t=[],r=null;try{r=w5.randomBytes(e)}catch{r=w5.pseudoRandomBytes(e)}for(let i=0;i<e;i++)t.push(B5[r[i]%B5.length]);return t.join("")}function Fn(e){return typeof e>"u"}function LA(e,t){if(typeof e=="function")return[{},e];if(Fn(e))return[{},t];let r={};for(let i of Object.getOwnPropertyNames(e))r[i]=e[i];return[r,t]}function fhe(e,t,r){let i=gi.isAbsolute(e)?e:gi.join(t,e);kr.stat(i,function(n){n?kr.realpath(gi.dirname(i),function(s,o){if(s)return r(s);r(null,gi.join(o,gi.basename(i)))}):kr.realpath(i,r)})}function ghe(e,t){let r=gi.isAbsolute(e)?e:gi.join(t,e);try{return kr.statSync(r),kr.realpathSync(r)}catch{let n=kr.realpathSync(gi.dirname(r));return gi.join(n,gi.basename(r))}}function L5(e){let t=e.tmpdir;if(!Fn(e.name))return gi.join(t,e.dir,e.name);if(!Fn(e.template))return gi.join(t,e.dir,e.template).replace(S5,v5(6));let r=[e.prefix?e.prefix:"tmp","-",process.pid,"-",v5(12),e.postfix?"-"+e.postfix:""].join("");return gi.join(t,e.dir,r)}function C1(e,t){if(typeof t!="string")throw new Error(`${e} option must be a string, got "${typeof t}".`);if(t.includes(".."))throw new Error("Relative value not allowed");return t}function M5(e){if(!Fn(e.name)){let t=e.name;if(gi.isAbsolute(t))throw new Error(`name option must not contain an absolute path, found "${t}".`);let r=gi.basename(t);if(r===".."||r==="."||r!==t)throw new Error(`name option must not contain a path, found "${t}".`)}if(!Fn(e.template)){if(typeof e.template!="string")throw new Error(`template option must be a string, got "${typeof e.template}".`);if(!e.template.match(S5))throw new Error(`Invalid template, found "${e.template}".`)}if(!Fn(e.tries)&&isNaN(e.tries)||e.tries<0)throw new Error(`Invalid tries, found "${e.tries}".`);e.tries=Fn(e.name)?e.tries||rhe:1,e.keep=!!e.keep,e.detachDescriptor=!!e.detachDescriptor,e.discardDescriptor=!!e.discardDescriptor,e.unsafeCleanup=!!e.unsafeCleanup,e.prefix=Fn(e.prefix)?"":C1("prefix",e.prefix),e.postfix=Fn(e.postfix)?"":C1("postfix",e.postfix),e.template=Fn(e.template)?void 0:C1("template",e.template)}function x5(e,t,r,i){if(Fn(t))return i(null);fhe(t,r,function(n,s){if(n)return i(n);let o=gi.relative(r,s);if(o.startsWith("..")||gi.isAbsolute(o))return i(new Error(`${e} option must be relative to "${r}", found "${o}".`));i(null,o)})}function Q5(e,t,r){if(Fn(t))return;let i=ghe(t,r),n=gi.relative(r,i);if(n.startsWith("..")||gi.isAbsolute(n))throw new Error(`${e} option must be relative to "${r}", found "${n}".`);return n}function mhe(e,t){bhe(e,function(r,i){if(r)return t(r);e.tmpdir=i;try{M5(e,i)}catch(n){return t(n)}x5("dir",e.dir,i,function(n,s){if(n)return t(n);e.dir=Fn(s)?"":s,x5("template",e.template,i,function(o,a){if(o)return t(o);e.template=a,t(null,e)})})})}function Ehe(e){let t=e.tmpdir=P5(e);M5(e,t);let r=Q5("dir",e.dir,t);return e.dir=Fn(r)?"":r,e.template=Q5("template",e.template,t),e}function Che(e){return O5(e,-nhe,"EBADF")}function b1(e){return O5(e,-she,"ENOENT")}function O5(e,t,r){return ihe?e.code===r:e.code===r&&e.errno===t}function yhe(){T5=!0}function bhe(e,t){return kr.realpath(e&&e.tmpdir||N0.tmpdir(),t)}function P5(e){return kr.realpathSync(e&&e.tmpdir||N0.tmpdir())}process.addListener(ohe,dhe);Object.defineProperty(za.exports,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return P5()}});za.exports.dir=lhe;za.exports.dirSync=hhe;za.exports.file=che;za.exports.fileSync=uhe;za.exports.tmpName=I1;za.exports.tmpNameSync=w1;za.exports.setGracefulCleanup=yhe});var q5=X((Xke,Ihe)=>{Ihe.exports={name:"create-nx-workspace",version:"22.7.8",private:!1,description:"Smart Monorepos \xB7 Fast Builds",repository:{type:"git",url:"https://github.com/nrwl/nx.git",directory:"packages/create-nx-workspace"},keywords:["Monorepo","Angular","React","Web","Node","Nest","Jest","Cypress","Playwright","CLI"],bin:{"create-nx-workspace":"./bin/index.js"},author:"Victor Savkin",license:"MIT",bugs:{url:"https://github.com/nrwl/nx/issues"},homepage:"https://nx.dev",dependencies:{axios:"1.18.1",chalk:"^4.1.0",enquirer:"~2.3.6",flat:"^5.0.2",open:"^8.4.0",ora:"5.3.0",tmp:"~0.2.1",tslib:"^2.3.0",yargs:"^17.6.2"},publishConfig:{access:"public"}}});var B1=X(L0=>{"use strict";Object.defineProperty(L0,"__esModule",{value:!0});L0.nxVersion=void 0;L0.nxVersion=q5().version});var j5=X(x1=>{"use strict";Object.defineProperty(x1,"__esModule",{value:!0});x1.createSandbox=She;var whe=(qo(),na(Uo)),Bhe=require("fs"),vhe=U5(),xhe=whe.__importDefault(FA()),Qhe=require("path"),V5=yl(),$5=ja(),G5=B1(),v1=Xs();async function She(e){let t=(0,xhe.default)(`Installing dependencies with ${e}`).start(),{install:r,preInstall:i}=(0,V5.getPackageManagerCommand)(e),n=(0,vhe.dirSync)().name;try{(0,Bhe.writeFileSync)((0,Qhe.join)(n,"package.json"),JSON.stringify({dependencies:{nx:G5.nxVersion,"@nx/workspace":G5.nxVersion},license:"MIT"})),(0,V5.generatePackageManagerFiles)(n,e),i&&await(0,$5.execAndWait)(i,n),await(0,$5.execAndWait)(r,n),t.succeed()}catch(s){t.fail();let o=s instanceof v1.CnwError?s.logFile:void 0,a=s instanceof v1.CnwError?s.exitCode:void 0,u=s instanceof Error?s.message:String(s),l=["Failed to install dependencies"];throw u?.trim()&&l.push(u.trim()),a!=null&&l.push(`Exit code: ${a}`),o&&l.push(`Log file: ${o}`),l.push(`
|
|
202
|
+
Please verify that "${r}" runs successfully in a temporary directory.`),new v1.CnwError("SANDBOX_FAILED",l.join(`
|
|
203
|
+
`),o,a??void 0)}finally{t.stop()}return n}});var z5=X(Q1=>{"use strict";Object.defineProperty(Q1,"__esModule",{value:!0});Q1.setupCI=Fhe;var Dhe=(qo(),na(Uo)),khe=Dhe.__importDefault(FA()),Rhe=ja(),_he=Xs(),The=yl();async function Fhe(e,t,r){let i=(0,khe.default)("Generating CI workflow").start();try{let n=(0,The.getPackageManagerCommand)(r),s=await(0,Rhe.execAndWait)(`${n.exec} nx g @nx/workspace:ci-workflow --ci=${t} --useRunMany=true`,e);return i.succeed("CI workflow has been generated successfully"),s}catch(n){i.fail();let s=n instanceof Error?n.message:String(n);throw new _he.CnwError("CI_WORKFLOW_FAILED",`Failed to generate CI workflow: ${s}`)}finally{i.stop()}}});var D1=X(S1=>{"use strict";Object.defineProperty(S1,"__esModule",{value:!0});S1.deduceDefaultBase=Lhe;var Nhe=require("child_process");function Lhe(){let e="main";try{return(0,Nhe.execSync)("git config --get init.defaultBranch",{windowsHide:!0}).toString().trim()||e}catch{return e}}});var Nf=X(k1=>{"use strict";Object.defineProperty(k1,"__esModule",{value:!0});k1.isCI=Mhe;function Mhe(){return process.env.CI&&process.env.CI!=="false"||process.env.TF_BUILD==="true"||process.env.GITHUB_ACTIONS==="true"||process.env.BUILDKITE==="true"||process.env.CIRCLECI==="true"||process.env.CIRRUS_CI==="true"||process.env.TRAVIS==="true"||!!process.env["bamboo.buildKey"]||!!process.env.CODEBUILD_BUILD_ID||!!process.env.GITLAB_CI||!!process.env.HEROKU_TEST_RUN_ID||!!process.env.BUILD_ID||!!process.env.BUILD_BUILDID||!!process.env.TEAMCITY_VERSION}});var Mf=X(MA=>{"use strict";Object.defineProperty(MA,"__esModule",{value:!0});MA.output=MA.CLIOutput=void 0;var Ohe=(qo(),na(Uo)),_i=Ohe.__importDefault(cl()),Lf=require("os"),Phe=Nf();(0,Phe.isCI)()&&(_i.default.level=0);var M0=class{constructor(t=!0){this.real=t,this.outstream=this.real?process.stdout:new R1,this.colors={gray:_i.default.gray,green:_i.default.green,red:_i.default.red,cyan:_i.default.cyan,white:_i.default.white},this.bold=_i.default.bold,this.underline=_i.default.underline,this.dim=_i.default.dim,this.cliName="NX"}get VERTICAL_SEPARATOR(){let t="";for(let r=0;r<process.stdout.columns-1;r++)t+="\u2014";return t}writeToStdOut(t){this.outstream.write(t)}writeOutputTitle({color:t,title:r}){this.writeToStdOut(`${this.applyCLIPrefix(t,r)}${Lf.EOL}`)}writeOptionalOutputBody(t){t&&(this.addNewline(),t.forEach(r=>this.writeToStdOut(`${r}${Lf.EOL}`)))}setCliName(t){this.cliName=t}applyCLIPrefix(t="cyan",r){let i="";return _i.default[t]?i=_i.default.reset.inverse.bold[t](` ${this.cliName} `):i=_i.default.reset.inverse.bold.keyword(t)(` ${this.cliName} `),`${i} ${r}`}addNewline(){this.writeToStdOut(Lf.EOL)}writeLines(t){t.forEach(r=>this.writeToStdOut(`${r}${Lf.EOL}`))}addVerticalSeparator(t="gray"){this.addNewline(),this.addVerticalSeparatorWithoutNewLines(t),this.addNewline()}addVerticalSeparatorWithoutNewLines(t="gray"){this.writeToStdOut(`${_i.default.dim[t](this.VERTICAL_SEPARATOR)}${Lf.EOL}`)}error({title:t,bodyLines:r}){this.addNewline(),this.writeOutputTitle({color:"red",title:_i.default.red(t)}),this.writeOptionalOutputBody(r),this.addNewline()}warn({title:t,bodyLines:r}){this.addNewline(),this.writeOutputTitle({color:"yellow",title:_i.default.yellow(t)}),this.writeOptionalOutputBody(r),this.addNewline()}note({title:t,bodyLines:r}){this.addNewline(),this.writeOutputTitle({color:"orange",title:_i.default.keyword("orange")(t)}),this.writeOptionalOutputBody(r),this.addNewline()}success({title:t,bodyLines:r}){this.addNewline(),this.writeOutputTitle({color:"green",title:_i.default.green(t)}),this.writeOptionalOutputBody(r)}logSingleLine(t){this.addNewline(),this.writeOutputTitle({color:"gray",title:t}),this.addNewline()}log({title:t,bodyLines:r,color:i}){this.addNewline(),this.writeOutputTitle({color:"cyan",title:i?_i.default[i](t):t}),this.writeOptionalOutputBody(r),this.addNewline()}getOutput(){return this.outstream.toString()}};MA.CLIOutput=M0;MA.output=new M0;var R1=class{constructor(){this.content=""}write(t){this.content+=t}toString(){return this.content}}});var J5=X((oRe,Of)=>{"use strict";var Uhe=typeof process<"u"&&process.env.TERM_PROGRAM==="Hyper",qhe=typeof process<"u"&&process.platform==="win32",H5=typeof process<"u"&&process.platform==="linux",_1={ballotDisabled:"\u2612",ballotOff:"\u2610",ballotOn:"\u2611",bullet:"\u2022",bulletWhite:"\u25E6",fullBlock:"\u2588",heart:"\u2764",identicalTo:"\u2261",line:"\u2500",mark:"\u203B",middot:"\xB7",minus:"\uFF0D",multiplication:"\xD7",obelus:"\xF7",pencilDownRight:"\u270E",pencilRight:"\u270F",pencilUpRight:"\u2710",percent:"%",pilcrow2:"\u2761",pilcrow:"\xB6",plusMinus:"\xB1",question:"?",section:"\xA7",starsOff:"\u2606",starsOn:"\u2605",upDownArrow:"\u2195"},Y5=Object.assign({},_1,{check:"\u221A",cross:"\xD7",ellipsisLarge:"...",ellipsis:"...",info:"i",questionSmall:"?",pointer:">",pointerSmall:"\xBB",radioOff:"( )",radioOn:"(*)",warning:"\u203C"}),W5=Object.assign({},_1,{ballotCross:"\u2718",check:"\u2714",cross:"\u2716",ellipsisLarge:"\u22EF",ellipsis:"\u2026",info:"\u2139",questionFull:"\uFF1F",questionSmall:"\uFE56",pointer:H5?"\u25B8":"\u276F",pointerSmall:H5?"\u2023":"\u203A",radioOff:"\u25EF",radioOn:"\u25C9",warning:"\u26A0"});Of.exports=qhe&&!Uhe?Y5:W5;Reflect.defineProperty(Of.exports,"common",{enumerable:!1,value:_1});Reflect.defineProperty(Of.exports,"windows",{enumerable:!1,value:Y5});Reflect.defineProperty(Of.exports,"other",{enumerable:!1,value:W5})});var Nn=X((aRe,T1)=>{"use strict";var Vhe=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),$he=/[\u001b\u009b][[\]#;?()]*(?:(?:(?:[^\W_]*;?[^\W_]*)\u0007)|(?:(?:[0-9]{1,4}(;[0-9]{0,4})*)?[~0-9=<>cf-nqrtyA-PRZ]))/g,Ghe=()=>typeof process<"u"?process.env.FORCE_COLOR!=="0":!1,Z5=()=>{let e={enabled:Ghe(),visible:!0,styles:{},keys:{}},t=s=>{let o=s.open=`\x1B[${s.codes[0]}m`,a=s.close=`\x1B[${s.codes[1]}m`,u=s.regex=new RegExp(`\\u001b\\[${s.codes[1]}m`,"g");return s.wrap=(l,A)=>{l.includes(a)&&(l=l.replace(u,a+o));let h=o+l+a;return A?h.replace(/\r*\n/g,`${a}$&${o}`):h},s},r=(s,o,a)=>typeof s=="function"?s(o):s.wrap(o,a),i=(s,o)=>{if(s===""||s==null)return"";if(e.enabled===!1)return s;if(e.visible===!1)return"";let a=""+s,u=a.includes(`
|
|
204
|
+
`),l=o.length;for(l>0&&o.includes("unstyle")&&(o=[...new Set(["unstyle",...o])].reverse());l-- >0;)a=r(e.styles[o[l]],a,u);return a},n=(s,o,a)=>{e.styles[s]=t({name:s,codes:o}),(e.keys[a]||(e.keys[a]=[])).push(s),Reflect.defineProperty(e,s,{configurable:!0,enumerable:!0,set(l){e.alias(s,l)},get(){let l=A=>i(A,l.stack);return Reflect.setPrototypeOf(l,e),l.stack=this.stack?this.stack.concat(s):[s],l}})};return n("reset",[0,0],"modifier"),n("bold",[1,22],"modifier"),n("dim",[2,22],"modifier"),n("italic",[3,23],"modifier"),n("underline",[4,24],"modifier"),n("inverse",[7,27],"modifier"),n("hidden",[8,28],"modifier"),n("strikethrough",[9,29],"modifier"),n("black",[30,39],"color"),n("red",[31,39],"color"),n("green",[32,39],"color"),n("yellow",[33,39],"color"),n("blue",[34,39],"color"),n("magenta",[35,39],"color"),n("cyan",[36,39],"color"),n("white",[37,39],"color"),n("gray",[90,39],"color"),n("grey",[90,39],"color"),n("bgBlack",[40,49],"bg"),n("bgRed",[41,49],"bg"),n("bgGreen",[42,49],"bg"),n("bgYellow",[43,49],"bg"),n("bgBlue",[44,49],"bg"),n("bgMagenta",[45,49],"bg"),n("bgCyan",[46,49],"bg"),n("bgWhite",[47,49],"bg"),n("blackBright",[90,39],"bright"),n("redBright",[91,39],"bright"),n("greenBright",[92,39],"bright"),n("yellowBright",[93,39],"bright"),n("blueBright",[94,39],"bright"),n("magentaBright",[95,39],"bright"),n("cyanBright",[96,39],"bright"),n("whiteBright",[97,39],"bright"),n("bgBlackBright",[100,49],"bgBright"),n("bgRedBright",[101,49],"bgBright"),n("bgGreenBright",[102,49],"bgBright"),n("bgYellowBright",[103,49],"bgBright"),n("bgBlueBright",[104,49],"bgBright"),n("bgMagentaBright",[105,49],"bgBright"),n("bgCyanBright",[106,49],"bgBright"),n("bgWhiteBright",[107,49],"bgBright"),e.ansiRegex=$he,e.hasColor=e.hasAnsi=s=>(e.ansiRegex.lastIndex=0,typeof s=="string"&&s!==""&&e.ansiRegex.test(s)),e.alias=(s,o)=>{let a=typeof o=="string"?e[o]:o;if(typeof a!="function")throw new TypeError("Expected alias to be the name of an existing color (string) or a function");a.stack||(Reflect.defineProperty(a,"name",{value:s}),e.styles[s]=a,a.stack=[s]),Reflect.defineProperty(e,s,{configurable:!0,enumerable:!0,set(u){e.alias(s,u)},get(){let u=l=>i(l,u.stack);return Reflect.setPrototypeOf(u,e),u.stack=this.stack?this.stack.concat(a.stack):a.stack,u}})},e.theme=s=>{if(!Vhe(s))throw new TypeError("Expected theme to be an object");for(let o of Object.keys(s))e.alias(o,s[o]);return e},e.alias("unstyle",s=>typeof s=="string"&&s!==""?(e.ansiRegex.lastIndex=0,s.replace(e.ansiRegex,"")):""),e.alias("noop",s=>s),e.none=e.clear=e.noop,e.stripColor=e.unstyle,e.symbols=J5(),e.define=n,e};T1.exports=Z5();T1.exports.create=Z5});var Ki=X(sr=>{"use strict";var jhe=Object.prototype.toString,Ds=Nn(),K5=!1,F1=[],X5={yellow:"blue",cyan:"red",green:"magenta",black:"white",blue:"yellow",red:"cyan",magenta:"green",white:"black"};sr.longest=(e,t)=>e.reduce((r,i)=>Math.max(r,t?i[t].length:i.length),0);sr.hasColor=e=>!!e&&Ds.hasColor(e);var O0=sr.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);sr.nativeType=e=>jhe.call(e).slice(8,-1).toLowerCase().replace(/\s/g,"");sr.isAsyncFn=e=>sr.nativeType(e)==="asyncfunction";sr.isPrimitive=e=>e!=null&&typeof e!="object"&&typeof e!="function";sr.resolve=(e,t,...r)=>typeof t=="function"?t.call(e,...r):t;sr.scrollDown=(e=[])=>[...e.slice(1),e[0]];sr.scrollUp=(e=[])=>[e.pop(),...e];sr.reorder=(e=[])=>{let t=e.slice();return t.sort((r,i)=>r.index>i.index?1:r.index<i.index?-1:0),t};sr.swap=(e,t,r)=>{let i=e.length,n=r===i?0:r<0?i-1:r,s=e[t];e[t]=e[n],e[n]=s};sr.width=(e,t=80)=>{let r=e&&e.columns?e.columns:t;return e&&typeof e.getWindowSize=="function"&&(r=e.getWindowSize()[0]),process.platform==="win32"?r-1:r};sr.height=(e,t=20)=>{let r=e&&e.rows?e.rows:t;return e&&typeof e.getWindowSize=="function"&&(r=e.getWindowSize()[1]),r};sr.wordWrap=(e,t={})=>{if(!e)return e;typeof t=="number"&&(t={width:t});let{indent:r="",newline:i=`
|
|
205
|
+
`+r,width:n=80}=t,s=(i+r).match(/[^\S\n]/g)||[];n-=s.length;let o=`.{1,${n}}([\\s\\u200B]+|$)|[^\\s\\u200B]+?([\\s\\u200B]+|$)`,a=e.trim(),u=new RegExp(o,"g"),l=a.match(u)||[];return l=l.map(A=>A.replace(/\n$/,"")),t.padEnd&&(l=l.map(A=>A.padEnd(n," "))),t.padStart&&(l=l.map(A=>A.padStart(n," "))),r+l.join(i)};sr.unmute=e=>{let t=e.stack.find(i=>Ds.keys.color.includes(i));return t?Ds[t]:e.stack.find(i=>i.slice(2)==="bg")?Ds[t.slice(2)]:i=>i};sr.pascal=e=>e?e[0].toUpperCase()+e.slice(1):"";sr.inverse=e=>{if(!e||!e.stack)return e;let t=e.stack.find(i=>Ds.keys.color.includes(i));if(t){let i=Ds["bg"+sr.pascal(t)];return i?i.black:e}let r=e.stack.find(i=>i.slice(0,2)==="bg");return r?Ds[r.slice(2).toLowerCase()]||e:Ds.none};sr.complement=e=>{if(!e||!e.stack)return e;let t=e.stack.find(i=>Ds.keys.color.includes(i)),r=e.stack.find(i=>i.slice(0,2)==="bg");if(t&&!r)return Ds[X5[t]||t];if(r){let i=r.slice(2).toLowerCase(),n=X5[i];return n&&Ds["bg"+sr.pascal(n)]||e}return Ds.none};sr.meridiem=e=>{let t=e.getHours(),r=e.getMinutes(),i=t>=12?"pm":"am";t=t%12;let n=t===0?12:t,s=r<10?"0"+r:r;return n+":"+s+" "+i};sr.set=(e={},t="",r)=>t.split(".").reduce((i,n,s,o)=>{let a=o.length-1>s?i[n]||{}:r;return!sr.isObject(a)&&s<o.length-1&&(a={}),i[n]=a},e);sr.get=(e={},t="",r)=>{let i=e[t]==null?t.split(".").reduce((n,s)=>n&&n[s],e):e[t];return i??r};sr.mixin=(e,t)=>{if(!O0(e))return t;if(!O0(t))return e;for(let r of Object.keys(t)){let i=Object.getOwnPropertyDescriptor(t,r);if(i.hasOwnProperty("value"))if(e.hasOwnProperty(r)&&O0(i.value)){let n=Object.getOwnPropertyDescriptor(e,r);O0(n.value)?e[r]=sr.merge({},e[r],t[r]):Reflect.defineProperty(e,r,i)}else Reflect.defineProperty(e,r,i);else Reflect.defineProperty(e,r,i)}return e};sr.merge=(...e)=>{let t={};for(let r of e)sr.mixin(t,r);return t};sr.mixinEmitter=(e,t)=>{let r=t.constructor.prototype;for(let i of Object.keys(r)){let n=r[i];typeof n=="function"?sr.define(e,i,n.bind(t)):sr.define(e,i,n)}};sr.onExit=e=>{let t=(r,i)=>{K5||(K5=!0,F1.forEach(n=>n()),r===!0&&process.exit(128+i))};F1.length===0&&(process.once("SIGTERM",t.bind(null,!0,15)),process.once("SIGINT",t.bind(null,!0,2)),process.once("exit",t)),F1.push(e)};sr.define=(e,t,r)=>{Reflect.defineProperty(e,t,{value:r})};sr.defineExport=(e,t,r)=>{let i;Reflect.defineProperty(e,t,{enumerable:!0,configurable:!0,set(n){i=n},get(){return i?i():r()}})}});var e4=X(OA=>{"use strict";OA.ctrl={a:"first",b:"backward",c:"cancel",d:"deleteForward",e:"last",f:"forward",g:"reset",i:"tab",k:"cutForward",l:"reset",n:"newItem",m:"cancel",j:"submit",p:"search",r:"remove",s:"save",u:"undo",w:"cutLeft",x:"toggleCursor",v:"paste"};OA.shift={up:"shiftUp",down:"shiftDown",left:"shiftLeft",right:"shiftRight",tab:"prev"};OA.fn={up:"pageUp",down:"pageDown",left:"pageLeft",right:"pageRight",delete:"deleteForward"};OA.option={b:"backward",f:"forward",d:"cutRight",left:"cutLeft",up:"altUp",down:"altDown"};OA.keys={pageup:"pageUp",pagedown:"pageDown",home:"home",end:"end",cancel:"cancel",delete:"deleteForward",backspace:"delete",down:"down",enter:"submit",escape:"cancel",left:"left",space:"space",number:"number",return:"submit",right:"right",tab:"next",up:"up"}});var i4=X((lRe,r4)=>{"use strict";var t4=require("readline"),zhe=e4(),Hhe=/^(?:\x1b)([a-zA-Z0-9])$/,Yhe=/^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/,Whe={OP:"f1",OQ:"f2",OR:"f3",OS:"f4","[11~":"f1","[12~":"f2","[13~":"f3","[14~":"f4","[[A":"f1","[[B":"f2","[[C":"f3","[[D":"f4","[[E":"f5","[15~":"f5","[17~":"f6","[18~":"f7","[19~":"f8","[20~":"f9","[21~":"f10","[23~":"f11","[24~":"f12","[A":"up","[B":"down","[C":"right","[D":"left","[E":"clear","[F":"end","[H":"home",OA:"up",OB:"down",OC:"right",OD:"left",OE:"clear",OF:"end",OH:"home","[1~":"home","[2~":"insert","[3~":"delete","[4~":"end","[5~":"pageup","[6~":"pagedown","[[5~":"pageup","[[6~":"pagedown","[7~":"home","[8~":"end","[a":"up","[b":"down","[c":"right","[d":"left","[e":"clear","[2$":"insert","[3$":"delete","[5$":"pageup","[6$":"pagedown","[7$":"home","[8$":"end",Oa:"up",Ob:"down",Oc:"right",Od:"left",Oe:"clear","[2^":"insert","[3^":"delete","[5^":"pageup","[6^":"pagedown","[7^":"home","[8^":"end","[Z":"tab"};function Jhe(e){return["[a","[b","[c","[d","[e","[2$","[3$","[5$","[6$","[7$","[8$","[Z"].includes(e)}function Zhe(e){return["Oa","Ob","Oc","Od","Oe","[2^","[3^","[5^","[6^","[7^","[8^"].includes(e)}var P0=(e="",t={})=>{let r,i={name:t.name,ctrl:!1,meta:!1,shift:!1,option:!1,sequence:e,raw:e,...t};if(Buffer.isBuffer(e)?e[0]>127&&e[1]===void 0?(e[0]-=128,e="\x1B"+String(e)):e=String(e):e!==void 0&&typeof e!="string"?e=String(e):e||(e=i.sequence||""),i.sequence=i.sequence||e||i.name,e==="\r")i.raw=void 0,i.name="return";else if(e===`
|
|
206
|
+
`)i.name="enter";else if(e===" ")i.name="tab";else if(e==="\b"||e==="\x7F"||e==="\x1B\x7F"||e==="\x1B\b")i.name="backspace",i.meta=e.charAt(0)==="\x1B";else if(e==="\x1B"||e==="\x1B\x1B")i.name="escape",i.meta=e.length===2;else if(e===" "||e==="\x1B ")i.name="space",i.meta=e.length===2;else if(e<="")i.name=String.fromCharCode(e.charCodeAt(0)+97-1),i.ctrl=!0;else if(e.length===1&&e>="0"&&e<="9")i.name="number";else if(e.length===1&&e>="a"&&e<="z")i.name=e;else if(e.length===1&&e>="A"&&e<="Z")i.name=e.toLowerCase(),i.shift=!0;else if(r=Hhe.exec(e))i.meta=!0,i.shift=/^[A-Z]$/.test(r[1]);else if(r=Yhe.exec(e)){let n=[...e];n[0]==="\x1B"&&n[1]==="\x1B"&&(i.option=!0);let s=[r[1],r[2],r[4],r[6]].filter(Boolean).join(""),o=(r[3]||r[5]||1)-1;i.ctrl=!!(o&4),i.meta=!!(o&10),i.shift=!!(o&1),i.code=s,i.name=Whe[s],i.shift=Jhe(s)||i.shift,i.ctrl=Zhe(s)||i.ctrl}return i};P0.listen=(e={},t)=>{let{stdin:r}=e;if(!r||r!==process.stdin&&!r.isTTY)throw new Error("Invalid stream passed");let i=t4.createInterface({terminal:!0,input:r});t4.emitKeypressEvents(r,i);let n=(a,u)=>t(a,P0(a,u),i),s=r.isRaw;return r.isTTY&&r.setRawMode(!0),r.on("keypress",n),i.resume(),()=>{r.isTTY&&r.setRawMode(s),r.removeListener("keypress",n),i.pause(),i.close()}};P0.action=(e,t,r)=>{let i={...zhe,...r};return t.ctrl?(t.action=i.ctrl[t.name],t):t.option&&i.option?(t.action=i.option[t.name],t):t.shift?(t.action=i.shift[t.name],t):(t.action=i.keys[t.name],t)};r4.exports=P0});var s4=X((hRe,n4)=>{"use strict";n4.exports=e=>{e.timers=e.timers||{};let t=e.options.timers;if(t)for(let r of Object.keys(t)){let i=t[r];typeof i=="number"&&(i={interval:i}),Khe(e,r,i)}};function Khe(e,t,r={}){let i=e.timers[t]={name:t,start:Date.now(),ms:0,tick:0},n=r.interval||120;i.frames=r.frames||[],i.loading=!0;let s=setInterval(()=>{i.ms=Date.now()-i.start,i.tick++,e.render()},n);return i.stop=()=>{i.loading=!1,clearInterval(s)},Reflect.defineProperty(i,"interval",{value:s}),e.once("close",()=>i.stop()),i.stop}});var a4=X((ARe,o4)=>{"use strict";var{define:Xhe,width:eAe}=Ki(),N1=class{constructor(t){let r=t.options;Xhe(this,"_prompt",t),this.type=t.type,this.name=t.name,this.message="",this.header="",this.footer="",this.error="",this.hint="",this.input="",this.cursor=0,this.index=0,this.lines=0,this.tick=0,this.prompt="",this.buffer="",this.width=eAe(r.stdout||process.stdout),Object.assign(this,r),this.name=this.name||this.message,this.message=this.message||this.name,this.symbols=t.symbols,this.styles=t.styles,this.required=new Set,this.cancelled=!1,this.submitted=!1}clone(){let t={...this};return t.status=this.status,t.buffer=Buffer.from(t.buffer),delete t.clone,t}set color(t){this._color=t}get color(){let t=this.prompt.styles;if(this.cancelled)return t.cancelled;if(this.submitted)return t.submitted;let r=this._color||t[this.status];return typeof r=="function"?r:t.pending}set loading(t){this._loading=t}get loading(){return typeof this._loading=="boolean"?this._loading:this.loadingChoices?"choices":!1}get status(){return this.cancelled?"cancelled":this.submitted?"submitted":"pending"}};o4.exports=N1});var u4=X((pRe,c4)=>{"use strict";var L1=Ki(),Ui=Nn(),M1={default:Ui.noop,noop:Ui.noop,set inverse(e){this._inverse=e},get inverse(){return this._inverse||L1.inverse(this.primary)},set complement(e){this._complement=e},get complement(){return this._complement||L1.complement(this.primary)},primary:Ui.cyan,success:Ui.green,danger:Ui.magenta,strong:Ui.bold,warning:Ui.yellow,muted:Ui.dim,disabled:Ui.gray,dark:Ui.dim.gray,underline:Ui.underline,set info(e){this._info=e},get info(){return this._info||this.primary},set em(e){this._em=e},get em(){return this._em||this.primary.underline},set heading(e){this._heading=e},get heading(){return this._heading||this.muted.underline},set pending(e){this._pending=e},get pending(){return this._pending||this.primary},set submitted(e){this._submitted=e},get submitted(){return this._submitted||this.success},set cancelled(e){this._cancelled=e},get cancelled(){return this._cancelled||this.danger},set typing(e){this._typing=e},get typing(){return this._typing||this.dim},set placeholder(e){this._placeholder=e},get placeholder(){return this._placeholder||this.primary.dim},set highlight(e){this._highlight=e},get highlight(){return this._highlight||this.inverse}};M1.merge=(e={})=>{e.styles&&typeof e.styles.enabled=="boolean"&&(Ui.enabled=e.styles.enabled),e.styles&&typeof e.styles.visible=="boolean"&&(Ui.visible=e.styles.visible);let t=L1.merge({},M1,e.styles);delete t.merge;for(let r of Object.keys(Ui))t.hasOwnProperty(r)||Reflect.defineProperty(t,r,{get:()=>Ui[r]});for(let r of Object.keys(Ui.styles))t.hasOwnProperty(r)||Reflect.defineProperty(t,r,{get:()=>Ui[r]});return t};c4.exports=M1});var h4=X((dRe,l4)=>{"use strict";var O1=process.platform==="win32",Ha=Nn(),tAe=Ki(),P1={...Ha.symbols,upDownDoubleArrow:"\u21D5",upDownDoubleArrow2:"\u2B0D",upDownArrow:"\u2195",asterisk:"*",asterism:"\u2042",bulletWhite:"\u25E6",electricArrow:"\u2301",ellipsisLarge:"\u22EF",ellipsisSmall:"\u2026",fullBlock:"\u2588",identicalTo:"\u2261",indicator:Ha.symbols.check,leftAngle:"\u2039",mark:"\u203B",minus:"\u2212",multiplication:"\xD7",obelus:"\xF7",percent:"%",pilcrow:"\xB6",pilcrow2:"\u2761",pencilUpRight:"\u2710",pencilDownRight:"\u270E",pencilRight:"\u270F",plus:"+",plusMinus:"\xB1",pointRight:"\u261E",rightAngle:"\u203A",section:"\xA7",hexagon:{off:"\u2B21",on:"\u2B22",disabled:"\u2B22"},ballot:{on:"\u2611",off:"\u2610",disabled:"\u2612"},stars:{on:"\u2605",off:"\u2606",disabled:"\u2606"},folder:{on:"\u25BC",off:"\u25B6",disabled:"\u25B6"},prefix:{pending:Ha.symbols.question,submitted:Ha.symbols.check,cancelled:Ha.symbols.cross},separator:{pending:Ha.symbols.pointerSmall,submitted:Ha.symbols.middot,cancelled:Ha.symbols.middot},radio:{off:O1?"( )":"\u25EF",on:O1?"(*)":"\u25C9",disabled:O1?"(|)":"\u24BE"},numbers:["\u24EA","\u2460","\u2461","\u2462","\u2463","\u2464","\u2465","\u2466","\u2467","\u2468","\u2469","\u246A","\u246B","\u246C","\u246D","\u246E","\u246F","\u2470","\u2471","\u2472","\u2473","\u3251","\u3252","\u3253","\u3254","\u3255","\u3256","\u3257","\u3258","\u3259","\u325A","\u325B","\u325C","\u325D","\u325E","\u325F","\u32B1","\u32B2","\u32B3","\u32B4","\u32B5","\u32B6","\u32B7","\u32B8","\u32B9","\u32BA","\u32BB","\u32BC","\u32BD","\u32BE","\u32BF"]};P1.merge=e=>{let t=tAe.merge({},Ha.symbols,P1,e.symbols);return delete t.merge,t};l4.exports=P1});var p4=X((fRe,A4)=>{"use strict";var rAe=u4(),iAe=h4(),nAe=Ki();A4.exports=e=>{e.options=nAe.merge({},e.options.theme,e.options),e.symbols=iAe.merge(e.options),e.styles=rAe.merge(e.options)}});var E4=X((g4,m4)=>{"use strict";var d4=process.env.TERM_PROGRAM==="Apple_Terminal",sAe=Nn(),U1=Ki(),eo=m4.exports=g4,Hr="\x1B[",f4="\x07",q1=!1,Kc=eo.code={bell:f4,beep:f4,beginning:`${Hr}G`,down:`${Hr}J`,esc:Hr,getPosition:`${Hr}6n`,hide:`${Hr}?25l`,line:`${Hr}2K`,lineEnd:`${Hr}K`,lineStart:`${Hr}1K`,restorePosition:Hr+(d4?"8":"u"),savePosition:Hr+(d4?"7":"s"),screen:`${Hr}2J`,show:`${Hr}?25h`,up:`${Hr}1J`},bl=eo.cursor={get hidden(){return q1},hide(){return q1=!0,Kc.hide},show(){return q1=!1,Kc.show},forward:(e=1)=>`${Hr}${e}C`,backward:(e=1)=>`${Hr}${e}D`,nextLine:(e=1)=>`${Hr}E`.repeat(e),prevLine:(e=1)=>`${Hr}F`.repeat(e),up:(e=1)=>e?`${Hr}${e}A`:"",down:(e=1)=>e?`${Hr}${e}B`:"",right:(e=1)=>e?`${Hr}${e}C`:"",left:(e=1)=>e?`${Hr}${e}D`:"",to(e,t){return t?`${Hr}${t+1};${e+1}H`:`${Hr}${e+1}G`},move(e=0,t=0){let r="";return r+=e<0?bl.left(-e):e>0?bl.right(e):"",r+=t<0?bl.up(-t):t>0?bl.down(t):"",r},restore(e={}){let{after:t,cursor:r,initial:i,input:n,prompt:s,size:o,value:a}=e;if(i=U1.isPrimitive(i)?String(i):"",n=U1.isPrimitive(n)?String(n):"",a=U1.isPrimitive(a)?String(a):"",o){let u=eo.cursor.up(o)+eo.cursor.to(s.length),l=n.length-r;return l>0&&(u+=eo.cursor.left(l)),u}if(a||t){let u=!n&&i?-i.length:-n.length+r;return t&&(u-=t.length),n===""&&i&&!s.includes(i)&&(u+=i.length),eo.cursor.move(u)}}},V1=eo.erase={screen:Kc.screen,up:Kc.up,down:Kc.down,line:Kc.line,lineEnd:Kc.lineEnd,lineStart:Kc.lineStart,lines(e){let t="";for(let r=0;r<e;r++)t+=eo.erase.line+(r<e-1?eo.cursor.up(1):"");return e&&(t+=eo.code.beginning),t}};eo.clear=(e="",t=process.stdout.columns)=>{if(!t)return V1.line+bl.to(0);let r=s=>[...sAe.unstyle(s)].length,i=e.split(/\r?\n/),n=0;for(let s of i)n+=1+Math.floor(Math.max(r(s)-1,0)/t);return(V1.line+bl.prevLine()).repeat(n-1)+V1.line+bl.to(0)}});var PA=X((gRe,y4)=>{"use strict";var oAe=require("events"),C4=Nn(),$1=i4(),aAe=s4(),cAe=a4(),uAe=p4(),Ln=Ki(),Il=E4(),G1=class e extends oAe{constructor(t={}){super(),this.name=t.name,this.type=t.type,this.options=t,uAe(this),aAe(this),this.state=new cAe(this),this.initial=[t.initial,t.default].find(r=>r!=null),this.stdout=t.stdout||process.stdout,this.stdin=t.stdin||process.stdin,this.scale=t.scale||1,this.term=this.options.term||process.env.TERM_PROGRAM,this.margin=hAe(this.options.margin),this.setMaxListeners(0),lAe(this)}async keypress(t,r={}){this.keypressed=!0;let i=$1.action(t,$1(t,r),this.options.actions);this.state.keypress=i,this.emit("keypress",t,i),this.emit("state",this.state.clone());let n=this.options[i.action]||this[i.action]||this.dispatch;if(typeof n=="function")return await n.call(this,t,i);this.alert()}alert(){delete this.state.alert,this.options.show===!1?this.emit("alert"):this.stdout.write(Il.code.beep)}cursorHide(){this.stdout.write(Il.cursor.hide()),Ln.onExit(()=>this.cursorShow())}cursorShow(){this.stdout.write(Il.cursor.show())}write(t){t&&(this.stdout&&this.state.show!==!1&&this.stdout.write(t),this.state.buffer+=t)}clear(t=0){let r=this.state.buffer;this.state.buffer="",!(!r&&!t||this.options.show===!1)&&this.stdout.write(Il.cursor.down(t)+Il.clear(r,this.width))}restore(){if(this.state.closed||this.options.show===!1)return;let{prompt:t,after:r,rest:i}=this.sections(),{cursor:n,initial:s="",input:o="",value:a=""}=this,u=this.state.size=i.length,l={after:r,cursor:n,initial:s,input:o,prompt:t,size:u,value:a},A=Il.cursor.restore(l);A&&this.stdout.write(A)}sections(){let{buffer:t,input:r,prompt:i}=this.state;i=C4.unstyle(i);let n=C4.unstyle(t),s=n.indexOf(i),o=n.slice(0,s),u=n.slice(s).split(`
|
|
207
207
|
`),l=u[0],A=u[u.length-1],d=(i+(r?" "+r:"")).length,m=d<l.length?l.slice(d+1):"";return{header:o,prompt:l,after:m,rest:u.slice(1),last:A}}async submit(){this.state.submitted=!0,this.state.validating=!0,this.options.onSubmit&&await this.options.onSubmit.call(this,this.name,this.value,this);let t=this.state.error||await this.validate(this.value,this.state);if(t!==!0){let r=`
|
|
208
208
|
`+this.symbols.pointer+" ";typeof t=="string"?r+=t.trim():r+="Invalid input",this.state.error=`
|
|
209
209
|
`+this.styles.danger(r),this.state.submitted=!1,await this.render(),await this.alert(),this.state.validating=!1,this.state.error=void 0;return}this.state.validating=!1,await this.render(),await this.close(),this.value=await this.result(this.value),this.emit("submit",this.value)}async cancel(t){this.state.cancelled=this.state.submitted=!0,await this.render(),await this.close(),typeof this.options.onCancel=="function"&&await this.options.onCancel.call(this,this.name,this.value,this),this.emit("cancel",await this.error(t))}async close(){this.state.closed=!0;try{let t=this.sections(),r=Math.ceil(t.prompt.length/this.width);t.rest&&this.write(Il.cursor.down(t.rest.length)),this.write(`
|
|
210
|
-
`.repeat(r))}catch{}this.emit("close")}start(){!this.stop&&this.options.show!==!1&&(this.stop=$
|
|
211
|
-
`:" ",i=[];for(let n=0;n<4;n++){let s=r(n);t[n]?i.push(s.repeat(t[n])):i.push("")}return i}y4.exports=GS});var w4=X((CRe,I4)=>{"use strict";var AAe=Ki(),b4={default(e,t){return t},checkbox(e,t){throw new Error("checkbox role is not implemented yet")},editable(e,t){throw new Error("editable role is not implemented yet")},expandable(e,t){throw new Error("expandable role is not implemented yet")},heading(e,t){return t.disabled="",t.indicator=[t.indicator," "].find(r=>r!=null),t.message=t.message||"",t},input(e,t){throw new Error("input role is not implemented yet")},option(e,t){return b4.default(e,t)},radio(e,t){throw new Error("radio role is not implemented yet")},separator(e,t){return t.disabled="",t.indicator=[t.indicator," "].find(r=>r!=null),t.message=t.message||e.symbols.line.repeat(5),t},spacer(e,t){return t}};I4.exports=(e,t={})=>{let r=AAe.merge({},b4,t.roles);return r[e]||r.default}});var Pf=X((yRe,x4)=>{"use strict";var pAe=Nn(),dAe=PA(),fAe=w4(),U0=Ki(),{reorder:jS,scrollUp:gAe,scrollDown:mAe,isObject:B4,swap:EAe}=U0,zS=class extends dAe{constructor(t){super(t),this.cursorHide(),this.maxSelected=t.maxSelected||1/0,this.multiple=t.multiple||!1,this.initial=t.initial||0,this.delay=t.delay||0,this.longest=0,this.num=""}async initialize(){typeof this.options.initial=="function"&&(this.initial=await this.options.initial.call(this)),await this.reset(!0),await super.initialize()}async reset(){let{choices:t,initial:r,autofocus:i,suggest:n}=this.options;if(this.state._choices=[],this.state.choices=[],this.choices=await Promise.all(await this.toChoices(t)),this.choices.forEach(s=>s.enabled=!1),typeof n!="function"&&this.selectable.length===0)throw new Error("At least one choice must be selectable");B4(r)&&(r=Object.keys(r)),Array.isArray(r)?(i!=null&&(this.index=this.findIndex(i)),r.forEach(s=>this.enable(this.find(s))),await this.render()):(i!=null&&(r=i),typeof r=="string"&&(r=this.findIndex(r)),typeof r=="number"&&r>-1&&(this.index=Math.max(0,Math.min(r,this.choices.length)),this.enable(this.find(this.index)))),this.isDisabled(this.focused)&&await this.down()}async toChoices(t,r){this.state.loadingChoices=!0;let i=[],n=0,s=async(o,a)=>{typeof o=="function"&&(o=await o.call(this)),o instanceof Promise&&(o=await o);for(let u=0;u<o.length;u++){let l=o[u]=await this.toChoice(o[u],n++,a);i.push(l),l.choices&&await s(l.choices,l)}return i};return s(t,r).then(o=>(this.state.loadingChoices=!1,o))}async toChoice(t,r,i){if(typeof t=="function"&&(t=await t.call(this,this)),t instanceof Promise&&(t=await t),typeof t=="string"&&(t={name:t}),t.normalized)return t;t.normalized=!0;let n=t.value;if(t=fAe(t.role,this.options)(this,t),typeof t.disabled=="string"&&!t.hint&&(t.hint=t.disabled,t.disabled=!0),t.disabled===!0&&t.hint==null&&(t.hint="(disabled)"),t.index!=null)return t;t.name=t.name||t.key||t.title||t.value||t.message,t.message=t.message||t.name||"",t.value=[t.value,t.name].find(this.isValue.bind(this)),t.input="",t.index=r,t.cursor=0,U0.define(t,"parent",i),t.level=i?i.level+1:1,t.indent==null&&(t.indent=i?i.indent+" ":t.indent||""),t.path=i?i.path+"."+t.name:t.name,t.enabled=!!(this.multiple&&!this.isDisabled(t)&&(t.enabled||this.isSelected(t))),this.isDisabled(t)||(this.longest=Math.max(this.longest,pAe.unstyle(t.message).length));let o={...t};return t.reset=(a=o.input,u=o.value)=>{for(let l of Object.keys(o))t[l]=o[l];t.input=a,t.value=u},n==null&&typeof t.initial=="function"&&(t.input=await t.initial.call(this,this.state,t,r)),t}async onChoice(t,r){this.emit("choice",t,r,this),typeof t.onChoice=="function"&&await t.onChoice.call(this,this.state,t,r)}async addChoice(t,r,i){let n=await this.toChoice(t,r,i);return this.choices.push(n),this.index=this.choices.length-1,this.limit=this.choices.length,n}async newItem(t,r,i){let n={name:"New choice name?",editable:!0,newChoice:!0,...t},s=await this.addChoice(n,r,i);return s.updateChoice=()=>{delete s.newChoice,s.name=s.message=s.input,s.input="",s.cursor=0},this.render()}indent(t){return t.indent==null?t.level>1?" ".repeat(t.level-1):"":t.indent}dispatch(t,r){if(this.multiple&&this[r.name])return this[r.name]();this.alert()}focus(t,r){return typeof r!="boolean"&&(r=t.enabled),r&&!t.enabled&&this.selected.length>=this.maxSelected?this.alert():(this.index=t.index,t.enabled=r&&!this.isDisabled(t),t)}space(){return this.multiple?(this.toggle(this.focused),this.render()):this.alert()}a(){if(this.maxSelected<this.choices.length)return this.alert();let t=this.selectable.every(r=>r.enabled);return this.choices.forEach(r=>r.enabled=!t),this.render()}i(){return this.choices.length-this.selected.length>this.maxSelected?this.alert():(this.choices.forEach(t=>t.enabled=!t.enabled),this.render())}g(t=this.focused){return this.choices.some(r=>!!r.parent)?(this.toggle(t.parent&&!t.choices?t.parent:t),this.render()):this.a()}toggle(t,r){if(!t.enabled&&this.selected.length>=this.maxSelected)return this.alert();typeof r!="boolean"&&(r=!t.enabled),t.enabled=r,t.choices&&t.choices.forEach(n=>this.toggle(n,r));let i=t.parent;for(;i;){let n=i.choices.filter(s=>this.isDisabled(s));i.enabled=n.every(s=>s.enabled===!0),i=i.parent}return v4(this,this.choices),this.emit("toggle",t,this),t}enable(t){return this.selected.length>=this.maxSelected?this.alert():(t.enabled=!this.isDisabled(t),t.choices&&t.choices.forEach(this.enable.bind(this)),t)}disable(t){return t.enabled=!1,t.choices&&t.choices.forEach(this.disable.bind(this)),t}number(t){this.num+=t;let r=i=>{let n=Number(i);if(n>this.choices.length-1)return this.alert();let s=this.focused,o=this.choices.find(a=>n===a.index);if(!o.enabled&&this.selected.length>=this.maxSelected)return this.alert();if(this.visible.indexOf(o)===-1){let a=jS(this.choices),u=a.indexOf(o);if(s.index>u){let l=a.slice(u,u+this.limit),A=a.filter(h=>!l.includes(h));this.choices=l.concat(A)}else{let l=u-this.limit+1;this.choices=a.slice(l).concat(a.slice(0,l))}}return this.index=this.choices.indexOf(o),this.toggle(this.focused),this.render()};return clearTimeout(this.numberTimeout),new Promise(i=>{let n=this.choices.length,s=this.num,o=(a=!1,u)=>{clearTimeout(this.numberTimeout),a&&(u=r(s)),this.num="",i(u)};if(s==="0"||s.length===1&&+(s+"0")>n)return o(!0);if(Number(s)>n)return o(!1,this.alert());this.numberTimeout=setTimeout(()=>o(!0),this.delay)})}home(){return this.choices=jS(this.choices),this.index=0,this.render()}end(){let t=this.choices.length-this.limit,r=jS(this.choices);return this.choices=r.slice(t).concat(r.slice(0,t)),this.index=this.limit-1,this.render()}first(){return this.index=0,this.render()}last(){return this.index=this.visible.length-1,this.render()}prev(){return this.visible.length<=1?this.alert():this.up()}next(){return this.visible.length<=1?this.alert():this.down()}right(){return this.cursor>=this.input.length?this.alert():(this.cursor++,this.render())}left(){return this.cursor<=0?this.alert():(this.cursor--,this.render())}up(){let t=this.choices.length,r=this.visible.length,i=this.index;return this.options.scroll===!1&&i===0?this.alert():t>r&&i===0?this.scrollUp():(this.index=(i-1%t+t)%t,this.isDisabled()?this.up():this.render())}down(){let t=this.choices.length,r=this.visible.length,i=this.index;return this.options.scroll===!1&&i===r-1?this.alert():t>r&&i===r-1?this.scrollDown():(this.index=(i+1)%t,this.isDisabled()?this.down():this.render())}scrollUp(t=0){return this.choices=gAe(this.choices),this.index=t,this.isDisabled()?this.up():this.render()}scrollDown(t=this.visible.length-1){return this.choices=mAe(this.choices),this.index=t,this.isDisabled()?this.down():this.render()}async shiftUp(){if(this.options.sort===!0){this.sorting=!0,this.swap(this.index-1),await this.up(),this.sorting=!1;return}return this.scrollUp(this.index)}async shiftDown(){if(this.options.sort===!0){this.sorting=!0,this.swap(this.index+1),await this.down(),this.sorting=!1;return}return this.scrollDown(this.index)}pageUp(){return this.visible.length<=1?this.alert():(this.limit=Math.max(this.limit-1,0),this.index=Math.min(this.limit-1,this.index),this._limit=this.limit,this.isDisabled()?this.up():this.render())}pageDown(){return this.visible.length>=this.choices.length?this.alert():(this.index=Math.max(0,this.index),this.limit=Math.min(this.limit+1,this.choices.length),this._limit=this.limit,this.isDisabled()?this.down():this.render())}swap(t){EAe(this.choices,this.index,t)}isDisabled(t=this.focused){return t&&["disabled","collapsed","hidden","completing","readonly"].some(i=>t[i]===!0)?!0:t&&t.role==="heading"}isEnabled(t=this.focused){if(Array.isArray(t))return t.every(r=>this.isEnabled(r));if(t.choices){let r=t.choices.filter(i=>!this.isDisabled(i));return t.enabled&&r.every(i=>this.isEnabled(i))}return t.enabled&&!this.isDisabled(t)}isChoice(t,r){return t.name===r||t.index===Number(r)}isSelected(t){return Array.isArray(this.initial)?this.initial.some(r=>this.isChoice(t,r)):this.isChoice(t,this.initial)}map(t=[],r="value"){return[].concat(t||[]).reduce((i,n)=>(i[n]=this.find(n,r),i),{})}filter(t,r){let n=typeof t=="function"?t:(a,u)=>[a.name,u].includes(t),o=(this.options.multiple?this.state._choices:this.choices).filter(n);return r?o.map(a=>a[r]):o}find(t,r){if(B4(t))return r?t[r]:t;let n=typeof t=="function"?t:(o,a)=>[o.name,a].includes(t),s=this.choices.find(n);if(s)return r?s[r]:s}findIndex(t){return this.choices.indexOf(this.find(t))}async submit(){let t=this.focused;if(!t)return this.alert();if(t.newChoice)return t.input?(t.updateChoice(),this.render()):this.alert();if(this.choices.some(o=>o.newChoice))return this.alert();let{reorder:r,sort:i}=this.options,n=this.multiple===!0,s=this.selected;return s===void 0?this.alert():(Array.isArray(s)&&r!==!1&&i!==!0&&(s=U0.reorder(s)),this.value=n?s.map(o=>o.name):s.name,super.submit())}set choices(t=[]){this.state._choices=this.state._choices||[],this.state.choices=t;for(let r of t)this.state._choices.some(i=>i.name===r.name)||this.state._choices.push(r);if(!this._initial&&this.options.initial){this._initial=!0;let r=this.initial;if(typeof r=="string"||typeof r=="number"){let i=this.find(r);i&&(this.initial=i.index,this.focus(i,!0))}}}get choices(){return v4(this,this.state.choices||[])}set visible(t){this.state.visible=t}get visible(){return(this.state.visible||this.choices).slice(0,this.limit)}set limit(t){this.state.limit=t}get limit(){let{state:t,options:r,choices:i}=this,n=t.limit||this._limit||r.limit||i.length;return Math.min(n,this.height)}set value(t){super.value=t}get value(){return typeof super.value!="string"&&super.value===this.initial?this.input:super.value}set index(t){this.state.index=t}get index(){return Math.max(0,this.state?this.state.index:0)}get enabled(){return this.filter(this.isEnabled.bind(this))}get focused(){let t=this.choices[this.index];return t&&this.state.submitted&&this.multiple!==!0&&(t.enabled=!0),t}get selectable(){return this.choices.filter(t=>!this.isDisabled(t))}get selected(){return this.multiple?this.enabled:this.focused}};function v4(e,t){if(t instanceof Promise)return t;if(typeof t=="function"){if(U0.isAsyncFn(t))return t;t=t.call(e,e)}for(let r of t){if(Array.isArray(r.choices)){let i=r.choices.filter(n=>!e.isDisabled(n));r.enabled=i.every(n=>n.enabled===!0)}e.isDisabled(r)===!0&&delete r.enabled}return t}x4.exports=zS});var Xc=X((bRe,Q4)=>{"use strict";var CAe=Pf(),HS=Ki(),YS=class extends CAe{constructor(t){super(t),this.emptyError=this.options.emptyError||"No items were selected"}async dispatch(t,r){if(this.multiple)return this[r.name]?await this[r.name](t,r):await super.dispatch(t,r);this.alert()}separator(){if(this.options.separator)return super.separator();let t=this.styles.muted(this.symbols.ellipsis);return this.state.submitted?super.separator():t}pointer(t,r){return!this.multiple||this.options.pointer?super.pointer(t,r):""}indicator(t,r){return this.multiple?super.indicator(t,r):""}choiceMessage(t,r){let i=this.resolve(t.message,this.state,t,r);return t.role==="heading"&&!HS.hasColor(i)&&(i=this.styles.strong(i)),this.resolve(i,this.state,t,r)}choiceSeparator(){return":"}async renderChoice(t,r){await this.onChoice(t,r);let i=this.index===r,n=await this.pointer(t,r),s=await this.indicator(t,r)+(t.pad||""),o=await this.resolve(t.hint,this.state,t,r);o&&!HS.hasColor(o)&&(o=this.styles.muted(o));let a=this.indent(t),u=await this.choiceMessage(t,r),l=()=>[this.margin[3],a+n+s,u,this.margin[1],o].filter(Boolean).join(" ");return t.role==="heading"?l():t.disabled?(HS.hasColor(u)||(u=this.styles.disabled(u)),l()):(i&&(u=this.styles.em(u)),l())}async renderChoices(){if(this.state.loading==="choices")return this.styles.warning("Loading choices");if(this.state.submitted)return"";let t=this.visible.map(async(s,o)=>await this.renderChoice(s,o)),r=await Promise.all(t);r.length||r.push(this.styles.danger("No matching choices"));let i=this.margin[0]+r.join(`
|
|
210
|
+
`.repeat(r))}catch{}this.emit("close")}start(){!this.stop&&this.options.show!==!1&&(this.stop=$1.listen(this,this.keypress.bind(this)),this.once("close",this.stop))}async skip(){return this.skipped=this.options.skip===!0,typeof this.options.skip=="function"&&(this.skipped=await this.options.skip.call(this,this.name,this.value)),this.skipped}async initialize(){let{format:t,options:r,result:i}=this;if(this.format=()=>t.call(this,this.value),this.result=()=>i.call(this,this.value),typeof r.initial=="function"&&(this.initial=await r.initial.call(this,this)),typeof r.onRun=="function"&&await r.onRun.call(this,this),typeof r.onSubmit=="function"){let n=r.onSubmit.bind(this),s=this.submit.bind(this);delete this.options.onSubmit,this.submit=async()=>(await n(this.name,this.value,this),s())}await this.start(),await this.render()}render(){throw new Error("expected prompt to have a custom render method")}run(){return new Promise(async(t,r)=>{if(this.once("submit",t),this.once("cancel",r),await this.skip())return this.render=()=>{},this.submit();await this.initialize(),this.emit("run")})}async element(t,r,i){let{options:n,state:s,symbols:o,timers:a}=this,u=a&&a[t];s.timer=u;let l=n[t]||s[t]||o[t],A=r&&r[t]!=null?r[t]:await l;if(A==="")return A;let h=await this.resolve(A,s,r,i);return!h&&r&&r[t]?this.resolve(l,s,r,i):h}async prefix(){let t=await this.element("prefix")||this.symbols,r=this.timers&&this.timers.prefix,i=this.state;return i.timer=r,Ln.isObject(t)&&(t=t[i.status]||t.pending),Ln.hasColor(t)?t:(this.styles[i.status]||this.styles.pending)(t)}async message(){let t=await this.element("message");return Ln.hasColor(t)?t:this.styles.strong(t)}async separator(){let t=await this.element("separator")||this.symbols,r=this.timers&&this.timers.separator,i=this.state;i.timer=r;let n=t[i.status]||t.pending||i.separator,s=await this.resolve(n,i);return Ln.isObject(s)&&(s=s[i.status]||s.pending),Ln.hasColor(s)?s:this.styles.muted(s)}async pointer(t,r){let i=await this.element("pointer",t,r);if(typeof i=="string"&&Ln.hasColor(i))return i;if(i){let n=this.styles,s=this.index===r,o=s?n.primary:l=>l,a=await this.resolve(i[s?"on":"off"]||i,this.state),u=Ln.hasColor(a)?a:o(a);return s?u:" ".repeat(a.length)}}async indicator(t,r){let i=await this.element("indicator",t,r);if(typeof i=="string"&&Ln.hasColor(i))return i;if(i){let n=this.styles,s=t.enabled===!0,o=s?n.success:n.dark,a=i[s?"on":"off"]||i;return Ln.hasColor(a)?a:o(a)}return""}body(){return null}footer(){if(this.state.status==="pending")return this.element("footer")}header(){if(this.state.status==="pending")return this.element("header")}async hint(){if(this.state.status==="pending"&&!this.isValue(this.state.input)){let t=await this.element("hint");return Ln.hasColor(t)?t:this.styles.muted(t)}}error(t){return this.state.submitted?"":t||this.state.error}format(t){return t}result(t){return t}validate(t){return this.options.required===!0?this.isValue(t):!0}isValue(t){return t!=null&&t!==""}resolve(t,...r){return Ln.resolve(this,t,...r)}get base(){return e.prototype}get style(){return this.styles[this.state.status]}get height(){return this.options.rows||Ln.height(this.stdout,25)}get width(){return this.options.columns||Ln.width(this.stdout,80)}get size(){return{width:this.width,height:this.height}}set cursor(t){this.state.cursor=t}get cursor(){return this.state.cursor}set input(t){this.state.input=t}get input(){return this.state.input}set value(t){this.state.value=t}get value(){let{input:t,value:r}=this.state,i=[r,t].find(this.isValue.bind(this));return this.isValue(i)?i:this.initial}static get prompt(){return t=>new this(t).run()}};function lAe(e){let t=n=>e[n]===void 0||typeof e[n]=="function",r=["actions","choices","initial","margin","roles","styles","symbols","theme","timers","value"],i=["body","footer","error","header","hint","indicator","message","prefix","separator","skip"];for(let n of Object.keys(e.options)){if(r.includes(n)||/^on[A-Z]/.test(n))continue;let s=e.options[n];typeof s=="function"&&t(n)?i.includes(n)||(e[n]=s.bind(e)):typeof e[n]!="function"&&(e[n]=s)}}function hAe(e){typeof e=="number"&&(e=[e,e,e,e]);let t=[].concat(e||[]),r=n=>n%2===0?`
|
|
211
|
+
`:" ",i=[];for(let n=0;n<4;n++){let s=r(n);t[n]?i.push(s.repeat(t[n])):i.push("")}return i}y4.exports=G1});var w4=X((mRe,I4)=>{"use strict";var AAe=Ki(),b4={default(e,t){return t},checkbox(e,t){throw new Error("checkbox role is not implemented yet")},editable(e,t){throw new Error("editable role is not implemented yet")},expandable(e,t){throw new Error("expandable role is not implemented yet")},heading(e,t){return t.disabled="",t.indicator=[t.indicator," "].find(r=>r!=null),t.message=t.message||"",t},input(e,t){throw new Error("input role is not implemented yet")},option(e,t){return b4.default(e,t)},radio(e,t){throw new Error("radio role is not implemented yet")},separator(e,t){return t.disabled="",t.indicator=[t.indicator," "].find(r=>r!=null),t.message=t.message||e.symbols.line.repeat(5),t},spacer(e,t){return t}};I4.exports=(e,t={})=>{let r=AAe.merge({},b4,t.roles);return r[e]||r.default}});var Pf=X((ERe,x4)=>{"use strict";var pAe=Nn(),dAe=PA(),fAe=w4(),U0=Ki(),{reorder:j1,scrollUp:gAe,scrollDown:mAe,isObject:B4,swap:EAe}=U0,z1=class extends dAe{constructor(t){super(t),this.cursorHide(),this.maxSelected=t.maxSelected||1/0,this.multiple=t.multiple||!1,this.initial=t.initial||0,this.delay=t.delay||0,this.longest=0,this.num=""}async initialize(){typeof this.options.initial=="function"&&(this.initial=await this.options.initial.call(this)),await this.reset(!0),await super.initialize()}async reset(){let{choices:t,initial:r,autofocus:i,suggest:n}=this.options;if(this.state._choices=[],this.state.choices=[],this.choices=await Promise.all(await this.toChoices(t)),this.choices.forEach(s=>s.enabled=!1),typeof n!="function"&&this.selectable.length===0)throw new Error("At least one choice must be selectable");B4(r)&&(r=Object.keys(r)),Array.isArray(r)?(i!=null&&(this.index=this.findIndex(i)),r.forEach(s=>this.enable(this.find(s))),await this.render()):(i!=null&&(r=i),typeof r=="string"&&(r=this.findIndex(r)),typeof r=="number"&&r>-1&&(this.index=Math.max(0,Math.min(r,this.choices.length)),this.enable(this.find(this.index)))),this.isDisabled(this.focused)&&await this.down()}async toChoices(t,r){this.state.loadingChoices=!0;let i=[],n=0,s=async(o,a)=>{typeof o=="function"&&(o=await o.call(this)),o instanceof Promise&&(o=await o);for(let u=0;u<o.length;u++){let l=o[u]=await this.toChoice(o[u],n++,a);i.push(l),l.choices&&await s(l.choices,l)}return i};return s(t,r).then(o=>(this.state.loadingChoices=!1,o))}async toChoice(t,r,i){if(typeof t=="function"&&(t=await t.call(this,this)),t instanceof Promise&&(t=await t),typeof t=="string"&&(t={name:t}),t.normalized)return t;t.normalized=!0;let n=t.value;if(t=fAe(t.role,this.options)(this,t),typeof t.disabled=="string"&&!t.hint&&(t.hint=t.disabled,t.disabled=!0),t.disabled===!0&&t.hint==null&&(t.hint="(disabled)"),t.index!=null)return t;t.name=t.name||t.key||t.title||t.value||t.message,t.message=t.message||t.name||"",t.value=[t.value,t.name].find(this.isValue.bind(this)),t.input="",t.index=r,t.cursor=0,U0.define(t,"parent",i),t.level=i?i.level+1:1,t.indent==null&&(t.indent=i?i.indent+" ":t.indent||""),t.path=i?i.path+"."+t.name:t.name,t.enabled=!!(this.multiple&&!this.isDisabled(t)&&(t.enabled||this.isSelected(t))),this.isDisabled(t)||(this.longest=Math.max(this.longest,pAe.unstyle(t.message).length));let o={...t};return t.reset=(a=o.input,u=o.value)=>{for(let l of Object.keys(o))t[l]=o[l];t.input=a,t.value=u},n==null&&typeof t.initial=="function"&&(t.input=await t.initial.call(this,this.state,t,r)),t}async onChoice(t,r){this.emit("choice",t,r,this),typeof t.onChoice=="function"&&await t.onChoice.call(this,this.state,t,r)}async addChoice(t,r,i){let n=await this.toChoice(t,r,i);return this.choices.push(n),this.index=this.choices.length-1,this.limit=this.choices.length,n}async newItem(t,r,i){let n={name:"New choice name?",editable:!0,newChoice:!0,...t},s=await this.addChoice(n,r,i);return s.updateChoice=()=>{delete s.newChoice,s.name=s.message=s.input,s.input="",s.cursor=0},this.render()}indent(t){return t.indent==null?t.level>1?" ".repeat(t.level-1):"":t.indent}dispatch(t,r){if(this.multiple&&this[r.name])return this[r.name]();this.alert()}focus(t,r){return typeof r!="boolean"&&(r=t.enabled),r&&!t.enabled&&this.selected.length>=this.maxSelected?this.alert():(this.index=t.index,t.enabled=r&&!this.isDisabled(t),t)}space(){return this.multiple?(this.toggle(this.focused),this.render()):this.alert()}a(){if(this.maxSelected<this.choices.length)return this.alert();let t=this.selectable.every(r=>r.enabled);return this.choices.forEach(r=>r.enabled=!t),this.render()}i(){return this.choices.length-this.selected.length>this.maxSelected?this.alert():(this.choices.forEach(t=>t.enabled=!t.enabled),this.render())}g(t=this.focused){return this.choices.some(r=>!!r.parent)?(this.toggle(t.parent&&!t.choices?t.parent:t),this.render()):this.a()}toggle(t,r){if(!t.enabled&&this.selected.length>=this.maxSelected)return this.alert();typeof r!="boolean"&&(r=!t.enabled),t.enabled=r,t.choices&&t.choices.forEach(n=>this.toggle(n,r));let i=t.parent;for(;i;){let n=i.choices.filter(s=>this.isDisabled(s));i.enabled=n.every(s=>s.enabled===!0),i=i.parent}return v4(this,this.choices),this.emit("toggle",t,this),t}enable(t){return this.selected.length>=this.maxSelected?this.alert():(t.enabled=!this.isDisabled(t),t.choices&&t.choices.forEach(this.enable.bind(this)),t)}disable(t){return t.enabled=!1,t.choices&&t.choices.forEach(this.disable.bind(this)),t}number(t){this.num+=t;let r=i=>{let n=Number(i);if(n>this.choices.length-1)return this.alert();let s=this.focused,o=this.choices.find(a=>n===a.index);if(!o.enabled&&this.selected.length>=this.maxSelected)return this.alert();if(this.visible.indexOf(o)===-1){let a=j1(this.choices),u=a.indexOf(o);if(s.index>u){let l=a.slice(u,u+this.limit),A=a.filter(h=>!l.includes(h));this.choices=l.concat(A)}else{let l=u-this.limit+1;this.choices=a.slice(l).concat(a.slice(0,l))}}return this.index=this.choices.indexOf(o),this.toggle(this.focused),this.render()};return clearTimeout(this.numberTimeout),new Promise(i=>{let n=this.choices.length,s=this.num,o=(a=!1,u)=>{clearTimeout(this.numberTimeout),a&&(u=r(s)),this.num="",i(u)};if(s==="0"||s.length===1&&+(s+"0")>n)return o(!0);if(Number(s)>n)return o(!1,this.alert());this.numberTimeout=setTimeout(()=>o(!0),this.delay)})}home(){return this.choices=j1(this.choices),this.index=0,this.render()}end(){let t=this.choices.length-this.limit,r=j1(this.choices);return this.choices=r.slice(t).concat(r.slice(0,t)),this.index=this.limit-1,this.render()}first(){return this.index=0,this.render()}last(){return this.index=this.visible.length-1,this.render()}prev(){return this.visible.length<=1?this.alert():this.up()}next(){return this.visible.length<=1?this.alert():this.down()}right(){return this.cursor>=this.input.length?this.alert():(this.cursor++,this.render())}left(){return this.cursor<=0?this.alert():(this.cursor--,this.render())}up(){let t=this.choices.length,r=this.visible.length,i=this.index;return this.options.scroll===!1&&i===0?this.alert():t>r&&i===0?this.scrollUp():(this.index=(i-1%t+t)%t,this.isDisabled()?this.up():this.render())}down(){let t=this.choices.length,r=this.visible.length,i=this.index;return this.options.scroll===!1&&i===r-1?this.alert():t>r&&i===r-1?this.scrollDown():(this.index=(i+1)%t,this.isDisabled()?this.down():this.render())}scrollUp(t=0){return this.choices=gAe(this.choices),this.index=t,this.isDisabled()?this.up():this.render()}scrollDown(t=this.visible.length-1){return this.choices=mAe(this.choices),this.index=t,this.isDisabled()?this.down():this.render()}async shiftUp(){if(this.options.sort===!0){this.sorting=!0,this.swap(this.index-1),await this.up(),this.sorting=!1;return}return this.scrollUp(this.index)}async shiftDown(){if(this.options.sort===!0){this.sorting=!0,this.swap(this.index+1),await this.down(),this.sorting=!1;return}return this.scrollDown(this.index)}pageUp(){return this.visible.length<=1?this.alert():(this.limit=Math.max(this.limit-1,0),this.index=Math.min(this.limit-1,this.index),this._limit=this.limit,this.isDisabled()?this.up():this.render())}pageDown(){return this.visible.length>=this.choices.length?this.alert():(this.index=Math.max(0,this.index),this.limit=Math.min(this.limit+1,this.choices.length),this._limit=this.limit,this.isDisabled()?this.down():this.render())}swap(t){EAe(this.choices,this.index,t)}isDisabled(t=this.focused){return t&&["disabled","collapsed","hidden","completing","readonly"].some(i=>t[i]===!0)?!0:t&&t.role==="heading"}isEnabled(t=this.focused){if(Array.isArray(t))return t.every(r=>this.isEnabled(r));if(t.choices){let r=t.choices.filter(i=>!this.isDisabled(i));return t.enabled&&r.every(i=>this.isEnabled(i))}return t.enabled&&!this.isDisabled(t)}isChoice(t,r){return t.name===r||t.index===Number(r)}isSelected(t){return Array.isArray(this.initial)?this.initial.some(r=>this.isChoice(t,r)):this.isChoice(t,this.initial)}map(t=[],r="value"){return[].concat(t||[]).reduce((i,n)=>(i[n]=this.find(n,r),i),{})}filter(t,r){let n=typeof t=="function"?t:(a,u)=>[a.name,u].includes(t),o=(this.options.multiple?this.state._choices:this.choices).filter(n);return r?o.map(a=>a[r]):o}find(t,r){if(B4(t))return r?t[r]:t;let n=typeof t=="function"?t:(o,a)=>[o.name,a].includes(t),s=this.choices.find(n);if(s)return r?s[r]:s}findIndex(t){return this.choices.indexOf(this.find(t))}async submit(){let t=this.focused;if(!t)return this.alert();if(t.newChoice)return t.input?(t.updateChoice(),this.render()):this.alert();if(this.choices.some(o=>o.newChoice))return this.alert();let{reorder:r,sort:i}=this.options,n=this.multiple===!0,s=this.selected;return s===void 0?this.alert():(Array.isArray(s)&&r!==!1&&i!==!0&&(s=U0.reorder(s)),this.value=n?s.map(o=>o.name):s.name,super.submit())}set choices(t=[]){this.state._choices=this.state._choices||[],this.state.choices=t;for(let r of t)this.state._choices.some(i=>i.name===r.name)||this.state._choices.push(r);if(!this._initial&&this.options.initial){this._initial=!0;let r=this.initial;if(typeof r=="string"||typeof r=="number"){let i=this.find(r);i&&(this.initial=i.index,this.focus(i,!0))}}}get choices(){return v4(this,this.state.choices||[])}set visible(t){this.state.visible=t}get visible(){return(this.state.visible||this.choices).slice(0,this.limit)}set limit(t){this.state.limit=t}get limit(){let{state:t,options:r,choices:i}=this,n=t.limit||this._limit||r.limit||i.length;return Math.min(n,this.height)}set value(t){super.value=t}get value(){return typeof super.value!="string"&&super.value===this.initial?this.input:super.value}set index(t){this.state.index=t}get index(){return Math.max(0,this.state?this.state.index:0)}get enabled(){return this.filter(this.isEnabled.bind(this))}get focused(){let t=this.choices[this.index];return t&&this.state.submitted&&this.multiple!==!0&&(t.enabled=!0),t}get selectable(){return this.choices.filter(t=>!this.isDisabled(t))}get selected(){return this.multiple?this.enabled:this.focused}};function v4(e,t){if(t instanceof Promise)return t;if(typeof t=="function"){if(U0.isAsyncFn(t))return t;t=t.call(e,e)}for(let r of t){if(Array.isArray(r.choices)){let i=r.choices.filter(n=>!e.isDisabled(n));r.enabled=i.every(n=>n.enabled===!0)}e.isDisabled(r)===!0&&delete r.enabled}return t}x4.exports=z1});var Xc=X((CRe,Q4)=>{"use strict";var CAe=Pf(),H1=Ki(),Y1=class extends CAe{constructor(t){super(t),this.emptyError=this.options.emptyError||"No items were selected"}async dispatch(t,r){if(this.multiple)return this[r.name]?await this[r.name](t,r):await super.dispatch(t,r);this.alert()}separator(){if(this.options.separator)return super.separator();let t=this.styles.muted(this.symbols.ellipsis);return this.state.submitted?super.separator():t}pointer(t,r){return!this.multiple||this.options.pointer?super.pointer(t,r):""}indicator(t,r){return this.multiple?super.indicator(t,r):""}choiceMessage(t,r){let i=this.resolve(t.message,this.state,t,r);return t.role==="heading"&&!H1.hasColor(i)&&(i=this.styles.strong(i)),this.resolve(i,this.state,t,r)}choiceSeparator(){return":"}async renderChoice(t,r){await this.onChoice(t,r);let i=this.index===r,n=await this.pointer(t,r),s=await this.indicator(t,r)+(t.pad||""),o=await this.resolve(t.hint,this.state,t,r);o&&!H1.hasColor(o)&&(o=this.styles.muted(o));let a=this.indent(t),u=await this.choiceMessage(t,r),l=()=>[this.margin[3],a+n+s,u,this.margin[1],o].filter(Boolean).join(" ");return t.role==="heading"?l():t.disabled?(H1.hasColor(u)||(u=this.styles.disabled(u)),l()):(i&&(u=this.styles.em(u)),l())}async renderChoices(){if(this.state.loading==="choices")return this.styles.warning("Loading choices");if(this.state.submitted)return"";let t=this.visible.map(async(s,o)=>await this.renderChoice(s,o)),r=await Promise.all(t);r.length||r.push(this.styles.danger("No matching choices"));let i=this.margin[0]+r.join(`
|
|
212
212
|
`),n;return this.options.choicesHeader&&(n=await this.resolve(this.options.choicesHeader,this.state)),[n,i].filter(Boolean).join(`
|
|
213
213
|
`)}format(){return!this.state.submitted||this.state.cancelled?"":Array.isArray(this.selected)?this.selected.map(t=>this.styles.primary(t.name)).join(", "):this.styles.primary(this.selected.name)}async render(){let{submitted:t,size:r}=this.state,i="",n=await this.header(),s=await this.prefix(),o=await this.separator(),a=await this.message();this.options.promptLine!==!1&&(i=[s,a,o,""].join(" "),this.state.prompt=i);let u=await this.format(),l=await this.error()||await this.hint(),A=await this.renderChoices(),h=await this.footer();u&&(i+=u),l&&!i.includes(l)&&(i+=" "+l),t&&!u&&!A.trim()&&this.multiple&&this.emptyError!=null&&(i+=this.styles.danger(this.emptyError)),this.clear(r),this.write([n,i,A,h].filter(Boolean).join(`
|
|
214
|
-
`)),this.write(this.margin[2]),this.restore()}};Q4.exports=
|
|
215
|
-
`)),this.restore()}set value(t){super.value=t}get value(){return this.cast(super.value)}};M4.exports=
|
|
214
|
+
`)),this.write(this.margin[2]),this.restore()}};Q4.exports=Y1});var D4=X((yRe,S4)=>{"use strict";var yAe=Xc(),bAe=(e,t)=>{let r=e.toLowerCase();return i=>{let s=i.toLowerCase().indexOf(r),o=t(i.slice(s,s+r.length));return s>=0?i.slice(0,s)+o+i.slice(s+r.length):i}},W1=class extends yAe{constructor(t){super(t),this.cursorShow()}moveCursor(t){this.state.cursor+=t}dispatch(t){return this.append(t)}space(t){return this.options.multiple?super.space(t):this.append(t)}append(t){let{cursor:r,input:i}=this.state;return this.input=i.slice(0,r)+t+i.slice(r),this.moveCursor(1),this.complete()}delete(){let{cursor:t,input:r}=this.state;return r?(this.input=r.slice(0,t-1)+r.slice(t),this.moveCursor(-1),this.complete()):this.alert()}deleteForward(){let{cursor:t,input:r}=this.state;return r[t]===void 0?this.alert():(this.input=`${r}`.slice(0,t)+`${r}`.slice(t+1),this.complete())}number(t){return this.append(t)}async complete(){this.completing=!0,this.choices=await this.suggest(this.input,this.state._choices),this.state.limit=void 0,this.index=Math.min(Math.max(this.visible.length-1,0),this.index),await this.render(),this.completing=!1}suggest(t=this.input,r=this.state._choices){if(typeof this.options.suggest=="function")return this.options.suggest.call(this,t,r);let i=t.toLowerCase();return r.filter(n=>n.message.toLowerCase().includes(i))}pointer(){return""}format(){if(!this.focused)return this.input;if(this.options.multiple&&this.state.submitted)return this.selected.map(t=>this.styles.primary(t.message)).join(", ");if(this.state.submitted){let t=this.value=this.input=this.focused.value;return this.styles.primary(t)}return this.input}async render(){if(this.state.status!=="pending")return super.render();let t=this.options.highlight?this.options.highlight.bind(this):this.styles.placeholder,r=bAe(this.input,t),i=this.choices;this.choices=i.map(n=>({...n,message:r(n.message)})),await super.render(),this.choices=i}submit(){return this.options.multiple&&(this.value=this.selected.map(t=>t.name)),super.submit()}};S4.exports=W1});var Z1=X((bRe,k4)=>{"use strict";var J1=Ki();k4.exports=(e,t={})=>{e.cursorHide();let{input:r="",initial:i="",pos:n,showCursor:s=!0,color:o}=t,a=o||e.styles.placeholder,u=J1.inverse(e.styles.primary),l=E=>u(e.styles.black(E)),A=r,h=" ",d=l(h);if(e.blink&&e.blink.off===!0&&(l=E=>E,d=""),s&&n===0&&i===""&&r==="")return l(h);if(s&&n===0&&(r===i||r===""))return l(i[0])+a(i.slice(1));i=J1.isPrimitive(i)?`${i}`:"",r=J1.isPrimitive(r)?`${r}`:"";let m=i&&i.startsWith(r)&&i!==r,g=m?l(i[r.length]):d;if(n!==r.length&&s===!0&&(A=r.slice(0,n)+l(r[n])+r.slice(n+1),g=""),s===!1&&(g=""),m){let E=e.styles.unstyle(A+g);return A+g+a(i.slice(E.length))}return A+g}});var q0=X((IRe,R4)=>{"use strict";var IAe=Nn(),wAe=Xc(),BAe=Z1(),K1=class extends wAe{constructor(t){super({...t,multiple:!0}),this.type="form",this.initial=this.options.initial,this.align=[this.options.align,"right"].find(r=>r!=null),this.emptyError="",this.values={}}async reset(t){return await super.reset(),t===!0&&(this._index=this.index),this.index=this._index,this.values={},this.choices.forEach(r=>r.reset&&r.reset()),this.render()}dispatch(t){return!!t&&this.append(t)}append(t){let r=this.focused;if(!r)return this.alert();let{cursor:i,input:n}=r;return r.value=r.input=n.slice(0,i)+t+n.slice(i),r.cursor++,this.render()}delete(){let t=this.focused;if(!t||t.cursor<=0)return this.alert();let{cursor:r,input:i}=t;return t.value=t.input=i.slice(0,r-1)+i.slice(r),t.cursor--,this.render()}deleteForward(){let t=this.focused;if(!t)return this.alert();let{cursor:r,input:i}=t;if(i[r]===void 0)return this.alert();let n=`${i}`.slice(0,r)+`${i}`.slice(r+1);return t.value=t.input=n,this.render()}right(){let t=this.focused;return t?t.cursor>=t.input.length?this.alert():(t.cursor++,this.render()):this.alert()}left(){let t=this.focused;return t?t.cursor<=0?this.alert():(t.cursor--,this.render()):this.alert()}space(t,r){return this.dispatch(t,r)}number(t,r){return this.dispatch(t,r)}next(){let t=this.focused;if(!t)return this.alert();let{initial:r,input:i}=t;return r&&r.startsWith(i)&&i!==r?(t.value=t.input=r,t.cursor=t.value.length,this.render()):super.next()}prev(){let t=this.focused;return t?t.cursor===0?super.prev():(t.value=t.input="",t.cursor=0,this.render()):this.alert()}separator(){return""}format(t){return this.state.submitted?"":super.format(t)}pointer(){return""}indicator(t){return t.input?"\u29BF":"\u2299"}async choiceSeparator(t,r){let i=await this.resolve(t.separator,this.state,t,r)||":";return i?" "+this.styles.disabled(i):""}async renderChoice(t,r){await this.onChoice(t,r);let{state:i,styles:n}=this,{cursor:s,initial:o="",name:a,hint:u,input:l=""}=t,{muted:A,submitted:h,primary:d,danger:m}=n,g=u,E=this.index===r,y=t.validate||(()=>!0),w=await this.choiceSeparator(t,r),R=t.message;this.align==="right"&&(R=R.padStart(this.longest+1," ")),this.align==="left"&&(R=R.padEnd(this.longest+1," "));let S=this.values[a]=l||o,F=l?"success":"dark";await y.call(t,S,this.state)!==!0&&(F="danger");let q=n[F],M=q(await this.indicator(t,r))+(t.pad||""),C=this.indent(t),$=()=>[C,M,R+w,l,g].filter(Boolean).join(" ");if(i.submitted)return R=IAe.unstyle(R),l=h(l),g="",$();if(t.format)l=await t.format.call(this,l,t,r);else{let T=this.styles.muted;l=BAe(this,{input:l,initial:o,pos:s,showCursor:E,color:T})}return this.isValue(l)||(l=this.styles.muted(this.symbols.ellipsis)),t.result&&(this.values[a]=await t.result.call(this,S,t,r)),E&&(R=d(R)),t.error?l+=(l?" ":"")+m(t.error.trim()):t.hint&&(l+=(l?" ":"")+A(t.hint.trim())),$()}async submit(){return this.value=this.values,super.base.submit.call(this)}};R4.exports=K1});var X1=X((wRe,T4)=>{"use strict";var vAe=q0(),xAe=()=>{throw new Error("expected prompt to have a custom authenticate method")},_4=(e=xAe)=>{class t extends vAe{constructor(i){super(i)}async submit(){this.value=await e.call(this,this.values,this.state),super.base.submit.call(this)}static create(i){return _4(i)}}return t};T4.exports=_4()});var L4=X((BRe,N4)=>{"use strict";var QAe=X1();function SAe(e,t){return e.username===this.options.username&&e.password===this.options.password}var F4=(e=SAe)=>{let t=[{name:"username",message:"username"},{name:"password",message:"password",format(i){return this.options.showPassword?i:(this.state.submitted?this.styles.primary:this.styles.muted)(this.symbols.asterisk.repeat(i.length))}}];class r extends QAe.create(e){constructor(n){super({...n,choices:t})}static create(n){return F4(n)}}return r};N4.exports=F4()});var V0=X((vRe,M4)=>{"use strict";var DAe=PA(),{isPrimitive:kAe,hasColor:RAe}=Ki(),eS=class extends DAe{constructor(t){super(t),this.cursorHide()}async initialize(){let t=await this.resolve(this.initial,this.state);this.input=await this.cast(t),await super.initialize()}dispatch(t){return this.isValue(t)?(this.input=t,this.submit()):this.alert()}format(t){let{styles:r,state:i}=this;return i.submitted?r.success(t):r.primary(t)}cast(t){return this.isTrue(t)}isTrue(t){return/^[ty1]/i.test(t)}isFalse(t){return/^[fn0]/i.test(t)}isValue(t){return kAe(t)&&(this.isTrue(t)||this.isFalse(t))}async hint(){if(this.state.status==="pending"){let t=await this.element("hint");return RAe(t)?t:this.styles.muted(t)}}async render(){let{input:t,size:r}=this.state,i=await this.prefix(),n=await this.separator(),s=await this.message(),o=this.styles.muted(this.default),a=[i,s,o,n].filter(Boolean).join(" ");this.state.prompt=a;let u=await this.header(),l=this.value=this.cast(t),A=await this.format(l),h=await this.error()||await this.hint(),d=await this.footer();h&&!a.includes(h)&&(A+=" "+h),a+=" "+A,this.clear(r),this.write([u,a,d].filter(Boolean).join(`
|
|
215
|
+
`)),this.restore()}set value(t){super.value=t}get value(){return this.cast(super.value)}};M4.exports=eS});var P4=X((xRe,O4)=>{"use strict";var _Ae=V0(),tS=class extends _Ae{constructor(t){super(t),this.default=this.options.default||(this.initial?"(Y/n)":"(y/N)")}};O4.exports=tS});var q4=X((QRe,U4)=>{"use strict";var TAe=Xc(),FAe=q0(),UA=FAe.prototype,rS=class extends TAe{constructor(t){super({...t,multiple:!0}),this.align=[this.options.align,"left"].find(r=>r!=null),this.emptyError="",this.values={}}dispatch(t,r){let i=this.focused,n=i.parent||{};return!i.editable&&!n.editable&&(t==="a"||t==="i")?super[t]():UA.dispatch.call(this,t,r)}append(t,r){return UA.append.call(this,t,r)}delete(t,r){return UA.delete.call(this,t,r)}space(t){return this.focused.editable?this.append(t):super.space()}number(t){return this.focused.editable?this.append(t):super.number(t)}next(){return this.focused.editable?UA.next.call(this):super.next()}prev(){return this.focused.editable?UA.prev.call(this):super.prev()}async indicator(t,r){let i=t.indicator||"",n=t.editable?i:super.indicator(t,r);return await this.resolve(n,this.state,t,r)||""}indent(t){return t.role==="heading"?"":t.editable?" ":" "}async renderChoice(t,r){return t.indent="",t.editable?UA.renderChoice.call(this,t,r):super.renderChoice(t,r)}error(){return""}footer(){return this.state.error}async validate(){let t=!0;for(let r of this.choices){if(typeof r.validate!="function"||r.role==="heading")continue;let i=r.parent?this.value[r.parent.name]:this.value;if(r.editable?i=r.value===r.name?r.initial||"":r.value:this.isDisabled(r)||(i=r.enabled===!0),t=await r.validate(i,this.state),t!==!0)break}return t!==!0&&(this.state.error=typeof t=="string"?t:"Invalid Input"),t}submit(){if(this.focused.newChoice===!0)return super.submit();if(this.choices.some(t=>t.newChoice))return this.alert();this.value={};for(let t of this.choices){let r=t.parent?this.value[t.parent.name]:this.value;if(t.role==="heading"){this.value[t.name]={};continue}t.editable?r[t.name]=t.value===t.name?t.initial||"":t.value:this.isDisabled(t)||(r[t.name]=t.enabled===!0)}return this.base.submit.call(this)}};U4.exports=rS});var wl=X((SRe,V4)=>{"use strict";var NAe=PA(),LAe=Z1(),{isPrimitive:MAe}=Ki(),iS=class extends NAe{constructor(t){super(t),this.initial=MAe(this.initial)?String(this.initial):"",this.initial&&this.cursorHide(),this.state.prevCursor=0,this.state.clipboard=[]}async keypress(t,r={}){let i=this.state.prevKeypress;return this.state.prevKeypress=r,this.options.multiline===!0&&r.name==="return"&&(!i||i.name!=="return")?this.append(`
|
|
216
216
|
`,r):super.keypress(t,r)}moveCursor(t){this.cursor+=t}reset(){return this.input=this.value="",this.cursor=0,this.render()}dispatch(t,r){if(!t||r.ctrl||r.code)return this.alert();this.append(t)}append(t){let{cursor:r,input:i}=this.state;this.input=`${i}`.slice(0,r)+t+`${i}`.slice(r),this.moveCursor(String(t).length),this.render()}insert(t){this.append(t)}delete(){let{cursor:t,input:r}=this.state;if(t<=0)return this.alert();this.input=`${r}`.slice(0,t-1)+`${r}`.slice(t),this.moveCursor(-1),this.render()}deleteForward(){let{cursor:t,input:r}=this.state;if(r[t]===void 0)return this.alert();this.input=`${r}`.slice(0,t)+`${r}`.slice(t+1),this.render()}cutForward(){let t=this.cursor;if(this.input.length<=t)return this.alert();this.state.clipboard.push(this.input.slice(t)),this.input=this.input.slice(0,t),this.render()}cutLeft(){let t=this.cursor;if(t===0)return this.alert();let r=this.input.slice(0,t),i=this.input.slice(t),n=r.split(" ");this.state.clipboard.push(n.pop()),this.input=n.join(" "),this.cursor=this.input.length,this.input+=i,this.render()}paste(){if(!this.state.clipboard.length)return this.alert();this.insert(this.state.clipboard.pop()),this.render()}toggleCursor(){this.state.prevCursor?(this.cursor=this.state.prevCursor,this.state.prevCursor=0):(this.state.prevCursor=this.cursor,this.cursor=0),this.render()}first(){this.cursor=0,this.render()}last(){this.cursor=this.input.length-1,this.render()}next(){let t=this.initial!=null?String(this.initial):"";if(!t||!t.startsWith(this.input))return this.alert();this.input=this.initial,this.cursor=this.initial.length,this.render()}prev(){if(!this.input)return this.alert();this.reset()}backward(){return this.left()}forward(){return this.right()}right(){return this.cursor>=this.input.length?this.alert():(this.moveCursor(1),this.render())}left(){return this.cursor<=0?this.alert():(this.moveCursor(-1),this.render())}isValue(t){return!!t}async format(t=this.value){let r=await this.resolve(this.initial,this.state);return this.state.submitted?this.styles.submitted(t||r):LAe(this,{input:t,initial:r,pos:this.cursor})}async render(){let t=this.state.size,r=await this.prefix(),i=await this.separator(),n=await this.message(),s=[r,n,i].filter(Boolean).join(" ");this.state.prompt=s;let o=await this.header(),a=await this.format(),u=await this.error()||await this.hint(),l=await this.footer();u&&!a.includes(u)&&(a+=" "+u),s+=" "+a,this.clear(t),this.write([o,s,l].filter(Boolean).join(`
|
|
217
|
-
`)),this.restore()}};V4.exports=
|
|
217
|
+
`)),this.restore()}};V4.exports=iS});var G4=X((DRe,$4)=>{"use strict";var OAe=e=>e.filter((t,r)=>e.lastIndexOf(t)===r),$0=e=>OAe(e).filter(Boolean);$4.exports=(e,t={},r="")=>{let{past:i=[],present:n=""}=t,s,o;switch(e){case"prev":case"undo":return s=i.slice(0,i.length-1),o=i[i.length-1]||"",{past:$0([r,...s]),present:o};case"next":case"redo":return s=i.slice(1),o=i[0]||"",{past:$0([...s,r]),present:o};case"save":return{past:$0([...i,r]),present:""};case"remove":return o=$0(i.filter(a=>a!==r)),n="",o.length&&(n=o.pop()),{past:o,present:n};default:throw new Error(`Invalid action: "${e}"`)}}});var sS=X((kRe,z4)=>{"use strict";var PAe=wl(),j4=G4(),nS=class extends PAe{constructor(t){super(t);let r=this.options.history;if(r&&r.store){let i=r.values||this.initial;this.autosave=!!r.autosave,this.store=r.store,this.data=this.store.get("values")||{past:[],present:i},this.initial=this.data.present||this.data.past[this.data.past.length-1]}}completion(t){return this.store?(this.data=j4(t,this.data,this.input),this.data.present?(this.input=this.data.present,this.cursor=this.input.length,this.render()):this.alert()):this.alert()}altUp(){return this.completion("prev")}altDown(){return this.completion("next")}prev(){return this.save(),super.prev()}save(){this.store&&(this.data=j4("save",this.data,this.input),this.store.set("values",this.data))}submit(){return this.store&&this.autosave===!0&&this.save(),super.submit()}};z4.exports=nS});var Y4=X((RRe,H4)=>{"use strict";var UAe=wl(),oS=class extends UAe{format(){return""}};H4.exports=oS});var J4=X((_Re,W4)=>{"use strict";var qAe=wl(),aS=class extends qAe{constructor(t={}){super(t),this.sep=this.options.separator||/, */,this.initial=t.initial||""}split(t=this.value){return t?String(t).split(this.sep):[]}format(){let t=this.state.submitted?this.styles.primary:r=>r;return this.list.map(t).join(", ")}async submit(t){let r=this.state.error||await this.validate(this.list,this.state);return r!==!0?(this.state.error=r,super.submit()):(this.value=this.list,super.submit())}get list(){return this.split()}};W4.exports=aS});var K4=X((TRe,Z4)=>{"use strict";var VAe=Xc(),cS=class extends VAe{constructor(t){super({...t,multiple:!0})}};Z4.exports=cS});var lS=X((FRe,X4)=>{"use strict";var $Ae=wl(),uS=class extends $Ae{constructor(t={}){super({style:"number",...t}),this.min=this.isValue(t.min)?this.toNumber(t.min):-1/0,this.max=this.isValue(t.max)?this.toNumber(t.max):1/0,this.delay=t.delay!=null?t.delay:1e3,this.float=t.float!==!1,this.round=t.round===!0||t.float===!1,this.major=t.major||10,this.minor=t.minor||1,this.initial=t.initial!=null?t.initial:"",this.input=String(this.initial),this.cursor=this.input.length,this.cursorShow()}append(t){return!/[-+.]/.test(t)||t==="."&&this.input.includes(".")?this.alert("invalid number"):super.append(t)}number(t){return super.append(t)}next(){return this.input&&this.input!==this.initial?this.alert():this.isValue(this.initial)?(this.input=this.initial,this.cursor=String(this.initial).length,this.render()):this.alert()}up(t){let r=t||this.minor,i=this.toNumber(this.input);return i>this.max+r?this.alert():(this.input=`${i+r}`,this.render())}down(t){let r=t||this.minor,i=this.toNumber(this.input);return i<this.min-r?this.alert():(this.input=`${i-r}`,this.render())}shiftDown(){return this.down(this.major)}shiftUp(){return this.up(this.major)}format(t=this.input){return typeof this.options.format=="function"?this.options.format.call(this,t):this.styles.info(t)}toNumber(t=""){return this.float?+t:Math.round(+t)}isValue(t){return/^[-+]?[0-9]+((\.)|(\.[0-9]+))?$/.test(t)}submit(){let t=[this.input,this.initial].find(r=>this.isValue(r));return this.value=this.toNumber(t||0),super.submit()}};X4.exports=uS});var t8=X((NRe,e8)=>{e8.exports=lS()});var i8=X((LRe,r8)=>{"use strict";var GAe=wl(),hS=class extends GAe{constructor(t){super(t),this.cursorShow()}format(t=this.input){return this.keypressed?(this.state.submitted?this.styles.primary:this.styles.muted)(this.symbols.asterisk.repeat(t.length)):""}};r8.exports=hS});var o8=X((MRe,s8)=>{"use strict";var jAe=Nn(),zAe=Pf(),n8=Ki(),AS=class extends zAe{constructor(t={}){super(t),this.widths=[].concat(t.messageWidth||50),this.align=[].concat(t.align||"left"),this.linebreak=t.linebreak||!1,this.edgeLength=t.edgeLength||3,this.newline=t.newline||`
|
|
218
218
|
`;let r=t.startNumber||1;typeof this.scale=="number"&&(this.scaleKey=!1,this.scale=Array(this.scale).fill(0).map((i,n)=>({name:n+r})))}async reset(){return this.tableized=!1,await super.reset(),this.render()}tableize(){if(this.tableized===!0)return;this.tableized=!0;let t=0;for(let r of this.choices){t=Math.max(t,r.message.length),r.scaleIndex=r.initial||2,r.scale=[];for(let i=0;i<this.scale.length;i++)r.scale.push({index:i})}this.widths[0]=Math.min(this.widths[0],t+3)}async dispatch(t,r){if(this.multiple)return this[r.name]?await this[r.name](t,r):await super.dispatch(t,r);this.alert()}heading(t,r,i){return this.styles.strong(t)}separator(){return this.styles.muted(this.symbols.ellipsis)}right(){let t=this.focused;return t.scaleIndex>=this.scale.length-1?this.alert():(t.scaleIndex++,this.render())}left(){let t=this.focused;return t.scaleIndex<=0?this.alert():(t.scaleIndex--,this.render())}indent(){return""}format(){return this.state.submitted?this.choices.map(r=>this.styles.info(r.index)).join(", "):""}pointer(){return""}renderScaleKey(){return this.scaleKey===!1||this.state.submitted?"":["",...this.scale.map(i=>` ${i.name} - ${i.message}`)].map(i=>this.styles.muted(i)).join(`
|
|
219
|
-
`)}renderScaleHeading(t){let r=this.scale.map(u=>u.name);typeof this.options.renderScaleHeading=="function"&&(r=this.options.renderScaleHeading.call(this,t));let i=this.scaleLength-r.join("").length,n=Math.round(i/(r.length-1)),o=r.map(u=>this.styles.strong(u)).join(" ".repeat(n)),a=" ".repeat(this.widths[0]);return this.margin[3]+a+this.margin[1]+o}scaleIndicator(t,r,i){if(typeof this.options.scaleIndicator=="function")return this.options.scaleIndicator.call(this,t,r,i);let n=t.scaleIndex===r.index;return r.disabled?this.styles.hint(this.symbols.radio.disabled):n?this.styles.success(this.symbols.radio.on):this.symbols.radio.off}renderScale(t,r){let i=t.scale.map(s=>this.scaleIndicator(t,s,r)),n=this.term==="Hyper"?"":" ";return i.join(n+this.symbols.line.repeat(this.edgeLength))}async renderChoice(t,r){await this.onChoice(t,r);let i=this.index===r,n=await this.pointer(t,r),s=await t.hint;s&&!
|
|
219
|
+
`)}renderScaleHeading(t){let r=this.scale.map(u=>u.name);typeof this.options.renderScaleHeading=="function"&&(r=this.options.renderScaleHeading.call(this,t));let i=this.scaleLength-r.join("").length,n=Math.round(i/(r.length-1)),o=r.map(u=>this.styles.strong(u)).join(" ".repeat(n)),a=" ".repeat(this.widths[0]);return this.margin[3]+a+this.margin[1]+o}scaleIndicator(t,r,i){if(typeof this.options.scaleIndicator=="function")return this.options.scaleIndicator.call(this,t,r,i);let n=t.scaleIndex===r.index;return r.disabled?this.styles.hint(this.symbols.radio.disabled):n?this.styles.success(this.symbols.radio.on):this.symbols.radio.off}renderScale(t,r){let i=t.scale.map(s=>this.scaleIndicator(t,s,r)),n=this.term==="Hyper"?"":" ";return i.join(n+this.symbols.line.repeat(this.edgeLength))}async renderChoice(t,r){await this.onChoice(t,r);let i=this.index===r,n=await this.pointer(t,r),s=await t.hint;s&&!n8.hasColor(s)&&(s=this.styles.muted(s));let o=g=>this.margin[3]+g.replace(/\s+$/,"").padEnd(this.widths[0]," "),a=this.newline,u=this.indent(t),l=await this.resolve(t.message,this.state,t,r),A=await this.renderScale(t,r),h=this.margin[1]+this.margin[3];this.scaleLength=jAe.unstyle(A).length,this.widths[0]=Math.min(this.widths[0],this.width-this.scaleLength-h.length);let m=n8.wordWrap(l,{width:this.widths[0],newline:a}).split(`
|
|
220
220
|
`).map(g=>o(g)+this.margin[1]);return i&&(A=this.styles.info(A),m=m.map(g=>this.styles.info(g))),m[0]+=A,this.linebreak&&m.push(""),[u+n,m.join(`
|
|
221
221
|
`)].filter(Boolean)}async renderChoices(){if(this.state.submitted)return"";this.tableize();let t=this.visible.map(async(n,s)=>await this.renderChoice(n,s)),r=await Promise.all(t),i=await this.renderScaleHeading();return this.margin[0]+[i,...r.map(n=>n.join(" "))].join(`
|
|
222
222
|
`)}async render(){let{submitted:t,size:r}=this.state,i=await this.prefix(),n=await this.separator(),s=await this.message(),o="";this.options.promptLine!==!1&&(o=[i,s,n,""].join(" "),this.state.prompt=o);let a=await this.header(),u=await this.format(),l=await this.renderScaleKey(),A=await this.error()||await this.hint(),h=await this.renderChoices(),d=await this.footer(),m=this.emptyError;u&&(o+=u),A&&!o.includes(A)&&(o+=" "+A),t&&!u&&!h.trim()&&this.multiple&&m!=null&&(o+=this.styles.danger(m)),this.clear(r),this.write([a,o,l,h,d].filter(Boolean).join(`
|
|
223
|
-
`)),this.state.submitted||this.write(this.margin[2]),this.restore()}submit(){this.value={};for(let t of this.choices)this.value[t.name]=t.scaleIndex;return this.base.submit.call(this)}};
|
|
224
|
-
`){m({type:"newline",value:g}),l++;continue}if(g==="\\"){g+=h(),m({type:"text",value:g});continue}if((g==="$"||g==="#"||g==="{")&&d()==="{"){let y=h();g+=y;let w={type:"template",open:g,inner:"",close:"",value:g},R;for(;R=h();){if(R==="}"){d()==="}"&&(R+=h()),w.value+=R,w.close=R;break}R===":"?(w.initial="",w.key=w.inner):w.initial!==void 0&&(w.initial+=R),w.value+=R,w.inner+=R}w.template=w.open+(w.initial||w.inner)+w.close,w.key=w.key||w.inner,t.hasOwnProperty(w.key)&&(w.initial=t[w.key]),w=r(w),m(w),u.push(w.key),i.add(w.key);let S=a.find(F=>F.name===w.key);w.field=n.find(F=>F.name===w.key),S||(S=new
|
|
223
|
+
`)),this.state.submitted||this.write(this.margin[2]),this.restore()}submit(){this.value={};for(let t of this.choices)this.value[t.name]=t.scaleIndex;return this.base.submit.call(this)}};s8.exports=AS});var u8=X((ORe,c8)=>{"use strict";var a8=Nn(),HAe=(e="")=>typeof e=="string"?e.replace(/^['"]|['"]$/g,""):"",dS=class{constructor(t){this.name=t.key,this.field=t.field||{},this.value=HAe(t.initial||this.field.initial||""),this.message=t.message||this.name,this.cursor=0,this.input="",this.lines=[]}},YAe=async(e={},t={},r=i=>i)=>{let i=new Set,n=e.fields||[],s=e.template,o=[],a=[],u=[],l=1;typeof s=="function"&&(s=await s());let A=-1,h=()=>s[++A],d=()=>s[A+1],m=g=>{g.line=l,o.push(g)};for(m({type:"bos",value:""});A<s.length-1;){let g=h();if(/^[^\S\n ]$/.test(g)){m({type:"text",value:g});continue}if(g===`
|
|
224
|
+
`){m({type:"newline",value:g}),l++;continue}if(g==="\\"){g+=h(),m({type:"text",value:g});continue}if((g==="$"||g==="#"||g==="{")&&d()==="{"){let y=h();g+=y;let w={type:"template",open:g,inner:"",close:"",value:g},R;for(;R=h();){if(R==="}"){d()==="}"&&(R+=h()),w.value+=R,w.close=R;break}R===":"?(w.initial="",w.key=w.inner):w.initial!==void 0&&(w.initial+=R),w.value+=R,w.inner+=R}w.template=w.open+(w.initial||w.inner)+w.close,w.key=w.key||w.inner,t.hasOwnProperty(w.key)&&(w.initial=t[w.key]),w=r(w),m(w),u.push(w.key),i.add(w.key);let S=a.find(F=>F.name===w.key);w.field=n.find(F=>F.name===w.key),S||(S=new dS(w),a.push(S)),S.lines.push(w.line-1);continue}let E=o[o.length-1];E.type==="text"&&E.line===l?E.value+=g:m({type:"text",value:g})}return m({type:"eos",value:""}),{input:s,tabstops:o,unique:i,keys:u,items:a}};c8.exports=async e=>{let t=e.options,r=new Set(t.required===!0?[]:t.required||[]),i={...t.values,...t.initial},{tabstops:n,items:s,keys:o}=await YAe(t,i),a=pS("result",e,t),u=pS("format",e,t),l=pS("validate",e,t,!0),A=e.isValue.bind(e);return async(h={},d=!1)=>{let m=0;h.required=r,h.items=s,h.keys=o,h.output="";let g=async(R,S,F,q)=>{let M=await l(R,S,F,q);return M===!1?"Invalid field "+F.name:M};for(let R of n){let S=R.value,F=R.key;if(R.type!=="template"){S&&(h.output+=S);continue}if(R.type==="template"){let q=s.find(k=>k.name===F);t.required===!0&&h.required.add(q.name);let M=[q.input,h.values[q.value],q.value,S].find(A),$=(q.field||{}).message||R.inner;if(d){let k=await g(h.values[F],h,q,m);if(k&&typeof k=="string"||k===!1){h.invalid.set(F,k);continue}h.invalid.delete(F);let Q=await a(h.values[F],h,q,m);h.output+=a8.unstyle(Q);continue}q.placeholder=!1;let T=S;S=await u(S,h,q,m),M!==S?(h.values[F]=M,S=e.styles.typing(M),h.missing.delete($)):(h.values[F]=void 0,M=`<${$}>`,S=e.styles.primary(M),q.placeholder=!0,h.required.has(F)&&h.missing.add($)),h.missing.has($)&&h.validating&&(S=e.styles.warning(M)),h.invalid.has(F)&&h.validating&&(S=e.styles.danger(M)),m===h.index&&(T!==S?S=e.styles.underline(S):S=e.styles.heading(a8.unstyle(S))),m++}S&&(h.output+=S)}let E=h.output.split(`
|
|
225
225
|
`).map(R=>" "+R),y=s.length,w=0;for(let R of s)h.invalid.has(R.name)&&R.lines.forEach(S=>{E[S][0]===" "&&(E[S]=h.styles.danger(h.symbols.bullet)+E[S].slice(1))}),e.isValue(h.values[R.name])&&w++;return h.completed=(w/y*100).toFixed(0),h.output=E.join(`
|
|
226
|
-
`),h.output}};function
|
|
226
|
+
`),h.output}};function pS(e,t,r,i){return(n,s,o,a)=>typeof o.field[e]=="function"?o.field[e].call(t,n,s,o,a):[i,n].find(u=>t.isValue(u))}});var h8=X((PRe,l8)=>{"use strict";var WAe=Nn(),JAe=u8(),ZAe=PA(),fS=class extends ZAe{constructor(t){super(t),this.cursorHide(),this.reset(!0)}async initialize(){this.interpolate=await JAe(this),await super.initialize()}async reset(t){this.state.keys=[],this.state.invalid=new Map,this.state.missing=new Set,this.state.completed=0,this.state.values={},t!==!0&&(await this.initialize(),await this.render())}moveCursor(t){let r=this.getItem();this.cursor+=t,r.cursor+=t}dispatch(t,r){if(!r.code&&!r.ctrl&&t!=null&&this.getItem()){this.append(t,r);return}this.alert()}append(t,r){let i=this.getItem(),n=i.input.slice(0,this.cursor),s=i.input.slice(this.cursor);this.input=i.input=`${n}${t}${s}`,this.moveCursor(1),this.render()}delete(){let t=this.getItem();if(this.cursor<=0||!t.input)return this.alert();let r=t.input.slice(this.cursor),i=t.input.slice(0,this.cursor-1);this.input=t.input=`${i}${r}`,this.moveCursor(-1),this.render()}increment(t){return t>=this.state.keys.length-1?0:t+1}decrement(t){return t<=0?this.state.keys.length-1:t-1}first(){this.state.index=0,this.render()}last(){this.state.index=this.state.keys.length-1,this.render()}right(){if(this.cursor>=this.input.length)return this.alert();this.moveCursor(1),this.render()}left(){if(this.cursor<=0)return this.alert();this.moveCursor(-1),this.render()}prev(){this.state.index=this.decrement(this.state.index),this.getItem(),this.render()}next(){this.state.index=this.increment(this.state.index),this.getItem(),this.render()}up(){this.prev()}down(){this.next()}format(t){let r=this.state.completed<100?this.styles.warning:this.styles.success;return this.state.submitted===!0&&this.state.completed!==100&&(r=this.styles.danger),r(`${this.state.completed}% completed`)}async render(){let{index:t,keys:r=[],submitted:i,size:n}=this.state,s=[this.options.newline,`
|
|
227
227
|
`].find(R=>R!=null),o=await this.prefix(),a=await this.separator(),u=await this.message(),l=[o,u,a].filter(Boolean).join(" ");this.state.prompt=l;let A=await this.header(),h=await this.error()||"",d=await this.hint()||"",m=i?"":await this.interpolate(this.state),g=this.state.key=r[t]||"",E=await this.format(g),y=await this.footer();E&&(l+=" "+E),d&&!E&&this.state.completed===0&&(l+=" "+d),this.clear(n);let w=[A,l,m,y,h.trim()];this.write(w.filter(Boolean).join(s)),this.restore()}getItem(t){let{items:r,keys:i,index:n}=this.state,s=r.find(o=>o.name===i[n]);return s&&s.input!=null&&(this.input=s.input,this.cursor=s.cursor),s}async submit(){typeof this.interpolate!="function"&&await this.initialize(),await this.interpolate(this.state,!0);let{invalid:t,missing:r,output:i,values:n}=this.state;if(t.size){let a="";for(let[u,l]of t)a+=`Invalid ${u}: ${l}
|
|
228
228
|
`;return this.state.error=a,super.submit()}if(r.size)return this.state.error="Required: "+[...r.keys()].join(", "),super.submit();let o=WAe.unstyle(i).split(`
|
|
229
229
|
`).map(a=>a.slice(1)).join(`
|
|
230
|
-
`);return this.value={values:n,result:o},super.submit()}};
|
|
230
|
+
`);return this.value={values:n,result:o},super.submit()}};l8.exports=fS});var p8=X((URe,A8)=>{"use strict";var KAe="(Use <shift>+<up/down> to sort)",XAe=Xc(),gS=class extends XAe{constructor(t){super({...t,reorder:!1,sort:!0,multiple:!0}),this.state.hint=[this.options.hint,KAe].find(this.isValue.bind(this))}indicator(){return""}async renderChoice(t,r){let i=await super.renderChoice(t,r),n=this.symbols.identicalTo+" ",s=this.index===r&&this.sorting?this.styles.muted(n):" ";return this.options.drag===!1&&(s=""),this.options.numbered===!0?s+`${r+1} - `+i:s+i}get selected(){return this.choices}submit(){return this.value=this.choices.map(t=>t.value),super.submit()}};A8.exports=gS});var f8=X((qRe,d8)=>{"use strict";var epe=Pf(),mS=class extends epe{constructor(t={}){if(super(t),this.emptyError=t.emptyError||"No items were selected",this.term=process.env.TERM_PROGRAM,!this.options.header){let r=["","4 - Strongly Agree","3 - Agree","2 - Neutral","1 - Disagree","0 - Strongly Disagree",""];r=r.map(i=>this.styles.muted(i)),this.state.header=r.join(`
|
|
231
231
|
`)}}async toChoices(...t){if(this.createdScales)return!1;this.createdScales=!0;let r=await super.toChoices(...t);for(let i of r)i.scale=tpe(5,this.options),i.scaleIdx=2;return r}dispatch(){this.alert()}space(){let t=this.focused,r=t.scale[t.scaleIdx],i=r.selected;return t.scale.forEach(n=>n.selected=!1),r.selected=!i,this.render()}indicator(){return""}pointer(){return""}separator(){return this.styles.muted(this.symbols.ellipsis)}right(){let t=this.focused;return t.scaleIdx>=t.scale.length-1?this.alert():(t.scaleIdx++,this.render())}left(){let t=this.focused;return t.scaleIdx<=0?this.alert():(t.scaleIdx--,this.render())}indent(){return" "}async renderChoice(t,r){await this.onChoice(t,r);let i=this.index===r,n=this.term==="Hyper",s=n?9:8,o=n?"":" ",a=this.symbols.line.repeat(s),u=" ".repeat(s+(n?0:1)),l=S=>(S?this.styles.success("\u25C9"):"\u25EF")+o,A=r+1+".",h=i?this.styles.heading:this.styles.noop,d=await this.resolve(t.message,this.state,t,r),m=this.indent(t),g=m+t.scale.map((S,F)=>l(F===t.scaleIdx)).join(a),E=S=>S===t.scaleIdx?h(S):S,y=m+t.scale.map((S,F)=>E(F)).join(u),w=()=>[A,d].filter(Boolean).join(" "),R=()=>[w(),g,y," "].filter(Boolean).join(`
|
|
232
232
|
`);return i&&(g=this.styles.cyan(g),y=this.styles.cyan(y)),R()}async renderChoices(){if(this.state.submitted)return"";let t=this.visible.map(async(i,n)=>await this.renderChoice(i,n)),r=await Promise.all(t);return r.length||r.push(this.styles.danger("No matching choices")),r.join(`
|
|
233
233
|
`)}format(){return this.state.submitted?this.choices.map(r=>this.styles.info(r.scaleIdx)).join(", "):""}async render(){let{submitted:t,size:r}=this.state,i=await this.prefix(),n=await this.separator(),s=await this.message(),o=[i,s,n].filter(Boolean).join(" ");this.state.prompt=o;let a=await this.header(),u=await this.format(),l=await this.error()||await this.hint(),A=await this.renderChoices(),h=await this.footer();(u||!l)&&(o+=" "+u),l&&!o.includes(l)&&(o+=" "+l),t&&!u&&!A&&this.multiple&&this.type!=="form"&&(o+=this.styles.danger(this.emptyError)),this.clear(r),this.write([o,a,A,h].filter(Boolean).join(`
|
|
234
|
-
`)),this.restore()}submit(){this.value={};for(let t of this.choices)this.value[t.name]=t.scaleIdx;return this.base.submit.call(this)}};function tpe(e,t={}){if(Array.isArray(t.scale))return t.scale.map(i=>({...i}));let r=[];for(let i=1;i<e+1;i++)r.push({i,selected:!1});return r}
|
|
235
|
-
`)),this.write(this.margin[2]),this.restore()}};
|
|
234
|
+
`)),this.restore()}submit(){this.value={};for(let t of this.choices)this.value[t.name]=t.scaleIdx;return this.base.submit.call(this)}};function tpe(e,t={}){if(Array.isArray(t.scale))return t.scale.map(i=>({...i}));let r=[];for(let i=1;i<e+1;i++)r.push({i,selected:!1});return r}d8.exports=mS});var m8=X((VRe,g8)=>{g8.exports=sS()});var C8=X(($Re,E8)=>{"use strict";var rpe=V0(),ES=class extends rpe{async initialize(){await super.initialize(),this.value=this.initial=!!this.options.initial,this.disabled=this.options.disabled||"no",this.enabled=this.options.enabled||"yes",await this.render()}reset(){this.value=this.initial,this.render()}delete(){this.alert()}toggle(){this.value=!this.value,this.render()}enable(){if(this.value===!0)return this.alert();this.value=!0,this.render()}disable(){if(this.value===!1)return this.alert();this.value=!1,this.render()}up(){this.toggle()}down(){this.toggle()}right(){this.toggle()}left(){this.toggle()}next(){this.toggle()}prev(){this.toggle()}dispatch(t="",r){switch(t.toLowerCase()){case" ":return this.toggle();case"1":case"y":case"t":return this.enable();case"0":case"n":case"f":return this.disable();default:return this.alert()}}format(){let t=i=>this.styles.primary.underline(i);return[this.value?this.disabled:t(this.disabled),this.value?t(this.enabled):this.enabled].join(this.styles.muted(" / "))}async render(){let{size:t}=this.state,r=await this.header(),i=await this.prefix(),n=await this.separator(),s=await this.message(),o=await this.format(),a=await this.error()||await this.hint(),u=await this.footer(),l=[i,s,n,o].join(" ");this.state.prompt=l,a&&!l.includes(a)&&(l+=" "+a),this.clear(t),this.write([r,l,u].filter(Boolean).join(`
|
|
235
|
+
`)),this.write(this.margin[2]),this.restore()}};E8.exports=ES});var b8=X((GRe,y8)=>{"use strict";var ipe=Xc(),CS=class extends ipe{constructor(t){if(super(t),typeof this.options.correctChoice!="number"||this.options.correctChoice<0)throw new Error("Please specify the index of the correct answer from the list of choices")}async toChoices(t,r){let i=await super.toChoices(t,r);if(i.length<2)throw new Error("Please give at least two choices to the user");if(this.options.correctChoice>i.length)throw new Error("Please specify the index of the correct answer from the list of choices");return i}check(t){return t.index===this.options.correctChoice}async result(t){return{selectedAnswer:t,correctAnswer:this.options.choices[this.options.correctChoice].value,correct:await this.check(this.state)}}};y8.exports=CS});var w8=X(yS=>{"use strict";var I8=Ki(),mi=(e,t)=>{I8.defineExport(yS,e,t),I8.defineExport(yS,e.toLowerCase(),t)};mi("AutoComplete",()=>D4());mi("BasicAuth",()=>L4());mi("Confirm",()=>P4());mi("Editable",()=>q4());mi("Form",()=>q0());mi("Input",()=>sS());mi("Invisible",()=>Y4());mi("List",()=>J4());mi("MultiSelect",()=>K4());mi("Numeral",()=>t8());mi("Password",()=>i8());mi("Scale",()=>o8());mi("Select",()=>Xc());mi("Snippet",()=>h8());mi("Sort",()=>p8());mi("Survey",()=>f8());mi("Text",()=>m8());mi("Toggle",()=>C8());mi("Quiz",()=>b8())});var v8=X((zRe,B8)=>{B8.exports={ArrayPrompt:Pf(),AuthPrompt:X1(),BooleanPrompt:V0(),NumberPrompt:lS(),StringPrompt:wl()}});var wS=X((HRe,Q8)=>{"use strict";var x8=require("assert"),IS=require("events"),eu=Ki(),to=class extends IS{constructor(t,r){super(),this.options=eu.merge({},t),this.answers={...r}}register(t,r){if(eu.isObject(t)){for(let n of Object.keys(t))this.register(n,t[n]);return this}x8.equal(typeof r,"function","expected a function");let i=t.toLowerCase();return r.prototype instanceof this.Prompt?this.prompts[i]=r:this.prompts[i]=r(this.Prompt,this),this}async prompt(t=[]){for(let r of[].concat(t))try{typeof r=="function"&&(r=await r.call(this)),await this.ask(eu.merge({},this.options,r))}catch(i){return Promise.reject(i)}return this.answers}async ask(t){typeof t=="function"&&(t=await t.call(this));let r=eu.merge({},this.options,t),{type:i,name:n}=t,{set:s,get:o}=eu;if(typeof i=="function"&&(i=await i.call(this,t,this.answers)),!i)return this.answers[n];x8(this.prompts[i],`Prompt "${i}" is not registered`);let a=new this.prompts[i](r),u=o(this.answers,n);a.state.answers=this.answers,a.enquirer=this,n&&a.on("submit",A=>{this.emit("answer",n,A,a),s(this.answers,n,A)});let l=a.emit.bind(a);return a.emit=(...A)=>(this.emit.call(this,...A),l(...A)),this.emit("prompt",a,this),r.autofill&&u!=null?(a.value=a.input=u,r.autofill==="show"&&await a.submit()):u=a.value=await a.run(),u}use(t){return t.call(this,this),this}set Prompt(t){this._Prompt=t}get Prompt(){return this._Prompt||this.constructor.Prompt}get prompts(){return this.constructor.prompts}static set Prompt(t){this._Prompt=t}static get Prompt(){return this._Prompt||PA()}static get prompts(){return w8()}static get types(){return v8()}static get prompt(){let t=(r,...i)=>{let n=new this(...i),s=n.emit.bind(n);return n.emit=(...o)=>(t.emit(...o),s(...o)),n.prompt(r)};return eu.mixinEmitter(t,new IS),t}};eu.mixinEmitter(to,new IS);var bS=to.prompts;for(let e of Object.keys(bS)){let t=e.toLowerCase(),r=i=>new bS[e](i).run();to.prompt[t]=r,to[t]=r,to[e]||Reflect.defineProperty(to,e,{get:()=>bS[e]})}var Uf=e=>{eu.defineExport(to,e,()=>to.types[e])};Uf("ArrayPrompt");Uf("AuthPrompt");Uf("BooleanPrompt");Uf("NumberPrompt");Uf("StringPrompt");Q8.exports=to});var j0=X(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.GitHubPushError=ro.VcsPushStatus=void 0;ro.checkGitVersion=k8;ro.isGitAvailable=ope;ro.isGhCliAvailable=R8;ro.initializeGitRepo=hpe;ro.pushToGitHub=Ape;var npe=(qo(),na(Uo)),D8=require("child_process"),spe=D1(),vS=Mf(),ts=ja(),S8=npe.__importDefault(wS()),G0;(function(e){e.PushedToVcs="PushedToVcs",e.OptedOutOfPushingToVcs="OptedOutOfPushingToVcs",e.FailedToPushToVcs="FailedToPushToVcs",e.SkippedGit="SkippedGit"})(G0||(ro.VcsPushStatus=G0={}));var Ya=class extends Error{constructor(t,r){super(t),this.reason=r,this.name="GitHubPushError"}};ro.GitHubPushError=Ya;async function k8(){try{return(await(0,ts.execAndWait)("git --version",process.cwd())).stdout.trim().match(/[0-9]+\.[0-9]+\.+[0-9]+/)?.[0]}catch{return null}}function ope(){try{return(0,D8.execSync)("git --version",{stdio:"ignore",windowsHide:!0}),!0}catch{return!1}}var xS=1e3,BS=1e4,ape=3e4;function R8(){try{return(0,D8.execSync)("gh --version",{stdio:"ignore",windowsHide:!0,timeout:xS}),!0}catch{return!1}}async function cpe(e){try{return(await(0,ts.execAndWait)("gh api user --jq .login",e,!0,xS)).stdout.trim()||null}catch{return null}}var _8;function upe(e){_8??=lpe(e)}async function lpe(e){try{let t=new Set,[r,i]=await Promise.all([(0,ts.execAndWait)('gh repo list --limit 100 --json nameWithOwner --jq ".[].nameWithOwner"',e,!0,BS),(0,ts.execAndWait)('gh api user/orgs --jq ".[].login"',e,!0,BS)]);r.stdout.trim().split(`
|
|
236
236
|
`).filter(a=>a.length>0).forEach(a=>t.add(a));let s=i.stdout.trim().split(`
|
|
237
|
-
`).filter(a=>a.length>0).map(async a=>{try{return(await(0,ts.execAndWait)(`gh repo list ${a} --limit 100 --json nameWithOwner --jq ".[].nameWithOwner"`,e,!0,
|
|
238
|
-
`).filter(l=>l.length>0)}catch{return[]}});return(await Promise.all(s)).flat().forEach(a=>t.add(a)),t}catch{return new Set}}async function hpe(e,t){t.commit?.name&&(process.env.GIT_AUTHOR_NAME=t.commit.name,process.env.GIT_COMMITTER_NAME=t.commit.name),t.commit?.email&&(process.env.GIT_AUTHOR_EMAIL=t.commit.email,process.env.GIT_COMMITTER_EMAIL=t.commit.email);let r=await
|
|
237
|
+
`).filter(a=>a.length>0).map(async a=>{try{return(await(0,ts.execAndWait)(`gh repo list ${a} --limit 100 --json nameWithOwner --jq ".[].nameWithOwner"`,e,!0,BS)).stdout.trim().split(`
|
|
238
|
+
`).filter(l=>l.length>0)}catch{return[]}});return(await Promise.all(s)).flat().forEach(a=>t.add(a)),t}catch{return new Set}}async function hpe(e,t){t.commit?.name&&(process.env.GIT_AUTHOR_NAME=t.commit.name,process.env.GIT_COMMITTER_NAME=t.commit.name),t.commit?.email&&(process.env.GIT_AUTHOR_EMAIL=t.commit.email,process.env.GIT_COMMITTER_EMAIL=t.commit.email);let r=await k8();if(!r)return;if(await(0,ts.execAndWait)("git rev-parse --is-inside-work-tree",e,!0).then(()=>!0,()=>!1)){vS.output.log({title:"Directory is already under version control. Skipping initialization of git."});return}let n=t.defaultBase||(0,spe.deduceDefaultBase)(),[s,o]=r.split(".");if(+s>2||+s==2&&+o>=28?await(0,ts.execAndWait)(`git init -b ${n}`,e):(await(0,ts.execAndWait)("git init",e),await(0,ts.execAndWait)(`git checkout -b ${n}`,e)),await(0,ts.execAndWait)("git add .",e),t.commit){let a=`${t.commit.message}`||"initial commit";t.connectUrl&&(a=`${a}
|
|
239
239
|
|
|
240
240
|
To connect your workspace to Nx Cloud, push your repository
|
|
241
241
|
to your git hosting provider and go to the following URL:
|
|
242
242
|
|
|
243
243
|
${t.connectUrl}
|
|
244
|
-
`),await(0,ts.execAndWait)(`git commit -m "${a}"`,e)}}async function Ape(e,t){try{if(process.env.NX_SKIP_GH_PUSH==="true")throw new Ya("NX_SKIP_GH_PUSH is true","env-skip");if(!
|
|
245
|
-
`)[0].slice(0,200),"push-failed")}}});var Tz=X(z0=>{"use strict";Object.defineProperty(z0,"__esModule",{value:!0});z0.getCompletionMessage=Epe;z0.getSkippedCloudMessage=Cpe;var ppe=j0();function dpe(e){let t=`Finish setup: ${e}`,r=t.length+6,i="+"+"-".repeat(r)+"+",n="|"+" ".repeat(r)+"|",s="| "+t+" |";return[i,n,s,n,i]}function fpe(e,t){return e==="2"?dpe(t):[]}function gpe(e,t,r){let i=r?`https://github.com/new?name=${encodeURIComponent(r)}`:"https://github.com/new";if(t===ppe.VcsPushStatus.PushedToVcs)return e?`Go to Nx Cloud and finish the setup: ${e}`:"Return to Nx Cloud and finish the setup.";let n=e?"go":"return",s=e?`: ${e}`:".";return`Push your repo (${i}), then ${n} to Nx Cloud and finish the setup${s}`}var mpe={"ci-setup":{title:"Your CI setup is almost complete."},"cache-setup":{title:"Your remote cache setup is almost complete."},"platform-setup":{title:"Your platform setup is almost complete."}};function Epe(e,t,r,i,n){let o=mpe[e??"ci-setup"],a=n??"0",u=a==="2"?"":o.title;if(a!=="0"&&t){let A=fpe(a,t);if(A.length>0)return{title:u,bodyLines:[...A,""]}}let l=[gpe(t,r,i)];return{title:u,bodyLines:l}}function Cpe(){return{title:"Next steps",bodyLines:['Run "nx connect" to enable remote caching and speed up your CI.',"","70% faster CI, 60% less compute, automatically fix broken PRs.","Learn more at https://nx.dev/nx-cloud"]}}});var Lz=X((KRe,Nz)=>{var Fz=require("stream").Stream,ype=require("util");Nz.exports=io;function io(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}ype.inherits(io,Fz);io.create=function(e,t){var r=new this;t=t||{};for(var i in t)r[i]=t[i];r.source=e;var n=e.emit;return e.emit=function(){return r._handleEmit(arguments),n.apply(e,arguments)},e.on("error",function(){}),r.pauseStream&&e.pause(),r};Object.defineProperty(io.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});io.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};io.prototype.resume=function(){this._released||this.release(),this.source.resume()};io.prototype.pause=function(){this.source.pause()};io.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};io.prototype.pipe=function(){var e=Fz.prototype.pipe.apply(this,arguments);return this.resume(),e};io.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}e[0]==="data"&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e)};io.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}});var Uz=X((XRe,Pz)=>{var bpe=require("util"),Oz=require("stream").Stream,Mz=Lz();Pz.exports=Xr;function Xr(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}bpe.inherits(Xr,Oz);Xr.create=function(e){var t=new this;e=e||{};for(var r in e)t[r]=e[r];return t};Xr.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};Xr.prototype.append=function(e){var t=Xr.isStreamLike(e);if(t){if(!(e instanceof Mz)){var r=Mz.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=r}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this};Xr.prototype.pipe=function(e,t){return Oz.prototype.pipe.call(this,e,t),this.resume(),e};Xr.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};Xr.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e>"u"){this.end();return}if(typeof e!="function"){this._pipeNext(e);return}var t=e;t(function(r){var i=Xr.isStreamLike(r);i&&(r.on("data",this._checkDataSize.bind(this)),this._handleErrors(r)),this._pipeNext(r)}.bind(this))};Xr.prototype._pipeNext=function(e){this._currentStream=e;var t=Xr.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var r=e;this.write(r),this._getNext()};Xr.prototype._handleErrors=function(e){var t=this;e.on("error",function(r){t._emitError(r)})};Xr.prototype.write=function(e){this.emit("data",e)};Xr.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};Xr.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};Xr.prototype.end=function(){this._reset(),this.emit("end")};Xr.prototype.destroy=function(){this._reset(),this.emit("close")};Xr.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};Xr.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};Xr.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};Xr.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var qz=X((e_e,Ipe)=>{Ipe.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var $z=X((t_e,Vz)=>{Vz.exports=qz()});var zz=X(Mn=>{"use strict";var H0=$z(),wpe=require("path").extname,Gz=/^\s*([^;\s]*)(?:;|\s|$)/,Bpe=/^text\//i;Mn.charset=jz;Mn.charsets={lookup:jz};Mn.contentType=vpe;Mn.extension=xpe;Mn.extensions=Object.create(null);Mn.lookup=Qpe;Mn.types=Object.create(null);Spe(Mn.extensions,Mn.types);function jz(e){if(!e||typeof e!="string")return!1;var t=Gz.exec(e),r=t&&H0[t[1].toLowerCase()];return r&&r.charset?r.charset:t&&Bpe.test(t[1])?"UTF-8":!1}function vpe(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?Mn.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var r=Mn.charset(t);r&&(t+="; charset="+r.toLowerCase())}return t}function xpe(e){if(!e||typeof e!="string")return!1;var t=Gz.exec(e),r=t&&Mn.extensions[t[1].toLowerCase()];return!r||!r.length?!1:r[0]}function Qpe(e){if(!e||typeof e!="string")return!1;var t=wpe("x."+e).toLowerCase().substr(1);return t&&Mn.types[t]||!1}function Spe(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(H0).forEach(function(n){var s=H0[n],o=s.extensions;if(!(!o||!o.length)){e[n]=o;for(var a=0;a<o.length;a++){var u=o[a];if(t[u]){var l=r.indexOf(H0[t[u]].source),A=r.indexOf(s.source);if(t[u]!=="application/octet-stream"&&(l>A||l===A&&t[u].substr(0,12)==="application/"))continue}t[u]=n}}})}});var Yz=X((i_e,Hz)=>{Hz.exports=Dpe;function Dpe(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}});var Q1=X((n_e,Jz)=>{var Wz=Yz();Jz.exports=kpe;function kpe(e){var t=!1;return Wz(function(){t=!0}),function(i,n){t?e(i,n):Wz(function(){e(i,n)})}}});var S1=X((s_e,Zz)=>{Zz.exports=Rpe;function Rpe(e){Object.keys(e.jobs).forEach(_pe.bind(e)),e.jobs={}}function _pe(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var D1=X((o_e,Xz)=>{var Kz=Q1(),Tpe=S1();Xz.exports=Fpe;function Fpe(e,t,r,i){var n=r.keyedList?r.keyedList[r.index]:r.index;r.jobs[n]=Npe(t,n,e[n],function(s,o){n in r.jobs&&(delete r.jobs[n],s?Tpe(r):r.results[n]=o,i(s,r.results))})}function Npe(e,t,r,i){var n;return e.length==2?n=e(r,Kz(i)):n=e(r,t,Kz(i)),n}});var k1=X((a_e,e8)=>{e8.exports=Lpe;function Lpe(e,t){var r=!Array.isArray(e),i={index:0,keyedList:r||t?Object.keys(e):null,jobs:{},results:r?{}:[],size:r?Object.keys(e).length:e.length};return t&&i.keyedList.sort(r?t:function(n,s){return t(e[n],e[s])}),i}});var R1=X((c_e,t8)=>{var Mpe=S1(),Ope=Q1();t8.exports=Ppe;function Ppe(e){Object.keys(this.jobs).length&&(this.index=this.size,Mpe(this),Ope(e)(null,this.results))}});var i8=X((u_e,r8)=>{var Upe=D1(),qpe=k1(),Vpe=R1();r8.exports=$pe;function $pe(e,t,r){for(var i=qpe(e);i.index<(i.keyedList||e).length;)Upe(e,t,i,function(n,s){if(n){r(n,s);return}if(Object.keys(i.jobs).length===0){r(null,i.results);return}}),i.index++;return Vpe.bind(i,r)}});var _1=X((l_e,Y0)=>{var n8=D1(),Gpe=k1(),jpe=R1();Y0.exports=zpe;Y0.exports.ascending=s8;Y0.exports.descending=Hpe;function zpe(e,t,r,i){var n=Gpe(e,r);return n8(e,t,n,function s(o,a){if(o){i(o,a);return}if(n.index++,n.index<(n.keyedList||e).length){n8(e,t,n,s);return}i(null,n.results)}),jpe.bind(n,i)}function s8(e,t){return e<t?-1:e>t?1:0}function Hpe(e,t){return-1*s8(e,t)}});var a8=X((h_e,o8)=>{var Ype=_1();o8.exports=Wpe;function Wpe(e,t,r){return Ype(e,t,null,r)}});var u8=X((A_e,c8)=>{c8.exports={parallel:i8(),serial:a8(),serialOrdered:_1()}});var T1=X((p_e,l8)=>{"use strict";l8.exports=Object});var A8=X((d_e,h8)=>{"use strict";h8.exports=Error});var d8=X((f_e,p8)=>{"use strict";p8.exports=EvalError});var g8=X((g_e,f8)=>{"use strict";f8.exports=RangeError});var E8=X((m_e,m8)=>{"use strict";m8.exports=ReferenceError});var y8=X((E_e,C8)=>{"use strict";C8.exports=SyntaxError});var W0=X((C_e,b8)=>{"use strict";b8.exports=TypeError});var w8=X((y_e,I8)=>{"use strict";I8.exports=URIError});var v8=X((b_e,B8)=>{"use strict";B8.exports=Math.abs});var Q8=X((I_e,x8)=>{"use strict";x8.exports=Math.floor});var D8=X((w_e,S8)=>{"use strict";S8.exports=Math.max});var R8=X((B_e,k8)=>{"use strict";k8.exports=Math.min});var T8=X((v_e,_8)=>{"use strict";_8.exports=Math.pow});var N8=X((x_e,F8)=>{"use strict";F8.exports=Math.round});var M8=X((Q_e,L8)=>{"use strict";L8.exports=Number.isNaN||function(t){return t!==t}});var P8=X((S_e,O8)=>{"use strict";var Jpe=M8();O8.exports=function(t){return Jpe(t)||t===0?t:t<0?-1:1}});var q8=X((D_e,U8)=>{"use strict";U8.exports=Object.getOwnPropertyDescriptor});var F1=X((k_e,V8)=>{"use strict";var J0=q8();if(J0)try{J0([],"length")}catch{J0=null}V8.exports=J0});var G8=X((R_e,$8)=>{"use strict";var Z0=Object.defineProperty||!1;if(Z0)try{Z0({},"a",{value:1})}catch{Z0=!1}$8.exports=Z0});var N1=X((__e,j8)=>{"use strict";j8.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),i=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var n=42;t[r]=n;for(var s in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(t,r);if(a.value!==n||a.enumerable!==!0)return!1}return!0}});var Y8=X((T_e,H8)=>{"use strict";var z8=typeof Symbol<"u"&&Symbol,Zpe=N1();H8.exports=function(){return typeof z8!="function"||typeof Symbol!="function"||typeof z8("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Zpe()}});var L1=X((F_e,W8)=>{"use strict";W8.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var M1=X((N_e,J8)=>{"use strict";var Kpe=T1();J8.exports=Kpe.getPrototypeOf||null});var X8=X((L_e,K8)=>{"use strict";var Xpe="Function.prototype.bind called on incompatible ",ede=Object.prototype.toString,tde=Math.max,rde="[object Function]",Z8=function(t,r){for(var i=[],n=0;n<t.length;n+=1)i[n]=t[n];for(var s=0;s<r.length;s+=1)i[s+t.length]=r[s];return i},ide=function(t,r){for(var i=[],n=r||0,s=0;n<t.length;n+=1,s+=1)i[s]=t[n];return i},nde=function(e,t){for(var r="",i=0;i<e.length;i+=1)r+=e[i],i+1<e.length&&(r+=t);return r};K8.exports=function(t){var r=this;if(typeof r!="function"||ede.apply(r)!==rde)throw new TypeError(Xpe+r);for(var i=ide(arguments,1),n,s=function(){if(this instanceof n){var A=r.apply(this,Z8(i,arguments));return Object(A)===A?A:this}return r.apply(t,Z8(i,arguments))},o=tde(0,r.length-i.length),a=[],u=0;u<o;u++)a[u]="$"+u;if(n=Function("binder","return function ("+nde(a,",")+"){ return binder.apply(this,arguments); }")(s),r.prototype){var l=function(){};l.prototype=r.prototype,n.prototype=new l,l.prototype=null}return n}});var qf=X((M_e,e9)=>{"use strict";var sde=X8();e9.exports=Function.prototype.bind||sde});var K0=X((O_e,t9)=>{"use strict";t9.exports=Function.prototype.call});var O1=X((P_e,r9)=>{"use strict";r9.exports=Function.prototype.apply});var n9=X((U_e,i9)=>{"use strict";i9.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var o9=X((q_e,s9)=>{"use strict";var ode=qf(),ade=O1(),cde=K0(),ude=n9();s9.exports=ude||ode.call(cde,ade)});var c9=X((V_e,a9)=>{"use strict";var lde=qf(),hde=W0(),Ade=K0(),pde=o9();a9.exports=function(t){if(t.length<1||typeof t[0]!="function")throw new hde("a function is required");return pde(lde,Ade,t)}});var d9=X(($_e,p9)=>{"use strict";var dde=c9(),u9=F1(),h9;try{h9=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var P1=!!h9&&u9&&u9(Object.prototype,"__proto__"),A9=Object,l9=A9.getPrototypeOf;p9.exports=P1&&typeof P1.get=="function"?dde([P1.get]):typeof l9=="function"?function(t){return l9(t==null?t:A9(t))}:!1});var C9=X((G_e,E9)=>{"use strict";var f9=L1(),g9=M1(),m9=d9();E9.exports=f9?function(t){return f9(t)}:g9?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return g9(t)}:m9?function(t){return m9(t)}:null});var X0=X((j_e,y9)=>{"use strict";var fde=Function.prototype.call,gde=Object.prototype.hasOwnProperty,mde=qf();y9.exports=mde.call(fde,gde)});var Q9=X((z_e,x9)=>{"use strict";var rr,Ede=T1(),Cde=A8(),yde=d8(),bde=g8(),Ide=E8(),GA=y8(),$A=W0(),wde=w8(),Bde=v8(),vde=Q8(),xde=D8(),Qde=R8(),Sde=T8(),Dde=N8(),kde=P8(),B9=Function,U1=function(e){try{return B9('"use strict"; return ('+e+").constructor;")()}catch{}},Vf=F1(),Rde=G8(),q1=function(){throw new $A},_de=Vf?(function(){try{return arguments.callee,q1}catch{try{return Vf(arguments,"callee").get}catch{return q1}}})():q1,qA=Y8()(),Ti=C9(),Tde=M1(),Fde=L1(),v9=O1(),$f=K0(),VA={},Nde=typeof Uint8Array>"u"||!Ti?rr:Ti(Uint8Array),Bl={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?rr:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?rr:ArrayBuffer,"%ArrayIteratorPrototype%":qA&&Ti?Ti([][Symbol.iterator]()):rr,"%AsyncFromSyncIteratorPrototype%":rr,"%AsyncFunction%":VA,"%AsyncGenerator%":VA,"%AsyncGeneratorFunction%":VA,"%AsyncIteratorPrototype%":VA,"%Atomics%":typeof Atomics>"u"?rr:Atomics,"%BigInt%":typeof BigInt>"u"?rr:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?rr:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?rr:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?rr:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Cde,"%eval%":eval,"%EvalError%":yde,"%Float16Array%":typeof Float16Array>"u"?rr:Float16Array,"%Float32Array%":typeof Float32Array>"u"?rr:Float32Array,"%Float64Array%":typeof Float64Array>"u"?rr:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?rr:FinalizationRegistry,"%Function%":B9,"%GeneratorFunction%":VA,"%Int8Array%":typeof Int8Array>"u"?rr:Int8Array,"%Int16Array%":typeof Int16Array>"u"?rr:Int16Array,"%Int32Array%":typeof Int32Array>"u"?rr:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":qA&&Ti?Ti(Ti([][Symbol.iterator]())):rr,"%JSON%":typeof JSON=="object"?JSON:rr,"%Map%":typeof Map>"u"?rr:Map,"%MapIteratorPrototype%":typeof Map>"u"||!qA||!Ti?rr:Ti(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Ede,"%Object.getOwnPropertyDescriptor%":Vf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?rr:Promise,"%Proxy%":typeof Proxy>"u"?rr:Proxy,"%RangeError%":bde,"%ReferenceError%":Ide,"%Reflect%":typeof Reflect>"u"?rr:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?rr:Set,"%SetIteratorPrototype%":typeof Set>"u"||!qA||!Ti?rr:Ti(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?rr:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":qA&&Ti?Ti(""[Symbol.iterator]()):rr,"%Symbol%":qA?Symbol:rr,"%SyntaxError%":GA,"%ThrowTypeError%":_de,"%TypedArray%":Nde,"%TypeError%":$A,"%Uint8Array%":typeof Uint8Array>"u"?rr:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?rr:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?rr:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?rr:Uint32Array,"%URIError%":wde,"%WeakMap%":typeof WeakMap>"u"?rr:WeakMap,"%WeakRef%":typeof WeakRef>"u"?rr:WeakRef,"%WeakSet%":typeof WeakSet>"u"?rr:WeakSet,"%Function.prototype.call%":$f,"%Function.prototype.apply%":v9,"%Object.defineProperty%":Rde,"%Object.getPrototypeOf%":Tde,"%Math.abs%":Bde,"%Math.floor%":vde,"%Math.max%":xde,"%Math.min%":Qde,"%Math.pow%":Sde,"%Math.round%":Dde,"%Math.sign%":kde,"%Reflect.getPrototypeOf%":Fde};if(Ti)try{null.error}catch(e){b9=Ti(Ti(e)),Bl["%Error.prototype%"]=b9}var b9,Lde=function e(t){var r;if(t==="%AsyncFunction%")r=U1("async function () {}");else if(t==="%GeneratorFunction%")r=U1("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=U1("async function* () {}");else if(t==="%AsyncGenerator%"){var i=e("%AsyncGeneratorFunction%");i&&(r=i.prototype)}else if(t==="%AsyncIteratorPrototype%"){var n=e("%AsyncGenerator%");n&&Ti&&(r=Ti(n.prototype))}return Bl[t]=r,r},I9={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Gf=qf(),ey=X0(),Mde=Gf.call($f,Array.prototype.concat),Ode=Gf.call(v9,Array.prototype.splice),w9=Gf.call($f,String.prototype.replace),ty=Gf.call($f,String.prototype.slice),Pde=Gf.call($f,RegExp.prototype.exec),Ude=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,qde=/\\(\\)?/g,Vde=function(t){var r=ty(t,0,1),i=ty(t,-1);if(r==="%"&&i!=="%")throw new GA("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&r!=="%")throw new GA("invalid intrinsic syntax, expected opening `%`");var n=[];return w9(t,Ude,function(s,o,a,u){n[n.length]=a?w9(u,qde,"$1"):o||s}),n},$de=function(t,r){var i=t,n;if(ey(I9,i)&&(n=I9[i],i="%"+n[0]+"%"),ey(Bl,i)){var s=Bl[i];if(s===VA&&(s=Lde(i)),typeof s>"u"&&!r)throw new $A("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:s}}throw new GA("intrinsic "+t+" does not exist!")};x9.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new $A("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new $A('"allowMissing" argument must be a boolean');if(Pde(/^%?[^%]*%?$/,t)===null)throw new GA("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=Vde(t),n=i.length>0?i[0]:"",s=$de("%"+n+"%",r),o=s.name,a=s.value,u=!1,l=s.alias;l&&(n=l[0],Ode(i,Mde([0,1],l)));for(var A=1,h=!0;A<i.length;A+=1){var d=i[A],m=ty(d,0,1),g=ty(d,-1);if((m==='"'||m==="'"||m==="`"||g==='"'||g==="'"||g==="`")&&m!==g)throw new GA("property names with quotes must have matching quotes");if((d==="constructor"||!h)&&(u=!0),n+="."+d,o="%"+n+"%",ey(Bl,o))a=Bl[o];else if(a!=null){if(!(d in a)){if(!r)throw new $A("base intrinsic for "+t+" exists, but the property is not available.");return}if(Vf&&A+1>=i.length){var E=Vf(a,d);h=!!E,h&&"get"in E&&!("originalValue"in E.get)?a=E.get:a=a[d]}else h=ey(a,d),a=a[d];h&&!u&&(Bl[o]=a)}}return a}});var D9=X((H_e,S9)=>{"use strict";var Gde=N1();S9.exports=function(){return Gde()&&!!Symbol.toStringTag}});var _9=X((Y_e,R9)=>{"use strict";var jde=Q9(),k9=jde("%Object.defineProperty%",!0),zde=D9()(),Hde=X0(),Yde=W0(),ry=zde?Symbol.toStringTag:null;R9.exports=function(t,r){var i=arguments.length>2&&!!arguments[2]&&arguments[2].force,n=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof i<"u"&&typeof i!="boolean"||typeof n<"u"&&typeof n!="boolean")throw new Yde("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");ry&&(i||!Hde(t,ry))&&(k9?k9(t,ry,{configurable:!n,enumerable:!1,value:r,writable:!1}):t[ry]=r)}});var F9=X((W_e,T9)=>{"use strict";T9.exports=function(e,t){return Object.keys(t).forEach(function(r){e[r]=e[r]||t[r]}),e}});var M9=X((J_e,L9)=>{"use strict";var j1=Uz(),Wde=require("util"),V1=require("path"),Jde=require("http"),Zde=require("https"),Kde=require("url").parse,Xde=require("fs"),efe=require("stream").Stream,tfe=require("crypto"),$1=zz(),rfe=u8(),ife=_9(),tu=X0(),G1=F9();function N9(e){return String(e).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}function hr(e){if(!(this instanceof hr))return new hr(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],j1.call(this),e=e||{};for(var t in e)this[t]=e[t]}Wde.inherits(hr,j1);hr.LINE_BREAK=`\r
|
|
246
|
-
`;hr.DEFAULT_CONTENT_TYPE="application/octet-stream";hr.prototype.append=function(e,t,r){r=r||{},typeof r=="string"&&(r={filename:r});var i=j1.prototype.append.bind(this);if((typeof t=="number"||t==null)&&(t=String(t)),Array.isArray(t)){this._error(new Error("Arrays are not supported."));return}var n=this._multiPartHeader(e,t,r),s=this._multiPartFooter();i(n),i(t),i(s),this._trackLength(n,t,r)};hr.prototype._trackLength=function(e,t,r){var i=0;r.knownLength!=null?i+=Number(r.knownLength):Buffer.isBuffer(t)?i=t.length:typeof t=="string"&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+hr.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&tu(t,"httpVersion"))&&!(t instanceof efe))&&(r.knownLength||this._valuesToMeasure.push(t))};hr.prototype._lengthRetriever=function(e,t){tu(e,"fd")?e.end!=null&&e.end!=1/0&&e.start!=null?t(null,e.end+1-(e.start?e.start:0)):Xde.stat(e.path,function(r,i){if(r){t(r);return}var n=i.size-(e.start?e.start:0);t(null,n)}):tu(e,"httpVersion")?t(null,Number(e.headers["content-length"])):tu(e,"httpModule")?(e.on("response",function(r){e.pause(),t(null,Number(r.headers["content-length"]))}),e.resume()):t("Unknown stream")};hr.prototype._multiPartHeader=function(e,t,r){if(typeof r.header=="string")return r.header;var i=this._getContentDisposition(t,r),n=this._getContentType(t,r),s="",o={"Content-Disposition":["form-data",'name="'+N9(e)+'"'].concat(i||[]),"Content-Type":[].concat(n||[])};typeof r.header=="object"&&G1(o,r.header);var a;for(var u in o)if(tu(o,u)){if(a=o[u],a==null)continue;Array.isArray(a)||(a=[a]),a.length&&(s+=u+": "+a.join("; ")+hr.LINE_BREAK)}return"--"+this.getBoundary()+hr.LINE_BREAK+s+hr.LINE_BREAK};hr.prototype._getContentDisposition=function(e,t){var r;if(typeof t.filepath=="string"?r=V1.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e&&(e.name||e.path)?r=V1.basename(t.filename||e&&(e.name||e.path)):e&&e.readable&&tu(e,"httpVersion")&&(r=V1.basename(e.client._httpMessage.path||"")),r)return'filename="'+N9(r)+'"'};hr.prototype._getContentType=function(e,t){var r=t.contentType;return!r&&e&&e.name&&(r=$1.lookup(e.name)),!r&&e&&e.path&&(r=$1.lookup(e.path)),!r&&e&&e.readable&&tu(e,"httpVersion")&&(r=e.headers["content-type"]),!r&&(t.filepath||t.filename)&&(r=$1.lookup(t.filepath||t.filename)),!r&&e&&typeof e=="object"&&(r=hr.DEFAULT_CONTENT_TYPE),r};hr.prototype._multiPartFooter=function(){return function(e){var t=hr.LINE_BREAK,r=this._streams.length===0;r&&(t+=this._lastBoundary()),e(t)}.bind(this)};hr.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+hr.LINE_BREAK};hr.prototype.getHeaders=function(e){var t,r={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)tu(e,t)&&(r[t.toLowerCase()]=e[t]);return r};hr.prototype.setBoundary=function(e){if(typeof e!="string")throw new TypeError("FormData boundary must be a string");this._boundary=e};hr.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};hr.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),r=0,i=this._streams.length;r<i;r++)typeof this._streams[r]!="function"&&(Buffer.isBuffer(this._streams[r])?e=Buffer.concat([e,this._streams[r]]):e=Buffer.concat([e,Buffer.from(this._streams[r])]),(typeof this._streams[r]!="string"||this._streams[r].substring(2,t.length+2)!==t)&&(e=Buffer.concat([e,Buffer.from(hr.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};hr.prototype._generateBoundary=function(){this._boundary="--------------------------"+tfe.randomBytes(12).toString("hex")};hr.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e};hr.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};hr.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length&&(t+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}rfe.parallel(this._valuesToMeasure,this._lengthRetriever,function(r,i){if(r){e(r);return}i.forEach(function(n){t+=n}),e(null,t)})};hr.prototype.submit=function(e,t){var r,i,n={method:"post"};return typeof e=="string"?(e=Kde(e),i=G1({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},n)):(i=G1(e,n),i.port||(i.port=i.protocol==="https:"?443:80)),i.headers=this.getHeaders(e.headers),i.protocol==="https:"?r=Zde.request(i):r=Jde.request(i),this.getLength(function(s,o){if(s&&s!=="Unknown stream"){this._error(s);return}if(o&&r.setHeader("Content-Length",o),this.pipe(r),t){var a,u=function(l,A){return r.removeListener("error",u),r.removeListener("response",a),t.call(this,l,A)};a=u.bind(this,null),r.on("error",u),r.on("response",a)}}.bind(this)),r};hr.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};hr.prototype.toString=function(){return"[object FormData]"};ife(hr.prototype,"FormData");L9.exports=hr});var P9=X(O9=>{"use strict";var nfe=require("url").parse,sfe={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},ofe=String.prototype.endsWith||function(e){return e.length<=this.length&&this.indexOf(e,this.length-e.length)!==-1};function afe(e){var t=typeof e=="string"?nfe(e):e||{},r=t.protocol,i=t.host,n=t.port;if(typeof i!="string"||!i||typeof r!="string"||(r=r.split(":",1)[0],i=i.replace(/:\d*$/,""),n=parseInt(n)||sfe[r]||0,!cfe(i,n)))return"";var s=jA("npm_config_"+r+"_proxy")||jA(r+"_proxy")||jA("npm_config_proxy")||jA("all_proxy");return s&&s.indexOf("://")===-1&&(s=r+"://"+s),s}function cfe(e,t){var r=(jA("npm_config_no_proxy")||jA("no_proxy")).toLowerCase();return r?r==="*"?!1:r.split(/[,\s]/).every(function(i){if(!i)return!0;var n=i.match(/^(.+):(\d+)$/),s=n?n[1]:i,o=n?parseInt(n[2]):0;return o&&o!==t?!0:/^[.*]/.test(s)?(s.charAt(0)==="*"&&(s=s.slice(1)),!ofe.call(e,s)):e!==s}):!0}function jA(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}O9.getProxyForUrl=afe});var q9=X((K_e,U9)=>{var zA=1e3,HA=zA*60,YA=HA*60,vl=YA*24,ufe=vl*7,lfe=vl*365.25;U9.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return hfe(e);if(r==="number"&&isFinite(e))return t.long?pfe(e):Afe(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function hfe(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),i=(t[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return r*lfe;case"weeks":case"week":case"w":return r*ufe;case"days":case"day":case"d":return r*vl;case"hours":case"hour":case"hrs":case"hr":case"h":return r*YA;case"minutes":case"minute":case"mins":case"min":case"m":return r*HA;case"seconds":case"second":case"secs":case"sec":case"s":return r*zA;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Afe(e){var t=Math.abs(e);return t>=vl?Math.round(e/vl)+"d":t>=YA?Math.round(e/YA)+"h":t>=HA?Math.round(e/HA)+"m":t>=zA?Math.round(e/zA)+"s":e+"ms"}function pfe(e){var t=Math.abs(e);return t>=vl?iy(e,t,vl,"day"):t>=YA?iy(e,t,YA,"hour"):t>=HA?iy(e,t,HA,"minute"):t>=zA?iy(e,t,zA,"second"):e+" ms"}function iy(e,t,r,i){var n=t>=r*1.5;return Math.round(e/r)+" "+i+(n?"s":"")}});var z1=X((X_e,V9)=>{function dfe(e){r.debug=r,r.default=r,r.coerce=u,r.disable=o,r.enable=n,r.enabled=a,r.humanize=q9(),r.destroy=l,Object.keys(e).forEach(A=>{r[A]=e[A]}),r.names=[],r.skips=[],r.formatters={};function t(A){let h=0;for(let d=0;d<A.length;d++)h=(h<<5)-h+A.charCodeAt(d),h|=0;return r.colors[Math.abs(h)%r.colors.length]}r.selectColor=t;function r(A){let h,d=null,m,g;function E(...y){if(!E.enabled)return;let w=E,R=Number(new Date),S=R-(h||R);w.diff=S,w.prev=h,w.curr=R,h=R,y[0]=r.coerce(y[0]),typeof y[0]!="string"&&y.unshift("%O");let F=0;y[0]=y[0].replace(/%([a-zA-Z%])/g,(M,C)=>{if(M==="%%")return"%";F++;let $=r.formatters[C];if(typeof $=="function"){let T=y[F];M=$.call(w,T),y.splice(F,1),F--}return M}),r.formatArgs.call(w,y),(w.log||r.log).apply(w,y)}return E.namespace=A,E.useColors=r.useColors(),E.color=r.selectColor(A),E.extend=i,E.destroy=r.destroy,Object.defineProperty(E,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(m!==r.namespaces&&(m=r.namespaces,g=r.enabled(A)),g),set:y=>{d=y}}),typeof r.init=="function"&&r.init(E),E}function i(A,h){let d=r(this.namespace+(typeof h>"u"?":":h)+A);return d.log=this.log,d}function n(A){r.save(A),r.namespaces=A,r.names=[],r.skips=[];let h=(typeof A=="string"?A:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let d of h)d[0]==="-"?r.skips.push(d.slice(1)):r.names.push(d)}function s(A,h){let d=0,m=0,g=-1,E=0;for(;d<A.length;)if(m<h.length&&(h[m]===A[d]||h[m]==="*"))h[m]==="*"?(g=m,E=d,m++):(d++,m++);else if(g!==-1)m=g+1,E++,d=E;else return!1;for(;m<h.length&&h[m]==="*";)m++;return m===h.length}function o(){let A=[...r.names,...r.skips.map(h=>"-"+h)].join(",");return r.enable(""),A}function a(A){for(let h of r.skips)if(s(A,h))return!1;for(let h of r.names)if(s(A,h))return!0;return!1}function u(A){return A instanceof Error?A.stack||A.message:A}function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}V9.exports=dfe});var $9=X((On,ny)=>{On.formatArgs=gfe;On.save=mfe;On.load=Efe;On.useColors=ffe;On.storage=Cfe();On.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();On.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function ffe(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function gfe(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+ny.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,n=>{n!=="%%"&&(r++,n==="%c"&&(i=r))}),e.splice(i,0,t)}On.log=console.debug||console.log||(()=>{});function mfe(e){try{e?On.storage.setItem("debug",e):On.storage.removeItem("debug")}catch{}}function Efe(){let e;try{e=On.storage.getItem("debug")||On.storage.getItem("DEBUG")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function Cfe(){try{return localStorage}catch{}}ny.exports=z1()(On);var{formatters:yfe}=ny.exports;yfe.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var j9=X((Fi,oy)=>{var bfe=require("tty"),sy=require("util");Fi.init=Sfe;Fi.log=vfe;Fi.formatArgs=wfe;Fi.save=xfe;Fi.load=Qfe;Fi.useColors=Ife;Fi.destroy=sy.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Fi.colors=[6,2,3,4,5,1];try{let e=Hx();e&&(e.stderr||e).level>=2&&(Fi.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}Fi.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(n,s)=>s.toUpperCase()),i=process.env[t];return/^(yes|on|true|enabled)$/i.test(i)?i=!0:/^(no|off|false|disabled)$/i.test(i)?i=!1:i==="null"?i=null:i=Number(i),e[r]=i,e},{});function Ife(){return"colors"in Fi.inspectOpts?!!Fi.inspectOpts.colors:bfe.isatty(process.stderr.fd)}function wfe(e){let{namespace:t,useColors:r}=this;if(r){let i=this.color,n="\x1B[3"+(i<8?i:"8;5;"+i),s=` ${n};1m${t} \x1B[0m`;e[0]=s+e[0].split(`
|
|
244
|
+
`),await(0,ts.execAndWait)(`git commit -m "${a}"`,e)}}async function Ape(e,t){try{if(process.env.NX_SKIP_GH_PUSH==="true")throw new Ya("NX_SKIP_GH_PUSH is true","env-skip");if(!R8())throw new Ya("gh CLI is not installed","gh-not-installed");let r=await cpe(e);if(!r)throw new Ya("gh auth failed","gh-auth-failed");upe(e);let{push:i}=await S8.default.prompt([{name:"push",message:"Would you like to push this workspace to GitHub?",type:"autocomplete",choices:[{name:"Yes"},{name:"No"}],initial:0}]);if(i!=="Yes")return G0.OptedOutOfPushingToVcs;let n=`${r}/${t.name}`,s=`https://github.com/new?name=${encodeURIComponent(t.name)}`,{repoName:o}=await S8.default.prompt([{name:"repoName",message:"Repository name (format: username/repo-name):",type:"input",initial:n,validate:async l=>l.includes("/")?(await _8)?.has(l)?`Repository '${l}' already exists. Choose a different name or create manually: ${s}`:!0:"Repository name must be in format: username/repo-name"}]);vS.output.log({title:"Creating GitHub repository and pushing (this may take a moment)..."});let a=`gh repo create ${o} --private --push --source "${e}"`;await(0,ts.execAndWait)(a,e,!0,ape);let u=`https://github.com/${o}`;try{let l=await(0,ts.execAndWait)("gh repo view --json url -q .url",e,!0,xS);l.stdout.trim()&&(u=l.stdout.trim())}catch{}return vS.output.success({title:`Successfully pushed to GitHub repository: ${u}`}),G0.PushedToVcs}catch(r){if(r instanceof Ya)throw r;if(r?.timedOut===!0)throw new Ya("gh push timed out","push-timeout");let n=r instanceof Error?r.message:String(r);throw new Ya(n.split(`
|
|
245
|
+
`)[0].slice(0,200),"push-failed")}}});var T8=X(z0=>{"use strict";Object.defineProperty(z0,"__esModule",{value:!0});z0.getCompletionMessage=Epe;z0.getSkippedCloudMessage=Cpe;var ppe=j0();function dpe(e){let t=`Finish setup: ${e}`,r=t.length+6,i="+"+"-".repeat(r)+"+",n="|"+" ".repeat(r)+"|",s="| "+t+" |";return[i,n,s,n,i]}function fpe(e,t){return e==="2"?dpe(t):[]}function gpe(e,t,r){let i=r?`https://github.com/new?name=${encodeURIComponent(r)}`:"https://github.com/new";if(t===ppe.VcsPushStatus.PushedToVcs)return e?`Go to Nx Cloud and finish the setup: ${e}`:"Return to Nx Cloud and finish the setup.";let n=e?"go":"return",s=e?`: ${e}`:".";return`Push your repo (${i}), then ${n} to Nx Cloud and finish the setup${s}`}var mpe={"ci-setup":{title:"Your CI setup is almost complete."},"cache-setup":{title:"Your remote cache setup is almost complete."},"platform-setup":{title:"Your platform setup is almost complete."}};function Epe(e,t,r,i,n){let o=mpe[e??"ci-setup"],a=n??"0",u=a==="2"?"":o.title;if(a!=="0"&&t){let A=fpe(a,t);if(A.length>0)return{title:u,bodyLines:[...A,""]}}let l=[gpe(t,r,i)];return{title:u,bodyLines:l}}function Cpe(){return{title:"Next steps",bodyLines:['Run "nx connect" to enable remote caching and speed up your CI.',"","70% faster CI, 60% less compute, automatically fix broken PRs.","Learn more at https://nx.dev/nx-cloud"]}}});var L8=X((JRe,N8)=>{var F8=require("stream").Stream,ype=require("util");N8.exports=io;function io(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}ype.inherits(io,F8);io.create=function(e,t){var r=new this;t=t||{};for(var i in t)r[i]=t[i];r.source=e;var n=e.emit;return e.emit=function(){return r._handleEmit(arguments),n.apply(e,arguments)},e.on("error",function(){}),r.pauseStream&&e.pause(),r};Object.defineProperty(io.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});io.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};io.prototype.resume=function(){this._released||this.release(),this.source.resume()};io.prototype.pause=function(){this.source.pause()};io.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};io.prototype.pipe=function(){var e=F8.prototype.pipe.apply(this,arguments);return this.resume(),e};io.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}e[0]==="data"&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e)};io.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}});var U8=X((ZRe,P8)=>{var bpe=require("util"),O8=require("stream").Stream,M8=L8();P8.exports=Xr;function Xr(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}bpe.inherits(Xr,O8);Xr.create=function(e){var t=new this;e=e||{};for(var r in e)t[r]=e[r];return t};Xr.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};Xr.prototype.append=function(e){var t=Xr.isStreamLike(e);if(t){if(!(e instanceof M8)){var r=M8.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=r}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this};Xr.prototype.pipe=function(e,t){return O8.prototype.pipe.call(this,e,t),this.resume(),e};Xr.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};Xr.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e>"u"){this.end();return}if(typeof e!="function"){this._pipeNext(e);return}var t=e;t(function(r){var i=Xr.isStreamLike(r);i&&(r.on("data",this._checkDataSize.bind(this)),this._handleErrors(r)),this._pipeNext(r)}.bind(this))};Xr.prototype._pipeNext=function(e){this._currentStream=e;var t=Xr.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var r=e;this.write(r),this._getNext()};Xr.prototype._handleErrors=function(e){var t=this;e.on("error",function(r){t._emitError(r)})};Xr.prototype.write=function(e){this.emit("data",e)};Xr.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};Xr.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};Xr.prototype.end=function(){this._reset(),this.emit("end")};Xr.prototype.destroy=function(){this._reset(),this.emit("close")};Xr.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};Xr.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};Xr.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};Xr.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var q8=X((KRe,Ipe)=>{Ipe.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var $8=X((XRe,V8)=>{V8.exports=q8()});var z8=X(Mn=>{"use strict";var H0=$8(),wpe=require("path").extname,G8=/^\s*([^;\s]*)(?:;|\s|$)/,Bpe=/^text\//i;Mn.charset=j8;Mn.charsets={lookup:j8};Mn.contentType=vpe;Mn.extension=xpe;Mn.extensions=Object.create(null);Mn.lookup=Qpe;Mn.types=Object.create(null);Spe(Mn.extensions,Mn.types);function j8(e){if(!e||typeof e!="string")return!1;var t=G8.exec(e),r=t&&H0[t[1].toLowerCase()];return r&&r.charset?r.charset:t&&Bpe.test(t[1])?"UTF-8":!1}function vpe(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?Mn.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var r=Mn.charset(t);r&&(t+="; charset="+r.toLowerCase())}return t}function xpe(e){if(!e||typeof e!="string")return!1;var t=G8.exec(e),r=t&&Mn.extensions[t[1].toLowerCase()];return!r||!r.length?!1:r[0]}function Qpe(e){if(!e||typeof e!="string")return!1;var t=wpe("x."+e).toLowerCase().substr(1);return t&&Mn.types[t]||!1}function Spe(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(H0).forEach(function(n){var s=H0[n],o=s.extensions;if(!(!o||!o.length)){e[n]=o;for(var a=0;a<o.length;a++){var u=o[a];if(t[u]){var l=r.indexOf(H0[t[u]].source),A=r.indexOf(s.source);if(t[u]!=="application/octet-stream"&&(l>A||l===A&&t[u].substr(0,12)==="application/"))continue}t[u]=n}}})}});var Y8=X((t_e,H8)=>{H8.exports=Dpe;function Dpe(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}});var QS=X((r_e,J8)=>{var W8=Y8();J8.exports=kpe;function kpe(e){var t=!1;return W8(function(){t=!0}),function(i,n){t?e(i,n):W8(function(){e(i,n)})}}});var SS=X((i_e,Z8)=>{Z8.exports=Rpe;function Rpe(e){Object.keys(e.jobs).forEach(_pe.bind(e)),e.jobs={}}function _pe(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var DS=X((n_e,X8)=>{var K8=QS(),Tpe=SS();X8.exports=Fpe;function Fpe(e,t,r,i){var n=r.keyedList?r.keyedList[r.index]:r.index;r.jobs[n]=Npe(t,n,e[n],function(s,o){n in r.jobs&&(delete r.jobs[n],s?Tpe(r):r.results[n]=o,i(s,r.results))})}function Npe(e,t,r,i){var n;return e.length==2?n=e(r,K8(i)):n=e(r,t,K8(i)),n}});var kS=X((s_e,ez)=>{ez.exports=Lpe;function Lpe(e,t){var r=!Array.isArray(e),i={index:0,keyedList:r||t?Object.keys(e):null,jobs:{},results:r?{}:[],size:r?Object.keys(e).length:e.length};return t&&i.keyedList.sort(r?t:function(n,s){return t(e[n],e[s])}),i}});var RS=X((o_e,tz)=>{var Mpe=SS(),Ope=QS();tz.exports=Ppe;function Ppe(e){Object.keys(this.jobs).length&&(this.index=this.size,Mpe(this),Ope(e)(null,this.results))}});var iz=X((a_e,rz)=>{var Upe=DS(),qpe=kS(),Vpe=RS();rz.exports=$pe;function $pe(e,t,r){for(var i=qpe(e);i.index<(i.keyedList||e).length;)Upe(e,t,i,function(n,s){if(n){r(n,s);return}if(Object.keys(i.jobs).length===0){r(null,i.results);return}}),i.index++;return Vpe.bind(i,r)}});var _S=X((c_e,Y0)=>{var nz=DS(),Gpe=kS(),jpe=RS();Y0.exports=zpe;Y0.exports.ascending=sz;Y0.exports.descending=Hpe;function zpe(e,t,r,i){var n=Gpe(e,r);return nz(e,t,n,function s(o,a){if(o){i(o,a);return}if(n.index++,n.index<(n.keyedList||e).length){nz(e,t,n,s);return}i(null,n.results)}),jpe.bind(n,i)}function sz(e,t){return e<t?-1:e>t?1:0}function Hpe(e,t){return-1*sz(e,t)}});var az=X((u_e,oz)=>{var Ype=_S();oz.exports=Wpe;function Wpe(e,t,r){return Ype(e,t,null,r)}});var uz=X((l_e,cz)=>{cz.exports={parallel:iz(),serial:az(),serialOrdered:_S()}});var TS=X((h_e,lz)=>{"use strict";lz.exports=Object});var Az=X((A_e,hz)=>{"use strict";hz.exports=Error});var dz=X((p_e,pz)=>{"use strict";pz.exports=EvalError});var gz=X((d_e,fz)=>{"use strict";fz.exports=RangeError});var Ez=X((f_e,mz)=>{"use strict";mz.exports=ReferenceError});var yz=X((g_e,Cz)=>{"use strict";Cz.exports=SyntaxError});var W0=X((m_e,bz)=>{"use strict";bz.exports=TypeError});var wz=X((E_e,Iz)=>{"use strict";Iz.exports=URIError});var vz=X((C_e,Bz)=>{"use strict";Bz.exports=Math.abs});var Qz=X((y_e,xz)=>{"use strict";xz.exports=Math.floor});var Dz=X((b_e,Sz)=>{"use strict";Sz.exports=Math.max});var Rz=X((I_e,kz)=>{"use strict";kz.exports=Math.min});var Tz=X((w_e,_z)=>{"use strict";_z.exports=Math.pow});var Nz=X((B_e,Fz)=>{"use strict";Fz.exports=Math.round});var Mz=X((v_e,Lz)=>{"use strict";Lz.exports=Number.isNaN||function(t){return t!==t}});var Pz=X((x_e,Oz)=>{"use strict";var Jpe=Mz();Oz.exports=function(t){return Jpe(t)||t===0?t:t<0?-1:1}});var qz=X((Q_e,Uz)=>{"use strict";Uz.exports=Object.getOwnPropertyDescriptor});var FS=X((S_e,Vz)=>{"use strict";var J0=qz();if(J0)try{J0([],"length")}catch{J0=null}Vz.exports=J0});var Gz=X((D_e,$z)=>{"use strict";var Z0=Object.defineProperty||!1;if(Z0)try{Z0({},"a",{value:1})}catch{Z0=!1}$z.exports=Z0});var NS=X((k_e,jz)=>{"use strict";jz.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),i=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var n=42;t[r]=n;for(var s in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(t,r);if(a.value!==n||a.enumerable!==!0)return!1}return!0}});var Yz=X((R_e,Hz)=>{"use strict";var zz=typeof Symbol<"u"&&Symbol,Zpe=NS();Hz.exports=function(){return typeof zz!="function"||typeof Symbol!="function"||typeof zz("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Zpe()}});var LS=X((__e,Wz)=>{"use strict";Wz.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var MS=X((T_e,Jz)=>{"use strict";var Kpe=TS();Jz.exports=Kpe.getPrototypeOf||null});var Xz=X((F_e,Kz)=>{"use strict";var Xpe="Function.prototype.bind called on incompatible ",ede=Object.prototype.toString,tde=Math.max,rde="[object Function]",Zz=function(t,r){for(var i=[],n=0;n<t.length;n+=1)i[n]=t[n];for(var s=0;s<r.length;s+=1)i[s+t.length]=r[s];return i},ide=function(t,r){for(var i=[],n=r||0,s=0;n<t.length;n+=1,s+=1)i[s]=t[n];return i},nde=function(e,t){for(var r="",i=0;i<e.length;i+=1)r+=e[i],i+1<e.length&&(r+=t);return r};Kz.exports=function(t){var r=this;if(typeof r!="function"||ede.apply(r)!==rde)throw new TypeError(Xpe+r);for(var i=ide(arguments,1),n,s=function(){if(this instanceof n){var A=r.apply(this,Zz(i,arguments));return Object(A)===A?A:this}return r.apply(t,Zz(i,arguments))},o=tde(0,r.length-i.length),a=[],u=0;u<o;u++)a[u]="$"+u;if(n=Function("binder","return function ("+nde(a,",")+"){ return binder.apply(this,arguments); }")(s),r.prototype){var l=function(){};l.prototype=r.prototype,n.prototype=new l,l.prototype=null}return n}});var qf=X((N_e,e9)=>{"use strict";var sde=Xz();e9.exports=Function.prototype.bind||sde});var K0=X((L_e,t9)=>{"use strict";t9.exports=Function.prototype.call});var OS=X((M_e,r9)=>{"use strict";r9.exports=Function.prototype.apply});var n9=X((O_e,i9)=>{"use strict";i9.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var o9=X((P_e,s9)=>{"use strict";var ode=qf(),ade=OS(),cde=K0(),ude=n9();s9.exports=ude||ode.call(cde,ade)});var c9=X((U_e,a9)=>{"use strict";var lde=qf(),hde=W0(),Ade=K0(),pde=o9();a9.exports=function(t){if(t.length<1||typeof t[0]!="function")throw new hde("a function is required");return pde(lde,Ade,t)}});var d9=X((q_e,p9)=>{"use strict";var dde=c9(),u9=FS(),h9;try{h9=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var PS=!!h9&&u9&&u9(Object.prototype,"__proto__"),A9=Object,l9=A9.getPrototypeOf;p9.exports=PS&&typeof PS.get=="function"?dde([PS.get]):typeof l9=="function"?function(t){return l9(t==null?t:A9(t))}:!1});var C9=X((V_e,E9)=>{"use strict";var f9=LS(),g9=MS(),m9=d9();E9.exports=f9?function(t){return f9(t)}:g9?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return g9(t)}:m9?function(t){return m9(t)}:null});var X0=X(($_e,y9)=>{"use strict";var fde=Function.prototype.call,gde=Object.prototype.hasOwnProperty,mde=qf();y9.exports=mde.call(fde,gde)});var Q9=X((G_e,x9)=>{"use strict";var rr,Ede=TS(),Cde=Az(),yde=dz(),bde=gz(),Ide=Ez(),GA=yz(),$A=W0(),wde=wz(),Bde=vz(),vde=Qz(),xde=Dz(),Qde=Rz(),Sde=Tz(),Dde=Nz(),kde=Pz(),B9=Function,US=function(e){try{return B9('"use strict"; return ('+e+").constructor;")()}catch{}},Vf=FS(),Rde=Gz(),qS=function(){throw new $A},_de=Vf?(function(){try{return arguments.callee,qS}catch{try{return Vf(arguments,"callee").get}catch{return qS}}})():qS,qA=Yz()(),Ti=C9(),Tde=MS(),Fde=LS(),v9=OS(),$f=K0(),VA={},Nde=typeof Uint8Array>"u"||!Ti?rr:Ti(Uint8Array),Bl={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?rr:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?rr:ArrayBuffer,"%ArrayIteratorPrototype%":qA&&Ti?Ti([][Symbol.iterator]()):rr,"%AsyncFromSyncIteratorPrototype%":rr,"%AsyncFunction%":VA,"%AsyncGenerator%":VA,"%AsyncGeneratorFunction%":VA,"%AsyncIteratorPrototype%":VA,"%Atomics%":typeof Atomics>"u"?rr:Atomics,"%BigInt%":typeof BigInt>"u"?rr:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?rr:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?rr:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?rr:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Cde,"%eval%":eval,"%EvalError%":yde,"%Float16Array%":typeof Float16Array>"u"?rr:Float16Array,"%Float32Array%":typeof Float32Array>"u"?rr:Float32Array,"%Float64Array%":typeof Float64Array>"u"?rr:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?rr:FinalizationRegistry,"%Function%":B9,"%GeneratorFunction%":VA,"%Int8Array%":typeof Int8Array>"u"?rr:Int8Array,"%Int16Array%":typeof Int16Array>"u"?rr:Int16Array,"%Int32Array%":typeof Int32Array>"u"?rr:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":qA&&Ti?Ti(Ti([][Symbol.iterator]())):rr,"%JSON%":typeof JSON=="object"?JSON:rr,"%Map%":typeof Map>"u"?rr:Map,"%MapIteratorPrototype%":typeof Map>"u"||!qA||!Ti?rr:Ti(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Ede,"%Object.getOwnPropertyDescriptor%":Vf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?rr:Promise,"%Proxy%":typeof Proxy>"u"?rr:Proxy,"%RangeError%":bde,"%ReferenceError%":Ide,"%Reflect%":typeof Reflect>"u"?rr:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?rr:Set,"%SetIteratorPrototype%":typeof Set>"u"||!qA||!Ti?rr:Ti(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?rr:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":qA&&Ti?Ti(""[Symbol.iterator]()):rr,"%Symbol%":qA?Symbol:rr,"%SyntaxError%":GA,"%ThrowTypeError%":_de,"%TypedArray%":Nde,"%TypeError%":$A,"%Uint8Array%":typeof Uint8Array>"u"?rr:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?rr:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?rr:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?rr:Uint32Array,"%URIError%":wde,"%WeakMap%":typeof WeakMap>"u"?rr:WeakMap,"%WeakRef%":typeof WeakRef>"u"?rr:WeakRef,"%WeakSet%":typeof WeakSet>"u"?rr:WeakSet,"%Function.prototype.call%":$f,"%Function.prototype.apply%":v9,"%Object.defineProperty%":Rde,"%Object.getPrototypeOf%":Tde,"%Math.abs%":Bde,"%Math.floor%":vde,"%Math.max%":xde,"%Math.min%":Qde,"%Math.pow%":Sde,"%Math.round%":Dde,"%Math.sign%":kde,"%Reflect.getPrototypeOf%":Fde};if(Ti)try{null.error}catch(e){b9=Ti(Ti(e)),Bl["%Error.prototype%"]=b9}var b9,Lde=function e(t){var r;if(t==="%AsyncFunction%")r=US("async function () {}");else if(t==="%GeneratorFunction%")r=US("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=US("async function* () {}");else if(t==="%AsyncGenerator%"){var i=e("%AsyncGeneratorFunction%");i&&(r=i.prototype)}else if(t==="%AsyncIteratorPrototype%"){var n=e("%AsyncGenerator%");n&&Ti&&(r=Ti(n.prototype))}return Bl[t]=r,r},I9={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Gf=qf(),ey=X0(),Mde=Gf.call($f,Array.prototype.concat),Ode=Gf.call(v9,Array.prototype.splice),w9=Gf.call($f,String.prototype.replace),ty=Gf.call($f,String.prototype.slice),Pde=Gf.call($f,RegExp.prototype.exec),Ude=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,qde=/\\(\\)?/g,Vde=function(t){var r=ty(t,0,1),i=ty(t,-1);if(r==="%"&&i!=="%")throw new GA("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&r!=="%")throw new GA("invalid intrinsic syntax, expected opening `%`");var n=[];return w9(t,Ude,function(s,o,a,u){n[n.length]=a?w9(u,qde,"$1"):o||s}),n},$de=function(t,r){var i=t,n;if(ey(I9,i)&&(n=I9[i],i="%"+n[0]+"%"),ey(Bl,i)){var s=Bl[i];if(s===VA&&(s=Lde(i)),typeof s>"u"&&!r)throw new $A("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:s}}throw new GA("intrinsic "+t+" does not exist!")};x9.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new $A("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new $A('"allowMissing" argument must be a boolean');if(Pde(/^%?[^%]*%?$/,t)===null)throw new GA("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=Vde(t),n=i.length>0?i[0]:"",s=$de("%"+n+"%",r),o=s.name,a=s.value,u=!1,l=s.alias;l&&(n=l[0],Ode(i,Mde([0,1],l)));for(var A=1,h=!0;A<i.length;A+=1){var d=i[A],m=ty(d,0,1),g=ty(d,-1);if((m==='"'||m==="'"||m==="`"||g==='"'||g==="'"||g==="`")&&m!==g)throw new GA("property names with quotes must have matching quotes");if((d==="constructor"||!h)&&(u=!0),n+="."+d,o="%"+n+"%",ey(Bl,o))a=Bl[o];else if(a!=null){if(!(d in a)){if(!r)throw new $A("base intrinsic for "+t+" exists, but the property is not available.");return}if(Vf&&A+1>=i.length){var E=Vf(a,d);h=!!E,h&&"get"in E&&!("originalValue"in E.get)?a=E.get:a=a[d]}else h=ey(a,d),a=a[d];h&&!u&&(Bl[o]=a)}}return a}});var D9=X((j_e,S9)=>{"use strict";var Gde=NS();S9.exports=function(){return Gde()&&!!Symbol.toStringTag}});var _9=X((z_e,R9)=>{"use strict";var jde=Q9(),k9=jde("%Object.defineProperty%",!0),zde=D9()(),Hde=X0(),Yde=W0(),ry=zde?Symbol.toStringTag:null;R9.exports=function(t,r){var i=arguments.length>2&&!!arguments[2]&&arguments[2].force,n=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof i<"u"&&typeof i!="boolean"||typeof n<"u"&&typeof n!="boolean")throw new Yde("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");ry&&(i||!Hde(t,ry))&&(k9?k9(t,ry,{configurable:!n,enumerable:!1,value:r,writable:!1}):t[ry]=r)}});var F9=X((H_e,T9)=>{"use strict";T9.exports=function(e,t){return Object.keys(t).forEach(function(r){e[r]=e[r]||t[r]}),e}});var M9=X((Y_e,L9)=>{"use strict";var jS=U8(),Wde=require("util"),VS=require("path"),Jde=require("http"),Zde=require("https"),Kde=require("url").parse,Xde=require("fs"),efe=require("stream").Stream,tfe=require("crypto"),$S=z8(),rfe=uz(),ife=_9(),tu=X0(),GS=F9();function N9(e){return String(e).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}function hr(e){if(!(this instanceof hr))return new hr(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],jS.call(this),e=e||{};for(var t in e)this[t]=e[t]}Wde.inherits(hr,jS);hr.LINE_BREAK=`\r
|
|
246
|
+
`;hr.DEFAULT_CONTENT_TYPE="application/octet-stream";hr.prototype.append=function(e,t,r){r=r||{},typeof r=="string"&&(r={filename:r});var i=jS.prototype.append.bind(this);if((typeof t=="number"||t==null)&&(t=String(t)),Array.isArray(t)){this._error(new Error("Arrays are not supported."));return}var n=this._multiPartHeader(e,t,r),s=this._multiPartFooter();i(n),i(t),i(s),this._trackLength(n,t,r)};hr.prototype._trackLength=function(e,t,r){var i=0;r.knownLength!=null?i+=Number(r.knownLength):Buffer.isBuffer(t)?i=t.length:typeof t=="string"&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+hr.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&tu(t,"httpVersion"))&&!(t instanceof efe))&&(r.knownLength||this._valuesToMeasure.push(t))};hr.prototype._lengthRetriever=function(e,t){tu(e,"fd")?e.end!=null&&e.end!=1/0&&e.start!=null?t(null,e.end+1-(e.start?e.start:0)):Xde.stat(e.path,function(r,i){if(r){t(r);return}var n=i.size-(e.start?e.start:0);t(null,n)}):tu(e,"httpVersion")?t(null,Number(e.headers["content-length"])):tu(e,"httpModule")?(e.on("response",function(r){e.pause(),t(null,Number(r.headers["content-length"]))}),e.resume()):t("Unknown stream")};hr.prototype._multiPartHeader=function(e,t,r){if(typeof r.header=="string")return r.header;var i=this._getContentDisposition(t,r),n=this._getContentType(t,r),s="",o={"Content-Disposition":["form-data",'name="'+N9(e)+'"'].concat(i||[]),"Content-Type":[].concat(n||[])};typeof r.header=="object"&&GS(o,r.header);var a;for(var u in o)if(tu(o,u)){if(a=o[u],a==null)continue;Array.isArray(a)||(a=[a]),a.length&&(s+=u+": "+a.join("; ")+hr.LINE_BREAK)}return"--"+this.getBoundary()+hr.LINE_BREAK+s+hr.LINE_BREAK};hr.prototype._getContentDisposition=function(e,t){var r;if(typeof t.filepath=="string"?r=VS.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e&&(e.name||e.path)?r=VS.basename(t.filename||e&&(e.name||e.path)):e&&e.readable&&tu(e,"httpVersion")&&(r=VS.basename(e.client._httpMessage.path||"")),r)return'filename="'+N9(r)+'"'};hr.prototype._getContentType=function(e,t){var r=t.contentType;return!r&&e&&e.name&&(r=$S.lookup(e.name)),!r&&e&&e.path&&(r=$S.lookup(e.path)),!r&&e&&e.readable&&tu(e,"httpVersion")&&(r=e.headers["content-type"]),!r&&(t.filepath||t.filename)&&(r=$S.lookup(t.filepath||t.filename)),!r&&e&&typeof e=="object"&&(r=hr.DEFAULT_CONTENT_TYPE),r};hr.prototype._multiPartFooter=function(){return function(e){var t=hr.LINE_BREAK,r=this._streams.length===0;r&&(t+=this._lastBoundary()),e(t)}.bind(this)};hr.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+hr.LINE_BREAK};hr.prototype.getHeaders=function(e){var t,r={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)tu(e,t)&&(r[t.toLowerCase()]=e[t]);return r};hr.prototype.setBoundary=function(e){if(typeof e!="string")throw new TypeError("FormData boundary must be a string");this._boundary=e};hr.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};hr.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),r=0,i=this._streams.length;r<i;r++)typeof this._streams[r]!="function"&&(Buffer.isBuffer(this._streams[r])?e=Buffer.concat([e,this._streams[r]]):e=Buffer.concat([e,Buffer.from(this._streams[r])]),(typeof this._streams[r]!="string"||this._streams[r].substring(2,t.length+2)!==t)&&(e=Buffer.concat([e,Buffer.from(hr.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};hr.prototype._generateBoundary=function(){this._boundary="--------------------------"+tfe.randomBytes(12).toString("hex")};hr.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e};hr.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};hr.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length&&(t+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}rfe.parallel(this._valuesToMeasure,this._lengthRetriever,function(r,i){if(r){e(r);return}i.forEach(function(n){t+=n}),e(null,t)})};hr.prototype.submit=function(e,t){var r,i,n={method:"post"};return typeof e=="string"?(e=Kde(e),i=GS({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},n)):(i=GS(e,n),i.port||(i.port=i.protocol==="https:"?443:80)),i.headers=this.getHeaders(e.headers),i.protocol==="https:"?r=Zde.request(i):r=Jde.request(i),this.getLength(function(s,o){if(s&&s!=="Unknown stream"){this._error(s);return}if(o&&r.setHeader("Content-Length",o),this.pipe(r),t){var a,u=function(l,A){return r.removeListener("error",u),r.removeListener("response",a),t.call(this,l,A)};a=u.bind(this,null),r.on("error",u),r.on("response",a)}}.bind(this)),r};hr.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};hr.prototype.toString=function(){return"[object FormData]"};ife(hr.prototype,"FormData");L9.exports=hr});var P9=X(O9=>{"use strict";var nfe=require("url").parse,sfe={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},ofe=String.prototype.endsWith||function(e){return e.length<=this.length&&this.indexOf(e,this.length-e.length)!==-1};function afe(e){var t=typeof e=="string"?nfe(e):e||{},r=t.protocol,i=t.host,n=t.port;if(typeof i!="string"||!i||typeof r!="string"||(r=r.split(":",1)[0],i=i.replace(/:\d*$/,""),n=parseInt(n)||sfe[r]||0,!cfe(i,n)))return"";var s=jA("npm_config_"+r+"_proxy")||jA(r+"_proxy")||jA("npm_config_proxy")||jA("all_proxy");return s&&s.indexOf("://")===-1&&(s=r+"://"+s),s}function cfe(e,t){var r=(jA("npm_config_no_proxy")||jA("no_proxy")).toLowerCase();return r?r==="*"?!1:r.split(/[,\s]/).every(function(i){if(!i)return!0;var n=i.match(/^(.+):(\d+)$/),s=n?n[1]:i,o=n?parseInt(n[2]):0;return o&&o!==t?!0:/^[.*]/.test(s)?(s.charAt(0)==="*"&&(s=s.slice(1)),!ofe.call(e,s)):e!==s}):!0}function jA(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}O9.getProxyForUrl=afe});var q9=X((J_e,U9)=>{var zA=1e3,HA=zA*60,YA=HA*60,vl=YA*24,ufe=vl*7,lfe=vl*365.25;U9.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return hfe(e);if(r==="number"&&isFinite(e))return t.long?pfe(e):Afe(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function hfe(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),i=(t[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return r*lfe;case"weeks":case"week":case"w":return r*ufe;case"days":case"day":case"d":return r*vl;case"hours":case"hour":case"hrs":case"hr":case"h":return r*YA;case"minutes":case"minute":case"mins":case"min":case"m":return r*HA;case"seconds":case"second":case"secs":case"sec":case"s":return r*zA;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Afe(e){var t=Math.abs(e);return t>=vl?Math.round(e/vl)+"d":t>=YA?Math.round(e/YA)+"h":t>=HA?Math.round(e/HA)+"m":t>=zA?Math.round(e/zA)+"s":e+"ms"}function pfe(e){var t=Math.abs(e);return t>=vl?iy(e,t,vl,"day"):t>=YA?iy(e,t,YA,"hour"):t>=HA?iy(e,t,HA,"minute"):t>=zA?iy(e,t,zA,"second"):e+" ms"}function iy(e,t,r,i){var n=t>=r*1.5;return Math.round(e/r)+" "+i+(n?"s":"")}});var zS=X((Z_e,V9)=>{function dfe(e){r.debug=r,r.default=r,r.coerce=u,r.disable=o,r.enable=n,r.enabled=a,r.humanize=q9(),r.destroy=l,Object.keys(e).forEach(A=>{r[A]=e[A]}),r.names=[],r.skips=[],r.formatters={};function t(A){let h=0;for(let d=0;d<A.length;d++)h=(h<<5)-h+A.charCodeAt(d),h|=0;return r.colors[Math.abs(h)%r.colors.length]}r.selectColor=t;function r(A){let h,d=null,m,g;function E(...y){if(!E.enabled)return;let w=E,R=Number(new Date),S=R-(h||R);w.diff=S,w.prev=h,w.curr=R,h=R,y[0]=r.coerce(y[0]),typeof y[0]!="string"&&y.unshift("%O");let F=0;y[0]=y[0].replace(/%([a-zA-Z%])/g,(M,C)=>{if(M==="%%")return"%";F++;let $=r.formatters[C];if(typeof $=="function"){let T=y[F];M=$.call(w,T),y.splice(F,1),F--}return M}),r.formatArgs.call(w,y),(w.log||r.log).apply(w,y)}return E.namespace=A,E.useColors=r.useColors(),E.color=r.selectColor(A),E.extend=i,E.destroy=r.destroy,Object.defineProperty(E,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(m!==r.namespaces&&(m=r.namespaces,g=r.enabled(A)),g),set:y=>{d=y}}),typeof r.init=="function"&&r.init(E),E}function i(A,h){let d=r(this.namespace+(typeof h>"u"?":":h)+A);return d.log=this.log,d}function n(A){r.save(A),r.namespaces=A,r.names=[],r.skips=[];let h=(typeof A=="string"?A:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let d of h)d[0]==="-"?r.skips.push(d.slice(1)):r.names.push(d)}function s(A,h){let d=0,m=0,g=-1,E=0;for(;d<A.length;)if(m<h.length&&(h[m]===A[d]||h[m]==="*"))h[m]==="*"?(g=m,E=d,m++):(d++,m++);else if(g!==-1)m=g+1,E++,d=E;else return!1;for(;m<h.length&&h[m]==="*";)m++;return m===h.length}function o(){let A=[...r.names,...r.skips.map(h=>"-"+h)].join(",");return r.enable(""),A}function a(A){for(let h of r.skips)if(s(A,h))return!1;for(let h of r.names)if(s(A,h))return!0;return!1}function u(A){return A instanceof Error?A.stack||A.message:A}function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}V9.exports=dfe});var $9=X((On,ny)=>{On.formatArgs=gfe;On.save=mfe;On.load=Efe;On.useColors=ffe;On.storage=Cfe();On.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();On.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function ffe(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function gfe(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+ny.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,n=>{n!=="%%"&&(r++,n==="%c"&&(i=r))}),e.splice(i,0,t)}On.log=console.debug||console.log||(()=>{});function mfe(e){try{e?On.storage.setItem("debug",e):On.storage.removeItem("debug")}catch{}}function Efe(){let e;try{e=On.storage.getItem("debug")||On.storage.getItem("DEBUG")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function Cfe(){try{return localStorage}catch{}}ny.exports=zS()(On);var{formatters:yfe}=ny.exports;yfe.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var j9=X((Fi,oy)=>{var bfe=require("tty"),sy=require("util");Fi.init=Sfe;Fi.log=vfe;Fi.formatArgs=wfe;Fi.save=xfe;Fi.load=Qfe;Fi.useColors=Ife;Fi.destroy=sy.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Fi.colors=[6,2,3,4,5,1];try{let e=Hx();e&&(e.stderr||e).level>=2&&(Fi.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}Fi.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(n,s)=>s.toUpperCase()),i=process.env[t];return/^(yes|on|true|enabled)$/i.test(i)?i=!0:/^(no|off|false|disabled)$/i.test(i)?i=!1:i==="null"?i=null:i=Number(i),e[r]=i,e},{});function Ife(){return"colors"in Fi.inspectOpts?!!Fi.inspectOpts.colors:bfe.isatty(process.stderr.fd)}function wfe(e){let{namespace:t,useColors:r}=this;if(r){let i=this.color,n="\x1B[3"+(i<8?i:"8;5;"+i),s=` ${n};1m${t} \x1B[0m`;e[0]=s+e[0].split(`
|
|
247
247
|
`).join(`
|
|
248
248
|
`+s),e.push(n+"m+"+oy.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=Bfe()+t+" "+e[0]}function Bfe(){return Fi.inspectOpts.hideDate?"":new Date().toISOString()+" "}function vfe(...e){return process.stderr.write(sy.formatWithOptions(Fi.inspectOpts,...e)+`
|
|
249
|
-
`)}function xfe(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function Qfe(){return process.env.DEBUG}function Sfe(e){e.inspectOpts={};let t=Object.keys(Fi.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=Fi.inspectOpts[t[r]]}oy.exports=
|
|
250
|
-
`).map(t=>t.trim()).join(" ")};G9.O=function(e){return this.inspectOpts.colors=this.useColors,sy.inspect(e,this.inspectOpts)}});var z9=X((eTe,H1)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?H1.exports=$9():H1.exports=j9()});var Y9=X((tTe,H9)=>{var jf;H9.exports=function(){if(!jf){try{jf=z9()("follow-redirects")}catch{}typeof jf!="function"&&(jf=function(){})}jf.apply(null,arguments)}});var X9=X((rTe,sD)=>{var Hf=require("url"),zf=Hf.URL,Dfe=require("http"),kfe=require("https"),K1=require("stream").Writable,X1=require("assert"),W9=Y9();(function(){var t=typeof process<"u",r=typeof window<"u"&&typeof document<"u",i=Ql(Error.captureStackTrace);!t&&(r||!i)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var eD=!1;try{X1(new zf(""))}catch(e){eD=e.code==="ERR_INVALID_URL"}var Rfe=["Authorization","Proxy-Authorization","Cookie"],_fe=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],tD=["abort","aborted","connect","error","socket","timeout"],rD=Object.create(null);tD.forEach(function(e){rD[e]=function(t,r,i){this._redirectable.emit(e,t,r,i)}});var W1=Yf("ERR_INVALID_URL","Invalid URL",TypeError),J1=Yf("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Tfe=Yf("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",J1),Ffe=Yf("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Nfe=Yf("ERR_STREAM_WRITE_AFTER_END","write after end"),Lfe=K1.prototype.destroy||Z9;function Pn(e,t){K1.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var r=this;this._onNativeResponse=function(i){try{r._processResponse(i)}catch(n){r.emit("error",n instanceof J1?n:new J1({cause:n}))}},this._headerFilter=new RegExp("^(?:"+Rfe.concat(e.sensitiveHeaders).map(Vfe).join("|")+")$","i"),this._performRequest()}Pn.prototype=Object.create(K1.prototype);Pn.prototype.abort=function(){nD(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};Pn.prototype.destroy=function(e){return nD(this._currentRequest,e),Lfe.call(this,e),this};Pn.prototype.write=function(e,t,r){if(this._ending)throw new Nfe;if(!xl(e)&&!Ufe(e))throw new TypeError("data should be a string, Buffer or Uint8Array");if(Ql(t)&&(r=t,t=null),e.length===0){r&&r();return}this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,r)):(this.emit("error",new Ffe),this.abort())};Pn.prototype.end=function(e,t,r){if(Ql(e)?(r=e,e=t=null):Ql(t)&&(r=t,t=null),!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,r);else{var i=this,n=this._currentRequest;this.write(e,t,function(){i._ended=!0,n.end(null,null,r)}),this._ending=!0}};Pn.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};Pn.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};Pn.prototype.setTimeout=function(e,t){var r=this;function i(o){o.setTimeout(e),o.removeListener("timeout",o.destroy),o.addListener("timeout",o.destroy)}function n(o){r._timeout&&clearTimeout(r._timeout),r._timeout=setTimeout(function(){r.emit("timeout"),s()},e),i(o)}function s(){r._timeout&&(clearTimeout(r._timeout),r._timeout=null),r.removeListener("abort",s),r.removeListener("error",s),r.removeListener("response",s),r.removeListener("close",s),t&&r.removeListener("timeout",t),r.socket||r._currentRequest.removeListener("socket",n)}return t&&this.on("timeout",t),this.socket?n(this.socket):this._currentRequest.once("socket",n),this.on("socket",i),this.on("abort",s),this.on("error",s),this.on("response",s),this.on("close",s),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){Pn.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(Pn.prototype,e,{get:function(){return this._currentRequest[e]}})});Pn.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),Pfe(e.sensitiveHeaders)||(e.sensitiveHeaders=[]),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}};Pn.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var r=e.slice(0,-1);this._options.agent=this._options.agents[r]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);i._redirectable=this;for(var n of tD)i.on(n,rD[n]);if(this._currentUrl=/^\//.test(this._options.path)?Hf.format(this._options):this._options.path,this._isRedirect){var s=0,o=this,a=this._requestBodyBuffers;(function u(l){if(i===o._currentRequest)if(l)o.emit("error",l);else if(s<a.length){var A=a[s++];i.finished||i.write(A.data,A.encoding,u)}else o._ended&&i.end()})()}};Pn.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var r=e.headers.location;if(!r||this._options.followRedirects===!1||t<300||t>=400){e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[];return}if(nD(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new Tfe;var i,n=this._options.beforeRedirect;n&&(i=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var s=this._options.method;((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Y1(/^content-/i,this._options.headers));var o=Y1(/^host$/i,this._options.headers),a=iD(this._currentUrl),u=o||a.host,l=/^\w+:/.test(r)?this._currentUrl:Hf.format(Object.assign(a,{host:u})),A=Mfe(r,l);if(W9("redirecting to",A.href),this._isRedirect=!0,Z1(A,this._options),(A.protocol!==a.protocol&&A.protocol!=="https:"||A.host!==u&&!Ofe(A.host,u))&&Y1(this._headerFilter,this._options.headers),Ql(n)){var h={headers:e.headers,statusCode:t},d={url:l,method:s,headers:i};n(this._options,h,d),this._sanitizeOptions(this._options)}this._performRequest()};function J9(e){var t={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(e).forEach(function(i){var n=i+":",s=r[n]=e[i],o=t[i]=Object.create(s);function a(l,A,h){return qfe(l)?l=Z1(l):xl(l)?l=Z1(iD(l)):(h=A,A=K9(l),l={protocol:n}),Ql(A)&&(h=A,A=null),A=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},l,A),A.nativeProtocols=r,!xl(A.host)&&!xl(A.hostname)&&(A.hostname="::1"),X1.equal(A.protocol,n,"protocol mismatch"),W9("options",A),new Pn(A,h)}function u(l,A,h){var d=o.request(l,A,h);return d.end(),d}Object.defineProperties(o,{request:{value:a,configurable:!0,enumerable:!0,writable:!0},get:{value:u,configurable:!0,enumerable:!0,writable:!0}})}),t}function Z9(){}function iD(e){var t;if(eD)t=new zf(e);else if(t=K9(Hf.parse(e)),!xl(t.protocol))throw new W1({input:e});return t}function Mfe(e,t){return eD?new zf(e,t):iD(Hf.resolve(t,e))}function K9(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new W1({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new W1({input:e.href||e});return e}function Z1(e,t){var r=t||{};for(var i of _fe)r[i]=e[i];return r.hostname.startsWith("[")&&(r.hostname=r.hostname.slice(1,-1)),r.port!==""&&(r.port=Number(r.port)),r.path=r.search?r.pathname+r.search:r.pathname,r}function Y1(e,t){var r;for(var i in t)e.test(i)&&(r=t[i],delete t[i]);return r===null||typeof r>"u"?void 0:String(r).trim()}function Yf(e,t,r){function i(n){Ql(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return i.prototype=new(r||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),i}function nD(e,t){for(var r of tD)e.removeListener(r,rD[r]);e.on("error",Z9),e.destroy(t)}function Ofe(e,t){X1(xl(e)&&xl(t));var r=e.length-t.length-1;return r>0&&e[r]==="."&&e.endsWith(t)}function Pfe(e){return e instanceof Array}function xl(e){return typeof e=="string"||e instanceof String}function Ql(e){return typeof e=="function"}function Ufe(e){return typeof e=="object"&&"length"in e}function qfe(e){return zf&&e instanceof zf}function Vfe(e){return e.replace(/[\]\\/()*+?.$]/g,"\\$&")}sD.exports=J9({http:Dfe,https:kfe});sD.exports.wrap=J9});var zH=X((iTe,jH)=>{"use strict";var $fe=M9(),Gfe=require("crypto"),jfe=require("url"),zfe=P9(),Hfe=require("http"),Yfe=require("https"),Wfe=require("util"),Jfe=X9(),Zfe=require("zlib"),CH=require("stream"),Kfe=require("events");function zo(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var yH=zo($fe),Xfe=zo(Gfe),ege=zo(jfe),tge=zo(zfe),rge=zo(Hfe),ige=zo(Yfe),bH=zo(Wfe),nge=zo(Jfe),nu=zo(Zfe),ru=zo(CH);function IH(e,t){return function(){return e.apply(t,arguments)}}var{toString:sge}=Object.prototype,{getPrototypeOf:ID}=Object,fy=(e=>t=>{let r=sge.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),no=e=>(e=e.toLowerCase(),t=>fy(t)===e),gy=e=>t=>typeof t===e,{isArray:XA}=Array,Jf=gy("undefined");function oge(e){return e!==null&&!Jf(e)&&e.constructor!==null&&!Jf(e.constructor)&&rs(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var wH=no("ArrayBuffer");function age(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&wH(e.buffer),t}var cge=gy("string"),rs=gy("function"),BH=gy("number"),my=e=>e!==null&&typeof e=="object",uge=e=>e===!0||e===!1,ay=e=>{if(fy(e)!=="object")return!1;let t=ID(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},lge=no("Date"),hge=no("File"),Age=no("Blob"),pge=no("FileList"),dge=e=>my(e)&&rs(e.pipe),fge=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||rs(e.append)&&((t=fy(e))==="formdata"||t==="object"&&rs(e.toString)&&e.toString()==="[object FormData]"))},gge=no("URLSearchParams"),[mge,Ege,Cge,yge]=["ReadableStream","Request","Response","Headers"].map(no),bge=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Kf(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let i,n;if(typeof e!="object"&&(e=[e]),XA(e))for(i=0,n=e.length;i<n;i++)t.call(null,e[i],i,e);else{let s=r?Object.getOwnPropertyNames(e):Object.keys(e),o=s.length,a;for(i=0;i<o;i++)a=s[i],t.call(null,e[a],a,e)}}function vH(e,t){t=t.toLowerCase();let r=Object.keys(e),i=r.length,n;for(;i-- >0;)if(n=r[i],t===n.toLowerCase())return n;return null}var Sl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,xH=e=>!Jf(e)&&e!==Sl;function hD(){let{caseless:e}=xH(this)&&this||{},t={},r=(i,n)=>{let s=e&&vH(t,n)||n;ay(t[s])&&ay(i)?t[s]=hD(t[s],i):ay(i)?t[s]=hD({},i):XA(i)?t[s]=i.slice():t[s]=i};for(let i=0,n=arguments.length;i<n;i++)arguments[i]&&Kf(arguments[i],r);return t}var Ige=(e,t,r,{allOwnKeys:i}={})=>(Kf(t,(n,s)=>{r&&rs(n)?e[s]=IH(n,r):e[s]=n},{allOwnKeys:i}),e),wge=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Bge=(e,t,r,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},vge=(e,t,r,i)=>{let n,s,o,a={};if(t=t||{},e==null)return t;do{for(n=Object.getOwnPropertyNames(e),s=n.length;s-- >0;)o=n[s],(!i||i(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=r!==!1&&ID(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},xge=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;let i=e.indexOf(t,r);return i!==-1&&i===r},Qge=e=>{if(!e)return null;if(XA(e))return e;let t=e.length;if(!BH(t))return null;let r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Sge=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ID(Uint8Array)),Dge=(e,t)=>{let i=(e&&e[Symbol.iterator]).call(e),n;for(;(n=i.next())&&!n.done;){let s=n.value;t.call(e,s[0],s[1])}},kge=(e,t)=>{let r,i=[];for(;(r=e.exec(t))!==null;)i.push(r);return i},Rge=no("HTMLFormElement"),_ge=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,i,n){return i.toUpperCase()+n}),eH=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Tge=no("RegExp"),QH=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),i={};Kf(r,(n,s)=>{let o;(o=t(n,s,e))!==!1&&(i[s]=o||n)}),Object.defineProperties(e,i)},Fge=e=>{QH(e,(t,r)=>{if(rs(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;let i=e[r];if(rs(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Nge=(e,t)=>{let r={},i=n=>{n.forEach(s=>{r[s]=!0})};return XA(e)?i(e):i(String(e).split(t)),r},Lge=()=>{},Mge=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Oge(e){return!!(e&&rs(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}var Pge=e=>{let t=new Array(10),r=(i,n)=>{if(my(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[n]=i;let s=XA(i)?[]:{};return Kf(i,(o,a)=>{let u=r(o,n+1);!Jf(u)&&(s[a]=u)}),t[n]=void 0,s}}return i};return r(e,0)},Uge=no("AsyncFunction"),qge=e=>e&&(my(e)||rs(e))&&rs(e.then)&&rs(e.catch),SH=((e,t)=>e?setImmediate:t?((r,i)=>(Sl.addEventListener("message",({source:n,data:s})=>{n===Sl&&s===r&&i.length&&i.shift()()},!1),n=>{i.push(n),Sl.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",rs(Sl.postMessage)),Vge=typeof queueMicrotask<"u"?queueMicrotask.bind(Sl):typeof process<"u"&&process.nextTick||SH,de={isArray:XA,isArrayBuffer:wH,isBuffer:oge,isFormData:fge,isArrayBufferView:age,isString:cge,isNumber:BH,isBoolean:uge,isObject:my,isPlainObject:ay,isReadableStream:mge,isRequest:Ege,isResponse:Cge,isHeaders:yge,isUndefined:Jf,isDate:lge,isFile:hge,isBlob:Age,isRegExp:Tge,isFunction:rs,isStream:dge,isURLSearchParams:gge,isTypedArray:Sge,isFileList:pge,forEach:Kf,merge:hD,extend:Ige,trim:bge,stripBOM:wge,inherits:Bge,toFlatObject:vge,kindOf:fy,kindOfTest:no,endsWith:xge,toArray:Qge,forEachEntry:Dge,matchAll:kge,isHTMLForm:Rge,hasOwnProperty:eH,hasOwnProp:eH,reduceDescriptors:QH,freezeMethods:Fge,toObjectSet:Nge,toCamelCase:_ge,noop:Lge,toFiniteNumber:Mge,findKey:vH,global:Sl,isContextDefined:xH,isSpecCompliantForm:Oge,toJSONObject:Pge,isAsyncFn:Uge,isThenable:qge,setImmediate:SH,asap:Vge};function nt(e,t,r,i,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),i&&(this.request=i),n&&(this.response=n,this.status=n.status?n.status:null)}de.inherits(nt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:de.toJSONObject(this.config),code:this.code,status:this.status}}});var DH=nt.prototype,kH={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{kH[e]={value:e}});Object.defineProperties(nt,kH);Object.defineProperty(DH,"isAxiosError",{value:!0});nt.from=(e,t,r,i,n,s)=>{let o=Object.create(DH);return de.toFlatObject(e,o,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),nt.call(o,e.message,t,r,i,n),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};function AD(e){return de.isPlainObject(e)||de.isArray(e)}function RH(e){return de.endsWith(e,"[]")?e.slice(0,-2):e}function tH(e,t,r){return e?e.concat(t).map(function(n,s){return n=RH(n),!r&&s?"["+n+"]":n}).join(r?".":""):t}function $ge(e){return de.isArray(e)&&!e.some(AD)}var Gge=de.toFlatObject(de,{},null,function(t){return/^is[A-Z]/.test(t)});function Ey(e,t,r){if(!de.isObject(e))throw new TypeError("target must be an object");t=t||new(yH.default||FormData),r=de.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,y){return!de.isUndefined(y[E])});let i=r.metaTokens,n=r.visitor||A,s=r.dots,o=r.indexes,u=(r.Blob||typeof Blob<"u"&&Blob)&&de.isSpecCompliantForm(t);if(!de.isFunction(n))throw new TypeError("visitor must be a function");function l(g){if(g===null)return"";if(de.isDate(g))return g.toISOString();if(!u&&de.isBlob(g))throw new nt("Blob is not supported. Use a Buffer instead.");return de.isArrayBuffer(g)||de.isTypedArray(g)?u&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function A(g,E,y){let w=g;if(g&&!y&&typeof g=="object"){if(de.endsWith(E,"{}"))E=i?E:E.slice(0,-2),g=JSON.stringify(g);else if(de.isArray(g)&&$ge(g)||(de.isFileList(g)||de.endsWith(E,"[]"))&&(w=de.toArray(g)))return E=RH(E),w.forEach(function(S,F){!(de.isUndefined(S)||S===null)&&t.append(o===!0?tH([E],F,s):o===null?E:E+"[]",l(S))}),!1}return AD(g)?!0:(t.append(tH(y,E,s),l(g)),!1)}let h=[],d=Object.assign(Gge,{defaultVisitor:A,convertValue:l,isVisitable:AD});function m(g,E){if(!de.isUndefined(g)){if(h.indexOf(g)!==-1)throw Error("Circular reference detected in "+E.join("."));h.push(g),de.forEach(g,function(w,R){(!(de.isUndefined(w)||w===null)&&n.call(t,w,de.isString(R)?R.trim():R,E,d))===!0&&m(w,E?E.concat(R):[R])}),h.pop()}}if(!de.isObject(e))throw new TypeError("data must be an object");return m(e),t}function rH(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function _H(e,t){this._pairs=[],e&&Ey(e,this,t)}var TH=_H.prototype;TH.append=function(t,r){this._pairs.push([t,r])};TH.toString=function(t){let r=t?function(i){return t.call(this,i,rH)}:rH;return this._pairs.map(function(n){return r(n[0])+"="+r(n[1])},"").join("&")};function jge(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function wD(e,t,r){if(!t)return e;let i=r&&r.encode||jge;de.isFunction(r)&&(r={serialize:r});let n=r&&r.serialize,s;if(n?s=n(t,r):s=de.isURLSearchParams(t)?t.toString():new _H(t,r).toString(i),s){let o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}var pD=class{constructor(){this.handlers=[]}use(t,r,i){return this.handlers.push({fulfilled:t,rejected:r,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){de.forEach(this.handlers,function(i){i!==null&&t(i)})}},iH=pD,BD={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},zge=ege.default.URLSearchParams,oD="abcdefghijklmnopqrstuvwxyz",nH="0123456789",FH={DIGIT:nH,ALPHA:oD,ALPHA_DIGIT:oD+oD.toUpperCase()+nH},Hge=(e=16,t=FH.ALPHA_DIGIT)=>{let r="",{length:i}=t,n=new Uint32Array(e);Xfe.default.randomFillSync(n);for(let s=0;s<e;s++)r+=t[n[s]%i];return r},Yge={isNode:!0,classes:{URLSearchParams:zge,FormData:yH.default,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:FH,generateString:Hge,protocols:["http","https","file","data"]},vD=typeof window<"u"&&typeof document<"u",dD=typeof navigator=="object"&&navigator||void 0,Wge=vD&&(!dD||["ReactNative","NativeScript","NS"].indexOf(dD.product)<0),Jge=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Zge=vD&&window.location.href||"http://localhost",Kge=Object.freeze({__proto__:null,hasBrowserEnv:vD,hasStandardBrowserWebWorkerEnv:Jge,hasStandardBrowserEnv:Wge,navigator:dD,origin:Zge}),ei={...Kge,...Yge};function Xge(e,t){return Ey(e,new ei.classes.URLSearchParams,Object.assign({visitor:function(r,i,n,s){return ei.isNode&&de.isBuffer(r)?(this.append(i,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function eme(e){return de.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function tme(e){let t={},r=Object.keys(e),i,n=r.length,s;for(i=0;i<n;i++)s=r[i],t[s]=e[s];return t}function NH(e){function t(r,i,n,s){let o=r[s++];if(o==="__proto__")return!0;let a=Number.isFinite(+o),u=s>=r.length;return o=!o&&de.isArray(n)?n.length:o,u?(de.hasOwnProp(n,o)?n[o]=[n[o],i]:n[o]=i,!a):((!n[o]||!de.isObject(n[o]))&&(n[o]=[]),t(r,i,n[o],s)&&de.isArray(n[o])&&(n[o]=tme(n[o])),!a)}if(de.isFormData(e)&&de.isFunction(e.entries)){let r={};return de.forEachEntry(e,(i,n)=>{t(eme(i),n,r,0)}),r}return null}function rme(e,t,r){if(de.isString(e))try{return(t||JSON.parse)(e),de.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(r||JSON.stringify)(e)}var xD={transitional:BD,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){let i=r.getContentType()||"",n=i.indexOf("application/json")>-1,s=de.isObject(t);if(s&&de.isHTMLForm(t)&&(t=new FormData(t)),de.isFormData(t))return n?JSON.stringify(NH(t)):t;if(de.isArrayBuffer(t)||de.isBuffer(t)||de.isStream(t)||de.isFile(t)||de.isBlob(t)||de.isReadableStream(t))return t;if(de.isArrayBufferView(t))return t.buffer;if(de.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(i.indexOf("application/x-www-form-urlencoded")>-1)return Xge(t,this.formSerializer).toString();if((a=de.isFileList(t))||i.indexOf("multipart/form-data")>-1){let u=this.env&&this.env.FormData;return Ey(a?{"files[]":t}:t,u&&new u,this.formSerializer)}}return s||n?(r.setContentType("application/json",!1),rme(t)):t}],transformResponse:[function(t){let r=this.transitional||xD.transitional,i=r&&r.forcedJSONParsing,n=this.responseType==="json";if(de.isResponse(t)||de.isReadableStream(t))return t;if(t&&de.isString(t)&&(i&&!this.responseType||n)){let o=!(r&&r.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?nt.from(a,nt.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ei.classes.FormData,Blob:ei.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};de.forEach(["delete","get","head","post","put","patch"],e=>{xD.headers[e]={}});var QD=xD,ime=de.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),nme=e=>{let t={},r,i,n;return e&&e.split(`
|
|
249
|
+
`)}function xfe(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function Qfe(){return process.env.DEBUG}function Sfe(e){e.inspectOpts={};let t=Object.keys(Fi.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=Fi.inspectOpts[t[r]]}oy.exports=zS()(Fi);var{formatters:G9}=oy.exports;G9.o=function(e){return this.inspectOpts.colors=this.useColors,sy.inspect(e,this.inspectOpts).split(`
|
|
250
|
+
`).map(t=>t.trim()).join(" ")};G9.O=function(e){return this.inspectOpts.colors=this.useColors,sy.inspect(e,this.inspectOpts)}});var z9=X((K_e,HS)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?HS.exports=$9():HS.exports=j9()});var Y9=X((X_e,H9)=>{var jf;H9.exports=function(){if(!jf){try{jf=z9()("follow-redirects")}catch{}typeof jf!="function"&&(jf=function(){})}jf.apply(null,arguments)}});var X9=X((eTe,sD)=>{var Hf=require("url"),zf=Hf.URL,Dfe=require("http"),kfe=require("https"),KS=require("stream").Writable,XS=require("assert"),W9=Y9();(function(){var t=typeof process<"u",r=typeof window<"u"&&typeof document<"u",i=Ql(Error.captureStackTrace);!t&&(r||!i)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var eD=!1;try{XS(new zf(""))}catch(e){eD=e.code==="ERR_INVALID_URL"}var Rfe=["Authorization","Proxy-Authorization","Cookie"],_fe=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],tD=["abort","aborted","connect","error","socket","timeout"],rD=Object.create(null);tD.forEach(function(e){rD[e]=function(t,r,i){this._redirectable.emit(e,t,r,i)}});var WS=Yf("ERR_INVALID_URL","Invalid URL",TypeError),JS=Yf("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Tfe=Yf("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",JS),Ffe=Yf("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Nfe=Yf("ERR_STREAM_WRITE_AFTER_END","write after end"),Lfe=KS.prototype.destroy||Z9;function Pn(e,t){KS.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var r=this;this._onNativeResponse=function(i){try{r._processResponse(i)}catch(n){r.emit("error",n instanceof JS?n:new JS({cause:n}))}},this._headerFilter=new RegExp("^(?:"+Rfe.concat(e.sensitiveHeaders).map(Vfe).join("|")+")$","i"),this._performRequest()}Pn.prototype=Object.create(KS.prototype);Pn.prototype.abort=function(){nD(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};Pn.prototype.destroy=function(e){return nD(this._currentRequest,e),Lfe.call(this,e),this};Pn.prototype.write=function(e,t,r){if(this._ending)throw new Nfe;if(!xl(e)&&!Ufe(e))throw new TypeError("data should be a string, Buffer or Uint8Array");if(Ql(t)&&(r=t,t=null),e.length===0){r&&r();return}this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,r)):(this.emit("error",new Ffe),this.abort())};Pn.prototype.end=function(e,t,r){if(Ql(e)?(r=e,e=t=null):Ql(t)&&(r=t,t=null),!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,r);else{var i=this,n=this._currentRequest;this.write(e,t,function(){i._ended=!0,n.end(null,null,r)}),this._ending=!0}};Pn.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};Pn.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};Pn.prototype.setTimeout=function(e,t){var r=this;function i(o){o.setTimeout(e),o.removeListener("timeout",o.destroy),o.addListener("timeout",o.destroy)}function n(o){r._timeout&&clearTimeout(r._timeout),r._timeout=setTimeout(function(){r.emit("timeout"),s()},e),i(o)}function s(){r._timeout&&(clearTimeout(r._timeout),r._timeout=null),r.removeListener("abort",s),r.removeListener("error",s),r.removeListener("response",s),r.removeListener("close",s),t&&r.removeListener("timeout",t),r.socket||r._currentRequest.removeListener("socket",n)}return t&&this.on("timeout",t),this.socket?n(this.socket):this._currentRequest.once("socket",n),this.on("socket",i),this.on("abort",s),this.on("error",s),this.on("response",s),this.on("close",s),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){Pn.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(Pn.prototype,e,{get:function(){return this._currentRequest[e]}})});Pn.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),Pfe(e.sensitiveHeaders)||(e.sensitiveHeaders=[]),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}};Pn.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var r=e.slice(0,-1);this._options.agent=this._options.agents[r]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);i._redirectable=this;for(var n of tD)i.on(n,rD[n]);if(this._currentUrl=/^\//.test(this._options.path)?Hf.format(this._options):this._options.path,this._isRedirect){var s=0,o=this,a=this._requestBodyBuffers;(function u(l){if(i===o._currentRequest)if(l)o.emit("error",l);else if(s<a.length){var A=a[s++];i.finished||i.write(A.data,A.encoding,u)}else o._ended&&i.end()})()}};Pn.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var r=e.headers.location;if(!r||this._options.followRedirects===!1||t<300||t>=400){e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[];return}if(nD(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new Tfe;var i,n=this._options.beforeRedirect;n&&(i=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var s=this._options.method;((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],YS(/^content-/i,this._options.headers));var o=YS(/^host$/i,this._options.headers),a=iD(this._currentUrl),u=o||a.host,l=/^\w+:/.test(r)?this._currentUrl:Hf.format(Object.assign(a,{host:u})),A=Mfe(r,l);if(W9("redirecting to",A.href),this._isRedirect=!0,ZS(A,this._options),(A.protocol!==a.protocol&&A.protocol!=="https:"||A.host!==u&&!Ofe(A.host,u))&&YS(this._headerFilter,this._options.headers),Ql(n)){var h={headers:e.headers,statusCode:t},d={url:l,method:s,headers:i};n(this._options,h,d),this._sanitizeOptions(this._options)}this._performRequest()};function J9(e){var t={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(e).forEach(function(i){var n=i+":",s=r[n]=e[i],o=t[i]=Object.create(s);function a(l,A,h){return qfe(l)?l=ZS(l):xl(l)?l=ZS(iD(l)):(h=A,A=K9(l),l={protocol:n}),Ql(A)&&(h=A,A=null),A=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},l,A),A.nativeProtocols=r,!xl(A.host)&&!xl(A.hostname)&&(A.hostname="::1"),XS.equal(A.protocol,n,"protocol mismatch"),W9("options",A),new Pn(A,h)}function u(l,A,h){var d=o.request(l,A,h);return d.end(),d}Object.defineProperties(o,{request:{value:a,configurable:!0,enumerable:!0,writable:!0},get:{value:u,configurable:!0,enumerable:!0,writable:!0}})}),t}function Z9(){}function iD(e){var t;if(eD)t=new zf(e);else if(t=K9(Hf.parse(e)),!xl(t.protocol))throw new WS({input:e});return t}function Mfe(e,t){return eD?new zf(e,t):iD(Hf.resolve(t,e))}function K9(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new WS({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new WS({input:e.href||e});return e}function ZS(e,t){var r=t||{};for(var i of _fe)r[i]=e[i];return r.hostname.startsWith("[")&&(r.hostname=r.hostname.slice(1,-1)),r.port!==""&&(r.port=Number(r.port)),r.path=r.search?r.pathname+r.search:r.pathname,r}function YS(e,t){var r;for(var i in t)e.test(i)&&(r=t[i],delete t[i]);return r===null||typeof r>"u"?void 0:String(r).trim()}function Yf(e,t,r){function i(n){Ql(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return i.prototype=new(r||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),i}function nD(e,t){for(var r of tD)e.removeListener(r,rD[r]);e.on("error",Z9),e.destroy(t)}function Ofe(e,t){XS(xl(e)&&xl(t));var r=e.length-t.length-1;return r>0&&e[r]==="."&&e.endsWith(t)}function Pfe(e){return e instanceof Array}function xl(e){return typeof e=="string"||e instanceof String}function Ql(e){return typeof e=="function"}function Ufe(e){return typeof e=="object"&&"length"in e}function qfe(e){return zf&&e instanceof zf}function Vfe(e){return e.replace(/[\]\\/()*+?.$]/g,"\\$&")}sD.exports=J9({http:Dfe,https:kfe});sD.exports.wrap=J9});var zH=X((tTe,jH)=>{"use strict";var $fe=M9(),Gfe=require("crypto"),jfe=require("url"),zfe=P9(),Hfe=require("http"),Yfe=require("https"),Wfe=require("util"),Jfe=X9(),Zfe=require("zlib"),CH=require("stream"),Kfe=require("events");function zo(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var yH=zo($fe),Xfe=zo(Gfe),ege=zo(jfe),tge=zo(zfe),rge=zo(Hfe),ige=zo(Yfe),bH=zo(Wfe),nge=zo(Jfe),nu=zo(Zfe),ru=zo(CH);function IH(e,t){return function(){return e.apply(t,arguments)}}var{toString:sge}=Object.prototype,{getPrototypeOf:ID}=Object,fy=(e=>t=>{let r=sge.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),no=e=>(e=e.toLowerCase(),t=>fy(t)===e),gy=e=>t=>typeof t===e,{isArray:XA}=Array,Jf=gy("undefined");function oge(e){return e!==null&&!Jf(e)&&e.constructor!==null&&!Jf(e.constructor)&&rs(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var wH=no("ArrayBuffer");function age(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&wH(e.buffer),t}var cge=gy("string"),rs=gy("function"),BH=gy("number"),my=e=>e!==null&&typeof e=="object",uge=e=>e===!0||e===!1,ay=e=>{if(fy(e)!=="object")return!1;let t=ID(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},lge=no("Date"),hge=no("File"),Age=no("Blob"),pge=no("FileList"),dge=e=>my(e)&&rs(e.pipe),fge=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||rs(e.append)&&((t=fy(e))==="formdata"||t==="object"&&rs(e.toString)&&e.toString()==="[object FormData]"))},gge=no("URLSearchParams"),[mge,Ege,Cge,yge]=["ReadableStream","Request","Response","Headers"].map(no),bge=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Kf(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let i,n;if(typeof e!="object"&&(e=[e]),XA(e))for(i=0,n=e.length;i<n;i++)t.call(null,e[i],i,e);else{let s=r?Object.getOwnPropertyNames(e):Object.keys(e),o=s.length,a;for(i=0;i<o;i++)a=s[i],t.call(null,e[a],a,e)}}function vH(e,t){t=t.toLowerCase();let r=Object.keys(e),i=r.length,n;for(;i-- >0;)if(n=r[i],t===n.toLowerCase())return n;return null}var Sl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,xH=e=>!Jf(e)&&e!==Sl;function hD(){let{caseless:e}=xH(this)&&this||{},t={},r=(i,n)=>{let s=e&&vH(t,n)||n;ay(t[s])&&ay(i)?t[s]=hD(t[s],i):ay(i)?t[s]=hD({},i):XA(i)?t[s]=i.slice():t[s]=i};for(let i=0,n=arguments.length;i<n;i++)arguments[i]&&Kf(arguments[i],r);return t}var Ige=(e,t,r,{allOwnKeys:i}={})=>(Kf(t,(n,s)=>{r&&rs(n)?e[s]=IH(n,r):e[s]=n},{allOwnKeys:i}),e),wge=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Bge=(e,t,r,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},vge=(e,t,r,i)=>{let n,s,o,a={};if(t=t||{},e==null)return t;do{for(n=Object.getOwnPropertyNames(e),s=n.length;s-- >0;)o=n[s],(!i||i(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=r!==!1&&ID(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},xge=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;let i=e.indexOf(t,r);return i!==-1&&i===r},Qge=e=>{if(!e)return null;if(XA(e))return e;let t=e.length;if(!BH(t))return null;let r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Sge=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ID(Uint8Array)),Dge=(e,t)=>{let i=(e&&e[Symbol.iterator]).call(e),n;for(;(n=i.next())&&!n.done;){let s=n.value;t.call(e,s[0],s[1])}},kge=(e,t)=>{let r,i=[];for(;(r=e.exec(t))!==null;)i.push(r);return i},Rge=no("HTMLFormElement"),_ge=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,i,n){return i.toUpperCase()+n}),eH=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Tge=no("RegExp"),QH=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),i={};Kf(r,(n,s)=>{let o;(o=t(n,s,e))!==!1&&(i[s]=o||n)}),Object.defineProperties(e,i)},Fge=e=>{QH(e,(t,r)=>{if(rs(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;let i=e[r];if(rs(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Nge=(e,t)=>{let r={},i=n=>{n.forEach(s=>{r[s]=!0})};return XA(e)?i(e):i(String(e).split(t)),r},Lge=()=>{},Mge=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Oge(e){return!!(e&&rs(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}var Pge=e=>{let t=new Array(10),r=(i,n)=>{if(my(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[n]=i;let s=XA(i)?[]:{};return Kf(i,(o,a)=>{let u=r(o,n+1);!Jf(u)&&(s[a]=u)}),t[n]=void 0,s}}return i};return r(e,0)},Uge=no("AsyncFunction"),qge=e=>e&&(my(e)||rs(e))&&rs(e.then)&&rs(e.catch),SH=((e,t)=>e?setImmediate:t?((r,i)=>(Sl.addEventListener("message",({source:n,data:s})=>{n===Sl&&s===r&&i.length&&i.shift()()},!1),n=>{i.push(n),Sl.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",rs(Sl.postMessage)),Vge=typeof queueMicrotask<"u"?queueMicrotask.bind(Sl):typeof process<"u"&&process.nextTick||SH,de={isArray:XA,isArrayBuffer:wH,isBuffer:oge,isFormData:fge,isArrayBufferView:age,isString:cge,isNumber:BH,isBoolean:uge,isObject:my,isPlainObject:ay,isReadableStream:mge,isRequest:Ege,isResponse:Cge,isHeaders:yge,isUndefined:Jf,isDate:lge,isFile:hge,isBlob:Age,isRegExp:Tge,isFunction:rs,isStream:dge,isURLSearchParams:gge,isTypedArray:Sge,isFileList:pge,forEach:Kf,merge:hD,extend:Ige,trim:bge,stripBOM:wge,inherits:Bge,toFlatObject:vge,kindOf:fy,kindOfTest:no,endsWith:xge,toArray:Qge,forEachEntry:Dge,matchAll:kge,isHTMLForm:Rge,hasOwnProperty:eH,hasOwnProp:eH,reduceDescriptors:QH,freezeMethods:Fge,toObjectSet:Nge,toCamelCase:_ge,noop:Lge,toFiniteNumber:Mge,findKey:vH,global:Sl,isContextDefined:xH,isSpecCompliantForm:Oge,toJSONObject:Pge,isAsyncFn:Uge,isThenable:qge,setImmediate:SH,asap:Vge};function nt(e,t,r,i,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),i&&(this.request=i),n&&(this.response=n,this.status=n.status?n.status:null)}de.inherits(nt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:de.toJSONObject(this.config),code:this.code,status:this.status}}});var DH=nt.prototype,kH={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{kH[e]={value:e}});Object.defineProperties(nt,kH);Object.defineProperty(DH,"isAxiosError",{value:!0});nt.from=(e,t,r,i,n,s)=>{let o=Object.create(DH);return de.toFlatObject(e,o,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),nt.call(o,e.message,t,r,i,n),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};function AD(e){return de.isPlainObject(e)||de.isArray(e)}function RH(e){return de.endsWith(e,"[]")?e.slice(0,-2):e}function tH(e,t,r){return e?e.concat(t).map(function(n,s){return n=RH(n),!r&&s?"["+n+"]":n}).join(r?".":""):t}function $ge(e){return de.isArray(e)&&!e.some(AD)}var Gge=de.toFlatObject(de,{},null,function(t){return/^is[A-Z]/.test(t)});function Ey(e,t,r){if(!de.isObject(e))throw new TypeError("target must be an object");t=t||new(yH.default||FormData),r=de.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,y){return!de.isUndefined(y[E])});let i=r.metaTokens,n=r.visitor||A,s=r.dots,o=r.indexes,u=(r.Blob||typeof Blob<"u"&&Blob)&&de.isSpecCompliantForm(t);if(!de.isFunction(n))throw new TypeError("visitor must be a function");function l(g){if(g===null)return"";if(de.isDate(g))return g.toISOString();if(!u&&de.isBlob(g))throw new nt("Blob is not supported. Use a Buffer instead.");return de.isArrayBuffer(g)||de.isTypedArray(g)?u&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function A(g,E,y){let w=g;if(g&&!y&&typeof g=="object"){if(de.endsWith(E,"{}"))E=i?E:E.slice(0,-2),g=JSON.stringify(g);else if(de.isArray(g)&&$ge(g)||(de.isFileList(g)||de.endsWith(E,"[]"))&&(w=de.toArray(g)))return E=RH(E),w.forEach(function(S,F){!(de.isUndefined(S)||S===null)&&t.append(o===!0?tH([E],F,s):o===null?E:E+"[]",l(S))}),!1}return AD(g)?!0:(t.append(tH(y,E,s),l(g)),!1)}let h=[],d=Object.assign(Gge,{defaultVisitor:A,convertValue:l,isVisitable:AD});function m(g,E){if(!de.isUndefined(g)){if(h.indexOf(g)!==-1)throw Error("Circular reference detected in "+E.join("."));h.push(g),de.forEach(g,function(w,R){(!(de.isUndefined(w)||w===null)&&n.call(t,w,de.isString(R)?R.trim():R,E,d))===!0&&m(w,E?E.concat(R):[R])}),h.pop()}}if(!de.isObject(e))throw new TypeError("data must be an object");return m(e),t}function rH(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function _H(e,t){this._pairs=[],e&&Ey(e,this,t)}var TH=_H.prototype;TH.append=function(t,r){this._pairs.push([t,r])};TH.toString=function(t){let r=t?function(i){return t.call(this,i,rH)}:rH;return this._pairs.map(function(n){return r(n[0])+"="+r(n[1])},"").join("&")};function jge(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function wD(e,t,r){if(!t)return e;let i=r&&r.encode||jge;de.isFunction(r)&&(r={serialize:r});let n=r&&r.serialize,s;if(n?s=n(t,r):s=de.isURLSearchParams(t)?t.toString():new _H(t,r).toString(i),s){let o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}var pD=class{constructor(){this.handlers=[]}use(t,r,i){return this.handlers.push({fulfilled:t,rejected:r,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){de.forEach(this.handlers,function(i){i!==null&&t(i)})}},iH=pD,BD={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},zge=ege.default.URLSearchParams,oD="abcdefghijklmnopqrstuvwxyz",nH="0123456789",FH={DIGIT:nH,ALPHA:oD,ALPHA_DIGIT:oD+oD.toUpperCase()+nH},Hge=(e=16,t=FH.ALPHA_DIGIT)=>{let r="",{length:i}=t,n=new Uint32Array(e);Xfe.default.randomFillSync(n);for(let s=0;s<e;s++)r+=t[n[s]%i];return r},Yge={isNode:!0,classes:{URLSearchParams:zge,FormData:yH.default,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:FH,generateString:Hge,protocols:["http","https","file","data"]},vD=typeof window<"u"&&typeof document<"u",dD=typeof navigator=="object"&&navigator||void 0,Wge=vD&&(!dD||["ReactNative","NativeScript","NS"].indexOf(dD.product)<0),Jge=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Zge=vD&&window.location.href||"http://localhost",Kge=Object.freeze({__proto__:null,hasBrowserEnv:vD,hasStandardBrowserWebWorkerEnv:Jge,hasStandardBrowserEnv:Wge,navigator:dD,origin:Zge}),ei={...Kge,...Yge};function Xge(e,t){return Ey(e,new ei.classes.URLSearchParams,Object.assign({visitor:function(r,i,n,s){return ei.isNode&&de.isBuffer(r)?(this.append(i,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function eme(e){return de.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function tme(e){let t={},r=Object.keys(e),i,n=r.length,s;for(i=0;i<n;i++)s=r[i],t[s]=e[s];return t}function NH(e){function t(r,i,n,s){let o=r[s++];if(o==="__proto__")return!0;let a=Number.isFinite(+o),u=s>=r.length;return o=!o&&de.isArray(n)?n.length:o,u?(de.hasOwnProp(n,o)?n[o]=[n[o],i]:n[o]=i,!a):((!n[o]||!de.isObject(n[o]))&&(n[o]=[]),t(r,i,n[o],s)&&de.isArray(n[o])&&(n[o]=tme(n[o])),!a)}if(de.isFormData(e)&&de.isFunction(e.entries)){let r={};return de.forEachEntry(e,(i,n)=>{t(eme(i),n,r,0)}),r}return null}function rme(e,t,r){if(de.isString(e))try{return(t||JSON.parse)(e),de.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(r||JSON.stringify)(e)}var xD={transitional:BD,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){let i=r.getContentType()||"",n=i.indexOf("application/json")>-1,s=de.isObject(t);if(s&&de.isHTMLForm(t)&&(t=new FormData(t)),de.isFormData(t))return n?JSON.stringify(NH(t)):t;if(de.isArrayBuffer(t)||de.isBuffer(t)||de.isStream(t)||de.isFile(t)||de.isBlob(t)||de.isReadableStream(t))return t;if(de.isArrayBufferView(t))return t.buffer;if(de.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(i.indexOf("application/x-www-form-urlencoded")>-1)return Xge(t,this.formSerializer).toString();if((a=de.isFileList(t))||i.indexOf("multipart/form-data")>-1){let u=this.env&&this.env.FormData;return Ey(a?{"files[]":t}:t,u&&new u,this.formSerializer)}}return s||n?(r.setContentType("application/json",!1),rme(t)):t}],transformResponse:[function(t){let r=this.transitional||xD.transitional,i=r&&r.forcedJSONParsing,n=this.responseType==="json";if(de.isResponse(t)||de.isReadableStream(t))return t;if(t&&de.isString(t)&&(i&&!this.responseType||n)){let o=!(r&&r.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?nt.from(a,nt.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ei.classes.FormData,Blob:ei.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};de.forEach(["delete","get","head","post","put","patch"],e=>{xD.headers[e]={}});var QD=xD,ime=de.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),nme=e=>{let t={},r,i,n;return e&&e.split(`
|
|
251
251
|
`).forEach(function(o){n=o.indexOf(":"),r=o.substring(0,n).trim().toLowerCase(),i=o.substring(n+1).trim(),!(!r||t[r]&&ime[r])&&(r==="set-cookie"?t[r]?t[r].push(i):t[r]=[i]:t[r]=t[r]?t[r]+", "+i:i)}),t},sH=Symbol("internals");function Wf(e){return e&&String(e).trim().toLowerCase()}function cy(e){return e===!1||e==null?e:de.isArray(e)?e.map(cy):String(e)}function sme(e){let t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,i;for(;i=r.exec(e);)t[i[1]]=i[2];return t}var ome=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function aD(e,t,r,i,n){if(de.isFunction(i))return i.call(this,t,r);if(n&&(t=r),!!de.isString(t)){if(de.isString(i))return t.indexOf(i)!==-1;if(de.isRegExp(i))return i.test(t)}}function ame(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,i)=>r.toUpperCase()+i)}function cme(e,t){let r=de.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+r,{value:function(n,s,o){return this[i].call(this,t,n,s,o)},configurable:!0})})}var JA=class{constructor(t){t&&this.set(t)}set(t,r,i){let n=this;function s(a,u,l){let A=Wf(u);if(!A)throw new Error("header name must be a non-empty string");let h=de.findKey(n,A);(!h||n[h]===void 0||l===!0||l===void 0&&n[h]!==!1)&&(n[h||u]=cy(a))}let o=(a,u)=>de.forEach(a,(l,A)=>s(l,A,u));if(de.isPlainObject(t)||t instanceof this.constructor)o(t,r);else if(de.isString(t)&&(t=t.trim())&&!ome(t))o(nme(t),r);else if(de.isHeaders(t))for(let[a,u]of t.entries())s(u,a,i);else t!=null&&s(r,t,i);return this}get(t,r){if(t=Wf(t),t){let i=de.findKey(this,t);if(i){let n=this[i];if(!r)return n;if(r===!0)return sme(n);if(de.isFunction(r))return r.call(this,n,i);if(de.isRegExp(r))return r.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Wf(t),t){let i=de.findKey(this,t);return!!(i&&this[i]!==void 0&&(!r||aD(this,this[i],i,r)))}return!1}delete(t,r){let i=this,n=!1;function s(o){if(o=Wf(o),o){let a=de.findKey(i,o);a&&(!r||aD(i,i[a],a,r))&&(delete i[a],n=!0)}}return de.isArray(t)?t.forEach(s):s(t),n}clear(t){let r=Object.keys(this),i=r.length,n=!1;for(;i--;){let s=r[i];(!t||aD(this,this[s],s,t,!0))&&(delete this[s],n=!0)}return n}normalize(t){let r=this,i={};return de.forEach(this,(n,s)=>{let o=de.findKey(i,s);if(o){r[o]=cy(n),delete r[s];return}let a=t?ame(s):String(s).trim();a!==s&&delete r[s],r[a]=cy(n),i[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let r=Object.create(null);return de.forEach(this,(i,n)=>{i!=null&&i!==!1&&(r[n]=t&&de.isArray(i)?i.join(", "):i)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
|
252
252
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){let i=new this(t);return r.forEach(n=>i.set(n)),i}static accessor(t){let i=(this[sH]=this[sH]={accessors:{}}).accessors,n=this.prototype;function s(o){let a=Wf(o);i[a]||(cme(n,o),i[a]=!0)}return de.isArray(t)?t.forEach(s):s(t),this}};JA.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);de.reduceDescriptors(JA.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[r]=i}}});de.freezeMethods(JA);var Un=JA;function cD(e,t){let r=this||QD,i=t||r,n=Un.from(i.headers),s=i.data;return de.forEach(e,function(a){s=a.call(r,s,n.normalize(),t?t.status:void 0)}),n.normalize(),s}function LH(e){return!!(e&&e.__CANCEL__)}function su(e,t,r){nt.call(this,e??"canceled",nt.ERR_CANCELED,t,r),this.name="CanceledError"}de.inherits(su,nt,{__CANCEL__:!0});function WA(e,t,r){let i=r.config.validateStatus;!r.status||!i||i(r.status)?e(r):t(new nt("Request failed with status code "+r.status,[nt.ERR_BAD_REQUEST,nt.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function ume(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function lme(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function SD(e,t,r){let i=!ume(t);return e&&i||r==!1?lme(e,t):t}var hy="1.8.2";function MH(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}var hme=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function Ame(e,t,r){let i=r&&r.Blob||ei.classes.Blob,n=MH(e);if(t===void 0&&i&&(t=!0),n==="data"){e=n.length?e.slice(n.length+1):e;let s=hme.exec(e);if(!s)throw new nt("Invalid URL",nt.ERR_INVALID_URL);let o=s[1],a=s[2],u=s[3],l=Buffer.from(decodeURIComponent(u),a?"base64":"utf8");if(t){if(!i)throw new nt("Blob is not supported",nt.ERR_NOT_SUPPORT);return new i([l],{type:o})}return l}throw new nt("Unsupported protocol "+n,nt.ERR_NOT_SUPPORT)}var uD=Symbol("internals"),fD=class extends ru.default.Transform{constructor(t){t=de.toFlatObject(t,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(i,n)=>!de.isUndefined(n[i])),super({readableHighWaterMark:t.chunkSize});let r=this[uD]={timeWindow:t.timeWindow,chunkSize:t.chunkSize,maxRate:t.maxRate,minChunkSize:t.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",i=>{i==="progress"&&(r.isCaptured||(r.isCaptured=!0))})}_read(t){let r=this[uD];return r.onReadCallback&&r.onReadCallback(),super._read(t)}_transform(t,r,i){let n=this[uD],s=n.maxRate,o=this.readableHighWaterMark,a=n.timeWindow,u=1e3/a,l=s/u,A=n.minChunkSize!==!1?Math.max(n.minChunkSize,l*.01):0,h=(m,g)=>{let E=Buffer.byteLength(m);n.bytesSeen+=E,n.bytes+=E,n.isCaptured&&this.emit("progress",n.bytesSeen),this.push(m)?process.nextTick(g):n.onReadCallback=()=>{n.onReadCallback=null,process.nextTick(g)}},d=(m,g)=>{let E=Buffer.byteLength(m),y=null,w=o,R,S=0;if(s){let F=Date.now();(!n.ts||(S=F-n.ts)>=a)&&(n.ts=F,R=l-n.bytes,n.bytes=R<0?-R:0,S=0),R=l-n.bytes}if(s){if(R<=0)return setTimeout(()=>{g(null,m)},a-S);R<w&&(w=R)}w&&E>w&&E-w>A&&(y=m.subarray(w),m=m.subarray(0,w)),h(m,y?()=>{process.nextTick(g,null,y)}:g)};d(t,function m(g,E){if(g)return i(g);E?d(E,m):i(null)})}},oH=fD,{asyncIterator:aH}=Symbol,pme=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[aH]?yield*e[aH]():yield e},OH=pme,dme=ei.ALPHABET.ALPHA_DIGIT+"-_",Zf=typeof TextEncoder=="function"?new TextEncoder:new bH.default.TextEncoder,iu=`\r
|
|
253
253
|
`,fme=Zf.encode(iu),gme=2,gD=class{constructor(t,r){let{escapeName:i}=this.constructor,n=de.isString(r),s=`Content-Disposition: form-data; name="${i(t)}"${!n&&r.name?`; filename="${i(r.name)}"`:""}${iu}`;n?r=Zf.encode(String(r).replace(/\r?\n|\r\n?/g,iu)):s+=`Content-Type: ${r.type||"application/octet-stream"}${iu}`,this.headers=Zf.encode(s+iu),this.contentLength=n?r.byteLength:r.size,this.size=this.headers.byteLength+this.contentLength+gme,this.name=t,this.value=r}async*encode(){yield this.headers;let{value:t}=this;de.isTypedArray(t)?yield t:yield*OH(t),yield fme}static escapeName(t){return String(t).replace(/[\r\n"]/g,r=>({"\r":"%0D","\n":"%0A",'"':"%22"})[r])}},mme=(e,t,r)=>{let{tag:i="form-data-boundary",size:n=25,boundary:s=i+"-"+ei.generateString(n,dme)}=r||{};if(!de.isFormData(e))throw TypeError("FormData instance required");if(s.length<1||s.length>70)throw Error("boundary must be 10-70 characters long");let o=Zf.encode("--"+s+iu),a=Zf.encode("--"+s+"--"+iu+iu),u=a.byteLength,l=Array.from(e.entries()).map(([h,d])=>{let m=new gD(h,d);return u+=m.size,m});u+=o.byteLength*l.length,u=de.toFiniteNumber(u);let A={"Content-Type":`multipart/form-data; boundary=${s}`};return Number.isFinite(u)&&(A["Content-Length"]=u),t&&t(A),CH.Readable.from((async function*(){for(let h of l)yield o,yield*h.encode();yield a})())},Eme=mme,mD=class extends ru.default.Transform{__transform(t,r,i){this.push(t),i()}_transform(t,r,i){if(t.length!==0&&(this._transform=this.__transform,t[0]!==120)){let n=Buffer.alloc(2);n[0]=120,n[1]=156,this.push(n,r)}this.__transform(t,r,i)}},Cme=mD,yme=(e,t)=>de.isAsyncFn(e)?function(...r){let i=r.pop();e.apply(this,r).then(n=>{try{t?i(null,...t(n)):i(null,n)}catch(s){i(s)}},i)}:e,bme=yme;function Ime(e,t){e=e||10;let r=new Array(e),i=new Array(e),n=0,s=0,o;return t=t!==void 0?t:1e3,function(u){let l=Date.now(),A=i[s];o||(o=l),r[n]=u,i[n]=l;let h=s,d=0;for(;h!==n;)d+=r[h++],h=h%e;if(n=(n+1)%e,n===s&&(s=(s+1)%e),l-o<t)return;let m=A&&l-A;return m?Math.round(d*1e3/m):void 0}}function wme(e,t){let r=0,i=1e3/t,n,s,o=(l,A=Date.now())=>{r=A,n=null,s&&(clearTimeout(s),s=null),e.apply(null,l)};return[(...l)=>{let A=Date.now(),h=A-r;h>=i?o(l,A):(n=l,s||(s=setTimeout(()=>{s=null,o(n)},i-h)))},()=>n&&o(n)]}var ZA=(e,t,r=3)=>{let i=0,n=Ime(50,250);return wme(s=>{let o=s.loaded,a=s.lengthComputable?s.total:void 0,u=o-i,l=n(u),A=o<=a;i=o;let h={loaded:o,total:a,progress:a?o/a:void 0,bytes:u,rate:l||void 0,estimated:l&&a&&A?(a-o)/l:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(h)},r)},Ay=(e,t)=>{let r=e!=null;return[i=>t[0]({lengthComputable:r,total:e,loaded:i}),t[1]]},py=e=>(...t)=>de.asap(()=>e(...t)),cH={flush:nu.default.constants.Z_SYNC_FLUSH,finishFlush:nu.default.constants.Z_SYNC_FLUSH},Bme={flush:nu.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:nu.default.constants.BROTLI_OPERATION_FLUSH},uH=de.isFunction(nu.default.createBrotliDecompress),{http:vme,https:xme}=nge.default,Qme=/https:?/,lH=ei.protocols.map(e=>e+":"),hH=(e,[t,r])=>(e.on("end",r).on("error",r),t);function Sme(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function PH(e,t,r){let i=t;if(!i&&i!==!1){let n=tge.default.getProxyForUrl(r);n&&(i=new URL(n))}if(i){if(i.username&&(i.auth=(i.username||"")+":"+(i.password||"")),i.auth){(i.auth.username||i.auth.password)&&(i.auth=(i.auth.username||"")+":"+(i.auth.password||""));let s=Buffer.from(i.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+s}e.headers.host=e.hostname+(e.port?":"+e.port:"");let n=i.hostname||i.host;e.hostname=n,e.host=n,e.port=i.port,e.path=r,i.protocol&&(e.protocol=i.protocol.includes(":")?i.protocol:`${i.protocol}:`)}e.beforeRedirects.proxy=function(s){PH(s,t,s.href)}}var Dme=typeof process<"u"&&de.kindOf(process)==="process",kme=e=>new Promise((t,r)=>{let i,n,s=(u,l)=>{n||(n=!0,i&&i(u,l))},o=u=>{s(u),t(u)},a=u=>{s(u,!0),r(u)};e(o,a,u=>i=u).catch(a)}),Rme=({address:e,family:t})=>{if(!de.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}},AH=(e,t)=>Rme(de.isObject(e)?e:{address:e,family:t}),_me=Dme&&function(t){return kme(async function(i,n,s){let{data:o,lookup:a,family:u}=t,{responseType:l,responseEncoding:A}=t,h=t.method.toUpperCase(),d,m=!1,g;if(a){let Y=bme(a,Z=>de.isArray(Z)?Z:[Z]);a=(Z,ue,ye)=>{Y(Z,ue,(fe,Oe,ve)=>{if(fe)return ye(fe);let me=de.isArray(Oe)?Oe.map(Ee=>AH(Ee)):[AH(Oe,ve)];ue.all?ye(fe,me):ye(fe,me[0].address,me[0].family)})}}let E=new Kfe.EventEmitter,y=()=>{t.cancelToken&&t.cancelToken.unsubscribe(w),t.signal&&t.signal.removeEventListener("abort",w),E.removeAllListeners()};s((Y,Z)=>{d=!0,Z&&(m=!0,y())});function w(Y){E.emit("abort",!Y||Y.type?new su(null,t,g):Y)}E.once("abort",n),(t.cancelToken||t.signal)&&(t.cancelToken&&t.cancelToken.subscribe(w),t.signal&&(t.signal.aborted?w():t.signal.addEventListener("abort",w)));let R=SD(t.baseURL,t.url,t.allowAbsoluteUrls),S=new URL(R,ei.hasBrowserEnv?ei.origin:void 0),F=S.protocol||lH[0];if(F==="data:"){let Y;if(h!=="GET")return WA(i,n,{status:405,statusText:"method not allowed",headers:{},config:t});try{Y=Ame(t.url,l==="blob",{Blob:t.env&&t.env.Blob})}catch(Z){throw nt.from(Z,nt.ERR_BAD_REQUEST,t)}return l==="text"?(Y=Y.toString(A),(!A||A==="utf8")&&(Y=de.stripBOM(Y))):l==="stream"&&(Y=ru.default.Readable.from(Y)),WA(i,n,{data:Y,status:200,statusText:"OK",headers:new Un,config:t})}if(lH.indexOf(F)===-1)return n(new nt("Unsupported protocol "+F,nt.ERR_BAD_REQUEST,t));let q=Un.from(t.headers).normalize();q.set("User-Agent","axios/"+hy,!1);let{onUploadProgress:M,onDownloadProgress:C}=t,$=t.maxRate,T,k;if(de.isSpecCompliantForm(o)){let Y=q.getContentType(/boundary=([-_\w\d]{10,70})/i);o=Eme(o,Z=>{q.set(Z)},{tag:`axios-${hy}-boundary`,boundary:Y&&Y[1]||void 0})}else if(de.isFormData(o)&&de.isFunction(o.getHeaders)){if(q.set(o.getHeaders()),!q.hasContentLength())try{let Y=await bH.default.promisify(o.getLength).call(o);Number.isFinite(Y)&&Y>=0&&q.setContentLength(Y)}catch{}}else if(de.isBlob(o)||de.isFile(o))o.size&&q.setContentType(o.type||"application/octet-stream"),q.setContentLength(o.size||0),o=ru.default.Readable.from(OH(o));else if(o&&!de.isStream(o)){if(!Buffer.isBuffer(o))if(de.isArrayBuffer(o))o=Buffer.from(new Uint8Array(o));else if(de.isString(o))o=Buffer.from(o,"utf-8");else return n(new nt("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",nt.ERR_BAD_REQUEST,t));if(q.setContentLength(o.length,!1),t.maxBodyLength>-1&&o.length>t.maxBodyLength)return n(new nt("Request body larger than maxBodyLength limit",nt.ERR_BAD_REQUEST,t))}let Q=de.toFiniteNumber(q.getContentLength());de.isArray($)?(T=$[0],k=$[1]):T=k=$,o&&(M||T)&&(de.isStream(o)||(o=ru.default.Readable.from(o,{objectMode:!1})),o=ru.default.pipeline([o,new oH({maxRate:de.toFiniteNumber(T)})],de.noop),M&&o.on("progress",hH(o,Ay(Q,ZA(py(M),!1,3)))));let L;if(t.auth){let Y=t.auth.username||"",Z=t.auth.password||"";L=Y+":"+Z}if(!L&&S.username){let Y=S.username,Z=S.password;L=Y+":"+Z}L&&q.delete("authorization");let x;try{x=wD(S.pathname+S.search,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(Y){let Z=new Error(Y.message);return Z.config=t,Z.url=t.url,Z.exists=!0,n(Z)}q.set("Accept-Encoding","gzip, compress, deflate"+(uH?", br":""),!1);let V={path:x,method:h,headers:q.toJSON(),agents:{http:t.httpAgent,https:t.httpsAgent},auth:L,protocol:F,family:u,beforeRedirect:Sme,beforeRedirects:{}};!de.isUndefined(a)&&(V.lookup=a),t.socketPath?V.socketPath=t.socketPath:(V.hostname=S.hostname.startsWith("[")?S.hostname.slice(1,-1):S.hostname,V.port=S.port,PH(V,t.proxy,F+"//"+S.hostname+(S.port?":"+S.port:"")+V.path));let z,ne=Qme.test(V.protocol);if(V.agent=ne?t.httpsAgent:t.httpAgent,t.transport?z=t.transport:t.maxRedirects===0?z=ne?ige.default:rge.default:(t.maxRedirects&&(V.maxRedirects=t.maxRedirects),t.beforeRedirect&&(V.beforeRedirects.config=t.beforeRedirect),z=ne?xme:vme),t.maxBodyLength>-1?V.maxBodyLength=t.maxBodyLength:V.maxBodyLength=1/0,t.insecureHTTPParser&&(V.insecureHTTPParser=t.insecureHTTPParser),g=z.request(V,function(Z){if(g.destroyed)return;let ue=[Z],ye=+Z.headers["content-length"];if(C||k){let Ee=new oH({maxRate:de.toFiniteNumber(k)});C&&Ee.on("progress",hH(Ee,Ay(ye,ZA(py(C),!0,3)))),ue.push(Ee)}let fe=Z,Oe=Z.req||g;if(t.decompress!==!1&&Z.headers["content-encoding"])switch((h==="HEAD"||Z.statusCode===204)&&delete Z.headers["content-encoding"],(Z.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":ue.push(nu.default.createUnzip(cH)),delete Z.headers["content-encoding"];break;case"deflate":ue.push(new Cme),ue.push(nu.default.createUnzip(cH)),delete Z.headers["content-encoding"];break;case"br":uH&&(ue.push(nu.default.createBrotliDecompress(Bme)),delete Z.headers["content-encoding"])}fe=ue.length>1?ru.default.pipeline(ue,de.noop):ue[0];let ve=ru.default.finished(fe,()=>{ve(),y()}),me={status:Z.statusCode,statusText:Z.statusMessage,headers:new Un(Z.headers),config:t,request:Oe};if(l==="stream")me.data=fe,WA(i,n,me);else{let Ee=[],Ue=0;fe.on("data",function(qe){Ee.push(qe),Ue+=qe.length,t.maxContentLength>-1&&Ue>t.maxContentLength&&(m=!0,fe.destroy(),n(new nt("maxContentLength size of "+t.maxContentLength+" exceeded",nt.ERR_BAD_RESPONSE,t,Oe)))}),fe.on("aborted",function(){if(m)return;let qe=new nt("stream has been aborted",nt.ERR_BAD_RESPONSE,t,Oe);fe.destroy(qe),n(qe)}),fe.on("error",function(qe){g.destroyed||n(nt.from(qe,null,t,Oe))}),fe.on("end",function(){try{let qe=Ee.length===1?Ee[0]:Buffer.concat(Ee);l!=="arraybuffer"&&(qe=qe.toString(A),(!A||A==="utf8")&&(qe=de.stripBOM(qe))),me.data=qe}catch(qe){return n(nt.from(qe,null,t,me.request,me))}WA(i,n,me)})}E.once("abort",Ee=>{fe.destroyed||(fe.emit("error",Ee),fe.destroy())})}),E.once("abort",Y=>{n(Y),g.destroy(Y)}),g.on("error",function(Z){n(nt.from(Z,null,t,g))}),g.on("socket",function(Z){Z.setKeepAlive(!0,1e3*60)}),t.timeout){let Y=parseInt(t.timeout,10);if(Number.isNaN(Y)){n(new nt("error trying to parse `config.timeout` to int",nt.ERR_BAD_OPTION_VALUE,t,g));return}g.setTimeout(Y,function(){if(d)return;let ue=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",ye=t.transitional||BD;t.timeoutErrorMessage&&(ue=t.timeoutErrorMessage),n(new nt(ue,ye.clarifyTimeoutError?nt.ETIMEDOUT:nt.ECONNABORTED,t,g)),w()})}if(de.isStream(o)){let Y=!1,Z=!1;o.on("end",()=>{Y=!0}),o.once("error",ue=>{Z=!0,g.destroy(ue)}),o.on("close",()=>{!Y&&!Z&&w(new su("Request stream has been aborted",t,g))}),o.pipe(g)}else g.end(o)})},Tme=ei.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,ei.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(ei.origin),ei.navigator&&/(msie|trident)/i.test(ei.navigator.userAgent)):()=>!0,Fme=ei.hasStandardBrowserEnv?{write(e,t,r,i,n,s){let o=[e+"="+encodeURIComponent(t)];de.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),de.isString(i)&&o.push("path="+i),de.isString(n)&&o.push("domain="+n),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){let t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}},pH=e=>e instanceof Un?{...e}:e;function Dl(e,t){t=t||{};let r={};function i(l,A,h,d){return de.isPlainObject(l)&&de.isPlainObject(A)?de.merge.call({caseless:d},l,A):de.isPlainObject(A)?de.merge({},A):de.isArray(A)?A.slice():A}function n(l,A,h,d){if(de.isUndefined(A)){if(!de.isUndefined(l))return i(void 0,l,h,d)}else return i(l,A,h,d)}function s(l,A){if(!de.isUndefined(A))return i(void 0,A)}function o(l,A){if(de.isUndefined(A)){if(!de.isUndefined(l))return i(void 0,l)}else return i(void 0,A)}function a(l,A,h){if(h in t)return i(l,A);if(h in e)return i(void 0,l)}let u={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(l,A,h)=>n(pH(l),pH(A),h,!0)};return de.forEach(Object.keys(Object.assign({},e,t)),function(A){let h=u[A]||n,d=h(e[A],t[A],A);de.isUndefined(d)&&h!==a||(r[A]=d)}),r}var UH=e=>{let t=Dl({},e),{data:r,withXSRFToken:i,xsrfHeaderName:n,xsrfCookieName:s,headers:o,auth:a}=t;t.headers=o=Un.from(o),t.url=wD(SD(t.baseURL,t.url),e.params,e.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let u;if(de.isFormData(r)){if(ei.hasStandardBrowserEnv||ei.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((u=o.getContentType())!==!1){let[l,...A]=u?u.split(";").map(h=>h.trim()).filter(Boolean):[];o.setContentType([l||"multipart/form-data",...A].join("; "))}}if(ei.hasStandardBrowserEnv&&(i&&de.isFunction(i)&&(i=i(t)),i||i!==!1&&Tme(t.url))){let l=n&&s&&Fme.read(s);l&&o.set(n,l)}return t},Nme=typeof XMLHttpRequest<"u",Lme=Nme&&function(e){return new Promise(function(r,i){let n=UH(e),s=n.data,o=Un.from(n.headers).normalize(),{responseType:a,onUploadProgress:u,onDownloadProgress:l}=n,A,h,d,m,g;function E(){m&&m(),g&&g(),n.cancelToken&&n.cancelToken.unsubscribe(A),n.signal&&n.signal.removeEventListener("abort",A)}let y=new XMLHttpRequest;y.open(n.method.toUpperCase(),n.url,!0),y.timeout=n.timeout;function w(){if(!y)return;let S=Un.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),q={data:!a||a==="text"||a==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:S,config:e,request:y};WA(function(C){r(C),E()},function(C){i(C),E()},q),y=null}"onloadend"in y?y.onloadend=w:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(w)},y.onabort=function(){y&&(i(new nt("Request aborted",nt.ECONNABORTED,e,y)),y=null)},y.onerror=function(){i(new nt("Network Error",nt.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let F=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded",q=n.transitional||BD;n.timeoutErrorMessage&&(F=n.timeoutErrorMessage),i(new nt(F,q.clarifyTimeoutError?nt.ETIMEDOUT:nt.ECONNABORTED,e,y)),y=null},s===void 0&&o.setContentType(null),"setRequestHeader"in y&&de.forEach(o.toJSON(),function(F,q){y.setRequestHeader(q,F)}),de.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),a&&a!=="json"&&(y.responseType=n.responseType),l&&([d,g]=ZA(l,!0),y.addEventListener("progress",d)),u&&y.upload&&([h,m]=ZA(u),y.upload.addEventListener("progress",h),y.upload.addEventListener("loadend",m)),(n.cancelToken||n.signal)&&(A=S=>{y&&(i(!S||S.type?new su(null,e,y):S),y.abort(),y=null)},n.cancelToken&&n.cancelToken.subscribe(A),n.signal&&(n.signal.aborted?A():n.signal.addEventListener("abort",A)));let R=MH(n.url);if(R&&ei.protocols.indexOf(R)===-1){i(new nt("Unsupported protocol "+R+":",nt.ERR_BAD_REQUEST,e));return}y.send(s||null)})},Mme=(e,t)=>{let{length:r}=e=e?e.filter(Boolean):[];if(t||r){let i=new AbortController,n,s=function(l){if(!n){n=!0,a();let A=l instanceof Error?l:this.reason;i.abort(A instanceof nt?A:new su(A instanceof Error?A.message:A))}},o=t&&setTimeout(()=>{o=null,s(new nt(`timeout ${t} of ms exceeded`,nt.ETIMEDOUT))},t),a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(s):l.removeEventListener("abort",s)}),e=null)};e.forEach(l=>l.addEventListener("abort",s));let{signal:u}=i;return u.unsubscribe=()=>de.asap(a),u}},Ome=Mme,Pme=function*(e,t){let r=e.byteLength;if(!t||r<t){yield e;return}let i=0,n;for(;i<r;)n=i+t,yield e.slice(i,n),i=n},Ume=async function*(e,t){for await(let r of qme(e))yield*Pme(r,t)},qme=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:r,value:i}=await t.read();if(r)break;yield i}}finally{await t.cancel()}},dH=(e,t,r,i)=>{let n=Ume(e,t),s=0,o,a=u=>{o||(o=!0,i&&i(u))};return new ReadableStream({async pull(u){try{let{done:l,value:A}=await n.next();if(l){a(),u.close();return}let h=A.byteLength;if(r){let d=s+=h;r(d)}u.enqueue(new Uint8Array(A))}catch(l){throw a(l),l}},cancel(u){return a(u),n.return()}},{highWaterMark:2})},Cy=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",qH=Cy&&typeof ReadableStream=="function",Vme=Cy&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),VH=(e,...t)=>{try{return!!e(...t)}catch{return!1}},$me=qH&&VH(()=>{let e=!1,t=new Request(ei.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),fH=64*1024,ED=qH&&VH(()=>de.isReadableStream(new Response("").body)),dy={stream:ED&&(e=>e.body)};Cy&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!dy[t]&&(dy[t]=de.isFunction(e[t])?r=>r[t]():(r,i)=>{throw new nt(`Response type '${t}' is not supported`,nt.ERR_NOT_SUPPORT,i)})})})(new Response);var Gme=async e=>{if(e==null)return 0;if(de.isBlob(e))return e.size;if(de.isSpecCompliantForm(e))return(await new Request(ei.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(de.isArrayBufferView(e)||de.isArrayBuffer(e))return e.byteLength;if(de.isURLSearchParams(e)&&(e=e+""),de.isString(e))return(await Vme(e)).byteLength},jme=async(e,t)=>{let r=de.toFiniteNumber(e.getContentLength());return r??Gme(t)},zme=Cy&&(async e=>{let{url:t,method:r,data:i,signal:n,cancelToken:s,timeout:o,onDownloadProgress:a,onUploadProgress:u,responseType:l,headers:A,withCredentials:h="same-origin",fetchOptions:d}=UH(e);l=l?(l+"").toLowerCase():"text";let m=Ome([n,s&&s.toAbortSignal()],o),g,E=m&&m.unsubscribe&&(()=>{m.unsubscribe()}),y;try{if(u&&$me&&r!=="get"&&r!=="head"&&(y=await jme(A,i))!==0){let q=new Request(t,{method:"POST",body:i,duplex:"half"}),M;if(de.isFormData(i)&&(M=q.headers.get("content-type"))&&A.setContentType(M),q.body){let[C,$]=Ay(y,ZA(py(u)));i=dH(q.body,fH,C,$)}}de.isString(h)||(h=h?"include":"omit");let w="credentials"in Request.prototype;g=new Request(t,{...d,signal:m,method:r.toUpperCase(),headers:A.normalize().toJSON(),body:i,duplex:"half",credentials:w?h:void 0});let R=await fetch(g),S=ED&&(l==="stream"||l==="response");if(ED&&(a||S&&E)){let q={};["status","statusText","headers"].forEach(T=>{q[T]=R[T]});let M=de.toFiniteNumber(R.headers.get("content-length")),[C,$]=a&&Ay(M,ZA(py(a),!0))||[];R=new Response(dH(R.body,fH,C,()=>{$&&$(),E&&E()}),q)}l=l||"text";let F=await dy[de.findKey(dy,l)||"text"](R,e);return!S&&E&&E(),await new Promise((q,M)=>{WA(q,M,{data:F,headers:Un.from(R.headers),status:R.status,statusText:R.statusText,config:e,request:g})})}catch(w){throw E&&E(),w&&w.name==="TypeError"&&/fetch/i.test(w.message)?Object.assign(new nt("Network Error",nt.ERR_NETWORK,e,g),{cause:w.cause||w}):nt.from(w,w&&w.code,e,g)}}),CD={http:_me,xhr:Lme,fetch:zme};de.forEach(CD,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});var gH=e=>`- ${e}`,Hme=e=>de.isFunction(e)||e===null||e===!1,$H={getAdapter:e=>{e=de.isArray(e)?e:[e];let{length:t}=e,r,i,n={};for(let s=0;s<t;s++){r=e[s];let o;if(i=r,!Hme(r)&&(i=CD[(o=String(r)).toLowerCase()],i===void 0))throw new nt(`Unknown adapter '${o}'`);if(i)break;n[o||"#"+s]=i}if(!i){let s=Object.entries(n).map(([a,u])=>`adapter ${a} `+(u===!1?"is not supported by the environment":"is not available in the build")),o=t?s.length>1?`since :
|
|
@@ -257,7 +257,7 @@ ${t.connectUrl}
|
|
|
257
257
|
Do it later`}],footer:`
|
|
258
258
|
Self-healing CI, remote caching, and task distribution are provided by Nx Cloud: https://nx.dev/nx-cloud`,fallback:{value:"skip",key:"setupNxCloud"},completionMessage:"ci-setup"}],setupNxCloud:[{code:"cloud-v2-full-platform-visit",message:"Try the full Nx platform?",initial:0,choices:[{value:"yes",name:"Yes"},{value:"skip",name:"Skip"}],footer:`
|
|
259
259
|
Automatically fix broken PRs, 70% faster CI: https://nx.dev/nx-cloud`,fallback:void 0,completionMessage:"platform-setup"}],setupNxCloudV2:[{code:"cloud-ci-providers-speed",message:"Speed up GitHub Actions, GitLab CI, and more with Nx Cloud?",initial:0,choices:[{value:"yes",name:"Yes"},{value:"skip",name:"Skip for now"},{value:"never",name:iEe.default.dim("No, don't ask again")}],footer:`
|
|
260
|
-
Free for small teams. Remote caching and task distribution. 2-minute setup: https://nx.dev/nx-cloud`,fallback:void 0,completionMessage:"platform-setup"}]},wy=class{constructor(){this.selectedMessages={}}getPrompt(t){if(this.selectedMessages[t]===void 0)if(process.env.NX_GENERATE_DOCS_PROCESS==="true")this.selectedMessages[t]=0;else{let r=Number(HH());this.selectedMessages[t]=r<by[t].length?r:0}return by[t][this.selectedMessages[t]]}codeOfSelectedPromptMessage(t){let r=this.selectedMessages[t];return r===void 0?"":by[t][r].code}completionMessageOfSelectedPrompt(t){let r=this.selectedMessages[t];return r===void 0?"ci-setup":by[t][r].completionMessage}};is.PromptMessages=wy;is.messages=new wy;function pEe(){let e=process.env.NX_CLOUD_API||process.env.NRWL_API||"https://cloud.nx.app";return e[e.length-1]==="/"?e.slice(0,-1):e}async function dEe(e){try{if(!fEe())return;let t=zH();await(t.default??t).create({baseURL:pEe(),timeout:400}).post("/nx-cloud/stats",{command:e.command,isCI:(0,nEe.isCI)(),useCloud:e.useCloud,meta:JSON.stringify({nxVersion:e.nxVersion,...e.meta})})}catch(t){process.env.NX_VERBOSE_LOGGING==="true"&&console.error(t)}}function fEe(){try{let e=(0,eEe.execSync)("npm config get registry",{encoding:"utf-8",windowsHide:!0});return new URL(e.trim()).hostname!=="localhost"}catch{return!0}}});var RD=X((
|
|
260
|
+
Free for small teams. Remote caching and task distribution. 2-minute setup: https://nx.dev/nx-cloud`,fallback:void 0,completionMessage:"platform-setup"}]},wy=class{constructor(){this.selectedMessages={}}getPrompt(t){if(this.selectedMessages[t]===void 0)if(process.env.NX_GENERATE_DOCS_PROCESS==="true")this.selectedMessages[t]=0;else{let r=Number(HH());this.selectedMessages[t]=r<by[t].length?r:0}return by[t][this.selectedMessages[t]]}codeOfSelectedPromptMessage(t){let r=this.selectedMessages[t];return r===void 0?"":by[t][r].code}completionMessageOfSelectedPrompt(t){let r=this.selectedMessages[t];return r===void 0?"ci-setup":by[t][r].completionMessage}};is.PromptMessages=wy;is.messages=new wy;function pEe(){let e=process.env.NX_CLOUD_API||process.env.NRWL_API||"https://cloud.nx.app";return e[e.length-1]==="/"?e.slice(0,-1):e}async function dEe(e){try{if(!fEe())return;let t=zH();await(t.default??t).create({baseURL:pEe(),timeout:400}).post("/nx-cloud/stats",{command:e.command,isCI:(0,nEe.isCI)(),useCloud:e.useCloud,meta:JSON.stringify({nxVersion:e.nxVersion,...e.meta})})}catch(t){process.env.NX_VERBOSE_LOGGING==="true"&&console.error(t)}}function fEe(){try{let e=(0,eEe.execSync)("npm config get registry",{encoding:"utf-8",windowsHide:!0});return new URL(e.trim()).hostname!=="localhost"}catch{return!0}}});var RD=X((iTe,JH)=>{"use strict";var WH=require("fs"),kD;function gEe(){try{return WH.statSync("/.dockerenv"),!0}catch{return!1}}function mEe(){try{return WH.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}JH.exports=()=>(kD===void 0&&(kD=gEe()||mEe()),kD)});var XH=X((nTe,_D)=>{"use strict";var EEe=require("os"),CEe=require("fs"),ZH=RD(),KH=()=>{if(process.platform!=="linux")return!1;if(EEe.release().toLowerCase().includes("microsoft"))return!ZH();try{return CEe.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!ZH():!1}catch{return!1}};process.env.__IS_WSL_TEST__?_D.exports=KH:_D.exports=KH()});var t6=X((sTe,e6)=>{"use strict";e6.exports=(e,t,r)=>{let i=n=>Object.defineProperty(e,t,{value:n,enumerable:!0,writable:!0});return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){let n=r();return i(n),n},set(n){i(n)}}),e}});var c6=X((oTe,a6)=>{var yEe=require("path"),bEe=require("child_process"),{promises:vy,constants:o6}=require("fs"),By=XH(),IEe=RD(),FD=t6(),r6=yEe.join(__dirname,"xdg-open"),{platform:rp,arch:i6}=process,wEe=()=>{try{return vy.statSync("/run/.containerenv"),!0}catch{return!1}},TD;function BEe(){return TD===void 0&&(TD=wEe()||IEe()),TD}var vEe=(()=>{let e="/mnt/",t;return async function(){if(t)return t;let r="/etc/wsl.conf",i=!1;try{await vy.access(r,o6.F_OK),i=!0}catch{}if(!i)return e;let n=await vy.readFile(r,{encoding:"utf8"}),s=/(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(n);return s?(t=s.groups.mountPoint.trim(),t=t.endsWith("/")?t:`${t}/`,t):e}})(),n6=async(e,t)=>{let r;for(let i of e)try{return await t(i)}catch(n){r=n}throw r},xy=async e=>{if(e={wait:!1,background:!1,newInstance:!1,allowNonzeroExitCode:!1,...e},Array.isArray(e.app))return n6(e.app,a=>xy({...e,app:a}));let{name:t,arguments:r=[]}=e.app||{};if(r=[...r],Array.isArray(t))return n6(t,a=>xy({...e,app:{name:a,arguments:r}}));let i,n=[],s={};if(rp==="darwin")i="open",e.wait&&n.push("--wait-apps"),e.background&&n.push("--background"),e.newInstance&&n.push("--new"),t&&n.push("-a",t);else if(rp==="win32"||By&&!BEe()&&!t){let a=await vEe();i=By?`${a}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`:`${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`,n.push("-NoProfile","-NonInteractive","\u2013ExecutionPolicy","Bypass","-EncodedCommand"),By||(s.windowsVerbatimArguments=!0);let u=["Start"];e.wait&&u.push("-Wait"),t?(u.push(`"\`"${t}\`""`,"-ArgumentList"),e.target&&r.unshift(e.target)):e.target&&u.push(`"${e.target}"`),r.length>0&&(r=r.map(l=>`"\`"${l}\`""`),u.push(r.join(","))),e.target=Buffer.from(u.join(" "),"utf16le").toString("base64")}else{if(t)i=t;else{let a=!__dirname||__dirname==="/",u=!1;try{await vy.access(r6,o6.X_OK),u=!0}catch{}i=process.versions.electron||rp==="android"||a||!u?"xdg-open":r6}r.length>0&&n.push(...r),e.wait||(s.stdio="ignore",s.detached=!0)}e.target&&n.push(e.target),rp==="darwin"&&r.length>0&&n.push("--args",...r);let o=bEe.spawn(i,n,s);return e.wait?new Promise((a,u)=>{o.once("error",u),o.once("close",l=>{if(!e.allowNonzeroExitCode&&l>0){u(new Error(`Exited with code ${l}`));return}a(o)})}):(o.unref(),o)},ND=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a `target`");return xy({...t,target:e})},xEe=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a `name`");let{arguments:r=[]}=t||{};if(r!=null&&!Array.isArray(r))throw new TypeError("Expected `appArguments` as Array type");return xy({...t,app:{name:e,arguments:r}})};function s6(e){if(typeof e=="string"||Array.isArray(e))return e;let{[i6]:t}=e;if(!t)throw new Error(`${i6} is not supported`);return t}function LD({[rp]:e},{wsl:t}){if(t&&By)return s6(t);if(!e)throw new Error(`${rp} is not supported`);return s6(e)}var Qy={};FD(Qy,"chrome",()=>LD({darwin:"google chrome",win32:"chrome",linux:["google-chrome","google-chrome-stable","chromium"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe",x64:["/mnt/c/Program Files/Google/Chrome/Application/chrome.exe","/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe"]}}));FD(Qy,"firefox",()=>LD({darwin:"firefox",win32:"C:\\Program Files\\Mozilla Firefox\\firefox.exe",linux:"firefox"},{wsl:"/mnt/c/Program Files/Mozilla Firefox/firefox.exe"}));FD(Qy,"edge",()=>LD({darwin:"microsoft edge",win32:"msedge",linux:["microsoft-edge","microsoft-edge-dev"]},{wsl:"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"}));ND.apps=Qy;ND.openApp=xEe;a6.exports=ND});var A6=X(Wa=>{"use strict";Object.defineProperty(Wa,"__esModule",{value:!0});Wa.connectToNxCloudForTemplate=REe;Wa.readNxCloudToken=_Ee;Wa.createNxCloudOnboardingUrl=TEe;Wa.getNxCloudInfo=FEe;Wa.getSkippedNxCloudInfo=NEe;Wa.openCloudSetupUrl=LEe;Wa.setNeverConnectToCloud=MEe;var QEe=(qo(),na(Uo)),SEe=Nf(),u6=Mf(),l6=T8(),h6=DD(),DEe=B1(),kEe=QEe.__importDefault(FA());async function REe(e,t,r){let{connectToNxCloud:i}=require(require.resolve("nx/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud",{paths:[e]})),{FsTree:n,flushChanges:s}=require(require.resolve("nx/src/generators/tree",{paths:[e]})),o=new n(e,!1),a=await i(o,{installationSource:t,directory:"",github:r});return s(e,o.listChanges()),a}function _Ee(e){let t=(0,kEe.default)("Checking Nx Cloud setup").start(),{getCloudOptions:r}=require(require.resolve("nx/src/nx-cloud/utilities/get-cloud-options",{paths:[e]})),{accessToken:i,nxCloudId:n}=r(e);return t.succeed("Nx Cloud configuration was successfully added"),i||n}async function TEe(e,t,r,i){let{createNxCloudOnboardingURL:n}=require(require.resolve("nx/src/nx-cloud/utilities/url-shorten",{paths:[r]})),s=e==="yes"?"create-nx-workspace-success-cache-setup":"create-nx-workspace-success-ci-setup",o=JSON.stringify({variant:(0,h6.getFlowVariant)(),nxVersion:DEe.nxVersion});return n(s,t,o,!1,i??(e==="yes"||e==="github"||e==="circleci"),r)}async function FEe(e,t,r,i){let n=new u6.CLIOutput(!1),s=(0,h6.getBannerVariant)(e),o=(0,l6.getCompletionMessage)(r,e,t,i,s);return o.title?n.success(o):(n.addNewline(),n.writeLines(o.bodyLines??[])),n.getOutput()}function NEe(){let e=new u6.CLIOutput(!1);return e.success((0,l6.getSkippedCloudMessage)()),e.getOutput()}async function LEe(e){if(!(0,SEe.isCI)())try{await c6()(e)}catch{}}function MEe(e){let{readFileSync:t,writeFileSync:r}=require("fs"),{join:i}=require("path"),n=i(e,"nx.json"),s=JSON.parse(t(n,"utf-8"));s.neverConnectToCloud=!0,r(n,JSON.stringify(s,null,2)+`
|
|
261
261
|
`)}});var p6=X(MD=>{"use strict";Object.defineProperty(MD,"__esModule",{value:!0});MD.validateNpmPackage=UEe;var OEe=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"),PEe=["node_modules","favicon.ico"];function UEe(e){let t=[],r=[];if(e===null)return r.push("name cannot be null"),Xf(t,r);if(e===void 0)return r.push("name cannot be undefined"),Xf(t,r);if(typeof e!="string")return r.push("name must be a string"),Xf(t,r);if(e.length||r.push("name length must be greater than zero"),e.match(/^\./)&&r.push("name cannot start with a period"),e.match(/^_/)&&r.push("name cannot start with an underscore"),e.trim()!==e&&r.push("name cannot contain leading or trailing spaces"),PEe.forEach(function(i){e.toLowerCase()===i&&r.push(i+" is a deny listed name")}),e.length>214&&t.push("name can no longer contain more than 214 characters"),e.toLowerCase()!==e&&t.push("name can no longer contain capital letters"),/[~'!()*]/.test(e.split("/").slice(-1)[0])&&t.push(`name can no longer contain special characters ("~'!()*")`),encodeURIComponent(e)!==e){let i=e.match(OEe);if(i){let n=i[1],s=i[2];if(encodeURIComponent(n)===n&&encodeURIComponent(s)===s)return Xf(t,r)}r.push("name can only contain URL-friendly characters")}return Xf(t,r)}function Xf(e,t){return{validForNewPackages:t.length===0&&e.length===0,validForOldPackages:t.length===0,...e.length&&{warnings:e},...t.length&&{errors:t}}}});var PD=X(eg=>{"use strict";Object.defineProperty(eg,"__esModule",{value:!0});eg.Preset=void 0;eg.isKnownPreset=qEe;var OD;(function(e){e.Apps="apps",e.NPM="npm",e.TS="ts",e.WebComponents="web-components",e.AngularMonorepo="angular-monorepo",e.AngularStandalone="angular-standalone",e.ReactMonorepo="react-monorepo",e.ReactStandalone="react-standalone",e.VueMonorepo="vue-monorepo",e.VueStandalone="vue-standalone",e.Nuxt="nuxt",e.NuxtStandalone="nuxt-standalone",e.NextJs="next",e.NextJsStandalone="nextjs-standalone",e.ReactNative="react-native",e.Expo="expo",e.Nest="nest",e.Express="express",e.React="react",e.Vue="vue",e.Angular="angular",e.NodeStandalone="node-standalone",e.NodeMonorepo="node-monorepo",e.TsStandalone="ts-standalone"})(OD||(eg.Preset=OD={}));function qEe(e){return Object.values(OD).includes(e)}});var d6=X(UD=>{"use strict";Object.defineProperty(UD,"__esModule",{value:!0});UD.getPackageNameFromThirdPartyPreset=GEe;var VEe=p6(),$Ee=PD();function GEe(e){if(!e||(0,$Ee.isKnownPreset)(e))return;let t=e.match(/.+@/)?e[0]+e.substring(1).split("@")[0]:e,r=(0,VEe.validateNpmPackage)(t);if(!r.validForNewPackages)throw new Error(`Invalid preset npm package ${t}. There was an error with the preset npm package you provided: `+(r.errors??[]).join(`
|
|
262
262
|
`));return t}});var m6=X(qD=>{"use strict";Object.defineProperty(qD,"__esModule",{value:!0});qD.cloneTemplate=YEe;var jEe=ja(),f6=require("fs"),zEe=require("fs/promises"),HEe=require("path"),g6=Xs();async function YEe(e,t,r){if((0,f6.existsSync)(t))throw new g6.CnwError("DIRECTORY_EXISTS",`The directory '${t}' already exists. Choose a different name or remove the existing directory.`);try{await(0,jEe.execAndWait)(`git clone --depth 1 "${e}" "${t}"`,r??process.cwd());let i=(0,HEe.join)(t,".git");(0,f6.existsSync)(i)&&await(0,zEe.rm)(i,{recursive:!0,force:!0})}catch(i){let n=i instanceof Error?i.message:String(i);throw new g6.CnwError("TEMPLATE_CLONE_FAILED",`Failed to create starter workspace: ${n}`)}}});var y6=X(tg=>{"use strict";Object.defineProperty(tg,"__esModule",{value:!0});tg.updateReadmeContent=C6;tg.addConnectUrlToReadme=ZEe;tg.amendOrCommitReadme=KEe;var VD=require("node:fs"),WEe=require("path"),Sy=ja(),E6="<!-- BEGIN: nx-cloud -->",$D="<!-- END: nx-cloud -->",JEe=`## Finish your Nx platform setup
|
|
263
263
|
|
|
@@ -273,39 +273,39 @@ Free for small teams. Remote caching and task distribution. 2-minute setup: http
|
|
|
273
273
|
`,r.forEach((n,s)=>{i+=`${s+1}. ${n.title}`,n.url&&(i+=`: ${n.url}`),n.note&&(i+=`
|
|
274
274
|
${n.note}`),i+=`
|
|
275
275
|
`}),i+=`---END---
|
|
276
|
-
`,process.stdout.write(i)}}function eCe(e,t){w6({stage:e,message:t})}function tCe(e){let t=e||qi.SUGGESTED_WORKSPACE_NAME;return{stage:"needs_input",success:!1,title:"Template Selection Required",message:"Ask the user which workspace type they want, then run again with --template. If the directory exists, append a number (e.g., my-nx-repo-2).",suggestedName:t,templates:[{name:"Empty Monorepo",value:"nrwl/empty-template",description:"Minimal workspace to build on - best for custom setups or learning Nx."},{name:"React Fullstack",value:"nrwl/react-template",description:"Complete React + Express monorepo with examples and best practices."},{name:"Angular Fullstack",value:"nrwl/angular-template",description:"Complete Angular + Express monorepo with examples."},{name:"TypeScript/npm Packages",value:"nrwl/typescript-template",description:"For building and publishing npm packages."}],recommendedTemplate:"nrwl/empty-template",exampleCommand:`npx create-nx-workspace@latest ${t} --template=nrwl/empty-template`,docsGettingStarted:"https://nx.dev/getting-started/intro"}}function rCe(e){let{workspacePath:t,workspaceName:r,template:i,preset:n,nxCloudConnectUrl:s,nxCloudError:o}=e,a={title:"Nx Workspace Created Successfully",workspacePath:t,workspaceName:r};i&&(a.template=i),n&&(a.preset=n);let u=[];s&&u.push({title:"Connect to Nx Cloud (Recommended)",url:s,note:"Complete setup to enable remote caching and CI insights"});let A={stage:"complete",success:!0,result:a,userNextSteps:{description:"CRITICAL: Show the user these exact steps to complete setup.",steps:u},docs:{gettingStarted:"https://nx.dev/getting-started/intro",nxCloud:"https://nx.dev/ci/intro/why-nx-cloud"}};return o&&(A.nxCloudError=o),A}function iCe(e,t,r){let i=nCe(t);return{stage:"error",success:!1,title:"Workspace Creation Failed",error:e,errorCode:t,hints:i,errorLogPath:r,docsGettingStarted:"https://nx.dev/getting-started/intro"}}function nCe(e){switch(e){case"DIRECTORY_EXISTS":return["Choose a different workspace name","Remove the existing directory with 'rm -rf <directory>'"];case"INVALID_FOLDER_NAME":return["Workspace names must start with a letter","Examples of valid names: myapp, MyApp, my-app, my_app"];case"INVALID_PRESET":return["Check the preset name spelling","Run with --help to see available presets","Use --template for template-based workspaces"];case"NETWORK_ERROR":return["Check your internet connection","Try again in a few moments","Check if npm/yarn registry is accessible"];case"PACKAGE_INSTALL_ERROR":return["Check your package manager is installed correctly","Try clearing npm/yarn cache","Check for conflicting global packages"];default:return["Check the error message for details","Visit https://nx.dev/getting-started/intro for documentation","Report issues at https://github.com/nrwl/nx/issues"]}}qi.SUGGESTED_WORKSPACE_NAME="my-nx-repo"});var B6=X(JD=>{"use strict";Object.defineProperty(JD,"__esModule",{value:!0});JD.stringifyCollection=sCe;function sCe(e){return e.map(t=>`"${t}"`).join(", ")}});var v6=X(ip=>{"use strict";Object.defineProperty(ip,"__esModule",{value:!0});ip.agentDisplayMap=ip.supportedAgents=void 0;ip.supportedAgents=["claude","codex","copilot","cursor","gemini","opencode"];ip.agentDisplayMap={claude:"Claude Code",gemini:"Gemini",codex:"OpenAI Codex",copilot:"GitHub Copilot for VSCode",cursor:"Cursor",opencode:"OpenCode"}});var k6=X(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.determineNxCloud=hCe;so.determineNxCloudV2=ACe;so.determineIfGitHubWillBeUsed=pCe;so.determineTemplate=dCe;so.determineAiAgents=fCe;so.determineAnalytics=gCe;so.determineDefaultBase=mCe;so.confirmThirdPartyPreset=ECe;so.determinePackageManager=CCe;var Q6=(qo(),na(Uo)),kl=Q6.__importDefault(w1()),x6=Q6.__importDefault(cl()),oCe=DD(),aCe=DS(),cCe=j0(),ZD=yl(),uCe=B6(),rg=Nf(),ETe=v6(),S6=WD(),D6=Xs(),lCe=Mf();async function hCe(e){return e.nxCloud?e.nxCloud:!e.interactive||(0,rg.isCI)()?"skip":KD("setupCI")}async function ACe(e){if(e.nxCloud)return e.nxCloud==="skip"?"skip":e.nxCloud==="never"?"never":"yes";if(!e.interactive||(0,rg.isCI)())return"skip";let t=await KD("setupNxCloudV2");return t==="never"?"never":t==="skip"?"skip":"yes"}async function pCe(e){return e.nxCloud==="yes"||e.nxCloud==="circleci"?e?.useGitHub?!0:(await kl.default.prompt([{name:"github",message:"Will you be using GitHub as your git hosting provider?",type:"autocomplete",choices:[{name:"Yes"},{name:"No"}],initial:0}])).github==="Yes":!1}async function KD(e){let{message:t,choices:r,initial:i,fallback:n,footer:s,hint:o}=oCe.messages.getPrompt(e),a={name:"NxCloud",message:t,type:"autocomplete",choices:r,initial:i};return s&&(a.footer=()=>x6.default.dim(s)),o&&(a.hint=()=>x6.default.dim(o)),kl.default.prompt([a]).then(u=>n&&u.NxCloud===n.value?KD(n.key):u.NxCloud)}async function dCe(e){if(e.template)return e.template;if(e.preset)return"custom";if(!e.interactive||(0,rg.isCI)())return"nrwl/empty-template";if(process.env.NX_GENERATE_DOCS_PROCESS==="true"||!(0,cCe.isGitAvailable)())return"custom";let{template:t}=await kl.default.prompt([{name:"template",message:"Which starter do you want to use?",type:"autocomplete",choices:[{name:"nrwl/empty-template",message:"Minimal (empty monorepo without projects)"},{name:"nrwl/react-template",message:"React (fullstack monorepo with React and Express)"},{name:"nrwl/angular-template",message:"Angular (fullstack monorepo with Angular and Express)"},{name:"nrwl/typescript-template",message:"NPM Packages (monorepo with TypeScript packages ready to publish)"},{name:"custom",message:"Custom (advanced setup with additional frameworks)"}],initial:0}]);return t}async function fCe(e){if(e.aiAgents)return e.aiAgents;let t=(0,S6.detectAiAgentName)();return t?[t]:[]}async function gCe(e){if(typeof e.analytics=="boolean")return e.analytics;if(!e.interactive||(0,rg.isCI)())return!1;let{enableAnalytics:t}=await kl.default.prompt([{name:"enableAnalytics",message:"Help improve Nx by sharing your usage data?",type:"autocomplete",choices:[{name:"Yes"},{name:"No"}],initial:0}]);return t==="Yes"}async function mCe(e){return e.defaultBase?e.defaultBase:e.allPrompts?kl.default.prompt([{name:"DefaultBase",message:"Main branch name",initial:"main",type:"input"}]).then(t=>{if(!t.DefaultBase)throw new D6.CnwError("INVALID_BRANCH_NAME","Branch name cannot be empty");return t.DefaultBase}):(0,aCe.deduceDefaultBase)()}async function ECe(e,t){if(lCe.output.warn({title:`About to install '${e}' from the npm registry as a preset.`,bodyLines:[`'${e}' is not a built-in Nx preset.`,"Nx will download this npm package and run its preset generator.",`Only proceed if you trust the publisher of '${e}'.`]}),t===!1||(0,rg.isCI)()||(0,S6.isAiAgent)())return!0;let{confirm:r}=await kl.default.prompt([{name:"confirm",message:`Install third-party preset '${e}'?`,type:"autocomplete",choices:[{name:"No"},{name:"Yes"}],initial:0}]);return r==="Yes"}async function CCe(e){let t=e.packageManager;if(t){if(ZD.packageManagerList.includes(t))return t;throw new D6.CnwError("INVALID_PACKAGE_MANAGER",`Package manager must be one of ${(0,uCe.stringifyCollection)([...ZD.packageManagerList])}`)}else if(e.allPrompts)return kl.default.prompt([{name:"packageManager",message:"Which package manager to use",initial:0,type:"autocomplete",choices:[{name:"npm",message:"NPM"},{name:"yarn",message:"Yarn"},{name:"pnpm",message:"PNPM"},{name:"bun",message:"Bun"}]}]).then(r=>r.packageManager);return(0,ZD.detectInvokedPackageManager)()}});var L6=X(np=>{"use strict";Object.defineProperty(np,"__esModule",{value:!0});np.getInterruptedWorkspaceState=DCe;np.createWorkspace=kCe;np.extractConnectUrl=_Ce;np.resolveTemplateShorthand=N6;var R6=require("node:fs"),ek=require("path"),yCe=y5(),bCe=I5(),ICe=j5(),wCe=z5(),BCe=Xs(),Rl=j0(),_l=A6(),XD=Mf(),vCe=d6(),oo=PD(),xCe=m6(),Dy=y6(),_6=ja(),T6=yl(),ou=WD(),QCe=k6(),SCe=Xs(),tk,F6;function DCe(){return{directory:tk,connectUrl:F6}}async function kCe(e,t,r){let{packageManager:i,name:n,nxCloud:s,skipGit:o=!1,defaultBase:a="main",commit:u,cliName:l,useGitHub:A,skipGitHubPush:h=!1,verbose:d=!1}=t;l&&XD.output.setCliName(l??"NX");let m;if(t.template){if(t.template=N6(t.template),!t.template.startsWith("nrwl/"))throw new Error("Invalid template. Only templates from the 'nrwl' GitHub org are supported.");let S=`https://github.com/${t.template}`,F=(t.workingDir??process.cwd()).replace(/\\/g,"/");m=(0,ek.join)(F,n);let q=(0,ou.isAiAgent)(),M;q?(0,ou.logProgress)("cloning",`Cloning template ${t.template}...`):M=FA()("Creating workspace from template").start();try{await(0,xCe.cloneTemplate)(S,n,F);let C=(0,ek.join)(m,"package-lock.json");(0,R6.existsSync)(C)&&(0,R6.unlinkSync)(C),(0,T6.generatePackageManagerFiles)(m,i),q&&(0,ou.logProgress)("installing",`Installing dependencies with ${i}...`);let $=(0,T6.getPackageManagerCommand)(i);$.preInstall&&await(0,_6.execAndWait)($.preInstall,m),await(0,_6.execAndWait)($.install,m),tk=m,q?(0,ou.logProgress)("configuring",`Successfully created the workspace: ${m}`):M.succeed(`Successfully created the workspace: ${m}`)}catch(C){throw q||M.fail(),C}s!=="skip"&&s!=="never"&&!t.skipCloudConnect&&await(0,_l.connectToNxCloudForTemplate)(m,"create-nx-workspace",A)}else{if(!e)throw new Error("Preset is required when not using a template. Please provide --preset or --template.");let S=(0,vCe.getPackageNameFromThirdPartyPreset)(e);if(S&&!await(0,QCe.confirmThirdPartyPreset)(S,t.interactive))throw new SCe.CnwError("INVALID_PRESET",`Aborted: not installing third-party preset '${S}'.`);let F=await(0,ICe.createSandbox)(i),q=FCe(e);m=await(0,yCe.createEmptyWorkspace)(F,n,i,{...t,preset:e,workspaceGlobs:q,nxCloud:"skip"}),tk=m,S&&await(0,bCe.createPreset)(S,t,i,m)}let g=!!t.template;if(t.neverConnectToCloud&&(0,_l.setNeverConnectToCloud)(m),g&&typeof t.analytics=="boolean"&&RCe(m,t.analytics),s!=="skip"&&s!=="never"&&!g){let S=s==="yes"?"github":s;await(0,wCe.setupCI)(m,S,i)}let E=Rl.VcsPushStatus.SkippedGit,y;if(!o){let S=(0,ou.isAiAgent)();S&&(0,ou.logProgress)("initializing","Initializing git repository...");try{await(0,Rl.initializeGitRepo)(m,{defaultBase:a,commit:u}),u&&!h&&(s==="github"||s==="yes")&&(E=await(0,Rl.pushToGitHub)(m,{skipGitHubPush:h,name:n,defaultBase:a,verbose:d}))}catch(F){if(F instanceof Rl.GitHubPushError){if(E=Rl.VcsPushStatus.FailedToPushToVcs,y=F.reason,F.reason==="push-failed"||F.reason==="push-timeout"){let q=`https://github.com/new?name=${encodeURIComponent(n)}`;XD.output.log({title:`Push your repo to GitHub: ${q}`})}}else F instanceof Error?S||XD.output.error({title:"Could not initialize git repository",bodyLines:(0,BCe.mapErrorToBodyLines)(F)}):console.error(F)}}let w,R;if(s!=="skip"&&s!=="never"){(0,ou.isAiAgent)()&&(0,ou.logProgress)("configuring","Configuring Nx Cloud...");let F=t.skipCloudConnect?void 0:(0,_l.readNxCloudToken)(m);if(w=await(0,_l.createNxCloudOnboardingUrl)(s,F,m,A),F6=w,g&&(0,Dy.addConnectUrlToReadme)(m,w)&&!o&&u){let M=E===Rl.VcsPushStatus.PushedToVcs;await(0,Dy.amendOrCommitReadme)(m,M)}R=await(0,_l.getNxCloudInfo)(w,E,t.completionMessageKey,n),t.skipCloudConnect||await(0,_l.openCloudSetupUrl)(w)}else if(g&&(s==="skip"||s==="never")){if((0,Dy.addConnectUrlToReadme)(m,void 0)&&!o&&u){let F=E===Rl.VcsPushStatus.PushedToVcs;await(0,Dy.amendOrCommitReadme)(m,F)}s==="skip"&&(R=(0,_l.getSkippedNxCloudInfo)())}return{nxCloudInfo:R,directory:m,pushedToVcs:E,pushFailReason:y,connectUrl:w}}function RCe(e,t){let{readFileSync:r,writeFileSync:i}=require("fs"),n=(0,ek.join)(e,"nx.json"),s=JSON.parse(r(n,"utf-8"));s.analytics=t,i(n,JSON.stringify(s,null,2)+`
|
|
276
|
+
`,process.stdout.write(i)}}function eCe(e,t){w6({stage:e,message:t})}function tCe(e){let t=e||qi.SUGGESTED_WORKSPACE_NAME;return{stage:"needs_input",success:!1,title:"Template Selection Required",message:"Ask the user which workspace type they want, then run again with --template. If the directory exists, append a number (e.g., my-nx-repo-2).",suggestedName:t,templates:[{name:"Empty Monorepo",value:"nrwl/empty-template",description:"Minimal workspace to build on - best for custom setups or learning Nx."},{name:"React Fullstack",value:"nrwl/react-template",description:"Complete React + Express monorepo with examples and best practices."},{name:"Angular Fullstack",value:"nrwl/angular-template",description:"Complete Angular + Express monorepo with examples."},{name:"TypeScript/npm Packages",value:"nrwl/typescript-template",description:"For building and publishing npm packages."}],recommendedTemplate:"nrwl/empty-template",exampleCommand:`npx create-nx-workspace@latest ${t} --template=nrwl/empty-template`,docsGettingStarted:"https://nx.dev/getting-started/intro"}}function rCe(e){let{workspacePath:t,workspaceName:r,template:i,preset:n,nxCloudConnectUrl:s,nxCloudError:o}=e,a={title:"Nx Workspace Created Successfully",workspacePath:t,workspaceName:r};i&&(a.template=i),n&&(a.preset=n);let u=[];s&&u.push({title:"Connect to Nx Cloud (Recommended)",url:s,note:"Complete setup to enable remote caching and CI insights"});let A={stage:"complete",success:!0,result:a,userNextSteps:{description:"CRITICAL: Show the user these exact steps to complete setup.",steps:u},docs:{gettingStarted:"https://nx.dev/getting-started/intro",nxCloud:"https://nx.dev/ci/intro/why-nx-cloud"}};return o&&(A.nxCloudError=o),A}function iCe(e,t,r){let i=nCe(t);return{stage:"error",success:!1,title:"Workspace Creation Failed",error:e,errorCode:t,hints:i,errorLogPath:r,docsGettingStarted:"https://nx.dev/getting-started/intro"}}function nCe(e){switch(e){case"DIRECTORY_EXISTS":return["Choose a different workspace name","Remove the existing directory with 'rm -rf <directory>'"];case"INVALID_FOLDER_NAME":return["Workspace names must start with a letter","Examples of valid names: myapp, MyApp, my-app, my_app"];case"INVALID_PRESET":return["Check the preset name spelling","Run with --help to see available presets","Use --template for template-based workspaces"];case"NETWORK_ERROR":return["Check your internet connection","Try again in a few moments","Check if npm/yarn registry is accessible"];case"PACKAGE_INSTALL_ERROR":return["Check your package manager is installed correctly","Try clearing npm/yarn cache","Check for conflicting global packages"];default:return["Check the error message for details","Visit https://nx.dev/getting-started/intro for documentation","Report issues at https://github.com/nrwl/nx/issues"]}}qi.SUGGESTED_WORKSPACE_NAME="my-nx-repo"});var B6=X(JD=>{"use strict";Object.defineProperty(JD,"__esModule",{value:!0});JD.stringifyCollection=sCe;function sCe(e){return e.map(t=>`"${t}"`).join(", ")}});var v6=X(ip=>{"use strict";Object.defineProperty(ip,"__esModule",{value:!0});ip.agentDisplayMap=ip.supportedAgents=void 0;ip.supportedAgents=["claude","codex","copilot","cursor","gemini","opencode"];ip.agentDisplayMap={claude:"Claude Code",gemini:"Gemini",codex:"OpenAI Codex",copilot:"GitHub Copilot for VSCode",cursor:"Cursor",opencode:"OpenCode"}});var k6=X(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.determineNxCloud=hCe;so.determineNxCloudV2=ACe;so.determineIfGitHubWillBeUsed=pCe;so.determineTemplate=dCe;so.determineAiAgents=fCe;so.determineAnalytics=gCe;so.determineDefaultBase=mCe;so.confirmThirdPartyPreset=ECe;so.determinePackageManager=CCe;var Q6=(qo(),na(Uo)),kl=Q6.__importDefault(wS()),x6=Q6.__importDefault(cl()),oCe=DD(),aCe=D1(),cCe=j0(),ZD=yl(),uCe=B6(),rg=Nf(),gTe=v6(),S6=WD(),D6=Xs(),lCe=Mf();async function hCe(e){return e.nxCloud?e.nxCloud:!e.interactive||(0,rg.isCI)()?"skip":KD("setupCI")}async function ACe(e){if(e.nxCloud)return e.nxCloud==="skip"?"skip":e.nxCloud==="never"?"never":"yes";if(!e.interactive||(0,rg.isCI)())return"skip";let t=await KD("setupNxCloudV2");return t==="never"?"never":t==="skip"?"skip":"yes"}async function pCe(e){return e.nxCloud==="yes"||e.nxCloud==="circleci"?e?.useGitHub?!0:(await kl.default.prompt([{name:"github",message:"Will you be using GitHub as your git hosting provider?",type:"autocomplete",choices:[{name:"Yes"},{name:"No"}],initial:0}])).github==="Yes":!1}async function KD(e){let{message:t,choices:r,initial:i,fallback:n,footer:s,hint:o}=oCe.messages.getPrompt(e),a={name:"NxCloud",message:t,type:"autocomplete",choices:r,initial:i};return s&&(a.footer=()=>x6.default.dim(s)),o&&(a.hint=()=>x6.default.dim(o)),kl.default.prompt([a]).then(u=>n&&u.NxCloud===n.value?KD(n.key):u.NxCloud)}async function dCe(e){if(e.template)return e.template;if(e.preset)return"custom";if(!e.interactive||(0,rg.isCI)())return"nrwl/empty-template";if(process.env.NX_GENERATE_DOCS_PROCESS==="true"||!(0,cCe.isGitAvailable)())return"custom";let{template:t}=await kl.default.prompt([{name:"template",message:"Which starter do you want to use?",type:"autocomplete",choices:[{name:"nrwl/empty-template",message:"Minimal (empty monorepo without projects)"},{name:"nrwl/react-template",message:"React (fullstack monorepo with React and Express)"},{name:"nrwl/angular-template",message:"Angular (fullstack monorepo with Angular and Express)"},{name:"nrwl/typescript-template",message:"NPM Packages (monorepo with TypeScript packages ready to publish)"},{name:"custom",message:"Custom (advanced setup with additional frameworks)"}],initial:0}]);return t}async function fCe(e){if(e.aiAgents)return e.aiAgents;let t=(0,S6.detectAiAgentName)();return t?[t]:[]}async function gCe(e){if(typeof e.analytics=="boolean")return e.analytics;if(!e.interactive||(0,rg.isCI)())return!1;let{enableAnalytics:t}=await kl.default.prompt([{name:"enableAnalytics",message:"Help improve Nx by sharing your usage data?",type:"autocomplete",choices:[{name:"Yes"},{name:"No"}],initial:0}]);return t==="Yes"}async function mCe(e){return e.defaultBase?e.defaultBase:e.allPrompts?kl.default.prompt([{name:"DefaultBase",message:"Main branch name",initial:"main",type:"input"}]).then(t=>{if(!t.DefaultBase)throw new D6.CnwError("INVALID_BRANCH_NAME","Branch name cannot be empty");return t.DefaultBase}):(0,aCe.deduceDefaultBase)()}async function ECe(e,t){if(lCe.output.warn({title:`About to install '${e}' from the npm registry as a preset.`,bodyLines:[`'${e}' is not a built-in Nx preset.`,"Nx will download this npm package and run its preset generator.",`Only proceed if you trust the publisher of '${e}'.`]}),t===!1||(0,rg.isCI)()||(0,S6.isAiAgent)())return!0;let{confirm:r}=await kl.default.prompt([{name:"confirm",message:`Install third-party preset '${e}'?`,type:"autocomplete",choices:[{name:"No"},{name:"Yes"}],initial:0}]);return r==="Yes"}async function CCe(e){let t=e.packageManager;if(t){if(ZD.packageManagerList.includes(t))return t;throw new D6.CnwError("INVALID_PACKAGE_MANAGER",`Package manager must be one of ${(0,uCe.stringifyCollection)([...ZD.packageManagerList])}`)}else if(e.allPrompts)return kl.default.prompt([{name:"packageManager",message:"Which package manager to use",initial:0,type:"autocomplete",choices:[{name:"npm",message:"NPM"},{name:"yarn",message:"Yarn"},{name:"pnpm",message:"PNPM"},{name:"bun",message:"Bun"}]}]).then(r=>r.packageManager);return(0,ZD.detectInvokedPackageManager)()}});var L6=X(np=>{"use strict";Object.defineProperty(np,"__esModule",{value:!0});np.getInterruptedWorkspaceState=DCe;np.createWorkspace=kCe;np.extractConnectUrl=_Ce;np.resolveTemplateShorthand=N6;var R6=require("node:fs"),ek=require("path"),yCe=y5(),bCe=I5(),ICe=j5(),wCe=z5(),BCe=Xs(),Rl=j0(),_l=A6(),XD=Mf(),vCe=d6(),oo=PD(),xCe=m6(),Dy=y6(),_6=ja(),T6=yl(),ou=WD(),QCe=k6(),SCe=Xs(),tk,F6;function DCe(){return{directory:tk,connectUrl:F6}}async function kCe(e,t,r){let{packageManager:i,name:n,nxCloud:s,skipGit:o=!1,defaultBase:a="main",commit:u,cliName:l,useGitHub:A,skipGitHubPush:h=!1,verbose:d=!1}=t;l&&XD.output.setCliName(l??"NX");let m;if(t.template){if(t.template=N6(t.template),!t.template.startsWith("nrwl/"))throw new Error("Invalid template. Only templates from the 'nrwl' GitHub org are supported.");let S=`https://github.com/${t.template}`,F=(t.workingDir??process.cwd()).replace(/\\/g,"/");m=(0,ek.join)(F,n);let q=(0,ou.isAiAgent)(),M;q?(0,ou.logProgress)("cloning",`Cloning template ${t.template}...`):M=FA()("Creating workspace from template").start();try{await(0,xCe.cloneTemplate)(S,n,F);let C=(0,ek.join)(m,"package-lock.json");(0,R6.existsSync)(C)&&(0,R6.unlinkSync)(C),(0,T6.generatePackageManagerFiles)(m,i),q&&(0,ou.logProgress)("installing",`Installing dependencies with ${i}...`);let $=(0,T6.getPackageManagerCommand)(i);$.preInstall&&await(0,_6.execAndWait)($.preInstall,m),await(0,_6.execAndWait)($.install,m),tk=m,q?(0,ou.logProgress)("configuring",`Successfully created the workspace: ${m}`):M.succeed(`Successfully created the workspace: ${m}`)}catch(C){throw q||M.fail(),C}s!=="skip"&&s!=="never"&&!t.skipCloudConnect&&await(0,_l.connectToNxCloudForTemplate)(m,"create-nx-workspace",A)}else{if(!e)throw new Error("Preset is required when not using a template. Please provide --preset or --template.");let S=(0,vCe.getPackageNameFromThirdPartyPreset)(e);if(S&&!await(0,QCe.confirmThirdPartyPreset)(S,t.interactive))throw new SCe.CnwError("INVALID_PRESET",`Aborted: not installing third-party preset '${S}'.`);let F=await(0,ICe.createSandbox)(i),q=FCe(e);m=await(0,yCe.createEmptyWorkspace)(F,n,i,{...t,preset:e,workspaceGlobs:q,nxCloud:"skip"}),tk=m,S&&await(0,bCe.createPreset)(S,t,i,m)}let g=!!t.template;if(t.neverConnectToCloud&&(0,_l.setNeverConnectToCloud)(m),g&&typeof t.analytics=="boolean"&&RCe(m,t.analytics),s!=="skip"&&s!=="never"&&!g){let S=s==="yes"?"github":s;await(0,wCe.setupCI)(m,S,i)}let E=Rl.VcsPushStatus.SkippedGit,y;if(!o){let S=(0,ou.isAiAgent)();S&&(0,ou.logProgress)("initializing","Initializing git repository...");try{await(0,Rl.initializeGitRepo)(m,{defaultBase:a,commit:u}),u&&!h&&(s==="github"||s==="yes")&&(E=await(0,Rl.pushToGitHub)(m,{skipGitHubPush:h,name:n,defaultBase:a,verbose:d}))}catch(F){if(F instanceof Rl.GitHubPushError){if(E=Rl.VcsPushStatus.FailedToPushToVcs,y=F.reason,F.reason==="push-failed"||F.reason==="push-timeout"){let q=`https://github.com/new?name=${encodeURIComponent(n)}`;XD.output.log({title:`Push your repo to GitHub: ${q}`})}}else F instanceof Error?S||XD.output.error({title:"Could not initialize git repository",bodyLines:(0,BCe.mapErrorToBodyLines)(F)}):console.error(F)}}let w,R;if(s!=="skip"&&s!=="never"){(0,ou.isAiAgent)()&&(0,ou.logProgress)("configuring","Configuring Nx Cloud...");let F=t.skipCloudConnect?void 0:(0,_l.readNxCloudToken)(m);if(w=await(0,_l.createNxCloudOnboardingUrl)(s,F,m,A),F6=w,g&&(0,Dy.addConnectUrlToReadme)(m,w)&&!o&&u){let M=E===Rl.VcsPushStatus.PushedToVcs;await(0,Dy.amendOrCommitReadme)(m,M)}R=await(0,_l.getNxCloudInfo)(w,E,t.completionMessageKey,n),t.skipCloudConnect||await(0,_l.openCloudSetupUrl)(w)}else if(g&&(s==="skip"||s==="never")){if((0,Dy.addConnectUrlToReadme)(m,void 0)&&!o&&u){let F=E===Rl.VcsPushStatus.PushedToVcs;await(0,Dy.amendOrCommitReadme)(m,F)}s==="skip"&&(R=(0,_l.getSkippedNxCloudInfo)())}return{nxCloudInfo:R,directory:m,pushedToVcs:E,pushFailReason:y,connectUrl:w}}function RCe(e,t){let{readFileSync:r,writeFileSync:i}=require("fs"),n=(0,ek.join)(e,"nx.json"),s=JSON.parse(r(n,"utf-8"));s.analytics=t,i(n,JSON.stringify(s,null,2)+`
|
|
277
277
|
`)}function _Ce(e){let t=/(https:\/\/[^\s]+\/connect\/[^\s]+)/g,r=e.match(t);return r?r[0]:null}var TCe={angular:"nrwl/angular-template",react:"nrwl/react-template",typescript:"nrwl/typescript-template",empty:"nrwl/empty-template"};function N6(e){return TCe[e]??e}function FCe(e){switch(e){case oo.Preset.AngularMonorepo:case oo.Preset.Expo:case oo.Preset.Express:case oo.Preset.Nest:case oo.Preset.NextJs:case oo.Preset.NodeMonorepo:case oo.Preset.Nuxt:case oo.Preset.ReactNative:case oo.Preset.ReactMonorepo:case oo.Preset.VueMonorepo:case oo.Preset.WebComponents:return["apps/*"];default:return["packages/*"]}}});var M6=X(rk=>{"use strict";Object.defineProperty(rk,"__esModule",{value:!0});var NCe=(qo(),na(Uo));NCe.__exportStar(L6(),rk)});var Xi=X(or=>{"use strict";var LCe=Object.prototype.toString,ks=Nn(),O6=!1,ig=new Set,P6={yellow:"blue",cyan:"red",green:"magenta",black:"white",blue:"yellow",red:"cyan",magenta:"green",white:"black"};or.longest=(e,t)=>e.reduce((r,i)=>Math.max(r,t?i[t].length:i.length),0);or.hasColor=e=>!!e&&ks.hasColor(e);var ky=or.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);or.nativeType=e=>LCe.call(e).slice(8,-1).toLowerCase().replace(/\s/g,"");or.isAsyncFn=e=>or.nativeType(e)==="asyncfunction";or.isPrimitive=e=>e!=null&&typeof e!="object"&&typeof e!="function";or.resolve=(e,t,...r)=>typeof t=="function"?t.call(e,...r):t;or.scrollDown=(e=[])=>[...e.slice(1),e[0]];or.scrollUp=(e=[])=>[e.pop(),...e];or.reorder=(e=[])=>{let t=e.slice();return t.sort((r,i)=>r.index>i.index?1:r.index<i.index?-1:0),t};or.swap=(e,t,r)=>{let i=e.length,n=r===i?0:r<0?i-1:r,s=e[t];e[t]=e[n],e[n]=s};or.width=(e,t=80)=>{let r=e&&e.columns?e.columns:t;return e&&typeof e.getWindowSize=="function"&&(r=e.getWindowSize()[0]),process.platform==="win32"?r-1:r};or.height=(e,t=20)=>{let r=e&&e.rows?e.rows:t;return e&&typeof e.getWindowSize=="function"&&(r=e.getWindowSize()[1]),r};or.wordWrap=(e,t={})=>{if(!e)return e;typeof t=="number"&&(t={width:t});let{indent:r="",newline:i=`
|
|
278
|
-
`+r,width:n=80}=t,s=(i+r).match(/[^\S\n]/g)||[];n-=s.length;let o=`.{1,${n}}([\\s\\u200B]+|$)|[^\\s\\u200B]+?([\\s\\u200B]+|$)`,a=e.trim(),u=new RegExp(o,"g"),l=a.match(u)||[];return l=l.map(A=>A.replace(/\n$/,"")),t.padEnd&&(l=l.map(A=>A.padEnd(n," "))),t.padStart&&(l=l.map(A=>A.padStart(n," "))),r+l.join(i)};or.unmute=e=>{let t=e.stack.find(i=>ks.keys.color.includes(i));return t?ks[t]:e.stack.find(i=>i.slice(2)==="bg")?ks[t.slice(2)]:i=>i};or.pascal=e=>e?e[0].toUpperCase()+e.slice(1):"";or.inverse=e=>{if(!e||!e.stack)return e;let t=e.stack.find(i=>ks.keys.color.includes(i));if(t){let i=ks["bg"+or.pascal(t)];return i?i.black:e}let r=e.stack.find(i=>i.slice(0,2)==="bg");return r?ks[r.slice(2).toLowerCase()]||e:ks.none};or.complement=e=>{if(!e||!e.stack)return e;let t=e.stack.find(i=>ks.keys.color.includes(i)),r=e.stack.find(i=>i.slice(0,2)==="bg");if(t&&!r)return ks[P6[t]||t];if(r){let i=r.slice(2).toLowerCase(),n=P6[i];return n&&ks["bg"+or.pascal(n)]||e}return ks.none};or.meridiem=e=>{let t=e.getHours(),r=e.getMinutes(),i=t>=12?"pm":"am";t=t%12;let n=t===0?12:t,s=r<10?"0"+r:r;return n+":"+s+" "+i};or.set=(e={},t="",r)=>t.split(".").reduce((i,n,s,o)=>{let a=o.length-1>s?i[n]||{}:r;return!or.isObject(a)&&s<o.length-1&&(a={}),i[n]=a},e);or.get=(e={},t="",r)=>{let i=e[t]==null?t.split(".").reduce((n,s)=>n&&n[s],e):e[t];return i??r};or.mixin=(e,t)=>{if(!ky(e))return t;if(!ky(t))return e;for(let r of Object.keys(t)){let i=Object.getOwnPropertyDescriptor(t,r);if(hasOwnProperty.call(i,"value"))if(hasOwnProperty.call(e,r)&&ky(i.value)){let n=Object.getOwnPropertyDescriptor(e,r);ky(n.value)&&n.value!==i.value?e[r]=or.merge({},e[r],t[r]):Reflect.defineProperty(e,r,i)}else Reflect.defineProperty(e,r,i);else Reflect.defineProperty(e,r,i)}return e};or.merge=(...e)=>{let t={};for(let r of e)or.mixin(t,r);return t};or.mixinEmitter=(e,t)=>{let r=t.constructor.prototype;for(let i of Object.keys(r)){let n=r[i];typeof n=="function"?or.define(e,i,n.bind(t)):or.define(e,i,n)}};var Ry=(e,t)=>{O6||(O6=!0,ig.forEach(r=>r()),e===!0&&process.exit(128+t))},U6=Ry.bind(null,!0,15),q6=Ry.bind(null,!0,2);or.onExit=e=>(ig.size===0&&(process.once("SIGTERM",U6),process.once("SIGINT",q6),process.once("exit",Ry)),ig.add(e),()=>{ig.delete(e),ig.size===0&&(process.off("SIGTERM",U6),process.off("SIGINT",q6),process.off("exit",Ry))});or.define=(e,t,r)=>{Reflect.defineProperty(e,t,{value:r})};or.defineExport=(e,t,r)=>{let i;Reflect.defineProperty(e,t,{enumerable:!0,configurable:!0,set(n){i=n},get(){return i?i():r()}})}});var V6=X(sp=>{"use strict";sp.ctrl={a:"first",b:"backward",c:"cancel",d:"deleteForward",e:"last",f:"forward",g:"reset",i:"tab",k:"cutForward",l:"reset",n:"newItem",m:"cancel",j:"submit",p:"search",r:"remove",s:"save",u:"undo",w:"cutLeft",x:"toggleCursor",v:"paste"};sp.shift={up:"shiftUp",down:"shiftDown",left:"shiftLeft",right:"shiftRight",tab:"prev"};sp.fn={up:"pageUp",down:"pageDown",left:"pageLeft",right:"pageRight",delete:"deleteForward"};sp.option={b:"backward",f:"forward",d:"cutRight",left:"cutLeft",up:"altUp",down:"altDown"};sp.keys={pageup:"pageUp",pagedown:"pageDown",home:"home",end:"end",cancel:"cancel",delete:"deleteForward",backspace:"delete",down:"down",enter:"submit",escape:"cancel",left:"left",space:"space",number:"number",return:"submit",right:"right",tab:"next",up:"up"}});var G6=X((
|
|
279
|
-
`)i.name="enter";else if(e===" ")i.name="tab";else if(e==="\b"||e==="\x7F"||e==="\x1B\x7F"||e==="\x1B\b")i.name="backspace",i.meta=e.charAt(0)==="\x1B";else if(e==="\x1B"||e==="\x1B\x1B")i.name="escape",i.meta=e.length===2;else if(e===" "||e==="\x1B ")i.name="space",i.meta=e.length===2;else if(e<="")i.name=String.fromCharCode(e.charCodeAt(0)+97-1),i.ctrl=!0;else if(e.length===1&&e>="0"&&e<="9")i.name="number";else if(e.length===1&&e>="a"&&e<="z")i.name=e;else if(e.length===1&&e>="A"&&e<="Z")i.name=e.toLowerCase(),i.shift=!0;else if(r=PCe.exec(e))i.meta=!0,i.shift=/^[A-Z]$/.test(r[1]);else if(r=UCe.exec(e)){let n=[...e];n[0]==="\x1B"&&n[1]==="\x1B"&&(i.option=!0);let s=[r[1],r[2],r[4],r[6]].filter(Boolean).join(""),o=(r[3]||r[5]||1)-1;i.ctrl=!!(o&4),i.meta=!!(o&10),i.shift=!!(o&1),i.code=s,i.name=qCe[s],i.shift=VCe(s)||i.shift,i.ctrl=$Ce(s)||i.ctrl}return i};_y.listen=(e={},t)=>{let{stdin:r}=e;if(!r||r!==process.stdin&&!r.isTTY)throw new Error("Invalid stream passed");let i=j6.createInterface({terminal:!0,input:r});j6.emitKeypressEvents(r,i);let n=new OCe((a,u)=>t(a,_y(a,u),i)),s=r.isRaw;return r.isTTY&&r.setRawMode(!0),r.on("keypress",n.enqueue),i.resume(),()=>{r.isTTY&&r.setRawMode(s),r.removeListener("keypress",n.enqueue),n.destroy(),i.pause(),i.close()}};_y.action=(e,t,r)=>{let i={...MCe,...r};return t.ctrl?(t.action=i.ctrl[t.name],t):t.option&&i.option?(t.action=i.option[t.name],t):t.shift?(t.action=i.shift[t.name],t):(t.action=i.keys[t.name],t)};z6.exports=_y});var Y6=X((QTe,H6)=>{"use strict";H6.exports=e=>{e.timers=e.timers||{};let t=e.options.timers;if(t)for(let r of Object.keys(t)){let i=t[r];typeof i=="number"&&(i={interval:i}),GCe(e,r,i)}};function GCe(e,t,r={}){let i=e.timers[t]={name:t,start:Date.now(),ms:0,tick:0},n=r.interval||120;i.frames=r.frames||[],i.loading=!0;let s=setInterval(()=>{i.ms=Date.now()-i.start,i.tick++,e.render()},n);return i.stop=()=>{i.loading=!1,clearInterval(s)},Reflect.defineProperty(i,"interval",{value:s}),e.once("close",()=>i.stop()),i.stop}});var J6=X((STe,W6)=>{"use strict";var{define:jCe,width:zCe}=Xi(),nk=class{constructor(t){let r=t.options;jCe(this,"_prompt",t),this.type=t.type,this.name=t.name,this.message="",this.header="",this.footer="",this.error="",this.hint="",this.input="",this.cursor=0,this.index=0,this.lines=0,this.tick=0,this.prompt="",this.buffer="",this.width=zCe(r.stdout||process.stdout),Object.assign(this,r),this.name=this.name||this.message,this.message=this.message||this.name,this.symbols=t.symbols,this.styles=t.styles,this.required=new Set,this.cancelled=!1,this.submitted=!1}clone(){let t={...this};return t.status=this.status,t.buffer=Buffer.from(t.buffer),delete t.clone,t}set color(t){this._color=t}get color(){let t=this.prompt.styles;if(this.cancelled)return t.cancelled;if(this.submitted)return t.submitted;let r=this._color||t[this.status];return typeof r=="function"?r:t.pending}set loading(t){this._loading=t}get loading(){return typeof this._loading=="boolean"?this._loading:this.loadingChoices?"choices":!1}get status(){return this.cancelled?"cancelled":this.submitted?"submitted":"pending"}};W6.exports=nk});var K6=X((DTe,Z6)=>{"use strict";var sk=Xi(),Vi=Nn(),ok={default:Vi.noop,noop:Vi.noop,set inverse(e){this._inverse=e},get inverse(){return this._inverse||sk.inverse(this.primary)},set complement(e){this._complement=e},get complement(){return this._complement||sk.complement(this.primary)},primary:Vi.cyan,success:Vi.green,danger:Vi.magenta,strong:Vi.bold,warning:Vi.yellow,muted:Vi.dim,disabled:Vi.gray,dark:Vi.dim.gray,underline:Vi.underline,set info(e){this._info=e},get info(){return this._info||this.primary},set em(e){this._em=e},get em(){return this._em||this.primary.underline},set heading(e){this._heading=e},get heading(){return this._heading||this.muted.underline},set pending(e){this._pending=e},get pending(){return this._pending||this.primary},set submitted(e){this._submitted=e},get submitted(){return this._submitted||this.success},set cancelled(e){this._cancelled=e},get cancelled(){return this._cancelled||this.danger},set typing(e){this._typing=e},get typing(){return this._typing||this.dim},set placeholder(e){this._placeholder=e},get placeholder(){return this._placeholder||this.primary.dim},set highlight(e){this._highlight=e},get highlight(){return this._highlight||this.inverse}};ok.merge=(e={})=>{e.styles&&typeof e.styles.enabled=="boolean"&&(Vi.enabled=e.styles.enabled),e.styles&&typeof e.styles.visible=="boolean"&&(Vi.visible=e.styles.visible);let t=sk.merge({},ok,e.styles);delete t.merge;for(let r of Object.keys(Vi))hasOwnProperty.call(t,r)||Reflect.defineProperty(t,r,{get:()=>Vi[r]});for(let r of Object.keys(Vi.styles))hasOwnProperty.call(t,r)||Reflect.defineProperty(t,r,{get:()=>Vi[r]});return t};Z6.exports=ok});var eY=X((kTe,X6)=>{"use strict";var ak=process.platform==="win32",Ja=Nn(),HCe=Xi(),ck={...Ja.symbols,upDownDoubleArrow:"\u21D5",upDownDoubleArrow2:"\u2B0D",upDownArrow:"\u2195",asterisk:"*",asterism:"\u2042",bulletWhite:"\u25E6",electricArrow:"\u2301",ellipsisLarge:"\u22EF",ellipsisSmall:"\u2026",fullBlock:"\u2588",identicalTo:"\u2261",indicator:Ja.symbols.check,leftAngle:"\u2039",mark:"\u203B",minus:"\u2212",multiplication:"\xD7",obelus:"\xF7",percent:"%",pilcrow:"\xB6",pilcrow2:"\u2761",pencilUpRight:"\u2710",pencilDownRight:"\u270E",pencilRight:"\u270F",plus:"+",plusMinus:"\xB1",pointRight:"\u261E",rightAngle:"\u203A",section:"\xA7",hexagon:{off:"\u2B21",on:"\u2B22",disabled:"\u2B22"},ballot:{on:"\u2611",off:"\u2610",disabled:"\u2612"},stars:{on:"\u2605",off:"\u2606",disabled:"\u2606"},folder:{on:"\u25BC",off:"\u25B6",disabled:"\u25B6"},prefix:{pending:Ja.symbols.question,submitted:Ja.symbols.check,cancelled:Ja.symbols.cross},separator:{pending:Ja.symbols.pointerSmall,submitted:Ja.symbols.middot,cancelled:Ja.symbols.middot},radio:{off:ak?"( )":"\u25EF",on:ak?"(*)":"\u25C9",disabled:ak?"(|)":"\u24BE"},numbers:["\u24EA","\u2460","\u2461","\u2462","\u2463","\u2464","\u2465","\u2466","\u2467","\u2468","\u2469","\u246A","\u246B","\u246C","\u246D","\u246E","\u246F","\u2470","\u2471","\u2472","\u2473","\u3251","\u3252","\u3253","\u3254","\u3255","\u3256","\u3257","\u3258","\u3259","\u325A","\u325B","\u325C","\u325D","\u325E","\u325F","\u32B1","\u32B2","\u32B3","\u32B4","\u32B5","\u32B6","\u32B7","\u32B8","\u32B9","\u32BA","\u32BB","\u32BC","\u32BD","\u32BE","\u32BF"]};ck.merge=e=>{let t=HCe.merge({},Ja.symbols,ck,e.symbols);return delete t.merge,t};X6.exports=ck});var rY=X((RTe,tY)=>{"use strict";var YCe=K6(),WCe=eY(),JCe=Xi();tY.exports=e=>{e.options=JCe.merge({},e.options.theme,e.options),e.symbols=WCe.merge(e.options),e.styles=YCe.merge(e.options)}});var aY=X((sY,oY)=>{"use strict";var iY=process.env.TERM_PROGRAM==="Apple_Terminal",ZCe=$a(),uk=Xi(),ao=oY.exports=sY,Yr="\x1B[",nY="\x07",lk=!1,au=ao.code={bell:nY,beep:nY,beginning:`${Yr}G`,down:`${Yr}J`,esc:Yr,getPosition:`${Yr}6n`,hide:`${Yr}?25l`,line:`${Yr}2K`,lineEnd:`${Yr}K`,lineStart:`${Yr}1K`,restorePosition:Yr+(iY?"8":"u"),savePosition:Yr+(iY?"7":"s"),screen:`${Yr}2J`,show:`${Yr}?25h`,up:`${Yr}1J`},Tl=ao.cursor={get hidden(){return lk},hide(){return lk=!0,au.hide},show(){return lk=!1,au.show},forward:(e=1)=>`${Yr}${e}C`,backward:(e=1)=>`${Yr}${e}D`,nextLine:(e=1)=>`${Yr}E`.repeat(e),prevLine:(e=1)=>`${Yr}F`.repeat(e),up:(e=1)=>e?`${Yr}${e}A`:"",down:(e=1)=>e?`${Yr}${e}B`:"",right:(e=1)=>e?`${Yr}${e}C`:"",left:(e=1)=>e?`${Yr}${e}D`:"",to(e,t){return t?`${Yr}${t+1};${e+1}H`:`${Yr}${e+1}G`},move(e=0,t=0){let r="";return r+=e<0?Tl.left(-e):e>0?Tl.right(e):"",r+=t<0?Tl.up(-t):t>0?Tl.down(t):"",r},strLen(e){for(var t=0,r=e.length,i=-1,n=0;n<r;n++)i=e.charCodeAt(n),i>=0&&i<=128?t+=1:t+=2;return t},restore(e={}){let{after:t,cursor:r,initial:i,input:n,prompt:s,size:o,value:a}=e;if(i=uk.isPrimitive(i)?String(i):"",n=uk.isPrimitive(n)?String(n):"",a=uk.isPrimitive(a)?String(a):"",o){let u=ao.cursor.up(o)+ao.cursor.to(this.strLen(s)),l=n.length-r;return l>0&&(u+=ao.cursor.left(l)),u}if(a||t){let u=!n&&i?-this.strLen(i):-this.strLen(n)+r;return t&&(u-=this.strLen(t)),n===""&&i&&!s.includes(i)&&(u+=this.strLen(i)),ao.cursor.move(u)}}},hk=ao.erase={screen:au.screen,up:au.up,down:au.down,line:au.line,lineEnd:au.lineEnd,lineStart:au.lineStart,lines(e){let t="";for(let r=0;r<e;r++)t+=ao.erase.line+(r<e-1?ao.cursor.up(1):"");return e&&(t+=ao.code.beginning),t}};ao.clear=(e="",t=process.stdout.columns)=>{if(!t)return hk.line+Tl.to(0);let r=s=>[...ZCe(s)].length,i=e.split(/\r?\n/),n=0;for(let s of i)n+=1+Math.floor(Math.max(r(s)-1,0)/t);return(hk.line+Tl.prevLine()).repeat(n-1)+hk.line+Tl.to(0)}});var op=X((_Te,uY)=>{"use strict";var KCe=require("events"),cY=$a(),Ak=ik(),XCe=Y6(),e0e=J6(),t0e=rY(),qn=Xi(),Fl=aY(),pk=class e extends KCe{constructor(t={}){super(),this.name=t.name,this.type=t.type,this.options=t,t0e(this),XCe(this),this.state=new e0e(this),this.initial=[t.initial,t.default].find(r=>r!=null),this.stdout=t.stdout||process.stdout,this.stdin=t.stdin||process.stdin,this.scale=t.scale||1,this.term=this.options.term||process.env.TERM_PROGRAM,this.margin=i0e(this.options.margin),this.setMaxListeners(0),r0e(this)}async keypress(t,r={}){this.keypressed=!0;let i=Ak.action(t,Ak(t,r),this.options.actions);this.state.keypress=i,this.emit("keypress",t,i),this.emit("state",this.state.clone());let n=this.options[i.action]||this[i.action]||this.dispatch;if(typeof n=="function")return await n.call(this,t,i);this.alert()}alert(){delete this.state.alert,this.options.show===!1?this.emit("alert"):this.stdout.write(Fl.code.beep)}cursorHide(){this.stdout.write(Fl.cursor.hide());let t=qn.onExit(()=>this.cursorShow());this.on("close",()=>{this.cursorShow(),t()})}cursorShow(){this.stdout.write(Fl.cursor.show())}write(t){t&&(this.stdout&&this.state.show!==!1&&this.stdout.write(t),this.state.buffer+=t)}clear(t=0){let r=this.state.buffer;this.state.buffer="",!(!r&&!t||this.options.show===!1)&&this.stdout.write(Fl.cursor.down(t)+Fl.clear(r,this.width))}restore(){if(this.state.closed||this.options.show===!1)return;let{prompt:t,after:r,rest:i}=this.sections(),{cursor:n,initial:s="",input:o="",value:a=""}=this,u=this.state.size=i.length,l={after:r,cursor:n,initial:s,input:o,prompt:t,size:u,value:a},A=Fl.cursor.restore(l);A&&this.stdout.write(A)}sections(){let{buffer:t,input:r,prompt:i}=this.state;i=cY(i);let n=cY(t),s=n.indexOf(i),o=n.slice(0,s),u=n.slice(s).split(`
|
|
278
|
+
`+r,width:n=80}=t,s=(i+r).match(/[^\S\n]/g)||[];n-=s.length;let o=`.{1,${n}}([\\s\\u200B]+|$)|[^\\s\\u200B]+?([\\s\\u200B]+|$)`,a=e.trim(),u=new RegExp(o,"g"),l=a.match(u)||[];return l=l.map(A=>A.replace(/\n$/,"")),t.padEnd&&(l=l.map(A=>A.padEnd(n," "))),t.padStart&&(l=l.map(A=>A.padStart(n," "))),r+l.join(i)};or.unmute=e=>{let t=e.stack.find(i=>ks.keys.color.includes(i));return t?ks[t]:e.stack.find(i=>i.slice(2)==="bg")?ks[t.slice(2)]:i=>i};or.pascal=e=>e?e[0].toUpperCase()+e.slice(1):"";or.inverse=e=>{if(!e||!e.stack)return e;let t=e.stack.find(i=>ks.keys.color.includes(i));if(t){let i=ks["bg"+or.pascal(t)];return i?i.black:e}let r=e.stack.find(i=>i.slice(0,2)==="bg");return r?ks[r.slice(2).toLowerCase()]||e:ks.none};or.complement=e=>{if(!e||!e.stack)return e;let t=e.stack.find(i=>ks.keys.color.includes(i)),r=e.stack.find(i=>i.slice(0,2)==="bg");if(t&&!r)return ks[P6[t]||t];if(r){let i=r.slice(2).toLowerCase(),n=P6[i];return n&&ks["bg"+or.pascal(n)]||e}return ks.none};or.meridiem=e=>{let t=e.getHours(),r=e.getMinutes(),i=t>=12?"pm":"am";t=t%12;let n=t===0?12:t,s=r<10?"0"+r:r;return n+":"+s+" "+i};or.set=(e={},t="",r)=>t.split(".").reduce((i,n,s,o)=>{let a=o.length-1>s?i[n]||{}:r;return!or.isObject(a)&&s<o.length-1&&(a={}),i[n]=a},e);or.get=(e={},t="",r)=>{let i=e[t]==null?t.split(".").reduce((n,s)=>n&&n[s],e):e[t];return i??r};or.mixin=(e,t)=>{if(!ky(e))return t;if(!ky(t))return e;for(let r of Object.keys(t)){let i=Object.getOwnPropertyDescriptor(t,r);if(hasOwnProperty.call(i,"value"))if(hasOwnProperty.call(e,r)&&ky(i.value)){let n=Object.getOwnPropertyDescriptor(e,r);ky(n.value)&&n.value!==i.value?e[r]=or.merge({},e[r],t[r]):Reflect.defineProperty(e,r,i)}else Reflect.defineProperty(e,r,i);else Reflect.defineProperty(e,r,i)}return e};or.merge=(...e)=>{let t={};for(let r of e)or.mixin(t,r);return t};or.mixinEmitter=(e,t)=>{let r=t.constructor.prototype;for(let i of Object.keys(r)){let n=r[i];typeof n=="function"?or.define(e,i,n.bind(t)):or.define(e,i,n)}};var Ry=(e,t)=>{O6||(O6=!0,ig.forEach(r=>r()),e===!0&&process.exit(128+t))},U6=Ry.bind(null,!0,15),q6=Ry.bind(null,!0,2);or.onExit=e=>(ig.size===0&&(process.once("SIGTERM",U6),process.once("SIGINT",q6),process.once("exit",Ry)),ig.add(e),()=>{ig.delete(e),ig.size===0&&(process.off("SIGTERM",U6),process.off("SIGINT",q6),process.off("exit",Ry))});or.define=(e,t,r)=>{Reflect.defineProperty(e,t,{value:r})};or.defineExport=(e,t,r)=>{let i;Reflect.defineProperty(e,t,{enumerable:!0,configurable:!0,set(n){i=n},get(){return i?i():r()}})}});var V6=X(sp=>{"use strict";sp.ctrl={a:"first",b:"backward",c:"cancel",d:"deleteForward",e:"last",f:"forward",g:"reset",i:"tab",k:"cutForward",l:"reset",n:"newItem",m:"cancel",j:"submit",p:"search",r:"remove",s:"save",u:"undo",w:"cutLeft",x:"toggleCursor",v:"paste"};sp.shift={up:"shiftUp",down:"shiftDown",left:"shiftLeft",right:"shiftRight",tab:"prev"};sp.fn={up:"pageUp",down:"pageDown",left:"pageLeft",right:"pageRight",delete:"deleteForward"};sp.option={b:"backward",f:"forward",d:"cutRight",left:"cutLeft",up:"altUp",down:"altDown"};sp.keys={pageup:"pageUp",pagedown:"pageDown",home:"home",end:"end",cancel:"cancel",delete:"deleteForward",backspace:"delete",down:"down",enter:"submit",escape:"cancel",left:"left",space:"space",number:"number",return:"submit",right:"right",tab:"next",up:"up"}});var G6=X((wTe,$6)=>{"use strict";$6.exports=class{_queue=[];_executing=!1;_jobRunner=null;constructor(t){this._jobRunner=t}enqueue=(...t)=>{this._queue.push(t),this._dequeue()};destroy(){this._queue.length=0,this._jobRunner=null}_dequeue(){this._executing||!this._queue.length||(this._executing=!0,this._jobRunner(...this._queue.shift()),setTimeout(()=>{this._executing=!1,this._dequeue()}))}}});var ik=X((BTe,z6)=>{"use strict";var j6=require("readline"),MCe=V6(),OCe=G6(),PCe=/^(?:\x1b)([a-zA-Z0-9])$/,UCe=/^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/,qCe={OP:"f1",OQ:"f2",OR:"f3",OS:"f4","[11~":"f1","[12~":"f2","[13~":"f3","[14~":"f4","[[A":"f1","[[B":"f2","[[C":"f3","[[D":"f4","[[E":"f5","[15~":"f5","[17~":"f6","[18~":"f7","[19~":"f8","[20~":"f9","[21~":"f10","[23~":"f11","[24~":"f12","[A":"up","[B":"down","[C":"right","[D":"left","[E":"clear","[F":"end","[H":"home",OA:"up",OB:"down",OC:"right",OD:"left",OE:"clear",OF:"end",OH:"home","[1~":"home","[2~":"insert","[3~":"delete","[4~":"end","[5~":"pageup","[6~":"pagedown","[[5~":"pageup","[[6~":"pagedown","[7~":"home","[8~":"end","[a":"up","[b":"down","[c":"right","[d":"left","[e":"clear","[2$":"insert","[3$":"delete","[5$":"pageup","[6$":"pagedown","[7$":"home","[8$":"end",Oa:"up",Ob:"down",Oc:"right",Od:"left",Oe:"clear","[2^":"insert","[3^":"delete","[5^":"pageup","[6^":"pagedown","[7^":"home","[8^":"end","[Z":"tab"};function VCe(e){return["[a","[b","[c","[d","[e","[2$","[3$","[5$","[6$","[7$","[8$","[Z"].includes(e)}function $Ce(e){return["Oa","Ob","Oc","Od","Oe","[2^","[3^","[5^","[6^","[7^","[8^"].includes(e)}var _y=(e="",t={})=>{let r,i={name:t.name,ctrl:!1,meta:!1,shift:!1,option:!1,sequence:e,raw:e,...t};if(Buffer.isBuffer(e)?e[0]>127&&e[1]===void 0?(e[0]-=128,e="\x1B"+String(e)):e=String(e):e!==void 0&&typeof e!="string"?e=String(e):e||(e=i.sequence||""),i.sequence=i.sequence||e||i.name,e==="\r")i.raw=void 0,i.name="return";else if(e===`
|
|
279
|
+
`)i.name="enter";else if(e===" ")i.name="tab";else if(e==="\b"||e==="\x7F"||e==="\x1B\x7F"||e==="\x1B\b")i.name="backspace",i.meta=e.charAt(0)==="\x1B";else if(e==="\x1B"||e==="\x1B\x1B")i.name="escape",i.meta=e.length===2;else if(e===" "||e==="\x1B ")i.name="space",i.meta=e.length===2;else if(e<="")i.name=String.fromCharCode(e.charCodeAt(0)+97-1),i.ctrl=!0;else if(e.length===1&&e>="0"&&e<="9")i.name="number";else if(e.length===1&&e>="a"&&e<="z")i.name=e;else if(e.length===1&&e>="A"&&e<="Z")i.name=e.toLowerCase(),i.shift=!0;else if(r=PCe.exec(e))i.meta=!0,i.shift=/^[A-Z]$/.test(r[1]);else if(r=UCe.exec(e)){let n=[...e];n[0]==="\x1B"&&n[1]==="\x1B"&&(i.option=!0);let s=[r[1],r[2],r[4],r[6]].filter(Boolean).join(""),o=(r[3]||r[5]||1)-1;i.ctrl=!!(o&4),i.meta=!!(o&10),i.shift=!!(o&1),i.code=s,i.name=qCe[s],i.shift=VCe(s)||i.shift,i.ctrl=$Ce(s)||i.ctrl}return i};_y.listen=(e={},t)=>{let{stdin:r}=e;if(!r||r!==process.stdin&&!r.isTTY)throw new Error("Invalid stream passed");let i=j6.createInterface({terminal:!0,input:r});j6.emitKeypressEvents(r,i);let n=new OCe((a,u)=>t(a,_y(a,u),i)),s=r.isRaw;return r.isTTY&&r.setRawMode(!0),r.on("keypress",n.enqueue),i.resume(),()=>{r.isTTY&&r.setRawMode(s),r.removeListener("keypress",n.enqueue),n.destroy(),i.pause(),i.close()}};_y.action=(e,t,r)=>{let i={...MCe,...r};return t.ctrl?(t.action=i.ctrl[t.name],t):t.option&&i.option?(t.action=i.option[t.name],t):t.shift?(t.action=i.shift[t.name],t):(t.action=i.keys[t.name],t)};z6.exports=_y});var Y6=X((vTe,H6)=>{"use strict";H6.exports=e=>{e.timers=e.timers||{};let t=e.options.timers;if(t)for(let r of Object.keys(t)){let i=t[r];typeof i=="number"&&(i={interval:i}),GCe(e,r,i)}};function GCe(e,t,r={}){let i=e.timers[t]={name:t,start:Date.now(),ms:0,tick:0},n=r.interval||120;i.frames=r.frames||[],i.loading=!0;let s=setInterval(()=>{i.ms=Date.now()-i.start,i.tick++,e.render()},n);return i.stop=()=>{i.loading=!1,clearInterval(s)},Reflect.defineProperty(i,"interval",{value:s}),e.once("close",()=>i.stop()),i.stop}});var J6=X((xTe,W6)=>{"use strict";var{define:jCe,width:zCe}=Xi(),nk=class{constructor(t){let r=t.options;jCe(this,"_prompt",t),this.type=t.type,this.name=t.name,this.message="",this.header="",this.footer="",this.error="",this.hint="",this.input="",this.cursor=0,this.index=0,this.lines=0,this.tick=0,this.prompt="",this.buffer="",this.width=zCe(r.stdout||process.stdout),Object.assign(this,r),this.name=this.name||this.message,this.message=this.message||this.name,this.symbols=t.symbols,this.styles=t.styles,this.required=new Set,this.cancelled=!1,this.submitted=!1}clone(){let t={...this};return t.status=this.status,t.buffer=Buffer.from(t.buffer),delete t.clone,t}set color(t){this._color=t}get color(){let t=this.prompt.styles;if(this.cancelled)return t.cancelled;if(this.submitted)return t.submitted;let r=this._color||t[this.status];return typeof r=="function"?r:t.pending}set loading(t){this._loading=t}get loading(){return typeof this._loading=="boolean"?this._loading:this.loadingChoices?"choices":!1}get status(){return this.cancelled?"cancelled":this.submitted?"submitted":"pending"}};W6.exports=nk});var K6=X((QTe,Z6)=>{"use strict";var sk=Xi(),Vi=Nn(),ok={default:Vi.noop,noop:Vi.noop,set inverse(e){this._inverse=e},get inverse(){return this._inverse||sk.inverse(this.primary)},set complement(e){this._complement=e},get complement(){return this._complement||sk.complement(this.primary)},primary:Vi.cyan,success:Vi.green,danger:Vi.magenta,strong:Vi.bold,warning:Vi.yellow,muted:Vi.dim,disabled:Vi.gray,dark:Vi.dim.gray,underline:Vi.underline,set info(e){this._info=e},get info(){return this._info||this.primary},set em(e){this._em=e},get em(){return this._em||this.primary.underline},set heading(e){this._heading=e},get heading(){return this._heading||this.muted.underline},set pending(e){this._pending=e},get pending(){return this._pending||this.primary},set submitted(e){this._submitted=e},get submitted(){return this._submitted||this.success},set cancelled(e){this._cancelled=e},get cancelled(){return this._cancelled||this.danger},set typing(e){this._typing=e},get typing(){return this._typing||this.dim},set placeholder(e){this._placeholder=e},get placeholder(){return this._placeholder||this.primary.dim},set highlight(e){this._highlight=e},get highlight(){return this._highlight||this.inverse}};ok.merge=(e={})=>{e.styles&&typeof e.styles.enabled=="boolean"&&(Vi.enabled=e.styles.enabled),e.styles&&typeof e.styles.visible=="boolean"&&(Vi.visible=e.styles.visible);let t=sk.merge({},ok,e.styles);delete t.merge;for(let r of Object.keys(Vi))hasOwnProperty.call(t,r)||Reflect.defineProperty(t,r,{get:()=>Vi[r]});for(let r of Object.keys(Vi.styles))hasOwnProperty.call(t,r)||Reflect.defineProperty(t,r,{get:()=>Vi[r]});return t};Z6.exports=ok});var eY=X((STe,X6)=>{"use strict";var ak=process.platform==="win32",Ja=Nn(),HCe=Xi(),ck={...Ja.symbols,upDownDoubleArrow:"\u21D5",upDownDoubleArrow2:"\u2B0D",upDownArrow:"\u2195",asterisk:"*",asterism:"\u2042",bulletWhite:"\u25E6",electricArrow:"\u2301",ellipsisLarge:"\u22EF",ellipsisSmall:"\u2026",fullBlock:"\u2588",identicalTo:"\u2261",indicator:Ja.symbols.check,leftAngle:"\u2039",mark:"\u203B",minus:"\u2212",multiplication:"\xD7",obelus:"\xF7",percent:"%",pilcrow:"\xB6",pilcrow2:"\u2761",pencilUpRight:"\u2710",pencilDownRight:"\u270E",pencilRight:"\u270F",plus:"+",plusMinus:"\xB1",pointRight:"\u261E",rightAngle:"\u203A",section:"\xA7",hexagon:{off:"\u2B21",on:"\u2B22",disabled:"\u2B22"},ballot:{on:"\u2611",off:"\u2610",disabled:"\u2612"},stars:{on:"\u2605",off:"\u2606",disabled:"\u2606"},folder:{on:"\u25BC",off:"\u25B6",disabled:"\u25B6"},prefix:{pending:Ja.symbols.question,submitted:Ja.symbols.check,cancelled:Ja.symbols.cross},separator:{pending:Ja.symbols.pointerSmall,submitted:Ja.symbols.middot,cancelled:Ja.symbols.middot},radio:{off:ak?"( )":"\u25EF",on:ak?"(*)":"\u25C9",disabled:ak?"(|)":"\u24BE"},numbers:["\u24EA","\u2460","\u2461","\u2462","\u2463","\u2464","\u2465","\u2466","\u2467","\u2468","\u2469","\u246A","\u246B","\u246C","\u246D","\u246E","\u246F","\u2470","\u2471","\u2472","\u2473","\u3251","\u3252","\u3253","\u3254","\u3255","\u3256","\u3257","\u3258","\u3259","\u325A","\u325B","\u325C","\u325D","\u325E","\u325F","\u32B1","\u32B2","\u32B3","\u32B4","\u32B5","\u32B6","\u32B7","\u32B8","\u32B9","\u32BA","\u32BB","\u32BC","\u32BD","\u32BE","\u32BF"]};ck.merge=e=>{let t=HCe.merge({},Ja.symbols,ck,e.symbols);return delete t.merge,t};X6.exports=ck});var rY=X((DTe,tY)=>{"use strict";var YCe=K6(),WCe=eY(),JCe=Xi();tY.exports=e=>{e.options=JCe.merge({},e.options.theme,e.options),e.symbols=WCe.merge(e.options),e.styles=YCe.merge(e.options)}});var aY=X((sY,oY)=>{"use strict";var iY=process.env.TERM_PROGRAM==="Apple_Terminal",ZCe=$a(),uk=Xi(),ao=oY.exports=sY,Yr="\x1B[",nY="\x07",lk=!1,au=ao.code={bell:nY,beep:nY,beginning:`${Yr}G`,down:`${Yr}J`,esc:Yr,getPosition:`${Yr}6n`,hide:`${Yr}?25l`,line:`${Yr}2K`,lineEnd:`${Yr}K`,lineStart:`${Yr}1K`,restorePosition:Yr+(iY?"8":"u"),savePosition:Yr+(iY?"7":"s"),screen:`${Yr}2J`,show:`${Yr}?25h`,up:`${Yr}1J`},Tl=ao.cursor={get hidden(){return lk},hide(){return lk=!0,au.hide},show(){return lk=!1,au.show},forward:(e=1)=>`${Yr}${e}C`,backward:(e=1)=>`${Yr}${e}D`,nextLine:(e=1)=>`${Yr}E`.repeat(e),prevLine:(e=1)=>`${Yr}F`.repeat(e),up:(e=1)=>e?`${Yr}${e}A`:"",down:(e=1)=>e?`${Yr}${e}B`:"",right:(e=1)=>e?`${Yr}${e}C`:"",left:(e=1)=>e?`${Yr}${e}D`:"",to(e,t){return t?`${Yr}${t+1};${e+1}H`:`${Yr}${e+1}G`},move(e=0,t=0){let r="";return r+=e<0?Tl.left(-e):e>0?Tl.right(e):"",r+=t<0?Tl.up(-t):t>0?Tl.down(t):"",r},strLen(e){for(var t=0,r=e.length,i=-1,n=0;n<r;n++)i=e.charCodeAt(n),i>=0&&i<=128?t+=1:t+=2;return t},restore(e={}){let{after:t,cursor:r,initial:i,input:n,prompt:s,size:o,value:a}=e;if(i=uk.isPrimitive(i)?String(i):"",n=uk.isPrimitive(n)?String(n):"",a=uk.isPrimitive(a)?String(a):"",o){let u=ao.cursor.up(o)+ao.cursor.to(this.strLen(s)),l=n.length-r;return l>0&&(u+=ao.cursor.left(l)),u}if(a||t){let u=!n&&i?-this.strLen(i):-this.strLen(n)+r;return t&&(u-=this.strLen(t)),n===""&&i&&!s.includes(i)&&(u+=this.strLen(i)),ao.cursor.move(u)}}},hk=ao.erase={screen:au.screen,up:au.up,down:au.down,line:au.line,lineEnd:au.lineEnd,lineStart:au.lineStart,lines(e){let t="";for(let r=0;r<e;r++)t+=ao.erase.line+(r<e-1?ao.cursor.up(1):"");return e&&(t+=ao.code.beginning),t}};ao.clear=(e="",t=process.stdout.columns)=>{if(!t)return hk.line+Tl.to(0);let r=s=>[...ZCe(s)].length,i=e.split(/\r?\n/),n=0;for(let s of i)n+=1+Math.floor(Math.max(r(s)-1,0)/t);return(hk.line+Tl.prevLine()).repeat(n-1)+hk.line+Tl.to(0)}});var op=X((kTe,uY)=>{"use strict";var KCe=require("events"),cY=$a(),Ak=ik(),XCe=Y6(),e0e=J6(),t0e=rY(),qn=Xi(),Fl=aY(),pk=class e extends KCe{constructor(t={}){super(),this.name=t.name,this.type=t.type,this.options=t,t0e(this),XCe(this),this.state=new e0e(this),this.initial=[t.initial,t.default].find(r=>r!=null),this.stdout=t.stdout||process.stdout,this.stdin=t.stdin||process.stdin,this.scale=t.scale||1,this.term=this.options.term||process.env.TERM_PROGRAM,this.margin=i0e(this.options.margin),this.setMaxListeners(0),r0e(this)}async keypress(t,r={}){this.keypressed=!0;let i=Ak.action(t,Ak(t,r),this.options.actions);this.state.keypress=i,this.emit("keypress",t,i),this.emit("state",this.state.clone());let n=this.options[i.action]||this[i.action]||this.dispatch;if(typeof n=="function")return await n.call(this,t,i);this.alert()}alert(){delete this.state.alert,this.options.show===!1?this.emit("alert"):this.stdout.write(Fl.code.beep)}cursorHide(){this.stdout.write(Fl.cursor.hide());let t=qn.onExit(()=>this.cursorShow());this.on("close",()=>{this.cursorShow(),t()})}cursorShow(){this.stdout.write(Fl.cursor.show())}write(t){t&&(this.stdout&&this.state.show!==!1&&this.stdout.write(t),this.state.buffer+=t)}clear(t=0){let r=this.state.buffer;this.state.buffer="",!(!r&&!t||this.options.show===!1)&&this.stdout.write(Fl.cursor.down(t)+Fl.clear(r,this.width))}restore(){if(this.state.closed||this.options.show===!1)return;let{prompt:t,after:r,rest:i}=this.sections(),{cursor:n,initial:s="",input:o="",value:a=""}=this,u=this.state.size=i.length,l={after:r,cursor:n,initial:s,input:o,prompt:t,size:u,value:a},A=Fl.cursor.restore(l);A&&this.stdout.write(A)}sections(){let{buffer:t,input:r,prompt:i}=this.state;i=cY(i);let n=cY(t),s=n.indexOf(i),o=n.slice(0,s),u=n.slice(s).split(`
|
|
280
280
|
`),l=u[0],A=u[u.length-1],d=(i+(r?" "+r:"")).length,m=d<l.length?l.slice(d+1):"";return{header:o,prompt:l,after:m,rest:u.slice(1),last:A}}async submit(){this.state.submitted=!0,this.state.validating=!0,this.options.onSubmit&&await this.options.onSubmit.call(this,this.name,this.value,this);let t=this.state.error||await this.validate(this.value,this.state);if(t!==!0){let r=`
|
|
281
281
|
`+this.symbols.pointer+" ";typeof t=="string"?r+=t.trim():r+="Invalid input",this.state.error=`
|
|
282
282
|
`+this.styles.danger(r),this.state.submitted=!1,await this.render(),await this.alert(),this.state.validating=!1,this.state.error=void 0;return}this.state.validating=!1,await this.render(),await this.close(),this.value=await this.result(this.value),this.emit("submit",this.value)}async cancel(t){this.state.cancelled=this.state.submitted=!0,await this.render(),await this.close(),typeof this.options.onCancel=="function"&&await this.options.onCancel.call(this,this.name,this.value,this),this.emit("cancel",await this.error(t))}async close(){this.state.closed=!0;try{let t=this.sections(),r=Math.ceil(t.prompt.length/this.width);t.rest&&this.write(Fl.cursor.down(t.rest.length)),this.write(`
|
|
283
283
|
`.repeat(r))}catch{}this.emit("close")}start(){!this.stop&&this.options.show!==!1&&(this.stop=Ak.listen(this,this.keypress.bind(this)),this.once("close",this.stop),this.emit("start",this))}async skip(){return this.skipped=this.options.skip===!0,typeof this.options.skip=="function"&&(this.skipped=await this.options.skip.call(this,this.name,this.value)),this.skipped}async initialize(){let{format:t,options:r,result:i}=this;if(this.format=()=>t.call(this,this.value),this.result=()=>i.call(this,this.value),typeof r.initial=="function"&&(this.initial=await r.initial.call(this,this)),typeof r.onRun=="function"&&await r.onRun.call(this,this),typeof r.onSubmit=="function"){let n=r.onSubmit.bind(this),s=this.submit.bind(this);delete this.options.onSubmit,this.submit=async()=>(await n(this.name,this.value,this),s())}await this.start(),await this.render()}render(){throw new Error("expected prompt to have a custom render method")}run(){return new Promise(async(t,r)=>{if(this.once("submit",t),this.once("cancel",r),await this.skip())return this.render=()=>{},this.submit();await this.initialize(),this.emit("run")})}async element(t,r,i){let{options:n,state:s,symbols:o,timers:a}=this,u=a&&a[t];s.timer=u;let l=n[t]||s[t]||o[t],A=r&&r[t]!=null?r[t]:await l;if(A==="")return A;let h=await this.resolve(A,s,r,i);return!h&&r&&r[t]?this.resolve(l,s,r,i):h}async prefix(){let t=await this.element("prefix")||this.symbols,r=this.timers&&this.timers.prefix,i=this.state;return i.timer=r,qn.isObject(t)&&(t=t[i.status]||t.pending),qn.hasColor(t)?t:(this.styles[i.status]||this.styles.pending)(t)}async message(){let t=await this.element("message");return qn.hasColor(t)?t:this.styles.strong(t)}async separator(){let t=await this.element("separator")||this.symbols,r=this.timers&&this.timers.separator,i=this.state;i.timer=r;let n=t[i.status]||t.pending||i.separator,s=await this.resolve(n,i);return qn.isObject(s)&&(s=s[i.status]||s.pending),qn.hasColor(s)?s:this.styles.muted(s)}async pointer(t,r){let i=await this.element("pointer",t,r);if(typeof i=="string"&&qn.hasColor(i))return i;if(i){let n=this.styles,s=this.index===r,o=s?n.primary:l=>l,a=await this.resolve(i[s?"on":"off"]||i,this.state),u=qn.hasColor(a)?a:o(a);return s?u:" ".repeat(a.length)}}async indicator(t,r){let i=await this.element("indicator",t,r);if(typeof i=="string"&&qn.hasColor(i))return i;if(i){let n=this.styles,s=t.enabled===!0,o=s?n.success:n.dark,a=i[s?"on":"off"]||i;return qn.hasColor(a)?a:o(a)}return""}body(){return null}footer(){if(this.state.status==="pending")return this.element("footer")}header(){if(this.state.status==="pending")return this.element("header")}async hint(){if(this.state.status==="pending"&&!this.isValue(this.state.input)){let t=await this.element("hint");return qn.hasColor(t)?t:this.styles.muted(t)}}error(t){return this.state.submitted?"":t||this.state.error}format(t){return t}result(t){return t}validate(t){return this.options.required===!0?this.isValue(t):!0}isValue(t){return t!=null&&t!==""}resolve(t,...r){return qn.resolve(this,t,...r)}get base(){return e.prototype}get style(){return this.styles[this.state.status]}get height(){return this.options.rows||qn.height(this.stdout,25)}get width(){return this.options.columns||qn.width(this.stdout,80)}get size(){return{width:this.width,height:this.height}}set cursor(t){this.state.cursor=t}get cursor(){return this.state.cursor}set input(t){this.state.input=t}get input(){return this.state.input}set value(t){this.state.value=t}get value(){let{input:t,value:r}=this.state,i=[r,t].find(this.isValue.bind(this));return this.isValue(i)?i:this.initial}static get prompt(){return t=>new this(t).run()}};function r0e(e){let t=n=>e[n]===void 0||typeof e[n]=="function",r=["actions","choices","initial","margin","roles","styles","symbols","theme","timers","value"],i=["body","footer","error","header","hint","indicator","message","prefix","separator","skip"];for(let n of Object.keys(e.options)){if(r.includes(n)||/^on[A-Z]/.test(n))continue;let s=e.options[n];typeof s=="function"&&t(n)?i.includes(n)||(e[n]=s.bind(e)):typeof e[n]!="function"&&(e[n]=s)}}function i0e(e){typeof e=="number"&&(e=[e,e,e,e]);let t=[].concat(e||[]),r=n=>n%2===0?`
|
|
284
|
-
`:" ",i=[];for(let n=0;n<4;n++){let s=r(n);t[n]?i.push(s.repeat(t[n])):i.push("")}return i}uY.exports=pk});var AY=X((TTe,hY)=>{"use strict";var n0e=Xi(),lY={default(e,t){return t},checkbox(e,t){throw new Error("checkbox role is not implemented yet")},editable(e,t){throw new Error("editable role is not implemented yet")},expandable(e,t){throw new Error("expandable role is not implemented yet")},heading(e,t){return t.disabled="",t.indicator=[t.indicator," "].find(r=>r!=null),t.message=t.message||"",t},input(e,t){throw new Error("input role is not implemented yet")},option(e,t){return lY.default(e,t)},radio(e,t){throw new Error("radio role is not implemented yet")},separator(e,t){return t.disabled="",t.indicator=[t.indicator," "].find(r=>r!=null),t.message=t.message||e.symbols.line.repeat(5),t},spacer(e,t){return t}};hY.exports=(e,t={})=>{let r=n0e.merge({},lY,t.roles);return r[e]||r.default}});var ng=X((FTe,fY)=>{"use strict";var s0e=$a(),o0e=op(),a0e=AY(),Ty=Xi(),{reorder:dk,scrollUp:c0e,scrollDown:u0e,isObject:pY,swap:l0e}=Ty,fk=class extends o0e{constructor(t){super(t),this.cursorHide(),this.maxSelected=t.maxSelected||1/0,this.multiple=t.multiple||!1,this.initial=t.initial||0,this.delay=t.delay||0,this.longest=0,this.num=""}async initialize(){typeof this.options.initial=="function"&&(this.initial=await this.options.initial.call(this)),await this.reset(!0),await super.initialize()}async reset(){let{choices:t,initial:r,autofocus:i,suggest:n}=this.options;if(this.state._choices=[],this.state.choices=[],this.choices=await Promise.all(await this.toChoices(t)),this.choices.forEach(s=>s.enabled=!1),typeof n!="function"&&this.selectable.length===0)throw new Error("At least one choice must be selectable");pY(r)&&(r=Object.keys(r)),Array.isArray(r)?(i!=null&&(this.index=this.findIndex(i)),r.forEach(s=>this.enable(this.find(s))),await this.render()):(i!=null&&(r=i),typeof r=="string"&&(r=this.findIndex(r)),typeof r=="number"&&r>-1&&(this.index=Math.max(0,Math.min(r,this.choices.length)),this.enable(this.find(this.index)))),this.isDisabled(this.focused)&&await this.down()}async toChoices(t,r){this.state.loadingChoices=!0;let i=[],n=0,s=async(o,a)=>{typeof o=="function"&&(o=await o.call(this)),o instanceof Promise&&(o=await o);for(let u=0;u<o.length;u++){let l=o[u]=await this.toChoice(o[u],n++,a);i.push(l),l.choices&&await s(l.choices,l)}return i};return s(t,r).then(o=>(this.state.loadingChoices=!1,o))}async toChoice(t,r,i){if(typeof t=="function"&&(t=await t.call(this,this)),t instanceof Promise&&(t=await t),typeof t=="string"&&(t={name:t}),t.normalized)return t;t.normalized=!0;let n=t.value;if(t=a0e(t.role,this.options)(this,t),typeof t.disabled=="string"&&!t.hint&&(t.hint=t.disabled,t.disabled=!0),t.disabled===!0&&t.hint==null&&(t.hint="(disabled)"),t.index!=null)return t;t.name=t.name||t.key||t.title||t.value||t.message,t.message=t.message||t.name||"",t.value=[t.value,t.name].find(this.isValue.bind(this)),t.input="",t.index=r,t.cursor=0,Ty.define(t,"parent",i),t.level=i?i.level+1:1,t.indent==null&&(t.indent=i?i.indent+" ":t.indent||""),t.path=i?i.path+"."+t.name:t.name,t.enabled=!!(this.multiple&&!this.isDisabled(t)&&(t.enabled||this.isSelected(t))),this.isDisabled(t)||(this.longest=Math.max(this.longest,s0e(t.message).length));let o={...t};return t.reset=(a=o.input,u=o.value)=>{for(let l of Object.keys(o))t[l]=o[l];t.input=a,t.value=u},n==null&&typeof t.initial=="function"&&(t.input=await t.initial.call(this,this.state,t,r)),t}async onChoice(t,r){this.emit("choice",t,r,this),typeof t.onChoice=="function"&&await t.onChoice.call(this,this.state,t,r)}async addChoice(t,r,i){let n=await this.toChoice(t,r,i);return this.choices.push(n),this.index=this.choices.length-1,this.limit=this.choices.length,n}async newItem(t,r,i){let n={name:"New choice name?",editable:!0,newChoice:!0,...t},s=await this.addChoice(n,r,i);return s.updateChoice=()=>{delete s.newChoice,s.name=s.message=s.input,s.input="",s.cursor=0},this.render()}indent(t){return t.indent==null?t.level>1?" ".repeat(t.level-1):"":t.indent}dispatch(t,r){if(this.multiple&&this[r.name])return this[r.name]();this.alert()}focus(t,r){return typeof r!="boolean"&&(r=t.enabled),r&&!t.enabled&&this.selected.length>=this.maxSelected?this.alert():(this.index=t.index,t.enabled=r&&!this.isDisabled(t),t)}space(){if(!this.multiple)return this.alert();if(this.focused)return this.toggle(this.focused),this.render()}a(){if(this.maxSelected<this.choices.length)return this.alert();let t=this.selectable.every(r=>r.enabled);return this.choices.forEach(r=>r.enabled=!t),this.render()}i(){return this.choices.length-this.selected.length>this.maxSelected?this.alert():(this.choices.forEach(t=>t.enabled=!t.enabled),this.render())}g(){if(!this.choices.some(r=>!!r.parent))return this.a();let t=this.focused;return this.toggle(t.parent&&!t.choices?t.parent:t),this.render()}toggle(t,r){if(!t.enabled&&this.selected.length>=this.maxSelected)return this.alert();typeof r!="boolean"&&(r=!t.enabled),t.enabled=r,t.choices&&t.choices.forEach(n=>this.toggle(n,r));let i=t.parent;for(;i;){let n=i.choices.filter(s=>this.isDisabled(s));i.enabled=n.every(s=>s.enabled===!0),i=i.parent}return dY(this,this.choices),this.emit("toggle",t,this),t}enable(t){return this.selected.length>=this.maxSelected?this.alert():(t.enabled=!this.isDisabled(t),t.choices&&t.choices.forEach(this.enable.bind(this)),t)}disable(t){return t.enabled=!1,t.choices&&t.choices.forEach(this.disable.bind(this)),t}number(t){this.num+=t;let r=i=>{let n=Number(i);if(n>this.choices.length-1)return this.alert();let s=this.focused,o=this.choices.find(a=>n===a.index);if(!o.enabled&&this.selected.length>=this.maxSelected)return this.alert();if(this.visible.indexOf(o)===-1){let a=dk(this.choices),u=a.indexOf(o);if(s.index>u){let l=a.slice(u,u+this.limit),A=a.filter(h=>!l.includes(h));this.choices=l.concat(A)}else{let l=u-this.limit+1;this.choices=a.slice(l).concat(a.slice(0,l))}}return this.index=this.choices.indexOf(o),this.toggle(this.focused),this.render()};return clearTimeout(this.numberTimeout),new Promise(i=>{let n=this.choices.length,s=this.num,o=(a=!1,u)=>{clearTimeout(this.numberTimeout),a&&(u=r(s)),this.num="",i(u)};if(s==="0"||s.length===1&&+(s+"0")>n)return o(!0);if(Number(s)>n)return o(!1,this.alert());this.numberTimeout=setTimeout(()=>o(!0),this.delay)})}home(){return this.choices=dk(this.choices),this.index=0,this.render()}end(){let t=this.choices.length-this.limit,r=dk(this.choices);return this.choices=r.slice(t).concat(r.slice(0,t)),this.index=this.limit-1,this.render()}first(){return this.index=0,this.render()}last(){return this.index=this.visible.length-1,this.render()}prev(){return this.visible.length<=1?this.alert():this.up()}next(){return this.visible.length<=1?this.alert():this.down()}right(){return this.cursor>=this.input.length?this.alert():(this.cursor++,this.render())}left(){return this.cursor<=0?this.alert():(this.cursor--,this.render())}up(){let t=this.choices.length,r=this.visible.length,i=this.index;return this.options.scroll===!1&&i===0?this.alert():t>r&&i===0?this.scrollUp():(this.index=(i-1%t+t)%t,this.isDisabled()&&!this.allChoicesAreDisabled()?this.up():this.render())}down(){let t=this.choices.length,r=this.visible.length,i=this.index;return this.options.scroll===!1&&i===r-1?this.alert():t>r&&i===r-1?this.scrollDown():(this.index=(i+1)%t,this.isDisabled()&&!this.allChoicesAreDisabled()?this.down():this.render())}scrollUp(t=0){return this.choices=c0e(this.choices),this.index=t,this.isDisabled()?this.up():this.render()}scrollDown(t=this.visible.length-1){return this.choices=u0e(this.choices),this.index=t,this.isDisabled()?this.down():this.render()}async shiftUp(){if(this.options.sort===!0){this.sorting=!0,this.swap(this.index-1),await this.up(),this.sorting=!1;return}return this.scrollUp(this.index)}async shiftDown(){if(this.options.sort===!0){this.sorting=!0,this.swap(this.index+1),await this.down(),this.sorting=!1;return}return this.scrollDown(this.index)}pageUp(){return this.visible.length<=1?this.alert():(this.limit=Math.max(this.limit-1,0),this.index=Math.min(this.limit-1,this.index),this._limit=this.limit,this.isDisabled()?this.up():this.render())}pageDown(){return this.visible.length>=this.choices.length?this.alert():(this.index=Math.max(0,this.index),this.limit=Math.min(this.limit+1,this.choices.length),this._limit=this.limit,this.isDisabled()?this.down():this.render())}swap(t){l0e(this.choices,this.index,t)}allChoicesAreDisabled(t=this.choices){return t.every(r=>this.isDisabled(r))}isDisabled(t=this.focused){return t&&["disabled","collapsed","hidden","completing","readonly"].some(i=>t[i]===!0)?!0:t&&t.role==="heading"}isEnabled(t=this.focused){if(Array.isArray(t))return t.every(r=>this.isEnabled(r));if(t.choices){let r=t.choices.filter(i=>!this.isDisabled(i));return t.enabled&&r.every(i=>this.isEnabled(i))}return t.enabled&&!this.isDisabled(t)}isChoice(t,r){return t.name===r||t.index===Number(r)}isSelected(t){return Array.isArray(this.initial)?this.initial.some(r=>this.isChoice(t,r)):this.isChoice(t,this.initial)}map(t=[],r="value"){return[].concat(t||[]).reduce((i,n)=>(i[n]=this.find(n,r),i),{})}filter(t,r){let n=typeof t=="function"?t:(a,u)=>[a.name,u].includes(t),o=(this.options.multiple?this.state._choices:this.choices).filter(n);return r?o.map(a=>a[r]):o}find(t,r){if(pY(t))return r?t[r]:t;let n=typeof t=="function"?t:(o,a)=>[o.name,a].includes(t),s=this.choices.find(n);if(s)return r?s[r]:s}findIndex(t){return this.choices.indexOf(this.find(t))}async submit(){let t=this.focused;if(!t)return this.alert();if(t.newChoice)return t.input?(t.updateChoice(),this.render()):this.alert();if(this.choices.some(o=>o.newChoice))return this.alert();let{reorder:r,sort:i}=this.options,n=this.multiple===!0,s=this.selected;return s===void 0?this.alert():(Array.isArray(s)&&r!==!1&&i!==!0&&(s=Ty.reorder(s)),this.value=n?s.map(o=>o.name):s.name,super.submit())}set choices(t=[]){this.state._choices=this.state._choices||[],this.state.choices=t;for(let r of t)this.state._choices.some(i=>i.name===r.name)||this.state._choices.push(r);if(!this._initial&&this.options.initial){this._initial=!0;let r=this.initial;if(typeof r=="string"||typeof r=="number"){let i=this.find(r);i&&(this.initial=i.index,this.focus(i,!0))}}}get choices(){return dY(this,this.state.choices||[])}set visible(t){this.state.visible=t}get visible(){return(this.state.visible||this.choices).slice(0,this.limit)}set limit(t){this.state.limit=t}get limit(){let{state:t,options:r,choices:i}=this,n=t.limit||this._limit||r.limit||i.length;return Math.min(n,this.height)}set value(t){super.value=t}get value(){return typeof super.value!="string"&&super.value===this.initial?this.input:super.value}set index(t){this.state.index=t}get index(){return Math.max(0,this.state?this.state.index:0)}get enabled(){return this.filter(this.isEnabled.bind(this))}get focused(){let t=this.choices[this.index];return t&&this.state.submitted&&this.multiple!==!0&&(t.enabled=!0),t}get selectable(){return this.choices.filter(t=>!this.isDisabled(t))}get selected(){return this.multiple?this.enabled:this.focused}};function dY(e,t){if(t instanceof Promise)return t;if(typeof t=="function"){if(Ty.isAsyncFn(t))return t;t=t.call(e,e)}for(let r of t){if(Array.isArray(r.choices)){let i=r.choices.filter(n=>!e.isDisabled(n));r.enabled=i.every(n=>n.enabled===!0)}e.isDisabled(r)===!0&&delete r.enabled}return t}fY.exports=fk});var cu=X((NTe,gY)=>{"use strict";var h0e=ng(),gk=Xi(),mk=class extends h0e{constructor(t){super(t),this.emptyError=this.options.emptyError||"No items were selected"}async dispatch(t,r){if(this.multiple)return this[r.name]?await this[r.name](t,r):await super.dispatch(t,r);this.alert()}separator(){if(this.options.separator)return super.separator();let t=this.styles.muted(this.symbols.ellipsis);return this.state.submitted?super.separator():t}pointer(t,r){return!this.multiple||this.options.pointer?super.pointer(t,r):""}indicator(t,r){return this.multiple?super.indicator(t,r):""}choiceMessage(t,r){let i=this.resolve(t.message,this.state,t,r);return t.role==="heading"&&!gk.hasColor(i)&&(i=this.styles.strong(i)),this.resolve(i,this.state,t,r)}choiceSeparator(){return":"}async renderChoice(t,r){await this.onChoice(t,r);let i=this.index===r,n=await this.pointer(t,r),s=await this.indicator(t,r)+(t.pad||""),o=await this.resolve(t.hint,this.state,t,r);o&&!gk.hasColor(o)&&(o=this.styles.muted(o));let a=this.indent(t),u=await this.choiceMessage(t,r),l=()=>[this.margin[3],a+n+s,u,this.margin[1],o].filter(Boolean).join(" ");return t.role==="heading"?l():t.disabled?(gk.hasColor(u)||(u=this.styles.disabled(u)),l()):(i&&(u=this.styles.em(u)),l())}async renderChoices(){if(this.state.loading==="choices")return this.styles.warning("Loading choices");if(this.state.submitted)return"";let t=this.visible.map(async(s,o)=>await this.renderChoice(s,o)),r=await Promise.all(t);r.length||r.push(this.styles.danger("No matching choices"));let i=this.margin[0]+r.join(`
|
|
284
|
+
`:" ",i=[];for(let n=0;n<4;n++){let s=r(n);t[n]?i.push(s.repeat(t[n])):i.push("")}return i}uY.exports=pk});var AY=X((RTe,hY)=>{"use strict";var n0e=Xi(),lY={default(e,t){return t},checkbox(e,t){throw new Error("checkbox role is not implemented yet")},editable(e,t){throw new Error("editable role is not implemented yet")},expandable(e,t){throw new Error("expandable role is not implemented yet")},heading(e,t){return t.disabled="",t.indicator=[t.indicator," "].find(r=>r!=null),t.message=t.message||"",t},input(e,t){throw new Error("input role is not implemented yet")},option(e,t){return lY.default(e,t)},radio(e,t){throw new Error("radio role is not implemented yet")},separator(e,t){return t.disabled="",t.indicator=[t.indicator," "].find(r=>r!=null),t.message=t.message||e.symbols.line.repeat(5),t},spacer(e,t){return t}};hY.exports=(e,t={})=>{let r=n0e.merge({},lY,t.roles);return r[e]||r.default}});var ng=X((_Te,fY)=>{"use strict";var s0e=$a(),o0e=op(),a0e=AY(),Ty=Xi(),{reorder:dk,scrollUp:c0e,scrollDown:u0e,isObject:pY,swap:l0e}=Ty,fk=class extends o0e{constructor(t){super(t),this.cursorHide(),this.maxSelected=t.maxSelected||1/0,this.multiple=t.multiple||!1,this.initial=t.initial||0,this.delay=t.delay||0,this.longest=0,this.num=""}async initialize(){typeof this.options.initial=="function"&&(this.initial=await this.options.initial.call(this)),await this.reset(!0),await super.initialize()}async reset(){let{choices:t,initial:r,autofocus:i,suggest:n}=this.options;if(this.state._choices=[],this.state.choices=[],this.choices=await Promise.all(await this.toChoices(t)),this.choices.forEach(s=>s.enabled=!1),typeof n!="function"&&this.selectable.length===0)throw new Error("At least one choice must be selectable");pY(r)&&(r=Object.keys(r)),Array.isArray(r)?(i!=null&&(this.index=this.findIndex(i)),r.forEach(s=>this.enable(this.find(s))),await this.render()):(i!=null&&(r=i),typeof r=="string"&&(r=this.findIndex(r)),typeof r=="number"&&r>-1&&(this.index=Math.max(0,Math.min(r,this.choices.length)),this.enable(this.find(this.index)))),this.isDisabled(this.focused)&&await this.down()}async toChoices(t,r){this.state.loadingChoices=!0;let i=[],n=0,s=async(o,a)=>{typeof o=="function"&&(o=await o.call(this)),o instanceof Promise&&(o=await o);for(let u=0;u<o.length;u++){let l=o[u]=await this.toChoice(o[u],n++,a);i.push(l),l.choices&&await s(l.choices,l)}return i};return s(t,r).then(o=>(this.state.loadingChoices=!1,o))}async toChoice(t,r,i){if(typeof t=="function"&&(t=await t.call(this,this)),t instanceof Promise&&(t=await t),typeof t=="string"&&(t={name:t}),t.normalized)return t;t.normalized=!0;let n=t.value;if(t=a0e(t.role,this.options)(this,t),typeof t.disabled=="string"&&!t.hint&&(t.hint=t.disabled,t.disabled=!0),t.disabled===!0&&t.hint==null&&(t.hint="(disabled)"),t.index!=null)return t;t.name=t.name||t.key||t.title||t.value||t.message,t.message=t.message||t.name||"",t.value=[t.value,t.name].find(this.isValue.bind(this)),t.input="",t.index=r,t.cursor=0,Ty.define(t,"parent",i),t.level=i?i.level+1:1,t.indent==null&&(t.indent=i?i.indent+" ":t.indent||""),t.path=i?i.path+"."+t.name:t.name,t.enabled=!!(this.multiple&&!this.isDisabled(t)&&(t.enabled||this.isSelected(t))),this.isDisabled(t)||(this.longest=Math.max(this.longest,s0e(t.message).length));let o={...t};return t.reset=(a=o.input,u=o.value)=>{for(let l of Object.keys(o))t[l]=o[l];t.input=a,t.value=u},n==null&&typeof t.initial=="function"&&(t.input=await t.initial.call(this,this.state,t,r)),t}async onChoice(t,r){this.emit("choice",t,r,this),typeof t.onChoice=="function"&&await t.onChoice.call(this,this.state,t,r)}async addChoice(t,r,i){let n=await this.toChoice(t,r,i);return this.choices.push(n),this.index=this.choices.length-1,this.limit=this.choices.length,n}async newItem(t,r,i){let n={name:"New choice name?",editable:!0,newChoice:!0,...t},s=await this.addChoice(n,r,i);return s.updateChoice=()=>{delete s.newChoice,s.name=s.message=s.input,s.input="",s.cursor=0},this.render()}indent(t){return t.indent==null?t.level>1?" ".repeat(t.level-1):"":t.indent}dispatch(t,r){if(this.multiple&&this[r.name])return this[r.name]();this.alert()}focus(t,r){return typeof r!="boolean"&&(r=t.enabled),r&&!t.enabled&&this.selected.length>=this.maxSelected?this.alert():(this.index=t.index,t.enabled=r&&!this.isDisabled(t),t)}space(){if(!this.multiple)return this.alert();if(this.focused)return this.toggle(this.focused),this.render()}a(){if(this.maxSelected<this.choices.length)return this.alert();let t=this.selectable.every(r=>r.enabled);return this.choices.forEach(r=>r.enabled=!t),this.render()}i(){return this.choices.length-this.selected.length>this.maxSelected?this.alert():(this.choices.forEach(t=>t.enabled=!t.enabled),this.render())}g(){if(!this.choices.some(r=>!!r.parent))return this.a();let t=this.focused;return this.toggle(t.parent&&!t.choices?t.parent:t),this.render()}toggle(t,r){if(!t.enabled&&this.selected.length>=this.maxSelected)return this.alert();typeof r!="boolean"&&(r=!t.enabled),t.enabled=r,t.choices&&t.choices.forEach(n=>this.toggle(n,r));let i=t.parent;for(;i;){let n=i.choices.filter(s=>this.isDisabled(s));i.enabled=n.every(s=>s.enabled===!0),i=i.parent}return dY(this,this.choices),this.emit("toggle",t,this),t}enable(t){return this.selected.length>=this.maxSelected?this.alert():(t.enabled=!this.isDisabled(t),t.choices&&t.choices.forEach(this.enable.bind(this)),t)}disable(t){return t.enabled=!1,t.choices&&t.choices.forEach(this.disable.bind(this)),t}number(t){this.num+=t;let r=i=>{let n=Number(i);if(n>this.choices.length-1)return this.alert();let s=this.focused,o=this.choices.find(a=>n===a.index);if(!o.enabled&&this.selected.length>=this.maxSelected)return this.alert();if(this.visible.indexOf(o)===-1){let a=dk(this.choices),u=a.indexOf(o);if(s.index>u){let l=a.slice(u,u+this.limit),A=a.filter(h=>!l.includes(h));this.choices=l.concat(A)}else{let l=u-this.limit+1;this.choices=a.slice(l).concat(a.slice(0,l))}}return this.index=this.choices.indexOf(o),this.toggle(this.focused),this.render()};return clearTimeout(this.numberTimeout),new Promise(i=>{let n=this.choices.length,s=this.num,o=(a=!1,u)=>{clearTimeout(this.numberTimeout),a&&(u=r(s)),this.num="",i(u)};if(s==="0"||s.length===1&&+(s+"0")>n)return o(!0);if(Number(s)>n)return o(!1,this.alert());this.numberTimeout=setTimeout(()=>o(!0),this.delay)})}home(){return this.choices=dk(this.choices),this.index=0,this.render()}end(){let t=this.choices.length-this.limit,r=dk(this.choices);return this.choices=r.slice(t).concat(r.slice(0,t)),this.index=this.limit-1,this.render()}first(){return this.index=0,this.render()}last(){return this.index=this.visible.length-1,this.render()}prev(){return this.visible.length<=1?this.alert():this.up()}next(){return this.visible.length<=1?this.alert():this.down()}right(){return this.cursor>=this.input.length?this.alert():(this.cursor++,this.render())}left(){return this.cursor<=0?this.alert():(this.cursor--,this.render())}up(){let t=this.choices.length,r=this.visible.length,i=this.index;return this.options.scroll===!1&&i===0?this.alert():t>r&&i===0?this.scrollUp():(this.index=(i-1%t+t)%t,this.isDisabled()&&!this.allChoicesAreDisabled()?this.up():this.render())}down(){let t=this.choices.length,r=this.visible.length,i=this.index;return this.options.scroll===!1&&i===r-1?this.alert():t>r&&i===r-1?this.scrollDown():(this.index=(i+1)%t,this.isDisabled()&&!this.allChoicesAreDisabled()?this.down():this.render())}scrollUp(t=0){return this.choices=c0e(this.choices),this.index=t,this.isDisabled()?this.up():this.render()}scrollDown(t=this.visible.length-1){return this.choices=u0e(this.choices),this.index=t,this.isDisabled()?this.down():this.render()}async shiftUp(){if(this.options.sort===!0){this.sorting=!0,this.swap(this.index-1),await this.up(),this.sorting=!1;return}return this.scrollUp(this.index)}async shiftDown(){if(this.options.sort===!0){this.sorting=!0,this.swap(this.index+1),await this.down(),this.sorting=!1;return}return this.scrollDown(this.index)}pageUp(){return this.visible.length<=1?this.alert():(this.limit=Math.max(this.limit-1,0),this.index=Math.min(this.limit-1,this.index),this._limit=this.limit,this.isDisabled()?this.up():this.render())}pageDown(){return this.visible.length>=this.choices.length?this.alert():(this.index=Math.max(0,this.index),this.limit=Math.min(this.limit+1,this.choices.length),this._limit=this.limit,this.isDisabled()?this.down():this.render())}swap(t){l0e(this.choices,this.index,t)}allChoicesAreDisabled(t=this.choices){return t.every(r=>this.isDisabled(r))}isDisabled(t=this.focused){return t&&["disabled","collapsed","hidden","completing","readonly"].some(i=>t[i]===!0)?!0:t&&t.role==="heading"}isEnabled(t=this.focused){if(Array.isArray(t))return t.every(r=>this.isEnabled(r));if(t.choices){let r=t.choices.filter(i=>!this.isDisabled(i));return t.enabled&&r.every(i=>this.isEnabled(i))}return t.enabled&&!this.isDisabled(t)}isChoice(t,r){return t.name===r||t.index===Number(r)}isSelected(t){return Array.isArray(this.initial)?this.initial.some(r=>this.isChoice(t,r)):this.isChoice(t,this.initial)}map(t=[],r="value"){return[].concat(t||[]).reduce((i,n)=>(i[n]=this.find(n,r),i),{})}filter(t,r){let n=typeof t=="function"?t:(a,u)=>[a.name,u].includes(t),o=(this.options.multiple?this.state._choices:this.choices).filter(n);return r?o.map(a=>a[r]):o}find(t,r){if(pY(t))return r?t[r]:t;let n=typeof t=="function"?t:(o,a)=>[o.name,a].includes(t),s=this.choices.find(n);if(s)return r?s[r]:s}findIndex(t){return this.choices.indexOf(this.find(t))}async submit(){let t=this.focused;if(!t)return this.alert();if(t.newChoice)return t.input?(t.updateChoice(),this.render()):this.alert();if(this.choices.some(o=>o.newChoice))return this.alert();let{reorder:r,sort:i}=this.options,n=this.multiple===!0,s=this.selected;return s===void 0?this.alert():(Array.isArray(s)&&r!==!1&&i!==!0&&(s=Ty.reorder(s)),this.value=n?s.map(o=>o.name):s.name,super.submit())}set choices(t=[]){this.state._choices=this.state._choices||[],this.state.choices=t;for(let r of t)this.state._choices.some(i=>i.name===r.name)||this.state._choices.push(r);if(!this._initial&&this.options.initial){this._initial=!0;let r=this.initial;if(typeof r=="string"||typeof r=="number"){let i=this.find(r);i&&(this.initial=i.index,this.focus(i,!0))}}}get choices(){return dY(this,this.state.choices||[])}set visible(t){this.state.visible=t}get visible(){return(this.state.visible||this.choices).slice(0,this.limit)}set limit(t){this.state.limit=t}get limit(){let{state:t,options:r,choices:i}=this,n=t.limit||this._limit||r.limit||i.length;return Math.min(n,this.height)}set value(t){super.value=t}get value(){return typeof super.value!="string"&&super.value===this.initial?this.input:super.value}set index(t){this.state.index=t}get index(){return Math.max(0,this.state?this.state.index:0)}get enabled(){return this.filter(this.isEnabled.bind(this))}get focused(){let t=this.choices[this.index];return t&&this.state.submitted&&this.multiple!==!0&&(t.enabled=!0),t}get selectable(){return this.choices.filter(t=>!this.isDisabled(t))}get selected(){return this.multiple?this.enabled:this.focused}};function dY(e,t){if(t instanceof Promise)return t;if(typeof t=="function"){if(Ty.isAsyncFn(t))return t;t=t.call(e,e)}for(let r of t){if(Array.isArray(r.choices)){let i=r.choices.filter(n=>!e.isDisabled(n));r.enabled=i.every(n=>n.enabled===!0)}e.isDisabled(r)===!0&&delete r.enabled}return t}fY.exports=fk});var cu=X((TTe,gY)=>{"use strict";var h0e=ng(),gk=Xi(),mk=class extends h0e{constructor(t){super(t),this.emptyError=this.options.emptyError||"No items were selected"}async dispatch(t,r){if(this.multiple)return this[r.name]?await this[r.name](t,r):await super.dispatch(t,r);this.alert()}separator(){if(this.options.separator)return super.separator();let t=this.styles.muted(this.symbols.ellipsis);return this.state.submitted?super.separator():t}pointer(t,r){return!this.multiple||this.options.pointer?super.pointer(t,r):""}indicator(t,r){return this.multiple?super.indicator(t,r):""}choiceMessage(t,r){let i=this.resolve(t.message,this.state,t,r);return t.role==="heading"&&!gk.hasColor(i)&&(i=this.styles.strong(i)),this.resolve(i,this.state,t,r)}choiceSeparator(){return":"}async renderChoice(t,r){await this.onChoice(t,r);let i=this.index===r,n=await this.pointer(t,r),s=await this.indicator(t,r)+(t.pad||""),o=await this.resolve(t.hint,this.state,t,r);o&&!gk.hasColor(o)&&(o=this.styles.muted(o));let a=this.indent(t),u=await this.choiceMessage(t,r),l=()=>[this.margin[3],a+n+s,u,this.margin[1],o].filter(Boolean).join(" ");return t.role==="heading"?l():t.disabled?(gk.hasColor(u)||(u=this.styles.disabled(u)),l()):(i&&(u=this.styles.em(u)),l())}async renderChoices(){if(this.state.loading==="choices")return this.styles.warning("Loading choices");if(this.state.submitted)return"";let t=this.visible.map(async(s,o)=>await this.renderChoice(s,o)),r=await Promise.all(t);r.length||r.push(this.styles.danger("No matching choices"));let i=this.margin[0]+r.join(`
|
|
285
285
|
`),n;return this.options.choicesHeader&&(n=await this.resolve(this.options.choicesHeader,this.state)),[n,i].filter(Boolean).join(`
|
|
286
286
|
`)}format(){return!this.state.submitted||this.state.cancelled?"":Array.isArray(this.selected)?this.selected.map(t=>this.styles.primary(t.name)).join(", "):this.styles.primary(this.selected.name)}async render(){let{submitted:t,size:r}=this.state,i="",n=await this.header(),s=await this.prefix(),o=await this.separator(),a=await this.message();this.options.promptLine!==!1&&(i=[s,a,o,""].join(" "),this.state.prompt=i);let u=await this.format(),l=await this.error()||await this.hint(),A=await this.renderChoices(),h=await this.footer();u&&(i+=u),l&&!i.includes(l)&&(i+=" "+l),t&&!u&&!A.trim()&&this.multiple&&this.emptyError!=null&&(i+=this.styles.danger(this.emptyError)),this.clear(r),this.write([n,i,A,h].filter(Boolean).join(`
|
|
287
|
-
`)),this.write(this.margin[2]),this.restore()}};gY.exports=mk});var EY=X((
|
|
288
|
-
`)),this.restore()}set value(t){super.value=t}get value(){return this.cast(super.value)}};xY.exports=wk});var SY=X((
|
|
287
|
+
`)),this.write(this.margin[2]),this.restore()}};gY.exports=mk});var EY=X((FTe,mY)=>{"use strict";var A0e=cu(),p0e=(e,t)=>{let r=e?new RegExp(e,"ig"):/$^/;return i=>e?i.replace(r,n=>t(n)):i},Ek=class extends A0e{constructor(t){super(t),this.cursorShow()}moveCursor(t){this.state.cursor+=t}dispatch(t){return this.append(t)}space(t){return this.options.multiple?super.space(t):this.append(t)}append(t){let{cursor:r,input:i}=this.state;return this.input=i.slice(0,r)+t+i.slice(r),this.moveCursor(1),this.complete()}delete(){let{cursor:t,input:r}=this.state;return r?(this.input=r.slice(0,t-1)+r.slice(t),this.moveCursor(-1),this.complete()):this.alert()}deleteForward(){let{cursor:t,input:r}=this.state;return r[t]===void 0?this.alert():(this.input=`${r}`.slice(0,t)+`${r}`.slice(t+1),this.complete())}number(t){return this.append(t)}async complete(){this.completing=!0,this.choices=await this.suggest(this.input,this.state._choices),this.state.limit=void 0,this.index=Math.min(Math.max(this.visible.length-1,0),this.index),await this.render(),this.completing=!1}suggest(t=this.input,r=this.state._choices){if(typeof this.options.suggest=="function")return this.options.suggest.call(this,t,r);let i=t.toLowerCase();return r.filter(n=>n.message.toLowerCase().includes(i))}pointer(){return""}format(){if(!this.focused)return this.input;if(this.options.multiple&&this.state.submitted)return this.selected.map(t=>this.styles.primary(t.message)).join(", ");if(this.state.submitted){let t=this.value=this.input=this.focused.value;return this.styles.primary(t)}return this.input}async render(){if(this.state.status!=="pending")return super.render();let t=this.options.highlight||this.styles.complement,r=(s,o)=>s&&(t.stack?t(s):t.call(this,s)),i=p0e(this.input,r),n=this.choices;this.choices=n.map(s=>({...s,message:i(s.message)})),await super.render(),this.choices=n}submit(){return this.options.multiple&&(this.value=this.selected.map(t=>t.name)),super.submit()}};mY.exports=Ek});var yk=X((NTe,CY)=>{"use strict";var Ck=Xi();CY.exports=(e,t={})=>{e.cursorHide();let{input:r="",initial:i="",pos:n,showCursor:s=!0,color:o}=t,a=o||e.styles.placeholder,u=Ck.inverse(e.styles.primary),l=E=>u(e.styles.black(E)),A=r,h=" ",d=l(h);if(e.blink&&e.blink.off===!0&&(l=E=>E,d=""),s&&n===0&&i===""&&r==="")return l(h);if(s&&n===0&&(r===i||r===""))return l(i[0])+a(i.slice(1));i=Ck.isPrimitive(i)?`${i}`:"",r=Ck.isPrimitive(r)?`${r}`:"";let m=i&&i.startsWith(r)&&i!==r,g=m?l(i[r.length]):d;if(n!==r.length&&s===!0&&(A=r.slice(0,n)+l(r[n])+r.slice(n+1),g=""),s===!1&&(g=""),m){let E=e.styles.unstyle(A+g);return A+g+a(i.slice(E.length))}return A+g}});var Fy=X((LTe,yY)=>{"use strict";var d0e=$a(),f0e=cu(),g0e=yk(),bk=class extends f0e{constructor(t){super({...t,multiple:!0}),this.type="form",this.initial=this.options.initial,this.align=[this.options.align,"right"].find(r=>r!=null),this.emptyError="",this.values={}}async reset(t){return await super.reset(),t===!0&&(this._index=this.index),this.index=this._index,this.values={},this.choices.forEach(r=>r.reset&&r.reset()),this.render()}dispatch(t){return!!t&&this.append(t)}append(t){let r=this.focused;if(!r)return this.alert();let{cursor:i,input:n}=r;return r.value=r.input=n.slice(0,i)+t+n.slice(i),r.cursor++,this.render()}delete(){let t=this.focused;if(!t||t.cursor<=0)return this.alert();let{cursor:r,input:i}=t;return t.value=t.input=i.slice(0,r-1)+i.slice(r),t.cursor--,this.render()}deleteForward(){let t=this.focused;if(!t)return this.alert();let{cursor:r,input:i}=t;if(i[r]===void 0)return this.alert();let n=`${i}`.slice(0,r)+`${i}`.slice(r+1);return t.value=t.input=n,this.render()}right(){let t=this.focused;return t?t.cursor>=t.input.length?this.alert():(t.cursor++,this.render()):this.alert()}left(){let t=this.focused;return t?t.cursor<=0?this.alert():(t.cursor--,this.render()):this.alert()}space(t,r){return this.dispatch(t,r)}number(t,r){return this.dispatch(t,r)}next(){let t=this.focused;if(!t)return this.alert();let{initial:r,input:i}=t;return r&&r.startsWith(i)&&i!==r?(t.value=t.input=r,t.cursor=t.value.length,this.render()):super.next()}prev(){let t=this.focused;return t?t.cursor===0?super.prev():(t.value=t.input="",t.cursor=0,this.render()):this.alert()}separator(){return""}format(t){return this.state.submitted?"":super.format(t)}pointer(){return""}indicator(t){return t.input?"\u29BF":"\u2299"}async choiceSeparator(t,r){let i=await this.resolve(t.separator,this.state,t,r)||":";return i?" "+this.styles.disabled(i):""}async renderChoice(t,r){await this.onChoice(t,r);let{state:i,styles:n}=this,{cursor:s,initial:o="",name:a,input:u=""}=t,{muted:l,submitted:A,primary:h,danger:d}=n,m=this.index===r,g=t.validate||(()=>!0),E=await this.choiceSeparator(t,r),y=t.message;this.align==="right"&&(y=y.padStart(this.longest+1," ")),this.align==="left"&&(y=y.padEnd(this.longest+1," "));let w=this.values[a]=u||o,R=u?"success":"dark";await g.call(t,w,this.state)!==!0&&(R="danger");let S=n[R],F=S(await this.indicator(t,r))+(t.pad||""),q=this.indent(t),M=()=>[q,F,y+E,u].filter(Boolean).join(" ");if(i.submitted)return y=d0e(y),u=A(u),M();if(t.format)u=await t.format.call(this,u,t,r);else{let C=this.styles.muted;u=g0e(this,{input:u,initial:o,pos:s,showCursor:m,color:C})}return this.isValue(u)||(u=this.styles.muted(this.symbols.ellipsis)),t.result&&(this.values[a]=await t.result.call(this,w,t,r)),m&&(y=h(y)),t.error?u+=(u?" ":"")+d(t.error.trim()):t.hint&&(u+=(u?" ":"")+l(t.hint.trim())),M()}async submit(){return this.value=this.values,super.base.submit.call(this)}};yY.exports=bk});var Ik=X((MTe,IY)=>{"use strict";var m0e=Fy(),E0e=()=>{throw new Error("expected prompt to have a custom authenticate method")},bY=(e=E0e)=>{class t extends m0e{constructor(i){super(i)}async submit(){this.value=await e.call(this,this.values,this.state),super.base.submit.call(this)}static create(i){return bY(i)}}return t};IY.exports=bY()});var vY=X((OTe,BY)=>{"use strict";var C0e=Ik();function y0e(e,t){return e.username===this.options.username&&e.password===this.options.password}var wY=(e=y0e)=>{let t=[{name:"username",message:"username"},{name:"password",message:"password",format(i){return this.options.showPassword?i:(this.state.submitted?this.styles.primary:this.styles.muted)(this.symbols.asterisk.repeat(i.length))}}];class r extends C0e.create(e){constructor(n){super({...n,choices:t})}static create(n){return wY(n)}}return r};BY.exports=wY()});var Ny=X((PTe,xY)=>{"use strict";var b0e=op(),{isPrimitive:I0e,hasColor:w0e}=Xi(),wk=class extends b0e{constructor(t){super(t),this.cursorHide()}async initialize(){let t=await this.resolve(this.initial,this.state);this.input=await this.cast(t),await super.initialize()}dispatch(t){return this.isValue(t)?(this.input=t,this.submit()):this.alert()}format(t){let{styles:r,state:i}=this;return i.submitted?r.success(t):r.primary(t)}cast(t){return this.isTrue(t)}isTrue(t){return/^[ty1]/i.test(t)}isFalse(t){return/^[fn0]/i.test(t)}isValue(t){return I0e(t)&&(this.isTrue(t)||this.isFalse(t))}async hint(){if(this.state.status==="pending"){let t=await this.element("hint");return w0e(t)?t:this.styles.muted(t)}}async render(){let{input:t,size:r}=this.state,i=await this.prefix(),n=await this.separator(),s=await this.message(),o=this.styles.muted(this.default),a=[i,s,o,n].filter(Boolean).join(" ");this.state.prompt=a;let u=await this.header(),l=this.value=this.cast(t),A=await this.format(l),h=await this.error()||await this.hint(),d=await this.footer();h&&!a.includes(h)&&(A+=" "+h),a+=" "+A,this.clear(r),this.write([u,a,d].filter(Boolean).join(`
|
|
288
|
+
`)),this.restore()}set value(t){super.value=t}get value(){return this.cast(super.value)}};xY.exports=wk});var SY=X((UTe,QY)=>{"use strict";var B0e=Ny(),Bk=class extends B0e{constructor(t){super(t),this.default=this.options.default||(this.initial?"(Y/n)":"(y/N)")}};QY.exports=Bk});var kY=X((qTe,DY)=>{"use strict";var v0e=cu(),x0e=Fy(),ap=x0e.prototype,vk=class extends v0e{constructor(t){super({...t,multiple:!0}),this.align=[this.options.align,"left"].find(r=>r!=null),this.emptyError="",this.values={}}dispatch(t,r){let i=this.focused,n=i.parent||{};return!i.editable&&!n.editable&&(t==="a"||t==="i")?super[t]():ap.dispatch.call(this,t,r)}append(t,r){return ap.append.call(this,t,r)}delete(t,r){return ap.delete.call(this,t,r)}space(t){return this.focused.editable?this.append(t):super.space()}number(t){return this.focused.editable?this.append(t):super.number(t)}next(){return this.focused.editable?ap.next.call(this):super.next()}prev(){return this.focused.editable?ap.prev.call(this):super.prev()}async indicator(t,r){let i=t.indicator||"",n=t.editable?i:super.indicator(t,r);return await this.resolve(n,this.state,t,r)||""}indent(t){return t.role==="heading"?"":t.editable?" ":" "}async renderChoice(t,r){return t.indent="",t.editable?ap.renderChoice.call(this,t,r):super.renderChoice(t,r)}error(){return""}footer(){return this.state.error}async validate(){let t=!0;for(let r of this.choices){if(typeof r.validate!="function"||r.role==="heading")continue;let i=r.parent?this.value[r.parent.name]:this.value;if(r.editable?i=r.value===r.name?r.initial||"":r.value:this.isDisabled(r)||(i=r.enabled===!0),t=await r.validate(i,this.state),t!==!0)break}return t!==!0&&(this.state.error=typeof t=="string"?t:"Invalid Input"),t}submit(){if(this.focused.newChoice===!0)return super.submit();if(this.choices.some(t=>t.newChoice))return this.alert();this.value={};for(let t of this.choices){let r=t.parent?this.value[t.parent.name]:this.value;if(t.role==="heading"){this.value[t.name]={};continue}t.editable?r[t.name]=t.value===t.name?t.initial||"":t.value:this.isDisabled(t)||(r[t.name]=t.enabled===!0)}return this.base.submit.call(this)}};DY.exports=vk});var Nl=X((VTe,RY)=>{"use strict";var Q0e=op(),S0e=ik(),D0e=yk(),{isPrimitive:k0e}=Xi(),xk=class extends Q0e{constructor(t){super(t),this.initial=k0e(this.initial)?String(this.initial):"",this.initial&&this.cursorHide(),this.state.prevCursor=0,this.state.clipboard=[],this.keypressTimeout=this.options.keypressTimeout!==void 0?this.options.keypressTimeout:null}async keypress(t,r=t?S0e(t,{}):{}){let i=Date.now(),n=i-this.lastKeypress;this.lastKeypress=i;let s=r.name==="return"||r.name==="enter",o=this.state.prevKeypress,a;if(this.state.prevKeypress=r,this.keypressTimeout!=null&&s){if(n<this.keypressTimeout)return this.submit();this.state.multilineBuffer=this.state.multilineBuffer||"",this.state.multilineBuffer+=t,a=!0,o=null}return(a||this.options.multiline&&s)&&(!o||o.name!=="return")?this.append(`
|
|
289
289
|
`,r):super.keypress(t,r)}moveCursor(t){this.cursor+=t}reset(){return this.input=this.value="",this.cursor=0,this.render()}dispatch(t,r){if(!t||r.ctrl||r.code)return this.alert();this.append(t)}append(t){let{cursor:r,input:i}=this.state;this.input=`${i}`.slice(0,r)+t+`${i}`.slice(r),this.moveCursor(String(t).length),this.render()}insert(t){this.append(t)}delete(){let{cursor:t,input:r}=this.state;if(t<=0)return this.alert();this.input=`${r}`.slice(0,t-1)+`${r}`.slice(t),this.moveCursor(-1),this.render()}deleteForward(){let{cursor:t,input:r}=this.state;if(r[t]===void 0)return this.alert();this.input=`${r}`.slice(0,t)+`${r}`.slice(t+1),this.render()}cutForward(){let t=this.cursor;if(this.input.length<=t)return this.alert();this.state.clipboard.push(this.input.slice(t)),this.input=this.input.slice(0,t),this.render()}cutLeft(){let t=this.cursor;if(t===0)return this.alert();let r=this.input.slice(0,t),i=this.input.slice(t),n=r.split(" ");this.state.clipboard.push(n.pop()),this.input=n.join(" "),this.cursor=this.input.length,this.input+=i,this.render()}paste(){if(!this.state.clipboard.length)return this.alert();this.insert(this.state.clipboard.pop()),this.render()}toggleCursor(){this.state.prevCursor?(this.cursor=this.state.prevCursor,this.state.prevCursor=0):(this.state.prevCursor=this.cursor,this.cursor=0),this.render()}first(){this.cursor=0,this.render()}last(){this.cursor=this.input.length-1,this.render()}next(){let t=this.initial!=null?String(this.initial):"";if(!t||!t.startsWith(this.input))return this.alert();this.input=this.initial,this.cursor=this.initial.length,this.render()}prev(){if(!this.input)return this.alert();this.reset()}backward(){return this.left()}forward(){return this.right()}right(){return this.cursor>=this.input.length?this.alert():(this.moveCursor(1),this.render())}left(){return this.cursor<=0?this.alert():(this.moveCursor(-1),this.render())}isValue(t){return!!t}async format(t=this.value){let r=await this.resolve(this.initial,this.state);return this.state.submitted?this.styles.submitted(t||r):D0e(this,{input:t,initial:r,pos:this.cursor})}async render(){let t=this.state.size,r=await this.prefix(),i=await this.separator(),n=await this.message(),s=[r,n,i].filter(Boolean).join(" ");this.state.prompt=s;let o=await this.header(),a=await this.format(),u=await this.error()||await this.hint(),l=await this.footer();u&&!a.includes(u)&&(a+=" "+u),s+=" "+a,this.clear(t),this.write([o,s,l].filter(Boolean).join(`
|
|
290
|
-
`)),this.restore()}};RY.exports=xk});var TY=X((
|
|
290
|
+
`)),this.restore()}};RY.exports=xk});var TY=X(($Te,_Y)=>{"use strict";var R0e=e=>e.filter((t,r)=>e.lastIndexOf(t)===r),Ly=e=>R0e(e).filter(Boolean);_Y.exports=(e,t={},r="")=>{let{past:i=[],present:n=""}=t,s,o;switch(e){case"prev":case"undo":return s=i.slice(0,i.length-1),o=i[i.length-1]||"",{past:Ly([r,...s]),present:o};case"next":case"redo":return s=i.slice(1),o=i[0]||"",{past:Ly([...s,r]),present:o};case"save":return{past:Ly([...i,r]),present:""};case"remove":return o=Ly(i.filter(a=>a!==r)),n="",o.length&&(n=o.pop()),{past:o,present:n};default:throw new Error(`Invalid action: "${e}"`)}}});var Sk=X((GTe,NY)=>{"use strict";var _0e=Nl(),FY=TY(),Qk=class extends _0e{constructor(t){super(t);let r=this.options.history;if(r&&r.store){let i=r.values||this.initial;this.autosave=!!r.autosave,this.store=r.store,this.data=this.store.get("values")||{past:[],present:i},this.initial=this.data.present||this.data.past[this.data.past.length-1]}}completion(t){return this.store?(this.data=FY(t,this.data,this.input),this.data.present?(this.input=this.data.present,this.cursor=this.input.length,this.render()):this.alert()):this.alert()}altUp(){return this.completion("prev")}altDown(){return this.completion("next")}prev(){return this.save(),super.prev()}save(){this.store&&(this.data=FY("save",this.data,this.input),this.store.set("values",this.data))}submit(){return this.store&&this.autosave===!0&&this.save(),super.submit()}};NY.exports=Qk});var MY=X((jTe,LY)=>{"use strict";var T0e=Nl(),Dk=class extends T0e{format(){return""}};LY.exports=Dk});var PY=X((zTe,OY)=>{"use strict";var F0e=Nl(),kk=class extends F0e{constructor(t={}){super(t),this.sep=this.options.separator||/, */,this.initial=t.initial||""}split(t=this.value){return t?String(t).split(this.sep):[]}format(){let t=this.state.submitted?this.styles.primary:r=>r;return this.list.map(t).join(", ")}async submit(t){let r=this.state.error||await this.validate(this.list,this.state);return r!==!0?(this.state.error=r,super.submit()):(this.value=this.list,super.submit())}get list(){return this.split()}};OY.exports=kk});var qY=X((HTe,UY)=>{"use strict";var N0e=cu(),Rk=class extends N0e{constructor(t){super({...t,multiple:!0})}};UY.exports=Rk});var Tk=X((YTe,VY)=>{"use strict";var L0e=Nl(),_k=class extends L0e{constructor(t={}){super({style:"number",...t}),this.min=this.isValue(t.min)?this.toNumber(t.min):-1/0,this.max=this.isValue(t.max)?this.toNumber(t.max):1/0,this.delay=t.delay!=null?t.delay:1e3,this.float=t.float!==!1,this.round=t.round===!0||t.float===!1,this.major=t.major||10,this.minor=t.minor||1,this.initial=t.initial!=null?t.initial:"",this.input=String(this.initial),this.cursor=this.input.length,this.cursorShow()}append(t){return!/[-+.]/.test(t)||t==="."&&this.input.includes(".")?this.alert("invalid number"):super.append(t)}number(t){return super.append(t)}next(){return this.input&&this.input!==this.initial?this.alert():this.isValue(this.initial)?(this.input=this.initial,this.cursor=String(this.initial).length,this.render()):this.alert()}up(t){let r=t||this.minor,i=this.toNumber(this.input);return i>this.max+r?this.alert():(this.input=`${i+r}`,this.render())}down(t){let r=t||this.minor,i=this.toNumber(this.input);return i<this.min-r?this.alert():(this.input=`${i-r}`,this.render())}shiftDown(){return this.down(this.major)}shiftUp(){return this.up(this.major)}format(t=this.input){return typeof this.options.format=="function"?this.options.format.call(this,t):this.styles.info(t)}toNumber(t=""){return this.float?+t:Math.round(+t)}isValue(t){return/^[-+]?[0-9]+((\.)|(\.[0-9]+))?$/.test(t)}submit(){let t=[this.input,this.initial].find(r=>this.isValue(r));return this.value=this.toNumber(t||0),super.submit()}};VY.exports=_k});var GY=X((WTe,$Y)=>{$Y.exports=Tk()});var zY=X((JTe,jY)=>{"use strict";var M0e=Nl(),Fk=class extends M0e{constructor(t){super(t),this.cursorShow()}format(t=this.input){return this.keypressed?(this.state.submitted?this.styles.primary:this.styles.muted)(this.symbols.asterisk.repeat(t.length)):""}};jY.exports=Fk});var WY=X((ZTe,YY)=>{"use strict";var O0e=$a(),P0e=ng(),HY=Xi(),Nk=class extends P0e{constructor(t={}){super(t),this.widths=[].concat(t.messageWidth||50),this.align=[].concat(t.align||"left"),this.linebreak=t.linebreak||!1,this.edgeLength=t.edgeLength||3,this.newline=t.newline||`
|
|
291
291
|
`;let r=t.startNumber||1;typeof this.scale=="number"&&(this.scaleKey=!1,this.scale=Array(this.scale).fill(0).map((i,n)=>({name:n+r})))}async reset(){return this.tableized=!1,await super.reset(),this.render()}tableize(){if(this.tableized===!0)return;this.tableized=!0;let t=0;for(let r of this.choices){t=Math.max(t,r.message.length),r.scaleIndex=r.initial||2,r.scale=[];for(let i=0;i<this.scale.length;i++)r.scale.push({index:i})}this.widths[0]=Math.min(this.widths[0],t+3)}async dispatch(t,r){if(this.multiple)return this[r.name]?await this[r.name](t,r):await super.dispatch(t,r);this.alert()}heading(t,r,i){return this.styles.strong(t)}separator(){return this.styles.muted(this.symbols.ellipsis)}right(){let t=this.focused;return t.scaleIndex>=this.scale.length-1?this.alert():(t.scaleIndex++,this.render())}left(){let t=this.focused;return t.scaleIndex<=0?this.alert():(t.scaleIndex--,this.render())}indent(){return""}format(){return this.state.submitted?this.choices.map(r=>this.styles.info(r.index)).join(", "):""}pointer(){return""}renderScaleKey(){return this.scaleKey===!1||this.state.submitted?"":["",...this.scale.map(i=>` ${i.name} - ${i.message}`)].map(i=>this.styles.muted(i)).join(`
|
|
292
292
|
`)}renderScaleHeading(t){let r=this.scale.map(u=>u.name);typeof this.options.renderScaleHeading=="function"&&(r=this.options.renderScaleHeading.call(this,t));let i=this.scaleLength-r.join("").length,n=Math.round(i/(r.length-1)),o=r.map(u=>this.styles.strong(u)).join(" ".repeat(n)),a=" ".repeat(this.widths[0]);return this.margin[3]+a+this.margin[1]+o}scaleIndicator(t,r,i){if(typeof this.options.scaleIndicator=="function")return this.options.scaleIndicator.call(this,t,r,i);let n=t.scaleIndex===r.index;return r.disabled?this.styles.hint(this.symbols.radio.disabled):n?this.styles.success(this.symbols.radio.on):this.symbols.radio.off}renderScale(t,r){let i=t.scale.map(s=>this.scaleIndicator(t,s,r)),n=this.term==="Hyper"?"":" ";return i.join(n+this.symbols.line.repeat(this.edgeLength))}async renderChoice(t,r){await this.onChoice(t,r);let i=this.index===r,n=await this.pointer(t,r),s=await t.hint;s&&!HY.hasColor(s)&&(s=this.styles.muted(s));let o=g=>this.margin[3]+g.replace(/\s+$/,"").padEnd(this.widths[0]," "),a=this.newline,u=this.indent(t),l=await this.resolve(t.message,this.state,t,r),A=await this.renderScale(t,r),h=this.margin[1]+this.margin[3];this.scaleLength=O0e(A).length,this.widths[0]=Math.min(this.widths[0],this.width-this.scaleLength-h.length);let m=HY.wordWrap(l,{width:this.widths[0],newline:a}).split(`
|
|
293
293
|
`).map(g=>o(g)+this.margin[1]);return i&&(A=this.styles.info(A),m=m.map(g=>this.styles.info(g))),m[0]+=A,this.linebreak&&m.push(""),[u+n,m.join(`
|
|
294
294
|
`)].filter(Boolean)}async renderChoices(){if(this.state.submitted)return"";this.tableize();let t=this.visible.map(async(n,s)=>await this.renderChoice(n,s)),r=await Promise.all(t),i=await this.renderScaleHeading();return this.margin[0]+[i,...r.map(n=>n.join(" "))].join(`
|
|
295
295
|
`)}async render(){let{submitted:t,size:r}=this.state,i=await this.prefix(),n=await this.separator(),s=await this.message(),o="";this.options.promptLine!==!1&&(o=[i,s,n,""].join(" "),this.state.prompt=o);let a=await this.header(),u=await this.format(),l=await this.renderScaleKey(),A=await this.error()||await this.hint(),h=await this.renderChoices(),d=await this.footer(),m=this.emptyError;u&&(o+=u),A&&!o.includes(A)&&(o+=" "+A),t&&!u&&!h.trim()&&this.multiple&&m!=null&&(o+=this.styles.danger(m)),this.clear(r),this.write([a,o,l,h,d].filter(Boolean).join(`
|
|
296
|
-
`)),this.state.submitted||this.write(this.margin[2]),this.restore()}submit(){this.value={};for(let t of this.choices)this.value[t.name]=t.scaleIndex;return this.base.submit.call(this)}};YY.exports=Nk});var KY=X((
|
|
296
|
+
`)),this.state.submitted||this.write(this.margin[2]),this.restore()}submit(){this.value={};for(let t of this.choices)this.value[t.name]=t.scaleIndex;return this.base.submit.call(this)}};YY.exports=Nk});var KY=X((KTe,ZY)=>{"use strict";var JY=$a(),U0e=(e="")=>typeof e=="string"?e.replace(/^['"]|['"]$/g,""):"",Mk=class{constructor(t){this.name=t.key,this.field=t.field||{},this.value=U0e(t.initial||this.field.initial||""),this.message=t.message||this.name,this.cursor=0,this.input="",this.lines=[]}},q0e=async(e={},t={},r=i=>i)=>{let i=new Set,n=e.fields||[],s=e.template,o=[],a=[],u=[],l=1;typeof s=="function"&&(s=await s());let A=-1,h=()=>s[++A],d=()=>s[A+1],m=g=>{g.line=l,o.push(g)};for(m({type:"bos",value:""});A<s.length-1;){let g=h();if(/^[^\S\n ]$/.test(g)){m({type:"text",value:g});continue}if(g===`
|
|
297
297
|
`){m({type:"newline",value:g}),l++;continue}if(g==="\\"){g+=h(),m({type:"text",value:g});continue}if((g==="$"||g==="#"||g==="{")&&d()==="{"){let y=h();g+=y;let w={type:"template",open:g,inner:"",close:"",value:g},R;for(;R=h();){if(R==="}"){d()==="}"&&(R+=h()),w.value+=R,w.close=R;break}R===":"?(w.initial="",w.key=w.inner):w.initial!==void 0&&(w.initial+=R),w.value+=R,w.inner+=R}w.template=w.open+(w.initial||w.inner)+w.close,w.key=w.key||w.inner,hasOwnProperty.call(t,w.key)&&(w.initial=t[w.key]),w=r(w),m(w),u.push(w.key),i.add(w.key);let S=a.find(F=>F.name===w.key);w.field=n.find(F=>F.name===w.key),S||(S=new Mk(w),a.push(S)),S.lines.push(w.line-1);continue}let E=o[o.length-1];E.type==="text"&&E.line===l?E.value+=g:m({type:"text",value:g})}return m({type:"eos",value:""}),{input:s,tabstops:o,unique:i,keys:u,items:a}};ZY.exports=async e=>{let t=e.options,r=new Set(t.required===!0?[]:t.required||[]),i={...t.values,...t.initial},{tabstops:n,items:s,keys:o}=await q0e(t,i),a=Lk("result",e,t),u=Lk("format",e,t),l=Lk("validate",e,t,!0),A=e.isValue.bind(e);return async(h={},d=!1)=>{let m=0;h.required=r,h.items=s,h.keys=o,h.output="";let g=async(R,S,F,q)=>{let M=await l(R,S,F,q);return M===!1?"Invalid field "+F.name:M};for(let R of n){let S=R.value,F=R.key;if(R.type!=="template"){S&&(h.output+=S);continue}if(R.type==="template"){let q=s.find(k=>k.name===F);t.required===!0&&h.required.add(q.name);let M=[q.input,h.values[q.value],q.value,S].find(A),$=(q.field||{}).message||R.inner;if(d){let k=await g(h.values[F],h,q,m);if(k&&typeof k=="string"||k===!1){h.invalid.set(F,k);continue}h.invalid.delete(F);let Q=await a(h.values[F],h,q,m);h.output+=JY(Q);continue}q.placeholder=!1;let T=S;S=await u(S,h,q,m),M!==S?(h.values[F]=M,S=e.styles.typing(M),h.missing.delete($)):(h.values[F]=void 0,M=`<${$}>`,S=e.styles.primary(M),q.placeholder=!0,h.required.has(F)&&h.missing.add($)),h.missing.has($)&&h.validating&&(S=e.styles.warning(M)),h.invalid.has(F)&&h.validating&&(S=e.styles.danger(M)),m===h.index&&(T!==S?S=e.styles.underline(S):S=e.styles.heading(JY(S))),m++}S&&(h.output+=S)}let E=h.output.split(`
|
|
298
298
|
`).map(R=>" "+R),y=s.length,w=0;for(let R of s)h.invalid.has(R.name)&&R.lines.forEach(S=>{E[S][0]===" "&&(E[S]=h.styles.danger(h.symbols.bullet)+E[S].slice(1))}),e.isValue(h.values[R.name])&&w++;return h.completed=(w/y*100).toFixed(0),h.output=E.join(`
|
|
299
|
-
`),h.output}};function Lk(e,t,r,i){return(n,s,o,a)=>typeof o.field[e]=="function"?o.field[e].call(t,n,s,o,a):[i,n].find(u=>t.isValue(u))}});var eW=X((
|
|
299
|
+
`),h.output}};function Lk(e,t,r,i){return(n,s,o,a)=>typeof o.field[e]=="function"?o.field[e].call(t,n,s,o,a):[i,n].find(u=>t.isValue(u))}});var eW=X((XTe,XY)=>{"use strict";var V0e=$a(),$0e=KY(),G0e=op(),Ok=class extends G0e{constructor(t){super(t),this.cursorHide(),this.reset(!0)}async initialize(){this.interpolate=await $0e(this),await super.initialize()}async reset(t){this.state.keys=[],this.state.invalid=new Map,this.state.missing=new Set,this.state.completed=0,this.state.values={},t!==!0&&(await this.initialize(),await this.render())}moveCursor(t){let r=this.getItem();this.cursor+=t,r.cursor+=t}dispatch(t,r){if(!r.code&&!r.ctrl&&t!=null&&this.getItem()){this.append(t,r);return}this.alert()}append(t,r){let i=this.getItem(),n=i.input.slice(0,this.cursor),s=i.input.slice(this.cursor);this.input=i.input=`${n}${t}${s}`,this.moveCursor(1),this.render()}delete(){let t=this.getItem();if(this.cursor<=0||!t.input)return this.alert();let r=t.input.slice(this.cursor),i=t.input.slice(0,this.cursor-1);this.input=t.input=`${i}${r}`,this.moveCursor(-1),this.render()}increment(t){return t>=this.state.keys.length-1?0:t+1}decrement(t){return t<=0?this.state.keys.length-1:t-1}first(){this.state.index=0,this.render()}last(){this.state.index=this.state.keys.length-1,this.render()}right(){if(this.cursor>=this.input.length)return this.alert();this.moveCursor(1),this.render()}left(){if(this.cursor<=0)return this.alert();this.moveCursor(-1),this.render()}prev(){this.state.index=this.decrement(this.state.index),this.getItem(),this.render()}next(){this.state.index=this.increment(this.state.index),this.getItem(),this.render()}up(){this.prev()}down(){this.next()}format(t){let r=this.state.completed<100?this.styles.warning:this.styles.success;return this.state.submitted===!0&&this.state.completed!==100&&(r=this.styles.danger),r(`${this.state.completed}% completed`)}async render(){let{index:t,keys:r=[],submitted:i,size:n}=this.state,s=[this.options.newline,`
|
|
300
300
|
`].find(R=>R!=null),o=await this.prefix(),a=await this.separator(),u=await this.message(),l=[o,u,a].filter(Boolean).join(" ");this.state.prompt=l;let A=await this.header(),h=await this.error()||"",d=await this.hint()||"",m=i?"":await this.interpolate(this.state),g=this.state.key=r[t]||"",E=await this.format(g),y=await this.footer();E&&(l+=" "+E),d&&!E&&this.state.completed===0&&(l+=" "+d),this.clear(n);let w=[A,l,m,y,h.trim()];this.write(w.filter(Boolean).join(s)),this.restore()}getItem(t){let{items:r,keys:i,index:n}=this.state,s=r.find(o=>o.name===i[n]);return s&&s.input!=null&&(this.input=s.input,this.cursor=s.cursor),s}async submit(){typeof this.interpolate!="function"&&await this.initialize(),await this.interpolate(this.state,!0);let{invalid:t,missing:r,output:i,values:n}=this.state;if(t.size){let a="";for(let[u,l]of t)a+=`Invalid ${u}: ${l}
|
|
301
301
|
`;return this.state.error=a,super.submit()}if(r.size)return this.state.error="Required: "+[...r.keys()].join(", "),super.submit();let o=V0e(i).split(`
|
|
302
302
|
`).map(a=>a.slice(1)).join(`
|
|
303
|
-
`);return this.value={values:n,result:o},super.submit()}};XY.exports=Ok});var rW=X((
|
|
303
|
+
`);return this.value={values:n,result:o},super.submit()}};XY.exports=Ok});var rW=X((eFe,tW)=>{"use strict";var j0e="(Use <shift>+<up/down> to sort)",z0e=cu(),Pk=class extends z0e{constructor(t){super({...t,reorder:!1,sort:!0,multiple:!0}),this.state.hint=[this.options.hint,j0e].find(this.isValue.bind(this))}indicator(){return""}async renderChoice(t,r){let i=await super.renderChoice(t,r),n=this.symbols.identicalTo+" ",s=this.index===r&&this.sorting?this.styles.muted(n):" ";return this.options.drag===!1&&(s=""),this.options.numbered===!0?s+`${r+1} - `+i:s+i}get selected(){return this.choices}submit(){return this.value=this.choices.map(t=>t.value),super.submit()}};tW.exports=Pk});var nW=X((tFe,iW)=>{"use strict";var H0e=ng(),Uk=class extends H0e{constructor(t={}){if(super(t),this.emptyError=t.emptyError||"No items were selected",this.term=process.env.TERM_PROGRAM,!this.options.header){let r=["","4 - Strongly Agree","3 - Agree","2 - Neutral","1 - Disagree","0 - Strongly Disagree",""];r=r.map(i=>this.styles.muted(i)),this.state.header=r.join(`
|
|
304
304
|
`)}}async toChoices(...t){if(this.createdScales)return!1;this.createdScales=!0;let r=await super.toChoices(...t);for(let i of r)i.scale=Y0e(5,this.options),i.scaleIdx=2;return r}dispatch(){this.alert()}space(){let t=this.focused,r=t.scale[t.scaleIdx],i=r.selected;return t.scale.forEach(n=>n.selected=!1),r.selected=!i,this.render()}indicator(){return""}pointer(){return""}separator(){return this.styles.muted(this.symbols.ellipsis)}right(){let t=this.focused;return t.scaleIdx>=t.scale.length-1?this.alert():(t.scaleIdx++,this.render())}left(){let t=this.focused;return t.scaleIdx<=0?this.alert():(t.scaleIdx--,this.render())}indent(){return" "}async renderChoice(t,r){await this.onChoice(t,r);let i=this.index===r,n=this.term==="Hyper",s=n?9:8,o=n?"":" ",a=this.symbols.line.repeat(s),u=" ".repeat(s+(n?0:1)),l=S=>(S?this.styles.success("\u25C9"):"\u25EF")+o,A=r+1+".",h=i?this.styles.heading:this.styles.noop,d=await this.resolve(t.message,this.state,t,r),m=this.indent(t),g=m+t.scale.map((S,F)=>l(F===t.scaleIdx)).join(a),E=S=>S===t.scaleIdx?h(S):S,y=m+t.scale.map((S,F)=>E(F)).join(u),w=()=>[A,d].filter(Boolean).join(" "),R=()=>[w(),g,y," "].filter(Boolean).join(`
|
|
305
305
|
`);return i&&(g=this.styles.cyan(g),y=this.styles.cyan(y)),R()}async renderChoices(){if(this.state.submitted)return"";let t=this.visible.map(async(i,n)=>await this.renderChoice(i,n)),r=await Promise.all(t);return r.length||r.push(this.styles.danger("No matching choices")),r.join(`
|
|
306
306
|
`)}format(){return this.state.submitted?this.choices.map(r=>this.styles.info(r.scaleIdx)).join(", "):""}async render(){let{submitted:t,size:r}=this.state,i=await this.prefix(),n=await this.separator(),s=await this.message(),o=[i,s,n].filter(Boolean).join(" ");this.state.prompt=o;let a=await this.header(),u=await this.format(),l=await this.error()||await this.hint(),A=await this.renderChoices(),h=await this.footer();(u||!l)&&(o+=" "+u),l&&!o.includes(l)&&(o+=" "+l),t&&!u&&!A&&this.multiple&&this.type!=="form"&&(o+=this.styles.danger(this.emptyError)),this.clear(r),this.write([o,a,A,h].filter(Boolean).join(`
|
|
307
|
-
`)),this.restore()}submit(){this.value={};for(let t of this.choices)this.value[t.name]=t.scaleIdx;return this.base.submit.call(this)}};function Y0e(e,t={}){if(Array.isArray(t.scale))return t.scale.map(i=>({...i}));let r=[];for(let i=1;i<e+1;i++)r.push({i,selected:!1});return r}iW.exports=Uk});var oW=X((
|
|
308
|
-
`)),this.write(this.margin[2]),this.restore()}};aW.exports=qk});var lW=X((oFe,uW)=>{"use strict";var J0e=cu(),Vk=class extends J0e{constructor(t){if(super(t),typeof this.options.correctChoice!="number"||this.options.correctChoice<0)throw new Error("Please specify the index of the correct answer from the list of choices")}async toChoices(t,r){let i=await super.toChoices(t,r);if(i.length<2)throw new Error("Please give at least two choices to the user");if(this.options.correctChoice>i.length)throw new Error("Please specify the index of the correct answer from the list of choices");return i}check(t){return t.index===this.options.correctChoice}async result(t){return{selectedAnswer:t,correctAnswer:this.options.choices[this.options.correctChoice].value,correct:await this.check(this.state)}}};uW.exports=Vk});var AW=X($k=>{"use strict";var hW=Xi(),Ei=(e,t)=>{hW.defineExport($k,e,t),hW.defineExport($k,e.toLowerCase(),t)};Ei("AutoComplete",()=>EY());Ei("BasicAuth",()=>vY());Ei("Confirm",()=>SY());Ei("Editable",()=>kY());Ei("Form",()=>Fy());Ei("Input",()=>Sk());Ei("Invisible",()=>MY());Ei("List",()=>PY());Ei("MultiSelect",()=>qY());Ei("Numeral",()=>GY());Ei("Password",()=>zY());Ei("Scale",()=>WY());Ei("Select",()=>cu());Ei("Snippet",()=>eW());Ei("Sort",()=>rW());Ei("Survey",()=>nW());Ei("Text",()=>oW());Ei("Toggle",()=>cW());Ei("Quiz",()=>lW())});var dW=X((cFe,pW)=>{pW.exports={ArrayPrompt:ng(),AuthPrompt:Ik(),BooleanPrompt:Ny(),NumberPrompt:Tk(),StringPrompt:Nl()}});var mW=X((uFe,gW)=>{"use strict";var fW=require("assert"),jk=require("events"),uu=Xi(),co=class extends jk{constructor(t,r){super(),this.options=uu.merge({},t),this.answers={...r}}register(t,r){if(uu.isObject(t)){for(let n of Object.keys(t))this.register(n,t[n]);return this}fW.equal(typeof r,"function","expected a function");let i=t.toLowerCase();return r.prototype instanceof this.Prompt?this.prompts[i]=r:this.prompts[i]=r(this.Prompt,this),this}async prompt(t=[]){for(let r of[].concat(t))try{typeof r=="function"&&(r=await r.call(this)),await this.ask(uu.merge({},this.options,r))}catch(i){return Promise.reject(i)}return this.answers}async ask(t){typeof t=="function"&&(t=await t.call(this));let r=uu.merge({},this.options,t),{type:i,name:n}=t,{set:s,get:o}=uu;if(typeof i=="function"&&(i=await i.call(this,t,this.answers)),!i)return this.answers[n];i==="number"&&(i="numeral"),fW(this.prompts[i],`Prompt "${i}" is not registered`);let a=new this.prompts[i](r),u=o(this.answers,n);a.state.answers=this.answers,a.enquirer=this,n&&a.on("submit",A=>{this.emit("answer",n,A,a),s(this.answers,n,A)});let l=a.emit.bind(a);return a.emit=(...A)=>(this.emit.call(this,...A),l(...A)),this.emit("prompt",a,this),r.autofill&&u!=null?(a.value=a.input=u,r.autofill==="show"&&await a.submit()):u=a.value=await a.run(),u}use(t){return t.call(this,this),this}set Prompt(t){this._Prompt=t}get Prompt(){return this._Prompt||this.constructor.Prompt}get prompts(){return this.constructor.prompts}static set Prompt(t){this._Prompt=t}static get Prompt(){return this._Prompt||op()}static get prompts(){return AW()}static get types(){return dW()}static get prompt(){let t=(r,...i)=>{let n=new this(...i),s=n.emit.bind(n);return n.emit=(...o)=>(t.emit(...o),s(...o)),n.prompt(r)};return uu.mixinEmitter(t,new jk),t}};uu.mixinEmitter(co,new jk);var Gk=co.prompts;for(let e of Object.keys(Gk)){let t=e.toLowerCase(),r=i=>new Gk[e](i).run();co.prompt[t]=r,co[t]=r,co[e]||Reflect.defineProperty(co,e,{get:()=>Gk[e]})}var sg=e=>{uu.defineExport(co,e,()=>co.types[e])};sg("ArrayPrompt");sg("AuthPrompt");sg("BooleanPrompt");sg("NumberPrompt");sg("StringPrompt");gW.exports=co});var al=require("node:fs"),gC=require("node:fs/promises"),g3=require("node:os");lh();var zy=require("node:module"),cR=Li(aR(),1),TW={};function kW(e){throw e}var RW=e=>import(e),jy;function _W(...e){return jy||(jy=(0,zy.createRequire)(TW.url)("../dist/babel.cjs")),jy(...e)}function uR(e,t={}){return t.transform||(t={...t,transform:_W}),(0,cR.default)(e,t,{onError:kW,nativeImport:RW,createRequire:zy.createRequire})}zb();var Ad=require("node:fs"),_T=require("node:path"),TT=require("node:os");var $X=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,GX=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,jX=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function zX(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){HX(e);return}return t}function HX(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function RT(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);let r=e.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!jX.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if($X.test(e)||GX.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,zX)}return JSON.parse(e)}catch(i){if(t.strict)throw i;return e}}bc();function FT(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function NT(e){return e}function YX(e,t){t=t||{};let r=t.delimiter||".",i=t.maxDepth,n=t.transformKey||NT,s={};function o(a,u,l){l=l||1,Object.keys(a).forEach(function(A){let h=a[A],d=t.safe&&Array.isArray(h),m=Object.prototype.toString.call(h),g=FT(h),E=m==="[object Object]"||m==="[object Array]",y=u?u+r+n(A):n(A);if(!d&&!g&&E&&Object.keys(h).length&&(!t.maxDepth||l<i))return o(h,y,l+1);s[y]=h})}return o(e),s}function LT(e,t){t=t||{};let r=t.delimiter||".",i=t.overwrite||!1,n=t.transformKey||NT,s={};if(FT(e)||Object.prototype.toString.call(e)!=="[object Object]")return e;function a(A){let h=Number(A);return isNaN(h)||A.indexOf(".")!==-1||t.object?A:h}function u(A,h,d){return Object.keys(d).reduce(function(m,g){return m[A+r+g]=d[g],m},h)}function l(A){let h=Object.prototype.toString.call(A),d=h==="[object Array]",m=h==="[object Object]";if(A){if(d)return!A.length;if(m)return!Object.keys(A).length}else return!0}return e=Object.keys(e).reduce(function(A,h){let d=Object.prototype.toString.call(e[h]);return!(d==="[object Object]"||d==="[object Array]")||l(e[h])?(A[h]=e[h],A):u(h,A,YX(e[h],t))},{}),Object.keys(e).forEach(function(A){let h=A.split(r).map(n),d=a(h.shift()),m=a(h[0]),g=s;for(;m!==void 0;){if(d==="__proto__")return;let E=Object.prototype.toString.call(g[d]),y=E==="[object Object]"||E==="[object Array]";if(!i&&!y&&typeof g[d]<"u")return;(i&&!y||!i&&g[d]==null)&&(g[d]=typeof m=="number"&&!t.object?[]:{}),g=g[d],h.length>0&&(d=a(h.shift()),m=a(h[0]))}g[d]=LT(e[A],t)}),s}var WX=/^\s*([^\s=]+)\s*=\s*(.*)?\s*$/,JX=/\n|\r|\r\n/,ZX={name:".conf",dir:process.cwd(),flat:!1};function MT(e){return typeof e=="string"&&(e={name:e}),{...ZX,...e}}function KX(e,t={}){let r={},i=e.split(JX);for(let n of i){let s=n.match(WX);if(!s)continue;let o=s[1];if(!o||o==="__proto__"||o==="constructor")continue;let a=RT((s[2]||"").trim());if(o.endsWith("[]")){let u=o.slice(0,Math.max(0,o.length-2));r[u]=(r[u]||[]).concat(a);continue}r[o]=a}return t.flat?r:LT(r,{overwrite:!0})}function XX(e,t){return(0,Ad.existsSync)(e)?KX((0,Ad.readFileSync)(e,"utf8"),t):{}}function Cm(e){return e=MT(e),XX((0,_T.resolve)(e.dir,e.name),e)}function OT(e){return e=MT(e),e.dir=process.env.XDG_CONFIG_HOME||(0,TT.homedir)(),Cm(e)}bc();cT();var m3=Li(oI(),1);async function Use(e){let t=e.env??process.env,r=await qse({cwd:e.cwd,fileName:e.fileName??".env",env:t,interpolate:e.interpolate??!0});for(let i in r)!i.startsWith("_")&&t[i]===void 0&&(t[i]=r[i]);return r}async function qse(e){let t=Object.create(null),r=xr(e.cwd,e.fileName);if((0,al.existsSync)(r)){let i=m3.parse(await al.promises.readFile(r,"utf8"));Object.assign(t,i)}return e.env?._applied||(Object.assign(t,e.env),t._applied=!0),e.interpolate&&Vse(t),t}function Vse(e,t={},r=i=>i){function i(s){return t[s]===void 0?e[s]:t[s]}function n(s,o=[]){if(typeof s!="string")return s;let a=s.match(/(.?\${?(?:[\w:]+)?}?)/g)||[];return r(a.reduce((u,l)=>{let A=/(.?)\${?([\w:]+)?}?/g.exec(l)||[],h=A[1],d,m;if(h==="\\")m=A[0]||"",d=m.replace(String.raw`\$`,"$");else{let g=A[2];if(m=(A[0]||"").slice(h.length),o.includes(g))return console.warn(`Please avoid recursive environment variables ( loop: ${o.join(" > ")} > ${g} )`),"";d=i(g),d=n(d,[...o,g])}return d===void 0?u:u.replace(m,d)},s))}for(let s in e)e[s]=n(i(s))}var d3=e=>e?.replace(/\\/g,"/"),f3={".yaml":()=>Promise.resolve().then(()=>(Lb(),Nb)).then(e=>e.parseYAML),".yml":()=>Promise.resolve().then(()=>(Lb(),Nb)).then(e=>e.parseYAML),".jsonc":()=>Promise.resolve().then(()=>(jT(),GT)).then(e=>e.parseJSONC),".json5":()=>Promise.resolve().then(()=>(a_(),o_)).then(e=>e.parseJSON5),".toml":()=>Promise.resolve().then(()=>(iT(),rT)).then(e=>e.parseTOML)},E3=[".js",".ts",".mjs",".cjs",".mts",".cts",".json",".jsonc",".json5",".yaml",".yml",".toml"];async function mC(e){e.cwd=xr(process.cwd(),e.cwd||"."),e.name=e.name||"config",e.envName=e.envName??process.env.NODE_ENV,e.configFile=e.configFile??(e.name==="config"?"config":`${e.name}.config`),e.rcFile=e.rcFile??`.${e.name}rc`,e.extend!==!1&&(e.extend={extendKey:"extends",...e.extend});let t=e.merger||gs;e.jiti=e.jiti||uR(Us(e.cwd,e.configFile),{interopDefault:!0,moduleCache:!1,extensions:[...E3],...e.jitiOptions});let r={config:{},cwd:e.cwd,configFile:xr(e.cwd,e.configFile),layers:[]},i={overrides:e.overrides,main:void 0,rc:void 0,packageJson:void 0,defaultConfig:e.defaultConfig};e.dotenv&&await Use({cwd:e.cwd,...e.dotenv===!0?{}:e.dotenv});let n=await y3(".",e);if(n.configFile&&(i.main=n.config,r.configFile=n.configFile),n.meta&&(r.meta=n.meta),e.rcFile){let a=[];if(a.push(Cm({name:e.rcFile,dir:e.cwd})),e.globalRc){let u=await aT(e.cwd).catch(()=>{});u&&a.push(Cm({name:e.rcFile,dir:u})),a.push(OT({name:e.rcFile,dir:e.cwd}))}i.rc=t({},...a)}if(e.packageJson){let a=(Array.isArray(e.packageJson)?e.packageJson:[typeof e.packageJson=="string"?e.packageJson:e.name]).filter(A=>A&&typeof A=="string"),u=await oT(e.cwd).catch(()=>{}),l=a.map(A=>u?.[A]);i.packageJson=t({},...l)}let s={};for(let a in i){let u=i[a];s[a]=await(typeof u=="function"?u({configs:s}):u)}r.config=t(s.overrides,s.main,s.rc,s.packageJson,s.defaultConfig),e.extend&&(await C3(r.config,e),r.layers=r.config._layers,delete r.config._layers,r.config=t(r.config,...r.layers.map(a=>a.config)));let o=[s.overrides&&{config:s.overrides,configFile:void 0,cwd:void 0},{config:s.main,configFile:e.configFile,cwd:e.cwd},s.rc&&{config:s.rc,configFile:e.rcFile},s.packageJson&&{config:s.packageJson,configFile:"package.json"}].filter(a=>a&&a.config);if(r.layers=[...o,...r.layers],e.defaults&&(r.config=t(r.config,e.defaults)),e.omit$Keys)for(let a in r.config)a.startsWith("$")&&delete r.config[a];return r}async function C3(e,t){if(e._layers=e._layers||[],!t.extend)return;let r=t.extend.extendKey;typeof r=="string"&&(r=[r]);let i=[];for(let n of r)i.push(...(Array.isArray(e[n])?e[n]:[e[n]]).filter(Boolean)),delete e[n];for(let n of i){let s=n,o={};if(n.source&&(o=n.options||{},n=n.source),Array.isArray(n)&&(o=n[1]||{},n=n[0]),typeof n!="string"){console.warn(`Cannot extend config from \`${JSON.stringify(s)}\` in ${t.cwd}`);continue}let a=await y3(n,t,o);if(!a.config){console.warn(`Cannot extend config from \`${n}\` in ${t.cwd}`);continue}await C3(a.config,{...t,cwd:a.cwd}),e._layers.push(a),a.config._layers&&(e._layers.push(...a.config._layers),delete a.config._layers)}}var $se=["gh:","github:","gitlab:","bitbucket:","https://","http://"],Gse=/^(@[\da-z~-][\d._a-z~-]*\/)?[\da-z~-][\d._a-z~-]*($|\/.*)/;async function y3(e,t,r={}){if(t.resolve){let A=await t.resolve(e,t);if(A)return A}let i=t.merger||gs;if(t.giget!==!1&&$se.some(A=>e.startsWith(A))){let{downloadTemplate:A}=await Promise.resolve().then(()=>(a3(),o3)),{digest:h}=await Promise.resolve().then(()=>(p3(),A3)),d=e.replace(/\W+/g,"_").split("_").splice(0,3).join("_")+"_"+h(e).slice(0,10).replace(/[-_]/g,""),m,g=xr(t.cwd,"node_modules"),E=sa(t.cwd);uh(E)===".c12"?m=Us(E,d):(0,al.existsSync)(g)?m=Us(g,".c12",d):m=process.env.XDG_CACHE_HOME?xr(process.env.XDG_CACHE_HOME,"c12",d):xr((0,g3.homedir)(),".cache/c12",d),(0,al.existsSync)(m)&&!r.install&&await(0,gC.rm)(m,{recursive:!0}),e=(await A(e,{dir:m,install:r.install,force:r.install,auth:r.auth,...t.giget,...r.giget})).dir}let n=A=>{let h=t.jiti.esmResolve(A,{try:!0});return h?Ih(h):void 0};Gse.test(e)&&(e=n(e)||e);let s=jp(e),o=!s||s===uh(e),a=xr(t.cwd,o?e:sa(e));o&&(e=t.configFile);let u={config:void 0,configFile:void 0,cwd:a,source:e,sourceOptions:r};if(u.configFile=n(xr(a,e))||n(xr(a,".config",e.replace(/\.config$/,"")))||n(xr(a,".config",e))||e,!(0,al.existsSync)(u.configFile))return u;let l=jp(u.configFile)||"";if(l in f3){let A=await f3[l](),h=await(0,gC.readFile)(u.configFile,"utf8");u.config=A(h)}else u.config=await t.jiti.import(u.configFile,{default:!0});if(u.config instanceof Function&&(u.config=await u.config()),t.envName){let A={...u.config["$"+t.envName],...u.config.$env?.[t.envName]};Object.keys(A).length>0&&(u.config=i(A,u.config))}return u.meta=gs(u.sourceOptions.meta,u.config.$meta),delete u.config.$meta,u.sourceOptions.overrides&&(u.config=i(u.sourceOptions.overrides,u.config)),u.configFile=d3(u.configFile),u.source=d3(u.source),u}bc();var BBe=Li(oI(),1);bc();var jse=Math.pow(10,8)*24*60*60*1e3,xBe=-jse;var cf=43200,Ox=1440;var zse=3600;var b3=zse*24,QBe=b3*7,Hse=b3*365.2425,Yse=Hse/12,SBe=Yse*3,Px=Symbol.for("constructDateFrom");function hA(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Px in e?e[Px](t):e instanceof Date?new e.constructor(t):new Date(t)}function I3(e){return hA(e,Date.now())}var Wse={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},w3=(e,t,r)=>{let i,n=Wse[e];return typeof n=="string"?i=n:t===1?i=n.one:i=n.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};function EC(e){return(t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var Jse={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Zse={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Kse={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},B3={date:EC({formats:Jse,defaultWidth:"full"}),time:EC({formats:Zse,defaultWidth:"full"}),dateTime:EC({formats:Kse,defaultWidth:"full"})};var Xse={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},v3=(e,t,r,i)=>Xse[e];function AA(e){return(t,r)=>{let i=r?.context?String(r.context):"standalone",n;if(i==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,a=r?.width?String(r.width):o;n=e.formattingValues[a]||e.formattingValues[o]}else{let o=e.defaultWidth,a=r?.width?String(r.width):e.defaultWidth;n=e.values[a]||e.values[o]}let s=e.argumentCallback?e.argumentCallback(t):t;return n[s]}}var eoe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},toe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},roe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ioe={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},noe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},soe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ooe=(e,t)=>{let r=Number(e),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},x3={ordinalNumber:ooe,era:AA({values:eoe,defaultWidth:"wide"}),quarter:AA({values:toe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:AA({values:roe,defaultWidth:"wide"}),day:AA({values:ioe,defaultWidth:"wide"}),dayPeriod:AA({values:noe,defaultWidth:"wide",formattingValues:soe,defaultFormattingWidth:"wide"})};function pA(e){return(t,r={})=>{let i=r.width,n=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=t.match(n);if(!s)return null;let o=s[0],a=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(a)?coe(a,h=>h.test(o)):aoe(a,h=>h.test(o)),l;l=e.valueCallback?e.valueCallback(u):u,l=r.valueCallback?r.valueCallback(l):l;let A=t.slice(o.length);return{value:l,rest:A}}}function aoe(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function coe(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function Q3(e){return(t,r={})=>{let i=t.match(e.matchPattern);if(!i)return null;let n=i[0],s=t.match(e.parsePattern);if(!s)return null;let o=e.valueCallback?e.valueCallback(s[0]):s[0];o=r.valueCallback?r.valueCallback(o):o;let a=t.slice(n.length);return{value:o,rest:a}}}var uoe=/^(\d+)(th|st|nd|rd)?/i,loe=/\d+/i,hoe={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Aoe={any:[/^b/i,/^(a|c)/i]},poe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},doe={any:[/1/i,/2/i,/3/i,/4/i]},foe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},goe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},moe={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Eoe={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Coe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},yoe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},S3={ordinalNumber:Q3({matchPattern:uoe,parsePattern:loe,valueCallback:e=>parseInt(e,10)}),era:pA({matchPatterns:hoe,defaultMatchWidth:"wide",parsePatterns:Aoe,defaultParseWidth:"any"}),quarter:pA({matchPatterns:poe,defaultMatchWidth:"wide",parsePatterns:doe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:pA({matchPatterns:foe,defaultMatchWidth:"wide",parsePatterns:goe,defaultParseWidth:"any"}),day:pA({matchPatterns:moe,defaultMatchWidth:"wide",parsePatterns:Eoe,defaultParseWidth:"any"}),dayPeriod:pA({matchPatterns:Coe,defaultMatchWidth:"any",parsePatterns:yoe,defaultParseWidth:"any"})};var Ux={code:"en-US",formatDistance:w3,formatLong:B3,formatRelative:v3,localize:x3,match:S3,options:{weekStartsOn:0,firstWeekContainsDate:1}};var boe={};function D3(){return boe}function Qn(e,t){return hA(t||e,e)}function qx(e){let t=Qn(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function dA(e,...t){let r=hA.bind(null,e||t.find(i=>typeof i=="object"));return t.map(r)}function fA(e,t){let r=+Qn(e)-+Qn(t);return r<0?-1:r>0?1:r}function k3(e,t,r){let[i,n]=dA(r?.in,e,t),s=i.getFullYear()-n.getFullYear(),o=i.getMonth()-n.getMonth();return s*12+o}function R3(e,t){let r=Qn(e,t?.in);return r.setHours(23,59,59,999),r}function _3(e,t){let r=Qn(e,t?.in),i=r.getMonth();return r.setFullYear(r.getFullYear(),i+1,0),r.setHours(23,59,59,999),r}function T3(e,t){let r=Qn(e,t?.in);return+R3(r,t)==+_3(r,t)}function F3(e,t,r){let[i,n,s]=dA(r?.in,e,e,t),o=fA(n,s),a=Math.abs(k3(n,s));if(a<1)return 0;n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-o*a);let u=fA(n,s)===-o;T3(i)&&a===1&&fA(i,s)===1&&(u=!1);let l=o*(a-+u);return l===0?0:l}function N3(e){return t=>{let i=(e?Math[e]:Math.trunc)(t);return i===0?0:i}}function L3(e,t){return+Qn(e)-+Qn(t)}function M3(e,t,r){let i=L3(e,t)/1e3;return N3(r?.roundingMethod)(i)}function O3(e,t,r){let i=D3(),n=r?.locale??i.locale??Ux,s=2520,o=fA(e,t);if(isNaN(o))throw new RangeError("Invalid time value");let a=Object.assign({},r,{addSuffix:r?.addSuffix,comparison:o}),[u,l]=dA(r?.in,...o>0?[t,e]:[e,t]),A=M3(l,u),h=(qx(l)-qx(u))/1e3,d=Math.round((A-h)/60),m;if(d<2)return r?.includeSeconds?A<5?n.formatDistance("lessThanXSeconds",5,a):A<10?n.formatDistance("lessThanXSeconds",10,a):A<20?n.formatDistance("lessThanXSeconds",20,a):A<40?n.formatDistance("halfAMinute",0,a):A<60?n.formatDistance("lessThanXMinutes",1,a):n.formatDistance("xMinutes",1,a):d===0?n.formatDistance("lessThanXMinutes",1,a):n.formatDistance("xMinutes",d,a);if(d<45)return n.formatDistance("xMinutes",d,a);if(d<90)return n.formatDistance("aboutXHours",1,a);if(d<Ox){let g=Math.round(d/60);return n.formatDistance("aboutXHours",g,a)}else{if(d<s)return n.formatDistance("xDays",1,a);if(d<cf){let g=Math.round(d/Ox);return n.formatDistance("xDays",g,a)}else if(d<cf*2)return m=Math.round(d/cf),n.formatDistance("aboutXMonths",m,a)}if(m=F3(l,u),m<12){let g=Math.round(d/cf);return n.formatDistance("xMonths",g,a)}else{let g=m%12,E=Math.trunc(m/12);return g<3?n.formatDistance("aboutXYears",E,a):g<9?n.formatDistance("overXYears",E,a):n.formatDistance("almostXYears",E+1,a)}}function P3(e,t){return O3(e,I3(e),t)}var qt={SILENT:0,FATAL:10,ERROR:20,WARN:30,SUCCESS:35,INFO:40,PERFORMANCE:50,DEBUG:60,TRACE:70,ALL:100},mr={SILENT:"silent",FATAL:"fatal",ERROR:"error",WARN:"warn",SUCCESS:"success",INFO:"info",PERFORMANCE:"performance",DEBUG:"debug",TRACE:"trace",ALL:"all"};var An={light:{background:"#fafafa",foreground:"#1d1e22",brand:"#1fb2a6",alternate:"#db2777",discovery:"#5C4EE5",success:"#087f5b",info:"#0550ae",debug:"#8afafc",warning:"#e3b341",danger:"#D8314A",fatal:"#51070f",performance:"#13c302",link:"#3fa6ff",positive:"#22c55e",negative:"#dc2626",gradient:["#1fb2a6","#db2777","#5C4EE5"]},dark:{background:"#1e2124",foreground:"#cbd5e1",brand:"#2dd4bf",alternate:"#db2777",discovery:"#818cf8",success:"#10b981",info:"#58a6ff",debug:"#8afafc",warning:"#f3d371",danger:"#D8314A",fatal:"#a40e26",performance:"#80fd74",link:"#3fa6ff",positive:"#22c55e",negative:"#dc2626",gradient:["#1fb2a6","#db2777","#818cf8"]}};function Ioe(e){if(!e?.colors||typeof e.colors!="object"||!e.colors.dark&&(!e.colors.base||typeof e.colors!="object"||!e.colors.base?.dark))return An;if(e.colors.base){if(typeof e.colors.base.dark=="object")return e.colors.base.dark;if(e.colors.base.dark==="string")return e.colors.base}return typeof e.colors.dark=="object"?e.colors.dark:e.colors??An}function uf(e,t){let r=Ioe(t),i=(typeof r.dark=="object"?r.dark[e]:r[e])||An.dark[e]||An[e];return i||uf(e==="link"||e==="debug"?"info":e==="fatal"?"danger":"brand",t)}var mq=Li(cl(),1),Hoe={hex:e=>t=>t,bgHex:e=>({whiteBright:t=>t,white:t=>t}),white:e=>e,whiteBright:e=>e,gray:e=>e,bold:{hex:e=>t=>t,bgHex:e=>({whiteBright:t=>t,white:t=>t}),whiteBright:e=>e,white:e=>e},dim:{hex:e=>t=>t,gray:e=>e}},Xx=()=>{let e=mq.default;return(!e?.hex||!e?.bold?.hex||!e?.bgHex||!e?.whiteBright||!e?.white)&&(e=Hoe),e};function Eq(){return process.platform!=="win32"?process.env.TERM!=="linux":!!process.env.WT_SESSION||!!process.env.TERMINUS_SUBLIME||process.env.ConEmuTask==="{cmd::Cmder}"||process.env.TERM_PROGRAM==="Terminus-Sublime"||process.env.TERM_PROGRAM==="vscode"||process.env.TERM==="xterm-256color"||process.env.TERM==="alacritty"||process.env.TERM==="rxvt-unicode"||process.env.TERM==="rxvt-unicode-256color"||process.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Ua=(e,t)=>Eq()?e:t,Lo={[mr.ERROR]:Ua("\u2718","\xD7"),[mr.FATAL]:Ua("\u{1F571}","\xD7"),[mr.WARN]:Ua("\u26A0","\u203C"),[mr.INFO]:Ua("\u2139","i"),[mr.PERFORMANCE]:Ua("\u23F1","\u23F1"),[mr.SUCCESS]:Ua("\u2714","\u221A"),[mr.DEBUG]:Ua("\u{1F6E0}","D"),[mr.TRACE]:Ua("\u2699","T"),[mr.ALL]:Ua("\u2709","\u2192")};var Mo=(e=!1,t=new Date)=>e?`${t.toLocaleDateString()} ${t.toLocaleTimeString()}`:`${t.toLocaleTimeString()}`;var yA=e=>{switch(e){case"all":return qt.ALL;case"trace":return qt.TRACE;case"debug":return qt.DEBUG;case"performance":return qt.PERFORMANCE;case"info":return qt.INFO;case"warn":return qt.WARN;case"error":return qt.ERROR;case"fatal":return qt.FATAL;case"silent":return qt.SILENT;default:return qt.INFO}},Cq=(e=qt.INFO)=>e>=qt.ALL?mr.ALL:e>=qt.TRACE?mr.TRACE:e>=qt.DEBUG?mr.DEBUG:e>=qt.PERFORMANCE?mr.PERFORMANCE:e>=qt.INFO?mr.INFO:e>=qt.WARN?mr.WARN:e>=qt.ERROR?mr.ERROR:e>=qt.FATAL?mr.FATAL:e<=qt.SILENT?mr.SILENT:mr.INFO;var bA=(e=qt.INFO,t={},r={})=>{let{chalk:i=Xx(),fullDateTime:n=!1,hideDateTime:s=!1}=r,o=!t.colors?.dark&&!t.colors?.base&&!t.colors?.base?.dark?An:t.colors?.dark&&typeof t.colors.dark=="string"?t.colors:t.colors?.base?.dark&&typeof t.colors.base.dark=="string"?t.colors.base.dark:t.colors?.base?t.colors?.base:An,a=t.logLevel||process.env.STORM_LOG_LEVEL||mr.INFO;return e>yA(a)||e<=qt.SILENT||yA(a)<=qt.SILENT?u=>{}:typeof e=="number"&&qt.FATAL>=e?u=>{console.error(`
|
|
307
|
+
`)),this.restore()}submit(){this.value={};for(let t of this.choices)this.value[t.name]=t.scaleIdx;return this.base.submit.call(this)}};function Y0e(e,t={}){if(Array.isArray(t.scale))return t.scale.map(i=>({...i}));let r=[];for(let i=1;i<e+1;i++)r.push({i,selected:!1});return r}iW.exports=Uk});var oW=X((rFe,sW)=>{sW.exports=Sk()});var cW=X((iFe,aW)=>{"use strict";var W0e=Ny(),qk=class extends W0e{async initialize(){await super.initialize(),this.value=this.initial=this.resolve(this.options.initial),this.disabled=this.options.disabled||"no",this.enabled=this.options.enabled||"yes",await this.render()}reset(){this.value=this.initial,this.render()}delete(){this.alert()}toggle(){this.value=!this.value,this.render()}enable(){if(this.value===!0)return this.alert();this.value=!0,this.render()}disable(){if(this.value===!1)return this.alert();this.value=!1,this.render()}up(){this.toggle()}down(){this.toggle()}right(){this.toggle()}left(){this.toggle()}next(){this.toggle()}prev(){this.toggle()}dispatch(t="",r){switch(t.toLowerCase()){case" ":return this.toggle();case"1":case"y":case"t":return this.enable();case"0":case"n":case"f":return this.disable();default:return this.alert()}}format(){let t=i=>this.styles.primary.underline(i);return[this.value?this.disabled:t(this.disabled),this.value?t(this.enabled):this.enabled].join(this.styles.muted(" / "))}async render(){let{size:t}=this.state,r=await this.header(),i=await this.prefix(),n=await this.separator(),s=await this.message(),o=await this.format(),a=await this.error()||await this.hint(),u=await this.footer(),l=[i,s,n,o].join(" ");this.state.prompt=l,a&&!l.includes(a)&&(l+=" "+a),this.clear(t),this.write([r,l,u].filter(Boolean).join(`
|
|
308
|
+
`)),this.write(this.margin[2]),this.restore()}};aW.exports=qk});var lW=X((nFe,uW)=>{"use strict";var J0e=cu(),Vk=class extends J0e{constructor(t){if(super(t),typeof this.options.correctChoice!="number"||this.options.correctChoice<0)throw new Error("Please specify the index of the correct answer from the list of choices")}async toChoices(t,r){let i=await super.toChoices(t,r);if(i.length<2)throw new Error("Please give at least two choices to the user");if(this.options.correctChoice>i.length)throw new Error("Please specify the index of the correct answer from the list of choices");return i}check(t){return t.index===this.options.correctChoice}async result(t){return{selectedAnswer:t,correctAnswer:this.options.choices[this.options.correctChoice].value,correct:await this.check(this.state)}}};uW.exports=Vk});var AW=X($k=>{"use strict";var hW=Xi(),Ei=(e,t)=>{hW.defineExport($k,e,t),hW.defineExport($k,e.toLowerCase(),t)};Ei("AutoComplete",()=>EY());Ei("BasicAuth",()=>vY());Ei("Confirm",()=>SY());Ei("Editable",()=>kY());Ei("Form",()=>Fy());Ei("Input",()=>Sk());Ei("Invisible",()=>MY());Ei("List",()=>PY());Ei("MultiSelect",()=>qY());Ei("Numeral",()=>GY());Ei("Password",()=>zY());Ei("Scale",()=>WY());Ei("Select",()=>cu());Ei("Snippet",()=>eW());Ei("Sort",()=>rW());Ei("Survey",()=>nW());Ei("Text",()=>oW());Ei("Toggle",()=>cW());Ei("Quiz",()=>lW())});var dW=X((oFe,pW)=>{pW.exports={ArrayPrompt:ng(),AuthPrompt:Ik(),BooleanPrompt:Ny(),NumberPrompt:Tk(),StringPrompt:Nl()}});var mW=X((aFe,gW)=>{"use strict";var fW=require("assert"),jk=require("events"),uu=Xi(),co=class extends jk{constructor(t,r){super(),this.options=uu.merge({},t),this.answers={...r}}register(t,r){if(uu.isObject(t)){for(let n of Object.keys(t))this.register(n,t[n]);return this}fW.equal(typeof r,"function","expected a function");let i=t.toLowerCase();return r.prototype instanceof this.Prompt?this.prompts[i]=r:this.prompts[i]=r(this.Prompt,this),this}async prompt(t=[]){for(let r of[].concat(t))try{typeof r=="function"&&(r=await r.call(this)),await this.ask(uu.merge({},this.options,r))}catch(i){return Promise.reject(i)}return this.answers}async ask(t){typeof t=="function"&&(t=await t.call(this));let r=uu.merge({},this.options,t),{type:i,name:n}=t,{set:s,get:o}=uu;if(typeof i=="function"&&(i=await i.call(this,t,this.answers)),!i)return this.answers[n];i==="number"&&(i="numeral"),fW(this.prompts[i],`Prompt "${i}" is not registered`);let a=new this.prompts[i](r),u=o(this.answers,n);a.state.answers=this.answers,a.enquirer=this,n&&a.on("submit",A=>{this.emit("answer",n,A,a),s(this.answers,n,A)});let l=a.emit.bind(a);return a.emit=(...A)=>(this.emit.call(this,...A),l(...A)),this.emit("prompt",a,this),r.autofill&&u!=null?(a.value=a.input=u,r.autofill==="show"&&await a.submit()):u=a.value=await a.run(),u}use(t){return t.call(this,this),this}set Prompt(t){this._Prompt=t}get Prompt(){return this._Prompt||this.constructor.Prompt}get prompts(){return this.constructor.prompts}static set Prompt(t){this._Prompt=t}static get Prompt(){return this._Prompt||op()}static get prompts(){return AW()}static get types(){return dW()}static get prompt(){let t=(r,...i)=>{let n=new this(...i),s=n.emit.bind(n);return n.emit=(...o)=>(t.emit(...o),s(...o)),n.prompt(r)};return uu.mixinEmitter(t,new jk),t}};uu.mixinEmitter(co,new jk);var Gk=co.prompts;for(let e of Object.keys(Gk)){let t=e.toLowerCase(),r=i=>new Gk[e](i).run();co.prompt[t]=r,co[t]=r,co[e]||Reflect.defineProperty(co,e,{get:()=>Gk[e]})}var sg=e=>{uu.defineExport(co,e,()=>co.types[e])};sg("ArrayPrompt");sg("AuthPrompt");sg("BooleanPrompt");sg("NumberPrompt");sg("StringPrompt");gW.exports=co});var al=require("node:fs"),gC=require("node:fs/promises"),g3=require("node:os");lh();var zy=require("node:module"),cR=Li(aR(),1),TW={};function kW(e){throw e}var RW=e=>import(e),jy;function _W(...e){return jy||(jy=(0,zy.createRequire)(TW.url)("../dist/babel.cjs")),jy(...e)}function uR(e,t={}){return t.transform||(t={...t,transform:_W}),(0,cR.default)(e,t,{onError:kW,nativeImport:RW,createRequire:zy.createRequire})}zb();var Ad=require("node:fs"),_T=require("node:path"),TT=require("node:os");var $X=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,GX=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,jX=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function zX(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){HX(e);return}return t}function HX(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function RT(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);let r=e.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!jX.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if($X.test(e)||GX.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,zX)}return JSON.parse(e)}catch(i){if(t.strict)throw i;return e}}bc();function FT(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function NT(e){return e}function YX(e,t){t=t||{};let r=t.delimiter||".",i=t.maxDepth,n=t.transformKey||NT,s={};function o(a,u,l){l=l||1,Object.keys(a).forEach(function(A){let h=a[A],d=t.safe&&Array.isArray(h),m=Object.prototype.toString.call(h),g=FT(h),E=m==="[object Object]"||m==="[object Array]",y=u?u+r+n(A):n(A);if(!d&&!g&&E&&Object.keys(h).length&&(!t.maxDepth||l<i))return o(h,y,l+1);s[y]=h})}return o(e),s}function LT(e,t){t=t||{};let r=t.delimiter||".",i=t.overwrite||!1,n=t.transformKey||NT,s={};if(FT(e)||Object.prototype.toString.call(e)!=="[object Object]")return e;function a(A){let h=Number(A);return isNaN(h)||A.indexOf(".")!==-1||t.object?A:h}function u(A,h,d){return Object.keys(d).reduce(function(m,g){return m[A+r+g]=d[g],m},h)}function l(A){let h=Object.prototype.toString.call(A),d=h==="[object Array]",m=h==="[object Object]";if(A){if(d)return!A.length;if(m)return!Object.keys(A).length}else return!0}return e=Object.keys(e).reduce(function(A,h){let d=Object.prototype.toString.call(e[h]);return!(d==="[object Object]"||d==="[object Array]")||l(e[h])?(A[h]=e[h],A):u(h,A,YX(e[h],t))},{}),Object.keys(e).forEach(function(A){let h=A.split(r).map(n),d=a(h.shift()),m=a(h[0]),g=s;for(;m!==void 0;){if(d==="__proto__")return;let E=Object.prototype.toString.call(g[d]),y=E==="[object Object]"||E==="[object Array]";if(!i&&!y&&typeof g[d]<"u")return;(i&&!y||!i&&g[d]==null)&&(g[d]=typeof m=="number"&&!t.object?[]:{}),g=g[d],h.length>0&&(d=a(h.shift()),m=a(h[0]))}g[d]=LT(e[A],t)}),s}var WX=/^\s*([^\s=]+)\s*=\s*(.*)?\s*$/,JX=/\n|\r|\r\n/,ZX={name:".conf",dir:process.cwd(),flat:!1};function MT(e){return typeof e=="string"&&(e={name:e}),{...ZX,...e}}function KX(e,t={}){let r={},i=e.split(JX);for(let n of i){let s=n.match(WX);if(!s)continue;let o=s[1];if(!o||o==="__proto__"||o==="constructor")continue;let a=RT((s[2]||"").trim());if(o.endsWith("[]")){let u=o.slice(0,Math.max(0,o.length-2));r[u]=(r[u]||[]).concat(a);continue}r[o]=a}return t.flat?r:LT(r,{overwrite:!0})}function XX(e,t){return(0,Ad.existsSync)(e)?KX((0,Ad.readFileSync)(e,"utf8"),t):{}}function Cm(e){return e=MT(e),XX((0,_T.resolve)(e.dir,e.name),e)}function OT(e){return e=MT(e),e.dir=process.env.XDG_CONFIG_HOME||(0,TT.homedir)(),Cm(e)}bc();cT();var m3=Li(oI(),1);async function Use(e){let t=e.env??process.env,r=await qse({cwd:e.cwd,fileName:e.fileName??".env",env:t,interpolate:e.interpolate??!0});for(let i in r)!i.startsWith("_")&&t[i]===void 0&&(t[i]=r[i]);return r}async function qse(e){let t=Object.create(null),r=xr(e.cwd,e.fileName);if((0,al.existsSync)(r)){let i=m3.parse(await al.promises.readFile(r,"utf8"));Object.assign(t,i)}return e.env?._applied||(Object.assign(t,e.env),t._applied=!0),e.interpolate&&Vse(t),t}function Vse(e,t={},r=i=>i){function i(s){return t[s]===void 0?e[s]:t[s]}function n(s,o=[]){if(typeof s!="string")return s;let a=s.match(/(.?\${?(?:[\w:]+)?}?)/g)||[];return r(a.reduce((u,l)=>{let A=/(.?)\${?([\w:]+)?}?/g.exec(l)||[],h=A[1],d,m;if(h==="\\")m=A[0]||"",d=m.replace(String.raw`\$`,"$");else{let g=A[2];if(m=(A[0]||"").slice(h.length),o.includes(g))return console.warn(`Please avoid recursive environment variables ( loop: ${o.join(" > ")} > ${g} )`),"";d=i(g),d=n(d,[...o,g])}return d===void 0?u:u.replace(m,d)},s))}for(let s in e)e[s]=n(i(s))}var d3=e=>e?.replace(/\\/g,"/"),f3={".yaml":()=>Promise.resolve().then(()=>(Lb(),Nb)).then(e=>e.parseYAML),".yml":()=>Promise.resolve().then(()=>(Lb(),Nb)).then(e=>e.parseYAML),".jsonc":()=>Promise.resolve().then(()=>(jT(),GT)).then(e=>e.parseJSONC),".json5":()=>Promise.resolve().then(()=>(a_(),o_)).then(e=>e.parseJSON5),".toml":()=>Promise.resolve().then(()=>(iT(),rT)).then(e=>e.parseTOML)},E3=[".js",".ts",".mjs",".cjs",".mts",".cts",".json",".jsonc",".json5",".yaml",".yml",".toml"];async function mC(e){e.cwd=xr(process.cwd(),e.cwd||"."),e.name=e.name||"config",e.envName=e.envName??process.env.NODE_ENV,e.configFile=e.configFile??(e.name==="config"?"config":`${e.name}.config`),e.rcFile=e.rcFile??`.${e.name}rc`,e.extend!==!1&&(e.extend={extendKey:"extends",...e.extend});let t=e.merger||gs;e.jiti=e.jiti||uR(Us(e.cwd,e.configFile),{interopDefault:!0,moduleCache:!1,extensions:[...E3],...e.jitiOptions});let r={config:{},cwd:e.cwd,configFile:xr(e.cwd,e.configFile),layers:[]},i={overrides:e.overrides,main:void 0,rc:void 0,packageJson:void 0,defaultConfig:e.defaultConfig};e.dotenv&&await Use({cwd:e.cwd,...e.dotenv===!0?{}:e.dotenv});let n=await y3(".",e);if(n.configFile&&(i.main=n.config,r.configFile=n.configFile),n.meta&&(r.meta=n.meta),e.rcFile){let a=[];if(a.push(Cm({name:e.rcFile,dir:e.cwd})),e.globalRc){let u=await aT(e.cwd).catch(()=>{});u&&a.push(Cm({name:e.rcFile,dir:u})),a.push(OT({name:e.rcFile,dir:e.cwd}))}i.rc=t({},...a)}if(e.packageJson){let a=(Array.isArray(e.packageJson)?e.packageJson:[typeof e.packageJson=="string"?e.packageJson:e.name]).filter(A=>A&&typeof A=="string"),u=await oT(e.cwd).catch(()=>{}),l=a.map(A=>u?.[A]);i.packageJson=t({},...l)}let s={};for(let a in i){let u=i[a];s[a]=await(typeof u=="function"?u({configs:s}):u)}r.config=t(s.overrides,s.main,s.rc,s.packageJson,s.defaultConfig),e.extend&&(await C3(r.config,e),r.layers=r.config._layers,delete r.config._layers,r.config=t(r.config,...r.layers.map(a=>a.config)));let o=[s.overrides&&{config:s.overrides,configFile:void 0,cwd:void 0},{config:s.main,configFile:e.configFile,cwd:e.cwd},s.rc&&{config:s.rc,configFile:e.rcFile},s.packageJson&&{config:s.packageJson,configFile:"package.json"}].filter(a=>a&&a.config);if(r.layers=[...o,...r.layers],e.defaults&&(r.config=t(r.config,e.defaults)),e.omit$Keys)for(let a in r.config)a.startsWith("$")&&delete r.config[a];return r}async function C3(e,t){if(e._layers=e._layers||[],!t.extend)return;let r=t.extend.extendKey;typeof r=="string"&&(r=[r]);let i=[];for(let n of r)i.push(...(Array.isArray(e[n])?e[n]:[e[n]]).filter(Boolean)),delete e[n];for(let n of i){let s=n,o={};if(n.source&&(o=n.options||{},n=n.source),Array.isArray(n)&&(o=n[1]||{},n=n[0]),typeof n!="string"){console.warn(`Cannot extend config from \`${JSON.stringify(s)}\` in ${t.cwd}`);continue}let a=await y3(n,t,o);if(!a.config){console.warn(`Cannot extend config from \`${n}\` in ${t.cwd}`);continue}await C3(a.config,{...t,cwd:a.cwd}),e._layers.push(a),a.config._layers&&(e._layers.push(...a.config._layers),delete a.config._layers)}}var $se=["gh:","github:","gitlab:","bitbucket:","https://","http://"],Gse=/^(@[\da-z~-][\d._a-z~-]*\/)?[\da-z~-][\d._a-z~-]*($|\/.*)/;async function y3(e,t,r={}){if(t.resolve){let A=await t.resolve(e,t);if(A)return A}let i=t.merger||gs;if(t.giget!==!1&&$se.some(A=>e.startsWith(A))){let{downloadTemplate:A}=await Promise.resolve().then(()=>(a3(),o3)),{digest:h}=await Promise.resolve().then(()=>(p3(),A3)),d=e.replace(/\W+/g,"_").split("_").splice(0,3).join("_")+"_"+h(e).slice(0,10).replace(/[-_]/g,""),m,g=xr(t.cwd,"node_modules"),E=sa(t.cwd);uh(E)===".c12"?m=Us(E,d):(0,al.existsSync)(g)?m=Us(g,".c12",d):m=process.env.XDG_CACHE_HOME?xr(process.env.XDG_CACHE_HOME,"c12",d):xr((0,g3.homedir)(),".cache/c12",d),(0,al.existsSync)(m)&&!r.install&&await(0,gC.rm)(m,{recursive:!0}),e=(await A(e,{dir:m,install:r.install,force:r.install,auth:r.auth,...t.giget,...r.giget})).dir}let n=A=>{let h=t.jiti.esmResolve(A,{try:!0});return h?Ih(h):void 0};Gse.test(e)&&(e=n(e)||e);let s=jp(e),o=!s||s===uh(e),a=xr(t.cwd,o?e:sa(e));o&&(e=t.configFile);let u={config:void 0,configFile:void 0,cwd:a,source:e,sourceOptions:r};if(u.configFile=n(xr(a,e))||n(xr(a,".config",e.replace(/\.config$/,"")))||n(xr(a,".config",e))||e,!(0,al.existsSync)(u.configFile))return u;let l=jp(u.configFile)||"";if(l in f3){let A=await f3[l](),h=await(0,gC.readFile)(u.configFile,"utf8");u.config=A(h)}else u.config=await t.jiti.import(u.configFile,{default:!0});if(u.config instanceof Function&&(u.config=await u.config()),t.envName){let A={...u.config["$"+t.envName],...u.config.$env?.[t.envName]};Object.keys(A).length>0&&(u.config=i(A,u.config))}return u.meta=gs(u.sourceOptions.meta,u.config.$meta),delete u.config.$meta,u.sourceOptions.overrides&&(u.config=i(u.sourceOptions.overrides,u.config)),u.configFile=d3(u.configFile),u.source=d3(u.source),u}bc();var BBe=Li(oI(),1);bc();var jse=Math.pow(10,8)*24*60*60*1e3,xBe=-jse;var cf=43200,Ox=1440;var zse=3600;var b3=zse*24,QBe=b3*7,Hse=b3*365.2425,Yse=Hse/12,SBe=Yse*3,Px=Symbol.for("constructDateFrom");function hA(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Px in e?e[Px](t):e instanceof Date?new e.constructor(t):new Date(t)}function I3(e){return hA(e,Date.now())}var Wse={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},w3=(e,t,r)=>{let i,n=Wse[e];return typeof n=="string"?i=n:t===1?i=n.one:i=n.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};function EC(e){return(t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var Jse={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Zse={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Kse={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},B3={date:EC({formats:Jse,defaultWidth:"full"}),time:EC({formats:Zse,defaultWidth:"full"}),dateTime:EC({formats:Kse,defaultWidth:"full"})};var Xse={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},v3=(e,t,r,i)=>Xse[e];function AA(e){return(t,r)=>{let i=r?.context?String(r.context):"standalone",n;if(i==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,a=r?.width?String(r.width):o;n=e.formattingValues[a]||e.formattingValues[o]}else{let o=e.defaultWidth,a=r?.width?String(r.width):e.defaultWidth;n=e.values[a]||e.values[o]}let s=e.argumentCallback?e.argumentCallback(t):t;return n[s]}}var eoe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},toe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},roe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ioe={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},noe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},soe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ooe=(e,t)=>{let r=Number(e),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},x3={ordinalNumber:ooe,era:AA({values:eoe,defaultWidth:"wide"}),quarter:AA({values:toe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:AA({values:roe,defaultWidth:"wide"}),day:AA({values:ioe,defaultWidth:"wide"}),dayPeriod:AA({values:noe,defaultWidth:"wide",formattingValues:soe,defaultFormattingWidth:"wide"})};function pA(e){return(t,r={})=>{let i=r.width,n=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=t.match(n);if(!s)return null;let o=s[0],a=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(a)?coe(a,h=>h.test(o)):aoe(a,h=>h.test(o)),l;l=e.valueCallback?e.valueCallback(u):u,l=r.valueCallback?r.valueCallback(l):l;let A=t.slice(o.length);return{value:l,rest:A}}}function aoe(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function coe(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function Q3(e){return(t,r={})=>{let i=t.match(e.matchPattern);if(!i)return null;let n=i[0],s=t.match(e.parsePattern);if(!s)return null;let o=e.valueCallback?e.valueCallback(s[0]):s[0];o=r.valueCallback?r.valueCallback(o):o;let a=t.slice(n.length);return{value:o,rest:a}}}var uoe=/^(\d+)(th|st|nd|rd)?/i,loe=/\d+/i,hoe={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Aoe={any:[/^b/i,/^(a|c)/i]},poe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},doe={any:[/1/i,/2/i,/3/i,/4/i]},foe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},goe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},moe={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Eoe={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Coe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},yoe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},S3={ordinalNumber:Q3({matchPattern:uoe,parsePattern:loe,valueCallback:e=>parseInt(e,10)}),era:pA({matchPatterns:hoe,defaultMatchWidth:"wide",parsePatterns:Aoe,defaultParseWidth:"any"}),quarter:pA({matchPatterns:poe,defaultMatchWidth:"wide",parsePatterns:doe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:pA({matchPatterns:foe,defaultMatchWidth:"wide",parsePatterns:goe,defaultParseWidth:"any"}),day:pA({matchPatterns:moe,defaultMatchWidth:"wide",parsePatterns:Eoe,defaultParseWidth:"any"}),dayPeriod:pA({matchPatterns:Coe,defaultMatchWidth:"any",parsePatterns:yoe,defaultParseWidth:"any"})};var Ux={code:"en-US",formatDistance:w3,formatLong:B3,formatRelative:v3,localize:x3,match:S3,options:{weekStartsOn:0,firstWeekContainsDate:1}};var boe={};function D3(){return boe}function Qn(e,t){return hA(t||e,e)}function qx(e){let t=Qn(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function dA(e,...t){let r=hA.bind(null,e||t.find(i=>typeof i=="object"));return t.map(r)}function fA(e,t){let r=+Qn(e)-+Qn(t);return r<0?-1:r>0?1:r}function k3(e,t,r){let[i,n]=dA(r?.in,e,t),s=i.getFullYear()-n.getFullYear(),o=i.getMonth()-n.getMonth();return s*12+o}function R3(e,t){let r=Qn(e,t?.in);return r.setHours(23,59,59,999),r}function _3(e,t){let r=Qn(e,t?.in),i=r.getMonth();return r.setFullYear(r.getFullYear(),i+1,0),r.setHours(23,59,59,999),r}function T3(e,t){let r=Qn(e,t?.in);return+R3(r,t)==+_3(r,t)}function F3(e,t,r){let[i,n,s]=dA(r?.in,e,e,t),o=fA(n,s),a=Math.abs(k3(n,s));if(a<1)return 0;n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-o*a);let u=fA(n,s)===-o;T3(i)&&a===1&&fA(i,s)===1&&(u=!1);let l=o*(a-+u);return l===0?0:l}function N3(e){return t=>{let i=(e?Math[e]:Math.trunc)(t);return i===0?0:i}}function L3(e,t){return+Qn(e)-+Qn(t)}function M3(e,t,r){let i=L3(e,t)/1e3;return N3(r?.roundingMethod)(i)}function O3(e,t,r){let i=D3(),n=r?.locale??i.locale??Ux,s=2520,o=fA(e,t);if(isNaN(o))throw new RangeError("Invalid time value");let a=Object.assign({},r,{addSuffix:r?.addSuffix,comparison:o}),[u,l]=dA(r?.in,...o>0?[t,e]:[e,t]),A=M3(l,u),h=(qx(l)-qx(u))/1e3,d=Math.round((A-h)/60),m;if(d<2)return r?.includeSeconds?A<5?n.formatDistance("lessThanXSeconds",5,a):A<10?n.formatDistance("lessThanXSeconds",10,a):A<20?n.formatDistance("lessThanXSeconds",20,a):A<40?n.formatDistance("halfAMinute",0,a):A<60?n.formatDistance("lessThanXMinutes",1,a):n.formatDistance("xMinutes",1,a):d===0?n.formatDistance("lessThanXMinutes",1,a):n.formatDistance("xMinutes",d,a);if(d<45)return n.formatDistance("xMinutes",d,a);if(d<90)return n.formatDistance("aboutXHours",1,a);if(d<Ox){let g=Math.round(d/60);return n.formatDistance("aboutXHours",g,a)}else{if(d<s)return n.formatDistance("xDays",1,a);if(d<cf){let g=Math.round(d/Ox);return n.formatDistance("xDays",g,a)}else if(d<cf*2)return m=Math.round(d/cf),n.formatDistance("aboutXMonths",m,a)}if(m=F3(l,u),m<12){let g=Math.round(d/cf);return n.formatDistance("xMonths",g,a)}else{let g=m%12,E=Math.trunc(m/12);return g<3?n.formatDistance("aboutXYears",E,a):g<9?n.formatDistance("overXYears",E,a):n.formatDistance("almostXYears",E+1,a)}}function P3(e,t){return O3(e,I3(e),t)}var qt={SILENT:0,FATAL:10,ERROR:20,WARN:30,SUCCESS:35,INFO:40,PERFORMANCE:50,DEBUG:60,TRACE:70,ALL:100},mr={SILENT:"silent",FATAL:"fatal",ERROR:"error",WARN:"warn",SUCCESS:"success",INFO:"info",PERFORMANCE:"performance",DEBUG:"debug",TRACE:"trace",ALL:"all"};var An={light:{background:"#fafafa",foreground:"#1d1e22",brand:"#1fb2a6",alternate:"#db2777",discovery:"#5C4EE5",success:"#087f5b",info:"#0550ae",debug:"#8afafc",warning:"#e3b341",danger:"#D8314A",fatal:"#51070f",performance:"#13c302",link:"#3fa6ff",positive:"#22c55e",negative:"#dc2626",gradient:["#1fb2a6","#db2777","#5C4EE5"]},dark:{background:"#1e2124",foreground:"#cbd5e1",brand:"#2dd4bf",alternate:"#db2777",discovery:"#818cf8",success:"#10b981",info:"#58a6ff",debug:"#8afafc",warning:"#f3d371",danger:"#D8314A",fatal:"#a40e26",performance:"#80fd74",link:"#3fa6ff",positive:"#22c55e",negative:"#dc2626",gradient:["#1fb2a6","#db2777","#818cf8"]}};function Ioe(e){if(!e?.colors||typeof e.colors!="object"||!e.colors.dark&&(!e.colors.base||typeof e.colors!="object"||!e.colors.base?.dark))return An;if(e.colors.base){if(typeof e.colors.base.dark=="object")return e.colors.base.dark;if(e.colors.base.dark==="string")return e.colors.base}return typeof e.colors.dark=="object"?e.colors.dark:e.colors??An}function uf(e,t){let r=Ioe(t),i=(typeof r.dark=="object"?r.dark[e]:r[e])||An.dark[e]||An[e];return i||uf(e==="link"||e==="debug"?"info":e==="fatal"?"danger":"brand",t)}var mq=Li(cl(),1),Hoe={hex:e=>t=>t,bgHex:e=>({whiteBright:t=>t,white:t=>t}),white:e=>e,whiteBright:e=>e,gray:e=>e,bold:{hex:e=>t=>t,bgHex:e=>({whiteBright:t=>t,white:t=>t}),whiteBright:e=>e,white:e=>e},dim:{hex:e=>t=>t,gray:e=>e}},Xx=()=>{let e=mq.default;return(!e?.hex||!e?.bold?.hex||!e?.bgHex||!e?.whiteBright||!e?.white)&&(e=Hoe),e};function Eq(){return process.platform!=="win32"?process.env.TERM!=="linux":!!process.env.WT_SESSION||!!process.env.TERMINUS_SUBLIME||process.env.ConEmuTask==="{cmd::Cmder}"||process.env.TERM_PROGRAM==="Terminus-Sublime"||process.env.TERM_PROGRAM==="vscode"||process.env.TERM==="xterm-256color"||process.env.TERM==="alacritty"||process.env.TERM==="rxvt-unicode"||process.env.TERM==="rxvt-unicode-256color"||process.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Ua=(e,t)=>Eq()?e:t,Lo={[mr.ERROR]:Ua("\u2718","\xD7"),[mr.FATAL]:Ua("\u{1F571}","\xD7"),[mr.WARN]:Ua("\u26A0","\u203C"),[mr.INFO]:Ua("\u2139","i"),[mr.PERFORMANCE]:Ua("\u23F1","\u23F1"),[mr.SUCCESS]:Ua("\u2714","\u221A"),[mr.DEBUG]:Ua("\u{1F6E0}","D"),[mr.TRACE]:Ua("\u2699","T"),[mr.ALL]:Ua("\u2709","\u2192")};var Mo=(e=!1,t=new Date)=>e?`${t.toLocaleDateString()} ${t.toLocaleTimeString()}`:`${t.toLocaleTimeString()}`;var yA=e=>{switch(e){case"all":return qt.ALL;case"trace":return qt.TRACE;case"debug":return qt.DEBUG;case"performance":return qt.PERFORMANCE;case"info":return qt.INFO;case"warn":return qt.WARN;case"error":return qt.ERROR;case"fatal":return qt.FATAL;case"silent":return qt.SILENT;default:return qt.INFO}},Cq=(e=qt.INFO)=>e>=qt.ALL?mr.ALL:e>=qt.TRACE?mr.TRACE:e>=qt.DEBUG?mr.DEBUG:e>=qt.PERFORMANCE?mr.PERFORMANCE:e>=qt.INFO?mr.INFO:e>=qt.WARN?mr.WARN:e>=qt.ERROR?mr.ERROR:e>=qt.FATAL?mr.FATAL:e<=qt.SILENT?mr.SILENT:mr.INFO;var bA=(e=qt.INFO,t={},r={})=>{let{chalk:i=Xx(),fullDateTime:n=!1,hideDateTime:s=!1}=r,o=!t.colors?.dark&&!t.colors?.base&&!t.colors?.base?.dark?An:t.colors?.dark&&typeof t.colors.dark=="string"?t.colors:t.colors?.base?.dark&&typeof t.colors.base.dark=="string"?t.colors.base.dark:t.colors?.base?t.colors?.base:An,a=t.logLevel||process.env.STORM_LOG_LEVEL||mr.INFO;return e>yA(a)||e<=qt.SILENT||yA(a)<=qt.SILENT?u=>{}:typeof e=="number"&&qt.FATAL>=e?u=>{console.error(`
|
|
309
309
|
${s?"":`${i.gray(Mo(n))} `}${i.hex(o.fatal??An.dark.fatal)(`[${Lo[mr.FATAL]} Fatal] `)}${i.bold.whiteBright(Sn(u))}
|
|
310
310
|
`)}:typeof e=="number"&&qt.ERROR>=e?u=>{console.error(`
|
|
311
311
|
${s?"":`${i.gray(Mo(n))} `}${i.hex(o.danger??An.dark.danger)(`[${Lo[mr.ERROR]} Error] `)}${i.bold.whiteBright(Sn(u))}
|
|
@@ -336,7 +336,7 @@ Storm Software is an open source software development organization with the miss
|
|
|
336
336
|
Join us on [Discord](${cae}) to chat with the team, receive release notifications, ask questions, and get involved.
|
|
337
337
|
|
|
338
338
|
If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${aae}) or join our [Slack](${uae}) channel!
|
|
339
|
-
`,xC="tools/errors/codes.json",Dq="The workspace's banner image";var kq;function Vt(e,t,r){function i(a,u){if(a._zod||Object.defineProperty(a,"_zod",{value:{def:u,constr:o,traits:new Set},enumerable:!1}),a._zod.traits.has(e))return;a._zod.traits.add(e),t(a,u);let l=o.prototype,A=Object.keys(l);for(let h=0;h<A.length;h++){let d=A[h];d in a||(a[d]=l[d].bind(a))}}let n=r?.Parent??Object;class s extends n{}Object.defineProperty(s,"name",{value:e});function o(a){var u;let l=r?.Parent?new s:this;i(l,a),(u=l._zod).deferred??(u.deferred=[]);for(let A of l._zod.deferred)A();return l}return Object.defineProperty(o,"init",{value:i}),Object.defineProperty(o,Symbol.hasInstance,{value:a=>r?.Parent&&a instanceof r.Parent?!0:a?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}var lae=Symbol("zod_brand"),qa=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}};(kq=globalThis).__zod_globalConfig??(kq.__zod_globalConfig={});var iQ=globalThis.__zod_globalConfig;function Po(e){return e&&Object.assign(iQ,e),iQ}function _q(e){let t=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,n])=>t.indexOf(+i)===-1).map(([i,n])=>n)}function Tq(e,t){return typeof t=="bigint"?t.toString():t}function Fq(e){return{get value(){{let r=e();return Object.defineProperty(this,"value",{value:r}),r}throw new Error("cached value already set")}}}function Nq(e){return e==null}function DC(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}var Rq=Symbol("evaluating");function Wi(e,t,r){let i;Object.defineProperty(e,t,{get(){if(i!==Rq)return i===void 0&&(i=Rq,i=r()),i},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}var sQ="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function SC(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function oQ(e){if(SC(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let r=t.prototype;return!(SC(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function aQ(e){return oQ(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}var Lq=new Set(["string","number","symbol"]);function ff(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function kC(e,t,r){let i=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(i._zod.parent=e),i}function Dn(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function Mq(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var hae={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function IA(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function Oq(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue===!1)return!0;return!1}function Gc(e,t){return t.map(r=>{var i;return(i=r).path??(i.path=[]),r.path.unshift(e),r})}function QC(e){return typeof e=="string"?e:e?.message}function Va(e,t,r){let i=e.message?e.message:QC(e.inst?._zod.def?.error?.(e))??QC(t?.error?.(e))??QC(r.customError?.(e))??QC(r.localeError?.(e))??"Invalid input",{inst:n,continue:s,input:o,...a}=e;return a.path??(a.path=[]),a.message=i,t?.reportInput&&(a.input=o),a}function Pq(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}var Uq=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Tq,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},qq=Vt("$ZodError",Uq),gf=Vt("$ZodError",Uq,{Parent:Error});var pae=e=>(t,r,i,n)=>{let s=i?{...i,async:!1}:{async:!1},o=t._zod.run({value:r,issues:[]},s);if(o instanceof Promise)throw new qa;if(o.issues.length){let a=new(n?.Err??e)(o.issues.map(u=>Va(u,s,Po())));throw sQ(a,n?.callee),a}return o.value},RC=pae(gf),dae=e=>async(t,r,i,n)=>{let s=i?{...i,async:!0}:{async:!0},o=t._zod.run({value:r,issues:[]},s);if(o instanceof Promise&&(o=await o),o.issues.length){let a=new(n?.Err??e)(o.issues.map(u=>Va(u,s,Po())));throw sQ(a,n?.callee),a}return o.value},_C=dae(gf),fae=e=>(t,r,i)=>{let n=i?{...i,async:!1}:{async:!1},s=t._zod.run({value:r,issues:[]},n);if(s instanceof Promise)throw new qa;return s.issues.length?{success:!1,error:new(e??qq)(s.issues.map(o=>Va(o,n,Po())))}:{success:!0,data:s.value}},mf=fae(gf),gae=e=>async(t,r,i)=>{let n=i?{...i,async:!0}:{async:!0},s=t._zod.run({value:r,issues:[]},n);return s instanceof Promise&&(s=await s),s.issues.length?{success:!1,error:new e(s.issues.map(o=>Va(o,n,Po())))}:{success:!0,data:s.value}},Ef=gae(gf);var Vq=/^https?$/;var mae="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",Eae=new RegExp(`^${mae}$`);var $q=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)};var Gq=/^-?\d+(?:\.\d+)?$/,jq=/^(?:true|false)$/i;var wA=Vt("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])});var zq=Vt("$ZodCheckLengthEquals",(e,t)=>{var r;wA.init(e,t),(r=e._zod.def).when??(r.when=i=>{let n=i.value;return!Nq(n)&&n.length!==void 0}),e._zod.onattach.push(i=>{let n=i._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=i=>{let n=i.value,s=n.length;if(s===t.length)return;let o=Pq(n),a=s>t.length;i.issues.push({origin:o,...a?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),uQ=Vt("$ZodCheckStringFormat",(e,t)=>{var r,i;wA.init(e,t),e._zod.onattach.push(n=>{let s=n._zod.bag;s.format=t.format,t.pattern&&(s.patterns??(s.patterns=new Set),s.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(i=e._zod).check??(i.check=()=>{})}),Hq=Vt("$ZodCheckRegex",(e,t)=>{uQ.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}});var Yq=Vt("$ZodCheckOverwrite",(e,t)=>{wA.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});var Jq={major:4,minor:4,patch:3};var kn=Vt("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Jq;let i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(let n of i)for(let s of n._zod.onattach)s(e);if(i.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let n=(o,a,u)=>{let l=IA(o),A;for(let h of a){if(h._zod.def.when){if(Oq(o)||!h._zod.def.when(o))continue}else if(l)continue;let d=o.issues.length,m=h._zod.check(o);if(m instanceof Promise&&u?.async===!1)throw new qa;if(A||m instanceof Promise)A=(A??Promise.resolve()).then(async()=>{await m,o.issues.length!==d&&(l||(l=IA(o,d)))});else{if(o.issues.length===d)continue;l||(l=IA(o,d))}}return A?A.then(()=>o):o},s=(o,a,u)=>{if(IA(o))return o.aborted=!0,o;let l=n(a,i,u);if(l instanceof Promise){if(u.async===!1)throw new qa;return l.then(A=>e._zod.parse(A,u))}return e._zod.parse(l,u)};e._zod.run=(o,a)=>{if(a.skipChecks)return e._zod.parse(o,a);if(a.direction==="backward"){let l=e._zod.parse({value:o.value,issues:[]},{...a,skipChecks:!0});return l instanceof Promise?l.then(A=>s(A,o,a)):s(l,o,a)}let u=e._zod.parse(o,a);if(u instanceof Promise){if(a.async===!1)throw new qa;return u.then(l=>n(l,i,a))}return n(u,i,a)}}Wi(e,"~standard",()=>({validate:n=>{try{let s=mf(e,n);return s.success?{value:s.data}:{issues:s.error?.issues}}catch{return Ef(e,n).then(o=>o.success?{value:o.data}:{issues:o.error?.issues})}},vendor:"zod",version:1}))}),lQ=Vt("$ZodString",(e,t)=>{kn.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??$q(e._zod.bag),e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),hQ=Vt("$ZodStringFormat",(e,t)=>{uQ.init(e,t),lQ.init(e,t)});var tV=Vt("$ZodURL",(e,t)=>{hQ.init(e,t),e._zod.check=r=>{try{let i=r.value.trim();if(!t.normalize&&t.protocol?.source===Vq.source&&!/^https?:\/\//i.test(i)){r.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:r.value,inst:e,continue:!t.abort});return}let n=new URL(i);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(n.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(n.protocol.endsWith(":")?n.protocol.slice(0,-1):n.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=n.href:r.value=i;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}});var rV=Vt("$ZodBoolean",(e,t)=>{kn.init(e,t),e._zod.pattern=jq,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=!!r.value}catch{}let n=r.value;return typeof n=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:n,inst:e}),r}});var iV=Vt("$ZodAny",(e,t)=>{kn.init(e,t),e._zod.parse=r=>r});function Zq(e,t,r){e.issues.length&&t.issues.push(...Gc(r,e.issues)),t.value[r]=e.value}var nV=Vt("$ZodArray",(e,t)=>{kn.init(e,t),e._zod.parse=(r,i)=>{let n=r.value;if(!Array.isArray(n))return r.issues.push({expected:"array",code:"invalid_type",input:n,inst:e}),r;r.value=Array(n.length);let s=[];for(let o=0;o<n.length;o++){let a=n[o],u=t.element._zod.run({value:a,issues:[]},i);u instanceof Promise?s.push(u.then(l=>Zq(l,r,o))):Zq(u,r,o)}return s.length?Promise.all(s).then(()=>r):r}});function TC(e,t,r,i,n,s){let o=r in i;if(e.issues.length){if(n&&s&&!o)return;t.issues.push(...Gc(r,e.issues))}if(!o&&!n){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[r]});return}e.value===void 0?o&&(t.value[r]=void 0):t.value[r]=e.value}function yae(e){let t=Object.keys(e.shape);for(let i of t)if(!e.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);let r=Mq(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function bae(e,t,r,i,n,s){let o=[],a=n.keySet,u=n.catchall._zod,l=u.def.type,A=u.optin==="optional",h=u.optout==="optional";for(let d in t){if(d==="__proto__"||a.has(d))continue;if(l==="never"){o.push(d);continue}let m=u.run({value:t[d],issues:[]},i);m instanceof Promise?e.push(m.then(g=>TC(g,r,d,t,A,h))):TC(m,r,d,t,A,h)}return o.length&&r.issues.push({code:"unrecognized_keys",keys:o,input:t,inst:s}),e.length?Promise.all(e).then(()=>r):r}var sV=Vt("$ZodObject",(e,t)=>{if(kn.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let a=t.shape;Object.defineProperty(t,"shape",{get:()=>{let u={...a};return Object.defineProperty(t,"shape",{value:u}),u}})}let i=Fq(()=>yae(t));Wi(e._zod,"propValues",()=>{let a=t.shape,u={};for(let l in a){let A=a[l]._zod;if(A.values){u[l]??(u[l]=new Set);for(let h of A.values)u[l].add(h)}}return u});let n=SC,s=t.catchall,o;e._zod.parse=(a,u)=>{o??(o=i.value);let l=a.value;if(!n(l))return a.issues.push({expected:"object",code:"invalid_type",input:l,inst:e}),a;a.value={};let A=[],h=o.shape;for(let d of o.keys){let m=h[d],g=m._zod.optin==="optional",E=m._zod.optout==="optional",y=m._zod.run({value:l[d],issues:[]},u);y instanceof Promise?A.push(y.then(w=>TC(w,a,d,l,g,E))):TC(y,a,d,l,g,E)}return s?bae(A,l,a,u,i.value,e):A.length?Promise.all(A).then(()=>a):a}});function Kq(e,t,r,i){for(let s of e)if(s.issues.length===0)return t.value=s.value,t;let n=e.filter(s=>!IA(s));return n.length===1?(t.value=n[0].value,n[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(s=>s.issues.map(o=>Va(o,i,Po())))}),t)}var oV=Vt("$ZodUnion",(e,t)=>{kn.init(e,t),Wi(e._zod,"optin",()=>t.options.some(i=>i._zod.optin==="optional")?"optional":void 0),Wi(e._zod,"optout",()=>t.options.some(i=>i._zod.optout==="optional")?"optional":void 0),Wi(e._zod,"values",()=>{if(t.options.every(i=>i._zod.values))return new Set(t.options.flatMap(i=>Array.from(i._zod.values)))}),Wi(e._zod,"pattern",()=>{if(t.options.every(i=>i._zod.pattern)){let i=t.options.map(n=>n._zod.pattern);return new RegExp(`^(${i.map(n=>DC(n.source)).join("|")})$`)}});let r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(i,n)=>{if(r)return r(i,n);let s=!1,o=[];for(let a of t.options){let u=a._zod.run({value:i.value,issues:[]},n);if(u instanceof Promise)o.push(u),s=!0;else{if(u.issues.length===0)return u;o.push(u)}}return s?Promise.all(o).then(a=>Kq(a,i,e,n)):Kq(o,i,e,n)}});var aV=Vt("$ZodRecord",(e,t)=>{kn.init(e,t),e._zod.parse=(r,i)=>{let n=r.value;if(!oQ(n))return r.issues.push({expected:"record",code:"invalid_type",input:n,inst:e}),r;let s=[],o=t.keyType._zod.values;if(o){r.value={};let a=new Set;for(let l of o)if(typeof l=="string"||typeof l=="number"||typeof l=="symbol"){a.add(typeof l=="number"?l.toString():l);let A=t.keyType._zod.run({value:l,issues:[]},i);if(A instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(A.issues.length){r.issues.push({code:"invalid_key",origin:"record",issues:A.issues.map(m=>Va(m,i,Po())),input:l,path:[l],inst:e});continue}let h=A.value,d=t.valueType._zod.run({value:n[l],issues:[]},i);d instanceof Promise?s.push(d.then(m=>{m.issues.length&&r.issues.push(...Gc(l,m.issues)),r.value[h]=m.value})):(d.issues.length&&r.issues.push(...Gc(l,d.issues)),r.value[h]=d.value)}let u;for(let l in n)a.has(l)||(u=u??[],u.push(l));u&&u.length>0&&r.issues.push({code:"unrecognized_keys",input:n,inst:e,keys:u})}else{r.value={};for(let a of Reflect.ownKeys(n)){if(a==="__proto__"||!Object.prototype.propertyIsEnumerable.call(n,a))continue;let u=t.keyType._zod.run({value:a,issues:[]},i);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof a=="string"&&Gq.test(a)&&u.issues.length){let h=t.keyType._zod.run({value:Number(a),issues:[]},i);if(h instanceof Promise)throw new Error("Async schemas not supported in object keys currently");h.issues.length===0&&(u=h)}if(u.issues.length){t.mode==="loose"?r.value[a]=n[a]:r.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(h=>Va(h,i,Po())),input:a,path:[a],inst:e});continue}let A=t.valueType._zod.run({value:n[a],issues:[]},i);A instanceof Promise?s.push(A.then(h=>{h.issues.length&&r.issues.push(...Gc(a,h.issues)),r.value[u.value]=h.value})):(A.issues.length&&r.issues.push(...Gc(a,A.issues)),r.value[u.value]=A.value)}}return s.length?Promise.all(s).then(()=>r):r}});var cV=Vt("$ZodEnum",(e,t)=>{kn.init(e,t);let r=_q(t.entries),i=new Set(r);e._zod.values=i,e._zod.pattern=new RegExp(`^(${r.filter(n=>Lq.has(typeof n)).map(n=>typeof n=="string"?ff(n):n.toString()).join("|")})$`),e._zod.parse=(n,s)=>{let o=n.value;return i.has(o)||n.issues.push({code:"invalid_value",values:r,input:o,inst:e}),n}}),uV=Vt("$ZodLiteral",(e,t)=>{if(kn.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");let r=new Set(t.values);e._zod.values=r,e._zod.pattern=new RegExp(`^(${t.values.map(i=>typeof i=="string"?ff(i):i?ff(i.toString()):String(i)).join("|")})$`),e._zod.parse=(i,n)=>{let s=i.value;return r.has(s)||i.issues.push({code:"invalid_value",values:t.values,input:s,inst:e}),i}});function Xq(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}var lV=Vt("$ZodOptional",(e,t)=>{kn.init(e,t),e._zod.optin="optional",e._zod.optout="optional",Wi(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),Wi(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${DC(r.source)})?$`):void 0}),e._zod.parse=(r,i)=>{if(t.innerType._zod.optin==="optional"){let n=r.value,s=t.innerType._zod.run(r,i);return s instanceof Promise?s.then(o=>Xq(o,n)):Xq(s,n)}return r.value===void 0?r:t.innerType._zod.run(r,i)}});var hV=Vt("$ZodNullable",(e,t)=>{kn.init(e,t),Wi(e._zod,"optin",()=>t.innerType._zod.optin),Wi(e._zod,"optout",()=>t.innerType._zod.optout),Wi(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${DC(r.source)}|null)$`):void 0}),Wi(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,i)=>r.value===null?r:t.innerType._zod.run(r,i)}),AV=Vt("$ZodDefault",(e,t)=>{kn.init(e,t),e._zod.optin="optional",Wi(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);if(r.value===void 0)return r.value=t.defaultValue,r;let n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(s=>eV(s,t)):eV(n,t)}});function eV(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var pV,Iae=Symbol("ZodOutput"),wae=Symbol("ZodInput"),AQ=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){let i=r[0];return this._map.set(t,i),i&&typeof i=="object"&&"id"in i&&this._idmap.set(i.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let i={...this.get(r)??{}};delete i.id;let n={...i,...this._map.get(t)};return Object.keys(n).length?n:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function FC(){return new AQ}(pV=globalThis).__zod_globalRegistry??(pV.__zod_globalRegistry=FC());var Bae=globalThis.__zod_globalRegistry;function dV(e,t){return new e({type:"string",...Dn(t)})}function fV(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Dn(t)})}function gV(e,t){return new e({type:"boolean",...Dn(t)})}function mV(e){return new e({type:"any"})}function pQ(e,t){return new zq({check:"length_equals",...Dn(t),length:e})}function dQ(e,t){return new Hq({check:"string_format",format:"regex",...Dn(t),pattern:e})}function fQ(e){return new Yq({check:"overwrite",tx:e})}function $t(){return fQ(e=>e.trim())}function Rn(){return fQ(e=>e.toLowerCase())}var vs=Vt("ZodMiniType",(e,t)=>{if(!e._zod)throw new Error("Uninitialized schema in ZodMiniType.");kn.init(e,t),e.def=t,e.type=t.type,e.parse=(r,i)=>RC(e,r,i,{callee:e.parse}),e.safeParse=(r,i)=>mf(e,r,i),e.parseAsync=async(r,i)=>_C(e,r,i,{callee:e.parseAsync}),e.safeParseAsync=async(r,i)=>Ef(e,r,i),e.check=(...r)=>e.clone({...t,checks:[...t.checks??[],...r.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]},{parent:!0}),e.with=e.check,e.clone=(r,i)=>kC(e,r,i),e.brand=()=>e,e.register=((r,i)=>(r.add(e,i),e)),e.apply=r=>r(e)}),CV=Vt("ZodMiniString",(e,t)=>{lQ.init(e,t),vs.init(e,t)});function Pt(e){return dV(CV,e)}var Qae=Vt("ZodMiniStringFormat",(e,t)=>{hQ.init(e,t),CV.init(e,t)});var Sae=Vt("ZodMiniURL",(e,t)=>{tV.init(e,t),Qae.init(e,t)});function _n(e){return fV(Sae,e)}var Dae=Vt("ZodMiniBoolean",(e,t)=>{rV.init(e,t),vs.init(e,t)});function gQ(e){return gV(Dae,e)}var kae=Vt("ZodMiniAny",(e,t)=>{iV.init(e,t),vs.init(e,t)});function yV(){return mV(kae)}var Rae=Vt("ZodMiniArray",(e,t)=>{nV.init(e,t),vs.init(e,t)});function mQ(e,t){return new Rae({type:"array",element:e,...Dn(t)})}var _ae=Vt("ZodMiniObject",(e,t)=>{sV.init(e,t),vs.init(e,t),Wi(e,"shape",()=>t.shape)});function Tn(e,t){let r={type:"object",shape:e??{},...Dn(t)};return new _ae(r)}var Tae=Vt("ZodMiniUnion",(e,t)=>{oV.init(e,t),vs.init(e,t)});function jc(e,t){return new Tae({type:"union",options:e,...Dn(t)})}var EV=Vt("ZodMiniRecord",(e,t)=>{aV.init(e,t),vs.init(e,t)});function EQ(e,t,r){return!t||!t._zod?new EV({type:"record",keyType:Pt(),valueType:e,...Dn(t)}):new EV({type:"record",keyType:e,valueType:t,...Dn(r)})}var Fae=Vt("ZodMiniEnum",(e,t)=>{cV.init(e,t),vs.init(e,t),e.options=Object.values(t.entries)});function Cf(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Fae({type:"enum",entries:r,...Dn(t)})}var Nae=Vt("ZodMiniLiteral",(e,t)=>{uV.init(e,t),vs.init(e,t)});function bV(e,t){return new Nae({type:"literal",values:Array.isArray(e)?e:[e],...Dn(t)})}var Lae=Vt("ZodMiniOptional",(e,t)=>{lV.init(e,t),vs.init(e,t)});function ur(e){return new Lae({type:"optional",innerType:e})}var Mae=Vt("ZodMiniNullable",(e,t)=>{hV.init(e,t),vs.init(e,t)});function IV(e){return new Mae({type:"nullable",innerType:e})}var Oae=Vt("ZodMiniDefault",(e,t)=>{AV.init(e,t),vs.init(e,t)});function Cr(e,t){return new Oae({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():aQ(t)}})}var Ye=FC(),ki=Pt().check(pQ(7),Rn(),dQ(/^#([0-9a-f]{3}){1,2}$/i),$t());Ye.add(ki,{description:"A base schema for describing the format of colors"});var NC=Cr(ki,"#1e2124");Ye.add(NC,{description:"The dark background color of the workspace"});var LC=Cr(ki,"#cbd5e1");Ye.add(LC,{description:"The light background color of the workspace"});var MC=Cr(ki,"#1fb2a6");Ye.add(MC,{description:"The primary brand specific color of the workspace"});var OC=ur(ki);Ye.add(OC,{description:"The alternate brand specific color of the workspace"});var PC=ur(ki);Ye.add(PC,{description:"The secondary brand specific color of the workspace"});var UC=Cr(ki,"#3fa6ff");Ye.add(UC,{description:"The color used to display hyperlink text"});var qC=Cr(ki,"#818cf8");Ye.add(qC,{description:"The second brand specific color of the workspace"});var VC=Cr(ki,"#45b27e");Ye.add(VC,{description:"The success color of the workspace"});var $C=Cr(ki,"#38bdf8");Ye.add($C,{description:"The informational color of the workspace"});var GC=Cr(ki,"#8afafc");Ye.add(GC,{description:"The debug color of the workspace"});var jC=Cr(ki,"#f3d371");Ye.add(jC,{description:"The warning color of the workspace"});var zC=Cr(ki,"#d8314a");Ye.add(zC,{description:"The danger color of the workspace"});var HC=ur(ki);Ye.add(HC,{description:"The fatal color of the workspace"});var YC=Cr(ki,"#80fd74");Ye.add(YC,{description:"The performance color of the workspace"});var WC=Cr(ki,"#4ade80");Ye.add(WC,{description:"The positive number color of the workspace"});var JC=Cr(ki,"#ef4444");Ye.add(JC,{description:"The negative number color of the workspace"});var ZC=ur(mQ(ki));Ye.add(ZC,{description:"The color stops for the base gradient color pattern used in the workspace"});var qae=Tn({foreground:LC,background:NC,brand:MC,alternate:OC,accent:PC,link:UC,discovery:qC,success:VC,info:$C,debug:GC,warning:jC,danger:zC,fatal:HC,performance:YC,positive:WC,negative:JC,gradient:ZC}),Vae=Tn({foreground:NC,background:LC,brand:MC,alternate:OC,accent:PC,link:UC,discovery:qC,success:VC,info:$C,debug:GC,warning:jC,danger:zC,fatal:HC,performance:YC,positive:WC,negative:JC,gradient:ZC}),$ae=Tn({dark:qae,light:Vae}),Gae=Tn({dark:NC,light:LC,brand:MC,alternate:OC,accent:PC,link:UC,discovery:qC,success:VC,info:$C,debug:GC,warning:jC,danger:zC,fatal:HC,performance:YC,positive:WC,negative:JC,gradient:ZC}),BA=ur(_n());Ye.add(BA,{description:"A remote registry URL used to publish distributable packages"});var wV=Cr(Tn({github:BA,npm:BA,cargo:BA,cyclone:BA,container:BA}),{});Ye.add(wV,{description:"A list of remote registry URLs used by Storm Software"});var CQ=jc([Gae,$ae]);Ye.add(CQ,{description:"Colors used for various workspace elements"});var BV=EQ(jc([jc([bV("base"),Pt()]),Pt()]),CQ);Ye.add(BV,{description:"Storm theme config values used for styling various package elements"});var vV=ur(jc([Pt().check($t()),mQ(Pt().check($t()))]));Ye.add(vV,{description:"The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."});var xV=Pt().check($t());Ye.add(xV,{description:"The workspace bot user's name (this is the bot that will be used to perform various tasks)"});var QV=Pt().check($t());Ye.add(QV,{description:"The email of the workspace bot"});var SV=Tn({name:xV,email:QV});Ye.add(SV,{description:"The workspace's bot user's config used to automated various operations tasks"});var DV=ur(Pt().check($t(),_n()));Ye.add(DV,{description:"A URL to a banner image used to display the workspace's release"});var kV=Cr(Pt().check($t()),Dq);Ye.add(kV,{description:"The alt text for the workspace's release banner image"});var RV=Tn({url:DV,alt:kV});Ye.add(RV,{description:"The workspace's banner image used during the release process"});var _V=ur(Pt().check($t()));Ye.add(_V,{description:"A header message appended to the start of the workspace's release notes"});var TV=ur(Pt().check($t()));Ye.add(TV,{description:"A footer message appended to the end of the workspace's release notes"});var FV=Tn({banner:jc([RV,Pt().check($t(),_n())]),header:_V,footer:TV});Ye.add(FV,{description:"The workspace's release config used during the release process"});var NV=ur(Pt().check($t()));Ye.add(NV,{description:"A Twitter/X account associated with the organization/project"});var LV=ur(Pt().check($t()));Ye.add(LV,{description:"A Discord account associated with the organization/project"});var MV=ur(Pt().check($t()));Ye.add(MV,{description:"A Telegram account associated with the organization/project"});var OV=ur(Pt().check($t()));Ye.add(OV,{description:"A Slack account associated with the organization/project"});var PV=ur(Pt().check($t()));Ye.add(PV,{description:"A Medium account associated with the organization/project"});var UV=ur(Pt().check($t()));Ye.add(UV,{description:"A GitHub account associated with the organization/project"});var qV=Tn({twitter:NV,discord:LV,telegram:MV,slack:OV,medium:PV,github:UV});Ye.add(qV,{description:"The workspace's account config used to store various social media links"});var VV=ur(Pt().check($t()));Ye.add(VV,{description:"The directory used to store the environment's cached file data"});var $V=ur(Pt().check($t()));Ye.add($V,{description:"The directory used to store the environment's data files"});var GV=ur(Pt().check($t()));Ye.add(GV,{description:"The directory used to store the environment's configuration files"});var jV=ur(Pt().check($t()));Ye.add(jV,{description:"The directory used to store the environment's temp files"});var zV=ur(Pt().check($t()));Ye.add(zV,{description:"The directory used to store the environment's log files"});var HV=Cr(Pt().check($t()),"dist");Ye.add(HV,{description:"The directory used to store the workspace's distributable files after a build (relative to the workspace root)"});var YV=Tn({cache:VV,data:$V,config:GV,temp:jV,log:zV,build:HV});Ye.add(YV,{description:"Various directories used by the workspace to store data, cache, and configuration files"});var WV=Cr(Cf(["minimal","monorepo"]),"monorepo");Ye.add(WV,{description:"The variant of the workspace. This can be used to enable or disable certain features or configurations."});var JV=Cr(Pt().check($t()),xC);Ye.add(JV,{description:"The path to the workspace's error codes JSON file"});var ZV=ur(_n());Ye.add(ZV,{description:"A URL to a page that looks up the workspace's error messages given a specific error code"});var KV=Tn({codesFile:JV,url:ZV});Ye.add(KV,{description:"The workspace's error config used when creating error details during a system error"});var XV=ur(Pt().check($t(),Rn()));Ye.add(XV,{description:"The name of the organization"});var e$=ur(Pt().check($t()));Ye.add(e$,{description:"A description of the organization"});var t$=ur(_n());Ye.add(t$,{description:"A URL to the organization's logo image"});var r$=ur(_n());Ye.add(r$,{description:"A URL to the organization's icon image"});var i$=ur(_n());Ye.add(i$,{description:"A URL to a page that provides more information about the organization"});var n$=Tn({name:XV,description:e$,logo:t$,icon:r$,url:i$});Ye.add(n$,{description:"The workspace's organization details"});var s$=Cr(Pt().check($t(),Rn()),"https://public.storm-cdn.com/schemas/storm-workspace.schema.json");Ye.add(s$,{description:"The URL or file path to the JSON schema file that describes the Storm configuration file"});var o$=Pt().check($t(),Rn());Ye.add(o$,{description:"The name of the workspace/project/service/package/scope using this configuration"});var a$=Pt().check($t(),Rn());Ye.add(a$,{description:"The namespace of the workspace/project/service/package/scope using this configuration"});var c$=jc([n$,Pt().check($t(),Rn())]);Ye.add(c$,{description:"The organization of the workspace. This can be a string or an object containing the organization's details"});var u$=Pt().check($t(),Rn());Ye.add(u$,{description:"The repo URL of the workspace (i.e. the GitHub repository URL)"});var l$=Cr(Pt().check($t()),"Apache-2.0");Ye.add(l$,{description:"The license type of the package"});var h$=ur(_n());Ye.add(h$,{description:"The homepage of the workspace"});var A$=ur(_n());Ye.add(A$,{description:"The documentation site for the workspace"});var p$=ur(_n());Ye.add(p$,{description:"The development portal site for the workspace"});var d$=ur(_n());Ye.add(d$,{description:"The licensing site for the workspace"});var f$=ur(_n());Ye.add(f$,{description:"The contact site for the workspace"});var g$=ur(_n());Ye.add(g$,{description:"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"});var m$=Cr(Pt().check($t(),Rn()),"main");Ye.add(m$,{description:"The branch of the workspace"});var E$=ur(Pt().check($t(),Rn()));Ye.add(E$,{description:"A tag specifying the version pre-release identifier"});var C$=ur(Pt().check($t(),Rn()));Ye.add(C$,{description:"The owner of the package"});var y$=Cr(Cf(["development","test","production"]).check($t(),Rn()),"production");Ye.add(y$,{description:"The current runtime environment mode for the package"});var b$=Pt().check($t(),Rn());Ye.add(b$,{description:"The root directory of the workspace"});var I$=Cr(gQ(),!1);Ye.add(I$,{description:"Should all known types of workspace caching be skipped?"});var w$=Cr(Cf(["npm","yarn","pnpm","bun"]),"npm");Ye.add(w$,{description:"The JavaScript/TypeScript package manager used by the repository"});var B$=Cr(Pt().check($t()),"America/New_York");Ye.add(B$,{description:"The default timezone of the workspace"});var v$=Cr(Pt().check($t()),"en-US");Ye.add(v$,{description:"The default locale of the workspace"});var x$=Cr(Cf(["silent","fatal","error","warn","success","info","performance","debug","trace","all"]),"info");Ye.add(x$,{description:"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."});var Q$=Cr(gQ(),!0);Ye.add(Q$,{description:"Should the logging of the current Storm Workspace configuration be skipped?"});var S$=Cr(IV(Pt().check($t())),null);Ye.add(S$,{description:"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."});var yQ=Cr(EQ(Pt(),yV()),{});Ye.add(yQ,{description:"Configuration of each used extension"});var D$=Tn({$schema:s$,extends:vV,name:o$,variant:WV,namespace:a$,organization:c$,repository:u$,license:l$,homepage:h$,docs:A$,portal:p$,licensing:d$,contact:f$,support:g$,branch:m$,preid:E$,owner:C$,bot:SV,release:FV,socials:qV,error:KV,mode:y$,workspaceRoot:b$,skipCache:I$,directories:YV,packageManager:w$,timezone:B$,locale:v$,logLevel:x$,skipConfigLogging:Q$,registry:wV,configFile:S$,colors:jc([CQ,BV]),extensions:yQ});Ye.add(yQ,{description:"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."});var k$=["dark","light","base","brand","alternate","accent","link","success","discovery","info","warning","danger","fatal","performance","positive","negative"];var R$=require("node:fs"),_$=require("node:fs/promises"),T$=require("node:path");async function F$(e){let t=Sq,r,i,n,s,o,a=ul(e);if((0,R$.existsSync)((0,T$.join)(a,"package.json"))){let u=await(0,_$.readFile)(Oo(a,"package.json"),"utf8");if(u){let l=JSON.parse(u);l.name&&(n=l.name),l.namespace&&(s=l.namespace),l.repository&&(typeof l.repository=="string"?o=l.repository:l.repository.url&&(o=l.repository.url)),l.license&&(t=l.license),l.homepage&&(r=l.homepage),l.bugs&&(typeof l.bugs=="string"?i=l.bugs:l.bugs.url&&(i=l.bugs.url))}}return{workspaceRoot:a,name:n,namespace:s,repository:o,license:t,homepage:r,support:i}}function N$(e){return!e.support&&e.contact&&(e.support=e.contact),!e.contact&&e.support&&(e.contact=e.support),e.homepage&&(e.docs||(e.docs=`${e.homepage}/docs`),e.license||(e.license=`${e.homepage}/license`),e.support||(e.support=`${e.homepage}/support`),e.contact||(e.contact=`${e.homepage}/contact`),(!e.error?.codesFile||!e?.error?.url)&&(e.error??={codesFile:xC},e.homepage&&(e.error.url??=`${e.homepage}/errors`))),e}var L$=async(e,t,r={})=>{let i=t||ul(t),n=await Promise.all([mC({cwd:i,packageJson:!0,name:e,envName:e?.toUpperCase(),jitiOptions:{debug:!1,fsCache:process.env.STORM_SKIP_CACHE==="true"?!1:Oo(process.env.STORM_CACHE_DIR||"node_modules/.cache/storm","jiti")},...r}),mC({cwd:i,packageJson:!0,name:e,envName:e?.toUpperCase(),jitiOptions:{debug:!1,fsCache:process.env.STORM_SKIP_CACHE==="true"?!1:Oo(process.env.STORM_CACHE_DIR||"node_modules/.cache/storm","jiti")},configFile:e,...r})]);return gs(n[0]??{},n[1]??{})},M$=async(e,t=[])=>{let r=e||ul(e),i=await L$("storm-workspace",r),n=i.config,s=i.configFile;if(n&&s&&Object.keys(n).length>0&&!n.skipConfigLogging&&Af(`Found Storm configuration file "${s.includes(`${r}/`)?s.replace(`${r}/`,""):s}" at "${r}"`,{logLevel:"all"}),t&&t.length>0){let o=await Promise.all(t.map(a=>L$(a,r)));for(let a of o)a?.config&&a?.configFile&&Object.keys(a.config).length>0&&(!n.skipConfigLogging&&!a.config.skipConfigLogging&&Af(`Found alternative configuration file "${a.configFile.includes(`${r}/`)?a.configFile.replace(`${r}/`,""):a.configFile}" at "${r}"`,{logLevel:"all"}),n=gs(a.config??{},n??{}))}if(!(!n||Object.keys(n).length===0))return n.configFile=s,n};bc();var bf=require("node:fs");var U$=e=>{let t=`STORM_EXTENSION_${e.toUpperCase()}_`;return Object.keys(process.env).filter(r=>r.startsWith(t)).reduce((r,i)=>{let n=i.replace(t,"").split("_").map(s=>s.length>0?s.trim().charAt(0).toUpperCase()+s.trim().slice(1):"").join("");return n&&(r[n]=process.env[i]),r},{})},q$=()=>{let e="STORM_",t={extends:process.env[`${e}EXTENDS`]||void 0,name:process.env[`${e}NAME`]||void 0,variant:process.env[`${e}VARIANT`]||void 0,namespace:process.env[`${e}NAMESPACE`]||void 0,owner:process.env[`${e}OWNER`]||void 0,bot:{name:process.env[`${e}BOT_NAME`]||void 0,email:process.env[`${e}BOT_EMAIL`]||void 0},release:{banner:{url:process.env[`${e}RELEASE_BANNER_URL`]||void 0,alt:process.env[`${e}RELEASE_BANNER_ALT`]||void 0},header:process.env[`${e}RELEASE_HEADER`]||void 0,footer:process.env[`${e}RELEASE_FOOTER`]||void 0},error:{codesFile:process.env[`${e}ERROR_CODES_FILE`]||void 0,url:process.env[`${e}ERROR_URL`]||void 0},socials:{twitter:process.env[`${e}SOCIAL_TWITTER`]||void 0,discord:process.env[`${e}SOCIAL_DISCORD`]||void 0,telegram:process.env[`${e}SOCIAL_TELEGRAM`]||void 0,slack:process.env[`${e}SOCIAL_SLACK`]||void 0,medium:process.env[`${e}SOCIAL_MEDIUM`]||void 0,github:process.env[`${e}SOCIAL_GITHUB`]||void 0},organization:process.env[`${e}ORG`]||process.env[`${e}ORGANIZATION`]||process.env[`${e}ORG_NAME`]||process.env[`${e}ORGANIZATION_NAME`]?process.env[`${e}ORG_DESCRIPTION`]||process.env[`${e}ORGANIZATION_DESCRIPTION`]||process.env[`${e}ORG_URL`]||process.env[`${e}ORGANIZATION_URL`]||process.env[`${e}ORG_LOGO`]||process.env[`${e}ORGANIZATION_LOGO`]?{name:process.env[`${e}ORG`]||process.env[`${e}ORGANIZATION`]||process.env[`${e}ORG_NAME`]||process.env[`${e}ORGANIZATION_NAME`],description:process.env[`${e}ORG_DESCRIPTION`]||process.env[`${e}ORGANIZATION_DESCRIPTION`]||void 0,url:process.env[`${e}ORG_URL`]||process.env[`${e}ORGANIZATION_URL`]||void 0,logo:process.env[`${e}ORG_LOGO`]||process.env[`${e}ORGANIZATION_LOGO`]||void 0,icon:process.env[`${e}ORG_ICON`]||process.env[`${e}ORGANIZATION_ICON`]||void 0}:process.env[`${e}ORG`]||process.env[`${e}ORGANIZATION`]||process.env[`${e}ORG_NAME`]||process.env[`${e}ORGANIZATION_NAME`]:void 0,packageManager:process.env[`${e}PACKAGE_MANAGER`]||void 0,license:process.env[`${e}LICENSE`]||void 0,homepage:process.env[`${e}HOMEPAGE`]||void 0,docs:process.env[`${e}DOCS`]||void 0,portal:process.env[`${e}PORTAL`]||void 0,licensing:process.env[`${e}LICENSING`]||void 0,contact:process.env[`${e}CONTACT`]||void 0,support:process.env[`${e}SUPPORT`]||void 0,timezone:process.env[`${e}TIMEZONE`]||process.env.TZ||void 0,locale:process.env[`${e}LOCALE`]||process.env.LOCALE||void 0,configFile:process.env[`${e}WORKSPACE_CONFIG_FILE`]?wr(process.env[`${e}WORKSPACE_CONFIG_FILE`]):void 0,workspaceRoot:process.env[`${e}WORKSPACE_ROOT`]?wr(process.env[`${e}WORKSPACE_ROOT`]):void 0,directories:{cache:process.env[`${e}CACHE_DIR`]?wr(process.env[`${e}CACHE_DIR`]):process.env[`${e}CACHE_DIRECTORY`]?wr(process.env[`${e}CACHE_DIRECTORY`]):void 0,data:process.env[`${e}DATA_DIR`]?wr(process.env[`${e}DATA_DIR`]):process.env[`${e}DATA_DIRECTORY`]?wr(process.env[`${e}DATA_DIRECTORY`]):void 0,config:process.env[`${e}CONFIG_DIR`]?wr(process.env[`${e}CONFIG_DIR`]):process.env[`${e}CONFIG_DIRECTORY`]?wr(process.env[`${e}CONFIG_DIRECTORY`]):void 0,temp:process.env[`${e}TEMP_DIR`]?wr(process.env[`${e}TEMP_DIR`]):process.env[`${e}TEMP_DIRECTORY`]?wr(process.env[`${e}TEMP_DIRECTORY`]):void 0,log:process.env[`${e}LOG_DIR`]?wr(process.env[`${e}LOG_DIR`]):process.env[`${e}LOG_DIRECTORY`]?wr(process.env[`${e}LOG_DIRECTORY`]):void 0,build:process.env[`${e}BUILD_DIR`]?wr(process.env[`${e}BUILD_DIR`]):process.env[`${e}BUILD_DIRECTORY`]?wr(process.env[`${e}BUILD_DIRECTORY`]):void 0},skipCache:process.env[`${e}SKIP_CACHE`]!==void 0?!!process.env[`${e}SKIP_CACHE`]:void 0,mode:(process.env[`${e}MODE`]??process.env.NODE_ENV??process.env.ENVIRONMENT)||void 0,repository:process.env[`${e}REPOSITORY`]||void 0,branch:process.env[`${e}BRANCH`]||void 0,preid:process.env[`${e}PRE_ID`]||void 0,registry:{github:process.env[`${e}REGISTRY_GITHUB`]||void 0,npm:process.env[`${e}REGISTRY_NPM`]||void 0,cargo:process.env[`${e}REGISTRY_CARGO`]||void 0,cyclone:process.env[`${e}REGISTRY_CYCLONE`]||void 0,container:process.env[`${e}REGISTRY_CONTAINER`]||void 0},logLevel:process.env[`${e}LOG_LEVEL`]!==null&&process.env[`${e}LOG_LEVEL`]!==void 0?process.env[`${e}LOG_LEVEL`]&&Number.isSafeInteger(Number.parseInt(process.env[`${e}LOG_LEVEL`]))?Cq(Number.parseInt(process.env[`${e}LOG_LEVEL`])):process.env[`${e}LOG_LEVEL`]:void 0,skipConfigLogging:process.env[`${e}SKIP_CONFIG_LOGGING`]!==void 0?!!process.env[`${e}SKIP_CONFIG_LOGGING`]:void 0},r=Object.keys(process.env).filter(n=>n.startsWith(`${e}COLOR_`)&&k$.every(s=>!n.startsWith(`${e}COLOR_LIGHT_${s}`)&&!n.startsWith(`${e}COLOR_DARK_${s}`)));t.colors=r.length>0?r.reduce((n,s)=>(n[s]=O$(e,s),n),{}):O$(e),t.docs===xq&&(t.homepage===df?t.docs=`${df}/projects/${t.name}/docs`:t.docs=`${t.homepage}/docs`),t.licensing===Qq&&(t.homepage===df?t.licensing=`${df}/projects/${t.name}/licensing`:t.licensing=`${t.homepage}/docs`);let i=process.env[`${e}WORKSPACE_CONFIG`];if(i){let n=JSON.parse(i);t={...t,...n,colors:{...t.colors,...n.colors},extensions:{...t.extensions,...n.extensions}}}return t},O$=(e,t)=>{let r=`COLOR_${t&&t!=="base"?`${t}_`:""}`.toUpperCase();return process.env[`${e}${r}LIGHT_BRAND`]||process.env[`${e}${r}DARK_BRAND`]?zae(e+r):jae(e+r)},jae=e=>{let t=[];if(process.env[`${e}GRADIENT_START`]&&process.env[`${e}GRADIENT_END`])t.push(process.env[`${e}GRADIENT_START`],process.env[`${e}GRADIENT_END`]);else if(process.env[`${e}GRADIENT_0`]||process.env[`${e}GRADIENT_1`]){let r=process.env[`${e}GRADIENT_0`]?0:1;for(;process.env[`${e}GRADIENT_${r}`];)t.push(process.env[`${e}GRADIENT_${r}`]),r++}return{dark:process.env[`${e}DARK`],light:process.env[`${e}LIGHT`],brand:process.env[`${e}BRAND`],alternate:process.env[`${e}ALTERNATE`],accent:process.env[`${e}ACCENT`],link:process.env[`${e}LINK`],discovery:process.env[`${e}DISCOVERY`],success:process.env[`${e}SUCCESS`],info:process.env[`${e}INFO`],debug:process.env[`${e}DEBUG`],warning:process.env[`${e}WARNING`],danger:process.env[`${e}DANGER`],fatal:process.env[`${e}FATAL`],performance:process.env[`${e}PERFORMANCE`],positive:process.env[`${e}POSITIVE`],negative:process.env[`${e}NEGATIVE`],gradient:t}},zae=e=>({light:P$(`${e}_LIGHT_`),dark:P$(`${e}_DARK_`)}),P$=e=>{let t=[];if(process.env[`${e}GRADIENT_START`]&&process.env[`${e}GRADIENT_END`])t.push(process.env[`${e}GRADIENT_START`],process.env[`${e}GRADIENT_END`]);else if(process.env[`${e}GRADIENT_0`]||process.env[`${e}GRADIENT_1`]){let r=process.env[`${e}GRADIENT_0`]?0:1;for(;process.env[`${e}GRADIENT_${r}`];)t.push(process.env[`${e}GRADIENT_${r}`]),r++}return{foreground:process.env[`${e}FOREGROUND`],background:process.env[`${e}BACKGROUND`],brand:process.env[`${e}BRAND`],alternate:process.env[`${e}ALTERNATE`],accent:process.env[`${e}ACCENT`],link:process.env[`${e}LINK`],discovery:process.env[`${e}DISCOVERY`],success:process.env[`${e}SUCCESS`],info:process.env[`${e}INFO`],debug:process.env[`${e}DEBUG`],warning:process.env[`${e}WARNING`],danger:process.env[`${e}DANGER`],fatal:process.env[`${e}FATAL`],performance:process.env[`${e}PERFORMANCE`],positive:process.env[`${e}POSITIVE`],negative:process.env[`${e}NEGATIVE`],gradient:t}};var Hae=(e,t)=>{for(let r of Object.keys(t??{}))if(t[r]){let i=r?.replace(/([A-Z])+/g,s=>s?s[0]?.toUpperCase()+s.slice(1):"").split(/(?=[A-Z])|[.\-\s_]/).map(s=>s.toLowerCase())??[],n;if(i.length===0)return;i.length===1?n=i[0]?.toUpperCase()??"":n=i.reduce((s,o)=>`${s}_${o.toLowerCase()}`),process.env[`STORM_EXTENSION_${e.toUpperCase()}_${n.toUpperCase()}`]=t[r]}},G$=e=>{let t="STORM_";if(e.extends&&(process.env[`${t}EXTENDS`]=Array.isArray(e.extends)?JSON.stringify(e.extends):e.extends),e.name&&(process.env[`${t}NAME`]=e.name),e.variant&&(process.env[`${t}VARIANT`]=e.variant),e.namespace&&(process.env[`${t}NAMESPACE`]=e.namespace),e.owner&&(process.env[`${t}OWNER`]=e.owner),e.bot&&(process.env[`${t}BOT_NAME`]=e.bot.name,process.env[`${t}BOT_EMAIL`]=e.bot.email),e.error&&(process.env[`${t}ERROR_CODES_FILE`]=e.error.codesFile,process.env[`${t}ERROR_URL`]=e.error.url),e.release&&(e.release.banner&&(typeof e.release.banner=="string"?(process.env[`${t}RELEASE_BANNER`]=e.release.banner,process.env[`${t}RELEASE_BANNER_URL`]=e.release.banner):(process.env[`${t}RELEASE_BANNER`]=e.release.banner.url,process.env[`${t}RELEASE_BANNER_URL`]=e.release.banner.url,process.env[`${t}RELEASE_BANNER_ALT`]=e.release.banner.alt)),process.env[`${t}RELEASE_HEADER`]=e.release.header,process.env[`${t}RELEASE_FOOTER`]=e.release.footer),e.socials&&(e.socials.twitter&&(process.env[`${t}SOCIAL_TWITTER`]=e.socials.twitter),e.socials.discord&&(process.env[`${t}SOCIAL_DISCORD`]=e.socials.discord),e.socials.telegram&&(process.env[`${t}SOCIAL_TELEGRAM`]=e.socials.telegram),e.socials.slack&&(process.env[`${t}SOCIAL_SLACK`]=e.socials.slack),e.socials.medium&&(process.env[`${t}SOCIAL_MEDIUM`]=e.socials.medium),e.socials.github&&(process.env[`${t}SOCIAL_GITHUB`]=e.socials.github)),e.organization&&(typeof e.organization=="string"?(process.env[`${t}ORG`]=e.organization,process.env[`${t}ORG_NAME`]=e.organization,process.env[`${t}ORGANIZATION`]=e.organization,process.env[`${t}ORGANIZATION_NAME`]=e.organization):(process.env[`${t}ORG`]=e.organization.name,process.env[`${t}ORG_NAME`]=e.organization.name,process.env[`${t}ORGANIZATION`]=e.organization.name,process.env[`${t}ORGANIZATION_NAME`]=e.organization.name,e.organization.url&&(process.env[`${t}ORG_URL`]=e.organization.url,process.env[`${t}ORGANIZATION_URL`]=e.organization.url),e.organization.description&&(process.env[`${t}ORG_DESCRIPTION`]=e.organization.description,process.env[`${t}ORGANIZATION_DESCRIPTION`]=e.organization.description),e.organization.logo&&(process.env[`${t}ORG_LOGO`]=e.organization.logo,process.env[`${t}ORGANIZATION_LOGO`]=e.organization.logo),e.organization.icon&&(process.env[`${t}ORG_ICON`]=e.organization.icon,process.env[`${t}ORGANIZATION_ICON`]=e.organization.icon))),e.packageManager&&(process.env[`${t}PACKAGE_MANAGER`]=e.packageManager),e.license&&(process.env[`${t}LICENSE`]=e.license),e.homepage&&(process.env[`${t}HOMEPAGE`]=e.homepage),e.docs&&(process.env[`${t}DOCS`]=e.docs),e.portal&&(process.env[`${t}PORTAL`]=e.portal),e.licensing&&(process.env[`${t}LICENSING`]=e.licensing),e.contact&&(process.env[`${t}CONTACT`]=e.contact),e.support&&(process.env[`${t}SUPPORT`]=e.support),e.timezone&&(process.env[`${t}TIMEZONE`]=e.timezone,process.env.TZ=e.timezone,process.env.DEFAULT_TIMEZONE=e.timezone,process.env.TIMEZONE=e.timezone),e.locale&&(process.env[`${t}LOCALE`]=e.locale,process.env.DEFAULT_LOCALE=e.locale,process.env.LOCALE=e.locale,process.env.LANG=e.locale?`${e.locale.replaceAll("-","_")}.UTF-8`:"en_US.UTF-8"),e.configFile&&(process.env[`${t}WORKSPACE_CONFIG_FILE`]=wr(e.configFile)),e.workspaceRoot&&(process.env[`${t}WORKSPACE_ROOT`]=wr(e.workspaceRoot),process.env.NX_WORKSPACE_ROOT=wr(e.workspaceRoot),process.env.NX_WORKSPACE_ROOT_PATH=wr(e.workspaceRoot)),e.directories&&(!e.skipCache&&e.directories.cache&&(process.env[`${t}CACHE_DIR`]=wr(e.directories.cache),process.env[`${t}CACHE_DIRECTORY`]=process.env[`${t}CACHE_DIR`]),e.directories.data&&(process.env[`${t}DATA_DIR`]=wr(e.directories.data),process.env[`${t}DATA_DIRECTORY`]=process.env[`${t}DATA_DIR`]),e.directories.config&&(process.env[`${t}CONFIG_DIR`]=wr(e.directories.config),process.env[`${t}CONFIG_DIRECTORY`]=process.env[`${t}CONFIG_DIR`]),e.directories.temp&&(process.env[`${t}TEMP_DIR`]=wr(e.directories.temp),process.env[`${t}TEMP_DIRECTORY`]=process.env[`${t}TEMP_DIR`]),e.directories.log&&(process.env[`${t}LOG_DIR`]=wr(e.directories.log),process.env[`${t}LOG_DIRECTORY`]=process.env[`${t}LOG_DIR`]),e.directories.build&&(process.env[`${t}BUILD_DIR`]=wr(e.directories.build),process.env[`${t}BUILD_DIRECTORY`]=process.env[`${t}BUILD_DIR`])),e.skipCache!==void 0&&(process.env[`${t}SKIP_CACHE`]=String(e.skipCache),e.skipCache&&(process.env.NX_SKIP_NX_CACHE??=String(e.skipCache),process.env.NX_CACHE_PROJECT_GRAPH??=String(e.skipCache))),e.mode&&(process.env[`${t}MODE`]=e.mode,process.env.NODE_ENV=e.mode,process.env.ENVIRONMENT=e.mode),e.colors?.base?.light||e.colors?.base?.dark)for(let r of Object.keys(e.colors))V$(`${t}COLOR_${r}_`,e.colors[r]);else V$(`${t}COLOR_`,e.colors);e.repository&&(process.env[`${t}REPOSITORY`]=e.repository),e.branch&&(process.env[`${t}BRANCH`]=e.branch),e.preid&&(process.env[`${t}PRE_ID`]=String(e.preid)),e.registry&&(e.registry.github&&(process.env[`${t}REGISTRY_GITHUB`]=String(e.registry.github)),e.registry.npm&&(process.env[`${t}REGISTRY_NPM`]=String(e.registry.npm)),e.registry.cargo&&(process.env[`${t}REGISTRY_CARGO`]=String(e.registry.cargo)),e.registry.cyclone&&(process.env[`${t}REGISTRY_CYCLONE`]=String(e.registry.cyclone)),e.registry.container&&(process.env[`${t}REGISTRY_CONTAINER`]=String(e.registry.container))),e.logLevel&&(process.env[`${t}LOG_LEVEL`]=String(e.logLevel),process.env.LOG_LEVEL=String(e.logLevel),process.env.NX_VERBOSE_LOGGING=String(yA(e.logLevel)>=qt.DEBUG),process.env.RUST_BACKTRACE=yA(e.logLevel)>=qt.DEBUG?"full":"none"),e.skipConfigLogging!==void 0&&(process.env[`${t}SKIP_CONFIG_LOGGING`]=String(e.skipConfigLogging)),process.env[`${t}WORKSPACE_CONFIG`]=JSON.stringify(e);for(let r of Object.keys(e.extensions??{}))e.extensions[r]&&Object.keys(e.extensions[r])&&Hae(r,e.extensions[r])},V$=(e,t)=>t?.light?.brand||t?.dark?.brand?Wae(e,t):Yae(e,t),Yae=(e,t)=>{if(t.dark&&(process.env[`${e}DARK`]=t.dark),t.light&&(process.env[`${e}LIGHT`]=t.light),t.brand&&(process.env[`${e}BRAND`]=t.brand),t.alternate&&(process.env[`${e}ALTERNATE`]=t.alternate),t.accent&&(process.env[`${e}ACCENT`]=t.accent),t.link&&(process.env[`${e}LINK`]=t.link),t.discovery&&(process.env[`${e}DISCOVERY`]=t.discovery),t.success&&(process.env[`${e}SUCCESS`]=t.success),t.info&&(process.env[`${e}INFO`]=t.info),t.debug&&(process.env[`${e}DEBUG`]=t.debug),t.warning&&(process.env[`${e}WARNING`]=t.warning),t.danger&&(process.env[`${e}DANGER`]=t.danger),t.fatal&&(process.env[`${e}FATAL`]=t.fatal),t.performance&&(process.env[`${e}PERFORMANCE`]=t.performance),t.positive&&(process.env[`${e}POSITIVE`]=t.positive),t.negative&&(process.env[`${e}NEGATIVE`]=t.negative),t.gradient)for(let r=0;r<t.gradient.length;r++)process.env[`${e}GRADIENT_${r}`]=t.gradient[r]},Wae=(e,t)=>({light:$$(`${e}LIGHT_`,t.light),dark:$$(`${e}DARK_`,t.dark)}),$$=(e,t)=>{if(t.foreground&&(process.env[`${e}FOREGROUND`]=t.foreground),t.background&&(process.env[`${e}BACKGROUND`]=t.background),t.brand&&(process.env[`${e}BRAND`]=t.brand),t.alternate&&(process.env[`${e}ALTERNATE`]=t.alternate),t.accent&&(process.env[`${e}ACCENT`]=t.accent),t.link&&(process.env[`${e}LINK`]=t.link),t.discovery&&(process.env[`${e}DISCOVERY`]=t.discovery),t.success&&(process.env[`${e}SUCCESS`]=t.success),t.info&&(process.env[`${e}INFO`]=t.info),t.debug&&(process.env[`${e}DEBUG`]=t.debug),t.warning&&(process.env[`${e}WARNING`]=t.warning),t.danger&&(process.env[`${e}DANGER`]=t.danger),t.fatal&&(process.env[`${e}FATAL`]=t.fatal),t.performance&&(process.env[`${e}PERFORMANCE`]=t.performance),t.positive&&(process.env[`${e}POSITIVE`]=t.positive),t.negative&&(process.env[`${e}NEGATIVE`]=t.negative),t.gradient)for(let r=0;r<t.gradient.length;r++)process.env[`${e}GRADIENT_${r}`]=t.gradient[r]};var bQ=new WeakMap,yf,Jae=async(e,t,r,i=!1,n=!0)=>{let s;if(!yf?.data||!yf?.timestamp||yf.timestamp<Date.now()-8e3){let o=r;o||(o=ul());let a=q$(),u=await M$(o);if(!u&&(i||bq("No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",{logLevel:"all"}),n===!1))return;let l=await F$(o),A=gs(a,u,l);A.variant||(A.variant=(0,bf.existsSync)(Oo(o,"nx.json"))||(0,bf.existsSync)(Oo(o,".nx"))||(0,bf.existsSync)(Oo(o,"lerna.json"))||(0,bf.existsSync)(Oo(o,"turbo.json"))?"monorepo":"minimal");try{let h=await Promise.resolve(D$._zod.parse({value:A,issues:[]},{async:!0}));s=N$(h.value),s.workspaceRoot??=o}catch(h){throw new Error(`Failed to parse Storm Workspace configuration${h?.message?`: ${h.message}`:""}
|
|
339
|
+
`,xC="tools/errors/codes.json",Dq="The workspace's banner image",kq=["dark","light","base","brand","alternate","accent","link","success","discovery","info","warning","danger","fatal","performance","positive","negative"];var Rq;function Vt(e,t,r){function i(a,u){if(a._zod||Object.defineProperty(a,"_zod",{value:{def:u,constr:o,traits:new Set},enumerable:!1}),a._zod.traits.has(e))return;a._zod.traits.add(e),t(a,u);let l=o.prototype,A=Object.keys(l);for(let h=0;h<A.length;h++){let d=A[h];d in a||(a[d]=l[d].bind(a))}}let n=r?.Parent??Object;class s extends n{}Object.defineProperty(s,"name",{value:e});function o(a){var u;let l=r?.Parent?new s:this;i(l,a),(u=l._zod).deferred??(u.deferred=[]);for(let A of l._zod.deferred)A();return l}return Object.defineProperty(o,"init",{value:i}),Object.defineProperty(o,Symbol.hasInstance,{value:a=>r?.Parent&&a instanceof r.Parent?!0:a?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}var lae=Symbol("zod_brand"),qa=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}};(Rq=globalThis).__zod_globalConfig??(Rq.__zod_globalConfig={});var iQ=globalThis.__zod_globalConfig;function Po(e){return e&&Object.assign(iQ,e),iQ}function Tq(e){let t=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,n])=>t.indexOf(+i)===-1).map(([i,n])=>n)}function Fq(e,t){return typeof t=="bigint"?t.toString():t}function Nq(e){return{get value(){{let r=e();return Object.defineProperty(this,"value",{value:r}),r}throw new Error("cached value already set")}}}function Lq(e){return e==null}function DC(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}var _q=Symbol("evaluating");function Wi(e,t,r){let i;Object.defineProperty(e,t,{get(){if(i!==_q)return i===void 0&&(i=_q,i=r()),i},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}var sQ="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function SC(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function oQ(e){if(SC(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let r=t.prototype;return!(SC(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function aQ(e){return oQ(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}var Mq=new Set(["string","number","symbol"]);function ff(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function kC(e,t,r){let i=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(i._zod.parent=e),i}function Dn(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function Oq(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var hae={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function IA(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function Pq(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue===!1)return!0;return!1}function Gc(e,t){return t.map(r=>{var i;return(i=r).path??(i.path=[]),r.path.unshift(e),r})}function QC(e){return typeof e=="string"?e:e?.message}function Va(e,t,r){let i=e.message?e.message:QC(e.inst?._zod.def?.error?.(e))??QC(t?.error?.(e))??QC(r.customError?.(e))??QC(r.localeError?.(e))??"Invalid input",{inst:n,continue:s,input:o,...a}=e;return a.path??(a.path=[]),a.message=i,t?.reportInput&&(a.input=o),a}function Uq(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}var qq=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Fq,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Vq=Vt("$ZodError",qq),gf=Vt("$ZodError",qq,{Parent:Error});var pae=e=>(t,r,i,n)=>{let s=i?{...i,async:!1}:{async:!1},o=t._zod.run({value:r,issues:[]},s);if(o instanceof Promise)throw new qa;if(o.issues.length){let a=new(n?.Err??e)(o.issues.map(u=>Va(u,s,Po())));throw sQ(a,n?.callee),a}return o.value},RC=pae(gf),dae=e=>async(t,r,i,n)=>{let s=i?{...i,async:!0}:{async:!0},o=t._zod.run({value:r,issues:[]},s);if(o instanceof Promise&&(o=await o),o.issues.length){let a=new(n?.Err??e)(o.issues.map(u=>Va(u,s,Po())));throw sQ(a,n?.callee),a}return o.value},_C=dae(gf),fae=e=>(t,r,i)=>{let n=i?{...i,async:!1}:{async:!1},s=t._zod.run({value:r,issues:[]},n);if(s instanceof Promise)throw new qa;return s.issues.length?{success:!1,error:new(e??Vq)(s.issues.map(o=>Va(o,n,Po())))}:{success:!0,data:s.value}},mf=fae(gf),gae=e=>async(t,r,i)=>{let n=i?{...i,async:!0}:{async:!0},s=t._zod.run({value:r,issues:[]},n);return s instanceof Promise&&(s=await s),s.issues.length?{success:!1,error:new e(s.issues.map(o=>Va(o,n,Po())))}:{success:!0,data:s.value}},Ef=gae(gf);var $q=/^https?$/;var mae="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",Eae=new RegExp(`^${mae}$`);var Gq=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)};var jq=/^-?\d+(?:\.\d+)?$/,zq=/^(?:true|false)$/i;var wA=Vt("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])});var Hq=Vt("$ZodCheckLengthEquals",(e,t)=>{var r;wA.init(e,t),(r=e._zod.def).when??(r.when=i=>{let n=i.value;return!Lq(n)&&n.length!==void 0}),e._zod.onattach.push(i=>{let n=i._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=i=>{let n=i.value,s=n.length;if(s===t.length)return;let o=Uq(n),a=s>t.length;i.issues.push({origin:o,...a?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),uQ=Vt("$ZodCheckStringFormat",(e,t)=>{var r,i;wA.init(e,t),e._zod.onattach.push(n=>{let s=n._zod.bag;s.format=t.format,t.pattern&&(s.patterns??(s.patterns=new Set),s.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(i=e._zod).check??(i.check=()=>{})}),Yq=Vt("$ZodCheckRegex",(e,t)=>{uQ.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}});var Wq=Vt("$ZodCheckOverwrite",(e,t)=>{wA.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});var Zq={major:4,minor:4,patch:3};var kn=Vt("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Zq;let i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(let n of i)for(let s of n._zod.onattach)s(e);if(i.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let n=(o,a,u)=>{let l=IA(o),A;for(let h of a){if(h._zod.def.when){if(Pq(o)||!h._zod.def.when(o))continue}else if(l)continue;let d=o.issues.length,m=h._zod.check(o);if(m instanceof Promise&&u?.async===!1)throw new qa;if(A||m instanceof Promise)A=(A??Promise.resolve()).then(async()=>{await m,o.issues.length!==d&&(l||(l=IA(o,d)))});else{if(o.issues.length===d)continue;l||(l=IA(o,d))}}return A?A.then(()=>o):o},s=(o,a,u)=>{if(IA(o))return o.aborted=!0,o;let l=n(a,i,u);if(l instanceof Promise){if(u.async===!1)throw new qa;return l.then(A=>e._zod.parse(A,u))}return e._zod.parse(l,u)};e._zod.run=(o,a)=>{if(a.skipChecks)return e._zod.parse(o,a);if(a.direction==="backward"){let l=e._zod.parse({value:o.value,issues:[]},{...a,skipChecks:!0});return l instanceof Promise?l.then(A=>s(A,o,a)):s(l,o,a)}let u=e._zod.parse(o,a);if(u instanceof Promise){if(a.async===!1)throw new qa;return u.then(l=>n(l,i,a))}return n(u,i,a)}}Wi(e,"~standard",()=>({validate:n=>{try{let s=mf(e,n);return s.success?{value:s.data}:{issues:s.error?.issues}}catch{return Ef(e,n).then(o=>o.success?{value:o.data}:{issues:o.error?.issues})}},vendor:"zod",version:1}))}),lQ=Vt("$ZodString",(e,t)=>{kn.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Gq(e._zod.bag),e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),hQ=Vt("$ZodStringFormat",(e,t)=>{uQ.init(e,t),lQ.init(e,t)});var rV=Vt("$ZodURL",(e,t)=>{hQ.init(e,t),e._zod.check=r=>{try{let i=r.value.trim();if(!t.normalize&&t.protocol?.source===$q.source&&!/^https?:\/\//i.test(i)){r.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:r.value,inst:e,continue:!t.abort});return}let n=new URL(i);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(n.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(n.protocol.endsWith(":")?n.protocol.slice(0,-1):n.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=n.href:r.value=i;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}});var iV=Vt("$ZodBoolean",(e,t)=>{kn.init(e,t),e._zod.pattern=zq,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=!!r.value}catch{}let n=r.value;return typeof n=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:n,inst:e}),r}});var nV=Vt("$ZodAny",(e,t)=>{kn.init(e,t),e._zod.parse=r=>r});function Kq(e,t,r){e.issues.length&&t.issues.push(...Gc(r,e.issues)),t.value[r]=e.value}var sV=Vt("$ZodArray",(e,t)=>{kn.init(e,t),e._zod.parse=(r,i)=>{let n=r.value;if(!Array.isArray(n))return r.issues.push({expected:"array",code:"invalid_type",input:n,inst:e}),r;r.value=Array(n.length);let s=[];for(let o=0;o<n.length;o++){let a=n[o],u=t.element._zod.run({value:a,issues:[]},i);u instanceof Promise?s.push(u.then(l=>Kq(l,r,o))):Kq(u,r,o)}return s.length?Promise.all(s).then(()=>r):r}});function TC(e,t,r,i,n,s){let o=r in i;if(e.issues.length){if(n&&s&&!o)return;t.issues.push(...Gc(r,e.issues))}if(!o&&!n){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[r]});return}e.value===void 0?o&&(t.value[r]=void 0):t.value[r]=e.value}function yae(e){let t=Object.keys(e.shape);for(let i of t)if(!e.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);let r=Oq(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function bae(e,t,r,i,n,s){let o=[],a=n.keySet,u=n.catchall._zod,l=u.def.type,A=u.optin==="optional",h=u.optout==="optional";for(let d in t){if(d==="__proto__"||a.has(d))continue;if(l==="never"){o.push(d);continue}let m=u.run({value:t[d],issues:[]},i);m instanceof Promise?e.push(m.then(g=>TC(g,r,d,t,A,h))):TC(m,r,d,t,A,h)}return o.length&&r.issues.push({code:"unrecognized_keys",keys:o,input:t,inst:s}),e.length?Promise.all(e).then(()=>r):r}var oV=Vt("$ZodObject",(e,t)=>{if(kn.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let a=t.shape;Object.defineProperty(t,"shape",{get:()=>{let u={...a};return Object.defineProperty(t,"shape",{value:u}),u}})}let i=Nq(()=>yae(t));Wi(e._zod,"propValues",()=>{let a=t.shape,u={};for(let l in a){let A=a[l]._zod;if(A.values){u[l]??(u[l]=new Set);for(let h of A.values)u[l].add(h)}}return u});let n=SC,s=t.catchall,o;e._zod.parse=(a,u)=>{o??(o=i.value);let l=a.value;if(!n(l))return a.issues.push({expected:"object",code:"invalid_type",input:l,inst:e}),a;a.value={};let A=[],h=o.shape;for(let d of o.keys){let m=h[d],g=m._zod.optin==="optional",E=m._zod.optout==="optional",y=m._zod.run({value:l[d],issues:[]},u);y instanceof Promise?A.push(y.then(w=>TC(w,a,d,l,g,E))):TC(y,a,d,l,g,E)}return s?bae(A,l,a,u,i.value,e):A.length?Promise.all(A).then(()=>a):a}});function Xq(e,t,r,i){for(let s of e)if(s.issues.length===0)return t.value=s.value,t;let n=e.filter(s=>!IA(s));return n.length===1?(t.value=n[0].value,n[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(s=>s.issues.map(o=>Va(o,i,Po())))}),t)}var aV=Vt("$ZodUnion",(e,t)=>{kn.init(e,t),Wi(e._zod,"optin",()=>t.options.some(i=>i._zod.optin==="optional")?"optional":void 0),Wi(e._zod,"optout",()=>t.options.some(i=>i._zod.optout==="optional")?"optional":void 0),Wi(e._zod,"values",()=>{if(t.options.every(i=>i._zod.values))return new Set(t.options.flatMap(i=>Array.from(i._zod.values)))}),Wi(e._zod,"pattern",()=>{if(t.options.every(i=>i._zod.pattern)){let i=t.options.map(n=>n._zod.pattern);return new RegExp(`^(${i.map(n=>DC(n.source)).join("|")})$`)}});let r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(i,n)=>{if(r)return r(i,n);let s=!1,o=[];for(let a of t.options){let u=a._zod.run({value:i.value,issues:[]},n);if(u instanceof Promise)o.push(u),s=!0;else{if(u.issues.length===0)return u;o.push(u)}}return s?Promise.all(o).then(a=>Xq(a,i,e,n)):Xq(o,i,e,n)}});var cV=Vt("$ZodRecord",(e,t)=>{kn.init(e,t),e._zod.parse=(r,i)=>{let n=r.value;if(!oQ(n))return r.issues.push({expected:"record",code:"invalid_type",input:n,inst:e}),r;let s=[],o=t.keyType._zod.values;if(o){r.value={};let a=new Set;for(let l of o)if(typeof l=="string"||typeof l=="number"||typeof l=="symbol"){a.add(typeof l=="number"?l.toString():l);let A=t.keyType._zod.run({value:l,issues:[]},i);if(A instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(A.issues.length){r.issues.push({code:"invalid_key",origin:"record",issues:A.issues.map(m=>Va(m,i,Po())),input:l,path:[l],inst:e});continue}let h=A.value,d=t.valueType._zod.run({value:n[l],issues:[]},i);d instanceof Promise?s.push(d.then(m=>{m.issues.length&&r.issues.push(...Gc(l,m.issues)),r.value[h]=m.value})):(d.issues.length&&r.issues.push(...Gc(l,d.issues)),r.value[h]=d.value)}let u;for(let l in n)a.has(l)||(u=u??[],u.push(l));u&&u.length>0&&r.issues.push({code:"unrecognized_keys",input:n,inst:e,keys:u})}else{r.value={};for(let a of Reflect.ownKeys(n)){if(a==="__proto__"||!Object.prototype.propertyIsEnumerable.call(n,a))continue;let u=t.keyType._zod.run({value:a,issues:[]},i);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof a=="string"&&jq.test(a)&&u.issues.length){let h=t.keyType._zod.run({value:Number(a),issues:[]},i);if(h instanceof Promise)throw new Error("Async schemas not supported in object keys currently");h.issues.length===0&&(u=h)}if(u.issues.length){t.mode==="loose"?r.value[a]=n[a]:r.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(h=>Va(h,i,Po())),input:a,path:[a],inst:e});continue}let A=t.valueType._zod.run({value:n[a],issues:[]},i);A instanceof Promise?s.push(A.then(h=>{h.issues.length&&r.issues.push(...Gc(a,h.issues)),r.value[u.value]=h.value})):(A.issues.length&&r.issues.push(...Gc(a,A.issues)),r.value[u.value]=A.value)}}return s.length?Promise.all(s).then(()=>r):r}});var uV=Vt("$ZodEnum",(e,t)=>{kn.init(e,t);let r=Tq(t.entries),i=new Set(r);e._zod.values=i,e._zod.pattern=new RegExp(`^(${r.filter(n=>Mq.has(typeof n)).map(n=>typeof n=="string"?ff(n):n.toString()).join("|")})$`),e._zod.parse=(n,s)=>{let o=n.value;return i.has(o)||n.issues.push({code:"invalid_value",values:r,input:o,inst:e}),n}}),lV=Vt("$ZodLiteral",(e,t)=>{if(kn.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");let r=new Set(t.values);e._zod.values=r,e._zod.pattern=new RegExp(`^(${t.values.map(i=>typeof i=="string"?ff(i):i?ff(i.toString()):String(i)).join("|")})$`),e._zod.parse=(i,n)=>{let s=i.value;return r.has(s)||i.issues.push({code:"invalid_value",values:t.values,input:s,inst:e}),i}});function eV(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}var hV=Vt("$ZodOptional",(e,t)=>{kn.init(e,t),e._zod.optin="optional",e._zod.optout="optional",Wi(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),Wi(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${DC(r.source)})?$`):void 0}),e._zod.parse=(r,i)=>{if(t.innerType._zod.optin==="optional"){let n=r.value,s=t.innerType._zod.run(r,i);return s instanceof Promise?s.then(o=>eV(o,n)):eV(s,n)}return r.value===void 0?r:t.innerType._zod.run(r,i)}});var AV=Vt("$ZodNullable",(e,t)=>{kn.init(e,t),Wi(e._zod,"optin",()=>t.innerType._zod.optin),Wi(e._zod,"optout",()=>t.innerType._zod.optout),Wi(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${DC(r.source)}|null)$`):void 0}),Wi(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,i)=>r.value===null?r:t.innerType._zod.run(r,i)}),pV=Vt("$ZodDefault",(e,t)=>{kn.init(e,t),e._zod.optin="optional",Wi(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);if(r.value===void 0)return r.value=t.defaultValue,r;let n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(s=>tV(s,t)):tV(n,t)}});function tV(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var dV,Iae=Symbol("ZodOutput"),wae=Symbol("ZodInput"),AQ=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){let i=r[0];return this._map.set(t,i),i&&typeof i=="object"&&"id"in i&&this._idmap.set(i.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let i={...this.get(r)??{}};delete i.id;let n={...i,...this._map.get(t)};return Object.keys(n).length?n:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function FC(){return new AQ}(dV=globalThis).__zod_globalRegistry??(dV.__zod_globalRegistry=FC());var Bae=globalThis.__zod_globalRegistry;function fV(e,t){return new e({type:"string",...Dn(t)})}function gV(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Dn(t)})}function mV(e,t){return new e({type:"boolean",...Dn(t)})}function EV(e){return new e({type:"any"})}function pQ(e,t){return new Hq({check:"length_equals",...Dn(t),length:e})}function dQ(e,t){return new Yq({check:"string_format",format:"regex",...Dn(t),pattern:e})}function fQ(e){return new Wq({check:"overwrite",tx:e})}function $t(){return fQ(e=>e.trim())}function Rn(){return fQ(e=>e.toLowerCase())}var vs=Vt("ZodMiniType",(e,t)=>{if(!e._zod)throw new Error("Uninitialized schema in ZodMiniType.");kn.init(e,t),e.def=t,e.type=t.type,e.parse=(r,i)=>RC(e,r,i,{callee:e.parse}),e.safeParse=(r,i)=>mf(e,r,i),e.parseAsync=async(r,i)=>_C(e,r,i,{callee:e.parseAsync}),e.safeParseAsync=async(r,i)=>Ef(e,r,i),e.check=(...r)=>e.clone({...t,checks:[...t.checks??[],...r.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]},{parent:!0}),e.with=e.check,e.clone=(r,i)=>kC(e,r,i),e.brand=()=>e,e.register=((r,i)=>(r.add(e,i),e)),e.apply=r=>r(e)}),yV=Vt("ZodMiniString",(e,t)=>{lQ.init(e,t),vs.init(e,t)});function Pt(e){return fV(yV,e)}var Qae=Vt("ZodMiniStringFormat",(e,t)=>{hQ.init(e,t),yV.init(e,t)});var Sae=Vt("ZodMiniURL",(e,t)=>{rV.init(e,t),Qae.init(e,t)});function _n(e){return gV(Sae,e)}var Dae=Vt("ZodMiniBoolean",(e,t)=>{iV.init(e,t),vs.init(e,t)});function gQ(e){return mV(Dae,e)}var kae=Vt("ZodMiniAny",(e,t)=>{nV.init(e,t),vs.init(e,t)});function bV(){return EV(kae)}var Rae=Vt("ZodMiniArray",(e,t)=>{sV.init(e,t),vs.init(e,t)});function mQ(e,t){return new Rae({type:"array",element:e,...Dn(t)})}var _ae=Vt("ZodMiniObject",(e,t)=>{oV.init(e,t),vs.init(e,t),Wi(e,"shape",()=>t.shape)});function Tn(e,t){let r={type:"object",shape:e??{},...Dn(t)};return new _ae(r)}var Tae=Vt("ZodMiniUnion",(e,t)=>{aV.init(e,t),vs.init(e,t)});function jc(e,t){return new Tae({type:"union",options:e,...Dn(t)})}var CV=Vt("ZodMiniRecord",(e,t)=>{cV.init(e,t),vs.init(e,t)});function EQ(e,t,r){return!t||!t._zod?new CV({type:"record",keyType:Pt(),valueType:e,...Dn(t)}):new CV({type:"record",keyType:e,valueType:t,...Dn(r)})}var Fae=Vt("ZodMiniEnum",(e,t)=>{uV.init(e,t),vs.init(e,t),e.options=Object.values(t.entries)});function Cf(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Fae({type:"enum",entries:r,...Dn(t)})}var Nae=Vt("ZodMiniLiteral",(e,t)=>{lV.init(e,t),vs.init(e,t)});function IV(e,t){return new Nae({type:"literal",values:Array.isArray(e)?e:[e],...Dn(t)})}var Lae=Vt("ZodMiniOptional",(e,t)=>{hV.init(e,t),vs.init(e,t)});function ur(e){return new Lae({type:"optional",innerType:e})}var Mae=Vt("ZodMiniNullable",(e,t)=>{AV.init(e,t),vs.init(e,t)});function wV(e){return new Mae({type:"nullable",innerType:e})}var Oae=Vt("ZodMiniDefault",(e,t)=>{pV.init(e,t),vs.init(e,t)});function Cr(e,t){return new Oae({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():aQ(t)}})}var Ye=FC(),ki=Pt().check(pQ(7),Rn(),dQ(/^#([0-9a-f]{3}){1,2}$/i),$t());Ye.add(ki,{description:"A base schema for describing the format of colors"});var NC=Cr(ki,"#1e2124");Ye.add(NC,{description:"The dark background color of the workspace"});var LC=Cr(ki,"#cbd5e1");Ye.add(LC,{description:"The light background color of the workspace"});var MC=Cr(ki,"#1fb2a6");Ye.add(MC,{description:"The primary brand specific color of the workspace"});var OC=ur(ki);Ye.add(OC,{description:"The alternate brand specific color of the workspace"});var PC=ur(ki);Ye.add(PC,{description:"The secondary brand specific color of the workspace"});var UC=Cr(ki,"#3fa6ff");Ye.add(UC,{description:"The color used to display hyperlink text"});var qC=Cr(ki,"#818cf8");Ye.add(qC,{description:"The second brand specific color of the workspace"});var VC=Cr(ki,"#45b27e");Ye.add(VC,{description:"The success color of the workspace"});var $C=Cr(ki,"#38bdf8");Ye.add($C,{description:"The informational color of the workspace"});var GC=Cr(ki,"#8afafc");Ye.add(GC,{description:"The debug color of the workspace"});var jC=Cr(ki,"#f3d371");Ye.add(jC,{description:"The warning color of the workspace"});var zC=Cr(ki,"#d8314a");Ye.add(zC,{description:"The danger color of the workspace"});var HC=ur(ki);Ye.add(HC,{description:"The fatal color of the workspace"});var YC=Cr(ki,"#80fd74");Ye.add(YC,{description:"The performance color of the workspace"});var WC=Cr(ki,"#4ade80");Ye.add(WC,{description:"The positive number color of the workspace"});var JC=Cr(ki,"#ef4444");Ye.add(JC,{description:"The negative number color of the workspace"});var ZC=ur(mQ(ki));Ye.add(ZC,{description:"The color stops for the base gradient color pattern used in the workspace"});var qae=Tn({foreground:LC,background:NC,brand:MC,alternate:OC,accent:PC,link:UC,discovery:qC,success:VC,info:$C,debug:GC,warning:jC,danger:zC,fatal:HC,performance:YC,positive:WC,negative:JC,gradient:ZC}),Vae=Tn({foreground:NC,background:LC,brand:MC,alternate:OC,accent:PC,link:UC,discovery:qC,success:VC,info:$C,debug:GC,warning:jC,danger:zC,fatal:HC,performance:YC,positive:WC,negative:JC,gradient:ZC}),$ae=Tn({dark:qae,light:Vae}),Gae=Tn({dark:NC,light:LC,brand:MC,alternate:OC,accent:PC,link:UC,discovery:qC,success:VC,info:$C,debug:GC,warning:jC,danger:zC,fatal:HC,performance:YC,positive:WC,negative:JC,gradient:ZC}),BA=ur(_n());Ye.add(BA,{description:"A remote registry URL used to publish distributable packages"});var BV=Cr(Tn({github:BA,npm:BA,cargo:BA,cyclone:BA,container:BA}),{});Ye.add(BV,{description:"A list of remote registry URLs used by Storm Software"});var CQ=jc([Gae,$ae]);Ye.add(CQ,{description:"Colors used for various workspace elements"});var vV=EQ(jc([jc([IV("base"),Pt()]),Pt()]),CQ);Ye.add(vV,{description:"Storm theme config values used for styling various package elements"});var xV=ur(jc([Pt().check($t()),mQ(Pt().check($t()))]));Ye.add(xV,{description:"The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."});var QV=Pt().check($t());Ye.add(QV,{description:"The workspace bot user's name (this is the bot that will be used to perform various tasks)"});var SV=Pt().check($t());Ye.add(SV,{description:"The email of the workspace bot"});var DV=Tn({name:QV,email:SV});Ye.add(DV,{description:"The workspace's bot user's config used to automated various operations tasks"});var kV=ur(Pt().check($t(),_n()));Ye.add(kV,{description:"A URL to a banner image used to display the workspace's release"});var RV=Cr(Pt().check($t()),Dq);Ye.add(RV,{description:"The alt text for the workspace's release banner image"});var _V=Tn({url:kV,alt:RV});Ye.add(_V,{description:"The workspace's banner image used during the release process"});var TV=ur(Pt().check($t()));Ye.add(TV,{description:"A header message appended to the start of the workspace's release notes"});var FV=ur(Pt().check($t()));Ye.add(FV,{description:"A footer message appended to the end of the workspace's release notes"});var NV=Tn({banner:jc([_V,Pt().check($t(),_n())]),header:TV,footer:FV});Ye.add(NV,{description:"The workspace's release config used during the release process"});var LV=ur(Pt().check($t()));Ye.add(LV,{description:"A Twitter/X account associated with the organization/project"});var MV=ur(Pt().check($t()));Ye.add(MV,{description:"A Discord account associated with the organization/project"});var OV=ur(Pt().check($t()));Ye.add(OV,{description:"A Telegram account associated with the organization/project"});var PV=ur(Pt().check($t()));Ye.add(PV,{description:"A Slack account associated with the organization/project"});var UV=ur(Pt().check($t()));Ye.add(UV,{description:"A Medium account associated with the organization/project"});var qV=ur(Pt().check($t()));Ye.add(qV,{description:"A GitHub account associated with the organization/project"});var VV=Tn({twitter:LV,discord:MV,telegram:OV,slack:PV,medium:UV,github:qV});Ye.add(VV,{description:"The workspace's account config used to store various social media links"});var $V=ur(Pt().check($t()));Ye.add($V,{description:"The directory used to store the environment's cached file data"});var GV=ur(Pt().check($t()));Ye.add(GV,{description:"The directory used to store the environment's data files"});var jV=ur(Pt().check($t()));Ye.add(jV,{description:"The directory used to store the environment's configuration files"});var zV=ur(Pt().check($t()));Ye.add(zV,{description:"The directory used to store the environment's temp files"});var HV=ur(Pt().check($t()));Ye.add(HV,{description:"The directory used to store the environment's log files"});var YV=Cr(Pt().check($t()),"dist");Ye.add(YV,{description:"The directory used to store the workspace's distributable files after a build (relative to the workspace root)"});var WV=Tn({cache:$V,data:GV,config:jV,temp:zV,log:HV,build:YV});Ye.add(WV,{description:"Various directories used by the workspace to store data, cache, and configuration files"});var JV=Cr(Cf(["minimal","monorepo"]),"monorepo");Ye.add(JV,{description:"The variant of the workspace. This can be used to enable or disable certain features or configurations."});var ZV=Cr(Pt().check($t()),xC);Ye.add(ZV,{description:"The path to the workspace's error codes JSON file"});var KV=ur(_n());Ye.add(KV,{description:"A URL to a page that looks up the workspace's error messages given a specific error code"});var XV=Tn({codesFile:ZV,url:KV});Ye.add(XV,{description:"The workspace's error config used when creating error details during a system error"});var e$=ur(Pt().check($t(),Rn()));Ye.add(e$,{description:"The name of the organization"});var t$=ur(Pt().check($t()));Ye.add(t$,{description:"A description of the organization"});var r$=ur(_n());Ye.add(r$,{description:"A URL to the organization's logo image"});var i$=ur(_n());Ye.add(i$,{description:"A URL to the organization's icon image"});var n$=ur(_n());Ye.add(n$,{description:"A URL to a page that provides more information about the organization"});var s$=Tn({name:e$,description:t$,logo:r$,icon:i$,url:n$});Ye.add(s$,{description:"The workspace's organization details"});var o$=Cr(Pt().check($t(),Rn()),"https://public.storm-cdn.com/schemas/storm-workspace.schema.json");Ye.add(o$,{description:"The URL or file path to the JSON schema file that describes the Storm configuration file"});var a$=Pt().check($t(),Rn());Ye.add(a$,{description:"The name of the workspace/project/service/package/scope using this configuration"});var c$=Pt().check($t(),Rn());Ye.add(c$,{description:"The namespace of the workspace/project/service/package/scope using this configuration"});var u$=jc([s$,Pt().check($t(),Rn())]);Ye.add(u$,{description:"The organization of the workspace. This can be a string or an object containing the organization's details"});var l$=Pt().check($t(),Rn());Ye.add(l$,{description:"The repo URL of the workspace (i.e. the GitHub repository URL)"});var h$=Cr(Pt().check($t()),"Apache-2.0");Ye.add(h$,{description:"The license type of the package"});var A$=ur(_n());Ye.add(A$,{description:"The homepage of the workspace"});var p$=ur(_n());Ye.add(p$,{description:"The documentation site for the workspace"});var d$=ur(_n());Ye.add(d$,{description:"The development portal site for the workspace"});var f$=ur(_n());Ye.add(f$,{description:"The licensing site for the workspace"});var g$=ur(_n());Ye.add(g$,{description:"The contact site for the workspace"});var m$=ur(_n());Ye.add(m$,{description:"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"});var E$=Cr(Pt().check($t(),Rn()),"main");Ye.add(E$,{description:"The branch of the workspace"});var C$=ur(Pt().check($t(),Rn()));Ye.add(C$,{description:"A tag specifying the version pre-release identifier"});var y$=ur(Pt().check($t(),Rn()));Ye.add(y$,{description:"The owner of the package"});var b$=Cr(Cf(["development","test","production"]).check($t(),Rn()),"production");Ye.add(b$,{description:"The current runtime environment mode for the package"});var I$=Pt().check($t(),Rn());Ye.add(I$,{description:"The root directory of the workspace"});var w$=Cr(gQ(),!1);Ye.add(w$,{description:"Should all known types of workspace caching be skipped?"});var B$=Cr(Cf(["npm","yarn","pnpm","bun"]),"npm");Ye.add(B$,{description:"The JavaScript/TypeScript package manager used by the repository"});var v$=Cr(Pt().check($t()),"America/New_York");Ye.add(v$,{description:"The default timezone of the workspace"});var x$=Cr(Pt().check($t()),"en-US");Ye.add(x$,{description:"The default locale of the workspace"});var Q$=Cr(Cf(["silent","fatal","error","warn","success","info","performance","debug","trace","all"]),"info");Ye.add(Q$,{description:"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."});var S$=Cr(gQ(),!0);Ye.add(S$,{description:"Should the logging of the current Storm Workspace configuration be skipped?"});var D$=Cr(wV(Pt().check($t())),null);Ye.add(D$,{description:"The filepath of the Storm config. When this field is null, no config file was found in the current workspace."});var yQ=Cr(EQ(Pt(),bV()),{});Ye.add(yQ,{description:"Configuration of each used extension"});var k$=Tn({$schema:o$,extends:xV,name:a$,variant:JV,namespace:c$,organization:u$,repository:l$,license:h$,homepage:A$,docs:p$,portal:d$,licensing:f$,contact:g$,support:m$,branch:E$,preid:C$,owner:y$,bot:DV,release:NV,socials:VV,error:XV,mode:b$,workspaceRoot:I$,skipCache:w$,directories:WV,packageManager:B$,timezone:v$,locale:x$,logLevel:Q$,skipConfigLogging:S$,registry:BV,configFile:D$,colors:jc([CQ,vV]),extensions:yQ});Ye.add(yQ,{description:"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."});var R$=require("node:fs"),_$=require("node:fs/promises"),T$=require("node:path");async function F$(e){let t=Sq,r,i,n,s,o,a=ul(e);if((0,R$.existsSync)((0,T$.join)(a,"package.json"))){let u=await(0,_$.readFile)(Oo(a,"package.json"),"utf8");if(u){let l=JSON.parse(u);l.name&&(n=l.name),l.namespace&&(s=l.namespace),l.repository&&(typeof l.repository=="string"?o=l.repository:l.repository.url&&(o=l.repository.url)),l.license&&(t=l.license),l.homepage&&(r=l.homepage),l.bugs&&(typeof l.bugs=="string"?i=l.bugs:l.bugs.url&&(i=l.bugs.url))}}return{workspaceRoot:a,name:n,namespace:s,repository:o,license:t,homepage:r,support:i}}function N$(e){return!e.support&&e.contact&&(e.support=e.contact),!e.contact&&e.support&&(e.contact=e.support),e.homepage&&(e.docs||(e.docs=`${e.homepage}/docs`),e.license||(e.license=`${e.homepage}/license`),e.support||(e.support=`${e.homepage}/support`),e.contact||(e.contact=`${e.homepage}/contact`),(!e.error?.codesFile||!e?.error?.url)&&(e.error??={codesFile:xC},e.homepage&&(e.error.url??=`${e.homepage}/errors`))),e}var L$=async(e,t,r={})=>{let i=t||ul(t),n=await Promise.all([mC({cwd:i,packageJson:!0,name:e,envName:e?.toUpperCase(),jitiOptions:{debug:!1,fsCache:process.env.STORM_SKIP_CACHE==="true"?!1:Oo(process.env.STORM_CACHE_DIR||"node_modules/.cache/storm","jiti")},...r}),mC({cwd:i,packageJson:!0,name:e,envName:e?.toUpperCase(),jitiOptions:{debug:!1,fsCache:process.env.STORM_SKIP_CACHE==="true"?!1:Oo(process.env.STORM_CACHE_DIR||"node_modules/.cache/storm","jiti")},configFile:e,...r})]);return gs(n[0]??{},n[1]??{})},M$=async(e,t=[])=>{let r=e||ul(e),i=await L$("storm-workspace",r),n=i.config,s=i.configFile;if(n&&s&&Object.keys(n).length>0&&!n.skipConfigLogging&&Af(`Found Storm configuration file "${s.includes(`${r}/`)?s.replace(`${r}/`,""):s}" at "${r}"`,{logLevel:"all"}),t&&t.length>0){let o=await Promise.all(t.map(a=>L$(a,r)));for(let a of o)a?.config&&a?.configFile&&Object.keys(a.config).length>0&&(!n.skipConfigLogging&&!a.config.skipConfigLogging&&Af(`Found alternative configuration file "${a.configFile.includes(`${r}/`)?a.configFile.replace(`${r}/`,""):a.configFile}" at "${r}"`,{logLevel:"all"}),n=gs(a.config??{},n??{}))}if(!(!n||Object.keys(n).length===0))return n.configFile=s,n};bc();var bf=require("node:fs");var U$=e=>{let t=`STORM_EXTENSION_${e.toUpperCase()}_`;return Object.keys(process.env).filter(r=>r.startsWith(t)).reduce((r,i)=>{let n=i.replace(t,"").split("_").map(s=>s.length>0?s.trim().charAt(0).toUpperCase()+s.trim().slice(1):"").join("");return n&&(r[n]=process.env[i]),r},{})},q$=()=>{let e="STORM_",t={extends:process.env[`${e}EXTENDS`]||void 0,name:process.env[`${e}NAME`]||void 0,variant:process.env[`${e}VARIANT`]||void 0,namespace:process.env[`${e}NAMESPACE`]||void 0,owner:process.env[`${e}OWNER`]||void 0,bot:{name:process.env[`${e}BOT_NAME`]||void 0,email:process.env[`${e}BOT_EMAIL`]||void 0},release:{banner:{url:process.env[`${e}RELEASE_BANNER_URL`]||void 0,alt:process.env[`${e}RELEASE_BANNER_ALT`]||void 0},header:process.env[`${e}RELEASE_HEADER`]||void 0,footer:process.env[`${e}RELEASE_FOOTER`]||void 0},error:{codesFile:process.env[`${e}ERROR_CODES_FILE`]||void 0,url:process.env[`${e}ERROR_URL`]||void 0},socials:{twitter:process.env[`${e}SOCIAL_TWITTER`]||void 0,discord:process.env[`${e}SOCIAL_DISCORD`]||void 0,telegram:process.env[`${e}SOCIAL_TELEGRAM`]||void 0,slack:process.env[`${e}SOCIAL_SLACK`]||void 0,medium:process.env[`${e}SOCIAL_MEDIUM`]||void 0,github:process.env[`${e}SOCIAL_GITHUB`]||void 0},organization:process.env[`${e}ORG`]||process.env[`${e}ORGANIZATION`]||process.env[`${e}ORG_NAME`]||process.env[`${e}ORGANIZATION_NAME`]?process.env[`${e}ORG_DESCRIPTION`]||process.env[`${e}ORGANIZATION_DESCRIPTION`]||process.env[`${e}ORG_URL`]||process.env[`${e}ORGANIZATION_URL`]||process.env[`${e}ORG_LOGO`]||process.env[`${e}ORGANIZATION_LOGO`]?{name:process.env[`${e}ORG`]||process.env[`${e}ORGANIZATION`]||process.env[`${e}ORG_NAME`]||process.env[`${e}ORGANIZATION_NAME`],description:process.env[`${e}ORG_DESCRIPTION`]||process.env[`${e}ORGANIZATION_DESCRIPTION`]||void 0,url:process.env[`${e}ORG_URL`]||process.env[`${e}ORGANIZATION_URL`]||void 0,logo:process.env[`${e}ORG_LOGO`]||process.env[`${e}ORGANIZATION_LOGO`]||void 0,icon:process.env[`${e}ORG_ICON`]||process.env[`${e}ORGANIZATION_ICON`]||void 0}:process.env[`${e}ORG`]||process.env[`${e}ORGANIZATION`]||process.env[`${e}ORG_NAME`]||process.env[`${e}ORGANIZATION_NAME`]:void 0,packageManager:process.env[`${e}PACKAGE_MANAGER`]||void 0,license:process.env[`${e}LICENSE`]||void 0,homepage:process.env[`${e}HOMEPAGE`]||void 0,docs:process.env[`${e}DOCS`]||void 0,portal:process.env[`${e}PORTAL`]||void 0,licensing:process.env[`${e}LICENSING`]||void 0,contact:process.env[`${e}CONTACT`]||void 0,support:process.env[`${e}SUPPORT`]||void 0,timezone:process.env[`${e}TIMEZONE`]||process.env.TZ||void 0,locale:process.env[`${e}LOCALE`]||process.env.LOCALE||void 0,configFile:process.env[`${e}WORKSPACE_CONFIG_FILE`]?wr(process.env[`${e}WORKSPACE_CONFIG_FILE`]):void 0,workspaceRoot:process.env[`${e}WORKSPACE_ROOT`]?wr(process.env[`${e}WORKSPACE_ROOT`]):void 0,directories:{cache:process.env[`${e}CACHE_DIR`]?wr(process.env[`${e}CACHE_DIR`]):process.env[`${e}CACHE_DIRECTORY`]?wr(process.env[`${e}CACHE_DIRECTORY`]):void 0,data:process.env[`${e}DATA_DIR`]?wr(process.env[`${e}DATA_DIR`]):process.env[`${e}DATA_DIRECTORY`]?wr(process.env[`${e}DATA_DIRECTORY`]):void 0,config:process.env[`${e}CONFIG_DIR`]?wr(process.env[`${e}CONFIG_DIR`]):process.env[`${e}CONFIG_DIRECTORY`]?wr(process.env[`${e}CONFIG_DIRECTORY`]):void 0,temp:process.env[`${e}TEMP_DIR`]?wr(process.env[`${e}TEMP_DIR`]):process.env[`${e}TEMP_DIRECTORY`]?wr(process.env[`${e}TEMP_DIRECTORY`]):void 0,log:process.env[`${e}LOG_DIR`]?wr(process.env[`${e}LOG_DIR`]):process.env[`${e}LOG_DIRECTORY`]?wr(process.env[`${e}LOG_DIRECTORY`]):void 0,build:process.env[`${e}BUILD_DIR`]?wr(process.env[`${e}BUILD_DIR`]):process.env[`${e}BUILD_DIRECTORY`]?wr(process.env[`${e}BUILD_DIRECTORY`]):void 0},skipCache:process.env[`${e}SKIP_CACHE`]!==void 0?!!process.env[`${e}SKIP_CACHE`]:void 0,mode:(process.env[`${e}MODE`]??process.env.NODE_ENV??process.env.ENVIRONMENT)||void 0,repository:process.env[`${e}REPOSITORY`]||void 0,branch:process.env[`${e}BRANCH`]||void 0,preid:process.env[`${e}PRE_ID`]||void 0,registry:{github:process.env[`${e}REGISTRY_GITHUB`]||void 0,npm:process.env[`${e}REGISTRY_NPM`]||void 0,cargo:process.env[`${e}REGISTRY_CARGO`]||void 0,cyclone:process.env[`${e}REGISTRY_CYCLONE`]||void 0,container:process.env[`${e}REGISTRY_CONTAINER`]||void 0},logLevel:process.env[`${e}LOG_LEVEL`]!==null&&process.env[`${e}LOG_LEVEL`]!==void 0?process.env[`${e}LOG_LEVEL`]&&Number.isSafeInteger(Number.parseInt(process.env[`${e}LOG_LEVEL`]))?Cq(Number.parseInt(process.env[`${e}LOG_LEVEL`])):process.env[`${e}LOG_LEVEL`]:void 0,skipConfigLogging:process.env[`${e}SKIP_CONFIG_LOGGING`]!==void 0?!!process.env[`${e}SKIP_CONFIG_LOGGING`]:void 0},r=Object.keys(process.env).filter(n=>n.startsWith(`${e}COLOR_`)&&kq.every(s=>!n.startsWith(`${e}COLOR_LIGHT_${s}`)&&!n.startsWith(`${e}COLOR_DARK_${s}`)));t.colors=r.length>0?r.reduce((n,s)=>(n[s]=O$(e,s),n),{}):O$(e),t.docs===xq&&(t.homepage===df?t.docs=`${df}/projects/${t.name}/docs`:t.docs=`${t.homepage}/docs`),t.licensing===Qq&&(t.homepage===df?t.licensing=`${df}/projects/${t.name}/licensing`:t.licensing=`${t.homepage}/docs`);let i=process.env[`${e}WORKSPACE_CONFIG`];if(i){let n=JSON.parse(i);t={...t,...n,colors:{...t.colors,...n.colors},extensions:{...t.extensions,...n.extensions}}}return t},O$=(e,t)=>{let r=`COLOR_${t&&t!=="base"?`${t}_`:""}`.toUpperCase();return process.env[`${e}${r}LIGHT_BRAND`]||process.env[`${e}${r}DARK_BRAND`]?zae(e+r):jae(e+r)},jae=e=>{let t=[];if(process.env[`${e}GRADIENT_START`]&&process.env[`${e}GRADIENT_END`])t.push(process.env[`${e}GRADIENT_START`],process.env[`${e}GRADIENT_END`]);else if(process.env[`${e}GRADIENT_0`]||process.env[`${e}GRADIENT_1`]){let r=process.env[`${e}GRADIENT_0`]?0:1;for(;process.env[`${e}GRADIENT_${r}`];)t.push(process.env[`${e}GRADIENT_${r}`]),r++}return{dark:process.env[`${e}DARK`],light:process.env[`${e}LIGHT`],brand:process.env[`${e}BRAND`],alternate:process.env[`${e}ALTERNATE`],accent:process.env[`${e}ACCENT`],link:process.env[`${e}LINK`],discovery:process.env[`${e}DISCOVERY`],success:process.env[`${e}SUCCESS`],info:process.env[`${e}INFO`],debug:process.env[`${e}DEBUG`],warning:process.env[`${e}WARNING`],danger:process.env[`${e}DANGER`],fatal:process.env[`${e}FATAL`],performance:process.env[`${e}PERFORMANCE`],positive:process.env[`${e}POSITIVE`],negative:process.env[`${e}NEGATIVE`],gradient:t}},zae=e=>({light:P$(`${e}_LIGHT_`),dark:P$(`${e}_DARK_`)}),P$=e=>{let t=[];if(process.env[`${e}GRADIENT_START`]&&process.env[`${e}GRADIENT_END`])t.push(process.env[`${e}GRADIENT_START`],process.env[`${e}GRADIENT_END`]);else if(process.env[`${e}GRADIENT_0`]||process.env[`${e}GRADIENT_1`]){let r=process.env[`${e}GRADIENT_0`]?0:1;for(;process.env[`${e}GRADIENT_${r}`];)t.push(process.env[`${e}GRADIENT_${r}`]),r++}return{foreground:process.env[`${e}FOREGROUND`],background:process.env[`${e}BACKGROUND`],brand:process.env[`${e}BRAND`],alternate:process.env[`${e}ALTERNATE`],accent:process.env[`${e}ACCENT`],link:process.env[`${e}LINK`],discovery:process.env[`${e}DISCOVERY`],success:process.env[`${e}SUCCESS`],info:process.env[`${e}INFO`],debug:process.env[`${e}DEBUG`],warning:process.env[`${e}WARNING`],danger:process.env[`${e}DANGER`],fatal:process.env[`${e}FATAL`],performance:process.env[`${e}PERFORMANCE`],positive:process.env[`${e}POSITIVE`],negative:process.env[`${e}NEGATIVE`],gradient:t}};var Hae=(e,t)=>{for(let r of Object.keys(t??{}))if(t[r]){let i=r?.replace(/([A-Z])+/g,s=>s?s[0]?.toUpperCase()+s.slice(1):"").split(/(?=[A-Z])|[.\-\s_]/).map(s=>s.toLowerCase())??[],n;if(i.length===0)return;i.length===1?n=i[0]?.toUpperCase()??"":n=i.reduce((s,o)=>`${s}_${o.toLowerCase()}`),process.env[`STORM_EXTENSION_${e.toUpperCase()}_${n.toUpperCase()}`]=t[r]}},G$=e=>{let t="STORM_";if(e.extends&&(process.env[`${t}EXTENDS`]=Array.isArray(e.extends)?JSON.stringify(e.extends):e.extends),e.name&&(process.env[`${t}NAME`]=e.name),e.variant&&(process.env[`${t}VARIANT`]=e.variant),e.namespace&&(process.env[`${t}NAMESPACE`]=e.namespace),e.owner&&(process.env[`${t}OWNER`]=e.owner),e.bot&&(process.env[`${t}BOT_NAME`]=e.bot.name,process.env[`${t}BOT_EMAIL`]=e.bot.email),e.error&&(process.env[`${t}ERROR_CODES_FILE`]=e.error.codesFile,process.env[`${t}ERROR_URL`]=e.error.url),e.release&&(e.release.banner&&(typeof e.release.banner=="string"?(process.env[`${t}RELEASE_BANNER`]=e.release.banner,process.env[`${t}RELEASE_BANNER_URL`]=e.release.banner):(process.env[`${t}RELEASE_BANNER`]=e.release.banner.url,process.env[`${t}RELEASE_BANNER_URL`]=e.release.banner.url,process.env[`${t}RELEASE_BANNER_ALT`]=e.release.banner.alt)),process.env[`${t}RELEASE_HEADER`]=e.release.header,process.env[`${t}RELEASE_FOOTER`]=e.release.footer),e.socials&&(e.socials.twitter&&(process.env[`${t}SOCIAL_TWITTER`]=e.socials.twitter),e.socials.discord&&(process.env[`${t}SOCIAL_DISCORD`]=e.socials.discord),e.socials.telegram&&(process.env[`${t}SOCIAL_TELEGRAM`]=e.socials.telegram),e.socials.slack&&(process.env[`${t}SOCIAL_SLACK`]=e.socials.slack),e.socials.medium&&(process.env[`${t}SOCIAL_MEDIUM`]=e.socials.medium),e.socials.github&&(process.env[`${t}SOCIAL_GITHUB`]=e.socials.github)),e.organization&&(typeof e.organization=="string"?(process.env[`${t}ORG`]=e.organization,process.env[`${t}ORG_NAME`]=e.organization,process.env[`${t}ORGANIZATION`]=e.organization,process.env[`${t}ORGANIZATION_NAME`]=e.organization):(process.env[`${t}ORG`]=e.organization.name,process.env[`${t}ORG_NAME`]=e.organization.name,process.env[`${t}ORGANIZATION`]=e.organization.name,process.env[`${t}ORGANIZATION_NAME`]=e.organization.name,e.organization.url&&(process.env[`${t}ORG_URL`]=e.organization.url,process.env[`${t}ORGANIZATION_URL`]=e.organization.url),e.organization.description&&(process.env[`${t}ORG_DESCRIPTION`]=e.organization.description,process.env[`${t}ORGANIZATION_DESCRIPTION`]=e.organization.description),e.organization.logo&&(process.env[`${t}ORG_LOGO`]=e.organization.logo,process.env[`${t}ORGANIZATION_LOGO`]=e.organization.logo),e.organization.icon&&(process.env[`${t}ORG_ICON`]=e.organization.icon,process.env[`${t}ORGANIZATION_ICON`]=e.organization.icon))),e.packageManager&&(process.env[`${t}PACKAGE_MANAGER`]=e.packageManager),e.license&&(process.env[`${t}LICENSE`]=e.license),e.homepage&&(process.env[`${t}HOMEPAGE`]=e.homepage),e.docs&&(process.env[`${t}DOCS`]=e.docs),e.portal&&(process.env[`${t}PORTAL`]=e.portal),e.licensing&&(process.env[`${t}LICENSING`]=e.licensing),e.contact&&(process.env[`${t}CONTACT`]=e.contact),e.support&&(process.env[`${t}SUPPORT`]=e.support),e.timezone&&(process.env[`${t}TIMEZONE`]=e.timezone,process.env.TZ=e.timezone,process.env.DEFAULT_TIMEZONE=e.timezone,process.env.TIMEZONE=e.timezone),e.locale&&(process.env[`${t}LOCALE`]=e.locale,process.env.DEFAULT_LOCALE=e.locale,process.env.LOCALE=e.locale,process.env.LANG=e.locale?`${e.locale.replaceAll("-","_")}.UTF-8`:"en_US.UTF-8"),e.configFile&&(process.env[`${t}WORKSPACE_CONFIG_FILE`]=wr(e.configFile)),e.workspaceRoot&&(process.env[`${t}WORKSPACE_ROOT`]=wr(e.workspaceRoot),process.env.NX_WORKSPACE_ROOT=wr(e.workspaceRoot),process.env.NX_WORKSPACE_ROOT_PATH=wr(e.workspaceRoot)),e.directories&&(!e.skipCache&&e.directories.cache&&(process.env[`${t}CACHE_DIR`]=wr(e.directories.cache),process.env[`${t}CACHE_DIRECTORY`]=process.env[`${t}CACHE_DIR`]),e.directories.data&&(process.env[`${t}DATA_DIR`]=wr(e.directories.data),process.env[`${t}DATA_DIRECTORY`]=process.env[`${t}DATA_DIR`]),e.directories.config&&(process.env[`${t}CONFIG_DIR`]=wr(e.directories.config),process.env[`${t}CONFIG_DIRECTORY`]=process.env[`${t}CONFIG_DIR`]),e.directories.temp&&(process.env[`${t}TEMP_DIR`]=wr(e.directories.temp),process.env[`${t}TEMP_DIRECTORY`]=process.env[`${t}TEMP_DIR`]),e.directories.log&&(process.env[`${t}LOG_DIR`]=wr(e.directories.log),process.env[`${t}LOG_DIRECTORY`]=process.env[`${t}LOG_DIR`]),e.directories.build&&(process.env[`${t}BUILD_DIR`]=wr(e.directories.build),process.env[`${t}BUILD_DIRECTORY`]=process.env[`${t}BUILD_DIR`])),e.skipCache!==void 0&&(process.env[`${t}SKIP_CACHE`]=String(e.skipCache),e.skipCache&&(process.env.NX_SKIP_NX_CACHE??=String(e.skipCache),process.env.NX_CACHE_PROJECT_GRAPH??=String(e.skipCache))),e.mode&&(process.env[`${t}MODE`]=e.mode,process.env.NODE_ENV=e.mode,process.env.ENVIRONMENT=e.mode),e.colors?.base?.light||e.colors?.base?.dark)for(let r of Object.keys(e.colors))V$(`${t}COLOR_${r}_`,e.colors[r]);else V$(`${t}COLOR_`,e.colors);e.repository&&(process.env[`${t}REPOSITORY`]=e.repository),e.branch&&(process.env[`${t}BRANCH`]=e.branch),e.preid&&(process.env[`${t}PRE_ID`]=String(e.preid)),e.registry&&(e.registry.github&&(process.env[`${t}REGISTRY_GITHUB`]=String(e.registry.github)),e.registry.npm&&(process.env[`${t}REGISTRY_NPM`]=String(e.registry.npm)),e.registry.cargo&&(process.env[`${t}REGISTRY_CARGO`]=String(e.registry.cargo)),e.registry.cyclone&&(process.env[`${t}REGISTRY_CYCLONE`]=String(e.registry.cyclone)),e.registry.container&&(process.env[`${t}REGISTRY_CONTAINER`]=String(e.registry.container))),e.logLevel&&(process.env[`${t}LOG_LEVEL`]=String(e.logLevel),process.env.LOG_LEVEL=String(e.logLevel),process.env.NX_VERBOSE_LOGGING=String(yA(e.logLevel)>=qt.DEBUG),process.env.RUST_BACKTRACE=yA(e.logLevel)>=qt.DEBUG?"full":"none"),e.skipConfigLogging!==void 0&&(process.env[`${t}SKIP_CONFIG_LOGGING`]=String(e.skipConfigLogging)),process.env[`${t}WORKSPACE_CONFIG`]=JSON.stringify(e);for(let r of Object.keys(e.extensions??{}))e.extensions[r]&&Object.keys(e.extensions[r])&&Hae(r,e.extensions[r])},V$=(e,t)=>t?.light?.brand||t?.dark?.brand?Wae(e,t):Yae(e,t),Yae=(e,t)=>{if(t.dark&&(process.env[`${e}DARK`]=t.dark),t.light&&(process.env[`${e}LIGHT`]=t.light),t.brand&&(process.env[`${e}BRAND`]=t.brand),t.alternate&&(process.env[`${e}ALTERNATE`]=t.alternate),t.accent&&(process.env[`${e}ACCENT`]=t.accent),t.link&&(process.env[`${e}LINK`]=t.link),t.discovery&&(process.env[`${e}DISCOVERY`]=t.discovery),t.success&&(process.env[`${e}SUCCESS`]=t.success),t.info&&(process.env[`${e}INFO`]=t.info),t.debug&&(process.env[`${e}DEBUG`]=t.debug),t.warning&&(process.env[`${e}WARNING`]=t.warning),t.danger&&(process.env[`${e}DANGER`]=t.danger),t.fatal&&(process.env[`${e}FATAL`]=t.fatal),t.performance&&(process.env[`${e}PERFORMANCE`]=t.performance),t.positive&&(process.env[`${e}POSITIVE`]=t.positive),t.negative&&(process.env[`${e}NEGATIVE`]=t.negative),t.gradient)for(let r=0;r<t.gradient.length;r++)process.env[`${e}GRADIENT_${r}`]=t.gradient[r]},Wae=(e,t)=>({light:$$(`${e}LIGHT_`,t.light),dark:$$(`${e}DARK_`,t.dark)}),$$=(e,t)=>{if(t.foreground&&(process.env[`${e}FOREGROUND`]=t.foreground),t.background&&(process.env[`${e}BACKGROUND`]=t.background),t.brand&&(process.env[`${e}BRAND`]=t.brand),t.alternate&&(process.env[`${e}ALTERNATE`]=t.alternate),t.accent&&(process.env[`${e}ACCENT`]=t.accent),t.link&&(process.env[`${e}LINK`]=t.link),t.discovery&&(process.env[`${e}DISCOVERY`]=t.discovery),t.success&&(process.env[`${e}SUCCESS`]=t.success),t.info&&(process.env[`${e}INFO`]=t.info),t.debug&&(process.env[`${e}DEBUG`]=t.debug),t.warning&&(process.env[`${e}WARNING`]=t.warning),t.danger&&(process.env[`${e}DANGER`]=t.danger),t.fatal&&(process.env[`${e}FATAL`]=t.fatal),t.performance&&(process.env[`${e}PERFORMANCE`]=t.performance),t.positive&&(process.env[`${e}POSITIVE`]=t.positive),t.negative&&(process.env[`${e}NEGATIVE`]=t.negative),t.gradient)for(let r=0;r<t.gradient.length;r++)process.env[`${e}GRADIENT_${r}`]=t.gradient[r]};var bQ=new WeakMap,yf,Jae=async(e,t,r,i=!1,n=!0)=>{let s;if(!yf?.data||!yf?.timestamp||yf.timestamp<Date.now()-8e3){let o=r;o||(o=ul());let a=q$(),u=await M$(o);if(!u&&(i||bq("No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",{logLevel:"all"}),n===!1))return;let l=await F$(o),A=gs(a,u,l);A.variant||(A.variant=(0,bf.existsSync)(Oo(o,"nx.json"))||(0,bf.existsSync)(Oo(o,".nx"))||(0,bf.existsSync)(Oo(o,"lerna.json"))||(0,bf.existsSync)(Oo(o,"turbo.json"))?"monorepo":"minimal");try{let h=await Promise.resolve(k$._zod.parse({value:A,issues:[]},{async:!0}));s=N$(h.value),s.workspaceRoot??=o}catch(h){throw new Error(`Failed to parse Storm Workspace configuration${h?.message?`: ${h.message}`:""}
|
|
340
340
|
|
|
341
341
|
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${Sn(A)}`,{cause:h})}}else s=yf.data;return t&&e&&(s.extensions={...s.extensions,[e]:Zae(e,t)}),yf={timestamp:Date.now(),data:s},s},Zae=(e,t)=>{let r={extensionName:e};if(bQ.has(r))return bQ.get(r);let i=U$(e);return t&&(i=t.parse(i)),bQ.set(r,i),i},j$=async(e,t=!1)=>{let r=await Jae(void 0,void 0,e,t,!0);return G$(r),!t&&!r.skipConfigLogging&&Af(`\u2699\uFE0F Using Storm Workspace configuration:
|
|
342
342
|
${Sn(r)}`,r),r};function z$(e,t=!1){return j$(e,t)}var EW=Li(M6()),lu=Li(mW()),CW=require("node:child_process");function Z0e(e,t){try{let r=t?`${e}@${t}`:e,i=process.platform==="win32"?"npm.cmd":"npm",n=(0,CW.execFileSync)(i,["view",r,"version","--json"],{stdio:["pipe","pipe","ignore"],windowsHide:!0});if(n){let s=JSON.parse(n.toString());return typeof s=="string"?s:s.at(-1)??null}}catch{}return t??null}async function K0e(){let e=wq("create-storm-workspace"),t=await z$();try{eQ(`${pf(t)} Preparing to create the Storm Workspace`,t),["SIGTERM","SIGINT","SIGUSR2"].map(h=>{process.once(h,()=>{try{console.info(`process.on ${h}`),console.info("shutdown process done, exiting with code 0"),process.exit(0)}catch(d){console.warn("shutdown process failed, exiting with code 1"),console.error(d),process.exit(1)}})});let r=process.argv.length>2?process.argv[2]:null;r||(r=(await(0,lu.prompt)({type:"input",name:"name",message:"What is the name of the workspace?"})).name);let i=process.argv.length>3?process.argv[3]:null;i||(i=(await(0,lu.prompt)({type:"input",name:"organization",message:"What organization owns this repository?",initial:"storm-software"})).organization);let n=process.argv.length>4?process.argv[4]:null;n||(n=(await(0,lu.prompt)({type:"input",name:"namespace",message:"What is the namespace of this repository (npm scope)?",initial:i||"storm-software"})).namespace);let s=process.argv.length>5&&process.argv[5]?!!process.argv[5]:null;!s&&typeof s!="boolean"&&(s=(await(0,lu.prompt)({type:"confirm",name:"includeApps",message:"Should a separate `apps` folder be created for this workspace (if Yes: `apps` and `libs` folders will be added, if No: `packages` folders will be added)?",initial:!1})).includeApps);let o=process.argv.length>6&&process.argv[6]?!!process.argv[6]:null;!o&&typeof o!="boolean"&&(o=(await(0,lu.prompt)({type:"confirm",name:"includeRust",message:"Should Rust be included in the workspace (adds a `rust` folder with a `Cargo.toml` file)?",initial:!1})).includeRust);let a=process.argv.length>7?process.argv[7]:null;a||(a=(await(0,lu.prompt)({type:"input",name:"description",message:"Provide a description of the workspace to use in the package.json and README.md files.",initial:`${pf(t)} The ${n||r} monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.`})).description);let u=process.argv.length>8?process.argv[8]:null;u||(u=(await(0,lu.prompt)({type:"input",name:"repositoryUrl",message:"What is the workspace's Git repository's URL?",initial:`https://github.com/${i||"storm-software"}/${r}`})).repositoryUrl),eQ(`${pf(t)} Creating the Storm Workspace: ${r}`,t);let l=Z0e("@storm-software/workspace-tools"),{directory:A}=await(0,EW.createWorkspace)(`@storm-software/workspace-tools@${l||"latest"}`,{name:r,organization:i,namespace:n,description:a,includeApps:s,includeRust:o,repositoryUrl:u,nxCloud:"skip",packageManager:"pnpm",mode:"dark",interactive:!1,defaultBase:"main",useGitHub:!0,skipGit:!1,cliName:"Storm Workspace Generator"});Iq(`${pf(t)} Successfully created the workspace: ${A}.`,t)}catch(r){yq("\u274C An error occurred while creating the workspace. Please correct the below issue:",t),console.error(r),process.exit(1)}finally{e()}}K0e();
|