@goldskycom/cli 0.2.10 → 0.2.11
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/bin/goldsky +1 -1
- package/dist/index.js +159 -152
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,201 +1,208 @@
|
|
|
1
|
-
"use strict";var rE=Object.create;var Ta=Object.defineProperty;var aE=Object.getOwnPropertyDescriptor;var sE=Object.getOwnPropertyNames,gh=Object.getOwnPropertySymbols,oE=Object.getPrototypeOf,bh=Object.prototype.hasOwnProperty,cE=Object.prototype.propertyIsEnumerable;var vh=(e,t,n)=>t in e?Ta(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xh=(e,t)=>{for(var n in t||(t={}))bh.call(t,n)&&vh(e,n,t[n]);if(gh)for(var n of gh(t))cE.call(t,n)&&vh(e,n,t[n]);return e};var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ot=(e,t)=>{for(var n in t)Ta(e,n,{get:t[n],enumerable:!0})},yh=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of sE(t))!bh.call(e,r)&&r!==n&&Ta(e,r,{get:()=>t[r],enumerable:!(i=aE(t,r))||i.enumerable});return e};var ue=(e,t,n)=>(n=e!=null?rE(oE(e)):{},yh(t||!e||!e.__esModule?Ta(n,"default",{value:e,enumerable:!0}):n,e)),lE=e=>yh(Ta({},"__esModule",{value:!0}),e);var Ai=b(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});j.Type=j.TypeBuilder=j.VoidKind=j.UndefinedKind=j.PromiseKind=j.FunctionKind=j.ConstructorKind=j.RefKind=j.AnyKind=j.UnknownKind=j.NullKind=j.BooleanKind=j.IntegerKind=j.NumberKind=j.StringKind=j.LiteralKind=j.EnumKind=j.ArrayKind=j.RecordKind=j.ObjectKind=j.TupleKind=j.UnionKind=j.IntersectKind=j.KeyOfKind=j.NamespaceKind=j.ReadonlyModifier=j.OptionalModifier=j.ReadonlyOptionalModifier=void 0;j.ReadonlyOptionalModifier=Symbol("ReadonlyOptionalModifier");j.OptionalModifier=Symbol("OptionalModifier");j.ReadonlyModifier=Symbol("ReadonlyModifier");j.NamespaceKind=Symbol("NamespaceKind");j.KeyOfKind=Symbol("KeyOfKind");j.IntersectKind=Symbol("IntersectKind");j.UnionKind=Symbol("UnionKind");j.TupleKind=Symbol("TupleKind");j.ObjectKind=Symbol("ObjectKind");j.RecordKind=Symbol("RecordKind");j.ArrayKind=Symbol("ArrayKind");j.EnumKind=Symbol("EnumKind");j.LiteralKind=Symbol("LiteralKind");j.StringKind=Symbol("StringKind");j.NumberKind=Symbol("NumberKind");j.IntegerKind=Symbol("IntegerKind");j.BooleanKind=Symbol("BooleanKind");j.NullKind=Symbol("NullKind");j.UnknownKind=Symbol("UnknownKind");j.AnyKind=Symbol("AnyKind");j.RefKind=Symbol("RefKind");j.ConstructorKind=Symbol("ConstructorKind");j.FunctionKind=Symbol("FunctionKind");j.PromiseKind=Symbol("PromiseKind");j.UndefinedKind=Symbol("UndefinedKind");j.VoidKind=Symbol("VoidKind");function FE(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function DE(e){return typeof e=="object"&&e!==null&&Array.isArray(e)}function vr(e){return FE(e)?Object.keys(e).reduce((t,n)=>({...t,[n]:vr(e[n])}),{}):DE(e)?e.map(t=>vr(t)):e}var mo=class{schemas=new Map;ReadonlyOptional(t){return{...t,modifier:j.ReadonlyOptionalModifier}}Readonly(t){return{...t,modifier:j.ReadonlyModifier}}Optional(t){return{...t,modifier:j.OptionalModifier}}Tuple(t,n={}){let r=t.length,a=t.length,s=t.length>0?{...n,kind:j.TupleKind,type:"array",items:t,additionalItems:!1,minItems:r,maxItems:a}:{...n,kind:j.TupleKind,type:"array",minItems:r,maxItems:a};return this.Store(s)}Object(t,n={}){let i=Object.keys(t),r=i.filter(o=>{let c=t[o];return c.modifier&&(c.modifier===j.OptionalModifier||c.modifier===j.ReadonlyOptionalModifier)}),a=i.filter(o=>!r.includes(o)),s=a.length>0?a:void 0;return this.Store(s?{...n,kind:j.ObjectKind,type:"object",properties:t,required:s}:{...n,kind:j.ObjectKind,type:"object",properties:t})}Intersect(t,n={}){return this.Store({...n,kind:j.IntersectKind,type:"object",allOf:t})}Union(t,n={}){return this.Store({...n,kind:j.UnionKind,anyOf:t})}Array(t,n={}){return this.Store({...n,kind:j.ArrayKind,type:"array",items:t})}Enum(t,n={}){let r=Object.keys(t).filter(a=>isNaN(a)).map(a=>t[a]).map(a=>typeof a=="string"?{type:"string",const:a}:{type:"number",const:a});return this.Store({...n,kind:j.EnumKind,anyOf:r})}Literal(t,n={}){return this.Store({...n,kind:j.LiteralKind,const:t,type:typeof t})}String(t={}){return this.Store({...t,kind:j.StringKind,type:"string"})}RegEx(t,n={}){return this.String({...n,pattern:t.source})}Number(t={}){return this.Store({...t,kind:j.NumberKind,type:"number"})}Integer(t={}){return this.Store({...t,kind:j.IntegerKind,type:"integer"})}Boolean(t={}){return this.Store({...t,kind:j.BooleanKind,type:"boolean"})}Null(t={}){return this.Store({...t,kind:j.NullKind,type:"null"})}Unknown(t={}){return this.Store({...t,kind:j.UnknownKind})}Any(t={}){return this.Store({...t,kind:j.AnyKind})}Record(t,n,i={}){let r=(()=>{switch(t.kind){case j.UnionKind:return`^${t.anyOf.map(a=>a.const).join("|")}$`;case j.KeyOfKind:return`^${t.enum.join("|")}$`;case j.NumberKind:return"^(0|[1-9][0-9]*)$";case j.StringKind:return t.pattern?t.pattern:"^.*$";default:throw Error("Invalid Record Key")}})();return this.Store({...i,kind:j.RecordKind,type:"object",patternProperties:{[r]:n}})}KeyOf(t,n={}){let i=this.Deref(t),r=Object.keys(i.properties);return this.Store({...n,kind:j.KeyOfKind,type:"string",enum:r})}Required(t,n={}){let i=this.Deref(t),r={...vr(i),...n};r.required=Object.keys(r.properties);for(let a of Object.keys(r.properties)){let s=r.properties[a];switch(s.modifier){case j.ReadonlyOptionalModifier:s.modifier=j.ReadonlyModifier;break;case j.ReadonlyModifier:s.modifier=j.ReadonlyModifier;break;case j.OptionalModifier:delete s.modifier;break;default:delete s.modifier;break}}return this.Store(r)}Partial(t,n={}){let i=this.Deref(t),r={...vr(i),...n};delete r.required;for(let a of Object.keys(r.properties)){let s=r.properties[a];switch(s.modifier){case j.ReadonlyOptionalModifier:s.modifier=j.ReadonlyOptionalModifier;break;case j.ReadonlyModifier:s.modifier=j.ReadonlyOptionalModifier;break;case j.OptionalModifier:s.modifier=j.OptionalModifier;break;default:s.modifier=j.OptionalModifier;break}}return this.Store(r)}Pick(t,n,i={}){let r=this.Deref(t),a={...vr(r),...i};a.required=a.required?a.required.filter(s=>n.includes(s)):void 0;for(let s of Object.keys(a.properties))n.includes(s)||delete a.properties[s];return this.Store(a)}Omit(t,n,i={}){let r=this.Deref(t),a={...vr(r),...i};a.required=a.required?a.required.filter(s=>!n.includes(s)):void 0;for(let s of Object.keys(a.properties))n.includes(s)&&delete a.properties[s];return this.Store(a)}Strict(t,n={}){return JSON.parse(JSON.stringify({...n,...t}))}Constructor(t,n,i={}){return this.Store({...i,kind:j.ConstructorKind,type:"constructor",arguments:t,returns:n})}Function(t,n,i={}){return this.Store({...i,kind:j.FunctionKind,type:"function",arguments:t,returns:n})}Promise(t,n={}){return this.Store({...n,type:"promise",kind:j.PromiseKind,item:t})}Undefined(t={}){return this.Store({...t,type:"undefined",kind:j.UndefinedKind})}Void(t={}){return this.Store({...t,type:"void",kind:j.VoidKind})}Namespace(t,n={}){return this.Store({...n,kind:j.NamespaceKind,$defs:t})}Ref(...t){if(t.length===2){let n=t[0],i=t[1];if(n.$id===void 0)throw new Error("Referenced namespace has no $id");if(!this.schemas.has(n.$id))throw new Error(`Unable to locate namespace with $id '${n.$id}'`);return this.Store({kind:j.RefKind,$ref:`${n.$id}#/$defs/${i}`})}else if(t.length===1){let n=t[0];if(n.$id===void 0)throw new Error("Referenced schema has no $id");if(!this.schemas.has(n.$id))throw new Error(`Unable to locate schema with $id '${n.$id}'`);return this.Store({kind:j.RefKind,$ref:n.$id})}else throw new Error("Type.Ref: Invalid arguments")}Rec(t,n={}){let i=n.$id||"",r=t({$ref:`${i}#/$defs/self`});return this.Store({...n,$ref:`${i}#/$defs/self`,$defs:{self:r}})}Store(t){let n=t;return n.$id&&this.schemas.set(n.$id,n),n}Deref(t){let n=t;if(n.kind!==j.RefKind)return t;if(!this.schemas.has(n.$ref))throw Error(`Unable to locate schema with $id '${n.$ref}'`);return this.Deref(this.schemas.get(n.$ref))}};j.TypeBuilder=mo;j.Type=new mo});var Em=b(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.CreateOneClickDeploymentMessageSchema=Ve.GetOneClickDeploymentsMessageSchema=Ve.GetAllSubgraphsMessageSchema=Ve.GetSubgraphMessageSchema=Ve.GetSubgraphVersionsMessageSchema=Ve.RemoveMessageSchema=Ve.CreateTagMessageSchema=Ve.DeployMessageSchema=void 0;var ee=Ai(),zE=ee.Type.Object({bundle:ee.Type.Object({encoding:ee.Type.String(),filename:ee.Type.String(),mimetype:ee.Type.String()}),overwrite:ee.Type.Object({value:ee.Type.String()})}),uu=ee.Type.Object({name:ee.Type.String(),version_label:ee.Type.String()});Ve.DeployMessageSchema={params:uu,body:zE};var $E=ee.Type.Object({target_version:ee.Type.Optional(ee.Type.String())});Ve.CreateTagMessageSchema={body:$E,params:uu};Ve.RemoveMessageSchema={params:uu};var UE=ee.Type.Object({created_at:ee.Type.Number(),deployment_id:ee.Type.String(),health:ee.Type.String(),synced:ee.Type.Boolean(),fatal_error:ee.Type.Optional(ee.Type.String()),non_fatal_errors:ee.Type.Optional(ee.Type.Array(ee.Type.String())),indexing_progress:ee.Type.Optional(ee.Type.Object({network:ee.Type.String(),progress_percent:ee.Type.Number(),chain_head_block:ee.Type.Number(),deployment_head_block:ee.Type.Number(),deployment_start_block:ee.Type.Number(),synced:ee.Type.Boolean()}))}),oP=ee.Type.Object({name:ee.Type.String(),version:ee.Type.String(),tag:ee.Type.Optional(ee.Type.Object({target_version:ee.Type.Optional(ee.Type.String())})),health:ee.Type.String(),synced:ee.Type.Boolean(),graphql_endpoint:ee.Type.String(),deployments:ee.Type.Array(UE)}),WE=ee.Type.Object({name:ee.Type.String()});Ve.GetSubgraphVersionsMessageSchema={params:WE};var KE=ee.Type.Object({name:ee.Type.String(),version_label:ee.Type.String()});Ve.GetSubgraphMessageSchema={params:KE};Ve.GetAllSubgraphsMessageSchema={};Ve.GetOneClickDeploymentsMessageSchema={};var YE=ee.Type.Object({name:ee.Type.String(),description:ee.Type.String(),version:ee.Type.String(),ipfsHash:ee.Type.String(),url:ee.Type.String()});Ve.CreateOneClickDeploymentMessageSchema={body:YE}});var Om=b(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});et.ListStreamsMessageSchema=et.ListSourcesMessageSchema=et.ListDestinationsMessageSchema=et.Destination=et.Stream=et.Source=void 0;var he=Ai();et.Source=he.Type.Object({id:he.Type.String(),project_id:he.Type.String(),name:he.Type.String(),type:he.Type.String(),created_at:he.Type.Number()});et.Stream=he.Type.Object({id:he.Type.String(),project_id:he.Type.String(),created_at:he.Type.Number(),name:he.Type.String(),type:he.Type.String(),dependencies:he.Type.Array(he.Type.String(),{description:"Either there are a list of stream IDs as dependencies here, or the `source_id`property is populated."}),source_id:he.Type.String({description:"The source that this stream depends on if it's not populated by other streams."}),published:he.Type.Boolean(),health:he.Type.String(),subgraph_indexing_progress:he.Type.Object({network:he.Type.String(),progress_percent:he.Type.Number(),chain_head_block:he.Type.Number(),deployment_head_block:he.Type.Number(),deployment_start_block:he.Type.Number()})});et.Destination=he.Type.Object({id:he.Type.String(),project_id:he.Type.String(),created_at:he.Type.Number(),name:he.Type.String(),type:he.Type.String(),external_url:he.Type.String()});et.ListDestinationsMessageSchema={description:`
|
|
1
|
+
"use strict";var $O=Object.create;var Fa=Object.defineProperty;var zO=Object.getOwnPropertyDescriptor;var UO=Object.getOwnPropertyNames,$h=Object.getOwnPropertySymbols,WO=Object.getPrototypeOf,Uh=Object.prototype.hasOwnProperty,HO=Object.prototype.propertyIsEnumerable;var zh=(e,t,n)=>t in e?Fa(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))HO.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)Fa(e,n,{get:t[n],enumerable:!0})},Hh=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of UO(t))!Uh.call(e,r)&&r!==n&&Fa(e,r,{get:()=>t[r],enumerable:!(i=zO(t,r))||i.enumerable});return e};var me=(e,t,n)=>(n=e!=null?$O(WO(e)):{},Hh(t||!e||!e.__esModule?Fa(n,"default",{value:e,enumerable:!0}):n,e)),YO=e=>Hh(Fa({},"__esModule",{value:!0}),e);var an=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 _E=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${_E++}`);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 ie=an(),SE=ie.Type.Object({bundle:ie.Type.Object({encoding:ie.Type.String(),filename:ie.Type.String(),mimetype:ie.Type.String()}),overwrite:ie.Type.Object({value:ie.Type.String()})}),ku=ie.Type.Object({name:ie.Type.String(),version_label:ie.Type.String()});tt.DeployMessageSchema={params:ku,body:SE};var OE=ie.Type.Object({target_version:ie.Type.Optional(ie.Type.String())});tt.CreateTagMessageSchema={body:OE,params:ku};tt.RemoveMessageSchema={params:ku};var EE=ie.Type.Object({created_at:ie.Type.Number(),deployment_id:ie.Type.String(),health:ie.Type.String(),synced:ie.Type.Boolean(),fatal_error:ie.Type.Optional(ie.Type.String()),non_fatal_errors:ie.Type.Optional(ie.Type.Array(ie.Type.String())),indexing_progress:ie.Type.Optional(ie.Type.Object({network:ie.Type.String(),progress_percent:ie.Type.Number(),chain_head_block:ie.Type.Number(),deployment_head_block:ie.Type.Number(),deployment_start_block:ie.Type.Number(),synced:ie.Type.Boolean()}))}),M8=ie.Type.Object({name:ie.Type.String(),version:ie.Type.String(),tag:ie.Type.Optional(ie.Type.Object({target_version:ie.Type.Optional(ie.Type.String())})),health:ie.Type.String(),synced:ie.Type.Boolean(),graphql_endpoint:ie.Type.String(),deployments:ie.Type.Array(EE)}),kE=ie.Type.Object({name:ie.Type.String()});tt.GetSubgraphVersionsMessageSchema={params:kE};var CE=ie.Type.Object({name:ie.Type.String(),version_label:ie.Type.String()});tt.GetSubgraphMessageSchema={params:CE};tt.GetAllSubgraphsMessageSchema={};tt.GetOneClickDeploymentsMessageSchema={};var TE=ie.Type.Object({name:ie.Type.String(),description:ie.Type.String(),version:ie.Type.String(),ipfsHash:ie.Type.String(),url:ie.Type.String()});tt.CreateOneClickDeploymentMessageSchema={body:TE}});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 be=an();st.Source=be.Type.Object({id:be.Type.String(),project_id:be.Type.String(),name:be.Type.String(),type:be.Type.String(),created_at:be.Type.Number()});st.Stream=be.Type.Object({id:be.Type.String(),project_id:be.Type.String(),created_at:be.Type.Number(),name:be.Type.String(),type:be.Type.String(),dependencies:be.Type.Array(be.Type.String(),{description:"Either there are a list of stream IDs as dependencies here, or the `source_id`property is populated."}),source_id:be.Type.String({description:"The source that this stream depends on if it's not populated by other streams."}),published:be.Type.Boolean(),health:be.Type.String(),subgraph_indexing_progress:be.Type.Object({network:be.Type.String(),progress_percent:be.Type.Number(),chain_head_block:be.Type.Number(),deployment_head_block:be.Type.Number(),deployment_start_block:be.Type.Number()})});st.Destination=be.Type.Object({id:be.Type.String(),project_id:be.Type.String(),created_at:be.Type.Number(),name:be.Type.String(),type:be.Type.String(),external_url:be.Type.String()});st.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:be.Type.Array(st.Destination)}};st.ListSourcesMessageSchema={description:`
|
|
8
8
|
Gets all sources for this user.
|
|
9
9
|
Currently just gets graph-node subgraphs.
|
|
10
|
-
`,response:{200:
|
|
10
|
+
`,response:{200:be.Type.Array(st.Source)}};st.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=bu.trim(o.substr(0,a)).toLowerCase(),r=bu.trim(o.substr(a+1)),i){if(n[i]&&hO.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 Jm=b((SP,Zm)=>{"use strict";var Vm=ot();Zm.exports=Vm.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=Vm.isString(s)?r(s):s;return o.protocol===i.protocol&&o.host===i.host}}():function(){return function(){return!0}}()});var xr=b((EP,Xm)=>{"use strict";function xu(e){this.message=e}xu.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};xu.prototype.__CANCEL__=!0;Xm.exports=xu});var eg=b((OP,Qm)=>{"use strict";var _o=ot(),mO=gu(),gO=zm(),vO=vo(),bO=vu(),xO=Gm(),yO=Jm(),yu=yo(),wO=yr(),_O=xr();Qm.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)}_o.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=bO(t.baseURL,t.url);l.open(t.method.toUpperCase(),vO(m,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function v(){if(!!l){var d="getAllResponseHeaders"in l?xO(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};mO(function(k){i(k),u()},function(k){r(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||(r(yu("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){r(yu("Network Error",t,null,l)),l=null},l.ontimeout=function(){var x=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",_=t.transitional||wO.transitional;t.timeoutErrorMessage&&(x=t.timeoutErrorMessage),r(yu(x,t,_.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},_o.isStandardBrowserEnv()){var g=(t.withCredentials||yO(m))&&t.xsrfCookieName?gO.read(t.xsrfCookieName):void 0;g&&(s[t.xsrfHeaderName]=g)}"setRequestHeader"in l&&_o.forEach(s,function(x,_){typeof a>"u"&&_.toLowerCase()==="content-type"?delete s[_]:l.setRequestHeader(_,x)}),_o.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||(r(!d||d&&d.type?new _O("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 ng=b((kP,tg)=>{var wr=1e3,_r=wr*60,Sr=_r*60,Ti=Sr*24,SO=Ti*7,EO=Ti*365.25;tg.exports=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0)return OO(e);if(n==="number"&&isFinite(e))return t.long?CO(e):kO(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function OO(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*EO;case"weeks":case"week":case"w":return n*SO;case"days":case"day":case"d":return n*Ti;case"hours":case"hour":case"hrs":case"hr":case"h":return n*Sr;case"minutes":case"minute":case"mins":case"min":case"m":return n*_r;case"seconds":case"second":case"secs":case"sec":case"s":return n*wr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function kO(e){var t=Math.abs(e);return t>=Ti?Math.round(e/Ti)+"d":t>=Sr?Math.round(e/Sr)+"h":t>=_r?Math.round(e/_r)+"m":t>=wr?Math.round(e/wr)+"s":e+"ms"}function CO(e){var t=Math.abs(e);return t>=Ti?So(e,t,Ti,"day"):t>=Sr?So(e,t,Sr,"hour"):t>=_r?So(e,t,_r,"minute"):t>=wr?So(e,t,wr,"second"):e+" ms"}function So(e,t,n,i){var r=t>=n*1.5;return Math.round(e/n)+" "+i+(r?"s":"")}});var wu=b((CP,ig)=>{function AO(e){n.debug=n,n.default=n,n.coerce=c,n.disable=a,n.enable=r,n.enabled=s,n.humanize=ng(),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),C=_-(p||_);x.diff=C,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,(F,P)=>{if(F==="%%")return"%";k++;let L=n.formatters[P];if(typeof L=="function"){let $=d[k];F=L.call(x,$),d.splice(k,1),k--}return F}),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=i,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 i(l,p){let f=n(this.namespace+(typeof p>"u"?":":p)+l);return f.log=this.log,f}function r(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}ig.exports=AO});var rg=b((jt,Eo)=>{jt.formatArgs=jO;jt.save=MO;jt.load=RO;jt.useColors=TO;jt.storage=NO();jt.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`."))}})();jt.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 TO(){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 jO(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+Eo.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)}jt.log=console.debug||console.log||(()=>{});function MO(e){try{e?jt.storage.setItem("debug",e):jt.storage.removeItem("debug")}catch{}}function RO(){let e;try{e=jt.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function NO(){try{return localStorage}catch{}}Eo.exports=wu()(jt);var{formatters:LO}=Eo.exports;LO.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var sg=b((AP,ag)=>{"use strict";ag.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 Oo=b((TP,cg)=>{"use strict";var IO=require("os"),og=require("tty"),Kt=sg(),{env:Ze}=process,Wn;Kt("no-color")||Kt("no-colors")||Kt("color=false")||Kt("color=never")?Wn=0:(Kt("color")||Kt("colors")||Kt("color=true")||Kt("color=always"))&&(Wn=1);"FORCE_COLOR"in Ze&&(Ze.FORCE_COLOR==="true"?Wn=1:Ze.FORCE_COLOR==="false"?Wn=0:Wn=Ze.FORCE_COLOR.length===0?1:Math.min(parseInt(Ze.FORCE_COLOR,10),3));function _u(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Su(e,t){if(Wn===0)return 0;if(Kt("color=16m")||Kt("color=full")||Kt("color=truecolor"))return 3;if(Kt("color=256"))return 2;if(e&&!t&&Wn===void 0)return 0;let n=Wn||0;if(Ze.TERM==="dumb")return n;if(process.platform==="win32"){let i=IO.release().split(".");return Number(i[0])>=10&&Number(i[2])>=10586?Number(i[2])>=14931?3:2:1}if("CI"in Ze)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(i=>i in Ze)||Ze.CI_NAME==="codeship"?1:n;if("TEAMCITY_VERSION"in Ze)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ze.TEAMCITY_VERSION)?1:0;if(Ze.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Ze){let i=parseInt((Ze.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ze.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ze.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ze.TERM)||"COLORTERM"in Ze?1:n}function qO(e){let t=Su(e,e&&e.isTTY);return _u(t)}cg.exports={supportsColor:qO,stdout:_u(Su(!0,og.isatty(1))),stderr:_u(Su(!0,og.isatty(2)))}});var ug=b((tt,Co)=>{var PO=require("tty"),ko=require("util");tt.init=WO;tt.log=zO;tt.formatArgs=FO;tt.save=$O;tt.load=UO;tt.useColors=BO;tt.destroy=ko.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");tt.colors=[6,2,3,4,5,1];try{let e=Oo();e&&(e.stderr||e).level>=2&&(tt.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{}tt.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 BO(){return"colors"in tt.inspectOpts?Boolean(tt.inspectOpts.colors):PO.isatty(process.stderr.fd)}function FO(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:be.Type.Array(st.Stream)}}});var Cu=w((N8,Jm)=>{"use strict";Jm.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 dt=w((L8,tg)=>{"use strict";var AE=Cu(),Jn=Object.prototype.toString;function ju(e){return Array.isArray(e)}function Tu(e){return typeof e>"u"}function jE(e){return e!==null&&!Tu(e)&&e.constructor!==null&&!Tu(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Xm(e){return Jn.call(e)==="[object ArrayBuffer]"}function ME(e){return Jn.call(e)==="[object FormData]"}function RE(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Xm(e.buffer),t}function IE(e){return typeof e=="string"}function NE(e){return typeof e=="number"}function Qm(e){return e!==null&&typeof e=="object"}function Ao(e){if(Jn.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function LE(e){return Jn.call(e)==="[object Date]"}function PE(e){return Jn.call(e)==="[object File]"}function qE(e){return Jn.call(e)==="[object Blob]"}function eg(e){return Jn.call(e)==="[object Function]"}function BE(e){return Qm(e)&&eg(e.pipe)}function FE(e){return Jn.call(e)==="[object URLSearchParams]"}function DE(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function $E(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Mu(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),ju(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 Au(){var e={};function t(r,a){Ao(e[a])&&Ao(r)?e[a]=Au(e[a],r):Ao(r)?e[a]=Au({},r):ju(r)?e[a]=r.slice():e[a]=r}for(var n=0,i=arguments.length;n<i;n++)Mu(arguments[n],t);return e}function zE(e,t,n){return Mu(t,function(r,a){n&&typeof r=="function"?e[a]=AE(r,n):e[a]=r}),e}function UE(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}tg.exports={isArray:ju,isArrayBuffer:Xm,isBuffer:jE,isFormData:ME,isArrayBufferView:RE,isString:IE,isNumber:NE,isObject:Qm,isPlainObject:Ao,isUndefined:Tu,isDate:LE,isFile:PE,isBlob:qE,isFunction:eg,isStream:BE,isURLSearchParams:FE,isStandardBrowserEnv:$E,forEach:Mu,merge:Au,extend:zE,trim:DE,stripBOM:UE}});var jo=w((P8,ig)=>{"use strict";var Tr=dt();function ng(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}ig.exports=function(t,n,i){if(!n)return t;var r;if(i)r=i(n);else if(Tr.isURLSearchParams(n))r=n.toString();else{var a=[];Tr.forEach(n,function(c,u){c===null||typeof c>"u"||(Tr.isArray(c)?u=u+"[]":c=[c],Tr.forEach(c,function(p){Tr.isDate(p)?p=p.toISOString():Tr.isObject(p)&&(p=JSON.stringify(p)),a.push(ng(u)+"="+ng(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 ag=w((q8,rg)=>{"use strict";var WE=dt();function Mo(){this.handlers=[]}Mo.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};Mo.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Mo.prototype.forEach=function(t){WE.forEach(this.handlers,function(i){i!==null&&t(i)})};rg.exports=Mo});var og=w((B8,sg)=>{"use strict";var HE=dt();sg.exports=function(t,n){HE.forEach(t,function(r,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=r,delete t[a])})}});var Ro=w((F8,cg)=>{"use strict";cg.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 Io=w((D8,lg)=>{"use strict";var YE=Ro();lg.exports=function(t,n,i,r,a){var s=new Error(t);return YE(s,n,i,r,a)}});var Ru=w(($8,ug)=>{"use strict";var KE=Io();ug.exports=function(t,n,i){var r=i.config.validateStatus;!i.status||!r||r(i.status)?t(i):n(KE("Request failed with status code "+i.status,i.config,null,i.request,i))}});var fg=w((z8,pg)=>{"use strict";var No=dt();pg.exports=No.isStandardBrowserEnv()?function(){return{write:function(n,i,r,a,s,o){var c=[];c.push(n+"="+encodeURIComponent(i)),No.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),No.isString(a)&&c.push("path="+a),No.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 hg=w((U8,dg)=>{"use strict";dg.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}});var gg=w((W8,mg)=>{"use strict";mg.exports=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}});var Iu=w((H8,vg)=>{"use strict";var GE=hg(),ZE=gg();vg.exports=function(t,n){return t&&!GE(n)?ZE(t,n):n}});var xg=w((Y8,bg)=>{"use strict";var Nu=dt(),VE=["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"];bg.exports=function(t){var n={},i,r,a;return t&&Nu.forEach(t.split(`
|
|
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]&&VE.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((K8,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 Ar=w((G8,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((Z8,Og)=>{"use strict";var Lo=dt(),JE=Ru(),XE=fg(),QE=jo(),ek=Iu(),tk=xg(),nk=_g(),Pu=Io(),ik=jr(),rk=Ar();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=ek(t.baseURL,t.url);l.open(t.method.toUpperCase(),QE(g,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function x(){if(!!l){var h="getAllResponseHeaders"in l?tk(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};JE(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||ik.transitional;t.timeoutErrorMessage&&(_=t.timeoutErrorMessage),r(Pu(_,t,k.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},Lo.isStandardBrowserEnv()){var v=(t.withCredentials||nk(g))&&t.xsrfCookieName?XE.read(t.xsrfCookieName):void 0;v&&(s[t.xsrfHeaderName]=v)}"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 rk("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((V8,kg)=>{var Mr=1e3,Rr=Mr*60,Ir=Rr*60,qi=Ir*24,ak=qi*7,sk=qi*365.25;kg.exports=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0)return ok(e);if(n==="number"&&isFinite(e))return t.long?lk(e):ck(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function ok(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*sk;case"weeks":case"week":case"w":return n*ak;case"days":case"day":case"d":return n*qi;case"hours":case"hour":case"hrs":case"hr":case"h":return n*Ir;case"minutes":case"minute":case"mins":case"min":case"m":return n*Rr;case"seconds":case"second":case"secs":case"sec":case"s":return n*Mr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function ck(e){var t=Math.abs(e);return t>=qi?Math.round(e/qi)+"d":t>=Ir?Math.round(e/Ir)+"h":t>=Rr?Math.round(e/Rr)+"m":t>=Mr?Math.round(e/Mr)+"s":e+"ms"}function lk(e){var t=Math.abs(e);return t>=qi?Po(e,t,qi,"day"):t>=Ir?Po(e,t,Ir,"hour"):t>=Rr?Po(e,t,Rr,"minute"):t>=Mr?Po(e,t,Mr,"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((J8,Tg)=>{function uk(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 v(...h){if(!v.enabled)return;let _=v,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 v.namespace=l,v.useColors=n.useColors(),v.color=n.selectColor(l),v.extend=i,v.destroy=n.destroy,Object.defineProperty(v,"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(v),v}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=uk});var Ag=w((Lt,qo)=>{Lt.formatArgs=fk;Lt.save=dk;Lt.load=hk;Lt.useColors=pk;Lt.storage=mk();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 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 fk(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 dk(e){try{e?Lt.storage.setItem("debug",e):Lt.storage.removeItem("debug")}catch{}}function hk(){let e;try{e=Lt.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function mk(){try{return localStorage}catch{}}qo.exports=qu()(Lt);var{formatters:gk}=qo.exports;gk.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Mg=w((X8,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((Q8,Ig)=>{"use strict";var vk=require("os"),Rg=require("tty"),Zt=Mg(),{env:nt}=process,Xn;Zt("no-color")||Zt("no-colors")||Zt("color=false")||Zt("color=never")?Xn=0:(Zt("color")||Zt("colors")||Zt("color=true")||Zt("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(Zt("color=16m")||Zt("color=full")||Zt("color=truecolor"))return 3;if(Zt("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=vk.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 bk(e){let t=Fu(e,e&&e.isTTY);return Bu(t)}Ig.exports={supportsColor:bk,stdout:Bu(Fu(!0,Rg.isatty(1))),stderr:Bu(Fu(!0,Rg.isatty(2)))}});var Lg=w((ot,Do)=>{var xk=require("tty"),Fo=require("util");ot.init=kk;ot.log=Sk;ot.formatArgs=wk;ot.save=Ok;ot.load=Ek;ot.useColors=yk;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 yk(){return"colors"in ot.inspectOpts?Boolean(ot.inspectOpts.colors):xk.isatty(process.stderr.fd)}function wk(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(`
|
|
15
15
|
`).join(`
|
|
16
|
-
`+a),e.push(r+"m+"+
|
|
17
|
-
`)}function
|
|
18
|
-
`).map(t=>t.trim()).join(" ")};lg.O=function(e){return this.inspectOpts.colors=this.useColors,ko.inspect(e,this.inspectOpts)}});var pg=b((jP,Eu)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Eu.exports=rg():Eu.exports=ug()});var dg=b((MP,fg)=>{var qa;fg.exports=function(){if(!qa){try{qa=pg()("follow-redirects")}catch{}typeof qa!="function"&&(qa=function(){})}qa.apply(null,arguments)}});var Pa=b((RP,Au)=>{var ji=require("url"),Ou=ji.URL,KO=require("http"),YO=require("https"),gg=require("stream").Writable,HO=require("assert"),vg=dg(),Mi=["abort","aborted","connect","error","socket","timeout"],Cu=Object.create(null);Mi.forEach(function(e){Cu[e]=function(t,n,i){this._redirectable.emit(e,t,n,i)}});var hg=Ao("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),GO=Ao("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),VO=Ao("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),ZO=Ao("ERR_STREAM_WRITE_AFTER_END","write after end");function Mt(e,t){gg.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()}Mt.prototype=Object.create(gg.prototype);Mt.prototype.abort=function(){xg(this._currentRequest),this.emit("abort")};Mt.prototype.write=function(e,t,n){if(this._ending)throw new ZO;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 VO),this.abort())};Mt.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}};Mt.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};Mt.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};Mt.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){Mt.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(Mt.prototype,e,{get:function(){return this._currentRequest[e]}})});Mt.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))}};Mt.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=ji.format(this._options),i._redirectable=this;for(var r=0;r<Mi.length;r++)i.on(Mi[r],Cu[Mi[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()})()}};Mt.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(xg(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects){this.emit("error",new GO);return}((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],ku(/^content-/i,this._options.headers));var i=ku(/^host$/i,this._options.headers),r=ji.parse(this._currentUrl),a=i||r.host,s=/^\w+:/.test(n)?this._currentUrl:ji.format(Object.assign(r,{host:a})),o;try{o=ji.resolve(s,n)}catch(l){this.emit("error",new hg(l));return}vg("redirecting to",o),this._isRedirect=!0;var c=ji.parse(o);if(Object.assign(this._options,c),(c.protocol!==r.protocol||!XO(c.host,a))&&ku(/^(?: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 hg(l))}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]};function bg(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 f=u;try{u=mg(new Ou(f))}catch{u=ji.parse(f)}}else Ou&&u instanceof Ou?u=mg(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,HO.equal(l.protocol,r,"protocol mismatch"),vg("options",l),new Mt(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 JO(){}function mg(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 ku(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 Ao(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 xg(e){for(var t=0;t<Mi.length;t++)e.removeListener(Mi[t],Cu[Mi[t]]);e.on("error",JO),e.abort()}function XO(e,t){if(e===t)return!0;let n=e.length-t.length-1;return n>0&&e[n]==="."&&e.endsWith(t)}Au.exports=bg({http:KO,https:YO});Au.exports.wrap=bg});var To=b((NP,yg)=>{yg.exports={version:"0.26.0"}});var Cg=b((LP,kg)=>{"use strict";var Ba=ot(),wg=gu(),QO=vu(),_g=vo(),ek=require("http"),tk=require("https"),nk=Pa().http,ik=Pa().https,Sg=require("url"),rk=require("zlib"),ak=To().version,Er=yo(),jo=xo(),sk=yr(),ok=xr(),Eg=/https:?/;function Og(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,Og(a,t,a.href)}}kg.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(ie){s(),i(ie)},c=!1,u=function(ie){s(),c=!0,r(ie)},l=t.data,p=t.headers,f={};if(Object.keys(p).forEach(function(ie){f[ie.toLowerCase()]=ie}),"user-agent"in f?p[f["user-agent"]]||delete p[f["user-agent"]]:p["User-Agent"]="axios/"+ak,l&&!Ba.isStream(l)){if(!Buffer.isBuffer(l))if(Ba.isArrayBuffer(l))l=Buffer.from(new Uint8Array(l));else if(Ba.isString(l))l=Buffer.from(l,"utf-8");else return u(Er("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(Er("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=QO(t.baseURL,t.url),x=Sg.parse(d),_=x.protocol||"http:";if(!m&&x.auth){var C=x.auth.split(":"),k=C[0]||"",O=C[1]||"";m=k+":"+O}m&&f.authorization&&delete p[f.authorization];var F=Eg.test(_),P=F?t.httpsAgent:t.httpAgent;try{_g(x.path,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(fe){var L=new Error(fe.message);L.config=t,L.url=t.url,L.exists=!0,u(L)}var $={path:_g(x.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:p,agent:P,agents:{http:t.httpAgent,https:t.httpsAgent},auth:m};t.socketPath?$.socketPath=t.socketPath:($.hostname=x.hostname,$.port=x.port);var B=t.proxy;if(!B&&B!==!1){var q=_.slice(0,-1)+"_proxy",R=process.env[q]||process.env[q.toUpperCase()];if(R){var M=Sg.parse(R),I=process.env.no_proxy||process.env.NO_PROXY,K=!0;if(I){var ce=I.split(",").map(function(ie){return ie.trim()});K=!ce.some(function(ie){return ie?ie==="*"||ie[0]==="."&&x.hostname.substr(x.hostname.length-ie.length)===ie?!0:x.hostname===ie:!1})}if(K&&(B={host:M.hostname,port:M.port,protocol:M.protocol},M.auth)){var ve=M.auth.split(":");B.auth={username:ve[0],password:ve[1]}}}}B&&($.headers.host=x.hostname+(x.port?":"+x.port:""),Og($,B,_+"//"+x.hostname+(x.port?":"+x.port:"")+$.path));var X,Se=F&&(B?Eg.test(B.protocol):!0);t.transport?X=t.transport:t.maxRedirects===0?X=Se?tk:ek:(t.maxRedirects&&($.maxRedirects=t.maxRedirects),X=Se?ik:nk),t.maxBodyLength>-1&&($.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&($.insecureHTTPParser=t.insecureHTTPParser);var le=X.request($,function(ie){if(!le.aborted){var z=ie,ft=ie.req||le;if(ie.statusCode!==204&&ft.method!=="HEAD"&&t.decompress!==!1)switch(ie.headers["content-encoding"]){case"gzip":case"compress":case"deflate":z=z.pipe(rk.createUnzip()),delete ie.headers["content-encoding"];break}var Ft={status:ie.statusCode,statusText:ie.statusMessage,headers:ie.headers,config:t,request:ft};if(t.responseType==="stream")Ft.data=z,wg(o,u,Ft);else{var Z=[],oe=0;z.on("data",function(te){Z.push(te),oe+=te.length,t.maxContentLength>-1&&oe>t.maxContentLength&&(c=!0,z.destroy(),u(Er("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,ft)))}),z.on("aborted",function(){c||(z.destroy(),u(Er("error request aborted",t,"ERR_REQUEST_ABORTED",ft)))}),z.on("error",function(te){le.aborted||u(jo(te,t,null,ft))}),z.on("end",function(){try{var te=Z.length===1?Z[0]:Buffer.concat(Z);t.responseType!=="arraybuffer"&&(te=te.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(te=Ba.stripBOM(te))),Ft.data=te}catch(Fe){u(jo(Fe,t,Fe.code,Ft.request,Ft))}wg(o,u,Ft)})}}});if(le.on("error",function(ie){le.aborted&&ie.code!=="ERR_FR_TOO_MANY_REDIRECTS"||u(jo(ie,t,null,le))}),le.on("socket",function(ie){ie.setKeepAlive(!0,1e3*60)}),t.timeout){var Y=parseInt(t.timeout,10);if(isNaN(Y)){u(Er("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",le));return}le.setTimeout(Y,function(){le.abort();var ie="";t.timeoutErrorMessage?ie=t.timeoutErrorMessage:ie="timeout of "+t.timeout+"ms exceeded";var z=t.transitional||sk.transitional;u(Er(ie,t,z.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",le))})}(t.cancelToken||t.signal)&&(a=function(fe){le.aborted||(le.abort(),u(!fe||fe&&fe.type?new ok("canceled"):fe))},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),Ba.isStream(l)?l.on("error",function(ie){u(jo(ie,t,null,le))}).pipe(le):le.end(l)})}});var yr=b((IP,jg)=>{"use strict";var nt=ot(),Ag=qm(),ck=xo(),lk={"Content-Type":"application/x-www-form-urlencoded"};function Tg(e,t){!nt.isUndefined(e)&&nt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function uk(){var e;return typeof XMLHttpRequest<"u"?e=eg():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=Cg()),e}function pk(e,t,n){if(nt.isString(e))try{return(t||JSON.parse)(e),nt.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}var Mo={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:uk(),transformRequest:[function(t,n){return Ag(n,"Accept"),Ag(n,"Content-Type"),nt.isFormData(t)||nt.isArrayBuffer(t)||nt.isBuffer(t)||nt.isStream(t)||nt.isFile(t)||nt.isBlob(t)?t:nt.isArrayBufferView(t)?t.buffer:nt.isURLSearchParams(t)?(Tg(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):nt.isObject(t)||n&&n["Content-Type"]==="application/json"?(Tg(n,"application/json"),pk(t)):t}],transformResponse:[function(t){var n=this.transitional||Mo.transitional,i=n&&n.silentJSONParsing,r=n&&n.forcedJSONParsing,a=!i&&this.responseType==="json";if(a||r&&nt.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?ck(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, */*"}}};nt.forEach(["delete","get","head"],function(t){Mo.headers[t]={}});nt.forEach(["post","put","patch"],function(t){Mo.headers[t]=nt.merge(lk)});jg.exports=Mo});var Rg=b((qP,Mg)=>{"use strict";var fk=ot(),dk=yr();Mg.exports=function(t,n,i){var r=this||dk;return fk.forEach(i,function(s){t=s.call(r,t,n)}),t}});var Tu=b((PP,Ng)=>{"use strict";Ng.exports=function(t){return!!(t&&t.__CANCEL__)}});var qg=b((BP,Ig)=>{"use strict";var Lg=ot(),ju=Rg(),hk=Tu(),mk=yr(),gk=xr();function Mu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gk("canceled")}Ig.exports=function(t){Mu(t),t.headers=t.headers||{},t.data=ju.call(t,t.data,t.headers,t.transformRequest),t.headers=Lg.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Lg.forEach(["delete","get","head","post","put","patch","common"],function(r){delete t.headers[r]});var n=t.adapter||mk.adapter;return n(t).then(function(r){return Mu(t),r.data=ju.call(t,r.data,r.headers,t.transformResponse),r},function(r){return hk(r)||(Mu(t),r&&r.response&&(r.response.data=ju.call(t,r.response.data,r.response.headers,t.transformResponse))),Promise.reject(r)})}});var Ru=b((FP,Pg)=>{"use strict";var Rt=ot();Pg.exports=function(t,n){n=n||{};var i={};function r(l,p){return Rt.isPlainObject(l)&&Rt.isPlainObject(p)?Rt.merge(l,p):Rt.isPlainObject(p)?Rt.merge({},p):Rt.isArray(p)?p.slice():p}function a(l){if(Rt.isUndefined(n[l])){if(!Rt.isUndefined(t[l]))return r(void 0,t[l])}else return r(t[l],n[l])}function s(l){if(!Rt.isUndefined(n[l]))return r(void 0,n[l])}function o(l){if(Rt.isUndefined(n[l])){if(!Rt.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 Rt.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var f=u[p]||a,m=f(p);Rt.isUndefined(m)&&f!==c||(i[p]=m)}),i}});var Dg=b((DP,Fg)=>{"use strict";var vk=To().version,Nu={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Nu[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});var Bg={};Nu.transitional=function(t,n,i){function r(a,s){return"[Axios v"+vk+"] 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&&!Bg[s]&&(Bg[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 bk(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)}}Fg.exports={assertOptions:bk,validators:Nu}});var Yg=b((zP,Kg)=>{"use strict";var Ug=ot(),xk=vo(),zg=Lm(),$g=qg(),Ro=Ru(),Wg=Dg(),Or=Wg.validators;function Fa(e){this.defaults=e,this.interceptors={request:new zg,response:new zg}}Fa.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ro(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&&Wg.assertOptions(i,{silentJSONParsing:Or.transitional(Or.boolean),forcedJSONParsing:Or.transitional(Or.boolean),clarifyTimeoutError:Or.transitional(Or.boolean)},!1);var r=[],a=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(a=a&&m.synchronous,r.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=[$g,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(f){p(f);break}}try{o=$g(u)}catch(f){return Promise.reject(f)}for(;s.length;)o=o.then(s.shift(),s.shift());return o};Fa.prototype.getUri=function(t){return t=Ro(this.defaults,t),xk(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};Ug.forEach(["delete","get","head","options"],function(t){Fa.prototype[t]=function(n,i){return this.request(Ro(i||{},{method:t,url:n,data:(i||{}).data}))}});Ug.forEach(["post","put","patch"],function(t){Fa.prototype[t]=function(n,i,r){return this.request(Ro(r||{},{method:t,url:n,data:i}))}});Kg.exports=Fa});var Gg=b(($P,Hg)=>{"use strict";var yk=xr();function kr(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 yk(r),t(n.reason))})}kr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};kr.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};kr.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};kr.source=function(){var t,n=new kr(function(r){t=r});return{token:n,cancel:t}};Hg.exports=kr});var Zg=b((UP,Vg)=>{"use strict";Vg.exports=function(t){return function(i){return t.apply(null,i)}}});var Xg=b((WP,Jg)=>{"use strict";var wk=ot();Jg.exports=function(t){return wk.isObject(t)&&t.isAxiosError===!0}});var t0=b((KP,Lu)=>{"use strict";var Qg=ot(),_k=pu(),No=Yg(),Sk=Ru(),Ek=yr();function e0(e){var t=new No(e),n=_k(No.prototype.request,t);return Qg.extend(n,No.prototype,t),Qg.extend(n,t),n.create=function(r){return e0(Sk(e,r))},n}var fn=e0(Ek);fn.Axios=No;fn.Cancel=xr();fn.CancelToken=Gg();fn.isCancel=Tu();fn.VERSION=To().version;fn.all=function(t){return Promise.all(t)};fn.spread=Zg();fn.isAxiosError=Xg();Lu.exports=fn;Lu.exports.default=fn});var i0=b((YP,n0)=>{n0.exports=t0()});var s0=b((HP,a0)=>{var r0=require("stream").Stream,Ok=require("util");a0.exports=Qt;function Qt(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}Ok.inherits(Qt,r0);Qt.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(Qt.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});Qt.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};Qt.prototype.resume=function(){this._released||this.release(),this.source.resume()};Qt.prototype.pause=function(){this.source.pause()};Qt.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};Qt.prototype.pipe=function(){var e=r0.prototype.pipe.apply(this,arguments);return this.resume(),e};Qt.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)};Qt.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 u0=b((GP,l0)=>{var kk=require("util"),c0=require("stream").Stream,o0=s0();l0.exports=Ie;function Ie(){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}kk.inherits(Ie,c0);Ie.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t};Ie.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};Ie.prototype.append=function(e){var t=Ie.isStreamLike(e);if(t){if(!(e instanceof o0)){var n=o0.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};Ie.prototype.pipe=function(e,t){return c0.prototype.pipe.call(this,e,t),this.resume(),e};Ie.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}};Ie.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=Ie.isStreamLike(n);i&&(n.on("data",this._checkDataSize.bind(this)),this._handleErrors(n)),this._pipeNext(n)}.bind(this))};Ie.prototype._pipeNext=function(e){this._currentStream=e;var t=Ie.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()};Ie.prototype._handleErrors=function(e){var t=this;e.on("error",function(n){t._emitError(n)})};Ie.prototype.write=function(e){this.emit("data",e)};Ie.prototype.pause=function(){!this.pauseStreams||(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};Ie.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")};Ie.prototype.end=function(){this._reset(),this.emit("end")};Ie.prototype.destroy=function(){this._reset(),this.emit("close")};Ie.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};Ie.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};Ie.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)};Ie.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var p0=b((VP,Ck)=>{Ck.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 d0=b((ZP,f0)=>{f0.exports=p0()});var g0=b(_t=>{"use strict";var Lo=d0(),Ak=require("path").extname,h0=/^\s*([^;\s]*)(?:;|\s|$)/,Tk=/^text\//i;_t.charset=m0;_t.charsets={lookup:m0};_t.contentType=jk;_t.extension=Mk;_t.extensions=Object.create(null);_t.lookup=Rk;_t.types=Object.create(null);Nk(_t.extensions,_t.types);function m0(e){if(!e||typeof e!="string")return!1;var t=h0.exec(e),n=t&&Lo[t[1].toLowerCase()];return n&&n.charset?n.charset:t&&Tk.test(t[1])?"UTF-8":!1}function jk(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?_t.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var n=_t.charset(t);n&&(t+="; charset="+n.toLowerCase())}return t}function Mk(e){if(!e||typeof e!="string")return!1;var t=h0.exec(e),n=t&&_t.extensions[t[1].toLowerCase()];return!n||!n.length?!1:n[0]}function Rk(e){if(!e||typeof e!="string")return!1;var t=Ak("x."+e).toLowerCase().substr(1);return t&&_t.types[t]||!1}function Nk(e,t){var n=["nginx","apache",void 0,"iana"];Object.keys(Lo).forEach(function(r){var a=Lo[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(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]=r}}})}});var b0=b((XP,v0)=>{v0.exports=Lk;function Lk(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}});var Iu=b((QP,y0)=>{var x0=b0();y0.exports=Ik;function Ik(e){var t=!1;return x0(function(){t=!0}),function(i,r){t?e(i,r):x0(function(){e(i,r)})}}});var qu=b((e8,w0)=>{w0.exports=qk;function qk(e){Object.keys(e.jobs).forEach(Pk.bind(e)),e.jobs={}}function Pk(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var Pu=b((t8,S0)=>{var _0=Iu(),Bk=qu();S0.exports=Fk;function Fk(e,t,n,i){var r=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[r]=Dk(t,r,e[r],function(a,s){r in n.jobs&&(delete n.jobs[r],a?Bk(n):n.results[r]=s,i(a,n.results))})}function Dk(e,t,n,i){var r;return e.length==2?r=e(n,_0(i)):r=e(n,t,_0(i)),r}});var Bu=b((n8,E0)=>{E0.exports=zk;function zk(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 Fu=b((i8,O0)=>{var $k=qu(),Uk=Iu();O0.exports=Wk;function Wk(e){!Object.keys(this.jobs).length||(this.index=this.size,$k(this),Uk(e)(null,this.results))}});var C0=b((r8,k0)=>{var Kk=Pu(),Yk=Bu(),Hk=Fu();k0.exports=Gk;function Gk(e,t,n){for(var i=Yk(e);i.index<(i.keyedList||e).length;)Kk(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 Hk.bind(i,n)}});var Du=b((a8,Io)=>{var A0=Pu(),Vk=Bu(),Zk=Fu();Io.exports=Jk;Io.exports.ascending=T0;Io.exports.descending=Xk;function Jk(e,t,n,i){var r=Vk(e,n);return A0(e,t,r,function a(s,o){if(s){i(s,o);return}if(r.index++,r.index<(r.keyedList||e).length){A0(e,t,r,a);return}i(null,r.results)}),Zk.bind(r,i)}function T0(e,t){return e<t?-1:e>t?1:0}function Xk(e,t){return-1*T0(e,t)}});var M0=b((s8,j0)=>{var Qk=Du();j0.exports=eC;function eC(e,t,n){return Qk(e,t,null,n)}});var N0=b((o8,R0)=>{R0.exports={parallel:C0(),serial:M0(),serialOrdered:Du()}});var I0=b((c8,L0)=>{L0.exports=function(e,t){return Object.keys(t).forEach(function(n){e[n]=e[n]||t[n]}),e}});var B0=b((l8,P0)=>{var Wu=u0(),q0=require("util"),zu=require("path"),tC=require("http"),nC=require("https"),iC=require("url").parse,rC=require("fs"),aC=require("stream").Stream,$u=g0(),sC=N0(),Uu=I0();P0.exports=me;q0.inherits(me,Wu);function me(e){if(!(this instanceof me))return new me(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Wu.call(this),e=e||{};for(var t in e)this[t]=e[t]}me.LINE_BREAK=`\r
|
|
19
|
-
`;me.DEFAULT_CONTENT_TYPE="application/octet-stream";me.prototype.append=function(e,t,n){n=n||{},typeof n=="string"&&(n={filename:n});var i=Wu.prototype.append.bind(this);if(typeof t=="number"&&(t=""+t),q0.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)};me.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)+me.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))&&!(t instanceof aC))&&(n.knownLength||this._valuesToMeasure.push(t))};me.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)):rC.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")};me.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"&&Uu(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("; ")+me.LINE_BREAK)));return"--"+this.getBoundary()+me.LINE_BREAK+a+me.LINE_BREAK};me.prototype._getContentDisposition=function(e,t){var n,i;return typeof t.filepath=="string"?n=zu.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=zu.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=zu.basename(e.client._httpMessage.path||"")),n&&(i='filename="'+n+'"'),i};me.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=$u.lookup(e.name)),!n&&e.path&&(n=$u.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),!n&&(t.filepath||t.filename)&&(n=$u.lookup(t.filepath||t.filename)),!n&&typeof e=="object"&&(n=me.DEFAULT_CONTENT_TYPE),n};me.prototype._multiPartFooter=function(){return function(e){var t=me.LINE_BREAK,n=this._streams.length===0;n&&(t+=this._lastBoundary()),e(t)}.bind(this)};me.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+me.LINE_BREAK};me.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};me.prototype.setBoundary=function(e){this._boundary=e};me.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};me.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(me.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};me.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(Math.random()*10).toString(16);this._boundary=e};me.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};me.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};me.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}sC.parallel(this._valuesToMeasure,this._lengthRetriever,function(n,i){if(n){e(n);return}i.forEach(function(r){t+=r}),e(null,t)})};me.prototype.submit=function(e,t){var n,i,r={method:"post"};return typeof e=="string"?(e=iC(e),i=Uu({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},r)):(i=Uu(e,r),i.port||(i.port=i.protocol=="https:"?443:80)),i.headers=this.getHeaders(e.headers),i.protocol=="https:"?n=nC.request(i):n=tC.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};me.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};me.prototype.toString=function(){return"[object FormData]"}});var U0=b(De=>{"use strict";var F0=De&&De.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(De,"__esModule",{value:!0});De.post=De.put=De.delete_=De.get=De.FormData=De.getPath=De.setApiHost=De.setAuth=void 0;var D0=F0(i0()),oC=F0(B0());function cC(e){D0.default.defaults.headers.common.Authorization=e}De.setAuth=cC;var z0="https://goldsky.com";function lC(e){z0=e}De.setApiHost=lC;function $0(e,t){return`${z0}${typeof e=="string"?e:e(t)}`}De.getPath=$0;function uC(){return new oC.default}De.FormData=uC;async function pC(e,t){return qo(e,"get",t||{})}De.get=pC;async function fC(e,t){return qo(e,"delete",t||{})}De.delete_=fC;async function dC(e,t){return qo(e,"put",t||{})}De.put=dC;async function hC(e,t){return qo(e,"post",t||{})}De.post=hC;async function qo(e,t,n){var i,r;let a=Object.assign(Object.assign(Object.assign(Object.assign({url:$0(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 D0.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 W0=b(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.DeleteWebhookSchema=mt.DeleteWebhookParams=mt.CreateWebhookSchema=mt.CreateWebhookParams=mt.CreateWebhookBody=void 0;var Me=Ai();mt.CreateWebhookBody=Me.Type.Object({name:Me.Type.String(),webhookUrl:Me.Type.String(),entity:Me.Type.String()});mt.CreateWebhookParams=Me.Type.Object({subgraphName:Me.Type.String(),subgraphVersion:Me.Type.String()});mt.CreateWebhookSchema={body:mt.CreateWebhookBody,params:mt.CreateWebhookParams};var p8=Me.Type.Object({data:Me.Type.Object({webhookSecret:Me.Type.String(),name:Me.Type.String()})});mt.DeleteWebhookParams=Me.Type.Object({name:Me.Type.String()});mt.DeleteWebhookSchema={params:mt.DeleteWebhookParams};var f8=Me.Type.Object({data:Me.Type.Object({})}),d8=Me.Type.Object({data:Me.Type.Array(Me.Type.Object({name:Me.Type.String(),webhookUrl:Me.Type.String(),entity:Me.Type.String(),subgraphName:Me.Type.String(),subgraphVersion:Me.Type.String()}))})});var K0=b(Cr=>{"use strict";Object.defineProperty(Cr,"__esModule",{value:!0});Cr.SubscriptionWithProduct=Cr.ProductWithPrices=void 0;var Re=Ai();Cr.ProductWithPrices=Re.Type.Object({id:Re.Type.String(),name:Re.Type.String(),description:Re.Type.String(),base_price_decimal:Re.Type.String(),features:Re.Type.Array(Re.Type.String())});Cr.SubscriptionWithProduct=Re.Type.Object({id:Re.Type.String(),latestInvoice:Re.Type.Union([Re.Type.String(),Re.Type.Null()]),product:Re.Type.Object({id:Re.Type.String(),name:Re.Type.String(),description:Re.Type.Union([Re.Type.String(),Re.Type.Null()]),basePrice:Re.Type.Object({amount:Re.Type.Union([Re.Type.String(),Re.Type.Null()]),interval:Re.Type.String()})})})});var Y0=b(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.SubgraphDeploymentEntitiesMetricsReply=Ar.SubgraphDeploymentRequestsMetricsReply=void 0;var Sn=Ai();Ar.SubgraphDeploymentRequestsMetricsReply=Sn.Type.Object({data:Sn.Type.Object({pointList:Sn.Type.Array(Sn.Type.Object({requestsPerSecond:Sn.Type.Number(),time:Sn.Type.Number()}))})});Ar.SubgraphDeploymentEntitiesMetricsReply=Sn.Type.Object({data:Sn.Type.Object({entitiesCount:Sn.Type.Number()})})});var H0=b(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.NewSupportMessageResp=Tr.NewSupportMessage=void 0;var Po=Ai();Tr.NewSupportMessage=Po.Type.Object({message:Po.Type.String()});Tr.NewSupportMessageResp=Po.Type.Object({success:Po.Type.Boolean()})});var Kn=b(xe=>{"use strict";var mC=xe&&xe.__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]}),gC=xe&&xe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Ri=xe&&xe.__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)&&mC(t,e,n);return gC(t,e),t};Object.defineProperty(xe,"__esModule",{value:!0});xe.SupportApi=xe.MetricsApi=xe.BillingApi=xe.WebhookApi=xe.ApiFetch=xe.StreamBossApi=xe.SubgraphApi=xe.ENTERPRISE_BILLING_FLAG=xe.API_URL=xe.API_PORT=void 0;var vC=Ri(Em());xe.SubgraphApi=vC;var bC=Ri(Om());xe.StreamBossApi=bC;var xC=Ri(U0());xe.ApiFetch=xC;var yC=Ri(W0());xe.WebhookApi=yC;var wC=Ri(K0());xe.BillingApi=wC;var _C=Ri(Y0());xe.MetricsApi=_C;var SC=Ri(H0());xe.SupportApi=SC;xe.API_PORT=80;xe.API_URL="https://api.goldsky.com";xe.ENTERPRISE_BILLING_FLAG="goldsky_enterprise"});var Q0=b((y8,X0)=>{"use strict";X0.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 Ku=b((w8,tv)=>{var $a=Q0(),ev={};for(let e of Object.keys($a))ev[$a[e]]=e;var G={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"]}};tv.exports=G;for(let e of Object.keys(G)){if(!("channels"in G[e]))throw new Error("missing channels property: "+e);if(!("labels"in G[e]))throw new Error("missing channel labels property: "+e);if(G[e].labels.length!==G[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:n}=G[e];delete G[e].channels,delete G[e].labels,Object.defineProperty(G[e],"channels",{value:t}),Object.defineProperty(G[e],"labels",{value:n})}G.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]};G.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(f){return(u-f)/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]};G.rgb.hwb=function(e){let t=e[0],n=e[1],i=e[2],r=G.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]};G.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 OC(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}G.rgb.keyword=function(e){let t=ev[e];if(t)return t;let n=1/0,i;for(let r of Object.keys($a)){let a=$a[r],s=OC(e,a);s<n&&(n=s,i=r)}return i};G.keyword.rgb=function(e){return $a[e]};G.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]};G.rgb.lab=function(e){let t=G.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]};G.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};G.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]};G.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]}};G.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]};G.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]};G.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]};G.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]};G.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]};G.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]};G.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]};G.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]};G.rgb.ansi16=function(e,t=null){let[n,i,r]=e,a=t===null?G.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};G.hsv.ansi16=function(e){return G.rgb.ansi16(G.hsv.rgb(e),e[2])};G.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)};G.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]};G.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]};G.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};G.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]};G.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]};G.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]};G.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]};G.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]};G.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]};G.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]};G.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]};G.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]};G.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};G.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};G.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};G.gray.hsl=function(e){return[0,0,e[0]]};G.gray.hsv=G.gray.hsl;G.gray.hwb=function(e){return[0,100,e[0]]};G.gray.cmyk=function(e){return[0,0,0,e[0]]};G.gray.lab=function(e){return[e[0],0,0]};G.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};G.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}});var iv=b((_8,nv)=>{var Fo=Ku();function kC(){let e={},t=Object.keys(Fo);for(let n=t.length,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}function CC(e){let t=kC(),n=[e];for(t[e].distance=0;n.length;){let i=n.pop(),r=Object.keys(Fo[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 AC(e,t){return function(n){return t(e(n))}}function TC(e,t){let n=[t[e].parent,e],i=Fo[t[e].parent][e],r=t[e].parent;for(;t[r].parent;)n.unshift(t[r].parent),i=AC(Fo[t[r].parent][r],i),r=t[r].parent;return i.conversion=n,i}nv.exports=function(e){let t=CC(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]=TC(s,t))}return n}});var av=b((S8,rv)=>{var Yu=Ku(),jC=iv(),Mr={},MC=Object.keys(Yu);function RC(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 NC(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}MC.forEach(e=>{Mr[e]={},Object.defineProperty(Mr[e],"channels",{value:Yu[e].channels}),Object.defineProperty(Mr[e],"labels",{value:Yu[e].labels});let t=jC(e);Object.keys(t).forEach(i=>{let r=t[i];Mr[e][i]=NC(r),Mr[e][i].raw=RC(r)})});rv.exports=Mr});var Gu=b((E8,uv)=>{"use strict";var sv=(e,t)=>(...n)=>`\x1B[${e(...n)+t}m`,ov=(e,t)=>(...n)=>{let i=e(...n);return`\x1B[${38+t};5;${i}m`},cv=(e,t)=>(...n)=>{let i=e(...n);return`\x1B[${38+t};2;${i[0]};${i[1]};${i[2]}m`},Do=e=>e,lv=(e,t,n)=>[e,t,n],Rr=(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})},Hu,Nr=(e,t,n,i)=>{Hu===void 0&&(Hu=av());let r=i?10:0,a={};for(let[s,o]of Object.entries(Hu)){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 LC(){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",Rr(t.color,"ansi",()=>Nr(sv,"ansi16",Do,!1)),Rr(t.color,"ansi256",()=>Nr(ov,"ansi256",Do,!1)),Rr(t.color,"ansi16m",()=>Nr(cv,"rgb",lv,!1)),Rr(t.bgColor,"ansi",()=>Nr(sv,"ansi16",Do,!0)),Rr(t.bgColor,"ansi256",()=>Nr(ov,"ansi256",Do,!0)),Rr(t.bgColor,"ansi16m",()=>Nr(cv,"rgb",lv,!0)),t}Object.defineProperty(uv,"exports",{enumerable:!0,get:LC})});var fv=b((O8,pv)=>{"use strict";var IC=(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},qC=(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(r+"m+"+Do.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=_k()+t+" "+e[0]}function _k(){return ot.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Sk(...e){return process.stderr.write(Fo.format(...e)+`
|
|
17
|
+
`)}function Ok(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function Ek(){return process.env.DEBUG}function kk(e){e.inspectOpts={};let t=Object.keys(ot.inspectOpts);for(let n=0;n<t.length;n++)e.inspectOpts[t[n]]=ot.inspectOpts[t[n]]}Do.exports=qu()(ot);var{formatters:Ng}=Do.exports;Ng.o=function(e){return this.inspectOpts.colors=this.useColors,Fo.inspect(e,this.inspectOpts).split(`
|
|
18
|
+
`).map(t=>t.trim()).join(" ")};Ng.O=function(e){return this.inspectOpts.colors=this.useColors,Fo.inspect(e,this.inspectOpts)}});var Pg=w((eB,Du)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Du.exports=Ag():Du.exports=Lg()});var Bg=w((tB,qg)=>{var Ya;qg.exports=function(){if(!Ya){try{Ya=Pg()("follow-redirects")}catch{}typeof Ya!="function"&&(Ya=function(){})}Ya.apply(null,arguments)}});var Ka=w((nB,Wu)=>{var Bi=require("url"),$u=Bi.URL,Ck=require("http"),Tk=require("https"),$g=require("stream").Writable,Ak=require("assert"),zg=Bg(),Fi=["abort","aborted","connect","error","socket","timeout"],Uu=Object.create(null);Fi.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"),jk=$o("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),Mk=$o("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Rk=$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 Rk;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 Mk),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=Bi.format(this._options),i._redirectable=this;for(var r=0;r<Fi.length;r++)i.on(Fi[r],Uu[Fi[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 jk);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=Bi.parse(this._currentUrl),a=i||r.host,s=/^\w+:/.test(n)?this._currentUrl:Bi.format(Object.assign(r,{host:a})),o;try{o=Bi.resolve(s,n)}catch(l){this.emit("error",new Fg(l));return}zg("redirecting to",o),this._isRedirect=!0;var c=Bi.parse(o);if(Object.assign(this._options,c),(c.protocol!==r.protocol||!Nk(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=Bi.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,Ak.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 Ik(){}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<Fi.length;t++)e.removeListener(Fi[t],Uu[Fi[t]]);e.on("error",Ik),e.abort()}function Nk(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:Ck,https:Tk});Wu.exports.wrap=Ug});var zo=w((iB,Hg)=>{Hg.exports={version:"0.26.0"}});var Xg=w((rB,Jg)=>{"use strict";var Ga=dt(),Yg=Ru(),Lk=Iu(),Kg=jo(),Pk=require("http"),qk=require("https"),Bk=Ka().http,Fk=Ka().https,Gg=require("url"),Dk=require("zlib"),$k=zo().version,Nr=Io(),Uo=Ro(),zk=jr(),Uk=Ar(),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(B){s(),i(B)},c=!1,u=function(B){s(),c=!0,r(B)},l=t.data,p=t.headers,d={};if(Object.keys(p).forEach(function(B){d[B.toLowerCase()]=B}),"user-agent"in d?p[d["user-agent"]]||delete p[d["user-agent"]]:p["User-Agent"]="axios/"+$k,l&&!Ga.isStream(l)){if(!Buffer.isBuffer(l))if(Ga.isArrayBuffer(l))l=Buffer.from(new Uint8Array(l));else if(Ga.isString(l))l=Buffer.from(l,"utf-8");else return u(Nr("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(Nr("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||"",v=t.auth.password||"";g=x+":"+v}var h=Lk(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",b=process.env[O]||process.env[O.toUpperCase()];if(b){var A=Gg.parse(b),N=process.env.no_proxy||process.env.NO_PROXY,Y=!0;if(N){var re=N.split(",").map(function(B){return B.trim()});Y=!re.some(function(B){return B?B==="*"||B[0]==="."&&_.hostname.substr(_.hostname.length-B.length)===B?!0:_.hostname===B:!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?qk:Pk:(t.maxRedirects&&(y.maxRedirects=t.maxRedirects),Z=fe?Fk:Bk),t.maxBodyLength>-1&&(y.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(y.insecureHTTPParser=t.insecureHTTPParser);var pe=Z.request(y,function(B){if(!pe.aborted){var z=B,Se=B.req||pe;if(B.statusCode!==204&&Se.method!=="HEAD"&&t.decompress!==!1)switch(B.headers["content-encoding"]){case"gzip":case"compress":case"deflate":z=z.pipe(Dk.createUnzip()),delete B.headers["content-encoding"];break}var Ue={status:B.statusCode,statusText:B.statusMessage,headers:B.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(Nr("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,Se)))}),z.on("aborted",function(){c||(z.destroy(),u(Nr("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=Ga.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(B){pe.aborted&&B.code!=="ERR_FR_TOO_MANY_REDIRECTS"||u(Uo(B,t,null,pe))}),pe.on("socket",function(B){B.setKeepAlive(!0,1e3*60)}),t.timeout){var f=parseInt(t.timeout,10);if(isNaN(f)){u(Nr("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",pe));return}pe.setTimeout(f,function(){pe.abort();var B="";t.timeoutErrorMessage?B=t.timeoutErrorMessage:B="timeout of "+t.timeout+"ms exceeded";var z=t.transitional||zk.transitional;u(Nr(B,t,z.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",pe))})}(t.cancelToken||t.signal)&&(a=function(E){pe.aborted||(pe.abort(),u(!E||E&&E.type?new Uk("canceled"):E))},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),Ga.isStream(l)?l.on("error",function(B){u(Uo(B,t,null,pe))}).pipe(pe):pe.end(l)})}});var jr=w((aB,t0)=>{"use strict";var ct=dt(),Qg=og(),Wk=Ro(),Hk={"Content-Type":"application/x-www-form-urlencoded"};function e0(e,t){!ct.isUndefined(e)&&ct.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function Yk(){var e;return typeof XMLHttpRequest<"u"?e=Eg():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=Xg()),e}function Kk(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:Yk(),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"),Kk(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"?Wk(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(Hk)});t0.exports=Wo});var i0=w((sB,n0)=>{"use strict";var Gk=dt(),Zk=jr();n0.exports=function(t,n,i){var r=this||Zk;return Gk.forEach(i,function(s){t=s.call(r,t,n)}),t}});var Hu=w((oB,r0)=>{"use strict";r0.exports=function(t){return!!(t&&t.__CANCEL__)}});var o0=w((cB,s0)=>{"use strict";var a0=dt(),Yu=i0(),Vk=Hu(),Jk=jr(),Xk=Ar();function Ku(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Xk("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||Jk.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 Vk(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((lB,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((uB,u0)=>{"use strict";var Qk=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"+Qk+"] 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 eC(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:eC,validators:Zu}});var v0=w((pB,g0)=>{"use strict";var h0=dt(),tC=jo(),f0=ag(),d0=o0(),Ho=Gu(),m0=p0(),Lr=m0.validators;function Za(e){this.defaults=e,this.interceptors={request:new f0,response:new f0}}Za.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:Lr.transitional(Lr.boolean),forcedJSONParsing:Lr.transitional(Lr.boolean),clarifyTimeoutError:Lr.transitional(Lr.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};Za.prototype.getUri=function(t){return t=Ho(this.defaults,t),tC(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};h0.forEach(["delete","get","head","options"],function(t){Za.prototype[t]=function(n,i){return this.request(Ho(i||{},{method:t,url:n,data:(i||{}).data}))}});h0.forEach(["post","put","patch"],function(t){Za.prototype[t]=function(n,i,r){return this.request(Ho(r||{},{method:t,url:n,data:i}))}});g0.exports=Za});var x0=w((fB,b0)=>{"use strict";var nC=Ar();function Pr(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 nC(r),t(n.reason))})}Pr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Pr.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};Pr.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};Pr.source=function(){var t,n=new Pr(function(r){t=r});return{token:n,cancel:t}};b0.exports=Pr});var w0=w((dB,y0)=>{"use strict";y0.exports=function(t){return function(i){return t.apply(null,i)}}});var S0=w((hB,_0)=>{"use strict";var iC=dt();_0.exports=function(t){return iC.isObject(t)&&t.isAxiosError===!0}});var k0=w((mB,Vu)=>{"use strict";var O0=dt(),rC=Cu(),Yo=v0(),aC=Gu(),sC=jr();function E0(e){var t=new Yo(e),n=rC(Yo.prototype.request,t);return O0.extend(n,Yo.prototype,t),O0.extend(n,t),n.create=function(r){return E0(aC(e,r))},n}var bn=E0(sC);bn.Axios=Yo;bn.Cancel=Ar();bn.CancelToken=x0();bn.isCancel=Hu();bn.VERSION=zo().version;bn.all=function(t){return Promise.all(t)};bn.spread=w0();bn.isAxiosError=S0();Vu.exports=bn;Vu.exports.default=bn});var T0=w((gB,C0)=>{C0.exports=k0()});var M0=w((vB,j0)=>{var A0=require("stream").Stream,oC=require("util");j0.exports=sn;function sn(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}oC.inherits(sn,A0);sn.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(sn.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});sn.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};sn.prototype.resume=function(){this._released||this.release(),this.source.resume()};sn.prototype.pause=function(){this.source.pause()};sn.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};sn.prototype.pipe=function(){var e=A0.prototype.pipe.apply(this,arguments);return this.resume(),e};sn.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)};sn.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((bB,N0)=>{var cC=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}cC.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((xB,lC)=>{lC.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((yB,q0)=>{q0.exports=P0()});var $0=w(Ct=>{"use strict";var Ko=B0(),uC=require("path").extname,F0=/^\s*([^;\s]*)(?:;|\s|$)/,pC=/^text\//i;Ct.charset=D0;Ct.charsets={lookup:D0};Ct.contentType=fC;Ct.extension=dC;Ct.extensions=Object.create(null);Ct.lookup=hC;Ct.types=Object.create(null);mC(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&&pC.test(t[1])?"UTF-8":!1}function fC(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 dC(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 hC(e){if(!e||typeof e!="string")return!1;var t=uC("x."+e).toLowerCase().substr(1);return t&&Ct.types[t]||!1}function mC(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((_B,z0)=>{z0.exports=gC;function gC(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((SB,H0)=>{var W0=U0();H0.exports=vC;function vC(e){var t=!1;return W0(function(){t=!0}),function(i,r){t?e(i,r):W0(function(){e(i,r)})}}});var Xu=w((OB,Y0)=>{Y0.exports=bC;function bC(e){Object.keys(e.jobs).forEach(xC.bind(e)),e.jobs={}}function xC(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var Qu=w((EB,G0)=>{var K0=Ju(),yC=Xu();G0.exports=wC;function wC(e,t,n,i){var r=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[r]=_C(t,r,e[r],function(a,s){r in n.jobs&&(delete n.jobs[r],a?yC(n):n.results[r]=s,i(a,n.results))})}function _C(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((kB,Z0)=>{Z0.exports=SC;function SC(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((CB,V0)=>{var OC=Xu(),EC=Ju();V0.exports=kC;function kC(e){!Object.keys(this.jobs).length||(this.index=this.size,OC(this),EC(e)(null,this.results))}});var X0=w((TB,J0)=>{var CC=Qu(),TC=ep(),AC=tp();J0.exports=jC;function jC(e,t,n){for(var i=TC(e);i.index<(i.keyedList||e).length;)CC(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 AC.bind(i,n)}});var np=w((AB,Go)=>{var Q0=Qu(),MC=ep(),RC=tp();Go.exports=IC;Go.exports.ascending=ev;Go.exports.descending=NC;function IC(e,t,n,i){var r=MC(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)}),RC.bind(r,i)}function ev(e,t){return e<t?-1:e>t?1:0}function NC(e,t){return-1*ev(e,t)}});var nv=w((jB,tv)=>{var LC=np();tv.exports=PC;function PC(e,t,n){return LC(e,t,null,n)}});var rv=w((MB,iv)=>{iv.exports={parallel:X0(),serial:nv(),serialOrdered:np()}});var sv=w((RB,av)=>{av.exports=function(e,t){return Object.keys(t).forEach(function(n){e[n]=e[n]||t[n]}),e}});var lv=w((IB,cv)=>{var sp=L0(),ov=require("util"),ip=require("path"),qC=require("http"),BC=require("https"),FC=require("url").parse,DC=require("fs"),$C=require("stream").Stream,rp=$0(),zC=rv(),ap=sv();cv.exports=xe;ov.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),ov.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 $C))&&(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)):DC.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}zC.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=FC(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=BC.request(i):n=qC.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 hv=w(He=>{"use strict";var uv=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 pv=uv(T0()),UC=uv(lv());function WC(e){pv.default.defaults.headers.common.Authorization=e}He.setAuth=WC;var fv="https://goldsky.com";function HC(e){fv=e}He.setApiHost=HC;function dv(e,t){return`${fv}${typeof e=="string"?e:e(t)}`}He.getPath=dv;function YC(){return new UC.default}He.FormData=YC;async function KC(e,t){return Zo(e,"get",t||{})}He.get=KC;async function GC(e,t){return Zo(e,"delete",t||{})}He.delete_=GC;async function ZC(e,t){return Zo(e,"put",t||{})}He.put=ZC;async function VC(e,t){return Zo(e,"post",t||{})}He.post=VC;async function Zo(e,t,n){var i,r;let a=Object.assign(Object.assign(Object.assign(Object.assign({url:dv(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 pv.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 mv=w(yt=>{"use strict";Object.defineProperty(yt,"__esModule",{value:!0});yt.DeleteWebhookSchema=yt.DeleteWebhookParams=yt.CreateWebhookSchema=yt.CreateWebhookParams=yt.CreateWebhookBody=void 0;var Ne=an();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 LB=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 PB=Ne.Type.Object({data:Ne.Type.Object({})}),qB=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 gv=w(qr=>{"use strict";Object.defineProperty(qr,"__esModule",{value:!0});qr.SubscriptionWithProduct=qr.ProductWithPrices=void 0;var Le=an();qr.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())});qr.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 vv=w(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});Br.SubgraphDeploymentEntitiesMetricsReply=Br.SubgraphDeploymentRequestsMetricsReply=void 0;var jn=an();Br.SubgraphDeploymentRequestsMetricsReply=jn.Type.Object({data:jn.Type.Object({pointList:jn.Type.Array(jn.Type.Object({requestsPerSecond:jn.Type.Number(),time:jn.Type.Number()}))})});Br.SubgraphDeploymentEntitiesMetricsReply=jn.Type.Object({data:jn.Type.Object({entitiesCount:jn.Type.Number()})})});var bv=w(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});Fr.NewSupportMessageResp=Fr.NewSupportMessage=void 0;var Vo=an();Fr.NewSupportMessage=Vo.Type.Object({message:Vo.Type.String()});Fr.NewSupportMessageResp=Vo.Type.Object({success:Vo.Type.Boolean()})});var xv=w(Va=>{"use strict";Object.defineProperty(Va,"__esModule",{value:!0});Va.Format=void 0;var JC;(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})(JC=Va.Format||(Va.Format={}))});var op=w(Di=>{"use strict";var XC=Di&&Di.__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]}),QC=Di&&Di.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&XC(t,e,n)};Object.defineProperty(Di,"__esModule",{value:!0});QC(xv(),Di)});var wv=w(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.ValueErrors=xn.ValueErrorsUnknownTypeError=xn.ValueErrorType=void 0;var eT=an(),yv=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=xn.ValueErrorType||(xn.ValueErrorType={}));var Jo=class extends Error{constructor(t){super("ValueErrors: Unknown type"),this.schema=t}};xn.ValueErrorsUnknownTypeError=Jo;var tT;(function(e){function*t(y,P,O,b){}function*n(y,P,O,b){if(!globalThis.Array.isArray(b))return yield{type:oe.Array,schema:y,path:O,value:b,message:"Expected array"};y.minItems!==void 0&&!(b.length>=y.minItems)&&(yield{type:oe.ArrayMinItems,schema:y,path:O,value:b,message:`Expected array length to be greater or equal to ${y.minItems}`}),y.maxItems!==void 0&&!(b.length<=y.maxItems)&&(yield{type:oe.ArrayMinItems,schema:y,path:O,value:b,message:`Expected array length to be less or equal to ${y.maxItems}`}),y.uniqueItems===!0&&new Set(b).size!==b.length&&(yield{type:oe.ArrayUniqueItems,schema:y,path:O,value:b,message:"Expected array elements to be unique"});for(let A=0;A<b.length;A++)yield*D(y.items,P,`${O}/${A}`,b[A])}function*i(y,P,O,b){if(typeof b!="boolean")return yield{type:oe.Boolean,schema:y,path:O,value:b,message:"Expected boolean"}}function*r(y,P,O,b){yield*D(y.returns,P,O,b.prototype)}function*a(y,P,O,b){if(typeof b!="function")return yield{type:oe.Function,schema:y,path:O,value:b,message:"Expected function"}}function*s(y,P,O,b){if(typeof b!="number")return yield{type:oe.Number,schema:y,path:O,value:b,message:"Expected number"};globalThis.Number.isInteger(b)||(yield{type:oe.Integer,schema:y,path:O,value:b,message:"Expected integer"}),y.multipleOf&&b%y.multipleOf!==0&&(yield{type:oe.IntegerMultipleOf,schema:y,path:O,value:b,message:`Expected integer to be a multiple of ${y.multipleOf}`}),y.exclusiveMinimum&&!(b>y.exclusiveMinimum)&&(yield{type:oe.IntegerExclusiveMinimum,schema:y,path:O,value:b,message:`Expected integer to be greater than ${y.exclusiveMinimum}`}),y.exclusiveMaximum&&!(b<y.exclusiveMaximum)&&(yield{type:oe.IntegerExclusiveMaximum,schema:y,path:O,value:b,message:`Expected integer to be less than ${y.exclusiveMaximum}`}),y.minimum&&!(b>=y.minimum)&&(yield{type:oe.IntegerMinimum,schema:y,path:O,value:b,message:`Expected integer to be greater or equal to ${y.minimum}`}),y.maximum&&!(b<=y.maximum)&&(yield{type:oe.IntegerMaximum,schema:y,path:O,value:b,message:`Expected integer to be less or equal to ${y.maximum}`})}function*o(y,P,O,b){if(b!==y.const){let A=typeof y.const=="string"?`'${y.const}'`:y.const;return yield{type:oe.Literal,schema:y,path:O,value:b,message:`Expected ${A}`}}}function*c(y,P,O,b){yield{type:oe.Never,schema:y,path:O,value:b,message:"Value cannot be validated"}}function*u(y,P,O,b){if(b!==null)return yield{type:oe.Null,schema:y,path:O,value:b,message:"Expected null"}}function*l(y,P,O,b){if(typeof b!="number")return yield{type:oe.Number,schema:y,path:O,value:b,message:"Expected number"};y.multipleOf&&b%y.multipleOf!==0&&(yield{type:oe.NumberMultipleOf,schema:y,path:O,value:b,message:`Expected number to be a multiple of ${y.multipleOf}`}),y.exclusiveMinimum&&!(b>y.exclusiveMinimum)&&(yield{type:oe.NumberExclusiveMinimum,schema:y,path:O,value:b,message:`Expected number to be greater than ${y.exclusiveMinimum}`}),y.exclusiveMaximum&&!(b<y.exclusiveMaximum)&&(yield{type:oe.NumberExclusiveMaximum,schema:y,path:O,value:b,message:`Expected number to be less than ${y.exclusiveMaximum}`}),y.minimum&&!(b>=y.minimum)&&(yield{type:oe.NumberMaximum,schema:y,path:O,value:b,message:`Expected number to be greater or equal to ${y.minimum}`}),y.maximum&&!(b<=y.maximum)&&(yield{type:oe.NumberMinumum,schema:y,path:O,value:b,message:`Expected number to be less or equal to ${y.maximum}`})}function*p(y,P,O,b){if(!(typeof b=="object"&&b!==null&&!globalThis.Array.isArray(b)))return yield{type:oe.Object,schema:y,path:O,value:b,message:"Expected object"};y.minProperties!==void 0&&!(globalThis.Object.keys(b).length>=y.minProperties)&&(yield{type:oe.ObjectMinProperties,schema:y,path:O,value:b,message:`Expected object to have at least ${y.minProperties} properties`}),y.maxProperties!==void 0&&!(globalThis.Object.keys(b).length<=y.maxProperties)&&(yield{type:oe.ObjectMaxProperties,schema:y,path:O,value:b,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(b))A.includes(N)||(yield{type:oe.ObjectAdditionalProperties,schema:y,path:`${O}/${N}`,value:b[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}`,b[N]):b[N]!==void 0&&(yield*D(Y,P,`${O}/${N}`,b[N]))}}function*d(y,P,O,b){typeof b=="object"&&typeof b.then=="function"||(yield{type:oe.Promise,schema:y,path:O,value:b,message:"Expected Promise"})}function*g(y,P,O,b){if(!(typeof b=="object"&&b!==null&&!globalThis.Array.isArray(b)))return yield{type:oe.Object,schema:y,path:O,value:b,message:"Expected object"};let[A,N]=globalThis.Object.entries(y.patternProperties)[0],Y=new RegExp(A);if(!globalThis.Object.keys(b).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:b,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(b))yield*D(N,P,`${O}/${re}`,he)}function*x(y,P,O,b){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,b)}function*v(y,P,O,b){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,b)}function*h(y,P,O,b){if(typeof b!="string")return yield{type:oe.String,schema:y,path:O,value:b,message:"Expected string"};y.minLength!==void 0&&!(b.length>=y.minLength)&&(yield{type:oe.StringMinLength,schema:y,path:O,value:b,message:`Expected string length greater or equal to ${y.minLength}`}),y.maxLength!==void 0&&!(b.length<=y.maxLength)&&(yield{type:oe.StringMaxLength,schema:y,path:O,value:b,message:`Expected string length less or equal to ${y.maxLength}`}),y.pattern!==void 0&&(new RegExp(y.pattern).test(b)||(yield{type:oe.StringPattern,schema:y,path:O,value:b,message:`Expected string to match pattern ${y.pattern}`})),y.format!==void 0&&(yv.Format.Has(y.format)?yv.Format.Get(y.format)(b)||(yield{type:oe.StringFormat,schema:y,path:O,value:b,message:`Expected string to match format '${y.format}'`}):yield{type:oe.StringFormatUnknown,schema:y,path:O,value:b,message:`Unknown string format '${y.format}'`})}function*_(y,P,O,b){if(!globalThis.Array.isArray(b))return yield{type:oe.Array,schema:y,path:O,value:b,message:"Expected Array"};if(y.items===void 0&&b.length!==0)return yield{type:oe.TupleZeroLength,schema:y,path:O,value:b,message:"Expected tuple to have 0 elements"};if(b.length!==y.maxItems&&(yield{type:oe.TupleLength,schema:y,path:O,value:b,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}`,b[A])}function*k(y,P,O,b){b!==void 0&&(yield{type:oe.Undefined,schema:y,path:O,value:b,message:"Expected undefined"})}function*I(y,P,O,b){let A=[];for(let N of y.anyOf){let Y=[...D(N,P,O,b)];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:b,message:"Expected value of union"})}function*R(y,P,O,b){if(!(b instanceof globalThis.Uint8Array))return yield{type:oe.Uint8Array,schema:y,path:O,value:b,message:"Expected Uint8Array"};y.maxByteLength&&!(b.length<=y.maxByteLength)&&(yield{type:oe.Uint8ArrayMaxByteLength,schema:y,path:O,value:b,message:`Expected Uint8Array to have a byte length less or equal to ${y.maxByteLength}`}),y.minByteLength&&!(b.length>=y.minByteLength)&&(yield{type:oe.Uint8ArrayMinByteLength,schema:y,path:O,value:b,message:`Expected Uint8Array to have a byte length greater or equal to ${y.maxByteLength}`})}function*M(y,P,O,b){}function*H(y,P,O,b){if(b!==null)return yield{type:oe.Void,schema:y,path:O,value:b,message:"Expected null"}}function*D(y,P,O,b){let A=y.$id===void 0?P:[y,...P],N=y;switch(N[eT.Kind]){case"Any":return yield*t(N,A,O,b);case"Array":return yield*n(N,A,O,b);case"Boolean":return yield*i(N,A,O,b);case"Constructor":return yield*r(N,A,O,b);case"Function":return yield*a(N,A,O,b);case"Integer":return yield*s(N,A,O,b);case"Literal":return yield*o(N,A,O,b);case"Never":return yield*c(N,A,O,b);case"Null":return yield*u(N,A,O,b);case"Number":return yield*l(N,A,O,b);case"Object":return yield*p(N,A,O,b);case"Promise":return yield*d(N,A,O,b);case"Record":return yield*g(N,A,O,b);case"Ref":return yield*x(N,A,O,b);case"Self":return yield*v(N,A,O,b);case"String":return yield*h(N,A,O,b);case"Tuple":return yield*_(N,A,O,b);case"Undefined":return yield*k(N,A,O,b);case"Union":return yield*I(N,A,O,b);case"Uint8Array":return yield*R(N,A,O,b);case"Unknown":return yield*M(N,A,O,b);case"Void":return yield*H(N,A,O,b);default:throw new Jo(y)}}function*$(y,P,O){yield*D(y,P,"",O)}e.Errors=$})(tT=xn.ValueErrors||(xn.ValueErrors={}))});var cp=w($i=>{"use strict";var nT=$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]}),iT=$i&&$i.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&nT(t,e,n)};Object.defineProperty($i,"__esModule",{value:!0});iT(wv(),$i)});var _v=w(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});zi.TypeGuard=zi.TypeGuardInvalidTypeError=void 0;var Fe=an(),Ja=class extends Error{constructor(t){super("TypeGuard: Invalid type"),this.schema=t}};zi.TypeGuardInvalidTypeError=Ja;var rT;(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 B=f.charCodeAt(E);if(B>=7&&B<=13||B===27||B===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 v(f){return t(f)&&f[Fe.Kind]==="Boolean"&&f.type==="boolean"&&l(f.$id)}e.TBoolean=v;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,B]of Object.entries(f.properties))if(!r(E)||!fe(B))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 b(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=b;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)||v(f)||h(f)||_(f)||k(f)||I(f)||R(f)||M(f)||H(f)||D(f)||$(f)||y(f)||P(f)||O(f)||b(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 Ja(f);for(let B of E)if(!fe(B))throw new Ja(B)}e.Assert=pe})(rT=zi.TypeGuard||(zi.TypeGuard={}))});var Sv=w(Ui=>{"use strict";var aT=Ui&&Ui.__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]}),sT=Ui&&Ui.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&aT(t,e,n)};Object.defineProperty(Ui,"__esModule",{value:!0});sT(_v(),Ui)});var kv=w(Vt=>{"use strict";Object.defineProperty(Vt,"__esModule",{value:!0});Vt.TypeCompiler=Vt.TypeCompilerUnknownTypeError=Vt.Property=Vt.TypeCheck=void 0;var oT=cp(),cT=Sv(),Ov=op(),lT=an(),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 oT.ValueErrors.Errors(this.schema,this.references,t)}Check(t){return this.checkFunc(t)}};Vt.TypeCheck=Xo;var Ev;(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})(Ev=Vt.Property||(Vt.Property={}));var Qo=class extends Error{constructor(t){super("TypeCompiler: Unknown type"),this.schema=t}};Vt.TypeCompilerUnknownTypeError=Qo;var uT;(function(e){function*t(f,E){yield"(true)"}function*n(f,E){let B=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 => ${B}))`}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 B=globalThis.Object.keys(f.properties);if(f.additionalProperties===!1)if(f.required&&f.required.length===B.length)yield`(Object.keys(${E}).length === ${B.length})`;else{let z=`[${B.map(Se=>`'${Se}'`).join(", ")}]`;yield`(Object.keys(${E}).every(key => ${z}.includes(key)))`}for(let z of B){let Se=Ev.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[B,z]=globalThis.Object.entries(f.patternProperties)[0],Se=he(`new RegExp(/${B}/)`);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 B=$.get(f.$ref);yield*D(B,E)}function*v(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 B=0;B<f.items.length;B++)yield`(${A(f.items[B],`${E}[${B}]`)})`}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 B=f;switch(B[lT.Kind]){case"Any":return yield*t(B,E);case"Array":return yield*n(B,E);case"Boolean":return yield*i(B,E);case"Constructor":return yield*r(B,E);case"Function":return yield*a(B,E);case"Integer":return yield*s(B,E);case"Literal":return yield*o(B,E);case"Never":return yield*c(B,E);case"Null":return yield*u(B,E);case"Number":return yield*l(B,E);case"Object":return yield*p(B,E);case"Promise":return yield*d(B,E);case"Record":return yield*g(B,E);case"Ref":return yield*x(B,E);case"Self":return yield*v(B,E);case"String":return yield*h(B,E);case"Tuple":return yield*_(B,E);case"Undefined":return yield*k(B,E);case"Union":return yield*I(B,E);case"Uint8Array":return yield*R(B,E);case"Unknown":return yield*M(B,E);case"Void":return yield*H(B,E);default:throw new Qo(f)}}let $=new Map,y=new Set,P=new Set;function O(){$.clear(),y.clear(),P.clear()}function b(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,B){let z=[...D(E,B)].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(),b(E);let B=Y("check",f,"value");return`${Z().join(`
|
|
25
|
+
`)}
|
|
26
|
+
return ${B}`}function pe(f,E=[]){cT.TypeGuard.Assert(f,E);let B=fe(f,E),Se=globalThis.Function("format",B)((Ue,J)=>Ov.Format.Has(Ue)?Ov.Format.Get(Ue)(J):!1);return new Xo(f,E,Se,B)}e.Compile=pe})(uT=Vt.TypeCompiler||(Vt.TypeCompiler={}))});var Cv=w(Mn=>{"use strict";var pT=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]}),fT=Mn&&Mn.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&pT(t,e,n)};Object.defineProperty(Mn,"__esModule",{value:!0});Mn.ValueErrorType=void 0;var dT=cp();Object.defineProperty(Mn,"ValueErrorType",{enumerable:!0,get:function(){return dT.ValueErrorType}});fT(kv(),Mn)});var jv=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 F=an(),hT=Cv(),lp;(function(e){e.Subgraphs="subgraphs",e.Kafka="kafka"})(lp=Ve.SourceTypes||(Ve.SourceTypes={}));var Xa;(function(e){e.Postgres="postgres",e.ElasticSearch="elasticSearch",e.Kafka="kafka",e.TimescaleHypertable="timescaleHypertable"})(Xa=Ve.SinkTypes||(Ve.SinkTypes={}));var up=F.Type.Object({id:F.Type.String(),type:F.Type.Literal(lp.Subgraphs),deployments:F.Type.Array(F.Type.Object({id:F.Type.String()})),entities:F.Type.Array(F.Type.Object({name:F.Type.String()}),{minItems:1,maxItems:100}),kafkaTopic:F.Type.String(),integrationId:F.Type.String()}),mT=F.Type.Omit(up,["id","kafkaTopic","integrationId"]),gT=F.Type.Omit(up,["kafkaTopic","integrationId"]),pp=F.Type.Object({id:F.Type.String(),type:F.Type.Literal(lp.Kafka),topic:F.Type.String({maxLength:255}),integrationId:F.Type.String()}),vT=F.Type.Omit(pp,["id","integrationId"]),bT=F.Type.Omit(pp,["integrationId"]),xT=F.Type.Union([up,pp]),yT=F.Type.Union([mT,vT]),wT=F.Type.Union([gT,bT]),fp=F.Type.Object({id:F.Type.String(),type:F.Type.Literal(Xa.Postgres),sourceStreamName:F.Type.String(),schema:F.Type.String(),table:F.Type.String(),integrationId:F.Type.String()}),_T=F.Type.Omit(fp,["id","integrationId"]),ST=F.Type.Omit(fp,["integrationId"]),dp=F.Type.Object({id:F.Type.String(),type:F.Type.Literal(Xa.ElasticSearch),sourceStreamName:F.Type.String(),index:F.Type.String(),integrationId:F.Type.String()}),OT=F.Type.Omit(dp,["id","integrationId"]),ET=F.Type.Omit(dp,["integrationId"]),hp=F.Type.Object({id:F.Type.String(),type:F.Type.Literal(Xa.Kafka),sourceStreamName:F.Type.String(),topic:F.Type.String({maxLength:255}),integrationId:F.Type.String()}),kT=F.Type.Omit(hp,["id","integrationId"]),CT=F.Type.Omit(hp,["integrationId"]),mp=F.Type.Object({id:F.Type.String(),type:F.Type.Literal(Xa.TimescaleHypertable),sourceStreamName:F.Type.String(),schema:F.Type.String(),table:F.Type.String(),timestampColumn:F.Type.String(),primaryKey:F.Type.String(),timestampDataTypeAdapterFuncName:F.Type.Optional(F.Type.String()),integrationId:F.Type.String()}),TT=F.Type.Omit(mp,["id","integrationId"]),AT=F.Type.Omit(mp,["integrationId"]),jT=F.Type.Union([fp,dp,hp,mp]),MT=F.Type.Union([_T,OT,kT,TT]),RT=F.Type.Union([ST,ET,CT,AT]),Tv=F.Type.Object({id:F.Type.String(),type:F.Type.Literal("sql"),name:F.Type.String(),sql:F.Type.String({maxLength:500}),primaryKey:F.Type.String({maxLength:50})}),IT=F.Type.Omit(Tv,["id"]),Av=F.Type.Union([Tv]),NT=F.Type.Union([IT]),LT=F.Type.Object({sources:F.Type.Array(xT,{minItems:1}),transforms:F.Type.Array(Av),sinks:F.Type.Array(jT)}),PT=F.Type.Object({sources:F.Type.Array(yT,{minItems:1}),transforms:F.Type.Array(NT),sinks:F.Type.Array(MT)}),qT=F.Type.Object({sources:F.Type.Array(wT,{minItems:1}),transforms:F.Type.Array(Av),sinks:F.Type.Array(RT)});Ve.StreamRootTypebox=F.Type.Object({id:F.Type.String(),name:F.Type.String(),description:F.Type.Optional(F.Type.String()),version:F.Type.Integer(),definition:LT,status:F.Type.String(),projectId:F.Type.String(),createdAt:F.Type.String(),updatedAt:F.Type.String()});Ve.PostStreamInputTypebox=F.Type.Intersect([F.Type.Omit(Ve.StreamRootTypebox,["id","status","definition","projectId","version","createdAt","updatedAt"]),F.Type.Object({definition:PT})]);Ve.StreamOutputTypebox=F.Type.Intersect([F.Type.Omit(Ve.StreamRootTypebox,["definition","projectId"]),F.Type.Object({definition:qT})]);Ve.StreamInputValidator=hT.TypeCompiler.Compile(Ve.PostStreamInputTypebox);var VB=F.Type.Object({id:F.Type.String(),version:F.Type.Optional(F.Type.String())})});var ei=w(_e=>{"use strict";var BT=_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]}),FT=_e&&_e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Qn=_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)&&BT(t,e,n);return FT(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 DT=Qn(Zm());_e.SubgraphApi=DT;var $T=Qn(Vm());_e.StreamBossApi=$T;var zT=Qn(hv());_e.ApiFetch=zT;var UT=Qn(mv());_e.WebhookApi=UT;var WT=Qn(gv());_e.BillingApi=WT;var HT=Qn(vv());_e.MetricsApi=HT;var YT=Qn(bv());_e.SupportApi=YT;var KT=Qn(jv());_e.StreamsApi=KT;_e.API_PORT=80;_e.API_URL="https://api.goldsky.com";_e.ENTERPRISE_BILLING_FLAG="goldsky_enterprise"});var Pv=w((e6,Lv)=>{"use strict";Lv.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((t6,Bv)=>{var ts=Pv(),qv={};for(let e of Object.keys(ts))qv[ts[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"]}};Bv.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 ZT(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=qv[e];if(t)return t;let n=1/0,i;for(let r of Object.keys(ts)){let a=ts[r],s=ZT(e,a);s<n&&(n=s,i=r)}return i};Q.keyword.rgb=function(e){return ts[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 Dv=w((n6,Fv)=>{var tc=gp();function VT(){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 JT(e){let t=VT(),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 XT(e,t){return function(n){return t(e(n))}}function QT(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=XT(tc[t[r].parent][r],i),r=t[r].parent;return i.conversion=n,i}Fv.exports=function(e){let t=JT(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]=QT(s,t))}return n}});var zv=w((i6,$v)=>{var vp=gp(),eA=Dv(),$r={},tA=Object.keys(vp);function nA(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 iA(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}tA.forEach(e=>{$r[e]={},Object.defineProperty($r[e],"channels",{value:vp[e].channels}),Object.defineProperty($r[e],"labels",{value:vp[e].labels});let t=eA(e);Object.keys(t).forEach(i=>{let r=t[i];$r[e][i]=iA(r),$r[e][i].raw=nA(r)})});$v.exports=$r});var xp=w((r6,Kv)=>{"use strict";var Uv=(e,t)=>(...n)=>`\x1B[${e(...n)+t}m`,Wv=(e,t)=>(...n)=>{let i=e(...n);return`\x1B[${38+t};5;${i}m`},Hv=(e,t)=>(...n)=>{let i=e(...n);return`\x1B[${38+t};2;${i[0]};${i[1]};${i[2]}m`},nc=e=>e,Yv=(e,t,n)=>[e,t,n],zr=(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})},bp,Ur=(e,t,n,i)=>{bp===void 0&&(bp=zv());let r=i?10:0,a={};for(let[s,o]of Object.entries(bp)){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 rA(){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",zr(t.color,"ansi",()=>Ur(Uv,"ansi16",nc,!1)),zr(t.color,"ansi256",()=>Ur(Wv,"ansi256",nc,!1)),zr(t.color,"ansi16m",()=>Ur(Hv,"rgb",Yv,!1)),zr(t.bgColor,"ansi",()=>Ur(Uv,"ansi16",nc,!0)),zr(t.bgColor,"ansi256",()=>Ur(Wv,"ansi256",nc,!0)),zr(t.bgColor,"ansi16m",()=>Ur(Hv,"rgb",Yv,!0)),t}Object.defineProperty(Kv,"exports",{enumerable:!0,get:rA})});var Zv=w((a6,Gv)=>{"use strict";var aA=(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},sA=(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
|
|
20
27
|
`:`
|
|
21
28
|
`)+n,r=i+1,i=e.indexOf(`
|
|
22
|
-
`,r)}while(i!==-1);return a+=e.substr(r),a};
|
|
23
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function
|
|
24
|
-
`);return a!==-1&&(t=
|
|
25
|
-
`),function(o){if(a=o.indexOf(":"),i=op.trim(o.substr(0,a)).toLowerCase(),r=op.trim(o.substr(a+1)),i){if(n[i]&&mA.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 Gv=b((z8,Hv)=>{"use strict";var Yv=gt();Hv.exports=Yv.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=Yv.isString(s)?r(s):s;return o.protocol===i.protocol&&o.host===i.host}}():function(){return function(){return!0}}()});var qr=b(($8,Vv)=>{"use strict";function cp(e){this.message=e}cp.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};cp.prototype.__CANCEL__=!0;Vv.exports=cp});var Jv=b((U8,Zv)=>{"use strict";var Jo=gt(),gA=ap(),vA=Bv(),bA=Yo(),xA=sp(),yA=Kv(),wA=Gv(),lp=Vo(),_A=Pr(),SA=qr();Zv.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)}Jo.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=xA(t.baseURL,t.url);l.open(t.method.toUpperCase(),bA(m,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function v(){if(!!l){var d="getAllResponseHeaders"in l?yA(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};gA(function(k){i(k),u()},function(k){r(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||(r(lp("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){r(lp("Network Error",t,null,l)),l=null},l.ontimeout=function(){var x=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",_=t.transitional||_A.transitional;t.timeoutErrorMessage&&(x=t.timeoutErrorMessage),r(lp(x,t,_.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},Jo.isStandardBrowserEnv()){var g=(t.withCredentials||wA(m))&&t.xsrfCookieName?vA.read(t.xsrfCookieName):void 0;g&&(s[t.xsrfHeaderName]=g)}"setRequestHeader"in l&&Jo.forEach(s,function(x,_){typeof a>"u"&&_.toLowerCase()==="content-type"?delete s[_]:l.setRequestHeader(_,x)}),Jo.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||(r(!d||d&&d.type?new SA("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 Xo=b((W8,Xv)=>{Xv.exports={version:"0.24.0"}});var rb=b((K8,ib)=>{"use strict";var Wa=gt(),Qv=ap(),EA=sp(),OA=Yo(),kA=require("http"),CA=require("https"),AA=Pa().http,TA=Pa().https,eb=require("url"),jA=require("zlib"),MA=Xo().version,Qo=Vo(),up=Go(),RA=Pr(),NA=qr(),tb=/https:?/;function nb(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,nb(a,t,a.href)}}ib.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(Y){s(),i(Y)},c=function(Y){s(),r(Y)},u=t.data,l=t.headers,p={};if(Object.keys(l).forEach(function(Y){p[Y.toLowerCase()]=Y}),"user-agent"in p?l[p["user-agent"]]||delete l[p["user-agent"]]:l["User-Agent"]="axios/"+MA,u&&!Wa.isStream(u)){if(!Buffer.isBuffer(u))if(Wa.isArrayBuffer(u))u=Buffer.from(new Uint8Array(u));else if(Wa.isString(u))u=Buffer.from(u,"utf-8");else return c(Qo("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=EA(t.baseURL,t.url),d=eb.parse(g),x=d.protocol||"http:";if(!f&&d.auth){var _=d.auth.split(":"),C=_[0]||"",k=_[1]||"";f=C+":"+k}f&&p.authorization&&delete l[p.authorization];var O=tb.test(x),F=O?t.httpsAgent:t.httpAgent,P={path:OA(d.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:l,agent:F,agents:{http:t.httpAgent,https:t.httpsAgent},auth:f};t.socketPath?P.socketPath=t.socketPath:(P.hostname=d.hostname,P.port=d.port);var L=t.proxy;if(!L&&L!==!1){var $=x.slice(0,-1)+"_proxy",B=process.env[$]||process.env[$.toUpperCase()];if(B){var q=eb.parse(B),R=process.env.no_proxy||process.env.NO_PROXY,M=!0;if(R){var I=R.split(",").map(function(Y){return Y.trim()});M=!I.some(function(Y){return Y?Y==="*"||Y[0]==="."&&d.hostname.substr(d.hostname.length-Y.length)===Y?!0:d.hostname===Y:!1})}if(M&&(L={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var K=q.auth.split(":");L.auth={username:K[0],password:K[1]}}}}L&&(P.headers.host=d.hostname+(d.port?":"+d.port:""),nb(P,L,x+"//"+d.hostname+(d.port?":"+d.port:"")+P.path));var ce,ve=O&&(L?tb.test(L.protocol):!0);t.transport?ce=t.transport:t.maxRedirects===0?ce=ve?CA:kA:(t.maxRedirects&&(P.maxRedirects=t.maxRedirects),ce=ve?TA:AA),t.maxBodyLength>-1&&(P.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(P.insecureHTTPParser=t.insecureHTTPParser);var X=ce.request(P,function(Y){if(!X.aborted){var fe=Y,ie=Y.req||X;if(Y.statusCode!==204&&ie.method!=="HEAD"&&t.decompress!==!1)switch(Y.headers["content-encoding"]){case"gzip":case"compress":case"deflate":fe=fe.pipe(jA.createUnzip()),delete Y.headers["content-encoding"];break}var z={status:Y.statusCode,statusText:Y.statusMessage,headers:Y.headers,config:t,request:ie};if(t.responseType==="stream")z.data=fe,Qv(o,c,z);else{var ft=[],Ft=0;fe.on("data",function(oe){ft.push(oe),Ft+=oe.length,t.maxContentLength>-1&&Ft>t.maxContentLength&&(fe.destroy(),c(Qo("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,ie)))}),fe.on("error",function(oe){X.aborted||c(up(oe,t,null,ie))}),fe.on("end",function(){var oe=Buffer.concat(ft);t.responseType!=="arraybuffer"&&(oe=oe.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(oe=Wa.stripBOM(oe))),z.data=oe,Qv(o,c,z)})}}});if(X.on("error",function(Y){X.aborted&&Y.code!=="ERR_FR_TOO_MANY_REDIRECTS"||c(up(Y,t,null,X))}),t.timeout){var Se=parseInt(t.timeout,10);if(isNaN(Se)){c(Qo("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",X));return}X.setTimeout(Se,function(){X.abort();var Y=t.transitional||RA.transitional;c(Qo("timeout of "+Se+"ms exceeded",t,Y.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",X))})}(t.cancelToken||t.signal)&&(a=function(le){X.aborted||(X.abort(),c(!le||le&&le.type?new NA("canceled"):le))},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),Wa.isStream(u)?u.on("error",function(Y){c(up(Y,t,null,X))}).pipe(X):X.end(u)})}});var Pr=b((Y8,ob)=>{"use strict";var it=gt(),ab=Nv(),LA=Go(),IA={"Content-Type":"application/x-www-form-urlencoded"};function sb(e,t){!it.isUndefined(e)&&it.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function qA(){var e;return typeof XMLHttpRequest<"u"?e=Jv():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=rb()),e}function PA(e,t,n){if(it.isString(e))try{return(t||JSON.parse)(e),it.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}var ec={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:qA(),transformRequest:[function(t,n){return ab(n,"Accept"),ab(n,"Content-Type"),it.isFormData(t)||it.isArrayBuffer(t)||it.isBuffer(t)||it.isStream(t)||it.isFile(t)||it.isBlob(t)?t:it.isArrayBufferView(t)?t.buffer:it.isURLSearchParams(t)?(sb(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):it.isObject(t)||n&&n["Content-Type"]==="application/json"?(sb(n,"application/json"),PA(t)):t}],transformResponse:[function(t){var n=this.transitional||ec.transitional,i=n&&n.silentJSONParsing,r=n&&n.forcedJSONParsing,a=!i&&this.responseType==="json";if(a||r&&it.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?LA(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, */*"}}};it.forEach(["delete","get","head"],function(t){ec.headers[t]={}});it.forEach(["post","put","patch"],function(t){ec.headers[t]=it.merge(IA)});ob.exports=ec});var lb=b((H8,cb)=>{"use strict";var BA=gt(),FA=Pr();cb.exports=function(t,n,i){var r=this||FA;return BA.forEach(i,function(s){t=s.call(r,t,n)}),t}});var pp=b((G8,ub)=>{"use strict";ub.exports=function(t){return!!(t&&t.__CANCEL__)}});var db=b((V8,fb)=>{"use strict";var pb=gt(),fp=lb(),DA=pp(),zA=Pr(),$A=qr();function dp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new $A("canceled")}fb.exports=function(t){dp(t),t.headers=t.headers||{},t.data=fp.call(t,t.data,t.headers,t.transformRequest),t.headers=pb.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),pb.forEach(["delete","get","head","post","put","patch","common"],function(r){delete t.headers[r]});var n=t.adapter||zA.adapter;return n(t).then(function(r){return dp(t),r.data=fp.call(t,r.data,r.headers,t.transformResponse),r},function(r){return DA(r)||(dp(t),r&&r.response&&(r.response.data=fp.call(t,r.response.data,r.response.headers,t.transformResponse))),Promise.reject(r)})}});var hp=b((Z8,hb)=>{"use strict";var Nt=gt();hb.exports=function(t,n){n=n||{};var i={};function r(l,p){return Nt.isPlainObject(l)&&Nt.isPlainObject(p)?Nt.merge(l,p):Nt.isPlainObject(p)?Nt.merge({},p):Nt.isArray(p)?p.slice():p}function a(l){if(Nt.isUndefined(n[l])){if(!Nt.isUndefined(t[l]))return r(void 0,t[l])}else return r(t[l],n[l])}function s(l){if(!Nt.isUndefined(n[l]))return r(void 0,n[l])}function o(l){if(Nt.isUndefined(n[l])){if(!Nt.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 Nt.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var f=u[p]||a,m=f(p);Nt.isUndefined(m)&&f!==c||(i[p]=m)}),i}});var vb=b((J8,gb)=>{"use strict";var UA=Xo().version,mp={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){mp[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});var mb={};mp.transitional=function(t,n,i){function r(a,s){return"[Axios v"+UA+"] 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&&!mb[s]&&(mb[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 WA(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)}}gb.exports={assertOptions:WA,validators:mp}});var Sb=b((X8,_b)=>{"use strict";var yb=gt(),KA=Yo(),bb=Mv(),xb=db(),tc=hp(),wb=vb(),Br=wb.validators;function Ka(e){this.defaults=e,this.interceptors={request:new bb,response:new bb}}Ka.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&&wb.assertOptions(n,{silentJSONParsing:Br.transitional(Br.boolean),forcedJSONParsing:Br.transitional(Br.boolean),clarifyTimeoutError:Br.transitional(Br.boolean)},!1);var i=[],r=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(t)===!1||(r=r&&f.synchronous,i.unshift(f.fulfilled,f.rejected))});var a=[];this.interceptors.response.forEach(function(f){a.push(f.fulfilled,f.rejected)});var s;if(!r){var o=[xb,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=xb(c)}catch(p){return Promise.reject(p)}for(;a.length;)s=s.then(a.shift(),a.shift());return s};Ka.prototype.getUri=function(t){return t=tc(this.defaults,t),KA(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};yb.forEach(["delete","get","head","options"],function(t){Ka.prototype[t]=function(n,i){return this.request(tc(i||{},{method:t,url:n,data:(i||{}).data}))}});yb.forEach(["post","put","patch"],function(t){Ka.prototype[t]=function(n,i,r){return this.request(tc(r||{},{method:t,url:n,data:i}))}});_b.exports=Ka});var Ob=b((Q8,Eb)=>{"use strict";var YA=qr();function Fr(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 YA(r),t(n.reason))})}Fr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Fr.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};Fr.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};Fr.source=function(){var t,n=new Fr(function(r){t=r});return{token:n,cancel:t}};Eb.exports=Fr});var Cb=b((e6,kb)=>{"use strict";kb.exports=function(t){return function(i){return t.apply(null,i)}}});var Tb=b((t6,Ab)=>{"use strict";Ab.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}});var Rb=b((n6,gp)=>{"use strict";var jb=gt(),HA=ep(),nc=Sb(),GA=hp(),VA=Pr();function Mb(e){var t=new nc(e),n=HA(nc.prototype.request,t);return jb.extend(n,nc.prototype,t),jb.extend(n,t),n.create=function(r){return Mb(GA(e,r))},n}var dn=Mb(VA);dn.Axios=nc;dn.Cancel=qr();dn.CancelToken=Ob();dn.isCancel=pp();dn.VERSION=Xo().version;dn.all=function(t){return Promise.all(t)};dn.spread=Cb();dn.isAxiosError=Tb();gp.exports=dn;gp.exports.default=dn});var vp=b((i6,Nb)=>{Nb.exports=Rb()});var Ib=b((r6,Lb)=>{"use strict";var ZA=(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},JA=(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
|
|
29
|
+
`,r)}while(i!==-1);return a+=e.substr(r),a};Gv.exports={stringReplaceAll:aA,stringEncaseCRLFWithFirstIndex:sA}});var eb=w((s6,Qv)=>{"use strict";var oA=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Vv=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,cA=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,lA=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,uA=new Map([["n",`
|
|
30
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Xv(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)):uA.get(e)||e}function pA(e,t){let n=[],i=t.trim().split(/\s*,\s*/g),r;for(let a of i){let s=Number(a);if(!Number.isNaN(s))n.push(s);else if(r=a.match(cA))n.push(r[2].replace(lA,(o,c,u)=>c?Xv(c):u));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`)}return n}function fA(e){Vv.lastIndex=0;let t=[],n;for(;(n=Vv.exec(e))!==null;){let i=n[1];if(n[2]){let r=pA(i,n[2]);t.push([i].concat(r))}else t.push([i])}return t}function Jv(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,a]of Object.entries(n))if(!!Array.isArray(a)){if(!(r in i))throw new Error(`Unknown Chalk style: ${r}`);i=a.length>0?i[r](...a):i[r]}return i}Qv.exports=(e,t)=>{let n=[],i=[],r=[];if(t.replace(oA,(a,s,o,c,u,l)=>{if(s)r.push(Xv(s));else if(c){let p=r.join("");r=[],i.push(n.length===0?p:Jv(e,n)(p)),n.push({inverse:o,styles:fA(c)})}else if(u){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");i.push(Jv(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 Jt=w((o6,sb)=>{"use strict";var ns=xp(),{stdout:wp,stderr:_p}=Bo(),{stringReplaceAll:dA,stringEncaseCRLFWithFirstIndex:hA}=Zv(),{isArray:ic}=Array,nb=["ansi","ansi","ansi256","ansi16m"],Wr=Object.create(null),mA=(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=wp?wp.level:0;e.level=t.level===void 0?n:t.level},Sp=class{constructor(t){return ib(t)}},ib=e=>{let t={};return mA(t,e),t.template=(...n)=>ab(t.template,...n),Object.setPrototypeOf(t,rc.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=Sp,t.template};function rc(e){return ib(e)}for(let[e,t]of Object.entries(ns))Wr[e]={get(){let n=ac(this,Op(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};Wr.visible={get(){let e=ac(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};var rb=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of rb)Wr[e]={get(){let{level:t}=this;return function(...n){let i=Op(ns.color[nb[t]][e](...n),ns.color.close,this._styler);return ac(this,i,this._isEmpty)}}};for(let e of rb){let t="bg"+e[0].toUpperCase()+e.slice(1);Wr[t]={get(){let{level:n}=this;return function(...i){let r=Op(ns.bgColor[nb[n]][e](...i),ns.bgColor.close,this._styler);return ac(this,r,this._isEmpty)}}}}var gA=Object.defineProperties(()=>{},{...Wr,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),Op=(e,t,n)=>{let i,r;return n===void 0?(i=e,r=t):(i=n.openAll+e,r=t+n.closeAll),{open:e,close:t,openAll:i,closeAll:r,parent:n}},ac=(e,t,n)=>{let i=(...r)=>ic(r[0])&&ic(r[0].raw)?tb(i,ab(i,...r)):tb(i,r.length===1?""+r[0]:r.join(" "));return Object.setPrototypeOf(i,gA),i._generator=e,i._styler=t,i._isEmpty=n,i},tb=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(n===void 0)return t;let{openAll:i,closeAll:r}=n;if(t.indexOf("\x1B")!==-1)for(;n!==void 0;)t=dA(t,n.close,n.open),n=n.parent;let a=t.indexOf(`
|
|
31
|
+
`);return a!==-1&&(t=hA(t,r,i,a)),i+t+r},yp,ab=(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=eb()),yp(e,r.join(""))};Object.defineProperties(rc.prototype,Wr);var sc=rc();sc.supportsColor=wp;sc.stderr=rc({level:_p?_p.level:0});sc.stderr.supportsColor=_p;sb.exports=sc});var Ep=w((c6,ob)=>{"use strict";ob.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((l6,ub)=>{"use strict";var vA=Ep(),Wi=Object.prototype.toString;function Tp(e){return Wi.call(e)==="[object Array]"}function kp(e){return typeof e>"u"}function bA(e){return e!==null&&!kp(e)&&e.constructor!==null&&!kp(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function xA(e){return Wi.call(e)==="[object ArrayBuffer]"}function yA(e){return typeof FormData<"u"&&e instanceof FormData}function wA(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function _A(e){return typeof e=="string"}function SA(e){return typeof e=="number"}function cb(e){return e!==null&&typeof e=="object"}function oc(e){if(Wi.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function OA(e){return Wi.call(e)==="[object Date]"}function EA(e){return Wi.call(e)==="[object File]"}function kA(e){return Wi.call(e)==="[object Blob]"}function lb(e){return Wi.call(e)==="[object Function]"}function CA(e){return cb(e)&&lb(e.pipe)}function TA(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}function AA(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function jA(){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 MA(e,t,n){return Ap(t,function(r,a){n&&typeof r=="function"?e[a]=vA(r,n):e[a]=r}),e}function RA(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}ub.exports={isArray:Tp,isArrayBuffer:xA,isBuffer:bA,isFormData:yA,isArrayBufferView:wA,isString:_A,isNumber:SA,isObject:cb,isPlainObject:oc,isUndefined:kp,isDate:OA,isFile:EA,isBlob:kA,isFunction:lb,isStream:CA,isURLSearchParams:TA,isStandardBrowserEnv:jA,forEach:Ap,merge:Cp,extend:MA,trim:AA,stripBOM:RA}});var cc=w((u6,fb)=>{"use strict";var Hr=wt();function pb(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}fb.exports=function(t,n,i){if(!n)return t;var r;if(i)r=i(n);else if(Hr.isURLSearchParams(n))r=n.toString();else{var a=[];Hr.forEach(n,function(c,u){c===null||typeof c>"u"||(Hr.isArray(c)?u=u+"[]":c=[c],Hr.forEach(c,function(p){Hr.isDate(p)?p=p.toISOString():Hr.isObject(p)&&(p=JSON.stringify(p)),a.push(pb(u)+"="+pb(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 hb=w((p6,db)=>{"use strict";var IA=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){IA.forEach(this.handlers,function(i){i!==null&&t(i)})};db.exports=lc});var gb=w((f6,mb)=>{"use strict";var NA=wt();mb.exports=function(t,n){NA.forEach(t,function(r,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=r,delete t[a])})}});var uc=w((d6,vb)=>{"use strict";vb.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((h6,bb)=>{"use strict";var LA=uc();bb.exports=function(t,n,i,r,a){var s=new Error(t);return LA(s,n,i,r,a)}});var jp=w((m6,xb)=>{"use strict";var PA=pc();xb.exports=function(t,n,i){var r=i.config.validateStatus;!i.status||!r||r(i.status)?t(i):n(PA("Request failed with status code "+i.status,i.config,null,i.request,i))}});var wb=w((g6,yb)=>{"use strict";var fc=wt();yb.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 Sb=w((v6,_b)=>{"use strict";_b.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}});var Eb=w((b6,Ob)=>{"use strict";Ob.exports=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}});var Mp=w((x6,kb)=>{"use strict";var qA=Sb(),BA=Eb();kb.exports=function(t,n){return t&&!qA(n)?BA(t,n):n}});var Tb=w((y6,Cb)=>{"use strict";var Rp=wt(),FA=["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"];Cb.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]&&FA.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 Mb=w((w6,jb)=>{"use strict";var Ab=wt();jb.exports=Ab.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=Ab.isString(s)?r(s):s;return o.protocol===i.protocol&&o.host===i.host}}():function(){return function(){return!0}}()});var Yr=w((_6,Rb)=>{"use strict";function Ip(e){this.message=e}Ip.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Ip.prototype.__CANCEL__=!0;Rb.exports=Ip});var Nb=w((S6,Ib)=>{"use strict";var dc=wt(),DA=jp(),$A=wb(),zA=cc(),UA=Mp(),WA=Tb(),HA=Mb(),Np=pc(),YA=Kr(),KA=Yr();Ib.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=UA(t.baseURL,t.url);l.open(t.method.toUpperCase(),zA(g,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function x(){if(!!l){var h="getAllResponseHeaders"in l?WA(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};DA(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||YA.transitional;t.timeoutErrorMessage&&(_=t.timeoutErrorMessage),r(Np(_,t,k.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},dc.isStandardBrowserEnv()){var v=(t.withCredentials||HA(g))&&t.xsrfCookieName?$A.read(t.xsrfCookieName):void 0;v&&(s[t.xsrfHeaderName]=v)}"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 KA("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((O6,Lb)=>{Lb.exports={version:"0.24.0"}});var $b=w((E6,Db)=>{"use strict";var is=wt(),Pb=jp(),GA=Mp(),ZA=cc(),VA=require("http"),JA=require("https"),XA=Ka().http,QA=Ka().https,qb=require("url"),ej=require("zlib"),tj=hc().version,mc=pc(),Lp=uc(),nj=Kr(),ij=Yr(),Bb=/https:?/;function Fb(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,Fb(a,t,a.href)}}Db.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/"+tj,u&&!is.isStream(u)){if(!Buffer.isBuffer(u))if(is.isArrayBuffer(u))u=Buffer.from(new Uint8Array(u));else if(is.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 v=GA(t.baseURL,t.url),h=qb.parse(v),_=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=Bb.test(_),H=M?t.httpsAgent:t.httpAgent,D={path:ZA(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=qb.parse(P),b=process.env.no_proxy||process.env.NO_PROXY,A=!0;if(b){var N=b.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:""),Fb(D,$,_+"//"+h.hostname+(h.port?":"+h.port:"")+D.path));var re,he=M&&($?Bb.test($.protocol):!0);t.transport?re=t.transport:t.maxRedirects===0?re=he?JA:VA:(t.maxRedirects&&(D.maxRedirects=t.maxRedirects),re=he?QA:XA),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,B=f.req||Z;if(f.statusCode!==204&&B.method!=="HEAD"&&t.decompress!==!1)switch(f.headers["content-encoding"]){case"gzip":case"compress":case"deflate":E=E.pipe(ej.createUnzip()),delete f.headers["content-encoding"];break}var z={status:f.statusCode,statusText:f.statusMessage,headers:f.headers,config:t,request:B};if(t.responseType==="stream")z.data=E,Pb(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,B)))}),E.on("error",function(de){Z.aborted||c(Lp(de,t,null,B))}),E.on("end",function(){var de=Buffer.concat(Se);t.responseType!=="arraybuffer"&&(de=de.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(de=is.stripBOM(de))),z.data=de,Pb(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||nj.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 ij("canceled"):pe))},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),is.isStream(u)?u.on("error",function(f){c(Lp(f,t,null,Z))}).pipe(Z):Z.end(u)})}});var Kr=w((k6,Wb)=>{"use strict";var lt=wt(),zb=gb(),rj=uc(),aj={"Content-Type":"application/x-www-form-urlencoded"};function Ub(e,t){!lt.isUndefined(e)&<.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function sj(){var e;return typeof XMLHttpRequest<"u"?e=Nb():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=$b()),e}function oj(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:sj(),transformRequest:[function(t,n){return zb(n,"Accept"),zb(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)?(Ub(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):lt.isObject(t)||n&&n["Content-Type"]==="application/json"?(Ub(n,"application/json"),oj(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"?rj(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(aj)});Wb.exports=gc});var Yb=w((C6,Hb)=>{"use strict";var cj=wt(),lj=Kr();Hb.exports=function(t,n,i){var r=this||lj;return cj.forEach(i,function(s){t=s.call(r,t,n)}),t}});var Pp=w((T6,Kb)=>{"use strict";Kb.exports=function(t){return!!(t&&t.__CANCEL__)}});var Vb=w((A6,Zb)=>{"use strict";var Gb=wt(),qp=Yb(),uj=Pp(),pj=Kr(),fj=Yr();function Bp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new fj("canceled")}Zb.exports=function(t){Bp(t),t.headers=t.headers||{},t.data=qp.call(t,t.data,t.headers,t.transformRequest),t.headers=Gb.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Gb.forEach(["delete","get","head","post","put","patch","common"],function(r){delete t.headers[r]});var n=t.adapter||pj.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 uj(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((j6,Jb)=>{"use strict";var Bt=wt();Jb.exports=function(t,n){n=n||{};var i={};function r(l,p){return Bt.isPlainObject(l)&&Bt.isPlainObject(p)?Bt.merge(l,p):Bt.isPlainObject(p)?Bt.merge({},p):Bt.isArray(p)?p.slice():p}function a(l){if(Bt.isUndefined(n[l])){if(!Bt.isUndefined(t[l]))return r(void 0,t[l])}else return r(t[l],n[l])}function s(l){if(!Bt.isUndefined(n[l]))return r(void 0,n[l])}function o(l){if(Bt.isUndefined(n[l])){if(!Bt.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 Bt.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var d=u[p]||a,g=d(p);Bt.isUndefined(g)&&d!==c||(i[p]=g)}),i}});var ex=w((M6,Qb)=>{"use strict";var dj=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 Xb={};Dp.transitional=function(t,n,i){function r(a,s){return"[Axios v"+dj+"] 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&&!Xb[s]&&(Xb[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 hj(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)}}Qb.exports={assertOptions:hj,validators:Dp}});var sx=w((R6,ax)=>{"use strict";var ix=wt(),mj=cc(),tx=hb(),nx=Vb(),vc=Fp(),rx=ex(),Gr=rx.validators;function rs(e){this.defaults=e,this.interceptors={request:new tx,response:new tx}}rs.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=vc(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&&rx.assertOptions(n,{silentJSONParsing:Gr.transitional(Gr.boolean),forcedJSONParsing:Gr.transitional(Gr.boolean),clarifyTimeoutError:Gr.transitional(Gr.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=[nx,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=nx(c)}catch(p){return Promise.reject(p)}for(;a.length;)s=s.then(a.shift(),a.shift());return s};rs.prototype.getUri=function(t){return t=vc(this.defaults,t),mj(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};ix.forEach(["delete","get","head","options"],function(t){rs.prototype[t]=function(n,i){return this.request(vc(i||{},{method:t,url:n,data:(i||{}).data}))}});ix.forEach(["post","put","patch"],function(t){rs.prototype[t]=function(n,i,r){return this.request(vc(r||{},{method:t,url:n,data:i}))}});ax.exports=rs});var cx=w((I6,ox)=>{"use strict";var gj=Yr();function Zr(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 gj(r),t(n.reason))})}Zr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Zr.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};Zr.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};Zr.source=function(){var t,n=new Zr(function(r){t=r});return{token:n,cancel:t}};ox.exports=Zr});var ux=w((N6,lx)=>{"use strict";lx.exports=function(t){return function(i){return t.apply(null,i)}}});var fx=w((L6,px)=>{"use strict";px.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}});var mx=w((P6,$p)=>{"use strict";var dx=wt(),vj=Ep(),bc=sx(),bj=Fp(),xj=Kr();function hx(e){var t=new bc(e),n=vj(bc.prototype.request,t);return dx.extend(n,bc.prototype,t),dx.extend(n,t),n.create=function(r){return hx(bj(e,r))},n}var yn=hx(xj);yn.Axios=bc;yn.Cancel=Yr();yn.CancelToken=cx();yn.isCancel=Pp();yn.VERSION=hc().version;yn.all=function(t){return Promise.all(t)};yn.spread=ux();yn.isAxiosError=fx();$p.exports=yn;$p.exports.default=yn});var zp=w((q6,gx)=>{gx.exports=mx()});var bx=w((B6,vx)=>{"use strict";var yj=(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},wj=(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
|
|
26
33
|
`:`
|
|
27
34
|
`)+n,r=i+1,i=e.indexOf(`
|
|
28
|
-
`,r)}while(i!==-1);return a+=e.substr(r),a};
|
|
29
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function
|
|
30
|
-
`);return a!==-1&&(t=aT(t,r,i,a)),i+t+r},bp,lT=(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 bp===void 0&&(bp=Db()),bp(e,r.join(""))};Object.defineProperties(ic.prototype,Dr);var Ha=ic();Ha.supportsColor=xp;Ha.stderr=ic({level:yp?yp.level:0});Ha.stderr.supportsColor=yp;Ha.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"};Wb.exports=Ha});var Hb=b((o6,Sp)=>{"use strict";var Yb=(e,t)=>{for(let n of Reflect.ownKeys(t))Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));return e};Sp.exports=Yb;Sp.exports.default=Yb});var Vb=b((c6,sc)=>{"use strict";var uT=Hb(),ac=new WeakMap,Gb=(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(ac.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 uT(a,e),ac.set(a,i),a};sc.exports=Gb;sc.exports.default=Gb;sc.exports.callCount=e=>{if(!ac.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return ac.get(e)}});var Zb=b((l6,oc)=>{oc.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&oc.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&oc.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var tx=b((u6,Ur)=>{var Ce=global.process,Li=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"};Li(Ce)?(Jb=require("assert"),zr=Zb(),Xb=/^win/i.test(Ce.platform),Ga=require("events"),typeof Ga!="function"&&(Ga=Ga.EventEmitter),Ce.__signal_exit_emitter__?Je=Ce.__signal_exit_emitter__:(Je=Ce.__signal_exit_emitter__=new Ga,Je.count=0,Je.emitted={}),Je.infinite||(Je.setMaxListeners(1/0),Je.infinite=!0),Ur.exports=function(e,t){if(!Li(global.process))return function(){};Jb.equal(typeof e,"function","a callback must be provided for exit handler"),$r===!1&&Ep();var n="exit";t&&t.alwaysLast&&(n="afterexit");var i=function(){Je.removeListener(n,e),Je.listeners("exit").length===0&&Je.listeners("afterexit").length===0&&cc()};return Je.on(n,e),i},cc=function(){!$r||!Li(global.process)||($r=!1,zr.forEach(function(t){try{Ce.removeListener(t,lc[t])}catch{}}),Ce.emit=uc,Ce.reallyExit=Op,Je.count-=1)},Ur.exports.unload=cc,Ii=function(t,n,i){Je.emitted[t]||(Je.emitted[t]=!0,Je.emit(t,n,i))},lc={},zr.forEach(function(e){lc[e]=function(){if(!!Li(global.process)){var n=Ce.listeners(e);n.length===Je.count&&(cc(),Ii("exit",null,e),Ii("afterexit",null,e),Xb&&e==="SIGHUP"&&(e="SIGINT"),Ce.kill(Ce.pid,e))}}}),Ur.exports.signals=function(){return zr},$r=!1,Ep=function(){$r||!Li(global.process)||($r=!0,Je.count+=1,zr=zr.filter(function(t){try{return Ce.on(t,lc[t]),!0}catch{return!1}}),Ce.emit=ex,Ce.reallyExit=Qb)},Ur.exports.load=Ep,Op=Ce.reallyExit,Qb=function(t){!Li(global.process)||(Ce.exitCode=t||0,Ii("exit",Ce.exitCode,null),Ii("afterexit",Ce.exitCode,null),Op.call(Ce,Ce.exitCode))},uc=Ce.emit,ex=function(t,n){if(t==="exit"&&Li(global.process)){n!==void 0&&(Ce.exitCode=n);var i=uc.apply(this,arguments);return Ii("exit",Ce.exitCode,null),Ii("afterexit",Ce.exitCode,null),i}else return uc.apply(this,arguments)}):Ur.exports=function(){return function(){}};var Jb,zr,Xb,Ga,Je,cc,Ii,lc,$r,Ep,Op,Qb,uc,ex});var ix=b((p6,nx)=>{"use strict";var pT=Vb(),fT=tx();nx.exports=pT(()=>{fT(()=>{process.stderr.write("\x1B[?25h")},{alwaysLast:!0})})});var rx=b(Wr=>{"use strict";var dT=ix(),pc=!1;Wr.show=(e=process.stderr)=>{!e.isTTY||(pc=!1,e.write("\x1B[?25h"))};Wr.hide=(e=process.stderr)=>{!e.isTTY||(dT(),pc=!0,e.write("\x1B[?25l"))};Wr.toggle=(e,t)=>{e!==void 0&&(pc=e),pc?Wr.show(t):Wr.hide(t)}});var ax=b((d6,hT)=>{hT.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 cx=b((h6,ox)=>{"use strict";var fc=Object.assign({},ax()),sx=Object.keys(fc);Object.defineProperty(fc,"random",{get(){let e=Math.floor(Math.random()*sx.length),t=sx[e];return fc[t]}});ox.exports=fc});var ux=b((m6,lx)=>{"use strict";var mT=/[|\\{}()[\]^$+*?.]/g;lx.exports=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(mT,"\\$&")}});var fx=b((g6,px)=>{"use strict";px.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 kp=b((v6,gx)=>{var qi=fx(),mx={};for(dc in qi)qi.hasOwnProperty(dc)&&(mx[qi[dc]]=dc);var dc,V=gx.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(vt in V)if(V.hasOwnProperty(vt)){if(!("channels"in V[vt]))throw new Error("missing channels property: "+vt);if(!("labels"in V[vt]))throw new Error("missing channel labels property: "+vt);if(V[vt].labels.length!==V[vt].channels)throw new Error("channel and label counts mismatch: "+vt);dx=V[vt].channels,hx=V[vt].labels,delete V[vt].channels,delete V[vt].labels,Object.defineProperty(V[vt],"channels",{value:dx}),Object.defineProperty(V[vt],"labels",{value:hx})}var dx,hx,vt;V.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]};V.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(f){return(u-f)/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]};V.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2],r=V.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]};V.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 gT(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}V.rgb.keyword=function(e){var t=mx[e];if(t)return t;var n=1/0,i;for(var r in qi)if(qi.hasOwnProperty(r)){var a=qi[r],s=gT(e,a);s<n&&(n=s,i=r)}return i};V.keyword.rgb=function(e){return qi[e]};V.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]};V.rgb.lab=function(e){var t=V.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]};V.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};V.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]};V.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]}};V.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]};V.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]};V.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]};V.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]};V.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]};V.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]};V.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]};V.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]};V.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],r=1 in arguments?arguments[1]:V.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};V.hsv.ansi16=function(e){return V.rgb.ansi16(V.hsv.rgb(e),e[2])};V.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};V.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]};V.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]};V.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};V.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]};V.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]};V.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]};V.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]};V.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]};V.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]};V.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]};V.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]};V.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]};V.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};V.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};V.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};V.gray.hsl=V.gray.hsv=function(e){return[0,0,e[0]]};V.gray.hwb=function(e){return[0,100,e[0]]};V.gray.cmyk=function(e){return[0,0,0,e[0]]};V.gray.lab=function(e){return[e[0],0,0]};V.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};V.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}});var bx=b((b6,vx)=>{var hc=kp();function vT(){for(var e={},t=Object.keys(hc),n=t.length,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}function bT(e){var t=vT(),n=[e];for(t[e].distance=0;n.length;)for(var i=n.pop(),r=Object.keys(hc[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 xT(e,t){return function(n){return t(e(n))}}function yT(e,t){for(var n=[t[e].parent,e],i=hc[t[e].parent][e],r=t[e].parent;t[r].parent;)n.unshift(t[r].parent),i=xT(hc[t[r].parent][r],i),r=t[r].parent;return i.conversion=n,i}vx.exports=function(e){for(var t=bT(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]=yT(s,t))}return n}});var yx=b((x6,xx)=>{var Cp=kp(),wT=bx(),Kr={},_T=Object.keys(Cp);function ST(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 ET(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}_T.forEach(function(e){Kr[e]={},Object.defineProperty(Kr[e],"channels",{value:Cp[e].channels}),Object.defineProperty(Kr[e],"labels",{value:Cp[e].labels});var t=wT(e),n=Object.keys(t);n.forEach(function(i){var r=t[i];Kr[e][i]=ET(r),Kr[e][i].raw=ST(r)})});xx.exports=Kr});var _x=b((y6,wx)=>{"use strict";var Yr=yx(),mc=(e,t)=>function(){return`\x1B[${e.apply(Yr,arguments)+t}m`},gc=(e,t)=>function(){let n=e.apply(Yr,arguments);return`\x1B[${38+t};5;${n}m`},vc=(e,t)=>function(){let n=e.apply(Yr,arguments);return`\x1B[${38+t};2;${n[0]};${n[1]};${n[2]}m`};function OT(){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:gc(n,0)},t.color.ansi16m={rgb:vc(i,0)},t.bgColor.ansi={ansi:mc(n,10)},t.bgColor.ansi256={ansi256:gc(n,10)},t.bgColor.ansi16m={rgb:vc(i,10)};for(let r of Object.keys(Yr)){if(typeof Yr[r]!="object")continue;let a=Yr[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]=gc(a.ansi256,0),t.bgColor.ansi256[r]=gc(a.ansi256,10)),"rgb"in a&&(t.color.ansi16m[r]=vc(a.rgb,0),t.bgColor.ansi16m[r]=vc(a.rgb,10))}return t}Object.defineProperty(wx,"exports",{enumerable:!0,get:OT})});var Ex=b((w6,Sx)=>{"use strict";Sx.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 kx=b((_6,Ox)=>{"use strict";var kT=require("os"),en=Ex(),ct=process.env,Hr;en("no-color")||en("no-colors")||en("color=false")?Hr=!1:(en("color")||en("colors")||en("color=true")||en("color=always"))&&(Hr=!0);"FORCE_COLOR"in ct&&(Hr=ct.FORCE_COLOR.length===0||parseInt(ct.FORCE_COLOR,10)!==0);function CT(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function AT(e){if(Hr===!1)return 0;if(en("color=16m")||en("color=full")||en("color=truecolor"))return 3;if(en("color=256"))return 2;if(e&&!e.isTTY&&Hr!==!0)return 0;let t=Hr?1:0;if(process.platform==="win32"){let n=kT.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 ct)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(n=>n in ct)||ct.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in ct)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ct.TEAMCITY_VERSION)?1:0;if(ct.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in ct){let n=parseInt((ct.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ct.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ct.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ct.TERM)||"COLORTERM"in ct?1:(ct.TERM==="dumb",t)}function Ap(e){let t=AT(e);return CT(t)}Ox.exports={supportsColor:Ap,stdout:Ap(process.stdout),stderr:Ap(process.stderr)}});var Mx=b((S6,jx)=>{"use strict";var TT=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Cx=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,jT=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,MT=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,RT=new Map([["n",`
|
|
31
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Tx(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):RT.get(e)||e}function NT(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(jT))n.push(r[2].replace(MT,(s,o,c)=>o?Tx(o):c));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`);return n}function LT(e){Cx.lastIndex=0;let t=[],n;for(;(n=Cx.exec(e))!==null;){let i=n[1];if(n[2]){let r=NT(i,n[2]);t.push([i].concat(r))}else t.push([i])}return t}function Ax(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}jx.exports=(e,t)=>{let n=[],i=[],r=[];if(t.replace(TT,(a,s,o,c,u,l)=>{if(s)r.push(Tx(s));else if(c){let p=r.join("");r=[],i.push(n.length===0?p:Ax(e,n)(p)),n.push({inverse:o,styles:LT(c)})}else if(u){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");i.push(Ax(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 qx=b((E6,Za)=>{"use strict";var jp=ux(),ze=_x(),Tp=kx().stdout,IT=Mx(),Nx=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),Lx=["ansi","ansi","ansi256","ansi16m"],Ix=new Set(["gray"]),Gr=Object.create(null);function Rx(e,t){t=t||{};let n=Tp?Tp.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 Rx(t,e),t.template=function(){let n=[].slice.call(arguments);return BT.apply(null,[t.template].concat(n))},Object.setPrototypeOf(t,Va.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=Va,t.template}Rx(this,e)}Nx&&(ze.blue.open="\x1B[94m");for(let e of Object.keys(ze))ze[e].closeRe=new RegExp(jp(ze[e].close),"g"),Gr[e]={get(){let t=ze[e];return bc.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};Gr.visible={get(){return bc.call(this,this._styles||[],!0,"visible")}};ze.color.closeRe=new RegExp(jp(ze.color.close),"g");for(let e of Object.keys(ze.color.ansi))Ix.has(e)||(Gr[e]={get(){let t=this.level;return function(){let i={open:ze.color[Lx[t]][e].apply(null,arguments),close:ze.color.close,closeRe:ze.color.closeRe};return bc.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}});ze.bgColor.closeRe=new RegExp(jp(ze.bgColor.close),"g");for(let e of Object.keys(ze.bgColor.ansi)){if(Ix.has(e))continue;let t="bg"+e[0].toUpperCase()+e.slice(1);Gr[t]={get(){let n=this.level;return function(){let r={open:ze.bgColor[Lx[n]][e].apply(null,arguments),close:ze.bgColor.close,closeRe:ze.bgColor.closeRe};return bc.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}}}var qT=Object.defineProperties(()=>{},Gr);function bc(e,t,n){let i=function(){return PT.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__=qT,i}function PT(){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=ze.dim.open;Nx&&this.hasGrey&&(ze.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 ze.dim.open=i,n}function BT(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 IT(e,i.join(""))}Object.defineProperties(Va.prototype,Gr);Za.exports=Va();Za.exports.supportsColor=Tp;Za.exports.default=Za.exports});var Bx=b((O6,Px)=>{"use strict";var Yn=qx(),FT=process.platform!=="win32"||process.env.CI||process.env.TERM==="xterm-256color",DT={info:Yn.blue("\u2139"),success:Yn.green("\u2714"),warning:Yn.yellow("\u26A0"),error:Yn.red("\u2716")},zT={info:Yn.blue("i"),success:Yn.green("\u221A"),warning:Yn.yellow("\u203C"),error:Yn.red("\xD7")};Px.exports=FT?DT:zT});var Dx=b((k6,Fx)=>{"use strict";Fx.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 $x=b((C6,zx)=>{"use strict";var $T=Dx();zx.exports=e=>typeof e=="string"?e.replace($T(),""):e});var Ux=b((A6,xc)=>{var UT=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 C=p.indexOf(g);if(C!=-1)return f[C];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 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 xc=="object"&&xc.exports&&(xc.exports=UT)});var Kx=b((T6,Wx)=>{var WT=Ux();Wx.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(n){typeof e[n]>"u"&&(e[n]=WT(t[n]))}),e}});var Hx=b((j6,Yx)=>{Yx.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 Jx=b((M6,Mp)=>{"use strict";var KT=Kx(),Ja=Hx(),Vx={nul:0,control:0};Mp.exports=function(t){return Zx(t,Vx)};Mp.exports.config=function(e){return e=KT(e||{},Vx),function(n){return Zx(n,e)}};function Zx(e,t){if(typeof e!="string")return Gx(e,t);for(var n=0,i=0;i<e.length;i++){var r=Gx(e.charCodeAt(i),t);if(r<0)return-1;n+=r}return n}function Gx(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:YT(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 YT(e){var t=0,n=Ja.length-1,i;if(e<Ja[0][0]||e>Ja[n][1])return!1;for(;n>=t;)if(i=Math.floor((t+n)/2),e>Ja[i][1])t=i+1;else if(e<Ja[i][0])n=i-1;else return!0;return!1}});var Qx=b((R6,Xx)=>{"use strict";Xx.exports=({stream:e=process.stdout}={})=>Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))});var ty=b((N6,ey)=>{var Rp=require("stream");ey.exports=Xe;function Xe(e){Rp.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}Xe.prototype=Object.create(Rp.prototype);Object.defineProperty(Xe.prototype,"constructor",{value:Xe,enumerable:!1});Xe.prototype.mute=function(){this.muted=!0};Xe.prototype.unmute=function(){this.muted=!1};Object.defineProperty(Xe.prototype,"_onpipe",{value:HT,enumerable:!1,writable:!0,configurable:!0});function HT(e){this._src=e}Object.defineProperty(Xe.prototype,"isTTY",{get:GT,set:VT,enumerable:!0,configurable:!0});function GT(){return this._dest?this._dest.isTTY:this._src?this._src.isTTY:!1}function VT(e){Object.defineProperty(this,"isTTY",{value:e,enumerable:!0,writable:!0,configurable:!0})}Object.defineProperty(Xe.prototype,"rows",{get:function(){return this._dest?this._dest.rows:this._src?this._src.rows:void 0},enumerable:!0,configurable:!0});Object.defineProperty(Xe.prototype,"columns",{get:function(){return this._dest?this._dest.columns:this._src?this._src.columns:void 0},enumerable:!0,configurable:!0});Xe.prototype.pipe=function(e,t){return this._dest=e,Rp.prototype.pipe.call(this,e,t)};Xe.prototype.pause=function(){if(this._src)return this._src.pause()};Xe.prototype.resume=function(){if(this._src)return this._src.resume()};Xe.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)};Xe.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 Np(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)}}Xe.prototype.destroy=Np("destroy");Xe.prototype.destroySoon=Np("destroySoon");Xe.prototype.close=Np("close")});var Hn=b((L6,qp)=>{"use strict";var ZT=require("readline"),JT=Kb(),ny=rx(),yc=cx(),wc=Bx(),XT=$x(),QT=Jx(),e5=Qx(),t5=ty(),Lp=Symbol("text"),_c=Symbol("prefixText"),n5=3,Ip=class{constructor(){this.requests=0,this.mutedStream=new t5,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(n5)&&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=ZT.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)}},Sc,Ec=class{constructor(t){Sc||(Sc=new Ip),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:e5({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=yc.line;else if(t===void 0)this._spinner=yc.dots;else if(yc[t])this._spinner=yc[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[Lp]}get prefixText(){return this[_c]}get isSpinning(){return this.id!==void 0}updateLineCount(){let t=this.stream.columns||80,n=typeof this[_c]=="string"?this[_c]+"-":"";this.lineCount=XT(n+"--"+this[Lp]).split(`
|
|
32
|
-
`).reduce((i,r)=>i+Math.max(1,Math.ceil(
|
|
33
|
-
`),this)}stop(){return this.isEnabled?(clearInterval(this.id),this.id=void 0,this.frameIndex=0,this.clear(),this.hideCursor&&
|
|
34
|
-
`),this}},i5=function(e){return new Ec(e)};qp.exports=i5;qp.exports.promise=(e,t)=>{if(typeof e.then!="function")throw new TypeError("Parameter `action` must be a Promise");let n=new Ec(t);return n.start(),(async()=>{try{await e,n.succeed()}catch{n.fail()}})(),n}});var es=b((K6,zp)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?zp.exports={nextTick:g5}:zp.exports=process;function g5(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 dy=b((Y6,fy)=>{var v5={}.toString;fy.exports=Array.isArray||function(e){return v5.call(e)=="[object Array]"}});var $p=b((H6,hy)=>{hy.exports=require("stream")});var ts=b((Up,gy)=>{var Cc=require("buffer"),En=Cc.Buffer;function my(e,t){for(var n in e)t[n]=e[n]}En.from&&En.alloc&&En.allocUnsafe&&En.allocUnsafeSlow?gy.exports=Cc:(my(Cc,Up),Up.Buffer=Zr);function Zr(e,t,n){return En(e,t,n)}my(En,Zr);Zr.from=function(e,t,n){if(typeof e=="number")throw new TypeError("Argument must not be a number");return En(e,t,n)};Zr.alloc=function(e,t,n){if(typeof e!="number")throw new TypeError("Argument must be a number");var i=En(e);return t!==void 0?typeof n=="string"?i.fill(t,n):i.fill(t):i.fill(0),i};Zr.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return En(e)};Zr.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Cc.SlowBuffer(e)}});var Jr=b(lt=>{function b5(e){return Array.isArray?Array.isArray(e):Ac(e)==="[object Array]"}lt.isArray=b5;function x5(e){return typeof e=="boolean"}lt.isBoolean=x5;function y5(e){return e===null}lt.isNull=y5;function w5(e){return e==null}lt.isNullOrUndefined=w5;function _5(e){return typeof e=="number"}lt.isNumber=_5;function S5(e){return typeof e=="string"}lt.isString=S5;function E5(e){return typeof e=="symbol"}lt.isSymbol=E5;function O5(e){return e===void 0}lt.isUndefined=O5;function k5(e){return Ac(e)==="[object RegExp]"}lt.isRegExp=k5;function C5(e){return typeof e=="object"&&e!==null}lt.isObject=C5;function A5(e){return Ac(e)==="[object Date]"}lt.isDate=A5;function T5(e){return Ac(e)==="[object Error]"||e instanceof Error}lt.isError=T5;function j5(e){return typeof e=="function"}lt.isFunction=j5;function M5(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}lt.isPrimitive=M5;lt.isBuffer=require("buffer").Buffer.isBuffer;function Ac(e){return Object.prototype.toString.call(e)}});var vy=b((V6,Wp)=>{typeof Object.create=="function"?Wp.exports=function(t,n){n&&(t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Wp.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 Xr=b((Z6,Yp)=>{try{if(Kp=require("util"),typeof Kp.inherits!="function")throw"";Yp.exports=Kp.inherits}catch{Yp.exports=vy()}var Kp});var xy=b((J6,Hp)=>{"use strict";function R5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var by=ts().Buffer,ns=require("util");function N5(e,t,n){e.copy(t,n)}Hp.exports=function(){function e(){R5(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 by.alloc(0);if(this.length===1)return this.head.data;for(var i=by.allocUnsafe(n>>>0),r=this.head,a=0;r;)N5(r.data,i,a),a+=r.data.length,r=r.next;return i},e}();ns&&ns.inspect&&ns.inspect.custom&&(Hp.exports.prototype[ns.inspect.custom]=function(){var e=ns.inspect({length:this.length});return this.constructor.name+" "+e})});var Gp=b((X6,_y)=>{"use strict";var yy=es();function L5(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)&&yy.nextTick(wy,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(a){!t&&a?(yy.nextTick(wy,n,a),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(a)}),this)}function I5(){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 wy(e,t){e.emit("error",t)}_y.exports={destroy:L5,undestroy:I5}});var Ey=b((Q6,Sy)=>{Sy.exports=require("util").deprecate});var Zp=b((eB,Ry)=>{"use strict";var Pi=es();Ry.exports=$e;function ky(e){var t=this;this.next=null,this.entry=null,this.finish=function(){Q5(t,e)}}var q5=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Pi.nextTick,Qr;$e.WritableState=rs;var Cy=Object.create(Jr());Cy.inherits=Xr();var P5={deprecate:Ey()},Ay=$p(),jc=ts().Buffer,B5=global.Uint8Array||function(){};function F5(e){return jc.from(e)}function D5(e){return jc.isBuffer(e)||e instanceof B5}var Ty=Gp();Cy.inherits($e,Ay);function z5(){}function rs(e,t){Qr=Qr||Bi(),e=e||{};var n=t instanceof Qr;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){G5(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 ky(this)}rs.prototype.getBuffer=function(){for(var t=this.bufferedRequest,n=[];t;)n.push(t),t=t.next;return n};(function(){try{Object.defineProperty(rs.prototype,"buffer",{get:P5.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Tc;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Tc=Function.prototype[Symbol.hasInstance],Object.defineProperty($e,Symbol.hasInstance,{value:function(e){return Tc.call(this,e)?!0:this!==$e?!1:e&&e._writableState instanceof rs}})):Tc=function(e){return e instanceof this};function $e(e){if(Qr=Qr||Bi(),!Tc.call($e,this)&&!(this instanceof Qr))return new $e(e);this._writableState=new rs(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)),Ay.call(this)}$e.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function $5(e,t){var n=new Error("write after end");e.emit("error",n),Pi.nextTick(t,n)}function U5(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),Pi.nextTick(i,a),r=!1),r}$e.prototype.write=function(e,t,n){var i=this._writableState,r=!1,a=!i.objectMode&&D5(e);return a&&!jc.isBuffer(e)&&(e=F5(e)),typeof t=="function"&&(n=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),typeof n!="function"&&(n=z5),i.ended?$5(this,n):(a||U5(this,i,e,n))&&(i.pendingcb++,r=K5(this,i,a,e,t,n)),r};$e.prototype.cork=function(){var e=this._writableState;e.corked++};$e.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest&&jy(this,e))};$e.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 W5(e,t,n){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=jc.from(t,n)),t}Object.defineProperty($e.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function K5(e,t,n,i,r,a){if(!n){var s=W5(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 Vp(e,t,!1,o,i,r,a);return c}function Vp(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 Y5(e,t,n,i,r){--t.pendingcb,n?(Pi.nextTick(r,i),Pi.nextTick(is,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(r(i),e._writableState.errorEmitted=!0,e.emit("error",i),is(e,t))}function H5(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function G5(e,t){var n=e._writableState,i=n.sync,r=n.writecb;if(H5(n),t)Y5(e,n,i,t,r);else{var a=My(n);!a&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest&&jy(e,n),i?q5(Oy,e,n,a,r):Oy(e,n,a,r)}}function Oy(e,t,n,i){n||V5(e,t),t.pendingcb--,i(),is(e,t)}function V5(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function jy(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,Vp(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 ky(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,l=n.callback,p=t.objectMode?1:c.length;if(Vp(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}$e.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))};$e.prototype._writev=null;$e.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&&X5(this,i,n)};function My(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function Z5(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),is(e,t)})}function J5(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"?(t.pendingcb++,t.finalCalled=!0,Pi.nextTick(Z5,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function is(e,t){var n=My(t);return n&&(J5(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"))),n}function X5(e,t,n){t.ending=!0,is(e,t),n&&(t.finished?Pi.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function Q5(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($e.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){!this._writableState||(this._writableState.destroyed=e)}});$e.prototype.destroy=Ty.destroy;$e.prototype._undestroy=Ty.undestroy;$e.prototype._destroy=function(e,t){this.end(),t(e)}});var Bi=b((tB,qy)=>{"use strict";var Ny=es(),e3=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};qy.exports=On;var Ly=Object.create(Jr());Ly.inherits=Xr();var Iy=Qp(),Xp=Zp();Ly.inherits(On,Iy);for(Jp=e3(Xp.prototype),Mc=0;Mc<Jp.length;Mc++)Rc=Jp[Mc],On.prototype[Rc]||(On.prototype[Rc]=Xp.prototype[Rc]);var Jp,Rc,Mc;function On(e){if(!(this instanceof On))return new On(e);Iy.call(this,e),Xp.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",t3)}Object.defineProperty(On.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function t3(){this.allowHalfOpen||this._writableState.ended||Ny.nextTick(n3,this)}function n3(e){e.end()}Object.defineProperty(On.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)}});On.prototype._destroy=function(e,t){this.push(null),this.end(),Ny.nextTick(t,e)}});var nf=b(By=>{"use strict";var tf=ts().Buffer,Py=tf.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 i3(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 r3(e){var t=i3(e);if(typeof t!="string"&&(tf.isEncoding===Py||!Py(e)))throw new Error("Unknown encoding: "+e);return t||e}By.StringDecoder=as;function as(e){this.encoding=r3(e);var t;switch(this.encoding){case"utf16le":this.text=u3,this.end=p3,t=4;break;case"utf8":this.fillLast=o3,t=4;break;case"base64":this.text=f3,this.end=d3,t=3;break;default:this.write=h3,this.end=m3;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=tf.allocUnsafe(t)}as.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||""};as.prototype.end=l3;as.prototype.text=c3;as.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 ef(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function a3(e,t,n){var i=t.length-1;if(i<n)return 0;var r=ef(t[i]);return r>=0?(r>0&&(e.lastNeed=r-1),r):--i<n||r===-2?0:(r=ef(t[i]),r>=0?(r>0&&(e.lastNeed=r-2),r):--i<n||r===-2?0:(r=ef(t[i]),r>=0?(r>0&&(r===2?r=0:e.lastNeed=r-3),r):0))}function s3(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 o3(e){var t=this.lastTotal-this.lastNeed,n=s3(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 c3(e,t){var n=a3(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 u3(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 p3(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 f3(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 d3(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h3(e){return e.toString(this.encoding)}function m3(e){return e&&e.length?this.write(e):""}});var Qp=b((rB,Zy)=>{"use strict";var ta=es();Zy.exports=ke;var g3=dy(),ss;ke.ReadableState=Ky;var iB=require("events").EventEmitter,$y=function(e,t){return e.listeners(t).length},cf=$p(),os=ts().Buffer,v3=global.Uint8Array||function(){};function b3(e){return os.from(e)}function x3(e){return os.isBuffer(e)||e instanceof v3}var Uy=Object.create(Jr());Uy.inherits=Xr();var rf=require("util"),be=void 0;rf&&rf.debuglog?be=rf.debuglog("stream"):be=function(){};var y3=xy(),Wy=Gp(),ea;Uy.inherits(ke,cf);var af=["error","close","destroy","pause","resume"];function w3(e,t,n){if(typeof e.prependListener=="function")return e.prependListener(t,n);!e._events||!e._events[t]?e.on(t,n):g3(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]}function Ky(e,t){ss=ss||Bi(),e=e||{};var n=t instanceof ss;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&&(ea||(ea=nf().StringDecoder),this.decoder=new ea(e.encoding),this.encoding=e.encoding)}function ke(e){if(ss=ss||Bi(),!(this instanceof ke))return new ke(e);this._readableState=new Ky(e,this),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),cf.call(this)}Object.defineProperty(ke.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){!this._readableState||(this._readableState.destroyed=e)}});ke.prototype.destroy=Wy.destroy;ke.prototype._undestroy=Wy.undestroy;ke.prototype._destroy=function(e,t){this.push(null),t(e)};ke.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=os.from(e,t),t=""),i=!0),Yy(this,e,t,!1,i)};ke.prototype.unshift=function(e){return Yy(this,e,null,!0,!1)};function Yy(e,t,n,i,r){var a=e._readableState;if(t===null)a.reading=!1,O3(e,a);else{var s;r||(s=_3(a,t)),s?e.emit("error",s):a.objectMode||t&&t.length>0?(typeof t!="string"&&!a.objectMode&&Object.getPrototypeOf(t)!==os.prototype&&(t=b3(t)),i?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):sf(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?sf(e,a,t,!1):Hy(e,a)):sf(e,a,t,!1))):i||(a.reading=!1)}return S3(a)}function sf(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&&Nc(e)),Hy(e,t)}function _3(e,t){var n;return!x3(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(n=new TypeError("Invalid non-string/buffer chunk")),n}function S3(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}ke.prototype.isPaused=function(){return this._readableState.flowing===!1};ke.prototype.setEncoding=function(e){return ea||(ea=nf().StringDecoder),this._readableState.decoder=new ea(e),this._readableState.encoding=e,this};var Fy=8388608;function E3(e){return e>=Fy?e=Fy:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Dy(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=E3(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}ke.prototype.read=function(e){be("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 be("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?of(this):Nc(this),null;if(e=Dy(e,t),e===0&&t.ended)return t.length===0&&of(this),null;var i=t.needReadable;be("need readable",i),(t.length===0||t.length-e<t.highWaterMark)&&(i=!0,be("length less than watermark",i)),t.ended||t.reading?(i=!1,be("reading or ended",i)):i&&(be("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Dy(n,t)));var r;return e>0?r=Gy(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&&of(this)),r!==null&&this.emit("data",r),r};function O3(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,Nc(e)}}function Nc(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(be("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?ta.nextTick(zy,e):zy(e))}function zy(e){be("emit readable"),e.emit("readable"),lf(e)}function Hy(e,t){t.readingMore||(t.readingMore=!0,ta.nextTick(k3,e,t))}function k3(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(be("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}ke.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))};ke.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,be("pipe count=%d opts=%j",i.pipesCount,t);var r=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,a=r?o:d;i.endEmitted?ta.nextTick(a):n.once("end",a),e.on("unpipe",s);function s(x,_){be("onunpipe"),x===n&&_&&_.hasUnpiped===!1&&(_.hasUnpiped=!0,l())}function o(){be("onend"),e.end()}var c=C3(n);e.on("drain",c);var u=!1;function l(){be("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,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c()}var p=!1;n.on("data",f);function f(x){be("ondata"),p=!1;var _=e.write(x);_===!1&&!p&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&Vy(i.pipes,e)!==-1)&&!u&&(be("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function m(x){be("onerror",x),d(),e.removeListener("error",m),$y(e,"error")===0&&e.emit("error",x)}w3(e,"error",m);function v(){e.removeListener("finish",g),d()}e.once("close",v);function g(){be("onfinish"),e.removeListener("close",v),d()}e.once("finish",g);function d(){be("unpipe"),n.unpipe(e)}return e.emit("pipe",n),i.flowing||(be("pipe resume"),n.resume()),e};function C3(e){return function(){var t=e._readableState;be("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&$y(e,"data")&&(t.flowing=!0,lf(e))}}ke.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=Vy(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)};ke.prototype.on=function(e,t){var n=cf.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&&Nc(this):ta.nextTick(A3,this))}return n};ke.prototype.addListener=ke.prototype.on;function A3(e){be("readable nexttick read 0"),e.read(0)}ke.prototype.resume=function(){var e=this._readableState;return e.flowing||(be("resume"),e.flowing=!0,T3(this,e)),this};function T3(e,t){t.resumeScheduled||(t.resumeScheduled=!0,ta.nextTick(j3,e,t))}function j3(e,t){t.reading||(be("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),lf(e),t.flowing&&!t.reading&&e.read(0)}ke.prototype.pause=function(){return be("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(be("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function lf(e){var t=e._readableState;for(be("flow",t.flowing);t.flowing&&e.read()!==null;);}ke.prototype.wrap=function(e){var t=this,n=this._readableState,i=!1;e.on("end",function(){if(be("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(be("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<af.length;a++)e.on(af[a],this.emit.bind(this,af[a]));return this._read=function(s){be("wrapped _read",s),i&&(i=!1,e.resume())},this};Object.defineProperty(ke.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});ke._fromList=Gy;function Gy(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=M3(e,t.buffer,t.decoder),n}function M3(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?R3(e,t):N3(e,t),i}function R3(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 N3(e,t){var n=os.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 of(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,ta.nextTick(L3,t,e))}function L3(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function Vy(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1}});var uf=b((aB,Qy)=>{"use strict";Qy.exports=kn;var Lc=Bi(),Xy=Object.create(Jr());Xy.inherits=Xr();Xy.inherits(kn,Lc);function I3(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 kn(e){if(!(this instanceof kn))return new kn(e);Lc.call(this,e),this._transformState={afterTransform:I3.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",q3)}function q3(){var e=this;typeof this._flush=="function"?this._flush(function(t,n){Jy(e,t,n)}):Jy(this,null,null)}kn.prototype.push=function(e,t){return this._transformState.needTransform=!1,Lc.prototype.push.call(this,e,t)};kn.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")};kn.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)}};kn.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};kn.prototype._destroy=function(e,t){var n=this;Lc.prototype._destroy.call(this,e,function(i){t(i),n.emit("close")})};function Jy(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 i1=b((sB,n1)=>{"use strict";n1.exports=cs;var e1=uf(),t1=Object.create(Jr());t1.inherits=Xr();t1.inherits(cs,e1);function cs(e){if(!(this instanceof cs))return new cs(e);e1.call(this,e)}cs.prototype._transform=function(e,t,n){n(null,e)}});var pf=b((at,Ic)=>{var hn=require("stream");process.env.READABLE_STREAM==="disable"&&hn?(Ic.exports=hn,at=Ic.exports=hn.Readable,at.Readable=hn.Readable,at.Writable=hn.Writable,at.Duplex=hn.Duplex,at.Transform=hn.Transform,at.PassThrough=hn.PassThrough,at.Stream=hn):(at=Ic.exports=Qp(),at.Stream=hn||at,at.Readable=at,at.Writable=Zp(),at.Duplex=Bi(),at.Transform=uf(),at.PassThrough=i1())});var Cn=b(Lt=>{"use strict";Lt.base64=!0;Lt.array=!0;Lt.string=!0;Lt.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";Lt.nodebuffer=typeof Buffer<"u";Lt.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")Lt.blob=!1;else{ff=new ArrayBuffer(0);try{Lt.blob=new Blob([ff],{type:"application/zip"}).size===0}catch{try{r1=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,df=new r1,df.append(ff),Lt.blob=df.getBlob("application/zip").size===0}catch{Lt.blob=!1}}}var ff,r1,df;try{Lt.nodestream=!!pf().Readable}catch{Lt.nodestream=!1}});var mf=b(hf=>{"use strict";var P3=Ne(),B3=Cn(),mn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";hf.encode=function(e){for(var t=[],n,i,r,a,s,o,c,u=0,l=e.length,p=l,f=P3.getTypeOf(e)!=="string";u<e.length;)p=l-u,f?(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(mn.charAt(a)+mn.charAt(s)+mn.charAt(o)+mn.charAt(c));return t.join("")};hf.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)===mn.charAt(64)&&p--,e.charAt(e.length-2)===mn.charAt(64)&&p--,p%1!==0)throw new Error("Invalid base64 input, bad content length.");var f;for(B3.uint8array?f=new Uint8Array(p|0):f=new Array(p|0);c<e.length;)r=mn.indexOf(e.charAt(c++)),a=mn.indexOf(e.charAt(c++)),s=mn.indexOf(e.charAt(c++)),o=mn.indexOf(e.charAt(c++)),t=r<<2|a>>4,n=(a&15)<<4|s>>2,i=(s&3)<<6|o,f[u++]=t,s!==64&&(f[u++]=n),o!==64&&(f[u++]=i);return f}});var ls=b((lB,a1)=>{"use strict";a1.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 o1=b((uB,s1)=>{"use strict";s1.exports=typeof setImmediate=="function"?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}});var p1=b((pB,u1)=>{"use strict";var c1=global.MutationObserver||global.WebKitMutationObserver,na;process.browser?c1?(gf=0,l1=new c1(us),vf=global.document.createTextNode(""),l1.observe(vf,{characterData:!0}),na=function(){vf.data=gf=++gf%2}):!global.setImmediate&&typeof global.MessageChannel<"u"?(bf=new global.MessageChannel,bf.port1.onmessage=us,na=function(){bf.port2.postMessage(0)}):"document"in global&&"onreadystatechange"in global.document.createElement("script")?na=function(){var e=global.document.createElement("script");e.onreadystatechange=function(){us(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},global.document.documentElement.appendChild(e)}:na=function(){setTimeout(us,0)}:na=function(){process.nextTick(us)};var gf,l1,vf,bf,xf,ps=[];function us(){xf=!0;for(var e,t,n=ps.length;n;){for(t=ps,ps=[],e=-1;++e<n;)t[e]();n=ps.length}xf=!1}u1.exports=F3;function F3(e){ps.push(e)===1&&!xf&&na()}});var b1=b((fB,v1)=>{"use strict";var f1=p1();function ia(){}var ut={},d1=["REJECTED"],yf=["FULFILLED"],h1=["PENDING"];process.browser||(fs=["UNHANDLED"]);var fs;v1.exports=Gn;function Gn(e){if(typeof e!="function")throw new TypeError("resolver must be a function");this.state=h1,this.queue=[],this.outcome=void 0,process.browser||(this.handled=fs),e!==ia&&m1(this,e)}Gn.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)}};Gn.prototype.catch=function(e){return this.then(null,e)};Gn.prototype.then=function(e,t){if(typeof e!="function"&&this.state===yf||typeof t!="function"&&this.state===d1)return this;var n=new this.constructor(ia);if(process.browser||this.handled===fs&&(this.handled=null),this.state!==h1){var i=this.state===yf?e:t;wf(n,i,this.outcome)}else this.queue.push(new ds(n,e,t));return n};function ds(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)}ds.prototype.callFulfilled=function(e){ut.resolve(this.promise,e)};ds.prototype.otherCallFulfilled=function(e){wf(this.promise,this.onFulfilled,e)};ds.prototype.callRejected=function(e){ut.reject(this.promise,e)};ds.prototype.otherCallRejected=function(e){wf(this.promise,this.onRejected,e)};function wf(e,t,n){f1(function(){var i;try{i=t(n)}catch(r){return ut.reject(e,r)}i===e?ut.reject(e,new TypeError("Cannot resolve promise with itself")):ut.resolve(e,i)})}ut.resolve=function(e,t){var n=g1(D3,t);if(n.status==="error")return ut.reject(e,n.value);var i=n.value;if(i)m1(e,i);else{e.state=yf,e.outcome=t;for(var r=-1,a=e.queue.length;++r<a;)e.queue[r].callFulfilled(t)}return e};ut.reject=function(e,t){e.state=d1,e.outcome=t,process.browser||e.handled===fs&&f1(function(){e.handled===fs&&process.emit("unhandledRejection",t,e)});for(var n=-1,i=e.queue.length;++n<i;)e.queue[n].callRejected(t);return e};function D3(e){var t=e&&e.then;if(e&&(typeof e=="object"||typeof e=="function")&&typeof t=="function")return function(){t.apply(e,arguments)}}function m1(e,t){var n=!1;function i(o){n||(n=!0,ut.reject(e,o))}function r(o){n||(n=!0,ut.resolve(e,o))}function a(){t(r,i)}var s=g1(a);s.status==="error"&&i(s.value)}function g1(e,t){var n={};try{n.value=e(t),n.status="success"}catch(i){n.status="error",n.value=i}return n}Gn.resolve=z3;function z3(e){return e instanceof this?e:ut.resolve(new this(ia),e)}Gn.reject=$3;function $3(e){var t=new this(ia);return ut.reject(t,e)}Gn.all=U3;function U3(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(ia);++s<n;)c(e[s],s);return o;function c(u,l){t.resolve(u).then(p,function(f){i||(i=!0,ut.reject(o,f))});function p(f){r[l]=f,++a===n&&!i&&(i=!0,ut.resolve(o,r))}}}Gn.race=W3;function W3(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(ia);++r<n;)s(e[r]);return a;function s(o){t.resolve(o).then(function(c){i||(i=!0,ut.resolve(a,c))},function(c){i||(i=!0,ut.reject(a,c))})}}});var ra=b((dB,x1)=>{"use strict";var _f=null;typeof Promise<"u"?_f=Promise:_f=b1();x1.exports={Promise:_f}});var Ne=b(Ke=>{"use strict";var Vn=Cn(),K3=mf(),aa=ls(),Y3=o1(),Sf=ra();function H3(e){var t=null;return Vn.uint8array?t=new Uint8Array(e.length):t=new Array(e.length),Pc(e,t)}Ke.newBlob=function(e,t){Ke.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 hs(e){return e}function Pc(e,t){for(var n=0;n<e.length;++n)t[n]=e.charCodeAt(n)&255;return t}var qc={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 Vn.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return Vn.nodebuffer&&String.fromCharCode.apply(null,aa.allocBuffer(1)).length===1}catch{return!1}}()}};function ms(e){var t=65536,n=Ke.getTypeOf(e),i=!0;if(n==="uint8array"?i=qc.applyCanBeUsed.uint8array:n==="nodebuffer"&&(i=qc.applyCanBeUsed.nodebuffer),i)for(;t>1;)try{return qc.stringifyByChunk(e,n,t)}catch{t=Math.floor(t/2)}return qc.stringifyByChar(e)}Ke.applyFromCharCode=ms;function Bc(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}var Zn={};Zn.string={string:hs,array:function(e){return Pc(e,new Array(e.length))},arraybuffer:function(e){return Zn.string.uint8array(e).buffer},uint8array:function(e){return Pc(e,new Uint8Array(e.length))},nodebuffer:function(e){return Pc(e,aa.allocBuffer(e.length))}};Zn.array={string:ms,array:hs,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return aa.newBufferFrom(e)}};Zn.arraybuffer={string:function(e){return ms(new Uint8Array(e))},array:function(e){return Bc(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:hs,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return aa.newBufferFrom(new Uint8Array(e))}};Zn.uint8array={string:ms,array:function(e){return Bc(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:hs,nodebuffer:function(e){return aa.newBufferFrom(e)}};Zn.nodebuffer={string:ms,array:function(e){return Bc(e,new Array(e.length))},arraybuffer:function(e){return Zn.nodebuffer.uint8array(e).buffer},uint8array:function(e){return Bc(e,new Uint8Array(e.length))},nodebuffer:hs};Ke.transformTo=function(e,t){if(t||(t=""),!e)return t;Ke.checkSupport(e);var n=Ke.getTypeOf(t),i=Zn[n][e](t);return i};Ke.getTypeOf=function(e){if(typeof e=="string")return"string";if(Object.prototype.toString.call(e)==="[object Array]")return"array";if(Vn.nodebuffer&&aa.isBuffer(e))return"nodebuffer";if(Vn.uint8array&&e instanceof Uint8Array)return"uint8array";if(Vn.arraybuffer&&e instanceof ArrayBuffer)return"arraybuffer"};Ke.checkSupport=function(e){var t=Vn[e.toLowerCase()];if(!t)throw new Error(e+" is not supported by this platform")};Ke.MAX_VALUE_16BITS=65535;Ke.MAX_VALUE_32BITS=-1;Ke.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};Ke.delay=function(e,t,n){Y3(function(){e.apply(n||null,t||[])})};Ke.inherits=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n};Ke.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};Ke.prepareContent=function(e,t,n,i,r){var a=Sf.Promise.resolve(t).then(function(s){var o=Vn.blob&&(s instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(s))!==-1);return o&&typeof FileReader<"u"?new Sf.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=Ke.getTypeOf(s);return o?(o==="arraybuffer"?s=Ke.transformTo("uint8array",s):o==="string"&&(r?s=K3.decode(s):n&&i!==!0&&(s=H3(s))),s):Sf.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}});var It=b((mB,w1)=>{"use strict";function y1(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}y1.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}};w1.exports=y1});var Di=b(Jn=>{"use strict";var sa=Ne(),Fi=Cn(),G3=ls(),Fc=It(),gs=new Array(256);for(An=0;An<256;An++)gs[An]=An>=252?6:An>=248?5:An>=240?4:An>=224?3:An>=192?2:1;var An;gs[254]=gs[254]=1;var V3=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(Fi.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},Z3=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+gs[e[n]]>t?n:t},J3=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=gs[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),sa.applyFromCharCode(o)};Jn.utf8encode=function(t){return Fi.nodebuffer?G3.newBufferFrom(t,"utf-8"):V3(t)};Jn.utf8decode=function(t){return Fi.nodebuffer?sa.transformTo("nodebuffer",t).toString("utf-8"):(t=sa.transformTo(Fi.uint8array?"uint8array":"array",t),J3(t))};function Dc(){Fc.call(this,"utf-8 decode"),this.leftOver=null}sa.inherits(Dc,Fc);Dc.prototype.processChunk=function(e){var t=sa.transformTo(Fi.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(Fi.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=Z3(t),r=t;i!==t.length&&(Fi.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:Jn.utf8decode(r),meta:e.meta})};Dc.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:Jn.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)};Jn.Utf8DecodeWorker=Dc;function Ef(){Fc.call(this,"utf-8 encode")}sa.inherits(Ef,Fc);Ef.prototype.processChunk=function(e){this.push({data:Jn.utf8encode(e.data),meta:e.meta})};Jn.Utf8EncodeWorker=Ef});var O1=b((vB,E1)=>{"use strict";var _1=It(),S1=Ne();function Of(e){_1.call(this,"ConvertWorker to "+e),this.destType=e}S1.inherits(Of,_1);Of.prototype.processChunk=function(e){this.push({data:S1.transformTo(this.destType,e.data),meta:e.meta})};E1.exports=Of});var A1=b((bB,C1)=>{"use strict";var k1=pf().Readable,X3=Ne();X3.inherits(kf,k1);function kf(e,t,n){k1.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)})}kf.prototype._read=function(){this._helper.resume()};C1.exports=kf});var Cf=b((xB,M1)=>{"use strict";var zi=Ne(),Q3=O1(),ej=It(),tj=mf(),nj=Cn(),ij=ra(),T1=null;if(nj.nodestream)try{T1=A1()}catch{}function rj(e,t,n){switch(e){case"blob":return zi.newBlob(zi.transformTo("arraybuffer",t),n);case"base64":return tj.encode(t);default:return zi.transformTo(e,t)}}function aj(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 sj(e,t){return new ij.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=rj(s,aj(a,r),o);n(c)}catch(u){i(u)}r=[]}).resume()})}function j1(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,zi.checkSupport(i),this._worker=e.pipe(new Q3(i)),e.lock()}catch(r){this._worker=new ej("error"),this._worker.error(r)}}j1.prototype={accumulate:function(e){return sj(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(){zi.delay(t,arguments,n)}),this},resume:function(){return zi.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(zi.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new T1(this,{objectMode:this._outputType!=="nodebuffer"},e)}};M1.exports=j1});var Af=b(tn=>{"use strict";tn.base64=!1;tn.binary=!1;tn.dir=!1;tn.createFolders=!0;tn.date=null;tn.compression=null;tn.compressionOptions=null;tn.comment=null;tn.unixPermissions=null;tn.dosPermissions=null});var Tf=b((wB,R1)=>{"use strict";var zc=Ne(),$c=It(),oj=16*1024;function oa(e){$c.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=zc.getTypeOf(n),t.isPaused||t._tickAndRepeat()},function(n){t.error(n)})}zc.inherits(oa,$c);oa.prototype.cleanUp=function(){$c.prototype.cleanUp.call(this),this.data=null};oa.prototype.resume=function(){return $c.prototype.resume.call(this)?(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,zc.delay(this._tickAndRepeat,[],this)),!0):!1};oa.prototype._tickAndRepeat=function(){this._tickScheduled=!1,!(this.isPaused||this.isFinished)&&(this._tick(),this.isFinished||(zc.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))};oa.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=oj,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}})};R1.exports=oa});var Uc=b((_B,L1)=>{"use strict";var cj=Ne();function lj(){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 N1=lj();function uj(e,t,n,i){var r=N1,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 pj(e,t,n,i){var r=N1,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}L1.exports=function(t,n){if(typeof t>"u"||!t.length)return 0;var i=cj.getTypeOf(t)!=="string";return i?uj(n|0,t,t.length,0):pj(n|0,t,t.length,0)}});var Mf=b((SB,q1)=>{"use strict";var I1=It(),fj=Uc(),dj=Ne();function jf(){I1.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}dj.inherits(jf,I1);jf.prototype.processChunk=function(e){this.streamInfo.crc32=fj(e.data,this.streamInfo.crc32||0),this.push(e)};q1.exports=jf});var B1=b((EB,P1)=>{"use strict";var hj=Ne(),Rf=It();function Nf(e){Rf.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}hj.inherits(Nf,Rf);Nf.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}Rf.prototype.processChunk.call(this,e)};P1.exports=Nf});var Wc=b((OB,z1)=>{"use strict";var F1=ra(),D1=Tf(),mj=Mf(),Lf=B1();function If(e,t,n,i,r){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=i,this.compressedContent=r}If.prototype={getContentWorker:function(){var e=new D1(F1.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new Lf("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 D1(F1.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};If.createWorkerFrom=function(e,t,n){return e.pipe(new mj).pipe(new Lf("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new Lf("compressedSize")).withStreamInfo("compression",t)};z1.exports=If});var K1=b((kB,W1)=>{"use strict";var gj=Cf(),vj=Tf(),qf=Di(),Pf=Wc(),$1=It(),Bf=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}};Bf.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 qf.Utf8EncodeWorker)),!r&&i&&(t=t.pipe(new qf.Utf8DecodeWorker))}catch(a){t=new $1("error"),t.error(a)}return new gj(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 Pf&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new qf.Utf8EncodeWorker)),Pf.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof Pf?this._data.getContentWorker():this._data instanceof $1?this._data:new vj(this._data)}};var U1=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],bj=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(Kc=0;Kc<U1.length;Kc++)Bf.prototype[U1[Kc]]=bj;var Kc;W1.exports=Bf});var Tn=b(bt=>{"use strict";var xj=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function yj(e,t){return Object.prototype.hasOwnProperty.call(e,t)}bt.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)yj(n,i)&&(e[i]=n[i])}}return e};bt.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var wj={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}},_j={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)}};bt.setTyped=function(e){e?(bt.Buf8=Uint8Array,bt.Buf16=Uint16Array,bt.Buf32=Int32Array,bt.assign(bt,wj)):(bt.Buf8=Array,bt.Buf16=Array,bt.Buf32=Array,bt.assign(bt,_j))};bt.setTyped(xj)});var hw=b(ua=>{"use strict";var Sj=Tn(),Ej=4,Y1=0,H1=1,Oj=2;function la(e){for(var t=e.length;--t>=0;)e[t]=0}var kj=0,Q1=1,Cj=2,Aj=3,Tj=258,Kf=29,_s=256,bs=_s+1+Kf,ca=30,Yf=19,ew=2*bs+1,$i=15,Ff=16,jj=7,Hf=256,tw=16,nw=17,iw=18,Uf=[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],Yc=[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],Mj=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],rw=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Rj=512,jn=new Array((bs+2)*2);la(jn);var vs=new Array(ca*2);la(vs);var xs=new Array(Rj);la(xs);var ys=new Array(Tj-Aj+1);la(ys);var Gf=new Array(Kf);la(Gf);var Hc=new Array(ca);la(Hc);function Df(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 aw,sw,ow;function zf(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function cw(e){return e<256?xs[e]:xs[256+(e>>>7)]}function ws(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function St(e,t,n){e.bi_valid>Ff-n?(e.bi_buf|=t<<e.bi_valid&65535,ws(e,e.bi_buf),e.bi_buf=t>>Ff-e.bi_valid,e.bi_valid+=n-Ff):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function gn(e,t,n){St(e,n[t*2],n[t*2+1])}function lw(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function Nj(e){e.bi_valid===16?(ws(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 Lj(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,f,m,v,g=0;for(f=0;f<=$i;f++)e.bl_count[f]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;u<ew;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>i)&&(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*(r[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>i)&&(n[p*2+1]!==f&&(e.opt_len+=(f-n[p*2+1])*n[p*2],n[p*2+1]=f),l--)}}function uw(e,t,n){var i=new Array($i+1),r=0,a,s;for(a=1;a<=$i;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]=lw(i[o]++,o))}}function Ij(){var e,t,n,i,r,a=new Array($i+1);for(n=0,i=0;i<Kf-1;i++)for(Gf[i]=n,e=0;e<1<<Uf[i];e++)ys[n++]=i;for(ys[n-1]=i,r=0,i=0;i<16;i++)for(Hc[i]=r,e=0;e<1<<Yc[i];e++)xs[r++]=i;for(r>>=7;i<ca;i++)for(Hc[i]=r<<7,e=0;e<1<<Yc[i]-7;e++)xs[256+r++]=i;for(t=0;t<=$i;t++)a[t]=0;for(e=0;e<=143;)jn[e*2+1]=8,e++,a[8]++;for(;e<=255;)jn[e*2+1]=9,e++,a[9]++;for(;e<=279;)jn[e*2+1]=7,e++,a[7]++;for(;e<=287;)jn[e*2+1]=8,e++,a[8]++;for(uw(jn,bs+1,a),e=0;e<ca;e++)vs[e*2+1]=5,vs[e*2]=lw(e,5);aw=new Df(jn,Uf,_s+1,bs,$i),sw=new Df(vs,Yc,0,ca,$i),ow=new Df(new Array(0),Mj,0,Yf,jj)}function pw(e){var t;for(t=0;t<bs;t++)e.dyn_ltree[t*2]=0;for(t=0;t<ca;t++)e.dyn_dtree[t*2]=0;for(t=0;t<Yf;t++)e.bl_tree[t*2]=0;e.dyn_ltree[Hf*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function fw(e){e.bi_valid>8?ws(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 qj(e,t,n,i){fw(e),i&&(ws(e,n),ws(e,~n)),Sj.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function G1(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 $f(e,t,n){for(var i=e.heap[n],r=n<<1;r<=e.heap_len&&(r<e.heap_len&&G1(t,e.heap[r+1],e.heap[r],e.depth)&&r++,!G1(t,i,e.heap[r],e.depth));)e.heap[n]=e.heap[r],n=r,r<<=1;e.heap[n]=i}function V1(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?gn(e,r,t):(s=ys[r],gn(e,s+_s+1,t),o=Uf[s],o!==0&&(r-=Gf[s],St(e,r,o)),i--,s=cw(i),gn(e,s,n),o=Yc[s],o!==0&&(i-=Hc[s],St(e,i,o)));while(a<e.last_lit);gn(e,Hf,t)}function Wf(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=ew,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--)$f(e,n,s);u=a;do s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],$f(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++,$f(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Lj(e,t),uw(n,c,e.bl_count)}function Z1(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[tw*2]++):o<=10?e.bl_tree[nw*2]++:e.bl_tree[iw*2]++,o=0,r=a,s===0?(c=138,u=3):a===s?(c=6,u=3):(c=7,u=4))}function J1(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 gn(e,a,e.bl_tree);while(--o!==0);else a!==0?(a!==r&&(gn(e,a,e.bl_tree),o--),gn(e,tw,e.bl_tree),St(e,o-3,2)):o<=10?(gn(e,nw,e.bl_tree),St(e,o-3,3)):(gn(e,iw,e.bl_tree),St(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 Pj(e){var t;for(Z1(e,e.dyn_ltree,e.l_desc.max_code),Z1(e,e.dyn_dtree,e.d_desc.max_code),Wf(e,e.bl_desc),t=Yf-1;t>=3&&e.bl_tree[rw[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function Bj(e,t,n,i){var r;for(St(e,t-257,5),St(e,n-1,5),St(e,i-4,4),r=0;r<i;r++)St(e,e.bl_tree[rw[r]*2+1],3);J1(e,e.dyn_ltree,t-1),J1(e,e.dyn_dtree,n-1)}function Fj(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return Y1;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return H1;for(n=32;n<_s;n++)if(e.dyn_ltree[n*2]!==0)return H1;return Y1}var X1=!1;function Dj(e){X1||(Ij(),X1=!0),e.l_desc=new zf(e.dyn_ltree,aw),e.d_desc=new zf(e.dyn_dtree,sw),e.bl_desc=new zf(e.bl_tree,ow),e.bi_buf=0,e.bi_valid=0,pw(e)}function dw(e,t,n,i){St(e,(kj<<1)+(i?1:0),3),qj(e,t,n,!0)}function zj(e){St(e,Q1<<1,3),gn(e,Hf,jn),Nj(e)}function $j(e,t,n,i){var r,a,s=0;e.level>0?(e.strm.data_type===Oj&&(e.strm.data_type=Fj(e)),Wf(e,e.l_desc),Wf(e,e.d_desc),s=Pj(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?dw(e,t,n,i):e.strategy===Ej||a===r?(St(e,(Q1<<1)+(i?1:0),3),V1(e,jn,vs)):(St(e,(Cj<<1)+(i?1:0),3),Bj(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),V1(e,e.dyn_ltree,e.dyn_dtree)),pw(e),i&&fw(e)}function Uj(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[(ys[n]+_s+1)*2]++,e.dyn_dtree[cw(t)*2]++),e.last_lit===e.lit_bufsize-1}ua._tr_init=Dj;ua._tr_stored_block=dw;ua._tr_flush_block=$j;ua._tr_tally=Uj;ua._tr_align=zj});var Vf=b((TB,mw)=>{"use strict";function Wj(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}mw.exports=Wj});var Zf=b((jB,gw)=>{"use strict";function Kj(){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 Yj=Kj();function Hj(e,t,n,i){var r=Yj,a=i+n;e^=-1;for(var s=i;s<a;s++)e=e>>>8^r[(e^t[s])&255];return e^-1}gw.exports=Hj});var Gc=b((MB,vw)=>{"use strict";vw.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 kw=b(xn=>{"use strict";var xt=Tn(),Ht=hw(),ww=Vf(),Xn=Zf(),Gj=Gc(),Yi=0,Vj=1,Zj=3,ii=4,bw=5,bn=0,xw=1,Gt=-2,Jj=-3,Jf=-5,Xj=-1,Qj=1,Vc=2,eM=3,tM=4,nM=0,iM=2,Qc=8,rM=9,aM=15,sM=8,oM=29,cM=256,Qf=cM+1+oM,lM=30,uM=19,pM=2*Qf+1,fM=15,pe=3,ti=258,nn=ti+pe+1,dM=32,el=42,ed=69,Zc=73,Jc=91,Xc=103,Ui=113,Es=666,Ye=1,Os=2,Wi=3,da=4,hM=3;function ni(e,t){return e.msg=Gj[t],t}function yw(e){return(e<<1)-(e>4?9:0)}function ei(e){for(var t=e.length;--t>=0;)e[t]=0}function Qn(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(xt.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 st(e,t){Ht._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Qn(e.strm)}function ge(e,t){e.pending_buf[e.pending++]=t}function Ss(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function mM(e,t,n,i){var r=e.avail_in;return r>i&&(r=i),r===0?0:(e.avail_in-=r,xt.arraySet(t,e.input,e.next_in,r,n),e.state.wrap===1?e.adler=ww(e.adler,t,r,n):e.state.wrap===2&&(e.adler=Xn(e.adler,t,r,n)),e.next_in+=r,e.total_in+=r,r)}function _w(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-nn?e.strstart-(e.w_size-nn):0,u=e.window,l=e.w_mask,p=e.prev,f=e.strstart+ti,m=u[i+s-1],v=u[i+s];e.prev_length>=e.good_match&&(n>>=2),o>e.lookahead&&(o=e.lookahead);do if(r=t,!(u[r+s]!==v||u[r+s-1]!==m||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<f);if(a=ti-(f-i),i=f-ti,a>s){if(e.match_start=t,s=a,a>=o)break;m=u[i+s-1],v=u[i+s]}}while((t=p[t&l])>c&&--n!==0);return s<=e.lookahead?s:e.lookahead}function Ki(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-nn)){xt.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=mM(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=i,e.lookahead+e.insert>=pe)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+pe-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<pe)););}while(e.lookahead<nn&&e.strm.avail_in!==0)}function gM(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Ki(e),e.lookahead===0&&t===Yi)return Ye;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,st(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-nn&&(st(e,!1),e.strm.avail_out===0))return Ye}return e.insert=0,t===ii?(st(e,!0),e.strm.avail_out===0?Wi:da):(e.strstart>e.block_start&&(st(e,!1),e.strm.avail_out===0),Ye)}function Xf(e,t){for(var n,i;;){if(e.lookahead<nn){if(Ki(e),e.lookahead<nn&&t===Yi)return Ye;if(e.lookahead===0)break}if(n=0,e.lookahead>=pe&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+pe-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-nn&&(e.match_length=_w(e,n)),e.match_length>=pe)if(i=Ht._tr_tally(e,e.strstart-e.match_start,e.match_length-pe),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=pe){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+pe-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=Ht._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(st(e,!1),e.strm.avail_out===0))return Ye}return e.insert=e.strstart<pe-1?e.strstart:pe-1,t===ii?(st(e,!0),e.strm.avail_out===0?Wi:da):e.last_lit&&(st(e,!1),e.strm.avail_out===0)?Ye:Os}function pa(e,t){for(var n,i,r;;){if(e.lookahead<nn){if(Ki(e),e.lookahead<nn&&t===Yi)return Ye;if(e.lookahead===0)break}if(n=0,e.lookahead>=pe&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+pe-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=pe-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-nn&&(e.match_length=_w(e,n),e.match_length<=5&&(e.strategy===Qj||e.match_length===pe&&e.strstart-e.match_start>4096)&&(e.match_length=pe-1)),e.prev_length>=pe&&e.match_length<=e.prev_length){r=e.strstart+e.lookahead-pe,i=Ht._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-pe),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+pe-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=pe-1,e.strstart++,i&&(st(e,!1),e.strm.avail_out===0))return Ye}else if(e.match_available){if(i=Ht._tr_tally(e,0,e.window[e.strstart-1]),i&&st(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Ye}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=Ht._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<pe-1?e.strstart:pe-1,t===ii?(st(e,!0),e.strm.avail_out===0?Wi:da):e.last_lit&&(st(e,!1),e.strm.avail_out===0)?Ye:Os}function vM(e,t){for(var n,i,r,a,s=e.window;;){if(e.lookahead<=ti){if(Ki(e),e.lookahead<=ti&&t===Yi)return Ye;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=pe&&e.strstart>0&&(r=e.strstart-1,i=s[r],i===s[++r]&&i===s[++r]&&i===s[++r])){a=e.strstart+ti;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=ti-(a-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=pe?(n=Ht._tr_tally(e,1,e.match_length-pe),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Ht._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(st(e,!1),e.strm.avail_out===0))return Ye}return e.insert=0,t===ii?(st(e,!0),e.strm.avail_out===0?Wi:da):e.last_lit&&(st(e,!1),e.strm.avail_out===0)?Ye:Os}function bM(e,t){for(var n;;){if(e.lookahead===0&&(Ki(e),e.lookahead===0)){if(t===Yi)return Ye;break}if(e.match_length=0,n=Ht._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(st(e,!1),e.strm.avail_out===0))return Ye}return e.insert=0,t===ii?(st(e,!0),e.strm.avail_out===0?Wi:da):e.last_lit&&(st(e,!1),e.strm.avail_out===0)?Ye:Os}function vn(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 fa;fa=[new vn(0,0,0,0,gM),new vn(4,4,8,4,Xf),new vn(4,5,16,8,Xf),new vn(4,6,32,32,Xf),new vn(4,4,16,16,pa),new vn(8,16,32,32,pa),new vn(8,16,128,128,pa),new vn(8,32,128,256,pa),new vn(32,128,258,1024,pa),new vn(32,258,258,4096,pa)];function xM(e){e.window_size=2*e.w_size,ei(e.head),e.max_lazy_match=fa[e.level].max_lazy,e.good_match=fa[e.level].good_length,e.nice_match=fa[e.level].nice_length,e.max_chain_length=fa[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=pe-1,e.match_available=0,e.ins_h=0}function yM(){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=Qc,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 xt.Buf16(pM*2),this.dyn_dtree=new xt.Buf16((2*lM+1)*2),this.bl_tree=new xt.Buf16((2*uM+1)*2),ei(this.dyn_ltree),ei(this.dyn_dtree),ei(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new xt.Buf16(fM+1),this.heap=new xt.Buf16(2*Qf+1),ei(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new xt.Buf16(2*Qf+1),ei(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 Sw(e){var t;return!e||!e.state?ni(e,Gt):(e.total_in=e.total_out=0,e.data_type=iM,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?el:Ui,e.adler=t.wrap===2?0:1,t.last_flush=Yi,Ht._tr_init(t),bn)}function Ew(e){var t=Sw(e);return t===bn&&xM(e.state),t}function wM(e,t){return!e||!e.state||e.state.wrap!==2?Gt:(e.state.gzhead=t,bn)}function Ow(e,t,n,i,r,a){if(!e)return Gt;var s=1;if(t===Xj&&(t=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),r<1||r>rM||n!==Qc||i<8||i>15||t<0||t>9||a<0||a>tM)return ni(e,Gt);i===8&&(i=9);var o=new yM;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+pe-1)/pe),o.window=new xt.Buf8(o.w_size*2),o.head=new xt.Buf16(o.hash_size),o.prev=new xt.Buf16(o.w_size),o.lit_bufsize=1<<r+6,o.pending_buf_size=o.lit_bufsize*4,o.pending_buf=new xt.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,Ew(e)}function _M(e,t){return Ow(e,t,Qc,aM,sM,nM)}function SM(e,t){var n,i,r,a;if(!e||!e.state||t>bw||t<0)return e?ni(e,Gt):Gt;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===Es&&t!==ii)return ni(e,e.avail_out===0?Jf:Gt);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===el)if(i.wrap===2)e.adler=0,ge(i,31),ge(i,139),ge(i,8),i.gzhead?(ge(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)),ge(i,i.gzhead.time&255),ge(i,i.gzhead.time>>8&255),ge(i,i.gzhead.time>>16&255),ge(i,i.gzhead.time>>24&255),ge(i,i.level===9?2:i.strategy>=Vc||i.level<2?4:0),ge(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(ge(i,i.gzhead.extra.length&255),ge(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Xn(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=ed):(ge(i,0),ge(i,0),ge(i,0),ge(i,0),ge(i,0),ge(i,i.level===9?2:i.strategy>=Vc||i.level<2?4:0),ge(i,hM),i.status=Ui);else{var s=Qc+(i.w_bits-8<<4)<<8,o=-1;i.strategy>=Vc||i.level<2?o=0:i.level<6?o=1:i.level===6?o=2:o=3,s|=o<<6,i.strstart!==0&&(s|=dM),s+=31-s%31,i.status=Ui,Ss(i,s),i.strstart!==0&&(Ss(i,e.adler>>>16),Ss(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=Xn(e.adler,i.pending_buf,i.pending-r,r)),Qn(e),r=i.pending,i.pending===i.pending_buf_size));)ge(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=Zc)}else i.status=Zc;if(i.status===Zc)if(i.gzhead.name){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),Qn(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,ge(i,a)}while(a!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),a===0&&(i.gzindex=0,i.status=Jc)}else i.status=Jc;if(i.status===Jc)if(i.gzhead.comment){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),Qn(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,ge(i,a)}while(a!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),a===0&&(i.status=Xc)}else i.status=Xc;if(i.status===Xc&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&Qn(e),i.pending+2<=i.pending_buf_size&&(ge(i,e.adler&255),ge(i,e.adler>>8&255),e.adler=0,i.status=Ui)):i.status=Ui),i.pending!==0){if(Qn(e),e.avail_out===0)return i.last_flush=-1,bn}else if(e.avail_in===0&&yw(t)<=yw(n)&&t!==ii)return ni(e,Jf);if(i.status===Es&&e.avail_in!==0)return ni(e,Jf);if(e.avail_in!==0||i.lookahead!==0||t!==Yi&&i.status!==Es){var c=i.strategy===Vc?bM(i,t):i.strategy===eM?vM(i,t):fa[i.level].func(i,t);if((c===Wi||c===da)&&(i.status=Es),c===Ye||c===Wi)return e.avail_out===0&&(i.last_flush=-1),bn;if(c===Os&&(t===Vj?Ht._tr_align(i):t!==bw&&(Ht._tr_stored_block(i,0,0,!1),t===Zj&&(ei(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),Qn(e),e.avail_out===0))return i.last_flush=-1,bn}return t!==ii?bn:i.wrap<=0?xw:(i.wrap===2?(ge(i,e.adler&255),ge(i,e.adler>>8&255),ge(i,e.adler>>16&255),ge(i,e.adler>>24&255),ge(i,e.total_in&255),ge(i,e.total_in>>8&255),ge(i,e.total_in>>16&255),ge(i,e.total_in>>24&255)):(Ss(i,e.adler>>>16),Ss(i,e.adler&65535)),Qn(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?bn:xw)}function EM(e){var t;return!e||!e.state?Gt:(t=e.state.status,t!==el&&t!==ed&&t!==Zc&&t!==Jc&&t!==Xc&&t!==Ui&&t!==Es?ni(e,Gt):(e.state=null,t===Ui?ni(e,Jj):bn))}function OM(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!==el||i.lookahead))return Gt;for(s===1&&(e.adler=ww(e.adler,t,n,0)),i.wrap=0,n>=i.w_size&&(s===0&&(ei(i.head),i.strstart=0,i.block_start=0,i.insert=0),l=new xt.Buf8(i.w_size),xt.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,Ki(i);i.lookahead>=pe;){r=i.strstart,a=i.lookahead-(pe-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[r+pe-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=pe-1,Ki(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=pe-1,i.match_available=0,e.next_in=c,e.input=u,e.avail_in=o,i.wrap=s,bn}xn.deflateInit=_M;xn.deflateInit2=Ow;xn.deflateReset=Ew;xn.deflateResetKeep=Sw;xn.deflateSetHeader=wM;xn.deflate=SM;xn.deflateEnd=EM;xn.deflateSetDictionary=OM;xn.deflateInfo="pako deflate (from Nodeca project)"});var td=b(ha=>{"use strict";var tl=Tn(),Cw=!0,Aw=!0;try{String.fromCharCode.apply(null,[0])}catch{Cw=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{Aw=!1}var ks=new tl.Buf8(256);for(Mn=0;Mn<256;Mn++)ks[Mn]=Mn>=252?6:Mn>=248?5:Mn>=240?4:Mn>=224?3:Mn>=192?2:1;var Mn;ks[254]=ks[254]=1;ha.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 tl.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 Tw(e,t){if(t<65534&&(e.subarray&&Aw||!e.subarray&&Cw))return String.fromCharCode.apply(null,tl.shrinkBuf(e,t));for(var n="",i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n}ha.buf2binstring=function(e){return Tw(e,e.length)};ha.binstring2buf=function(e){for(var t=new tl.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t};ha.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=ks[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 Tw(o,i)};ha.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+ks[e[n]]>t?n:t}});var nd=b((LB,jw)=>{"use strict";function kM(){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}jw.exports=kM});var Lw=b(Ts=>{"use strict";var Cs=kw(),As=Tn(),rd=td(),ad=Gc(),CM=nd(),Nw=Object.prototype.toString,AM=0,id=4,ma=0,Mw=1,Rw=2,TM=-1,jM=0,MM=8;function Hi(e){if(!(this instanceof Hi))return new Hi(e);this.options=As.assign({level:TM,method:MM,chunkSize:16384,windowBits:15,memLevel:8,strategy:jM,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 CM,this.strm.avail_out=0;var n=Cs.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==ma)throw new Error(ad[n]);if(t.header&&Cs.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=rd.string2buf(t.dictionary):Nw.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,n=Cs.deflateSetDictionary(this.strm,i),n!==ma)throw new Error(ad[n]);this._dict_set=!0}}Hi.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?id:AM,typeof e=="string"?n.input=rd.string2buf(e):Nw.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 As.Buf8(i),n.next_out=0,n.avail_out=i),r=Cs.deflate(n,a),r!==Mw&&r!==ma)return this.onEnd(r),this.ended=!0,!1;(n.avail_out===0||n.avail_in===0&&(a===id||a===Rw))&&(this.options.to==="string"?this.onData(rd.buf2binstring(As.shrinkBuf(n.output,n.next_out))):this.onData(As.shrinkBuf(n.output,n.next_out)))}while((n.avail_in>0||n.avail_out===0)&&r!==Mw);return a===id?(r=Cs.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===ma):(a===Rw&&(this.onEnd(ma),n.avail_out=0),!0)};Hi.prototype.onData=function(e){this.chunks.push(e)};Hi.prototype.onEnd=function(e){e===ma&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=As.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function sd(e,t){var n=new Hi(t);if(n.push(e,!0),n.err)throw n.msg||ad[n.err];return n.result}function RM(e,t){return t=t||{},t.raw=!0,sd(e,t)}function NM(e,t){return t=t||{},t.gzip=!0,sd(e,t)}Ts.Deflate=Hi;Ts.deflate=sd;Ts.deflateRaw=RM;Ts.gzip=NM});var qw=b((qB,Iw)=>{"use strict";var nl=30,LM=12;Iw.exports=function(t,n){var i,r,a,s,o,c,u,l,p,f,m,v,g,d,x,_,C,k,O,F,P,L,$,B,q;i=t.state,r=t.next_in,B=t.input,a=r+(t.avail_in-5),s=t.next_out,q=t.output,o=s-(n-t.avail_out),c=s+(t.avail_out-257),u=i.dmax,l=i.wsize,p=i.whave,f=i.wnext,m=i.window,v=i.hold,g=i.bits,d=i.lencode,x=i.distcode,_=(1<<i.lenbits)-1,C=(1<<i.distbits)-1;e:do{g<15&&(v+=B[r++]<<g,g+=8,v+=B[r++]<<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){F=k&65535,O&=15,O&&(g<O&&(v+=B[r++]<<g,g+=8),F+=v&(1<<O)-1,v>>>=O,g-=O),g<15&&(v+=B[r++]<<g,g+=8,v+=B[r++]<<g,g+=8),k=x[v&C];n:for(;;){if(O=k>>>24,v>>>=O,g-=O,O=k>>>16&255,O&16){if(P=k&65535,O&=15,g<O&&(v+=B[r++]<<g,g+=8,g<O&&(v+=B[r++]<<g,g+=8)),P+=v&(1<<O)-1,P>u){t.msg="invalid distance too far back",i.mode=nl;break e}if(v>>>=O,g-=O,O=s-o,P>O){if(O=P-O,O>p&&i.sane){t.msg="invalid distance too far back",i.mode=nl;break e}if(L=0,$=m,f===0){if(L+=l-O,O<F){F-=O;do q[s++]=m[L++];while(--O);L=s-P,$=q}}else if(f<O){if(L+=l+f-O,O-=f,O<F){F-=O;do q[s++]=m[L++];while(--O);if(L=0,f<F){O=f,F-=O;do q[s++]=m[L++];while(--O);L=s-P,$=q}}}else if(L+=f-O,O<F){F-=O;do q[s++]=m[L++];while(--O);L=s-P,$=q}for(;F>2;)q[s++]=$[L++],q[s++]=$[L++],q[s++]=$[L++],F-=3;F&&(q[s++]=$[L++],F>1&&(q[s++]=$[L++]))}else{L=s-P;do q[s++]=q[L++],q[s++]=q[L++],q[s++]=q[L++],F-=3;while(F>2);F&&(q[s++]=q[L++],F>1&&(q[s++]=q[L++]))}}else if((O&64)===0){k=x[(k&65535)+(v&(1<<O)-1)];continue n}else{t.msg="invalid distance code",i.mode=nl;break e}break}}else if((O&64)===0){k=d[(k&65535)+(v&(1<<O)-1)];continue t}else if(O&32){i.mode=LM;break e}else{t.msg="invalid literal/length code",i.mode=nl;break e}break}}while(r<a&&s<c);F=g>>3,r-=F,g-=F<<3,v&=(1<<g)-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=v,i.bits=g}});var Uw=b((PB,$w)=>{"use strict";var Pw=Tn(),ga=15,Bw=852,Fw=592,Dw=0,od=1,zw=2,IM=[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],qM=[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],PM=[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],BM=[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];$w.exports=function(t,n,i,r,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,C=0,k,O,F,P,L,$=null,B=0,q,R=new Pw.Buf16(ga+1),M=new Pw.Buf16(ga+1),I=null,K=0,ce,ve,X;for(l=0;l<=ga;l++)R[l]=0;for(p=0;p<r;p++)R[n[i+p]]++;for(v=u,m=ga;m>=1&&R[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&&R[f]===0;f++);for(v<f&&(v=f),x=1,l=1;l<=ga;l++)if(x<<=1,x-=R[l],x<0)return-1;if(x>0&&(t===Dw||m!==1))return-1;for(M[1]=0,l=1;l<ga;l++)M[l+1]=M[l]+R[l];for(p=0;p<r;p++)n[i+p]!==0&&(o[M[n[i+p]]++]=p);if(t===Dw?($=I=o,q=19):t===od?($=IM,B-=257,I=qM,K-=257,q=256):($=PM,I=BM,q=-1),C=0,p=0,l=f,L=s,g=v,d=0,F=-1,_=1<<v,P=_-1,t===od&&_>Bw||t===zw&&_>Fw)return 1;for(;;){ce=l-d,o[p]<q?(ve=0,X=o[p]):o[p]>q?(ve=I[K+o[p]],X=$[B+o[p]]):(ve=32+64,X=0),k=1<<l-d,O=1<<g,f=O;do O-=k,a[L+(C>>d)+O]=ce<<24|ve<<16|X|0;while(O!==0);for(k=1<<l-1;C&k;)k>>=1;if(k!==0?(C&=k-1,C+=k):C=0,p++,--R[l]===0){if(l===m)break;l=n[i+o[p]]}if(l>v&&(C&P)!==F){for(d===0&&(d=v),L+=f,g=l-d,x=1<<g;g+d<m&&(x-=R[g+d],!(x<=0));)g++,x<<=1;if(_+=1<<g,t===od&&_>Bw||t===zw&&_>Fw)return 1;F=C&P,a[F]=v<<24|g<<16|L-s|0}}return C!==0&&(a[L+C]=l-d<<24|64<<16|0),c.bits=v,0}});var E_=b(rn=>{"use strict";var qt=Tn(),dd=Vf(),yn=Zf(),FM=qw(),js=Uw(),DM=0,m_=1,g_=2,Ww=4,zM=5,il=6,Gi=0,$M=1,UM=2,Vt=-2,v_=-3,hd=-4,WM=-5,Kw=8,b_=1,Yw=2,Hw=3,Gw=4,Vw=5,Zw=6,Jw=7,Xw=8,Qw=9,e_=10,sl=11,Rn=12,cd=13,t_=14,ld=15,n_=16,i_=17,r_=18,a_=19,rl=20,al=21,s_=22,o_=23,c_=24,l_=25,u_=26,ud=27,p_=28,f_=29,Ae=30,md=31,KM=32,YM=852,HM=592,GM=15,VM=GM;function d_(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function ZM(){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 qt.Buf16(320),this.work=new qt.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function x_(e){var t;return!e||!e.state?Vt:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=b_,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new qt.Buf32(YM),t.distcode=t.distdyn=new qt.Buf32(HM),t.sane=1,t.back=-1,Gi)}function y_(e){var t;return!e||!e.state?Vt:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,x_(e))}function w_(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))?Vt:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,y_(e))}function __(e,t){var n,i;return e?(i=new ZM,e.state=i,i.window=null,n=w_(e,t),n!==Gi&&(e.state=null),n):Vt}function JM(e){return __(e,VM)}var h_=!0,pd,fd;function XM(e){if(h_){var t;for(pd=new qt.Buf32(512),fd=new qt.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(js(m_,e.lens,0,288,pd,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;js(g_,e.lens,0,32,fd,0,e.work,{bits:5}),h_=!1}e.lencode=pd,e.lenbits=9,e.distcode=fd,e.distbits=5}function S_(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 qt.Buf8(a.wsize)),i>=a.wsize?(qt.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),qt.arraySet(a.window,t,n-i,r,a.wnext),i-=r,i?(qt.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 QM(e,t){var n,i,r,a,s,o,c,u,l,p,f,m,v,g,d=0,x,_,C,k,O,F,P,L,$=new qt.Buf8(4),B,q,R=[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 Vt;n=e.state,n.mode===Rn&&(n.mode=cd),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,f=c,L=Gi;e:for(;;)switch(n.mode){case b_:if(n.wrap===0){n.mode=cd;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,$[0]=u&255,$[1]=u>>>8&255,n.check=yn(n.check,$,2,0),u=0,l=0,n.mode=Yw;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=Ae;break}if((u&15)!==Kw){e.msg="unknown compression method",n.mode=Ae;break}if(u>>>=4,l-=4,P=(u&15)+8,n.wbits===0)n.wbits=P;else if(P>n.wbits){e.msg="invalid window size",n.mode=Ae;break}n.dmax=1<<P,e.adler=n.check=1,n.mode=u&512?e_:Rn,u=0,l=0;break;case Yw:for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(n.flags=u,(n.flags&255)!==Kw){e.msg="unknown compression method",n.mode=Ae;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Ae;break}n.head&&(n.head.text=u>>8&1),n.flags&512&&($[0]=u&255,$[1]=u>>>8&255,n.check=yn(n.check,$,2,0)),u=0,l=0,n.mode=Hw;case Hw:for(;l<32;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.head&&(n.head.time=u),n.flags&512&&($[0]=u&255,$[1]=u>>>8&255,$[2]=u>>>16&255,$[3]=u>>>24&255,n.check=yn(n.check,$,4,0)),u=0,l=0,n.mode=Gw;case Gw: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&&($[0]=u&255,$[1]=u>>>8&255,n.check=yn(n.check,$,2,0)),u=0,l=0,n.mode=Vw;case Vw: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&&($[0]=u&255,$[1]=u>>>8&255,n.check=yn(n.check,$,2,0)),u=0,l=0}else n.head&&(n.head.extra=null);n.mode=Zw;case Zw:if(n.flags&1024&&(m=n.length,m>o&&(m=o),m&&(n.head&&(P=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),qt.arraySet(n.head.extra,i,a,m,P)),n.flags&512&&(n.check=yn(n.check,i,m,a)),o-=m,a+=m,n.length-=m),n.length))break e;n.length=0,n.mode=Jw;case Jw:if(n.flags&2048){if(o===0)break e;m=0;do P=i[a+m++],n.head&&P&&n.length<65536&&(n.head.name+=String.fromCharCode(P));while(P&&m<o);if(n.flags&512&&(n.check=yn(n.check,i,m,a)),o-=m,a+=m,P)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=Xw;case Xw:if(n.flags&4096){if(o===0)break e;m=0;do P=i[a+m++],n.head&&P&&n.length<65536&&(n.head.comment+=String.fromCharCode(P));while(P&&m<o);if(n.flags&512&&(n.check=yn(n.check,i,m,a)),o-=m,a+=m,P)break e}else n.head&&(n.head.comment=null);n.mode=Qw;case Qw: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=Ae;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=Rn;break;case e_:for(;l<32;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}e.adler=n.check=d_(u),u=0,l=0,n.mode=sl;case sl: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,UM;e.adler=n.check=1,n.mode=Rn;case Rn:if(t===zM||t===il)break e;case cd:if(n.last){u>>>=l&7,l-=l&7,n.mode=ud;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=t_;break;case 1:if(XM(n),n.mode=rl,t===il){u>>>=2,l-=2;break e}break;case 2:n.mode=i_;break;case 3:e.msg="invalid block type",n.mode=Ae}u>>>=2,l-=2;break;case t_: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=Ae;break}if(n.length=u&65535,u=0,l=0,n.mode=ld,t===il)break e;case ld:n.mode=n_;case n_:if(m=n.length,m){if(m>o&&(m=o),m>c&&(m=c),m===0)break e;qt.arraySet(r,i,a,m,s),o-=m,a+=m,c-=m,s+=m,n.length-=m;break}n.mode=Rn;break;case i_: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=Ae;break}n.have=0,n.mode=r_;case r_:for(;n.have<n.ncode;){for(;l<3;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.lens[R[n.have++]]=u&7,u>>>=3,l-=3}for(;n.have<19;)n.lens[R[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,B={bits:n.lenbits},L=js(DM,n.lens,0,19,n.lencode,0,n.work,B),n.lenbits=B.bits,L){e.msg="invalid code lengths set",n.mode=Ae;break}n.have=0,n.mode=a_;case a_:for(;n.have<n.nlen+n.ndist;){for(;d=n.lencode[u&(1<<n.lenbits)-1],x=d>>>24,_=d>>>16&255,C=d&65535,!(x<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(C<16)u>>>=x,l-=x,n.lens[n.have++]=C;else{if(C===16){for(q=x+2;l<q;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(u>>>=x,l-=x,n.have===0){e.msg="invalid bit length repeat",n.mode=Ae;break}P=n.lens[n.have-1],m=3+(u&3),u>>>=2,l-=2}else if(C===17){for(q=x+3;l<q;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}u>>>=x,l-=x,P=0,m=3+(u&7),u>>>=3,l-=3}else{for(q=x+7;l<q;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}u>>>=x,l-=x,P=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=Ae;break}for(;m--;)n.lens[n.have++]=P}}if(n.mode===Ae)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Ae;break}if(n.lenbits=9,B={bits:n.lenbits},L=js(m_,n.lens,0,n.nlen,n.lencode,0,n.work,B),n.lenbits=B.bits,L){e.msg="invalid literal/lengths set",n.mode=Ae;break}if(n.distbits=6,n.distcode=n.distdyn,B={bits:n.distbits},L=js(g_,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,B),n.distbits=B.bits,L){e.msg="invalid distances set",n.mode=Ae;break}if(n.mode=rl,t===il)break e;case rl:n.mode=al;case al: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,FM(e,f),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===Rn&&(n.back=-1);break}for(n.back=0;d=n.lencode[u&(1<<n.lenbits)-1],x=d>>>24,_=d>>>16&255,C=d&65535,!(x<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(_&&(_&240)===0){for(k=x,O=_,F=C;d=n.lencode[F+((u&(1<<k+O)-1)>>k)],x=d>>>24,_=d>>>16&255,C=d&65535,!(k+x<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}u>>>=k,l-=k,n.back+=k}if(u>>>=x,l-=x,n.back+=x,n.length=C,_===0){n.mode=u_;break}if(_&32){n.back=-1,n.mode=Rn;break}if(_&64){e.msg="invalid literal/length code",n.mode=Ae;break}n.extra=_&15,n.mode=s_;case s_:if(n.extra){for(q=n.extra;l<q;){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=o_;case o_:for(;d=n.distcode[u&(1<<n.distbits)-1],x=d>>>24,_=d>>>16&255,C=d&65535,!(x<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if((_&240)===0){for(k=x,O=_,F=C;d=n.distcode[F+((u&(1<<k+O)-1)>>k)],x=d>>>24,_=d>>>16&255,C=d&65535,!(k+x<=l);){if(o===0)break e;o--,u+=i[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=Ae;break}n.offset=C,n.extra=_&15,n.mode=c_;case c_:if(n.extra){for(q=n.extra;l<q;){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=Ae;break}n.mode=l_;case l_: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=Ae;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=r,v=s-n.offset,m=n.length;m>c&&(m=c),c-=m,n.length-=m;do r[s++]=g[v++];while(--m);n.length===0&&(n.mode=al);break;case u_:if(c===0)break e;r[s++]=n.length,c--,n.mode=al;break;case ud:if(n.wrap){for(;l<32;){if(o===0)break e;o--,u|=i[a++]<<l,l+=8}if(f-=c,e.total_out+=f,n.total+=f,f&&(e.adler=n.check=n.flags?yn(n.check,r,f,s-f):dd(n.check,r,f,s-f)),f=c,(n.flags?u:d_(u))!==n.check){e.msg="incorrect data check",n.mode=Ae;break}u=0,l=0}n.mode=p_;case p_: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=Ae;break}u=0,l=0}n.mode=f_;case f_:L=$M;break e;case Ae:L=v_;break e;case md:return hd;case KM:default:return Vt}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<Ae&&(n.mode<ud||t!==Ww))&&S_(e,e.output,e.next_out,f-e.avail_out)?(n.mode=md,hd):(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?yn(n.check,r,f,e.next_out-f):dd(n.check,r,f,e.next_out-f)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Rn?128:0)+(n.mode===rl||n.mode===ld?256:0),(p===0&&f===0||t===Ww)&&L===Gi&&(L=WM),L)}function eR(e){if(!e||!e.state)return Vt;var t=e.state;return t.window&&(t.window=null),e.state=null,Gi}function tR(e,t){var n;return!e||!e.state||(n=e.state,(n.wrap&2)===0)?Vt:(n.head=t,t.done=!1,Gi)}function nR(e,t){var n=t.length,i,r,a;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==sl)?Vt:i.mode===sl&&(r=1,r=dd(r,t,n,0),r!==i.check)?v_:(a=S_(e,t,n,n),a?(i.mode=md,hd):(i.havedict=1,Gi))}rn.inflateReset=y_;rn.inflateReset2=w_;rn.inflateResetKeep=x_;rn.inflateInit=JM;rn.inflateInit2=__;rn.inflate=QM;rn.inflateEnd=eR;rn.inflateGetHeader=tR;rn.inflateSetDictionary=nR;rn.inflateInfo="pako inflate (from Nodeca project)"});var gd=b((FB,O_)=>{"use strict";O_.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 C_=b((DB,k_)=>{"use strict";function iR(){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}k_.exports=iR});var T_=b(Rs=>{"use strict";var va=E_(),Ms=Tn(),ol=td(),Be=gd(),vd=Gc(),rR=nd(),aR=C_(),A_=Object.prototype.toString;function Vi(e){if(!(this instanceof Vi))return new Vi(e);this.options=Ms.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 rR,this.strm.avail_out=0;var n=va.inflateInit2(this.strm,t.windowBits);if(n!==Be.Z_OK)throw new Error(vd[n]);if(this.header=new aR,va.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=ol.string2buf(t.dictionary):A_.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=va.inflateSetDictionary(this.strm,t.dictionary),n!==Be.Z_OK)))throw new Error(vd[n])}Vi.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?Be.Z_FINISH:Be.Z_NO_FLUSH,typeof e=="string"?n.input=ol.binstring2buf(e):A_.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 Ms.Buf8(i),n.next_out=0,n.avail_out=i),a=va.inflate(n,Be.Z_NO_FLUSH),a===Be.Z_NEED_DICT&&r&&(a=va.inflateSetDictionary(this.strm,r)),a===Be.Z_BUF_ERROR&&l===!0&&(a=Be.Z_OK,l=!1),a!==Be.Z_STREAM_END&&a!==Be.Z_OK)return this.onEnd(a),this.ended=!0,!1;n.next_out&&(n.avail_out===0||a===Be.Z_STREAM_END||n.avail_in===0&&(s===Be.Z_FINISH||s===Be.Z_SYNC_FLUSH))&&(this.options.to==="string"?(o=ol.utf8border(n.output,n.next_out),c=n.next_out-o,u=ol.buf2string(n.output,o),n.next_out=c,n.avail_out=i-c,c&&Ms.arraySet(n.output,n.output,o,c,0),this.onData(u)):this.onData(Ms.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!==Be.Z_STREAM_END);return a===Be.Z_STREAM_END&&(s=Be.Z_FINISH),s===Be.Z_FINISH?(a=va.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===Be.Z_OK):(s===Be.Z_SYNC_FLUSH&&(this.onEnd(Be.Z_OK),n.avail_out=0),!0)};Vi.prototype.onData=function(e){this.chunks.push(e)};Vi.prototype.onEnd=function(e){e===Be.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ms.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function bd(e,t){var n=new Vi(t);if(n.push(e,!0),n.err)throw n.msg||vd[n.err];return n.result}function sR(e,t){return t=t||{},t.raw=!0,bd(e,t)}Rs.Inflate=Vi;Rs.inflate=bd;Rs.inflateRaw=sR;Rs.ungzip=bd});var R_=b(($B,M_)=>{"use strict";var oR=Tn().assign,cR=Lw(),lR=T_(),uR=gd(),j_={};oR(j_,cR,lR,uR);M_.exports=j_});var L_=b(ll=>{"use strict";var pR=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",fR=R_(),N_=Ne(),cl=It(),dR=pR?"uint8array":"array";ll.magic="\b\0";function Zi(e,t){cl.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}N_.inherits(Zi,cl);Zi.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(N_.transformTo(dR,e.data),!1)};Zi.prototype.flush=function(){cl.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)};Zi.prototype.cleanUp=function(){cl.prototype.cleanUp.call(this),this._pako=null};Zi.prototype._createPako=function(){this._pako=new fR[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}};ll.compressWorker=function(e){return new Zi("Deflate",e)};ll.uncompressWorker=function(){return new Zi("Inflate",{})}});var yd=b(xd=>{"use strict";var I_=It();xd.STORE={magic:"\0\0",compressWorker:function(e){return new I_("STORE compression")},uncompressWorker:function(){return new I_("STORE decompression")}};xd.DEFLATE=L_()});var wd=b(Ji=>{"use strict";Ji.LOCAL_FILE_HEADER="PK";Ji.CENTRAL_FILE_HEADER="PK";Ji.CENTRAL_DIRECTORY_END="PK";Ji.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07";Ji.ZIP64_CENTRAL_DIRECTORY_END="PK";Ji.DATA_DESCRIPTOR="PK\x07\b"});var F_=b((YB,B_)=>{"use strict";var ba=Ne(),xa=It(),_d=Di(),q_=Uc(),ul=wd(),Ee=function(e,t){var n="",i;for(i=0;i<t;i++)n+=String.fromCharCode(e&255),e=e>>>8;return n},hR=function(e,t){var n=e;return e||(n=t?16893:33204),(n&65535)<<16},mR=function(e,t){return(e||0)&63},P_=function(e,t,n,i,r,a){var s=e.file,o=e.compression,c=a!==_d.utf8encode,u=ba.transformTo("string",a(s.name)),l=ba.transformTo("string",_d.utf8encode(s.name)),p=s.comment,f=ba.transformTo("string",a(p)),m=ba.transformTo("string",_d.utf8encode(p)),v=l.length!==s.name.length,g=m.length!==p.length,d,x,_="",C="",k="",O=s.dir,F=s.date,P={crc32:0,compressedSize:0,uncompressedSize:0};(!t||n)&&(P.crc32=e.crc32,P.compressedSize=e.compressedSize,P.uncompressedSize=e.uncompressedSize);var L=0;t&&(L|=8),!c&&(v||g)&&(L|=2048);var $=0,B=0;O&&($|=16),r==="UNIX"?(B=798,$|=hR(s.unixPermissions,O)):(B=20,$|=mR(s.dosPermissions,O)),d=F.getUTCHours(),d=d<<6,d=d|F.getUTCMinutes(),d=d<<5,d=d|F.getUTCSeconds()/2,x=F.getUTCFullYear()-1980,x=x<<4,x=x|F.getUTCMonth()+1,x=x<<5,x=x|F.getUTCDate(),v&&(C=Ee(1,1)+Ee(q_(u),4)+l,_+="up"+Ee(C.length,2)+C),g&&(k=Ee(1,1)+Ee(q_(f),4)+m,_+="uc"+Ee(k.length,2)+k);var q="";q+=`
|
|
35
|
-
\0`,q+=Ee(L,2),q+=o.magic,q+=Ee(d,2),q+=Ee(x,2),q+=Ee(P.crc32,4),q+=Ee(P.compressedSize,4),q+=Ee(P.uncompressedSize,4),q+=Ee(u.length,2),q+=Ee(_.length,2);var R=ul.LOCAL_FILE_HEADER+q+u+_,M=ul.CENTRAL_FILE_HEADER+Ee(B,2)+q+Ee(f.length,2)+"\0\0\0\0"+Ee($,4)+Ee(i,4)+u+_+f;return{fileRecord:R,dirRecord:M}},gR=function(e,t,n,i,r){var a="",s=ba.transformTo("string",r(i));return a=ul.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Ee(e,2)+Ee(e,2)+Ee(t,4)+Ee(n,4)+Ee(s.length,2)+s,a},vR=function(e){var t="";return t=ul.DATA_DESCRIPTOR+Ee(e.crc32,4)+Ee(e.compressedSize,4)+Ee(e.uncompressedSize,4),t};function an(e,t,n,i){xa.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=[]}ba.inherits(an,xa);an.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,xa.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-i-1))/n:100}}))};an.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=P_(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0};an.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=P_(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:vR(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};an.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=gR(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})};an.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()};an.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};an.prototype.resume=function(){if(!xa.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};an.prototype.error=function(e){var t=this._sources;if(!xa.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0};an.prototype.lock=function(){xa.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};B_.exports=an});var z_=b(D_=>{"use strict";var bR=yd(),xR=F_(),yR=function(e,t){var n=e||t,i=bR[n];if(!i)throw new Error(n+" is not a valid compression method !");return i};D_.generateWorker=function(e,t,n){var i=new xR(t.streamFiles,n,t.platform,t.encodeFileName),r=0;try{e.forEach(function(a,s){r++;var o=yR(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 U_=b((GB,$_)=>{"use strict";var wR=Ne(),pl=It();function Ns(e,t){pl.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}wR.inherits(Ns,pl);Ns.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()})};Ns.prototype.pause=function(){return pl.prototype.pause.call(this)?(this._stream.pause(),!0):!1};Ns.prototype.resume=function(){return pl.prototype.resume.call(this)?(this._upstreamEnded?this.end():this._stream.resume(),!0):!1};$_.exports=Ns});var Q_=b((VB,X_)=>{"use strict";var _R=Di(),Ls=Ne(),H_=It(),SR=Cf(),G_=Af(),W_=Wc(),ER=K1(),OR=z_(),K_=ls(),kR=U_(),V_=function(e,t,n){var i=Ls.getTypeOf(t),r,a=Ls.extend(n||{},G_);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=Z_(e)),a.createFolders&&(r=CR(e))&&J_.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 W_&&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 W_||t instanceof H_?c=t:K_.isNode&&K_.isStream(t)?c=new kR(e,t):c=Ls.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var u=new ER(e,c,a);this.files[e]=u},CR=function(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},Z_=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},J_=function(e,t){return t=typeof t<"u"?t:G_.createFolders,e=Z_(e),this.files[e]||V_.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function Y_(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var AR={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(Y_(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,V_.call(this,e,t,n);return this},folder:function(e){if(!e)return this;if(Y_(e))return this.filter(function(r,a){return a.dir&&e.test(r)});var t=this.root+e,n=J_.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=Ls.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:_R.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.");Ls.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=OR.generateWorker(this,n,i)}catch(r){t=new H_("error"),t.error(r)}return new SR(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)}};X_.exports=AR});var Sd=b((ZB,t2)=>{"use strict";var TR=Ne();function e2(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}e2.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 TR.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))}};t2.exports=e2});var Ed=b((JB,i2)=>{"use strict";var n2=Sd(),jR=Ne();function ya(e){n2.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=e[t]&255}jR.inherits(ya,n2);ya.prototype.byteAt=function(e){return this.data[this.zero+e]};ya.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};ya.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]};ya.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};i2.exports=ya});var s2=b((XB,a2)=>{"use strict";var r2=Sd(),MR=Ne();function wa(e){r2.call(this,e)}MR.inherits(wa,r2);wa.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};wa.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};wa.prototype.readAndCheckSignature=function(e){var t=this.readData(4);return e===t};wa.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};a2.exports=wa});var kd=b((QB,c2)=>{"use strict";var o2=Ed(),RR=Ne();function Od(e){o2.call(this,e)}RR.inherits(Od,o2);Od.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};c2.exports=Od});var p2=b((e4,u2)=>{"use strict";var l2=kd(),NR=Ne();function Cd(e){l2.call(this,e)}NR.inherits(Cd,l2);Cd.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};u2.exports=Cd});var Ad=b((t4,d2)=>{"use strict";var fl=Ne(),f2=Cn(),LR=Ed(),IR=s2(),qR=p2(),PR=kd();d2.exports=function(e){var t=fl.getTypeOf(e);return fl.checkSupport(t),t==="string"&&!f2.uint8array?new IR(e):t==="nodebuffer"?new qR(e):f2.uint8array?new PR(fl.transformTo("uint8array",e)):new LR(fl.transformTo("array",e))}});var v2=b((n4,g2)=>{"use strict";var Td=Ad(),ri=Ne(),BR=Wc(),h2=Uc(),dl=Di(),hl=yd(),FR=Cn(),DR=0,zR=3,$R=function(e){for(var t in hl)if(!!hl.hasOwnProperty(t)&&hl[t].magic===e)return hl[t];return null};function m2(e,t){this.options=e,this.loadOptions=t}m2.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=$R(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+ri.pretty(this.compressionMethod)+" unknown (inner file : "+ri.transformTo("string",this.fileName)+")");this.decompressed=new BR(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===DR&&(this.dosPermissions=this.externalFileAttributes&63),e===zR&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=!0)},parseZIP64ExtraField:function(e){if(!!this.extraFields[1]){var t=Td(this.extraFields[1].value);this.uncompressedSize===ri.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===ri.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===ri.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===ri.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=FR.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=dl.utf8decode(this.fileName),this.fileCommentStr=dl.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var n=ri.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var i=this.findExtraFieldUnicodeComment();if(i!==null)this.fileCommentStr=i;else{var r=ri.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(r)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=Td(e.value);return t.readInt(1)!==1||h2(this.fileName)!==t.readInt(4)?null:dl.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=Td(e.value);return t.readInt(1)!==1||h2(this.fileComment)!==t.readInt(4)?null:dl.utf8decode(t.readData(e.length-5))}return null}};g2.exports=m2});var y2=b((r4,x2)=>{"use strict";var UR=Ad(),Nn=Ne(),sn=wd(),WR=v2(),i4=Di(),KR=Cn();function b2(e){this.files=[],this.loadOptions=e}b2.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 ("+Nn.pretty(t)+", expected "+Nn.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=KR.uint8array?"uint8array":"array",n=Nn.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(sn.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(sn.CENTRAL_FILE_HEADER);)e=new WR({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(sn.CENTRAL_DIRECTORY_END);if(e<0){var t=!this.isSignature(0,sn.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(sn.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===Nn.MAX_VALUE_16BITS||this.diskWithCentralDirStart===Nn.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===Nn.MAX_VALUE_16BITS||this.centralDirRecords===Nn.MAX_VALUE_16BITS||this.centralDirSize===Nn.MAX_VALUE_32BITS||this.centralDirOffset===Nn.MAX_VALUE_32BITS){if(this.zip64=!0,e=this.reader.lastIndexOfSignature(sn.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(sn.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,sn.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(sn.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(sn.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,sn.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=UR(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};x2.exports=b2});var E2=b((a4,S2)=>{"use strict";var w2=Ne(),ml=ra(),YR=Di(),HR=y2(),GR=Mf(),_2=ls();function VR(e){return new ml.Promise(function(t,n){var i=e.decompressed.getContentWorker().pipe(new GR);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()})}S2.exports=function(e,t){var n=this;return t=w2.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:YR.utf8decode}),_2.isNode&&_2.isStream(e)?ml.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):w2.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(i){var r=new HR(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(VR(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 k2=b((s4,O2)=>{"use strict";function Zt(){if(!(this instanceof Zt))return new Zt;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 Zt;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e}}Zt.prototype=Q_();Zt.prototype.loadAsync=E2();Zt.support=Cn();Zt.defaults=Af();Zt.version="3.7.1";Zt.loadAsync=function(e,t){return new Zt().loadAsync(e,t)};Zt.external=ra();O2.exports=Zt});var Qi=b(Et=>{"use strict";var Ln={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},Is={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"},ZR="tag:yaml.org,2002:",JR={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function C2(e){let t=[0],n=e.indexOf(`
|
|
35
|
+
`,r)}while(i!==-1);return a+=e.substr(r),a};vx.exports={stringReplaceAll:yj,stringEncaseCRLFWithFirstIndex:wj}});var Sx=w((F6,_x)=>{"use strict";var _j=/(?:\\(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,Sj=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Oj=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,Ej=new Map([["n",`
|
|
36
|
+
`],["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)):Ej.get(e)||e}function kj(e,t){let n=[],i=t.trim().split(/\s*,\s*/g),r;for(let a of i){let s=Number(a);if(!Number.isNaN(s))n.push(s);else if(r=a.match(Sj))n.push(r[2].replace(Oj,(o,c,u)=>c?wx(c):u));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`)}return n}function Cj(e){xx.lastIndex=0;let t=[],n;for(;(n=xx.exec(e))!==null;){let i=n[1];if(n[2]){let r=kj(i,n[2]);t.push([i].concat(r))}else t.push([i])}return t}function yx(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,a]of Object.entries(n))if(!!Array.isArray(a)){if(!(r in i))throw new Error(`Unknown Chalk style: ${r}`);i=a.length>0?i[r](...a):i[r]}return i}_x.exports=(e,t)=>{let n=[],i=[],r=[];if(t.replace(_j,(a,s,o,c,u,l)=>{if(s)r.push(wx(s));else if(c){let p=r.join("");r=[],i.push(n.length===0?p:yx(e,n)(p)),n.push({inverse:o,styles:Cj(c)})}else if(u){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");i.push(yx(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 Tx=w((D6,Cx)=>{"use strict";var as=xp(),{stdout:Wp,stderr:Hp}=Bo(),{stringReplaceAll:Tj,stringEncaseCRLFWithFirstIndex:Aj}=bx(),Ox=["ansi","ansi","ansi256","ansi16m"],Vr=Object.create(null),jj=(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=Wp?Wp.level:0;e.level=t.level===void 0?n:t.level},Yp=class{constructor(t){return Ex(t)}},Ex=e=>{let t={};return jj(t,e),t.template=(...n)=>Ij(t.template,...n),Object.setPrototypeOf(t,xc.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=Yp,t.template};function xc(e){return Ex(e)}for(let[e,t]of Object.entries(as))Vr[e]={get(){let n=yc(this,Kp(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};Vr.visible={get(){let e=yc(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};var kx=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of kx)Vr[e]={get(){let{level:t}=this;return function(...n){let i=Kp(as.color[Ox[t]][e](...n),as.color.close,this._styler);return yc(this,i,this._isEmpty)}}};for(let e of kx){let t="bg"+e[0].toUpperCase()+e.slice(1);Vr[t]={get(){let{level:n}=this;return function(...i){let r=Kp(as.bgColor[Ox[n]][e](...i),as.bgColor.close,this._styler);return yc(this,r,this._isEmpty)}}}}var Mj=Object.defineProperties(()=>{},{...Vr,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),Kp=(e,t,n)=>{let i,r;return n===void 0?(i=e,r=t):(i=n.openAll+e,r=t+n.closeAll),{open:e,close:t,openAll:i,closeAll:r,parent:n}},yc=(e,t,n)=>{let i=(...r)=>Rj(i,r.length===1?""+r[0]:r.join(" "));return i.__proto__=Mj,i._generator=e,i._styler=t,i._isEmpty=n,i},Rj=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(n===void 0)return t;let{openAll:i,closeAll:r}=n;if(t.indexOf("\x1B")!==-1)for(;n!==void 0;)t=Tj(t,n.close,n.open),n=n.parent;let a=t.indexOf(`
|
|
37
|
+
`);return a!==-1&&(t=Aj(t,r,i,a)),i+t+r},Up,Ij=(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=Sx()),Up(e,r.join(""))};Object.defineProperties(xc.prototype,Vr);var ss=xc();ss.supportsColor=Wp;ss.stderr=xc({level:Hp?Hp.level:0});ss.stderr.supportsColor=Hp;ss.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"};Cx.exports=ss});var jx=w(($6,Gp)=>{"use strict";var Ax=(e,t)=>{for(let n of Reflect.ownKeys(t))Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));return e};Gp.exports=Ax;Gp.exports.default=Ax});var Rx=w((z6,_c)=>{"use strict";var Nj=jx(),wc=new WeakMap,Mx=(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 Nj(a,e),wc.set(a,i),a};_c.exports=Mx;_c.exports.default=Mx;_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 Ix=w((U6,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 Bx=w((W6,Qr)=>{var je=global.process,Hi=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"};Hi(je)?(Nx=require("assert"),Jr=Ix(),Lx=/^win/i.test(je.platform),os=require("events"),typeof os!="function"&&(os=os.EventEmitter),je.__signal_exit_emitter__?it=je.__signal_exit_emitter__:(it=je.__signal_exit_emitter__=new os,it.count=0,it.emitted={}),it.infinite||(it.setMaxListeners(1/0),it.infinite=!0),Qr.exports=function(e,t){if(!Hi(global.process))return function(){};Nx.equal(typeof e,"function","a callback must be provided for exit handler"),Xr===!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(){!Xr||!Hi(global.process)||(Xr=!1,Jr.forEach(function(t){try{je.removeListener(t,Ec[t])}catch{}}),je.emit=kc,je.reallyExit=Vp,it.count-=1)},Qr.exports.unload=Oc,Yi=function(t,n,i){it.emitted[t]||(it.emitted[t]=!0,it.emit(t,n,i))},Ec={},Jr.forEach(function(e){Ec[e]=function(){if(!!Hi(global.process)){var n=je.listeners(e);n.length===it.count&&(Oc(),Yi("exit",null,e),Yi("afterexit",null,e),Lx&&e==="SIGHUP"&&(e="SIGINT"),je.kill(je.pid,e))}}}),Qr.exports.signals=function(){return Jr},Xr=!1,Zp=function(){Xr||!Hi(global.process)||(Xr=!0,it.count+=1,Jr=Jr.filter(function(t){try{return je.on(t,Ec[t]),!0}catch{return!1}}),je.emit=qx,je.reallyExit=Px)},Qr.exports.load=Zp,Vp=je.reallyExit,Px=function(t){!Hi(global.process)||(je.exitCode=t||0,Yi("exit",je.exitCode,null),Yi("afterexit",je.exitCode,null),Vp.call(je,je.exitCode))},kc=je.emit,qx=function(t,n){if(t==="exit"&&Hi(global.process)){n!==void 0&&(je.exitCode=n);var i=kc.apply(this,arguments);return Yi("exit",je.exitCode,null),Yi("afterexit",je.exitCode,null),i}else return kc.apply(this,arguments)}):Qr.exports=function(){return function(){}};var Nx,Jr,Lx,os,it,Oc,Yi,Ec,Xr,Zp,Vp,Px,kc,qx});var Dx=w((H6,Fx)=>{"use strict";var Lj=Rx(),Pj=Bx();Fx.exports=Lj(()=>{Pj(()=>{process.stderr.write("\x1B[?25h")},{alwaysLast:!0})})});var $x=w(ea=>{"use strict";var qj=Dx(),Cc=!1;ea.show=(e=process.stderr)=>{!e.isTTY||(Cc=!1,e.write("\x1B[?25h"))};ea.hide=(e=process.stderr)=>{!e.isTTY||(qj(),Cc=!0,e.write("\x1B[?25l"))};ea.toggle=(e,t)=>{e!==void 0&&(Cc=e),Cc?ea.show(t):ea.hide(t)}});var zx=w((K6,Bj)=>{Bj.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 Hx=w((G6,Wx)=>{"use strict";var Tc=Object.assign({},zx()),Ux=Object.keys(Tc);Object.defineProperty(Tc,"random",{get(){let e=Math.floor(Math.random()*Ux.length),t=Ux[e];return Tc[t]}});Wx.exports=Tc});var Kx=w((Z6,Yx)=>{"use strict";var Fj=/[|\\{}()[\]^$+*?.]/g;Yx.exports=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(Fj,"\\$&")}});var Zx=w((V6,Gx)=>{"use strict";Gx.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((J6,Qx)=>{var Ki=Zx(),Xx={};for(Ac in Ki)Ki.hasOwnProperty(Ac)&&(Xx[Ki[Ac]]=Ac);var Ac,ee=Qx.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);Vx=ee[_t].channels,Jx=ee[_t].labels,delete ee[_t].channels,delete ee[_t].labels,Object.defineProperty(ee[_t],"channels",{value:Vx}),Object.defineProperty(ee[_t],"labels",{value:Jx})}var Vx,Jx,_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 Dj(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=Xx[e];if(t)return t;var n=1/0,i;for(var r in Ki)if(Ki.hasOwnProperty(r)){var a=Ki[r],s=Dj(e,a);s<n&&(n=s,i=r)}return i};ee.keyword.rgb=function(e){return Ki[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 ty=w((X6,ey)=>{var jc=Jp();function $j(){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 zj(e){var t=$j(),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 Uj(e,t){return function(n){return t(e(n))}}function Wj(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=Uj(jc[t[r].parent][r],i),r=t[r].parent;return i.conversion=n,i}ey.exports=function(e){for(var t=zj(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]=Wj(s,t))}return n}});var iy=w((Q6,ny)=>{var Xp=Jp(),Hj=ty(),ta={},Yj=Object.keys(Xp);function Kj(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 Gj(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}Yj.forEach(function(e){ta[e]={},Object.defineProperty(ta[e],"channels",{value:Xp[e].channels}),Object.defineProperty(ta[e],"labels",{value:Xp[e].labels});var t=Hj(e),n=Object.keys(t);n.forEach(function(i){var r=t[i];ta[e][i]=Gj(r),ta[e][i].raw=Kj(r)})});ny.exports=ta});var ay=w((e4,ry)=>{"use strict";var na=iy(),Mc=(e,t)=>function(){return`\x1B[${e.apply(na,arguments)+t}m`},Rc=(e,t)=>function(){let n=e.apply(na,arguments);return`\x1B[${38+t};5;${n}m`},Ic=(e,t)=>function(){let n=e.apply(na,arguments);return`\x1B[${38+t};2;${n[0]};${n[1]};${n[2]}m`};function Zj(){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(na)){if(typeof na[r]!="object")continue;let a=na[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(ry,"exports",{enumerable:!0,get:Zj})});var oy=w((t4,sy)=>{"use strict";sy.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 ly=w((n4,cy)=>{"use strict";var Vj=require("os"),on=oy(),ht=process.env,ia;on("no-color")||on("no-colors")||on("color=false")?ia=!1:(on("color")||on("colors")||on("color=true")||on("color=always"))&&(ia=!0);"FORCE_COLOR"in ht&&(ia=ht.FORCE_COLOR.length===0||parseInt(ht.FORCE_COLOR,10)!==0);function Jj(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Xj(e){if(ia===!1)return 0;if(on("color=16m")||on("color=full")||on("color=truecolor"))return 3;if(on("color=256"))return 2;if(e&&!e.isTTY&&ia!==!0)return 0;let t=ia?1:0;if(process.platform==="win32"){let n=Vj.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=Xj(e);return Jj(t)}cy.exports={supportsColor:Qp,stdout:Qp(process.stdout),stderr:Qp(process.stderr)}});var hy=w((i4,dy)=>{"use strict";var Qj=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,uy=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,e5=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,t5=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,n5=new Map([["n",`
|
|
38
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function fy(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):n5.get(e)||e}function i5(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(e5))n.push(r[2].replace(t5,(s,o,c)=>o?fy(o):c));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`);return n}function r5(e){uy.lastIndex=0;let t=[],n;for(;(n=uy.exec(e))!==null;){let i=n[1];if(n[2]){let r=i5(i,n[2]);t.push([i].concat(r))}else t.push([i])}return t}function py(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}dy.exports=(e,t)=>{let n=[],i=[],r=[];if(t.replace(Qj,(a,s,o,c,u,l)=>{if(s)r.push(fy(s));else if(c){let p=r.join("");r=[],i.push(n.length===0?p:py(e,n)(p)),n.push({inverse:o,styles:r5(c)})}else if(u){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");i.push(py(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 xy=w((r4,ls)=>{"use strict";var tf=Kx(),Ye=ay(),ef=ly().stdout,a5=hy(),gy=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),vy=["ansi","ansi","ansi256","ansi16m"],by=new Set(["gray"]),ra=Object.create(null);function my(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 cs(e){if(!this||!(this instanceof cs)||this.template){let t={};return my(t,e),t.template=function(){let n=[].slice.call(arguments);return c5.apply(null,[t.template].concat(n))},Object.setPrototypeOf(t,cs.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=cs,t.template}my(this,e)}gy&&(Ye.blue.open="\x1B[94m");for(let e of Object.keys(Ye))Ye[e].closeRe=new RegExp(tf(Ye[e].close),"g"),ra[e]={get(){let t=Ye[e];return Nc.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};ra.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))by.has(e)||(ra[e]={get(){let t=this.level;return function(){let i={open:Ye.color[vy[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(by.has(e))continue;let t="bg"+e[0].toUpperCase()+e.slice(1);ra[t]={get(){let n=this.level;return function(){let r={open:Ye.bgColor[vy[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 s5=Object.defineProperties(()=>{},ra);function Nc(e,t,n){let i=function(){return o5.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__=s5,i}function o5(){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;gy&&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 c5(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 a5(e,i.join(""))}Object.defineProperties(cs.prototype,ra);ls.exports=cs();ls.exports.supportsColor=ef;ls.exports.default=ls.exports});var wy=w((a4,yy)=>{"use strict";var ti=xy(),l5=process.platform!=="win32"||process.env.CI||process.env.TERM==="xterm-256color",u5={info:ti.blue("\u2139"),success:ti.green("\u2714"),warning:ti.yellow("\u26A0"),error:ti.red("\u2716")},p5={info:ti.blue("i"),success:ti.green("\u221A"),warning:ti.yellow("\u203C"),error:ti.red("\xD7")};yy.exports=l5?u5:p5});var Sy=w((s4,_y)=>{"use strict";_y.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 Ey=w((o4,Oy)=>{"use strict";var f5=Sy();Oy.exports=e=>typeof e=="string"?e.replace(f5(),""):e});var ky=w((c4,Lc)=>{var d5=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(v,h){if(v===null)return null;if(h==0)return v;var _,k;if(typeof v!="object")return v;if(e.__isArray(v))_=[];else if(e.__isRegExp(v))_=new RegExp(v.source,a(v)),v.lastIndex&&(_.lastIndex=v.lastIndex);else if(e.__isDate(v))_=new Date(v.getTime());else{if(g&&Buffer.isBuffer(v))return Buffer.allocUnsafe?_=Buffer.allocUnsafe(v.length):_=new Buffer(v.length),v.copy(_),_;typeof u>"u"?(k=Object.getPrototypeOf(v),_=Object.create(k)):(_=Object.create(u),k=u)}if(o){var I=p.indexOf(v);if(I!=-1)return d[I];p.push(v),d.push(_)}for(var R in v){var M;k&&(M=Object.getOwnPropertyDescriptor(k,R)),!(M&&M.set==null)&&(_[R]=x(v[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=d5)});var Ty=w((l4,Cy)=>{var h5=ky();Cy.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(n){typeof e[n]>"u"&&(e[n]=h5(t[n]))}),e}});var jy=w((u4,Ay)=>{Ay.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 Ny=w((p4,nf)=>{"use strict";var m5=Ty(),us=jy(),Ry={nul:0,control:0};nf.exports=function(t){return Iy(t,Ry)};nf.exports.config=function(e){return e=m5(e||{},Ry),function(n){return Iy(n,e)}};function Iy(e,t){if(typeof e!="string")return My(e,t);for(var n=0,i=0;i<e.length;i++){var r=My(e.charCodeAt(i),t);if(r<0)return-1;n+=r}return n}function My(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:g5(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 g5(e){var t=0,n=us.length-1,i;if(e<us[0][0]||e>us[n][1])return!1;for(;n>=t;)if(i=Math.floor((t+n)/2),e>us[i][1])t=i+1;else if(e<us[i][0])n=i-1;else return!0;return!1}});var Py=w((f4,Ly)=>{"use strict";Ly.exports=({stream:e=process.stdout}={})=>Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))});var By=w((d4,qy)=>{var rf=require("stream");qy.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:v5,enumerable:!1,writable:!0,configurable:!0});function v5(e){this._src=e}Object.defineProperty(rt.prototype,"isTTY",{get:b5,set:x5,enumerable:!0,configurable:!0});function b5(){return this._dest?this._dest.isTTY:this._src?this._src.isTTY:!1}function x5(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 ni=w((h4,cf)=>{"use strict";var y5=require("readline"),w5=Tx(),Fy=$x(),Pc=Hx(),qc=wy(),_5=Ey(),S5=Ny(),O5=Py(),E5=By(),sf=Symbol("text"),Bc=Symbol("prefixText"),k5=3,of=class{constructor(){this.requests=0,this.mutedStream=new E5,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(k5)&&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=y5.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:O5({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=_5(n+"--"+this[sf]).split(`
|
|
39
|
+
`).reduce((i,r)=>i+Math.max(1,Math.ceil(S5(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=w5[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&&Fy.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&&Fy.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}},C5=function(e){return new Dc(e)};cf.exports=C5;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((E4,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:D5}:df.exports=process;function D5(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 Vy=w((k4,Zy)=>{var $5={}.toString;Zy.exports=Array.isArray||function(e){return $5.call(e)=="[object Array]"}});var hf=w((C4,Jy)=>{Jy.exports=require("stream")});var hs=w((mf,Qy)=>{var Uc=require("buffer"),Rn=Uc.Buffer;function Xy(e,t){for(var n in e)t[n]=e[n]}Rn.from&&Rn.alloc&&Rn.allocUnsafe&&Rn.allocUnsafeSlow?Qy.exports=Uc:(Xy(Uc,mf),mf.Buffer=sa);function sa(e,t,n){return Rn(e,t,n)}Xy(Rn,sa);sa.from=function(e,t,n){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Rn(e,t,n)};sa.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};sa.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Rn(e)};sa.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Uc.SlowBuffer(e)}});var oa=w(mt=>{function z5(e){return Array.isArray?Array.isArray(e):Wc(e)==="[object Array]"}mt.isArray=z5;function U5(e){return typeof e=="boolean"}mt.isBoolean=U5;function W5(e){return e===null}mt.isNull=W5;function H5(e){return e==null}mt.isNullOrUndefined=H5;function Y5(e){return typeof e=="number"}mt.isNumber=Y5;function K5(e){return typeof e=="string"}mt.isString=K5;function G5(e){return typeof e=="symbol"}mt.isSymbol=G5;function Z5(e){return e===void 0}mt.isUndefined=Z5;function V5(e){return Wc(e)==="[object RegExp]"}mt.isRegExp=V5;function J5(e){return typeof e=="object"&&e!==null}mt.isObject=J5;function X5(e){return Wc(e)==="[object Date]"}mt.isDate=X5;function Q5(e){return Wc(e)==="[object Error]"||e instanceof Error}mt.isError=Q5;function e3(e){return typeof e=="function"}mt.isFunction=e3;function t3(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}mt.isPrimitive=t3;mt.isBuffer=require("buffer").Buffer.isBuffer;function Wc(e){return Object.prototype.toString.call(e)}});var e1=w((A4,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 ca=w((j4,bf)=>{try{if(vf=require("util"),typeof vf.inherits!="function")throw"";bf.exports=vf.inherits}catch{bf.exports=e1()}var vf});var n1=w((M4,xf)=>{"use strict";function n3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t1=hs().Buffer,ms=require("util");function i3(e,t,n){e.copy(t,n)}xf.exports=function(){function e(){n3(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 t1.alloc(0);if(this.length===1)return this.head.data;for(var i=t1.allocUnsafe(n>>>0),r=this.head,a=0;r;)i3(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((R4,a1)=>{"use strict";var i1=ds();function r3(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)&&i1.nextTick(r1,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(a){!t&&a?(i1.nextTick(r1,n,a),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(a)}),this)}function a3(){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 r1(e,t){e.emit("error",t)}a1.exports={destroy:r3,undestroy:a3}});var o1=w((I4,s1)=>{s1.exports=require("util").deprecate});var _f=w((N4,m1)=>{"use strict";var Gi=ds();m1.exports=Ke;function l1(e){var t=this;this.next=null,this.entry=null,this.finish=function(){S3(t,e)}}var s3=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Gi.nextTick,la;Ke.WritableState=vs;var u1=Object.create(oa());u1.inherits=ca();var o3={deprecate:o1()},p1=hf(),Yc=hs().Buffer,c3=global.Uint8Array||function(){};function l3(e){return Yc.from(e)}function u3(e){return Yc.isBuffer(e)||e instanceof c3}var f1=yf();u1.inherits(Ke,p1);function p3(){}function vs(e,t){la=la||Zi(),e=e||{};var n=t instanceof la;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){b3(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 l1(this)}vs.prototype.getBuffer=function(){for(var t=this.bufferedRequest,n=[];t;)n.push(t),t=t.next;return n};(function(){try{Object.defineProperty(vs.prototype,"buffer",{get:o3.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 vs}})):Hc=function(e){return e instanceof this};function Ke(e){if(la=la||Zi(),!Hc.call(Ke,this)&&!(this instanceof la))return new Ke(e);this._writableState=new vs(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)),p1.call(this)}Ke.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function f3(e,t){var n=new Error("write after end");e.emit("error",n),Gi.nextTick(t,n)}function d3(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),Gi.nextTick(i,a),r=!1),r}Ke.prototype.write=function(e,t,n){var i=this._writableState,r=!1,a=!i.objectMode&&u3(e);return a&&!Yc.isBuffer(e)&&(e=l3(e)),typeof t=="function"&&(n=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),typeof n!="function"&&(n=p3),i.ended?f3(this,n):(a||d3(this,i,e,n))&&(i.pendingcb++,r=m3(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&&d1(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 h3(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 m3(e,t,n,i,r,a){if(!n){var s=h3(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 g3(e,t,n,i,r){--t.pendingcb,n?(Gi.nextTick(r,i),Gi.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 v3(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function b3(e,t){var n=e._writableState,i=n.sync,r=n.writecb;if(v3(n),t)g3(e,n,i,t,r);else{var a=h1(n);!a&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest&&d1(e,n),i?s3(c1,e,n,a,r):c1(e,n,a,r)}}function c1(e,t,n,i){n||x3(e,t),t.pendingcb--,i(),gs(e,t)}function x3(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function d1(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 l1(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&&_3(this,i,n)};function h1(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function y3(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),gs(e,t)})}function w3(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"?(t.pendingcb++,t.finalCalled=!0,Gi.nextTick(y3,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function gs(e,t){var n=h1(t);return n&&(w3(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"))),n}function _3(e,t,n){t.ending=!0,gs(e,t),n&&(t.finished?Gi.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function S3(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=f1.destroy;Ke.prototype._undestroy=f1.undestroy;Ke.prototype._destroy=function(e,t){this.end(),t(e)}});var Zi=w((L4,x1)=>{"use strict";var g1=ds(),O3=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};x1.exports=In;var v1=Object.create(oa());v1.inherits=ca();var b1=Ef(),Of=_f();v1.inherits(In,b1);for(Sf=O3(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);b1.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",E3)}Object.defineProperty(In.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function E3(){this.allowHalfOpen||this._writableState.ended||g1.nextTick(k3,this)}function k3(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(),g1.nextTick(t,e)}});var Tf=w(w1=>{"use strict";var Cf=hs().Buffer,y1=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 C3(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 T3(e){var t=C3(e);if(typeof t!="string"&&(Cf.isEncoding===y1||!y1(e)))throw new Error("Unknown encoding: "+e);return t||e}w1.StringDecoder=bs;function bs(e){this.encoding=T3(e);var t;switch(this.encoding){case"utf16le":this.text=N3,this.end=L3,t=4;break;case"utf8":this.fillLast=M3,t=4;break;case"base64":this.text=P3,this.end=q3,t=3;break;default:this.write=B3,this.end=F3;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Cf.allocUnsafe(t)}bs.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||""};bs.prototype.end=I3;bs.prototype.text=R3;bs.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 A3(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 j3(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 M3(e){var t=this.lastTotal-this.lastNeed,n=j3(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 R3(e,t){var n=A3(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 I3(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function N3(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 L3(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 P3(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 q3(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function B3(e){return e.toString(this.encoding)}function F3(e){return e&&e.length?this.write(e):""}});var Ef=w((B4,I1)=>{"use strict";var pa=ds();I1.exports=Ae;var D3=Vy(),xs;Ae.ReadableState=T1;var q4=require("events").EventEmitter,E1=function(e,t){return e.listeners(t).length},If=hf(),ys=hs().Buffer,$3=global.Uint8Array||function(){};function z3(e){return ys.from(e)}function U3(e){return ys.isBuffer(e)||e instanceof $3}var k1=Object.create(oa());k1.inherits=ca();var Af=require("util"),we=void 0;Af&&Af.debuglog?we=Af.debuglog("stream"):we=function(){};var W3=n1(),C1=yf(),ua;k1.inherits(Ae,If);var jf=["error","close","destroy","pause","resume"];function H3(e,t,n){if(typeof e.prependListener=="function")return e.prependListener(t,n);!e._events||!e._events[t]?e.on(t,n):D3(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]}function T1(e,t){xs=xs||Zi(),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 W3,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&&(ua||(ua=Tf().StringDecoder),this.decoder=new ua(e.encoding),this.encoding=e.encoding)}function Ae(e){if(xs=xs||Zi(),!(this instanceof Ae))return new Ae(e);this._readableState=new T1(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=C1.destroy;Ae.prototype._undestroy=C1.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),A1(this,e,t,!1,i)};Ae.prototype.unshift=function(e){return A1(this,e,null,!0,!1)};function A1(e,t,n,i,r){var a=e._readableState;if(t===null)a.reading=!1,Z3(e,a);else{var s;r||(s=Y3(a,t)),s?e.emit("error",s):a.objectMode||t&&t.length>0?(typeof t!="string"&&!a.objectMode&&Object.getPrototypeOf(t)!==ys.prototype&&(t=z3(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):j1(e,a)):Mf(e,a,t,!1))):i||(a.reading=!1)}return K3(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)),j1(e,t)}function Y3(e,t){var n;return!U3(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(n=new TypeError("Invalid non-string/buffer chunk")),n}function K3(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 ua||(ua=Tf().StringDecoder),this._readableState.decoder=new ua(e),this._readableState.encoding=e,this};var _1=8388608;function G3(e){return e>=_1?e=_1:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function S1(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=G3(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=S1(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=S1(n,t)));var r;return e>0?r=M1(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 Z3(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?pa.nextTick(O1,e):O1(e))}function O1(e){we("emit readable"),e.emit("readable"),Nf(e)}function j1(e,t){t.readingMore||(t.readingMore=!0,pa.nextTick(V3,e,t))}function V3(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?pa.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=J3(n);e.on("drain",c);var u=!1;function l(){we("cleanup"),e.removeListener("close",x),e.removeListener("finish",v),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&&R1(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),E1(e,"error")===0&&e.emit("error",_)}H3(e,"error",g);function x(){e.removeListener("finish",v),h()}e.once("close",x);function v(){we("onfinish"),e.removeListener("close",x),h()}e.once("finish",v);function h(){we("unpipe"),n.unpipe(e)}return e.emit("pipe",n),i.flowing||(we("pipe resume"),n.resume()),e};function J3(e){return function(){var t=e._readableState;we("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&E1(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=R1(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):pa.nextTick(X3,this))}return n};Ae.prototype.addListener=Ae.prototype.on;function X3(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,Q3(this,e)),this};function Q3(e,t){t.resumeScheduled||(t.resumeScheduled=!0,pa.nextTick(eM,e,t))}function eM(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=M1;function M1(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=tM(e,t.buffer,t.decoder),n}function tM(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?nM(e,t):iM(e,t),i}function nM(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 iM(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,pa.nextTick(rM,t,e))}function rM(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function R1(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1}});var Lf=w((F4,P1)=>{"use strict";P1.exports=Nn;var Vc=Zi(),L1=Object.create(oa());L1.inherits=ca();L1.inherits(Nn,Vc);function aM(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:aM.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",sM)}function sM(){var e=this;typeof this._flush=="function"?this._flush(function(t,n){N1(e,t,n)}):N1(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 N1(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 D1=w((D4,F1)=>{"use strict";F1.exports=ws;var q1=Lf(),B1=Object.create(oa());B1.inherits=ca();B1.inherits(ws,q1);function ws(e){if(!(this instanceof ws))return new ws(e);q1.call(this,e)}ws.prototype._transform=function(e,t,n){n(null,e)}});var Pf=w((pt,Jc)=>{var wn=require("stream");process.env.READABLE_STREAM==="disable"&&wn?(Jc.exports=wn,pt=Jc.exports=wn.Readable,pt.Readable=wn.Readable,pt.Writable=wn.Writable,pt.Duplex=wn.Duplex,pt.Transform=wn.Transform,pt.PassThrough=wn.PassThrough,pt.Stream=wn):(pt=Jc.exports=Ef(),pt.Stream=wn||pt,pt.Readable=pt,pt.Writable=_f(),pt.Duplex=Zi(),pt.Transform=Lf(),pt.PassThrough=D1())});var Ln=w(Ft=>{"use strict";Ft.base64=!0;Ft.array=!0;Ft.string=!0;Ft.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";Ft.nodebuffer=typeof Buffer<"u";Ft.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")Ft.blob=!1;else{qf=new ArrayBuffer(0);try{Ft.blob=new Blob([qf],{type:"application/zip"}).size===0}catch{try{$1=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,Bf=new $1,Bf.append(qf),Ft.blob=Bf.getBlob("application/zip").size===0}catch{Ft.blob=!1}}}var qf,$1,Bf;try{Ft.nodestream=!!Pf().Readable}catch{Ft.nodestream=!1}});var Df=w(Ff=>{"use strict";var oM=Pe(),cM=Ln(),_n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Ff.encode=function(e){for(var t=[],n,i,r,a,s,o,c,u=0,l=e.length,p=l,d=oM.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(_n.charAt(a)+_n.charAt(s)+_n.charAt(o)+_n.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)===_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 d;for(cM.uint8array?d=new Uint8Array(p|0):d=new Array(p|0);c<e.length;)r=_n.indexOf(e.charAt(c++)),a=_n.indexOf(e.charAt(c++)),s=_n.indexOf(e.charAt(c++)),o=_n.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((U4,z1)=>{"use strict";z1.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 W1=w((W4,U1)=>{"use strict";U1.exports=typeof setImmediate=="function"?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}});var G1=w((H4,K1)=>{"use strict";var H1=global.MutationObserver||global.WebKitMutationObserver,fa;process.browser?H1?($f=0,Y1=new H1(Ss),zf=global.document.createTextNode(""),Y1.observe(zf,{characterData:!0}),fa=function(){zf.data=$f=++$f%2}):!global.setImmediate&&typeof global.MessageChannel<"u"?(Uf=new global.MessageChannel,Uf.port1.onmessage=Ss,fa=function(){Uf.port2.postMessage(0)}):"document"in global&&"onreadystatechange"in global.document.createElement("script")?fa=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)}:fa=function(){setTimeout(Ss,0)}:fa=function(){process.nextTick(Ss)};var $f,Y1,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}K1.exports=lM;function lM(e){Os.push(e)===1&&!Wf&&fa()}});var tw=w((Y4,ew)=>{"use strict";var Z1=G1();function da(){}var gt={},V1=["REJECTED"],Hf=["FULFILLED"],J1=["PENDING"];process.browser||(Es=["UNHANDLED"]);var Es;ew.exports=ii;function ii(e){if(typeof e!="function")throw new TypeError("resolver must be a function");this.state=J1,this.queue=[],this.outcome=void 0,process.browser||(this.handled=Es),e!==da&&X1(this,e)}ii.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)}};ii.prototype.catch=function(e){return this.then(null,e)};ii.prototype.then=function(e,t){if(typeof e!="function"&&this.state===Hf||typeof t!="function"&&this.state===V1)return this;var n=new this.constructor(da);if(process.browser||this.handled===Es&&(this.handled=null),this.state!==J1){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){Z1(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=Q1(uM,t);if(n.status==="error")return gt.reject(e,n.value);var i=n.value;if(i)X1(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=V1,e.outcome=t,process.browser||e.handled===Es&&Z1(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 uM(e){var t=e&&e.then;if(e&&(typeof e=="object"||typeof e=="function")&&typeof t=="function")return function(){t.apply(e,arguments)}}function X1(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=Q1(a);s.status==="error"&&i(s.value)}function Q1(e,t){var n={};try{n.value=e(t),n.status="success"}catch(i){n.status="error",n.value=i}return n}ii.resolve=pM;function pM(e){return e instanceof this?e:gt.resolve(new this(da),e)}ii.reject=fM;function fM(e){var t=new this(da);return gt.reject(t,e)}ii.all=dM;function dM(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(da);++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))}}}ii.race=hM;function hM(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(da);++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 ha=w((K4,nw)=>{"use strict";var Kf=null;typeof Promise<"u"?Kf=Promise:Kf=tw();nw.exports={Promise:Kf}});var Pe=w(Je=>{"use strict";var ri=Ln(),mM=Df(),ma=_s(),gM=W1(),Gf=ha();function vM(e){var t=null;return ri.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 ri.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return ri.nodebuffer&&String.fromCharCode.apply(null,ma.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 ai={};ai.string={string:Cs,array:function(e){return Qc(e,new Array(e.length))},arraybuffer:function(e){return ai.string.uint8array(e).buffer},uint8array:function(e){return Qc(e,new Uint8Array(e.length))},nodebuffer:function(e){return Qc(e,ma.allocBuffer(e.length))}};ai.array={string:Ts,array:Cs,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return ma.newBufferFrom(e)}};ai.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 ma.newBufferFrom(new Uint8Array(e))}};ai.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 ma.newBufferFrom(e)}};ai.nodebuffer={string:Ts,array:function(e){return el(e,new Array(e.length))},arraybuffer:function(e){return ai.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=ai[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(ri.nodebuffer&&ma.isBuffer(e))return"nodebuffer";if(ri.uint8array&&e instanceof Uint8Array)return"uint8array";if(ri.arraybuffer&&e instanceof ArrayBuffer)return"arraybuffer"};Je.checkSupport=function(e){var t=ri[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){gM(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=ri.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=mM.decode(s):n&&i!==!0&&(s=vM(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 Dt=w((Z4,rw)=>{"use strict";function iw(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}iw.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}};rw.exports=iw});var Ji=w(si=>{"use strict";var ga=Pe(),Vi=Ln(),bM=_s(),tl=Dt(),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 xM=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(Vi.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},yM=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},wM=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),ga.applyFromCharCode(o)};si.utf8encode=function(t){return Vi.nodebuffer?bM.newBufferFrom(t,"utf-8"):xM(t)};si.utf8decode=function(t){return Vi.nodebuffer?ga.transformTo("nodebuffer",t).toString("utf-8"):(t=ga.transformTo(Vi.uint8array?"uint8array":"array",t),wM(t))};function nl(){tl.call(this,"utf-8 decode"),this.leftOver=null}ga.inherits(nl,tl);nl.prototype.processChunk=function(e){var t=ga.transformTo(Vi.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(Vi.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=yM(t),r=t;i!==t.length&&(Vi.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:si.utf8decode(r),meta:e.meta})};nl.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:si.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)};si.Utf8DecodeWorker=nl;function Zf(){tl.call(this,"utf-8 encode")}ga.inherits(Zf,tl);Zf.prototype.processChunk=function(e){this.push({data:si.utf8encode(e.data),meta:e.meta})};si.Utf8EncodeWorker=Zf});var cw=w((J4,ow)=>{"use strict";var aw=Dt(),sw=Pe();function Vf(e){aw.call(this,"ConvertWorker to "+e),this.destType=e}sw.inherits(Vf,aw);Vf.prototype.processChunk=function(e){this.push({data:sw.transformTo(this.destType,e.data),meta:e.meta})};ow.exports=Vf});var pw=w((X4,uw)=>{"use strict";var lw=Pf().Readable,_M=Pe();_M.inherits(Jf,lw);function Jf(e,t,n){lw.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()};uw.exports=Jf});var Xf=w((Q4,hw)=>{"use strict";var Xi=Pe(),SM=cw(),OM=Dt(),EM=Df(),kM=Ln(),CM=ha(),fw=null;if(kM.nodestream)try{fw=pw()}catch{}function TM(e,t,n){switch(e){case"blob":return Xi.newBlob(Xi.transformTo("arraybuffer",t),n);case"base64":return EM.encode(t);default:return Xi.transformTo(e,t)}}function AM(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 jM(e,t){return new CM.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=TM(s,AM(a,r),o);n(c)}catch(u){i(u)}r=[]}).resume()})}function dw(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,Xi.checkSupport(i),this._worker=e.pipe(new SM(i)),e.lock()}catch(r){this._worker=new OM("error"),this._worker.error(r)}}dw.prototype={accumulate:function(e){return jM(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(){Xi.delay(t,arguments,n)}),this},resume:function(){return Xi.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(Xi.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new fw(this,{objectMode:this._outputType!=="nodebuffer"},e)}};hw.exports=dw});var Qf=w(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 ed=w((tF,mw)=>{"use strict";var il=Pe(),rl=Dt(),MM=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=MM,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}})};mw.exports=va});var al=w((nF,vw)=>{"use strict";var RM=Pe();function IM(){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 gw=IM();function NM(e,t,n,i){var r=gw,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 LM(e,t,n,i){var r=gw,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}vw.exports=function(t,n){if(typeof t>"u"||!t.length)return 0;var i=RM.getTypeOf(t)!=="string";return i?NM(n|0,t,t.length,0):LM(n|0,t,t.length,0)}});var nd=w((iF,xw)=>{"use strict";var bw=Dt(),PM=al(),qM=Pe();function td(){bw.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}qM.inherits(td,bw);td.prototype.processChunk=function(e){this.streamInfo.crc32=PM(e.data,this.streamInfo.crc32||0),this.push(e)};xw.exports=td});var ww=w((rF,yw)=>{"use strict";var BM=Pe(),id=Dt();function rd(e){id.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}BM.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)};yw.exports=rd});var sl=w((aF,Ow)=>{"use strict";var _w=ha(),Sw=ed(),FM=nd(),ad=ww();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 Sw(_w.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 Sw(_w.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 FM).pipe(new ad("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new ad("compressedSize")).withStreamInfo("compression",t)};Ow.exports=sd});var Tw=w((sF,Cw)=>{"use strict";var DM=Xf(),$M=ed(),od=Ji(),cd=sl(),Ew=Dt(),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 Ew("error"),t.error(a)}return new DM(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 Ew?this._data:new $M(this._data)}};var kw=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],zM=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(ol=0;ol<kw.length;ol++)ld.prototype[kw[ol]]=zM;var ol;Cw.exports=ld});var qn=w(St=>{"use strict";var UM=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function WM(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)WM(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 HM={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}},YM={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,HM)):(St.Buf8=Array,St.Buf16=Array,St.Buf32=Array,St.assign(St,YM))};St.setTyped(UM)});var Jw=w(ya=>{"use strict";var KM=qn(),GM=4,Aw=0,jw=1,ZM=2;function xa(e){for(var t=e.length;--t>=0;)e[t]=0}var VM=0,Pw=1,JM=2,XM=3,QM=258,gd=29,Ls=256,Ms=Ls+1+gd,ba=30,vd=19,qw=2*Ms+1,Qi=15,ud=16,eR=7,bd=256,Bw=16,Fw=17,Dw=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],tR=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],$w=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],nR=512,Bn=new Array((Ms+2)*2);xa(Bn);var js=new Array(ba*2);xa(js);var Rs=new Array(nR);xa(Rs);var Is=new Array(QM-XM+1);xa(Is);var xd=new Array(gd);xa(xd);var ll=new Array(ba);xa(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 zw,Uw,Ww;function fd(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Hw(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 Sn(e,t,n){Tt(e,n[t*2],n[t*2+1])}function Yw(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function iR(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 rR(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,v=0;for(d=0;d<=Qi;d++)e.bl_count[d]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;u<qw;u++)l=e.heap[u],d=n[n[l*2+1]*2+1]+1,d>c&&(d=c,v++),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(v!==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]--,v-=2}while(v>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 Kw(e,t,n){var i=new Array(Qi+1),r=0,a,s;for(a=1;a<=Qi;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]=Yw(i[o]++,o))}}function aR(){var e,t,n,i,r,a=new Array(Qi+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<ba;i++)for(ll[i]=r<<7,e=0;e<1<<cl[i]-7;e++)Rs[256+r++]=i;for(t=0;t<=Qi;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(Kw(Bn,Ms+1,a),e=0;e<ba;e++)js[e*2+1]=5,js[e*2]=Yw(e,5);zw=new pd(Bn,hd,Ls+1,Ms,Qi),Uw=new pd(js,cl,0,ba,Qi),Ww=new pd(new Array(0),tR,0,vd,eR)}function Gw(e){var t;for(t=0;t<Ms;t++)e.dyn_ltree[t*2]=0;for(t=0;t<ba;t++)e.dyn_dtree[t*2]=0;for(t=0;t<vd;t++)e.bl_tree[t*2]=0;e.dyn_ltree[bd*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Zw(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 sR(e,t,n,i){Zw(e),i&&(Ns(e,n),Ns(e,~n)),KM.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function Mw(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&&Mw(t,e.heap[r+1],e.heap[r],e.depth)&&r++,!Mw(t,i,e.heap[r],e.depth));)e.heap[n]=e.heap[r],n=r,r<<=1;e.heap[n]=i}function Rw(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?Sn(e,r,t):(s=Is[r],Sn(e,s+Ls+1,t),o=hd[s],o!==0&&(r-=xd[s],Tt(e,r,o)),i--,s=Hw(i),Sn(e,s,n),o=cl[s],o!==0&&(i-=ll[s],Tt(e,i,o)));while(a<e.last_lit);Sn(e,bd,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=qw,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],rR(e,t),Kw(n,c,e.bl_count)}function Iw(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[Bw*2]++):o<=10?e.bl_tree[Fw*2]++:e.bl_tree[Dw*2]++,o=0,r=a,s===0?(c=138,u=3):a===s?(c=6,u=3):(c=7,u=4))}function Nw(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 Sn(e,a,e.bl_tree);while(--o!==0);else a!==0?(a!==r&&(Sn(e,a,e.bl_tree),o--),Sn(e,Bw,e.bl_tree),Tt(e,o-3,2)):o<=10?(Sn(e,Fw,e.bl_tree),Tt(e,o-3,3)):(Sn(e,Dw,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 oR(e){var t;for(Iw(e,e.dyn_ltree,e.l_desc.max_code),Iw(e,e.dyn_dtree,e.d_desc.max_code),md(e,e.bl_desc),t=vd-1;t>=3&&e.bl_tree[$w[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function cR(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[$w[r]*2+1],3);Nw(e,e.dyn_ltree,t-1),Nw(e,e.dyn_dtree,n-1)}function lR(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return Aw;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return jw;for(n=32;n<Ls;n++)if(e.dyn_ltree[n*2]!==0)return jw;return Aw}var Lw=!1;function uR(e){Lw||(aR(),Lw=!0),e.l_desc=new fd(e.dyn_ltree,zw),e.d_desc=new fd(e.dyn_dtree,Uw),e.bl_desc=new fd(e.bl_tree,Ww),e.bi_buf=0,e.bi_valid=0,Gw(e)}function Vw(e,t,n,i){Tt(e,(VM<<1)+(i?1:0),3),sR(e,t,n,!0)}function pR(e){Tt(e,Pw<<1,3),Sn(e,bd,Bn),iR(e)}function fR(e,t,n,i){var r,a,s=0;e.level>0?(e.strm.data_type===ZM&&(e.strm.data_type=lR(e)),md(e,e.l_desc),md(e,e.d_desc),s=oR(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?Vw(e,t,n,i):e.strategy===GM||a===r?(Tt(e,(Pw<<1)+(i?1:0),3),Rw(e,Bn,js)):(Tt(e,(JM<<1)+(i?1:0),3),cR(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),Rw(e,e.dyn_ltree,e.dyn_dtree)),Gw(e),i&&Zw(e)}function dR(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[Hw(t)*2]++),e.last_lit===e.lit_bufsize-1}ya._tr_init=uR;ya._tr_stored_block=Vw;ya._tr_flush_block=fR;ya._tr_tally=dR;ya._tr_align=pR});var yd=w((lF,Xw)=>{"use strict";function hR(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}Xw.exports=hR});var wd=w((uF,Qw)=>{"use strict";function mR(){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 gR=mR();function vR(e,t,n,i){var r=gR,a=i+n;e^=-1;for(var s=i;s<a;s++)e=e>>>8^r[(e^t[s])&255];return e^-1}Qw.exports=vR});var ul=w((pF,e_)=>{"use strict";e_.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 l_=w(kn=>{"use strict";var Ot=qn(),Xt=Jw(),r_=yd(),oi=wd(),bR=ul(),ir=0,xR=1,yR=3,fi=4,t_=5,En=0,n_=1,Qt=-2,wR=-3,_d=-5,_R=-1,SR=1,pl=2,OR=3,ER=4,kR=0,CR=2,ml=8,TR=9,AR=15,jR=8,MR=29,RR=256,Od=RR+1+MR,IR=30,NR=19,LR=2*Od+1,PR=15,ge=3,ui=258,ln=ui+ge+1,qR=32,gl=42,Ed=69,fl=73,dl=91,hl=103,er=113,qs=666,Xe=1,Bs=2,tr=3,Sa=4,BR=3;function pi(e,t){return e.msg=bR[t],t}function i_(e){return(e<<1)-(e>4?9:0)}function li(e){for(var t=e.length;--t>=0;)e[t]=0}function ci(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){Xt._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ci(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 FR(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=r_(e.adler,t,r,n):e.state.wrap===2&&(e.adler=oi(e.adler,t,r,n)),e.next_in+=r,e.total_in+=r,r)}function a_(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-ln?e.strstart-(e.w_size-ln):0,u=e.window,l=e.w_mask,p=e.prev,d=e.strstart+ui,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=ui-(d-i),i=d-ui,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 nr(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-ln)){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=FR(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<ln&&e.strm.avail_in!==0)}function DR(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(nr(e),e.lookahead===0&&t===ir)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-ln&&(ft(e,!1),e.strm.avail_out===0))return Xe}return e.insert=0,t===fi?(ft(e,!0),e.strm.avail_out===0?tr:Sa):(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<ln){if(nr(e),e.lookahead<ln&&t===ir)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-ln&&(e.match_length=a_(e,n)),e.match_length>=ge)if(i=Xt._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=Xt._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===fi?(ft(e,!0),e.strm.avail_out===0?tr:Sa):e.last_lit&&(ft(e,!1),e.strm.avail_out===0)?Xe:Bs}function wa(e,t){for(var n,i,r;;){if(e.lookahead<ln){if(nr(e),e.lookahead<ln&&t===ir)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-ln&&(e.match_length=a_(e,n),e.match_length<=5&&(e.strategy===SR||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=Xt._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=Xt._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=Xt._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<ge-1?e.strstart:ge-1,t===fi?(ft(e,!0),e.strm.avail_out===0?tr:Sa):e.last_lit&&(ft(e,!1),e.strm.avail_out===0)?Xe:Bs}function $R(e,t){for(var n,i,r,a,s=e.window;;){if(e.lookahead<=ui){if(nr(e),e.lookahead<=ui&&t===ir)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+ui;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=ui-(a-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ge?(n=Xt._tr_tally(e,1,e.match_length-ge),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&&(ft(e,!1),e.strm.avail_out===0))return Xe}return e.insert=0,t===fi?(ft(e,!0),e.strm.avail_out===0?tr:Sa):e.last_lit&&(ft(e,!1),e.strm.avail_out===0)?Xe:Bs}function zR(e,t){for(var n;;){if(e.lookahead===0&&(nr(e),e.lookahead===0)){if(t===ir)return Xe;break}if(e.match_length=0,n=Xt._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===fi?(ft(e,!0),e.strm.avail_out===0?tr:Sa):e.last_lit&&(ft(e,!1),e.strm.avail_out===0)?Xe:Bs}function On(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 _a;_a=[new On(0,0,0,0,DR),new On(4,4,8,4,Sd),new On(4,5,16,8,Sd),new On(4,6,32,32,Sd),new On(4,4,16,16,wa),new On(8,16,32,32,wa),new On(8,16,128,128,wa),new On(8,32,128,256,wa),new On(32,128,258,1024,wa),new On(32,258,258,4096,wa)];function UR(e){e.window_size=2*e.w_size,li(e.head),e.max_lazy_match=_a[e.level].max_lazy,e.good_match=_a[e.level].good_length,e.nice_match=_a[e.level].nice_length,e.max_chain_length=_a[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 WR(){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(LR*2),this.dyn_dtree=new Ot.Buf16((2*IR+1)*2),this.bl_tree=new Ot.Buf16((2*NR+1)*2),li(this.dyn_ltree),li(this.dyn_dtree),li(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Ot.Buf16(PR+1),this.heap=new Ot.Buf16(2*Od+1),li(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Ot.Buf16(2*Od+1),li(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 s_(e){var t;return!e||!e.state?pi(e,Qt):(e.total_in=e.total_out=0,e.data_type=CR,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?gl:er,e.adler=t.wrap===2?0:1,t.last_flush=ir,Xt._tr_init(t),En)}function o_(e){var t=s_(e);return t===En&&UR(e.state),t}function HR(e,t){return!e||!e.state||e.state.wrap!==2?Qt:(e.state.gzhead=t,En)}function c_(e,t,n,i,r,a){if(!e)return Qt;var s=1;if(t===_R&&(t=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),r<1||r>TR||n!==ml||i<8||i>15||t<0||t>9||a<0||a>ER)return pi(e,Qt);i===8&&(i=9);var o=new WR;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,o_(e)}function YR(e,t){return c_(e,t,ml,AR,jR,kR)}function KR(e,t){var n,i,r,a;if(!e||!e.state||t>t_||t<0)return e?pi(e,Qt):Qt;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===qs&&t!==fi)return pi(e,e.avail_out===0?_d:Qt);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=oi(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,BR),i.status=er);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|=qR),s+=31-s%31,i.status=er,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=oi(e.adler,i.pending_buf,i.pending-r,r)),ci(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=oi(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=oi(e.adler,i.pending_buf,i.pending-r,r)),ci(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=oi(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=oi(e.adler,i.pending_buf,i.pending-r,r)),ci(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=oi(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&&ci(e),i.pending+2<=i.pending_buf_size&&(ye(i,e.adler&255),ye(i,e.adler>>8&255),e.adler=0,i.status=er)):i.status=er),i.pending!==0){if(ci(e),e.avail_out===0)return i.last_flush=-1,En}else if(e.avail_in===0&&i_(t)<=i_(n)&&t!==fi)return pi(e,_d);if(i.status===qs&&e.avail_in!==0)return pi(e,_d);if(e.avail_in!==0||i.lookahead!==0||t!==ir&&i.status!==qs){var c=i.strategy===pl?zR(i,t):i.strategy===OR?$R(i,t):_a[i.level].func(i,t);if((c===tr||c===Sa)&&(i.status=qs),c===Xe||c===tr)return e.avail_out===0&&(i.last_flush=-1),En;if(c===Bs&&(t===xR?Xt._tr_align(i):t!==t_&&(Xt._tr_stored_block(i,0,0,!1),t===yR&&(li(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),ci(e),e.avail_out===0))return i.last_flush=-1,En}return t!==fi?En:i.wrap<=0?n_:(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)),ci(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?En:n_)}function GR(e){var t;return!e||!e.state?Qt:(t=e.state.status,t!==gl&&t!==Ed&&t!==fl&&t!==dl&&t!==hl&&t!==er&&t!==qs?pi(e,Qt):(e.state=null,t===er?pi(e,wR):En))}function ZR(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 Qt;for(s===1&&(e.adler=r_(e.adler,t,n,0)),i.wrap=0,n>=i.w_size&&(s===0&&(li(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,nr(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,nr(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,En}kn.deflateInit=YR;kn.deflateInit2=c_;kn.deflateReset=o_;kn.deflateResetKeep=s_;kn.deflateSetHeader=HR;kn.deflate=KR;kn.deflateEnd=GR;kn.deflateSetDictionary=ZR;kn.deflateInfo="pako deflate (from Nodeca project)"});var kd=w(Oa=>{"use strict";var vl=qn(),u_=!0,p_=!0;try{String.fromCharCode.apply(null,[0])}catch{u_=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{p_=!1}var Fs=new vl.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;Oa.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 vl.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 f_(e,t){if(t<65534&&(e.subarray&&p_||!e.subarray&&u_))return String.fromCharCode.apply(null,vl.shrinkBuf(e,t));for(var n="",i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n}Oa.buf2binstring=function(e){return f_(e,e.length)};Oa.binstring2buf=function(e){for(var t=new vl.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t};Oa.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 f_(o,i)};Oa.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((hF,d_)=>{"use strict";function VR(){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}d_.exports=VR});var v_=w(zs=>{"use strict";var Ds=l_(),$s=qn(),Ad=kd(),jd=ul(),JR=Cd(),g_=Object.prototype.toString,XR=0,Td=4,Ea=0,h_=1,m_=2,QR=-1,eI=0,tI=8;function rr(e){if(!(this instanceof rr))return new rr(e);this.options=$s.assign({level:QR,method:tI,chunkSize:16384,windowBits:15,memLevel:8,strategy:eI,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 JR,this.strm.avail_out=0;var n=Ds.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==Ea)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):g_.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,n=Ds.deflateSetDictionary(this.strm,i),n!==Ea)throw new Error(jd[n]);this._dict_set=!0}}rr.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:XR,typeof e=="string"?n.input=Ad.string2buf(e):g_.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!==h_&&r!==Ea)return this.onEnd(r),this.ended=!0,!1;(n.avail_out===0||n.avail_in===0&&(a===Td||a===m_))&&(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!==h_);return a===Td?(r=Ds.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===Ea):(a===m_&&(this.onEnd(Ea),n.avail_out=0),!0)};rr.prototype.onData=function(e){this.chunks.push(e)};rr.prototype.onEnd=function(e){e===Ea&&(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 rr(t);if(n.push(e,!0),n.err)throw n.msg||jd[n.err];return n.result}function nI(e,t){return t=t||{},t.raw=!0,Md(e,t)}function iI(e,t){return t=t||{},t.gzip=!0,Md(e,t)}zs.Deflate=rr;zs.deflate=Md;zs.deflateRaw=nI;zs.gzip=iI});var x_=w((gF,b_)=>{"use strict";var bl=30,rI=12;b_.exports=function(t,n){var i,r,a,s,o,c,u,l,p,d,g,x,v,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,v=i.bits,h=i.lencode,_=i.distcode,k=(1<<i.lenbits)-1,I=(1<<i.distbits)-1;e:do{v<15&&(x+=P[r++]<<v,v+=8,x+=P[r++]<<v,v+=8),R=h[x&k];t:for(;;){if(M=R>>>24,x>>>=M,v-=M,M=R>>>16&255,M===0)O[s++]=R&65535;else if(M&16){H=R&65535,M&=15,M&&(v<M&&(x+=P[r++]<<v,v+=8),H+=x&(1<<M)-1,x>>>=M,v-=M),v<15&&(x+=P[r++]<<v,v+=8,x+=P[r++]<<v,v+=8),R=_[x&I];n:for(;;){if(M=R>>>24,x>>>=M,v-=M,M=R>>>16&255,M&16){if(D=R&65535,M&=15,v<M&&(x+=P[r++]<<v,v+=8,v<M&&(x+=P[r++]<<v,v+=8)),D+=x&(1<<M)-1,D>u){t.msg="invalid distance too far back",i.mode=bl;break e}if(x>>>=M,v-=M,M=s-o,D>M){if(M=D-M,M>p&&i.sane){t.msg="invalid distance too far back",i.mode=bl;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=bl;break e}break}}else if((M&64)===0){R=h[(R&65535)+(x&(1<<M)-1)];continue t}else if(M&32){i.mode=rI;break e}else{t.msg="invalid literal/length code",i.mode=bl;break e}break}}while(r<a&&s<c);H=v>>3,r-=H,v-=H<<3,x&=(1<<v)-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=v}});var k_=w((vF,E_)=>{"use strict";var y_=qn(),ka=15,w_=852,__=592,S_=0,Rd=1,O_=2,aI=[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],sI=[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],oI=[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],cI=[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];E_.exports=function(t,n,i,r,a,s,o,c){var u=c.bits,l=0,p=0,d=0,g=0,x=0,v=0,h=0,_=0,k=0,I=0,R,M,H,D,$,y=null,P=0,O,b=new y_.Buf16(ka+1),A=new y_.Buf16(ka+1),N=null,Y=0,re,he,Z;for(l=0;l<=ka;l++)b[l]=0;for(p=0;p<r;p++)b[n[i+p]]++;for(x=u,g=ka;g>=1&&b[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&&b[d]===0;d++);for(x<d&&(x=d),_=1,l=1;l<=ka;l++)if(_<<=1,_-=b[l],_<0)return-1;if(_>0&&(t===S_||g!==1))return-1;for(A[1]=0,l=1;l<ka;l++)A[l+1]=A[l]+b[l];for(p=0;p<r;p++)n[i+p]!==0&&(o[A[n[i+p]]++]=p);if(t===S_?(y=N=o,O=19):t===Rd?(y=aI,P-=257,N=sI,Y-=257,O=256):(y=oI,N=cI,O=-1),I=0,p=0,l=d,$=s,v=x,h=0,H=-1,k=1<<x,D=k-1,t===Rd&&k>w_||t===O_&&k>__)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<<v,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++,--b[l]===0){if(l===g)break;l=n[i+o[p]]}if(l>x&&(I&D)!==H){for(h===0&&(h=x),$+=d,v=l-h,_=1<<v;v+h<g&&(_-=b[v+h],!(_<=0));)v++,_<<=1;if(k+=1<<v,t===Rd&&k>w_||t===O_&&k>__)return 1;H=I&D,a[H]=x<<24|v<<16|$-s|0}}return I!==0&&(a[$+I]=l-h<<24|64<<16|0),c.bits=x,0}});var o2=w(un=>{"use strict";var $t=qn(),Bd=yd(),Cn=wd(),lI=x_(),Us=k_(),uI=0,X_=1,Q_=2,C_=4,pI=5,xl=6,ar=0,fI=1,dI=2,en=-2,e2=-3,Fd=-4,hI=-5,T_=8,t2=1,A_=2,j_=3,M_=4,R_=5,I_=6,N_=7,L_=8,P_=9,q_=10,_l=11,Dn=12,Id=13,B_=14,Nd=15,F_=16,D_=17,$_=18,z_=19,yl=20,wl=21,U_=22,W_=23,H_=24,Y_=25,K_=26,Ld=27,G_=28,Z_=29,Me=30,Dd=31,mI=32,gI=852,vI=592,bI=15,xI=bI;function V_(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function yI(){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 $t.Buf16(320),this.work=new $t.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function n2(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=t2,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new $t.Buf32(gI),t.distcode=t.distdyn=new $t.Buf32(vI),t.sane=1,t.back=-1,ar)}function i2(e){var t;return!e||!e.state?en:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,n2(e))}function r2(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))?en:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,i2(e))}function a2(e,t){var n,i;return e?(i=new yI,e.state=i,i.window=null,n=r2(e,t),n!==ar&&(e.state=null),n):en}function wI(e){return a2(e,xI)}var J_=!0,Pd,qd;function _I(e){if(J_){var t;for(Pd=new $t.Buf32(512),qd=new $t.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(X_,e.lens,0,288,Pd,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Us(Q_,e.lens,0,32,qd,0,e.work,{bits:5}),J_=!1}e.lencode=Pd,e.lenbits=9,e.distcode=qd,e.distbits=5}function s2(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 $t.Buf8(a.wsize)),i>=a.wsize?($t.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),$t.arraySet(a.window,t,n-i,r,a.wnext),i-=r,i?($t.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 SI(e,t){var n,i,r,a,s,o,c,u,l,p,d,g,x,v,h=0,_,k,I,R,M,H,D,$,y=new $t.Buf8(4),P,O,b=[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===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,$=ar;e:for(;;)switch(n.mode){case t2: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=Cn(n.check,y,2,0),u=0,l=0,n.mode=A_;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)!==T_){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?q_:Dn,u=0,l=0;break;case A_:for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(n.flags=u,(n.flags&255)!==T_){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=Cn(n.check,y,2,0)),u=0,l=0,n.mode=j_;case j_: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=Cn(n.check,y,4,0)),u=0,l=0,n.mode=M_;case M_: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=Cn(n.check,y,2,0)),u=0,l=0,n.mode=R_;case R_: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=Cn(n.check,y,2,0)),u=0,l=0}else n.head&&(n.head.extra=null);n.mode=I_;case I_: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)),$t.arraySet(n.head.extra,i,a,g,D)),n.flags&512&&(n.check=Cn(n.check,i,g,a)),o-=g,a+=g,n.length-=g),n.length))break e;n.length=0,n.mode=N_;case N_: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=Cn(n.check,i,g,a)),o-=g,a+=g,D)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=L_;case L_: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=Cn(n.check,i,g,a)),o-=g,a+=g,D)break e}else n.head&&(n.head.comment=null);n.mode=P_;case P_: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 q_:for(;l<32;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}e.adler=n.check=V_(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,dI;e.adler=n.check=1,n.mode=Dn;case Dn:if(t===pI||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=B_;break;case 1:if(_I(n),n.mode=yl,t===xl){u>>>=2,l-=2;break e}break;case 2:n.mode=D_;break;case 3:e.msg="invalid block type",n.mode=Me}u>>>=2,l-=2;break;case B_: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=F_;case F_:if(g=n.length,g){if(g>o&&(g=o),g>c&&(g=c),g===0)break e;$t.arraySet(r,i,a,g,s),o-=g,a+=g,c-=g,s+=g,n.length-=g;break}n.mode=Dn;break;case D_: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=$_;case $_:for(;n.have<n.ncode;){for(;l<3;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.lens[b[n.have++]]=u&7,u>>>=3,l-=3}for(;n.have<19;)n.lens[b[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,P={bits:n.lenbits},$=Us(uI,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=z_;case z_: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(X_,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(Q_,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,lI(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=K_;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=U_;case U_: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=W_;case W_: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=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.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=Y_;case Y_: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),v=n.window}else v=r,x=s-n.offset,g=n.length;g>c&&(g=c),c-=g,n.length-=g;do r[s++]=v[x++];while(--g);n.length===0&&(n.mode=wl);break;case K_: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?Cn(n.check,r,d,s-d):Bd(n.check,r,d,s-d)),d=c,(n.flags?u:V_(u))!==n.check){e.msg="incorrect data check",n.mode=Me;break}u=0,l=0}n.mode=G_;case G_: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=Z_;case Z_:$=fI;break e;case Me:$=e2;break e;case Dd:return Fd;case mI: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||d!==e.avail_out&&n.mode<Me&&(n.mode<Ld||t!==C_))&&s2(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?Cn(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===C_)&&$===ar&&($=hI),$)}function OI(e){if(!e||!e.state)return en;var t=e.state;return t.window&&(t.window=null),e.state=null,ar}function EI(e,t){var n;return!e||!e.state||(n=e.state,(n.wrap&2)===0)?en:(n.head=t,t.done=!1,ar)}function kI(e,t){var n=t.length,i,r,a;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==_l)?en:i.mode===_l&&(r=1,r=Bd(r,t,n,0),r!==i.check)?e2:(a=s2(e,t,n,n),a?(i.mode=Dd,Fd):(i.havedict=1,ar))}un.inflateReset=i2;un.inflateReset2=r2;un.inflateResetKeep=n2;un.inflateInit=wI;un.inflateInit2=a2;un.inflate=SI;un.inflateEnd=OI;un.inflateGetHeader=EI;un.inflateSetDictionary=kI;un.inflateInfo="pako inflate (from Nodeca project)"});var $d=w((xF,c2)=>{"use strict";c2.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 u2=w((yF,l2)=>{"use strict";function CI(){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}l2.exports=CI});var f2=w(Hs=>{"use strict";var Ca=o2(),Ws=qn(),Sl=kd(),ze=$d(),zd=ul(),TI=Cd(),AI=u2(),p2=Object.prototype.toString;function sr(e){if(!(this instanceof sr))return new sr(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 TI,this.strm.avail_out=0;var n=Ca.inflateInit2(this.strm,t.windowBits);if(n!==ze.Z_OK)throw new Error(zd[n]);if(this.header=new AI,Ca.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Sl.string2buf(t.dictionary):p2.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=Ca.inflateSetDictionary(this.strm,t.dictionary),n!==ze.Z_OK)))throw new Error(zd[n])}sr.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):p2.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=Ca.inflate(n,ze.Z_NO_FLUSH),a===ze.Z_NEED_DICT&&r&&(a=Ca.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=Ca.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)};sr.prototype.onData=function(e){this.chunks.push(e)};sr.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 sr(t);if(n.push(e,!0),n.err)throw n.msg||zd[n.err];return n.result}function jI(e,t){return t=t||{},t.raw=!0,Ud(e,t)}Hs.Inflate=sr;Hs.inflate=Ud;Hs.inflateRaw=jI;Hs.ungzip=Ud});var m2=w((_F,h2)=>{"use strict";var MI=qn().assign,RI=v_(),II=f2(),NI=$d(),d2={};MI(d2,RI,II,NI);h2.exports=d2});var v2=w(El=>{"use strict";var LI=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",PI=m2(),g2=Pe(),Ol=Dt(),qI=LI?"uint8array":"array";El.magic="\b\0";function or(e,t){Ol.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}g2.inherits(or,Ol);or.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(g2.transformTo(qI,e.data),!1)};or.prototype.flush=function(){Ol.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)};or.prototype.cleanUp=function(){Ol.prototype.cleanUp.call(this),this._pako=null};or.prototype._createPako=function(){this._pako=new PI[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 or("Deflate",e)};El.uncompressWorker=function(){return new or("Inflate",{})}});var Hd=w(Wd=>{"use strict";var b2=Dt();Wd.STORE={magic:"\0\0",compressWorker:function(e){return new b2("STORE compression")},uncompressWorker:function(){return new b2("STORE decompression")}};Wd.DEFLATE=v2()});var Yd=w(cr=>{"use strict";cr.LOCAL_FILE_HEADER="PK";cr.CENTRAL_FILE_HEADER="PK";cr.CENTRAL_DIRECTORY_END="PK";cr.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07";cr.ZIP64_CENTRAL_DIRECTORY_END="PK";cr.DATA_DESCRIPTOR="PK\x07\b"});var _2=w((kF,w2)=>{"use strict";var Ta=Pe(),Aa=Dt(),Kd=Ji(),x2=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},BI=function(e,t){var n=e;return e||(n=t?16893:33204),(n&65535)<<16},FI=function(e,t){return(e||0)&63},y2=function(e,t,n,i,r,a){var s=e.file,o=e.compression,c=a!==Kd.utf8encode,u=Ta.transformTo("string",a(s.name)),l=Ta.transformTo("string",Kd.utf8encode(s.name)),p=s.comment,d=Ta.transformTo("string",a(p)),g=Ta.transformTo("string",Kd.utf8encode(p)),x=l.length!==s.name.length,v=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||v)&&($|=2048);var y=0,P=0;M&&(y|=16),r==="UNIX"?(P=798,y|=BI(s.unixPermissions,M)):(P=20,y|=FI(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(x2(u),4)+l,k+="up"+Ce(I.length,2)+I),v&&(R=Ce(1,1)+Ce(x2(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 b=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:b,dirRecord:A}},DI=function(e,t,n,i,r){var a="",s=Ta.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},$I=function(e){var t="";return t=kl.DATA_DESCRIPTOR+Ce(e.crc32,4)+Ce(e.compressedSize,4)+Ce(e.uncompressedSize,4),t};function pn(e,t,n,i){Aa.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=[]}Ta.inherits(pn,Aa);pn.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,Aa.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-i-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=y2(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=y2(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:$I(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,i=DI(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,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(!Aa.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(!Aa.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(){Aa.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};w2.exports=pn});var O2=w(S2=>{"use strict";var zI=Hd(),UI=_2(),WI=function(e,t){var n=e||t,i=zI[n];if(!i)throw new Error(n+" is not a valid compression method !");return i};S2.generateWorker=function(e,t,n){var i=new UI(t.streamFiles,n,t.platform,t.encodeFileName),r=0;try{e.forEach(function(a,s){r++;var o=WI(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 k2=w((TF,E2)=>{"use strict";var HI=Pe(),Cl=Dt();function Ys(e,t){Cl.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}HI.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};E2.exports=Ys});var P2=w((AF,L2)=>{"use strict";var YI=Ji(),Ks=Pe(),j2=Dt(),KI=Xf(),M2=Qf(),C2=sl(),GI=Tw(),ZI=O2(),T2=_s(),VI=k2(),R2=function(e,t,n){var i=Ks.getTypeOf(t),r,a=Ks.extend(n||{},M2);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=I2(e)),a.createFolders&&(r=JI(e))&&N2.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 C2&&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 C2||t instanceof j2?c=t:T2.isNode&&T2.isStream(t)?c=new VI(e,t):c=Ks.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var u=new GI(e,c,a);this.files[e]=u},JI=function(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},I2=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},N2=function(e,t){return t=typeof t<"u"?t:M2.createFolders,e=I2(e),this.files[e]||R2.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function A2(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var XI={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(A2(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,R2.call(this,e,t,n);return this},folder:function(e){if(!e)return this;if(A2(e))return this.filter(function(r,a){return a.dir&&e.test(r)});var t=this.root+e,n=N2.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:YI.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=ZI.generateWorker(this,n,i)}catch(r){t=new j2("error"),t.error(r)}return new KI(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)}};L2.exports=XI});var Gd=w((jF,B2)=>{"use strict";var QI=Pe();function q2(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}q2.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 QI.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))}};B2.exports=q2});var Zd=w((MF,D2)=>{"use strict";var F2=Gd(),eN=Pe();function ja(e){F2.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=e[t]&255}eN.inherits(ja,F2);ja.prototype.byteAt=function(e){return this.data[this.zero+e]};ja.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};ja.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]};ja.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};D2.exports=ja});var U2=w((RF,z2)=>{"use strict";var $2=Gd(),tN=Pe();function Ma(e){$2.call(this,e)}tN.inherits(Ma,$2);Ma.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};Ma.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};Ma.prototype.readAndCheckSignature=function(e){var t=this.readData(4);return e===t};Ma.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=Ma});var Jd=w((IF,H2)=>{"use strict";var W2=Zd(),nN=Pe();function Vd(e){W2.call(this,e)}nN.inherits(Vd,W2);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};H2.exports=Vd});var G2=w((NF,K2)=>{"use strict";var Y2=Jd(),iN=Pe();function Xd(e){Y2.call(this,e)}iN.inherits(Xd,Y2);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};K2.exports=Xd});var Qd=w((LF,V2)=>{"use strict";var Tl=Pe(),Z2=Ln(),rN=Zd(),aN=U2(),sN=G2(),oN=Jd();V2.exports=function(e){var t=Tl.getTypeOf(e);return Tl.checkSupport(t),t==="string"&&!Z2.uint8array?new aN(e):t==="nodebuffer"?new sN(e):Z2.uint8array?new oN(Tl.transformTo("uint8array",e)):new rN(Tl.transformTo("array",e))}});var eS=w((PF,Q2)=>{"use strict";var eh=Qd(),di=Pe(),cN=sl(),J2=al(),Al=Ji(),jl=Hd(),lN=Ln(),uN=0,pN=3,fN=function(e){for(var t in jl)if(!!jl.hasOwnProperty(t)&&jl[t].magic===e)return jl[t];return null};function X2(e,t){this.options=e,this.loadOptions=t}X2.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=fN(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+di.pretty(this.compressionMethod)+" unknown (inner file : "+di.transformTo("string",this.fileName)+")");this.decompressed=new cN(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===uN&&(this.dosPermissions=this.externalFileAttributes&63),e===pN&&(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===di.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===di.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===di.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===di.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=lN.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=di.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var i=this.findExtraFieldUnicodeComment();if(i!==null)this.fileCommentStr=i;else{var r=di.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||J2(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||J2(this.fileComment)!==t.readInt(4)?null:Al.utf8decode(t.readData(e.length-5))}return null}};Q2.exports=X2});var iS=w((BF,nS)=>{"use strict";var dN=Qd(),$n=Pe(),fn=Yd(),hN=eS(),qF=Ji(),mN=Ln();function tS(e){this.files=[],this.loadOptions=e}tS.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=mN.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(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 hN({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===$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(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 i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var r=n-i;if(r>0)this.isSignature(n,fn.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=dN(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};nS.exports=tS});var oS=w((FF,sS)=>{"use strict";var rS=Pe(),Ml=ha(),gN=Ji(),vN=iS(),bN=nd(),aS=_s();function xN(e){return new Ml.Promise(function(t,n){var i=e.decompressed.getContentWorker().pipe(new bN);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()})}sS.exports=function(e,t){var n=this;return t=rS.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:gN.utf8decode}),aS.isNode&&aS.isStream(e)?Ml.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):rS.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(i){var r=new vN(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(xN(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 lS=w((DF,cS)=>{"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=P2();tn.prototype.loadAsync=oS();tn.support=Ln();tn.defaults=Qf();tn.version="3.7.1";tn.loadAsync=function(e,t){return new tn().loadAsync(e,t)};tn.external=ha();cS.exports=tn});var ur=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"},yN="tag:yaml.org,2002:",wN={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function uS(e){let t=[0],n=e.indexOf(`
|
|
36
43
|
`);for(;n!==-1;)n+=1,t.push(n),n=e.indexOf(`
|
|
37
|
-
`,n);return t}function
|
|
38
|
-
`;)--a;return i.slice(r,a)}function
|
|
39
|
-
${c}${u}${o}`}var
|
|
40
|
-
`)return i;let r=
|
|
44
|
+
`,n);return t}function pS(e){let t,n;return typeof e=="string"?(t=uS(e),n=e):(Array.isArray(e)&&(e=e[0]),e&&e.context&&(e.lineStarts||(e.lineStarts=uS(e.context.src)),t=e.lineStarts,n=e.context.src)),{lineStarts:t,src:n}}function th(e,t){if(typeof e!="number"||e<0)return null;let{lineStarts:n,src:i}=pS(t);if(!n||!i||e>i.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 r=n.length;return{line:r,col:e-n[r-1]+1}}function _N(e,t){let{lineStarts:n,src:i}=pS(t);if(!n||!(e>=1)||e>n.length)return null;let r=n[e-1],a=n[e];for(;a&&a>r&&i[a-1]===`
|
|
45
|
+
`;)--a;return i.slice(r,a)}function SN({start:e,end:t},n,i=80){let r=_N(e.line,n);if(!r)return null;let{col:a}=e;if(r.length>i)if(a<=i-10)r=r.substr(0,i-1)+"\u2026";else{let l=Math.round(i/2);r.length>a+l&&(r=r.substr(0,a+l-1)+"\u2026"),a-=r.length-i,r="\u2026"+r.substr(1-i)}let s=1,o="";t&&(t.line===e.line&&a+(t.col-e.col)<=i+1?s=t.col-e.col:(s=Math.min(r.length+1,i)-a,o="\u2026"));let c=a>1?" ".repeat(a-1):"",u="^".repeat(s);return`${r}
|
|
46
|
+
${c}${u}${o}`}var hi=class{static copy(t){return new hi(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:i,end:r}=this;if(t.length===0||r<=t[0])return this.origStart=i,this.origEnd=r,n;let a=n;for(;a<t.length&&!(t[a]>i);)++a;this.origStart=i+a;let s=a;for(;a<t.length&&!(t[a]>=r);)++a;return this.origEnd=r+a,s}},at=class{static addStringTerminator(t,n,i){if(i[i.length-1]===`
|
|
47
|
+
`)return i;let r=at.endOfWhiteSpace(t,n);return r>=t.length||t[r]===`
|
|
41
48
|
`?i+`
|
|
42
49
|
`:i}static atDocumentBoundary(t,n,i){let r=t[n];if(!r)return!0;let a=t[n-1];if(a&&a!==`
|
|
43
|
-
`)return!1;if(i){if(r!==i)return!1}else if(r!==
|
|
50
|
+
`)return!1;if(i){if(r!==i)return!1}else if(r!==zn.DIRECTIVES_END&&r!==zn.DOCUMENT_END)return!1;let s=t[n+1],o=t[n+2];if(s!==r||o!==r)return!1;let c=t[n+3];return!c||c===`
|
|
44
51
|
`||c===" "||c===" "}static endOfIdentifier(t,n){let i=t[n],r=i==="<",a=r?[`
|
|
45
52
|
`," "," ",">"]:[`
|
|
46
53
|
`," "," ","[","]","{","}",","];for(;i&&a.indexOf(i)===-1;)i=t[n+=1];return r&&i===">"&&(n+=1),n}static endOfIndent(t,n){let i=t[n];for(;i===" ";)i=t[n+=1];return n}static endOfLine(t,n){let i=t[n];for(;i&&i!==`
|
|
47
54
|
`;)i=t[n+=1];return n}static endOfWhiteSpace(t,n){let i=t[n];for(;i===" "||i===" ";)i=t[n+=1];return n}static startOfLine(t,n){let i=t[n-1];if(i===`
|
|
48
55
|
`)return n;for(;i&&i!==`
|
|
49
|
-
`;)i=t[n-=1];return n+1}static endOfBlockIndent(t,n,i){let r=
|
|
56
|
+
`;)i=t[n-=1];return n+1}static endOfBlockIndent(t,n,i){let r=at.endOfIndent(t,i);if(r>i+n)return r;{let a=at.endOfWhiteSpace(t,r),s=t[a];if(!s||s===`
|
|
50
57
|
`)return a}return null}static atBlank(t,n,i){let r=t[n];return r===`
|
|
51
58
|
`||r===" "||r===" "||i&&!r}static nextNodeIsIndented(t,n,i){return!t||n<0?!1:n>0?!0:i&&t==="-"}static normalizeOffset(t,n){let i=t[n];return i?i!==`
|
|
52
59
|
`&&t[n-1]===`
|
|
53
|
-
`?n-1:
|
|
60
|
+
`?n-1:at.endOfWhiteSpace(t,n):n}static foldNewline(t,n,i){let r=0,a=!1,s="",o=t[n+1];for(;o===" "||o===" "||o===`
|
|
54
61
|
`;){switch(o){case`
|
|
55
62
|
`:r=0,n+=1,s+=`
|
|
56
|
-
`;break;case" ":r<=i&&(a=!0),n=
|
|
57
|
-
`):null}commentHasRequiredWhitespace(t){let{src:n}=this.context;if(this.header&&t===this.header.end||!this.valueRange)return!1;let{end:i}=this.valueRange;return t!==i||
|
|
58
|
-
`)return!0;return!1}parseComment(t){let{src:n}=this.context;if(n[t]===
|
|
63
|
+
`;break;case" ":r<=i&&(a=!0),n=at.endOfWhiteSpace(t,n+2)-1;break;case" ":r+=1,n+=1;break}o=t[n+1]}return s||(s=" "),o&&r<=i&&(a=!0),{fold:s,offset:n,error:a}}constructor(t,n,i){Object.defineProperty(this,"context",{value:i||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=n||[],this.type=t,this.value=null}getPropValue(t,n,i){if(!this.context)return null;let{src:r}=this.context,a=this.props[t];return a&&r[a.start]===n?r.slice(a.start+(i?1:0),a.end):null}get anchor(){for(let t=0;t<this.props.length;++t){let n=this.getPropValue(t,zn.ANCHOR,!0);if(n!=null)return n}return null}get comment(){let t=[];for(let n=0;n<this.props.length;++n){let i=this.getPropValue(n,zn.COMMENT,!0);i!=null&&t.push(i)}return t.length>0?t.join(`
|
|
64
|
+
`):null}commentHasRequiredWhitespace(t){let{src:n}=this.context;if(this.header&&t===this.header.end||!this.valueRange)return!1;let{end:i}=this.valueRange;return t!==i||at.atBlank(n,i-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]===zn.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]!==zn.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return[Gs.FLOW_MAP,Gs.FLOW_SEQ,Gs.QUOTE_DOUBLE,Gs.QUOTE_SINGLE].indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return;let t=th(this.range.start,this.context.root);if(!t)return;let n=th(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,zn.TAG,!1);if(n!=null){if(n[1]==="<")return{verbatim:n.slice(2,-1)};{let[i,r,a]=n.match(/^(.*!)([^!]*)$/);return{handle:r,suffix:a}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;let{start:t,end:n}=this.valueRange,{src:i}=this.context;for(let r=t;r<n;++r)if(i[r]===`
|
|
65
|
+
`)return!0;return!1}parseComment(t){let{src:n}=this.context;if(n[t]===zn.COMMENT){let i=at.endOfLine(n,t+1),r=new hi(t,i);return this.props.push(r),i}return t}setOrigRanges(t,n){return this.range&&(n=this.range.setOrigRange(t,n)),this.valueRange&&this.valueRange.setOrigRange(t,n),this.props.forEach(i=>i.setOrigRange(t,n)),n}toString(){let{context:{src:t},range:n,value:i}=this;if(i!=null)return i;let r=t.slice(n.start,n.end);return at.addStringTerminator(t,n.end,r)}},lr=class extends Error{constructor(t,n,i){if(!i||!(n instanceof at))throw new Error(`Invalid arguments for new ${t}`);super(),this.name=t,this.message=i,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 hi(this.offset,this.offset+1);let n=t&&th(this.offset,t);if(n){let i={line:n.line,col:n.col+1};this.linePos={start:n,end:i}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:n,col:i}=this.linePos.start;this.message+=` at line ${n}, column ${i}`;let r=t&&SN(this.linePos,t);r&&(this.message+=`:
|
|
59
66
|
|
|
60
67
|
${r}
|
|
61
|
-
`)}delete this.source}},
|
|
68
|
+
`)}delete this.source}},nh=class extends lr{constructor(t,n){super("YAMLReferenceError",t,n)}},Zs=class extends lr{constructor(t,n){super("YAMLSemanticError",t,n)}},ih=class extends lr{constructor(t,n){super("YAMLSyntaxError",t,n)}},rh=class extends lr{constructor(t,n){super("YAMLWarning",t,n)}};function ON(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ra=class extends at{static endOfLine(t,n,i){let r=t[n],a=n;for(;r&&r!==`
|
|
62
69
|
`&&!(i&&(r==="["||r==="]"||r==="{"||r==="}"||r===","));){let s=t[a+1];if(r===":"&&(!s||s===`
|
|
63
70
|
`||s===" "||s===" "||i&&s===",")||(r===" "||r===" ")&&s==="#")break;a+=1,r=s}return a}get strValue(){if(!this.valueRange||!this.context)return null;let{start:t,end:n}=this.valueRange,{src:i}=this.context,r=i[n-1];for(;t<n&&(r===`
|
|
64
71
|
`||r===" "||r===" ");)r=i[--n-1];let a="";for(let o=t;o<n;++o){let c=i[o];if(c===`
|
|
65
|
-
`){let{fold:u,offset:l}=
|
|
66
|
-
`&&(a+=o>u?i.slice(u,o+1):c)}else a+=c}let s=i[t];switch(s){case" ":{let o="Plain value cannot start with a tab character";return{errors:[new
|
|
67
|
-
`&&!
|
|
68
|
-
`?a=c:(s=
|
|
69
|
-
`&&(a=
|
|
70
|
-
`||u==="#";){if(u==="#"){let
|
|
71
|
-
`&&p.length===0&&(
|
|
72
|
-
`?!1:
|
|
72
|
+
`){let{fold:u,offset:l}=at.foldNewline(i,o,-1);a+=u,o=l}else if(c===" "||c===" "){let u=o,l=i[o+1];for(;o<n&&(l===" "||l===" ");)o+=1,l=i[o+1];l!==`
|
|
73
|
+
`&&(a+=o>u?i.slice(u,o+1):c)}else a+=c}let s=i[t];switch(s){case" ":{let o="Plain value cannot start with a tab character";return{errors:[new Zs(this,o)],str:a}}case"@":case"`":{let o=`Plain value cannot start with reserved character ${s}`;return{errors:[new Zs(this,o)],str:a}}default:return a}}parseBlockValue(t){let{indent:n,inFlow:i,src:r}=this.context,a=t,s=t;for(let o=r[a];o===`
|
|
74
|
+
`&&!at.atDocumentBoundary(r,a+1);o=r[a]){let c=at.endOfBlockIndent(r,n,a+1);if(c===null||r[c]==="#")break;r[c]===`
|
|
75
|
+
`?a=c:(s=Ra.endOfLine(r,c,i),a=s)}return this.valueRange.isEmpty()&&(this.valueRange.start=t),this.valueRange.end=s,s}parse(t,n){this.context=t;let{inFlow:i,src:r}=t,a=n,s=r[a];return s&&s!=="#"&&s!==`
|
|
76
|
+
`&&(a=Ra.endOfLine(r,n,i)),this.valueRange=new hi(n,a),a=at.endOfWhiteSpace(r,a),a=this.parseComment(a),(!this.hasComment||this.valueRange.isEmpty())&&(a=this.parseBlockValue(a)),a}};At.Char=zn;At.Node=at;At.PlainValue=Ra;At.Range=hi;At.Type=Gs;At.YAMLError=lr;At.YAMLReferenceError=nh;At.YAMLSemanticError=Zs;At.YAMLSyntaxError=ih;At.YAMLWarning=rh;At._defineProperty=ON;At.defaultTagPrefix=yN;At.defaultTags=wN});var dS=w(fS=>{"use strict";var C=ur(),dr=class extends C.Node{constructor(){super(C.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(t,n){return this.context=t,this.range=new C.Range(n,n+1),n+1}},Vs=class extends C.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:i,src:r}=t,{atLineStart:a,lineStart:s}=t;!a&&this.type===C.Type.SEQ_ITEM&&(this.error=new C.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let o=a?n-s:t.indent,c=C.Node.endOfWhiteSpace(r,n+1),u=r[c],l=u==="#",p=[],d=null;for(;u===`
|
|
77
|
+
`||u==="#";){if(u==="#"){let x=C.Node.endOfLine(r,c+1);p.push(new C.Range(c,x)),c=x}else{a=!0,s=c+1;let x=C.Node.endOfWhiteSpace(r,s);r[x]===`
|
|
78
|
+
`&&p.length===0&&(d=new dr,s=d.parse({src:r},s)),c=C.Node.endOfIndent(r,s)}u=r[c]}if(C.Node.nextNodeIsIndented(u,c-(s+o),this.type!==C.Type.SEQ_ITEM)?this.node=i({atLineStart:a,inCollection:!1,indent:o,lineStart:s,parent:this},c):u&&s>n+1&&(c=s-1),this.node){if(d){let x=t.parent.items||t.parent.contents;x&&x.push(d)}p.length&&Array.prototype.push.apply(this.props,p),c=this.node.range.end}else if(l){let x=p[0];this.props.push(x),c=x.end}else c=C.Node.endOfLine(r,n+1);let g=this.node?this.node.valueRange.end:c;return this.valueRange=new C.Range(n,g),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:i,value:r}=this;if(r!=null)return r;let a=n?t.slice(i.start,n.range.start)+String(n):t.slice(i.start,i.end);return C.Node.addStringTerminator(t,i.end,a)}},pr=class extends C.Node{constructor(){super(C.Type.COMMENT)}parse(t,n){this.context=t;let i=this.parseComment(n);return this.range=new C.Range(n,i),i}};function ah(e){let t=e;for(;t instanceof Vs;)t=t.node;if(!(t instanceof hr))return null;let n=t.items.length,i=-1;for(let s=n-1;s>=0;--s){let o=t.items[s];if(o.type===C.Type.COMMENT){let{indent:c,lineStart:u}=o.context;if(c>0&&o.range.start>=u+c)break;i=s}else if(o.type===C.Type.BLANK_LINE)i=s;else break}if(i===-1)return null;let r=t.items.splice(i,n-i),a=r[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 r}var hr=class extends C.Node{static nextContentHasIndent(t,n,i){let r=C.Node.endOfLine(t,n)+1;n=C.Node.endOfWhiteSpace(t,r);let a=t[n];return a?n>=r+i?!0:a!=="#"&&a!==`
|
|
79
|
+
`?!1:hr.nextContentHasIndent(t,n,i):!1}constructor(t){super(t.type===C.Type.SEQ_ITEM?C.Type.SEQ:C.Type.MAP);for(let i=t.props.length-1;i>=0;--i)if(t.props[i].start<t.context.lineStart){this.props=t.props.slice(0,i+1),t.props=t.props.slice(i+1);let r=t.props[0]||t.valueRange;t.range.start=r.start;break}this.items=[t];let n=ah(t);n&&Array.prototype.push.apply(this.items,n)}get includesTrailingLines(){return this.items.length>0}parse(t,n){this.context=t;let{parseNode:i,src:r}=t,a=C.Node.startOfLine(r,n),s=this.items[0];s.context.parent=this,this.valueRange=C.Range.copy(s.valueRange);let o=s.range.start-s.context.lineStart,c=n;c=C.Node.normalizeOffset(r,c);let u=r[c],l=C.Node.endOfWhiteSpace(r,a)===c,p=!1;for(;u;){for(;u===`
|
|
73
80
|
`||u==="#";){if(l&&u===`
|
|
74
|
-
`&&!p){let
|
|
75
|
-
`||
|
|
76
|
-
`||
|
|
77
|
-
`&&(a=
|
|
81
|
+
`&&!p){let x=new dr;if(c=x.parse({src:r},c),this.valueRange.end=c,c>=r.length){u=null;break}this.items.push(x),c-=1}else if(u==="#"){if(c<a+o&&!hr.nextContentHasIndent(r,c,o))return c;let x=new pr;if(c=x.parse({indent:o,lineStart:a,src:r},c),this.items.push(x),this.valueRange.end=c,c>=r.length){u=null;break}}if(a=c+1,c=C.Node.endOfIndent(r,a),C.Node.atBlank(r,c)){let x=C.Node.endOfWhiteSpace(r,c),v=r[x];(!v||v===`
|
|
82
|
+
`||v==="#")&&(c=x)}u=r[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 x="All collection items must start at the same column";this.error=new C.YAMLSyntaxError(this,x)}}if(s.type===C.Type.SEQ_ITEM){if(u!=="-"){a>n&&(c=a);break}}else if(u==="-"&&!this.error){let x=r[c+1];if(!x||x===`
|
|
83
|
+
`||x===" "||x===" "){let v="A collection cannot be both a mapping and a sequence";this.error=new C.YAMLSyntaxError(this,v)}}let d=i({atLineStart:l,inCollection:!0,indent:o,lineStart:a,parent:this},c);if(!d)return c;if(this.items.push(d),this.valueRange.end=d.valueRange.end,c=C.Node.normalizeOffset(r,d.range.end),u=r[c],l=!1,p=d.includesTrailingLines,u){let x=c-1,v=r[x];for(;v===" "||v===" ";)v=r[--x];v===`
|
|
84
|
+
`&&(a=x+1,l=!0)}let g=ah(d);g&&Array.prototype.push.apply(this.items,g)}return c}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.items.forEach(i=>{n=i.setOrigRanges(t,n)}),n}toString(){let{context:{src:t},items:n,range:i,value:r}=this;if(r!=null)return r;let a=t.slice(i.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 C.Node.addStringTerminator(t,i.end,a)}},sh=class extends C.Node{constructor(){super(C.Type.DIRECTIVE),this.name=null}get parameters(){let t=this.rawValue;return t?t.trim().split(/[ \t]+/):[]}parseName(t){let{src:n}=this.context,i=t,r=n[i];for(;r&&r!==`
|
|
78
85
|
`&&r!==" "&&r!==" ";)r=n[i+=1];return this.name=n.slice(t,i),i}parseParameters(t){let{src:n}=this.context,i=t,r=n[i];for(;r&&r!==`
|
|
79
|
-
`&&r!=="#";)r=n[i+=1];return this.valueRange=new
|
|
80
|
-
`?i:n}constructor(){super(
|
|
81
|
-
`:if(i){let s=new
|
|
82
|
-
`:if(s){let o=new
|
|
83
|
-
`:a+=1;break;case void 0:break;default:this.error=new
|
|
86
|
+
`&&r!=="#";)r=n[i+=1];return this.valueRange=new C.Range(t,i),i}parse(t,n){this.context=t;let i=this.parseName(n+1);return i=this.parseParameters(i),i=this.parseComment(i),this.range=new C.Range(n,i),i}},Ia=class extends C.Node{static startCommentOrEndBlankLine(t,n){let i=C.Node.endOfWhiteSpace(t,n),r=t[i];return r==="#"||r===`
|
|
87
|
+
`?i:n}constructor(){super(C.Type.DOCUMENT),this.directives=null,this.contents=null,this.directivesEndMarker=null,this.documentEndMarker=null}parseDirectives(t){let{src:n}=this.context;this.directives=[];let i=!0,r=!1,a=t;for(;!C.Node.atDocumentBoundary(n,a,C.Char.DIRECTIVES_END);)switch(a=Ia.startCommentOrEndBlankLine(n,a),n[a]){case`
|
|
88
|
+
`:if(i){let s=new dr;a=s.parse({src:n},a),a<n.length&&this.directives.push(s)}else a+=1,i=!0;break;case"#":{let s=new pr;a=s.parse({src:n},a),this.directives.push(s),i=!1}break;case"%":{let s=new sh;a=s.parse({parent:this,src:n},a),this.directives.push(s),r=!0,i=!1}break;default:return r?this.error=new C.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),a}return n[a]?(this.directivesEndMarker=new C.Range(a,a+3),a+3):(r?this.error=new C.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),a)}parseContents(t){let{parseNode:n,src:i}=this.context;this.contents||(this.contents=[]);let r=t;for(;i[r-1]==="-";)r-=1;let a=C.Node.endOfWhiteSpace(i,t),s=r===t;for(this.valueRange=new C.Range(a);!C.Node.atDocumentBoundary(i,a,C.Char.DOCUMENT_END);){switch(i[a]){case`
|
|
89
|
+
`:if(s){let o=new dr;a=o.parse({src:i},a),a<i.length&&this.contents.push(o)}else a+=1,s=!0;r=a;break;case"#":{let o=new pr;a=o.parse({src:i},a),this.contents.push(o),s=!1}break;default:{let o=C.Node.endOfIndent(i,a),u=n({atLineStart:s,indent:-1,inFlow:!1,inCollection:!1,lineStart:r,parent:this},o);if(!u)return this.valueRange.end=o;this.contents.push(u),a=u.range.end,s=!1;let l=ah(u);l&&Array.prototype.push.apply(this.contents,l)}}a=Ia.startCommentOrEndBlankLine(i,a)}if(this.valueRange.end=a,i[a]&&(this.documentEndMarker=new C.Range(a,a+3),a+=3,i[a])){if(a=C.Node.endOfWhiteSpace(i,a),i[a]==="#"){let o=new pr;a=o.parse({src:i},a),this.contents.push(o)}switch(i[a]){case`
|
|
90
|
+
`:a+=1;break;case void 0:break;default:this.error=new C.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:i}=t,r=i.charCodeAt(n)===65279?n+1:n;return r=this.parseDirectives(r),r=this.parseContents(r),r}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.directives.forEach(i=>{n=i.setOrigRanges(t,n)}),this.directivesEndMarker&&(n=this.directivesEndMarker.setOrigRange(t,n)),this.contents.forEach(i=>{n=i.setOrigRanges(t,n)}),this.documentEndMarker&&(n=this.documentEndMarker.setOrigRange(t,n)),n}toString(){let{contents:t,directives:n,value:i}=this;if(i!=null)return i;let r=n.join("");return t.length>0&&((n.length>0||t[0].type===C.Type.COMMENT)&&(r+=`---
|
|
84
91
|
`),r+=t.join("")),r[r.length-1]!==`
|
|
85
92
|
`&&(r+=`
|
|
86
|
-
`),r}},
|
|
87
|
-
`||s===" "||s===" ";){if(n-=1,n<=t){if(this.chomping===
|
|
88
|
-
`&&(a=n),s=r[n-1]}let o=n+1;a&&(this.chomping===
|
|
89
|
-
`)
|
|
93
|
+
`),r}},oh=class extends C.Node{parse(t,n){this.context=t;let{src:i}=t,r=C.Node.endOfIdentifier(i,n+1);return this.valueRange=new C.Range(n+1,r),r=C.Node.endOfWhiteSpace(i,r),r=this.parseComment(r),r}},mi={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},ch=class extends C.Node{constructor(t,n){super(t,n),this.blockIndent=null,this.chomping=mi.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===mi.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:t,end:n}=this.valueRange,{indent:i,src:r}=this.context;if(this.valueRange.isEmpty())return"";let a=null,s=r[n-1];for(;s===`
|
|
94
|
+
`||s===" "||s===" ";){if(n-=1,n<=t){if(this.chomping===mi.KEEP)break;return""}s===`
|
|
95
|
+
`&&(a=n),s=r[n-1]}let o=n+1;a&&(this.chomping===mi.KEEP?(o=a,n=this.valueRange.end):n=a);let c=i+this.blockIndent,u=this.type===C.Type.BLOCK_FOLDED,l=!0,p="",d="",g=!1;for(let x=t;x<n;++x){for(let h=0;h<c&&r[x]===" ";++h)x+=1;let v=r[x];if(v===`
|
|
96
|
+
`)d===`
|
|
90
97
|
`?p+=`
|
|
91
|
-
`:
|
|
92
|
-
`;else{let
|
|
93
|
-
`:!
|
|
94
|
-
`&&(
|
|
98
|
+
`:d=`
|
|
99
|
+
`;else{let h=C.Node.endOfLine(r,x),_=r.slice(x,h);x=h,u&&(v===" "||v===" ")&&x<o?(d===" "?d=`
|
|
100
|
+
`:!g&&!l&&d===`
|
|
101
|
+
`&&(d=`
|
|
95
102
|
|
|
96
|
-
`),p+=
|
|
97
|
-
`,
|
|
98
|
-
`}parseBlockHeader(t){let{src:n}=this.context,i=t+1,r="";for(;;){let a=n[i];switch(a){case"-":this.chomping=
|
|
99
|
-
`&&(a+=1,!
|
|
100
|
-
`&&p<this.blockIndent){if(i[u]==="#")break;if(!this.error){let
|
|
101
|
-
`){if(p<o){let
|
|
102
|
-
`?a=u:a=s=
|
|
103
|
-
`:{s=c+1;let u=
|
|
104
|
-
`){let l=new
|
|
105
|
-
`||u===" "||u===" "||u===","||o===":"&&this.prevNodeIsJsonLike()){this.items.push({char:o,offset:c}),c+=1;break}}default:{let u=i({atLineStart:!1,inCollection:!1,inFlow:!0,indent:-1,lineStart:s,parent:this},c);if(!u)return this.valueRange=new
|
|
103
|
+
`),p+=d+_,d=h<n&&r[h]||"",g=!0):(p+=d+_,d=u&&x<o?" ":`
|
|
104
|
+
`,g=!1),l&&_!==""&&(l=!1)}}return this.chomping===mi.STRIP?p:p+`
|
|
105
|
+
`}parseBlockHeader(t){let{src:n}=this.context,i=t+1,r="";for(;;){let a=n[i];switch(a){case"-":this.chomping=mi.STRIP;break;case"+":this.chomping=mi.KEEP;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":r+=a;break;default:return this.blockIndent=Number(r)||null,this.header=new C.Range(t,i),i}i+=1}}parseBlockValue(t){let{indent:n,src:i}=this.context,r=!!this.blockIndent,a=t,s=t,o=1;for(let c=i[a];c===`
|
|
106
|
+
`&&(a+=1,!C.Node.atDocumentBoundary(i,a));c=i[a]){let u=C.Node.endOfBlockIndent(i,n,a);if(u===null)break;let l=i[u],p=u-(a+n);if(this.blockIndent){if(l&&l!==`
|
|
107
|
+
`&&p<this.blockIndent){if(i[u]==="#")break;if(!this.error){let g=`Block scalars must not be less indented than their ${r?"explicit indentation indicator":"first line"}`;this.error=new C.YAMLSemanticError(this,g)}}}else if(i[u]!==`
|
|
108
|
+
`){if(p<o){let d="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";this.error=new C.YAMLSemanticError(this,d)}this.blockIndent=p}else p>o&&(o=p);i[u]===`
|
|
109
|
+
`?a=u:a=s=C.Node.endOfLine(i,u)}return this.chomping!==mi.KEEP&&(a=i[s]?s+1:s),this.valueRange=new C.Range(t+1,a),a}parse(t,n){this.context=t;let{src:i}=t,r=this.parseBlockHeader(n);return r=C.Node.endOfWhiteSpace(i,r),r=this.parseComment(r),r=this.parseBlockValue(r),r}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.header?this.header.setOrigRange(t,n):n}},lh=class extends C.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===C.Type.COMMENT&&this.prevNodeIsJsonLike(t-1))}parse(t,n){this.context=t;let{parseNode:i,src:r}=t,{indent:a,lineStart:s}=t,o=r[n];this.items=[{char:o,offset:n}];let c=C.Node.endOfWhiteSpace(r,n+1);for(o=r[c];o&&o!=="]"&&o!=="}";){switch(o){case`
|
|
110
|
+
`:{s=c+1;let u=C.Node.endOfWhiteSpace(r,s);if(r[u]===`
|
|
111
|
+
`){let l=new dr;s=l.parse({src:r},s),this.items.push(l)}if(c=C.Node.endOfIndent(r,s),c<=s+a&&(o=r[c],c<s+a||o!=="]"&&o!=="}")){let l="Insufficient indentation in flow collection";this.error=new C.YAMLSemanticError(this,l)}}break;case",":this.items.push({char:o,offset:c}),c+=1;break;case"#":{let u=new pr;c=u.parse({src:r},c),this.items.push(u)}break;case"?":case":":{let u=r[c+1];if(u===`
|
|
112
|
+
`||u===" "||u===" "||u===","||o===":"&&this.prevNodeIsJsonLike()){this.items.push({char:o,offset:c}),c+=1;break}}default:{let u=i({atLineStart:!1,inCollection:!1,inFlow:!0,indent:-1,lineStart:s,parent:this},c);if(!u)return this.valueRange=new C.Range(n,c),c;this.items.push(u),c=C.Node.normalizeOffset(r,u.range.end)}}c=C.Node.endOfWhiteSpace(r,c),o=r[c]}return this.valueRange=new C.Range(n,c+1),o&&(this.items.push({char:o,offset:c}),c=C.Node.endOfWhiteSpace(r,c+1),c=this.parseComment(c)),c}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.items.forEach(i=>{if(i instanceof C.Node)n=i.setOrigRanges(t,n);else if(t.length===0)i.origOffset=i.offset;else{let r=n;for(;r<t.length&&!(t[r]>i.offset);)++r;i.origOffset=i.offset+r,n=r}}),n}toString(){let{context:{src:t},items:n,range:i,value:r}=this;if(r!=null)return r;let a=n.filter(c=>c instanceof C.Node),s="",o=i.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]===`
|
|
106
113
|
`&&t[o-1]!==`
|
|
107
114
|
`&&t[o]===`
|
|
108
|
-
`&&(o+=1)}),s+=t.slice(o,i.end),
|
|
109
|
-
`){
|
|
115
|
+
`&&(o+=1)}),s+=t.slice(o,i.end),C.Node.addStringTerminator(t,i.end,s)}},Js=class extends C.Node{static endOfQuote(t,n){let i=t[n];for(;i&&i!=='"';)n+=i==="\\"?2:1,i=t[n];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let t=[],{start:n,end:i}=this.valueRange,{indent:r,src:a}=this.context;a[i-1]!=='"'&&t.push(new C.YAMLSyntaxError(this,'Missing closing "quote'));let s="";for(let o=n+1;o<i-1;++o){let c=a[o];if(c===`
|
|
116
|
+
`){C.Node.atDocumentBoundary(a,o+1)&&t.push(new C.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:u,offset:l,error:p}=C.Node.foldNewline(a,o,r);s+=u,o=l,p&&t.push(new C.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+=`
|
|
110
117
|
`;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`
|
|
111
|
-
`:for(;a[o+1]===" "||a[o+1]===" ";)o+=1;break;default:t.push(new
|
|
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,i){let{src:r}=this.context,a=r.substr(t,n),o=a.length===n&&/^[0-9a-fA-F]+$/.test(a)?parseInt(a,16):NaN;return isNaN(o)?(i.push(new
|
|
113
|
-
`){
|
|
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:i}=t,r=
|
|
118
|
+
`:for(;a[o+1]===" "||a[o+1]===" ";)o+=1;break;default:t.push(new C.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!==`
|
|
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,i){let{src:r}=this.context,a=r.substr(t,n),o=a.length===n&&/^[0-9a-fA-F]+$/.test(a)?parseInt(a,16):NaN;return isNaN(o)?(i.push(new C.YAMLSyntaxError(this,`Invalid escape sequence ${r.substr(t-2,n+2)}`)),r.substr(t-2,n+2)):String.fromCodePoint(o)}parse(t,n){this.context=t;let{src:i}=t,r=Js.endOfQuote(i,n+1);return this.valueRange=new C.Range(n,r),r=C.Node.endOfWhiteSpace(i,r),r=this.parseComment(r),r}},Xs=class extends C.Node{static endOfQuote(t,n){let i=t[n];for(;i;)if(i==="'"){if(t[n+1]!=="'")break;i=t[n+=2]}else i=t[n+=1];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let t=[],{start:n,end:i}=this.valueRange,{indent:r,src:a}=this.context;a[i-1]!=="'"&&t.push(new C.YAMLSyntaxError(this,"Missing closing 'quote"));let s="";for(let o=n+1;o<i-1;++o){let c=a[o];if(c===`
|
|
120
|
+
`){C.Node.atDocumentBoundary(a,o+1)&&t.push(new C.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:u,offset:l,error:p}=C.Node.foldNewline(a,o,r);s+=u,o=l,p&&t.push(new C.YAMLSemanticError(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if(c==="'")s+=c,o+=1,a[o]!=="'"&&t.push(new C.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!==`
|
|
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:i}=t,r=Xs.endOfQuote(i,n+1);return this.valueRange=new C.Range(n,r),r=C.Node.endOfWhiteSpace(i,r),r=this.parseComment(r),r}};function EN(e,t){switch(e){case C.Type.ALIAS:return new oh(e,t);case C.Type.BLOCK_FOLDED:case C.Type.BLOCK_LITERAL:return new ch(e,t);case C.Type.FLOW_MAP:case C.Type.FLOW_SEQ:return new lh(e,t);case C.Type.MAP_KEY:case C.Type.MAP_VALUE:case C.Type.SEQ_ITEM:return new Vs(e,t);case C.Type.COMMENT:case C.Type.PLAIN:return new C.PlainValue(e,t);case C.Type.QUOTE_DOUBLE:return new Js(e,t);case C.Type.QUOTE_SINGLE:return new Xs(e,t);default:return null}}var fr=class{static parseType(t,n,i){switch(t[n]){case"*":return C.Type.ALIAS;case">":return C.Type.BLOCK_FOLDED;case"|":return C.Type.BLOCK_LITERAL;case"{":return C.Type.FLOW_MAP;case"[":return C.Type.FLOW_SEQ;case"?":return!i&&C.Node.atBlank(t,n+1,!0)?C.Type.MAP_KEY:C.Type.PLAIN;case":":return!i&&C.Node.atBlank(t,n+1,!0)?C.Type.MAP_VALUE:C.Type.PLAIN;case"-":return!i&&C.Node.atBlank(t,n+1,!0)?C.Type.SEQ_ITEM:C.Type.PLAIN;case'"':return C.Type.QUOTE_DOUBLE;case"'":return C.Type.QUOTE_SINGLE;default:return C.Type.PLAIN}}constructor(t={},{atLineStart:n,inCollection:i,inFlow:r,indent:a,lineStart:s,parent:o}={}){C._defineProperty(this,"parseNode",(c,u)=>{if(C.Node.atDocumentBoundary(this.src,u))return null;let l=new fr(this,c),{props:p,type:d,valueStart:g}=l.parseProps(u),x=EN(d,p),v=x.parse(l,g);if(x.range=new C.Range(u,v),v<=u&&(x.error=new Error("Node#parse consumed no characters"),x.error.parseEnd=v,x.error.source=x,x.range.end=u+1),l.nodeStartsCollection(x)){!x.error&&!l.atLineStart&&l.parent.type===C.Type.DOCUMENT&&(x.error=new C.YAMLSyntaxError(x,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let h=new hr(x);return v=h.parse(new fr(l),v),h.range=new C.Range(u,v),h}return x}),this.atLineStart=n??(t.atLineStart||!1),this.inCollection=i??(t.inCollection||!1),this.inFlow=r??(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:i,src:r}=this;if(n||i)return!1;if(t instanceof Vs)return!0;let a=t.range.end;return r[a]===`
|
|
115
122
|
`||r[a-1]===`
|
|
116
|
-
`?!1:(a=
|
|
123
|
+
`?!1:(a=C.Node.endOfWhiteSpace(r,a),r[a]===":")}parseProps(t){let{inFlow:n,parent:i,src:r}=this,a=[],s=!1;t=this.atLineStart?C.Node.endOfIndent(r,t):C.Node.endOfWhiteSpace(r,t);let o=r[t];for(;o===C.Char.ANCHOR||o===C.Char.COMMENT||o===C.Char.TAG||o===`
|
|
117
124
|
`;){if(o===`
|
|
118
|
-
`){let u=t,l;do l=u+1,u=
|
|
119
|
-
`);let p=u-(l+this.indent),
|
|
120
|
-
`)));let n=[],i=0;do{let r=new
|
|
121
|
-
`),n}
|
|
122
|
-
${t}${e}`:e}function
|
|
125
|
+
`){let u=t,l;do l=u+1,u=C.Node.endOfIndent(r,l);while(r[u]===`
|
|
126
|
+
`);let p=u-(l+this.indent),d=i.type===C.Type.SEQ_ITEM&&i.context.atLineStart;if(r[u]!=="#"&&!C.Node.nextNodeIsIndented(r[u],p,!d))break;this.atLineStart=!0,this.lineStart=l,s=!1,t=u}else if(o===C.Char.COMMENT){let u=C.Node.endOfLine(r,t+1);a.push(new C.Range(t,u)),t=u}else{let u=C.Node.endOfIdentifier(r,t+1);o===C.Char.TAG&&r[u]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(r.slice(t+1,u+13))&&(u=C.Node.endOfIdentifier(r,u+5)),a.push(new C.Range(t,u)),s=!0,t=C.Node.endOfWhiteSpace(r,u)}o=r[t]}s&&o===":"&&C.Node.atBlank(r,t+1,!0)&&(t-=1);let c=fr.parseType(r,t,n);return{props:a,type:c,valueStart:t}}};function kN(e){let t=[];e.indexOf("\r")!==-1&&(e=e.replace(/\r\n?/g,(r,a)=>(r.length>1&&t.push(a),`
|
|
127
|
+
`)));let n=[],i=0;do{let r=new Ia,a=new fr({src:e});i=r.parse(a,i),n.push(r)}while(i<e.length);return n.setOrigRanges=()=>{if(t.length===0)return!1;for(let a=1;a<t.length;++a)t[a]-=a;let r=0;for(let a=0;a<n.length;++a)r=n[a].setOrigRanges(t,r);return t.splice(0,t.length),!0},n.toString=()=>n.join(`...
|
|
128
|
+
`),n}fS.parse=kN});var to=w(Re=>{"use strict";var L=ur();function CN(e,t,n){return n?`#${n.replace(/[\s\S]^/gm,`$&${t}#`)}
|
|
129
|
+
${t}${e}`:e}function Na(e,t,n){return n?n.indexOf(`
|
|
123
130
|
`)===-1?`${e} #${n}`:`${e}
|
|
124
|
-
`+n.replace(/^/gm,`${t||""}#`):e}var
|
|
125
|
-
`)&&(
|
|
126
|
-
${u}${c}${
|
|
127
|
-
`;
|
|
128
|
-
${c}${
|
|
129
|
-
${c}${
|
|
130
|
-
`}return this.comment?(
|
|
131
|
-
`+this.comment.replace(/^/gm,`${c}#`),s&&s()):
|
|
132
|
-
${
|
|
133
|
-
`),c.commentBefore&&(
|
|
134
|
-
${c.commentBefore.replace(/^/gm,`${t.indent}#`)}`),
|
|
135
|
-
${t.indent}`:!l&&c instanceof
|
|
136
|
-
`))&&(
|
|
137
|
-
${t.indent}`):
|
|
138
|
-
`&&(
|
|
139
|
-
`);n=e[t+1]}return t};function
|
|
140
|
-
`)n===
|
|
141
|
-
`&&
|
|
142
|
-
`&&
|
|
143
|
-
${t}${e.slice(0,
|
|
144
|
-
${t}${e.slice(
|
|
145
|
-
`){if(a-s>i)return!0;if(s=a+1,r-s<=i)return!1}return!0}function
|
|
131
|
+
`+n.replace(/^/gm,`${t||""}#`):e}var zt=class{};function gi(e,t,n){if(Array.isArray(e))return e.map((i,r)=>gi(i,String(r),n));if(e&&typeof e.toJSON=="function"){let i=n&&n.anchors&&n.anchors.get(e);i&&(n.onCreate=a=>{i.res=a,delete n.onCreate});let r=e.toJSON(t,n);return i&&n.onCreate&&n.onCreate(r),r}return(!n||!n.keep)&&typeof e=="bigint"?Number(e):e}var vt=class extends zt{constructor(t){super(),this.value=t}toJSON(t,n){return n&&n.keep?this.value:gi(this.value,t,n)}toString(){return String(this.value)}};function hS(e,t,n){let i=n;for(let r=t.length-1;r>=0;--r){let a=t[r];if(Number.isInteger(a)&&a>=0){let s=[];s[a]=i,i=s}else{let s={};Object.defineProperty(s,a,{value:i,writable:!0,enumerable:!0,configurable:!0}),i=s}}return e.createNode(i,!1)}var vS=e=>e==null||typeof e=="object"&&e[Symbol.iterator]().next().done,Ge=class extends zt{constructor(t){super(),L._defineProperty(this,"items",[]),this.schema=t}addIn(t,n){if(vS(t))this.add(n);else{let[i,...r]=t,a=this.get(i,!0);if(a instanceof Ge)a.addIn(r,n);else if(a===void 0&&this.schema)this.set(i,hS(this.schema,r,n));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${r}`)}}deleteIn([t,...n]){if(n.length===0)return this.delete(t);let i=this.get(t,!0);if(i instanceof Ge)return i.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn([t,...n],i){let r=this.get(t,!0);return n.length===0?!i&&r instanceof vt?r.value:r:r instanceof Ge?r.getIn(n,i):void 0}hasAllNullValues(){return this.items.every(t=>{if(!t||t.type!=="PAIR")return!1;let n=t.value;return n==null||n instanceof vt&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn([t,...n]){if(n.length===0)return this.has(t);let i=this.get(t,!0);return i instanceof Ge?i.hasIn(n):!1}setIn([t,...n],i){if(n.length===0)this.set(t,i);else{let r=this.get(t,!0);if(r instanceof Ge)r.setIn(n,i);else if(r===void 0&&this.schema)this.set(t,hS(this.schema,n,i));else throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}}toJSON(){return null}toString(t,{blockItem:n,flowChars:i,isMap:r,itemIndent:a},s,o){let{indent:c,indentStep:u,stringify:l}=t,p=this.type===L.Type.FLOW_MAP||this.type===L.Type.FLOW_SEQ||t.inFlow;p&&(a+=u);let d=r&&this.hasAllNullValues();t=Object.assign({},t,{allNullValues:d,indent:a,inFlow:p,type:null});let g=!1,x=!1,v=this.items.reduce((_,k,I)=>{let R;k&&(!g&&k.spaceBefore&&_.push({type:"comment",str:""}),k.commentBefore&&k.commentBefore.match(/^.*$/gm).forEach(H=>{_.push({type:"comment",str:`#${H}`})}),k.comment&&(R=k.comment),p&&(!g&&k.spaceBefore||k.commentBefore||k.comment||k.key&&(k.key.commentBefore||k.key.comment)||k.value&&(k.value.commentBefore||k.value.comment))&&(x=!0)),g=!1;let M=l(k,t,()=>R=null,()=>g=!0);return p&&!x&&M.includes(`
|
|
132
|
+
`)&&(x=!0),p&&I<this.items.length-1&&(M+=","),M=Na(M,a,R),g&&(R||p)&&(g=!1),_.push({type:"item",str:M}),_},[]),h;if(v.length===0)h=i.start+i.end;else if(p){let{start:_,end:k}=i,I=v.map(R=>R.str);if(x||I.reduce((R,M)=>R+M.length+2,2)>Ge.maxFlowStringSingleLineLength){h=_;for(let R of I)h+=R?`
|
|
133
|
+
${u}${c}${R}`:`
|
|
134
|
+
`;h+=`
|
|
135
|
+
${c}${k}`}else h=`${_} ${I.join(" ")} ${k}`}else{let _=v.map(n);h=_.shift();for(let k of _)h+=k?`
|
|
136
|
+
${c}${k}`:`
|
|
137
|
+
`}return this.comment?(h+=`
|
|
138
|
+
`+this.comment.replace(/^/gm,`${c}#`),s&&s()):g&&o&&o(),h}};L._defineProperty(Ge,"maxFlowStringSingleLineLength",60);function Rl(e){let t=e instanceof vt?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),Number.isInteger(t)&&t>=0?t:null}var vi=class extends Ge{add(t){this.items.push(t)}delete(t){let n=Rl(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){let i=Rl(t);if(typeof i!="number")return;let r=this.items[i];return!n&&r instanceof vt?r.value:r}has(t){let n=Rl(t);return typeof n=="number"&&n<this.items.length}set(t,n){let i=Rl(t);if(typeof i!="number")throw new Error(`Expected a valid index, not ${t}.`);this.items[i]=n}toJSON(t,n){let i=[];n&&n.onCreate&&n.onCreate(i);let r=0;for(let a of this.items)i.push(gi(a,String(r++),n));return i}toString(t,n,i){return t?super.toString(t,{blockItem:r=>r.type==="comment"?r.str:`- ${r.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(t.indent||"")+" "},n,i):JSON.stringify(this)}},TN=(e,t,n)=>t===null?"":typeof t!="object"?String(t):e instanceof zt&&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),Oe=class extends zt{constructor(t,n=null){super(),this.key=t,this.value=n,this.type=Oe.Type.PAIR}get commentBefore(){return this.key instanceof zt?this.key.commentBefore:void 0}set commentBefore(t){if(this.key==null&&(this.key=new vt(null)),this.key instanceof zt)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 i=gi(this.key,"",t);if(n instanceof Map){let r=gi(this.value,i,t);n.set(i,r)}else if(n instanceof Set)n.add(i);else{let r=TN(this.key,i,t),a=gi(this.value,r,t);r in n?Object.defineProperty(n,r,{value:a,writable:!0,enumerable:!0,configurable:!0}):n[r]=a}return n}toJSON(t,n){let i=n&&n.mapAsMap?new Map:{};return this.addToJSMap(n,i)}toString(t,n,i){if(!t||!t.doc)return JSON.stringify(this);let{indent:r,indentSeq:a,simpleKeys:s}=t.doc.options,{key:o,value:c}=this,u=o instanceof zt&&o.comment;if(s){if(u)throw new Error("With simple keys, key nodes cannot have comments");if(o instanceof Ge){let M="With simple keys, collection cannot be used as a key value";throw new Error(M)}}let l=!s&&(!o||u||(o instanceof zt?o instanceof Ge||o.type===L.Type.BLOCK_FOLDED||o.type===L.Type.BLOCK_LITERAL:typeof o=="object")),{doc:p,indent:d,indentStep:g,stringify:x}=t;t=Object.assign({},t,{implicitKey:!l,indent:d+g});let v=!1,h=x(o,t,()=>u=null,()=>v=!0);if(h=Na(h,t.indent,u),!l&&h.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?(h=Na(h,t.indent,this.comment),n&&n()):v&&!u&&i&&i(),t.inFlow&&!l?h:`? ${h}`;h=l?`? ${h}
|
|
139
|
+
${d}:`:`${h}:`,this.comment&&(h=Na(h,t.indent,this.comment),n&&n());let _="",k=null;c instanceof zt?(c.spaceBefore&&(_=`
|
|
140
|
+
`),c.commentBefore&&(_+=`
|
|
141
|
+
${c.commentBefore.replace(/^/gm,`${t.indent}#`)}`),k=c.comment):c&&typeof c=="object"&&(c=p.schema.createNode(c,!0)),t.implicitKey=!1,!l&&!this.comment&&c instanceof vt&&(t.indentAtStart=h.length+1),v=!1,!a&&r>=2&&!t.inFlow&&!l&&c instanceof vi&&c.type!==L.Type.FLOW_SEQ&&!c.tag&&!p.anchors.getName(c)&&(t.indent=t.indent.substr(2));let I=x(c,t,()=>k=null,()=>v=!0),R=" ";return _||this.comment?R=`${_}
|
|
142
|
+
${t.indent}`:!l&&c instanceof Ge?(!(I[0]==="["||I[0]==="{")||I.includes(`
|
|
143
|
+
`))&&(R=`
|
|
144
|
+
${t.indent}`):I[0]===`
|
|
145
|
+
`&&(R=""),v&&!k&&i&&i(),Na(h+R+I,t.indent,k)}};L._defineProperty(Oe,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var Il=(e,t)=>{if(e instanceof Un){let n=t.get(e.source);return n.count*n.aliasCount}else if(e instanceof Ge){let n=0;for(let i of e.items){let r=Il(i,t);r>n&&(n=r)}return n}else if(e instanceof Oe){let n=Il(e.key,t),i=Il(e.value,t);return Math.max(n,i)}return 1},Un=class extends zt{static stringify({range:t,source:n},{anchors:i,doc:r,implicitKey:a,inStringifyKey:s}){let o=Object.keys(i).find(u=>i[u]===n);if(!o&&s&&(o=r.anchors.getName(n)||r.anchors.newName()),o)return`*${o}${a?" ":""}`;let c=r.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=L.Type.ALIAS}set tag(t){throw new Error("Alias nodes cannot have tags")}toJSON(t,n){if(!n)return gi(this.source,t,n);let{anchors:i,maxAliasCount:r}=n,a=i.get(this.source);if(!a||a.res===void 0){let s="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new L.YAMLReferenceError(this.cstNode,s):new ReferenceError(s)}if(r>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=Il(this.source,i)),a.count*a.aliasCount>r)){let s="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new L.YAMLReferenceError(this.cstNode,s):new ReferenceError(s)}return a.res}toString(t){return Un.stringify(this,t)}};L._defineProperty(Un,"default",!0);function Qs(e,t){let n=t instanceof vt?t.value:t;for(let i of e)if(i instanceof Oe&&(i.key===t||i.key===n||i.key&&i.key.value===n))return i}var eo=class extends Ge{add(t,n){t?t instanceof Oe||(t=new Oe(t.key||t,t.value)):t=new Oe(t);let i=Qs(this.items,t.key),r=this.schema&&this.schema.sortMapEntries;if(i)if(n)i.value=t.value;else throw new Error(`Key ${t.key} already set`);else if(r){let a=this.items.findIndex(s=>r(t,s)<0);a===-1?this.items.push(t):this.items.splice(a,0,t)}else this.items.push(t)}delete(t){let n=Qs(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){let i=Qs(this.items,t),r=i&&i.value;return!n&&r instanceof vt?r.value:r}has(t){return!!Qs(this.items,t)}set(t,n){this.add(new Oe(t,n),!0)}toJSON(t,n,i){let r=i?new i:n&&n.mapAsMap?new Map:{};n&&n.onCreate&&n.onCreate(r);for(let a of this.items)a.addToJSMap(n,r);return r}toString(t,n,i){if(!t)return JSON.stringify(this);for(let r of this.items)if(!(r instanceof Oe))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`);return super.toString(t,{blockItem:r=>r.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:t.indent||""},n,i)}},bS="<<",Pl=class extends Oe{constructor(t){if(t instanceof Oe){let n=t.value;n instanceof vi||(n=new vi,n.items.push(t.value),n.range=t.value.range),super(t.key,n),this.range=t.range}else super(new vt(bS),new vi);this.type=Oe.Type.MERGE_PAIR}addToJSMap(t,n){for(let{source:i}of this.value.items){if(!(i instanceof eo))throw new Error("Merge sources must be maps");let r=i.toJSON(null,t,Map);for(let[a,s]of r)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 i=this.value;if(i.items.length>1)return super.toString(t,n);this.value=i.items[0];let r=super.toString(t,n);return this.value=i,r}},AN={defaultType:L.Type.BLOCK_LITERAL,lineWidth:76},jN={trueStr:"true",falseStr:"false"},MN={asBigInt:!1},RN={nullStr:"null"},gr={defaultType:L.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function ph(e,t,n){for(let{format:i,test:r,resolve:a}of t)if(r){let s=e.match(r);if(s){let o=a.apply(null,s);return o instanceof vt||(o=new vt(o)),i&&(o.format=i),o}}return n&&(e=n(e)),new vt(e)}var xS="flow",uh="block",Nl="quoted",mS=(e,t)=>{let n=e[t+1];for(;n===" "||n===" ";){do n=e[t+=1];while(n&&n!==`
|
|
146
|
+
`);n=e[t+1]}return t};function ql(e,t,n,{indentAtStart:i,lineWidth:r=80,minContentWidth:a=20,onFold:s,onOverflow:o}){if(!r||r<0)return e;let c=Math.max(1+a,1+r-t.length);if(e.length<=c)return e;let u=[],l={},p=r-t.length;typeof i=="number"&&(i>r-Math.max(2,a)?u.push(0):p=r-i);let d,g,x=!1,v=-1,h=-1,_=-1;n===uh&&(v=mS(e,v),v!==-1&&(p=v+c));for(let I;I=e[v+=1];){if(n===Nl&&I==="\\"){switch(h=v,e[v+1]){case"x":v+=3;break;case"u":v+=5;break;case"U":v+=9;break;default:v+=1}_=v}if(I===`
|
|
147
|
+
`)n===uh&&(v=mS(e,v)),p=v+c,d=void 0;else{if(I===" "&&g&&g!==" "&&g!==`
|
|
148
|
+
`&&g!==" "){let R=e[v+1];R&&R!==" "&&R!==`
|
|
149
|
+
`&&R!==" "&&(d=v)}if(v>=p)if(d)u.push(d),p=d+c,d=void 0;else if(n===Nl){for(;g===" "||g===" ";)g=I,I=e[v+=1],x=!0;let R=v>_+1?v-2:h-1;if(l[R])return e;u.push(R),l[R]=!0,p=R+c,d=void 0}else x=!0}g=I}if(x&&o&&o(),u.length===0)return e;s&&s();let k=e.slice(0,u[0]);for(let I=0;I<u.length;++I){let R=u[I],M=u[I+1]||e.length;R===0?k=`
|
|
150
|
+
${t}${e.slice(0,M)}`:(n===Nl&&l[R]&&(k+=`${e[R]}\\`),k+=`
|
|
151
|
+
${t}${e.slice(R+1,M)}`)}return k}var fh=({indentAtStart:e})=>e?Object.assign({indentAtStart:e},gr.fold):gr.fold,Bl=e=>/^(%|---|\.\.\.)/m.test(e);function IN(e,t,n){if(!t||t<0)return!1;let i=t-n,r=e.length;if(r<=i)return!1;for(let a=0,s=0;a<r;++a)if(e[a]===`
|
|
152
|
+
`){if(a-s>i)return!0;if(s=a+1,r-s<=i)return!1}return!0}function mr(e,t){let{implicitKey:n}=t,{jsonEncoding:i,minMultiLineLength:r}=gr.doubleQuoted,a=JSON.stringify(e);if(i)return a;let s=t.indent||(Bl(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<r)u+=1;else{for(o+=a.slice(c,u)+`
|
|
146
153
|
|
|
147
154
|
`;a[u+2]==="\\"&&a[u+3]==="n"&&a[u+4]!=='"';)o+=`
|
|
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:
|
|
149
|
-
${n}`)+"'";return t.implicitKey?i:
|
|
150
|
-
`;let l="",p="";if(n=n.replace(/[\n\t ]*$/,
|
|
151
|
-
`);return
|
|
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:ql(o,s,Nl,fh(t))}function yS(e,t){if(t.implicitKey){if(/\n/.test(e))return mr(e,t)}else if(/[ \t]\n|\n[ \t]/.test(e))return mr(e,t);let n=t.indent||(Bl(e)?" ":""),i="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
156
|
+
${n}`)+"'";return t.implicitKey?i:ql(i,n,xS,fh(t))}function Ll({comment:e,type:t,value:n},i,r,a){if(/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return mr(n,i);let s=i.indent||(i.forceBlockIndent||Bl(n)?" ":""),o=s?"2":"1",c=t===L.Type.BLOCK_FOLDED?!1:t===L.Type.BLOCK_LITERAL?!0:!IN(n,gr.fold.lineWidth,s.length),u=c?"|":">";if(!n)return u+`
|
|
157
|
+
`;let l="",p="";if(n=n.replace(/[\n\t ]*$/,g=>{let x=g.indexOf(`
|
|
158
|
+
`);return x===-1?u+="-":(n===g||x!==g.length-1)&&(u+="+",a&&a()),p=g.replace(/\n$/,""),""}).replace(/^[\n ]*/,g=>{g.indexOf(" ")!==-1&&(u+=o);let x=g.match(/ +$/);return x?(l=g.slice(0,-x[0].length),x[0]):(l=g,"")}),p&&(p=p.replace(/\n+(?!\n|$)/g,`$&${s}`)),l&&(l=l.replace(/\n+/g,`$&${s}`)),e&&(u+=" #"+e.replace(/ ?[\r\n]+/g," "),r&&r()),!n)return`${u}${o}
|
|
152
159
|
${s}${p}`;if(c)return n=n.replace(/\n+/g,`$&${s}`),`${u}
|
|
153
160
|
${s}${l}${n}${p}`;n=n.replace(/\n+/g,`
|
|
154
|
-
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${s}`);let
|
|
155
|
-
${s}${
|
|
156
|
-
`)===-1?s.indexOf('"')!==-1&&s.indexOf("'")===-1?
|
|
157
|
-
`)!==-1)return
|
|
158
|
-
${u}`);if(o){let{tags:
|
|
161
|
+
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${s}`);let d=ql(`${l}${n}${p}`,s,uh,gr.fold);return`${u}
|
|
162
|
+
${s}${d}`}function NN(e,t,n,i){let{comment:r,type:a,value:s}=e,{actualString:o,implicitKey:c,indent:u,inFlow:l}=t;if(c&&/[\n[\]{},]/.test(s)||l&&/[[\]{},]/.test(s))return mr(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return c||l||s.indexOf(`
|
|
163
|
+
`)===-1?s.indexOf('"')!==-1&&s.indexOf("'")===-1?yS(s,t):mr(s,t):Ll(e,t,n,i);if(!c&&!l&&a!==L.Type.PLAIN&&s.indexOf(`
|
|
164
|
+
`)!==-1)return Ll(e,t,n,i);if(u===""&&Bl(s))return t.forceBlockIndent=!0,Ll(e,t,n,i);let p=s.replace(/\n+/g,`$&
|
|
165
|
+
${u}`);if(o){let{tags:g}=t.doc.schema;if(typeof ph(p,g,g.scalarFallback).value!="string")return mr(s,t)}let d=c?p:ql(p,u,xS,fh(t));return r&&!l&&(d.indexOf(`
|
|
159
166
|
`)!==-1||r.indexOf(`
|
|
160
|
-
`)!==-1)?(n&&n(),
|
|
161
|
-
`&&n!==" "&&n!==" "){let i="Comments must be separated from other tokens by white space characters";e.push(new
|
|
167
|
+
`)!==-1)?(n&&n(),CN(d,u,r)):d}function LN(e,t,n,i){let{defaultType:r}=gr,{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 L.Type.BLOCK_FOLDED:case L.Type.BLOCK_LITERAL:return Ll(e,t,n,i);case L.Type.QUOTE_DOUBLE:return mr(c,t);case L.Type.QUOTE_SINGLE:return yS(c,t);case L.Type.PLAIN:return NN(e,t,n,i);default:return null}};(o!==L.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(c)||(a||s)&&(o===L.Type.BLOCK_FOLDED||o===L.Type.BLOCK_LITERAL))&&(o=L.Type.QUOTE_DOUBLE);let l=u(o);if(l===null&&(l=u(r),l===null))throw new Error(`Unsupported default string type ${r}`);return l}function PN({format:e,minFractionDigits:t,tag:n,value:i}){if(typeof i=="bigint")return String(i);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let r=JSON.stringify(i);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(r)){let a=r.indexOf(".");a<0&&(a=r.length,r+=".");let s=t-(r.length-a-1);for(;s-- >0;)r+="0"}return r}function wS(e,t){let n,i;switch(t.type){case L.Type.FLOW_MAP:n="}",i="flow map";break;case L.Type.FLOW_SEQ:n="]",i="flow sequence";break;default:e.push(new L.YAMLSemanticError(t,"Not a flow collection!?"));return}let r;for(let a=t.items.length-1;a>=0;--a){let s=t.items[a];if(!s||s.type!==L.Type.COMMENT){r=s;break}}if(r&&r.char!==n){let a=`Expected ${i} to end with ${n}`,s;typeof r.offset=="number"?(s=new L.YAMLSemanticError(t,a),s.offset=r.offset+1):(s=new L.YAMLSemanticError(r,a),r.range&&r.range.end&&(s.offset=r.range.end-r.range.start)),e.push(s)}}function _S(e,t){let n=t.context.src[t.range.start-1];if(n!==`
|
|
168
|
+
`&&n!==" "&&n!==" "){let i="Comments must be separated from other tokens by white space characters";e.push(new L.YAMLSemanticError(t,i))}}function SS(e,t){let n=String(t),i=n.substr(0,8)+"..."+n.substr(-8);return new L.YAMLSemanticError(e,`The "${i}" key is too long`)}function OS(e,t){for(let{afterKey:n,before:i,comment:r}of t){let a=e.items[i];a?(n&&a.value&&(a=a.value),r===void 0?(n||!a.commentBefore)&&(a.spaceBefore=!0):a.commentBefore?a.commentBefore+=`
|
|
162
169
|
`+r:a.commentBefore=r):r!==void 0&&(e.comment?e.comment+=`
|
|
163
|
-
`+r:e.comment=r)}}function
|
|
170
|
+
`+r:e.comment=r)}}function dh(e,t){let n=t.strValue;return n?typeof n=="string"?n:(n.errors.forEach(i=>{i.source||(i.source=t),e.errors.push(i)}),n.str):""}function qN(e,t){let{handle:n,suffix:i}=t.tag,r=e.tagPrefixes.find(a=>a.handle===n);if(!r){let a=e.getDefaults().tagPrefixes;if(a&&(r=a.find(s=>s.handle===n)),!r)throw new L.YAMLSemanticError(t,`The ${n} tag handle is non-default and was not declared.`)}if(!i)throw new L.YAMLSemanticError(t,`The ${n} tag has no suffix.`);if(n==="!"&&(e.version||e.options.version)==="1.0"){if(i[0]==="^")return e.warnings.push(new L.YAMLWarning(t,"YAML 1.0 ^ tag expansion is not supported")),i;if(/[:/]/.test(i)){let a=i.match(/^([a-z0-9-]+)\/(.*)/i);return a?`tag:${a[1]}.yaml.org,2002:${a[2]}`:`tag:${i}`}}return r.prefix+decodeURIComponent(i)}function BN(e,t){let{tag:n,type:i}=t,r=!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 L.YAMLSemanticError(t,c))}else if(a==="!"&&!s)r=!0;else try{return qN(e,t)}catch(c){e.errors.push(c)}}switch(i){case L.Type.BLOCK_FOLDED:case L.Type.BLOCK_LITERAL:case L.Type.QUOTE_DOUBLE:case L.Type.QUOTE_SINGLE:return L.defaultTags.STR;case L.Type.FLOW_MAP:case L.Type.MAP:return L.defaultTags.MAP;case L.Type.FLOW_SEQ:case L.Type.SEQ:return L.defaultTags.SEQ;case L.Type.PLAIN:return r?L.defaultTags.STR:null;default:return null}}function gS(e,t,n){let{tags:i}=e.schema,r=[];for(let s of i)if(s.tag===n)if(s.test)r.push(s);else{let o=s.resolve(e,t);return o instanceof Ge?o:new vt(o)}let a=dh(e,t);return typeof a=="string"&&r.length>0?ph(a,r,i.scalarFallback):null}function FN({type:e}){switch(e){case L.Type.FLOW_MAP:case L.Type.MAP:return L.defaultTags.MAP;case L.Type.FLOW_SEQ:case L.Type.SEQ:return L.defaultTags.SEQ;default:return L.defaultTags.STR}}function DN(e,t,n){try{let i=gS(e,t,n);if(i)return n&&t.tag&&(i.tag=n),i}catch(i){return i.source||(i.source=t),e.errors.push(i),null}try{let i=FN(t);if(!i)throw new Error(`The tag ${n} is unavailable`);let r=`The tag ${n} is unavailable, falling back to ${i}`;e.warnings.push(new L.YAMLWarning(t,r));let a=gS(e,t,i);return a.tag=n,a}catch(i){let r=new L.YAMLReferenceError(t,i.message);return r.stack=i.stack,e.errors.push(r),null}}var $N=e=>{if(!e)return!1;let{type:t}=e;return t===L.Type.MAP_KEY||t===L.Type.MAP_VALUE||t===L.Type.SEQ_ITEM};function zN(e,t){let n={before:[],after:[]},i=!1,r=!1,a=$N(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 L.Char.COMMENT:{if(!t.commentHasRequiredWhitespace(s)){let p="Comments must be separated from other tokens by white space characters";e.push(new L.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 L.Char.ANCHOR:if(i){let c="A node can have at most one anchor";e.push(new L.YAMLSemanticError(t,c))}i=!0;break;case L.Char.TAG:if(r){let c="A node can have at most one tag";e.push(new L.YAMLSemanticError(t,c))}r=!0;break}return{comments:n,hasAnchor:i,hasTag:r}}function UN(e,t){let{anchors:n,errors:i,schema:r}=e;if(t.type===L.Type.ALIAS){let s=t.rawValue,o=n.getNode(s);if(!o){let u=`Aliased anchor not found: ${s}`;return i.push(new L.YAMLReferenceError(t,u)),null}let c=new Un(o);return n._cstAliases.push(c),c}let a=BN(e,t);if(a)return DN(e,t,a);if(t.type!==L.Type.PLAIN){let s=`Failed to resolve ${t.type} node here`;return i.push(new L.YAMLSyntaxError(t,s)),null}try{let s=dh(e,t);return ph(s,r.tags,r.tags.scalarFallback)}catch(s){return s.source||(s.source=t),i.push(s),null}}function bi(e,t){if(!t)return null;t.error&&e.errors.push(t.error);let{comments:n,hasAnchor:i,hasTag:r}=zN(e.errors,t);if(i){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===L.Type.ALIAS&&(i||r)){let s="An alias node must not specify any properties";e.errors.push(new L.YAMLSemanticError(t,s))}let a=UN(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(`
|
|
164
171
|
`);s&&(a.commentBefore=a.commentBefore?`${a.commentBefore}
|
|
165
172
|
${s}`:s);let o=n.after.join(`
|
|
166
173
|
`);o&&(a.comment=a.comment?`${a.comment}
|
|
167
|
-
${o}`:o)}return t.resolved=a}function
|
|
168
|
-
`)return!1;return!0};function
|
|
169
|
-
`){let
|
|
170
|
-
`:" ")}return
|
|
174
|
+
${o}`:o)}return t.resolved=a}function WN(e,t){if(t.type!==L.Type.MAP&&t.type!==L.Type.FLOW_MAP){let s=`A ${t.type} node cannot be resolved as a mapping`;return e.errors.push(new L.YAMLSyntaxError(t,s)),null}let{comments:n,items:i}=t.type===L.Type.FLOW_MAP?GN(e,t):KN(e,t),r=new eo;r.items=i,OS(r,n);let a=!1;for(let s=0;s<i.length;++s){let{key:o}=i[s];if(o instanceof Ge&&(a=!0),e.schema.merge&&o&&o.value===bS){i[s]=new Pl(i[s]);let c=i[s].value.items,u=null;c.some(l=>{if(l instanceof Un){let{type:p}=l.source;return p===L.Type.MAP||p===L.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 L.YAMLSemanticError(t,u))}else for(let c=s+1;c<i.length;++c){let{key:u}=i[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 L.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 L.YAMLWarning(t,s))}return t.resolved=r,r}var HN=({context:{lineStart:e,node:t,src:n},props:i})=>{if(i.length===0)return!1;let{start:r}=i[0];if(t&&r>t.valueRange.start||n[r]!==L.Char.COMMENT)return!1;for(let a=e;a<r;++a)if(n[a]===`
|
|
175
|
+
`)return!1;return!0};function YN(e,t){if(!HN(e))return;let n=e.getPropValue(0,L.Char.COMMENT,!0),i=!1,r=t.value.commentBefore;if(r&&r.startsWith(n))t.value.commentBefore=r.substr(n.length+1),i=!0;else{let a=t.value.comment;!e.node&&a&&a.startsWith(n)&&(t.value.comment=a.substr(n.length+1),i=!0)}i&&(t.comment=n)}function KN(e,t){let n=[],i=[],r,a=null;for(let s=0;s<t.items.length;++s){let o=t.items[s];switch(o.type){case L.Type.BLANK_LINE:n.push({afterKey:!!r,before:i.length});break;case L.Type.COMMENT:n.push({afterKey:!!r,before:i.length,comment:o.comment});break;case L.Type.MAP_KEY:r!==void 0&&i.push(new Oe(r)),o.error&&e.errors.push(o.error),r=bi(e,o.node),a=null;break;case L.Type.MAP_VALUE:{if(r===void 0&&(r=null),o.error&&e.errors.push(o.error),!o.context.atLineStart&&o.node&&o.node.type===L.Type.MAP&&!o.node.context.atLineStart){let l="Nested mappings are not allowed in compact mappings";e.errors.push(new L.YAMLSemanticError(o.node,l))}let c=o.node;if(!c&&o.props.length>0){c=new L.PlainValue(L.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 Oe(r,bi(e,c));YN(o,u),i.push(u),r&&typeof a=="number"&&o.range.start>a+1024&&e.errors.push(SS(t,r)),r=void 0,a=null}break;default:r!==void 0&&i.push(new Oe(r)),r=bi(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 L.Type.BLANK_LINE:case L.Type.COMMENT:continue e;case L.Type.MAP_VALUE:break e;default:{let l="Implicit map keys need to be followed by map values";e.errors.push(new L.YAMLSemanticError(o,l));break e}}}if(o.valueRangeContainsNewline){let c="Implicit map keys need to be on a single line";e.errors.push(new L.YAMLSemanticError(o,c))}}}return r!==void 0&&i.push(new Oe(r)),{comments:n,items:i}}function GN(e,t){let n=[],i=[],r,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==="?"&&r===void 0&&!a){a=!0,s=":";continue}if(u===":"){if(r===void 0&&(r=null),s===":"){s=",";continue}}else if(a&&(r===void 0&&u!==","&&(r=null),a=!1),r!==void 0&&(i.push(new Oe(r)),r=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}`,d=new L.YAMLSyntaxError(t,p);d.offset=l,e.errors.push(d)}else c.type===L.Type.BLANK_LINE?n.push({afterKey:!!r,before:i.length}):c.type===L.Type.COMMENT?(_S(e.errors,c),n.push({afterKey:!!r,before:i.length,comment:c.comment})):r===void 0?(s===","&&e.errors.push(new L.YAMLSemanticError(c,"Separator , missing in flow map")),r=bi(e,c)):(s!==","&&e.errors.push(new L.YAMLSemanticError(c,"Indicator : missing in flow map entry")),i.push(new Oe(r,bi(e,c))),r=void 0,a=!1)}return wS(e.errors,t),r!==void 0&&i.push(new Oe(r)),{comments:n,items:i}}function ZN(e,t){if(t.type!==L.Type.SEQ&&t.type!==L.Type.FLOW_SEQ){let a=`A ${t.type} node cannot be resolved as a sequence`;return e.errors.push(new L.YAMLSyntaxError(t,a)),null}let{comments:n,items:i}=t.type===L.Type.FLOW_SEQ?JN(e,t):VN(e,t),r=new vi;if(r.items=i,OS(r,n),!e.options.mapAsMap&&i.some(a=>a instanceof Oe&&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 L.YAMLWarning(t,a))}return t.resolved=r,r}function VN(e,t){let n=[],i=[];for(let r=0;r<t.items.length;++r){let a=t.items[r];switch(a.type){case L.Type.BLANK_LINE:n.push({before:i.length});break;case L.Type.COMMENT:n.push({comment:a.comment,before:i.length});break;case L.Type.SEQ_ITEM:if(a.error&&e.errors.push(a.error),i.push(bi(e,a.node)),a.hasProps){let s="Sequence items cannot have tags or anchors before the - indicator";e.errors.push(new L.YAMLSemanticError(a,s))}break;default:a.error&&e.errors.push(a.error),e.errors.push(new L.YAMLSyntaxError(a,`Unexpected ${a.type} node in sequence`))}}return{comments:n,items:i}}function JN(e,t){let n=[],i=[],r=!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:d}=l;if(p!==":"&&(r||a!==void 0)&&(r&&a===void 0&&(a=o?i.pop():null),i.push(new Oe(a)),r=!1,a=void 0,s=null),p===o)o=null;else if(!o&&p==="?")r=!0;else if(o!=="["&&p===":"&&a===void 0){if(o===","){if(a=i.pop(),a instanceof Oe){let g="Chaining flow sequence pairs is invalid",x=new L.YAMLSemanticError(t,g);x.offset=d,e.errors.push(x)}if(!r&&typeof s=="number"){let g=l.range?l.range.start:l.offset;g>s+1024&&e.errors.push(SS(t,a));let{src:x}=c.context;for(let v=s;v<g;++v)if(x[v]===`
|
|
176
|
+
`){let h="Implicit keys of flow sequence pairs need to be on a single line";e.errors.push(new L.YAMLSemanticError(c,h));break}}}else a=null;s=null,r=!1,o=null}else if(o==="["||p!=="]"||u<t.items.length-1){let g=`Flow sequence contains an unexpected ${p}`,x=new L.YAMLSyntaxError(t,g);x.offset=d,e.errors.push(x)}}else if(l.type===L.Type.BLANK_LINE)n.push({before:i.length});else if(l.type===L.Type.COMMENT)_S(e.errors,l),n.push({comment:l.comment,before:i.length});else{if(o){let d=`Expected a ${o} in flow sequence`;e.errors.push(new L.YAMLSemanticError(l,d))}let p=bi(e,l);a===void 0?(i.push(p),c=l):(i.push(new Oe(a,p)),a=void 0),s=l.range.start,o=","}}return wS(e.errors,t),a!==void 0&&i.push(new Oe(a)),{comments:n,items:i}}Re.Alias=Un;Re.Collection=Ge;Re.Merge=Pl;Re.Node=zt;Re.Pair=Oe;Re.Scalar=vt;Re.YAMLMap=eo;Re.YAMLSeq=vi;Re.addComment=Na;Re.binaryOptions=AN;Re.boolOptions=jN;Re.findPair=Qs;Re.intOptions=MN;Re.isEmptyPath=vS;Re.nullOptions=RN;Re.resolveMap=WN;Re.resolveNode=bi;Re.resolveSeq=ZN;Re.resolveString=dh;Re.strOptions=gr;Re.stringifyNumber=PN;Re.stringifyString=LN;Re.toJSON=gi});var vh=w(dn=>{"use strict";var Ut=ur(),ve=to(),XN={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(e,t)=>{let n=ve.resolveString(e,t);if(typeof Buffer=="function")return Buffer.from(n,"base64");if(typeof atob=="function"){let i=atob(n.replace(/[\n\r]/g,"")),r=new Uint8Array(i.length);for(let a=0;a<i.length;++a)r[a]=i.charCodeAt(a);return r}else{let i="This environment does not support reading binary tags; either Buffer or atob is required";return e.errors.push(new Ut.YAMLReferenceError(t,i)),null}},options:ve.binaryOptions,stringify:({comment:e,type:t,value:n},i,r,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=ve.binaryOptions.defaultType),t===Ut.Type.QUOTE_DOUBLE)n=s;else{let{lineWidth:o}=ve.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===Ut.Type.BLOCK_LITERAL?`
|
|
177
|
+
`:" ")}return ve.stringifyString({comment:e,type:t,value:n},i,r,a)}};function kS(e,t){let n=ve.resolveSeq(e,t);for(let i=0;i<n.items.length;++i){let r=n.items[i];if(!(r instanceof ve.Pair)){if(r instanceof ve.YAMLMap){if(r.items.length>1){let s="Each pair must have its own sequence indicator";throw new Ut.YAMLSemanticError(t,s)}let a=r.items[0]||new ve.Pair;r.commentBefore&&(a.commentBefore=a.commentBefore?`${r.commentBefore}
|
|
171
178
|
${a.commentBefore}`:r.commentBefore),r.comment&&(a.comment=a.comment?`${r.comment}
|
|
172
|
-
${a.comment}`:r.comment),r=a}n.items[i]=r instanceof de.Pair?r:new de.Pair(r)}}return n}function W2(e,t,n){let i=new de.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 TN={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:U2,createNode:W2},ui=class extends de.YAMLSeq{constructor(){super(),Bt._defineProperty(this,"add",de.YAMLMap.prototype.add.bind(this)),Bt._defineProperty(this,"delete",de.YAMLMap.prototype.delete.bind(this)),Bt._defineProperty(this,"get",de.YAMLMap.prototype.get.bind(this)),Bt._defineProperty(this,"has",de.YAMLMap.prototype.has.bind(this)),Bt._defineProperty(this,"set",de.YAMLMap.prototype.set.bind(this)),this.tag=ui.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 de.Pair?(a=de.toJSON(r.key,"",n),s=de.toJSON(r.value,a,n)):a=de.toJSON(r,"",n),i.has(a))throw new Error("Ordered maps must not include duplicate keys");i.set(a,s)}return i}};Bt._defineProperty(ui,"tag","tag:yaml.org,2002:omap");function jN(e,t){let n=U2(e,t),i=[];for(let{key:r}of n.items)if(r instanceof de.Scalar)if(i.includes(r.value)){let a="Ordered maps must not include duplicate keys";throw new Bt.YAMLSemanticError(t,a)}else i.push(r.value);return Object.assign(new ui,n)}function MN(e,t,n){let i=W2(e,t,n),r=new ui;return r.items=i.items,r}var RN={identify:e=>e instanceof Map,nodeClass:ui,default:!1,tag:"tag:yaml.org,2002:omap",resolve:jN,createNode:MN},pi=class extends de.YAMLMap{constructor(){super(),this.tag=pi.tag}add(t){let n=t instanceof de.Pair?t:new de.Pair(t);de.findPair(this.items,n.key)||this.items.push(n)}get(t,n){let i=de.findPair(this.items,t);return!n&&i instanceof de.Pair?i.key instanceof de.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=de.findPair(this.items,t);i&&!n?this.items.splice(this.items.indexOf(i),1):!i&&n&&this.items.push(new de.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")}};Bt._defineProperty(pi,"tag","tag:yaml.org,2002:set");function NN(e,t){let n=de.resolveMap(e,t);if(!n.hasAllNullValues())throw new Bt.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new pi,n)}function LN(e,t,n){let i=new pi;for(let r of t)i.items.push(e.createPair(r,null,n));return i}var IN={identify:e=>e instanceof Set,nodeClass:pi,default:!1,tag:"tag:yaml.org,2002:set",resolve:NN,createNode:LN},Ud=(e,t)=>{let n=t.split(":").reduce((i,r)=>i*60+Number(r),0);return e==="-"?-n:n},K2=({value:e})=>{if(isNaN(e)||!isFinite(e))return de.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*$/,"")},qN={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)=>Ud(t,n.replace(/_/g,"")),stringify:K2},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)=>Ud(t,n.replace(/_/g,"")),stringify:K2},BN={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=Ud(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 Wd(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 Kd(e,t){if(Wd(!1)){let n=typeof process<"u"&&process.emitWarning;n?n(e,t):console.warn(t?`${t}: ${e}`:e)}}function FN(e){if(Wd(!0)){let t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");Kd(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}}var $2={};function DN(e,t){if(!$2[e]&&Wd(!0)){$2[e]=!0;let n=`The option '${e}' will be removed in a future release`;n+=t?`, use '${t}' instead.`:".",Kd(n,"DeprecationWarning")}}on.binary=AN;on.floatTime=PN;on.intTime=qN;on.omap=RN;on.pairs=TN;on.set=IN;on.timestamp=BN;on.warn=Kd;on.warnFileDeprecation=FN;on.warnOptionDeprecation=DN});var Zd=b(rS=>{"use strict";var Ol=Qi(),re=$s(),yt=Yd();function zN(e,t,n){let i=new re.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 Ws={createNode:zN,default:!0,nodeClass:re.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:re.resolveMap};function $N(e,t,n){let i=new re.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 kl={createNode:$N,default:!0,nodeClass:re.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:re.resolveSeq},UN={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:re.resolveString,stringify(e,t,n,i){return t=Object.assign({actualString:!0},t),re.stringifyString(e,t,n,i)},options:re.strOptions},Gd=[Ws,kl,UN],Cl=e=>typeof e=="bigint"||Number.isInteger(e),Vd=(e,t,n)=>re.intOptions.asBigInt?BigInt(e):parseInt(t,n);function G2(e,t,n){let{value:i}=e;return Cl(i)&&i>=0?n+i.toString(t):re.stringifyNumber(e)}var V2={identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new re.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:re.nullOptions,stringify:()=>re.nullOptions.nullStr},Z2={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:re.boolOptions,stringify:({value:e})=>e?re.boolOptions.trueStr:re.boolOptions.falseStr},J2={identify:e=>Cl(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>Vd(e,t,8),options:re.intOptions,stringify:e=>G2(e,8,"0o")},X2={identify:Cl,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>Vd(e,e,10),options:re.intOptions,stringify:re.stringifyNumber},Q2={identify:e=>Cl(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>Vd(e,t,16),options:re.intOptions,stringify:e=>G2(e,16,"0x")},eS={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:re.stringifyNumber},tS={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()},nS={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 re.Scalar(parseFloat(e));return i&&i[i.length-1]==="0"&&(r.minFractionDigits=i.length),r},stringify:re.stringifyNumber},WN=Gd.concat([V2,Z2,J2,X2,Q2,eS,tS,nS]),Y2=e=>typeof e=="bigint"||Number.isInteger(e),Sl=({value:e})=>JSON.stringify(e),iS=[Ws,kl,{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:re.resolveString,stringify:Sl},{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new re.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Sl},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:Sl},{identify:Y2,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>re.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>Y2(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:Sl}];iS.scalarFallback=e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)};var H2=({value:e})=>e?re.boolOptions.trueStr:re.boolOptions.falseStr,Us=e=>typeof e=="bigint"||Number.isInteger(e);function El(e,t,n){let i=t.replace(/_/g,"");if(re.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 Hd(e,t,n){let{value:i}=e;if(Us(i)){let r=i.toString(t);return i<0?"-"+n+r.substr(1):n+r}return re.stringifyNumber(e)}var KN=Gd.concat([{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new re.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:re.nullOptions,stringify:()=>re.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:re.boolOptions,stringify:H2},{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:re.boolOptions,stringify:H2},{identify:Us,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,n)=>El(t,n,2),stringify:e=>Hd(e,2,"0b")},{identify:Us,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,n)=>El(t,n,8),stringify:e=>Hd(e,8,"0")},{identify:Us,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,n)=>El(t,n,10),stringify:re.stringifyNumber},{identify:Us,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,n)=>El(t,n,16),stringify:e=>Hd(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:re.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 re.Scalar(parseFloat(e.replace(/_/g,"")));if(t){let i=t.replace(/_/g,"");i[i.length-1]==="0"&&(n.minFractionDigits=i.length)}return n},stringify:re.stringifyNumber}],yt.binary,yt.omap,yt.pairs,yt.set,yt.intTime,yt.floatTime,yt.timestamp),YN={core:WN,failsafe:Gd,json:iS,yaml11:KN},HN={binary:yt.binary,bool:Z2,float:nS,floatExp:tS,floatNaN:eS,floatTime:yt.floatTime,int:X2,intHex:Q2,intOct:J2,intTime:yt.intTime,map:Ws,null:V2,omap:yt.omap,pairs:yt.pairs,seq:kl,set:yt.set,timestamp:yt.timestamp};function GN(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 VN(e,t,n){if(e instanceof re.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=GN(e,t,s.tags);if(!c){if(typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object")return o?new re.Scalar(e):e;c=e instanceof Map?Ws:e[Symbol.iterator]?kl:Ws}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 re.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 re.Scalar(e):e,t&&u.node instanceof re.Node&&(u.node.tag=t),u.node}function ZN(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 JN=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0,sr=class{constructor({customTags:t,merge:n,schema:i,sortMapEntries:r,tags:a}){this.merge=!!n,this.name=i,this.sortMapEntries=r===!0?JN:r||null,!t&&a&&yt.warnOptionDeprecation("tags","customTags"),this.tags=ZN(YN,HN,t||a,i)}createNode(t,n,i,r){let a={defaultPrefix:sr.defaultPrefix,schema:this,wrapScalars:n},s=r?Object.assign(r,a):a;return VN(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 re.Pair(r,a)}};Ol._defineProperty(sr,"defaultPrefix",Ol.defaultTagPrefix);Ol._defineProperty(sr,"defaultTags",Ol.defaultTags);rS.Schema=sr});var cS=b(jl=>{"use strict";var wt=Qi(),ae=$s(),aS=Zd(),XN={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"},QN={get binary(){return ae.binaryOptions},set binary(e){Object.assign(ae.binaryOptions,e)},get bool(){return ae.boolOptions},set bool(e){Object.assign(ae.boolOptions,e)},get int(){return ae.intOptions},set int(e){Object.assign(ae.intOptions,e)},get null(){return ae.nullOptions},set null(e){Object.assign(ae.nullOptions,e)},get str(){return ae.strOptions},set str(e){Object.assign(ae.strOptions,e)}},oS={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:wt.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:wt.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:wt.defaultTagPrefix}]}};function sS(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 eL(e,t){if(t instanceof ae.Alias)return ae.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 ae.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 tL(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(sS(i,e.tag)):t.default||r.push(sS(i,t.tag)),r.join(" ")}function Al(e,t,n,i){let{anchors:r,schema:a}=t.doc,s;if(!(e instanceof ae.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 ae.Pair)return e.toString(t,n,i);s||(s=eL(a.tags,e));let o=tL(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 ae.Scalar?ae.stringifyString(e,t,n,i):e.toString(t,n,i);return o?e instanceof ae.Scalar||c[0]==="{"||c[0]==="["?`${o} ${c}`:`${o}
|
|
173
|
-
${t.indent}${c}`:c}var
|
|
179
|
+
${a.comment}`:r.comment),r=a}n.items[i]=r instanceof ve.Pair?r:new ve.Pair(r)}}return n}function CS(e,t,n){let i=new ve.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 QN={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:kS,createNode:CS},xi=class extends ve.YAMLSeq{constructor(){super(),Ut._defineProperty(this,"add",ve.YAMLMap.prototype.add.bind(this)),Ut._defineProperty(this,"delete",ve.YAMLMap.prototype.delete.bind(this)),Ut._defineProperty(this,"get",ve.YAMLMap.prototype.get.bind(this)),Ut._defineProperty(this,"has",ve.YAMLMap.prototype.has.bind(this)),Ut._defineProperty(this,"set",ve.YAMLMap.prototype.set.bind(this)),this.tag=xi.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 ve.Pair?(a=ve.toJSON(r.key,"",n),s=ve.toJSON(r.value,a,n)):a=ve.toJSON(r,"",n),i.has(a))throw new Error("Ordered maps must not include duplicate keys");i.set(a,s)}return i}};Ut._defineProperty(xi,"tag","tag:yaml.org,2002:omap");function eL(e,t){let n=kS(e,t),i=[];for(let{key:r}of n.items)if(r instanceof ve.Scalar)if(i.includes(r.value)){let a="Ordered maps must not include duplicate keys";throw new Ut.YAMLSemanticError(t,a)}else i.push(r.value);return Object.assign(new xi,n)}function tL(e,t,n){let i=CS(e,t,n),r=new xi;return r.items=i.items,r}var nL={identify:e=>e instanceof Map,nodeClass:xi,default:!1,tag:"tag:yaml.org,2002:omap",resolve:eL,createNode:tL},yi=class extends ve.YAMLMap{constructor(){super(),this.tag=yi.tag}add(t){let n=t instanceof ve.Pair?t:new ve.Pair(t);ve.findPair(this.items,n.key)||this.items.push(n)}get(t,n){let i=ve.findPair(this.items,t);return!n&&i instanceof ve.Pair?i.key instanceof ve.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=ve.findPair(this.items,t);i&&!n?this.items.splice(this.items.indexOf(i),1):!i&&n&&this.items.push(new ve.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")}};Ut._defineProperty(yi,"tag","tag:yaml.org,2002:set");function iL(e,t){let n=ve.resolveMap(e,t);if(!n.hasAllNullValues())throw new Ut.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new yi,n)}function rL(e,t,n){let i=new yi;for(let r of t)i.items.push(e.createPair(r,null,n));return i}var aL={identify:e=>e instanceof Set,nodeClass:yi,default:!1,tag:"tag:yaml.org,2002:set",resolve:iL,createNode:rL},hh=(e,t)=>{let n=t.split(":").reduce((i,r)=>i*60+Number(r),0);return e==="-"?-n:n},TS=({value:e})=>{if(isNaN(e)||!isFinite(e))return ve.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*$/,"")},sL={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:TS},oL={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:TS},cL={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 lL(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 ES={};function uL(e,t){if(!ES[e]&&mh(!0)){ES[e]=!0;let n=`The option '${e}' will be removed in a future release`;n+=t?`, use '${t}' instead.`:".",gh(n,"DeprecationWarning")}}dn.binary=XN;dn.floatTime=oL;dn.intTime=sL;dn.omap=nL;dn.pairs=QN;dn.set=aL;dn.timestamp=cL;dn.warn=gh;dn.warnFileDeprecation=lL;dn.warnOptionDeprecation=uL});var wh=w($S=>{"use strict";var $l=ur(),ce=to(),Et=vh();function pL(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:pL,default:!0,nodeClass:ce.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:ce.resolveMap};function fL(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:fL,default:!0,nodeClass:ce.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:ce.resolveSeq},dL={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,dL],Ul=e=>typeof e=="bigint"||Number.isInteger(e),yh=(e,t,n)=>ce.intOptions.asBigInt?BigInt(e):parseInt(t,n);function MS(e,t,n){let{value:i}=e;return Ul(i)&&i>=0?n+i.toString(t):ce.stringifyNumber(e)}var RS={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},IS={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},NS={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=>MS(e,8,"0o")},LS={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},PS={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=>MS(e,16,"0x")},qS={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},BS={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()},FS={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},hL=xh.concat([RS,IS,NS,LS,PS,qS,BS,FS]),AS=e=>typeof e=="bigint"||Number.isInteger(e),Fl=({value:e})=>JSON.stringify(e),DS=[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:AS,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})=>AS(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}];DS.scalarFallback=e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)};var jS=({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 bh(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 mL=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:jS},{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:jS},{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=>bh(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=>bh(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=>bh(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),gL={core:hL,failsafe:xh,json:DS,yaml11:mL},vL={binary:Et.binary,bool:IS,float:FS,floatExp:BS,floatNaN:qS,floatTime:Et.floatTime,int:LS,intHex:PS,intOct:NS,intTime:Et.intTime,map:io,null:RS,omap:Et.omap,pairs:Et.pairs,seq:zl,set:Et.set,timestamp:Et.timestamp};function bL(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 xL(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=bL(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 yL(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 wL=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0,vr=class{constructor({customTags:t,merge:n,schema:i,sortMapEntries:r,tags:a}){this.merge=!!n,this.name=i,this.sortMapEntries=r===!0?wL:r||null,!t&&a&&Et.warnOptionDeprecation("tags","customTags"),this.tags=yL(gL,vL,t||a,i)}createNode(t,n,i,r){let a={defaultPrefix:vr.defaultPrefix,schema:this,wrapScalars:n},s=r?Object.assign(r,a):a;return xL(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(vr,"defaultPrefix",$l.defaultTagPrefix);$l._defineProperty(vr,"defaultTags",$l.defaultTags);$S.Schema=vr});var HS=w(Yl=>{"use strict";var kt=ur(),le=to(),zS=wh(),_L={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"},SL={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)}},WS={"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 US(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 OL(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 EL(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(US(i,e.tag)):t.default||r.push(US(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=OL(a.tags,e));let o=EL(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 ro=class{static validAnchorNode(t){return t instanceof le.Scalar||t instanceof le.YAMLSeq||t instanceof le.YAMLMap}constructor(t){kt._defineProperty(this,"map",Object.create(null)),this.prefix=t}createAlias(t,n){return this.setAnchor(t,n),new le.Alias(t)}createMergePair(...t){let n=new le.Merge;return n.value.items=t.map(i=>{if(i instanceof le.Alias){if(i.source instanceof le.YAMLMap)return i}else if(i instanceof le.YAMLMap)return this.createAlias(i);throw new Error("Merge sources must be Map nodes or their Aliases")}),n}getName(t){let{map:n}=this;return Object.keys(n).find(i=>n[i]===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 i=1;;++i){let r=`${t}${i}`;if(!n.includes(r))return r}}resolveNodes(){let{map:t,_cstAliases:n}=this;Object.keys(t).forEach(i=>{t[i]=t[i].resolved}),n.forEach(i=>{i.source=i.source.resolved}),delete this._cstAliases}setAnchor(t,n){if(t!=null&&!ro.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:i}=this,r=t&&Object.keys(i).find(a=>i[a]===t);if(r)if(n)r!==n&&(delete i[r],i[n]=t);else return r;else{if(!n){if(!t)return null;n=this.newName()}i[n]=t}return n}},Hl=(e,t)=>{if(e&&typeof e=="object"){let{tag:n}=e;e instanceof le.Collection?(n&&(t[n]=!0),e.items.forEach(i=>Hl(i,t))):e instanceof le.Pair?(Hl(e.key,t),Hl(e.value,t)):e instanceof le.Scalar&&n&&(t[n]=!0)}return t},kL=e=>Object.keys(Hl(e,{}));function CL(e,t){let n={before:[],after:[]},i,r=!1;for(let a of t)if(a.valueRange){if(i!==void 0){let o="Document contains trailing content not separated by a ... or --- line";e.errors.push(new kt.YAMLSyntaxError(a,o));break}let s=le.resolveNode(e,a);r&&(s.spaceBefore=!0,r=!1),i=s}else a.comment!==null?(i===void 0?n.before:n.after).push(a.comment):a.type===kt.Type.BLANK_LINE&&(r=!0,i===void 0&&n.before.length>0&&!e.commentBefore&&(e.commentBefore=n.before.join(`
|
|
174
181
|
`),n.before=[]));if(e.contents=i||null,!i)e.comment=n.before.concat(n.after).join(`
|
|
175
182
|
`)||null;else{let a=n.before.join(`
|
|
176
|
-
`);if(a){let s=i instanceof
|
|
183
|
+
`);if(a){let s=i instanceof le.Collection&&i.items[0]?i.items[0]:i;s.commentBefore=s.commentBefore?`${a}
|
|
177
184
|
${s.commentBefore}`:a}e.comment=n.after.join(`
|
|
178
|
-
`)||null}}function
|
|
179
|
-
`)||null}function
|
|
185
|
+
`)||null}}function TL({tagPrefixes:e},t){let[n,i]=t.parameters;if(!n||!i){let r="Insufficient parameters given for %TAG directive";throw new kt.YAMLSemanticError(t,r)}if(e.some(r=>r.handle===n)){let r="The %TAG directive must only be given at most once per handle in the same document.";throw new kt.YAMLSemanticError(t,r)}return{handle:n,prefix:i}}function AL(e,t){let[n]=t.parameters;if(t.name==="YAML:1.0"&&(n="1.0"),!n){let i="Insufficient parameters given for %YAML directive";throw new kt.YAMLSemanticError(t,i)}if(!WS[n]){let r=`Document will be parsed as YAML ${e.version||e.options.version} rather than YAML ${n}`;e.warnings.push(new kt.YAMLWarning(t,r))}return n}function jL(e,t,n){let i=[],r=!1;for(let a of t){let{comment:s,name:o}=a;switch(o){case"TAG":try{e.tagPrefixes.push(TL(e,a))}catch(c){e.errors.push(c)}r=!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 kt.YAMLSemanticError(a,c))}try{e.version=AL(e,a)}catch(c){e.errors.push(c)}r=!0;break;default:if(o){let c=`YAML only supports %TAG and %YAML directives, and not %${o}`;e.warnings.push(new kt.YAMLWarning(a,c))}}s&&i.push(s)}if(n&&!r&&(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=i.join(`
|
|
186
|
+
`)||null}function La(e){if(e instanceof le.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var br=class{constructor(t){this.anchors=new ro(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 La(this.contents),this.contents.add(t)}addIn(t,n){La(this.contents),this.contents.addIn(t,n)}delete(t){return La(this.contents),this.contents.delete(t)}deleteIn(t){return le.isEmptyPath(t)?this.contents==null?!1:(this.contents=null,!0):(La(this.contents),this.contents.deleteIn(t))}getDefaults(){return br.defaults[this.version]||br.defaults[this.options.version]||{}}get(t,n){return this.contents instanceof le.Collection?this.contents.get(t,n):void 0}getIn(t,n){return le.isEmptyPath(t)?!n&&this.contents instanceof le.Scalar?this.contents.value:this.contents:this.contents instanceof le.Collection?this.contents.getIn(t,n):void 0}has(t){return this.contents instanceof le.Collection?this.contents.has(t):!1}hasIn(t){return le.isEmptyPath(t)?this.contents!==void 0:this.contents instanceof le.Collection?this.contents.hasIn(t):!1}set(t,n){La(this.contents),this.contents.set(t,n)}setIn(t,n){le.isEmptyPath(t)?this.contents=n:(La(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 i=Object.assign({},this.getDefaults(),this.options);this.schema=new zS.Schema(i)}parse(t,n){this.options.keepCstNodes&&(this.cstNode=t),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:i=[],contents:r=[],directivesEndMarker:a,error:s,valueRange:o}=t;if(s&&(s.source||(s.source=this),this.errors.push(s)),jL(this,i,n),a&&(this.directivesEndMarker=!0),this.range=o?[o.start,o.end]:null,this.setSchema(),this.anchors._cstAliases=[],CL(this,r),this.anchors.resolveNodes(),this.options.prettyErrors){for(let c of this.errors)c instanceof kt.YAMLError&&c.makePretty();for(let c of this.warnings)c instanceof kt.YAMLError&&c.makePretty()}return this}listNonDefaultTags(){return kL(this.contents).filter(t=>t.indexOf(zS.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 i=this.tagPrefixes.find(r=>r.handle===t);i?i.prefix=n:this.tagPrefixes.push({handle:t,prefix:n})}else this.tagPrefixes=this.tagPrefixes.filter(i=>i.handle!==t)}toJSON(t,n){let{keepBlobsInJSON:i,mapAsMap:r,maxAliasCount:a}=this.options,s=i&&(typeof t!="string"||!(this.contents instanceof le.Scalar)),o={doc:this,indentStep:" ",keep:s,mapAsMap:s&&!!r,maxAliasCount:a,stringify:Wl},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=le.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=[],i=!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),i=!0}let r=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:c,prefix:u})=>{r.some(l=>l.indexOf(u)===0)&&(n.push(`%TAG ${c} ${u}`),i=!0)}),(i||this.directivesEndMarker)&&n.push("---"),this.commentBefore&&((i||!this.directivesEndMarker)&&n.unshift(""),n.unshift(this.commentBefore.replace(/^/gm,"#")));let a={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(t),stringify:Wl},s=!1,o=null;if(this.contents){this.contents instanceof le.Node&&(this.contents.spaceBefore&&(i||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=Wl(this.contents,a,()=>o=null,c);n.push(le.addComment(u,"",o))}else this.contents!==void 0&&n.push(Wl(this.contents,a));return this.comment&&((!s||o)&&n[n.length-1]!==""&&n.push(""),n.push(this.comment.replace(/^/gm,"#"))),n.join(`
|
|
180
187
|
`)+`
|
|
181
|
-
`}};
|
|
182
|
-
`);return i.reduce(function(r,a){return a.length>r?a.length:r},0)}});var
|
|
183
|
-
`);return e.length?e[0].length:0});
|
|
184
|
-
`)}function
|
|
185
|
-
`).reduce(function(
|
|
186
|
-
`+
|
|
187
|
-
`),this.length&&this.forEach(function(
|
|
188
|
-
`)}
|
|
189
|
-
`)});var
|
|
190
|
-
`).map(r=>r.split(" ")),i=0;return n.forEach(r=>{r.length>1&&
|
|
191
|
-
`)}rowToString(t,n){return this.rasterize(t).forEach((i,r)=>{let a="";i.forEach((s,o)=>{let{width:c}=t[o],u=this.negatePadding(t[o]),l=s;if(u>
|
|
188
|
+
`}};kt._defineProperty(br,"defaults",WS);Yl.Document=br;Yl.defaultOptions=_L;Yl.scalarOptions=SL});var GS=w(KS=>{"use strict";var _h=dS(),xr=HS(),ML=wh(),RL=ur(),IL=vh();to();function NL(e,t=!0,n){n===void 0&&typeof t=="string"&&(n=t,t=!0);let i=Object.assign({},xr.Document.defaults[xr.defaultOptions.version],xr.defaultOptions);return new ML.Schema(i).createNode(e,t,n)}var Pa=class extends xr.Document{constructor(t){super(Object.assign({},xr.defaultOptions,t))}};function LL(e,t){let n=[],i;for(let r of _h.parse(e)){let a=new Pa(t);a.parse(r,i),n.push(a),i=a}return n}function YS(e,t){let n=_h.parse(e),i=new Pa(t).parse(n[0]);if(n.length>1){let r="Source contains multiple documents; please use YAML.parseAllDocuments()";i.errors.unshift(new RL.YAMLSemanticError(n[1],r))}return i}function PL(e,t){let n=YS(e,t);if(n.warnings.forEach(i=>IL.warn(i)),n.errors.length>0)throw n.errors[0];return n.toJSON()}function qL(e,t){let n=new Pa(t);return n.contents=e,String(n)}var BL={createNode:NL,defaultOptions:xr.defaultOptions,Document:Pa,parse:PL,parseAllDocuments:LL,parseCST:_h.parse,parseDocument:YS,scalarOptions:xr.scalarOptions,stringify:qL};KS.YAML=BL});var VS=w((GF,ZS)=>{ZS.exports=GS().YAML});var sO=w((uD,aO)=>{var rO={};aO.exports=rO;var iO={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(iO).forEach(function(e){var t=iO[e],n=rO[e]=[];n.open="\x1B["+t[0]+"m",n.close="\x1B["+t[1]+"m"})});var cO=w((pD,oO)=>{var so=process.argv;oO.exports=function(){return so.indexOf("--no-color")!==-1||so.indexOf("--color=false")!==-1?!1:so.indexOf("--color")!==-1||so.indexOf("--color=true")!==-1||so.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 uO=w((fD,lO)=>{lO.exports=function(t,n){var i="";t=t||"Run the trap, drop the bass",t=t.split("");var r={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=r[a]||[" "],o=Math.floor(Math.random()*s.length);typeof r[a]<"u"?i+=r[a][o]:i+=a}),i}});var fO=w((dD,pO)=>{pO.exports=function(t,n){t=t||" he is here ";var i={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"]},r=[].concat(i.up,i.down,i.mid),a={};function s(u){var l=Math.floor(Math.random()*u);return l}function o(u){var l=!1;return r.filter(function(p){l=p===u}),l}function c(u,l){var p="",d,g;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(g in u)if(!o(g)){switch(p=p+u[g],d={up:0,down:0,mid:0},l.size){case"mini":d.up=s(8),d.min=s(2),d.down=s(8);break;case"maxi":d.up=s(16)+3,d.min=s(4)+1,d.down=s(64)+3;break;default:d.up=s(8)+1,d.mid=s(6)/2,d.down=s(8)+1;break}var x=["up","mid","down"];for(var v in x)for(var h=x[v],_=0;_<=d[h];_++)l[h]&&(p=p+i[h][s(i[h].length)])}return p}return c(t)}});var hO=w((hD,dO)=>{var Ih=qa();dO.exports=function(){return function(e,t,n){if(e===" ")return e;switch(t%3){case 0:return Ih.red(e);case 1:return Ih.white(e);case 2:return Ih.blue(e)}}}()});var gO=w((mD,mO)=>{var cP=qa();mO.exports=function(e,t,n){return t%2===0?e:cP.inverse(e)}});var bO=w((gD,vO)=>{var lP=qa();vO.exports=function(){var e=["red","yellow","green","blue","magenta"];return function(t,n,i){return t===" "?t:lP[e[n++%e.length]](t)}}()});var yO=w((vD,xO)=>{var uP=qa();xO.exports=function(){var e=["underline","inverse","grey","yellow","red","green","blue","white","cyan","magenta"];return function(t,n,i){return t===" "?t:uP[e[Math.round(Math.random()*(e.length-1))]](t)}}()});var qa=w((xD,kO)=>{var Ee={};kO.exports=Ee;Ee.themes={};var Si=Ee.styles=sO(),SO=Object.defineProperties;Ee.supportsColor=cO();typeof Ee.enabled>"u"&&(Ee.enabled=Ee.supportsColor);Ee.stripColors=Ee.strip=function(e){return(""+e).replace(/\x1B\[\d+m/g,"")};var bD=Ee.stylize=function(t,n){return Si[n].open+t+Si[n].close},pP=/[|\\{}()[\]^$+*?.]/g,fP=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(pP,"\\$&")};function OO(e){var t=function n(){return hP.apply(n,arguments)};return t._styles=e,t.__proto__=dP,t}var EO=function(){var e={};return Si.grey=Si.gray,Object.keys(Si).forEach(function(t){Si[t].closeRe=new RegExp(fP(Si[t].close),"g"),e[t]={get:function(){return OO(this._styles.concat(t))}}}),e}(),dP=SO(function(){},EO);function hP(){var e=arguments,t=e.length,n=t!==0&&String(arguments[0]);if(t>1)for(var i=1;i<t;i++)n+=" "+e[i];if(!Ee.enabled||!n)return n;for(var r=this._styles,a=r.length;a--;){var s=Si[r[a]];n=s.open+n.replace(s.closeRe,s.open)+s.close}return n}function wO(e){for(var t in e)(function(n){Ee[n]=function(i){return Ee[e[n]](i)}})(t)}Ee.setTheme=function(e){if(typeof e=="string")try{return Ee.themes[e]=require(e),wO(Ee.themes[e]),Ee.themes[e]}catch(t){return console.log(t),t}else wO(e)};function mP(){var e={};return Object.keys(EO).forEach(function(t){e[t]={get:function(){return OO([t])}}}),e}var gP=function(t,n){var i=n.split(""),r=0;return i=i.map(t),i.join("")};Ee.trap=uO();Ee.zalgo=fO();Ee.maps={};Ee.maps.america=hO();Ee.maps.zebra=gO();Ee.maps.rainbow=bO();Ee.maps.random=yO();for(_O in Ee.maps)(function(e){Ee[e]=function(t){return gP(Ee.maps[e],t)}})(_O);var _O;SO(Ee,mP())});var TO=w((yD,CO)=>{var vP=qa();CO.exports=vP});var jO=w(Ba=>{Ba.repeat=function(e,t){return Array(t+1).join(e)};Ba.pad=function(e,t,n,i){if(t+1>=e.length)switch(i){case"left":e=Array(t+1-e.length).join(n)+e;break;case"both":var r=Math.ceil((padlen=t-e.length)/2),a=padlen-r;e=Array(a+1).join(n)+e+Array(r+1).join(n);break;default:e=e+Array(t+1-e.length).join(n)}return e};Ba.truncate=function(e,t,n){return n=n||"\u2026",e.length>=t?e.substr(0,t-n.length)+n:e};function AO(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]||{},AO(e[n],t[n])):e[n]=t[n]);return e}Ba.options=AO;Ba.strlen=function(e){var t=/\u001b\[(?:\d*;){0,5}\d*m/g,n=(""+e).replace(t,""),i=n.split(`
|
|
189
|
+
`);return i.reduce(function(r,a){return a.length>r?a.length:r},0)}});var MO=w((_D,Lh)=>{var bP=TO(),yr=jO(),Nh=yr.repeat,xP=yr.truncate,yP=yr.pad;function oo(e){if(this.options=yr.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])}oo.prototype.__proto__=Array.prototype;oo.prototype.__defineGetter__("width",function(){var e=this.toString().split(`
|
|
190
|
+
`);return e.length?e[0].length:0});oo.prototype.render;oo.prototype.toString=function(){var e="",t=this.options,n=t.style,i=t.head,r=t.chars,a=t.truncate,s=t.colWidths||new Array(this.head.length),o=0;if(!i.length&&!this.length)return"";if(!s.length){var c=this.slice(0);i.length&&(c=c.concat([i])),c.forEach(function(_){if(typeof _=="object"&&_.length)u(_);else{var k=Object.keys(_)[0],I=_[k];s[0]=Math.max(s[0]||0,l(k)||0),typeof I=="object"&&I.length?u(I,1):s[1]=Math.max(s[1]||0,l(I)||0)}})}o=(s.length==1?s[0]:s.reduce(function(_,k){return _+k}))+s.length+1;function u(_,I){var I=I||0;_.forEach(function(R,M){s[M+I]=Math.max(s[M+I]||0,l(R)||0)})}function l(_){return typeof _=="object"&&_.width!=null?_.width:(typeof _=="object"?yr.strlen(_.text):yr.strlen(_))+(n["padding-left"]||0)+(n["padding-right"]||0)}function p(H,k,I,R){var M=0,H=k+Nh(H,o-2)+I;return s.forEach(function(D,$){$!=s.length-1&&(M+=D+1,H=H.substr(0,M)+R+H.substr(M+1))}),x(t.style.border,H)}function d(){var _=p(r.top,r["top-left"]||r.top,r["top-right"]||r.top,r["top-mid"]);_&&(e+=_+`
|
|
191
|
+
`)}function g(_,k){var I=[],R=0;if(!Array.isArray(_)&&typeof _=="object"){var M=Object.keys(_)[0],H=_[M],D=!0;Array.isArray(H)?(_=H,_.unshift(M)):_=[M,H]}_.forEach(function(P,O){var b=P.toString().split(`
|
|
192
|
+
`).reduce(function(N,Y){return N.push(v(Y,O)),N},[]),A=b.length;A>R&&(R=A),I.push({contents:b,height:A})});var $=new Array(R);I.forEach(function(P,O){P.contents.forEach(function(N,Y){$[Y]||($[Y]=[]),(k||D&&O===0&&t.style.head)&&(N=x(t.style.head,N)),$[Y].push(N)});for(var b=P.height,A=R;b<A;b++)$[b]||($[b]=[]),$[b].push(v("",O))});var y="";return $.forEach(function(P,O){y.length>0&&(y+=`
|
|
193
|
+
`+x(t.style.border,r.left)),y+=P.join(x(t.style.border,r.middle))+x(t.style.border,r.right)}),x(t.style.border,r.left)+y}function x(_,k){return k?(_.forEach(function(I){k=bP[I](k)}),k):""}function v(I,k){var I=String(typeof I=="object"&&I.text?I.text:I),R=yr.strlen(I),M=s[k]-(n["padding-left"]||0)-(n["padding-right"]||0),H=t.colAligns[k]||"left";return Nh(" ",n["padding-left"]||0)+(R==M?I:R<M?yP(I,M+(I.length-R)," ",H=="left"?"right":H=="middle"?"both":"left"):a?xP(I,M,a):I)+Nh(" ",n["padding-right"]||0)}i.length&&(d(),e+=g(i,n.head)+`
|
|
194
|
+
`),this.length&&this.forEach(function(_,k){if(!i.length&&k==0)d();else if(!n.compact||k<!!i.length||_.length==0){var I=p(r.mid,r["left-mid"],r["right-mid"],r["mid-mid"]);I&&(e+=I+`
|
|
195
|
+
`)}_.hasOwnProperty("length")&&!_.length||(e+=g(_)+`
|
|
196
|
+
`)});var h=p(r.bottom,r["bottom-left"]||r.bottom,r["bottom-right"]||r.bottom,r["bottom-mid"]);return h?e+=h:e=e.slice(0,-1),e};Lh.exports=oo;Lh.exports.version="0.0.1"});var WP={};module.exports=YO(WP);var go=require("assert");var KO={right:XO,center:QO},GO=0,co=1,ZO=2,lo=3,tu=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(i=>typeof i=="string"?this.colFromString(i):i);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(`
|
|
197
|
+
`).map(r=>r.split(" ")),i=0;return n.forEach(r=>{r.length>1&&Mt.stringWidth(r[0])>i&&(i=Math.min(Math.floor(this.width*.5),Mt.stringWidth(r[0])))}),n.forEach(r=>{this.div(...r.map((a,s)=>({text:a.trim(),padding:this.measurePadding(a),width:s===0&&r.length>1?i:void 0})))}),this.rows[this.rows.length-1]}colFromString(t){return{text:t,padding:this.measurePadding(t)}}measurePadding(t){let n=Mt.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(`
|
|
198
|
+
`)}rowToString(t,n){return this.rasterize(t).forEach((i,r)=>{let a="";i.forEach((s,o)=>{let{width:c}=t[o],u=this.negatePadding(t[o]),l=s;if(u>Mt.stringWidth(s)&&(l+=" ".repeat(u-Mt.stringWidth(s))),t[o].align&&t[o].align!=="left"&&this.wrap){let d=KO[t[o].align];l=d(l,u),Mt.stringWidth(l)<u&&(l+=" ".repeat((c||0)-Mt.stringWidth(l)-1))}let p=t[o].padding||[0,0,0,0];p[lo]&&(a+=" ".repeat(p[lo])),a+=Yh(t[o],l,"| "),a+=l,a+=Yh(t[o],l," |"),p[co]&&(a+=" ".repeat(p[co])),r===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 i=t.match(/^ */),r=i?i[0].length:0,a=n.text,s=Mt.stringWidth(a.trimRight());return n.span?this.wrap?r<s?t:(n.hidden=!0,a.trimRight()+" ".repeat(r-s)+t.trimLeft()):(n.hidden=!0,a+t):t}rasterize(t){let n=[],i=this.columnWidths(t),r;return t.forEach((a,s)=>{a.width=i[s],this.wrap?r=Mt.wrap(a.text,this.negatePadding(a),{hard:!0}).split(`
|
|
192
199
|
`):r=a.text.split(`
|
|
193
|
-
`),a.border&&(r.unshift("."+"-".repeat(this.negatePadding(a)+2)+"."),r.push("'"+"-".repeat(this.negatePadding(a)+2)+"'")),a.padding&&(r.unshift(...new Array(a.padding[
|
|
194
|
-
`),r+=e.charAt(a);return n&&i&&(r=`${n}${r}${i}`),r}function zl(e){return _h(e,{stringWidth:t=>[...t].length,stripAnsi:Dl,wrap:Eh})}var ur=require("path"),Js=require("fs");function Oh(e,t){let n=(0,ur.resolve)(".",e),i;for((0,Js.statSync)(n).isDirectory()||(n=(0,ur.dirname)(n));;){if(i=t(n,(0,Js.readdirSync)(n)),i)return(0,ur.resolve)(n,i);if(n=(0,ur.dirname)(i=n),i===n)break}}var Dh=require("util"),zh=require("fs"),$h=require("url");var Th=require("util"),to=require("path");function mi(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 Xs(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 Qs(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 kh(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 Dt;(function(e){e.BOOLEAN="boolean",e.STRING="string",e.NUMBER="number",e.ARRAY="array"})(Dt||(Dt={}));var _n,eo=class{constructor(t){_n=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=kh(t),a=typeof t=="string",s=vE(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--"],f=p?"--":"_",m=Object.create(null),v=Object.create(null),g=i.__||_n.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(i.array||[]).filter(Boolean).forEach(function(y){let E=typeof y=="object"?y.key:y,N=Object.keys(y).map(function(T){return{boolean:"bools",string:"strings",number:"numbers"}[T]}).filter(Boolean).pop();N&&(d[N][E]=!0),d.arrays[E]=!0,d.keys.push(E)}),[].concat(i.boolean||[]).filter(Boolean).forEach(function(y){d.bools[y]=!0,d.keys.push(y)}),[].concat(i.string||[]).filter(Boolean).forEach(function(y){d.strings[y]=!0,d.keys.push(y)}),[].concat(i.number||[]).filter(Boolean).forEach(function(y){d.numbers[y]=!0,d.keys.push(y)}),[].concat(i.count||[]).filter(Boolean).forEach(function(y){d.counts[y]=!0,d.keys.push(y)}),[].concat(i.normalize||[]).filter(Boolean).forEach(function(y){d.normalize[y]=!0,d.keys.push(y)}),typeof i.narg=="object"&&Object.entries(i.narg).forEach(([y,E])=>{typeof E=="number"&&(d.nargs[y]=E,d.keys.push(y))}),typeof i.coerce=="object"&&Object.entries(i.coerce).forEach(([y,E])=>{typeof E=="function"&&(d.coercions[y]=E,d.keys.push(y))}),typeof i.config<"u"&&(Array.isArray(i.config)||typeof i.config=="string"?[].concat(i.config).filter(Boolean).forEach(function(y){d.configs[y]=!0}):typeof i.config=="object"&&Object.entries(i.config).forEach(([y,E])=>{(typeof E=="boolean"||typeof E=="function")&&(d.configs[y]=E)})),ie(i.key,s,i.default,d.arrays),Object.keys(c).forEach(function(y){(d.aliases[y]||[]).forEach(function(E){c[E]=c[y]})});let C=null;Bl();let k=[],O=Object.assign(Object.create(null),{_:[]}),F={};for(let y=0;y<r.length;y++){let E=r[y],N=E.replace(/^-{3,}/,"---"),T,S,H,D,Q,He;if(E!=="--"&&oe(E))P(E);else if(N.match(/---+(=|$)/)){P(E);continue}else if(E.match(/^--.+=/)||!o["short-option-groups"]&&E.match(/^-.+=/))D=E.match(/^--?([^=]+)=([\s\S]*)$/),D!==null&&Array.isArray(D)&&D.length>=3&&(z(D[1],d.arrays)?y=$(y,D[1],r,D[2]):z(D[1],d.nargs)!==!1?y=L(y,D[1],r,D[2]):B(D[1],D[2],!0));else if(E.match(_)&&o["boolean-negation"])D=E.match(_),D!==null&&Array.isArray(D)&&D.length>=2&&(S=D[1],B(S,z(S,d.arrays)?[!1]:!1));else if(E.match(/^--.+/)||!o["short-option-groups"]&&E.match(/^-[^-]+/))D=E.match(/^--?(.+)/),D!==null&&Array.isArray(D)&&D.length>=2&&(S=D[1],z(S,d.arrays)?y=$(y,S,r):z(S,d.nargs)!==!1?y=L(y,S,r):(Q=r[y+1],Q!==void 0&&(!Q.match(/^-/)||Q.match(x))&&!z(S,d.bools)&&!z(S,d.counts)||/^(true|false)$/.test(Q)?(B(S,Q),y++):B(S,te(S))));else if(E.match(/^-.\..+=/))D=E.match(/^-([^=]+)=([\s\S]*)$/),D!==null&&Array.isArray(D)&&D.length>=3&&B(D[1],D[2]);else if(E.match(/^-.\..+/)&&!E.match(x))Q=r[y+1],D=E.match(/^-(.\..+)/),D!==null&&Array.isArray(D)&&D.length>=2&&(S=D[1],Q!==void 0&&!Q.match(/^-/)&&!z(S,d.bools)&&!z(S,d.counts)?(B(S,Q),y++):B(S,te(S)));else if(E.match(/^-[^-]+/)&&!E.match(x)){H=E.slice(1,-1).split(""),T=!1;for(let dt=0;dt<H.length;dt++){if(Q=E.slice(dt+2),H[dt+1]&&H[dt+1]==="="){He=E.slice(dt+3),S=H[dt],z(S,d.arrays)?y=$(y,S,r,He):z(S,d.nargs)!==!1?y=L(y,S,r,He):B(S,He),T=!0;break}if(Q==="-"){B(H[dt],Q);continue}if(/[A-Za-z]/.test(H[dt])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(Q)&&z(Q,d.bools)===!1){B(H[dt],Q),T=!0;break}if(H[dt+1]&&H[dt+1].match(/\W/)){B(H[dt],Q),T=!0;break}else B(H[dt],te(H[dt]))}S=E.slice(-1)[0],!T&&S!=="-"&&(z(S,d.arrays)?y=$(y,S,r):z(S,d.nargs)!==!1?y=L(y,S,r):(Q=r[y+1],Q!==void 0&&(!/^(-|--)[^-]/.test(Q)||Q.match(x))&&!z(S,d.bools)&&!z(S,d.counts)||/^(true|false)$/.test(Q)?(B(S,Q),y++):B(S,te(S))))}else if(E.match(/^-[0-9]$/)&&E.match(x)&&z(E.slice(1),d.bools))S=E.slice(1),B(S,te(S));else if(E==="--"){k=r.slice(y+1);break}else if(o["halt-at-non-option"]){k=r.slice(y);break}else P(E)}ve(O,!0),ve(O,!1),I(O),ce(),le(O,d.aliases,c,!0),X(O),o["set-placeholder-key"]&&Se(O),Object.keys(d.counts).forEach(function(y){Y(O,y.split("."))||B(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=>mi(E)).join(".")],delete O[y]});function P(y){let E=M("_",y);(typeof E=="string"||typeof E=="number")&&O._.push(E)}function L(y,E,N,T){let S,H=z(E,d.nargs);if(H=typeof H!="number"||isNaN(H)?1:H,H===0)return We(T)||(C=Error(g("Argument unexpected for: %s",E))),B(E,te(E)),y;let D=We(T)?0:1;if(o["nargs-eats-options"])N.length-(y+1)+D<H&&(C=Error(g("Not enough arguments following: %s",E))),D=H;else{for(S=y+1;S<N.length&&(!N[S].match(/^-[^0-9]/)||N[S].match(x)||oe(N[S]));S++)D++;D<H&&(C=Error(g("Not enough arguments following: %s",E)))}let Q=Math.min(D,H);for(!We(T)&&Q>0&&(B(E,T),Q--),S=y+1;S<Q+y+1;S++)B(E,N[S]);return y+Q}function $(y,E,N,T){let S=[],H=T||N[y+1],D=z(E,d.nargs);if(z(E,d.bools)&&!/^(true|false)$/.test(H))S.push(!0);else if(We(H)||We(T)&&/^-/.test(H)&&!x.test(H)&&!oe(H)){if(c[E]!==void 0){let Q=c[E];S=Array.isArray(Q)?Q:[Q]}}else{We(T)||S.push(R(E,T,!0));for(let Q=y+1;Q<N.length&&!(!o["greedy-arrays"]&&S.length>0||D&&typeof D=="number"&&S.length>=D||(H=N[Q],/^-/.test(H)&&!x.test(H)&&!oe(H)));Q++)y=Q,S.push(R(E,H,a))}return typeof D=="number"&&(D&&S.length<D||isNaN(D)&&S.length===0)&&(C=Error(g("Not enough arguments following: %s",E))),B(E,S),y}function B(y,E,N=a){if(/-/.test(y)&&o["camel-case-expansion"]){let H=y.split(".").map(function(D){return mi(D)}).join(".");q(y,H)}let T=R(y,E,N),S=y.split(".");fe(O,S,T),d.aliases[y]&&d.aliases[y].forEach(function(H){let D=H.split(".");fe(O,D,T)}),S.length>1&&o["dot-notation"]&&(d.aliases[S[0]]||[]).forEach(function(H){let D=H.split("."),Q=[].concat(S);Q.shift(),D=D.concat(Q),(d.aliases[y]||[]).includes(D.join("."))||fe(O,D,T)}),z(y,d.normalize)&&!z(y,d.arrays)&&[y].concat(d.aliases[y]||[]).forEach(function(D){Object.defineProperty(F,D,{enumerable:!0,get(){return E},set(Q){E=typeof Q=="string"?_n.normalize(Q):Q}})})}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 R(y,E,N){N&&(E=bE(E)),(z(y,d.bools)||z(y,d.counts))&&typeof E=="string"&&(E=E==="true");let T=Array.isArray(E)?E.map(function(S){return M(y,S)}):M(y,E);return z(y,d.counts)&&(We(T)||typeof T=="boolean")&&(T=$l()),z(y,d.normalize)&&z(y,d.arrays)&&(Array.isArray(E)?T=E.map(S=>_n.normalize(S)):T=_n.normalize(E)),T}function M(y,E){return!o["parse-positional-numbers"]&&y==="_"||!z(y,d.strings)&&!z(y,d.bools)&&!Array.isArray(E)&&(Qs(E)&&o["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${E}`)))||!We(E)&&z(y,d.numbers))&&(E=Number(E)),E}function I(y){let E=Object.create(null);le(E,d.aliases,c),Object.keys(d.configs).forEach(function(N){let T=y[N]||E[N];if(T)try{let S=null,H=_n.resolve(_n.cwd(),T),D=d.configs[N];if(typeof D=="function"){try{S=D(H)}catch(Q){S=Q}if(S instanceof Error){C=S;return}}else S=_n.require(H);K(S)}catch(S){S.name==="PermissionDenied"?C=S:y[N]&&(C=Error(g("Invalid JSON config file: %s",T)))}})}function K(y,E){Object.keys(y).forEach(function(N){let T=y[N],S=E?E+"."+N:N;typeof T=="object"&&T!==null&&!Array.isArray(T)&&o["dot-notation"]?K(T,S):(!Y(O,S.split("."))||z(S,d.arrays)&&o["combine-arrays"])&&B(S,T)})}function ce(){typeof u<"u"&&u.forEach(function(y){K(y)})}function ve(y,E){if(typeof l>"u")return;let N=typeof l=="string"?l:"",T=_n.env();Object.keys(T).forEach(function(S){if(N===""||S.lastIndexOf(N,0)===0){let H=S.split("__").map(function(D,Q){return Q===0&&(D=D.substring(N.length)),mi(D)});(E&&d.configs[H.join(".")]||!E)&&!Y(y,H)&&B(H.join("."),T[S])}})}function X(y){let E,N=new Set;Object.keys(y).forEach(function(T){if(!N.has(T)&&(E=z(T,d.coercions),typeof E=="function"))try{let S=M(T,E(y[T]));[].concat(d.aliases[T]||[],T).forEach(H=>{N.add(H),y[H]=S})}catch(S){C=S}})}function Se(y){return d.keys.forEach(E=>{~E.indexOf(".")||typeof y[E]>"u"&&(y[E]=void 0)}),y}function le(y,E,N,T=!1){Object.keys(N).forEach(function(S){Y(y,S.split("."))||(fe(y,S.split("."),N[S]),T&&(v[S]=!0),(E[S]||[]).forEach(function(H){Y(y,H.split("."))||fe(y,H.split("."),N[S])}))})}function Y(y,E){let N=y;o["dot-notation"]||(E=[E.join(".")]),E.slice(0,-1).forEach(function(S){N=N[S]||{}});let T=E[E.length-1];return typeof N!="object"?!1:T in N}function fe(y,E,N){let T=y;o["dot-notation"]||(E=[E.join(".")]),E.slice(0,-1).forEach(function(He){He=Ch(He),typeof T=="object"&&T[He]===void 0&&(T[He]={}),typeof T[He]!="object"||Array.isArray(T[He])?(Array.isArray(T[He])?T[He].push({}):T[He]=[T[He],{}],T=T[He][T[He].length-1]):T=T[He]});let S=Ch(E[E.length-1]),H=z(E.join("."),d.arrays),D=Array.isArray(N),Q=o["duplicate-arguments-array"];!Q&&z(S,d.nargs)&&(Q=!0,(!We(T[S])&&d.nargs[S]===1||Array.isArray(T[S])&&T[S].length===d.nargs[S])&&(T[S]=void 0)),N===$l()?T[S]=$l(T[S]):Array.isArray(T[S])?Q&&H&&D?T[S]=o["flatten-duplicate-arrays"]?T[S].concat(N):(Array.isArray(T[S][0])?T[S]:[T[S]]).concat([N]):!Q&&Boolean(H)===Boolean(D)?T[S]=N:T[S]=T[S].concat([N]):T[S]===void 0&&H?T[S]=D?N:[N]:Q&&!(T[S]===void 0||z(S,d.counts)||z(S,d.bools))?T[S]=[T[S],N]:T[S]=N}function ie(...y){y.forEach(function(E){Object.keys(E||{}).forEach(function(N){d.aliases[N]||(d.aliases[N]=[].concat(s[N]||[]),d.aliases[N].concat(N).forEach(function(T){if(/-/.test(T)&&o["camel-case-expansion"]){let S=mi(T);S!==N&&d.aliases[N].indexOf(S)===-1&&(d.aliases[N].push(S),m[S]=!0)}}),d.aliases[N].concat(N).forEach(function(T){if(T.length>1&&/[A-Z]/.test(T)&&o["camel-case-expansion"]){let S=Xs(T,"-");S!==N&&d.aliases[N].indexOf(S)===-1&&(d.aliases[N].push(S),m[S]=!0)}}),d.aliases[N].forEach(function(T){d.aliases[T]=[N].concat(d.aliases[N].filter(function(S){return T!==S}))}))})})}function z(y,E){let N=[].concat(d.aliases[y]||[],y),T=Object.keys(E),S=N.find(H=>T.includes(H));return S?E[S]:!1}function ft(y){let E=Object.keys(d);return[].concat(E.map(T=>d[T])).some(function(T){return Array.isArray(T)?T.includes(y):T[y]})}function Ft(y,...E){return[].concat(...E).some(function(T){let S=y.match(T);return S&&ft(S[1])})}function Z(y){if(y.match(x)||!y.match(/^-[^-]+/))return!1;let E=!0,N,T=y.slice(1).split("");for(let S=0;S<T.length;S++){if(N=y.slice(S+2),!ft(T[S])){E=!1;break}if(T[S+1]&&T[S+1]==="="||N==="-"||/[A-Za-z]/.test(T[S])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(N)||T[S+1]&&T[S+1].match(/\W/))break}return E}function oe(y){return o["unknown-options-as-args"]&&je(y)}function je(y){return y=y.replace(/^-{3,}/,"--"),y.match(x)||Z(y)?!1:!Ft(y,/^-+([^=]+?)=[\s\S]*$/,_,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function te(y){return!z(y,d.bools)&&!z(y,d.counts)&&`${y}`in c?c[y]:Fe(qe(y))}function Fe(y){return{[Dt.BOOLEAN]:!0,[Dt.STRING]:"",[Dt.NUMBER]:void 0,[Dt.ARRAY]:[]}[y]}function qe(y){let E=Dt.BOOLEAN;return z(y,d.strings)?E=Dt.STRING:z(y,d.numbers)?E=Dt.NUMBER:z(y,d.bools)?E=Dt.BOOLEAN:z(y,d.arrays)&&(E=Dt.ARRAY),E}function We(y){return y===void 0}function Bl(){Object.keys(d.counts).find(y=>z(y,d.arrays)?(C=Error(g("Invalid configuration: %s, opts.count excludes opts.array.",y)),!0):z(y,d.nargs)?(C=Error(g("Invalid configuration: %s, opts.count excludes opts.narg.",y)),!0):!1)}return{aliases:Object.assign({},d.aliases),argv:Object.assign(F,O),configuration:o,defaulted:Object.assign({},v),error:C,newAliases:Object.assign({},m)}}};function vE(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 $l(e){return e!==void 0?e+1:1}function Ch(e){return e==="__proto__"?"___proto___":e}function bE(e){return typeof e=="string"&&(e[0]==="'"||e[0]==='"')&&e[e.length-1]===e[0]?e.substring(1,e.length-1):e}var jh=require("fs");var Ah=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])<Ah)throw Error(`yargs parser supports a minimum Node.js version of ${Ah}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);var xE=process?process.env:{},Mh=new eo({cwd:process.cwd,env:()=>xE,format:Th.format,normalize:to.normalize,resolve:to.resolve,require:e=>{if(typeof require<"u")return require(e);if(e.match(/\.json$/))return JSON.parse((0,jh.readFileSync)(e,"utf8"));throw Error("only .json config files are supported in ESM")}}),ja=function(t,n){return Mh.parse(t.slice(),n).argv};ja.detailed=function(e,t){return Mh.parse(e.slice(),t)};ja.camelCase=mi;ja.decamelize=Xs;ja.looksLikeNumber=Qs;var Ul=ja;var Xt=require("path");function Rh(){return yE()?0:1}function yE(){return wE()&&!process.defaultApp}function wE(){return!!process.versions.electron}function Wl(e){return e.slice(Rh()+1)}function Nh(){return process.argv[Rh()]}var _e=class extends Error{constructor(t){super(t||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,_e)}};var pr=require("fs"),Lh=require("util"),Ih=require("path"),qh={fs:{readFileSync:pr.readFileSync,writeFile:pr.writeFile},format:Lh.format,resolve:Ih.resolve,exists:e=>{try{return(0,pr.statSync)(e).isFile()}catch{return!1}}};var Jt,Kl=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(),Jt.format.apply(Jt.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),Jt.format.apply(Jt.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);Jt.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{Jt.fs.readFileSync&&(t=JSON.parse(Jt.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=Jt.resolve(t,"./",n+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(i)&&~n.lastIndexOf("_")){let r=Jt.resolve(t,"./",n.split("_")[0]+".json");this._fileExistsSync(r)&&(i=r)}return i}_fileExistsSync(t){return Jt.exists(t)}};function Ph(e,t){Jt=t;let n=new Kl(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 _E=e=>Ph(e,qh),Bh=_E;var OE={},SE="require is not supported by ESM",Fh="loading a directory of commands is not supported yet for ESM",Ma;try{Ma=(0,$h.fileURLToPath)(OE.url)}catch{Ma=process.cwd()}var EE=Ma.substring(0,Ma.lastIndexOf("node_modules")),Yl={assert:{notStrictEqual:no.notStrictEqual,strictEqual:no.strictEqual},cliui:zl,findUp:Oh,getEnv:e=>process.env[e],inspect:Dh.inspect,getCallerFile:()=>{throw new _e(Fh)},getProcessArgvBin:Nh,mainFilename:EE||process.cwd(),Parser:Ul,path:{basename:Xt.basename,dirname:Xt.dirname,extname:Xt.extname,relative:Xt.relative,resolve:Xt.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:zh.readFileSync,require:()=>{throw new _e(SE)},requireDirectory:()=>{throw new _e(Fh)},stringWidth:e=>[...e].length,y18n:Bh({directory:(0,Xt.resolve)(Ma,"../../../locales"),updateFiles:!1})};function ht(e,t,n,i){n.assert.notStrictEqual(e,t,i)}function Hl(e,t){t.assert.strictEqual(typeof e,"string")}function fr(e){return Object.keys(e)}function Oe(e){return!!e&&!!e.then&&typeof e.then=="function"}function Pn(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 kE=["first","second","third","fourth","fifth","sixth"];function U(e,t,n){function i(){return typeof e=="object"?[{demanded:[],optional:[]},e,t]:[Pn(`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 _e(`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 _e(`Too many arguments provided. Expected max ${l} but received ${u}.`);a.demanded.forEach(p=>{let f=c.shift(),m=Uh(f);p.cmd.filter(g=>g===m||g==="*").length===0&&Wh(m,p.cmd,r),r+=1}),a.optional.forEach(p=>{if(c.length===0)return;let f=c.shift(),m=Uh(f);p.cmd.filter(g=>g===m||g==="*").length===0&&Wh(m,p.cmd,r),r+=1})}catch(r){console.warn(r.stack)}}function Uh(e){return Array.isArray(e)?"array":e===null?"null":typeof e}function Wh(e,t,n){throw new _e(`Invalid ${kE[n]||"manyith"} argument. Expected ${t.join(" or ")} but received ${e}.`)}var io=class{constructor(t){this.globalMiddleware=[],this.frozens=[],this.yargs=t}addMiddleware(t,n,i=!0,r=!1){if(U("<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 Kh(e){return e?e.map(t=>(t.applyBeforeValidation=!1,t)):[]}function gi(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(Oe(r))return r.then(s=>Promise.all([s,a(s,t)])).then(([s,o])=>Object.assign(s,o));{let s=a(r,t);return Oe(s)?s.then(o=>Object.assign(r,o)):Object.assign(r,s)}},e)}function vi(e,t,n=i=>{throw i}){try{let i=CE(e)?e():e;return Oe(i)?i.then(r=>t(r)):t(i)}catch(i){return n(i)}}function CE(e){return typeof e=="function"}function Gl(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 dr=/(^\*)|(^\$0)/,Vl=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=Kh(a);if(r=r||(()=>{}),Array.isArray(t))if(AE(t))[t,...o]=t;else for(let u of t)this.addHandler(u);else if(jE(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(Yh(i)){this.addHandler([t].concat(o),n,i.builder,i.handler,i.middlewares,i.deprecated);return}if(typeof t=="string"){let u=Pn(t);o=o.map(f=>Pn(f).cmd);let l=!1,p=[u.cmd].concat(o).filter(f=>dr.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(dr,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: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 Oe(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,i,r,a,s,o,c){let u=n.builder,l=i;if(ro(u)){let p=u(i.getInternalMethods().reset(r),c);if(Oe(p))return p.then(f=>(l=Gh(f)?f:i,this.parseAndUpdateUsage(t,n,l,a,s,o)))}else TE(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 Oe(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=dr.test(n.original)?n.original.replace(dr,"").trim():n.original,r=t.filter(a=>!dr.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=vi(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=gi(i,s,o,!1),i=vi(i,l=>{let p=n.handler(l);return Oe(p)?p.then(()=>l):l}),t||s.getInternalMethods().getUsageInstance().cacheHelpMessage(),Oe(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=gi(i,o,u,!0);return Oe(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=Pn(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=dr.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(ro(n))return n(t,!0);Yh(n)||Object.keys(n).forEach(i=>{t.option(i,n[i])})}moduleName(t){let n=Gl(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;ht(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();ht(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 Hh(e,t,n,i){return new Vl(e,t,n,i)}function Yh(e){return typeof e=="object"&&!!e.builder&&typeof e.handler=="function"}function AE(e){return e.every(t=>typeof t=="string")}function ro(e){return typeof e=="function"}function TE(e){return typeof e=="object"}function jE(e){return typeof e=="object"&&!Array.isArray(e)}function Bn(e={},t=()=>!0){let n={};return fr(e).forEach(i=>{t(i,e[i])&&(n[i]=e[i])}),n}function Fn(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 ME(e){return typeof e=="boolean"}function Zh(e,t){let n=t.y18n.__,i={},r=[];i.failFn=function(M){r.push(M)};let a=null,s=null,o=!0;i.showHelpOnFail=function(M=!0,I){let[K,ce]=typeof M=="string"?[!0,M]:[M,I];return e.getInternalMethods().isGlobalContext()&&(s=ce),a=ce,o=K,i};let c=!1;i.fail=function(M,I){let K=e.getInternalMethods().getLoggerInstance();if(r.length)for(let ce=r.length-1;ce>=0;--ce){let ve=r[ce];if(ME(ve)){if(I)throw I;if(M)throw Error(M)}else ve(M,I,i)}else{if(e.getExitProcess()&&Fn(!0),!c){c=!0,o&&(e.showHelp("error"),K.error()),(M||I)&&K.error(M||I);let ce=a||s;ce&&((M||I)&&K.error(""),K.error(ce))}if(I=I||new _e(M),e.getExitProcess())return e.exit(1);if(e.getInternalMethods().hasParseCallback())return e.exit(1,I);throw I}};let u=[],l=!1;i.usage=(R,M)=>R===null?(l=!0,u=[],i):(l=!1,u.push([R,M||""]),i),i.getUsage=()=>u,i.getUsageDisabled=()=>l,i.getPositionalGroupName=()=>n("Positionals:");let p=[];i.example=(R,M)=>{p.push([R,M||""])};let f=[];i.command=function(M,I,K,ce,ve=!1){K&&(f=f.map(X=>(X[2]=!1,X))),f.push([M,I||"",K,ce,ve])},i.getCommands=()=>f;let m={};i.describe=function(M,I){Array.isArray(M)?M.forEach(K=>{i.describe(K,I)}):typeof M=="object"?Object.keys(M).forEach(K=>{i.describe(K,M[K])}):m[M]=I},i.getDescriptions=()=>m;let v=[];i.epilog=R=>{v.push(R)};let g=!1,d;i.wrap=R=>{g=!0,d=R};function x(){return g||(d=$(),g=!0),d}let _="__yargsString__:";i.deferY18nLookup=R=>_+R,i.help=function(){if(O)return O;k();let M=e.customScriptName?e.$0:t.path.basename(e.$0),I=e.getDemandedOptions(),K=e.getDemandedCommands(),ce=e.getDeprecatedOptions(),ve=e.getGroups(),X=e.getOptions(),Se=[];Se=Se.concat(Object.keys(m)),Se=Se.concat(Object.keys(I)),Se=Se.concat(Object.keys(K)),Se=Se.concat(Object.keys(X.default)),Se=Se.filter(P),Se=Object.keys(Se.reduce((Z,oe)=>(oe!=="_"&&(Z[oe]=!0),Z),{}));let le=x(),Y=t.cliui({width:le,wrap:!!le});if(!l){if(u.length)u.forEach(Z=>{Y.div({text:`${Z[0].replace(/\$0/g,M)}`}),Z[1]&&Y.div({text:`${Z[1]}`,padding:[1,0,0,0]})}),Y.div();else if(f.length){let Z=null;K._?Z=`${M} <${n("command")}>
|
|
195
|
-
`:
|
|
196
|
-
`,
|
|
197
|
-
`);
|
|
198
|
-
`)}return
|
|
200
|
+
`),a.border&&(r.unshift("."+"-".repeat(this.negatePadding(a)+2)+"."),r.push("'"+"-".repeat(this.negatePadding(a)+2)+"'")),a.padding&&(r.unshift(...new Array(a.padding[GO]||0).fill("")),r.push(...new Array(a.padding[ZO]||0).fill(""))),r.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[lo]||0)+(t.padding[co]||0)),t.border&&(n-=4),n}columnWidths(t){if(!this.wrap)return t.map(s=>s.width||Mt.stringWidth(s.text));let n=t.length,i=this.width,r=t.map(s=>{if(s.width)return n--,i-=s.width,s.width}),a=n?Math.floor(i/n):0;return r.map((s,o)=>s===void 0?Math.max(a,VO(t[o])):s)}};function Yh(e,t,n){return e.border?/[.']-+[.']/.test(t)?"":t.trim().length!==0?n:" ":""}function VO(e){let t=e.padding||[],n=1+(t[lo]||0)+(t[co]||0);return e.border?n+4:n}function JO(){return typeof process=="object"&&process.stdout&&process.stdout.columns?process.stdout.columns:80}function XO(e,t){e=e.trim();let n=Mt.stringWidth(e);return n<t?" ".repeat(t-n)+e:e}function QO(e,t){e=e.trim();let n=Mt.stringWidth(e);return n>=t?e:" ".repeat(t-n>>1)+e}var Mt;function Kh(e,t){return Mt=t,new tu({width:e?.width||JO(),wrap:e?.wrap})}var Gh=new RegExp("\x1B(?:\\[(?:\\d+[ABCDEFGJKSTm]|\\d+;\\d+[Hfm]|\\d+;\\d+;\\d+m|6n|s|u|\\?25[lh])|\\w)","g");function nu(e){return e.replace(Gh,"")}function Zh(e,t){let[n,i]=e.match(Gh)||["",""];e=nu(e);let r="";for(let a=0;a<e.length;a++)a!==0&&a%t===0&&(r+=`
|
|
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 wr=require("path"),uo=require("fs");function Vh(e,t){let n=(0,wr.resolve)(".",e),i;for((0,uo.statSync)(n).isDirectory()||(n=(0,wr.dirname)(n));;){if(i=t(n,(0,uo.readdirSync)(n)),i)return(0,wr.resolve)(n,i);if(n=(0,wr.dirname)(i=n),i===n)break}}var pm=require("util"),fm=require("fs"),dm=require("url");var em=require("util"),mo=require("path");function Oi(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 Wt;(function(e){e.BOOLEAN="boolean",e.STRING="string",e.NUMBER="number",e.ARRAY="array"})(Wt||(Wt={}));var An,ho=class{constructor(t){An=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=eE(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),v=i.__||An.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)})),B(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,ne,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):(ne=r[S+1],ne!==void 0&&(!ne.match(/^-/)||ne.match(_))&&!z(T,h.bools)&&!z(T,h.counts)||/^(true|false)$/.test(ne)?(P(T,ne),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(_))ne=r[S+1],K=j.match(/^-(.\..+)/),K!==null&&Array.isArray(K)&&K.length>=2&&(T=K[1],ne!==void 0&&!ne.match(/^-/)&&!z(T,h.bools)&&!z(T,h.counts)?(P(T,ne),S++):P(T,ae(T)));else if(j.match(/^-[^-]+/)&&!j.match(_)){X=j.slice(1,-1).split(""),q=!1;for(let bt=0;bt<X.length;bt++){if(ne=j.slice(bt+2),X[bt+1]&&X[bt+1]==="="){Qe=j.slice(bt+3),T=X[bt],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(ne==="-"){P(X[bt],ne);continue}if(/[A-Za-z]/.test(X[bt])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(ne)&&z(ne,h.bools)===!1){P(X[bt],ne),q=!0;break}if(X[bt+1]&&X[bt+1].match(/\W/)){P(X[bt],ne),q=!0;break}else P(X[bt],ae(X[bt]))}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):(ne=r[S+1],ne!==void 0&&(!/^(-|--)[^-]/.test(ne)||ne.match(_))&&!z(T,h.bools)&&!z(T,h.counts)||/^(true|false)$/.test(ne)?(P(T,ne),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=>Oi(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(v("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(v("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(v("Not enough arguments following: %s",j)))}let ne=Math.min(K,X);for(!Ze(q)&&ne>0&&(P(j,q),ne--),T=S+1;T<ne+S+1;T++)P(j,U[T]);return S+ne}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 ne=c[j];T=Array.isArray(ne)?ne:[ne]}}else{Ze(q)||T.push(b(j,q,!0));for(let ne=S+1;ne<U.length&&!(!o["greedy-arrays"]&&T.length>0||K&&typeof K=="number"&&T.length>=K||(X=U[ne],/^-/.test(X)&&!_.test(X)&&!de(X)));ne++)S=ne,T.push(b(j,X,a))}return typeof K=="number"&&(K&&T.length<K||isNaN(K)&&T.length===0)&&(I=Error(v("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 Oi(K)}).join(".");O(S,X)}let q=b(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("."),ne=[].concat(T);ne.shift(),K=K.concat(ne),(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(ne){j=typeof ne=="string"?An.normalize(ne):ne}})})}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 b(S,j,U){U&&(j=tE(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=>An.normalize(T)):q=An.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=An.resolve(An.cwd(),q),K=h.configs[U];if(typeof K=="function"){try{T=K(X)}catch(ne){T=ne}if(T instanceof Error){I=T;return}}else T=An.require(X);Y(T)}catch(T){T.name==="PermissionDenied"?I=T:S[U]&&(I=Error(v("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=An.env();Object.keys(q).forEach(function(T){if(U===""||T.lastIndexOf(U,0)===0){let X=T.split("__").map(function(K,ne){return ne===0&&(K=K.substring(U.length)),Oi(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),ne=o["duplicate-arguments-array"];!ne&&z(T,h.nargs)&&(ne=!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])?ne&&X&&K?q[T]=o["flatten-duplicate-arrays"]?q[T].concat(U):(Array.isArray(q[T][0])?q[T]:[q[T]]).concat([U]):!ne&&Boolean(X)===Boolean(K)?q[T]=U:q[T]=q[T].concat([U]):q[T]===void 0&&X?q[T]=K?U:[U]:ne&&!(q[T]===void 0||z(T,h.counts)||z(T,h.bools))?q[T]=[q[T],U]:q[T]=U}function B(...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=Oi(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{[Wt.BOOLEAN]:!0,[Wt.STRING]:"",[Wt.NUMBER]:void 0,[Wt.ARRAY]:[]}[S]}function De(S){let j=Wt.BOOLEAN;return z(S,h.strings)?j=Wt.STRING:z(S,h.numbers)?j=Wt.NUMBER:z(S,h.bools)?j=Wt.BOOLEAN:z(S,h.arrays)&&(j=Wt.ARRAY),j}function Ze(S){return S===void 0}function eu(){Object.keys(h.counts).find(S=>z(S,h.arrays)?(I=Error(v("Invalid configuration: %s, opts.count excludes opts.array.",S)),!0):z(S,h.nargs)?(I=Error(v("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 eE(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 tE(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 nE=process?process.env:{},nm=new ho({cwd:process.cwd,env:()=>nE,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")}}),Da=function(t,n){return nm.parse(t.slice(),n).argv};Da.detailed=function(e,t){return nm.parse(e.slice(),t)};Da.camelCase=Oi;Da.decamelize=po;Da.looksLikeNumber=fo;var au=Da;var rn=require("path");function im(){return iE()?0:1}function iE(){return rE()&&!process.defaultApp}function rE(){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 _r=require("fs"),am=require("util"),sm=require("path"),om={fs:{readFileSync:_r.readFileSync,writeFile:_r.writeFile},format:am.format,resolve:sm.resolve,exists:e=>{try{return(0,_r.statSync)(e).isFile()}catch{return!1}}};var nn,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(),nn.format.apply(nn.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),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 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);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(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=nn.resolve(t,"./",n+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(i)&&~n.lastIndexOf("_")){let r=nn.resolve(t,"./",n.split("_")[0]+".json");this._fileExistsSync(r)&&(i=r)}return i}_fileExistsSync(t){return nn.exists(t)}};function cm(e,t){nn=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 aE=e=>cm(e,om),lm=aE;var cE={},sE="require is not supported by ESM",um="loading a directory of commands is not supported yet for ESM",$a;try{$a=(0,dm.fileURLToPath)(cE.url)}catch{$a=process.cwd()}var oE=$a.substring(0,$a.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:oE||process.cwd(),Parser:au,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:fm.readFileSync,require:()=>{throw new ke(sE)},requireDirectory:()=>{throw new ke(um)},stringWidth:e=>[...e].length,y18n:lm({directory:(0,rn.resolve)($a,"../../../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 Sr(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 lE=["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(v=>v===g||v==="*").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(v=>v===g||v==="*").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 ${lE[n]||"manyith"} argument. Expected ${t.join(" or ")} but received ${e}.`)}var vo=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 Ei(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 ki(e,t,n=i=>{throw i}){try{let i=uE(e)?e():e;return Te(i)?i.then(r=>t(r)):t(i)}catch(i){return n(i)}}function uE(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 Or=/(^\*)|(^\$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(pE(t))[t,...o]=t;else for(let u of t)this.addHandler(u);else if(dE(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(vm(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=>Or.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(Or,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(bo(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 fE(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=Or.test(n.original)?n.original.replace(Or,"").trim():n.original,r=t.filter(a=>!Or.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=ki(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=Ei(i,s,o,!1),i=ki(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=Ei(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=Or.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(bo(n))return n(t,!0);vm(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 bm(e,t,n,i){return new pu(e,t,n,i)}function vm(e){return typeof e=="object"&&!!e.builder&&typeof e.handler=="function"}function pE(e){return e.every(t=>typeof t=="string")}function bo(e){return typeof e=="function"}function fE(e){return typeof e=="object"}function dE(e){return typeof e=="object"&&!Array.isArray(e)}function Yn(e={},t=()=>!0){let n={};return Sr(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 hE(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(hE(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=(b,A)=>b===null?(l=!0,u=[],i):(l=!1,u.push([b,A||""]),i),i.getUsage=()=>u,i.getUsageDisabled=()=>l,i.getPositionalGroupName=()=>n("Positionals:");let p=[];i.example=(b,A)=>{p.push([b,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=b=>{x.push(b)};let v=!1,h;i.wrap=b=>{v=!0,h=b};function _(){return v||(h=y(),v=!0),h}let k="__yargsString__:";i.deferY18nLookup=b=>k+b,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
|
+
`:J=`${A} [${n("command")}]
|
|
203
|
+
`,f.div(`${J}`)}}if(d.length>1||d.length===1&&!d[0][2]){f.div(n("Commands:"));let J=e.getInternalMethods().getContext(),de=J.commands.length?`${J.commands.join(" ")} `:"";e.getInternalMethods().getParserConfiguration()["sort-commands"]===!0&&(d=d.sort((ae,We)=>ae[0].localeCompare(We[0])));let Ie=A?`${A} `:"";d.forEach(ae=>{let We=`${Ie}${de}${ae[0].replace(/^\$0 ?/,"")}`;f.span({text:We,padding:[0,2,0,2],width:I(d,pe,`${A}${de}`)+4},{text:ae[1]});let De=[];ae[2]&&De.push(`[${n("default")}]`),ae[3]&&ae[3].length&&De.push(`[${n("aliases:")} ${ae[3].join(", ")}]`),ae[4]&&(typeof ae[4]=="string"?De.push(`[${n("deprecated: %s",ae[4])}]`):De.push(`[${n("deprecated")}]`)),De.length?f.div({text:De.join(" "),padding:[0,0,0,2],align:"right"}):f.div()}),f.div()}let E=(Object.keys(Z.alias)||[]).concat(Object.keys(e.parsed.newAliases)||[]);fe=fe.filter(J=>!e.parsed.newAliases[J]&&E.every(de=>(Z.alias[de]||[]).indexOf(J)===-1));let B=n("Options:");he[B]||(he[B]=[]),H(fe,Z.alias,he,B);let z=J=>/^--/.test(xo(J)),Se=Object.keys(he).filter(J=>he[J].length>0).map(J=>{let de=he[J].filter(D).map(Ie=>{if(E.includes(Ie))return Ie;for(let ae=0,We;(We=E[ae])!==void 0;ae++)if((Z.alias[We]||[]).includes(Ie))return We;return Ie});return{groupName:J,normalizedKeys:de}}).filter(({normalizedKeys:J})=>J.length>0).map(({groupName:J,normalizedKeys:de})=>{let Ie=de.reduce((ae,We)=>(ae[We]=[We].concat(Z.alias[We]||[]).map(De=>J===i.getPositionalGroupName()?De:(/^[0-9]$/.test(De)?Z.boolean.includes(We)?"-":"--":De.length>1?"--":"-")+De).sort((De,Ze)=>z(De)===z(Ze)?0:z(De)?1:-1).join(", "),ae),{});return{groupName:J,normalizedKeys:de,switches:Ie}});if(Se.filter(({groupName:J})=>J!==i.getPositionalGroupName()).some(({normalizedKeys:J,switches:de})=>!J.every(Ie=>z(de[Ie])))&&Se.filter(({groupName:J})=>J!==i.getPositionalGroupName()).forEach(({normalizedKeys:J,switches:de})=>{J.forEach(Ie=>{z(de[Ie])&&(de[Ie]=mE(de[Ie],4))})}),Se.forEach(({groupName:J,normalizedKeys:de,switches:Ie})=>{f.div(J),de.forEach(ae=>{let We=Ie[ae],De=g[ae]||"",Ze=null;De.includes(k)&&(De=n(De.substring(k.length))),Z.boolean.includes(ae)&&(Ze=`[${n("boolean")}]`),Z.count.includes(ae)&&(Ze=`[${n("count")}]`),Z.string.includes(ae)&&(Ze=`[${n("string")}]`),Z.normalize.includes(ae)&&(Ze=`[${n("string")}]`),Z.array.includes(ae)&&(Ze=`[${n("array")}]`),Z.number.includes(ae)&&(Ze=`[${n("number")}]`);let eu=j=>typeof j=="string"?`[${n("deprecated: %s",j)}]`:`[${n("deprecated")}]`,S=[ae in re?eu(re[ae]):null,Ze,ae in N?`[${n("required")}]`:null,Z.choices&&Z.choices[ae]?`[${n("choices:")} ${i.stringifiedValues(Z.choices[ae])}]`:null,$(Z.default[ae],Z.defaultDescription[ae])].filter(Boolean).join(" ");f.span({text:xo(We),padding:[0,2,0,2+ym(We)],width:I(Ie,pe)+4},De),S?f.div({text:S,padding:[0,0,0,2],align:"right"}):f.div()}),f.div()}),p.length&&(f.div(n("Examples:")),p.forEach(J=>{J[0]=J[0].replace(/\$0/g,A)}),p.forEach(J=>{J[1]===""?f.div({text:J[0],padding:[0,2,0,2]}):f.div({text:J[0],padding:[0,2,0,2],width:I(p,pe)+4},{text:J[1]})}),f.div()),x.length>0){let J=x.map(de=>de.replace(/\$0/g,A)).join(`
|
|
204
|
+
`);f.div(`${J}
|
|
205
|
+
`)}return f.toString().replace(/\s*$/,"")};function I(b,A,N){let Y=0;return Array.isArray(b)||(b=Object.values(b).map(re=>[re])),b.forEach(re=>{Y=Math.max(t.stringWidth(N?`${N} ${xo(re[0])}`:xo(re[0]))+ym(re[0]),Y)}),A&&(Y=Math.min(Y,parseInt((A*.5).toString(),10))),Y}function R(){let b=e.getDemandedOptions(),A=e.getOptions();(Object.keys(A.alias)||[]).forEach(N=>{A.alias[N].forEach(Y=>{g[Y]&&i.describe(N,g[Y]),Y in b&&e.demandOption(N,b[Y]),A.boolean.includes(Y)&&e.boolean(N),A.count.includes(Y)&&e.count(N),A.string.includes(Y)&&e.string(N),A.normalize.includes(Y)&&e.normalize(N),A.array.includes(Y)&&e.array(N),A.number.includes(Y)&&e.number(N)})})}let M;i.cacheHelpMessage=function(){M=this.help()},i.clearCachedHelpMessage=function(){M=void 0},i.hasCachedHelpMessage=function(){return!!M};function H(b,A,N,Y){let re=[],he=null;return Object.keys(N).forEach(Z=>{re=re.concat(N[Z])}),b.forEach(Z=>{he=[Z].concat(A[Z]),he.some(fe=>re.indexOf(fe)!==-1)||N[Y].push(Z)}),re}function D(b){return e.getOptions().hiddenOptions.indexOf(b)<0||e.parsed.argv[e.getOptions().showHiddenOpt]}i.showHelp=b=>{let A=e.getInternalMethods().getLoggerInstance();b||(b="error"),(typeof b=="function"?b:A[b])(i.help())},i.functionDescription=b=>{let A=b.name?t.Parser.decamelize(b.name,"-"):n("generated-value");return["(",A,")"].join("")},i.stringifiedValues=function(A,N){let Y="",re=N||", ",he=[].concat(A);return!A||!he.length||he.forEach(Z=>{Y.length&&(Y+=re),Y+=JSON.stringify(Z)}),Y};function $(b,A){let N=`[${n("default:")} `;if(b===void 0&&!A)return null;if(A)N+=A;else switch(typeof b){case"string":N+=`"${b}"`;break;case"object":N+=JSON.stringify(b);break;default:N+=b}return`${N}]`}function y(){return t.process.stdColumns?Math.min(80,t.process.stdColumns):80}let P=null;i.version=b=>{P=b},i.showVersion=b=>{let A=e.getInternalMethods().getLoggerInstance();b||(b="error"),(typeof b=="function"?b:A[b])(P)},i.reset=function(A){return a=null,c=!1,u=[],l=!1,x=[],p=[],d=[],g=Yn(g,N=>!A[N]),i};let O=[];return i.freeze=function(){O.push({failMessage:a,failureOutput:c,usages:u,usageDisabled:l,epilogs:x,examples:p,commands:d,descriptions:g})},i.unfreeze=function(A=!1){let N=O.pop();!N||(A?(g={...N.descriptions,...g},d=[...N.commands,...d],u=[...N.usages,...u],p=[...N.examples,...p],x=[...N.epilogs,...x]):{failMessage:a,failureOutput:c,usages:u,usageDisabled:l,epilogs:x,examples:p,commands:d,descriptions:g}=N)},i}function fu(e){return typeof e=="object"}function mE(e,t){return fu(e)?{text:e.text,indentation:e.indentation+t}:{text:e,indentation:t}}function ym(e){return fu(e)?e.indentation:0}function xo(e){return fu(e)?e.text:e}var _m=`###-begin-{{app_name}}-completions-###
|
|
199
206
|
#
|
|
200
207
|
# yargs command completion script
|
|
201
208
|
#
|
|
@@ -223,7 +230,7 @@ _{{app_name}}_yargs_completions()
|
|
|
223
230
|
}
|
|
224
231
|
complete -o bashdefault -o default -F _{{app_name}}_yargs_completions {{app_name}}
|
|
225
232
|
###-end-{{app_name}}-completions-###
|
|
226
|
-
`,
|
|
233
|
+
`,Sm=`#compdef {{app_name}}
|
|
227
234
|
###-begin-{{app_name}}-completions-###
|
|
228
235
|
#
|
|
229
236
|
# yargs command completion script
|
|
@@ -242,20 +249,20 @@ _{{app_name}}_yargs_completions()
|
|
|
242
249
|
}
|
|
243
250
|
compdef _{{app_name}}_yargs_completions {{app_name}}
|
|
244
251
|
###-end-{{app_name}}-completions-###
|
|
245
|
-
`;var
|
|
246
|
-
${
|
|
247
|
-
`)}`:"";t.fail(r("Missing required argument: %s","Missing required arguments: %s",Object.keys(
|
|
248
|
-
${i("Argument: %s, Given: %s, Choices: %s",
|
|
249
|
-
`;f.forEach(v=>{m+=v}),t.fail(m)}};let c={};a.conflicts=function(p,f){U("<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(i("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(i("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 _=em(p,x);_<=3&&_<g&&(g=_,v=x)}v&&t.fail(i("Did you mean %s?",v))},a.reset=function(p){return s=Bn(s,f=>!p[f]),c=Bn(c,f=>!p[f]),a};let u=[];return a.freeze=function(){u.push({implied:s,conflicting:c})},a.unfreeze=function(){let p=u.pop();ht(p,void 0,n),{implied:s,conflicting:c}=p},a}var Xl=[],Ra;function Na(e,t,n,i){Ra=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=PE(t,e.extends);else try{s=require.resolve(e.extends)}catch{return e}qE(s),Xl.push(s),r=a?JSON.parse(Ra.readFileSync(s,"utf8")):require(e.extends),delete e.extends,r=Na(r,Ra.path.dirname(s),n,Ra)}return Xl=[],n?im(r,e):Object.assign({},r,e)}function qE(e){if(Xl.indexOf(e)>-1)throw new _e(`Circular extended configurations: '${e}'.`)}function PE(e,t){return Ra.path.resolve(e,t)}function im(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]=im(e[r],t[r]):n[r]=t[r];return n}var W=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},h=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)},Pe,bi,La,zt,Ct,so,Dn,xi,oo,$t,co,Ut,un,At,Wt,lo,hr,Ge,J,uo,po,Tt,yi,mr,wi,zn,fo,ne,_i,Si,Ei,se,pn,Le;function _m(e){return(t=[],n=e.process.cwd(),i)=>{let r=new lu(t,n,i,e);return Object.defineProperty(r,"argv",{get:()=>r.parse(),enumerable:!0}),r.help(),r.version(),r}}var rm=Symbol("copyDoubleDash"),am=Symbol("copyDoubleDash"),Ql=Symbol("deleteFromParserHintObject"),sm=Symbol("emitWarning"),om=Symbol("freeze"),cm=Symbol("getDollarZero"),Oi=Symbol("getParserConfiguration"),eu=Symbol("guessLocale"),lm=Symbol("guessVersion"),um=Symbol("parsePositionalNumbers"),tu=Symbol("pkgUp"),$n=Symbol("populateParserHintArray"),gr=Symbol("populateParserHintSingleValueDictionary"),nu=Symbol("populateParserHintArrayDictionary"),iu=Symbol("populateParserHintDictionary"),ru=Symbol("sanitizeKey"),au=Symbol("setKey"),su=Symbol("unfreeze"),pm=Symbol("validateAsync"),fm=Symbol("getCommandInstance"),dm=Symbol("getContext"),hm=Symbol("getHasOutput"),mm=Symbol("getLoggerInstance"),gm=Symbol("getParseContext"),vm=Symbol("getUsageInstance"),bm=Symbol("getValidationInstance"),ho=Symbol("hasParseCallback"),xm=Symbol("isGlobalContext"),ki=Symbol("postProcess"),ym=Symbol("rebase"),ou=Symbol("reset"),Ia=Symbol("runYargsParserAndExecuteCommands"),cu=Symbol("runValidation"),wm=Symbol("setHasOutput"),Ci=Symbol("kTrackManuallySetKeys"),lu=class{constructor(t=[],n,i,r){this.customScriptName=!1,this.parsed=!1,Pe.set(this,void 0),bi.set(this,void 0),La.set(this,{commands:[],fullCommands:[]}),zt.set(this,null),Ct.set(this,null),so.set(this,"show-hidden"),Dn.set(this,null),xi.set(this,!0),oo.set(this,{}),$t.set(this,!0),co.set(this,[]),Ut.set(this,void 0),un.set(this,{}),At.set(this,!1),Wt.set(this,null),lo.set(this,!0),hr.set(this,void 0),Ge.set(this,""),J.set(this,void 0),uo.set(this,void 0),po.set(this,{}),Tt.set(this,null),yi.set(this,null),mr.set(this,{}),wi.set(this,{}),zn.set(this,void 0),fo.set(this,!1),ne.set(this,void 0),_i.set(this,!1),Si.set(this,!1),Ei.set(this,!1),se.set(this,void 0),pn.set(this,null),Le.set(this,void 0),W(this,ne,r,"f"),W(this,zn,t,"f"),W(this,bi,n,"f"),W(this,uo,i,"f"),W(this,Ut,new io(this),"f"),this.$0=this[cm](),this[ou](),W(this,Pe,h(this,Pe,"f"),"f"),W(this,se,h(this,se,"f"),"f"),W(this,Le,h(this,Le,"f"),"f"),W(this,J,h(this,J,"f"),"f"),h(this,J,"f").showHiddenOpt=h(this,so,"f"),W(this,hr,this[am](),"f")}addHelpOpt(t,n){let i="help";return U("[string|boolean] [string]",[t,n],arguments.length),h(this,Wt,"f")&&(this[Ql](h(this,Wt,"f")),W(this,Wt,null,"f")),t===!1&&n===void 0?this:(W(this,Wt,typeof t=="string"?t:i,"f"),this.boolean(h(this,Wt,"f")),this.describe(h(this,Wt,"f"),n||h(this,se,"f").deferY18nLookup("Show help")),this)}help(t,n){return this.addHelpOpt(t,n)}addShowHiddenOpt(t,n){if(U("[string|boolean] [string]",[t,n],arguments.length),t===!1&&n===void 0)return this;let i=typeof t=="string"?t:h(this,so,"f");return this.boolean(i),this.describe(i,n||h(this,se,"f").deferY18nLookup("Show hidden options")),h(this,J,"f").showHiddenOpt=i,this}showHidden(t,n){return this.addShowHiddenOpt(t,n)}alias(t,n){return U("<object|string|array> [string|array]",[t,n],arguments.length),this[nu](this.alias.bind(this),"alias",t,n),this}array(t){return U("<array|string>",[t],arguments.length),this[$n]("array",t),this[Ci](t),this}boolean(t){return U("<array|string>",[t],arguments.length),this[$n]("boolean",t),this[Ci](t),this}check(t,n){return U("<function> [boolean]",[t,n],arguments.length),this.middleware((i,r)=>vi(()=>t(i,r.getOptions()),a=>(a?(typeof a=="string"||a instanceof Error)&&h(this,se,"f").fail(a.toString(),a):h(this,se,"f").fail(h(this,ne,"f").y18n.__("Argument check failed: %s",t.toString())),i),a=>(h(this,se,"f").fail(a.message?a.message:a.toString(),a),i)),!1,n),this}choices(t,n){return U("<object|string|array> [string|array]",[t,n],arguments.length),this[nu](this.choices.bind(this),"choices",t,n),this}coerce(t,n){if(U("<object|string|array> [function]",[t,n],arguments.length),Array.isArray(t)){if(!n)throw new _e("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 _e("coerce callback must be provided");return h(this,J,"f").key[t]=!0,h(this,Ut,"f").addCoerceMiddleware((i,r)=>{let a;return Object.prototype.hasOwnProperty.call(i,t)?vi(()=>(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 _e(o.message)}):i},t),this}conflicts(t,n){return U("<string|object> [string|array]",[t,n],arguments.length),h(this,Le,"f").conflicts(t,n),this}config(t="config",n,i){return U("[object|string] [string|function] [function]",[t,n,i],arguments.length),typeof t=="object"&&!Array.isArray(t)?(t=Na(t,h(this,bi,"f"),this[Oi]()["deep-merge-config"]||!1,h(this,ne,"f")),h(this,J,"f").configObjects=(h(this,J,"f").configObjects||[]).concat(t),this):(typeof n=="function"&&(i=n,n=void 0),this.describe(t,n||h(this,se,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(t)?t:[t]).forEach(r=>{h(this,J,"f").config[r]=i||!0}),this)}completion(t,n,i){return U("[string] [string|boolean|function] [function]",[t,n,i],arguments.length),typeof n=="function"&&(i=n,n=void 0),W(this,Ct,t||h(this,Ct,"f")||"completion","f"),!n&&n!==!1&&(n="generate completion script"),this.command(h(this,Ct,"f"),n),i&&h(this,zt,"f").registerFunction(i),this}command(t,n,i,r,a,s){return U("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[t,n,i,r,a,s],arguments.length),h(this,Pe,"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){U("<string> [object]",[t,n],arguments.length);let i=h(this,uo,"f")||h(this,ne,"f").require;return h(this,Pe,"f").addDirectory(t,i,h(this,ne,"f").getCallerFile(),n),this}count(t){return U("<array|string>",[t],arguments.length),this[$n]("count",t),this[Ci](t),this}default(t,n,i){return U("<object|string|array> [*] [string]",[t,n,i],arguments.length),i&&(Hl(t,h(this,ne,"f")),h(this,J,"f").defaultDescription[t]=i),typeof n=="function"&&(Hl(t,h(this,ne,"f")),h(this,J,"f").defaultDescription[t]||(h(this,J,"f").defaultDescription[t]=h(this,se,"f").functionDescription(n)),n=n.call()),this[gr](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 U("[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),h(this,J,"f").demandedCommands._={min:t,max:n,minMsg:i,maxMsg:r},this}demand(t,n,i){return Array.isArray(n)?(n.forEach(r=>{ht(i,!0,h(this,ne,"f")),this.demandOption(r,i)}),n=1/0):typeof n!="number"&&(i=n,n=1/0),typeof t=="number"?(ht(i,!0,h(this,ne,"f")),this.demandCommand(t,n,i,i)):Array.isArray(t)?t.forEach(r=>{ht(i,!0,h(this,ne,"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 U("<object|string|array> [string]",[t,n],arguments.length),this[gr](this.demandOption.bind(this),"demandedOptions",t,n),this}deprecateOption(t,n){return U("<string> [string|boolean]",[t,n],arguments.length),h(this,J,"f").deprecatedOptions[t]=n,this}describe(t,n){return U("<object|string|array> [string]",[t,n],arguments.length),this[au](t,!0),h(this,se,"f").describe(t,n),this}detectLocale(t){return U("<boolean>",[t],arguments.length),W(this,xi,t,"f"),this}env(t){return U("[string|boolean]",[t],arguments.length),t===!1?delete h(this,J,"f").envPrefix:h(this,J,"f").envPrefix=t||"",this}epilogue(t){return U("<string>",[t],arguments.length),h(this,se,"f").epilog(t),this}epilog(t){return this.epilogue(t)}example(t,n){return U("<string|array> [string]",[t,n],arguments.length),Array.isArray(t)?t.forEach(i=>this.example(...i)):h(this,se,"f").example(t,n),this}exit(t,n){W(this,At,!0,"f"),W(this,Dn,n,"f"),h(this,$t,"f")&&h(this,ne,"f").process.exit(t)}exitProcess(t=!0){return U("[boolean]",[t],arguments.length),W(this,$t,t,"f"),this}fail(t){if(U("<function|boolean>",[t],arguments.length),typeof t=="boolean"&&t!==!1)throw new _e("Invalid first argument. Expected function or boolean 'false'");return h(this,se,"f").failFn(t),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(t,n){return U("<array> [function]",[t,n],arguments.length),n?h(this,zt,"f").getCompletion(t,n):new Promise((i,r)=>{h(this,zt,"f").getCompletion(t,(a,s)=>{a?r(a):i(s)})})}getDemandedOptions(){return U([],0),h(this,J,"f").demandedOptions}getDemandedCommands(){return U([],0),h(this,J,"f").demandedCommands}getDeprecatedOptions(){return U([],0),h(this,J,"f").deprecatedOptions}getDetectLocale(){return h(this,xi,"f")}getExitProcess(){return h(this,$t,"f")}getGroups(){return Object.assign({},h(this,un,"f"),h(this,wi,"f"))}getHelp(){if(W(this,At,!0,"f"),!h(this,se,"f").hasCachedHelpMessage()){if(!this.parsed){let n=this[Ia](h(this,zn,"f"),void 0,void 0,0,!0);if(Oe(n))return n.then(()=>h(this,se,"f").help())}let t=h(this,Pe,"f").runDefaultBuilderOn(this);if(Oe(t))return t.then(()=>h(this,se,"f").help())}return Promise.resolve(h(this,se,"f").help())}getOptions(){return h(this,J,"f")}getStrict(){return h(this,_i,"f")}getStrictCommands(){return h(this,Si,"f")}getStrictOptions(){return h(this,Ei,"f")}global(t,n){return U("<string|array> [boolean]",[t,n],arguments.length),t=[].concat(t),n!==!1?h(this,J,"f").local=h(this,J,"f").local.filter(i=>t.indexOf(i)===-1):t.forEach(i=>{h(this,J,"f").local.includes(i)||h(this,J,"f").local.push(i)}),this}group(t,n){U("<string|array> <string>",[t,n],arguments.length);let i=h(this,wi,"f")[n]||h(this,un,"f")[n];h(this,wi,"f")[n]&&delete h(this,wi,"f")[n];let r={};return h(this,un,"f")[n]=(i||[]).concat(t).filter(a=>r[a]?!1:r[a]=!0),this}hide(t){return U("<string>",[t],arguments.length),h(this,J,"f").hiddenOptions.push(t),this}implies(t,n){return U("<string|object> [number|string|array]",[t,n],arguments.length),h(this,Le,"f").implies(t,n),this}locale(t){return U("[string]",[t],arguments.length),t===void 0?(this[eu](),h(this,ne,"f").y18n.getLocale()):(W(this,xi,!1,"f"),h(this,ne,"f").y18n.setLocale(t),this)}middleware(t,n,i){return h(this,Ut,"f").addMiddleware(t,!!n,i)}nargs(t,n){return U("<string|object|array> [number]",[t,n],arguments.length),this[gr](this.nargs.bind(this),"narg",t,n),this}normalize(t){return U("<array|string>",[t],arguments.length),this[$n]("normalize",t),this}number(t){return U("<array|string>",[t],arguments.length),this[$n]("number",t),this[Ci](t),this}option(t,n){if(U("<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[Ci](t),h(this,pn,"f")&&(t==="version"||n?.alias==="version")&&this[sm](['"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"),
|
|
251
|
-
`,"f"),
|
|
252
|
-
`,"f"),W(this,Ge,h(this,Ge,"f")+t.join(" "),"f")}}}[Ql](t){fr(h(this,J,"f")).forEach(n=>{if((r=>r==="configObjects")(n))return;let i=h(this,J,"f")[n];Array.isArray(i)?i.includes(t)&&i.splice(i.indexOf(t),1):typeof i=="object"&&delete i[t]}),delete h(this,se,"f").getDescriptions()[t]}[sm](t,n,i){h(this,oo,"f")[i]||(h(this,ne,"f").process.emitWarning(t,n),h(this,oo,"f")[i]=!0)}[om](){h(this,co,"f").push({options:h(this,J,"f"),configObjects:h(this,J,"f").configObjects.slice(0),exitProcess:h(this,$t,"f"),groups:h(this,un,"f"),strict:h(this,_i,"f"),strictCommands:h(this,Si,"f"),strictOptions:h(this,Ei,"f"),completionCommand:h(this,Ct,"f"),output:h(this,Ge,"f"),exitError:h(this,Dn,"f"),hasOutput:h(this,At,"f"),parsed:this.parsed,parseFn:h(this,Tt,"f"),parseContext:h(this,yi,"f")}),h(this,se,"f").freeze(),h(this,Le,"f").freeze(),h(this,Pe,"f").freeze(),h(this,Ut,"f").freeze()}[cm](){let t="",n;return/\b(node|iojs|electron)(\.exe)?$/.test(h(this,ne,"f").process.argv()[0])?n=h(this,ne,"f").process.argv().slice(1,2):n=h(this,ne,"f").process.argv().slice(0,1),t=n.map(i=>{let r=this[ym](h(this,bi,"f"),i);return i.match(/^(\/|([a-zA-Z]:)?\\)/)&&r.length<i.length?r:i}).join(" ").trim(),h(this,ne,"f").getEnv("_")&&h(this,ne,"f").getProcessArgvBin()===h(this,ne,"f").getEnv("_")&&(t=h(this,ne,"f").getEnv("_").replace(`${h(this,ne,"f").path.dirname(h(this,ne,"f").process.execPath())}/`,"")),t}[Oi](){return h(this,po,"f")}[eu](){if(!h(this,xi,"f"))return;let t=h(this,ne,"f").getEnv("LC_ALL")||h(this,ne,"f").getEnv("LC_MESSAGES")||h(this,ne,"f").getEnv("LANG")||h(this,ne,"f").getEnv("LANGUAGE")||"en_US";this.locale(t.replace(/[.:].*/,""))}[lm](){return this[tu]().version||"unknown"}[um](t){let n=t["--"]?t["--"]:t._;for(let i=0,r;(r=n[i])!==void 0;i++)h(this,ne,"f").Parser.looksLikeNumber(r)&&Number.isSafeInteger(Math.floor(parseFloat(`${r}`)))&&(n[i]=Number(r));return t}[tu](t){let n=t||"*";if(h(this,mr,"f")[n])return h(this,mr,"f")[n];let i={};try{let r=t||h(this,ne,"f").mainFilename;!t&&h(this,ne,"f").path.extname(r)&&(r=h(this,ne,"f").path.dirname(r));let a=h(this,ne,"f").findUp(r,(s,o)=>{if(o.includes("package.json"))return"package.json"});ht(a,void 0,h(this,ne,"f")),i=JSON.parse(h(this,ne,"f").readFileSync(a,"utf8"))}catch{}return h(this,mr,"f")[n]=i||{},h(this,mr,"f")[n]}[$n](t,n){n=[].concat(n),n.forEach(i=>{i=this[ru](i),h(this,J,"f")[t].push(i)})}[gr](t,n,i,r){this[iu](t,n,i,r,(a,s,o)=>{h(this,J,"f")[a][s]=o})}[nu](t,n,i,r){this[iu](t,n,i,r,(a,s,o)=>{h(this,J,"f")[a][s]=(h(this,J,"f")[a][s]||[]).concat(o)})}[iu](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 fr(i))t(s,i[s]);else a(n,this[ru](i),r)}[ru](t){return t==="__proto__"?"___proto___":t}[au](t,n){return this[gr](this[au].bind(this),"key",t,n),this}[su](){var t,n,i,r,a,s,o,c,u,l,p,f;let m=h(this,co,"f").pop();ht(m,void 0,h(this,ne,"f"));let v;t=this,n=this,i=this,r=this,a=this,s=this,o=this,c=this,u=this,l=this,p=this,f=this,{options:{set value(g){W(t,J,g,"f")}}.value,configObjects:v,exitProcess:{set value(g){W(n,$t,g,"f")}}.value,groups:{set value(g){W(i,un,g,"f")}}.value,output:{set value(g){W(r,Ge,g,"f")}}.value,exitError:{set value(g){W(a,Dn,g,"f")}}.value,hasOutput:{set value(g){W(s,At,g,"f")}}.value,parsed:this.parsed,strict:{set value(g){W(o,_i,g,"f")}}.value,strictCommands:{set value(g){W(c,Si,g,"f")}}.value,strictOptions:{set value(g){W(u,Ei,g,"f")}}.value,completionCommand:{set value(g){W(l,Ct,g,"f")}}.value,parseFn:{set value(g){W(p,Tt,g,"f")}}.value,parseContext:{set value(g){W(f,yi,g,"f")}}.value}=m,h(this,J,"f").configObjects=v,h(this,se,"f").unfreeze(),h(this,Le,"f").unfreeze(),h(this,Pe,"f").unfreeze(),h(this,Ut,"f").unfreeze()}[pm](t,n){return vi(n,i=>(t(i),i))}getInternalMethods(){return{getCommandInstance:this[fm].bind(this),getContext:this[dm].bind(this),getHasOutput:this[hm].bind(this),getLoggerInstance:this[mm].bind(this),getParseContext:this[gm].bind(this),getParserConfiguration:this[Oi].bind(this),getUsageInstance:this[vm].bind(this),getValidationInstance:this[bm].bind(this),hasParseCallback:this[ho].bind(this),isGlobalContext:this[xm].bind(this),postProcess:this[ki].bind(this),reset:this[ou].bind(this),runValidation:this[cu].bind(this),runYargsParserAndExecuteCommands:this[Ia].bind(this),setHasOutput:this[wm].bind(this)}}[fm](){return h(this,Pe,"f")}[dm](){return h(this,La,"f")}[hm](){return h(this,At,"f")}[mm](){return h(this,hr,"f")}[gm](){return h(this,yi,"f")||{}}[vm](){return h(this,se,"f")}[bm](){return h(this,Le,"f")}[ho](){return!!h(this,Tt,"f")}[xm](){return h(this,lo,"f")}[ki](t,n,i,r){return i||Oe(t)||(n||(t=this[rm](t)),(this[Oi]()["parse-positional-numbers"]||this[Oi]()["parse-positional-numbers"]===void 0)&&(t=this[um](t)),r&&(t=gi(t,this,h(this,Ut,"f").getMiddleware(),!1))),t}[ou](t={}){W(this,J,h(this,J,"f")||{},"f");let n={};n.local=h(this,J,"f").local||[],n.configObjects=h(this,J,"f").configObjects||[];let i={};n.local.forEach(s=>{i[s]=!0,(t[s]||[]).forEach(o=>{i[o]=!0})}),Object.assign(h(this,wi,"f"),Object.keys(h(this,un,"f")).reduce((s,o)=>{let c=h(this,un,"f")[o].filter(u=>!(u in i));return c.length>0&&(s[o]=c),s},{})),W(this,un,{},"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]=(h(this,J,"f")[s]||[]).filter(o=>!i[o])}),a.forEach(s=>{n[s]=Bn(h(this,J,"f")[s],o=>!i[o])}),n.envPrefix=h(this,J,"f").envPrefix,W(this,J,n,"f"),W(this,se,h(this,se,"f")?h(this,se,"f").reset(i):Zh(this,h(this,ne,"f")),"f"),W(this,Le,h(this,Le,"f")?h(this,Le,"f").reset(i):nm(this,h(this,se,"f"),h(this,ne,"f")),"f"),W(this,Pe,h(this,Pe,"f")?h(this,Pe,"f").reset():Hh(h(this,se,"f"),h(this,Le,"f"),h(this,Ut,"f"),h(this,ne,"f")),"f"),h(this,zt,"f")||W(this,zt,Qh(this,h(this,se,"f"),h(this,Pe,"f"),h(this,ne,"f")),"f"),h(this,Ut,"f").reset(),W(this,Ct,null,"f"),W(this,Ge,"","f"),W(this,Dn,null,"f"),W(this,At,!1,"f"),this.parsed=!1,this}[ym](t,n){return h(this,ne,"f").path.relative(t,n)}[Ia](t,n,i,r=0,a=!1){let s=!!i||a;t=t||h(this,zn,"f"),h(this,J,"f").__=h(this,ne,"f").y18n.__,h(this,J,"f").configuration=this[Oi]();let o=!!h(this,J,"f").configuration["populate--"],c=Object.assign({},h(this,J,"f").configuration,{"populate--":!0}),u=h(this,ne,"f").Parser.detailed(t,Object.assign({},h(this,J,"f"),{configuration:{"parse-positional-numbers":!1,...c}})),l=Object.assign(u.argv,h(this,yi,"f")),p,f=u.aliases,m=!1,v=!1;Object.keys(l).forEach(g=>{g===h(this,Wt,"f")&&l[g]?m=!0:g===h(this,pn,"f")&&l[g]&&(v=!0)}),l.$0=this.$0,this.parsed=u,r===0&&h(this,se,"f").clearCachedHelpMessage();try{if(this[eu](),n)return this[ki](l,o,!!i,!1);h(this,Wt,"f")&&[h(this,Wt,"f")].concat(f[h(this,Wt,"f")]||[]).filter(C=>C.length>1).includes(""+l._[l._.length-1])&&(l._.pop(),m=!0),W(this,lo,!1,"f");let g=h(this,Pe,"f").getCommands(),d=h(this,zt,"f").completionKey in l,x=m||d||a;if(l._.length){if(g.length){let _;for(let C=r||0,k;l._[C]!==void 0;C++)if(k=String(l._[C]),g.includes(k)&&k!==h(this,Ct,"f")){let O=h(this,Pe,"f").runCommand(k,this,u,C+1,a,m||v||a);return this[ki](O,o,!!i,!1)}else if(!_&&k!==h(this,Ct,"f")){_=k;break}!h(this,Pe,"f").hasDefaultCommand()&&h(this,fo,"f")&&_&&!x&&h(this,Le,"f").recommendCommands(_,g)}h(this,Ct,"f")&&l._.includes(h(this,Ct,"f"))&&!d&&(h(this,$t,"f")&&Fn(!0),this.showCompletionScript(),this.exit(0))}if(h(this,Pe,"f").hasDefaultCommand()&&!x){let _=h(this,Pe,"f").runCommand(null,this,u,0,a,m||v||a);return this[ki](_,o,!!i,!1)}if(d){h(this,$t,"f")&&Fn(!0),t=[].concat(t);let _=t.slice(t.indexOf(`--${h(this,zt,"f").completionKey}`)+1);return h(this,zt,"f").getCompletion(_,(C,k)=>{if(C)throw new _e(C.message);(k||[]).forEach(O=>{h(this,hr,"f").log(O)}),this.exit(0)}),this[ki](l,!o,!!i,!1)}if(h(this,At,"f")||(m?(h(this,$t,"f")&&Fn(!0),s=!0,this.showHelp("log"),this.exit(0)):v&&(h(this,$t,"f")&&Fn(!0),s=!0,h(this,se,"f").showVersion("log"),this.exit(0))),!s&&h(this,J,"f").skipValidation.length>0&&(s=Object.keys(l).some(_=>h(this,J,"f").skipValidation.indexOf(_)>=0&&l[_]===!0)),!s){if(u.error)throw new _e(u.error.message);if(!d){let _=this[cu](f,{},u.error);i||(p=gi(l,this,h(this,Ut,"f").getMiddleware(),!0)),p=this[pm](_,p??l),Oe(p)&&!i&&(p=p.then(()=>gi(l,this,h(this,Ut,"f").getMiddleware(),!1)))}}}catch(g){if(g instanceof _e)h(this,se,"f").fail(g.message,g);else throw g}return this[ki](p??l,o,!!i,!0)}[cu](t,n,i,r){let a={...this.getDemandedOptions()};return s=>{if(i)throw new _e(i.message);h(this,Le,"f").nonOptionCount(s),h(this,Le,"f").requiredArguments(s,a);let o=!1;h(this,Si,"f")&&(o=h(this,Le,"f").unknownCommands(s)),h(this,_i,"f")&&!o?h(this,Le,"f").unknownArguments(s,t,n,!!r):h(this,Ei,"f")&&h(this,Le,"f").unknownArguments(s,t,{},!1,!1),h(this,Le,"f").limitedChoices(s),h(this,Le,"f").implications(s),h(this,Le,"f").conflicting(s)}}[wm](){W(this,At,!0,"f")}[Ci](t){if(typeof t=="string")h(this,J,"f").key[t]=!0;else for(let n of t)h(this,J,"f").key[n]=!0}};function Gh(e){return!!e&&typeof e.getInternalMethods=="function"}var BE=_m(Yl),Sm=BE;var Pl=ue(Kn());var Pp={};Ot(Pp,{builder:()=>s5,command:()=>r5,describe:()=>a5,handler:()=>o5});var Da=ue(require("path")),Bo=ue(require("os")),jr=ue(require("fs")),G0=ue(Kn());async function EC(){let e=Bo.default.homedir(),t=Da.default.join(e,".goldsky","auth_token");try{return await jr.default.promises.readFile(t,"utf8")}catch(n){}return null}async function V0(){let e=await EC();e&&za(e)}function za(e){G0.ApiFetch.setAuth(`Bearer ${e}`)}async function Z0(e){let t=Bo.default.homedir(),n=Da.default.join(t,".goldsky");try{await jr.default.promises.stat(n)}catch(i){await jr.default.promises.mkdir(n)}await jr.default.promises.writeFile(Da.default.join(n,"auth_token"),e,"utf8")}async function J0(){let e=Bo.default.homedir(),t=Da.default.join(e,".goldsky","auth_token");try{await jr.default.promises.rm(t)}catch(n){}}var Xa=ue(Yt()),Oc=ue(require("readline")),ry=ue(vp()),ay=ue(Hn());async function iy(e,t){za(e),console.log();let n=(0,ay.default)("Validating API Token").start();try{let i=await ry.default.get(`${t.apiHost}/auth/check_token`,{headers:{Authorization:`Bearer ${e}`},validateStatus:r=>!0});if(i.status===200&&i.data.success){await Z0(e),n.succeed(`${Xa.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(`${Xa.default.bold("Login failed")}. Make sure you entered your API token correctly - or contact Goldsky for more assistance`),process.exit(1)}async function sy(e){if(e.token)return iy(e.token,e);let t=`Enter or paste in your Goldsky API token ${Xa.default.italic("(you can create a new one at https://app.goldsky.com/dashboard/settings)")}: `,n=Oc.default.createInterface({input:process.stdin,output:process.stdout});n.stdoutMuted=!0,n.question(t,async i=>{n.close(),await iy(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;Oc.default.moveCursor(n.output,0,0),Oc.default.clearLine(n.output,1),n.output.write(`${t}${"*".repeat(r)}`)}else n.output.write("*")}}async function oy(e){J0(),console.log(`${Xa.default.bold("Logged out")}. You will need to log in again if you want to run authenticated commands on this computer in future`)}var r5="login",a5="Log in to Goldsky to enable running authenticated CLI commands",s5=e=>e.version(!1),o5=async({apiHost:e,token:t})=>{await sy({apiHost:e,token:t})};var Bp={};Ot(Bp,{builder:()=>u5,command:()=>c5,describe:()=>l5,handler:()=>p5});var c5="logout",l5="Log out of Goldsky on this computer",u5=e=>e.version(!1),p5=async({apiHost:e})=>{await oy({apiHost:e})};var mh={};Ot(mh,{builder:()=>mI,command:()=>dI,describe:()=>hI,handler:()=>gI});var Dp={};Ot(Dp,{builder:()=>h5,command:()=>f5,describe:()=>d5,handler:()=>m5});var kc=ue(Yt()),cy=ue(Kn()),ly=ue(Hn());async function Fp(e){let t=(0,ly.default)("Removing subgraph").start(),[n,i]=await cy.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(`${kc.default.bold("Subgraph removal failed:")} ${kc.default.red(n.message)}`),process.exit(1)):t.succeed(kc.default.bold("Removed subgraph"))}var rt=e=>e.split("/");var f5="delete <nameAndVersion>",d5="Delete a subgraph from Goldsky",h5=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}),m5=async({apiHost:e,nameAndVersion:t})=>Fp({apiHost:e,name:rt(t)[0],v:rt(t)[1]});var eh={};Ot(eh,{builder:()=>yL,command:()=>bL,describe:()=>xL,handler:()=>wL});var wn=ue(Yt());var Qa=ue(require("fs")),Vr=ue(require("path")),uy=ue(Hn());async function py(e){let t=(0,uy.default)("Validating build path").start(),n={isValid:!1,buildPath:e};try{let i=await Promise.all([Qa.default.promises.stat(Vr.default.join(e,"package.json")),Qa.default.promises.stat(Vr.default.join(e,"build"))]);i[0].isFile()&&i[1].isDirectory()&&(n.buildPath=Vr.default.join(e,"build"))}catch(i){}try{await Promise.all([Qa.default.promises.stat(Vr.default.join(e,"subgraph.yaml")),Qa.default.promises.stat(Vr.default.join(e,"schema.graphql"))]),n.isValid=!0,t.succeed()}catch(i){t.fail()}return n}var mS=ue(k2()),qn=ue(require("fs")),gS=ue(require("os")),fi=ue(require("path")),Ml=ue(dS()),Xd=ue(Kn()),Ys=ue(Hn()),Qd=ue(vp());var hS=3;async function mL(e,t,n){let i=Qd.default.create({}),r=fi.default.join(gS.default.tmpdir(),`goldsky-deploy-${e}`);try{await qn.default.promises.mkdir(r)}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,Ml.default.createNode(v))},u=()=>{n.prefixText=`${Math.round(o++/(a.length+1)*100)}%`},l=await i.get(`${t}/api/v0/cat?arg=${e}`);u();let p=Ml.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 qn.default.promises.writeFile(fi.default.join(r,"subgraph.yaml"),p.toString());for(let f of a){let m=fi.default.join(r,f[1]);if(!qn.default.existsSync(m))try{let v=0;for(;v<hS;){let g=await i.get(`${t}/api/v0/cat?arg=${f[0]}`,{responseType:"arraybuffer",validateStatus:d=>d>=200&&d<300||v<hS-1&&d===504});if(g.status===504)++v;else{await qn.default.promises.writeFile(m,g.data);break}}}catch(v){try{await qn.default.promises.rm(m)}catch(g){}throw v}u()}return n.prefixText="",r}async function gL(e){let t=new URL(e);return(await Qd.default.create({}).post(e,{query:"{_meta{deployment}}",variables:null},xh({},t.host==="gateway.thegraph.com"?{headers:{origin:"https://thegraph.com"}}:{}))).data.data._meta.deployment}async function vS(e){console.log(wn.default.bold("Deploying Subgraph:"));let t=e.path||fi.default.join(process.cwd()),n=e.ipfsHash;if(e.graphql){let u=(0,Ys.default)("Getting subgraph deployment metadata").start();try{n=await gL(e.graphql),u.succeed()}catch(l){u.fail(),console.log(),console.log(`${wn.default.bold("Deployment failed:")} ${wn.default.red(l.message)}`);return}}if(n){let u=(0,Ys.default)("Downloading subgraph from IPFS (This can take a while)").start();try{t=await mL(n,e.ipfsGateway,u),u.succeed()}catch(l){u.fail(),console.log(),console.log(`${wn.default.bold("Deployment failed:")} ${wn.default.red(l.message)}`);return}}let i=await py(t);if(!i.isValid){console.log("Deployment failed: This path doesn't point to a subgraph build path");return}let r=await vL(i.buildPath),a=(0,Ys.default)("Deploying to Goldsky").start(),s=Xd.ApiFetch.FormData();s.append("bundle",r.generateNodeStream({streamFiles:!0}),"bundle.zip"),s.append("overwrite",e.overwrite?"1":"0");let[o,c]=await Xd.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.
|
|
253
|
-
Wait a few minutes and use ${
|
|
254
|
-
`))),console.log(" ","Synced:",`${c.synced?
|
|
252
|
+
`;var du=class{constructor(t,n,i,r){var a,s,o;this.yargs=t,this.usage=n,this.command=i,this.shim=r,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,i,r){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(bo(u)){this.indexAfterLastReset=o+1;let l=this.yargs.getInternalMethods().reset();return u(l,!0),l.argv}}let s=[];this.commandCompletions(s,t,i),this.optionCompletions(s,t,n,i),this.choicesFromOptionsCompletions(s,t,n,i),this.choicesFromPositionalsCompletions(s,t,n,i),r(null,s)}commandCompletions(t,n,i){let r=this.yargs.getInternalMethods().getContext().commands;!i.match(/^-/)&&r[r.length-1]!==i&&!this.previousArgHasChoices(n)&&this.usage.getCommands().forEach(a=>{let s=Hn(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,i,r){if((r.match(/^-/)||r===""&&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,r),c&&!!a.default[o]&&this.completeOptionKey(`no-${o}`,t,r))})}}choicesFromOptionsCompletions(t,n,i,r){if(this.previousArgHasChoices(n)){let a=this.getPreviousArgChoices(n);a&&a.length>0&&t.push(...a.map(s=>s.replace(/:/g,"\\:")))}}choicesFromPositionalsCompletions(t,n,i,r){if(r===""&&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[i._.length-s-1];if(!o)return;let c=this.yargs.getOptions().choices[o]||[];for(let u of c)u.startsWith(r)&&t.push(u.replace(/:/g,"\\:"))}getPreviousArgChoices(t){if(t.length<1)return;let n=t[t.length-1],i="";if(!n.startsWith("-")&&t.length>1&&(i=n,n=t[t.length-2]),!n.startsWith("-"))return;let r=n.replace(/^-+/,""),a=this.yargs.getOptions(),s=[r,...this.yargs.getAliases()[r]||[]],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=>!i||c.startsWith(i))}previousArgHasChoices(t){let n=this.getPreviousArgChoices(t);return n!==void 0&&n.length>0}argsContainKey(t,n,i){let r=a=>t.indexOf((/^[^0-9]$/.test(a)?"-":"--")+a)!==-1;if(r(n)||i&&r(`no-${n}`))return!0;if(this.aliases){for(let a of this.aliases[n])if(r(a))return!0}return!1}completeOptionKey(t,n,i){let r=this.usage.getDescriptions(),a=c=>/^--/.test(c),s=c=>/^[^0-9]$/.test(c),o=!a(i)&&s(t)?"-":"--";if(!this.zshShell)n.push(o+t);else{let c=r[t]||"";n.push(o+`${t.replace(/:/g,"\\:")}:${c.replace("__yargsString__:","")}`)}}customCompletion(t,n,i,r){if(xt(this.customCompletionFunction,null,this.shim),vE(this.customCompletionFunction)){let a=this.customCompletionFunction(i,n);return Te(a)?a.then(s=>{this.shim.process.nextTick(()=>{r(null,s)})}).catch(s=>{this.shim.process.nextTick(()=>{r(s,void 0)})}):r(null,a)}else return bE(this.customCompletionFunction)?this.customCompletionFunction(i,n,(a=r)=>this.defaultCompletion(t,n,i,a),a=>{r(null,a)}):this.customCompletionFunction(i,n,a=>{r(null,a)})}getCompletion(t,n){let i=t.length?t[t.length-1]:"",r=this.yargs.parse(t,!0),a=this.customCompletionFunction?s=>this.customCompletion(t,s,i,n):s=>this.defaultCompletion(t,s,i,n);return Te(r)?r.then(a):a(r)}generateCompletionScript(t,n){let i=this.zshShell?Sm:_m,r=this.shim.path.basename(t);return t.match(/\.js$/)&&(t=`./${t}`),i=i.replace(/{{app_name}}/g,r),i=i.replace(/{{completion_command}}/g,n),i.replace(/{{app_path}}/g,t)}registerFunction(t){this.customCompletionFunction=t}setParsed(t){this.aliases=t.aliases}};function Om(e,t,n,i){return new du(e,t,n,i)}function vE(e){return e.length<3}function bE(e){return e.length>3}function Em(e,t){if(e.length===0)return t.length;if(t.length===0)return e.length;let n=[],i;for(i=0;i<=t.length;i++)n[i]=[i];let r;for(r=0;r<=e.length;r++)n[0][r]=r;for(i=1;i<=t.length;i++)for(r=1;r<=e.length;r++)t.charAt(i-1)===e.charAt(r-1)?n[i][r]=n[i-1][r-1]:i>1&&r>1&&t.charAt(i-2)===e.charAt(r-1)&&t.charAt(i-1)===e.charAt(r-2)?n[i][r]=n[i-2][r-2]+1:n[i][r]=Math.min(n[i-1][r-1]+1,Math.min(n[i][r-1]+1,n[i-1][r]+1));return n[t.length][e.length]}var km=["$0","--","_"];function Cm(e,t,n){let i=n.y18n.__,r=n.y18n.__n,a={};a.nonOptionCount=function(p){let d=e.getDemandedCommands(),x=p._.length+(p["--"]?p["--"].length:0)-e.getInternalMethods().getContext().commands.length;d._&&(x<d._.min||x>d._.max)&&(x<d._.min?d._.minMsg!==void 0?t.fail(d._.minMsg?d._.minMsg.replace(/\$0/g,x.toString()).replace(/\$1/,d._.min.toString()):null):t.fail(r("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",x,x.toString(),d._.min.toString())):x>d._.max&&(d._.maxMsg!==void 0?t.fail(d._.maxMsg?d._.maxMsg.replace(/\$0/g,x.toString()).replace(/\$1/,d._.max.toString()):null):t.fail(r("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",x,x.toString(),d._.max.toString()))))},a.positionalCount=function(p,d){d<p&&t.fail(r("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",d,d+"",p+""))},a.requiredArguments=function(p,d){let g=null;for(let x of Object.keys(d))(!Object.prototype.hasOwnProperty.call(p,x)||typeof p[x]>"u")&&(g=g||{},g[x]=d[x]);if(g){let x=[];for(let h of Object.keys(g)){let _=g[h];_&&x.indexOf(_)<0&&x.push(_)}let v=x.length?`
|
|
253
|
+
${x.join(`
|
|
254
|
+
`)}`:"";t.fail(r("Missing required argument: %s","Missing required arguments: %s",Object.keys(g).length,Object.keys(g).join(", ")+v))}},a.unknownArguments=function(p,d,g,x,v=!0){var h;let _=e.getInternalMethods().getCommandInstance().getCommands(),k=[],I=e.getInternalMethods().getContext();if(Object.keys(p).forEach(R=>{!km.includes(R)&&!Object.prototype.hasOwnProperty.call(g,R)&&!Object.prototype.hasOwnProperty.call(e.getInternalMethods().getParseContext(),R)&&!a.isValidAndSomeAliasIsNotNew(R,d)&&k.push(R)}),v&&(I.commands.length>0||_.length>0||x)&&p._.slice(I.commands.length).forEach(R=>{_.includes(""+R)||k.push(""+R)}),v){let M=((h=e.getDemandedCommands()._)===null||h===void 0?void 0:h.max)||0,H=I.commands.length+M;H<p._.length&&p._.slice(H).forEach(D=>{D=String(D),!I.commands.includes(D)&&!k.includes(D)&&k.push(D)})}k.length&&t.fail(r("Unknown argument: %s","Unknown arguments: %s",k.length,k.map(R=>R.trim()?R:`"${R}"`).join(", ")))},a.unknownCommands=function(p){let d=e.getInternalMethods().getCommandInstance().getCommands(),g=[],x=e.getInternalMethods().getContext();return(x.commands.length>0||d.length>0)&&p._.slice(x.commands.length).forEach(v=>{d.includes(""+v)||g.push(""+v)}),g.length>0?(t.fail(r("Unknown command: %s","Unknown commands: %s",g.length,g.join(", "))),!0):!1},a.isValidAndSomeAliasIsNotNew=function(p,d){if(!Object.prototype.hasOwnProperty.call(d,p))return!1;let g=e.parsed.newAliases;return[p,...d[p]].some(x=>!Object.prototype.hasOwnProperty.call(g,x)||!g[p])},a.limitedChoices=function(p){let d=e.getOptions(),g={};if(!Object.keys(d.choices).length)return;Object.keys(p).forEach(h=>{km.indexOf(h)===-1&&Object.prototype.hasOwnProperty.call(d.choices,h)&&[].concat(p[h]).forEach(_=>{d.choices[h].indexOf(_)===-1&&_!==void 0&&(g[h]=(g[h]||[]).concat(_))})});let x=Object.keys(g);if(!x.length)return;let v=i("Invalid values:");x.forEach(h=>{v+=`
|
|
255
|
+
${i("Argument: %s, Given: %s, Choices: %s",h,t.stringifiedValues(g[h]),t.stringifiedValues(d.choices[h]))}`}),t.fail(v)};let s={};a.implies=function(p,d){G("<string|object> [array|number|string]",[p,d],arguments.length),typeof p=="object"?Object.keys(p).forEach(g=>{a.implies(g,p[g])}):(e.global(p),s[p]||(s[p]=[]),Array.isArray(d)?d.forEach(g=>a.implies(p,g)):(xt(d,void 0,n),s[p].push(d)))},a.getImplied=function(){return s};function o(l,p){let d=Number(p);return p=isNaN(d)?p:d,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 d=[];if(Object.keys(s).forEach(g=>{let x=g;(s[g]||[]).forEach(v=>{let h=x,_=v;h=o(p,h),v=o(p,v),h&&!v&&d.push(` ${x} -> ${_}`)})}),d.length){let g=`${i("Implications failed:")}
|
|
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,v=1/0;for(let h=0,_;(_=d[h])!==void 0;h++){let k=Em(p,_);k<=3&&k<v&&(v=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=[],za;function Ua(e,t,n,i){za=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=yE(t,e.extends);else try{s=require.resolve(e.extends)}catch{return e}xE(s),hu.push(s),r=a?JSON.parse(za.readFileSync(s,"utf8")):require(e.extends),delete e.extends,r=Ua(r,za.path.dirname(s),n,za)}return hu=[],n?Tm(r,e):Object.assign({},r,e)}function xE(e){if(hu.indexOf(e)>-1)throw new ke(`Circular extended configurations: '${e}'.`)}function yE(e,t){return za.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,Ci,Wa,Ht,Rt,yo,Gn,Ti,wo,Yt,_o,Kt,gn,It,Gt,So,Er,et,te,Oo,Eo,Nt,Ai,kr,ji,Zn,ko,se,Mi,Ri,Ii,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"),Ni=Symbol("getParserConfiguration"),gu=Symbol("guessLocale"),Nm=Symbol("guessVersion"),Lm=Symbol("parsePositionalNumbers"),vu=Symbol("pkgUp"),Vn=Symbol("populateParserHintArray"),Cr=Symbol("populateParserHintSingleValueDictionary"),bu=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"),Li=Symbol("postProcess"),Hm=Symbol("rebase"),Su=Symbol("reset"),Ha=Symbol("runYargsParserAndExecuteCommands"),Ou=Symbol("runValidation"),Ym=Symbol("setHasOutput"),Pi=Symbol("kTrackManuallySetKeys"),Eu=class{constructor(t=[],n,i,r){this.customScriptName=!1,this.parsed=!1,$e.set(this,void 0),Ci.set(this,void 0),Wa.set(this,{commands:[],fullCommands:[]}),Ht.set(this,null),Rt.set(this,null),yo.set(this,"show-hidden"),Gn.set(this,null),Ti.set(this,!0),wo.set(this,{}),Yt.set(this,!0),_o.set(this,[]),Kt.set(this,void 0),gn.set(this,{}),It.set(this,!1),Gt.set(this,null),So.set(this,!0),Er.set(this,void 0),et.set(this,""),te.set(this,void 0),Oo.set(this,void 0),Eo.set(this,{}),Nt.set(this,null),Ai.set(this,null),kr.set(this,{}),ji.set(this,{}),Zn.set(this,void 0),ko.set(this,!1),se.set(this,void 0),Mi.set(this,!1),Ri.set(this,!1),Ii.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,Ci,n,"f"),V(this,Oo,i,"f"),V(this,Kt,new vo(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,te,m(this,te,"f"),"f"),m(this,te,"f").showHiddenOpt=m(this,yo,"f"),V(this,Er,this[jm](),"f")}addHelpOpt(t,n){let i="help";return G("[string|boolean] [string]",[t,n],arguments.length),m(this,Gt,"f")&&(this[mu](m(this,Gt,"f")),V(this,Gt,null,"f")),t===!1&&n===void 0?this:(V(this,Gt,typeof t=="string"?t:i,"f"),this.boolean(m(this,Gt,"f")),this.describe(m(this,Gt,"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,te,"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[bu](this.alias.bind(this),"alias",t,n),this}array(t){return G("<array|string>",[t],arguments.length),this[Vn]("array",t),this[Pi](t),this}boolean(t){return G("<array|string>",[t],arguments.length),this[Vn]("boolean",t),this[Pi](t),this}check(t,n){return G("<function> [boolean]",[t,n],arguments.length),this.middleware((i,r)=>ki(()=>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[bu](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,te,"f").key[t]=!0,m(this,Kt,"f").addCoerceMiddleware((i,r)=>{let a;return Object.prototype.hasOwnProperty.call(i,t)?ki(()=>(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=Ua(t,m(this,Ci,"f"),this[Ni]()["deep-merge-config"]||!1,m(this,se,"f")),m(this,te,"f").configObjects=(m(this,te,"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,te,"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,Ht,"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[Pi](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,te,"f").defaultDescription[t]=i),typeof n=="function"&&(lu(t,m(this,se,"f")),m(this,te,"f").defaultDescription[t]||(m(this,te,"f").defaultDescription[t]=m(this,ue,"f").functionDescription(n)),n=n.call()),this[Cr](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,te,"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[Cr](this.demandOption.bind(this),"demandedOptions",t,n),this}deprecateOption(t,n){return G("<string> [string|boolean]",[t,n],arguments.length),m(this,te,"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,Ti,t,"f"),this}env(t){return G("[string|boolean]",[t],arguments.length),t===!1?delete m(this,te,"f").envPrefix:m(this,te,"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,Yt,"f")&&m(this,se,"f").process.exit(t)}exitProcess(t=!0){return G("[boolean]",[t],arguments.length),V(this,Yt,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,Ht,"f").getCompletion(t,n):new Promise((i,r)=>{m(this,Ht,"f").getCompletion(t,(a,s)=>{a?r(a):i(s)})})}getDemandedOptions(){return G([],0),m(this,te,"f").demandedOptions}getDemandedCommands(){return G([],0),m(this,te,"f").demandedCommands}getDeprecatedOptions(){return G([],0),m(this,te,"f").deprecatedOptions}getDetectLocale(){return m(this,Ti,"f")}getExitProcess(){return m(this,Yt,"f")}getGroups(){return Object.assign({},m(this,gn,"f"),m(this,ji,"f"))}getHelp(){if(V(this,It,!0,"f"),!m(this,ue,"f").hasCachedHelpMessage()){if(!this.parsed){let n=this[Ha](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,te,"f")}getStrict(){return m(this,Mi,"f")}getStrictCommands(){return m(this,Ri,"f")}getStrictOptions(){return m(this,Ii,"f")}global(t,n){return G("<string|array> [boolean]",[t,n],arguments.length),t=[].concat(t),n!==!1?m(this,te,"f").local=m(this,te,"f").local.filter(i=>t.indexOf(i)===-1):t.forEach(i=>{m(this,te,"f").local.includes(i)||m(this,te,"f").local.push(i)}),this}group(t,n){G("<string|array> <string>",[t,n],arguments.length);let i=m(this,ji,"f")[n]||m(this,gn,"f")[n];m(this,ji,"f")[n]&&delete m(this,ji,"f")[n];let r={};return m(this,gn,"f")[n]=(i||[]).concat(t).filter(a=>r[a]?!1:r[a]=!0),this}hide(t){return G("<string>",[t],arguments.length),m(this,te,"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,Ti,!1,"f"),m(this,se,"f").y18n.setLocale(t),this)}middleware(t,n,i){return m(this,Kt,"f").addMiddleware(t,!!n,i)}nargs(t,n){return G("<string|object|array> [number]",[t,n],arguments.length),this[Cr](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[Pi](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[Pi](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"),m(this,te,"f").key[t]=!0,n.alias&&this.alias(t,n.alias);let i=n.deprecate||n.deprecated;i&&this.deprecateOption(t,i);let r=n.demand||n.required||n.require;r&&this.demand(t,r),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&&(m(this,te,"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,i){G("[string|array] [function|boolean|object] [function]",[t,n,i],arguments.length),this[Rm](),typeof t>"u"&&(t=m(this,Zn,"f")),typeof n=="object"&&(V(this,Ai,n,"f"),n=i),typeof n=="function"&&(V(this,Nt,n,"f"),n=!1),n||V(this,Zn,t,"f"),m(this,Nt,"f")&&V(this,Yt,!1,"f");let r=this[Ha](t,!!n),a=this.parsed;return m(this,Ht,"f").setParsed(this.parsed),Te(r)?r.then(s=>(m(this,Nt,"f")&&m(this,Nt,"f").call(this,m(this,Gn,"f"),s,m(this,et,"f")),s)).catch(s=>{throw m(this,Nt,"f")&&m(this,Nt,"f")(s,this.parsed.argv,m(this,et,"f")),s}).finally(()=>{this[_u](),this.parsed=a}):(m(this,Nt,"f")&&m(this,Nt,"f").call(this,m(this,Gn,"f"),r,m(this,et,"f")),this[_u](),this.parsed=a,r)}parseAsync(t,n,i){let r=this.parse(t,n,i);return Te(r)?r:Promise.resolve(r)}parseSync(t,n,i){let r=this.parse(t,n,i);if(Te(r))throw new ke(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return r}parserConfiguration(t){return G("<object>",[t],arguments.length),V(this,Eo,t,"f"),this}pkgConf(t,n){G("<string> [string]",[t,n],arguments.length);let i=null,r=this[vu](n||m(this,Ci,"f"));return r[t]&&typeof r[t]=="object"&&(i=Ua(r[t],n||m(this,Ci,"f"),this[Ni]()["deep-merge-config"]||!1,m(this,se,"f")),m(this,te,"f").configObjects=(m(this,te,"f").configObjects||[]).concat(i)),this}positional(t,n){G("<string> <object>",[t,n],arguments.length);let i=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];n=Yn(n,(s,o)=>s==="type"&&!["string","number","boolean"].includes(o)?!1:i.includes(s));let r=m(this,Wa,"f").fullCommands[m(this,Wa,"f").fullCommands.length-1],a=r?m(this,$e,"f").cmdToParseOptions(r):{array:[],alias:{},default:{},demand:{}};return Sr(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,m(this,ue,"f").getPositionalGroupName()),this.option(t,n)}recommendCommands(t=!0){return G("[boolean]",[t],arguments.length),V(this,ko,t,"f"),this}required(t,n,i){return this.demand(t,n,i)}require(t,n,i){return this.demand(t,n,i)}requiresArg(t){return G("<array|string|object> [number]",[t],arguments.length),typeof t=="string"&&m(this,te,"f").narg[t]?this:(this[Cr](this.requiresArg.bind(this),"narg",t,NaN),this)}showCompletionScript(t,n){return G("[string] [string]",[t,n],arguments.length),t=t||this.$0,m(this,Er,"f").log(m(this,Ht,"f").generateCompletionScript(t,n||m(this,Rt,"f")||"completion")),this}showHelp(t){if(G("[string|function]",[t],arguments.length),V(this,It,!0,"f"),!m(this,ue,"f").hasCachedHelpMessage()){if(!this.parsed){let i=this[Ha](m(this,Zn,"f"),void 0,void 0,0,!0);if(Te(i))return i.then(()=>{m(this,ue,"f").showHelp(t)}),this}let n=m(this,$e,"f").runDefaultBuilderOn(this);if(Te(n))return n.then(()=>{m(this,ue,"f").showHelp(t)}),this}return m(this,ue,"f").showHelp(t),this}scriptName(t){return this.customScriptName=!0,this.$0=t,this}showHelpOnFail(t,n){return G("[boolean|string] [string]",[t,n],arguments.length),m(this,ue,"f").showHelpOnFail(t,n),this}showVersion(t){return G("[string|function]",[t],arguments.length),m(this,ue,"f").showVersion(t),this}skipValidation(t){return G("<array|string>",[t],arguments.length),this[Vn]("skipValidation",t),this}strict(t){return G("[boolean]",[t],arguments.length),V(this,Mi,t!==!1,"f"),this}strictCommands(t){return G("[boolean]",[t],arguments.length),V(this,Ri,t!==!1,"f"),this}strictOptions(t){return G("[boolean]",[t],arguments.length),V(this,Ii,t!==!1,"f"),this}string(t){return G("<array|string>",[t],arguments.length),this[Vn]("string",t),this[Pi](t),this}terminalWidth(){return G([],0),m(this,se,"f").process.stdColumns}updateLocale(t){return this.updateStrings(t)}updateStrings(t){return G("<object>",[t],arguments.length),V(this,Ti,!1,"f"),m(this,se,"f").y18n.updateLocale(t),this}usage(t,n,i,r){if(G("<string|null|undefined> [string|boolean] [function|object] [function]",[t,n,i,r],arguments.length),n!==void 0){if(xt(t,null,m(this,se,"f")),(t||"").match(/^\$0( |$)/))return this.command(t,n,i,r);throw new ke(".usage() description must start with $0 if being used as alias for .command()")}else return m(this,ue,"f").usage(t),this}version(t,n,i){let r="version";if(G("[boolean|string] [string] [string]",[t,n,i],arguments.length),m(this,vn,"f")&&(this[mu](m(this,vn,"f")),m(this,ue,"f").version(void 0),V(this,vn,null,"f")),arguments.length===0)i=this[Nm](),t=r;else if(arguments.length===1){if(t===!1)return this;i=t,t=r}else arguments.length===2&&(i=n,n=void 0);return V(this,vn,typeof t=="string"?t:r,"f"),n=n||m(this,ue,"f").deferY18nLookup("Show version number"),m(this,ue,"f").version(i||void 0),this.boolean(m(this,vn,"f")),this.describe(m(this,vn,"f"),n),this}wrap(t){return G("<number|null|undefined>",[t],arguments.length),m(this,ue,"f").wrap(t),this}[($e=new WeakMap,Ci=new WeakMap,Wa=new WeakMap,Ht=new WeakMap,Rt=new WeakMap,yo=new WeakMap,Gn=new WeakMap,Ti=new WeakMap,wo=new WeakMap,Yt=new WeakMap,_o=new WeakMap,Kt=new WeakMap,gn=new WeakMap,It=new WeakMap,Gt=new WeakMap,So=new WeakMap,Er=new WeakMap,et=new WeakMap,te=new WeakMap,Oo=new WeakMap,Eo=new WeakMap,Nt=new WeakMap,Ai=new WeakMap,kr=new WeakMap,ji=new WeakMap,Zn=new WeakMap,ko=new WeakMap,se=new WeakMap,Mi=new WeakMap,Ri=new WeakMap,Ii=new WeakMap,ue=new WeakMap,vn=new WeakMap,qe=new WeakMap,Am)](t){if(!t._||!t["--"])return t;t._.push.apply(t._,t["--"]);try{delete t["--"]}catch{}return t}[jm](){return{log:(...t)=>{this[Co]()||console.log(...t),V(this,It,!0,"f"),m(this,et,"f").length&&V(this,et,m(this,et,"f")+`
|
|
258
|
+
`,"f"),V(this,et,m(this,et,"f")+t.join(" "),"f")},error:(...t)=>{this[Co]()||console.error(...t),V(this,It,!0,"f"),m(this,et,"f").length&&V(this,et,m(this,et,"f")+`
|
|
259
|
+
`,"f"),V(this,et,m(this,et,"f")+t.join(" "),"f")}}}[mu](t){Sr(m(this,te,"f")).forEach(n=>{if((r=>r==="configObjects")(n))return;let i=m(this,te,"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,te,"f"),configObjects:m(this,te,"f").configObjects.slice(0),exitProcess:m(this,Yt,"f"),groups:m(this,gn,"f"),strict:m(this,Mi,"f"),strictCommands:m(this,Ri,"f"),strictOptions:m(this,Ii,"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,Ai,"f")}),m(this,ue,"f").freeze(),m(this,qe,"f").freeze(),m(this,$e,"f").freeze(),m(this,Kt,"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,Ci,"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}[Ni](){return m(this,Eo,"f")}[gu](){if(!m(this,Ti,"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[vu]().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}[vu](t){let n=t||"*";if(m(this,kr,"f")[n])return m(this,kr,"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,kr,"f")[n]=i||{},m(this,kr,"f")[n]}[Vn](t,n){n=[].concat(n),n.forEach(i=>{i=this[yu](i),m(this,te,"f")[t].push(i)})}[Cr](t,n,i,r){this[xu](t,n,i,r,(a,s,o)=>{m(this,te,"f")[a][s]=o})}[bu](t,n,i,r){this[xu](t,n,i,r,(a,s,o)=>{m(this,te,"f")[a][s]=(m(this,te,"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 Sr(i))t(s,i[s]);else a(n,this[yu](i),r)}[yu](t){return t==="__proto__"?"___proto___":t}[wu](t,n){return this[Cr](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(v){V(t,te,v,"f")}}.value,configObjects:x,exitProcess:{set value(v){V(n,Yt,v,"f")}}.value,groups:{set value(v){V(i,gn,v,"f")}}.value,output:{set value(v){V(r,et,v,"f")}}.value,exitError:{set value(v){V(a,Gn,v,"f")}}.value,hasOutput:{set value(v){V(s,It,v,"f")}}.value,parsed:this.parsed,strict:{set value(v){V(o,Mi,v,"f")}}.value,strictCommands:{set value(v){V(c,Ri,v,"f")}}.value,strictOptions:{set value(v){V(u,Ii,v,"f")}}.value,completionCommand:{set value(v){V(l,Rt,v,"f")}}.value,parseFn:{set value(v){V(p,Nt,v,"f")}}.value,parseContext:{set value(v){V(d,Ai,v,"f")}}.value}=g,m(this,te,"f").configObjects=x,m(this,ue,"f").unfreeze(),m(this,qe,"f").unfreeze(),m(this,$e,"f").unfreeze(),m(this,Kt,"f").unfreeze()}[Pm](t,n){return ki(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[Ni].bind(this),getUsageInstance:this[zm].bind(this),getValidationInstance:this[Um].bind(this),hasParseCallback:this[Co].bind(this),isGlobalContext:this[Wm].bind(this),postProcess:this[Li].bind(this),reset:this[Su].bind(this),runValidation:this[Ou].bind(this),runYargsParserAndExecuteCommands:this[Ha].bind(this),setHasOutput:this[Ym].bind(this)}}[qm](){return m(this,$e,"f")}[Bm](){return m(this,Wa,"f")}[Fm](){return m(this,It,"f")}[Dm](){return m(this,Er,"f")}[$m](){return m(this,Ai,"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")}[Li](t,n,i,r){return i||Te(t)||(n||(t=this[Am](t)),(this[Ni]()["parse-positional-numbers"]||this[Ni]()["parse-positional-numbers"]===void 0)&&(t=this[Lm](t)),r&&(t=Ei(t,this,m(this,Kt,"f").getMiddleware(),!1))),t}[Su](t={}){V(this,te,m(this,te,"f")||{},"f");let n={};n.local=m(this,te,"f").local||[],n.configObjects=m(this,te,"f").configObjects||[];let i={};n.local.forEach(s=>{i[s]=!0,(t[s]||[]).forEach(o=>{i[o]=!0})}),Object.assign(m(this,ji,"f"),Object.keys(m(this,gn,"f")).reduce((s,o)=>{let c=m(this,gn,"f")[o].filter(u=>!(u in i));return c.length>0&&(s[o]=c),s},{})),V(this,gn,{},"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,te,"f")[s]||[]).filter(o=>!i[o])}),a.forEach(s=>{n[s]=Yn(m(this,te,"f")[s],o=>!i[o])}),n.envPrefix=m(this,te,"f").envPrefix,V(this,te,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():bm(m(this,ue,"f"),m(this,qe,"f"),m(this,Kt,"f"),m(this,se,"f")),"f"),m(this,Ht,"f")||V(this,Ht,Om(this,m(this,ue,"f"),m(this,$e,"f"),m(this,se,"f")),"f"),m(this,Kt,"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)}[Ha](t,n,i,r=0,a=!1){let s=!!i||a;t=t||m(this,Zn,"f"),m(this,te,"f").__=m(this,se,"f").y18n.__,m(this,te,"f").configuration=this[Ni]();let o=!!m(this,te,"f").configuration["populate--"],c=Object.assign({},m(this,te,"f").configuration,{"populate--":!0}),u=m(this,se,"f").Parser.detailed(t,Object.assign({},m(this,te,"f"),{configuration:{"parse-positional-numbers":!1,...c}})),l=Object.assign(u.argv,m(this,Ai,"f")),p,d=u.aliases,g=!1,x=!1;Object.keys(l).forEach(v=>{v===m(this,Gt,"f")&&l[v]?g=!0:v===m(this,vn,"f")&&l[v]&&(x=!0)}),l.$0=this.$0,this.parsed=u,r===0&&m(this,ue,"f").clearCachedHelpMessage();try{if(this[gu](),n)return this[Li](l,o,!!i,!1);m(this,Gt,"f")&&[m(this,Gt,"f")].concat(d[m(this,Gt,"f")]||[]).filter(I=>I.length>1).includes(""+l._[l._.length-1])&&(l._.pop(),g=!0),V(this,So,!1,"f");let v=m(this,$e,"f").getCommands(),h=m(this,Ht,"f").completionKey in l,_=g||h||a;if(l._.length){if(v.length){let k;for(let I=r||0,R;l._[I]!==void 0;I++)if(R=String(l._[I]),v.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[Li](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,v)}m(this,Rt,"f")&&l._.includes(m(this,Rt,"f"))&&!h&&(m(this,Yt,"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[Li](k,o,!!i,!1)}if(h){m(this,Yt,"f")&&Kn(!0),t=[].concat(t);let k=t.slice(t.indexOf(`--${m(this,Ht,"f").completionKey}`)+1);return m(this,Ht,"f").getCompletion(k,(I,R)=>{if(I)throw new ke(I.message);(R||[]).forEach(M=>{m(this,Er,"f").log(M)}),this.exit(0)}),this[Li](l,!o,!!i,!1)}if(m(this,It,"f")||(g?(m(this,Yt,"f")&&Kn(!0),s=!0,this.showHelp("log"),this.exit(0)):x&&(m(this,Yt,"f")&&Kn(!0),s=!0,m(this,ue,"f").showVersion("log"),this.exit(0))),!s&&m(this,te,"f").skipValidation.length>0&&(s=Object.keys(l).some(k=>m(this,te,"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=Ei(l,this,m(this,Kt,"f").getMiddleware(),!0)),p=this[Pm](k,p??l),Te(p)&&!i&&(p=p.then(()=>Ei(l,this,m(this,Kt,"f").getMiddleware(),!1)))}}}catch(v){if(v instanceof ke)m(this,ue,"f").fail(v.message,v);else throw v}return this[Li](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,Ri,"f")&&(o=m(this,qe,"f").unknownCommands(s)),m(this,Mi,"f")&&!o?m(this,qe,"f").unknownArguments(s,t,n,!!r):m(this,Ii,"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")}[Pi](t){if(typeof t=="string")m(this,te,"f").key[t]=!0;else for(let n of t)m(this,te,"f").key[n]=!0}};function xm(e){return!!e&&typeof e.getInternalMethods=="function"}var wE=Km(cu),Gm=wE;var Ql=me(ei());var lf={};jt(lf,{builder:()=>j5,command:()=>T5,describe:()=>A5,handler:()=>M5});var Qa=me(require("path")),ec=me(require("os")),Dr=me(require("fs")),Mv=me(ei());async function GT(){let e=ec.default.homedir(),t=Qa.default.join(e,".goldsky","auth_token");try{return await Dr.default.promises.readFile(t,"utf8")}catch(n){}return null}async function Rv(){let e=await GT();e&&es(e)}function es(e){Mv.ApiFetch.setAuth(`Bearer ${e}`)}async function Iv(e){let t=ec.default.homedir(),n=Qa.default.join(t,".goldsky");try{await Dr.default.promises.stat(n)}catch(i){await Dr.default.promises.mkdir(n)}await Dr.default.promises.writeFile(Qa.default.join(n,"auth_token"),e,"utf8")}async function Nv(){let e=ec.default.homedir(),t=Qa.default.join(e,".goldsky","auth_token");try{await Dr.default.promises.rm(t)}catch(n){}}var ps=me(Jt()),$c=me(require("readline")),$y=me(zp()),zy=me(ni());async function Dy(e,t){es(e),console.log();let n=(0,zy.default)("Validating API Token").start();try{let i=await $y.default.get(`${t.apiHost}/auth/check_token`,{headers:{Authorization:`Bearer ${e}`},validateStatus:r=>!0});if(i.status===200&&i.data.success){await Iv(e),n.succeed(`${ps.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(`${ps.default.bold("Login failed")}. Make sure you entered your API token correctly - or contact Goldsky for more assistance`),process.exit(1)}async function Uy(e){if(e.token)return Dy(e.token,e);let t=`Enter or paste in your Goldsky API token ${ps.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 Dy(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 Wy(e){Nv(),console.log(`${ps.default.bold("Logged out")}. You will need to log in again if you want to run authenticated commands on this computer in future`)}var T5="login",A5="Log in to Goldsky to enable running authenticated CLI commands",j5=e=>e.version(!1),M5=async({apiHost:e,token:t})=>{await Uy({apiHost:e,token:t})};var uf={};jt(uf,{builder:()=>N5,command:()=>R5,describe:()=>I5,handler:()=>L5});var R5="logout",I5="Log out of Goldsky on this computer",N5=e=>e.version(!1),L5=async({apiHost:e})=>{await Wy({apiHost:e})};var Dh={};jt(Dh,{builder:()=>FP,command:()=>qP,describe:()=>BP,handler:()=>DP});var ff={};jt(ff,{builder:()=>B5,command:()=>P5,describe:()=>q5,handler:()=>F5});var zc=me(Jt()),Hy=me(ei()),Yy=me(ni());async function pf(e){let t=(0,Yy.default)("Removing subgraph").start(),[n,i]=await Hy.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 P5="delete <nameAndVersion>",q5="Delete a subgraph from Goldsky",B5=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}),F5=async({apiHost:e,nameAndVersion:t})=>pf({apiHost:e,name:ut(t)[0],v:ut(t)[1]});var Eh={};jt(Eh,{builder:()=>WL,command:()=>zL,describe:()=>UL,handler:()=>HL});var Tn=me(Jt());var fs=me(require("fs")),aa=me(require("path")),Ky=me(ni());async function Gy(e){let t=(0,Ky.default)("Validating build path").start(),n={isValid:!1,buildPath:e};try{let i=await Promise.all([fs.default.promises.stat(aa.default.join(e,"package.json")),fs.default.promises.stat(aa.default.join(e,"build"))]);i[0].isFile()&&i[1].isDirectory()&&(n.buildPath=aa.default.join(e,"build"))}catch(i){}try{await Promise.all([fs.default.promises.stat(aa.default.join(e,"subgraph.yaml")),fs.default.promises.stat(aa.default.join(e,"schema.graphql"))]),n.isValid=!0,t.succeed()}catch(i){t.fail()}return n}var XS=me(lS()),Wn=me(require("fs")),QS=me(require("os")),wi=me(require("path")),Kl=me(VS()),Sh=me(ei()),ao=me(ni()),Oh=me(zp());var JS=3;async function FL(e,t,n){let i=Oh.default.create({}),r=wi.default.join(QS.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 v=d.getIn(g);a.push([v.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,v]of g.items.entries()){c(v,["mapping","file"],`${s++}.wasm`);for(let[h,_]of v.getIn(["mapping","abis"]).items.entries())c(_,["file"],`${s++}.json`)}}await Wn.default.promises.writeFile(wi.default.join(r,"subgraph.yaml"),p.toString());for(let d of a){let g=wi.default.join(r,d[1]);if(!Wn.default.existsSync(g))try{let x=0;for(;x<JS;){let v=await i.get(`${t}/api/v0/cat?arg=${d[0]}`,{responseType:"arraybuffer",validateStatus:h=>h>=200&&h<300||x<JS-1&&h===504});if(v.status===504)++x;else{await Wn.default.promises.writeFile(g,v.data);break}}}catch(x){try{await Wn.default.promises.rm(g)}catch(v){}throw x}u()}return n.prefixText="",r}async function DL(e){let t=new URL(e);return(await Oh.default.create({}).post(e,{query:"{_meta{deployment}}",variables:null},Wh({},t.host==="gateway.thegraph.com"?{headers:{origin:"https://thegraph.com"}}:{}))).data.data._meta.deployment}async function eO(e){console.log(Tn.default.bold("Deploying Subgraph:"));let t=e.path||wi.default.join(process.cwd()),n=e.ipfsHash;if(e.graphql){let u=(0,ao.default)("Getting subgraph deployment metadata").start();try{n=await DL(e.graphql),u.succeed()}catch(l){u.fail(),console.log(),console.log(`${Tn.default.bold("Deployment failed:")} ${Tn.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 FL(n,e.ipfsGateway,u),u.succeed()}catch(l){u.fail(),console.log(),console.log(`${Tn.default.bold("Deployment failed:")} ${Tn.default.red(l.message)}`);return}}let i=await Gy(t);if(!i.isValid){console.log("Deployment failed: This path doesn't point to a subgraph build path");return}let r=await $L(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");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 ${Tn.default.bold("goldsky subgraph list")} to check the status of your deployments.`):(a.fail(),console.log(),console.log(`${Tn.default.bold("Deployment failed:")} ${Tn.default.red(o.message||o.error)}`)),process.exit(1)):(a.succeed(),console.log(),console.log(`${Tn.default.bold("Deployed subgraph API:")} ${e.apiHost}${c.data.subgraph.graphql_endpoint}`))}async function $L(e){let t=(0,ao.default)(`Packaging deployment bundle from ${e}`).start();try{let n=new XS.default;n.generateNodeStream({type:"nodebuffer",streamFiles:!0});let i=await Wn.default.promises.readFile(wi.default.join(e,"subgraph.yaml"),{encoding:"utf8"}),r=Kl.default.parse(i);n.file("subgraph.yaml",i);let a=r.schema.file,s=await Wn.default.promises.readFile(wi.default.join(e,a));n.file(a,s);let o=r.dataSources.concat(r.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 d=await Wn.default.promises.readFile(wi.default.join(e,p));n.file(p,d)}}return t.succeed(),n}catch(n){throw t.fail(),n}}var zL="deploy <nameAndVersion>",UL="Deploy a subgraph to Goldsky",WL=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-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}).conflicts("path",["from-ipfs-hash","from-graphql","from-url"]).conflicts("from-ipfs-hash",["path","from-graphql","from-url"]).conflicts("from-graphql",["path","from-ipfs-hash","from-url"]).conflicts("from-url",["path","from-ipfs-hash","from-graphql"]),HL=async({apiHost:e,nameAndVersion:t,overwrite:n,path:i,fromIpfsHash:r,fromUrl:a,fromGraphql:s,ipfsGateway:o})=>eO({apiHost:e,name:ut(t)[0],overwrite:n,path:i,ipfsHash:r,graphql:a||s,ipfsGateway:o,v:ut(t)[1]});var Ch={};jt(Ch,{builder:()=>GL,command:()=>YL,describe:()=>KL,handler:()=>ZL});var hn=me(Jt()),kh=me(ei()),tO=me(ni());async function nO(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,tO.default)("Fetching subgraphs").start(),[i,r]=await kh.ApiFetch.get(t);if(i)n.fail(`${hn.default.bold("Subgraph listing failed:")} ${hn.default.red(i.message)}`),process.exit(1);else if(n.stop(),r.data.length===0)console.log(hn.default.bold("No subgraphs found."),"Run 'goldsky subgraph deploy --help' for information on deploying a subgraph");else{console.log(hn.default.bold("Subgraphs"));for(let o of r.data)if(o.tag?o.tag.target_version?console.log(hn.default.bold(`* ${o.name}/${o.version} -> ${o.name}/${o.tag.target_version}`)):console.log(hn.default.bold(`* ${o.name}/${o.version} -> [no target]`)):console.log(hn.default.bold(`* ${o.name}/${o.version}`)),!e.summary&&o.deployments.length){let c=o.deployments[0];console.log(" ","GraphQL API:",kh.ApiFetch.getPath(o.graphql_endpoint,{})),console.log(" ","Created:",new Date(c.created_at*1e3).toLocaleString()),console.log(" ","Status:",`${hn.default[c.health==="healthy"?"green":"red"](c.health)}`),c.fatal_error&&console.log(" ","Fatal error:",hn.default.red(c.fatal_error.replace(/\t/g,`\r
|
|
261
|
+
`))),console.log(" ","Synced:",`${c.synced?hn.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 YL="list [nameAndVersion]",KL="View deployed subgraphs and tags",GL=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"),ZL=async({apiHost:e,summary:t,filter:n,nameAndVersion:i})=>nO({apiHost:e,summary:t,filter:n,name:i?ut(i)[0]:void 0,v:i?ut(i)[1]:void 0});var Rh={};jt(Rh,{builder:()=>sP,command:()=>rP,describe:()=>aP,handler:()=>oP});var jh={};jt(jh,{builder:()=>XL,command:()=>VL,describe:()=>JL,handler:()=>QL});var _i=me(Jt()),Th=me(ei()),Ah=me(ni());async function Gl(e){let t=n=>`/api/admin/subgraph/v1/subgraphs/${n.name}/tags/${n.version_label}`;if(e.remove){let n=(0,Ah.default)("Removing tag").start(),[i,r]=await Th.ApiFetch.delete_(t,{params:{name:e.name,version_label:e.v}});i?n.fail(`${_i.default.bold("Tag removal failed:")} ${_i.default.red(i.message)}`):n.succeed(`${_i.default.bold("Removed tag:")} ${t({name:e.name,version_label:e.v})}`)}else{let n=(0,Ah.default)("Tagging subgraph").start(),[i,r]=await Th.ApiFetch.put(t,{params:{name:e.name,version_label:e.v},body:{target_version:e.t}});i?(n.fail(`${_i.default.bold("Tagging failed:")} ${_i.default.red(i.message)}`),process.exit(1)):(n.succeed(`${_i.default.bold("Tagged subgraph:")}
|
|
255
262
|
${t({name:e.name,version_label:e.v})} ->
|
|
256
|
-
${e.t?t({name:e.name,version_label:e.t}):"null"}`),r.data.subgraph.deployments.length&&console.log(`${
|
|
263
|
+
${e.t?t({name:e.name,version_label:e.t}):"null"}`),r.data.subgraph.deployments.length&&console.log(`${_i.default.bold("GraphQL API:")} ${e.apiHost}${r.data.subgraph.graphql_endpoint}`))}}var VL="create <nameAndVersion>",JL="Create a new tag",XL=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}),QL=async({apiHost:e,nameAndVersion:t,tag:n})=>{await Gl({apiHost:e,name:ut(t)[0],remove:!1,v:n,t:ut(t)[1]})};var Mh={};jt(Mh,{builder:()=>nP,command:()=>eP,describe:()=>tP,handler:()=>iP});var eP="delete <nameAndVersion>",tP="Delete a tag",nP=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}),iP=async({apiHost:e,nameAndVersion:t,tag:n})=>{await Gl({apiHost:e,name:ut(t)[0],remove:!0,v:n})};var rP="tag",aP="Commands related to tags",sP=e=>e.command(jh).command(Mh),oP=async()=>{};var Fh={};jt(Fh,{builder:()=>LP,command:()=>IP,describe:()=>NP,handler:()=>PP});var FO=me(Jt());var Ph={};jt(Ph,{builder:()=>SP,command:()=>wP,describe:()=>_P,handler:()=>OP});var PO=me(Jt());var Zl=me(ei()),Vl=me(ni()),mn=me(Jt()),RO=me(MO());async function IO(e){let t=(0,Vl.default)("Creating webhook").start(),[n,i]=await Zl.ApiFetch.post(r=>`/api/admin/subgraph/v1/webhooks/${r.subgraphName}/${r.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(`${mn.default.bold("Webhook creation failed:")} ${mn.default.red(n.message)}`),process.exit(1)):(t.succeed(),console.log(),console.log(`Webhook '${mn.default.bold(i.data.name)}' created.`),console.log(`Make sure calls to your endpoint have the following value for the 'goldsky-webhook-secret' header: ${mn.default.bold(`${i.data.webhookSecret}`)}`))}async function NO(e){let t=(0,Vl.default)("Deleting webhook").start(),[n]=await Zl.ApiFetch.delete_(i=>`/api/admin/subgraph/v1/webhooks/${i.name}`,{params:{name:e.name}});n?(t.fail(),console.log(),console.log(`${mn.default.bold("Webhook deletion failed:")} ${mn.default.red(n.message)}`),process.exit(1)):(t.succeed(),console.log(),console.log(`Webhook '${mn.default.bold(e.name)}' deleted.`))}async function LO(){let e=(0,Vl.default)("Listing webhooks").start(),t="/api/admin/subgraph/v1/webhooks",[n,i]=await Zl.ApiFetch.get(t);if(n)e.fail(),console.log(),console.log(`${mn.default.bold("Could not list webhooks:")} ${mn.default.red(n.message)}`),process.exit(1);else if(e.succeed(),console.log(),i.data.length>0){let r=new RO.default({head:["Subgraph Name","Subgraph Version","Webhook Name","Entity","URL"],style:{head:["green"]}});i.data.map(a=>{r.push([a.subgraphName,a.subgraphVersion,a.name,a.entity,a.webhookUrl])}),console.log(r.toString())}else console.log(`No webhooks found. Create one with ${mn.default.bold("goldsky subgraph webhook create")}.`)}var wP="create <nameAndVersion>",_P=`${PO.default.red("[BETA]")} commands related to webhooks`,SP=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}),OP=async({entity:e,name:t,nameAndVersion:n,url:i})=>{await IO({name:t,subgraphName:ut(n)[0],subgraphVersion:ut(n)[1],webhookUrl:i,entity:e})};var qh={};jt(qh,{builder:()=>CP,command:()=>EP,describe:()=>kP,handler:()=>TP});var qO=me(Jt());var EP="delete",kP=`${qO.default.red("[BETA]")} Delete a webhook`,CP=e=>e.option("name",{describe:"Name of the webhook to delete",type:"string",demandOption:!0}),TP=async({apiHost:e,name:t})=>{await NO({name:t})};var Bh={};jt(Bh,{builder:()=>MP,command:()=>AP,describe:()=>jP,handler:()=>RP});var BO=me(Jt());var AP="list",jP=`${BO.default.red("[BETA]")} List webhooks`,MP=e=>e,RP=async({apiHost:e})=>{await LO()};var IP="webhook",NP=`${FO.default.red("[BETA]")} Commands related to webhooks`,LP=e=>e.command(Ph).command(qh).command(Bh),PP=async()=>{};var qP="subgraph",BP="commands related to subgraphs",FP=e=>e.command(Eh).command(Ch).command(ff).command(Rh).command(Fh).version(!1),DP=async()=>{};var Xl=me(Jt());var Jl={name:"@goldskycom/cli",version:"0.2.11",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 DO=async()=>{(await Function('return import("update-notifier")')()).default({pkg:Jl}).notify({message:`\u{1F389} A new version of the Goldsky CLI is available \u{1F389}
|
|
257
264
|
|
|
258
|
-
Run {updateCommand} to update (${
|
|
265
|
+
Run {updateCommand} to update (${Xl.default.dim("{currentVersion}")}${Xl.default.reset(" \u2192 ")}${Xl.default.green("{latestVersion}")})`})};var zP=e=>["subgraph list","subgraph tag delete"].includes(e),UP=su(process.argv);DO().then(Rv).then(()=>{Gm(UP).scriptName("goldsky").usage("$0 <cmd> args").check(e=>{if(e.nameAndVersion&&!zP(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:Ql.API_URL,hidden:!0}).option("token",{describe:"CLI Auth Token",type:"string",default:""}).command(lf).command(uf).command(Dh).version(Jl.version).alias("v","version").alias("h","help").strict().demandCommand(1).middleware([e=>{Ql.ApiFetch.setApiHost(e.apiHost),e.token&&es(e.token)}]).showHelpOnFail(!0).argv});
|
|
259
266
|
/*!
|
|
260
267
|
* mime-db
|
|
261
268
|
* Copyright(c) 2014 Jonathan Ong
|