soonjs 0.1.2 → 0.1.4

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 (37) hide show
  1. package/dist/index.cjs +8 -8
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +650 -668
  4. package/dist/types.d.ts +4 -0
  5. package/dist/vite-plugin-soon-client.cjs +3 -3
  6. package/dist/vite-plugin-soon-client.js +15 -15
  7. package/dist/vite-plugin-soon-server.cjs +3 -2
  8. package/dist/vite-plugin-soon-server.js +3 -2
  9. package/package.json +1 -1
  10. /package/dist/deps/{acorn-jU-39Pbw5W-yvskxh9um.js → acorn-jU-39Pbw5W-h3ruckghp.js} +0 -0
  11. /package/dist/deps/{acorn-jU-39Pbw5W-z78ga6q48.js → acorn-jU-39Pbw5W-xkdgla69t.js} +0 -0
  12. /package/dist/deps/{angular-eXKcfordor-4cx2asx9u.js → angular-eXKcfordor-g9ggqmosz.js} +0 -0
  13. /package/dist/deps/{angular-eXKcfordor-uthlxmm01.js → angular-eXKcfordor-uyi234ws8.js} +0 -0
  14. /package/dist/deps/{babel-QODt_XJZCU-ffi3sfwce.js → babel-QODt_XJZCU-04et0pddu.js} +0 -0
  15. /package/dist/deps/{babel-QODt_XJZCU-82av6dtke.js → babel-QODt_XJZCU-9bzuwsjpv.js} +0 -0
  16. /package/dist/deps/{estree-_Gcr3virjH-eddzs32c5.js → estree-_Gcr3virjH-5tfq5t2is.js} +0 -0
  17. /package/dist/deps/{estree-_Gcr3virjH-1wiat3k1c.js → estree-_Gcr3virjH-qwxmzf6xk.js} +0 -0
  18. /package/dist/deps/{flow-VkrRJr6lFd-acc719y4e.js → flow-VkrRJr6lFd-2vxssacuo.js} +0 -0
  19. /package/dist/deps/{flow-VkrRJr6lFd-2ak8tw0u8.js → flow-VkrRJr6lFd-x0wyj6uqd.js} +0 -0
  20. /package/dist/deps/{glimmer-I6jyK4xw2I-5wk77alut.js → glimmer-I6jyK4xw2I-f6qd505ie.js} +0 -0
  21. /package/dist/deps/{glimmer-I6jyK4xw2I-ziyt93q4u.js → glimmer-I6jyK4xw2I-z7w74nqx7.js} +0 -0
  22. /package/dist/deps/{graphql-F7JRnTC996-579fy9e5p.js → graphql-F7JRnTC996-9c67wb7ep.js} +0 -0
  23. /package/dist/deps/{graphql-F7JRnTC996-xo2ewhpda.js → graphql-F7JRnTC996-fivswe0wh.js} +0 -0
  24. /package/dist/deps/{html-C-ZYESkdqr-wqev7uivz.js → html-C-ZYESkdqr-9u3x97fu2.js} +0 -0
  25. /package/dist/deps/{html-C-ZYESkdqr-9u9egv5e9.js → html-C-ZYESkdqr-sprodg7gy.js} +0 -0
  26. /package/dist/deps/{markdown-4m9fGqwyBD-ajfgdjjtq.js → markdown-4m9fGqwyBD-p01s6zl24.js} +0 -0
  27. /package/dist/deps/{markdown-4m9fGqwyBD-y6kb3fai0.js → markdown-4m9fGqwyBD-xydhe8qra.js} +0 -0
  28. /package/dist/deps/{meriyah-2XmgupY1jB-2r1o5c3wx.js → meriyah-2XmgupY1jB-jcofsczid.js} +0 -0
  29. /package/dist/deps/{meriyah-2XmgupY1jB-l1mx8jmvd.js → meriyah-2XmgupY1jB-w36vfsxw0.js} +0 -0
  30. /package/dist/deps/{postcss-UtIjNac23s-5881ml07v.js → postcss-UtIjNac23s-64ewg9fun.js} +0 -0
  31. /package/dist/deps/{postcss-UtIjNac23s-4aip6k58w.js → postcss-UtIjNac23s-6windfpuz.js} +0 -0
  32. /package/dist/deps/{soon-id-t25L9qRGGZ-f9zvgvt6i.js → soon-id-t25L9qRGGZ-1fn0mvfiw.js} +0 -0
  33. /package/dist/deps/{soon-id-t25L9qRGGZ-418fupuaf.js → soon-id-t25L9qRGGZ-zwi3vo6up.js} +0 -0
  34. /package/dist/deps/{typescript-7W94NRN5-v-zwk5jsg6d.js → typescript-7W94NRN5-v-audtlu32h.js} +0 -0
  35. /package/dist/deps/{typescript-7W94NRN5-v-sln6or98e.js → typescript-7W94NRN5-v-bsdaapgi8.js} +0 -0
  36. /package/dist/deps/{yaml-GTMY6ek0xu-qxhi13sa4.js → yaml-GTMY6ek0xu-dwjgwemiv.js} +0 -0
  37. /package/dist/deps/{yaml-GTMY6ek0xu-h6k112q91.js → yaml-GTMY6ek0xu-h1v3g8nse.js} +0 -0
