zudoku 0.35.4 → 0.35.6

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 (60) hide show
  1. package/dist/lib/authentication/providers/openid.js +11 -7
  2. package/dist/lib/authentication/providers/openid.js.map +1 -1
  3. package/dist/lib/components/AnchorLink.js +3 -2
  4. package/dist/lib/components/AnchorLink.js.map +1 -1
  5. package/dist/lib/components/navigation/SidebarItem.js +3 -2
  6. package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
  7. package/dist/lib/oas/graphql/index.d.ts +4 -3
  8. package/dist/lib/oas/graphql/index.js +9 -13
  9. package/dist/lib/oas/graphql/index.js.map +1 -1
  10. package/dist/lib/plugins/openapi/OperationList.js +2 -1
  11. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  12. package/dist/lib/plugins/openapi/ParamInfos.js +1 -1
  13. package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -1
  14. package/dist/lib/plugins/openapi/ParameterListItem.js +5 -3
  15. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  16. package/dist/lib/plugins/openapi/graphql/gql.d.ts +1 -1
  17. package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
  18. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  19. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +2 -1
  20. package/dist/lib/plugins/openapi/graphql/graphql.js +3 -1
  21. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  22. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +5 -2
  23. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
  24. package/lib/{Markdown-hBN9vkm5.js → Markdown-C0eXdzGn.js} +306 -306
  25. package/lib/{Markdown-hBN9vkm5.js.map → Markdown-C0eXdzGn.js.map} +1 -1
  26. package/lib/{MdxPage-UCWwxhzC.js → MdxPage-BKkG1cm1.js} +2 -2
  27. package/lib/{MdxPage-UCWwxhzC.js.map → MdxPage-BKkG1cm1.js.map} +1 -1
  28. package/lib/{OasProvider-BbSqUQka.js → OasProvider-CwhKwrwl.js} +2 -2
  29. package/lib/{OasProvider-BbSqUQka.js.map → OasProvider-CwhKwrwl.js.map} +1 -1
  30. package/lib/{OperationList-CENzwqY8.js → OperationList-DGYoFitT.js} +360 -362
  31. package/lib/OperationList-DGYoFitT.js.map +1 -0
  32. package/lib/{SlotletProvider-D-XPr1Wg.js → SlotletProvider-BJC58V32.js} +2 -2
  33. package/lib/{SlotletProvider-D-XPr1Wg.js.map → SlotletProvider-BJC58V32.js.map} +1 -1
  34. package/lib/{createServer-BEFAOb-x.js → createServer-CbL1Uh2Q.js} +4108 -4066
  35. package/lib/createServer-CbL1Uh2Q.js.map +1 -0
  36. package/lib/{index-BVhQWA89.js → index-Dm1QJHVl.js} +121 -117
  37. package/lib/index-Dm1QJHVl.js.map +1 -0
  38. package/lib/zudoku.auth-openid.js +282 -281
  39. package/lib/zudoku.auth-openid.js.map +1 -1
  40. package/lib/zudoku.components.js +2 -2
  41. package/lib/zudoku.plugin-api-catalog.js +1 -1
  42. package/lib/zudoku.plugin-api-keys.js +1 -1
  43. package/lib/zudoku.plugin-custom-pages.js +1 -1
  44. package/lib/zudoku.plugin-markdown.js +1 -1
  45. package/lib/zudoku.plugin-openapi.js +1 -1
  46. package/package.json +5 -5
  47. package/src/app/main.css +4 -0
  48. package/src/lib/authentication/providers/openid.tsx +12 -9
  49. package/src/lib/components/AnchorLink.tsx +4 -2
  50. package/src/lib/components/navigation/SidebarItem.tsx +3 -2
  51. package/src/lib/oas/graphql/index.ts +27 -27
  52. package/src/lib/plugins/openapi/OperationList.tsx +2 -1
  53. package/src/lib/plugins/openapi/ParamInfos.tsx +1 -1
  54. package/src/lib/plugins/openapi/ParameterListItem.tsx +20 -14
  55. package/src/lib/plugins/openapi/graphql/gql.ts +3 -3
  56. package/src/lib/plugins/openapi/graphql/graphql.ts +8 -4
  57. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +10 -6
  58. package/lib/OperationList-CENzwqY8.js.map +0 -1
  59. package/lib/createServer-BEFAOb-x.js.map +0 -1
  60. package/lib/index-BVhQWA89.js.map +0 -1
@@ -3,19 +3,19 @@ var st = (t) => {
3
3
  throw TypeError(t);
4
4
  };
5
5
  var Ft = (t, s, n) => s in t ? Vt(t, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[s] = n;
6
- var he = (t, s, n) => Ft(t, typeof s != "symbol" ? s + "" : s, n), zt = (t, s, n) => s.has(t) || st("Cannot " + n);
6
+ var J = (t, s, n) => Ft(t, typeof s != "symbol" ? s + "" : s, n), zt = (t, s, n) => s.has(t) || st("Cannot " + n);
7
7
  var xe = (t, s, n) => (zt(t, s, "read from private field"), n ? n.call(t) : s.get(t)), ge = (t, s, n) => s.has(t) ? st("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(t) : s.set(t, n);
8
8
  import { j as e } from "./jsx-runtime-CYK1ROHF.js";
9
- import { s as ae } from "./index-LNp6rxyU.js";
10
- import { ChevronRightIcon as Q, CheckIcon as Ht, DotIcon as Mt, Check as Bt, XIcon as Gt, Circle as Jt, ChevronDownIcon as Ut, InfoIcon as nt, LogInIcon as _t, CirclePlayIcon as Qt } from "lucide-react";
9
+ import { s as re } from "./index-LNp6rxyU.js";
10
+ import { ChevronRightIcon as W, CheckIcon as Ht, DotIcon as Mt, Check as Bt, XIcon as Gt, Circle as _t, ChevronDownIcon as Jt, InfoIcon as nt, LogInIcon as Ut, CirclePlayIcon as Qt } from "lucide-react";
11
11
  import { r as Wt, m as at } from "./chunk-HA7DTUK3-ZGg2W6yV.js";
12
12
  import { h as Zt, p as Xt, i as Kt, k as Yt, l as es, e as ts } from "./hook-CfCFKZ-2.js";
13
- import { Button as W } from "./ui/Button.js";
13
+ import { Button as Z } from "./ui/Button.js";
14
14
  import { j as q } from "./joinUrl-10po2Jdj.js";
15
15
  import { Z as ss } from "./invariant-Caa8-XvF.js";
16
16
  import { VisuallyHidden as ns } from "@radix-ui/react-visually-hidden";
17
17
  import * as y from "react";
18
- import { Fragment as O, useRef as G, useEffect as re, useState as I, useCallback as as, useTransition as rs } from "react";
18
+ import { Fragment as O, useRef as G, useEffect as oe, useState as I, useCallback as as, useTransition as rs } from "react";
19
19
  import { D as ke, a as Oe, b as Ae, d as gt, e as ft, f as os } from "./Dialog-sbgekbjb.js";
20
20
  import { S as Ne, a as we, b as Ce, c as Se, e as U, u as is } from "./Select-FAYHOYTy.js";
21
21
  import { b as Le, u as qe, C as A, a as ls, F as ds } from "./index.esm--gIChbWs.js";
@@ -27,14 +27,14 @@ import { z as us } from "./index-DwT-v3zK.js";
27
27
  import { B as L, S as ps } from "./Spinner-C6n4eOvh.js";
28
28
  import * as b from "@radix-ui/react-dropdown-menu";
29
29
  import * as Te from "@radix-ui/react-checkbox";
30
- import * as oe from "@radix-ui/react-popover";
30
+ import * as ie from "@radix-ui/react-popover";
31
31
  import { PopoverAnchor as hs } from "@radix-ui/react-popover";
32
32
  import { T as xs } from "./index-gQD2h1wX.js";
33
33
  import { g as gs, h as fs, C as ys, b as js, f as vs } from "./Callout-B2vsR09t.js";
34
34
  import { Input as De } from "./ui/Input.js";
35
35
  import { Slot as bs } from "@radix-ui/react-slot";
36
36
  import * as bt from "@radix-ui/react-label";
37
- import * as Z from "@radix-ui/react-radio-group";
37
+ import * as X from "@radix-ui/react-radio-group";
38
38
  import { Callout as Ns } from "./ui/Callout.js";
39
39
  import { Card as Nt, CardHeader as ws, CardTitle as Cs, CardContent as Ss } from "./ui/Card.js";
40
40
  import { Collapsible as rt, CollapsibleTrigger as ot, CollapsibleContent as it } from "./ui/Collapsible.js";
@@ -49,16 +49,16 @@ const Ps = (t) => {
49
49
  developerHint: "Check your configuration value `apis.type` and `apis.input` in the Zudoku config."
50
50
  });
51
51
  };
