@scalar/api-client 1.2.19 → 1.2.21

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.
package/dist/index.js CHANGED
@@ -25,7 +25,7 @@ const purpleTheme = "/* basic theme */\n.light-mode {\n --scalar-background-1:
25
25
  const saturnTheme = "/* basic theme */\n.light-mode {\n --scalar-background-1: #f3f3ee;\n --scalar-background-2: #e8e8e3;\n --scalar-background-3: #e4e4df;\n --scalar-border-color: rgba(215, 215, 206, 0.5);\n\n --scalar-color-1: #2a2f45;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: #1763a6;\n --scalar-background-accent: #1f648e1f;\n\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n --scalar-code-languages-background-supersede: var(--scalar-background-2);\n}\n.dark-mode {\n --scalar-background-1: #09090b;\n --scalar-background-2: #18181b;\n --scalar-background-3: #2c2c30;\n --scalar-border-color: rgba(255, 255, 255, 0.12);\n\n --scalar-color-1: #fafafa;\n --scalar-color-2: rgb(161, 161, 170);\n --scalar-color-3: rgba(255, 255, 255, 0.533);\n\n --scalar-color-accent: #4eb3ec;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n --scalar-code-languages-background-supersede: var(--scalar-background-2);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-1);\n\n --scalar-sidebar-search-background: var(--scalar-background-1);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n\n/* advanced */\n.light-mode {\n --scalar-color-green: #17803d;\n --scalar-color-red: #e10909;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #1763a6;\n --scalar-color-orange: #e25b09;\n --scalar-color-purple: #5c3993;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #30a159;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #eec644;\n --scalar-color-blue: #2b7abf;\n --scalar-color-orange: #f07528;\n --scalar-color-purple: #7a59b1;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header,\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(\n to right bottom,\n rgb(255, 255, 255) 30%,\n rgba(255, 255, 255, 0.38)\n );\n -webkit-background-clip: text;\n background-clip: text;\n}\n";
26
26
  const solarizedTheme = ".light-mode {\n color-scheme: light;\n --scalar-color-1: #584c27;\n --scalar-color-2: #616161;\n --scalar-color-3: #a89f84;\n --scalar-color-accent: #b58900;\n --scalar-background-1: #fdf6e3;\n --scalar-background-2: #eee8d5;\n --scalar-background-3: #ddd6c1;\n --scalar-background-accent: #b589001f;\n\n --scalar-border-color: #ded8c8;\n --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --scalar-lifted-brightness: 1;\n --scalar-backdrop-brightness: 1;\n\n --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px,\n rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;\n\n --scalar-button-1: rgb(49 53 56);\n --scalar-button-1-color: #fff;\n --scalar-button-1-hover: rgb(28 31 33);\n\n --scalar-color-red: #b91c1c;\n --scalar-color-orange: #a16207;\n --scalar-color-green: #047857;\n --scalar-color-blue: #1d4ed8;\n --scalar-color-orange: #c2410c;\n --scalar-color-purple: #6d28d9;\n}\n\n.dark-mode {\n color-scheme: dark;\n --scalar-color-1: #fff;\n --scalar-color-2: #cccccc;\n --scalar-color-3: #6d8890;\n --scalar-color-accent: #007acc;\n --scalar-background-1: #00212b;\n --scalar-background-2: #012b36;\n --scalar-background-3: #004052;\n --scalar-background-accent: #015a6f;\n\n --scalar-border-color: rgba(255, 255, 255, 0.1);\n --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n --scalar-lifted-brightness: 1.45;\n --scalar-backdrop-brightness: 0.5;\n\n --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);\n --scalar-shadow-2: rgba(15, 15, 15, 0.2) 0px 3px 6px,\n rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n --scalar-button-1: #f6f6f6;\n --scalar-button-1-color: #000;\n --scalar-button-1-hover: #e7e7e7;\n\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: var(--scalar-background-2);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n\n.dark-mode .sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-sidebar-color-1);\n --scalar-sidebar-search-background: var(--scalar-background-2);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n";
27
27
  const fonts = "\n@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900');\n@import url('https://fonts.googleapis.com/css?family=JetBrains%20Mono');\n/* Inter (--scalar-font) */\n/* JetBrains Mono (--scalar-font-code) */\n";
28
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
28
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
29
29
  __name: "DefaultFonts",
30
30
  setup(__props) {
31
31
  return (_ctx, _cache) => {
@@ -33,7 +33,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
33
33
  };
34
34
  }
35
35
  });
36
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
36
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
37
37
  __name: "ThemeStyles",
