lr-chatbot 0.43.42 → 0.44.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/index.js +9032 -7254
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/chatbot-Dkk-AjQu.js +0 -34
- package/chatbot-Dkk-AjQu.js.map +0 -1
- package/chatbot-DwEZgiuy.js +0 -34
- package/chatbot-DwEZgiuy.js.map +0 -1
- package/chatbot-YgdXEFtq.js +0 -34
- package/chatbot-YgdXEFtq.js.map +0 -1
- package/index-CEAF7P1X.js +0 -1687
- package/index-CEAF7P1X.js.map +0 -1
package/index-CEAF7P1X.js
DELETED
|
@@ -1,1687 +0,0 @@
|
|
|
1
|
-
function Yt(n, c) {
|
|
2
|
-
for (var p = 0; p < c.length; p++) {
|
|
3
|
-
const u = c[p];
|
|
4
|
-
if (typeof u != "string" && !Array.isArray(u)) {
|
|
5
|
-
for (const m in u)
|
|
6
|
-
if (m !== "default" && !(m in n)) {
|
|
7
|
-
const O = Object.getOwnPropertyDescriptor(u, m);
|
|
8
|
-
O && Object.defineProperty(n, m, O.get ? O : {
|
|
9
|
-
enumerable: !0,
|
|
10
|
-
get: () => u[m]
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
16
|
-
}
|
|
17
|
-
var Wr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
18
|
-
function Xt(n) {
|
|
19
|
-
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
20
|
-
}
|
|
21
|
-
function Zt(n) {
|
|
22
|
-
if (Object.prototype.hasOwnProperty.call(n, "__esModule")) return n;
|
|
23
|
-
var c = n.default;
|
|
24
|
-
if (typeof c == "function") {
|
|
25
|
-
var p = function u() {
|
|
26
|
-
var m = !1;
|
|
27
|
-
try {
|
|
28
|
-
m = this instanceof u;
|
|
29
|
-
} catch {
|
|
30
|
-
}
|
|
31
|
-
return m ? Reflect.construct(c, arguments, this.constructor) : c.apply(this, arguments);
|
|
32
|
-
};
|
|
33
|
-
p.prototype = c.prototype;
|
|
34
|
-
} else p = {};
|
|
35
|
-
return Object.defineProperty(p, "__esModule", { value: !0 }), Object.keys(n).forEach(function(u) {
|
|
36
|
-
var m = Object.getOwnPropertyDescriptor(n, u);
|
|
37
|
-
Object.defineProperty(p, u, m.get ? m : {
|
|
38
|
-
enumerable: !0,
|
|
39
|
-
get: function() {
|
|
40
|
-
return n[u];
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
}), p;
|
|
44
|
-
}
|
|
45
|
-
var Ce, Gr;
|
|
46
|
-
function we() {
|
|
47
|
-
return Gr || (Gr = 1, Ce = TypeError), Ce;
|
|
48
|
-
}
|
|
49
|
-
const en = {}, rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
50
|
-
__proto__: null,
|
|
51
|
-
default: en
|
|
52
|
-
}, Symbol.toStringTag, { value: "Module" })), tn = /* @__PURE__ */ Zt(rn);
|
|
53
|
-
var Le, kr;
|
|
54
|
-
function Re() {
|
|
55
|
-
if (kr) return Le;
|
|
56
|
-
kr = 1;
|
|
57
|
-
var n = typeof Map == "function" && Map.prototype, c = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, p = n && c && typeof c.get == "function" ? c.get : null, u = n && Map.prototype.forEach, m = typeof Set == "function" && Set.prototype, O = Object.getOwnPropertyDescriptor && m ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, I = m && O && typeof O.get == "function" ? O.get : null, v = m && Set.prototype.forEach, P = typeof WeakMap == "function" && WeakMap.prototype, s = P ? WeakMap.prototype.has : null, g = typeof WeakSet == "function" && WeakSet.prototype, h = g ? WeakSet.prototype.has : null, F = typeof WeakRef == "function" && WeakRef.prototype, E = F ? WeakRef.prototype.deref : null, a = Boolean.prototype.valueOf, i = Object.prototype.toString, o = Function.prototype.toString, R = String.prototype.match, d = String.prototype.slice, S = String.prototype.replace, D = String.prototype.toUpperCase, A = String.prototype.toLowerCase, w = RegExp.prototype.test, t = Array.prototype.concat, f = Array.prototype.join, y = Array.prototype.slice, b = Math.floor, _ = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, x = Object.getOwnPropertySymbols, U = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, M = typeof Symbol == "function" && typeof Symbol.iterator == "object", G = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === M || !0) ? Symbol.toStringTag : null, N = Object.prototype.propertyIsEnumerable, H = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(e) {
|
|
58
|
-
return e.__proto__;
|
|
59
|
-
} : null);
|
|
60
|
-
function l(e, r) {
|
|
61
|
-
if (e === 1 / 0 || e === -1 / 0 || e !== e || e && e > -1e3 && e < 1e3 || w.call(/e/, r))
|
|
62
|
-
return r;
|
|
63
|
-
var T = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
64
|
-
if (typeof e == "number") {
|
|
65
|
-
var B = e < 0 ? -b(-e) : b(e);
|
|
66
|
-
if (B !== e) {
|
|
67
|
-
var W = String(B), q = d.call(r, W.length + 1);
|
|
68
|
-
return S.call(W, T, "$&_") + "." + S.call(S.call(q, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
return S.call(r, T, "$&_");
|
|
72
|
-
}
|
|
73
|
-
var C = tn, K = C.custom, X = Q(K) ? K : null, oe = {
|
|
74
|
-
__proto__: null,
|
|
75
|
-
double: '"',
|
|
76
|
-
single: "'"
|
|
77
|
-
}, ie = {
|
|
78
|
-
__proto__: null,
|
|
79
|
-
double: /(["\\])/g,
|
|
80
|
-
single: /(['\\])/g
|
|
81
|
-
};
|
|
82
|
-
Le = function e(r, T, B, W) {
|
|
83
|
-
var q = T || {};
|
|
84
|
-
if (J(q, "quoteStyle") && !J(oe, q.quoteStyle))
|
|
85
|
-
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
86
|
-
if (J(q, "maxStringLength") && (typeof q.maxStringLength == "number" ? q.maxStringLength < 0 && q.maxStringLength !== 1 / 0 : q.maxStringLength !== null))
|
|
87
|
-
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
88
|
-
var pe = J(q, "customInspect") ? q.customInspect : !0;
|
|
89
|
-
if (typeof pe != "boolean" && pe !== "symbol")
|
|
90
|
-
throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
91
|
-
if (J(q, "indent") && q.indent !== null && q.indent !== " " && !(parseInt(q.indent, 10) === q.indent && q.indent > 0))
|
|
92
|
-
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
93
|
-
if (J(q, "numericSeparator") && typeof q.numericSeparator != "boolean")
|
|
94
|
-
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
95
|
-
var se = q.numericSeparator;
|
|
96
|
-
if (typeof r > "u")
|
|
97
|
-
return "undefined";
|
|
98
|
-
if (r === null)
|
|
99
|
-
return "null";
|
|
100
|
-
if (typeof r == "boolean")
|
|
101
|
-
return r ? "true" : "false";
|
|
102
|
-
if (typeof r == "string")
|
|
103
|
-
return Fr(r, q);
|
|
104
|
-
if (typeof r == "number") {
|
|
105
|
-
if (r === 0)
|
|
106
|
-
return 1 / 0 / r > 0 ? "0" : "-0";
|
|
107
|
-
var Y = String(r);
|
|
108
|
-
return se ? l(r, Y) : Y;
|
|
109
|
-
}
|
|
110
|
-
if (typeof r == "bigint") {
|
|
111
|
-
var ye = String(r) + "n";
|
|
112
|
-
return se ? l(r, ye) : ye;
|
|
113
|
-
}
|
|
114
|
-
var qe = typeof q.depth > "u" ? 5 : q.depth;
|
|
115
|
-
if (typeof B > "u" && (B = 0), B >= qe && qe > 0 && typeof r == "object")
|
|
116
|
-
return le(r) ? "[Array]" : "[Object]";
|
|
117
|
-
var me = Qt(q, B);
|
|
118
|
-
if (typeof W > "u")
|
|
119
|
-
W = [];
|
|
120
|
-
else if (ce(W, r) >= 0)
|
|
121
|
-
return "[Circular]";
|
|
122
|
-
function ne(Se, Pe, Jt) {
|
|
123
|
-
if (Pe && (W = y.call(W), W.push(Pe)), Jt) {
|
|
124
|
-
var Ur = {
|
|
125
|
-
depth: q.depth
|
|
126
|
-
};
|
|
127
|
-
return J(q, "quoteStyle") && (Ur.quoteStyle = q.quoteStyle), e(Se, Ur, B + 1, W);
|
|
128
|
-
}
|
|
129
|
-
return e(Se, q, B + 1, W);
|
|
130
|
-
}
|
|
131
|
-
if (typeof r == "function" && !z(r)) {
|
|
132
|
-
var Dr = de(r), $r = Ae(r, ne);
|
|
133
|
-
return "[Function" + (Dr ? ": " + Dr : " (anonymous)") + "]" + ($r.length > 0 ? " { " + f.call($r, ", ") + " }" : "");
|
|
134
|
-
}
|
|
135
|
-
if (Q(r)) {
|
|
136
|
-
var Nr = M ? S.call(String(r), /^(Symbol\(.*\))_[^)]*$/, "$1") : U.call(r);
|
|
137
|
-
return typeof r == "object" && !M ? be(Nr) : Nr;
|
|
138
|
-
}
|
|
139
|
-
if (jt(r)) {
|
|
140
|
-
for (var Oe = "<" + A.call(String(r.nodeName)), Fe = r.attributes || [], Ee = 0; Ee < Fe.length; Ee++)
|
|
141
|
-
Oe += " " + Fe[Ee].name + "=" + fe(ae(Fe[Ee].value), "double", q);
|
|
142
|
-
return Oe += ">", r.childNodes && r.childNodes.length && (Oe += "..."), Oe += "</" + A.call(String(r.nodeName)) + ">", Oe;
|
|
143
|
-
}
|
|
144
|
-
if (le(r)) {
|
|
145
|
-
if (r.length === 0)
|
|
146
|
-
return "[]";
|
|
147
|
-
var Me = Ae(r, ne);
|
|
148
|
-
return me && !Kt(Me) ? "[" + xe(Me, me) + "]" : "[ " + f.call(Me, ", ") + " ]";
|
|
149
|
-
}
|
|
150
|
-
if ($(r)) {
|
|
151
|
-
var De = Ae(r, ne);
|
|
152
|
-
return !("cause" in Error.prototype) && "cause" in r && !N.call(r, "cause") ? "{ [" + String(r) + "] " + f.call(t.call("[cause]: " + ne(r.cause), De), ", ") + " }" : De.length === 0 ? "[" + String(r) + "]" : "{ [" + String(r) + "] " + f.call(De, ", ") + " }";
|
|
153
|
-
}
|
|
154
|
-
if (typeof r == "object" && pe) {
|
|
155
|
-
if (X && typeof r[X] == "function" && C)
|
|
156
|
-
return C(r, { depth: qe - B });
|
|
157
|
-
if (pe !== "symbol" && typeof r.inspect == "function")
|
|
158
|
-
return r.inspect();
|
|
159
|
-
}
|
|
160
|
-
if (te(r)) {
|
|
161
|
-
var Tr = [];
|
|
162
|
-
return u && u.call(r, function(Se, Pe) {
|
|
163
|
-
Tr.push(ne(Pe, r, !0) + " => " + ne(Se, r));
|
|
164
|
-
}), Mr("Map", p.call(r), Tr, me);
|
|
165
|
-
}
|
|
166
|
-
if (ge(r)) {
|
|
167
|
-
var Cr = [];
|
|
168
|
-
return v && v.call(r, function(Se) {
|
|
169
|
-
Cr.push(ne(Se, r));
|
|
170
|
-
}), Mr("Set", I.call(r), Cr, me);
|
|
171
|
-
}
|
|
172
|
-
if (ve(r))
|
|
173
|
-
return Ie("WeakMap");
|
|
174
|
-
if (Ht(r))
|
|
175
|
-
return Ie("WeakSet");
|
|
176
|
-
if (he(r))
|
|
177
|
-
return Ie("WeakRef");
|
|
178
|
-
if (L(r))
|
|
179
|
-
return be(ne(Number(r)));
|
|
180
|
-
if (ee(r))
|
|
181
|
-
return be(ne(_.call(r)));
|
|
182
|
-
if (j(r))
|
|
183
|
-
return be(a.call(r));
|
|
184
|
-
if (k(r))
|
|
185
|
-
return be(ne(String(r)));
|
|
186
|
-
if (typeof window < "u" && r === window)
|
|
187
|
-
return "{ [object Window] }";
|
|
188
|
-
if (typeof globalThis < "u" && r === globalThis || typeof Wr < "u" && r === Wr)
|
|
189
|
-
return "{ [object globalThis] }";
|
|
190
|
-
if (!ue(r) && !z(r)) {
|
|
191
|
-
var $e = Ae(r, ne), Lr = H ? H(r) === Object.prototype : r instanceof Object || r.constructor === Object, Ne = r instanceof Object ? "" : "null prototype", Br = !Lr && G && Object(r) === r && G in r ? d.call(re(r), 8, -1) : Ne ? "Object" : "", Vt = Lr || typeof r.constructor != "function" ? "" : r.constructor.name ? r.constructor.name + " " : "", Te = Vt + (Br || Ne ? "[" + f.call(t.call([], Br || [], Ne || []), ": ") + "] " : "");
|
|
192
|
-
return $e.length === 0 ? Te + "{}" : me ? Te + "{" + xe($e, me) + "}" : Te + "{ " + f.call($e, ", ") + " }";
|
|
193
|
-
}
|
|
194
|
-
return String(r);
|
|
195
|
-
};
|
|
196
|
-
function fe(e, r, T) {
|
|
197
|
-
var B = T.quoteStyle || r, W = oe[B];
|
|
198
|
-
return W + e + W;
|
|
199
|
-
}
|
|
200
|
-
function ae(e) {
|
|
201
|
-
return S.call(String(e), /"/g, """);
|
|
202
|
-
}
|
|
203
|
-
function Z(e) {
|
|
204
|
-
return !G || !(typeof e == "object" && (G in e || typeof e[G] < "u"));
|
|
205
|
-
}
|
|
206
|
-
function le(e) {
|
|
207
|
-
return re(e) === "[object Array]" && Z(e);
|
|
208
|
-
}
|
|
209
|
-
function ue(e) {
|
|
210
|
-
return re(e) === "[object Date]" && Z(e);
|
|
211
|
-
}
|
|
212
|
-
function z(e) {
|
|
213
|
-
return re(e) === "[object RegExp]" && Z(e);
|
|
214
|
-
}
|
|
215
|
-
function $(e) {
|
|
216
|
-
return re(e) === "[object Error]" && Z(e);
|
|
217
|
-
}
|
|
218
|
-
function k(e) {
|
|
219
|
-
return re(e) === "[object String]" && Z(e);
|
|
220
|
-
}
|
|
221
|
-
function L(e) {
|
|
222
|
-
return re(e) === "[object Number]" && Z(e);
|
|
223
|
-
}
|
|
224
|
-
function j(e) {
|
|
225
|
-
return re(e) === "[object Boolean]" && Z(e);
|
|
226
|
-
}
|
|
227
|
-
function Q(e) {
|
|
228
|
-
if (M)
|
|
229
|
-
return e && typeof e == "object" && e instanceof Symbol;
|
|
230
|
-
if (typeof e == "symbol")
|
|
231
|
-
return !0;
|
|
232
|
-
if (!e || typeof e != "object" || !U)
|
|
233
|
-
return !1;
|
|
234
|
-
try {
|
|
235
|
-
return U.call(e), !0;
|
|
236
|
-
} catch {
|
|
237
|
-
}
|
|
238
|
-
return !1;
|
|
239
|
-
}
|
|
240
|
-
function ee(e) {
|
|
241
|
-
if (!e || typeof e != "object" || !_)
|
|
242
|
-
return !1;
|
|
243
|
-
try {
|
|
244
|
-
return _.call(e), !0;
|
|
245
|
-
} catch {
|
|
246
|
-
}
|
|
247
|
-
return !1;
|
|
248
|
-
}
|
|
249
|
-
var V = Object.prototype.hasOwnProperty || function(e) {
|
|
250
|
-
return e in this;
|
|
251
|
-
};
|
|
252
|
-
function J(e, r) {
|
|
253
|
-
return V.call(e, r);
|
|
254
|
-
}
|
|
255
|
-
function re(e) {
|
|
256
|
-
return i.call(e);
|
|
257
|
-
}
|
|
258
|
-
function de(e) {
|
|
259
|
-
if (e.name)
|
|
260
|
-
return e.name;
|
|
261
|
-
var r = R.call(o.call(e), /^function\s*([\w$]+)/);
|
|
262
|
-
return r ? r[1] : null;
|
|
263
|
-
}
|
|
264
|
-
function ce(e, r) {
|
|
265
|
-
if (e.indexOf)
|
|
266
|
-
return e.indexOf(r);
|
|
267
|
-
for (var T = 0, B = e.length; T < B; T++)
|
|
268
|
-
if (e[T] === r)
|
|
269
|
-
return T;
|
|
270
|
-
return -1;
|
|
271
|
-
}
|
|
272
|
-
function te(e) {
|
|
273
|
-
if (!p || !e || typeof e != "object")
|
|
274
|
-
return !1;
|
|
275
|
-
try {
|
|
276
|
-
p.call(e);
|
|
277
|
-
try {
|
|
278
|
-
I.call(e);
|
|
279
|
-
} catch {
|
|
280
|
-
return !0;
|
|
281
|
-
}
|
|
282
|
-
return e instanceof Map;
|
|
283
|
-
} catch {
|
|
284
|
-
}
|
|
285
|
-
return !1;
|
|
286
|
-
}
|
|
287
|
-
function ve(e) {
|
|
288
|
-
if (!s || !e || typeof e != "object")
|
|
289
|
-
return !1;
|
|
290
|
-
try {
|
|
291
|
-
s.call(e, s);
|
|
292
|
-
try {
|
|
293
|
-
h.call(e, h);
|
|
294
|
-
} catch {
|
|
295
|
-
return !0;
|
|
296
|
-
}
|
|
297
|
-
return e instanceof WeakMap;
|
|
298
|
-
} catch {
|
|
299
|
-
}
|
|
300
|
-
return !1;
|
|
301
|
-
}
|
|
302
|
-
function he(e) {
|
|
303
|
-
if (!E || !e || typeof e != "object")
|
|
304
|
-
return !1;
|
|
305
|
-
try {
|
|
306
|
-
return E.call(e), !0;
|
|
307
|
-
} catch {
|
|
308
|
-
}
|
|
309
|
-
return !1;
|
|
310
|
-
}
|
|
311
|
-
function ge(e) {
|
|
312
|
-
if (!I || !e || typeof e != "object")
|
|
313
|
-
return !1;
|
|
314
|
-
try {
|
|
315
|
-
I.call(e);
|
|
316
|
-
try {
|
|
317
|
-
p.call(e);
|
|
318
|
-
} catch {
|
|
319
|
-
return !0;
|
|
320
|
-
}
|
|
321
|
-
return e instanceof Set;
|
|
322
|
-
} catch {
|
|
323
|
-
}
|
|
324
|
-
return !1;
|
|
325
|
-
}
|
|
326
|
-
function Ht(e) {
|
|
327
|
-
if (!h || !e || typeof e != "object")
|
|
328
|
-
return !1;
|
|
329
|
-
try {
|
|
330
|
-
h.call(e, h);
|
|
331
|
-
try {
|
|
332
|
-
s.call(e, s);
|
|
333
|
-
} catch {
|
|
334
|
-
return !0;
|
|
335
|
-
}
|
|
336
|
-
return e instanceof WeakSet;
|
|
337
|
-
} catch {
|
|
338
|
-
}
|
|
339
|
-
return !1;
|
|
340
|
-
}
|
|
341
|
-
function jt(e) {
|
|
342
|
-
return !e || typeof e != "object" ? !1 : typeof HTMLElement < "u" && e instanceof HTMLElement ? !0 : typeof e.nodeName == "string" && typeof e.getAttribute == "function";
|
|
343
|
-
}
|
|
344
|
-
function Fr(e, r) {
|
|
345
|
-
if (e.length > r.maxStringLength) {
|
|
346
|
-
var T = e.length - r.maxStringLength, B = "... " + T + " more character" + (T > 1 ? "s" : "");
|
|
347
|
-
return Fr(d.call(e, 0, r.maxStringLength), r) + B;
|
|
348
|
-
}
|
|
349
|
-
var W = ie[r.quoteStyle || "single"];
|
|
350
|
-
W.lastIndex = 0;
|
|
351
|
-
var q = S.call(S.call(e, W, "\\$1"), /[\x00-\x1f]/g, zt);
|
|
352
|
-
return fe(q, "single", r);
|
|
353
|
-
}
|
|
354
|
-
function zt(e) {
|
|
355
|
-
var r = e.charCodeAt(0), T = {
|
|
356
|
-
8: "b",
|
|
357
|
-
9: "t",
|
|
358
|
-
10: "n",
|
|
359
|
-
12: "f",
|
|
360
|
-
13: "r"
|
|
361
|
-
}[r];
|
|
362
|
-
return T ? "\\" + T : "\\x" + (r < 16 ? "0" : "") + D.call(r.toString(16));
|
|
363
|
-
}
|
|
364
|
-
function be(e) {
|
|
365
|
-
return "Object(" + e + ")";
|
|
366
|
-
}
|
|
367
|
-
function Ie(e) {
|
|
368
|
-
return e + " { ? }";
|
|
369
|
-
}
|
|
370
|
-
function Mr(e, r, T, B) {
|
|
371
|
-
var W = B ? xe(T, B) : f.call(T, ", ");
|
|
372
|
-
return e + " (" + r + ") {" + W + "}";
|
|
373
|
-
}
|
|
374
|
-
function Kt(e) {
|
|
375
|
-
for (var r = 0; r < e.length; r++)
|
|
376
|
-
if (ce(e[r], `
|
|
377
|
-
`) >= 0)
|
|
378
|
-
return !1;
|
|
379
|
-
return !0;
|
|
380
|
-
}
|
|
381
|
-
function Qt(e, r) {
|
|
382
|
-
var T;
|
|
383
|
-
if (e.indent === " ")
|
|
384
|
-
T = " ";
|
|
385
|
-
else if (typeof e.indent == "number" && e.indent > 0)
|
|
386
|
-
T = f.call(Array(e.indent + 1), " ");
|
|
387
|
-
else
|
|
388
|
-
return null;
|
|
389
|
-
return {
|
|
390
|
-
base: T,
|
|
391
|
-
prev: f.call(Array(r + 1), T)
|
|
392
|
-
};
|
|
393
|
-
}
|
|
394
|
-
function xe(e, r) {
|
|
395
|
-
if (e.length === 0)
|
|
396
|
-
return "";
|
|
397
|
-
var T = `
|
|
398
|
-
` + r.prev + r.base;
|
|
399
|
-
return T + f.call(e, "," + T) + `
|
|
400
|
-
` + r.prev;
|
|
401
|
-
}
|
|
402
|
-
function Ae(e, r) {
|
|
403
|
-
var T = le(e), B = [];
|
|
404
|
-
if (T) {
|
|
405
|
-
B.length = e.length;
|
|
406
|
-
for (var W = 0; W < e.length; W++)
|
|
407
|
-
B[W] = J(e, W) ? r(e[W], e) : "";
|
|
408
|
-
}
|
|
409
|
-
var q = typeof x == "function" ? x(e) : [], pe;
|
|
410
|
-
if (M) {
|
|
411
|
-
pe = {};
|
|
412
|
-
for (var se = 0; se < q.length; se++)
|
|
413
|
-
pe["$" + q[se]] = q[se];
|
|
414
|
-
}
|
|
415
|
-
for (var Y in e)
|
|
416
|
-
J(e, Y) && (T && String(Number(Y)) === Y && Y < e.length || M && pe["$" + Y] instanceof Symbol || (w.call(/[^\w$]/, Y) ? B.push(r(Y, e) + ": " + r(e[Y], e)) : B.push(Y + ": " + r(e[Y], e))));
|
|
417
|
-
if (typeof x == "function")
|
|
418
|
-
for (var ye = 0; ye < q.length; ye++)
|
|
419
|
-
N.call(e, q[ye]) && B.push("[" + r(q[ye]) + "]: " + r(e[q[ye]], e));
|
|
420
|
-
return B;
|
|
421
|
-
}
|
|
422
|
-
return Le;
|
|
423
|
-
}
|
|
424
|
-
var Be, Hr;
|
|
425
|
-
function nn() {
|
|
426
|
-
if (Hr) return Be;
|
|
427
|
-
Hr = 1;
|
|
428
|
-
var n = /* @__PURE__ */ Re(), c = /* @__PURE__ */ we(), p = function(v, P, s) {
|
|
429
|
-
for (var g = v, h; (h = g.next) != null; g = h)
|
|
430
|
-
if (h.key === P)
|
|
431
|
-
return g.next = h.next, s || (h.next = /** @type {NonNullable<typeof list.next>} */
|
|
432
|
-
v.next, v.next = h), h;
|
|
433
|
-
}, u = function(v, P) {
|
|
434
|
-
if (v) {
|
|
435
|
-
var s = p(v, P);
|
|
436
|
-
return s && s.value;
|
|
437
|
-
}
|
|
438
|
-
}, m = function(v, P, s) {
|
|
439
|
-
var g = p(v, P);
|
|
440
|
-
g ? g.value = s : v.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
|
|
441
|
-
{
|
|
442
|
-
// eslint-disable-line no-param-reassign, no-extra-parens
|
|
443
|
-
key: P,
|
|
444
|
-
next: v.next,
|
|
445
|
-
value: s
|
|
446
|
-
};
|
|
447
|
-
}, O = function(v, P) {
|
|
448
|
-
return v ? !!p(v, P) : !1;
|
|
449
|
-
}, I = function(v, P) {
|
|
450
|
-
if (v)
|
|
451
|
-
return p(v, P, !0);
|
|
452
|
-
};
|
|
453
|
-
return Be = function() {
|
|
454
|
-
var P, s = {
|
|
455
|
-
assert: function(g) {
|
|
456
|
-
if (!s.has(g))
|
|
457
|
-
throw new c("Side channel does not contain " + n(g));
|
|
458
|
-
},
|
|
459
|
-
delete: function(g) {
|
|
460
|
-
var h = P && P.next, F = I(P, g);
|
|
461
|
-
return F && h && h === F && (P = void 0), !!F;
|
|
462
|
-
},
|
|
463
|
-
get: function(g) {
|
|
464
|
-
return u(P, g);
|
|
465
|
-
},
|
|
466
|
-
has: function(g) {
|
|
467
|
-
return O(P, g);
|
|
468
|
-
},
|
|
469
|
-
set: function(g, h) {
|
|
470
|
-
P || (P = {
|
|
471
|
-
next: void 0
|
|
472
|
-
}), m(
|
|
473
|
-
/** @type {NonNullable<typeof $o>} */
|
|
474
|
-
P,
|
|
475
|
-
g,
|
|
476
|
-
h
|
|
477
|
-
);
|
|
478
|
-
}
|
|
479
|
-
};
|
|
480
|
-
return s;
|
|
481
|
-
}, Be;
|
|
482
|
-
}
|
|
483
|
-
var Ue, jr;
|
|
484
|
-
function Dt() {
|
|
485
|
-
return jr || (jr = 1, Ue = Object), Ue;
|
|
486
|
-
}
|
|
487
|
-
var We, zr;
|
|
488
|
-
function an() {
|
|
489
|
-
return zr || (zr = 1, We = Error), We;
|
|
490
|
-
}
|
|
491
|
-
var Ge, Kr;
|
|
492
|
-
function on() {
|
|
493
|
-
return Kr || (Kr = 1, Ge = EvalError), Ge;
|
|
494
|
-
}
|
|
495
|
-
var ke, Qr;
|
|
496
|
-
function fn() {
|
|
497
|
-
return Qr || (Qr = 1, ke = RangeError), ke;
|
|
498
|
-
}
|
|
499
|
-
var He, Vr;
|
|
500
|
-
function ln() {
|
|
501
|
-
return Vr || (Vr = 1, He = ReferenceError), He;
|
|
502
|
-
}
|
|
503
|
-
var je, Jr;
|
|
504
|
-
function un() {
|
|
505
|
-
return Jr || (Jr = 1, je = SyntaxError), je;
|
|
506
|
-
}
|
|
507
|
-
var ze, Yr;
|
|
508
|
-
function cn() {
|
|
509
|
-
return Yr || (Yr = 1, ze = URIError), ze;
|
|
510
|
-
}
|
|
511
|
-
var Ke, Xr;
|
|
512
|
-
function pn() {
|
|
513
|
-
return Xr || (Xr = 1, Ke = Math.abs), Ke;
|
|
514
|
-
}
|
|
515
|
-
var Qe, Zr;
|
|
516
|
-
function yn() {
|
|
517
|
-
return Zr || (Zr = 1, Qe = Math.floor), Qe;
|
|
518
|
-
}
|
|
519
|
-
var Ve, et;
|
|
520
|
-
function sn() {
|
|
521
|
-
return et || (et = 1, Ve = Math.max), Ve;
|
|
522
|
-
}
|
|
523
|
-
var Je, rt;
|
|
524
|
-
function dn() {
|
|
525
|
-
return rt || (rt = 1, Je = Math.min), Je;
|
|
526
|
-
}
|
|
527
|
-
var Ye, tt;
|
|
528
|
-
function vn() {
|
|
529
|
-
return tt || (tt = 1, Ye = Math.pow), Ye;
|
|
530
|
-
}
|
|
531
|
-
var Xe, nt;
|
|
532
|
-
function hn() {
|
|
533
|
-
return nt || (nt = 1, Xe = Math.round), Xe;
|
|
534
|
-
}
|
|
535
|
-
var Ze, at;
|
|
536
|
-
function gn() {
|
|
537
|
-
return at || (at = 1, Ze = Number.isNaN || function(c) {
|
|
538
|
-
return c !== c;
|
|
539
|
-
}), Ze;
|
|
540
|
-
}
|
|
541
|
-
var er, ot;
|
|
542
|
-
function mn() {
|
|
543
|
-
if (ot) return er;
|
|
544
|
-
ot = 1;
|
|
545
|
-
var n = /* @__PURE__ */ gn();
|
|
546
|
-
return er = function(p) {
|
|
547
|
-
return n(p) || p === 0 ? p : p < 0 ? -1 : 1;
|
|
548
|
-
}, er;
|
|
549
|
-
}
|
|
550
|
-
var rr, it;
|
|
551
|
-
function Sn() {
|
|
552
|
-
return it || (it = 1, rr = Object.getOwnPropertyDescriptor), rr;
|
|
553
|
-
}
|
|
554
|
-
var tr, ft;
|
|
555
|
-
function $t() {
|
|
556
|
-
if (ft) return tr;
|
|
557
|
-
ft = 1;
|
|
558
|
-
var n = /* @__PURE__ */ Sn();
|
|
559
|
-
if (n)
|
|
560
|
-
try {
|
|
561
|
-
n([], "length");
|
|
562
|
-
} catch {
|
|
563
|
-
n = null;
|
|
564
|
-
}
|
|
565
|
-
return tr = n, tr;
|
|
566
|
-
}
|
|
567
|
-
var nr, lt;
|
|
568
|
-
function wn() {
|
|
569
|
-
if (lt) return nr;
|
|
570
|
-
lt = 1;
|
|
571
|
-
var n = Object.defineProperty || !1;
|
|
572
|
-
if (n)
|
|
573
|
-
try {
|
|
574
|
-
n({}, "a", { value: 1 });
|
|
575
|
-
} catch {
|
|
576
|
-
n = !1;
|
|
577
|
-
}
|
|
578
|
-
return nr = n, nr;
|
|
579
|
-
}
|
|
580
|
-
var ar, ut;
|
|
581
|
-
function bn() {
|
|
582
|
-
return ut || (ut = 1, ar = function() {
|
|
583
|
-
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
584
|
-
return !1;
|
|
585
|
-
if (typeof Symbol.iterator == "symbol")
|
|
586
|
-
return !0;
|
|
587
|
-
var c = {}, p = /* @__PURE__ */ Symbol("test"), u = Object(p);
|
|
588
|
-
if (typeof p == "string" || Object.prototype.toString.call(p) !== "[object Symbol]" || Object.prototype.toString.call(u) !== "[object Symbol]")
|
|
589
|
-
return !1;
|
|
590
|
-
var m = 42;
|
|
591
|
-
c[p] = m;
|
|
592
|
-
for (var O in c)
|
|
593
|
-
return !1;
|
|
594
|
-
if (typeof Object.keys == "function" && Object.keys(c).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(c).length !== 0)
|
|
595
|
-
return !1;
|
|
596
|
-
var I = Object.getOwnPropertySymbols(c);
|
|
597
|
-
if (I.length !== 1 || I[0] !== p || !Object.prototype.propertyIsEnumerable.call(c, p))
|
|
598
|
-
return !1;
|
|
599
|
-
if (typeof Object.getOwnPropertyDescriptor == "function") {
|
|
600
|
-
var v = (
|
|
601
|
-
/** @type {PropertyDescriptor} */
|
|
602
|
-
Object.getOwnPropertyDescriptor(c, p)
|
|
603
|
-
);
|
|
604
|
-
if (v.value !== m || v.enumerable !== !0)
|
|
605
|
-
return !1;
|
|
606
|
-
}
|
|
607
|
-
return !0;
|
|
608
|
-
}), ar;
|
|
609
|
-
}
|
|
610
|
-
var or, ct;
|
|
611
|
-
function On() {
|
|
612
|
-
if (ct) return or;
|
|
613
|
-
ct = 1;
|
|
614
|
-
var n = typeof Symbol < "u" && Symbol, c = bn();
|
|
615
|
-
return or = function() {
|
|
616
|
-
return typeof n != "function" || typeof Symbol != "function" || typeof n("foo") != "symbol" || typeof /* @__PURE__ */ Symbol("bar") != "symbol" ? !1 : c();
|
|
617
|
-
}, or;
|
|
618
|
-
}
|
|
619
|
-
var ir, pt;
|
|
620
|
-
function Nt() {
|
|
621
|
-
return pt || (pt = 1, ir = typeof Reflect < "u" && Reflect.getPrototypeOf || null), ir;
|
|
622
|
-
}
|
|
623
|
-
var fr, yt;
|
|
624
|
-
function Tt() {
|
|
625
|
-
if (yt) return fr;
|
|
626
|
-
yt = 1;
|
|
627
|
-
var n = /* @__PURE__ */ Dt();
|
|
628
|
-
return fr = n.getPrototypeOf || null, fr;
|
|
629
|
-
}
|
|
630
|
-
var lr, st;
|
|
631
|
-
function An() {
|
|
632
|
-
if (st) return lr;
|
|
633
|
-
st = 1;
|
|
634
|
-
var n = "Function.prototype.bind called on incompatible ", c = Object.prototype.toString, p = Math.max, u = "[object Function]", m = function(P, s) {
|
|
635
|
-
for (var g = [], h = 0; h < P.length; h += 1)
|
|
636
|
-
g[h] = P[h];
|
|
637
|
-
for (var F = 0; F < s.length; F += 1)
|
|
638
|
-
g[F + P.length] = s[F];
|
|
639
|
-
return g;
|
|
640
|
-
}, O = function(P, s) {
|
|
641
|
-
for (var g = [], h = s, F = 0; h < P.length; h += 1, F += 1)
|
|
642
|
-
g[F] = P[h];
|
|
643
|
-
return g;
|
|
644
|
-
}, I = function(v, P) {
|
|
645
|
-
for (var s = "", g = 0; g < v.length; g += 1)
|
|
646
|
-
s += v[g], g + 1 < v.length && (s += P);
|
|
647
|
-
return s;
|
|
648
|
-
};
|
|
649
|
-
return lr = function(P) {
|
|
650
|
-
var s = this;
|
|
651
|
-
if (typeof s != "function" || c.apply(s) !== u)
|
|
652
|
-
throw new TypeError(n + s);
|
|
653
|
-
for (var g = O(arguments, 1), h, F = function() {
|
|
654
|
-
if (this instanceof h) {
|
|
655
|
-
var R = s.apply(
|
|
656
|
-
this,
|
|
657
|
-
m(g, arguments)
|
|
658
|
-
);
|
|
659
|
-
return Object(R) === R ? R : this;
|
|
660
|
-
}
|
|
661
|
-
return s.apply(
|
|
662
|
-
P,
|
|
663
|
-
m(g, arguments)
|
|
664
|
-
);
|
|
665
|
-
}, E = p(0, s.length - g.length), a = [], i = 0; i < E; i++)
|
|
666
|
-
a[i] = "$" + i;
|
|
667
|
-
if (h = Function("binder", "return function (" + I(a, ",") + "){ return binder.apply(this,arguments); }")(F), s.prototype) {
|
|
668
|
-
var o = function() {
|
|
669
|
-
};
|
|
670
|
-
o.prototype = s.prototype, h.prototype = new o(), o.prototype = null;
|
|
671
|
-
}
|
|
672
|
-
return h;
|
|
673
|
-
}, lr;
|
|
674
|
-
}
|
|
675
|
-
var ur, dt;
|
|
676
|
-
function _e() {
|
|
677
|
-
if (dt) return ur;
|
|
678
|
-
dt = 1;
|
|
679
|
-
var n = An();
|
|
680
|
-
return ur = Function.prototype.bind || n, ur;
|
|
681
|
-
}
|
|
682
|
-
var cr, vt;
|
|
683
|
-
function Ir() {
|
|
684
|
-
return vt || (vt = 1, cr = Function.prototype.call), cr;
|
|
685
|
-
}
|
|
686
|
-
var pr, ht;
|
|
687
|
-
function Ct() {
|
|
688
|
-
return ht || (ht = 1, pr = Function.prototype.apply), pr;
|
|
689
|
-
}
|
|
690
|
-
var yr, gt;
|
|
691
|
-
function En() {
|
|
692
|
-
return gt || (gt = 1, yr = typeof Reflect < "u" && Reflect && Reflect.apply), yr;
|
|
693
|
-
}
|
|
694
|
-
var sr, mt;
|
|
695
|
-
function Pn() {
|
|
696
|
-
if (mt) return sr;
|
|
697
|
-
mt = 1;
|
|
698
|
-
var n = _e(), c = Ct(), p = Ir(), u = En();
|
|
699
|
-
return sr = u || n.call(p, c), sr;
|
|
700
|
-
}
|
|
701
|
-
var dr, St;
|
|
702
|
-
function Lt() {
|
|
703
|
-
if (St) return dr;
|
|
704
|
-
St = 1;
|
|
705
|
-
var n = _e(), c = /* @__PURE__ */ we(), p = Ir(), u = Pn();
|
|
706
|
-
return dr = function(O) {
|
|
707
|
-
if (O.length < 1 || typeof O[0] != "function")
|
|
708
|
-
throw new c("a function is required");
|
|
709
|
-
return u(n, p, O);
|
|
710
|
-
}, dr;
|
|
711
|
-
}
|
|
712
|
-
var vr, wt;
|
|
713
|
-
function Rn() {
|
|
714
|
-
if (wt) return vr;
|
|
715
|
-
wt = 1;
|
|
716
|
-
var n = Lt(), c = /* @__PURE__ */ $t(), p;
|
|
717
|
-
try {
|
|
718
|
-
p = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
719
|
-
[].__proto__ === Array.prototype;
|
|
720
|
-
} catch (I) {
|
|
721
|
-
if (!I || typeof I != "object" || !("code" in I) || I.code !== "ERR_PROTO_ACCESS")
|
|
722
|
-
throw I;
|
|
723
|
-
}
|
|
724
|
-
var u = !!p && c && c(
|
|
725
|
-
Object.prototype,
|
|
726
|
-
/** @type {keyof typeof Object.prototype} */
|
|
727
|
-
"__proto__"
|
|
728
|
-
), m = Object, O = m.getPrototypeOf;
|
|
729
|
-
return vr = u && typeof u.get == "function" ? n([u.get]) : typeof O == "function" ? (
|
|
730
|
-
/** @type {import('./get')} */
|
|
731
|
-
function(v) {
|
|
732
|
-
return O(v == null ? v : m(v));
|
|
733
|
-
}
|
|
734
|
-
) : !1, vr;
|
|
735
|
-
}
|
|
736
|
-
var hr, bt;
|
|
737
|
-
function _n() {
|
|
738
|
-
if (bt) return hr;
|
|
739
|
-
bt = 1;
|
|
740
|
-
var n = Nt(), c = Tt(), p = /* @__PURE__ */ Rn();
|
|
741
|
-
return hr = n ? function(m) {
|
|
742
|
-
return n(m);
|
|
743
|
-
} : c ? function(m) {
|
|
744
|
-
if (!m || typeof m != "object" && typeof m != "function")
|
|
745
|
-
throw new TypeError("getProto: not an object");
|
|
746
|
-
return c(m);
|
|
747
|
-
} : p ? function(m) {
|
|
748
|
-
return p(m);
|
|
749
|
-
} : null, hr;
|
|
750
|
-
}
|
|
751
|
-
var gr, Ot;
|
|
752
|
-
function In() {
|
|
753
|
-
if (Ot) return gr;
|
|
754
|
-
Ot = 1;
|
|
755
|
-
var n = Function.prototype.call, c = Object.prototype.hasOwnProperty, p = _e();
|
|
756
|
-
return gr = p.call(n, c), gr;
|
|
757
|
-
}
|
|
758
|
-
var mr, At;
|
|
759
|
-
function xr() {
|
|
760
|
-
if (At) return mr;
|
|
761
|
-
At = 1;
|
|
762
|
-
var n, c = /* @__PURE__ */ Dt(), p = /* @__PURE__ */ an(), u = /* @__PURE__ */ on(), m = /* @__PURE__ */ fn(), O = /* @__PURE__ */ ln(), I = /* @__PURE__ */ un(), v = /* @__PURE__ */ we(), P = /* @__PURE__ */ cn(), s = /* @__PURE__ */ pn(), g = /* @__PURE__ */ yn(), h = /* @__PURE__ */ sn(), F = /* @__PURE__ */ dn(), E = /* @__PURE__ */ vn(), a = /* @__PURE__ */ hn(), i = /* @__PURE__ */ mn(), o = Function, R = function(z) {
|
|
763
|
-
try {
|
|
764
|
-
return o('"use strict"; return (' + z + ").constructor;")();
|
|
765
|
-
} catch {
|
|
766
|
-
}
|
|
767
|
-
}, d = /* @__PURE__ */ $t(), S = /* @__PURE__ */ wn(), D = function() {
|
|
768
|
-
throw new v();
|
|
769
|
-
}, A = d ? (function() {
|
|
770
|
-
try {
|
|
771
|
-
return arguments.callee, D;
|
|
772
|
-
} catch {
|
|
773
|
-
try {
|
|
774
|
-
return d(arguments, "callee").get;
|
|
775
|
-
} catch {
|
|
776
|
-
return D;
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
})() : D, w = On()(), t = _n(), f = Tt(), y = Nt(), b = Ct(), _ = Ir(), x = {}, U = typeof Uint8Array > "u" || !t ? n : t(Uint8Array), M = {
|
|
780
|
-
__proto__: null,
|
|
781
|
-
"%AggregateError%": typeof AggregateError > "u" ? n : AggregateError,
|
|
782
|
-
"%Array%": Array,
|
|
783
|
-
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? n : ArrayBuffer,
|
|
784
|
-
"%ArrayIteratorPrototype%": w && t ? t([][Symbol.iterator]()) : n,
|
|
785
|
-
"%AsyncFromSyncIteratorPrototype%": n,
|
|
786
|
-
"%AsyncFunction%": x,
|
|
787
|
-
"%AsyncGenerator%": x,
|
|
788
|
-
"%AsyncGeneratorFunction%": x,
|
|
789
|
-
"%AsyncIteratorPrototype%": x,
|
|
790
|
-
"%Atomics%": typeof Atomics > "u" ? n : Atomics,
|
|
791
|
-
"%BigInt%": typeof BigInt > "u" ? n : BigInt,
|
|
792
|
-
"%BigInt64Array%": typeof BigInt64Array > "u" ? n : BigInt64Array,
|
|
793
|
-
"%BigUint64Array%": typeof BigUint64Array > "u" ? n : BigUint64Array,
|
|
794
|
-
"%Boolean%": Boolean,
|
|
795
|
-
"%DataView%": typeof DataView > "u" ? n : DataView,
|
|
796
|
-
"%Date%": Date,
|
|
797
|
-
"%decodeURI%": decodeURI,
|
|
798
|
-
"%decodeURIComponent%": decodeURIComponent,
|
|
799
|
-
"%encodeURI%": encodeURI,
|
|
800
|
-
"%encodeURIComponent%": encodeURIComponent,
|
|
801
|
-
"%Error%": p,
|
|
802
|
-
"%eval%": eval,
|
|
803
|
-
// eslint-disable-line no-eval
|
|
804
|
-
"%EvalError%": u,
|
|
805
|
-
"%Float16Array%": typeof Float16Array > "u" ? n : Float16Array,
|
|
806
|
-
"%Float32Array%": typeof Float32Array > "u" ? n : Float32Array,
|
|
807
|
-
"%Float64Array%": typeof Float64Array > "u" ? n : Float64Array,
|
|
808
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? n : FinalizationRegistry,
|
|
809
|
-
"%Function%": o,
|
|
810
|
-
"%GeneratorFunction%": x,
|
|
811
|
-
"%Int8Array%": typeof Int8Array > "u" ? n : Int8Array,
|
|
812
|
-
"%Int16Array%": typeof Int16Array > "u" ? n : Int16Array,
|
|
813
|
-
"%Int32Array%": typeof Int32Array > "u" ? n : Int32Array,
|
|
814
|
-
"%isFinite%": isFinite,
|
|
815
|
-
"%isNaN%": isNaN,
|
|
816
|
-
"%IteratorPrototype%": w && t ? t(t([][Symbol.iterator]())) : n,
|
|
817
|
-
"%JSON%": typeof JSON == "object" ? JSON : n,
|
|
818
|
-
"%Map%": typeof Map > "u" ? n : Map,
|
|
819
|
-
"%MapIteratorPrototype%": typeof Map > "u" || !w || !t ? n : t((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
820
|
-
"%Math%": Math,
|
|
821
|
-
"%Number%": Number,
|
|
822
|
-
"%Object%": c,
|
|
823
|
-
"%Object.getOwnPropertyDescriptor%": d,
|
|
824
|
-
"%parseFloat%": parseFloat,
|
|
825
|
-
"%parseInt%": parseInt,
|
|
826
|
-
"%Promise%": typeof Promise > "u" ? n : Promise,
|
|
827
|
-
"%Proxy%": typeof Proxy > "u" ? n : Proxy,
|
|
828
|
-
"%RangeError%": m,
|
|
829
|
-
"%ReferenceError%": O,
|
|
830
|
-
"%Reflect%": typeof Reflect > "u" ? n : Reflect,
|
|
831
|
-
"%RegExp%": RegExp,
|
|
832
|
-
"%Set%": typeof Set > "u" ? n : Set,
|
|
833
|
-
"%SetIteratorPrototype%": typeof Set > "u" || !w || !t ? n : t((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
834
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? n : SharedArrayBuffer,
|
|
835
|
-
"%String%": String,
|
|
836
|
-
"%StringIteratorPrototype%": w && t ? t(""[Symbol.iterator]()) : n,
|
|
837
|
-
"%Symbol%": w ? Symbol : n,
|
|
838
|
-
"%SyntaxError%": I,
|
|
839
|
-
"%ThrowTypeError%": A,
|
|
840
|
-
"%TypedArray%": U,
|
|
841
|
-
"%TypeError%": v,
|
|
842
|
-
"%Uint8Array%": typeof Uint8Array > "u" ? n : Uint8Array,
|
|
843
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? n : Uint8ClampedArray,
|
|
844
|
-
"%Uint16Array%": typeof Uint16Array > "u" ? n : Uint16Array,
|
|
845
|
-
"%Uint32Array%": typeof Uint32Array > "u" ? n : Uint32Array,
|
|
846
|
-
"%URIError%": P,
|
|
847
|
-
"%WeakMap%": typeof WeakMap > "u" ? n : WeakMap,
|
|
848
|
-
"%WeakRef%": typeof WeakRef > "u" ? n : WeakRef,
|
|
849
|
-
"%WeakSet%": typeof WeakSet > "u" ? n : WeakSet,
|
|
850
|
-
"%Function.prototype.call%": _,
|
|
851
|
-
"%Function.prototype.apply%": b,
|
|
852
|
-
"%Object.defineProperty%": S,
|
|
853
|
-
"%Object.getPrototypeOf%": f,
|
|
854
|
-
"%Math.abs%": s,
|
|
855
|
-
"%Math.floor%": g,
|
|
856
|
-
"%Math.max%": h,
|
|
857
|
-
"%Math.min%": F,
|
|
858
|
-
"%Math.pow%": E,
|
|
859
|
-
"%Math.round%": a,
|
|
860
|
-
"%Math.sign%": i,
|
|
861
|
-
"%Reflect.getPrototypeOf%": y
|
|
862
|
-
};
|
|
863
|
-
if (t)
|
|
864
|
-
try {
|
|
865
|
-
null.error;
|
|
866
|
-
} catch (z) {
|
|
867
|
-
var G = t(t(z));
|
|
868
|
-
M["%Error.prototype%"] = G;
|
|
869
|
-
}
|
|
870
|
-
var N = function z($) {
|
|
871
|
-
var k;
|
|
872
|
-
if ($ === "%AsyncFunction%")
|
|
873
|
-
k = R("async function () {}");
|
|
874
|
-
else if ($ === "%GeneratorFunction%")
|
|
875
|
-
k = R("function* () {}");
|
|
876
|
-
else if ($ === "%AsyncGeneratorFunction%")
|
|
877
|
-
k = R("async function* () {}");
|
|
878
|
-
else if ($ === "%AsyncGenerator%") {
|
|
879
|
-
var L = z("%AsyncGeneratorFunction%");
|
|
880
|
-
L && (k = L.prototype);
|
|
881
|
-
} else if ($ === "%AsyncIteratorPrototype%") {
|
|
882
|
-
var j = z("%AsyncGenerator%");
|
|
883
|
-
j && t && (k = t(j.prototype));
|
|
884
|
-
}
|
|
885
|
-
return M[$] = k, k;
|
|
886
|
-
}, H = {
|
|
887
|
-
__proto__: null,
|
|
888
|
-
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
889
|
-
"%ArrayPrototype%": ["Array", "prototype"],
|
|
890
|
-
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
891
|
-
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
892
|
-
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
893
|
-
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
894
|
-
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
895
|
-
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
896
|
-
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
897
|
-
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
898
|
-
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
899
|
-
"%DatePrototype%": ["Date", "prototype"],
|
|
900
|
-
"%ErrorPrototype%": ["Error", "prototype"],
|
|
901
|
-
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
902
|
-
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
903
|
-
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
904
|
-
"%FunctionPrototype%": ["Function", "prototype"],
|
|
905
|
-
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
906
|
-
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
907
|
-
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
908
|
-
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
909
|
-
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
910
|
-
"%JSONParse%": ["JSON", "parse"],
|
|
911
|
-
"%JSONStringify%": ["JSON", "stringify"],
|
|
912
|
-
"%MapPrototype%": ["Map", "prototype"],
|
|
913
|
-
"%NumberPrototype%": ["Number", "prototype"],
|
|
914
|
-
"%ObjectPrototype%": ["Object", "prototype"],
|
|
915
|
-
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
916
|
-
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
917
|
-
"%PromisePrototype%": ["Promise", "prototype"],
|
|
918
|
-
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
919
|
-
"%Promise_all%": ["Promise", "all"],
|
|
920
|
-
"%Promise_reject%": ["Promise", "reject"],
|
|
921
|
-
"%Promise_resolve%": ["Promise", "resolve"],
|
|
922
|
-
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
923
|
-
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
924
|
-
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
925
|
-
"%SetPrototype%": ["Set", "prototype"],
|
|
926
|
-
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
927
|
-
"%StringPrototype%": ["String", "prototype"],
|
|
928
|
-
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
929
|
-
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
930
|
-
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
931
|
-
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
932
|
-
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
933
|
-
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
934
|
-
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
935
|
-
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
936
|
-
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
937
|
-
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
938
|
-
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
939
|
-
}, l = _e(), C = /* @__PURE__ */ In(), K = l.call(_, Array.prototype.concat), X = l.call(b, Array.prototype.splice), oe = l.call(_, String.prototype.replace), ie = l.call(_, String.prototype.slice), fe = l.call(_, RegExp.prototype.exec), ae = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Z = /\\(\\)?/g, le = function($) {
|
|
940
|
-
var k = ie($, 0, 1), L = ie($, -1);
|
|
941
|
-
if (k === "%" && L !== "%")
|
|
942
|
-
throw new I("invalid intrinsic syntax, expected closing `%`");
|
|
943
|
-
if (L === "%" && k !== "%")
|
|
944
|
-
throw new I("invalid intrinsic syntax, expected opening `%`");
|
|
945
|
-
var j = [];
|
|
946
|
-
return oe($, ae, function(Q, ee, V, J) {
|
|
947
|
-
j[j.length] = V ? oe(J, Z, "$1") : ee || Q;
|
|
948
|
-
}), j;
|
|
949
|
-
}, ue = function($, k) {
|
|
950
|
-
var L = $, j;
|
|
951
|
-
if (C(H, L) && (j = H[L], L = "%" + j[0] + "%"), C(M, L)) {
|
|
952
|
-
var Q = M[L];
|
|
953
|
-
if (Q === x && (Q = N(L)), typeof Q > "u" && !k)
|
|
954
|
-
throw new v("intrinsic " + $ + " exists, but is not available. Please file an issue!");
|
|
955
|
-
return {
|
|
956
|
-
alias: j,
|
|
957
|
-
name: L,
|
|
958
|
-
value: Q
|
|
959
|
-
};
|
|
960
|
-
}
|
|
961
|
-
throw new I("intrinsic " + $ + " does not exist!");
|
|
962
|
-
};
|
|
963
|
-
return mr = function($, k) {
|
|
964
|
-
if (typeof $ != "string" || $.length === 0)
|
|
965
|
-
throw new v("intrinsic name must be a non-empty string");
|
|
966
|
-
if (arguments.length > 1 && typeof k != "boolean")
|
|
967
|
-
throw new v('"allowMissing" argument must be a boolean');
|
|
968
|
-
if (fe(/^%?[^%]*%?$/, $) === null)
|
|
969
|
-
throw new I("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
970
|
-
var L = le($), j = L.length > 0 ? L[0] : "", Q = ue("%" + j + "%", k), ee = Q.name, V = Q.value, J = !1, re = Q.alias;
|
|
971
|
-
re && (j = re[0], X(L, K([0, 1], re)));
|
|
972
|
-
for (var de = 1, ce = !0; de < L.length; de += 1) {
|
|
973
|
-
var te = L[de], ve = ie(te, 0, 1), he = ie(te, -1);
|
|
974
|
-
if ((ve === '"' || ve === "'" || ve === "`" || he === '"' || he === "'" || he === "`") && ve !== he)
|
|
975
|
-
throw new I("property names with quotes must have matching quotes");
|
|
976
|
-
if ((te === "constructor" || !ce) && (J = !0), j += "." + te, ee = "%" + j + "%", C(M, ee))
|
|
977
|
-
V = M[ee];
|
|
978
|
-
else if (V != null) {
|
|
979
|
-
if (!(te in V)) {
|
|
980
|
-
if (!k)
|
|
981
|
-
throw new v("base intrinsic for " + $ + " exists, but the property is not available.");
|
|
982
|
-
return;
|
|
983
|
-
}
|
|
984
|
-
if (d && de + 1 >= L.length) {
|
|
985
|
-
var ge = d(V, te);
|
|
986
|
-
ce = !!ge, ce && "get" in ge && !("originalValue" in ge.get) ? V = ge.get : V = V[te];
|
|
987
|
-
} else
|
|
988
|
-
ce = C(V, te), V = V[te];
|
|
989
|
-
ce && !J && (M[ee] = V);
|
|
990
|
-
}
|
|
991
|
-
}
|
|
992
|
-
return V;
|
|
993
|
-
}, mr;
|
|
994
|
-
}
|
|
995
|
-
var Sr, Et;
|
|
996
|
-
function Bt() {
|
|
997
|
-
if (Et) return Sr;
|
|
998
|
-
Et = 1;
|
|
999
|
-
var n = /* @__PURE__ */ xr(), c = Lt(), p = c([n("%String.prototype.indexOf%")]);
|
|
1000
|
-
return Sr = function(m, O) {
|
|
1001
|
-
var I = (
|
|
1002
|
-
/** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
|
1003
|
-
n(m, !!O)
|
|
1004
|
-
);
|
|
1005
|
-
return typeof I == "function" && p(m, ".prototype.") > -1 ? c(
|
|
1006
|
-
/** @type {const} */
|
|
1007
|
-
[I]
|
|
1008
|
-
) : I;
|
|
1009
|
-
}, Sr;
|
|
1010
|
-
}
|
|
1011
|
-
var wr, Pt;
|
|
1012
|
-
function Ut() {
|
|
1013
|
-
if (Pt) return wr;
|
|
1014
|
-
Pt = 1;
|
|
1015
|
-
var n = /* @__PURE__ */ xr(), c = /* @__PURE__ */ Bt(), p = /* @__PURE__ */ Re(), u = /* @__PURE__ */ we(), m = n("%Map%", !0), O = c("Map.prototype.get", !0), I = c("Map.prototype.set", !0), v = c("Map.prototype.has", !0), P = c("Map.prototype.delete", !0), s = c("Map.prototype.size", !0);
|
|
1016
|
-
return wr = !!m && /** @type {Exclude<import('.'), false>} */
|
|
1017
|
-
function() {
|
|
1018
|
-
var h, F = {
|
|
1019
|
-
assert: function(E) {
|
|
1020
|
-
if (!F.has(E))
|
|
1021
|
-
throw new u("Side channel does not contain " + p(E));
|
|
1022
|
-
},
|
|
1023
|
-
delete: function(E) {
|
|
1024
|
-
if (h) {
|
|
1025
|
-
var a = P(h, E);
|
|
1026
|
-
return s(h) === 0 && (h = void 0), a;
|
|
1027
|
-
}
|
|
1028
|
-
return !1;
|
|
1029
|
-
},
|
|
1030
|
-
get: function(E) {
|
|
1031
|
-
if (h)
|
|
1032
|
-
return O(h, E);
|
|
1033
|
-
},
|
|
1034
|
-
has: function(E) {
|
|
1035
|
-
return h ? v(h, E) : !1;
|
|
1036
|
-
},
|
|
1037
|
-
set: function(E, a) {
|
|
1038
|
-
h || (h = new m()), I(h, E, a);
|
|
1039
|
-
}
|
|
1040
|
-
};
|
|
1041
|
-
return F;
|
|
1042
|
-
}, wr;
|
|
1043
|
-
}
|
|
1044
|
-
var br, Rt;
|
|
1045
|
-
function xn() {
|
|
1046
|
-
if (Rt) return br;
|
|
1047
|
-
Rt = 1;
|
|
1048
|
-
var n = /* @__PURE__ */ xr(), c = /* @__PURE__ */ Bt(), p = /* @__PURE__ */ Re(), u = Ut(), m = /* @__PURE__ */ we(), O = n("%WeakMap%", !0), I = c("WeakMap.prototype.get", !0), v = c("WeakMap.prototype.set", !0), P = c("WeakMap.prototype.has", !0), s = c("WeakMap.prototype.delete", !0);
|
|
1049
|
-
return br = O ? (
|
|
1050
|
-
/** @type {Exclude<import('.'), false>} */
|
|
1051
|
-
function() {
|
|
1052
|
-
var h, F, E = {
|
|
1053
|
-
assert: function(a) {
|
|
1054
|
-
if (!E.has(a))
|
|
1055
|
-
throw new m("Side channel does not contain " + p(a));
|
|
1056
|
-
},
|
|
1057
|
-
delete: function(a) {
|
|
1058
|
-
if (O && a && (typeof a == "object" || typeof a == "function")) {
|
|
1059
|
-
if (h)
|
|
1060
|
-
return s(h, a);
|
|
1061
|
-
} else if (u && F)
|
|
1062
|
-
return F.delete(a);
|
|
1063
|
-
return !1;
|
|
1064
|
-
},
|
|
1065
|
-
get: function(a) {
|
|
1066
|
-
return O && a && (typeof a == "object" || typeof a == "function") && h ? I(h, a) : F && F.get(a);
|
|
1067
|
-
},
|
|
1068
|
-
has: function(a) {
|
|
1069
|
-
return O && a && (typeof a == "object" || typeof a == "function") && h ? P(h, a) : !!F && F.has(a);
|
|
1070
|
-
},
|
|
1071
|
-
set: function(a, i) {
|
|
1072
|
-
O && a && (typeof a == "object" || typeof a == "function") ? (h || (h = new O()), v(h, a, i)) : u && (F || (F = u()), F.set(a, i));
|
|
1073
|
-
}
|
|
1074
|
-
};
|
|
1075
|
-
return E;
|
|
1076
|
-
}
|
|
1077
|
-
) : u, br;
|
|
1078
|
-
}
|
|
1079
|
-
var Or, _t;
|
|
1080
|
-
function Wt() {
|
|
1081
|
-
if (_t) return Or;
|
|
1082
|
-
_t = 1;
|
|
1083
|
-
var n = /* @__PURE__ */ we(), c = /* @__PURE__ */ Re(), p = nn(), u = Ut(), m = xn(), O = m || u || p;
|
|
1084
|
-
return Or = function() {
|
|
1085
|
-
var v, P = {
|
|
1086
|
-
assert: function(s) {
|
|
1087
|
-
if (!P.has(s))
|
|
1088
|
-
throw new n("Side channel does not contain " + c(s));
|
|
1089
|
-
},
|
|
1090
|
-
delete: function(s) {
|
|
1091
|
-
return !!v && v.delete(s);
|
|
1092
|
-
},
|
|
1093
|
-
get: function(s) {
|
|
1094
|
-
return v && v.get(s);
|
|
1095
|
-
},
|
|
1096
|
-
has: function(s) {
|
|
1097
|
-
return !!v && v.has(s);
|
|
1098
|
-
},
|
|
1099
|
-
set: function(s, g) {
|
|
1100
|
-
v || (v = O()), v.set(s, g);
|
|
1101
|
-
}
|
|
1102
|
-
};
|
|
1103
|
-
return P;
|
|
1104
|
-
}, Or;
|
|
1105
|
-
}
|
|
1106
|
-
var Ar, It;
|
|
1107
|
-
function qr() {
|
|
1108
|
-
if (It) return Ar;
|
|
1109
|
-
It = 1;
|
|
1110
|
-
var n = String.prototype.replace, c = /%20/g, p = {
|
|
1111
|
-
RFC1738: "RFC1738",
|
|
1112
|
-
RFC3986: "RFC3986"
|
|
1113
|
-
};
|
|
1114
|
-
return Ar = {
|
|
1115
|
-
default: p.RFC3986,
|
|
1116
|
-
formatters: {
|
|
1117
|
-
RFC1738: function(u) {
|
|
1118
|
-
return n.call(u, c, "+");
|
|
1119
|
-
},
|
|
1120
|
-
RFC3986: function(u) {
|
|
1121
|
-
return String(u);
|
|
1122
|
-
}
|
|
1123
|
-
},
|
|
1124
|
-
RFC1738: p.RFC1738,
|
|
1125
|
-
RFC3986: p.RFC3986
|
|
1126
|
-
}, Ar;
|
|
1127
|
-
}
|
|
1128
|
-
var Er, xt;
|
|
1129
|
-
function Gt() {
|
|
1130
|
-
if (xt) return Er;
|
|
1131
|
-
xt = 1;
|
|
1132
|
-
var n = /* @__PURE__ */ qr(), c = Wt(), p = Object.prototype.hasOwnProperty, u = Array.isArray, m = c(), O = function(t, f) {
|
|
1133
|
-
return m.set(t, f), t;
|
|
1134
|
-
}, I = function(t) {
|
|
1135
|
-
return m.has(t);
|
|
1136
|
-
}, v = function(t) {
|
|
1137
|
-
return m.get(t);
|
|
1138
|
-
}, P = function(t, f) {
|
|
1139
|
-
m.set(t, f);
|
|
1140
|
-
}, s = (function() {
|
|
1141
|
-
for (var w = [], t = 0; t < 256; ++t)
|
|
1142
|
-
w[w.length] = "%" + ((t < 16 ? "0" : "") + t.toString(16)).toUpperCase();
|
|
1143
|
-
return w;
|
|
1144
|
-
})(), g = function(t) {
|
|
1145
|
-
for (; t.length > 1; ) {
|
|
1146
|
-
var f = t.pop(), y = f.obj[f.prop];
|
|
1147
|
-
if (u(y)) {
|
|
1148
|
-
for (var b = [], _ = 0; _ < y.length; ++_)
|
|
1149
|
-
typeof y[_] < "u" && (b[b.length] = y[_]);
|
|
1150
|
-
f.obj[f.prop] = b;
|
|
1151
|
-
}
|
|
1152
|
-
}
|
|
1153
|
-
}, h = function(t, f) {
|
|
1154
|
-
for (var y = f && f.plainObjects ? { __proto__: null } : {}, b = 0; b < t.length; ++b)
|
|
1155
|
-
typeof t[b] < "u" && (y[b] = t[b]);
|
|
1156
|
-
return y;
|
|
1157
|
-
}, F = function w(t, f, y) {
|
|
1158
|
-
if (!f)
|
|
1159
|
-
return t;
|
|
1160
|
-
if (typeof f != "object" && typeof f != "function") {
|
|
1161
|
-
if (u(t)) {
|
|
1162
|
-
var b = t.length;
|
|
1163
|
-
if (y && typeof y.arrayLimit == "number" && b > y.arrayLimit)
|
|
1164
|
-
return O(h(t.concat(f), y), b);
|
|
1165
|
-
t[b] = f;
|
|
1166
|
-
} else if (t && typeof t == "object")
|
|
1167
|
-
if (I(t)) {
|
|
1168
|
-
var _ = v(t) + 1;
|
|
1169
|
-
t[_] = f, P(t, _);
|
|
1170
|
-
} else (y && (y.plainObjects || y.allowPrototypes) || !p.call(Object.prototype, f)) && (t[f] = !0);
|
|
1171
|
-
else
|
|
1172
|
-
return [t, f];
|
|
1173
|
-
return t;
|
|
1174
|
-
}
|
|
1175
|
-
if (!t || typeof t != "object") {
|
|
1176
|
-
if (I(f)) {
|
|
1177
|
-
for (var x = Object.keys(f), U = y && y.plainObjects ? { __proto__: null, 0: t } : { 0: t }, M = 0; M < x.length; M++) {
|
|
1178
|
-
var G = parseInt(x[M], 10);
|
|
1179
|
-
U[G + 1] = f[x[M]];
|
|
1180
|
-
}
|
|
1181
|
-
return O(U, v(f) + 1);
|
|
1182
|
-
}
|
|
1183
|
-
var N = [t].concat(f);
|
|
1184
|
-
return y && typeof y.arrayLimit == "number" && N.length > y.arrayLimit ? O(h(N, y), N.length - 1) : N;
|
|
1185
|
-
}
|
|
1186
|
-
var H = t;
|
|
1187
|
-
return u(t) && !u(f) && (H = h(t, y)), u(t) && u(f) ? (f.forEach(function(l, C) {
|
|
1188
|
-
if (p.call(t, C)) {
|
|
1189
|
-
var K = t[C];
|
|
1190
|
-
K && typeof K == "object" && l && typeof l == "object" ? t[C] = w(K, l, y) : t[t.length] = l;
|
|
1191
|
-
} else
|
|
1192
|
-
t[C] = l;
|
|
1193
|
-
}), t) : Object.keys(f).reduce(function(l, C) {
|
|
1194
|
-
var K = f[C];
|
|
1195
|
-
if (p.call(l, C) ? l[C] = w(l[C], K, y) : l[C] = K, I(f) && !I(l) && O(l, v(f)), I(l)) {
|
|
1196
|
-
var X = parseInt(C, 10);
|
|
1197
|
-
String(X) === C && X >= 0 && X > v(l) && P(l, X);
|
|
1198
|
-
}
|
|
1199
|
-
return l;
|
|
1200
|
-
}, H);
|
|
1201
|
-
}, E = function(t, f) {
|
|
1202
|
-
return Object.keys(f).reduce(function(y, b) {
|
|
1203
|
-
return y[b] = f[b], y;
|
|
1204
|
-
}, t);
|
|
1205
|
-
}, a = function(w, t, f) {
|
|
1206
|
-
var y = w.replace(/\+/g, " ");
|
|
1207
|
-
if (f === "iso-8859-1")
|
|
1208
|
-
return y.replace(/%[0-9a-f]{2}/gi, unescape);
|
|
1209
|
-
try {
|
|
1210
|
-
return decodeURIComponent(y);
|
|
1211
|
-
} catch {
|
|
1212
|
-
return y;
|
|
1213
|
-
}
|
|
1214
|
-
}, i = 1024, o = function(t, f, y, b, _) {
|
|
1215
|
-
if (t.length === 0)
|
|
1216
|
-
return t;
|
|
1217
|
-
var x = t;
|
|
1218
|
-
if (typeof t == "symbol" ? x = Symbol.prototype.toString.call(t) : typeof t != "string" && (x = String(t)), y === "iso-8859-1")
|
|
1219
|
-
return escape(x).replace(/%u[0-9a-f]{4}/gi, function(C) {
|
|
1220
|
-
return "%26%23" + parseInt(C.slice(2), 16) + "%3B";
|
|
1221
|
-
});
|
|
1222
|
-
for (var U = "", M = 0; M < x.length; M += i) {
|
|
1223
|
-
for (var G = x.length >= i ? x.slice(M, M + i) : x, N = [], H = 0; H < G.length; ++H) {
|
|
1224
|
-
var l = G.charCodeAt(H);
|
|
1225
|
-
if (l === 45 || l === 46 || l === 95 || l === 126 || l >= 48 && l <= 57 || l >= 65 && l <= 90 || l >= 97 && l <= 122 || _ === n.RFC1738 && (l === 40 || l === 41)) {
|
|
1226
|
-
N[N.length] = G.charAt(H);
|
|
1227
|
-
continue;
|
|
1228
|
-
}
|
|
1229
|
-
if (l < 128) {
|
|
1230
|
-
N[N.length] = s[l];
|
|
1231
|
-
continue;
|
|
1232
|
-
}
|
|
1233
|
-
if (l < 2048) {
|
|
1234
|
-
N[N.length] = s[192 | l >> 6] + s[128 | l & 63];
|
|
1235
|
-
continue;
|
|
1236
|
-
}
|
|
1237
|
-
if (l < 55296 || l >= 57344) {
|
|
1238
|
-
N[N.length] = s[224 | l >> 12] + s[128 | l >> 6 & 63] + s[128 | l & 63];
|
|
1239
|
-
continue;
|
|
1240
|
-
}
|
|
1241
|
-
H += 1, l = 65536 + ((l & 1023) << 10 | G.charCodeAt(H) & 1023), N[N.length] = s[240 | l >> 18] + s[128 | l >> 12 & 63] + s[128 | l >> 6 & 63] + s[128 | l & 63];
|
|
1242
|
-
}
|
|
1243
|
-
U += N.join("");
|
|
1244
|
-
}
|
|
1245
|
-
return U;
|
|
1246
|
-
}, R = function(t) {
|
|
1247
|
-
for (var f = [{ obj: { o: t }, prop: "o" }], y = [], b = 0; b < f.length; ++b)
|
|
1248
|
-
for (var _ = f[b], x = _.obj[_.prop], U = Object.keys(x), M = 0; M < U.length; ++M) {
|
|
1249
|
-
var G = U[M], N = x[G];
|
|
1250
|
-
typeof N == "object" && N !== null && y.indexOf(N) === -1 && (f[f.length] = { obj: x, prop: G }, y[y.length] = N);
|
|
1251
|
-
}
|
|
1252
|
-
return g(f), t;
|
|
1253
|
-
}, d = function(t) {
|
|
1254
|
-
return Object.prototype.toString.call(t) === "[object RegExp]";
|
|
1255
|
-
}, S = function(t) {
|
|
1256
|
-
return !t || typeof t != "object" ? !1 : !!(t.constructor && t.constructor.isBuffer && t.constructor.isBuffer(t));
|
|
1257
|
-
}, D = function(t, f, y, b) {
|
|
1258
|
-
if (I(t)) {
|
|
1259
|
-
var _ = v(t) + 1;
|
|
1260
|
-
return t[_] = f, P(t, _), t;
|
|
1261
|
-
}
|
|
1262
|
-
var x = [].concat(t, f);
|
|
1263
|
-
return x.length > y ? O(h(x, { plainObjects: b }), x.length - 1) : x;
|
|
1264
|
-
}, A = function(t, f) {
|
|
1265
|
-
if (u(t)) {
|
|
1266
|
-
for (var y = [], b = 0; b < t.length; b += 1)
|
|
1267
|
-
y[y.length] = f(t[b]);
|
|
1268
|
-
return y;
|
|
1269
|
-
}
|
|
1270
|
-
return f(t);
|
|
1271
|
-
};
|
|
1272
|
-
return Er = {
|
|
1273
|
-
arrayToObject: h,
|
|
1274
|
-
assign: E,
|
|
1275
|
-
combine: D,
|
|
1276
|
-
compact: R,
|
|
1277
|
-
decode: a,
|
|
1278
|
-
encode: o,
|
|
1279
|
-
isBuffer: S,
|
|
1280
|
-
isOverflow: I,
|
|
1281
|
-
isRegExp: d,
|
|
1282
|
-
markOverflow: O,
|
|
1283
|
-
maybeMap: A,
|
|
1284
|
-
merge: F
|
|
1285
|
-
}, Er;
|
|
1286
|
-
}
|
|
1287
|
-
var Pr, qt;
|
|
1288
|
-
function qn() {
|
|
1289
|
-
if (qt) return Pr;
|
|
1290
|
-
qt = 1;
|
|
1291
|
-
var n = Wt(), c = /* @__PURE__ */ Gt(), p = /* @__PURE__ */ qr(), u = Object.prototype.hasOwnProperty, m = {
|
|
1292
|
-
brackets: function(o) {
|
|
1293
|
-
return o + "[]";
|
|
1294
|
-
},
|
|
1295
|
-
comma: "comma",
|
|
1296
|
-
indices: function(o, R) {
|
|
1297
|
-
return o + "[" + R + "]";
|
|
1298
|
-
},
|
|
1299
|
-
repeat: function(o) {
|
|
1300
|
-
return o;
|
|
1301
|
-
}
|
|
1302
|
-
}, O = Array.isArray, I = Array.prototype.push, v = function(i, o) {
|
|
1303
|
-
I.apply(i, O(o) ? o : [o]);
|
|
1304
|
-
}, P = Date.prototype.toISOString, s = p.default, g = {
|
|
1305
|
-
addQueryPrefix: !1,
|
|
1306
|
-
allowDots: !1,
|
|
1307
|
-
allowEmptyArrays: !1,
|
|
1308
|
-
arrayFormat: "indices",
|
|
1309
|
-
charset: "utf-8",
|
|
1310
|
-
charsetSentinel: !1,
|
|
1311
|
-
commaRoundTrip: !1,
|
|
1312
|
-
delimiter: "&",
|
|
1313
|
-
encode: !0,
|
|
1314
|
-
encodeDotInKeys: !1,
|
|
1315
|
-
encoder: c.encode,
|
|
1316
|
-
encodeValuesOnly: !1,
|
|
1317
|
-
filter: void 0,
|
|
1318
|
-
format: s,
|
|
1319
|
-
formatter: p.formatters[s],
|
|
1320
|
-
// deprecated
|
|
1321
|
-
indices: !1,
|
|
1322
|
-
serializeDate: function(o) {
|
|
1323
|
-
return P.call(o);
|
|
1324
|
-
},
|
|
1325
|
-
skipNulls: !1,
|
|
1326
|
-
strictNullHandling: !1
|
|
1327
|
-
}, h = function(o) {
|
|
1328
|
-
return typeof o == "string" || typeof o == "number" || typeof o == "boolean" || typeof o == "symbol" || typeof o == "bigint";
|
|
1329
|
-
}, F = {}, E = function i(o, R, d, S, D, A, w, t, f, y, b, _, x, U, M, G, N, H) {
|
|
1330
|
-
for (var l = o, C = H, K = 0, X = !1; (C = C.get(F)) !== void 0 && !X; ) {
|
|
1331
|
-
var oe = C.get(o);
|
|
1332
|
-
if (K += 1, typeof oe < "u") {
|
|
1333
|
-
if (oe === K)
|
|
1334
|
-
throw new RangeError("Cyclic object value");
|
|
1335
|
-
X = !0;
|
|
1336
|
-
}
|
|
1337
|
-
typeof C.get(F) > "u" && (K = 0);
|
|
1338
|
-
}
|
|
1339
|
-
if (typeof y == "function" ? l = y(R, l) : l instanceof Date ? l = x(l) : d === "comma" && O(l) && (l = c.maybeMap(l, function(ee) {
|
|
1340
|
-
return ee instanceof Date ? x(ee) : ee;
|
|
1341
|
-
})), l === null) {
|
|
1342
|
-
if (A)
|
|
1343
|
-
return f && !G ? f(R, g.encoder, N, "key", U) : R;
|
|
1344
|
-
l = "";
|
|
1345
|
-
}
|
|
1346
|
-
if (h(l) || c.isBuffer(l)) {
|
|
1347
|
-
if (f) {
|
|
1348
|
-
var ie = G ? R : f(R, g.encoder, N, "key", U);
|
|
1349
|
-
return [M(ie) + "=" + M(f(l, g.encoder, N, "value", U))];
|
|
1350
|
-
}
|
|
1351
|
-
return [M(R) + "=" + M(String(l))];
|
|
1352
|
-
}
|
|
1353
|
-
var fe = [];
|
|
1354
|
-
if (typeof l > "u")
|
|
1355
|
-
return fe;
|
|
1356
|
-
var ae;
|
|
1357
|
-
if (d === "comma" && O(l))
|
|
1358
|
-
G && f && (l = c.maybeMap(l, f)), ae = [{ value: l.length > 0 ? l.join(",") || null : void 0 }];
|
|
1359
|
-
else if (O(y))
|
|
1360
|
-
ae = y;
|
|
1361
|
-
else {
|
|
1362
|
-
var Z = Object.keys(l);
|
|
1363
|
-
ae = b ? Z.sort(b) : Z;
|
|
1364
|
-
}
|
|
1365
|
-
var le = t ? String(R).replace(/\./g, "%2E") : String(R), ue = S && O(l) && l.length === 1 ? le + "[]" : le;
|
|
1366
|
-
if (D && O(l) && l.length === 0)
|
|
1367
|
-
return ue + "[]";
|
|
1368
|
-
for (var z = 0; z < ae.length; ++z) {
|
|
1369
|
-
var $ = ae[z], k = typeof $ == "object" && $ && typeof $.value < "u" ? $.value : l[$];
|
|
1370
|
-
if (!(w && k === null)) {
|
|
1371
|
-
var L = _ && t ? String($).replace(/\./g, "%2E") : String($), j = O(l) ? typeof d == "function" ? d(ue, L) : ue : ue + (_ ? "." + L : "[" + L + "]");
|
|
1372
|
-
H.set(o, K);
|
|
1373
|
-
var Q = n();
|
|
1374
|
-
Q.set(F, H), v(fe, i(
|
|
1375
|
-
k,
|
|
1376
|
-
j,
|
|
1377
|
-
d,
|
|
1378
|
-
S,
|
|
1379
|
-
D,
|
|
1380
|
-
A,
|
|
1381
|
-
w,
|
|
1382
|
-
t,
|
|
1383
|
-
d === "comma" && G && O(l) ? null : f,
|
|
1384
|
-
y,
|
|
1385
|
-
b,
|
|
1386
|
-
_,
|
|
1387
|
-
x,
|
|
1388
|
-
U,
|
|
1389
|
-
M,
|
|
1390
|
-
G,
|
|
1391
|
-
N,
|
|
1392
|
-
Q
|
|
1393
|
-
));
|
|
1394
|
-
}
|
|
1395
|
-
}
|
|
1396
|
-
return fe;
|
|
1397
|
-
}, a = function(o) {
|
|
1398
|
-
if (!o)
|
|
1399
|
-
return g;
|
|
1400
|
-
if (typeof o.allowEmptyArrays < "u" && typeof o.allowEmptyArrays != "boolean")
|
|
1401
|
-
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
1402
|
-
if (typeof o.encodeDotInKeys < "u" && typeof o.encodeDotInKeys != "boolean")
|
|
1403
|
-
throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
1404
|
-
if (o.encoder !== null && typeof o.encoder < "u" && typeof o.encoder != "function")
|
|
1405
|
-
throw new TypeError("Encoder has to be a function.");
|
|
1406
|
-
var R = o.charset || g.charset;
|
|
1407
|
-
if (typeof o.charset < "u" && o.charset !== "utf-8" && o.charset !== "iso-8859-1")
|
|
1408
|
-
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
1409
|
-
var d = p.default;
|
|
1410
|
-
if (typeof o.format < "u") {
|
|
1411
|
-
if (!u.call(p.formatters, o.format))
|
|
1412
|
-
throw new TypeError("Unknown format option provided.");
|
|
1413
|
-
d = o.format;
|
|
1414
|
-
}
|
|
1415
|
-
var S = p.formatters[d], D = g.filter;
|
|
1416
|
-
(typeof o.filter == "function" || O(o.filter)) && (D = o.filter);
|
|
1417
|
-
var A;
|
|
1418
|
-
if (o.arrayFormat in m ? A = o.arrayFormat : "indices" in o ? A = o.indices ? "indices" : "repeat" : A = g.arrayFormat, "commaRoundTrip" in o && typeof o.commaRoundTrip != "boolean")
|
|
1419
|
-
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
1420
|
-
var w = typeof o.allowDots > "u" ? o.encodeDotInKeys === !0 ? !0 : g.allowDots : !!o.allowDots;
|
|
1421
|
-
return {
|
|
1422
|
-
addQueryPrefix: typeof o.addQueryPrefix == "boolean" ? o.addQueryPrefix : g.addQueryPrefix,
|
|
1423
|
-
allowDots: w,
|
|
1424
|
-
allowEmptyArrays: typeof o.allowEmptyArrays == "boolean" ? !!o.allowEmptyArrays : g.allowEmptyArrays,
|
|
1425
|
-
arrayFormat: A,
|
|
1426
|
-
charset: R,
|
|
1427
|
-
charsetSentinel: typeof o.charsetSentinel == "boolean" ? o.charsetSentinel : g.charsetSentinel,
|
|
1428
|
-
commaRoundTrip: !!o.commaRoundTrip,
|
|
1429
|
-
delimiter: typeof o.delimiter > "u" ? g.delimiter : o.delimiter,
|
|
1430
|
-
encode: typeof o.encode == "boolean" ? o.encode : g.encode,
|
|
1431
|
-
encodeDotInKeys: typeof o.encodeDotInKeys == "boolean" ? o.encodeDotInKeys : g.encodeDotInKeys,
|
|
1432
|
-
encoder: typeof o.encoder == "function" ? o.encoder : g.encoder,
|
|
1433
|
-
encodeValuesOnly: typeof o.encodeValuesOnly == "boolean" ? o.encodeValuesOnly : g.encodeValuesOnly,
|
|
1434
|
-
filter: D,
|
|
1435
|
-
format: d,
|
|
1436
|
-
formatter: S,
|
|
1437
|
-
serializeDate: typeof o.serializeDate == "function" ? o.serializeDate : g.serializeDate,
|
|
1438
|
-
skipNulls: typeof o.skipNulls == "boolean" ? o.skipNulls : g.skipNulls,
|
|
1439
|
-
sort: typeof o.sort == "function" ? o.sort : null,
|
|
1440
|
-
strictNullHandling: typeof o.strictNullHandling == "boolean" ? o.strictNullHandling : g.strictNullHandling
|
|
1441
|
-
};
|
|
1442
|
-
};
|
|
1443
|
-
return Pr = function(i, o) {
|
|
1444
|
-
var R = i, d = a(o), S, D;
|
|
1445
|
-
typeof d.filter == "function" ? (D = d.filter, R = D("", R)) : O(d.filter) && (D = d.filter, S = D);
|
|
1446
|
-
var A = [];
|
|
1447
|
-
if (typeof R != "object" || R === null)
|
|
1448
|
-
return "";
|
|
1449
|
-
var w = m[d.arrayFormat], t = w === "comma" && d.commaRoundTrip;
|
|
1450
|
-
S || (S = Object.keys(R)), d.sort && S.sort(d.sort);
|
|
1451
|
-
for (var f = n(), y = 0; y < S.length; ++y) {
|
|
1452
|
-
var b = S[y], _ = R[b];
|
|
1453
|
-
d.skipNulls && _ === null || v(A, E(
|
|
1454
|
-
_,
|
|
1455
|
-
b,
|
|
1456
|
-
w,
|
|
1457
|
-
t,
|
|
1458
|
-
d.allowEmptyArrays,
|
|
1459
|
-
d.strictNullHandling,
|
|
1460
|
-
d.skipNulls,
|
|
1461
|
-
d.encodeDotInKeys,
|
|
1462
|
-
d.encode ? d.encoder : null,
|
|
1463
|
-
d.filter,
|
|
1464
|
-
d.sort,
|
|
1465
|
-
d.allowDots,
|
|
1466
|
-
d.serializeDate,
|
|
1467
|
-
d.format,
|
|
1468
|
-
d.formatter,
|
|
1469
|
-
d.encodeValuesOnly,
|
|
1470
|
-
d.charset,
|
|
1471
|
-
f
|
|
1472
|
-
));
|
|
1473
|
-
}
|
|
1474
|
-
var x = A.join(d.delimiter), U = d.addQueryPrefix === !0 ? "?" : "";
|
|
1475
|
-
return d.charsetSentinel && (d.charset === "iso-8859-1" ? U += "utf8=%26%2310003%3B&" : U += "utf8=%E2%9C%93&"), x.length > 0 ? U + x : "";
|
|
1476
|
-
}, Pr;
|
|
1477
|
-
}
|
|
1478
|
-
var Rr, Ft;
|
|
1479
|
-
function Fn() {
|
|
1480
|
-
if (Ft) return Rr;
|
|
1481
|
-
Ft = 1;
|
|
1482
|
-
var n = /* @__PURE__ */ Gt(), c = Object.prototype.hasOwnProperty, p = Array.isArray, u = {
|
|
1483
|
-
allowDots: !1,
|
|
1484
|
-
allowEmptyArrays: !1,
|
|
1485
|
-
allowPrototypes: !1,
|
|
1486
|
-
allowSparse: !1,
|
|
1487
|
-
arrayLimit: 20,
|
|
1488
|
-
charset: "utf-8",
|
|
1489
|
-
charsetSentinel: !1,
|
|
1490
|
-
comma: !1,
|
|
1491
|
-
decodeDotInKeys: !1,
|
|
1492
|
-
decoder: n.decode,
|
|
1493
|
-
delimiter: "&",
|
|
1494
|
-
depth: 5,
|
|
1495
|
-
duplicates: "combine",
|
|
1496
|
-
ignoreQueryPrefix: !1,
|
|
1497
|
-
interpretNumericEntities: !1,
|
|
1498
|
-
parameterLimit: 1e3,
|
|
1499
|
-
parseArrays: !0,
|
|
1500
|
-
plainObjects: !1,
|
|
1501
|
-
strictDepth: !1,
|
|
1502
|
-
strictNullHandling: !1,
|
|
1503
|
-
throwOnLimitExceeded: !1
|
|
1504
|
-
}, m = function(E) {
|
|
1505
|
-
return E.replace(/&#(\d+);/g, function(a, i) {
|
|
1506
|
-
return String.fromCharCode(parseInt(i, 10));
|
|
1507
|
-
});
|
|
1508
|
-
}, O = function(E, a, i) {
|
|
1509
|
-
if (E && typeof E == "string" && a.comma && E.indexOf(",") > -1)
|
|
1510
|
-
return E.split(",");
|
|
1511
|
-
if (a.throwOnLimitExceeded && i >= a.arrayLimit)
|
|
1512
|
-
throw new RangeError("Array limit exceeded. Only " + a.arrayLimit + " element" + (a.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
1513
|
-
return E;
|
|
1514
|
-
}, I = "utf8=%26%2310003%3B", v = "utf8=%E2%9C%93", P = function(a, i) {
|
|
1515
|
-
var o = { __proto__: null }, R = i.ignoreQueryPrefix ? a.replace(/^\?/, "") : a;
|
|
1516
|
-
R = R.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
1517
|
-
var d = i.parameterLimit === 1 / 0 ? void 0 : i.parameterLimit, S = R.split(
|
|
1518
|
-
i.delimiter,
|
|
1519
|
-
i.throwOnLimitExceeded ? d + 1 : d
|
|
1520
|
-
);
|
|
1521
|
-
if (i.throwOnLimitExceeded && S.length > d)
|
|
1522
|
-
throw new RangeError("Parameter limit exceeded. Only " + d + " parameter" + (d === 1 ? "" : "s") + " allowed.");
|
|
1523
|
-
var D = -1, A, w = i.charset;
|
|
1524
|
-
if (i.charsetSentinel)
|
|
1525
|
-
for (A = 0; A < S.length; ++A)
|
|
1526
|
-
S[A].indexOf("utf8=") === 0 && (S[A] === v ? w = "utf-8" : S[A] === I && (w = "iso-8859-1"), D = A, A = S.length);
|
|
1527
|
-
for (A = 0; A < S.length; ++A)
|
|
1528
|
-
if (A !== D) {
|
|
1529
|
-
var t = S[A], f = t.indexOf("]="), y = f === -1 ? t.indexOf("=") : f + 1, b, _;
|
|
1530
|
-
if (y === -1 ? (b = i.decoder(t, u.decoder, w, "key"), _ = i.strictNullHandling ? null : "") : (b = i.decoder(t.slice(0, y), u.decoder, w, "key"), b !== null && (_ = n.maybeMap(
|
|
1531
|
-
O(
|
|
1532
|
-
t.slice(y + 1),
|
|
1533
|
-
i,
|
|
1534
|
-
p(o[b]) ? o[b].length : 0
|
|
1535
|
-
),
|
|
1536
|
-
function(U) {
|
|
1537
|
-
return i.decoder(U, u.decoder, w, "value");
|
|
1538
|
-
}
|
|
1539
|
-
))), _ && i.interpretNumericEntities && w === "iso-8859-1" && (_ = m(String(_))), t.indexOf("[]=") > -1 && (_ = p(_) ? [_] : _), i.comma && p(_) && _.length > i.arrayLimit) {
|
|
1540
|
-
if (i.throwOnLimitExceeded)
|
|
1541
|
-
throw new RangeError("Array limit exceeded. Only " + i.arrayLimit + " element" + (i.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
1542
|
-
_ = n.combine([], _, i.arrayLimit, i.plainObjects);
|
|
1543
|
-
}
|
|
1544
|
-
if (b !== null) {
|
|
1545
|
-
var x = c.call(o, b);
|
|
1546
|
-
x && i.duplicates === "combine" ? o[b] = n.combine(
|
|
1547
|
-
o[b],
|
|
1548
|
-
_,
|
|
1549
|
-
i.arrayLimit,
|
|
1550
|
-
i.plainObjects
|
|
1551
|
-
) : (!x || i.duplicates === "last") && (o[b] = _);
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
return o;
|
|
1555
|
-
}, s = function(E, a, i, o) {
|
|
1556
|
-
var R = 0;
|
|
1557
|
-
if (E.length > 0 && E[E.length - 1] === "[]") {
|
|
1558
|
-
var d = E.slice(0, -1).join("");
|
|
1559
|
-
R = Array.isArray(a) && a[d] ? a[d].length : 0;
|
|
1560
|
-
}
|
|
1561
|
-
for (var S = o ? a : O(a, i, R), D = E.length - 1; D >= 0; --D) {
|
|
1562
|
-
var A, w = E[D];
|
|
1563
|
-
if (w === "[]" && i.parseArrays)
|
|
1564
|
-
n.isOverflow(S) ? A = S : A = i.allowEmptyArrays && (S === "" || i.strictNullHandling && S === null) ? [] : n.combine(
|
|
1565
|
-
[],
|
|
1566
|
-
S,
|
|
1567
|
-
i.arrayLimit,
|
|
1568
|
-
i.plainObjects
|
|
1569
|
-
);
|
|
1570
|
-
else {
|
|
1571
|
-
A = i.plainObjects ? { __proto__: null } : {};
|
|
1572
|
-
var t = w.charAt(0) === "[" && w.charAt(w.length - 1) === "]" ? w.slice(1, -1) : w, f = i.decodeDotInKeys ? t.replace(/%2E/g, ".") : t, y = parseInt(f, 10), b = !isNaN(y) && w !== f && String(y) === f && y >= 0 && i.parseArrays;
|
|
1573
|
-
if (!i.parseArrays && f === "")
|
|
1574
|
-
A = { 0: S };
|
|
1575
|
-
else if (b && y < i.arrayLimit)
|
|
1576
|
-
A = [], A[y] = S;
|
|
1577
|
-
else {
|
|
1578
|
-
if (b && i.throwOnLimitExceeded)
|
|
1579
|
-
throw new RangeError("Array limit exceeded. Only " + i.arrayLimit + " element" + (i.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
1580
|
-
b ? (A[y] = S, n.markOverflow(A, y)) : f !== "__proto__" && (A[f] = S);
|
|
1581
|
-
}
|
|
1582
|
-
}
|
|
1583
|
-
S = A;
|
|
1584
|
-
}
|
|
1585
|
-
return S;
|
|
1586
|
-
}, g = function(a, i) {
|
|
1587
|
-
var o = i.allowDots ? a.replace(/\.([^.[]+)/g, "[$1]") : a;
|
|
1588
|
-
if (i.depth <= 0)
|
|
1589
|
-
return !i.plainObjects && c.call(Object.prototype, o) && !i.allowPrototypes ? void 0 : [o];
|
|
1590
|
-
var R = /(\[[^[\]]*])/, d = /(\[[^[\]]*])/g, S = R.exec(o), D = S ? o.slice(0, S.index) : o, A = [];
|
|
1591
|
-
if (D) {
|
|
1592
|
-
if (!i.plainObjects && c.call(Object.prototype, D) && !i.allowPrototypes)
|
|
1593
|
-
return;
|
|
1594
|
-
A[A.length] = D;
|
|
1595
|
-
}
|
|
1596
|
-
for (var w = 0; (S = d.exec(o)) !== null && w < i.depth; ) {
|
|
1597
|
-
w += 1;
|
|
1598
|
-
var t = S[1].slice(1, -1);
|
|
1599
|
-
if (!i.plainObjects && c.call(Object.prototype, t) && !i.allowPrototypes)
|
|
1600
|
-
return;
|
|
1601
|
-
A[A.length] = S[1];
|
|
1602
|
-
}
|
|
1603
|
-
if (S) {
|
|
1604
|
-
if (i.strictDepth === !0)
|
|
1605
|
-
throw new RangeError("Input depth exceeded depth option of " + i.depth + " and strictDepth is true");
|
|
1606
|
-
A[A.length] = "[" + o.slice(S.index) + "]";
|
|
1607
|
-
}
|
|
1608
|
-
return A;
|
|
1609
|
-
}, h = function(a, i, o, R) {
|
|
1610
|
-
if (a) {
|
|
1611
|
-
var d = g(a, o);
|
|
1612
|
-
if (d)
|
|
1613
|
-
return s(d, i, o, R);
|
|
1614
|
-
}
|
|
1615
|
-
}, F = function(a) {
|
|
1616
|
-
if (!a)
|
|
1617
|
-
return u;
|
|
1618
|
-
if (typeof a.allowEmptyArrays < "u" && typeof a.allowEmptyArrays != "boolean")
|
|
1619
|
-
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
1620
|
-
if (typeof a.decodeDotInKeys < "u" && typeof a.decodeDotInKeys != "boolean")
|
|
1621
|
-
throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
1622
|
-
if (a.decoder !== null && typeof a.decoder < "u" && typeof a.decoder != "function")
|
|
1623
|
-
throw new TypeError("Decoder has to be a function.");
|
|
1624
|
-
if (typeof a.charset < "u" && a.charset !== "utf-8" && a.charset !== "iso-8859-1")
|
|
1625
|
-
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
1626
|
-
if (typeof a.throwOnLimitExceeded < "u" && typeof a.throwOnLimitExceeded != "boolean")
|
|
1627
|
-
throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
|
|
1628
|
-
var i = typeof a.charset > "u" ? u.charset : a.charset, o = typeof a.duplicates > "u" ? u.duplicates : a.duplicates;
|
|
1629
|
-
if (o !== "combine" && o !== "first" && o !== "last")
|
|
1630
|
-
throw new TypeError("The duplicates option must be either combine, first, or last");
|
|
1631
|
-
var R = typeof a.allowDots > "u" ? a.decodeDotInKeys === !0 ? !0 : u.allowDots : !!a.allowDots;
|
|
1632
|
-
return {
|
|
1633
|
-
allowDots: R,
|
|
1634
|
-
allowEmptyArrays: typeof a.allowEmptyArrays == "boolean" ? !!a.allowEmptyArrays : u.allowEmptyArrays,
|
|
1635
|
-
allowPrototypes: typeof a.allowPrototypes == "boolean" ? a.allowPrototypes : u.allowPrototypes,
|
|
1636
|
-
allowSparse: typeof a.allowSparse == "boolean" ? a.allowSparse : u.allowSparse,
|
|
1637
|
-
arrayLimit: typeof a.arrayLimit == "number" ? a.arrayLimit : u.arrayLimit,
|
|
1638
|
-
charset: i,
|
|
1639
|
-
charsetSentinel: typeof a.charsetSentinel == "boolean" ? a.charsetSentinel : u.charsetSentinel,
|
|
1640
|
-
comma: typeof a.comma == "boolean" ? a.comma : u.comma,
|
|
1641
|
-
decodeDotInKeys: typeof a.decodeDotInKeys == "boolean" ? a.decodeDotInKeys : u.decodeDotInKeys,
|
|
1642
|
-
decoder: typeof a.decoder == "function" ? a.decoder : u.decoder,
|
|
1643
|
-
delimiter: typeof a.delimiter == "string" || n.isRegExp(a.delimiter) ? a.delimiter : u.delimiter,
|
|
1644
|
-
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
1645
|
-
depth: typeof a.depth == "number" || a.depth === !1 ? +a.depth : u.depth,
|
|
1646
|
-
duplicates: o,
|
|
1647
|
-
ignoreQueryPrefix: a.ignoreQueryPrefix === !0,
|
|
1648
|
-
interpretNumericEntities: typeof a.interpretNumericEntities == "boolean" ? a.interpretNumericEntities : u.interpretNumericEntities,
|
|
1649
|
-
parameterLimit: typeof a.parameterLimit == "number" ? a.parameterLimit : u.parameterLimit,
|
|
1650
|
-
parseArrays: a.parseArrays !== !1,
|
|
1651
|
-
plainObjects: typeof a.plainObjects == "boolean" ? a.plainObjects : u.plainObjects,
|
|
1652
|
-
strictDepth: typeof a.strictDepth == "boolean" ? !!a.strictDepth : u.strictDepth,
|
|
1653
|
-
strictNullHandling: typeof a.strictNullHandling == "boolean" ? a.strictNullHandling : u.strictNullHandling,
|
|
1654
|
-
throwOnLimitExceeded: typeof a.throwOnLimitExceeded == "boolean" ? a.throwOnLimitExceeded : !1
|
|
1655
|
-
};
|
|
1656
|
-
};
|
|
1657
|
-
return Rr = function(E, a) {
|
|
1658
|
-
var i = F(a);
|
|
1659
|
-
if (E === "" || E === null || typeof E > "u")
|
|
1660
|
-
return i.plainObjects ? { __proto__: null } : {};
|
|
1661
|
-
for (var o = typeof E == "string" ? P(E, i) : E, R = i.plainObjects ? { __proto__: null } : {}, d = Object.keys(o), S = 0; S < d.length; ++S) {
|
|
1662
|
-
var D = d[S], A = h(D, o[D], i, typeof E == "string");
|
|
1663
|
-
R = n.merge(R, A, i);
|
|
1664
|
-
}
|
|
1665
|
-
return i.allowSparse === !0 ? R : n.compact(R);
|
|
1666
|
-
}, Rr;
|
|
1667
|
-
}
|
|
1668
|
-
var _r, Mt;
|
|
1669
|
-
function Mn() {
|
|
1670
|
-
if (Mt) return _r;
|
|
1671
|
-
Mt = 1;
|
|
1672
|
-
var n = /* @__PURE__ */ qn(), c = /* @__PURE__ */ Fn(), p = /* @__PURE__ */ qr();
|
|
1673
|
-
return _r = {
|
|
1674
|
-
formats: p,
|
|
1675
|
-
parse: c,
|
|
1676
|
-
stringify: n
|
|
1677
|
-
}, _r;
|
|
1678
|
-
}
|
|
1679
|
-
var kt = /* @__PURE__ */ Mn();
|
|
1680
|
-
const Dn = /* @__PURE__ */ Xt(kt), $n = /* @__PURE__ */ Yt({
|
|
1681
|
-
__proto__: null,
|
|
1682
|
-
default: Dn
|
|
1683
|
-
}, [kt]);
|
|
1684
|
-
export {
|
|
1685
|
-
$n as i
|
|
1686
|
-
};
|
|
1687
|
-
//# sourceMappingURL=index-CEAF7P1X.js.map
|