52
- var de, ce;
52
+ var ce, me;
53
53
  class Is {
54
54
  constructor(s) {
55
- ge(this, de, async () => (fe || (fe = import("./createServer-BEFAOb-x.js").then(
55
+ ge(this, ce, async () => (fe || (fe = import("./createServer-CbL1Uh2Q.js").then(
56
56
  (s) => s.createServer(this.config)
57
57
  )), fe));
58
- ge(this, ce, async (s) => this.config.server ? fetch(this.config.server, s) : (await xe(this, de).call(this)).fetch("http://localhost/graphql", s));
59
- he(this, "fetch", async (s, ...[n]) => {
58
+ ge(this, me, async (s) => this.config.server ? fetch(this.config.server, s) : (await xe(this, ce).call(this)).fetch("http://localhost/graphql", s));
59
+ J(this, "fetch", async (s, ...[n]) => {
60
60
  var l;
61
- const a = (l = s.match(/query (\w+)/)) == null ? void 0 : l[1], r = await xe(this, ce).call(this, {
61
+ const a = (l = s.match(/query (\w+)/)) == null ? void 0 : l[1], r = await xe(this, me).call(this, {
62
62
  method: "POST",
63
63
  body: JSON.stringify({ query: s, variables: n, operationName: a }),
64
64
  headers: { "Content-Type": "application/json" }
@@ -71,18 +71,20 @@ class Is {
71
71
  this.config = s;
72
72
  }
73
73
  }
74
- de = new WeakMap(), ce = new WeakMap();
75
- class J extends String {
74
+ ce = new WeakMap(), me = new WeakMap();
75
+ class _ extends String {
76
76
  constructor(n, a) {
77
77
  super(n);
78
- he(this, "__apiType");
78
+ J(this, "__apiType");
79
+ J(this, "value");
80
+ J(this, "__meta__");
79
81
  this.value = n, this.__meta__ = a;
80
82
  }
81
83
  toString() {
82
84
  return this.value;
83
85
  }
84
86
  }
85
- const Rs = new J(
87
+ const Rs = new _(
86
88
  `
87
89
  fragment OperationsFragment on OperationItem {
88
90
  slug
@@ -101,6 +103,7 @@ const Rs = new J(
101
103
  required
102
104
  schema
103
105
  style
106
+ explode
104
107
  examples {
105
108
  name
106
109
  description
@@ -149,7 +152,7 @@ const Rs = new J(
149
152
  }
150
153
  `,
151
154
  { fragmentName: "OperationsFragment" }
152
- ), ks = new J(`
155
+ ), ks = new _(`
153
156
  query ServersQuery($input: JSON!, $type: SchemaType!) {
154
157
  schema(input: $input, type: $type) {
155
158
  url
@@ -158,7 +161,7 @@ const Rs = new J(
158
161
  }
159
162
  }
160
163
  }
161
- `), Os = new J(`
164
+ `), Os = new _(`
162
165
  query AllOperations($input: JSON!, $type: SchemaType!, $tag: String, $untagged: Boolean) {
163
166
  schema(input: $input, type: $type) {
164
167
  servers {
@@ -196,6 +199,7 @@ const Rs = new J(
196
199
  required
197
200
  schema
198
201
  style
202
+ explode
199
203
  examples {
200
204
  name
201
205
  description
@@ -241,7 +245,7 @@ const Rs = new J(
241
245
  schema
242
246
  }
243
247
  }
244
- }`), As = new J(`
248
+ }`), As = new _(`
245
249
  query getServerQuery($input: JSON!, $type: SchemaType!) {
246
250
  schema(input: $input, type: $type) {
247
251
  url
@@ -250,7 +254,7 @@ const Rs = new J(
250
254
  }
251
255
  }
252
256
  }
253
- `), Ls = new J(`
257
+ `), Ls = new _(`
254
258
  query GetCategories($input: JSON!, $type: SchemaType!) {
255
259
  schema(input: $input, type: $type) {
256
260
  url
@@ -259,7 +263,7 @@ const Rs = new J(
259
263
  }
260
264
  }
261
265
  }
262
- `), qs = new J(`
266
+ `), qs = new _(`
263
267
  query GetOperations($input: JSON!, $type: SchemaType!, $tag: String) {
264
268
  schema(input: $input, type: $type) {
265
269
  operations(tag: $tag) {
@@ -285,7 +289,7 @@ const Rs = new J(
285
289
  }
286
290
  `), Ds = {
287
291
  "\n query ServersQuery($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n servers {\n url\n }\n }\n }\n": ks,
288
- "\n fragment OperationsFragment on OperationItem {\n slug\n summary\n method\n description\n operationId\n contentTypes\n path\n deprecated\n extensions\n parameters {\n name\n in\n description\n required\n schema\n style\n examples {\n name\n description\n externalValue\n value\n summary\n }\n }\n requestBody {\n content {\n mediaType\n encoding {\n name\n }\n examples {\n name\n description\n externalValue\n value\n summary\n }\n schema\n }\n description\n required\n }\n responses {\n statusCode\n links\n description\n content {\n examples {\n name\n description\n externalValue\n value\n summary\n }\n mediaType\n encoding {\n name\n }\n schema\n }\n }\n }\n": Rs,
292
+ "\n fragment OperationsFragment on OperationItem {\n slug\n summary\n method\n description\n operationId\n contentTypes\n path\n deprecated\n extensions\n parameters {\n name\n in\n description\n required\n schema\n style\n explode\n examples {\n name\n description\n externalValue\n value\n summary\n }\n }\n requestBody {\n content {\n mediaType\n encoding {\n name\n }\n examples {\n name\n description\n externalValue\n value\n summary\n }\n schema\n }\n description\n required\n }\n responses {\n statusCode\n links\n description\n content {\n examples {\n name\n description\n externalValue\n value\n summary\n }\n mediaType\n encoding {\n name\n }\n schema\n }\n }\n }\n": Rs,
289
293
  "\n query AllOperations(\n $input: JSON!\n $type: SchemaType!\n $tag: String\n $untagged: Boolean\n ) {\n schema(input: $input, type: $type) {\n servers {\n url\n }\n description\n summary\n title\n url\n version\n tags(name: $tag) {\n name\n description\n }\n operations(tag: $tag, untagged: $untagged) {\n slug\n ...OperationsFragment\n }\n }\n }\n": Os,
290
294
  "\n query getServerQuery($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n servers {\n url\n }\n }\n }\n": As,
291
295
  "\n query GetCategories($input: JSON!, $type: SchemaType!) {\n schema(input: $input, type: $type) {\n url\n tags {\n name\n }\n }\n }\n": Ls,
@@ -401,7 +405,7 @@ const ye = (t) => Math.abs(
401
405
  onClick: i
402
406
  }) => {
403
407
  const l = G(null), m = n == null ? void 0 : n.replace(/[{}]/g, ""), d = t.replace(/[{}]/g, ""), { text: c, background: g } = Fs(d), w = `hsl(${c} / 100%)`, v = `hsl(${g} / 10%)`, h = `hsl(${g} / 50%)`;
404
- return re(() => {
408
+ return oe(() => {
405
409
  if (!m || !l.current) return;
406
410
  const j = () => {
407
411
  document.querySelectorAll(`[${ve}="${m}"]`).forEach((f) => {
@@ -462,7 +466,7 @@ const ye = (t) => Math.abs(
462
466
  ...a,
463
467
  children: [
464
468
  n,
465
- /* @__PURE__ */ e.jsx(Q, { className: "ml-auto h-4 w-4" })
469
+ /* @__PURE__ */ e.jsx(W, { className: "ml-auto h-4 w-4" })
466
470
  ]
467
471
  }
468
472
  ));
@@ -523,7 +527,7 @@ const Gs = y.forwardRef(({ className: t, children: s, checked: n, ...a }, r) =>
523
527
  }
524
528
  ));
525
529
  Gs.displayName = b.CheckboxItem.displayName;
526
- const Js = y.forwardRef(({ className: t, children: s, ...n }, a) => /* @__PURE__ */ e.jsxs(
530
+ const _s = y.forwardRef(({ className: t, children: s, ...n }, a) => /* @__PURE__ */ e.jsxs(
527
531
  b.RadioItem,
528
532
  {
529
533
  ref: a,
@@ -538,7 +542,7 @@ const Js = y.forwardRef(({ className: t, children: s, ...n }, a) => /* @__PURE__
538
542
  ]
539
543
  }
540
544
  ));
541
- Js.displayName = b.RadioItem.displayName;
545
+ _s.displayName = b.RadioItem.displayName;
542
546
  const Pt = y.forwardRef(({ className: t, inset: s, ...n }, a) => /* @__PURE__ */ e.jsx(
543
547
  b.Label,
544
548
  {
@@ -561,7 +565,7 @@ const It = y.forwardRef(({ className: t, ...s }, n) => /* @__PURE__ */ e.jsx(
561
565
  }
562
566
  ));
563
567
  It.displayName = b.Separator.displayName;
564
- const Us = ({
568
+ const Js = ({
565
569
  examples: t,
566
570
  onSelect: s
567
571
  }) => /* @__PURE__ */ e.jsxs(Tt, { children: [
@@ -588,7 +592,7 @@ const Us = ({
588
592
  )) })
589
593
  ] }, n.mediaType);
590
594
  }) })
591
- ] }), X = y.forwardRef(({ className: t, ...s }, n) => /* @__PURE__ */ e.jsx(
595
+ ] }), K = y.forwardRef(({ className: t, ...s }, n) => /* @__PURE__ */ e.jsx(
592
596
  "div",
593
597
  {
594
598
  ref: n,
@@ -599,8 +603,8 @@ const Us = ({
599
603
  ...s
600
604
  }
601
605
  ));
602
- X.displayName = "Card";
603
- const _s = y.forwardRef(({ className: t, ...s }, n) => /* @__PURE__ */ e.jsx(
606
+ K.displayName = "Card";
607
+ const Us = y.forwardRef(({ className: t, ...s }, n) => /* @__PURE__ */ e.jsx(
604
608
  "div",
605
609
  {
606
610
  ref: n,
@@ -608,7 +612,7 @@ const _s = y.forwardRef(({ className: t, ...s }, n) => /* @__PURE__ */ e.jsx(
608
612
  ...s
609
613
  }
610
614
  ));
611
- _s.displayName = "CardHeader";
615
+ Us.displayName = "CardHeader";
612
616
  const Qs = y.forwardRef(({ className: t, ...s }, n) => /* @__PURE__ */ e.jsx(
613
617
  "h3",
614
618
  {
@@ -638,7 +642,7 @@ const Xs = y.forwardRef(({ className: t, ...s }, n) => /* @__PURE__ */ e.jsx(
638
642
  }
639
643
  ));
640
644
  Xs.displayName = "CardFooter";
641
- const me = y.forwardRef(({ className: t, ...s }, n) => /* @__PURE__ */ e.jsx(
645
+ const ue = y.forwardRef(({ className: t, ...s }, n) => /* @__PURE__ */ e.jsx(
642
646
  Te.Root,
643
647
  {
644
648
  ref: n,
@@ -657,9 +661,9 @@ const me = y.forwardRef(({ className: t, ...s }, n) => /* @__PURE__ */ e.jsx(
657
661
  )
658
662
  }
659
663
  ));
660
- me.displayName = Te.Root.displayName;
661
- const Ks = oe.Root, Rt = y.forwardRef(({ className: t, align: s = "center", sideOffset: n = 4, ...a }, r) => /* @__PURE__ */ e.jsx(oe.Portal, { children: /* @__PURE__ */ e.jsx(
662
- oe.Content,
664
+ ue.displayName = Te.Root.displayName;
665
+ const Ks = ie.Root, Rt = y.forwardRef(({ className: t, align: s = "center", sideOffset: n = 4, ...a }, r) => /* @__PURE__ */ e.jsx(ie.Portal, { children: /* @__PURE__ */ e.jsx(
666
+ ie.Content,
663
667
  {
664
668
  ref: r,
665
669
  align: s,
@@ -671,7 +675,7 @@ const Ks = oe.Root, Rt = y.forwardRef(({ className: t, align: s = "center", side
671
675
  ...a
672
676
  }
673
677
  ) }));
674
- Rt.displayName = oe.Content.displayName;
678
+ Rt.displayName = ie.Content.displayName;
675
679
  const Ys = ({
676
680
  value: t,
677
681
  options: s,
@@ -735,7 +739,7 @@ const Ys = ({
735
739
  }
736
740
  )
737
741
  ] });
738
- }, ie = ({ shouldFilter: t, ...s }) => /* @__PURE__ */ e.jsx(gs, { className: "bg-transparent", shouldFilter: t, children: /* @__PURE__ */ e.jsx(Ys, { ...s }) }), ze = (t, s) => {
742
+ }, le = ({ shouldFilter: t, ...s }) => /* @__PURE__ */ e.jsx(gs, { className: "bg-transparent", shouldFilter: t, children: /* @__PURE__ */ e.jsx(Ys, { ...s }) }), ze = (t, s) => {
739
743
  const n = y.forwardRef(({ className: a, asChild: r, ...i }, l) => {
740
744
  const m = r ? bs : t;
741
745
  return y.createElement(m, {
@@ -788,7 +792,7 @@ const Ys = ({
788
792
  }), { setValue: i, watch: l } = qe(), m = G([]), d = G([]), c = l("headers"), g = as(() => {
789
793
  a({ name: "", value: "", active: !1 });
790
794
  }, [a]);
791
- re(() => {
795
+ oe(() => {
792
796
  c.length === 0 && g();
793
797
  }, [c, g]);
794
798
  const w = (j) => {
@@ -801,7 +805,7 @@ const Ys = ({
801
805
  });
802
806
  }, h = s.filter((j) => !c.some((u) => u.name === j.name)).map(({ name: j }) => j);
803
807
  return /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-2", children: [
804
- /* @__PURE__ */ e.jsx(X, { className: "overflow-hidden", children: /* @__PURE__ */ e.jsx(He, { children: n.map((j, u) => {
808
+ /* @__PURE__ */ e.jsx(K, { className: "overflow-hidden", children: /* @__PURE__ */ e.jsx(He, { children: n.map((j, u) => {
805
809
  const x = s.find(
806
810
  (f) => f.name === l(`headers.${u}.name`)
807
811
  );
@@ -813,7 +817,7 @@ const Ys = ({
813
817
  control: t,
814
818
  name: `headers.${u}.active`,
815
819
  render: ({ field: f }) => /* @__PURE__ */ e.jsx(
816
- me,
820
+ ue,
817
821
  {
818
822
  id: `headers.${u}.active`,
819
823
  checked: f.value,
@@ -830,7 +834,7 @@ const Ys = ({
830
834
  control: t,
831
835
  name: `headers.${u}.name`,
832
836
  render: ({ field: f }) => /* @__PURE__ */ e.jsx(
833
- ie,
837
+ le,
834
838
  {
835
839
  ...f,
836
840
  placeholder: "Name",
@@ -855,7 +859,7 @@ const Ys = ({
855
859
  control: t,
856
860
  name: `headers.${u}.value`,
857
861
  render: ({ field: f }) => (x == null ? void 0 : x.enum) && x.enum.length > 0 ? /* @__PURE__ */ e.jsx(
858
- ie,
862
+ le,
859
863
  {
860
864
  shouldFilter: !1,
861
865
  value: f.value,
@@ -883,7 +887,7 @@ const Ys = ({
883
887
  }
884
888
  ),
885
889
  /* @__PURE__ */ e.jsx(
886
- W,
890
+ Z,
887
891
  {
888
892
  size: "icon",
889
893
  variant: "ghost",
@@ -897,7 +901,7 @@ const Ys = ({
897
901
  ] }, j.id);
898
902
  }) }) }),
899
903
  /* @__PURE__ */ e.jsx("div", { className: "text-end", children: /* @__PURE__ */ e.jsx(
900
- W,
904
+ Z,
901
905
  {
902
906
  className: "",
903
907
  onClick: g,
@@ -919,16 +923,16 @@ const Ys = ({
919
923
  ));
920
924
  M.displayName = bt.Root.displayName;
921
925
  const Be = y.forwardRef(({ className: t, ...s }, n) => /* @__PURE__ */ e.jsx(
922
- Z.Root,
926
+ X.Root,
923
927
  {
924
928
  className: p("grid gap-2", t),
925
929
  ...s,
926
930
  ref: n
927
931
  }
928
932
  ));
929
- Be.displayName = Z.Root.displayName;
930
- const le = y.forwardRef(({ className: t, ...s }, n) => /* @__PURE__ */ e.jsx(
931
- Z.Item,
933
+ Be.displayName = X.Root.displayName;
934
+ const de = y.forwardRef(({ className: t, ...s }, n) => /* @__PURE__ */ e.jsx(
935
+ X.Item,
932
936
  {
933
937
  ref: n,
934
938
  className: p(
@@ -936,15 +940,15 @@ const le = y.forwardRef(({ className: t, ...s }, n) => /* @__PURE__ */ e.jsx(
936
940
  t
937
941
  ),
938
942
  ...s,
939
- children: /* @__PURE__ */ e.jsx(Z.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ e.jsx(Jt, { className: "h-2.5 w-2.5 fill-current text-current" }) })
943
+ children: /* @__PURE__ */ e.jsx(X.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ e.jsx(_t, { className: "h-2.5 w-2.5 fill-current text-current" }) })
940
944
  }
941
945
  ));
942
- le.displayName = Z.Item.displayName;
946
+ de.displayName = X.Item.displayName;
943
947
  const kt = ({
944
948
  identities: t,
945
949
  setValue: s,
946
950
  value: n
947
- }) => /* @__PURE__ */ e.jsx(X, { className: "w-full overflow-hidden", children: /* @__PURE__ */ e.jsxs(
951
+ }) => /* @__PURE__ */ e.jsx(K, { className: "w-full overflow-hidden", children: /* @__PURE__ */ e.jsxs(
948
952
  Be,
949
953
  {
950
954
  onValueChange: (a) => s(a),
@@ -959,7 +963,7 @@ const kt = ({
959
963
  className: "h-12 border-b items-center flex p-4 cursor-pointer hover:bg-accent",
960
964
  htmlFor: "none",
961
965
  children: [
962
- /* @__PURE__ */ e.jsx(le, { value: B, id: "none", children: "None" }),
966
+ /* @__PURE__ */ e.jsx(de, { value: B, id: "none", children: "None" }),
963
967
  /* @__PURE__ */ e.jsx(M, { htmlFor: "none", className: "ml-2", children: "None" })
964
968
  ]
965
969
  }
@@ -969,7 +973,7 @@ const kt = ({
969
973
  {
970
974
  className: "h-12 border-b items-center flex p-4 cursor-pointer hover:bg-accent",
971
975
  children: [
972
- /* @__PURE__ */ e.jsx(le, { value: a.id, id: a.id, children: a.label }),
976
+ /* @__PURE__ */ e.jsx(de, { value: a.id, id: a.id, children: a.label }),
973
977
  /* @__PURE__ */ e.jsx(M, { htmlFor: a.id, className: "ml-2", children: a.label })
974
978
  ]
975
979
  },
@@ -998,7 +1002,7 @@ const kt = ({
998
1002
  /* @__PURE__ */ e.jsxs(ft, { className: "flex flex-col gap-2", children: [
999
1003
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2", children: [
1000
1004
  /* @__PURE__ */ e.jsx(
1001
- me,
1005
+ ue,
1002
1006
  {
1003
1007
  id: "remember",
1004
1008
  checked: l,
@@ -1028,7 +1032,7 @@ const kt = ({
1028
1032
  }), a = [...n].sort(
1029
1033
  (r, i) => s.indexOf(`{${r.name}}`) - s.indexOf(`{${i.name}}`)
1030
1034
  );
1031
- return /* @__PURE__ */ e.jsx(X, { className: "rounded-lg", children: /* @__PURE__ */ e.jsx(He, { children: a.map((r, i) => /* @__PURE__ */ e.jsxs(Me, { children: [
1035
+ return /* @__PURE__ */ e.jsx(K, { className: "rounded-lg", children: /* @__PURE__ */ e.jsx(He, { children: a.map((r, i) => /* @__PURE__ */ e.jsxs(Me, { children: [
1032
1036
  /* @__PURE__ */ e.jsx(
1033
1037
  A,
1034
1038
  {
@@ -1072,7 +1076,7 @@ const kt = ({
1072
1076
  control: t,
1073
1077
  name: "queryParams"
1074
1078
  }), a = qe(), r = s.map((i) => !!i.isRequired);
1075
- return /* @__PURE__ */ e.jsx(X, { className: "rounded-lg", children: /* @__PURE__ */ e.jsx("div", { className: "w-full ", children: /* @__PURE__ */ e.jsx(He, { children: n.map((i, l) => {
1079
+ return /* @__PURE__ */ e.jsx(K, { className: "rounded-lg", children: /* @__PURE__ */ e.jsx("div", { className: "w-full ", children: /* @__PURE__ */ e.jsx(He, { children: n.map((i, l) => {
1076
1080
  const m = s.find(
1077
1081
  (d) => d.name === a.watch(`queryParams.${l}.name`)
1078
1082
  );
@@ -1084,7 +1088,7 @@ const kt = ({
1084
1088
  control: t,
1085
1089
  name: `queryParams.${l}.active`,
1086
1090
  render: ({ field: d }) => /* @__PURE__ */ e.jsx(
1087
- me,
1091
+ ue,
1088
1092
  {
1089
1093
  id: `queryParams.${l}.active`,
1090
1094
  className: "mr-2",
@@ -1110,7 +1114,7 @@ const kt = ({
1110
1114
  ]
1111
1115
  }
1112
1116
  ) }) : /* @__PURE__ */ e.jsx(
1113
- ie,
1117
+ le,
1114
1118
  {
1115
1119
  value: d.value,
1116
1120
  options: s.map((c) => c.name),
@@ -1129,7 +1133,7 @@ const kt = ({
1129
1133
  {
1130
1134
  control: t,
1131
1135
  render: ({ field: d }) => (m == null ? void 0 : m.enum) && m.enum.length > 0 ? /* @__PURE__ */ e.jsx(
1132
- ie,
1136
+ le,
1133
1137
  {
1134
1138
  value: d.value,
1135
1139
  options: m.enum ?? [],
@@ -1216,7 +1220,7 @@ const kt = ({
1216
1220
  /* @__PURE__ */ e.jsxs("div", { className: "mx-1.5 flex flex-col gap-3", children: [
1217
1221
  /* @__PURE__ */ e.jsxs(rt, { defaultOpen: !0, children: [
1218
1222
  /* @__PURE__ */ e.jsxs(ot, { className: "flex items-center gap-2 hover:text-primary group", children: [
1219
- /* @__PURE__ */ e.jsx(Q, { className: "h-4 w-4 transition-transform duration-200 group-data-[state=open]:rotate-[90deg]" }),
1223
+ /* @__PURE__ */ e.jsx(W, { className: "h-4 w-4 transition-transform duration-200 group-data-[state=open]:rotate-[90deg]" }),
1220
1224
  /* @__PURE__ */ e.jsx("span", { className: "font-semibold", children: "Headers" })
1221
1225
  ] }),
1222
1226
  /* @__PURE__ */ e.jsx(it, { children: /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-[auto,1fr] gap-x-8 gap-y-1 pl-1.5 pt-2", children: n.map(([r, i]) => /* @__PURE__ */ e.jsxs(O, { children: [
@@ -1226,7 +1230,7 @@ const kt = ({
1226
1230
  ] }),
1227
1231
  /* @__PURE__ */ e.jsxs(rt, { defaultOpen: !0, children: [
1228
1232
  /* @__PURE__ */ e.jsxs(ot, { className: "flex items-center gap-2 hover:text-primary group", children: [
1229
- /* @__PURE__ */ e.jsx(Q, { className: "h-4 w-4 transition-transform duration-200 group-data-[state=open]:rotate-[90deg]" }),
1233
+ /* @__PURE__ */ e.jsx(W, { className: "h-4 w-4 transition-transform duration-200 group-data-[state=open]:rotate-[90deg]" }),
1230
1234
  /* @__PURE__ */ e.jsx("span", { className: "font-semibold", children: "Body" })
1231
1235
  ] }),
1232
1236
  /* @__PURE__ */ e.jsx(it, { children: /* @__PURE__ */ e.jsx("div", { className: "pl-0 pt-2", children: /* @__PURE__ */ e.jsx(
@@ -1335,7 +1339,7 @@ const xn = {
1335
1339
  return /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-2 h-full overflow-auto max-h-[calc(100vh-220px)] ", children: [
1336
1340
  /* @__PURE__ */ e.jsxs(dt, { defaultOpen: !0, children: [
1337
1341
  /* @__PURE__ */ e.jsxs(ct, { className: "flex items-center gap-2 hover:text-primary group", children: [
1338
- /* @__PURE__ */ e.jsx(Q, { className: "h-4 w-4 transition-transform duration-200 group-data-[state=open]:rotate-[90deg]" }),
1342
+ /* @__PURE__ */ e.jsx(W, { className: "h-4 w-4 transition-transform duration-200 group-data-[state=open]:rotate-[90deg]" }),
1339
1343
  /* @__PURE__ */ e.jsx("span", { className: "font-semibold", children: "Headers" })
1340
1344
  ] }),
1341
1345
  /* @__PURE__ */ e.jsx(mt, { children: /* @__PURE__ */ e.jsxs("div", { className: "grid grid-cols-[auto,1fr] gap-x-8 gap-y-1 pl-1.5 pt-2 font-mono text-xs", children: [
@@ -1345,7 +1349,7 @@ const xn = {
1345
1349
  ] }, u)),
1346
1350
  v.length > 5 && /* @__PURE__ */ e.jsxs(dt, { className: "col-span-full grid-cols-subgrid grid", children: [
1347
1351
  /* @__PURE__ */ e.jsxs(ct, { className: "col-span-2 text-xs text-muted-foreground hover:text-primary flex items-center gap-1 py-1", children: [
1348
- /* @__PURE__ */ e.jsx(Q, { className: "h-3 w-3 transition-transform duration-200 group-data-[state=open]:rotate-[90deg]" }),
1352
+ /* @__PURE__ */ e.jsx(W, { className: "h-3 w-3 transition-transform duration-200 group-data-[state=open]:rotate-[90deg]" }),
1349
1353
  "Show ",
1350
1354
  v.length - 5,
1351
1355
  " more headers"
@@ -1480,7 +1484,7 @@ const xn = {
1480
1484
  children: [
1481
1485
  "Looks like the request is taking longer than expected.",
1482
1486
  /* @__PURE__ */ e.jsx(
1483
- W,
1487
+ Z,
1484
1488
  {
1485
1489
  onClick: a,
1486
1490
  size: "sm",
@@ -1519,7 +1523,7 @@ const xn = {
1519
1523
  disabled: n,
1520
1524
  className: "rounded-l-none border-l border-border/40 inset-shadow-sm w-6",
1521
1525
  size: "icon",
1522
- children: /* @__PURE__ */ e.jsx(Ut, { className: "w-4 h-4" })
1526
+ children: /* @__PURE__ */ e.jsx(Jt, { className: "w-4 h-4" })
1523
1527
  }
1524
1528
  ) }),
1525
1529
  /* @__PURE__ */ e.jsx(Be, { value: r, children: /* @__PURE__ */ e.jsx(Ve, { className: "w-56", align: "end", alignOffset: -150, children: [{ id: B, label: "None" }, ...t].map(
@@ -1533,7 +1537,7 @@ const xn = {
1533
1537
  onMouseEnter: () => i(l.id),
1534
1538
  onMouseLeave: () => i(void 0),
1535
1539
  children: [
1536
- /* @__PURE__ */ e.jsx(le, { value: l.id, className: "mr-2" }),
1540
+ /* @__PURE__ */ e.jsx(de, { value: l.id, className: "mr-2" }),
1537
1541
  l.label
1538
1542
  ]
1539
1543
  },
@@ -1565,7 +1569,7 @@ const xn = {
1565
1569
  var Xe, Ke;
1566
1570
  const { selectedServer: v, setSelectedServer: h } = Yt(
1567
1571
  s.map((o) => ({ url: o }))
1568
- ), [j, u] = I(!1), x = es(), { setRememberedIdentity: f, getRememberedIdentity: $ } = ln(), [, T] = rs(), [K, Y] = I(!1), [ee, D] = I(!1), te = G(void 0), Je = cs(f), { register: Ue, control: se, handleSubmit: _e, watch: Qe, setValue: E, ...ue } = ls({
1572
+ ), [j, u] = I(!1), x = es(), { setRememberedIdentity: f, getRememberedIdentity: $ } = ln(), [, T] = rs(), [Y, ee] = I(!1), [te, D] = I(!1), se = G(void 0), _e = cs(f), { register: Je, control: ne, handleSubmit: Ue, watch: Qe, setValue: E, ...pe } = ls({
1569
1573
  defaultValues: {
1570
1574
  body: m,
1571
1575
  bodyContentType: "JSON",
@@ -1602,10 +1606,10 @@ const xn = {
1602
1606
  )
1603
1607
  }
1604
1608
  }), C = Qe(), We = G(null);
1605
- re(() => {
1606
- C.identity && Je.current(C.identity);
1607
- }, [Je, C.identity]);
1608
- const pe = is({
1609
+ oe(() => {
1610
+ C.identity && _e.current(C.identity);
1611
+ }, [_e, C.identity]);
1612
+ const he = is({
1609
1613
  mutationFn: async (o) => {
1610
1614
  var Ye, et;
1611
1615
  const S = performance.now(), k = !o.headers.some(
@@ -1626,10 +1630,10 @@ const xn = {
1626
1630
  () => D(!0),
1627
1631
  3210
1628
1632
  );
1629
- te.current = new AbortController();
1633
+ se.current = new AbortController();
1630
1634
  try {
1631
1635
  const N = await fetch(P, {
1632
- signal: te.current.signal
1636
+ signal: se.current.signal
1633
1637
  });
1634
1638
  clearTimeout(F), D(!1);
1635
1639
  const Dt = performance.now() - S, tt = await N.text(), Et = new URL(P.url);
@@ -1657,9 +1661,9 @@ const xn = {
1657
1661
  }
1658
1662
  }
1659
1663
  });
1660
- re(() => () => {
1664
+ oe(() => () => {
1661
1665
  var o;
1662
- (o = te.current) == null || o.abort();
1666
+ (o = se.current) == null || o.abort();
1663
1667
  }, []);
1664
1668
  const At = /* @__PURE__ */ e.jsx(
1665
1669
  Vs,
@@ -1676,7 +1680,7 @@ const xn = {
1676
1680
  name: o,
1677
1681
  backgroundOpacity: "0",
1678
1682
  slug: o,
1679
- onClick: () => ue.setFocus(`pathParams.${k}.value`),
1683
+ onClick: () => pe.setFocus(`pathParams.${k}.value`),
1680
1684
  children: V || S
1681
1685
  }
1682
1686
  );
@@ -1701,24 +1705,24 @@ const xn = {
1701
1705
  /* @__PURE__ */ e.jsx(Se, { children: s.map((o) => /* @__PURE__ */ e.jsx(U, { value: o, children: o.replace(/^https?:\/\//, "").replace(/\/$/, "") }, o)) })
1702
1706
  ]
1703
1707
  }
1704
- ) }), qt = c && !K, ne = ["POST", "PUT", "PATCH", "DELETE"].includes(
1708
+ ) }), qt = c && !Y, ae = ["POST", "PUT", "PATCH", "DELETE"].includes(
1705
1709
  a.toUpperCase()
1706
1710
  );
1707
1711
  return /* @__PURE__ */ e.jsx(
1708
1712
  ds,
1709
1713
  {
1710
- register: Ue,
1711
- control: se,
1712
- handleSubmit: _e,
1714
+ register: Je,
1715
+ control: ne,
1716
+ handleSubmit: Ue,
1713
1717
  watch: Qe,
1714
1718
  setValue: E,
1715
- ...ue,
1719
+ ...pe,
1716
1720
  children: /* @__PURE__ */ e.jsxs(
1717
1721
  "form",
1718
1722
  {
1719
- onSubmit: _e((o) => {
1723
+ onSubmit: Ue((o) => {
1720
1724
  var S;
1721
- ((S = x.data) == null ? void 0 : S.length) === 0 || o.identity ? pe.mutate(o) : u(!0);
1725
+ ((S = x.data) == null ? void 0 : S.length) === 0 || o.identity ? he.mutate(o) : u(!0);
1722
1726
  }),
1723
1727
  ref: We,
1724
1728
  className: "relative",
@@ -1730,7 +1734,7 @@ const xn = {
1730
1734
  open: j,
1731
1735
  onOpenChange: u,
1732
1736
  onSubmit: ({ rememberedIdentity: o, identity: S }) => {
1733
- o && E("identity", S ?? B), u(!1), pe.mutate({ ...C, identity: S });
1737
+ o && E("identity", S ?? B), u(!1), he.mutate({ ...C, identity: S });
1734
1738
  }
1735
1739
  }
1736
1740
  ),
@@ -1738,7 +1742,7 @@ const xn = {
1738
1742
  dn,
1739
1743
  {
1740
1744
  open: qt,
1741
- setOpen: (o) => Y(!o),
1745
+ setOpen: (o) => ee(!o),
1742
1746
  onSignUp: w,
1743
1747
  onLogin: g
1744
1748
  }
@@ -1760,7 +1764,7 @@ const xn = {
1760
1764
  {
1761
1765
  identities: x.data ?? [],
1762
1766
  formRef: We,
1763
- disabled: x.isLoading || ue.formState.isSubmitting
1767
+ disabled: x.isLoading || pe.formState.isSubmitting
1764
1768
  }
1765
1769
  )
1766
1770
  ] }),
@@ -1783,15 +1787,15 @@ const xn = {
1783
1787
  C.body && /* @__PURE__ */ e.jsx("div", { className: "w-2 h-2 rounded-full bg-blue-400 ml-2" })
1784
1788
  ] })
1785
1789
  ] }) }),
1786
- /* @__PURE__ */ e.jsx(H, { value: "headers", children: /* @__PURE__ */ e.jsx(tn, { control: se, headers: r }) }),
1790
+ /* @__PURE__ */ e.jsx(H, { value: "headers", children: /* @__PURE__ */ e.jsx(tn, { control: ne, headers: r }) }),
1787
1791
  /* @__PURE__ */ e.jsxs(H, { value: "parameters", children: [
1788
1792
  l.length > 0 && /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-4 my-4", children: [
1789
1793
  /* @__PURE__ */ e.jsx("span", { className: "font-semibold", children: "Path Parameters" }),
1790
- /* @__PURE__ */ e.jsx(an, { url: n, control: se })
1794
+ /* @__PURE__ */ e.jsx(an, { url: n, control: ne })
1791
1795
  ] }),
1792
1796
  /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-4 my-4", children: [
1793
1797
  /* @__PURE__ */ e.jsx("span", { className: "font-semibold", children: "Query Parameters" }),
1794
- /* @__PURE__ */ e.jsx(on, { control: se, queryParams: i })
1798
+ /* @__PURE__ */ e.jsx(on, { control: ne, queryParams: i })
1795
1799
  ] })
1796
1800
  ] }),
1797
1801
  /* @__PURE__ */ e.jsxs(H, { value: "body", children: [
@@ -1805,16 +1809,16 @@ const xn = {
1805
1809
  /* @__PURE__ */ e.jsx(
1806
1810
  Ct,
1807
1811
  {
1808
- ...Ue("body"),
1812
+ ...Je("body"),
1809
1813
  className: p(
1810
1814
  "border w-full rounded-lg bg-muted/40 p-2 h-64 font-mono text-[13px]",
1811
- !ne && "h-20 bg-muted"
1815
+ !ae && "h-20 bg-muted"
1812
1816
  ),
1813
- placeholder: ne ? void 0 : "This request does not support a body",
1814
- disabled: !ne
1817
+ placeholder: ae ? void 0 : "This request does not support a body",
1818
+ disabled: !ae
1815
1819
  }
1816
1820
  ),
1817
- ne && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 mt-2 justify-between", children: [
1821
+ ae && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 mt-2 justify-between", children: [
1818
1822
  /* @__PURE__ */ e.jsxs(
1819
1823
  Ne,
1820
1824
  {
@@ -1830,7 +1834,7 @@ const xn = {
1830
1834
  }
1831
1835
  ),
1832
1836
  d && d.length > 0 && /* @__PURE__ */ e.jsx(
1833
- Us,
1837
+ Js,
1834
1838
  {
1835
1839
  examples: d,
1836
1840
  onSelect: (o, S) => {
@@ -1868,14 +1872,14 @@ const xn = {
1868
1872
  /* @__PURE__ */ e.jsx(
1869
1873
  bn,
1870
1874
  {
1871
- queryMutation: pe,
1875
+ queryMutation: he,
1872
1876
  showPathParamsWarning: C.pathParams.some(
1873
1877
  (o) => o.value === ""
1874
1878
  ),
1875
- showLongRunningWarning: ee,
1879
+ showLongRunningWarning: te,
1876
1880
  onCancel: () => {
1877
1881
  var o;
1878
- (o = te.current) == null || o.abort(
1882
+ (o = se.current) == null || o.abort(
1879
1883
  "Request cancelled by the user"
1880
1884
  ), D(!1);
1881
1885
  }
@@ -1973,7 +1977,7 @@ const xn = {
1973
1977
  }), xt = (t) => ({
1974
1978
  path: t.routePath,
1975
1979
  async lazy() {
1976
- const { OasProvider: s } = await import("./OasProvider-BbSqUQka.js");
1980
+ const { OasProvider: s } = await import("./OasProvider-CwhKwrwl.js");
1977
1981
  return {
1978
1982
  element: /* @__PURE__ */ e.jsx(
1979
1983
  s,
@@ -1994,13 +1998,13 @@ const xn = {
1994
1998
  }) => ({
1995
1999
  path: t,
1996
2000
  async lazy() {
1997
- const { OperationList: a } = await import("./OperationList-CENzwqY8.js");
2001
+ const { OperationList: a } = await import("./OperationList-DGYoFitT.js");
1998
2002
  return { element: /* @__PURE__ */ e.jsx(a, { tag: s, untagged: n }) };
1999
2003
  }
2000
2004
  }), $n = (t, s) => {
2001
2005
  const n = q(
2002
2006
  t,
2003
- s[0] ? ae(s[0]) : _
2007
+ s[0] ? re(s[0]) : Q
2004
2008
  );
2005
2009
  return [
2006
2010
  // Redirect to first tag on the index route
@@ -2008,13 +2012,13 @@ const xn = {
2008
2012
  // Create routes for each tag
2009
2013
  ...s.map(
2010
2014
  (a) => Re({
2011
- path: q(t, ae(a)),
2015
+ path: q(t, re(a)),
2012
2016
  tag: a
2013
2017
  })
2014
2018
  ),
2015
2019
  // Category without tagged operations
2016
2020
  Re({
2017
- path: q(t, _),
2021
+ path: q(t, Q),
2018
2022
  untagged: !0
2019
2023
  })
2020
2024
  ];
@@ -2079,7 +2083,7 @@ const xn = {
2079
2083
  }
2080
2084
  }
2081
2085
  }
2082
- `), _ = "~endpoints", ia = (t) => {
2086
+ `), Q = "~endpoints", ia = (t) => {
2083
2087
  const s = q(t.navigationId ?? "/reference"), n = new Is(t);
2084
2088
  return {
2085
2089
  getHead: () => {
@@ -2109,14 +2113,14 @@ const xn = {
2109
2113
  if (!r)
2110
2114
  throw new Error("Server is required");
2111
2115
  return a && !c.isAuthenticated ? /* @__PURE__ */ e.jsxs(
2112
- W,
2116
+ Z,
2113
2117
  {
2114
2118
  className: "gap-2 items-center",
2115
2119
  variant: "outline",
2116
2120
  onClick: c.login,
2117
2121
  children: [
2118
2122
  "Login to open in Playground ",
2119
- /* @__PURE__ */ e.jsx(_t, { size: 16 })
2123
+ /* @__PURE__ */ e.jsx(Ut, { size: 16 })
2120
2124
  ]
2121
2125
  }
2122
2126
  ) : /* @__PURE__ */ e.jsx(
@@ -2126,7 +2130,7 @@ const xn = {
2126
2130
  method: i ?? "get",
2127
2131
  server: r,
2128
2132
  ...d,
2129
- children: /* @__PURE__ */ e.jsx(W, { className: "gap-2 items-center", variant: "outline", children: m ?? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2133
+ children: /* @__PURE__ */ e.jsx(Z, { className: "gap-2 items-center", variant: "outline", children: m ?? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2130
2134
  "Open in Playground ",
2131
2135
  /* @__PURE__ */ e.jsx(Qt, { size: 16 })
2132
2136
  ] }) })
@@ -2144,7 +2148,7 @@ const xn = {
2144
2148
  );
2145
2149
  try {
2146
2150
  const l = r == null ? void 0 : r.params.version, m = l ?? Ot(t).at(0), { type: d, options: c } = t, g = d === "file" ? t.input[m] : t.input, w = (c == null ? void 0 : c.loadTags) === !0 || t.type === "url", v = !(c != null && c.loadTags) && t.type !== "url", h = (i = t.tagPages) == null ? void 0 : i.find(
2147
- (f) => ae(f) === (r == null ? void 0 : r.params.tag)
2151
+ (f) => re(f) === (r == null ? void 0 : r.params.tag)
2148
2152
  ), [j, u] = await Promise.all([
2149
2153
  n.fetch(In, { type: d, input: g }),
2150
2154
  n.fetch(Rn, {
@@ -2156,17 +2160,17 @@ const xn = {
2156
2160
  const $ = q(
2157
2161
  s,
2158
2162
  l,
2159
- ae(f.name)
2163
+ re(f.name)
2160
2164
  ), T = u.schema.operations.filter(
2161
- (K) => {
2162
- var Y, ee;
2163
- return ((Y = K.tags) == null ? void 0 : Y.length) !== 0 && ((ee = K.tags) == null ? void 0 : ee.map((D) => D.name).includes(f.name));
2165
+ (Y) => {
2166
+ var ee, te;
2167
+ return ((ee = Y.tags) == null ? void 0 : ee.length) !== 0 && ((te = Y.tags) == null ? void 0 : te.map((D) => D.name).includes(f.name));
2164
2168
  }
2165
2169
  );
2166
2170
  return c != null && c.loadTags && T.length === 0 ? [] : ht({
2167
2171
  label: f.name,
2168
2172
  path: $,
2169
- operations: (r == null ? void 0 : r.params.tag) !== _ || c != null && c.loadTags ? T : [],
2173
+ operations: (r == null ? void 0 : r.params.tag) !== Q || c != null && c.loadTags ? T : [],
2170
2174
  collapsible: w,
2171
2175
  collapsed: v
2172
2176
  });
@@ -2174,8 +2178,8 @@ const xn = {
2174
2178
  return u.schema.untagged.length > 0 && x.push(
2175
2179
  ht({
2176
2180
  label: "Other endpoints",
2177
- path: q(s, l, _),
2178
- operations: (r == null ? void 0 : r.params.tag) === _ || c != null && c.loadTags ? u.schema.untagged : [],
2181
+ path: q(s, l, Q),
2182
+ operations: (r == null ? void 0 : r.params.tag) === Q || c != null && c.loadTags ? u.schema.untagged : [],
2179
2183
  collapsible: w,
2180
2184
  collapsed: v
2181
2185
  })
@@ -2190,7 +2194,7 @@ const xn = {
2190
2194
  export {
2191
2195
  St as C,
2192
2196
  Sn as P,
2193
- _ as U,
2197
+ Q as U,
2194
2198
  wt as a,
2195
2199
  dt as b,
2196
2200
  mt as c,
@@ -2200,4 +2204,4 @@ export {
2200
2204
  mn as m,
2201
2205
  ia as o
2202
2206
  };
2203
- //# sourceMappingURL=index-BVhQWA89.js.map
2207
+ //# sourceMappingURL=index-Dm1QJHVl.js.map