38
38
  props: {
39
39
  id: {},
@@ -42,7 +42,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
42
42
  setup(__props) {
43
43
  return (_ctx, _cache) => {
44
44
  return openBlock(), createElementBlock(Fragment, null, [
45
- _ctx.withDefaultFonts ? (openBlock(), createBlock(_sfc_main$F, { key: 0 })) : createCommentVNode("", true),
45
+ _ctx.withDefaultFonts ? (openBlock(), createBlock(_sfc_main$G, { key: 0 })) : createCommentVNode("", true),
46
46
  _ctx.id !== "none" ? (openBlock(), createBlock(resolveDynamicComponent("style"), { key: 1 }, {
47
47
  default: withCtx(() => [
48
48
  createTextVNode(toDisplayString(unref(getThemeById)(_ctx.id, { layer: "scalar-theme" })), 1)
@@ -61,7 +61,7 @@ function useApplyClasses(selector, classes) {
61
61
  el == null ? void 0 : el.classList.add(classes);
62
62
  });
63
63
  }
64
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
64
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
65
65
  __name: "ResetStyles",
66
66
  setup(__props) {
67
67
  const { reset: reset2 } = useCssModule();
@@ -85,7 +85,7 @@ const _export_sfc = (sfc, props) => {
85
85
  const cssModules = {
86
86
  "$style": style0
87
87
  };
88
- const ResetStyles = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__cssModules", cssModules]]);
88
+ const ResetStyles = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__cssModules", cssModules]]);
89
89
  const presets = {
90
90
  alternate: alternateTheme,
91
91
  default: defaultTheme,
@@ -2881,7 +2881,7 @@ const httpStatusCodes = {
2881
2881
  url: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/511"
2882
2882
  }
2883
2883
  };
2884
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
2884
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
2885
2885
  __name: "HttpMethod",
2886
2886
  props: {
2887
2887
  as: {},
@@ -25798,7 +25798,7 @@ function getCodeMirrorExtensions({
25798
25798
  }
25799
25799
  return extensions;
25800
25800
  }
25801
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
25801
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
25802
25802
  __name: "CodeMirror",
25803
25803
  props: {
25804
25804
  content: {},
@@ -25835,9 +25835,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
25835
25835
  };
25836
25836
  }
25837
25837
  });
25838
- const CodeMirror = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-c045d592"]]);
25839
- const _hoisted_1$w = { class: "scalar-modal-layout modal-layout" };
25840
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
25838
+ const CodeMirror = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-c045d592"]]);
25839
+ const _hoisted_1$x = { class: "scalar-modal-layout modal-layout" };
25840
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
25841
25841
  __name: "FlowModal",
25842
25842
  props: {
25843
25843
  state: {},
@@ -25853,7 +25853,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
25853
25853
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.state.hide())
25854
25854
  }, {
25855
25855
  default: withCtx(() => [
25856
- createElementVNode("div", _hoisted_1$w, [
25856
+ createElementVNode("div", _hoisted_1$x, [
25857
25857
  createVNode(unref(DialogPanel), {
25858
25858
  class: normalizeClass(["modal", {
25859
25859
  "modal-content-large": _ctx.variant === "large",
@@ -25892,7 +25892,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
25892
25892
  };
25893
25893
  }
25894
25894
  });
25895
- const FlowModal = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-4aafbf68"]]);
25895
+ const FlowModal = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-4aafbf68"]]);
25896
25896
  const useModal = () => reactive({
25897
25897
  open: false,
25898
25898
  show() {
@@ -26267,10 +26267,10 @@ async function sendRequest(request, proxyUrl) {
26267
26267
  responseId: nanoid()
26268
26268
  };
26269
26269
  }
26270
- const _hoisted_1$v = { class: "navtable-item-40 navtable-item-request" };
26271
- const _hoisted_2$m = { class: "navtable-item-40 navtable-item-response" };
26270
+ const _hoisted_1$w = { class: "navtable-item-40 navtable-item-request" };
26271
+ const _hoisted_2$n = { class: "navtable-item-40 navtable-item-response" };
26272
26272
  const _hoisted_3$g = { class: "navtable-item-20 navtable-item-time" };
26273
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
26273
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
26274
26274
  __name: "RequestHistoryItem",
26275
26275
  props: {
26276
26276
  history: {}
@@ -26291,7 +26291,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
26291
26291
  class: normalizeClass(["navtable-item", { "navtable-item__active": unref(activeRequestId2) === _ctx.history }]),
26292
26292
  onClick: _cache[0] || (_cache[0] = ($event) => unref(setActiveResponse2)(_ctx.history))
26293
26293
  }, [
26294
- createElementVNode("div", _hoisted_1$v, [
26294
+ createElementVNode("div", _hoisted_1$w, [
26295
26295
  createElementVNode("button", {
26296
26296
  class: normalizeClass(["radio", unref(requestHistory2)[_ctx.history].request.type.toLowerCase()]),
26297
26297
  type: "button"
@@ -26301,7 +26301,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
26301
26301
  createTextVNode(" " + toDisplayString(unref(requestHistory2)[_ctx.history].request.url), 1)
26302
26302
  ])
26303
26303
  ]),
26304
- createElementVNode("div", _hoisted_2$m, [
26304
+ createElementVNode("div", _hoisted_2$n, [
26305
26305
  createElementVNode("span", null, toDisplayString(unref(prettyMilliseconds)(unref(requestHistory2)[_ctx.history].response.duration)), 1),
26306
26306
  createElementVNode("span", {
26307
26307
  class: normalizeClass(`scalar-api-client__status--${String(
@@ -26317,21 +26317,21 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
26317
26317
  };
26318
26318
  }
26319
26319
  });
26320
- const RequestHistoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-353c6d86"]]);
26321
- const _hoisted_1$u = { class: "navigation-content-item" };
26322
- const _hoisted_2$l = { class: "navtable" };
26320
+ const RequestHistoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-353c6d86"]]);
26321
+ const _hoisted_1$v = { class: "navigation-content-item" };
26322
+ const _hoisted_2$m = { class: "navtable" };
26323
26323
  const _hoisted_3$f = { class: "navtable-table" };
26324
26324
  const _hoisted_4$b = /* @__PURE__ */ createStaticVNode('<div class="navtable-item navtable-item__top"><div class="navtable-item-40"><label for="">Request</label></div><div class="navtable-item-40"><label for="">Response</label></div><div class="navtable-item-20"><label for="">TIME</label></div></div>', 1);
26325
26325
  const _hoisted_5$6 = { class: "navtable-radios" };
26326
26326
  const _hoisted_6$3 = /* @__PURE__ */ createStaticVNode('<div class="navtable-mock"><div class="navtable-item"><div class="navtable-item-40"></div><div class="navtable-item-40"></div><div class="navtable-item-20"></div></div></div>', 1);
26327
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
26327
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
26328
26328
  __name: "RequestHistory",
26329
26329
  emits: ["toggle"],
26330
26330
  setup(__props) {
26331
26331
  const { requestHistoryOrder: requestHistoryOrder2 } = useRequestStore();
26332
26332
  return (_ctx, _cache) => {
26333
- return openBlock(), createElementBlock("div", _hoisted_1$u, [
26334
- createElementVNode("div", _hoisted_2$l, [
26333
+ return openBlock(), createElementBlock("div", _hoisted_1$v, [
26334
+ createElementVNode("div", _hoisted_2$m, [
26335
26335
  createElementVNode("div", _hoisted_3$f, [
26336
26336
  _hoisted_4$b,
26337
26337
  createElementVNode("div", _hoisted_5$6, [
@@ -26349,10 +26349,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
26349
26349
  };
26350
26350
  }
26351
26351
  });
26352
- const _hoisted_1$t = { class: "request-method-select" };
26353
- const _hoisted_2$k = ["disabled", "value"];
26352
+ const _hoisted_1$u = { class: "request-method-select" };
26353
+ const _hoisted_2$l = ["disabled", "value"];
26354
26354
  const _hoisted_3$e = ["value"];
26355
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
26355
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
26356
26356
  __name: "RequestMethodSelect",
26357
26357
  props: {
26358
26358
  requestMethod: {},
@@ -26372,13 +26372,10 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
26372
26372
  // 'TRACE',
26373
26373
  ];
26374
26374
  return (_ctx, _cache) => {
26375
- return openBlock(), createElementBlock("div", _hoisted_1$t, [
26375
+ return openBlock(), createElementBlock("div", _hoisted_1$u, [
26376
26376
  createElementVNode("span", {
26377
26377
  class: normalizeClass(["request-method", { "request-method--disabled": _ctx.readOnly }])
26378
26378
  }, [
26379
- createElementVNode("i", {
26380
- class: normalizeClass(_ctx.requestMethod.toLowerCase())
26381
- }, null, 2),
26382
26379
  createElementVNode("span", null, toDisplayString(_ctx.requestMethod), 1)
26383
26380
  ], 2),
26384
26381
  createElementVNode("select", {
@@ -26392,24 +26389,27 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
26392
26389
  value: validRequestMethod.toLocaleLowerCase()
26393
26390
  }, toDisplayString(validRequestMethod), 9, _hoisted_3$e);
26394
26391
  }), 64))
26395
- ], 40, _hoisted_2$k)
26392
+ ], 40, _hoisted_2$l)
26396
26393
  ]);
26397
26394
  };
26398
26395
  }
26399
26396
  });
26400
- const RequestMethodSelect = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-2b029b46"]]);
26401
- const _withScopeId$5 = (n) => (pushScopeId("data-v-2d90bbed"), n = n(), popScopeId(), n);
26402
- const _hoisted_1$s = {
26397
+ const RequestMethodSelect = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-0f1e5bdc"]]);
26398
+ const _withScopeId$5 = (n) => (pushScopeId("data-v-ccf97327"), n = n(), popScopeId(), n);
26399
+ const _hoisted_1$t = {
26403
26400
  key: 0,
26404
26401
  class: "loader"
26405
26402
  };
26406
- const _hoisted_2$j = { class: "url-form" };
26403
+ const _hoisted_2$k = { class: "url-form" };
26407
26404
  const _hoisted_3$d = { class: "url-form-field" };
26408
- const _hoisted_4$a = {
26405
+ const _hoisted_4$a = { class: "url-form-input-wrapper cm-scroller" };
26406
+ const _hoisted_5$5 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", { class: "url-form-input-fade__left" }, null, -1));
26407
+ const _hoisted_6$2 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", { class: "url-form-input-fade__right" }, null, -1));
26408
+ const _hoisted_7$2 = {
26409
26409
  key: 0,
26410
26410
  class: "history"
26411
26411
  };
26412
- const _hoisted_5$5 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("svg", {
26412
+ const _hoisted_8$2 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("svg", {
26413
26413
  fill: "none",
26414
26414
  height: "48",
26415
26415
  viewBox: "0 0 14 14",
@@ -26433,11 +26433,11 @@ const _hoisted_5$5 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ create
26433
26433
  })
26434
26434
  ])
26435
26435
  ], -1));
26436
- const _hoisted_6$2 = [
26437
- _hoisted_5$5
26436
+ const _hoisted_9$1 = [
26437
+ _hoisted_8$2
26438
26438
  ];
26439
- const _hoisted_7$1 = ["disabled"];
26440
- const _hoisted_8$1 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("svg", {
26439
+ const _hoisted_10$1 = ["disabled"];
26440
+ const _hoisted_11 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("svg", {
26441
26441
  fill: "none",
26442
26442
  height: "48",
26443
26443
  viewBox: "0 0 14 14",
@@ -26454,13 +26454,13 @@ const _hoisted_8$1 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ create
26454
26454
  })
26455
26455
  ])
26456
26456
  ], -1));
26457
- const _hoisted_9$1 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("span", null, "Send", -1));
26458
- const _hoisted_10 = [
26459
- _hoisted_8$1,
26460
- _hoisted_9$1
26457
+ const _hoisted_12 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("span", null, "Send", -1));
26458
+ const _hoisted_13 = [
26459
+ _hoisted_11,
26460
+ _hoisted_12
26461
26461
  ];
26462
- const _hoisted_11 = { class: "address-bar-content" };
26463
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
26462
+ const _hoisted_14 = { class: "address-bar-content" };
26463
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
26464
26464
  __name: "AddressBar",
26465
26465
  props: {
26466
26466
  proxyUrl: {}
@@ -26500,10 +26500,6 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
26500
26500
  }
26501
26501
  loading.value = false;
26502
26502
  }
26503
- computed(() => {
26504
- const lastRequestKey = requestHistoryOrder2.value[0];
26505
- return requestHistory2[lastRequestKey] ? humanDiff(requestHistory2[lastRequestKey].sentTime) : "History";
26506
- });
26507
26503
  const onChange = (value) => {
26508
26504
  if (readOnly2.value) {
26509
26505
  return;
@@ -26523,52 +26519,56 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
26523
26519
  };
26524
26520
  return (_ctx, _cache) => {
26525
26521
  return openBlock(), createElementBlock(Fragment, null, [
26526
- loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$s)) : createCommentVNode("", true),
26522
+ loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$t)) : createCommentVNode("", true),
26527
26523
  createElementVNode("div", {
26528
26524
  class: normalizeClass(["address-bar", { "address-bar--with-history": showHistory.value }])
26529
26525
  }, [
26530
- createElementVNode("div", _hoisted_2$j, [
26526
+ createElementVNode("div", _hoisted_2$k, [
26531
26527
  createElementVNode("div", _hoisted_3$d, [
26532
26528
  createVNode(RequestMethodSelect, {
26533
26529
  readOnly: unref(readOnly2),
26534
26530
  requestMethod: requestType.value,
26535
26531
  onChange: handleRequestMethodChanged
26536
26532
  }, null, 8, ["readOnly", "requestMethod"]),
26537
- createVNode(unref(CodeMirror), {
26538
- class: "url-form-input",
26539
- content: formattedUrl.value,
26540
- disableEnter: "",
26541
- readOnly: unref(readOnly2),
26542
- withoutTheme: "",
26543
- withVariables: "",
26544
- onChange
26545
- }, null, 8, ["content", "readOnly"])
26546
- ]),
26547
- unref(requestHistoryOrder2).length ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
26548
- createElementVNode("div", {
26549
- class: "history-toggle",
26550
- onClick: _cache[0] || (_cache[0] = ($event) => unref(historyModal).show())
26551
- }, _hoisted_6$2)
26552
- ])) : createCommentVNode("", true),
26553
- createElementVNode("button", {
26554
- class: "send-button",
26555
- disabled: !formattedUrl.value.trim().length,
26556
- type: "submit",
26557
- onClick: send
26558
- }, _hoisted_10, 8, _hoisted_7$1)
26533
+ createElementVNode("div", _hoisted_4$a, [
26534
+ _hoisted_5$5,
26535
+ createVNode(unref(CodeMirror), {
26536
+ class: "url-form-input",
26537
+ content: formattedUrl.value,
26538
+ disableEnter: "",
26539
+ readOnly: unref(readOnly2),
26540
+ withoutTheme: "",
26541
+ withVariables: "",
26542
+ onChange
26543
+ }, null, 8, ["content", "readOnly"]),
26544
+ _hoisted_6$2
26545
+ ]),
26546
+ unref(requestHistoryOrder2).length ? (openBlock(), createElementBlock("div", _hoisted_7$2, [
26547
+ createElementVNode("div", {
26548
+ class: "history-toggle",
26549
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(historyModal).show())
26550
+ }, _hoisted_9$1)
26551
+ ])) : createCommentVNode("", true),
26552
+ createElementVNode("button", {
26553
+ class: "send-button",
26554
+ disabled: !formattedUrl.value.trim().length,
26555
+ type: "submit",
26556
+ onClick: send
26557
+ }, _hoisted_13, 8, _hoisted_10$1)
26558
+ ])
26559
26559
  ]),
26560
26560
  createElementVNode("div", {
26561
26561
  class: "address-bar-close",
26562
26562
  onClick: _cache[1] || (_cache[1] = ($event) => showHistory.value = false)
26563
26563
  }),
26564
- createElementVNode("div", _hoisted_11, [
26564
+ createElementVNode("div", _hoisted_14, [
26565
26565
  createVNode(unref(FlowModal), {
26566
26566
  state: unref(historyModal),
26567
26567
  title: "Request History",
26568
26568
  variant: "history"
26569
26569
  }, {
26570
26570
  default: withCtx(() => [
26571
- createVNode(_sfc_main$y, {
26571
+ createVNode(_sfc_main$z, {
26572
26572
  showHistory: showHistory.value,
26573
26573
  onToggle: _cache[2] || (_cache[2] = ($event) => showHistory.value = !showHistory.value)
26574
26574
  }, null, 8, ["showHistory"])
@@ -26581,9 +26581,9 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
26581
26581
  };
26582
26582
  }
26583
26583
  });
26584
- const AddressBar = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-2d90bbed"]]);
26584
+ const AddressBar = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-ccf97327"]]);
26585
26585
  const clickGeneratedParameter = useEventBus(Symbol());
26586
- const _hoisted_1$r = /* @__PURE__ */ createElementVNode("svg", {
26586
+ const _hoisted_1$s = /* @__PURE__ */ createElementVNode("svg", {
26587
26587
  class: "scalar-api-client__toggle__icon",
26588
26588
  height: "10",
26589
26589
  viewBox: "0 0 5 10",
@@ -26596,13 +26596,13 @@ const _hoisted_1$r = /* @__PURE__ */ createElementVNode("svg", {
26596
26596
  "fill-rule": "nonzero"
26597
26597
  })
26598
26598
  ], -1);
26599
- const _hoisted_2$i = { class: "scalar-api-client__item__title" };
26599
+ const _hoisted_2$j = { class: "scalar-api-client__item__title" };
26600
26600
  const _hoisted_3$c = {
26601
26601
  key: 0,
26602
26602
  class: "scalar-api-client__item__options"
26603
26603
  };
26604
26604
  const _hoisted_4$9 = { class: "scalar-api-client__item__content" };
26605
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
26605
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
26606
26606
  __name: "CollapsibleSection",
26607
26607
  props: {
26608
26608
  title: {},
@@ -26639,8 +26639,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
26639
26639
  onClick: _cache[0] || (_cache[0] = ($event) => openCopy.value = !openCopy.value)
26640
26640
  }, {
26641
26641
  default: withCtx(() => [
26642
- _hoisted_1$r,
26643
- createElementVNode("span", _hoisted_2$i, toDisplayString(_ctx.title), 1),
26642
+ _hoisted_1$s,
26643
+ createElementVNode("span", _hoisted_2$j, toDisplayString(_ctx.title), 1),
26644
26644
  _ctx.$slots.options && open ? (openBlock(), createElementBlock("div", _hoisted_3$c, [
26645
26645
  renderSlot(_ctx.$slots, "options")
26646
26646
  ])) : createCommentVNode("", true)
@@ -26662,15 +26662,15 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
26662
26662
  };
26663
26663
  }
26664
26664
  });
26665
- const _sfc_main$u = {};
26666
- const _hoisted_1$q = { class: "card-form" };
26665
+ const _sfc_main$v = {};
26666
+ const _hoisted_1$r = { class: "card-form" };
26667
26667
  function _sfc_render$4(_ctx, _cache) {
26668
- return openBlock(), createElementBlock("form", _hoisted_1$q, [
26668
+ return openBlock(), createElementBlock("form", _hoisted_1$r, [
26669
26669
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
26670
26670
  ]);
26671
26671
  }
26672
- const CardForm = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$4], ["__scopeId", "data-v-6ddec640"]]);
26673
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
26672
+ const CardForm = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$4], ["__scopeId", "data-v-6ddec640"]]);
26673
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
26674
26674
  __name: "CardFormButton",
26675
26675
  setup(__props, { expose: __expose }) {
26676
26676
  const el = ref();
@@ -26687,15 +26687,15 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
26687
26687
  };
26688
26688
  }
26689
26689
  });
26690
- const CardFormButton = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-506868df"]]);
26691
- const _sfc_main$s = {};
26692
- const _hoisted_1$p = { class: "card-form-group" };
26690
+ const CardFormButton = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-506868df"]]);
26691
+ const _sfc_main$t = {};
26692
+ const _hoisted_1$q = { class: "card-form-group" };
26693
26693
  function _sfc_render$3(_ctx, _cache) {
26694
- return openBlock(), createElementBlock("div", _hoisted_1$p, [
26694
+ return openBlock(), createElementBlock("div", _hoisted_1$q, [
26695
26695
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
26696
26696
  ]);
26697
26697
  }
26698
- const CardFormGroup = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$3], ["__scopeId", "data-v-d2f0b9a0"]]);
26698
+ const CardFormGroup = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$3], ["__scopeId", "data-v-d2f0b9a0"]]);
26699
26699
  function r(e) {
26700
26700
  var t2, f, n = "";
26701
26701
  if ("string" == typeof e || "number" == typeof e)
@@ -31200,8 +31200,8 @@ Prism.languages.webmanifest = Prism.languages.json;
31200
31200
  var g = i.sizer, p = i.lines, o = i.lineHeights, f = i.oneLinerHeight;
31201
31201
  o[p.length - 1] = void 0, p.forEach(function(l, w) {
31202
31202
  if (l && l.length > 1) {
31203
- var C2 = g.appendChild(document.createElement("span"));
31204
- C2.style.display = "block", C2.textContent = l;
31203
+ var A = g.appendChild(document.createElement("span"));
31204
+ A.style.display = "block", A.textContent = l;
31205
31205
  } else
31206
31206
  o[w] = f;
31207
31207
  });
@@ -31306,8 +31306,8 @@ const Ge = ["innerHTML"], Ot = /* @__PURE__ */ defineComponent({
31306
31306
  return onServerPrefetch(async () => {
31307
31307
  let o = "";
31308
31308
  t2.lineNumbers && L.hooks.add("after-tokenize", (l) => {
31309
- const w = l.code.match(p), C2 = w ? w.length + 1 : 1;
31310
- o = `<span aria-hidden="true" class="line-numbers-rows">${new Array(C2 + 1).join("<span></span>")}</span>`;
31309
+ const w = l.code.match(p), A = w ? w.length + 1 : 1;
31310
+ o = `<span aria-hidden="true" class="line-numbers-rows">${new Array(A + 1).join("<span></span>")}</span>`;
31311
31311
  });
31312
31312
  const f = L.highlight(
31313
31313
  z(t2.content),
@@ -31341,7 +31341,7 @@ const Ge = ["innerHTML"], Ot = /* @__PURE__ */ defineComponent({
31341
31341
  ], 2));
31342
31342
  }
31343
31343
  });
31344
- const U = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-ngyZgYXx-DzyQwJvS.js"), "./Background.svg": () => import("./Background-DcRhSHgf-DMULXelH.js"), "./Brackets.svg": () => import("./Brackets-4I8OKomf-BdIXlrTs.js"), "./Branch.svg": () => import("./Branch-CXwj8YuG-IxKqRWkx.js"), "./CallToAction.svg": () => import("./CallToAction-EyQKkvbg-D5UsQ4YH.js"), "./Checkmark.svg": () => import("./Checkmark-De7nq6cG-CenVOav7.js"), "./ChevronDown.svg": () => import("./ChevronDown-Co7EAKAv-DHNwXUbS.js"), "./ChevronLeft.svg": () => import("./ChevronLeft-DYt0idAu-DAzCtmws.js"), "./ChevronRight.svg": () => import("./ChevronRight-ylxToVWl-CDFDuBE1.js"), "./ChevronUp.svg": () => import("./ChevronUp-xAnukIfj-CuKFLVD3.js"), "./Clipboard.svg": () => import("./Clipboard-CU_KxGEv-DWrQtWVi.js"), "./Close.svg": () => import("./Close-CW3z42qZ-CeX6s3FA.js"), "./CodeFolder.svg": () => import("./CodeFolder-Cv_igzJE-CoWfaY0Z.js"), "./Cookie.svg": () => import("./Cookie-CEHvXpqB-D960ImBy.js"), "./DarkMode.svg": () => import("./DarkMode-CBsV8Q_I-DHPfucpm.js"), "./Delete.svg": () => import("./Delete-BCZmxrDD-BHoCf_u4.js"), "./Discord.svg": () => import("./Discord-BHYOFBB2-NYBGYy-_.js"), "./DocsPage.svg": () => import("./DocsPage-rh2xwxKN-BP1Vagfm.js"), "./Duplicate.svg": () => import("./Duplicate-BPlzNpcf-DbmFK0XC.js"), "./Edit.svg": () => import("./Edit-Br04RNYb-BhCyac4t.js"), "./Ellipses.svg": () => import("./Ellipses-Bo_X36Hx-CsJmKvlE.js"), "./Error.svg": () => import("./Error-B_RGtWJI-D9KV-EvG.js"), "./ExternalLink.svg": () => import("./ExternalLink-DK8L-EH7-ANJEzoHO.js"), "./Folder.svg": () => import("./Folder-Cdcj4evh-B-g7TtzK.js"), "./GitHub.svg": () => import("./GitHub-NdE6Zs9k-BAGzgXH_.js"), "./Hide.svg": () => import("./Hide-Q3GPkIKH-40aIsLtN.js"), "./JsonObject.svg": () => import("./JsonObject-hGdHUQ4M-Cm1hXgAn.js"), "./Key.svg": () => import("./Key-CWXJqX28-DdNUhB11.js"), "./Leave.svg": () => import("./Leave-K1J3uwoG-WgTmlwgs.js"), "./LightDarkModeToggle.svg": () => import("./LightDarkModeToggle-BkvMimDa-Dk64Z-UE.js"), "./LightMode.svg": () => import("./LightMode-Btz6vyT_-JpKLPzdT.js"), "./Link.svg": () => import("./Link-Bzuc__Nc-Bvtx0HZG.js"), "./Lock.svg": () => import("./Lock-xhiH1mKz-Rrlr3fGv.js"), "./Logo.svg": () => import("./Logo-mtzeKD8M-LQcor9RM.js"), "./LogoAPI.svg": () => import("./LogoAPI-CaU5E6FK-Bzb5EbnZ.js"), "./LogoClient.svg": () => import("./LogoClient-DdC-t_7P-B_rZ91PC.js"), "./LogoMarket.svg": () => import("./LogoMarket-DwlApcab-_INRDSLs.js"), "./LogoSwagger.svg": () => import("./LogoSwagger-CH60H5qW-DFEpFXIU.js"), "./Magic.svg": () => import("./Magic-Dsi9_bEc-BYN42_eH.js"), "./Menu.svg": () => import("./Menu-CFK5cOsm-CqE9Tsgr.js"), "./Page.svg": () => import("./Page-B7rVuhpl-BUIogUij.js"), "./PaperAirplane.svg": () => import("./PaperAirplane-BC-4mGEB-BrV5fX8s.js"), "./Payment.svg": () => import("./Payment-hzcXP1Xb-B2G1p4-i.js"), "./Refresh.svg": () => import("./Refresh-Be6vHEEi-C6lRqFiM.js"), "./Search.svg": () => import("./Search-DqtlswRG-D-hprEk0.js"), "./Show.svg": () => import("./Show-D86hKz5y-CF9Pv7FS.js"), "./SideBarClosed.svg": () => import("./SideBarClosed-CYUNS2XM-CyAn6Mp2.js"), "./SideBarOpen.svg": () => import("./SideBarOpen-BOxW49_U-D5IKtkfP.js"), "./Terminal.svg": () => import("./Terminal-CKp--su5-vWaGU4_z.js"), "./ThumbsDown.svg": () => import("./ThumbsDown-BMgnsASL-B2YFxB8i.js"), "./ThumbsUp.svg": () => import("./ThumbsUp-C1j6zY2j-DKqh3z1D.js"), "./Trash.svg": () => import("./Trash-BpA3zWPD-BAjuQdys.js"), "./Unlock.svg": () => import("./Unlock-CY8UqJoE-CrwInjK9.js"), "./Upload.svg": () => import("./Upload-REIdL7RI-CsfWPmbV.js"), "./User.svg": () => import("./User-Df5svMQ3-BD7IWPQQ.js"), "./programming-framework-angular.svg": () => import("./programming-framework-angular-DD4Vjgbk-Bzc9D9am.js"), "./programming-framework-astro.svg": () => import("./programming-framework-astro-CLfrRt19-CfPlyy6T.js"), "./programming-framework-laravel.svg": () => import("./programming-framework-laravel-kAy2wVLy-Cty_4oXq.js"), "./programming-framework-nextdotjs.svg": () => import("./programming-framework-nextdotjs-BKdd_DY_-DUTv-t1Q.js"), "./programming-framework-react.svg": () => import("./programming-framework-react-PDgmtZuN-DdUogL85.js"), "./programming-framework-vuedotjs.svg": () => import("./programming-framework-vuedotjs-Cv46W2aB-Dt_I9pcj.js"), "./programming-language-c.svg": () => import("./programming-language-c-hPGu2Zvg-QG1pSdJG.js"), "./programming-language-clojure.svg": () => import("./programming-language-clojure-Cvmzky8x-D6Gs-6Ol.js"), "./programming-language-csharp.svg": () => import("./programming-language-csharp-lqX1oWgb-B1_8fYG9.js"), "./programming-language-css3.svg": () => import("./programming-language-css3-Dpp4Cr6b-Bf5XF7-p.js"), "./programming-language-go.svg": () => import("./programming-language-go-DoJxWwT6-BUgfSlg1.js"), "./programming-language-html5.svg": () => import("./programming-language-html5-DlqJK4EL-Bl9dTA-D.js"), "./programming-language-http.svg": () => import("./programming-language-http-wMYwFS1I-BWQXI44M.js"), "./programming-language-java.svg": () => import("./programming-language-java-BCxG2T_w-CWqBHVz_.js"), "./programming-language-javascript.svg": () => import("./programming-language-javascript-VxLvi1QG-DFjYF_MP.js"), "./programming-language-json.svg": () => import("./programming-language-json-vEX_g7Zi-BMZrSR1t.js"), "./programming-language-kotlin.svg": () => import("./programming-language-kotlin-DKV8vP9h-C1Zi89NZ.js"), "./programming-language-node.svg": () => import("./programming-language-node-Xsgx38lm-DZhaOPIJ.js"), "./programming-language-objc.svg": () => import("./programming-language-objc-BQXSOBsX-BR-B91By.js"), "./programming-language-ocaml.svg": () => import("./programming-language-ocaml-BEz7gGv7-ip3_Zuhb.js"), "./programming-language-php.svg": () => import("./programming-language-php-GY38f8r4-DQ_8EMFH.js"), "./programming-language-powershell.svg": () => import("./programming-language-powershell-C9DkSp36-S3xix_dw.js"), "./programming-language-python.svg": () => import("./programming-language-python-Ct-_kNjo-BCrlyfv0.js"), "./programming-language-r.svg": () => import("./programming-language-r-BGoKwua9-BWGOKD9M.js"), "./programming-language-ruby.svg": () => import("./programming-language-ruby-DhdM4d7g-Dd3La6Kn.js"), "./programming-language-scala.svg": () => import("./programming-language-scala-BVg0dToJ-Bz_n-CNw.js"), "./programming-language-shell.svg": () => import("./programming-language-shell-BsTa1xI7-XJbYjh7O.js"), "./programming-language-swift.svg": () => import("./programming-language-swift-Dn72xPjg-BUvu5_SV.js"), "./programming-language-typescript.svg": () => import("./programming-language-typescript-CdF-HuRi-CaDO02MW.js"), "./programming-script-code.svg": () => import("./programming-script-code-DQN1veb2-BPFALXVk.js"), "./programming-tool-git.svg": () => import("./programming-tool-git-DDnQ1zGD-Cz6Yj0wj.js"), "./programming-tool-tailwindcss.svg": () => import("./programming-tool-tailwindcss-xjXi0E6g-ky2wbsII.js") }), j = (a) => {
31344
+ const U = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-ngyZgYXx-DzyQwJvS.js"), "./ArrowLeft.svg": () => import("./ArrowLeft-aY17W2aS-DFSAtOMh.js"), "./ArrowRight.svg": () => import("./ArrowRight-DEMtdoE7-D3Vz1S5q.js"), "./Background.svg": () => import("./Background-DcRhSHgf-DMULXelH.js"), "./Brackets.svg": () => import("./Brackets-4I8OKomf-BdIXlrTs.js"), "./Branch.svg": () => import("./Branch-CXwj8YuG-IxKqRWkx.js"), "./CallToAction.svg": () => import("./CallToAction-EyQKkvbg-D5UsQ4YH.js"), "./Checkmark.svg": () => import("./Checkmark-De7nq6cG-CenVOav7.js"), "./ChevronDown.svg": () => import("./ChevronDown-Co7EAKAv-DHNwXUbS.js"), "./ChevronLeft.svg": () => import("./ChevronLeft-DYt0idAu-DAzCtmws.js"), "./ChevronRight.svg": () => import("./ChevronRight-ylxToVWl-CDFDuBE1.js"), "./ChevronUp.svg": () => import("./ChevronUp-xAnukIfj-CuKFLVD3.js"), "./Clipboard.svg": () => import("./Clipboard-CU_KxGEv-DWrQtWVi.js"), "./Close.svg": () => import("./Close-CW3z42qZ-CeX6s3FA.js"), "./CodeFolder.svg": () => import("./CodeFolder-Cv_igzJE-CoWfaY0Z.js"), "./Cookie.svg": () => import("./Cookie-CEHvXpqB-D960ImBy.js"), "./DarkMode.svg": () => import("./DarkMode-CBsV8Q_I-DHPfucpm.js"), "./Delete.svg": () => import("./Delete-BCZmxrDD-BHoCf_u4.js"), "./Discord.svg": () => import("./Discord-BHYOFBB2-NYBGYy-_.js"), "./DocsPage.svg": () => import("./DocsPage-rh2xwxKN-BP1Vagfm.js"), "./Duplicate.svg": () => import("./Duplicate-BPlzNpcf-DbmFK0XC.js"), "./Edit.svg": () => import("./Edit-Br04RNYb-BhCyac4t.js"), "./Ellipses.svg": () => import("./Ellipses-Bo_X36Hx-CsJmKvlE.js"), "./Error.svg": () => import("./Error-B_RGtWJI-D9KV-EvG.js"), "./ExternalLink.svg": () => import("./ExternalLink-DK8L-EH7-ANJEzoHO.js"), "./FilterList.svg": () => import("./FilterList-CsAcE9em-aybThY1V.js"), "./Folder.svg": () => import("./Folder-Cdcj4evh-B-g7TtzK.js"), "./GitHub.svg": () => import("./GitHub-NdE6Zs9k-BAGzgXH_.js"), "./Hide.svg": () => import("./Hide-Q3GPkIKH-40aIsLtN.js"), "./History.svg": () => import("./History-D9nmhNIn-BU9mR55a.js"), "./JsonObject.svg": () => import("./JsonObject-hGdHUQ4M-Cm1hXgAn.js"), "./Key.svg": () => import("./Key-CWXJqX28-DdNUhB11.js"), "./Leave.svg": () => import("./Leave-K1J3uwoG-WgTmlwgs.js"), "./LightDarkModeToggle.svg": () => import("./LightDarkModeToggle-BkvMimDa-Dk64Z-UE.js"), "./LightMode.svg": () => import("./LightMode-Btz6vyT_-JpKLPzdT.js"), "./Link.svg": () => import("./Link-Bzuc__Nc-Bvtx0HZG.js"), "./Lock.svg": () => import("./Lock-xhiH1mKz-Rrlr3fGv.js"), "./Logo.svg": () => import("./Logo-mtzeKD8M-LQcor9RM.js"), "./LogoAPI.svg": () => import("./LogoAPI-CaU5E6FK-Bzb5EbnZ.js"), "./LogoClient.svg": () => import("./LogoClient-DdC-t_7P-B_rZ91PC.js"), "./LogoMarket.svg": () => import("./LogoMarket-DwlApcab-_INRDSLs.js"), "./LogoSwagger.svg": () => import("./LogoSwagger-CH60H5qW-DFEpFXIU.js"), "./Magic.svg": () => import("./Magic-Dsi9_bEc-BYN42_eH.js"), "./Menu.svg": () => import("./Menu-CFK5cOsm-CqE9Tsgr.js"), "./Page.svg": () => import("./Page-B7rVuhpl-BUIogUij.js"), "./PaperAirplane.svg": () => import("./PaperAirplane-BC-4mGEB-BrV5fX8s.js"), "./Payment.svg": () => import("./Payment-hzcXP1Xb-B2G1p4-i.js"), "./Play.svg": () => import("./Play-BrVagRQA-DBrajcXb.js"), "./Refresh.svg": () => import("./Refresh-Be6vHEEi-C6lRqFiM.js"), "./Response.svg": () => import("./Response-Dq9pM-ZU-DcYb8u84.js"), "./Search.svg": () => import("./Search-DqtlswRG-D-hprEk0.js"), "./Show.svg": () => import("./Show-D86hKz5y-CF9Pv7FS.js"), "./SideBarClosed.svg": () => import("./SideBarClosed-CYUNS2XM-CyAn6Mp2.js"), "./SideBarOpen.svg": () => import("./SideBarOpen-BOxW49_U-D5IKtkfP.js"), "./Sort.svg": () => import("./Sort-oTjBhJFQ-yW_ZNUnN.js"), "./Terminal.svg": () => import("./Terminal-CKp--su5-vWaGU4_z.js"), "./ThumbsDown.svg": () => import("./ThumbsDown-BMgnsASL-B2YFxB8i.js"), "./ThumbsUp.svg": () => import("./ThumbsUp-C1j6zY2j-DKqh3z1D.js"), "./Trash.svg": () => import("./Trash-BpA3zWPD-BAjuQdys.js"), "./Unlock.svg": () => import("./Unlock-CY8UqJoE-CrwInjK9.js"), "./Upload.svg": () => import("./Upload-REIdL7RI-CsfWPmbV.js"), "./User.svg": () => import("./User-Df5svMQ3-BD7IWPQQ.js"), "./programming-framework-angular.svg": () => import("./programming-framework-angular-DD4Vjgbk-Bzc9D9am.js"), "./programming-framework-astro.svg": () => import("./programming-framework-astro-CLfrRt19-CfPlyy6T.js"), "./programming-framework-laravel.svg": () => import("./programming-framework-laravel-kAy2wVLy-Cty_4oXq.js"), "./programming-framework-nextdotjs.svg": () => import("./programming-framework-nextdotjs-BKdd_DY_-DUTv-t1Q.js"), "./programming-framework-react.svg": () => import("./programming-framework-react-PDgmtZuN-DdUogL85.js"), "./programming-framework-vuedotjs.svg": () => import("./programming-framework-vuedotjs-Cv46W2aB-Dt_I9pcj.js"), "./programming-language-c.svg": () => import("./programming-language-c-hPGu2Zvg-QG1pSdJG.js"), "./programming-language-clojure.svg": () => import("./programming-language-clojure-Cvmzky8x-D6Gs-6Ol.js"), "./programming-language-csharp.svg": () => import("./programming-language-csharp-lqX1oWgb-B1_8fYG9.js"), "./programming-language-css3.svg": () => import("./programming-language-css3-Dpp4Cr6b-Bf5XF7-p.js"), "./programming-language-go.svg": () => import("./programming-language-go-DoJxWwT6-BUgfSlg1.js"), "./programming-language-html5.svg": () => import("./programming-language-html5-DlqJK4EL-Bl9dTA-D.js"), "./programming-language-http.svg": () => import("./programming-language-http-wMYwFS1I-BWQXI44M.js"), "./programming-language-java.svg": () => import("./programming-language-java-BCxG2T_w-CWqBHVz_.js"), "./programming-language-javascript.svg": () => import("./programming-language-javascript-VxLvi1QG-DFjYF_MP.js"), "./programming-language-json.svg": () => import("./programming-language-json-vEX_g7Zi-BMZrSR1t.js"), "./programming-language-kotlin.svg": () => import("./programming-language-kotlin-DKV8vP9h-C1Zi89NZ.js"), "./programming-language-node.svg": () => import("./programming-language-node-Xsgx38lm-DZhaOPIJ.js"), "./programming-language-objc.svg": () => import("./programming-language-objc-BQXSOBsX-BR-B91By.js"), "./programming-language-ocaml.svg": () => import("./programming-language-ocaml-BEz7gGv7-ip3_Zuhb.js"), "./programming-language-php.svg": () => import("./programming-language-php-GY38f8r4-DQ_8EMFH.js"), "./programming-language-powershell.svg": () => import("./programming-language-powershell-C9DkSp36-S3xix_dw.js"), "./programming-language-python.svg": () => import("./programming-language-python-Ct-_kNjo-BCrlyfv0.js"), "./programming-language-r.svg": () => import("./programming-language-r-BGoKwua9-BWGOKD9M.js"), "./programming-language-ruby.svg": () => import("./programming-language-ruby-DhdM4d7g-Dd3La6Kn.js"), "./programming-language-scala.svg": () => import("./programming-language-scala-BVg0dToJ-Bz_n-CNw.js"), "./programming-language-shell.svg": () => import("./programming-language-shell-BsTa1xI7-XJbYjh7O.js"), "./programming-language-swift.svg": () => import("./programming-language-swift-Dn72xPjg-BUvu5_SV.js"), "./programming-language-typescript.svg": () => import("./programming-language-typescript-CdF-HuRi-CaDO02MW.js"), "./programming-script-code.svg": () => import("./programming-script-code-DQN1veb2-BPFALXVk.js"), "./programming-tool-git.svg": () => import("./programming-tool-git-DDnQ1zGD-Cz6Yj0wj.js"), "./programming-tool-tailwindcss.svg": () => import("./programming-tool-tailwindcss-xjXi0E6g-ky2wbsII.js") }), j = (a) => {
31345
31345
  const t2 = `./${a}.svg`;
31346
31346
  return U[t2] ? defineAsyncComponent(U[t2]) : (console.warn(`Could not find icon: ${a}`), null);
31347
31347
  }, Ye = ["src"], V = /* @__PURE__ */ defineComponent({
@@ -31411,10 +31411,10 @@ const U = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-ngyZg
31411
31411
  ], 10, Je));
31412
31412
  }
31413
31413
  });
31414
- const _hoisted_1$o = { class: "card-form-input" };
31415
- const _hoisted_2$h = ["for"];
31414
+ const _hoisted_1$p = { class: "card-form-input" };
31415
+ const _hoisted_2$i = ["for"];
31416
31416
  const _hoisted_3$b = ["id", "type"];
31417
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
31417
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
31418
31418
  ...{
31419
31419
  inheritAttrs: false
31420
31420
  },
@@ -31430,10 +31430,10 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
31430
31430
  () => props.type === "password" ? mask.value ? "password" : "text" : props.type ?? "text"
31431
31431
  );
31432
31432
  return (_ctx, _cache) => {
31433
- return openBlock(), createElementBlock("div", _hoisted_1$o, [
31433
+ return openBlock(), createElementBlock("div", _hoisted_1$p, [
31434
31434
  createElementVNode("label", { for: _ctx.id }, [
31435
31435
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
31436
- ], 8, _hoisted_2$h),
31436
+ ], 8, _hoisted_2$i),
31437
31437
  createElementVNode("input", mergeProps(_ctx.$attrs, {
31438
31438
  id: _ctx.id,
31439
31439
  autocomplete: "off",
@@ -31452,22 +31452,22 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
31452
31452
  };
31453
31453
  }
31454
31454
  });
31455
- const CardFormTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-70fbdb66"]]);
31456
- const _sfc_main$q = {};
31457
- const _hoisted_1$n = { class: "badge" };
31455
+ const CardFormTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-70fbdb66"]]);
31456
+ const _sfc_main$r = {};
31457
+ const _hoisted_1$o = { class: "badge" };
31458
31458
  function _sfc_render$2(_ctx, _cache) {
31459
- return openBlock(), createElementBlock("div", _hoisted_1$n, [
31459
+ return openBlock(), createElementBlock("div", _hoisted_1$o, [
31460
31460
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
31461
31461
  ]);
31462
31462
  }
31463
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$2], ["__scopeId", "data-v-190574ac"]]);
31463
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$2], ["__scopeId", "data-v-190574ac"]]);
31464
31464
  const _withScopeId$4 = (n) => (pushScopeId("data-v-0243b758"), n = n(), popScopeId(), n);
31465
- const _hoisted_1$m = { class: "scopes-label" };
31466
- const _hoisted_2$g = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("em", null, "|", -1));
31465
+ const _hoisted_1$n = { class: "scopes-label" };
31466
+ const _hoisted_2$h = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("em", null, "|", -1));
31467
31467
  const _hoisted_3$a = ["checked"];
31468
31468
  const _hoisted_4$8 = { class: "dropdown-item-title" };
31469
31469
  const _hoisted_5$4 = { class: "dropdown-item-description" };
31470
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
31470
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
31471
31471
  __name: "SecuritySchemeScopes",
31472
31472
  props: {
31473
31473
  scopes: {},
@@ -31502,7 +31502,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
31502
31502
  }, [
31503
31503
  createVNode(unref(ListboxButton), { as: CardFormButton }, {
31504
31504
  default: withCtx(() => [
31505
- createElementVNode("div", _hoisted_1$m, [
31505
+ createElementVNode("div", _hoisted_1$n, [
31506
31506
  createVNode(unref(V), {
31507
31507
  icon: open ? "ChevronUp" : "ChevronDown",
31508
31508
  size: "sm"
@@ -31511,7 +31511,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
31511
31511
  createVNode(unref(Badge), { class: "scopes-label-badge" }, {
31512
31512
  default: withCtx(() => [
31513
31513
  createTextVNode(toDisplayString(model.value.length), 1),
31514
- _hoisted_2$g,
31514
+ _hoisted_2$h,
31515
31515
  createTextVNode(toDisplayString(Object.entries(_ctx.scopes).length), 1)
31516
31516
  ]),
31517
31517
  _: 1
@@ -31569,8 +31569,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
31569
31569
  };
31570
31570
  }
31571
31571
  });
31572
- const SecuritySchemeScopes = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-0243b758"]]);
31573
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
31572
+ const SecuritySchemeScopes = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-0243b758"]]);
31573
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
31574
31574
  __name: "SecurityScheme",
31575
31575
  props: {
31576
31576
  value: {}
@@ -31798,16 +31798,16 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
31798
31798
  };
31799
31799
  }
31800
31800
  });
31801
- const SecurityScheme = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-ce3ed7f0"]]);
31801
+ const SecurityScheme = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-ce3ed7f0"]]);
31802
31802
  const _withScopeId$3 = (n) => (pushScopeId("data-v-fa321bbc"), n = n(), popScopeId(), n);
31803
- const _hoisted_1$l = {
31803
+ const _hoisted_1$m = {
31804
31804
  key: 1,
31805
31805
  class: "security-scheme-selector"
31806
31806
  };
31807
- const _hoisted_2$f = ["value"];
31807
+ const _hoisted_2$g = ["value"];
31808
31808
  const _hoisted_3$9 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("option", { value: "" }, "None", -1));
31809
31809
  const _hoisted_4$7 = ["value"];
31810
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
31810
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
31811
31811
  __name: "SecuritySchemeSelector",
31812
31812
  props: {
31813
31813
  value: {}
@@ -31862,7 +31862,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
31862
31862
  var _a2, _b;
31863
31863
  return keys.value.length === 1 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
31864
31864
  createTextVNode(toDisplayString(getLabelForScheme((_a2 = _ctx.value) == null ? void 0 : _a2[keys.value[0]], keys.value[0])), 1)
31865
- ], 64)) : keys.value.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
31865
+ ], 64)) : keys.value.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$m, [
31866
31866
  createElementVNode("span", null, toDisplayString(unref(authentication2).preferredSecurityScheme ? getLabelForScheme(
31867
31867
  (_b = _ctx.value) == null ? void 0 : _b[unref(authentication2).preferredSecurityScheme],
31868
31868
  unref(authentication2).preferredSecurityScheme
@@ -31882,21 +31882,21 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
31882
31882
  value: key ?? null
31883
31883
  }, toDisplayString(getLabelForScheme((_a3 = _ctx.value) == null ? void 0 : _a3[key], key)), 9, _hoisted_4$7);
31884
31884
  }), 128))
31885
- ], 40, _hoisted_2$f)
31885
+ ], 40, _hoisted_2$g)
31886
31886
  ])) : createCommentVNode("", true);
31887
31887
  };
31888
31888
  }
31889
31889
  });
31890
- const SecuritySchemeSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-fa321bbc"]]);
31891
- const _hoisted_1$k = {
31890
+ const SecuritySchemeSelector = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-fa321bbc"]]);
31891
+ const _hoisted_1$l = {
31892
31892
  key: 0,
31893
31893
  class: "preferred-security-scheme"
31894
31894
  };
31895
- const _hoisted_2$e = {
31895
+ const _hoisted_2$f = {
31896
31896
  key: 1,
31897
31897
  class: "security-scheme-empty-state"
31898
31898
  };
31899
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
31899
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
31900
31900
  __name: "RequestAuthentication",
31901
31901
  setup(__props) {
31902
31902
  const requestAuthenticationRef = ref(null);
@@ -31928,7 +31928,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
31928
31928
  ref_key: "requestAuthenticationRef",
31929
31929
  ref: requestAuthenticationRef
31930
31930
  }, [
31931
- createVNode(unref(_sfc_main$v), { title: "Authentication" }, {
31931
+ createVNode(unref(_sfc_main$w), { title: "Authentication" }, {
31932
31932
  options: withCtx(() => [
31933
31933
  createVNode(SecuritySchemeSelector, {
31934
31934
  value: unref(authentication2).securitySchemes
@@ -31937,12 +31937,12 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
31937
31937
  default: withCtx(() => {
31938
31938
  var _a2;
31939
31939
  return [
31940
- unref(authentication2).preferredSecurityScheme ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
31940
+ unref(authentication2).preferredSecurityScheme ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
31941
31941
  createVNode(SecurityScheme, {
31942
31942
  value: (_a2 = unref(authentication2).securitySchemes) == null ? void 0 : _a2[unref(authentication2).preferredSecurityScheme]
31943
31943
  }, null, 8, ["value"])
31944
31944
  ])) : createCommentVNode("", true),
31945
- !unref(authentication2).securitySchemes ? (openBlock(), createElementBlock("div", _hoisted_2$e, [
31945
+ !unref(authentication2).securitySchemes ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
31946
31946
  createElementVNode("div", {
31947
31947
  class: "scalar-api-client-add",
31948
31948
  variant: "outlined",
@@ -31967,24 +31967,24 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
31967
31967
  };
31968
31968
  }
31969
31969
  });
31970
- const RequestAuthentication = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-cbd3fe9a"]]);
31971
- const _hoisted_1$j = { class: "table-row" };
31972
- const _hoisted_2$d = { class: "table-row-item" };
31970
+ const RequestAuthentication = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-cbd3fe9a"]]);
31971
+ const _hoisted_1$k = { class: "table-row" };
31972
+ const _hoisted_2$e = { class: "table-row-item" };
31973
31973
  const _hoisted_3$8 = { class: "table-row-item" };
31974
31974
  const _hoisted_4$6 = {
31975
31975
  key: 0,
31976
31976
  class: "table-row-item"
31977
31977
  };
31978
31978
  const _hoisted_5$3 = { class: "table-row-meta" };
31979
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
31979
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
31980
31980
  __name: "GridRow",
31981
31981
  props: {
31982
31982
  showDescription: { type: Boolean }
31983
31983
  },
31984
31984
  setup(__props) {
31985
31985
  return (_ctx, _cache) => {
31986
- return openBlock(), createElementBlock("div", _hoisted_1$j, [
31987
- createElementVNode("div", _hoisted_2$d, [
31986
+ return openBlock(), createElementBlock("div", _hoisted_1$k, [
31987
+ createElementVNode("div", _hoisted_2$e, [
31988
31988
  renderSlot(_ctx.$slots, "key", {}, void 0, true)
31989
31989
  ]),
31990
31990
  createElementVNode("div", _hoisted_3$8, [
@@ -32000,10 +32000,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
32000
32000
  };
32001
32001
  }
32002
32002
  });
32003
- const GridRow = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-d223c4c9"]]);
32003
+ const GridRow = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-d223c4c9"]]);
32004
32004
  const _withScopeId$2 = (n) => (pushScopeId("data-v-f563de96"), n = n(), popScopeId(), n);
32005
- const _hoisted_1$i = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("label", { class: "table-column-header" }, "Key", -1));
32006
- const _hoisted_2$c = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("label", { class: "table-column-header" }, "Value", -1));
32005
+ const _hoisted_1$j = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("label", { class: "table-column-header" }, "Key", -1));
32006
+ const _hoisted_2$d = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("label", { class: "table-column-header" }, "Value", -1));
32007
32007
  const _hoisted_3$7 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("label", { class: "table-column-header" }, "Description", -1));
32008
32008
  const _hoisted_4$5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("svg", {
32009
32009
  fill: "currentColor",
@@ -32017,7 +32017,7 @@ const _hoisted_4$5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ create
32017
32017
  "fill-rule": "nonzero"
32018
32018
  })
32019
32019
  ], -1));
32020
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
32020
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
32021
32021
  __name: "GridHeader",
32022
32022
  props: {
32023
32023
  showDescription: { type: Boolean }
@@ -32027,10 +32027,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
32027
32027
  return (_ctx, _cache) => {
32028
32028
  return openBlock(), createBlock(GridRow, { showDescription: _ctx.showDescription }, {
32029
32029
  key: withCtx(() => [
32030
- _hoisted_1$i
32030
+ _hoisted_1$j
32031
32031
  ]),
32032
32032
  value: withCtx(() => [
32033
- _hoisted_2$c
32033
+ _hoisted_2$d
32034
32034
  ]),
32035
32035
  description: withCtx(() => [
32036
32036
  _hoisted_3$7
@@ -32052,10 +32052,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
32052
32052
  };
32053
32053
  }
32054
32054
  });
32055
- const GridHeader = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-f563de96"]]);
32055
+ const GridHeader = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-f563de96"]]);
32056
32056
  const _withScopeId$1 = (n) => (pushScopeId("data-v-343844f2"), n = n(), popScopeId(), n);
32057
- const _hoisted_1$h = { class: "meta-check" };
32058
- const _hoisted_2$b = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "meta-checkmark" }, null, -1));
32057
+ const _hoisted_1$i = { class: "meta-check" };
32058
+ const _hoisted_2$c = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "meta-checkmark" }, null, -1));
32059
32059
  const _hoisted_3$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
32060
32060
  fill: "none",
32061
32061
  height: "10",
@@ -32081,7 +32081,7 @@ const _hoisted_3$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ create
32081
32081
  const _hoisted_4$4 = [
32082
32082
  _hoisted_3$6
32083
32083
  ];
32084
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
32084
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
32085
32085
  __name: "GridRowEditable",
32086
32086
  props: {
32087
32087
  name: {},
@@ -32145,14 +32145,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
32145
32145
  ])
32146
32146
  ]),
32147
32147
  meta: withCtx(() => [
32148
- createElementVNode("label", _hoisted_1$h, [
32148
+ createElementVNode("label", _hoisted_1$i, [
32149
32149
  withDirectives(createElementVNode("input", {
32150
32150
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => enabledProxy.value = $event),
32151
32151
  type: "checkbox"
32152
32152
  }, null, 512), [
32153
32153
  [vModelCheckbox, enabledProxy.value]
32154
32154
  ]),
32155
- _hoisted_2$b
32155
+ _hoisted_2$c
32156
32156
  ]),
32157
32157
  !_ctx.required ? (openBlock(), createElementBlock("button", {
32158
32158
  key: 0,
@@ -32166,15 +32166,15 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
32166
32166
  };
32167
32167
  }
32168
32168
  });
32169
- const GridRowEditable = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-343844f2"]]);
32169
+ const GridRowEditable = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-343844f2"]]);
32170
32170
  const _withScopeId = (n) => (pushScopeId("data-v-78bcd93d"), n = n(), popScopeId(), n);
32171
- const _hoisted_1$g = ["value"];
32172
- const _hoisted_2$a = ["value"];
32171
+ const _hoisted_1$h = ["value"];
32172
+ const _hoisted_2$b = ["value"];
32173
32173
  const _hoisted_3$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("input", {
32174
32174
  disabled: "",
32175
32175
  value: "Read-only"
32176
32176
  }, null, -1));
32177
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
32177
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
32178
32178
  __name: "GridRowGenerated",
32179
32179
  props: {
32180
32180
  item: {}
@@ -32187,7 +32187,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
32187
32187
  disabled: "",
32188
32188
  placeholder: "key",
32189
32189
  value: _ctx.item.name
32190
- }, null, 8, _hoisted_1$g)
32190
+ }, null, 8, _hoisted_1$h)
32191
32191
  ]),
32192
32192
  value: withCtx(() => [
32193
32193
  createElementVNode("input", {
@@ -32195,7 +32195,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
32195
32195
  placeholder: "value",
32196
32196
  type: "password",
32197
32197
  value: _ctx.item.value
32198
- }, null, 8, _hoisted_2$a)
32198
+ }, null, 8, _hoisted_2$b)
32199
32199
  ]),
32200
32200
  description: withCtx(() => [
32201
32201
  _hoisted_3$5
@@ -32205,12 +32205,12 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
32205
32205
  };
32206
32206
  }
32207
32207
  });
32208
- const GridRowGenerated = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-78bcd93d"]]);
32209
- const _hoisted_1$f = { class: "table" };
32210
- const _hoisted_2$9 = { class: "meta-actions" };
32208
+ const GridRowGenerated = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-78bcd93d"]]);
32209
+ const _hoisted_1$g = { class: "table" };
32210
+ const _hoisted_2$a = { class: "meta-actions" };
32211
32211
  const _hoisted_3$4 = { class: "meta-actions-item-icon" };
32212
32212
  const _hoisted_4$3 = { class: "meta-actions-item-icon" };
32213
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
32213
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
32214
32214
  __name: "Grid",
32215
32215
  props: {
32216
32216
  items: {},
@@ -32228,7 +32228,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
32228
32228
  showMore.value = true;
32229
32229
  }
32230
32230
  return (_ctx, _cache) => {
32231
- return openBlock(), createElementBlock("div", _hoisted_1$f, [
32231
+ return openBlock(), createElementBlock("div", _hoisted_1$g, [
32232
32232
  createVNode(GridHeader, {
32233
32233
  showDescription: showDescription.value,
32234
32234
  "onUpdate:showDescription": _cache[0] || (_cache[0] = ($event) => showDescription.value = $event)
@@ -32259,7 +32259,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
32259
32259
  [vShow, !_ctx.showMoreFilter || _ctx.showMoreFilter && index < 5 || showMore.value]
32260
32260
  ]);
32261
32261
  }), 128)),
32262
- createElementVNode("div", _hoisted_2$9, [
32262
+ createElementVNode("div", _hoisted_2$a, [
32263
32263
  _ctx.addLabel ? (openBlock(), createElementBlock("button", {
32264
32264
  key: 0,
32265
32265
  class: "meta-actions-item",
@@ -32287,21 +32287,21 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
32287
32287
  };
32288
32288
  }
32289
32289
  });
32290
- const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-1dbaabfd"]]);
32291
- const _hoisted_1$e = { class: "navtable simpletable" };
32292
- const _hoisted_2$8 = { class: "navtable-table" };
32290
+ const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-1dbaabfd"]]);
32291
+ const _hoisted_1$f = { class: "navtable simpletable" };
32292
+ const _hoisted_2$9 = { class: "navtable-table" };
32293
32293
  const _hoisted_3$3 = /* @__PURE__ */ createStaticVNode('<div class="navtable-item navtable-item__top" data-v-5ba40e52><div class="navtable-item-33" data-v-5ba40e52><label for="" data-v-5ba40e52>Name</label></div><div class="navtable-item-66" data-v-5ba40e52><label for="" data-v-5ba40e52>Value</label></div></div>', 1);
32294
32294
  const _hoisted_4$2 = { class: "navtable-item-33" };
32295
32295
  const _hoisted_5$2 = { class: "navtable-item-66" };
32296
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
32296
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
32297
32297
  __name: "SimpleGrid",
32298
32298
  props: {
32299
32299
  items: {}
32300
32300
  },
32301
32301
  setup(__props) {
32302
32302
  return (_ctx, _cache) => {
32303
- return openBlock(), createElementBlock("div", _hoisted_1$e, [
32304
- createElementVNode("div", _hoisted_2$8, [
32303
+ return openBlock(), createElementBlock("div", _hoisted_1$f, [
32304
+ createElementVNode("div", _hoisted_2$9, [
32305
32305
  _hoisted_3$3,
32306
32306
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item) => {
32307
32307
  return openBlock(), createElementBlock("div", {
@@ -32321,9 +32321,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
32321
32321
  };
32322
32322
  }
32323
32323
  });
32324
- const SimpleGrid = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-5ba40e52"]]);
32325
- const _hoisted_1$d = { key: 0 };
32326
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
32324
+ const SimpleGrid = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-5ba40e52"]]);
32325
+ const _hoisted_1$e = { key: 0 };
32326
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
32327
32327
  __name: "RequestBody",
32328
32328
  props: {
32329
32329
  body: {},
@@ -32340,9 +32340,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
32340
32340
  }
32341
32341
  };
32342
32342
  return (_ctx, _cache) => {
32343
- return openBlock(), createBlock(unref(_sfc_main$v), { title: "Body" }, {
32343
+ return openBlock(), createBlock(unref(_sfc_main$w), { title: "Body" }, {
32344
32344
  default: withCtx(() => [
32345
- _ctx.body && _ctx.body.length === 0 && _ctx.formData && _ctx.formData.length === 0 ? (openBlock(), createElementBlock("span", _hoisted_1$d, "No Body")) : _ctx.formData && _ctx.formData.length > 0 ? (openBlock(), createBlock(unref(Grid), {
32345
+ _ctx.body && _ctx.body.length === 0 && _ctx.formData && _ctx.formData.length === 0 ? (openBlock(), createElementBlock("span", _hoisted_1$e, "No Body")) : _ctx.formData && _ctx.formData.length > 0 ? (openBlock(), createBlock(unref(Grid), {
32346
32346
  key: 1,
32347
32347
  items: _ctx.formData
32348
32348
  }, null, 8, ["items"])) : (openBlock(), createBlock(unref(CodeMirror), {
@@ -32358,11 +32358,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
32358
32358
  };
32359
32359
  }
32360
32360
  });
32361
- const _hoisted_1$c = {
32361
+ const _hoisted_1$d = {
32362
32362
  key: 0,
32363
32363
  class: "scalar-api-client__empty-state"
32364
32364
  };
32365
- const _hoisted_2$7 = /* @__PURE__ */ createElementVNode("svg", {
32365
+ const _hoisted_2$8 = /* @__PURE__ */ createElementVNode("svg", {
32366
32366
  class: "flow-icon",
32367
32367
  "data-v-aa4fbd2d": "",
32368
32368
  height: "100%",
@@ -32379,7 +32379,7 @@ const _hoisted_2$7 = /* @__PURE__ */ createElementVNode("svg", {
32379
32379
  xmlns: "http://www.w3.org/2000/svg"
32380
32380
  })
32381
32381
  ], -1);
32382
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
32382
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
32383
32383
  __name: "RequestCookies",
32384
32384
  props: {
32385
32385
  cookies: {},
@@ -32404,18 +32404,18 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
32404
32404
  return !!(((_a2 = props.cookies) == null ? void 0 : _a2.length) || ((_b = props.generatedCookies) == null ? void 0 : _b.length));
32405
32405
  });
32406
32406
  return (_ctx, _cache) => {
32407
- return openBlock(), createBlock(unref(_sfc_main$v), {
32407
+ return openBlock(), createBlock(unref(_sfc_main$w), {
32408
32408
  defaultOpen: hasCookies.value,
32409
32409
  title: "Cookies"
32410
32410
  }, {
32411
32411
  default: withCtx(() => [
32412
- !hasCookies.value ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
32412
+ !hasCookies.value ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
32413
32413
  createElementVNode("button", {
32414
32414
  class: "scalar-api-client-add",
32415
32415
  type: "button",
32416
32416
  onClick: addAnotherHandler
32417
32417
  }, [
32418
- _hoisted_2$7,
32418
+ _hoisted_2$8,
32419
32419
  createTextVNode(" Cookies ")
32420
32420
  ])
32421
32421
  ])) : (openBlock(), createBlock(unref(Grid), {
@@ -32432,11 +32432,11 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
32432
32432
  };
32433
32433
  }
32434
32434
  });
32435
- const _hoisted_1$b = {
32435
+ const _hoisted_1$c = {
32436
32436
  key: 0,
32437
32437
  class: "scalar-api-client__empty-state"
32438
32438
  };
32439
- const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("svg", {
32439
+ const _hoisted_2$7 = /* @__PURE__ */ createElementVNode("svg", {
32440
32440
  class: "flow-icon",
32441
32441
  "data-v-aa4fbd2d": "",
32442
32442
  height: "100%",
@@ -32453,7 +32453,7 @@ const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("svg", {
32453
32453
  xmlns: "http://www.w3.org/2000/svg"
32454
32454
  })
32455
32455
  ], -1);
32456
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
32456
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
32457
32457
  __name: "RequestHeaders",
32458
32458
  props: {
32459
32459
  headers: {},
@@ -32478,18 +32478,18 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
32478
32478
  return !!(((_a2 = props.headers) == null ? void 0 : _a2.length) || ((_b = props.generatedHeaders) == null ? void 0 : _b.length));
32479
32479
  });
32480
32480
  return (_ctx, _cache) => {
32481
- return openBlock(), createBlock(unref(_sfc_main$v), {
32481
+ return openBlock(), createBlock(unref(_sfc_main$w), {
32482
32482
  defaultOpen: hasHeaders.value,
32483
32483
  title: "Headers"
32484
32484
  }, {
32485
32485
  default: withCtx(() => [
32486
- !hasHeaders.value ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
32486
+ !hasHeaders.value ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
32487
32487
  createElementVNode("button", {
32488
32488
  class: "scalar-api-client-add",
32489
32489
  type: "button",
32490
32490
  onClick: addAnotherHandler
32491
32491
  }, [
32492
- _hoisted_2$6,
32492
+ _hoisted_2$7,
32493
32493
  createTextVNode(" Headers ")
32494
32494
  ])
32495
32495
  ])) : (openBlock(), createBlock(unref(Grid), {
@@ -32506,11 +32506,11 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
32506
32506
  };
32507
32507
  }
32508
32508
  });
32509
- const _hoisted_1$a = {
32509
+ const _hoisted_1$b = {
32510
32510
  key: 0,
32511
32511
  class: "scalar-api-client__empty-state"
32512
32512
  };
32513
- const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("svg", {
32513
+ const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("svg", {
32514
32514
  class: "flow-icon",
32515
32515
  "data-v-aa4fbd2d": "",
32516
32516
  height: "100%",
@@ -32527,7 +32527,7 @@ const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("svg", {
32527
32527
  xmlns: "http://www.w3.org/2000/svg"
32528
32528
  })
32529
32529
  ], -1);
32530
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
32530
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
32531
32531
  __name: "RequestQuery",
32532
32532
  props: {
32533
32533
  queries: {},
@@ -32552,18 +32552,18 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
32552
32552
  return !!(((_a2 = props.queries) == null ? void 0 : _a2.length) || ((_b = props.generatedQueries) == null ? void 0 : _b.length));
32553
32553
  });
32554
32554
  return (_ctx, _cache) => {
32555
- return openBlock(), createBlock(unref(_sfc_main$v), {
32555
+ return openBlock(), createBlock(unref(_sfc_main$w), {
32556
32556
  defaultOpen: hasQueries.value,
32557
32557
  title: "Query Parameters"
32558
32558
  }, {
32559
32559
  default: withCtx(() => [
32560
- !hasQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$a, [
32560
+ !hasQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
32561
32561
  createElementVNode("button", {
32562
32562
  class: "scalar-api-client-add",
32563
32563
  type: "button",
32564
32564
  onClick: addAnotherHandler
32565
32565
  }, [
32566
- _hoisted_2$5,
32566
+ _hoisted_2$6,
32567
32567
  createTextVNode(" Query Parameter ")
32568
32568
  ])
32569
32569
  ])) : (openBlock(), createBlock(unref(Grid), {
@@ -32581,11 +32581,11 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
32581
32581
  };
32582
32582
  }
32583
32583
  });
32584
- const _hoisted_1$9 = {
32584
+ const _hoisted_1$a = {
32585
32585
  key: 0,
32586
32586
  class: "scalar-api-client__empty-state"
32587
32587
  };
32588
- const _hoisted_2$4 = /* @__PURE__ */ createElementVNode("svg", {
32588
+ const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("svg", {
32589
32589
  class: "flow-icon",
32590
32590
  "data-v-aa4fbd2d": "",
32591
32591
  height: "100%",
@@ -32602,7 +32602,7 @@ const _hoisted_2$4 = /* @__PURE__ */ createElementVNode("svg", {
32602
32602
  xmlns: "http://www.w3.org/2000/svg"
32603
32603
  })
32604
32604
  ], -1);
32605
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
32605
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
32606
32606
  __name: "RequestVariables",
32607
32607
  props: {
32608
32608
  variables: {}
@@ -32621,18 +32621,18 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
32621
32621
  (_a2 = activeRequest2.variables) == null ? void 0 : _a2.push({ name: "", value: "", enabled: true });
32622
32622
  }
32623
32623
  return (_ctx, _cache) => {
32624
- return openBlock(), createBlock(unref(_sfc_main$v), {
32624
+ return openBlock(), createBlock(unref(_sfc_main$w), {
32625
32625
  defaultOpen: unref(activeRequest2).variables && unref(activeRequest2).variables.length > 0,
32626
32626
  title: "Variables"
32627
32627
  }, {
32628
32628
  default: withCtx(() => [
32629
- !_ctx.variables || _ctx.variables.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$9, [
32629
+ !_ctx.variables || _ctx.variables.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$a, [
32630
32630
  createElementVNode("button", {
32631
32631
  class: "scalar-api-client-add",
32632
32632
  type: "button",
32633
32633
  onClick: addAnotherHandler
32634
32634
  }, [
32635
- _hoisted_2$4,
32635
+ _hoisted_2$5,
32636
32636
  createTextVNode(" Variable ")
32637
32637
  ])
32638
32638
  ])) : (openBlock(), createBlock(unref(Grid), {
@@ -32649,14 +32649,16 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
32649
32649
  };
32650
32650
  }
32651
32651
  });
32652
- const _hoisted_1$8 = { class: "scalar-api-client__main__left custom-scroll" };
32653
- const _hoisted_2$3 = { class: "scalar-api-client__main__content" };
32654
- const _hoisted_3$2 = /* @__PURE__ */ createElementVNode("label", null, "Request", -1);
32655
- const _hoisted_4$1 = { class: "meta" };
32656
- const _hoisted_5$1 = { class: "meta-item meta-item__input" };
32657
- const _hoisted_6$1 = /* @__PURE__ */ createElementVNode("div", { class: "scalar-api-client__main__scroll-container" }, null, -1);
32652
+ const _hoisted_1$9 = { class: "scalar-api-client__main__left custom-scroll" };
32653
+ const _hoisted_2$4 = { class: "scalar-api-client__main__content" };
32654
+ const _hoisted_3$2 = { class: "scalar-api-client__main__content__header" };
32655
+ const _hoisted_4$1 = /* @__PURE__ */ createElementVNode("label", null, "Request", -1);
32656
+ const _hoisted_5$1 = { class: "meta" };
32657
+ const _hoisted_6$1 = { class: "meta-item meta-item__input" };
32658
+ const _hoisted_7$1 = { class: "scalar-api-client__main__content__body" };
32659
+ const _hoisted_8$1 = /* @__PURE__ */ createElementVNode("div", { class: "scalar-api-client__main__scroll-container" }, null, -1);
32658
32660
  const readOnly = true;
32659
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
32661
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
32660
32662
  __name: "Request",
32661
32663
  setup(__props) {
32662
32664
  const { activeRequest: activeRequest2 } = useRequestStore();
@@ -32678,52 +32680,81 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
32678
32680
  return requestType === "put" || requestType === "post" || requestType === "patch";
32679
32681
  });
32680
32682
  return (_ctx, _cache) => {
32681
- return openBlock(), createElementBlock("div", _hoisted_1$8, [
32682
- createElementVNode("div", _hoisted_2$3, [
32683
- _hoisted_3$2,
32684
- createElementVNode("div", _hoisted_4$1, [
32683
+ return openBlock(), createElementBlock("div", _hoisted_1$9, [
32684
+ createElementVNode("div", _hoisted_2$4, [
32685
+ createElementVNode("div", _hoisted_3$2, [
32686
+ _hoisted_4$1,
32685
32687
  createElementVNode("div", _hoisted_5$1, [
32686
- withDirectives(createElementVNode("input", {
32687
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(activeRequest2).name = $event),
32688
- class: "scalar-api-client__request-name",
32689
- disabled: readOnly,
32690
- placeholder: "Request Name",
32691
- type: "text"
32692
- }, null, 512), [
32693
- [vModelText, unref(activeRequest2).name]
32688
+ createElementVNode("div", _hoisted_6$1, [
32689
+ withDirectives(createElementVNode("input", {
32690
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(activeRequest2).name = $event),
32691
+ class: "scalar-api-client__request-name",
32692
+ disabled: readOnly,
32693
+ placeholder: "Request Name",
32694
+ type: "text"
32695
+ }, null, 512), [
32696
+ [vModelText, unref(activeRequest2).name]
32697
+ ])
32694
32698
  ])
32695
32699
  ])
32700
+ ]),
32701
+ createElementVNode("div", _hoisted_7$1, [
32702
+ createVNode(_sfc_main$c, {
32703
+ variables: unref(activeRequest2).variables
32704
+ }, null, 8, ["variables"]),
32705
+ createVNode(unref(RequestAuthentication)),
32706
+ createVNode(_sfc_main$f, {
32707
+ cookies: unref(activeRequest2).cookies,
32708
+ generatedCookies: authenticationRequest.value.cookies
32709
+ }, null, 8, ["cookies", "generatedCookies"]),
32710
+ createVNode(_sfc_main$e, {
32711
+ generatedHeaders: authenticationRequest.value.headers,
32712
+ headers: unref(activeRequest2).headers
32713
+ }, null, 8, ["generatedHeaders", "headers"]),
32714
+ createVNode(_sfc_main$d, {
32715
+ generatedQueries: authenticationRequest.value.queryString,
32716
+ queries: unref(activeRequest2).query
32717
+ }, null, 8, ["generatedQueries", "queries"]),
32718
+ showRequestBody.value ? (openBlock(), createBlock(_sfc_main$g, {
32719
+ key: 0,
32720
+ body: unref(activeRequest2).body,
32721
+ formData: unref(activeRequest2).formData,
32722
+ requestBody: unref(activeRequest2).body
32723
+ }, null, 8, ["body", "formData", "requestBody"])) : createCommentVNode("", true),
32724
+ _hoisted_8$1
32696
32725
  ])
32697
- ]),
32698
- createElementVNode("div", null, [
32699
- createVNode(_sfc_main$b, {
32700
- variables: unref(activeRequest2).variables
32701
- }, null, 8, ["variables"]),
32702
- createVNode(unref(RequestAuthentication)),
32703
- createVNode(_sfc_main$e, {
32704
- cookies: unref(activeRequest2).cookies,
32705
- generatedCookies: authenticationRequest.value.cookies
32706
- }, null, 8, ["cookies", "generatedCookies"]),
32707
- createVNode(_sfc_main$d, {
32708
- generatedHeaders: authenticationRequest.value.headers,
32709
- headers: unref(activeRequest2).headers
32710
- }, null, 8, ["generatedHeaders", "headers"]),
32711
- createVNode(_sfc_main$c, {
32712
- generatedQueries: authenticationRequest.value.queryString,
32713
- queries: unref(activeRequest2).query
32714
- }, null, 8, ["generatedQueries", "queries"]),
32715
- showRequestBody.value ? (openBlock(), createBlock(_sfc_main$f, {
32716
- key: 0,
32717
- body: unref(activeRequest2).body,
32718
- formData: unref(activeRequest2).formData,
32719
- requestBody: unref(activeRequest2).body
32720
- }, null, 8, ["body", "formData", "requestBody"])) : createCommentVNode("", true),
32721
- _hoisted_6$1
32722
32726
  ])
32723
32727
  ]);
32724
32728
  };
32725
32729
  }
32726
32730
  });
32731
+ const Computer = " .,,uod8B8bou,,.\n ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.\n ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,\n |||| '\"\"^^!!||||||||||TFPRBBBVT!:...!\n |||| '\"\"^^!!|||||?!:.......!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n ||||, ||||.........`\n |||||!!-._ ||||.......;.\n ':!|||||||||!!-._ ||||.....bBBBBWdou,.\n bBBBBB86foi!|||||||!!-..:|||!..bBBBBBBBBBBBBBBY!\n ::!?TFPRBBBBBB86foi!||||||||!!bBBBBBBBBBBBBBBY..!\n :::::::::!?TFPRBBBBBB86ftiaabBBBBBBBBBBBBBBY....!\n :::;`\"^!:;::::::!?TFPRBBBBBBBBBBBBBBBBBBBY......!\n ;::::::...''^::::::::::!?TFPRBBBBBBBBBBY........!\n .ob86foi;::::::::::::::::::::::::!?TFPRBY..........`\n .b888888888886foi;:::::::::::::::::::::::..........`\n .b888888888888888888886foi;::::::::::::::::..........\n.b888888888888888888888888888886foi;:::::::::......`\n!Tf998888888888888888888888888888888886foi;:::....`\n '\"^!|Tf9988888888888888888888888888888888!::..`\n '\"^!|Tf998888888888888888888888889!! '`\n '\"^!|Tf9988888888888888888!!` iBBbo.\n '\"^!|Tf998888888889!` WBBBBbo.\n '\"^!|Tf9989!` YBBBP^'\n '\"^!` `\n";
32732
+ const _hoisted_1$8 = { class: "ascii-art" };
32733
+ const _hoisted_2$3 = { class: "ascii-art-line" };
32734
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
32735
+ __name: "ScalarAsciiArt",
32736
+ props: {
32737
+ art: {}
32738
+ },
32739
+ setup(__props) {
32740
+ const props = __props;
32741
+ const lines = computed(() => props.art.split("\n"));
32742
+ return (_ctx, _cache) => {
32743
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
32744
+ (openBlock(true), createElementBlock(Fragment, null, renderList(lines.value, (line, i) => {
32745
+ return openBlock(), createElementBlock("span", {
32746
+ key: i,
32747
+ class: "ascii-art-line-wrapper",
32748
+ style: normalizeStyle({ width: `calc(${line.length + 1}ch)` })
32749
+ }, [
32750
+ createElementVNode("span", _hoisted_2$3, toDisplayString(line), 1)
32751
+ ], 4);
32752
+ }), 128))
32753
+ ]);
32754
+ };
32755
+ }
32756
+ });
32757
+ const ScalarAsciiArt = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-c706348d"]]);
32727
32758
  const _hoisted_1$7 = {
32728
32759
  key: 1,
32729
32760
  class: "scalar-api-client__empty-state"
@@ -32767,7 +32798,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
32767
32798
  return null;
32768
32799
  });
32769
32800
  return (_ctx, _cache) => {
32770
- return openBlock(), createBlock(unref(_sfc_main$v), { title: "Body" }, {
32801
+ return openBlock(), createBlock(unref(_sfc_main$w), { title: "Body" }, {
32771
32802
  default: withCtx(() => [
32772
32803
  _ctx.active ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
32773
32804
  codeMirrorLanguage.value ? (openBlock(), createBlock(unref(Ot), {
@@ -32889,7 +32920,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
32889
32920
  }).join("-");
32890
32921
  };
32891
32922
  return (_ctx, _cache) => {
32892
- return openBlock(), createBlock(unref(_sfc_main$v), { title: "Headers" }, {
32923
+ return openBlock(), createBlock(unref(_sfc_main$w), { title: "Headers" }, {
32893
32924
  default: withCtx(() => [
32894
32925
  _ctx.headers.length > 0 ? (openBlock(), createBlock(unref(SimpleTable), { key: 0 }, {
32895
32926
  default: withCtx(() => [
@@ -33004,21 +33035,26 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
33004
33035
  });
33005
33036
  const _hoisted_1$1 = { class: "scalar-api-client__main__right custom-scroll" };
33006
33037
  const _hoisted_2 = { class: "scalar-api-client__main__content" };
33007
- const _hoisted_3 = /* @__PURE__ */ createElementVNode("label", null, "Response", -1);
33008
- const _hoisted_4 = { class: "meta" };
33038
+ const _hoisted_3 = { class: "scalar-api-client__main__content__header" };
33039
+ const _hoisted_4 = /* @__PURE__ */ createElementVNode("label", null, "Response", -1);
33009
33040
  const _hoisted_5 = {
33010
- key: 1,
33011
- class: "meta-item"
33041
+ key: 0,
33042
+ class: "meta"
33012
33043
  };
33013
- const _hoisted_6 = /* @__PURE__ */ createElementVNode("span", null, "Send your first request to start", -1);
33014
- const _hoisted_7 = [
33015
- _hoisted_6
33016
- ];
33017
- const _hoisted_8 = {
33044
+ const _hoisted_6 = {
33045
+ key: 0,
33046
+ class: "scalar-api-client__main__content__body"
33047
+ };
33048
+ const _hoisted_7 = {
33018
33049
  key: 0,
33019
33050
  class: "scalar-api-client__empty-state"
33020
33051
  };
33021
- const _hoisted_9 = /* @__PURE__ */ createElementVNode("div", { class: "scalar-api-client__main__scroll-container" }, null, -1);
33052
+ const _hoisted_8 = /* @__PURE__ */ createElementVNode("div", { class: "scalar-api-client__main__scroll-container" }, null, -1);
33053
+ const _hoisted_9 = {
33054
+ key: 1,
33055
+ class: "scalar-api-client__main__content empty-state"
33056
+ };
33057
+ const _hoisted_10 = /* @__PURE__ */ createElementVNode("p", null, "Fill the void and send your request", -1);
33022
33058
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
33023
33059
  __name: "Response",
33024
33060
  setup(__props) {
@@ -33054,31 +33090,33 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
33054
33090
  return (_ctx, _cache) => {
33055
33091
  return openBlock(), createElementBlock("div", _hoisted_1$1, [
33056
33092
  createElementVNode("div", _hoisted_2, [
33057
- _hoisted_3,
33058
- createElementVNode("div", _hoisted_4, [
33059
- unref(activeRequestId2) && unref(activeResponse2) ? (openBlock(), createBlock(_sfc_main$2, {
33060
- key: 0,
33061
- response: unref(activeResponse2)
33062
- }, null, 8, ["response"])) : (openBlock(), createElementBlock("div", _hoisted_5, _hoisted_7))
33063
- ])
33064
- ]),
33065
- createElementVNode("div", null, [
33066
- createVNode(_sfc_main$9, {
33067
- active: !!unref(activeResponse2),
33068
- data: responseData.value,
33069
- headers: responseHeaders.value
33070
- }, null, 8, ["active", "data", "headers"]),
33071
- createVNode(_sfc_main$3, { headers: responseHeaders.value }, null, 8, ["headers"]),
33072
- createVNode(unref(_sfc_main$v), { title: "Cookies" }, {
33073
- default: withCtx(() => [
33074
- withDirectives(createVNode(unref(SimpleGrid), { items: responseCookies.value }, null, 8, ["items"]), [
33075
- [vShow, responseCookies.value.length > 0]
33093
+ createElementVNode("div", _hoisted_3, [
33094
+ _hoisted_4,
33095
+ unref(activeRequestId2) && unref(activeResponse2) ? (openBlock(), createElementBlock("div", _hoisted_5, [
33096
+ createVNode(_sfc_main$2, { response: unref(activeResponse2) }, null, 8, ["response"])
33097
+ ])) : createCommentVNode("", true)
33098
+ ]),
33099
+ unref(activeRequestId2) && unref(activeResponse2) ? (openBlock(), createElementBlock("div", _hoisted_6, [
33100
+ createVNode(_sfc_main$9, {
33101
+ active: !!unref(activeResponse2),
33102
+ data: responseData.value,
33103
+ headers: responseHeaders.value
33104
+ }, null, 8, ["active", "data", "headers"]),
33105
+ createVNode(_sfc_main$3, { headers: responseHeaders.value }, null, 8, ["headers"]),
33106
+ createVNode(unref(_sfc_main$w), { title: "Cookies" }, {
33107
+ default: withCtx(() => [
33108
+ withDirectives(createVNode(unref(SimpleGrid), { items: responseCookies.value }, null, 8, ["items"]), [
33109
+ [vShow, responseCookies.value.length > 0]
33110
+ ]),
33111
+ responseCookies.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_7, "No Cookies")) : createCommentVNode("", true)
33076
33112
  ]),
33077
- responseCookies.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_8, "No Cookies")) : createCommentVNode("", true)
33078
- ]),
33079
- _: 1
33080
- }),
33081
- _hoisted_9
33113
+ _: 1
33114
+ }),
33115
+ _hoisted_8
33116
+ ])) : (openBlock(), createElementBlock("div", _hoisted_9, [
33117
+ createVNode(ScalarAsciiArt, { art: unref(Computer) }, null, 8, ["art"]),
33118
+ _hoisted_10
33119
+ ]))
33082
33120
  ])
33083
33121
  ]);
33084
33122
  };
@@ -33094,12 +33132,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33094
33132
  withDefaultFonts: { type: Boolean, default: true },
33095
33133
  showSideBar: { type: Boolean, default: false }
33096
33134
  },
33097
- emits: ["escapeKeyPress"],
33135
+ emits: ["escapeKeyPress", "toggleSidebar"],
33098
33136
  setup(__props, { emit: __emit }) {
33099
33137
  const props = __props;
33100
33138
  const emit = __emit;
33101
33139
  const keys = useMagicKeys();
33102
33140
  whenever(keys.escape, () => emit("escapeKeyPress"));
33141
+ whenever(keys.meta_b, () => emit("toggleSidebar"));
33103
33142
  const { activeRequest: activeRequest2, readOnly: stateReadOnly } = useRequestStore();
33104
33143
  const isSmallScreen = useMediaQuery("(max-width: 820px)");
33105
33144
  const selectedTab = ref(0);
@@ -33119,11 +33158,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33119
33158
  );
33120
33159
  return (_ctx, _cache) => {
33121
33160
  return openBlock(), createElementBlock(Fragment, null, [
33122
- createVNode(unref(_sfc_main$E), {
33161
+ createVNode(unref(_sfc_main$F), {
33123
33162
  id: _ctx.theme,
33124
33163
  withDefaultFonts: _ctx.withDefaultFonts
33125
33164
  }, null, 8, ["id", "withDefaultFonts"]),
33126
- createVNode(_sfc_main$C, {
33165
+ createVNode(_sfc_main$D, {
33127
33166
  class: "scalar-api-client",
33128
33167
  method: unref(activeRequest2).type ?? "get",
33129
33168
  property: "--scalar-api-client-color",
@@ -33140,7 +33179,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33140
33179
  createElementVNode("div", _hoisted_1, [
33141
33180
  _ctx.showSideBar ? renderSlot(_ctx.$slots, "sidebar", { key: 0 }) : createCommentVNode("", true),
33142
33181
  !unref(isSmallScreen) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
33143
- createVNode(unref(_sfc_main$a)),
33182
+ createVNode(unref(_sfc_main$b)),
33144
33183
  createVNode(unref(_sfc_main$1))
33145
33184
  ], 64)) : (openBlock(), createBlock(unref(TabGroup), {
33146
33185
  key: 2,
@@ -33177,7 +33216,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33177
33216
  default: withCtx(() => [
33178
33217
  createVNode(unref(TabPanel), { as: "template" }, {
33179
33218
  default: withCtx(() => [
33180
- createVNode(unref(_sfc_main$a))
33219
+ createVNode(unref(_sfc_main$b))
33181
33220
  ]),
33182
33221
  _: 1
33183
33222
  }),
@@ -33203,7 +33242,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33203
33242
  });
33204
33243
  export {
33205
33244
  _sfc_main as ApiClient,
33206
- _sfc_main$C as HttpMethod,
33245
+ _sfc_main$D as HttpMethod,
33207
33246
  RequestAuthentication,
33208
33247
  SecurityScheme,
33209
33248
  SecuritySchemeSelector,