xyvcard-itsm-flow 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FileSaver.min-5d27MsC6.mjs → FileSaver.min-X2_RihtX.mjs} +29 -28
- package/dist/_commonjsHelpers-BVfed4GL.mjs +28 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/{edit-DIh0NEYf.mjs → edit-AAIDp3Ys.mjs} +1 -1
- package/dist/edit-BC3HBHna.mjs +378 -0
- package/dist/{edit-DdzFTqhg.mjs → edit-CWx9fJF7.mjs} +1 -1
- package/dist/edit-CuL-MqiW.mjs +794 -0
- package/dist/{edit-Vw2XQ1u6.mjs → edit-XWSh98dW.mjs} +1 -1
- package/dist/edit-zRQs9w8y.mjs +492 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BjhcvEHi.mjs → edit.vue_vue_type_script_setup_true_lang-BCVm7-Ex.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-m73-ejk7.mjs → edit.vue_vue_type_script_setup_true_lang-BHgx58mh.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-prup6BHU.mjs → edit.vue_vue_type_script_setup_true_lang-Rs79eFoT.mjs} +2 -2
- package/dist/{el-message-DawVzOVQ.mjs → el-message-BJAl6Gwu.mjs} +1 -1
- package/dist/{index-g0KiWDPW.mjs → index--gw38QeR.mjs} +3 -3
- package/dist/index-3BgV8fss.mjs +396 -0
- package/dist/index-BDh2WCIf.mjs +316 -0
- package/dist/{index-CxyHtsq2.mjs → index-BFtKB0qe.mjs} +2 -2
- package/dist/{index-DaSMRndr.mjs → index-BLHnAUcn.mjs} +2 -2
- package/dist/index-BSRU0wyQ.mjs +479 -0
- package/dist/{index-54evOMFJ.mjs → index-BYbmB9DD.mjs} +2 -2
- package/dist/{index-BI1uXq1f.mjs → index-Bom-5z91.mjs} +4 -4
- package/dist/index-BtiMpwj2.mjs +457 -0
- package/dist/{index-tnTugnqa.mjs → index-C-HQUPPS.mjs} +3 -3
- package/dist/{index-DyOibT57.mjs → index-C5pj6umx.mjs} +2 -2
- package/dist/{index-C7_kMdm5.mjs → index-CDKSx5IH.mjs} +2 -2
- package/dist/{index-Dooa5UH_.mjs → index-CLZfBnlo.mjs} +4 -4
- package/dist/index-COvZrTZl.mjs +278 -0
- package/dist/index-CXAtR6Vv.mjs +366 -0
- package/dist/index-CYJvDaI_.mjs +1371 -0
- package/dist/{index-PafaMNgK.mjs → index-CvX2It1o.mjs} +64 -30
- package/dist/index-D2AIn13F.mjs +339 -0
- package/dist/{index-Cgbv4Ijf.mjs → index-D7TvdZ0W.mjs} +180 -160
- package/dist/{index-7_pEehBt.mjs → index-DBRvKb1w.mjs} +2 -2
- package/dist/{index-CITy8Hqm.mjs → index-DFj2i4Kf.mjs} +4 -4
- package/dist/index-DNsy9Enp.mjs +272 -0
- package/dist/index-DQOGU1Vs.mjs +402 -0
- package/dist/index-D_PiZ_6x.mjs +749 -0
- package/dist/index-DesY4um_.mjs +330 -0
- package/dist/{index-v18knD_f.mjs → index-DkPqpjkA.mjs} +2 -2
- package/dist/index-Sm592CoC.mjs +273 -0
- package/dist/index-cjJjrvPP.mjs +390 -0
- package/dist/index-enjFe_Qb.mjs +400 -0
- package/dist/index-gWMTJ0gB.mjs +221 -0
- package/dist/index-o0oTSdUL.mjs +149 -0
- package/dist/index.mjs +1357 -1229
- package/dist/{info-8NydJYfB.mjs → info-06y0zz8D.mjs} +1 -1
- package/dist/{info-BbMCDfFR.mjs → info-BQh86EaI.mjs} +1 -1
- package/dist/{info-l0eP5Tw1.mjs → info-CYY7U06K.mjs} +1 -1
- package/dist/info-ClUXgnK1.mjs +4 -0
- package/dist/info-DJvahDDF.mjs +4 -0
- package/dist/info-nzbmqI2A.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-wuHB-S6l.mjs → info.vue_vue_type_script_setup_true_lang-7L5RJMrf.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-DMw-pPEW.mjs → info.vue_vue_type_script_setup_true_lang-BHjv3DSd.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-BnDpoavn.mjs → info.vue_vue_type_script_setup_true_lang-D5eF48hb.mjs} +1 -1
- package/dist/info.vue_vue_type_script_setup_true_lang-DxArle2x.mjs +260 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-hwan7iwm.mjs +209 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-y8F2Xg5z.mjs +374 -0
- package/dist/style.css +1 -1
- package/dts/api/index.d.ts +5 -1
- package/dts/api/itsm-flow-spare-parts/index.d.ts +20 -0
- package/dts/api/itsm-flow-spare-parts/types.d.ts +113 -0
- package/dts/api/itsm-flow-spare-parts-details/index.d.ts +20 -0
- package/dts/api/itsm-flow-spare-parts-details/types.d.ts +77 -0
- package/dts/api/itsm-flow-temporary/index.d.ts +21 -0
- package/dts/api/itsm-flow-temporary/types.d.ts +115 -0
- package/dts/components/ImageUpload/ImageUpload.vue.d.ts +36 -0
- package/dts/components/TaskItsmFlowImOrderInterior/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImOrderInteriorEdit/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImOrderInteriorImplement/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImOrderInteriorView/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareParts/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSparePartsEdit/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSparePartsUse/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareTemporary/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareTemporaryEdit/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareTemporaryImplement/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareTemporaryView/index.vue.d.ts +28 -0
- package/dts/constant.d.ts +8 -0
- package/dts/index.d.ts +11 -0
- package/dts/lang/itsm-flow/zh-cn.d.ts +81 -0
- package/dts/views/item-flow-orders-interior/edit.vue.d.ts +28 -0
- package/dts/views/item-flow-orders-interior/index.vue.d.ts +2 -0
- package/dts/views/item-flow-orders-interior/info.vue.d.ts +26 -0
- package/dts/views/itsm-flow-spare-parts/edit.vue.d.ts +28 -0
- package/dts/views/itsm-flow-spare-parts/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-spare-parts/info.vue.d.ts +26 -0
- package/dts/views/itsm-flow-temporary/edit.vue.d.ts +28 -0
- package/dts/views/itsm-flow-temporary/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-temporary/info.vue.d.ts +26 -0
- package/package.json +63 -63
|
@@ -0,0 +1,1371 @@
|
|
|
1
|
+
import { g as et, c as rr, a as rt } from "./_commonjsHelpers-BVfed4GL.mjs";
|
|
2
|
+
var J = TypeError;
|
|
3
|
+
const tt = {}, nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
|
+
__proto__: null,
|
|
5
|
+
default: tt
|
|
6
|
+
}, Symbol.toStringTag, { value: "Module" })), at = /* @__PURE__ */ et(nt);
|
|
7
|
+
var Ve = typeof Map == "function" && Map.prototype, Ee = Object.getOwnPropertyDescriptor && Ve ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, de = Ve && Ee && typeof Ee.get == "function" ? Ee.get : null, tr = Ve && Map.prototype.forEach, Je = typeof Set == "function" && Set.prototype, Pe = Object.getOwnPropertyDescriptor && Je ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, ve = Je && Pe && typeof Pe.get == "function" ? Pe.get : null, nr = Je && Set.prototype.forEach, ot = typeof WeakMap == "function" && WeakMap.prototype, Z = ot ? WeakMap.prototype.has : null, it = typeof WeakSet == "function" && WeakSet.prototype, ee = it ? WeakSet.prototype.has : null, ft = typeof WeakRef == "function" && WeakRef.prototype, ar = ft ? WeakRef.prototype.deref : null, lt = Boolean.prototype.valueOf, ut = Object.prototype.toString, ct = Function.prototype.toString, pt = String.prototype.match, je = String.prototype.slice, M = String.prototype.replace, yt = String.prototype.toUpperCase, or = String.prototype.toLowerCase, Ir = RegExp.prototype.test, ir = Array.prototype.concat, P = Array.prototype.join, st = Array.prototype.slice, fr = Math.floor, qe = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, $e = Object.getOwnPropertySymbols, ke = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Q = typeof Symbol == "function" && typeof Symbol.iterator == "object", re = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Q || !0) ? Symbol.toStringTag : null, Rr = Object.prototype.propertyIsEnumerable, lr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
|
|
8
|
+
return r.__proto__;
|
|
9
|
+
} : null);
|
|
10
|
+
function ur(r, e) {
|
|
11
|
+
if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || Ir.call(/e/, e))
|
|
12
|
+
return e;
|
|
13
|
+
var n = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
14
|
+
if (typeof r == "number") {
|
|
15
|
+
var t = r < 0 ? -fr(-r) : fr(r);
|
|
16
|
+
if (t !== r) {
|
|
17
|
+
var a = String(t), o = je.call(e, a.length + 1);
|
|
18
|
+
return M.call(a, n, "$&_") + "." + M.call(M.call(o, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return M.call(e, n, "$&_");
|
|
22
|
+
}
|
|
23
|
+
var He = at, cr = He.custom, pr = Dr(cr) ? cr : null, _r = {
|
|
24
|
+
__proto__: null,
|
|
25
|
+
double: '"',
|
|
26
|
+
single: "'"
|
|
27
|
+
}, dt = {
|
|
28
|
+
__proto__: null,
|
|
29
|
+
double: /(["\\])/g,
|
|
30
|
+
single: /(['\\])/g
|
|
31
|
+
}, ge = function r(e, n, t, a) {
|
|
32
|
+
var o = n || {};
|
|
33
|
+
if (x(o, "quoteStyle") && !x(_r, o.quoteStyle))
|
|
34
|
+
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
35
|
+
if (x(o, "maxStringLength") && (typeof o.maxStringLength == "number" ? o.maxStringLength < 0 && o.maxStringLength !== 1 / 0 : o.maxStringLength !== null))
|
|
36
|
+
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
37
|
+
var i = x(o, "customInspect") ? o.customInspect : !0;
|
|
38
|
+
if (typeof i != "boolean" && i !== "symbol")
|
|
39
|
+
throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
40
|
+
if (x(o, "indent") && o.indent !== null && o.indent !== " " && !(parseInt(o.indent, 10) === o.indent && o.indent > 0))
|
|
41
|
+
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
42
|
+
if (x(o, "numericSeparator") && typeof o.numericSeparator != "boolean")
|
|
43
|
+
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
44
|
+
var u = o.numericSeparator;
|
|
45
|
+
if (typeof e > "u")
|
|
46
|
+
return "undefined";
|
|
47
|
+
if (e === null)
|
|
48
|
+
return "null";
|
|
49
|
+
if (typeof e == "boolean")
|
|
50
|
+
return e ? "true" : "false";
|
|
51
|
+
if (typeof e == "string")
|
|
52
|
+
return Nr(e, o);
|
|
53
|
+
if (typeof e == "number") {
|
|
54
|
+
if (e === 0)
|
|
55
|
+
return 1 / 0 / e > 0 ? "0" : "-0";
|
|
56
|
+
var f = String(e);
|
|
57
|
+
return u ? ur(e, f) : f;
|
|
58
|
+
}
|
|
59
|
+
if (typeof e == "bigint") {
|
|
60
|
+
var p = String(e) + "n";
|
|
61
|
+
return u ? ur(e, p) : p;
|
|
62
|
+
}
|
|
63
|
+
var c = typeof o.depth > "u" ? 5 : o.depth;
|
|
64
|
+
if (typeof t > "u" && (t = 0), t >= c && c > 0 && typeof e == "object")
|
|
65
|
+
return ze(e) ? "[Array]" : "[Object]";
|
|
66
|
+
var y = Dt(o, t);
|
|
67
|
+
if (typeof a > "u")
|
|
68
|
+
a = [];
|
|
69
|
+
else if (Mr(a, e) >= 0)
|
|
70
|
+
return "[Circular]";
|
|
71
|
+
function l(A, D, $) {
|
|
72
|
+
if (D && (a = st.call(a), a.push(D)), $) {
|
|
73
|
+
var Y = {
|
|
74
|
+
depth: o.depth
|
|
75
|
+
};
|
|
76
|
+
return x(o, "quoteStyle") && (Y.quoteStyle = o.quoteStyle), r(A, Y, t + 1, a);
|
|
77
|
+
}
|
|
78
|
+
return r(A, o, t + 1, a);
|
|
79
|
+
}
|
|
80
|
+
if (typeof e == "function" && !yr(e)) {
|
|
81
|
+
var h = Ot(e), v = ue(e, l);
|
|
82
|
+
return "[Function" + (h ? ": " + h : " (anonymous)") + "]" + (v.length > 0 ? " { " + P.call(v, ", ") + " }" : "");
|
|
83
|
+
}
|
|
84
|
+
if (Dr(e)) {
|
|
85
|
+
var w = Q ? M.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : ke.call(e);
|
|
86
|
+
return typeof e == "object" && !Q ? X(w) : w;
|
|
87
|
+
}
|
|
88
|
+
if (Rt(e)) {
|
|
89
|
+
for (var b = "<" + or.call(String(e.nodeName)), I = e.attributes || [], R = 0; R < I.length; R++)
|
|
90
|
+
b += " " + I[R].name + "=" + Fr(vt(I[R].value), "double", o);
|
|
91
|
+
return b += ">", e.childNodes && e.childNodes.length && (b += "..."), b += "</" + or.call(String(e.nodeName)) + ">", b;
|
|
92
|
+
}
|
|
93
|
+
if (ze(e)) {
|
|
94
|
+
if (e.length === 0)
|
|
95
|
+
return "[]";
|
|
96
|
+
var d = ue(e, l);
|
|
97
|
+
return y && !Ft(d) ? "[" + Ke(d, y) + "]" : "[ " + P.call(d, ", ") + " ]";
|
|
98
|
+
}
|
|
99
|
+
if (mt(e)) {
|
|
100
|
+
var _ = ue(e, l);
|
|
101
|
+
return !("cause" in Error.prototype) && "cause" in e && !Rr.call(e, "cause") ? "{ [" + String(e) + "] " + P.call(ir.call("[cause]: " + l(e.cause), _), ", ") + " }" : _.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + P.call(_, ", ") + " }";
|
|
102
|
+
}
|
|
103
|
+
if (typeof e == "object" && i) {
|
|
104
|
+
if (pr && typeof e[pr] == "function" && He)
|
|
105
|
+
return He(e, { depth: c - t });
|
|
106
|
+
if (i !== "symbol" && typeof e.inspect == "function")
|
|
107
|
+
return e.inspect();
|
|
108
|
+
}
|
|
109
|
+
if (Et(e)) {
|
|
110
|
+
var T = [];
|
|
111
|
+
return tr && tr.call(e, function(A, D) {
|
|
112
|
+
T.push(l(D, e, !0) + " => " + l(A, e));
|
|
113
|
+
}), sr("Map", de.call(e), T, y);
|
|
114
|
+
}
|
|
115
|
+
if (xt(e)) {
|
|
116
|
+
var j = [];
|
|
117
|
+
return nr && nr.call(e, function(A) {
|
|
118
|
+
j.push(l(A, e));
|
|
119
|
+
}), sr("Set", ve.call(e), j, y);
|
|
120
|
+
}
|
|
121
|
+
if (Pt(e))
|
|
122
|
+
return xe("WeakMap");
|
|
123
|
+
if (It(e))
|
|
124
|
+
return xe("WeakSet");
|
|
125
|
+
if ($t(e))
|
|
126
|
+
return xe("WeakRef");
|
|
127
|
+
if (St(e))
|
|
128
|
+
return X(l(Number(e)));
|
|
129
|
+
if (bt(e))
|
|
130
|
+
return X(l(qe.call(e)));
|
|
131
|
+
if (wt(e))
|
|
132
|
+
return X(lt.call(e));
|
|
133
|
+
if (gt(e))
|
|
134
|
+
return X(l(String(e)));
|
|
135
|
+
if (typeof window < "u" && e === window)
|
|
136
|
+
return "{ [object Window] }";
|
|
137
|
+
if (typeof globalThis < "u" && e === globalThis || typeof rr < "u" && e === rr)
|
|
138
|
+
return "{ [object globalThis] }";
|
|
139
|
+
if (!ht(e) && !yr(e)) {
|
|
140
|
+
var G = ue(e, l), fe = lr ? lr(e) === Object.prototype : e instanceof Object || e.constructor === Object, C = e instanceof Object ? "" : "null prototype", F = !fe && re && Object(e) === e && re in e ? je.call(N(e), 8, -1) : C ? "Object" : "", le = fe || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", q = le + (F || C ? "[" + P.call(ir.call([], F || [], C || []), ": ") + "] " : "");
|
|
141
|
+
return G.length === 0 ? q + "{}" : y ? q + "{" + Ke(G, y) + "}" : q + "{ " + P.call(G, ", ") + " }";
|
|
142
|
+
}
|
|
143
|
+
return String(e);
|
|
144
|
+
};
|
|
145
|
+
function Fr(r, e, n) {
|
|
146
|
+
var t = n.quoteStyle || e, a = _r[t];
|
|
147
|
+
return a + r + a;
|
|
148
|
+
}
|
|
149
|
+
function vt(r) {
|
|
150
|
+
return M.call(String(r), /"/g, """);
|
|
151
|
+
}
|
|
152
|
+
function U(r) {
|
|
153
|
+
return !re || !(typeof r == "object" && (re in r || typeof r[re] < "u"));
|
|
154
|
+
}
|
|
155
|
+
function ze(r) {
|
|
156
|
+
return N(r) === "[object Array]" && U(r);
|
|
157
|
+
}
|
|
158
|
+
function ht(r) {
|
|
159
|
+
return N(r) === "[object Date]" && U(r);
|
|
160
|
+
}
|
|
161
|
+
function yr(r) {
|
|
162
|
+
return N(r) === "[object RegExp]" && U(r);
|
|
163
|
+
}
|
|
164
|
+
function mt(r) {
|
|
165
|
+
return N(r) === "[object Error]" && U(r);
|
|
166
|
+
}
|
|
167
|
+
function gt(r) {
|
|
168
|
+
return N(r) === "[object String]" && U(r);
|
|
169
|
+
}
|
|
170
|
+
function St(r) {
|
|
171
|
+
return N(r) === "[object Number]" && U(r);
|
|
172
|
+
}
|
|
173
|
+
function wt(r) {
|
|
174
|
+
return N(r) === "[object Boolean]" && U(r);
|
|
175
|
+
}
|
|
176
|
+
function Dr(r) {
|
|
177
|
+
if (Q)
|
|
178
|
+
return r && typeof r == "object" && r instanceof Symbol;
|
|
179
|
+
if (typeof r == "symbol")
|
|
180
|
+
return !0;
|
|
181
|
+
if (!r || typeof r != "object" || !ke)
|
|
182
|
+
return !1;
|
|
183
|
+
try {
|
|
184
|
+
return ke.call(r), !0;
|
|
185
|
+
} catch {
|
|
186
|
+
}
|
|
187
|
+
return !1;
|
|
188
|
+
}
|
|
189
|
+
function bt(r) {
|
|
190
|
+
if (!r || typeof r != "object" || !qe)
|
|
191
|
+
return !1;
|
|
192
|
+
try {
|
|
193
|
+
return qe.call(r), !0;
|
|
194
|
+
} catch {
|
|
195
|
+
}
|
|
196
|
+
return !1;
|
|
197
|
+
}
|
|
198
|
+
var At = Object.prototype.hasOwnProperty || function(r) {
|
|
199
|
+
return r in this;
|
|
200
|
+
};
|
|
201
|
+
function x(r, e) {
|
|
202
|
+
return At.call(r, e);
|
|
203
|
+
}
|
|
204
|
+
function N(r) {
|
|
205
|
+
return ut.call(r);
|
|
206
|
+
}
|
|
207
|
+
function Ot(r) {
|
|
208
|
+
if (r.name)
|
|
209
|
+
return r.name;
|
|
210
|
+
var e = pt.call(ct.call(r), /^function\s*([\w$]+)/);
|
|
211
|
+
return e ? e[1] : null;
|
|
212
|
+
}
|
|
213
|
+
function Mr(r, e) {
|
|
214
|
+
if (r.indexOf)
|
|
215
|
+
return r.indexOf(e);
|
|
216
|
+
for (var n = 0, t = r.length; n < t; n++)
|
|
217
|
+
if (r[n] === e)
|
|
218
|
+
return n;
|
|
219
|
+
return -1;
|
|
220
|
+
}
|
|
221
|
+
function Et(r) {
|
|
222
|
+
if (!de || !r || typeof r != "object")
|
|
223
|
+
return !1;
|
|
224
|
+
try {
|
|
225
|
+
de.call(r);
|
|
226
|
+
try {
|
|
227
|
+
ve.call(r);
|
|
228
|
+
} catch {
|
|
229
|
+
return !0;
|
|
230
|
+
}
|
|
231
|
+
return r instanceof Map;
|
|
232
|
+
} catch {
|
|
233
|
+
}
|
|
234
|
+
return !1;
|
|
235
|
+
}
|
|
236
|
+
function Pt(r) {
|
|
237
|
+
if (!Z || !r || typeof r != "object")
|
|
238
|
+
return !1;
|
|
239
|
+
try {
|
|
240
|
+
Z.call(r, Z);
|
|
241
|
+
try {
|
|
242
|
+
ee.call(r, ee);
|
|
243
|
+
} catch {
|
|
244
|
+
return !0;
|
|
245
|
+
}
|
|
246
|
+
return r instanceof WeakMap;
|
|
247
|
+
} catch {
|
|
248
|
+
}
|
|
249
|
+
return !1;
|
|
250
|
+
}
|
|
251
|
+
function $t(r) {
|
|
252
|
+
if (!ar || !r || typeof r != "object")
|
|
253
|
+
return !1;
|
|
254
|
+
try {
|
|
255
|
+
return ar.call(r), !0;
|
|
256
|
+
} catch {
|
|
257
|
+
}
|
|
258
|
+
return !1;
|
|
259
|
+
}
|
|
260
|
+
function xt(r) {
|
|
261
|
+
if (!ve || !r || typeof r != "object")
|
|
262
|
+
return !1;
|
|
263
|
+
try {
|
|
264
|
+
ve.call(r);
|
|
265
|
+
try {
|
|
266
|
+
de.call(r);
|
|
267
|
+
} catch {
|
|
268
|
+
return !0;
|
|
269
|
+
}
|
|
270
|
+
return r instanceof Set;
|
|
271
|
+
} catch {
|
|
272
|
+
}
|
|
273
|
+
return !1;
|
|
274
|
+
}
|
|
275
|
+
function It(r) {
|
|
276
|
+
if (!ee || !r || typeof r != "object")
|
|
277
|
+
return !1;
|
|
278
|
+
try {
|
|
279
|
+
ee.call(r, ee);
|
|
280
|
+
try {
|
|
281
|
+
Z.call(r, Z);
|
|
282
|
+
} catch {
|
|
283
|
+
return !0;
|
|
284
|
+
}
|
|
285
|
+
return r instanceof WeakSet;
|
|
286
|
+
} catch {
|
|
287
|
+
}
|
|
288
|
+
return !1;
|
|
289
|
+
}
|
|
290
|
+
function Rt(r) {
|
|
291
|
+
return !r || typeof r != "object" ? !1 : typeof HTMLElement < "u" && r instanceof HTMLElement ? !0 : typeof r.nodeName == "string" && typeof r.getAttribute == "function";
|
|
292
|
+
}
|
|
293
|
+
function Nr(r, e) {
|
|
294
|
+
if (r.length > e.maxStringLength) {
|
|
295
|
+
var n = r.length - e.maxStringLength, t = "... " + n + " more character" + (n > 1 ? "s" : "");
|
|
296
|
+
return Nr(je.call(r, 0, e.maxStringLength), e) + t;
|
|
297
|
+
}
|
|
298
|
+
var a = dt[e.quoteStyle || "single"];
|
|
299
|
+
a.lastIndex = 0;
|
|
300
|
+
var o = M.call(M.call(r, a, "\\$1"), /[\x00-\x1f]/g, _t);
|
|
301
|
+
return Fr(o, "single", e);
|
|
302
|
+
}
|
|
303
|
+
function _t(r) {
|
|
304
|
+
var e = r.charCodeAt(0), n = {
|
|
305
|
+
8: "b",
|
|
306
|
+
9: "t",
|
|
307
|
+
10: "n",
|
|
308
|
+
12: "f",
|
|
309
|
+
13: "r"
|
|
310
|
+
}[e];
|
|
311
|
+
return n ? "\\" + n : "\\x" + (e < 16 ? "0" : "") + yt.call(e.toString(16));
|
|
312
|
+
}
|
|
313
|
+
function X(r) {
|
|
314
|
+
return "Object(" + r + ")";
|
|
315
|
+
}
|
|
316
|
+
function xe(r) {
|
|
317
|
+
return r + " { ? }";
|
|
318
|
+
}
|
|
319
|
+
function sr(r, e, n, t) {
|
|
320
|
+
var a = t ? Ke(n, t) : P.call(n, ", ");
|
|
321
|
+
return r + " (" + e + ") {" + a + "}";
|
|
322
|
+
}
|
|
323
|
+
function Ft(r) {
|
|
324
|
+
for (var e = 0; e < r.length; e++)
|
|
325
|
+
if (Mr(r[e], `
|
|
326
|
+
`) >= 0)
|
|
327
|
+
return !1;
|
|
328
|
+
return !0;
|
|
329
|
+
}
|
|
330
|
+
function Dt(r, e) {
|
|
331
|
+
var n;
|
|
332
|
+
if (r.indent === " ")
|
|
333
|
+
n = " ";
|
|
334
|
+
else if (typeof r.indent == "number" && r.indent > 0)
|
|
335
|
+
n = P.call(Array(r.indent + 1), " ");
|
|
336
|
+
else
|
|
337
|
+
return null;
|
|
338
|
+
return {
|
|
339
|
+
base: n,
|
|
340
|
+
prev: P.call(Array(e + 1), n)
|
|
341
|
+
};
|
|
342
|
+
}
|
|
343
|
+
function Ke(r, e) {
|
|
344
|
+
if (r.length === 0)
|
|
345
|
+
return "";
|
|
346
|
+
var n = `
|
|
347
|
+
` + e.prev + e.base;
|
|
348
|
+
return n + P.call(r, "," + n) + `
|
|
349
|
+
` + e.prev;
|
|
350
|
+
}
|
|
351
|
+
function ue(r, e) {
|
|
352
|
+
var n = ze(r), t = [];
|
|
353
|
+
if (n) {
|
|
354
|
+
t.length = r.length;
|
|
355
|
+
for (var a = 0; a < r.length; a++)
|
|
356
|
+
t[a] = x(r, a) ? e(r[a], r) : "";
|
|
357
|
+
}
|
|
358
|
+
var o = typeof $e == "function" ? $e(r) : [], i;
|
|
359
|
+
if (Q) {
|
|
360
|
+
i = {};
|
|
361
|
+
for (var u = 0; u < o.length; u++)
|
|
362
|
+
i["$" + o[u]] = o[u];
|
|
363
|
+
}
|
|
364
|
+
for (var f in r)
|
|
365
|
+
x(r, f) && (n && String(Number(f)) === f && f < r.length || Q && i["$" + f] instanceof Symbol || (Ir.call(/[^\w$]/, f) ? t.push(e(f, r) + ": " + e(r[f], r)) : t.push(f + ": " + e(r[f], r))));
|
|
366
|
+
if (typeof $e == "function")
|
|
367
|
+
for (var p = 0; p < o.length; p++)
|
|
368
|
+
Rr.call(r, o[p]) && t.push("[" + e(o[p]) + "]: " + e(r[o[p]], r));
|
|
369
|
+
return t;
|
|
370
|
+
}
|
|
371
|
+
var Mt = ge, Nt = J, Se = function(r, e, n) {
|
|
372
|
+
for (var t = r, a; (a = t.next) != null; t = a)
|
|
373
|
+
if (a.key === e)
|
|
374
|
+
return t.next = a.next, n || (a.next = /** @type {NonNullable<typeof list.next>} */
|
|
375
|
+
r.next, r.next = a), a;
|
|
376
|
+
}, Tt = function(r, e) {
|
|
377
|
+
if (r) {
|
|
378
|
+
var n = Se(r, e);
|
|
379
|
+
return n && n.value;
|
|
380
|
+
}
|
|
381
|
+
}, Ct = function(r, e, n) {
|
|
382
|
+
var t = Se(r, e);
|
|
383
|
+
t ? t.value = n : r.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
|
|
384
|
+
{
|
|
385
|
+
// eslint-disable-line no-param-reassign, no-extra-parens
|
|
386
|
+
key: e,
|
|
387
|
+
next: r.next,
|
|
388
|
+
value: n
|
|
389
|
+
};
|
|
390
|
+
}, Bt = function(r, e) {
|
|
391
|
+
return r ? !!Se(r, e) : !1;
|
|
392
|
+
}, Lt = function(r, e) {
|
|
393
|
+
if (r)
|
|
394
|
+
return Se(r, e, !0);
|
|
395
|
+
}, Wt = function() {
|
|
396
|
+
var e, n = {
|
|
397
|
+
assert: function(t) {
|
|
398
|
+
if (!n.has(t))
|
|
399
|
+
throw new Nt("Side channel does not contain " + Mt(t));
|
|
400
|
+
},
|
|
401
|
+
delete: function(t) {
|
|
402
|
+
var a = e && e.next, o = Lt(e, t);
|
|
403
|
+
return o && a && a === o && (e = void 0), !!o;
|
|
404
|
+
},
|
|
405
|
+
get: function(t) {
|
|
406
|
+
return Tt(e, t);
|
|
407
|
+
},
|
|
408
|
+
has: function(t) {
|
|
409
|
+
return Bt(e, t);
|
|
410
|
+
},
|
|
411
|
+
set: function(t, a) {
|
|
412
|
+
e || (e = {
|
|
413
|
+
next: void 0
|
|
414
|
+
}), Ct(
|
|
415
|
+
/** @type {NonNullable<typeof $o>} */
|
|
416
|
+
e,
|
|
417
|
+
t,
|
|
418
|
+
a
|
|
419
|
+
);
|
|
420
|
+
}
|
|
421
|
+
};
|
|
422
|
+
return n;
|
|
423
|
+
}, Tr = Object, Ut = Error, Gt = EvalError, qt = RangeError, kt = ReferenceError, Ht = SyntaxError, zt = URIError, Kt = Math.abs, Qt = Math.floor, Vt = Math.max, Jt = Math.min, jt = Math.pow, Yt = Math.round, Xt = Number.isNaN || function(e) {
|
|
424
|
+
return e !== e;
|
|
425
|
+
}, Zt = Xt, en = function(e) {
|
|
426
|
+
return Zt(e) || e === 0 ? e : e < 0 ? -1 : 1;
|
|
427
|
+
}, rn = Object.getOwnPropertyDescriptor, pe = rn;
|
|
428
|
+
if (pe)
|
|
429
|
+
try {
|
|
430
|
+
pe([], "length");
|
|
431
|
+
} catch {
|
|
432
|
+
pe = null;
|
|
433
|
+
}
|
|
434
|
+
var Cr = pe, ye = Object.defineProperty || !1;
|
|
435
|
+
if (ye)
|
|
436
|
+
try {
|
|
437
|
+
ye({}, "a", { value: 1 });
|
|
438
|
+
} catch {
|
|
439
|
+
ye = !1;
|
|
440
|
+
}
|
|
441
|
+
var tn = ye, Ie, dr;
|
|
442
|
+
function nn() {
|
|
443
|
+
return dr || (dr = 1, Ie = function() {
|
|
444
|
+
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
445
|
+
return !1;
|
|
446
|
+
if (typeof Symbol.iterator == "symbol")
|
|
447
|
+
return !0;
|
|
448
|
+
var e = {}, n = Symbol("test"), t = Object(n);
|
|
449
|
+
if (typeof n == "string" || Object.prototype.toString.call(n) !== "[object Symbol]" || Object.prototype.toString.call(t) !== "[object Symbol]")
|
|
450
|
+
return !1;
|
|
451
|
+
var a = 42;
|
|
452
|
+
e[n] = a;
|
|
453
|
+
for (var o in e)
|
|
454
|
+
return !1;
|
|
455
|
+
if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0)
|
|
456
|
+
return !1;
|
|
457
|
+
var i = Object.getOwnPropertySymbols(e);
|
|
458
|
+
if (i.length !== 1 || i[0] !== n || !Object.prototype.propertyIsEnumerable.call(e, n))
|
|
459
|
+
return !1;
|
|
460
|
+
if (typeof Object.getOwnPropertyDescriptor == "function") {
|
|
461
|
+
var u = (
|
|
462
|
+
/** @type {PropertyDescriptor} */
|
|
463
|
+
Object.getOwnPropertyDescriptor(e, n)
|
|
464
|
+
);
|
|
465
|
+
if (u.value !== a || u.enumerable !== !0)
|
|
466
|
+
return !1;
|
|
467
|
+
}
|
|
468
|
+
return !0;
|
|
469
|
+
}), Ie;
|
|
470
|
+
}
|
|
471
|
+
var Re, vr;
|
|
472
|
+
function an() {
|
|
473
|
+
if (vr) return Re;
|
|
474
|
+
vr = 1;
|
|
475
|
+
var r = typeof Symbol < "u" && Symbol, e = nn();
|
|
476
|
+
return Re = function() {
|
|
477
|
+
return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
|
|
478
|
+
}, Re;
|
|
479
|
+
}
|
|
480
|
+
var _e, hr;
|
|
481
|
+
function Br() {
|
|
482
|
+
return hr || (hr = 1, _e = typeof Reflect < "u" && Reflect.getPrototypeOf || null), _e;
|
|
483
|
+
}
|
|
484
|
+
var Fe, mr;
|
|
485
|
+
function Lr() {
|
|
486
|
+
if (mr) return Fe;
|
|
487
|
+
mr = 1;
|
|
488
|
+
var r = Tr;
|
|
489
|
+
return Fe = r.getPrototypeOf || null, Fe;
|
|
490
|
+
}
|
|
491
|
+
var on = "Function.prototype.bind called on incompatible ", fn = Object.prototype.toString, ln = Math.max, un = "[object Function]", gr = function(e, n) {
|
|
492
|
+
for (var t = [], a = 0; a < e.length; a += 1)
|
|
493
|
+
t[a] = e[a];
|
|
494
|
+
for (var o = 0; o < n.length; o += 1)
|
|
495
|
+
t[o + e.length] = n[o];
|
|
496
|
+
return t;
|
|
497
|
+
}, cn = function(e, n) {
|
|
498
|
+
for (var t = [], a = n, o = 0; a < e.length; a += 1, o += 1)
|
|
499
|
+
t[o] = e[a];
|
|
500
|
+
return t;
|
|
501
|
+
}, pn = function(r, e) {
|
|
502
|
+
for (var n = "", t = 0; t < r.length; t += 1)
|
|
503
|
+
n += r[t], t + 1 < r.length && (n += e);
|
|
504
|
+
return n;
|
|
505
|
+
}, yn = function(e) {
|
|
506
|
+
var n = this;
|
|
507
|
+
if (typeof n != "function" || fn.apply(n) !== un)
|
|
508
|
+
throw new TypeError(on + n);
|
|
509
|
+
for (var t = cn(arguments, 1), a, o = function() {
|
|
510
|
+
if (this instanceof a) {
|
|
511
|
+
var c = n.apply(
|
|
512
|
+
this,
|
|
513
|
+
gr(t, arguments)
|
|
514
|
+
);
|
|
515
|
+
return Object(c) === c ? c : this;
|
|
516
|
+
}
|
|
517
|
+
return n.apply(
|
|
518
|
+
e,
|
|
519
|
+
gr(t, arguments)
|
|
520
|
+
);
|
|
521
|
+
}, i = ln(0, n.length - t.length), u = [], f = 0; f < i; f++)
|
|
522
|
+
u[f] = "$" + f;
|
|
523
|
+
if (a = Function("binder", "return function (" + pn(u, ",") + "){ return binder.apply(this,arguments); }")(o), n.prototype) {
|
|
524
|
+
var p = function() {
|
|
525
|
+
};
|
|
526
|
+
p.prototype = n.prototype, a.prototype = new p(), p.prototype = null;
|
|
527
|
+
}
|
|
528
|
+
return a;
|
|
529
|
+
}, sn = yn, we = Function.prototype.bind || sn, Ye = Function.prototype.call, De, Sr;
|
|
530
|
+
function Wr() {
|
|
531
|
+
return Sr || (Sr = 1, De = Function.prototype.apply), De;
|
|
532
|
+
}
|
|
533
|
+
var dn = typeof Reflect < "u" && Reflect && Reflect.apply, vn = we, hn = Wr(), mn = Ye, gn = dn, Sn = gn || vn.call(mn, hn), wn = we, bn = J, An = Ye, On = Sn, Ur = function(e) {
|
|
534
|
+
if (e.length < 1 || typeof e[0] != "function")
|
|
535
|
+
throw new bn("a function is required");
|
|
536
|
+
return On(wn, An, e);
|
|
537
|
+
}, Me, wr;
|
|
538
|
+
function En() {
|
|
539
|
+
if (wr) return Me;
|
|
540
|
+
wr = 1;
|
|
541
|
+
var r = Ur, e = Cr, n;
|
|
542
|
+
try {
|
|
543
|
+
n = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
544
|
+
[].__proto__ === Array.prototype;
|
|
545
|
+
} catch (i) {
|
|
546
|
+
if (!i || typeof i != "object" || !("code" in i) || i.code !== "ERR_PROTO_ACCESS")
|
|
547
|
+
throw i;
|
|
548
|
+
}
|
|
549
|
+
var t = !!n && e && e(
|
|
550
|
+
Object.prototype,
|
|
551
|
+
/** @type {keyof typeof Object.prototype} */
|
|
552
|
+
"__proto__"
|
|
553
|
+
), a = Object, o = a.getPrototypeOf;
|
|
554
|
+
return Me = t && typeof t.get == "function" ? r([t.get]) : typeof o == "function" ? (
|
|
555
|
+
/** @type {import('./get')} */
|
|
556
|
+
function(u) {
|
|
557
|
+
return o(u == null ? u : a(u));
|
|
558
|
+
}
|
|
559
|
+
) : !1, Me;
|
|
560
|
+
}
|
|
561
|
+
var Ne, br;
|
|
562
|
+
function Pn() {
|
|
563
|
+
if (br) return Ne;
|
|
564
|
+
br = 1;
|
|
565
|
+
var r = Br(), e = Lr(), n = En();
|
|
566
|
+
return Ne = r ? function(a) {
|
|
567
|
+
return r(a);
|
|
568
|
+
} : e ? function(a) {
|
|
569
|
+
if (!a || typeof a != "object" && typeof a != "function")
|
|
570
|
+
throw new TypeError("getProto: not an object");
|
|
571
|
+
return e(a);
|
|
572
|
+
} : n ? function(a) {
|
|
573
|
+
return n(a);
|
|
574
|
+
} : null, Ne;
|
|
575
|
+
}
|
|
576
|
+
var Te, Ar;
|
|
577
|
+
function $n() {
|
|
578
|
+
if (Ar) return Te;
|
|
579
|
+
Ar = 1;
|
|
580
|
+
var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, n = we;
|
|
581
|
+
return Te = n.call(r, e), Te;
|
|
582
|
+
}
|
|
583
|
+
var s, xn = Tr, In = Ut, Rn = Gt, _n = qt, Fn = kt, V = Ht, K = J, Dn = zt, Mn = Kt, Nn = Qt, Tn = Vt, Cn = Jt, Bn = jt, Ln = Yt, Wn = en, Gr = Function, Ce = function(r) {
|
|
584
|
+
try {
|
|
585
|
+
return Gr('"use strict"; return (' + r + ").constructor;")();
|
|
586
|
+
} catch {
|
|
587
|
+
}
|
|
588
|
+
}, ne = Cr, Un = tn, Be = function() {
|
|
589
|
+
throw new K();
|
|
590
|
+
}, Gn = ne ? function() {
|
|
591
|
+
try {
|
|
592
|
+
return arguments.callee, Be;
|
|
593
|
+
} catch {
|
|
594
|
+
try {
|
|
595
|
+
return ne(arguments, "callee").get;
|
|
596
|
+
} catch {
|
|
597
|
+
return Be;
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
}() : Be, k = an()(), S = Pn(), qn = Lr(), kn = Br(), qr = Wr(), ae = Ye, z = {}, Hn = typeof Uint8Array > "u" || !S ? s : S(Uint8Array), L = {
|
|
601
|
+
__proto__: null,
|
|
602
|
+
"%AggregateError%": typeof AggregateError > "u" ? s : AggregateError,
|
|
603
|
+
"%Array%": Array,
|
|
604
|
+
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? s : ArrayBuffer,
|
|
605
|
+
"%ArrayIteratorPrototype%": k && S ? S([][Symbol.iterator]()) : s,
|
|
606
|
+
"%AsyncFromSyncIteratorPrototype%": s,
|
|
607
|
+
"%AsyncFunction%": z,
|
|
608
|
+
"%AsyncGenerator%": z,
|
|
609
|
+
"%AsyncGeneratorFunction%": z,
|
|
610
|
+
"%AsyncIteratorPrototype%": z,
|
|
611
|
+
"%Atomics%": typeof Atomics > "u" ? s : Atomics,
|
|
612
|
+
"%BigInt%": typeof BigInt > "u" ? s : BigInt,
|
|
613
|
+
"%BigInt64Array%": typeof BigInt64Array > "u" ? s : BigInt64Array,
|
|
614
|
+
"%BigUint64Array%": typeof BigUint64Array > "u" ? s : BigUint64Array,
|
|
615
|
+
"%Boolean%": Boolean,
|
|
616
|
+
"%DataView%": typeof DataView > "u" ? s : DataView,
|
|
617
|
+
"%Date%": Date,
|
|
618
|
+
"%decodeURI%": decodeURI,
|
|
619
|
+
"%decodeURIComponent%": decodeURIComponent,
|
|
620
|
+
"%encodeURI%": encodeURI,
|
|
621
|
+
"%encodeURIComponent%": encodeURIComponent,
|
|
622
|
+
"%Error%": In,
|
|
623
|
+
"%eval%": eval,
|
|
624
|
+
// eslint-disable-line no-eval
|
|
625
|
+
"%EvalError%": Rn,
|
|
626
|
+
"%Float16Array%": typeof Float16Array > "u" ? s : Float16Array,
|
|
627
|
+
"%Float32Array%": typeof Float32Array > "u" ? s : Float32Array,
|
|
628
|
+
"%Float64Array%": typeof Float64Array > "u" ? s : Float64Array,
|
|
629
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? s : FinalizationRegistry,
|
|
630
|
+
"%Function%": Gr,
|
|
631
|
+
"%GeneratorFunction%": z,
|
|
632
|
+
"%Int8Array%": typeof Int8Array > "u" ? s : Int8Array,
|
|
633
|
+
"%Int16Array%": typeof Int16Array > "u" ? s : Int16Array,
|
|
634
|
+
"%Int32Array%": typeof Int32Array > "u" ? s : Int32Array,
|
|
635
|
+
"%isFinite%": isFinite,
|
|
636
|
+
"%isNaN%": isNaN,
|
|
637
|
+
"%IteratorPrototype%": k && S ? S(S([][Symbol.iterator]())) : s,
|
|
638
|
+
"%JSON%": typeof JSON == "object" ? JSON : s,
|
|
639
|
+
"%Map%": typeof Map > "u" ? s : Map,
|
|
640
|
+
"%MapIteratorPrototype%": typeof Map > "u" || !k || !S ? s : S((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
641
|
+
"%Math%": Math,
|
|
642
|
+
"%Number%": Number,
|
|
643
|
+
"%Object%": xn,
|
|
644
|
+
"%Object.getOwnPropertyDescriptor%": ne,
|
|
645
|
+
"%parseFloat%": parseFloat,
|
|
646
|
+
"%parseInt%": parseInt,
|
|
647
|
+
"%Promise%": typeof Promise > "u" ? s : Promise,
|
|
648
|
+
"%Proxy%": typeof Proxy > "u" ? s : Proxy,
|
|
649
|
+
"%RangeError%": _n,
|
|
650
|
+
"%ReferenceError%": Fn,
|
|
651
|
+
"%Reflect%": typeof Reflect > "u" ? s : Reflect,
|
|
652
|
+
"%RegExp%": RegExp,
|
|
653
|
+
"%Set%": typeof Set > "u" ? s : Set,
|
|
654
|
+
"%SetIteratorPrototype%": typeof Set > "u" || !k || !S ? s : S((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
655
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? s : SharedArrayBuffer,
|
|
656
|
+
"%String%": String,
|
|
657
|
+
"%StringIteratorPrototype%": k && S ? S(""[Symbol.iterator]()) : s,
|
|
658
|
+
"%Symbol%": k ? Symbol : s,
|
|
659
|
+
"%SyntaxError%": V,
|
|
660
|
+
"%ThrowTypeError%": Gn,
|
|
661
|
+
"%TypedArray%": Hn,
|
|
662
|
+
"%TypeError%": K,
|
|
663
|
+
"%Uint8Array%": typeof Uint8Array > "u" ? s : Uint8Array,
|
|
664
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? s : Uint8ClampedArray,
|
|
665
|
+
"%Uint16Array%": typeof Uint16Array > "u" ? s : Uint16Array,
|
|
666
|
+
"%Uint32Array%": typeof Uint32Array > "u" ? s : Uint32Array,
|
|
667
|
+
"%URIError%": Dn,
|
|
668
|
+
"%WeakMap%": typeof WeakMap > "u" ? s : WeakMap,
|
|
669
|
+
"%WeakRef%": typeof WeakRef > "u" ? s : WeakRef,
|
|
670
|
+
"%WeakSet%": typeof WeakSet > "u" ? s : WeakSet,
|
|
671
|
+
"%Function.prototype.call%": ae,
|
|
672
|
+
"%Function.prototype.apply%": qr,
|
|
673
|
+
"%Object.defineProperty%": Un,
|
|
674
|
+
"%Object.getPrototypeOf%": qn,
|
|
675
|
+
"%Math.abs%": Mn,
|
|
676
|
+
"%Math.floor%": Nn,
|
|
677
|
+
"%Math.max%": Tn,
|
|
678
|
+
"%Math.min%": Cn,
|
|
679
|
+
"%Math.pow%": Bn,
|
|
680
|
+
"%Math.round%": Ln,
|
|
681
|
+
"%Math.sign%": Wn,
|
|
682
|
+
"%Reflect.getPrototypeOf%": kn
|
|
683
|
+
};
|
|
684
|
+
if (S)
|
|
685
|
+
try {
|
|
686
|
+
null.error;
|
|
687
|
+
} catch (r) {
|
|
688
|
+
var zn = S(S(r));
|
|
689
|
+
L["%Error.prototype%"] = zn;
|
|
690
|
+
}
|
|
691
|
+
var Kn = function r(e) {
|
|
692
|
+
var n;
|
|
693
|
+
if (e === "%AsyncFunction%")
|
|
694
|
+
n = Ce("async function () {}");
|
|
695
|
+
else if (e === "%GeneratorFunction%")
|
|
696
|
+
n = Ce("function* () {}");
|
|
697
|
+
else if (e === "%AsyncGeneratorFunction%")
|
|
698
|
+
n = Ce("async function* () {}");
|
|
699
|
+
else if (e === "%AsyncGenerator%") {
|
|
700
|
+
var t = r("%AsyncGeneratorFunction%");
|
|
701
|
+
t && (n = t.prototype);
|
|
702
|
+
} else if (e === "%AsyncIteratorPrototype%") {
|
|
703
|
+
var a = r("%AsyncGenerator%");
|
|
704
|
+
a && S && (n = S(a.prototype));
|
|
705
|
+
}
|
|
706
|
+
return L[e] = n, n;
|
|
707
|
+
}, Or = {
|
|
708
|
+
__proto__: null,
|
|
709
|
+
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
710
|
+
"%ArrayPrototype%": ["Array", "prototype"],
|
|
711
|
+
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
712
|
+
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
713
|
+
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
714
|
+
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
715
|
+
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
716
|
+
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
717
|
+
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
718
|
+
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
719
|
+
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
720
|
+
"%DatePrototype%": ["Date", "prototype"],
|
|
721
|
+
"%ErrorPrototype%": ["Error", "prototype"],
|
|
722
|
+
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
723
|
+
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
724
|
+
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
725
|
+
"%FunctionPrototype%": ["Function", "prototype"],
|
|
726
|
+
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
727
|
+
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
728
|
+
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
729
|
+
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
730
|
+
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
731
|
+
"%JSONParse%": ["JSON", "parse"],
|
|
732
|
+
"%JSONStringify%": ["JSON", "stringify"],
|
|
733
|
+
"%MapPrototype%": ["Map", "prototype"],
|
|
734
|
+
"%NumberPrototype%": ["Number", "prototype"],
|
|
735
|
+
"%ObjectPrototype%": ["Object", "prototype"],
|
|
736
|
+
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
737
|
+
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
738
|
+
"%PromisePrototype%": ["Promise", "prototype"],
|
|
739
|
+
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
740
|
+
"%Promise_all%": ["Promise", "all"],
|
|
741
|
+
"%Promise_reject%": ["Promise", "reject"],
|
|
742
|
+
"%Promise_resolve%": ["Promise", "resolve"],
|
|
743
|
+
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
744
|
+
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
745
|
+
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
746
|
+
"%SetPrototype%": ["Set", "prototype"],
|
|
747
|
+
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
748
|
+
"%StringPrototype%": ["String", "prototype"],
|
|
749
|
+
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
750
|
+
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
751
|
+
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
752
|
+
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
753
|
+
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
754
|
+
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
755
|
+
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
756
|
+
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
757
|
+
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
758
|
+
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
759
|
+
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
760
|
+
}, oe = we, he = $n(), Qn = oe.call(ae, Array.prototype.concat), Vn = oe.call(qr, Array.prototype.splice), Er = oe.call(ae, String.prototype.replace), me = oe.call(ae, String.prototype.slice), Jn = oe.call(ae, RegExp.prototype.exec), jn = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Yn = /\\(\\)?/g, Xn = function(e) {
|
|
761
|
+
var n = me(e, 0, 1), t = me(e, -1);
|
|
762
|
+
if (n === "%" && t !== "%")
|
|
763
|
+
throw new V("invalid intrinsic syntax, expected closing `%`");
|
|
764
|
+
if (t === "%" && n !== "%")
|
|
765
|
+
throw new V("invalid intrinsic syntax, expected opening `%`");
|
|
766
|
+
var a = [];
|
|
767
|
+
return Er(e, jn, function(o, i, u, f) {
|
|
768
|
+
a[a.length] = u ? Er(f, Yn, "$1") : i || o;
|
|
769
|
+
}), a;
|
|
770
|
+
}, Zn = function(e, n) {
|
|
771
|
+
var t = e, a;
|
|
772
|
+
if (he(Or, t) && (a = Or[t], t = "%" + a[0] + "%"), he(L, t)) {
|
|
773
|
+
var o = L[t];
|
|
774
|
+
if (o === z && (o = Kn(t)), typeof o > "u" && !n)
|
|
775
|
+
throw new K("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
776
|
+
return {
|
|
777
|
+
alias: a,
|
|
778
|
+
name: t,
|
|
779
|
+
value: o
|
|
780
|
+
};
|
|
781
|
+
}
|
|
782
|
+
throw new V("intrinsic " + e + " does not exist!");
|
|
783
|
+
}, Xe = function(e, n) {
|
|
784
|
+
if (typeof e != "string" || e.length === 0)
|
|
785
|
+
throw new K("intrinsic name must be a non-empty string");
|
|
786
|
+
if (arguments.length > 1 && typeof n != "boolean")
|
|
787
|
+
throw new K('"allowMissing" argument must be a boolean');
|
|
788
|
+
if (Jn(/^%?[^%]*%?$/, e) === null)
|
|
789
|
+
throw new V("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
790
|
+
var t = Xn(e), a = t.length > 0 ? t[0] : "", o = Zn("%" + a + "%", n), i = o.name, u = o.value, f = !1, p = o.alias;
|
|
791
|
+
p && (a = p[0], Vn(t, Qn([0, 1], p)));
|
|
792
|
+
for (var c = 1, y = !0; c < t.length; c += 1) {
|
|
793
|
+
var l = t[c], h = me(l, 0, 1), v = me(l, -1);
|
|
794
|
+
if ((h === '"' || h === "'" || h === "`" || v === '"' || v === "'" || v === "`") && h !== v)
|
|
795
|
+
throw new V("property names with quotes must have matching quotes");
|
|
796
|
+
if ((l === "constructor" || !y) && (f = !0), a += "." + l, i = "%" + a + "%", he(L, i))
|
|
797
|
+
u = L[i];
|
|
798
|
+
else if (u != null) {
|
|
799
|
+
if (!(l in u)) {
|
|
800
|
+
if (!n)
|
|
801
|
+
throw new K("base intrinsic for " + e + " exists, but the property is not available.");
|
|
802
|
+
return;
|
|
803
|
+
}
|
|
804
|
+
if (ne && c + 1 >= t.length) {
|
|
805
|
+
var w = ne(u, l);
|
|
806
|
+
y = !!w, y && "get" in w && !("originalValue" in w.get) ? u = w.get : u = u[l];
|
|
807
|
+
} else
|
|
808
|
+
y = he(u, l), u = u[l];
|
|
809
|
+
y && !f && (L[i] = u);
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
return u;
|
|
813
|
+
}, kr = Xe, Hr = Ur, ea = Hr([kr("%String.prototype.indexOf%")]), zr = function(e, n) {
|
|
814
|
+
var t = (
|
|
815
|
+
/** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
|
816
|
+
kr(e, !!n)
|
|
817
|
+
);
|
|
818
|
+
return typeof t == "function" && ea(e, ".prototype.") > -1 ? Hr(
|
|
819
|
+
/** @type {const} */
|
|
820
|
+
[t]
|
|
821
|
+
) : t;
|
|
822
|
+
}, ra = Xe, ie = zr, ta = ge, na = J, Pr = ra("%Map%", !0), aa = ie("Map.prototype.get", !0), oa = ie("Map.prototype.set", !0), ia = ie("Map.prototype.has", !0), fa = ie("Map.prototype.delete", !0), la = ie("Map.prototype.size", !0), Kr = !!Pr && /** @type {Exclude<import('.'), false>} */
|
|
823
|
+
function() {
|
|
824
|
+
var e, n = {
|
|
825
|
+
assert: function(t) {
|
|
826
|
+
if (!n.has(t))
|
|
827
|
+
throw new na("Side channel does not contain " + ta(t));
|
|
828
|
+
},
|
|
829
|
+
delete: function(t) {
|
|
830
|
+
if (e) {
|
|
831
|
+
var a = fa(e, t);
|
|
832
|
+
return la(e) === 0 && (e = void 0), a;
|
|
833
|
+
}
|
|
834
|
+
return !1;
|
|
835
|
+
},
|
|
836
|
+
get: function(t) {
|
|
837
|
+
if (e)
|
|
838
|
+
return aa(e, t);
|
|
839
|
+
},
|
|
840
|
+
has: function(t) {
|
|
841
|
+
return e ? ia(e, t) : !1;
|
|
842
|
+
},
|
|
843
|
+
set: function(t, a) {
|
|
844
|
+
e || (e = new Pr()), oa(e, t, a);
|
|
845
|
+
}
|
|
846
|
+
};
|
|
847
|
+
return n;
|
|
848
|
+
}, ua = Xe, be = zr, ca = ge, ce = Kr, pa = J, H = ua("%WeakMap%", !0), ya = be("WeakMap.prototype.get", !0), sa = be("WeakMap.prototype.set", !0), da = be("WeakMap.prototype.has", !0), va = be("WeakMap.prototype.delete", !0), ha = H ? (
|
|
849
|
+
/** @type {Exclude<import('.'), false>} */
|
|
850
|
+
function() {
|
|
851
|
+
var e, n, t = {
|
|
852
|
+
assert: function(a) {
|
|
853
|
+
if (!t.has(a))
|
|
854
|
+
throw new pa("Side channel does not contain " + ca(a));
|
|
855
|
+
},
|
|
856
|
+
delete: function(a) {
|
|
857
|
+
if (H && a && (typeof a == "object" || typeof a == "function")) {
|
|
858
|
+
if (e)
|
|
859
|
+
return va(e, a);
|
|
860
|
+
} else if (ce && n)
|
|
861
|
+
return n.delete(a);
|
|
862
|
+
return !1;
|
|
863
|
+
},
|
|
864
|
+
get: function(a) {
|
|
865
|
+
return H && a && (typeof a == "object" || typeof a == "function") && e ? ya(e, a) : n && n.get(a);
|
|
866
|
+
},
|
|
867
|
+
has: function(a) {
|
|
868
|
+
return H && a && (typeof a == "object" || typeof a == "function") && e ? da(e, a) : !!n && n.has(a);
|
|
869
|
+
},
|
|
870
|
+
set: function(a, o) {
|
|
871
|
+
H && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new H()), sa(e, a, o)) : ce && (n || (n = ce()), n.set(a, o));
|
|
872
|
+
}
|
|
873
|
+
};
|
|
874
|
+
return t;
|
|
875
|
+
}
|
|
876
|
+
) : ce, ma = J, ga = ge, Sa = Wt, wa = Kr, ba = ha, Aa = ba || wa || Sa, Oa = function() {
|
|
877
|
+
var e, n = {
|
|
878
|
+
assert: function(t) {
|
|
879
|
+
if (!n.has(t))
|
|
880
|
+
throw new ma("Side channel does not contain " + ga(t));
|
|
881
|
+
},
|
|
882
|
+
delete: function(t) {
|
|
883
|
+
return !!e && e.delete(t);
|
|
884
|
+
},
|
|
885
|
+
get: function(t) {
|
|
886
|
+
return e && e.get(t);
|
|
887
|
+
},
|
|
888
|
+
has: function(t) {
|
|
889
|
+
return !!e && e.has(t);
|
|
890
|
+
},
|
|
891
|
+
set: function(t, a) {
|
|
892
|
+
e || (e = Aa()), e.set(t, a);
|
|
893
|
+
}
|
|
894
|
+
};
|
|
895
|
+
return n;
|
|
896
|
+
}, Ea = String.prototype.replace, Pa = /%20/g, Le = {
|
|
897
|
+
RFC1738: "RFC1738",
|
|
898
|
+
RFC3986: "RFC3986"
|
|
899
|
+
}, Ze = {
|
|
900
|
+
default: Le.RFC3986,
|
|
901
|
+
formatters: {
|
|
902
|
+
RFC1738: function(r) {
|
|
903
|
+
return Ea.call(r, Pa, "+");
|
|
904
|
+
},
|
|
905
|
+
RFC3986: function(r) {
|
|
906
|
+
return String(r);
|
|
907
|
+
}
|
|
908
|
+
},
|
|
909
|
+
RFC1738: Le.RFC1738,
|
|
910
|
+
RFC3986: Le.RFC3986
|
|
911
|
+
}, $a = Ze, We = Object.prototype.hasOwnProperty, B = Array.isArray, O = function() {
|
|
912
|
+
for (var r = [], e = 0; e < 256; ++e)
|
|
913
|
+
r.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
|
|
914
|
+
return r;
|
|
915
|
+
}(), xa = function(e) {
|
|
916
|
+
for (; e.length > 1; ) {
|
|
917
|
+
var n = e.pop(), t = n.obj[n.prop];
|
|
918
|
+
if (B(t)) {
|
|
919
|
+
for (var a = [], o = 0; o < t.length; ++o)
|
|
920
|
+
typeof t[o] < "u" && a.push(t[o]);
|
|
921
|
+
n.obj[n.prop] = a;
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
}, Qr = function(e, n) {
|
|
925
|
+
for (var t = n && n.plainObjects ? { __proto__: null } : {}, a = 0; a < e.length; ++a)
|
|
926
|
+
typeof e[a] < "u" && (t[a] = e[a]);
|
|
927
|
+
return t;
|
|
928
|
+
}, Ia = function r(e, n, t) {
|
|
929
|
+
if (!n)
|
|
930
|
+
return e;
|
|
931
|
+
if (typeof n != "object" && typeof n != "function") {
|
|
932
|
+
if (B(e))
|
|
933
|
+
e.push(n);
|
|
934
|
+
else if (e && typeof e == "object")
|
|
935
|
+
(t && (t.plainObjects || t.allowPrototypes) || !We.call(Object.prototype, n)) && (e[n] = !0);
|
|
936
|
+
else
|
|
937
|
+
return [e, n];
|
|
938
|
+
return e;
|
|
939
|
+
}
|
|
940
|
+
if (!e || typeof e != "object")
|
|
941
|
+
return [e].concat(n);
|
|
942
|
+
var a = e;
|
|
943
|
+
return B(e) && !B(n) && (a = Qr(e, t)), B(e) && B(n) ? (n.forEach(function(o, i) {
|
|
944
|
+
if (We.call(e, i)) {
|
|
945
|
+
var u = e[i];
|
|
946
|
+
u && typeof u == "object" && o && typeof o == "object" ? e[i] = r(u, o, t) : e.push(o);
|
|
947
|
+
} else
|
|
948
|
+
e[i] = o;
|
|
949
|
+
}), e) : Object.keys(n).reduce(function(o, i) {
|
|
950
|
+
var u = n[i];
|
|
951
|
+
return We.call(o, i) ? o[i] = r(o[i], u, t) : o[i] = u, o;
|
|
952
|
+
}, a);
|
|
953
|
+
}, Ra = function(e, n) {
|
|
954
|
+
return Object.keys(n).reduce(function(t, a) {
|
|
955
|
+
return t[a] = n[a], t;
|
|
956
|
+
}, e);
|
|
957
|
+
}, _a = function(r, e, n) {
|
|
958
|
+
var t = r.replace(/\+/g, " ");
|
|
959
|
+
if (n === "iso-8859-1")
|
|
960
|
+
return t.replace(/%[0-9a-f]{2}/gi, unescape);
|
|
961
|
+
try {
|
|
962
|
+
return decodeURIComponent(t);
|
|
963
|
+
} catch {
|
|
964
|
+
return t;
|
|
965
|
+
}
|
|
966
|
+
}, Ue = 1024, Fa = function(e, n, t, a, o) {
|
|
967
|
+
if (e.length === 0)
|
|
968
|
+
return e;
|
|
969
|
+
var i = e;
|
|
970
|
+
if (typeof e == "symbol" ? i = Symbol.prototype.toString.call(e) : typeof e != "string" && (i = String(e)), t === "iso-8859-1")
|
|
971
|
+
return escape(i).replace(/%u[0-9a-f]{4}/gi, function(h) {
|
|
972
|
+
return "%26%23" + parseInt(h.slice(2), 16) + "%3B";
|
|
973
|
+
});
|
|
974
|
+
for (var u = "", f = 0; f < i.length; f += Ue) {
|
|
975
|
+
for (var p = i.length >= Ue ? i.slice(f, f + Ue) : i, c = [], y = 0; y < p.length; ++y) {
|
|
976
|
+
var l = p.charCodeAt(y);
|
|
977
|
+
if (l === 45 || l === 46 || l === 95 || l === 126 || l >= 48 && l <= 57 || l >= 65 && l <= 90 || l >= 97 && l <= 122 || o === $a.RFC1738 && (l === 40 || l === 41)) {
|
|
978
|
+
c[c.length] = p.charAt(y);
|
|
979
|
+
continue;
|
|
980
|
+
}
|
|
981
|
+
if (l < 128) {
|
|
982
|
+
c[c.length] = O[l];
|
|
983
|
+
continue;
|
|
984
|
+
}
|
|
985
|
+
if (l < 2048) {
|
|
986
|
+
c[c.length] = O[192 | l >> 6] + O[128 | l & 63];
|
|
987
|
+
continue;
|
|
988
|
+
}
|
|
989
|
+
if (l < 55296 || l >= 57344) {
|
|
990
|
+
c[c.length] = O[224 | l >> 12] + O[128 | l >> 6 & 63] + O[128 | l & 63];
|
|
991
|
+
continue;
|
|
992
|
+
}
|
|
993
|
+
y += 1, l = 65536 + ((l & 1023) << 10 | p.charCodeAt(y) & 1023), c[c.length] = O[240 | l >> 18] + O[128 | l >> 12 & 63] + O[128 | l >> 6 & 63] + O[128 | l & 63];
|
|
994
|
+
}
|
|
995
|
+
u += c.join("");
|
|
996
|
+
}
|
|
997
|
+
return u;
|
|
998
|
+
}, Da = function(e) {
|
|
999
|
+
for (var n = [{ obj: { o: e }, prop: "o" }], t = [], a = 0; a < n.length; ++a)
|
|
1000
|
+
for (var o = n[a], i = o.obj[o.prop], u = Object.keys(i), f = 0; f < u.length; ++f) {
|
|
1001
|
+
var p = u[f], c = i[p];
|
|
1002
|
+
typeof c == "object" && c !== null && t.indexOf(c) === -1 && (n.push({ obj: i, prop: p }), t.push(c));
|
|
1003
|
+
}
|
|
1004
|
+
return xa(n), e;
|
|
1005
|
+
}, Ma = function(e) {
|
|
1006
|
+
return Object.prototype.toString.call(e) === "[object RegExp]";
|
|
1007
|
+
}, Na = function(e) {
|
|
1008
|
+
return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
|
|
1009
|
+
}, Ta = function(e, n) {
|
|
1010
|
+
return [].concat(e, n);
|
|
1011
|
+
}, Ca = function(e, n) {
|
|
1012
|
+
if (B(e)) {
|
|
1013
|
+
for (var t = [], a = 0; a < e.length; a += 1)
|
|
1014
|
+
t.push(n(e[a]));
|
|
1015
|
+
return t;
|
|
1016
|
+
}
|
|
1017
|
+
return n(e);
|
|
1018
|
+
}, Vr = {
|
|
1019
|
+
arrayToObject: Qr,
|
|
1020
|
+
assign: Ra,
|
|
1021
|
+
combine: Ta,
|
|
1022
|
+
compact: Da,
|
|
1023
|
+
decode: _a,
|
|
1024
|
+
encode: Fa,
|
|
1025
|
+
isBuffer: Na,
|
|
1026
|
+
isRegExp: Ma,
|
|
1027
|
+
maybeMap: Ca,
|
|
1028
|
+
merge: Ia
|
|
1029
|
+
}, Jr = Oa, se = Vr, te = Ze, Ba = Object.prototype.hasOwnProperty, jr = {
|
|
1030
|
+
brackets: function(e) {
|
|
1031
|
+
return e + "[]";
|
|
1032
|
+
},
|
|
1033
|
+
comma: "comma",
|
|
1034
|
+
indices: function(e, n) {
|
|
1035
|
+
return e + "[" + n + "]";
|
|
1036
|
+
},
|
|
1037
|
+
repeat: function(e) {
|
|
1038
|
+
return e;
|
|
1039
|
+
}
|
|
1040
|
+
}, E = Array.isArray, La = Array.prototype.push, Yr = function(r, e) {
|
|
1041
|
+
La.apply(r, E(e) ? e : [e]);
|
|
1042
|
+
}, Wa = Date.prototype.toISOString, $r = te.default, g = {
|
|
1043
|
+
addQueryPrefix: !1,
|
|
1044
|
+
allowDots: !1,
|
|
1045
|
+
allowEmptyArrays: !1,
|
|
1046
|
+
arrayFormat: "indices",
|
|
1047
|
+
charset: "utf-8",
|
|
1048
|
+
charsetSentinel: !1,
|
|
1049
|
+
commaRoundTrip: !1,
|
|
1050
|
+
delimiter: "&",
|
|
1051
|
+
encode: !0,
|
|
1052
|
+
encodeDotInKeys: !1,
|
|
1053
|
+
encoder: se.encode,
|
|
1054
|
+
encodeValuesOnly: !1,
|
|
1055
|
+
filter: void 0,
|
|
1056
|
+
format: $r,
|
|
1057
|
+
formatter: te.formatters[$r],
|
|
1058
|
+
// deprecated
|
|
1059
|
+
indices: !1,
|
|
1060
|
+
serializeDate: function(e) {
|
|
1061
|
+
return Wa.call(e);
|
|
1062
|
+
},
|
|
1063
|
+
skipNulls: !1,
|
|
1064
|
+
strictNullHandling: !1
|
|
1065
|
+
}, Ua = function(e) {
|
|
1066
|
+
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
|
|
1067
|
+
}, Ge = {}, Ga = function r(e, n, t, a, o, i, u, f, p, c, y, l, h, v, w, b, I, R) {
|
|
1068
|
+
for (var d = e, _ = R, T = 0, j = !1; (_ = _.get(Ge)) !== void 0 && !j; ) {
|
|
1069
|
+
var G = _.get(e);
|
|
1070
|
+
if (T += 1, typeof G < "u") {
|
|
1071
|
+
if (G === T)
|
|
1072
|
+
throw new RangeError("Cyclic object value");
|
|
1073
|
+
j = !0;
|
|
1074
|
+
}
|
|
1075
|
+
typeof _.get(Ge) > "u" && (T = 0);
|
|
1076
|
+
}
|
|
1077
|
+
if (typeof c == "function" ? d = c(n, d) : d instanceof Date ? d = h(d) : t === "comma" && E(d) && (d = se.maybeMap(d, function(Oe) {
|
|
1078
|
+
return Oe instanceof Date ? h(Oe) : Oe;
|
|
1079
|
+
})), d === null) {
|
|
1080
|
+
if (i)
|
|
1081
|
+
return p && !b ? p(n, g.encoder, I, "key", v) : n;
|
|
1082
|
+
d = "";
|
|
1083
|
+
}
|
|
1084
|
+
if (Ua(d) || se.isBuffer(d)) {
|
|
1085
|
+
if (p) {
|
|
1086
|
+
var fe = b ? n : p(n, g.encoder, I, "key", v);
|
|
1087
|
+
return [w(fe) + "=" + w(p(d, g.encoder, I, "value", v))];
|
|
1088
|
+
}
|
|
1089
|
+
return [w(n) + "=" + w(String(d))];
|
|
1090
|
+
}
|
|
1091
|
+
var C = [];
|
|
1092
|
+
if (typeof d > "u")
|
|
1093
|
+
return C;
|
|
1094
|
+
var F;
|
|
1095
|
+
if (t === "comma" && E(d))
|
|
1096
|
+
b && p && (d = se.maybeMap(d, p)), F = [{ value: d.length > 0 ? d.join(",") || null : void 0 }];
|
|
1097
|
+
else if (E(c))
|
|
1098
|
+
F = c;
|
|
1099
|
+
else {
|
|
1100
|
+
var le = Object.keys(d);
|
|
1101
|
+
F = y ? le.sort(y) : le;
|
|
1102
|
+
}
|
|
1103
|
+
var q = f ? String(n).replace(/\./g, "%2E") : String(n), A = a && E(d) && d.length === 1 ? q + "[]" : q;
|
|
1104
|
+
if (o && E(d) && d.length === 0)
|
|
1105
|
+
return A + "[]";
|
|
1106
|
+
for (var D = 0; D < F.length; ++D) {
|
|
1107
|
+
var $ = F[D], Y = typeof $ == "object" && $ && typeof $.value < "u" ? $.value : d[$];
|
|
1108
|
+
if (!(u && Y === null)) {
|
|
1109
|
+
var Ae = l && f ? String($).replace(/\./g, "%2E") : String($), Zr = E(d) ? typeof t == "function" ? t(A, Ae) : A : A + (l ? "." + Ae : "[" + Ae + "]");
|
|
1110
|
+
R.set(e, T);
|
|
1111
|
+
var er = Jr();
|
|
1112
|
+
er.set(Ge, R), Yr(C, r(
|
|
1113
|
+
Y,
|
|
1114
|
+
Zr,
|
|
1115
|
+
t,
|
|
1116
|
+
a,
|
|
1117
|
+
o,
|
|
1118
|
+
i,
|
|
1119
|
+
u,
|
|
1120
|
+
f,
|
|
1121
|
+
t === "comma" && b && E(d) ? null : p,
|
|
1122
|
+
c,
|
|
1123
|
+
y,
|
|
1124
|
+
l,
|
|
1125
|
+
h,
|
|
1126
|
+
v,
|
|
1127
|
+
w,
|
|
1128
|
+
b,
|
|
1129
|
+
I,
|
|
1130
|
+
er
|
|
1131
|
+
));
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
return C;
|
|
1135
|
+
}, qa = function(e) {
|
|
1136
|
+
if (!e)
|
|
1137
|
+
return g;
|
|
1138
|
+
if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
|
|
1139
|
+
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
1140
|
+
if (typeof e.encodeDotInKeys < "u" && typeof e.encodeDotInKeys != "boolean")
|
|
1141
|
+
throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
1142
|
+
if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
|
|
1143
|
+
throw new TypeError("Encoder has to be a function.");
|
|
1144
|
+
var n = e.charset || g.charset;
|
|
1145
|
+
if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
|
|
1146
|
+
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
1147
|
+
var t = te.default;
|
|
1148
|
+
if (typeof e.format < "u") {
|
|
1149
|
+
if (!Ba.call(te.formatters, e.format))
|
|
1150
|
+
throw new TypeError("Unknown format option provided.");
|
|
1151
|
+
t = e.format;
|
|
1152
|
+
}
|
|
1153
|
+
var a = te.formatters[t], o = g.filter;
|
|
1154
|
+
(typeof e.filter == "function" || E(e.filter)) && (o = e.filter);
|
|
1155
|
+
var i;
|
|
1156
|
+
if (e.arrayFormat in jr ? i = e.arrayFormat : "indices" in e ? i = e.indices ? "indices" : "repeat" : i = g.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
|
|
1157
|
+
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
1158
|
+
var u = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : g.allowDots : !!e.allowDots;
|
|
1159
|
+
return {
|
|
1160
|
+
addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : g.addQueryPrefix,
|
|
1161
|
+
allowDots: u,
|
|
1162
|
+
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : g.allowEmptyArrays,
|
|
1163
|
+
arrayFormat: i,
|
|
1164
|
+
charset: n,
|
|
1165
|
+
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : g.charsetSentinel,
|
|
1166
|
+
commaRoundTrip: !!e.commaRoundTrip,
|
|
1167
|
+
delimiter: typeof e.delimiter > "u" ? g.delimiter : e.delimiter,
|
|
1168
|
+
encode: typeof e.encode == "boolean" ? e.encode : g.encode,
|
|
1169
|
+
encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : g.encodeDotInKeys,
|
|
1170
|
+
encoder: typeof e.encoder == "function" ? e.encoder : g.encoder,
|
|
1171
|
+
encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : g.encodeValuesOnly,
|
|
1172
|
+
filter: o,
|
|
1173
|
+
format: t,
|
|
1174
|
+
formatter: a,
|
|
1175
|
+
serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : g.serializeDate,
|
|
1176
|
+
skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : g.skipNulls,
|
|
1177
|
+
sort: typeof e.sort == "function" ? e.sort : null,
|
|
1178
|
+
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : g.strictNullHandling
|
|
1179
|
+
};
|
|
1180
|
+
}, ka = function(r, e) {
|
|
1181
|
+
var n = r, t = qa(e), a, o;
|
|
1182
|
+
typeof t.filter == "function" ? (o = t.filter, n = o("", n)) : E(t.filter) && (o = t.filter, a = o);
|
|
1183
|
+
var i = [];
|
|
1184
|
+
if (typeof n != "object" || n === null)
|
|
1185
|
+
return "";
|
|
1186
|
+
var u = jr[t.arrayFormat], f = u === "comma" && t.commaRoundTrip;
|
|
1187
|
+
a || (a = Object.keys(n)), t.sort && a.sort(t.sort);
|
|
1188
|
+
for (var p = Jr(), c = 0; c < a.length; ++c) {
|
|
1189
|
+
var y = a[c], l = n[y];
|
|
1190
|
+
t.skipNulls && l === null || Yr(i, Ga(
|
|
1191
|
+
l,
|
|
1192
|
+
y,
|
|
1193
|
+
u,
|
|
1194
|
+
f,
|
|
1195
|
+
t.allowEmptyArrays,
|
|
1196
|
+
t.strictNullHandling,
|
|
1197
|
+
t.skipNulls,
|
|
1198
|
+
t.encodeDotInKeys,
|
|
1199
|
+
t.encode ? t.encoder : null,
|
|
1200
|
+
t.filter,
|
|
1201
|
+
t.sort,
|
|
1202
|
+
t.allowDots,
|
|
1203
|
+
t.serializeDate,
|
|
1204
|
+
t.format,
|
|
1205
|
+
t.formatter,
|
|
1206
|
+
t.encodeValuesOnly,
|
|
1207
|
+
t.charset,
|
|
1208
|
+
p
|
|
1209
|
+
));
|
|
1210
|
+
}
|
|
1211
|
+
var h = i.join(t.delimiter), v = t.addQueryPrefix === !0 ? "?" : "";
|
|
1212
|
+
return t.charsetSentinel && (t.charset === "iso-8859-1" ? v += "utf8=%26%2310003%3B&" : v += "utf8=%E2%9C%93&"), h.length > 0 ? v + h : "";
|
|
1213
|
+
}, W = Vr, Qe = Object.prototype.hasOwnProperty, xr = Array.isArray, m = {
|
|
1214
|
+
allowDots: !1,
|
|
1215
|
+
allowEmptyArrays: !1,
|
|
1216
|
+
allowPrototypes: !1,
|
|
1217
|
+
allowSparse: !1,
|
|
1218
|
+
arrayLimit: 20,
|
|
1219
|
+
charset: "utf-8",
|
|
1220
|
+
charsetSentinel: !1,
|
|
1221
|
+
comma: !1,
|
|
1222
|
+
decodeDotInKeys: !1,
|
|
1223
|
+
decoder: W.decode,
|
|
1224
|
+
delimiter: "&",
|
|
1225
|
+
depth: 5,
|
|
1226
|
+
duplicates: "combine",
|
|
1227
|
+
ignoreQueryPrefix: !1,
|
|
1228
|
+
interpretNumericEntities: !1,
|
|
1229
|
+
parameterLimit: 1e3,
|
|
1230
|
+
parseArrays: !0,
|
|
1231
|
+
plainObjects: !1,
|
|
1232
|
+
strictDepth: !1,
|
|
1233
|
+
strictNullHandling: !1,
|
|
1234
|
+
throwOnLimitExceeded: !1
|
|
1235
|
+
}, Ha = function(r) {
|
|
1236
|
+
return r.replace(/&#(\d+);/g, function(e, n) {
|
|
1237
|
+
return String.fromCharCode(parseInt(n, 10));
|
|
1238
|
+
});
|
|
1239
|
+
}, Xr = function(r, e, n) {
|
|
1240
|
+
if (r && typeof r == "string" && e.comma && r.indexOf(",") > -1)
|
|
1241
|
+
return r.split(",");
|
|
1242
|
+
if (e.throwOnLimitExceeded && n >= e.arrayLimit)
|
|
1243
|
+
throw new RangeError("Array limit exceeded. Only " + e.arrayLimit + " element" + (e.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
1244
|
+
return r;
|
|
1245
|
+
}, za = "utf8=%26%2310003%3B", Ka = "utf8=%E2%9C%93", Qa = function(e, n) {
|
|
1246
|
+
var t = { __proto__: null }, a = n.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
|
|
1247
|
+
a = a.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
1248
|
+
var o = n.parameterLimit === 1 / 0 ? void 0 : n.parameterLimit, i = a.split(
|
|
1249
|
+
n.delimiter,
|
|
1250
|
+
n.throwOnLimitExceeded ? o + 1 : o
|
|
1251
|
+
);
|
|
1252
|
+
if (n.throwOnLimitExceeded && i.length > o)
|
|
1253
|
+
throw new RangeError("Parameter limit exceeded. Only " + o + " parameter" + (o === 1 ? "" : "s") + " allowed.");
|
|
1254
|
+
var u = -1, f, p = n.charset;
|
|
1255
|
+
if (n.charsetSentinel)
|
|
1256
|
+
for (f = 0; f < i.length; ++f)
|
|
1257
|
+
i[f].indexOf("utf8=") === 0 && (i[f] === Ka ? p = "utf-8" : i[f] === za && (p = "iso-8859-1"), u = f, f = i.length);
|
|
1258
|
+
for (f = 0; f < i.length; ++f)
|
|
1259
|
+
if (f !== u) {
|
|
1260
|
+
var c = i[f], y = c.indexOf("]="), l = y === -1 ? c.indexOf("=") : y + 1, h, v;
|
|
1261
|
+
l === -1 ? (h = n.decoder(c, m.decoder, p, "key"), v = n.strictNullHandling ? null : "") : (h = n.decoder(c.slice(0, l), m.decoder, p, "key"), v = W.maybeMap(
|
|
1262
|
+
Xr(
|
|
1263
|
+
c.slice(l + 1),
|
|
1264
|
+
n,
|
|
1265
|
+
xr(t[h]) ? t[h].length : 0
|
|
1266
|
+
),
|
|
1267
|
+
function(b) {
|
|
1268
|
+
return n.decoder(b, m.decoder, p, "value");
|
|
1269
|
+
}
|
|
1270
|
+
)), v && n.interpretNumericEntities && p === "iso-8859-1" && (v = Ha(String(v))), c.indexOf("[]=") > -1 && (v = xr(v) ? [v] : v);
|
|
1271
|
+
var w = Qe.call(t, h);
|
|
1272
|
+
w && n.duplicates === "combine" ? t[h] = W.combine(t[h], v) : (!w || n.duplicates === "last") && (t[h] = v);
|
|
1273
|
+
}
|
|
1274
|
+
return t;
|
|
1275
|
+
}, Va = function(r, e, n, t) {
|
|
1276
|
+
var a = 0;
|
|
1277
|
+
if (r.length > 0 && r[r.length - 1] === "[]") {
|
|
1278
|
+
var o = r.slice(0, -1).join("");
|
|
1279
|
+
a = Array.isArray(e) && e[o] ? e[o].length : 0;
|
|
1280
|
+
}
|
|
1281
|
+
for (var i = t ? e : Xr(e, n, a), u = r.length - 1; u >= 0; --u) {
|
|
1282
|
+
var f, p = r[u];
|
|
1283
|
+
if (p === "[]" && n.parseArrays)
|
|
1284
|
+
f = n.allowEmptyArrays && (i === "" || n.strictNullHandling && i === null) ? [] : W.combine([], i);
|
|
1285
|
+
else {
|
|
1286
|
+
f = n.plainObjects ? { __proto__: null } : {};
|
|
1287
|
+
var c = p.charAt(0) === "[" && p.charAt(p.length - 1) === "]" ? p.slice(1, -1) : p, y = n.decodeDotInKeys ? c.replace(/%2E/g, ".") : c, l = parseInt(y, 10);
|
|
1288
|
+
!n.parseArrays && y === "" ? f = { 0: i } : !isNaN(l) && p !== y && String(l) === y && l >= 0 && n.parseArrays && l <= n.arrayLimit ? (f = [], f[l] = i) : y !== "__proto__" && (f[y] = i);
|
|
1289
|
+
}
|
|
1290
|
+
i = f;
|
|
1291
|
+
}
|
|
1292
|
+
return i;
|
|
1293
|
+
}, Ja = function(e, n, t, a) {
|
|
1294
|
+
if (e) {
|
|
1295
|
+
var o = t.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, i = /(\[[^[\]]*])/, u = /(\[[^[\]]*])/g, f = t.depth > 0 && i.exec(o), p = f ? o.slice(0, f.index) : o, c = [];
|
|
1296
|
+
if (p) {
|
|
1297
|
+
if (!t.plainObjects && Qe.call(Object.prototype, p) && !t.allowPrototypes)
|
|
1298
|
+
return;
|
|
1299
|
+
c.push(p);
|
|
1300
|
+
}
|
|
1301
|
+
for (var y = 0; t.depth > 0 && (f = u.exec(o)) !== null && y < t.depth; ) {
|
|
1302
|
+
if (y += 1, !t.plainObjects && Qe.call(Object.prototype, f[1].slice(1, -1)) && !t.allowPrototypes)
|
|
1303
|
+
return;
|
|
1304
|
+
c.push(f[1]);
|
|
1305
|
+
}
|
|
1306
|
+
if (f) {
|
|
1307
|
+
if (t.strictDepth === !0)
|
|
1308
|
+
throw new RangeError("Input depth exceeded depth option of " + t.depth + " and strictDepth is true");
|
|
1309
|
+
c.push("[" + o.slice(f.index) + "]");
|
|
1310
|
+
}
|
|
1311
|
+
return Va(c, n, t, a);
|
|
1312
|
+
}
|
|
1313
|
+
}, ja = function(e) {
|
|
1314
|
+
if (!e)
|
|
1315
|
+
return m;
|
|
1316
|
+
if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
|
|
1317
|
+
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
1318
|
+
if (typeof e.decodeDotInKeys < "u" && typeof e.decodeDotInKeys != "boolean")
|
|
1319
|
+
throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
1320
|
+
if (e.decoder !== null && typeof e.decoder < "u" && typeof e.decoder != "function")
|
|
1321
|
+
throw new TypeError("Decoder has to be a function.");
|
|
1322
|
+
if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
|
|
1323
|
+
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
1324
|
+
if (typeof e.throwOnLimitExceeded < "u" && typeof e.throwOnLimitExceeded != "boolean")
|
|
1325
|
+
throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
|
|
1326
|
+
var n = typeof e.charset > "u" ? m.charset : e.charset, t = typeof e.duplicates > "u" ? m.duplicates : e.duplicates;
|
|
1327
|
+
if (t !== "combine" && t !== "first" && t !== "last")
|
|
1328
|
+
throw new TypeError("The duplicates option must be either combine, first, or last");
|
|
1329
|
+
var a = typeof e.allowDots > "u" ? e.decodeDotInKeys === !0 ? !0 : m.allowDots : !!e.allowDots;
|
|
1330
|
+
return {
|
|
1331
|
+
allowDots: a,
|
|
1332
|
+
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : m.allowEmptyArrays,
|
|
1333
|
+
allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : m.allowPrototypes,
|
|
1334
|
+
allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : m.allowSparse,
|
|
1335
|
+
arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : m.arrayLimit,
|
|
1336
|
+
charset: n,
|
|
1337
|
+
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : m.charsetSentinel,
|
|
1338
|
+
comma: typeof e.comma == "boolean" ? e.comma : m.comma,
|
|
1339
|
+
decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : m.decodeDotInKeys,
|
|
1340
|
+
decoder: typeof e.decoder == "function" ? e.decoder : m.decoder,
|
|
1341
|
+
delimiter: typeof e.delimiter == "string" || W.isRegExp(e.delimiter) ? e.delimiter : m.delimiter,
|
|
1342
|
+
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
1343
|
+
depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : m.depth,
|
|
1344
|
+
duplicates: t,
|
|
1345
|
+
ignoreQueryPrefix: e.ignoreQueryPrefix === !0,
|
|
1346
|
+
interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : m.interpretNumericEntities,
|
|
1347
|
+
parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : m.parameterLimit,
|
|
1348
|
+
parseArrays: e.parseArrays !== !1,
|
|
1349
|
+
plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : m.plainObjects,
|
|
1350
|
+
strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : m.strictDepth,
|
|
1351
|
+
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : m.strictNullHandling,
|
|
1352
|
+
throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
|
|
1353
|
+
};
|
|
1354
|
+
}, Ya = function(r, e) {
|
|
1355
|
+
var n = ja(e);
|
|
1356
|
+
if (r === "" || r === null || typeof r > "u")
|
|
1357
|
+
return n.plainObjects ? { __proto__: null } : {};
|
|
1358
|
+
for (var t = typeof r == "string" ? Qa(r, n) : r, a = n.plainObjects ? { __proto__: null } : {}, o = Object.keys(t), i = 0; i < o.length; ++i) {
|
|
1359
|
+
var u = o[i], f = Ja(u, t[u], n, typeof r == "string");
|
|
1360
|
+
a = W.merge(a, f, n);
|
|
1361
|
+
}
|
|
1362
|
+
return n.allowSparse === !0 ? a : W.compact(a);
|
|
1363
|
+
}, Xa = ka, Za = Ya, eo = Ze, ro = {
|
|
1364
|
+
formats: eo,
|
|
1365
|
+
parse: Za,
|
|
1366
|
+
stringify: Xa
|
|
1367
|
+
};
|
|
1368
|
+
const no = /* @__PURE__ */ rt(ro);
|
|
1369
|
+
export {
|
|
1370
|
+
no as q
|
|
1371
|
+
};
|