zudoku 0.3.0-dev.37 → 0.3.0-dev.39

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 (115) hide show
  1. package/dist/app/entry.client.d.ts +0 -1
  2. package/dist/app/entry.client.js +5 -8
  3. package/dist/app/entry.client.js.map +1 -1
  4. package/dist/{vite/ssr → app}/entry.server.d.ts +1 -1
  5. package/dist/{vite/ssr → app}/entry.server.js +5 -7
  6. package/dist/app/entry.server.js.map +1 -0
  7. package/dist/app/main.d.ts +6 -0
  8. package/dist/{lib → app}/main.js +5 -6
  9. package/dist/app/main.js.map +1 -0
  10. package/dist/{vite/ssr → app}/zudoku-manifest.js +1 -1
  11. package/dist/app/zudoku-manifest.js.map +1 -0
  12. package/dist/internal.d.ts +0 -1
  13. package/dist/internal.js +0 -1
  14. package/dist/internal.js.map +1 -1
  15. package/dist/lib/components/Bootstrap.d.ts +12 -0
  16. package/dist/lib/components/Bootstrap.js +9 -0
  17. package/dist/lib/components/Bootstrap.js.map +1 -0
  18. package/dist/lib/components/DevPortal.js +1 -1
  19. package/dist/lib/components/DevPortal.js.map +1 -1
  20. package/dist/lib/components/Layout.js +1 -1
  21. package/dist/lib/components/Layout.js.map +1 -1
  22. package/dist/lib/components/index.d.ts +10 -0
  23. package/dist/lib/components/index.js +5 -0
  24. package/dist/lib/components/index.js.map +1 -1
  25. package/dist/lib/plugins/markdown/MdxPage.js +1 -1
  26. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  27. package/dist/lib/plugins/openapi/client/createWorkerClient.js +5 -1
  28. package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +1 -1
  29. package/dist/lib/plugins/openapi/client/interfaces.d.ts +3 -1
  30. package/dist/lib/plugins/openapi/index.d.ts +5 -1
  31. package/dist/lib/plugins/openapi/index.js +2 -2
  32. package/dist/lib/plugins/openapi/index.js.map +1 -1
  33. package/dist/vite/build.js +12 -15
  34. package/dist/vite/build.js.map +1 -1
  35. package/dist/vite/config.js +9 -11
  36. package/dist/vite/config.js.map +1 -1
  37. package/dist/vite/dev-server.js +1 -0
  38. package/dist/vite/dev-server.js.map +1 -1
  39. package/dist/vite/plugin-api.js +5 -12
  40. package/dist/vite/plugin-api.js.map +1 -1
  41. package/dist/vite/plugin.js +0 -2
  42. package/dist/vite/plugin.js.map +1 -1
  43. package/lib/{AnchorLink-Sx89bfCW.js → AnchorLink-DCdBbdqo.js} +4 -3
  44. package/lib/AnchorLink-DCdBbdqo.js.map +1 -0
  45. package/lib/{DevPortalProvider-Demv4Ngx.js → DevPortalProvider-C-O1s7mm.js} +20 -20
  46. package/lib/{DevPortalProvider-Demv4Ngx.js.map → DevPortalProvider-C-O1s7mm.js.map} +1 -1
  47. package/lib/{Markdown-DMEnjeMH.js → Markdown-CGZJUYcj.js} +3192 -2663
  48. package/lib/Markdown-CGZJUYcj.js.map +1 -0
  49. package/lib/MdxPage-BZLuBOqR.js +190 -0
  50. package/lib/MdxPage-BZLuBOqR.js.map +1 -0
  51. package/lib/{OperationList-9NIdTqS0.js → OperationList-BEpN70_E.js} +192 -192
  52. package/lib/{OperationList-9NIdTqS0.js.map → OperationList-BEpN70_E.js.map} +1 -1
  53. package/lib/{Route-BqfQoDR2.js → Route-WiMUalLG.js} +3 -3
  54. package/lib/{Route-BqfQoDR2.js.map → Route-WiMUalLG.js.map} +1 -1
  55. package/lib/{Select-CJamK_wp.js → Select-BQ9-3iTJ.js} +5 -5
  56. package/lib/{Select-CJamK_wp.js.map → Select-BQ9-3iTJ.js.map} +1 -1
  57. package/lib/{Spinner-3YT-WUu5.js → Spinner-C1L_TK5f.js} +10 -10
  58. package/lib/{Spinner-3YT-WUu5.js.map → Spinner-C1L_TK5f.js.map} +1 -1
  59. package/lib/createWorkerClient-TWecYOlx.js +16698 -0
  60. package/lib/createWorkerClient-TWecYOlx.js.map +1 -0
  61. package/lib/{hook-Cq3Jb1lX.js → hook-SM2dMVmI.js} +9 -9
  62. package/lib/{hook-Cq3Jb1lX.js.map → hook-SM2dMVmI.js.map} +1 -1
  63. package/lib/{index-BB2EBBgh.js → index-CtLNbq0d.js} +15 -15
  64. package/lib/{index-BB2EBBgh.js.map → index-CtLNbq0d.js.map} +1 -1
  65. package/lib/{index-DhKGMJM2.js → index-PvQa9XLl.js} +16 -17
  66. package/lib/{index-DhKGMJM2.js.map → index-PvQa9XLl.js.map} +1 -1
  67. package/lib/index-pI9JkN46.js +4765 -0
  68. package/lib/index-pI9JkN46.js.map +1 -0
  69. package/lib/jsx-runtime-DLtUZ5Ve.js +1526 -0
  70. package/lib/{jsx-runtime-Bt86M5tA.js.map → jsx-runtime-DLtUZ5Ve.js.map} +1 -1
  71. package/lib/router-BkOLuJlq.js +2973 -0
  72. package/lib/{router-CcYTwKjf.js.map → router-BkOLuJlq.js.map} +1 -1
  73. package/lib/slugify-DbLhpSPt.js +28 -0
  74. package/lib/slugify-DbLhpSPt.js.map +1 -0
  75. package/lib/{util-CYBrkBUo.js → util-Cgie7wjb.js} +2 -2
  76. package/lib/{util-CYBrkBUo.js.map → util-Cgie7wjb.js.map} +1 -1
  77. package/lib/zudoku.auth-openid.js +1 -1
  78. package/lib/zudoku.components.js +692 -408
  79. package/lib/zudoku.components.js.map +1 -1
  80. package/lib/zudoku.openapi-worker.js +2 -225
  81. package/lib/zudoku.openapi-worker.js.map +1 -1
  82. package/lib/zudoku.plugin-api-keys.js +5 -5
  83. package/lib/zudoku.plugin-markdown.js +4 -4
  84. package/lib/zudoku.plugin-openapi.js +6 -7
  85. package/lib/zudoku.plugin-openapi.js.map +1 -1
  86. package/lib/zudoku.plugin-redirect.js +4 -4
  87. package/package.json +3 -7
  88. package/src/app/entry.client.tsx +4 -20
  89. package/src/app/entry.server.tsx +156 -0
  90. package/src/{lib → app}/main.tsx +9 -8
  91. package/src/app/zudoku-manifest.ts +22 -0
  92. package/src/lib/components/Bootstrap.tsx +37 -0
  93. package/src/lib/components/DevPortal.tsx +1 -1
  94. package/src/lib/components/Layout.tsx +1 -1
  95. package/src/lib/components/index.ts +8 -0
  96. package/src/lib/plugins/markdown/MdxPage.tsx +1 -1
  97. package/src/lib/plugins/openapi/client/createWorkerClient.ts +9 -1
  98. package/src/lib/plugins/openapi/client/interfaces.ts +3 -1
  99. package/src/lib/plugins/openapi/index.tsx +7 -3
  100. package/dist/lib/main.d.ts +0 -26
  101. package/dist/lib/main.js.map +0 -1
  102. package/dist/vite/plugin-openapi-worker.d.ts +0 -4
  103. package/dist/vite/plugin-openapi-worker.js +0 -39
  104. package/dist/vite/plugin-openapi-worker.js.map +0 -1
  105. package/dist/vite/ssr/entry.server.js.map +0 -1
  106. package/dist/vite/ssr/zudoku-manifest.js.map +0 -1
  107. package/lib/AnchorLink-Sx89bfCW.js.map +0 -1
  108. package/lib/Markdown-DMEnjeMH.js.map +0 -1
  109. package/lib/MdxPage-s9RlKFtt.js +0 -213
  110. package/lib/MdxPage-s9RlKFtt.js.map +0 -1
  111. package/lib/jsx-runtime-Bt86M5tA.js +0 -866
  112. package/lib/router-CcYTwKjf.js +0 -183
  113. package/lib/urql-DMlBWUKL.js +0 -1592
  114. package/lib/urql-DMlBWUKL.js.map +0 -1
  115. /package/dist/{vite/ssr → app}/zudoku-manifest.d.ts +0 -0
@@ -1,15 +1,15 @@
1
- import { j as u } from "./jsx-runtime-Bt86M5tA.js";
2
- import { c as $t, d as A, u as Bo, g as Ae, H as He, P as Do, h as Wo, S as Ke, i as zo, f as Er } from "./Markdown-DMEnjeMH.js";
3
- import { g as ar, M as Go, E as Vo } from "./index-DhKGMJM2.js";
1
+ import { j as u } from "./jsx-runtime-DLtUZ5Ve.js";
2
+ import { c as $t, a as A, e as Bo, i as Ae, H as He, P as Do, j as Wo, S as Ke, k as zo, C as Er } from "./Markdown-CGZJUYcj.js";
3
+ import { g as ar, M as Go, E as Vo } from "./index-PvQa9XLl.js";
4
4
  import * as S from "react";
5
5
  import { useRef as Jo, useEffect as Ko, useState as $n, forwardRef as Qo, Fragment as nt, useMemo as Yo } from "react";
6
- import { c as sr, u as jt, a as ir, b as Xo, P as ie, d as te, e as Be, S as jn, f as Zo } from "./index-BB2EBBgh.js";
7
- import { g as ea, h as wn, B as cr, R as ta, i as ra, j as na, F as oa, D as aa, P as sa, k as lr, l as kr, m as ia, C as Ze, u as ca, a as la, n as ua, S as fa, b as da, c as pa, d as ha, f as Rr, V as ma } from "./Select-CJamK_wp.js";
8
- import { P as wt, R as Sn, T as Tn, C as On, S as Ar } from "./Spinner-3YT-WUu5.js";
6
+ import { c as sr, u as jt, b as ir, f as Xo, P as ie, e as te, d as Be, S as jn, i as Zo } from "./index-CtLNbq0d.js";
7
+ import { g as ea, h as wn, B as cr, R as ta, i as ra, j as na, F as oa, D as aa, P as sa, k as lr, l as kr, m as ia, C as Ze, u as ca, a as la, n as ua, S as fa, b as da, c as pa, d as ha, f as Rr, V as ma } from "./Select-BQ9-3iTJ.js";
8
+ import { P as wt, R as Sn, T as Tn, C as On, S as Ar } from "./Spinner-C1L_TK5f.js";
9
9
  import { u as Cn } from "./context-_fYfJFgk.js";
