zudoku 0.10.0 → 0.11.0

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 (156) hide show
  1. package/README.md +121 -0
  2. package/dist/config/config.d.ts +2 -6
  3. package/dist/config/validators/InputSidebarSchema.d.ts +1 -0
  4. package/dist/config/validators/validate.d.ts +151 -37
  5. package/dist/config/validators/validate.js +14 -11
  6. package/dist/config/validators/validate.js.map +1 -1
  7. package/dist/index.d.ts +1 -1
  8. package/dist/lib/authentication/state.d.ts +16 -0
  9. package/dist/lib/authentication/state.js +5 -0
  10. package/dist/lib/authentication/state.js.map +1 -1
  11. package/dist/lib/components/InlineCode.d.ts +2 -1
  12. package/dist/lib/components/InlineCode.js +9 -1
  13. package/dist/lib/components/InlineCode.js.map +1 -1
  14. package/dist/lib/components/Layout.js +1 -1
  15. package/dist/lib/components/Layout.js.map +1 -1
  16. package/dist/lib/oas/graphql/index.d.ts +2 -1
  17. package/dist/lib/oas/graphql/index.js +22 -10
  18. package/dist/lib/oas/graphql/index.js.map +1 -1
  19. package/dist/lib/oas/parser/index.d.ts +1 -0
  20. package/dist/lib/oas/parser/index.js.map +1 -1
  21. package/dist/lib/plugins/markdown/MdxPage.js +2 -2
  22. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  23. package/dist/lib/plugins/markdown/generateRoutes.d.ts +1 -1
  24. package/dist/lib/plugins/markdown/generateRoutes.js +8 -6
  25. package/dist/lib/plugins/markdown/generateRoutes.js.map +1 -1
  26. package/dist/lib/plugins/markdown/index.d.ts +2 -1
  27. package/dist/lib/plugins/markdown/index.js +2 -2
  28. package/dist/lib/plugins/markdown/index.js.map +1 -1
  29. package/dist/lib/plugins/openapi/Endpoint.d.ts +1 -3
  30. package/dist/lib/plugins/openapi/Endpoint.js +46 -8
  31. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  32. package/dist/lib/plugins/openapi/OperationList.js +1 -1
  33. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  34. package/dist/lib/plugins/openapi/OperationListItem.js +1 -1
  35. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  36. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +2 -1
  37. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +2 -2
  38. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  39. package/dist/lib/plugins/openapi/Sidecar.js +14 -3
  40. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  41. package/dist/lib/plugins/openapi/SimpleSelect.d.ts +2 -1
  42. package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
  43. package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
  44. package/dist/lib/plugins/openapi/graphql/gql.d.ts +10 -2
  45. package/dist/lib/plugins/openapi/graphql/gql.js +2 -1
  46. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  47. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +29 -3
  48. package/dist/lib/plugins/openapi/graphql/graphql.js +87 -0
  49. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  50. package/dist/lib/plugins/openapi/interfaces.d.ts +3 -0
  51. package/dist/lib/plugins/openapi/playground/Playground.d.ts +2 -1
  52. package/dist/lib/plugins/openapi/playground/Playground.js +12 -4
  53. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  54. package/dist/lib/plugins/openapi/playground/createUrl.js +3 -1
  55. package/dist/lib/plugins/openapi/playground/createUrl.js.map +1 -1
  56. package/dist/vite/config.d.ts +1 -1
  57. package/dist/vite/config.js +7 -3
  58. package/dist/vite/config.js.map +1 -1
  59. package/dist/vite/dev-server.d.ts +1 -0
  60. package/dist/vite/dev-server.js +7 -13
  61. package/dist/vite/dev-server.js.map +1 -1
  62. package/dist/vite/plugin-api.js +4 -7
  63. package/dist/vite/plugin-api.js.map +1 -1
  64. package/dist/vite/plugin-config-reload.js +9 -4
  65. package/dist/vite/plugin-config-reload.js.map +1 -1
  66. package/dist/vite/plugin-docs.js +7 -5
  67. package/dist/vite/plugin-docs.js.map +1 -1
  68. package/dist/vite/plugin-frontmatter.d.ts +2 -0
  69. package/dist/vite/plugin-frontmatter.js +30 -0
  70. package/dist/vite/plugin-frontmatter.js.map +1 -0
  71. package/dist/vite/plugin-sidebar.js +14 -1
  72. package/dist/vite/plugin-sidebar.js.map +1 -1
  73. package/dist/vite/plugin.js +2 -2
  74. package/dist/vite/plugin.js.map +1 -1
  75. package/lib/{CategoryHeading-XnFqN2lJ.js → CategoryHeading-ovR-zHRq.js} +2 -2
  76. package/lib/{CategoryHeading-XnFqN2lJ.js.map → CategoryHeading-ovR-zHRq.js.map} +1 -1
  77. package/lib/{DeveloperHint-FBb2uXJe.js → DeveloperHint-YeWHKvyr.js} +2 -2
  78. package/lib/{DeveloperHint-FBb2uXJe.js.map → DeveloperHint-YeWHKvyr.js.map} +1 -1
  79. package/lib/{ErrorPage-knunPbKI.js → ErrorPage-Dri5_2lr.js} +3 -3
  80. package/lib/{ErrorPage-knunPbKI.js.map → ErrorPage-Dri5_2lr.js.map} +1 -1
  81. package/lib/{Input-BEDZAKw0.js → Input-CtVUl3eT.js} +3 -3
  82. package/lib/{Input-BEDZAKw0.js.map → Input-CtVUl3eT.js.map} +1 -1
  83. package/lib/{Markdown-B4aR03g6.js → Markdown-DapSf3wG.js} +795 -793
  84. package/lib/Markdown-DapSf3wG.js.map +1 -0
  85. package/lib/{MdxPage-BZyQsH8Z.js → MdxPage-BqBWsXZ1.js} +23 -23
  86. package/lib/MdxPage-BqBWsXZ1.js.map +1 -0
  87. package/lib/{OperationList-2NeWEM0u.js → OperationList-JAQF5-tn.js} +151 -109
  88. package/lib/OperationList-JAQF5-tn.js.map +1 -0
  89. package/lib/{Route-BZPewmrN.js → Route-DSANUy5e.js} +2 -2
  90. package/lib/{Route-BZPewmrN.js.map → Route-DSANUy5e.js.map} +1 -1
  91. package/lib/{SidebarBadge-COz0hgfa.js → SidebarBadge-Dx7jtnoA.js} +3 -3
  92. package/lib/{SidebarBadge-COz0hgfa.js.map → SidebarBadge-Dx7jtnoA.js.map} +1 -1
  93. package/lib/{SlotletProvider-DJMaOUDs.js → SlotletProvider-D3UD5Go3.js} +4 -4
  94. package/lib/{SlotletProvider-DJMaOUDs.js.map → SlotletProvider-D3UD5Go3.js.map} +1 -1
  95. package/lib/assets/{worker-BvD7B6MG.js → worker-Bcj4NA2p.js} +3430 -1351
  96. package/lib/assets/worker-Bcj4NA2p.js.map +1 -0
  97. package/lib/index-Bn6Lc9tq.js +9 -0
  98. package/lib/index-Bn6Lc9tq.js.map +1 -0
  99. package/lib/{index-1EDgIO6b.js → index-BngPzhKn.js} +3 -3
  100. package/lib/{index-1EDgIO6b.js.map → index-BngPzhKn.js.map} +1 -1
  101. package/lib/{index-Zezcv0xb.js → index-Dolisrci.js} +3 -3
  102. package/lib/{index-Zezcv0xb.js.map → index-Dolisrci.js.map} +1 -1
  103. package/lib/{index-Dv2KZuEw.js → index-DyJyULzS.js} +1774 -1643
  104. package/lib/index-DyJyULzS.js.map +1 -0
  105. package/lib/index-LNp6rxyU.js +2094 -0
  106. package/lib/index-LNp6rxyU.js.map +1 -0
  107. package/lib/state-hNe1dw4B.js +548 -0
  108. package/lib/state-hNe1dw4B.js.map +1 -0
  109. package/lib/zudoku.auth-auth0.js +1 -1
  110. package/lib/zudoku.auth-clerk.js +1 -1
  111. package/lib/zudoku.auth-openid.js +4 -4
  112. package/lib/zudoku.components.js +6 -6
  113. package/lib/zudoku.components.js.map +1 -1
  114. package/lib/zudoku.openapi-worker.js +497 -489
  115. package/lib/zudoku.openapi-worker.js.map +1 -1
  116. package/lib/zudoku.plugin-api-keys.js +5 -5
  117. package/lib/zudoku.plugin-custom-page.js +1 -1
  118. package/lib/zudoku.plugin-markdown.js +18 -15
  119. package/lib/zudoku.plugin-markdown.js.map +1 -1
  120. package/lib/zudoku.plugin-openapi.js +4 -4
  121. package/package.json +14 -4
  122. package/src/lib/authentication/state.ts +17 -0
  123. package/src/lib/components/InlineCode.tsx +10 -0
  124. package/src/lib/components/Layout.tsx +1 -1
  125. package/src/lib/oas/graphql/index.ts +33 -13
  126. package/src/lib/oas/parser/index.ts +1 -0
  127. package/src/lib/plugins/markdown/MdxPage.tsx +2 -2
  128. package/src/lib/plugins/markdown/generateRoutes.tsx +8 -5
  129. package/src/lib/plugins/markdown/index.tsx +3 -1
  130. package/src/lib/plugins/openapi/Endpoint.tsx +86 -22
  131. package/src/lib/plugins/openapi/OperationList.tsx +3 -1
  132. package/src/lib/plugins/openapi/OperationListItem.tsx +1 -1
  133. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +3 -0
  134. package/src/lib/plugins/openapi/Sidecar.tsx +17 -2
  135. package/src/lib/plugins/openapi/SimpleSelect.tsx +10 -2
  136. package/src/lib/plugins/openapi/graphql/gql.ts +11 -3
  137. package/src/lib/plugins/openapi/graphql/graphql.ts +116 -4
  138. package/src/lib/plugins/openapi/interfaces.ts +4 -1
  139. package/src/lib/plugins/openapi/playground/Playground.tsx +38 -4
  140. package/src/lib/plugins/openapi/playground/createUrl.ts +6 -1
  141. package/dist/lib/util/slugify.d.ts +0 -2
  142. package/dist/lib/util/slugify.js +0 -3
  143. package/dist/lib/util/slugify.js.map +0 -1
  144. package/dist/vite/plugin-icons.d.ts +0 -3
  145. package/dist/vite/plugin-icons.js +0 -47
  146. package/dist/vite/plugin-icons.js.map +0 -1
  147. package/lib/Markdown-B4aR03g6.js.map +0 -1
  148. package/lib/MdxPage-BZyQsH8Z.js.map +0 -1
  149. package/lib/OperationList-2NeWEM0u.js.map +0 -1
  150. package/lib/assets/worker-BvD7B6MG.js.map +0 -1
  151. package/lib/index-Dv2KZuEw.js.map +0 -1
  152. package/lib/slugify-DbLhpSPt.js +0 -28
  153. package/lib/slugify-DbLhpSPt.js.map +0 -1
  154. package/lib/state-lIwt9isb.js +0 -288
  155. package/lib/state-lIwt9isb.js.map +0 -1
  156. package/src/lib/util/slugify.ts +0 -3
