@goldskycom/cli 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +176 -183
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,208 +1,201 @@
|
|
|
1
|
-
"use strict";var UO=Object.create;var Da=Object.defineProperty;var WO=Object.getOwnPropertyDescriptor;var HO=Object.getOwnPropertyNames,$h=Object.getOwnPropertySymbols,YO=Object.getPrototypeOf,Uh=Object.prototype.hasOwnProperty,KO=Object.prototype.propertyIsEnumerable;var zh=(e,t,n)=>t in e?Da(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wh=(e,t)=>{for(var n in t||(t={}))Uh.call(t,n)&&zh(e,n,t[n]);if($h)for(var n of $h(t))KO.call(t,n)&&zh(e,n,t[n]);return e};var w=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),jt=(e,t)=>{for(var n in t)Da(e,n,{get:t[n],enumerable:!0})},Hh=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of HO(t))!Uh.call(e,r)&&r!==n&&Da(e,r,{get:()=>t[r],enumerable:!(i=WO(t,r))||i.enumerable});return e};var me=(e,t,n)=>(n=e!=null?UO(YO(e)):{},Hh(t||!e||!e.__esModule?Da(n,"default",{value:e,enumerable:!0}):n,e)),GO=e=>Hh(Da({},"__esModule",{value:!0}),e);var sn=w(W=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0});W.Type=W.TypeBuilder=W.Modifier=W.Hint=W.Kind=void 0;W.Kind=Symbol.for("TypeBox.Kind");W.Hint=Symbol.for("TypeBox.Hint");W.Modifier=Symbol.for("TypeBox.Modifier");var OE=0,To=class{ReadonlyOptional(t){return{[W.Modifier]:"ReadonlyOptional",...t}}Readonly(t){return{[W.Modifier]:"Readonly",...t}}Optional(t){return{[W.Modifier]:"Optional",...t}}Any(t={}){return this.Create({...t,[W.Kind]:"Any"})}Array(t,n={}){return this.Create({...n,[W.Kind]:"Array",type:"array",items:t})}Boolean(t={}){return this.Create({...t,[W.Kind]:"Boolean",type:"boolean"})}ConstructorParameters(t,n={}){return this.Tuple([...t.parameters],{...n})}Constructor(t,n,i={}){if(t[W.Kind]==="Tuple"){let r=t.items===void 0?[]:t.items;return this.Create({...i,[W.Kind]:"Constructor",type:"constructor",parameters:r,returns:n})}else{if(globalThis.Array.isArray(t))return this.Create({...i,[W.Kind]:"Constructor",type:"constructor",parameters:t,returns:n});throw new Error("TypeBuilder.Constructor: Invalid parameters")}}Enum(t,n={}){let r=Object.keys(t).filter(a=>isNaN(a)).map(a=>t[a]).map(a=>typeof a=="string"?{[W.Kind]:"Literal",type:"string",const:a}:{[W.Kind]:"Literal",type:"number",const:a});return this.Create({...n,[W.Kind]:"Union",[W.Hint]:"Enum",anyOf:r})}Function(t,n,i={}){if(t[W.Kind]==="Tuple"){let r=t.items===void 0?[]:t.items;return this.Create({...i,[W.Kind]:"Function",type:"function",parameters:r,returns:n})}else{if(globalThis.Array.isArray(t))return this.Create({...i,[W.Kind]:"Function",type:"function",parameters:t,returns:n});throw new Error("TypeBuilder.Function: Invalid parameters")}}InstanceType(t,n={}){return{...n,...this.Clone(t.returns)}}Integer(t={}){return this.Create({...t,[W.Kind]:"Integer",type:"integer"})}Intersect(t,n={}){let i=o=>o[W.Modifier]&&o[W.Modifier]==="Optional"||o[W.Modifier]==="ReadonlyOptional",[r,a]=[new Set,new Set];for(let o of t)for(let[c,u]of Object.entries(o.properties))i(u)&&a.add(c);for(let o of t)for(let c of Object.keys(o.properties))a.has(c)||r.add(c);let s={};for(let o of t)for(let[c,u]of Object.entries(o.properties))s[c]=s[c]===void 0?u:{[W.Kind]:"Union",anyOf:[s[c],{...u}]};return r.size>0?this.Create({...n,[W.Kind]:"Object",type:"object",properties:s,required:[...r]}):this.Create({...n,[W.Kind]:"Object",type:"object",properties:s})}KeyOf(t,n={}){let i=Object.keys(t.properties).map(r=>this.Create({...n,[W.Kind]:"Literal",type:"string",const:r}));return this.Create({...n,[W.Kind]:"Union",[W.Hint]:"KeyOf",anyOf:i})}Literal(t,n={}){return this.Create({...n,[W.Kind]:"Literal",const:t,type:typeof t})}Never(t={}){return this.Create({...t,[W.Kind]:"Never",allOf:[{type:"boolean",const:!1},{type:"boolean",const:!0}]})}Null(t={}){return this.Create({...t,[W.Kind]:"Null",type:"null"})}Number(t={}){return this.Create({...t,[W.Kind]:"Number",type:"number"})}Object(t,n={}){let i=Object.keys(t),r=i.filter(s=>{let c=t[s][W.Modifier];return c&&(c==="Optional"||c==="ReadonlyOptional")}),a=i.filter(s=>!r.includes(s));return a.length>0?this.Create({...n,[W.Kind]:"Object",type:"object",properties:t,required:a}):this.Create({...n,[W.Kind]:"Object",type:"object",properties:t})}Omit(t,n,i={}){let r=n[W.Kind]==="Union"?n.anyOf.map(s=>s.const):n,a={...this.Clone(t),...i,[W.Hint]:"Omit"};a.required&&(a.required=a.required.filter(s=>!r.includes(s)),a.required.length===0&&delete a.required);for(let s of Object.keys(a.properties))r.includes(s)&&delete a.properties[s];return this.Create(a)}Parameters(t,n={}){return W.Type.Tuple(t.parameters,{...n})}Partial(t,n={}){let i={...this.Clone(t),...n,[W.Hint]:"Partial"};delete i.required;for(let r of Object.keys(i.properties)){let a=i.properties[r];switch(a[W.Modifier]){case"ReadonlyOptional":a[W.Modifier]="ReadonlyOptional";break;case"Readonly":a[W.Modifier]="ReadonlyOptional";break;case"Optional":a[W.Modifier]="Optional";break;default:a[W.Modifier]="Optional";break}}return this.Create(i)}Pick(t,n,i={}){let r=n[W.Kind]==="Union"?n.anyOf.map(s=>s.const):n,a={...this.Clone(t),...i,[W.Hint]:"Pick"};a.required&&(a.required=a.required.filter(s=>r.includes(s)),a.required.length===0&&delete a.required);for(let s of Object.keys(a.properties))r.includes(s)||delete a.properties[s];return this.Create(a)}Promise(t,n={}){return this.Create({...n,[W.Kind]:"Promise",type:"promise",item:t})}Record(t,n,i={}){if(t[W.Kind]==="Union")return this.Object(t.anyOf.reduce((a,s)=>({...a,[s.const]:n}),{}),{...i,[W.Hint]:"Record"});let r=t[W.Kind]==="Number"?"^(0|[1-9][0-9]*)$":t[W.Kind]==="String"&&t.pattern?t.pattern:"^.*$";return this.Create({...i,[W.Kind]:"Record",type:"object",patternProperties:{[r]:n},additionalProperties:!1})}Recursive(t,n={}){n.$id===void 0&&(n.$id=`T${OE++}`);let i=t({[W.Kind]:"Self",$ref:`${n.$id}`});return i.$id=n.$id,this.Create({...n,...i})}Ref(t,n={}){if(t.$id===void 0)throw Error("TypeBuilder.Ref: Referenced schema must specify an $id");return this.Create({...n,[W.Kind]:"Ref",$ref:t.$id})}RegEx(t,n={}){return this.Create({...n,[W.Kind]:"String",type:"string",pattern:t.source})}Required(t,n={}){let i={...this.Clone(t),...n,[W.Hint]:"Required"};i.required=Object.keys(i.properties);for(let r of Object.keys(i.properties)){let a=i.properties[r];switch(a[W.Modifier]){case"ReadonlyOptional":a[W.Modifier]="Readonly";break;case"Readonly":a[W.Modifier]="Readonly";break;case"Optional":delete a[W.Modifier];break;default:delete a[W.Modifier];break}}return this.Create(i)}ReturnType(t,n={}){return{...n,...this.Clone(t.returns)}}Strict(t){return JSON.parse(JSON.stringify(t))}String(t={}){return this.Create({...t,[W.Kind]:"String",type:"string"})}Tuple(t,n={}){let r=t.length,a=t.length,s=t.length>0?{...n,[W.Kind]:"Tuple",type:"array",items:t,additionalItems:!1,minItems:r,maxItems:a}:{...n,[W.Kind]:"Tuple",type:"array",minItems:r,maxItems:a};return this.Create(s)}Undefined(t={}){return this.Create({...t,[W.Kind]:"Undefined",type:"object",specialized:"Undefined"})}Union(t,n={}){return t.length===0?W.Type.Never({...n}):this.Create({...n,[W.Kind]:"Union",anyOf:t})}Uint8Array(t={}){return this.Create({...t,[W.Kind]:"Uint8Array",type:"object",specialized:"Uint8Array"})}Unknown(t={}){return this.Create({...t,[W.Kind]:"Unknown"})}Unsafe(t={}){return this.Create({...t,[W.Kind]:t[W.Kind]||"Unsafe"})}Void(t={}){return this.Create({...t,[W.Kind]:"Void",type:"null"})}Create(t){return t}Clone(t){let n=r=>typeof r=="object"&&r!==null&&!Array.isArray(r),i=r=>typeof r=="object"&&r!==null&&Array.isArray(r);return n(t)?Object.keys(t).reduce((r,a)=>({...r,[a]:this.Clone(t[a])}),Object.getOwnPropertySymbols(t).reduce((r,a)=>({...r,[a]:this.Clone(t[a])}),{})):i(t)?t.map(r=>this.Clone(r)):t}};W.TypeBuilder=To;W.Type=new To});var Zm=w(tt=>{"use strict";Object.defineProperty(tt,"__esModule",{value:!0});tt.CreateOneClickDeploymentMessageSchema=tt.GetOneClickDeploymentsMessageSchema=tt.GetAllSubgraphsMessageSchema=tt.GetSubgraphMessageSchema=tt.GetSubgraphVersionsMessageSchema=tt.RemoveMessageSchema=tt.CreateTagMessageSchema=tt.DeployMessageSchema=void 0;var te=sn(),EE=te.Type.Object({bundle:te.Type.Object({encoding:te.Type.String(),filename:te.Type.String(),mimetype:te.Type.String()}),overwrite:te.Type.Object({value:te.Type.String()}),remove_graft:te.Type.Object({value:te.Type.String()}),start_block:te.Type.Optional(te.Type.Object({value:te.Type.String()}))}),ku=te.Type.Object({name:te.Type.String(),version_label:te.Type.String()});tt.DeployMessageSchema={params:ku,body:EE};var kE=te.Type.Object({target_version:te.Type.Optional(te.Type.String())});tt.CreateTagMessageSchema={body:kE,params:ku};tt.RemoveMessageSchema={params:ku};var CE=te.Type.Object({id:te.Type.String(),created_at:te.Type.Number(),deployment_id:te.Type.String(),health:te.Type.String(),synced:te.Type.Boolean(),fatal_error:te.Type.Optional(te.Type.String()),non_fatal_errors:te.Type.Optional(te.Type.Array(te.Type.String())),indexing_progress:te.Type.Optional(te.Type.Object({network:te.Type.String(),progress_percent:te.Type.Number(),chain_head_block:te.Type.Number(),deployment_head_block:te.Type.Number(),deployment_start_block:te.Type.Number(),synced:te.Type.Boolean()}))}),I8=te.Type.Object({name:te.Type.String(),version:te.Type.String(),tag:te.Type.Optional(te.Type.Object({target_version:te.Type.Optional(te.Type.String())})),health:te.Type.String(),synced:te.Type.Boolean(),graphql_endpoint:te.Type.String(),deployments:te.Type.Array(CE)}),TE=te.Type.Object({name:te.Type.String()});tt.GetSubgraphVersionsMessageSchema={params:TE};var AE=te.Type.Object({name:te.Type.String(),version_label:te.Type.String()});tt.GetSubgraphMessageSchema={params:AE};tt.GetAllSubgraphsMessageSchema={};tt.GetOneClickDeploymentsMessageSchema={};var jE=te.Type.Object({name:te.Type.String(),description:te.Type.String(),version:te.Type.String(),ipfsHash:te.Type.String(),url:te.Type.String()});tt.CreateOneClickDeploymentMessageSchema={body:jE}});var Vm=w(st=>{"use strict";Object.defineProperty(st,"__esModule",{value:!0});st.ListStreamsMessageSchema=st.ListSourcesMessageSchema=st.ListDestinationsMessageSchema=st.Destination=st.Stream=st.Source=void 0;var ve=sn();st.Source=ve.Type.Object({id:ve.Type.String(),project_id:ve.Type.String(),name:ve.Type.String(),type:ve.Type.String(),created_at:ve.Type.Number()});st.Stream=ve.Type.Object({id:ve.Type.String(),project_id:ve.Type.String(),created_at:ve.Type.Number(),name:ve.Type.String(),type:ve.Type.String(),dependencies:ve.Type.Array(ve.Type.String(),{description:"Either there are a list of stream IDs as dependencies here, or the `source_id`property is populated."}),source_id:ve.Type.String({description:"The source that this stream depends on if it's not populated by other streams."}),published:ve.Type.Boolean(),health:ve.Type.String(),subgraph_indexing_progress:ve.Type.Object({network:ve.Type.String(),progress_percent:ve.Type.Number(),chain_head_block:ve.Type.Number(),deployment_head_block:ve.Type.Number(),deployment_start_block:ve.Type.Number()})});st.Destination=ve.Type.Object({id:ve.Type.String(),project_id:ve.Type.String(),created_at:ve.Type.Number(),name:ve.Type.String(),type:ve.Type.String(),external_url:ve.Type.String()});st.ListDestinationsMessageSchema={description:`
|
|
1
|
+
"use strict";var aO=Object.create;var Pa=Object.defineProperty,sO=Object.defineProperties,oO=Object.getOwnPropertyDescriptor,cO=Object.getOwnPropertyDescriptors,lO=Object.getOwnPropertyNames,Fh=Object.getOwnPropertySymbols,uO=Object.getPrototypeOf,zh=Object.prototype.hasOwnProperty,pO=Object.prototype.propertyIsEnumerable;var Dh=(e,t,n)=>t in e?Pa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$l=(e,t)=>{for(var n in t||(t={}))zh.call(t,n)&&Dh(e,n,t[n]);if(Fh)for(var n of Fh(t))pO.call(t,n)&&Dh(e,n,t[n]);return e},Uh=(e,t)=>sO(e,cO(t));var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),De=(e,t)=>{for(var n in t)Pa(e,n,{get:t[n],enumerable:!0})},$h=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of lO(t))!zh.call(e,i)&&i!==n&&Pa(e,i,{get:()=>t[i],enumerable:!(r=oO(t,i))||r.enumerable});return e};var ne=(e,t,n)=>(n=e!=null?aO(uO(e)):{},$h(t||!e||!e.__esModule?Pa(n,"default",{value:e,enumerable:!0}):n,e)),fO=e=>$h(Pa({},"__esModule",{value:!0}),e);var Vn=b(P=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0});P.Type=P.TypeBuilder=P.Modifier=P.Hint=P.Kind=void 0;P.Kind=Symbol.for("TypeBox.Kind");P.Hint=Symbol.for("TypeBox.Hint");P.Modifier=Symbol.for("TypeBox.Modifier");var UO=0,vo=class{ReadonlyOptional(t){return{[P.Modifier]:"ReadonlyOptional",...t}}Readonly(t){return{[P.Modifier]:"Readonly",...t}}Optional(t){return{[P.Modifier]:"Optional",...t}}Any(t={}){return this.Create({...t,[P.Kind]:"Any"})}Array(t,n={}){return this.Create({...n,[P.Kind]:"Array",type:"array",items:t})}Boolean(t={}){return this.Create({...t,[P.Kind]:"Boolean",type:"boolean"})}ConstructorParameters(t,n={}){return this.Tuple([...t.parameters],{...n})}Constructor(t,n,r={}){if(t[P.Kind]==="Tuple"){let i=t.items===void 0?[]:t.items;return this.Create({...r,[P.Kind]:"Constructor",type:"object",instanceOf:"Constructor",parameters:i,returns:n})}else{if(globalThis.Array.isArray(t))return this.Create({...r,[P.Kind]:"Constructor",type:"object",instanceOf:"Constructor",parameters:t,returns:n});throw new Error("TypeBuilder.Constructor: Invalid parameters")}}Date(t={}){return this.Create({...t,[P.Kind]:"Date",type:"object",instanceOf:"Date"})}Enum(t,n={}){let i=Object.keys(t).filter(a=>isNaN(a)).map(a=>t[a]).map(a=>typeof a=="string"?{[P.Kind]:"Literal",type:"string",const:a}:{[P.Kind]:"Literal",type:"number",const:a});return this.Create({...n,[P.Kind]:"Union",[P.Hint]:"Enum",anyOf:i})}Function(t,n,r={}){if(t[P.Kind]==="Tuple"){let i=t.items===void 0?[]:t.items;return this.Create({...r,[P.Kind]:"Function",type:"object",instanceOf:"Function",parameters:i,returns:n})}else{if(globalThis.Array.isArray(t))return this.Create({...r,[P.Kind]:"Function",type:"object",instanceOf:"Function",parameters:t,returns:n});throw new Error("TypeBuilder.Function: Invalid parameters")}}InstanceType(t,n={}){return{...n,...this.Clone(t.returns)}}Integer(t={}){return this.Create({...t,[P.Kind]:"Integer",type:"integer"})}Intersect(t,n={}){let r=o=>o[P.Modifier]&&o[P.Modifier]==="Optional"||o[P.Modifier]==="ReadonlyOptional",[i,a]=[new Set,new Set];for(let o of t)for(let[c,u]of Object.entries(o.properties))r(u)&&a.add(c);for(let o of t)for(let c of Object.keys(o.properties))a.has(c)||i.add(c);let s={};for(let o of t)for(let[c,u]of Object.entries(o.properties))s[c]=s[c]===void 0?u:{[P.Kind]:"Union",anyOf:[s[c],{...u}]};return i.size>0?this.Create({...n,[P.Kind]:"Object",type:"object",properties:s,required:[...i]}):this.Create({...n,[P.Kind]:"Object",type:"object",properties:s})}KeyOf(t,n={}){let r=Object.keys(t.properties).map(i=>this.Create({...n,[P.Kind]:"Literal",type:"string",const:i}));return this.Create({...n,[P.Kind]:"Union",[P.Hint]:"KeyOf",anyOf:r})}Literal(t,n={}){return this.Create({...n,[P.Kind]:"Literal",const:t,type:typeof t})}Never(t={}){return this.Create({...t,[P.Kind]:"Never",allOf:[{type:"boolean",const:!1},{type:"boolean",const:!0}]})}Null(t={}){return this.Create({...t,[P.Kind]:"Null",type:"null"})}Number(t={}){return this.Create({...t,[P.Kind]:"Number",type:"number"})}Object(t,n={}){let r=Object.keys(t),i=r.filter(s=>{let c=t[s][P.Modifier];return c&&(c==="Optional"||c==="ReadonlyOptional")}),a=r.filter(s=>!i.includes(s));return a.length>0?this.Create({...n,[P.Kind]:"Object",type:"object",properties:t,required:a}):this.Create({...n,[P.Kind]:"Object",type:"object",properties:t})}Omit(t,n,r={}){let i=n[P.Kind]==="Union"?n.anyOf.map(s=>s.const):n,a={...this.Clone(t),...r,[P.Hint]:"Omit"};a.required&&(a.required=a.required.filter(s=>!i.includes(s)),a.required.length===0&&delete a.required);for(let s of Object.keys(a.properties))i.includes(s)&&delete a.properties[s];return this.Create(a)}Parameters(t,n={}){return P.Type.Tuple(t.parameters,{...n})}Partial(t,n={}){let r={...this.Clone(t),...n,[P.Hint]:"Partial"};delete r.required;for(let i of Object.keys(r.properties)){let a=r.properties[i];switch(a[P.Modifier]){case"ReadonlyOptional":a[P.Modifier]="ReadonlyOptional";break;case"Readonly":a[P.Modifier]="ReadonlyOptional";break;case"Optional":a[P.Modifier]="Optional";break;default:a[P.Modifier]="Optional";break}}return this.Create(r)}Pick(t,n,r={}){let i=n[P.Kind]==="Union"?n.anyOf.map(s=>s.const):n,a={...this.Clone(t),...r,[P.Hint]:"Pick"};a.required&&(a.required=a.required.filter(s=>i.includes(s)),a.required.length===0&&delete a.required);for(let s of Object.keys(a.properties))i.includes(s)||delete a.properties[s];return this.Create(a)}Promise(t,n={}){return this.Create({...n,[P.Kind]:"Promise",type:"object",instanceOf:"Promise",item:t})}Record(t,n,r={}){if(t[P.Kind]==="Union")return this.Object(t.anyOf.reduce((a,s)=>({...a,[s.const]:n}),{}),{...r,[P.Hint]:"Record"});let i=["Integer","Number"].includes(t[P.Kind])?"^(0|[1-9][0-9]*)$":t[P.Kind]==="String"&&t.pattern?t.pattern:"^.*$";return this.Create({...r,[P.Kind]:"Record",type:"object",patternProperties:{[i]:n},additionalProperties:!1})}Recursive(t,n={}){n.$id===void 0&&(n.$id=`T${UO++}`);let r=t({[P.Kind]:"Self",$ref:`${n.$id}`});return r.$id=n.$id,this.Create({...n,...r})}Ref(t,n={}){if(t.$id===void 0)throw Error("TypeBuilder.Ref: Referenced schema must specify an $id");return this.Create({...n,[P.Kind]:"Ref",$ref:t.$id})}RegEx(t,n={}){return this.Create({...n,[P.Kind]:"String",type:"string",pattern:t.source})}Required(t,n={}){let r={...this.Clone(t),...n,[P.Hint]:"Required"};r.required=Object.keys(r.properties);for(let i of Object.keys(r.properties)){let a=r.properties[i];switch(a[P.Modifier]){case"ReadonlyOptional":a[P.Modifier]="Readonly";break;case"Readonly":a[P.Modifier]="Readonly";break;case"Optional":delete a[P.Modifier];break;default:delete a[P.Modifier];break}}return this.Create(r)}ReturnType(t,n={}){return{...n,...this.Clone(t.returns)}}Strict(t){return JSON.parse(JSON.stringify(t))}String(t={}){return this.Create({...t,[P.Kind]:"String",type:"string"})}Tuple(t,n={}){let i=t.length,a=t.length,s=t.length>0?{...n,[P.Kind]:"Tuple",type:"array",items:t,additionalItems:!1,minItems:i,maxItems:a}:{...n,[P.Kind]:"Tuple",type:"array",minItems:i,maxItems:a};return this.Create(s)}Undefined(t={}){return this.Create({...t,[P.Kind]:"Undefined",type:"null",typeOf:"Undefined"})}Union(t,n={}){return t.length===0?P.Type.Never({...n}):this.Create({...n,[P.Kind]:"Union",anyOf:t})}Uint8Array(t={}){return this.Create({...t,[P.Kind]:"Uint8Array",type:"object",instanceOf:"Uint8Array"})}Unknown(t={}){return this.Create({...t,[P.Kind]:"Unknown"})}Unsafe(t={}){return this.Create({...t,[P.Kind]:t[P.Kind]||"Unsafe"})}Void(t={}){return this.Create({...t,[P.Kind]:"Void",type:"null",typeOf:"Void"})}Create(t){return t}Clone(t){let n=i=>typeof i=="object"&&i!==null&&!Array.isArray(i),r=i=>typeof i=="object"&&i!==null&&Array.isArray(i);return n(t)?Object.keys(t).reduce((i,a)=>({...i,[a]:this.Clone(t[a])}),Object.getOwnPropertySymbols(t).reduce((i,a)=>({...i,[a]:this.Clone(t[a])}),{})):r(t)?t.map(i=>this.Clone(i)):t}};P.TypeBuilder=vo;P.Type=new vo});var Gm=b(Le=>{"use strict";Object.defineProperty(Le,"__esModule",{value:!0});Le.CreateOneClickDeploymentMessageSchema=Le.GetOneClickDeploymentsMessageSchema=Le.GetAllSubgraphsMessageSchema=Le.GetSubgraphMessageSchema=Le.GetSubgraphVersionsMessageSchema=Le.RemoveMessageSchema=Le.CreateTagMessageSchema=Le.ShowGeneratedMessageSchema=Le.GenerateMessageSchema=Le.DeployMessageSchema=void 0;var U=Vn(),$O=U.Type.Object({bundle:U.Type.Optional(U.Type.Object({encoding:U.Type.String(),filename:U.Type.String(),mimetype:U.Type.String()})),generated_bundle_id:U.Type.Optional(U.Type.Object({value:U.Type.String()})),overwrite:U.Type.Object({value:U.Type.String()}),remove_graft:U.Type.Optional(U.Type.Object({value:U.Type.String()})),start_block:U.Type.Optional(U.Type.Object({value:U.Type.String()}))}),mu=U.Type.Object({name:U.Type.String(),version_label:U.Type.String()});Le.DeployMessageSchema={params:mu,body:$O};var WO=U.Type.Object({bundle:U.Type.String()});Le.GenerateMessageSchema={body:WO};var HO=U.Type.Object({cursor:U.Type.String()});Le.ShowGeneratedMessageSchema={body:HO};var YO=U.Type.Object({target_version:U.Type.Optional(U.Type.String())});Le.CreateTagMessageSchema={body:YO,params:mu};Le.RemoveMessageSchema={params:mu};var GO=U.Type.Object({id:U.Type.String(),created_at:U.Type.Number(),deployment_id:U.Type.String(),health:U.Type.String(),synced:U.Type.Boolean(),fatal_error:U.Type.Optional(U.Type.String()),non_fatal_errors:U.Type.Optional(U.Type.Array(U.Type.String())),indexing_progress:U.Type.Optional(U.Type.Object({network:U.Type.String(),progress_percent:U.Type.Number(),chain_head_block:U.Type.Number(),deployment_head_block:U.Type.Number(),deployment_start_block:U.Type.Number(),synced:U.Type.Boolean()}))}),hB=U.Type.Object({name:U.Type.String(),version:U.Type.String(),tag:U.Type.Optional(U.Type.Object({target_version:U.Type.Optional(U.Type.String())})),health:U.Type.String(),synced:U.Type.Boolean(),graphql_endpoint:U.Type.String(),deployments:U.Type.Array(GO)}),KO=U.Type.Object({name:U.Type.String()});Le.GetSubgraphVersionsMessageSchema={params:KO};var VO=U.Type.Object({name:U.Type.String(),version_label:U.Type.String()});Le.GetSubgraphMessageSchema={params:VO};Le.GetAllSubgraphsMessageSchema={};Le.GetOneClickDeploymentsMessageSchema={};var ZO=U.Type.Object({name:U.Type.String(),description:U.Type.String(),version:U.Type.String(),ipfsHash:U.Type.String(),url:U.Type.String()});Le.CreateOneClickDeploymentMessageSchema={body:ZO}});var Km=b(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});rt.ListStreamsMessageSchema=rt.ListSourcesMessageSchema=rt.ListDestinationsMessageSchema=rt.Destination=rt.Stream=rt.Source=void 0;var me=Vn();rt.Source=me.Type.Object({id:me.Type.String(),project_id:me.Type.String(),name:me.Type.String(),type:me.Type.String(),created_at:me.Type.Number()});rt.Stream=me.Type.Object({id:me.Type.String(),project_id:me.Type.String(),created_at:me.Type.Number(),name:me.Type.String(),type:me.Type.String(),dependencies:me.Type.Array(me.Type.String(),{description:"Either there are a list of stream IDs as dependencies here, or the `source_id`property is populated."}),source_id:me.Type.String({description:"The source that this stream depends on if it's not populated by other streams."}),published:me.Type.Boolean(),health:me.Type.String(),subgraph_indexing_progress:me.Type.Object({network:me.Type.String(),progress_percent:me.Type.Number(),chain_head_block:me.Type.Number(),deployment_head_block:me.Type.Number(),deployment_start_block:me.Type.Number()})});rt.Destination=me.Type.Object({id:me.Type.String(),project_id:me.Type.String(),created_at:me.Type.Number(),name:me.Type.String(),type:me.Type.String(),external_url:me.Type.String()});rt.ListDestinationsMessageSchema={description:`
|
|
2
2
|
Gets all destinations for this user.
|
|
3
3
|
Currently displays:
|
|
4
4
|
- graph-node graphql endpoints, one for each subgraph deployment
|
|
5
5
|
TODO:
|
|
6
6
|
- Goldsky API (hasura) endpoint
|
|
7
|
-
`,response:{200:
|
|
7
|
+
`,response:{200:me.Type.Array(rt.Destination)}};rt.ListSourcesMessageSchema={description:`
|
|
8
8
|
Gets all sources for this user.
|
|
9
9
|
Currently just gets graph-node subgraphs.
|
|
10
|
-
`,response:{200:
|
|
10
|
+
`,response:{200:me.Type.Array(rt.Source)}};rt.ListStreamsMessageSchema={description:`
|
|
11
11
|
Gets all streams for this user.
|
|
12
12
|
Currently just gets graph-node subgraphs deployments with the sync status.
|
|
13
|
-
`,response:{200:
|
|
14
|
-
`),function(o){if(a=o.indexOf(":"),i=Nu.trim(o.substr(0,a)).toLowerCase(),r=Nu.trim(o.substr(a+1)),i){if(n[i]&&XE.indexOf(i)>=0)return;i==="set-cookie"?n[i]=(n[i]?n[i]:[]).concat([r]):n[i]=n[i]?n[i]+", "+r:r}}),n}});var _g=w((Z8,wg)=>{"use strict";var yg=dt();wg.exports=yg.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function r(a){var s=a;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=r(window.location.href),function(s){var o=yg.isString(s)?r(s):s;return o.protocol===i.protocol&&o.host===i.host}}():function(){return function(){return!0}}()});var Mr=w((V8,Sg)=>{"use strict";function Lu(e){this.message=e}Lu.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Lu.prototype.__CANCEL__=!0;Sg.exports=Lu});var Eg=w((J8,Og)=>{"use strict";var Lo=dt(),QE=Ru(),ek=fg(),tk=jo(),nk=Iu(),ik=xg(),rk=_g(),Pu=Io(),ak=Rr(),sk=Mr();Og.exports=function(t){return new Promise(function(i,r){var a=t.data,s=t.headers,o=t.responseType,c;function u(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}Lo.isFormData(a)&&delete s["Content-Type"];var l=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",d=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(p+":"+d)}var g=nk(t.baseURL,t.url);l.open(t.method.toUpperCase(),tk(g,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function x(){if(!!l){var h="getAllResponseHeaders"in l?ik(l.getAllResponseHeaders()):null,_=!o||o==="text"||o==="json"?l.responseText:l.response,k={data:_,status:l.status,statusText:l.statusText,headers:h,config:t,request:l};QE(function(R){i(R),u()},function(R){r(R),u()},k),l=null}}if("onloadend"in l?l.onloadend=x:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(x)},l.onabort=function(){!l||(r(Pu("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){r(Pu("Network Error",t,null,l)),l=null},l.ontimeout=function(){var _=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",k=t.transitional||ak.transitional;t.timeoutErrorMessage&&(_=t.timeoutErrorMessage),r(Pu(_,t,k.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},Lo.isStandardBrowserEnv()){var b=(t.withCredentials||rk(g))&&t.xsrfCookieName?ek.read(t.xsrfCookieName):void 0;b&&(s[t.xsrfHeaderName]=b)}"setRequestHeader"in l&&Lo.forEach(s,function(_,k){typeof a>"u"&&k.toLowerCase()==="content-type"?delete s[k]:l.setRequestHeader(k,_)}),Lo.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),o&&o!=="json"&&(l.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&l.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(c=function(h){!l||(r(!h||h&&h.type?new sk("canceled"):h),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c))),a||(a=null),l.send(a)})}});var Cg=w((X8,kg)=>{var Ir=1e3,Nr=Ir*60,Lr=Nr*60,Bi=Lr*24,ok=Bi*7,ck=Bi*365.25;kg.exports=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0)return lk(e);if(n==="number"&&isFinite(e))return t.long?pk(e):uk(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function lk(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 n=parseFloat(t[1]),i=(t[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return n*ck;case"weeks":case"week":case"w":return n*ok;case"days":case"day":case"d":return n*Bi;case"hours":case"hour":case"hrs":case"hr":case"h":return n*Lr;case"minutes":case"minute":case"mins":case"min":case"m":return n*Nr;case"seconds":case"second":case"secs":case"sec":case"s":return n*Ir;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function uk(e){var t=Math.abs(e);return t>=Bi?Math.round(e/Bi)+"d":t>=Lr?Math.round(e/Lr)+"h":t>=Nr?Math.round(e/Nr)+"m":t>=Ir?Math.round(e/Ir)+"s":e+"ms"}function pk(e){var t=Math.abs(e);return t>=Bi?Po(e,t,Bi,"day"):t>=Lr?Po(e,t,Lr,"hour"):t>=Nr?Po(e,t,Nr,"minute"):t>=Ir?Po(e,t,Ir,"second"):e+" ms"}function Po(e,t,n,i){var r=t>=n*1.5;return Math.round(e/n)+" "+i+(r?"s":"")}});var qu=w((Q8,Tg)=>{function fk(e){n.debug=n,n.default=n,n.coerce=c,n.disable=a,n.enable=r,n.enabled=s,n.humanize=Cg(),n.destroy=u,Object.keys(e).forEach(l=>{n[l]=e[l]}),n.names=[],n.skips=[],n.formatters={};function t(l){let p=0;for(let d=0;d<l.length;d++)p=(p<<5)-p+l.charCodeAt(d),p|=0;return n.colors[Math.abs(p)%n.colors.length]}n.selectColor=t;function n(l){let p,d=null,g,x;function b(...h){if(!b.enabled)return;let _=b,k=Number(new Date),I=k-(p||k);_.diff=I,_.prev=p,_.curr=k,p=k,h[0]=n.coerce(h[0]),typeof h[0]!="string"&&h.unshift("%O");let R=0;h[0]=h[0].replace(/%([a-zA-Z%])/g,(H,D)=>{if(H==="%%")return"%";R++;let $=n.formatters[D];if(typeof $=="function"){let y=h[R];H=$.call(_,y),h.splice(R,1),R--}return H}),n.formatArgs.call(_,h),(_.log||n.log).apply(_,h)}return b.namespace=l,b.useColors=n.useColors(),b.color=n.selectColor(l),b.extend=i,b.destroy=n.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(g!==n.namespaces&&(g=n.namespaces,x=n.enabled(l)),x),set:h=>{d=h}}),typeof n.init=="function"&&n.init(b),b}function i(l,p){let d=n(this.namespace+(typeof p>"u"?":":p)+l);return d.log=this.log,d}function r(l){n.save(l),n.namespaces=l,n.names=[],n.skips=[];let p,d=(typeof l=="string"?l:"").split(/[\s,]+/),g=d.length;for(p=0;p<g;p++)!d[p]||(l=d[p].replace(/\*/g,".*?"),l[0]==="-"?n.skips.push(new RegExp("^"+l.slice(1)+"$")):n.names.push(new RegExp("^"+l+"$")))}function a(){let l=[...n.names.map(o),...n.skips.map(o).map(p=>"-"+p)].join(",");return n.enable(""),l}function s(l){if(l[l.length-1]==="*")return!0;let p,d;for(p=0,d=n.skips.length;p<d;p++)if(n.skips[p].test(l))return!1;for(p=0,d=n.names.length;p<d;p++)if(n.names[p].test(l))return!0;return!1}function o(l){return l.toString().substring(2,l.toString().length-2).replace(/\.\*\?$/,"*")}function c(l){return l instanceof Error?l.stack||l.message:l}function u(){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 n.enable(n.load()),n}Tg.exports=fk});var Ag=w((Lt,qo)=>{Lt.formatArgs=hk;Lt.save=mk;Lt.load=gk;Lt.useColors=dk;Lt.storage=bk();Lt.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`."))}})();Lt.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 dk(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function hk(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+qo.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let n=0,i=0;e[0].replace(/%[a-zA-Z%]/g,r=>{r!=="%%"&&(n++,r==="%c"&&(i=n))}),e.splice(i,0,t)}Lt.log=console.debug||console.log||(()=>{});function mk(e){try{e?Lt.storage.setItem("debug",e):Lt.storage.removeItem("debug")}catch{}}function gk(){let e;try{e=Lt.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function bk(){try{return localStorage}catch{}}qo.exports=qu()(Lt);var{formatters:vk}=qo.exports;vk.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Mg=w((eB,jg)=>{"use strict";jg.exports=(e,t=process.argv)=>{let n=e.startsWith("-")?"":e.length===1?"-":"--",i=t.indexOf(n+e),r=t.indexOf("--");return i!==-1&&(r===-1||i<r)}});var Bo=w((tB,Ig)=>{"use strict";var xk=require("os"),Rg=require("tty"),Vt=Mg(),{env:nt}=process,Xn;Vt("no-color")||Vt("no-colors")||Vt("color=false")||Vt("color=never")?Xn=0:(Vt("color")||Vt("colors")||Vt("color=true")||Vt("color=always"))&&(Xn=1);"FORCE_COLOR"in nt&&(nt.FORCE_COLOR==="true"?Xn=1:nt.FORCE_COLOR==="false"?Xn=0:Xn=nt.FORCE_COLOR.length===0?1:Math.min(parseInt(nt.FORCE_COLOR,10),3));function Bu(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Fu(e,t){if(Xn===0)return 0;if(Vt("color=16m")||Vt("color=full")||Vt("color=truecolor"))return 3;if(Vt("color=256"))return 2;if(e&&!t&&Xn===void 0)return 0;let n=Xn||0;if(nt.TERM==="dumb")return n;if(process.platform==="win32"){let i=xk.release().split(".");return Number(i[0])>=10&&Number(i[2])>=10586?Number(i[2])>=14931?3:2:1}if("CI"in nt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(i=>i in nt)||nt.CI_NAME==="codeship"?1:n;if("TEAMCITY_VERSION"in nt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(nt.TEAMCITY_VERSION)?1:0;if(nt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in nt){let i=parseInt((nt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(nt.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(nt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(nt.TERM)||"COLORTERM"in nt?1:n}function yk(e){let t=Fu(e,e&&e.isTTY);return Bu(t)}Ig.exports={supportsColor:yk,stdout:Bu(Fu(!0,Rg.isatty(1))),stderr:Bu(Fu(!0,Rg.isatty(2)))}});var Lg=w((ot,Do)=>{var wk=require("tty"),Fo=require("util");ot.init=Tk;ot.log=Ek;ot.formatArgs=Sk;ot.save=kk;ot.load=Ck;ot.useColors=_k;ot.destroy=Fo.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");ot.colors=[6,2,3,4,5,1];try{let e=Bo();e&&(e.stderr||e).level>=2&&(ot.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{}ot.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(r,a)=>a.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[n]=i,e},{});function _k(){return"colors"in ot.inspectOpts?Boolean(ot.inspectOpts.colors):wk.isatty(process.stderr.fd)}function Sk(e){let{namespace:t,useColors:n}=this;if(n){let i=this.color,r="\x1B[3"+(i<8?i:"8;5;"+i),a=` ${r};1m${t} \x1B[0m`;e[0]=a+e[0].split(`
|
|
13
|
+
`,response:{200:me.Type.Array(rt.Stream)}}});var gu=b((vB,Vm)=>{"use strict";Vm.exports=function(t,n){return function(){for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];return t.apply(n,i)}}});var ut=b((bB,Qm)=>{"use strict";var JO=gu(),Zn=Object.prototype.toString;function xu(e){return Array.isArray(e)}function vu(e){return typeof e>"u"}function XO(e){return e!==null&&!vu(e)&&e.constructor!==null&&!vu(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Zm(e){return Zn.call(e)==="[object ArrayBuffer]"}function QO(e){return Zn.call(e)==="[object FormData]"}function ek(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Zm(e.buffer),t}function tk(e){return typeof e=="string"}function nk(e){return typeof e=="number"}function Jm(e){return e!==null&&typeof e=="object"}function bo(e){if(Zn.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function rk(e){return Zn.call(e)==="[object Date]"}function ik(e){return Zn.call(e)==="[object File]"}function ak(e){return Zn.call(e)==="[object Blob]"}function Xm(e){return Zn.call(e)==="[object Function]"}function sk(e){return Jm(e)&&Xm(e.pipe)}function ok(e){return Zn.call(e)==="[object URLSearchParams]"}function ck(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function lk(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function yu(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),xu(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function bu(){var e={};function t(i,a){bo(e[a])&&bo(i)?e[a]=bu(e[a],i):bo(i)?e[a]=bu({},i):xu(i)?e[a]=i.slice():e[a]=i}for(var n=0,r=arguments.length;n<r;n++)yu(arguments[n],t);return e}function uk(e,t,n){return yu(t,function(i,a){n&&typeof i=="function"?e[a]=JO(i,n):e[a]=i}),e}function pk(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}Qm.exports={isArray:xu,isArrayBuffer:Zm,isBuffer:XO,isFormData:QO,isArrayBufferView:ek,isString:tk,isNumber:nk,isObject:Jm,isPlainObject:bo,isUndefined:vu,isDate:rk,isFile:ik,isBlob:ak,isFunction:Xm,isStream:sk,isURLSearchParams:ok,isStandardBrowserEnv:lk,forEach:yu,merge:bu,extend:uk,trim:ck,stripBOM:pk}});var xo=b((xB,tg)=>{"use strict";var _i=ut();function eg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}tg.exports=function(t,n,r){if(!n)return t;var i;if(r)i=r(n);else if(_i.isURLSearchParams(n))i=n.toString();else{var a=[];_i.forEach(n,function(c,u){c===null||typeof c>"u"||(_i.isArray(c)?u=u+"[]":c=[c],_i.forEach(c,function(p){_i.isDate(p)?p=p.toISOString():_i.isObject(p)&&(p=JSON.stringify(p)),a.push(eg(u)+"="+eg(p))}))}),i=a.join("&")}if(i){var s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}});var rg=b((yB,ng)=>{"use strict";var fk=ut();function yo(){this.handlers=[]}yo.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};yo.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};yo.prototype.forEach=function(t){fk.forEach(this.handlers,function(r){r!==null&&t(r)})};ng.exports=yo});var ag=b((wB,ig)=>{"use strict";var dk=ut();ig.exports=function(t,n){dk.forEach(t,function(i,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=i,delete t[a])})}});var wo=b((_B,sg)=>{"use strict";sg.exports=function(t,n,r,i,a){return t.config=n,r&&(t.code=r),t.request=i,t.response=a,t.isAxiosError=!0,t.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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}});var _o=b((SB,og)=>{"use strict";var hk=wo();og.exports=function(t,n,r,i,a){var s=new Error(t);return hk(s,n,r,i,a)}});var wu=b((EB,cg)=>{"use strict";var mk=_o();cg.exports=function(t,n,r){var i=r.config.validateStatus;!r.status||!i||i(r.status)?t(r):n(mk("Request failed with status code "+r.status,r.config,null,r.request,r))}});var ug=b((OB,lg)=>{"use strict";var So=ut();lg.exports=So.isStandardBrowserEnv()?function(){return{write:function(n,r,i,a,s,o){var c=[];c.push(n+"="+encodeURIComponent(r)),So.isNumber(i)&&c.push("expires="+new Date(i).toGMTString()),So.isString(a)&&c.push("path="+a),So.isString(s)&&c.push("domain="+s),o===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(n){var r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()});var fg=b((kB,pg)=>{"use strict";pg.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}});var hg=b((TB,dg)=>{"use strict";dg.exports=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}});var _u=b((CB,mg)=>{"use strict";var gk=fg(),vk=hg();mg.exports=function(t,n){return t&&!gk(n)?vk(t,n):n}});var vg=b((AB,gg)=>{"use strict";var Su=ut(),bk=["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"];gg.exports=function(t){var n={},r,i,a;return t&&Su.forEach(t.split(`
|
|
14
|
+
`),function(o){if(a=o.indexOf(":"),r=Su.trim(o.substr(0,a)).toLowerCase(),i=Su.trim(o.substr(a+1)),r){if(n[r]&&bk.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([i]):n[r]=n[r]?n[r]+", "+i:i}}),n}});var yg=b((jB,xg)=>{"use strict";var bg=ut();xg.exports=bg.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function i(a){var s=a;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){var o=bg.isString(s)?i(s):s;return o.protocol===r.protocol&&o.host===r.host}}():function(){return function(){return!0}}()});var Si=b((RB,wg)=>{"use strict";function Eu(e){this.message=e}Eu.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Eu.prototype.__CANCEL__=!0;wg.exports=Eu});var Sg=b((MB,_g)=>{"use strict";var Eo=ut(),xk=wu(),yk=ug(),wk=xo(),_k=_u(),Sk=vg(),Ek=yg(),Ou=_o(),Ok=Ei(),kk=Si();_g.exports=function(t){return new Promise(function(r,i){var a=t.data,s=t.headers,o=t.responseType,c;function u(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}Eo.isFormData(a)&&delete s["Content-Type"];var l=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",f=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(p+":"+f)}var m=_k(t.baseURL,t.url);l.open(t.method.toUpperCase(),wk(m,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function v(){if(!!l){var d="getAllResponseHeaders"in l?Sk(l.getAllResponseHeaders()):null,x=!o||o==="text"||o==="json"?l.responseText:l.response,_={data:x,status:l.status,statusText:l.statusText,headers:d,config:t,request:l};xk(function(k){r(k),u()},function(k){i(k),u()},_),l=null}}if("onloadend"in l?l.onloadend=v:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(v)},l.onabort=function(){!l||(i(Ou("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){i(Ou("Network Error",t,null,l)),l=null},l.ontimeout=function(){var x=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",_=t.transitional||Ok.transitional;t.timeoutErrorMessage&&(x=t.timeoutErrorMessage),i(Ou(x,t,_.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},Eo.isStandardBrowserEnv()){var g=(t.withCredentials||Ek(m))&&t.xsrfCookieName?yk.read(t.xsrfCookieName):void 0;g&&(s[t.xsrfHeaderName]=g)}"setRequestHeader"in l&&Eo.forEach(s,function(x,_){typeof a>"u"&&_.toLowerCase()==="content-type"?delete s[_]:l.setRequestHeader(_,x)}),Eo.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),o&&o!=="json"&&(l.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&l.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(c=function(d){!l||(i(!d||d&&d.type?new kk("canceled"):d),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c))),a||(a=null),l.send(a)})}});var Og=b((PB,Eg)=>{var Oi=1e3,ki=Oi*60,Ti=ki*60,Ir=Ti*24,Tk=Ir*7,Ck=Ir*365.25;Eg.exports=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0)return Ak(e);if(n==="number"&&isFinite(e))return t.long?Rk(e):jk(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Ak(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 n=parseFloat(t[1]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*Ck;case"weeks":case"week":case"w":return n*Tk;case"days":case"day":case"d":return n*Ir;case"hours":case"hour":case"hrs":case"hr":case"h":return n*Ti;case"minutes":case"minute":case"mins":case"min":case"m":return n*ki;case"seconds":case"second":case"secs":case"sec":case"s":return n*Oi;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function jk(e){var t=Math.abs(e);return t>=Ir?Math.round(e/Ir)+"d":t>=Ti?Math.round(e/Ti)+"h":t>=ki?Math.round(e/ki)+"m":t>=Oi?Math.round(e/Oi)+"s":e+"ms"}function Rk(e){var t=Math.abs(e);return t>=Ir?Oo(e,t,Ir,"day"):t>=Ti?Oo(e,t,Ti,"hour"):t>=ki?Oo(e,t,ki,"minute"):t>=Oi?Oo(e,t,Oi,"second"):e+" ms"}function Oo(e,t,n,r){var i=t>=n*1.5;return Math.round(e/n)+" "+r+(i?"s":"")}});var ku=b((IB,kg)=>{function Mk(e){n.debug=n,n.default=n,n.coerce=c,n.disable=a,n.enable=i,n.enabled=s,n.humanize=Og(),n.destroy=u,Object.keys(e).forEach(l=>{n[l]=e[l]}),n.names=[],n.skips=[],n.formatters={};function t(l){let p=0;for(let f=0;f<l.length;f++)p=(p<<5)-p+l.charCodeAt(f),p|=0;return n.colors[Math.abs(p)%n.colors.length]}n.selectColor=t;function n(l){let p,f=null,m,v;function g(...d){if(!g.enabled)return;let x=g,_=Number(new Date),T=_-(p||_);x.diff=T,x.prev=p,x.curr=_,p=_,d[0]=n.coerce(d[0]),typeof d[0]!="string"&&d.unshift("%O");let k=0;d[0]=d[0].replace(/%([a-zA-Z%])/g,(D,B)=>{if(D==="%%")return"%";k++;let N=n.formatters[B];if(typeof N=="function"){let W=d[k];D=N.call(x,W),d.splice(k,1),k--}return D}),n.formatArgs.call(x,d),(x.log||n.log).apply(x,d)}return g.namespace=l,g.useColors=n.useColors(),g.color=n.selectColor(l),g.extend=r,g.destroy=n.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(m!==n.namespaces&&(m=n.namespaces,v=n.enabled(l)),v),set:d=>{f=d}}),typeof n.init=="function"&&n.init(g),g}function r(l,p){let f=n(this.namespace+(typeof p>"u"?":":p)+l);return f.log=this.log,f}function i(l){n.save(l),n.namespaces=l,n.names=[],n.skips=[];let p,f=(typeof l=="string"?l:"").split(/[\s,]+/),m=f.length;for(p=0;p<m;p++)!f[p]||(l=f[p].replace(/\*/g,".*?"),l[0]==="-"?n.skips.push(new RegExp("^"+l.slice(1)+"$")):n.names.push(new RegExp("^"+l+"$")))}function a(){let l=[...n.names.map(o),...n.skips.map(o).map(p=>"-"+p)].join(",");return n.enable(""),l}function s(l){if(l[l.length-1]==="*")return!0;let p,f;for(p=0,f=n.skips.length;p<f;p++)if(n.skips[p].test(l))return!1;for(p=0,f=n.names.length;p<f;p++)if(n.names[p].test(l))return!0;return!1}function o(l){return l.toString().substring(2,l.toString().length-2).replace(/\.\*\?$/,"*")}function c(l){return l instanceof Error?l.stack||l.message:l}function u(){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 n.enable(n.load()),n}kg.exports=Mk});var Tg=b((Nt,ko)=>{Nt.formatArgs=Ik;Nt.save=Nk;Nt.load=Lk;Nt.useColors=Pk;Nt.storage=qk();Nt.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`."))}})();Nt.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 Pk(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Ik(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+ko.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let n=0,r=0;e[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(n++,i==="%c"&&(r=n))}),e.splice(r,0,t)}Nt.log=console.debug||console.log||(()=>{});function Nk(e){try{e?Nt.storage.setItem("debug",e):Nt.storage.removeItem("debug")}catch{}}function Lk(){let e;try{e=Nt.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function qk(){try{return localStorage}catch{}}ko.exports=ku()(Nt);var{formatters:Bk}=ko.exports;Bk.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Ag=b((NB,Cg)=>{"use strict";Cg.exports=(e,t=process.argv)=>{let n=e.startsWith("-")?"":e.length===1?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return r!==-1&&(i===-1||r<i)}});var To=b((LB,Rg)=>{"use strict";var Fk=require("os"),jg=require("tty"),Jt=Ag(),{env:Qe}=process,Jn;Jt("no-color")||Jt("no-colors")||Jt("color=false")||Jt("color=never")?Jn=0:(Jt("color")||Jt("colors")||Jt("color=true")||Jt("color=always"))&&(Jn=1);"FORCE_COLOR"in Qe&&(Qe.FORCE_COLOR==="true"?Jn=1:Qe.FORCE_COLOR==="false"?Jn=0:Jn=Qe.FORCE_COLOR.length===0?1:Math.min(parseInt(Qe.FORCE_COLOR,10),3));function Tu(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Cu(e,t){if(Jn===0)return 0;if(Jt("color=16m")||Jt("color=full")||Jt("color=truecolor"))return 3;if(Jt("color=256"))return 2;if(e&&!t&&Jn===void 0)return 0;let n=Jn||0;if(Qe.TERM==="dumb")return n;if(process.platform==="win32"){let r=Fk.release().split(".");return Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in Qe)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(r=>r in Qe)||Qe.CI_NAME==="codeship"?1:n;if("TEAMCITY_VERSION"in Qe)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Qe.TEAMCITY_VERSION)?1:0;if(Qe.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Qe){let r=parseInt((Qe.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Qe.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Qe.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Qe.TERM)||"COLORTERM"in Qe?1:n}function Dk(e){let t=Cu(e,e&&e.isTTY);return Tu(t)}Rg.exports={supportsColor:Dk,stdout:Tu(Cu(!0,jg.isatty(1))),stderr:Tu(Cu(!0,jg.isatty(2)))}});var Pg=b((it,Ao)=>{var zk=require("tty"),Co=require("util");it.init=Kk;it.log=Hk;it.formatArgs=$k;it.save=Yk;it.load=Gk;it.useColors=Uk;it.destroy=Co.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");it.colors=[6,2,3,4,5,1];try{let e=To();e&&(e.stderr||e).level>=2&&(it.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{}it.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(i,a)=>a.toUpperCase()),r=process.env[t];return/^(yes|on|true|enabled)$/i.test(r)?r=!0:/^(no|off|false|disabled)$/i.test(r)?r=!1:r==="null"?r=null:r=Number(r),e[n]=r,e},{});function Uk(){return"colors"in it.inspectOpts?Boolean(it.inspectOpts.colors):zk.isatty(process.stderr.fd)}function $k(e){let{namespace:t,useColors:n}=this;if(n){let r=this.color,i="\x1B[3"+(r<8?r:"8;5;"+r),a=` ${i};1m${t} \x1B[0m`;e[0]=a+e[0].split(`
|
|
15
15
|
`).join(`
|
|
16
|
-
`+a),e.push(
|
|
17
|
-
`)}function
|
|
18
|
-
`).map(t=>t.trim()).join(" ")};Ng.O=function(e){return this.inspectOpts.colors=this.useColors,Fo.inspect(e,this.inspectOpts)}});var Pg=w((nB,Du)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Du.exports=Ag():Du.exports=Lg()});var Bg=w((iB,qg)=>{var Ka;qg.exports=function(){if(!Ka){try{Ka=Pg()("follow-redirects")}catch{}typeof Ka!="function"&&(Ka=function(){})}Ka.apply(null,arguments)}});var Ga=w((rB,Wu)=>{var Fi=require("url"),$u=Fi.URL,Ak=require("http"),jk=require("https"),$g=require("stream").Writable,Mk=require("assert"),zg=Bg(),Di=["abort","aborted","connect","error","socket","timeout"],Uu=Object.create(null);Di.forEach(function(e){Uu[e]=function(t,n,i){this._redirectable.emit(e,t,n,i)}});var Fg=$o("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Rk=$o("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),Ik=$o("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Nk=$o("ERR_STREAM_WRITE_AFTER_END","write after end");function Pt(e,t){$g.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 n=this;this._onNativeResponse=function(i){n._processResponse(i)},this._performRequest()}Pt.prototype=Object.create($g.prototype);Pt.prototype.abort=function(){Wg(this._currentRequest),this.emit("abort")};Pt.prototype.write=function(e,t,n){if(this._ending)throw new Nk;if(!(typeof e=="string"||typeof e=="object"&&"length"in e))throw new TypeError("data should be a string, Buffer or Uint8Array");if(typeof t=="function"&&(n=t,t=null),e.length===0){n&&n();return}this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new Ik),this.abort())};Pt.prototype.end=function(e,t,n){if(typeof e=="function"?(n=e,e=t=null):typeof t=="function"&&(n=t,t=null),!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,n);else{var i=this,r=this._currentRequest;this.write(e,t,function(){i._ended=!0,r.end(null,null,n)}),this._ending=!0}};Pt.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};Pt.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};Pt.prototype.setTimeout=function(e,t){var n=this;function i(s){s.setTimeout(e),s.removeListener("timeout",s.destroy),s.addListener("timeout",s.destroy)}function r(s){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout(function(){n.emit("timeout"),a()},e),i(s)}function a(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",a),n.removeListener("error",a),n.removeListener("response",a),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",r)}return t&&this.on("timeout",t),this.socket?r(this.socket):this._currentRequest.once("socket",r),this.on("socket",i),this.on("abort",a),this.on("error",a),this.on("response",a),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){Pt.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(Pt.prototype,e,{get:function(){return this._currentRequest[e]}})});Pt.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),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))}};Pt.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t){this.emit("error",new TypeError("Unsupported protocol "+e));return}if(this._options.agents){var n=e.substr(0,e.length-1);this._options.agent=this._options.agents[n]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);this._currentUrl=Fi.format(this._options),i._redirectable=this;for(var r=0;r<Di.length;r++)i.on(Di[r],Uu[Di[r]]);if(this._isRedirect){var a=0,s=this,o=this._requestBodyBuffers;(function c(u){if(i===s._currentRequest)if(u)s.emit("error",u);else if(a<o.length){var l=o[a++];i.finished||i.write(l.data,l.encoding,c)}else s._ended&&i.end()})()}};Pt.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n=e.headers.location;if(n&&this._options.followRedirects!==!1&&t>=300&&t<400){if(Wg(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects){this.emit("error",new Rk);return}((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],zu(/^content-/i,this._options.headers));var i=zu(/^host$/i,this._options.headers),r=Fi.parse(this._currentUrl),a=i||r.host,s=/^\w+:/.test(n)?this._currentUrl:Fi.format(Object.assign(r,{host:a})),o;try{o=Fi.resolve(s,n)}catch(l){this.emit("error",new Fg(l));return}zg("redirecting to",o),this._isRedirect=!0;var c=Fi.parse(o);if(Object.assign(this._options,c),(c.protocol!==r.protocol||!Pk(c.host,a))&&zu(/^(?:authorization|cookie)$/i,this._options.headers),typeof this._options.beforeRedirect=="function"){var u={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,u)}catch(l){this.emit("error",l);return}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(l){this.emit("error",new Fg(l))}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]};function Ug(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach(function(i){var r=i+":",a=n[r]=e[i],s=t[i]=Object.create(a);function o(u,l,p){if(typeof u=="string"){var d=u;try{u=Dg(new $u(d))}catch{u=Fi.parse(d)}}else $u&&u instanceof $u?u=Dg(u):(p=l,l=u,u={protocol:r});return typeof l=="function"&&(p=l,l=null),l=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},u,l),l.nativeProtocols=n,Mk.equal(l.protocol,r,"protocol mismatch"),zg("options",l),new Pt(l,p)}function c(u,l,p){var d=s.request(u,l,p);return d.end(),d}Object.defineProperties(s,{request:{value:o,configurable:!0,enumerable:!0,writable:!0},get:{value:c,configurable:!0,enumerable:!0,writable:!0}})}),t}function Lk(){}function Dg(e){var t={protocol:e.protocol,hostname:e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,hash:e.hash,search:e.search,pathname:e.pathname,path:e.pathname+e.search,href:e.href};return e.port!==""&&(t.port=Number(e.port)),t}function zu(e,t){var n;for(var i in t)e.test(i)&&(n=t[i],delete t[i]);return n===null||typeof n>"u"?void 0:String(n).trim()}function $o(e,t){function n(i){Error.captureStackTrace(this,this.constructor),i?(this.message=t+": "+i.message,this.cause=i):this.message=t}return n.prototype=new Error,n.prototype.constructor=n,n.prototype.name="Error ["+e+"]",n.prototype.code=e,n}function Wg(e){for(var t=0;t<Di.length;t++)e.removeListener(Di[t],Uu[Di[t]]);e.on("error",Lk),e.abort()}function Pk(e,t){if(e===t)return!0;let n=e.length-t.length-1;return n>0&&e[n]==="."&&e.endsWith(t)}Wu.exports=Ug({http:Ak,https:jk});Wu.exports.wrap=Ug});var zo=w((aB,Hg)=>{Hg.exports={version:"0.26.0"}});var Xg=w((sB,Jg)=>{"use strict";var Za=dt(),Yg=Ru(),qk=Iu(),Kg=jo(),Bk=require("http"),Fk=require("https"),Dk=Ga().http,$k=Ga().https,Gg=require("url"),zk=require("zlib"),Uk=zo().version,Pr=Io(),Uo=Ro(),Wk=Rr(),Hk=Mr(),Zg=/https:?/;function Vg(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var i=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+i}e.beforeRedirect=function(a){a.headers.host=a.host,Vg(a,t,a.href)}}Jg.exports=function(t){return new Promise(function(i,r){var a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}var o=function(F){s(),i(F)},c=!1,u=function(F){s(),c=!0,r(F)},l=t.data,p=t.headers,d={};if(Object.keys(p).forEach(function(F){d[F.toLowerCase()]=F}),"user-agent"in d?p[d["user-agent"]]||delete p[d["user-agent"]]:p["User-Agent"]="axios/"+Uk,l&&!Za.isStream(l)){if(!Buffer.isBuffer(l))if(Za.isArrayBuffer(l))l=Buffer.from(new Uint8Array(l));else if(Za.isString(l))l=Buffer.from(l,"utf-8");else return u(Pr("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));if(t.maxBodyLength>-1&&l.length>t.maxBodyLength)return u(Pr("Request body larger than maxBodyLength limit",t));d["content-length"]||(p["Content-Length"]=l.length)}var g=void 0;if(t.auth){var x=t.auth.username||"",b=t.auth.password||"";g=x+":"+b}var h=qk(t.baseURL,t.url),_=Gg.parse(h),k=_.protocol||"http:";if(!g&&_.auth){var I=_.auth.split(":"),R=I[0]||"",M=I[1]||"";g=R+":"+M}g&&d.authorization&&delete p[d.authorization];var H=Zg.test(k),D=H?t.httpsAgent:t.httpAgent;try{Kg(_.path,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(E){var $=new Error(E.message);$.config=t,$.url=t.url,$.exists=!0,u($)}var y={path:Kg(_.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:p,agent:D,agents:{http:t.httpAgent,https:t.httpsAgent},auth:g};t.socketPath?y.socketPath=t.socketPath:(y.hostname=_.hostname,y.port=_.port);var P=t.proxy;if(!P&&P!==!1){var O=k.slice(0,-1)+"_proxy",v=process.env[O]||process.env[O.toUpperCase()];if(v){var A=Gg.parse(v),N=process.env.no_proxy||process.env.NO_PROXY,Y=!0;if(N){var re=N.split(",").map(function(F){return F.trim()});Y=!re.some(function(F){return F?F==="*"||F[0]==="."&&_.hostname.substr(_.hostname.length-F.length)===F?!0:_.hostname===F:!1})}if(Y&&(P={host:A.hostname,port:A.port,protocol:A.protocol},A.auth)){var he=A.auth.split(":");P.auth={username:he[0],password:he[1]}}}}P&&(y.headers.host=_.hostname+(_.port?":"+_.port:""),Vg(y,P,k+"//"+_.hostname+(_.port?":"+_.port:"")+y.path));var Z,fe=H&&(P?Zg.test(P.protocol):!0);t.transport?Z=t.transport:t.maxRedirects===0?Z=fe?Fk:Bk:(t.maxRedirects&&(y.maxRedirects=t.maxRedirects),Z=fe?$k:Dk),t.maxBodyLength>-1&&(y.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(y.insecureHTTPParser=t.insecureHTTPParser);var pe=Z.request(y,function(F){if(!pe.aborted){var z=F,Se=F.req||pe;if(F.statusCode!==204&&Se.method!=="HEAD"&&t.decompress!==!1)switch(F.headers["content-encoding"]){case"gzip":case"compress":case"deflate":z=z.pipe(zk.createUnzip()),delete F.headers["content-encoding"];break}var Ue={status:F.statusCode,statusText:F.statusMessage,headers:F.headers,config:t,request:Se};if(t.responseType==="stream")Ue.data=z,Yg(o,u,Ue);else{var J=[],de=0;z.on("data",function(ae){J.push(ae),de+=ae.length,t.maxContentLength>-1&&de>t.maxContentLength&&(c=!0,z.destroy(),u(Pr("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,Se)))}),z.on("aborted",function(){c||(z.destroy(),u(Pr("error request aborted",t,"ERR_REQUEST_ABORTED",Se)))}),z.on("error",function(ae){pe.aborted||u(Uo(ae,t,null,Se))}),z.on("end",function(){try{var ae=J.length===1?J[0]:Buffer.concat(J);t.responseType!=="arraybuffer"&&(ae=ae.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(ae=Za.stripBOM(ae))),Ue.data=ae}catch(We){u(Uo(We,t,We.code,Ue.request,Ue))}Yg(o,u,Ue)})}}});if(pe.on("error",function(F){pe.aborted&&F.code!=="ERR_FR_TOO_MANY_REDIRECTS"||u(Uo(F,t,null,pe))}),pe.on("socket",function(F){F.setKeepAlive(!0,1e3*60)}),t.timeout){var f=parseInt(t.timeout,10);if(isNaN(f)){u(Pr("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",pe));return}pe.setTimeout(f,function(){pe.abort();var F="";t.timeoutErrorMessage?F=t.timeoutErrorMessage:F="timeout of "+t.timeout+"ms exceeded";var z=t.transitional||Wk.transitional;u(Pr(F,t,z.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",pe))})}(t.cancelToken||t.signal)&&(a=function(E){pe.aborted||(pe.abort(),u(!E||E&&E.type?new Hk("canceled"):E))},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),Za.isStream(l)?l.on("error",function(F){u(Uo(F,t,null,pe))}).pipe(pe):pe.end(l)})}});var Rr=w((oB,t0)=>{"use strict";var ct=dt(),Qg=og(),Yk=Ro(),Kk={"Content-Type":"application/x-www-form-urlencoded"};function e0(e,t){!ct.isUndefined(e)&&ct.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function Gk(){var e;return typeof XMLHttpRequest<"u"?e=Eg():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=Xg()),e}function Zk(e,t,n){if(ct.isString(e))try{return(t||JSON.parse)(e),ct.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}var Wo={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:Gk(),transformRequest:[function(t,n){return Qg(n,"Accept"),Qg(n,"Content-Type"),ct.isFormData(t)||ct.isArrayBuffer(t)||ct.isBuffer(t)||ct.isStream(t)||ct.isFile(t)||ct.isBlob(t)?t:ct.isArrayBufferView(t)?t.buffer:ct.isURLSearchParams(t)?(e0(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):ct.isObject(t)||n&&n["Content-Type"]==="application/json"?(e0(n,"application/json"),Zk(t)):t}],transformResponse:[function(t){var n=this.transitional||Wo.transitional,i=n&&n.silentJSONParsing,r=n&&n.forcedJSONParsing,a=!i&&this.responseType==="json";if(a||r&&ct.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?Yk(s,this,"E_JSON_PARSE"):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ct.forEach(["delete","get","head"],function(t){Wo.headers[t]={}});ct.forEach(["post","put","patch"],function(t){Wo.headers[t]=ct.merge(Kk)});t0.exports=Wo});var i0=w((cB,n0)=>{"use strict";var Vk=dt(),Jk=Rr();n0.exports=function(t,n,i){var r=this||Jk;return Vk.forEach(i,function(s){t=s.call(r,t,n)}),t}});var Hu=w((lB,r0)=>{"use strict";r0.exports=function(t){return!!(t&&t.__CANCEL__)}});var o0=w((uB,s0)=>{"use strict";var a0=dt(),Yu=i0(),Xk=Hu(),Qk=Rr(),eC=Mr();function Ku(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eC("canceled")}s0.exports=function(t){Ku(t),t.headers=t.headers||{},t.data=Yu.call(t,t.data,t.headers,t.transformRequest),t.headers=a0.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),a0.forEach(["delete","get","head","post","put","patch","common"],function(r){delete t.headers[r]});var n=t.adapter||Qk.adapter;return n(t).then(function(r){return Ku(t),r.data=Yu.call(t,r.data,r.headers,t.transformResponse),r},function(r){return Xk(r)||(Ku(t),r&&r.response&&(r.response.data=Yu.call(t,r.response.data,r.response.headers,t.transformResponse))),Promise.reject(r)})}});var Gu=w((pB,c0)=>{"use strict";var qt=dt();c0.exports=function(t,n){n=n||{};var i={};function r(l,p){return qt.isPlainObject(l)&&qt.isPlainObject(p)?qt.merge(l,p):qt.isPlainObject(p)?qt.merge({},p):qt.isArray(p)?p.slice():p}function a(l){if(qt.isUndefined(n[l])){if(!qt.isUndefined(t[l]))return r(void 0,t[l])}else return r(t[l],n[l])}function s(l){if(!qt.isUndefined(n[l]))return r(void 0,n[l])}function o(l){if(qt.isUndefined(n[l])){if(!qt.isUndefined(t[l]))return r(void 0,t[l])}else return r(void 0,n[l])}function c(l){if(l in n)return r(t[l],n[l]);if(l in t)return r(void 0,t[l])}var u={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:c};return qt.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var d=u[p]||a,g=d(p);qt.isUndefined(g)&&d!==c||(i[p]=g)}),i}});var p0=w((fB,u0)=>{"use strict";var tC=zo().version,Zu={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Zu[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});var l0={};Zu.transitional=function(t,n,i){function r(a,s){return"[Axios v"+tC+"] Transitional option '"+a+"'"+s+(i?". "+i:"")}return function(a,s,o){if(t===!1)throw new Error(r(s," has been removed"+(n?" in "+n:"")));return n&&!l0[s]&&(l0[s]=!0,console.warn(r(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,o):!0}};function nC(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var i=Object.keys(e),r=i.length;r-- >0;){var a=i[r],s=t[a];if(s){var o=e[a],c=o===void 0||s(o,a,e);if(c!==!0)throw new TypeError("option "+a+" must be "+c);continue}if(n!==!0)throw Error("Unknown option "+a)}}u0.exports={assertOptions:nC,validators:Zu}});var b0=w((dB,g0)=>{"use strict";var h0=dt(),iC=jo(),f0=ag(),d0=o0(),Ho=Gu(),m0=p0(),qr=m0.validators;function Va(e){this.defaults=e,this.interceptors={request:new f0,response:new f0}}Va.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ho(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var i=n.transitional;i!==void 0&&m0.assertOptions(i,{silentJSONParsing:qr.transitional(qr.boolean),forcedJSONParsing:qr.transitional(qr.boolean),clarifyTimeoutError:qr.transitional(qr.boolean)},!1);var r=[],a=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(a=a&&g.synchronous,r.unshift(g.fulfilled,g.rejected))});var s=[];this.interceptors.response.forEach(function(g){s.push(g.fulfilled,g.rejected)});var o;if(!a){var c=[d0,void 0];for(Array.prototype.unshift.apply(c,r),c=c.concat(s),o=Promise.resolve(n);c.length;)o=o.then(c.shift(),c.shift());return o}for(var u=n;r.length;){var l=r.shift(),p=r.shift();try{u=l(u)}catch(d){p(d);break}}try{o=d0(u)}catch(d){return Promise.reject(d)}for(;s.length;)o=o.then(s.shift(),s.shift());return o};Va.prototype.getUri=function(t){return t=Ho(this.defaults,t),iC(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};h0.forEach(["delete","get","head","options"],function(t){Va.prototype[t]=function(n,i){return this.request(Ho(i||{},{method:t,url:n,data:(i||{}).data}))}});h0.forEach(["post","put","patch"],function(t){Va.prototype[t]=function(n,i,r){return this.request(Ho(r||{},{method:t,url:n,data:i}))}});g0.exports=Va});var x0=w((hB,v0)=>{"use strict";var rC=Mr();function Br(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(r){t=r});var n=this;this.promise.then(function(i){if(!!n._listeners){var r,a=n._listeners.length;for(r=0;r<a;r++)n._listeners[r](i);n._listeners=null}}),this.promise.then=function(i){var r,a=new Promise(function(s){n.subscribe(s),r=s}).then(i);return a.cancel=function(){n.unsubscribe(r)},a},e(function(r){n.reason||(n.reason=new rC(r),t(n.reason))})}Br.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Br.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};Br.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};Br.source=function(){var t,n=new Br(function(r){t=r});return{token:n,cancel:t}};v0.exports=Br});var w0=w((mB,y0)=>{"use strict";y0.exports=function(t){return function(i){return t.apply(null,i)}}});var S0=w((gB,_0)=>{"use strict";var aC=dt();_0.exports=function(t){return aC.isObject(t)&&t.isAxiosError===!0}});var k0=w((bB,Vu)=>{"use strict";var O0=dt(),sC=Cu(),Yo=b0(),oC=Gu(),cC=Rr();function E0(e){var t=new Yo(e),n=sC(Yo.prototype.request,t);return O0.extend(n,Yo.prototype,t),O0.extend(n,t),n.create=function(r){return E0(oC(e,r))},n}var xn=E0(cC);xn.Axios=Yo;xn.Cancel=Mr();xn.CancelToken=x0();xn.isCancel=Hu();xn.VERSION=zo().version;xn.all=function(t){return Promise.all(t)};xn.spread=w0();xn.isAxiosError=S0();Vu.exports=xn;Vu.exports.default=xn});var T0=w((vB,C0)=>{C0.exports=k0()});var M0=w((xB,j0)=>{var A0=require("stream").Stream,lC=require("util");j0.exports=on;function on(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}lC.inherits(on,A0);on.create=function(e,t){var n=new this;t=t||{};for(var i in t)n[i]=t[i];n.source=e;var r=e.emit;return e.emit=function(){return n._handleEmit(arguments),r.apply(e,arguments)},e.on("error",function(){}),n.pauseStream&&e.pause(),n};Object.defineProperty(on.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});on.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};on.prototype.resume=function(){this._released||this.release(),this.source.resume()};on.prototype.pause=function(){this.source.pause()};on.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};on.prototype.pipe=function(){var e=A0.prototype.pipe.apply(this,arguments);return this.resume(),e};on.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)};on.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 L0=w((yB,N0)=>{var uC=require("util"),I0=require("stream").Stream,R0=M0();N0.exports=Be;function Be(){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}uC.inherits(Be,I0);Be.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t};Be.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};Be.prototype.append=function(e){var t=Be.isStreamLike(e);if(t){if(!(e instanceof R0)){var n=R0.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this};Be.prototype.pipe=function(e,t){return I0.prototype.pipe.call(this,e,t),this.resume(),e};Be.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}};Be.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(n){var i=Be.isStreamLike(n);i&&(n.on("data",this._checkDataSize.bind(this)),this._handleErrors(n)),this._pipeNext(n)}.bind(this))};Be.prototype._pipeNext=function(e){this._currentStream=e;var t=Be.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var n=e;this.write(n),this._getNext()};Be.prototype._handleErrors=function(e){var t=this;e.on("error",function(n){t._emitError(n)})};Be.prototype.write=function(e){this.emit("data",e)};Be.prototype.pause=function(){!this.pauseStreams||(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};Be.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")};Be.prototype.end=function(){this._reset(),this.emit("end")};Be.prototype.destroy=function(){this._reset(),this.emit("close")};Be.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};Be.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};Be.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)};Be.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var P0=w((wB,pC)=>{pC.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/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},"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/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},"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/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"},"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.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.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.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.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.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.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},"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"},"image/avcs":{source:"iana"},"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 B0=w((_B,q0)=>{q0.exports=P0()});var $0=w(Ct=>{"use strict";var Ko=B0(),fC=require("path").extname,F0=/^\s*([^;\s]*)(?:;|\s|$)/,dC=/^text\//i;Ct.charset=D0;Ct.charsets={lookup:D0};Ct.contentType=hC;Ct.extension=mC;Ct.extensions=Object.create(null);Ct.lookup=gC;Ct.types=Object.create(null);bC(Ct.extensions,Ct.types);function D0(e){if(!e||typeof e!="string")return!1;var t=F0.exec(e),n=t&&Ko[t[1].toLowerCase()];return n&&n.charset?n.charset:t&&dC.test(t[1])?"UTF-8":!1}function hC(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?Ct.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var n=Ct.charset(t);n&&(t+="; charset="+n.toLowerCase())}return t}function mC(e){if(!e||typeof e!="string")return!1;var t=F0.exec(e),n=t&&Ct.extensions[t[1].toLowerCase()];return!n||!n.length?!1:n[0]}function gC(e){if(!e||typeof e!="string")return!1;var t=fC("x."+e).toLowerCase().substr(1);return t&&Ct.types[t]||!1}function bC(e,t){var n=["nginx","apache",void 0,"iana"];Object.keys(Ko).forEach(function(r){var a=Ko[r],s=a.extensions;if(!(!s||!s.length)){e[r]=s;for(var o=0;o<s.length;o++){var c=s[o];if(t[c]){var u=n.indexOf(Ko[t[c]].source),l=n.indexOf(a.source);if(t[c]!=="application/octet-stream"&&(u>l||u===l&&t[c].substr(0,12)==="application/"))continue}t[c]=r}}})}});var U0=w((OB,z0)=>{z0.exports=vC;function vC(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}});var Ju=w((EB,H0)=>{var W0=U0();H0.exports=xC;function xC(e){var t=!1;return W0(function(){t=!0}),function(i,r){t?e(i,r):W0(function(){e(i,r)})}}});var Xu=w((kB,Y0)=>{Y0.exports=yC;function yC(e){Object.keys(e.jobs).forEach(wC.bind(e)),e.jobs={}}function wC(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var Qu=w((CB,G0)=>{var K0=Ju(),_C=Xu();G0.exports=SC;function SC(e,t,n,i){var r=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[r]=OC(t,r,e[r],function(a,s){r in n.jobs&&(delete n.jobs[r],a?_C(n):n.results[r]=s,i(a,n.results))})}function OC(e,t,n,i){var r;return e.length==2?r=e(n,K0(i)):r=e(n,t,K0(i)),r}});var ep=w((TB,Z0)=>{Z0.exports=EC;function EC(e,t){var n=!Array.isArray(e),i={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&i.keyedList.sort(n?t:function(r,a){return t(e[r],e[a])}),i}});var tp=w((AB,V0)=>{var kC=Xu(),CC=Ju();V0.exports=TC;function TC(e){!Object.keys(this.jobs).length||(this.index=this.size,kC(this),CC(e)(null,this.results))}});var X0=w((jB,J0)=>{var AC=Qu(),jC=ep(),MC=tp();J0.exports=RC;function RC(e,t,n){for(var i=jC(e);i.index<(i.keyedList||e).length;)AC(e,t,i,function(r,a){if(r){n(r,a);return}if(Object.keys(i.jobs).length===0){n(null,i.results);return}}),i.index++;return MC.bind(i,n)}});var np=w((MB,Go)=>{var Q0=Qu(),IC=ep(),NC=tp();Go.exports=LC;Go.exports.ascending=eb;Go.exports.descending=PC;function LC(e,t,n,i){var r=IC(e,n);return Q0(e,t,r,function a(s,o){if(s){i(s,o);return}if(r.index++,r.index<(r.keyedList||e).length){Q0(e,t,r,a);return}i(null,r.results)}),NC.bind(r,i)}function eb(e,t){return e<t?-1:e>t?1:0}function PC(e,t){return-1*eb(e,t)}});var nb=w((RB,tb)=>{var qC=np();tb.exports=BC;function BC(e,t,n){return qC(e,t,null,n)}});var rb=w((IB,ib)=>{ib.exports={parallel:X0(),serial:nb(),serialOrdered:np()}});var sb=w((NB,ab)=>{ab.exports=function(e,t){return Object.keys(t).forEach(function(n){e[n]=e[n]||t[n]}),e}});var lb=w((LB,cb)=>{var sp=L0(),ob=require("util"),ip=require("path"),FC=require("http"),DC=require("https"),$C=require("url").parse,zC=require("fs"),UC=require("stream").Stream,rp=$0(),WC=rb(),ap=sb();cb.exports=xe;ob.inherits(xe,sp);function xe(e){if(!(this instanceof xe))return new xe(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],sp.call(this),e=e||{};for(var t in e)this[t]=e[t]}xe.LINE_BREAK=`\r
|
|
19
|
-
`;xe.DEFAULT_CONTENT_TYPE="application/octet-stream";xe.prototype.append=function(e,t,n){n=n||{},typeof n=="string"&&(n={filename:n});var i=sp.prototype.append.bind(this);if(typeof t=="number"&&(t=""+t),ob.isArray(t)){this._error(new Error("Arrays are not supported."));return}var r=this._multiPartHeader(e,t,n),a=this._multiPartFooter();i(r),i(t),i(a),this._trackLength(r,t,n)};xe.prototype._trackLength=function(e,t,n){var i=0;n.knownLength!=null?i+=+n.knownLength:Buffer.isBuffer(t)?i=t.length:typeof t=="string"&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+xe.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))&&!(t instanceof UC))&&(n.knownLength||this._valuesToMeasure.push(t))};xe.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?e.end!=null&&e.end!=1/0&&e.start!=null?t(null,e.end+1-(e.start?e.start:0)):zC.stat(e.path,function(n,i){var r;if(n){t(n);return}r=i.size-(e.start?e.start:0),t(null,r)}):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",function(n){e.pause(),t(null,+n.headers["content-length"])}),e.resume()):t("Unknown stream")};xe.prototype._multiPartHeader=function(e,t,n){if(typeof n.header=="string")return n.header;var i=this._getContentDisposition(t,n),r=this._getContentType(t,n),a="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};typeof n.header=="object"&&ap(s,n.header);var o;for(var c in s)!s.hasOwnProperty(c)||(o=s[c],o!=null&&(Array.isArray(o)||(o=[o]),o.length&&(a+=c+": "+o.join("; ")+xe.LINE_BREAK)));return"--"+this.getBoundary()+xe.LINE_BREAK+a+xe.LINE_BREAK};xe.prototype._getContentDisposition=function(e,t){var n,i;return typeof t.filepath=="string"?n=ip.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=ip.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=ip.basename(e.client._httpMessage.path||"")),n&&(i='filename="'+n+'"'),i};xe.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=rp.lookup(e.name)),!n&&e.path&&(n=rp.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),!n&&(t.filepath||t.filename)&&(n=rp.lookup(t.filepath||t.filename)),!n&&typeof e=="object"&&(n=xe.DEFAULT_CONTENT_TYPE),n};xe.prototype._multiPartFooter=function(){return function(e){var t=xe.LINE_BREAK,n=this._streams.length===0;n&&(t+=this._lastBoundary()),e(t)}.bind(this)};xe.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+xe.LINE_BREAK};xe.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n};xe.prototype.setBoundary=function(e){this._boundary=e};xe.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};xe.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,i=this._streams.length;n<i;n++)typeof this._streams[n]!="function"&&(Buffer.isBuffer(this._streams[n])?e=Buffer.concat([e,this._streams[n]]):e=Buffer.concat([e,Buffer.from(this._streams[n])]),(typeof this._streams[n]!="string"||this._streams[n].substring(2,t.length+2)!==t)&&(e=Buffer.concat([e,Buffer.from(xe.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};xe.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(Math.random()*10).toString(16);this._boundary=e};xe.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};xe.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};xe.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}WC.parallel(this._valuesToMeasure,this._lengthRetriever,function(n,i){if(n){e(n);return}i.forEach(function(r){t+=r}),e(null,t)})};xe.prototype.submit=function(e,t){var n,i,r={method:"post"};return typeof e=="string"?(e=$C(e),i=ap({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},r)):(i=ap(e,r),i.port||(i.port=i.protocol=="https:"?443:80)),i.headers=this.getHeaders(e.headers),i.protocol=="https:"?n=DC.request(i):n=FC.request(i),this.getLength(function(a,s){if(a&&a!=="Unknown stream"){this._error(a);return}if(s&&n.setHeader("Content-Length",s),this.pipe(n),t){var o,c=function(u,l){return n.removeListener("error",c),n.removeListener("response",o),t.call(this,u,l)};o=c.bind(this,null),n.on("error",c),n.on("response",o)}}.bind(this)),n};xe.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};xe.prototype.toString=function(){return"[object FormData]"}});var hb=w(He=>{"use strict";var ub=He&&He.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(He,"__esModule",{value:!0});He.post=He.put=He.delete_=He.get=He.FormData=He.getPath=He.setApiHost=He.setAuth=void 0;var pb=ub(T0()),HC=ub(lb());function YC(e){pb.default.defaults.headers.common.Authorization=e}He.setAuth=YC;var fb="https://goldsky.com";function KC(e){fb=e}He.setApiHost=KC;function db(e,t){return`${fb}${typeof e=="string"?e:e(t)}`}He.getPath=db;function GC(){return new HC.default}He.FormData=GC;async function ZC(e,t){return Zo(e,"get",t||{})}He.get=ZC;async function VC(e,t){return Zo(e,"delete",t||{})}He.delete_=VC;async function JC(e,t){return Zo(e,"put",t||{})}He.put=JC;async function XC(e,t){return Zo(e,"post",t||{})}He.post=XC;async function Zo(e,t,n){var i,r;let a=Object.assign(Object.assign(Object.assign(Object.assign({url:db(e,n.params),method:t},n.querystring?{params:n.querystring}:{}),n.body?{data:n.body}:{}),typeof((i=n.body)===null||i===void 0?void 0:i.getHeaders)=="function"?{headers:(r=n.body)===null||r===void 0?void 0:r.getHeaders()}:{}),{maxBodyLength:1/0,maxContentLength:1/0,validateStatus:()=>!0,onUploadProgress:s=>{var o;(o=n.onProgress)===null||o===void 0||o.call(n,Math.round(s.loaded*100/s.total))}});try{let s=await pb.default.request(a);return s.status<200||s.status>=300?s.status===524?[{statusCode:524,error:"Cloudflare timeout",message:"Cloudflare timeout"},{}]:"statusCode"in s.data&&"error"in s.data&&"message"in s.data?[s.data,s.data]:[{statusCode:s.data.statusCode||s.status,error:s.data.error||s.statusText,message:s.data.message||s.data.toString()},s.data]:[null,s.data||{}]}catch(s){return[{statusCode:0,error:"Request failed",message:s.code},{}]}}});var mb=w(yt=>{"use strict";Object.defineProperty(yt,"__esModule",{value:!0});yt.DeleteWebhookSchema=yt.DeleteWebhookParams=yt.CreateWebhookSchema=yt.CreateWebhookParams=yt.CreateWebhookBody=void 0;var Ne=sn();yt.CreateWebhookBody=Ne.Type.Object({name:Ne.Type.String(),webhookUrl:Ne.Type.String(),entity:Ne.Type.String()});yt.CreateWebhookParams=Ne.Type.Object({subgraphName:Ne.Type.String(),subgraphVersion:Ne.Type.String()});yt.CreateWebhookSchema={body:yt.CreateWebhookBody,params:yt.CreateWebhookParams};var qB=Ne.Type.Object({data:Ne.Type.Object({webhookSecret:Ne.Type.String(),name:Ne.Type.String()})});yt.DeleteWebhookParams=Ne.Type.Object({name:Ne.Type.String()});yt.DeleteWebhookSchema={params:yt.DeleteWebhookParams};var BB=Ne.Type.Object({data:Ne.Type.Object({})}),FB=Ne.Type.Object({data:Ne.Type.Array(Ne.Type.Object({name:Ne.Type.String(),webhookUrl:Ne.Type.String(),entity:Ne.Type.String(),subgraphName:Ne.Type.String(),subgraphVersion:Ne.Type.String()}))})});var gb=w(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});Fr.SubscriptionWithProduct=Fr.ProductWithPrices=void 0;var Le=sn();Fr.ProductWithPrices=Le.Type.Object({id:Le.Type.String(),name:Le.Type.String(),description:Le.Type.String(),base_price_decimal:Le.Type.String(),features:Le.Type.Array(Le.Type.String())});Fr.SubscriptionWithProduct=Le.Type.Object({id:Le.Type.String(),latestInvoice:Le.Type.Union([Le.Type.String(),Le.Type.Null()]),product:Le.Type.Object({id:Le.Type.String(),name:Le.Type.String(),description:Le.Type.Union([Le.Type.String(),Le.Type.Null()]),basePrice:Le.Type.Object({amount:Le.Type.Union([Le.Type.String(),Le.Type.Null()]),interval:Le.Type.String()})})})});var bb=w(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.BucketSize=Qn.SubgraphDeploymentEntitiesMetricsReply=Qn.SubgraphDeploymentRequestsMetricsReply=void 0;var Bt=sn();Qn.SubgraphDeploymentRequestsMetricsReply=Bt.Type.Object({data:Bt.Type.Object({pointList:Bt.Type.Array(Bt.Type.Object({requests:Bt.Type.Number(),time:Bt.Type.Number()}))})});Qn.SubgraphDeploymentEntitiesMetricsReply=Bt.Type.Object({data:Bt.Type.Object({entitiesCount:Bt.Type.Number()})});Qn.BucketSize=Bt.Type.Union([Bt.Type.Literal("1d"),Bt.Type.Literal("6h"),Bt.Type.Literal("1h")])});var vb=w(Dr=>{"use strict";Object.defineProperty(Dr,"__esModule",{value:!0});Dr.NewSupportMessageResp=Dr.NewSupportMessage=void 0;var Vo=sn();Dr.NewSupportMessage=Vo.Type.Object({message:Vo.Type.String()});Dr.NewSupportMessageResp=Vo.Type.Object({success:Vo.Type.Boolean()})});var xb=w(Ja=>{"use strict";Object.defineProperty(Ja,"__esModule",{value:!0});Ja.Format=void 0;var QC;(function(e){let t=new Map;function n(){return t.clear()}e.Clear=n;function i(s){return t.has(s)}e.Has=i;function r(s,o){t.set(s,o)}e.Set=r;function a(s){return t.get(s)}e.Get=a})(QC=Ja.Format||(Ja.Format={}))});var op=w($i=>{"use strict";var eT=$i&&$i.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),tT=$i&&$i.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&eT(t,e,n)};Object.defineProperty($i,"__esModule",{value:!0});tT(xb(),$i)});var wb=w(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.ValueErrors=yn.ValueErrorsUnknownTypeError=yn.ValueErrorType=void 0;var nT=sn(),yb=op(),oe;(function(e){e[e.Array=0]="Array",e[e.ArrayMinItems=1]="ArrayMinItems",e[e.ArrayMaxItems=2]="ArrayMaxItems",e[e.ArrayUniqueItems=3]="ArrayUniqueItems",e[e.Boolean=4]="Boolean",e[e.Function=5]="Function",e[e.Integer=6]="Integer",e[e.IntegerMultipleOf=7]="IntegerMultipleOf",e[e.IntegerExclusiveMinimum=8]="IntegerExclusiveMinimum",e[e.IntegerExclusiveMaximum=9]="IntegerExclusiveMaximum",e[e.IntegerMinimum=10]="IntegerMinimum",e[e.IntegerMaximum=11]="IntegerMaximum",e[e.Literal=12]="Literal",e[e.Never=13]="Never",e[e.Null=14]="Null",e[e.Number=15]="Number",e[e.NumberMultipleOf=16]="NumberMultipleOf",e[e.NumberExclusiveMinimum=17]="NumberExclusiveMinimum",e[e.NumberExclusiveMaximum=18]="NumberExclusiveMaximum",e[e.NumberMinumum=19]="NumberMinumum",e[e.NumberMaximum=20]="NumberMaximum",e[e.Object=21]="Object",e[e.ObjectMinProperties=22]="ObjectMinProperties",e[e.ObjectMaxProperties=23]="ObjectMaxProperties",e[e.ObjectAdditionalProperties=24]="ObjectAdditionalProperties",e[e.Promise=25]="Promise",e[e.RecordKeyNumeric=26]="RecordKeyNumeric",e[e.RecordKeyString=27]="RecordKeyString",e[e.String=28]="String",e[e.StringMinLength=29]="StringMinLength",e[e.StringMaxLength=30]="StringMaxLength",e[e.StringPattern=31]="StringPattern",e[e.StringFormatUnknown=32]="StringFormatUnknown",e[e.StringFormat=33]="StringFormat",e[e.TupleZeroLength=34]="TupleZeroLength",e[e.TupleLength=35]="TupleLength",e[e.Undefined=36]="Undefined",e[e.Union=37]="Union",e[e.Uint8Array=38]="Uint8Array",e[e.Uint8ArrayMinByteLength=39]="Uint8ArrayMinByteLength",e[e.Uint8ArrayMaxByteLength=40]="Uint8ArrayMaxByteLength",e[e.Void=41]="Void"})(oe=yn.ValueErrorType||(yn.ValueErrorType={}));var Jo=class extends Error{constructor(t){super("ValueErrors: Unknown type"),this.schema=t}};yn.ValueErrorsUnknownTypeError=Jo;var iT;(function(e){function*t(y,P,O,v){}function*n(y,P,O,v){if(!globalThis.Array.isArray(v))return yield{type:oe.Array,schema:y,path:O,value:v,message:"Expected array"};y.minItems!==void 0&&!(v.length>=y.minItems)&&(yield{type:oe.ArrayMinItems,schema:y,path:O,value:v,message:`Expected array length to be greater or equal to ${y.minItems}`}),y.maxItems!==void 0&&!(v.length<=y.maxItems)&&(yield{type:oe.ArrayMinItems,schema:y,path:O,value:v,message:`Expected array length to be less or equal to ${y.maxItems}`}),y.uniqueItems===!0&&new Set(v).size!==v.length&&(yield{type:oe.ArrayUniqueItems,schema:y,path:O,value:v,message:"Expected array elements to be unique"});for(let A=0;A<v.length;A++)yield*D(y.items,P,`${O}/${A}`,v[A])}function*i(y,P,O,v){if(typeof v!="boolean")return yield{type:oe.Boolean,schema:y,path:O,value:v,message:"Expected boolean"}}function*r(y,P,O,v){yield*D(y.returns,P,O,v.prototype)}function*a(y,P,O,v){if(typeof v!="function")return yield{type:oe.Function,schema:y,path:O,value:v,message:"Expected function"}}function*s(y,P,O,v){if(typeof v!="number")return yield{type:oe.Number,schema:y,path:O,value:v,message:"Expected number"};globalThis.Number.isInteger(v)||(yield{type:oe.Integer,schema:y,path:O,value:v,message:"Expected integer"}),y.multipleOf&&v%y.multipleOf!==0&&(yield{type:oe.IntegerMultipleOf,schema:y,path:O,value:v,message:`Expected integer to be a multiple of ${y.multipleOf}`}),y.exclusiveMinimum&&!(v>y.exclusiveMinimum)&&(yield{type:oe.IntegerExclusiveMinimum,schema:y,path:O,value:v,message:`Expected integer to be greater than ${y.exclusiveMinimum}`}),y.exclusiveMaximum&&!(v<y.exclusiveMaximum)&&(yield{type:oe.IntegerExclusiveMaximum,schema:y,path:O,value:v,message:`Expected integer to be less than ${y.exclusiveMaximum}`}),y.minimum&&!(v>=y.minimum)&&(yield{type:oe.IntegerMinimum,schema:y,path:O,value:v,message:`Expected integer to be greater or equal to ${y.minimum}`}),y.maximum&&!(v<=y.maximum)&&(yield{type:oe.IntegerMaximum,schema:y,path:O,value:v,message:`Expected integer to be less or equal to ${y.maximum}`})}function*o(y,P,O,v){if(v!==y.const){let A=typeof y.const=="string"?`'${y.const}'`:y.const;return yield{type:oe.Literal,schema:y,path:O,value:v,message:`Expected ${A}`}}}function*c(y,P,O,v){yield{type:oe.Never,schema:y,path:O,value:v,message:"Value cannot be validated"}}function*u(y,P,O,v){if(v!==null)return yield{type:oe.Null,schema:y,path:O,value:v,message:"Expected null"}}function*l(y,P,O,v){if(typeof v!="number")return yield{type:oe.Number,schema:y,path:O,value:v,message:"Expected number"};y.multipleOf&&v%y.multipleOf!==0&&(yield{type:oe.NumberMultipleOf,schema:y,path:O,value:v,message:`Expected number to be a multiple of ${y.multipleOf}`}),y.exclusiveMinimum&&!(v>y.exclusiveMinimum)&&(yield{type:oe.NumberExclusiveMinimum,schema:y,path:O,value:v,message:`Expected number to be greater than ${y.exclusiveMinimum}`}),y.exclusiveMaximum&&!(v<y.exclusiveMaximum)&&(yield{type:oe.NumberExclusiveMaximum,schema:y,path:O,value:v,message:`Expected number to be less than ${y.exclusiveMaximum}`}),y.minimum&&!(v>=y.minimum)&&(yield{type:oe.NumberMaximum,schema:y,path:O,value:v,message:`Expected number to be greater or equal to ${y.minimum}`}),y.maximum&&!(v<=y.maximum)&&(yield{type:oe.NumberMinumum,schema:y,path:O,value:v,message:`Expected number to be less or equal to ${y.maximum}`})}function*p(y,P,O,v){if(!(typeof v=="object"&&v!==null&&!globalThis.Array.isArray(v)))return yield{type:oe.Object,schema:y,path:O,value:v,message:"Expected object"};y.minProperties!==void 0&&!(globalThis.Object.keys(v).length>=y.minProperties)&&(yield{type:oe.ObjectMinProperties,schema:y,path:O,value:v,message:`Expected object to have at least ${y.minProperties} properties`}),y.maxProperties!==void 0&&!(globalThis.Object.keys(v).length<=y.maxProperties)&&(yield{type:oe.ObjectMaxProperties,schema:y,path:O,value:v,message:`Expected object to have less than ${y.minProperties} properties`});let A=globalThis.Object.keys(y.properties);if(y.additionalProperties===!1)for(let N of globalThis.Object.keys(v))A.includes(N)||(yield{type:oe.ObjectAdditionalProperties,schema:y,path:`${O}/${N}`,value:v[N],message:"Unexpected property"});for(let N of A){let Y=y.properties[N];y.required&&y.required.includes(N)?yield*D(Y,P,`${O}/${N}`,v[N]):v[N]!==void 0&&(yield*D(Y,P,`${O}/${N}`,v[N]))}}function*d(y,P,O,v){typeof v=="object"&&typeof v.then=="function"||(yield{type:oe.Promise,schema:y,path:O,value:v,message:"Expected Promise"})}function*g(y,P,O,v){if(!(typeof v=="object"&&v!==null&&!globalThis.Array.isArray(v)))return yield{type:oe.Object,schema:y,path:O,value:v,message:"Expected object"};let[A,N]=globalThis.Object.entries(y.patternProperties)[0],Y=new RegExp(A);if(!globalThis.Object.keys(v).every(re=>Y.test(re))){let re=A==="^(0|[1-9][0-9]*)$";return yield{type:re?oe.RecordKeyNumeric:oe.RecordKeyString,schema:y,path:O,value:v,message:re?"Expected all object property keys to be numeric":"Expected all object property keys to be strings"}}for(let[re,he]of globalThis.Object.entries(v))yield*D(N,P,`${O}/${re}`,he)}function*x(y,P,O,v){let A=P.find(N=>N.$id===y.$ref);if(A===void 0)throw new Error(`ValueErrors.Ref: Cannot find schema with $id '${y.$ref}'.`);yield*D(A,P,O,v)}function*b(y,P,O,v){let A=P.find(N=>N.$id===y.$ref);if(A===void 0)throw new Error(`ValueErrors.Self: Cannot find schema with $id '${y.$ref}'.`);yield*D(A,P,O,v)}function*h(y,P,O,v){if(typeof v!="string")return yield{type:oe.String,schema:y,path:O,value:v,message:"Expected string"};y.minLength!==void 0&&!(v.length>=y.minLength)&&(yield{type:oe.StringMinLength,schema:y,path:O,value:v,message:`Expected string length greater or equal to ${y.minLength}`}),y.maxLength!==void 0&&!(v.length<=y.maxLength)&&(yield{type:oe.StringMaxLength,schema:y,path:O,value:v,message:`Expected string length less or equal to ${y.maxLength}`}),y.pattern!==void 0&&(new RegExp(y.pattern).test(v)||(yield{type:oe.StringPattern,schema:y,path:O,value:v,message:`Expected string to match pattern ${y.pattern}`})),y.format!==void 0&&(yb.Format.Has(y.format)?yb.Format.Get(y.format)(v)||(yield{type:oe.StringFormat,schema:y,path:O,value:v,message:`Expected string to match format '${y.format}'`}):yield{type:oe.StringFormatUnknown,schema:y,path:O,value:v,message:`Unknown string format '${y.format}'`})}function*_(y,P,O,v){if(!globalThis.Array.isArray(v))return yield{type:oe.Array,schema:y,path:O,value:v,message:"Expected Array"};if(y.items===void 0&&v.length!==0)return yield{type:oe.TupleZeroLength,schema:y,path:O,value:v,message:"Expected tuple to have 0 elements"};if(v.length!==y.maxItems&&(yield{type:oe.TupleLength,schema:y,path:O,value:v,message:`Expected tuple to have ${y.maxItems} elements`}),!!y.items)for(let A=0;A<y.items.length;A++)yield*D(y.items[A],P,`${O}/${A}`,v[A])}function*k(y,P,O,v){v!==void 0&&(yield{type:oe.Undefined,schema:y,path:O,value:v,message:"Expected undefined"})}function*I(y,P,O,v){let A=[];for(let N of y.anyOf){let Y=[...D(N,P,O,v)];if(Y.length===0)return;A.push(...Y)}for(let N of A)yield N;A.length>0&&(yield{type:oe.Union,schema:y,path:O,value:v,message:"Expected value of union"})}function*R(y,P,O,v){if(!(v instanceof globalThis.Uint8Array))return yield{type:oe.Uint8Array,schema:y,path:O,value:v,message:"Expected Uint8Array"};y.maxByteLength&&!(v.length<=y.maxByteLength)&&(yield{type:oe.Uint8ArrayMaxByteLength,schema:y,path:O,value:v,message:`Expected Uint8Array to have a byte length less or equal to ${y.maxByteLength}`}),y.minByteLength&&!(v.length>=y.minByteLength)&&(yield{type:oe.Uint8ArrayMinByteLength,schema:y,path:O,value:v,message:`Expected Uint8Array to have a byte length greater or equal to ${y.maxByteLength}`})}function*M(y,P,O,v){}function*H(y,P,O,v){if(v!==null)return yield{type:oe.Void,schema:y,path:O,value:v,message:"Expected null"}}function*D(y,P,O,v){let A=y.$id===void 0?P:[y,...P],N=y;switch(N[nT.Kind]){case"Any":return yield*t(N,A,O,v);case"Array":return yield*n(N,A,O,v);case"Boolean":return yield*i(N,A,O,v);case"Constructor":return yield*r(N,A,O,v);case"Function":return yield*a(N,A,O,v);case"Integer":return yield*s(N,A,O,v);case"Literal":return yield*o(N,A,O,v);case"Never":return yield*c(N,A,O,v);case"Null":return yield*u(N,A,O,v);case"Number":return yield*l(N,A,O,v);case"Object":return yield*p(N,A,O,v);case"Promise":return yield*d(N,A,O,v);case"Record":return yield*g(N,A,O,v);case"Ref":return yield*x(N,A,O,v);case"Self":return yield*b(N,A,O,v);case"String":return yield*h(N,A,O,v);case"Tuple":return yield*_(N,A,O,v);case"Undefined":return yield*k(N,A,O,v);case"Union":return yield*I(N,A,O,v);case"Uint8Array":return yield*R(N,A,O,v);case"Unknown":return yield*M(N,A,O,v);case"Void":return yield*H(N,A,O,v);default:throw new Jo(y)}}function*$(y,P,O){yield*D(y,P,"",O)}e.Errors=$})(iT=yn.ValueErrors||(yn.ValueErrors={}))});var cp=w(zi=>{"use strict";var rT=zi&&zi.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),aT=zi&&zi.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&rT(t,e,n)};Object.defineProperty(zi,"__esModule",{value:!0});aT(wb(),zi)});var _b=w(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});Ui.TypeGuard=Ui.TypeGuardInvalidTypeError=void 0;var Fe=sn(),Xa=class extends Error{constructor(t){super("TypeGuard: Invalid type"),this.schema=t}};Ui.TypeGuardInvalidTypeError=Xa;var sT;(function(e){function t(f){return typeof f=="object"&&f!==null&&!Array.isArray(f)}function n(f){return typeof f=="object"&&f!==null&&Array.isArray(f)}function i(f){try{return new RegExp(f),!0}catch{return!1}}function r(f){if(typeof f!="string")return!1;for(let E=0;E<f.length;E++){let F=f.charCodeAt(E);if(F>=7&&F<=13||F===27||F===127)return!1}return!0}function a(f){return typeof f=="string"}function s(f){return typeof f=="number"}function o(f){return typeof f=="boolean"}function c(f){return f===void 0||f!==void 0&&s(f)}function u(f){return f===void 0||f!==void 0&&o(f)}function l(f){return f===void 0||f!==void 0&&a(f)}function p(f){return f===void 0||f!==void 0&&a(f)&&r(f)&&i(f)}function d(f){return f===void 0||f!==void 0&&a(f)&&r(f)}function g(f){return t(f)&&f[Fe.Kind]==="Any"&&l(f.$id)}e.TAny=g;function x(f){return t(f)&&f[Fe.Kind]==="Array"&&f.type==="array"&&l(f.$id)&&fe(f.items)&&c(f.minItems)&&c(f.maxItems)&&u(f.uniqueItems)}e.TArray=x;function b(f){return t(f)&&f[Fe.Kind]==="Boolean"&&f.type==="boolean"&&l(f.$id)}e.TBoolean=b;function h(f){if(!(t(f)&&f[Fe.Kind]==="Constructor"&&f.type==="constructor"&&l(f.$id)&&n(f.parameters)&&fe(f.returns)))return!1;for(let E of f.parameters)if(!fe(E))return!1;return!0}e.TConstructor=h;function _(f){if(!(t(f)&&f[Fe.Kind]==="Function"&&f.type==="function"&&l(f.$id)&&n(f.parameters)&&fe(f.returns)))return!1;for(let E of f.parameters)if(!fe(E))return!1;return!0}e.TFunction=_;function k(f){return t(f)&&f[Fe.Kind]==="Integer"&&f.type==="integer"&&l(f.$id)&&c(f.multipleOf)&&c(f.minimum)&&c(f.maximum)&&c(f.exclusiveMinimum)&&c(f.exclusiveMaximum)}e.TInteger=k;function I(f){return t(f)&&f[Fe.Kind]==="Literal"&&l(f.$id)&&(a(f.const)||s(f.const)||o(f.const))}e.TLiteral=I;function R(f){return t(f)&&f[Fe.Kind]==="Never"&&n(f.allOf)&&f.allOf.length===2&&t(f.allOf[0])&&a(f.allOf[0].type)&&f.allOf[0].type==="boolean"&&f.allOf[0].const===!1&&t(f.allOf[1])&&a(f.allOf[1].type)&&f.allOf[1].type==="boolean"&&f.allOf[1].const===!0}e.TNever=R;function M(f){return t(f)&&f[Fe.Kind]==="Null"&&f.type==="null"&&l(f.$id)}e.TNull=M;function H(f){return t(f)&&f[Fe.Kind]==="Number"&&f.type==="number"&&l(f.$id)&&c(f.multipleOf)&&c(f.minimum)&&c(f.maximum)&&c(f.exclusiveMinimum)&&c(f.exclusiveMaximum)}e.TNumber=H;function D(f){if(!(t(f)&&f[Fe.Kind]==="Object"&&f.type==="object"&&l(f.$id)&&t(f.properties)&&u(f.additionalProperties)&&c(f.minProperties)&&c(f.maxProperties)))return!1;for(let[E,F]of Object.entries(f.properties))if(!r(E)||!fe(F))return!1;return!0}e.TObject=D;function $(f){return t(f)&&f[Fe.Kind]==="Promise"&&f.type==="promise"&&l(f.$id)&&fe(f.item)}e.TPromise=$;function y(f){if(!(t(f)&&f[Fe.Kind]==="Record"&&f.type==="object"&&l(f.$id)&&f.additionalProperties===!1&&t(f.patternProperties)))return!1;let E=Object.keys(f.patternProperties);return!(E.length!==1||!i(E[0])||!fe(f.patternProperties[E[0]]))}e.TRecord=y;function P(f){return t(f)&&f[Fe.Kind]==="Self"&&l(f.$id)&&a(f.$ref)}e.TSelf=P;function O(f){return t(f)&&f[Fe.Kind]==="Ref"&&l(f.$id)&&a(f.$ref)}e.TRef=O;function v(f){return t(f)&&f[Fe.Kind]==="String"&&f.type==="string"&&l(f.$id)&&c(f.minLength)&&c(f.maxLength)&&p(f.pattern)&&d(f.format)}e.TString=v;function A(f){if(!(t(f)&&f[Fe.Kind]==="Tuple"&&f.type==="array"&&l(f.$id)&&s(f.minItems)&&s(f.maxItems)&&f.minItems===f.maxItems))return!1;if(f.items===void 0&&f.additionalItems===void 0&&f.minItems===0)return!0;if(!n(f.items))return!1;for(let E of f.items)if(!fe(E))return!1;return!0}e.TTuple=A;function N(f){return t(f)&&f[Fe.Kind]==="Undefined"&&f.type==="object"&&l(f.$id)&&f.specialized==="Undefined"}e.TUndefined=N;function Y(f){if(!(t(f)&&f[Fe.Kind]==="Union"&&n(f.anyOf)&&l(f.$id)))return!1;for(let E of f.anyOf)if(!fe(E))return!1;return!0}e.TUnion=Y;function re(f){return t(f)&&f[Fe.Kind]==="Uint8Array"&&f.type==="object"&&l(f.$id)&&f.specialized==="Uint8Array"&&c(f.minByteLength)&&c(f.maxByteLength)}e.TUint8Array=re;function he(f){return t(f)&&f[Fe.Kind]==="Unknown"&&l(f.$id)}e.TUnknown=he;function Z(f){return t(f)&&f[Fe.Kind]==="Void"&&f.type==="null"&&l(f.$id)}e.TVoid=Z;function fe(f){return g(f)||x(f)||b(f)||h(f)||_(f)||k(f)||I(f)||R(f)||M(f)||H(f)||D(f)||$(f)||y(f)||P(f)||O(f)||v(f)||A(f)||N(f)||Y(f)||re(f)||he(f)||Z(f)}e.TSchema=fe;function pe(f,E=[]){if(!fe(f))throw new Xa(f);for(let F of E)if(!fe(F))throw new Xa(F)}e.Assert=pe})(sT=Ui.TypeGuard||(Ui.TypeGuard={}))});var Sb=w(Wi=>{"use strict";var oT=Wi&&Wi.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),cT=Wi&&Wi.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&oT(t,e,n)};Object.defineProperty(Wi,"__esModule",{value:!0});cT(_b(),Wi)});var kb=w(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.TypeCompiler=Jt.TypeCompilerUnknownTypeError=Jt.Property=Jt.TypeCheck=void 0;var lT=cp(),uT=Sb(),Ob=op(),pT=sn(),Xo=class{constructor(t,n,i,r){this.schema=t,this.references=n,this.checkFunc=i,this.code=r}Code(){return this.code}Errors(t){return lT.ValueErrors.Errors(this.schema,this.references,t)}Check(t){return this.checkFunc(t)}};Jt.TypeCheck=Xo;var Eb;(function(e){function t(s){return s===36}function n(s){return s===95}function i(s){return s>=48&&s<=57}function r(s){return s>=65&&s<=90||s>=97&&s<=122}function a(s){if(s.length===0)return!1;{let o=s.charCodeAt(0);if(!(t(o)||n(o)||r(o)))return!1}for(let o=1;o<s.length;o++){let c=s.charCodeAt(o);if(!(t(c)||n(c)||r(c)||i(c)))return!1}return!0}e.Check=a})(Eb=Jt.Property||(Jt.Property={}));var Qo=class extends Error{constructor(t){super("TypeCompiler: Unknown type"),this.schema=t}};Jt.TypeCompilerUnknownTypeError=Qo;var fT;(function(e){function*t(f,E){yield"(true)"}function*n(f,E){let F=A(f.items,"value");f.minItems!==void 0&&(yield`(${E}.length >= ${f.minItems})`),f.maxItems!==void 0&&(yield`(${E}.length <= ${f.maxItems})`),f.uniqueItems!==void 0&&(yield`(new Set(${E}).size === ${E}.length)`),yield`(Array.isArray(${E}) && ${E}.every(value => ${F}))`}function*i(f,E){yield`(typeof ${E} === 'boolean')`}function*r(f,E){yield*D(f.returns,`${E}.prototype`)}function*a(f,E){yield`(typeof ${E} === 'function')`}function*s(f,E){yield`(typeof ${E} === 'number' && Number.isInteger(${E}))`,f.multipleOf!==void 0&&(yield`(${E} % ${f.multipleOf} === 0)`),f.exclusiveMinimum!==void 0&&(yield`(${E} > ${f.exclusiveMinimum})`),f.exclusiveMaximum!==void 0&&(yield`(${E} < ${f.exclusiveMaximum})`),f.minimum!==void 0&&(yield`(${E} >= ${f.minimum})`),f.maximum!==void 0&&(yield`(${E} <= ${f.maximum})`)}function*o(f,E){typeof f.const=="number"||typeof f.const=="boolean"?yield`(${E} === ${f.const})`:yield`(${E} === '${f.const}')`}function*c(f,E){yield"(false)"}function*u(f,E){yield`(${E} === null)`}function*l(f,E){yield`(typeof ${E} === 'number')`,f.multipleOf!==void 0&&(yield`(${E} % ${f.multipleOf} === 0)`),f.exclusiveMinimum!==void 0&&(yield`(${E} > ${f.exclusiveMinimum})`),f.exclusiveMaximum!==void 0&&(yield`(${E} < ${f.exclusiveMaximum})`),f.minimum!==void 0&&(yield`(${E} >= ${f.minimum})`),f.maximum!==void 0&&(yield`(${E} <= ${f.maximum})`)}function*p(f,E){yield`(typeof ${E} === 'object' && ${E} !== null && !Array.isArray(${E}))`,f.minProperties!==void 0&&(yield`(Object.keys(${E}).length >= ${f.minProperties})`),f.maxProperties!==void 0&&(yield`(Object.keys(${E}).length <= ${f.maxProperties})`);let F=globalThis.Object.keys(f.properties);if(f.additionalProperties===!1)if(f.required&&f.required.length===F.length)yield`(Object.keys(${E}).length === ${F.length})`;else{let z=`[${F.map(Se=>`'${Se}'`).join(", ")}]`;yield`(Object.keys(${E}).every(key => ${z}.includes(key)))`}for(let z of F){let Se=Eb.Check(z)?`${E}.${z}`:`${E}['${z}']`,Ue=f.properties[z];if(f.required&&f.required.includes(z))yield*D(Ue,Se);else{let J=A(Ue,Se);yield`(${Se} === undefined ? true : (${J}))`}}}function*d(f,E){yield`(typeof value === 'object' && typeof ${E}.then === 'function')`}function*g(f,E){yield`(typeof ${E} === 'object' && ${E} !== null && !Array.isArray(${E}))`;let[F,z]=globalThis.Object.entries(f.patternProperties)[0],Se=he(`new RegExp(/${F}/)`);yield`(Object.keys(${E}).every(key => ${Se}.test(key)))`;let Ue=A(z,"value");yield`(Object.values(${E}).every(value => ${Ue}))`}function*x(f,E){if(P.has(f.$ref))return yield`(${N(f.$ref)}(${E}))`;if(!$.has(f.$ref))throw Error(`TypeCompiler.Ref: Cannot de-reference schema with $id '${f.$ref}'`);let F=$.get(f.$ref);yield*D(F,E)}function*b(f,E){yield`(${N(f.$ref)}(${E}))`}function*h(f,E){yield`(typeof ${E} === 'string')`,f.minLength!==void 0&&(yield`(${E}.length >= ${f.minLength})`),f.maxLength!==void 0&&(yield`(${E}.length <= ${f.maxLength})`),f.pattern!==void 0&&(yield`(${he(`new RegExp(/${f.pattern}/);`)}.test(${E}))`),f.format!==void 0&&(yield`(format('${f.format}', ${E}))`)}function*_(f,E){if(yield`(Array.isArray(${E}))`,f.items===void 0)return yield`(${E}.length === 0)`;yield`(${E}.length === ${f.maxItems})`;for(let F=0;F<f.items.length;F++)yield`(${A(f.items[F],`${E}[${F}]`)})`}function*k(f,E){yield`(${E} === undefined)`}function*I(f,E){yield`(${f.anyOf.map(z=>A(z,E)).join(" || ")})`}function*R(f,E){yield`(${E} instanceof Uint8Array)`,f.maxByteLength&&(yield`(${E}.length <= ${f.maxByteLength})`),f.minByteLength&&(yield`(${E}.length >= ${f.minByteLength})`)}function*M(f,E){yield"(true)"}function*H(f,E){yield`(${E} === null)`}function*D(f,E){if(f.$id&&!P.has(f.$id)){P.add(f.$id);let z=N(f.$id),Se=Y(z,f,"value");re(Se),yield`(${z}(${E}))`;return}let F=f;switch(F[pT.Kind]){case"Any":return yield*t(F,E);case"Array":return yield*n(F,E);case"Boolean":return yield*i(F,E);case"Constructor":return yield*r(F,E);case"Function":return yield*a(F,E);case"Integer":return yield*s(F,E);case"Literal":return yield*o(F,E);case"Never":return yield*c(F,E);case"Null":return yield*u(F,E);case"Number":return yield*l(F,E);case"Object":return yield*p(F,E);case"Promise":return yield*d(F,E);case"Record":return yield*g(F,E);case"Ref":return yield*x(F,E);case"Self":return yield*b(F,E);case"String":return yield*h(F,E);case"Tuple":return yield*_(F,E);case"Undefined":return yield*k(F,E);case"Union":return yield*I(F,E);case"Uint8Array":return yield*R(F,E);case"Unknown":return yield*M(F,E);case"Void":return yield*H(F,E);default:throw new Qo(f)}}let $=new Map,y=new Set,P=new Set;function O(){$.clear(),y.clear(),P.clear()}function v(f=[]){for(let E of f){if(!E.$id)throw new Error("TypeCompiler: Referenced schemas must specify an $id.");if($.has(E.$id))throw new Error(`TypeCompiler: Duplicate schema $id found for '${E.$id}'`);$.set(E.$id,E)}}function A(f,E){return[...D(f,E)].join(" && ")}function N(f){return`check_${f.replace(/-/g,"_")}`}function Y(f,E,F){let z=[...D(E,F)].map(Se=>` ${Se}`).join(` &&
|
|
20
|
-
`);return`function ${f}(value) {
|
|
21
|
-
return (
|
|
22
|
-
${z}
|
|
23
|
-
)
|
|
24
|
-
}`}function re(f){y.add(f)}function he(f){let E=`local_${y.size}`;return y.add(`const ${E} = ${f}`),E}function Z(){return[...y.values()]}function fe(f,E=[]){O(),v(E);let F=Y("check",f,"value");return`${Z().join(`
|
|
25
|
-
`)}
|
|
26
|
-
return ${F}`}function pe(f,E=[]){uT.TypeGuard.Assert(f,E);let F=fe(f,E),Se=globalThis.Function("format",F)((Ue,J)=>Ob.Format.Has(Ue)?Ob.Format.Get(Ue)(J):!1);return new Xo(f,E,Se,F)}e.Compile=pe})(fT=Jt.TypeCompiler||(Jt.TypeCompiler={}))});var Cb=w(Mn=>{"use strict";var dT=Mn&&Mn.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),hT=Mn&&Mn.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&dT(t,e,n)};Object.defineProperty(Mn,"__esModule",{value:!0});Mn.ValueErrorType=void 0;var mT=cp();Object.defineProperty(Mn,"ValueErrorType",{enumerable:!0,get:function(){return mT.ValueErrorType}});hT(kb(),Mn)});var Rb=w(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.StreamInputValidator=Ve.StreamOutputTypebox=Ve.PostStreamInputTypebox=Ve.StreamRootTypebox=Ve.SinkTypes=Ve.SourceTypes=void 0;var B=sn(),gT=Cb(),lp;(function(e){e.SubgraphEntity="subgraphEntity",e.Kafka="kafka"})(lp=Ve.SourceTypes||(Ve.SourceTypes={}));var Qa;(function(e){e.Postgres="postgres",e.ElasticSearch="elasticSearch",e.Kafka="kafka",e.TimescaleHypertable="timescaleHypertable"})(Qa=Ve.SinkTypes||(Ve.SinkTypes={}));var Tb=B.Type.Object({name:B.Type.String(),kafkaTopic:B.Type.String()}),Ab=B.Type.Omit(Tb,["kafkaTopic"]),up=B.Type.Object({id:B.Type.String(),type:B.Type.Literal(lp.SubgraphEntity),deployments:B.Type.Array(B.Type.Object({id:B.Type.String()})),entity:Tb,integrationId:B.Type.String()}),bT=B.Type.Intersect([B.Type.Omit(up,["id","integrationId","entity"]),B.Type.Object({entity:Ab})]),vT=B.Type.Intersect([B.Type.Omit(up,["integrationId","entity"]),B.Type.Object({entity:Ab})]),pp=B.Type.Object({id:B.Type.String(),type:B.Type.Literal(lp.Kafka),topic:B.Type.String({maxLength:255}),integrationId:B.Type.String()}),xT=B.Type.Omit(pp,["id","integrationId"]),yT=B.Type.Omit(pp,["integrationId"]),wT=B.Type.Union([up,pp]),_T=B.Type.Union([bT,xT]),ST=B.Type.Union([vT,yT]),fp=B.Type.Object({id:B.Type.String(),type:B.Type.Literal(Qa.Postgres),sourceStreamName:B.Type.String(),schema:B.Type.String(),table:B.Type.String(),integrationId:B.Type.String()}),OT=B.Type.Omit(fp,["id","integrationId"]),ET=B.Type.Omit(fp,["integrationId"]),dp=B.Type.Object({id:B.Type.String(),type:B.Type.Literal(Qa.ElasticSearch),sourceStreamName:B.Type.String(),index:B.Type.String(),integrationId:B.Type.String()}),kT=B.Type.Omit(dp,["id","integrationId"]),CT=B.Type.Omit(dp,["integrationId"]),hp=B.Type.Object({id:B.Type.String(),type:B.Type.Literal(Qa.Kafka),sourceStreamName:B.Type.String(),topic:B.Type.String({maxLength:255}),integrationId:B.Type.String()}),TT=B.Type.Omit(hp,["id","integrationId"]),AT=B.Type.Omit(hp,["integrationId"]),mp=B.Type.Object({id:B.Type.String(),type:B.Type.Literal(Qa.TimescaleHypertable),sourceStreamName:B.Type.String(),schema:B.Type.String(),table:B.Type.String(),timestampColumn:B.Type.String(),primaryKey:B.Type.String(),timestampDataTypeAdapterFuncName:B.Type.Optional(B.Type.String()),integrationId:B.Type.String()}),jT=B.Type.Omit(mp,["id","integrationId"]),MT=B.Type.Omit(mp,["integrationId"]),RT=B.Type.Union([fp,dp,hp,mp]),IT=B.Type.Union([OT,kT,TT,jT]),NT=B.Type.Union([ET,CT,AT,MT]),jb=B.Type.Object({id:B.Type.String(),type:B.Type.Literal("sql"),name:B.Type.String(),sql:B.Type.String({maxLength:500}),primaryKey:B.Type.String({maxLength:50})}),LT=B.Type.Omit(jb,["id"]),Mb=B.Type.Union([jb]),PT=B.Type.Union([LT]),qT=B.Type.Object({sources:B.Type.Array(wT,{minItems:1}),transforms:B.Type.Array(Mb),sinks:B.Type.Array(RT)}),BT=B.Type.Object({sources:B.Type.Array(_T,{minItems:1}),transforms:B.Type.Array(PT),sinks:B.Type.Array(IT)}),FT=B.Type.Object({sources:B.Type.Array(ST,{minItems:1}),transforms:B.Type.Array(Mb),sinks:B.Type.Array(NT)});Ve.StreamRootTypebox=B.Type.Object({id:B.Type.String(),name:B.Type.String(),description:B.Type.Optional(B.Type.String()),version:B.Type.Integer(),definition:qT,status:B.Type.String(),projectId:B.Type.String(),createdAt:B.Type.String(),updatedAt:B.Type.String()});Ve.PostStreamInputTypebox=B.Type.Intersect([B.Type.Omit(Ve.StreamRootTypebox,["id","status","definition","projectId","version","createdAt","updatedAt"]),B.Type.Object({definition:BT})]);Ve.StreamOutputTypebox=B.Type.Intersect([B.Type.Omit(Ve.StreamRootTypebox,["definition","projectId"]),B.Type.Object({definition:FT})]);Ve.StreamInputValidator=gT.TypeCompiler.Compile(Ve.PostStreamInputTypebox);var XB=B.Type.Object({id:B.Type.String(),version:B.Type.Optional(B.Type.String())})});var ti=w(_e=>{"use strict";var DT=_e&&_e.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),$T=_e&&_e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ei=_e&&_e.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&DT(t,e,n);return $T(t,e),t};Object.defineProperty(_e,"__esModule",{value:!0});_e.StreamsApi=_e.SupportApi=_e.MetricsApi=_e.BillingApi=_e.WebhookApi=_e.ApiFetch=_e.StreamBossApi=_e.SubgraphApi=_e.ENTERPRISE_BILLING_FLAG=_e.API_URL=_e.API_PORT=void 0;var zT=ei(Zm());_e.SubgraphApi=zT;var UT=ei(Vm());_e.StreamBossApi=UT;var WT=ei(hb());_e.ApiFetch=WT;var HT=ei(mb());_e.WebhookApi=HT;var YT=ei(gb());_e.BillingApi=YT;var KT=ei(bb());_e.MetricsApi=KT;var GT=ei(vb());_e.SupportApi=GT;var ZT=ei(Rb());_e.StreamsApi=ZT;_e.API_PORT=80;_e.API_URL="https://api.goldsky.com";_e.ENTERPRISE_BILLING_FLAG="goldsky_enterprise"});var Bb=w((n6,qb)=>{"use strict";qb.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var gp=w((i6,Db)=>{var ns=Bb(),Fb={};for(let e of Object.keys(ns))Fb[ns[e]]=e;var Q={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};Db.exports=Q;for(let e of Object.keys(Q)){if(!("channels"in Q[e]))throw new Error("missing channels property: "+e);if(!("labels"in Q[e]))throw new Error("missing channel labels property: "+e);if(Q[e].labels.length!==Q[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:n}=Q[e];delete Q[e].channels,delete Q[e].labels,Object.defineProperty(Q[e],"channels",{value:t}),Object.defineProperty(Q[e],"labels",{value:n})}Q.rgb.hsl=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.min(t,n,i),a=Math.max(t,n,i),s=a-r,o,c;a===r?o=0:t===a?o=(n-i)/s:n===a?o=2+(i-t)/s:i===a&&(o=4+(t-n)/s),o=Math.min(o*60,360),o<0&&(o+=360);let u=(r+a)/2;return a===r?c=0:u<=.5?c=s/(a+r):c=s/(2-a-r),[o,c*100,u*100]};Q.rgb.hsv=function(e){let t,n,i,r,a,s=e[0]/255,o=e[1]/255,c=e[2]/255,u=Math.max(s,o,c),l=u-Math.min(s,o,c),p=function(d){return(u-d)/6/l+1/2};return l===0?(r=0,a=0):(a=l/u,t=p(s),n=p(o),i=p(c),s===u?r=i-n:o===u?r=1/3+t-i:c===u&&(r=2/3+n-t),r<0?r+=1:r>1&&(r-=1)),[r*360,a*100,u*100]};Q.rgb.hwb=function(e){let t=e[0],n=e[1],i=e[2],r=Q.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,i));return i=1-1/255*Math.max(t,Math.max(n,i)),[r,a*100,i*100]};Q.rgb.cmyk=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.min(1-t,1-n,1-i),a=(1-t-r)/(1-r)||0,s=(1-n-r)/(1-r)||0,o=(1-i-r)/(1-r)||0;return[a*100,s*100,o*100,r*100]};function JT(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}Q.rgb.keyword=function(e){let t=Fb[e];if(t)return t;let n=1/0,i;for(let r of Object.keys(ns)){let a=ns[r],s=JT(e,a);s<n&&(n=s,i=r)}return i};Q.keyword.rgb=function(e){return ns[e]};Q.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92;let r=t*.4124+n*.3576+i*.1805,a=t*.2126+n*.7152+i*.0722,s=t*.0193+n*.1192+i*.9505;return[r*100,a*100,s*100]};Q.rgb.lab=function(e){let t=Q.rgb.xyz(e),n=t[0],i=t[1],r=t[2];n/=95.047,i/=100,r/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;let a=116*i-16,s=500*(n-i),o=200*(i-r);return[a,s,o]};Q.hsl.rgb=function(e){let t=e[0]/360,n=e[1]/100,i=e[2]/100,r,a,s;if(n===0)return s=i*255,[s,s,s];i<.5?r=i*(1+n):r=i+n-i*n;let o=2*i-r,c=[0,0,0];for(let u=0;u<3;u++)a=t+1/3*-(u-1),a<0&&a++,a>1&&a--,6*a<1?s=o+(r-o)*6*a:2*a<1?s=r:3*a<2?s=o+(r-o)*(2/3-a)*6:s=o,c[u]=s*255;return c};Q.hsl.hsv=function(e){let t=e[0],n=e[1]/100,i=e[2]/100,r=n,a=Math.max(i,.01);i*=2,n*=i<=1?i:2-i,r*=a<=1?a:2-a;let s=(i+n)/2,o=i===0?2*r/(a+r):2*n/(i+n);return[t,o*100,s*100]};Q.hsv.rgb=function(e){let t=e[0]/60,n=e[1]/100,i=e[2]/100,r=Math.floor(t)%6,a=t-Math.floor(t),s=255*i*(1-n),o=255*i*(1-n*a),c=255*i*(1-n*(1-a));switch(i*=255,r){case 0:return[i,c,s];case 1:return[o,i,s];case 2:return[s,i,c];case 3:return[s,o,i];case 4:return[c,s,i];case 5:return[i,s,o]}};Q.hsv.hsl=function(e){let t=e[0],n=e[1]/100,i=e[2]/100,r=Math.max(i,.01),a,s;s=(2-n)*i;let o=(2-n)*r;return a=n*r,a/=o<=1?o:2-o,a=a||0,s/=2,[t,a*100,s*100]};Q.hwb.rgb=function(e){let t=e[0]/360,n=e[1]/100,i=e[2]/100,r=n+i,a;r>1&&(n/=r,i/=r);let s=Math.floor(6*t),o=1-i;a=6*t-s,(s&1)!==0&&(a=1-a);let c=n+a*(o-n),u,l,p;switch(s){default:case 6:case 0:u=o,l=c,p=n;break;case 1:u=c,l=o,p=n;break;case 2:u=n,l=o,p=c;break;case 3:u=n,l=c,p=o;break;case 4:u=c,l=n,p=o;break;case 5:u=o,l=n,p=c;break}return[u*255,l*255,p*255]};Q.cmyk.rgb=function(e){let t=e[0]/100,n=e[1]/100,i=e[2]/100,r=e[3]/100,a=1-Math.min(1,t*(1-r)+r),s=1-Math.min(1,n*(1-r)+r),o=1-Math.min(1,i*(1-r)+r);return[a*255,s*255,o*255]};Q.xyz.rgb=function(e){let t=e[0]/100,n=e[1]/100,i=e[2]/100,r,a,s;return r=t*3.2406+n*-1.5372+i*-.4986,a=t*-.9689+n*1.8758+i*.0415,s=t*.0557+n*-.204+i*1.057,r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,r=Math.min(Math.max(0,r),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[r*255,a*255,s*255]};Q.xyz.lab=function(e){let t=e[0],n=e[1],i=e[2];t/=95.047,n/=100,i/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;let r=116*n-16,a=500*(t-n),s=200*(n-i);return[r,a,s]};Q.lab.xyz=function(e){let t=e[0],n=e[1],i=e[2],r,a,s;a=(t+16)/116,r=n/500+a,s=a-i/200;let o=a**3,c=r**3,u=s**3;return a=o>.008856?o:(a-16/116)/7.787,r=c>.008856?c:(r-16/116)/7.787,s=u>.008856?u:(s-16/116)/7.787,r*=95.047,a*=100,s*=108.883,[r,a,s]};Q.lab.lch=function(e){let t=e[0],n=e[1],i=e[2],r;r=Math.atan2(i,n)*360/2/Math.PI,r<0&&(r+=360);let s=Math.sqrt(n*n+i*i);return[t,s,r]};Q.lch.lab=function(e){let t=e[0],n=e[1],r=e[2]/360*2*Math.PI,a=n*Math.cos(r),s=n*Math.sin(r);return[t,a,s]};Q.rgb.ansi16=function(e,t=null){let[n,i,r]=e,a=t===null?Q.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(r/255)<<2|Math.round(i/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};Q.hsv.ansi16=function(e){return Q.rgb.ansi16(Q.hsv.rgb(e),e[2])};Q.rgb.ansi256=function(e){let t=e[0],n=e[1],i=e[2];return t===n&&n===i?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)};Q.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let n=(~~(e>50)+1)*.5,i=(t&1)*n*255,r=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[i,r,a]};Q.ansi256.rgb=function(e){if(e>=232){let a=(e-232)*10+8;return[a,a,a]}e-=16;let t,n=Math.floor(e/36)/5*255,i=Math.floor((t=e%36)/6)/5*255,r=t%6/5*255;return[n,i,r]};Q.rgb.hex=function(e){let n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};Q.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(o=>o+o).join(""));let i=parseInt(n,16),r=i>>16&255,a=i>>8&255,s=i&255;return[r,a,s]};Q.rgb.hcg=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.max(Math.max(t,n),i),a=Math.min(Math.min(t,n),i),s=r-a,o,c;return s<1?o=a/(1-s):o=0,s<=0?c=0:r===t?c=(n-i)/s%6:r===n?c=2+(i-t)/s:c=4+(t-n)/s,c/=6,c%=1,[c*360,s*100,o*100]};Q.hsl.hcg=function(e){let t=e[1]/100,n=e[2]/100,i=n<.5?2*t*n:2*t*(1-n),r=0;return i<1&&(r=(n-.5*i)/(1-i)),[e[0],i*100,r*100]};Q.hsv.hcg=function(e){let t=e[1]/100,n=e[2]/100,i=t*n,r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],i*100,r*100]};Q.hcg.rgb=function(e){let t=e[0]/360,n=e[1]/100,i=e[2]/100;if(n===0)return[i*255,i*255,i*255];let r=[0,0,0],a=t%1*6,s=a%1,o=1-s,c=0;switch(Math.floor(a)){case 0:r[0]=1,r[1]=s,r[2]=0;break;case 1:r[0]=o,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=s;break;case 3:r[0]=0,r[1]=o,r[2]=1;break;case 4:r[0]=s,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=o}return c=(1-n)*i,[(n*r[0]+c)*255,(n*r[1]+c)*255,(n*r[2]+c)*255]};Q.hcg.hsv=function(e){let t=e[1]/100,n=e[2]/100,i=t+n*(1-t),r=0;return i>0&&(r=t/i),[e[0],r*100,i*100]};Q.hcg.hsl=function(e){let t=e[1]/100,i=e[2]/100*(1-t)+.5*t,r=0;return i>0&&i<.5?r=t/(2*i):i>=.5&&i<1&&(r=t/(2*(1-i))),[e[0],r*100,i*100]};Q.hcg.hwb=function(e){let t=e[1]/100,n=e[2]/100,i=t+n*(1-t);return[e[0],(i-t)*100,(1-i)*100]};Q.hwb.hcg=function(e){let t=e[1]/100,n=e[2]/100,i=1-n,r=i-t,a=0;return r<1&&(a=(i-r)/(1-r)),[e[0],r*100,a*100]};Q.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};Q.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};Q.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};Q.gray.hsl=function(e){return[0,0,e[0]]};Q.gray.hsv=Q.gray.hsl;Q.gray.hwb=function(e){return[0,100,e[0]]};Q.gray.cmyk=function(e){return[0,0,0,e[0]]};Q.gray.lab=function(e){return[e[0],0,0]};Q.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,i=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(i.length)+i};Q.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}});var zb=w((r6,$b)=>{var tc=gp();function XT(){let e={},t=Object.keys(tc);for(let n=t.length,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}function QT(e){let t=XT(),n=[e];for(t[e].distance=0;n.length;){let i=n.pop(),r=Object.keys(tc[i]);for(let a=r.length,s=0;s<a;s++){let o=r[s],c=t[o];c.distance===-1&&(c.distance=t[i].distance+1,c.parent=i,n.unshift(o))}}return t}function eA(e,t){return function(n){return t(e(n))}}function tA(e,t){let n=[t[e].parent,e],i=tc[t[e].parent][e],r=t[e].parent;for(;t[r].parent;)n.unshift(t[r].parent),i=eA(tc[t[r].parent][r],i),r=t[r].parent;return i.conversion=n,i}$b.exports=function(e){let t=QT(e),n={},i=Object.keys(t);for(let r=i.length,a=0;a<r;a++){let s=i[a];t[s].parent!==null&&(n[s]=tA(s,t))}return n}});var Wb=w((a6,Ub)=>{var bp=gp(),nA=zb(),zr={},iA=Object.keys(bp);function rA(e){let t=function(...n){let i=n[0];return i==null?i:(i.length>1&&(n=i),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function aA(e){let t=function(...n){let i=n[0];if(i==null)return i;i.length>1&&(n=i);let r=e(n);if(typeof r=="object")for(let a=r.length,s=0;s<a;s++)r[s]=Math.round(r[s]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}iA.forEach(e=>{zr[e]={},Object.defineProperty(zr[e],"channels",{value:bp[e].channels}),Object.defineProperty(zr[e],"labels",{value:bp[e].labels});let t=nA(e);Object.keys(t).forEach(i=>{let r=t[i];zr[e][i]=aA(r),zr[e][i].raw=rA(r)})});Ub.exports=zr});var xp=w((s6,Zb)=>{"use strict";var Hb=(e,t)=>(...n)=>`\x1B[${e(...n)+t}m`,Yb=(e,t)=>(...n)=>{let i=e(...n);return`\x1B[${38+t};5;${i}m`},Kb=(e,t)=>(...n)=>{let i=e(...n);return`\x1B[${38+t};2;${i[0]};${i[1]};${i[2]}m`},nc=e=>e,Gb=(e,t,n)=>[e,t,n],Ur=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{let i=n();return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0}),i},enumerable:!0,configurable:!0})},vp,Wr=(e,t,n,i)=>{vp===void 0&&(vp=Wb());let r=i?10:0,a={};for(let[s,o]of Object.entries(vp)){let c=s==="ansi16"?"ansi":s;s===t?a[c]=e(n,r):typeof o=="object"&&(a[c]=e(o[t],r))}return a};function sA(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[n,i]of Object.entries(t)){for(let[r,a]of Object.entries(i))t[r]={open:`\x1B[${a[0]}m`,close:`\x1B[${a[1]}m`},i[r]=t[r],e.set(a[0],a[1]);Object.defineProperty(t,n,{value:i,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",Ur(t.color,"ansi",()=>Wr(Hb,"ansi16",nc,!1)),Ur(t.color,"ansi256",()=>Wr(Yb,"ansi256",nc,!1)),Ur(t.color,"ansi16m",()=>Wr(Kb,"rgb",Gb,!1)),Ur(t.bgColor,"ansi",()=>Wr(Hb,"ansi16",nc,!0)),Ur(t.bgColor,"ansi256",()=>Wr(Yb,"ansi256",nc,!0)),Ur(t.bgColor,"ansi16m",()=>Wr(Kb,"rgb",Gb,!0)),t}Object.defineProperty(Zb,"exports",{enumerable:!0,get:sA})});var Jb=w((o6,Vb)=>{"use strict";var oA=(e,t,n)=>{let i=e.indexOf(t);if(i===-1)return e;let r=t.length,a=0,s="";do s+=e.substr(a,i-a)+t+n,a=i+r,i=e.indexOf(t,a);while(i!==-1);return s+=e.substr(a),s},cA=(e,t,n,i)=>{let r=0,a="";do{let s=e[i-1]==="\r";a+=e.substr(r,(s?i-1:i)-r)+t+(s?`\r
|
|
16
|
+
`+a),e.push(i+"m+"+Ao.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=Wk()+t+" "+e[0]}function Wk(){return it.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Hk(...e){return process.stderr.write(Co.format(...e)+`
|
|
17
|
+
`)}function Yk(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function Gk(){return process.env.DEBUG}function Kk(e){e.inspectOpts={};let t=Object.keys(it.inspectOpts);for(let n=0;n<t.length;n++)e.inspectOpts[t[n]]=it.inspectOpts[t[n]]}Ao.exports=ku()(it);var{formatters:Mg}=Ao.exports;Mg.o=function(e){return this.inspectOpts.colors=this.useColors,Co.inspect(e,this.inspectOpts).split(`
|
|
18
|
+
`).map(t=>t.trim()).join(" ")};Mg.O=function(e){return this.inspectOpts.colors=this.useColors,Co.inspect(e,this.inspectOpts)}});var Ig=b((qB,Au)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Au.exports=Tg():Au.exports=Pg()});var Lg=b((BB,Ng)=>{var Da;Ng.exports=function(){if(!Da){try{Da=Ig()("follow-redirects")}catch{}typeof Da!="function"&&(Da=function(){})}Da.apply(null,arguments)}});var za=b((FB,Pu)=>{var Nr=require("url"),ju=Nr.URL,Vk=require("http"),Zk=require("https"),Fg=require("stream").Writable,Jk=require("assert"),Dg=Lg(),Lr=["abort","aborted","connect","error","socket","timeout"],Mu=Object.create(null);Lr.forEach(function(e){Mu[e]=function(t,n,r){this._redirectable.emit(e,t,n,r)}});var qg=jo("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Xk=jo("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),Qk=jo("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),eT=jo("ERR_STREAM_WRITE_AFTER_END","write after end");function Lt(e,t){Fg.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 n=this;this._onNativeResponse=function(r){n._processResponse(r)},this._performRequest()}Lt.prototype=Object.create(Fg.prototype);Lt.prototype.abort=function(){Ug(this._currentRequest),this.emit("abort")};Lt.prototype.write=function(e,t,n){if(this._ending)throw new eT;if(!(typeof e=="string"||typeof e=="object"&&"length"in e))throw new TypeError("data should be a string, Buffer or Uint8Array");if(typeof t=="function"&&(n=t,t=null),e.length===0){n&&n();return}this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new Qk),this.abort())};Lt.prototype.end=function(e,t,n){if(typeof e=="function"?(n=e,e=t=null):typeof t=="function"&&(n=t,t=null),!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,n);else{var r=this,i=this._currentRequest;this.write(e,t,function(){r._ended=!0,i.end(null,null,n)}),this._ending=!0}};Lt.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};Lt.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};Lt.prototype.setTimeout=function(e,t){var n=this;function r(s){s.setTimeout(e),s.removeListener("timeout",s.destroy),s.addListener("timeout",s.destroy)}function i(s){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout(function(){n.emit("timeout"),a()},e),r(s)}function a(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",a),n.removeListener("error",a),n.removeListener("response",a),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",i)}return t&&this.on("timeout",t),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",r),this.on("abort",a),this.on("error",a),this.on("response",a),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){Lt.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(Lt.prototype,e,{get:function(){return this._currentRequest[e]}})});Lt.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),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))}};Lt.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t){this.emit("error",new TypeError("Unsupported protocol "+e));return}if(this._options.agents){var n=e.substr(0,e.length-1);this._options.agent=this._options.agents[n]}var r=this._currentRequest=t.request(this._options,this._onNativeResponse);this._currentUrl=Nr.format(this._options),r._redirectable=this;for(var i=0;i<Lr.length;i++)r.on(Lr[i],Mu[Lr[i]]);if(this._isRedirect){var a=0,s=this,o=this._requestBodyBuffers;(function c(u){if(r===s._currentRequest)if(u)s.emit("error",u);else if(a<o.length){var l=o[a++];r.finished||r.write(l.data,l.encoding,c)}else s._ended&&r.end()})()}};Lt.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n=e.headers.location;if(n&&this._options.followRedirects!==!1&&t>=300&&t<400){if(Ug(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects){this.emit("error",new Xk);return}((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Ru(/^content-/i,this._options.headers));var r=Ru(/^host$/i,this._options.headers),i=Nr.parse(this._currentUrl),a=r||i.host,s=/^\w+:/.test(n)?this._currentUrl:Nr.format(Object.assign(i,{host:a})),o;try{o=Nr.resolve(s,n)}catch(l){this.emit("error",new qg(l));return}Dg("redirecting to",o),this._isRedirect=!0;var c=Nr.parse(o);if(Object.assign(this._options,c),(c.protocol!==i.protocol||!nT(c.host,a))&&Ru(/^(?:authorization|cookie)$/i,this._options.headers),typeof this._options.beforeRedirect=="function"){var u={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,u)}catch(l){this.emit("error",l);return}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(l){this.emit("error",new qg(l))}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]};function zg(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach(function(r){var i=r+":",a=n[i]=e[r],s=t[r]=Object.create(a);function o(u,l,p){if(typeof u=="string"){var f=u;try{u=Bg(new ju(f))}catch{u=Nr.parse(f)}}else ju&&u instanceof ju?u=Bg(u):(p=l,l=u,u={protocol:i});return typeof l=="function"&&(p=l,l=null),l=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},u,l),l.nativeProtocols=n,Jk.equal(l.protocol,i,"protocol mismatch"),Dg("options",l),new Lt(l,p)}function c(u,l,p){var f=s.request(u,l,p);return f.end(),f}Object.defineProperties(s,{request:{value:o,configurable:!0,enumerable:!0,writable:!0},get:{value:c,configurable:!0,enumerable:!0,writable:!0}})}),t}function tT(){}function Bg(e){var t={protocol:e.protocol,hostname:e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,hash:e.hash,search:e.search,pathname:e.pathname,path:e.pathname+e.search,href:e.href};return e.port!==""&&(t.port=Number(e.port)),t}function Ru(e,t){var n;for(var r in t)e.test(r)&&(n=t[r],delete t[r]);return n===null||typeof n>"u"?void 0:String(n).trim()}function jo(e,t){function n(r){Error.captureStackTrace(this,this.constructor),r?(this.message=t+": "+r.message,this.cause=r):this.message=t}return n.prototype=new Error,n.prototype.constructor=n,n.prototype.name="Error ["+e+"]",n.prototype.code=e,n}function Ug(e){for(var t=0;t<Lr.length;t++)e.removeListener(Lr[t],Mu[Lr[t]]);e.on("error",tT),e.abort()}function nT(e,t){if(e===t)return!0;let n=e.length-t.length-1;return n>0&&e[n]==="."&&e.endsWith(t)}Pu.exports=zg({http:Vk,https:Zk});Pu.exports.wrap=zg});var Ro=b((DB,$g)=>{$g.exports={version:"0.26.0"}});var Zg=b((zB,Vg)=>{"use strict";var Ua=ut(),Wg=wu(),rT=_u(),Hg=xo(),iT=require("http"),aT=require("https"),sT=za().http,oT=za().https,Yg=require("url"),cT=require("zlib"),lT=Ro().version,Ci=_o(),Mo=wo(),uT=Ei(),pT=Si(),Gg=/https:?/;function Kg(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var r=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+r}e.beforeRedirect=function(a){a.headers.host=a.host,Kg(a,t,a.href)}}Vg.exports=function(t){return new Promise(function(r,i){var a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}var o=function(ae){s(),r(ae)},c=!1,u=function(ae){s(),c=!0,i(ae)},l=t.data,p=t.headers,f={};if(Object.keys(p).forEach(function(ae){f[ae.toLowerCase()]=ae}),"user-agent"in f?p[f["user-agent"]]||delete p[f["user-agent"]]:p["User-Agent"]="axios/"+lT,l&&!Ua.isStream(l)){if(!Buffer.isBuffer(l))if(Ua.isArrayBuffer(l))l=Buffer.from(new Uint8Array(l));else if(Ua.isString(l))l=Buffer.from(l,"utf-8");else return u(Ci("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));if(t.maxBodyLength>-1&&l.length>t.maxBodyLength)return u(Ci("Request body larger than maxBodyLength limit",t));f["content-length"]||(p["Content-Length"]=l.length)}var m=void 0;if(t.auth){var v=t.auth.username||"",g=t.auth.password||"";m=v+":"+g}var d=rT(t.baseURL,t.url),x=Yg.parse(d),_=x.protocol||"http:";if(!m&&x.auth){var T=x.auth.split(":"),k=T[0]||"",O=T[1]||"";m=k+":"+O}m&&f.authorization&&delete p[f.authorization];var D=Gg.test(_),B=D?t.httpsAgent:t.httpAgent;try{Hg(x.path,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(de){var N=new Error(de.message);N.config=t,N.url=t.url,N.exists=!0,u(N)}var W={path:Hg(x.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:p,agent:B,agents:{http:t.httpAgent,https:t.httpsAgent},auth:m};t.socketPath?W.socketPath=t.socketPath:(W.hostname=x.hostname,W.port=x.port);var F=t.proxy;if(!F&&F!==!1){var q=_.slice(0,-1)+"_proxy",M=process.env[q]||process.env[q.toUpperCase()];if(M){var R=Yg.parse(M),L=process.env.no_proxy||process.env.NO_PROXY,G=!0;if(L){var ue=L.split(",").map(function(ae){return ae.trim()});G=!ue.some(function(ae){return ae?ae==="*"||ae[0]==="."&&x.hostname.substr(x.hostname.length-ae.length)===ae?!0:x.hostname===ae:!1})}if(G&&(F={host:R.hostname,port:R.port,protocol:R.protocol},R.auth)){var be=R.auth.split(":");F.auth={username:be[0],password:be[1]}}}}F&&(W.headers.host=x.hostname+(x.port?":"+x.port:""),Kg(W,F,_+"//"+x.hostname+(x.port?":"+x.port:"")+W.path));var ee,Ee=D&&(F?Gg.test(F.protocol):!0);t.transport?ee=t.transport:t.maxRedirects===0?ee=Ee?aT:iT:(t.maxRedirects&&(W.maxRedirects=t.maxRedirects),ee=Ee?oT:sT),t.maxBodyLength>-1&&(W.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(W.insecureHTTPParser=t.insecureHTTPParser);var pe=ee.request(W,function(ae){if(!pe.aborted){var $=ae,mt=ae.req||pe;if(ae.statusCode!==204&&mt.method!=="HEAD"&&t.decompress!==!1)switch(ae.headers["content-encoding"]){case"gzip":case"compress":case"deflate":$=$.pipe(cT.createUnzip()),delete ae.headers["content-encoding"];break}var Ht={status:ae.statusCode,statusText:ae.statusMessage,headers:ae.headers,config:t,request:mt};if(t.responseType==="stream")Ht.data=$,Wg(o,u,Ht);else{var X=[],le=0;$.on("data",function(re){X.push(re),le+=re.length,t.maxContentLength>-1&&le>t.maxContentLength&&(c=!0,$.destroy(),u(Ci("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,mt)))}),$.on("aborted",function(){c||($.destroy(),u(Ci("error request aborted",t,"ERR_REQUEST_ABORTED",mt)))}),$.on("error",function(re){pe.aborted||u(Mo(re,t,null,mt))}),$.on("end",function(){try{var re=X.length===1?X[0]:Buffer.concat(X);t.responseType!=="arraybuffer"&&(re=re.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(re=Ua.stripBOM(re))),Ht.data=re}catch($e){u(Mo($e,t,$e.code,Ht.request,Ht))}Wg(o,u,Ht)})}}});if(pe.on("error",function(ae){pe.aborted&&ae.code!=="ERR_FR_TOO_MANY_REDIRECTS"||u(Mo(ae,t,null,pe))}),pe.on("socket",function(ae){ae.setKeepAlive(!0,1e3*60)}),t.timeout){var K=parseInt(t.timeout,10);if(isNaN(K)){u(Ci("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",pe));return}pe.setTimeout(K,function(){pe.abort();var ae="";t.timeoutErrorMessage?ae=t.timeoutErrorMessage:ae="timeout of "+t.timeout+"ms exceeded";var $=t.transitional||uT.transitional;u(Ci(ae,t,$.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",pe))})}(t.cancelToken||t.signal)&&(a=function(de){pe.aborted||(pe.abort(),u(!de||de&&de.type?new pT("canceled"):de))},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),Ua.isStream(l)?l.on("error",function(ae){u(Mo(ae,t,null,pe))}).pipe(pe):pe.end(l)})}});var Ei=b((UB,Qg)=>{"use strict";var at=ut(),Jg=ag(),fT=wo(),dT={"Content-Type":"application/x-www-form-urlencoded"};function Xg(e,t){!at.isUndefined(e)&&at.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function hT(){var e;return typeof XMLHttpRequest<"u"?e=Sg():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=Zg()),e}function mT(e,t,n){if(at.isString(e))try{return(t||JSON.parse)(e),at.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Po={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:hT(),transformRequest:[function(t,n){return Jg(n,"Accept"),Jg(n,"Content-Type"),at.isFormData(t)||at.isArrayBuffer(t)||at.isBuffer(t)||at.isStream(t)||at.isFile(t)||at.isBlob(t)?t:at.isArrayBufferView(t)?t.buffer:at.isURLSearchParams(t)?(Xg(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):at.isObject(t)||n&&n["Content-Type"]==="application/json"?(Xg(n,"application/json"),mT(t)):t}],transformResponse:[function(t){var n=this.transitional||Po.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||i&&at.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?fT(s,this,"E_JSON_PARSE"):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};at.forEach(["delete","get","head"],function(t){Po.headers[t]={}});at.forEach(["post","put","patch"],function(t){Po.headers[t]=at.merge(dT)});Qg.exports=Po});var tv=b(($B,ev)=>{"use strict";var gT=ut(),vT=Ei();ev.exports=function(t,n,r){var i=this||vT;return gT.forEach(r,function(s){t=s.call(i,t,n)}),t}});var Iu=b((WB,nv)=>{"use strict";nv.exports=function(t){return!!(t&&t.__CANCEL__)}});var av=b((HB,iv)=>{"use strict";var rv=ut(),Nu=tv(),bT=Iu(),xT=Ei(),yT=Si();function Lu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new yT("canceled")}iv.exports=function(t){Lu(t),t.headers=t.headers||{},t.data=Nu.call(t,t.data,t.headers,t.transformRequest),t.headers=rv.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),rv.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||xT.adapter;return n(t).then(function(i){return Lu(t),i.data=Nu.call(t,i.data,i.headers,t.transformResponse),i},function(i){return bT(i)||(Lu(t),i&&i.response&&(i.response.data=Nu.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})}});var qu=b((YB,sv)=>{"use strict";var qt=ut();sv.exports=function(t,n){n=n||{};var r={};function i(l,p){return qt.isPlainObject(l)&&qt.isPlainObject(p)?qt.merge(l,p):qt.isPlainObject(p)?qt.merge({},p):qt.isArray(p)?p.slice():p}function a(l){if(qt.isUndefined(n[l])){if(!qt.isUndefined(t[l]))return i(void 0,t[l])}else return i(t[l],n[l])}function s(l){if(!qt.isUndefined(n[l]))return i(void 0,n[l])}function o(l){if(qt.isUndefined(n[l])){if(!qt.isUndefined(t[l]))return i(void 0,t[l])}else return i(void 0,n[l])}function c(l){if(l in n)return i(t[l],n[l]);if(l in t)return i(void 0,t[l])}var u={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:c};return qt.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var f=u[p]||a,m=f(p);qt.isUndefined(m)&&f!==c||(r[p]=m)}),r}});var lv=b((GB,cv)=>{"use strict";var wT=Ro().version,Bu={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Bu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var ov={};Bu.transitional=function(t,n,r){function i(a,s){return"[Axios v"+wT+"] Transitional option '"+a+"'"+s+(r?". "+r:"")}return function(a,s,o){if(t===!1)throw new Error(i(s," has been removed"+(n?" in "+n:"")));return n&&!ov[s]&&(ov[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,o):!0}};function _T(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],s=t[a];if(s){var o=e[a],c=o===void 0||s(o,a,e);if(c!==!0)throw new TypeError("option "+a+" must be "+c);continue}if(n!==!0)throw Error("Unknown option "+a)}}cv.exports={assertOptions:_T,validators:Bu}});var mv=b((KB,hv)=>{"use strict";var fv=ut(),ST=xo(),uv=rg(),pv=av(),Io=qu(),dv=lv(),Ai=dv.validators;function $a(e){this.defaults=e,this.interceptors={request:new uv,response:new uv}}$a.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Io(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&dv.assertOptions(r,{silentJSONParsing:Ai.transitional(Ai.boolean),forcedJSONParsing:Ai.transitional(Ai.boolean),clarifyTimeoutError:Ai.transitional(Ai.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(a=a&&m.synchronous,i.unshift(m.fulfilled,m.rejected))});var s=[];this.interceptors.response.forEach(function(m){s.push(m.fulfilled,m.rejected)});var o;if(!a){var c=[pv,void 0];for(Array.prototype.unshift.apply(c,i),c=c.concat(s),o=Promise.resolve(n);c.length;)o=o.then(c.shift(),c.shift());return o}for(var u=n;i.length;){var l=i.shift(),p=i.shift();try{u=l(u)}catch(f){p(f);break}}try{o=pv(u)}catch(f){return Promise.reject(f)}for(;s.length;)o=o.then(s.shift(),s.shift());return o};$a.prototype.getUri=function(t){return t=Io(this.defaults,t),ST(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};fv.forEach(["delete","get","head","options"],function(t){$a.prototype[t]=function(n,r){return this.request(Io(r||{},{method:t,url:n,data:(r||{}).data}))}});fv.forEach(["post","put","patch"],function(t){$a.prototype[t]=function(n,r,i){return this.request(Io(i||{},{method:t,url:n,data:r}))}});hv.exports=$a});var vv=b((VB,gv)=>{"use strict";var ET=Si();function ji(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(i){t=i});var n=this;this.promise.then(function(r){if(!!n._listeners){var i,a=n._listeners.length;for(i=0;i<a;i++)n._listeners[i](r);n._listeners=null}}),this.promise.then=function(r){var i,a=new Promise(function(s){n.subscribe(s),i=s}).then(r);return a.cancel=function(){n.unsubscribe(i)},a},e(function(i){n.reason||(n.reason=new ET(i),t(n.reason))})}ji.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};ji.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};ji.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};ji.source=function(){var t,n=new ji(function(i){t=i});return{token:n,cancel:t}};gv.exports=ji});var xv=b((ZB,bv)=>{"use strict";bv.exports=function(t){return function(r){return t.apply(null,r)}}});var wv=b((JB,yv)=>{"use strict";var OT=ut();yv.exports=function(t){return OT.isObject(t)&&t.isAxiosError===!0}});var Ev=b((XB,Fu)=>{"use strict";var _v=ut(),kT=gu(),No=mv(),TT=qu(),CT=Ei();function Sv(e){var t=new No(e),n=kT(No.prototype.request,t);return _v.extend(n,No.prototype,t),_v.extend(n,t),n.create=function(i){return Sv(TT(e,i))},n}var xn=Sv(CT);xn.Axios=No;xn.Cancel=Si();xn.CancelToken=vv();xn.isCancel=Iu();xn.VERSION=Ro().version;xn.all=function(t){return Promise.all(t)};xn.spread=xv();xn.isAxiosError=wv();Fu.exports=xn;Fu.exports.default=xn});var kv=b((QB,Ov)=>{Ov.exports=Ev()});var Av=b((e6,Cv)=>{var Tv=require("stream").Stream,AT=require("util");Cv.exports=an;function an(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}AT.inherits(an,Tv);an.create=function(e,t){var n=new this;t=t||{};for(var r in t)n[r]=t[r];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on("error",function(){}),n.pauseStream&&e.pause(),n};Object.defineProperty(an.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});an.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};an.prototype.resume=function(){this._released||this.release(),this.source.resume()};an.prototype.pause=function(){this.source.pause()};an.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};an.prototype.pipe=function(){var e=Tv.prototype.pipe.apply(this,arguments);return this.resume(),e};an.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)};an.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 Pv=b((t6,Mv)=>{var jT=require("util"),Rv=require("stream").Stream,jv=Av();Mv.exports=qe;function qe(){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}jT.inherits(qe,Rv);qe.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t};qe.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};qe.prototype.append=function(e){var t=qe.isStreamLike(e);if(t){if(!(e instanceof jv)){var n=jv.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this};qe.prototype.pipe=function(e,t){return Rv.prototype.pipe.call(this,e,t),this.resume(),e};qe.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}};qe.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(n){var r=qe.isStreamLike(n);r&&(n.on("data",this._checkDataSize.bind(this)),this._handleErrors(n)),this._pipeNext(n)}.bind(this))};qe.prototype._pipeNext=function(e){this._currentStream=e;var t=qe.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var n=e;this.write(n),this._getNext()};qe.prototype._handleErrors=function(e){var t=this;e.on("error",function(n){t._emitError(n)})};qe.prototype.write=function(e){this.emit("data",e)};qe.prototype.pause=function(){!this.pauseStreams||(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};qe.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")};qe.prototype.end=function(){this._reset(),this.emit("end")};qe.prototype.destroy=function(){this._reset(),this.emit("close")};qe.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};qe.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};qe.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)};qe.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var Iv=b((n6,RT)=>{RT.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/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},"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/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},"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/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"},"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.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.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.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.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.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.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},"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"},"image/avcs":{source:"iana"},"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 Lv=b((r6,Nv)=>{Nv.exports=Iv()});var Fv=b(Ot=>{"use strict";var Lo=Lv(),MT=require("path").extname,qv=/^\s*([^;\s]*)(?:;|\s|$)/,PT=/^text\//i;Ot.charset=Bv;Ot.charsets={lookup:Bv};Ot.contentType=IT;Ot.extension=NT;Ot.extensions=Object.create(null);Ot.lookup=LT;Ot.types=Object.create(null);qT(Ot.extensions,Ot.types);function Bv(e){if(!e||typeof e!="string")return!1;var t=qv.exec(e),n=t&&Lo[t[1].toLowerCase()];return n&&n.charset?n.charset:t&&PT.test(t[1])?"UTF-8":!1}function IT(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?Ot.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var n=Ot.charset(t);n&&(t+="; charset="+n.toLowerCase())}return t}function NT(e){if(!e||typeof e!="string")return!1;var t=qv.exec(e),n=t&&Ot.extensions[t[1].toLowerCase()];return!n||!n.length?!1:n[0]}function LT(e){if(!e||typeof e!="string")return!1;var t=MT("x."+e).toLowerCase().substr(1);return t&&Ot.types[t]||!1}function qT(e,t){var n=["nginx","apache",void 0,"iana"];Object.keys(Lo).forEach(function(i){var a=Lo[i],s=a.extensions;if(!(!s||!s.length)){e[i]=s;for(var o=0;o<s.length;o++){var c=s[o];if(t[c]){var u=n.indexOf(Lo[t[c]].source),l=n.indexOf(a.source);if(t[c]!=="application/octet-stream"&&(u>l||u===l&&t[c].substr(0,12)==="application/"))continue}t[c]=i}}})}});var zv=b((a6,Dv)=>{Dv.exports=BT;function BT(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}});var Du=b((s6,$v)=>{var Uv=zv();$v.exports=FT;function FT(e){var t=!1;return Uv(function(){t=!0}),function(r,i){t?e(r,i):Uv(function(){e(r,i)})}}});var zu=b((o6,Wv)=>{Wv.exports=DT;function DT(e){Object.keys(e.jobs).forEach(zT.bind(e)),e.jobs={}}function zT(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var Uu=b((c6,Yv)=>{var Hv=Du(),UT=zu();Yv.exports=$T;function $T(e,t,n,r){var i=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[i]=WT(t,i,e[i],function(a,s){i in n.jobs&&(delete n.jobs[i],a?UT(n):n.results[i]=s,r(a,n.results))})}function WT(e,t,n,r){var i;return e.length==2?i=e(n,Hv(r)):i=e(n,t,Hv(r)),i}});var $u=b((l6,Gv)=>{Gv.exports=HT;function HT(e,t){var n=!Array.isArray(e),r={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&r.keyedList.sort(n?t:function(i,a){return t(e[i],e[a])}),r}});var Wu=b((u6,Kv)=>{var YT=zu(),GT=Du();Kv.exports=KT;function KT(e){!Object.keys(this.jobs).length||(this.index=this.size,YT(this),GT(e)(null,this.results))}});var Zv=b((p6,Vv)=>{var VT=Uu(),ZT=$u(),JT=Wu();Vv.exports=XT;function XT(e,t,n){for(var r=ZT(e);r.index<(r.keyedList||e).length;)VT(e,t,r,function(i,a){if(i){n(i,a);return}if(Object.keys(r.jobs).length===0){n(null,r.results);return}}),r.index++;return JT.bind(r,n)}});var Hu=b((f6,qo)=>{var Jv=Uu(),QT=$u(),eC=Wu();qo.exports=tC;qo.exports.ascending=Xv;qo.exports.descending=nC;function tC(e,t,n,r){var i=QT(e,n);return Jv(e,t,i,function a(s,o){if(s){r(s,o);return}if(i.index++,i.index<(i.keyedList||e).length){Jv(e,t,i,a);return}r(null,i.results)}),eC.bind(i,r)}function Xv(e,t){return e<t?-1:e>t?1:0}function nC(e,t){return-1*Xv(e,t)}});var e0=b((d6,Qv)=>{var rC=Hu();Qv.exports=iC;function iC(e,t,n){return rC(e,t,null,n)}});var n0=b((h6,t0)=>{t0.exports={parallel:Zv(),serial:e0(),serialOrdered:Hu()}});var i0=b((m6,r0)=>{r0.exports=function(e,t){return Object.keys(t).forEach(function(n){e[n]=e[n]||t[n]}),e}});var o0=b((g6,s0)=>{var Vu=Pv(),a0=require("util"),Yu=require("path"),aC=require("http"),sC=require("https"),oC=require("url").parse,cC=require("fs"),lC=require("stream").Stream,Gu=Fv(),uC=n0(),Ku=i0();s0.exports=ge;a0.inherits(ge,Vu);function ge(e){if(!(this instanceof ge))return new ge(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Vu.call(this),e=e||{};for(var t in e)this[t]=e[t]}ge.LINE_BREAK=`\r
|
|
19
|
+
`;ge.DEFAULT_CONTENT_TYPE="application/octet-stream";ge.prototype.append=function(e,t,n){n=n||{},typeof n=="string"&&(n={filename:n});var r=Vu.prototype.append.bind(this);if(typeof t=="number"&&(t=""+t),a0.isArray(t)){this._error(new Error("Arrays are not supported."));return}var i=this._multiPartHeader(e,t,n),a=this._multiPartFooter();r(i),r(t),r(a),this._trackLength(i,t,n)};ge.prototype._trackLength=function(e,t,n){var r=0;n.knownLength!=null?r+=+n.knownLength:Buffer.isBuffer(t)?r=t.length:typeof t=="string"&&(r=Buffer.byteLength(t)),this._valueLength+=r,this._overheadLength+=Buffer.byteLength(e)+ge.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))&&!(t instanceof lC))&&(n.knownLength||this._valuesToMeasure.push(t))};ge.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?e.end!=null&&e.end!=1/0&&e.start!=null?t(null,e.end+1-(e.start?e.start:0)):cC.stat(e.path,function(n,r){var i;if(n){t(n);return}i=r.size-(e.start?e.start:0),t(null,i)}):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",function(n){e.pause(),t(null,+n.headers["content-length"])}),e.resume()):t("Unknown stream")};ge.prototype._multiPartHeader=function(e,t,n){if(typeof n.header=="string")return n.header;var r=this._getContentDisposition(t,n),i=this._getContentType(t,n),a="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(r||[]),"Content-Type":[].concat(i||[])};typeof n.header=="object"&&Ku(s,n.header);var o;for(var c in s)!s.hasOwnProperty(c)||(o=s[c],o!=null&&(Array.isArray(o)||(o=[o]),o.length&&(a+=c+": "+o.join("; ")+ge.LINE_BREAK)));return"--"+this.getBoundary()+ge.LINE_BREAK+a+ge.LINE_BREAK};ge.prototype._getContentDisposition=function(e,t){var n,r;return typeof t.filepath=="string"?n=Yu.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=Yu.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=Yu.basename(e.client._httpMessage.path||"")),n&&(r='filename="'+n+'"'),r};ge.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=Gu.lookup(e.name)),!n&&e.path&&(n=Gu.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),!n&&(t.filepath||t.filename)&&(n=Gu.lookup(t.filepath||t.filename)),!n&&typeof e=="object"&&(n=ge.DEFAULT_CONTENT_TYPE),n};ge.prototype._multiPartFooter=function(){return function(e){var t=ge.LINE_BREAK,n=this._streams.length===0;n&&(t+=this._lastBoundary()),e(t)}.bind(this)};ge.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ge.LINE_BREAK};ge.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n};ge.prototype.setBoundary=function(e){this._boundary=e};ge.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};ge.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,r=this._streams.length;n<r;n++)typeof this._streams[n]!="function"&&(Buffer.isBuffer(this._streams[n])?e=Buffer.concat([e,this._streams[n]]):e=Buffer.concat([e,Buffer.from(this._streams[n])]),(typeof this._streams[n]!="string"||this._streams[n].substring(2,t.length+2)!==t)&&(e=Buffer.concat([e,Buffer.from(ge.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};ge.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(Math.random()*10).toString(16);this._boundary=e};ge.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};ge.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};ge.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}uC.parallel(this._valuesToMeasure,this._lengthRetriever,function(n,r){if(n){e(n);return}r.forEach(function(i){t+=i}),e(null,t)})};ge.prototype.submit=function(e,t){var n,r,i={method:"post"};return typeof e=="string"?(e=oC(e),r=Ku({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)):(r=Ku(e,i),r.port||(r.port=r.protocol=="https:"?443:80)),r.headers=this.getHeaders(e.headers),r.protocol=="https:"?n=sC.request(r):n=aC.request(r),this.getLength(function(a,s){if(a&&a!=="Unknown stream"){this._error(a);return}if(s&&n.setHeader("Content-Length",s),this.pipe(n),t){var o,c=function(u,l){return n.removeListener("error",c),n.removeListener("response",o),t.call(this,u,l)};o=c.bind(this,null),n.on("error",c),n.on("response",o)}}.bind(this)),n};ge.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};ge.prototype.toString=function(){return"[object FormData]"}});var f0=b(We=>{"use strict";var c0=We&&We.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(We,"__esModule",{value:!0});We.post=We.put=We.delete_=We.get=We.FormData=We.getPath=We.setApiHost=We.setAuth=void 0;var l0=c0(kv()),pC=c0(o0());function fC(e){l0.default.defaults.headers.common.Authorization=e}We.setAuth=fC;var u0="https://goldsky.com";function dC(e){u0=e}We.setApiHost=dC;function p0(e,t){return`${u0}${typeof e=="string"?e:e(t)}`}We.getPath=p0;function hC(){return new pC.default}We.FormData=hC;async function mC(e,t){return Bo(e,"get",t||{})}We.get=mC;async function gC(e,t){return Bo(e,"delete",t||{})}We.delete_=gC;async function vC(e,t){return Bo(e,"put",t||{})}We.put=vC;async function bC(e,t){return Bo(e,"post",t||{})}We.post=bC;async function Bo(e,t,n){var r,i;let a=Object.assign(Object.assign(Object.assign(Object.assign({url:p0(e,n.params),method:t},n.querystring?{params:n.querystring}:{}),n.body?{data:n.body}:{}),typeof((r=n.body)===null||r===void 0?void 0:r.getHeaders)=="function"?{headers:(i=n.body)===null||i===void 0?void 0:i.getHeaders()}:{}),{maxBodyLength:1/0,maxContentLength:1/0,validateStatus:()=>!0,onUploadProgress:s=>{var o;(o=n.onProgress)===null||o===void 0||o.call(n,Math.round(s.loaded*100/s.total))}});try{let s=await l0.default.request(a);return s.status<200||s.status>=300?s.status===524?[{statusCode:524,error:"Cloudflare timeout",message:"Cloudflare timeout"},{}]:"statusCode"in s.data&&"error"in s.data&&"message"in s.data?[s.data,s.data]:[{statusCode:s.data.statusCode||s.status,error:s.data.error||s.statusText,message:s.data.message||s.data.toString()},s.data]:[null,s.data||{}]}catch(s){return[{statusCode:0,error:"Request failed",message:s.code},{}]}}});var d0=b(bt=>{"use strict";Object.defineProperty(bt,"__esModule",{value:!0});bt.DeleteWebhookSchema=bt.DeleteWebhookParams=bt.CreateWebhookSchema=bt.CreateWebhookParams=bt.CreateWebhookBody=void 0;var Ae=Vn();bt.CreateWebhookBody=Ae.Type.Object({name:Ae.Type.String(),webhookUrl:Ae.Type.String(),entity:Ae.Type.String()});bt.CreateWebhookParams=Ae.Type.Object({subgraphName:Ae.Type.String(),subgraphVersion:Ae.Type.String()});bt.CreateWebhookSchema={body:bt.CreateWebhookBody,params:bt.CreateWebhookParams};var b6=Ae.Type.Object({data:Ae.Type.Object({webhookSecret:Ae.Type.String(),name:Ae.Type.String()})});bt.DeleteWebhookParams=Ae.Type.Object({name:Ae.Type.String()});bt.DeleteWebhookSchema={params:bt.DeleteWebhookParams};var x6=Ae.Type.Object({data:Ae.Type.Object({})}),xC=Ae.Type.Object({name:Ae.Type.String(),webhookUrl:Ae.Type.String(),entity:Ae.Type.String(),subgraphName:Ae.Type.String(),subgraphVersion:Ae.Type.String(),created_at:Ae.Type.Number()}),y6=Ae.Type.Object({data:Ae.Type.Array(xC)})});var h0=b(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.SubscriptionWithProduct=Ri.ProductWithPrices=void 0;var Oe=Vn();Ri.ProductWithPrices=Oe.Type.Object({id:Oe.Type.String(),name:Oe.Type.String(),description:Oe.Type.String(),base_price_decimal:Oe.Type.String(),features:Oe.Type.Array(Oe.Type.String())});Ri.SubscriptionWithProduct=Oe.Type.Object({id:Oe.Type.String(),latestInvoice:Oe.Type.Union([Oe.Type.String(),Oe.Type.Null()]),product:Oe.Type.Object({id:Oe.Type.String(),name:Oe.Type.String(),description:Oe.Type.Union([Oe.Type.String(),Oe.Type.Null()]),basePrice:Oe.Type.Object({amount:Oe.Type.Union([Oe.Type.String(),Oe.Type.Null()]),interval:Oe.Type.String()}),metadata:Oe.Type.Record(Oe.Type.String(),Oe.Type.String())})})});var m0=b(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.BucketSize=Xn.SubgraphDeploymentEntitiesMetricsReply=Xn.SubgraphDeploymentRequestsMetricsReply=void 0;var Bt=Vn();Xn.SubgraphDeploymentRequestsMetricsReply=Bt.Type.Object({data:Bt.Type.Object({pointList:Bt.Type.Array(Bt.Type.Object({requests:Bt.Type.Number(),time:Bt.Type.Number()}))})});Xn.SubgraphDeploymentEntitiesMetricsReply=Bt.Type.Object({data:Bt.Type.Object({entitiesCount:Bt.Type.Number()})});Xn.BucketSize=Bt.Type.Union([Bt.Type.Literal("1d"),Bt.Type.Literal("6h"),Bt.Type.Literal("1h")])});var g0=b(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.NewSupportMessageResp=Mi.NewSupportMessage=void 0;var Fo=Vn();Mi.NewSupportMessage=Fo.Type.Object({message:Fo.Type.String()});Mi.NewSupportMessageResp=Fo.Type.Object({success:Fo.Type.Boolean()})});var O0=b(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.PUTStreamInputTypebox=Be.POSTStreamInputTypebox=Be.StreamOutputTypebox=Be.StreamRootTypebox=Be.TransformationTypes=Be.SinkTypes=Be.SourceTypes=void 0;var C=Vn(),Zu;(function(e){e.SubgraphEntity="subgraphEntity",e.Kafka="kafka"})(Zu=Be.SourceTypes||(Be.SourceTypes={}));var Wa;(function(e){e.Postgres="postgres",e.ElasticSearch="elasticSearch",e.Kafka="kafka",e.TimescaleHypertable="timescaleHypertable"})(Wa=Be.SinkTypes||(Be.SinkTypes={}));var v0;(function(e){e.SQL="sql"})(v0=Be.TransformationTypes||(Be.TransformationTypes={}));var Ju=C.Type.Object({name:C.Type.String(),kafkaTopic:C.Type.String()},{additionalProperties:!1}),Xu=C.Type.Object({id:C.Type.String(),name:C.Type.String(),type:C.Type.Literal(Zu.SubgraphEntity),deployments:C.Type.Array(C.Type.Object({id:C.Type.String()},{additionalProperties:!1})),entity:Ju,integrationId:C.Type.String()},{additionalProperties:!1}),Qu=C.Type.Object({id:C.Type.String(),name:C.Type.String(),type:C.Type.Literal(Zu.Kafka),topic:C.Type.String({maxLength:255}),integrationId:C.Type.String()},{additionalProperties:!1}),yC=C.Type.Union([Xu,Qu],{additionalProperties:!1}),b0=C.Type.Object({id:C.Type.String(),type:C.Type.Literal(v0.SQL),name:C.Type.String(),sql:C.Type.String({maxLength:500}),primaryKey:C.Type.String({maxLength:50})},{additionalProperties:!1}),ep=C.Type.Union([b0],{additionalProperties:!1}),tp=C.Type.Object({id:C.Type.String(),type:C.Type.Literal(Wa.Postgres),sourceStreamName:C.Type.String(),schema:C.Type.String(),table:C.Type.String(),integrationId:C.Type.String()},{additionalProperties:!1}),np=C.Type.Object({id:C.Type.String(),type:C.Type.Literal(Wa.ElasticSearch),sourceStreamName:C.Type.String(),index:C.Type.String(),integrationId:C.Type.String()},{additionalProperties:!1}),rp=C.Type.Object({id:C.Type.String(),type:C.Type.Literal(Wa.Kafka),sourceStreamName:C.Type.String(),topic:C.Type.String({maxLength:255}),integrationId:C.Type.String()},{additionalProperties:!1}),ip=C.Type.Object({id:C.Type.String(),type:C.Type.Literal(Wa.TimescaleHypertable),sourceStreamName:C.Type.String(),schema:C.Type.String(),table:C.Type.String(),timestampColumn:C.Type.String(),primaryKey:C.Type.String(),timestampDataTypeAdapterFuncName:C.Type.Optional(C.Type.String()),integrationId:C.Type.String()},{additionalProperties:!1}),wC=C.Type.Union([tp,np,rp,ip],{additionalProperties:!1}),_C=C.Type.Object({sources:C.Type.Array(yC,{minItems:1}),transforms:C.Type.Array(ep),sinks:C.Type.Array(wC)},{additionalProperties:!1});Be.StreamRootTypebox=C.Type.Object({id:C.Type.String(),name:C.Type.String(),description:C.Type.Optional(C.Type.String()),version:C.Type.Integer(),definition:_C,status:C.Type.String(),projectId:C.Type.String(),createdAt:C.Type.String(),updatedAt:C.Type.String()},{additionalProperties:!1});var x0=C.Type.Intersect([C.Type.Omit(Xu,["integrationId","entity"],{additionalProperties:!1}),C.Type.Object({entity:C.Type.Omit(Ju,["kafkaTopic"],{additionalProperties:!1})},{additionalProperties:!1})],{additionalProperties:!1}),y0=C.Type.Omit(Qu,["integrationId"],{additionalProperties:!1}),SC=C.Type.Union([x0,y0],{additionalProperties:!1}),EC=C.Type.Omit(np,["integrationId"],{additionalProperties:!1}),OC=C.Type.Omit(tp,["integrationId"],{additionalProperties:!1}),kC=C.Type.Omit(rp,["integrationId"],{additionalProperties:!1}),TC=C.Type.Omit(ip,["integrationId"],{additionalProperties:!1}),w0=C.Type.Union([OC,EC,kC,TC],{additionalProperties:!1}),CC=C.Type.Object({sources:C.Type.Array(SC,{minItems:1}),transforms:C.Type.Array(ep),sinks:C.Type.Array(w0)},{additionalProperties:!1});Be.StreamOutputTypebox=C.Type.Intersect([C.Type.Omit(Be.StreamRootTypebox,["definition","projectId"],{additionalProperties:!1}),C.Type.Object({definition:CC},{additionalProperties:!1})],{additionalProperties:!1});var AC=C.Type.Intersect([C.Type.Omit(Xu,["id","name","integrationId","entity"],{additionalProperties:!1}),C.Type.Object({entity:C.Type.Omit(Ju,["kafkaTopic"])},{additionalProperties:!1})],{additionalProperties:!1}),jC=C.Type.Omit(Qu,["id","integrationId"],{additionalProperties:!1}),_0=C.Type.Union([AC,jC],{additionalProperties:!1}),RC=C.Type.Omit(b0,["id"],{additionalProperties:!1}),S0=C.Type.Union([RC],{additionalProperties:!1}),MC=C.Type.Omit(tp,["id","integrationId"],{additionalProperties:!1}),PC=C.Type.Omit(np,["id","integrationId"],{additionalProperties:!1}),IC=C.Type.Omit(rp,["id","integrationId"],{additionalProperties:!1}),NC=C.Type.Omit(ip,["id","integrationId"],{additionalProperties:!1}),E0=C.Type.Union([MC,PC,IC,NC],{additionalProperties:!1}),LC=C.Type.Object({sources:C.Type.Array(_0,{minItems:1}),transforms:C.Type.Array(S0),sinks:C.Type.Array(E0)},{additionalProperties:!1});Be.POSTStreamInputTypebox=C.Type.Intersect([C.Type.Omit(Be.StreamRootTypebox,["id","status","definition","projectId","version","createdAt","updatedAt"],{additionalProperties:!1}),C.Type.Object({definition:LC},{additionalProperties:!1})],{additionalProperties:!1});var O6=C.Type.Object({id:C.Type.String(),version:C.Type.Optional(C.Type.String())},{additionalProperties:!1}),qC=C.Type.Omit(x0,["name"],{additionalProperties:!1}),BC=C.Type.Union([_0,qC,y0],{additionalProperties:!1}),FC=C.Type.Union([E0,w0],{additionalProperties:!1}),DC=C.Type.Union([S0,ep],{additionalProperties:!1}),zC=C.Type.Object({sources:C.Type.Array(BC,{minItems:1}),transforms:C.Type.Array(DC),sinks:C.Type.Array(FC)},{additionalProperties:!1});Be.PUTStreamInputTypebox=C.Type.Intersect([C.Type.Omit(Be.StreamRootTypebox,["definition","projectId","version","createdAt","updatedAt"],{additionalProperties:!1}),C.Type.Object({definition:zC},{additionalProperties:!1})],{additionalProperties:!1});var k6=C.Type.Object({id:C.Type.String()},{additionalProperties:!1})});var kt=b(ye=>{"use strict";var UC=ye&&ye.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),$C=ye&&ye.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Qn=ye&&ye.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&UC(t,e,n);return $C(t,e),t};Object.defineProperty(ye,"__esModule",{value:!0});ye.StreamsApi=ye.SupportApi=ye.MetricsApi=ye.BillingApi=ye.WebhookApi=ye.ApiFetch=ye.StreamBossApi=ye.SubgraphApi=ye.ENTERPRISE_BILLING_FLAG=ye.API_URL=ye.API_PORT=void 0;var WC=Qn(Gm());ye.SubgraphApi=WC;var HC=Qn(Km());ye.StreamBossApi=HC;var YC=Qn(f0());ye.ApiFetch=YC;var GC=Qn(d0());ye.WebhookApi=GC;var KC=Qn(h0());ye.BillingApi=KC;var VC=Qn(m0());ye.MetricsApi=VC;var ZC=Qn(g0());ye.SupportApi=ZC;var JC=Qn(O0());ye.StreamsApi=JC;ye.API_PORT=80;ye.API_URL="https://api.goldsky.com";ye.ENTERPRISE_BILLING_FLAG="goldsky_enterprise"});var T0=b((A6,k0)=>{"use strict";k0.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var ap=b((j6,A0)=>{var Ha=T0(),C0={};for(let e of Object.keys(Ha))C0[Ha[e]]=e;var Z={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};A0.exports=Z;for(let e of Object.keys(Z)){if(!("channels"in Z[e]))throw new Error("missing channels property: "+e);if(!("labels"in Z[e]))throw new Error("missing channel labels property: "+e);if(Z[e].labels.length!==Z[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:n}=Z[e];delete Z[e].channels,delete Z[e].labels,Object.defineProperty(Z[e],"channels",{value:t}),Object.defineProperty(Z[e],"labels",{value:n})}Z.rgb.hsl=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),a=Math.max(t,n,r),s=a-i,o,c;a===i?o=0:t===a?o=(n-r)/s:n===a?o=2+(r-t)/s:r===a&&(o=4+(t-n)/s),o=Math.min(o*60,360),o<0&&(o+=360);let u=(i+a)/2;return a===i?c=0:u<=.5?c=s/(a+i):c=s/(2-a-i),[o,c*100,u*100]};Z.rgb.hsv=function(e){let t,n,r,i,a,s=e[0]/255,o=e[1]/255,c=e[2]/255,u=Math.max(s,o,c),l=u-Math.min(s,o,c),p=function(f){return(u-f)/6/l+1/2};return l===0?(i=0,a=0):(a=l/u,t=p(s),n=p(o),r=p(c),s===u?i=r-n:o===u?i=1/3+t-r:c===u&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[i*360,a*100,u*100]};Z.rgb.hwb=function(e){let t=e[0],n=e[1],r=e[2],i=Z.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,a*100,r*100]};Z.rgb.cmyk=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r),a=(1-t-i)/(1-i)||0,s=(1-n-i)/(1-i)||0,o=(1-r-i)/(1-i)||0;return[a*100,s*100,o*100,i*100]};function XC(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}Z.rgb.keyword=function(e){let t=C0[e];if(t)return t;let n=1/0,r;for(let i of Object.keys(Ha)){let a=Ha[i],s=XC(e,a);s<n&&(n=s,r=i)}return r};Z.keyword.rgb=function(e){return Ha[e]};Z.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;let i=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[i*100,a*100,s*100]};Z.rgb.lab=function(e){let t=Z.rgb.xyz(e),n=t[0],r=t[1],i=t[2];n/=95.047,r/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;let a=116*r-16,s=500*(n-r),o=200*(r-i);return[a,s,o]};Z.hsl.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,i,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?i=r*(1+n):i=r+n-r*n;let o=2*r-i,c=[0,0,0];for(let u=0;u<3;u++)a=t+1/3*-(u-1),a<0&&a++,a>1&&a--,6*a<1?s=o+(i-o)*6*a:2*a<1?s=i:3*a<2?s=o+(i-o)*(2/3-a)*6:s=o,c[u]=s*255;return c};Z.hsl.hsv=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,i=n,a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,i*=a<=1?a:2-a;let s=(r+n)/2,o=r===0?2*i/(a+i):2*n/(r+n);return[t,o*100,s*100]};Z.hsv.rgb=function(e){let t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),o=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,c,s];case 1:return[o,r,s];case 2:return[s,r,c];case 3:return[s,o,r];case 4:return[c,s,r];case 5:return[r,s,o]}};Z.hsv.hsl=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01),a,s;s=(2-n)*r;let o=(2-n)*i;return a=n*i,a/=o<=1?o:2-o,a=a||0,s/=2,[t,a*100,s*100]};Z.hwb.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,i=n+r,a;i>1&&(n/=i,r/=i);let s=Math.floor(6*t),o=1-r;a=6*t-s,(s&1)!==0&&(a=1-a);let c=n+a*(o-n),u,l,p;switch(s){default:case 6:case 0:u=o,l=c,p=n;break;case 1:u=c,l=o,p=n;break;case 2:u=n,l=o,p=c;break;case 3:u=n,l=c,p=o;break;case 4:u=c,l=n,p=o;break;case 5:u=o,l=n,p=c;break}return[u*255,l*255,p*255]};Z.cmyk.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100,a=1-Math.min(1,t*(1-i)+i),s=1-Math.min(1,n*(1-i)+i),o=1-Math.min(1,r*(1-i)+i);return[a*255,s*255,o*255]};Z.xyz.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,i,a,s;return i=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[i*255,a*255,s*255]};Z.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;let i=116*n-16,a=500*(t-n),s=200*(n-r);return[i,a,s]};Z.lab.xyz=function(e){let t=e[0],n=e[1],r=e[2],i,a,s;a=(t+16)/116,i=n/500+a,s=a-r/200;let o=a**3,c=i**3,u=s**3;return a=o>.008856?o:(a-16/116)/7.787,i=c>.008856?c:(i-16/116)/7.787,s=u>.008856?u:(s-16/116)/7.787,i*=95.047,a*=100,s*=108.883,[i,a,s]};Z.lab.lch=function(e){let t=e[0],n=e[1],r=e[2],i;i=Math.atan2(r,n)*360/2/Math.PI,i<0&&(i+=360);let s=Math.sqrt(n*n+r*r);return[t,s,i]};Z.lch.lab=function(e){let t=e[0],n=e[1],i=e[2]/360*2*Math.PI,a=n*Math.cos(i),s=n*Math.sin(i);return[t,a,s]};Z.rgb.ansi16=function(e,t=null){let[n,r,i]=e,a=t===null?Z.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};Z.hsv.ansi16=function(e){return Z.rgb.ansi16(Z.hsv.rgb(e),e[2])};Z.rgb.ansi256=function(e){let t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};Z.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let n=(~~(e>50)+1)*.5,r=(t&1)*n*255,i=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,i,a]};Z.ansi256.rgb=function(e){if(e>=232){let a=(e-232)*10+8;return[a,a,a]}e-=16;let t,n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,i=t%6/5*255;return[n,r,i]};Z.rgb.hex=function(e){let n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};Z.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(o=>o+o).join(""));let r=parseInt(n,16),i=r>>16&255,a=r>>8&255,s=r&255;return[i,a,s]};Z.rgb.hcg=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=i-a,o,c;return s<1?o=a/(1-s):o=0,s<=0?c=0:i===t?c=(n-r)/s%6:i===n?c=2+(r-t)/s:c=4+(t-n)/s,c/=6,c%=1,[c*360,s*100,o*100]};Z.hsl.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n),i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],r*100,i*100]};Z.hsv.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],r*100,i*100]};Z.hcg.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];let i=[0,0,0],a=t%1*6,s=a%1,o=1-s,c=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=o,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=o,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=o}return c=(1-n)*r,[(n*i[0]+c)*255,(n*i[1]+c)*255,(n*i[2]+c)*255]};Z.hcg.hsv=function(e){let t=e[1]/100,n=e[2]/100,r=t+n*(1-t),i=0;return r>0&&(i=t/r),[e[0],i*100,r*100]};Z.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,i=0;return r>0&&r<.5?i=t/(2*r):r>=.5&&r<1&&(i=t/(2*(1-r))),[e[0],i*100,r*100]};Z.hcg.hwb=function(e){let t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};Z.hwb.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=1-n,i=r-t,a=0;return i<1&&(a=(r-i)/(1-i)),[e[0],i*100,a*100]};Z.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};Z.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};Z.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};Z.gray.hsl=function(e){return[0,0,e[0]]};Z.gray.hsv=Z.gray.hsl;Z.gray.hwb=function(e){return[0,100,e[0]]};Z.gray.cmyk=function(e){return[0,0,0,e[0]]};Z.gray.lab=function(e){return[e[0],0,0]};Z.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};Z.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}});var R0=b((R6,j0)=>{var Do=ap();function QC(){let e={},t=Object.keys(Do);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}function eA(e){let t=QC(),n=[e];for(t[e].distance=0;n.length;){let r=n.pop(),i=Object.keys(Do[r]);for(let a=i.length,s=0;s<a;s++){let o=i[s],c=t[o];c.distance===-1&&(c.distance=t[r].distance+1,c.parent=r,n.unshift(o))}}return t}function tA(e,t){return function(n){return t(e(n))}}function nA(e,t){let n=[t[e].parent,e],r=Do[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)n.unshift(t[i].parent),r=tA(Do[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}j0.exports=function(e){let t=eA(e),n={},r=Object.keys(t);for(let i=r.length,a=0;a<i;a++){let s=r[a];t[s].parent!==null&&(n[s]=nA(s,t))}return n}});var P0=b((M6,M0)=>{var sp=ap(),rA=R0(),Pi={},iA=Object.keys(sp);function aA(e){let t=function(...n){let r=n[0];return r==null?r:(r.length>1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function sA(e){let t=function(...n){let r=n[0];if(r==null)return r;r.length>1&&(n=r);let i=e(n);if(typeof i=="object")for(let a=i.length,s=0;s<a;s++)i[s]=Math.round(i[s]);return i};return"conversion"in e&&(t.conversion=e.conversion),t}iA.forEach(e=>{Pi[e]={},Object.defineProperty(Pi[e],"channels",{value:sp[e].channels}),Object.defineProperty(Pi[e],"labels",{value:sp[e].labels});let t=rA(e);Object.keys(t).forEach(r=>{let i=t[r];Pi[e][r]=sA(i),Pi[e][r].raw=aA(i)})});M0.exports=Pi});var cp=b((P6,B0)=>{"use strict";var I0=(e,t)=>(...n)=>`\x1B[${e(...n)+t}m`,N0=(e,t)=>(...n)=>{let r=e(...n);return`\x1B[${38+t};5;${r}m`},L0=(e,t)=>(...n)=>{let r=e(...n);return`\x1B[${38+t};2;${r[0]};${r[1]};${r[2]}m`},zo=e=>e,q0=(e,t,n)=>[e,t,n],Ii=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{let r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})},op,Ni=(e,t,n,r)=>{op===void 0&&(op=P0());let i=r?10:0,a={};for(let[s,o]of Object.entries(op)){let c=s==="ansi16"?"ansi":s;s===t?a[c]=e(n,i):typeof o=="object"&&(a[c]=e(o[t],i))}return a};function oA(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[n,r]of Object.entries(t)){for(let[i,a]of Object.entries(r))t[i]={open:`\x1B[${a[0]}m`,close:`\x1B[${a[1]}m`},r[i]=t[i],e.set(a[0],a[1]);Object.defineProperty(t,n,{value:r,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",Ii(t.color,"ansi",()=>Ni(I0,"ansi16",zo,!1)),Ii(t.color,"ansi256",()=>Ni(N0,"ansi256",zo,!1)),Ii(t.color,"ansi16m",()=>Ni(L0,"rgb",q0,!1)),Ii(t.bgColor,"ansi",()=>Ni(I0,"ansi16",zo,!0)),Ii(t.bgColor,"ansi256",()=>Ni(N0,"ansi256",zo,!0)),Ii(t.bgColor,"ansi16m",()=>Ni(L0,"rgb",q0,!0)),t}Object.defineProperty(B0,"exports",{enumerable:!0,get:oA})});var D0=b((I6,F0)=>{"use strict";var cA=(e,t,n)=>{let r=e.indexOf(t);if(r===-1)return e;let i=t.length,a=0,s="";do s+=e.substr(a,r-a)+t+n,a=r+i,r=e.indexOf(t,a);while(r!==-1);return s+=e.substr(a),s},lA=(e,t,n,r)=>{let i=0,a="";do{let s=e[r-1]==="\r";a+=e.substr(i,(s?r-1:r)-i)+t+(s?`\r
|
|
27
20
|
`:`
|
|
28
|
-
`)+n,r
|
|
29
|
-
`,
|
|
30
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function
|
|
31
|
-
`);return a!==-1&&(t=gA(t,r,i,a)),i+t+r},yp,ov=(e,...t)=>{let[n]=t;if(!ic(n)||!ic(n.raw))return t.join(" ");let i=t.slice(1),r=[n.raw[0]];for(let a=1;a<n.length;a++)r.push(String(i[a-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[a]));return yp===void 0&&(yp=nv()),yp(e,r.join(""))};Object.defineProperties(rc.prototype,Hr);var sc=rc();sc.supportsColor=wp;sc.stderr=rc({level:_p?_p.level:0});sc.stderr.supportsColor=_p;cv.exports=sc});var Ep=w((u6,lv)=>{"use strict";lv.exports=function(t,n){return function(){for(var r=new Array(arguments.length),a=0;a<r.length;a++)r[a]=arguments[a];return t.apply(n,r)}}});var wt=w((p6,fv)=>{"use strict";var xA=Ep(),Hi=Object.prototype.toString;function Tp(e){return Hi.call(e)==="[object Array]"}function kp(e){return typeof e>"u"}function yA(e){return e!==null&&!kp(e)&&e.constructor!==null&&!kp(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function wA(e){return Hi.call(e)==="[object ArrayBuffer]"}function _A(e){return typeof FormData<"u"&&e instanceof FormData}function SA(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function OA(e){return typeof e=="string"}function EA(e){return typeof e=="number"}function uv(e){return e!==null&&typeof e=="object"}function oc(e){if(Hi.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function kA(e){return Hi.call(e)==="[object Date]"}function CA(e){return Hi.call(e)==="[object File]"}function TA(e){return Hi.call(e)==="[object Blob]"}function pv(e){return Hi.call(e)==="[object Function]"}function AA(e){return uv(e)&&pv(e.pipe)}function jA(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}function MA(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function RA(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ap(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Tp(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}function Cp(){var e={};function t(r,a){oc(e[a])&&oc(r)?e[a]=Cp(e[a],r):oc(r)?e[a]=Cp({},r):Tp(r)?e[a]=r.slice():e[a]=r}for(var n=0,i=arguments.length;n<i;n++)Ap(arguments[n],t);return e}function IA(e,t,n){return Ap(t,function(r,a){n&&typeof r=="function"?e[a]=xA(r,n):e[a]=r}),e}function NA(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}fv.exports={isArray:Tp,isArrayBuffer:wA,isBuffer:yA,isFormData:_A,isArrayBufferView:SA,isString:OA,isNumber:EA,isObject:uv,isPlainObject:oc,isUndefined:kp,isDate:kA,isFile:CA,isBlob:TA,isFunction:pv,isStream:AA,isURLSearchParams:jA,isStandardBrowserEnv:RA,forEach:Ap,merge:Cp,extend:IA,trim:MA,stripBOM:NA}});var cc=w((f6,hv)=>{"use strict";var Yr=wt();function dv(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}hv.exports=function(t,n,i){if(!n)return t;var r;if(i)r=i(n);else if(Yr.isURLSearchParams(n))r=n.toString();else{var a=[];Yr.forEach(n,function(c,u){c===null||typeof c>"u"||(Yr.isArray(c)?u=u+"[]":c=[c],Yr.forEach(c,function(p){Yr.isDate(p)?p=p.toISOString():Yr.isObject(p)&&(p=JSON.stringify(p)),a.push(dv(u)+"="+dv(p))}))}),r=a.join("&")}if(r){var s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}});var gv=w((d6,mv)=>{"use strict";var LA=wt();function lc(){this.handlers=[]}lc.prototype.use=function(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1};lc.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};lc.prototype.forEach=function(t){LA.forEach(this.handlers,function(i){i!==null&&t(i)})};mv.exports=lc});var vv=w((h6,bv)=>{"use strict";var PA=wt();bv.exports=function(t,n){PA.forEach(t,function(r,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=r,delete t[a])})}});var uc=w((m6,xv)=>{"use strict";xv.exports=function(t,n,i,r,a){return t.config=n,i&&(t.code=i),t.request=r,t.response=a,t.isAxiosError=!0,t.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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}});var pc=w((g6,yv)=>{"use strict";var qA=uc();yv.exports=function(t,n,i,r,a){var s=new Error(t);return qA(s,n,i,r,a)}});var jp=w((b6,wv)=>{"use strict";var BA=pc();wv.exports=function(t,n,i){var r=i.config.validateStatus;!i.status||!r||r(i.status)?t(i):n(BA("Request failed with status code "+i.status,i.config,null,i.request,i))}});var Sv=w((v6,_v)=>{"use strict";var fc=wt();_v.exports=fc.isStandardBrowserEnv()?function(){return{write:function(n,i,r,a,s,o){var c=[];c.push(n+"="+encodeURIComponent(i)),fc.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),fc.isString(a)&&c.push("path="+a),fc.isString(s)&&c.push("domain="+s),o===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(n){var i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()});var Ev=w((x6,Ov)=>{"use strict";Ov.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}});var Cv=w((y6,kv)=>{"use strict";kv.exports=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}});var Mp=w((w6,Tv)=>{"use strict";var FA=Ev(),DA=Cv();Tv.exports=function(t,n){return t&&!FA(n)?DA(t,n):n}});var jv=w((_6,Av)=>{"use strict";var Rp=wt(),$A=["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"];Av.exports=function(t){var n={},i,r,a;return t&&Rp.forEach(t.split(`
|
|
32
|
-
`),function(o){if(a=o.indexOf(":"),i=Rp.trim(o.substr(0,a)).toLowerCase(),r=Rp.trim(o.substr(a+1)),i){if(n[i]&&$A.indexOf(i)>=0)return;i==="set-cookie"?n[i]=(n[i]?n[i]:[]).concat([r]):n[i]=n[i]?n[i]+", "+r:r}}),n}});var Iv=w((S6,Rv)=>{"use strict";var Mv=wt();Rv.exports=Mv.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function r(a){var s=a;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=r(window.location.href),function(s){var o=Mv.isString(s)?r(s):s;return o.protocol===i.protocol&&o.host===i.host}}():function(){return function(){return!0}}()});var Kr=w((O6,Nv)=>{"use strict";function Ip(e){this.message=e}Ip.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Ip.prototype.__CANCEL__=!0;Nv.exports=Ip});var Pv=w((E6,Lv)=>{"use strict";var dc=wt(),zA=jp(),UA=Sv(),WA=cc(),HA=Mp(),YA=jv(),KA=Iv(),Np=pc(),GA=Gr(),ZA=Kr();Lv.exports=function(t){return new Promise(function(i,r){var a=t.data,s=t.headers,o=t.responseType,c;function u(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}dc.isFormData(a)&&delete s["Content-Type"];var l=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",d=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(p+":"+d)}var g=HA(t.baseURL,t.url);l.open(t.method.toUpperCase(),WA(g,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function x(){if(!!l){var h="getAllResponseHeaders"in l?YA(l.getAllResponseHeaders()):null,_=!o||o==="text"||o==="json"?l.responseText:l.response,k={data:_,status:l.status,statusText:l.statusText,headers:h,config:t,request:l};zA(function(R){i(R),u()},function(R){r(R),u()},k),l=null}}if("onloadend"in l?l.onloadend=x:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(x)},l.onabort=function(){!l||(r(Np("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){r(Np("Network Error",t,null,l)),l=null},l.ontimeout=function(){var _=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",k=t.transitional||GA.transitional;t.timeoutErrorMessage&&(_=t.timeoutErrorMessage),r(Np(_,t,k.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},dc.isStandardBrowserEnv()){var b=(t.withCredentials||KA(g))&&t.xsrfCookieName?UA.read(t.xsrfCookieName):void 0;b&&(s[t.xsrfHeaderName]=b)}"setRequestHeader"in l&&dc.forEach(s,function(_,k){typeof a>"u"&&k.toLowerCase()==="content-type"?delete s[k]:l.setRequestHeader(k,_)}),dc.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),o&&o!=="json"&&(l.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&l.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(c=function(h){!l||(r(!h||h&&h.type?new ZA("canceled"):h),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c))),a||(a=null),l.send(a)})}});var hc=w((k6,qv)=>{qv.exports={version:"0.24.0"}});var Uv=w((C6,zv)=>{"use strict";var rs=wt(),Bv=jp(),VA=Mp(),JA=cc(),XA=require("http"),QA=require("https"),ej=Ga().http,tj=Ga().https,Fv=require("url"),nj=require("zlib"),ij=hc().version,mc=pc(),Lp=uc(),rj=Gr(),aj=Kr(),Dv=/https:?/;function $v(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var i=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+i}e.beforeRedirect=function(a){a.headers.host=a.host,$v(a,t,a.href)}}zv.exports=function(t){return new Promise(function(i,r){var a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}var o=function(f){s(),i(f)},c=function(f){s(),r(f)},u=t.data,l=t.headers,p={};if(Object.keys(l).forEach(function(f){p[f.toLowerCase()]=f}),"user-agent"in p?l[p["user-agent"]]||delete l[p["user-agent"]]:l["User-Agent"]="axios/"+ij,u&&!rs.isStream(u)){if(!Buffer.isBuffer(u))if(rs.isArrayBuffer(u))u=Buffer.from(new Uint8Array(u));else if(rs.isString(u))u=Buffer.from(u,"utf-8");else return c(mc("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));p["content-length"]||(l["Content-Length"]=u.length)}var d=void 0;if(t.auth){var g=t.auth.username||"",x=t.auth.password||"";d=g+":"+x}var b=VA(t.baseURL,t.url),h=Fv.parse(b),_=h.protocol||"http:";if(!d&&h.auth){var k=h.auth.split(":"),I=k[0]||"",R=k[1]||"";d=I+":"+R}d&&p.authorization&&delete l[p.authorization];var M=Dv.test(_),H=M?t.httpsAgent:t.httpAgent,D={path:JA(h.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:l,agent:H,agents:{http:t.httpAgent,https:t.httpsAgent},auth:d};t.socketPath?D.socketPath=t.socketPath:(D.hostname=h.hostname,D.port=h.port);var $=t.proxy;if(!$&&$!==!1){var y=_.slice(0,-1)+"_proxy",P=process.env[y]||process.env[y.toUpperCase()];if(P){var O=Fv.parse(P),v=process.env.no_proxy||process.env.NO_PROXY,A=!0;if(v){var N=v.split(",").map(function(f){return f.trim()});A=!N.some(function(f){return f?f==="*"||f[0]==="."&&h.hostname.substr(h.hostname.length-f.length)===f?!0:h.hostname===f:!1})}if(A&&($={host:O.hostname,port:O.port,protocol:O.protocol},O.auth)){var Y=O.auth.split(":");$.auth={username:Y[0],password:Y[1]}}}}$&&(D.headers.host=h.hostname+(h.port?":"+h.port:""),$v(D,$,_+"//"+h.hostname+(h.port?":"+h.port:"")+D.path));var re,he=M&&($?Dv.test($.protocol):!0);t.transport?re=t.transport:t.maxRedirects===0?re=he?QA:XA:(t.maxRedirects&&(D.maxRedirects=t.maxRedirects),re=he?tj:ej),t.maxBodyLength>-1&&(D.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(D.insecureHTTPParser=t.insecureHTTPParser);var Z=re.request(D,function(f){if(!Z.aborted){var E=f,F=f.req||Z;if(f.statusCode!==204&&F.method!=="HEAD"&&t.decompress!==!1)switch(f.headers["content-encoding"]){case"gzip":case"compress":case"deflate":E=E.pipe(nj.createUnzip()),delete f.headers["content-encoding"];break}var z={status:f.statusCode,statusText:f.statusMessage,headers:f.headers,config:t,request:F};if(t.responseType==="stream")z.data=E,Bv(o,c,z);else{var Se=[],Ue=0;E.on("data",function(de){Se.push(de),Ue+=de.length,t.maxContentLength>-1&&Ue>t.maxContentLength&&(E.destroy(),c(mc("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,F)))}),E.on("error",function(de){Z.aborted||c(Lp(de,t,null,F))}),E.on("end",function(){var de=Buffer.concat(Se);t.responseType!=="arraybuffer"&&(de=de.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(de=rs.stripBOM(de))),z.data=de,Bv(o,c,z)})}}});if(Z.on("error",function(f){Z.aborted&&f.code!=="ERR_FR_TOO_MANY_REDIRECTS"||c(Lp(f,t,null,Z))}),t.timeout){var fe=parseInt(t.timeout,10);if(isNaN(fe)){c(mc("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",Z));return}Z.setTimeout(fe,function(){Z.abort();var f=t.transitional||rj.transitional;c(mc("timeout of "+fe+"ms exceeded",t,f.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",Z))})}(t.cancelToken||t.signal)&&(a=function(pe){Z.aborted||(Z.abort(),c(!pe||pe&&pe.type?new aj("canceled"):pe))},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),rs.isStream(u)?u.on("error",function(f){c(Lp(f,t,null,Z))}).pipe(Z):Z.end(u)})}});var Gr=w((T6,Yv)=>{"use strict";var lt=wt(),Wv=vv(),sj=uc(),oj={"Content-Type":"application/x-www-form-urlencoded"};function Hv(e,t){!lt.isUndefined(e)&<.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function cj(){var e;return typeof XMLHttpRequest<"u"?e=Pv():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=Uv()),e}function lj(e,t,n){if(lt.isString(e))try{return(t||JSON.parse)(e),lt.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}var gc={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:cj(),transformRequest:[function(t,n){return Wv(n,"Accept"),Wv(n,"Content-Type"),lt.isFormData(t)||lt.isArrayBuffer(t)||lt.isBuffer(t)||lt.isStream(t)||lt.isFile(t)||lt.isBlob(t)?t:lt.isArrayBufferView(t)?t.buffer:lt.isURLSearchParams(t)?(Hv(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):lt.isObject(t)||n&&n["Content-Type"]==="application/json"?(Hv(n,"application/json"),lj(t)):t}],transformResponse:[function(t){var n=this.transitional||gc.transitional,i=n&&n.silentJSONParsing,r=n&&n.forcedJSONParsing,a=!i&&this.responseType==="json";if(a||r&<.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?sj(s,this,"E_JSON_PARSE"):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};lt.forEach(["delete","get","head"],function(t){gc.headers[t]={}});lt.forEach(["post","put","patch"],function(t){gc.headers[t]=lt.merge(oj)});Yv.exports=gc});var Gv=w((A6,Kv)=>{"use strict";var uj=wt(),pj=Gr();Kv.exports=function(t,n,i){var r=this||pj;return uj.forEach(i,function(s){t=s.call(r,t,n)}),t}});var Pp=w((j6,Zv)=>{"use strict";Zv.exports=function(t){return!!(t&&t.__CANCEL__)}});var Xv=w((M6,Jv)=>{"use strict";var Vv=wt(),qp=Gv(),fj=Pp(),dj=Gr(),hj=Kr();function Bp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new hj("canceled")}Jv.exports=function(t){Bp(t),t.headers=t.headers||{},t.data=qp.call(t,t.data,t.headers,t.transformRequest),t.headers=Vv.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Vv.forEach(["delete","get","head","post","put","patch","common"],function(r){delete t.headers[r]});var n=t.adapter||dj.adapter;return n(t).then(function(r){return Bp(t),r.data=qp.call(t,r.data,r.headers,t.transformResponse),r},function(r){return fj(r)||(Bp(t),r&&r.response&&(r.response.data=qp.call(t,r.response.data,r.response.headers,t.transformResponse))),Promise.reject(r)})}});var Fp=w((R6,Qv)=>{"use strict";var Ft=wt();Qv.exports=function(t,n){n=n||{};var i={};function r(l,p){return Ft.isPlainObject(l)&&Ft.isPlainObject(p)?Ft.merge(l,p):Ft.isPlainObject(p)?Ft.merge({},p):Ft.isArray(p)?p.slice():p}function a(l){if(Ft.isUndefined(n[l])){if(!Ft.isUndefined(t[l]))return r(void 0,t[l])}else return r(t[l],n[l])}function s(l){if(!Ft.isUndefined(n[l]))return r(void 0,n[l])}function o(l){if(Ft.isUndefined(n[l])){if(!Ft.isUndefined(t[l]))return r(void 0,t[l])}else return r(void 0,n[l])}function c(l){if(l in n)return r(t[l],n[l]);if(l in t)return r(void 0,t[l])}var u={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:c};return Ft.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var d=u[p]||a,g=d(p);Ft.isUndefined(g)&&d!==c||(i[p]=g)}),i}});var nx=w((I6,tx)=>{"use strict";var mj=hc().version,Dp={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Dp[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});var ex={};Dp.transitional=function(t,n,i){function r(a,s){return"[Axios v"+mj+"] Transitional option '"+a+"'"+s+(i?". "+i:"")}return function(a,s,o){if(t===!1)throw new Error(r(s," has been removed"+(n?" in "+n:"")));return n&&!ex[s]&&(ex[s]=!0,console.warn(r(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,o):!0}};function gj(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var i=Object.keys(e),r=i.length;r-- >0;){var a=i[r],s=t[a];if(s){var o=e[a],c=o===void 0||s(o,a,e);if(c!==!0)throw new TypeError("option "+a+" must be "+c);continue}if(n!==!0)throw Error("Unknown option "+a)}}tx.exports={assertOptions:gj,validators:Dp}});var cx=w((N6,ox)=>{"use strict";var ax=wt(),bj=cc(),ix=gv(),rx=Xv(),bc=Fp(),sx=nx(),Zr=sx.validators;function as(e){this.defaults=e,this.interceptors={request:new ix,response:new ix}}as.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=bc(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;n!==void 0&&sx.assertOptions(n,{silentJSONParsing:Zr.transitional(Zr.boolean),forcedJSONParsing:Zr.transitional(Zr.boolean),clarifyTimeoutError:Zr.transitional(Zr.boolean)},!1);var i=[],r=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(t)===!1||(r=r&&d.synchronous,i.unshift(d.fulfilled,d.rejected))});var a=[];this.interceptors.response.forEach(function(d){a.push(d.fulfilled,d.rejected)});var s;if(!r){var o=[rx,void 0];for(Array.prototype.unshift.apply(o,i),o=o.concat(a),s=Promise.resolve(t);o.length;)s=s.then(o.shift(),o.shift());return s}for(var c=t;i.length;){var u=i.shift(),l=i.shift();try{c=u(c)}catch(p){l(p);break}}try{s=rx(c)}catch(p){return Promise.reject(p)}for(;a.length;)s=s.then(a.shift(),a.shift());return s};as.prototype.getUri=function(t){return t=bc(this.defaults,t),bj(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};ax.forEach(["delete","get","head","options"],function(t){as.prototype[t]=function(n,i){return this.request(bc(i||{},{method:t,url:n,data:(i||{}).data}))}});ax.forEach(["post","put","patch"],function(t){as.prototype[t]=function(n,i,r){return this.request(bc(r||{},{method:t,url:n,data:i}))}});ox.exports=as});var ux=w((L6,lx)=>{"use strict";var vj=Kr();function Vr(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(r){t=r});var n=this;this.promise.then(function(i){if(!!n._listeners){var r,a=n._listeners.length;for(r=0;r<a;r++)n._listeners[r](i);n._listeners=null}}),this.promise.then=function(i){var r,a=new Promise(function(s){n.subscribe(s),r=s}).then(i);return a.cancel=function(){n.unsubscribe(r)},a},e(function(r){n.reason||(n.reason=new vj(r),t(n.reason))})}Vr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Vr.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};Vr.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};Vr.source=function(){var t,n=new Vr(function(r){t=r});return{token:n,cancel:t}};lx.exports=Vr});var fx=w((P6,px)=>{"use strict";px.exports=function(t){return function(i){return t.apply(null,i)}}});var hx=w((q6,dx)=>{"use strict";dx.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}});var bx=w((B6,$p)=>{"use strict";var mx=wt(),xj=Ep(),vc=cx(),yj=Fp(),wj=Gr();function gx(e){var t=new vc(e),n=xj(vc.prototype.request,t);return mx.extend(n,vc.prototype,t),mx.extend(n,t),n.create=function(r){return gx(yj(e,r))},n}var wn=gx(wj);wn.Axios=vc;wn.Cancel=Kr();wn.CancelToken=ux();wn.isCancel=Pp();wn.VERSION=hc().version;wn.all=function(t){return Promise.all(t)};wn.spread=fx();wn.isAxiosError=hx();$p.exports=wn;$p.exports.default=wn});var zp=w((F6,vx)=>{vx.exports=bx()});var yx=w((D6,xx)=>{"use strict";var _j=(e,t,n)=>{let i=e.indexOf(t);if(i===-1)return e;let r=t.length,a=0,s="";do s+=e.substr(a,i-a)+t+n,a=i+r,i=e.indexOf(t,a);while(i!==-1);return s+=e.substr(a),s},Sj=(e,t,n,i)=>{let r=0,a="";do{let s=e[i-1]==="\r";a+=e.substr(r,(s?i-1:i)-r)+t+(s?`\r
|
|
21
|
+
`)+n,i=r+1,r=e.indexOf(`
|
|
22
|
+
`,i)}while(r!==-1);return a+=e.substr(i),a};F0.exports={stringReplaceAll:cA,stringEncaseCRLFWithFirstIndex:lA}});var H0=b((N6,W0)=>{"use strict";var uA=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,z0=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,pA=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,fA=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,dA=new Map([["n",`
|
|
23
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function $0(e){let t=e[0]==="u",n=e[1]==="{";return t&&!n&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):dA.get(e)||e}function hA(e,t){let n=[],r=t.trim().split(/\s*,\s*/g),i;for(let a of r){let s=Number(a);if(!Number.isNaN(s))n.push(s);else if(i=a.match(pA))n.push(i[2].replace(fA,(o,c,u)=>c?$0(c):u));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`)}return n}function mA(e){z0.lastIndex=0;let t=[],n;for(;(n=z0.exec(e))!==null;){let r=n[1];if(n[2]){let i=hA(r,n[2]);t.push([r].concat(i))}else t.push([r])}return t}function U0(e,t){let n={};for(let i of t)for(let a of i.styles)n[a[0]]=i.inverse?null:a.slice(1);let r=e;for(let[i,a]of Object.entries(n))if(!!Array.isArray(a)){if(!(i in r))throw new Error(`Unknown Chalk style: ${i}`);r=a.length>0?r[i](...a):r[i]}return r}W0.exports=(e,t)=>{let n=[],r=[],i=[];if(t.replace(uA,(a,s,o,c,u,l)=>{if(s)i.push($0(s));else if(c){let p=i.join("");i=[],r.push(n.length===0?p:U0(e,n)(p)),n.push({inverse:o,styles:mA(c)})}else if(u){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");r.push(U0(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){let a=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(a)}return r.join("")}});var Z0=b((L6,V0)=>{"use strict";var Ya=cp(),{stdout:up,stderr:pp}=To(),{stringReplaceAll:gA,stringEncaseCRLFWithFirstIndex:vA}=D0(),Y0=["ansi","ansi","ansi256","ansi16m"],Li=Object.create(null),bA=(e,t={})=>{if(t.level>3||t.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let n=up?up.level:0;e.level=t.level===void 0?n:t.level},fp=class{constructor(t){return G0(t)}},G0=e=>{let t={};return bA(t,e),t.template=(...n)=>wA(t.template,...n),Object.setPrototypeOf(t,Uo.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=fp,t.template};function Uo(e){return G0(e)}for(let[e,t]of Object.entries(Ya))Li[e]={get(){let n=$o(this,dp(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};Li.visible={get(){let e=$o(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};var K0=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of K0)Li[e]={get(){let{level:t}=this;return function(...n){let r=dp(Ya.color[Y0[t]][e](...n),Ya.color.close,this._styler);return $o(this,r,this._isEmpty)}}};for(let e of K0){let t="bg"+e[0].toUpperCase()+e.slice(1);Li[t]={get(){let{level:n}=this;return function(...r){let i=dp(Ya.bgColor[Y0[n]][e](...r),Ya.bgColor.close,this._styler);return $o(this,i,this._isEmpty)}}}}var xA=Object.defineProperties(()=>{},{...Li,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),dp=(e,t,n)=>{let r,i;return n===void 0?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},$o=(e,t,n)=>{let r=(...i)=>yA(r,i.length===1?""+i[0]:i.join(" "));return r.__proto__=xA,r._generator=e,r._styler=t,r._isEmpty=n,r},yA=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(n===void 0)return t;let{openAll:r,closeAll:i}=n;if(t.indexOf("\x1B")!==-1)for(;n!==void 0;)t=gA(t,n.close,n.open),n=n.parent;let a=t.indexOf(`
|
|
24
|
+
`);return a!==-1&&(t=vA(t,i,r,a)),r+t+i},lp,wA=(e,...t)=>{let[n]=t;if(!Array.isArray(n))return t.join(" ");let r=t.slice(1),i=[n.raw[0]];for(let a=1;a<n.length;a++)i.push(String(r[a-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[a]));return lp===void 0&&(lp=H0()),lp(e,i.join(""))};Object.defineProperties(Uo.prototype,Li);var Ga=Uo();Ga.supportsColor=up;Ga.stderr=Uo({level:pp?pp.level:0});Ga.stderr.supportsColor=pp;Ga.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"};V0.exports=Ga});var X0=b((q6,hp)=>{"use strict";var J0=(e,t)=>{for(let n of Reflect.ownKeys(t))Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));return e};hp.exports=J0;hp.exports.default=J0});var eb=b((B6,Ho)=>{"use strict";var _A=X0(),Wo=new WeakMap,Q0=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let n,r=0,i=e.displayName||e.name||"<anonymous>",a=function(...s){if(Wo.set(a,++r),r===1)n=e.apply(this,s),e=null;else if(t.throw===!0)throw new Error(`Function \`${i}\` can only be called once`);return n};return _A(a,e),Wo.set(a,r),a};Ho.exports=Q0;Ho.exports.default=Q0;Ho.exports.callCount=e=>{if(!Wo.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return Wo.get(e)}});var tb=b((F6,Yo)=>{Yo.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Yo.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Yo.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var sb=b((D6,Fi)=>{var je=global.process,qr=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"};qr(je)?(nb=require("assert"),qi=tb(),rb=/^win/i.test(je.platform),Ka=require("events"),typeof Ka!="function"&&(Ka=Ka.EventEmitter),je.__signal_exit_emitter__?et=je.__signal_exit_emitter__:(et=je.__signal_exit_emitter__=new Ka,et.count=0,et.emitted={}),et.infinite||(et.setMaxListeners(1/0),et.infinite=!0),Fi.exports=function(e,t){if(!qr(global.process))return function(){};nb.equal(typeof e,"function","a callback must be provided for exit handler"),Bi===!1&&mp();var n="exit";t&&t.alwaysLast&&(n="afterexit");var r=function(){et.removeListener(n,e),et.listeners("exit").length===0&&et.listeners("afterexit").length===0&&Go()};return et.on(n,e),r},Go=function(){!Bi||!qr(global.process)||(Bi=!1,qi.forEach(function(t){try{je.removeListener(t,Ko[t])}catch{}}),je.emit=Vo,je.reallyExit=gp,et.count-=1)},Fi.exports.unload=Go,Br=function(t,n,r){et.emitted[t]||(et.emitted[t]=!0,et.emit(t,n,r))},Ko={},qi.forEach(function(e){Ko[e]=function(){if(!!qr(global.process)){var n=je.listeners(e);n.length===et.count&&(Go(),Br("exit",null,e),Br("afterexit",null,e),rb&&e==="SIGHUP"&&(e="SIGINT"),je.kill(je.pid,e))}}}),Fi.exports.signals=function(){return qi},Bi=!1,mp=function(){Bi||!qr(global.process)||(Bi=!0,et.count+=1,qi=qi.filter(function(t){try{return je.on(t,Ko[t]),!0}catch{return!1}}),je.emit=ab,je.reallyExit=ib)},Fi.exports.load=mp,gp=je.reallyExit,ib=function(t){!qr(global.process)||(je.exitCode=t||0,Br("exit",je.exitCode,null),Br("afterexit",je.exitCode,null),gp.call(je,je.exitCode))},Vo=je.emit,ab=function(t,n){if(t==="exit"&&qr(global.process)){n!==void 0&&(je.exitCode=n);var r=Vo.apply(this,arguments);return Br("exit",je.exitCode,null),Br("afterexit",je.exitCode,null),r}else return Vo.apply(this,arguments)}):Fi.exports=function(){return function(){}};var nb,qi,rb,Ka,et,Go,Br,Ko,Bi,mp,gp,ib,Vo,ab});var cb=b((z6,ob)=>{"use strict";var SA=eb(),EA=sb();ob.exports=SA(()=>{EA(()=>{process.stderr.write("\x1B[?25h")},{alwaysLast:!0})})});var lb=b(Di=>{"use strict";var OA=cb(),Zo=!1;Di.show=(e=process.stderr)=>{!e.isTTY||(Zo=!1,e.write("\x1B[?25h"))};Di.hide=(e=process.stderr)=>{!e.isTTY||(OA(),Zo=!0,e.write("\x1B[?25l"))};Di.toggle=(e,t)=>{e!==void 0&&(Zo=e),Zo?Di.show(t):Di.hide(t)}});var ub=b(($6,kA)=>{kA.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"]},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"]},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"]},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"]}}});var db=b((W6,fb)=>{"use strict";var Jo=Object.assign({},ub()),pb=Object.keys(Jo);Object.defineProperty(Jo,"random",{get(){let e=Math.floor(Math.random()*pb.length),t=pb[e];return Jo[t]}});fb.exports=Jo});var mb=b((H6,hb)=>{"use strict";var TA=/[|\\{}()[\]^$+*?.]/g;hb.exports=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(TA,"\\$&")}});var vb=b((Y6,gb)=>{"use strict";gb.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var vp=b((G6,wb)=>{var Fr=vb(),yb={};for(Xo in Fr)Fr.hasOwnProperty(Xo)&&(yb[Fr[Xo]]=Xo);var Xo,J=wb.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(xt in J)if(J.hasOwnProperty(xt)){if(!("channels"in J[xt]))throw new Error("missing channels property: "+xt);if(!("labels"in J[xt]))throw new Error("missing channel labels property: "+xt);if(J[xt].labels.length!==J[xt].channels)throw new Error("channel and label counts mismatch: "+xt);bb=J[xt].channels,xb=J[xt].labels,delete J[xt].channels,delete J[xt].labels,Object.defineProperty(J[xt],"channels",{value:bb}),Object.defineProperty(J[xt],"labels",{value:xb})}var bb,xb,xt;J.rgb.hsl=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),a=Math.max(t,n,r),s=a-i,o,c,u;return a===i?o=0:t===a?o=(n-r)/s:n===a?o=2+(r-t)/s:r===a&&(o=4+(t-n)/s),o=Math.min(o*60,360),o<0&&(o+=360),u=(i+a)/2,a===i?c=0:u<=.5?c=s/(a+i):c=s/(2-a-i),[o,c*100,u*100]};J.rgb.hsv=function(e){var t,n,r,i,a,s=e[0]/255,o=e[1]/255,c=e[2]/255,u=Math.max(s,o,c),l=u-Math.min(s,o,c),p=function(f){return(u-f)/6/l+1/2};return l===0?i=a=0:(a=l/u,t=p(s),n=p(o),r=p(c),s===u?i=r-n:o===u?i=1/3+t-r:c===u&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[i*360,a*100,u*100]};J.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2],i=J.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,a*100,r*100]};J.rgb.cmyk=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i,a,s,o;return o=Math.min(1-t,1-n,1-r),i=(1-t-o)/(1-o)||0,a=(1-n-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,[i*100,a*100,s*100,o*100]};function CA(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}J.rgb.keyword=function(e){var t=yb[e];if(t)return t;var n=1/0,r;for(var i in Fr)if(Fr.hasOwnProperty(i)){var a=Fr[i],s=CA(e,a);s<n&&(n=s,r=i)}return r};J.keyword.rgb=function(e){return Fr[e]};J.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;var i=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[i*100,a*100,s*100]};J.rgb.lab=function(e){var t=J.rgb.xyz(e),n=t[0],r=t[1],i=t[2],a,s,o;return n/=95.047,r/=100,i/=108.883,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,a=116*r-16,s=500*(n-r),o=200*(r-i),[a,s,o]};J.hsl.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100,i,a,s,o,c;if(n===0)return c=r*255,[c,c,c];r<.5?a=r*(1+n):a=r+n-r*n,i=2*r-a,o=[0,0,0];for(var u=0;u<3;u++)s=t+1/3*-(u-1),s<0&&s++,s>1&&s--,6*s<1?c=i+(a-i)*6*s:2*s<1?c=a:3*s<2?c=i+(a-i)*(2/3-s)*6:c=i,o[u]=c*255;return o};J.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,a=Math.max(r,.01),s,o;return r*=2,n*=r<=1?r:2-r,i*=a<=1?a:2-a,o=(r+n)/2,s=r===0?2*i/(a+i):2*n/(r+n),[t,s*100,o*100]};J.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),o=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,c,s];case 1:return[o,r,s];case 2:return[s,r,c];case 3:return[s,o,r];case 4:return[c,s,r];case 5:return[r,s,o]}};J.hsv.hsl=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01),a,s,o;return o=(2-n)*r,a=(2-n)*i,s=n*i,s/=a<=1?a:2-a,s=s||0,o/=2,[t,s*100,o*100]};J.hwb.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100,i=n+r,a,s,o,c;i>1&&(n/=i,r/=i),a=Math.floor(6*t),s=1-r,o=6*t-a,(a&1)!==0&&(o=1-o),c=n+o*(s-n);var u,l,p;switch(a){default:case 6:case 0:u=s,l=c,p=n;break;case 1:u=c,l=s,p=n;break;case 2:u=n,l=s,p=c;break;case 3:u=n,l=c,p=s;break;case 4:u=c,l=n,p=s;break;case 5:u=s,l=n,p=c;break}return[u*255,l*255,p*255]};J.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100,a,s,o;return a=1-Math.min(1,t*(1-i)+i),s=1-Math.min(1,n*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),[a*255,s*255,o*255]};J.xyz.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i,a,s;return i=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92,s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92,i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[i*255,a*255,s*255]};J.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2],i,a,s;return t/=95.047,n/=100,r/=108.883,t=t>.008856?Math.pow(t,1/3):7.787*t+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,i=116*n-16,a=500*(t-n),s=200*(n-r),[i,a,s]};J.lab.xyz=function(e){var t=e[0],n=e[1],r=e[2],i,a,s;a=(t+16)/116,i=n/500+a,s=a-r/200;var o=Math.pow(a,3),c=Math.pow(i,3),u=Math.pow(s,3);return a=o>.008856?o:(a-16/116)/7.787,i=c>.008856?c:(i-16/116)/7.787,s=u>.008856?u:(s-16/116)/7.787,i*=95.047,a*=100,s*=108.883,[i,a,s]};J.lab.lch=function(e){var t=e[0],n=e[1],r=e[2],i,a,s;return i=Math.atan2(r,n),a=i*360/2/Math.PI,a<0&&(a+=360),s=Math.sqrt(n*n+r*r),[t,s,a]};J.lch.lab=function(e){var t=e[0],n=e[1],r=e[2],i,a,s;return s=r/360*2*Math.PI,i=n*Math.cos(s),a=n*Math.sin(s),[t,i,a]};J.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:J.rgb.hsv(e)[2];if(i=Math.round(i/50),i===0)return 30;var a=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return i===2&&(a+=60),a};J.hsv.ansi16=function(e){return J.rgb.ansi16(J.hsv.rgb(e),e[2])};J.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;var i=16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5);return i};J.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];var n=(~~(e>50)+1)*.5,r=(t&1)*n*255,i=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,i,a]};J.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var n,r=Math.floor(e/36)/5*255,i=Math.floor((n=e%36)/6)/5*255,a=n%6/5*255;return[r,i,a]};J.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255),n=t.toString(16).toUpperCase();return"000000".substring(n.length)+n};J.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];t[0].length===3&&(n=n.split("").map(function(o){return o+o}).join(""));var r=parseInt(n,16),i=r>>16&255,a=r>>8&255,s=r&255;return[i,a,s]};J.rgb.hcg=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=i-a,o,c;return s<1?o=a/(1-s):o=0,s<=0?c=0:i===t?c=(n-r)/s%6:i===n?c=2+(r-t)/s:c=4+(t-n)/s+4,c/=6,c%=1,[c*360,s*100,o*100]};J.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return n<.5?r=2*t*n:r=2*t*(1-n),r<1&&(i=(n-.5*r)/(1-r)),[e[0],r*100,i*100]};J.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],r*100,i*100]};J.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];var i=[0,0,0],a=t%1*6,s=a%1,o=1-s,c=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=o,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=o,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=o}return c=(1-n)*r,[(n*i[0]+c)*255,(n*i[1]+c)*255,(n*i[2]+c)*255]};J.hcg.hsv=function(e){var t=e[1]/100,n=e[2]/100,r=t+n*(1-t),i=0;return r>0&&(i=t/r),[e[0],i*100,r*100]};J.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100,r=n*(1-t)+.5*t,i=0;return r>0&&r<.5?i=t/(2*r):r>=.5&&r<1&&(i=t/(2*(1-r))),[e[0],i*100,r*100]};J.hcg.hwb=function(e){var t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};J.hwb.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1-n,i=r-t,a=0;return i<1&&(a=(r-i)/(1-i)),[e[0],i*100,a*100]};J.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};J.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};J.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};J.gray.hsl=J.gray.hsv=function(e){return[0,0,e[0]]};J.gray.hwb=function(e){return[0,100,e[0]]};J.gray.cmyk=function(e){return[0,0,0,e[0]]};J.gray.lab=function(e){return[e[0],0,0]};J.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255,n=(t<<16)+(t<<8)+t,r=n.toString(16).toUpperCase();return"000000".substring(r.length)+r};J.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}});var Sb=b((K6,_b)=>{var Qo=vp();function AA(){for(var e={},t=Object.keys(Qo),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}function jA(e){var t=AA(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),i=Object.keys(Qo[r]),a=i.length,s=0;s<a;s++){var o=i[s],c=t[o];c.distance===-1&&(c.distance=t[r].distance+1,c.parent=r,n.unshift(o))}return t}function RA(e,t){return function(n){return t(e(n))}}function MA(e,t){for(var n=[t[e].parent,e],r=Qo[t[e].parent][e],i=t[e].parent;t[i].parent;)n.unshift(t[i].parent),r=RA(Qo[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}_b.exports=function(e){for(var t=jA(e),n={},r=Object.keys(t),i=r.length,a=0;a<i;a++){var s=r[a],o=t[s];o.parent!==null&&(n[s]=MA(s,t))}return n}});var Ob=b((V6,Eb)=>{var bp=vp(),PA=Sb(),zi={},IA=Object.keys(bp);function NA(e){var t=function(n){return n==null?n:(arguments.length>1&&(n=Array.prototype.slice.call(arguments)),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function LA(e){var t=function(n){if(n==null)return n;arguments.length>1&&(n=Array.prototype.slice.call(arguments));var r=e(n);if(typeof r=="object")for(var i=r.length,a=0;a<i;a++)r[a]=Math.round(r[a]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}IA.forEach(function(e){zi[e]={},Object.defineProperty(zi[e],"channels",{value:bp[e].channels}),Object.defineProperty(zi[e],"labels",{value:bp[e].labels});var t=PA(e),n=Object.keys(t);n.forEach(function(r){var i=t[r];zi[e][r]=LA(i),zi[e][r].raw=NA(i)})});Eb.exports=zi});var Tb=b((Z6,kb)=>{"use strict";var Ui=Ob(),ec=(e,t)=>function(){return`\x1B[${e.apply(Ui,arguments)+t}m`},tc=(e,t)=>function(){let n=e.apply(Ui,arguments);return`\x1B[${38+t};5;${n}m`},nc=(e,t)=>function(){let n=e.apply(Ui,arguments);return`\x1B[${38+t};2;${n[0]};${n[1]};${n[2]}m`};function qA(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(let i of Object.keys(t)){let a=t[i];for(let s of Object.keys(a)){let o=a[s];t[s]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},a[s]=t[s],e.set(o[0],o[1])}Object.defineProperty(t,i,{value:a,enumerable:!1}),Object.defineProperty(t,"codes",{value:e,enumerable:!1})}let n=i=>i,r=(i,a,s)=>[i,a,s];t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi={ansi:ec(n,0)},t.color.ansi256={ansi256:tc(n,0)},t.color.ansi16m={rgb:nc(r,0)},t.bgColor.ansi={ansi:ec(n,10)},t.bgColor.ansi256={ansi256:tc(n,10)},t.bgColor.ansi16m={rgb:nc(r,10)};for(let i of Object.keys(Ui)){if(typeof Ui[i]!="object")continue;let a=Ui[i];i==="ansi16"&&(i="ansi"),"ansi16"in a&&(t.color.ansi[i]=ec(a.ansi16,0),t.bgColor.ansi[i]=ec(a.ansi16,10)),"ansi256"in a&&(t.color.ansi256[i]=tc(a.ansi256,0),t.bgColor.ansi256[i]=tc(a.ansi256,10)),"rgb"in a&&(t.color.ansi16m[i]=nc(a.rgb,0),t.bgColor.ansi16m[i]=nc(a.rgb,10))}return t}Object.defineProperty(kb,"exports",{enumerable:!0,get:qA})});var Ab=b((J6,Cb)=>{"use strict";Cb.exports=(e,t)=>{t=t||process.argv;let n=e.startsWith("-")?"":e.length===1?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return r!==-1&&(i===-1?!0:r<i)}});var Rb=b((X6,jb)=>{"use strict";var BA=require("os"),sn=Ab(),pt=process.env,$i;sn("no-color")||sn("no-colors")||sn("color=false")?$i=!1:(sn("color")||sn("colors")||sn("color=true")||sn("color=always"))&&($i=!0);"FORCE_COLOR"in pt&&($i=pt.FORCE_COLOR.length===0||parseInt(pt.FORCE_COLOR,10)!==0);function FA(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function DA(e){if($i===!1)return 0;if(sn("color=16m")||sn("color=full")||sn("color=truecolor"))return 3;if(sn("color=256"))return 2;if(e&&!e.isTTY&&$i!==!0)return 0;let t=$i?1:0;if(process.platform==="win32"){let n=BA.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in pt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(n=>n in pt)||pt.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in pt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(pt.TEAMCITY_VERSION)?1:0;if(pt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in pt){let n=parseInt((pt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(pt.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(pt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(pt.TERM)||"COLORTERM"in pt?1:(pt.TERM==="dumb",t)}function xp(e){let t=DA(e);return FA(t)}jb.exports={supportsColor:xp,stdout:xp(process.stdout),stderr:xp(process.stderr)}});var Lb=b((Q6,Nb)=>{"use strict";var zA=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Mb=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,UA=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,$A=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,WA=new Map([["n",`
|
|
25
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Ib(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):WA.get(e)||e}function HA(e,t){let n=[],r=t.trim().split(/\s*,\s*/g),i;for(let a of r)if(!isNaN(a))n.push(Number(a));else if(i=a.match(UA))n.push(i[2].replace($A,(s,o,c)=>o?Ib(o):c));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`);return n}function YA(e){Mb.lastIndex=0;let t=[],n;for(;(n=Mb.exec(e))!==null;){let r=n[1];if(n[2]){let i=HA(r,n[2]);t.push([r].concat(i))}else t.push([r])}return t}function Pb(e,t){let n={};for(let i of t)for(let a of i.styles)n[a[0]]=i.inverse?null:a.slice(1);let r=e;for(let i of Object.keys(n))if(Array.isArray(n[i])){if(!(i in r))throw new Error(`Unknown Chalk style: ${i}`);n[i].length>0?r=r[i].apply(r,n[i]):r=r[i]}return r}Nb.exports=(e,t)=>{let n=[],r=[],i=[];if(t.replace(zA,(a,s,o,c,u,l)=>{if(s)i.push(Ib(s));else if(c){let p=i.join("");i=[],r.push(n.length===0?p:Pb(e,n)(p)),n.push({inverse:o,styles:YA(c)})}else if(u){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");r.push(Pb(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){let a=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(a)}return r.join("")}});var zb=b((e4,Za)=>{"use strict";var wp=mb(),He=Tb(),yp=Rb().stdout,GA=Lb(),Bb=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),Fb=["ansi","ansi","ansi256","ansi16m"],Db=new Set(["gray"]),Wi=Object.create(null);function qb(e,t){t=t||{};let n=yp?yp.level:0;e.level=t.level===void 0?n:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function Va(e){if(!this||!(this instanceof Va)||this.template){let t={};return qb(t,e),t.template=function(){let n=[].slice.call(arguments);return ZA.apply(null,[t.template].concat(n))},Object.setPrototypeOf(t,Va.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=Va,t.template}qb(this,e)}Bb&&(He.blue.open="\x1B[94m");for(let e of Object.keys(He))He[e].closeRe=new RegExp(wp(He[e].close),"g"),Wi[e]={get(){let t=He[e];return rc.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};Wi.visible={get(){return rc.call(this,this._styles||[],!0,"visible")}};He.color.closeRe=new RegExp(wp(He.color.close),"g");for(let e of Object.keys(He.color.ansi))Db.has(e)||(Wi[e]={get(){let t=this.level;return function(){let r={open:He.color[Fb[t]][e].apply(null,arguments),close:He.color.close,closeRe:He.color.closeRe};return rc.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}});He.bgColor.closeRe=new RegExp(wp(He.bgColor.close),"g");for(let e of Object.keys(He.bgColor.ansi)){if(Db.has(e))continue;let t="bg"+e[0].toUpperCase()+e.slice(1);Wi[t]={get(){let n=this.level;return function(){let i={open:He.bgColor[Fb[n]][e].apply(null,arguments),close:He.bgColor.close,closeRe:He.bgColor.closeRe};return rc.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}}var KA=Object.defineProperties(()=>{},Wi);function rc(e,t,n){let r=function(){return VA.apply(r,arguments)};r._styles=e,r._empty=t;let i=this;return Object.defineProperty(r,"level",{enumerable:!0,get(){return i.level},set(a){i.level=a}}),Object.defineProperty(r,"enabled",{enumerable:!0,get(){return i.enabled},set(a){i.enabled=a}}),r.hasGrey=this.hasGrey||n==="gray"||n==="grey",r.__proto__=KA,r}function VA(){let e=arguments,t=e.length,n=String(arguments[0]);if(t===0)return"";if(t>1)for(let i=1;i<t;i++)n+=" "+e[i];if(!this.enabled||this.level<=0||!n)return this._empty?"":n;let r=He.dim.open;Bb&&this.hasGrey&&(He.dim.open="");for(let i of this._styles.slice().reverse())n=i.open+n.replace(i.closeRe,i.open)+i.close,n=n.replace(/\r?\n/g,`${i.close}$&${i.open}`);return He.dim.open=r,n}function ZA(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");let n=[].slice.call(arguments,2),r=[t.raw[0]];for(let i=1;i<t.length;i++)r.push(String(n[i-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[i]));return GA(e,r.join(""))}Object.defineProperties(Va.prototype,Wi);Za.exports=Va();Za.exports.supportsColor=yp;Za.exports.default=Za.exports});var $b=b((t4,Ub)=>{"use strict";var er=zb(),JA=process.platform!=="win32"||process.env.CI||process.env.TERM==="xterm-256color",XA={info:er.blue("\u2139"),success:er.green("\u2714"),warning:er.yellow("\u26A0"),error:er.red("\u2716")},QA={info:er.blue("i"),success:er.green("\u221A"),warning:er.yellow("\u203C"),error:er.red("\xD7")};Ub.exports=JA?XA:QA});var Hb=b((n4,Wb)=>{"use strict";Wb.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 Gb=b((r4,Yb)=>{"use strict";var ej=Hb();Yb.exports=e=>typeof e=="string"?e.replace(ej(),""):e});var Kb=b((i4,ic)=>{var tj=function(){"use strict";function e(s,o,c,u){var l;typeof o=="object"&&(c=o.depth,u=o.prototype,l=o.filter,o=o.circular);var p=[],f=[],m=typeof Buffer<"u";typeof o>"u"&&(o=!0),typeof c>"u"&&(c=1/0);function v(g,d){if(g===null)return null;if(d==0)return g;var x,_;if(typeof g!="object")return g;if(e.__isArray(g))x=[];else if(e.__isRegExp(g))x=new RegExp(g.source,a(g)),g.lastIndex&&(x.lastIndex=g.lastIndex);else if(e.__isDate(g))x=new Date(g.getTime());else{if(m&&Buffer.isBuffer(g))return Buffer.allocUnsafe?x=Buffer.allocUnsafe(g.length):x=new Buffer(g.length),g.copy(x),x;typeof u>"u"?(_=Object.getPrototypeOf(g),x=Object.create(_)):(x=Object.create(u),_=u)}if(o){var T=p.indexOf(g);if(T!=-1)return f[T];p.push(g),f.push(x)}for(var k in g){var O;_&&(O=Object.getOwnPropertyDescriptor(_,k)),!(O&&O.set==null)&&(x[k]=v(g[k],d-1))}return x}return v(s,c)}e.clonePrototype=function(o){if(o===null)return null;var c=function(){};return c.prototype=o,new c};function t(s){return Object.prototype.toString.call(s)}e.__objToStr=t;function n(s){return typeof s=="object"&&t(s)==="[object Date]"}e.__isDate=n;function r(s){return typeof s=="object"&&t(s)==="[object Array]"}e.__isArray=r;function i(s){return typeof s=="object"&&t(s)==="[object RegExp]"}e.__isRegExp=i;function a(s){var o="";return s.global&&(o+="g"),s.ignoreCase&&(o+="i"),s.multiline&&(o+="m"),o}return e.__getRegExpFlags=a,e}();typeof ic=="object"&&ic.exports&&(ic.exports=tj)});var Zb=b((a4,Vb)=>{var nj=Kb();Vb.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(n){typeof e[n]>"u"&&(e[n]=nj(t[n]))}),e}});var Xb=b((s4,Jb)=>{Jb.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 nx=b((o4,_p)=>{"use strict";var rj=Zb(),Ja=Xb(),ex={nul:0,control:0};_p.exports=function(t){return tx(t,ex)};_p.exports.config=function(e){return e=rj(e||{},ex),function(n){return tx(n,e)}};function tx(e,t){if(typeof e!="string")return Qb(e,t);for(var n=0,r=0;r<e.length;r++){var i=Qb(e.charCodeAt(r),t);if(i<0)return-1;n+=i}return n}function Qb(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:ij(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 ij(e){var t=0,n=Ja.length-1,r;if(e<Ja[0][0]||e>Ja[n][1])return!1;for(;n>=t;)if(r=Math.floor((t+n)/2),e>Ja[r][1])t=r+1;else if(e<Ja[r][0])n=r-1;else return!0;return!1}});var ix=b((c4,rx)=>{"use strict";rx.exports=({stream:e=process.stdout}={})=>Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))});var sx=b((l4,ax)=>{var Sp=require("stream");ax.exports=tt;function tt(e){Sp.apply(this),e=e||{},this.writable=this.readable=!0,this.muted=!1,this.on("pipe",this._onpipe),this.replace=e.replace,this._prompt=e.prompt||null,this._hadControl=!1}tt.prototype=Object.create(Sp.prototype);Object.defineProperty(tt.prototype,"constructor",{value:tt,enumerable:!1});tt.prototype.mute=function(){this.muted=!0};tt.prototype.unmute=function(){this.muted=!1};Object.defineProperty(tt.prototype,"_onpipe",{value:aj,enumerable:!1,writable:!0,configurable:!0});function aj(e){this._src=e}Object.defineProperty(tt.prototype,"isTTY",{get:sj,set:oj,enumerable:!0,configurable:!0});function sj(){return this._dest?this._dest.isTTY:this._src?this._src.isTTY:!1}function oj(e){Object.defineProperty(this,"isTTY",{value:e,enumerable:!0,writable:!0,configurable:!0})}Object.defineProperty(tt.prototype,"rows",{get:function(){return this._dest?this._dest.rows:this._src?this._src.rows:void 0},enumerable:!0,configurable:!0});Object.defineProperty(tt.prototype,"columns",{get:function(){return this._dest?this._dest.columns:this._src?this._src.columns:void 0},enumerable:!0,configurable:!0});tt.prototype.pipe=function(e,t){return this._dest=e,Sp.prototype.pipe.call(this,e,t)};tt.prototype.pause=function(){if(this._src)return this._src.pause()};tt.prototype.resume=function(){if(this._src)return this._src.resume()};tt.prototype.write=function(e){if(this.muted){if(!this.replace)return!0;if(e.match(/^\u001b/))return e.indexOf(this._prompt)===0&&(e=e.substr(this._prompt.length),e=e.replace(/./g,this.replace),e=this._prompt+e),this._hadControl=!0,this.emit("data",e);this._prompt&&this._hadControl&&e.indexOf(this._prompt)===0&&(this._hadControl=!1,this.emit("data",this._prompt),e=e.substr(this._prompt.length)),e=e.toString().replace(/./g,this.replace)}this.emit("data",e)};tt.prototype.end=function(e){this.muted&&(e&&this.replace?e=e.toString().replace(/./g,this.replace):e=null),e&&this.emit("data",e),this.emit("end")};function Ep(e){return function(){var t=this._dest,n=this._src;t&&t[e]&&t[e].apply(t,arguments),n&&n[e]&&n[e].apply(n,arguments)}}tt.prototype.destroy=Ep("destroy");tt.prototype.destroySoon=Ep("destroySoon");tt.prototype.close=Ep("close")});var Tt=b((u4,Tp)=>{"use strict";var cj=require("readline"),lj=Z0(),ox=lb(),ac=db(),sc=$b(),uj=Gb(),pj=nx(),fj=ix(),dj=sx(),Op=Symbol("text"),oc=Symbol("prefixText"),hj=3,kp=class{constructor(){this.requests=0,this.mutedStream=new dj,this.mutedStream.pipe(process.stdout),this.mutedStream.mute();let t=this;this.ourEmit=function(n,r,...i){let{stdin:a}=process;if(t.requests>0||a.emit===t.ourEmit){if(n==="keypress")return;n==="data"&&r.includes(hj)&&process.emit("SIGINT"),Reflect.apply(t.oldEmit,this,[n,r,...i])}else Reflect.apply(process.stdin.emit,this,[n,r,...i])}}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=cj.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)}},cc,lc=class{constructor(t){cc||(cc=new kp),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:fj({stream:this.stream}),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(process.platform==="win32")this._spinner=ac.line;else if(t===void 0)this._spinner=ac.dots;else if(ac[t])this._spinner=ac[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[Op]}get prefixText(){return this[oc]}get isSpinning(){return this.id!==void 0}updateLineCount(){let t=this.stream.columns||80,n=typeof this[oc]=="string"?this[oc]+"-":"";this.lineCount=uj(n+"--"+this[Op]).split(`
|
|
26
|
+
`).reduce((r,i)=>r+Math.max(1,Math.ceil(pj(i)/t)),0)}set text(t){this[Op]=t,this.updateLineCount()}set prefixText(t){this[oc]=t,this.updateLineCount()}frame(){let{frames:t}=this.spinner,n=t[this.frameIndex];this.color&&(n=lj[this.color](n)),this.frameIndex=++this.frameIndex%t.length;let r=typeof this.prefixText=="string"&&this.prefixText!==""?this.prefixText+" ":"",i=typeof this.text=="string"?" "+this.text:"";return r+n+i}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.clear(),this.stream.write(this.frame()),this.linesToClear=this.lineCount,this}start(t){return t&&(this.text=t),this.isEnabled?this.isSpinning?this:(this.hideCursor&&ox.hide(this.stream),this.discardStdin&&process.stdin.isTTY&&(this.isDiscardingStdin=!0,cc.start()),this.render(),this.id=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.stream.write(`- ${this.text}
|
|
27
|
+
`),this)}stop(){return this.isEnabled?(clearInterval(this.id),this.id=void 0,this.frameIndex=0,this.clear(),this.hideCursor&&ox.show(this.stream),this.discardStdin&&process.stdin.isTTY&&this.isDiscardingStdin&&(cc.stop(),this.isDiscardingStdin=!1),this):this}succeed(t){return this.stopAndPersist({symbol:sc.success,text:t})}fail(t){return this.stopAndPersist({symbol:sc.error,text:t})}warn(t){return this.stopAndPersist({symbol:sc.warning,text:t})}info(t){return this.stopAndPersist({symbol:sc.info,text:t})}stopAndPersist(t={}){let n=t.prefixText||this.prefixText,r=typeof n=="string"&&n!==""?n+" ":"",i=t.text||this.text,a=typeof i=="string"?" "+i:"";return this.stop(),this.stream.write(`${r}${t.symbol||" "}${a}
|
|
28
|
+
`),this}},mj=function(e){return new lc(e)};Tp.exports=mj;Tp.exports.promise=(e,t)=>{if(typeof e.then!="function")throw new TypeError("Parameter `action` must be a Promise");let n=new lc(t);return n.start(),(async()=>{try{await e,n.succeed()}catch{n.fail()}})(),n}});var bx=b((h4,vx)=>{"use strict";var vj=(e,t,n)=>{let r=e.indexOf(t);if(r===-1)return e;let i=t.length,a=0,s="";do s+=e.substr(a,r-a)+t+n,a=r+i,r=e.indexOf(t,a);while(r!==-1);return s+=e.substr(a),s},bj=(e,t,n,r)=>{let i=0,a="";do{let s=e[r-1]==="\r";a+=e.substr(i,(s?r-1:r)-i)+t+(s?`\r
|
|
33
29
|
`:`
|
|
34
|
-
`)+n,r
|
|
35
|
-
`,
|
|
36
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function
|
|
37
|
-
`);return a!==-1&&(t=Mj(t,r,i,a)),i+t+r},Up,Lj=(e,...t)=>{let[n]=t;if(!Array.isArray(n))return t.join(" ");let i=t.slice(1),r=[n.raw[0]];for(let a=1;a<n.length;a++)r.push(String(i[a-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[a]));return Up===void 0&&(Up=Ex()),Up(e,r.join(""))};Object.defineProperties(xc.prototype,Jr);var os=xc();os.supportsColor=Wp;os.stderr=xc({level:Hp?Hp.level:0});os.stderr.supportsColor=Hp;os.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"};Ax.exports=os});var Rx=w((U6,Gp)=>{"use strict";var Mx=(e,t)=>{for(let n of Reflect.ownKeys(t))Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));return e};Gp.exports=Mx;Gp.exports.default=Mx});var Nx=w((W6,_c)=>{"use strict";var Pj=Rx(),wc=new WeakMap,Ix=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let n,i=0,r=e.displayName||e.name||"<anonymous>",a=function(...s){if(wc.set(a,++i),i===1)n=e.apply(this,s),e=null;else if(t.throw===!0)throw new Error(`Function \`${r}\` can only be called once`);return n};return Pj(a,e),wc.set(a,i),a};_c.exports=Ix;_c.exports.default=Ix;_c.exports.callCount=e=>{if(!wc.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return wc.get(e)}});var Lx=w((H6,Sc)=>{Sc.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Sc.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Sc.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var Dx=w((Y6,ea)=>{var je=global.process,Yi=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"};Yi(je)?(Px=require("assert"),Xr=Lx(),qx=/^win/i.test(je.platform),cs=require("events"),typeof cs!="function"&&(cs=cs.EventEmitter),je.__signal_exit_emitter__?it=je.__signal_exit_emitter__:(it=je.__signal_exit_emitter__=new cs,it.count=0,it.emitted={}),it.infinite||(it.setMaxListeners(1/0),it.infinite=!0),ea.exports=function(e,t){if(!Yi(global.process))return function(){};Px.equal(typeof e,"function","a callback must be provided for exit handler"),Qr===!1&&Zp();var n="exit";t&&t.alwaysLast&&(n="afterexit");var i=function(){it.removeListener(n,e),it.listeners("exit").length===0&&it.listeners("afterexit").length===0&&Oc()};return it.on(n,e),i},Oc=function(){!Qr||!Yi(global.process)||(Qr=!1,Xr.forEach(function(t){try{je.removeListener(t,Ec[t])}catch{}}),je.emit=kc,je.reallyExit=Vp,it.count-=1)},ea.exports.unload=Oc,Ki=function(t,n,i){it.emitted[t]||(it.emitted[t]=!0,it.emit(t,n,i))},Ec={},Xr.forEach(function(e){Ec[e]=function(){if(!!Yi(global.process)){var n=je.listeners(e);n.length===it.count&&(Oc(),Ki("exit",null,e),Ki("afterexit",null,e),qx&&e==="SIGHUP"&&(e="SIGINT"),je.kill(je.pid,e))}}}),ea.exports.signals=function(){return Xr},Qr=!1,Zp=function(){Qr||!Yi(global.process)||(Qr=!0,it.count+=1,Xr=Xr.filter(function(t){try{return je.on(t,Ec[t]),!0}catch{return!1}}),je.emit=Fx,je.reallyExit=Bx)},ea.exports.load=Zp,Vp=je.reallyExit,Bx=function(t){!Yi(global.process)||(je.exitCode=t||0,Ki("exit",je.exitCode,null),Ki("afterexit",je.exitCode,null),Vp.call(je,je.exitCode))},kc=je.emit,Fx=function(t,n){if(t==="exit"&&Yi(global.process)){n!==void 0&&(je.exitCode=n);var i=kc.apply(this,arguments);return Ki("exit",je.exitCode,null),Ki("afterexit",je.exitCode,null),i}else return kc.apply(this,arguments)}):ea.exports=function(){return function(){}};var Px,Xr,qx,cs,it,Oc,Ki,Ec,Qr,Zp,Vp,Bx,kc,Fx});var zx=w((K6,$x)=>{"use strict";var qj=Nx(),Bj=Dx();$x.exports=qj(()=>{Bj(()=>{process.stderr.write("\x1B[?25h")},{alwaysLast:!0})})});var Ux=w(ta=>{"use strict";var Fj=zx(),Cc=!1;ta.show=(e=process.stderr)=>{!e.isTTY||(Cc=!1,e.write("\x1B[?25h"))};ta.hide=(e=process.stderr)=>{!e.isTTY||(Fj(),Cc=!0,e.write("\x1B[?25l"))};ta.toggle=(e,t)=>{e!==void 0&&(Cc=e),Cc?ta.show(t):ta.hide(t)}});var Wx=w((Z6,Dj)=>{Dj.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"]},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"]},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"]},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"]}}});var Kx=w((V6,Yx)=>{"use strict";var Tc=Object.assign({},Wx()),Hx=Object.keys(Tc);Object.defineProperty(Tc,"random",{get(){let e=Math.floor(Math.random()*Hx.length),t=Hx[e];return Tc[t]}});Yx.exports=Tc});var Zx=w((J6,Gx)=>{"use strict";var $j=/[|\\{}()[\]^$+*?.]/g;Gx.exports=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace($j,"\\$&")}});var Jx=w((X6,Vx)=>{"use strict";Vx.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var Jp=w((Q6,ty)=>{var Gi=Jx(),ey={};for(Ac in Gi)Gi.hasOwnProperty(Ac)&&(ey[Gi[Ac]]=Ac);var Ac,ee=ty.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(_t in ee)if(ee.hasOwnProperty(_t)){if(!("channels"in ee[_t]))throw new Error("missing channels property: "+_t);if(!("labels"in ee[_t]))throw new Error("missing channel labels property: "+_t);if(ee[_t].labels.length!==ee[_t].channels)throw new Error("channel and label counts mismatch: "+_t);Xx=ee[_t].channels,Qx=ee[_t].labels,delete ee[_t].channels,delete ee[_t].labels,Object.defineProperty(ee[_t],"channels",{value:Xx}),Object.defineProperty(ee[_t],"labels",{value:Qx})}var Xx,Qx,_t;ee.rgb.hsl=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.min(t,n,i),a=Math.max(t,n,i),s=a-r,o,c,u;return a===r?o=0:t===a?o=(n-i)/s:n===a?o=2+(i-t)/s:i===a&&(o=4+(t-n)/s),o=Math.min(o*60,360),o<0&&(o+=360),u=(r+a)/2,a===r?c=0:u<=.5?c=s/(a+r):c=s/(2-a-r),[o,c*100,u*100]};ee.rgb.hsv=function(e){var t,n,i,r,a,s=e[0]/255,o=e[1]/255,c=e[2]/255,u=Math.max(s,o,c),l=u-Math.min(s,o,c),p=function(d){return(u-d)/6/l+1/2};return l===0?r=a=0:(a=l/u,t=p(s),n=p(o),i=p(c),s===u?r=i-n:o===u?r=1/3+t-i:c===u&&(r=2/3+n-t),r<0?r+=1:r>1&&(r-=1)),[r*360,a*100,u*100]};ee.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2],r=ee.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,i));return i=1-1/255*Math.max(t,Math.max(n,i)),[r,a*100,i*100]};ee.rgb.cmyk=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255,r,a,s,o;return o=Math.min(1-t,1-n,1-i),r=(1-t-o)/(1-o)||0,a=(1-n-o)/(1-o)||0,s=(1-i-o)/(1-o)||0,[r*100,a*100,s*100,o*100]};function zj(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}ee.rgb.keyword=function(e){var t=ey[e];if(t)return t;var n=1/0,i;for(var r in Gi)if(Gi.hasOwnProperty(r)){var a=Gi[r],s=zj(e,a);s<n&&(n=s,i=r)}return i};ee.keyword.rgb=function(e){return Gi[e]};ee.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;var r=t*.4124+n*.3576+i*.1805,a=t*.2126+n*.7152+i*.0722,s=t*.0193+n*.1192+i*.9505;return[r*100,a*100,s*100]};ee.rgb.lab=function(e){var t=ee.rgb.xyz(e),n=t[0],i=t[1],r=t[2],a,s,o;return n/=95.047,i/=100,r/=108.883,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,a=116*i-16,s=500*(n-i),o=200*(i-r),[a,s,o]};ee.hsl.rgb=function(e){var t=e[0]/360,n=e[1]/100,i=e[2]/100,r,a,s,o,c;if(n===0)return c=i*255,[c,c,c];i<.5?a=i*(1+n):a=i+n-i*n,r=2*i-a,o=[0,0,0];for(var u=0;u<3;u++)s=t+1/3*-(u-1),s<0&&s++,s>1&&s--,6*s<1?c=r+(a-r)*6*s:2*s<1?c=a:3*s<2?c=r+(a-r)*(2/3-s)*6:c=r,o[u]=c*255;return o};ee.hsl.hsv=function(e){var t=e[0],n=e[1]/100,i=e[2]/100,r=n,a=Math.max(i,.01),s,o;return i*=2,n*=i<=1?i:2-i,r*=a<=1?a:2-a,o=(i+n)/2,s=i===0?2*r/(a+r):2*n/(i+n),[t,s*100,o*100]};ee.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,i=e[2]/100,r=Math.floor(t)%6,a=t-Math.floor(t),s=255*i*(1-n),o=255*i*(1-n*a),c=255*i*(1-n*(1-a));switch(i*=255,r){case 0:return[i,c,s];case 1:return[o,i,s];case 2:return[s,i,c];case 3:return[s,o,i];case 4:return[c,s,i];case 5:return[i,s,o]}};ee.hsv.hsl=function(e){var t=e[0],n=e[1]/100,i=e[2]/100,r=Math.max(i,.01),a,s,o;return o=(2-n)*i,a=(2-n)*r,s=n*r,s/=a<=1?a:2-a,s=s||0,o/=2,[t,s*100,o*100]};ee.hwb.rgb=function(e){var t=e[0]/360,n=e[1]/100,i=e[2]/100,r=n+i,a,s,o,c;r>1&&(n/=r,i/=r),a=Math.floor(6*t),s=1-i,o=6*t-a,(a&1)!==0&&(o=1-o),c=n+o*(s-n);var u,l,p;switch(a){default:case 6:case 0:u=s,l=c,p=n;break;case 1:u=c,l=s,p=n;break;case 2:u=n,l=s,p=c;break;case 3:u=n,l=c,p=s;break;case 4:u=c,l=n,p=s;break;case 5:u=s,l=n,p=c;break}return[u*255,l*255,p*255]};ee.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,i=e[2]/100,r=e[3]/100,a,s,o;return a=1-Math.min(1,t*(1-r)+r),s=1-Math.min(1,n*(1-r)+r),o=1-Math.min(1,i*(1-r)+r),[a*255,s*255,o*255]};ee.xyz.rgb=function(e){var t=e[0]/100,n=e[1]/100,i=e[2]/100,r,a,s;return r=t*3.2406+n*-1.5372+i*-.4986,a=t*-.9689+n*1.8758+i*.0415,s=t*.0557+n*-.204+i*1.057,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*12.92,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92,s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92,r=Math.min(Math.max(0,r),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[r*255,a*255,s*255]};ee.xyz.lab=function(e){var t=e[0],n=e[1],i=e[2],r,a,s;return t/=95.047,n/=100,i/=108.883,t=t>.008856?Math.pow(t,1/3):7.787*t+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,r=116*n-16,a=500*(t-n),s=200*(n-i),[r,a,s]};ee.lab.xyz=function(e){var t=e[0],n=e[1],i=e[2],r,a,s;a=(t+16)/116,r=n/500+a,s=a-i/200;var o=Math.pow(a,3),c=Math.pow(r,3),u=Math.pow(s,3);return a=o>.008856?o:(a-16/116)/7.787,r=c>.008856?c:(r-16/116)/7.787,s=u>.008856?u:(s-16/116)/7.787,r*=95.047,a*=100,s*=108.883,[r,a,s]};ee.lab.lch=function(e){var t=e[0],n=e[1],i=e[2],r,a,s;return r=Math.atan2(i,n),a=r*360/2/Math.PI,a<0&&(a+=360),s=Math.sqrt(n*n+i*i),[t,s,a]};ee.lch.lab=function(e){var t=e[0],n=e[1],i=e[2],r,a,s;return s=i/360*2*Math.PI,r=n*Math.cos(s),a=n*Math.sin(s),[t,r,a]};ee.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],r=1 in arguments?arguments[1]:ee.rgb.hsv(e)[2];if(r=Math.round(r/50),r===0)return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return r===2&&(a+=60),a};ee.hsv.ansi16=function(e){return ee.rgb.ansi16(ee.hsv.rgb(e),e[2])};ee.rgb.ansi256=function(e){var t=e[0],n=e[1],i=e[2];if(t===n&&n===i)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;var r=16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5);return r};ee.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];var n=(~~(e>50)+1)*.5,i=(t&1)*n*255,r=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[i,r,a]};ee.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var n,i=Math.floor(e/36)/5*255,r=Math.floor((n=e%36)/6)/5*255,a=n%6/5*255;return[i,r,a]};ee.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255),n=t.toString(16).toUpperCase();return"000000".substring(n.length)+n};ee.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];t[0].length===3&&(n=n.split("").map(function(o){return o+o}).join(""));var i=parseInt(n,16),r=i>>16&255,a=i>>8&255,s=i&255;return[r,a,s]};ee.rgb.hcg=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.max(Math.max(t,n),i),a=Math.min(Math.min(t,n),i),s=r-a,o,c;return s<1?o=a/(1-s):o=0,s<=0?c=0:r===t?c=(n-i)/s%6:r===n?c=2+(i-t)/s:c=4+(t-n)/s+4,c/=6,c%=1,[c*360,s*100,o*100]};ee.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=1,r=0;return n<.5?i=2*t*n:i=2*t*(1-n),i<1&&(r=(n-.5*i)/(1-i)),[e[0],i*100,r*100]};ee.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=t*n,r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],i*100,r*100]};ee.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,i=e[2]/100;if(n===0)return[i*255,i*255,i*255];var r=[0,0,0],a=t%1*6,s=a%1,o=1-s,c=0;switch(Math.floor(a)){case 0:r[0]=1,r[1]=s,r[2]=0;break;case 1:r[0]=o,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=s;break;case 3:r[0]=0,r[1]=o,r[2]=1;break;case 4:r[0]=s,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=o}return c=(1-n)*i,[(n*r[0]+c)*255,(n*r[1]+c)*255,(n*r[2]+c)*255]};ee.hcg.hsv=function(e){var t=e[1]/100,n=e[2]/100,i=t+n*(1-t),r=0;return i>0&&(r=t/i),[e[0],r*100,i*100]};ee.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100,i=n*(1-t)+.5*t,r=0;return i>0&&i<.5?r=t/(2*i):i>=.5&&i<1&&(r=t/(2*(1-i))),[e[0],r*100,i*100]};ee.hcg.hwb=function(e){var t=e[1]/100,n=e[2]/100,i=t+n*(1-t);return[e[0],(i-t)*100,(1-i)*100]};ee.hwb.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=1-n,r=i-t,a=0;return r<1&&(a=(i-r)/(1-r)),[e[0],r*100,a*100]};ee.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};ee.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};ee.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};ee.gray.hsl=ee.gray.hsv=function(e){return[0,0,e[0]]};ee.gray.hwb=function(e){return[0,100,e[0]]};ee.gray.cmyk=function(e){return[0,0,0,e[0]]};ee.gray.lab=function(e){return[e[0],0,0]};ee.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255,n=(t<<16)+(t<<8)+t,i=n.toString(16).toUpperCase();return"000000".substring(i.length)+i};ee.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}});var iy=w((e4,ny)=>{var jc=Jp();function Uj(){for(var e={},t=Object.keys(jc),n=t.length,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}function Wj(e){var t=Uj(),n=[e];for(t[e].distance=0;n.length;)for(var i=n.pop(),r=Object.keys(jc[i]),a=r.length,s=0;s<a;s++){var o=r[s],c=t[o];c.distance===-1&&(c.distance=t[i].distance+1,c.parent=i,n.unshift(o))}return t}function Hj(e,t){return function(n){return t(e(n))}}function Yj(e,t){for(var n=[t[e].parent,e],i=jc[t[e].parent][e],r=t[e].parent;t[r].parent;)n.unshift(t[r].parent),i=Hj(jc[t[r].parent][r],i),r=t[r].parent;return i.conversion=n,i}ny.exports=function(e){for(var t=Wj(e),n={},i=Object.keys(t),r=i.length,a=0;a<r;a++){var s=i[a],o=t[s];o.parent!==null&&(n[s]=Yj(s,t))}return n}});var ay=w((t4,ry)=>{var Xp=Jp(),Kj=iy(),na={},Gj=Object.keys(Xp);function Zj(e){var t=function(n){return n==null?n:(arguments.length>1&&(n=Array.prototype.slice.call(arguments)),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function Vj(e){var t=function(n){if(n==null)return n;arguments.length>1&&(n=Array.prototype.slice.call(arguments));var i=e(n);if(typeof i=="object")for(var r=i.length,a=0;a<r;a++)i[a]=Math.round(i[a]);return i};return"conversion"in e&&(t.conversion=e.conversion),t}Gj.forEach(function(e){na[e]={},Object.defineProperty(na[e],"channels",{value:Xp[e].channels}),Object.defineProperty(na[e],"labels",{value:Xp[e].labels});var t=Kj(e),n=Object.keys(t);n.forEach(function(i){var r=t[i];na[e][i]=Vj(r),na[e][i].raw=Zj(r)})});ry.exports=na});var oy=w((n4,sy)=>{"use strict";var ia=ay(),Mc=(e,t)=>function(){return`\x1B[${e.apply(ia,arguments)+t}m`},Rc=(e,t)=>function(){let n=e.apply(ia,arguments);return`\x1B[${38+t};5;${n}m`},Ic=(e,t)=>function(){let n=e.apply(ia,arguments);return`\x1B[${38+t};2;${n[0]};${n[1]};${n[2]}m`};function Jj(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(let r of Object.keys(t)){let a=t[r];for(let s of Object.keys(a)){let o=a[s];t[s]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},a[s]=t[s],e.set(o[0],o[1])}Object.defineProperty(t,r,{value:a,enumerable:!1}),Object.defineProperty(t,"codes",{value:e,enumerable:!1})}let n=r=>r,i=(r,a,s)=>[r,a,s];t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi={ansi:Mc(n,0)},t.color.ansi256={ansi256:Rc(n,0)},t.color.ansi16m={rgb:Ic(i,0)},t.bgColor.ansi={ansi:Mc(n,10)},t.bgColor.ansi256={ansi256:Rc(n,10)},t.bgColor.ansi16m={rgb:Ic(i,10)};for(let r of Object.keys(ia)){if(typeof ia[r]!="object")continue;let a=ia[r];r==="ansi16"&&(r="ansi"),"ansi16"in a&&(t.color.ansi[r]=Mc(a.ansi16,0),t.bgColor.ansi[r]=Mc(a.ansi16,10)),"ansi256"in a&&(t.color.ansi256[r]=Rc(a.ansi256,0),t.bgColor.ansi256[r]=Rc(a.ansi256,10)),"rgb"in a&&(t.color.ansi16m[r]=Ic(a.rgb,0),t.bgColor.ansi16m[r]=Ic(a.rgb,10))}return t}Object.defineProperty(sy,"exports",{enumerable:!0,get:Jj})});var ly=w((i4,cy)=>{"use strict";cy.exports=(e,t)=>{t=t||process.argv;let n=e.startsWith("-")?"":e.length===1?"-":"--",i=t.indexOf(n+e),r=t.indexOf("--");return i!==-1&&(r===-1?!0:i<r)}});var py=w((r4,uy)=>{"use strict";var Xj=require("os"),cn=ly(),ht=process.env,ra;cn("no-color")||cn("no-colors")||cn("color=false")?ra=!1:(cn("color")||cn("colors")||cn("color=true")||cn("color=always"))&&(ra=!0);"FORCE_COLOR"in ht&&(ra=ht.FORCE_COLOR.length===0||parseInt(ht.FORCE_COLOR,10)!==0);function Qj(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function e5(e){if(ra===!1)return 0;if(cn("color=16m")||cn("color=full")||cn("color=truecolor"))return 3;if(cn("color=256"))return 2;if(e&&!e.isTTY&&ra!==!0)return 0;let t=ra?1:0;if(process.platform==="win32"){let n=Xj.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in ht)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(n=>n in ht)||ht.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in ht)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ht.TEAMCITY_VERSION)?1:0;if(ht.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in ht){let n=parseInt((ht.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ht.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ht.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ht.TERM)||"COLORTERM"in ht?1:(ht.TERM==="dumb",t)}function Qp(e){let t=e5(e);return Qj(t)}uy.exports={supportsColor:Qp,stdout:Qp(process.stdout),stderr:Qp(process.stderr)}});var gy=w((a4,my)=>{"use strict";var t5=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,fy=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,n5=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i5=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,r5=new Map([["n",`
|
|
38
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function hy(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):r5.get(e)||e}function a5(e,t){let n=[],i=t.trim().split(/\s*,\s*/g),r;for(let a of i)if(!isNaN(a))n.push(Number(a));else if(r=a.match(n5))n.push(r[2].replace(i5,(s,o,c)=>o?hy(o):c));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`);return n}function s5(e){fy.lastIndex=0;let t=[],n;for(;(n=fy.exec(e))!==null;){let i=n[1];if(n[2]){let r=a5(i,n[2]);t.push([i].concat(r))}else t.push([i])}return t}function dy(e,t){let n={};for(let r of t)for(let a of r.styles)n[a[0]]=r.inverse?null:a.slice(1);let i=e;for(let r of Object.keys(n))if(Array.isArray(n[r])){if(!(r in i))throw new Error(`Unknown Chalk style: ${r}`);n[r].length>0?i=i[r].apply(i,n[r]):i=i[r]}return i}my.exports=(e,t)=>{let n=[],i=[],r=[];if(t.replace(t5,(a,s,o,c,u,l)=>{if(s)r.push(hy(s));else if(c){let p=r.join("");r=[],i.push(n.length===0?p:dy(e,n)(p)),n.push({inverse:o,styles:s5(c)})}else if(u){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");i.push(dy(e,n)(r.join(""))),r=[],n.pop()}else r.push(l)}),i.push(r.join("")),n.length>0){let a=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(a)}return i.join("")}});var wy=w((s4,us)=>{"use strict";var tf=Zx(),Ye=oy(),ef=py().stdout,o5=gy(),vy=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),xy=["ansi","ansi","ansi256","ansi16m"],yy=new Set(["gray"]),aa=Object.create(null);function by(e,t){t=t||{};let n=ef?ef.level:0;e.level=t.level===void 0?n:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function ls(e){if(!this||!(this instanceof ls)||this.template){let t={};return by(t,e),t.template=function(){let n=[].slice.call(arguments);return u5.apply(null,[t.template].concat(n))},Object.setPrototypeOf(t,ls.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=ls,t.template}by(this,e)}vy&&(Ye.blue.open="\x1B[94m");for(let e of Object.keys(Ye))Ye[e].closeRe=new RegExp(tf(Ye[e].close),"g"),aa[e]={get(){let t=Ye[e];return Nc.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};aa.visible={get(){return Nc.call(this,this._styles||[],!0,"visible")}};Ye.color.closeRe=new RegExp(tf(Ye.color.close),"g");for(let e of Object.keys(Ye.color.ansi))yy.has(e)||(aa[e]={get(){let t=this.level;return function(){let i={open:Ye.color[xy[t]][e].apply(null,arguments),close:Ye.color.close,closeRe:Ye.color.closeRe};return Nc.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}});Ye.bgColor.closeRe=new RegExp(tf(Ye.bgColor.close),"g");for(let e of Object.keys(Ye.bgColor.ansi)){if(yy.has(e))continue;let t="bg"+e[0].toUpperCase()+e.slice(1);aa[t]={get(){let n=this.level;return function(){let r={open:Ye.bgColor[xy[n]][e].apply(null,arguments),close:Ye.bgColor.close,closeRe:Ye.bgColor.closeRe};return Nc.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}}}var c5=Object.defineProperties(()=>{},aa);function Nc(e,t,n){let i=function(){return l5.apply(i,arguments)};i._styles=e,i._empty=t;let r=this;return Object.defineProperty(i,"level",{enumerable:!0,get(){return r.level},set(a){r.level=a}}),Object.defineProperty(i,"enabled",{enumerable:!0,get(){return r.enabled},set(a){r.enabled=a}}),i.hasGrey=this.hasGrey||n==="gray"||n==="grey",i.__proto__=c5,i}function l5(){let e=arguments,t=e.length,n=String(arguments[0]);if(t===0)return"";if(t>1)for(let r=1;r<t;r++)n+=" "+e[r];if(!this.enabled||this.level<=0||!n)return this._empty?"":n;let i=Ye.dim.open;vy&&this.hasGrey&&(Ye.dim.open="");for(let r of this._styles.slice().reverse())n=r.open+n.replace(r.closeRe,r.open)+r.close,n=n.replace(/\r?\n/g,`${r.close}$&${r.open}`);return Ye.dim.open=i,n}function u5(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");let n=[].slice.call(arguments,2),i=[t.raw[0]];for(let r=1;r<t.length;r++)i.push(String(n[r-1]).replace(/[{}\\]/g,"\\$&")),i.push(String(t.raw[r]));return o5(e,i.join(""))}Object.defineProperties(ls.prototype,aa);us.exports=ls();us.exports.supportsColor=ef;us.exports.default=us.exports});var Sy=w((o4,_y)=>{"use strict";var ni=wy(),p5=process.platform!=="win32"||process.env.CI||process.env.TERM==="xterm-256color",f5={info:ni.blue("\u2139"),success:ni.green("\u2714"),warning:ni.yellow("\u26A0"),error:ni.red("\u2716")},d5={info:ni.blue("i"),success:ni.green("\u221A"),warning:ni.yellow("\u203C"),error:ni.red("\xD7")};_y.exports=p5?f5:d5});var Ey=w((c4,Oy)=>{"use strict";Oy.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 Cy=w((l4,ky)=>{"use strict";var h5=Ey();ky.exports=e=>typeof e=="string"?e.replace(h5(),""):e});var Ty=w((u4,Lc)=>{var m5=function(){"use strict";function e(s,o,c,u){var l;typeof o=="object"&&(c=o.depth,u=o.prototype,l=o.filter,o=o.circular);var p=[],d=[],g=typeof Buffer<"u";typeof o>"u"&&(o=!0),typeof c>"u"&&(c=1/0);function x(b,h){if(b===null)return null;if(h==0)return b;var _,k;if(typeof b!="object")return b;if(e.__isArray(b))_=[];else if(e.__isRegExp(b))_=new RegExp(b.source,a(b)),b.lastIndex&&(_.lastIndex=b.lastIndex);else if(e.__isDate(b))_=new Date(b.getTime());else{if(g&&Buffer.isBuffer(b))return Buffer.allocUnsafe?_=Buffer.allocUnsafe(b.length):_=new Buffer(b.length),b.copy(_),_;typeof u>"u"?(k=Object.getPrototypeOf(b),_=Object.create(k)):(_=Object.create(u),k=u)}if(o){var I=p.indexOf(b);if(I!=-1)return d[I];p.push(b),d.push(_)}for(var R in b){var M;k&&(M=Object.getOwnPropertyDescriptor(k,R)),!(M&&M.set==null)&&(_[R]=x(b[R],h-1))}return _}return x(s,c)}e.clonePrototype=function(o){if(o===null)return null;var c=function(){};return c.prototype=o,new c};function t(s){return Object.prototype.toString.call(s)}e.__objToStr=t;function n(s){return typeof s=="object"&&t(s)==="[object Date]"}e.__isDate=n;function i(s){return typeof s=="object"&&t(s)==="[object Array]"}e.__isArray=i;function r(s){return typeof s=="object"&&t(s)==="[object RegExp]"}e.__isRegExp=r;function a(s){var o="";return s.global&&(o+="g"),s.ignoreCase&&(o+="i"),s.multiline&&(o+="m"),o}return e.__getRegExpFlags=a,e}();typeof Lc=="object"&&Lc.exports&&(Lc.exports=m5)});var jy=w((p4,Ay)=>{var g5=Ty();Ay.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(n){typeof e[n]>"u"&&(e[n]=g5(t[n]))}),e}});var Ry=w((f4,My)=>{My.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 Py=w((d4,nf)=>{"use strict";var b5=jy(),ps=Ry(),Ny={nul:0,control:0};nf.exports=function(t){return Ly(t,Ny)};nf.exports.config=function(e){return e=b5(e||{},Ny),function(n){return Ly(n,e)}};function Ly(e,t){if(typeof e!="string")return Iy(e,t);for(var n=0,i=0;i<e.length;i++){var r=Iy(e.charCodeAt(i),t);if(r<0)return-1;n+=r}return n}function Iy(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:v5(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 v5(e){var t=0,n=ps.length-1,i;if(e<ps[0][0]||e>ps[n][1])return!1;for(;n>=t;)if(i=Math.floor((t+n)/2),e>ps[i][1])t=i+1;else if(e<ps[i][0])n=i-1;else return!0;return!1}});var By=w((h4,qy)=>{"use strict";qy.exports=({stream:e=process.stdout}={})=>Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))});var Dy=w((m4,Fy)=>{var rf=require("stream");Fy.exports=rt;function rt(e){rf.apply(this),e=e||{},this.writable=this.readable=!0,this.muted=!1,this.on("pipe",this._onpipe),this.replace=e.replace,this._prompt=e.prompt||null,this._hadControl=!1}rt.prototype=Object.create(rf.prototype);Object.defineProperty(rt.prototype,"constructor",{value:rt,enumerable:!1});rt.prototype.mute=function(){this.muted=!0};rt.prototype.unmute=function(){this.muted=!1};Object.defineProperty(rt.prototype,"_onpipe",{value:x5,enumerable:!1,writable:!0,configurable:!0});function x5(e){this._src=e}Object.defineProperty(rt.prototype,"isTTY",{get:y5,set:w5,enumerable:!0,configurable:!0});function y5(){return this._dest?this._dest.isTTY:this._src?this._src.isTTY:!1}function w5(e){Object.defineProperty(this,"isTTY",{value:e,enumerable:!0,writable:!0,configurable:!0})}Object.defineProperty(rt.prototype,"rows",{get:function(){return this._dest?this._dest.rows:this._src?this._src.rows:void 0},enumerable:!0,configurable:!0});Object.defineProperty(rt.prototype,"columns",{get:function(){return this._dest?this._dest.columns:this._src?this._src.columns:void 0},enumerable:!0,configurable:!0});rt.prototype.pipe=function(e,t){return this._dest=e,rf.prototype.pipe.call(this,e,t)};rt.prototype.pause=function(){if(this._src)return this._src.pause()};rt.prototype.resume=function(){if(this._src)return this._src.resume()};rt.prototype.write=function(e){if(this.muted){if(!this.replace)return!0;if(e.match(/^\u001b/))return e.indexOf(this._prompt)===0&&(e=e.substr(this._prompt.length),e=e.replace(/./g,this.replace),e=this._prompt+e),this._hadControl=!0,this.emit("data",e);this._prompt&&this._hadControl&&e.indexOf(this._prompt)===0&&(this._hadControl=!1,this.emit("data",this._prompt),e=e.substr(this._prompt.length)),e=e.toString().replace(/./g,this.replace)}this.emit("data",e)};rt.prototype.end=function(e){this.muted&&(e&&this.replace?e=e.toString().replace(/./g,this.replace):e=null),e&&this.emit("data",e),this.emit("end")};function af(e){return function(){var t=this._dest,n=this._src;t&&t[e]&&t[e].apply(t,arguments),n&&n[e]&&n[e].apply(n,arguments)}}rt.prototype.destroy=af("destroy");rt.prototype.destroySoon=af("destroySoon");rt.prototype.close=af("close")});var ii=w((g4,cf)=>{"use strict";var _5=require("readline"),S5=jx(),$y=Ux(),Pc=Kx(),qc=Sy(),O5=Cy(),E5=Py(),k5=By(),C5=Dy(),sf=Symbol("text"),Bc=Symbol("prefixText"),T5=3,of=class{constructor(){this.requests=0,this.mutedStream=new C5,this.mutedStream.pipe(process.stdout),this.mutedStream.mute();let t=this;this.ourEmit=function(n,i,...r){let{stdin:a}=process;if(t.requests>0||a.emit===t.ourEmit){if(n==="keypress")return;n==="data"&&i.includes(T5)&&process.emit("SIGINT"),Reflect.apply(t.oldEmit,this,[n,i,...r])}else Reflect.apply(process.stdin.emit,this,[n,i,...r])}}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=_5.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)}},Fc,Dc=class{constructor(t){Fc||(Fc=new of),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:k5({stream:this.stream}),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(process.platform==="win32")this._spinner=Pc.line;else if(t===void 0)this._spinner=Pc.dots;else if(Pc[t])this._spinner=Pc[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[sf]}get prefixText(){return this[Bc]}get isSpinning(){return this.id!==void 0}updateLineCount(){let t=this.stream.columns||80,n=typeof this[Bc]=="string"?this[Bc]+"-":"";this.lineCount=O5(n+"--"+this[sf]).split(`
|
|
39
|
-
`).reduce((i,r)=>i+Math.max(1,Math.ceil(E5(r)/t)),0)}set text(t){this[sf]=t,this.updateLineCount()}set prefixText(t){this[Bc]=t,this.updateLineCount()}frame(){let{frames:t}=this.spinner,n=t[this.frameIndex];this.color&&(n=S5[this.color](n)),this.frameIndex=++this.frameIndex%t.length;let i=typeof this.prefixText=="string"&&this.prefixText!==""?this.prefixText+" ":"",r=typeof this.text=="string"?" "+this.text:"";return i+n+r}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.clear(),this.stream.write(this.frame()),this.linesToClear=this.lineCount,this}start(t){return t&&(this.text=t),this.isEnabled?this.isSpinning?this:(this.hideCursor&&$y.hide(this.stream),this.discardStdin&&process.stdin.isTTY&&(this.isDiscardingStdin=!0,Fc.start()),this.render(),this.id=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.stream.write(`- ${this.text}
|
|
40
|
-
`),this)}stop(){return this.isEnabled?(clearInterval(this.id),this.id=void 0,this.frameIndex=0,this.clear(),this.hideCursor&&$y.show(this.stream),this.discardStdin&&process.stdin.isTTY&&this.isDiscardingStdin&&(Fc.stop(),this.isDiscardingStdin=!1),this):this}succeed(t){return this.stopAndPersist({symbol:qc.success,text:t})}fail(t){return this.stopAndPersist({symbol:qc.error,text:t})}warn(t){return this.stopAndPersist({symbol:qc.warning,text:t})}info(t){return this.stopAndPersist({symbol:qc.info,text:t})}stopAndPersist(t={}){let n=t.prefixText||this.prefixText,i=typeof n=="string"&&n!==""?n+" ":"",r=t.text||this.text,a=typeof r=="string"?" "+r:"";return this.stop(),this.stream.write(`${i}${t.symbol||" "}${a}
|
|
41
|
-
`),this}},A5=function(e){return new Dc(e)};cf.exports=A5;cf.exports.promise=(e,t)=>{if(typeof e.then!="function")throw new TypeError("Parameter `action` must be a Promise");let n=new Dc(t);return n.start(),(async()=>{try{await e,n.succeed()}catch{n.fail()}})(),n}});var ds=w((C4,df)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?df.exports={nextTick:z5}:df.exports=process;function z5(e,t,n,i){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var r=arguments.length,a,s;switch(r){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function(){e.call(null,t)});case 3:return process.nextTick(function(){e.call(null,t,n)});case 4:return process.nextTick(function(){e.call(null,t,n,i)});default:for(a=new Array(r-1),s=0;s<a.length;)a[s++]=arguments[s];return process.nextTick(function(){e.apply(null,a)})}}});var Xy=w((T4,Jy)=>{var U5={}.toString;Jy.exports=Array.isArray||function(e){return U5.call(e)=="[object Array]"}});var hf=w((A4,Qy)=>{Qy.exports=require("stream")});var hs=w((mf,t1)=>{var Uc=require("buffer"),Rn=Uc.Buffer;function e1(e,t){for(var n in e)t[n]=e[n]}Rn.from&&Rn.alloc&&Rn.allocUnsafe&&Rn.allocUnsafeSlow?t1.exports=Uc:(e1(Uc,mf),mf.Buffer=oa);function oa(e,t,n){return Rn(e,t,n)}e1(Rn,oa);oa.from=function(e,t,n){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Rn(e,t,n)};oa.alloc=function(e,t,n){if(typeof e!="number")throw new TypeError("Argument must be a number");var i=Rn(e);return t!==void 0?typeof n=="string"?i.fill(t,n):i.fill(t):i.fill(0),i};oa.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Rn(e)};oa.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Uc.SlowBuffer(e)}});var ca=w(mt=>{function W5(e){return Array.isArray?Array.isArray(e):Wc(e)==="[object Array]"}mt.isArray=W5;function H5(e){return typeof e=="boolean"}mt.isBoolean=H5;function Y5(e){return e===null}mt.isNull=Y5;function K5(e){return e==null}mt.isNullOrUndefined=K5;function G5(e){return typeof e=="number"}mt.isNumber=G5;function Z5(e){return typeof e=="string"}mt.isString=Z5;function V5(e){return typeof e=="symbol"}mt.isSymbol=V5;function J5(e){return e===void 0}mt.isUndefined=J5;function X5(e){return Wc(e)==="[object RegExp]"}mt.isRegExp=X5;function Q5(e){return typeof e=="object"&&e!==null}mt.isObject=Q5;function e3(e){return Wc(e)==="[object Date]"}mt.isDate=e3;function t3(e){return Wc(e)==="[object Error]"||e instanceof Error}mt.isError=t3;function n3(e){return typeof e=="function"}mt.isFunction=n3;function i3(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}mt.isPrimitive=i3;mt.isBuffer=require("buffer").Buffer.isBuffer;function Wc(e){return Object.prototype.toString.call(e)}});var n1=w((M4,gf)=>{typeof Object.create=="function"?gf.exports=function(t,n){n&&(t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:gf.exports=function(t,n){if(n){t.super_=n;var i=function(){};i.prototype=n.prototype,t.prototype=new i,t.prototype.constructor=t}}});var la=w((R4,vf)=>{try{if(bf=require("util"),typeof bf.inherits!="function")throw"";vf.exports=bf.inherits}catch{vf.exports=n1()}var bf});var r1=w((I4,xf)=>{"use strict";function r3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i1=hs().Buffer,ms=require("util");function a3(e,t,n){e.copy(t,n)}xf.exports=function(){function e(){r3(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(n){var i={data:n,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length},e.prototype.unshift=function(n){var i={data:n,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length},e.prototype.shift=function(){if(this.length!==0){var n=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,n}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(n){if(this.length===0)return"";for(var i=this.head,r=""+i.data;i=i.next;)r+=n+i.data;return r},e.prototype.concat=function(n){if(this.length===0)return i1.alloc(0);if(this.length===1)return this.head.data;for(var i=i1.allocUnsafe(n>>>0),r=this.head,a=0;r;)a3(r.data,i,a),a+=r.data.length,r=r.next;return i},e}();ms&&ms.inspect&&ms.inspect.custom&&(xf.exports.prototype[ms.inspect.custom]=function(){var e=ms.inspect({length:this.length});return this.constructor.name+" "+e})});var yf=w((N4,o1)=>{"use strict";var a1=ds();function s3(e,t){var n=this,i=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return i||r?(t?t(e):e&&(!this._writableState||!this._writableState.errorEmitted)&&a1.nextTick(s1,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(a){!t&&a?(a1.nextTick(s1,n,a),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(a)}),this)}function o3(){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.finished=!1,this._writableState.errorEmitted=!1)}function s1(e,t){e.emit("error",t)}o1.exports={destroy:s3,undestroy:o3}});var l1=w((L4,c1)=>{c1.exports=require("util").deprecate});var _f=w((P4,b1)=>{"use strict";var Vi=ds();b1.exports=Ke;function p1(e){var t=this;this.next=null,this.entry=null,this.finish=function(){E3(t,e)}}var c3=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Vi.nextTick,ua;Ke.WritableState=bs;var f1=Object.create(ca());f1.inherits=la();var l3={deprecate:l1()},d1=hf(),Yc=hs().Buffer,u3=global.Uint8Array||function(){};function p3(e){return Yc.from(e)}function f3(e){return Yc.isBuffer(e)||e instanceof u3}var h1=yf();f1.inherits(Ke,d1);function d3(){}function bs(e,t){ua=ua||Ji(),e=e||{};var n=t instanceof ua;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,r=e.writableHighWaterMark,a=this.objectMode?16:16*1024;i||i===0?this.highWaterMark=i:n&&(r||r===0)?this.highWaterMark=r:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=e.decodeStrings===!1;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(o){y3(t,o)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new p1(this)}bs.prototype.getBuffer=function(){for(var t=this.bufferedRequest,n=[];t;)n.push(t),t=t.next;return n};(function(){try{Object.defineProperty(bs.prototype,"buffer",{get:l3.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Hc;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Hc=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ke,Symbol.hasInstance,{value:function(e){return Hc.call(this,e)?!0:this!==Ke?!1:e&&e._writableState instanceof bs}})):Hc=function(e){return e instanceof this};function Ke(e){if(ua=ua||Ji(),!Hc.call(Ke,this)&&!(this instanceof ua))return new Ke(e);this._writableState=new bs(e,this),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)),d1.call(this)}Ke.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function h3(e,t){var n=new Error("write after end");e.emit("error",n),Vi.nextTick(t,n)}function m3(e,t,n,i){var r=!0,a=!1;return n===null?a=new TypeError("May not write null values to stream"):typeof n!="string"&&n!==void 0&&!t.objectMode&&(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),Vi.nextTick(i,a),r=!1),r}Ke.prototype.write=function(e,t,n){var i=this._writableState,r=!1,a=!i.objectMode&&f3(e);return a&&!Yc.isBuffer(e)&&(e=p3(e)),typeof t=="function"&&(n=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),typeof n!="function"&&(n=d3),i.ended?h3(this,n):(a||m3(this,i,e,n))&&(i.pendingcb++,r=b3(this,i,a,e,t,n)),r};Ke.prototype.cork=function(){var e=this._writableState;e.corked++};Ke.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest&&m1(this,e))};Ke.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 TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this};function g3(e,t,n){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=Yc.from(t,n)),t}Object.defineProperty(Ke.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function b3(e,t,n,i,r,a){if(!n){var s=g3(t,i,r);i!==s&&(n=!0,r="buffer",i=s)}var o=t.objectMode?1:i.length;t.length+=o;var c=t.length<t.highWaterMark;if(c||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:i,encoding:r,isBuf:n,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else wf(e,t,!1,o,i,r,a);return c}function wf(e,t,n,i,r,a,s){t.writelen=i,t.writecb=s,t.writing=!0,t.sync=!0,n?e._writev(r,t.onwrite):e._write(r,a,t.onwrite),t.sync=!1}function v3(e,t,n,i,r){--t.pendingcb,n?(Vi.nextTick(r,i),Vi.nextTick(gs,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(r(i),e._writableState.errorEmitted=!0,e.emit("error",i),gs(e,t))}function x3(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function y3(e,t){var n=e._writableState,i=n.sync,r=n.writecb;if(x3(n),t)v3(e,n,i,t,r);else{var a=g1(n);!a&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest&&m1(e,n),i?c3(u1,e,n,a,r):u1(e,n,a,r)}}function u1(e,t,n,i){n||w3(e,t),t.pendingcb--,i(),gs(e,t)}function w3(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function m1(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var i=t.bufferedRequestCount,r=new Array(i),a=t.corkedRequestsFree;a.entry=n;for(var s=0,o=!0;n;)r[s]=n,n.isBuf||(o=!1),n=n.next,s+=1;r.allBuffers=o,wf(e,t,!0,t.length,r,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new p1(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,l=n.callback,p=t.objectMode?1:c.length;if(wf(e,t,!1,p,c,u,l),n=n.next,t.bufferedRequestCount--,t.writing)break}n===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}Ke.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))};Ke.prototype._writev=null;Ke.prototype.end=function(e,t,n){var i=this._writableState;typeof e=="function"?(n=e,e=null,t=null):typeof t=="function"&&(n=t,t=null),e!=null&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),!i.ending&&!i.finished&&O3(this,i,n)};function g1(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function _3(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),gs(e,t)})}function S3(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"?(t.pendingcb++,t.finalCalled=!0,Vi.nextTick(_3,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function gs(e,t){var n=g1(t);return n&&(S3(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"))),n}function O3(e,t,n){t.ending=!0,gs(e,t),n&&(t.finished?Vi.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function E3(e,t,n){var i=e.entry;for(e.entry=null;i;){var r=i.callback;t.pendingcb--,r(n),i=i.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}Object.defineProperty(Ke.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){!this._writableState||(this._writableState.destroyed=e)}});Ke.prototype.destroy=h1.destroy;Ke.prototype._undestroy=h1.undestroy;Ke.prototype._destroy=function(e,t){this.end(),t(e)}});var Ji=w((q4,w1)=>{"use strict";var v1=ds(),k3=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};w1.exports=In;var x1=Object.create(ca());x1.inherits=la();var y1=Ef(),Of=_f();x1.inherits(In,y1);for(Sf=k3(Of.prototype),Kc=0;Kc<Sf.length;Kc++)Gc=Sf[Kc],In.prototype[Gc]||(In.prototype[Gc]=Of.prototype[Gc]);var Sf,Gc,Kc;function In(e){if(!(this instanceof In))return new In(e);y1.call(this,e),Of.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",C3)}Object.defineProperty(In.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function C3(){this.allowHalfOpen||this._writableState.ended||v1.nextTick(T3,this)}function T3(e){e.end()}Object.defineProperty(In.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e)}});In.prototype._destroy=function(e,t){this.push(null),this.end(),v1.nextTick(t,e)}});var Tf=w(S1=>{"use strict";var Cf=hs().Buffer,_1=Cf.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 A3(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 j3(e){var t=A3(e);if(typeof t!="string"&&(Cf.isEncoding===_1||!_1(e)))throw new Error("Unknown encoding: "+e);return t||e}S1.StringDecoder=vs;function vs(e){this.encoding=j3(e);var t;switch(this.encoding){case"utf16le":this.text=P3,this.end=q3,t=4;break;case"utf8":this.fillLast=I3,t=4;break;case"base64":this.text=B3,this.end=F3,t=3;break;default:this.write=D3,this.end=$3;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Cf.allocUnsafe(t)}vs.prototype.write=function(e){if(e.length===0)return"";var t,n;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""};vs.prototype.end=L3;vs.prototype.text=N3;vs.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 kf(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function M3(e,t,n){var i=t.length-1;if(i<n)return 0;var r=kf(t[i]);return r>=0?(r>0&&(e.lastNeed=r-1),r):--i<n||r===-2?0:(r=kf(t[i]),r>=0?(r>0&&(e.lastNeed=r-2),r):--i<n||r===-2?0:(r=kf(t[i]),r>=0?(r>0&&(r===2?r=0:e.lastNeed=r-3),r):0))}function R3(e,t,n){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 I3(e){var t=this.lastTotal-this.lastNeed,n=R3(this,e,t);if(n!==void 0)return n;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 N3(e,t){var n=M3(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var i=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function L3(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function P3(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var i=n.charCodeAt(n.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],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function q3(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function B3(e,t){var n=(e.length-t)%3;return n===0?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,n===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-n))}function F3(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function D3(e){return e.toString(this.encoding)}function $3(e){return e&&e.length?this.write(e):""}});var Ef=w((D4,L1)=>{"use strict";var fa=ds();L1.exports=Ae;var z3=Xy(),xs;Ae.ReadableState=j1;var F4=require("events").EventEmitter,C1=function(e,t){return e.listeners(t).length},If=hf(),ys=hs().Buffer,U3=global.Uint8Array||function(){};function W3(e){return ys.from(e)}function H3(e){return ys.isBuffer(e)||e instanceof U3}var T1=Object.create(ca());T1.inherits=la();var Af=require("util"),we=void 0;Af&&Af.debuglog?we=Af.debuglog("stream"):we=function(){};var Y3=r1(),A1=yf(),pa;T1.inherits(Ae,If);var jf=["error","close","destroy","pause","resume"];function K3(e,t,n){if(typeof e.prependListener=="function")return e.prependListener(t,n);!e._events||!e._events[t]?e.on(t,n):z3(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]}function j1(e,t){xs=xs||Ji(),e=e||{};var n=t instanceof xs;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,r=e.readableHighWaterMark,a=this.objectMode?16:16*1024;i||i===0?this.highWaterMark=i:n&&(r||r===0)?this.highWaterMark=r:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new Y3,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.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(pa||(pa=Tf().StringDecoder),this.decoder=new pa(e.encoding),this.encoding=e.encoding)}function Ae(e){if(xs=xs||Ji(),!(this instanceof Ae))return new Ae(e);this._readableState=new j1(e,this),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),If.call(this)}Object.defineProperty(Ae.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){!this._readableState||(this._readableState.destroyed=e)}});Ae.prototype.destroy=A1.destroy;Ae.prototype._undestroy=A1.undestroy;Ae.prototype._destroy=function(e,t){this.push(null),t(e)};Ae.prototype.push=function(e,t){var n=this._readableState,i;return n.objectMode?i=!0:typeof e=="string"&&(t=t||n.defaultEncoding,t!==n.encoding&&(e=ys.from(e,t),t=""),i=!0),M1(this,e,t,!1,i)};Ae.prototype.unshift=function(e){return M1(this,e,null,!0,!1)};function M1(e,t,n,i,r){var a=e._readableState;if(t===null)a.reading=!1,J3(e,a);else{var s;r||(s=G3(a,t)),s?e.emit("error",s):a.objectMode||t&&t.length>0?(typeof t!="string"&&!a.objectMode&&Object.getPrototypeOf(t)!==ys.prototype&&(t=W3(t)),i?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):Mf(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||t.length!==0?Mf(e,a,t,!1):R1(e,a)):Mf(e,a,t,!1))):i||(a.reading=!1)}return Z3(a)}function Mf(e,t,n,i){t.flowing&&t.length===0&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&Zc(e)),R1(e,t)}function G3(e,t){var n;return!H3(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(n=new TypeError("Invalid non-string/buffer chunk")),n}function Z3(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}Ae.prototype.isPaused=function(){return this._readableState.flowing===!1};Ae.prototype.setEncoding=function(e){return pa||(pa=Tf().StringDecoder),this._readableState.decoder=new pa(e),this._readableState.encoding=e,this};var O1=8388608;function V3(e){return e>=O1?e=O1:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function E1(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=V3(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}Ae.prototype.read=function(e){we("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return we("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?Rf(this):Zc(this),null;if(e=E1(e,t),e===0&&t.ended)return t.length===0&&Rf(this),null;var i=t.needReadable;we("need readable",i),(t.length===0||t.length-e<t.highWaterMark)&&(i=!0,we("length less than watermark",i)),t.ended||t.reading?(i=!1,we("reading or ended",i)):i&&(we("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=E1(n,t)));var r;return e>0?r=I1(e,t):r=null,r===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&Rf(this)),r!==null&&this.emit("data",r),r};function J3(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,Zc(e)}}function Zc(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(we("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?fa.nextTick(k1,e):k1(e))}function k1(e){we("emit readable"),e.emit("readable"),Nf(e)}function R1(e,t){t.readingMore||(t.readingMore=!0,fa.nextTick(X3,e,t))}function X3(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(we("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}Ae.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))};Ae.prototype.pipe=function(e,t){var n=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,we("pipe count=%d opts=%j",i.pipesCount,t);var r=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,a=r?o:h;i.endEmitted?fa.nextTick(a):n.once("end",a),e.on("unpipe",s);function s(_,k){we("onunpipe"),_===n&&k&&k.hasUnpiped===!1&&(k.hasUnpiped=!0,l())}function o(){we("onend"),e.end()}var c=Q3(n);e.on("drain",c);var u=!1;function l(){we("cleanup"),e.removeListener("close",x),e.removeListener("finish",b),e.removeListener("drain",c),e.removeListener("error",g),e.removeListener("unpipe",s),n.removeListener("end",o),n.removeListener("end",h),n.removeListener("data",d),u=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c()}var p=!1;n.on("data",d);function d(_){we("ondata"),p=!1;var k=e.write(_);k===!1&&!p&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&N1(i.pipes,e)!==-1)&&!u&&(we("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function g(_){we("onerror",_),h(),e.removeListener("error",g),C1(e,"error")===0&&e.emit("error",_)}K3(e,"error",g);function x(){e.removeListener("finish",b),h()}e.once("close",x);function b(){we("onfinish"),e.removeListener("close",x),h()}e.once("finish",b);function h(){we("unpipe"),n.unpipe(e)}return e.emit("pipe",n),i.flowing||(we("pipe resume"),n.resume()),e};function Q3(e){return function(){var t=e._readableState;we("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&C1(e,"data")&&(t.flowing=!0,Nf(e))}}Ae.prototype.unpipe=function(e){var t=this._readableState,n={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,n),this);if(!e){var i=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<r;a++)i[a].emit("unpipe",this,n);return this}var s=N1(t.pipes,e);return s===-1?this:(t.pipes.splice(s,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n),this)};Ae.prototype.on=function(e,t){var n=If.prototype.on.call(this,e,t);if(e==="data")this._readableState.flowing!==!1&&this.resume();else if(e==="readable"){var i=this._readableState;!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&Zc(this):fa.nextTick(eM,this))}return n};Ae.prototype.addListener=Ae.prototype.on;function eM(e){we("readable nexttick read 0"),e.read(0)}Ae.prototype.resume=function(){var e=this._readableState;return e.flowing||(we("resume"),e.flowing=!0,tM(this,e)),this};function tM(e,t){t.resumeScheduled||(t.resumeScheduled=!0,fa.nextTick(nM,e,t))}function nM(e,t){t.reading||(we("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),Nf(e),t.flowing&&!t.reading&&e.read(0)}Ae.prototype.pause=function(){return we("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(we("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function Nf(e){var t=e._readableState;for(we("flow",t.flowing);t.flowing&&e.read()!==null;);}Ae.prototype.wrap=function(e){var t=this,n=this._readableState,i=!1;e.on("end",function(){if(we("wrapped end"),n.decoder&&!n.ended){var s=n.decoder.end();s&&s.length&&t.push(s)}t.push(null)}),e.on("data",function(s){if(we("wrapped data"),n.decoder&&(s=n.decoder.write(s)),!(n.objectMode&&s==null)&&!(!n.objectMode&&(!s||!s.length))){var o=t.push(s);o||(i=!0,e.pause())}});for(var r in e)this[r]===void 0&&typeof e[r]=="function"&&(this[r]=function(s){return function(){return e[s].apply(e,arguments)}}(r));for(var a=0;a<jf.length;a++)e.on(jf[a],this.emit.bind(this,jf[a]));return this._read=function(s){we("wrapped _read",s),i&&(i=!1,e.resume())},this};Object.defineProperty(Ae.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Ae._fromList=I1;function I1(e,t){if(t.length===0)return null;var n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(t.decoder?n=t.buffer.join(""):t.buffer.length===1?n=t.buffer.head.data:n=t.buffer.concat(t.length),t.buffer.clear()):n=iM(e,t.buffer,t.decoder),n}function iM(e,t,n){var i;return e<t.head.data.length?(i=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):e===t.head.data.length?i=t.shift():i=n?rM(e,t):aM(e,t),i}function rM(e,t){var n=t.head,i=1,r=n.data;for(e-=r.length;n=n.next;){var a=n.data,s=e>a.length?a.length:e;if(s===a.length?r+=a:r+=a.slice(0,e),e-=s,e===0){s===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(s));break}++i}return t.length-=i,r}function aM(e,t){var n=ys.allocUnsafe(e),i=t.head,r=1;for(i.data.copy(n),e-=i.data.length;i=i.next;){var a=i.data,s=e>a.length?a.length:e;if(a.copy(n,n.length-e,0,s),e-=s,e===0){s===a.length?(++r,i.next?t.head=i.next:t.head=t.tail=null):(t.head=i,i.data=a.slice(s));break}++r}return t.length-=r,n}function Rf(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,fa.nextTick(sM,t,e))}function sM(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function N1(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1}});var Lf=w(($4,B1)=>{"use strict";B1.exports=Nn;var Vc=Ji(),q1=Object.create(ca());q1.inherits=la();q1.inherits(Nn,Vc);function oM(e,t){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(!i)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,t!=null&&this.push(t),i(e);var r=this._readableState;r.reading=!1,(r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}function Nn(e){if(!(this instanceof Nn))return new Nn(e);Vc.call(this,e),this._transformState={afterTransform:oM.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",cM)}function cM(){var e=this;typeof this._flush=="function"?this._flush(function(t,n){P1(e,t,n)}):P1(this,null,null)}Nn.prototype.push=function(e,t){return this._transformState.needTransform=!1,Vc.prototype.push.call(this,e,t)};Nn.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")};Nn.prototype._write=function(e,t,n){var i=this._transformState;if(i.writecb=n,i.writechunk=e,i.writeencoding=t,!i.transforming){var r=this._readableState;(i.needTransform||r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}};Nn.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};Nn.prototype._destroy=function(e,t){var n=this;Vc.prototype._destroy.call(this,e,function(i){t(i),n.emit("close")})};function P1(e,t,n){if(t)return e.emit("error",t);if(n!=null&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}});var z1=w((z4,$1)=>{"use strict";$1.exports=ws;var F1=Lf(),D1=Object.create(ca());D1.inherits=la();D1.inherits(ws,F1);function ws(e){if(!(this instanceof ws))return new ws(e);F1.call(this,e)}ws.prototype._transform=function(e,t,n){n(null,e)}});var Pf=w((pt,Jc)=>{var _n=require("stream");process.env.READABLE_STREAM==="disable"&&_n?(Jc.exports=_n,pt=Jc.exports=_n.Readable,pt.Readable=_n.Readable,pt.Writable=_n.Writable,pt.Duplex=_n.Duplex,pt.Transform=_n.Transform,pt.PassThrough=_n.PassThrough,pt.Stream=_n):(pt=Jc.exports=Ef(),pt.Stream=_n||pt,pt.Readable=pt,pt.Writable=_f(),pt.Duplex=Ji(),pt.Transform=Lf(),pt.PassThrough=z1())});var Ln=w(Dt=>{"use strict";Dt.base64=!0;Dt.array=!0;Dt.string=!0;Dt.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";Dt.nodebuffer=typeof Buffer<"u";Dt.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")Dt.blob=!1;else{qf=new ArrayBuffer(0);try{Dt.blob=new Blob([qf],{type:"application/zip"}).size===0}catch{try{U1=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,Bf=new U1,Bf.append(qf),Dt.blob=Bf.getBlob("application/zip").size===0}catch{Dt.blob=!1}}}var qf,U1,Bf;try{Dt.nodestream=!!Pf().Readable}catch{Dt.nodestream=!1}});var Df=w(Ff=>{"use strict";var lM=Pe(),uM=Ln(),Sn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Ff.encode=function(e){for(var t=[],n,i,r,a,s,o,c,u=0,l=e.length,p=l,d=lM.getTypeOf(e)!=="string";u<e.length;)p=l-u,d?(n=e[u++],i=u<l?e[u++]:0,r=u<l?e[u++]:0):(n=e.charCodeAt(u++),i=u<l?e.charCodeAt(u++):0,r=u<l?e.charCodeAt(u++):0),a=n>>2,s=(n&3)<<4|i>>4,o=p>1?(i&15)<<2|r>>6:64,c=p>2?r&63:64,t.push(Sn.charAt(a)+Sn.charAt(s)+Sn.charAt(o)+Sn.charAt(c));return t.join("")};Ff.decode=function(e){var t,n,i,r,a,s,o,c=0,u=0,l="data:";if(e.substr(0,l.length)===l)throw new Error("Invalid base64 input, it looks like a data url.");e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");var p=e.length*3/4;if(e.charAt(e.length-1)===Sn.charAt(64)&&p--,e.charAt(e.length-2)===Sn.charAt(64)&&p--,p%1!==0)throw new Error("Invalid base64 input, bad content length.");var d;for(uM.uint8array?d=new Uint8Array(p|0):d=new Array(p|0);c<e.length;)r=Sn.indexOf(e.charAt(c++)),a=Sn.indexOf(e.charAt(c++)),s=Sn.indexOf(e.charAt(c++)),o=Sn.indexOf(e.charAt(c++)),t=r<<2|a>>4,n=(a&15)<<4|s>>2,i=(s&3)<<6|o,d[u++]=t,s!==64&&(d[u++]=n),o!==64&&(d[u++]=i);return d}});var _s=w((H4,W1)=>{"use strict";W1.exports={isNode:typeof Buffer<"u",newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if(typeof e=="number")throw new Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&typeof e.on=="function"&&typeof e.pause=="function"&&typeof e.resume=="function"}}});var Y1=w((Y4,H1)=>{"use strict";H1.exports=typeof setImmediate=="function"?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}});var V1=w((K4,Z1)=>{"use strict";var K1=global.MutationObserver||global.WebKitMutationObserver,da;process.browser?K1?($f=0,G1=new K1(Ss),zf=global.document.createTextNode(""),G1.observe(zf,{characterData:!0}),da=function(){zf.data=$f=++$f%2}):!global.setImmediate&&typeof global.MessageChannel<"u"?(Uf=new global.MessageChannel,Uf.port1.onmessage=Ss,da=function(){Uf.port2.postMessage(0)}):"document"in global&&"onreadystatechange"in global.document.createElement("script")?da=function(){var e=global.document.createElement("script");e.onreadystatechange=function(){Ss(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},global.document.documentElement.appendChild(e)}:da=function(){setTimeout(Ss,0)}:da=function(){process.nextTick(Ss)};var $f,G1,zf,Uf,Wf,Os=[];function Ss(){Wf=!0;for(var e,t,n=Os.length;n;){for(t=Os,Os=[],e=-1;++e<n;)t[e]();n=Os.length}Wf=!1}Z1.exports=pM;function pM(e){Os.push(e)===1&&!Wf&&da()}});var iw=w((G4,nw)=>{"use strict";var J1=V1();function ha(){}var gt={},X1=["REJECTED"],Hf=["FULFILLED"],Q1=["PENDING"];process.browser||(Es=["UNHANDLED"]);var Es;nw.exports=ri;function ri(e){if(typeof e!="function")throw new TypeError("resolver must be a function");this.state=Q1,this.queue=[],this.outcome=void 0,process.browser||(this.handled=Es),e!==ha&&ew(this,e)}ri.prototype.finally=function(e){if(typeof e!="function")return this;var t=this.constructor;return this.then(n,i);function n(r){function a(){return r}return t.resolve(e()).then(a)}function i(r){function a(){throw r}return t.resolve(e()).then(a)}};ri.prototype.catch=function(e){return this.then(null,e)};ri.prototype.then=function(e,t){if(typeof e!="function"&&this.state===Hf||typeof t!="function"&&this.state===X1)return this;var n=new this.constructor(ha);if(process.browser||this.handled===Es&&(this.handled=null),this.state!==Q1){var i=this.state===Hf?e:t;Yf(n,i,this.outcome)}else this.queue.push(new ks(n,e,t));return n};function ks(e,t,n){this.promise=e,typeof t=="function"&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),typeof n=="function"&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}ks.prototype.callFulfilled=function(e){gt.resolve(this.promise,e)};ks.prototype.otherCallFulfilled=function(e){Yf(this.promise,this.onFulfilled,e)};ks.prototype.callRejected=function(e){gt.reject(this.promise,e)};ks.prototype.otherCallRejected=function(e){Yf(this.promise,this.onRejected,e)};function Yf(e,t,n){J1(function(){var i;try{i=t(n)}catch(r){return gt.reject(e,r)}i===e?gt.reject(e,new TypeError("Cannot resolve promise with itself")):gt.resolve(e,i)})}gt.resolve=function(e,t){var n=tw(fM,t);if(n.status==="error")return gt.reject(e,n.value);var i=n.value;if(i)ew(e,i);else{e.state=Hf,e.outcome=t;for(var r=-1,a=e.queue.length;++r<a;)e.queue[r].callFulfilled(t)}return e};gt.reject=function(e,t){e.state=X1,e.outcome=t,process.browser||e.handled===Es&&J1(function(){e.handled===Es&&process.emit("unhandledRejection",t,e)});for(var n=-1,i=e.queue.length;++n<i;)e.queue[n].callRejected(t);return e};function fM(e){var t=e&&e.then;if(e&&(typeof e=="object"||typeof e=="function")&&typeof t=="function")return function(){t.apply(e,arguments)}}function ew(e,t){var n=!1;function i(o){n||(n=!0,gt.reject(e,o))}function r(o){n||(n=!0,gt.resolve(e,o))}function a(){t(r,i)}var s=tw(a);s.status==="error"&&i(s.value)}function tw(e,t){var n={};try{n.value=e(t),n.status="success"}catch(i){n.status="error",n.value=i}return n}ri.resolve=dM;function dM(e){return e instanceof this?e:gt.resolve(new this(ha),e)}ri.reject=hM;function hM(e){var t=new this(ha);return gt.reject(t,e)}ri.all=mM;function mM(e){var t=this;if(Object.prototype.toString.call(e)!=="[object Array]")return this.reject(new TypeError("must be an array"));var n=e.length,i=!1;if(!n)return this.resolve([]);for(var r=new Array(n),a=0,s=-1,o=new this(ha);++s<n;)c(e[s],s);return o;function c(u,l){t.resolve(u).then(p,function(d){i||(i=!0,gt.reject(o,d))});function p(d){r[l]=d,++a===n&&!i&&(i=!0,gt.resolve(o,r))}}}ri.race=gM;function gM(e){var t=this;if(Object.prototype.toString.call(e)!=="[object Array]")return this.reject(new TypeError("must be an array"));var n=e.length,i=!1;if(!n)return this.resolve([]);for(var r=-1,a=new this(ha);++r<n;)s(e[r]);return a;function s(o){t.resolve(o).then(function(c){i||(i=!0,gt.resolve(a,c))},function(c){i||(i=!0,gt.reject(a,c))})}}});var ma=w((Z4,rw)=>{"use strict";var Kf=null;typeof Promise<"u"?Kf=Promise:Kf=iw();rw.exports={Promise:Kf}});var Pe=w(Je=>{"use strict";var ai=Ln(),bM=Df(),ga=_s(),vM=Y1(),Gf=ma();function xM(e){var t=null;return ai.uint8array?t=new Uint8Array(e.length):t=new Array(e.length),Qc(e,t)}Je.newBlob=function(e,t){Je.checkSupport("blob");try{return new Blob([e],{type:t})}catch{try{var n=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,i=new n;return i.append(e),i.getBlob(t)}catch{throw new Error("Bug : can't construct the Blob.")}}};function Cs(e){return e}function Qc(e,t){for(var n=0;n<e.length;++n)t[n]=e.charCodeAt(n)&255;return t}var Xc={stringifyByChunk:function(e,t,n){var i=[],r=0,a=e.length;if(a<=n)return String.fromCharCode.apply(null,e);for(;r<a;)t==="array"||t==="nodebuffer"?i.push(String.fromCharCode.apply(null,e.slice(r,Math.min(r+n,a)))):i.push(String.fromCharCode.apply(null,e.subarray(r,Math.min(r+n,a)))),r+=n;return i.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return ai.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return ai.nodebuffer&&String.fromCharCode.apply(null,ga.allocBuffer(1)).length===1}catch{return!1}}()}};function Ts(e){var t=65536,n=Je.getTypeOf(e),i=!0;if(n==="uint8array"?i=Xc.applyCanBeUsed.uint8array:n==="nodebuffer"&&(i=Xc.applyCanBeUsed.nodebuffer),i)for(;t>1;)try{return Xc.stringifyByChunk(e,n,t)}catch{t=Math.floor(t/2)}return Xc.stringifyByChar(e)}Je.applyFromCharCode=Ts;function el(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}var si={};si.string={string:Cs,array:function(e){return Qc(e,new Array(e.length))},arraybuffer:function(e){return si.string.uint8array(e).buffer},uint8array:function(e){return Qc(e,new Uint8Array(e.length))},nodebuffer:function(e){return Qc(e,ga.allocBuffer(e.length))}};si.array={string:Ts,array:Cs,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return ga.newBufferFrom(e)}};si.arraybuffer={string:function(e){return Ts(new Uint8Array(e))},array:function(e){return el(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:Cs,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return ga.newBufferFrom(new Uint8Array(e))}};si.uint8array={string:Ts,array:function(e){return el(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:Cs,nodebuffer:function(e){return ga.newBufferFrom(e)}};si.nodebuffer={string:Ts,array:function(e){return el(e,new Array(e.length))},arraybuffer:function(e){return si.nodebuffer.uint8array(e).buffer},uint8array:function(e){return el(e,new Uint8Array(e.length))},nodebuffer:Cs};Je.transformTo=function(e,t){if(t||(t=""),!e)return t;Je.checkSupport(e);var n=Je.getTypeOf(t),i=si[n][e](t);return i};Je.getTypeOf=function(e){if(typeof e=="string")return"string";if(Object.prototype.toString.call(e)==="[object Array]")return"array";if(ai.nodebuffer&&ga.isBuffer(e))return"nodebuffer";if(ai.uint8array&&e instanceof Uint8Array)return"uint8array";if(ai.arraybuffer&&e instanceof ArrayBuffer)return"arraybuffer"};Je.checkSupport=function(e){var t=ai[e.toLowerCase()];if(!t)throw new Error(e+" is not supported by this platform")};Je.MAX_VALUE_16BITS=65535;Je.MAX_VALUE_32BITS=-1;Je.pretty=function(e){var t="",n,i;for(i=0;i<(e||"").length;i++)n=e.charCodeAt(i),t+="\\x"+(n<16?"0":"")+n.toString(16).toUpperCase();return t};Je.delay=function(e,t,n){vM(function(){e.apply(n||null,t||[])})};Je.inherits=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n};Je.extend=function(){var e={},t,n;for(t=0;t<arguments.length;t++)for(n in arguments[t])arguments[t].hasOwnProperty(n)&&typeof e[n]>"u"&&(e[n]=arguments[t][n]);return e};Je.prepareContent=function(e,t,n,i,r){var a=Gf.Promise.resolve(t).then(function(s){var o=ai.blob&&(s instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(s))!==-1);return o&&typeof FileReader<"u"?new Gf.Promise(function(c,u){var l=new FileReader;l.onload=function(p){c(p.target.result)},l.onerror=function(p){u(p.target.error)},l.readAsArrayBuffer(s)}):s});return a.then(function(s){var o=Je.getTypeOf(s);return o?(o==="arraybuffer"?s=Je.transformTo("uint8array",s):o==="string"&&(r?s=bM.decode(s):n&&i!==!0&&(s=xM(s))),s):Gf.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}});var $t=w((J4,sw)=>{"use strict";function aw(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}aw.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return this.isFinished?!1:(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(n){t.processChunk(n)}),e.on("end",function(){t.end()}),e.on("error",function(n){t.error(n)}),this},pause:function(){return this.isPaused||this.isFinished?!1:(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)!this.extraStreamInfo.hasOwnProperty(e)||(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}};sw.exports=aw});var Qi=w(oi=>{"use strict";var ba=Pe(),Xi=Ln(),yM=_s(),tl=$t(),As=new Array(256);for(Pn=0;Pn<256;Pn++)As[Pn]=Pn>=252?6:Pn>=248?5:Pn>=240?4:Pn>=224?3:Pn>=192?2:1;var Pn;As[254]=As[254]=1;var wM=function(e){var t,n,i,r,a,s=e.length,o=0;for(r=0;r<s;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<s&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),o+=n<128?1:n<2048?2:n<65536?3:4;for(Xi.uint8array?t=new Uint8Array(o):t=new Array(o),a=0,r=0;a<o;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<s&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|n&63):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|n&63):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|n&63);return t},_M=function(e,t){var n;for(t=t||e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+As[e[n]]>t?n:t},SM=function(e){var t,n,i,r,a,s=e.length,o=new Array(s*2);for(i=0,n=0;n<s;){if(r=e[n++],r<128){o[i++]=r;continue}if(a=As[r],a>4){o[i++]=65533,n+=a-1;continue}for(r&=a===2?31:a===3?15:7;a>1&&n<s;)r=r<<6|e[n++]&63,a--;if(a>1){o[i++]=65533;continue}r<65536?o[i++]=r:(r-=65536,o[i++]=55296|r>>10&1023,o[i++]=56320|r&1023)}return o.length!==i&&(o.subarray?o=o.subarray(0,i):o.length=i),ba.applyFromCharCode(o)};oi.utf8encode=function(t){return Xi.nodebuffer?yM.newBufferFrom(t,"utf-8"):wM(t)};oi.utf8decode=function(t){return Xi.nodebuffer?ba.transformTo("nodebuffer",t).toString("utf-8"):(t=ba.transformTo(Xi.uint8array?"uint8array":"array",t),SM(t))};function nl(){tl.call(this,"utf-8 decode"),this.leftOver=null}ba.inherits(nl,tl);nl.prototype.processChunk=function(e){var t=ba.transformTo(Xi.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(Xi.uint8array){var n=t;t=new Uint8Array(n.length+this.leftOver.length),t.set(this.leftOver,0),t.set(n,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var i=_M(t),r=t;i!==t.length&&(Xi.uint8array?(r=t.subarray(0,i),this.leftOver=t.subarray(i,t.length)):(r=t.slice(0,i),this.leftOver=t.slice(i,t.length))),this.push({data:oi.utf8decode(r),meta:e.meta})};nl.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:oi.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)};oi.Utf8DecodeWorker=nl;function Zf(){tl.call(this,"utf-8 encode")}ba.inherits(Zf,tl);Zf.prototype.processChunk=function(e){this.push({data:oi.utf8encode(e.data),meta:e.meta})};oi.Utf8EncodeWorker=Zf});var uw=w((Q4,lw)=>{"use strict";var ow=$t(),cw=Pe();function Vf(e){ow.call(this,"ConvertWorker to "+e),this.destType=e}cw.inherits(Vf,ow);Vf.prototype.processChunk=function(e){this.push({data:cw.transformTo(this.destType,e.data),meta:e.meta})};lw.exports=Vf});var dw=w((eF,fw)=>{"use strict";var pw=Pf().Readable,OM=Pe();OM.inherits(Jf,pw);function Jf(e,t,n){pw.call(this,t),this._helper=e;var i=this;e.on("data",function(r,a){i.push(r)||i._helper.pause(),n&&n(a)}).on("error",function(r){i.emit("error",r)}).on("end",function(){i.push(null)})}Jf.prototype._read=function(){this._helper.resume()};fw.exports=Jf});var Xf=w((tF,gw)=>{"use strict";var er=Pe(),EM=uw(),kM=$t(),CM=Df(),TM=Ln(),AM=ma(),hw=null;if(TM.nodestream)try{hw=dw()}catch{}function jM(e,t,n){switch(e){case"blob":return er.newBlob(er.transformTo("arraybuffer",t),n);case"base64":return CM.encode(t);default:return er.transformTo(e,t)}}function MM(e,t){var n,i=0,r=null,a=0;for(n=0;n<t.length;n++)a+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(r=new Uint8Array(a),n=0;n<t.length;n++)r.set(t[n],i),i+=t[n].length;return r;case"nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}function RM(e,t){return new AM.Promise(function(n,i){var r=[],a=e._internalType,s=e._outputType,o=e._mimeType;e.on("data",function(c,u){r.push(c),t&&t(u)}).on("error",function(c){r=[],i(c)}).on("end",function(){try{var c=jM(s,MM(a,r),o);n(c)}catch(u){i(u)}r=[]}).resume()})}function mw(e,t,n){var i=t;switch(t){case"blob":case"arraybuffer":i="uint8array";break;case"base64":i="string";break}try{this._internalType=i,this._outputType=t,this._mimeType=n,er.checkSupport(i),this._worker=e.pipe(new EM(i)),e.lock()}catch(r){this._worker=new kM("error"),this._worker.error(r)}}mw.prototype={accumulate:function(e){return RM(this,e)},on:function(e,t){var n=this;return e==="data"?this._worker.on(e,function(i){t.call(n,i.data,i.meta)}):this._worker.on(e,function(){er.delay(t,arguments,n)}),this},resume:function(){return er.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(er.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new hw(this,{objectMode:this._outputType!=="nodebuffer"},e)}};gw.exports=mw});var Qf=w(ln=>{"use strict";ln.base64=!1;ln.binary=!1;ln.dir=!1;ln.createFolders=!0;ln.date=null;ln.compression=null;ln.compressionOptions=null;ln.comment=null;ln.unixPermissions=null;ln.dosPermissions=null});var ed=w((iF,bw)=>{"use strict";var il=Pe(),rl=$t(),IM=16*1024;function va(e){rl.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(n){t.dataIsReady=!0,t.data=n,t.max=n&&n.length||0,t.type=il.getTypeOf(n),t.isPaused||t._tickAndRepeat()},function(n){t.error(n)})}il.inherits(va,rl);va.prototype.cleanUp=function(){rl.prototype.cleanUp.call(this),this.data=null};va.prototype.resume=function(){return rl.prototype.resume.call(this)?(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,il.delay(this._tickAndRepeat,[],this)),!0):!1};va.prototype._tickAndRepeat=function(){this._tickScheduled=!1,!(this.isPaused||this.isFinished)&&(this._tick(),this.isFinished||(il.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))};va.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=IM,t=null,n=Math.min(this.max,this.index+e);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,n);break;case"uint8array":t=this.data.subarray(this.index,n);break;case"array":case"nodebuffer":t=this.data.slice(this.index,n);break}return this.index=n,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})};bw.exports=va});var al=w((rF,xw)=>{"use strict";var NM=Pe();function LM(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var vw=LM();function PM(e,t,n,i){var r=vw,a=i+n;e=e^-1;for(var s=i;s<a;s++)e=e>>>8^r[(e^t[s])&255];return e^-1}function qM(e,t,n,i){var r=vw,a=i+n;e=e^-1;for(var s=i;s<a;s++)e=e>>>8^r[(e^t.charCodeAt(s))&255];return e^-1}xw.exports=function(t,n){if(typeof t>"u"||!t.length)return 0;var i=NM.getTypeOf(t)!=="string";return i?PM(n|0,t,t.length,0):qM(n|0,t,t.length,0)}});var nd=w((aF,ww)=>{"use strict";var yw=$t(),BM=al(),FM=Pe();function td(){yw.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}FM.inherits(td,yw);td.prototype.processChunk=function(e){this.streamInfo.crc32=BM(e.data,this.streamInfo.crc32||0),this.push(e)};ww.exports=td});var Sw=w((sF,_w)=>{"use strict";var DM=Pe(),id=$t();function rd(e){id.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}DM.inherits(rd,id);rd.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}id.prototype.processChunk.call(this,e)};_w.exports=rd});var sl=w((oF,kw)=>{"use strict";var Ow=ma(),Ew=ed(),$M=nd(),ad=Sw();function sd(e,t,n,i,r){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=i,this.compressedContent=r}sd.prototype={getContentWorker:function(){var e=new Ew(Ow.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new ad("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new Ew(Ow.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};sd.createWorkerFrom=function(e,t,n){return e.pipe(new $M).pipe(new ad("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new ad("compressedSize")).withStreamInfo("compression",t)};kw.exports=sd});var jw=w((cF,Aw)=>{"use strict";var zM=Xf(),UM=ed(),od=Qi(),cd=sl(),Cw=$t(),ld=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};ld.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");n=e.toLowerCase();var i=n==="string"||n==="text";(n==="binarystring"||n==="text")&&(n="string"),t=this._decompressWorker();var r=!this._dataBinary;r&&!i&&(t=t.pipe(new od.Utf8EncodeWorker)),!r&&i&&(t=t.pipe(new od.Utf8DecodeWorker))}catch(a){t=new Cw("error"),t.error(a)}return new zM(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof cd&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new od.Utf8EncodeWorker)),cd.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof cd?this._data.getContentWorker():this._data instanceof Cw?this._data:new UM(this._data)}};var Tw=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],WM=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(ol=0;ol<Tw.length;ol++)ld.prototype[Tw[ol]]=WM;var ol;Aw.exports=ld});var qn=w(St=>{"use strict";var HM=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function YM(e,t){return Object.prototype.hasOwnProperty.call(e,t)}St.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(!!n){if(typeof n!="object")throw new TypeError(n+"must be non-object");for(var i in n)YM(n,i)&&(e[i]=n[i])}}return e};St.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var KM={arraySet:function(e,t,n,i,r){if(t.subarray&&e.subarray){e.set(t.subarray(n,n+i),r);return}for(var a=0;a<i;a++)e[r+a]=t[n+a]},flattenChunks:function(e){var t,n,i,r,a,s;for(i=0,t=0,n=e.length;t<n;t++)i+=e[t].length;for(s=new Uint8Array(i),r=0,t=0,n=e.length;t<n;t++)a=e[t],s.set(a,r),r+=a.length;return s}},GM={arraySet:function(e,t,n,i,r){for(var a=0;a<i;a++)e[r+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};St.setTyped=function(e){e?(St.Buf8=Uint8Array,St.Buf16=Uint16Array,St.Buf32=Int32Array,St.assign(St,KM)):(St.Buf8=Array,St.Buf16=Array,St.Buf32=Array,St.assign(St,GM))};St.setTyped(HM)});var Qw=w(wa=>{"use strict";var ZM=qn(),VM=4,Mw=0,Rw=1,JM=2;function ya(e){for(var t=e.length;--t>=0;)e[t]=0}var XM=0,Bw=1,QM=2,eR=3,tR=258,gd=29,Ls=256,Ms=Ls+1+gd,xa=30,bd=19,Fw=2*Ms+1,tr=15,ud=16,nR=7,vd=256,Dw=16,$w=17,zw=18,hd=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],cl=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],iR=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Uw=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],rR=512,Bn=new Array((Ms+2)*2);ya(Bn);var js=new Array(xa*2);ya(js);var Rs=new Array(rR);ya(Rs);var Is=new Array(tR-eR+1);ya(Is);var xd=new Array(gd);ya(xd);var ll=new Array(xa);ya(ll);function pd(e,t,n,i,r){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=e&&e.length}var Ww,Hw,Yw;function fd(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Kw(e){return e<256?Rs[e]:Rs[256+(e>>>7)]}function Ns(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function Tt(e,t,n){e.bi_valid>ud-n?(e.bi_buf|=t<<e.bi_valid&65535,Ns(e,e.bi_buf),e.bi_buf=t>>ud-e.bi_valid,e.bi_valid+=n-ud):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function On(e,t,n){Tt(e,n[t*2],n[t*2+1])}function Gw(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function aR(e){e.bi_valid===16?(Ns(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function sR(e,t){var n=t.dyn_tree,i=t.max_code,r=t.stat_desc.static_tree,a=t.stat_desc.has_stree,s=t.stat_desc.extra_bits,o=t.stat_desc.extra_base,c=t.stat_desc.max_length,u,l,p,d,g,x,b=0;for(d=0;d<=tr;d++)e.bl_count[d]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;u<Fw;u++)l=e.heap[u],d=n[n[l*2+1]*2+1]+1,d>c&&(d=c,b++),n[l*2+1]=d,!(l>i)&&(e.bl_count[d]++,g=0,l>=o&&(g=s[l-o]),x=n[l*2],e.opt_len+=x*(d+g),a&&(e.static_len+=x*(r[l*2+1]+g)));if(b!==0){do{for(d=c-1;e.bl_count[d]===0;)d--;e.bl_count[d]--,e.bl_count[d+1]+=2,e.bl_count[c]--,b-=2}while(b>0);for(d=c;d!==0;d--)for(l=e.bl_count[d];l!==0;)p=e.heap[--u],!(p>i)&&(n[p*2+1]!==d&&(e.opt_len+=(d-n[p*2+1])*n[p*2],n[p*2+1]=d),l--)}}function Zw(e,t,n){var i=new Array(tr+1),r=0,a,s;for(a=1;a<=tr;a++)i[a]=r=r+n[a-1]<<1;for(s=0;s<=t;s++){var o=e[s*2+1];o!==0&&(e[s*2]=Gw(i[o]++,o))}}function oR(){var e,t,n,i,r,a=new Array(tr+1);for(n=0,i=0;i<gd-1;i++)for(xd[i]=n,e=0;e<1<<hd[i];e++)Is[n++]=i;for(Is[n-1]=i,r=0,i=0;i<16;i++)for(ll[i]=r,e=0;e<1<<cl[i];e++)Rs[r++]=i;for(r>>=7;i<xa;i++)for(ll[i]=r<<7,e=0;e<1<<cl[i]-7;e++)Rs[256+r++]=i;for(t=0;t<=tr;t++)a[t]=0;for(e=0;e<=143;)Bn[e*2+1]=8,e++,a[8]++;for(;e<=255;)Bn[e*2+1]=9,e++,a[9]++;for(;e<=279;)Bn[e*2+1]=7,e++,a[7]++;for(;e<=287;)Bn[e*2+1]=8,e++,a[8]++;for(Zw(Bn,Ms+1,a),e=0;e<xa;e++)js[e*2+1]=5,js[e*2]=Gw(e,5);Ww=new pd(Bn,hd,Ls+1,Ms,tr),Hw=new pd(js,cl,0,xa,tr),Yw=new pd(new Array(0),iR,0,bd,nR)}function Vw(e){var t;for(t=0;t<Ms;t++)e.dyn_ltree[t*2]=0;for(t=0;t<xa;t++)e.dyn_dtree[t*2]=0;for(t=0;t<bd;t++)e.bl_tree[t*2]=0;e.dyn_ltree[vd*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Jw(e){e.bi_valid>8?Ns(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function cR(e,t,n,i){Jw(e),i&&(Ns(e,n),Ns(e,~n)),ZM.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function Iw(e,t,n,i){var r=t*2,a=n*2;return e[r]<e[a]||e[r]===e[a]&&i[t]<=i[n]}function dd(e,t,n){for(var i=e.heap[n],r=n<<1;r<=e.heap_len&&(r<e.heap_len&&Iw(t,e.heap[r+1],e.heap[r],e.depth)&&r++,!Iw(t,i,e.heap[r],e.depth));)e.heap[n]=e.heap[r],n=r,r<<=1;e.heap[n]=i}function Nw(e,t,n){var i,r,a=0,s,o;if(e.last_lit!==0)do i=e.pending_buf[e.d_buf+a*2]<<8|e.pending_buf[e.d_buf+a*2+1],r=e.pending_buf[e.l_buf+a],a++,i===0?On(e,r,t):(s=Is[r],On(e,s+Ls+1,t),o=hd[s],o!==0&&(r-=xd[s],Tt(e,r,o)),i--,s=Kw(i),On(e,s,n),o=cl[s],o!==0&&(i-=ll[s],Tt(e,i,o)));while(a<e.last_lit);On(e,vd,t)}function md(e,t){var n=t.dyn_tree,i=t.stat_desc.static_tree,r=t.stat_desc.has_stree,a=t.stat_desc.elems,s,o,c=-1,u;for(e.heap_len=0,e.heap_max=Fw,s=0;s<a;s++)n[s*2]!==0?(e.heap[++e.heap_len]=c=s,e.depth[s]=0):n[s*2+1]=0;for(;e.heap_len<2;)u=e.heap[++e.heap_len]=c<2?++c:0,n[u*2]=1,e.depth[u]=0,e.opt_len--,r&&(e.static_len-=i[u*2+1]);for(t.max_code=c,s=e.heap_len>>1;s>=1;s--)dd(e,n,s);u=a;do s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],dd(e,n,1),o=e.heap[1],e.heap[--e.heap_max]=s,e.heap[--e.heap_max]=o,n[u*2]=n[s*2]+n[o*2],e.depth[u]=(e.depth[s]>=e.depth[o]?e.depth[s]:e.depth[o])+1,n[s*2+1]=n[o*2+1]=u,e.heap[1]=u++,dd(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],sR(e,t),Zw(n,c,e.bl_count)}function Lw(e,t,n){var i,r=-1,a,s=t[0*2+1],o=0,c=7,u=4;for(s===0&&(c=138,u=3),t[(n+1)*2+1]=65535,i=0;i<=n;i++)a=s,s=t[(i+1)*2+1],!(++o<c&&a===s)&&(o<u?e.bl_tree[a*2]+=o:a!==0?(a!==r&&e.bl_tree[a*2]++,e.bl_tree[Dw*2]++):o<=10?e.bl_tree[$w*2]++:e.bl_tree[zw*2]++,o=0,r=a,s===0?(c=138,u=3):a===s?(c=6,u=3):(c=7,u=4))}function Pw(e,t,n){var i,r=-1,a,s=t[0*2+1],o=0,c=7,u=4;for(s===0&&(c=138,u=3),i=0;i<=n;i++)if(a=s,s=t[(i+1)*2+1],!(++o<c&&a===s)){if(o<u)do On(e,a,e.bl_tree);while(--o!==0);else a!==0?(a!==r&&(On(e,a,e.bl_tree),o--),On(e,Dw,e.bl_tree),Tt(e,o-3,2)):o<=10?(On(e,$w,e.bl_tree),Tt(e,o-3,3)):(On(e,zw,e.bl_tree),Tt(e,o-11,7));o=0,r=a,s===0?(c=138,u=3):a===s?(c=6,u=3):(c=7,u=4)}}function lR(e){var t;for(Lw(e,e.dyn_ltree,e.l_desc.max_code),Lw(e,e.dyn_dtree,e.d_desc.max_code),md(e,e.bl_desc),t=bd-1;t>=3&&e.bl_tree[Uw[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function uR(e,t,n,i){var r;for(Tt(e,t-257,5),Tt(e,n-1,5),Tt(e,i-4,4),r=0;r<i;r++)Tt(e,e.bl_tree[Uw[r]*2+1],3);Pw(e,e.dyn_ltree,t-1),Pw(e,e.dyn_dtree,n-1)}function pR(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return Mw;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Rw;for(n=32;n<Ls;n++)if(e.dyn_ltree[n*2]!==0)return Rw;return Mw}var qw=!1;function fR(e){qw||(oR(),qw=!0),e.l_desc=new fd(e.dyn_ltree,Ww),e.d_desc=new fd(e.dyn_dtree,Hw),e.bl_desc=new fd(e.bl_tree,Yw),e.bi_buf=0,e.bi_valid=0,Vw(e)}function Xw(e,t,n,i){Tt(e,(XM<<1)+(i?1:0),3),cR(e,t,n,!0)}function dR(e){Tt(e,Bw<<1,3),On(e,vd,Bn),aR(e)}function hR(e,t,n,i){var r,a,s=0;e.level>0?(e.strm.data_type===JM&&(e.strm.data_type=pR(e)),md(e,e.l_desc),md(e,e.d_desc),s=lR(e),r=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=r&&(r=a)):r=a=n+5,n+4<=r&&t!==-1?Xw(e,t,n,i):e.strategy===VM||a===r?(Tt(e,(Bw<<1)+(i?1:0),3),Nw(e,Bn,js)):(Tt(e,(QM<<1)+(i?1:0),3),uR(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),Nw(e,e.dyn_ltree,e.dyn_dtree)),Vw(e),i&&Jw(e)}function mR(e,t,n){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=n&255,e.last_lit++,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(Is[n]+Ls+1)*2]++,e.dyn_dtree[Kw(t)*2]++),e.last_lit===e.lit_bufsize-1}wa._tr_init=fR;wa._tr_stored_block=Xw;wa._tr_flush_block=hR;wa._tr_tally=mR;wa._tr_align=dR});var yd=w((pF,e_)=>{"use strict";function gR(e,t,n,i){for(var r=e&65535|0,a=e>>>16&65535|0,s=0;n!==0;){s=n>2e3?2e3:n,n-=s;do r=r+t[i++]|0,a=a+r|0;while(--s);r%=65521,a%=65521}return r|a<<16|0}e_.exports=gR});var wd=w((fF,t_)=>{"use strict";function bR(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var vR=bR();function xR(e,t,n,i){var r=vR,a=i+n;e^=-1;for(var s=i;s<a;s++)e=e>>>8^r[(e^t[s])&255];return e^-1}t_.exports=xR});var ul=w((dF,n_)=>{"use strict";n_.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var p_=w(Cn=>{"use strict";var Ot=qn(),Qt=Qw(),s_=yd(),ci=wd(),yR=ul(),ar=0,wR=1,_R=3,di=4,i_=5,kn=0,r_=1,en=-2,SR=-3,_d=-5,OR=-1,ER=1,pl=2,kR=3,CR=4,TR=0,AR=2,ml=8,jR=9,MR=15,RR=8,IR=29,NR=256,Od=NR+1+IR,LR=30,PR=19,qR=2*Od+1,BR=15,ge=3,pi=258,un=pi+ge+1,FR=32,gl=42,Ed=69,fl=73,dl=91,hl=103,nr=113,qs=666,Xe=1,Bs=2,ir=3,Oa=4,DR=3;function fi(e,t){return e.msg=yR[t],t}function a_(e){return(e<<1)-(e>4?9:0)}function ui(e){for(var t=e.length;--t>=0;)e[t]=0}function li(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(Ot.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function ft(e,t){Qt._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,li(e.strm)}function ye(e,t){e.pending_buf[e.pending++]=t}function Ps(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function $R(e,t,n,i){var r=e.avail_in;return r>i&&(r=i),r===0?0:(e.avail_in-=r,Ot.arraySet(t,e.input,e.next_in,r,n),e.state.wrap===1?e.adler=s_(e.adler,t,r,n):e.state.wrap===2&&(e.adler=ci(e.adler,t,r,n)),e.next_in+=r,e.total_in+=r,r)}function o_(e,t){var n=e.max_chain_length,i=e.strstart,r,a,s=e.prev_length,o=e.nice_match,c=e.strstart>e.w_size-un?e.strstart-(e.w_size-un):0,u=e.window,l=e.w_mask,p=e.prev,d=e.strstart+pi,g=u[i+s-1],x=u[i+s];e.prev_length>=e.good_match&&(n>>=2),o>e.lookahead&&(o=e.lookahead);do if(r=t,!(u[r+s]!==x||u[r+s-1]!==g||u[r]!==u[i]||u[++r]!==u[i+1])){i+=2,r++;do;while(u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&i<d);if(a=pi-(d-i),i=d-pi,a>s){if(e.match_start=t,s=a,a>=o)break;g=u[i+s-1],x=u[i+s]}}while((t=p[t&l])>c&&--n!==0);return s<=e.lookahead?s:e.lookahead}function rr(e){var t=e.w_size,n,i,r,a,s;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-un)){Ot.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,n=i;do r=e.head[--n],e.head[n]=r>=t?r-t:0;while(--i);i=t,n=i;do r=e.prev[--n],e.prev[n]=r>=t?r-t:0;while(--i);a+=t}if(e.strm.avail_in===0)break;if(i=$R(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=i,e.lookahead+e.insert>=ge)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+ge-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<ge)););}while(e.lookahead<un&&e.strm.avail_in!==0)}function zR(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(rr(e),e.lookahead===0&&t===ar)return Xe;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,ft(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-un&&(ft(e,!1),e.strm.avail_out===0))return Xe}return e.insert=0,t===di?(ft(e,!0),e.strm.avail_out===0?ir:Oa):(e.strstart>e.block_start&&(ft(e,!1),e.strm.avail_out===0),Xe)}function Sd(e,t){for(var n,i;;){if(e.lookahead<un){if(rr(e),e.lookahead<un&&t===ar)return Xe;if(e.lookahead===0)break}if(n=0,e.lookahead>=ge&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ge-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-un&&(e.match_length=o_(e,n)),e.match_length>=ge)if(i=Qt._tr_tally(e,e.strstart-e.match_start,e.match_length-ge),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ge){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ge-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=Qt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(ft(e,!1),e.strm.avail_out===0))return Xe}return e.insert=e.strstart<ge-1?e.strstart:ge-1,t===di?(ft(e,!0),e.strm.avail_out===0?ir:Oa):e.last_lit&&(ft(e,!1),e.strm.avail_out===0)?Xe:Bs}function _a(e,t){for(var n,i,r;;){if(e.lookahead<un){if(rr(e),e.lookahead<un&&t===ar)return Xe;if(e.lookahead===0)break}if(n=0,e.lookahead>=ge&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ge-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=ge-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-un&&(e.match_length=o_(e,n),e.match_length<=5&&(e.strategy===ER||e.match_length===ge&&e.strstart-e.match_start>4096)&&(e.match_length=ge-1)),e.prev_length>=ge&&e.match_length<=e.prev_length){r=e.strstart+e.lookahead-ge,i=Qt._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ge),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=r&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ge-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=ge-1,e.strstart++,i&&(ft(e,!1),e.strm.avail_out===0))return Xe}else if(e.match_available){if(i=Qt._tr_tally(e,0,e.window[e.strstart-1]),i&&ft(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Xe}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=Qt._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<ge-1?e.strstart:ge-1,t===di?(ft(e,!0),e.strm.avail_out===0?ir:Oa):e.last_lit&&(ft(e,!1),e.strm.avail_out===0)?Xe:Bs}function UR(e,t){for(var n,i,r,a,s=e.window;;){if(e.lookahead<=pi){if(rr(e),e.lookahead<=pi&&t===ar)return Xe;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=ge&&e.strstart>0&&(r=e.strstart-1,i=s[r],i===s[++r]&&i===s[++r]&&i===s[++r])){a=e.strstart+pi;do;while(i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&r<a);e.match_length=pi-(a-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ge?(n=Qt._tr_tally(e,1,e.match_length-ge),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Qt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(ft(e,!1),e.strm.avail_out===0))return Xe}return e.insert=0,t===di?(ft(e,!0),e.strm.avail_out===0?ir:Oa):e.last_lit&&(ft(e,!1),e.strm.avail_out===0)?Xe:Bs}function WR(e,t){for(var n;;){if(e.lookahead===0&&(rr(e),e.lookahead===0)){if(t===ar)return Xe;break}if(e.match_length=0,n=Qt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(ft(e,!1),e.strm.avail_out===0))return Xe}return e.insert=0,t===di?(ft(e,!0),e.strm.avail_out===0?ir:Oa):e.last_lit&&(ft(e,!1),e.strm.avail_out===0)?Xe:Bs}function En(e,t,n,i,r){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=r}var Sa;Sa=[new En(0,0,0,0,zR),new En(4,4,8,4,Sd),new En(4,5,16,8,Sd),new En(4,6,32,32,Sd),new En(4,4,16,16,_a),new En(8,16,32,32,_a),new En(8,16,128,128,_a),new En(8,32,128,256,_a),new En(32,128,258,1024,_a),new En(32,258,258,4096,_a)];function HR(e){e.window_size=2*e.w_size,ui(e.head),e.max_lazy_match=Sa[e.level].max_lazy,e.good_match=Sa[e.level].good_length,e.nice_match=Sa[e.level].nice_length,e.max_chain_length=Sa[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ge-1,e.match_available=0,e.ins_h=0}function YR(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ml,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Ot.Buf16(qR*2),this.dyn_dtree=new Ot.Buf16((2*LR+1)*2),this.bl_tree=new Ot.Buf16((2*PR+1)*2),ui(this.dyn_ltree),ui(this.dyn_dtree),ui(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Ot.Buf16(BR+1),this.heap=new Ot.Buf16(2*Od+1),ui(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Ot.Buf16(2*Od+1),ui(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function c_(e){var t;return!e||!e.state?fi(e,en):(e.total_in=e.total_out=0,e.data_type=AR,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?gl:nr,e.adler=t.wrap===2?0:1,t.last_flush=ar,Qt._tr_init(t),kn)}function l_(e){var t=c_(e);return t===kn&&HR(e.state),t}function KR(e,t){return!e||!e.state||e.state.wrap!==2?en:(e.state.gzhead=t,kn)}function u_(e,t,n,i,r,a){if(!e)return en;var s=1;if(t===OR&&(t=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),r<1||r>jR||n!==ml||i<8||i>15||t<0||t>9||a<0||a>CR)return fi(e,en);i===8&&(i=9);var o=new YR;return e.state=o,o.strm=e,o.wrap=s,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=r+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+ge-1)/ge),o.window=new Ot.Buf8(o.w_size*2),o.head=new Ot.Buf16(o.hash_size),o.prev=new Ot.Buf16(o.w_size),o.lit_bufsize=1<<r+6,o.pending_buf_size=o.lit_bufsize*4,o.pending_buf=new Ot.Buf8(o.pending_buf_size),o.d_buf=1*o.lit_bufsize,o.l_buf=(1+2)*o.lit_bufsize,o.level=t,o.strategy=a,o.method=n,l_(e)}function GR(e,t){return u_(e,t,ml,MR,RR,TR)}function ZR(e,t){var n,i,r,a;if(!e||!e.state||t>i_||t<0)return e?fi(e,en):en;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===qs&&t!==di)return fi(e,e.avail_out===0?_d:en);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===gl)if(i.wrap===2)e.adler=0,ye(i,31),ye(i,139),ye(i,8),i.gzhead?(ye(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),ye(i,i.gzhead.time&255),ye(i,i.gzhead.time>>8&255),ye(i,i.gzhead.time>>16&255),ye(i,i.gzhead.time>>24&255),ye(i,i.level===9?2:i.strategy>=pl||i.level<2?4:0),ye(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(ye(i,i.gzhead.extra.length&255),ye(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=ci(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Ed):(ye(i,0),ye(i,0),ye(i,0),ye(i,0),ye(i,0),ye(i,i.level===9?2:i.strategy>=pl||i.level<2?4:0),ye(i,DR),i.status=nr);else{var s=ml+(i.w_bits-8<<4)<<8,o=-1;i.strategy>=pl||i.level<2?o=0:i.level<6?o=1:i.level===6?o=2:o=3,s|=o<<6,i.strstart!==0&&(s|=FR),s+=31-s%31,i.status=nr,Ps(i,s),i.strstart!==0&&(Ps(i,e.adler>>>16),Ps(i,e.adler&65535)),e.adler=1}if(i.status===Ed)if(i.gzhead.extra){for(r=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=ci(e.adler,i.pending_buf,i.pending-r,r)),li(e),r=i.pending,i.pending===i.pending_buf_size));)ye(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>r&&(e.adler=ci(e.adler,i.pending_buf,i.pending-r,r)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=fl)}else i.status=fl;if(i.status===fl)if(i.gzhead.name){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=ci(e.adler,i.pending_buf,i.pending-r,r)),li(e),r=i.pending,i.pending===i.pending_buf_size)){a=1;break}i.gzindex<i.gzhead.name.length?a=i.gzhead.name.charCodeAt(i.gzindex++)&255:a=0,ye(i,a)}while(a!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=ci(e.adler,i.pending_buf,i.pending-r,r)),a===0&&(i.gzindex=0,i.status=dl)}else i.status=dl;if(i.status===dl)if(i.gzhead.comment){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=ci(e.adler,i.pending_buf,i.pending-r,r)),li(e),r=i.pending,i.pending===i.pending_buf_size)){a=1;break}i.gzindex<i.gzhead.comment.length?a=i.gzhead.comment.charCodeAt(i.gzindex++)&255:a=0,ye(i,a)}while(a!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=ci(e.adler,i.pending_buf,i.pending-r,r)),a===0&&(i.status=hl)}else i.status=hl;if(i.status===hl&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&li(e),i.pending+2<=i.pending_buf_size&&(ye(i,e.adler&255),ye(i,e.adler>>8&255),e.adler=0,i.status=nr)):i.status=nr),i.pending!==0){if(li(e),e.avail_out===0)return i.last_flush=-1,kn}else if(e.avail_in===0&&a_(t)<=a_(n)&&t!==di)return fi(e,_d);if(i.status===qs&&e.avail_in!==0)return fi(e,_d);if(e.avail_in!==0||i.lookahead!==0||t!==ar&&i.status!==qs){var c=i.strategy===pl?WR(i,t):i.strategy===kR?UR(i,t):Sa[i.level].func(i,t);if((c===ir||c===Oa)&&(i.status=qs),c===Xe||c===ir)return e.avail_out===0&&(i.last_flush=-1),kn;if(c===Bs&&(t===wR?Qt._tr_align(i):t!==i_&&(Qt._tr_stored_block(i,0,0,!1),t===_R&&(ui(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),li(e),e.avail_out===0))return i.last_flush=-1,kn}return t!==di?kn:i.wrap<=0?r_:(i.wrap===2?(ye(i,e.adler&255),ye(i,e.adler>>8&255),ye(i,e.adler>>16&255),ye(i,e.adler>>24&255),ye(i,e.total_in&255),ye(i,e.total_in>>8&255),ye(i,e.total_in>>16&255),ye(i,e.total_in>>24&255)):(Ps(i,e.adler>>>16),Ps(i,e.adler&65535)),li(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?kn:r_)}function VR(e){var t;return!e||!e.state?en:(t=e.state.status,t!==gl&&t!==Ed&&t!==fl&&t!==dl&&t!==hl&&t!==nr&&t!==qs?fi(e,en):(e.state=null,t===nr?fi(e,SR):kn))}function JR(e,t){var n=t.length,i,r,a,s,o,c,u,l;if(!e||!e.state||(i=e.state,s=i.wrap,s===2||s===1&&i.status!==gl||i.lookahead))return en;for(s===1&&(e.adler=s_(e.adler,t,n,0)),i.wrap=0,n>=i.w_size&&(s===0&&(ui(i.head),i.strstart=0,i.block_start=0,i.insert=0),l=new Ot.Buf8(i.w_size),Ot.arraySet(l,t,n-i.w_size,i.w_size,0),t=l,n=i.w_size),o=e.avail_in,c=e.next_in,u=e.input,e.avail_in=n,e.next_in=0,e.input=t,rr(i);i.lookahead>=ge;){r=i.strstart,a=i.lookahead-(ge-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[r+ge-1])&i.hash_mask,i.prev[r&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=r,r++;while(--a);i.strstart=r,i.lookahead=ge-1,rr(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=ge-1,i.match_available=0,e.next_in=c,e.input=u,e.avail_in=o,i.wrap=s,kn}Cn.deflateInit=GR;Cn.deflateInit2=u_;Cn.deflateReset=l_;Cn.deflateResetKeep=c_;Cn.deflateSetHeader=KR;Cn.deflate=ZR;Cn.deflateEnd=VR;Cn.deflateSetDictionary=JR;Cn.deflateInfo="pako deflate (from Nodeca project)"});var kd=w(Ea=>{"use strict";var bl=qn(),f_=!0,d_=!0;try{String.fromCharCode.apply(null,[0])}catch{f_=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{d_=!1}var Fs=new bl.Buf8(256);for(Fn=0;Fn<256;Fn++)Fs[Fn]=Fn>=252?6:Fn>=248?5:Fn>=240?4:Fn>=224?3:Fn>=192?2:1;var Fn;Fs[254]=Fs[254]=1;Ea.string2buf=function(e){var t,n,i,r,a,s=e.length,o=0;for(r=0;r<s;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<s&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),o+=n<128?1:n<2048?2:n<65536?3:4;for(t=new bl.Buf8(o),a=0,r=0;a<o;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<s&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|n&63):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|n&63):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|n&63);return t};function h_(e,t){if(t<65534&&(e.subarray&&d_||!e.subarray&&f_))return String.fromCharCode.apply(null,bl.shrinkBuf(e,t));for(var n="",i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n}Ea.buf2binstring=function(e){return h_(e,e.length)};Ea.binstring2buf=function(e){for(var t=new bl.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t};Ea.buf2string=function(e,t){var n,i,r,a,s=t||e.length,o=new Array(s*2);for(i=0,n=0;n<s;){if(r=e[n++],r<128){o[i++]=r;continue}if(a=Fs[r],a>4){o[i++]=65533,n+=a-1;continue}for(r&=a===2?31:a===3?15:7;a>1&&n<s;)r=r<<6|e[n++]&63,a--;if(a>1){o[i++]=65533;continue}r<65536?o[i++]=r:(r-=65536,o[i++]=55296|r>>10&1023,o[i++]=56320|r&1023)}return h_(o,i)};Ea.utf8border=function(e,t){var n;for(t=t||e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+Fs[e[n]]>t?n:t}});var Cd=w((gF,m_)=>{"use strict";function XR(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}m_.exports=XR});var x_=w(zs=>{"use strict";var Ds=p_(),$s=qn(),Ad=kd(),jd=ul(),QR=Cd(),v_=Object.prototype.toString,eI=0,Td=4,ka=0,g_=1,b_=2,tI=-1,nI=0,iI=8;function sr(e){if(!(this instanceof sr))return new sr(e);this.options=$s.assign({level:tI,method:iI,chunkSize:16384,windowBits:15,memLevel:8,strategy:nI,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new QR,this.strm.avail_out=0;var n=Ds.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==ka)throw new Error(jd[n]);if(t.header&&Ds.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=Ad.string2buf(t.dictionary):v_.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,n=Ds.deflateSetDictionary(this.strm,i),n!==ka)throw new Error(jd[n]);this._dict_set=!0}}sr.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,r,a;if(this.ended)return!1;a=t===~~t?t:t===!0?Td:eI,typeof e=="string"?n.input=Ad.string2buf(e):v_.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0&&(n.output=new $s.Buf8(i),n.next_out=0,n.avail_out=i),r=Ds.deflate(n,a),r!==g_&&r!==ka)return this.onEnd(r),this.ended=!0,!1;(n.avail_out===0||n.avail_in===0&&(a===Td||a===b_))&&(this.options.to==="string"?this.onData(Ad.buf2binstring($s.shrinkBuf(n.output,n.next_out))):this.onData($s.shrinkBuf(n.output,n.next_out)))}while((n.avail_in>0||n.avail_out===0)&&r!==g_);return a===Td?(r=Ds.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===ka):(a===b_&&(this.onEnd(ka),n.avail_out=0),!0)};sr.prototype.onData=function(e){this.chunks.push(e)};sr.prototype.onEnd=function(e){e===ka&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=$s.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Md(e,t){var n=new sr(t);if(n.push(e,!0),n.err)throw n.msg||jd[n.err];return n.result}function rI(e,t){return t=t||{},t.raw=!0,Md(e,t)}function aI(e,t){return t=t||{},t.gzip=!0,Md(e,t)}zs.Deflate=sr;zs.deflate=Md;zs.deflateRaw=rI;zs.gzip=aI});var w_=w((vF,y_)=>{"use strict";var vl=30,sI=12;y_.exports=function(t,n){var i,r,a,s,o,c,u,l,p,d,g,x,b,h,_,k,I,R,M,H,D,$,y,P,O;i=t.state,r=t.next_in,P=t.input,a=r+(t.avail_in-5),s=t.next_out,O=t.output,o=s-(n-t.avail_out),c=s+(t.avail_out-257),u=i.dmax,l=i.wsize,p=i.whave,d=i.wnext,g=i.window,x=i.hold,b=i.bits,h=i.lencode,_=i.distcode,k=(1<<i.lenbits)-1,I=(1<<i.distbits)-1;e:do{b<15&&(x+=P[r++]<<b,b+=8,x+=P[r++]<<b,b+=8),R=h[x&k];t:for(;;){if(M=R>>>24,x>>>=M,b-=M,M=R>>>16&255,M===0)O[s++]=R&65535;else if(M&16){H=R&65535,M&=15,M&&(b<M&&(x+=P[r++]<<b,b+=8),H+=x&(1<<M)-1,x>>>=M,b-=M),b<15&&(x+=P[r++]<<b,b+=8,x+=P[r++]<<b,b+=8),R=_[x&I];n:for(;;){if(M=R>>>24,x>>>=M,b-=M,M=R>>>16&255,M&16){if(D=R&65535,M&=15,b<M&&(x+=P[r++]<<b,b+=8,b<M&&(x+=P[r++]<<b,b+=8)),D+=x&(1<<M)-1,D>u){t.msg="invalid distance too far back",i.mode=vl;break e}if(x>>>=M,b-=M,M=s-o,D>M){if(M=D-M,M>p&&i.sane){t.msg="invalid distance too far back",i.mode=vl;break e}if($=0,y=g,d===0){if($+=l-M,M<H){H-=M;do O[s++]=g[$++];while(--M);$=s-D,y=O}}else if(d<M){if($+=l+d-M,M-=d,M<H){H-=M;do O[s++]=g[$++];while(--M);if($=0,d<H){M=d,H-=M;do O[s++]=g[$++];while(--M);$=s-D,y=O}}}else if($+=d-M,M<H){H-=M;do O[s++]=g[$++];while(--M);$=s-D,y=O}for(;H>2;)O[s++]=y[$++],O[s++]=y[$++],O[s++]=y[$++],H-=3;H&&(O[s++]=y[$++],H>1&&(O[s++]=y[$++]))}else{$=s-D;do O[s++]=O[$++],O[s++]=O[$++],O[s++]=O[$++],H-=3;while(H>2);H&&(O[s++]=O[$++],H>1&&(O[s++]=O[$++]))}}else if((M&64)===0){R=_[(R&65535)+(x&(1<<M)-1)];continue n}else{t.msg="invalid distance code",i.mode=vl;break e}break}}else if((M&64)===0){R=h[(R&65535)+(x&(1<<M)-1)];continue t}else if(M&32){i.mode=sI;break e}else{t.msg="invalid literal/length code",i.mode=vl;break e}break}}while(r<a&&s<c);H=b>>3,r-=H,b-=H<<3,x&=(1<<b)-1,t.next_in=r,t.next_out=s,t.avail_in=r<a?5+(a-r):5-(r-a),t.avail_out=s<c?257+(c-s):257-(s-c),i.hold=x,i.bits=b}});var T_=w((xF,C_)=>{"use strict";var __=qn(),Ca=15,S_=852,O_=592,E_=0,Rd=1,k_=2,oI=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],cI=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],lI=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],uI=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];C_.exports=function(t,n,i,r,a,s,o,c){var u=c.bits,l=0,p=0,d=0,g=0,x=0,b=0,h=0,_=0,k=0,I=0,R,M,H,D,$,y=null,P=0,O,v=new __.Buf16(Ca+1),A=new __.Buf16(Ca+1),N=null,Y=0,re,he,Z;for(l=0;l<=Ca;l++)v[l]=0;for(p=0;p<r;p++)v[n[i+p]]++;for(x=u,g=Ca;g>=1&&v[g]===0;g--);if(x>g&&(x=g),g===0)return a[s++]=1<<24|64<<16|0,a[s++]=1<<24|64<<16|0,c.bits=1,0;for(d=1;d<g&&v[d]===0;d++);for(x<d&&(x=d),_=1,l=1;l<=Ca;l++)if(_<<=1,_-=v[l],_<0)return-1;if(_>0&&(t===E_||g!==1))return-1;for(A[1]=0,l=1;l<Ca;l++)A[l+1]=A[l]+v[l];for(p=0;p<r;p++)n[i+p]!==0&&(o[A[n[i+p]]++]=p);if(t===E_?(y=N=o,O=19):t===Rd?(y=oI,P-=257,N=cI,Y-=257,O=256):(y=lI,N=uI,O=-1),I=0,p=0,l=d,$=s,b=x,h=0,H=-1,k=1<<x,D=k-1,t===Rd&&k>S_||t===k_&&k>O_)return 1;for(;;){re=l-h,o[p]<O?(he=0,Z=o[p]):o[p]>O?(he=N[Y+o[p]],Z=y[P+o[p]]):(he=32+64,Z=0),R=1<<l-h,M=1<<b,d=M;do M-=R,a[$+(I>>h)+M]=re<<24|he<<16|Z|0;while(M!==0);for(R=1<<l-1;I&R;)R>>=1;if(R!==0?(I&=R-1,I+=R):I=0,p++,--v[l]===0){if(l===g)break;l=n[i+o[p]]}if(l>x&&(I&D)!==H){for(h===0&&(h=x),$+=d,b=l-h,_=1<<b;b+h<g&&(_-=v[b+h],!(_<=0));)b++,_<<=1;if(k+=1<<b,t===Rd&&k>S_||t===k_&&k>O_)return 1;H=I&D,a[H]=x<<24|b<<16|$-s|0}}return I!==0&&(a[$+I]=l-h<<24|64<<16|0),c.bits=x,0}});var l2=w(pn=>{"use strict";var zt=qn(),Bd=yd(),Tn=wd(),pI=w_(),Us=T_(),fI=0,e2=1,t2=2,A_=4,dI=5,xl=6,or=0,hI=1,mI=2,tn=-2,n2=-3,Fd=-4,gI=-5,j_=8,i2=1,M_=2,R_=3,I_=4,N_=5,L_=6,P_=7,q_=8,B_=9,F_=10,_l=11,Dn=12,Id=13,D_=14,Nd=15,$_=16,z_=17,U_=18,W_=19,yl=20,wl=21,H_=22,Y_=23,K_=24,G_=25,Z_=26,Ld=27,V_=28,J_=29,Me=30,Dd=31,bI=32,vI=852,xI=592,yI=15,wI=yI;function X_(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function _I(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new zt.Buf16(320),this.work=new zt.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function r2(e){var t;return!e||!e.state?tn:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=i2,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new zt.Buf32(vI),t.distcode=t.distdyn=new zt.Buf32(xI),t.sane=1,t.back=-1,or)}function a2(e){var t;return!e||!e.state?tn:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,r2(e))}function s2(e,t){var n,i;return!e||!e.state||(i=e.state,t<0?(n=0,t=-t):(n=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?tn:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,a2(e))}function o2(e,t){var n,i;return e?(i=new _I,e.state=i,i.window=null,n=s2(e,t),n!==or&&(e.state=null),n):tn}function SI(e){return o2(e,wI)}var Q_=!0,Pd,qd;function OI(e){if(Q_){var t;for(Pd=new zt.Buf32(512),qd=new zt.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Us(e2,e.lens,0,288,Pd,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Us(t2,e.lens,0,32,qd,0,e.work,{bits:5}),Q_=!1}e.lencode=Pd,e.lenbits=9,e.distcode=qd,e.distbits=5}function c2(e,t,n,i){var r,a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new zt.Buf8(a.wsize)),i>=a.wsize?(zt.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(r=a.wsize-a.wnext,r>i&&(r=i),zt.arraySet(a.window,t,n-i,r,a.wnext),i-=r,i?(zt.arraySet(a.window,t,n-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=r,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=r))),0}function EI(e,t){var n,i,r,a,s,o,c,u,l,p,d,g,x,b,h=0,_,k,I,R,M,H,D,$,y=new zt.Buf8(4),P,O,v=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return tn;n=e.state,n.mode===Dn&&(n.mode=Id),s=e.next_out,r=e.output,c=e.avail_out,a=e.next_in,i=e.input,o=e.avail_in,u=n.hold,l=n.bits,p=o,d=c,$=or;e:for(;;)switch(n.mode){case i2:if(n.wrap===0){n.mode=Id;break}for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(n.wrap&2&&u===35615){n.check=0,y[0]=u&255,y[1]=u>>>8&255,n.check=Tn(n.check,y,2,0),u=0,l=0,n.mode=M_;break}if(n.flags=0,n.head&&(n.head.done=!1),!(n.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=Me;break}if((u&15)!==j_){e.msg="unknown compression method",n.mode=Me;break}if(u>>>=4,l-=4,D=(u&15)+8,n.wbits===0)n.wbits=D;else if(D>n.wbits){e.msg="invalid window size",n.mode=Me;break}n.dmax=1<<D,e.adler=n.check=1,n.mode=u&512?F_:Dn,u=0,l=0;break;case M_:for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(n.flags=u,(n.flags&255)!==j_){e.msg="unknown compression method",n.mode=Me;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Me;break}n.head&&(n.head.text=u>>8&1),n.flags&512&&(y[0]=u&255,y[1]=u>>>8&255,n.check=Tn(n.check,y,2,0)),u=0,l=0,n.mode=R_;case R_:for(;l<32;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.head&&(n.head.time=u),n.flags&512&&(y[0]=u&255,y[1]=u>>>8&255,y[2]=u>>>16&255,y[3]=u>>>24&255,n.check=Tn(n.check,y,4,0)),u=0,l=0,n.mode=I_;case I_:for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.head&&(n.head.xflags=u&255,n.head.os=u>>8),n.flags&512&&(y[0]=u&255,y[1]=u>>>8&255,n.check=Tn(n.check,y,2,0)),u=0,l=0,n.mode=N_;case N_:if(n.flags&1024){for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.length=u,n.head&&(n.head.extra_len=u),n.flags&512&&(y[0]=u&255,y[1]=u>>>8&255,n.check=Tn(n.check,y,2,0)),u=0,l=0}else n.head&&(n.head.extra=null);n.mode=L_;case L_:if(n.flags&1024&&(g=n.length,g>o&&(g=o),g&&(n.head&&(D=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),zt.arraySet(n.head.extra,i,a,g,D)),n.flags&512&&(n.check=Tn(n.check,i,g,a)),o-=g,a+=g,n.length-=g),n.length))break e;n.length=0,n.mode=P_;case P_:if(n.flags&2048){if(o===0)break e;g=0;do D=i[a+g++],n.head&&D&&n.length<65536&&(n.head.name+=String.fromCharCode(D));while(D&&g<o);if(n.flags&512&&(n.check=Tn(n.check,i,g,a)),o-=g,a+=g,D)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=q_;case q_:if(n.flags&4096){if(o===0)break e;g=0;do D=i[a+g++],n.head&&D&&n.length<65536&&(n.head.comment+=String.fromCharCode(D));while(D&&g<o);if(n.flags&512&&(n.check=Tn(n.check,i,g,a)),o-=g,a+=g,D)break e}else n.head&&(n.head.comment=null);n.mode=B_;case B_:if(n.flags&512){for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(u!==(n.check&65535)){e.msg="header crc mismatch",n.mode=Me;break}u=0,l=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Dn;break;case F_:for(;l<32;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}e.adler=n.check=X_(u),u=0,l=0,n.mode=_l;case _l:if(n.havedict===0)return e.next_out=s,e.avail_out=c,e.next_in=a,e.avail_in=o,n.hold=u,n.bits=l,mI;e.adler=n.check=1,n.mode=Dn;case Dn:if(t===dI||t===xl)break e;case Id:if(n.last){u>>>=l&7,l-=l&7,n.mode=Ld;break}for(;l<3;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}switch(n.last=u&1,u>>>=1,l-=1,u&3){case 0:n.mode=D_;break;case 1:if(OI(n),n.mode=yl,t===xl){u>>>=2,l-=2;break e}break;case 2:n.mode=z_;break;case 3:e.msg="invalid block type",n.mode=Me}u>>>=2,l-=2;break;case D_:for(u>>>=l&7,l-=l&7;l<32;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if((u&65535)!==(u>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Me;break}if(n.length=u&65535,u=0,l=0,n.mode=Nd,t===xl)break e;case Nd:n.mode=$_;case $_:if(g=n.length,g){if(g>o&&(g=o),g>c&&(g=c),g===0)break e;zt.arraySet(r,i,a,g,s),o-=g,a+=g,c-=g,s+=g,n.length-=g;break}n.mode=Dn;break;case z_:for(;l<14;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(n.nlen=(u&31)+257,u>>>=5,l-=5,n.ndist=(u&31)+1,u>>>=5,l-=5,n.ncode=(u&15)+4,u>>>=4,l-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Me;break}n.have=0,n.mode=U_;case U_:for(;n.have<n.ncode;){for(;l<3;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.lens[v[n.have++]]=u&7,u>>>=3,l-=3}for(;n.have<19;)n.lens[v[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,P={bits:n.lenbits},$=Us(fI,n.lens,0,19,n.lencode,0,n.work,P),n.lenbits=P.bits,$){e.msg="invalid code lengths set",n.mode=Me;break}n.have=0,n.mode=W_;case W_:for(;n.have<n.nlen+n.ndist;){for(;h=n.lencode[u&(1<<n.lenbits)-1],_=h>>>24,k=h>>>16&255,I=h&65535,!(_<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(I<16)u>>>=_,l-=_,n.lens[n.have++]=I;else{if(I===16){for(O=_+2;l<O;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(u>>>=_,l-=_,n.have===0){e.msg="invalid bit length repeat",n.mode=Me;break}D=n.lens[n.have-1],g=3+(u&3),u>>>=2,l-=2}else if(I===17){for(O=_+3;l<O;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}u>>>=_,l-=_,D=0,g=3+(u&7),u>>>=3,l-=3}else{for(O=_+7;l<O;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}u>>>=_,l-=_,D=0,g=11+(u&127),u>>>=7,l-=7}if(n.have+g>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Me;break}for(;g--;)n.lens[n.have++]=D}}if(n.mode===Me)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Me;break}if(n.lenbits=9,P={bits:n.lenbits},$=Us(e2,n.lens,0,n.nlen,n.lencode,0,n.work,P),n.lenbits=P.bits,$){e.msg="invalid literal/lengths set",n.mode=Me;break}if(n.distbits=6,n.distcode=n.distdyn,P={bits:n.distbits},$=Us(t2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,P),n.distbits=P.bits,$){e.msg="invalid distances set",n.mode=Me;break}if(n.mode=yl,t===xl)break e;case yl:n.mode=wl;case wl:if(o>=6&&c>=258){e.next_out=s,e.avail_out=c,e.next_in=a,e.avail_in=o,n.hold=u,n.bits=l,pI(e,d),s=e.next_out,r=e.output,c=e.avail_out,a=e.next_in,i=e.input,o=e.avail_in,u=n.hold,l=n.bits,n.mode===Dn&&(n.back=-1);break}for(n.back=0;h=n.lencode[u&(1<<n.lenbits)-1],_=h>>>24,k=h>>>16&255,I=h&65535,!(_<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(k&&(k&240)===0){for(R=_,M=k,H=I;h=n.lencode[H+((u&(1<<R+M)-1)>>R)],_=h>>>24,k=h>>>16&255,I=h&65535,!(R+_<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}u>>>=R,l-=R,n.back+=R}if(u>>>=_,l-=_,n.back+=_,n.length=I,k===0){n.mode=Z_;break}if(k&32){n.back=-1,n.mode=Dn;break}if(k&64){e.msg="invalid literal/length code",n.mode=Me;break}n.extra=k&15,n.mode=H_;case H_:if(n.extra){for(O=n.extra;l<O;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.length+=u&(1<<n.extra)-1,u>>>=n.extra,l-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=Y_;case Y_:for(;h=n.distcode[u&(1<<n.distbits)-1],_=h>>>24,k=h>>>16&255,I=h&65535,!(_<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if((k&240)===0){for(R=_,M=k,H=I;h=n.distcode[H+((u&(1<<R+M)-1)>>R)],_=h>>>24,k=h>>>16&255,I=h&65535,!(R+_<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}u>>>=R,l-=R,n.back+=R}if(u>>>=_,l-=_,n.back+=_,k&64){e.msg="invalid distance code",n.mode=Me;break}n.offset=I,n.extra=k&15,n.mode=K_;case K_:if(n.extra){for(O=n.extra;l<O;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.offset+=u&(1<<n.extra)-1,u>>>=n.extra,l-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Me;break}n.mode=G_;case G_:if(c===0)break e;if(g=d-c,n.offset>g){if(g=n.offset-g,g>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Me;break}g>n.wnext?(g-=n.wnext,x=n.wsize-g):x=n.wnext-g,g>n.length&&(g=n.length),b=n.window}else b=r,x=s-n.offset,g=n.length;g>c&&(g=c),c-=g,n.length-=g;do r[s++]=b[x++];while(--g);n.length===0&&(n.mode=wl);break;case Z_:if(c===0)break e;r[s++]=n.length,c--,n.mode=wl;break;case Ld:if(n.wrap){for(;l<32;){if(o===0)break e;o--,u|=i[a++]<<l,l+=8}if(d-=c,e.total_out+=d,n.total+=d,d&&(e.adler=n.check=n.flags?Tn(n.check,r,d,s-d):Bd(n.check,r,d,s-d)),d=c,(n.flags?u:X_(u))!==n.check){e.msg="incorrect data check",n.mode=Me;break}u=0,l=0}n.mode=V_;case V_:if(n.wrap&&n.flags){for(;l<32;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(u!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=Me;break}u=0,l=0}n.mode=J_;case J_:$=hI;break e;case Me:$=n2;break e;case Dd:return Fd;case bI:default:return tn}return e.next_out=s,e.avail_out=c,e.next_in=a,e.avail_in=o,n.hold=u,n.bits=l,(n.wsize||d!==e.avail_out&&n.mode<Me&&(n.mode<Ld||t!==A_))&&c2(e,e.output,e.next_out,d-e.avail_out)?(n.mode=Dd,Fd):(p-=e.avail_in,d-=e.avail_out,e.total_in+=p,e.total_out+=d,n.total+=d,n.wrap&&d&&(e.adler=n.check=n.flags?Tn(n.check,r,d,e.next_out-d):Bd(n.check,r,d,e.next_out-d)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Dn?128:0)+(n.mode===yl||n.mode===Nd?256:0),(p===0&&d===0||t===A_)&&$===or&&($=gI),$)}function kI(e){if(!e||!e.state)return tn;var t=e.state;return t.window&&(t.window=null),e.state=null,or}function CI(e,t){var n;return!e||!e.state||(n=e.state,(n.wrap&2)===0)?tn:(n.head=t,t.done=!1,or)}function TI(e,t){var n=t.length,i,r,a;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==_l)?tn:i.mode===_l&&(r=1,r=Bd(r,t,n,0),r!==i.check)?n2:(a=c2(e,t,n,n),a?(i.mode=Dd,Fd):(i.havedict=1,or))}pn.inflateReset=a2;pn.inflateReset2=s2;pn.inflateResetKeep=r2;pn.inflateInit=SI;pn.inflateInit2=o2;pn.inflate=EI;pn.inflateEnd=kI;pn.inflateGetHeader=CI;pn.inflateSetDictionary=TI;pn.inflateInfo="pako inflate (from Nodeca project)"});var $d=w((wF,u2)=>{"use strict";u2.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var f2=w((_F,p2)=>{"use strict";function AI(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}p2.exports=AI});var h2=w(Hs=>{"use strict";var Ta=l2(),Ws=qn(),Sl=kd(),ze=$d(),zd=ul(),jI=Cd(),MI=f2(),d2=Object.prototype.toString;function cr(e){if(!(this instanceof cr))return new cr(e);this.options=Ws.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)===0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new jI,this.strm.avail_out=0;var n=Ta.inflateInit2(this.strm,t.windowBits);if(n!==ze.Z_OK)throw new Error(zd[n]);if(this.header=new MI,Ta.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Sl.string2buf(t.dictionary):d2.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=Ta.inflateSetDictionary(this.strm,t.dictionary),n!==ze.Z_OK)))throw new Error(zd[n])}cr.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,r=this.options.dictionary,a,s,o,c,u,l=!1;if(this.ended)return!1;s=t===~~t?t:t===!0?ze.Z_FINISH:ze.Z_NO_FLUSH,typeof e=="string"?n.input=Sl.binstring2buf(e):d2.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0&&(n.output=new Ws.Buf8(i),n.next_out=0,n.avail_out=i),a=Ta.inflate(n,ze.Z_NO_FLUSH),a===ze.Z_NEED_DICT&&r&&(a=Ta.inflateSetDictionary(this.strm,r)),a===ze.Z_BUF_ERROR&&l===!0&&(a=ze.Z_OK,l=!1),a!==ze.Z_STREAM_END&&a!==ze.Z_OK)return this.onEnd(a),this.ended=!0,!1;n.next_out&&(n.avail_out===0||a===ze.Z_STREAM_END||n.avail_in===0&&(s===ze.Z_FINISH||s===ze.Z_SYNC_FLUSH))&&(this.options.to==="string"?(o=Sl.utf8border(n.output,n.next_out),c=n.next_out-o,u=Sl.buf2string(n.output,o),n.next_out=c,n.avail_out=i-c,c&&Ws.arraySet(n.output,n.output,o,c,0),this.onData(u)):this.onData(Ws.shrinkBuf(n.output,n.next_out))),n.avail_in===0&&n.avail_out===0&&(l=!0)}while((n.avail_in>0||n.avail_out===0)&&a!==ze.Z_STREAM_END);return a===ze.Z_STREAM_END&&(s=ze.Z_FINISH),s===ze.Z_FINISH?(a=Ta.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===ze.Z_OK):(s===ze.Z_SYNC_FLUSH&&(this.onEnd(ze.Z_OK),n.avail_out=0),!0)};cr.prototype.onData=function(e){this.chunks.push(e)};cr.prototype.onEnd=function(e){e===ze.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ws.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Ud(e,t){var n=new cr(t);if(n.push(e,!0),n.err)throw n.msg||zd[n.err];return n.result}function RI(e,t){return t=t||{},t.raw=!0,Ud(e,t)}Hs.Inflate=cr;Hs.inflate=Ud;Hs.inflateRaw=RI;Hs.ungzip=Ud});var b2=w((OF,g2)=>{"use strict";var II=qn().assign,NI=x_(),LI=h2(),PI=$d(),m2={};II(m2,NI,LI,PI);g2.exports=m2});var x2=w(El=>{"use strict";var qI=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",BI=b2(),v2=Pe(),Ol=$t(),FI=qI?"uint8array":"array";El.magic="\b\0";function lr(e,t){Ol.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}v2.inherits(lr,Ol);lr.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(v2.transformTo(FI,e.data),!1)};lr.prototype.flush=function(){Ol.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)};lr.prototype.cleanUp=function(){Ol.prototype.cleanUp.call(this),this._pako=null};lr.prototype._createPako=function(){this._pako=new BI[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}};El.compressWorker=function(e){return new lr("Deflate",e)};El.uncompressWorker=function(){return new lr("Inflate",{})}});var Hd=w(Wd=>{"use strict";var y2=$t();Wd.STORE={magic:"\0\0",compressWorker:function(e){return new y2("STORE compression")},uncompressWorker:function(){return new y2("STORE decompression")}};Wd.DEFLATE=x2()});var Yd=w(ur=>{"use strict";ur.LOCAL_FILE_HEADER="PK";ur.CENTRAL_FILE_HEADER="PK";ur.CENTRAL_DIRECTORY_END="PK";ur.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07";ur.ZIP64_CENTRAL_DIRECTORY_END="PK";ur.DATA_DESCRIPTOR="PK\x07\b"});var O2=w((TF,S2)=>{"use strict";var Aa=Pe(),ja=$t(),Kd=Qi(),w2=al(),kl=Yd(),Ce=function(e,t){var n="",i;for(i=0;i<t;i++)n+=String.fromCharCode(e&255),e=e>>>8;return n},DI=function(e,t){var n=e;return e||(n=t?16893:33204),(n&65535)<<16},$I=function(e,t){return(e||0)&63},_2=function(e,t,n,i,r,a){var s=e.file,o=e.compression,c=a!==Kd.utf8encode,u=Aa.transformTo("string",a(s.name)),l=Aa.transformTo("string",Kd.utf8encode(s.name)),p=s.comment,d=Aa.transformTo("string",a(p)),g=Aa.transformTo("string",Kd.utf8encode(p)),x=l.length!==s.name.length,b=g.length!==p.length,h,_,k="",I="",R="",M=s.dir,H=s.date,D={crc32:0,compressedSize:0,uncompressedSize:0};(!t||n)&&(D.crc32=e.crc32,D.compressedSize=e.compressedSize,D.uncompressedSize=e.uncompressedSize);var $=0;t&&($|=8),!c&&(x||b)&&($|=2048);var y=0,P=0;M&&(y|=16),r==="UNIX"?(P=798,y|=DI(s.unixPermissions,M)):(P=20,y|=$I(s.dosPermissions,M)),h=H.getUTCHours(),h=h<<6,h=h|H.getUTCMinutes(),h=h<<5,h=h|H.getUTCSeconds()/2,_=H.getUTCFullYear()-1980,_=_<<4,_=_|H.getUTCMonth()+1,_=_<<5,_=_|H.getUTCDate(),x&&(I=Ce(1,1)+Ce(w2(u),4)+l,k+="up"+Ce(I.length,2)+I),b&&(R=Ce(1,1)+Ce(w2(d),4)+g,k+="uc"+Ce(R.length,2)+R);var O="";O+=`
|
|
42
|
-
\0`,O+=Ce($,2),O+=o.magic,O+=Ce(h,2),O+=Ce(_,2),O+=Ce(D.crc32,4),O+=Ce(D.compressedSize,4),O+=Ce(D.uncompressedSize,4),O+=Ce(u.length,2),O+=Ce(k.length,2);var v=kl.LOCAL_FILE_HEADER+O+u+k,A=kl.CENTRAL_FILE_HEADER+Ce(P,2)+O+Ce(d.length,2)+"\0\0\0\0"+Ce(y,4)+Ce(i,4)+u+k+d;return{fileRecord:v,dirRecord:A}},zI=function(e,t,n,i,r){var a="",s=Aa.transformTo("string",r(i));return a=kl.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Ce(e,2)+Ce(e,2)+Ce(t,4)+Ce(n,4)+Ce(s.length,2)+s,a},UI=function(e){var t="";return t=kl.DATA_DESCRIPTOR+Ce(e.crc32,4)+Ce(e.compressedSize,4)+Ce(e.uncompressedSize,4),t};function fn(e,t,n,i){ja.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Aa.inherits(fn,ja);fn.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,ja.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-i-1))/n:100}}))};fn.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=_2(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0};fn.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=_2(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:UI(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null};fn.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,i=zI(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})};fn.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()};fn.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(n){t.processChunk(n)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(n){t.error(n)}),this};fn.prototype.resume=function(){if(!ja.prototype.resume.call(this))return!1;if(!this.previous&&this._sources.length)return this.prepareNextSource(),!0;if(!this.previous&&!this._sources.length&&!this.generatedError)return this.end(),!0};fn.prototype.error=function(e){var t=this._sources;if(!ja.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0};fn.prototype.lock=function(){ja.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};S2.exports=fn});var k2=w(E2=>{"use strict";var WI=Hd(),HI=O2(),YI=function(e,t){var n=e||t,i=WI[n];if(!i)throw new Error(n+" is not a valid compression method !");return i};E2.generateWorker=function(e,t,n){var i=new HI(t.streamFiles,n,t.platform,t.encodeFileName),r=0;try{e.forEach(function(a,s){r++;var o=YI(s.options.compression,t.compression),c=s.options.compressionOptions||t.compressionOptions||{},u=s.dir,l=s.date;s._compressWorker(o,c).withStreamInfo("file",{name:a,dir:u,date:l,comment:s.comment||"",unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions}).pipe(i)}),i.entriesCount=r}catch(a){i.error(a)}return i}});var T2=w((jF,C2)=>{"use strict";var KI=Pe(),Cl=$t();function Ys(e,t){Cl.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}KI.inherits(Ys,Cl);Ys.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",function(n){t.push({data:n,meta:{percent:0}})}).on("error",function(n){t.isPaused?this.generatedError=n:t.error(n)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})};Ys.prototype.pause=function(){return Cl.prototype.pause.call(this)?(this._stream.pause(),!0):!1};Ys.prototype.resume=function(){return Cl.prototype.resume.call(this)?(this._upstreamEnded?this.end():this._stream.resume(),!0):!1};C2.exports=Ys});var B2=w((MF,q2)=>{"use strict";var GI=Qi(),Ks=Pe(),R2=$t(),ZI=Xf(),I2=Qf(),A2=sl(),VI=jw(),JI=k2(),j2=_s(),XI=T2(),N2=function(e,t,n){var i=Ks.getTypeOf(t),r,a=Ks.extend(n||{},I2);a.date=a.date||new Date,a.compression!==null&&(a.compression=a.compression.toUpperCase()),typeof a.unixPermissions=="string"&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&a.unixPermissions&16384&&(a.dir=!0),a.dosPermissions&&a.dosPermissions&16&&(a.dir=!0),a.dir&&(e=L2(e)),a.createFolders&&(r=QI(e))&&P2.call(this,r,!0);var s=i==="string"&&a.binary===!1&&a.base64===!1;(!n||typeof n.binary>"u")&&(a.binary=!s);var o=t instanceof A2&&t.uncompressedSize===0;(o||a.dir||!t||t.length===0)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE",i="string");var c=null;t instanceof A2||t instanceof R2?c=t:j2.isNode&&j2.isStream(t)?c=new XI(e,t):c=Ks.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var u=new VI(e,c,a);this.files[e]=u},QI=function(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},L2=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},P2=function(e,t){return t=typeof t<"u"?t:I2.createFolders,e=L2(e),this.files[e]||N2.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function M2(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var eN={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,i;for(t in this.files)i=this.files[t],n=t.slice(this.root.length,t.length),n&&t.slice(0,this.root.length)===this.root&&e(n,i)},filter:function(e){var t=[];return this.forEach(function(n,i){e(n,i)&&t.push(i)}),t},file:function(e,t,n){if(arguments.length===1)if(M2(e)){var i=e;return this.filter(function(a,s){return!s.dir&&i.test(a)})}else{var r=this.files[this.root+e];return r&&!r.dir?r:null}else e=this.root+e,N2.call(this,e,t,n);return this},folder:function(e){if(!e)return this;if(M2(e))return this.filter(function(r,a){return a.dir&&e.test(r)});var t=this.root+e,n=P2.call(this,t),i=this.clone();return i.root=n.name,i},remove:function(e){e=this.root+e;var t=this.files[e];if(t||(e.slice(-1)!=="/"&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(r,a){return a.name.slice(0,e.length)===e}),i=0;i<n.length;i++)delete this.files[n[i].name];return this},generate:function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if(n=Ks.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:GI.utf8encode}),n.type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),n.type==="binarystring"&&(n.type="string"),!n.type)throw new Error("No output type specified.");Ks.checkSupport(n.type),(n.platform==="darwin"||n.platform==="freebsd"||n.platform==="linux"||n.platform==="sunos")&&(n.platform="UNIX"),n.platform==="win32"&&(n.platform="DOS");var i=n.comment||this.comment||"";t=JI.generateWorker(this,n,i)}catch(r){t=new R2("error"),t.error(r)}return new ZI(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return e=e||{},e.type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};q2.exports=eN});var Gd=w((RF,D2)=>{"use strict";var tN=Pe();function F2(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}F2.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t=0,n;for(this.checkOffset(e),n=this.index+e-1;n>=this.index;n--)t=(t<<8)+this.byteAt(n);return this.index+=e,t},readString:function(e){return tN.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(e&31)<<1))}};D2.exports=F2});var Zd=w((IF,z2)=>{"use strict";var $2=Gd(),nN=Pe();function Ma(e){$2.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=e[t]&255}nN.inherits(Ma,$2);Ma.prototype.byteAt=function(e){return this.data[this.zero+e]};Ma.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),i=e.charCodeAt(2),r=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===n&&this.data[a+2]===i&&this.data[a+3]===r)return a-this.zero;return-1};Ma.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),i=e.charCodeAt(2),r=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&n===a[1]&&i===a[2]&&r===a[3]};Ma.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};z2.exports=Ma});var H2=w((NF,W2)=>{"use strict";var U2=Gd(),iN=Pe();function Ra(e){U2.call(this,e)}iN.inherits(Ra,U2);Ra.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};Ra.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};Ra.prototype.readAndCheckSignature=function(e){var t=this.readData(4);return e===t};Ra.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};W2.exports=Ra});var Jd=w((LF,K2)=>{"use strict";var Y2=Zd(),rN=Pe();function Vd(e){Y2.call(this,e)}rN.inherits(Vd,Y2);Vd.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};K2.exports=Vd});var V2=w((PF,Z2)=>{"use strict";var G2=Jd(),aN=Pe();function Xd(e){G2.call(this,e)}aN.inherits(Xd,G2);Xd.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};Z2.exports=Xd});var Qd=w((qF,X2)=>{"use strict";var Tl=Pe(),J2=Ln(),sN=Zd(),oN=H2(),cN=V2(),lN=Jd();X2.exports=function(e){var t=Tl.getTypeOf(e);return Tl.checkSupport(t),t==="string"&&!J2.uint8array?new oN(e):t==="nodebuffer"?new cN(e):J2.uint8array?new lN(Tl.transformTo("uint8array",e)):new sN(Tl.transformTo("array",e))}});var nS=w((BF,tS)=>{"use strict";var eh=Qd(),hi=Pe(),uN=sl(),Q2=al(),Al=Qi(),jl=Hd(),pN=Ln(),fN=0,dN=3,hN=function(e){for(var t in jl)if(!!jl.hasOwnProperty(t)&&jl[t].magic===e)return jl[t];return null};function eS(e,t){this.options=e,this.loadOptions=t}eS.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(t=hN(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+hi.pretty(this.compressionMethod)+" unknown (inner file : "+hi.transformTo("string",this.fileName)+")");this.decompressed=new uN(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(this.externalFileAttributes&16),e===fN&&(this.dosPermissions=this.externalFileAttributes&63),e===dN&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=!0)},parseZIP64ExtraField:function(e){if(!!this.extraFields[1]){var t=eh(this.extraFields[1].value);this.uncompressedSize===hi.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===hi.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===hi.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===hi.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t=e.index+this.extraFieldsLength,n,i,r;for(this.extraFields||(this.extraFields={});e.index+4<t;)n=e.readInt(2),i=e.readInt(2),r=e.readData(i),this.extraFields[n]={id:n,length:i,value:r};e.setIndex(t)},handleUTF8:function(){var e=pN.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=Al.utf8decode(this.fileName),this.fileCommentStr=Al.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var n=hi.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var i=this.findExtraFieldUnicodeComment();if(i!==null)this.fileCommentStr=i;else{var r=hi.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(r)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=eh(e.value);return t.readInt(1)!==1||Q2(this.fileName)!==t.readInt(4)?null:Al.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=eh(e.value);return t.readInt(1)!==1||Q2(this.fileComment)!==t.readInt(4)?null:Al.utf8decode(t.readData(e.length-5))}return null}};tS.exports=eS});var aS=w((DF,rS)=>{"use strict";var mN=Qd(),$n=Pe(),dn=Yd(),gN=nS(),FF=Qi(),bN=Ln();function iS(e){this.files=[],this.loadOptions=e}iS.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+$n.pretty(t)+", expected "+$n.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var i=this.reader.readString(4),r=i===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=bN.uint8array?"uint8array":"array",n=$n.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e=this.zip64EndOfCentralSize-44,t=0,n,i,r;t<e;)n=this.reader.readInt(2),i=this.reader.readInt(4),r=this.reader.readData(i),this.zip64ExtensibleData[n]={id:n,length:i,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(dn.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(dn.CENTRAL_FILE_HEADER);)e=new gN({zip64:this.zip64},this.loadOptions),e.readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(dn.CENTRAL_DIRECTORY_END);if(e<0){var t=!this.isSignature(0,dn.LOCAL_FILE_HEADER);throw t?new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip: can't find end of central directory")}this.reader.setIndex(e);var n=e;if(this.checkSignature(dn.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===$n.MAX_VALUE_16BITS||this.diskWithCentralDirStart===$n.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===$n.MAX_VALUE_16BITS||this.centralDirRecords===$n.MAX_VALUE_16BITS||this.centralDirSize===$n.MAX_VALUE_32BITS||this.centralDirOffset===$n.MAX_VALUE_32BITS){if(this.zip64=!0,e=this.reader.lastIndexOfSignature(dn.ZIP64_CENTRAL_DIRECTORY_LOCATOR),e<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(dn.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,dn.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(dn.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(dn.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var r=n-i;if(r>0)this.isSignature(n,dn.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=mN(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};rS.exports=iS});var lS=w(($F,cS)=>{"use strict";var sS=Pe(),Ml=ma(),vN=Qi(),xN=aS(),yN=nd(),oS=_s();function wN(e){return new Ml.Promise(function(t,n){var i=e.decompressed.getContentWorker().pipe(new yN);i.on("error",function(r){n(r)}).on("end",function(){i.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}cS.exports=function(e,t){var n=this;return t=sS.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:vN.utf8decode}),oS.isNode&&oS.isStream(e)?Ml.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):sS.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(i){var r=new xN(t);return r.load(i),r}).then(function(r){var a=[Ml.Promise.resolve(r)],s=r.files;if(t.checkCRC32)for(var o=0;o<s.length;o++)a.push(wN(s[o]));return Ml.Promise.all(a)}).then(function(r){for(var a=r.shift(),s=a.files,o=0;o<s.length;o++){var c=s[o];n.file(c.fileNameStr,c.decompressed,{binary:!0,optimizedBinaryString:!0,date:c.date,dir:c.dir,comment:c.fileCommentStr.length?c.fileCommentStr:null,unixPermissions:c.unixPermissions,dosPermissions:c.dosPermissions,createFolders:t.createFolders})}return a.zipComment.length&&(n.comment=a.zipComment),n})}});var pS=w((zF,uS)=>{"use strict";function nn(){if(!(this instanceof nn))return new nn;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new nn;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e}}nn.prototype=B2();nn.prototype.loadAsync=lS();nn.support=Ln();nn.defaults=Qf();nn.version="3.7.1";nn.loadAsync=function(e,t){return new nn().loadAsync(e,t)};nn.external=ma();uS.exports=nn});var fr=w(At=>{"use strict";var zn={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},Gs={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},_N="tag:yaml.org,2002:",SN={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function fS(e){let t=[0],n=e.indexOf(`
|
|
30
|
+
`)+n,i=r+1,r=e.indexOf(`
|
|
31
|
+
`,i)}while(r!==-1);return a+=e.substr(i),a};vx.exports={stringReplaceAll:vj,stringEncaseCRLFWithFirstIndex:bj}});var Sx=b((m4,_x)=>{"use strict";var xj=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,xx=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,yj=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,wj=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,_j=new Map([["n",`
|
|
32
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function wx(e){let t=e[0]==="u",n=e[1]==="{";return t&&!n&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):_j.get(e)||e}function Sj(e,t){let n=[],r=t.trim().split(/\s*,\s*/g),i;for(let a of r){let s=Number(a);if(!Number.isNaN(s))n.push(s);else if(i=a.match(yj))n.push(i[2].replace(wj,(o,c,u)=>c?wx(c):u));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`)}return n}function Ej(e){xx.lastIndex=0;let t=[],n;for(;(n=xx.exec(e))!==null;){let r=n[1];if(n[2]){let i=Sj(r,n[2]);t.push([r].concat(i))}else t.push([r])}return t}function yx(e,t){let n={};for(let i of t)for(let a of i.styles)n[a[0]]=i.inverse?null:a.slice(1);let r=e;for(let[i,a]of Object.entries(n))if(!!Array.isArray(a)){if(!(i in r))throw new Error(`Unknown Chalk style: ${i}`);r=a.length>0?r[i](...a):r[i]}return r}_x.exports=(e,t)=>{let n=[],r=[],i=[];if(t.replace(xj,(a,s,o,c,u,l)=>{if(s)i.push(wx(s));else if(c){let p=i.join("");i=[],r.push(n.length===0?p:yx(e,n)(p)),n.push({inverse:o,styles:Ej(c)})}else if(u){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");r.push(yx(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){let a=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(a)}return r.join("")}});var Ct=b((g4,Ax)=>{"use strict";var Qa=cp(),{stdout:jp,stderr:Rp}=To(),{stringReplaceAll:Oj,stringEncaseCRLFWithFirstIndex:kj}=bx(),{isArray:dc}=Array,Ox=["ansi","ansi","ansi256","ansi16m"],Hi=Object.create(null),Tj=(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 n=jp?jp.level:0;e.level=t.level===void 0?n:t.level},Mp=class{constructor(t){return kx(t)}},kx=e=>{let t={};return Tj(t,e),t.template=(...n)=>Cx(t.template,...n),Object.setPrototypeOf(t,hc.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=Mp,t.template};function hc(e){return kx(e)}for(let[e,t]of Object.entries(Qa))Hi[e]={get(){let n=mc(this,Pp(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};Hi.visible={get(){let e=mc(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};var Tx=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of Tx)Hi[e]={get(){let{level:t}=this;return function(...n){let r=Pp(Qa.color[Ox[t]][e](...n),Qa.color.close,this._styler);return mc(this,r,this._isEmpty)}}};for(let e of Tx){let t="bg"+e[0].toUpperCase()+e.slice(1);Hi[t]={get(){let{level:n}=this;return function(...r){let i=Pp(Qa.bgColor[Ox[n]][e](...r),Qa.bgColor.close,this._styler);return mc(this,i,this._isEmpty)}}}}var Cj=Object.defineProperties(()=>{},{...Hi,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),Pp=(e,t,n)=>{let r,i;return n===void 0?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},mc=(e,t,n)=>{let r=(...i)=>dc(i[0])&&dc(i[0].raw)?Ex(r,Cx(r,...i)):Ex(r,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(r,Cj),r._generator=e,r._styler=t,r._isEmpty=n,r},Ex=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(n===void 0)return t;let{openAll:r,closeAll:i}=n;if(t.indexOf("\x1B")!==-1)for(;n!==void 0;)t=Oj(t,n.close,n.open),n=n.parent;let a=t.indexOf(`
|
|
33
|
+
`);return a!==-1&&(t=kj(t,i,r,a)),r+t+i},Ap,Cx=(e,...t)=>{let[n]=t;if(!dc(n)||!dc(n.raw))return t.join(" ");let r=t.slice(1),i=[n.raw[0]];for(let a=1;a<n.length;a++)i.push(String(r[a-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[a]));return Ap===void 0&&(Ap=Sx()),Ap(e,i.join(""))};Object.defineProperties(hc.prototype,Hi);var gc=hc();gc.supportsColor=jp;gc.stderr=hc({level:Rp?Rp.level:0});gc.stderr.supportsColor=Rp;Ax.exports=gc});var Ip=b((v4,jx)=>{"use strict";jx.exports=function(t,n){return function(){for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];return t.apply(n,i)}}});var yt=b((b4,Px)=>{"use strict";var Aj=Ip(),Dr=Object.prototype.toString;function qp(e){return Dr.call(e)==="[object Array]"}function Np(e){return typeof e>"u"}function jj(e){return e!==null&&!Np(e)&&e.constructor!==null&&!Np(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Rj(e){return Dr.call(e)==="[object ArrayBuffer]"}function Mj(e){return typeof FormData<"u"&&e instanceof FormData}function Pj(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function Ij(e){return typeof e=="string"}function Nj(e){return typeof e=="number"}function Rx(e){return e!==null&&typeof e=="object"}function vc(e){if(Dr.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function Lj(e){return Dr.call(e)==="[object Date]"}function qj(e){return Dr.call(e)==="[object File]"}function Bj(e){return Dr.call(e)==="[object Blob]"}function Mx(e){return Dr.call(e)==="[object Function]"}function Fj(e){return Rx(e)&&Mx(e.pipe)}function Dj(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}function zj(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Uj(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Bp(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),qp(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function Lp(){var e={};function t(i,a){vc(e[a])&&vc(i)?e[a]=Lp(e[a],i):vc(i)?e[a]=Lp({},i):qp(i)?e[a]=i.slice():e[a]=i}for(var n=0,r=arguments.length;n<r;n++)Bp(arguments[n],t);return e}function $j(e,t,n){return Bp(t,function(i,a){n&&typeof i=="function"?e[a]=Aj(i,n):e[a]=i}),e}function Wj(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}Px.exports={isArray:qp,isArrayBuffer:Rj,isBuffer:jj,isFormData:Mj,isArrayBufferView:Pj,isString:Ij,isNumber:Nj,isObject:Rx,isPlainObject:vc,isUndefined:Np,isDate:Lj,isFile:qj,isBlob:Bj,isFunction:Mx,isStream:Fj,isURLSearchParams:Dj,isStandardBrowserEnv:Uj,forEach:Bp,merge:Lp,extend:$j,trim:zj,stripBOM:Wj}});var bc=b((x4,Nx)=>{"use strict";var Yi=yt();function Ix(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}Nx.exports=function(t,n,r){if(!n)return t;var i;if(r)i=r(n);else if(Yi.isURLSearchParams(n))i=n.toString();else{var a=[];Yi.forEach(n,function(c,u){c===null||typeof c>"u"||(Yi.isArray(c)?u=u+"[]":c=[c],Yi.forEach(c,function(p){Yi.isDate(p)?p=p.toISOString():Yi.isObject(p)&&(p=JSON.stringify(p)),a.push(Ix(u)+"="+Ix(p))}))}),i=a.join("&")}if(i){var s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}});var qx=b((y4,Lx)=>{"use strict";var Hj=yt();function xc(){this.handlers=[]}xc.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};xc.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};xc.prototype.forEach=function(t){Hj.forEach(this.handlers,function(r){r!==null&&t(r)})};Lx.exports=xc});var Fx=b((w4,Bx)=>{"use strict";var Yj=yt();Bx.exports=function(t,n){Yj.forEach(t,function(i,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=i,delete t[a])})}});var yc=b((_4,Dx)=>{"use strict";Dx.exports=function(t,n,r,i,a){return t.config=n,r&&(t.code=r),t.request=i,t.response=a,t.isAxiosError=!0,t.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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}});var wc=b((S4,zx)=>{"use strict";var Gj=yc();zx.exports=function(t,n,r,i,a){var s=new Error(t);return Gj(s,n,r,i,a)}});var Fp=b((E4,Ux)=>{"use strict";var Kj=wc();Ux.exports=function(t,n,r){var i=r.config.validateStatus;!r.status||!i||i(r.status)?t(r):n(Kj("Request failed with status code "+r.status,r.config,null,r.request,r))}});var Wx=b((O4,$x)=>{"use strict";var _c=yt();$x.exports=_c.isStandardBrowserEnv()?function(){return{write:function(n,r,i,a,s,o){var c=[];c.push(n+"="+encodeURIComponent(r)),_c.isNumber(i)&&c.push("expires="+new Date(i).toGMTString()),_c.isString(a)&&c.push("path="+a),_c.isString(s)&&c.push("domain="+s),o===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(n){var r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()});var Yx=b((k4,Hx)=>{"use strict";Hx.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}});var Kx=b((T4,Gx)=>{"use strict";Gx.exports=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}});var Dp=b((C4,Vx)=>{"use strict";var Vj=Yx(),Zj=Kx();Vx.exports=function(t,n){return t&&!Vj(n)?Zj(t,n):n}});var Jx=b((A4,Zx)=>{"use strict";var zp=yt(),Jj=["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"];Zx.exports=function(t){var n={},r,i,a;return t&&zp.forEach(t.split(`
|
|
34
|
+
`),function(o){if(a=o.indexOf(":"),r=zp.trim(o.substr(0,a)).toLowerCase(),i=zp.trim(o.substr(a+1)),r){if(n[r]&&Jj.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([i]):n[r]=n[r]?n[r]+", "+i:i}}),n}});var ey=b((j4,Qx)=>{"use strict";var Xx=yt();Qx.exports=Xx.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function i(a){var s=a;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){var o=Xx.isString(s)?i(s):s;return o.protocol===r.protocol&&o.host===r.host}}():function(){return function(){return!0}}()});var Gi=b((R4,ty)=>{"use strict";function Up(e){this.message=e}Up.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Up.prototype.__CANCEL__=!0;ty.exports=Up});var ry=b((M4,ny)=>{"use strict";var Sc=yt(),Xj=Fp(),Qj=Wx(),e5=bc(),t5=Dp(),n5=Jx(),r5=ey(),$p=wc(),i5=Ki(),a5=Gi();ny.exports=function(t){return new Promise(function(r,i){var a=t.data,s=t.headers,o=t.responseType,c;function u(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}Sc.isFormData(a)&&delete s["Content-Type"];var l=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",f=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(p+":"+f)}var m=t5(t.baseURL,t.url);l.open(t.method.toUpperCase(),e5(m,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function v(){if(!!l){var d="getAllResponseHeaders"in l?n5(l.getAllResponseHeaders()):null,x=!o||o==="text"||o==="json"?l.responseText:l.response,_={data:x,status:l.status,statusText:l.statusText,headers:d,config:t,request:l};Xj(function(k){r(k),u()},function(k){i(k),u()},_),l=null}}if("onloadend"in l?l.onloadend=v:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(v)},l.onabort=function(){!l||(i($p("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){i($p("Network Error",t,null,l)),l=null},l.ontimeout=function(){var x=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",_=t.transitional||i5.transitional;t.timeoutErrorMessage&&(x=t.timeoutErrorMessage),i($p(x,t,_.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},Sc.isStandardBrowserEnv()){var g=(t.withCredentials||r5(m))&&t.xsrfCookieName?Qj.read(t.xsrfCookieName):void 0;g&&(s[t.xsrfHeaderName]=g)}"setRequestHeader"in l&&Sc.forEach(s,function(x,_){typeof a>"u"&&_.toLowerCase()==="content-type"?delete s[_]:l.setRequestHeader(_,x)}),Sc.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),o&&o!=="json"&&(l.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&l.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(c=function(d){!l||(i(!d||d&&d.type?new a5("canceled"):d),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c))),a||(a=null),l.send(a)})}});var Ec=b((P4,iy)=>{iy.exports={version:"0.24.0"}});var uy=b((I4,ly)=>{"use strict";var es=yt(),ay=Fp(),s5=Dp(),o5=bc(),c5=require("http"),l5=require("https"),u5=za().http,p5=za().https,sy=require("url"),f5=require("zlib"),d5=Ec().version,Oc=wc(),Wp=yc(),h5=Ki(),m5=Gi(),oy=/https:?/;function cy(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var r=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+r}e.beforeRedirect=function(a){a.headers.host=a.host,cy(a,t,a.href)}}ly.exports=function(t){return new Promise(function(r,i){var a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}var o=function(K){s(),r(K)},c=function(K){s(),i(K)},u=t.data,l=t.headers,p={};if(Object.keys(l).forEach(function(K){p[K.toLowerCase()]=K}),"user-agent"in p?l[p["user-agent"]]||delete l[p["user-agent"]]:l["User-Agent"]="axios/"+d5,u&&!es.isStream(u)){if(!Buffer.isBuffer(u))if(es.isArrayBuffer(u))u=Buffer.from(new Uint8Array(u));else if(es.isString(u))u=Buffer.from(u,"utf-8");else return c(Oc("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));p["content-length"]||(l["Content-Length"]=u.length)}var f=void 0;if(t.auth){var m=t.auth.username||"",v=t.auth.password||"";f=m+":"+v}var g=s5(t.baseURL,t.url),d=sy.parse(g),x=d.protocol||"http:";if(!f&&d.auth){var _=d.auth.split(":"),T=_[0]||"",k=_[1]||"";f=T+":"+k}f&&p.authorization&&delete l[p.authorization];var O=oy.test(x),D=O?t.httpsAgent:t.httpAgent,B={path:o5(d.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:l,agent:D,agents:{http:t.httpAgent,https:t.httpsAgent},auth:f};t.socketPath?B.socketPath=t.socketPath:(B.hostname=d.hostname,B.port=d.port);var N=t.proxy;if(!N&&N!==!1){var W=x.slice(0,-1)+"_proxy",F=process.env[W]||process.env[W.toUpperCase()];if(F){var q=sy.parse(F),M=process.env.no_proxy||process.env.NO_PROXY,R=!0;if(M){var L=M.split(",").map(function(K){return K.trim()});R=!L.some(function(K){return K?K==="*"||K[0]==="."&&d.hostname.substr(d.hostname.length-K.length)===K?!0:d.hostname===K:!1})}if(R&&(N={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var G=q.auth.split(":");N.auth={username:G[0],password:G[1]}}}}N&&(B.headers.host=d.hostname+(d.port?":"+d.port:""),cy(B,N,x+"//"+d.hostname+(d.port?":"+d.port:"")+B.path));var ue,be=O&&(N?oy.test(N.protocol):!0);t.transport?ue=t.transport:t.maxRedirects===0?ue=be?l5:c5:(t.maxRedirects&&(B.maxRedirects=t.maxRedirects),ue=be?p5:u5),t.maxBodyLength>-1&&(B.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(B.insecureHTTPParser=t.insecureHTTPParser);var ee=ue.request(B,function(K){if(!ee.aborted){var de=K,ae=K.req||ee;if(K.statusCode!==204&&ae.method!=="HEAD"&&t.decompress!==!1)switch(K.headers["content-encoding"]){case"gzip":case"compress":case"deflate":de=de.pipe(f5.createUnzip()),delete K.headers["content-encoding"];break}var $={status:K.statusCode,statusText:K.statusMessage,headers:K.headers,config:t,request:ae};if(t.responseType==="stream")$.data=de,ay(o,c,$);else{var mt=[],Ht=0;de.on("data",function(le){mt.push(le),Ht+=le.length,t.maxContentLength>-1&&Ht>t.maxContentLength&&(de.destroy(),c(Oc("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,ae)))}),de.on("error",function(le){ee.aborted||c(Wp(le,t,null,ae))}),de.on("end",function(){var le=Buffer.concat(mt);t.responseType!=="arraybuffer"&&(le=le.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(le=es.stripBOM(le))),$.data=le,ay(o,c,$)})}}});if(ee.on("error",function(K){ee.aborted&&K.code!=="ERR_FR_TOO_MANY_REDIRECTS"||c(Wp(K,t,null,ee))}),t.timeout){var Ee=parseInt(t.timeout,10);if(isNaN(Ee)){c(Oc("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",ee));return}ee.setTimeout(Ee,function(){ee.abort();var K=t.transitional||h5.transitional;c(Oc("timeout of "+Ee+"ms exceeded",t,K.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",ee))})}(t.cancelToken||t.signal)&&(a=function(pe){ee.aborted||(ee.abort(),c(!pe||pe&&pe.type?new m5("canceled"):pe))},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),es.isStream(u)?u.on("error",function(K){c(Wp(K,t,null,ee))}).pipe(ee):ee.end(u)})}});var Ki=b((N4,dy)=>{"use strict";var st=yt(),py=Fx(),g5=yc(),v5={"Content-Type":"application/x-www-form-urlencoded"};function fy(e,t){!st.isUndefined(e)&&st.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function b5(){var e;return typeof XMLHttpRequest<"u"?e=ry():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=uy()),e}function x5(e,t,n){if(st.isString(e))try{return(t||JSON.parse)(e),st.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var kc={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:b5(),transformRequest:[function(t,n){return py(n,"Accept"),py(n,"Content-Type"),st.isFormData(t)||st.isArrayBuffer(t)||st.isBuffer(t)||st.isStream(t)||st.isFile(t)||st.isBlob(t)?t:st.isArrayBufferView(t)?t.buffer:st.isURLSearchParams(t)?(fy(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):st.isObject(t)||n&&n["Content-Type"]==="application/json"?(fy(n,"application/json"),x5(t)):t}],transformResponse:[function(t){var n=this.transitional||kc.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||i&&st.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?g5(s,this,"E_JSON_PARSE"):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};st.forEach(["delete","get","head"],function(t){kc.headers[t]={}});st.forEach(["post","put","patch"],function(t){kc.headers[t]=st.merge(v5)});dy.exports=kc});var my=b((L4,hy)=>{"use strict";var y5=yt(),w5=Ki();hy.exports=function(t,n,r){var i=this||w5;return y5.forEach(r,function(s){t=s.call(i,t,n)}),t}});var Hp=b((q4,gy)=>{"use strict";gy.exports=function(t){return!!(t&&t.__CANCEL__)}});var xy=b((B4,by)=>{"use strict";var vy=yt(),Yp=my(),_5=Hp(),S5=Ki(),E5=Gi();function Gp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new E5("canceled")}by.exports=function(t){Gp(t),t.headers=t.headers||{},t.data=Yp.call(t,t.data,t.headers,t.transformRequest),t.headers=vy.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),vy.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||S5.adapter;return n(t).then(function(i){return Gp(t),i.data=Yp.call(t,i.data,i.headers,t.transformResponse),i},function(i){return _5(i)||(Gp(t),i&&i.response&&(i.response.data=Yp.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})}});var Kp=b((F4,yy)=>{"use strict";var Ft=yt();yy.exports=function(t,n){n=n||{};var r={};function i(l,p){return Ft.isPlainObject(l)&&Ft.isPlainObject(p)?Ft.merge(l,p):Ft.isPlainObject(p)?Ft.merge({},p):Ft.isArray(p)?p.slice():p}function a(l){if(Ft.isUndefined(n[l])){if(!Ft.isUndefined(t[l]))return i(void 0,t[l])}else return i(t[l],n[l])}function s(l){if(!Ft.isUndefined(n[l]))return i(void 0,n[l])}function o(l){if(Ft.isUndefined(n[l])){if(!Ft.isUndefined(t[l]))return i(void 0,t[l])}else return i(void 0,n[l])}function c(l){if(l in n)return i(t[l],n[l]);if(l in t)return i(void 0,t[l])}var u={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:c};return Ft.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var f=u[p]||a,m=f(p);Ft.isUndefined(m)&&f!==c||(r[p]=m)}),r}});var Sy=b((D4,_y)=>{"use strict";var O5=Ec().version,Vp={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Vp[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var wy={};Vp.transitional=function(t,n,r){function i(a,s){return"[Axios v"+O5+"] Transitional option '"+a+"'"+s+(r?". "+r:"")}return function(a,s,o){if(t===!1)throw new Error(i(s," has been removed"+(n?" in "+n:"")));return n&&!wy[s]&&(wy[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,o):!0}};function k5(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],s=t[a];if(s){var o=e[a],c=o===void 0||s(o,a,e);if(c!==!0)throw new TypeError("option "+a+" must be "+c);continue}if(n!==!0)throw Error("Unknown option "+a)}}_y.exports={assertOptions:k5,validators:Vp}});var Ay=b((z4,Cy)=>{"use strict";var ky=yt(),T5=bc(),Ey=qx(),Oy=xy(),Tc=Kp(),Ty=Sy(),Vi=Ty.validators;function ts(e){this.defaults=e,this.interceptors={request:new Ey,response:new Ey}}ts.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=Tc(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;n!==void 0&&Ty.assertOptions(n,{silentJSONParsing:Vi.transitional(Vi.boolean),forcedJSONParsing:Vi.transitional(Vi.boolean),clarifyTimeoutError:Vi.transitional(Vi.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(t)===!1||(i=i&&f.synchronous,r.unshift(f.fulfilled,f.rejected))});var a=[];this.interceptors.response.forEach(function(f){a.push(f.fulfilled,f.rejected)});var s;if(!i){var o=[Oy,void 0];for(Array.prototype.unshift.apply(o,r),o=o.concat(a),s=Promise.resolve(t);o.length;)s=s.then(o.shift(),o.shift());return s}for(var c=t;r.length;){var u=r.shift(),l=r.shift();try{c=u(c)}catch(p){l(p);break}}try{s=Oy(c)}catch(p){return Promise.reject(p)}for(;a.length;)s=s.then(a.shift(),a.shift());return s};ts.prototype.getUri=function(t){return t=Tc(this.defaults,t),T5(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};ky.forEach(["delete","get","head","options"],function(t){ts.prototype[t]=function(n,r){return this.request(Tc(r||{},{method:t,url:n,data:(r||{}).data}))}});ky.forEach(["post","put","patch"],function(t){ts.prototype[t]=function(n,r,i){return this.request(Tc(i||{},{method:t,url:n,data:r}))}});Cy.exports=ts});var Ry=b((U4,jy)=>{"use strict";var C5=Gi();function Zi(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(i){t=i});var n=this;this.promise.then(function(r){if(!!n._listeners){var i,a=n._listeners.length;for(i=0;i<a;i++)n._listeners[i](r);n._listeners=null}}),this.promise.then=function(r){var i,a=new Promise(function(s){n.subscribe(s),i=s}).then(r);return a.cancel=function(){n.unsubscribe(i)},a},e(function(i){n.reason||(n.reason=new C5(i),t(n.reason))})}Zi.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Zi.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};Zi.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};Zi.source=function(){var t,n=new Zi(function(i){t=i});return{token:n,cancel:t}};jy.exports=Zi});var Py=b(($4,My)=>{"use strict";My.exports=function(t){return function(r){return t.apply(null,r)}}});var Ny=b((W4,Iy)=>{"use strict";Iy.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}});var By=b((H4,Zp)=>{"use strict";var Ly=yt(),A5=Ip(),Cc=Ay(),j5=Kp(),R5=Ki();function qy(e){var t=new Cc(e),n=A5(Cc.prototype.request,t);return Ly.extend(n,Cc.prototype,t),Ly.extend(n,t),n.create=function(i){return qy(j5(e,i))},n}var yn=qy(R5);yn.Axios=Cc;yn.Cancel=Gi();yn.CancelToken=Ry();yn.isCancel=Hp();yn.VERSION=Ec().version;yn.all=function(t){return Promise.all(t)};yn.spread=Py();yn.isAxiosError=Ny();Zp.exports=yn;Zp.exports.default=yn});var Jp=b((Y4,Fy)=>{Fy.exports=By()});var rs=b((rF,nf)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?nf.exports={nextTick:W5}:nf.exports=process;function W5(e,t,n,r){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var i=arguments.length,a,s;switch(i){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function(){e.call(null,t)});case 3:return process.nextTick(function(){e.call(null,t,n)});case 4:return process.nextTick(function(){e.call(null,t,n,r)});default:for(a=new Array(i-1),s=0;s<a.length;)a[s++]=arguments[s];return process.nextTick(function(){e.apply(null,a)})}}});var Ky=b((iF,Gy)=>{var H5={}.toString;Gy.exports=Array.isArray||function(e){return H5.call(e)=="[object Array]"}});var rf=b((aF,Vy)=>{Vy.exports=require("stream")});var is=b((af,Jy)=>{var Rc=require("buffer"),jn=Rc.Buffer;function Zy(e,t){for(var n in e)t[n]=e[n]}jn.from&&jn.alloc&&jn.allocUnsafe&&jn.allocUnsafeSlow?Jy.exports=Rc:(Zy(Rc,af),af.Buffer=Ji);function Ji(e,t,n){return jn(e,t,n)}Zy(jn,Ji);Ji.from=function(e,t,n){if(typeof e=="number")throw new TypeError("Argument must not be a number");return jn(e,t,n)};Ji.alloc=function(e,t,n){if(typeof e!="number")throw new TypeError("Argument must be a number");var r=jn(e);return t!==void 0?typeof n=="string"?r.fill(t,n):r.fill(t):r.fill(0),r};Ji.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return jn(e)};Ji.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Rc.SlowBuffer(e)}});var Xi=b(ft=>{function Y5(e){return Array.isArray?Array.isArray(e):Mc(e)==="[object Array]"}ft.isArray=Y5;function G5(e){return typeof e=="boolean"}ft.isBoolean=G5;function K5(e){return e===null}ft.isNull=K5;function V5(e){return e==null}ft.isNullOrUndefined=V5;function Z5(e){return typeof e=="number"}ft.isNumber=Z5;function J5(e){return typeof e=="string"}ft.isString=J5;function X5(e){return typeof e=="symbol"}ft.isSymbol=X5;function Q5(e){return e===void 0}ft.isUndefined=Q5;function e3(e){return Mc(e)==="[object RegExp]"}ft.isRegExp=e3;function t3(e){return typeof e=="object"&&e!==null}ft.isObject=t3;function n3(e){return Mc(e)==="[object Date]"}ft.isDate=n3;function r3(e){return Mc(e)==="[object Error]"||e instanceof Error}ft.isError=r3;function i3(e){return typeof e=="function"}ft.isFunction=i3;function a3(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}ft.isPrimitive=a3;ft.isBuffer=require("buffer").Buffer.isBuffer;function Mc(e){return Object.prototype.toString.call(e)}});var Xy=b((oF,sf)=>{typeof Object.create=="function"?sf.exports=function(t,n){n&&(t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:sf.exports=function(t,n){if(n){t.super_=n;var r=function(){};r.prototype=n.prototype,t.prototype=new r,t.prototype.constructor=t}}});var Qi=b((cF,cf)=>{try{if(of=require("util"),typeof of.inherits!="function")throw"";cf.exports=of.inherits}catch{cf.exports=Xy()}var of});var e1=b((lF,lf)=>{"use strict";function s3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Qy=is().Buffer,as=require("util");function o3(e,t,n){e.copy(t,n)}lf.exports=function(){function e(){s3(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(n){var r={data:n,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length},e.prototype.unshift=function(n){var r={data:n,next:this.head};this.length===0&&(this.tail=r),this.head=r,++this.length},e.prototype.shift=function(){if(this.length!==0){var n=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,n}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(n){if(this.length===0)return"";for(var r=this.head,i=""+r.data;r=r.next;)i+=n+r.data;return i},e.prototype.concat=function(n){if(this.length===0)return Qy.alloc(0);if(this.length===1)return this.head.data;for(var r=Qy.allocUnsafe(n>>>0),i=this.head,a=0;i;)o3(i.data,r,a),a+=i.data.length,i=i.next;return r},e}();as&&as.inspect&&as.inspect.custom&&(lf.exports.prototype[as.inspect.custom]=function(){var e=as.inspect({length:this.length});return this.constructor.name+" "+e})});var uf=b((uF,r1)=>{"use strict";var t1=rs();function c3(e,t){var n=this,r=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return r||i?(t?t(e):e&&(!this._writableState||!this._writableState.errorEmitted)&&t1.nextTick(n1,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(a){!t&&a?(t1.nextTick(n1,n,a),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(a)}),this)}function l3(){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.finished=!1,this._writableState.errorEmitted=!1)}function n1(e,t){e.emit("error",t)}r1.exports={destroy:c3,undestroy:l3}});var a1=b((pF,i1)=>{i1.exports=require("util").deprecate});var ff=b((fF,d1)=>{"use strict";var zr=rs();d1.exports=Ye;function o1(e){var t=this;this.next=null,this.entry=null,this.finish=function(){T3(t,e)}}var u3=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:zr.nextTick,ea;Ye.WritableState=os;var c1=Object.create(Xi());c1.inherits=Qi();var p3={deprecate:a1()},l1=rf(),Ic=is().Buffer,f3=global.Uint8Array||function(){};function d3(e){return Ic.from(e)}function h3(e){return Ic.isBuffer(e)||e instanceof f3}var u1=uf();c1.inherits(Ye,l1);function m3(){}function os(e,t){ea=ea||Ur(),e=e||{};var n=t instanceof ea;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,i=e.writableHighWaterMark,a=this.objectMode?16:16*1024;r||r===0?this.highWaterMark=r:n&&(i||i===0)?this.highWaterMark=i:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=e.decodeStrings===!1;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(o){_3(t,o)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o1(this)}os.prototype.getBuffer=function(){for(var t=this.bufferedRequest,n=[];t;)n.push(t),t=t.next;return n};(function(){try{Object.defineProperty(os.prototype,"buffer",{get:p3.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Pc;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Pc=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ye,Symbol.hasInstance,{value:function(e){return Pc.call(this,e)?!0:this!==Ye?!1:e&&e._writableState instanceof os}})):Pc=function(e){return e instanceof this};function Ye(e){if(ea=ea||Ur(),!Pc.call(Ye,this)&&!(this instanceof ea))return new Ye(e);this._writableState=new os(e,this),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)),l1.call(this)}Ye.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function g3(e,t){var n=new Error("write after end");e.emit("error",n),zr.nextTick(t,n)}function v3(e,t,n,r){var i=!0,a=!1;return n===null?a=new TypeError("May not write null values to stream"):typeof n!="string"&&n!==void 0&&!t.objectMode&&(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),zr.nextTick(r,a),i=!1),i}Ye.prototype.write=function(e,t,n){var r=this._writableState,i=!1,a=!r.objectMode&&h3(e);return a&&!Ic.isBuffer(e)&&(e=d3(e)),typeof t=="function"&&(n=t,t=null),a?t="buffer":t||(t=r.defaultEncoding),typeof n!="function"&&(n=m3),r.ended?g3(this,n):(a||v3(this,r,e,n))&&(r.pendingcb++,i=x3(this,r,a,e,t,n)),i};Ye.prototype.cork=function(){var e=this._writableState;e.corked++};Ye.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest&&p1(this,e))};Ye.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 TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this};function b3(e,t,n){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=Ic.from(t,n)),t}Object.defineProperty(Ye.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function x3(e,t,n,r,i,a){if(!n){var s=b3(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var o=t.objectMode?1:r.length;t.length+=o;var c=t.length<t.highWaterMark;if(c||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else pf(e,t,!1,o,r,i,a);return c}function pf(e,t,n,r,i,a,s){t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function y3(e,t,n,r,i){--t.pendingcb,n?(zr.nextTick(i,r),zr.nextTick(ss,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),ss(e,t))}function w3(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function _3(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(w3(n),t)y3(e,n,r,t,i);else{var a=f1(n);!a&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest&&p1(e,n),r?u3(s1,e,n,a,i):s1(e,n,a,i)}}function s1(e,t,n,r){n||S3(e,t),t.pendingcb--,r(),ss(e,t)}function S3(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function p1(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),a=t.corkedRequestsFree;a.entry=n;for(var s=0,o=!0;n;)i[s]=n,n.isBuf||(o=!1),n=n.next,s+=1;i.allBuffers=o,pf(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new o1(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,l=n.callback,p=t.objectMode?1:c.length;if(pf(e,t,!1,p,c,u,l),n=n.next,t.bufferedRequestCount--,t.writing)break}n===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}Ye.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))};Ye.prototype._writev=null;Ye.prototype.end=function(e,t,n){var r=this._writableState;typeof e=="function"?(n=e,e=null,t=null):typeof t=="function"&&(n=t,t=null),e!=null&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),!r.ending&&!r.finished&&k3(this,r,n)};function f1(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function E3(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),ss(e,t)})}function O3(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"?(t.pendingcb++,t.finalCalled=!0,zr.nextTick(E3,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function ss(e,t){var n=f1(t);return n&&(O3(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"))),n}function k3(e,t,n){t.ending=!0,ss(e,t),n&&(t.finished?zr.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function T3(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}Object.defineProperty(Ye.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){!this._writableState||(this._writableState.destroyed=e)}});Ye.prototype.destroy=u1.destroy;Ye.prototype._undestroy=u1.undestroy;Ye.prototype._destroy=function(e,t){this.end(),t(e)}});var Ur=b((dF,v1)=>{"use strict";var h1=rs(),C3=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};v1.exports=Rn;var m1=Object.create(Xi());m1.inherits=Qi();var g1=mf(),hf=ff();m1.inherits(Rn,g1);for(df=C3(hf.prototype),Nc=0;Nc<df.length;Nc++)Lc=df[Nc],Rn.prototype[Lc]||(Rn.prototype[Lc]=hf.prototype[Lc]);var df,Lc,Nc;function Rn(e){if(!(this instanceof Rn))return new Rn(e);g1.call(this,e),hf.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",A3)}Object.defineProperty(Rn.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function A3(){this.allowHalfOpen||this._writableState.ended||h1.nextTick(j3,this)}function j3(e){e.end()}Object.defineProperty(Rn.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e)}});Rn.prototype._destroy=function(e,t){this.push(null),this.end(),h1.nextTick(t,e)}});var bf=b(x1=>{"use strict";var vf=is().Buffer,b1=vf.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 R3(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 M3(e){var t=R3(e);if(typeof t!="string"&&(vf.isEncoding===b1||!b1(e)))throw new Error("Unknown encoding: "+e);return t||e}x1.StringDecoder=cs;function cs(e){this.encoding=M3(e);var t;switch(this.encoding){case"utf16le":this.text=B3,this.end=F3,t=4;break;case"utf8":this.fillLast=N3,t=4;break;case"base64":this.text=D3,this.end=z3,t=3;break;default:this.write=U3,this.end=$3;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=vf.allocUnsafe(t)}cs.prototype.write=function(e){if(e.length===0)return"";var t,n;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""};cs.prototype.end=q3;cs.prototype.text=L3;cs.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 gf(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function P3(e,t,n){var r=t.length-1;if(r<n)return 0;var i=gf(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||i===-2?0:(i=gf(t[r]),i>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||i===-2?0:(i=gf(t[r]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function I3(e,t,n){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 N3(e){var t=this.lastTotal-this.lastNeed,n=I3(this,e,t);if(n!==void 0)return n;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 L3(e,t){var n=P3(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function q3(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function B3(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function F3(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function D3(e,t){var n=(e.length-t)%3;return n===0?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,n===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-n))}function z3(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function U3(e){return e.toString(this.encoding)}function $3(e){return e&&e.length?this.write(e):""}});var mf=b((gF,R1)=>{"use strict";var na=rs();R1.exports=Ce;var W3=Ky(),ls;Ce.ReadableState=k1;var mF=require("events").EventEmitter,S1=function(e,t){return e.listeners(t).length},Sf=rf(),us=is().Buffer,H3=global.Uint8Array||function(){};function Y3(e){return us.from(e)}function G3(e){return us.isBuffer(e)||e instanceof H3}var E1=Object.create(Xi());E1.inherits=Qi();var xf=require("util"),xe=void 0;xf&&xf.debuglog?xe=xf.debuglog("stream"):xe=function(){};var K3=e1(),O1=uf(),ta;E1.inherits(Ce,Sf);var yf=["error","close","destroy","pause","resume"];function V3(e,t,n){if(typeof e.prependListener=="function")return e.prependListener(t,n);!e._events||!e._events[t]?e.on(t,n):W3(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]}function k1(e,t){ls=ls||Ur(),e=e||{};var n=t instanceof ls;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,i=e.readableHighWaterMark,a=this.objectMode?16:16*1024;r||r===0?this.highWaterMark=r:n&&(i||i===0)?this.highWaterMark=i:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new K3,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.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(ta||(ta=bf().StringDecoder),this.decoder=new ta(e.encoding),this.encoding=e.encoding)}function Ce(e){if(ls=ls||Ur(),!(this instanceof Ce))return new Ce(e);this._readableState=new k1(e,this),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Sf.call(this)}Object.defineProperty(Ce.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){!this._readableState||(this._readableState.destroyed=e)}});Ce.prototype.destroy=O1.destroy;Ce.prototype._undestroy=O1.undestroy;Ce.prototype._destroy=function(e,t){this.push(null),t(e)};Ce.prototype.push=function(e,t){var n=this._readableState,r;return n.objectMode?r=!0:typeof e=="string"&&(t=t||n.defaultEncoding,t!==n.encoding&&(e=us.from(e,t),t=""),r=!0),T1(this,e,t,!1,r)};Ce.prototype.unshift=function(e){return T1(this,e,null,!0,!1)};function T1(e,t,n,r,i){var a=e._readableState;if(t===null)a.reading=!1,Q3(e,a);else{var s;i||(s=Z3(a,t)),s?e.emit("error",s):a.objectMode||t&&t.length>0?(typeof t!="string"&&!a.objectMode&&Object.getPrototypeOf(t)!==us.prototype&&(t=Y3(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):wf(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||t.length!==0?wf(e,a,t,!1):C1(e,a)):wf(e,a,t,!1))):r||(a.reading=!1)}return J3(a)}function wf(e,t,n,r){t.flowing&&t.length===0&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&qc(e)),C1(e,t)}function Z3(e,t){var n;return!G3(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(n=new TypeError("Invalid non-string/buffer chunk")),n}function J3(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}Ce.prototype.isPaused=function(){return this._readableState.flowing===!1};Ce.prototype.setEncoding=function(e){return ta||(ta=bf().StringDecoder),this._readableState.decoder=new ta(e),this._readableState.encoding=e,this};var y1=8388608;function X3(e){return e>=y1?e=y1:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function w1(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=X3(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}Ce.prototype.read=function(e){xe("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return xe("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?_f(this):qc(this),null;if(e=w1(e,t),e===0&&t.ended)return t.length===0&&_f(this),null;var r=t.needReadable;xe("need readable",r),(t.length===0||t.length-e<t.highWaterMark)&&(r=!0,xe("length less than watermark",r)),t.ended||t.reading?(r=!1,xe("reading or ended",r)):r&&(xe("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=w1(n,t)));var i;return e>0?i=A1(e,t):i=null,i===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&_f(this)),i!==null&&this.emit("data",i),i};function Q3(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,qc(e)}}function qc(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(xe("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?na.nextTick(_1,e):_1(e))}function _1(e){xe("emit readable"),e.emit("readable"),Ef(e)}function C1(e,t){t.readingMore||(t.readingMore=!0,na.nextTick(eR,e,t))}function eR(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(xe("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}Ce.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))};Ce.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e);break}r.pipesCount+=1,xe("pipe count=%d opts=%j",r.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,a=i?o:d;r.endEmitted?na.nextTick(a):n.once("end",a),e.on("unpipe",s);function s(x,_){xe("onunpipe"),x===n&&_&&_.hasUnpiped===!1&&(_.hasUnpiped=!0,l())}function o(){xe("onend"),e.end()}var c=tR(n);e.on("drain",c);var u=!1;function l(){xe("cleanup"),e.removeListener("close",v),e.removeListener("finish",g),e.removeListener("drain",c),e.removeListener("error",m),e.removeListener("unpipe",s),n.removeListener("end",o),n.removeListener("end",d),n.removeListener("data",f),u=!0,r.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c()}var p=!1;n.on("data",f);function f(x){xe("ondata"),p=!1;var _=e.write(x);_===!1&&!p&&((r.pipesCount===1&&r.pipes===e||r.pipesCount>1&&j1(r.pipes,e)!==-1)&&!u&&(xe("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function m(x){xe("onerror",x),d(),e.removeListener("error",m),S1(e,"error")===0&&e.emit("error",x)}V3(e,"error",m);function v(){e.removeListener("finish",g),d()}e.once("close",v);function g(){xe("onfinish"),e.removeListener("close",v),d()}e.once("finish",g);function d(){xe("unpipe"),n.unpipe(e)}return e.emit("pipe",n),r.flowing||(xe("pipe resume"),n.resume()),e};function tR(e){return function(){var t=e._readableState;xe("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&S1(e,"data")&&(t.flowing=!0,Ef(e))}}Ce.prototype.unpipe=function(e){var t=this._readableState,n={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,n),this);if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)r[a].emit("unpipe",this,n);return this}var s=j1(t.pipes,e);return s===-1?this:(t.pipes.splice(s,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n),this)};Ce.prototype.on=function(e,t){var n=Sf.prototype.on.call(this,e,t);if(e==="data")this._readableState.flowing!==!1&&this.resume();else if(e==="readable"){var r=this._readableState;!r.endEmitted&&!r.readableListening&&(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&qc(this):na.nextTick(nR,this))}return n};Ce.prototype.addListener=Ce.prototype.on;function nR(e){xe("readable nexttick read 0"),e.read(0)}Ce.prototype.resume=function(){var e=this._readableState;return e.flowing||(xe("resume"),e.flowing=!0,rR(this,e)),this};function rR(e,t){t.resumeScheduled||(t.resumeScheduled=!0,na.nextTick(iR,e,t))}function iR(e,t){t.reading||(xe("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),Ef(e),t.flowing&&!t.reading&&e.read(0)}Ce.prototype.pause=function(){return xe("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(xe("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function Ef(e){var t=e._readableState;for(xe("flow",t.flowing);t.flowing&&e.read()!==null;);}Ce.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;e.on("end",function(){if(xe("wrapped end"),n.decoder&&!n.ended){var s=n.decoder.end();s&&s.length&&t.push(s)}t.push(null)}),e.on("data",function(s){if(xe("wrapped data"),n.decoder&&(s=n.decoder.write(s)),!(n.objectMode&&s==null)&&!(!n.objectMode&&(!s||!s.length))){var o=t.push(s);o||(r=!0,e.pause())}});for(var i in e)this[i]===void 0&&typeof e[i]=="function"&&(this[i]=function(s){return function(){return e[s].apply(e,arguments)}}(i));for(var a=0;a<yf.length;a++)e.on(yf[a],this.emit.bind(this,yf[a]));return this._read=function(s){xe("wrapped _read",s),r&&(r=!1,e.resume())},this};Object.defineProperty(Ce.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Ce._fromList=A1;function A1(e,t){if(t.length===0)return null;var n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(t.decoder?n=t.buffer.join(""):t.buffer.length===1?n=t.buffer.head.data:n=t.buffer.concat(t.length),t.buffer.clear()):n=aR(e,t.buffer,t.decoder),n}function aR(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):e===t.head.data.length?r=t.shift():r=n?sR(e,t):oR(e,t),r}function sR(e,t){var n=t.head,r=1,i=n.data;for(e-=i.length;n=n.next;){var a=n.data,s=e>a.length?a.length:e;if(s===a.length?i+=a:i+=a.slice(0,e),e-=s,e===0){s===a.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(s));break}++r}return t.length-=r,i}function oR(e,t){var n=us.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var a=r.data,s=e>a.length?a.length:e;if(a.copy(n,n.length-e,0,s),e-=s,e===0){s===a.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(s));break}++i}return t.length-=i,n}function _f(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,na.nextTick(cR,t,e))}function cR(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function j1(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}});var Of=b((vF,I1)=>{"use strict";I1.exports=Mn;var Bc=Ur(),P1=Object.create(Xi());P1.inherits=Qi();P1.inherits(Mn,Bc);function lR(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,t!=null&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function Mn(e){if(!(this instanceof Mn))return new Mn(e);Bc.call(this,e),this._transformState={afterTransform:lR.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",uR)}function uR(){var e=this;typeof this._flush=="function"?this._flush(function(t,n){M1(e,t,n)}):M1(this,null,null)}Mn.prototype.push=function(e,t){return this._transformState.needTransform=!1,Bc.prototype.push.call(this,e,t)};Mn.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")};Mn.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};Mn.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};Mn.prototype._destroy=function(e,t){var n=this;Bc.prototype._destroy.call(this,e,function(r){t(r),n.emit("close")})};function M1(e,t,n){if(t)return e.emit("error",t);if(n!=null&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}});var B1=b((bF,q1)=>{"use strict";q1.exports=ps;var N1=Of(),L1=Object.create(Xi());L1.inherits=Qi();L1.inherits(ps,N1);function ps(e){if(!(this instanceof ps))return new ps(e);N1.call(this,e)}ps.prototype._transform=function(e,t,n){n(null,e)}});var kf=b((ct,Fc)=>{var wn=require("stream");process.env.READABLE_STREAM==="disable"&&wn?(Fc.exports=wn,ct=Fc.exports=wn.Readable,ct.Readable=wn.Readable,ct.Writable=wn.Writable,ct.Duplex=wn.Duplex,ct.Transform=wn.Transform,ct.PassThrough=wn.PassThrough,ct.Stream=wn):(ct=Fc.exports=mf(),ct.Stream=wn||ct,ct.Readable=ct,ct.Writable=ff(),ct.Duplex=Ur(),ct.Transform=Of(),ct.PassThrough=B1())});var Pn=b(Dt=>{"use strict";Dt.base64=!0;Dt.array=!0;Dt.string=!0;Dt.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";Dt.nodebuffer=typeof Buffer<"u";Dt.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")Dt.blob=!1;else{Tf=new ArrayBuffer(0);try{Dt.blob=new Blob([Tf],{type:"application/zip"}).size===0}catch{try{F1=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,Cf=new F1,Cf.append(Tf),Dt.blob=Cf.getBlob("application/zip").size===0}catch{Dt.blob=!1}}}var Tf,F1,Cf;try{Dt.nodestream=!!kf().Readable}catch{Dt.nodestream=!1}});var jf=b(Af=>{"use strict";var pR=Ie(),fR=Pn(),_n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Af.encode=function(e){for(var t=[],n,r,i,a,s,o,c,u=0,l=e.length,p=l,f=pR.getTypeOf(e)!=="string";u<e.length;)p=l-u,f?(n=e[u++],r=u<l?e[u++]:0,i=u<l?e[u++]:0):(n=e.charCodeAt(u++),r=u<l?e.charCodeAt(u++):0,i=u<l?e.charCodeAt(u++):0),a=n>>2,s=(n&3)<<4|r>>4,o=p>1?(r&15)<<2|i>>6:64,c=p>2?i&63:64,t.push(_n.charAt(a)+_n.charAt(s)+_n.charAt(o)+_n.charAt(c));return t.join("")};Af.decode=function(e){var t,n,r,i,a,s,o,c=0,u=0,l="data:";if(e.substr(0,l.length)===l)throw new Error("Invalid base64 input, it looks like a data url.");e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");var p=e.length*3/4;if(e.charAt(e.length-1)===_n.charAt(64)&&p--,e.charAt(e.length-2)===_n.charAt(64)&&p--,p%1!==0)throw new Error("Invalid base64 input, bad content length.");var f;for(fR.uint8array?f=new Uint8Array(p|0):f=new Array(p|0);c<e.length;)i=_n.indexOf(e.charAt(c++)),a=_n.indexOf(e.charAt(c++)),s=_n.indexOf(e.charAt(c++)),o=_n.indexOf(e.charAt(c++)),t=i<<2|a>>4,n=(a&15)<<4|s>>2,r=(s&3)<<6|o,f[u++]=t,s!==64&&(f[u++]=n),o!==64&&(f[u++]=r);return f}});var fs=b((wF,D1)=>{"use strict";D1.exports={isNode:typeof Buffer<"u",newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if(typeof e=="number")throw new Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&typeof e.on=="function"&&typeof e.pause=="function"&&typeof e.resume=="function"}}});var U1=b((_F,z1)=>{"use strict";z1.exports=typeof setImmediate=="function"?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}});var Y1=b((SF,H1)=>{"use strict";var $1=global.MutationObserver||global.WebKitMutationObserver,ra;process.browser?$1?(Rf=0,W1=new $1(ds),Mf=global.document.createTextNode(""),W1.observe(Mf,{characterData:!0}),ra=function(){Mf.data=Rf=++Rf%2}):!global.setImmediate&&typeof global.MessageChannel<"u"?(Pf=new global.MessageChannel,Pf.port1.onmessage=ds,ra=function(){Pf.port2.postMessage(0)}):"document"in global&&"onreadystatechange"in global.document.createElement("script")?ra=function(){var e=global.document.createElement("script");e.onreadystatechange=function(){ds(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},global.document.documentElement.appendChild(e)}:ra=function(){setTimeout(ds,0)}:ra=function(){process.nextTick(ds)};var Rf,W1,Mf,Pf,If,hs=[];function ds(){If=!0;for(var e,t,n=hs.length;n;){for(t=hs,hs=[],e=-1;++e<n;)t[e]();n=hs.length}If=!1}H1.exports=dR;function dR(e){hs.push(e)===1&&!If&&ra()}});var Q1=b((EF,X1)=>{"use strict";var G1=Y1();function ia(){}var dt={},K1=["REJECTED"],Nf=["FULFILLED"],V1=["PENDING"];process.browser||(ms=["UNHANDLED"]);var ms;X1.exports=tr;function tr(e){if(typeof e!="function")throw new TypeError("resolver must be a function");this.state=V1,this.queue=[],this.outcome=void 0,process.browser||(this.handled=ms),e!==ia&&Z1(this,e)}tr.prototype.finally=function(e){if(typeof e!="function")return this;var t=this.constructor;return this.then(n,r);function n(i){function a(){return i}return t.resolve(e()).then(a)}function r(i){function a(){throw i}return t.resolve(e()).then(a)}};tr.prototype.catch=function(e){return this.then(null,e)};tr.prototype.then=function(e,t){if(typeof e!="function"&&this.state===Nf||typeof t!="function"&&this.state===K1)return this;var n=new this.constructor(ia);if(process.browser||this.handled===ms&&(this.handled=null),this.state!==V1){var r=this.state===Nf?e:t;Lf(n,r,this.outcome)}else this.queue.push(new gs(n,e,t));return n};function gs(e,t,n){this.promise=e,typeof t=="function"&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),typeof n=="function"&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}gs.prototype.callFulfilled=function(e){dt.resolve(this.promise,e)};gs.prototype.otherCallFulfilled=function(e){Lf(this.promise,this.onFulfilled,e)};gs.prototype.callRejected=function(e){dt.reject(this.promise,e)};gs.prototype.otherCallRejected=function(e){Lf(this.promise,this.onRejected,e)};function Lf(e,t,n){G1(function(){var r;try{r=t(n)}catch(i){return dt.reject(e,i)}r===e?dt.reject(e,new TypeError("Cannot resolve promise with itself")):dt.resolve(e,r)})}dt.resolve=function(e,t){var n=J1(hR,t);if(n.status==="error")return dt.reject(e,n.value);var r=n.value;if(r)Z1(e,r);else{e.state=Nf,e.outcome=t;for(var i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t)}return e};dt.reject=function(e,t){e.state=K1,e.outcome=t,process.browser||e.handled===ms&&G1(function(){e.handled===ms&&process.emit("unhandledRejection",t,e)});for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e};function hR(e){var t=e&&e.then;if(e&&(typeof e=="object"||typeof e=="function")&&typeof t=="function")return function(){t.apply(e,arguments)}}function Z1(e,t){var n=!1;function r(o){n||(n=!0,dt.reject(e,o))}function i(o){n||(n=!0,dt.resolve(e,o))}function a(){t(i,r)}var s=J1(a);s.status==="error"&&r(s.value)}function J1(e,t){var n={};try{n.value=e(t),n.status="success"}catch(r){n.status="error",n.value=r}return n}tr.resolve=mR;function mR(e){return e instanceof this?e:dt.resolve(new this(ia),e)}tr.reject=gR;function gR(e){var t=new this(ia);return dt.reject(t,e)}tr.all=vR;function vR(e){var t=this;if(Object.prototype.toString.call(e)!=="[object Array]")return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var i=new Array(n),a=0,s=-1,o=new this(ia);++s<n;)c(e[s],s);return o;function c(u,l){t.resolve(u).then(p,function(f){r||(r=!0,dt.reject(o,f))});function p(f){i[l]=f,++a===n&&!r&&(r=!0,dt.resolve(o,i))}}}tr.race=bR;function bR(e){var t=this;if(Object.prototype.toString.call(e)!=="[object Array]")return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var i=-1,a=new this(ia);++i<n;)s(e[i]);return a;function s(o){t.resolve(o).then(function(c){r||(r=!0,dt.resolve(a,c))},function(c){r||(r=!0,dt.reject(a,c))})}}});var aa=b((OF,ew)=>{"use strict";var qf=null;typeof Promise<"u"?qf=Promise:qf=Q1();ew.exports={Promise:qf}});var Ie=b(Ve=>{"use strict";var nr=Pn(),xR=jf(),sa=fs(),yR=U1(),Bf=aa();function wR(e){var t=null;return nr.uint8array?t=new Uint8Array(e.length):t=new Array(e.length),zc(e,t)}Ve.newBlob=function(e,t){Ve.checkSupport("blob");try{return new Blob([e],{type:t})}catch{try{var n=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,r=new n;return r.append(e),r.getBlob(t)}catch{throw new Error("Bug : can't construct the Blob.")}}};function vs(e){return e}function zc(e,t){for(var n=0;n<e.length;++n)t[n]=e.charCodeAt(n)&255;return t}var Dc={stringifyByChunk:function(e,t,n){var r=[],i=0,a=e.length;if(a<=n)return String.fromCharCode.apply(null,e);for(;i<a;)t==="array"||t==="nodebuffer"?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,a)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,a)))),i+=n;return r.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return nr.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return nr.nodebuffer&&String.fromCharCode.apply(null,sa.allocBuffer(1)).length===1}catch{return!1}}()}};function bs(e){var t=65536,n=Ve.getTypeOf(e),r=!0;if(n==="uint8array"?r=Dc.applyCanBeUsed.uint8array:n==="nodebuffer"&&(r=Dc.applyCanBeUsed.nodebuffer),r)for(;t>1;)try{return Dc.stringifyByChunk(e,n,t)}catch{t=Math.floor(t/2)}return Dc.stringifyByChar(e)}Ve.applyFromCharCode=bs;function Uc(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}var rr={};rr.string={string:vs,array:function(e){return zc(e,new Array(e.length))},arraybuffer:function(e){return rr.string.uint8array(e).buffer},uint8array:function(e){return zc(e,new Uint8Array(e.length))},nodebuffer:function(e){return zc(e,sa.allocBuffer(e.length))}};rr.array={string:bs,array:vs,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return sa.newBufferFrom(e)}};rr.arraybuffer={string:function(e){return bs(new Uint8Array(e))},array:function(e){return Uc(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:vs,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return sa.newBufferFrom(new Uint8Array(e))}};rr.uint8array={string:bs,array:function(e){return Uc(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:vs,nodebuffer:function(e){return sa.newBufferFrom(e)}};rr.nodebuffer={string:bs,array:function(e){return Uc(e,new Array(e.length))},arraybuffer:function(e){return rr.nodebuffer.uint8array(e).buffer},uint8array:function(e){return Uc(e,new Uint8Array(e.length))},nodebuffer:vs};Ve.transformTo=function(e,t){if(t||(t=""),!e)return t;Ve.checkSupport(e);var n=Ve.getTypeOf(t),r=rr[n][e](t);return r};Ve.getTypeOf=function(e){if(typeof e=="string")return"string";if(Object.prototype.toString.call(e)==="[object Array]")return"array";if(nr.nodebuffer&&sa.isBuffer(e))return"nodebuffer";if(nr.uint8array&&e instanceof Uint8Array)return"uint8array";if(nr.arraybuffer&&e instanceof ArrayBuffer)return"arraybuffer"};Ve.checkSupport=function(e){var t=nr[e.toLowerCase()];if(!t)throw new Error(e+" is not supported by this platform")};Ve.MAX_VALUE_16BITS=65535;Ve.MAX_VALUE_32BITS=-1;Ve.pretty=function(e){var t="",n,r;for(r=0;r<(e||"").length;r++)n=e.charCodeAt(r),t+="\\x"+(n<16?"0":"")+n.toString(16).toUpperCase();return t};Ve.delay=function(e,t,n){yR(function(){e.apply(n||null,t||[])})};Ve.inherits=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n};Ve.extend=function(){var e={},t,n;for(t=0;t<arguments.length;t++)for(n in arguments[t])arguments[t].hasOwnProperty(n)&&typeof e[n]>"u"&&(e[n]=arguments[t][n]);return e};Ve.prepareContent=function(e,t,n,r,i){var a=Bf.Promise.resolve(t).then(function(s){var o=nr.blob&&(s instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(s))!==-1);return o&&typeof FileReader<"u"?new Bf.Promise(function(c,u){var l=new FileReader;l.onload=function(p){c(p.target.result)},l.onerror=function(p){u(p.target.error)},l.readAsArrayBuffer(s)}):s});return a.then(function(s){var o=Ve.getTypeOf(s);return o?(o==="arraybuffer"?s=Ve.transformTo("uint8array",s):o==="string"&&(i?s=xR.decode(s):n&&r!==!0&&(s=wR(s))),s):Bf.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}});var zt=b((TF,nw)=>{"use strict";function tw(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}tw.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return this.isFinished?!1:(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(n){t.processChunk(n)}),e.on("end",function(){t.end()}),e.on("error",function(n){t.error(n)}),this},pause:function(){return this.isPaused||this.isFinished?!1:(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)!this.extraStreamInfo.hasOwnProperty(e)||(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}};nw.exports=tw});var Wr=b(ir=>{"use strict";var oa=Ie(),$r=Pn(),_R=fs(),$c=zt(),xs=new Array(256);for(In=0;In<256;In++)xs[In]=In>=252?6:In>=248?5:In>=240?4:In>=224?3:In>=192?2:1;var In;xs[254]=xs[254]=1;var SR=function(e){var t,n,r,i,a,s=e.length,o=0;for(i=0;i<s;i++)n=e.charCodeAt(i),(n&64512)===55296&&i+1<s&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(n=65536+(n-55296<<10)+(r-56320),i++)),o+=n<128?1:n<2048?2:n<65536?3:4;for($r.uint8array?t=new Uint8Array(o):t=new Array(o),a=0,i=0;a<o;i++)n=e.charCodeAt(i),(n&64512)===55296&&i+1<s&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(n=65536+(n-55296<<10)+(r-56320),i++)),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|n&63):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|n&63):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|n&63);return t},ER=function(e,t){var n;for(t=t||e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+xs[e[n]]>t?n:t},OR=function(e){var t,n,r,i,a,s=e.length,o=new Array(s*2);for(r=0,n=0;n<s;){if(i=e[n++],i<128){o[r++]=i;continue}if(a=xs[i],a>4){o[r++]=65533,n+=a-1;continue}for(i&=a===2?31:a===3?15:7;a>1&&n<s;)i=i<<6|e[n++]&63,a--;if(a>1){o[r++]=65533;continue}i<65536?o[r++]=i:(i-=65536,o[r++]=55296|i>>10&1023,o[r++]=56320|i&1023)}return o.length!==r&&(o.subarray?o=o.subarray(0,r):o.length=r),oa.applyFromCharCode(o)};ir.utf8encode=function(t){return $r.nodebuffer?_R.newBufferFrom(t,"utf-8"):SR(t)};ir.utf8decode=function(t){return $r.nodebuffer?oa.transformTo("nodebuffer",t).toString("utf-8"):(t=oa.transformTo($r.uint8array?"uint8array":"array",t),OR(t))};function Wc(){$c.call(this,"utf-8 decode"),this.leftOver=null}oa.inherits(Wc,$c);Wc.prototype.processChunk=function(e){var t=oa.transformTo($r.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if($r.uint8array){var n=t;t=new Uint8Array(n.length+this.leftOver.length),t.set(this.leftOver,0),t.set(n,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var r=ER(t),i=t;r!==t.length&&($r.uint8array?(i=t.subarray(0,r),this.leftOver=t.subarray(r,t.length)):(i=t.slice(0,r),this.leftOver=t.slice(r,t.length))),this.push({data:ir.utf8decode(i),meta:e.meta})};Wc.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:ir.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)};ir.Utf8DecodeWorker=Wc;function Ff(){$c.call(this,"utf-8 encode")}oa.inherits(Ff,$c);Ff.prototype.processChunk=function(e){this.push({data:ir.utf8encode(e.data),meta:e.meta})};ir.Utf8EncodeWorker=Ff});var sw=b((AF,aw)=>{"use strict";var rw=zt(),iw=Ie();function Df(e){rw.call(this,"ConvertWorker to "+e),this.destType=e}iw.inherits(Df,rw);Df.prototype.processChunk=function(e){this.push({data:iw.transformTo(this.destType,e.data),meta:e.meta})};aw.exports=Df});var lw=b((jF,cw)=>{"use strict";var ow=kf().Readable,kR=Ie();kR.inherits(zf,ow);function zf(e,t,n){ow.call(this,t),this._helper=e;var r=this;e.on("data",function(i,a){r.push(i)||r._helper.pause(),n&&n(a)}).on("error",function(i){r.emit("error",i)}).on("end",function(){r.push(null)})}zf.prototype._read=function(){this._helper.resume()};cw.exports=zf});var Uf=b((RF,fw)=>{"use strict";var Hr=Ie(),TR=sw(),CR=zt(),AR=jf(),jR=Pn(),RR=aa(),uw=null;if(jR.nodestream)try{uw=lw()}catch{}function MR(e,t,n){switch(e){case"blob":return Hr.newBlob(Hr.transformTo("arraybuffer",t),n);case"base64":return AR.encode(t);default:return Hr.transformTo(e,t)}}function PR(e,t){var n,r=0,i=null,a=0;for(n=0;n<t.length;n++)a+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(a),n=0;n<t.length;n++)i.set(t[n],r),r+=t[n].length;return i;case"nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}function IR(e,t){return new RR.Promise(function(n,r){var i=[],a=e._internalType,s=e._outputType,o=e._mimeType;e.on("data",function(c,u){i.push(c),t&&t(u)}).on("error",function(c){i=[],r(c)}).on("end",function(){try{var c=MR(s,PR(a,i),o);n(c)}catch(u){r(u)}i=[]}).resume()})}function pw(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string";break}try{this._internalType=r,this._outputType=t,this._mimeType=n,Hr.checkSupport(r),this._worker=e.pipe(new TR(r)),e.lock()}catch(i){this._worker=new CR("error"),this._worker.error(i)}}pw.prototype={accumulate:function(e){return IR(this,e)},on:function(e,t){var n=this;return e==="data"?this._worker.on(e,function(r){t.call(n,r.data,r.meta)}):this._worker.on(e,function(){Hr.delay(t,arguments,n)}),this},resume:function(){return Hr.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(Hr.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new uw(this,{objectMode:this._outputType!=="nodebuffer"},e)}};fw.exports=pw});var $f=b(cn=>{"use strict";cn.base64=!1;cn.binary=!1;cn.dir=!1;cn.createFolders=!0;cn.date=null;cn.compression=null;cn.compressionOptions=null;cn.comment=null;cn.unixPermissions=null;cn.dosPermissions=null});var Wf=b((PF,dw)=>{"use strict";var Hc=Ie(),Yc=zt(),NR=16*1024;function ca(e){Yc.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(n){t.dataIsReady=!0,t.data=n,t.max=n&&n.length||0,t.type=Hc.getTypeOf(n),t.isPaused||t._tickAndRepeat()},function(n){t.error(n)})}Hc.inherits(ca,Yc);ca.prototype.cleanUp=function(){Yc.prototype.cleanUp.call(this),this.data=null};ca.prototype.resume=function(){return Yc.prototype.resume.call(this)?(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,Hc.delay(this._tickAndRepeat,[],this)),!0):!1};ca.prototype._tickAndRepeat=function(){this._tickScheduled=!1,!(this.isPaused||this.isFinished)&&(this._tick(),this.isFinished||(Hc.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))};ca.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=NR,t=null,n=Math.min(this.max,this.index+e);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,n);break;case"uint8array":t=this.data.subarray(this.index,n);break;case"array":case"nodebuffer":t=this.data.slice(this.index,n);break}return this.index=n,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})};dw.exports=ca});var Gc=b((IF,mw)=>{"use strict";var LR=Ie();function qR(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var hw=qR();function BR(e,t,n,r){var i=hw,a=r+n;e=e^-1;for(var s=r;s<a;s++)e=e>>>8^i[(e^t[s])&255];return e^-1}function FR(e,t,n,r){var i=hw,a=r+n;e=e^-1;for(var s=r;s<a;s++)e=e>>>8^i[(e^t.charCodeAt(s))&255];return e^-1}mw.exports=function(t,n){if(typeof t>"u"||!t.length)return 0;var r=LR.getTypeOf(t)!=="string";return r?BR(n|0,t,t.length,0):FR(n|0,t,t.length,0)}});var Yf=b((NF,vw)=>{"use strict";var gw=zt(),DR=Gc(),zR=Ie();function Hf(){gw.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}zR.inherits(Hf,gw);Hf.prototype.processChunk=function(e){this.streamInfo.crc32=DR(e.data,this.streamInfo.crc32||0),this.push(e)};vw.exports=Hf});var xw=b((LF,bw)=>{"use strict";var UR=Ie(),Gf=zt();function Kf(e){Gf.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}UR.inherits(Kf,Gf);Kf.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}Gf.prototype.processChunk.call(this,e)};bw.exports=Kf});var Kc=b((qF,_w)=>{"use strict";var yw=aa(),ww=Wf(),$R=Yf(),Vf=xw();function Zf(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}Zf.prototype={getContentWorker:function(){var e=new ww(yw.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new Vf("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new ww(yw.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};Zf.createWorkerFrom=function(e,t,n){return e.pipe(new $R).pipe(new Vf("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new Vf("compressedSize")).withStreamInfo("compression",t)};_w.exports=Zf});var kw=b((BF,Ow)=>{"use strict";var WR=Uf(),HR=Wf(),Jf=Wr(),Xf=Kc(),Sw=zt(),Qf=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};Qf.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");n=e.toLowerCase();var r=n==="string"||n==="text";(n==="binarystring"||n==="text")&&(n="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!r&&(t=t.pipe(new Jf.Utf8EncodeWorker)),!i&&r&&(t=t.pipe(new Jf.Utf8DecodeWorker))}catch(a){t=new Sw("error"),t.error(a)}return new WR(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof Xf&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new Jf.Utf8EncodeWorker)),Xf.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof Xf?this._data.getContentWorker():this._data instanceof Sw?this._data:new HR(this._data)}};var Ew=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],YR=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(Vc=0;Vc<Ew.length;Vc++)Qf.prototype[Ew[Vc]]=YR;var Vc;Ow.exports=Qf});var Nn=b(wt=>{"use strict";var GR=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function KR(e,t){return Object.prototype.hasOwnProperty.call(e,t)}wt.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(!!n){if(typeof n!="object")throw new TypeError(n+"must be non-object");for(var r in n)KR(n,r)&&(e[r]=n[r])}}return e};wt.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var VR={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray){e.set(t.subarray(n,n+r),i);return}for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){var t,n,r,i,a,s;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(s=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)a=e[t],s.set(a,i),i+=a.length;return s}},ZR={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};wt.setTyped=function(e){e?(wt.Buf8=Uint8Array,wt.Buf16=Uint16Array,wt.Buf32=Int32Array,wt.assign(wt,VR)):(wt.Buf8=Array,wt.Buf16=Array,wt.Buf32=Array,wt.assign(wt,ZR))};wt.setTyped(GR)});var Vw=b(pa=>{"use strict";var JR=Nn(),XR=4,Tw=0,Cw=1,QR=2;function ua(e){for(var t=e.length;--t>=0;)e[t]=0}var eM=0,Iw=1,tM=2,nM=3,rM=258,sd=29,Os=256,ws=Os+1+sd,la=30,od=19,Nw=2*ws+1,Yr=15,ed=16,iM=7,cd=256,Lw=16,qw=17,Bw=18,id=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Zc=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],aM=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Fw=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],sM=512,Ln=new Array((ws+2)*2);ua(Ln);var ys=new Array(la*2);ua(ys);var _s=new Array(sM);ua(_s);var Ss=new Array(rM-nM+1);ua(Ss);var ld=new Array(sd);ua(ld);var Jc=new Array(la);ua(Jc);function td(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}var Dw,zw,Uw;function nd(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function $w(e){return e<256?_s[e]:_s[256+(e>>>7)]}function Es(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function At(e,t,n){e.bi_valid>ed-n?(e.bi_buf|=t<<e.bi_valid&65535,Es(e,e.bi_buf),e.bi_buf=t>>ed-e.bi_valid,e.bi_valid+=n-ed):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function Sn(e,t,n){At(e,n[t*2],n[t*2+1])}function Ww(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function oM(e){e.bi_valid===16?(Es(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function cM(e,t){var n=t.dyn_tree,r=t.max_code,i=t.stat_desc.static_tree,a=t.stat_desc.has_stree,s=t.stat_desc.extra_bits,o=t.stat_desc.extra_base,c=t.stat_desc.max_length,u,l,p,f,m,v,g=0;for(f=0;f<=Yr;f++)e.bl_count[f]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;u<Nw;u++)l=e.heap[u],f=n[n[l*2+1]*2+1]+1,f>c&&(f=c,g++),n[l*2+1]=f,!(l>r)&&(e.bl_count[f]++,m=0,l>=o&&(m=s[l-o]),v=n[l*2],e.opt_len+=v*(f+m),a&&(e.static_len+=v*(i[l*2+1]+m)));if(g!==0){do{for(f=c-1;e.bl_count[f]===0;)f--;e.bl_count[f]--,e.bl_count[f+1]+=2,e.bl_count[c]--,g-=2}while(g>0);for(f=c;f!==0;f--)for(l=e.bl_count[f];l!==0;)p=e.heap[--u],!(p>r)&&(n[p*2+1]!==f&&(e.opt_len+=(f-n[p*2+1])*n[p*2],n[p*2+1]=f),l--)}}function Hw(e,t,n){var r=new Array(Yr+1),i=0,a,s;for(a=1;a<=Yr;a++)r[a]=i=i+n[a-1]<<1;for(s=0;s<=t;s++){var o=e[s*2+1];o!==0&&(e[s*2]=Ww(r[o]++,o))}}function lM(){var e,t,n,r,i,a=new Array(Yr+1);for(n=0,r=0;r<sd-1;r++)for(ld[r]=n,e=0;e<1<<id[r];e++)Ss[n++]=r;for(Ss[n-1]=r,i=0,r=0;r<16;r++)for(Jc[r]=i,e=0;e<1<<Zc[r];e++)_s[i++]=r;for(i>>=7;r<la;r++)for(Jc[r]=i<<7,e=0;e<1<<Zc[r]-7;e++)_s[256+i++]=r;for(t=0;t<=Yr;t++)a[t]=0;for(e=0;e<=143;)Ln[e*2+1]=8,e++,a[8]++;for(;e<=255;)Ln[e*2+1]=9,e++,a[9]++;for(;e<=279;)Ln[e*2+1]=7,e++,a[7]++;for(;e<=287;)Ln[e*2+1]=8,e++,a[8]++;for(Hw(Ln,ws+1,a),e=0;e<la;e++)ys[e*2+1]=5,ys[e*2]=Ww(e,5);Dw=new td(Ln,id,Os+1,ws,Yr),zw=new td(ys,Zc,0,la,Yr),Uw=new td(new Array(0),aM,0,od,iM)}function Yw(e){var t;for(t=0;t<ws;t++)e.dyn_ltree[t*2]=0;for(t=0;t<la;t++)e.dyn_dtree[t*2]=0;for(t=0;t<od;t++)e.bl_tree[t*2]=0;e.dyn_ltree[cd*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Gw(e){e.bi_valid>8?Es(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function uM(e,t,n,r){Gw(e),r&&(Es(e,n),Es(e,~n)),JR.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function Aw(e,t,n,r){var i=t*2,a=n*2;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function rd(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&Aw(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!Aw(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function jw(e,t,n){var r,i,a=0,s,o;if(e.last_lit!==0)do r=e.pending_buf[e.d_buf+a*2]<<8|e.pending_buf[e.d_buf+a*2+1],i=e.pending_buf[e.l_buf+a],a++,r===0?Sn(e,i,t):(s=Ss[i],Sn(e,s+Os+1,t),o=id[s],o!==0&&(i-=ld[s],At(e,i,o)),r--,s=$w(r),Sn(e,s,n),o=Zc[s],o!==0&&(r-=Jc[s],At(e,r,o)));while(a<e.last_lit);Sn(e,cd,t)}function ad(e,t){var n=t.dyn_tree,r=t.stat_desc.static_tree,i=t.stat_desc.has_stree,a=t.stat_desc.elems,s,o,c=-1,u;for(e.heap_len=0,e.heap_max=Nw,s=0;s<a;s++)n[s*2]!==0?(e.heap[++e.heap_len]=c=s,e.depth[s]=0):n[s*2+1]=0;for(;e.heap_len<2;)u=e.heap[++e.heap_len]=c<2?++c:0,n[u*2]=1,e.depth[u]=0,e.opt_len--,i&&(e.static_len-=r[u*2+1]);for(t.max_code=c,s=e.heap_len>>1;s>=1;s--)rd(e,n,s);u=a;do s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],rd(e,n,1),o=e.heap[1],e.heap[--e.heap_max]=s,e.heap[--e.heap_max]=o,n[u*2]=n[s*2]+n[o*2],e.depth[u]=(e.depth[s]>=e.depth[o]?e.depth[s]:e.depth[o])+1,n[s*2+1]=n[o*2+1]=u,e.heap[1]=u++,rd(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],cM(e,t),Hw(n,c,e.bl_count)}function Rw(e,t,n){var r,i=-1,a,s=t[0*2+1],o=0,c=7,u=4;for(s===0&&(c=138,u=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)a=s,s=t[(r+1)*2+1],!(++o<c&&a===s)&&(o<u?e.bl_tree[a*2]+=o:a!==0?(a!==i&&e.bl_tree[a*2]++,e.bl_tree[Lw*2]++):o<=10?e.bl_tree[qw*2]++:e.bl_tree[Bw*2]++,o=0,i=a,s===0?(c=138,u=3):a===s?(c=6,u=3):(c=7,u=4))}function Mw(e,t,n){var r,i=-1,a,s=t[0*2+1],o=0,c=7,u=4;for(s===0&&(c=138,u=3),r=0;r<=n;r++)if(a=s,s=t[(r+1)*2+1],!(++o<c&&a===s)){if(o<u)do Sn(e,a,e.bl_tree);while(--o!==0);else a!==0?(a!==i&&(Sn(e,a,e.bl_tree),o--),Sn(e,Lw,e.bl_tree),At(e,o-3,2)):o<=10?(Sn(e,qw,e.bl_tree),At(e,o-3,3)):(Sn(e,Bw,e.bl_tree),At(e,o-11,7));o=0,i=a,s===0?(c=138,u=3):a===s?(c=6,u=3):(c=7,u=4)}}function pM(e){var t;for(Rw(e,e.dyn_ltree,e.l_desc.max_code),Rw(e,e.dyn_dtree,e.d_desc.max_code),ad(e,e.bl_desc),t=od-1;t>=3&&e.bl_tree[Fw[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function fM(e,t,n,r){var i;for(At(e,t-257,5),At(e,n-1,5),At(e,r-4,4),i=0;i<r;i++)At(e,e.bl_tree[Fw[i]*2+1],3);Mw(e,e.dyn_ltree,t-1),Mw(e,e.dyn_dtree,n-1)}function dM(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return Tw;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Cw;for(n=32;n<Os;n++)if(e.dyn_ltree[n*2]!==0)return Cw;return Tw}var Pw=!1;function hM(e){Pw||(lM(),Pw=!0),e.l_desc=new nd(e.dyn_ltree,Dw),e.d_desc=new nd(e.dyn_dtree,zw),e.bl_desc=new nd(e.bl_tree,Uw),e.bi_buf=0,e.bi_valid=0,Yw(e)}function Kw(e,t,n,r){At(e,(eM<<1)+(r?1:0),3),uM(e,t,n,!0)}function mM(e){At(e,Iw<<1,3),Sn(e,cd,Ln),oM(e)}function gM(e,t,n,r){var i,a,s=0;e.level>0?(e.strm.data_type===QR&&(e.strm.data_type=dM(e)),ad(e,e.l_desc),ad(e,e.d_desc),s=pM(e),i=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=i&&(i=a)):i=a=n+5,n+4<=i&&t!==-1?Kw(e,t,n,r):e.strategy===XR||a===i?(At(e,(Iw<<1)+(r?1:0),3),jw(e,Ln,ys)):(At(e,(tM<<1)+(r?1:0),3),fM(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),jw(e,e.dyn_ltree,e.dyn_dtree)),Yw(e),r&&Gw(e)}function vM(e,t,n){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=n&255,e.last_lit++,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(Ss[n]+Os+1)*2]++,e.dyn_dtree[$w(t)*2]++),e.last_lit===e.lit_bufsize-1}pa._tr_init=hM;pa._tr_stored_block=Kw;pa._tr_flush_block=gM;pa._tr_tally=vM;pa._tr_align=mM});var ud=b((zF,Zw)=>{"use strict";function bM(e,t,n,r){for(var i=e&65535|0,a=e>>>16&65535|0,s=0;n!==0;){s=n>2e3?2e3:n,n-=s;do i=i+t[r++]|0,a=a+i|0;while(--s);i%=65521,a%=65521}return i|a<<16|0}Zw.exports=bM});var pd=b((UF,Jw)=>{"use strict";function xM(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var yM=xM();function wM(e,t,n,r){var i=yM,a=r+n;e^=-1;for(var s=r;s<a;s++)e=e>>>8^i[(e^t[s])&255];return e^-1}Jw.exports=wM});var Xc=b(($F,Xw)=>{"use strict";Xw.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var o_=b(kn=>{"use strict";var _t=Nn(),Xt=Vw(),n_=ud(),ar=pd(),_M=Xc(),Zr=0,SM=1,EM=3,ur=4,Qw=5,On=0,e_=1,Qt=-2,OM=-3,fd=-5,kM=-1,TM=1,Qc=2,CM=3,AM=4,jM=0,RM=2,rl=8,MM=9,PM=15,IM=8,NM=29,LM=256,hd=LM+1+NM,qM=30,BM=19,FM=2*hd+1,DM=15,fe=3,cr=258,ln=cr+fe+1,zM=32,il=42,md=69,el=73,tl=91,nl=103,Gr=113,Ts=666,Ze=1,Cs=2,Kr=3,ha=4,UM=3;function lr(e,t){return e.msg=_M[t],t}function t_(e){return(e<<1)-(e>4?9:0)}function or(e){for(var t=e.length;--t>=0;)e[t]=0}function sr(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(_t.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function lt(e,t){Xt._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,sr(e.strm)}function ve(e,t){e.pending_buf[e.pending++]=t}function ks(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function $M(e,t,n,r){var i=e.avail_in;return i>r&&(i=r),i===0?0:(e.avail_in-=i,_t.arraySet(t,e.input,e.next_in,i,n),e.state.wrap===1?e.adler=n_(e.adler,t,i,n):e.state.wrap===2&&(e.adler=ar(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)}function r_(e,t){var n=e.max_chain_length,r=e.strstart,i,a,s=e.prev_length,o=e.nice_match,c=e.strstart>e.w_size-ln?e.strstart-(e.w_size-ln):0,u=e.window,l=e.w_mask,p=e.prev,f=e.strstart+cr,m=u[r+s-1],v=u[r+s];e.prev_length>=e.good_match&&(n>>=2),o>e.lookahead&&(o=e.lookahead);do if(i=t,!(u[i+s]!==v||u[i+s-1]!==m||u[i]!==u[r]||u[++i]!==u[r+1])){r+=2,i++;do;while(u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&r<f);if(a=cr-(f-r),r=f-cr,a>s){if(e.match_start=t,s=a,a>=o)break;m=u[r+s-1],v=u[r+s]}}while((t=p[t&l])>c&&--n!==0);return s<=e.lookahead?s:e.lookahead}function Vr(e){var t=e.w_size,n,r,i,a,s;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-ln)){_t.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,r=e.hash_size,n=r;do i=e.head[--n],e.head[n]=i>=t?i-t:0;while(--r);r=t,n=r;do i=e.prev[--n],e.prev[n]=i>=t?i-t:0;while(--r);a+=t}if(e.strm.avail_in===0)break;if(r=$M(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=r,e.lookahead+e.insert>=fe)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+fe-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<fe)););}while(e.lookahead<ln&&e.strm.avail_in!==0)}function WM(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Vr(e),e.lookahead===0&&t===Zr)return Ze;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,lt(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-ln&&(lt(e,!1),e.strm.avail_out===0))return Ze}return e.insert=0,t===ur?(lt(e,!0),e.strm.avail_out===0?Kr:ha):(e.strstart>e.block_start&&(lt(e,!1),e.strm.avail_out===0),Ze)}function dd(e,t){for(var n,r;;){if(e.lookahead<ln){if(Vr(e),e.lookahead<ln&&t===Zr)return Ze;if(e.lookahead===0)break}if(n=0,e.lookahead>=fe&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+fe-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-ln&&(e.match_length=r_(e,n)),e.match_length>=fe)if(r=Xt._tr_tally(e,e.strstart-e.match_start,e.match_length-fe),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=fe){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+fe-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=Xt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(lt(e,!1),e.strm.avail_out===0))return Ze}return e.insert=e.strstart<fe-1?e.strstart:fe-1,t===ur?(lt(e,!0),e.strm.avail_out===0?Kr:ha):e.last_lit&&(lt(e,!1),e.strm.avail_out===0)?Ze:Cs}function fa(e,t){for(var n,r,i;;){if(e.lookahead<ln){if(Vr(e),e.lookahead<ln&&t===Zr)return Ze;if(e.lookahead===0)break}if(n=0,e.lookahead>=fe&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+fe-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=fe-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-ln&&(e.match_length=r_(e,n),e.match_length<=5&&(e.strategy===TM||e.match_length===fe&&e.strstart-e.match_start>4096)&&(e.match_length=fe-1)),e.prev_length>=fe&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-fe,r=Xt._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-fe),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+fe-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=fe-1,e.strstart++,r&&(lt(e,!1),e.strm.avail_out===0))return Ze}else if(e.match_available){if(r=Xt._tr_tally(e,0,e.window[e.strstart-1]),r&<(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Ze}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=Xt._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<fe-1?e.strstart:fe-1,t===ur?(lt(e,!0),e.strm.avail_out===0?Kr:ha):e.last_lit&&(lt(e,!1),e.strm.avail_out===0)?Ze:Cs}function HM(e,t){for(var n,r,i,a,s=e.window;;){if(e.lookahead<=cr){if(Vr(e),e.lookahead<=cr&&t===Zr)return Ze;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=fe&&e.strstart>0&&(i=e.strstart-1,r=s[i],r===s[++i]&&r===s[++i]&&r===s[++i])){a=e.strstart+cr;do;while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<a);e.match_length=cr-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=fe?(n=Xt._tr_tally(e,1,e.match_length-fe),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Xt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(lt(e,!1),e.strm.avail_out===0))return Ze}return e.insert=0,t===ur?(lt(e,!0),e.strm.avail_out===0?Kr:ha):e.last_lit&&(lt(e,!1),e.strm.avail_out===0)?Ze:Cs}function YM(e,t){for(var n;;){if(e.lookahead===0&&(Vr(e),e.lookahead===0)){if(t===Zr)return Ze;break}if(e.match_length=0,n=Xt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(lt(e,!1),e.strm.avail_out===0))return Ze}return e.insert=0,t===ur?(lt(e,!0),e.strm.avail_out===0?Kr:ha):e.last_lit&&(lt(e,!1),e.strm.avail_out===0)?Ze:Cs}function En(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}var da;da=[new En(0,0,0,0,WM),new En(4,4,8,4,dd),new En(4,5,16,8,dd),new En(4,6,32,32,dd),new En(4,4,16,16,fa),new En(8,16,32,32,fa),new En(8,16,128,128,fa),new En(8,32,128,256,fa),new En(32,128,258,1024,fa),new En(32,258,258,4096,fa)];function GM(e){e.window_size=2*e.w_size,or(e.head),e.max_lazy_match=da[e.level].max_lazy,e.good_match=da[e.level].good_length,e.nice_match=da[e.level].nice_length,e.max_chain_length=da[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=fe-1,e.match_available=0,e.ins_h=0}function KM(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=rl,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new _t.Buf16(FM*2),this.dyn_dtree=new _t.Buf16((2*qM+1)*2),this.bl_tree=new _t.Buf16((2*BM+1)*2),or(this.dyn_ltree),or(this.dyn_dtree),or(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new _t.Buf16(DM+1),this.heap=new _t.Buf16(2*hd+1),or(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new _t.Buf16(2*hd+1),or(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function i_(e){var t;return!e||!e.state?lr(e,Qt):(e.total_in=e.total_out=0,e.data_type=RM,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?il:Gr,e.adler=t.wrap===2?0:1,t.last_flush=Zr,Xt._tr_init(t),On)}function a_(e){var t=i_(e);return t===On&&GM(e.state),t}function VM(e,t){return!e||!e.state||e.state.wrap!==2?Qt:(e.state.gzhead=t,On)}function s_(e,t,n,r,i,a){if(!e)return Qt;var s=1;if(t===kM&&(t=6),r<0?(s=0,r=-r):r>15&&(s=2,r-=16),i<1||i>MM||n!==rl||r<8||r>15||t<0||t>9||a<0||a>AM)return lr(e,Qt);r===8&&(r=9);var o=new KM;return e.state=o,o.strm=e,o.wrap=s,o.gzhead=null,o.w_bits=r,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=i+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+fe-1)/fe),o.window=new _t.Buf8(o.w_size*2),o.head=new _t.Buf16(o.hash_size),o.prev=new _t.Buf16(o.w_size),o.lit_bufsize=1<<i+6,o.pending_buf_size=o.lit_bufsize*4,o.pending_buf=new _t.Buf8(o.pending_buf_size),o.d_buf=1*o.lit_bufsize,o.l_buf=(1+2)*o.lit_bufsize,o.level=t,o.strategy=a,o.method=n,a_(e)}function ZM(e,t){return s_(e,t,rl,PM,IM,jM)}function JM(e,t){var n,r,i,a;if(!e||!e.state||t>Qw||t<0)return e?lr(e,Qt):Qt;if(r=e.state,!e.output||!e.input&&e.avail_in!==0||r.status===Ts&&t!==ur)return lr(e,e.avail_out===0?fd:Qt);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===il)if(r.wrap===2)e.adler=0,ve(r,31),ve(r,139),ve(r,8),r.gzhead?(ve(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),ve(r,r.gzhead.time&255),ve(r,r.gzhead.time>>8&255),ve(r,r.gzhead.time>>16&255),ve(r,r.gzhead.time>>24&255),ve(r,r.level===9?2:r.strategy>=Qc||r.level<2?4:0),ve(r,r.gzhead.os&255),r.gzhead.extra&&r.gzhead.extra.length&&(ve(r,r.gzhead.extra.length&255),ve(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=ar(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=md):(ve(r,0),ve(r,0),ve(r,0),ve(r,0),ve(r,0),ve(r,r.level===9?2:r.strategy>=Qc||r.level<2?4:0),ve(r,UM),r.status=Gr);else{var s=rl+(r.w_bits-8<<4)<<8,o=-1;r.strategy>=Qc||r.level<2?o=0:r.level<6?o=1:r.level===6?o=2:o=3,s|=o<<6,r.strstart!==0&&(s|=zM),s+=31-s%31,r.status=Gr,ks(r,s),r.strstart!==0&&(ks(r,e.adler>>>16),ks(r,e.adler&65535)),e.adler=1}if(r.status===md)if(r.gzhead.extra){for(i=r.pending;r.gzindex<(r.gzhead.extra.length&65535)&&!(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=ar(e.adler,r.pending_buf,r.pending-i,i)),sr(e),i=r.pending,r.pending===r.pending_buf_size));)ve(r,r.gzhead.extra[r.gzindex]&255),r.gzindex++;r.gzhead.hcrc&&r.pending>i&&(e.adler=ar(e.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=el)}else r.status=el;if(r.status===el)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=ar(e.adler,r.pending_buf,r.pending-i,i)),sr(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}r.gzindex<r.gzhead.name.length?a=r.gzhead.name.charCodeAt(r.gzindex++)&255:a=0,ve(r,a)}while(a!==0);r.gzhead.hcrc&&r.pending>i&&(e.adler=ar(e.adler,r.pending_buf,r.pending-i,i)),a===0&&(r.gzindex=0,r.status=tl)}else r.status=tl;if(r.status===tl)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=ar(e.adler,r.pending_buf,r.pending-i,i)),sr(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}r.gzindex<r.gzhead.comment.length?a=r.gzhead.comment.charCodeAt(r.gzindex++)&255:a=0,ve(r,a)}while(a!==0);r.gzhead.hcrc&&r.pending>i&&(e.adler=ar(e.adler,r.pending_buf,r.pending-i,i)),a===0&&(r.status=nl)}else r.status=nl;if(r.status===nl&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&sr(e),r.pending+2<=r.pending_buf_size&&(ve(r,e.adler&255),ve(r,e.adler>>8&255),e.adler=0,r.status=Gr)):r.status=Gr),r.pending!==0){if(sr(e),e.avail_out===0)return r.last_flush=-1,On}else if(e.avail_in===0&&t_(t)<=t_(n)&&t!==ur)return lr(e,fd);if(r.status===Ts&&e.avail_in!==0)return lr(e,fd);if(e.avail_in!==0||r.lookahead!==0||t!==Zr&&r.status!==Ts){var c=r.strategy===Qc?YM(r,t):r.strategy===CM?HM(r,t):da[r.level].func(r,t);if((c===Kr||c===ha)&&(r.status=Ts),c===Ze||c===Kr)return e.avail_out===0&&(r.last_flush=-1),On;if(c===Cs&&(t===SM?Xt._tr_align(r):t!==Qw&&(Xt._tr_stored_block(r,0,0,!1),t===EM&&(or(r.head),r.lookahead===0&&(r.strstart=0,r.block_start=0,r.insert=0))),sr(e),e.avail_out===0))return r.last_flush=-1,On}return t!==ur?On:r.wrap<=0?e_:(r.wrap===2?(ve(r,e.adler&255),ve(r,e.adler>>8&255),ve(r,e.adler>>16&255),ve(r,e.adler>>24&255),ve(r,e.total_in&255),ve(r,e.total_in>>8&255),ve(r,e.total_in>>16&255),ve(r,e.total_in>>24&255)):(ks(r,e.adler>>>16),ks(r,e.adler&65535)),sr(e),r.wrap>0&&(r.wrap=-r.wrap),r.pending!==0?On:e_)}function XM(e){var t;return!e||!e.state?Qt:(t=e.state.status,t!==il&&t!==md&&t!==el&&t!==tl&&t!==nl&&t!==Gr&&t!==Ts?lr(e,Qt):(e.state=null,t===Gr?lr(e,OM):On))}function QM(e,t){var n=t.length,r,i,a,s,o,c,u,l;if(!e||!e.state||(r=e.state,s=r.wrap,s===2||s===1&&r.status!==il||r.lookahead))return Qt;for(s===1&&(e.adler=n_(e.adler,t,n,0)),r.wrap=0,n>=r.w_size&&(s===0&&(or(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new _t.Buf8(r.w_size),_t.arraySet(l,t,n-r.w_size,r.w_size,0),t=l,n=r.w_size),o=e.avail_in,c=e.next_in,u=e.input,e.avail_in=n,e.next_in=0,e.input=t,Vr(r);r.lookahead>=fe;){i=r.strstart,a=r.lookahead-(fe-1);do r.ins_h=(r.ins_h<<r.hash_shift^r.window[i+fe-1])&r.hash_mask,r.prev[i&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=i,i++;while(--a);r.strstart=i,r.lookahead=fe-1,Vr(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=fe-1,r.match_available=0,e.next_in=c,e.input=u,e.avail_in=o,r.wrap=s,On}kn.deflateInit=ZM;kn.deflateInit2=s_;kn.deflateReset=a_;kn.deflateResetKeep=i_;kn.deflateSetHeader=VM;kn.deflate=JM;kn.deflateEnd=XM;kn.deflateSetDictionary=QM;kn.deflateInfo="pako deflate (from Nodeca project)"});var gd=b(ma=>{"use strict";var al=Nn(),c_=!0,l_=!0;try{String.fromCharCode.apply(null,[0])}catch{c_=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{l_=!1}var As=new al.Buf8(256);for(qn=0;qn<256;qn++)As[qn]=qn>=252?6:qn>=248?5:qn>=240?4:qn>=224?3:qn>=192?2:1;var qn;As[254]=As[254]=1;ma.string2buf=function(e){var t,n,r,i,a,s=e.length,o=0;for(i=0;i<s;i++)n=e.charCodeAt(i),(n&64512)===55296&&i+1<s&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(n=65536+(n-55296<<10)+(r-56320),i++)),o+=n<128?1:n<2048?2:n<65536?3:4;for(t=new al.Buf8(o),a=0,i=0;a<o;i++)n=e.charCodeAt(i),(n&64512)===55296&&i+1<s&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(n=65536+(n-55296<<10)+(r-56320),i++)),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|n&63):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|n&63):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|n&63);return t};function u_(e,t){if(t<65534&&(e.subarray&&l_||!e.subarray&&c_))return String.fromCharCode.apply(null,al.shrinkBuf(e,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}ma.buf2binstring=function(e){return u_(e,e.length)};ma.binstring2buf=function(e){for(var t=new al.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t};ma.buf2string=function(e,t){var n,r,i,a,s=t||e.length,o=new Array(s*2);for(r=0,n=0;n<s;){if(i=e[n++],i<128){o[r++]=i;continue}if(a=As[i],a>4){o[r++]=65533,n+=a-1;continue}for(i&=a===2?31:a===3?15:7;a>1&&n<s;)i=i<<6|e[n++]&63,a--;if(a>1){o[r++]=65533;continue}i<65536?o[r++]=i:(i-=65536,o[r++]=55296|i>>10&1023,o[r++]=56320|i&1023)}return u_(o,r)};ma.utf8border=function(e,t){var n;for(t=t||e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+As[e[n]]>t?n:t}});var vd=b((YF,p_)=>{"use strict";function eP(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}p_.exports=eP});var m_=b(Ms=>{"use strict";var js=o_(),Rs=Nn(),xd=gd(),yd=Xc(),tP=vd(),h_=Object.prototype.toString,nP=0,bd=4,ga=0,f_=1,d_=2,rP=-1,iP=0,aP=8;function Jr(e){if(!(this instanceof Jr))return new Jr(e);this.options=Rs.assign({level:rP,method:aP,chunkSize:16384,windowBits:15,memLevel:8,strategy:iP,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new tP,this.strm.avail_out=0;var n=js.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==ga)throw new Error(yd[n]);if(t.header&&js.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(typeof t.dictionary=="string"?r=xd.string2buf(t.dictionary):h_.call(t.dictionary)==="[object ArrayBuffer]"?r=new Uint8Array(t.dictionary):r=t.dictionary,n=js.deflateSetDictionary(this.strm,r),n!==ga)throw new Error(yd[n]);this._dict_set=!0}}Jr.prototype.push=function(e,t){var n=this.strm,r=this.options.chunkSize,i,a;if(this.ended)return!1;a=t===~~t?t:t===!0?bd:nP,typeof e=="string"?n.input=xd.string2buf(e):h_.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0&&(n.output=new Rs.Buf8(r),n.next_out=0,n.avail_out=r),i=js.deflate(n,a),i!==f_&&i!==ga)return this.onEnd(i),this.ended=!0,!1;(n.avail_out===0||n.avail_in===0&&(a===bd||a===d_))&&(this.options.to==="string"?this.onData(xd.buf2binstring(Rs.shrinkBuf(n.output,n.next_out))):this.onData(Rs.shrinkBuf(n.output,n.next_out)))}while((n.avail_in>0||n.avail_out===0)&&i!==f_);return a===bd?(i=js.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===ga):(a===d_&&(this.onEnd(ga),n.avail_out=0),!0)};Jr.prototype.onData=function(e){this.chunks.push(e)};Jr.prototype.onEnd=function(e){e===ga&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Rs.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function wd(e,t){var n=new Jr(t);if(n.push(e,!0),n.err)throw n.msg||yd[n.err];return n.result}function sP(e,t){return t=t||{},t.raw=!0,wd(e,t)}function oP(e,t){return t=t||{},t.gzip=!0,wd(e,t)}Ms.Deflate=Jr;Ms.deflate=wd;Ms.deflateRaw=sP;Ms.gzip=oP});var v_=b((KF,g_)=>{"use strict";var sl=30,cP=12;g_.exports=function(t,n){var r,i,a,s,o,c,u,l,p,f,m,v,g,d,x,_,T,k,O,D,B,N,W,F,q;r=t.state,i=t.next_in,F=t.input,a=i+(t.avail_in-5),s=t.next_out,q=t.output,o=s-(n-t.avail_out),c=s+(t.avail_out-257),u=r.dmax,l=r.wsize,p=r.whave,f=r.wnext,m=r.window,v=r.hold,g=r.bits,d=r.lencode,x=r.distcode,_=(1<<r.lenbits)-1,T=(1<<r.distbits)-1;e:do{g<15&&(v+=F[i++]<<g,g+=8,v+=F[i++]<<g,g+=8),k=d[v&_];t:for(;;){if(O=k>>>24,v>>>=O,g-=O,O=k>>>16&255,O===0)q[s++]=k&65535;else if(O&16){D=k&65535,O&=15,O&&(g<O&&(v+=F[i++]<<g,g+=8),D+=v&(1<<O)-1,v>>>=O,g-=O),g<15&&(v+=F[i++]<<g,g+=8,v+=F[i++]<<g,g+=8),k=x[v&T];n:for(;;){if(O=k>>>24,v>>>=O,g-=O,O=k>>>16&255,O&16){if(B=k&65535,O&=15,g<O&&(v+=F[i++]<<g,g+=8,g<O&&(v+=F[i++]<<g,g+=8)),B+=v&(1<<O)-1,B>u){t.msg="invalid distance too far back",r.mode=sl;break e}if(v>>>=O,g-=O,O=s-o,B>O){if(O=B-O,O>p&&r.sane){t.msg="invalid distance too far back",r.mode=sl;break e}if(N=0,W=m,f===0){if(N+=l-O,O<D){D-=O;do q[s++]=m[N++];while(--O);N=s-B,W=q}}else if(f<O){if(N+=l+f-O,O-=f,O<D){D-=O;do q[s++]=m[N++];while(--O);if(N=0,f<D){O=f,D-=O;do q[s++]=m[N++];while(--O);N=s-B,W=q}}}else if(N+=f-O,O<D){D-=O;do q[s++]=m[N++];while(--O);N=s-B,W=q}for(;D>2;)q[s++]=W[N++],q[s++]=W[N++],q[s++]=W[N++],D-=3;D&&(q[s++]=W[N++],D>1&&(q[s++]=W[N++]))}else{N=s-B;do q[s++]=q[N++],q[s++]=q[N++],q[s++]=q[N++],D-=3;while(D>2);D&&(q[s++]=q[N++],D>1&&(q[s++]=q[N++]))}}else if((O&64)===0){k=x[(k&65535)+(v&(1<<O)-1)];continue n}else{t.msg="invalid distance code",r.mode=sl;break e}break}}else if((O&64)===0){k=d[(k&65535)+(v&(1<<O)-1)];continue t}else if(O&32){r.mode=cP;break e}else{t.msg="invalid literal/length code",r.mode=sl;break e}break}}while(i<a&&s<c);D=g>>3,i-=D,g-=D<<3,v&=(1<<g)-1,t.next_in=i,t.next_out=s,t.avail_in=i<a?5+(a-i):5-(i-a),t.avail_out=s<c?257+(c-s):257-(s-c),r.hold=v,r.bits=g}});var E_=b((VF,S_)=>{"use strict";var b_=Nn(),va=15,x_=852,y_=592,w_=0,_d=1,__=2,lP=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],uP=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],pP=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],fP=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];S_.exports=function(t,n,r,i,a,s,o,c){var u=c.bits,l=0,p=0,f=0,m=0,v=0,g=0,d=0,x=0,_=0,T=0,k,O,D,B,N,W=null,F=0,q,M=new b_.Buf16(va+1),R=new b_.Buf16(va+1),L=null,G=0,ue,be,ee;for(l=0;l<=va;l++)M[l]=0;for(p=0;p<i;p++)M[n[r+p]]++;for(v=u,m=va;m>=1&&M[m]===0;m--);if(v>m&&(v=m),m===0)return a[s++]=1<<24|64<<16|0,a[s++]=1<<24|64<<16|0,c.bits=1,0;for(f=1;f<m&&M[f]===0;f++);for(v<f&&(v=f),x=1,l=1;l<=va;l++)if(x<<=1,x-=M[l],x<0)return-1;if(x>0&&(t===w_||m!==1))return-1;for(R[1]=0,l=1;l<va;l++)R[l+1]=R[l]+M[l];for(p=0;p<i;p++)n[r+p]!==0&&(o[R[n[r+p]]++]=p);if(t===w_?(W=L=o,q=19):t===_d?(W=lP,F-=257,L=uP,G-=257,q=256):(W=pP,L=fP,q=-1),T=0,p=0,l=f,N=s,g=v,d=0,D=-1,_=1<<v,B=_-1,t===_d&&_>x_||t===__&&_>y_)return 1;for(;;){ue=l-d,o[p]<q?(be=0,ee=o[p]):o[p]>q?(be=L[G+o[p]],ee=W[F+o[p]]):(be=32+64,ee=0),k=1<<l-d,O=1<<g,f=O;do O-=k,a[N+(T>>d)+O]=ue<<24|be<<16|ee|0;while(O!==0);for(k=1<<l-1;T&k;)k>>=1;if(k!==0?(T&=k-1,T+=k):T=0,p++,--M[l]===0){if(l===m)break;l=n[r+o[p]]}if(l>v&&(T&B)!==D){for(d===0&&(d=v),N+=f,g=l-d,x=1<<g;g+d<m&&(x-=M[g+d],!(x<=0));)g++,x<<=1;if(_+=1<<g,t===_d&&_>x_||t===__&&_>y_)return 1;D=T&B,a[D]=v<<24|g<<16|N-s|0}}return T!==0&&(a[N+T]=l-d<<24|64<<16|0),c.bits=v,0}});var a2=b(un=>{"use strict";var Ut=Nn(),Cd=ud(),Tn=pd(),dP=v_(),Ps=E_(),hP=0,Z_=1,J_=2,O_=4,mP=5,ol=6,Xr=0,gP=1,vP=2,en=-2,X_=-3,Ad=-4,bP=-5,k_=8,Q_=1,T_=2,C_=3,A_=4,j_=5,R_=6,M_=7,P_=8,I_=9,N_=10,ul=11,Bn=12,Sd=13,L_=14,Ed=15,q_=16,B_=17,F_=18,D_=19,cl=20,ll=21,z_=22,U_=23,$_=24,W_=25,H_=26,Od=27,Y_=28,G_=29,Re=30,jd=31,xP=32,yP=852,wP=592,_P=15,SP=_P;function K_(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function EP(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Ut.Buf16(320),this.work=new Ut.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function e2(e){var t;return!e||!e.state?en:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=Q_,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Ut.Buf32(yP),t.distcode=t.distdyn=new Ut.Buf32(wP),t.sane=1,t.back=-1,Xr)}function t2(e){var t;return!e||!e.state?en:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,e2(e))}function n2(e,t){var n,r;return!e||!e.state||(r=e.state,t<0?(n=0,t=-t):(n=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?en:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,t2(e))}function r2(e,t){var n,r;return e?(r=new EP,e.state=r,r.window=null,n=n2(e,t),n!==Xr&&(e.state=null),n):en}function OP(e){return r2(e,SP)}var V_=!0,kd,Td;function kP(e){if(V_){var t;for(kd=new Ut.Buf32(512),Td=new Ut.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Ps(Z_,e.lens,0,288,kd,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Ps(J_,e.lens,0,32,Td,0,e.work,{bits:5}),V_=!1}e.lencode=kd,e.lenbits=9,e.distcode=Td,e.distbits=5}function i2(e,t,n,r){var i,a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Ut.Buf8(a.wsize)),r>=a.wsize?(Ut.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>r&&(i=r),Ut.arraySet(a.window,t,n-r,i,a.wnext),r-=i,r?(Ut.arraySet(a.window,t,n-r,r,0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}function TP(e,t){var n,r,i,a,s,o,c,u,l,p,f,m,v,g,d=0,x,_,T,k,O,D,B,N,W=new Ut.Buf8(4),F,q,M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return en;n=e.state,n.mode===Bn&&(n.mode=Sd),s=e.next_out,i=e.output,c=e.avail_out,a=e.next_in,r=e.input,o=e.avail_in,u=n.hold,l=n.bits,p=o,f=c,N=Xr;e:for(;;)switch(n.mode){case Q_:if(n.wrap===0){n.mode=Sd;break}for(;l<16;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(n.wrap&2&&u===35615){n.check=0,W[0]=u&255,W[1]=u>>>8&255,n.check=Tn(n.check,W,2,0),u=0,l=0,n.mode=T_;break}if(n.flags=0,n.head&&(n.head.done=!1),!(n.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=Re;break}if((u&15)!==k_){e.msg="unknown compression method",n.mode=Re;break}if(u>>>=4,l-=4,B=(u&15)+8,n.wbits===0)n.wbits=B;else if(B>n.wbits){e.msg="invalid window size",n.mode=Re;break}n.dmax=1<<B,e.adler=n.check=1,n.mode=u&512?N_:Bn,u=0,l=0;break;case T_:for(;l<16;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(n.flags=u,(n.flags&255)!==k_){e.msg="unknown compression method",n.mode=Re;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Re;break}n.head&&(n.head.text=u>>8&1),n.flags&512&&(W[0]=u&255,W[1]=u>>>8&255,n.check=Tn(n.check,W,2,0)),u=0,l=0,n.mode=C_;case C_:for(;l<32;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}n.head&&(n.head.time=u),n.flags&512&&(W[0]=u&255,W[1]=u>>>8&255,W[2]=u>>>16&255,W[3]=u>>>24&255,n.check=Tn(n.check,W,4,0)),u=0,l=0,n.mode=A_;case A_:for(;l<16;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}n.head&&(n.head.xflags=u&255,n.head.os=u>>8),n.flags&512&&(W[0]=u&255,W[1]=u>>>8&255,n.check=Tn(n.check,W,2,0)),u=0,l=0,n.mode=j_;case j_:if(n.flags&1024){for(;l<16;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}n.length=u,n.head&&(n.head.extra_len=u),n.flags&512&&(W[0]=u&255,W[1]=u>>>8&255,n.check=Tn(n.check,W,2,0)),u=0,l=0}else n.head&&(n.head.extra=null);n.mode=R_;case R_:if(n.flags&1024&&(m=n.length,m>o&&(m=o),m&&(n.head&&(B=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Ut.arraySet(n.head.extra,r,a,m,B)),n.flags&512&&(n.check=Tn(n.check,r,m,a)),o-=m,a+=m,n.length-=m),n.length))break e;n.length=0,n.mode=M_;case M_:if(n.flags&2048){if(o===0)break e;m=0;do B=r[a+m++],n.head&&B&&n.length<65536&&(n.head.name+=String.fromCharCode(B));while(B&&m<o);if(n.flags&512&&(n.check=Tn(n.check,r,m,a)),o-=m,a+=m,B)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=P_;case P_:if(n.flags&4096){if(o===0)break e;m=0;do B=r[a+m++],n.head&&B&&n.length<65536&&(n.head.comment+=String.fromCharCode(B));while(B&&m<o);if(n.flags&512&&(n.check=Tn(n.check,r,m,a)),o-=m,a+=m,B)break e}else n.head&&(n.head.comment=null);n.mode=I_;case I_:if(n.flags&512){for(;l<16;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(u!==(n.check&65535)){e.msg="header crc mismatch",n.mode=Re;break}u=0,l=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Bn;break;case N_:for(;l<32;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}e.adler=n.check=K_(u),u=0,l=0,n.mode=ul;case ul:if(n.havedict===0)return e.next_out=s,e.avail_out=c,e.next_in=a,e.avail_in=o,n.hold=u,n.bits=l,vP;e.adler=n.check=1,n.mode=Bn;case Bn:if(t===mP||t===ol)break e;case Sd:if(n.last){u>>>=l&7,l-=l&7,n.mode=Od;break}for(;l<3;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}switch(n.last=u&1,u>>>=1,l-=1,u&3){case 0:n.mode=L_;break;case 1:if(kP(n),n.mode=cl,t===ol){u>>>=2,l-=2;break e}break;case 2:n.mode=B_;break;case 3:e.msg="invalid block type",n.mode=Re}u>>>=2,l-=2;break;case L_:for(u>>>=l&7,l-=l&7;l<32;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if((u&65535)!==(u>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Re;break}if(n.length=u&65535,u=0,l=0,n.mode=Ed,t===ol)break e;case Ed:n.mode=q_;case q_:if(m=n.length,m){if(m>o&&(m=o),m>c&&(m=c),m===0)break e;Ut.arraySet(i,r,a,m,s),o-=m,a+=m,c-=m,s+=m,n.length-=m;break}n.mode=Bn;break;case B_:for(;l<14;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(n.nlen=(u&31)+257,u>>>=5,l-=5,n.ndist=(u&31)+1,u>>>=5,l-=5,n.ncode=(u&15)+4,u>>>=4,l-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Re;break}n.have=0,n.mode=F_;case F_:for(;n.have<n.ncode;){for(;l<3;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}n.lens[M[n.have++]]=u&7,u>>>=3,l-=3}for(;n.have<19;)n.lens[M[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,F={bits:n.lenbits},N=Ps(hP,n.lens,0,19,n.lencode,0,n.work,F),n.lenbits=F.bits,N){e.msg="invalid code lengths set",n.mode=Re;break}n.have=0,n.mode=D_;case D_:for(;n.have<n.nlen+n.ndist;){for(;d=n.lencode[u&(1<<n.lenbits)-1],x=d>>>24,_=d>>>16&255,T=d&65535,!(x<=l);){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(T<16)u>>>=x,l-=x,n.lens[n.have++]=T;else{if(T===16){for(q=x+2;l<q;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(u>>>=x,l-=x,n.have===0){e.msg="invalid bit length repeat",n.mode=Re;break}B=n.lens[n.have-1],m=3+(u&3),u>>>=2,l-=2}else if(T===17){for(q=x+3;l<q;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}u>>>=x,l-=x,B=0,m=3+(u&7),u>>>=3,l-=3}else{for(q=x+7;l<q;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}u>>>=x,l-=x,B=0,m=11+(u&127),u>>>=7,l-=7}if(n.have+m>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Re;break}for(;m--;)n.lens[n.have++]=B}}if(n.mode===Re)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Re;break}if(n.lenbits=9,F={bits:n.lenbits},N=Ps(Z_,n.lens,0,n.nlen,n.lencode,0,n.work,F),n.lenbits=F.bits,N){e.msg="invalid literal/lengths set",n.mode=Re;break}if(n.distbits=6,n.distcode=n.distdyn,F={bits:n.distbits},N=Ps(J_,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,F),n.distbits=F.bits,N){e.msg="invalid distances set",n.mode=Re;break}if(n.mode=cl,t===ol)break e;case cl:n.mode=ll;case ll:if(o>=6&&c>=258){e.next_out=s,e.avail_out=c,e.next_in=a,e.avail_in=o,n.hold=u,n.bits=l,dP(e,f),s=e.next_out,i=e.output,c=e.avail_out,a=e.next_in,r=e.input,o=e.avail_in,u=n.hold,l=n.bits,n.mode===Bn&&(n.back=-1);break}for(n.back=0;d=n.lencode[u&(1<<n.lenbits)-1],x=d>>>24,_=d>>>16&255,T=d&65535,!(x<=l);){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(_&&(_&240)===0){for(k=x,O=_,D=T;d=n.lencode[D+((u&(1<<k+O)-1)>>k)],x=d>>>24,_=d>>>16&255,T=d&65535,!(k+x<=l);){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}u>>>=k,l-=k,n.back+=k}if(u>>>=x,l-=x,n.back+=x,n.length=T,_===0){n.mode=H_;break}if(_&32){n.back=-1,n.mode=Bn;break}if(_&64){e.msg="invalid literal/length code",n.mode=Re;break}n.extra=_&15,n.mode=z_;case z_:if(n.extra){for(q=n.extra;l<q;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}n.length+=u&(1<<n.extra)-1,u>>>=n.extra,l-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=U_;case U_:for(;d=n.distcode[u&(1<<n.distbits)-1],x=d>>>24,_=d>>>16&255,T=d&65535,!(x<=l);){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if((_&240)===0){for(k=x,O=_,D=T;d=n.distcode[D+((u&(1<<k+O)-1)>>k)],x=d>>>24,_=d>>>16&255,T=d&65535,!(k+x<=l);){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}u>>>=k,l-=k,n.back+=k}if(u>>>=x,l-=x,n.back+=x,_&64){e.msg="invalid distance code",n.mode=Re;break}n.offset=T,n.extra=_&15,n.mode=$_;case $_:if(n.extra){for(q=n.extra;l<q;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}n.offset+=u&(1<<n.extra)-1,u>>>=n.extra,l-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Re;break}n.mode=W_;case W_:if(c===0)break e;if(m=f-c,n.offset>m){if(m=n.offset-m,m>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Re;break}m>n.wnext?(m-=n.wnext,v=n.wsize-m):v=n.wnext-m,m>n.length&&(m=n.length),g=n.window}else g=i,v=s-n.offset,m=n.length;m>c&&(m=c),c-=m,n.length-=m;do i[s++]=g[v++];while(--m);n.length===0&&(n.mode=ll);break;case H_:if(c===0)break e;i[s++]=n.length,c--,n.mode=ll;break;case Od:if(n.wrap){for(;l<32;){if(o===0)break e;o--,u|=r[a++]<<l,l+=8}if(f-=c,e.total_out+=f,n.total+=f,f&&(e.adler=n.check=n.flags?Tn(n.check,i,f,s-f):Cd(n.check,i,f,s-f)),f=c,(n.flags?u:K_(u))!==n.check){e.msg="incorrect data check",n.mode=Re;break}u=0,l=0}n.mode=Y_;case Y_:if(n.wrap&&n.flags){for(;l<32;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(u!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=Re;break}u=0,l=0}n.mode=G_;case G_:N=gP;break e;case Re:N=X_;break e;case jd:return Ad;case xP:default:return en}return e.next_out=s,e.avail_out=c,e.next_in=a,e.avail_in=o,n.hold=u,n.bits=l,(n.wsize||f!==e.avail_out&&n.mode<Re&&(n.mode<Od||t!==O_))&&i2(e,e.output,e.next_out,f-e.avail_out)?(n.mode=jd,Ad):(p-=e.avail_in,f-=e.avail_out,e.total_in+=p,e.total_out+=f,n.total+=f,n.wrap&&f&&(e.adler=n.check=n.flags?Tn(n.check,i,f,e.next_out-f):Cd(n.check,i,f,e.next_out-f)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Bn?128:0)+(n.mode===cl||n.mode===Ed?256:0),(p===0&&f===0||t===O_)&&N===Xr&&(N=bP),N)}function CP(e){if(!e||!e.state)return en;var t=e.state;return t.window&&(t.window=null),e.state=null,Xr}function AP(e,t){var n;return!e||!e.state||(n=e.state,(n.wrap&2)===0)?en:(n.head=t,t.done=!1,Xr)}function jP(e,t){var n=t.length,r,i,a;return!e||!e.state||(r=e.state,r.wrap!==0&&r.mode!==ul)?en:r.mode===ul&&(i=1,i=Cd(i,t,n,0),i!==r.check)?X_:(a=i2(e,t,n,n),a?(r.mode=jd,Ad):(r.havedict=1,Xr))}un.inflateReset=t2;un.inflateReset2=n2;un.inflateResetKeep=e2;un.inflateInit=OP;un.inflateInit2=r2;un.inflate=TP;un.inflateEnd=CP;un.inflateGetHeader=AP;un.inflateSetDictionary=jP;un.inflateInfo="pako inflate (from Nodeca project)"});var Rd=b((JF,s2)=>{"use strict";s2.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var c2=b((XF,o2)=>{"use strict";function RP(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}o2.exports=RP});var u2=b(Ns=>{"use strict";var ba=a2(),Is=Nn(),pl=gd(),Ue=Rd(),Md=Xc(),MP=vd(),PP=c2(),l2=Object.prototype.toString;function Qr(e){if(!(this instanceof Qr))return new Qr(e);this.options=Is.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)===0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new MP,this.strm.avail_out=0;var n=ba.inflateInit2(this.strm,t.windowBits);if(n!==Ue.Z_OK)throw new Error(Md[n]);if(this.header=new PP,ba.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=pl.string2buf(t.dictionary):l2.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=ba.inflateSetDictionary(this.strm,t.dictionary),n!==Ue.Z_OK)))throw new Error(Md[n])}Qr.prototype.push=function(e,t){var n=this.strm,r=this.options.chunkSize,i=this.options.dictionary,a,s,o,c,u,l=!1;if(this.ended)return!1;s=t===~~t?t:t===!0?Ue.Z_FINISH:Ue.Z_NO_FLUSH,typeof e=="string"?n.input=pl.binstring2buf(e):l2.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0&&(n.output=new Is.Buf8(r),n.next_out=0,n.avail_out=r),a=ba.inflate(n,Ue.Z_NO_FLUSH),a===Ue.Z_NEED_DICT&&i&&(a=ba.inflateSetDictionary(this.strm,i)),a===Ue.Z_BUF_ERROR&&l===!0&&(a=Ue.Z_OK,l=!1),a!==Ue.Z_STREAM_END&&a!==Ue.Z_OK)return this.onEnd(a),this.ended=!0,!1;n.next_out&&(n.avail_out===0||a===Ue.Z_STREAM_END||n.avail_in===0&&(s===Ue.Z_FINISH||s===Ue.Z_SYNC_FLUSH))&&(this.options.to==="string"?(o=pl.utf8border(n.output,n.next_out),c=n.next_out-o,u=pl.buf2string(n.output,o),n.next_out=c,n.avail_out=r-c,c&&Is.arraySet(n.output,n.output,o,c,0),this.onData(u)):this.onData(Is.shrinkBuf(n.output,n.next_out))),n.avail_in===0&&n.avail_out===0&&(l=!0)}while((n.avail_in>0||n.avail_out===0)&&a!==Ue.Z_STREAM_END);return a===Ue.Z_STREAM_END&&(s=Ue.Z_FINISH),s===Ue.Z_FINISH?(a=ba.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===Ue.Z_OK):(s===Ue.Z_SYNC_FLUSH&&(this.onEnd(Ue.Z_OK),n.avail_out=0),!0)};Qr.prototype.onData=function(e){this.chunks.push(e)};Qr.prototype.onEnd=function(e){e===Ue.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Is.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Pd(e,t){var n=new Qr(t);if(n.push(e,!0),n.err)throw n.msg||Md[n.err];return n.result}function IP(e,t){return t=t||{},t.raw=!0,Pd(e,t)}Ns.Inflate=Qr;Ns.inflate=Pd;Ns.inflateRaw=IP;Ns.ungzip=Pd});var d2=b((eD,f2)=>{"use strict";var NP=Nn().assign,LP=m_(),qP=u2(),BP=Rd(),p2={};NP(p2,LP,qP,BP);f2.exports=p2});var m2=b(dl=>{"use strict";var FP=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",DP=d2(),h2=Ie(),fl=zt(),zP=FP?"uint8array":"array";dl.magic="\b\0";function ei(e,t){fl.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}h2.inherits(ei,fl);ei.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(h2.transformTo(zP,e.data),!1)};ei.prototype.flush=function(){fl.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)};ei.prototype.cleanUp=function(){fl.prototype.cleanUp.call(this),this._pako=null};ei.prototype._createPako=function(){this._pako=new DP[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}};dl.compressWorker=function(e){return new ei("Deflate",e)};dl.uncompressWorker=function(){return new ei("Inflate",{})}});var Nd=b(Id=>{"use strict";var g2=zt();Id.STORE={magic:"\0\0",compressWorker:function(e){return new g2("STORE compression")},uncompressWorker:function(){return new g2("STORE decompression")}};Id.DEFLATE=m2()});var Ld=b(ti=>{"use strict";ti.LOCAL_FILE_HEADER="PK";ti.CENTRAL_FILE_HEADER="PK";ti.CENTRAL_DIRECTORY_END="PK";ti.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07";ti.ZIP64_CENTRAL_DIRECTORY_END="PK";ti.DATA_DESCRIPTOR="PK\x07\b"});var y2=b((iD,x2)=>{"use strict";var xa=Ie(),ya=zt(),qd=Wr(),v2=Gc(),hl=Ld(),ke=function(e,t){var n="",r;for(r=0;r<t;r++)n+=String.fromCharCode(e&255),e=e>>>8;return n},UP=function(e,t){var n=e;return e||(n=t?16893:33204),(n&65535)<<16},$P=function(e,t){return(e||0)&63},b2=function(e,t,n,r,i,a){var s=e.file,o=e.compression,c=a!==qd.utf8encode,u=xa.transformTo("string",a(s.name)),l=xa.transformTo("string",qd.utf8encode(s.name)),p=s.comment,f=xa.transformTo("string",a(p)),m=xa.transformTo("string",qd.utf8encode(p)),v=l.length!==s.name.length,g=m.length!==p.length,d,x,_="",T="",k="",O=s.dir,D=s.date,B={crc32:0,compressedSize:0,uncompressedSize:0};(!t||n)&&(B.crc32=e.crc32,B.compressedSize=e.compressedSize,B.uncompressedSize=e.uncompressedSize);var N=0;t&&(N|=8),!c&&(v||g)&&(N|=2048);var W=0,F=0;O&&(W|=16),i==="UNIX"?(F=798,W|=UP(s.unixPermissions,O)):(F=20,W|=$P(s.dosPermissions,O)),d=D.getUTCHours(),d=d<<6,d=d|D.getUTCMinutes(),d=d<<5,d=d|D.getUTCSeconds()/2,x=D.getUTCFullYear()-1980,x=x<<4,x=x|D.getUTCMonth()+1,x=x<<5,x=x|D.getUTCDate(),v&&(T=ke(1,1)+ke(v2(u),4)+l,_+="up"+ke(T.length,2)+T),g&&(k=ke(1,1)+ke(v2(f),4)+m,_+="uc"+ke(k.length,2)+k);var q="";q+=`
|
|
35
|
+
\0`,q+=ke(N,2),q+=o.magic,q+=ke(d,2),q+=ke(x,2),q+=ke(B.crc32,4),q+=ke(B.compressedSize,4),q+=ke(B.uncompressedSize,4),q+=ke(u.length,2),q+=ke(_.length,2);var M=hl.LOCAL_FILE_HEADER+q+u+_,R=hl.CENTRAL_FILE_HEADER+ke(F,2)+q+ke(f.length,2)+"\0\0\0\0"+ke(W,4)+ke(r,4)+u+_+f;return{fileRecord:M,dirRecord:R}},WP=function(e,t,n,r,i){var a="",s=xa.transformTo("string",i(r));return a=hl.CENTRAL_DIRECTORY_END+"\0\0\0\0"+ke(e,2)+ke(e,2)+ke(t,4)+ke(n,4)+ke(s.length,2)+s,a},HP=function(e){var t="";return t=hl.DATA_DESCRIPTOR+ke(e.crc32,4)+ke(e.compressedSize,4)+ke(e.uncompressedSize,4),t};function pn(e,t,n,r){ya.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}xa.inherits(pn,ya);pn.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,ya.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))};pn.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=b2(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0};pn.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=b2(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:HP(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null};pn.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,r=WP(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:r,meta:{percent:100}})};pn.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()};pn.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(n){t.processChunk(n)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(n){t.error(n)}),this};pn.prototype.resume=function(){if(!ya.prototype.resume.call(this))return!1;if(!this.previous&&this._sources.length)return this.prepareNextSource(),!0;if(!this.previous&&!this._sources.length&&!this.generatedError)return this.end(),!0};pn.prototype.error=function(e){var t=this._sources;if(!ya.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0};pn.prototype.lock=function(){ya.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};x2.exports=pn});var _2=b(w2=>{"use strict";var YP=Nd(),GP=y2(),KP=function(e,t){var n=e||t,r=YP[n];if(!r)throw new Error(n+" is not a valid compression method !");return r};w2.generateWorker=function(e,t,n){var r=new GP(t.streamFiles,n,t.platform,t.encodeFileName),i=0;try{e.forEach(function(a,s){i++;var o=KP(s.options.compression,t.compression),c=s.options.compressionOptions||t.compressionOptions||{},u=s.dir,l=s.date;s._compressWorker(o,c).withStreamInfo("file",{name:a,dir:u,date:l,comment:s.comment||"",unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions}).pipe(r)}),r.entriesCount=i}catch(a){r.error(a)}return r}});var E2=b((sD,S2)=>{"use strict";var VP=Ie(),ml=zt();function Ls(e,t){ml.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}VP.inherits(Ls,ml);Ls.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",function(n){t.push({data:n,meta:{percent:0}})}).on("error",function(n){t.isPaused?this.generatedError=n:t.error(n)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})};Ls.prototype.pause=function(){return ml.prototype.pause.call(this)?(this._stream.pause(),!0):!1};Ls.prototype.resume=function(){return ml.prototype.resume.call(this)?(this._upstreamEnded?this.end():this._stream.resume(),!0):!1};S2.exports=Ls});var I2=b((oD,P2)=>{"use strict";var ZP=Wr(),qs=Ie(),C2=zt(),JP=Uf(),A2=$f(),O2=Kc(),XP=kw(),QP=_2(),k2=fs(),eI=E2(),j2=function(e,t,n){var r=qs.getTypeOf(t),i,a=qs.extend(n||{},A2);a.date=a.date||new Date,a.compression!==null&&(a.compression=a.compression.toUpperCase()),typeof a.unixPermissions=="string"&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&a.unixPermissions&16384&&(a.dir=!0),a.dosPermissions&&a.dosPermissions&16&&(a.dir=!0),a.dir&&(e=R2(e)),a.createFolders&&(i=tI(e))&&M2.call(this,i,!0);var s=r==="string"&&a.binary===!1&&a.base64===!1;(!n||typeof n.binary>"u")&&(a.binary=!s);var o=t instanceof O2&&t.uncompressedSize===0;(o||a.dir||!t||t.length===0)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE",r="string");var c=null;t instanceof O2||t instanceof C2?c=t:k2.isNode&&k2.isStream(t)?c=new eI(e,t):c=qs.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var u=new XP(e,c,a);this.files[e]=u},tI=function(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},R2=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},M2=function(e,t){return t=typeof t<"u"?t:A2.createFolders,e=R2(e),this.files[e]||j2.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function T2(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var nI={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],n=t.slice(this.root.length,t.length),n&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(arguments.length===1)if(T2(e)){var r=e;return this.filter(function(a,s){return!s.dir&&r.test(a)})}else{var i=this.files[this.root+e];return i&&!i.dir?i:null}else e=this.root+e,j2.call(this,e,t,n);return this},folder:function(e){if(!e)return this;if(T2(e))return this.filter(function(i,a){return a.dir&&e.test(i)});var t=this.root+e,n=M2.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||(e.slice(-1)!=="/"&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(i,a){return a.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if(n=qs.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:ZP.utf8encode}),n.type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),n.type==="binarystring"&&(n.type="string"),!n.type)throw new Error("No output type specified.");qs.checkSupport(n.type),(n.platform==="darwin"||n.platform==="freebsd"||n.platform==="linux"||n.platform==="sunos")&&(n.platform="UNIX"),n.platform==="win32"&&(n.platform="DOS");var r=n.comment||this.comment||"";t=QP.generateWorker(this,n,r)}catch(i){t=new C2("error"),t.error(i)}return new JP(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return e=e||{},e.type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};P2.exports=nI});var Bd=b((cD,L2)=>{"use strict";var rI=Ie();function N2(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}N2.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t=0,n;for(this.checkOffset(e),n=this.index+e-1;n>=this.index;n--)t=(t<<8)+this.byteAt(n);return this.index+=e,t},readString:function(e){return rI.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(e&31)<<1))}};L2.exports=N2});var Fd=b((lD,B2)=>{"use strict";var q2=Bd(),iI=Ie();function wa(e){q2.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=e[t]&255}iI.inherits(wa,q2);wa.prototype.byteAt=function(e){return this.data[this.zero+e]};wa.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===n&&this.data[a+2]===r&&this.data[a+3]===i)return a-this.zero;return-1};wa.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&n===a[1]&&r===a[2]&&i===a[3]};wa.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};B2.exports=wa});var z2=b((uD,D2)=>{"use strict";var F2=Bd(),aI=Ie();function _a(e){F2.call(this,e)}aI.inherits(_a,F2);_a.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};_a.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};_a.prototype.readAndCheckSignature=function(e){var t=this.readData(4);return e===t};_a.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};D2.exports=_a});var zd=b((pD,$2)=>{"use strict";var U2=Fd(),sI=Ie();function Dd(e){U2.call(this,e)}sI.inherits(Dd,U2);Dd.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};$2.exports=Dd});var Y2=b((fD,H2)=>{"use strict";var W2=zd(),oI=Ie();function Ud(e){W2.call(this,e)}oI.inherits(Ud,W2);Ud.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};H2.exports=Ud});var $d=b((dD,K2)=>{"use strict";var gl=Ie(),G2=Pn(),cI=Fd(),lI=z2(),uI=Y2(),pI=zd();K2.exports=function(e){var t=gl.getTypeOf(e);return gl.checkSupport(t),t==="string"&&!G2.uint8array?new lI(e):t==="nodebuffer"?new uI(e):G2.uint8array?new pI(gl.transformTo("uint8array",e)):new cI(gl.transformTo("array",e))}});var X2=b((hD,J2)=>{"use strict";var Wd=$d(),pr=Ie(),fI=Kc(),V2=Gc(),vl=Wr(),bl=Nd(),dI=Pn(),hI=0,mI=3,gI=function(e){for(var t in bl)if(!!bl.hasOwnProperty(t)&&bl[t].magic===e)return bl[t];return null};function Z2(e,t){this.options=e,this.loadOptions=t}Z2.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(t=gI(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+pr.pretty(this.compressionMethod)+" unknown (inner file : "+pr.transformTo("string",this.fileName)+")");this.decompressed=new fI(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(this.externalFileAttributes&16),e===hI&&(this.dosPermissions=this.externalFileAttributes&63),e===mI&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=!0)},parseZIP64ExtraField:function(e){if(!!this.extraFields[1]){var t=Wd(this.extraFields[1].value);this.uncompressedSize===pr.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===pr.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===pr.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===pr.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t=e.index+this.extraFieldsLength,n,r,i;for(this.extraFields||(this.extraFields={});e.index+4<t;)n=e.readInt(2),r=e.readInt(2),i=e.readData(r),this.extraFields[n]={id:n,length:r,value:i};e.setIndex(t)},handleUTF8:function(){var e=dI.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=vl.utf8decode(this.fileName),this.fileCommentStr=vl.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var n=pr.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(r!==null)this.fileCommentStr=r;else{var i=pr.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=Wd(e.value);return t.readInt(1)!==1||V2(this.fileName)!==t.readInt(4)?null:vl.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=Wd(e.value);return t.readInt(1)!==1||V2(this.fileComment)!==t.readInt(4)?null:vl.utf8decode(t.readData(e.length-5))}return null}};J2.exports=Z2});var tS=b((gD,eS)=>{"use strict";var vI=$d(),Fn=Ie(),fn=Ld(),bI=X2(),mD=Wr(),xI=Pn();function Q2(e){this.files=[],this.loadOptions=e}Q2.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+Fn.pretty(t)+", expected "+Fn.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4),i=r===t;return this.reader.setIndex(n),i},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=xI.uint8array?"uint8array":"array",n=Fn.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e=this.zip64EndOfCentralSize-44,t=0,n,r,i;t<e;)n=this.reader.readInt(2),r=this.reader.readInt(4),i=this.reader.readData(r),this.zip64ExtensibleData[n]={id:n,length:r,value:i}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(fn.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(fn.CENTRAL_FILE_HEADER);)e=new bI({zip64:this.zip64},this.loadOptions),e.readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(fn.CENTRAL_DIRECTORY_END);if(e<0){var t=!this.isSignature(0,fn.LOCAL_FILE_HEADER);throw t?new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip: can't find end of central directory")}this.reader.setIndex(e);var n=e;if(this.checkSignature(fn.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===Fn.MAX_VALUE_16BITS||this.diskWithCentralDirStart===Fn.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===Fn.MAX_VALUE_16BITS||this.centralDirRecords===Fn.MAX_VALUE_16BITS||this.centralDirSize===Fn.MAX_VALUE_32BITS||this.centralDirOffset===Fn.MAX_VALUE_32BITS){if(this.zip64=!0,e=this.reader.lastIndexOfSignature(fn.ZIP64_CENTRAL_DIRECTORY_LOCATOR),e<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(fn.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,fn.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(fn.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(fn.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var i=n-r;if(i>0)this.isSignature(n,fn.CENTRAL_FILE_HEADER)||(this.reader.zero=i);else if(i<0)throw new Error("Corrupted zip: missing "+Math.abs(i)+" bytes.")},prepareReader:function(e){this.reader=vI(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};eS.exports=Q2});var aS=b((vD,iS)=>{"use strict";var nS=Ie(),xl=aa(),yI=Wr(),wI=tS(),_I=Yf(),rS=fs();function SI(e){return new xl.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new _I);r.on("error",function(i){n(i)}).on("end",function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}iS.exports=function(e,t){var n=this;return t=nS.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:yI.utf8decode}),rS.isNode&&rS.isStream(e)?xl.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):nS.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(r){var i=new wI(t);return i.load(r),i}).then(function(i){var a=[xl.Promise.resolve(i)],s=i.files;if(t.checkCRC32)for(var o=0;o<s.length;o++)a.push(SI(s[o]));return xl.Promise.all(a)}).then(function(i){for(var a=i.shift(),s=a.files,o=0;o<s.length;o++){var c=s[o];n.file(c.fileNameStr,c.decompressed,{binary:!0,optimizedBinaryString:!0,date:c.date,dir:c.dir,comment:c.fileCommentStr.length?c.fileCommentStr:null,unixPermissions:c.unixPermissions,dosPermissions:c.dosPermissions,createFolders:t.createFolders})}return a.zipComment.length&&(n.comment=a.zipComment),n})}});var oS=b((bD,sS)=>{"use strict";function tn(){if(!(this instanceof tn))return new tn;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new tn;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e}}tn.prototype=I2();tn.prototype.loadAsync=aS();tn.support=Pn();tn.defaults=$f();tn.version="3.7.1";tn.loadAsync=function(e,t){return new tn().loadAsync(e,t)};tn.external=aa();sS.exports=tn});var ri=b(jt=>{"use strict";var Dn={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},Bs={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},EI="tag:yaml.org,2002:",OI={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function cS(e){let t=[0],n=e.indexOf(`
|
|
43
36
|
`);for(;n!==-1;)n+=1,t.push(n),n=e.indexOf(`
|
|
44
|
-
`,n);return t}function
|
|
45
|
-
`;)--a;return
|
|
46
|
-
${c}${u}${o}`}var
|
|
47
|
-
`)return
|
|
48
|
-
`?
|
|
49
|
-
`:
|
|
50
|
-
`)return!1;if(
|
|
51
|
-
`||c===" "||c===" "}static endOfIdentifier(t,n){let
|
|
37
|
+
`,n);return t}function lS(e){let t,n;return typeof e=="string"?(t=cS(e),n=e):(Array.isArray(e)&&(e=e[0]),e&&e.context&&(e.lineStarts||(e.lineStarts=cS(e.context.src)),t=e.lineStarts,n=e.context.src)),{lineStarts:t,src:n}}function Hd(e,t){if(typeof e!="number"||e<0)return null;let{lineStarts:n,src:r}=lS(t);if(!n||!r||e>r.length)return null;for(let a=0;a<n.length;++a){let s=n[a];if(e<s)return{line:a,col:e-n[a-1]+1};if(e===s)return{line:a+1,col:1}}let i=n.length;return{line:i,col:e-n[i-1]+1}}function kI(e,t){let{lineStarts:n,src:r}=lS(t);if(!n||!(e>=1)||e>n.length)return null;let i=n[e-1],a=n[e];for(;a&&a>i&&r[a-1]===`
|
|
38
|
+
`;)--a;return r.slice(i,a)}function TI({start:e,end:t},n,r=80){let i=kI(e.line,n);if(!i)return null;let{col:a}=e;if(i.length>r)if(a<=r-10)i=i.substr(0,r-1)+"\u2026";else{let l=Math.round(r/2);i.length>a+l&&(i=i.substr(0,a+l-1)+"\u2026"),a-=i.length-r,i="\u2026"+i.substr(1-r)}let s=1,o="";t&&(t.line===e.line&&a+(t.col-e.col)<=r+1?s=t.col-e.col:(s=Math.min(i.length+1,r)-a,o="\u2026"));let c=a>1?" ".repeat(a-1):"",u="^".repeat(s);return`${i}
|
|
39
|
+
${c}${u}${o}`}var fr=class{static copy(t){return new fr(t.start,t.end)}constructor(t,n){this.start=t,this.end=n||t}isEmpty(){return typeof this.start!="number"||!this.end||this.end<=this.start}setOrigRange(t,n){let{start:r,end:i}=this;if(t.length===0||i<=t[0])return this.origStart=r,this.origEnd=i,n;let a=n;for(;a<t.length&&!(t[a]>r);)++a;this.origStart=r+a;let s=a;for(;a<t.length&&!(t[a]>=i);)++a;return this.origEnd=i+a,s}},nt=class{static addStringTerminator(t,n,r){if(r[r.length-1]===`
|
|
40
|
+
`)return r;let i=nt.endOfWhiteSpace(t,n);return i>=t.length||t[i]===`
|
|
41
|
+
`?r+`
|
|
42
|
+
`:r}static atDocumentBoundary(t,n,r){let i=t[n];if(!i)return!0;let a=t[n-1];if(a&&a!==`
|
|
43
|
+
`)return!1;if(r){if(i!==r)return!1}else if(i!==Dn.DIRECTIVES_END&&i!==Dn.DOCUMENT_END)return!1;let s=t[n+1],o=t[n+2];if(s!==i||o!==i)return!1;let c=t[n+3];return!c||c===`
|
|
44
|
+
`||c===" "||c===" "}static endOfIdentifier(t,n){let r=t[n],i=r==="<",a=i?[`
|
|
52
45
|
`," "," ",">"]:[`
|
|
53
|
-
`," "," ","[","]","{","}",","];for(;
|
|
54
|
-
`;)
|
|
55
|
-
`)return n;for(;
|
|
56
|
-
`;)
|
|
57
|
-
`)return a}return null}static atBlank(t,n,
|
|
58
|
-
`||
|
|
46
|
+
`," "," ","[","]","{","}",","];for(;r&&a.indexOf(r)===-1;)r=t[n+=1];return i&&r===">"&&(n+=1),n}static endOfIndent(t,n){let r=t[n];for(;r===" ";)r=t[n+=1];return n}static endOfLine(t,n){let r=t[n];for(;r&&r!==`
|
|
47
|
+
`;)r=t[n+=1];return n}static endOfWhiteSpace(t,n){let r=t[n];for(;r===" "||r===" ";)r=t[n+=1];return n}static startOfLine(t,n){let r=t[n-1];if(r===`
|
|
48
|
+
`)return n;for(;r&&r!==`
|
|
49
|
+
`;)r=t[n-=1];return n+1}static endOfBlockIndent(t,n,r){let i=nt.endOfIndent(t,r);if(i>r+n)return i;{let a=nt.endOfWhiteSpace(t,i),s=t[a];if(!s||s===`
|
|
50
|
+
`)return a}return null}static atBlank(t,n,r){let i=t[n];return i===`
|
|
51
|
+
`||i===" "||i===" "||r&&!i}static nextNodeIsIndented(t,n,r){return!t||n<0?!1:n>0?!0:r&&t==="-"}static normalizeOffset(t,n){let r=t[n];return r?r!==`
|
|
59
52
|
`&&t[n-1]===`
|
|
60
|
-
`?n-1:
|
|
53
|
+
`?n-1:nt.endOfWhiteSpace(t,n):n}static foldNewline(t,n,r){let i=0,a=!1,s="",o=t[n+1];for(;o===" "||o===" "||o===`
|
|
61
54
|
`;){switch(o){case`
|
|
62
|
-
`:
|
|
63
|
-
`;break;case" ":r
|
|
64
|
-
`):null}commentHasRequiredWhitespace(t){let{src:n}=this.context;if(this.header&&t===this.header.end||!this.valueRange)return!1;let{end:
|
|
65
|
-
`)return!0;return!1}parseComment(t){let{src:n}=this.context;if(n[t]===
|
|
55
|
+
`:i=0,n+=1,s+=`
|
|
56
|
+
`;break;case" ":i<=r&&(a=!0),n=nt.endOfWhiteSpace(t,n+2)-1;break;case" ":i+=1,n+=1;break}o=t[n+1]}return s||(s=" "),o&&i<=r&&(a=!0),{fold:s,offset:n,error:a}}constructor(t,n,r){Object.defineProperty(this,"context",{value:r||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=n||[],this.type=t,this.value=null}getPropValue(t,n,r){if(!this.context)return null;let{src:i}=this.context,a=this.props[t];return a&&i[a.start]===n?i.slice(a.start+(r?1:0),a.end):null}get anchor(){for(let t=0;t<this.props.length;++t){let n=this.getPropValue(t,Dn.ANCHOR,!0);if(n!=null)return n}return null}get comment(){let t=[];for(let n=0;n<this.props.length;++n){let r=this.getPropValue(n,Dn.COMMENT,!0);r!=null&&t.push(r)}return t.length>0?t.join(`
|
|
57
|
+
`):null}commentHasRequiredWhitespace(t){let{src:n}=this.context;if(this.header&&t===this.header.end||!this.valueRange)return!1;let{end:r}=this.valueRange;return t!==r||nt.atBlank(n,r-1)}get hasComment(){if(this.context){let{src:t}=this.context;for(let n=0;n<this.props.length;++n)if(t[this.props[n].start]===Dn.COMMENT)return!0}return!1}get hasProps(){if(this.context){let{src:t}=this.context;for(let n=0;n<this.props.length;++n)if(t[this.props[n].start]!==Dn.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return[Bs.FLOW_MAP,Bs.FLOW_SEQ,Bs.QUOTE_DOUBLE,Bs.QUOTE_SINGLE].indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return;let t=Hd(this.range.start,this.context.root);if(!t)return;let n=Hd(this.range.end,this.context.root);return{start:t,end:n}}get rawValue(){if(!this.valueRange||!this.context)return null;let{start:t,end:n}=this.valueRange;return this.context.src.slice(t,n)}get tag(){for(let t=0;t<this.props.length;++t){let n=this.getPropValue(t,Dn.TAG,!1);if(n!=null){if(n[1]==="<")return{verbatim:n.slice(2,-1)};{let[r,i,a]=n.match(/^(.*!)([^!]*)$/);return{handle:i,suffix:a}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;let{start:t,end:n}=this.valueRange,{src:r}=this.context;for(let i=t;i<n;++i)if(r[i]===`
|
|
58
|
+
`)return!0;return!1}parseComment(t){let{src:n}=this.context;if(n[t]===Dn.COMMENT){let r=nt.endOfLine(n,t+1),i=new fr(t,r);return this.props.push(i),r}return t}setOrigRanges(t,n){return this.range&&(n=this.range.setOrigRange(t,n)),this.valueRange&&this.valueRange.setOrigRange(t,n),this.props.forEach(r=>r.setOrigRange(t,n)),n}toString(){let{context:{src:t},range:n,value:r}=this;if(r!=null)return r;let i=t.slice(n.start,n.end);return nt.addStringTerminator(t,n.end,i)}},ni=class extends Error{constructor(t,n,r){if(!r||!(n instanceof nt))throw new Error(`Invalid arguments for new ${t}`);super(),this.name=t,this.message=r,this.source=n}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let t=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new fr(this.offset,this.offset+1);let n=t&&Hd(this.offset,t);if(n){let r={line:n.line,col:n.col+1};this.linePos={start:n,end:r}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:n,col:r}=this.linePos.start;this.message+=` at line ${n}, column ${r}`;let i=t&&TI(this.linePos,t);i&&(this.message+=`:
|
|
66
59
|
|
|
67
|
-
${
|
|
68
|
-
`)}delete this.source}},
|
|
69
|
-
`&&!(
|
|
70
|
-
`||s===" "||s===" "||
|
|
71
|
-
`||
|
|
72
|
-
`){let{fold:u,offset:l}=
|
|
73
|
-
`&&(a+=o>u?
|
|
74
|
-
`&&!
|
|
75
|
-
`?a=c:(s=
|
|
76
|
-
`&&(a=
|
|
77
|
-
`||u==="#";){if(u==="#"){let
|
|
78
|
-
`&&p.length===0&&(
|
|
79
|
-
`?!1:
|
|
60
|
+
${i}
|
|
61
|
+
`)}delete this.source}},Yd=class extends ni{constructor(t,n){super("YAMLReferenceError",t,n)}},Fs=class extends ni{constructor(t,n){super("YAMLSemanticError",t,n)}},Gd=class extends ni{constructor(t,n){super("YAMLSyntaxError",t,n)}},Kd=class extends ni{constructor(t,n){super("YAMLWarning",t,n)}};function CI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sa=class extends nt{static endOfLine(t,n,r){let i=t[n],a=n;for(;i&&i!==`
|
|
62
|
+
`&&!(r&&(i==="["||i==="]"||i==="{"||i==="}"||i===","));){let s=t[a+1];if(i===":"&&(!s||s===`
|
|
63
|
+
`||s===" "||s===" "||r&&s===",")||(i===" "||i===" ")&&s==="#")break;a+=1,i=s}return a}get strValue(){if(!this.valueRange||!this.context)return null;let{start:t,end:n}=this.valueRange,{src:r}=this.context,i=r[n-1];for(;t<n&&(i===`
|
|
64
|
+
`||i===" "||i===" ");)i=r[--n-1];let a="";for(let o=t;o<n;++o){let c=r[o];if(c===`
|
|
65
|
+
`){let{fold:u,offset:l}=nt.foldNewline(r,o,-1);a+=u,o=l}else if(c===" "||c===" "){let u=o,l=r[o+1];for(;o<n&&(l===" "||l===" ");)o+=1,l=r[o+1];l!==`
|
|
66
|
+
`&&(a+=o>u?r.slice(u,o+1):c)}else a+=c}let s=r[t];switch(s){case" ":{let o="Plain value cannot start with a tab character";return{errors:[new Fs(this,o)],str:a}}case"@":case"`":{let o=`Plain value cannot start with reserved character ${s}`;return{errors:[new Fs(this,o)],str:a}}default:return a}}parseBlockValue(t){let{indent:n,inFlow:r,src:i}=this.context,a=t,s=t;for(let o=i[a];o===`
|
|
67
|
+
`&&!nt.atDocumentBoundary(i,a+1);o=i[a]){let c=nt.endOfBlockIndent(i,n,a+1);if(c===null||i[c]==="#")break;i[c]===`
|
|
68
|
+
`?a=c:(s=Sa.endOfLine(i,c,r),a=s)}return this.valueRange.isEmpty()&&(this.valueRange.start=t),this.valueRange.end=s,s}parse(t,n){this.context=t;let{inFlow:r,src:i}=t,a=n,s=i[a];return s&&s!=="#"&&s!==`
|
|
69
|
+
`&&(a=Sa.endOfLine(i,n,r)),this.valueRange=new fr(n,a),a=nt.endOfWhiteSpace(i,a),a=this.parseComment(a),(!this.hasComment||this.valueRange.isEmpty())&&(a=this.parseBlockValue(a)),a}};jt.Char=Dn;jt.Node=nt;jt.PlainValue=Sa;jt.Range=fr;jt.Type=Bs;jt.YAMLError=ni;jt.YAMLReferenceError=Yd;jt.YAMLSemanticError=Fs;jt.YAMLSyntaxError=Gd;jt.YAMLWarning=Kd;jt._defineProperty=CI;jt.defaultTagPrefix=EI;jt.defaultTags=OI});var pS=b(uS=>{"use strict";var w=ri(),si=class extends w.Node{constructor(){super(w.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(t,n){return this.context=t,this.range=new w.Range(n,n+1),n+1}},Ds=class extends w.Node{constructor(t,n){super(t,n),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(t,n){this.context=t;let{parseNode:r,src:i}=t,{atLineStart:a,lineStart:s}=t;!a&&this.type===w.Type.SEQ_ITEM&&(this.error=new w.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let o=a?n-s:t.indent,c=w.Node.endOfWhiteSpace(i,n+1),u=i[c],l=u==="#",p=[],f=null;for(;u===`
|
|
70
|
+
`||u==="#";){if(u==="#"){let v=w.Node.endOfLine(i,c+1);p.push(new w.Range(c,v)),c=v}else{a=!0,s=c+1;let v=w.Node.endOfWhiteSpace(i,s);i[v]===`
|
|
71
|
+
`&&p.length===0&&(f=new si,s=f.parse({src:i},s)),c=w.Node.endOfIndent(i,s)}u=i[c]}if(w.Node.nextNodeIsIndented(u,c-(s+o),this.type!==w.Type.SEQ_ITEM)?this.node=r({atLineStart:a,inCollection:!1,indent:o,lineStart:s,parent:this},c):u&&s>n+1&&(c=s-1),this.node){if(f){let v=t.parent.items||t.parent.contents;v&&v.push(f)}p.length&&Array.prototype.push.apply(this.props,p),c=this.node.range.end}else if(l){let v=p[0];this.props.push(v),c=v.end}else c=w.Node.endOfLine(i,n+1);let m=this.node?this.node.valueRange.end:c;return this.valueRange=new w.Range(n,m),c}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.node?this.node.setOrigRanges(t,n):n}toString(){let{context:{src:t},node:n,range:r,value:i}=this;if(i!=null)return i;let a=n?t.slice(r.start,n.range.start)+String(n):t.slice(r.start,r.end);return w.Node.addStringTerminator(t,r.end,a)}},ii=class extends w.Node{constructor(){super(w.Type.COMMENT)}parse(t,n){this.context=t;let r=this.parseComment(n);return this.range=new w.Range(n,r),r}};function Vd(e){let t=e;for(;t instanceof Ds;)t=t.node;if(!(t instanceof oi))return null;let n=t.items.length,r=-1;for(let s=n-1;s>=0;--s){let o=t.items[s];if(o.type===w.Type.COMMENT){let{indent:c,lineStart:u}=o.context;if(c>0&&o.range.start>=u+c)break;r=s}else if(o.type===w.Type.BLANK_LINE)r=s;else break}if(r===-1)return null;let i=t.items.splice(r,n-r),a=i[0].range.start;for(;t.range.end=a,t.valueRange&&t.valueRange.end>a&&(t.valueRange.end=a),t!==e;)t=t.context.parent;return i}var oi=class extends w.Node{static nextContentHasIndent(t,n,r){let i=w.Node.endOfLine(t,n)+1;n=w.Node.endOfWhiteSpace(t,i);let a=t[n];return a?n>=i+r?!0:a!=="#"&&a!==`
|
|
72
|
+
`?!1:oi.nextContentHasIndent(t,n,r):!1}constructor(t){super(t.type===w.Type.SEQ_ITEM?w.Type.SEQ:w.Type.MAP);for(let r=t.props.length-1;r>=0;--r)if(t.props[r].start<t.context.lineStart){this.props=t.props.slice(0,r+1),t.props=t.props.slice(r+1);let i=t.props[0]||t.valueRange;t.range.start=i.start;break}this.items=[t];let n=Vd(t);n&&Array.prototype.push.apply(this.items,n)}get includesTrailingLines(){return this.items.length>0}parse(t,n){this.context=t;let{parseNode:r,src:i}=t,a=w.Node.startOfLine(i,n),s=this.items[0];s.context.parent=this,this.valueRange=w.Range.copy(s.valueRange);let o=s.range.start-s.context.lineStart,c=n;c=w.Node.normalizeOffset(i,c);let u=i[c],l=w.Node.endOfWhiteSpace(i,a)===c,p=!1;for(;u;){for(;u===`
|
|
80
73
|
`||u==="#";){if(l&&u===`
|
|
81
|
-
`&&!p){let
|
|
82
|
-
`||
|
|
83
|
-
`||
|
|
84
|
-
`&&(a=
|
|
85
|
-
`&&
|
|
86
|
-
`&&
|
|
87
|
-
`?
|
|
88
|
-
`:if(
|
|
89
|
-
`:if(s){let o=new
|
|
90
|
-
`:a+=1;break;case void 0:break;default:this.error=new
|
|
91
|
-
`),
|
|
92
|
-
`&&(
|
|
93
|
-
`),
|
|
94
|
-
`||s===" "||s===" ";){if(n-=1,n<=t){if(this.chomping===
|
|
95
|
-
`&&(a=n),s=
|
|
96
|
-
`)
|
|
74
|
+
`&&!p){let v=new si;if(c=v.parse({src:i},c),this.valueRange.end=c,c>=i.length){u=null;break}this.items.push(v),c-=1}else if(u==="#"){if(c<a+o&&!oi.nextContentHasIndent(i,c,o))return c;let v=new ii;if(c=v.parse({indent:o,lineStart:a,src:i},c),this.items.push(v),this.valueRange.end=c,c>=i.length){u=null;break}}if(a=c+1,c=w.Node.endOfIndent(i,a),w.Node.atBlank(i,c)){let v=w.Node.endOfWhiteSpace(i,c),g=i[v];(!g||g===`
|
|
75
|
+
`||g==="#")&&(c=v)}u=i[c],l=!0}if(!u)break;if(c!==a+o&&(l||u!==":")){if(c<a+o){a>n&&(c=a);break}else if(!this.error){let v="All collection items must start at the same column";this.error=new w.YAMLSyntaxError(this,v)}}if(s.type===w.Type.SEQ_ITEM){if(u!=="-"){a>n&&(c=a);break}}else if(u==="-"&&!this.error){let v=i[c+1];if(!v||v===`
|
|
76
|
+
`||v===" "||v===" "){let g="A collection cannot be both a mapping and a sequence";this.error=new w.YAMLSyntaxError(this,g)}}let f=r({atLineStart:l,inCollection:!0,indent:o,lineStart:a,parent:this},c);if(!f)return c;if(this.items.push(f),this.valueRange.end=f.valueRange.end,c=w.Node.normalizeOffset(i,f.range.end),u=i[c],l=!1,p=f.includesTrailingLines,u){let v=c-1,g=i[v];for(;g===" "||g===" ";)g=i[--v];g===`
|
|
77
|
+
`&&(a=v+1,l=!0)}let m=Vd(f);m&&Array.prototype.push.apply(this.items,m)}return c}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.items.forEach(r=>{n=r.setOrigRanges(t,n)}),n}toString(){let{context:{src:t},items:n,range:r,value:i}=this;if(i!=null)return i;let a=t.slice(r.start,n[0].range.start)+String(n[0]);for(let s=1;s<n.length;++s){let o=n[s],{atLineStart:c,indent:u}=o.context;if(c)for(let l=0;l<u;++l)a+=" ";a+=String(o)}return w.Node.addStringTerminator(t,r.end,a)}},Zd=class extends w.Node{constructor(){super(w.Type.DIRECTIVE),this.name=null}get parameters(){let t=this.rawValue;return t?t.trim().split(/[ \t]+/):[]}parseName(t){let{src:n}=this.context,r=t,i=n[r];for(;i&&i!==`
|
|
78
|
+
`&&i!==" "&&i!==" ";)i=n[r+=1];return this.name=n.slice(t,r),r}parseParameters(t){let{src:n}=this.context,r=t,i=n[r];for(;i&&i!==`
|
|
79
|
+
`&&i!=="#";)i=n[r+=1];return this.valueRange=new w.Range(t,r),r}parse(t,n){this.context=t;let r=this.parseName(n+1);return r=this.parseParameters(r),r=this.parseComment(r),this.range=new w.Range(n,r),r}},Ea=class extends w.Node{static startCommentOrEndBlankLine(t,n){let r=w.Node.endOfWhiteSpace(t,n),i=t[r];return i==="#"||i===`
|
|
80
|
+
`?r:n}constructor(){super(w.Type.DOCUMENT),this.directives=null,this.contents=null,this.directivesEndMarker=null,this.documentEndMarker=null}parseDirectives(t){let{src:n}=this.context;this.directives=[];let r=!0,i=!1,a=t;for(;!w.Node.atDocumentBoundary(n,a,w.Char.DIRECTIVES_END);)switch(a=Ea.startCommentOrEndBlankLine(n,a),n[a]){case`
|
|
81
|
+
`:if(r){let s=new si;a=s.parse({src:n},a),a<n.length&&this.directives.push(s)}else a+=1,r=!0;break;case"#":{let s=new ii;a=s.parse({src:n},a),this.directives.push(s),r=!1}break;case"%":{let s=new Zd;a=s.parse({parent:this,src:n},a),this.directives.push(s),i=!0,r=!1}break;default:return i?this.error=new w.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),a}return n[a]?(this.directivesEndMarker=new w.Range(a,a+3),a+3):(i?this.error=new w.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),a)}parseContents(t){let{parseNode:n,src:r}=this.context;this.contents||(this.contents=[]);let i=t;for(;r[i-1]==="-";)i-=1;let a=w.Node.endOfWhiteSpace(r,t),s=i===t;for(this.valueRange=new w.Range(a);!w.Node.atDocumentBoundary(r,a,w.Char.DOCUMENT_END);){switch(r[a]){case`
|
|
82
|
+
`:if(s){let o=new si;a=o.parse({src:r},a),a<r.length&&this.contents.push(o)}else a+=1,s=!0;i=a;break;case"#":{let o=new ii;a=o.parse({src:r},a),this.contents.push(o),s=!1}break;default:{let o=w.Node.endOfIndent(r,a),u=n({atLineStart:s,indent:-1,inFlow:!1,inCollection:!1,lineStart:i,parent:this},o);if(!u)return this.valueRange.end=o;this.contents.push(u),a=u.range.end,s=!1;let l=Vd(u);l&&Array.prototype.push.apply(this.contents,l)}}a=Ea.startCommentOrEndBlankLine(r,a)}if(this.valueRange.end=a,r[a]&&(this.documentEndMarker=new w.Range(a,a+3),a+=3,r[a])){if(a=w.Node.endOfWhiteSpace(r,a),r[a]==="#"){let o=new ii;a=o.parse({src:r},a),this.contents.push(o)}switch(r[a]){case`
|
|
83
|
+
`:a+=1;break;case void 0:break;default:this.error=new w.YAMLSyntaxError(this,"Document end marker line cannot have a non-comment suffix")}}return a}parse(t,n){t.root=this,this.context=t;let{src:r}=t,i=r.charCodeAt(n)===65279?n+1:n;return i=this.parseDirectives(i),i=this.parseContents(i),i}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.directives.forEach(r=>{n=r.setOrigRanges(t,n)}),this.directivesEndMarker&&(n=this.directivesEndMarker.setOrigRange(t,n)),this.contents.forEach(r=>{n=r.setOrigRanges(t,n)}),this.documentEndMarker&&(n=this.documentEndMarker.setOrigRange(t,n)),n}toString(){let{contents:t,directives:n,value:r}=this;if(r!=null)return r;let i=n.join("");return t.length>0&&((n.length>0||t[0].type===w.Type.COMMENT)&&(i+=`---
|
|
84
|
+
`),i+=t.join("")),i[i.length-1]!==`
|
|
85
|
+
`&&(i+=`
|
|
86
|
+
`),i}},Jd=class extends w.Node{parse(t,n){this.context=t;let{src:r}=t,i=w.Node.endOfIdentifier(r,n+1);return this.valueRange=new w.Range(n+1,i),i=w.Node.endOfWhiteSpace(r,i),i=this.parseComment(i),i}},dr={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},Xd=class extends w.Node{constructor(t,n){super(t,n),this.blockIndent=null,this.chomping=dr.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===dr.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:t,end:n}=this.valueRange,{indent:r,src:i}=this.context;if(this.valueRange.isEmpty())return"";let a=null,s=i[n-1];for(;s===`
|
|
87
|
+
`||s===" "||s===" ";){if(n-=1,n<=t){if(this.chomping===dr.KEEP)break;return""}s===`
|
|
88
|
+
`&&(a=n),s=i[n-1]}let o=n+1;a&&(this.chomping===dr.KEEP?(o=a,n=this.valueRange.end):n=a);let c=r+this.blockIndent,u=this.type===w.Type.BLOCK_FOLDED,l=!0,p="",f="",m=!1;for(let v=t;v<n;++v){for(let d=0;d<c&&i[v]===" ";++d)v+=1;let g=i[v];if(g===`
|
|
89
|
+
`)f===`
|
|
97
90
|
`?p+=`
|
|
98
|
-
`:
|
|
99
|
-
`;else{let
|
|
100
|
-
`:!
|
|
101
|
-
`&&(
|
|
91
|
+
`:f=`
|
|
92
|
+
`;else{let d=w.Node.endOfLine(i,v),x=i.slice(v,d);v=d,u&&(g===" "||g===" ")&&v<o?(f===" "?f=`
|
|
93
|
+
`:!m&&!l&&f===`
|
|
94
|
+
`&&(f=`
|
|
102
95
|
|
|
103
|
-
`),p+=
|
|
104
|
-
`,
|
|
105
|
-
`}parseBlockHeader(t){let{src:n}=this.context,
|
|
106
|
-
`&&(a+=1,!
|
|
107
|
-
`&&p<this.blockIndent){if(
|
|
108
|
-
`){if(p<o){let
|
|
109
|
-
`?a=u:a=s=
|
|
110
|
-
`:{s=c+1;let u=
|
|
111
|
-
`){let l=new
|
|
112
|
-
`||u===" "||u===" "||u===","||o===":"&&this.prevNodeIsJsonLike()){this.items.push({char:o,offset:c}),c+=1;break}}default:{let u=
|
|
96
|
+
`),p+=f+x,f=d<n&&i[d]||"",m=!0):(p+=f+x,f=u&&v<o?" ":`
|
|
97
|
+
`,m=!1),l&&x!==""&&(l=!1)}}return this.chomping===dr.STRIP?p:p+`
|
|
98
|
+
`}parseBlockHeader(t){let{src:n}=this.context,r=t+1,i="";for(;;){let a=n[r];switch(a){case"-":this.chomping=dr.STRIP;break;case"+":this.chomping=dr.KEEP;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":i+=a;break;default:return this.blockIndent=Number(i)||null,this.header=new w.Range(t,r),r}r+=1}}parseBlockValue(t){let{indent:n,src:r}=this.context,i=!!this.blockIndent,a=t,s=t,o=1;for(let c=r[a];c===`
|
|
99
|
+
`&&(a+=1,!w.Node.atDocumentBoundary(r,a));c=r[a]){let u=w.Node.endOfBlockIndent(r,n,a);if(u===null)break;let l=r[u],p=u-(a+n);if(this.blockIndent){if(l&&l!==`
|
|
100
|
+
`&&p<this.blockIndent){if(r[u]==="#")break;if(!this.error){let m=`Block scalars must not be less indented than their ${i?"explicit indentation indicator":"first line"}`;this.error=new w.YAMLSemanticError(this,m)}}}else if(r[u]!==`
|
|
101
|
+
`){if(p<o){let f="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";this.error=new w.YAMLSemanticError(this,f)}this.blockIndent=p}else p>o&&(o=p);r[u]===`
|
|
102
|
+
`?a=u:a=s=w.Node.endOfLine(r,u)}return this.chomping!==dr.KEEP&&(a=r[s]?s+1:s),this.valueRange=new w.Range(t+1,a),a}parse(t,n){this.context=t;let{src:r}=t,i=this.parseBlockHeader(n);return i=w.Node.endOfWhiteSpace(r,i),i=this.parseComment(i),i=this.parseBlockValue(i),i}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.header?this.header.setOrigRange(t,n):n}},Qd=class extends w.Node{constructor(t,n){super(t,n),this.items=null}prevNodeIsJsonLike(t=this.items.length){let n=this.items[t-1];return!!n&&(n.jsonLike||n.type===w.Type.COMMENT&&this.prevNodeIsJsonLike(t-1))}parse(t,n){this.context=t;let{parseNode:r,src:i}=t,{indent:a,lineStart:s}=t,o=i[n];this.items=[{char:o,offset:n}];let c=w.Node.endOfWhiteSpace(i,n+1);for(o=i[c];o&&o!=="]"&&o!=="}";){switch(o){case`
|
|
103
|
+
`:{s=c+1;let u=w.Node.endOfWhiteSpace(i,s);if(i[u]===`
|
|
104
|
+
`){let l=new si;s=l.parse({src:i},s),this.items.push(l)}if(c=w.Node.endOfIndent(i,s),c<=s+a&&(o=i[c],c<s+a||o!=="]"&&o!=="}")){let l="Insufficient indentation in flow collection";this.error=new w.YAMLSemanticError(this,l)}}break;case",":this.items.push({char:o,offset:c}),c+=1;break;case"#":{let u=new ii;c=u.parse({src:i},c),this.items.push(u)}break;case"?":case":":{let u=i[c+1];if(u===`
|
|
105
|
+
`||u===" "||u===" "||u===","||o===":"&&this.prevNodeIsJsonLike()){this.items.push({char:o,offset:c}),c+=1;break}}default:{let u=r({atLineStart:!1,inCollection:!1,inFlow:!0,indent:-1,lineStart:s,parent:this},c);if(!u)return this.valueRange=new w.Range(n,c),c;this.items.push(u),c=w.Node.normalizeOffset(i,u.range.end)}}c=w.Node.endOfWhiteSpace(i,c),o=i[c]}return this.valueRange=new w.Range(n,c+1),o&&(this.items.push({char:o,offset:c}),c=w.Node.endOfWhiteSpace(i,c+1),c=this.parseComment(c)),c}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.items.forEach(r=>{if(r instanceof w.Node)n=r.setOrigRanges(t,n);else if(t.length===0)r.origOffset=r.offset;else{let i=n;for(;i<t.length&&!(t[i]>r.offset);)++i;r.origOffset=r.offset+i,n=i}}),n}toString(){let{context:{src:t},items:n,range:r,value:i}=this;if(i!=null)return i;let a=n.filter(c=>c instanceof w.Node),s="",o=r.start;return a.forEach(c=>{let u=t.slice(o,c.range.start);o=c.range.end,s+=u+String(c),s[s.length-1]===`
|
|
113
106
|
`&&t[o-1]!==`
|
|
114
107
|
`&&t[o]===`
|
|
115
|
-
`&&(o+=1)}),s+=t.slice(o,
|
|
116
|
-
`){
|
|
108
|
+
`&&(o+=1)}),s+=t.slice(o,r.end),w.Node.addStringTerminator(t,r.end,s)}},zs=class extends w.Node{static endOfQuote(t,n){let r=t[n];for(;r&&r!=='"';)n+=r==="\\"?2:1,r=t[n];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let t=[],{start:n,end:r}=this.valueRange,{indent:i,src:a}=this.context;a[r-1]!=='"'&&t.push(new w.YAMLSyntaxError(this,'Missing closing "quote'));let s="";for(let o=n+1;o<r-1;++o){let c=a[o];if(c===`
|
|
109
|
+
`){w.Node.atDocumentBoundary(a,o+1)&&t.push(new w.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:u,offset:l,error:p}=w.Node.foldNewline(a,o,i);s+=u,o=l,p&&t.push(new w.YAMLSemanticError(this,"Multi-line double-quoted string needs to be sufficiently indented"))}else if(c==="\\")switch(o+=1,a[o]){case"0":s+="\0";break;case"a":s+="\x07";break;case"b":s+="\b";break;case"e":s+="\x1B";break;case"f":s+="\f";break;case"n":s+=`
|
|
117
110
|
`;break;case"r":s+="\r";break;case"t":s+=" ";break;case"v":s+="\v";break;case"N":s+="\x85";break;case"_":s+="\xA0";break;case"L":s+="\u2028";break;case"P":s+="\u2029";break;case" ":s+=" ";break;case'"':s+='"';break;case"/":s+="/";break;case"\\":s+="\\";break;case" ":s+=" ";break;case"x":s+=this.parseCharCode(o+1,2,t),o+=2;break;case"u":s+=this.parseCharCode(o+1,4,t),o+=4;break;case"U":s+=this.parseCharCode(o+1,8,t),o+=8;break;case`
|
|
118
|
-
`:for(;a[o+1]===" "||a[o+1]===" ";)o+=1;break;default:t.push(new
|
|
119
|
-
`&&(s+=o>u?a.slice(u,o+1):c)}else s+=c}return t.length>0?{errors:t,str:s}:s}parseCharCode(t,n,
|
|
120
|
-
`){
|
|
121
|
-
`&&(s+=o>u?a.slice(u,o+1):c)}else s+=c}return t.length>0?{errors:t,str:s}:s}parse(t,n){this.context=t;let{src:
|
|
122
|
-
`||
|
|
123
|
-
`?!1:(a=
|
|
111
|
+
`:for(;a[o+1]===" "||a[o+1]===" ";)o+=1;break;default:t.push(new w.YAMLSyntaxError(this,`Invalid escape sequence ${a.substr(o-1,2)}`)),s+="\\"+a[o]}else if(c===" "||c===" "){let u=o,l=a[o+1];for(;l===" "||l===" ";)o+=1,l=a[o+1];l!==`
|
|
112
|
+
`&&(s+=o>u?a.slice(u,o+1):c)}else s+=c}return t.length>0?{errors:t,str:s}:s}parseCharCode(t,n,r){let{src:i}=this.context,a=i.substr(t,n),o=a.length===n&&/^[0-9a-fA-F]+$/.test(a)?parseInt(a,16):NaN;return isNaN(o)?(r.push(new w.YAMLSyntaxError(this,`Invalid escape sequence ${i.substr(t-2,n+2)}`)),i.substr(t-2,n+2)):String.fromCodePoint(o)}parse(t,n){this.context=t;let{src:r}=t,i=zs.endOfQuote(r,n+1);return this.valueRange=new w.Range(n,i),i=w.Node.endOfWhiteSpace(r,i),i=this.parseComment(i),i}},Us=class extends w.Node{static endOfQuote(t,n){let r=t[n];for(;r;)if(r==="'"){if(t[n+1]!=="'")break;r=t[n+=2]}else r=t[n+=1];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let t=[],{start:n,end:r}=this.valueRange,{indent:i,src:a}=this.context;a[r-1]!=="'"&&t.push(new w.YAMLSyntaxError(this,"Missing closing 'quote"));let s="";for(let o=n+1;o<r-1;++o){let c=a[o];if(c===`
|
|
113
|
+
`){w.Node.atDocumentBoundary(a,o+1)&&t.push(new w.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:u,offset:l,error:p}=w.Node.foldNewline(a,o,i);s+=u,o=l,p&&t.push(new w.YAMLSemanticError(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if(c==="'")s+=c,o+=1,a[o]!=="'"&&t.push(new w.YAMLSyntaxError(this,"Unescaped single quote? This should not happen."));else if(c===" "||c===" "){let u=o,l=a[o+1];for(;l===" "||l===" ";)o+=1,l=a[o+1];l!==`
|
|
114
|
+
`&&(s+=o>u?a.slice(u,o+1):c)}else s+=c}return t.length>0?{errors:t,str:s}:s}parse(t,n){this.context=t;let{src:r}=t,i=Us.endOfQuote(r,n+1);return this.valueRange=new w.Range(n,i),i=w.Node.endOfWhiteSpace(r,i),i=this.parseComment(i),i}};function AI(e,t){switch(e){case w.Type.ALIAS:return new Jd(e,t);case w.Type.BLOCK_FOLDED:case w.Type.BLOCK_LITERAL:return new Xd(e,t);case w.Type.FLOW_MAP:case w.Type.FLOW_SEQ:return new Qd(e,t);case w.Type.MAP_KEY:case w.Type.MAP_VALUE:case w.Type.SEQ_ITEM:return new Ds(e,t);case w.Type.COMMENT:case w.Type.PLAIN:return new w.PlainValue(e,t);case w.Type.QUOTE_DOUBLE:return new zs(e,t);case w.Type.QUOTE_SINGLE:return new Us(e,t);default:return null}}var ai=class{static parseType(t,n,r){switch(t[n]){case"*":return w.Type.ALIAS;case">":return w.Type.BLOCK_FOLDED;case"|":return w.Type.BLOCK_LITERAL;case"{":return w.Type.FLOW_MAP;case"[":return w.Type.FLOW_SEQ;case"?":return!r&&w.Node.atBlank(t,n+1,!0)?w.Type.MAP_KEY:w.Type.PLAIN;case":":return!r&&w.Node.atBlank(t,n+1,!0)?w.Type.MAP_VALUE:w.Type.PLAIN;case"-":return!r&&w.Node.atBlank(t,n+1,!0)?w.Type.SEQ_ITEM:w.Type.PLAIN;case'"':return w.Type.QUOTE_DOUBLE;case"'":return w.Type.QUOTE_SINGLE;default:return w.Type.PLAIN}}constructor(t={},{atLineStart:n,inCollection:r,inFlow:i,indent:a,lineStart:s,parent:o}={}){w._defineProperty(this,"parseNode",(c,u)=>{if(w.Node.atDocumentBoundary(this.src,u))return null;let l=new ai(this,c),{props:p,type:f,valueStart:m}=l.parseProps(u),v=AI(f,p),g=v.parse(l,m);if(v.range=new w.Range(u,g),g<=u&&(v.error=new Error("Node#parse consumed no characters"),v.error.parseEnd=g,v.error.source=v,v.range.end=u+1),l.nodeStartsCollection(v)){!v.error&&!l.atLineStart&&l.parent.type===w.Type.DOCUMENT&&(v.error=new w.YAMLSyntaxError(v,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let d=new oi(v);return g=d.parse(new ai(l),g),d.range=new w.Range(u,g),d}return v}),this.atLineStart=n??(t.atLineStart||!1),this.inCollection=r??(t.inCollection||!1),this.inFlow=i??(t.inFlow||!1),this.indent=a??t.indent,this.lineStart=s??t.lineStart,this.parent=o??(t.parent||{}),this.root=t.root,this.src=t.src}nodeStartsCollection(t){let{inCollection:n,inFlow:r,src:i}=this;if(n||r)return!1;if(t instanceof Ds)return!0;let a=t.range.end;return i[a]===`
|
|
115
|
+
`||i[a-1]===`
|
|
116
|
+
`?!1:(a=w.Node.endOfWhiteSpace(i,a),i[a]===":")}parseProps(t){let{inFlow:n,parent:r,src:i}=this,a=[],s=!1;t=this.atLineStart?w.Node.endOfIndent(i,t):w.Node.endOfWhiteSpace(i,t);let o=i[t];for(;o===w.Char.ANCHOR||o===w.Char.COMMENT||o===w.Char.TAG||o===`
|
|
124
117
|
`;){if(o===`
|
|
125
|
-
`){let u=t,l;do l=u+1,u=
|
|
126
|
-
`);let p=u-(l+this.indent),
|
|
127
|
-
`)));let n=[],
|
|
128
|
-
`),n}
|
|
129
|
-
${t}${e}`:e}function
|
|
118
|
+
`){let u=t,l;do l=u+1,u=w.Node.endOfIndent(i,l);while(i[u]===`
|
|
119
|
+
`);let p=u-(l+this.indent),f=r.type===w.Type.SEQ_ITEM&&r.context.atLineStart;if(i[u]!=="#"&&!w.Node.nextNodeIsIndented(i[u],p,!f))break;this.atLineStart=!0,this.lineStart=l,s=!1,t=u}else if(o===w.Char.COMMENT){let u=w.Node.endOfLine(i,t+1);a.push(new w.Range(t,u)),t=u}else{let u=w.Node.endOfIdentifier(i,t+1);o===w.Char.TAG&&i[u]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(i.slice(t+1,u+13))&&(u=w.Node.endOfIdentifier(i,u+5)),a.push(new w.Range(t,u)),s=!0,t=w.Node.endOfWhiteSpace(i,u)}o=i[t]}s&&o===":"&&w.Node.atBlank(i,t+1,!0)&&(t-=1);let c=ai.parseType(i,t,n);return{props:a,type:c,valueStart:t}}};function jI(e){let t=[];e.indexOf("\r")!==-1&&(e=e.replace(/\r\n?/g,(i,a)=>(i.length>1&&t.push(a),`
|
|
120
|
+
`)));let n=[],r=0;do{let i=new Ea,a=new ai({src:e});r=i.parse(a,r),n.push(i)}while(r<e.length);return n.setOrigRanges=()=>{if(t.length===0)return!1;for(let a=1;a<t.length;++a)t[a]-=a;let i=0;for(let a=0;a<n.length;++a)i=n[a].setOrigRanges(t,i);return t.splice(0,t.length),!0},n.toString=()=>n.join(`...
|
|
121
|
+
`),n}uS.parse=jI});var Hs=b(Me=>{"use strict";var A=ri();function RI(e,t,n){return n?`#${n.replace(/[\s\S]^/gm,`$&${t}#`)}
|
|
122
|
+
${t}${e}`:e}function Oa(e,t,n){return n?n.indexOf(`
|
|
130
123
|
`)===-1?`${e} #${n}`:`${e}
|
|
131
|
-
`+n.replace(/^/gm,`${t||""}#`):e}var
|
|
132
|
-
`)&&(
|
|
133
|
-
${u}${c}${
|
|
134
|
-
`;
|
|
135
|
-
${c}${
|
|
136
|
-
${c}${
|
|
137
|
-
`}return this.comment?(
|
|
138
|
-
`+this.comment.replace(/^/gm,`${c}#`),s&&s()):
|
|
139
|
-
${
|
|
140
|
-
`),c.commentBefore&&(
|
|
141
|
-
${c.commentBefore.replace(/^/gm,`${t.indent}#`)}`),
|
|
142
|
-
${t.indent}`:!l&&c instanceof Ge?(!(
|
|
143
|
-
`))&&(
|
|
144
|
-
${t.indent}`):
|
|
145
|
-
`&&(
|
|
146
|
-
`);n=e[t+1]}return t};function
|
|
147
|
-
`)n===
|
|
148
|
-
`&&
|
|
149
|
-
`&&
|
|
150
|
-
${t}${e.slice(0,
|
|
151
|
-
${t}${e.slice(
|
|
152
|
-
`){if(a-s>
|
|
124
|
+
`+n.replace(/^/gm,`${t||""}#`):e}var $t=class{};function hr(e,t,n){if(Array.isArray(e))return e.map((r,i)=>hr(r,String(i),n));if(e&&typeof e.toJSON=="function"){let r=n&&n.anchors&&n.anchors.get(e);r&&(n.onCreate=a=>{r.res=a,delete n.onCreate});let i=e.toJSON(t,n);return r&&n.onCreate&&n.onCreate(i),i}return(!n||!n.keep)&&typeof e=="bigint"?Number(e):e}var ht=class extends $t{constructor(t){super(),this.value=t}toJSON(t,n){return n&&n.keep?this.value:hr(this.value,t,n)}toString(){return String(this.value)}};function fS(e,t,n){let r=n;for(let i=t.length-1;i>=0;--i){let a=t[i];if(Number.isInteger(a)&&a>=0){let s=[];s[a]=r,r=s}else{let s={};Object.defineProperty(s,a,{value:r,writable:!0,enumerable:!0,configurable:!0}),r=s}}return e.createNode(r,!1)}var mS=e=>e==null||typeof e=="object"&&e[Symbol.iterator]().next().done,Ge=class extends $t{constructor(t){super(),A._defineProperty(this,"items",[]),this.schema=t}addIn(t,n){if(mS(t))this.add(n);else{let[r,...i]=t,a=this.get(r,!0);if(a instanceof Ge)a.addIn(i,n);else if(a===void 0&&this.schema)this.set(r,fS(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}deleteIn([t,...n]){if(n.length===0)return this.delete(t);let r=this.get(t,!0);if(r instanceof Ge)return r.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn([t,...n],r){let i=this.get(t,!0);return n.length===0?!r&&i instanceof ht?i.value:i:i instanceof Ge?i.getIn(n,r):void 0}hasAllNullValues(){return this.items.every(t=>{if(!t||t.type!=="PAIR")return!1;let n=t.value;return n==null||n instanceof ht&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn([t,...n]){if(n.length===0)return this.has(t);let r=this.get(t,!0);return r instanceof Ge?r.hasIn(n):!1}setIn([t,...n],r){if(n.length===0)this.set(t,r);else{let i=this.get(t,!0);if(i instanceof Ge)i.setIn(n,r);else if(i===void 0&&this.schema)this.set(t,fS(this.schema,n,r));else throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}}toJSON(){return null}toString(t,{blockItem:n,flowChars:r,isMap:i,itemIndent:a},s,o){let{indent:c,indentStep:u,stringify:l}=t,p=this.type===A.Type.FLOW_MAP||this.type===A.Type.FLOW_SEQ||t.inFlow;p&&(a+=u);let f=i&&this.hasAllNullValues();t=Object.assign({},t,{allNullValues:f,indent:a,inFlow:p,type:null});let m=!1,v=!1,g=this.items.reduce((x,_,T)=>{let k;_&&(!m&&_.spaceBefore&&x.push({type:"comment",str:""}),_.commentBefore&&_.commentBefore.match(/^.*$/gm).forEach(D=>{x.push({type:"comment",str:`#${D}`})}),_.comment&&(k=_.comment),p&&(!m&&_.spaceBefore||_.commentBefore||_.comment||_.key&&(_.key.commentBefore||_.key.comment)||_.value&&(_.value.commentBefore||_.value.comment))&&(v=!0)),m=!1;let O=l(_,t,()=>k=null,()=>m=!0);return p&&!v&&O.includes(`
|
|
125
|
+
`)&&(v=!0),p&&T<this.items.length-1&&(O+=","),O=Oa(O,a,k),m&&(k||p)&&(m=!1),x.push({type:"item",str:O}),x},[]),d;if(g.length===0)d=r.start+r.end;else if(p){let{start:x,end:_}=r,T=g.map(k=>k.str);if(v||T.reduce((k,O)=>k+O.length+2,2)>Ge.maxFlowStringSingleLineLength){d=x;for(let k of T)d+=k?`
|
|
126
|
+
${u}${c}${k}`:`
|
|
127
|
+
`;d+=`
|
|
128
|
+
${c}${_}`}else d=`${x} ${T.join(" ")} ${_}`}else{let x=g.map(n);d=x.shift();for(let _ of x)d+=_?`
|
|
129
|
+
${c}${_}`:`
|
|
130
|
+
`}return this.comment?(d+=`
|
|
131
|
+
`+this.comment.replace(/^/gm,`${c}#`),s&&s()):m&&o&&o(),d}};A._defineProperty(Ge,"maxFlowStringSingleLineLength",60);function yl(e){let t=e instanceof ht?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),Number.isInteger(t)&&t>=0?t:null}var mr=class extends Ge{add(t){this.items.push(t)}delete(t){let n=yl(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){let r=yl(t);if(typeof r!="number")return;let i=this.items[r];return!n&&i instanceof ht?i.value:i}has(t){let n=yl(t);return typeof n=="number"&&n<this.items.length}set(t,n){let r=yl(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);this.items[r]=n}toJSON(t,n){let r=[];n&&n.onCreate&&n.onCreate(r);let i=0;for(let a of this.items)r.push(hr(a,String(i++),n));return r}toString(t,n,r){return t?super.toString(t,{blockItem:i=>i.type==="comment"?i.str:`- ${i.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(t.indent||"")+" "},n,r):JSON.stringify(this)}},MI=(e,t,n)=>t===null?"":typeof t!="object"?String(t):e instanceof $t&&n&&n.doc?e.toString({anchors:Object.create(null),doc:n.doc,indent:"",indentStep:n.indentStep,inFlow:!0,inStringifyKey:!0,stringify:n.stringify}):JSON.stringify(t),we=class extends $t{constructor(t,n=null){super(),this.key=t,this.value=n,this.type=we.Type.PAIR}get commentBefore(){return this.key instanceof $t?this.key.commentBefore:void 0}set commentBefore(t){if(this.key==null&&(this.key=new ht(null)),this.key instanceof $t)this.key.commentBefore=t;else{let n="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(n)}}addToJSMap(t,n){let r=hr(this.key,"",t);if(n instanceof Map){let i=hr(this.value,r,t);n.set(r,i)}else if(n instanceof Set)n.add(r);else{let i=MI(this.key,r,t),a=hr(this.value,i,t);i in n?Object.defineProperty(n,i,{value:a,writable:!0,enumerable:!0,configurable:!0}):n[i]=a}return n}toJSON(t,n){let r=n&&n.mapAsMap?new Map:{};return this.addToJSMap(n,r)}toString(t,n,r){if(!t||!t.doc)return JSON.stringify(this);let{indent:i,indentSeq:a,simpleKeys:s}=t.doc.options,{key:o,value:c}=this,u=o instanceof $t&&o.comment;if(s){if(u)throw new Error("With simple keys, key nodes cannot have comments");if(o instanceof Ge){let O="With simple keys, collection cannot be used as a key value";throw new Error(O)}}let l=!s&&(!o||u||(o instanceof $t?o instanceof Ge||o.type===A.Type.BLOCK_FOLDED||o.type===A.Type.BLOCK_LITERAL:typeof o=="object")),{doc:p,indent:f,indentStep:m,stringify:v}=t;t=Object.assign({},t,{implicitKey:!l,indent:f+m});let g=!1,d=v(o,t,()=>u=null,()=>g=!0);if(d=Oa(d,t.indent,u),!l&&d.length>1024){if(s)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");l=!0}if(t.allNullValues&&!s)return this.comment?(d=Oa(d,t.indent,this.comment),n&&n()):g&&!u&&r&&r(),t.inFlow&&!l?d:`? ${d}`;d=l?`? ${d}
|
|
132
|
+
${f}:`:`${d}:`,this.comment&&(d=Oa(d,t.indent,this.comment),n&&n());let x="",_=null;c instanceof $t?(c.spaceBefore&&(x=`
|
|
133
|
+
`),c.commentBefore&&(x+=`
|
|
134
|
+
${c.commentBefore.replace(/^/gm,`${t.indent}#`)}`),_=c.comment):c&&typeof c=="object"&&(c=p.schema.createNode(c,!0)),t.implicitKey=!1,!l&&!this.comment&&c instanceof ht&&(t.indentAtStart=d.length+1),g=!1,!a&&i>=2&&!t.inFlow&&!l&&c instanceof mr&&c.type!==A.Type.FLOW_SEQ&&!c.tag&&!p.anchors.getName(c)&&(t.indent=t.indent.substr(2));let T=v(c,t,()=>_=null,()=>g=!0),k=" ";return x||this.comment?k=`${x}
|
|
135
|
+
${t.indent}`:!l&&c instanceof Ge?(!(T[0]==="["||T[0]==="{")||T.includes(`
|
|
136
|
+
`))&&(k=`
|
|
137
|
+
${t.indent}`):T[0]===`
|
|
138
|
+
`&&(k=""),g&&!_&&r&&r(),Oa(d+k+T,t.indent,_)}};A._defineProperty(we,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var wl=(e,t)=>{if(e instanceof zn){let n=t.get(e.source);return n.count*n.aliasCount}else if(e instanceof Ge){let n=0;for(let r of e.items){let i=wl(r,t);i>n&&(n=i)}return n}else if(e instanceof we){let n=wl(e.key,t),r=wl(e.value,t);return Math.max(n,r)}return 1},zn=class extends $t{static stringify({range:t,source:n},{anchors:r,doc:i,implicitKey:a,inStringifyKey:s}){let o=Object.keys(r).find(u=>r[u]===n);if(!o&&s&&(o=i.anchors.getName(n)||i.anchors.newName()),o)return`*${o}${a?" ":""}`;let c=i.anchors.getName(n)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${c} [${t}]`)}constructor(t){super(),this.source=t,this.type=A.Type.ALIAS}set tag(t){throw new Error("Alias nodes cannot have tags")}toJSON(t,n){if(!n)return hr(this.source,t,n);let{anchors:r,maxAliasCount:i}=n,a=r.get(this.source);if(!a||a.res===void 0){let s="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new A.YAMLReferenceError(this.cstNode,s):new ReferenceError(s)}if(i>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=wl(this.source,r)),a.count*a.aliasCount>i)){let s="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new A.YAMLReferenceError(this.cstNode,s):new ReferenceError(s)}return a.res}toString(t){return zn.stringify(this,t)}};A._defineProperty(zn,"default",!0);function $s(e,t){let n=t instanceof ht?t.value:t;for(let r of e)if(r instanceof we&&(r.key===t||r.key===n||r.key&&r.key.value===n))return r}var Ws=class extends Ge{add(t,n){t?t instanceof we||(t=new we(t.key||t,t.value)):t=new we(t);let r=$s(this.items,t.key),i=this.schema&&this.schema.sortMapEntries;if(r)if(n)r.value=t.value;else throw new Error(`Key ${t.key} already set`);else if(i){let a=this.items.findIndex(s=>i(t,s)<0);a===-1?this.items.push(t):this.items.splice(a,0,t)}else this.items.push(t)}delete(t){let n=$s(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){let r=$s(this.items,t),i=r&&r.value;return!n&&i instanceof ht?i.value:i}has(t){return!!$s(this.items,t)}set(t,n){this.add(new we(t,n),!0)}toJSON(t,n,r){let i=r?new r:n&&n.mapAsMap?new Map:{};n&&n.onCreate&&n.onCreate(i);for(let a of this.items)a.addToJSMap(n,i);return i}toString(t,n,r){if(!t)return JSON.stringify(this);for(let i of this.items)if(!(i instanceof we))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return super.toString(t,{blockItem:i=>i.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:t.indent||""},n,r)}},gS="<<",El=class extends we{constructor(t){if(t instanceof we){let n=t.value;n instanceof mr||(n=new mr,n.items.push(t.value),n.range=t.value.range),super(t.key,n),this.range=t.range}else super(new ht(gS),new mr);this.type=we.Type.MERGE_PAIR}addToJSMap(t,n){for(let{source:r}of this.value.items){if(!(r instanceof Ws))throw new Error("Merge sources must be maps");let i=r.toJSON(null,t,Map);for(let[a,s]of i)n instanceof Map?n.has(a)||n.set(a,s):n instanceof Set?n.add(a):Object.prototype.hasOwnProperty.call(n,a)||Object.defineProperty(n,a,{value:s,writable:!0,enumerable:!0,configurable:!0})}return n}toString(t,n){let r=this.value;if(r.items.length>1)return super.toString(t,n);this.value=r.items[0];let i=super.toString(t,n);return this.value=r,i}},PI={defaultType:A.Type.BLOCK_LITERAL,lineWidth:76},II={trueStr:"true",falseStr:"false"},NI={asBigInt:!1},LI={nullStr:"null"},li={defaultType:A.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function th(e,t,n){for(let{format:r,test:i,resolve:a}of t)if(i){let s=e.match(i);if(s){let o=a.apply(null,s);return o instanceof ht||(o=new ht(o)),r&&(o.format=r),o}}return n&&(e=n(e)),new ht(e)}var vS="flow",eh="block",_l="quoted",dS=(e,t)=>{let n=e[t+1];for(;n===" "||n===" ";){do n=e[t+=1];while(n&&n!==`
|
|
139
|
+
`);n=e[t+1]}return t};function Ol(e,t,n,{indentAtStart:r,lineWidth:i=80,minContentWidth:a=20,onFold:s,onOverflow:o}){if(!i||i<0)return e;let c=Math.max(1+a,1+i-t.length);if(e.length<=c)return e;let u=[],l={},p=i-t.length;typeof r=="number"&&(r>i-Math.max(2,a)?u.push(0):p=i-r);let f,m,v=!1,g=-1,d=-1,x=-1;n===eh&&(g=dS(e,g),g!==-1&&(p=g+c));for(let T;T=e[g+=1];){if(n===_l&&T==="\\"){switch(d=g,e[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}x=g}if(T===`
|
|
140
|
+
`)n===eh&&(g=dS(e,g)),p=g+c,f=void 0;else{if(T===" "&&m&&m!==" "&&m!==`
|
|
141
|
+
`&&m!==" "){let k=e[g+1];k&&k!==" "&&k!==`
|
|
142
|
+
`&&k!==" "&&(f=g)}if(g>=p)if(f)u.push(f),p=f+c,f=void 0;else if(n===_l){for(;m===" "||m===" ";)m=T,T=e[g+=1],v=!0;let k=g>x+1?g-2:d-1;if(l[k])return e;u.push(k),l[k]=!0,p=k+c,f=void 0}else v=!0}m=T}if(v&&o&&o(),u.length===0)return e;s&&s();let _=e.slice(0,u[0]);for(let T=0;T<u.length;++T){let k=u[T],O=u[T+1]||e.length;k===0?_=`
|
|
143
|
+
${t}${e.slice(0,O)}`:(n===_l&&l[k]&&(_+=`${e[k]}\\`),_+=`
|
|
144
|
+
${t}${e.slice(k+1,O)}`)}return _}var nh=({indentAtStart:e})=>e?Object.assign({indentAtStart:e},li.fold):li.fold,kl=e=>/^(%|---|\.\.\.)/m.test(e);function qI(e,t,n){if(!t||t<0)return!1;let r=t-n,i=e.length;if(i<=r)return!1;for(let a=0,s=0;a<i;++a)if(e[a]===`
|
|
145
|
+
`){if(a-s>r)return!0;if(s=a+1,i-s<=r)return!1}return!0}function ci(e,t){let{implicitKey:n}=t,{jsonEncoding:r,minMultiLineLength:i}=li.doubleQuoted,a=JSON.stringify(e);if(r)return a;let s=t.indent||(kl(e)?" ":""),o="",c=0;for(let u=0,l=a[u];l;l=a[++u])if(l===" "&&a[u+1]==="\\"&&a[u+2]==="n"&&(o+=a.slice(c,u)+"\\ ",u+=1,c=u,l="\\"),l==="\\")switch(a[u+1]){case"u":{o+=a.slice(c,u);let p=a.substr(u+2,4);switch(p){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:p.substr(0,2)==="00"?o+="\\x"+p.substr(2):o+=a.substr(u,6)}u+=5,c=u+1}break;case"n":if(n||a[u+2]==='"'||a.length<i)u+=1;else{for(o+=a.slice(c,u)+`
|
|
153
146
|
|
|
154
147
|
`;a[u+2]==="\\"&&a[u+3]==="n"&&a[u+4]!=='"';)o+=`
|
|
155
|
-
`,u+=2;o+=s,a[u+2]===" "&&(o+="\\"),u+=1,c=u+1}break;default:u+=1}return o=c?o+a.slice(c):a,n?o:
|
|
156
|
-
${n}`)+"'";return t.implicitKey?
|
|
157
|
-
`;let l="",p="";if(n=n.replace(/[\n\t ]*$/,
|
|
158
|
-
`);return
|
|
148
|
+
`,u+=2;o+=s,a[u+2]===" "&&(o+="\\"),u+=1,c=u+1}break;default:u+=1}return o=c?o+a.slice(c):a,n?o:Ol(o,s,_l,nh(t))}function bS(e,t){if(t.implicitKey){if(/\n/.test(e))return ci(e,t)}else if(/[ \t]\n|\n[ \t]/.test(e))return ci(e,t);let n=t.indent||(kl(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
149
|
+
${n}`)+"'";return t.implicitKey?r:Ol(r,n,vS,nh(t))}function Sl({comment:e,type:t,value:n},r,i,a){if(/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return ci(n,r);let s=r.indent||(r.forceBlockIndent||kl(n)?" ":""),o=s?"2":"1",c=t===A.Type.BLOCK_FOLDED?!1:t===A.Type.BLOCK_LITERAL?!0:!qI(n,li.fold.lineWidth,s.length),u=c?"|":">";if(!n)return u+`
|
|
150
|
+
`;let l="",p="";if(n=n.replace(/[\n\t ]*$/,m=>{let v=m.indexOf(`
|
|
151
|
+
`);return v===-1?u+="-":(n===m||v!==m.length-1)&&(u+="+",a&&a()),p=m.replace(/\n$/,""),""}).replace(/^[\n ]*/,m=>{m.indexOf(" ")!==-1&&(u+=o);let v=m.match(/ +$/);return v?(l=m.slice(0,-v[0].length),v[0]):(l=m,"")}),p&&(p=p.replace(/\n+(?!\n|$)/g,`$&${s}`)),l&&(l=l.replace(/\n+/g,`$&${s}`)),e&&(u+=" #"+e.replace(/ ?[\r\n]+/g," "),i&&i()),!n)return`${u}${o}
|
|
159
152
|
${s}${p}`;if(c)return n=n.replace(/\n+/g,`$&${s}`),`${u}
|
|
160
153
|
${s}${l}${n}${p}`;n=n.replace(/\n+/g,`
|
|
161
|
-
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${s}`);let
|
|
162
|
-
${s}${
|
|
163
|
-
`)===-1?s.indexOf('"')!==-1&&s.indexOf("'")===-1?
|
|
164
|
-
`)!==-1)return
|
|
165
|
-
${u}`);if(o){let{tags:
|
|
166
|
-
`)!==-1||
|
|
167
|
-
`)!==-1)?(n&&n(),
|
|
168
|
-
`&&n!==" "&&n!==" "){let
|
|
169
|
-
`+
|
|
170
|
-
`+
|
|
154
|
+
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${s}`);let f=Ol(`${l}${n}${p}`,s,eh,li.fold);return`${u}
|
|
155
|
+
${s}${f}`}function BI(e,t,n,r){let{comment:i,type:a,value:s}=e,{actualString:o,implicitKey:c,indent:u,inFlow:l}=t;if(c&&/[\n[\]{},]/.test(s)||l&&/[[\]{},]/.test(s))return ci(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return c||l||s.indexOf(`
|
|
156
|
+
`)===-1?s.indexOf('"')!==-1&&s.indexOf("'")===-1?bS(s,t):ci(s,t):Sl(e,t,n,r);if(!c&&!l&&a!==A.Type.PLAIN&&s.indexOf(`
|
|
157
|
+
`)!==-1)return Sl(e,t,n,r);if(u===""&&kl(s))return t.forceBlockIndent=!0,Sl(e,t,n,r);let p=s.replace(/\n+/g,`$&
|
|
158
|
+
${u}`);if(o){let{tags:m}=t.doc.schema;if(typeof th(p,m,m.scalarFallback).value!="string")return ci(s,t)}let f=c?p:Ol(p,u,vS,nh(t));return i&&!l&&(f.indexOf(`
|
|
159
|
+
`)!==-1||i.indexOf(`
|
|
160
|
+
`)!==-1)?(n&&n(),RI(f,u,i)):f}function FI(e,t,n,r){let{defaultType:i}=li,{implicitKey:a,inFlow:s}=t,{type:o,value:c}=e;typeof c!="string"&&(c=String(c),e=Object.assign({},e,{value:c}));let u=p=>{switch(p){case A.Type.BLOCK_FOLDED:case A.Type.BLOCK_LITERAL:return Sl(e,t,n,r);case A.Type.QUOTE_DOUBLE:return ci(c,t);case A.Type.QUOTE_SINGLE:return bS(c,t);case A.Type.PLAIN:return BI(e,t,n,r);default:return null}};(o!==A.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(c)||(a||s)&&(o===A.Type.BLOCK_FOLDED||o===A.Type.BLOCK_LITERAL))&&(o=A.Type.QUOTE_DOUBLE);let l=u(o);if(l===null&&(l=u(i),l===null))throw new Error(`Unsupported default string type ${i}`);return l}function DI({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r=="bigint")return String(r);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let i=JSON.stringify(r);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(i)){let a=i.indexOf(".");a<0&&(a=i.length,i+=".");let s=t-(i.length-a-1);for(;s-- >0;)i+="0"}return i}function xS(e,t){let n,r;switch(t.type){case A.Type.FLOW_MAP:n="}",r="flow map";break;case A.Type.FLOW_SEQ:n="]",r="flow sequence";break;default:e.push(new A.YAMLSemanticError(t,"Not a flow collection!?"));return}let i;for(let a=t.items.length-1;a>=0;--a){let s=t.items[a];if(!s||s.type!==A.Type.COMMENT){i=s;break}}if(i&&i.char!==n){let a=`Expected ${r} to end with ${n}`,s;typeof i.offset=="number"?(s=new A.YAMLSemanticError(t,a),s.offset=i.offset+1):(s=new A.YAMLSemanticError(i,a),i.range&&i.range.end&&(s.offset=i.range.end-i.range.start)),e.push(s)}}function yS(e,t){let n=t.context.src[t.range.start-1];if(n!==`
|
|
161
|
+
`&&n!==" "&&n!==" "){let r="Comments must be separated from other tokens by white space characters";e.push(new A.YAMLSemanticError(t,r))}}function wS(e,t){let n=String(t),r=n.substr(0,8)+"..."+n.substr(-8);return new A.YAMLSemanticError(e,`The "${r}" key is too long`)}function _S(e,t){for(let{afterKey:n,before:r,comment:i}of t){let a=e.items[r];a?(n&&a.value&&(a=a.value),i===void 0?(n||!a.commentBefore)&&(a.spaceBefore=!0):a.commentBefore?a.commentBefore+=`
|
|
162
|
+
`+i:a.commentBefore=i):i!==void 0&&(e.comment?e.comment+=`
|
|
163
|
+
`+i:e.comment=i)}}function rh(e,t){let n=t.strValue;return n?typeof n=="string"?n:(n.errors.forEach(r=>{r.source||(r.source=t),e.errors.push(r)}),n.str):""}function zI(e,t){let{handle:n,suffix:r}=t.tag,i=e.tagPrefixes.find(a=>a.handle===n);if(!i){let a=e.getDefaults().tagPrefixes;if(a&&(i=a.find(s=>s.handle===n)),!i)throw new A.YAMLSemanticError(t,`The ${n} tag handle is non-default and was not declared.`)}if(!r)throw new A.YAMLSemanticError(t,`The ${n} tag has no suffix.`);if(n==="!"&&(e.version||e.options.version)==="1.0"){if(r[0]==="^")return e.warnings.push(new A.YAMLWarning(t,"YAML 1.0 ^ tag expansion is not supported")),r;if(/[:/]/.test(r)){let a=r.match(/^([a-z0-9-]+)\/(.*)/i);return a?`tag:${a[1]}.yaml.org,2002:${a[2]}`:`tag:${r}`}}return i.prefix+decodeURIComponent(r)}function UI(e,t){let{tag:n,type:r}=t,i=!1;if(n){let{handle:a,suffix:s,verbatim:o}=n;if(o){if(o!=="!"&&o!=="!!")return o;let c=`Verbatim tags aren't resolved, so ${o} is invalid.`;e.errors.push(new A.YAMLSemanticError(t,c))}else if(a==="!"&&!s)i=!0;else try{return zI(e,t)}catch(c){e.errors.push(c)}}switch(r){case A.Type.BLOCK_FOLDED:case A.Type.BLOCK_LITERAL:case A.Type.QUOTE_DOUBLE:case A.Type.QUOTE_SINGLE:return A.defaultTags.STR;case A.Type.FLOW_MAP:case A.Type.MAP:return A.defaultTags.MAP;case A.Type.FLOW_SEQ:case A.Type.SEQ:return A.defaultTags.SEQ;case A.Type.PLAIN:return i?A.defaultTags.STR:null;default:return null}}function hS(e,t,n){let{tags:r}=e.schema,i=[];for(let s of r)if(s.tag===n)if(s.test)i.push(s);else{let o=s.resolve(e,t);return o instanceof Ge?o:new ht(o)}let a=rh(e,t);return typeof a=="string"&&i.length>0?th(a,i,r.scalarFallback):null}function $I({type:e}){switch(e){case A.Type.FLOW_MAP:case A.Type.MAP:return A.defaultTags.MAP;case A.Type.FLOW_SEQ:case A.Type.SEQ:return A.defaultTags.SEQ;default:return A.defaultTags.STR}}function WI(e,t,n){try{let r=hS(e,t,n);if(r)return n&&t.tag&&(r.tag=n),r}catch(r){return r.source||(r.source=t),e.errors.push(r),null}try{let r=$I(t);if(!r)throw new Error(`The tag ${n} is unavailable`);let i=`The tag ${n} is unavailable, falling back to ${r}`;e.warnings.push(new A.YAMLWarning(t,i));let a=hS(e,t,r);return a.tag=n,a}catch(r){let i=new A.YAMLReferenceError(t,r.message);return i.stack=r.stack,e.errors.push(i),null}}var HI=e=>{if(!e)return!1;let{type:t}=e;return t===A.Type.MAP_KEY||t===A.Type.MAP_VALUE||t===A.Type.SEQ_ITEM};function YI(e,t){let n={before:[],after:[]},r=!1,i=!1,a=HI(t.context.parent)?t.context.parent.props.concat(t.props):t.props;for(let{start:s,end:o}of a)switch(t.context.src[s]){case A.Char.COMMENT:{if(!t.commentHasRequiredWhitespace(s)){let p="Comments must be separated from other tokens by white space characters";e.push(new A.YAMLSemanticError(t,p))}let{header:c,valueRange:u}=t;(u&&(s>u.start||c&&s>c.start)?n.after:n.before).push(t.context.src.slice(s+1,o));break}case A.Char.ANCHOR:if(r){let c="A node can have at most one anchor";e.push(new A.YAMLSemanticError(t,c))}r=!0;break;case A.Char.TAG:if(i){let c="A node can have at most one tag";e.push(new A.YAMLSemanticError(t,c))}i=!0;break}return{comments:n,hasAnchor:r,hasTag:i}}function GI(e,t){let{anchors:n,errors:r,schema:i}=e;if(t.type===A.Type.ALIAS){let s=t.rawValue,o=n.getNode(s);if(!o){let u=`Aliased anchor not found: ${s}`;return r.push(new A.YAMLReferenceError(t,u)),null}let c=new zn(o);return n._cstAliases.push(c),c}let a=UI(e,t);if(a)return WI(e,t,a);if(t.type!==A.Type.PLAIN){let s=`Failed to resolve ${t.type} node here`;return r.push(new A.YAMLSyntaxError(t,s)),null}try{let s=rh(e,t);return th(s,i.tags,i.tags.scalarFallback)}catch(s){return s.source||(s.source=t),r.push(s),null}}function gr(e,t){if(!t)return null;t.error&&e.errors.push(t.error);let{comments:n,hasAnchor:r,hasTag:i}=YI(e.errors,t);if(r){let{anchors:s}=e,o=t.anchor,c=s.getNode(o);c&&(s.map[s.newName(o)]=c),s.map[o]=t}if(t.type===A.Type.ALIAS&&(r||i)){let s="An alias node must not specify any properties";e.errors.push(new A.YAMLSemanticError(t,s))}let a=GI(e,t);if(a){a.range=[t.range.start,t.range.end],e.options.keepCstNodes&&(a.cstNode=t),e.options.keepNodeTypes&&(a.type=t.type);let s=n.before.join(`
|
|
171
164
|
`);s&&(a.commentBefore=a.commentBefore?`${a.commentBefore}
|
|
172
165
|
${s}`:s);let o=n.after.join(`
|
|
173
166
|
`);o&&(a.comment=a.comment?`${a.comment}
|
|
174
|
-
${o}`:o)}return t.resolved=a}function
|
|
175
|
-
`)return!1;return!0};function
|
|
176
|
-
`){let
|
|
177
|
-
`:" ")}return
|
|
178
|
-
${a.commentBefore}`:
|
|
179
|
-
${a.comment}`:r.comment),r=a}n.items[i]=r instanceof be.Pair?r:new be.Pair(r)}}return n}function AS(e,t,n){let i=new be.YAMLSeq(e);i.tag="tag:yaml.org,2002:pairs";for(let r of t){let a,s;if(Array.isArray(r))if(r.length===2)a=r[0],s=r[1];else throw new TypeError(`Expected [key, value] tuple: ${r}`);else if(r&&r instanceof Object){let c=Object.keys(r);if(c.length===1)a=c[0],s=r[a];else throw new TypeError(`Expected { key: value } tuple: ${r}`)}else a=r;let o=e.createPair(a,s,n);i.items.push(o)}return i}var tL={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:TS,createNode:AS},yi=class extends be.YAMLSeq{constructor(){super(),Wt._defineProperty(this,"add",be.YAMLMap.prototype.add.bind(this)),Wt._defineProperty(this,"delete",be.YAMLMap.prototype.delete.bind(this)),Wt._defineProperty(this,"get",be.YAMLMap.prototype.get.bind(this)),Wt._defineProperty(this,"has",be.YAMLMap.prototype.has.bind(this)),Wt._defineProperty(this,"set",be.YAMLMap.prototype.set.bind(this)),this.tag=yi.tag}toJSON(t,n){let i=new Map;n&&n.onCreate&&n.onCreate(i);for(let r of this.items){let a,s;if(r instanceof be.Pair?(a=be.toJSON(r.key,"",n),s=be.toJSON(r.value,a,n)):a=be.toJSON(r,"",n),i.has(a))throw new Error("Ordered maps must not include duplicate keys");i.set(a,s)}return i}};Wt._defineProperty(yi,"tag","tag:yaml.org,2002:omap");function nL(e,t){let n=TS(e,t),i=[];for(let{key:r}of n.items)if(r instanceof be.Scalar)if(i.includes(r.value)){let a="Ordered maps must not include duplicate keys";throw new Wt.YAMLSemanticError(t,a)}else i.push(r.value);return Object.assign(new yi,n)}function iL(e,t,n){let i=AS(e,t,n),r=new yi;return r.items=i.items,r}var rL={identify:e=>e instanceof Map,nodeClass:yi,default:!1,tag:"tag:yaml.org,2002:omap",resolve:nL,createNode:iL},wi=class extends be.YAMLMap{constructor(){super(),this.tag=wi.tag}add(t){let n=t instanceof be.Pair?t:new be.Pair(t);be.findPair(this.items,n.key)||this.items.push(n)}get(t,n){let i=be.findPair(this.items,t);return!n&&i instanceof be.Pair?i.key instanceof be.Scalar?i.key.value:i.key:i}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);let i=be.findPair(this.items,t);i&&!n?this.items.splice(this.items.indexOf(i),1):!i&&n&&this.items.push(new be.Pair(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,i){if(!t)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(t,n,i);throw new Error("Set items must all have null values")}};Wt._defineProperty(wi,"tag","tag:yaml.org,2002:set");function aL(e,t){let n=be.resolveMap(e,t);if(!n.hasAllNullValues())throw new Wt.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new wi,n)}function sL(e,t,n){let i=new wi;for(let r of t)i.items.push(e.createPair(r,null,n));return i}var oL={identify:e=>e instanceof Set,nodeClass:wi,default:!1,tag:"tag:yaml.org,2002:set",resolve:aL,createNode:sL},hh=(e,t)=>{let n=t.split(":").reduce((i,r)=>i*60+Number(r),0);return e==="-"?-n:n},jS=({value:e})=>{if(isNaN(e)||!isFinite(e))return be.stringifyNumber(e);let t="";e<0&&(t="-",e=Math.abs(e));let n=[e%60];return e<60?n.unshift(0):(e=Math.round((e-n[0])/60),n.unshift(e%60),e>=60&&(e=Math.round((e-n[0])/60),n.unshift(e))),t+n.map(i=>i<10?"0"+String(i):String(i)).join(":").replace(/000000\d*$/,"")},cL={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(e,t,n)=>hh(t,n.replace(/_/g,"")),stringify:jS},lL={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(e,t,n)=>hh(t,n.replace(/_/g,"")),stringify:jS},uL={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$"),resolve:(e,t,n,i,r,a,s,o,c)=>{o&&(o=(o+"00").substr(1,3));let u=Date.UTC(t,n-1,i,r||0,a||0,s||0,o||0);if(c&&c!=="Z"){let l=hh(c[0],c.slice(1));Math.abs(l)<30&&(l*=60),u-=6e4*l}return new Date(u)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function mh(e){let t=typeof process<"u"&&process.env||{};return e?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!t.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!t.YAML_SILENCE_WARNINGS}function gh(e,t){if(mh(!1)){let n=typeof process<"u"&&process.emitWarning;n?n(e,t):console.warn(t?`${t}: ${e}`:e)}}function pL(e){if(mh(!0)){let t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");gh(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}}var CS={};function fL(e,t){if(!CS[e]&&mh(!0)){CS[e]=!0;let n=`The option '${e}' will be removed in a future release`;n+=t?`, use '${t}' instead.`:".",gh(n,"DeprecationWarning")}}hn.binary=eL;hn.floatTime=lL;hn.intTime=cL;hn.omap=rL;hn.pairs=tL;hn.set=oL;hn.timestamp=uL;hn.warn=gh;hn.warnFileDeprecation=pL;hn.warnOptionDeprecation=fL});var wh=w(US=>{"use strict";var $l=fr(),ce=to(),Et=bh();function dL(e,t,n){let i=new ce.YAMLMap(e);if(t instanceof Map)for(let[r,a]of t)i.items.push(e.createPair(r,a,n));else if(t&&typeof t=="object")for(let r of Object.keys(t))i.items.push(e.createPair(r,t[r],n));return typeof e.sortMapEntries=="function"&&i.items.sort(e.sortMapEntries),i}var io={createNode:dL,default:!0,nodeClass:ce.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:ce.resolveMap};function hL(e,t,n){let i=new ce.YAMLSeq(e);if(t&&t[Symbol.iterator])for(let r of t){let a=e.createNode(r,n.wrapScalars,null,n);i.items.push(a)}return i}var zl={createNode:hL,default:!0,nodeClass:ce.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:ce.resolveSeq},mL={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:ce.resolveString,stringify(e,t,n,i){return t=Object.assign({actualString:!0},t),ce.stringifyString(e,t,n,i)},options:ce.strOptions},xh=[io,zl,mL],Ul=e=>typeof e=="bigint"||Number.isInteger(e),yh=(e,t,n)=>ce.intOptions.asBigInt?BigInt(e):parseInt(t,n);function IS(e,t,n){let{value:i}=e;return Ul(i)&&i>=0?n+i.toString(t):ce.stringifyNumber(e)}var NS={identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new ce.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:ce.nullOptions,stringify:()=>ce.nullOptions.nullStr},LS={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>e[0]==="t"||e[0]==="T",options:ce.boolOptions,stringify:({value:e})=>e?ce.boolOptions.trueStr:ce.boolOptions.falseStr},PS={identify:e=>Ul(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>yh(e,t,8),options:ce.intOptions,stringify:e=>IS(e,8,"0o")},qS={identify:Ul,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>yh(e,e,10),options:ce.intOptions,stringify:ce.stringifyNumber},BS={identify:e=>Ul(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>yh(e,t,16),options:ce.intOptions,stringify:e=>IS(e,16,"0x")},FS={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:ce.stringifyNumber},DS={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify:({value:e})=>Number(e).toExponential()},$S={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(e,t,n){let i=t||n,r=new ce.Scalar(parseFloat(e));return i&&i[i.length-1]==="0"&&(r.minFractionDigits=i.length),r},stringify:ce.stringifyNumber},gL=xh.concat([NS,LS,PS,qS,BS,FS,DS,$S]),MS=e=>typeof e=="bigint"||Number.isInteger(e),Fl=({value:e})=>JSON.stringify(e),zS=[io,zl,{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:ce.resolveString,stringify:Fl},{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new ce.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Fl},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:Fl},{identify:MS,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>ce.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>MS(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Fl}];zS.scalarFallback=e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)};var RS=({value:e})=>e?ce.boolOptions.trueStr:ce.boolOptions.falseStr,no=e=>typeof e=="bigint"||Number.isInteger(e);function Dl(e,t,n){let i=t.replace(/_/g,"");if(ce.intOptions.asBigInt){switch(n){case 2:i=`0b${i}`;break;case 8:i=`0o${i}`;break;case 16:i=`0x${i}`;break}let a=BigInt(i);return e==="-"?BigInt(-1)*a:a}let r=parseInt(i,n);return e==="-"?-1*r:r}function vh(e,t,n){let{value:i}=e;if(no(i)){let r=i.toString(t);return i<0?"-"+n+r.substr(1):n+r}return ce.stringifyNumber(e)}var bL=xh.concat([{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new ce.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:ce.nullOptions,stringify:()=>ce.nullOptions.nullStr},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:ce.boolOptions,stringify:RS},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>!1,options:ce.boolOptions,stringify:RS},{identify:no,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,n)=>Dl(t,n,2),stringify:e=>vh(e,2,"0b")},{identify:no,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,n)=>Dl(t,n,8),stringify:e=>vh(e,8,"0")},{identify:no,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,n)=>Dl(t,n,10),stringify:ce.stringifyNumber},{identify:no,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,n)=>Dl(t,n,16),stringify:e=>vh(e,16,"0x")},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:ce.stringifyNumber},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify:({value:e})=>Number(e).toExponential()},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(e,t){let n=new ce.Scalar(parseFloat(e.replace(/_/g,"")));if(t){let i=t.replace(/_/g,"");i[i.length-1]==="0"&&(n.minFractionDigits=i.length)}return n},stringify:ce.stringifyNumber}],Et.binary,Et.omap,Et.pairs,Et.set,Et.intTime,Et.floatTime,Et.timestamp),vL={core:gL,failsafe:xh,json:zS,yaml11:bL},xL={binary:Et.binary,bool:LS,float:$S,floatExp:DS,floatNaN:FS,floatTime:Et.floatTime,int:qS,intHex:BS,intOct:PS,intTime:Et.intTime,map:io,null:NS,omap:Et.omap,pairs:Et.pairs,seq:zl,set:Et.set,timestamp:Et.timestamp};function yL(e,t,n){if(t){let i=n.filter(a=>a.tag===t),r=i.find(a=>!a.format)||i[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find(i=>(i.identify&&i.identify(e)||i.class&&e instanceof i.class)&&!i.format)}function wL(e,t,n){if(e instanceof ce.Node)return e;let{defaultPrefix:i,onTagObj:r,prevObjects:a,schema:s,wrapScalars:o}=n;t&&t.startsWith("!!")&&(t=i+t.slice(2));let c=yL(e,t,s.tags);if(!c){if(typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object")return o?new ce.Scalar(e):e;c=e instanceof Map?io:e[Symbol.iterator]?zl:io}r&&(r(c),delete n.onTagObj);let u={value:void 0,node:void 0};if(e&&typeof e=="object"&&a){let l=a.get(e);if(l){let p=new ce.Alias(l);return n.aliasNodes.push(p),p}u.value=e,a.set(e,u)}return u.node=c.createNode?c.createNode(n.schema,e,n):o?new ce.Scalar(e):e,t&&u.node instanceof ce.Node&&(u.node.tag=t),u.node}function _L(e,t,n,i){let r=e[i.replace(/\W/g,"")];if(!r){let a=Object.keys(e).map(s=>JSON.stringify(s)).join(", ");throw new Error(`Unknown schema "${i}"; use one of ${a}`)}if(Array.isArray(n))for(let a of n)r=r.concat(a);else typeof n=="function"&&(r=n(r.slice()));for(let a=0;a<r.length;++a){let s=r[a];if(typeof s=="string"){let o=t[s];if(!o){let c=Object.keys(t).map(u=>JSON.stringify(u)).join(", ");throw new Error(`Unknown custom tag "${s}"; use one of ${c}`)}r[a]=o}}return r}var SL=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0,xr=class{constructor({customTags:t,merge:n,schema:i,sortMapEntries:r,tags:a}){this.merge=!!n,this.name=i,this.sortMapEntries=r===!0?SL:r||null,!t&&a&&Et.warnOptionDeprecation("tags","customTags"),this.tags=_L(vL,xL,t||a,i)}createNode(t,n,i,r){let a={defaultPrefix:xr.defaultPrefix,schema:this,wrapScalars:n},s=r?Object.assign(r,a):a;return wL(t,i,s)}createPair(t,n,i){i||(i={wrapScalars:!0});let r=this.createNode(t,i.wrapScalars,null,i),a=this.createNode(n,i.wrapScalars,null,i);return new ce.Pair(r,a)}};$l._defineProperty(xr,"defaultPrefix",$l.defaultTagPrefix);$l._defineProperty(xr,"defaultTags",$l.defaultTags);US.Schema=xr});var KS=w(Yl=>{"use strict";var kt=fr(),le=to(),WS=wh(),OL={anchorPrefix:"a",customTags:null,indent:2,indentSeq:!0,keepCstNodes:!1,keepNodeTypes:!0,keepBlobsInJSON:!0,mapAsMap:!1,maxAliasCount:100,prettyErrors:!1,simpleKeys:!1,version:"1.2"},EL={get binary(){return le.binaryOptions},set binary(e){Object.assign(le.binaryOptions,e)},get bool(){return le.boolOptions},set bool(e){Object.assign(le.boolOptions,e)},get int(){return le.intOptions},set int(e){Object.assign(le.intOptions,e)},get null(){return le.nullOptions},set null(e){Object.assign(le.nullOptions,e)},get str(){return le.strOptions},set str(e){Object.assign(le.strOptions,e)}},YS={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:kt.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:kt.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:kt.defaultTagPrefix}]}};function HS(e,t){if((e.version||e.options.version)==="1.0"){let r=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(r)return"!"+r[1];let a=t.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return a?`!${a[1]}/${a[2]}`:`!${t.replace(/^tag:/,"")}`}let n=e.tagPrefixes.find(r=>t.indexOf(r.prefix)===0);if(!n){let r=e.getDefaults().tagPrefixes;n=r&&r.find(a=>t.indexOf(a.prefix)===0)}if(!n)return t[0]==="!"?t:`!<${t}>`;let i=t.substr(n.prefix.length).replace(/[!,[\]{}]/g,r=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[r]);return n.handle+i}function kL(e,t){if(t instanceof le.Alias)return le.Alias;if(t.tag){let r=e.filter(a=>a.tag===t.tag);if(r.length>0)return r.find(a=>a.format===t.format)||r[0]}let n,i;if(t instanceof le.Scalar){i=t.value;let r=e.filter(a=>a.identify&&a.identify(i)||a.class&&i instanceof a.class);n=r.find(a=>a.format===t.format)||r.find(a=>!a.format)}else i=t,n=e.find(r=>r.nodeClass&&i instanceof r.nodeClass);if(!n){let r=i&&i.constructor?i.constructor.name:typeof i;throw new Error(`Tag not resolved for ${r} value`)}return n}function CL(e,t,{anchors:n,doc:i}){let r=[],a=i.anchors.getName(e);return a&&(n[a]=e,r.push(`&${a}`)),e.tag?r.push(HS(i,e.tag)):t.default||r.push(HS(i,t.tag)),r.join(" ")}function Wl(e,t,n,i){let{anchors:r,schema:a}=t.doc,s;if(!(e instanceof le.Node)){let u={aliasNodes:[],onTagObj:l=>s=l,prevObjects:new Map};e=a.createNode(e,!0,null,u);for(let l of u.aliasNodes){l.source=l.source.node;let p=r.getName(l.source);p||(p=r.newName(),r.map[p]=l.source)}}if(e instanceof le.Pair)return e.toString(t,n,i);s||(s=kL(a.tags,e));let o=CL(e,s,t);o.length>0&&(t.indentAtStart=(t.indentAtStart||0)+o.length+1);let c=typeof s.stringify=="function"?s.stringify(e,t,n,i):e instanceof le.Scalar?le.stringifyString(e,t,n,i):e.toString(t,n,i);return o?e instanceof le.Scalar||c[0]==="{"||c[0]==="["?`${o} ${c}`:`${o}
|
|
180
|
-
${t.indent}${c}`:c}var
|
|
181
|
-
`),n.before=[]));if(e.contents=
|
|
167
|
+
${o}`:o)}return t.resolved=a}function KI(e,t){if(t.type!==A.Type.MAP&&t.type!==A.Type.FLOW_MAP){let s=`A ${t.type} node cannot be resolved as a mapping`;return e.errors.push(new A.YAMLSyntaxError(t,s)),null}let{comments:n,items:r}=t.type===A.Type.FLOW_MAP?XI(e,t):JI(e,t),i=new Ws;i.items=r,_S(i,n);let a=!1;for(let s=0;s<r.length;++s){let{key:o}=r[s];if(o instanceof Ge&&(a=!0),e.schema.merge&&o&&o.value===gS){r[s]=new El(r[s]);let c=r[s].value.items,u=null;c.some(l=>{if(l instanceof zn){let{type:p}=l.source;return p===A.Type.MAP||p===A.Type.FLOW_MAP?!1:u="Merge nodes aliases can only point to maps"}return u="Merge nodes can only have Alias nodes as values"}),u&&e.errors.push(new A.YAMLSemanticError(t,u))}else for(let c=s+1;c<r.length;++c){let{key:u}=r[c];if(o===u||o&&u&&Object.prototype.hasOwnProperty.call(o,"value")&&o.value===u.value){let l=`Map keys must be unique; "${o}" is repeated`;e.errors.push(new A.YAMLSemanticError(t,l));break}}}if(a&&!e.options.mapAsMap){let s="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new A.YAMLWarning(t,s))}return t.resolved=i,i}var VI=({context:{lineStart:e,node:t,src:n},props:r})=>{if(r.length===0)return!1;let{start:i}=r[0];if(t&&i>t.valueRange.start||n[i]!==A.Char.COMMENT)return!1;for(let a=e;a<i;++a)if(n[a]===`
|
|
168
|
+
`)return!1;return!0};function ZI(e,t){if(!VI(e))return;let n=e.getPropValue(0,A.Char.COMMENT,!0),r=!1,i=t.value.commentBefore;if(i&&i.startsWith(n))t.value.commentBefore=i.substr(n.length+1),r=!0;else{let a=t.value.comment;!e.node&&a&&a.startsWith(n)&&(t.value.comment=a.substr(n.length+1),r=!0)}r&&(t.comment=n)}function JI(e,t){let n=[],r=[],i,a=null;for(let s=0;s<t.items.length;++s){let o=t.items[s];switch(o.type){case A.Type.BLANK_LINE:n.push({afterKey:!!i,before:r.length});break;case A.Type.COMMENT:n.push({afterKey:!!i,before:r.length,comment:o.comment});break;case A.Type.MAP_KEY:i!==void 0&&r.push(new we(i)),o.error&&e.errors.push(o.error),i=gr(e,o.node),a=null;break;case A.Type.MAP_VALUE:{if(i===void 0&&(i=null),o.error&&e.errors.push(o.error),!o.context.atLineStart&&o.node&&o.node.type===A.Type.MAP&&!o.node.context.atLineStart){let l="Nested mappings are not allowed in compact mappings";e.errors.push(new A.YAMLSemanticError(o.node,l))}let c=o.node;if(!c&&o.props.length>0){c=new A.PlainValue(A.Type.PLAIN,[]),c.context={parent:o,src:o.context.src};let l=o.range.start+1;if(c.range={start:l,end:l},c.valueRange={start:l,end:l},typeof o.range.origStart=="number"){let p=o.range.origStart+1;c.range.origStart=c.range.origEnd=p,c.valueRange.origStart=c.valueRange.origEnd=p}}let u=new we(i,gr(e,c));ZI(o,u),r.push(u),i&&typeof a=="number"&&o.range.start>a+1024&&e.errors.push(wS(t,i)),i=void 0,a=null}break;default:i!==void 0&&r.push(new we(i)),i=gr(e,o),a=o.range.start,o.error&&e.errors.push(o.error);e:for(let c=s+1;;++c){let u=t.items[c];switch(u&&u.type){case A.Type.BLANK_LINE:case A.Type.COMMENT:continue e;case A.Type.MAP_VALUE:break e;default:{let l="Implicit map keys need to be followed by map values";e.errors.push(new A.YAMLSemanticError(o,l));break e}}}if(o.valueRangeContainsNewline){let c="Implicit map keys need to be on a single line";e.errors.push(new A.YAMLSemanticError(o,c))}}}return i!==void 0&&r.push(new we(i)),{comments:n,items:r}}function XI(e,t){let n=[],r=[],i,a=!1,s="{";for(let o=0;o<t.items.length;++o){let c=t.items[o];if(typeof c.char=="string"){let{char:u,offset:l}=c;if(u==="?"&&i===void 0&&!a){a=!0,s=":";continue}if(u===":"){if(i===void 0&&(i=null),s===":"){s=",";continue}}else if(a&&(i===void 0&&u!==","&&(i=null),a=!1),i!==void 0&&(r.push(new we(i)),i=void 0,u===",")){s=":";continue}if(u==="}"){if(o===t.items.length-1)continue}else if(u===s){s=":";continue}let p=`Flow map contains an unexpected ${u}`,f=new A.YAMLSyntaxError(t,p);f.offset=l,e.errors.push(f)}else c.type===A.Type.BLANK_LINE?n.push({afterKey:!!i,before:r.length}):c.type===A.Type.COMMENT?(yS(e.errors,c),n.push({afterKey:!!i,before:r.length,comment:c.comment})):i===void 0?(s===","&&e.errors.push(new A.YAMLSemanticError(c,"Separator , missing in flow map")),i=gr(e,c)):(s!==","&&e.errors.push(new A.YAMLSemanticError(c,"Indicator : missing in flow map entry")),r.push(new we(i,gr(e,c))),i=void 0,a=!1)}return xS(e.errors,t),i!==void 0&&r.push(new we(i)),{comments:n,items:r}}function QI(e,t){if(t.type!==A.Type.SEQ&&t.type!==A.Type.FLOW_SEQ){let a=`A ${t.type} node cannot be resolved as a sequence`;return e.errors.push(new A.YAMLSyntaxError(t,a)),null}let{comments:n,items:r}=t.type===A.Type.FLOW_SEQ?tN(e,t):eN(e,t),i=new mr;if(i.items=r,_S(i,n),!e.options.mapAsMap&&r.some(a=>a instanceof we&&a.key instanceof Ge)){let a="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new A.YAMLWarning(t,a))}return t.resolved=i,i}function eN(e,t){let n=[],r=[];for(let i=0;i<t.items.length;++i){let a=t.items[i];switch(a.type){case A.Type.BLANK_LINE:n.push({before:r.length});break;case A.Type.COMMENT:n.push({comment:a.comment,before:r.length});break;case A.Type.SEQ_ITEM:if(a.error&&e.errors.push(a.error),r.push(gr(e,a.node)),a.hasProps){let s="Sequence items cannot have tags or anchors before the - indicator";e.errors.push(new A.YAMLSemanticError(a,s))}break;default:a.error&&e.errors.push(a.error),e.errors.push(new A.YAMLSyntaxError(a,`Unexpected ${a.type} node in sequence`))}}return{comments:n,items:r}}function tN(e,t){let n=[],r=[],i=!1,a,s=null,o="[",c=null;for(let u=0;u<t.items.length;++u){let l=t.items[u];if(typeof l.char=="string"){let{char:p,offset:f}=l;if(p!==":"&&(i||a!==void 0)&&(i&&a===void 0&&(a=o?r.pop():null),r.push(new we(a)),i=!1,a=void 0,s=null),p===o)o=null;else if(!o&&p==="?")i=!0;else if(o!=="["&&p===":"&&a===void 0){if(o===","){if(a=r.pop(),a instanceof we){let m="Chaining flow sequence pairs is invalid",v=new A.YAMLSemanticError(t,m);v.offset=f,e.errors.push(v)}if(!i&&typeof s=="number"){let m=l.range?l.range.start:l.offset;m>s+1024&&e.errors.push(wS(t,a));let{src:v}=c.context;for(let g=s;g<m;++g)if(v[g]===`
|
|
169
|
+
`){let d="Implicit keys of flow sequence pairs need to be on a single line";e.errors.push(new A.YAMLSemanticError(c,d));break}}}else a=null;s=null,i=!1,o=null}else if(o==="["||p!=="]"||u<t.items.length-1){let m=`Flow sequence contains an unexpected ${p}`,v=new A.YAMLSyntaxError(t,m);v.offset=f,e.errors.push(v)}}else if(l.type===A.Type.BLANK_LINE)n.push({before:r.length});else if(l.type===A.Type.COMMENT)yS(e.errors,l),n.push({comment:l.comment,before:r.length});else{if(o){let f=`Expected a ${o} in flow sequence`;e.errors.push(new A.YAMLSemanticError(l,f))}let p=gr(e,l);a===void 0?(r.push(p),c=l):(r.push(new we(a,p)),a=void 0),s=l.range.start,o=","}}return xS(e.errors,t),a!==void 0&&r.push(new we(a)),{comments:n,items:r}}Me.Alias=zn;Me.Collection=Ge;Me.Merge=El;Me.Node=$t;Me.Pair=we;Me.Scalar=ht;Me.YAMLMap=Ws;Me.YAMLSeq=mr;Me.addComment=Oa;Me.binaryOptions=PI;Me.boolOptions=II;Me.findPair=$s;Me.intOptions=NI;Me.isEmptyPath=mS;Me.nullOptions=LI;Me.resolveMap=KI;Me.resolveNode=gr;Me.resolveSeq=QI;Me.resolveString=rh;Me.strOptions=li;Me.stringifyNumber=DI;Me.stringifyString=FI;Me.toJSON=hr});var oh=b(dn=>{"use strict";var Wt=ri(),he=Hs(),nN={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(e,t)=>{let n=he.resolveString(e,t);if(typeof Buffer=="function")return Buffer.from(n,"base64");if(typeof atob=="function"){let r=atob(n.replace(/[\n\r]/g,"")),i=new Uint8Array(r.length);for(let a=0;a<r.length;++a)i[a]=r.charCodeAt(a);return i}else{let r="This environment does not support reading binary tags; either Buffer or atob is required";return e.errors.push(new Wt.YAMLReferenceError(t,r)),null}},options:he.binaryOptions,stringify:({comment:e,type:t,value:n},r,i,a)=>{let s;if(typeof Buffer=="function")s=n instanceof Buffer?n.toString("base64"):Buffer.from(n.buffer).toString("base64");else if(typeof btoa=="function"){let o="";for(let c=0;c<n.length;++c)o+=String.fromCharCode(n[c]);s=btoa(o)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t||(t=he.binaryOptions.defaultType),t===Wt.Type.QUOTE_DOUBLE)n=s;else{let{lineWidth:o}=he.binaryOptions,c=Math.ceil(s.length/o),u=new Array(c);for(let l=0,p=0;l<c;++l,p+=o)u[l]=s.substr(p,o);n=u.join(t===Wt.Type.BLOCK_LITERAL?`
|
|
170
|
+
`:" ")}return he.stringifyString({comment:e,type:t,value:n},r,i,a)}};function ES(e,t){let n=he.resolveSeq(e,t);for(let r=0;r<n.items.length;++r){let i=n.items[r];if(!(i instanceof he.Pair)){if(i instanceof he.YAMLMap){if(i.items.length>1){let s="Each pair must have its own sequence indicator";throw new Wt.YAMLSemanticError(t,s)}let a=i.items[0]||new he.Pair;i.commentBefore&&(a.commentBefore=a.commentBefore?`${i.commentBefore}
|
|
171
|
+
${a.commentBefore}`:i.commentBefore),i.comment&&(a.comment=a.comment?`${i.comment}
|
|
172
|
+
${a.comment}`:i.comment),i=a}n.items[r]=i instanceof he.Pair?i:new he.Pair(i)}}return n}function OS(e,t,n){let r=new he.YAMLSeq(e);r.tag="tag:yaml.org,2002:pairs";for(let i of t){let a,s;if(Array.isArray(i))if(i.length===2)a=i[0],s=i[1];else throw new TypeError(`Expected [key, value] tuple: ${i}`);else if(i&&i instanceof Object){let c=Object.keys(i);if(c.length===1)a=c[0],s=i[a];else throw new TypeError(`Expected { key: value } tuple: ${i}`)}else a=i;let o=e.createPair(a,s,n);r.items.push(o)}return r}var rN={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:ES,createNode:OS},vr=class extends he.YAMLSeq{constructor(){super(),Wt._defineProperty(this,"add",he.YAMLMap.prototype.add.bind(this)),Wt._defineProperty(this,"delete",he.YAMLMap.prototype.delete.bind(this)),Wt._defineProperty(this,"get",he.YAMLMap.prototype.get.bind(this)),Wt._defineProperty(this,"has",he.YAMLMap.prototype.has.bind(this)),Wt._defineProperty(this,"set",he.YAMLMap.prototype.set.bind(this)),this.tag=vr.tag}toJSON(t,n){let r=new Map;n&&n.onCreate&&n.onCreate(r);for(let i of this.items){let a,s;if(i instanceof he.Pair?(a=he.toJSON(i.key,"",n),s=he.toJSON(i.value,a,n)):a=he.toJSON(i,"",n),r.has(a))throw new Error("Ordered maps must not include duplicate keys");r.set(a,s)}return r}};Wt._defineProperty(vr,"tag","tag:yaml.org,2002:omap");function iN(e,t){let n=ES(e,t),r=[];for(let{key:i}of n.items)if(i instanceof he.Scalar)if(r.includes(i.value)){let a="Ordered maps must not include duplicate keys";throw new Wt.YAMLSemanticError(t,a)}else r.push(i.value);return Object.assign(new vr,n)}function aN(e,t,n){let r=OS(e,t,n),i=new vr;return i.items=r.items,i}var sN={identify:e=>e instanceof Map,nodeClass:vr,default:!1,tag:"tag:yaml.org,2002:omap",resolve:iN,createNode:aN},br=class extends he.YAMLMap{constructor(){super(),this.tag=br.tag}add(t){let n=t instanceof he.Pair?t:new he.Pair(t);he.findPair(this.items,n.key)||this.items.push(n)}get(t,n){let r=he.findPair(this.items,t);return!n&&r instanceof he.Pair?r.key instanceof he.Scalar?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);let r=he.findPair(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new he.Pair(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(t,n,r);throw new Error("Set items must all have null values")}};Wt._defineProperty(br,"tag","tag:yaml.org,2002:set");function oN(e,t){let n=he.resolveMap(e,t);if(!n.hasAllNullValues())throw new Wt.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new br,n)}function cN(e,t,n){let r=new br;for(let i of t)r.items.push(e.createPair(i,null,n));return r}var lN={identify:e=>e instanceof Set,nodeClass:br,default:!1,tag:"tag:yaml.org,2002:set",resolve:oN,createNode:cN},ih=(e,t)=>{let n=t.split(":").reduce((r,i)=>r*60+Number(i),0);return e==="-"?-n:n},kS=({value:e})=>{if(isNaN(e)||!isFinite(e))return he.stringifyNumber(e);let t="";e<0&&(t="-",e=Math.abs(e));let n=[e%60];return e<60?n.unshift(0):(e=Math.round((e-n[0])/60),n.unshift(e%60),e>=60&&(e=Math.round((e-n[0])/60),n.unshift(e))),t+n.map(r=>r<10?"0"+String(r):String(r)).join(":").replace(/000000\d*$/,"")},uN={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(e,t,n)=>ih(t,n.replace(/_/g,"")),stringify:kS},pN={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(e,t,n)=>ih(t,n.replace(/_/g,"")),stringify:kS},fN={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$"),resolve:(e,t,n,r,i,a,s,o,c)=>{o&&(o=(o+"00").substr(1,3));let u=Date.UTC(t,n-1,r,i||0,a||0,s||0,o||0);if(c&&c!=="Z"){let l=ih(c[0],c.slice(1));Math.abs(l)<30&&(l*=60),u-=6e4*l}return new Date(u)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function ah(e){let t=typeof process<"u"&&process.env||{};return e?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!t.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!t.YAML_SILENCE_WARNINGS}function sh(e,t){if(ah(!1)){let n=typeof process<"u"&&process.emitWarning;n?n(e,t):console.warn(t?`${t}: ${e}`:e)}}function dN(e){if(ah(!0)){let t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");sh(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}}var SS={};function hN(e,t){if(!SS[e]&&ah(!0)){SS[e]=!0;let n=`The option '${e}' will be removed in a future release`;n+=t?`, use '${t}' instead.`:".",sh(n,"DeprecationWarning")}}dn.binary=nN;dn.floatTime=pN;dn.intTime=uN;dn.omap=sN;dn.pairs=rN;dn.set=lN;dn.timestamp=fN;dn.warn=sh;dn.warnFileDeprecation=dN;dn.warnOptionDeprecation=hN});var ph=b(FS=>{"use strict";var Al=ri(),se=Hs(),St=oh();function mN(e,t,n){let r=new se.YAMLMap(e);if(t instanceof Map)for(let[i,a]of t)r.items.push(e.createPair(i,a,n));else if(t&&typeof t=="object")for(let i of Object.keys(t))r.items.push(e.createPair(i,t[i],n));return typeof e.sortMapEntries=="function"&&r.items.sort(e.sortMapEntries),r}var Gs={createNode:mN,default:!0,nodeClass:se.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:se.resolveMap};function gN(e,t,n){let r=new se.YAMLSeq(e);if(t&&t[Symbol.iterator])for(let i of t){let a=e.createNode(i,n.wrapScalars,null,n);r.items.push(a)}return r}var jl={createNode:gN,default:!0,nodeClass:se.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:se.resolveSeq},vN={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:se.resolveString,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),se.stringifyString(e,t,n,r)},options:se.strOptions},lh=[Gs,jl,vN],Rl=e=>typeof e=="bigint"||Number.isInteger(e),uh=(e,t,n)=>se.intOptions.asBigInt?BigInt(e):parseInt(t,n);function AS(e,t,n){let{value:r}=e;return Rl(r)&&r>=0?n+r.toString(t):se.stringifyNumber(e)}var jS={identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new se.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:se.nullOptions,stringify:()=>se.nullOptions.nullStr},RS={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>e[0]==="t"||e[0]==="T",options:se.boolOptions,stringify:({value:e})=>e?se.boolOptions.trueStr:se.boolOptions.falseStr},MS={identify:e=>Rl(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>uh(e,t,8),options:se.intOptions,stringify:e=>AS(e,8,"0o")},PS={identify:Rl,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>uh(e,e,10),options:se.intOptions,stringify:se.stringifyNumber},IS={identify:e=>Rl(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>uh(e,t,16),options:se.intOptions,stringify:e=>AS(e,16,"0x")},NS={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:se.stringifyNumber},LS={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify:({value:e})=>Number(e).toExponential()},qS={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(e,t,n){let r=t||n,i=new se.Scalar(parseFloat(e));return r&&r[r.length-1]==="0"&&(i.minFractionDigits=r.length),i},stringify:se.stringifyNumber},bN=lh.concat([jS,RS,MS,PS,IS,NS,LS,qS]),TS=e=>typeof e=="bigint"||Number.isInteger(e),Tl=({value:e})=>JSON.stringify(e),BS=[Gs,jl,{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:se.resolveString,stringify:Tl},{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new se.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Tl},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:Tl},{identify:TS,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>se.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>TS(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Tl}];BS.scalarFallback=e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)};var CS=({value:e})=>e?se.boolOptions.trueStr:se.boolOptions.falseStr,Ys=e=>typeof e=="bigint"||Number.isInteger(e);function Cl(e,t,n){let r=t.replace(/_/g,"");if(se.intOptions.asBigInt){switch(n){case 2:r=`0b${r}`;break;case 8:r=`0o${r}`;break;case 16:r=`0x${r}`;break}let a=BigInt(r);return e==="-"?BigInt(-1)*a:a}let i=parseInt(r,n);return e==="-"?-1*i:i}function ch(e,t,n){let{value:r}=e;if(Ys(r)){let i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return se.stringifyNumber(e)}var xN=lh.concat([{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new se.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:se.nullOptions,stringify:()=>se.nullOptions.nullStr},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:se.boolOptions,stringify:CS},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>!1,options:se.boolOptions,stringify:CS},{identify:Ys,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,n)=>Cl(t,n,2),stringify:e=>ch(e,2,"0b")},{identify:Ys,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,n)=>Cl(t,n,8),stringify:e=>ch(e,8,"0")},{identify:Ys,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,n)=>Cl(t,n,10),stringify:se.stringifyNumber},{identify:Ys,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,n)=>Cl(t,n,16),stringify:e=>ch(e,16,"0x")},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:se.stringifyNumber},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify:({value:e})=>Number(e).toExponential()},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(e,t){let n=new se.Scalar(parseFloat(e.replace(/_/g,"")));if(t){let r=t.replace(/_/g,"");r[r.length-1]==="0"&&(n.minFractionDigits=r.length)}return n},stringify:se.stringifyNumber}],St.binary,St.omap,St.pairs,St.set,St.intTime,St.floatTime,St.timestamp),yN={core:bN,failsafe:lh,json:BS,yaml11:xN},wN={binary:St.binary,bool:RS,float:qS,floatExp:LS,floatNaN:NS,floatTime:St.floatTime,int:PS,intHex:IS,intOct:MS,intTime:St.intTime,map:Gs,null:jS,omap:St.omap,pairs:St.pairs,seq:jl,set:St.set,timestamp:St.timestamp};function _N(e,t,n){if(t){let r=n.filter(a=>a.tag===t),i=r.find(a=>!a.format)||r[0];if(!i)throw new Error(`Tag ${t} not found`);return i}return n.find(r=>(r.identify&&r.identify(e)||r.class&&e instanceof r.class)&&!r.format)}function SN(e,t,n){if(e instanceof se.Node)return e;let{defaultPrefix:r,onTagObj:i,prevObjects:a,schema:s,wrapScalars:o}=n;t&&t.startsWith("!!")&&(t=r+t.slice(2));let c=_N(e,t,s.tags);if(!c){if(typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object")return o?new se.Scalar(e):e;c=e instanceof Map?Gs:e[Symbol.iterator]?jl:Gs}i&&(i(c),delete n.onTagObj);let u={value:void 0,node:void 0};if(e&&typeof e=="object"&&a){let l=a.get(e);if(l){let p=new se.Alias(l);return n.aliasNodes.push(p),p}u.value=e,a.set(e,u)}return u.node=c.createNode?c.createNode(n.schema,e,n):o?new se.Scalar(e):e,t&&u.node instanceof se.Node&&(u.node.tag=t),u.node}function EN(e,t,n,r){let i=e[r.replace(/\W/g,"")];if(!i){let a=Object.keys(e).map(s=>JSON.stringify(s)).join(", ");throw new Error(`Unknown schema "${r}"; use one of ${a}`)}if(Array.isArray(n))for(let a of n)i=i.concat(a);else typeof n=="function"&&(i=n(i.slice()));for(let a=0;a<i.length;++a){let s=i[a];if(typeof s=="string"){let o=t[s];if(!o){let c=Object.keys(t).map(u=>JSON.stringify(u)).join(", ");throw new Error(`Unknown custom tag "${s}"; use one of ${c}`)}i[a]=o}}return i}var ON=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0,ui=class{constructor({customTags:t,merge:n,schema:r,sortMapEntries:i,tags:a}){this.merge=!!n,this.name=r,this.sortMapEntries=i===!0?ON:i||null,!t&&a&&St.warnOptionDeprecation("tags","customTags"),this.tags=EN(yN,wN,t||a,r)}createNode(t,n,r,i){let a={defaultPrefix:ui.defaultPrefix,schema:this,wrapScalars:n},s=i?Object.assign(i,a):a;return SN(t,r,s)}createPair(t,n,r){r||(r={wrapScalars:!0});let i=this.createNode(t,r.wrapScalars,null,r),a=this.createNode(n,r.wrapScalars,null,r);return new se.Pair(i,a)}};Al._defineProperty(ui,"defaultPrefix",Al.defaultTagPrefix);Al._defineProperty(ui,"defaultTags",Al.defaultTags);FS.Schema=ui});var $S=b(Il=>{"use strict";var Et=ri(),oe=Hs(),DS=ph(),kN={anchorPrefix:"a",customTags:null,indent:2,indentSeq:!0,keepCstNodes:!1,keepNodeTypes:!0,keepBlobsInJSON:!0,mapAsMap:!1,maxAliasCount:100,prettyErrors:!1,simpleKeys:!1,version:"1.2"},TN={get binary(){return oe.binaryOptions},set binary(e){Object.assign(oe.binaryOptions,e)},get bool(){return oe.boolOptions},set bool(e){Object.assign(oe.boolOptions,e)},get int(){return oe.intOptions},set int(e){Object.assign(oe.intOptions,e)},get null(){return oe.nullOptions},set null(e){Object.assign(oe.nullOptions,e)},get str(){return oe.strOptions},set str(e){Object.assign(oe.strOptions,e)}},US={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:Et.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Et.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Et.defaultTagPrefix}]}};function zS(e,t){if((e.version||e.options.version)==="1.0"){let i=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(i)return"!"+i[1];let a=t.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return a?`!${a[1]}/${a[2]}`:`!${t.replace(/^tag:/,"")}`}let n=e.tagPrefixes.find(i=>t.indexOf(i.prefix)===0);if(!n){let i=e.getDefaults().tagPrefixes;n=i&&i.find(a=>t.indexOf(a.prefix)===0)}if(!n)return t[0]==="!"?t:`!<${t}>`;let r=t.substr(n.prefix.length).replace(/[!,[\]{}]/g,i=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[i]);return n.handle+r}function CN(e,t){if(t instanceof oe.Alias)return oe.Alias;if(t.tag){let i=e.filter(a=>a.tag===t.tag);if(i.length>0)return i.find(a=>a.format===t.format)||i[0]}let n,r;if(t instanceof oe.Scalar){r=t.value;let i=e.filter(a=>a.identify&&a.identify(r)||a.class&&r instanceof a.class);n=i.find(a=>a.format===t.format)||i.find(a=>!a.format)}else r=t,n=e.find(i=>i.nodeClass&&r instanceof i.nodeClass);if(!n){let i=r&&r.constructor?r.constructor.name:typeof r;throw new Error(`Tag not resolved for ${i} value`)}return n}function AN(e,t,{anchors:n,doc:r}){let i=[],a=r.anchors.getName(e);return a&&(n[a]=e,i.push(`&${a}`)),e.tag?i.push(zS(r,e.tag)):t.default||i.push(zS(r,t.tag)),i.join(" ")}function Ml(e,t,n,r){let{anchors:i,schema:a}=t.doc,s;if(!(e instanceof oe.Node)){let u={aliasNodes:[],onTagObj:l=>s=l,prevObjects:new Map};e=a.createNode(e,!0,null,u);for(let l of u.aliasNodes){l.source=l.source.node;let p=i.getName(l.source);p||(p=i.newName(),i.map[p]=l.source)}}if(e instanceof oe.Pair)return e.toString(t,n,r);s||(s=CN(a.tags,e));let o=AN(e,s,t);o.length>0&&(t.indentAtStart=(t.indentAtStart||0)+o.length+1);let c=typeof s.stringify=="function"?s.stringify(e,t,n,r):e instanceof oe.Scalar?oe.stringifyString(e,t,n,r):e.toString(t,n,r);return o?e instanceof oe.Scalar||c[0]==="{"||c[0]==="["?`${o} ${c}`:`${o}
|
|
173
|
+
${t.indent}${c}`:c}var Ks=class{static validAnchorNode(t){return t instanceof oe.Scalar||t instanceof oe.YAMLSeq||t instanceof oe.YAMLMap}constructor(t){Et._defineProperty(this,"map",Object.create(null)),this.prefix=t}createAlias(t,n){return this.setAnchor(t,n),new oe.Alias(t)}createMergePair(...t){let n=new oe.Merge;return n.value.items=t.map(r=>{if(r instanceof oe.Alias){if(r.source instanceof oe.YAMLMap)return r}else if(r instanceof oe.YAMLMap)return this.createAlias(r);throw new Error("Merge sources must be Map nodes or their Aliases")}),n}getName(t){let{map:n}=this;return Object.keys(n).find(r=>n[r]===t)}getNames(){return Object.keys(this.map)}getNode(t){return this.map[t]}newName(t){t||(t=this.prefix);let n=Object.keys(this.map);for(let r=1;;++r){let i=`${t}${r}`;if(!n.includes(i))return i}}resolveNodes(){let{map:t,_cstAliases:n}=this;Object.keys(t).forEach(r=>{t[r]=t[r].resolved}),n.forEach(r=>{r.source=r.source.resolved}),delete this._cstAliases}setAnchor(t,n){if(t!=null&&!Ks.validAnchorNode(t))throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");if(n&&/[\x00-\x19\s,[\]{}]/.test(n))throw new Error("Anchor names must not contain whitespace or control characters");let{map:r}=this,i=t&&Object.keys(r).find(a=>r[a]===t);if(i)if(n)i!==n&&(delete r[i],r[n]=t);else return i;else{if(!n){if(!t)return null;n=this.newName()}r[n]=t}return n}},Pl=(e,t)=>{if(e&&typeof e=="object"){let{tag:n}=e;e instanceof oe.Collection?(n&&(t[n]=!0),e.items.forEach(r=>Pl(r,t))):e instanceof oe.Pair?(Pl(e.key,t),Pl(e.value,t)):e instanceof oe.Scalar&&n&&(t[n]=!0)}return t},jN=e=>Object.keys(Pl(e,{}));function RN(e,t){let n={before:[],after:[]},r,i=!1;for(let a of t)if(a.valueRange){if(r!==void 0){let o="Document contains trailing content not separated by a ... or --- line";e.errors.push(new Et.YAMLSyntaxError(a,o));break}let s=oe.resolveNode(e,a);i&&(s.spaceBefore=!0,i=!1),r=s}else a.comment!==null?(r===void 0?n.before:n.after).push(a.comment):a.type===Et.Type.BLANK_LINE&&(i=!0,r===void 0&&n.before.length>0&&!e.commentBefore&&(e.commentBefore=n.before.join(`
|
|
174
|
+
`),n.before=[]));if(e.contents=r||null,!r)e.comment=n.before.concat(n.after).join(`
|
|
182
175
|
`)||null;else{let a=n.before.join(`
|
|
183
|
-
`);if(a){let s=
|
|
176
|
+
`);if(a){let s=r instanceof oe.Collection&&r.items[0]?r.items[0]:r;s.commentBefore=s.commentBefore?`${a}
|
|
184
177
|
${s.commentBefore}`:a}e.comment=n.after.join(`
|
|
185
|
-
`)||null}}function
|
|
186
|
-
`)||null}function
|
|
178
|
+
`)||null}}function MN({tagPrefixes:e},t){let[n,r]=t.parameters;if(!n||!r){let i="Insufficient parameters given for %TAG directive";throw new Et.YAMLSemanticError(t,i)}if(e.some(i=>i.handle===n)){let i="The %TAG directive must only be given at most once per handle in the same document.";throw new Et.YAMLSemanticError(t,i)}return{handle:n,prefix:r}}function PN(e,t){let[n]=t.parameters;if(t.name==="YAML:1.0"&&(n="1.0"),!n){let r="Insufficient parameters given for %YAML directive";throw new Et.YAMLSemanticError(t,r)}if(!US[n]){let i=`Document will be parsed as YAML ${e.version||e.options.version} rather than YAML ${n}`;e.warnings.push(new Et.YAMLWarning(t,i))}return n}function IN(e,t,n){let r=[],i=!1;for(let a of t){let{comment:s,name:o}=a;switch(o){case"TAG":try{e.tagPrefixes.push(MN(e,a))}catch(c){e.errors.push(c)}i=!0;break;case"YAML":case"YAML:1.0":if(e.version){let c="The %YAML directive must only be given at most once per document.";e.errors.push(new Et.YAMLSemanticError(a,c))}try{e.version=PN(e,a)}catch(c){e.errors.push(c)}i=!0;break;default:if(o){let c=`YAML only supports %TAG and %YAML directives, and not %${o}`;e.warnings.push(new Et.YAMLWarning(a,c))}}s&&r.push(s)}if(n&&!i&&(e.version||n.version||e.options.version)==="1.1"){let a=({handle:s,prefix:o})=>({handle:s,prefix:o});e.tagPrefixes=n.tagPrefixes.map(a),e.version=n.version}e.commentBefore=r.join(`
|
|
179
|
+
`)||null}function ka(e){if(e instanceof oe.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var pi=class{constructor(t){this.anchors=new Ks(t.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=t,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(t){return ka(this.contents),this.contents.add(t)}addIn(t,n){ka(this.contents),this.contents.addIn(t,n)}delete(t){return ka(this.contents),this.contents.delete(t)}deleteIn(t){return oe.isEmptyPath(t)?this.contents==null?!1:(this.contents=null,!0):(ka(this.contents),this.contents.deleteIn(t))}getDefaults(){return pi.defaults[this.version]||pi.defaults[this.options.version]||{}}get(t,n){return this.contents instanceof oe.Collection?this.contents.get(t,n):void 0}getIn(t,n){return oe.isEmptyPath(t)?!n&&this.contents instanceof oe.Scalar?this.contents.value:this.contents:this.contents instanceof oe.Collection?this.contents.getIn(t,n):void 0}has(t){return this.contents instanceof oe.Collection?this.contents.has(t):!1}hasIn(t){return oe.isEmptyPath(t)?this.contents!==void 0:this.contents instanceof oe.Collection?this.contents.hasIn(t):!1}set(t,n){ka(this.contents),this.contents.set(t,n)}setIn(t,n){oe.isEmptyPath(t)?this.contents=n:(ka(this.contents),this.contents.setIn(t,n))}setSchema(t,n){if(!t&&!n&&this.schema)return;typeof t=="number"&&(t=t.toFixed(1)),t==="1.0"||t==="1.1"||t==="1.2"?(this.version?this.version=t:this.options.version=t,delete this.options.schema):t&&typeof t=="string"&&(this.options.schema=t),Array.isArray(n)&&(this.options.customTags=n);let r=Object.assign({},this.getDefaults(),this.options);this.schema=new DS.Schema(r)}parse(t,n){this.options.keepCstNodes&&(this.cstNode=t),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:r=[],contents:i=[],directivesEndMarker:a,error:s,valueRange:o}=t;if(s&&(s.source||(s.source=this),this.errors.push(s)),IN(this,r,n),a&&(this.directivesEndMarker=!0),this.range=o?[o.start,o.end]:null,this.setSchema(),this.anchors._cstAliases=[],RN(this,i),this.anchors.resolveNodes(),this.options.prettyErrors){for(let c of this.errors)c instanceof Et.YAMLError&&c.makePretty();for(let c of this.warnings)c instanceof Et.YAMLError&&c.makePretty()}return this}listNonDefaultTags(){return jN(this.contents).filter(t=>t.indexOf(DS.Schema.defaultPrefix)!==0)}setTagPrefix(t,n){if(t[0]!=="!"||t[t.length-1]!=="!")throw new Error("Handle must start and end with !");if(n){let r=this.tagPrefixes.find(i=>i.handle===t);r?r.prefix=n:this.tagPrefixes.push({handle:t,prefix:n})}else this.tagPrefixes=this.tagPrefixes.filter(r=>r.handle!==t)}toJSON(t,n){let{keepBlobsInJSON:r,mapAsMap:i,maxAliasCount:a}=this.options,s=r&&(typeof t!="string"||!(this.contents instanceof oe.Scalar)),o={doc:this,indentStep:" ",keep:s,mapAsMap:s&&!!i,maxAliasCount:a,stringify:Ml},c=Object.keys(this.anchors.map);c.length>0&&(o.anchors=new Map(c.map(l=>[this.anchors.map[l],{alias:[],aliasCount:0,count:1}])));let u=oe.toJSON(this.contents,t,o);if(typeof n=="function"&&o.anchors)for(let{count:l,res:p}of o.anchors.values())n(p,l);return u}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");let t=this.options.indent;if(!Number.isInteger(t)||t<=0){let c=JSON.stringify(t);throw new Error(`"indent" option must be a positive integer, not ${c}`)}this.setSchema();let n=[],r=!1;if(this.version){let c="%YAML 1.2";this.schema.name==="yaml-1.1"&&(this.version==="1.0"?c="%YAML:1.0":this.version==="1.1"&&(c="%YAML 1.1")),n.push(c),r=!0}let i=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:c,prefix:u})=>{i.some(l=>l.indexOf(u)===0)&&(n.push(`%TAG ${c} ${u}`),r=!0)}),(r||this.directivesEndMarker)&&n.push("---"),this.commentBefore&&((r||!this.directivesEndMarker)&&n.unshift(""),n.unshift(this.commentBefore.replace(/^/gm,"#")));let a={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(t),stringify:Ml},s=!1,o=null;if(this.contents){this.contents instanceof oe.Node&&(this.contents.spaceBefore&&(r||this.directivesEndMarker)&&n.push(""),this.contents.commentBefore&&n.push(this.contents.commentBefore.replace(/^/gm,"#")),a.forceBlockIndent=!!this.comment,o=this.contents.comment);let c=o?null:()=>s=!0,u=Ml(this.contents,a,()=>o=null,c);n.push(oe.addComment(u,"",o))}else this.contents!==void 0&&n.push(Ml(this.contents,a));return this.comment&&((!s||o)&&n[n.length-1]!==""&&n.push(""),n.push(this.comment.replace(/^/gm,"#"))),n.join(`
|
|
187
180
|
`)+`
|
|
188
|
-
`}};
|
|
189
|
-
`);return
|
|
190
|
-
`);return e.length?e[0].length:0});
|
|
191
|
-
`)}function
|
|
192
|
-
`).reduce(function(
|
|
193
|
-
`+
|
|
194
|
-
`),this.length&&this.forEach(function(_
|
|
195
|
-
`)}
|
|
196
|
-
`)});var
|
|
197
|
-
`).map(
|
|
198
|
-
`)}rowToString(t,n){return this.rasterize(t).forEach((i
|
|
199
|
-
`):
|
|
200
|
-
`),a.border&&(
|
|
201
|
-
`),r+=e.charAt(a);return n&&i&&(r=`${n}${r}${i}`),r}function iu(e){return Kh(e,{stringWidth:t=>[...t].length,stripAnsi:nu,wrap:Zh})}var Sr=require("path"),uo=require("fs");function Vh(e,t){let n=(0,Sr.resolve)(".",e),i;for((0,uo.statSync)(n).isDirectory()||(n=(0,Sr.dirname)(n));;){if(i=t(n,(0,uo.readdirSync)(n)),i)return(0,Sr.resolve)(n,i);if(n=(0,Sr.dirname)(i=n),i===n)break}}var pm=require("util"),fm=require("fs"),dm=require("url");var em=require("util"),mo=require("path");function Ei(e){if(e!==e.toLowerCase()&&e!==e.toUpperCase()||(e=e.toLowerCase()),e.indexOf("-")===-1&&e.indexOf("_")===-1)return e;{let n="",i=!1,r=e.match(/^-+/);for(let a=r?r[0].length:0;a<e.length;a++){let s=e.charAt(a);i&&(i=!1,s=s.toUpperCase()),a!==0&&(s==="-"||s==="_")?i=!0:s!=="-"&&s!=="_"&&(n+=s)}return n}}function po(e,t){let n=e.toLowerCase();t=t||"-";let i="";for(let r=0;r<e.length;r++){let a=n.charAt(r),s=e.charAt(r);a!==s&&r>0?i+=`${t}${n.charAt(r)}`:i+=s}return i}function fo(e){return e==null?!1:typeof e=="number"||/^0x[0-9a-f]+$/i.test(e)?!0:/^0[^.]/.test(e)?!1:/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e)}function Jh(e){if(Array.isArray(e))return e.map(s=>typeof s!="string"?s+"":s);e=e.trim();let t=0,n=null,i=null,r=null,a=[];for(let s=0;s<e.length;s++){if(n=i,i=e.charAt(s),i===" "&&!r){n!==" "&&t++;continue}i===r?r=null:(i==="'"||i==='"')&&!r&&(r=i),a[t]||(a[t]=""),a[t]+=i}return a}var Ht;(function(e){e.BOOLEAN="boolean",e.STRING="string",e.NUMBER="number",e.ARRAY="array"})(Ht||(Ht={}));var jn,ho=class{constructor(t){jn=t}parse(t,n){let i=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0,count:void 0,default:void 0,envPrefix:void 0,narg:void 0,normalize:void 0,string:void 0,number:void 0,__:void 0,key:void 0},n),r=Jh(t),a=typeof t=="string",s=nE(Object.assign(Object.create(null),i.alias)),o=Object.assign({"boolean-negation":!0,"camel-case-expansion":!0,"combine-arrays":!1,"dot-notation":!0,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"greedy-arrays":!0,"halt-at-non-option":!1,"nargs-eats-options":!1,"negation-prefix":"no-","parse-numbers":!0,"parse-positional-numbers":!0,"populate--":!1,"set-placeholder-key":!1,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,"unknown-options-as-args":!1},i.configuration),c=Object.assign(Object.create(null),i.default),u=i.configObjects||[],l=i.envPrefix,p=o["populate--"],d=p?"--":"_",g=Object.create(null),x=Object.create(null),b=i.__||jn.format,h={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]},_=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,k=new RegExp("^--"+o["negation-prefix"]+"(.+)");[].concat(i.array||[]).filter(Boolean).forEach(function(S){let j=typeof S=="object"?S.key:S,U=Object.keys(S).map(function(q){return{boolean:"bools",string:"strings",number:"numbers"}[q]}).filter(Boolean).pop();U&&(h[U][j]=!0),h.arrays[j]=!0,h.keys.push(j)}),[].concat(i.boolean||[]).filter(Boolean).forEach(function(S){h.bools[S]=!0,h.keys.push(S)}),[].concat(i.string||[]).filter(Boolean).forEach(function(S){h.strings[S]=!0,h.keys.push(S)}),[].concat(i.number||[]).filter(Boolean).forEach(function(S){h.numbers[S]=!0,h.keys.push(S)}),[].concat(i.count||[]).filter(Boolean).forEach(function(S){h.counts[S]=!0,h.keys.push(S)}),[].concat(i.normalize||[]).filter(Boolean).forEach(function(S){h.normalize[S]=!0,h.keys.push(S)}),typeof i.narg=="object"&&Object.entries(i.narg).forEach(([S,j])=>{typeof j=="number"&&(h.nargs[S]=j,h.keys.push(S))}),typeof i.coerce=="object"&&Object.entries(i.coerce).forEach(([S,j])=>{typeof j=="function"&&(h.coercions[S]=j,h.keys.push(S))}),typeof i.config<"u"&&(Array.isArray(i.config)||typeof i.config=="string"?[].concat(i.config).filter(Boolean).forEach(function(S){h.configs[S]=!0}):typeof i.config=="object"&&Object.entries(i.config).forEach(([S,j])=>{(typeof j=="boolean"||typeof j=="function")&&(h.configs[S]=j)})),F(i.key,s,i.default,h.arrays),Object.keys(c).forEach(function(S){(h.aliases[S]||[]).forEach(function(j){c[j]=c[S]})});let I=null;eu();let R=[],M=Object.assign(Object.create(null),{_:[]}),H={};for(let S=0;S<r.length;S++){let j=r[S],U=j.replace(/^-{3,}/,"---"),q,T,X,K,ie,Qe;if(j!=="--"&&de(j))D(j);else if(U.match(/---+(=|$)/)){D(j);continue}else if(j.match(/^--.+=/)||!o["short-option-groups"]&&j.match(/^-.+=/))K=j.match(/^--?([^=]+)=([\s\S]*)$/),K!==null&&Array.isArray(K)&&K.length>=3&&(z(K[1],h.arrays)?S=y(S,K[1],r,K[2]):z(K[1],h.nargs)!==!1?S=$(S,K[1],r,K[2]):P(K[1],K[2],!0));else if(j.match(k)&&o["boolean-negation"])K=j.match(k),K!==null&&Array.isArray(K)&&K.length>=2&&(T=K[1],P(T,z(T,h.arrays)?[!1]:!1));else if(j.match(/^--.+/)||!o["short-option-groups"]&&j.match(/^-[^-]+/))K=j.match(/^--?(.+)/),K!==null&&Array.isArray(K)&&K.length>=2&&(T=K[1],z(T,h.arrays)?S=y(S,T,r):z(T,h.nargs)!==!1?S=$(S,T,r):(ie=r[S+1],ie!==void 0&&(!ie.match(/^-/)||ie.match(_))&&!z(T,h.bools)&&!z(T,h.counts)||/^(true|false)$/.test(ie)?(P(T,ie),S++):P(T,ae(T))));else if(j.match(/^-.\..+=/))K=j.match(/^-([^=]+)=([\s\S]*)$/),K!==null&&Array.isArray(K)&&K.length>=3&&P(K[1],K[2]);else if(j.match(/^-.\..+/)&&!j.match(_))ie=r[S+1],K=j.match(/^-(.\..+)/),K!==null&&Array.isArray(K)&&K.length>=2&&(T=K[1],ie!==void 0&&!ie.match(/^-/)&&!z(T,h.bools)&&!z(T,h.counts)?(P(T,ie),S++):P(T,ae(T)));else if(j.match(/^-[^-]+/)&&!j.match(_)){X=j.slice(1,-1).split(""),q=!1;for(let vt=0;vt<X.length;vt++){if(ie=j.slice(vt+2),X[vt+1]&&X[vt+1]==="="){Qe=j.slice(vt+3),T=X[vt],z(T,h.arrays)?S=y(S,T,r,Qe):z(T,h.nargs)!==!1?S=$(S,T,r,Qe):P(T,Qe),q=!0;break}if(ie==="-"){P(X[vt],ie);continue}if(/[A-Za-z]/.test(X[vt])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(ie)&&z(ie,h.bools)===!1){P(X[vt],ie),q=!0;break}if(X[vt+1]&&X[vt+1].match(/\W/)){P(X[vt],ie),q=!0;break}else P(X[vt],ae(X[vt]))}T=j.slice(-1)[0],!q&&T!=="-"&&(z(T,h.arrays)?S=y(S,T,r):z(T,h.nargs)!==!1?S=$(S,T,r):(ie=r[S+1],ie!==void 0&&(!/^(-|--)[^-]/.test(ie)||ie.match(_))&&!z(T,h.bools)&&!z(T,h.counts)||/^(true|false)$/.test(ie)?(P(T,ie),S++):P(T,ae(T))))}else if(j.match(/^-[0-9]$/)&&j.match(_)&&z(j.slice(1),h.bools))T=j.slice(1),P(T,ae(T));else if(j==="--"){R=r.slice(S+1);break}else if(o["halt-at-non-option"]){R=r.slice(S);break}else D(j)}he(M,!0),he(M,!1),N(M),re(),pe(M,h.aliases,c,!0),Z(M),o["set-placeholder-key"]&&fe(M),Object.keys(h.counts).forEach(function(S){f(M,S.split("."))||P(S,0)}),p&&R.length&&(M[d]=[]),R.forEach(function(S){M[d].push(S)}),o["camel-case-expansion"]&&o["strip-dashed"]&&Object.keys(M).filter(S=>S!=="--"&&S.includes("-")).forEach(S=>{delete M[S]}),o["strip-aliased"]&&[].concat(...Object.keys(s).map(S=>s[S])).forEach(S=>{o["camel-case-expansion"]&&S.includes("-")&&delete M[S.split(".").map(j=>Ei(j)).join(".")],delete M[S]});function D(S){let j=A("_",S);(typeof j=="string"||typeof j=="number")&&M._.push(j)}function $(S,j,U,q){let T,X=z(j,h.nargs);if(X=typeof X!="number"||isNaN(X)?1:X,X===0)return Ze(q)||(I=Error(b("Argument unexpected for: %s",j))),P(j,ae(j)),S;let K=Ze(q)?0:1;if(o["nargs-eats-options"])U.length-(S+1)+K<X&&(I=Error(b("Not enough arguments following: %s",j))),K=X;else{for(T=S+1;T<U.length&&(!U[T].match(/^-[^0-9]/)||U[T].match(_)||de(U[T]));T++)K++;K<X&&(I=Error(b("Not enough arguments following: %s",j)))}let ie=Math.min(K,X);for(!Ze(q)&&ie>0&&(P(j,q),ie--),T=S+1;T<ie+S+1;T++)P(j,U[T]);return S+ie}function y(S,j,U,q){let T=[],X=q||U[S+1],K=z(j,h.nargs);if(z(j,h.bools)&&!/^(true|false)$/.test(X))T.push(!0);else if(Ze(X)||Ze(q)&&/^-/.test(X)&&!_.test(X)&&!de(X)){if(c[j]!==void 0){let ie=c[j];T=Array.isArray(ie)?ie:[ie]}}else{Ze(q)||T.push(v(j,q,!0));for(let ie=S+1;ie<U.length&&!(!o["greedy-arrays"]&&T.length>0||K&&typeof K=="number"&&T.length>=K||(X=U[ie],/^-/.test(X)&&!_.test(X)&&!de(X)));ie++)S=ie,T.push(v(j,X,a))}return typeof K=="number"&&(K&&T.length<K||isNaN(K)&&T.length===0)&&(I=Error(b("Not enough arguments following: %s",j))),P(j,T),S}function P(S,j,U=a){if(/-/.test(S)&&o["camel-case-expansion"]){let X=S.split(".").map(function(K){return Ei(K)}).join(".");O(S,X)}let q=v(S,j,U),T=S.split(".");E(M,T,q),h.aliases[S]&&h.aliases[S].forEach(function(X){let K=X.split(".");E(M,K,q)}),T.length>1&&o["dot-notation"]&&(h.aliases[T[0]]||[]).forEach(function(X){let K=X.split("."),ie=[].concat(T);ie.shift(),K=K.concat(ie),(h.aliases[S]||[]).includes(K.join("."))||E(M,K,q)}),z(S,h.normalize)&&!z(S,h.arrays)&&[S].concat(h.aliases[S]||[]).forEach(function(K){Object.defineProperty(H,K,{enumerable:!0,get(){return j},set(ie){j=typeof ie=="string"?jn.normalize(ie):ie}})})}function O(S,j){h.aliases[S]&&h.aliases[S].length||(h.aliases[S]=[j],g[j]=!0),h.aliases[j]&&h.aliases[j].length||O(j,S)}function v(S,j,U){U&&(j=iE(j)),(z(S,h.bools)||z(S,h.counts))&&typeof j=="string"&&(j=j==="true");let q=Array.isArray(j)?j.map(function(T){return A(S,T)}):A(S,j);return z(S,h.counts)&&(Ze(q)||typeof q=="boolean")&&(q=ru()),z(S,h.normalize)&&z(S,h.arrays)&&(Array.isArray(j)?q=j.map(T=>jn.normalize(T)):q=jn.normalize(j)),q}function A(S,j){return!o["parse-positional-numbers"]&&S==="_"||!z(S,h.strings)&&!z(S,h.bools)&&!Array.isArray(j)&&(fo(j)&&o["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${j}`)))||!Ze(j)&&z(S,h.numbers))&&(j=Number(j)),j}function N(S){let j=Object.create(null);pe(j,h.aliases,c),Object.keys(h.configs).forEach(function(U){let q=S[U]||j[U];if(q)try{let T=null,X=jn.resolve(jn.cwd(),q),K=h.configs[U];if(typeof K=="function"){try{T=K(X)}catch(ie){T=ie}if(T instanceof Error){I=T;return}}else T=jn.require(X);Y(T)}catch(T){T.name==="PermissionDenied"?I=T:S[U]&&(I=Error(b("Invalid JSON config file: %s",q)))}})}function Y(S,j){Object.keys(S).forEach(function(U){let q=S[U],T=j?j+"."+U:U;typeof q=="object"&&q!==null&&!Array.isArray(q)&&o["dot-notation"]?Y(q,T):(!f(M,T.split("."))||z(T,h.arrays)&&o["combine-arrays"])&&P(T,q)})}function re(){typeof u<"u"&&u.forEach(function(S){Y(S)})}function he(S,j){if(typeof l>"u")return;let U=typeof l=="string"?l:"",q=jn.env();Object.keys(q).forEach(function(T){if(U===""||T.lastIndexOf(U,0)===0){let X=T.split("__").map(function(K,ie){return ie===0&&(K=K.substring(U.length)),Ei(K)});(j&&h.configs[X.join(".")]||!j)&&!f(S,X)&&P(X.join("."),q[T])}})}function Z(S){let j,U=new Set;Object.keys(S).forEach(function(q){if(!U.has(q)&&(j=z(q,h.coercions),typeof j=="function"))try{let T=A(q,j(S[q]));[].concat(h.aliases[q]||[],q).forEach(X=>{U.add(X),S[X]=T})}catch(T){I=T}})}function fe(S){return h.keys.forEach(j=>{~j.indexOf(".")||typeof S[j]>"u"&&(S[j]=void 0)}),S}function pe(S,j,U,q=!1){Object.keys(U).forEach(function(T){f(S,T.split("."))||(E(S,T.split("."),U[T]),q&&(x[T]=!0),(j[T]||[]).forEach(function(X){f(S,X.split("."))||E(S,X.split("."),U[T])}))})}function f(S,j){let U=S;o["dot-notation"]||(j=[j.join(".")]),j.slice(0,-1).forEach(function(T){U=U[T]||{}});let q=j[j.length-1];return typeof U!="object"?!1:q in U}function E(S,j,U){let q=S;o["dot-notation"]||(j=[j.join(".")]),j.slice(0,-1).forEach(function(Qe){Qe=Xh(Qe),typeof q=="object"&&q[Qe]===void 0&&(q[Qe]={}),typeof q[Qe]!="object"||Array.isArray(q[Qe])?(Array.isArray(q[Qe])?q[Qe].push({}):q[Qe]=[q[Qe],{}],q=q[Qe][q[Qe].length-1]):q=q[Qe]});let T=Xh(j[j.length-1]),X=z(j.join("."),h.arrays),K=Array.isArray(U),ie=o["duplicate-arguments-array"];!ie&&z(T,h.nargs)&&(ie=!0,(!Ze(q[T])&&h.nargs[T]===1||Array.isArray(q[T])&&q[T].length===h.nargs[T])&&(q[T]=void 0)),U===ru()?q[T]=ru(q[T]):Array.isArray(q[T])?ie&&X&&K?q[T]=o["flatten-duplicate-arrays"]?q[T].concat(U):(Array.isArray(q[T][0])?q[T]:[q[T]]).concat([U]):!ie&&Boolean(X)===Boolean(K)?q[T]=U:q[T]=q[T].concat([U]):q[T]===void 0&&X?q[T]=K?U:[U]:ie&&!(q[T]===void 0||z(T,h.counts)||z(T,h.bools))?q[T]=[q[T],U]:q[T]=U}function F(...S){S.forEach(function(j){Object.keys(j||{}).forEach(function(U){h.aliases[U]||(h.aliases[U]=[].concat(s[U]||[]),h.aliases[U].concat(U).forEach(function(q){if(/-/.test(q)&&o["camel-case-expansion"]){let T=Ei(q);T!==U&&h.aliases[U].indexOf(T)===-1&&(h.aliases[U].push(T),g[T]=!0)}}),h.aliases[U].concat(U).forEach(function(q){if(q.length>1&&/[A-Z]/.test(q)&&o["camel-case-expansion"]){let T=po(q,"-");T!==U&&h.aliases[U].indexOf(T)===-1&&(h.aliases[U].push(T),g[T]=!0)}}),h.aliases[U].forEach(function(q){h.aliases[q]=[U].concat(h.aliases[U].filter(function(T){return q!==T}))}))})})}function z(S,j){let U=[].concat(h.aliases[S]||[],S),q=Object.keys(j),T=U.find(X=>q.includes(X));return T?j[T]:!1}function Se(S){let j=Object.keys(h);return[].concat(j.map(q=>h[q])).some(function(q){return Array.isArray(q)?q.includes(S):q[S]})}function Ue(S,...j){return[].concat(...j).some(function(q){let T=S.match(q);return T&&Se(T[1])})}function J(S){if(S.match(_)||!S.match(/^-[^-]+/))return!1;let j=!0,U,q=S.slice(1).split("");for(let T=0;T<q.length;T++){if(U=S.slice(T+2),!Se(q[T])){j=!1;break}if(q[T+1]&&q[T+1]==="="||U==="-"||/[A-Za-z]/.test(q[T])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(U)||q[T+1]&&q[T+1].match(/\W/))break}return j}function de(S){return o["unknown-options-as-args"]&&Ie(S)}function Ie(S){return S=S.replace(/^-{3,}/,"--"),S.match(_)||J(S)?!1:!Ue(S,/^-+([^=]+?)=[\s\S]*$/,k,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function ae(S){return!z(S,h.bools)&&!z(S,h.counts)&&`${S}`in c?c[S]:We(De(S))}function We(S){return{[Ht.BOOLEAN]:!0,[Ht.STRING]:"",[Ht.NUMBER]:void 0,[Ht.ARRAY]:[]}[S]}function De(S){let j=Ht.BOOLEAN;return z(S,h.strings)?j=Ht.STRING:z(S,h.numbers)?j=Ht.NUMBER:z(S,h.bools)?j=Ht.BOOLEAN:z(S,h.arrays)&&(j=Ht.ARRAY),j}function Ze(S){return S===void 0}function eu(){Object.keys(h.counts).find(S=>z(S,h.arrays)?(I=Error(b("Invalid configuration: %s, opts.count excludes opts.array.",S)),!0):z(S,h.nargs)?(I=Error(b("Invalid configuration: %s, opts.count excludes opts.narg.",S)),!0):!1)}return{aliases:Object.assign({},h.aliases),argv:Object.assign(H,M),configuration:o,defaulted:Object.assign({},x),error:I,newAliases:Object.assign({},g)}}};function nE(e){let t=[],n=Object.create(null),i=!0;for(Object.keys(e).forEach(function(r){t.push([].concat(e[r],r))});i;){i=!1;for(let r=0;r<t.length;r++)for(let a=r+1;a<t.length;a++)if(t[r].filter(function(o){return t[a].indexOf(o)!==-1}).length){t[r]=t[r].concat(t[a]),t.splice(a,1),i=!0;break}}return t.forEach(function(r){r=r.filter(function(s,o,c){return c.indexOf(s)===o});let a=r.pop();a!==void 0&&typeof a=="string"&&(n[a]=r)}),n}function ru(e){return e!==void 0?e+1:1}function Xh(e){return e==="__proto__"?"___proto___":e}function iE(e){return typeof e=="string"&&(e[0]==="'"||e[0]==='"')&&e[e.length-1]===e[0]?e.substring(1,e.length-1):e}var tm=require("fs");var Qh=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):12;if(process&&process.version&&Number(process.version.match(/v([^.]+)/)[1])<Qh)throw Error(`yargs parser supports a minimum Node.js version of ${Qh}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);var rE=process?process.env:{},nm=new ho({cwd:process.cwd,env:()=>rE,format:em.format,normalize:mo.normalize,resolve:mo.resolve,require:e=>{if(typeof require<"u")return require(e);if(e.match(/\.json$/))return JSON.parse((0,tm.readFileSync)(e,"utf8"));throw Error("only .json config files are supported in ESM")}}),$a=function(t,n){return nm.parse(t.slice(),n).argv};$a.detailed=function(e,t){return nm.parse(e.slice(),t)};$a.camelCase=Ei;$a.decamelize=po;$a.looksLikeNumber=fo;var au=$a;var an=require("path");function im(){return aE()?0:1}function aE(){return sE()&&!process.defaultApp}function sE(){return!!process.versions.electron}function su(e){return e.slice(im()+1)}function rm(){return process.argv[im()]}var ke=class extends Error{constructor(t){super(t||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,ke)}};var Or=require("fs"),am=require("util"),sm=require("path"),om={fs:{readFileSync:Or.readFileSync,writeFile:Or.writeFile},format:am.format,resolve:sm.resolve,exists:e=>{try{return(0,Or.statSync)(e).isFile()}catch{return!1}}};var rn,ou=class{constructor(t){t=t||{},this.directory=t.directory||"./locales",this.updateFiles=typeof t.updateFiles=="boolean"?t.updateFiles:!0,this.locale=t.locale||"en",this.fallbackToLanguage=typeof t.fallbackToLanguage=="boolean"?t.fallbackToLanguage:!0,this.cache=Object.create(null),this.writeQueue=[]}__(...t){if(typeof arguments[0]!="string")return this._taggedLiteral(arguments[0],...arguments);let n=t.shift(),i=function(){};return typeof t[t.length-1]=="function"&&(i=t.pop()),i=i||function(){},this.cache[this.locale]||this._readLocaleFile(),!this.cache[this.locale][n]&&this.updateFiles?(this.cache[this.locale][n]=n,this._enqueueWrite({directory:this.directory,locale:this.locale,cb:i})):i(),rn.format.apply(rn.format,[this.cache[this.locale][n]||n].concat(t))}__n(){let t=Array.prototype.slice.call(arguments),n=t.shift(),i=t.shift(),r=t.shift(),a=function(){};typeof t[t.length-1]=="function"&&(a=t.pop()),this.cache[this.locale]||this._readLocaleFile();let s=r===1?n:i;this.cache[this.locale][n]&&(s=this.cache[this.locale][n][r===1?"one":"other"]),!this.cache[this.locale][n]&&this.updateFiles?(this.cache[this.locale][n]={one:n,other:i},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:a})):a();let o=[s];return~s.indexOf("%d")&&o.push(r),rn.format.apply(rn.format,o.concat(t))}setLocale(t){this.locale=t}getLocale(){return this.locale}updateLocale(t){this.cache[this.locale]||this._readLocaleFile();for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(this.cache[this.locale][n]=t[n])}_taggedLiteral(t,...n){let i="";return t.forEach(function(r,a){let s=n[a+1];i+=r,typeof s<"u"&&(i+="%s")}),this.__.apply(this,[i].concat([].slice.call(n,1)))}_enqueueWrite(t){this.writeQueue.push(t),this.writeQueue.length===1&&this._processWriteQueue()}_processWriteQueue(){let t=this,n=this.writeQueue[0],i=n.directory,r=n.locale,a=n.cb,s=this._resolveLocaleFile(i,r),o=JSON.stringify(this.cache[r],null,2);rn.fs.writeFile(s,o,"utf-8",function(c){t.writeQueue.shift(),t.writeQueue.length>0&&t._processWriteQueue(),a(c)})}_readLocaleFile(){let t={},n=this._resolveLocaleFile(this.directory,this.locale);try{rn.fs.readFileSync&&(t=JSON.parse(rn.fs.readFileSync(n,"utf-8")))}catch(i){if(i instanceof SyntaxError&&(i.message="syntax error in "+n),i.code==="ENOENT")t={};else throw i}this.cache[this.locale]=t}_resolveLocaleFile(t,n){let i=rn.resolve(t,"./",n+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(i)&&~n.lastIndexOf("_")){let r=rn.resolve(t,"./",n.split("_")[0]+".json");this._fileExistsSync(r)&&(i=r)}return i}_fileExistsSync(t){return rn.exists(t)}};function cm(e,t){rn=t;let n=new ou(e);return{__:n.__.bind(n),__n:n.__n.bind(n),setLocale:n.setLocale.bind(n),getLocale:n.getLocale.bind(n),updateLocale:n.updateLocale.bind(n),locale:n.locale}}var oE=e=>cm(e,om),lm=oE;var uE={},cE="require is not supported by ESM",um="loading a directory of commands is not supported yet for ESM",za;try{za=(0,dm.fileURLToPath)(uE.url)}catch{za=process.cwd()}var lE=za.substring(0,za.lastIndexOf("node_modules")),cu={assert:{notStrictEqual:go.notStrictEqual,strictEqual:go.strictEqual},cliui:iu,findUp:Vh,getEnv:e=>process.env[e],inspect:pm.inspect,getCallerFile:()=>{throw new ke(um)},getProcessArgvBin:rm,mainFilename:lE||process.cwd(),Parser:au,path:{basename:an.basename,dirname:an.dirname,extname:an.extname,relative:an.relative,resolve:an.resolve},process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(e,t)=>process.emitWarning(e,t),execPath:()=>process.execPath,exit:process.exit,nextTick:process.nextTick,stdColumns:typeof process.stdout.columns<"u"?process.stdout.columns:null},readFileSync:fm.readFileSync,require:()=>{throw new ke(cE)},requireDirectory:()=>{throw new ke(um)},stringWidth:e=>[...e].length,y18n:lm({directory:(0,an.resolve)(za,"../../../locales"),updateFiles:!1})};function xt(e,t,n,i){n.assert.notStrictEqual(e,t,i)}function lu(e,t){t.assert.strictEqual(typeof e,"string")}function Er(e){return Object.keys(e)}function Te(e){return!!e&&!!e.then&&typeof e.then=="function"}function Hn(e){let n=e.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),i=/\.*[\][<>]/g,r=n.shift();if(!r)throw new Error(`No command found in: ${e}`);let a={cmd:r.replace(i,""),demanded:[],optional:[]};return n.forEach((s,o)=>{let c=!1;s=s.replace(/\s/g,""),/\.+[\]>]/.test(s)&&o===n.length-1&&(c=!0),/^\[/.test(s)?a.optional.push({cmd:s.replace(i,"").split("|"),variadic:c}):a.demanded.push({cmd:s.replace(i,"").split("|"),variadic:c})}),a}var pE=["first","second","third","fourth","fifth","sixth"];function G(e,t,n){function i(){return typeof e=="object"?[{demanded:[],optional:[]},e,t]:[Hn(`cmd ${e}`),t,n]}try{let r=0,[a,s,o]=i(),c=[].slice.call(s);for(;c.length&&c[c.length-1]===void 0;)c.pop();let u=o||c.length;if(u<a.demanded.length)throw new ke(`Not enough arguments provided. Expected ${a.demanded.length} but received ${c.length}.`);let l=a.demanded.length+a.optional.length;if(u>l)throw new ke(`Too many arguments provided. Expected max ${l} but received ${u}.`);a.demanded.forEach(p=>{let d=c.shift(),g=hm(d);p.cmd.filter(b=>b===g||b==="*").length===0&&mm(g,p.cmd,r),r+=1}),a.optional.forEach(p=>{if(c.length===0)return;let d=c.shift(),g=hm(d);p.cmd.filter(b=>b===g||b==="*").length===0&&mm(g,p.cmd,r),r+=1})}catch(r){console.warn(r.stack)}}function hm(e){return Array.isArray(e)?"array":e===null?"null":typeof e}function mm(e,t,n){throw new ke(`Invalid ${pE[n]||"manyith"} argument. Expected ${t.join(" or ")} but received ${e}.`)}var bo=class{constructor(t){this.globalMiddleware=[],this.frozens=[],this.yargs=t}addMiddleware(t,n,i=!0,r=!1){if(G("<array|function> [boolean] [boolean] [boolean]",[t,n,i],arguments.length),Array.isArray(t)){for(let a=0;a<t.length;a++){if(typeof t[a]!="function")throw Error("middleware must be a function");let s=t[a];s.applyBeforeValidation=n,s.global=i}Array.prototype.push.apply(this.globalMiddleware,t)}else if(typeof t=="function"){let a=t;a.applyBeforeValidation=n,a.global=i,a.mutates=r,this.globalMiddleware.push(t)}return this.yargs}addCoerceMiddleware(t,n){let i=this.yargs.getAliases();return this.globalMiddleware=this.globalMiddleware.filter(r=>{let a=[...i[n]||[],n];return r.option?!a.includes(r.option):!0}),t.option=n,this.addMiddleware(t,!0,!0,!0)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){let t=this.frozens.pop();t!==void 0&&(this.globalMiddleware=t)}reset(){this.globalMiddleware=this.globalMiddleware.filter(t=>t.global)}};function gm(e){return e?e.map(t=>(t.applyBeforeValidation=!1,t)):[]}function ki(e,t,n,i){return n.reduce((r,a)=>{if(a.applyBeforeValidation!==i)return r;if(a.mutates){if(a.applied)return r;a.applied=!0}if(Te(r))return r.then(s=>Promise.all([s,a(s,t)])).then(([s,o])=>Object.assign(s,o));{let s=a(r,t);return Te(s)?s.then(o=>Object.assign(r,o)):Object.assign(r,s)}},e)}function Ci(e,t,n=i=>{throw i}){try{let i=fE(e)?e():e;return Te(i)?i.then(r=>t(r)):t(i)}catch(i){return n(i)}}function fE(e){return typeof e=="function"}function uu(e){if(typeof require>"u")return null;for(let t=0,n=Object.keys(require.cache),i;t<n.length;t++)if(i=require.cache[n[t]],i.exports===e)return i;return null}var kr=/(^\*)|(^\$0)/,pu=class{constructor(t,n,i,r){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=r,this.usage=t,this.globalMiddleware=i,this.validation=n}addDirectory(t,n,i,r){r=r||{},typeof r.recurse!="boolean"&&(r.recurse=!1),Array.isArray(r.extensions)||(r.extensions=["js"]);let a=typeof r.visit=="function"?r.visit:s=>s;r.visit=(s,o,c)=>{let u=a(s,o,c);if(u){if(this.requireCache.has(o))return u;this.requireCache.add(o),this.addHandler(u)}return u},this.shim.requireDirectory({require:n,filename:i},t,r)}addHandler(t,n,i,r,a,s){let o=[],c=gm(a);if(r=r||(()=>{}),Array.isArray(t))if(dE(t))[t,...o]=t;else for(let u of t)this.addHandler(u);else if(mE(t)){let u=Array.isArray(t.command)||typeof t.command=="string"?t.command:this.moduleName(t);t.aliases&&(u=[].concat(u).concat(t.aliases)),this.addHandler(u,this.extractDesc(t),t.builder,t.handler,t.middlewares,t.deprecated);return}else if(bm(i)){this.addHandler([t].concat(o),n,i.builder,i.handler,i.middlewares,i.deprecated);return}if(typeof t=="string"){let u=Hn(t);o=o.map(d=>Hn(d).cmd);let l=!1,p=[u.cmd].concat(o).filter(d=>kr.test(d)?(l=!0,!1):!0);p.length===0&&l&&p.push("$0"),l&&(u.cmd=p[0],o=p.slice(1),t=t.replace(kr,u.cmd)),o.forEach(d=>{this.aliasMap[d]=u.cmd}),n!==!1&&this.usage.command(t,n,l,o,s),this.handlers[u.cmd]={original:t,description:n,handler:r,builder:i||{},middlewares:c,deprecated:s,demanded:u.demanded,optional:u.optional},l&&(this.defaultCommand=this.handlers[u.cmd])}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(t,n,i,r,a,s){let o=this.handlers[t]||this.handlers[this.aliasMap[t]]||this.defaultCommand,c=n.getInternalMethods().getContext(),u=c.commands.slice(),l=!t;t&&(c.commands.push(t),c.fullCommands.push(o.original));let p=this.applyBuilderUpdateUsageAndParse(l,o,n,i.aliases,u,r,a,s);return Te(p)?p.then(d=>this.applyMiddlewareAndGetResult(l,o,d.innerArgv,c,a,d.aliases,n)):this.applyMiddlewareAndGetResult(l,o,p.innerArgv,c,a,p.aliases,n)}applyBuilderUpdateUsageAndParse(t,n,i,r,a,s,o,c){let u=n.builder,l=i;if(vo(u)){let p=u(i.getInternalMethods().reset(r),c);if(Te(p))return p.then(d=>(l=xm(d)?d:i,this.parseAndUpdateUsage(t,n,l,a,s,o)))}else hE(u)&&(l=i.getInternalMethods().reset(r),Object.keys(n.builder).forEach(p=>{l.option(p,u[p])}));return this.parseAndUpdateUsage(t,n,l,a,s,o)}parseAndUpdateUsage(t,n,i,r,a,s){t&&i.getInternalMethods().getUsageInstance().unfreeze(!0),this.shouldUpdateUsage(i)&&i.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(r,n),n.description);let o=i.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,a,s);return Te(o)?o.then(c=>({aliases:i.parsed.aliases,innerArgv:c})):{aliases:i.parsed.aliases,innerArgv:o}}shouldUpdateUsage(t){return!t.getInternalMethods().getUsageInstance().getUsageDisabled()&&t.getInternalMethods().getUsageInstance().getUsage().length===0}usageFromParentCommandsCommandHandler(t,n){let i=kr.test(n.original)?n.original.replace(kr,"").trim():n.original,r=t.filter(a=>!kr.test(a));return r.push(i),`$0 ${r.join(" ")}`}handleValidationAndGetResult(t,n,i,r,a,s,o,c){if(!s.getInternalMethods().getHasOutput()){let u=s.getInternalMethods().runValidation(a,c,s.parsed.error,t);i=Ci(i,l=>(u(l),l))}if(n.handler&&!s.getInternalMethods().getHasOutput()){s.getInternalMethods().setHasOutput();let u=!!s.getOptions().configuration["populate--"];s.getInternalMethods().postProcess(i,u,!1,!1),i=ki(i,s,o,!1),i=Ci(i,l=>{let p=n.handler(l);return Te(p)?p.then(()=>l):l}),t||s.getInternalMethods().getUsageInstance().cacheHelpMessage(),Te(i)&&!s.getInternalMethods().hasParseCallback()&&i.catch(l=>{try{s.getInternalMethods().getUsageInstance().fail(null,l)}catch{}})}return t||(r.commands.pop(),r.fullCommands.pop()),i}applyMiddlewareAndGetResult(t,n,i,r,a,s,o){let c={};if(a)return i;o.getInternalMethods().getHasOutput()||(c=this.populatePositionals(n,i,r,o));let u=this.globalMiddleware.getMiddleware().slice(0).concat(n.middlewares),l=ki(i,o,u,!0);return Te(l)?l.then(p=>this.handleValidationAndGetResult(t,n,p,r,s,o,u,c)):this.handleValidationAndGetResult(t,n,l,r,s,o,u,c)}populatePositionals(t,n,i,r){n._=n._.slice(i.commands.length);let a=t.demanded.slice(0),s=t.optional.slice(0),o={};for(this.validation.positionalCount(a.length,n._.length);a.length;){let c=a.shift();this.populatePositional(c,n,o)}for(;s.length;){let c=s.shift();this.populatePositional(c,n,o)}return n._=i.commands.concat(n._.map(c=>""+c)),this.postProcessPositionals(n,o,this.cmdToParseOptions(t.original),r),o}populatePositional(t,n,i){let r=t.cmd[0];t.variadic?i[r]=n._.splice(0).map(String):n._.length&&(i[r]=[String(n._.shift())])}cmdToParseOptions(t){let n={array:[],default:{},alias:{},demand:{}},i=Hn(t);return i.demanded.forEach(r=>{let[a,...s]=r.cmd;r.variadic&&(n.array.push(a),n.default[a]=[]),n.alias[a]=s,n.demand[a]=!0}),i.optional.forEach(r=>{let[a,...s]=r.cmd;r.variadic&&(n.array.push(a),n.default[a]=[]),n.alias[a]=s}),n}postProcessPositionals(t,n,i,r){let a=Object.assign({},r.getOptions());a.default=Object.assign(i.default,a.default);for(let u of Object.keys(i.alias))a.alias[u]=(a.alias[u]||[]).concat(i.alias[u]);a.array=a.array.concat(i.array),a.config={};let s=[];if(Object.keys(n).forEach(u=>{n[u].map(l=>{a.configuration["unknown-options-as-args"]&&(a.key[u]=!0),s.push(`--${u}`),s.push(l)})}),!s.length)return;let o=Object.assign({},a.configuration,{"populate--":!1}),c=this.shim.Parser.detailed(s,Object.assign({},a,{configuration:o}));if(c.error)r.getInternalMethods().getUsageInstance().fail(c.error.message,c.error);else{let u=Object.keys(n);Object.keys(n).forEach(l=>{u.push(...c.aliases[l])}),Object.keys(c.argv).forEach(l=>{u.includes(l)&&(n[l]||(n[l]=c.argv[l]),!this.isInConfigs(r,l)&&!this.isDefaulted(r,l)&&Object.prototype.hasOwnProperty.call(t,l)&&Object.prototype.hasOwnProperty.call(c.argv,l)&&(Array.isArray(t[l])||Array.isArray(c.argv[l]))?t[l]=[].concat(t[l],c.argv[l]):t[l]=c.argv[l])})}}isDefaulted(t,n){let{default:i}=t.getOptions();return Object.prototype.hasOwnProperty.call(i,n)||Object.prototype.hasOwnProperty.call(i,this.shim.Parser.camelCase(n))}isInConfigs(t,n){let{configObjects:i}=t.getOptions();return i.some(r=>Object.prototype.hasOwnProperty.call(r,n))||i.some(r=>Object.prototype.hasOwnProperty.call(r,this.shim.Parser.camelCase(n)))}runDefaultBuilderOn(t){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(t)){let i=kr.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");t.getInternalMethods().getUsageInstance().usage(i,this.defaultCommand.description)}let n=this.defaultCommand.builder;if(vo(n))return n(t,!0);bm(n)||Object.keys(n).forEach(i=>{t.option(i,n[i])})}moduleName(t){let n=uu(t);if(!n)throw new Error(`No command name given for module: ${this.shim.inspect(t)}`);return this.commandFromFilename(n.filename)}commandFromFilename(t){return this.shim.path.basename(t,this.shim.path.extname(t))}extractDesc({describe:t,description:n,desc:i}){for(let r of[t,n,i]){if(typeof r=="string"||r===!1)return r;xt(r,!0,this.shim)}return!1}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){let t=this.frozens.pop();xt(t,void 0,this.shim),{handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand}=t}reset(){return this.handlers={},this.aliasMap={},this.defaultCommand=void 0,this.requireCache=new Set,this}};function vm(e,t,n,i){return new pu(e,t,n,i)}function bm(e){return typeof e=="object"&&!!e.builder&&typeof e.handler=="function"}function dE(e){return e.every(t=>typeof t=="string")}function vo(e){return typeof e=="function"}function hE(e){return typeof e=="object"}function mE(e){return typeof e=="object"&&!Array.isArray(e)}function Yn(e={},t=()=>!0){let n={};return Er(e).forEach(i=>{t(i,e[i])&&(n[i]=e[i])}),n}function Kn(e){typeof process>"u"||[process.stdout,process.stderr].forEach(t=>{let n=t;n._handle&&n.isTTY&&typeof n._handle.setBlocking=="function"&&n._handle.setBlocking(e)})}function gE(e){return typeof e=="boolean"}function wm(e,t){let n=t.y18n.__,i={},r=[];i.failFn=function(A){r.push(A)};let a=null,s=null,o=!0;i.showHelpOnFail=function(A=!0,N){let[Y,re]=typeof A=="string"?[!0,A]:[A,N];return e.getInternalMethods().isGlobalContext()&&(s=re),a=re,o=Y,i};let c=!1;i.fail=function(A,N){let Y=e.getInternalMethods().getLoggerInstance();if(r.length)for(let re=r.length-1;re>=0;--re){let he=r[re];if(gE(he)){if(N)throw N;if(A)throw Error(A)}else he(A,N,i)}else{if(e.getExitProcess()&&Kn(!0),!c){c=!0,o&&(e.showHelp("error"),Y.error()),(A||N)&&Y.error(A||N);let re=a||s;re&&((A||N)&&Y.error(""),Y.error(re))}if(N=N||new ke(A),e.getExitProcess())return e.exit(1);if(e.getInternalMethods().hasParseCallback())return e.exit(1,N);throw N}};let u=[],l=!1;i.usage=(v,A)=>v===null?(l=!0,u=[],i):(l=!1,u.push([v,A||""]),i),i.getUsage=()=>u,i.getUsageDisabled=()=>l,i.getPositionalGroupName=()=>n("Positionals:");let p=[];i.example=(v,A)=>{p.push([v,A||""])};let d=[];i.command=function(A,N,Y,re,he=!1){Y&&(d=d.map(Z=>(Z[2]=!1,Z))),d.push([A,N||"",Y,re,he])},i.getCommands=()=>d;let g={};i.describe=function(A,N){Array.isArray(A)?A.forEach(Y=>{i.describe(Y,N)}):typeof A=="object"?Object.keys(A).forEach(Y=>{i.describe(Y,A[Y])}):g[A]=N},i.getDescriptions=()=>g;let x=[];i.epilog=v=>{x.push(v)};let b=!1,h;i.wrap=v=>{b=!0,h=v};function _(){return b||(h=y(),b=!0),h}let k="__yargsString__:";i.deferY18nLookup=v=>k+v,i.help=function(){if(M)return M;R();let A=e.customScriptName?e.$0:t.path.basename(e.$0),N=e.getDemandedOptions(),Y=e.getDemandedCommands(),re=e.getDeprecatedOptions(),he=e.getGroups(),Z=e.getOptions(),fe=[];fe=fe.concat(Object.keys(g)),fe=fe.concat(Object.keys(N)),fe=fe.concat(Object.keys(Y)),fe=fe.concat(Object.keys(Z.default)),fe=fe.filter(D),fe=Object.keys(fe.reduce((J,de)=>(de!=="_"&&(J[de]=!0),J),{}));let pe=_(),f=t.cliui({width:pe,wrap:!!pe});if(!l){if(u.length)u.forEach(J=>{f.div({text:`${J[0].replace(/\$0/g,A)}`}),J[1]&&f.div({text:`${J[1]}`,padding:[1,0,0,0]})}),f.div();else if(d.length){let J=null;Y._?J=`${A} <${n("command")}>
|
|
202
|
-
`:
|
|
203
|
-
`,
|
|
204
|
-
`);
|
|
205
|
-
`)}return
|
|
181
|
+
`}};Et._defineProperty(pi,"defaults",US);Il.Document=pi;Il.defaultOptions=kN;Il.scalarOptions=TN});var YS=b(HS=>{"use strict";var fh=pS(),fi=$S(),NN=ph(),LN=ri(),qN=oh();Hs();function BN(e,t=!0,n){n===void 0&&typeof t=="string"&&(n=t,t=!0);let r=Object.assign({},fi.Document.defaults[fi.defaultOptions.version],fi.defaultOptions);return new NN.Schema(r).createNode(e,t,n)}var Ta=class extends fi.Document{constructor(t){super(Object.assign({},fi.defaultOptions,t))}};function FN(e,t){let n=[],r;for(let i of fh.parse(e)){let a=new Ta(t);a.parse(i,r),n.push(a),r=a}return n}function WS(e,t){let n=fh.parse(e),r=new Ta(t).parse(n[0]);if(n.length>1){let i="Source contains multiple documents; please use YAML.parseAllDocuments()";r.errors.unshift(new LN.YAMLSemanticError(n[1],i))}return r}function DN(e,t){let n=WS(e,t);if(n.warnings.forEach(r=>qN.warn(r)),n.errors.length>0)throw n.errors[0];return n.toJSON()}function zN(e,t){let n=new Ta(t);return n.contents=e,String(n)}var UN={createNode:BN,defaultOptions:fi.defaultOptions,Document:Ta,parse:DN,parseAllDocuments:FN,parseCST:fh.parse,parseDocument:WS,scalarOptions:fi.scalarOptions,stringify:zN};HS.YAML=UN});var KS=b((kD,GS)=>{GS.exports=YS().YAML});var sE=b((UD,aE)=>{var iE={};aE.exports=iE;var rE={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],grey:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBG:[40,49],redBG:[41,49],greenBG:[42,49],yellowBG:[43,49],blueBG:[44,49],magentaBG:[45,49],cyanBG:[46,49],whiteBG:[47,49]};Object.keys(rE).forEach(function(e){var t=rE[e],n=iE[e]=[];n.open="\x1B["+t[0]+"m",n.close="\x1B["+t[1]+"m"})});var cE=b(($D,oE)=>{var Vs=process.argv;oE.exports=function(){return Vs.indexOf("--no-color")!==-1||Vs.indexOf("--color=false")!==-1?!1:Vs.indexOf("--color")!==-1||Vs.indexOf("--color=true")!==-1||Vs.indexOf("--color=always")!==-1?!0:process.stdout&&!process.stdout.isTTY?!1:process.platform==="win32"||"COLORTERM"in process.env?!0:process.env.TERM==="dumb"?!1:!!/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)}()});var uE=b((WD,lE)=>{lE.exports=function(t,n){var r="";t=t||"Run the trap, drop the bass",t=t.split("");var i={a:["@","\u0104","\u023A","\u0245","\u0394","\u039B","\u0414"],b:["\xDF","\u0181","\u0243","\u026E","\u03B2","\u0E3F"],c:["\xA9","\u023B","\u03FE"],d:["\xD0","\u018A","\u0500","\u0501","\u0502","\u0503"],e:["\xCB","\u0115","\u018E","\u0258","\u03A3","\u03BE","\u04BC","\u0A6C"],f:["\u04FA"],g:["\u0262"],h:["\u0126","\u0195","\u04A2","\u04BA","\u04C7","\u050A"],i:["\u0F0F"],j:["\u0134"],k:["\u0138","\u04A0","\u04C3","\u051E"],l:["\u0139"],m:["\u028D","\u04CD","\u04CE","\u0520","\u0521","\u0D69"],n:["\xD1","\u014B","\u019D","\u0376","\u03A0","\u048A"],o:["\xD8","\xF5","\xF8","\u01FE","\u0298","\u047A","\u05DD","\u06DD","\u0E4F"],p:["\u01F7","\u048E"],q:["\u09CD"],r:["\xAE","\u01A6","\u0210","\u024C","\u0280","\u042F"],s:["\xA7","\u03DE","\u03DF","\u03E8"],t:["\u0141","\u0166","\u0373"],u:["\u01B1","\u054D"],v:["\u05D8"],w:["\u0428","\u0460","\u047C","\u0D70"],x:["\u04B2","\u04FE","\u04FC","\u04FD"],y:["\xA5","\u04B0","\u04CB"],z:["\u01B5","\u0240"]};return t.forEach(function(a){a=a.toLowerCase();var s=i[a]||[" "],o=Math.floor(Math.random()*s.length);typeof i[a]<"u"?r+=i[a][o]:r+=a}),r}});var fE=b((HD,pE)=>{pE.exports=function(t,n){t=t||" he is here ";var r={up:["\u030D","\u030E","\u0304","\u0305","\u033F","\u0311","\u0306","\u0310","\u0352","\u0357","\u0351","\u0307","\u0308","\u030A","\u0342","\u0313","\u0308","\u034A","\u034B","\u034C","\u0303","\u0302","\u030C","\u0350","\u0300","\u0301","\u030B","\u030F","\u0312","\u0313","\u0314","\u033D","\u0309","\u0363","\u0364","\u0365","\u0366","\u0367","\u0368","\u0369","\u036A","\u036B","\u036C","\u036D","\u036E","\u036F","\u033E","\u035B","\u0346","\u031A"],down:["\u0316","\u0317","\u0318","\u0319","\u031C","\u031D","\u031E","\u031F","\u0320","\u0324","\u0325","\u0326","\u0329","\u032A","\u032B","\u032C","\u032D","\u032E","\u032F","\u0330","\u0331","\u0332","\u0333","\u0339","\u033A","\u033B","\u033C","\u0345","\u0347","\u0348","\u0349","\u034D","\u034E","\u0353","\u0354","\u0355","\u0356","\u0359","\u035A","\u0323"],mid:["\u0315","\u031B","\u0300","\u0301","\u0358","\u0321","\u0322","\u0327","\u0328","\u0334","\u0335","\u0336","\u035C","\u035D","\u035E","\u035F","\u0360","\u0362","\u0338","\u0337","\u0361"," \u0489"]},i=[].concat(r.up,r.down,r.mid),a={};function s(u){var l=Math.floor(Math.random()*u);return l}function o(u){var l=!1;return i.filter(function(p){l=p===u}),l}function c(u,l){var p="",f,m;l=l||{},l.up=l.up||!0,l.mid=l.mid||!0,l.down=l.down||!0,l.size=l.size||"maxi",u=u.split("");for(m in u)if(!o(m)){switch(p=p+u[m],f={up:0,down:0,mid:0},l.size){case"mini":f.up=s(8),f.min=s(2),f.down=s(8);break;case"maxi":f.up=s(16)+3,f.min=s(4)+1,f.down=s(64)+3;break;default:f.up=s(8)+1,f.mid=s(6)/2,f.down=s(8)+1;break}var v=["up","mid","down"];for(var g in v)for(var d=v[g],x=0;x<=f[d];x++)l[d]&&(p=p+r[d][s(r[d].length)])}return p}return c(t)}});var hE=b((YD,dE)=>{var _h=Ra();dE.exports=function(){return function(e,t,n){if(e===" ")return e;switch(t%3){case 0:return _h.red(e);case 1:return _h.white(e);case 2:return _h.blue(e)}}}()});var gE=b((GD,mE)=>{var dL=Ra();mE.exports=function(e,t,n){return t%2===0?e:dL.inverse(e)}});var bE=b((KD,vE)=>{var hL=Ra();vE.exports=function(){var e=["red","yellow","green","blue","magenta"];return function(t,n,r){return t===" "?t:hL[e[n++%e.length]](t)}}()});var yE=b((VD,xE)=>{var mL=Ra();xE.exports=function(){var e=["underline","inverse","grey","yellow","red","green","blue","white","cyan","magenta"];return function(t,n,r){return t===" "?t:mL[e[Math.round(Math.random()*(e.length-1))]](t)}}()});var Ra=b((JD,kE)=>{var _e={};kE.exports=_e;_e.themes={};var yr=_e.styles=sE(),SE=Object.defineProperties;_e.supportsColor=cE();typeof _e.enabled>"u"&&(_e.enabled=_e.supportsColor);_e.stripColors=_e.strip=function(e){return(""+e).replace(/\x1B\[\d+m/g,"")};var ZD=_e.stylize=function(t,n){return yr[n].open+t+yr[n].close},gL=/[|\\{}()[\]^$+*?.]/g,vL=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(gL,"\\$&")};function EE(e){var t=function n(){return xL.apply(n,arguments)};return t._styles=e,t.__proto__=bL,t}var OE=function(){var e={};return yr.grey=yr.gray,Object.keys(yr).forEach(function(t){yr[t].closeRe=new RegExp(vL(yr[t].close),"g"),e[t]={get:function(){return EE(this._styles.concat(t))}}}),e}(),bL=SE(function(){},OE);function xL(){var e=arguments,t=e.length,n=t!==0&&String(arguments[0]);if(t>1)for(var r=1;r<t;r++)n+=" "+e[r];if(!_e.enabled||!n)return n;for(var i=this._styles,a=i.length;a--;){var s=yr[i[a]];n=s.open+n.replace(s.closeRe,s.open)+s.close}return n}function wE(e){for(var t in e)(function(n){_e[n]=function(r){return _e[e[n]](r)}})(t)}_e.setTheme=function(e){if(typeof e=="string")try{return _e.themes[e]=require(e),wE(_e.themes[e]),_e.themes[e]}catch(t){return console.log(t),t}else wE(e)};function yL(){var e={};return Object.keys(OE).forEach(function(t){e[t]={get:function(){return EE([t])}}}),e}var wL=function(t,n){var r=n.split(""),i=0;return r=r.map(t),r.join("")};_e.trap=uE();_e.zalgo=fE();_e.maps={};_e.maps.america=hE();_e.maps.zebra=gE();_e.maps.rainbow=bE();_e.maps.random=yE();for(_E in _e.maps)(function(e){_e[e]=function(t){return wL(_e.maps[e],t)}})(_E);var _E;SE(_e,yL())});var CE=b((XD,TE)=>{var _L=Ra();TE.exports=_L});var jE=b(Ma=>{Ma.repeat=function(e,t){return Array(t+1).join(e)};Ma.pad=function(e,t,n,r){if(t+1>=e.length)switch(r){case"left":e=Array(t+1-e.length).join(n)+e;break;case"both":var i=Math.ceil((padlen=t-e.length)/2),a=padlen-i;e=Array(a+1).join(n)+e+Array(i+1).join(n);break;default:e=e+Array(t+1-e.length).join(n)}return e};Ma.truncate=function(e,t,n){return n=n||"\u2026",e.length>=t?e.substr(0,t-n.length)+n:e};function AE(e,t){for(var n in t)n==="__proto__"||n==="constructor"||n==="prototype"||(t[n]&&t[n].constructor&&t[n].constructor===Object?(e[n]=e[n]||{},AE(e[n],t[n])):e[n]=t[n]);return e}Ma.options=AE;Ma.strlen=function(e){var t=/\u001b\[(?:\d*;){0,5}\d*m/g,n=(""+e).replace(t,""),r=n.split(`
|
|
182
|
+
`);return r.reduce(function(i,a){return a.length>i?a.length:i},0)}});var RE=b((ez,Eh)=>{var SL=CE(),hi=jE(),Sh=hi.repeat,EL=hi.truncate,OL=hi.pad;function Zs(e){if(this.options=hi.options({chars:{top:"\u2500","top-mid":"\u252C","top-left":"\u250C","top-right":"\u2510",bottom:"\u2500","bottom-mid":"\u2534","bottom-left":"\u2514","bottom-right":"\u2518",left:"\u2502","left-mid":"\u251C",mid:"\u2500","mid-mid":"\u253C",right:"\u2502","right-mid":"\u2524",middle:"\u2502"},truncate:"\u2026",colWidths:[],colAligns:[],style:{"padding-left":1,"padding-right":1,head:["red"],border:["grey"],compact:!1},head:[]},e),e&&e.rows)for(var t=0;t<e.rows.length;t++)this.push(e.rows[t])}Zs.prototype.__proto__=Array.prototype;Zs.prototype.__defineGetter__("width",function(){var e=this.toString().split(`
|
|
183
|
+
`);return e.length?e[0].length:0});Zs.prototype.render;Zs.prototype.toString=function(){var e="",t=this.options,n=t.style,r=t.head,i=t.chars,a=t.truncate,s=t.colWidths||new Array(this.head.length),o=0;if(!r.length&&!this.length)return"";if(!s.length){var c=this.slice(0);r.length&&(c=c.concat([r])),c.forEach(function(x){if(typeof x=="object"&&x.length)u(x);else{var _=Object.keys(x)[0],T=x[_];s[0]=Math.max(s[0]||0,l(_)||0),typeof T=="object"&&T.length?u(T,1):s[1]=Math.max(s[1]||0,l(T)||0)}})}o=(s.length==1?s[0]:s.reduce(function(x,_){return x+_}))+s.length+1;function u(x,T){var T=T||0;x.forEach(function(k,O){s[O+T]=Math.max(s[O+T]||0,l(k)||0)})}function l(x){return typeof x=="object"&&x.width!=null?x.width:(typeof x=="object"?hi.strlen(x.text):hi.strlen(x))+(n["padding-left"]||0)+(n["padding-right"]||0)}function p(D,_,T,k){var O=0,D=_+Sh(D,o-2)+T;return s.forEach(function(B,N){N!=s.length-1&&(O+=B+1,D=D.substr(0,O)+k+D.substr(O+1))}),v(t.style.border,D)}function f(){var x=p(i.top,i["top-left"]||i.top,i["top-right"]||i.top,i["top-mid"]);x&&(e+=x+`
|
|
184
|
+
`)}function m(x,_){var T=[],k=0;if(!Array.isArray(x)&&typeof x=="object"){var O=Object.keys(x)[0],D=x[O],B=!0;Array.isArray(D)?(x=D,x.unshift(O)):x=[O,D]}x.forEach(function(F,q){var M=F.toString().split(`
|
|
185
|
+
`).reduce(function(L,G){return L.push(g(G,q)),L},[]),R=M.length;R>k&&(k=R),T.push({contents:M,height:R})});var N=new Array(k);T.forEach(function(F,q){F.contents.forEach(function(L,G){N[G]||(N[G]=[]),(_||B&&q===0&&t.style.head)&&(L=v(t.style.head,L)),N[G].push(L)});for(var M=F.height,R=k;M<R;M++)N[M]||(N[M]=[]),N[M].push(g("",q))});var W="";return N.forEach(function(F,q){W.length>0&&(W+=`
|
|
186
|
+
`+v(t.style.border,i.left)),W+=F.join(v(t.style.border,i.middle))+v(t.style.border,i.right)}),v(t.style.border,i.left)+W}function v(x,_){return _?(x.forEach(function(T){_=SL[T](_)}),_):""}function g(T,_){var T=String(typeof T=="object"&&T.text?T.text:T),k=hi.strlen(T),O=s[_]-(n["padding-left"]||0)-(n["padding-right"]||0),D=t.colAligns[_]||"left";return Sh(" ",n["padding-left"]||0)+(k==O?T:k<O?OL(T,O+(T.length-k)," ",D=="left"?"right":D=="middle"?"both":"left"):a?EL(T,O,a):T)+Sh(" ",n["padding-right"]||0)}r.length&&(f(),e+=m(r,n.head)+`
|
|
187
|
+
`),this.length&&this.forEach(function(x,_){if(!r.length&&_==0)f();else if(!n.compact||_<!!r.length||x.length==0){var T=p(i.mid,i["left-mid"],i["right-mid"],i["mid-mid"]);T&&(e+=T+`
|
|
188
|
+
`)}x.hasOwnProperty("length")&&!x.length||(e+=m(x)+`
|
|
189
|
+
`)});var d=p(i.bottom,i["bottom-left"]||i.bottom,i["bottom-right"]||i.bottom,i["bottom-mid"]);return d?e+=d:e=e.slice(0,-1),e};Eh.exports=Zs;Eh.exports.version="0.0.1"});var Tq={};module.exports=fO(Tq);var io=require("assert");var dO={right:bO,center:xO},hO=0,Js=1,mO=2,Xs=3,Wl=class{constructor(t){var n;this.width=t.width,this.wrap=(n=t.wrap)!==null&&n!==void 0?n:!0,this.rows=[]}span(...t){let n=this.div(...t);n.span=!0}resetOutput(){this.rows=[]}div(...t){if(t.length===0&&this.div(""),this.wrap&&this.shouldApplyLayoutDSL(...t)&&typeof t[0]=="string")return this.applyLayoutDSL(t[0]);let n=t.map(r=>typeof r=="string"?this.colFromString(r):r);return this.rows.push(n),n}shouldApplyLayoutDSL(...t){return t.length===1&&typeof t[0]=="string"&&/[\t\n]/.test(t[0])}applyLayoutDSL(t){let n=t.split(`
|
|
190
|
+
`).map(i=>i.split(" ")),r=0;return n.forEach(i=>{i.length>1&&Rt.stringWidth(i[0])>r&&(r=Math.min(Math.floor(this.width*.5),Rt.stringWidth(i[0])))}),n.forEach(i=>{this.div(...i.map((a,s)=>({text:a.trim(),padding:this.measurePadding(a),width:s===0&&i.length>1?r:void 0})))}),this.rows[this.rows.length-1]}colFromString(t){return{text:t,padding:this.measurePadding(t)}}measurePadding(t){let n=Rt.stripAnsi(t);return[0,n.match(/\s*$/)[0].length,0,n.match(/^\s*/)[0].length]}toString(){let t=[];return this.rows.forEach(n=>{this.rowToString(n,t)}),t.filter(n=>!n.hidden).map(n=>n.text).join(`
|
|
191
|
+
`)}rowToString(t,n){return this.rasterize(t).forEach((r,i)=>{let a="";r.forEach((s,o)=>{let{width:c}=t[o],u=this.negatePadding(t[o]),l=s;if(u>Rt.stringWidth(s)&&(l+=" ".repeat(u-Rt.stringWidth(s))),t[o].align&&t[o].align!=="left"&&this.wrap){let f=dO[t[o].align];l=f(l,u),Rt.stringWidth(l)<u&&(l+=" ".repeat((c||0)-Rt.stringWidth(l)-1))}let p=t[o].padding||[0,0,0,0];p[Xs]&&(a+=" ".repeat(p[Xs])),a+=Wh(t[o],l,"| "),a+=l,a+=Wh(t[o],l," |"),p[Js]&&(a+=" ".repeat(p[Js])),i===0&&n.length>0&&(a=this.renderInline(a,n[n.length-1]))}),n.push({text:a.replace(/ +$/,""),span:t.span})}),n}renderInline(t,n){let r=t.match(/^ */),i=r?r[0].length:0,a=n.text,s=Rt.stringWidth(a.trimRight());return n.span?this.wrap?i<s?t:(n.hidden=!0,a.trimRight()+" ".repeat(i-s)+t.trimLeft()):(n.hidden=!0,a+t):t}rasterize(t){let n=[],r=this.columnWidths(t),i;return t.forEach((a,s)=>{a.width=r[s],this.wrap?i=Rt.wrap(a.text,this.negatePadding(a),{hard:!0}).split(`
|
|
192
|
+
`):i=a.text.split(`
|
|
193
|
+
`),a.border&&(i.unshift("."+"-".repeat(this.negatePadding(a)+2)+"."),i.push("'"+"-".repeat(this.negatePadding(a)+2)+"'")),a.padding&&(i.unshift(...new Array(a.padding[hO]||0).fill("")),i.push(...new Array(a.padding[mO]||0).fill(""))),i.forEach((o,c)=>{n[c]||n.push([]);let u=n[c];for(let l=0;l<s;l++)u[l]===void 0&&u.push("");u.push(o)})}),n}negatePadding(t){let n=t.width||0;return t.padding&&(n-=(t.padding[Xs]||0)+(t.padding[Js]||0)),t.border&&(n-=4),n}columnWidths(t){if(!this.wrap)return t.map(s=>s.width||Rt.stringWidth(s.text));let n=t.length,r=this.width,i=t.map(s=>{if(s.width)return n--,r-=s.width,s.width}),a=n?Math.floor(r/n):0;return i.map((s,o)=>s===void 0?Math.max(a,gO(t[o])):s)}};function Wh(e,t,n){return e.border?/[.']-+[.']/.test(t)?"":t.trim().length!==0?n:" ":""}function gO(e){let t=e.padding||[],n=1+(t[Xs]||0)+(t[Js]||0);return e.border?n+4:n}function vO(){return typeof process=="object"&&process.stdout&&process.stdout.columns?process.stdout.columns:80}function bO(e,t){e=e.trim();let n=Rt.stringWidth(e);return n<t?" ".repeat(t-n)+e:e}function xO(e,t){e=e.trim();let n=Rt.stringWidth(e);return n>=t?e:" ".repeat(t-n>>1)+e}var Rt;function Hh(e,t){return Rt=t,new Wl({width:e?.width||vO(),wrap:e?.wrap})}var Yh=new RegExp("\x1B(?:\\[(?:\\d+[ABCDEFGJKSTm]|\\d+;\\d+[Hfm]|\\d+;\\d+;\\d+m|6n|s|u|\\?25[lh])|\\w)","g");function Hl(e){return e.replace(Yh,"")}function Gh(e,t){let[n,r]=e.match(Yh)||["",""];e=Hl(e);let i="";for(let a=0;a<e.length;a++)a!==0&&a%t===0&&(i+=`
|
|
194
|
+
`),i+=e.charAt(a);return n&&r&&(i=`${n}${i}${r}`),i}function Yl(e){return Hh(e,{stringWidth:t=>[...t].length,stripAnsi:Hl,wrap:Gh})}var mi=require("path"),Qs=require("fs");function Kh(e,t){let n=(0,mi.resolve)(".",e),r;for((0,Qs.statSync)(n).isDirectory()||(n=(0,mi.dirname)(n));;){if(r=t(n,(0,Qs.readdirSync)(n)),r)return(0,mi.resolve)(n,r);if(n=(0,mi.dirname)(r=n),r===n)break}}var lm=require("util"),um=require("fs"),pm=require("url");var Xh=require("util"),ro=require("path");function wr(e){if(e!==e.toLowerCase()&&e!==e.toUpperCase()||(e=e.toLowerCase()),e.indexOf("-")===-1&&e.indexOf("_")===-1)return e;{let n="",r=!1,i=e.match(/^-+/);for(let a=i?i[0].length:0;a<e.length;a++){let s=e.charAt(a);r&&(r=!1,s=s.toUpperCase()),a!==0&&(s==="-"||s==="_")?r=!0:s!=="-"&&s!=="_"&&(n+=s)}return n}}function eo(e,t){let n=e.toLowerCase();t=t||"-";let r="";for(let i=0;i<e.length;i++){let a=n.charAt(i),s=e.charAt(i);a!==s&&i>0?r+=`${t}${n.charAt(i)}`:r+=s}return r}function to(e){return e==null?!1:typeof e=="number"||/^0x[0-9a-f]+$/i.test(e)?!0:/^0[^.]/.test(e)?!1:/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e)}function Vh(e){if(Array.isArray(e))return e.map(s=>typeof s!="string"?s+"":s);e=e.trim();let t=0,n=null,r=null,i=null,a=[];for(let s=0;s<e.length;s++){if(n=r,r=e.charAt(s),r===" "&&!i){n!==" "&&t++;continue}r===i?i=null:(r==="'"||r==='"')&&!i&&(i=r),a[t]||(a[t]=""),a[t]+=r}return a}var Yt;(function(e){e.BOOLEAN="boolean",e.STRING="string",e.NUMBER="number",e.ARRAY="array"})(Yt||(Yt={}));var Cn,no=class{constructor(t){Cn=t}parse(t,n){let r=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0,count:void 0,default:void 0,envPrefix:void 0,narg:void 0,normalize:void 0,string:void 0,number:void 0,__:void 0,key:void 0},n),i=Vh(t),a=typeof t=="string",s=yO(Object.assign(Object.create(null),r.alias)),o=Object.assign({"boolean-negation":!0,"camel-case-expansion":!0,"combine-arrays":!1,"dot-notation":!0,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"greedy-arrays":!0,"halt-at-non-option":!1,"nargs-eats-options":!1,"negation-prefix":"no-","parse-numbers":!0,"parse-positional-numbers":!0,"populate--":!1,"set-placeholder-key":!1,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,"unknown-options-as-args":!1},r.configuration),c=Object.assign(Object.create(null),r.default),u=r.configObjects||[],l=r.envPrefix,p=o["populate--"],f=p?"--":"_",m=Object.create(null),v=Object.create(null),g=r.__||Cn.format,d={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]},x=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,_=new RegExp("^--"+o["negation-prefix"]+"(.+)");[].concat(r.array||[]).filter(Boolean).forEach(function(y){let E=typeof y=="object"?y.key:y,I=Object.keys(y).map(function(j){return{boolean:"bools",string:"strings",number:"numbers"}[j]}).filter(Boolean).pop();I&&(d[I][E]=!0),d.arrays[E]=!0,d.keys.push(E)}),[].concat(r.boolean||[]).filter(Boolean).forEach(function(y){d.bools[y]=!0,d.keys.push(y)}),[].concat(r.string||[]).filter(Boolean).forEach(function(y){d.strings[y]=!0,d.keys.push(y)}),[].concat(r.number||[]).filter(Boolean).forEach(function(y){d.numbers[y]=!0,d.keys.push(y)}),[].concat(r.count||[]).filter(Boolean).forEach(function(y){d.counts[y]=!0,d.keys.push(y)}),[].concat(r.normalize||[]).filter(Boolean).forEach(function(y){d.normalize[y]=!0,d.keys.push(y)}),typeof r.narg=="object"&&Object.entries(r.narg).forEach(([y,E])=>{typeof E=="number"&&(d.nargs[y]=E,d.keys.push(y))}),typeof r.coerce=="object"&&Object.entries(r.coerce).forEach(([y,E])=>{typeof E=="function"&&(d.coercions[y]=E,d.keys.push(y))}),typeof r.config<"u"&&(Array.isArray(r.config)||typeof r.config=="string"?[].concat(r.config).filter(Boolean).forEach(function(y){d.configs[y]=!0}):typeof r.config=="object"&&Object.entries(r.config).forEach(([y,E])=>{(typeof E=="boolean"||typeof E=="function")&&(d.configs[y]=E)})),ae(r.key,s,r.default,d.arrays),Object.keys(c).forEach(function(y){(d.aliases[y]||[]).forEach(function(E){c[E]=c[y]})});let T=null;Ul();let k=[],O=Object.assign(Object.create(null),{_:[]}),D={};for(let y=0;y<i.length;y++){let E=i[y],I=E.replace(/^-{3,}/,"---"),j,S,V,z,te,Je;if(E!=="--"&&le(E))B(E);else if(I.match(/---+(=|$)/)){B(E);continue}else if(E.match(/^--.+=/)||!o["short-option-groups"]&&E.match(/^-.+=/))z=E.match(/^--?([^=]+)=([\s\S]*)$/),z!==null&&Array.isArray(z)&&z.length>=3&&($(z[1],d.arrays)?y=W(y,z[1],i,z[2]):$(z[1],d.nargs)!==!1?y=N(y,z[1],i,z[2]):F(z[1],z[2],!0));else if(E.match(_)&&o["boolean-negation"])z=E.match(_),z!==null&&Array.isArray(z)&&z.length>=2&&(S=z[1],F(S,$(S,d.arrays)?[!1]:!1));else if(E.match(/^--.+/)||!o["short-option-groups"]&&E.match(/^-[^-]+/))z=E.match(/^--?(.+)/),z!==null&&Array.isArray(z)&&z.length>=2&&(S=z[1],$(S,d.arrays)?y=W(y,S,i):$(S,d.nargs)!==!1?y=N(y,S,i):(te=i[y+1],te!==void 0&&(!te.match(/^-/)||te.match(x))&&!$(S,d.bools)&&!$(S,d.counts)||/^(true|false)$/.test(te)?(F(S,te),y++):F(S,re(S))));else if(E.match(/^-.\..+=/))z=E.match(/^-([^=]+)=([\s\S]*)$/),z!==null&&Array.isArray(z)&&z.length>=3&&F(z[1],z[2]);else if(E.match(/^-.\..+/)&&!E.match(x))te=i[y+1],z=E.match(/^-(.\..+)/),z!==null&&Array.isArray(z)&&z.length>=2&&(S=z[1],te!==void 0&&!te.match(/^-/)&&!$(S,d.bools)&&!$(S,d.counts)?(F(S,te),y++):F(S,re(S)));else if(E.match(/^-[^-]+/)&&!E.match(x)){V=E.slice(1,-1).split(""),j=!1;for(let gt=0;gt<V.length;gt++){if(te=E.slice(gt+2),V[gt+1]&&V[gt+1]==="="){Je=E.slice(gt+3),S=V[gt],$(S,d.arrays)?y=W(y,S,i,Je):$(S,d.nargs)!==!1?y=N(y,S,i,Je):F(S,Je),j=!0;break}if(te==="-"){F(V[gt],te);continue}if(/[A-Za-z]/.test(V[gt])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(te)&&$(te,d.bools)===!1){F(V[gt],te),j=!0;break}if(V[gt+1]&&V[gt+1].match(/\W/)){F(V[gt],te),j=!0;break}else F(V[gt],re(V[gt]))}S=E.slice(-1)[0],!j&&S!=="-"&&($(S,d.arrays)?y=W(y,S,i):$(S,d.nargs)!==!1?y=N(y,S,i):(te=i[y+1],te!==void 0&&(!/^(-|--)[^-]/.test(te)||te.match(x))&&!$(S,d.bools)&&!$(S,d.counts)||/^(true|false)$/.test(te)?(F(S,te),y++):F(S,re(S))))}else if(E.match(/^-[0-9]$/)&&E.match(x)&&$(E.slice(1),d.bools))S=E.slice(1),F(S,re(S));else if(E==="--"){k=i.slice(y+1);break}else if(o["halt-at-non-option"]){k=i.slice(y);break}else B(E)}be(O,!0),be(O,!1),L(O),ue(),pe(O,d.aliases,c,!0),ee(O),o["set-placeholder-key"]&&Ee(O),Object.keys(d.counts).forEach(function(y){K(O,y.split("."))||F(y,0)}),p&&k.length&&(O[f]=[]),k.forEach(function(y){O[f].push(y)}),o["camel-case-expansion"]&&o["strip-dashed"]&&Object.keys(O).filter(y=>y!=="--"&&y.includes("-")).forEach(y=>{delete O[y]}),o["strip-aliased"]&&[].concat(...Object.keys(s).map(y=>s[y])).forEach(y=>{o["camel-case-expansion"]&&y.includes("-")&&delete O[y.split(".").map(E=>wr(E)).join(".")],delete O[y]});function B(y){let E=R("_",y);(typeof E=="string"||typeof E=="number")&&O._.push(E)}function N(y,E,I,j){let S,V=$(E,d.nargs);if(V=typeof V!="number"||isNaN(V)?1:V,V===0)return Ke(j)||(T=Error(g("Argument unexpected for: %s",E))),F(E,re(E)),y;let z=Ke(j)?0:1;if(o["nargs-eats-options"])I.length-(y+1)+z<V&&(T=Error(g("Not enough arguments following: %s",E))),z=V;else{for(S=y+1;S<I.length&&(!I[S].match(/^-[^0-9]/)||I[S].match(x)||le(I[S]));S++)z++;z<V&&(T=Error(g("Not enough arguments following: %s",E)))}let te=Math.min(z,V);for(!Ke(j)&&te>0&&(F(E,j),te--),S=y+1;S<te+y+1;S++)F(E,I[S]);return y+te}function W(y,E,I,j){let S=[],V=j||I[y+1],z=$(E,d.nargs);if($(E,d.bools)&&!/^(true|false)$/.test(V))S.push(!0);else if(Ke(V)||Ke(j)&&/^-/.test(V)&&!x.test(V)&&!le(V)){if(c[E]!==void 0){let te=c[E];S=Array.isArray(te)?te:[te]}}else{Ke(j)||S.push(M(E,j,!0));for(let te=y+1;te<I.length&&!(!o["greedy-arrays"]&&S.length>0||z&&typeof z=="number"&&S.length>=z||(V=I[te],/^-/.test(V)&&!x.test(V)&&!le(V)));te++)y=te,S.push(M(E,V,a))}return typeof z=="number"&&(z&&S.length<z||isNaN(z)&&S.length===0)&&(T=Error(g("Not enough arguments following: %s",E))),F(E,S),y}function F(y,E,I=a){if(/-/.test(y)&&o["camel-case-expansion"]){let V=y.split(".").map(function(z){return wr(z)}).join(".");q(y,V)}let j=M(y,E,I),S=y.split(".");de(O,S,j),d.aliases[y]&&d.aliases[y].forEach(function(V){let z=V.split(".");de(O,z,j)}),S.length>1&&o["dot-notation"]&&(d.aliases[S[0]]||[]).forEach(function(V){let z=V.split("."),te=[].concat(S);te.shift(),z=z.concat(te),(d.aliases[y]||[]).includes(z.join("."))||de(O,z,j)}),$(y,d.normalize)&&!$(y,d.arrays)&&[y].concat(d.aliases[y]||[]).forEach(function(z){Object.defineProperty(D,z,{enumerable:!0,get(){return E},set(te){E=typeof te=="string"?Cn.normalize(te):te}})})}function q(y,E){d.aliases[y]&&d.aliases[y].length||(d.aliases[y]=[E],m[E]=!0),d.aliases[E]&&d.aliases[E].length||q(E,y)}function M(y,E,I){I&&(E=wO(E)),($(y,d.bools)||$(y,d.counts))&&typeof E=="string"&&(E=E==="true");let j=Array.isArray(E)?E.map(function(S){return R(y,S)}):R(y,E);return $(y,d.counts)&&(Ke(j)||typeof j=="boolean")&&(j=Gl()),$(y,d.normalize)&&$(y,d.arrays)&&(Array.isArray(E)?j=E.map(S=>Cn.normalize(S)):j=Cn.normalize(E)),j}function R(y,E){return!o["parse-positional-numbers"]&&y==="_"||!$(y,d.strings)&&!$(y,d.bools)&&!Array.isArray(E)&&(to(E)&&o["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${E}`)))||!Ke(E)&&$(y,d.numbers))&&(E=Number(E)),E}function L(y){let E=Object.create(null);pe(E,d.aliases,c),Object.keys(d.configs).forEach(function(I){let j=y[I]||E[I];if(j)try{let S=null,V=Cn.resolve(Cn.cwd(),j),z=d.configs[I];if(typeof z=="function"){try{S=z(V)}catch(te){S=te}if(S instanceof Error){T=S;return}}else S=Cn.require(V);G(S)}catch(S){S.name==="PermissionDenied"?T=S:y[I]&&(T=Error(g("Invalid JSON config file: %s",j)))}})}function G(y,E){Object.keys(y).forEach(function(I){let j=y[I],S=E?E+"."+I:I;typeof j=="object"&&j!==null&&!Array.isArray(j)&&o["dot-notation"]?G(j,S):(!K(O,S.split("."))||$(S,d.arrays)&&o["combine-arrays"])&&F(S,j)})}function ue(){typeof u<"u"&&u.forEach(function(y){G(y)})}function be(y,E){if(typeof l>"u")return;let I=typeof l=="string"?l:"",j=Cn.env();Object.keys(j).forEach(function(S){if(I===""||S.lastIndexOf(I,0)===0){let V=S.split("__").map(function(z,te){return te===0&&(z=z.substring(I.length)),wr(z)});(E&&d.configs[V.join(".")]||!E)&&!K(y,V)&&F(V.join("."),j[S])}})}function ee(y){let E,I=new Set;Object.keys(y).forEach(function(j){if(!I.has(j)&&(E=$(j,d.coercions),typeof E=="function"))try{let S=R(j,E(y[j]));[].concat(d.aliases[j]||[],j).forEach(V=>{I.add(V),y[V]=S})}catch(S){T=S}})}function Ee(y){return d.keys.forEach(E=>{~E.indexOf(".")||typeof y[E]>"u"&&(y[E]=void 0)}),y}function pe(y,E,I,j=!1){Object.keys(I).forEach(function(S){K(y,S.split("."))||(de(y,S.split("."),I[S]),j&&(v[S]=!0),(E[S]||[]).forEach(function(V){K(y,V.split("."))||de(y,V.split("."),I[S])}))})}function K(y,E){let I=y;o["dot-notation"]||(E=[E.join(".")]),E.slice(0,-1).forEach(function(S){I=I[S]||{}});let j=E[E.length-1];return typeof I!="object"?!1:j in I}function de(y,E,I){let j=y;o["dot-notation"]||(E=[E.join(".")]),E.slice(0,-1).forEach(function(Je){Je=Zh(Je),typeof j=="object"&&j[Je]===void 0&&(j[Je]={}),typeof j[Je]!="object"||Array.isArray(j[Je])?(Array.isArray(j[Je])?j[Je].push({}):j[Je]=[j[Je],{}],j=j[Je][j[Je].length-1]):j=j[Je]});let S=Zh(E[E.length-1]),V=$(E.join("."),d.arrays),z=Array.isArray(I),te=o["duplicate-arguments-array"];!te&&$(S,d.nargs)&&(te=!0,(!Ke(j[S])&&d.nargs[S]===1||Array.isArray(j[S])&&j[S].length===d.nargs[S])&&(j[S]=void 0)),I===Gl()?j[S]=Gl(j[S]):Array.isArray(j[S])?te&&V&&z?j[S]=o["flatten-duplicate-arrays"]?j[S].concat(I):(Array.isArray(j[S][0])?j[S]:[j[S]]).concat([I]):!te&&Boolean(V)===Boolean(z)?j[S]=I:j[S]=j[S].concat([I]):j[S]===void 0&&V?j[S]=z?I:[I]:te&&!(j[S]===void 0||$(S,d.counts)||$(S,d.bools))?j[S]=[j[S],I]:j[S]=I}function ae(...y){y.forEach(function(E){Object.keys(E||{}).forEach(function(I){d.aliases[I]||(d.aliases[I]=[].concat(s[I]||[]),d.aliases[I].concat(I).forEach(function(j){if(/-/.test(j)&&o["camel-case-expansion"]){let S=wr(j);S!==I&&d.aliases[I].indexOf(S)===-1&&(d.aliases[I].push(S),m[S]=!0)}}),d.aliases[I].concat(I).forEach(function(j){if(j.length>1&&/[A-Z]/.test(j)&&o["camel-case-expansion"]){let S=eo(j,"-");S!==I&&d.aliases[I].indexOf(S)===-1&&(d.aliases[I].push(S),m[S]=!0)}}),d.aliases[I].forEach(function(j){d.aliases[j]=[I].concat(d.aliases[I].filter(function(S){return j!==S}))}))})})}function $(y,E){let I=[].concat(d.aliases[y]||[],y),j=Object.keys(E),S=I.find(V=>j.includes(V));return S?E[S]:!1}function mt(y){let E=Object.keys(d);return[].concat(E.map(j=>d[j])).some(function(j){return Array.isArray(j)?j.includes(y):j[y]})}function Ht(y,...E){return[].concat(...E).some(function(j){let S=y.match(j);return S&&mt(S[1])})}function X(y){if(y.match(x)||!y.match(/^-[^-]+/))return!1;let E=!0,I,j=y.slice(1).split("");for(let S=0;S<j.length;S++){if(I=y.slice(S+2),!mt(j[S])){E=!1;break}if(j[S+1]&&j[S+1]==="="||I==="-"||/[A-Za-z]/.test(j[S])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(I)||j[S+1]&&j[S+1].match(/\W/))break}return E}function le(y){return o["unknown-options-as-args"]&&Pe(y)}function Pe(y){return y=y.replace(/^-{3,}/,"--"),y.match(x)||X(y)?!1:!Ht(y,/^-+([^=]+?)=[\s\S]*$/,_,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function re(y){return!$(y,d.bools)&&!$(y,d.counts)&&`${y}`in c?c[y]:$e(Fe(y))}function $e(y){return{[Yt.BOOLEAN]:!0,[Yt.STRING]:"",[Yt.NUMBER]:void 0,[Yt.ARRAY]:[]}[y]}function Fe(y){let E=Yt.BOOLEAN;return $(y,d.strings)?E=Yt.STRING:$(y,d.numbers)?E=Yt.NUMBER:$(y,d.bools)?E=Yt.BOOLEAN:$(y,d.arrays)&&(E=Yt.ARRAY),E}function Ke(y){return y===void 0}function Ul(){Object.keys(d.counts).find(y=>$(y,d.arrays)?(T=Error(g("Invalid configuration: %s, opts.count excludes opts.array.",y)),!0):$(y,d.nargs)?(T=Error(g("Invalid configuration: %s, opts.count excludes opts.narg.",y)),!0):!1)}return{aliases:Object.assign({},d.aliases),argv:Object.assign(D,O),configuration:o,defaulted:Object.assign({},v),error:T,newAliases:Object.assign({},m)}}};function yO(e){let t=[],n=Object.create(null),r=!0;for(Object.keys(e).forEach(function(i){t.push([].concat(e[i],i))});r;){r=!1;for(let i=0;i<t.length;i++)for(let a=i+1;a<t.length;a++)if(t[i].filter(function(o){return t[a].indexOf(o)!==-1}).length){t[i]=t[i].concat(t[a]),t.splice(a,1),r=!0;break}}return t.forEach(function(i){i=i.filter(function(s,o,c){return c.indexOf(s)===o});let a=i.pop();a!==void 0&&typeof a=="string"&&(n[a]=i)}),n}function Gl(e){return e!==void 0?e+1:1}function Zh(e){return e==="__proto__"?"___proto___":e}function wO(e){return typeof e=="string"&&(e[0]==="'"||e[0]==='"')&&e[e.length-1]===e[0]?e.substring(1,e.length-1):e}var Qh=require("fs");var Jh=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):12;if(process&&process.version&&Number(process.version.match(/v([^.]+)/)[1])<Jh)throw Error(`yargs parser supports a minimum Node.js version of ${Jh}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);var _O=process?process.env:{},em=new no({cwd:process.cwd,env:()=>_O,format:Xh.format,normalize:ro.normalize,resolve:ro.resolve,require:e=>{if(typeof require<"u")return require(e);if(e.match(/\.json$/))return JSON.parse((0,Qh.readFileSync)(e,"utf8"));throw Error("only .json config files are supported in ESM")}}),Ia=function(t,n){return em.parse(t.slice(),n).argv};Ia.detailed=function(e,t){return em.parse(e.slice(),t)};Ia.camelCase=wr;Ia.decamelize=eo;Ia.looksLikeNumber=to;var Kl=Ia;var rn=require("path");function tm(){return SO()?0:1}function SO(){return EO()&&!process.defaultApp}function EO(){return!!process.versions.electron}function Vl(e){return e.slice(tm()+1)}function nm(){return process.argv[tm()]}var Se=class extends Error{constructor(t){super(t||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,Se)}};var gi=require("fs"),rm=require("util"),im=require("path"),am={fs:{readFileSync:gi.readFileSync,writeFile:gi.writeFile},format:rm.format,resolve:im.resolve,exists:e=>{try{return(0,gi.statSync)(e).isFile()}catch{return!1}}};var nn,Zl=class{constructor(t){t=t||{},this.directory=t.directory||"./locales",this.updateFiles=typeof t.updateFiles=="boolean"?t.updateFiles:!0,this.locale=t.locale||"en",this.fallbackToLanguage=typeof t.fallbackToLanguage=="boolean"?t.fallbackToLanguage:!0,this.cache=Object.create(null),this.writeQueue=[]}__(...t){if(typeof arguments[0]!="string")return this._taggedLiteral(arguments[0],...arguments);let n=t.shift(),r=function(){};return typeof t[t.length-1]=="function"&&(r=t.pop()),r=r||function(){},this.cache[this.locale]||this._readLocaleFile(),!this.cache[this.locale][n]&&this.updateFiles?(this.cache[this.locale][n]=n,this._enqueueWrite({directory:this.directory,locale:this.locale,cb:r})):r(),nn.format.apply(nn.format,[this.cache[this.locale][n]||n].concat(t))}__n(){let t=Array.prototype.slice.call(arguments),n=t.shift(),r=t.shift(),i=t.shift(),a=function(){};typeof t[t.length-1]=="function"&&(a=t.pop()),this.cache[this.locale]||this._readLocaleFile();let s=i===1?n:r;this.cache[this.locale][n]&&(s=this.cache[this.locale][n][i===1?"one":"other"]),!this.cache[this.locale][n]&&this.updateFiles?(this.cache[this.locale][n]={one:n,other:r},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:a})):a();let o=[s];return~s.indexOf("%d")&&o.push(i),nn.format.apply(nn.format,o.concat(t))}setLocale(t){this.locale=t}getLocale(){return this.locale}updateLocale(t){this.cache[this.locale]||this._readLocaleFile();for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(this.cache[this.locale][n]=t[n])}_taggedLiteral(t,...n){let r="";return t.forEach(function(i,a){let s=n[a+1];r+=i,typeof s<"u"&&(r+="%s")}),this.__.apply(this,[r].concat([].slice.call(n,1)))}_enqueueWrite(t){this.writeQueue.push(t),this.writeQueue.length===1&&this._processWriteQueue()}_processWriteQueue(){let t=this,n=this.writeQueue[0],r=n.directory,i=n.locale,a=n.cb,s=this._resolveLocaleFile(r,i),o=JSON.stringify(this.cache[i],null,2);nn.fs.writeFile(s,o,"utf-8",function(c){t.writeQueue.shift(),t.writeQueue.length>0&&t._processWriteQueue(),a(c)})}_readLocaleFile(){let t={},n=this._resolveLocaleFile(this.directory,this.locale);try{nn.fs.readFileSync&&(t=JSON.parse(nn.fs.readFileSync(n,"utf-8")))}catch(r){if(r instanceof SyntaxError&&(r.message="syntax error in "+n),r.code==="ENOENT")t={};else throw r}this.cache[this.locale]=t}_resolveLocaleFile(t,n){let r=nn.resolve(t,"./",n+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(r)&&~n.lastIndexOf("_")){let i=nn.resolve(t,"./",n.split("_")[0]+".json");this._fileExistsSync(i)&&(r=i)}return r}_fileExistsSync(t){return nn.exists(t)}};function sm(e,t){nn=t;let n=new Zl(e);return{__:n.__.bind(n),__n:n.__n.bind(n),setLocale:n.setLocale.bind(n),getLocale:n.getLocale.bind(n),updateLocale:n.updateLocale.bind(n),locale:n.locale}}var OO=e=>sm(e,am),om=OO;var CO={},kO="require is not supported by ESM",cm="loading a directory of commands is not supported yet for ESM",Na;try{Na=(0,pm.fileURLToPath)(CO.url)}catch{Na=process.cwd()}var TO=Na.substring(0,Na.lastIndexOf("node_modules")),Jl={assert:{notStrictEqual:io.notStrictEqual,strictEqual:io.strictEqual},cliui:Yl,findUp:Kh,getEnv:e=>process.env[e],inspect:lm.inspect,getCallerFile:()=>{throw new Se(cm)},getProcessArgvBin:nm,mainFilename:TO||process.cwd(),Parser:Kl,path:{basename:rn.basename,dirname:rn.dirname,extname:rn.extname,relative:rn.relative,resolve:rn.resolve},process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(e,t)=>process.emitWarning(e,t),execPath:()=>process.execPath,exit:process.exit,nextTick:process.nextTick,stdColumns:typeof process.stdout.columns<"u"?process.stdout.columns:null},readFileSync:um.readFileSync,require:()=>{throw new Se(kO)},requireDirectory:()=>{throw new Se(cm)},stringWidth:e=>[...e].length,y18n:om({directory:(0,rn.resolve)(Na,"../../../locales"),updateFiles:!1})};function vt(e,t,n,r){n.assert.notStrictEqual(e,t,r)}function Xl(e,t){t.assert.strictEqual(typeof e,"string")}function vi(e){return Object.keys(e)}function Te(e){return!!e&&!!e.then&&typeof e.then=="function"}function $n(e){let n=e.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),r=/\.*[\][<>]/g,i=n.shift();if(!i)throw new Error(`No command found in: ${e}`);let a={cmd:i.replace(r,""),demanded:[],optional:[]};return n.forEach((s,o)=>{let c=!1;s=s.replace(/\s/g,""),/\.+[\]>]/.test(s)&&o===n.length-1&&(c=!0),/^\[/.test(s)?a.optional.push({cmd:s.replace(r,"").split("|"),variadic:c}):a.demanded.push({cmd:s.replace(r,"").split("|"),variadic:c})}),a}var AO=["first","second","third","fourth","fifth","sixth"];function H(e,t,n){function r(){return typeof e=="object"?[{demanded:[],optional:[]},e,t]:[$n(`cmd ${e}`),t,n]}try{let i=0,[a,s,o]=r(),c=[].slice.call(s);for(;c.length&&c[c.length-1]===void 0;)c.pop();let u=o||c.length;if(u<a.demanded.length)throw new Se(`Not enough arguments provided. Expected ${a.demanded.length} but received ${c.length}.`);let l=a.demanded.length+a.optional.length;if(u>l)throw new Se(`Too many arguments provided. Expected max ${l} but received ${u}.`);a.demanded.forEach(p=>{let f=c.shift(),m=fm(f);p.cmd.filter(g=>g===m||g==="*").length===0&&dm(m,p.cmd,i),i+=1}),a.optional.forEach(p=>{if(c.length===0)return;let f=c.shift(),m=fm(f);p.cmd.filter(g=>g===m||g==="*").length===0&&dm(m,p.cmd,i),i+=1})}catch(i){console.warn(i.stack)}}function fm(e){return Array.isArray(e)?"array":e===null?"null":typeof e}function dm(e,t,n){throw new Se(`Invalid ${AO[n]||"manyith"} argument. Expected ${t.join(" or ")} but received ${e}.`)}var ao=class{constructor(t){this.globalMiddleware=[],this.frozens=[],this.yargs=t}addMiddleware(t,n,r=!0,i=!1){if(H("<array|function> [boolean] [boolean] [boolean]",[t,n,r],arguments.length),Array.isArray(t)){for(let a=0;a<t.length;a++){if(typeof t[a]!="function")throw Error("middleware must be a function");let s=t[a];s.applyBeforeValidation=n,s.global=r}Array.prototype.push.apply(this.globalMiddleware,t)}else if(typeof t=="function"){let a=t;a.applyBeforeValidation=n,a.global=r,a.mutates=i,this.globalMiddleware.push(t)}return this.yargs}addCoerceMiddleware(t,n){let r=this.yargs.getAliases();return this.globalMiddleware=this.globalMiddleware.filter(i=>{let a=[...r[n]||[],n];return i.option?!a.includes(i.option):!0}),t.option=n,this.addMiddleware(t,!0,!0,!0)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){let t=this.frozens.pop();t!==void 0&&(this.globalMiddleware=t)}reset(){this.globalMiddleware=this.globalMiddleware.filter(t=>t.global)}};function hm(e){return e?e.map(t=>(t.applyBeforeValidation=!1,t)):[]}function _r(e,t,n,r){return n.reduce((i,a)=>{if(a.applyBeforeValidation!==r)return i;if(a.mutates){if(a.applied)return i;a.applied=!0}if(Te(i))return i.then(s=>Promise.all([s,a(s,t)])).then(([s,o])=>Object.assign(s,o));{let s=a(i,t);return Te(s)?s.then(o=>Object.assign(i,o)):Object.assign(i,s)}},e)}function Sr(e,t,n=r=>{throw r}){try{let r=jO(e)?e():e;return Te(r)?r.then(i=>t(i)):t(r)}catch(r){return n(r)}}function jO(e){return typeof e=="function"}function Ql(e){if(typeof require>"u")return null;for(let t=0,n=Object.keys(require.cache),r;t<n.length;t++)if(r=require.cache[n[t]],r.exports===e)return r;return null}var bi=/(^\*)|(^\$0)/,eu=class{constructor(t,n,r,i){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=i,this.usage=t,this.globalMiddleware=r,this.validation=n}addDirectory(t,n,r,i){i=i||{},typeof i.recurse!="boolean"&&(i.recurse=!1),Array.isArray(i.extensions)||(i.extensions=["js"]);let a=typeof i.visit=="function"?i.visit:s=>s;i.visit=(s,o,c)=>{let u=a(s,o,c);if(u){if(this.requireCache.has(o))return u;this.requireCache.add(o),this.addHandler(u)}return u},this.shim.requireDirectory({require:n,filename:r},t,i)}addHandler(t,n,r,i,a,s){let o=[],c=hm(a);if(i=i||(()=>{}),Array.isArray(t))if(RO(t))[t,...o]=t;else for(let u of t)this.addHandler(u);else if(PO(t)){let u=Array.isArray(t.command)||typeof t.command=="string"?t.command:this.moduleName(t);t.aliases&&(u=[].concat(u).concat(t.aliases)),this.addHandler(u,this.extractDesc(t),t.builder,t.handler,t.middlewares,t.deprecated);return}else if(mm(r)){this.addHandler([t].concat(o),n,r.builder,r.handler,r.middlewares,r.deprecated);return}if(typeof t=="string"){let u=$n(t);o=o.map(f=>$n(f).cmd);let l=!1,p=[u.cmd].concat(o).filter(f=>bi.test(f)?(l=!0,!1):!0);p.length===0&&l&&p.push("$0"),l&&(u.cmd=p[0],o=p.slice(1),t=t.replace(bi,u.cmd)),o.forEach(f=>{this.aliasMap[f]=u.cmd}),n!==!1&&this.usage.command(t,n,l,o,s),this.handlers[u.cmd]={original:t,description:n,handler:i,builder:r||{},middlewares:c,deprecated:s,demanded:u.demanded,optional:u.optional},l&&(this.defaultCommand=this.handlers[u.cmd])}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(t,n,r,i,a,s){let o=this.handlers[t]||this.handlers[this.aliasMap[t]]||this.defaultCommand,c=n.getInternalMethods().getContext(),u=c.commands.slice(),l=!t;t&&(c.commands.push(t),c.fullCommands.push(o.original));let p=this.applyBuilderUpdateUsageAndParse(l,o,n,r.aliases,u,i,a,s);return Te(p)?p.then(f=>this.applyMiddlewareAndGetResult(l,o,f.innerArgv,c,a,f.aliases,n)):this.applyMiddlewareAndGetResult(l,o,p.innerArgv,c,a,p.aliases,n)}applyBuilderUpdateUsageAndParse(t,n,r,i,a,s,o,c){let u=n.builder,l=r;if(so(u)){let p=u(r.getInternalMethods().reset(i),c);if(Te(p))return p.then(f=>(l=vm(f)?f:r,this.parseAndUpdateUsage(t,n,l,a,s,o)))}else MO(u)&&(l=r.getInternalMethods().reset(i),Object.keys(n.builder).forEach(p=>{l.option(p,u[p])}));return this.parseAndUpdateUsage(t,n,l,a,s,o)}parseAndUpdateUsage(t,n,r,i,a,s){t&&r.getInternalMethods().getUsageInstance().unfreeze(!0),this.shouldUpdateUsage(r)&&r.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(i,n),n.description);let o=r.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,a,s);return Te(o)?o.then(c=>({aliases:r.parsed.aliases,innerArgv:c})):{aliases:r.parsed.aliases,innerArgv:o}}shouldUpdateUsage(t){return!t.getInternalMethods().getUsageInstance().getUsageDisabled()&&t.getInternalMethods().getUsageInstance().getUsage().length===0}usageFromParentCommandsCommandHandler(t,n){let r=bi.test(n.original)?n.original.replace(bi,"").trim():n.original,i=t.filter(a=>!bi.test(a));return i.push(r),`$0 ${i.join(" ")}`}handleValidationAndGetResult(t,n,r,i,a,s,o,c){if(!s.getInternalMethods().getHasOutput()){let u=s.getInternalMethods().runValidation(a,c,s.parsed.error,t);r=Sr(r,l=>(u(l),l))}if(n.handler&&!s.getInternalMethods().getHasOutput()){s.getInternalMethods().setHasOutput();let u=!!s.getOptions().configuration["populate--"];s.getInternalMethods().postProcess(r,u,!1,!1),r=_r(r,s,o,!1),r=Sr(r,l=>{let p=n.handler(l);return Te(p)?p.then(()=>l):l}),t||s.getInternalMethods().getUsageInstance().cacheHelpMessage(),Te(r)&&!s.getInternalMethods().hasParseCallback()&&r.catch(l=>{try{s.getInternalMethods().getUsageInstance().fail(null,l)}catch{}})}return t||(i.commands.pop(),i.fullCommands.pop()),r}applyMiddlewareAndGetResult(t,n,r,i,a,s,o){let c={};if(a)return r;o.getInternalMethods().getHasOutput()||(c=this.populatePositionals(n,r,i,o));let u=this.globalMiddleware.getMiddleware().slice(0).concat(n.middlewares),l=_r(r,o,u,!0);return Te(l)?l.then(p=>this.handleValidationAndGetResult(t,n,p,i,s,o,u,c)):this.handleValidationAndGetResult(t,n,l,i,s,o,u,c)}populatePositionals(t,n,r,i){n._=n._.slice(r.commands.length);let a=t.demanded.slice(0),s=t.optional.slice(0),o={};for(this.validation.positionalCount(a.length,n._.length);a.length;){let c=a.shift();this.populatePositional(c,n,o)}for(;s.length;){let c=s.shift();this.populatePositional(c,n,o)}return n._=r.commands.concat(n._.map(c=>""+c)),this.postProcessPositionals(n,o,this.cmdToParseOptions(t.original),i),o}populatePositional(t,n,r){let i=t.cmd[0];t.variadic?r[i]=n._.splice(0).map(String):n._.length&&(r[i]=[String(n._.shift())])}cmdToParseOptions(t){let n={array:[],default:{},alias:{},demand:{}},r=$n(t);return r.demanded.forEach(i=>{let[a,...s]=i.cmd;i.variadic&&(n.array.push(a),n.default[a]=[]),n.alias[a]=s,n.demand[a]=!0}),r.optional.forEach(i=>{let[a,...s]=i.cmd;i.variadic&&(n.array.push(a),n.default[a]=[]),n.alias[a]=s}),n}postProcessPositionals(t,n,r,i){let a=Object.assign({},i.getOptions());a.default=Object.assign(r.default,a.default);for(let u of Object.keys(r.alias))a.alias[u]=(a.alias[u]||[]).concat(r.alias[u]);a.array=a.array.concat(r.array),a.config={};let s=[];if(Object.keys(n).forEach(u=>{n[u].map(l=>{a.configuration["unknown-options-as-args"]&&(a.key[u]=!0),s.push(`--${u}`),s.push(l)})}),!s.length)return;let o=Object.assign({},a.configuration,{"populate--":!1}),c=this.shim.Parser.detailed(s,Object.assign({},a,{configuration:o}));if(c.error)i.getInternalMethods().getUsageInstance().fail(c.error.message,c.error);else{let u=Object.keys(n);Object.keys(n).forEach(l=>{u.push(...c.aliases[l])}),Object.keys(c.argv).forEach(l=>{u.includes(l)&&(n[l]||(n[l]=c.argv[l]),!this.isInConfigs(i,l)&&!this.isDefaulted(i,l)&&Object.prototype.hasOwnProperty.call(t,l)&&Object.prototype.hasOwnProperty.call(c.argv,l)&&(Array.isArray(t[l])||Array.isArray(c.argv[l]))?t[l]=[].concat(t[l],c.argv[l]):t[l]=c.argv[l])})}}isDefaulted(t,n){let{default:r}=t.getOptions();return Object.prototype.hasOwnProperty.call(r,n)||Object.prototype.hasOwnProperty.call(r,this.shim.Parser.camelCase(n))}isInConfigs(t,n){let{configObjects:r}=t.getOptions();return r.some(i=>Object.prototype.hasOwnProperty.call(i,n))||r.some(i=>Object.prototype.hasOwnProperty.call(i,this.shim.Parser.camelCase(n)))}runDefaultBuilderOn(t){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(t)){let r=bi.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");t.getInternalMethods().getUsageInstance().usage(r,this.defaultCommand.description)}let n=this.defaultCommand.builder;if(so(n))return n(t,!0);mm(n)||Object.keys(n).forEach(r=>{t.option(r,n[r])})}moduleName(t){let n=Ql(t);if(!n)throw new Error(`No command name given for module: ${this.shim.inspect(t)}`);return this.commandFromFilename(n.filename)}commandFromFilename(t){return this.shim.path.basename(t,this.shim.path.extname(t))}extractDesc({describe:t,description:n,desc:r}){for(let i of[t,n,r]){if(typeof i=="string"||i===!1)return i;vt(i,!0,this.shim)}return!1}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){let t=this.frozens.pop();vt(t,void 0,this.shim),{handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand}=t}reset(){return this.handlers={},this.aliasMap={},this.defaultCommand=void 0,this.requireCache=new Set,this}};function gm(e,t,n,r){return new eu(e,t,n,r)}function mm(e){return typeof e=="object"&&!!e.builder&&typeof e.handler=="function"}function RO(e){return e.every(t=>typeof t=="string")}function so(e){return typeof e=="function"}function MO(e){return typeof e=="object"}function PO(e){return typeof e=="object"&&!Array.isArray(e)}function Wn(e={},t=()=>!0){let n={};return vi(e).forEach(r=>{t(r,e[r])&&(n[r]=e[r])}),n}function Hn(e){typeof process>"u"||[process.stdout,process.stderr].forEach(t=>{let n=t;n._handle&&n.isTTY&&typeof n._handle.setBlocking=="function"&&n._handle.setBlocking(e)})}function IO(e){return typeof e=="boolean"}function xm(e,t){let n=t.y18n.__,r={},i=[];r.failFn=function(R){i.push(R)};let a=null,s=null,o=!0;r.showHelpOnFail=function(R=!0,L){let[G,ue]=typeof R=="string"?[!0,R]:[R,L];return e.getInternalMethods().isGlobalContext()&&(s=ue),a=ue,o=G,r};let c=!1;r.fail=function(R,L){let G=e.getInternalMethods().getLoggerInstance();if(i.length)for(let ue=i.length-1;ue>=0;--ue){let be=i[ue];if(IO(be)){if(L)throw L;if(R)throw Error(R)}else be(R,L,r)}else{if(e.getExitProcess()&&Hn(!0),!c){c=!0,o&&(e.showHelp("error"),G.error()),(R||L)&&G.error(R||L);let ue=a||s;ue&&((R||L)&&G.error(""),G.error(ue))}if(L=L||new Se(R),e.getExitProcess())return e.exit(1);if(e.getInternalMethods().hasParseCallback())return e.exit(1,L);throw L}};let u=[],l=!1;r.usage=(M,R)=>M===null?(l=!0,u=[],r):(l=!1,u.push([M,R||""]),r),r.getUsage=()=>u,r.getUsageDisabled=()=>l,r.getPositionalGroupName=()=>n("Positionals:");let p=[];r.example=(M,R)=>{p.push([M,R||""])};let f=[];r.command=function(R,L,G,ue,be=!1){G&&(f=f.map(ee=>(ee[2]=!1,ee))),f.push([R,L||"",G,ue,be])},r.getCommands=()=>f;let m={};r.describe=function(R,L){Array.isArray(R)?R.forEach(G=>{r.describe(G,L)}):typeof R=="object"?Object.keys(R).forEach(G=>{r.describe(G,R[G])}):m[R]=L},r.getDescriptions=()=>m;let v=[];r.epilog=M=>{v.push(M)};let g=!1,d;r.wrap=M=>{g=!0,d=M};function x(){return g||(d=W(),g=!0),d}let _="__yargsString__:";r.deferY18nLookup=M=>_+M,r.help=function(){if(O)return O;k();let R=e.customScriptName?e.$0:t.path.basename(e.$0),L=e.getDemandedOptions(),G=e.getDemandedCommands(),ue=e.getDeprecatedOptions(),be=e.getGroups(),ee=e.getOptions(),Ee=[];Ee=Ee.concat(Object.keys(m)),Ee=Ee.concat(Object.keys(L)),Ee=Ee.concat(Object.keys(G)),Ee=Ee.concat(Object.keys(ee.default)),Ee=Ee.filter(B),Ee=Object.keys(Ee.reduce((X,le)=>(le!=="_"&&(X[le]=!0),X),{}));let pe=x(),K=t.cliui({width:pe,wrap:!!pe});if(!l){if(u.length)u.forEach(X=>{K.div({text:`${X[0].replace(/\$0/g,R)}`}),X[1]&&K.div({text:`${X[1]}`,padding:[1,0,0,0]})}),K.div();else if(f.length){let X=null;G._?X=`${R} <${n("command")}>
|
|
195
|
+
`:X=`${R} [${n("command")}]
|
|
196
|
+
`,K.div(`${X}`)}}if(f.length>1||f.length===1&&!f[0][2]){K.div(n("Commands:"));let X=e.getInternalMethods().getContext(),le=X.commands.length?`${X.commands.join(" ")} `:"";e.getInternalMethods().getParserConfiguration()["sort-commands"]===!0&&(f=f.sort((re,$e)=>re[0].localeCompare($e[0])));let Pe=R?`${R} `:"";f.forEach(re=>{let $e=`${Pe}${le}${re[0].replace(/^\$0 ?/,"")}`;K.span({text:$e,padding:[0,2,0,2],width:T(f,pe,`${R}${le}`)+4},{text:re[1]});let Fe=[];re[2]&&Fe.push(`[${n("default")}]`),re[3]&&re[3].length&&Fe.push(`[${n("aliases:")} ${re[3].join(", ")}]`),re[4]&&(typeof re[4]=="string"?Fe.push(`[${n("deprecated: %s",re[4])}]`):Fe.push(`[${n("deprecated")}]`)),Fe.length?K.div({text:Fe.join(" "),padding:[0,0,0,2],align:"right"}):K.div()}),K.div()}let de=(Object.keys(ee.alias)||[]).concat(Object.keys(e.parsed.newAliases)||[]);Ee=Ee.filter(X=>!e.parsed.newAliases[X]&&de.every(le=>(ee.alias[le]||[]).indexOf(X)===-1));let ae=n("Options:");be[ae]||(be[ae]=[]),D(Ee,ee.alias,be,ae);let $=X=>/^--/.test(oo(X)),mt=Object.keys(be).filter(X=>be[X].length>0).map(X=>{let le=be[X].filter(B).map(Pe=>{if(de.includes(Pe))return Pe;for(let re=0,$e;($e=de[re])!==void 0;re++)if((ee.alias[$e]||[]).includes(Pe))return $e;return Pe});return{groupName:X,normalizedKeys:le}}).filter(({normalizedKeys:X})=>X.length>0).map(({groupName:X,normalizedKeys:le})=>{let Pe=le.reduce((re,$e)=>(re[$e]=[$e].concat(ee.alias[$e]||[]).map(Fe=>X===r.getPositionalGroupName()?Fe:(/^[0-9]$/.test(Fe)?ee.boolean.includes($e)?"-":"--":Fe.length>1?"--":"-")+Fe).sort((Fe,Ke)=>$(Fe)===$(Ke)?0:$(Fe)?1:-1).join(", "),re),{});return{groupName:X,normalizedKeys:le,switches:Pe}});if(mt.filter(({groupName:X})=>X!==r.getPositionalGroupName()).some(({normalizedKeys:X,switches:le})=>!X.every(Pe=>$(le[Pe])))&&mt.filter(({groupName:X})=>X!==r.getPositionalGroupName()).forEach(({normalizedKeys:X,switches:le})=>{X.forEach(Pe=>{$(le[Pe])&&(le[Pe]=NO(le[Pe],4))})}),mt.forEach(({groupName:X,normalizedKeys:le,switches:Pe})=>{K.div(X),le.forEach(re=>{let $e=Pe[re],Fe=m[re]||"",Ke=null;Fe.includes(_)&&(Fe=n(Fe.substring(_.length))),ee.boolean.includes(re)&&(Ke=`[${n("boolean")}]`),ee.count.includes(re)&&(Ke=`[${n("count")}]`),ee.string.includes(re)&&(Ke=`[${n("string")}]`),ee.normalize.includes(re)&&(Ke=`[${n("string")}]`),ee.array.includes(re)&&(Ke=`[${n("array")}]`),ee.number.includes(re)&&(Ke=`[${n("number")}]`);let Ul=E=>typeof E=="string"?`[${n("deprecated: %s",E)}]`:`[${n("deprecated")}]`,y=[re in ue?Ul(ue[re]):null,Ke,re in L?`[${n("required")}]`:null,ee.choices&&ee.choices[re]?`[${n("choices:")} ${r.stringifiedValues(ee.choices[re])}]`:null,N(ee.default[re],ee.defaultDescription[re])].filter(Boolean).join(" ");K.span({text:oo($e),padding:[0,2,0,2+bm($e)],width:T(Pe,pe)+4},Fe),y?K.div({text:y,padding:[0,0,0,2],align:"right"}):K.div()}),K.div()}),p.length&&(K.div(n("Examples:")),p.forEach(X=>{X[0]=X[0].replace(/\$0/g,R)}),p.forEach(X=>{X[1]===""?K.div({text:X[0],padding:[0,2,0,2]}):K.div({text:X[0],padding:[0,2,0,2],width:T(p,pe)+4},{text:X[1]})}),K.div()),v.length>0){let X=v.map(le=>le.replace(/\$0/g,R)).join(`
|
|
197
|
+
`);K.div(`${X}
|
|
198
|
+
`)}return K.toString().replace(/\s*$/,"")};function T(M,R,L){let G=0;return Array.isArray(M)||(M=Object.values(M).map(ue=>[ue])),M.forEach(ue=>{G=Math.max(t.stringWidth(L?`${L} ${oo(ue[0])}`:oo(ue[0]))+bm(ue[0]),G)}),R&&(G=Math.min(G,parseInt((R*.5).toString(),10))),G}function k(){let M=e.getDemandedOptions(),R=e.getOptions();(Object.keys(R.alias)||[]).forEach(L=>{R.alias[L].forEach(G=>{m[G]&&r.describe(L,m[G]),G in M&&e.demandOption(L,M[G]),R.boolean.includes(G)&&e.boolean(L),R.count.includes(G)&&e.count(L),R.string.includes(G)&&e.string(L),R.normalize.includes(G)&&e.normalize(L),R.array.includes(G)&&e.array(L),R.number.includes(G)&&e.number(L)})})}let O;r.cacheHelpMessage=function(){O=this.help()},r.clearCachedHelpMessage=function(){O=void 0},r.hasCachedHelpMessage=function(){return!!O};function D(M,R,L,G){let ue=[],be=null;return Object.keys(L).forEach(ee=>{ue=ue.concat(L[ee])}),M.forEach(ee=>{be=[ee].concat(R[ee]),be.some(Ee=>ue.indexOf(Ee)!==-1)||L[G].push(ee)}),ue}function B(M){return e.getOptions().hiddenOptions.indexOf(M)<0||e.parsed.argv[e.getOptions().showHiddenOpt]}r.showHelp=M=>{let R=e.getInternalMethods().getLoggerInstance();M||(M="error"),(typeof M=="function"?M:R[M])(r.help())},r.functionDescription=M=>{let R=M.name?t.Parser.decamelize(M.name,"-"):n("generated-value");return["(",R,")"].join("")},r.stringifiedValues=function(R,L){let G="",ue=L||", ",be=[].concat(R);return!R||!be.length||be.forEach(ee=>{G.length&&(G+=ue),G+=JSON.stringify(ee)}),G};function N(M,R){let L=`[${n("default:")} `;if(M===void 0&&!R)return null;if(R)L+=R;else switch(typeof M){case"string":L+=`"${M}"`;break;case"object":L+=JSON.stringify(M);break;default:L+=M}return`${L}]`}function W(){return t.process.stdColumns?Math.min(80,t.process.stdColumns):80}let F=null;r.version=M=>{F=M},r.showVersion=M=>{let R=e.getInternalMethods().getLoggerInstance();M||(M="error"),(typeof M=="function"?M:R[M])(F)},r.reset=function(R){return a=null,c=!1,u=[],l=!1,v=[],p=[],f=[],m=Wn(m,L=>!R[L]),r};let q=[];return r.freeze=function(){q.push({failMessage:a,failureOutput:c,usages:u,usageDisabled:l,epilogs:v,examples:p,commands:f,descriptions:m})},r.unfreeze=function(R=!1){let L=q.pop();!L||(R?(m={...L.descriptions,...m},f=[...L.commands,...f],u=[...L.usages,...u],p=[...L.examples,...p],v=[...L.epilogs,...v]):{failMessage:a,failureOutput:c,usages:u,usageDisabled:l,epilogs:v,examples:p,commands:f,descriptions:m}=L)},r}function tu(e){return typeof e=="object"}function NO(e,t){return tu(e)?{text:e.text,indentation:e.indentation+t}:{text:e,indentation:t}}function bm(e){return tu(e)?e.indentation:0}function oo(e){return tu(e)?e.text:e}var ym=`###-begin-{{app_name}}-completions-###
|
|
206
199
|
#
|
|
207
200
|
# yargs command completion script
|
|
208
201
|
#
|
|
@@ -230,7 +223,7 @@ _{{app_name}}_yargs_completions()
|
|
|
230
223
|
}
|
|
231
224
|
complete -o bashdefault -o default -F _{{app_name}}_yargs_completions {{app_name}}
|
|
232
225
|
###-end-{{app_name}}-completions-###
|
|
233
|
-
`,
|
|
226
|
+
`,wm=`#compdef {{app_name}}
|
|
234
227
|
###-begin-{{app_name}}-completions-###
|
|
235
228
|
#
|
|
236
229
|
# yargs command completion script
|
|
@@ -249,20 +242,20 @@ _{{app_name}}_yargs_completions()
|
|
|
249
242
|
}
|
|
250
243
|
compdef _{{app_name}}_yargs_completions {{app_name}}
|
|
251
244
|
###-end-{{app_name}}-completions-###
|
|
252
|
-
`;var
|
|
253
|
-
${
|
|
254
|
-
`)}`:"";t.fail(
|
|
255
|
-
${
|
|
256
|
-
`;d.forEach(x=>{g+=x}),t.fail(g)}};let c={};a.conflicts=function(p,d){G("<string|object> [array|string]",[p,d],arguments.length),typeof p=="object"?Object.keys(p).forEach(g=>{a.conflicts(g,p[g])}):(e.global(p),c[p]||(c[p]=[]),Array.isArray(d)?d.forEach(g=>a.conflicts(p,g)):c[p].push(d))},a.getConflicting=()=>c,a.conflicting=function(p){Object.keys(p).forEach(d=>{c[d]&&c[d].forEach(g=>{g&&p[d]!==void 0&&p[g]!==void 0&&t.fail(i("Arguments %s and %s are mutually exclusive",d,g))})}),e.getInternalMethods().getParserConfiguration()["strip-dashed"]&&Object.keys(c).forEach(d=>{c[d].forEach(g=>{g&&p[n.Parser.camelCase(d)]!==void 0&&p[n.Parser.camelCase(g)]!==void 0&&t.fail(i("Arguments %s and %s are mutually exclusive",d,g))})})},a.recommendCommands=function(p,d){d=d.sort((h,_)=>_.length-h.length);let x=null,b=1/0;for(let h=0,_;(_=d[h])!==void 0;h++){let k=Em(p,_);k<=3&&k<b&&(b=k,x=_)}x&&t.fail(i("Did you mean %s?",x))},a.reset=function(p){return s=Yn(s,d=>!p[d]),c=Yn(c,d=>!p[d]),a};let u=[];return a.freeze=function(){u.push({implied:s,conflicting:c})},a.unfreeze=function(){let p=u.pop();xt(p,void 0,n),{implied:s,conflicting:c}=p},a}var hu=[],Ua;function Wa(e,t,n,i){Ua=i;let r={};if(Object.prototype.hasOwnProperty.call(e,"extends")){if(typeof e.extends!="string")return r;let a=/\.json|\..*rc$/.test(e.extends),s=null;if(a)s=_E(t,e.extends);else try{s=require.resolve(e.extends)}catch{return e}wE(s),hu.push(s),r=a?JSON.parse(Ua.readFileSync(s,"utf8")):require(e.extends),delete e.extends,r=Wa(r,Ua.path.dirname(s),n,Ua)}return hu=[],n?Tm(r,e):Object.assign({},r,e)}function wE(e){if(hu.indexOf(e)>-1)throw new ke(`Circular extended configurations: '${e}'.`)}function _E(e,t){return Ua.path.resolve(e,t)}function Tm(e,t){let n={};function i(r){return r&&typeof r=="object"&&!Array.isArray(r)}Object.assign(n,e);for(let r of Object.keys(t))i(t[r])&&i(n[r])?n[r]=Tm(e[r],t[r]):n[r]=t[r];return n}var V=function(e,t,n,i,r){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!r)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?r.call(e,n):r?r.value=n:t.set(e,n),n},m=function(e,t,n,i){if(n==="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 n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)},$e,Ti,Ha,Yt,Rt,yo,Gn,Ai,wo,Kt,_o,Gt,bn,It,Zt,So,Cr,et,ne,Oo,Eo,Nt,ji,Tr,Mi,Zn,ko,se,Ri,Ii,Ni,ue,vn,qe;function Km(e){return(t=[],n=e.process.cwd(),i)=>{let r=new Eu(t,n,i,e);return Object.defineProperty(r,"argv",{get:()=>r.parse(),enumerable:!0}),r.help(),r.version(),r}}var Am=Symbol("copyDoubleDash"),jm=Symbol("copyDoubleDash"),mu=Symbol("deleteFromParserHintObject"),Mm=Symbol("emitWarning"),Rm=Symbol("freeze"),Im=Symbol("getDollarZero"),Li=Symbol("getParserConfiguration"),gu=Symbol("guessLocale"),Nm=Symbol("guessVersion"),Lm=Symbol("parsePositionalNumbers"),bu=Symbol("pkgUp"),Vn=Symbol("populateParserHintArray"),Ar=Symbol("populateParserHintSingleValueDictionary"),vu=Symbol("populateParserHintArrayDictionary"),xu=Symbol("populateParserHintDictionary"),yu=Symbol("sanitizeKey"),wu=Symbol("setKey"),_u=Symbol("unfreeze"),Pm=Symbol("validateAsync"),qm=Symbol("getCommandInstance"),Bm=Symbol("getContext"),Fm=Symbol("getHasOutput"),Dm=Symbol("getLoggerInstance"),$m=Symbol("getParseContext"),zm=Symbol("getUsageInstance"),Um=Symbol("getValidationInstance"),Co=Symbol("hasParseCallback"),Wm=Symbol("isGlobalContext"),Pi=Symbol("postProcess"),Hm=Symbol("rebase"),Su=Symbol("reset"),Ya=Symbol("runYargsParserAndExecuteCommands"),Ou=Symbol("runValidation"),Ym=Symbol("setHasOutput"),qi=Symbol("kTrackManuallySetKeys"),Eu=class{constructor(t=[],n,i,r){this.customScriptName=!1,this.parsed=!1,$e.set(this,void 0),Ti.set(this,void 0),Ha.set(this,{commands:[],fullCommands:[]}),Yt.set(this,null),Rt.set(this,null),yo.set(this,"show-hidden"),Gn.set(this,null),Ai.set(this,!0),wo.set(this,{}),Kt.set(this,!0),_o.set(this,[]),Gt.set(this,void 0),bn.set(this,{}),It.set(this,!1),Zt.set(this,null),So.set(this,!0),Cr.set(this,void 0),et.set(this,""),ne.set(this,void 0),Oo.set(this,void 0),Eo.set(this,{}),Nt.set(this,null),ji.set(this,null),Tr.set(this,{}),Mi.set(this,{}),Zn.set(this,void 0),ko.set(this,!1),se.set(this,void 0),Ri.set(this,!1),Ii.set(this,!1),Ni.set(this,!1),ue.set(this,void 0),vn.set(this,null),qe.set(this,void 0),V(this,se,r,"f"),V(this,Zn,t,"f"),V(this,Ti,n,"f"),V(this,Oo,i,"f"),V(this,Gt,new bo(this),"f"),this.$0=this[Im](),this[Su](),V(this,$e,m(this,$e,"f"),"f"),V(this,ue,m(this,ue,"f"),"f"),V(this,qe,m(this,qe,"f"),"f"),V(this,ne,m(this,ne,"f"),"f"),m(this,ne,"f").showHiddenOpt=m(this,yo,"f"),V(this,Cr,this[jm](),"f")}addHelpOpt(t,n){let i="help";return G("[string|boolean] [string]",[t,n],arguments.length),m(this,Zt,"f")&&(this[mu](m(this,Zt,"f")),V(this,Zt,null,"f")),t===!1&&n===void 0?this:(V(this,Zt,typeof t=="string"?t:i,"f"),this.boolean(m(this,Zt,"f")),this.describe(m(this,Zt,"f"),n||m(this,ue,"f").deferY18nLookup("Show help")),this)}help(t,n){return this.addHelpOpt(t,n)}addShowHiddenOpt(t,n){if(G("[string|boolean] [string]",[t,n],arguments.length),t===!1&&n===void 0)return this;let i=typeof t=="string"?t:m(this,yo,"f");return this.boolean(i),this.describe(i,n||m(this,ue,"f").deferY18nLookup("Show hidden options")),m(this,ne,"f").showHiddenOpt=i,this}showHidden(t,n){return this.addShowHiddenOpt(t,n)}alias(t,n){return G("<object|string|array> [string|array]",[t,n],arguments.length),this[vu](this.alias.bind(this),"alias",t,n),this}array(t){return G("<array|string>",[t],arguments.length),this[Vn]("array",t),this[qi](t),this}boolean(t){return G("<array|string>",[t],arguments.length),this[Vn]("boolean",t),this[qi](t),this}check(t,n){return G("<function> [boolean]",[t,n],arguments.length),this.middleware((i,r)=>Ci(()=>t(i,r.getOptions()),a=>(a?(typeof a=="string"||a instanceof Error)&&m(this,ue,"f").fail(a.toString(),a):m(this,ue,"f").fail(m(this,se,"f").y18n.__("Argument check failed: %s",t.toString())),i),a=>(m(this,ue,"f").fail(a.message?a.message:a.toString(),a),i)),!1,n),this}choices(t,n){return G("<object|string|array> [string|array]",[t,n],arguments.length),this[vu](this.choices.bind(this),"choices",t,n),this}coerce(t,n){if(G("<object|string|array> [function]",[t,n],arguments.length),Array.isArray(t)){if(!n)throw new ke("coerce callback must be provided");for(let i of t)this.coerce(i,n);return this}else if(typeof t=="object"){for(let i of Object.keys(t))this.coerce(i,t[i]);return this}if(!n)throw new ke("coerce callback must be provided");return m(this,ne,"f").key[t]=!0,m(this,Gt,"f").addCoerceMiddleware((i,r)=>{let a;return Object.prototype.hasOwnProperty.call(i,t)?Ci(()=>(a=r.getAliases(),n(i[t])),o=>{i[t]=o;let c=r.getInternalMethods().getParserConfiguration()["strip-aliased"];if(a[t]&&c!==!0)for(let u of a[t])i[u]=o;return i},o=>{throw new ke(o.message)}):i},t),this}conflicts(t,n){return G("<string|object> [string|array]",[t,n],arguments.length),m(this,qe,"f").conflicts(t,n),this}config(t="config",n,i){return G("[object|string] [string|function] [function]",[t,n,i],arguments.length),typeof t=="object"&&!Array.isArray(t)?(t=Wa(t,m(this,Ti,"f"),this[Li]()["deep-merge-config"]||!1,m(this,se,"f")),m(this,ne,"f").configObjects=(m(this,ne,"f").configObjects||[]).concat(t),this):(typeof n=="function"&&(i=n,n=void 0),this.describe(t,n||m(this,ue,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(t)?t:[t]).forEach(r=>{m(this,ne,"f").config[r]=i||!0}),this)}completion(t,n,i){return G("[string] [string|boolean|function] [function]",[t,n,i],arguments.length),typeof n=="function"&&(i=n,n=void 0),V(this,Rt,t||m(this,Rt,"f")||"completion","f"),!n&&n!==!1&&(n="generate completion script"),this.command(m(this,Rt,"f"),n),i&&m(this,Yt,"f").registerFunction(i),this}command(t,n,i,r,a,s){return G("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[t,n,i,r,a,s],arguments.length),m(this,$e,"f").addHandler(t,n,i,r,a,s),this}commands(t,n,i,r,a,s){return this.command(t,n,i,r,a,s)}commandDir(t,n){G("<string> [object]",[t,n],arguments.length);let i=m(this,Oo,"f")||m(this,se,"f").require;return m(this,$e,"f").addDirectory(t,i,m(this,se,"f").getCallerFile(),n),this}count(t){return G("<array|string>",[t],arguments.length),this[Vn]("count",t),this[qi](t),this}default(t,n,i){return G("<object|string|array> [*] [string]",[t,n,i],arguments.length),i&&(lu(t,m(this,se,"f")),m(this,ne,"f").defaultDescription[t]=i),typeof n=="function"&&(lu(t,m(this,se,"f")),m(this,ne,"f").defaultDescription[t]||(m(this,ne,"f").defaultDescription[t]=m(this,ue,"f").functionDescription(n)),n=n.call()),this[Ar](this.default.bind(this),"default",t,n),this}defaults(t,n,i){return this.default(t,n,i)}demandCommand(t=1,n,i,r){return G("[number] [number|string] [string|null|undefined] [string|null|undefined]",[t,n,i,r],arguments.length),typeof n!="number"&&(i=n,n=1/0),this.global("_",!1),m(this,ne,"f").demandedCommands._={min:t,max:n,minMsg:i,maxMsg:r},this}demand(t,n,i){return Array.isArray(n)?(n.forEach(r=>{xt(i,!0,m(this,se,"f")),this.demandOption(r,i)}),n=1/0):typeof n!="number"&&(i=n,n=1/0),typeof t=="number"?(xt(i,!0,m(this,se,"f")),this.demandCommand(t,n,i,i)):Array.isArray(t)?t.forEach(r=>{xt(i,!0,m(this,se,"f")),this.demandOption(r,i)}):typeof i=="string"?this.demandOption(t,i):(i===!0||typeof i>"u")&&this.demandOption(t),this}demandOption(t,n){return G("<object|string|array> [string]",[t,n],arguments.length),this[Ar](this.demandOption.bind(this),"demandedOptions",t,n),this}deprecateOption(t,n){return G("<string> [string|boolean]",[t,n],arguments.length),m(this,ne,"f").deprecatedOptions[t]=n,this}describe(t,n){return G("<object|string|array> [string]",[t,n],arguments.length),this[wu](t,!0),m(this,ue,"f").describe(t,n),this}detectLocale(t){return G("<boolean>",[t],arguments.length),V(this,Ai,t,"f"),this}env(t){return G("[string|boolean]",[t],arguments.length),t===!1?delete m(this,ne,"f").envPrefix:m(this,ne,"f").envPrefix=t||"",this}epilogue(t){return G("<string>",[t],arguments.length),m(this,ue,"f").epilog(t),this}epilog(t){return this.epilogue(t)}example(t,n){return G("<string|array> [string]",[t,n],arguments.length),Array.isArray(t)?t.forEach(i=>this.example(...i)):m(this,ue,"f").example(t,n),this}exit(t,n){V(this,It,!0,"f"),V(this,Gn,n,"f"),m(this,Kt,"f")&&m(this,se,"f").process.exit(t)}exitProcess(t=!0){return G("[boolean]",[t],arguments.length),V(this,Kt,t,"f"),this}fail(t){if(G("<function|boolean>",[t],arguments.length),typeof t=="boolean"&&t!==!1)throw new ke("Invalid first argument. Expected function or boolean 'false'");return m(this,ue,"f").failFn(t),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(t,n){return G("<array> [function]",[t,n],arguments.length),n?m(this,Yt,"f").getCompletion(t,n):new Promise((i,r)=>{m(this,Yt,"f").getCompletion(t,(a,s)=>{a?r(a):i(s)})})}getDemandedOptions(){return G([],0),m(this,ne,"f").demandedOptions}getDemandedCommands(){return G([],0),m(this,ne,"f").demandedCommands}getDeprecatedOptions(){return G([],0),m(this,ne,"f").deprecatedOptions}getDetectLocale(){return m(this,Ai,"f")}getExitProcess(){return m(this,Kt,"f")}getGroups(){return Object.assign({},m(this,bn,"f"),m(this,Mi,"f"))}getHelp(){if(V(this,It,!0,"f"),!m(this,ue,"f").hasCachedHelpMessage()){if(!this.parsed){let n=this[Ya](m(this,Zn,"f"),void 0,void 0,0,!0);if(Te(n))return n.then(()=>m(this,ue,"f").help())}let t=m(this,$e,"f").runDefaultBuilderOn(this);if(Te(t))return t.then(()=>m(this,ue,"f").help())}return Promise.resolve(m(this,ue,"f").help())}getOptions(){return m(this,ne,"f")}getStrict(){return m(this,Ri,"f")}getStrictCommands(){return m(this,Ii,"f")}getStrictOptions(){return m(this,Ni,"f")}global(t,n){return G("<string|array> [boolean]",[t,n],arguments.length),t=[].concat(t),n!==!1?m(this,ne,"f").local=m(this,ne,"f").local.filter(i=>t.indexOf(i)===-1):t.forEach(i=>{m(this,ne,"f").local.includes(i)||m(this,ne,"f").local.push(i)}),this}group(t,n){G("<string|array> <string>",[t,n],arguments.length);let i=m(this,Mi,"f")[n]||m(this,bn,"f")[n];m(this,Mi,"f")[n]&&delete m(this,Mi,"f")[n];let r={};return m(this,bn,"f")[n]=(i||[]).concat(t).filter(a=>r[a]?!1:r[a]=!0),this}hide(t){return G("<string>",[t],arguments.length),m(this,ne,"f").hiddenOptions.push(t),this}implies(t,n){return G("<string|object> [number|string|array]",[t,n],arguments.length),m(this,qe,"f").implies(t,n),this}locale(t){return G("[string]",[t],arguments.length),t===void 0?(this[gu](),m(this,se,"f").y18n.getLocale()):(V(this,Ai,!1,"f"),m(this,se,"f").y18n.setLocale(t),this)}middleware(t,n,i){return m(this,Gt,"f").addMiddleware(t,!!n,i)}nargs(t,n){return G("<string|object|array> [number]",[t,n],arguments.length),this[Ar](this.nargs.bind(this),"narg",t,n),this}normalize(t){return G("<array|string>",[t],arguments.length),this[Vn]("normalize",t),this}number(t){return G("<array|string>",[t],arguments.length),this[Vn]("number",t),this[qi](t),this}option(t,n){if(G("<string|object> [object]",[t,n],arguments.length),typeof t=="object")Object.keys(t).forEach(i=>{this.options(i,t[i])});else{typeof n!="object"&&(n={}),this[qi](t),m(this,vn,"f")&&(t==="version"||n?.alias==="version")&&this[Mm](['"version" is a reserved word.',"Please do one of the following:",'- Disable version with `yargs.version(false)` if using "version" as an option',"- Use the built-in `yargs.version` method instead (if applicable)","- Use a different option key","https://yargs.js.org/docs/#api-reference-version"].join(`
|
|
257
|
-
`),void 0,"versionWarning"),
|
|
258
|
-
`,"f"),
|
|
259
|
-
`,"f"),V(this,et,m(this,et,"f")+t.join(" "),"f")}}}[mu](t){Er(m(this,ne,"f")).forEach(n=>{if((r=>r==="configObjects")(n))return;let i=m(this,ne,"f")[n];Array.isArray(i)?i.includes(t)&&i.splice(i.indexOf(t),1):typeof i=="object"&&delete i[t]}),delete m(this,ue,"f").getDescriptions()[t]}[Mm](t,n,i){m(this,wo,"f")[i]||(m(this,se,"f").process.emitWarning(t,n),m(this,wo,"f")[i]=!0)}[Rm](){m(this,_o,"f").push({options:m(this,ne,"f"),configObjects:m(this,ne,"f").configObjects.slice(0),exitProcess:m(this,Kt,"f"),groups:m(this,bn,"f"),strict:m(this,Ri,"f"),strictCommands:m(this,Ii,"f"),strictOptions:m(this,Ni,"f"),completionCommand:m(this,Rt,"f"),output:m(this,et,"f"),exitError:m(this,Gn,"f"),hasOutput:m(this,It,"f"),parsed:this.parsed,parseFn:m(this,Nt,"f"),parseContext:m(this,ji,"f")}),m(this,ue,"f").freeze(),m(this,qe,"f").freeze(),m(this,$e,"f").freeze(),m(this,Gt,"f").freeze()}[Im](){let t="",n;return/\b(node|iojs|electron)(\.exe)?$/.test(m(this,se,"f").process.argv()[0])?n=m(this,se,"f").process.argv().slice(1,2):n=m(this,se,"f").process.argv().slice(0,1),t=n.map(i=>{let r=this[Hm](m(this,Ti,"f"),i);return i.match(/^(\/|([a-zA-Z]:)?\\)/)&&r.length<i.length?r:i}).join(" ").trim(),m(this,se,"f").getEnv("_")&&m(this,se,"f").getProcessArgvBin()===m(this,se,"f").getEnv("_")&&(t=m(this,se,"f").getEnv("_").replace(`${m(this,se,"f").path.dirname(m(this,se,"f").process.execPath())}/`,"")),t}[Li](){return m(this,Eo,"f")}[gu](){if(!m(this,Ai,"f"))return;let t=m(this,se,"f").getEnv("LC_ALL")||m(this,se,"f").getEnv("LC_MESSAGES")||m(this,se,"f").getEnv("LANG")||m(this,se,"f").getEnv("LANGUAGE")||"en_US";this.locale(t.replace(/[.:].*/,""))}[Nm](){return this[bu]().version||"unknown"}[Lm](t){let n=t["--"]?t["--"]:t._;for(let i=0,r;(r=n[i])!==void 0;i++)m(this,se,"f").Parser.looksLikeNumber(r)&&Number.isSafeInteger(Math.floor(parseFloat(`${r}`)))&&(n[i]=Number(r));return t}[bu](t){let n=t||"*";if(m(this,Tr,"f")[n])return m(this,Tr,"f")[n];let i={};try{let r=t||m(this,se,"f").mainFilename;!t&&m(this,se,"f").path.extname(r)&&(r=m(this,se,"f").path.dirname(r));let a=m(this,se,"f").findUp(r,(s,o)=>{if(o.includes("package.json"))return"package.json"});xt(a,void 0,m(this,se,"f")),i=JSON.parse(m(this,se,"f").readFileSync(a,"utf8"))}catch{}return m(this,Tr,"f")[n]=i||{},m(this,Tr,"f")[n]}[Vn](t,n){n=[].concat(n),n.forEach(i=>{i=this[yu](i),m(this,ne,"f")[t].push(i)})}[Ar](t,n,i,r){this[xu](t,n,i,r,(a,s,o)=>{m(this,ne,"f")[a][s]=o})}[vu](t,n,i,r){this[xu](t,n,i,r,(a,s,o)=>{m(this,ne,"f")[a][s]=(m(this,ne,"f")[a][s]||[]).concat(o)})}[xu](t,n,i,r,a){if(Array.isArray(i))i.forEach(s=>{t(s,r)});else if((s=>typeof s=="object")(i))for(let s of Er(i))t(s,i[s]);else a(n,this[yu](i),r)}[yu](t){return t==="__proto__"?"___proto___":t}[wu](t,n){return this[Ar](this[wu].bind(this),"key",t,n),this}[_u](){var t,n,i,r,a,s,o,c,u,l,p,d;let g=m(this,_o,"f").pop();xt(g,void 0,m(this,se,"f"));let x;t=this,n=this,i=this,r=this,a=this,s=this,o=this,c=this,u=this,l=this,p=this,d=this,{options:{set value(b){V(t,ne,b,"f")}}.value,configObjects:x,exitProcess:{set value(b){V(n,Kt,b,"f")}}.value,groups:{set value(b){V(i,bn,b,"f")}}.value,output:{set value(b){V(r,et,b,"f")}}.value,exitError:{set value(b){V(a,Gn,b,"f")}}.value,hasOutput:{set value(b){V(s,It,b,"f")}}.value,parsed:this.parsed,strict:{set value(b){V(o,Ri,b,"f")}}.value,strictCommands:{set value(b){V(c,Ii,b,"f")}}.value,strictOptions:{set value(b){V(u,Ni,b,"f")}}.value,completionCommand:{set value(b){V(l,Rt,b,"f")}}.value,parseFn:{set value(b){V(p,Nt,b,"f")}}.value,parseContext:{set value(b){V(d,ji,b,"f")}}.value}=g,m(this,ne,"f").configObjects=x,m(this,ue,"f").unfreeze(),m(this,qe,"f").unfreeze(),m(this,$e,"f").unfreeze(),m(this,Gt,"f").unfreeze()}[Pm](t,n){return Ci(n,i=>(t(i),i))}getInternalMethods(){return{getCommandInstance:this[qm].bind(this),getContext:this[Bm].bind(this),getHasOutput:this[Fm].bind(this),getLoggerInstance:this[Dm].bind(this),getParseContext:this[$m].bind(this),getParserConfiguration:this[Li].bind(this),getUsageInstance:this[zm].bind(this),getValidationInstance:this[Um].bind(this),hasParseCallback:this[Co].bind(this),isGlobalContext:this[Wm].bind(this),postProcess:this[Pi].bind(this),reset:this[Su].bind(this),runValidation:this[Ou].bind(this),runYargsParserAndExecuteCommands:this[Ya].bind(this),setHasOutput:this[Ym].bind(this)}}[qm](){return m(this,$e,"f")}[Bm](){return m(this,Ha,"f")}[Fm](){return m(this,It,"f")}[Dm](){return m(this,Cr,"f")}[$m](){return m(this,ji,"f")||{}}[zm](){return m(this,ue,"f")}[Um](){return m(this,qe,"f")}[Co](){return!!m(this,Nt,"f")}[Wm](){return m(this,So,"f")}[Pi](t,n,i,r){return i||Te(t)||(n||(t=this[Am](t)),(this[Li]()["parse-positional-numbers"]||this[Li]()["parse-positional-numbers"]===void 0)&&(t=this[Lm](t)),r&&(t=ki(t,this,m(this,Gt,"f").getMiddleware(),!1))),t}[Su](t={}){V(this,ne,m(this,ne,"f")||{},"f");let n={};n.local=m(this,ne,"f").local||[],n.configObjects=m(this,ne,"f").configObjects||[];let i={};n.local.forEach(s=>{i[s]=!0,(t[s]||[]).forEach(o=>{i[o]=!0})}),Object.assign(m(this,Mi,"f"),Object.keys(m(this,bn,"f")).reduce((s,o)=>{let c=m(this,bn,"f")[o].filter(u=>!(u in i));return c.length>0&&(s[o]=c),s},{})),V(this,bn,{},"f");let r=["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"],a=["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"];return r.forEach(s=>{n[s]=(m(this,ne,"f")[s]||[]).filter(o=>!i[o])}),a.forEach(s=>{n[s]=Yn(m(this,ne,"f")[s],o=>!i[o])}),n.envPrefix=m(this,ne,"f").envPrefix,V(this,ne,n,"f"),V(this,ue,m(this,ue,"f")?m(this,ue,"f").reset(i):wm(this,m(this,se,"f")),"f"),V(this,qe,m(this,qe,"f")?m(this,qe,"f").reset(i):Cm(this,m(this,ue,"f"),m(this,se,"f")),"f"),V(this,$e,m(this,$e,"f")?m(this,$e,"f").reset():vm(m(this,ue,"f"),m(this,qe,"f"),m(this,Gt,"f"),m(this,se,"f")),"f"),m(this,Yt,"f")||V(this,Yt,Om(this,m(this,ue,"f"),m(this,$e,"f"),m(this,se,"f")),"f"),m(this,Gt,"f").reset(),V(this,Rt,null,"f"),V(this,et,"","f"),V(this,Gn,null,"f"),V(this,It,!1,"f"),this.parsed=!1,this}[Hm](t,n){return m(this,se,"f").path.relative(t,n)}[Ya](t,n,i,r=0,a=!1){let s=!!i||a;t=t||m(this,Zn,"f"),m(this,ne,"f").__=m(this,se,"f").y18n.__,m(this,ne,"f").configuration=this[Li]();let o=!!m(this,ne,"f").configuration["populate--"],c=Object.assign({},m(this,ne,"f").configuration,{"populate--":!0}),u=m(this,se,"f").Parser.detailed(t,Object.assign({},m(this,ne,"f"),{configuration:{"parse-positional-numbers":!1,...c}})),l=Object.assign(u.argv,m(this,ji,"f")),p,d=u.aliases,g=!1,x=!1;Object.keys(l).forEach(b=>{b===m(this,Zt,"f")&&l[b]?g=!0:b===m(this,vn,"f")&&l[b]&&(x=!0)}),l.$0=this.$0,this.parsed=u,r===0&&m(this,ue,"f").clearCachedHelpMessage();try{if(this[gu](),n)return this[Pi](l,o,!!i,!1);m(this,Zt,"f")&&[m(this,Zt,"f")].concat(d[m(this,Zt,"f")]||[]).filter(I=>I.length>1).includes(""+l._[l._.length-1])&&(l._.pop(),g=!0),V(this,So,!1,"f");let b=m(this,$e,"f").getCommands(),h=m(this,Yt,"f").completionKey in l,_=g||h||a;if(l._.length){if(b.length){let k;for(let I=r||0,R;l._[I]!==void 0;I++)if(R=String(l._[I]),b.includes(R)&&R!==m(this,Rt,"f")){let M=m(this,$e,"f").runCommand(R,this,u,I+1,a,g||x||a);return this[Pi](M,o,!!i,!1)}else if(!k&&R!==m(this,Rt,"f")){k=R;break}!m(this,$e,"f").hasDefaultCommand()&&m(this,ko,"f")&&k&&!_&&m(this,qe,"f").recommendCommands(k,b)}m(this,Rt,"f")&&l._.includes(m(this,Rt,"f"))&&!h&&(m(this,Kt,"f")&&Kn(!0),this.showCompletionScript(),this.exit(0))}if(m(this,$e,"f").hasDefaultCommand()&&!_){let k=m(this,$e,"f").runCommand(null,this,u,0,a,g||x||a);return this[Pi](k,o,!!i,!1)}if(h){m(this,Kt,"f")&&Kn(!0),t=[].concat(t);let k=t.slice(t.indexOf(`--${m(this,Yt,"f").completionKey}`)+1);return m(this,Yt,"f").getCompletion(k,(I,R)=>{if(I)throw new ke(I.message);(R||[]).forEach(M=>{m(this,Cr,"f").log(M)}),this.exit(0)}),this[Pi](l,!o,!!i,!1)}if(m(this,It,"f")||(g?(m(this,Kt,"f")&&Kn(!0),s=!0,this.showHelp("log"),this.exit(0)):x&&(m(this,Kt,"f")&&Kn(!0),s=!0,m(this,ue,"f").showVersion("log"),this.exit(0))),!s&&m(this,ne,"f").skipValidation.length>0&&(s=Object.keys(l).some(k=>m(this,ne,"f").skipValidation.indexOf(k)>=0&&l[k]===!0)),!s){if(u.error)throw new ke(u.error.message);if(!h){let k=this[Ou](d,{},u.error);i||(p=ki(l,this,m(this,Gt,"f").getMiddleware(),!0)),p=this[Pm](k,p??l),Te(p)&&!i&&(p=p.then(()=>ki(l,this,m(this,Gt,"f").getMiddleware(),!1)))}}}catch(b){if(b instanceof ke)m(this,ue,"f").fail(b.message,b);else throw b}return this[Pi](p??l,o,!!i,!0)}[Ou](t,n,i,r){let a={...this.getDemandedOptions()};return s=>{if(i)throw new ke(i.message);m(this,qe,"f").nonOptionCount(s),m(this,qe,"f").requiredArguments(s,a);let o=!1;m(this,Ii,"f")&&(o=m(this,qe,"f").unknownCommands(s)),m(this,Ri,"f")&&!o?m(this,qe,"f").unknownArguments(s,t,n,!!r):m(this,Ni,"f")&&m(this,qe,"f").unknownArguments(s,t,{},!1,!1),m(this,qe,"f").limitedChoices(s),m(this,qe,"f").implications(s),m(this,qe,"f").conflicting(s)}}[Ym](){V(this,It,!0,"f")}[qi](t){if(typeof t=="string")m(this,ne,"f").key[t]=!0;else for(let n of t)m(this,ne,"f").key[n]=!0}};function xm(e){return!!e&&typeof e.getInternalMethods=="function"}var SE=Km(cu),Gm=SE;var Ql=me(ti());var lf={};jt(lf,{builder:()=>R5,command:()=>j5,describe:()=>M5,handler:()=>I5});var es=me(require("path")),ec=me(require("os")),$r=me(require("fs")),Ib=me(ti());async function VT(){let e=ec.default.homedir(),t=es.default.join(e,".goldsky","auth_token");try{return await $r.default.promises.readFile(t,"utf8")}catch(n){}return null}async function Nb(){let e=await VT();e&&ts(e)}function ts(e){Ib.ApiFetch.setAuth(`Bearer ${e}`)}async function Lb(e){let t=ec.default.homedir(),n=es.default.join(t,".goldsky");try{await $r.default.promises.stat(n)}catch(i){await $r.default.promises.mkdir(n)}await $r.default.promises.writeFile(es.default.join(n,"auth_token"),e,"utf8")}async function Pb(){let e=ec.default.homedir(),t=es.default.join(e,".goldsky","auth_token");try{await $r.default.promises.rm(t)}catch(n){}}var fs=me(Xt()),$c=me(require("readline")),Uy=me(zp()),Wy=me(ii());async function zy(e,t){ts(e),console.log();let n=(0,Wy.default)("Validating API Token").start();try{let i=await Uy.default.get(`${t.apiHost}/auth/check_token`,{headers:{Authorization:`Bearer ${e}`},validateStatus:r=>!0});if(i.status===200&&i.data.success){await Lb(e),n.succeed(`${fs.default.bold(`Logged in to project '${i.data.project.name}'`)} You can now run any authenticated commands on Goldsky from this computer`);return}}catch(i){}n.fail(`${fs.default.bold("Login failed")}. Make sure you entered your API token correctly - or contact Goldsky for more assistance`),process.exit(1)}async function Hy(e){if(e.token)return zy(e.token,e);let t=`Enter or paste in your Goldsky API token ${fs.default.italic("(you can create a new one at https://app.goldsky.com/dashboard/settings)")}: `,n=$c.default.createInterface({input:process.stdin,output:process.stdout});n.stdoutMuted=!0,n.question(t,async i=>{n.close(),await zy(i,e)}),n._writeToOutput=i=>{if(process.stdout.isTTY)if(i.charCodeAt(0)===13)n.output.write(i);else if(i.length>1){let r=n.line.length;$c.default.moveCursor(n.output,0,0),$c.default.clearLine(n.output,1),n.output.write(`${t}${"*".repeat(r)}`)}else n.output.write("*")}}async function Yy(e){Pb(),console.log(`${fs.default.bold("Logged out")}. You will need to log in again if you want to run authenticated commands on this computer in future`)}var j5="login",M5="Log in to Goldsky to enable running authenticated CLI commands",R5=e=>e.version(!1),I5=async({apiHost:e,token:t})=>{await Hy({apiHost:e,token:t})};var uf={};jt(uf,{builder:()=>P5,command:()=>N5,describe:()=>L5,handler:()=>q5});var N5="logout",L5="Log out of Goldsky on this computer",P5=e=>e.version(!1),q5=async({apiHost:e})=>{await Yy({apiHost:e})};var Dh={};jt(Dh,{builder:()=>$P,command:()=>FP,describe:()=>DP,handler:()=>zP});var ff={};jt(ff,{builder:()=>D5,command:()=>B5,describe:()=>F5,handler:()=>$5});var zc=me(Xt()),Ky=me(ti()),Gy=me(ii());async function pf(e){let t=(0,Gy.default)("Removing subgraph").start(),[n,i]=await Ky.ApiFetch.delete_(r=>`/api/admin/subgraph/v1/subgraphs/${r.name}/deployments/${r.version_label}`,{params:{name:e.name,version_label:e.v}});n?(t.fail(`${zc.default.bold("Subgraph removal failed:")} ${zc.default.red(n.message)}`),process.exit(1)):t.succeed(zc.default.bold("Removed subgraph"))}var ut=e=>e.split("/");var B5="delete <nameAndVersion>",F5="Delete a subgraph from Goldsky",D5=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}),$5=async({apiHost:e,nameAndVersion:t})=>pf({apiHost:e,name:ut(t)[0],v:ut(t)[1]});var Eh={};jt(Eh,{builder:()=>YL,command:()=>WL,describe:()=>HL,handler:()=>KL});var An=me(Xt());var Zi=me(require("fs")),sa=me(require("path")),Zy=me(ii());async function Vy(e){let t=(0,Zy.default)("Validating build path").start(),n={isValid:!1,buildPath:e},i=sa.default.join(e,"package.json"),r=sa.default.join(e,"build");if(Zi.default.existsSync(i)&&Zi.default.statSync(i).isFile())if(Zi.default.existsSync(r)&&Zi.default.statSync(r).isDirectory())n.buildPath=sa.default.join(e,"build");else return t.fail("It seems that you haven't built your subgraph. Please build it before deploying."),n.isValid=!1,n;try{await Promise.all([Zi.default.promises.stat(sa.default.join(e,"subgraph.yaml")),Zi.default.promises.stat(sa.default.join(e,"schema.graphql"))]),n.isValid=!0,t.succeed()}catch(a){t.fail()}return n}var eO=me(pS()),Wn=me(require("fs")),tO=me(require("os")),_i=me(require("path")),Kl=me(XS()),Sh=me(ti()),ao=me(ii()),Oh=me(zp());var QS=3;async function $L(e,t,n){let i=Oh.default.create({}),r=_i.default.join(tO.default.tmpdir(),`goldsky-deploy-${e}`);try{await Wn.default.promises.mkdir(r)}catch(d){if(d.code!=="EEXIST")throw d}let a=[],s=0,o=0,c=(d,g,x)=>{let b=d.getIn(g);a.push([b.get("/").replace("/ipfs/",""),x]),d.setIn(g,Kl.default.createNode(x))},u=()=>{n.prefixText=`${Math.round(o++/(a.length+1)*100)}%`},l=await i.get(`${t}/api/v0/cat?arg=${e}`);u();let p=Kl.default.parseDocument(l.data);c(p,["schema","file"],"schema.graphql");for(let d of["dataSources","templates"]){let g=p.get(d);if(g)for(let[x,b]of g.items.entries()){c(b,["mapping","file"],`${s++}.wasm`);for(let[h,_]of b.getIn(["mapping","abis"]).items.entries())c(_,["file"],`${s++}.json`)}}await Wn.default.promises.writeFile(_i.default.join(r,"subgraph.yaml"),p.toString());for(let d of a){let g=_i.default.join(r,d[1]);if(!Wn.default.existsSync(g))try{let x=0;for(;x<QS;){let b=await i.get(`${t}/api/v0/cat?arg=${d[0]}`,{responseType:"arraybuffer",validateStatus:h=>h>=200&&h<300||x<QS-1&&h===504});if(b.status===504)++x;else{await Wn.default.promises.writeFile(g,b.data);break}}}catch(x){try{await Wn.default.promises.rm(g)}catch(b){}throw x}u()}return n.prefixText="",r}async function zL(e){let t=new URL(e),n=Oh.default.create({});try{return(await n.post(e,{query:"{_meta{deployment}}",variables:null},Wh({},t.host==="gateway.thegraph.com"?{headers:{origin:"https://thegraph.com"}}:{}))).data.data._meta.deployment}catch(i){throw new Error("Could not find deployment, did you use a GraphQL endpoint?")}}async function nO(e){console.log(An.default.bold("Deploying Subgraph:"));let t=e.path||_i.default.join(process.cwd()),n=e.ipfsHash;if(e.graphql){let u=(0,ao.default)("Getting subgraph deployment metadata").start();try{n=await zL(e.graphql),u.succeed()}catch(l){u.fail(),console.log(),console.log(`${An.default.bold("Deployment failed:")} ${An.default.red(l.message)}`);return}}if(n){let u=(0,ao.default)("Downloading subgraph from IPFS (This can take a while)").start();try{t=await $L(n,e.ipfsGateway,u),u.succeed()}catch(l){u.fail(),console.log(),console.log(`${An.default.bold("Deployment failed:")} ${An.default.red(l.message)}`);return}}let i=await Vy(t);if(!i.isValid){console.log("Deployment failed: This path doesn't point to a subgraph build path");return}let r=await UL(i.buildPath),a=(0,ao.default)("Deploying to Goldsky").start(),s=Sh.ApiFetch.FormData();s.append("bundle",r.generateNodeStream({streamFiles:!0}),"bundle.zip"),s.append("overwrite",e.overwrite?"1":"0"),s.append("remove_graft",e.removeGraft?"1":"0"),e.startBlock&&s.append("start_block",e.startBlock.toString());let[o,c]=await Sh.ApiFetch.put(u=>`/api/admin/subgraph/v1/subgraphs/${u.name}/deployments/${u.version_label}`,{params:{name:e.name,version_label:e.v},body:s});o?(o.statusCode===524?a.info(`This deployment is taking longer than usual and will keep deploying in the background.
|
|
260
|
-
Wait a few minutes and use ${
|
|
261
|
-
`))),console.log(" ","Synced:",`${c.synced?mn.default.green("\u2714"):`${((a=c.indexing_progress)==null?void 0:a.progress_percent.toPrecision(3))||0}%`}`),c.indexing_progress&&(console.log(" ","Blocks indexed:",`${c.indexing_progress.deployment_start_block} -> ${c.indexing_progress.deployment_head_block}`),console.log(" ","Chain:",(s=c.indexing_progress)==null?void 0:s.network))}}}var
|
|
245
|
+
`;var nu=class{constructor(t,n,r,i){var a,s,o;this.yargs=t,this.usage=n,this.command=r,this.shim=i,this.completionKey="get-yargs-completions",this.aliases=null,this.customCompletionFunction=null,this.indexAfterLastReset=0,this.zshShell=(o=((a=this.shim.getEnv("SHELL"))===null||a===void 0?void 0:a.includes("zsh"))||((s=this.shim.getEnv("ZSH_NAME"))===null||s===void 0?void 0:s.includes("zsh")))!==null&&o!==void 0?o:!1}defaultCompletion(t,n,r,i){let a=this.command.getCommandHandlers();for(let o=0,c=t.length;o<c;++o)if(a[t[o]]&&a[t[o]].builder){let u=a[t[o]].builder;if(so(u)){this.indexAfterLastReset=o+1;let l=this.yargs.getInternalMethods().reset();return u(l,!0),l.argv}}let s=[];this.commandCompletions(s,t,r),this.optionCompletions(s,t,n,r),this.choicesFromOptionsCompletions(s,t,n,r),this.choicesFromPositionalsCompletions(s,t,n,r),i(null,s)}commandCompletions(t,n,r){let i=this.yargs.getInternalMethods().getContext().commands;!r.match(/^-/)&&i[i.length-1]!==r&&!this.previousArgHasChoices(n)&&this.usage.getCommands().forEach(a=>{let s=$n(a[0]).cmd;if(n.indexOf(s)===-1)if(!this.zshShell)t.push(s);else{let o=a[1]||"";t.push(s.replace(/:/g,"\\:")+":"+o)}})}optionCompletions(t,n,r,i){if((i.match(/^-/)||i===""&&t.length===0)&&!this.previousArgHasChoices(n)){let a=this.yargs.getOptions(),s=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(a.key).forEach(o=>{let c=!!a.configuration["boolean-negation"]&&a.boolean.includes(o);!s.includes(o)&&!a.hiddenOptions.includes(o)&&!this.argsContainKey(n,o,c)&&(this.completeOptionKey(o,t,i),c&&!!a.default[o]&&this.completeOptionKey(`no-${o}`,t,i))})}}choicesFromOptionsCompletions(t,n,r,i){if(this.previousArgHasChoices(n)){let a=this.getPreviousArgChoices(n);a&&a.length>0&&t.push(...a.map(s=>s.replace(/:/g,"\\:")))}}choicesFromPositionalsCompletions(t,n,r,i){if(i===""&&t.length>0&&this.previousArgHasChoices(n))return;let a=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[],s=Math.max(this.indexAfterLastReset,this.yargs.getInternalMethods().getContext().commands.length+1),o=a[r._.length-s-1];if(!o)return;let c=this.yargs.getOptions().choices[o]||[];for(let u of c)u.startsWith(i)&&t.push(u.replace(/:/g,"\\:"))}getPreviousArgChoices(t){if(t.length<1)return;let n=t[t.length-1],r="";if(!n.startsWith("-")&&t.length>1&&(r=n,n=t[t.length-2]),!n.startsWith("-"))return;let i=n.replace(/^-+/,""),a=this.yargs.getOptions(),s=[i,...this.yargs.getAliases()[i]||[]],o;for(let c of s)if(Object.prototype.hasOwnProperty.call(a.key,c)&&Array.isArray(a.choices[c])){o=a.choices[c];break}if(o)return o.filter(c=>!r||c.startsWith(r))}previousArgHasChoices(t){let n=this.getPreviousArgChoices(t);return n!==void 0&&n.length>0}argsContainKey(t,n,r){let i=a=>t.indexOf((/^[^0-9]$/.test(a)?"-":"--")+a)!==-1;if(i(n)||r&&i(`no-${n}`))return!0;if(this.aliases){for(let a of this.aliases[n])if(i(a))return!0}return!1}completeOptionKey(t,n,r){let i=this.usage.getDescriptions(),a=c=>/^--/.test(c),s=c=>/^[^0-9]$/.test(c),o=!a(r)&&s(t)?"-":"--";if(!this.zshShell)n.push(o+t);else{let c=i[t]||"";n.push(o+`${t.replace(/:/g,"\\:")}:${c.replace("__yargsString__:","")}`)}}customCompletion(t,n,r,i){if(vt(this.customCompletionFunction,null,this.shim),qO(this.customCompletionFunction)){let a=this.customCompletionFunction(r,n);return Te(a)?a.then(s=>{this.shim.process.nextTick(()=>{i(null,s)})}).catch(s=>{this.shim.process.nextTick(()=>{i(s,void 0)})}):i(null,a)}else return BO(this.customCompletionFunction)?this.customCompletionFunction(r,n,(a=i)=>this.defaultCompletion(t,n,r,a),a=>{i(null,a)}):this.customCompletionFunction(r,n,a=>{i(null,a)})}getCompletion(t,n){let r=t.length?t[t.length-1]:"",i=this.yargs.parse(t,!0),a=this.customCompletionFunction?s=>this.customCompletion(t,s,r,n):s=>this.defaultCompletion(t,s,r,n);return Te(i)?i.then(a):a(i)}generateCompletionScript(t,n){let r=this.zshShell?wm:ym,i=this.shim.path.basename(t);return t.match(/\.js$/)&&(t=`./${t}`),r=r.replace(/{{app_name}}/g,i),r=r.replace(/{{completion_command}}/g,n),r.replace(/{{app_path}}/g,t)}registerFunction(t){this.customCompletionFunction=t}setParsed(t){this.aliases=t.aliases}};function _m(e,t,n,r){return new nu(e,t,n,r)}function qO(e){return e.length<3}function BO(e){return e.length>3}function Sm(e,t){if(e.length===0)return t.length;if(t.length===0)return e.length;let n=[],r;for(r=0;r<=t.length;r++)n[r]=[r];let i;for(i=0;i<=e.length;i++)n[0][i]=i;for(r=1;r<=t.length;r++)for(i=1;i<=e.length;i++)t.charAt(r-1)===e.charAt(i-1)?n[r][i]=n[r-1][i-1]:r>1&&i>1&&t.charAt(r-2)===e.charAt(i-1)&&t.charAt(r-1)===e.charAt(i-2)?n[r][i]=n[r-2][i-2]+1:n[r][i]=Math.min(n[r-1][i-1]+1,Math.min(n[r][i-1]+1,n[r-1][i]+1));return n[t.length][e.length]}var Em=["$0","--","_"];function Om(e,t,n){let r=n.y18n.__,i=n.y18n.__n,a={};a.nonOptionCount=function(p){let f=e.getDemandedCommands(),v=p._.length+(p["--"]?p["--"].length:0)-e.getInternalMethods().getContext().commands.length;f._&&(v<f._.min||v>f._.max)&&(v<f._.min?f._.minMsg!==void 0?t.fail(f._.minMsg?f._.minMsg.replace(/\$0/g,v.toString()).replace(/\$1/,f._.min.toString()):null):t.fail(i("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",v,v.toString(),f._.min.toString())):v>f._.max&&(f._.maxMsg!==void 0?t.fail(f._.maxMsg?f._.maxMsg.replace(/\$0/g,v.toString()).replace(/\$1/,f._.max.toString()):null):t.fail(i("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",v,v.toString(),f._.max.toString()))))},a.positionalCount=function(p,f){f<p&&t.fail(i("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",f,f+"",p+""))},a.requiredArguments=function(p,f){let m=null;for(let v of Object.keys(f))(!Object.prototype.hasOwnProperty.call(p,v)||typeof p[v]>"u")&&(m=m||{},m[v]=f[v]);if(m){let v=[];for(let d of Object.keys(m)){let x=m[d];x&&v.indexOf(x)<0&&v.push(x)}let g=v.length?`
|
|
246
|
+
${v.join(`
|
|
247
|
+
`)}`:"";t.fail(i("Missing required argument: %s","Missing required arguments: %s",Object.keys(m).length,Object.keys(m).join(", ")+g))}},a.unknownArguments=function(p,f,m,v,g=!0){var d;let x=e.getInternalMethods().getCommandInstance().getCommands(),_=[],T=e.getInternalMethods().getContext();if(Object.keys(p).forEach(k=>{!Em.includes(k)&&!Object.prototype.hasOwnProperty.call(m,k)&&!Object.prototype.hasOwnProperty.call(e.getInternalMethods().getParseContext(),k)&&!a.isValidAndSomeAliasIsNotNew(k,f)&&_.push(k)}),g&&(T.commands.length>0||x.length>0||v)&&p._.slice(T.commands.length).forEach(k=>{x.includes(""+k)||_.push(""+k)}),g){let O=((d=e.getDemandedCommands()._)===null||d===void 0?void 0:d.max)||0,D=T.commands.length+O;D<p._.length&&p._.slice(D).forEach(B=>{B=String(B),!T.commands.includes(B)&&!_.includes(B)&&_.push(B)})}_.length&&t.fail(i("Unknown argument: %s","Unknown arguments: %s",_.length,_.map(k=>k.trim()?k:`"${k}"`).join(", ")))},a.unknownCommands=function(p){let f=e.getInternalMethods().getCommandInstance().getCommands(),m=[],v=e.getInternalMethods().getContext();return(v.commands.length>0||f.length>0)&&p._.slice(v.commands.length).forEach(g=>{f.includes(""+g)||m.push(""+g)}),m.length>0?(t.fail(i("Unknown command: %s","Unknown commands: %s",m.length,m.join(", "))),!0):!1},a.isValidAndSomeAliasIsNotNew=function(p,f){if(!Object.prototype.hasOwnProperty.call(f,p))return!1;let m=e.parsed.newAliases;return[p,...f[p]].some(v=>!Object.prototype.hasOwnProperty.call(m,v)||!m[p])},a.limitedChoices=function(p){let f=e.getOptions(),m={};if(!Object.keys(f.choices).length)return;Object.keys(p).forEach(d=>{Em.indexOf(d)===-1&&Object.prototype.hasOwnProperty.call(f.choices,d)&&[].concat(p[d]).forEach(x=>{f.choices[d].indexOf(x)===-1&&x!==void 0&&(m[d]=(m[d]||[]).concat(x))})});let v=Object.keys(m);if(!v.length)return;let g=r("Invalid values:");v.forEach(d=>{g+=`
|
|
248
|
+
${r("Argument: %s, Given: %s, Choices: %s",d,t.stringifiedValues(m[d]),t.stringifiedValues(f.choices[d]))}`}),t.fail(g)};let s={};a.implies=function(p,f){H("<string|object> [array|number|string]",[p,f],arguments.length),typeof p=="object"?Object.keys(p).forEach(m=>{a.implies(m,p[m])}):(e.global(p),s[p]||(s[p]=[]),Array.isArray(f)?f.forEach(m=>a.implies(p,m)):(vt(f,void 0,n),s[p].push(f)))},a.getImplied=function(){return s};function o(l,p){let f=Number(p);return p=isNaN(f)?p:f,typeof p=="number"?p=l._.length>=p:p.match(/^--no-.+/)?(p=p.match(/^--no-(.+)/)[1],p=!Object.prototype.hasOwnProperty.call(l,p)):p=Object.prototype.hasOwnProperty.call(l,p),p}a.implications=function(p){let f=[];if(Object.keys(s).forEach(m=>{let v=m;(s[m]||[]).forEach(g=>{let d=v,x=g;d=o(p,d),g=o(p,g),d&&!g&&f.push(` ${v} -> ${x}`)})}),f.length){let m=`${r("Implications failed:")}
|
|
249
|
+
`;f.forEach(v=>{m+=v}),t.fail(m)}};let c={};a.conflicts=function(p,f){H("<string|object> [array|string]",[p,f],arguments.length),typeof p=="object"?Object.keys(p).forEach(m=>{a.conflicts(m,p[m])}):(e.global(p),c[p]||(c[p]=[]),Array.isArray(f)?f.forEach(m=>a.conflicts(p,m)):c[p].push(f))},a.getConflicting=()=>c,a.conflicting=function(p){Object.keys(p).forEach(f=>{c[f]&&c[f].forEach(m=>{m&&p[f]!==void 0&&p[m]!==void 0&&t.fail(r("Arguments %s and %s are mutually exclusive",f,m))})}),e.getInternalMethods().getParserConfiguration()["strip-dashed"]&&Object.keys(c).forEach(f=>{c[f].forEach(m=>{m&&p[n.Parser.camelCase(f)]!==void 0&&p[n.Parser.camelCase(m)]!==void 0&&t.fail(r("Arguments %s and %s are mutually exclusive",f,m))})})},a.recommendCommands=function(p,f){f=f.sort((d,x)=>x.length-d.length);let v=null,g=1/0;for(let d=0,x;(x=f[d])!==void 0;d++){let _=Sm(p,x);_<=3&&_<g&&(g=_,v=x)}v&&t.fail(r("Did you mean %s?",v))},a.reset=function(p){return s=Wn(s,f=>!p[f]),c=Wn(c,f=>!p[f]),a};let u=[];return a.freeze=function(){u.push({implied:s,conflicting:c})},a.unfreeze=function(){let p=u.pop();vt(p,void 0,n),{implied:s,conflicting:c}=p},a}var ru=[],La;function qa(e,t,n,r){La=r;let i={};if(Object.prototype.hasOwnProperty.call(e,"extends")){if(typeof e.extends!="string")return i;let a=/\.json|\..*rc$/.test(e.extends),s=null;if(a)s=DO(t,e.extends);else try{s=require.resolve(e.extends)}catch{return e}FO(s),ru.push(s),i=a?JSON.parse(La.readFileSync(s,"utf8")):require(e.extends),delete e.extends,i=qa(i,La.path.dirname(s),n,La)}return ru=[],n?km(i,e):Object.assign({},i,e)}function FO(e){if(ru.indexOf(e)>-1)throw new Se(`Circular extended configurations: '${e}'.`)}function DO(e,t){return La.path.resolve(e,t)}function km(e,t){let n={};function r(i){return i&&typeof i=="object"&&!Array.isArray(i)}Object.assign(n,e);for(let i of Object.keys(t))r(t[i])&&r(n[i])?n[i]=km(e[i],t[i]):n[i]=t[i];return n}var Y=function(e,t,n,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(e,n):i?i.value=n:t.set(e,n),n},h=function(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)},ze,Er,Ba,Gt,Mt,co,Yn,Or,lo,Kt,uo,Vt,vn,Pt,Zt,po,xi,Xe,Q,fo,ho,It,kr,yi,Tr,Gn,mo,ie,Cr,Ar,jr,ce,bn,Ne;function Hm(e){return(t=[],n=e.process.cwd(),r)=>{let i=new hu(t,n,r,e);return Object.defineProperty(i,"argv",{get:()=>i.parse(),enumerable:!0}),i.help(),i.version(),i}}var Tm=Symbol("copyDoubleDash"),Cm=Symbol("copyDoubleDash"),iu=Symbol("deleteFromParserHintObject"),Am=Symbol("emitWarning"),jm=Symbol("freeze"),Rm=Symbol("getDollarZero"),Rr=Symbol("getParserConfiguration"),au=Symbol("guessLocale"),Mm=Symbol("guessVersion"),Pm=Symbol("parsePositionalNumbers"),su=Symbol("pkgUp"),Kn=Symbol("populateParserHintArray"),wi=Symbol("populateParserHintSingleValueDictionary"),ou=Symbol("populateParserHintArrayDictionary"),cu=Symbol("populateParserHintDictionary"),lu=Symbol("sanitizeKey"),uu=Symbol("setKey"),pu=Symbol("unfreeze"),Im=Symbol("validateAsync"),Nm=Symbol("getCommandInstance"),Lm=Symbol("getContext"),qm=Symbol("getHasOutput"),Bm=Symbol("getLoggerInstance"),Fm=Symbol("getParseContext"),Dm=Symbol("getUsageInstance"),zm=Symbol("getValidationInstance"),go=Symbol("hasParseCallback"),Um=Symbol("isGlobalContext"),Mr=Symbol("postProcess"),$m=Symbol("rebase"),fu=Symbol("reset"),Fa=Symbol("runYargsParserAndExecuteCommands"),du=Symbol("runValidation"),Wm=Symbol("setHasOutput"),Pr=Symbol("kTrackManuallySetKeys"),hu=class{constructor(t=[],n,r,i){this.customScriptName=!1,this.parsed=!1,ze.set(this,void 0),Er.set(this,void 0),Ba.set(this,{commands:[],fullCommands:[]}),Gt.set(this,null),Mt.set(this,null),co.set(this,"show-hidden"),Yn.set(this,null),Or.set(this,!0),lo.set(this,{}),Kt.set(this,!0),uo.set(this,[]),Vt.set(this,void 0),vn.set(this,{}),Pt.set(this,!1),Zt.set(this,null),po.set(this,!0),xi.set(this,void 0),Xe.set(this,""),Q.set(this,void 0),fo.set(this,void 0),ho.set(this,{}),It.set(this,null),kr.set(this,null),yi.set(this,{}),Tr.set(this,{}),Gn.set(this,void 0),mo.set(this,!1),ie.set(this,void 0),Cr.set(this,!1),Ar.set(this,!1),jr.set(this,!1),ce.set(this,void 0),bn.set(this,null),Ne.set(this,void 0),Y(this,ie,i,"f"),Y(this,Gn,t,"f"),Y(this,Er,n,"f"),Y(this,fo,r,"f"),Y(this,Vt,new ao(this),"f"),this.$0=this[Rm](),this[fu](),Y(this,ze,h(this,ze,"f"),"f"),Y(this,ce,h(this,ce,"f"),"f"),Y(this,Ne,h(this,Ne,"f"),"f"),Y(this,Q,h(this,Q,"f"),"f"),h(this,Q,"f").showHiddenOpt=h(this,co,"f"),Y(this,xi,this[Cm](),"f")}addHelpOpt(t,n){let r="help";return H("[string|boolean] [string]",[t,n],arguments.length),h(this,Zt,"f")&&(this[iu](h(this,Zt,"f")),Y(this,Zt,null,"f")),t===!1&&n===void 0?this:(Y(this,Zt,typeof t=="string"?t:r,"f"),this.boolean(h(this,Zt,"f")),this.describe(h(this,Zt,"f"),n||h(this,ce,"f").deferY18nLookup("Show help")),this)}help(t,n){return this.addHelpOpt(t,n)}addShowHiddenOpt(t,n){if(H("[string|boolean] [string]",[t,n],arguments.length),t===!1&&n===void 0)return this;let r=typeof t=="string"?t:h(this,co,"f");return this.boolean(r),this.describe(r,n||h(this,ce,"f").deferY18nLookup("Show hidden options")),h(this,Q,"f").showHiddenOpt=r,this}showHidden(t,n){return this.addShowHiddenOpt(t,n)}alias(t,n){return H("<object|string|array> [string|array]",[t,n],arguments.length),this[ou](this.alias.bind(this),"alias",t,n),this}array(t){return H("<array|string>",[t],arguments.length),this[Kn]("array",t),this[Pr](t),this}boolean(t){return H("<array|string>",[t],arguments.length),this[Kn]("boolean",t),this[Pr](t),this}check(t,n){return H("<function> [boolean]",[t,n],arguments.length),this.middleware((r,i)=>Sr(()=>t(r,i.getOptions()),a=>(a?(typeof a=="string"||a instanceof Error)&&h(this,ce,"f").fail(a.toString(),a):h(this,ce,"f").fail(h(this,ie,"f").y18n.__("Argument check failed: %s",t.toString())),r),a=>(h(this,ce,"f").fail(a.message?a.message:a.toString(),a),r)),!1,n),this}choices(t,n){return H("<object|string|array> [string|array]",[t,n],arguments.length),this[ou](this.choices.bind(this),"choices",t,n),this}coerce(t,n){if(H("<object|string|array> [function]",[t,n],arguments.length),Array.isArray(t)){if(!n)throw new Se("coerce callback must be provided");for(let r of t)this.coerce(r,n);return this}else if(typeof t=="object"){for(let r of Object.keys(t))this.coerce(r,t[r]);return this}if(!n)throw new Se("coerce callback must be provided");return h(this,Q,"f").key[t]=!0,h(this,Vt,"f").addCoerceMiddleware((r,i)=>{let a;return Object.prototype.hasOwnProperty.call(r,t)?Sr(()=>(a=i.getAliases(),n(r[t])),o=>{r[t]=o;let c=i.getInternalMethods().getParserConfiguration()["strip-aliased"];if(a[t]&&c!==!0)for(let u of a[t])r[u]=o;return r},o=>{throw new Se(o.message)}):r},t),this}conflicts(t,n){return H("<string|object> [string|array]",[t,n],arguments.length),h(this,Ne,"f").conflicts(t,n),this}config(t="config",n,r){return H("[object|string] [string|function] [function]",[t,n,r],arguments.length),typeof t=="object"&&!Array.isArray(t)?(t=qa(t,h(this,Er,"f"),this[Rr]()["deep-merge-config"]||!1,h(this,ie,"f")),h(this,Q,"f").configObjects=(h(this,Q,"f").configObjects||[]).concat(t),this):(typeof n=="function"&&(r=n,n=void 0),this.describe(t,n||h(this,ce,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(t)?t:[t]).forEach(i=>{h(this,Q,"f").config[i]=r||!0}),this)}completion(t,n,r){return H("[string] [string|boolean|function] [function]",[t,n,r],arguments.length),typeof n=="function"&&(r=n,n=void 0),Y(this,Mt,t||h(this,Mt,"f")||"completion","f"),!n&&n!==!1&&(n="generate completion script"),this.command(h(this,Mt,"f"),n),r&&h(this,Gt,"f").registerFunction(r),this}command(t,n,r,i,a,s){return H("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[t,n,r,i,a,s],arguments.length),h(this,ze,"f").addHandler(t,n,r,i,a,s),this}commands(t,n,r,i,a,s){return this.command(t,n,r,i,a,s)}commandDir(t,n){H("<string> [object]",[t,n],arguments.length);let r=h(this,fo,"f")||h(this,ie,"f").require;return h(this,ze,"f").addDirectory(t,r,h(this,ie,"f").getCallerFile(),n),this}count(t){return H("<array|string>",[t],arguments.length),this[Kn]("count",t),this[Pr](t),this}default(t,n,r){return H("<object|string|array> [*] [string]",[t,n,r],arguments.length),r&&(Xl(t,h(this,ie,"f")),h(this,Q,"f").defaultDescription[t]=r),typeof n=="function"&&(Xl(t,h(this,ie,"f")),h(this,Q,"f").defaultDescription[t]||(h(this,Q,"f").defaultDescription[t]=h(this,ce,"f").functionDescription(n)),n=n.call()),this[wi](this.default.bind(this),"default",t,n),this}defaults(t,n,r){return this.default(t,n,r)}demandCommand(t=1,n,r,i){return H("[number] [number|string] [string|null|undefined] [string|null|undefined]",[t,n,r,i],arguments.length),typeof n!="number"&&(r=n,n=1/0),this.global("_",!1),h(this,Q,"f").demandedCommands._={min:t,max:n,minMsg:r,maxMsg:i},this}demand(t,n,r){return Array.isArray(n)?(n.forEach(i=>{vt(r,!0,h(this,ie,"f")),this.demandOption(i,r)}),n=1/0):typeof n!="number"&&(r=n,n=1/0),typeof t=="number"?(vt(r,!0,h(this,ie,"f")),this.demandCommand(t,n,r,r)):Array.isArray(t)?t.forEach(i=>{vt(r,!0,h(this,ie,"f")),this.demandOption(i,r)}):typeof r=="string"?this.demandOption(t,r):(r===!0||typeof r>"u")&&this.demandOption(t),this}demandOption(t,n){return H("<object|string|array> [string]",[t,n],arguments.length),this[wi](this.demandOption.bind(this),"demandedOptions",t,n),this}deprecateOption(t,n){return H("<string> [string|boolean]",[t,n],arguments.length),h(this,Q,"f").deprecatedOptions[t]=n,this}describe(t,n){return H("<object|string|array> [string]",[t,n],arguments.length),this[uu](t,!0),h(this,ce,"f").describe(t,n),this}detectLocale(t){return H("<boolean>",[t],arguments.length),Y(this,Or,t,"f"),this}env(t){return H("[string|boolean]",[t],arguments.length),t===!1?delete h(this,Q,"f").envPrefix:h(this,Q,"f").envPrefix=t||"",this}epilogue(t){return H("<string>",[t],arguments.length),h(this,ce,"f").epilog(t),this}epilog(t){return this.epilogue(t)}example(t,n){return H("<string|array> [string]",[t,n],arguments.length),Array.isArray(t)?t.forEach(r=>this.example(...r)):h(this,ce,"f").example(t,n),this}exit(t,n){Y(this,Pt,!0,"f"),Y(this,Yn,n,"f"),h(this,Kt,"f")&&h(this,ie,"f").process.exit(t)}exitProcess(t=!0){return H("[boolean]",[t],arguments.length),Y(this,Kt,t,"f"),this}fail(t){if(H("<function|boolean>",[t],arguments.length),typeof t=="boolean"&&t!==!1)throw new Se("Invalid first argument. Expected function or boolean 'false'");return h(this,ce,"f").failFn(t),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(t,n){return H("<array> [function]",[t,n],arguments.length),n?h(this,Gt,"f").getCompletion(t,n):new Promise((r,i)=>{h(this,Gt,"f").getCompletion(t,(a,s)=>{a?i(a):r(s)})})}getDemandedOptions(){return H([],0),h(this,Q,"f").demandedOptions}getDemandedCommands(){return H([],0),h(this,Q,"f").demandedCommands}getDeprecatedOptions(){return H([],0),h(this,Q,"f").deprecatedOptions}getDetectLocale(){return h(this,Or,"f")}getExitProcess(){return h(this,Kt,"f")}getGroups(){return Object.assign({},h(this,vn,"f"),h(this,Tr,"f"))}getHelp(){if(Y(this,Pt,!0,"f"),!h(this,ce,"f").hasCachedHelpMessage()){if(!this.parsed){let n=this[Fa](h(this,Gn,"f"),void 0,void 0,0,!0);if(Te(n))return n.then(()=>h(this,ce,"f").help())}let t=h(this,ze,"f").runDefaultBuilderOn(this);if(Te(t))return t.then(()=>h(this,ce,"f").help())}return Promise.resolve(h(this,ce,"f").help())}getOptions(){return h(this,Q,"f")}getStrict(){return h(this,Cr,"f")}getStrictCommands(){return h(this,Ar,"f")}getStrictOptions(){return h(this,jr,"f")}global(t,n){return H("<string|array> [boolean]",[t,n],arguments.length),t=[].concat(t),n!==!1?h(this,Q,"f").local=h(this,Q,"f").local.filter(r=>t.indexOf(r)===-1):t.forEach(r=>{h(this,Q,"f").local.includes(r)||h(this,Q,"f").local.push(r)}),this}group(t,n){H("<string|array> <string>",[t,n],arguments.length);let r=h(this,Tr,"f")[n]||h(this,vn,"f")[n];h(this,Tr,"f")[n]&&delete h(this,Tr,"f")[n];let i={};return h(this,vn,"f")[n]=(r||[]).concat(t).filter(a=>i[a]?!1:i[a]=!0),this}hide(t){return H("<string>",[t],arguments.length),h(this,Q,"f").hiddenOptions.push(t),this}implies(t,n){return H("<string|object> [number|string|array]",[t,n],arguments.length),h(this,Ne,"f").implies(t,n),this}locale(t){return H("[string]",[t],arguments.length),t===void 0?(this[au](),h(this,ie,"f").y18n.getLocale()):(Y(this,Or,!1,"f"),h(this,ie,"f").y18n.setLocale(t),this)}middleware(t,n,r){return h(this,Vt,"f").addMiddleware(t,!!n,r)}nargs(t,n){return H("<string|object|array> [number]",[t,n],arguments.length),this[wi](this.nargs.bind(this),"narg",t,n),this}normalize(t){return H("<array|string>",[t],arguments.length),this[Kn]("normalize",t),this}number(t){return H("<array|string>",[t],arguments.length),this[Kn]("number",t),this[Pr](t),this}option(t,n){if(H("<string|object> [object]",[t,n],arguments.length),typeof t=="object")Object.keys(t).forEach(r=>{this.options(r,t[r])});else{typeof n!="object"&&(n={}),this[Pr](t),h(this,bn,"f")&&(t==="version"||n?.alias==="version")&&this[Am](['"version" is a reserved word.',"Please do one of the following:",'- Disable version with `yargs.version(false)` if using "version" as an option',"- Use the built-in `yargs.version` method instead (if applicable)","- Use a different option key","https://yargs.js.org/docs/#api-reference-version"].join(`
|
|
250
|
+
`),void 0,"versionWarning"),h(this,Q,"f").key[t]=!0,n.alias&&this.alias(t,n.alias);let r=n.deprecate||n.deprecated;r&&this.deprecateOption(t,r);let i=n.demand||n.required||n.require;i&&this.demand(t,i),n.demandOption&&this.demandOption(t,typeof n.demandOption=="string"?n.demandOption:void 0),n.conflicts&&this.conflicts(t,n.conflicts),"default"in n&&this.default(t,n.default),n.implies!==void 0&&this.implies(t,n.implies),n.nargs!==void 0&&this.nargs(t,n.nargs),n.config&&this.config(t,n.configParser),n.normalize&&this.normalize(t),n.choices&&this.choices(t,n.choices),n.coerce&&this.coerce(t,n.coerce),n.group&&this.group(t,n.group),(n.boolean||n.type==="boolean")&&(this.boolean(t),n.alias&&this.boolean(n.alias)),(n.array||n.type==="array")&&(this.array(t),n.alias&&this.array(n.alias)),(n.number||n.type==="number")&&(this.number(t),n.alias&&this.number(n.alias)),(n.string||n.type==="string")&&(this.string(t),n.alias&&this.string(n.alias)),(n.count||n.type==="count")&&this.count(t),typeof n.global=="boolean"&&this.global(t,n.global),n.defaultDescription&&(h(this,Q,"f").defaultDescription[t]=n.defaultDescription),n.skipValidation&&this.skipValidation(t);let a=n.describe||n.description||n.desc;this.describe(t,a),n.hidden&&this.hide(t),n.requiresArg&&this.requiresArg(t)}return this}options(t,n){return this.option(t,n)}parse(t,n,r){H("[string|array] [function|boolean|object] [function]",[t,n,r],arguments.length),this[jm](),typeof t>"u"&&(t=h(this,Gn,"f")),typeof n=="object"&&(Y(this,kr,n,"f"),n=r),typeof n=="function"&&(Y(this,It,n,"f"),n=!1),n||Y(this,Gn,t,"f"),h(this,It,"f")&&Y(this,Kt,!1,"f");let i=this[Fa](t,!!n),a=this.parsed;return h(this,Gt,"f").setParsed(this.parsed),Te(i)?i.then(s=>(h(this,It,"f")&&h(this,It,"f").call(this,h(this,Yn,"f"),s,h(this,Xe,"f")),s)).catch(s=>{throw h(this,It,"f")&&h(this,It,"f")(s,this.parsed.argv,h(this,Xe,"f")),s}).finally(()=>{this[pu](),this.parsed=a}):(h(this,It,"f")&&h(this,It,"f").call(this,h(this,Yn,"f"),i,h(this,Xe,"f")),this[pu](),this.parsed=a,i)}parseAsync(t,n,r){let i=this.parse(t,n,r);return Te(i)?i:Promise.resolve(i)}parseSync(t,n,r){let i=this.parse(t,n,r);if(Te(i))throw new Se(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return i}parserConfiguration(t){return H("<object>",[t],arguments.length),Y(this,ho,t,"f"),this}pkgConf(t,n){H("<string> [string]",[t,n],arguments.length);let r=null,i=this[su](n||h(this,Er,"f"));return i[t]&&typeof i[t]=="object"&&(r=qa(i[t],n||h(this,Er,"f"),this[Rr]()["deep-merge-config"]||!1,h(this,ie,"f")),h(this,Q,"f").configObjects=(h(this,Q,"f").configObjects||[]).concat(r)),this}positional(t,n){H("<string> <object>",[t,n],arguments.length);let r=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];n=Wn(n,(s,o)=>s==="type"&&!["string","number","boolean"].includes(o)?!1:r.includes(s));let i=h(this,Ba,"f").fullCommands[h(this,Ba,"f").fullCommands.length-1],a=i?h(this,ze,"f").cmdToParseOptions(i):{array:[],alias:{},default:{},demand:{}};return vi(a).forEach(s=>{let o=a[s];Array.isArray(o)?o.indexOf(t)!==-1&&(n[s]=!0):o[t]&&!(s in n)&&(n[s]=o[t])}),this.group(t,h(this,ce,"f").getPositionalGroupName()),this.option(t,n)}recommendCommands(t=!0){return H("[boolean]",[t],arguments.length),Y(this,mo,t,"f"),this}required(t,n,r){return this.demand(t,n,r)}require(t,n,r){return this.demand(t,n,r)}requiresArg(t){return H("<array|string|object> [number]",[t],arguments.length),typeof t=="string"&&h(this,Q,"f").narg[t]?this:(this[wi](this.requiresArg.bind(this),"narg",t,NaN),this)}showCompletionScript(t,n){return H("[string] [string]",[t,n],arguments.length),t=t||this.$0,h(this,xi,"f").log(h(this,Gt,"f").generateCompletionScript(t,n||h(this,Mt,"f")||"completion")),this}showHelp(t){if(H("[string|function]",[t],arguments.length),Y(this,Pt,!0,"f"),!h(this,ce,"f").hasCachedHelpMessage()){if(!this.parsed){let r=this[Fa](h(this,Gn,"f"),void 0,void 0,0,!0);if(Te(r))return r.then(()=>{h(this,ce,"f").showHelp(t)}),this}let n=h(this,ze,"f").runDefaultBuilderOn(this);if(Te(n))return n.then(()=>{h(this,ce,"f").showHelp(t)}),this}return h(this,ce,"f").showHelp(t),this}scriptName(t){return this.customScriptName=!0,this.$0=t,this}showHelpOnFail(t,n){return H("[boolean|string] [string]",[t,n],arguments.length),h(this,ce,"f").showHelpOnFail(t,n),this}showVersion(t){return H("[string|function]",[t],arguments.length),h(this,ce,"f").showVersion(t),this}skipValidation(t){return H("<array|string>",[t],arguments.length),this[Kn]("skipValidation",t),this}strict(t){return H("[boolean]",[t],arguments.length),Y(this,Cr,t!==!1,"f"),this}strictCommands(t){return H("[boolean]",[t],arguments.length),Y(this,Ar,t!==!1,"f"),this}strictOptions(t){return H("[boolean]",[t],arguments.length),Y(this,jr,t!==!1,"f"),this}string(t){return H("<array|string>",[t],arguments.length),this[Kn]("string",t),this[Pr](t),this}terminalWidth(){return H([],0),h(this,ie,"f").process.stdColumns}updateLocale(t){return this.updateStrings(t)}updateStrings(t){return H("<object>",[t],arguments.length),Y(this,Or,!1,"f"),h(this,ie,"f").y18n.updateLocale(t),this}usage(t,n,r,i){if(H("<string|null|undefined> [string|boolean] [function|object] [function]",[t,n,r,i],arguments.length),n!==void 0){if(vt(t,null,h(this,ie,"f")),(t||"").match(/^\$0( |$)/))return this.command(t,n,r,i);throw new Se(".usage() description must start with $0 if being used as alias for .command()")}else return h(this,ce,"f").usage(t),this}version(t,n,r){let i="version";if(H("[boolean|string] [string] [string]",[t,n,r],arguments.length),h(this,bn,"f")&&(this[iu](h(this,bn,"f")),h(this,ce,"f").version(void 0),Y(this,bn,null,"f")),arguments.length===0)r=this[Mm](),t=i;else if(arguments.length===1){if(t===!1)return this;r=t,t=i}else arguments.length===2&&(r=n,n=void 0);return Y(this,bn,typeof t=="string"?t:i,"f"),n=n||h(this,ce,"f").deferY18nLookup("Show version number"),h(this,ce,"f").version(r||void 0),this.boolean(h(this,bn,"f")),this.describe(h(this,bn,"f"),n),this}wrap(t){return H("<number|null|undefined>",[t],arguments.length),h(this,ce,"f").wrap(t),this}[(ze=new WeakMap,Er=new WeakMap,Ba=new WeakMap,Gt=new WeakMap,Mt=new WeakMap,co=new WeakMap,Yn=new WeakMap,Or=new WeakMap,lo=new WeakMap,Kt=new WeakMap,uo=new WeakMap,Vt=new WeakMap,vn=new WeakMap,Pt=new WeakMap,Zt=new WeakMap,po=new WeakMap,xi=new WeakMap,Xe=new WeakMap,Q=new WeakMap,fo=new WeakMap,ho=new WeakMap,It=new WeakMap,kr=new WeakMap,yi=new WeakMap,Tr=new WeakMap,Gn=new WeakMap,mo=new WeakMap,ie=new WeakMap,Cr=new WeakMap,Ar=new WeakMap,jr=new WeakMap,ce=new WeakMap,bn=new WeakMap,Ne=new WeakMap,Tm)](t){if(!t._||!t["--"])return t;t._.push.apply(t._,t["--"]);try{delete t["--"]}catch{}return t}[Cm](){return{log:(...t)=>{this[go]()||console.log(...t),Y(this,Pt,!0,"f"),h(this,Xe,"f").length&&Y(this,Xe,h(this,Xe,"f")+`
|
|
251
|
+
`,"f"),Y(this,Xe,h(this,Xe,"f")+t.join(" "),"f")},error:(...t)=>{this[go]()||console.error(...t),Y(this,Pt,!0,"f"),h(this,Xe,"f").length&&Y(this,Xe,h(this,Xe,"f")+`
|
|
252
|
+
`,"f"),Y(this,Xe,h(this,Xe,"f")+t.join(" "),"f")}}}[iu](t){vi(h(this,Q,"f")).forEach(n=>{if((i=>i==="configObjects")(n))return;let r=h(this,Q,"f")[n];Array.isArray(r)?r.includes(t)&&r.splice(r.indexOf(t),1):typeof r=="object"&&delete r[t]}),delete h(this,ce,"f").getDescriptions()[t]}[Am](t,n,r){h(this,lo,"f")[r]||(h(this,ie,"f").process.emitWarning(t,n),h(this,lo,"f")[r]=!0)}[jm](){h(this,uo,"f").push({options:h(this,Q,"f"),configObjects:h(this,Q,"f").configObjects.slice(0),exitProcess:h(this,Kt,"f"),groups:h(this,vn,"f"),strict:h(this,Cr,"f"),strictCommands:h(this,Ar,"f"),strictOptions:h(this,jr,"f"),completionCommand:h(this,Mt,"f"),output:h(this,Xe,"f"),exitError:h(this,Yn,"f"),hasOutput:h(this,Pt,"f"),parsed:this.parsed,parseFn:h(this,It,"f"),parseContext:h(this,kr,"f")}),h(this,ce,"f").freeze(),h(this,Ne,"f").freeze(),h(this,ze,"f").freeze(),h(this,Vt,"f").freeze()}[Rm](){let t="",n;return/\b(node|iojs|electron)(\.exe)?$/.test(h(this,ie,"f").process.argv()[0])?n=h(this,ie,"f").process.argv().slice(1,2):n=h(this,ie,"f").process.argv().slice(0,1),t=n.map(r=>{let i=this[$m](h(this,Er,"f"),r);return r.match(/^(\/|([a-zA-Z]:)?\\)/)&&i.length<r.length?i:r}).join(" ").trim(),h(this,ie,"f").getEnv("_")&&h(this,ie,"f").getProcessArgvBin()===h(this,ie,"f").getEnv("_")&&(t=h(this,ie,"f").getEnv("_").replace(`${h(this,ie,"f").path.dirname(h(this,ie,"f").process.execPath())}/`,"")),t}[Rr](){return h(this,ho,"f")}[au](){if(!h(this,Or,"f"))return;let t=h(this,ie,"f").getEnv("LC_ALL")||h(this,ie,"f").getEnv("LC_MESSAGES")||h(this,ie,"f").getEnv("LANG")||h(this,ie,"f").getEnv("LANGUAGE")||"en_US";this.locale(t.replace(/[.:].*/,""))}[Mm](){return this[su]().version||"unknown"}[Pm](t){let n=t["--"]?t["--"]:t._;for(let r=0,i;(i=n[r])!==void 0;r++)h(this,ie,"f").Parser.looksLikeNumber(i)&&Number.isSafeInteger(Math.floor(parseFloat(`${i}`)))&&(n[r]=Number(i));return t}[su](t){let n=t||"*";if(h(this,yi,"f")[n])return h(this,yi,"f")[n];let r={};try{let i=t||h(this,ie,"f").mainFilename;!t&&h(this,ie,"f").path.extname(i)&&(i=h(this,ie,"f").path.dirname(i));let a=h(this,ie,"f").findUp(i,(s,o)=>{if(o.includes("package.json"))return"package.json"});vt(a,void 0,h(this,ie,"f")),r=JSON.parse(h(this,ie,"f").readFileSync(a,"utf8"))}catch{}return h(this,yi,"f")[n]=r||{},h(this,yi,"f")[n]}[Kn](t,n){n=[].concat(n),n.forEach(r=>{r=this[lu](r),h(this,Q,"f")[t].push(r)})}[wi](t,n,r,i){this[cu](t,n,r,i,(a,s,o)=>{h(this,Q,"f")[a][s]=o})}[ou](t,n,r,i){this[cu](t,n,r,i,(a,s,o)=>{h(this,Q,"f")[a][s]=(h(this,Q,"f")[a][s]||[]).concat(o)})}[cu](t,n,r,i,a){if(Array.isArray(r))r.forEach(s=>{t(s,i)});else if((s=>typeof s=="object")(r))for(let s of vi(r))t(s,r[s]);else a(n,this[lu](r),i)}[lu](t){return t==="__proto__"?"___proto___":t}[uu](t,n){return this[wi](this[uu].bind(this),"key",t,n),this}[pu](){var t,n,r,i,a,s,o,c,u,l,p,f;let m=h(this,uo,"f").pop();vt(m,void 0,h(this,ie,"f"));let v;t=this,n=this,r=this,i=this,a=this,s=this,o=this,c=this,u=this,l=this,p=this,f=this,{options:{set value(g){Y(t,Q,g,"f")}}.value,configObjects:v,exitProcess:{set value(g){Y(n,Kt,g,"f")}}.value,groups:{set value(g){Y(r,vn,g,"f")}}.value,output:{set value(g){Y(i,Xe,g,"f")}}.value,exitError:{set value(g){Y(a,Yn,g,"f")}}.value,hasOutput:{set value(g){Y(s,Pt,g,"f")}}.value,parsed:this.parsed,strict:{set value(g){Y(o,Cr,g,"f")}}.value,strictCommands:{set value(g){Y(c,Ar,g,"f")}}.value,strictOptions:{set value(g){Y(u,jr,g,"f")}}.value,completionCommand:{set value(g){Y(l,Mt,g,"f")}}.value,parseFn:{set value(g){Y(p,It,g,"f")}}.value,parseContext:{set value(g){Y(f,kr,g,"f")}}.value}=m,h(this,Q,"f").configObjects=v,h(this,ce,"f").unfreeze(),h(this,Ne,"f").unfreeze(),h(this,ze,"f").unfreeze(),h(this,Vt,"f").unfreeze()}[Im](t,n){return Sr(n,r=>(t(r),r))}getInternalMethods(){return{getCommandInstance:this[Nm].bind(this),getContext:this[Lm].bind(this),getHasOutput:this[qm].bind(this),getLoggerInstance:this[Bm].bind(this),getParseContext:this[Fm].bind(this),getParserConfiguration:this[Rr].bind(this),getUsageInstance:this[Dm].bind(this),getValidationInstance:this[zm].bind(this),hasParseCallback:this[go].bind(this),isGlobalContext:this[Um].bind(this),postProcess:this[Mr].bind(this),reset:this[fu].bind(this),runValidation:this[du].bind(this),runYargsParserAndExecuteCommands:this[Fa].bind(this),setHasOutput:this[Wm].bind(this)}}[Nm](){return h(this,ze,"f")}[Lm](){return h(this,Ba,"f")}[qm](){return h(this,Pt,"f")}[Bm](){return h(this,xi,"f")}[Fm](){return h(this,kr,"f")||{}}[Dm](){return h(this,ce,"f")}[zm](){return h(this,Ne,"f")}[go](){return!!h(this,It,"f")}[Um](){return h(this,po,"f")}[Mr](t,n,r,i){return r||Te(t)||(n||(t=this[Tm](t)),(this[Rr]()["parse-positional-numbers"]||this[Rr]()["parse-positional-numbers"]===void 0)&&(t=this[Pm](t)),i&&(t=_r(t,this,h(this,Vt,"f").getMiddleware(),!1))),t}[fu](t={}){Y(this,Q,h(this,Q,"f")||{},"f");let n={};n.local=h(this,Q,"f").local||[],n.configObjects=h(this,Q,"f").configObjects||[];let r={};n.local.forEach(s=>{r[s]=!0,(t[s]||[]).forEach(o=>{r[o]=!0})}),Object.assign(h(this,Tr,"f"),Object.keys(h(this,vn,"f")).reduce((s,o)=>{let c=h(this,vn,"f")[o].filter(u=>!(u in r));return c.length>0&&(s[o]=c),s},{})),Y(this,vn,{},"f");let i=["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"],a=["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"];return i.forEach(s=>{n[s]=(h(this,Q,"f")[s]||[]).filter(o=>!r[o])}),a.forEach(s=>{n[s]=Wn(h(this,Q,"f")[s],o=>!r[o])}),n.envPrefix=h(this,Q,"f").envPrefix,Y(this,Q,n,"f"),Y(this,ce,h(this,ce,"f")?h(this,ce,"f").reset(r):xm(this,h(this,ie,"f")),"f"),Y(this,Ne,h(this,Ne,"f")?h(this,Ne,"f").reset(r):Om(this,h(this,ce,"f"),h(this,ie,"f")),"f"),Y(this,ze,h(this,ze,"f")?h(this,ze,"f").reset():gm(h(this,ce,"f"),h(this,Ne,"f"),h(this,Vt,"f"),h(this,ie,"f")),"f"),h(this,Gt,"f")||Y(this,Gt,_m(this,h(this,ce,"f"),h(this,ze,"f"),h(this,ie,"f")),"f"),h(this,Vt,"f").reset(),Y(this,Mt,null,"f"),Y(this,Xe,"","f"),Y(this,Yn,null,"f"),Y(this,Pt,!1,"f"),this.parsed=!1,this}[$m](t,n){return h(this,ie,"f").path.relative(t,n)}[Fa](t,n,r,i=0,a=!1){let s=!!r||a;t=t||h(this,Gn,"f"),h(this,Q,"f").__=h(this,ie,"f").y18n.__,h(this,Q,"f").configuration=this[Rr]();let o=!!h(this,Q,"f").configuration["populate--"],c=Object.assign({},h(this,Q,"f").configuration,{"populate--":!0}),u=h(this,ie,"f").Parser.detailed(t,Object.assign({},h(this,Q,"f"),{configuration:{"parse-positional-numbers":!1,...c}})),l=Object.assign(u.argv,h(this,kr,"f")),p,f=u.aliases,m=!1,v=!1;Object.keys(l).forEach(g=>{g===h(this,Zt,"f")&&l[g]?m=!0:g===h(this,bn,"f")&&l[g]&&(v=!0)}),l.$0=this.$0,this.parsed=u,i===0&&h(this,ce,"f").clearCachedHelpMessage();try{if(this[au](),n)return this[Mr](l,o,!!r,!1);h(this,Zt,"f")&&[h(this,Zt,"f")].concat(f[h(this,Zt,"f")]||[]).filter(T=>T.length>1).includes(""+l._[l._.length-1])&&(l._.pop(),m=!0),Y(this,po,!1,"f");let g=h(this,ze,"f").getCommands(),d=h(this,Gt,"f").completionKey in l,x=m||d||a;if(l._.length){if(g.length){let _;for(let T=i||0,k;l._[T]!==void 0;T++)if(k=String(l._[T]),g.includes(k)&&k!==h(this,Mt,"f")){let O=h(this,ze,"f").runCommand(k,this,u,T+1,a,m||v||a);return this[Mr](O,o,!!r,!1)}else if(!_&&k!==h(this,Mt,"f")){_=k;break}!h(this,ze,"f").hasDefaultCommand()&&h(this,mo,"f")&&_&&!x&&h(this,Ne,"f").recommendCommands(_,g)}h(this,Mt,"f")&&l._.includes(h(this,Mt,"f"))&&!d&&(h(this,Kt,"f")&&Hn(!0),this.showCompletionScript(),this.exit(0))}if(h(this,ze,"f").hasDefaultCommand()&&!x){let _=h(this,ze,"f").runCommand(null,this,u,0,a,m||v||a);return this[Mr](_,o,!!r,!1)}if(d){h(this,Kt,"f")&&Hn(!0),t=[].concat(t);let _=t.slice(t.indexOf(`--${h(this,Gt,"f").completionKey}`)+1);return h(this,Gt,"f").getCompletion(_,(T,k)=>{if(T)throw new Se(T.message);(k||[]).forEach(O=>{h(this,xi,"f").log(O)}),this.exit(0)}),this[Mr](l,!o,!!r,!1)}if(h(this,Pt,"f")||(m?(h(this,Kt,"f")&&Hn(!0),s=!0,this.showHelp("log"),this.exit(0)):v&&(h(this,Kt,"f")&&Hn(!0),s=!0,h(this,ce,"f").showVersion("log"),this.exit(0))),!s&&h(this,Q,"f").skipValidation.length>0&&(s=Object.keys(l).some(_=>h(this,Q,"f").skipValidation.indexOf(_)>=0&&l[_]===!0)),!s){if(u.error)throw new Se(u.error.message);if(!d){let _=this[du](f,{},u.error);r||(p=_r(l,this,h(this,Vt,"f").getMiddleware(),!0)),p=this[Im](_,p??l),Te(p)&&!r&&(p=p.then(()=>_r(l,this,h(this,Vt,"f").getMiddleware(),!1)))}}}catch(g){if(g instanceof Se)h(this,ce,"f").fail(g.message,g);else throw g}return this[Mr](p??l,o,!!r,!0)}[du](t,n,r,i){let a={...this.getDemandedOptions()};return s=>{if(r)throw new Se(r.message);h(this,Ne,"f").nonOptionCount(s),h(this,Ne,"f").requiredArguments(s,a);let o=!1;h(this,Ar,"f")&&(o=h(this,Ne,"f").unknownCommands(s)),h(this,Cr,"f")&&!o?h(this,Ne,"f").unknownArguments(s,t,n,!!i):h(this,jr,"f")&&h(this,Ne,"f").unknownArguments(s,t,{},!1,!1),h(this,Ne,"f").limitedChoices(s),h(this,Ne,"f").implications(s),h(this,Ne,"f").conflicting(s)}}[Wm](){Y(this,Pt,!0,"f")}[Pr](t){if(typeof t=="string")h(this,Q,"f").key[t]=!0;else for(let n of t)h(this,Q,"f").key[n]=!0}};function vm(e){return!!e&&typeof e.getInternalMethods=="function"}var zO=Hm(Jl),Ym=zO;var zl=ne(kt());var Xp={};De(Xp,{builder:()=>I5,command:()=>M5,describe:()=>P5,handler:()=>N5});var pc=ne(require("path")),Cp=ne(require("os")),fc=ne(require("fs")),dx=ne(kt());var on=ne(require("fs")),An=ne(require("path")),cx=ne(Tt()),lx=ne(require("os"));async function ux(e){let t=(0,cx.default)("Validating build path").start(),n={isValid:!1,buildPath:e},r=An.default.join(e,"package.json"),i=An.default.join(e,"build");if(on.default.existsSync(r)&&on.default.statSync(r).isFile())if(on.default.existsSync(i)&&on.default.statSync(i).isDirectory())n.buildPath=An.default.join(e,"build");else return t.fail("It seems that you haven't built your subgraph. Please build it before deploying."),n.isValid=!1,n;try{await Promise.all([on.default.promises.stat(An.default.join(e,"subgraph.yaml")),on.default.promises.stat(An.default.join(e,"schema.graphql"))]),n.isValid=!0,t.succeed()}catch(a){t.fail()}return n}async function uc(){let e=lx.default.homedir(),t=An.default.join(e,".goldsky");try{await on.default.promises.stat(t)}catch(n){await on.default.promises.mkdir(t)}return t}async function px(e){let t=await uc();await on.default.promises.writeFile(An.default.join(t,"project.json"),JSON.stringify(e),"utf8")}async function fx(){let e=await uc(),t=An.default.join(e,"project.json");try{let n=await on.default.promises.readFile(t,"utf8");return JSON.parse(n)}catch(n){return null}}async function gj(){let e=Cp.default.homedir(),t=pc.default.join(e,".goldsky","auth_token");try{return await fc.default.promises.readFile(t,"utf8")}catch(n){}return null}async function hx(){let e=await gj();e&&Xa(e)}function Xa(e){dx.ApiFetch.setAuth(`Bearer ${e}`)}async function mx(e){let t=await uc();await fc.default.promises.writeFile(pc.default.join(t,"auth_token"),e,"utf8")}async function gx(){let e=Cp.default.homedir(),t=pc.default.join(e,".goldsky","auth_token");try{await fc.default.promises.rm(t)}catch(n){}}var ns=ne(Ct()),Ac=ne(require("readline")),zy=ne(Jp()),Uy=ne(Tt());async function Dy(e,t){Xa(e),console.log();let n=(0,Uy.default)("Validating API Token").start();try{let r=await zy.default.get(`${t.apiHost}/auth/check_token`,{headers:{Authorization:`Bearer ${e}`},validateStatus:i=>!0});if(r.status===200&&r.data.success){await mx(e),await px(r.data.project),n.succeed(`${ns.default.bold(`Logged in to project '${r.data.project.name}'`)} You can now run any authenticated commands on Goldsky from this computer`);return}}catch(r){}n.fail(`${ns.default.bold("Login failed")}. Make sure you entered your API token correctly - or contact Goldsky for more assistance`),process.exit(1)}async function $y(e){if(e.token)return Dy(e.token,e);let t=`Enter or paste in your Goldsky API token ${ns.default.italic("(you can create a new one at https://app.goldsky.com/dashboard/settings)")}: `,n=Ac.default.createInterface({input:process.stdin,output:process.stdout});n.stdoutMuted=!0,n.question(t,async r=>{n.close(),await Dy(r,e)}),n._writeToOutput=r=>{if(process.stdout.isTTY)if(r.charCodeAt(0)===13)n.output.write(r);else if(r.length>1){let i=n.line.length;Ac.default.moveCursor(n.output,0,0),Ac.default.clearLine(n.output,1),n.output.write(`${t}${"*".repeat(i)}`)}else n.output.write("*")}}async function Wy(e){gx(),console.log(`${ns.default.bold("Logged out")}. You will need to log in again if you want to run authenticated commands on this computer in future`)}var M5="login",P5="Log in to Goldsky to enable running authenticated CLI commands",I5=e=>e.version(!1),N5=async({apiHost:e,token:t})=>{await $y({apiHost:e,token:t})};var Qp={};De(Qp,{builder:()=>B5,command:()=>L5,describe:()=>q5,handler:()=>F5});var L5="logout",q5="Log out of Goldsky on this computer",B5=e=>e.version(!1),F5=async({apiHost:e})=>{await Wy({apiHost:e})};var Ah={};De(Ah,{builder:()=>WL,command:()=>UL,describe:()=>$L,handler:()=>HL});var tf={};De(tf,{builder:()=>U5,command:()=>D5,describe:()=>z5,handler:()=>$5});var jc=ne(Ct()),Hy=ne(kt()),Yy=ne(Tt());async function ef(e){let t=(0,Yy.default)("Removing subgraph").start(),[n,r]=await Hy.ApiFetch.delete_(i=>`/api/admin/subgraph/v1/subgraphs/${i.name}/deployments/${i.version_label}`,{params:{name:e.name,version_label:e.v}});n?(t.fail(`${jc.default.bold("Subgraph removal failed:")} ${jc.default.red(n.message)}`),process.exit(1)):t.succeed(jc.default.bold("Removed subgraph"))}var ot=e=>e.split("/");var D5="delete <nameAndVersion>",z5="Delete a subgraph from Goldsky",U5=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}),$5=async({apiHost:e,nameAndVersion:t})=>ef({apiHost:e,name:ot(t)[0],v:ot(t)[1]});var hh={};De(hh,{builder:()=>VN,command:()=>GN,describe:()=>KN,handler:()=>ZN});var Aa=ne(Ct());var JS=ne(oS()),Un=ne(require("fs")),XS=ne(require("os")),hn=ne(require("path")),Nl=ne(KS()),ja=ne(kt()),Ca=ne(Tt()),dh=ne(Jp());var VS=3;async function $N(e,t,n){let r=dh.default.create({}),i=hn.default.join(XS.default.tmpdir(),`goldsky-deploy-${e}`);try{await Un.default.promises.mkdir(i)}catch(f){if(f.code!=="EEXIST")throw f}let a=[],s=0,o=0,c=(f,m,v)=>{let g=f.getIn(m);a.push([g.get("/").replace("/ipfs/",""),v]),f.setIn(m,Nl.default.createNode(v))},u=()=>{n.prefixText=`${Math.round(o++/(a.length+1)*100)}%`},l=await r.get(`${t}/api/v0/cat?arg=${e}`);u();let p=Nl.default.parseDocument(l.data);c(p,["schema","file"],"schema.graphql");for(let f of["dataSources","templates"]){let m=p.get(f);if(m)for(let[v,g]of m.items.entries()){c(g,["mapping","file"],`${s++}.wasm`);for(let[d,x]of g.getIn(["mapping","abis"]).items.entries())c(x,["file"],`${s++}.json`)}}await Un.default.promises.writeFile(hn.default.join(i,"subgraph.yaml"),p.toString());for(let f of a){let m=hn.default.join(i,f[1]);if(!Un.default.existsSync(m))try{let v=0;for(;v<VS;){let g=await r.get(`${t}/api/v0/cat?arg=${f[0]}`,{responseType:"arraybuffer",validateStatus:d=>d>=200&&d<300||v<VS-1&&d===504});if(g.status===504)++v;else{await Un.default.promises.writeFile(m,g.data);break}}}catch(v){try{await Un.default.promises.rm(m)}catch(g){}throw v}u()}return n.prefixText="",i}async function WN(e){let t=new URL(e),n=dh.default.create({});try{return(await n.post(e,{query:"{_meta{deployment}}",variables:null},$l({},t.host==="gateway.thegraph.com"?{headers:{origin:"https://thegraph.com"}}:{}))).data.data._meta.deployment}catch(r){throw new Error("Could not find deployment, did you use a GraphQL endpoint?")}}async function QS(e){if(console.log(Aa.default.bold("Deploying Subgraph:")),e.abi){let a=(0,Ca.default)("Generating subgraph(s) (this may take several minutes)").start(),s;try{s=await HN(e.abi)}catch(u){di(a,u);return}let[o,c]=await ja.ApiFetch.post("/api/admin/subgraph/v1/subgraphs/generated",{body:{bundle:s}});if(o){di(a,o);return}else{let u=c.data.generate_config_cursor;for(;;){let[l,p]=await ja.ApiFetch.post("/api/admin/subgraph/v1/subgraphs/check_generated",{body:{cursor:u}});if(l){di(a,l);return}else{let f=p.data.filter(m=>m.status==="FAILED");if(f.length){di(a,{message:`Failed to generate subgraph on chain ${f[0].chain} from ABI bundle: ${f[0].failure_info}`});return}else if(p.data.filter(m=>m.status==="COMPLETE").length===p.data.length){a.succeed();for(let m of p.data)await ZS(Uh($l({},e),{name:`${e.name}-${m.chain}`}),{generatedBundleId:m.generated_subgraph_id});return}}await new Promise(f=>setTimeout(f,5e3))}}}let t=e.path||hn.default.join(process.cwd()),n=e.ipfsHash;if(e.graphql){let a=(0,Ca.default)("Getting subgraph deployment metadata").start();try{n=await WN(e.graphql),a.succeed()}catch(s){di(a,s);return}}if(n){let a=(0,Ca.default)("Downloading subgraph from IPFS (This can take a while)").start();try{t=await $N(n,e.ipfsGateway,a),a.succeed()}catch(s){di(a,s);return}}let r=await ux(t);if(!r.isValid){console.log("Deployment failed: This path doesn't point to a subgraph build path");return}let i=await YN(r.buildPath);await ZS(e,{bundle:i})}async function HN(e){let t=hn.default.resolve(process.cwd(),e),n=hn.default.dirname(t),r=require(t);for(let i in r.abis)r.abis[i]=require(hn.default.resolve(n,r.abis[i].path));if(r.chains&&Array.isArray(r.chains)){let[i,a]=await ja.ApiFetch.get("/api/admin/subgraph/v1/subgraphs/supported_chains");if(i)throw i;{let s=r.chains.filter(o=>!a.data.supported_chains.find(c=>c===o));if(s.length)throw new Error(`The chains [${s.join(", ")}] are not supported. Please specify any combination of the following supported chains: [${a.data.supported_chains.join(", ")}]`)}}return JSON.stringify(r)}async function ZS(e,t){let n=(0,Ca.default)(`Deploying ${e.name}/${e.v} to Goldsky`).start(),r=ja.ApiFetch.FormData();t.bundle?r.append("bundle",t.bundle.generateNodeStream({streamFiles:!0}),"bundle.zip"):t.generatedBundleId&&r.append("generated_bundle_id",t.generatedBundleId),r.append("overwrite",e.overwrite?"1":"0"),r.append("remove_graft",e.removeGraft?"1":"0"),e.startBlock&&r.append("start_block",e.startBlock.toString());let[i,a]=await ja.ApiFetch.put(s=>`/api/admin/subgraph/v1/subgraphs/${s.name}/deployments/${s.version_label}`,{params:{name:e.name,version_label:e.v},body:r});i?i.statusCode===524?n.info(`This deployment is taking longer than usual and will keep deploying in the background.
|
|
253
|
+
Wait a few minutes and use ${Aa.default.bold("goldsky subgraph list")} to check the status of your deployments.`):di(n,i):(n.succeed(),console.log(),console.log(`${Aa.default.bold("Deployed subgraph API:")} ${e.apiHost}${a.data.subgraph.graphql_endpoint}`))}function di(e,t){e.fail(),console.log(),console.log(`${Aa.default.bold("Deployment failed:")} ${Aa.default.red(t.message||t.error)}`),process.exit(1)}async function YN(e){let t=(0,Ca.default)(`Packaging deployment bundle from ${e}`).start();try{let n=new JS.default;n.generateNodeStream({type:"nodebuffer",streamFiles:!0});let r=await Un.default.promises.readFile(hn.default.join(e,"subgraph.yaml"),{encoding:"utf8"}),i=Nl.default.parse(r);n.file("subgraph.yaml",r);let a=i.schema.file,s=await Un.default.promises.readFile(hn.default.join(e,a));n.file(a,s);let o=i.dataSources.concat(i.templates||[]);for(let c of o){let u=c.mapping,l=[u.file,...u.abis.map(p=>p.file)];for(let p of l){let f=await Un.default.promises.readFile(hn.default.join(e,p));n.file(p,f)}}return t.succeed(),n}catch(n){throw t.fail(),n}}var eE=ne(Ct()),GN="deploy <nameAndVersion>",KN="Deploy a subgraph to Goldsky",VN=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}).option("path",{describe:"Path to subgraph",type:"string"}).option("from-ipfs-hash",{describe:"IPFS hash of a publicly deployed subgraph",type:"string"}).option("ipfs-gateway",{describe:"IPFS gateway to use if downloading the subgraph from IPFS",type:"string",default:"https://ipfs.network.thegraph.com"}).option("from-graphql",{describe:"[Deprecated] Use --from-url instead",type:"string",hidden:!0}).option("from-abi",{describe:`${eE.default.red("[BETA] Generate a subgraph from an ABI ")}`,type:"string"}).option("from-url",{describe:"GraphQL endpoint for a publicly deployed subgraph",type:"string"}).option("overwrite",{describe:"Overwrite existing subgraph with the matching name/version",type:"boolean",default:!1}).option("remove-graft",{describe:"Remove grafts from the subgraph prior to deployment",type:"boolean",default:!1}).option("start-block",{describe:"Change start block of your subgraph prior to deployment",type:"number"}).conflicts("path",["from-ipfs-hash","from-graphql","from-url","from-abi"]).conflicts("from-ipfs-hash",["path","from-graphql","from-url","from-abi"]).conflicts("from-graphql",["path","from-ipfs-hash","from-url","from-abi"]).conflicts("from-url",["path","from-ipfs-hash","from-graphql","from-abi"]).conflicts("from-abi",["path","from-ipfs-hash","from-graphql","from-url"]),ZN=async({apiHost:e,nameAndVersion:t,overwrite:n,path:r,fromIpfsHash:i,fromUrl:a,fromGraphql:s,fromAbi:o,ipfsGateway:c,removeGraft:u,startBlock:l})=>QS({apiHost:e,name:ot(t)[0],overwrite:n,path:r,ipfsHash:i,graphql:a||s,abi:o,ipfsGateway:c,v:ot(t)[1],removeGraft:u,startBlock:l});var gh={};De(gh,{builder:()=>QN,command:()=>JN,describe:()=>XN,handler:()=>eL});var mn=ne(Ct()),mh=ne(kt()),tE=ne(Tt());async function nE(e){var a,s;let t="/api/admin/subgraph/v1/subgraphs";e.name&&(t+=`/${e.name}`),e.filter&&(t+=`/${e.filter}`),e.v&&(t+=`/${e.v}`);let n=(0,tE.default)("Fetching subgraphs").start(),[r,i]=await mh.ApiFetch.get(t);if(r)n.fail(`${mn.default.bold("Subgraph listing failed:")} ${mn.default.red(r.message)}`),process.exit(1);else if(n.stop(),i.data.length===0)console.log(mn.default.bold("No subgraphs found."),"Run 'goldsky subgraph deploy --help' for information on deploying a subgraph");else{console.log(mn.default.bold("Subgraphs"));for(let o of i.data)if(o.tag?o.tag.target_version?console.log(mn.default.bold(`* ${o.name}/${o.version} -> ${o.name}/${o.tag.target_version}`)):console.log(mn.default.bold(`* ${o.name}/${o.version} -> [no target]`)):console.log(mn.default.bold(`* ${o.name}/${o.version}`)),!e.summary&&o.deployments.length){let c=o.deployments[0];console.log(" ","GraphQL API:",mh.ApiFetch.getPath(o.graphql_endpoint,{})),console.log(" ","Created:",new Date(c.created_at).toLocaleString()),console.log(" ","Status:",`${mn.default[c.health==="healthy"?"green":"red"](c.health)}`),c.fatal_error&&console.log(" ","Fatal error:",mn.default.red(c.fatal_error.replace(/\t/g,`\r
|
|
254
|
+
`))),console.log(" ","Synced:",`${c.synced?mn.default.green("\u2714"):`${((a=c.indexing_progress)==null?void 0:a.progress_percent.toPrecision(3))||0}%`}`),c.indexing_progress&&(console.log(" ","Blocks indexed:",`${c.indexing_progress.deployment_start_block} -> ${c.indexing_progress.deployment_head_block}`),console.log(" ","Chain:",(s=c.indexing_progress)==null?void 0:s.network))}}}var JN="list [nameAndVersion]",XN="View deployed subgraphs and tags",QN=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string"}).option("filter",{describe:"Limit results to just tags or deployments",choices:["tags","deployments"]}).option("summary",{describe:"Summarize subgraphs & versions without all their details",type:"boolean",default:!1}).implies("version","name").conflicts("filter","version"),eL=async({apiHost:e,summary:t,filter:n,nameAndVersion:r})=>nE({apiHost:e,summary:t,filter:n,name:r?ot(r)[0]:void 0,v:r?ot(r)[1]:void 0});var wh={};De(wh,{builder:()=>pL,command:()=>lL,describe:()=>uL,handler:()=>fL});var xh={};De(xh,{builder:()=>rL,command:()=>tL,describe:()=>nL,handler:()=>iL});var xr=ne(Ct()),vh=ne(kt()),bh=ne(Tt());async function Ll(e){let t=n=>`/api/admin/subgraph/v1/subgraphs/${n.name}/tags/${n.version_label}`;if(e.remove){let n=(0,bh.default)("Removing tag").start(),[r,i]=await vh.ApiFetch.delete_(t,{params:{name:e.name,version_label:e.v}});r?n.fail(`${xr.default.bold("Tag removal failed:")} ${xr.default.red(r.message)}`):n.succeed(`${xr.default.bold("Removed tag:")} ${t({name:e.name,version_label:e.v})}`)}else{let n=(0,bh.default)("Tagging subgraph").start(),[r,i]=await vh.ApiFetch.put(t,{params:{name:e.name,version_label:e.v},body:{target_version:e.t}});r?(n.fail(`${xr.default.bold("Tagging failed:")} ${xr.default.red(r.message)}`),process.exit(1)):(n.succeed(`${xr.default.bold("Tagged subgraph:")}
|
|
262
255
|
${t({name:e.name,version_label:e.v})} ->
|
|
263
|
-
${e.t?t({name:e.name,version_label:e.t}):"null"}`),
|
|
256
|
+
${e.t?t({name:e.name,version_label:e.t}):"null"}`),i.data.subgraph.deployments.length&&console.log(`${xr.default.bold("GraphQL API:")} ${e.apiHost}${i.data.subgraph.graphql_endpoint}`))}}var tL="create <nameAndVersion>",nL="Create a new tag",rL=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}).option("tag",{alias:"t",describe:"The name of the tag",type:"string",demandOption:!0}),iL=async({apiHost:e,nameAndVersion:t,tag:n})=>{await Ll({apiHost:e,name:ot(t)[0],remove:!1,v:n,t:ot(t)[1]})};var yh={};De(yh,{builder:()=>oL,command:()=>aL,describe:()=>sL,handler:()=>cL});var aL="delete <nameAndVersion>",sL="Delete a tag",oL=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}).option("tag",{alias:"t",describe:"The name of the tag to delete",type:"string",demandOption:!0}),cL=async({apiHost:e,nameAndVersion:t,tag:n})=>{await Ll({apiHost:e,name:ot(t)[0],remove:!0,v:n})};var lL="tag",uL="Commands related to tags",pL=e=>e.command(xh).command(yh),fL=async()=>{};var Ch={};De(Ch,{builder:()=>DL,command:()=>BL,describe:()=>FL,handler:()=>zL});var FE=ne(Ct());var Oh={};De(Oh,{builder:()=>CL,command:()=>kL,describe:()=>TL,handler:()=>AL});var LE=ne(Ct());var ql=ne(kt()),Bl=ne(Tt()),gn=ne(Ct()),ME=ne(RE());async function PE(e){let t=(0,Bl.default)("Creating webhook").start(),[n,r]=await ql.ApiFetch.post(i=>`/api/admin/subgraph/v1/webhooks/${i.subgraphName}/${i.subgraphVersion}`,{params:{subgraphName:e.subgraphName,subgraphVersion:e.subgraphVersion},body:{name:e.name,webhookUrl:e.webhookUrl,entity:e.entity}});n?(t.fail(),console.log(),console.log(`${gn.default.bold("Webhook creation failed:")} ${gn.default.red(n.message)}`),process.exit(1)):(t.succeed(),console.log(),console.log(`Webhook '${gn.default.bold(r.data.name)}' created.`),console.log(`Make sure calls to your endpoint have the following value for the 'goldsky-webhook-secret' header: ${gn.default.bold(`${r.data.webhookSecret}`)}`))}async function IE(e){let t=(0,Bl.default)("Deleting webhook").start(),[n]=await ql.ApiFetch.delete_(r=>`/api/admin/subgraph/v1/webhooks/${r.name}`,{params:{name:e.name}});n?(t.fail(),console.log(),console.log(`${gn.default.bold("Webhook deletion failed:")} ${gn.default.red(n.message)}`),process.exit(1)):(t.succeed(),console.log(),console.log(`Webhook '${gn.default.bold(e.name)}' deleted.`))}async function NE(){let e=(0,Bl.default)("Listing webhooks").start(),t="/api/admin/subgraph/v1/webhooks",[n,r]=await ql.ApiFetch.get(t);if(n)e.fail(),console.log(),console.log(`${gn.default.bold("Could not list webhooks:")} ${gn.default.red(n.message)}`),process.exit(1);else if(e.succeed(),console.log(),r.data.length>0){let i=new ME.default({head:["Subgraph Name","Subgraph Version","Webhook Name","Entity","URL"],style:{head:["green"]}});r.data.map(a=>{i.push([a.subgraphName,a.subgraphVersion,a.name,a.entity,a.webhookUrl])}),console.log(i.toString())}else console.log(`No webhooks found. Create one with ${gn.default.bold("goldsky subgraph webhook create")}.`)}var kL="create <nameAndVersion>",TL=`${LE.default.red("[BETA]")} commands related to webhooks`,CL=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}).option("name",{describe:"Name of the webhook, must be unique",type:"string",demandOption:!0}).option("url",{describe:"URL to send events to",type:"string",demandOption:!0}).option("entity",{describe:"Subgraph entity to send events for",type:"string",demandOption:!0}),AL=async({entity:e,name:t,nameAndVersion:n,url:r})=>{await PE({name:t,subgraphName:ot(n)[0],subgraphVersion:ot(n)[1],webhookUrl:r,entity:e})};var kh={};De(kh,{builder:()=>ML,command:()=>jL,describe:()=>RL,handler:()=>PL});var qE=ne(Ct());var jL="delete",RL=`${qE.default.red("[BETA]")} Delete a webhook`,ML=e=>e.option("name",{describe:"Name of the webhook to delete",type:"string",demandOption:!0}),PL=async({apiHost:e,name:t})=>{await IE({name:t})};var Th={};De(Th,{builder:()=>LL,command:()=>IL,describe:()=>NL,handler:()=>qL});var BE=ne(Ct());var IL="list",NL=`${BE.default.red("[BETA]")} List webhooks`,LL=e=>e,qL=async({apiHost:e})=>{await NE()};var BL="webhook",FL=`${FE.default.red("[BETA]")} Commands related to webhooks`,DL=e=>e.command(Oh).command(kh).command(Th),zL=async()=>{};var UL="subgraph",$L="commands related to subgraphs",WL=e=>e.command(hh).command(gh).command(tf).command(wh).command(Ch).version(!1),HL=async()=>{};var Bh={};De(Bh,{builder:()=>_q,command:()=>yq,describe:()=>wq,handler:()=>Sq});var Ph={};De(Ph,{builder:()=>sq,command:()=>iq,describe:()=>aq,handler:()=>oq});var jh={};De(jh,{builder:()=>KL,command:()=>YL,describe:()=>GL,handler:()=>VL});var DE=ne(kt()),zE=ne(Tt());async function UE(){let e=(0,zE.default)("Fetching users").start(),[t,n]=await DE.ApiFetch.get("/api/admin/project/v1/users");if(t)e.fail(t.message),process.exit(1);else if(n.data.length===0)e.fail("No users found, this is extremely unusual. Please contact support@goldsky.com"),process.exit(1);else{e.succeed();for(let r of n.data)console.log(r.email)}}var YL="list",GL="list all users for this project",KL=e=>e,VL=async()=>{await UE()};var Rh={};De(Rh,{builder:()=>XL,command:()=>ZL,describe:()=>JL,handler:()=>QL});var $E=ne(kt()),WE=ne(Tt());async function HE(e){let t=(0,WE.default)("Inviting users").start();if(!await fx()){t.fail("Could not detect your project, please try logging in again");return}let[r,i]=await $E.ApiFetch.post("/api/admin/invite/v1/invite",{body:{emails:e}});r?(t.fail(r.message),process.exit(1)):i.data?t.succeed("Invited users!"):(t.fail("Failed to invite users, try again"),process.exit(1))}var ZL="invite",JL="invite a user to your project",XL=e=>e.option("emails",{describe:"emails of users to invite",type:"array",demandOption:!0,string:!0}),QL=async({emails:e})=>{await HE(e)};var Mh={};De(Mh,{builder:()=>nq,command:()=>eq,describe:()=>tq,handler:()=>rq});var YE=ne(kt()),GE=ne(Tt());async function KE(e){let t=(0,GE.default)("Removing user").start(),[n,r]=await YE.ApiFetch.delete_("/api/admin/project/v1/user",{body:{email:e}});n?(t.fail(n.message),process.exit(1)):r.data?t.succeed(`Removed user ${e}`):(t.fail("Failed to remove user, try again"),process.exit(1))}var eq="remove",tq="remove a user from your project",nq=e=>e.option("email",{describe:"email of user to remove",type:"string",demandOption:!0}),rq=async({email:e})=>{await KE(e)};var iq="users",aq="commands related to the users of a project",sq=e=>e.command(jh).command(Rh).command(Mh).version(!1),oq=async()=>{};var Ih={};De(Ih,{builder:()=>uq,command:()=>cq,describe:()=>lq,handler:()=>pq});var VE=ne(kt()),ZE=ne(Tt());async function JE(e){let t=(0,ZE.default)("Leaving project").start(),[n,r]=await VE.ApiFetch.post("/api/admin/project/v1/leave",{body:{projectId:e}});n?(t.fail(n.message),process.exit(1)):r.data?t.succeed("Left project."):(t.fail("Failed to leave project, try again"),process.exit(1))}var cq="leave",lq="leave a project",uq=e=>e.option("projectId",{describe:"the ID of the project you want to leave",type:"string",demandOption:!0}),pq=async({projectId:e})=>{await JE(e)};var Lh={};De(Lh,{builder:()=>hq,command:()=>fq,describe:()=>dq,handler:()=>mq});var XE=ne(kt()),QE=ne(Tt()),Nh=ne(Ct());async function eO(){let e=(0,QE.default)("Fetching projects").start(),[t,n]=await XE.ApiFetch.get("/api/admin/project/v1/projects");if(t)e.fail(t.message),process.exit(1);else if(n.data.length===0)e.warn("You don't belong to any projects!");else{e.succeed();for(let r of n.data)console.log(`* ${Nh.default.bold(r.name)}${r.currentlyAuthenticated?` ${Nh.default.green("(active)")}`:""}`),console.log(` Created At: ${new Date(r.createdAt).toLocaleString()}`),console.log(` Project ID: ${r.projectId}`)}}var fq="list",dq="list all of the projects you belong to",hq=e=>e,mq=async()=>{await eO()};var qh={};De(qh,{builder:()=>bq,command:()=>gq,describe:()=>vq,handler:()=>xq});var tO=ne(kt()),nO=ne(Tt());async function rO(e){let t=(0,nO.default)("Updating project").start(),[n,r]=await tO.ApiFetch.put("/api/admin/project/v1/project",{body:e});n?(t.fail(n.message),process.exit(1)):r.data?t.succeed("Updated project"):(t.fail("Failed to update project, try again"),process.exit(1))}var gq="update",vq="update a project",bq=e=>e.option("name",{describe:"the new name of the project",type:"string",demandOption:!0}),xq=async({name:e})=>{await rO({name:e})};var yq="project",wq="commands related to project management",_q=e=>e.command(Ph).command(Ih).command(Lh).command(qh).version(!1),Sq=async()=>{};var Dl=ne(Ct());var Fl={name:"@goldskycom/cli",version:"0.4.0",description:"The Goldsky CLI to deploy subgraphs, index & transform blockchain data, configure webhooks, and access your data in real-time.",main:"dist/index.js",keywords:["goldsky","web3","blockchain","real-time","data pipelines","streams","webhooks"],author:"Goldsky",scripts:{test:'echo "Error: no test specified" && exit 1',clean:"rimraf ./dist && rimraf tsconfig.tsbuildinfo",build:"npm run clean && tsc --noEmit --skipLibCheck && node ./scripts/build.js && chmod a+x bin/goldsky","build:sdk":"npx pkg -t linux,macos,win . -o sdk/goldsky","dev:debug":"ts-node src/index.ts",prepublishOnly:"npm run build"},bin:{goldsky:"bin/goldsky"},files:["bin/goldsky","dist"],devDependencies:{"@types/axios":"^0.14.0","@types/cli-table":"^0.3.0","@types/form-data":"^2.5.0","@types/jszip":"^3.4.1","@types/node":"^16.11.11","@types/update-notifier":"^6.0.1","@types/yaml":"^1.9.7","@types/yargs":"^17.0.7",axios:"^0.24.0",chalk:"^4.1.2","cli-table":"^0.3.11","form-data":"^4.0.0",jszip:"^3.7.1",ora:"^4.1.1",yaml:"^1.10.2",yargs:"^17.5.1"},license:"",dependencies:{"update-notifier":"^6.0.2"}};var iO=async()=>{(await Function('return import("update-notifier")')()).default({pkg:Fl}).notify({message:`\u{1F389} A new version of the Goldsky CLI is available \u{1F389}
|
|
264
257
|
|
|
265
|
-
Run {updateCommand} to update (${
|
|
258
|
+
Run {updateCommand} to update (${Dl.default.dim("{currentVersion}")}${Dl.default.reset(" \u2192 ")}${Dl.default.green("{latestVersion}")})`})};var Oq=e=>["subgraph list","subgraph tag delete"].includes(e),kq=Vl(process.argv);iO().then(hx).then(()=>{Ym(kq).scriptName("goldsky").usage("$0 <cmd> args").check(e=>{if(e.nameAndVersion&&!Oq(e._.join(" "))&&!e.nameAndVersion.match(/^.*\/.*$/))throw new Error(`The provided <nameAndValue> "${e.nameAndVersion}" does not match the "name/version" pattern, such as "my-subgraph/1.0.0".`);return!0}).option("apiHost",{alias:"api-host",describe:"Goldsky API host path",type:"string",default:zl.API_URL,hidden:!0}).option("token",{describe:"CLI Auth Token",type:"string",default:""}).command(Xp).command(Qp).command(Ah).command("project",!1,Bh).version(Fl.version).alias("v","version").alias("h","help").strict().demandCommand(1).middleware([e=>{zl.ApiFetch.setApiHost(e.apiHost),e.token&&Xa(e.token)}]).showHelpOnFail(!0).argv});
|
|
266
259
|
/*!
|
|
267
260
|
* mime-db
|
|
268
261
|
* Copyright(c) 2014 Jonathan Ong
|