package/dist/index.js CHANGED
@@ -1,17 +1,17 @@
1
- var jt = Object.defineProperty;
2
- var kt = (r, e, t) => e in r ? jt(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
- var P = (r, e, t) => kt(r, typeof e != "symbol" ? e + "" : e, t);
4
- import { PassThrough as zt } from "stream";
5
- import { g as ft, c as Tr, u as Kt } from "./deps/soon-id-t25L9qRGGZ-f9zvgvt6i.js";
6
- import Vt from "util";
1
+ var qt = Object.defineProperty;
2
+ var Wt = (r, e, t) => e in r ? qt(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
+ var P = (r, e, t) => Wt(r, typeof e != "symbol" ? e + "" : e, t);
4
+ import { PassThrough as Ft } from "stream";
5
+ import { g as nt, c as Ir, u as Gt } from "./deps/soon-id-t25L9qRGGZ-1fn0mvfiw.js";
6
+ import Ht from "util";
7
7
  var H = {};
8
8
  Object.defineProperty(H, "__esModule", { value: !0 });
9
9
  H.TokenData = void 0;
10
- H.parse = Er;
11
- H.compile = en;
12
- var Qt = H.match = nn;
13
- H.pathToRegexp = pt;
14
- const ut = "/", br = (r) => r, Jt = new RegExp("^\\p{XID_Continue}$", "u"), fe = "https://git.new/pathToRegexpError", Xt = {
10
+ H.parse = wr;
11
+ H.compile = Qt;
12
+ var jt = H.match = Yt;
13
+ H.pathToRegexp = lt;
14
+ const at = "/", gr = (r) => r, kt = new RegExp("^\\p{XID_Continue}$", "u"), fe = "https://git.new/pathToRegexpError", zt = {
15
15
  "!": "!",
16
16
  "@": "@",
17
17
  ";": ";",
@@ -22,11 +22,11 @@ const ut = "/", br = (r) => r, Jt = new RegExp("^\\p{XID_Continue}$", "u"), fe =
22
22
  "{": "{",
23
23
  "}": "}"
24
24
  };
25
- function Yt(r) {
25
+ function Kt(r) {
26
26
  const e = [...r], t = [];
27
27
  let n = 0;
28
28
  for (; n < e.length; ) {
29
- const a = e[n], i = Xt[a];
29
+ const a = e[n], i = zt[a];
30
30
  if (i) {
31
31
  t.push({ type: i, index: n++, value: a });
32
32
  continue;
@@ -37,7 +37,7 @@ function Yt(r) {
37
37
  }
38
38
  if (a === ":") {
39
39
  let o = "";
40
- for (; Jt.test(e[++n]); )
40
+ for (; kt.test(e[++n]); )
41
41
  o += e[n];
42
42
  if (!o)
43
43
  throw new TypeError(`Missing parameter name at ${n}`);
@@ -46,7 +46,7 @@ function Yt(r) {
46
46
  }
47
47
  if (a === "(") {
48
48
  const o = n++;
49
- let u = 1, l = "";
49
+ let f = 1, l = "";
50
50
  if (e[n] === "?")
51
51
  throw new TypeError(`Pattern cannot start with "?" at ${n}`);
52
52
  for (; n < e.length; ) {
@@ -55,15 +55,15 @@ function Yt(r) {
55
55
  continue;
56
56
  }
57
57
  if (e[n] === ")") {
58
- if (u--, u === 0) {
58
+ if (f--, f === 0) {
59
59
  n++;
60
60
  break;
61
61
  }
62
- } else if (e[n] === "(" && (u++, e[n + 1] !== "?"))
62
+ } else if (e[n] === "(" && (f++, e[n + 1] !== "?"))
63
63
  throw new TypeError(`Capturing groups are not allowed at ${n}`);
64
64
  l += e[n++];
65
65
  }
66
- if (u)
66
+ if (f)
67
67
  throw new TypeError(`Unbalanced pattern at ${o}`);
68
68
  if (!l)
69
69
  throw new TypeError(`Missing pattern at ${o}`);
@@ -72,9 +72,9 @@ function Yt(r) {
72
72
  }
73
73
  t.push({ type: "CHAR", index: n, value: e[n++] });
74
74
  }
75
- return t.push({ type: "END", index: n, value: "" }), new Zt(t);
75
+ return t.push({ type: "END", index: n, value: "" }), new Vt(t);
76
76
  }
77
- class Zt {
77
+ class Vt {
78
78
  constructor(e) {
79
79
  this.tokens = e, this.index = 0;
80
80
  }
@@ -109,21 +109,21 @@ class Me {
109
109
  }
110
110
  }
111
111
  H.TokenData = Me;
112
- function Er(r, e = {}) {
113
- const { encodePath: t = br, delimiter: n = t(ut) } = e, a = [], i = Yt(r);
112
+ function wr(r, e = {}) {
113
+ const { encodePath: t = gr, delimiter: n = t(at) } = e, a = [], i = Kt(r);
114
114
  let o = 0;
115
115
  do {
116
- const u = i.text();
117
- u && a.push(t(u));
116
+ const f = i.text();
117
+ f && a.push(t(f));
118
118
  const l = i.tryConsume("NAME"), c = i.tryConsume("PATTERN");
119
119
  if (l || c) {
120
120
  a.push({
121
121
  name: l || String(o++),
122
122
  pattern: c
123
123
  });
124
- const f = i.peek();
125
- if (f.type === "*")
126
- throw new TypeError(`Unexpected * at ${f.index}, you probably want \`/*\` or \`{/:foo}*\`: ${fe}`);
124
+ const u = i.peek();
125
+ if (u.type === "*")
126
+ throw new TypeError(`Unexpected * at ${u.index}, you probably want \`/*\` or \`{/:foo}*\`: ${fe}`);
127
127
  continue;
128
128
  }
129
129
  if (i.tryConsume("*")) {
@@ -136,15 +136,15 @@ function Er(r, e = {}) {
136
136
  continue;
137
137
  }
138
138
  if (i.tryConsume("{")) {
139
- const f = i.text(), d = i.tryConsume("NAME"), y = i.tryConsume("PATTERN"), h = i.text(), g = i.tryConsume(";") && i.text();
139
+ const u = i.text(), d = i.tryConsume("NAME"), y = i.tryConsume("PATTERN"), h = i.text(), g = i.tryConsume(";") && i.text();
140
140
  i.consume("}");
141
- const b = i.modifier();
141
+ const $ = i.modifier();
142
142
  a.push({
143
143
  name: d || (y ? String(o++) : ""),
144
- prefix: t(f),
144
+ prefix: t(u),
145
145
  suffix: t(h),
146
146
  pattern: y,
147
- modifier: b,
147
+ modifier: $,
148
148
  separator: g
149
149
  });
150
150
  continue;
@@ -154,30 +154,30 @@ function Er(r, e = {}) {
154
154
  } while (!0);
155
155
  return new Me(a, n);
156
156
  }
157
- function en(r, e = {}) {
158
- const t = r instanceof Me ? r : Er(r, e);
159
- return tn(t, e);
157
+ function Qt(r, e = {}) {
158
+ const t = r instanceof Me ? r : wr(r, e);
159
+ return Xt(t, e);
160
160
  }
161
- function rn(r, e) {
161
+ function Jt(r, e) {
162
162
  if (typeof r == "string")
163
163
  return () => r;
164
- const t = e || br, n = r.modifier === "+" || r.modifier === "*", a = r.modifier === "?" || r.modifier === "*", { prefix: i = "", suffix: o = "", separator: u = o + i } = r;
164
+ const t = e || gr, n = r.modifier === "+" || r.modifier === "*", a = r.modifier === "?" || r.modifier === "*", { prefix: i = "", suffix: o = "", separator: f = o + i } = r;
165
165
  if (e && n) {
166
- const c = (p, f) => {
166
+ const c = (p, u) => {
167
167
  if (typeof p != "string")
168
- throw new TypeError(`Expected "${r.name}/${f}" to be a string`);
168
+ throw new TypeError(`Expected "${r.name}/${u}" to be a string`);
169
169
  return t(p);
170
170
  }, s = (p) => {
171
171
  if (!Array.isArray(p))
172
172
  throw new TypeError(`Expected "${r.name}" to be an array`);
173
- return p.length === 0 ? "" : i + p.map(c).join(u) + o;
173
+ return p.length === 0 ? "" : i + p.map(c).join(f) + o;
174
174
  };
175
175
  return a ? (p) => {
176
- const f = p[r.name];
177
- return f == null ? "" : f.length ? s(f) : "";
176
+ const u = p[r.name];
177
+ return u == null ? "" : u.length ? s(u) : "";
178
178
  } : (p) => {
179
- const f = p[r.name];
180
- return s(f);
179
+ const u = p[r.name];
180
+ return s(u);
181
181
  };
182
182
  }
183
183
  const l = (c) => {
@@ -193,94 +193,94 @@ function rn(r, e) {
193
193
  return l(s);
194
194
  };
195
195
  }
196
- function tn(r, e) {
197
- const { encode: t = encodeURIComponent, loose: n = !0, validate: a = !0, strict: i = !1 } = e, o = ct(e), u = Ar(n, r.delimiter), l = st(r, u, [], o, i), c = r.tokens.map((s, p) => {
198
- const f = rn(s, t);
196
+ function Xt(r, e) {
197
+ const { encode: t = encodeURIComponent, loose: n = !0, validate: a = !0, strict: i = !1 } = e, o = it(e), f = Sr(n, r.delimiter), l = ot(r, f, [], o, i), c = r.tokens.map((s, p) => {
198
+ const u = Jt(s, t);
199
199
  if (!a || typeof s == "string")
200
- return f;
200
+ return u;
201
201
  const d = new RegExp(`^${l[p]}$`, o);
202
202
  return (y) => {
203
- const h = f(y);
203
+ const h = u(y);
204
204
  if (!d.test(h))
205
205
  throw new TypeError(`Invalid value for "${s.name}": ${JSON.stringify(h)}`);
206
206
  return h;
207
207
  };
208
208
  });
209
209
  return function(p = {}) {
210
- let f = "";
210
+ let u = "";
211
211
  for (const d of c)
212
- f += d(p);
213
- return f;
212
+ u += d(p);
213
+ return u;
214
214
  };
215
215
  }
216
- function nn(r, e = {}) {
217
- const { decode: t = decodeURIComponent, loose: n = !0, delimiter: a = ut } = e, i = pt(r, e), o = Ar(n, a), u = i.keys.map((l) => {
216
+ function Yt(r, e = {}) {
217
+ const { decode: t = decodeURIComponent, loose: n = !0, delimiter: a = at } = e, i = lt(r, e), o = Sr(n, a), f = i.keys.map((l) => {
218
218
  if (t && (l.modifier === "+" || l.modifier === "*")) {
219
- const { prefix: c = "", suffix: s = "", separator: p = s + c } = l, f = new RegExp(o(p), "g");
220
- return (d) => d.split(f).map(t);
219
+ const { prefix: c = "", suffix: s = "", separator: p = s + c } = l, u = new RegExp(o(p), "g");
220
+ return (d) => d.split(u).map(t);
221
221
  }
222
- return t || br;
222
+ return t || gr;
223
223
  });
224
224
  return function(c) {
225
225
  const s = i.exec(c);
226
226
  if (!s)
227
227
  return !1;
228
- const { 0: p, index: f } = s, d = /* @__PURE__ */ Object.create(null);
228
+ const { 0: p, index: u } = s, d = /* @__PURE__ */ Object.create(null);
229
229
  for (let y = 1; y < s.length; y++) {
230
230
  if (s[y] === void 0)
231
231
  continue;
232
- const h = i.keys[y - 1], g = u[y - 1];
232
+ const h = i.keys[y - 1], g = f[y - 1];
233
233
  d[h.name] = g(s[y]);
234
234
  }
235
- return { path: p, index: f, params: d };
235
+ return { path: p, index: u, params: d };
236
236
  };
237
237
  }
238
238
  function Y(r) {
239
239
  return r.replace(/[.+*?^${}()[\]|/\\]/g, "\\$&");
240
240
  }
241
- function an(r, e) {
241
+ function Zt(r, e) {
242
242
  const t = Y(r);
243
243
  return e ? `(?:${t})+(?!${t})` : t;
244
244
  }
245
- function Ar(r, e) {
245
+ function Sr(r, e) {
246
246
  if (!r)
247
247
  return Y;
248
248
  const t = new RegExp(`(?:(?!${Y(e)}).)+|(.)`, "g");
249
- return (n) => n.replace(t, an);
249
+ return (n) => n.replace(t, Zt);
250
250
  }
251
- function ct(r) {
251
+ function it(r) {
252
252
  return r.sensitive ? "" : "i";
253
253
  }
254
- function Mr(r, e, t, n) {
255
- const a = r instanceof Me ? r : Er(r, n), { trailing: i = !0, loose: o = !0, start: u = !0, end: l = !0, strict: c = !1 } = n, s = Ar(o, a.delimiter), p = st(a, s, e, t, c);
256
- let f = u ? "^" : "";
257
- return f += p.join(""), i && (f += `(?:${s(a.delimiter)}$)?`), f += l ? "$" : `(?=${Y(a.delimiter)}|$)`, f;
254
+ function Rr(r, e, t, n) {
255
+ const a = r instanceof Me ? r : wr(r, n), { trailing: i = !0, loose: o = !0, start: f = !0, end: l = !0, strict: c = !1 } = n, s = Sr(o, a.delimiter), p = ot(a, s, e, t, c);
256
+ let u = f ? "^" : "";
257
+ return u += p.join(""), i && (u += `(?:${s(a.delimiter)}$)?`), u += l ? "$" : `(?=${Y(a.delimiter)}|$)`, u;
258
258
  }
259
- function st(r, e, t, n, a) {
259
+ function ot(r, e, t, n, a) {
260
260
  const i = `(?:(?!${Y(r.delimiter)}).)+?`;
261
- let o = "", u = !0;
261
+ let o = "", f = !0;
262
262
  return r.tokens.map((l) => {
263
263
  if (typeof l == "string")
264
264
  return o = l, e(l);
265
- const { prefix: c = "", suffix: s = "", separator: p = s + c, modifier: f = "" } = l, d = e(c), y = e(s);
265
+ const { prefix: c = "", suffix: s = "", separator: p = s + c, modifier: u = "" } = l, d = e(c), y = e(s);
266
266
  if (l.name) {
267
- const h = l.pattern ? `(?:${l.pattern})` : i, g = on(h, l.name, n);
268
- if (u || (u = He(g, c || o)), !u)
267
+ const h = l.pattern ? `(?:${l.pattern})` : i, g = en(h, l.name, n);
268
+ if (f || (f = He(g, c || o)), !f)
269
269
  throw new TypeError(`Ambiguous pattern for "${l.name}": ${fe}`);
270
- if (u = !a || He(g, s), o = "", t.push(l), f === "+" || f === "*") {
271
- const b = f === "*" ? "?" : "", A = e(p);
272
- if (!A)
270
+ if (f = !a || He(g, s), o = "", t.push(l), u === "+" || u === "*") {
271
+ const $ = u === "*" ? "?" : "", E = e(p);
272
+ if (!E)
273
273
  throw new TypeError(`Missing separator for "${l.name}": ${fe}`);
274
- if (u || (u = !a || He(g, p)), !u)
274
+ if (f || (f = !a || He(g, p)), !f)
275
275
  throw new TypeError(`Ambiguous pattern for "${l.name}" separator: ${fe}`);
276
- return u = !a, `(?:${d}(${h}(?:${A}${h})*)${y})${b}`;
276
+ return f = !a, `(?:${d}(${h}(?:${E}${h})*)${y})${$}`;
277
277
  }
278
- return `(?:${d}(${h})${y})${f}`;
278
+ return `(?:${d}(${h})${y})${u}`;
279
279
  }
280
- return `(?:${d}${y})${f}`;
280
+ return `(?:${d}${y})${u}`;
281
281
  });
282
282
  }
283
- function on(r, e, t) {
283
+ function en(r, e, t) {
284
284
  try {
285
285
  return new RegExp(`^${r}$`, t);
286
286
  } catch (n) {
@@ -290,13 +290,13 @@ function on(r, e, t) {
290
290
  function He(r, e) {
291
291
  return e ? !r.test(e) : !1;
292
292
  }
293
- function pt(r, e = {}) {
294
- const t = [], n = ct(e);
293
+ function lt(r, e = {}) {
294
+ const t = [], n = it(e);
295
295
  if (Array.isArray(r)) {
296
- const i = r.map((o) => Mr(o, t, n, e));
296
+ const i = r.map((o) => Rr(o, t, n, e));
297
297
  return Object.assign(new RegExp(i.join("|")), { keys: t });
298
298
  }
299
- const a = Mr(r, t, n, e);
299
+ const a = Rr(r, t, n, e);
300
300
  return Object.assign(new RegExp(a), { keys: t });
301
301
  }
302
302
  var De = {};
@@ -304,8 +304,8 @@ Object.defineProperty(De, "__esModule", {
304
304
  value: !0
305
305
  });
306
306
  De.Observable = void 0;
307
- const yt = (r) => !!Symbol[r], $r = (r) => yt(r) ? Symbol[r] : "@@" + r, ln = $r("iterator"), yr = $r("observable"), dt = $r("species");
308
- function Ie(r, e) {
307
+ const ft = (r) => !!Symbol[r], br = (r) => ft(r) ? Symbol[r] : "@@" + r, rn = br("iterator"), cr = br("observable"), ut = br("species");
308
+ function _e(r, e) {
309
309
  let t = r[e];
310
310
  if (t != null) {
311
311
  if (typeof t != "function") throw new TypeError(t + " is not a function");
@@ -314,9 +314,9 @@ function Ie(r, e) {
314
314
  }
315
315
  function ie(r) {
316
316
  let e = r.constructor;
317
- return e !== void 0 && (e = e[dt], e === null && (e = void 0)), e !== void 0 ? e : Ne;
317
+ return e !== void 0 && (e = e[ut], e === null && (e = void 0)), e !== void 0 ? e : Ne;
318
318
  }
319
- function fn(r) {
319
+ function tn(r) {
320
320
  return r instanceof Ne;
321
321
  }
322
322
  function Z(r) {
@@ -333,52 +333,52 @@ function Ee(r) {
333
333
  }
334
334
  });
335
335
  }
336
- function ht(r) {
336
+ function ct(r) {
337
337
  let e = r._cleanup;
338
338
  if (e !== void 0 && (r._cleanup = void 0, !!e))
339
339
  try {
340
340
  if (typeof e == "function")
341
341
  e();
342
342
  else {
343
- let t = Ie(e, "unsubscribe");
343
+ let t = _e(e, "unsubscribe");
344
344
  t && t.call(e);
345
345
  }
346
346
  } catch (t) {
347
347
  Z(t);
348
348
  }
349
349
  }
350
- function dr(r) {
350
+ function sr(r) {
351
351
  r._observer = void 0, r._queue = void 0, r._state = "closed";
352
352
  }
353
- function un(r) {
353
+ function nn(r) {
354
354
  let e = r._queue;
355
355
  if (e) {
356
356
  r._queue = void 0, r._state = "ready";
357
- for (let t = 0; t < e.length && (mt(r, e[t].type, e[t].value), r._state !== "closed"); ++t)
357
+ for (let t = 0; t < e.length && (st(r, e[t].type, e[t].value), r._state !== "closed"); ++t)
358
358
  ;
359
359
  }
360
360
  }
361
- function mt(r, e, t) {
361
+ function st(r, e, t) {
362
362
  r._state = "running";
363
363
  let n = r._observer;
364
364
  try {
365
- let a = Ie(n, e);
365
+ let a = _e(n, e);
366
366
  switch (e) {
367
367
  case "next":
368
368
  a && a.call(n, t);
369
369
  break;
370
370
  case "error":
371
- if (dr(r), a) a.call(n, t);
371
+ if (sr(r), a) a.call(n, t);
372
372
  else throw t;
373
373
  break;
374
374
  case "complete":
375
- dr(r), a && a.call(n);
375
+ sr(r), a && a.call(n);
376
376
  break;
377
377
  }
378
378
  } catch (a) {
379
379
  Z(a);
380
380
  }
381
- r._state === "closed" ? ht(r) : r._state === "running" && (r._state = "ready");
381
+ r._state === "closed" ? ct(r) : r._state === "running" && (r._state = "ready");
382
382
  }
383
383
  function je(r, e, t) {
384
384
  if (r._state !== "closed") {
@@ -393,13 +393,13 @@ function je(r, e, t) {
393
393
  r._state = "buffering", r._queue = [{
394
394
  type: e,
395
395
  value: t
396
- }], Ee(() => un(r));
396
+ }], Ee(() => nn(r));
397
397
  return;
398
398
  }
399
- mt(r, e, t);
399
+ st(r, e, t);
400
400
  }
401
401
  }
402
- class cn {
402
+ class an {
403
403
  constructor(e, t) {
404
404
  this._cleanup = void 0, this._observer = e, this._queue = void 0, this._state = "initializing";
405
405
  let n = this, a = {
@@ -427,7 +427,7 @@ class cn {
427
427
  return this._state === "closed";
428
428
  }
429
429
  unsubscribe() {
430
- this._state !== "closed" && (dr(this), ht(this));
430
+ this._state !== "closed" && (sr(this), ct(this));
431
431
  }
432
432
  }
433
433
  let Ne = class Ae {
@@ -441,7 +441,7 @@ let Ne = class Ae {
441
441
  next: e,
442
442
  error: arguments[1],
443
443
  complete: arguments[2]
444
- }), new cn(e, this._subscriber);
444
+ }), new an(e, this._subscriber);
445
445
  }
446
446
  forEach(e) {
447
447
  return new Promise((t, n) => {
@@ -456,8 +456,8 @@ let Ne = class Ae {
456
456
  next(o) {
457
457
  try {
458
458
  e(o, a);
459
- } catch (u) {
460
- n(u), i.unsubscribe();
459
+ } catch (f) {
460
+ n(f), i.unsubscribe();
461
461
  }
462
462
  },
463
463
  error: n,
@@ -508,24 +508,24 @@ let Ne = class Ae {
508
508
  reduce(e) {
509
509
  if (typeof e != "function") throw new TypeError(e + " is not a function");
510
510
  let t = ie(this), n = arguments.length > 1, a = !1, o = arguments[1];
511
- return new t((u) => this.subscribe({
511
+ return new t((f) => this.subscribe({
512
512
  next(l) {
513
513
  let c = !a;
514
514
  if (a = !0, !c || n)
515
515
  try {
516
516
  o = e(o, l);
517
517
  } catch (s) {
518
- return u.error(s);
518
+ return f.error(s);
519
519
  }
520
520
  else
521
521
  o = l;
522
522
  },
523
523
  error(l) {
524
- u.error(l);
524
+ f.error(l);
525
525
  },
526
526
  complete() {
527
- if (!a && !n) return u.error(new TypeError("Cannot reduce an empty sequence"));
528
- u.next(o), u.complete();
527
+ if (!a && !n) return f.error(new TypeError("Cannot reduce an empty sequence"));
528
+ f.next(o), f.complete();
529
529
  }
530
530
  }));
531
531
  }
@@ -537,8 +537,8 @@ let Ne = class Ae {
537
537
  let t = ie(this);
538
538
  return new t((n) => {
539
539
  let a, i = 0;
540
- function o(u) {
541
- a = u.subscribe({
540
+ function o(f) {
541
+ a = f.subscribe({
542
542
  next(l) {
543
543
  n.next(l);
544
544
  },
@@ -560,14 +560,14 @@ let Ne = class Ae {
560
560
  let t = ie(this);
561
561
  return new t((n) => {
562
562
  let a = [], i = this.subscribe({
563
- next(u) {
563
+ next(f) {
564
564
  if (e)
565
565
  try {
566
- u = e(u);
566
+ f = e(f);
567
567
  } catch (c) {
568
568
  return n.error(c);
569
569
  }
570
- let l = t.from(u).subscribe({
570
+ let l = t.from(f).subscribe({
571
571
  next(c) {
572
572
  n.next(c);
573
573
  },
@@ -581,8 +581,8 @@ let Ne = class Ae {
581
581
  });
582
582
  a.push(l);
583
583
  },
584
- error(u) {
585
- n.error(u);
584
+ error(f) {
585
+ n.error(f);
586
586
  },
587
587
  complete() {
588
588
  o();
@@ -592,23 +592,23 @@ let Ne = class Ae {
592
592
  i.closed && a.length === 0 && n.complete();
593
593
  }
594
594
  return () => {
595
- a.forEach((u) => u.unsubscribe()), i.unsubscribe();
595
+ a.forEach((f) => f.unsubscribe()), i.unsubscribe();
596
596
  };
597
597
  });
598
598
  }
599
- [yr]() {
599
+ [cr]() {
600
600
  return this;
601
601
  }
602
602
  static from(e) {
603
603
  let t = typeof this == "function" ? this : Ae;
604
604
  if (e == null) throw new TypeError(e + " is not an object");
605
- let n = Ie(e, yr);
605
+ let n = _e(e, cr);
606
606
  if (n) {
607
607
  let a = n.call(e);
608
608
  if (Object(a) !== a) throw new TypeError(a + " is not an object");
609
- return fn(a) && a.constructor === t ? a : new t((i) => a.subscribe(i));
609
+ return tn(a) && a.constructor === t ? a : new t((i) => a.subscribe(i));
610
610
  }
611
- if (yt("iterator") && (n = Ie(e, ln), n))
611
+ if (ft("iterator") && (n = _e(e, rn), n))
612
612
  return new t((a) => {
613
613
  Ee(() => {
614
614
  if (!a.closed) {
@@ -642,47 +642,47 @@ let Ne = class Ae {
642
642
  });
643
643
  });
644
644
  }
645
- static get [dt]() {
645
+ static get [ut]() {
646
646
  return this;
647
647
  }
648
648
  };
649
649
  De.Observable = Ne;
650
650
  Object.defineProperty(Ne, Symbol("extensions"), {
651
651
  value: {
652
- symbol: yr,
652
+ symbol: cr,
653
653
  hostReportError: Z
654
654
  },
655
655
  configurable: !0
656
656
  });
657
- var sn = De.Observable;
658
- const vt = /* @__PURE__ */ ft(sn);
659
- var te = TypeError, pn = Vt.inspect, Pr = typeof Map == "function" && Map.prototype, ke = Object.getOwnPropertyDescriptor && Pr ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Re = Pr && ke && typeof ke.get == "function" ? ke.get : null, Dr = Pr && Map.prototype.forEach, xr = typeof Set == "function" && Set.prototype, ze = Object.getOwnPropertyDescriptor && xr ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, _e = xr && ze && typeof ze.get == "function" ? ze.get : null, Nr = xr && Set.prototype.forEach, yn = typeof WeakMap == "function" && WeakMap.prototype, ue = yn ? WeakMap.prototype.has : null, dn = typeof WeakSet == "function" && WeakSet.prototype, ce = dn ? WeakSet.prototype.has : null, hn = typeof WeakRef == "function" && WeakRef.prototype, Lr = hn ? WeakRef.prototype.deref : null, mn = Boolean.prototype.valueOf, vn = Object.prototype.toString, gn = Function.prototype.toString, wn = String.prototype.match, Or = String.prototype.slice, L = String.prototype.replace, Sn = String.prototype.toUpperCase, Ur = String.prototype.toLowerCase, gt = RegExp.prototype.test, Br = Array.prototype.concat, R = Array.prototype.join, bn = Array.prototype.slice, qr = Math.floor, hr = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ke = Object.getOwnPropertySymbols, mr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ee = typeof Symbol == "function" && typeof Symbol.iterator == "object", se = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ee || !0) ? Symbol.toStringTag : null, wt = Object.prototype.propertyIsEnumerable, Wr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
657
+ var on = De.Observable;
658
+ const pt = /* @__PURE__ */ nt(on);
659
+ var te = TypeError, ln = Ht.inspect, Er = typeof Map == "function" && Map.prototype, ke = Object.getOwnPropertyDescriptor && Er ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ie = Er && ke && typeof ke.get == "function" ? ke.get : null, Cr = Er && Map.prototype.forEach, Ar = typeof Set == "function" && Set.prototype, ze = Object.getOwnPropertyDescriptor && Ar ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Re = Ar && ze && typeof ze.get == "function" ? ze.get : null, Tr = Ar && Set.prototype.forEach, fn = typeof WeakMap == "function" && WeakMap.prototype, ue = fn ? WeakMap.prototype.has : null, un = typeof WeakSet == "function" && WeakSet.prototype, ce = un ? WeakSet.prototype.has : null, cn = typeof WeakRef == "function" && WeakRef.prototype, Mr = cn ? WeakRef.prototype.deref : null, sn = Boolean.prototype.valueOf, pn = Object.prototype.toString, yn = Function.prototype.toString, dn = String.prototype.match, $r = String.prototype.slice, L = String.prototype.replace, hn = String.prototype.toUpperCase, Dr = String.prototype.toLowerCase, yt = RegExp.prototype.test, Nr = Array.prototype.concat, I = Array.prototype.join, mn = Array.prototype.slice, Lr = Math.floor, pr = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ke = Object.getOwnPropertySymbols, yr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ee = typeof Symbol == "function" && typeof Symbol.iterator == "object", se = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ee || !0) ? Symbol.toStringTag : null, dt = Object.prototype.propertyIsEnumerable, Ur = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
660
660
  return r.__proto__;
661
661
  } : null);
662
- function Fr(r, e) {
663
- if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || gt.call(/e/, e))
662
+ function Br(r, e) {
663
+ if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || yt.call(/e/, e))
664
664
  return e;
665
665
  var t = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
666
666
  if (typeof r == "number") {
667
- var n = r < 0 ? -qr(-r) : qr(r);
667
+ var n = r < 0 ? -Lr(-r) : Lr(r);
668
668
  if (n !== r) {
669
- var a = String(n), i = Or.call(e, a.length + 1);
669
+ var a = String(n), i = $r.call(e, a.length + 1);
670
670
  return L.call(a, t, "$&_") + "." + L.call(L.call(i, /([0-9]{3})/g, "$&_"), /_$/, "");
671
671
  }
672
672
  }
673
673
  return L.call(e, t, "$&_");
674
674
  }
675
- var vr = pn, Gr = vr.custom, Hr = Et(Gr) ? Gr : null, St = {
675
+ var dr = ln, qr = dr.custom, Wr = vt(qr) ? qr : null, ht = {
676
676
  __proto__: null,
677
677
  double: '"',
678
678
  single: "'"
679
- }, En = {
679
+ }, vn = {
680
680
  __proto__: null,
681
681
  double: /(["\\])/g,
682
682
  single: /(['\\])/g
683
683
  }, Le = function r(e, t, n, a) {
684
684
  var i = t || {};
685
- if (T(i, "quoteStyle") && !T(St, i.quoteStyle))
685
+ if (T(i, "quoteStyle") && !T(ht, i.quoteStyle))
686
686
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
687
687
  if (T(i, "maxStringLength") && (typeof i.maxStringLength == "number" ? i.maxStringLength < 0 && i.maxStringLength !== 1 / 0 : i.maxStringLength !== null))
688
688
  throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
@@ -693,7 +693,7 @@ var vr = pn, Gr = vr.custom, Hr = Et(Gr) ? Gr : null, St = {
693
693
  throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
694
694
  if (T(i, "numericSeparator") && typeof i.numericSeparator != "boolean")
695
695
  throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
696
- var u = i.numericSeparator;
696
+ var f = i.numericSeparator;
697
697
  if (typeof e > "u")
698
698
  return "undefined";
699
699
  if (e === null)
@@ -701,27 +701,27 @@ var vr = pn, Gr = vr.custom, Hr = Et(Gr) ? Gr : null, St = {
701
701
  if (typeof e == "boolean")
702
702
  return e ? "true" : "false";
703
703
  if (typeof e == "string")
704
- return $t(e, i);
704
+ return wt(e, i);
705
705
  if (typeof e == "number") {
706
706
  if (e === 0)
707
707
  return 1 / 0 / e > 0 ? "0" : "-0";
708
708
  var l = String(e);
709
- return u ? Fr(e, l) : l;
709
+ return f ? Br(e, l) : l;
710
710
  }
711
711
  if (typeof e == "bigint") {
712
712
  var c = String(e) + "n";
713
- return u ? Fr(e, c) : c;
713
+ return f ? Br(e, c) : c;
714
714
  }
715
715
  var s = typeof i.depth > "u" ? 5 : i.depth;
716
716
  if (typeof n > "u" && (n = 0), n >= s && s > 0 && typeof e == "object")
717
- return gr(e) ? "[Array]" : "[Object]";
718
- var p = Wn(i, n);
717
+ return hr(e) ? "[Array]" : "[Object]";
718
+ var p = Nn(i, n);
719
719
  if (typeof a > "u")
720
720
  a = [];
721
- else if (At(a, e) >= 0)
721
+ else if (gt(a, e) >= 0)
722
722
  return "[Circular]";
723
- function f(x, N, C) {
724
- if (N && (a = bn.call(a), a.push(N)), C) {
723
+ function u(x, N, C) {
724
+ if (N && (a = mn.call(a), a.push(N)), C) {
725
725
  var ae = {
726
726
  depth: i.depth
727
727
  };
@@ -729,140 +729,140 @@ var vr = pn, Gr = vr.custom, Hr = Et(Gr) ? Gr : null, St = {
729
729
  }
730
730
  return r(x, i, n + 1, a);
731
731
  }
732
- if (typeof e == "function" && !jr(e)) {
733
- var d = Cn(e), y = Se(e, f);
734
- return "[Function" + (d ? ": " + d : " (anonymous)") + "]" + (y.length > 0 ? " { " + R.call(y, ", ") + " }" : "");
732
+ if (typeof e == "function" && !Fr(e)) {
733
+ var d = xn(e), y = Se(e, u);
734
+ return "[Function" + (d ? ": " + d : " (anonymous)") + "]" + (y.length > 0 ? " { " + I.call(y, ", ") + " }" : "");
735
735
  }
736
- if (Et(e)) {
737
- var h = ee ? L.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : mr.call(e);
736
+ if (vt(e)) {
737
+ var h = ee ? L.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : yr.call(e);
738
738
  return typeof e == "object" && !ee ? oe(h) : h;
739
739
  }
740
- if (Un(e)) {
741
- for (var g = "<" + Ur.call(String(e.nodeName)), b = e.attributes || [], A = 0; A < b.length; A++)
742
- g += " " + b[A].name + "=" + bt(An(b[A].value), "double", i);
743
- return g += ">", e.childNodes && e.childNodes.length && (g += "..."), g += "</" + Ur.call(String(e.nodeName)) + ">", g;
740
+ if (Tn(e)) {
741
+ for (var g = "<" + Dr.call(String(e.nodeName)), $ = e.attributes || [], E = 0; E < $.length; E++)
742
+ g += " " + $[E].name + "=" + mt(gn($[E].value), "double", i);
743
+ return g += ">", e.childNodes && e.childNodes.length && (g += "..."), g += "</" + Dr.call(String(e.nodeName)) + ">", g;
744
744
  }
745
- if (gr(e)) {
745
+ if (hr(e)) {
746
746
  if (e.length === 0)
747
747
  return "[]";
748
- var m = Se(e, f);
749
- return p && !qn(m) ? "[" + wr(m, p) + "]" : "[ " + R.call(m, ", ") + " ]";
748
+ var m = Se(e, u);
749
+ return p && !Dn(m) ? "[" + mr(m, p) + "]" : "[ " + I.call(m, ", ") + " ]";
750
750
  }
751
- if (Pn(e)) {
752
- var M = Se(e, f);
753
- return !("cause" in Error.prototype) && "cause" in e && !wt.call(e, "cause") ? "{ [" + String(e) + "] " + R.call(Br.call("[cause]: " + f(e.cause), M), ", ") + " }" : M.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + R.call(M, ", ") + " }";
751
+ if (Sn(e)) {
752
+ var M = Se(e, u);
753
+ return !("cause" in Error.prototype) && "cause" in e && !dt.call(e, "cause") ? "{ [" + String(e) + "] " + I.call(Nr.call("[cause]: " + u(e.cause), M), ", ") + " }" : M.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + I.call(M, ", ") + " }";
754
754
  }
755
755
  if (typeof e == "object" && o) {
756
- if (Hr && typeof e[Hr] == "function" && vr)
757
- return vr(e, { depth: s - n });
756
+ if (Wr && typeof e[Wr] == "function" && dr)
757
+ return dr(e, { depth: s - n });
758
758
  if (o !== "symbol" && typeof e.inspect == "function")
759
759
  return e.inspect();
760
760
  }
761
- if (Tn(e)) {
761
+ if (On(e)) {
762
762
  var B = [];
763
- return Dr && Dr.call(e, function(x, N) {
764
- B.push(f(N, e, !0) + " => " + f(x, e));
765
- }), kr("Map", Re.call(e), B, p);
763
+ return Cr && Cr.call(e, function(x, N) {
764
+ B.push(u(N, e, !0) + " => " + u(x, e));
765
+ }), Gr("Map", Ie.call(e), B, p);
766
766
  }
767
- if (Nn(e)) {
767
+ if (Rn(e)) {
768
768
  var ne = [];
769
- return Nr && Nr.call(e, function(x) {
770
- ne.push(f(x, e));
771
- }), kr("Set", _e.call(e), ne, p);
769
+ return Tr && Tr.call(e, function(x) {
770
+ ne.push(u(x, e));
771
+ }), Gr("Set", Re.call(e), ne, p);
772
772
  }
773
- if (Mn(e))
773
+ if (_n(e))
774
774
  return Ve("WeakMap");
775
- if (Ln(e))
775
+ if (Cn(e))
776
776
  return Ve("WeakSet");
777
- if (Dn(e))
778
- return Ve("WeakRef");
779
- if (On(e))
780
- return oe(f(Number(e)));
781
- if (Rn(e))
782
- return oe(f(hr.call(e)));
783
777
  if (In(e))
784
- return oe(mn.call(e));
785
- if (xn(e))
786
- return oe(f(String(e)));
778
+ return Ve("WeakRef");
779
+ if (En(e))
780
+ return oe(u(Number(e)));
781
+ if ($n(e))
782
+ return oe(u(pr.call(e)));
783
+ if (An(e))
784
+ return oe(sn.call(e));
785
+ if (bn(e))
786
+ return oe(u(String(e)));
787
787
  if (typeof window < "u" && e === window)
788
788
  return "{ [object Window] }";
789
- if (typeof globalThis < "u" && e === globalThis || typeof Tr < "u" && e === Tr)
789
+ if (typeof globalThis < "u" && e === globalThis || typeof Ir < "u" && e === Ir)
790
790
  return "{ [object globalThis] }";
791
- if (!$n(e) && !jr(e)) {
792
- var k = Se(e, f), ge = Wr ? Wr(e) === Object.prototype : e instanceof Object || e.constructor === Object, q = e instanceof Object ? "" : "null prototype", D = !ge && se && Object(e) === e && se in e ? Or.call(U(e), 8, -1) : q ? "Object" : "", we = ge || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", z = we + (D || q ? "[" + R.call(Br.call([], D || [], q || []), ": ") + "] " : "");
793
- return k.length === 0 ? z + "{}" : p ? z + "{" + wr(k, p) + "}" : z + "{ " + R.call(k, ", ") + " }";
791
+ if (!wn(e) && !Fr(e)) {
792
+ var k = Se(e, u), ge = Ur ? Ur(e) === Object.prototype : e instanceof Object || e.constructor === Object, q = e instanceof Object ? "" : "null prototype", D = !ge && se && Object(e) === e && se in e ? $r.call(U(e), 8, -1) : q ? "Object" : "", we = ge || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", z = we + (D || q ? "[" + I.call(Nr.call([], D || [], q || []), ": ") + "] " : "");
793
+ return k.length === 0 ? z + "{}" : p ? z + "{" + mr(k, p) + "}" : z + "{ " + I.call(k, ", ") + " }";
794
794
  }
795
795
  return String(e);
796
796
  };
797
- function bt(r, e, t) {
798
- var n = t.quoteStyle || e, a = St[n];
797
+ function mt(r, e, t) {
798
+ var n = t.quoteStyle || e, a = ht[n];
799
799
  return a + r + a;
800
800
  }
801
- function An(r) {
801
+ function gn(r) {
802
802
  return L.call(String(r), /"/g, "&quot;");
803
803
  }
804
804
  function j(r) {
805
805
  return !se || !(typeof r == "object" && (se in r || typeof r[se] < "u"));
806
806
  }
807
- function gr(r) {
807
+ function hr(r) {
808
808
  return U(r) === "[object Array]" && j(r);
809
809
  }
810
- function $n(r) {
810
+ function wn(r) {
811
811
  return U(r) === "[object Date]" && j(r);
812
812
  }
813
- function jr(r) {
813
+ function Fr(r) {
814
814
  return U(r) === "[object RegExp]" && j(r);
815
815
  }
816
- function Pn(r) {
816
+ function Sn(r) {
817
817
  return U(r) === "[object Error]" && j(r);
818
818
  }
819
- function xn(r) {
819
+ function bn(r) {
820
820
  return U(r) === "[object String]" && j(r);
821
821
  }
822
- function On(r) {
822
+ function En(r) {
823
823
  return U(r) === "[object Number]" && j(r);
824
824
  }
825
- function In(r) {
825
+ function An(r) {
826
826
  return U(r) === "[object Boolean]" && j(r);
827
827
  }
828
- function Et(r) {
828
+ function vt(r) {
829
829
  if (ee)
830
830
  return r && typeof r == "object" && r instanceof Symbol;
831
831
  if (typeof r == "symbol")
832
832
  return !0;
833
- if (!r || typeof r != "object" || !mr)
833
+ if (!r || typeof r != "object" || !yr)
834
834
  return !1;
835
835
  try {
836
- return mr.call(r), !0;
836
+ return yr.call(r), !0;
837
837
  } catch {
838
838
  }
839
839
  return !1;
840
840
  }
841
- function Rn(r) {
842
- if (!r || typeof r != "object" || !hr)
841
+ function $n(r) {
842
+ if (!r || typeof r != "object" || !pr)
843
843
  return !1;
844
844
  try {
845
- return hr.call(r), !0;
845
+ return pr.call(r), !0;
846
846
  } catch {
847
847
  }
848
848
  return !1;
849
849
  }
850
- var _n = Object.prototype.hasOwnProperty || function(r) {
850
+ var Pn = Object.prototype.hasOwnProperty || function(r) {
851
851
  return r in this;
852
852
  };
853
853
  function T(r, e) {
854
- return _n.call(r, e);
854
+ return Pn.call(r, e);
855
855
  }
856
856
  function U(r) {
857
- return vn.call(r);
857
+ return pn.call(r);
858
858
  }
859
- function Cn(r) {
859
+ function xn(r) {
860
860
  if (r.name)
861
861
  return r.name;
862
- var e = wn.call(gn.call(r), /^function\s*([\w$]+)/);
862
+ var e = dn.call(yn.call(r), /^function\s*([\w$]+)/);
863
863
  return e ? e[1] : null;
864
864
  }
865
- function At(r, e) {
865
+ function gt(r, e) {
866
866
  if (r.indexOf)
867
867
  return r.indexOf(e);
868
868
  for (var t = 0, n = r.length; t < n; t++)
@@ -870,13 +870,13 @@ function At(r, e) {
870
870
  return t;
871
871
  return -1;
872
872
  }
873
- function Tn(r) {
874
- if (!Re || !r || typeof r != "object")
873
+ function On(r) {
874
+ if (!Ie || !r || typeof r != "object")
875
875
  return !1;
876
876
  try {
877
- Re.call(r);
877
+ Ie.call(r);
878
878
  try {
879
- _e.call(r);
879
+ Re.call(r);
880
880
  } catch {
881
881
  return !0;
882
882
  }
@@ -885,7 +885,7 @@ function Tn(r) {
885
885
  }
886
886
  return !1;
887
887
  }
888
- function Mn(r) {
888
+ function _n(r) {
889
889
  if (!ue || !r || typeof r != "object")
890
890
  return !1;
891
891
  try {
@@ -900,22 +900,22 @@ function Mn(r) {
900
900
  }
901
901
  return !1;
902
902
  }
903
- function Dn(r) {
904
- if (!Lr || !r || typeof r != "object")
903
+ function In(r) {
904
+ if (!Mr || !r || typeof r != "object")
905
905
  return !1;
906
906
  try {
907
- return Lr.call(r), !0;
907
+ return Mr.call(r), !0;
908
908
  } catch {
909
909
  }
910
910
  return !1;
911
911
  }
912
- function Nn(r) {
913
- if (!_e || !r || typeof r != "object")
912
+ function Rn(r) {
913
+ if (!Re || !r || typeof r != "object")
914
914
  return !1;
915
915
  try {
916
- _e.call(r);
916
+ Re.call(r);
917
917
  try {
918
- Re.call(r);
918
+ Ie.call(r);
919
919
  } catch {
920
920
  return !0;
921
921
  }
@@ -924,7 +924,7 @@ function Nn(r) {
924
924
  }
925
925
  return !1;
926
926
  }
927
- function Ln(r) {
927
+ function Cn(r) {
928
928
  if (!ce || !r || typeof r != "object")
929
929
  return !1;
930
930
  try {
@@ -939,20 +939,20 @@ function Ln(r) {
939
939
  }
940
940
  return !1;
941
941
  }
942
- function Un(r) {
942
+ function Tn(r) {
943
943
  return !r || typeof r != "object" ? !1 : typeof HTMLElement < "u" && r instanceof HTMLElement ? !0 : typeof r.nodeName == "string" && typeof r.getAttribute == "function";
944
944
  }
945
- function $t(r, e) {
945
+ function wt(r, e) {
946
946
  if (r.length > e.maxStringLength) {
947
947
  var t = r.length - e.maxStringLength, n = "... " + t + " more character" + (t > 1 ? "s" : "");
948
- return $t(Or.call(r, 0, e.maxStringLength), e) + n;
948
+ return wt($r.call(r, 0, e.maxStringLength), e) + n;
949
949
  }
950
- var a = En[e.quoteStyle || "single"];
950
+ var a = vn[e.quoteStyle || "single"];
951
951
  a.lastIndex = 0;
952
- var i = L.call(L.call(r, a, "\\$1"), /[\x00-\x1f]/g, Bn);
953
- return bt(i, "single", e);
952
+ var i = L.call(L.call(r, a, "\\$1"), /[\x00-\x1f]/g, Mn);
953
+ return mt(i, "single", e);
954
954
  }
955
- function Bn(r) {
955
+ function Mn(r) {
956
956
  var e = r.charCodeAt(0), t = {
957
957
  8: "b",
958
958
  9: "t",
@@ -960,7 +960,7 @@ function Bn(r) {
960
960
  12: "f",
961
961
  13: "r"
962
962
  }[e];
963
- return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") + Sn.call(e.toString(16));
963
+ return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") + hn.call(e.toString(16));
964
964
  }
965
965
  function oe(r) {
966
966
  return "Object(" + r + ")";
@@ -968,40 +968,40 @@ function oe(r) {
968
968
  function Ve(r) {
969
969
  return r + " { ? }";
970
970
  }
971
- function kr(r, e, t, n) {
972
- var a = n ? wr(t, n) : R.call(t, ", ");
971
+ function Gr(r, e, t, n) {
972
+ var a = n ? mr(t, n) : I.call(t, ", ");
973
973
  return r + " (" + e + ") {" + a + "}";
974
974
  }
975
- function qn(r) {
975
+ function Dn(r) {
976
976
  for (var e = 0; e < r.length; e++)
977
- if (At(r[e], `
977
+ if (gt(r[e], `
978
978
  `) >= 0)
979
979
  return !1;
980
980
  return !0;
981
981
  }
982
- function Wn(r, e) {
982
+ function Nn(r, e) {
983
983
  var t;
984
984
  if (r.indent === " ")
985
985
  t = " ";
986
986
  else if (typeof r.indent == "number" && r.indent > 0)
987
- t = R.call(Array(r.indent + 1), " ");
987
+ t = I.call(Array(r.indent + 1), " ");
988
988
  else
989
989
  return null;
990
990
  return {
991
991
  base: t,
992
- prev: R.call(Array(e + 1), t)
992
+ prev: I.call(Array(e + 1), t)
993
993
  };
994
994
  }
995
- function wr(r, e) {
995
+ function mr(r, e) {
996
996
  if (r.length === 0)
997
997
  return "";
998
998
  var t = `
999
999
  ` + e.prev + e.base;
1000
- return t + R.call(r, "," + t) + `
1000
+ return t + I.call(r, "," + t) + `
1001
1001
  ` + e.prev;
1002
1002
  }
1003
1003
  function Se(r, e) {
1004
- var t = gr(r), n = [];
1004
+ var t = hr(r), n = [];
1005
1005
  if (t) {
1006
1006
  n.length = r.length;
1007
1007
  for (var a = 0; a < r.length; a++)
@@ -1010,27 +1010,27 @@ function Se(r, e) {
1010
1010
  var i = typeof Ke == "function" ? Ke(r) : [], o;
1011
1011
  if (ee) {
1012
1012
  o = {};
1013
- for (var u = 0; u < i.length; u++)
1014
- o["$" + i[u]] = i[u];
1013
+ for (var f = 0; f < i.length; f++)
1014
+ o["$" + i[f]] = i[f];
1015
1015
  }
1016
1016
  for (var l in r)
1017
- T(r, l) && (t && String(Number(l)) === l && l < r.length || ee && o["$" + l] instanceof Symbol || (gt.call(/[^\w$]/, l) ? n.push(e(l, r) + ": " + e(r[l], r)) : n.push(l + ": " + e(r[l], r))));
1017
+ T(r, l) && (t && String(Number(l)) === l && l < r.length || ee && o["$" + l] instanceof Symbol || (yt.call(/[^\w$]/, l) ? n.push(e(l, r) + ": " + e(r[l], r)) : n.push(l + ": " + e(r[l], r))));
1018
1018
  if (typeof Ke == "function")
1019
1019
  for (var c = 0; c < i.length; c++)
1020
- wt.call(r, i[c]) && n.push("[" + e(i[c]) + "]: " + e(r[i[c]], r));
1020
+ dt.call(r, i[c]) && n.push("[" + e(i[c]) + "]: " + e(r[i[c]], r));
1021
1021
  return n;
1022
1022
  }
1023
- var Fn = Le, Gn = te, Ue = function(r, e, t) {
1023
+ var Ln = Le, Un = te, Ue = function(r, e, t) {
1024
1024
  for (var n = r, a; (a = n.next) != null; n = a)
1025
1025
  if (a.key === e)
1026
1026
  return n.next = a.next, t || (a.next = /** @type {NonNullable<typeof list.next>} */
1027
1027
  r.next, r.next = a), a;
1028
- }, Hn = function(r, e) {
1028
+ }, Bn = function(r, e) {
1029
1029
  if (r) {
1030
1030
  var t = Ue(r, e);
1031
1031
  return t && t.value;
1032
1032
  }
1033
- }, jn = function(r, e, t) {
1033
+ }, qn = function(r, e, t) {
1034
1034
  var n = Ue(r, e);
1035
1035
  n ? n.value = t : r.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
1036
1036
  {
@@ -1039,31 +1039,31 @@ var Fn = Le, Gn = te, Ue = function(r, e, t) {
1039
1039
  next: r.next,
1040
1040
  value: t
1041
1041
  };
1042
- }, kn = function(r, e) {
1042
+ }, Wn = function(r, e) {
1043
1043
  return r ? !!Ue(r, e) : !1;
1044
- }, zn = function(r, e) {
1044
+ }, Fn = function(r, e) {
1045
1045
  if (r)
1046
1046
  return Ue(r, e, !0);
1047
- }, Kn = function() {
1047
+ }, Gn = function() {
1048
1048
  var e, t = {
1049
1049
  assert: function(n) {
1050
1050
  if (!t.has(n))
1051
- throw new Gn("Side channel does not contain " + Fn(n));
1051
+ throw new Un("Side channel does not contain " + Ln(n));
1052
1052
  },
1053
1053
  delete: function(n) {
1054
- var a = e && e.next, i = zn(e, n);
1054
+ var a = e && e.next, i = Fn(e, n);
1055
1055
  return i && a && a === i && (e = void 0), !!i;
1056
1056
  },
1057
1057
  get: function(n) {
1058
- return Hn(e, n);
1058
+ return Bn(e, n);
1059
1059
  },
1060
1060
  has: function(n) {
1061
- return kn(e, n);
1061
+ return Wn(e, n);
1062
1062
  },
1063
1063
  set: function(n, a) {
1064
1064
  e || (e = {
1065
1065
  next: void 0
1066
- }), jn(
1066
+ }), qn(
1067
1067
  /** @type {NonNullable<typeof $o>} */
1068
1068
  e,
1069
1069
  n,
@@ -1072,27 +1072,27 @@ var Fn = Le, Gn = te, Ue = function(r, e, t) {
1072
1072
  }
1073
1073
  };
1074
1074
  return t;
1075
- }, Pt = Object, Vn = Error, Qn = EvalError, Jn = RangeError, Xn = ReferenceError, Yn = SyntaxError, Zn = URIError, ea = Math.abs, ra = Math.floor, ta = Math.max, na = Math.min, aa = Math.pow, ia = Math.round, oa = Number.isNaN || function(e) {
1075
+ }, St = Object, Hn = Error, jn = EvalError, kn = RangeError, zn = ReferenceError, Kn = SyntaxError, Vn = URIError, Qn = Math.abs, Jn = Math.floor, Xn = Math.max, Yn = Math.min, Zn = Math.pow, ea = Math.round, ra = Number.isNaN || function(e) {
1076
1076
  return e !== e;
1077
- }, la = oa, fa = function(e) {
1078
- return la(e) || e === 0 ? e : e < 0 ? -1 : 1;
1079
- }, ua = Object.getOwnPropertyDescriptor, $e = ua;
1077
+ }, ta = ra, na = function(e) {
1078
+ return ta(e) || e === 0 ? e : e < 0 ? -1 : 1;
1079
+ }, aa = Object.getOwnPropertyDescriptor, $e = aa;
1080
1080
  if ($e)
1081
1081
  try {
1082
1082
  $e([], "length");
1083
1083
  } catch {
1084
1084
  $e = null;
1085
1085
  }
1086
- var xt = $e, Pe = Object.defineProperty || !1;
1086
+ var bt = $e, Pe = Object.defineProperty || !1;
1087
1087
  if (Pe)
1088
1088
  try {
1089
1089
  Pe({}, "a", { value: 1 });
1090
1090
  } catch {
1091
1091
  Pe = !1;
1092
1092
  }
1093
- var ca = Pe, Qe, zr;
1094
- function sa() {
1095
- return zr || (zr = 1, Qe = function() {
1093
+ var ia = Pe, Qe, Hr;
1094
+ function oa() {
1095
+ return Hr || (Hr = 1, Qe = function() {
1096
1096
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
1097
1097
  return !1;
1098
1098
  if (typeof Symbol.iterator == "symbol")
@@ -1110,105 +1110,87 @@ function sa() {
1110
1110
  if (o.length !== 1 || o[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t))
1111
1111
  return !1;
1112
1112
  if (typeof Object.getOwnPropertyDescriptor == "function") {
1113
- var u = (
1113
+ var f = (
1114
1114
  /** @type {PropertyDescriptor} */
1115
1115
  Object.getOwnPropertyDescriptor(e, t)
1116
1116
  );
1117
- if (u.value !== a || u.enumerable !== !0)
1117
+ if (f.value !== a || f.enumerable !== !0)
1118
1118
  return !1;
1119
1119
  }
1120
1120
  return !0;
1121
1121
  }), Qe;
1122
1122
  }
1123
- var Je, Kr;
1124
- function pa() {
1125
- if (Kr) return Je;
1126
- Kr = 1;
1127
- var r = typeof Symbol < "u" && Symbol, e = sa();
1123
+ var Je, jr;
1124
+ function la() {
1125
+ if (jr) return Je;
1126
+ jr = 1;
1127
+ var r = typeof Symbol < "u" && Symbol, e = oa();
1128
1128
  return Je = function() {
1129
1129
  return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
1130
1130
  }, Je;
1131
1131
  }
1132
- var Xe, Vr;
1133
- function Ot() {
1134
- return Vr || (Vr = 1, Xe = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Xe;
1132
+ var Xe, kr;
1133
+ function Et() {
1134
+ return kr || (kr = 1, Xe = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Xe;
1135
1135
  }
1136
- var Ye, Qr;
1137
- function It() {
1138
- if (Qr) return Ye;
1139
- Qr = 1;
1140
- var r = Pt;
1136
+ var Ye, zr;
1137
+ function At() {
1138
+ if (zr) return Ye;
1139
+ zr = 1;
1140
+ var r = St;
1141
1141
  return Ye = r.getPrototypeOf || null, Ye;
1142
1142
  }
1143
- var Ze, Jr;
1144
- function ya() {
1145
- if (Jr) return Ze;
1146
- Jr = 1;
1147
- var r = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, t = Math.max, n = "[object Function]", a = function(l, c) {
1148
- for (var s = [], p = 0; p < l.length; p += 1)
1149
- s[p] = l[p];
1150
- for (var f = 0; f < c.length; f += 1)
1151
- s[f + l.length] = c[f];
1152
- return s;
1153
- }, i = function(l, c) {
1154
- for (var s = [], p = c, f = 0; p < l.length; p += 1, f += 1)
1155
- s[f] = l[p];
1156
- return s;
1157
- }, o = function(u, l) {
1158
- for (var c = "", s = 0; s < u.length; s += 1)
1159
- c += u[s], s + 1 < u.length && (c += l);
1160
- return c;
1161
- };
1162
- return Ze = function(l) {
1163
- var c = this;
1164
- if (typeof c != "function" || e.apply(c) !== n)
1165
- throw new TypeError(r + c);
1166
- for (var s = i(arguments, 1), p, f = function() {
1167
- if (this instanceof p) {
1168
- var b = c.apply(
1169
- this,
1170
- a(s, arguments)
1171
- );
1172
- return Object(b) === b ? b : this;
1173
- }
1174
- return c.apply(
1175
- l,
1176
- a(s, arguments)
1143
+ var fa = "Function.prototype.bind called on incompatible ", ua = Object.prototype.toString, ca = Math.max, sa = "[object Function]", Kr = function(e, t) {
1144
+ for (var n = [], a = 0; a < e.length; a += 1)
1145
+ n[a] = e[a];
1146
+ for (var i = 0; i < t.length; i += 1)
1147
+ n[i + e.length] = t[i];
1148
+ return n;
1149
+ }, pa = function(e, t) {
1150
+ for (var n = [], a = t, i = 0; a < e.length; a += 1, i += 1)
1151
+ n[i] = e[a];
1152
+ return n;
1153
+ }, ya = function(r, e) {
1154
+ for (var t = "", n = 0; n < r.length; n += 1)
1155
+ t += r[n], n + 1 < r.length && (t += e);
1156
+ return t;
1157
+ }, da = function(e) {
1158
+ var t = this;
1159
+ if (typeof t != "function" || ua.apply(t) !== sa)
1160
+ throw new TypeError(fa + t);
1161
+ for (var n = pa(arguments, 1), a, i = function() {
1162
+ if (this instanceof a) {
1163
+ var s = t.apply(
1164
+ this,
1165
+ Kr(n, arguments)
1177
1166
  );
1178
- }, d = t(0, c.length - s.length), y = [], h = 0; h < d; h++)
1179
- y[h] = "$" + h;
1180
- if (p = Function("binder", "return function (" + o(y, ",") + "){ return binder.apply(this,arguments); }")(f), c.prototype) {
1181
- var g = function() {
1182
- };
1183
- g.prototype = c.prototype, p.prototype = new g(), g.prototype = null;
1167
+ return Object(s) === s ? s : this;
1184
1168
  }
1185
- return p;
1186
- }, Ze;
1187
- }
1188
- var er, Xr;
1189
- function Be() {
1190
- if (Xr) return er;
1191
- Xr = 1;
1192
- var r = ya();
1193
- return er = Function.prototype.bind || r, er;
1194
- }
1195
- var rr, Yr;
1196
- function Ir() {
1197
- return Yr || (Yr = 1, rr = Function.prototype.call), rr;
1198
- }
1199
- var tr, Zr;
1200
- function Rt() {
1201
- return Zr || (Zr = 1, tr = Function.prototype.apply), tr;
1169
+ return t.apply(
1170
+ e,
1171
+ Kr(n, arguments)
1172
+ );
1173
+ }, o = ca(0, t.length - n.length), f = [], l = 0; l < o; l++)
1174
+ f[l] = "$" + l;
1175
+ if (a = Function("binder", "return function (" + ya(f, ",") + "){ return binder.apply(this,arguments); }")(i), t.prototype) {
1176
+ var c = function() {
1177
+ };
1178
+ c.prototype = t.prototype, a.prototype = new c(), c.prototype = null;
1179
+ }
1180
+ return a;
1181
+ }, ha = da, Be = Function.prototype.bind || ha, Pr = Function.prototype.call, Ze, Vr;
1182
+ function $t() {
1183
+ return Vr || (Vr = 1, Ze = Function.prototype.apply), Ze;
1202
1184
  }
1203
- var da = typeof Reflect < "u" && Reflect && Reflect.apply, ha = Be(), ma = Rt(), va = Ir(), ga = da, wa = ga || ha.call(va, ma), Sa = Be(), ba = te, Ea = Ir(), Aa = wa, _t = function(e) {
1185
+ var ma = typeof Reflect < "u" && Reflect && Reflect.apply, va = Be, ga = $t(), wa = Pr, Sa = ma, ba = Sa || va.call(wa, ga), Ea = Be, Aa = te, $a = Pr, Pa = ba, Pt = function(e) {
1204
1186
  if (e.length < 1 || typeof e[0] != "function")
1205
- throw new ba("a function is required");
1206
- return Aa(Sa, Ea, e);
1207
- }, nr, et;
1208
- function $a() {
1209
- if (et) return nr;
1210
- et = 1;
1211
- var r = _t, e = xt, t;
1187
+ throw new Aa("a function is required");
1188
+ return Pa(Ea, $a, e);
1189
+ }, er, Qr;
1190
+ function xa() {
1191
+ if (Qr) return er;
1192
+ Qr = 1;
1193
+ var r = Pt, e = bt, t;
1212
1194
  try {
1213
1195
  t = /** @type {{ __proto__?: typeof Array.prototype }} */
1214
1196
  [].__proto__ === Array.prototype;
@@ -1221,19 +1203,19 @@ function $a() {
1221
1203
  /** @type {keyof typeof Object.prototype} */
1222
1204
  "__proto__"
1223
1205
  ), a = Object, i = a.getPrototypeOf;
1224
- return nr = n && typeof n.get == "function" ? r([n.get]) : typeof i == "function" ? (
1206
+ return er = n && typeof n.get == "function" ? r([n.get]) : typeof i == "function" ? (
1225
1207
  /** @type {import('./get')} */
1226
- function(u) {
1227
- return i(u == null ? u : a(u));
1208
+ function(f) {
1209
+ return i(f == null ? f : a(f));
1228
1210
  }
1229
- ) : !1, nr;
1230
- }
1231
- var ar, rt;
1232
- function Pa() {
1233
- if (rt) return ar;
1234
- rt = 1;
1235
- var r = Ot(), e = It(), t = $a();
1236
- return ar = r ? function(a) {
1211
+ ) : !1, er;
1212
+ }
1213
+ var rr, Jr;
1214
+ function Oa() {
1215
+ if (Jr) return rr;
1216
+ Jr = 1;
1217
+ var r = Et(), e = At(), t = xa();
1218
+ return rr = r ? function(a) {
1237
1219
  return r(a);
1238
1220
  } : e ? function(a) {
1239
1221
  if (!a || typeof a != "object" && typeof a != "function")
@@ -1241,38 +1223,38 @@ function Pa() {
1241
1223
  return e(a);
1242
1224
  } : t ? function(a) {
1243
1225
  return t(a);
1244
- } : null, ar;
1226
+ } : null, rr;
1245
1227
  }
1246
- var ir, tt;
1247
- function xa() {
1248
- if (tt) return ir;
1249
- tt = 1;
1250
- var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = Be();
1251
- return ir = t.call(r, e), ir;
1228
+ var tr, Xr;
1229
+ function _a() {
1230
+ if (Xr) return tr;
1231
+ Xr = 1;
1232
+ var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = Be;
1233
+ return tr = t.call(r, e), tr;
1252
1234
  }
1253
- var v, Oa = Pt, Ia = Vn, Ra = Qn, _a = Jn, Ca = Xn, re = Yn, X = te, Ta = Zn, Ma = ea, Da = ra, Na = ta, La = na, Ua = aa, Ba = ia, qa = fa, Ct = Function, or = function(r) {
1235
+ var v, Ia = St, Ra = Hn, Ca = jn, Ta = kn, Ma = zn, re = Kn, X = te, Da = Vn, Na = Qn, La = Jn, Ua = Xn, Ba = Yn, qa = Zn, Wa = ea, Fa = na, xt = Function, nr = function(r) {
1254
1236
  try {
1255
- return Ct('"use strict"; return (' + r + ").constructor;")();
1237
+ return xt('"use strict"; return (' + r + ").constructor;")();
1256
1238
  } catch {
1257
1239
  }
1258
- }, de = xt, Wa = ca, lr = function() {
1240
+ }, de = bt, Ga = ia, ar = function() {
1259
1241
  throw new X();
1260
- }, Fa = de ? function() {
1242
+ }, Ha = de ? function() {
1261
1243
  try {
1262
- return arguments.callee, lr;
1244
+ return arguments.callee, ar;
1263
1245
  } catch {
1264
1246
  try {
1265
1247
  return de(arguments, "callee").get;
1266
1248
  } catch {
1267
- return lr;
1249
+ return ar;
1268
1250
  }
1269
1251
  }
1270
- }() : lr, K = pa()(), $ = Pa(), Ga = It(), Ha = Ot(), Tt = Rt(), he = Ir(), Q = {}, ja = typeof Uint8Array > "u" || !$ ? v : $(Uint8Array), G = {
1252
+ }() : ar, K = la()(), A = Oa(), ja = At(), ka = Et(), Ot = $t(), he = Pr, Q = {}, za = typeof Uint8Array > "u" || !A ? v : A(Uint8Array), G = {
1271
1253
  __proto__: null,
1272
1254
  "%AggregateError%": typeof AggregateError > "u" ? v : AggregateError,
1273
1255
  "%Array%": Array,
1274
1256
  "%ArrayBuffer%": typeof ArrayBuffer > "u" ? v : ArrayBuffer,
1275
- "%ArrayIteratorPrototype%": K && $ ? $([][Symbol.iterator]()) : v,
1257
+ "%ArrayIteratorPrototype%": K && A ? A([][Symbol.iterator]()) : v,
1276
1258
  "%AsyncFromSyncIteratorPrototype%": v,
1277
1259
  "%AsyncFunction%": Q,
1278
1260
  "%AsyncGenerator%": Q,
@@ -1289,92 +1271,92 @@ var v, Oa = Pt, Ia = Vn, Ra = Qn, _a = Jn, Ca = Xn, re = Yn, X = te, Ta = Zn, Ma
1289
1271
  "%decodeURIComponent%": decodeURIComponent,
1290
1272
  "%encodeURI%": encodeURI,
1291
1273
  "%encodeURIComponent%": encodeURIComponent,
1292
- "%Error%": Ia,
1274
+ "%Error%": Ra,
1293
1275
  "%eval%": eval,
1294
1276
  // eslint-disable-line no-eval
1295
- "%EvalError%": Ra,
1277
+ "%EvalError%": Ca,
1296
1278
  "%Float16Array%": typeof Float16Array > "u" ? v : Float16Array,
1297
1279
  "%Float32Array%": typeof Float32Array > "u" ? v : Float32Array,
1298
1280
  "%Float64Array%": typeof Float64Array > "u" ? v : Float64Array,
1299
1281
  "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? v : FinalizationRegistry,
1300
- "%Function%": Ct,
1282
+ "%Function%": xt,
1301
1283
  "%GeneratorFunction%": Q,
1302
1284
  "%Int8Array%": typeof Int8Array > "u" ? v : Int8Array,
1303
1285
  "%Int16Array%": typeof Int16Array > "u" ? v : Int16Array,
1304
1286
  "%Int32Array%": typeof Int32Array > "u" ? v : Int32Array,
1305
1287
  "%isFinite%": isFinite,
1306
1288
  "%isNaN%": isNaN,
1307
- "%IteratorPrototype%": K && $ ? $($([][Symbol.iterator]())) : v,
1289
+ "%IteratorPrototype%": K && A ? A(A([][Symbol.iterator]())) : v,
1308
1290
  "%JSON%": typeof JSON == "object" ? JSON : v,
1309
1291
  "%Map%": typeof Map > "u" ? v : Map,
1310
- "%MapIteratorPrototype%": typeof Map > "u" || !K || !$ ? v : $((/* @__PURE__ */ new Map())[Symbol.iterator]()),
1292
+ "%MapIteratorPrototype%": typeof Map > "u" || !K || !A ? v : A((/* @__PURE__ */ new Map())[Symbol.iterator]()),
1311
1293
  "%Math%": Math,
1312
1294
  "%Number%": Number,
1313
- "%Object%": Oa,
1295
+ "%Object%": Ia,
1314
1296
  "%Object.getOwnPropertyDescriptor%": de,
1315
1297
  "%parseFloat%": parseFloat,
1316
1298
  "%parseInt%": parseInt,
1317
1299
  "%Promise%": typeof Promise > "u" ? v : Promise,
1318
1300
  "%Proxy%": typeof Proxy > "u" ? v : Proxy,
1319
- "%RangeError%": _a,
1320
- "%ReferenceError%": Ca,
1301
+ "%RangeError%": Ta,
1302
+ "%ReferenceError%": Ma,
1321
1303
  "%Reflect%": typeof Reflect > "u" ? v : Reflect,
1322
1304
  "%RegExp%": RegExp,
1323
1305
  "%Set%": typeof Set > "u" ? v : Set,
1324
- "%SetIteratorPrototype%": typeof Set > "u" || !K || !$ ? v : $((/* @__PURE__ */ new Set())[Symbol.iterator]()),
1306
+ "%SetIteratorPrototype%": typeof Set > "u" || !K || !A ? v : A((/* @__PURE__ */ new Set())[Symbol.iterator]()),
1325
1307
  "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? v : SharedArrayBuffer,
1326
1308
  "%String%": String,
1327
- "%StringIteratorPrototype%": K && $ ? $(""[Symbol.iterator]()) : v,
1309
+ "%StringIteratorPrototype%": K && A ? A(""[Symbol.iterator]()) : v,
1328
1310
  "%Symbol%": K ? Symbol : v,
1329
1311
  "%SyntaxError%": re,
1330
- "%ThrowTypeError%": Fa,
1331
- "%TypedArray%": ja,
1312
+ "%ThrowTypeError%": Ha,
1313
+ "%TypedArray%": za,
1332
1314
  "%TypeError%": X,
1333
1315
  "%Uint8Array%": typeof Uint8Array > "u" ? v : Uint8Array,
1334
1316
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? v : Uint8ClampedArray,
1335
1317
  "%Uint16Array%": typeof Uint16Array > "u" ? v : Uint16Array,
1336
1318
  "%Uint32Array%": typeof Uint32Array > "u" ? v : Uint32Array,
1337
- "%URIError%": Ta,
1319
+ "%URIError%": Da,
1338
1320
  "%WeakMap%": typeof WeakMap > "u" ? v : WeakMap,
1339
1321
  "%WeakRef%": typeof WeakRef > "u" ? v : WeakRef,
1340
1322
  "%WeakSet%": typeof WeakSet > "u" ? v : WeakSet,
1341
1323
  "%Function.prototype.call%": he,
1342
- "%Function.prototype.apply%": Tt,
1343
- "%Object.defineProperty%": Wa,
1344
- "%Object.getPrototypeOf%": Ga,
1345
- "%Math.abs%": Ma,
1346
- "%Math.floor%": Da,
1347
- "%Math.max%": Na,
1348
- "%Math.min%": La,
1349
- "%Math.pow%": Ua,
1350
- "%Math.round%": Ba,
1351
- "%Math.sign%": qa,
1352
- "%Reflect.getPrototypeOf%": Ha
1324
+ "%Function.prototype.apply%": Ot,
1325
+ "%Object.defineProperty%": Ga,
1326
+ "%Object.getPrototypeOf%": ja,
1327
+ "%Math.abs%": Na,
1328
+ "%Math.floor%": La,
1329
+ "%Math.max%": Ua,
1330
+ "%Math.min%": Ba,
1331
+ "%Math.pow%": qa,
1332
+ "%Math.round%": Wa,
1333
+ "%Math.sign%": Fa,
1334
+ "%Reflect.getPrototypeOf%": ka
1353
1335
  };
1354
- if ($)
1336
+ if (A)
1355
1337
  try {
1356
1338
  null.error;
1357
1339
  } catch (r) {
1358
- var ka = $($(r));
1359
- G["%Error.prototype%"] = ka;
1340
+ var Ka = A(A(r));
1341
+ G["%Error.prototype%"] = Ka;
1360
1342
  }
1361
- var za = function r(e) {
1343
+ var Va = function r(e) {
1362
1344
  var t;
1363
1345
  if (e === "%AsyncFunction%")
1364
- t = or("async function () {}");
1346
+ t = nr("async function () {}");
1365
1347
  else if (e === "%GeneratorFunction%")
1366
- t = or("function* () {}");
1348
+ t = nr("function* () {}");
1367
1349
  else if (e === "%AsyncGeneratorFunction%")
1368
- t = or("async function* () {}");
1350
+ t = nr("async function* () {}");
1369
1351
  else if (e === "%AsyncGenerator%") {
1370
1352
  var n = r("%AsyncGeneratorFunction%");
1371
1353
  n && (t = n.prototype);
1372
1354
  } else if (e === "%AsyncIteratorPrototype%") {
1373
1355
  var a = r("%AsyncGenerator%");
1374
- a && $ && (t = $(a.prototype));
1356
+ a && A && (t = A(a.prototype));
1375
1357
  }
1376
1358
  return G[e] = t, t;
1377
- }, nt = {
1359
+ }, Yr = {
1378
1360
  __proto__: null,
1379
1361
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
1380
1362
  "%ArrayPrototype%": ["Array", "prototype"],
@@ -1427,21 +1409,21 @@ var za = function r(e) {
1427
1409
  "%URIErrorPrototype%": ["URIError", "prototype"],
1428
1410
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
1429
1411
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
1430
- }, me = Be(), Ce = xa(), Ka = me.call(he, Array.prototype.concat), Va = me.call(Tt, Array.prototype.splice), at = me.call(he, String.prototype.replace), Te = me.call(he, String.prototype.slice), Qa = me.call(he, RegExp.prototype.exec), Ja = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Xa = /\\(\\)?/g, Ya = function(e) {
1412
+ }, me = Be, Ce = _a(), Qa = me.call(he, Array.prototype.concat), Ja = me.call(Ot, Array.prototype.splice), Zr = me.call(he, String.prototype.replace), Te = me.call(he, String.prototype.slice), Xa = me.call(he, RegExp.prototype.exec), Ya = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Za = /\\(\\)?/g, ei = function(e) {
1431
1413
  var t = Te(e, 0, 1), n = Te(e, -1);
1432
1414
  if (t === "%" && n !== "%")
1433
1415
  throw new re("invalid intrinsic syntax, expected closing `%`");
1434
1416
  if (n === "%" && t !== "%")
1435
1417
  throw new re("invalid intrinsic syntax, expected opening `%`");
1436
1418
  var a = [];
1437
- return at(e, Ja, function(i, o, u, l) {
1438
- a[a.length] = u ? at(l, Xa, "$1") : o || i;
1419
+ return Zr(e, Ya, function(i, o, f, l) {
1420
+ a[a.length] = f ? Zr(l, Za, "$1") : o || i;
1439
1421
  }), a;
1440
- }, Za = function(e, t) {
1422
+ }, ri = function(e, t) {
1441
1423
  var n = e, a;
1442
- if (Ce(nt, n) && (a = nt[n], n = "%" + a[0] + "%"), Ce(G, n)) {
1424
+ if (Ce(Yr, n) && (a = Yr[n], n = "%" + a[0] + "%"), Ce(G, n)) {
1443
1425
  var i = G[n];
1444
- if (i === Q && (i = za(n)), typeof i > "u" && !t)
1426
+ if (i === Q && (i = Va(n)), typeof i > "u" && !t)
1445
1427
  throw new X("intrinsic " + e + " exists, but is not available. Please file an issue!");
1446
1428
  return {
1447
1429
  alias: a,
@@ -1450,104 +1432,104 @@ var za = function r(e) {
1450
1432
  };
1451
1433
  }
1452
1434
  throw new re("intrinsic " + e + " does not exist!");
1453
- }, Rr = function(e, t) {
1435
+ }, xr = function(e, t) {
1454
1436
  if (typeof e != "string" || e.length === 0)
1455
1437
  throw new X("intrinsic name must be a non-empty string");
1456
1438
  if (arguments.length > 1 && typeof t != "boolean")
1457
1439
  throw new X('"allowMissing" argument must be a boolean');
1458
- if (Qa(/^%?[^%]*%?$/, e) === null)
1440
+ if (Xa(/^%?[^%]*%?$/, e) === null)
1459
1441
  throw new re("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
1460
- var n = Ya(e), a = n.length > 0 ? n[0] : "", i = Za("%" + a + "%", t), o = i.name, u = i.value, l = !1, c = i.alias;
1461
- c && (a = c[0], Va(n, Ka([0, 1], c)));
1442
+ var n = ei(e), a = n.length > 0 ? n[0] : "", i = ri("%" + a + "%", t), o = i.name, f = i.value, l = !1, c = i.alias;
1443
+ c && (a = c[0], Ja(n, Qa([0, 1], c)));
1462
1444
  for (var s = 1, p = !0; s < n.length; s += 1) {
1463
- var f = n[s], d = Te(f, 0, 1), y = Te(f, -1);
1445
+ var u = n[s], d = Te(u, 0, 1), y = Te(u, -1);
1464
1446
  if ((d === '"' || d === "'" || d === "`" || y === '"' || y === "'" || y === "`") && d !== y)
1465
1447
  throw new re("property names with quotes must have matching quotes");
1466
- if ((f === "constructor" || !p) && (l = !0), a += "." + f, o = "%" + a + "%", Ce(G, o))
1467
- u = G[o];
1468
- else if (u != null) {
1469
- if (!(f in u)) {
1448
+ if ((u === "constructor" || !p) && (l = !0), a += "." + u, o = "%" + a + "%", Ce(G, o))
1449
+ f = G[o];
1450
+ else if (f != null) {
1451
+ if (!(u in f)) {
1470
1452
  if (!t)
1471
1453
  throw new X("base intrinsic for " + e + " exists, but the property is not available.");
1472
1454
  return;
1473
1455
  }
1474
1456
  if (de && s + 1 >= n.length) {
1475
- var h = de(u, f);
1476
- p = !!h, p && "get" in h && !("originalValue" in h.get) ? u = h.get : u = u[f];
1457
+ var h = de(f, u);
1458
+ p = !!h, p && "get" in h && !("originalValue" in h.get) ? f = h.get : f = f[u];
1477
1459
  } else
1478
- p = Ce(u, f), u = u[f];
1479
- p && !l && (G[o] = u);
1460
+ p = Ce(f, u), f = f[u];
1461
+ p && !l && (G[o] = f);
1480
1462
  }
1481
1463
  }
1482
- return u;
1483
- }, Mt = Rr, Dt = _t, ei = Dt([Mt("%String.prototype.indexOf%")]), Nt = function(e, t) {
1464
+ return f;
1465
+ }, _t = xr, It = Pt, ti = It([_t("%String.prototype.indexOf%")]), Rt = function(e, t) {
1484
1466
  var n = (
1485
1467
  /** @type {(this: unknown, ...args: unknown[]) => unknown} */
1486
- Mt(e, !!t)
1468
+ _t(e, !!t)
1487
1469
  );
1488
- return typeof n == "function" && ei(e, ".prototype.") > -1 ? Dt(
1470
+ return typeof n == "function" && ti(e, ".prototype.") > -1 ? It(
1489
1471
  /** @type {const} */
1490
1472
  [n]
1491
1473
  ) : n;
1492
- }, ri = Rr, ve = Nt, ti = Le, ni = te, it = ri("%Map%", !0), ai = ve("Map.prototype.get", !0), ii = ve("Map.prototype.set", !0), oi = ve("Map.prototype.has", !0), li = ve("Map.prototype.delete", !0), fi = ve("Map.prototype.size", !0), Lt = !!it && /** @type {Exclude<import('.'), false>} */
1474
+ }, ni = xr, ve = Rt, ai = Le, ii = te, et = ni("%Map%", !0), oi = ve("Map.prototype.get", !0), li = ve("Map.prototype.set", !0), fi = ve("Map.prototype.has", !0), ui = ve("Map.prototype.delete", !0), ci = ve("Map.prototype.size", !0), Ct = !!et && /** @type {Exclude<import('.'), false>} */
1493
1475
  function() {
1494
1476
  var e, t = {
1495
1477
  assert: function(n) {
1496
1478
  if (!t.has(n))
1497
- throw new ni("Side channel does not contain " + ti(n));
1479
+ throw new ii("Side channel does not contain " + ai(n));
1498
1480
  },
1499
1481
  delete: function(n) {
1500
1482
  if (e) {
1501
- var a = li(e, n);
1502
- return fi(e) === 0 && (e = void 0), a;
1483
+ var a = ui(e, n);
1484
+ return ci(e) === 0 && (e = void 0), a;
1503
1485
  }
1504
1486
  return !1;
1505
1487
  },
1506
1488
  get: function(n) {
1507
1489
  if (e)
1508
- return ai(e, n);
1490
+ return oi(e, n);
1509
1491
  },
1510
1492
  has: function(n) {
1511
- return e ? oi(e, n) : !1;
1493
+ return e ? fi(e, n) : !1;
1512
1494
  },
1513
1495
  set: function(n, a) {
1514
- e || (e = new it()), ii(e, n, a);
1496
+ e || (e = new et()), li(e, n, a);
1515
1497
  }
1516
1498
  };
1517
1499
  return t;
1518
- }, ui = Rr, qe = Nt, ci = Le, be = Lt, si = te, V = ui("%WeakMap%", !0), pi = qe("WeakMap.prototype.get", !0), yi = qe("WeakMap.prototype.set", !0), di = qe("WeakMap.prototype.has", !0), hi = qe("WeakMap.prototype.delete", !0), mi = V ? (
1500
+ }, si = xr, qe = Rt, pi = Le, be = Ct, yi = te, V = si("%WeakMap%", !0), di = qe("WeakMap.prototype.get", !0), hi = qe("WeakMap.prototype.set", !0), mi = qe("WeakMap.prototype.has", !0), vi = qe("WeakMap.prototype.delete", !0), gi = V ? (
1519
1501
  /** @type {Exclude<import('.'), false>} */
1520
1502
  function() {
1521
1503
  var e, t, n = {
1522
1504
  assert: function(a) {
1523
1505
  if (!n.has(a))
1524
- throw new si("Side channel does not contain " + ci(a));
1506
+ throw new yi("Side channel does not contain " + pi(a));
1525
1507
  },
1526
1508
  delete: function(a) {
1527
1509
  if (V && a && (typeof a == "object" || typeof a == "function")) {
1528
1510
  if (e)
1529
- return hi(e, a);
1511
+ return vi(e, a);
1530
1512
  } else if (be && t)
1531
1513
  return t.delete(a);
1532
1514
  return !1;
1533
1515
  },
1534
1516
  get: function(a) {
1535
- return V && a && (typeof a == "object" || typeof a == "function") && e ? pi(e, a) : t && t.get(a);
1517
+ return V && a && (typeof a == "object" || typeof a == "function") && e ? di(e, a) : t && t.get(a);
1536
1518
  },
1537
1519
  has: function(a) {
1538
- return V && a && (typeof a == "object" || typeof a == "function") && e ? di(e, a) : !!t && t.has(a);
1520
+ return V && a && (typeof a == "object" || typeof a == "function") && e ? mi(e, a) : !!t && t.has(a);
1539
1521
  },
1540
1522
  set: function(a, i) {
1541
- V && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new V()), yi(e, a, i)) : be && (t || (t = be()), t.set(a, i));
1523
+ V && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new V()), hi(e, a, i)) : be && (t || (t = be()), t.set(a, i));
1542
1524
  }
1543
1525
  };
1544
1526
  return n;
1545
1527
  }
1546
- ) : be, vi = te, gi = Le, wi = Kn, Si = Lt, bi = mi, Ei = bi || Si || wi, Ut = function() {
1528
+ ) : be, wi = te, Si = Le, bi = Gn, Ei = Ct, Ai = gi, $i = Ai || Ei || bi, Tt = function() {
1547
1529
  var e, t = {
1548
1530
  assert: function(n) {
1549
1531
  if (!t.has(n))
1550
- throw new vi("Side channel does not contain " + gi(n));
1532
+ throw new wi("Side channel does not contain " + Si(n));
1551
1533
  },
1552
1534
  delete: function(n) {
1553
1535
  return !!e && e.delete(n);
@@ -1559,38 +1541,38 @@ function() {
1559
1541
  return !!e && e.has(n);
1560
1542
  },
1561
1543
  set: function(n, a) {
1562
- e || (e = Ei()), e.set(n, a);
1544
+ e || (e = $i()), e.set(n, a);
1563
1545
  }
1564
1546
  };
1565
1547
  return t;
1566
- }, Ai = String.prototype.replace, $i = /%20/g, fr = {
1548
+ }, Pi = String.prototype.replace, xi = /%20/g, ir = {
1567
1549
  RFC1738: "RFC1738",
1568
1550
  RFC3986: "RFC3986"
1569
- }, _r = {
1570
- default: fr.RFC3986,
1551
+ }, Or = {
1552
+ default: ir.RFC3986,
1571
1553
  formatters: {
1572
1554
  RFC1738: function(r) {
1573
- return Ai.call(r, $i, "+");
1555
+ return Pi.call(r, xi, "+");
1574
1556
  },
1575
1557
  RFC3986: function(r) {
1576
1558
  return String(r);
1577
1559
  }
1578
1560
  },
1579
- RFC1738: fr.RFC1738,
1580
- RFC3986: fr.RFC3986
1581
- }, Pi = _r, xi = Ut, ur = Object.prototype.hasOwnProperty, W = Array.isArray, We = xi(), J = function(e, t) {
1561
+ RFC1738: ir.RFC1738,
1562
+ RFC3986: ir.RFC3986
1563
+ }, Oi = Or, _i = Tt, or = Object.prototype.hasOwnProperty, W = Array.isArray, We = _i(), J = function(e, t) {
1582
1564
  return We.set(e, t), e;
1583
1565
  }, F = function(e) {
1584
1566
  return We.has(e);
1585
1567
  }, le = function(e) {
1586
1568
  return We.get(e);
1587
- }, Sr = function(e, t) {
1569
+ }, vr = function(e, t) {
1588
1570
  We.set(e, t);
1589
1571
  }, O = function() {
1590
1572
  for (var r = [], e = 0; e < 256; ++e)
1591
1573
  r[r.length] = "%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase();
1592
1574
  return r;
1593
- }(), Oi = function(e) {
1575
+ }(), Ii = function(e) {
1594
1576
  for (; e.length > 1; ) {
1595
1577
  var t = e.pop(), n = t.obj[t.prop];
1596
1578
  if (W(n)) {
@@ -1603,7 +1585,7 @@ function() {
1603
1585
  for (var n = t && t.plainObjects ? { __proto__: null } : {}, a = 0; a < e.length; ++a)
1604
1586
  typeof e[a] < "u" && (n[a] = e[a]);
1605
1587
  return n;
1606
- }, Ii = function r(e, t, n) {
1588
+ }, Ri = function r(e, t, n) {
1607
1589
  if (!t)
1608
1590
  return e;
1609
1591
  if (typeof t != "object" && typeof t != "function") {
@@ -1615,11 +1597,11 @@ function() {
1615
1597
  } else if (e && typeof e == "object")
1616
1598
  if (F(e)) {
1617
1599
  var i = le(e) + 1;
1618
- e[i] = t, Sr(e, i);
1600
+ e[i] = t, vr(e, i);
1619
1601
  } else {
1620
1602
  if (n && n.strictMerge)
1621
1603
  return [e, t];
1622
- (n && (n.plainObjects || n.allowPrototypes) || !ur.call(Object.prototype, t)) && (e[t] = !0);
1604
+ (n && (n.plainObjects || n.allowPrototypes) || !or.call(Object.prototype, t)) && (e[t] = !0);
1623
1605
  }
1624
1606
  else
1625
1607
  return [e, t];
@@ -1627,35 +1609,35 @@ function() {
1627
1609
  }
1628
1610
  if (!e || typeof e != "object") {
1629
1611
  if (F(t)) {
1630
- for (var o = Object.keys(t), u = n && n.plainObjects ? { __proto__: null, 0: e } : { 0: e }, l = 0; l < o.length; l++) {
1612
+ for (var o = Object.keys(t), f = n && n.plainObjects ? { __proto__: null, 0: e } : { 0: e }, l = 0; l < o.length; l++) {
1631
1613
  var c = parseInt(o[l], 10);
1632
- u[c + 1] = t[o[l]];
1614
+ f[c + 1] = t[o[l]];
1633
1615
  }
1634
- return J(u, le(t) + 1);
1616
+ return J(f, le(t) + 1);
1635
1617
  }
1636
1618
  var s = [e].concat(t);
1637
1619
  return n && typeof n.arrayLimit == "number" && s.length > n.arrayLimit ? J(pe(s, n), s.length - 1) : s;
1638
1620
  }
1639
1621
  var p = e;
1640
- return W(e) && !W(t) && (p = pe(e, n)), W(e) && W(t) ? (t.forEach(function(f, d) {
1641
- if (ur.call(e, d)) {
1622
+ return W(e) && !W(t) && (p = pe(e, n)), W(e) && W(t) ? (t.forEach(function(u, d) {
1623
+ if (or.call(e, d)) {
1642
1624
  var y = e[d];
1643
- y && typeof y == "object" && f && typeof f == "object" ? e[d] = r(y, f, n) : e[e.length] = f;
1625
+ y && typeof y == "object" && u && typeof u == "object" ? e[d] = r(y, u, n) : e[e.length] = u;
1644
1626
  } else
1645
- e[d] = f;
1646
- }), e) : Object.keys(t).reduce(function(f, d) {
1627
+ e[d] = u;
1628
+ }), e) : Object.keys(t).reduce(function(u, d) {
1647
1629
  var y = t[d];
1648
- if (ur.call(f, d) ? f[d] = r(f[d], y, n) : f[d] = y, F(t) && !F(f) && J(f, le(t)), F(f)) {
1630
+ if (or.call(u, d) ? u[d] = r(u[d], y, n) : u[d] = y, F(t) && !F(u) && J(u, le(t)), F(u)) {
1649
1631
  var h = parseInt(d, 10);
1650
- String(h) === d && h >= 0 && h > le(f) && Sr(f, h);
1632
+ String(h) === d && h >= 0 && h > le(u) && vr(u, h);
1651
1633
  }
1652
- return f;
1634
+ return u;
1653
1635
  }, p);
1654
- }, Ri = function(e, t) {
1636
+ }, Ci = function(e, t) {
1655
1637
  return Object.keys(t).reduce(function(n, a) {
1656
1638
  return n[a] = t[a], n;
1657
1639
  }, e);
1658
- }, _i = function(r, e, t) {
1640
+ }, Ti = function(r, e, t) {
1659
1641
  var n = r.replace(/\+/g, " ");
1660
1642
  if (t === "iso-8859-1")
1661
1643
  return n.replace(/%[0-9a-f]{2}/gi, unescape);
@@ -1664,7 +1646,7 @@ function() {
1664
1646
  } catch {
1665
1647
  return n;
1666
1648
  }
1667
- }, cr = 1024, Ci = function(e, t, n, a, i) {
1649
+ }, lr = 1024, Mi = function(e, t, n, a, i) {
1668
1650
  if (e.length === 0)
1669
1651
  return e;
1670
1652
  var o = e;
@@ -1672,69 +1654,69 @@ function() {
1672
1654
  return escape(o).replace(/%u[0-9a-f]{4}/gi, function(d) {
1673
1655
  return "%26%23" + parseInt(d.slice(2), 16) + "%3B";
1674
1656
  });
1675
- for (var u = "", l = 0; l < o.length; l += cr) {
1676
- for (var c = o.length >= cr ? o.slice(l, l + cr) : o, s = [], p = 0; p < c.length; ++p) {
1677
- var f = c.charCodeAt(p);
1678
- if (f === 45 || f === 46 || f === 95 || f === 126 || f >= 48 && f <= 57 || f >= 65 && f <= 90 || f >= 97 && f <= 122 || i === Pi.RFC1738 && (f === 40 || f === 41)) {
1657
+ for (var f = "", l = 0; l < o.length; l += lr) {
1658
+ for (var c = o.length >= lr ? o.slice(l, l + lr) : o, s = [], p = 0; p < c.length; ++p) {
1659
+ var u = c.charCodeAt(p);
1660
+ if (u === 45 || u === 46 || u === 95 || u === 126 || u >= 48 && u <= 57 || u >= 65 && u <= 90 || u >= 97 && u <= 122 || i === Oi.RFC1738 && (u === 40 || u === 41)) {
1679
1661
  s[s.length] = c.charAt(p);
1680
1662
  continue;
1681
1663
  }
1682
- if (f < 128) {
1683
- s[s.length] = O[f];
1664
+ if (u < 128) {
1665
+ s[s.length] = O[u];
1684
1666
  continue;
1685
1667
  }
1686
- if (f < 2048) {
1687
- s[s.length] = O[192 | f >> 6] + O[128 | f & 63];
1668
+ if (u < 2048) {
1669
+ s[s.length] = O[192 | u >> 6] + O[128 | u & 63];
1688
1670
  continue;
1689
1671
  }
1690
- if (f < 55296 || f >= 57344) {
1691
- s[s.length] = O[224 | f >> 12] + O[128 | f >> 6 & 63] + O[128 | f & 63];
1672
+ if (u < 55296 || u >= 57344) {
1673
+ s[s.length] = O[224 | u >> 12] + O[128 | u >> 6 & 63] + O[128 | u & 63];
1692
1674
  continue;
1693
1675
  }
1694
- p += 1, f = 65536 + ((f & 1023) << 10 | c.charCodeAt(p) & 1023), s[s.length] = O[240 | f >> 18] + O[128 | f >> 12 & 63] + O[128 | f >> 6 & 63] + O[128 | f & 63];
1676
+ p += 1, u = 65536 + ((u & 1023) << 10 | c.charCodeAt(p) & 1023), s[s.length] = O[240 | u >> 18] + O[128 | u >> 12 & 63] + O[128 | u >> 6 & 63] + O[128 | u & 63];
1695
1677
  }
1696
- u += s.join("");
1678
+ f += s.join("");
1697
1679
  }
1698
- return u;
1699
- }, Ti = function(e) {
1680
+ return f;
1681
+ }, Di = function(e) {
1700
1682
  for (var t = [{ obj: { o: e }, prop: "o" }], n = [], a = 0; a < t.length; ++a)
1701
- for (var i = t[a], o = i.obj[i.prop], u = Object.keys(o), l = 0; l < u.length; ++l) {
1702
- var c = u[l], s = o[c];
1683
+ for (var i = t[a], o = i.obj[i.prop], f = Object.keys(o), l = 0; l < f.length; ++l) {
1684
+ var c = f[l], s = o[c];
1703
1685
  typeof s == "object" && s !== null && n.indexOf(s) === -1 && (t[t.length] = { obj: o, prop: c }, n[n.length] = s);
1704
1686
  }
1705
- return Oi(t), e;
1706
- }, Mi = function(e) {
1687
+ return Ii(t), e;
1688
+ }, Ni = function(e) {
1707
1689
  return Object.prototype.toString.call(e) === "[object RegExp]";
1708
- }, Di = function(e) {
1690
+ }, Li = function(e) {
1709
1691
  return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
1710
- }, Ni = function(e, t, n, a) {
1692
+ }, Ui = function(e, t, n, a) {
1711
1693
  if (F(e)) {
1712
1694
  var i = le(e) + 1;
1713
- return e[i] = t, Sr(e, i), e;
1695
+ return e[i] = t, vr(e, i), e;
1714
1696
  }
1715
1697
  var o = [].concat(e, t);
1716
1698
  return o.length > n ? J(pe(o, { plainObjects: a }), o.length - 1) : o;
1717
- }, Li = function(e, t) {
1699
+ }, Bi = function(e, t) {
1718
1700
  if (W(e)) {
1719
1701
  for (var n = [], a = 0; a < e.length; a += 1)
1720
1702
  n[n.length] = t(e[a]);
1721
1703
  return n;
1722
1704
  }
1723
1705
  return t(e);
1724
- }, Bt = {
1706
+ }, Mt = {
1725
1707
  arrayToObject: pe,
1726
- assign: Ri,
1727
- combine: Ni,
1728
- compact: Ti,
1729
- decode: _i,
1730
- encode: Ci,
1731
- isBuffer: Di,
1708
+ assign: Ci,
1709
+ combine: Ui,
1710
+ compact: Di,
1711
+ decode: Ti,
1712
+ encode: Mi,
1713
+ isBuffer: Li,
1732
1714
  isOverflow: F,
1733
- isRegExp: Mi,
1715
+ isRegExp: Ni,
1734
1716
  markOverflow: J,
1735
- maybeMap: Li,
1736
- merge: Ii
1737
- }, qt = Ut, xe = Bt, ye = _r, Ui = Object.prototype.hasOwnProperty, Wt = {
1717
+ maybeMap: Bi,
1718
+ merge: Ri
1719
+ }, Dt = Tt, xe = Mt, ye = Or, qi = Object.prototype.hasOwnProperty, Nt = {
1738
1720
  brackets: function(e) {
1739
1721
  return e + "[]";
1740
1722
  },
@@ -1745,9 +1727,9 @@ function() {
1745
1727
  repeat: function(e) {
1746
1728
  return e;
1747
1729
  }
1748
- }, I = Array.isArray, Bi = Array.prototype.push, Ft = function(r, e) {
1749
- Bi.apply(r, I(e) ? e : [e]);
1750
- }, qi = Date.prototype.toISOString, ot = ye.default, E = {
1730
+ }, _ = Array.isArray, Wi = Array.prototype.push, Lt = function(r, e) {
1731
+ Wi.apply(r, _(e) ? e : [e]);
1732
+ }, Fi = Date.prototype.toISOString, rt = ye.default, b = {
1751
1733
  addQueryPrefix: !1,
1752
1734
  allowDots: !1,
1753
1735
  allowEmptyArrays: !1,
@@ -1761,38 +1743,38 @@ function() {
1761
1743
  encoder: xe.encode,
1762
1744
  encodeValuesOnly: !1,
1763
1745
  filter: void 0,
1764
- format: ot,
1765
- formatter: ye.formatters[ot],
1746
+ format: rt,
1747
+ formatter: ye.formatters[rt],
1766
1748
  // deprecated
1767
1749
  indices: !1,
1768
1750
  serializeDate: function(e) {
1769
- return qi.call(e);
1751
+ return Fi.call(e);
1770
1752
  },
1771
1753
  skipNulls: !1,
1772
1754
  strictNullHandling: !1
1773
- }, Wi = function(e) {
1755
+ }, Gi = function(e) {
1774
1756
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
1775
- }, sr = {}, Fi = function r(e, t, n, a, i, o, u, l, c, s, p, f, d, y, h, g, b, A) {
1776
- for (var m = e, M = A, B = 0, ne = !1; (M = M.get(sr)) !== void 0 && !ne; ) {
1757
+ }, fr = {}, Hi = function r(e, t, n, a, i, o, f, l, c, s, p, u, d, y, h, g, $, E) {
1758
+ for (var m = e, M = E, B = 0, ne = !1; (M = M.get(fr)) !== void 0 && !ne; ) {
1777
1759
  var k = M.get(e);
1778
1760
  if (B += 1, typeof k < "u") {
1779
1761
  if (k === B)
1780
1762
  throw new RangeError("Cyclic object value");
1781
1763
  ne = !0;
1782
1764
  }
1783
- typeof M.get(sr) > "u" && (B = 0);
1765
+ typeof M.get(fr) > "u" && (B = 0);
1784
1766
  }
1785
- if (typeof s == "function" ? m = s(t, m) : m instanceof Date ? m = d(m) : n === "comma" && I(m) && (m = xe.maybeMap(m, function(Ge) {
1767
+ if (typeof s == "function" ? m = s(t, m) : m instanceof Date ? m = d(m) : n === "comma" && _(m) && (m = xe.maybeMap(m, function(Ge) {
1786
1768
  return Ge instanceof Date ? d(Ge) : Ge;
1787
1769
  })), m === null) {
1788
1770
  if (o)
1789
- return c && !g ? c(t, E.encoder, b, "key", y) : t;
1771
+ return c && !g ? c(t, b.encoder, $, "key", y) : t;
1790
1772
  m = "";
1791
1773
  }
1792
- if (Wi(m) || xe.isBuffer(m)) {
1774
+ if (Gi(m) || xe.isBuffer(m)) {
1793
1775
  if (c) {
1794
- var ge = g ? t : c(t, E.encoder, b, "key", y);
1795
- return [h(ge) + "=" + h(c(m, E.encoder, b, "value", y))];
1776
+ var ge = g ? t : c(t, b.encoder, $, "key", y);
1777
+ return [h(ge) + "=" + h(c(m, b.encoder, $, "value", y))];
1796
1778
  }
1797
1779
  return [h(t) + "=" + h(String(m))];
1798
1780
  }
@@ -1800,105 +1782,105 @@ function() {
1800
1782
  if (typeof m > "u")
1801
1783
  return q;
1802
1784
  var D;
1803
- if (n === "comma" && I(m))
1785
+ if (n === "comma" && _(m))
1804
1786
  g && c && (m = xe.maybeMap(m, c)), D = [{ value: m.length > 0 ? m.join(",") || null : void 0 }];
1805
- else if (I(s))
1787
+ else if (_(s))
1806
1788
  D = s;
1807
1789
  else {
1808
1790
  var we = Object.keys(m);
1809
1791
  D = p ? we.sort(p) : we;
1810
1792
  }
1811
- var z = l ? String(t).replace(/\./g, "%2E") : String(t), x = a && I(m) && m.length === 1 ? z + "[]" : z;
1812
- if (i && I(m) && m.length === 0)
1793
+ var z = l ? String(t).replace(/\./g, "%2E") : String(t), x = a && _(m) && m.length === 1 ? z + "[]" : z;
1794
+ if (i && _(m) && m.length === 0)
1813
1795
  return x + "[]";
1814
1796
  for (var N = 0; N < D.length; ++N) {
1815
1797
  var C = D[N], ae = typeof C == "object" && C && typeof C.value < "u" ? C.value : m[C];
1816
- if (!(u && ae === null)) {
1817
- var Fe = f && l ? String(C).replace(/\./g, "%2E") : String(C), Ht = I(m) ? typeof n == "function" ? n(x, Fe) : x : x + (f ? "." + Fe : "[" + Fe + "]");
1818
- A.set(e, B);
1819
- var Cr = qt();
1820
- Cr.set(sr, A), Ft(q, r(
1798
+ if (!(f && ae === null)) {
1799
+ var Fe = u && l ? String(C).replace(/\./g, "%2E") : String(C), Bt = _(m) ? typeof n == "function" ? n(x, Fe) : x : x + (u ? "." + Fe : "[" + Fe + "]");
1800
+ E.set(e, B);
1801
+ var _r = Dt();
1802
+ _r.set(fr, E), Lt(q, r(
1821
1803
  ae,
1822
- Ht,
1804
+ Bt,
1823
1805
  n,
1824
1806
  a,
1825
1807
  i,
1826
1808
  o,
1827
- u,
1809
+ f,
1828
1810
  l,
1829
- n === "comma" && g && I(m) ? null : c,
1811
+ n === "comma" && g && _(m) ? null : c,
1830
1812
  s,
1831
1813
  p,
1832
- f,
1814
+ u,
1833
1815
  d,
1834
1816
  y,
1835
1817
  h,
1836
1818
  g,
1837
- b,
1838
- Cr
1819
+ $,
1820
+ _r
1839
1821
  ));
1840
1822
  }
1841
1823
  }
1842
1824
  return q;
1843
- }, Gi = function(e) {
1825
+ }, ji = function(e) {
1844
1826
  if (!e)
1845
- return E;
1827
+ return b;
1846
1828
  if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
1847
1829
  throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
1848
1830
  if (typeof e.encodeDotInKeys < "u" && typeof e.encodeDotInKeys != "boolean")
1849
1831
  throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
1850
1832
  if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
1851
1833
  throw new TypeError("Encoder has to be a function.");
1852
- var t = e.charset || E.charset;
1834
+ var t = e.charset || b.charset;
1853
1835
  if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
1854
1836
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1855
1837
  var n = ye.default;
1856
1838
  if (typeof e.format < "u") {
1857
- if (!Ui.call(ye.formatters, e.format))
1839
+ if (!qi.call(ye.formatters, e.format))
1858
1840
  throw new TypeError("Unknown format option provided.");
1859
1841
  n = e.format;
1860
1842
  }
1861
- var a = ye.formatters[n], i = E.filter;
1862
- (typeof e.filter == "function" || I(e.filter)) && (i = e.filter);
1843
+ var a = ye.formatters[n], i = b.filter;
1844
+ (typeof e.filter == "function" || _(e.filter)) && (i = e.filter);
1863
1845
  var o;
1864
- if (e.arrayFormat in Wt ? o = e.arrayFormat : "indices" in e ? o = e.indices ? "indices" : "repeat" : o = E.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
1846
+ if (e.arrayFormat in Nt ? o = e.arrayFormat : "indices" in e ? o = e.indices ? "indices" : "repeat" : o = b.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
1865
1847
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1866
- var u = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : E.allowDots : !!e.allowDots;
1848
+ var f = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : b.allowDots : !!e.allowDots;
1867
1849
  return {
1868
- addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : E.addQueryPrefix,
1869
- allowDots: u,
1870
- allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : E.allowEmptyArrays,
1850
+ addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : b.addQueryPrefix,
1851
+ allowDots: f,
1852
+ allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : b.allowEmptyArrays,
1871
1853
  arrayFormat: o,
1872
1854
  charset: t,
1873
- charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : E.charsetSentinel,
1855
+ charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : b.charsetSentinel,
1874
1856
  commaRoundTrip: !!e.commaRoundTrip,
1875
- delimiter: typeof e.delimiter > "u" ? E.delimiter : e.delimiter,
1876
- encode: typeof e.encode == "boolean" ? e.encode : E.encode,
1877
- encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : E.encodeDotInKeys,
1878
- encoder: typeof e.encoder == "function" ? e.encoder : E.encoder,
1879
- encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : E.encodeValuesOnly,
1857
+ delimiter: typeof e.delimiter > "u" ? b.delimiter : e.delimiter,
1858
+ encode: typeof e.encode == "boolean" ? e.encode : b.encode,
1859
+ encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : b.encodeDotInKeys,
1860
+ encoder: typeof e.encoder == "function" ? e.encoder : b.encoder,
1861
+ encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : b.encodeValuesOnly,
1880
1862
  filter: i,
1881
1863
  format: n,
1882
1864
  formatter: a,
1883
- serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : E.serializeDate,
1884
- skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : E.skipNulls,
1865
+ serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : b.serializeDate,
1866
+ skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : b.skipNulls,
1885
1867
  sort: typeof e.sort == "function" ? e.sort : null,
1886
- strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : E.strictNullHandling
1868
+ strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : b.strictNullHandling
1887
1869
  };
1888
- }, Hi = function(r, e) {
1889
- var t = r, n = Gi(e), a, i;
1890
- typeof n.filter == "function" ? (i = n.filter, t = i("", t)) : I(n.filter) && (i = n.filter, a = i);
1870
+ }, ki = function(r, e) {
1871
+ var t = r, n = ji(e), a, i;
1872
+ typeof n.filter == "function" ? (i = n.filter, t = i("", t)) : _(n.filter) && (i = n.filter, a = i);
1891
1873
  var o = [];
1892
1874
  if (typeof t != "object" || t === null)
1893
1875
  return "";
1894
- var u = Wt[n.arrayFormat], l = u === "comma" && n.commaRoundTrip;
1876
+ var f = Nt[n.arrayFormat], l = f === "comma" && n.commaRoundTrip;
1895
1877
  a || (a = Object.keys(t)), n.sort && a.sort(n.sort);
1896
- for (var c = qt(), s = 0; s < a.length; ++s) {
1897
- var p = a[s], f = t[p];
1898
- n.skipNulls && f === null || Ft(o, Fi(
1899
- f,
1900
- p,
1878
+ for (var c = Dt(), s = 0; s < a.length; ++s) {
1879
+ var p = a[s], u = t[p];
1880
+ n.skipNulls && u === null || Lt(o, Hi(
1901
1881
  u,
1882
+ p,
1883
+ f,
1902
1884
  l,
1903
1885
  n.allowEmptyArrays,
1904
1886
  n.strictNullHandling,
@@ -1918,7 +1900,7 @@ function() {
1918
1900
  }
1919
1901
  var d = o.join(n.delimiter), y = n.addQueryPrefix === !0 ? "?" : "";
1920
1902
  return n.charsetSentinel && (n.charset === "iso-8859-1" ? y += "utf8=%26%2310003%3B&" : y += "utf8=%E2%9C%93&"), d.length > 0 ? y + d : "";
1921
- }, _ = Bt, Oe = Object.prototype.hasOwnProperty, pr = Array.isArray, S = {
1903
+ }, R = Mt, Oe = Object.prototype.hasOwnProperty, ur = Array.isArray, S = {
1922
1904
  allowDots: !1,
1923
1905
  allowEmptyArrays: !1,
1924
1906
  allowPrototypes: !1,
@@ -1928,7 +1910,7 @@ function() {
1928
1910
  charsetSentinel: !1,
1929
1911
  comma: !1,
1930
1912
  decodeDotInKeys: !1,
1931
- decoder: _.decode,
1913
+ decoder: R.decode,
1932
1914
  delimiter: "&",
1933
1915
  depth: 5,
1934
1916
  duplicates: "combine",
@@ -1941,17 +1923,17 @@ function() {
1941
1923
  strictMerge: !0,
1942
1924
  strictNullHandling: !1,
1943
1925
  throwOnLimitExceeded: !1
1944
- }, ji = function(r) {
1926
+ }, zi = function(r) {
1945
1927
  return r.replace(/&#(\d+);/g, function(e, t) {
1946
1928
  return String.fromCharCode(parseInt(t, 10));
1947
1929
  });
1948
- }, Gt = function(r, e, t) {
1930
+ }, Ut = function(r, e, t) {
1949
1931
  if (r && typeof r == "string" && e.comma && r.indexOf(",") > -1)
1950
1932
  return r.split(",");
1951
1933
  if (e.throwOnLimitExceeded && t >= e.arrayLimit)
1952
1934
  throw new RangeError("Array limit exceeded. Only " + e.arrayLimit + " element" + (e.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
1953
1935
  return r;
1954
- }, ki = "utf8=%26%2310003%3B", zi = "utf8=%E2%9C%93", Ki = function(e, t) {
1936
+ }, Ki = "utf8=%26%2310003%3B", Vi = "utf8=%E2%9C%93", Qi = function(e, t) {
1955
1937
  var n = { __proto__: null }, a = t.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
1956
1938
  a = a.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
1957
1939
  var i = t.parameterLimit === 1 / 0 ? void 0 : t.parameterLimit, o = a.split(
@@ -1960,30 +1942,30 @@ function() {
1960
1942
  );
1961
1943
  if (t.throwOnLimitExceeded && o.length > i)
1962
1944
  throw new RangeError("Parameter limit exceeded. Only " + i + " parameter" + (i === 1 ? "" : "s") + " allowed.");
1963
- var u = -1, l, c = t.charset;
1945
+ var f = -1, l, c = t.charset;
1964
1946
  if (t.charsetSentinel)
1965
1947
  for (l = 0; l < o.length; ++l)
1966
- o[l].indexOf("utf8=") === 0 && (o[l] === zi ? c = "utf-8" : o[l] === ki && (c = "iso-8859-1"), u = l, l = o.length);
1948
+ o[l].indexOf("utf8=") === 0 && (o[l] === Vi ? c = "utf-8" : o[l] === Ki && (c = "iso-8859-1"), f = l, l = o.length);
1967
1949
  for (l = 0; l < o.length; ++l)
1968
- if (l !== u) {
1969
- var s = o[l], p = s.indexOf("]="), f = p === -1 ? s.indexOf("=") : p + 1, d, y;
1970
- if (f === -1 ? (d = t.decoder(s, S.decoder, c, "key"), y = t.strictNullHandling ? null : "") : (d = t.decoder(s.slice(0, f), S.decoder, c, "key"), d !== null && (y = _.maybeMap(
1971
- Gt(
1972
- s.slice(f + 1),
1950
+ if (l !== f) {
1951
+ var s = o[l], p = s.indexOf("]="), u = p === -1 ? s.indexOf("=") : p + 1, d, y;
1952
+ if (u === -1 ? (d = t.decoder(s, S.decoder, c, "key"), y = t.strictNullHandling ? null : "") : (d = t.decoder(s.slice(0, u), S.decoder, c, "key"), d !== null && (y = R.maybeMap(
1953
+ Ut(
1954
+ s.slice(u + 1),
1973
1955
  t,
1974
- pr(n[d]) ? n[d].length : 0
1956
+ ur(n[d]) ? n[d].length : 0
1975
1957
  ),
1976
1958
  function(g) {
1977
1959
  return t.decoder(g, S.decoder, c, "value");
1978
1960
  }
1979
- ))), y && t.interpretNumericEntities && c === "iso-8859-1" && (y = ji(String(y))), s.indexOf("[]=") > -1 && (y = pr(y) ? [y] : y), t.comma && pr(y) && y.length > t.arrayLimit) {
1961
+ ))), y && t.interpretNumericEntities && c === "iso-8859-1" && (y = zi(String(y))), s.indexOf("[]=") > -1 && (y = ur(y) ? [y] : y), t.comma && ur(y) && y.length > t.arrayLimit) {
1980
1962
  if (t.throwOnLimitExceeded)
1981
1963
  throw new RangeError("Array limit exceeded. Only " + t.arrayLimit + " element" + (t.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
1982
- y = _.combine([], y, t.arrayLimit, t.plainObjects);
1964
+ y = R.combine([], y, t.arrayLimit, t.plainObjects);
1983
1965
  }
1984
1966
  if (d !== null) {
1985
1967
  var h = Oe.call(n, d);
1986
- h && (t.duplicates === "combine" || s.indexOf("[]=") > -1) ? n[d] = _.combine(
1968
+ h && (t.duplicates === "combine" || s.indexOf("[]=") > -1) ? n[d] = R.combine(
1987
1969
  n[d],
1988
1970
  y,
1989
1971
  t.arrayLimit,
@@ -1992,16 +1974,16 @@ function() {
1992
1974
  }
1993
1975
  }
1994
1976
  return n;
1995
- }, Vi = function(r, e, t, n) {
1977
+ }, Ji = function(r, e, t, n) {
1996
1978
  var a = 0;
1997
1979
  if (r.length > 0 && r[r.length - 1] === "[]") {
1998
1980
  var i = r.slice(0, -1).join("");
1999
1981
  a = Array.isArray(e) && e[i] ? e[i].length : 0;
2000
1982
  }
2001
- for (var o = n ? e : Gt(e, t, a), u = r.length - 1; u >= 0; --u) {
2002
- var l, c = r[u];
1983
+ for (var o = n ? e : Ut(e, t, a), f = r.length - 1; f >= 0; --f) {
1984
+ var l, c = r[f];
2003
1985
  if (c === "[]" && t.parseArrays)
2004
- _.isOverflow(o) ? l = o : l = t.allowEmptyArrays && (o === "" || t.strictNullHandling && o === null) ? [] : _.combine(
1986
+ R.isOverflow(o) ? l = o : l = t.allowEmptyArrays && (o === "" || t.strictNullHandling && o === null) ? [] : R.combine(
2005
1987
  [],
2006
1988
  o,
2007
1989
  t.arrayLimit,
@@ -2009,29 +1991,29 @@ function() {
2009
1991
  );
2010
1992
  else {
2011
1993
  l = t.plainObjects ? { __proto__: null } : {};
2012
- var s = c.charAt(0) === "[" && c.charAt(c.length - 1) === "]" ? c.slice(1, -1) : c, p = t.decodeDotInKeys ? s.replace(/%2E/g, ".") : s, f = parseInt(p, 10), d = !isNaN(f) && c !== p && String(f) === p && f >= 0 && t.parseArrays;
1994
+ var s = c.charAt(0) === "[" && c.charAt(c.length - 1) === "]" ? c.slice(1, -1) : c, p = t.decodeDotInKeys ? s.replace(/%2E/g, ".") : s, u = parseInt(p, 10), d = !isNaN(u) && c !== p && String(u) === p && u >= 0 && t.parseArrays;
2013
1995
  if (!t.parseArrays && p === "")
2014
1996
  l = { 0: o };
2015
- else if (d && f < t.arrayLimit)
2016
- l = [], l[f] = o;
1997
+ else if (d && u < t.arrayLimit)
1998
+ l = [], l[u] = o;
2017
1999
  else {
2018
2000
  if (d && t.throwOnLimitExceeded)
2019
2001
  throw new RangeError("Array limit exceeded. Only " + t.arrayLimit + " element" + (t.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
2020
- d ? (l[f] = o, _.markOverflow(l, f)) : p !== "__proto__" && (l[p] = o);
2002
+ d ? (l[u] = o, R.markOverflow(l, u)) : p !== "__proto__" && (l[p] = o);
2021
2003
  }
2022
2004
  }
2023
2005
  o = l;
2024
2006
  }
2025
2007
  return o;
2026
- }, Qi = function(e, t) {
2008
+ }, Xi = function(e, t) {
2027
2009
  var n = t.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e;
2028
2010
  if (t.depth <= 0)
2029
2011
  return !t.plainObjects && Oe.call(Object.prototype, n) && !t.allowPrototypes ? void 0 : [n];
2030
- var a = /(\[[^[\]]*])/, i = /(\[[^[\]]*])/g, o = a.exec(n), u = o ? n.slice(0, o.index) : n, l = [];
2031
- if (u) {
2032
- if (!t.plainObjects && Oe.call(Object.prototype, u) && !t.allowPrototypes)
2012
+ var a = /(\[[^[\]]*])/, i = /(\[[^[\]]*])/g, o = a.exec(n), f = o ? n.slice(0, o.index) : n, l = [];
2013
+ if (f) {
2014
+ if (!t.plainObjects && Oe.call(Object.prototype, f) && !t.allowPrototypes)
2033
2015
  return;
2034
- l[l.length] = u;
2016
+ l[l.length] = f;
2035
2017
  }
2036
2018
  for (var c = 0; (o = i.exec(n)) !== null && c < t.depth; ) {
2037
2019
  c += 1;
@@ -2046,13 +2028,13 @@ function() {
2046
2028
  l[l.length] = "[" + n.slice(o.index) + "]";
2047
2029
  }
2048
2030
  return l;
2049
- }, Ji = function(e, t, n, a) {
2031
+ }, Yi = function(e, t, n, a) {
2050
2032
  if (e) {
2051
- var i = Qi(e, n);
2033
+ var i = Xi(e, n);
2052
2034
  if (i)
2053
- return Vi(i, t, n, a);
2035
+ return Ji(i, t, n, a);
2054
2036
  }
2055
- }, Xi = function(e) {
2037
+ }, Zi = function(e) {
2056
2038
  if (!e)
2057
2039
  return S;
2058
2040
  if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
@@ -2080,7 +2062,7 @@ function() {
2080
2062
  comma: typeof e.comma == "boolean" ? e.comma : S.comma,
2081
2063
  decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : S.decodeDotInKeys,
2082
2064
  decoder: typeof e.decoder == "function" ? e.decoder : S.decoder,
2083
- delimiter: typeof e.delimiter == "string" || _.isRegExp(e.delimiter) ? e.delimiter : S.delimiter,
2065
+ delimiter: typeof e.delimiter == "string" || R.isRegExp(e.delimiter) ? e.delimiter : S.delimiter,
2084
2066
  // eslint-disable-next-line no-implicit-coercion, no-extra-parens
2085
2067
  depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : S.depth,
2086
2068
  duplicates: n,
@@ -2094,22 +2076,22 @@ function() {
2094
2076
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : S.strictNullHandling,
2095
2077
  throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
2096
2078
  };
2097
- }, Yi = function(r, e) {
2098
- var t = Xi(e);
2079
+ }, eo = function(r, e) {
2080
+ var t = Zi(e);
2099
2081
  if (r === "" || r === null || typeof r > "u")
2100
2082
  return t.plainObjects ? { __proto__: null } : {};
2101
- for (var n = typeof r == "string" ? Ki(r, t) : r, a = t.plainObjects ? { __proto__: null } : {}, i = Object.keys(n), o = 0; o < i.length; ++o) {
2102
- var u = i[o], l = Ji(u, n[u], t, typeof r == "string");
2103
- a = _.merge(a, l, t);
2104
- }
2105
- return t.allowSparse === !0 ? a : _.compact(a);
2106
- }, Zi = Hi, eo = Yi, ro = _r, to = {
2107
- formats: ro,
2108
- parse: eo,
2109
- stringify: Zi
2083
+ for (var n = typeof r == "string" ? Qi(r, t) : r, a = t.plainObjects ? { __proto__: null } : {}, i = Object.keys(n), o = 0; o < i.length; ++o) {
2084
+ var f = i[o], l = Yi(f, n[f], t, typeof r == "string");
2085
+ a = R.merge(a, l, t);
2086
+ }
2087
+ return t.allowSparse === !0 ? a : R.compact(a);
2088
+ }, ro = ki, to = eo, no = Or, ao = {
2089
+ formats: no,
2090
+ parse: to,
2091
+ stringify: ro
2110
2092
  };
2111
- const no = /* @__PURE__ */ ft(to);
2112
- function lt(r) {
2093
+ const io = /* @__PURE__ */ nt(ao);
2094
+ function tt(r) {
2113
2095
  if (!Array.isArray(r)) throw new TypeError("Middleware stack must be an array!");
2114
2096
  for (const e of r)
2115
2097
  if (typeof e != "function") throw new TypeError("Middleware must be composed of functions!");
@@ -2123,8 +2105,8 @@ function lt(r) {
2123
2105
  if (i === r.length && (o = t), !o) return Promise.resolve();
2124
2106
  try {
2125
2107
  return Promise.resolve(o(e, a.bind(null, i + 1)));
2126
- } catch (u) {
2127
- return Promise.reject(u);
2108
+ } catch (f) {
2109
+ return Promise.reject(f);
2128
2110
  }
2129
2111
  }
2130
2112
  };
@@ -2140,7 +2122,7 @@ const w = {
2140
2122
  configPending: !1,
2141
2123
  configCb: []
2142
2124
  };
2143
- async function ao(r) {
2125
+ async function oo(r) {
2144
2126
  if (w.config)
2145
2127
  return w.config;
2146
2128
  if (w.configPending)
@@ -2151,7 +2133,7 @@ async function ao(r) {
2151
2133
  const e = await r();
2152
2134
  return w.config = e, w.configCb.forEach((t) => t(e)), w.configCb = [], w.configPending = !1, e;
2153
2135
  }
2154
- class io {
2136
+ class lo {
2155
2137
  constructor(e = {}, t) {
2156
2138
  P(this, "options");
2157
2139
  P(this, "apis", []);
@@ -2174,8 +2156,8 @@ class io {
2174
2156
  P(this, "apiList");
2175
2157
  this.options = { ...e, baseUrl: e.baseUrl ?? "/" }, this.options.baseUrl = this.options.baseUrl.split("/").map((a) => encodeURIComponent(a)).join("/"), this.middlewares.push(...this.defaultMiddlewares), this.middlewares.push(...e.middlewares || []);
2176
2158
  const n = ((e == null ? void 0 : e.apis) ?? []).sort((a, i) => {
2177
- const o = i.path.substr(-1, 1), u = o === "*" ? 0 : o === "/" ? 0.1 : 0.2, l = a.path.substr(-1, 1), c = l === "*" ? 0 : l === "/" ? 0.1 : 0.2;
2178
- return i.path.split("/").length + u - (a.path.split("/").length + c);
2159
+ const o = i.path.substr(-1, 1), f = o === "*" ? 0 : o === "/" ? 0.1 : 0.2, l = a.path.substr(-1, 1), c = l === "*" ? 0 : l === "/" ? 0.1 : 0.2;
2160
+ return i.path.split("/").length + f - (a.path.split("/").length + c);
2179
2161
  }).map((a) => ({
2180
2162
  ...a,
2181
2163
  // path: v.path
@@ -2190,7 +2172,7 @@ class io {
2190
2172
  action: (a, i) => {
2191
2173
  throw i.res.status = 404, Error("Not Found");
2192
2174
  }
2193
- }, this.fnMiddleware = lt(this.middlewares), this.getId = Kt({ workerId: e.workId }), this.init(t);
2175
+ }, this.fnMiddleware = tt(this.middlewares), this.getId = Gt({ workerId: e.workId }), this.init(t);
2194
2176
  }
2195
2177
  async init(e) {
2196
2178
  var t, n, a, i;
@@ -2208,15 +2190,15 @@ class io {
2208
2190
  * 调用 API
2209
2191
  */
2210
2192
  async fetchRaw(e, t, n) {
2211
- var f, d;
2212
- const a = (n == null ? void 0 : n.url) ?? e, i = new URL(a, "http://localhost"), o = this.getId(), u = {
2193
+ var u, d;
2194
+ const a = (n == null ? void 0 : n.url) ?? e, i = new URL(a, "http://localhost"), o = this.getId(), f = {
2213
2195
  baseUrl: this.options.baseUrl ?? "",
2214
2196
  headers: (n == null ? void 0 : n.headers) ?? {},
2215
2197
  method: (n == null ? void 0 : n.method) ?? this.options.defaultMethod ?? "post",
2216
2198
  body: (n == null ? void 0 : n.body) ?? t,
2217
2199
  params: {},
2218
2200
  path: i.pathname,
2219
- queryString: n != null && n.query ? "?" + no.stringify(n.query) : i.search,
2201
+ queryString: n != null && n.query ? "?" + io.stringify(n.query) : i.search,
2220
2202
  query: (n == null ? void 0 : n.query) ?? Object.fromEntries(i.searchParams),
2221
2203
  url: a,
2222
2204
  reqId: o,
@@ -2227,10 +2209,10 @@ class io {
2227
2209
  let l = this.api404;
2228
2210
  for (let y = 0; y < this.apis.length; y++) {
2229
2211
  const h = this.apis[y];
2230
- if ((h.namespace ?? "default") === u.namespace && (h.method === "all" || h.method === ((d = (f = u.method) == null ? void 0 : f.toLowerCase) == null ? void 0 : d.call(f)))) {
2231
- const A = Qt((this.options.baseUrl ?? "") + h.path, { loose: !1, trailing: !1 })(u.path);
2232
- if (A) {
2233
- u.params = A.params, l = h;
2212
+ if ((h.namespace ?? "default") === f.namespace && (h.method === "all" || h.method === ((d = (u = f.method) == null ? void 0 : u.toLowerCase) == null ? void 0 : d.call(u)))) {
2213
+ const E = jt((h.baseUrl ?? this.options.baseUrl ?? "") + h.path, { loose: !1, trailing: !1 })(f.path);
2214
+ if (E) {
2215
+ f.params = E.params, l = h;
2234
2216
  break;
2235
2217
  }
2236
2218
  }
@@ -2242,8 +2224,8 @@ class io {
2242
2224
  }, s = {
2243
2225
  app: this,
2244
2226
  currentAPI: l,
2245
- req: u,
2246
- request: u,
2227
+ req: f,
2228
+ request: f,
2247
2229
  reqId: o,
2248
2230
  requestId: o,
2249
2231
  res: c,
@@ -2253,15 +2235,15 @@ class io {
2253
2235
  meta: l.meta ?? {},
2254
2236
  service: {}
2255
2237
  }, p = async () => {
2256
- var g, b;
2257
- let y = u.body;
2238
+ var g, $;
2239
+ let y = f.body;
2258
2240
  if (l.bodySchema)
2259
2241
  if ((g = l.bodySchema) != null && g.parse)
2260
2242
  try {
2261
- y = l.bodySchema.parse(u.body);
2262
- } catch (A) {
2243
+ y = l.bodySchema.parse(f.body);
2244
+ } catch (E) {
2263
2245
  c.status = 400;
2264
- const m = (b = A == null ? void 0 : A.issues) == null ? void 0 : b[0];
2246
+ const m = ($ = E == null ? void 0 : E.issues) == null ? void 0 : $[0];
2265
2247
  throw m && (m.message = (m.path ?? []).join(".") + " " + m.message), m ? { ...m, code: 0 } : new Error("参数错误");
2266
2248
  }
2267
2249
  else
@@ -2270,7 +2252,7 @@ class io {
2270
2252
  h !== void 0 && (c.body = h);
2271
2253
  };
2272
2254
  if (l.middlewares && l.middlewares.length > 0) {
2273
- const y = lt(l.middlewares), h = async () => await y(s, p);
2255
+ const y = tt(l.middlewares), h = async () => await y(s, p);
2274
2256
  n != null && n.noPublicMiddleware ? await h : await this.fnMiddleware(s, h);
2275
2257
  } else
2276
2258
  n != null && n.noPublicMiddleware ? await p() : await this.fnMiddleware(s, p);
@@ -2303,13 +2285,13 @@ class io {
2303
2285
  return this.options.baseUrl ?? "";
2304
2286
  }
2305
2287
  }
2306
- const oo = Symbol("soon-api");
2307
- function yo(r) {
2288
+ const fo = Symbol("soon-api");
2289
+ function mo(r) {
2308
2290
  const e = { ...r };
2309
- return e._soon_symbol = oo, e;
2291
+ return e._soon_symbol = fo, e;
2310
2292
  }
2311
- const lo = Symbol("soon-service");
2312
- function ho(r) {
2293
+ const uo = Symbol("soon-service");
2294
+ function vo(r) {
2313
2295
  async function e() {
2314
2296
  var i;
2315
2297
  const t = r.service;
@@ -2318,27 +2300,27 @@ function ho(r) {
2318
2300
  return n;
2319
2301
  if (w.servicePending.get(t)) {
2320
2302
  let o = w.serviceCb.get(t);
2321
- return o || (o = [], w.serviceCb.set(t, o)), new Promise((u) => {
2322
- o.push((l) => u(l));
2303
+ return o || (o = [], w.serviceCb.set(t, o)), new Promise((f) => {
2304
+ o.push((l) => f(l));
2323
2305
  });
2324
2306
  }
2325
2307
  return w.servicePending.set(t, !0), await new Promise((o) => {
2326
2308
  w.app ? o(1) : w.appCb.push(() => o(1));
2327
2309
  }), n = await t(w.app), w.services.set(t, n), (i = w.serviceCb.get(t)) == null || i.forEach((o) => o(n)), w.serviceCb.delete(t), w.servicePending.delete(t), n;
2328
2310
  }
2329
- return e._soon_symbol = lo, e.serviceName = (r == null ? void 0 : r.serviceName) ?? "", e.autoInject = (r == null ? void 0 : r.autoInject) ?? !1, e.enableClient = (r == null ? void 0 : r.enableClient) ?? !1, e;
2311
+ return e._soon_symbol = uo, e.serviceName = (r == null ? void 0 : r.serviceName) ?? "", e.autoInject = (r == null ? void 0 : r.autoInject) ?? !1, e.enableClient = (r == null ? void 0 : r.enableClient) ?? !1, e;
2330
2312
  }
2331
- function mo(r) {
2313
+ function go(r) {
2332
2314
  return r;
2333
2315
  }
2334
- function vo(r) {
2316
+ function wo(r) {
2335
2317
  return async function() {
2336
- return await ao(r);
2318
+ return await oo(r);
2337
2319
  };
2338
2320
  }
2339
- async function go(r) {
2321
+ async function So(r) {
2340
2322
  return await new Promise((e, t) => {
2341
- new io(r, (n, a) => {
2323
+ new lo(r, (n, a) => {
2342
2324
  if (n) {
2343
2325
  t(n);
2344
2326
  return;
@@ -2347,33 +2329,33 @@ async function go(r) {
2347
2329
  });
2348
2330
  });
2349
2331
  }
2350
- class wo extends Error {
2332
+ class bo extends Error {
2351
2333
  constructor(t, n) {
2352
2334
  super(t);
2353
2335
  P(this, "code");
2354
2336
  this.code = n;
2355
2337
  }
2356
2338
  }
2357
- class So extends Error {
2339
+ class Eo extends Error {
2358
2340
  constructor(t, n) {
2359
2341
  super(t);
2360
2342
  P(this, "status");
2361
2343
  this.status = n;
2362
2344
  }
2363
2345
  }
2364
- function bo({
2346
+ function Ao({
2365
2347
  pingTime: r = 0,
2366
2348
  action: e
2367
2349
  }) {
2368
2350
  let t = () => null;
2369
- const n = new vt((a) => {
2351
+ const n = new pt((a) => {
2370
2352
  let i;
2371
2353
  r > 0 && (i = setInterval(() => {
2372
- u.closed ? clearInterval(i) : a.next({ event: "ping", message: `: ping
2354
+ f.closed ? clearInterval(i) : a.next({ event: "ping", message: `: ping
2373
2355
 
2374
2356
  ` });
2375
2357
  }, r));
2376
- const o = [], u = {
2358
+ const o = [], f = {
2377
2359
  send(l) {
2378
2360
  try {
2379
2361
  a.next({
@@ -2384,20 +2366,20 @@ function bo({
2384
2366
  `
2385
2367
  });
2386
2368
  } catch (c) {
2387
- u.error(c.message);
2369
+ f.error(c.message);
2388
2370
  }
2389
2371
  },
2390
2372
  error(l) {
2391
2373
  a.next({ event: "error", data: l, message: `event: error
2392
2374
  data: ${l}
2393
2375
 
2394
- ` }), a.complete(), u.closed = !0, o.forEach((c) => c == null ? void 0 : c());
2376
+ ` }), a.complete(), f.closed = !0, o.forEach((c) => c == null ? void 0 : c());
2395
2377
  },
2396
2378
  close() {
2397
2379
  a.next({ event: "close", message: `event: close
2398
2380
  data:
2399
2381
 
2400
- ` }), a.complete(), u.closed = !0, i && clearInterval(i), o.forEach((l) => l == null ? void 0 : l());
2382
+ ` }), a.complete(), f.closed = !0, i && clearInterval(i), o.forEach((l) => l == null ? void 0 : l());
2401
2383
  },
2402
2384
  closed: !1,
2403
2385
  onClosed(l) {
@@ -2405,17 +2387,17 @@ data:
2405
2387
  }
2406
2388
  };
2407
2389
  t = () => {
2408
- u.closed || u.close();
2409
- }, e(u);
2390
+ f.closed || f.close();
2391
+ }, e(f);
2410
2392
  });
2411
2393
  return n.streamClose = () => t == null ? void 0 : t(), n;
2412
2394
  }
2413
- function fo(r) {
2414
- return r instanceof vt;
2395
+ function co(r) {
2396
+ return r instanceof pt;
2415
2397
  }
2416
- function Eo(r) {
2417
- if (fo(r)) {
2418
- const e = new zt();
2398
+ function $o(r) {
2399
+ if (co(r)) {
2400
+ const e = new Ft();
2419
2401
  return r.subscribe({
2420
2402
  next(t) {
2421
2403
  e.write(t.message);
@@ -2437,19 +2419,19 @@ function Eo(r) {
2437
2419
  throw new Error("Not a valid SSE body");
2438
2420
  }
2439
2421
  export {
2440
- wo as BizError,
2441
- vt as Observable,
2442
- io as SoonApp,
2443
- So as SoonError,
2444
- go as createSoonApp,
2445
- yo as defineApi,
2446
- vo as defineConfig,
2447
- mo as defineMiddleware,
2448
- ho as defineService,
2449
- fo as isSSEBody,
2450
- Eo as resolveSSEBody,
2451
- oo as soonApiSymbol,
2452
- lo as soonServiceSymbol,
2453
- bo as useSSE,
2454
- Kt as useSoonIdGen
2422
+ bo as BizError,
2423
+ pt as Observable,
2424
+ lo as SoonApp,
2425
+ Eo as SoonError,
2426
+ So as createSoonApp,
2427
+ mo as defineApi,
2428
+ wo as defineConfig,
2429
+ go as defineMiddleware,
2430
+ vo as defineService,
2431
+ co as isSSEBody,
2432
+ $o as resolveSSEBody,
2433
+ fo as soonApiSymbol,
2434
+ uo as soonServiceSymbol,
2435
+ Ao as useSSE,
2436
+ Gt as useSoonIdGen
2455
2437
  };