@@ -5,7 +5,7 @@ var yo = (t) => {
5
5
  var Nl = (t, e, n) => e in t ? Ol(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
6
6
  var H = (t, e, n) => Nl(t, typeof e != "symbol" ? e + "" : e, n), Hr = (t, e, n) => e.has(t) || yo("Cannot " + n);
7
7
  var l = (t, e, n) => (Hr(t, e, "read from private field"), n ? n.call(t) : e.get(t)), Q = (t, e, n) => e.has(t) ? yo("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), $ = (t, e, n, i) => (Hr(t, e, "write to private field"), i ? i.call(t, n) : e.set(t, n), n), k = (t, e, n) => (Hr(t, e, "access private method"), n);
8
- var vn = (t, e, n, i) => ({
8
+ var En = (t, e, n, i) => ({
9
9
  set _(r) {
10
10
  $(t, e, r, n);
11
11
  },
@@ -14,8 +14,8 @@ var vn = (t, e, n, i) => ({
14
14
  }
15
15
  });
16
16
  import { C as Ua, c as Va, m as Ba, f as Ga } from "./urql-YhcsXYy8.js";
17
- import { g as Al } from "./_commonjsHelpers-BkfeUUK-.js";
18
- import { s as xl } from "./slugify-DbLhpSPt.js";
17
+ import { a as Al } from "./index-LNp6rxyU.js";
18
+ import { g as xl } from "./_commonjsHelpers-BkfeUUK-.js";
19
19
  function Fl(t, e) {
20
20
  for (var n = 0; n < e.length; n++) {
21
21
  const i = e[n];
@@ -120,7 +120,7 @@ function $l(t, e) {
120
120
  n = Ul(e) + n;
121
121
  return n;
122
122
  }
123
- function Eo(t, e) {
123
+ function vo(t, e) {
124
124
  if (isNaN(t))
125
125
  throw new ft({
126
126
  info: {
@@ -166,10 +166,10 @@ function jl(t) {
166
166
  }
167
167
  }, "Incorrectly encoded string");
168
168
  if (r === o) {
169
- s = vo(s, n, Oi[0]);
169
+ s = Eo(s, n, Oi[0]);
170
170
  continue;
171
171
  }
172
- e = vo(s, n, Oi[r + 1]);
172
+ e = Eo(s, n, Oi[r + 1]);
173
173
  }
174
174
  if (typeof e == "string")
175
175
  return e;
@@ -190,18 +190,18 @@ function Ml(t) {
190
190
  const o = isNaN(s) ? Date.now() : s;
191
191
  if (o <= n) {
192
192
  const u = i = jl(i);
193
- return Eo(n, wo) + u;
193
+ return vo(n, wo) + u;
194
194
  }
195
195
  n = o;
196
196
  const a = i = $l(Ll, e);
197
- return Eo(o, wo) + a;
197
+ return vo(o, wo) + a;
198
198
  };
199
199
  }
200
200
  function Ul(t) {
201
201
  let e = Math.floor(t() * Qn);
202
202
  return e === Qn && (e = Qn - 1), Oi.charAt(e);
203
203
  }
204
- function vo(t, e, n) {
204
+ function Eo(t, e, n) {
205
205
  return e > t.length - 1 ? t : t.substr(0, e) + n + t.substr(e + 1);
206
206
  }
207
207
  const Vl = () => {
@@ -576,7 +576,7 @@ function Wl({ plugins: t }) {
576
576
  });
577
577
  throw I;
578
578
  })), N;
579
- } : o), E = c.execute.length, b = _o(E ? async (O) => {
579
+ } : o), v = c.execute.length, b = _o(v ? async (O) => {
580
580
  let x = s, A;
581
581
  const L = [], T = O.contextValue || {};
582
582
  for (const y of c.execute) {
@@ -1270,7 +1270,7 @@ function wc(t, e) {
1270
1270
  n.charCodeAt(r + 1) === 10 ? r += 2 : ++r, ++t.line, t.lineStart = r;
1271
1271
  continue;
1272
1272
  case 35:
1273
- return Ec(t, r);
1273
+ return vc(t, r);
1274
1274
  case 33:
1275
1275
  return Se(t, D.BANG, r, r + 1);
1276
1276
  case 36:
@@ -1305,7 +1305,7 @@ function wc(t, e) {
1305
1305
  return n.charCodeAt(r + 1) === 34 && n.charCodeAt(r + 2) === 34 ? Oc(t, r) : Tc(t, r);
1306
1306
  }
1307
1307
  if (Fi(s) || s === 45)
1308
- return vc(t, r, s);
1308
+ return Ec(t, r, s);
1309
1309
  if (js(s))
1310
1310
  return Nc(t, r);
1311
1311
  throw De(
@@ -1316,7 +1316,7 @@ function wc(t, e) {
1316
1316
  }
1317
1317
  return Se(t, D.EOF, i, i);
1318
1318
  }
1319
- function Ec(t, e) {
1319
+ function vc(t, e) {
1320
1320
  const n = t.source.body, i = n.length;
1321
1321
  let r = e + 1;
1322
1322
  for (; r < i; ) {
@@ -1338,7 +1338,7 @@ function Ec(t, e) {
1338
1338
  n.slice(e + 1, r)
1339
1339
  );
1340
1340
  }
1341
- function vc(t, e, n) {
1341
+ function Ec(t, e, n) {
1342
1342
  const i = t.source.body;
1343
1343
  let r = e, s = n, o = !1;
1344
1344
  if (s === 45 && (s = i.charCodeAt(++r)), s === 48) {
@@ -2917,7 +2917,7 @@ class Uc {
2917
2917
  let S = m[0] = f;
2918
2918
  for (let w = 1; w <= a; w++) {
2919
2919
  const C = r[f - 1] === s[w - 1] ? 0 : 1;
2920
- let E = Math.min(
2920
+ let v = Math.min(
2921
2921
  p[w] + 1,
2922
2922
  // delete
2923
2923
  m[w - 1] + 1,
@@ -2927,9 +2927,9 @@ class Uc {
2927
2927
  );
2928
2928
  if (f > 1 && w > 1 && r[f - 1] === s[w - 2] && r[f - 2] === s[w - 1]) {
2929
2929
  const b = u[(f - 2) % 3][w - 2];
2930
- E = Math.min(E, b + 1);
2930
+ v = Math.min(v, b + 1);
2931
2931
  }
2932
- E < S && (S = E), m[w] = E;
2932
+ v < S && (S = v), m[w] = v;
2933
2933
  }
2934
2934
  if (S > n)
2935
2935
  return;
@@ -3131,7 +3131,7 @@ const qc = [
3131
3131
  function Ps(t, e, n = Ha) {
3132
3132
  const i = /* @__PURE__ */ new Map();
3133
3133
  for (const b of Object.values(_))
3134
- i.set(b, Er(e, b));
3134
+ i.set(b, vr(e, b));
3135
3135
  let r, s = Array.isArray(t), o = [t], a = -1, u = [], c = t, f, p;
3136
3136
  const m = [], S = [];
3137
3137
  do {
@@ -3183,14 +3183,14 @@ function Ps(t, e, n = Ha) {
3183
3183
  if (x === void 0 && O && u.push([f, c]), b)
3184
3184
  m.pop();
3185
3185
  else {
3186
- var E;
3186
+ var v;
3187
3187
  r = {
3188
3188
  inArray: s,
3189
3189
  index: a,
3190
3190
  keys: o,
3191
3191
  edits: u,
3192
3192
  prev: r
3193
- }, s = Array.isArray(c), o = s ? c : (E = n[c.kind]) !== null && E !== void 0 ? E : [], a = -1, u = [], p && S.push(p), p = c;
3193
+ }, s = Array.isArray(c), o = s ? c : (v = n[c.kind]) !== null && v !== void 0 ? v : [], a = -1, u = [], p && S.push(p), p = c;
3194
3194
  }
3195
3195
  } while (r !== void 0);
3196
3196
  return u.length !== 0 ? u[u.length - 1][1] : t;
@@ -3201,7 +3201,7 @@ function zc(t) {
3201
3201
  let r = !1;
3202
3202
  const s = new Array(t.length).fill(void 0), o = new Array(t.length).fill(void 0);
3203
3203
  for (let u = 0; u < t.length; ++u) {
3204
- const { enter: c, leave: f } = Er(t[u], i);
3204
+ const { enter: c, leave: f } = vr(t[u], i);
3205
3205
  r || (r = c != null || f != null), s[u] = c, o[u] = f;
3206
3206
  }
3207
3207
  if (!r)
@@ -3238,7 +3238,7 @@ function zc(t) {
3238
3238
  }
3239
3239
  return n;
3240
3240
  }
3241
- function Er(t, e) {
3241
+ function vr(t, e) {
3242
3242
  const n = t[e];
3243
3243
  return typeof n == "object" ? n : typeof n == "function" ? {
3244
3244
  enter: n,
@@ -3577,7 +3577,7 @@ function ze(t) {
3577
3577
  return Gt(t, Ai);
3578
3578
  }
3579
3579
  function je(t) {
3580
- return Gt(t, Ue);
3580
+ return Gt(t, Ve);
3581
3581
  }
3582
3582
  function re(t) {
3583
3583
  return Gt(t, ne);
@@ -3597,7 +3597,7 @@ function yn(t) {
3597
3597
  function tn(t) {
3598
3598
  return we(t) || Vt(t);
3599
3599
  }
3600
- class Ue {
3600
+ class Ve {
3601
3601
  constructor(e) {
3602
3602
  Ms(e) || ae(!1, `Expected ${V(e)} to be a GraphQL type.`), this.ofType = e;
3603
3603
  }
@@ -4445,7 +4445,7 @@ const $o = /^-?(?:0|[1-9][0-9]*)$/, Gs = new et({
4445
4445
  },
4446
4446
  types: {
4447
4447
  description: "A list of all types supported by this server.",
4448
- type: new ne(new Ue(new ne(Mt))),
4448
+ type: new ne(new Ve(new ne(Mt))),
4449
4449
  resolve(t) {
4450
4450
  return Object.values(t.getTypeMap());
4451
4451
  }
@@ -4468,7 +4468,7 @@ const $o = /^-?(?:0|[1-9][0-9]*)$/, Gs = new et({
4468
4468
  directives: {
4469
4469
  description: "A list of all directives supported by this server.",
4470
4470
  type: new ne(
4471
- new Ue(new ne(pu))
4471
+ new Ve(new ne(pu))
4472
4472
  ),
4473
4473
  resolve: (t) => t.getDirectives()
4474
4474
  }
@@ -4493,13 +4493,13 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
4493
4493
  },
4494
4494
  locations: {
4495
4495
  type: new ne(
4496
- new Ue(new ne(gu))
4496
+ new Ve(new ne(gu))
4497
4497
  ),
4498
4498
  resolve: (t) => t.locations
4499
4499
  },
4500
4500
  args: {
4501
4501
  type: new ne(
4502
- new Ue(new ne($r))
4502
+ new Ve(new ne($r))
4503
4503
  ),
4504
4504
  args: {
4505
4505
  includeDeprecated: {
@@ -4635,7 +4635,7 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
4635
4635
  resolve: (t) => "specifiedByURL" in t ? t.specifiedByURL : void 0
4636
4636
  },
4637
4637
  fields: {
4638
- type: new Ue(new ne(mu)),
4638
+ type: new Ve(new ne(mu)),
4639
4639
  args: {
4640
4640
  includeDeprecated: {
4641
4641
  type: $e,
@@ -4650,21 +4650,21 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
4650
4650
  }
4651
4651
  },
4652
4652
  interfaces: {
4653
- type: new Ue(new ne(Mt)),
4653
+ type: new Ve(new ne(Mt)),
4654
4654
  resolve(t) {
4655
4655
  if (pe(t) || we(t))
4656
4656
  return t.getInterfaces();
4657
4657
  }
4658
4658
  },
4659
4659
  possibleTypes: {
4660
- type: new Ue(new ne(Mt)),
4660
+ type: new Ve(new ne(Mt)),
4661
4661
  resolve(t, e, n, { schema: i }) {
4662
4662
  if (tn(t))
4663
4663
  return i.getPossibleTypes(t);
4664
4664
  }
4665
4665
  },
4666
4666
  enumValues: {
4667
- type: new Ue(new ne(yu)),
4667
+ type: new Ve(new ne(yu)),
4668
4668
  args: {
4669
4669
  includeDeprecated: {
4670
4670
  type: $e,
@@ -4679,7 +4679,7 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
4679
4679
  }
4680
4680
  },
4681
4681
  inputFields: {
4682
- type: new Ue(new ne($r)),
4682
+ type: new Ve(new ne($r)),
4683
4683
  args: {
4684
4684
  includeDeprecated: {
4685
4685
  type: $e,
@@ -4719,7 +4719,7 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
4719
4719
  },
4720
4720
  args: {
4721
4721
  type: new ne(
4722
- new Ue(new ne($r))
4722
+ new Ve(new ne($r))
4723
4723
  ),
4724
4724
  args: {
4725
4725
  includeDeprecated: {
@@ -4840,7 +4840,7 @@ const bu = new ri({
4840
4840
  description: "Indicates this type is a non-null. `ofType` is a valid field."
4841
4841
  }
4842
4842
  }
4843
- }), vr = {
4843
+ }), Er = {
4844
4844
  name: "__schema",
4845
4845
  type: new ne(Gs),
4846
4846
  description: "Access the current type schema of this server.",
@@ -4887,14 +4887,14 @@ const bu = new ri({
4887
4887
  yu,
4888
4888
  bu
4889
4889
  ]);
4890
- function Eu(t) {
4890
+ function vu(t) {
4891
4891
  return wu.some(({ name: e }) => t.name === e);
4892
4892
  }
4893
- function vu(t) {
4893
+ function Eu(t) {
4894
4894
  return Gt(t, qs);
4895
4895
  }
4896
4896
  function rf(t) {
4897
- if (!vu(t))
4897
+ if (!Eu(t))
4898
4898
  throw new Error(`Expected ${V(t)} to be a GraphQL schema.`);
4899
4899
  return t;
4900
4900
  }
@@ -5172,7 +5172,7 @@ function lf(t) {
5172
5172
  );
5173
5173
  continue;
5174
5174
  }
5175
- Eu(i) || Ln(t, i), pe(i) || we(i) ? (jo(t, i), Po(t, i)) : Vt(i) ? df(t, i) : Bt(i) ? hf(t, i) : ze(i) && (pf(t, i), e(i));
5175
+ vu(i) || Ln(t, i), pe(i) || we(i) ? (jo(t, i), Po(t, i)) : Vt(i) ? df(t, i) : Bt(i) ? hf(t, i) : ze(i) && (pf(t, i), e(i));
5176
5176
  }
5177
5177
  }
5178
5178
  function jo(t, e) {
@@ -5424,7 +5424,7 @@ function nt(t, e) {
5424
5424
  switch (e.kind) {
5425
5425
  case _.LIST_TYPE: {
5426
5426
  const n = nt(t, e.type);
5427
- return n && new Ue(n);
5427
+ return n && new Ve(n);
5428
5428
  }
5429
5429
  case _.NON_NULL_TYPE: {
5430
5430
  const n = nt(t, e.type);
@@ -5577,8 +5577,8 @@ class Su {
5577
5577
  }
5578
5578
  function yf(t, e, n) {
5579
5579
  const i = n.name.value;
5580
- if (i === vr.name && t.getQueryType() === e)
5581
- return vr;
5580
+ if (i === Er.name && t.getQueryType() === e)
5581
+ return Er;
5582
5582
  if (i === Tr.name && t.getQueryType() === e)
5583
5583
  return Tr;
5584
5584
  if (i === Sr.name && yn(e))
@@ -5591,14 +5591,14 @@ function _u(t, e) {
5591
5591
  enter(...n) {
5592
5592
  const i = n[0];
5593
5593
  t.enter(i);
5594
- const r = Er(e, i.kind).enter;
5594
+ const r = vr(e, i.kind).enter;
5595
5595
  if (r) {
5596
5596
  const s = r.apply(e, n);
5597
5597
  return s !== void 0 && (t.leave(i), fs(s) && t.enter(s)), s;
5598
5598
  }
5599
5599
  },
5600
5600
  leave(...n) {
5601
- const i = n[0], r = Er(e, i.kind).leave;
5601
+ const i = n[0], r = vr(e, i.kind).leave;
5602
5602
  let s;
5603
5603
  return r && (s = r.apply(e, n)), t.leave(i), s;
5604
5604
  }
@@ -5613,13 +5613,13 @@ function wf(t) {
5613
5613
  function Qs(t) {
5614
5614
  return t.kind === _.SCALAR_TYPE_DEFINITION || t.kind === _.OBJECT_TYPE_DEFINITION || t.kind === _.INTERFACE_TYPE_DEFINITION || t.kind === _.UNION_TYPE_DEFINITION || t.kind === _.ENUM_TYPE_DEFINITION || t.kind === _.INPUT_OBJECT_TYPE_DEFINITION;
5615
5615
  }
5616
- function Ef(t) {
5616
+ function vf(t) {
5617
5617
  return t.kind === _.SCHEMA_EXTENSION || Iu(t);
5618
5618
  }
5619
5619
  function Iu(t) {
5620
5620
  return t.kind === _.SCALAR_TYPE_EXTENSION || t.kind === _.OBJECT_TYPE_EXTENSION || t.kind === _.INTERFACE_TYPE_EXTENSION || t.kind === _.UNION_TYPE_EXTENSION || t.kind === _.ENUM_TYPE_EXTENSION || t.kind === _.INPUT_OBJECT_TYPE_EXTENSION;
5621
5621
  }
5622
- function vf(t) {
5622
+ function Ef(t) {
5623
5623
  return {
5624
5624
  Document(e) {
5625
5625
  for (const n of e.definitions)
@@ -5905,7 +5905,7 @@ const Uo = [...Zc, ...wu].map(
5905
5905
  (t) => t.name
5906
5906
  );
5907
5907
  function Lf(t) {
5908
- return "kind" in t && (wf(t) || Ef(t));
5908
+ return "kind" in t && (wf(t) || vf(t));
5909
5909
  }
5910
5910
  function kf(t) {
5911
5911
  let e = 0;
@@ -6387,15 +6387,15 @@ function Nu(t, e, n, i, r, s, o) {
6387
6387
  [u],
6388
6388
  [p]
6389
6389
  ];
6390
- const E = u.selectionSet, b = p.selectionSet;
6391
- if (E && b) {
6390
+ const v = u.selectionSet, b = p.selectionSet;
6391
+ if (v && b) {
6392
6392
  const O = qf(
6393
6393
  t,
6394
6394
  e,
6395
6395
  n,
6396
6396
  S,
6397
6397
  Pt(w),
6398
- E,
6398
+ v,
6399
6399
  Pt(C),
6400
6400
  b
6401
6401
  );
@@ -6666,16 +6666,16 @@ function Kt(t) {
6666
6666
  return e.reverse();
6667
6667
  }
6668
6668
  function nd(t, e, n = id) {
6669
- return Ei(t, e, n, void 0);
6669
+ return vi(t, e, n, void 0);
6670
6670
  }
6671
6671
  function id(t, e, n) {
6672
6672
  let i = "Invalid value " + V(e);
6673
6673
  throw t.length > 0 && (i += ` at "value${td(t)}"`), n.message = i + ": " + n.message, n;
6674
6674
  }
6675
- function Ei(t, e, n, i) {
6675
+ function vi(t, e, n, i) {
6676
6676
  if (re(e)) {
6677
6677
  if (t != null)
6678
- return Ei(t, e.ofType, n, i);
6678
+ return vi(t, e.ofType, n, i);
6679
6679
  n(
6680
6680
  Kt(i),
6681
6681
  t,
@@ -6691,8 +6691,8 @@ function Ei(t, e, n, i) {
6691
6691
  const r = e.ofType;
6692
6692
  return hu(t) ? Array.from(t, (s, o) => {
6693
6693
  const a = Bo(i, o, void 0);
6694
- return Ei(s, r, n, a);
6695
- }) : [Ei(t, r, n, i)];
6694
+ return vi(s, r, n, a);
6695
+ }) : [vi(t, r, n, i)];
6696
6696
  }
6697
6697
  if (ze(e)) {
6698
6698
  if (!Yt(t)) {
@@ -6721,7 +6721,7 @@ function Ei(t, e, n, i) {
6721
6721
  }
6722
6722
  continue;
6723
6723
  }
6724
- r[o.name] = Ei(
6724
+ r[o.name] = vi(
6725
6725
  a,
6726
6726
  o.type,
6727
6727
  n,
@@ -7409,8 +7409,8 @@ function wd(t, e, n, i, r) {
7409
7409
  }
7410
7410
  return Hn(t, e, i);
7411
7411
  }
7412
- const Ed = Object.freeze([$f]), Fu = Object.freeze([
7413
- vf,
7412
+ const vd = Object.freeze([$f]), Fu = Object.freeze([
7413
+ Ef,
7414
7414
  hd,
7415
7415
  kf,
7416
7416
  ud,
@@ -7436,9 +7436,9 @@ const Ed = Object.freeze([$f]), Fu = Object.freeze([
7436
7436
  bd,
7437
7437
  Bf,
7438
7438
  dd,
7439
- ...Ed
7439
+ ...vd
7440
7440
  ]);
7441
- class vd {
7441
+ class Ed {
7442
7442
  constructor(e, n) {
7443
7443
  this._ast = e, this._fragments = void 0, this._fragmentSpreads = /* @__PURE__ */ new Map(), this._recursivelyReferencedFragments = /* @__PURE__ */ new Map(), this._onError = n;
7444
7444
  }
@@ -7496,7 +7496,7 @@ class vd {
7496
7496
  return n;
7497
7497
  }
7498
7498
  }
7499
- class Td extends vd {
7499
+ class Td extends Ed {
7500
7500
  constructor(e, n, i, r) {
7501
7501
  super(n, r), this._schema = e, this._typeInfo = i, this._variableUsages = /* @__PURE__ */ new Map(), this._recursiveVariableUsages = /* @__PURE__ */ new Map();
7502
7502
  }
@@ -7664,7 +7664,7 @@ function Nd(t) {
7664
7664
  subscription: s(e.subscription)
7665
7665
  });
7666
7666
  function i(m) {
7667
- return je(m) ? new Ue(i(m.ofType)) : re(m) ? new ne(i(m.ofType)) : r(m);
7667
+ return je(m) ? new Ve(i(m.ofType)) : re(m) ? new ne(i(m.ofType)) : r(m);
7668
7668
  }
7669
7669
  function r(m) {
7670
7670
  return n[m.name];
@@ -7700,7 +7700,7 @@ function Nd(t) {
7700
7700
  return ns(m).map(r);
7701
7701
  }
7702
7702
  function p(m) {
7703
- if (Dn(m) || Eu(m))
7703
+ if (Dn(m) || vu(m))
7704
7704
  return m;
7705
7705
  if (pe(m)) {
7706
7706
  const S = m.toConfig();
@@ -8060,18 +8060,18 @@ function ws(t, e, n) {
8060
8060
  };
8061
8061
  throw new ie(`Expected input param ${a} to be an output type but got ${o}`);
8062
8062
  }
8063
- function Es(t, e, n) {
8063
+ function vs(t, e, n) {
8064
8064
  const i = typeof n == "object" ? n.items : !0, r = typeof n == "object" ? n.list : !!n;
8065
8065
  if (Array.isArray(t))
8066
8066
  return {
8067
8067
  kind: "List",
8068
- type: Es(t[0], e, i),
8068
+ type: vs(t[0], e, i),
8069
8069
  required: r
8070
8070
  };
8071
8071
  if (t instanceof jr)
8072
8072
  return {
8073
8073
  kind: "List",
8074
- type: Es(t.listType, e, t.required),
8074
+ type: vs(t.listType, e, t.required),
8075
8075
  required: r
8076
8076
  };
8077
8077
  const s = e.getInputTypeRef(t), o = s instanceof Ne ? s.kind : e.getTypeConfig(s).graphqlKind, a = s instanceof Ne ? s.name : e.getTypeConfig(s).name;
@@ -8124,8 +8124,8 @@ builder.objectType('MyObject', {
8124
8124
  function Qd(t) {
8125
8125
  return typeof t == "object" && t !== null && Nr in t ? t[Nr] : null;
8126
8126
  }
8127
- function vs(t) {
8128
- return Array.isArray(t) ? vs(t[0]) : t instanceof Pr || t instanceof jr ? vs(t.listType) : t;
8127
+ function Es(t) {
8128
+ return Array.isArray(t) ? Es(t[0]) : t instanceof Pr || t instanceof jr ? Es(t.listType) : t;
8129
8129
  }
8130
8130
  function dt(t, e, n) {
8131
8131
  return e in t ? Object.defineProperty(t, e, {
@@ -8211,10 +8211,10 @@ class Wd {
8211
8211
  this.types.set(e, n);
8212
8212
  }
8213
8213
  buildOutputTypeParam(e) {
8214
- return e.kind === "List" ? e.nullable ? new Ue(this.buildOutputTypeParam(e.type)) : new ne(new Ue(this.buildOutputTypeParam(e.type))) : e.nullable ? this.getOutputType(e.ref) : new ne(this.getOutputType(e.ref));
8214
+ return e.kind === "List" ? e.nullable ? new Ve(this.buildOutputTypeParam(e.type)) : new ne(new Ve(this.buildOutputTypeParam(e.type))) : e.nullable ? this.getOutputType(e.ref) : new ne(this.getOutputType(e.ref));
8215
8215
  }
8216
8216
  buildInputTypeParam(e) {
8217
- return e.kind === "List" ? e.required ? new ne(new Ue(this.buildInputTypeParam(e.type))) : new Ue(this.buildInputTypeParam(e.type)) : e.required ? new ne(this.getInputType(e.ref)) : this.getInputType(e.ref);
8217
+ return e.kind === "List" ? e.required ? new ne(new Ve(this.buildInputTypeParam(e.type))) : new Ve(this.buildInputTypeParam(e.type)) : e.required ? new ne(this.getInputType(e.ref)) : this.getInputType(e.ref);
8218
8218
  }
8219
8219
  buildFields(e) {
8220
8220
  const n = {};
@@ -8542,7 +8542,7 @@ class Zd {
8542
8542
  addFieldRef(e, n, i, r) {
8543
8543
  if (this.fieldRefs.has(e))
8544
8544
  throw new ie(`FieldRef ${String(e)} has already been added to config store`);
8545
- const s = vs(n), o = Object.keys(i).map((u) => {
8545
+ const s = Es(n), o = Object.keys(i).map((u) => {
8546
8546
  const c = i[u];
8547
8547
  return c.fieldName = u, c.argFor = e, c;
8548
8548
  }), a = () => {
@@ -8778,7 +8778,7 @@ class Ts {
8778
8778
  kind: this.kind,
8779
8779
  graphqlKind: this.kind,
8780
8780
  parentType: s.name,
8781
- type: Es(e.type, this.builder.configStore, (o = e.required) !== null && o !== void 0 ? o : this.builder.defaultInputFieldRequiredness),
8781
+ type: vs(e.type, this.builder.configStore, (o = e.required) !== null && o !== void 0 ? o : this.builder.defaultInputFieldRequiredness),
8782
8782
  pothosOptions: e,
8783
8783
  description: e.description,
8784
8784
  deprecationReason: e.deprecationReason,
@@ -9246,7 +9246,7 @@ class ch extends Du {
9246
9246
  super(n), fr(this, "builder", void 0), this.builder = e;
9247
9247
  }
9248
9248
  }
9249
- function vi(t, e, n) {
9249
+ function Ei(t, e, n) {
9250
9250
  return e in t ? Object.defineProperty(t, e, {
9251
9251
  value: n,
9252
9252
  enumerable: !0,
@@ -9257,7 +9257,7 @@ function vi(t, e, n) {
9257
9257
  let fh = $n, dh = ui;
9258
9258
  class $u extends Ne {
9259
9259
  constructor(e) {
9260
- super("Interface", e), vi(this, "kind", "Interface"), vi(this, "$inferType", void 0), vi(this, fh, void 0), vi(this, dh, void 0);
9260
+ super("Interface", e), Ei(this, "kind", "Interface"), Ei(this, "$inferType", void 0), Ei(this, fh, void 0), Ei(this, dh, void 0);
9261
9261
  }
9262
9262
  }
9263
9263
  class hh extends $u {
@@ -9265,7 +9265,7 @@ class hh extends $u {
9265
9265
  return this.builder.interfaceType(this, e);
9266
9266
  }
9267
9267
  constructor(e, n) {
9268
- super(n), vi(this, "builder", void 0), this.builder = e;
9268
+ super(n), Ei(this, "builder", void 0), this.builder = e;
9269
9269
  }
9270
9270
  }
9271
9271
  function Ti(t, e, n) {
@@ -9554,7 +9554,7 @@ let Js = class {
9554
9554
  };
9555
9555
  qn(Js, "plugins", {});
9556
9556
  qn(Js, "allowPluginReRegistration", !1);
9557
- const Eh = Js;
9557
+ const vh = Js;
9558
9558
  function Ho(t) {
9559
9559
  return t;
9560
9560
  }
@@ -9591,7 +9591,7 @@ function Ks(t, e, n) {
9591
9591
  throw new TypeError(t + " cannot represent value: " + be(e));
9592
9592
  }
9593
9593
  }
9594
- var vh = new Ut({
9594
+ var Eh = new Ut({
9595
9595
  name: "JSON",
9596
9596
  description: "The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).",
9597
9597
  specifiedByUrl: "http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf",
@@ -9803,8 +9803,8 @@ function Rh(t) {
9803
9803
  S.set(s, w);
9804
9804
  const C = /* @__PURE__ */ new WeakMap();
9805
9805
  w.set(o, C);
9806
- const E = t(i, r, s, o, a);
9807
- return C.set(a, E), E;
9806
+ const v = t(i, r, s, o, a);
9807
+ return C.set(a, v), v;
9808
9808
  }
9809
9809
  let c = u.get(r);
9810
9810
  if (!c) {
@@ -10156,7 +10156,7 @@ function Jh(t) {
10156
10156
  const Kh = (t) => {
10157
10157
  if (t == null)
10158
10158
  return {};
10159
- if (vu(t))
10159
+ if (Eu(t))
10160
10160
  return {
10161
10161
  onPluginInit({ setSchema: n }) {
10162
10162
  n(t);
@@ -10418,16 +10418,16 @@ function Wu(t) {
10418
10418
  Tu(e);
10419
10419
  const p = sp(n);
10420
10420
  let m;
10421
- for (const E of n.definitions)
10422
- switch (E.kind) {
10421
+ for (const v of n.definitions)
10422
+ switch (v.kind) {
10423
10423
  case _.OPERATION_DEFINITION:
10424
10424
  if (o == null) {
10425
10425
  if (m !== void 0)
10426
10426
  return [
10427
10427
  Y("Must provide operation name if query contains multiple operations.")
10428
10428
  ];
10429
- m = E;
10430
- } else ((C = E.name) == null ? void 0 : C.value) === o && (m = E);
10429
+ m = v;
10430
+ } else ((C = v.name) == null ? void 0 : C.value) === o && (m = v);
10431
10431
  break;
10432
10432
  }
10433
10433
  if (m == null)
@@ -10522,7 +10522,7 @@ function Hu(t, e, n, i, r, s) {
10522
10522
  const p = Vu(a, i[0], t.variableValues), m = t.contextValue, S = c(n, p, m, f);
10523
10523
  let w;
10524
10524
  return Pe(S) ? w = S.then((C) => wn(t, u, i, f, r, C, s)) : w = wn(t, u, i, f, r, S, s), Pe(w) ? w.then(void 0, (C) => {
10525
- const E = gt(C, i, Me(r)), b = Ht(E, u, o);
10525
+ const v = gt(C, i, Me(r)), b = Ht(v, u, o);
10526
10526
  return pt(t, r, s), b;
10527
10527
  }) : w;
10528
10528
  } catch (p) {
@@ -10596,7 +10596,7 @@ async function lp(t, e, n, i, r, s, o) {
10596
10596
  let p = 0;
10597
10597
  for (; ; ) {
10598
10598
  if (u && typeof u.initialCount == "number" && p >= u.initialCount) {
10599
- Ep(p, s, t, n, i, e, r, u.label, o);
10599
+ vp(p, s, t, n, i, e, r, u.label, o);
10600
10600
  break;
10601
10601
  }
10602
10602
  const S = li(r, p, void 0);
@@ -10605,8 +10605,8 @@ async function lp(t, e, n, i, r, s, o) {
10605
10605
  if (w = await s.next(), w.done)
10606
10606
  break;
10607
10607
  } catch (C) {
10608
- const E = gt(C, n, Me(S));
10609
- f.push(Ht(E, e, a));
10608
+ const v = gt(C, n, Me(S));
10609
+ f.push(Ht(v, e, a));
10610
10610
  break;
10611
10611
  }
10612
10612
  Ku(w.value, f, a, t, e, n, i, S, o) && (c = !0), p += 1;
@@ -10897,7 +10897,7 @@ async function wp(t, e, n, i, r, s, o) {
10897
10897
  return pt(e, o, s), { done: !1, value: p };
10898
10898
  }
10899
10899
  }
10900
- async function Ep(t, e, n, i, r, s, o, a, u) {
10900
+ async function vp(t, e, n, i, r, s, o, a, u) {
10901
10901
  let c = t, f = u ?? void 0;
10902
10902
  for (; ; ) {
10903
10903
  const p = li(o, c, void 0), m = new el({
@@ -10916,8 +10916,8 @@ async function Ep(t, e, n, i, r, s, o, a, u) {
10916
10916
  return;
10917
10917
  }
10918
10918
  const { done: w, value: C } = S;
10919
- let E;
10920
- if (Pe(C) ? E = C.then((b) => [b], (b) => (m.errors.push(b), pt(n, o, m), null)) : E = [C], m.addItems(E), w)
10919
+ let v;
10920
+ if (Pe(C) ? v = C.then((b) => [b], (b) => (m.errors.push(b), pt(n, o, m), null)) : v = [C], m.addItems(v), w)
10921
10921
  break;
10922
10922
  f = m, c++;
10923
10923
  }
@@ -10935,7 +10935,7 @@ function pt(t, e, n) {
10935
10935
  }
10936
10936
  });
10937
10937
  }
10938
- function vp(t) {
10938
+ function Ep(t) {
10939
10939
  const e = [];
10940
10940
  for (const n of t.subsequentPayloads) {
10941
10941
  const i = {};
@@ -10961,7 +10961,7 @@ function Tp(t) {
10961
10961
  return { value: void 0, done: !0 };
10962
10962
  if (await Promise.race(Array.from(t.subsequentPayloads).map((o) => o.promise)), e)
10963
10963
  return { value: void 0, done: !0 };
10964
- const r = vp(t), s = t.subsequentPayloads.size > 0;
10964
+ const r = Ep(t), s = t.subsequentPayloads.size > 0;
10965
10965
  return !r.length && s ? n() : (s || (e = !0), {
10966
10966
  value: r.length ? { incremental: r, hasNext: s } : { hasNext: s },
10967
10967
  done: !1
@@ -11035,7 +11035,7 @@ function eo(t) {
11035
11035
  }
11036
11036
  function tl(t, e, n) {
11037
11037
  const i = n.name.value;
11038
- return i === vr.name && t.getQueryType() === e ? vr : i === Tr.name && t.getQueryType() === e ? Tr : i === Sr.name ? Sr : e.getFields()[i];
11038
+ return i === Er.name && t.getQueryType() === e ? Er : i === Tr.name && t.getQueryType() === e ? Tr : i === Sr.name ? Sr : e.getFields()[i];
11039
11039
  }
11040
11040
  function ga(t) {
11041
11041
  const e = Ys(t.document, t.operationName);
@@ -11311,7 +11311,7 @@ function ar(t, e) {
11311
11311
  status: t.status || 500
11312
11312
  });
11313
11313
  }
11314
- function Ea(t, e) {
11314
+ function va(t, e) {
11315
11315
  if (t == null)
11316
11316
  return {};
11317
11317
  const n = {}, i = /* @__PURE__ */ new Set();
@@ -11365,7 +11365,7 @@ function Yp() {
11365
11365
  }
11366
11366
  };
11367
11367
  }
11368
- function va(t, e) {
11368
+ function Ea(t, e) {
11369
11369
  if (dn(t) && e) {
11370
11370
  const n = Yp();
11371
11371
  return e.addEventListener("abort", function() {
@@ -11470,8 +11470,8 @@ function ng(t, e) {
11470
11470
  ...e == null ? void 0 : e.fetchAPI
11471
11471
  }, i = typeof t == "function" ? t : t.handle, r = [], s = [];
11472
11472
  if ((e == null ? void 0 : e.plugins) != null)
11473
- for (const E of e.plugins)
11474
- E.onRequest && r.push(E.onRequest), E.onResponse && s.push(E.onResponse);
11473
+ for (const v of e.plugins)
11474
+ v.onRequest && r.push(v.onRequest), v.onResponse && s.push(v.onResponse);
11475
11475
  const o = r.length > 0 || s.length > 0 ? function(b, O) {
11476
11476
  let x = i, A;
11477
11477
  if (r.length === 0)
@@ -11513,13 +11513,13 @@ function ng(t, e) {
11513
11513
  }
11514
11514
  return dn(T) ? T.then(g) : g();
11515
11515
  } : i;
11516
- function a(E, ...b) {
11517
- const O = b.length > 1 ? or(...b) : b[0] || {}, x = Gp(E, n.Request);
11516
+ function a(v, ...b) {
11517
+ const O = b.length > 1 ? or(...b) : b[0] || {}, x = Gp(v, n.Request);
11518
11518
  return o(x, O);
11519
11519
  }
11520
- function u(E, b, ...O) {
11520
+ function u(v, b, ...O) {
11521
11521
  const x = [], A = {
11522
- req: E,
11522
+ req: v,
11523
11523
  res: b,
11524
11524
  waitUntil(T) {
11525
11525
  x.push(T.catch((N) => console.error(N)));
@@ -11527,34 +11527,34 @@ function ng(t, e) {
11527
11527
  };
11528
11528
  let L;
11529
11529
  try {
11530
- L = a(E, A, ...O);
11530
+ L = a(v, A, ...O);
11531
11531
  } catch (T) {
11532
11532
  L = ar(T, n.Response);
11533
11533
  }
11534
11534
  if (dn(L))
11535
- return L.catch((T) => ar(T, n.Response)).then((T) => ba(T, b, E)).catch((T) => {
11535
+ return L.catch((T) => ar(T, n.Response)).then((T) => ba(T, b, v)).catch((T) => {
11536
11536
  console.error(`Unexpected error while handling request: ${T.message || T}`);
11537
11537
  });
11538
11538
  try {
11539
- return ba(L, b, E);
11539
+ return ba(L, b, v);
11540
11540
  } catch (T) {
11541
11541
  console.error(`Unexpected error while handling request: ${T.message || T}`);
11542
11542
  }
11543
11543
  }
11544
- function c(E, b, ...O) {
11544
+ function c(v, b, ...O) {
11545
11545
  const x = [], A = {
11546
- res: E,
11546
+ res: v,
11547
11547
  req: b,
11548
11548
  waitUntil(d) {
11549
11549
  x.push(d.catch((I) => console.error(I)));
11550
11550
  }
11551
11551
  }, T = O.filter((d) => d != null).length > 0 ? or(A, ...O) : A, N = Kp({
11552
11552
  req: b,
11553
- res: E,
11553
+ res: v,
11554
11554
  fetchAPI: n
11555
11555
  });
11556
11556
  let g = !1;
11557
- E.onAborted(() => {
11557
+ v.onAborted(() => {
11558
11558
  g = !0, N.signal.sendAbort();
11559
11559
  });
11560
11560
  let y;
@@ -11566,52 +11566,52 @@ function ng(t, e) {
11566
11566
  if (dn(y))
11567
11567
  return y.catch((d) => ar(d, n.Response)).then((d) => {
11568
11568
  if (!g)
11569
- return Ta(E, d);
11569
+ return Ta(v, d);
11570
11570
  }).catch((d) => {
11571
11571
  console.error(`Unexpected error while handling request: ${d.message || d}`);
11572
11572
  });
11573
11573
  try {
11574
- return Ta(E, y);
11574
+ return Ta(v, y);
11575
11575
  } catch (d) {
11576
11576
  console.error(`Unexpected error while handling request: ${d.message || d}`);
11577
11577
  }
11578
11578
  }
11579
- function f(E, ...b) {
11580
- if (!E.respondWith || !E.request)
11581
- throw new TypeError(`Expected FetchEvent, got ${E}`);
11582
- const O = b.filter((L) => L != null), x = O.length > 0 ? or({}, E, ...O) : Ea(E), A = o(E.request, x);
11583
- E.respondWith(A);
11579
+ function f(v, ...b) {
11580
+ if (!v.respondWith || !v.request)
11581
+ throw new TypeError(`Expected FetchEvent, got ${v}`);
11582
+ const O = b.filter((L) => L != null), x = O.length > 0 ? or({}, v, ...O) : va(v), A = o(v.request, x);
11583
+ v.respondWith(A);
11584
11584
  }
11585
- function p(E, ...b) {
11585
+ function p(v, ...b) {
11586
11586
  const O = b.filter((T) => T != null);
11587
11587
  let x;
11588
- const A = O.length > 1 ? or(...O) : Ea(O[0], O[0] == null || O[0].waitUntil == null ? x = [] : void 0), L = o(E, A);
11588
+ const A = O.length > 1 ? or(...O) : va(O[0], O[0] == null || O[0].waitUntil == null ? x = [] : void 0), L = o(v, A);
11589
11589
  return x != null && x.length ? Zp(x).then(() => L) : L;
11590
11590
  }
11591
- const m = (E, ...b) => {
11592
- if (typeof E == "string" || "href" in E) {
11591
+ const m = (v, ...b) => {
11592
+ if (typeof v == "string" || "href" in v) {
11593
11593
  const [x, ...A] = b;
11594
11594
  if (Hp(x)) {
11595
- const T = new n.Request(E, x), N = p(T, ...A);
11596
- return va(N, x == null ? void 0 : x.signal);
11595
+ const T = new n.Request(v, x), N = p(T, ...A);
11596
+ return Ea(N, x == null ? void 0 : x.signal);
11597
11597
  }
11598
- const L = new n.Request(E);
11598
+ const L = new n.Request(v);
11599
11599
  return p(L, ...b);
11600
11600
  }
11601
- const O = p(E, ...b);
11602
- return va(O, E._signal);
11603
- }, S = (E, ...b) => {
11601
+ const O = p(v, ...b);
11602
+ return Ea(O, v._signal);
11603
+ }, S = (v, ...b) => {
11604
11604
  const [O, ...x] = b;
11605
- if (qp(E)) {
11605
+ if (qp(v)) {
11606
11606
  if (!ya(O))
11607
11607
  throw new TypeError(`Expected ServerResponse, got ${O}`);
11608
- return u(E, O, ...x);
11608
+ return u(v, O, ...x);
11609
11609
  }
11610
- if (Jp(E))
11611
- return c(E, O, ...x);
11610
+ if (Jp(v))
11611
+ return c(v, O, ...x);
11612
11612
  if (ya(O))
11613
11613
  throw new TypeError("Got Node response without Node request");
11614
- return eg(E) ? zp(E) ? f(E, ...b) : p(E.request, E, ...b) : m(E, ...b);
11614
+ return eg(v) ? zp(v) ? f(v, ...b) : p(v.request, v, ...b) : m(v, ...b);
11615
11615
  }, w = {
11616
11616
  handleRequest: o,
11617
11617
  fetch: m,
@@ -11622,8 +11622,8 @@ function ng(t, e) {
11622
11622
  handle: S
11623
11623
  }, C = new Proxy(S, {
11624
11624
  // It should have all the attributes of the handler function and the server instance
11625
- has: (E, b) => b in w || b in S || t && b in t,
11626
- get: (E, b) => {
11625
+ has: (v, b) => b in w || b in S || t && b in t,
11626
+ get: (v, b) => {
11627
11627
  const O = w[b];
11628
11628
  if (O)
11629
11629
  return O.bind ? O.bind(w) : O;
@@ -11639,7 +11639,7 @@ function ng(t, e) {
11639
11639
  } : A;
11640
11640
  }
11641
11641
  },
11642
- apply(E, b, O) {
11642
+ apply(v, b, O) {
11643
11643
  return S(...O);
11644
11644
  }
11645
11645
  });
@@ -11855,8 +11855,8 @@ async function wg(t) {
11855
11855
  }
11856
11856
  return i;
11857
11857
  }
11858
- const Eg = /* @__PURE__ */ new Set(["query", "variables", "operationName", "extensions"]);
11859
- function vg(t) {
11858
+ const vg = /* @__PURE__ */ new Set(["query", "variables", "operationName", "extensions"]);
11859
+ function Eg(t) {
11860
11860
  if (t == null || typeof t != "object")
11861
11861
  throw Y('Invalid "params" in the request body', {
11862
11862
  extensions: {
@@ -11867,7 +11867,7 @@ function vg(t) {
11867
11867
  }
11868
11868
  });
11869
11869
  for (const e in t)
11870
- if (t[e] != null && !Eg.has(e))
11870
+ if (t[e] != null && !vg.has(e))
11871
11871
  throw Y(`Unexpected parameter "${e}" in the request body.`, {
11872
11872
  extensions: {
11873
11873
  http: {
@@ -11888,7 +11888,7 @@ function Tg(t) {
11888
11888
  }
11889
11889
  }
11890
11890
  });
11891
- if (vg(t), t.query == null)
11891
+ if (Eg(t), t.query == null)
11892
11892
  throw Y("Must provide query string.", {
11893
11893
  extensions: {
11894
11894
  http: {
@@ -12141,16 +12141,16 @@ let Lg = (Qt = class {
12141
12141
  }
12142
12142
  }, Yn = new WeakMap(), // private constructor
12143
12143
  Q(Qt, Yn, !1), Qt);
12144
- var Da, $a, Et, it, vt, Tt, Jn, Ie, St, ve, de, ee, Qe, rt, Ge, Fe, _t, Ce, It, Ot, st, Nt, hn, We, z, Os, An, Zt, Li, ot, fl, xn, Kn, ki, sn, on, Ns, gr, mr, ce, As, _i, Xn;
12144
+ var Da, $a, vt, it, Et, Tt, Jn, Ie, St, Ee, de, ee, Qe, rt, Ge, Fe, _t, Ce, It, Ot, st, Nt, hn, We, z, Os, An, Zt, Li, ot, fl, xn, Kn, ki, sn, on, Ns, gr, mr, ce, As, _i, Xn;
12145
12145
  let kg = (Xn = class {
12146
12146
  constructor(e) {
12147
12147
  Q(this, z);
12148
12148
  // properties coming in from the options of these, only max and maxSize
12149
12149
  // really *need* to be protected. The rest can be modified, as they just
12150
12150
  // set defaults for various methods.
12151
- Q(this, Et);
12152
- Q(this, it);
12153
12151
  Q(this, vt);
12152
+ Q(this, it);
12153
+ Q(this, Et);
12154
12154
  Q(this, Tt);
12155
12155
  Q(this, Jn);
12156
12156
  /**
@@ -12216,7 +12216,7 @@ let kg = (Xn = class {
12216
12216
  // computed properties
12217
12217
  Q(this, Ie);
12218
12218
  Q(this, St);
12219
- Q(this, ve);
12219
+ Q(this, Ee);
12220
12220
  Q(this, de);
12221
12221
  Q(this, ee);
12222
12222
  Q(this, Qe);
@@ -12254,21 +12254,21 @@ let kg = (Xn = class {
12254
12254
  * Called by the built-in method Object.prototype.toString.
12255
12255
  */
12256
12256
  H(this, Da, "LRUCache");
12257
- const { max: n = 0, ttl: i, ttlResolution: r = 1, ttlAutopurge: s, updateAgeOnGet: o, updateAgeOnHas: a, allowStale: u, dispose: c, disposeAfter: f, noDisposeOnSet: p, noUpdateTTL: m, maxSize: S = 0, maxEntrySize: w = 0, sizeCalculation: C, fetchMethod: E, noDeleteOnFetchRejection: b, noDeleteOnStaleGet: O, allowStaleOnFetchRejection: x, allowStaleOnFetchAbort: A, ignoreFetchAbort: L } = e;
12257
+ const { max: n = 0, ttl: i, ttlResolution: r = 1, ttlAutopurge: s, updateAgeOnGet: o, updateAgeOnHas: a, allowStale: u, dispose: c, disposeAfter: f, noDisposeOnSet: p, noUpdateTTL: m, maxSize: S = 0, maxEntrySize: w = 0, sizeCalculation: C, fetchMethod: v, noDeleteOnFetchRejection: b, noDeleteOnStaleGet: O, allowStaleOnFetchRejection: x, allowStaleOnFetchAbort: A, ignoreFetchAbort: L } = e;
12258
12258
  if (n !== 0 && !rn(n))
12259
12259
  throw new TypeError("max option must be a nonnegative integer");
12260
12260
  const T = n ? cl(n) : Array;
12261
12261
  if (!T)
12262
12262
  throw new Error("invalid max value: " + n);
12263
- if ($(this, Et, n), $(this, it, S), this.maxEntrySize = w || l(this, it), this.sizeCalculation = C, this.sizeCalculation) {
12263
+ if ($(this, vt, n), $(this, it, S), this.maxEntrySize = w || l(this, it), this.sizeCalculation = C, this.sizeCalculation) {
12264
12264
  if (!l(this, it) && !this.maxEntrySize)
12265
12265
  throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");
12266
12266
  if (typeof this.sizeCalculation != "function")
12267
12267
  throw new TypeError("sizeCalculation set to non-function");
12268
12268
  }
12269
- if (E !== void 0 && typeof E != "function")
12269
+ if (v !== void 0 && typeof v != "function")
12270
12270
  throw new TypeError("fetchMethod must be a function if specified");
12271
- if ($(this, Jn, E), $(this, hn, !!E), $(this, ve, /* @__PURE__ */ new Map()), $(this, de, new Array(n).fill(void 0)), $(this, ee, new Array(n).fill(void 0)), $(this, Qe, new T(n)), $(this, rt, new T(n)), $(this, Ge, 0), $(this, Fe, 0), $(this, _t, Lg.create(n)), $(this, Ie, 0), $(this, St, 0), typeof c == "function" && $(this, vt, c), typeof f == "function" ? ($(this, Tt, f), $(this, Ce, [])) : ($(this, Tt, void 0), $(this, Ce, void 0)), $(this, Nt, !!l(this, vt)), $(this, We, !!l(this, Tt)), this.noDisposeOnSet = !!p, this.noUpdateTTL = !!m, this.noDeleteOnFetchRejection = !!b, this.allowStaleOnFetchRejection = !!x, this.allowStaleOnFetchAbort = !!A, this.ignoreFetchAbort = !!L, this.maxEntrySize !== 0) {
12271
+ if ($(this, Jn, v), $(this, hn, !!v), $(this, Ee, /* @__PURE__ */ new Map()), $(this, de, new Array(n).fill(void 0)), $(this, ee, new Array(n).fill(void 0)), $(this, Qe, new T(n)), $(this, rt, new T(n)), $(this, Ge, 0), $(this, Fe, 0), $(this, _t, Lg.create(n)), $(this, Ie, 0), $(this, St, 0), typeof c == "function" && $(this, Et, c), typeof f == "function" ? ($(this, Tt, f), $(this, Ce, [])) : ($(this, Tt, void 0), $(this, Ce, void 0)), $(this, Nt, !!l(this, Et)), $(this, We, !!l(this, Tt)), this.noDisposeOnSet = !!p, this.noUpdateTTL = !!m, this.noDeleteOnFetchRejection = !!b, this.allowStaleOnFetchRejection = !!x, this.allowStaleOnFetchAbort = !!A, this.ignoreFetchAbort = !!L, this.maxEntrySize !== 0) {
12272
12272
  if (l(this, it) !== 0 && !rn(l(this, it)))
12273
12273
  throw new TypeError("maxSize must be a positive integer if specified");
12274
12274
  if (!rn(this.maxEntrySize))
@@ -12280,9 +12280,9 @@ let kg = (Xn = class {
12280
12280
  throw new TypeError("ttl must be a positive integer if specified");
12281
12281
  k(this, z, Os).call(this);
12282
12282
  }
12283
- if (l(this, Et) === 0 && this.ttl === 0 && l(this, it) === 0)
12283
+ if (l(this, vt) === 0 && this.ttl === 0 && l(this, it) === 0)
12284
12284
  throw new TypeError("At least one of max, maxSize, or ttl is required");
12285
- if (!this.ttlAutopurge && !l(this, Et) && !l(this, it)) {
12285
+ if (!this.ttlAutopurge && !l(this, vt) && !l(this, it)) {
12286
12286
  const N = "LRU_CACHE_UNBOUNDED";
12287
12287
  Rg(N) && (ul.add(N), ll("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", N, Xn));
12288
12288
  }
@@ -12302,7 +12302,7 @@ let kg = (Xn = class {
12302
12302
  starts: l(e, Ot),
12303
12303
  ttls: l(e, st),
12304
12304
  sizes: l(e, It),
12305
- keyMap: l(e, ve),
12305
+ keyMap: l(e, Ee),
12306
12306
  keyList: l(e, de),
12307
12307
  valList: l(e, ee),
12308
12308
  next: l(e, Qe),
@@ -12346,7 +12346,7 @@ let kg = (Xn = class {
12346
12346
  * {@link LRUCache.OptionsBase.max} (read-only)
12347
12347
  */
12348
12348
  get max() {
12349
- return l(this, Et);
12349
+ return l(this, vt);
12350
12350
  }
12351
12351
  /**
12352
12352
  * {@link LRUCache.OptionsBase.maxSize} (read-only)
@@ -12376,7 +12376,7 @@ let kg = (Xn = class {
12376
12376
  * {@link LRUCache.OptionsBase.dispose} (read-only)
12377
12377
  */
12378
12378
  get dispose() {
12379
- return l(this, vt);
12379
+ return l(this, Et);
12380
12380
  }
12381
12381
  /**
12382
12382
  * {@link LRUCache.OptionsBase.disposeAfter} (read-only)
@@ -12388,7 +12388,7 @@ let kg = (Xn = class {
12388
12388
  * Return the remaining TTL time for a given entry key
12389
12389
  */
12390
12390
  getRemainingTTL(e) {
12391
- return l(this, ve).has(e) ? 1 / 0 : 0;
12391
+ return l(this, Ee).has(e) ? 1 / 0 : 0;
12392
12392
  }
12393
12393
  /**
12394
12394
  * Return a generator yielding `[key, value]` pairs,
@@ -12505,7 +12505,7 @@ let kg = (Xn = class {
12505
12505
  * cache, so be sure to check for expired TTLs if relevant.
12506
12506
  */
12507
12507
  info(e) {
12508
- const n = l(this, ve).get(e);
12508
+ const n = l(this, Ee).get(e);
12509
12509
  if (n === void 0)
12510
12510
  return;
12511
12511
  const i = l(this, ee)[n], r = k(this, z, ce).call(this, i) ? i.__staleWhileFetching : i;
@@ -12563,7 +12563,7 @@ let kg = (Xn = class {
12563
12563
  * {@link LRUCache#delete}
12564
12564
  */
12565
12565
  set(e, n, i = {}) {
12566
- var m, S, w, C, E;
12566
+ var m, S, w, C, v;
12567
12567
  if (n === void 0)
12568
12568
  return this.delete(e), this;
12569
12569
  const { ttl: r = this.ttl, start: s, noDisposeOnSet: o = this.noDisposeOnSet, sizeCalculation: a = this.sizeCalculation, status: u } = i;
@@ -12571,9 +12571,9 @@ let kg = (Xn = class {
12571
12571
  const f = l(this, ki).call(this, e, n, i.size || 0, a);
12572
12572
  if (this.maxEntrySize && f > this.maxEntrySize)
12573
12573
  return u && (u.set = "miss", u.maxEntrySizeExceeded = !0), this.delete(e), this;
12574
- let p = l(this, Ie) === 0 ? void 0 : l(this, ve).get(e);
12574
+ let p = l(this, Ie) === 0 ? void 0 : l(this, Ee).get(e);
12575
12575
  if (p === void 0)
12576
- p = l(this, Ie) === 0 ? l(this, Fe) : l(this, _t).length !== 0 ? l(this, _t).pop() : l(this, Ie) === l(this, Et) ? k(this, z, gr).call(this, !1) : l(this, Ie), l(this, de)[p] = e, l(this, ee)[p] = n, l(this, ve).set(e, p), l(this, Qe)[l(this, Fe)] = p, l(this, rt)[p] = l(this, Fe), $(this, Fe, p), vn(this, Ie)._++, l(this, Kn).call(this, p, f, u), u && (u.set = "add"), c = !1;
12576
+ p = l(this, Ie) === 0 ? l(this, Fe) : l(this, _t).length !== 0 ? l(this, _t).pop() : l(this, Ie) === l(this, vt) ? k(this, z, gr).call(this, !1) : l(this, Ie), l(this, de)[p] = e, l(this, ee)[p] = n, l(this, Ee).set(e, p), l(this, Qe)[l(this, Fe)] = p, l(this, rt)[p] = l(this, Fe), $(this, Fe, p), En(this, Ie)._++, l(this, Kn).call(this, p, f, u), u && (u.set = "add"), c = !1;
12577
12577
  else {
12578
12578
  k(this, z, _i).call(this, p);
12579
12579
  const b = l(this, ee)[p];
@@ -12581,8 +12581,8 @@ let kg = (Xn = class {
12581
12581
  if (l(this, hn) && k(this, z, ce).call(this, b)) {
12582
12582
  b.__abortController.abort(new Error("replaced"));
12583
12583
  const { __staleWhileFetching: O } = b;
12584
- O !== void 0 && !o && (l(this, Nt) && ((m = l(this, vt)) == null || m.call(this, O, e, "set")), l(this, We) && ((S = l(this, Ce)) == null || S.push([O, e, "set"])));
12585
- } else o || (l(this, Nt) && ((w = l(this, vt)) == null || w.call(this, b, e, "set")), l(this, We) && ((C = l(this, Ce)) == null || C.push([b, e, "set"])));
12584
+ O !== void 0 && !o && (l(this, Nt) && ((m = l(this, Et)) == null || m.call(this, O, e, "set")), l(this, We) && ((S = l(this, Ce)) == null || S.push([O, e, "set"])));
12585
+ } else o || (l(this, Nt) && ((w = l(this, Et)) == null || w.call(this, b, e, "set")), l(this, We) && ((C = l(this, Ce)) == null || C.push([b, e, "set"])));
12586
12586
  if (l(this, xn).call(this, p), l(this, Kn).call(this, p, f, u), l(this, ee)[p] = n, u) {
12587
12587
  u.set = "replace";
12588
12588
  const O = b && k(this, z, ce).call(this, b) ? b.__staleWhileFetching : b;
@@ -12594,7 +12594,7 @@ let kg = (Xn = class {
12594
12594
  const b = l(this, Ce);
12595
12595
  let O;
12596
12596
  for (; O = b == null ? void 0 : b.shift(); )
12597
- (E = l(this, Tt)) == null || E.call(this, ...O);
12597
+ (v = l(this, Tt)) == null || v.call(this, ...O);
12598
12598
  }
12599
12599
  return this;
12600
12600
  }
@@ -12631,7 +12631,7 @@ let kg = (Xn = class {
12631
12631
  * {@link LRUCache.OptionsBase.updateAgeOnHas} is set.
12632
12632
  */
12633
12633
  has(e, n = {}) {
12634
- const { updateAgeOnHas: i = this.updateAgeOnHas, status: r } = n, s = l(this, ve).get(e);
12634
+ const { updateAgeOnHas: i = this.updateAgeOnHas, status: r } = n, s = l(this, Ee).get(e);
12635
12635
  if (s !== void 0) {
12636
12636
  const o = l(this, ee)[s];
12637
12637
  if (k(this, z, ce).call(this, o) && o.__staleWhileFetching === void 0)
@@ -12650,7 +12650,7 @@ let kg = (Xn = class {
12650
12650
  * {@link LRUCache.OptionsBase.allowStale} is set.
12651
12651
  */
12652
12652
  peek(e, n = {}) {
12653
- const { allowStale: i = this.allowStale } = n, r = l(this, ve).get(e);
12653
+ const { allowStale: i = this.allowStale } = n, r = l(this, Ee).get(e);
12654
12654
  if (r === void 0 || !i && l(this, ot).call(this, r))
12655
12655
  return;
12656
12656
  const s = l(this, ee)[r];
@@ -12674,7 +12674,7 @@ let kg = (Xn = class {
12674
12674
  ignoreFetchAbort: S = this.ignoreFetchAbort,
12675
12675
  allowStaleOnFetchAbort: w = this.allowStaleOnFetchAbort,
12676
12676
  context: C,
12677
- forceRefresh: E = !1,
12677
+ forceRefresh: v = !1,
12678
12678
  status: b,
12679
12679
  signal: O
12680
12680
  } = n;
@@ -12701,7 +12701,7 @@ let kg = (Xn = class {
12701
12701
  status: b,
12702
12702
  signal: O
12703
12703
  };
12704
- let A = l(this, ve).get(e);
12704
+ let A = l(this, Ee).get(e);
12705
12705
  if (A === void 0) {
12706
12706
  b && (b.fetch = "miss");
12707
12707
  const L = k(this, z, mr).call(this, e, A, x, C);
@@ -12713,7 +12713,7 @@ let kg = (Xn = class {
12713
12713
  return b && (b.fetch = "inflight", d && (b.returnedStale = !0)), d ? L.__staleWhileFetching : L.__returned = L;
12714
12714
  }
12715
12715
  const T = l(this, ot).call(this, A);
12716
- if (!E && !T)
12716
+ if (!v && !T)
12717
12717
  return b && (b.fetch = "hit"), k(this, z, _i).call(this, A), r && l(this, An).call(this, A), b && l(this, Zt).call(this, b, A), L;
12718
12718
  const N = k(this, z, mr).call(this, e, A, x, C), y = N.__staleWhileFetching !== void 0 && i;
12719
12719
  return b && (b.fetch = T ? "stale" : "refresh", y && T && (b.returnedStale = !0)), y ? N.__staleWhileFetching : N.__returned = N;
@@ -12726,7 +12726,7 @@ let kg = (Xn = class {
12726
12726
  * If the key is not found, get() will return `undefined`.
12727
12727
  */
12728
12728
  get(e, n = {}) {
12729
- const { allowStale: i = this.allowStale, updateAgeOnGet: r = this.updateAgeOnGet, noDeleteOnStaleGet: s = this.noDeleteOnStaleGet, status: o } = n, a = l(this, ve).get(e);
12729
+ const { allowStale: i = this.allowStale, updateAgeOnGet: r = this.updateAgeOnGet, noDeleteOnStaleGet: s = this.noDeleteOnStaleGet, status: o } = n, a = l(this, Ee).get(e);
12730
12730
  if (a !== void 0) {
12731
12731
  const u = l(this, ee)[a], c = k(this, z, ce).call(this, u);
12732
12732
  return o && l(this, Zt).call(this, o, a), l(this, ot).call(this, a) ? (o && (o.get = "stale"), c ? (o && i && u.__staleWhileFetching !== void 0 && (o.returnedStale = !0), i ? u.__staleWhileFetching : void 0) : (s || this.delete(e), o && i && (o.returnedStale = !0), i ? u : void 0)) : (o && (o.get = "hit"), c ? u.__staleWhileFetching : (k(this, z, _i).call(this, a), r && l(this, An).call(this, a), u));
@@ -12740,14 +12740,14 @@ let kg = (Xn = class {
12740
12740
  var i, r, s, o;
12741
12741
  let n = !1;
12742
12742
  if (l(this, Ie) !== 0) {
12743
- const a = l(this, ve).get(e);
12743
+ const a = l(this, Ee).get(e);
12744
12744
  if (a !== void 0)
12745
12745
  if (n = !0, l(this, Ie) === 1)
12746
12746
  this.clear();
12747
12747
  else {
12748
12748
  l(this, xn).call(this, a);
12749
12749
  const u = l(this, ee)[a];
12750
- if (k(this, z, ce).call(this, u) ? u.__abortController.abort(new Error("deleted")) : (l(this, Nt) || l(this, We)) && (l(this, Nt) && ((i = l(this, vt)) == null || i.call(this, u, e, "delete")), l(this, We) && ((r = l(this, Ce)) == null || r.push([u, e, "delete"]))), l(this, ve).delete(e), l(this, de)[a] = void 0, l(this, ee)[a] = void 0, a === l(this, Fe))
12750
+ if (k(this, z, ce).call(this, u) ? u.__abortController.abort(new Error("deleted")) : (l(this, Nt) || l(this, We)) && (l(this, Nt) && ((i = l(this, Et)) == null || i.call(this, u, e, "delete")), l(this, We) && ((r = l(this, Ce)) == null || r.push([u, e, "delete"]))), l(this, Ee).delete(e), l(this, de)[a] = void 0, l(this, ee)[a] = void 0, a === l(this, Fe))
12751
12751
  $(this, Fe, l(this, rt)[a]);
12752
12752
  else if (a === l(this, Ge))
12753
12753
  $(this, Ge, l(this, Qe)[a]);
@@ -12757,7 +12757,7 @@ let kg = (Xn = class {
12757
12757
  const f = l(this, Qe)[a];
12758
12758
  l(this, rt)[f] = l(this, rt)[a];
12759
12759
  }
12760
- vn(this, Ie)._--, l(this, _t).push(a);
12760
+ En(this, Ie)._--, l(this, _t).push(a);
12761
12761
  }
12762
12762
  }
12763
12763
  if (l(this, We) && ((s = l(this, Ce)) != null && s.length)) {
@@ -12779,18 +12779,18 @@ let kg = (Xn = class {
12779
12779
  s.__abortController.abort(new Error("deleted"));
12780
12780
  else {
12781
12781
  const o = l(this, de)[r];
12782
- l(this, Nt) && ((e = l(this, vt)) == null || e.call(this, s, o, "delete")), l(this, We) && ((n = l(this, Ce)) == null || n.push([s, o, "delete"]));
12782
+ l(this, Nt) && ((e = l(this, Et)) == null || e.call(this, s, o, "delete")), l(this, We) && ((n = l(this, Ce)) == null || n.push([s, o, "delete"]));
12783
12783
  }
12784
12784
  }
12785
- if (l(this, ve).clear(), l(this, ee).fill(void 0), l(this, de).fill(void 0), l(this, st) && l(this, Ot) && (l(this, st).fill(0), l(this, Ot).fill(0)), l(this, It) && l(this, It).fill(0), $(this, Ge, 0), $(this, Fe, 0), l(this, _t).length = 0, $(this, St, 0), $(this, Ie, 0), l(this, We) && l(this, Ce)) {
12785
+ if (l(this, Ee).clear(), l(this, ee).fill(void 0), l(this, de).fill(void 0), l(this, st) && l(this, Ot) && (l(this, st).fill(0), l(this, Ot).fill(0)), l(this, It) && l(this, It).fill(0), $(this, Ge, 0), $(this, Fe, 0), l(this, _t).length = 0, $(this, St, 0), $(this, Ie, 0), l(this, We) && l(this, Ce)) {
12786
12786
  const r = l(this, Ce);
12787
12787
  let s;
12788
12788
  for (; s = r == null ? void 0 : r.shift(); )
12789
12789
  (i = l(this, Tt)) == null || i.call(this, ...s);
12790
12790
  }
12791
12791
  }
12792
- }, Et = new WeakMap(), it = new WeakMap(), vt = new WeakMap(), Tt = new WeakMap(), Jn = new WeakMap(), Ie = new WeakMap(), St = new WeakMap(), ve = new WeakMap(), de = new WeakMap(), ee = new WeakMap(), Qe = new WeakMap(), rt = new WeakMap(), Ge = new WeakMap(), Fe = new WeakMap(), _t = new WeakMap(), Ce = new WeakMap(), It = new WeakMap(), Ot = new WeakMap(), st = new WeakMap(), Nt = new WeakMap(), hn = new WeakMap(), We = new WeakMap(), z = new WeakSet(), Os = function() {
12793
- const e = new pr(l(this, Et)), n = new pr(l(this, Et));
12792
+ }, vt = new WeakMap(), it = new WeakMap(), Et = new WeakMap(), Tt = new WeakMap(), Jn = new WeakMap(), Ie = new WeakMap(), St = new WeakMap(), Ee = new WeakMap(), de = new WeakMap(), ee = new WeakMap(), Qe = new WeakMap(), rt = new WeakMap(), Ge = new WeakMap(), Fe = new WeakMap(), _t = new WeakMap(), Ce = new WeakMap(), It = new WeakMap(), Ot = new WeakMap(), st = new WeakMap(), Nt = new WeakMap(), hn = new WeakMap(), We = new WeakMap(), z = new WeakSet(), Os = function() {
12793
+ const e = new pr(l(this, vt)), n = new pr(l(this, vt));
12794
12794
  $(this, st, e), $(this, Ot, n), $(this, Li, (s, o, a = Vn.now()) => {
12795
12795
  if (n[s] = o !== 0 ? a : 0, e[s] = o, o !== 0 && this.ttlAutopurge) {
12796
12796
  const u = setTimeout(() => {
@@ -12821,7 +12821,7 @@ let kg = (Xn = class {
12821
12821
  return s;
12822
12822
  };
12823
12823
  this.getRemainingTTL = (s) => {
12824
- const o = l(this, ve).get(s);
12824
+ const o = l(this, Ee).get(s);
12825
12825
  if (o === void 0)
12826
12826
  return 0;
12827
12827
  const a = e[o], u = n[o];
@@ -12834,7 +12834,7 @@ let kg = (Xn = class {
12834
12834
  return !!a && !!o && (i || r()) - o > a;
12835
12835
  });
12836
12836
  }, An = new WeakMap(), Zt = new WeakMap(), Li = new WeakMap(), ot = new WeakMap(), fl = function() {
12837
- const e = new pr(l(this, Et));
12837
+ const e = new pr(l(this, vt));
12838
12838
  $(this, St, 0), $(this, It, e), $(this, xn, (n) => {
12839
12839
  $(this, St, l(this, St) - e[n]), e[n] = 0;
12840
12840
  }), $(this, ki, (n, i, r, s) => {
@@ -12866,11 +12866,11 @@ let kg = (Xn = class {
12866
12866
  for (let n = l(this, Ge); !(!k(this, z, Ns).call(this, n) || ((e || !l(this, ot).call(this, n)) && (yield n), n === l(this, Fe))); )
12867
12867
  n = l(this, Qe)[n];
12868
12868
  }, Ns = function(e) {
12869
- return e !== void 0 && l(this, ve).get(l(this, de)[e]) === e;
12869
+ return e !== void 0 && l(this, Ee).get(l(this, de)[e]) === e;
12870
12870
  }, gr = function(e) {
12871
12871
  var s, o;
12872
12872
  const n = l(this, Ge), i = l(this, de)[n], r = l(this, ee)[n];
12873
- return l(this, hn) && k(this, z, ce).call(this, r) ? r.__abortController.abort(new Error("evicted")) : (l(this, Nt) || l(this, We)) && (l(this, Nt) && ((s = l(this, vt)) == null || s.call(this, r, i, "evict")), l(this, We) && ((o = l(this, Ce)) == null || o.push([r, i, "evict"]))), l(this, xn).call(this, n), e && (l(this, de)[n] = void 0, l(this, ee)[n] = void 0, l(this, _t).push(n)), l(this, Ie) === 1 ? ($(this, Ge, $(this, Fe, 0)), l(this, _t).length = 0) : $(this, Ge, l(this, Qe)[n]), l(this, ve).delete(i), vn(this, Ie)._--, n;
12873
+ return l(this, hn) && k(this, z, ce).call(this, r) ? r.__abortController.abort(new Error("evicted")) : (l(this, Nt) || l(this, We)) && (l(this, Nt) && ((s = l(this, Et)) == null || s.call(this, r, i, "evict")), l(this, We) && ((o = l(this, Ce)) == null || o.push([r, i, "evict"]))), l(this, xn).call(this, n), e && (l(this, de)[n] = void 0, l(this, ee)[n] = void 0, l(this, _t).push(n)), l(this, Ie) === 1 ? ($(this, Ge, $(this, Fe, 0)), l(this, _t).length = 0) : $(this, Ge, l(this, Qe)[n]), l(this, Ee).delete(i), En(this, Ie)._--, n;
12874
12874
  }, mr = function(e, n, i, r) {
12875
12875
  const s = n === void 0 ? void 0 : l(this, ee)[n];
12876
12876
  if (k(this, z, ce).call(this, s))
@@ -12883,22 +12883,22 @@ let kg = (Xn = class {
12883
12883
  signal: o.signal,
12884
12884
  options: i,
12885
12885
  context: r
12886
- }, c = (C, E = !1) => {
12886
+ }, c = (C, v = !1) => {
12887
12887
  const { aborted: b } = o.signal, O = i.ignoreFetchAbort && C !== void 0;
12888
- if (i.status && (b && !E ? (i.status.fetchAborted = !0, i.status.fetchError = o.signal.reason, O && (i.status.fetchAbortIgnored = !0)) : i.status.fetchResolved = !0), b && !O && !E)
12888
+ if (i.status && (b && !v ? (i.status.fetchAborted = !0, i.status.fetchError = o.signal.reason, O && (i.status.fetchAbortIgnored = !0)) : i.status.fetchResolved = !0), b && !O && !v)
12889
12889
  return p(o.signal.reason);
12890
12890
  const x = S;
12891
12891
  return l(this, ee)[n] === S && (C === void 0 ? x.__staleWhileFetching ? l(this, ee)[n] = x.__staleWhileFetching : this.delete(e) : (i.status && (i.status.fetchUpdated = !0), this.set(e, C, u.options))), C;
12892
12892
  }, f = (C) => (i.status && (i.status.fetchRejected = !0, i.status.fetchError = C), p(C)), p = (C) => {
12893
- const { aborted: E } = o.signal, b = E && i.allowStaleOnFetchAbort, O = b || i.allowStaleOnFetchRejection, x = O || i.noDeleteOnFetchRejection, A = S;
12893
+ const { aborted: v } = o.signal, b = v && i.allowStaleOnFetchAbort, O = b || i.allowStaleOnFetchRejection, x = O || i.noDeleteOnFetchRejection, A = S;
12894
12894
  if (l(this, ee)[n] === S && (!x || A.__staleWhileFetching === void 0 ? this.delete(e) : b || (l(this, ee)[n] = A.__staleWhileFetching)), O)
12895
12895
  return i.status && A.__staleWhileFetching !== void 0 && (i.status.returnedStale = !0), A.__staleWhileFetching;
12896
12896
  if (A.__returned === A)
12897
12897
  throw C;
12898
- }, m = (C, E) => {
12898
+ }, m = (C, v) => {
12899
12899
  var O;
12900
12900
  const b = (O = l(this, Jn)) == null ? void 0 : O.call(this, e, s, u);
12901
- b && b instanceof Promise && b.then((x) => C(x === void 0 ? void 0 : x), E), o.signal.addEventListener("abort", () => {
12901
+ b && b instanceof Promise && b.then((x) => C(x === void 0 ? void 0 : x), v), o.signal.addEventListener("abort", () => {
12902
12902
  (!i.ignoreFetchAbort || i.allowStaleOnFetchAbort) && (C(void 0), i.allowStaleOnFetchAbort && (C = (x) => c(x, !0)));
12903
12903
  });
12904
12904
  };
@@ -12908,7 +12908,7 @@ let kg = (Xn = class {
12908
12908
  __staleWhileFetching: s,
12909
12909
  __returned: void 0
12910
12910
  });
12911
- return n === void 0 ? (this.set(e, w, { ...u.options, status: void 0 }), n = l(this, ve).get(e)) : l(this, ee)[n] = w, w;
12911
+ return n === void 0 ? (this.set(e, w, { ...u.options, status: void 0 }), n = l(this, Ee).get(e)) : l(this, ee)[n] = w, w;
12912
12912
  }, ce = function(e) {
12913
12913
  if (!l(this, hn))
12914
12914
  return !1;
@@ -13685,7 +13685,7 @@ const fo = class fo {
13685
13685
  * `Object.prototype.toString`.
13686
13686
  */
13687
13687
  H(this, Pa, "LRUCache");
13688
- const { max: n = 0, ttl: i, ttlResolution: r = 1, ttlAutopurge: s, updateAgeOnGet: o, updateAgeOnHas: a, allowStale: u, dispose: c, disposeAfter: f, noDisposeOnSet: p, noUpdateTTL: m, maxSize: S = 0, maxEntrySize: w = 0, sizeCalculation: C, fetchMethod: E, memoMethod: b, noDeleteOnFetchRejection: O, noDeleteOnStaleGet: x, allowStaleOnFetchRejection: A, allowStaleOnFetchAbort: L, ignoreFetchAbort: T } = e;
13688
+ const { max: n = 0, ttl: i, ttlResolution: r = 1, ttlAutopurge: s, updateAgeOnGet: o, updateAgeOnHas: a, allowStale: u, dispose: c, disposeAfter: f, noDisposeOnSet: p, noUpdateTTL: m, maxSize: S = 0, maxEntrySize: w = 0, sizeCalculation: C, fetchMethod: v, memoMethod: b, noDeleteOnFetchRejection: O, noDeleteOnStaleGet: x, allowStaleOnFetchRejection: A, allowStaleOnFetchAbort: L, ignoreFetchAbort: T } = e;
13689
13689
  if (n !== 0 && !an(n))
13690
13690
  throw new TypeError("max option must be a nonnegative integer");
13691
13691
  const N = n ? gl(n) : Array;
@@ -13699,9 +13699,9 @@ const fo = class fo {
13699
13699
  }
13700
13700
  if (b !== void 0 && typeof b != "function")
13701
13701
  throw new TypeError("memoMethod must be a function if defined");
13702
- if ($(this, ti, b), E !== void 0 && typeof E != "function")
13702
+ if ($(this, ti, b), v !== void 0 && typeof v != "function")
13703
13703
  throw new TypeError("fetchMethod must be a function if specified");
13704
- if ($(this, ei, E), $(this, pn, !!E), $(this, Te, /* @__PURE__ */ new Map()), $(this, he, new Array(n).fill(void 0)), $(this, te, new Array(n).fill(void 0)), $(this, He, new N(n)), $(this, ut, new N(n)), $(this, qe, 0), $(this, Re, 0), $(this, Rt, Fs.create(n)), $(this, Oe, 0), $(this, Ct, 0), typeof c == "function" && $(this, xt, c), typeof f == "function" ? ($(this, Ft, f), $(this, Le, [])) : ($(this, Ft, void 0), $(this, Le, void 0)), $(this, Dt, !!l(this, xt)), $(this, Ye, !!l(this, Ft)), this.noDisposeOnSet = !!p, this.noUpdateTTL = !!m, this.noDeleteOnFetchRejection = !!O, this.allowStaleOnFetchRejection = !!A, this.allowStaleOnFetchAbort = !!L, this.ignoreFetchAbort = !!T, this.maxEntrySize !== 0) {
13704
+ if ($(this, ei, v), $(this, pn, !!v), $(this, Te, /* @__PURE__ */ new Map()), $(this, he, new Array(n).fill(void 0)), $(this, te, new Array(n).fill(void 0)), $(this, He, new N(n)), $(this, ut, new N(n)), $(this, qe, 0), $(this, Re, 0), $(this, Rt, Fs.create(n)), $(this, Oe, 0), $(this, Ct, 0), typeof c == "function" && $(this, xt, c), typeof f == "function" ? ($(this, Ft, f), $(this, Le, [])) : ($(this, Ft, void 0), $(this, Le, void 0)), $(this, Dt, !!l(this, xt)), $(this, Ye, !!l(this, Ft)), this.noDisposeOnSet = !!p, this.noUpdateTTL = !!m, this.noDeleteOnFetchRejection = !!O, this.allowStaleOnFetchRejection = !!A, this.allowStaleOnFetchAbort = !!L, this.ignoreFetchAbort = !!T, this.maxEntrySize !== 0) {
13705
13705
  if (l(this, at) !== 0 && !an(l(this, at)))
13706
13706
  throw new TypeError("maxSize must be a positive integer if specified");
13707
13707
  if (!an(this.maxEntrySize))
@@ -14048,7 +14048,7 @@ const fo = class fo {
14048
14048
  * `cache.delete(key)`. `undefined` is never stored in the cache.
14049
14049
  */
14050
14050
  set(e, n, i = {}) {
14051
- var m, S, w, C, E;
14051
+ var m, S, w, C, v;
14052
14052
  if (n === void 0)
14053
14053
  return this.delete(e), this;
14054
14054
  const { ttl: r = this.ttl, start: s, noDisposeOnSet: o = this.noDisposeOnSet, sizeCalculation: a = this.sizeCalculation, status: u } = i;
@@ -14058,7 +14058,7 @@ const fo = class fo {
14058
14058
  return u && (u.set = "miss", u.maxEntrySizeExceeded = !0), k(this, U, cn).call(this, e, "set"), this;
14059
14059
  let p = l(this, Oe) === 0 ? void 0 : l(this, Te).get(e);
14060
14060
  if (p === void 0)
14061
- p = l(this, Oe) === 0 ? l(this, Re) : l(this, Rt).length !== 0 ? l(this, Rt).pop() : l(this, Oe) === l(this, At) ? k(this, U, br).call(this, !1) : l(this, Oe), l(this, he)[p] = e, l(this, te)[p] = n, l(this, Te).set(e, p), l(this, He)[l(this, Re)] = p, l(this, ut)[p] = l(this, Re), $(this, Re, p), vn(this, Oe)._++, l(this, ni).call(this, p, f, u), u && (u.set = "add"), c = !1;
14061
+ p = l(this, Oe) === 0 ? l(this, Re) : l(this, Rt).length !== 0 ? l(this, Rt).pop() : l(this, Oe) === l(this, At) ? k(this, U, br).call(this, !1) : l(this, Oe), l(this, he)[p] = e, l(this, te)[p] = n, l(this, Te).set(e, p), l(this, He)[l(this, Re)] = p, l(this, ut)[p] = l(this, Re), $(this, Re, p), En(this, Oe)._++, l(this, ni).call(this, p, f, u), u && (u.set = "add"), c = !1;
14062
14062
  else {
14063
14063
  k(this, U, Ii).call(this, p);
14064
14064
  const b = l(this, te)[p];
@@ -14079,7 +14079,7 @@ const fo = class fo {
14079
14079
  const b = l(this, Le);
14080
14080
  let O;
14081
14081
  for (; O = b == null ? void 0 : b.shift(); )
14082
- (E = l(this, Ft)) == null || E.call(this, ...O);
14082
+ (v = l(this, Ft)) == null || v.call(this, ...O);
14083
14083
  }
14084
14084
  return this;
14085
14085
  }
@@ -14167,7 +14167,7 @@ const fo = class fo {
14167
14167
  ignoreFetchAbort: S = this.ignoreFetchAbort,
14168
14168
  allowStaleOnFetchAbort: w = this.allowStaleOnFetchAbort,
14169
14169
  context: C,
14170
- forceRefresh: E = !1,
14170
+ forceRefresh: v = !1,
14171
14171
  status: b,
14172
14172
  signal: O
14173
14173
  } = n;
@@ -14206,7 +14206,7 @@ const fo = class fo {
14206
14206
  return b && (b.fetch = "inflight", d && (b.returnedStale = !0)), d ? L.__staleWhileFetching : L.__returned = L;
14207
14207
  }
14208
14208
  const T = l(this, ct).call(this, A);
14209
- if (!E && !T)
14209
+ if (!v && !T)
14210
14210
  return b && (b.fetch = "hit"), k(this, U, Ii).call(this, A), r && l(this, Fn).call(this, A), b && l(this, en).call(this, b, A), L;
14211
14211
  const N = k(this, U, wr).call(this, e, A, x, C), y = N.__staleWhileFetching !== void 0 && i;
14212
14212
  return b && (b.fetch = T ? "stale" : "refresh", y && T && (b.returnedStale = !0)), y ? N.__staleWhileFetching : N.__returned = N;
@@ -14340,7 +14340,7 @@ At = new WeakMap(), at = new WeakMap(), xt = new WeakMap(), Ft = new WeakMap(),
14340
14340
  }, br = function(e) {
14341
14341
  var s, o;
14342
14342
  const n = l(this, qe), i = l(this, he)[n], r = l(this, te)[n];
14343
- return l(this, pn) && k(this, U, fe).call(this, r) ? r.__abortController.abort(new Error("evicted")) : (l(this, Dt) || l(this, Ye)) && (l(this, Dt) && ((s = l(this, xt)) == null || s.call(this, r, i, "evict")), l(this, Ye) && ((o = l(this, Le)) == null || o.push([r, i, "evict"]))), l(this, Cn).call(this, n), e && (l(this, he)[n] = void 0, l(this, te)[n] = void 0, l(this, Rt).push(n)), l(this, Oe) === 1 ? ($(this, qe, $(this, Re, 0)), l(this, Rt).length = 0) : $(this, qe, l(this, He)[n]), l(this, Te).delete(i), vn(this, Oe)._--, n;
14343
+ return l(this, pn) && k(this, U, fe).call(this, r) ? r.__abortController.abort(new Error("evicted")) : (l(this, Dt) || l(this, Ye)) && (l(this, Dt) && ((s = l(this, xt)) == null || s.call(this, r, i, "evict")), l(this, Ye) && ((o = l(this, Le)) == null || o.push([r, i, "evict"]))), l(this, Cn).call(this, n), e && (l(this, he)[n] = void 0, l(this, te)[n] = void 0, l(this, Rt).push(n)), l(this, Oe) === 1 ? ($(this, qe, $(this, Re, 0)), l(this, Rt).length = 0) : $(this, qe, l(this, He)[n]), l(this, Te).delete(i), En(this, Oe)._--, n;
14344
14344
  }, wr = function(e, n, i, r) {
14345
14345
  const s = n === void 0 ? void 0 : l(this, te)[n];
14346
14346
  if (k(this, U, fe).call(this, s))
@@ -14353,22 +14353,22 @@ At = new WeakMap(), at = new WeakMap(), xt = new WeakMap(), Ft = new WeakMap(),
14353
14353
  signal: o.signal,
14354
14354
  options: i,
14355
14355
  context: r
14356
- }, c = (C, E = !1) => {
14356
+ }, c = (C, v = !1) => {
14357
14357
  const { aborted: b } = o.signal, O = i.ignoreFetchAbort && C !== void 0;
14358
- if (i.status && (b && !E ? (i.status.fetchAborted = !0, i.status.fetchError = o.signal.reason, O && (i.status.fetchAbortIgnored = !0)) : i.status.fetchResolved = !0), b && !O && !E)
14358
+ if (i.status && (b && !v ? (i.status.fetchAborted = !0, i.status.fetchError = o.signal.reason, O && (i.status.fetchAbortIgnored = !0)) : i.status.fetchResolved = !0), b && !O && !v)
14359
14359
  return p(o.signal.reason);
14360
14360
  const x = S;
14361
14361
  return l(this, te)[n] === S && (C === void 0 ? x.__staleWhileFetching ? l(this, te)[n] = x.__staleWhileFetching : k(this, U, cn).call(this, e, "fetch") : (i.status && (i.status.fetchUpdated = !0), this.set(e, C, u.options))), C;
14362
14362
  }, f = (C) => (i.status && (i.status.fetchRejected = !0, i.status.fetchError = C), p(C)), p = (C) => {
14363
- const { aborted: E } = o.signal, b = E && i.allowStaleOnFetchAbort, O = b || i.allowStaleOnFetchRejection, x = O || i.noDeleteOnFetchRejection, A = S;
14363
+ const { aborted: v } = o.signal, b = v && i.allowStaleOnFetchAbort, O = b || i.allowStaleOnFetchRejection, x = O || i.noDeleteOnFetchRejection, A = S;
14364
14364
  if (l(this, te)[n] === S && (!x || A.__staleWhileFetching === void 0 ? k(this, U, cn).call(this, e, "fetch") : b || (l(this, te)[n] = A.__staleWhileFetching)), O)
14365
14365
  return i.status && A.__staleWhileFetching !== void 0 && (i.status.returnedStale = !0), A.__staleWhileFetching;
14366
14366
  if (A.__returned === A)
14367
14367
  throw C;
14368
- }, m = (C, E) => {
14368
+ }, m = (C, v) => {
14369
14369
  var O;
14370
14370
  const b = (O = l(this, ei)) == null ? void 0 : O.call(this, e, s, u);
14371
- b && b instanceof Promise && b.then((x) => C(x === void 0 ? void 0 : x), E), o.signal.addEventListener("abort", () => {
14371
+ b && b instanceof Promise && b.then((x) => C(x === void 0 ? void 0 : x), v), o.signal.addEventListener("abort", () => {
14372
14372
  (!i.ignoreFetchAbort || i.allowStaleOnFetchAbort) && (C(void 0), i.allowStaleOnFetchAbort && (C = (x) => c(x, !0)));
14373
14373
  });
14374
14374
  };
@@ -14409,7 +14409,7 @@ At = new WeakMap(), at = new WeakMap(), xt = new WeakMap(), Ft = new WeakMap(),
14409
14409
  const p = l(this, He)[u];
14410
14410
  l(this, ut)[p] = l(this, ut)[u];
14411
14411
  }
14412
- vn(this, Oe)._--, l(this, Rt).push(u);
14412
+ En(this, Oe)._--, l(this, Rt).push(u);
14413
14413
  }
14414
14414
  }
14415
14415
  if (l(this, Ye) && ((o = l(this, Le)) != null && o.length)) {
@@ -14481,12 +14481,12 @@ var yl = { exports: {} };
14481
14481
  }, r.keysMD5 = function(T) {
14482
14482
  return C(T, { algorithm: "md5", encoding: "hex", excludeValues: !0 });
14483
14483
  };
14484
- var E = w.getHashes ? w.getHashes().slice() : ["sha1", "md5"], b = (E.push("passthrough"), ["buffer", "hex", "binary", "base64"]);
14484
+ var v = w.getHashes ? w.getHashes().slice() : ["sha1", "md5"], b = (v.push("passthrough"), ["buffer", "hex", "binary", "base64"]);
14485
14485
  function O(T, N) {
14486
14486
  var g = {};
14487
14487
  if (g.algorithm = (N = N || {}).algorithm || "sha1", g.encoding = N.encoding || "hex", g.excludeValues = !!N.excludeValues, g.algorithm = g.algorithm.toLowerCase(), g.encoding = g.encoding.toLowerCase(), g.ignoreUnknown = N.ignoreUnknown === !0, g.respectType = N.respectType !== !1, g.respectFunctionNames = N.respectFunctionNames !== !1, g.respectFunctionProperties = N.respectFunctionProperties !== !1, g.unorderedArrays = N.unorderedArrays === !0, g.unorderedSets = N.unorderedSets !== !1, g.unorderedObjects = N.unorderedObjects !== !1, g.replacer = N.replacer || void 0, g.excludeKeys = N.excludeKeys || void 0, T === void 0) throw new Error("Object argument required.");
14488
- for (var y = 0; y < E.length; ++y) E[y].toLowerCase() === g.algorithm.toLowerCase() && (g.algorithm = E[y]);
14489
- if (E.indexOf(g.algorithm) === -1) throw new Error('Algorithm "' + g.algorithm + '" not supported. supported values: ' + E.join(", "));
14488
+ for (var y = 0; y < v.length; ++y) v[y].toLowerCase() === g.algorithm.toLowerCase() && (g.algorithm = v[y]);
14489
+ if (v.indexOf(g.algorithm) === -1) throw new Error('Algorithm "' + g.algorithm + '" not supported. supported values: ' + v.join(", "));
14490
14490
  if (b.indexOf(g.encoding) === -1 && g.algorithm !== "passthrough") throw new Error('Encoding "' + g.encoding + '" not supported. supported values: ' + b.join(", "));
14491
14491
  return g;
14492
14492
  }
@@ -14637,9 +14637,9 @@ Use "options.replacer" or "options.ignoreUnknown"
14637
14637
  }, { buffer: 3, crypto: 5, lYpoI2: 11 }], 2: [function(n, i, r) {
14638
14638
  (function(s, o, a, u, c, f, p, m, S) {
14639
14639
  (function(w) {
14640
- var C = typeof Uint8Array < "u" ? Uint8Array : Array, E = 43, b = 47, O = 48, x = 97, A = 65, L = 45, T = 95;
14640
+ var C = typeof Uint8Array < "u" ? Uint8Array : Array, v = 43, b = 47, O = 48, x = 97, A = 65, L = 45, T = 95;
14641
14641
  function N(g) {
14642
- return g = g.charCodeAt(0), g === E || g === L ? 62 : g === b || g === T ? 63 : g < O ? -1 : g < O + 10 ? g - O + 26 + 26 : g < A + 26 ? g - A : g < x + 26 ? g - x + 26 : void 0;
14642
+ return g = g.charCodeAt(0), g === v || g === L ? 62 : g === b || g === T ? 63 : g < O ? -1 : g < O + 10 ? g - O + 26 + 26 : g < A + 26 ? g - A : g < x + 26 ? g - x + 26 : void 0;
14643
14643
  }
14644
14644
  w.toByteArray = function(g) {
14645
14645
  var y, d;
@@ -14668,92 +14668,92 @@ Use "options.replacer" or "options.ignoreUnknown"
14668
14668
  })(r === void 0 ? this.base64js = {} : r);
14669
14669
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js", "/node_modules/gulp-browserify/node_modules/base64-js/lib");
14670
14670
  }, { buffer: 3, lYpoI2: 11 }], 3: [function(n, i, r) {
14671
- (function(s, o, E, u, c, f, p, m, S) {
14671
+ (function(s, o, v, u, c, f, p, m, S) {
14672
14672
  var w = n("base64-js"), C = n("ieee754");
14673
- function E(h, v, F) {
14674
- if (!(this instanceof E)) return new E(h, v, F);
14673
+ function v(h, E, F) {
14674
+ if (!(this instanceof v)) return new v(h, E, F);
14675
14675
  var M, P, G, oe, ye = typeof h;
14676
- if (v === "base64" && ye == "string") for (h = (oe = h).trim ? oe.trim() : oe.replace(/^\s+|\s+$/g, ""); h.length % 4 != 0; ) h += "=";
14676
+ if (E === "base64" && ye == "string") for (h = (oe = h).trim ? oe.trim() : oe.replace(/^\s+|\s+$/g, ""); h.length % 4 != 0; ) h += "=";
14677
14677
  if (ye == "number") M = Be(h);
14678
- else if (ye == "string") M = E.byteLength(h, v);
14678
+ else if (ye == "string") M = v.byteLength(h, E);
14679
14679
  else {
14680
14680
  if (ye != "object") throw new Error("First argument needs to be a number, array or string.");
14681
14681
  M = Be(h.length);
14682
14682
  }
14683
- if (E._useTypedArrays ? P = E._augment(new Uint8Array(M)) : ((P = this).length = M, P._isBuffer = !0), E._useTypedArrays && typeof h.byteLength == "number") P._set(h);
14684
- else if (me(oe = h) || E.isBuffer(oe) || oe && typeof oe == "object" && typeof oe.length == "number") for (G = 0; G < M; G++) E.isBuffer(h) ? P[G] = h.readUInt8(G) : P[G] = h[G];
14685
- else if (ye == "string") P.write(h, 0, v);
14686
- else if (ye == "number" && !E._useTypedArrays && !F) for (G = 0; G < M; G++) P[G] = 0;
14683
+ if (v._useTypedArrays ? P = v._augment(new Uint8Array(M)) : ((P = this).length = M, P._isBuffer = !0), v._useTypedArrays && typeof h.byteLength == "number") P._set(h);
14684
+ else if (me(oe = h) || v.isBuffer(oe) || oe && typeof oe == "object" && typeof oe.length == "number") for (G = 0; G < M; G++) v.isBuffer(h) ? P[G] = h.readUInt8(G) : P[G] = h[G];
14685
+ else if (ye == "string") P.write(h, 0, E);
14686
+ else if (ye == "number" && !v._useTypedArrays && !F) for (G = 0; G < M; G++) P[G] = 0;
14687
14687
  return P;
14688
14688
  }
14689
- function b(h, v, F, M) {
14690
- return E._charsWritten = zi(function(P) {
14689
+ function b(h, E, F, M) {
14690
+ return v._charsWritten = zi(function(P) {
14691
14691
  for (var G = [], oe = 0; oe < P.length; oe++) G.push(255 & P.charCodeAt(oe));
14692
14692
  return G;
14693
- }(v), h, F, M);
14693
+ }(E), h, F, M);
14694
14694
  }
14695
- function O(h, v, F, M) {
14696
- return E._charsWritten = zi(function(P) {
14695
+ function O(h, E, F, M) {
14696
+ return v._charsWritten = zi(function(P) {
14697
14697
  for (var G, oe, ye = [], Ae = 0; Ae < P.length; Ae++) oe = P.charCodeAt(Ae), G = oe >> 8, oe = oe % 256, ye.push(oe), ye.push(G);
14698
14698
  return ye;
14699
- }(v), h, F, M);
14699
+ }(E), h, F, M);
14700
14700
  }
14701
- function x(h, v, F) {
14701
+ function x(h, E, F) {
14702
14702
  var M = "";
14703
14703
  F = Math.min(h.length, F);
14704
- for (var P = v; P < F; P++) M += String.fromCharCode(h[P]);
14704
+ for (var P = E; P < F; P++) M += String.fromCharCode(h[P]);
14705
14705
  return M;
14706
14706
  }
14707
- function A(h, v, F, G) {
14708
- G || (B(typeof F == "boolean", "missing or invalid endian"), B(v != null, "missing offset"), B(v + 1 < h.length, "Trying to read beyond buffer length"));
14707
+ function A(h, E, F, G) {
14708
+ G || (B(typeof F == "boolean", "missing or invalid endian"), B(E != null, "missing offset"), B(E + 1 < h.length, "Trying to read beyond buffer length"));
14709
14709
  var P, G = h.length;
14710
- if (!(G <= v)) return F ? (P = h[v], v + 1 < G && (P |= h[v + 1] << 8)) : (P = h[v] << 8, v + 1 < G && (P |= h[v + 1])), P;
14710
+ if (!(G <= E)) return F ? (P = h[E], E + 1 < G && (P |= h[E + 1] << 8)) : (P = h[E] << 8, E + 1 < G && (P |= h[E + 1])), P;
14711
14711
  }
14712
- function L(h, v, F, G) {
14713
- G || (B(typeof F == "boolean", "missing or invalid endian"), B(v != null, "missing offset"), B(v + 3 < h.length, "Trying to read beyond buffer length"));
14712
+ function L(h, E, F, G) {
14713
+ G || (B(typeof F == "boolean", "missing or invalid endian"), B(E != null, "missing offset"), B(E + 3 < h.length, "Trying to read beyond buffer length"));
14714
14714
  var P, G = h.length;
14715
- if (!(G <= v)) return F ? (v + 2 < G && (P = h[v + 2] << 16), v + 1 < G && (P |= h[v + 1] << 8), P |= h[v], v + 3 < G && (P += h[v + 3] << 24 >>> 0)) : (v + 1 < G && (P = h[v + 1] << 16), v + 2 < G && (P |= h[v + 2] << 8), v + 3 < G && (P |= h[v + 3]), P += h[v] << 24 >>> 0), P;
14715
+ if (!(G <= E)) return F ? (E + 2 < G && (P = h[E + 2] << 16), E + 1 < G && (P |= h[E + 1] << 8), P |= h[E], E + 3 < G && (P += h[E + 3] << 24 >>> 0)) : (E + 1 < G && (P = h[E + 1] << 16), E + 2 < G && (P |= h[E + 2] << 8), E + 3 < G && (P |= h[E + 3]), P += h[E] << 24 >>> 0), P;
14716
14716
  }
14717
- function T(h, v, F, M) {
14718
- if (M || (B(typeof F == "boolean", "missing or invalid endian"), B(v != null, "missing offset"), B(v + 1 < h.length, "Trying to read beyond buffer length")), !(h.length <= v)) return M = A(h, v, F, !0), 32768 & M ? -1 * (65535 - M + 1) : M;
14717
+ function T(h, E, F, M) {
14718
+ if (M || (B(typeof F == "boolean", "missing or invalid endian"), B(E != null, "missing offset"), B(E + 1 < h.length, "Trying to read beyond buffer length")), !(h.length <= E)) return M = A(h, E, F, !0), 32768 & M ? -1 * (65535 - M + 1) : M;
14719
14719
  }
14720
- function N(h, v, F, M) {
14721
- if (M || (B(typeof F == "boolean", "missing or invalid endian"), B(v != null, "missing offset"), B(v + 3 < h.length, "Trying to read beyond buffer length")), !(h.length <= v)) return M = L(h, v, F, !0), 2147483648 & M ? -1 * (4294967295 - M + 1) : M;
14720
+ function N(h, E, F, M) {
14721
+ if (M || (B(typeof F == "boolean", "missing or invalid endian"), B(E != null, "missing offset"), B(E + 3 < h.length, "Trying to read beyond buffer length")), !(h.length <= E)) return M = L(h, E, F, !0), 2147483648 & M ? -1 * (4294967295 - M + 1) : M;
14722
14722
  }
14723
- function g(h, v, F, M) {
14724
- return M || (B(typeof F == "boolean", "missing or invalid endian"), B(v + 3 < h.length, "Trying to read beyond buffer length")), C.read(h, v, F, 23, 4);
14723
+ function g(h, E, F, M) {
14724
+ return M || (B(typeof F == "boolean", "missing or invalid endian"), B(E + 3 < h.length, "Trying to read beyond buffer length")), C.read(h, E, F, 23, 4);
14725
14725
  }
14726
- function y(h, v, F, M) {
14727
- return M || (B(typeof F == "boolean", "missing or invalid endian"), B(v + 7 < h.length, "Trying to read beyond buffer length")), C.read(h, v, F, 52, 8);
14726
+ function y(h, E, F, M) {
14727
+ return M || (B(typeof F == "boolean", "missing or invalid endian"), B(E + 7 < h.length, "Trying to read beyond buffer length")), C.read(h, E, F, 52, 8);
14728
14728
  }
14729
- function d(h, v, F, M, P) {
14730
- if (P || (B(v != null, "missing value"), B(typeof M == "boolean", "missing or invalid endian"), B(F != null, "missing offset"), B(F + 1 < h.length, "trying to write beyond buffer length"), Qr(v, 65535)), P = h.length, !(P <= F)) for (var G = 0, oe = Math.min(P - F, 2); G < oe; G++) h[F + G] = (v & 255 << 8 * (M ? G : 1 - G)) >>> 8 * (M ? G : 1 - G);
14729
+ function d(h, E, F, M, P) {
14730
+ if (P || (B(E != null, "missing value"), B(typeof M == "boolean", "missing or invalid endian"), B(F != null, "missing offset"), B(F + 1 < h.length, "trying to write beyond buffer length"), Qr(E, 65535)), P = h.length, !(P <= F)) for (var G = 0, oe = Math.min(P - F, 2); G < oe; G++) h[F + G] = (E & 255 << 8 * (M ? G : 1 - G)) >>> 8 * (M ? G : 1 - G);
14731
14731
  }
14732
- function I(h, v, F, M, P) {
14733
- if (P || (B(v != null, "missing value"), B(typeof M == "boolean", "missing or invalid endian"), B(F != null, "missing offset"), B(F + 3 < h.length, "trying to write beyond buffer length"), Qr(v, 4294967295)), P = h.length, !(P <= F)) for (var G = 0, oe = Math.min(P - F, 4); G < oe; G++) h[F + G] = v >>> 8 * (M ? G : 3 - G) & 255;
14732
+ function I(h, E, F, M, P) {
14733
+ if (P || (B(E != null, "missing value"), B(typeof M == "boolean", "missing or invalid endian"), B(F != null, "missing offset"), B(F + 3 < h.length, "trying to write beyond buffer length"), Qr(E, 4294967295)), P = h.length, !(P <= F)) for (var G = 0, oe = Math.min(P - F, 4); G < oe; G++) h[F + G] = E >>> 8 * (M ? G : 3 - G) & 255;
14734
14734
  }
14735
- function R(h, v, F, M, P) {
14736
- P || (B(v != null, "missing value"), B(typeof M == "boolean", "missing or invalid endian"), B(F != null, "missing offset"), B(F + 1 < h.length, "Trying to write beyond buffer length"), Wr(v, 32767, -32768)), h.length <= F || d(h, 0 <= v ? v : 65535 + v + 1, F, M, P);
14735
+ function R(h, E, F, M, P) {
14736
+ P || (B(E != null, "missing value"), B(typeof M == "boolean", "missing or invalid endian"), B(F != null, "missing offset"), B(F + 1 < h.length, "Trying to write beyond buffer length"), Wr(E, 32767, -32768)), h.length <= F || d(h, 0 <= E ? E : 65535 + E + 1, F, M, P);
14737
14737
  }
14738
- function Z(h, v, F, M, P) {
14739
- P || (B(v != null, "missing value"), B(typeof M == "boolean", "missing or invalid endian"), B(F != null, "missing offset"), B(F + 3 < h.length, "Trying to write beyond buffer length"), Wr(v, 2147483647, -2147483648)), h.length <= F || I(h, 0 <= v ? v : 4294967295 + v + 1, F, M, P);
14738
+ function Z(h, E, F, M, P) {
14739
+ P || (B(E != null, "missing value"), B(typeof M == "boolean", "missing or invalid endian"), B(F != null, "missing offset"), B(F + 3 < h.length, "Trying to write beyond buffer length"), Wr(E, 2147483647, -2147483648)), h.length <= F || I(h, 0 <= E ? E : 4294967295 + E + 1, F, M, P);
14740
14740
  }
14741
- function K(h, v, F, M, P) {
14742
- P || (B(v != null, "missing value"), B(typeof M == "boolean", "missing or invalid endian"), B(F != null, "missing offset"), B(F + 3 < h.length, "Trying to write beyond buffer length"), go(v, 34028234663852886e22, -34028234663852886e22)), h.length <= F || C.write(h, v, F, M, 23, 4);
14741
+ function K(h, E, F, M, P) {
14742
+ P || (B(E != null, "missing value"), B(typeof M == "boolean", "missing or invalid endian"), B(F != null, "missing offset"), B(F + 3 < h.length, "Trying to write beyond buffer length"), go(E, 34028234663852886e22, -34028234663852886e22)), h.length <= F || C.write(h, E, F, M, 23, 4);
14743
14743
  }
14744
- function X(h, v, F, M, P) {
14745
- P || (B(v != null, "missing value"), B(typeof M == "boolean", "missing or invalid endian"), B(F != null, "missing offset"), B(F + 7 < h.length, "Trying to write beyond buffer length"), go(v, 17976931348623157e292, -17976931348623157e292)), h.length <= F || C.write(h, v, F, M, 52, 8);
14744
+ function X(h, E, F, M, P) {
14745
+ P || (B(E != null, "missing value"), B(typeof M == "boolean", "missing or invalid endian"), B(F != null, "missing offset"), B(F + 7 < h.length, "Trying to write beyond buffer length"), go(E, 17976931348623157e292, -17976931348623157e292)), h.length <= F || C.write(h, E, F, M, 52, 8);
14746
14746
  }
14747
- r.Buffer = E, r.SlowBuffer = E, r.INSPECT_MAX_BYTES = 50, E.poolSize = 8192, E._useTypedArrays = function() {
14747
+ r.Buffer = v, r.SlowBuffer = v, r.INSPECT_MAX_BYTES = 50, v.poolSize = 8192, v._useTypedArrays = function() {
14748
14748
  try {
14749
- var h = new ArrayBuffer(0), v = new Uint8Array(h);
14750
- return v.foo = function() {
14749
+ var h = new ArrayBuffer(0), E = new Uint8Array(h);
14750
+ return E.foo = function() {
14751
14751
  return 42;
14752
- }, v.foo() === 42 && typeof v.subarray == "function";
14752
+ }, E.foo() === 42 && typeof E.subarray == "function";
14753
14753
  } catch {
14754
14754
  return !1;
14755
14755
  }
14756
- }(), E.isEncoding = function(h) {
14756
+ }(), v.isEncoding = function(h) {
14757
14757
  switch (String(h).toLowerCase()) {
14758
14758
  case "hex":
14759
14759
  case "utf8":
@@ -14770,11 +14770,11 @@ Use "options.replacer" or "options.ignoreUnknown"
14770
14770
  default:
14771
14771
  return !1;
14772
14772
  }
14773
- }, E.isBuffer = function(h) {
14773
+ }, v.isBuffer = function(h) {
14774
14774
  return !(h == null || !h._isBuffer);
14775
- }, E.byteLength = function(h, v) {
14775
+ }, v.byteLength = function(h, E) {
14776
14776
  var F;
14777
- switch (h += "", v || "utf8") {
14777
+ switch (h += "", E || "utf8") {
14778
14778
  case "hex":
14779
14779
  F = h.length / 2;
14780
14780
  break;
@@ -14800,213 +14800,213 @@ Use "options.replacer" or "options.ignoreUnknown"
14800
14800
  throw new Error("Unknown encoding");
14801
14801
  }
14802
14802
  return F;
14803
- }, E.concat = function(h, v) {
14803
+ }, v.concat = function(h, E) {
14804
14804
  if (B(me(h), `Usage: Buffer.concat(list, [totalLength])
14805
- list should be an Array.`), h.length === 0) return new E(0);
14805
+ list should be an Array.`), h.length === 0) return new v(0);
14806
14806
  if (h.length === 1) return h[0];
14807
- if (typeof v != "number") for (P = v = 0; P < h.length; P++) v += h[P].length;
14808
- for (var F = new E(v), M = 0, P = 0; P < h.length; P++) {
14807
+ if (typeof E != "number") for (P = E = 0; P < h.length; P++) E += h[P].length;
14808
+ for (var F = new v(E), M = 0, P = 0; P < h.length; P++) {
14809
14809
  var G = h[P];
14810
14810
  G.copy(F, M), M += G.length;
14811
14811
  }
14812
14812
  return F;
14813
- }, E.prototype.write = function(h, v, F, M) {
14814
- isFinite(v) ? isFinite(F) || (M = F, F = void 0) : (Ae = M, M = v, v = F, F = Ae), v = Number(v) || 0;
14815
- var P, G, oe, ye, Ae = this.length - v;
14813
+ }, v.prototype.write = function(h, E, F, M) {
14814
+ isFinite(E) ? isFinite(F) || (M = F, F = void 0) : (Ae = M, M = E, E = F, F = Ae), E = Number(E) || 0;
14815
+ var P, G, oe, ye, Ae = this.length - E;
14816
14816
  switch ((!F || Ae < (F = Number(F))) && (F = Ae), M = String(M || "utf8").toLowerCase()) {
14817
14817
  case "hex":
14818
14818
  P = function(yt, Ke, Xe, xe) {
14819
14819
  Xe = Number(Xe) || 0;
14820
- var Ee = yt.length - Xe;
14821
- (!xe || Ee < (xe = Number(xe))) && (xe = Ee), B((Ee = Ke.length) % 2 == 0, "Invalid hex string"), Ee / 2 < xe && (xe = Ee / 2);
14820
+ var ve = yt.length - Xe;
14821
+ (!xe || ve < (xe = Number(xe))) && (xe = ve), B((ve = Ke.length) % 2 == 0, "Invalid hex string"), ve / 2 < xe && (xe = ve / 2);
14822
14822
  for (var jn = 0; jn < xe; jn++) {
14823
14823
  var mo = parseInt(Ke.substr(2 * jn, 2), 16);
14824
14824
  B(!isNaN(mo), "Invalid hex string"), yt[Xe + jn] = mo;
14825
14825
  }
14826
- return E._charsWritten = 2 * jn, jn;
14827
- }(this, h, v, F);
14826
+ return v._charsWritten = 2 * jn, jn;
14827
+ }(this, h, E, F);
14828
14828
  break;
14829
14829
  case "utf8":
14830
14830
  case "utf-8":
14831
- G = this, oe = v, ye = F, P = E._charsWritten = zi(Jt(h), G, oe, ye);
14831
+ G = this, oe = E, ye = F, P = v._charsWritten = zi(Jt(h), G, oe, ye);
14832
14832
  break;
14833
14833
  case "ascii":
14834
14834
  case "binary":
14835
- P = b(this, h, v, F);
14835
+ P = b(this, h, E, F);
14836
14836
  break;
14837
14837
  case "base64":
14838
- G = this, oe = v, ye = F, P = E._charsWritten = zi(ho(h), G, oe, ye);
14838
+ G = this, oe = E, ye = F, P = v._charsWritten = zi(ho(h), G, oe, ye);
14839
14839
  break;
14840
14840
  case "ucs2":
14841
14841
  case "ucs-2":
14842
14842
  case "utf16le":
14843
14843
  case "utf-16le":
14844
- P = O(this, h, v, F);
14844
+ P = O(this, h, E, F);
14845
14845
  break;
14846
14846
  default:
14847
14847
  throw new Error("Unknown encoding");
14848
14848
  }
14849
14849
  return P;
14850
- }, E.prototype.toString = function(h, v, F) {
14850
+ }, v.prototype.toString = function(h, E, F) {
14851
14851
  var M, P, G, oe, ye = this;
14852
- if (h = String(h || "utf8").toLowerCase(), v = Number(v) || 0, (F = F !== void 0 ? Number(F) : ye.length) === v) return "";
14852
+ if (h = String(h || "utf8").toLowerCase(), E = Number(E) || 0, (F = F !== void 0 ? Number(F) : ye.length) === E) return "";
14853
14853
  switch (h) {
14854
14854
  case "hex":
14855
14855
  M = function(Ae, yt, Ke) {
14856
14856
  var Xe = Ae.length;
14857
14857
  (!yt || yt < 0) && (yt = 0), (!Ke || Ke < 0 || Xe < Ke) && (Ke = Xe);
14858
- for (var xe = "", Ee = yt; Ee < Ke; Ee++) xe += le(Ae[Ee]);
14858
+ for (var xe = "", ve = yt; ve < Ke; ve++) xe += le(Ae[ve]);
14859
14859
  return xe;
14860
- }(ye, v, F);
14860
+ }(ye, E, F);
14861
14861
  break;
14862
14862
  case "utf8":
14863
14863
  case "utf-8":
14864
14864
  M = function(Ae, yt, Ke) {
14865
14865
  var Xe = "", xe = "";
14866
14866
  Ke = Math.min(Ae.length, Ke);
14867
- for (var Ee = yt; Ee < Ke; Ee++) Ae[Ee] <= 127 ? (Xe += po(xe) + String.fromCharCode(Ae[Ee]), xe = "") : xe += "%" + Ae[Ee].toString(16);
14867
+ for (var ve = yt; ve < Ke; ve++) Ae[ve] <= 127 ? (Xe += po(xe) + String.fromCharCode(Ae[ve]), xe = "") : xe += "%" + Ae[ve].toString(16);
14868
14868
  return Xe + po(xe);
14869
- }(ye, v, F);
14869
+ }(ye, E, F);
14870
14870
  break;
14871
14871
  case "ascii":
14872
14872
  case "binary":
14873
- M = x(ye, v, F);
14873
+ M = x(ye, E, F);
14874
14874
  break;
14875
14875
  case "base64":
14876
- P = ye, oe = F, M = (G = v) === 0 && oe === P.length ? w.fromByteArray(P) : w.fromByteArray(P.slice(G, oe));
14876
+ P = ye, oe = F, M = (G = E) === 0 && oe === P.length ? w.fromByteArray(P) : w.fromByteArray(P.slice(G, oe));
14877
14877
  break;
14878
14878
  case "ucs2":
14879
14879
  case "ucs-2":
14880
14880
  case "utf16le":
14881
14881
  case "utf-16le":
14882
14882
  M = function(Ae, yt, Ke) {
14883
- for (var Xe = Ae.slice(yt, Ke), xe = "", Ee = 0; Ee < Xe.length; Ee += 2) xe += String.fromCharCode(Xe[Ee] + 256 * Xe[Ee + 1]);
14883
+ for (var Xe = Ae.slice(yt, Ke), xe = "", ve = 0; ve < Xe.length; ve += 2) xe += String.fromCharCode(Xe[ve] + 256 * Xe[ve + 1]);
14884
14884
  return xe;
14885
- }(ye, v, F);
14885
+ }(ye, E, F);
14886
14886
  break;
14887
14887
  default:
14888
14888
  throw new Error("Unknown encoding");
14889
14889
  }
14890
14890
  return M;
14891
- }, E.prototype.toJSON = function() {
14891
+ }, v.prototype.toJSON = function() {
14892
14892
  return { type: "Buffer", data: Array.prototype.slice.call(this._arr || this, 0) };
14893
- }, E.prototype.copy = function(h, v, F, M) {
14894
- if (v = v || 0, (M = M || M === 0 ? M : this.length) !== (F = F || 0) && h.length !== 0 && this.length !== 0) {
14895
- B(F <= M, "sourceEnd < sourceStart"), B(0 <= v && v < h.length, "targetStart out of bounds"), B(0 <= F && F < this.length, "sourceStart out of bounds"), B(0 <= M && M <= this.length, "sourceEnd out of bounds"), M > this.length && (M = this.length);
14896
- var P = (M = h.length - v < M - F ? h.length - v + F : M) - F;
14897
- if (P < 100 || !E._useTypedArrays) for (var G = 0; G < P; G++) h[G + v] = this[G + F];
14898
- else h._set(this.subarray(F, F + P), v);
14893
+ }, v.prototype.copy = function(h, E, F, M) {
14894
+ if (E = E || 0, (M = M || M === 0 ? M : this.length) !== (F = F || 0) && h.length !== 0 && this.length !== 0) {
14895
+ B(F <= M, "sourceEnd < sourceStart"), B(0 <= E && E < h.length, "targetStart out of bounds"), B(0 <= F && F < this.length, "sourceStart out of bounds"), B(0 <= M && M <= this.length, "sourceEnd out of bounds"), M > this.length && (M = this.length);
14896
+ var P = (M = h.length - E < M - F ? h.length - E + F : M) - F;
14897
+ if (P < 100 || !v._useTypedArrays) for (var G = 0; G < P; G++) h[G + E] = this[G + F];
14898
+ else h._set(this.subarray(F, F + P), E);
14899
14899
  }
14900
- }, E.prototype.slice = function(h, v) {
14900
+ }, v.prototype.slice = function(h, E) {
14901
14901
  var F = this.length;
14902
- if (h = ge(h, F, 0), v = ge(v, F, F), E._useTypedArrays) return E._augment(this.subarray(h, v));
14903
- for (var M = v - h, P = new E(M, void 0, !0), G = 0; G < M; G++) P[G] = this[G + h];
14902
+ if (h = ge(h, F, 0), E = ge(E, F, F), v._useTypedArrays) return v._augment(this.subarray(h, E));
14903
+ for (var M = E - h, P = new v(M, void 0, !0), G = 0; G < M; G++) P[G] = this[G + h];
14904
14904
  return P;
14905
- }, E.prototype.get = function(h) {
14905
+ }, v.prototype.get = function(h) {
14906
14906
  return console.log(".get() is deprecated. Access using array indexes instead."), this.readUInt8(h);
14907
- }, E.prototype.set = function(h, v) {
14908
- return console.log(".set() is deprecated. Access using array indexes instead."), this.writeUInt8(h, v);
14909
- }, E.prototype.readUInt8 = function(h, v) {
14910
- if (v || (B(h != null, "missing offset"), B(h < this.length, "Trying to read beyond buffer length")), !(h >= this.length)) return this[h];
14911
- }, E.prototype.readUInt16LE = function(h, v) {
14912
- return A(this, h, !0, v);
14913
- }, E.prototype.readUInt16BE = function(h, v) {
14914
- return A(this, h, !1, v);
14915
- }, E.prototype.readUInt32LE = function(h, v) {
14916
- return L(this, h, !0, v);
14917
- }, E.prototype.readUInt32BE = function(h, v) {
14918
- return L(this, h, !1, v);
14919
- }, E.prototype.readInt8 = function(h, v) {
14920
- if (v || (B(h != null, "missing offset"), B(h < this.length, "Trying to read beyond buffer length")), !(h >= this.length)) return 128 & this[h] ? -1 * (255 - this[h] + 1) : this[h];
14921
- }, E.prototype.readInt16LE = function(h, v) {
14922
- return T(this, h, !0, v);
14923
- }, E.prototype.readInt16BE = function(h, v) {
14924
- return T(this, h, !1, v);
14925
- }, E.prototype.readInt32LE = function(h, v) {
14926
- return N(this, h, !0, v);
14927
- }, E.prototype.readInt32BE = function(h, v) {
14928
- return N(this, h, !1, v);
14929
- }, E.prototype.readFloatLE = function(h, v) {
14930
- return g(this, h, !0, v);
14931
- }, E.prototype.readFloatBE = function(h, v) {
14932
- return g(this, h, !1, v);
14933
- }, E.prototype.readDoubleLE = function(h, v) {
14934
- return y(this, h, !0, v);
14935
- }, E.prototype.readDoubleBE = function(h, v) {
14936
- return y(this, h, !1, v);
14937
- }, E.prototype.writeUInt8 = function(h, v, F) {
14938
- F || (B(h != null, "missing value"), B(v != null, "missing offset"), B(v < this.length, "trying to write beyond buffer length"), Qr(h, 255)), v >= this.length || (this[v] = h);
14939
- }, E.prototype.writeUInt16LE = function(h, v, F) {
14940
- d(this, h, v, !0, F);
14941
- }, E.prototype.writeUInt16BE = function(h, v, F) {
14942
- d(this, h, v, !1, F);
14943
- }, E.prototype.writeUInt32LE = function(h, v, F) {
14944
- I(this, h, v, !0, F);
14945
- }, E.prototype.writeUInt32BE = function(h, v, F) {
14946
- I(this, h, v, !1, F);
14947
- }, E.prototype.writeInt8 = function(h, v, F) {
14948
- F || (B(h != null, "missing value"), B(v != null, "missing offset"), B(v < this.length, "Trying to write beyond buffer length"), Wr(h, 127, -128)), v >= this.length || (0 <= h ? this.writeUInt8(h, v, F) : this.writeUInt8(255 + h + 1, v, F));
14949
- }, E.prototype.writeInt16LE = function(h, v, F) {
14950
- R(this, h, v, !0, F);
14951
- }, E.prototype.writeInt16BE = function(h, v, F) {
14952
- R(this, h, v, !1, F);
14953
- }, E.prototype.writeInt32LE = function(h, v, F) {
14954
- Z(this, h, v, !0, F);
14955
- }, E.prototype.writeInt32BE = function(h, v, F) {
14956
- Z(this, h, v, !1, F);
14957
- }, E.prototype.writeFloatLE = function(h, v, F) {
14958
- K(this, h, v, !0, F);
14959
- }, E.prototype.writeFloatBE = function(h, v, F) {
14960
- K(this, h, v, !1, F);
14961
- }, E.prototype.writeDoubleLE = function(h, v, F) {
14962
- X(this, h, v, !0, F);
14963
- }, E.prototype.writeDoubleBE = function(h, v, F) {
14964
- X(this, h, v, !1, F);
14965
- }, E.prototype.fill = function(h, v, F) {
14966
- if (v = v || 0, F = F || this.length, B(typeof (h = typeof (h = h || 0) == "string" ? h.charCodeAt(0) : h) == "number" && !isNaN(h), "value is not a number"), B(v <= F, "end < start"), F !== v && this.length !== 0) {
14967
- B(0 <= v && v < this.length, "start out of bounds"), B(0 <= F && F <= this.length, "end out of bounds");
14968
- for (var M = v; M < F; M++) this[M] = h;
14907
+ }, v.prototype.set = function(h, E) {
14908
+ return console.log(".set() is deprecated. Access using array indexes instead."), this.writeUInt8(h, E);
14909
+ }, v.prototype.readUInt8 = function(h, E) {
14910
+ if (E || (B(h != null, "missing offset"), B(h < this.length, "Trying to read beyond buffer length")), !(h >= this.length)) return this[h];
14911
+ }, v.prototype.readUInt16LE = function(h, E) {
14912
+ return A(this, h, !0, E);
14913
+ }, v.prototype.readUInt16BE = function(h, E) {
14914
+ return A(this, h, !1, E);
14915
+ }, v.prototype.readUInt32LE = function(h, E) {
14916
+ return L(this, h, !0, E);
14917
+ }, v.prototype.readUInt32BE = function(h, E) {
14918
+ return L(this, h, !1, E);
14919
+ }, v.prototype.readInt8 = function(h, E) {
14920
+ if (E || (B(h != null, "missing offset"), B(h < this.length, "Trying to read beyond buffer length")), !(h >= this.length)) return 128 & this[h] ? -1 * (255 - this[h] + 1) : this[h];
14921
+ }, v.prototype.readInt16LE = function(h, E) {
14922
+ return T(this, h, !0, E);
14923
+ }, v.prototype.readInt16BE = function(h, E) {
14924
+ return T(this, h, !1, E);
14925
+ }, v.prototype.readInt32LE = function(h, E) {
14926
+ return N(this, h, !0, E);
14927
+ }, v.prototype.readInt32BE = function(h, E) {
14928
+ return N(this, h, !1, E);
14929
+ }, v.prototype.readFloatLE = function(h, E) {
14930
+ return g(this, h, !0, E);
14931
+ }, v.prototype.readFloatBE = function(h, E) {
14932
+ return g(this, h, !1, E);
14933
+ }, v.prototype.readDoubleLE = function(h, E) {
14934
+ return y(this, h, !0, E);
14935
+ }, v.prototype.readDoubleBE = function(h, E) {
14936
+ return y(this, h, !1, E);
14937
+ }, v.prototype.writeUInt8 = function(h, E, F) {
14938
+ F || (B(h != null, "missing value"), B(E != null, "missing offset"), B(E < this.length, "trying to write beyond buffer length"), Qr(h, 255)), E >= this.length || (this[E] = h);
14939
+ }, v.prototype.writeUInt16LE = function(h, E, F) {
14940
+ d(this, h, E, !0, F);
14941
+ }, v.prototype.writeUInt16BE = function(h, E, F) {
14942
+ d(this, h, E, !1, F);
14943
+ }, v.prototype.writeUInt32LE = function(h, E, F) {
14944
+ I(this, h, E, !0, F);
14945
+ }, v.prototype.writeUInt32BE = function(h, E, F) {
14946
+ I(this, h, E, !1, F);
14947
+ }, v.prototype.writeInt8 = function(h, E, F) {
14948
+ F || (B(h != null, "missing value"), B(E != null, "missing offset"), B(E < this.length, "Trying to write beyond buffer length"), Wr(h, 127, -128)), E >= this.length || (0 <= h ? this.writeUInt8(h, E, F) : this.writeUInt8(255 + h + 1, E, F));
14949
+ }, v.prototype.writeInt16LE = function(h, E, F) {
14950
+ R(this, h, E, !0, F);
14951
+ }, v.prototype.writeInt16BE = function(h, E, F) {
14952
+ R(this, h, E, !1, F);
14953
+ }, v.prototype.writeInt32LE = function(h, E, F) {
14954
+ Z(this, h, E, !0, F);
14955
+ }, v.prototype.writeInt32BE = function(h, E, F) {
14956
+ Z(this, h, E, !1, F);
14957
+ }, v.prototype.writeFloatLE = function(h, E, F) {
14958
+ K(this, h, E, !0, F);
14959
+ }, v.prototype.writeFloatBE = function(h, E, F) {
14960
+ K(this, h, E, !1, F);
14961
+ }, v.prototype.writeDoubleLE = function(h, E, F) {
14962
+ X(this, h, E, !0, F);
14963
+ }, v.prototype.writeDoubleBE = function(h, E, F) {
14964
+ X(this, h, E, !1, F);
14965
+ }, v.prototype.fill = function(h, E, F) {
14966
+ if (E = E || 0, F = F || this.length, B(typeof (h = typeof (h = h || 0) == "string" ? h.charCodeAt(0) : h) == "number" && !isNaN(h), "value is not a number"), B(E <= F, "end < start"), F !== E && this.length !== 0) {
14967
+ B(0 <= E && E < this.length, "start out of bounds"), B(0 <= F && F <= this.length, "end out of bounds");
14968
+ for (var M = E; M < F; M++) this[M] = h;
14969
14969
  }
14970
- }, E.prototype.inspect = function() {
14971
- for (var h = [], v = this.length, F = 0; F < v; F++) if (h[F] = le(this[F]), F === r.INSPECT_MAX_BYTES) {
14970
+ }, v.prototype.inspect = function() {
14971
+ for (var h = [], E = this.length, F = 0; F < E; F++) if (h[F] = le(this[F]), F === r.INSPECT_MAX_BYTES) {
14972
14972
  h[F + 1] = "...";
14973
14973
  break;
14974
14974
  }
14975
14975
  return "<Buffer " + h.join(" ") + ">";
14976
- }, E.prototype.toArrayBuffer = function() {
14976
+ }, v.prototype.toArrayBuffer = function() {
14977
14977
  if (typeof Uint8Array > "u") throw new Error("Buffer.toArrayBuffer not supported in this browser");
14978
- if (E._useTypedArrays) return new E(this).buffer;
14979
- for (var h = new Uint8Array(this.length), v = 0, F = h.length; v < F; v += 1) h[v] = this[v];
14978
+ if (v._useTypedArrays) return new v(this).buffer;
14979
+ for (var h = new Uint8Array(this.length), E = 0, F = h.length; E < F; E += 1) h[E] = this[E];
14980
14980
  return h.buffer;
14981
14981
  };
14982
- var q = E.prototype;
14983
- function ge(h, v, F) {
14984
- return typeof h != "number" ? F : v <= (h = ~~h) ? v : 0 <= h || 0 <= (h += v) ? h : 0;
14982
+ var q = v.prototype;
14983
+ function ge(h, E, F) {
14984
+ return typeof h != "number" ? F : E <= (h = ~~h) ? E : 0 <= h || 0 <= (h += E) ? h : 0;
14985
14985
  }
14986
14986
  function Be(h) {
14987
14987
  return (h = ~~Math.ceil(+h)) < 0 ? 0 : h;
14988
14988
  }
14989
14989
  function me(h) {
14990
- return (Array.isArray || function(v) {
14991
- return Object.prototype.toString.call(v) === "[object Array]";
14990
+ return (Array.isArray || function(E) {
14991
+ return Object.prototype.toString.call(E) === "[object Array]";
14992
14992
  })(h);
14993
14993
  }
14994
14994
  function le(h) {
14995
14995
  return h < 16 ? "0" + h.toString(16) : h.toString(16);
14996
14996
  }
14997
14997
  function Jt(h) {
14998
- for (var v = [], F = 0; F < h.length; F++) {
14998
+ for (var E = [], F = 0; F < h.length; F++) {
14999
14999
  var M = h.charCodeAt(F);
15000
- if (M <= 127) v.push(h.charCodeAt(F));
15001
- else for (var P = F, G = (55296 <= M && M <= 57343 && F++, encodeURIComponent(h.slice(P, F + 1)).substr(1).split("%")), oe = 0; oe < G.length; oe++) v.push(parseInt(G[oe], 16));
15000
+ if (M <= 127) E.push(h.charCodeAt(F));
15001
+ else for (var P = F, G = (55296 <= M && M <= 57343 && F++, encodeURIComponent(h.slice(P, F + 1)).substr(1).split("%")), oe = 0; oe < G.length; oe++) E.push(parseInt(G[oe], 16));
15002
15002
  }
15003
- return v;
15003
+ return E;
15004
15004
  }
15005
15005
  function ho(h) {
15006
15006
  return w.toByteArray(h);
15007
15007
  }
15008
- function zi(h, v, F, M) {
15009
- for (var P = 0; P < M && !(P + F >= v.length || P >= h.length); P++) v[P + F] = h[P];
15008
+ function zi(h, E, F, M) {
15009
+ for (var P = 0; P < M && !(P + F >= E.length || P >= h.length); P++) E[P + F] = h[P];
15010
15010
  return P;
15011
15011
  }
15012
15012
  function po(h) {
@@ -15016,28 +15016,28 @@ list should be an Array.`), h.length === 0) return new E(0);
15016
15016
  return "�";
15017
15017
  }
15018
15018
  }
15019
- function Qr(h, v) {
15020
- B(typeof h == "number", "cannot write a non-number as a number"), B(0 <= h, "specified a negative value for writing an unsigned value"), B(h <= v, "value is larger than maximum value for type"), B(Math.floor(h) === h, "value has a fractional component");
15019
+ function Qr(h, E) {
15020
+ B(typeof h == "number", "cannot write a non-number as a number"), B(0 <= h, "specified a negative value for writing an unsigned value"), B(h <= E, "value is larger than maximum value for type"), B(Math.floor(h) === h, "value has a fractional component");
15021
15021
  }
15022
- function Wr(h, v, F) {
15023
- B(typeof h == "number", "cannot write a non-number as a number"), B(h <= v, "value larger than maximum allowed value"), B(F <= h, "value smaller than minimum allowed value"), B(Math.floor(h) === h, "value has a fractional component");
15022
+ function Wr(h, E, F) {
15023
+ B(typeof h == "number", "cannot write a non-number as a number"), B(h <= E, "value larger than maximum allowed value"), B(F <= h, "value smaller than minimum allowed value"), B(Math.floor(h) === h, "value has a fractional component");
15024
15024
  }
15025
- function go(h, v, F) {
15026
- B(typeof h == "number", "cannot write a non-number as a number"), B(h <= v, "value larger than maximum allowed value"), B(F <= h, "value smaller than minimum allowed value");
15025
+ function go(h, E, F) {
15026
+ B(typeof h == "number", "cannot write a non-number as a number"), B(h <= E, "value larger than maximum allowed value"), B(F <= h, "value smaller than minimum allowed value");
15027
15027
  }
15028
- function B(h, v) {
15029
- if (!h) throw new Error(v || "Failed assertion");
15028
+ function B(h, E) {
15029
+ if (!h) throw new Error(E || "Failed assertion");
15030
15030
  }
15031
- E._augment = function(h) {
15031
+ v._augment = function(h) {
15032
15032
  return h._isBuffer = !0, h._get = h.get, h._set = h.set, h.get = q.get, h.set = q.set, h.write = q.write, h.toString = q.toString, h.toLocaleString = q.toString, h.toJSON = q.toJSON, h.copy = q.copy, h.slice = q.slice, h.readUInt8 = q.readUInt8, h.readUInt16LE = q.readUInt16LE, h.readUInt16BE = q.readUInt16BE, h.readUInt32LE = q.readUInt32LE, h.readUInt32BE = q.readUInt32BE, h.readInt8 = q.readInt8, h.readInt16LE = q.readInt16LE, h.readInt16BE = q.readInt16BE, h.readInt32LE = q.readInt32LE, h.readInt32BE = q.readInt32BE, h.readFloatLE = q.readFloatLE, h.readFloatBE = q.readFloatBE, h.readDoubleLE = q.readDoubleLE, h.readDoubleBE = q.readDoubleBE, h.writeUInt8 = q.writeUInt8, h.writeUInt16LE = q.writeUInt16LE, h.writeUInt16BE = q.writeUInt16BE, h.writeUInt32LE = q.writeUInt32LE, h.writeUInt32BE = q.writeUInt32BE, h.writeInt8 = q.writeInt8, h.writeInt16LE = q.writeInt16LE, h.writeInt16BE = q.writeInt16BE, h.writeInt32LE = q.writeInt32LE, h.writeInt32BE = q.writeInt32BE, h.writeFloatLE = q.writeFloatLE, h.writeFloatBE = q.writeFloatBE, h.writeDoubleLE = q.writeDoubleLE, h.writeDoubleBE = q.writeDoubleBE, h.fill = q.fill, h.inspect = q.inspect, h.toArrayBuffer = q.toArrayBuffer, h;
15033
15033
  };
15034
15034
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/buffer/index.js", "/node_modules/gulp-browserify/node_modules/buffer");
15035
15035
  }, { "base64-js": 2, buffer: 3, ieee754: 10, lYpoI2: 11 }], 4: [function(n, i, r) {
15036
15036
  (function(s, o, w, u, c, f, p, m, S) {
15037
- var w = n("buffer").Buffer, C = 4, E = new w(C);
15038
- E.fill(0), i.exports = { hash: function(b, O, x, A) {
15037
+ var w = n("buffer").Buffer, C = 4, v = new w(C);
15038
+ v.fill(0), i.exports = { hash: function(b, O, x, A) {
15039
15039
  for (var L = O(function(d, I) {
15040
- d.length % C != 0 && (R = d.length + (C - d.length % C), d = w.concat([d, E], R));
15040
+ d.length % C != 0 && (R = d.length + (C - d.length % C), d = w.concat([d, v], R));
15041
15041
  for (var R, Z = [], K = I ? d.readInt32BE : d.readInt32LE, X = 0; X < d.length; X += C) Z.push(K.call(d, X));
15042
15042
  return Z;
15043
15043
  }(b = w.isBuffer(b) ? b : new w(b), A), 8 * b.length), O = A, T = new w(x), N = O ? T.writeInt32BE : T.writeInt32LE, g = 0; g < L.length; g++) N.call(T, L[g], 4 * g, !0);
@@ -15046,7 +15046,7 @@ list should be an Array.`), h.length === 0) return new E(0);
15046
15046
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
15047
15047
  }, { buffer: 3, lYpoI2: 11 }], 5: [function(n, i, r) {
15048
15048
  (function(s, o, w, u, c, f, p, m, S) {
15049
- var w = n("buffer").Buffer, C = n("./sha"), E = n("./sha256"), b = n("./rng"), O = { sha1: C, sha256: E, md5: n("./md5") }, x = 64, A = new w(x);
15049
+ var w = n("buffer").Buffer, C = n("./sha"), v = n("./sha256"), b = n("./rng"), O = { sha1: C, sha256: v, md5: n("./md5") }, x = 64, A = new w(x);
15050
15050
  function L(d, I) {
15051
15051
  var R = O[d = d || "sha1"], Z = [];
15052
15052
  return R || T("algorithm:", d, "is not yet supported"), { update: function(K) {
@@ -15093,20 +15093,20 @@ list should be an Array.`), h.length === 0) return new E(0);
15093
15093
  }
15094
15094
  return Array(g, y, d, I);
15095
15095
  }
15096
- function E(T, N, g, y, d, I) {
15096
+ function v(T, N, g, y, d, I) {
15097
15097
  return L((N = L(L(N, T), L(y, I))) << d | N >>> 32 - d, g);
15098
15098
  }
15099
15099
  function b(T, N, g, y, d, I, R) {
15100
- return E(N & g | ~N & y, T, N, d, I, R);
15100
+ return v(N & g | ~N & y, T, N, d, I, R);
15101
15101
  }
15102
15102
  function O(T, N, g, y, d, I, R) {
15103
- return E(N & y | g & ~y, T, N, d, I, R);
15103
+ return v(N & y | g & ~y, T, N, d, I, R);
15104
15104
  }
15105
15105
  function x(T, N, g, y, d, I, R) {
15106
- return E(N ^ g ^ y, T, N, d, I, R);
15106
+ return v(N ^ g ^ y, T, N, d, I, R);
15107
15107
  }
15108
15108
  function A(T, N, g, y, d, I, R) {
15109
- return E(g ^ (N | ~y), T, N, d, I, R);
15109
+ return v(g ^ (N | ~y), T, N, d, I, R);
15110
15110
  }
15111
15111
  function L(T, N) {
15112
15112
  var g = (65535 & T) + (65535 & N);
@@ -15119,8 +15119,8 @@ list should be an Array.`), h.length === 0) return new E(0);
15119
15119
  }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 7: [function(n, i, r) {
15120
15120
  (function(s, o, a, u, c, f, p, m, S) {
15121
15121
  i.exports = function(w) {
15122
- for (var C, E = new Array(w), b = 0; b < w; b++) !(3 & b) && (C = 4294967296 * Math.random()), E[b] = C >>> ((3 & b) << 3) & 255;
15123
- return E;
15122
+ for (var C, v = new Array(w), b = 0; b < w; b++) !(3 & b) && (C = 4294967296 * Math.random()), v[b] = C >>> ((3 & b) << 3) & 255;
15123
+ return v;
15124
15124
  };
15125
15125
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
15126
15126
  }, { buffer: 3, lYpoI2: 11 }], 8: [function(n, i, r) {
@@ -15131,13 +15131,13 @@ list should be an Array.`), h.length === 0) return new E(0);
15131
15131
  for (var A, L, T, N = Array(80), g = 1732584193, y = -271733879, d = -1732584194, I = 271733878, R = -1009589776, Z = 0; Z < O.length; Z += 16) {
15132
15132
  for (var K = g, X = y, q = d, ge = I, Be = R, me = 0; me < 80; me++) {
15133
15133
  N[me] = me < 16 ? O[Z + me] : b(N[me - 3] ^ N[me - 8] ^ N[me - 14] ^ N[me - 16], 1);
15134
- var le = E(E(b(g, 5), (le = y, L = d, T = I, (A = me) < 20 ? le & L | ~le & T : !(A < 40) && A < 60 ? le & L | le & T | L & T : le ^ L ^ T)), E(E(R, N[me]), (A = me) < 20 ? 1518500249 : A < 40 ? 1859775393 : A < 60 ? -1894007588 : -899497514)), R = I, I = d, d = b(y, 30), y = g, g = le;
15134
+ var le = v(v(b(g, 5), (le = y, L = d, T = I, (A = me) < 20 ? le & L | ~le & T : !(A < 40) && A < 60 ? le & L | le & T | L & T : le ^ L ^ T)), v(v(R, N[me]), (A = me) < 20 ? 1518500249 : A < 40 ? 1859775393 : A < 60 ? -1894007588 : -899497514)), R = I, I = d, d = b(y, 30), y = g, g = le;
15135
15135
  }
15136
- g = E(g, K), y = E(y, X), d = E(d, q), I = E(I, ge), R = E(R, Be);
15136
+ g = v(g, K), y = v(y, X), d = v(d, q), I = v(I, ge), R = v(R, Be);
15137
15137
  }
15138
15138
  return Array(g, y, d, I, R);
15139
15139
  }
15140
- function E(O, x) {
15140
+ function v(O, x) {
15141
15141
  var A = (65535 & O) + (65535 & x);
15142
15142
  return (O >> 16) + (x >> 16) + (A >> 16) << 16 | 65535 & A;
15143
15143
  }
@@ -15163,19 +15163,19 @@ list should be an Array.`), h.length === 0) return new E(0);
15163
15163
  }
15164
15164
  return N;
15165
15165
  }
15166
- var E = n("./helpers"), b = function(x, A) {
15166
+ var v = n("./helpers"), b = function(x, A) {
15167
15167
  return x >>> A | x << 32 - A;
15168
15168
  }, O = function(x, A) {
15169
15169
  return x >>> A;
15170
15170
  };
15171
15171
  i.exports = function(x) {
15172
- return E.hash(x, C, 32, !0);
15172
+ return v.hash(x, C, 32, !0);
15173
15173
  };
15174
15174
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
15175
15175
  }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 10: [function(n, i, r) {
15176
15176
  (function(s, o, a, u, c, f, p, m, S) {
15177
- r.read = function(w, C, E, b, I) {
15178
- var x, A, L = 8 * I - b - 1, T = (1 << L) - 1, N = T >> 1, g = -7, y = E ? I - 1 : 0, d = E ? -1 : 1, I = w[C + y];
15177
+ r.read = function(w, C, v, b, I) {
15178
+ var x, A, L = 8 * I - b - 1, T = (1 << L) - 1, N = T >> 1, g = -7, y = v ? I - 1 : 0, d = v ? -1 : 1, I = w[C + y];
15179
15179
  for (y += d, x = I & (1 << -g) - 1, I >>= -g, g += L; 0 < g; x = 256 * x + w[C + y], y += d, g -= 8) ;
15180
15180
  for (A = x & (1 << -g) - 1, x >>= -g, g += b; 0 < g; A = 256 * A + w[C + y], y += d, g -= 8) ;
15181
15181
  if (x === 0) x = 1 - N;
@@ -15184,21 +15184,21 @@ list should be an Array.`), h.length === 0) return new E(0);
15184
15184
  A += Math.pow(2, b), x -= N;
15185
15185
  }
15186
15186
  return (I ? -1 : 1) * A * Math.pow(2, x - b);
15187
- }, r.write = function(w, C, E, b, O, R) {
15187
+ }, r.write = function(w, C, v, b, O, R) {
15188
15188
  var A, L, T = 8 * R - O - 1, N = (1 << T) - 1, g = N >> 1, y = O === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, d = b ? 0 : R - 1, I = b ? 1 : -1, R = C < 0 || C === 0 && 1 / C < 0 ? 1 : 0;
15189
- for (C = Math.abs(C), isNaN(C) || C === 1 / 0 ? (L = isNaN(C) ? 1 : 0, A = N) : (A = Math.floor(Math.log(C) / Math.LN2), C * (b = Math.pow(2, -A)) < 1 && (A--, b *= 2), 2 <= (C += 1 <= A + g ? y / b : y * Math.pow(2, 1 - g)) * b && (A++, b /= 2), N <= A + g ? (L = 0, A = N) : 1 <= A + g ? (L = (C * b - 1) * Math.pow(2, O), A += g) : (L = C * Math.pow(2, g - 1) * Math.pow(2, O), A = 0)); 8 <= O; w[E + d] = 255 & L, d += I, L /= 256, O -= 8) ;
15190
- for (A = A << O | L, T += O; 0 < T; w[E + d] = 255 & A, d += I, A /= 256, T -= 8) ;
15191
- w[E + d - I] |= 128 * R;
15189
+ for (C = Math.abs(C), isNaN(C) || C === 1 / 0 ? (L = isNaN(C) ? 1 : 0, A = N) : (A = Math.floor(Math.log(C) / Math.LN2), C * (b = Math.pow(2, -A)) < 1 && (A--, b *= 2), 2 <= (C += 1 <= A + g ? y / b : y * Math.pow(2, 1 - g)) * b && (A++, b /= 2), N <= A + g ? (L = 0, A = N) : 1 <= A + g ? (L = (C * b - 1) * Math.pow(2, O), A += g) : (L = C * Math.pow(2, g - 1) * Math.pow(2, O), A = 0)); 8 <= O; w[v + d] = 255 & L, d += I, L /= 256, O -= 8) ;
15190
+ for (A = A << O | L, T += O; 0 < T; w[v + d] = 255 & A, d += I, A /= 256, T -= 8) ;
15191
+ w[v + d - I] |= 128 * R;
15192
15192
  };
15193
15193
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/ieee754/index.js", "/node_modules/gulp-browserify/node_modules/ieee754");
15194
15194
  }, { buffer: 3, lYpoI2: 11 }], 11: [function(n, i, r) {
15195
15195
  (function(s, o, a, u, c, f, p, m, S) {
15196
- var w, C, E;
15196
+ var w, C, v;
15197
15197
  function b() {
15198
15198
  }
15199
- (s = i.exports = {}).nextTick = (C = typeof window < "u" && window.setImmediate, E = typeof window < "u" && window.postMessage && window.addEventListener, C ? function(O) {
15199
+ (s = i.exports = {}).nextTick = (C = typeof window < "u" && window.setImmediate, v = typeof window < "u" && window.postMessage && window.addEventListener, C ? function(O) {
15200
15200
  return window.setImmediate(O);
15201
- } : E ? (w = [], window.addEventListener("message", function(O) {
15201
+ } : v ? (w = [], window.addEventListener("message", function(O) {
15202
15202
  var x = O.source;
15203
15203
  x !== window && x !== null || O.data !== "process-tick" || (O.stopPropagation(), 0 < w.length && w.shift()());
15204
15204
  }, !0), function(O) {
@@ -15217,8 +15217,8 @@ list should be an Array.`), h.length === 0) return new E(0);
15217
15217
  });
15218
15218
  })(yl);
15219
15219
  var em = yl.exports;
15220
- const tm = /* @__PURE__ */ Al(em);
15221
- var _n = {}, En = {}, ro = {};
15220
+ const tm = /* @__PURE__ */ xl(em);
15221
+ var _n = {}, vn = {}, ro = {};
15222
15222
  Object.defineProperty(ro, "__esModule", {
15223
15223
  value: !0
15224
15224
  });
@@ -15295,12 +15295,12 @@ function Aa(t) {
15295
15295
  return e.map(([i, r]) => i.padStart(n) + (r ? " " + r : "")).join(`
15296
15296
  `);
15297
15297
  }
15298
- Object.defineProperty(En, "__esModule", {
15298
+ Object.defineProperty(vn, "__esModule", {
15299
15299
  value: !0
15300
15300
  });
15301
- En.GraphQLError = void 0;
15302
- En.formatError = dm;
15303
- En.printError = fm;
15301
+ vn.GraphQLError = void 0;
15302
+ vn.formatError = dm;
15303
+ vn.printError = fm;
15304
15304
  var lm = ro, xa = Gr, Fa = qr;
15305
15305
  function cm(t) {
15306
15306
  const e = t[0];
@@ -15421,7 +15421,7 @@ class oo extends Error {
15421
15421
  return this.locations != null && (e.locations = this.locations), this.path != null && (e.path = this.path), this.extensions != null && Object.keys(this.extensions).length > 0 && (e.extensions = this.extensions), e;
15422
15422
  }
15423
15423
  }
15424
- En.GraphQLError = oo;
15424
+ vn.GraphQLError = oo;
15425
15425
  function Ca(t) {
15426
15426
  return t === void 0 || t.length === 0 ? void 0 : t;
15427
15427
  }
@@ -15436,7 +15436,7 @@ Object.defineProperty(ao, "__esModule", {
15436
15436
  value: !0
15437
15437
  });
15438
15438
  ao.syntaxError = pm;
15439
- var hm = En;
15439
+ var hm = vn;
15440
15440
  function pm(t, e, n) {
15441
15441
  return new hm.GraphQLError(`Syntax Error: ${n}`, {
15442
15442
  source: t,
@@ -15475,7 +15475,7 @@ function ym(t, e) {
15475
15475
  if (i !== t)
15476
15476
  return typeof i == "string" ? i : zr(i, n);
15477
15477
  } else if (Array.isArray(t))
15478
- return Em(t, n);
15478
+ return vm(t, n);
15479
15479
  return wm(t, n);
15480
15480
  }
15481
15481
  function bm(t) {
@@ -15483,11 +15483,11 @@ function bm(t) {
15483
15483
  }
15484
15484
  function wm(t, e) {
15485
15485
  const n = Object.entries(t);
15486
- return n.length === 0 ? "{}" : e.length > wl ? "[" + vm(t) + "]" : "{ " + n.map(
15486
+ return n.length === 0 ? "{}" : e.length > wl ? "[" + Em(t) + "]" : "{ " + n.map(
15487
15487
  ([r, s]) => r + ": " + zr(s, e)
15488
15488
  ).join(", ") + " }";
15489
15489
  }
15490
- function Em(t, e) {
15490
+ function vm(t, e) {
15491
15491
  if (t.length === 0)
15492
15492
  return "[]";
15493
15493
  if (e.length > wl)
@@ -15497,7 +15497,7 @@ function Em(t, e) {
15497
15497
  r.push(zr(t[s], e));
15498
15498
  return i === 1 ? r.push("... 1 more item") : i > 1 && r.push(`... ${i} more items`), "[" + r.join(", ") + "]";
15499
15499
  }
15500
- function vm(t) {
15500
+ function Em(t) {
15501
15501
  const e = Object.prototype.toString.call(t).replace(/^\[object /, "").replace(/]$/, "");
15502
15502
  if (e === "Object" && typeof t.constructor == "function") {
15503
15503
  const n = t.constructor.name;
@@ -15523,7 +15523,7 @@ Object.defineProperty(uo, "__esModule", {
15523
15523
  value: !0
15524
15524
  });
15525
15525
  uo.locatedError = Nm;
15526
- var Im = lo, Om = En;
15526
+ var Im = lo, Om = vn;
15527
15527
  function Nm(t, e, n) {
15528
15528
  var i;
15529
15529
  const r = (0, Im.toError)(t);
@@ -15567,9 +15567,9 @@ function Am(t) {
15567
15567
  return n.syntaxError;
15568
15568
  }
15569
15569
  });
15570
- var e = En, n = ao, i = uo;
15570
+ var e = vn, n = ao, i = uo;
15571
15571
  })(_n);
15572
- var El = {};
15572
+ var vl = {};
15573
15573
  (function(t) {
15574
15574
  t.__esModule = !0, t.OpenAPIV2 = t.OpenAPIV3 = void 0, function(e) {
15575
15575
  (function(n) {
@@ -15580,7 +15580,7 @@ var El = {};
15580
15580
  n.GET = "get", n.PUT = "put", n.POST = "post", n.DELETE = "delete", n.OPTIONS = "options", n.HEAD = "head", n.PATCH = "patch";
15581
15581
  })(e.HttpMethods || (e.HttpMethods = {}));
15582
15582
  }(t.OpenAPIV2 || (t.OpenAPIV2 = {}));
15583
- })(El);
15583
+ })(vl);
15584
15584
  const as = /* @__PURE__ */ new Map(), xm = (t, e) => {
15585
15585
  as.has(t) || as.set(t, /* @__PURE__ */ new Map());
15586
15586
  const n = as.get(t);
@@ -15643,7 +15643,7 @@ const Rm = (t) => {
15643
15643
  type: "string",
15644
15644
  contentEncoding: "base64"
15645
15645
  } : n), t;
15646
- }, Lm = Object.values(El.OpenAPIV3.HttpMethods), km = async (t) => {
15646
+ }, Lm = Object.values(vl.OpenAPIV3.HttpMethods), km = async (t) => {
15647
15647
  if (typeof t == "string") {
15648
15648
  if (t.trim().startsWith("{"))
15649
15649
  try {
@@ -15688,59 +15688,58 @@ const Rm = (t) => {
15688
15688
  throw new _n.GraphQLError("OpenAPI version is not defined");
15689
15689
  const n = await Cm(e);
15690
15690
  return Rm(n);
15691
- }, $m = (t, e) => {
15692
- const n = (t.summary ?? "") + (t.operationId ? "-" + t.operationId.slice(0, (t.summary, 1 / 0)) : "");
15693
- return xl(
15694
- (e ? e + "-" : "") + (n || `${t.method}-${t.path}`),
15695
- { lower: !0, trim: !0 }
15691
+ }, $m = (t, e, n) => {
15692
+ const i = (e.summary ?? "") + (e.operationId ? "-" + e.operationId.slice(0, (e.summary, 1 / 0)) : "");
15693
+ return t(
15694
+ (n ? n + "-" : "") + (i || `${e.method}-${e.path}`)
15696
15695
  );
15697
15696
  }, ls = new Cs({
15698
15697
  ttl: 60 * 10 * 1e3,
15699
15698
  ttlAutopurge: !0
15700
- }), Ve = new Eh({}), Ri = Ve.addScalarType("JSON", vh), jm = Ve.addScalarType("JSONObject", Th), vl = (t) => {
15699
+ }), Ue = new vh({}), Ri = Ue.addScalarType("JSON", Eh), jm = Ue.addScalarType("JSONObject", Th), El = (t) => {
15701
15700
  const e = t.tags ?? [], n = Object.values(t.paths ?? {}).flatMap((r) => Object.values(r ?? {})).flatMap(
15702
15701
  (r) => typeof r == "object" && "tags" in r ? r.tags ?? [] : []
15703
15702
  ), i = [...new Set(n)].filter(
15704
15703
  (r) => !e.some((s) => s.name === r)
15705
15704
  );
15706
15705
  return [...e, ...i.map((r) => ({ name: r }))];
15707
- }, Tl = (t, e) => Object.entries(t ?? {}).flatMap(
15708
- ([n, i]) => Lm.flatMap((r) => {
15709
- if (!(i != null && i[r])) return [];
15710
- const s = i[r], o = i.parameters ?? [], a = s.parameters ?? [], u = [
15711
- ...o.filter(
15712
- // remove path parameters that are already defined in the operation
15713
- (c) => !a.some(
15714
- (f) => f.name === c.name && f.in === c.in
15715
- )
15716
- ),
15717
- ...a
15718
- ];
15719
- return {
15720
- ...s,
15721
- method: r,
15722
- path: n,
15723
- parameters: u,
15724
- tags: s.tags ?? [],
15725
- slug: $m(
15726
- {
15727
- summary: s.summary,
15728
- operationId: s.operationId,
15729
- path: n,
15730
- method: r
15731
- },
15732
- e
15733
- )
15734
- };
15735
- })
15736
- ), Pm = Ve.objectRef("SchemaTag").implement({
15706
+ }, Tl = (t, e) => {
15707
+ const n = Al();
15708
+ return Object.entries(t ?? {}).flatMap(
15709
+ ([i, r]) => Lm.flatMap((s) => {
15710
+ if (!(r != null && r[s])) return [];
15711
+ const o = r[s], a = r.parameters ?? [], u = o.parameters ?? [], c = [
15712
+ ...a.filter(
15713
+ // remove path parameters that are already defined in the operation
15714
+ (p) => !u.some(
15715
+ (m) => m.name === p.name && m.in === p.in
15716
+ )
15717
+ ),
15718
+ ...u
15719
+ ], f = {
15720
+ summary: o.summary,
15721
+ operationId: o.operationId,
15722
+ path: i,
15723
+ method: s
15724
+ };
15725
+ return {
15726
+ ...o,
15727
+ method: s,
15728
+ path: i,
15729
+ parameters: c,
15730
+ tags: o.tags ?? [],
15731
+ slug: $m(n, f, e)
15732
+ };
15733
+ })
15734
+ );
15735
+ }, Pm = Ue.objectRef("SchemaTag").implement({
15737
15736
  fields: (t) => ({
15738
15737
  name: t.exposeString("name", { nullable: !0 }),
15739
15738
  description: t.exposeString("description", { nullable: !0 }),
15740
15739
  operations: t.field({
15741
15740
  type: [Il],
15742
15741
  resolve: (e, n, i) => {
15743
- const r = vl(i.schema).map((s) => s.name);
15742
+ const r = El(i.schema).map((s) => s.name);
15744
15743
  return Tl(i.schema.paths, e.name).filter(
15745
15744
  (s) => e.name ? s.tags.includes(e.name) : s.tags.length === 0 || // If none of the tags are present in the root tags, then show them here
15746
15745
  s.tags.every((o) => !r.includes(o))
@@ -15748,17 +15747,22 @@ const Rm = (t) => {
15748
15747
  }
15749
15748
  })
15750
15749
  })
15751
- }), Mm = Ve.objectRef("PathItem").implement({
15750
+ }), Mm = Ue.objectRef("Server").implement({
15751
+ fields: (t) => ({
15752
+ url: t.exposeString("url"),
15753
+ description: t.exposeString("description", { nullable: !0 })
15754
+ })
15755
+ }), Um = Ue.objectRef("PathItem").implement({
15752
15756
  fields: (t) => ({
15753
15757
  path: t.exposeString("path"),
15754
15758
  methods: t.exposeStringList("methods")
15755
15759
  })
15756
- }), Um = Ve.objectRef("TagItem").implement({
15760
+ }), Vm = Ue.objectRef("TagItem").implement({
15757
15761
  fields: (t) => ({
15758
15762
  name: t.exposeString("name"),
15759
15763
  description: t.exposeString("description", { nullable: !0 })
15760
15764
  })
15761
- }), Vm = Ve.objectRef("EncodingItem").implement({
15765
+ }), Bm = Ue.objectRef("EncodingItem").implement({
15762
15766
  fields: (t) => ({
15763
15767
  name: t.exposeString("name"),
15764
15768
  contentType: t.exposeString("contentType", { nullable: !0 }),
@@ -15767,7 +15771,7 @@ const Rm = (t) => {
15767
15771
  explode: t.exposeBoolean("explode", { nullable: !0 }),
15768
15772
  allowReserved: t.exposeBoolean("allowReserved", { nullable: !0 })
15769
15773
  })
15770
- }), Sl = Ve.objectRef("ExampleItem").implement({
15774
+ }), Sl = Ue.objectRef("ExampleItem").implement({
15771
15775
  fields: (t) => ({
15772
15776
  name: t.exposeString("name"),
15773
15777
  summary: t.exposeString("summary", { nullable: !0 }),
@@ -15775,13 +15779,13 @@ const Rm = (t) => {
15775
15779
  value: t.exposeString("value", { nullable: !0 }),
15776
15780
  externalValue: t.exposeString("externalValue", { nullable: !0 })
15777
15781
  })
15778
- }), Bm = Ve.enumType("ParameterIn", {
15782
+ }), Gm = Ue.enumType("ParameterIn", {
15779
15783
  values: ["query", "header", "path", "cookie"]
15780
- }), Gm = Ve.objectRef("ParameterItem").implement({
15784
+ }), qm = Ue.objectRef("ParameterItem").implement({
15781
15785
  fields: (t) => ({
15782
15786
  name: t.exposeString("name"),
15783
15787
  in: t.field({
15784
- type: Bm,
15788
+ type: Gm,
15785
15789
  resolve: (e) => e.in
15786
15790
  }),
15787
15791
  description: t.exposeString("description", { nullable: !0 }),
@@ -15801,20 +15805,20 @@ const Rm = (t) => {
15801
15805
  }),
15802
15806
  schema: t.expose("schema", { type: Ri, nullable: !0 })
15803
15807
  })
15804
- }), _l = Ve.objectRef("MediaTypeObject").implement({
15808
+ }), _l = Ue.objectRef("MediaTypeObject").implement({
15805
15809
  fields: (t) => ({
15806
15810
  mediaType: t.exposeString("mediaType"),
15807
15811
  schema: t.expose("schema", { type: Ri, nullable: !0 }),
15808
15812
  examples: t.expose("examples", { type: [Sl], nullable: !0 }),
15809
- encoding: t.expose("encoding", { type: [Vm], nullable: !0 })
15813
+ encoding: t.expose("encoding", { type: [Bm], nullable: !0 })
15810
15814
  })
15811
- }), qm = Ve.objectRef("RequestBodyObject").implement({
15815
+ }), zm = Ue.objectRef("RequestBodyObject").implement({
15812
15816
  fields: (t) => ({
15813
15817
  description: t.exposeString("description", { nullable: !0 }),
15814
15818
  content: t.expose("content", { type: [_l], nullable: !0 }),
15815
15819
  required: t.exposeBoolean("required", { nullable: !0 })
15816
15820
  })
15817
- }), zm = Ve.objectRef("ResponseItem").implement({
15821
+ }), Qm = Ue.objectRef("ResponseItem").implement({
15818
15822
  fields: (t) => ({
15819
15823
  statusCode: t.exposeString("statusCode"),
15820
15824
  description: t.exposeString("description", { nullable: !0 }),
@@ -15822,7 +15826,7 @@ const Rm = (t) => {
15822
15826
  headers: t.expose("headers", { type: Ri, nullable: !0 }),
15823
15827
  links: t.expose("links", { type: Ri, nullable: !0 })
15824
15828
  })
15825
- }), Il = Ve.objectRef("OperationItem").implement({
15829
+ }), Il = Ue.objectRef("OperationItem").implement({
15826
15830
  fields: (t) => ({
15827
15831
  slug: t.exposeString("slug"),
15828
15832
  path: t.exposeString("path"),
@@ -15837,11 +15841,11 @@ const Rm = (t) => {
15837
15841
  }
15838
15842
  }),
15839
15843
  parameters: t.expose("parameters", {
15840
- type: [Gm],
15844
+ type: [qm],
15841
15845
  nullable: !0
15842
15846
  }),
15843
15847
  requestBody: t.field({
15844
- type: qm,
15848
+ type: zm,
15845
15849
  resolve: (e) => {
15846
15850
  var n, i, r;
15847
15851
  return {
@@ -15864,7 +15868,7 @@ const Rm = (t) => {
15864
15868
  nullable: !0
15865
15869
  }),
15866
15870
  responses: t.field({
15867
- type: [zm],
15871
+ type: [Qm],
15868
15872
  resolve: (e) => Object.entries(e.responses ?? {}).map(
15869
15873
  ([n, i]) => ({
15870
15874
  statusCode: n,
@@ -15884,7 +15888,7 @@ const Rm = (t) => {
15884
15888
  )
15885
15889
  }),
15886
15890
  tags: t.field({
15887
- type: [Um],
15891
+ type: [Vm],
15888
15892
  resolve: (e, n, i) => {
15889
15893
  var r;
15890
15894
  return (r = e.tags) == null ? void 0 : r.map((s) => {
@@ -15899,13 +15903,17 @@ const Rm = (t) => {
15899
15903
  }),
15900
15904
  deprecated: t.exposeBoolean("deprecated", { nullable: !0 })
15901
15905
  })
15902
- }), Qm = Ve.objectRef("Schema").implement({
15906
+ }), Wm = Ue.objectRef("Schema").implement({
15903
15907
  fields: (t) => ({
15904
15908
  openapi: t.string({ resolve: (e) => e.openapi }),
15905
15909
  url: t.string({ resolve: (e) => {
15906
15910
  var n, i;
15907
15911
  return ((i = (n = e.servers) == null ? void 0 : n.at(0)) == null ? void 0 : i.url) ?? "/";
15908
15912
  } }),
15913
+ servers: t.field({
15914
+ type: [Mm],
15915
+ resolve: (e) => e.servers ?? []
15916
+ }),
15909
15917
  title: t.string({ resolve: (e) => e.info.title }),
15910
15918
  version: t.string({ resolve: (e) => e.info.version }),
15911
15919
  description: t.string({
@@ -15913,7 +15921,7 @@ const Rm = (t) => {
15913
15921
  nullable: !0
15914
15922
  }),
15915
15923
  paths: t.field({
15916
- type: [Mm],
15924
+ type: [Um],
15917
15925
  resolve: (e) => Object.entries(e.paths ?? {}).map(([n, i]) => ({
15918
15926
  path: n,
15919
15927
  methods: Object.keys(i)
@@ -15925,7 +15933,7 @@ const Rm = (t) => {
15925
15933
  },
15926
15934
  type: [Pm],
15927
15935
  resolve: (e, n) => {
15928
- const i = [...vl(e), { name: "" }];
15936
+ const i = [...El(e), { name: "" }];
15929
15937
  return n.name ? i.filter((r) => r.name === n.name) : i;
15930
15938
  }
15931
15939
  }),
@@ -15942,32 +15950,32 @@ const Rm = (t) => {
15942
15950
  )
15943
15951
  })
15944
15952
  })
15945
- }), Wm = async (t) => {
15953
+ }), Hm = async (t) => {
15946
15954
  const e = tm(t);
15947
15955
  if (ls.has(e))
15948
15956
  return ls.get(e);
15949
15957
  const n = Dm(t);
15950
15958
  return ls.set(e, n), n;
15951
- }, Hm = Ve.enumType("SchemaType", {
15952
- values: ["url", "file"]
15959
+ }, Ym = Ue.enumType("SchemaType", {
15960
+ values: ["url", "file", "raw"]
15953
15961
  });
15954
- Ve.queryType({
15962
+ Ue.queryType({
15955
15963
  fields: (t) => ({
15956
15964
  // https://tan-cow-main-bce8a06.d2.zuplo.dev/openapi
15957
15965
  schema: t.field({
15958
- type: Qm,
15966
+ type: Wm,
15959
15967
  args: {
15960
- type: t.arg({ type: Hm, required: !0 }),
15968
+ type: t.arg({ type: Ym, required: !0 }),
15961
15969
  input: t.arg({ type: Ri, required: !0 })
15962
15970
  },
15963
15971
  resolve: async (e, n, i) => {
15964
- const r = await Wm(n.input);
15972
+ const r = await Hm(n.input);
15965
15973
  return i.schema = r, r;
15966
15974
  }
15967
15975
  })
15968
15976
  })
15969
15977
  });
15970
- const Ym = Ve.toSchema(), Jm = (t) => Xg({ schema: Ym, ...t }), Km = () => Jm({
15978
+ const Jm = Ue.toSchema(), Km = (t) => Xg({ schema: Jm, ...t }), Xm = () => Km({
15971
15979
  plugins: [
15972
15980
  // eslint-disable-next-line react-hooks/rules-of-hooks
15973
15981
  Jl({
@@ -15975,12 +15983,12 @@ const Ym = Ve.toSchema(), Jm = (t) => Xg({ schema: Ym, ...t }), Km = () => Jm({
15975
15983
  }
15976
15984
  })
15977
15985
  ]
15978
- }), Xm = Km(), Zm = () => new Ua({
15986
+ }), Zm = Xm(), ey = () => new Ua({
15979
15987
  url: "/__z/graphql",
15980
15988
  // Custom fetch to send the GraphQL request to the worker and convert the response back to a `Response` object
15981
15989
  fetch: async (t, e) => {
15982
15990
  if (!(e != null && e.body)) throw new Error("No body");
15983
- return await Xm.fetch(
15991
+ return await Zm.fetch(
15984
15992
  new Request("http://localhost/__z/graphql", {
15985
15993
  method: "POST",
15986
15994
  body: e.body,
@@ -16000,14 +16008,14 @@ const Ym = Ve.toSchema(), Jm = (t) => Xg({ schema: Ym, ...t }), Km = () => Jm({
16000
16008
  }),
16001
16009
  Ga
16002
16010
  ]
16003
- }), ey = Ml(), dy = ({
16011
+ }), ty = Ml(), hy = ({
16004
16012
  useMemoryClient: t
16005
16013
  }) => {
16006
16014
  if (t || typeof SharedWorker > "u")
16007
- return Zm();
16015
+ return ey();
16008
16016
  const e = new SharedWorker(new URL(
16009
16017
  /* @vite-ignore */
16010
- "./assets/worker-BvD7B6MG.js",
16018
+ "./assets/worker-Bcj4NA2p.js",
16011
16019
  import.meta.url
16012
16020
  ), {
16013
16021
  type: "module"
@@ -16023,7 +16031,7 @@ const Ym = Ve.toSchema(), Jm = (t) => Xg({ schema: Ym, ...t }), Km = () => Jm({
16023
16031
  // Custom fetch to send the GraphQL request to the worker and convert the response back to a `Response` object
16024
16032
  fetch: async (r, s) => {
16025
16033
  if (!(s != null && s.body)) throw new Error("No body");
16026
- const o = ey();
16034
+ const o = ty();
16027
16035
  e.port.postMessage({
16028
16036
  id: o,
16029
16037
  body: s.body
@@ -16048,6 +16056,6 @@ const Ym = Ve.toSchema(), Jm = (t) => Xg({ schema: Ym, ...t }), Km = () => Jm({
16048
16056
  });
16049
16057
  };
16050
16058
  export {
16051
- dy as createClient
16059
+ hy as createClient
16052
16060
  };
16053
16061
  //# sourceMappingURL=zudoku.openapi-worker.js.map