xyvcard-asset 0.0.23 → 0.0.25

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