@fern-api/swift-dynamic-snippets 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/DynamicSnippetsGenerator.cjs +19 -1
- package/cjs/DynamicSnippetsGenerator.cjs.map +1 -1
- package/cjs/EndpointSnippetGenerator.cjs +30 -1
- package/cjs/EndpointSnippetGenerator.cjs.map +1 -1
- package/cjs/context/DynamicSnippetsGeneratorContext.cjs +19 -1
- package/cjs/context/DynamicSnippetsGeneratorContext.cjs.map +1 -1
- package/cjs/context/DynamicTypeLiteralMapper.cjs +19 -1
- package/cjs/context/DynamicTypeLiteralMapper.cjs.map +1 -1
- package/cjs/context/DynamicTypeMapper.cjs +19 -1
- package/cjs/context/DynamicTypeMapper.cjs.map +1 -1
- package/cjs/context/FilePropertyMapper.cjs +30 -1
- package/cjs/context/FilePropertyMapper.cjs.map +1 -1
- package/cjs/context/index.cjs +19 -1
- package/cjs/context/index.cjs.map +1 -1
- package/cjs/index.cjs +29 -11
- package/cjs/index.cjs.map +1 -1
- package/esm/Config.js +1 -1
- package/esm/DynamicSnippetsGenerator.js +1 -1
- package/esm/EndpointSnippetGenerator.js +1 -1
- package/esm/{chunk-4YR7VIA5.js → chunk-2M2RBZK2.js} +2 -2
- package/esm/chunk-6DFEQNIA.js +2 -0
- package/esm/{chunk-NEAKFXXW.js.map → chunk-6DFEQNIA.js.map} +1 -1
- package/esm/chunk-7RC2HH3P.js +2 -0
- package/esm/{chunk-JBDWOK23.js.map → chunk-7RC2HH3P.js.map} +1 -1
- package/esm/chunk-FX6IFKZ7.js +2 -0
- package/esm/chunk-HTU5V5TT.js +2 -0
- package/esm/chunk-IHG2VZKL.js +2 -0
- package/esm/chunk-IHG2VZKL.js.map +1 -0
- package/esm/chunk-JFTYS7SI.js +20 -0
- package/esm/chunk-JFTYS7SI.js.map +1 -0
- package/esm/chunk-KIHSBETU.js +2 -0
- package/esm/{chunk-QKXS634U.js.map → chunk-KIHSBETU.js.map} +1 -1
- package/esm/chunk-PJTPV2D6.js +15 -0
- package/esm/chunk-PJTPV2D6.js.map +1 -0
- package/esm/{chunk-PKOEJ7HU.js → chunk-PYMG6Y4R.js} +2 -2
- package/esm/{chunk-P4BOVZKM.js → chunk-WG3NZOM6.js} +2 -2
- package/esm/chunk-WXHVUJ6D.js +2 -0
- package/esm/{chunk-T6A4SG7G.js.map → chunk-WXHVUJ6D.js.map} +1 -1
- package/esm/chunk-ZIQ5ITTV.js +2 -0
- package/esm/{chunk-F6NGJ242.js.map → chunk-ZIQ5ITTV.js.map} +1 -1
- package/esm/context/DynamicSnippetsGeneratorContext.js +1 -1
- package/esm/context/DynamicTypeLiteralMapper.js +1 -1
- package/esm/context/DynamicTypeMapper.js +1 -1
- package/esm/context/FilePropertyMapper.js +1 -1
- package/esm/context/index.js +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/esm/util/pascal-case.js +1 -1
- package/package.json +1 -1
- package/esm/chunk-243PMR4C.js +0 -2
- package/esm/chunk-7GLUP3NF.js +0 -2
- package/esm/chunk-7GLUP3NF.js.map +0 -1
- package/esm/chunk-BGT34OGK.js +0 -15
- package/esm/chunk-BGT34OGK.js.map +0 -1
- package/esm/chunk-F6NGJ242.js +0 -2
- package/esm/chunk-JBDWOK23.js +0 -2
- package/esm/chunk-NEAKFXXW.js +0 -2
- package/esm/chunk-NH2Q3QVN.js +0 -2
- package/esm/chunk-QKXS634U.js +0 -2
- package/esm/chunk-T6A4SG7G.js +0 -2
- /package/esm/{chunk-4YR7VIA5.js.map → chunk-2M2RBZK2.js.map} +0 -0
- /package/esm/{chunk-NH2Q3QVN.js.map → chunk-FX6IFKZ7.js.map} +0 -0
- /package/esm/{chunk-243PMR4C.js.map → chunk-HTU5V5TT.js.map} +0 -0
- /package/esm/{chunk-PKOEJ7HU.js.map → chunk-PYMG6Y4R.js.map} +0 -0
- /package/esm/{chunk-P4BOVZKM.js.map → chunk-WG3NZOM6.js.map} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as p}from"./chunk-IHG2VZKL.js";import{a as r,f as t}from"./chunk-JFTYS7SI.js";import{j as c,l as a,n as i}from"./chunk-PYMG6Y4R.js";a();i();var s=class{constructor({context:e}){c(this,"context");this.context=e}convert(e){switch(e.typeReference.type){case"list":return t.Type.array(this.convert({typeReference:e.typeReference.value}));case"literal":return this.convertLiteral({literal:e.typeReference.value});case"map":return t.Type.dictionary(this.convert({typeReference:e.typeReference.key}),this.convert({typeReference:e.typeReference.value}));case"named":{let n=this.context.resolveNamedType({typeId:e.typeReference.value});return n==null?this.convertUnknown():this.convertNamed({named:n})}case"optional":return t.Type.optional(this.convert({typeReference:e.typeReference.value}));case"nullable":return t.Type.nullable(this.convert({typeReference:e.typeReference.value}));case"primitive":return this.convertPrimitive({primitive:e.typeReference.value});case"set":return t.Type.jsonValue();case"unknown":return this.convertUnknown();default:r(e.typeReference)}}convertNamed({named:e}){switch(e.type){case"alias":return this.convert({typeReference:e.typeReference});case"enum":case"discriminatedUnion":case"object":case"undiscriminatedUnion":return t.Type.custom(e.declaration.name.pascalCase.unsafeName);default:r(e)}}convertLiteral({literal:e}){switch(e.type){case"boolean":return t.Type.bool();case"string":return t.Type.custom(p(e.value))}}convertUnknown(){return t.Type.jsonValue()}convertPrimitive({primitive:e}){switch(e){case"INTEGER":return t.Type.int();case"UINT":return t.Type.int();case"LONG":return t.Type.int64();case"UINT_64":return t.Type.uint64();case"FLOAT":return t.Type.float();case"DOUBLE":return t.Type.double();case"BOOLEAN":return t.Type.bool();case"STRING":return t.Type.string();case"DATE":return t.Type.date();case"DATE_TIME":return t.Type.date();case"UUID":return t.Type.uuid();case"BASE_64":return t.Type.string();case"BIG_INTEGER":return t.Type.string();default:r(e)}}};export{s as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZIQ5ITTV.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/context/DynamicTypeMapper.ts"],"sourcesContent":["import { assertNever } from \"@fern-api/core-utils\";\nimport { FernIr } from \"@fern-api/dynamic-ir-sdk\";\nimport { swift } from \"@fern-api/swift-codegen\";\n\nimport { pascalCase } from \"../util/pascal-case\";\nimport { DynamicSnippetsGeneratorContext } from \"./DynamicSnippetsGeneratorContext\";\n\nexport declare namespace DynamicTypeMapper {\n interface Args {\n typeReference: FernIr.dynamic.TypeReference;\n }\n}\n\nexport class DynamicTypeMapper {\n private context: DynamicSnippetsGeneratorContext;\n\n constructor({ context }: { context: DynamicSnippetsGeneratorContext }) {\n this.context = context;\n }\n\n public convert(args: DynamicTypeMapper.Args): swift.Type {\n switch (args.typeReference.type) {\n case \"list\":\n return swift.Type.array(this.convert({ typeReference: args.typeReference.value }));\n case \"literal\":\n return this.convertLiteral({ literal: args.typeReference.value });\n case \"map\": {\n return swift.Type.dictionary(\n this.convert({ typeReference: args.typeReference.key }),\n this.convert({ typeReference: args.typeReference.value })\n );\n }\n case \"named\": {\n const named = this.context.resolveNamedType({ typeId: args.typeReference.value });\n if (named == null) {\n return this.convertUnknown();\n }\n return this.convertNamed({ named });\n }\n case \"optional\":\n return swift.Type.optional(this.convert({ typeReference: args.typeReference.value }));\n case \"nullable\":\n return swift.Type.nullable(this.convert({ typeReference: args.typeReference.value }));\n case \"primitive\":\n return this.convertPrimitive({ primitive: args.typeReference.value });\n case \"set\":\n return swift.Type.jsonValue();\n case \"unknown\":\n return this.convertUnknown();\n default:\n assertNever(args.typeReference);\n }\n }\n\n private convertNamed({ named }: { named: FernIr.dynamic.NamedType }): swift.Type {\n switch (named.type) {\n case \"alias\":\n return this.convert({ typeReference: named.typeReference });\n case \"enum\":\n case \"discriminatedUnion\":\n case \"object\":\n case \"undiscriminatedUnion\":\n return swift.Type.custom(named.declaration.name.pascalCase.unsafeName);\n default:\n assertNever(named);\n }\n }\n\n private convertLiteral({ literal }: { literal: FernIr.dynamic.LiteralType }): swift.Type {\n switch (literal.type) {\n case \"boolean\":\n return swift.Type.bool();\n case \"string\":\n return swift.Type.custom(pascalCase(literal.value));\n }\n }\n\n private convertUnknown(): swift.Type {\n return swift.Type.jsonValue();\n }\n\n private convertPrimitive({ primitive }: { primitive: FernIr.PrimitiveTypeV1 }): swift.Type {\n switch (primitive) {\n case \"INTEGER\":\n return swift.Type.int();\n case \"UINT\":\n return swift.Type.int();\n case \"LONG\":\n return swift.Type.int64();\n case \"UINT_64\":\n return swift.Type.uint64();\n case \"FLOAT\":\n return swift.Type.float();\n case \"DOUBLE\":\n return swift.Type.double();\n case \"BOOLEAN\":\n return swift.Type.bool();\n case \"STRING\":\n return swift.Type.string();\n case \"DATE\":\n return swift.Type.date();\n case \"DATE_TIME\":\n return swift.Type.date();\n case \"UUID\":\n return swift.Type.uuid();\n case \"BASE_64\":\n return swift.Type.string();\n case \"BIG_INTEGER\":\n return swift.Type.string();\n default:\n assertNever(primitive);\n }\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/context/DynamicTypeMapper.ts"],"sourcesContent":["import { assertNever } from \"@fern-api/core-utils\";\nimport { FernIr } from \"@fern-api/dynamic-ir-sdk\";\nimport { swift } from \"@fern-api/swift-codegen\";\n\nimport { pascalCase } from \"../util/pascal-case\";\nimport { DynamicSnippetsGeneratorContext } from \"./DynamicSnippetsGeneratorContext\";\n\nexport declare namespace DynamicTypeMapper {\n interface Args {\n typeReference: FernIr.dynamic.TypeReference;\n }\n}\n\nexport class DynamicTypeMapper {\n private context: DynamicSnippetsGeneratorContext;\n\n constructor({ context }: { context: DynamicSnippetsGeneratorContext }) {\n this.context = context;\n }\n\n public convert(args: DynamicTypeMapper.Args): swift.Type {\n switch (args.typeReference.type) {\n case \"list\":\n return swift.Type.array(this.convert({ typeReference: args.typeReference.value }));\n case \"literal\":\n return this.convertLiteral({ literal: args.typeReference.value });\n case \"map\": {\n return swift.Type.dictionary(\n this.convert({ typeReference: args.typeReference.key }),\n this.convert({ typeReference: args.typeReference.value })\n );\n }\n case \"named\": {\n const named = this.context.resolveNamedType({ typeId: args.typeReference.value });\n if (named == null) {\n return this.convertUnknown();\n }\n return this.convertNamed({ named });\n }\n case \"optional\":\n return swift.Type.optional(this.convert({ typeReference: args.typeReference.value }));\n case \"nullable\":\n return swift.Type.nullable(this.convert({ typeReference: args.typeReference.value }));\n case \"primitive\":\n return this.convertPrimitive({ primitive: args.typeReference.value });\n case \"set\":\n return swift.Type.jsonValue();\n case \"unknown\":\n return this.convertUnknown();\n default:\n assertNever(args.typeReference);\n }\n }\n\n private convertNamed({ named }: { named: FernIr.dynamic.NamedType }): swift.Type {\n switch (named.type) {\n case \"alias\":\n return this.convert({ typeReference: named.typeReference });\n case \"enum\":\n case \"discriminatedUnion\":\n case \"object\":\n case \"undiscriminatedUnion\":\n return swift.Type.custom(named.declaration.name.pascalCase.unsafeName);\n default:\n assertNever(named);\n }\n }\n\n private convertLiteral({ literal }: { literal: FernIr.dynamic.LiteralType }): swift.Type {\n switch (literal.type) {\n case \"boolean\":\n return swift.Type.bool();\n case \"string\":\n return swift.Type.custom(pascalCase(literal.value));\n }\n }\n\n private convertUnknown(): swift.Type {\n return swift.Type.jsonValue();\n }\n\n private convertPrimitive({ primitive }: { primitive: FernIr.PrimitiveTypeV1 }): swift.Type {\n switch (primitive) {\n case \"INTEGER\":\n return swift.Type.int();\n case \"UINT\":\n return swift.Type.int();\n case \"LONG\":\n return swift.Type.int64();\n case \"UINT_64\":\n return swift.Type.uint64();\n case \"FLOAT\":\n return swift.Type.float();\n case \"DOUBLE\":\n return swift.Type.double();\n case \"BOOLEAN\":\n return swift.Type.bool();\n case \"STRING\":\n return swift.Type.string();\n case \"DATE\":\n return swift.Type.date();\n case \"DATE_TIME\":\n return swift.Type.date();\n case \"UUID\":\n return swift.Type.uuid();\n case \"BASE_64\":\n return swift.Type.string();\n case \"BIG_INTEGER\":\n return swift.Type.string();\n default:\n assertNever(primitive);\n }\n }\n}\n"],"mappings":"6IAAAA,IAAAC,IAaO,IAAMC,EAAN,KAAwB,CAG3B,YAAY,CAAE,QAAAC,CAAQ,EAAiD,CAFvEC,EAAA,KAAQ,WAGJ,KAAK,QAAUD,CACnB,CAEO,QAAQE,EAA0C,CACrD,OAAQA,EAAK,cAAc,KAAM,CAC7B,IAAK,OACD,OAAOC,EAAM,KAAK,MAAM,KAAK,QAAQ,CAAE,cAAeD,EAAK,cAAc,KAAM,CAAC,CAAC,EACrF,IAAK,UACD,OAAO,KAAK,eAAe,CAAE,QAASA,EAAK,cAAc,KAAM,CAAC,EACpE,IAAK,MACD,OAAOC,EAAM,KAAK,WACd,KAAK,QAAQ,CAAE,cAAeD,EAAK,cAAc,GAAI,CAAC,EACtD,KAAK,QAAQ,CAAE,cAAeA,EAAK,cAAc,KAAM,CAAC,CAC5D,EAEJ,IAAK,QAAS,CACV,IAAME,EAAQ,KAAK,QAAQ,iBAAiB,CAAE,OAAQF,EAAK,cAAc,KAAM,CAAC,EAChF,OAAIE,GAAS,KACF,KAAK,eAAe,EAExB,KAAK,aAAa,CAAE,MAAAA,CAAM,CAAC,CACtC,CACA,IAAK,WACD,OAAOD,EAAM,KAAK,SAAS,KAAK,QAAQ,CAAE,cAAeD,EAAK,cAAc,KAAM,CAAC,CAAC,EACxF,IAAK,WACD,OAAOC,EAAM,KAAK,SAAS,KAAK,QAAQ,CAAE,cAAeD,EAAK,cAAc,KAAM,CAAC,CAAC,EACxF,IAAK,YACD,OAAO,KAAK,iBAAiB,CAAE,UAAWA,EAAK,cAAc,KAAM,CAAC,EACxE,IAAK,MACD,OAAOC,EAAM,KAAK,UAAU,EAChC,IAAK,UACD,OAAO,KAAK,eAAe,EAC/B,QACIE,EAAYH,EAAK,aAAa,CACtC,CACJ,CAEQ,aAAa,CAAE,MAAAE,CAAM,EAAoD,CAC7E,OAAQA,EAAM,KAAM,CAChB,IAAK,QACD,OAAO,KAAK,QAAQ,CAAE,cAAeA,EAAM,aAAc,CAAC,EAC9D,IAAK,OACL,IAAK,qBACL,IAAK,SACL,IAAK,uBACD,OAAOD,EAAM,KAAK,OAAOC,EAAM,YAAY,KAAK,WAAW,UAAU,EACzE,QACIC,EAAYD,CAAK,CACzB,CACJ,CAEQ,eAAe,CAAE,QAAAE,CAAQ,EAAwD,CACrF,OAAQA,EAAQ,KAAM,CAClB,IAAK,UACD,OAAOH,EAAM,KAAK,KAAK,EAC3B,IAAK,SACD,OAAOA,EAAM,KAAK,OAAOI,EAAWD,EAAQ,KAAK,CAAC,CAC1D,CACJ,CAEQ,gBAA6B,CACjC,OAAOH,EAAM,KAAK,UAAU,CAChC,CAEQ,iBAAiB,CAAE,UAAAK,CAAU,EAAsD,CACvF,OAAQA,EAAW,CACf,IAAK,UACD,OAAOL,EAAM,KAAK,IAAI,EAC1B,IAAK,OACD,OAAOA,EAAM,KAAK,IAAI,EAC1B,IAAK,OACD,OAAOA,EAAM,KAAK,MAAM,EAC5B,IAAK,UACD,OAAOA,EAAM,KAAK,OAAO,EAC7B,IAAK,QACD,OAAOA,EAAM,KAAK,MAAM,EAC5B,IAAK,SACD,OAAOA,EAAM,KAAK,OAAO,EAC7B,IAAK,UACD,OAAOA,EAAM,KAAK,KAAK,EAC3B,IAAK,SACD,OAAOA,EAAM,KAAK,OAAO,EAC7B,IAAK,OACD,OAAOA,EAAM,KAAK,KAAK,EAC3B,IAAK,YACD,OAAOA,EAAM,KAAK,KAAK,EAC3B,IAAK,OACD,OAAOA,EAAM,KAAK,KAAK,EAC3B,IAAK,UACD,OAAOA,EAAM,KAAK,OAAO,EAC7B,IAAK,cACD,OAAOA,EAAM,KAAK,OAAO,EAC7B,QACIE,EAAYG,CAAS,CAC7B,CACJ,CACJ","names":["init_process","init_buffer","DynamicTypeMapper","context","__publicField","args","swift_exports","named","assertNever","literal","pascalCase","primitive"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-7RC2HH3P.js";import"../chunk-6DFEQNIA.js";import"../chunk-2M2RBZK2.js";import"../chunk-ZIQ5ITTV.js";import"../chunk-IHG2VZKL.js";import"../chunk-KIHSBETU.js";import"../chunk-JFTYS7SI.js";import"../chunk-PJTPV2D6.js";import"../chunk-PYMG6Y4R.js";export{a as DynamicSnippetsGeneratorContext};
|
|
2
2
|
//# sourceMappingURL=DynamicSnippetsGeneratorContext.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-6DFEQNIA.js";import"../chunk-2M2RBZK2.js";import"../chunk-ZIQ5ITTV.js";import"../chunk-IHG2VZKL.js";import"../chunk-JFTYS7SI.js";import"../chunk-PJTPV2D6.js";import"../chunk-PYMG6Y4R.js";export{a as DynamicTypeLiteralMapper};
|
|
2
2
|
//# sourceMappingURL=DynamicTypeLiteralMapper.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-ZIQ5ITTV.js";import"../chunk-IHG2VZKL.js";import"../chunk-JFTYS7SI.js";import"../chunk-PJTPV2D6.js";import"../chunk-PYMG6Y4R.js";export{a as DynamicTypeMapper};
|
|
2
2
|
//# sourceMappingURL=DynamicTypeMapper.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-KIHSBETU.js";import"../chunk-JFTYS7SI.js";import"../chunk-PJTPV2D6.js";import"../chunk-PYMG6Y4R.js";export{a as FilePropertyMapper};
|
|
2
2
|
//# sourceMappingURL=FilePropertyMapper.js.map
|
package/esm/context/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunk-
|
|
1
|
+
import"../chunk-HTU5V5TT.js";import{a as b}from"../chunk-7RC2HH3P.js";import"../chunk-6DFEQNIA.js";import"../chunk-2M2RBZK2.js";import"../chunk-ZIQ5ITTV.js";import"../chunk-IHG2VZKL.js";import{a}from"../chunk-KIHSBETU.js";import"../chunk-JFTYS7SI.js";import"../chunk-PJTPV2D6.js";import"../chunk-PYMG6Y4R.js";export{b as DynamicSnippetsGeneratorContext,a as FilePropertyMapper};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./chunk-NH2Q3QVN.js";import{a as Ca}from"./chunk-P4BOVZKM.js";import"./chunk-243PMR4C.js";import{a as Ma}from"./chunk-T6A4SG7G.js";import"./chunk-JBDWOK23.js";import"./chunk-NEAKFXXW.js";import"./chunk-4YR7VIA5.js";import"./chunk-F6NGJ242.js";import"./chunk-BGT34OGK.js";import"./chunk-QKXS634U.js";import"./chunk-7GLUP3NF.js";import{e as le,f as p,g as Na,h as _a,i as Ba,k as o,l as s,m as i}from"./chunk-PKOEJ7HU.js";var pe=p((up,Ot)=>{"use strict";o();i();Ot.exports=Object});var xt=p((lp,qt)=>{"use strict";o();i();qt.exports=Error});var Pt=p((yp,$t)=>{"use strict";o();i();$t.exports=EvalError});var Tt=p((dp,Et)=>{"use strict";o();i();Et.exports=RangeError});var Ft=p((Sp,It)=>{"use strict";o();i();It.exports=ReferenceError});var ce=p((Ap,Rt)=>{"use strict";o();i();Rt.exports=SyntaxError});var b=p((xp,Dt)=>{"use strict";o();i();Dt.exports=TypeError});var _t=p((Ep,Nt)=>{"use strict";o();i();Nt.exports=URIError});var ye=p((Fp,Bt)=>{"use strict";o();i();Bt.exports=Math.abs});var ve=p((Np,Mt)=>{"use strict";o();i();Mt.exports=Math.floor});var Ut=p((Mp,Ct)=>{"use strict";o();i();Ct.exports=Math.max});var ge=p((Wp,Wt)=>{"use strict";o();i();Wt.exports=Math.min});var Gt=p((kp,Lt)=>{"use strict";o();i();Lt.exports=Math.pow});var zt=p((Hp,kt)=>{"use strict";o();i();kt.exports=Math.round});var Pr=p((Qp,jt)=>{"use strict";o();i();jt.exports=Number.isNaN||function(r){return r!==r}});var Jt=p((Zp,Ht)=>{"use strict";o();i();var Ua=Pr();Ht.exports=function(r){return Ua(r)||r===0?r:r<0?-1:1}});var Qt=p((ec,Kt)=>{"use strict";o();i();Kt.exports=Object.getOwnPropertyDescriptor});var K=p((oc,Yt)=>{"use strict";o();i();var Er=Qt();if(Er)try{Er([],"length")}catch(e){Er=null}Yt.exports=Er});var ur=p((uc,Xt)=>{"use strict";o();i();var Tr=Object.defineProperty||!1;if(Tr)try{Tr({},"a",{value:1})}catch(e){Tr=!1}Xt.exports=Tr});var de=p((lc,Zt)=>{"use strict";o();i();Zt.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;r[t]=a;for(var u in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var f=Object.getOwnPropertySymbols(r);if(f.length!==1||f[0]!==t||!Object.prototype.propertyIsEnumerable.call(r,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var y=Object.getOwnPropertyDescriptor(r,t);if(y.value!==a||y.enumerable!==!0)return!1}return!0}});var he=p((yc,rn)=>{"use strict";o();i();var Vt=typeof Symbol!="undefined"&&Symbol,Wa=de();rn.exports=function(){return typeof Vt!="function"||typeof Symbol!="function"||typeof Vt("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Wa()}});var me=p((dc,en)=>{"use strict";o();i();en.exports=typeof Reflect!="undefined"&&Reflect.getPrototypeOf||null});var Se=p((Sc,tn)=>{"use strict";o();i();var La=pe();tn.exports=La.getPrototypeOf||null});var an=p((Ac,on)=>{"use strict";o();i();var Ga="Function.prototype.bind called on incompatible ",ka=Object.prototype.toString,za=Math.max,ja="[object Function]",nn=function(r,t){for(var n=[],a=0;a<r.length;a+=1)n[a]=r[a];for(var u=0;u<t.length;u+=1)n[u+r.length]=t[u];return n},Ha=function(r,t){for(var n=[],a=t||0,u=0;a<r.length;a+=1,u+=1)n[u]=r[a];return n},Ja=function(e,r){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=r);return t};on.exports=function(r){var t=this;if(typeof t!="function"||ka.apply(t)!==ja)throw new TypeError(Ga+t);for(var n=Ha(arguments,1),a,u=function(){if(this instanceof a){var g=t.apply(this,nn(n,arguments));return Object(g)===g?g:this}return t.apply(r,nn(n,arguments))},f=za(0,t.length-n.length),y=[],c=0;c<f;c++)y[c]="$"+c;if(a=Function("binder","return function ("+Ja(y,",")+"){ return binder.apply(this,arguments); }")(u),t.prototype){var m=function(){};m.prototype=t.prototype,a.prototype=new m,m.prototype=null}return a}});var Q=p((xc,un)=>{"use strict";o();i();var Ka=an();un.exports=Function.prototype.bind||Ka});var Ir=p((Ec,sn)=>{"use strict";o();i();sn.exports=Function.prototype.call});var Fr=p((Fc,fn)=>{"use strict";o();i();fn.exports=Function.prototype.apply});var pn=p((Nc,ln)=>{"use strict";o();i();ln.exports=typeof Reflect!="undefined"&&Reflect&&Reflect.apply});var be=p((Mc,cn)=>{"use strict";o();i();var Qa=Q(),Ya=Fr(),Xa=Ir(),Za=pn();cn.exports=Za||Qa.call(Xa,Ya)});var Rr=p((Wc,yn)=>{"use strict";o();i();var Va=Q(),ru=b(),eu=Ir(),tu=be();yn.exports=function(r){if(r.length<1||typeof r[0]!="function")throw new ru("a function is required");return tu(Va,eu,r)}});var Sn=p((kc,mn)=>{"use strict";o();i();var nu=Rr(),vn=K(),dn;try{dn=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var we=!!dn&&vn&&vn(Object.prototype,"__proto__"),hn=Object,gn=hn.getPrototypeOf;mn.exports=we&&typeof we.get=="function"?nu([we.get]):typeof gn=="function"?function(r){return gn(r==null?r:hn(r))}:!1});var qn=p((Hc,On)=>{"use strict";o();i();var bn=me(),wn=Se(),An=Sn();On.exports=bn?function(r){return bn(r)}:wn?function(r){if(!r||typeof r!="object"&&typeof r!="function")throw new TypeError("getProto: not an object");return wn(r)}:An?function(r){return An(r)}:null});var Ae=p((Qc,xn)=>{"use strict";o();i();var ou=Function.prototype.call,iu=Object.prototype.hasOwnProperty,au=Q();xn.exports=au.call(ou,iu)});var $=p((Zc,Fn)=>{"use strict";o();i();var d,uu=pe(),su=xt(),fu=Pt(),lu=Tt(),pu=Ft(),V=ce(),Z=b(),cu=_t(),yu=ye(),vu=ve(),gu=Ut(),du=ge(),hu=Gt(),mu=zt(),Su=Jt(),Tn=Function,Oe=function(e){try{return Tn('"use strict"; return ('+e+").constructor;")()}catch(r){}},sr=K(),bu=ur(),qe=function(){throw new Z},wu=sr?(function(){try{return arguments.callee,qe}catch(e){try{return sr(arguments,"callee").get}catch(r){return qe}}})():qe,Y=he()(),w=qn(),Au=Se(),Ou=me(),In=Fr(),fr=Ir(),X={},qu=typeof Uint8Array=="undefined"||!w?d:w(Uint8Array),L={__proto__:null,"%AggregateError%":typeof AggregateError=="undefined"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?d:ArrayBuffer,"%ArrayIteratorPrototype%":Y&&w?w([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":X,"%AsyncGenerator%":X,"%AsyncGeneratorFunction%":X,"%AsyncIteratorPrototype%":X,"%Atomics%":typeof Atomics=="undefined"?d:Atomics,"%BigInt%":typeof BigInt=="undefined"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":su,"%eval%":eval,"%EvalError%":fu,"%Float16Array%":typeof Float16Array=="undefined"?d:Float16Array,"%Float32Array%":typeof Float32Array=="undefined"?d:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?d:FinalizationRegistry,"%Function%":Tn,"%GeneratorFunction%":X,"%Int8Array%":typeof Int8Array=="undefined"?d:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?d:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Y&&w?w(w([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map=="undefined"?d:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!Y||!w?d:w(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":uu,"%Object.getOwnPropertyDescriptor%":sr,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?d:Promise,"%Proxy%":typeof Proxy=="undefined"?d:Proxy,"%RangeError%":lu,"%ReferenceError%":pu,"%Reflect%":typeof Reflect=="undefined"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?d:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!Y||!w?d:w(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Y&&w?w(""[Symbol.iterator]()):d,"%Symbol%":Y?Symbol:d,"%SyntaxError%":V,"%ThrowTypeError%":wu,"%TypedArray%":qu,"%TypeError%":Z,"%Uint8Array%":typeof Uint8Array=="undefined"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?d:Uint32Array,"%URIError%":cu,"%WeakMap%":typeof WeakMap=="undefined"?d:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?d:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?d:WeakSet,"%Function.prototype.call%":fr,"%Function.prototype.apply%":In,"%Object.defineProperty%":bu,"%Object.getPrototypeOf%":Au,"%Math.abs%":yu,"%Math.floor%":vu,"%Math.max%":gu,"%Math.min%":du,"%Math.pow%":hu,"%Math.round%":mu,"%Math.sign%":Su,"%Reflect.getPrototypeOf%":Ou};if(w)try{null.error}catch(e){$n=w(w(e)),L["%Error.prototype%"]=$n}var $n,xu=function e(r){var t;if(r==="%AsyncFunction%")t=Oe("async function () {}");else if(r==="%GeneratorFunction%")t=Oe("function* () {}");else if(r==="%AsyncGeneratorFunction%")t=Oe("async function* () {}");else if(r==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(r==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&w&&(t=w(a.prototype))}return L[r]=t,t},Pn={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},lr=Q(),Dr=Ae(),$u=lr.call(fr,Array.prototype.concat),Pu=lr.call(In,Array.prototype.splice),En=lr.call(fr,String.prototype.replace),Nr=lr.call(fr,String.prototype.slice),Eu=lr.call(fr,RegExp.prototype.exec),Tu=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Iu=/\\(\\)?/g,Fu=function(r){var t=Nr(r,0,1),n=Nr(r,-1);if(t==="%"&&n!=="%")throw new V("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new V("invalid intrinsic syntax, expected opening `%`");var a=[];return En(r,Tu,function(u,f,y,c){a[a.length]=y?En(c,Iu,"$1"):f||u}),a},Ru=function(r,t){var n=r,a;if(Dr(Pn,n)&&(a=Pn[n],n="%"+a[0]+"%"),Dr(L,n)){var u=L[n];if(u===X&&(u=xu(n)),typeof u=="undefined"&&!t)throw new Z("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:u}}throw new V("intrinsic "+r+" does not exist!")};Fn.exports=function(r,t){if(typeof r!="string"||r.length===0)throw new Z("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new Z('"allowMissing" argument must be a boolean');if(Eu(/^%?[^%]*%?$/,r)===null)throw new V("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Fu(r),a=n.length>0?n[0]:"",u=Ru("%"+a+"%",t),f=u.name,y=u.value,c=!1,m=u.alias;m&&(a=m[0],Pu(n,$u([0,1],m)));for(var g=1,h=!0;g<n.length;g+=1){var v=n[g],A=Nr(v,0,1),q=Nr(v,-1);if((A==='"'||A==="'"||A==="`"||q==='"'||q==="'"||q==="`")&&A!==q)throw new V("property names with quotes must have matching quotes");if((v==="constructor"||!h)&&(c=!0),a+="."+v,f="%"+a+"%",Dr(L,f))y=L[f];else if(y!=null){if(!(v in y)){if(!t)throw new Z("base intrinsic for "+r+" exists, but the property is not available.");return}if(sr&&g+1>=n.length){var S=sr(y,v);h=!!S,h&&"get"in S&&!("originalValue"in S.get)?y=S.get:y=y[v]}else h=Dr(y,v),y=y[v];h&&!c&&(L[f]=y)}}return y}});var _r=p((ey,Nn)=>{"use strict";o();i();var Rn=ur(),Du=ce(),rr=b(),Dn=K();Nn.exports=function(r,t,n){if(!r||typeof r!="object"&&typeof r!="function")throw new rr("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new rr("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new rr("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new rr("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new rr("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new rr("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,y=arguments.length>6?arguments[6]:!1,c=!!Dn&&Dn(r,t);if(Rn)Rn(r,t,{configurable:f===null&&c?c.configurable:!f,enumerable:a===null&&c?c.enumerable:!a,value:n,writable:u===null&&c?c.writable:!u});else if(y||!a&&!u&&!f)r[t]=n;else throw new Du("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Br=p((oy,Bn)=>{"use strict";o();i();var xe=ur(),_n=function(){return!!xe};_n.hasArrayLengthDefineBug=function(){if(!xe)return null;try{return xe([],"length",{value:1}).length!==1}catch(r){return!0}};Bn.exports=_n});var Ln=p((uy,Wn)=>{"use strict";o();i();var Nu=$(),Mn=_r(),_u=Br()(),Cn=K(),Un=b(),Bu=Nu("%Math.floor%");Wn.exports=function(r,t){if(typeof r!="function")throw new Un("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Bu(t)!==t)throw new Un("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],a=!0,u=!0;if("length"in r&&Cn){var f=Cn(r,"length");f&&!f.configurable&&(a=!1),f&&!f.writable&&(u=!1)}return(a||u||!n)&&(_u?Mn(r,"length",t,!0,!0):Mn(r,"length",t)),r}});var kn=p((ly,Gn)=>{"use strict";o();i();var Mu=Q(),Cu=Fr(),Uu=be();Gn.exports=function(){return Uu(Mu,Cu,arguments)}});var Cr=p((yy,Mr)=>{"use strict";o();i();var Wu=Ln(),zn=ur(),Lu=Rr(),jn=kn();Mr.exports=function(r){var t=Lu(arguments),n=r.length-(arguments.length-1);return Wu(t,1+(n>0?n:0),!0)};zn?zn(Mr.exports,"apply",{value:jn}):Mr.exports.apply=jn});var $e=p((dy,Jn)=>{"use strict";o();i();var Hn=Object.prototype.toString;Jn.exports=function(r){var t=Hn.call(r),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&Hn.call(r.callee)==="[object Function]"),n}});var to=p((Sy,eo)=>{"use strict";o();i();var ro;Object.keys||(pr=Object.prototype.hasOwnProperty,Pe=Object.prototype.toString,Kn=$e(),Ee=Object.prototype.propertyIsEnumerable,Qn=!Ee.call({toString:null},"toString"),Yn=Ee.call(function(){},"prototype"),cr=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Ur=function(e){var r=e.constructor;return r&&r.prototype===e},Xn={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},Zn=(function(){if(typeof window=="undefined")return!1;for(var e in window)try{if(!Xn["$"+e]&&pr.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{Ur(window[e])}catch(r){return!0}}catch(r){return!0}return!1})(),Vn=function(e){if(typeof window=="undefined"||!Zn)return Ur(e);try{return Ur(e)}catch(r){return!1}},ro=function(r){var t=r!==null&&typeof r=="object",n=Pe.call(r)==="[object Function]",a=Kn(r),u=t&&Pe.call(r)==="[object String]",f=[];if(!t&&!n&&!a)throw new TypeError("Object.keys called on a non-object");var y=Yn&&n;if(u&&r.length>0&&!pr.call(r,0))for(var c=0;c<r.length;++c)f.push(String(c));if(a&&r.length>0)for(var m=0;m<r.length;++m)f.push(String(m));else for(var g in r)!(y&&g==="prototype")&&pr.call(r,g)&&f.push(String(g));if(Qn)for(var h=Vn(r),v=0;v<cr.length;++v)!(h&&cr[v]==="constructor")&&pr.call(r,cr[v])&&f.push(cr[v]);return f});var pr,Pe,Kn,Ee,Qn,Yn,cr,Ur,Xn,Zn,Vn;eo.exports=ro});var ao=p((Ay,io)=>{"use strict";o();i();var Gu=Array.prototype.slice,ku=$e(),no=Object.keys,Wr=no?function(r){return no(r)}:to(),oo=Object.keys;Wr.shim=function(){if(Object.keys){var r=(function(){var t=Object.keys(arguments);return t&&t.length===arguments.length})(1,2);r||(Object.keys=function(n){return ku(n)?oo(Gu.call(n)):oo(n)})}else Object.keys=Wr;return Object.keys||Wr};io.exports=Wr});var Lr=p((xy,lo)=>{"use strict";o();i();var zu=ao(),ju=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Hu=Object.prototype.toString,Ju=Array.prototype.concat,uo=_r(),Ku=function(e){return typeof e=="function"&&Hu.call(e)==="[object Function]"},so=Br()(),Qu=function(e,r,t,n){if(r in e){if(n===!0){if(e[r]===t)return}else if(!Ku(n)||!n())return}so?uo(e,r,t,!0):uo(e,r,t)},fo=function(e,r){var t=arguments.length>2?arguments[2]:{},n=zu(r);ju&&(n=Ju.call(n,Object.getOwnPropertySymbols(r)));for(var a=0;a<n.length;a+=1)Qu(e,n[a],r[n[a]],t[n[a]])};fo.supportsDescriptors=!!so;lo.exports=fo});var P=p((Ey,yo)=>{"use strict";o();i();var po=$(),co=Rr(),Yu=co([po("%String.prototype.indexOf%")]);yo.exports=function(r,t){var n=po(r,!!t);return typeof n=="function"&&Yu(r,".prototype.")>-1?co([n]):n}});var ho=p((Fy,go)=>{"use strict";o();i();var Xu=$(),vo=Xu("%Array%"),Zu=!vo.isArray&&P()("Object.prototype.toString");go.exports=vo.isArray||function(r){return Zu(r)==="[object Array]"}});var Te=p((Ny,mo)=>{"use strict";o();i();mo.exports=ho()});var bo=p((My,So)=>{"use strict";o();i();var Vu=$(),rs=P(),es=b(),ts=Te(),ns=Vu("%Reflect.apply%",!0)||rs("Function.prototype.apply");So.exports=function(r,t){var n=arguments.length>2?arguments[2]:[];if(!ts(n))throw new es("Assertion failed: optional `argumentsList`, if provided, must be a List");return ns(r,t,n)}});function wo(){throw new Error("setTimeout has not been defined")}function Ao(){throw new Error("clearTimeout has not been defined")}function Oo(e){if(B===setTimeout)return setTimeout(e,0);if((B===wo||!B)&&setTimeout)return B=setTimeout,setTimeout(e,0);try{return B(e,0)}catch(r){try{return B.call(null,e,0)}catch(t){return B.call(this,e,0)}}}function os(e){if(M===clearTimeout)return clearTimeout(e);if((M===Ao||!M)&&clearTimeout)return M=clearTimeout,clearTimeout(e);try{return M(e)}catch(r){try{return M.call(null,e)}catch(t){return M.call(this,e)}}}function is(){!tr||!G||(tr=!1,G.length?R=G.concat(R):Gr=-1,R.length&&qo())}function qo(){if(!tr){var e=Oo(is);tr=!0;for(var r=R.length;r;){for(G=R,R=[];++Gr<r;)G&&G[Gr].run();Gr=-1,r=R.length}G=null,tr=!1,os(e)}}function as(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];R.push(new xo(e,r)),R.length===1&&!tr&&Oo(qo)}function xo(e,r){this.fun=e,this.array=r}function k(){}function Os(e){throw new Error("process.binding is not supported")}function qs(){return"/"}function xs(e){throw new Error("process.chdir is not supported")}function $s(){return 0}function Es(e){var r=Ps.call(er)*.001,t=Math.floor(r),n=Math.floor(r%1*1e9);return e&&(t=t-e[0],n=n-e[1],n<0&&(t--,n+=1e9)),[t,n]}function Is(){var e=new Date,r=e-Ts;return r/1e3}var B,M,R,tr,G,Gr,us,ss,fs,ls,ps,cs,ys,vs,gs,ds,hs,ms,Ss,bs,ws,As,er,Ps,Ts,Fs,yr,$o=le(()=>{"use strict";o();i();B=wo,M=Ao;typeof globalThis.setTimeout=="function"&&(B=setTimeout);typeof globalThis.clearTimeout=="function"&&(M=clearTimeout);R=[],tr=!1,Gr=-1;xo.prototype.run=function(){this.fun.apply(null,this.array)};us="browser",ss="browser",fs=!0,ls={},ps=[],cs="",ys={},vs={},gs={};ds=k,hs=k,ms=k,Ss=k,bs=k,ws=k,As=k;er=globalThis.performance||{},Ps=er.now||er.mozNow||er.msNow||er.oNow||er.webkitNow||function(){return new Date().getTime()};Ts=new Date;Fs={nextTick:as,title:us,browser:fs,env:ls,argv:ps,version:cs,versions:ys,on:ds,addListener:hs,once:ms,off:Ss,removeListener:bs,removeAllListeners:ws,emit:As,binding:Os,cwd:qs,chdir:xs,umask:$s,hrtime:Es,platform:ss,release:vs,config:gs,uptime:Is},yr=Fs});var Ie,Fe,Po=le(()=>{"use strict";o();i();typeof Object.create=="function"?Ie=function(r,t){r.super_=t,r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}})}:Ie=function(r,t){r.super_=t;var n=function(){};n.prototype=t.prototype,r.prototype=new n,r.prototype.constructor=r};Fe=Ie});var _o={};Na(_o,{_extend:()=>We,debuglog:()=>Eo,default:()=>Ls,deprecate:()=>Be,format:()=>Hr,inherits:()=>Fe,inspect:()=>T,isArray:()=>Me,isBoolean:()=>Jr,isBuffer:()=>Ro,isDate:()=>jr,isError:()=>gr,isFunction:()=>dr,isNull:()=>hr,isNullOrUndefined:()=>To,isNumber:()=>Ce,isObject:()=>z,isPrimitive:()=>Fo,isRegExp:()=>vr,isString:()=>mr,isSymbol:()=>Io,isUndefined:()=>E,log:()=>Do});function Hr(e){if(!mr(e)){for(var r=[],t=0;t<arguments.length;t++)r.push(T(arguments[t]));return r.join(" ")}for(var t=1,n=arguments,a=n.length,u=String(e).replace(Rs,function(y){if(y==="%%")return"%";if(t>=a)return y;switch(y){case"%s":return String(n[t++]);case"%d":return Number(n[t++]);case"%j":try{return JSON.stringify(n[t++])}catch(c){return"[Circular]"}default:return y}}),f=n[t];t<a;f=n[++t])hr(f)||!z(f)?u+=" "+f:u+=" "+T(f);return u}function Be(e,r){if(E(globalThis.process))return function(){return Be(e,r).apply(this,arguments)};if(yr.noDeprecation===!0)return e;var t=!1;function n(){if(!t){if(yr.throwDeprecation)throw new Error(r);yr.traceDeprecation?console.trace(r):console.error(r),t=!0}return e.apply(this,arguments)}return n}function Eo(e){if(E(Re)&&(Re=yr.env.NODE_DEBUG||""),e=e.toUpperCase(),!kr[e])if(new RegExp("\\b"+e+"\\b","i").test(Re)){var r=0;kr[e]=function(){var t=Hr.apply(null,arguments);console.error("%s %d: %s",e,r,t)}}else kr[e]=function(){};return kr[e]}function T(e,r){var t={seen:[],stylize:Ns};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),Jr(r)?t.showHidden=r:r&&We(t,r),E(t.showHidden)&&(t.showHidden=!1),E(t.depth)&&(t.depth=2),E(t.colors)&&(t.colors=!1),E(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=Ds),zr(t,e,t.depth)}function Ds(e,r){var t=T.styles[r];return t?"\x1B["+T.colors[t][0]+"m"+e+"\x1B["+T.colors[t][1]+"m":e}function Ns(e,r){return e}function _s(e){var r={};return e.forEach(function(t,n){r[t]=!0}),r}function zr(e,r,t){if(e.customInspect&&r&&dr(r.inspect)&&r.inspect!==T&&!(r.constructor&&r.constructor.prototype===r)){var n=r.inspect(t,e);return mr(n)||(n=zr(e,n,t)),n}var a=Bs(e,r);if(a)return a;var u=Object.keys(r),f=_s(u);if(e.showHidden&&(u=Object.getOwnPropertyNames(r)),gr(r)&&(u.indexOf("message")>=0||u.indexOf("description")>=0))return De(r);if(u.length===0){if(dr(r)){var y=r.name?": "+r.name:"";return e.stylize("[Function"+y+"]","special")}if(vr(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(jr(r))return e.stylize(Date.prototype.toString.call(r),"date");if(gr(r))return De(r)}var c="",m=!1,g=["{","}"];if(Me(r)&&(m=!0,g=["[","]"]),dr(r)){var h=r.name?": "+r.name:"";c=" [Function"+h+"]"}if(vr(r)&&(c=" "+RegExp.prototype.toString.call(r)),jr(r)&&(c=" "+Date.prototype.toUTCString.call(r)),gr(r)&&(c=" "+De(r)),u.length===0&&(!m||r.length==0))return g[0]+c+g[1];if(t<0)return vr(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special");e.seen.push(r);var v;return m?v=Ms(e,r,t,f,u):v=u.map(function(A){return _e(e,r,t,f,A,m)}),e.seen.pop(),Cs(v,c,g)}function Bs(e,r){if(E(r))return e.stylize("undefined","undefined");if(mr(r)){var t="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(t,"string")}if(Ce(r))return e.stylize(""+r,"number");if(Jr(r))return e.stylize(""+r,"boolean");if(hr(r))return e.stylize("null","null")}function De(e){return"["+Error.prototype.toString.call(e)+"]"}function Ms(e,r,t,n,a){for(var u=[],f=0,y=r.length;f<y;++f)No(r,String(f))?u.push(_e(e,r,t,n,String(f),!0)):u.push("");return a.forEach(function(c){c.match(/^\d+$/)||u.push(_e(e,r,t,n,c,!0))}),u}function _e(e,r,t,n,a,u){var f,y,c;if(c=Object.getOwnPropertyDescriptor(r,a)||{value:r[a]},c.get?c.set?y=e.stylize("[Getter/Setter]","special"):y=e.stylize("[Getter]","special"):c.set&&(y=e.stylize("[Setter]","special")),No(n,a)||(f="["+a+"]"),y||(e.seen.indexOf(c.value)<0?(hr(t)?y=zr(e,c.value,null):y=zr(e,c.value,t-1),y.indexOf(`
|
|
1
|
+
import"./chunk-FX6IFKZ7.js";import{a as Ca}from"./chunk-WG3NZOM6.js";import"./chunk-HTU5V5TT.js";import{a as Ma}from"./chunk-WXHVUJ6D.js";import"./chunk-7RC2HH3P.js";import"./chunk-6DFEQNIA.js";import"./chunk-2M2RBZK2.js";import"./chunk-ZIQ5ITTV.js";import"./chunk-IHG2VZKL.js";import"./chunk-KIHSBETU.js";import"./chunk-JFTYS7SI.js";import"./chunk-PJTPV2D6.js";import{e as le,f as p,g as Na,h as _a,i as Ba,l as o,m as s,n as i}from"./chunk-PYMG6Y4R.js";var pe=p((up,Ot)=>{"use strict";o();i();Ot.exports=Object});var xt=p((lp,qt)=>{"use strict";o();i();qt.exports=Error});var Pt=p((yp,$t)=>{"use strict";o();i();$t.exports=EvalError});var Tt=p((dp,Et)=>{"use strict";o();i();Et.exports=RangeError});var Ft=p((Sp,It)=>{"use strict";o();i();It.exports=ReferenceError});var ce=p((Ap,Rt)=>{"use strict";o();i();Rt.exports=SyntaxError});var b=p((xp,Dt)=>{"use strict";o();i();Dt.exports=TypeError});var _t=p((Ep,Nt)=>{"use strict";o();i();Nt.exports=URIError});var ye=p((Fp,Bt)=>{"use strict";o();i();Bt.exports=Math.abs});var ve=p((Np,Mt)=>{"use strict";o();i();Mt.exports=Math.floor});var Ut=p((Mp,Ct)=>{"use strict";o();i();Ct.exports=Math.max});var ge=p((Wp,Wt)=>{"use strict";o();i();Wt.exports=Math.min});var Gt=p((kp,Lt)=>{"use strict";o();i();Lt.exports=Math.pow});var zt=p((Hp,kt)=>{"use strict";o();i();kt.exports=Math.round});var Pr=p((Qp,jt)=>{"use strict";o();i();jt.exports=Number.isNaN||function(r){return r!==r}});var Jt=p((Zp,Ht)=>{"use strict";o();i();var Ua=Pr();Ht.exports=function(r){return Ua(r)||r===0?r:r<0?-1:1}});var Qt=p((ec,Kt)=>{"use strict";o();i();Kt.exports=Object.getOwnPropertyDescriptor});var K=p((oc,Yt)=>{"use strict";o();i();var Er=Qt();if(Er)try{Er([],"length")}catch(e){Er=null}Yt.exports=Er});var ur=p((uc,Xt)=>{"use strict";o();i();var Tr=Object.defineProperty||!1;if(Tr)try{Tr({},"a",{value:1})}catch(e){Tr=!1}Xt.exports=Tr});var de=p((lc,Zt)=>{"use strict";o();i();Zt.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;r[t]=a;for(var u in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var f=Object.getOwnPropertySymbols(r);if(f.length!==1||f[0]!==t||!Object.prototype.propertyIsEnumerable.call(r,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var y=Object.getOwnPropertyDescriptor(r,t);if(y.value!==a||y.enumerable!==!0)return!1}return!0}});var he=p((yc,rn)=>{"use strict";o();i();var Vt=typeof Symbol!="undefined"&&Symbol,Wa=de();rn.exports=function(){return typeof Vt!="function"||typeof Symbol!="function"||typeof Vt("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Wa()}});var me=p((dc,en)=>{"use strict";o();i();en.exports=typeof Reflect!="undefined"&&Reflect.getPrototypeOf||null});var Se=p((Sc,tn)=>{"use strict";o();i();var La=pe();tn.exports=La.getPrototypeOf||null});var an=p((Ac,on)=>{"use strict";o();i();var Ga="Function.prototype.bind called on incompatible ",ka=Object.prototype.toString,za=Math.max,ja="[object Function]",nn=function(r,t){for(var n=[],a=0;a<r.length;a+=1)n[a]=r[a];for(var u=0;u<t.length;u+=1)n[u+r.length]=t[u];return n},Ha=function(r,t){for(var n=[],a=t||0,u=0;a<r.length;a+=1,u+=1)n[u]=r[a];return n},Ja=function(e,r){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=r);return t};on.exports=function(r){var t=this;if(typeof t!="function"||ka.apply(t)!==ja)throw new TypeError(Ga+t);for(var n=Ha(arguments,1),a,u=function(){if(this instanceof a){var g=t.apply(this,nn(n,arguments));return Object(g)===g?g:this}return t.apply(r,nn(n,arguments))},f=za(0,t.length-n.length),y=[],c=0;c<f;c++)y[c]="$"+c;if(a=Function("binder","return function ("+Ja(y,",")+"){ return binder.apply(this,arguments); }")(u),t.prototype){var m=function(){};m.prototype=t.prototype,a.prototype=new m,m.prototype=null}return a}});var Q=p((xc,un)=>{"use strict";o();i();var Ka=an();un.exports=Function.prototype.bind||Ka});var Ir=p((Ec,sn)=>{"use strict";o();i();sn.exports=Function.prototype.call});var Fr=p((Fc,fn)=>{"use strict";o();i();fn.exports=Function.prototype.apply});var pn=p((Nc,ln)=>{"use strict";o();i();ln.exports=typeof Reflect!="undefined"&&Reflect&&Reflect.apply});var be=p((Mc,cn)=>{"use strict";o();i();var Qa=Q(),Ya=Fr(),Xa=Ir(),Za=pn();cn.exports=Za||Qa.call(Xa,Ya)});var Rr=p((Wc,yn)=>{"use strict";o();i();var Va=Q(),ru=b(),eu=Ir(),tu=be();yn.exports=function(r){if(r.length<1||typeof r[0]!="function")throw new ru("a function is required");return tu(Va,eu,r)}});var Sn=p((kc,mn)=>{"use strict";o();i();var nu=Rr(),vn=K(),dn;try{dn=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var we=!!dn&&vn&&vn(Object.prototype,"__proto__"),hn=Object,gn=hn.getPrototypeOf;mn.exports=we&&typeof we.get=="function"?nu([we.get]):typeof gn=="function"?function(r){return gn(r==null?r:hn(r))}:!1});var qn=p((Hc,On)=>{"use strict";o();i();var bn=me(),wn=Se(),An=Sn();On.exports=bn?function(r){return bn(r)}:wn?function(r){if(!r||typeof r!="object"&&typeof r!="function")throw new TypeError("getProto: not an object");return wn(r)}:An?function(r){return An(r)}:null});var Ae=p((Qc,xn)=>{"use strict";o();i();var ou=Function.prototype.call,iu=Object.prototype.hasOwnProperty,au=Q();xn.exports=au.call(ou,iu)});var $=p((Zc,Fn)=>{"use strict";o();i();var d,uu=pe(),su=xt(),fu=Pt(),lu=Tt(),pu=Ft(),V=ce(),Z=b(),cu=_t(),yu=ye(),vu=ve(),gu=Ut(),du=ge(),hu=Gt(),mu=zt(),Su=Jt(),Tn=Function,Oe=function(e){try{return Tn('"use strict"; return ('+e+").constructor;")()}catch(r){}},sr=K(),bu=ur(),qe=function(){throw new Z},wu=sr?(function(){try{return arguments.callee,qe}catch(e){try{return sr(arguments,"callee").get}catch(r){return qe}}})():qe,Y=he()(),w=qn(),Au=Se(),Ou=me(),In=Fr(),fr=Ir(),X={},qu=typeof Uint8Array=="undefined"||!w?d:w(Uint8Array),L={__proto__:null,"%AggregateError%":typeof AggregateError=="undefined"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?d:ArrayBuffer,"%ArrayIteratorPrototype%":Y&&w?w([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":X,"%AsyncGenerator%":X,"%AsyncGeneratorFunction%":X,"%AsyncIteratorPrototype%":X,"%Atomics%":typeof Atomics=="undefined"?d:Atomics,"%BigInt%":typeof BigInt=="undefined"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":su,"%eval%":eval,"%EvalError%":fu,"%Float16Array%":typeof Float16Array=="undefined"?d:Float16Array,"%Float32Array%":typeof Float32Array=="undefined"?d:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?d:FinalizationRegistry,"%Function%":Tn,"%GeneratorFunction%":X,"%Int8Array%":typeof Int8Array=="undefined"?d:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?d:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Y&&w?w(w([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map=="undefined"?d:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!Y||!w?d:w(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":uu,"%Object.getOwnPropertyDescriptor%":sr,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?d:Promise,"%Proxy%":typeof Proxy=="undefined"?d:Proxy,"%RangeError%":lu,"%ReferenceError%":pu,"%Reflect%":typeof Reflect=="undefined"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?d:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!Y||!w?d:w(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Y&&w?w(""[Symbol.iterator]()):d,"%Symbol%":Y?Symbol:d,"%SyntaxError%":V,"%ThrowTypeError%":wu,"%TypedArray%":qu,"%TypeError%":Z,"%Uint8Array%":typeof Uint8Array=="undefined"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?d:Uint32Array,"%URIError%":cu,"%WeakMap%":typeof WeakMap=="undefined"?d:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?d:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?d:WeakSet,"%Function.prototype.call%":fr,"%Function.prototype.apply%":In,"%Object.defineProperty%":bu,"%Object.getPrototypeOf%":Au,"%Math.abs%":yu,"%Math.floor%":vu,"%Math.max%":gu,"%Math.min%":du,"%Math.pow%":hu,"%Math.round%":mu,"%Math.sign%":Su,"%Reflect.getPrototypeOf%":Ou};if(w)try{null.error}catch(e){$n=w(w(e)),L["%Error.prototype%"]=$n}var $n,xu=function e(r){var t;if(r==="%AsyncFunction%")t=Oe("async function () {}");else if(r==="%GeneratorFunction%")t=Oe("function* () {}");else if(r==="%AsyncGeneratorFunction%")t=Oe("async function* () {}");else if(r==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(r==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&w&&(t=w(a.prototype))}return L[r]=t,t},Pn={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},lr=Q(),Dr=Ae(),$u=lr.call(fr,Array.prototype.concat),Pu=lr.call(In,Array.prototype.splice),En=lr.call(fr,String.prototype.replace),Nr=lr.call(fr,String.prototype.slice),Eu=lr.call(fr,RegExp.prototype.exec),Tu=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Iu=/\\(\\)?/g,Fu=function(r){var t=Nr(r,0,1),n=Nr(r,-1);if(t==="%"&&n!=="%")throw new V("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new V("invalid intrinsic syntax, expected opening `%`");var a=[];return En(r,Tu,function(u,f,y,c){a[a.length]=y?En(c,Iu,"$1"):f||u}),a},Ru=function(r,t){var n=r,a;if(Dr(Pn,n)&&(a=Pn[n],n="%"+a[0]+"%"),Dr(L,n)){var u=L[n];if(u===X&&(u=xu(n)),typeof u=="undefined"&&!t)throw new Z("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:u}}throw new V("intrinsic "+r+" does not exist!")};Fn.exports=function(r,t){if(typeof r!="string"||r.length===0)throw new Z("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new Z('"allowMissing" argument must be a boolean');if(Eu(/^%?[^%]*%?$/,r)===null)throw new V("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Fu(r),a=n.length>0?n[0]:"",u=Ru("%"+a+"%",t),f=u.name,y=u.value,c=!1,m=u.alias;m&&(a=m[0],Pu(n,$u([0,1],m)));for(var g=1,h=!0;g<n.length;g+=1){var v=n[g],A=Nr(v,0,1),q=Nr(v,-1);if((A==='"'||A==="'"||A==="`"||q==='"'||q==="'"||q==="`")&&A!==q)throw new V("property names with quotes must have matching quotes");if((v==="constructor"||!h)&&(c=!0),a+="."+v,f="%"+a+"%",Dr(L,f))y=L[f];else if(y!=null){if(!(v in y)){if(!t)throw new Z("base intrinsic for "+r+" exists, but the property is not available.");return}if(sr&&g+1>=n.length){var S=sr(y,v);h=!!S,h&&"get"in S&&!("originalValue"in S.get)?y=S.get:y=y[v]}else h=Dr(y,v),y=y[v];h&&!c&&(L[f]=y)}}return y}});var _r=p((ey,Nn)=>{"use strict";o();i();var Rn=ur(),Du=ce(),rr=b(),Dn=K();Nn.exports=function(r,t,n){if(!r||typeof r!="object"&&typeof r!="function")throw new rr("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new rr("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new rr("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new rr("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new rr("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new rr("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,y=arguments.length>6?arguments[6]:!1,c=!!Dn&&Dn(r,t);if(Rn)Rn(r,t,{configurable:f===null&&c?c.configurable:!f,enumerable:a===null&&c?c.enumerable:!a,value:n,writable:u===null&&c?c.writable:!u});else if(y||!a&&!u&&!f)r[t]=n;else throw new Du("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Br=p((oy,Bn)=>{"use strict";o();i();var xe=ur(),_n=function(){return!!xe};_n.hasArrayLengthDefineBug=function(){if(!xe)return null;try{return xe([],"length",{value:1}).length!==1}catch(r){return!0}};Bn.exports=_n});var Ln=p((uy,Wn)=>{"use strict";o();i();var Nu=$(),Mn=_r(),_u=Br()(),Cn=K(),Un=b(),Bu=Nu("%Math.floor%");Wn.exports=function(r,t){if(typeof r!="function")throw new Un("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Bu(t)!==t)throw new Un("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],a=!0,u=!0;if("length"in r&&Cn){var f=Cn(r,"length");f&&!f.configurable&&(a=!1),f&&!f.writable&&(u=!1)}return(a||u||!n)&&(_u?Mn(r,"length",t,!0,!0):Mn(r,"length",t)),r}});var kn=p((ly,Gn)=>{"use strict";o();i();var Mu=Q(),Cu=Fr(),Uu=be();Gn.exports=function(){return Uu(Mu,Cu,arguments)}});var Cr=p((yy,Mr)=>{"use strict";o();i();var Wu=Ln(),zn=ur(),Lu=Rr(),jn=kn();Mr.exports=function(r){var t=Lu(arguments),n=r.length-(arguments.length-1);return Wu(t,1+(n>0?n:0),!0)};zn?zn(Mr.exports,"apply",{value:jn}):Mr.exports.apply=jn});var $e=p((dy,Jn)=>{"use strict";o();i();var Hn=Object.prototype.toString;Jn.exports=function(r){var t=Hn.call(r),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&Hn.call(r.callee)==="[object Function]"),n}});var to=p((Sy,eo)=>{"use strict";o();i();var ro;Object.keys||(pr=Object.prototype.hasOwnProperty,Pe=Object.prototype.toString,Kn=$e(),Ee=Object.prototype.propertyIsEnumerable,Qn=!Ee.call({toString:null},"toString"),Yn=Ee.call(function(){},"prototype"),cr=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Ur=function(e){var r=e.constructor;return r&&r.prototype===e},Xn={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},Zn=(function(){if(typeof window=="undefined")return!1;for(var e in window)try{if(!Xn["$"+e]&&pr.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{Ur(window[e])}catch(r){return!0}}catch(r){return!0}return!1})(),Vn=function(e){if(typeof window=="undefined"||!Zn)return Ur(e);try{return Ur(e)}catch(r){return!1}},ro=function(r){var t=r!==null&&typeof r=="object",n=Pe.call(r)==="[object Function]",a=Kn(r),u=t&&Pe.call(r)==="[object String]",f=[];if(!t&&!n&&!a)throw new TypeError("Object.keys called on a non-object");var y=Yn&&n;if(u&&r.length>0&&!pr.call(r,0))for(var c=0;c<r.length;++c)f.push(String(c));if(a&&r.length>0)for(var m=0;m<r.length;++m)f.push(String(m));else for(var g in r)!(y&&g==="prototype")&&pr.call(r,g)&&f.push(String(g));if(Qn)for(var h=Vn(r),v=0;v<cr.length;++v)!(h&&cr[v]==="constructor")&&pr.call(r,cr[v])&&f.push(cr[v]);return f});var pr,Pe,Kn,Ee,Qn,Yn,cr,Ur,Xn,Zn,Vn;eo.exports=ro});var ao=p((Ay,io)=>{"use strict";o();i();var Gu=Array.prototype.slice,ku=$e(),no=Object.keys,Wr=no?function(r){return no(r)}:to(),oo=Object.keys;Wr.shim=function(){if(Object.keys){var r=(function(){var t=Object.keys(arguments);return t&&t.length===arguments.length})(1,2);r||(Object.keys=function(n){return ku(n)?oo(Gu.call(n)):oo(n)})}else Object.keys=Wr;return Object.keys||Wr};io.exports=Wr});var Lr=p((xy,lo)=>{"use strict";o();i();var zu=ao(),ju=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Hu=Object.prototype.toString,Ju=Array.prototype.concat,uo=_r(),Ku=function(e){return typeof e=="function"&&Hu.call(e)==="[object Function]"},so=Br()(),Qu=function(e,r,t,n){if(r in e){if(n===!0){if(e[r]===t)return}else if(!Ku(n)||!n())return}so?uo(e,r,t,!0):uo(e,r,t)},fo=function(e,r){var t=arguments.length>2?arguments[2]:{},n=zu(r);ju&&(n=Ju.call(n,Object.getOwnPropertySymbols(r)));for(var a=0;a<n.length;a+=1)Qu(e,n[a],r[n[a]],t[n[a]])};fo.supportsDescriptors=!!so;lo.exports=fo});var P=p((Ey,yo)=>{"use strict";o();i();var po=$(),co=Rr(),Yu=co([po("%String.prototype.indexOf%")]);yo.exports=function(r,t){var n=po(r,!!t);return typeof n=="function"&&Yu(r,".prototype.")>-1?co([n]):n}});var ho=p((Fy,go)=>{"use strict";o();i();var Xu=$(),vo=Xu("%Array%"),Zu=!vo.isArray&&P()("Object.prototype.toString");go.exports=vo.isArray||function(r){return Zu(r)==="[object Array]"}});var Te=p((Ny,mo)=>{"use strict";o();i();mo.exports=ho()});var bo=p((My,So)=>{"use strict";o();i();var Vu=$(),rs=P(),es=b(),ts=Te(),ns=Vu("%Reflect.apply%",!0)||rs("Function.prototype.apply");So.exports=function(r,t){var n=arguments.length>2?arguments[2]:[];if(!ts(n))throw new es("Assertion failed: optional `argumentsList`, if provided, must be a List");return ns(r,t,n)}});function wo(){throw new Error("setTimeout has not been defined")}function Ao(){throw new Error("clearTimeout has not been defined")}function Oo(e){if(B===setTimeout)return setTimeout(e,0);if((B===wo||!B)&&setTimeout)return B=setTimeout,setTimeout(e,0);try{return B(e,0)}catch(r){try{return B.call(null,e,0)}catch(t){return B.call(this,e,0)}}}function os(e){if(M===clearTimeout)return clearTimeout(e);if((M===Ao||!M)&&clearTimeout)return M=clearTimeout,clearTimeout(e);try{return M(e)}catch(r){try{return M.call(null,e)}catch(t){return M.call(this,e)}}}function is(){!tr||!G||(tr=!1,G.length?R=G.concat(R):Gr=-1,R.length&&qo())}function qo(){if(!tr){var e=Oo(is);tr=!0;for(var r=R.length;r;){for(G=R,R=[];++Gr<r;)G&&G[Gr].run();Gr=-1,r=R.length}G=null,tr=!1,os(e)}}function as(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];R.push(new xo(e,r)),R.length===1&&!tr&&Oo(qo)}function xo(e,r){this.fun=e,this.array=r}function k(){}function Os(e){throw new Error("process.binding is not supported")}function qs(){return"/"}function xs(e){throw new Error("process.chdir is not supported")}function $s(){return 0}function Es(e){var r=Ps.call(er)*.001,t=Math.floor(r),n=Math.floor(r%1*1e9);return e&&(t=t-e[0],n=n-e[1],n<0&&(t--,n+=1e9)),[t,n]}function Is(){var e=new Date,r=e-Ts;return r/1e3}var B,M,R,tr,G,Gr,us,ss,fs,ls,ps,cs,ys,vs,gs,ds,hs,ms,Ss,bs,ws,As,er,Ps,Ts,Fs,yr,$o=le(()=>{"use strict";o();i();B=wo,M=Ao;typeof globalThis.setTimeout=="function"&&(B=setTimeout);typeof globalThis.clearTimeout=="function"&&(M=clearTimeout);R=[],tr=!1,Gr=-1;xo.prototype.run=function(){this.fun.apply(null,this.array)};us="browser",ss="browser",fs=!0,ls={},ps=[],cs="",ys={},vs={},gs={};ds=k,hs=k,ms=k,Ss=k,bs=k,ws=k,As=k;er=globalThis.performance||{},Ps=er.now||er.mozNow||er.msNow||er.oNow||er.webkitNow||function(){return new Date().getTime()};Ts=new Date;Fs={nextTick:as,title:us,browser:fs,env:ls,argv:ps,version:cs,versions:ys,on:ds,addListener:hs,once:ms,off:Ss,removeListener:bs,removeAllListeners:ws,emit:As,binding:Os,cwd:qs,chdir:xs,umask:$s,hrtime:Es,platform:ss,release:vs,config:gs,uptime:Is},yr=Fs});var Ie,Fe,Po=le(()=>{"use strict";o();i();typeof Object.create=="function"?Ie=function(r,t){r.super_=t,r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}})}:Ie=function(r,t){r.super_=t;var n=function(){};n.prototype=t.prototype,r.prototype=new n,r.prototype.constructor=r};Fe=Ie});var _o={};Na(_o,{_extend:()=>We,debuglog:()=>Eo,default:()=>Ls,deprecate:()=>Be,format:()=>Hr,inherits:()=>Fe,inspect:()=>T,isArray:()=>Me,isBoolean:()=>Jr,isBuffer:()=>Ro,isDate:()=>jr,isError:()=>gr,isFunction:()=>dr,isNull:()=>hr,isNullOrUndefined:()=>To,isNumber:()=>Ce,isObject:()=>z,isPrimitive:()=>Fo,isRegExp:()=>vr,isString:()=>mr,isSymbol:()=>Io,isUndefined:()=>E,log:()=>Do});function Hr(e){if(!mr(e)){for(var r=[],t=0;t<arguments.length;t++)r.push(T(arguments[t]));return r.join(" ")}for(var t=1,n=arguments,a=n.length,u=String(e).replace(Rs,function(y){if(y==="%%")return"%";if(t>=a)return y;switch(y){case"%s":return String(n[t++]);case"%d":return Number(n[t++]);case"%j":try{return JSON.stringify(n[t++])}catch(c){return"[Circular]"}default:return y}}),f=n[t];t<a;f=n[++t])hr(f)||!z(f)?u+=" "+f:u+=" "+T(f);return u}function Be(e,r){if(E(globalThis.process))return function(){return Be(e,r).apply(this,arguments)};if(yr.noDeprecation===!0)return e;var t=!1;function n(){if(!t){if(yr.throwDeprecation)throw new Error(r);yr.traceDeprecation?console.trace(r):console.error(r),t=!0}return e.apply(this,arguments)}return n}function Eo(e){if(E(Re)&&(Re=yr.env.NODE_DEBUG||""),e=e.toUpperCase(),!kr[e])if(new RegExp("\\b"+e+"\\b","i").test(Re)){var r=0;kr[e]=function(){var t=Hr.apply(null,arguments);console.error("%s %d: %s",e,r,t)}}else kr[e]=function(){};return kr[e]}function T(e,r){var t={seen:[],stylize:Ns};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),Jr(r)?t.showHidden=r:r&&We(t,r),E(t.showHidden)&&(t.showHidden=!1),E(t.depth)&&(t.depth=2),E(t.colors)&&(t.colors=!1),E(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=Ds),zr(t,e,t.depth)}function Ds(e,r){var t=T.styles[r];return t?"\x1B["+T.colors[t][0]+"m"+e+"\x1B["+T.colors[t][1]+"m":e}function Ns(e,r){return e}function _s(e){var r={};return e.forEach(function(t,n){r[t]=!0}),r}function zr(e,r,t){if(e.customInspect&&r&&dr(r.inspect)&&r.inspect!==T&&!(r.constructor&&r.constructor.prototype===r)){var n=r.inspect(t,e);return mr(n)||(n=zr(e,n,t)),n}var a=Bs(e,r);if(a)return a;var u=Object.keys(r),f=_s(u);if(e.showHidden&&(u=Object.getOwnPropertyNames(r)),gr(r)&&(u.indexOf("message")>=0||u.indexOf("description")>=0))return De(r);if(u.length===0){if(dr(r)){var y=r.name?": "+r.name:"";return e.stylize("[Function"+y+"]","special")}if(vr(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(jr(r))return e.stylize(Date.prototype.toString.call(r),"date");if(gr(r))return De(r)}var c="",m=!1,g=["{","}"];if(Me(r)&&(m=!0,g=["[","]"]),dr(r)){var h=r.name?": "+r.name:"";c=" [Function"+h+"]"}if(vr(r)&&(c=" "+RegExp.prototype.toString.call(r)),jr(r)&&(c=" "+Date.prototype.toUTCString.call(r)),gr(r)&&(c=" "+De(r)),u.length===0&&(!m||r.length==0))return g[0]+c+g[1];if(t<0)return vr(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special");e.seen.push(r);var v;return m?v=Ms(e,r,t,f,u):v=u.map(function(A){return _e(e,r,t,f,A,m)}),e.seen.pop(),Cs(v,c,g)}function Bs(e,r){if(E(r))return e.stylize("undefined","undefined");if(mr(r)){var t="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(t,"string")}if(Ce(r))return e.stylize(""+r,"number");if(Jr(r))return e.stylize(""+r,"boolean");if(hr(r))return e.stylize("null","null")}function De(e){return"["+Error.prototype.toString.call(e)+"]"}function Ms(e,r,t,n,a){for(var u=[],f=0,y=r.length;f<y;++f)No(r,String(f))?u.push(_e(e,r,t,n,String(f),!0)):u.push("");return a.forEach(function(c){c.match(/^\d+$/)||u.push(_e(e,r,t,n,c,!0))}),u}function _e(e,r,t,n,a,u){var f,y,c;if(c=Object.getOwnPropertyDescriptor(r,a)||{value:r[a]},c.get?c.set?y=e.stylize("[Getter/Setter]","special"):y=e.stylize("[Getter]","special"):c.set&&(y=e.stylize("[Setter]","special")),No(n,a)||(f="["+a+"]"),y||(e.seen.indexOf(c.value)<0?(hr(t)?y=zr(e,c.value,null):y=zr(e,c.value,t-1),y.indexOf(`
|
|
2
2
|
`)>-1&&(u?y=y.split(`
|
|
3
3
|
`).map(function(m){return" "+m}).join(`
|
|
4
4
|
`).substr(2):y=`
|