10
- import { u as ya, a as ga } from "./urql-DMlBWUKL.js";
11
- import { g as va, c as ot, a as ba } from "./_commonjsHelpers-BkfeUUK-.js";
12
- import { v as xa } from "./DevPortalProvider-Demv4Ngx.js";
10
+ import { u as ya, b as ga } from "./createWorkerClient-TWecYOlx.js";
11
+ import { g as ba, c as ot, a as va } from "./_commonjsHelpers-BkfeUUK-.js";
12
+ import { z as xa } from "./DevPortalProvider-C-O1s7mm.js";
13
13
  /**
14
14
  * @license lucide-react v0.378.0 - ISC
15
15
  *
@@ -75,11 +75,11 @@ var Ea = S.forwardRef((e, t) => {
75
75
  onEntryFocus: l,
76
76
  preventScrollOnEntryFocus: d = !1,
77
77
  ...p
78
- } = e, f = S.useRef(null), m = jt(t, f), h = wn(a), [g = null, v] = ir({
78
+ } = e, f = S.useRef(null), m = jt(t, f), h = wn(a), [g = null, b] = ir({
79
79
  prop: o,
80
80
  defaultProp: s,
81
81
  onChange: c
82
- }), [b, y] = S.useState(!1), x = Xo(l), T = Pn(r), j = S.useRef(!1), [$, E] = S.useState(0);
82
+ }), [v, y] = S.useState(!1), x = Xo(l), T = Pn(r), j = S.useRef(!1), [$, E] = S.useState(0);
83
83
  return S.useEffect(() => {
84
84
  const O = f.current;
85
85
  if (O)
@@ -93,8 +93,8 @@ var Ea = S.forwardRef((e, t) => {
93
93
  loop: i,
94
94
  currentTabStopId: g,
95
95
  onItemFocus: S.useCallback(
96
- (O) => v(O),
97
- [v]
96
+ (O) => b(O),
97
+ [b]
98
98
  ),
99
99
  onItemShiftTab: S.useCallback(() => y(!0), []),
100
100
  onFocusableItemAdd: S.useCallback(
@@ -108,7 +108,7 @@ var Ea = S.forwardRef((e, t) => {
108
108
  children: /* @__PURE__ */ u.jsx(
109
109
  ie.div,
110
110
  {
111
- tabIndex: b || $ === 0 ? -1 : 0,
111
+ tabIndex: v || $ === 0 ? -1 : 0,
112
112
  "data-orientation": n,
113
113
  ...p,
114
114
  ref: m,
@@ -118,7 +118,7 @@ var Ea = S.forwardRef((e, t) => {
118
118
  }),
119
119
  onFocus: te(e.onFocus, (O) => {
120
120
  const k = !j.current;
121
- if (O.target === O.currentTarget && k && !b) {
121
+ if (O.target === O.currentTarget && k && !v) {
122
122
  const I = new CustomEvent(Pt, Ta);
123
123
  if (O.currentTarget.dispatchEvent(I), !I.defaultPrevented) {
124
124
  const D = T().filter((U) => U.focusable), Q = D.find((U) => U.active), _ = D.find((U) => U.id === g), G = [Q, _, ...D].filter(
@@ -174,14 +174,14 @@ var Ea = S.forwardRef((e, t) => {
174
174
  if (g !== void 0) {
175
175
  if (h.metaKey || h.ctrlKey || h.altKey || h.shiftKey) return;
176
176
  h.preventDefault();
177
- let b = p().filter((y) => y.focusable).map((y) => y.ref.current);
178
- if (g === "last") b.reverse();
177
+ let v = p().filter((y) => y.focusable).map((y) => y.ref.current);
178
+ if (g === "last") v.reverse();
179
179
  else if (g === "prev" || g === "next") {
180
- g === "prev" && b.reverse();
181
- const y = b.indexOf(h.currentTarget);
182
- b = l.loop ? Ia(b, y + 1) : b.slice(y + 1);
180
+ g === "prev" && v.reverse();
181
+ const y = v.indexOf(h.currentTarget);
182
+ v = l.loop ? Ia(v, y + 1) : v.slice(y + 1);
183
183
  }
184
- setTimeout(() => An(b));
184
+ setTimeout(() => An(v));
185
185
  }
186
186
  })
187
187
  }
@@ -729,9 +729,9 @@ var Ya = (e, t, r) => {
729
729
  return "{}";
730
730
  n.push(a);
731
731
  const p = "{" + c.newLine + d.map((f, m) => {
732
- const h = d.length - 1 === m ? c.newLine : "," + c.newLineOrSpace, g = typeof f == "symbol", v = !g && /^[a-z$_][a-z$_0-9]*$/i.test(f), b = g || v ? f : i(f, o);
732
+ const h = d.length - 1 === m ? c.newLine : "," + c.newLineOrSpace, g = typeof f == "symbol", b = !g && /^[a-z$_][a-z$_0-9]*$/i.test(f), v = g || b ? f : i(f, o);
733
733
  let y = i(a[f], o, s + o.indent);
734
- return o.transform && (y = o.transform(a, f, y)), c.indent + String(b) + ": " + y + h;
734
+ return o.transform && (y = o.transform(a, f, y)), c.indent + String(v) + ": " + y + h;
735
735
  }).join("") + c.pad + "}";
736
736
  return n.pop(), l(p);
737
737
  }
@@ -739,7 +739,7 @@ var Ya = (e, t, r) => {
739
739
  ` ? "\\n" : "\\r"), o.singleQuotes === !1 ? (a = a.replace(/"/g, '\\"'), `"${a}"`) : (a = a.replace(/\\?'/g, "\\'"), `'${a}'`);
740
740
  }(e, t, r);
741
741
  };
742
- const K = /* @__PURE__ */ va(Ya);
742
+ const K = /* @__PURE__ */ ba(Ya);
743
743
  function Ge(e, t = {}) {
744
744
  const { delimiter: r = '"', escapeChar: n = "\\", escapeNewlines: i = !0 } = t;
745
745
  return [...e.toString()].map((o) => o === "\b" ? `${n}b` : o === " " ? `${n}t` : o === `
@@ -951,13 +951,13 @@ ${r}`);
951
951
  const g = t.mimeType;
952
952
  switch (g) {
953
953
  case "application/x-www-form-urlencoded":
954
- o("Content = new FormUrlEncodedContent(new Dictionary<string, string>", 1), o("{", 1), (m = t.params) == null || m.forEach((v) => {
955
- o(`{ "${v.name}", "${v.value}" },`, 2);
954
+ o("Content = new FormUrlEncodedContent(new Dictionary<string, string>", 1), o("{", 1), (m = t.params) == null || m.forEach((b) => {
955
+ o(`{ "${b.name}", "${b.value}" },`, 2);
956
956
  }), o("}),", 1);
957
957
  break;
958
958
  case "multipart/form-data":
959
- o("Content = new MultipartFormDataContent", 1), o("{", 1), (h = t.params) == null || h.forEach((v) => {
960
- o(`new StringContent(${JSON.stringify(v.value || "")})`, 2), o("{", 2), o("Headers =", 3), o("{", 3), v.contentType && o(`ContentType = new MediaTypeHeaderValue("${v.contentType}"),`, 4), o('ContentDisposition = new ContentDispositionHeaderValue("form-data")', 4), o("{", 4), o(`Name = "${v.name}",`, 5), v.fileName && o(`FileName = "${v.fileName}",`, 5), o("}", 4), o("}", 3), o("},", 2);
959
+ o("Content = new MultipartFormDataContent", 1), o("{", 1), (h = t.params) == null || h.forEach((b) => {
960
+ o(`new StringContent(${JSON.stringify(b.value || "")})`, 2), o("{", 2), o("Headers =", 3), o("{", 3), b.contentType && o(`ContentType = new MediaTypeHeaderValue("${b.contentType}"),`, 4), o('ContentDisposition = new ContentDispositionHeaderValue("form-data")', 4), o("{", 4), o(`Name = "${b.name}",`, 5), b.fileName && o(`FileName = "${b.fileName}",`, 5), o("}", 4), o("}", 3), o("},", 2);
961
961
  }), o("},", 1);
962
962
  break;
963
963
  default:
@@ -1049,10 +1049,10 @@ var is = {
1049
1049
  l && (o("if err != nil {", m), o("panic(err)", m + 1), o("}", m));
1050
1050
  };
1051
1051
  c && (o("package main"), a(), o("import ("), o('"fmt"', m), p > 0 && o('"time"', m), e.text && o('"strings"', m), o('"net/http"', m), d && o('"io"', m), o(")"), a(), o("func main() {"), a());
1052
- const g = p > 0, v = g, b = v ? "client" : "http.DefaultClient";
1053
- return v && (o("client := http.Client{", m), g && o(`Timeout: time.Duration(${p} * time.Second),`, m + 1), o("}", m), a()), o(`url := "${n}"`, m), a(), e.text ? (o(`payload := strings.NewReader(${JSON.stringify(e.text)})`, m), a(), o(`req, ${f} := http.NewRequest("${t}", url, payload)`, m), a()) : (o(`req, ${f} := http.NewRequest("${t}", url, nil)`, m), a()), h(), Object.keys(r).length && (Object.keys(r).forEach((y) => {
1052
+ const g = p > 0, b = g, v = b ? "client" : "http.DefaultClient";
1053
+ return b && (o("client := http.Client{", m), g && o(`Timeout: time.Duration(${p} * time.Second),`, m + 1), o("}", m), a()), o(`url := "${n}"`, m), a(), e.text ? (o(`payload := strings.NewReader(${JSON.stringify(e.text)})`, m), a(), o(`req, ${f} := http.NewRequest("${t}", url, payload)`, m), a()) : (o(`req, ${f} := http.NewRequest("${t}", url, nil)`, m), a()), h(), Object.keys(r).length && (Object.keys(r).forEach((y) => {
1054
1054
  o(`req.Header.Add("${y}", "${z(r[y])}")`, m);
1055
- }), a()), o(`res, ${f} := ${b}.Do(req)`, m), h(), d && (a(), o("defer res.Body.Close()", m), o(`body, ${f} := io.ReadAll(res.Body)`, m), h()), a(), d && o("fmt.Println(string(body))", m), c && (a(), o("}")), s();
1055
+ }), a()), o(`res, ${f} := ${v}.Do(req)`, m), h(), d && (a(), o("defer res.Body.Close()", m), o(`body, ${f} := io.ReadAll(res.Body)`, m), h()), a(), d && o("fmt.Println(string(body))", m), c && (a(), o("}")), s();
1056
1056
  }
1057
1057
  }, us = {
1058
1058
  info: {
@@ -1083,11 +1083,11 @@ var is = {
1083
1083
  l(`${e} ${p} ${n}`);
1084
1084
  const f = Object.keys(i);
1085
1085
  if (f.forEach((g) => {
1086
- const v = g.toLowerCase().replace(/(^|-)(\w)/g, (b) => b.toUpperCase());
1087
- l(`${v}: ${i[g]}`);
1086
+ const b = g.toLowerCase().replace(/(^|-)(\w)/g, (v) => v.toUpperCase());
1087
+ l(`${b}: ${i[g]}`);
1088
1088
  }), s.autoHost && !f.includes("host") && l(`Host: ${r.host}`), s.autoContentLength && a.text && !f.includes("content-length")) {
1089
- const v = new TextEncoder().encode(a.text).length.toString();
1090
- l(`Content-Length: ${v}`);
1089
+ const b = new TextEncoder().encode(a.text).length.toString();
1090
+ l(`Content-Length: ${b}`);
1091
1091
  }
1092
1092
  c();
1093
1093
  const m = d(), h = a.text || "";
@@ -1187,7 +1187,7 @@ var is = {
1187
1187
  okhttp: ms,
1188
1188
  unirest: ys
1189
1189
  }
1190
- }, vs = {
1190
+ }, bs = {
1191
1191
  info: {
1192
1192
  key: "axios",
1193
1193
  title: "Axios",
@@ -1231,7 +1231,7 @@ var is = {
1231
1231
  }).replace('"[form]"', "form");
1232
1232
  return c(`const options = ${f};`), s(), c("axios"), c(".request(options)", 1), c(".then(function (response) {", 1), c("console.log(response.data);", 2), c("})", 1), c(".catch(function (error) {", 1), c("console.error(error);", 2), c("});", 1), l();
1233
1233
  }
1234
- }, bs = {
1234
+ }, vs = {
1235
1235
  info: {
1236
1236
  key: "fetch",
1237
1237
  title: "fetch",
@@ -1377,8 +1377,8 @@ var is = {
1377
1377
  },
1378
1378
  clientsById: {
1379
1379
  xhr: $s,
1380
- axios: vs,
1381
- fetch: bs,
1380
+ axios: bs,
1381
+ fetch: vs,
1382
1382
  jquery: xs
1383
1383
  }
1384
1384
  }, ws = {
@@ -1507,8 +1507,8 @@ var is = {
1507
1507
  };
1508
1508
  switch (Object.keys(n).length && (m.headers = n), r.mimeType) {
1509
1509
  case "application/x-www-form-urlencoded":
1510
- p("const { URLSearchParams } = require('url');"), l("const encodedParams = new URLSearchParams();"), c(), (g = r.params) == null || g.forEach((b) => {
1511
- l(`encodedParams.set('${b.name}', '${b.value}');`);
1510
+ p("const { URLSearchParams } = require('url');"), l("const encodedParams = new URLSearchParams();"), c(), (g = r.params) == null || g.forEach((v) => {
1511
+ l(`encodedParams.set('${v.name}', '${v.value}');`);
1512
1512
  }), m.body = "encodedParams";
1513
1513
  break;
1514
1514
  case "application/json":
@@ -1517,21 +1517,21 @@ var is = {
1517
1517
  case "multipart/form-data":
1518
1518
  if (!r.params)
1519
1519
  break;
1520
- const v = X(n, "content-type");
1521
- v && delete n[v], p("const FormData = require('form-data');"), l("const formData = new FormData();"), c(), r.params.forEach((b) => {
1522
- if (!b.fileName && !b.fileName && !b.contentType) {
1523
- l(`formData.append('${b.name}', '${b.value}');`);
1520
+ const b = X(n, "content-type");
1521
+ b && delete n[b], p("const FormData = require('form-data');"), l("const formData = new FormData();"), c(), r.params.forEach((v) => {
1522
+ if (!v.fileName && !v.fileName && !v.contentType) {
1523
+ l(`formData.append('${v.name}', '${v.value}');`);
1524
1524
  return;
1525
1525
  }
1526
- b.fileName && (s = !0, l(`formData.append('${b.name}', fs.createReadStream('${b.fileName}'));`));
1526
+ v.fileName && (s = !0, l(`formData.append('${v.name}', fs.createReadStream('${v.fileName}'));`));
1527
1527
  });
1528
1528
  break;
1529
1529
  default:
1530
1530
  r.text && (m.body = r.text);
1531
1531
  }
1532
1532
  if (i.length) {
1533
- const v = i.map(({ name: b, value: y }) => `${encodeURIComponent(b)}=${encodeURIComponent(y)}`).join("; ");
1534
- m.headers || (m.headers = {}), m.headers.cookie = v;
1533
+ const b = i.map(({ name: v, value: y }) => `${encodeURIComponent(v)}=${encodeURIComponent(y)}`).join("; ");
1534
+ m.headers || (m.headers = {}), m.headers.cookie = b;
1535
1535
  }
1536
1536
  c(), l(`const url = '${f}';`), m.headers && !Object.keys(m.headers).length && delete m.headers;
1537
1537
  const h = K(m, {
@@ -1540,7 +1540,7 @@ var is = {
1540
1540
  // The Fetch API body only accepts string parameters, but stringified JSON can be difficult to
1541
1541
  // read, so we keep the object as a literal and use this transform function to wrap the literal
1542
1542
  // in a `JSON.stringify` call.
1543
- transform: (v, b, y) => b === "body" && r.mimeType === "application/json" ? `JSON.stringify(${y})` : y
1543
+ transform: (b, v, y) => v === "body" && r.mimeType === "application/json" ? `JSON.stringify(${y})` : y
1544
1544
  });
1545
1545
  return l(`const options = ${h};`), c(), s && p("const fs = require('fs');"), r.params && r.mimeType === "multipart/form-data" && (l("options.body = formData;"), c()), l("fetch(url, options)"), l(".then(res => res.json())", 1), l(".then(json => console.log(json))", 1), l(".catch(err => console.error('error:' + err));", 1), d().replace(/'encodedParams'/, "encodedParams").replace(/"fs\.createReadStream\(\\"(.+)\\"\)"/, 'fs.createReadStream("$1")');
1546
1546
  }
@@ -1619,21 +1619,21 @@ var is = {
1619
1619
  h.formData[g.name] = g.value;
1620
1620
  return;
1621
1621
  }
1622
- let v = {};
1623
- g.fileName ? (c = !0, v = {
1622
+ let b = {};
1623
+ g.fileName ? (c = !0, b = {
1624
1624
  value: `fs.createReadStream(${g.fileName})`,
1625
1625
  options: {
1626
1626
  filename: g.fileName,
1627
1627
  contentType: g.contentType ? g.contentType : null
1628
1628
  }
1629
- }) : g.value && (v.value = g.value), h.formData[g.name] = v;
1629
+ }) : g.value && (b.value = g.value), h.formData[g.name] = b;
1630
1630
  }), m((g) => g.replace(/'fs\.createReadStream\((.*)\)'/, "fs.createReadStream('$1')"));
1631
1631
  break;
1632
1632
  default:
1633
1633
  n.text && (h.body = n.text);
1634
1634
  }
1635
- return a.length && (h.jar = "JAR", l("const jar = request.jar();"), a.forEach(({ name: g, value: v }) => {
1636
- l(`jar.setCookie(request.cookie('${encodeURIComponent(g)}=${encodeURIComponent(v)}'), '${t}');`);
1635
+ return a.length && (h.jar = "JAR", l("const jar = request.jar();"), a.forEach(({ name: g, value: b }) => {
1636
+ l(`jar.setCookie(request.cookie('${encodeURIComponent(g)}=${encodeURIComponent(b)}'), '${t}');`);
1637
1637
  }), d(), m((g) => g.replace(/'JAR'/, "jar"))), c && f("const fs = require('fs');"), l(`const options = ${K(h, { indent: " ", inlineCharacterLimit: 80 })};`), d(), l("request(options, function (error, response, body) {"), l("if (error) throw new Error(error);", 1), d(), l("console.log(body);", 1), l("});"), p();
1638
1638
  }
1639
1639
  }, ks = {
@@ -1667,8 +1667,8 @@ var is = {
1667
1667
  break;
1668
1668
  const h = [];
1669
1669
  i.params.forEach((g) => {
1670
- const v = {};
1671
- g.fileName && !g.value ? (c = !0, v.body = `fs.createReadStream('${g.fileName}')`, l((b) => b.replace(/'fs\.createReadStream\(\\'(.+)\\'\)'/, "fs.createReadStream('$1')"))) : g.value && (v.body = g.value), v.body && (g.contentType && (v["content-type"] = g.contentType), h.push(v));
1670
+ const b = {};
1671
+ g.fileName && !g.value ? (c = !0, b.body = `fs.createReadStream('${g.fileName}')`, l((v) => v.replace(/'fs\.createReadStream\(\\'(.+)\\'\)'/, "fs.createReadStream('$1')"))) : g.value && (b.body = g.value), b.body && (g.contentType && (b["content-type"] = g.contentType), h.push(b));
1672
1672
  }), f(`req.multipart(${K(h, { indent: s.indent })});`), d();
1673
1673
  break;
1674
1674
  }
@@ -1890,8 +1890,8 @@ ${r}]`;
1890
1890
  noTags: f = !1,
1891
1891
  shortTags: m = !1,
1892
1892
  timeout: h = 30
1893
- } = s, { push: g, blank: v, join: b } = new N({ indent: l });
1894
- f || (g(m ? "<?" : "<?php"), v()), g("$curl = curl_init();"), v();
1893
+ } = s, { push: g, blank: b, join: v } = new N({ indent: l });
1894
+ f || (g(m ? "<?" : "<?php"), b()), g("$curl = curl_init();"), b();
1895
1895
  const y = [
1896
1896
  {
1897
1897
  escape: !0,
@@ -1949,7 +1949,7 @@ ${l}` });
1949
1949
  T.length && x.push(`CURLOPT_COOKIE => "${T.join("; ")}",`);
1950
1950
  const j = Object.keys(o).sort().map(($) => `"${$}: ${z(o[$])}"`);
1951
1951
  return j.length && (x.push("CURLOPT_HTTPHEADER => ["), x.push(j.join(`,
1952
- ${l}${l}`), 1), x.push("],")), g(x.join(), 1), g("]);"), v(), g("$response = curl_exec($curl);"), g("$err = curl_error($curl);"), v(), g("curl_close($curl);"), v(), g("if ($err) {"), g(p ? 'echo array_flip(get_defined_constants(true)["curl"])[$err];' : 'echo "cURL Error #:" . $err;', 1), g("} else {"), g("echo $response;", 1), g("}"), !f && c && (v(), g("?>")), b();
1952
+ ${l}${l}`), 1), x.push("],")), g(x.join(), 1), g("]);"), b(), g("$response = curl_exec($curl);"), g("$err = curl_error($curl);"), b(), g("curl_close($curl);"), b(), g("if ($err) {"), g(p ? 'echo array_flip(get_defined_constants(true)["curl"])[$err];' : 'echo "cURL Error #:" . $err;', 1), g("} else {"), g("echo $response;", 1), g("}"), !f && c && (b(), g("?>")), v();
1953
1953
  }
1954
1954
  }, Ls = {
1955
1955
  info: {
@@ -1974,31 +1974,31 @@ ${l}${l}`), 1), x.push("],")), g(x.join(), 1), g("]);"), v(), g("$response = cur
1974
1974
  p(`'form_params' => ${q(e.paramsObj, o.indent + o.indent, o.indent)},`, 1);
1975
1975
  break;
1976
1976
  case "multipart/form-data": {
1977
- const v = [];
1978
- if (e.params && e.params.forEach((b) => {
1979
- if (b.fileName) {
1977
+ const b = [];
1978
+ if (e.params && e.params.forEach((v) => {
1979
+ if (v.fileName) {
1980
1980
  const y = {
1981
- name: b.name,
1982
- filename: b.fileName,
1983
- contents: b.value
1981
+ name: v.name,
1982
+ filename: v.fileName,
1983
+ contents: v.value
1984
1984
  };
1985
- b.contentType && (y.headers = { "Content-Type": b.contentType }), v.push(y);
1986
- } else b.value && v.push({
1987
- name: b.name,
1988
- contents: b.value
1985
+ v.contentType && (y.headers = { "Content-Type": v.contentType }), b.push(y);
1986
+ } else v.value && b.push({
1987
+ name: v.name,
1988
+ contents: v.value
1989
1989
  });
1990
- }), v.length && (p(`'multipart' => ${q(v, o.indent + o.indent, o.indent)}`, 1), Tt(i, "content-type") && (g = pe(i, "content-type")) != null && g.indexOf("boundary"))) {
1991
- const b = X(i, "content-type");
1992
- b && delete i[b];
1990
+ }), b.length && (p(`'multipart' => ${q(b, o.indent + o.indent, o.indent)}`, 1), Tt(i, "content-type") && (g = pe(i, "content-type")) != null && g.indexOf("boundary"))) {
1991
+ const v = X(i, "content-type");
1992
+ v && delete i[v];
1993
1993
  }
1994
1994
  break;
1995
1995
  }
1996
1996
  default:
1997
1997
  e.text && p(`'body' => ${q(e.text)},`, 1);
1998
1998
  }
1999
- const m = Object.keys(i).sort().map(function(v) {
2000
- return `${o.indent}${o.indent}'${v}' => '${Ve(i[v])}',`;
2001
- }), h = n.map((v) => `${encodeURIComponent(v.name)}=${encodeURIComponent(v.value)}`).join("; ");
1999
+ const m = Object.keys(i).sort().map(function(b) {
2000
+ return `${o.indent}${o.indent}'${b}' => '${Ve(i[b])}',`;
2001
+ }), h = n.map((b) => `${encodeURIComponent(b.name)}=${encodeURIComponent(b.value)}`).join("; ");
2002
2002
  return h.length && m.push(`${o.indent}${o.indent}'cookie' => '${Ve(h)}',`), m.length && (p("'headers' => [", 1), p(m.join(`
2003
2003
  `)), p("],", 1)), s("$client = new \\GuzzleHttp\\Client();"), c(), d.length ? (s(`$response = $client->request('${r}', '${t}', [`), s(f()), s("]);")) : s(`$response = $client->request('${r}', '${t}');`), c(), s("echo $response->getBody();"), !o.noTags && o.closingTag && (c(), s("?>")), l();
2004
2004
  }
@@ -2043,10 +2043,10 @@ ${l}${l}`), 1), x.push("],")), g(x.join(), 1), g("]);"), v(), g("$response = cur
2043
2043
  case "multipart/form-data": {
2044
2044
  if (!e.params)
2045
2045
  break;
2046
- const v = [], b = {};
2046
+ const b = [], v = {};
2047
2047
  e.params.forEach(({ name: T, fileName: j, value: $, contentType: E }) => {
2048
2048
  if (j) {
2049
- v.push({
2049
+ b.push({
2050
2050
  name: T,
2051
2051
  type: E,
2052
2052
  file: j,
@@ -2054,9 +2054,9 @@ ${l}${l}`), 1), x.push("],")), g(x.join(), 1), g("]);"), v(), g("$response = cur
2054
2054
  });
2055
2055
  return;
2056
2056
  }
2057
- $ && (b[T] = $);
2057
+ $ && (v[T] = $);
2058
2058
  });
2059
- const y = Object.keys(b).length ? q(b, c) : "null", x = v.length ? q(v, c) : "null";
2059
+ const y = Object.keys(v).length ? q(v, c) : "null", x = b.length ? q(b, c) : "null";
2060
2060
  if (p("$body = new http\\Message\\Body;"), p(`$body->addForm(${y}, ${x});`), Tt(t, "content-type") && (g = pe(t, "content-type")) != null && g.indexOf("boundary")) {
2061
2061
  const T = X(t, "content-type");
2062
2062
  T && delete t[T];
@@ -2205,21 +2205,21 @@ var Ee = (e, t, r) => {
2205
2205
  y && (o(`payload = ${y}`), h = !0);
2206
2206
  }
2207
2207
  }
2208
- const v = Object.keys(d).length;
2209
- if (v === 0 && (h || m))
2208
+ const b = Object.keys(d).length;
2209
+ if (b === 0 && (h || m))
2210
2210
  s();
2211
- else if (v === 1)
2211
+ else if (b === 1)
2212
2212
  Object.keys(d).forEach((y) => {
2213
2213
  o(`headers = {"${y}": "${z(d[y])}"}`), s();
2214
2214
  });
2215
- else if (v > 1) {
2215
+ else if (b > 1) {
2216
2216
  let y = 1;
2217
2217
  o("headers = {"), Object.keys(d).forEach((x) => {
2218
- o(y !== v ? `"${x}": "${z(d[x])}",` : `"${x}": "${z(d[x])}"`, 1), y += 1;
2218
+ o(y !== b ? `"${x}": "${z(d[x])}",` : `"${x}": "${z(d[x])}"`, 1), y += 1;
2219
2219
  }), o("}"), s();
2220
2220
  }
2221
- let b = zs.includes(n) ? `response = requests.${n.toLowerCase()}(url` : `response = requests.request("${n}", url`;
2222
- return h && (g ? b += ", json=payload" : b += ", data=payload"), m && (b += ", files=files"), v > 0 && (b += ", headers=headers"), b += ")", o(b), s(), o("print(response.text)"), c();
2221
+ let v = zs.includes(n) ? `response = requests.${n.toLowerCase()}(url` : `response = requests.request("${n}", url`;
2222
+ return h && (g ? v += ", json=payload" : v += ", data=payload"), m && (v += ", files=files"), b > 0 && (v += ", headers=headers"), v += ")", o(v), s(), o("print(response.text)"), c();
2223
2223
  }
2224
2224
  }, Vs = {
2225
2225
  info: {
@@ -2264,10 +2264,10 @@ var Ee = (e, t, r) => {
2264
2264
  o('encode <- "raw"'), s();
2265
2265
  break;
2266
2266
  }
2267
- const f = pe(i, "cookie"), m = pe(i, "accept"), h = f ? `set_cookies(\`${String(f).replace(/;/g, '", `').replace(/` /g, "`").replace(/[=]/g, '` = "')}")` : void 0, g = m ? `accept("${z(m)}")` : void 0, v = `content_type("${z(n.mimeType)}")`, b = Object.entries(i).filter(([j]) => !["cookie", "accept", "content-type"].includes(j.toLowerCase())).map(([j, $]) => `'${j}' = '${Ve($)}'`).join(", "), y = b ? `add_headers(${b})` : void 0;
2267
+ const f = pe(i, "cookie"), m = pe(i, "accept"), h = f ? `set_cookies(\`${String(f).replace(/;/g, '", `').replace(/` /g, "`").replace(/[=]/g, '` = "')}")` : void 0, g = m ? `accept("${z(m)}")` : void 0, b = `content_type("${z(n.mimeType)}")`, v = Object.entries(i).filter(([j]) => !["cookie", "accept", "content-type"].includes(j.toLowerCase())).map(([j, $]) => `'${j}' = '${Ve($)}'`).join(", "), y = v ? `add_headers(${v})` : void 0;
2268
2268
  let x = `response <- VERB("${a}", url`;
2269
2269
  p && (x += ", body = payload"), r.length && (x += ", query = queryString");
2270
- const T = [y, v, g, h].filter((j) => !!j).join(", ");
2270
+ const T = [y, b, g, h].filter((j) => !!j).join(", ");
2271
2271
  return T && (x += `, ${T}`), (n.text || n.jsonObj || n.params) && (x += ", encode = encode"), x += ")", o(x), s(), o('content(response, "text")'), c();
2272
2272
  }
2273
2273
  }, Ks = {
@@ -2344,7 +2344,7 @@ var Ee = (e, t, r) => {
2344
2344
  extname: ".sh"
2345
2345
  },
2346
2346
  convert: ({ fullUrl: e, method: t, httpVersion: r, headersObj: n, allHeaders: i, postData: a }, o = {}) => {
2347
- var v;
2347
+ var b;
2348
2348
  const { indent: s = " ", short: c = !1, binary: l = !1, globOff: d = !1 } = o, p = " ", { push: f, join: m } = new N({
2349
2349
  ...typeof s == "string" ? { indent: s } : {},
2350
2350
  join: s !== !1 ? ` \\
@@ -2352,21 +2352,21 @@ ${s}` : " "
2352
2352
  }), h = ei(c);
2353
2353
  let g = J(e);
2354
2354
  if (f(`curl ${h("request")} ${t}`), d && (g = unescape(g), f(h("globoff"))), f(`${h("url ")}${g}`), r === "HTTP/1.0" && f(h("http1.0")), pe(i, "accept-encoding") && f("--compressed"), a.mimeType === "multipart/form-data") {
2355
- const b = X(n, "content-type");
2356
- if (b) {
2357
- const y = n[b];
2358
- if (b && y) {
2355
+ const v = X(n, "content-type");
2356
+ if (v) {
2357
+ const y = n[v];
2358
+ if (v && y) {
2359
2359
  const x = String(y).replace(/; boundary.+?(?=(;|$))/, "");
2360
- n[b] = x, i[b] = x;
2360
+ n[v] = x, i[v] = x;
2361
2361
  }
2362
2362
  }
2363
2363
  }
2364
- switch (Object.keys(n).sort().forEach((b) => {
2365
- const y = `${b}: ${n[b]}`;
2364
+ switch (Object.keys(n).sort().forEach((v) => {
2365
+ const y = `${v}: ${n[v]}`;
2366
2366
  f(`${h("header")} ${J(y)}`);
2367
2367
  }), i.cookie && f(`${h("cookie")} ${J(i.cookie)}`), a.mimeType) {
2368
2368
  case "multipart/form-data":
2369
- (v = a.params) == null || v.forEach((y) => {
2369
+ (b = a.params) == null || b.forEach((y) => {
2370
2370
  let x = "";
2371
2371
  y.fileName ? x = `${y.name}='@${y.fileName}'` : x = J(`${y.name}=${y.value}`), f(`${h("form")} ${x}`);
2372
2372
  });
@@ -2380,11 +2380,11 @@ ${s}` : " "
2380
2380
  default:
2381
2381
  if (!a.text)
2382
2382
  break;
2383
- let b = !1;
2383
+ let v = !1;
2384
2384
  if (es(a.mimeType) && a.text.length > 20)
2385
2385
  try {
2386
2386
  const y = JSON.parse(a.text);
2387
- b = !0, a.text.indexOf("'") > 0 ? f(
2387
+ v = !0, a.text.indexOf("'") > 0 ? f(
2388
2388
  `${l ? "--data-binary" : h("data")} @- <<EOF
2389
2389
  ${JSON.stringify(
2390
2390
  y,
@@ -2399,7 +2399,7 @@ ${JSON.stringify(y, null, p)}
2399
2399
  );
2400
2400
  } catch {
2401
2401
  }
2402
- b || f(`${l ? "--data-binary" : h("data")} ${J(a.text)}`);
2402
+ v || f(`${l ? "--data-binary" : h("data")} ${J(a.text)}`);
2403
2403
  }
2404
2404
  return m();
2405
2405
  }
@@ -2437,8 +2437,8 @@ ${s.indent}` : " "
2437
2437
  const f = [];
2438
2438
  s.headers && f.push(s.short ? "-h" : "--headers"), s.body && f.push(s.short ? "-b" : "--body"), s.verbose && f.push(s.short ? "-v" : "--verbose"), s.print && f.push(`${s.short ? "-p" : "--print"}=${s.print}`), s.verify && f.push(`--verify=${s.verify}`), s.cert && f.push(`--cert=${s.cert}`), s.pretty && f.push(`--pretty=${s.pretty}`), s.style && f.push(`--style=${s.style}`), s.timeout && f.push(`--timeout=${s.timeout}`), s.queryParams && Object.keys(r).forEach((h) => {
2439
2439
  const g = r[h];
2440
- Array.isArray(g) ? g.forEach((v) => {
2441
- c(`${h}==${J(v)}`);
2440
+ Array.isArray(g) ? g.forEach((b) => {
2441
+ c(`${h}==${J(b)}`);
2442
2442
  }) : c(`${h}==${J(g)}`);
2443
2443
  }), Object.keys(e).sort().forEach((h) => {
2444
2444
  c(`${h}:${J(e[h])}`);
@@ -2565,8 +2565,8 @@ ${a}]` : `[${e.join(o)}]`;
2565
2565
  s(`URLQueryItem(name: "${h}", value: "${g}"),`, 1);
2566
2566
  break;
2567
2567
  case "[object Array]":
2568
- g.forEach((v) => {
2569
- s(`URLQueryItem(name: "${h}", value: "${v}"),`, 1);
2568
+ g.forEach((b) => {
2569
+ s(`URLQueryItem(name: "${h}", value: "${b}"),`, 1);
2570
2570
  });
2571
2571
  break;
2572
2572
  }
@@ -2608,7 +2608,7 @@ mt.exports;
2608
2608
  (function(r) {
2609
2609
  var n = t && !t.nodeType && t, i = e && !e.nodeType && e, a = typeof ot == "object" && ot;
2610
2610
  (a.global === a || a.window === a || a.self === a) && (r = a);
2611
- var o, s = 2147483647, c = 36, l = 1, d = 26, p = 38, f = 700, m = 72, h = 128, g = "-", v = /^xn--/, b = /[^\x20-\x7E]/, y = /[\x2E\u3002\uFF0E\uFF61]/g, x = {
2611
+ var o, s = 2147483647, c = 36, l = 1, d = 26, p = 38, f = 700, m = 72, h = 128, g = "-", b = /^xn--/, v = /[^\x20-\x7E]/, y = /[\x2E\u3002\uFF0E\uFF61]/g, x = {
2612
2612
  overflow: "Overflow: input needs wider integers to process",
2613
2613
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
2614
2614
  "invalid-input": "Invalid input"
@@ -2682,12 +2682,12 @@ mt.exports;
2682
2682
  }
2683
2683
  function Ot(w) {
2684
2684
  return I(w, function(C) {
2685
- return v.test(C) ? U(C.slice(4).toLowerCase()) : C;
2685
+ return b.test(C) ? U(C.slice(4).toLowerCase()) : C;
2686
2686
  });
2687
2687
  }
2688
2688
  function Xe(w) {
2689
2689
  return I(w, function(C) {
2690
- return b.test(C) ? "xn--" + me(C) : C;
2690
+ return v.test(C) ? "xn--" + me(C) : C;
2691
2691
  });
2692
2692
  }
2693
2693
  if (o = {
@@ -2750,9 +2750,9 @@ var ci = mt.exports, li = Error, ui = EvalError, fi = RangeError, di = Reference
2750
2750
  }, Rt = {
2751
2751
  __proto__: null,
2752
2752
  foo: {}
2753
- }, gi = Object, vi = function() {
2753
+ }, gi = Object, bi = function() {
2754
2754
  return { __proto__: Rt }.foo === Rt.foo && !(Rt instanceof gi);
2755
- }, bi = "Function.prototype.bind called on incompatible ", xi = Object.prototype.toString, $i = Math.max, ji = "[object Function]", Jr = function(t, r) {
2755
+ }, vi = "Function.prototype.bind called on incompatible ", xi = Object.prototype.toString, $i = Math.max, ji = "[object Function]", Jr = function(t, r) {
2756
2756
  for (var n = [], i = 0; i < t.length; i += 1)
2757
2757
  n[i] = t[i];
2758
2758
  for (var a = 0; a < r.length; a += 1)
@@ -2769,7 +2769,7 @@ var ci = mt.exports, li = Error, ui = EvalError, fi = RangeError, di = Reference
2769
2769
  }, Ti = function(t) {
2770
2770
  var r = this;
2771
2771
  if (typeof r != "function" || xi.apply(r) !== ji)
2772
- throw new TypeError(bi + r);
2772
+ throw new TypeError(vi + r);
2773
2773
  for (var n = wi(arguments, 1), i, a = function() {
2774
2774
  if (this instanceof i) {
2775
2775
  var d = r.apply(
@@ -2814,7 +2814,7 @@ var It = function() {
2814
2814
  return It;
2815
2815
  }
2816
2816
  }
2817
- }() : It, Ce = yi(), Fi = vi(), W = Object.getPrototypeOf || (Fi ? function(e) {
2817
+ }() : It, Ce = yi(), Fi = bi(), W = Object.getPrototypeOf || (Fi ? function(e) {
2818
2818
  return e.__proto__;
2819
2819
  } : null), Ne = {}, Li = typeof Uint8Array > "u" || !W ? P : W(Uint8Array), Te = {
2820
2820
  __proto__: null,
@@ -3120,8 +3120,8 @@ var rc = eo.exports, no = Le, oo = rc, nc = oo(no("String.prototype.indexOf")),
3120
3120
  const ac = {}, sc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3121
3121
  __proto__: null,
3122
3122
  default: ac
3123
- }, Symbol.toStringTag, { value: "Module" })), ic = /* @__PURE__ */ ba(sc);
3124
- var gr = typeof Map == "function" && Map.prototype, _t = Object.getOwnPropertyDescriptor && gr ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, vt = gr && _t && typeof _t.get == "function" ? _t.get : null, nn = gr && Map.prototype.forEach, vr = typeof Set == "function" && Set.prototype, Ft = Object.getOwnPropertyDescriptor && vr ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, bt = vr && Ft && typeof Ft.get == "function" ? Ft.get : null, on = vr && Set.prototype.forEach, cc = typeof WeakMap == "function" && WeakMap.prototype, De = cc ? WeakMap.prototype.has : null, lc = typeof WeakSet == "function" && WeakSet.prototype, We = lc ? WeakSet.prototype.has : null, uc = typeof WeakRef == "function" && WeakRef.prototype, an = uc ? WeakRef.prototype.deref : null, fc = Boolean.prototype.valueOf, dc = Object.prototype.toString, pc = Function.prototype.toString, hc = String.prototype.match, br = String.prototype.slice, ve = String.prototype.replace, mc = String.prototype.toUpperCase, sn = String.prototype.toLowerCase, ao = RegExp.prototype.test, cn = Array.prototype.concat, de = Array.prototype.join, yc = Array.prototype.slice, ln = Math.floor, Kt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Lt = Object.getOwnPropertySymbols, Qt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, qe = typeof Symbol == "function" && typeof Symbol.iterator == "object", Z = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === qe || !0) ? Symbol.toStringTag : null, so = Object.prototype.propertyIsEnumerable, un = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(e) {
3123
+ }, Symbol.toStringTag, { value: "Module" })), ic = /* @__PURE__ */ va(sc);
3124
+ var gr = typeof Map == "function" && Map.prototype, _t = Object.getOwnPropertyDescriptor && gr ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, bt = gr && _t && typeof _t.get == "function" ? _t.get : null, nn = gr && Map.prototype.forEach, br = typeof Set == "function" && Set.prototype, Ft = Object.getOwnPropertyDescriptor && br ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, vt = br && Ft && typeof Ft.get == "function" ? Ft.get : null, on = br && Set.prototype.forEach, cc = typeof WeakMap == "function" && WeakMap.prototype, De = cc ? WeakMap.prototype.has : null, lc = typeof WeakSet == "function" && WeakSet.prototype, We = lc ? WeakSet.prototype.has : null, uc = typeof WeakRef == "function" && WeakRef.prototype, an = uc ? WeakRef.prototype.deref : null, fc = Boolean.prototype.valueOf, dc = Object.prototype.toString, pc = Function.prototype.toString, hc = String.prototype.match, vr = String.prototype.slice, be = String.prototype.replace, mc = String.prototype.toUpperCase, sn = String.prototype.toLowerCase, ao = RegExp.prototype.test, cn = Array.prototype.concat, de = Array.prototype.join, yc = Array.prototype.slice, ln = Math.floor, Kt = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Lt = Object.getOwnPropertySymbols, Qt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, qe = typeof Symbol == "function" && typeof Symbol.iterator == "object", Z = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === qe || !0) ? Symbol.toStringTag : null, so = Object.prototype.propertyIsEnumerable, un = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(e) {
3125
3125
  return e.__proto__;
3126
3126
  } : null);
3127
3127
  function fn(e, t) {
@@ -3131,11 +3131,11 @@ function fn(e, t) {
3131
3131
  if (typeof e == "number") {
3132
3132
  var n = e < 0 ? -ln(-e) : ln(e);
3133
3133
  if (n !== e) {
3134
- var i = String(n), a = br.call(t, i.length + 1);
3135
- return ve.call(i, r, "$&_") + "." + ve.call(ve.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
3134
+ var i = String(n), a = vr.call(t, i.length + 1);
3135
+ return be.call(i, r, "$&_") + "." + be.call(be.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
3136
3136
  }
3137
3137
  }
3138
- return ve.call(t, r, "$&_");
3138
+ return be.call(t, r, "$&_");
3139
3139
  }
3140
3140
  var Yt = ic, dn = Yt.custom, pn = co(dn) ? dn : null, gc = function e(t, r, n, i) {
3141
3141
  var a = r || {};
@@ -3191,13 +3191,13 @@ var Yt = ic, dn = Yt.custom, pn = co(dn) ? dn : null, gc = function e(t, r, n, i
3191
3191
  return "[Function" + (m ? ": " + m : " (anonymous)") + "]" + (h.length > 0 ? " { " + de.call(h, ", ") + " }" : "");
3192
3192
  }
3193
3193
  if (co(t)) {
3194
- var g = qe ? ve.call(String(t), /^(Symbol\(.*\))_[^)]*$/, "$1") : Qt.call(t);
3194
+ var g = qe ? be.call(String(t), /^(Symbol\(.*\))_[^)]*$/, "$1") : Qt.call(t);
3195
3195
  return typeof t == "object" && !qe ? Me(g) : g;
3196
3196
  }
3197
3197
  if (Rc(t)) {
3198
- for (var v = "<" + sn.call(String(t.nodeName)), b = t.attributes || [], y = 0; y < b.length; y++)
3199
- v += " " + b[y].name + "=" + io(vc(b[y].value), "double", a);
3200
- return v += ">", t.childNodes && t.childNodes.length && (v += "..."), v += "</" + sn.call(String(t.nodeName)) + ">", v;
3198
+ for (var b = "<" + sn.call(String(t.nodeName)), v = t.attributes || [], y = 0; y < v.length; y++)
3199
+ b += " " + v[y].name + "=" + io(bc(v[y].value), "double", a);
3200
+ return b += ">", t.childNodes && t.childNodes.length && (b += "..."), b += "</" + sn.call(String(t.nodeName)) + ">", b;
3201
3201
  }
3202
3202
  if (Xt(t)) {
3203
3203
  if (t.length === 0)
@@ -3219,13 +3219,13 @@ var Yt = ic, dn = Yt.custom, pn = co(dn) ? dn : null, gc = function e(t, r, n, i
3219
3219
  var j = [];
3220
3220
  return nn && nn.call(t, function(_, F) {
3221
3221
  j.push(f(F, t, !0) + " => " + f(_, t));
3222
- }), mn("Map", vt.call(t), j, p);
3222
+ }), mn("Map", bt.call(t), j, p);
3223
3223
  }
3224
3224
  if (Ec(t)) {
3225
3225
  var $ = [];
3226
3226
  return on && on.call(t, function(_) {
3227
3227
  $.push(f(_, t));
3228
- }), mn("Set", bt.call(t), $, p);
3228
+ }), mn("Set", vt.call(t), $, p);
3229
3229
  }
3230
3230
  if (Pc(t))
3231
3231
  return Ut("WeakMap");
@@ -3245,8 +3245,8 @@ var Yt = ic, dn = Yt.custom, pn = co(dn) ? dn : null, gc = function e(t, r, n, i
3245
3245
  return "{ [object Window] }";
3246
3246
  if (t === ot)
3247
3247
  return "{ [object globalThis] }";
3248
- if (!bc(t) && !hn(t)) {
3249
- var E = et(t, f), O = un ? un(t) === Object.prototype : t instanceof Object || t.constructor === Object, k = t instanceof Object ? "" : "null prototype", I = !O && Z && Object(t) === t && Z in t ? br.call(be(t), 8, -1) : k ? "Object" : "", D = O || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "", Q = D + (I || k ? "[" + de.call(cn.call([], I || [], k || []), ": ") + "] " : "");
3248
+ if (!vc(t) && !hn(t)) {
3249
+ var E = et(t, f), O = un ? un(t) === Object.prototype : t instanceof Object || t.constructor === Object, k = t instanceof Object ? "" : "null prototype", I = !O && Z && Object(t) === t && Z in t ? vr.call(ve(t), 8, -1) : k ? "Object" : "", D = O || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "", Q = D + (I || k ? "[" + de.call(cn.call([], I || [], k || []), ": ") + "] " : "");
3250
3250
  return E.length === 0 ? Q + "{}" : p ? Q + "{" + Zt(E, p) + "}" : Q + "{ " + de.call(E, ", ") + " }";
3251
3251
  }
3252
3252
  return String(t);
@@ -3255,29 +3255,29 @@ function io(e, t, r) {
3255
3255
  var n = (r.quoteStyle || t) === "double" ? '"' : "'";
3256
3256
  return n + e + n;
3257
3257
  }
3258
- function vc(e) {
3259
- return ve.call(String(e), /"/g, "&quot;");
3258
+ function bc(e) {
3259
+ return be.call(String(e), /"/g, "&quot;");
3260
3260
  }
3261
3261
  function Xt(e) {
3262
- return be(e) === "[object Array]" && (!Z || !(typeof e == "object" && Z in e));
3262
+ return ve(e) === "[object Array]" && (!Z || !(typeof e == "object" && Z in e));
3263
3263
  }
3264
- function bc(e) {
3265
- return be(e) === "[object Date]" && (!Z || !(typeof e == "object" && Z in e));
3264
+ function vc(e) {
3265
+ return ve(e) === "[object Date]" && (!Z || !(typeof e == "object" && Z in e));
3266
3266
  }
3267
3267
  function hn(e) {
3268
- return be(e) === "[object RegExp]" && (!Z || !(typeof e == "object" && Z in e));
3268
+ return ve(e) === "[object RegExp]" && (!Z || !(typeof e == "object" && Z in e));
3269
3269
  }
3270
3270
  function xc(e) {
3271
- return be(e) === "[object Error]" && (!Z || !(typeof e == "object" && Z in e));
3271
+ return ve(e) === "[object Error]" && (!Z || !(typeof e == "object" && Z in e));
3272
3272
  }
3273
3273
  function $c(e) {
3274
- return be(e) === "[object String]" && (!Z || !(typeof e == "object" && Z in e));
3274
+ return ve(e) === "[object String]" && (!Z || !(typeof e == "object" && Z in e));
3275
3275
  }
3276
3276
  function jc(e) {
3277
- return be(e) === "[object Number]" && (!Z || !(typeof e == "object" && Z in e));
3277
+ return ve(e) === "[object Number]" && (!Z || !(typeof e == "object" && Z in e));
3278
3278
  }
3279
3279
  function wc(e) {
3280
- return be(e) === "[object Boolean]" && (!Z || !(typeof e == "object" && Z in e));
3280
+ return ve(e) === "[object Boolean]" && (!Z || !(typeof e == "object" && Z in e));
3281
3281
  }
3282
3282
  function co(e) {
3283
3283
  if (qe)
@@ -3307,7 +3307,7 @@ var Tc = Object.prototype.hasOwnProperty || function(e) {
3307
3307
  function ge(e, t) {
3308
3308
  return Tc.call(e, t);
3309
3309
  }
3310
- function be(e) {
3310
+ function ve(e) {
3311
3311
  return dc.call(e);
3312
3312
  }
3313
3313
  function Oc(e) {
@@ -3325,12 +3325,12 @@ function lo(e, t) {
3325
3325
  return -1;
3326
3326
  }
3327
3327
  function Cc(e) {
3328
- if (!vt || !e || typeof e != "object")
3328
+ if (!bt || !e || typeof e != "object")
3329
3329
  return !1;
3330
3330
  try {
3331
- vt.call(e);
3331
+ bt.call(e);
3332
3332
  try {
3333
- bt.call(e);
3333
+ vt.call(e);
3334
3334
  } catch {
3335
3335
  return !0;
3336
3336
  }
@@ -3364,12 +3364,12 @@ function Nc(e) {
3364
3364
  return !1;
3365
3365
  }
3366
3366
  function Ec(e) {
3367
- if (!bt || !e || typeof e != "object")
3367
+ if (!vt || !e || typeof e != "object")
3368
3368
  return !1;
3369
3369
  try {
3370
- bt.call(e);
3370
+ vt.call(e);
3371
3371
  try {
3372
- vt.call(e);
3372
+ bt.call(e);
3373
3373
  } catch {
3374
3374
  return !0;
3375
3375
  }
@@ -3399,9 +3399,9 @@ function Rc(e) {
3399
3399
  function uo(e, t) {
3400
3400
  if (e.length > t.maxStringLength) {
3401
3401
  var r = e.length - t.maxStringLength, n = "... " + r + " more character" + (r > 1 ? "s" : "");
3402
- return uo(br.call(e, 0, t.maxStringLength), t) + n;
3402
+ return uo(vr.call(e, 0, t.maxStringLength), t) + n;
3403
3403
  }
3404
- var i = ve.call(ve.call(e, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, Ac);
3404
+ var i = be.call(be.call(e, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, Ac);
3405
3405
  return io(i, "single", t);
3406
3406
  }
3407
3407
  function Ac(e) {
@@ -3692,7 +3692,7 @@ var fo = Le, Ue = oc, _c = gc, Fc = Qe, tt = fo("%WeakMap%", !0), rt = fo("%Map%
3692
3692
  strictNullHandling: !1
3693
3693
  }, ul = function(t) {
3694
3694
  return typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t == "symbol" || typeof t == "bigint";
3695
- }, Dt = {}, fl = function e(t, r, n, i, a, o, s, c, l, d, p, f, m, h, g, v, b, y) {
3695
+ }, Dt = {}, fl = function e(t, r, n, i, a, o, s, c, l, d, p, f, m, h, g, b, v, y) {
3696
3696
  for (var x = t, T = y, j = 0, $ = !1; (T = T.get(Dt)) !== void 0 && !$; ) {
3697
3697
  var E = T.get(t);
3698
3698
  if (j += 1, typeof E < "u") {
@@ -3706,13 +3706,13 @@ var fo = Le, Ue = oc, _c = gc, Fc = Qe, tt = fo("%WeakMap%", !0), rt = fo("%Map%
3706
3706
  return w instanceof Date ? m(w) : w;
3707
3707
  })), x === null) {
3708
3708
  if (o)
3709
- return l && !v ? l(r, B.encoder, b, "key", h) : r;
3709
+ return l && !b ? l(r, B.encoder, v, "key", h) : r;
3710
3710
  x = "";
3711
3711
  }
3712
3712
  if (ul(x) || ct.isBuffer(x)) {
3713
3713
  if (l) {
3714
- var O = v ? r : l(r, B.encoder, b, "key", h);
3715
- return [g(O) + "=" + g(l(x, B.encoder, b, "value", h))];
3714
+ var O = b ? r : l(r, B.encoder, v, "key", h);
3715
+ return [g(O) + "=" + g(l(x, B.encoder, v, "value", h))];
3716
3716
  }
3717
3717
  return [g(r) + "=" + g(String(x))];
3718
3718
  }
@@ -3721,7 +3721,7 @@ var fo = Le, Ue = oc, _c = gc, Fc = Qe, tt = fo("%WeakMap%", !0), rt = fo("%Map%
3721
3721
  return k;
3722
3722
  var I;
3723
3723
  if (n === "comma" && fe(x))
3724
- v && l && (x = ct.maybeMap(x, l)), I = [{ value: x.length > 0 ? x.join(",") || null : void 0 }];
3724
+ b && l && (x = ct.maybeMap(x, l)), I = [{ value: x.length > 0 ? x.join(",") || null : void 0 }];
3725
3725
  else if (fe(d))
3726
3726
  I = d;
3727
3727
  else {
@@ -3746,15 +3746,15 @@ var fo = Le, Ue = oc, _c = gc, Fc = Qe, tt = fo("%WeakMap%", !0), rt = fo("%Map%
3746
3746
  o,
3747
3747
  s,
3748
3748
  c,
3749
- n === "comma" && v && fe(x) ? null : l,
3749
+ n === "comma" && b && fe(x) ? null : l,
3750
3750
  d,
3751
3751
  p,
3752
3752
  f,
3753
3753
  m,
3754
3754
  h,
3755
3755
  g,
3756
- v,
3757
3756
  b,
3757
+ v,
3758
3758
  Xe
3759
3759
  ));
3760
3760
  }
@@ -3862,9 +3862,9 @@ var fo = Le, Ue = oc, _c = gc, Fc = Qe, tt = fo("%WeakMap%", !0), rt = fo("%Map%
3862
3862
  return e.replace(/&#(\d+);/g, function(t, r) {
3863
3863
  return String.fromCharCode(parseInt(r, 10));
3864
3864
  });
3865
- }, vo = function(e, t) {
3865
+ }, bo = function(e, t) {
3866
3866
  return e && typeof e == "string" && t.comma && e.indexOf(",") > -1 ? e.split(",") : e;
3867
- }, yl = "utf8=%26%2310003%3B", gl = "utf8=%E2%9C%93", vl = function(t, r) {
3867
+ }, yl = "utf8=%26%2310003%3B", gl = "utf8=%E2%9C%93", bl = function(t, r) {
3868
3868
  var n = { __proto__: null }, i = r.ignoreQueryPrefix ? t.replace(/^\?/, "") : t, a = r.parameterLimit === 1 / 0 ? void 0 : r.parameterLimit, o = i.split(r.delimiter, a), s = -1, c, l = r.charset;
3869
3869
  if (r.charsetSentinel)
3870
3870
  for (c = 0; c < o.length; ++c)
@@ -3873,17 +3873,17 @@ var fo = Le, Ue = oc, _c = gc, Fc = Qe, tt = fo("%WeakMap%", !0), rt = fo("%Map%
3873
3873
  if (c !== s) {
3874
3874
  var d = o[c], p = d.indexOf("]="), f = p === -1 ? d.indexOf("=") : p + 1, m, h;
3875
3875
  f === -1 ? (m = r.decoder(d, H.decoder, l, "key"), h = r.strictNullHandling ? null : "") : (m = r.decoder(d.slice(0, f), H.decoder, l, "key"), h = _e.maybeMap(
3876
- vo(d.slice(f + 1), r),
3877
- function(v) {
3878
- return r.decoder(v, H.decoder, l, "value");
3876
+ bo(d.slice(f + 1), r),
3877
+ function(b) {
3878
+ return r.decoder(b, H.decoder, l, "value");
3879
3879
  }
3880
3880
  )), h && r.interpretNumericEntities && l === "iso-8859-1" && (h = ml(h)), d.indexOf("[]=") > -1 && (h = hl(h) ? [h] : h);
3881
3881
  var g = er.call(n, m);
3882
3882
  g && r.duplicates === "combine" ? n[m] = _e.combine(n[m], h) : (!g || r.duplicates === "last") && (n[m] = h);
3883
3883
  }
3884
3884
  return n;
3885
- }, bl = function(e, t, r, n) {
3886
- for (var i = n ? t : vo(t, r), a = e.length - 1; a >= 0; --a) {
3885
+ }, vl = function(e, t, r, n) {
3886
+ for (var i = n ? t : bo(t, r), a = e.length - 1; a >= 0; --a) {
3887
3887
  var o, s = e[a];
3888
3888
  if (s === "[]" && r.parseArrays)
3889
3889
  o = r.allowEmptyArrays && i === "" ? [] : [].concat(i);
@@ -3908,7 +3908,7 @@ var fo = Le, Ue = oc, _c = gc, Fc = Qe, tt = fo("%WeakMap%", !0), rt = fo("%Map%
3908
3908
  return;
3909
3909
  d.push(c[1]);
3910
3910
  }
3911
- return c && d.push("[" + a.slice(c.index) + "]"), bl(d, r, n, i);
3911
+ return c && d.push("[" + a.slice(c.index) + "]"), vl(d, r, n, i);
3912
3912
  }
3913
3913
  }, $l = function(t) {
3914
3914
  if (!t)
@@ -3951,7 +3951,7 @@ var fo = Le, Ue = oc, _c = gc, Fc = Qe, tt = fo("%WeakMap%", !0), rt = fo("%Map%
3951
3951
  var r = $l(t);
3952
3952
  if (e === "" || e === null || typeof e > "u")
3953
3953
  return r.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
3954
- for (var n = typeof e == "string" ? vl(e, r) : e, i = r.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, a = Object.keys(n), o = 0; o < a.length; ++o) {
3954
+ for (var n = typeof e == "string" ? bl(e, r) : e, i = r.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, a = Object.keys(n), o = 0; o < a.length; ++o) {
3955
3955
  var s = a[o], c = xl(s, n[s], r, typeof e == "string");
3956
3956
  i = _e.merge(i, c, r);
3957
3957
  }
@@ -3987,11 +3987,11 @@ var Cl = /^([a-z0-9.+-]+:)/i, Pl = /:[0-9]*$/, Nl = /^(\/\/?(?!\/)[^?\s]*)(\?[^\
3987
3987
  "?",
3988
3988
  ";",
3989
3989
  "#"
3990
- ].concat(tr), vn = [
3990
+ ].concat(tr), bn = [
3991
3991
  "/",
3992
3992
  "?",
3993
3993
  "#"
3994
- ], Rl = 255, bn = /^[+a-z0-9A-Z_-]{0,63}$/, Al = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, Il = {
3994
+ ], Rl = 255, vn = /^[+a-z0-9A-Z_-]{0,63}$/, Al = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, Il = {
3995
3995
  javascript: !0,
3996
3996
  "javascript:": !0
3997
3997
  }, rr = {
@@ -4037,34 +4037,34 @@ se.prototype.parse = function(e, t, r) {
4037
4037
  p && !(l && rr[l]) && (s = s.substr(2), this.slashes = !0);
4038
4038
  }
4039
4039
  if (!rr[l] && (p || l && !Re[l])) {
4040
- for (var f = -1, m = 0; m < vn.length; m++) {
4041
- var h = s.indexOf(vn[m]);
4040
+ for (var f = -1, m = 0; m < bn.length; m++) {
4041
+ var h = s.indexOf(bn[m]);
4042
4042
  h !== -1 && (f === -1 || h < f) && (f = h);
4043
4043
  }
4044
- var g, v;
4045
- f === -1 ? v = s.lastIndexOf("@") : v = s.lastIndexOf("@", f), v !== -1 && (g = s.slice(0, v), s = s.slice(v + 1), this.auth = decodeURIComponent(g)), f = -1;
4044
+ var g, b;
4045
+ f === -1 ? b = s.lastIndexOf("@") : b = s.lastIndexOf("@", f), b !== -1 && (g = s.slice(0, b), s = s.slice(b + 1), this.auth = decodeURIComponent(g)), f = -1;
4046
4046
  for (var m = 0; m < gn.length; m++) {
4047
4047
  var h = s.indexOf(gn[m]);
4048
4048
  h !== -1 && (f === -1 || h < f) && (f = h);
4049
4049
  }
4050
4050
  f === -1 && (f = s.length), this.host = s.slice(0, f), s = s.slice(f), this.parseHost(), this.hostname = this.hostname || "";
4051
- var b = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
4052
- if (!b)
4051
+ var v = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
4052
+ if (!v)
4053
4053
  for (var y = this.hostname.split(/\./), m = 0, x = y.length; m < x; m++) {
4054
4054
  var T = y[m];
4055
- if (T && !T.match(bn)) {
4055
+ if (T && !T.match(vn)) {
4056
4056
  for (var j = "", $ = 0, E = T.length; $ < E; $++)
4057
4057
  T.charCodeAt($) > 127 ? j += "x" : j += T[$];
4058
- if (!j.match(bn)) {
4058
+ if (!j.match(vn)) {
4059
4059
  var O = y.slice(0, m), k = y.slice(m + 1), I = T.match(Al);
4060
4060
  I && (O.push(I[1]), k.unshift(I[2])), k.length && (s = "/" + k.join(".") + s), this.hostname = O.join(".");
4061
4061
  break;
4062
4062
  }
4063
4063
  }
4064
4064
  }
4065
- this.hostname.length > Rl ? this.hostname = "" : this.hostname = this.hostname.toLowerCase(), b || (this.hostname = Ol.toASCII(this.hostname));
4065
+ this.hostname.length > Rl ? this.hostname = "" : this.hostname = this.hostname.toLowerCase(), v || (this.hostname = Ol.toASCII(this.hostname));
4066
4066
  var D = this.port ? ":" + this.port : "", Q = this.hostname || "";
4067
- this.host = Q + D, this.href += this.host, b && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), s[0] !== "/" && (s = "/" + s));
4067
+ this.host = Q + D, this.href += this.host, v && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), s[0] !== "/" && (s = "/" + s));
4068
4068
  }
4069
4069
  if (!Il[d])
4070
4070
  for (var m = 0, x = tr.length; m < x; m++) {
@@ -4140,8 +4140,8 @@ se.prototype.resolveObject = function(e) {
4140
4140
  }
4141
4141
  return r.slashes = r.slashes || e.slashes, r.href = r.format(), r;
4142
4142
  }
4143
- var h = r.pathname && r.pathname.charAt(0) === "/", g = e.host || e.pathname && e.pathname.charAt(0) === "/", v = g || h || r.host && e.pathname, b = v, y = r.pathname && r.pathname.split("/") || [], x = e.pathname && e.pathname.split("/") || [], T = r.protocol && !Re[r.protocol];
4144
- if (T && (r.hostname = "", r.port = null, r.host && (y[0] === "" ? y[0] = r.host : y.unshift(r.host)), r.host = "", e.protocol && (e.hostname = null, e.port = null, e.host && (x[0] === "" ? x[0] = e.host : x.unshift(e.host)), e.host = null), v = v && (x[0] === "" || y[0] === "")), g)
4143
+ var h = r.pathname && r.pathname.charAt(0) === "/", g = e.host || e.pathname && e.pathname.charAt(0) === "/", b = g || h || r.host && e.pathname, v = b, y = r.pathname && r.pathname.split("/") || [], x = e.pathname && e.pathname.split("/") || [], T = r.protocol && !Re[r.protocol];
4144
+ if (T && (r.hostname = "", r.port = null, r.host && (y[0] === "" ? y[0] = r.host : y.unshift(r.host)), r.host = "", e.protocol && (e.hostname = null, e.port = null, e.host && (x[0] === "" ? x[0] = e.host : x.unshift(e.host)), e.host = null), b = b && (x[0] === "" || y[0] === "")), g)
4145
4145
  r.host = e.host || e.host === "" ? e.host : r.host, r.hostname = e.hostname || e.hostname === "" ? e.hostname : r.hostname, r.search = e.search, r.query = e.query, y = x;
4146
4146
  else if (x.length)
4147
4147
  y || (y = []), y.pop(), y = y.concat(x), r.search = e.search, r.query = e.query;
@@ -4157,17 +4157,17 @@ se.prototype.resolveObject = function(e) {
4157
4157
  return r.pathname = null, r.search ? r.path = "/" + r.search : r.path = null, r.href = r.format(), r;
4158
4158
  for (var $ = y.slice(-1)[0], E = (r.host || e.host || y.length > 1) && ($ === "." || $ === "..") || $ === "", O = 0, k = y.length; k >= 0; k--)
4159
4159
  $ = y[k], $ === "." ? y.splice(k, 1) : $ === ".." ? (y.splice(k, 1), O++) : O && (y.splice(k, 1), O--);
4160
- if (!v && !b)
4160
+ if (!b && !v)
4161
4161
  for (; O--; O)
4162
4162
  y.unshift("..");
4163
- v && y[0] !== "" && (!y[0] || y[0].charAt(0) !== "/") && y.unshift(""), E && y.join("/").substr(-1) !== "/" && y.push("");
4163
+ b && y[0] !== "" && (!y[0] || y[0].charAt(0) !== "/") && y.unshift(""), E && y.join("/").substr(-1) !== "/" && y.push("");
4164
4164
  var I = y[0] === "" || y[0] && y[0].charAt(0) === "/";
4165
4165
  if (T) {
4166
4166
  r.hostname = I ? "" : y.length ? y.shift() : "", r.host = r.hostname;
4167
4167
  var j = r.host && r.host.indexOf("@") > 0 ? r.host.split("@") : !1;
4168
4168
  j && (r.auth = j.shift(), r.hostname = j.shift(), r.host = r.hostname);
4169
4169
  }
4170
- return v = v || r.host && y.length, v && !I && y.unshift(""), y.length > 0 ? r.pathname = y.join("/") : (r.pathname = null, r.path = null), (r.pathname !== null || r.search !== null) && (r.path = (r.pathname ? r.pathname : "") + (r.search ? r.search : "")), r.auth = e.auth || r.auth, r.slashes = r.slashes || e.slashes, r.href = r.format(), r;
4170
+ return b = b || r.host && y.length, b && !I && y.unshift(""), y.length > 0 ? r.pathname = y.join("/") : (r.pathname = null, r.path = null), (r.pathname !== null || r.search !== null) && (r.path = (r.pathname ? r.pathname : "") + (r.search ? r.search : "")), r.auth = e.auth || r.auth, r.slashes = r.slashes || e.slashes, r.href = r.format(), r;
4171
4171
  };
4172
4172
  se.prototype.parseHost = function() {
4173
4173
  var e = this.host, t = Pl.exec(e);
@@ -4215,11 +4215,11 @@ var _l = jr, xn = ql, Fl = (e) => typeof e == "object" && "log" in e && typeof e
4215
4215
  };
4216
4216
  if (r.queryString && r.queryString.length && (r.queryObj = r.queryString.reduce(_r, {})), r.headers && r.headers.length) {
4217
4217
  const m = /^HTTP\/2/;
4218
- r.headersObj = r.headers.reduce((h, { name: g, value: v }) => {
4219
- const b = m.exec(r.httpVersion) ? g.toLocaleLowerCase() : g;
4218
+ r.headersObj = r.headers.reduce((h, { name: g, value: b }) => {
4219
+ const v = m.exec(r.httpVersion) ? g.toLocaleLowerCase() : g;
4220
4220
  return {
4221
4221
  ...h,
4222
- [b]: v
4222
+ [v]: b
4223
4223
  };
4224
4224
  }, {});
4225
4225
  }
@@ -4238,13 +4238,13 @@ var _l = jr, xn = ql, Fl = (e) => typeof e == "object" && "log" in e && typeof e
4238
4238
  case "multipart/alternative":
4239
4239
  if (r.postData.text = "", r.postData.mimeType = "multipart/form-data", (p = r.postData) != null && p.params) {
4240
4240
  const m = "---011000010111000001101001", h = `${m}--`, g = `\r
4241
- `, v = (T) => T.replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22"), b = (T) => T.replace(/\r?\n|\r/g, `\r
4241
+ `, b = (T) => T.replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22"), v = (T) => T.replace(/\r?\n|\r/g, `\r
4242
4242
  `), y = [`--${m}`];
4243
4243
  (f = r.postData) == null || f.params.forEach((T, j) => {
4244
4244
  const $ = T.name, E = T.value || "", O = T.fileName || null, k = T.contentType || "application/octet-stream";
4245
4245
  O ? (y.push(
4246
- `Content-Disposition: form-data; name="${v(b($))}"; filename="${O}"`
4247
- ), y.push(`Content-Type: ${k}`)) : y.push(`Content-Disposition: form-data; name="${v(b($))}"`), y.push(""), y.push(b(E)), j !== r.postData.params.length - 1 && y.push(`--${m}`);
4246
+ `Content-Disposition: form-data; name="${b(v($))}"; filename="${O}"`
4247
+ ), y.push(`Content-Type: ${k}`)) : y.push(`Content-Disposition: form-data; name="${b(v($))}"`), y.push(""), y.push(v(E)), j !== r.postData.params.length - 1 && y.push(`--${m}`);
4248
4248
  }), y.push(`--${h}`), r.postData.boundary = m, r.postData.text = y.join(g);
4249
4249
  const x = X(r.headersObj, "content-type") || "content-type";
4250
4250
  r.headersObj[x] = `multipart/form-data; boundary=${m}`;
@@ -4309,7 +4309,7 @@ var _l = jr, xn = ql, Fl = (e) => typeof e == "object" && "log" in e && typeof e
4309
4309
  const { convert: i } = n.clientsById[t || n.info.default];
4310
4310
  return this.requests.map((o) => i(o, r));
4311
4311
  }
4312
- }, wr = "Dialog", [bo, Bu] = sr(wr), [Ul, ce] = bo(wr), xo = (e) => {
4312
+ }, wr = "Dialog", [vo, Bu] = sr(wr), [Ul, ce] = vo(wr), xo = (e) => {
4313
4313
  const {
4314
4314
  __scopeDialog: t,
4315
4315
  children: r,
@@ -4359,7 +4359,7 @@ var $o = "DialogTrigger", jo = S.forwardRef(
4359
4359
  }
4360
4360
  );
4361
4361
  jo.displayName = $o;
4362
- var Sr = "DialogPortal", [Ml, wo] = bo(Sr, {
4362
+ var Sr = "DialogPortal", [Ml, wo] = vo(Sr, {
4363
4363
  forceMount: void 0
4364
4364
  }), So = (e) => {
4365
4365
  const { __scopeDialog: t, forceMount: r, children: n, container: i } = e, a = ce(Sr, t);
@@ -4944,9 +4944,9 @@ const pu = {
4944
4944
  E < O.length - 1 && "/",
4945
4945
  /* @__PURE__ */ u.jsx("wbr", {})
4946
4946
  ] }, $);
4947
- }), v = du(
4947
+ }), b = du(
4948
4948
  ((x = h.data) == null ? void 0 : x.headers.get("Content-Type")) ?? ""
4949
- ), b = Array.from(((T = h.data) == null ? void 0 : T.headers.entries()) ?? []), y = f.queryParams.filter(($) => $.active).map(($) => /* @__PURE__ */ u.jsxs(nt, { children: [
4949
+ ), v = Array.from(((T = h.data) == null ? void 0 : T.headers.entries()) ?? []), y = f.queryParams.filter(($) => $.active).map(($) => /* @__PURE__ */ u.jsxs(nt, { children: [
4950
4950
  $.name,
4951
4951
  "=",
4952
4952
  $.value,
@@ -5041,12 +5041,12 @@ const pu = {
5041
5041
  /* @__PURE__ */ u.jsxs(zt, { defaultValue: "response", children: [
5042
5042
  /* @__PURE__ */ u.jsxs(ft, { children: [
5043
5043
  /* @__PURE__ */ u.jsx($e, { value: "response", children: "Response" }),
5044
- /* @__PURE__ */ u.jsx($e, { value: "headers", children: b.length ? `Headers (${b.length})` : "No headers" })
5044
+ /* @__PURE__ */ u.jsx($e, { value: "headers", children: v.length ? `Headers (${v.length})` : "No headers" })
5045
5045
  ] }),
5046
5046
  /* @__PURE__ */ u.jsx(je, { value: "response", children: /* @__PURE__ */ u.jsx(or, { className: "shadow-none p-4", children: /* @__PURE__ */ u.jsx(
5047
5047
  Ke,
5048
5048
  {
5049
- language: v ?? "json",
5049
+ language: b ?? "json",
5050
5050
  noBackground: !0,
5051
5051
  className: "overflow-x-auto ",
5052
5052
  code: h.data.body ?? JSON.stringify("")
@@ -5055,7 +5055,7 @@ const pu = {
5055
5055
  /* @__PURE__ */ u.jsx(je, { value: "headers", children: /* @__PURE__ */ u.jsxs(or, { className: "grid grid-cols-2 w-full gap-2.5 font-mono text-xs shadow-none p-4", children: [
5056
5056
  /* @__PURE__ */ u.jsx("div", { className: "font-semibold", children: "Key" }),
5057
5057
  /* @__PURE__ */ u.jsx("div", { className: "font-semibold", children: "Value" }),
5058
- b.map(([$, E]) => /* @__PURE__ */ u.jsxs(nt, { children: [
5058
+ v.map(([$, E]) => /* @__PURE__ */ u.jsxs(nt, { children: [
5059
5059
  /* @__PURE__ */ u.jsx("div", { children: $ }),
5060
5060
  /* @__PURE__ */ u.jsx("div", { children: E })
5061
5061
  ] }, $))
@@ -5146,8 +5146,8 @@ const pu = {
5146
5146
  className: A("bg-zinc-50 dark:bg-zinc-800 overflow-auto p-2", t),
5147
5147
  children: e
5148
5148
  }
5149
- ), vu = (e) => typeof e == "object" && e !== null && !Array.isArray(e), Je = (e, t) => e.example !== void 0 ? e.example : e.default !== void 0 ? e.default : e.examples && vu(e.examples) ? Object.values(e.examples)[0] : bu(e);
5150
- function bu(e, t) {
5149
+ ), bu = (e) => typeof e == "object" && e !== null && !Array.isArray(e), Je = (e, t) => e.example !== void 0 ? e.example : e.default !== void 0 ? e.default : e.examples && bu(e.examples) ? Object.values(e.examples)[0] : vu(e);
5150
+ function vu(e, t) {
5151
5151
  const r = Object.entries(e.properties ?? {}).concat(
5152
5152
  Object.entries(e.additionalProperties ?? {})
5153
5153
  );
@@ -5559,4 +5559,4 @@ export {
5559
5559
  Wu as OperationList,
5560
5560
  Cu as OperationsFragment
5561
5561
  };
5562
- //# sourceMappingURL=OperationList-9NIdTqS0.js.map
5562
+ //# sourceMappingURL=OperationList-BEpN70_E.js.map