@scalar/api-client 1.1.3 → 1.1.5

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
@@ -16,7 +16,7 @@ var __publicField = (obj, key, value) => {
16
16
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
17
17
  return value;
18
18
  };
19
- import { defineComponent, openBlock, createBlock, resolveDynamicComponent, withCtx, createTextVNode, toDisplayString, unref, createCommentVNode, reactive, readonly, ref, computed, normalizeStyle, renderSlot, normalizeProps, guardReactiveProps, watch, onBeforeUnmount, toValue as toValue$1, toRef, createElementBlock, createElementVNode, createVNode, normalizeClass, Fragment, renderList, createStaticVNode, pushScopeId, popScopeId, withDirectives, withModifiers, vModelSelect, vModelText, vModelCheckbox, defineAsyncComponent, nextTick, onMounted, h, vShow, toRaw, withKeys } from "vue";
19
+ import { defineComponent, openBlock, createBlock, resolveDynamicComponent, withCtx, createTextVNode, toDisplayString, unref, createCommentVNode, reactive, readonly, ref, computed, normalizeStyle, renderSlot, normalizeProps, guardReactiveProps, watch, onBeforeUnmount, toValue as toValue$1, toRef, createElementBlock, createElementVNode, createVNode, normalizeClass, Fragment, renderList, createStaticVNode, pushScopeId, popScopeId, withDirectives, withModifiers, vModelSelect, vModelText, vModelCheckbox, defineAsyncComponent, nextTick, onServerPrefetch, onMounted, h, vShow, toRaw, withKeys } from "vue";
20
20
  import { Dialog, DialogPanel, DialogTitle, DialogDescription, Disclosure, DisclosureButton, DisclosurePanel, TabGroup, TabList, Tab, TabPanels, TabPanel } from "@headlessui/vue";
21
21
  import { useMagicKeys, whenever, useMediaQuery } from "@vueuse/core";
22
22
  import axios from "axios";
@@ -2555,7 +2555,7 @@ class Facet {
2555
2555
  }
2556
2556
  from(field, get) {
2557
2557
  if (!get)
2558
- get = (x) => x;
2558
+ get = (x2) => x2;
2559
2559
  return this.compute([field], (state2) => get(state2.field(field)));
2560
2560
  }
2561
2561
  }
@@ -3391,8 +3391,8 @@ class EditorState {
3391
3391
  for (let i = 1; i < sel.ranges.length; i++) {
3392
3392
  let result = f(sel.ranges[i]);
3393
3393
  let newChanges = this.changes(result.changes), newMapped = newChanges.map(changes);
3394
- for (let j = 0; j < i; j++)
3395
- ranges[j] = ranges[j].map(newMapped);
3394
+ for (let j2 = 0; j2 < i; j2++)
3395
+ ranges[j2] = ranges[j2].map(newMapped);
3396
3396
  let mapBy = changes.mapDesc(newChanges, true);
3397
3397
  ranges.push(result.range.map(mapBy));
3398
3398
  changes = changes.compose(newMapped);
@@ -4530,24 +4530,24 @@ class StyleSet {
4530
4530
  }
4531
4531
  mount(modules) {
4532
4532
  let sheet = this.sheet;
4533
- let pos = 0, j = 0;
4533
+ let pos = 0, j2 = 0;
4534
4534
  for (let i = 0; i < modules.length; i++) {
4535
4535
  let mod = modules[i], index = this.modules.indexOf(mod);
4536
- if (index < j && index > -1) {
4536
+ if (index < j2 && index > -1) {
4537
4537
  this.modules.splice(index, 1);
4538
- j--;
4538
+ j2--;
4539
4539
  index = -1;
4540
4540
  }
4541
4541
  if (index == -1) {
4542
- this.modules.splice(j++, 0, mod);
4542
+ this.modules.splice(j2++, 0, mod);
4543
4543
  if (sheet)
4544
4544
  for (let k = 0; k < mod.rules.length; k++)
4545
4545
  sheet.insertRule(mod.rules[k], pos++);
4546
4546
  } else {
4547
- while (j < index)
4548
- pos += this.modules[j++].rules.length;
4547
+ while (j2 < index)
4548
+ pos += this.modules[j2++].rules.length;
4549
4549
  pos += mod.rules.length;
4550
- j++;
4550
+ j2++;
4551
4551
  }
4552
4552
  }
4553
4553
  if (sheet) {
@@ -4649,7 +4649,7 @@ var shift = {
4649
4649
  222: '"'
4650
4650
  };
4651
4651
  var mac = typeof navigator != "undefined" && /Mac/.test(navigator.platform);
4652
- var ie$1 = typeof navigator != "undefined" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
4652
+ var ie$2 = typeof navigator != "undefined" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
4653
4653
  for (var i = 0; i < 10; i++)
4654
4654
  base[48 + i] = base[96 + i] = String(i);
4655
4655
  for (var i = 1; i <= 24; i++)
@@ -4662,7 +4662,7 @@ for (var code in base)
4662
4662
  if (!shift.hasOwnProperty(code))
4663
4663
  shift[code] = base[code];
4664
4664
  function keyName(event) {
4665
- var ignoreKey = mac && event.metaKey && event.shiftKey && !event.ctrlKey && !event.altKey || ie$1 && event.shiftKey && event.key && event.key.length == 1 || event.key == "Unidentified";
4665
+ var ignoreKey = mac && event.metaKey && event.shiftKey && !event.ctrlKey && !event.altKey || ie$2 && event.shiftKey && event.key && event.key.length == 1 || event.key == "Unidentified";
4666
4666
  var name2 = !ignoreKey && event.key || (event.shiftKey ? shift : base)[event.keyCode] || event.key || "Unidentified";
4667
4667
  if (name2 == "Esc")
4668
4668
  name2 = "Escape";
@@ -4749,8 +4749,8 @@ function maxOffset(node) {
4749
4749
  return node.nodeType == 3 ? node.nodeValue.length : node.childNodes.length;
4750
4750
  }
4751
4751
  function flattenRect(rect, left) {
4752
- let x = left ? rect.left : rect.right;
4753
- return { left: x, right: x, top: rect.top, bottom: rect.bottom };
4752
+ let x2 = left ? rect.left : rect.right;
4753
+ return { left: x2, right: x2, top: rect.top, bottom: rect.bottom };
4754
4754
  }
4755
4755
  function windowRect(win) {
4756
4756
  return {
@@ -4769,7 +4769,7 @@ function getScale(elt, rect) {
4769
4769
  scaleY = 1;
4770
4770
  return { scaleX, scaleY };
4771
4771
  }
4772
- function scrollRectIntoView(dom, rect, side, x, y, xMargin, yMargin, ltr) {
4772
+ function scrollRectIntoView(dom, rect, side, x2, y, xMargin, yMargin, ltr) {
4773
4773
  let doc2 = dom.ownerDocument, win = doc2.defaultView || window;
4774
4774
  for (let cur2 = dom, stop = false; cur2 && !stop; ) {
4775
4775
  if (cur2.nodeType == 1) {
@@ -4809,7 +4809,7 @@ function scrollRectIntoView(dom, rect, side, x, y, xMargin, yMargin, ltr) {
4809
4809
  let targetTop = y == "center" && rectHeight <= boundingHeight ? rect.top + rectHeight / 2 - boundingHeight / 2 : y == "start" || y == "center" && side < 0 ? rect.top - yMargin : rect.bottom - boundingHeight + yMargin;
4810
4810
  moveY = targetTop - bounding.top;
4811
4811
  }
4812
- if (x == "nearest") {
4812
+ if (x2 == "nearest") {
4813
4813
  if (rect.left < bounding.left) {
4814
4814
  moveX = -(bounding.left - rect.left + xMargin);
4815
4815
  if (side > 0 && rect.right > bounding.right + moveX)
@@ -4820,7 +4820,7 @@ function scrollRectIntoView(dom, rect, side, x, y, xMargin, yMargin, ltr) {
4820
4820
  moveX = -(bounding.left + moveX - rect.left + xMargin);
4821
4821
  }
4822
4822
  } else {
4823
- let targetLeft = x == "center" ? rect.left + (rect.right - rect.left) / 2 - (bounding.right - bounding.left) / 2 : x == "start" == ltr ? rect.left - xMargin : rect.right - (bounding.right - bounding.left) + xMargin;
4823
+ let targetLeft = x2 == "center" ? rect.left + (rect.right - rect.left) / 2 - (bounding.right - bounding.left) / 2 : x2 == "start" == ltr ? rect.left - xMargin : rect.right - (bounding.right - bounding.left) + xMargin;
4824
4824
  moveX = targetLeft - bounding.left;
4825
4825
  }
4826
4826
  if (moveX || moveY) {
@@ -4845,7 +4845,7 @@ function scrollRectIntoView(dom, rect, side, x, y, xMargin, yMargin, ltr) {
4845
4845
  bottom: rect.bottom - movedY
4846
4846
  };
4847
4847
  if (movedX && Math.abs(movedX - moveX) < 1)
4848
- x = "nearest";
4848
+ x2 = "nearest";
4849
4849
  if (movedY && Math.abs(movedY - moveY) < 1)
4850
4850
  y = "nearest";
4851
4851
  }
@@ -5320,17 +5320,17 @@ let doc = typeof document != "undefined" ? document : { documentElement: { style
5320
5320
  const ie_edge = /* @__PURE__ */ /Edge\/(\d+)/.exec(nav.userAgent);
5321
5321
  const ie_upto10 = /* @__PURE__ */ /MSIE \d/.test(nav.userAgent);
5322
5322
  const ie_11up = /* @__PURE__ */ /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(nav.userAgent);
5323
- const ie = !!(ie_upto10 || ie_11up || ie_edge);
5324
- const gecko = !ie && /* @__PURE__ */ /gecko\/(\d+)/i.test(nav.userAgent);
5325
- const chrome = !ie && /* @__PURE__ */ /Chrome\/(\d+)/.exec(nav.userAgent);
5323
+ const ie$1 = !!(ie_upto10 || ie_11up || ie_edge);
5324
+ const gecko = !ie$1 && /* @__PURE__ */ /gecko\/(\d+)/i.test(nav.userAgent);
5325
+ const chrome = !ie$1 && /* @__PURE__ */ /Chrome\/(\d+)/.exec(nav.userAgent);
5326
5326
  const webkit = "webkitFontSmoothing" in doc.documentElement.style;
5327
- const safari = !ie && /* @__PURE__ */ /Apple Computer/.test(nav.vendor);
5327
+ const safari = !ie$1 && /* @__PURE__ */ /Apple Computer/.test(nav.vendor);
5328
5328
  const ios = safari && (/* @__PURE__ */ /Mobile\/\w+/.test(nav.userAgent) || nav.maxTouchPoints > 2);
5329
5329
  var browser = {
5330
5330
  mac: ios || /* @__PURE__ */ /Mac/.test(nav.platform),
5331
5331
  windows: /* @__PURE__ */ /Win/.test(nav.platform),
5332
5332
  linux: /* @__PURE__ */ /Linux|X11/.test(nav.platform),
5333
- ie,
5333
+ ie: ie$1,
5334
5334
  ie_version: ie_upto10 ? doc.documentMode || 6 : ie_11up ? +ie_11up[1] : ie_edge ? +ie_edge[1] : 0,
5335
5335
  gecko,
5336
5336
  gecko_version: gecko ? +(/* @__PURE__ */ /Firefox\/(\d+)/.exec(nav.userAgent) || [0, 0])[1] : 0,
@@ -5649,13 +5649,13 @@ function inlineDOMAtPos(parent, pos) {
5649
5649
  break;
5650
5650
  off = end;
5651
5651
  }
5652
- for (let j = i; j > 0; j--) {
5653
- let prev = children[j - 1];
5652
+ for (let j2 = i; j2 > 0; j2--) {
5653
+ let prev = children[j2 - 1];
5654
5654
  if (prev.dom.parentNode == dom)
5655
5655
  return prev.domAtPos(prev.length);
5656
5656
  }
5657
- for (let j = i; j < children.length; j++) {
5658
- let next = children[j];
5657
+ for (let j2 = i; j2 < children.length; j2++) {
5658
+ let next = children[j2];
5659
5659
  if (next.dom.parentNode == dom)
5660
5660
  return next.domAtPos(0);
5661
5661
  }
@@ -5796,8 +5796,8 @@ class LineView extends ContentView {
5796
5796
  this.children[i].merge(off, this.children[i].length, null, false, 0, 0);
5797
5797
  i++;
5798
5798
  }
5799
- for (let j = i; j < this.children.length; j++)
5800
- end.append(this.children[j], 0);
5799
+ for (let j2 = i; j2 < this.children.length; j2++)
5800
+ end.append(this.children[j2], 0);
5801
5801
  while (i > 0 && this.children[i - 1].length == 0)
5802
5802
  this.children[--i].destroy();
5803
5803
  this.children.length = i;
@@ -6527,8 +6527,8 @@ function computeCharTypes(line, rFrom, rTo, isolates, outerType) {
6527
6527
  while (end < to && types[end] == 64)
6528
6528
  end++;
6529
6529
  let replace = i && prev == 8 || end < rTo && types[end] == 8 ? prevStrong == 1 ? 1 : 8 : 256;
6530
- for (let j = i; j < end; j++)
6531
- types[j] = replace;
6530
+ for (let j2 = i; j2 < end; j2++)
6531
+ types[j2] = replace;
6532
6532
  i = end - 1;
6533
6533
  } else if (type == 8 && prevStrong == 1) {
6534
6534
  types[i] = 1;
@@ -6604,12 +6604,12 @@ function processNeutrals(rFrom, rTo, isolates, outerType) {
6604
6604
  let beforeL = prev == 1;
6605
6605
  let afterL = (end < rTo ? types[end] : outerType) == 1;
6606
6606
  let replace = beforeL == afterL ? beforeL ? 1 : 2 : outerType;
6607
- for (let j = end, jI = iI, fromJ = jI ? isolates[jI - 1].to : rFrom; j > i; ) {
6608
- if (j == fromJ) {
6609
- j = isolates[--jI].from;
6607
+ for (let j2 = end, jI = iI, fromJ = jI ? isolates[jI - 1].to : rFrom; j2 > i; ) {
6608
+ if (j2 == fromJ) {
6609
+ j2 = isolates[--jI].from;
6610
6610
  fromJ = jI ? isolates[jI - 1].to : rFrom;
6611
6611
  }
6612
- types[--j] = replace;
6612
+ types[--j2] = replace;
6613
6613
  }
6614
6614
  i = end;
6615
6615
  } else {
@@ -6791,16 +6791,16 @@ const updateListener = /* @__PURE__ */ Facet.define();
6791
6791
  const inputHandler$1 = /* @__PURE__ */ Facet.define();
6792
6792
  const focusChangeEffect = /* @__PURE__ */ Facet.define();
6793
6793
  const perLineTextDirection = /* @__PURE__ */ Facet.define({
6794
- combine: (values2) => values2.some((x) => x)
6794
+ combine: (values2) => values2.some((x2) => x2)
6795
6795
  });
6796
6796
  const nativeSelectionHidden = /* @__PURE__ */ Facet.define({
6797
- combine: (values2) => values2.some((x) => x)
6797
+ combine: (values2) => values2.some((x2) => x2)
6798
6798
  });
6799
6799
  class ScrollTarget {
6800
- constructor(range, y = "nearest", x = "nearest", yMargin = 5, xMargin = 5, isSnapshot = false) {
6800
+ constructor(range, y = "nearest", x2 = "nearest", yMargin = 5, xMargin = 5, isSnapshot = false) {
6801
6801
  this.range = range;
6802
6802
  this.y = y;
6803
- this.x = x;
6803
+ this.x = x2;
6804
6804
  this.yMargin = yMargin;
6805
6805
  this.xMargin = xMargin;
6806
6806
  this.isSnapshot = isSnapshot;
@@ -7717,8 +7717,8 @@ function groupAt(state2, pos, bias = 1) {
7717
7717
  }
7718
7718
  return EditorSelection.range(from + line.from, to + line.from);
7719
7719
  }
7720
- function getdx(x, rect) {
7721
- return rect.left > x ? rect.left - x : Math.max(0, x - rect.right);
7720
+ function getdx(x2, rect) {
7721
+ return rect.left > x2 ? rect.left - x2 : Math.max(0, x2 - rect.right);
7722
7722
  }
7723
7723
  function getdy(y, rect) {
7724
7724
  return rect.top > y ? rect.top - y : Math.max(0, y - rect.bottom);
@@ -7732,7 +7732,7 @@ function upTop(rect, top2) {
7732
7732
  function upBot(rect, bottom) {
7733
7733
  return bottom > rect.bottom ? { top: rect.top, left: rect.left, right: rect.right, bottom } : rect;
7734
7734
  }
7735
- function domPosAtCoords(parent, x, y) {
7735
+ function domPosAtCoords(parent, x2, y) {
7736
7736
  let closest, closestRect, closestX, closestY, closestOverlap = false;
7737
7737
  let above, below, aboveRect, belowRect;
7738
7738
  for (let child = parent.firstChild; child; child = child.nextSibling) {
@@ -7741,15 +7741,15 @@ function domPosAtCoords(parent, x, y) {
7741
7741
  let rect = rects[i];
7742
7742
  if (closestRect && yOverlap(closestRect, rect))
7743
7743
  rect = upTop(upBot(rect, closestRect.bottom), closestRect.top);
7744
- let dx = getdx(x, rect), dy = getdy(y, rect);
7744
+ let dx = getdx(x2, rect), dy = getdy(y, rect);
7745
7745
  if (dx == 0 && dy == 0)
7746
- return child.nodeType == 3 ? domPosInText(child, x, y) : domPosAtCoords(child, x, y);
7746
+ return child.nodeType == 3 ? domPosInText(child, x2, y) : domPosAtCoords(child, x2, y);
7747
7747
  if (!closest || closestY > dy || closestY == dy && closestX > dx) {
7748
7748
  closest = child;
7749
7749
  closestRect = rect;
7750
7750
  closestX = dx;
7751
7751
  closestY = dy;
7752
- let side = dy ? y < rect.top ? -1 : 1 : dx ? x < rect.left ? -1 : 1 : 0;
7752
+ let side = dy ? y < rect.top ? -1 : 1 : dx ? x2 < rect.left ? -1 : 1 : 0;
7753
7753
  closestOverlap = !side || (side > 0 ? i < rects.length - 1 : i > 0);
7754
7754
  }
7755
7755
  if (dx == 0) {
@@ -7776,28 +7776,28 @@ function domPosAtCoords(parent, x, y) {
7776
7776
  }
7777
7777
  if (!closest)
7778
7778
  return { node: parent, offset: 0 };
7779
- let clipX = Math.max(closestRect.left, Math.min(closestRect.right, x));
7779
+ let clipX = Math.max(closestRect.left, Math.min(closestRect.right, x2));
7780
7780
  if (closest.nodeType == 3)
7781
7781
  return domPosInText(closest, clipX, y);
7782
7782
  if (closestOverlap && closest.contentEditable != "false")
7783
7783
  return domPosAtCoords(closest, clipX, y);
7784
- let offset = Array.prototype.indexOf.call(parent.childNodes, closest) + (x >= (closestRect.left + closestRect.right) / 2 ? 1 : 0);
7784
+ let offset = Array.prototype.indexOf.call(parent.childNodes, closest) + (x2 >= (closestRect.left + closestRect.right) / 2 ? 1 : 0);
7785
7785
  return { node: parent, offset };
7786
7786
  }
7787
- function domPosInText(node, x, y) {
7787
+ function domPosInText(node, x2, y) {
7788
7788
  let len = node.nodeValue.length;
7789
7789
  let closestOffset = -1, closestDY = 1e9, generalSide = 0;
7790
7790
  for (let i = 0; i < len; i++) {
7791
7791
  let rects = textRange(node, i, i + 1).getClientRects();
7792
- for (let j = 0; j < rects.length; j++) {
7793
- let rect = rects[j];
7792
+ for (let j2 = 0; j2 < rects.length; j2++) {
7793
+ let rect = rects[j2];
7794
7794
  if (rect.top == rect.bottom)
7795
7795
  continue;
7796
7796
  if (!generalSide)
7797
- generalSide = x - rect.left;
7797
+ generalSide = x2 - rect.left;
7798
7798
  let dy = (rect.top > y ? rect.top - y : y - rect.bottom) - 1;
7799
- if (rect.left - 1 <= x && rect.right + 1 >= x && dy < closestDY) {
7800
- let right = x >= (rect.left + rect.right) / 2, after = right;
7799
+ if (rect.left - 1 <= x2 && rect.right + 1 >= x2 && dy < closestDY) {
7800
+ let right = x2 >= (rect.left + rect.right) / 2, after = right;
7801
7801
  if (browser.chrome || browser.gecko) {
7802
7802
  let rectBefore = textRange(node, i).getBoundingClientRect();
7803
7803
  if (rectBefore.left == rect.right)
@@ -7816,7 +7816,7 @@ function posAtCoords(view, coords, precise, bias = -1) {
7816
7816
  var _a2, _b;
7817
7817
  let content2 = view.contentDOM.getBoundingClientRect(), docTop = content2.top + view.viewState.paddingTop;
7818
7818
  let block, { docHeight } = view.viewState;
7819
- let { x, y } = coords, yOffset = y - docTop;
7819
+ let { x: x2, y } = coords, yOffset = y - docTop;
7820
7820
  if (yOffset < 0)
7821
7821
  return 0;
7822
7822
  if (yOffset > docHeight)
@@ -7838,31 +7838,31 @@ function posAtCoords(view, coords, precise, bias = -1) {
7838
7838
  y = docTop + yOffset;
7839
7839
  let lineStart = block.from;
7840
7840
  if (lineStart < view.viewport.from)
7841
- return view.viewport.from == 0 ? 0 : precise ? null : posAtCoordsImprecise(view, content2, block, x, y);
7841
+ return view.viewport.from == 0 ? 0 : precise ? null : posAtCoordsImprecise(view, content2, block, x2, y);
7842
7842
  if (lineStart > view.viewport.to)
7843
- return view.viewport.to == view.state.doc.length ? view.state.doc.length : precise ? null : posAtCoordsImprecise(view, content2, block, x, y);
7843
+ return view.viewport.to == view.state.doc.length ? view.state.doc.length : precise ? null : posAtCoordsImprecise(view, content2, block, x2, y);
7844
7844
  let doc2 = view.dom.ownerDocument;
7845
7845
  let root = view.root.elementFromPoint ? view.root : doc2;
7846
- let element = root.elementFromPoint(x, y);
7846
+ let element = root.elementFromPoint(x2, y);
7847
7847
  if (element && !view.contentDOM.contains(element))
7848
7848
  element = null;
7849
7849
  if (!element) {
7850
- x = Math.max(content2.left + 1, Math.min(content2.right - 1, x));
7851
- element = root.elementFromPoint(x, y);
7850
+ x2 = Math.max(content2.left + 1, Math.min(content2.right - 1, x2));
7851
+ element = root.elementFromPoint(x2, y);
7852
7852
  if (element && !view.contentDOM.contains(element))
7853
7853
  element = null;
7854
7854
  }
7855
7855
  let node, offset = -1;
7856
7856
  if (element && ((_a2 = view.docView.nearest(element)) === null || _a2 === void 0 ? void 0 : _a2.isEditable) != false) {
7857
7857
  if (doc2.caretPositionFromPoint) {
7858
- let pos = doc2.caretPositionFromPoint(x, y);
7858
+ let pos = doc2.caretPositionFromPoint(x2, y);
7859
7859
  if (pos)
7860
7860
  ({ offsetNode: node, offset } = pos);
7861
7861
  } else if (doc2.caretRangeFromPoint) {
7862
- let range = doc2.caretRangeFromPoint(x, y);
7862
+ let range = doc2.caretRangeFromPoint(x2, y);
7863
7863
  if (range) {
7864
7864
  ({ startContainer: node, startOffset: offset } = range);
7865
- if (!view.contentDOM.contains(node) || browser.safari && isSuspiciousSafariCaretResult(node, offset, x) || browser.chrome && isSuspiciousChromeCaretResult(node, offset, x))
7865
+ if (!view.contentDOM.contains(node) || browser.safari && isSuspiciousSafariCaretResult(node, offset, x2) || browser.chrome && isSuspiciousChromeCaretResult(node, offset, x2))
7866
7866
  node = void 0;
7867
7867
  }
7868
7868
  }
@@ -7871,7 +7871,7 @@ function posAtCoords(view, coords, precise, bias = -1) {
7871
7871
  let line = LineView.find(view.docView, lineStart);
7872
7872
  if (!line)
7873
7873
  return yOffset > block.top + block.height / 2 ? block.to : block.from;
7874
- ({ node, offset } = domPosAtCoords(line.dom, x, y));
7874
+ ({ node, offset } = domPosAtCoords(line.dom, x2, y));
7875
7875
  }
7876
7876
  let nearest = view.docView.nearest(node);
7877
7877
  if (!nearest)
@@ -7883,8 +7883,8 @@ function posAtCoords(view, coords, precise, bias = -1) {
7883
7883
  return nearest.localPosFromDOM(node, offset) + nearest.posAtStart;
7884
7884
  }
7885
7885
  }
7886
- function posAtCoordsImprecise(view, contentRect, block, x, y) {
7887
- let into = Math.round((x - contentRect.left) * view.defaultCharacterWidth);
7886
+ function posAtCoordsImprecise(view, contentRect, block, x2, y) {
7887
+ let into = Math.round((x2 - contentRect.left) * view.defaultCharacterWidth);
7888
7888
  if (view.lineWrapping && block.height > view.defaultLineHeight * 1.5) {
7889
7889
  let textHeight = view.viewState.heightOracle.textHeight;
7890
7890
  let line = Math.floor((y - block.top - (view.defaultLineHeight - textHeight) * 0.5) / textHeight);
@@ -7893,16 +7893,16 @@ function posAtCoordsImprecise(view, contentRect, block, x, y) {
7893
7893
  let content2 = view.state.sliceDoc(block.from, block.to);
7894
7894
  return block.from + findColumn$1(content2, into, view.state.tabSize);
7895
7895
  }
7896
- function isSuspiciousSafariCaretResult(node, offset, x) {
7896
+ function isSuspiciousSafariCaretResult(node, offset, x2) {
7897
7897
  let len;
7898
7898
  if (node.nodeType != 3 || offset != (len = node.nodeValue.length))
7899
7899
  return false;
7900
7900
  for (let next = node.nextSibling; next; next = next.nextSibling)
7901
7901
  if (next.nodeType != 1 || next.nodeName != "BR")
7902
7902
  return false;
7903
- return textRange(node, len - 1, len).getBoundingClientRect().left > x;
7903
+ return textRange(node, len - 1, len).getBoundingClientRect().left > x2;
7904
7904
  }
7905
- function isSuspiciousChromeCaretResult(node, offset, x) {
7905
+ function isSuspiciousChromeCaretResult(node, offset, x2) {
7906
7906
  if (offset != 0)
7907
7907
  return false;
7908
7908
  for (let cur2 = node; ; ) {
@@ -7914,7 +7914,7 @@ function isSuspiciousChromeCaretResult(node, offset, x) {
7914
7914
  cur2 = parent;
7915
7915
  }
7916
7916
  let rect = node.nodeType == 1 ? node.getBoundingClientRect() : textRange(node, 0, Math.max(node.nodeValue.length, 1)).getBoundingClientRect();
7917
- return x - rect.left > 5;
7917
+ return x2 - rect.left > 5;
7918
7918
  }
7919
7919
  function blockAt(view, pos) {
7920
7920
  let line = view.lineBlockAt(pos);
@@ -8453,8 +8453,8 @@ function rangeForClick(view, pos, bias, type) {
8453
8453
  }
8454
8454
  }
8455
8455
  let insideY = (y, rect) => y >= rect.top && y <= rect.bottom;
8456
- let inside = (x, y, rect) => insideY(y, rect) && x >= rect.left && x <= rect.right;
8457
- function findPositionSide(view, pos, x, y) {
8456
+ let inside = (x2, y, rect) => insideY(y, rect) && x2 >= rect.left && x2 <= rect.right;
8457
+ function findPositionSide(view, pos, x2, y) {
8458
8458
  let line = LineView.find(view.docView, pos);
8459
8459
  if (!line)
8460
8460
  return 1;
@@ -8464,10 +8464,10 @@ function findPositionSide(view, pos, x, y) {
8464
8464
  if (off == line.length)
8465
8465
  return -1;
8466
8466
  let before = line.coordsAt(off, -1);
8467
- if (before && inside(x, y, before))
8467
+ if (before && inside(x2, y, before))
8468
8468
  return -1;
8469
8469
  let after = line.coordsAt(off, 1);
8470
- if (after && inside(x, y, after))
8470
+ if (after && inside(x2, y, after))
8471
8471
  return 1;
8472
8472
  return before && insideY(y, before) ? -1 : 1;
8473
8473
  }
@@ -8952,24 +8952,24 @@ class HeightMap {
8952
8952
  static of(nodes) {
8953
8953
  if (nodes.length == 1)
8954
8954
  return nodes[0];
8955
- let i = 0, j = nodes.length, before = 0, after = 0;
8955
+ let i = 0, j2 = nodes.length, before = 0, after = 0;
8956
8956
  for (; ; ) {
8957
- if (i == j) {
8957
+ if (i == j2) {
8958
8958
  if (before > after * 2) {
8959
8959
  let split = nodes[i - 1];
8960
8960
  if (split.break)
8961
8961
  nodes.splice(--i, 1, split.left, null, split.right);
8962
8962
  else
8963
8963
  nodes.splice(--i, 1, split.left, split.right);
8964
- j += 1 + split.break;
8964
+ j2 += 1 + split.break;
8965
8965
  before -= split.size;
8966
8966
  } else if (after > before * 2) {
8967
- let split = nodes[j];
8967
+ let split = nodes[j2];
8968
8968
  if (split.break)
8969
- nodes.splice(j, 1, split.left, null, split.right);
8969
+ nodes.splice(j2, 1, split.left, null, split.right);
8970
8970
  else
8971
- nodes.splice(j, 1, split.left, split.right);
8972
- j += 2 + split.break;
8971
+ nodes.splice(j2, 1, split.left, split.right);
8972
+ j2 += 2 + split.break;
8973
8973
  after -= split.size;
8974
8974
  } else {
8975
8975
  break;
@@ -8979,7 +8979,7 @@ class HeightMap {
8979
8979
  if (next)
8980
8980
  before += next.size;
8981
8981
  } else {
8982
- let next = nodes[--j];
8982
+ let next = nodes[--j2];
8983
8983
  if (next)
8984
8984
  after += next.size;
8985
8985
  }
@@ -8990,9 +8990,9 @@ class HeightMap {
8990
8990
  i--;
8991
8991
  } else if (nodes[i] == null) {
8992
8992
  brk = 1;
8993
- j++;
8993
+ j2++;
8994
8994
  }
8995
- return new HeightMapBranch(HeightMap.of(nodes.slice(0, i)), brk, HeightMap.of(nodes.slice(j)));
8995
+ return new HeightMapBranch(HeightMap.of(nodes.slice(0, i)), brk, HeightMap.of(nodes.slice(j2)));
8996
8996
  }
8997
8997
  }
8998
8998
  HeightMap.prototype.size = 1;
@@ -12379,7 +12379,7 @@ class TooltipViewManager {
12379
12379
  update(update, above) {
12380
12380
  var _a2;
12381
12381
  let input = update.state.facet(this.facet);
12382
- let tooltips = input.filter((x) => x);
12382
+ let tooltips = input.filter((x2) => x2);
12383
12383
  if (input === this.input) {
12384
12384
  for (let t2 of this.tooltipViews)
12385
12385
  if (t2.update)
@@ -12770,7 +12770,7 @@ GutterMarker.prototype.point = true;
12770
12770
  const gutterLineClass = /* @__PURE__ */ Facet.define();
12771
12771
  const activeGutters = /* @__PURE__ */ Facet.define();
12772
12772
  const unfixGutters = /* @__PURE__ */ Facet.define({
12773
- combine: (values2) => values2.some((x) => x)
12773
+ combine: (values2) => values2.some((x2) => x2)
12774
12774
  });
12775
12775
  function gutters(config2) {
12776
12776
  let result = [
@@ -13593,11 +13593,11 @@ class TreeBuffer {
13593
13593
  slice(startI, endI, from) {
13594
13594
  let b = this.buffer;
13595
13595
  let copy = new Uint16Array(endI - startI), len = 0;
13596
- for (let i = startI, j = 0; i < endI; ) {
13597
- copy[j++] = b[i++];
13598
- copy[j++] = b[i++] - from;
13599
- let to = copy[j++] = b[i++] - from;
13600
- copy[j++] = b[i++] - startI;
13596
+ for (let i = startI, j2 = 0; i < endI; ) {
13597
+ copy[j2++] = b[i++];
13598
+ copy[j2++] = b[i++] - from;
13599
+ let to = copy[j2++] = b[i++] - from;
13600
+ copy[j2++] = b[i++] - startI;
13601
13601
  len = Math.max(len, to);
13602
13602
  }
13603
13603
  return new TreeBuffer(copy, len, this.set);
@@ -14449,11 +14449,11 @@ function buildTree(data) {
14449
14449
  if (nodeCount) {
14450
14450
  let buffer2 = new Uint16Array(nodeCount * 4);
14451
14451
  let start = nodes[nodes.length - 2];
14452
- for (let i = nodes.length - 3, j = 0; i >= 0; i -= 3) {
14453
- buffer2[j++] = nodes[i];
14454
- buffer2[j++] = nodes[i + 1] - start;
14455
- buffer2[j++] = nodes[i + 2] - start;
14456
- buffer2[j++] = j;
14452
+ for (let i = nodes.length - 3, j2 = 0; i >= 0; i -= 3) {
14453
+ buffer2[j2++] = nodes[i];
14454
+ buffer2[j2++] = nodes[i + 1] - start;
14455
+ buffer2[j2++] = nodes[i + 2] - start;
14456
+ buffer2[j2++] = j2;
14457
14457
  }
14458
14458
  children2.push(new TreeBuffer(buffer2, nodes[2] - start, nodeSet));
14459
14459
  positions2.push(start - parentStart);
@@ -15077,10 +15077,10 @@ let FragmentCursor$1 = class FragmentCursor {
15077
15077
  };
15078
15078
  function punchRanges(outer, ranges) {
15079
15079
  let copy = null, current = ranges;
15080
- for (let i = 1, j = 0; i < outer.length; i++) {
15080
+ for (let i = 1, j2 = 0; i < outer.length; i++) {
15081
15081
  let gapFrom = outer[i - 1].to, gapTo = outer[i].from;
15082
- for (; j < current.length; j++) {
15083
- let r2 = current[j];
15082
+ for (; j2 < current.length; j2++) {
15083
+ let r2 = current[j2];
15084
15084
  if (r2.from >= gapTo)
15085
15085
  break;
15086
15086
  if (r2.to <= gapFrom)
@@ -15088,13 +15088,13 @@ function punchRanges(outer, ranges) {
15088
15088
  if (!copy)
15089
15089
  current = copy = ranges.slice();
15090
15090
  if (r2.from < gapFrom) {
15091
- copy[j] = new Range2(r2.from, gapFrom);
15091
+ copy[j2] = new Range2(r2.from, gapFrom);
15092
15092
  if (r2.to > gapTo)
15093
- copy.splice(j + 1, 0, new Range2(gapTo, r2.to));
15093
+ copy.splice(j2 + 1, 0, new Range2(gapTo, r2.to));
15094
15094
  } else if (r2.to > gapTo) {
15095
- copy[j--] = new Range2(gapTo, r2.to);
15095
+ copy[j2--] = new Range2(gapTo, r2.to);
15096
15096
  } else {
15097
- copy.splice(j--, 1);
15097
+ copy.splice(j2--, 1);
15098
15098
  }
15099
15099
  }
15100
15100
  }
@@ -15228,13 +15228,13 @@ class Modifier {
15228
15228
  }
15229
15229
  }
15230
15230
  function sameArray(a, b) {
15231
- return a.length == b.length && a.every((x, i) => x == b[i]);
15231
+ return a.length == b.length && a.every((x2, i) => x2 == b[i]);
15232
15232
  }
15233
15233
  function powerSet(array) {
15234
15234
  let sets = [[]];
15235
15235
  for (let i = 0; i < array.length; i++) {
15236
- for (let j = 0, e = sets.length; j < e; j++) {
15237
- sets.push(sets[j].concat(array[i]));
15236
+ for (let j2 = 0, e = sets.length; j2 < e; j2++) {
15237
+ sets.push(sets[j2].concat(array[i]));
15238
15238
  }
15239
15239
  }
15240
15240
  return sets.sort((a, b) => b.length - a.length);
@@ -17379,8 +17379,8 @@ function optionContent(config2) {
17379
17379
  let labelElt = document.createElement("span");
17380
17380
  labelElt.className = "cm-completionLabel";
17381
17381
  let label = completion.displayLabel || completion.label, off = 0;
17382
- for (let j = 0; j < match.length; ) {
17383
- let from = match[j++], to = match[j++];
17382
+ for (let j2 = 0; j2 < match.length; ) {
17383
+ let from = match[j2++], to = match[j2++];
17384
17384
  if (from > off)
17385
17385
  labelElt.appendChild(document.createTextNode(label.slice(off, from)));
17386
17386
  let span = labelElt.appendChild(document.createElement("span"));
@@ -18062,7 +18062,7 @@ const completionPlugin = /* @__PURE__ */ ViewPlugin.fromClass(class {
18062
18062
  if (update.transactions.some((tr) => tr.effects.some((e) => e.is(startCompletionEffect))))
18063
18063
  this.pendingStart = true;
18064
18064
  let delay = this.pendingStart ? 50 : update.state.facet(completionConfig).activateOnTypingDelay;
18065
- this.debounceUpdate = cState.active.some((a) => a.state == 1 && !this.running.some((q2) => q2.active.source == a.source)) ? setTimeout(() => this.startUpdate(), delay) : -1;
18065
+ this.debounceUpdate = cState.active.some((a) => a.state == 1 && !this.running.some((q) => q.active.source == a.source)) ? setTimeout(() => this.startUpdate(), delay) : -1;
18066
18066
  if (this.composing != 0)
18067
18067
  for (let tr of update.transactions) {
18068
18068
  if (getUserEvent(tr) == "input")
@@ -18096,7 +18096,7 @@ const completionPlugin = /* @__PURE__ */ ViewPlugin.fromClass(class {
18096
18096
  });
18097
18097
  }
18098
18098
  scheduleAccept() {
18099
- if (this.running.every((q2) => q2.done !== void 0))
18099
+ if (this.running.every((q) => q.done !== void 0))
18100
18100
  this.accept();
18101
18101
  else if (this.debounceAccept < 0)
18102
18102
  this.debounceAccept = setTimeout(() => this.accept(), this.view.state.facet(completionConfig).updateSyncTime);
@@ -19959,11 +19959,11 @@ class Parse {
19959
19959
  outer:
19960
19960
  for (let i = 0; i < newStacks.length - 1; i++) {
19961
19961
  let stack = newStacks[i];
19962
- for (let j = i + 1; j < newStacks.length; j++) {
19963
- let other = newStacks[j];
19962
+ for (let j2 = i + 1; j2 < newStacks.length; j2++) {
19963
+ let other = newStacks[j2];
19964
19964
  if (stack.sameState(other) || stack.buffer.length > 500 && other.buffer.length > 500) {
19965
19965
  if ((stack.score - other.score || stack.buffer.length - other.buffer.length) > 0) {
19966
- newStacks.splice(j--, 1);
19966
+ newStacks.splice(j2--, 1);
19967
19967
  } else {
19968
19968
  newStacks.splice(i--, 1);
19969
19969
  continue outer;
@@ -20087,7 +20087,7 @@ class Parse {
20087
20087
  continue;
20088
20088
  }
20089
20089
  let force = stack.split(), forceBase = base2;
20090
- for (let j = 0; force.forceReduce() && j < 10; j++) {
20090
+ for (let j2 = 0; force.forceReduce() && j2 < 10; j2++) {
20091
20091
  if (verbose)
20092
20092
  console.log(forceBase + this.stackID(force) + " (via force-reduce)");
20093
20093
  let done = this.advanceFully(force, newStacks);
@@ -20158,7 +20158,7 @@ class Dialect {
20158
20158
  return !this.disabled || this.disabled[term] == 0;
20159
20159
  }
20160
20160
  }
20161
- const id = (x) => x;
20161
+ const id = (x2) => x2;
20162
20162
  class ContextTracker {
20163
20163
  /**
20164
20164
  Define a context tracker.
@@ -20203,7 +20203,7 @@ class LRParser extends Parser {
20203
20203
  setProp(next, prop, propSpec[i++]);
20204
20204
  } else {
20205
20205
  let value = propSpec[i + -next];
20206
- for (let j = -next; j > 0; j--)
20206
+ for (let j2 = -next; j2 > 0; j2--)
20207
20207
  setProp(propSpec[i++], prop, value);
20208
20208
  i++;
20209
20209
  }
@@ -20244,8 +20244,8 @@ class LRParser extends Parser {
20244
20244
  }
20245
20245
  createParse(input, fragments, ranges) {
20246
20246
  let parse = new Parse(this, input, fragments, ranges);
20247
- for (let w of this.wrappers)
20248
- parse = w(parse, input, fragments, ranges);
20247
+ for (let w2 of this.wrappers)
20248
+ parse = w2(parse, input, fragments, ranges);
20249
20249
  return parse;
20250
20250
  }
20251
20251
  /**
@@ -20457,7 +20457,7 @@ class LRParser extends Parser {
20457
20457
  let disabled = null;
20458
20458
  for (let i = 0; i < values2.length; i++)
20459
20459
  if (!flags[i]) {
20460
- for (let j = this.dialects[values2[i]], id2; (id2 = this.data[j++]) != 65535; )
20460
+ for (let j2 = this.dialects[values2[i]], id2; (id2 = this.data[j2++]) != 65535; )
20461
20461
  (disabled || (disabled = new Uint8Array(this.maxTerm + 1)))[id2] = 1;
20462
20462
  }
20463
20463
  return new Dialect(dialect, flags, disabled);
@@ -21839,7 +21839,7 @@ const space = [
21839
21839
  8287,
21840
21840
  12288
21841
21841
  ];
21842
- const braceR = 125, semicolon = 59, slash = 47, star = 42, plus = 43, minus = 45, lt = 60, comma = 44;
21842
+ const braceR = 125, semicolon = 59, slash = 47, star = 42, plus = 43, minus = 45, lt$1 = 60, comma = 44;
21843
21843
  const trackNewline = new ContextTracker({
21844
21844
  start: false,
21845
21845
  shift(context, term) {
@@ -21876,7 +21876,7 @@ function identifierChar(ch, start) {
21876
21876
  return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122 || ch == 95 || ch >= 192 || !start && ch >= 48 && ch <= 57;
21877
21877
  }
21878
21878
  const jsx = new ExternalTokenizer((input, stack) => {
21879
- if (input.next != lt || !stack.dialectEnabled(Dialect_jsx))
21879
+ if (input.next != lt$1 || !stack.dialectEnabled(Dialect_jsx))
21880
21880
  return;
21881
21881
  input.advance();
21882
21882
  if (input.next == slash)
@@ -23996,6 +23996,12 @@ const concatenateUrlAndPath = (url, path) => {
23996
23996
  const pathWithoutSlash = path.startsWith("/") ? path.slice(1) : path;
23997
23997
  return [urlWithSlash, pathWithoutSlash].join("");
23998
23998
  };
23999
+ function encodeStringAsBase64(value) {
24000
+ if (typeof window === "undefined") {
24001
+ return Buffer.from(value).toString("base64");
24002
+ }
24003
+ return btoa(value);
24004
+ }
23999
24005
  const findVariables = (value) => {
24000
24006
  const regex = /(?:\{+)\s*(\w+)\s*(?:\}+)/g;
24001
24007
  return [...value.matchAll(regex)].map((match) => match[1].trim()) || [];
@@ -24180,7 +24186,7 @@ function initVisitor(visitor) {
24180
24186
  return visitor;
24181
24187
  }
24182
24188
  function callVisitor(key, node, visitor, path) {
24183
- var _a2, _b, _c, _d, _e;
24189
+ var _a2, _b, _c, _d, _e2;
24184
24190
  if (typeof visitor === "function")
24185
24191
  return visitor(key, node, path);
24186
24192
  if (isMap(node))
@@ -24192,7 +24198,7 @@ function callVisitor(key, node, visitor, path) {
24192
24198
  if (isScalar(node))
24193
24199
  return (_d = visitor.Scalar) == null ? void 0 : _d.call(visitor, key, node, path);
24194
24200
  if (isAlias(node))
24195
- return (_e = visitor.Alias) == null ? void 0 : _e.call(visitor, key, node, path);
24201
+ return (_e2 = visitor.Alias) == null ? void 0 : _e2.call(visitor, key, node, path);
24196
24202
  return void 0;
24197
24203
  }
24198
24204
  function replaceNode(key, path, node) {
@@ -24695,12 +24701,12 @@ function foldFlowLines(text, indent, mode = "flow", { indentAtStart, lineWidth =
24695
24701
  ch = text[i += 1];
24696
24702
  overflow = true;
24697
24703
  }
24698
- const j = i > escEnd + 1 ? i - 2 : escStart - 1;
24699
- if (escapedFolds[j])
24704
+ const j2 = i > escEnd + 1 ? i - 2 : escStart - 1;
24705
+ if (escapedFolds[j2])
24700
24706
  return text;
24701
- folds.push(j);
24702
- escapedFolds[j] = true;
24703
- end = j + endStep;
24707
+ folds.push(j2);
24708
+ escapedFolds[j2] = true;
24709
+ end = j2 + endStep;
24704
24710
  split = void 0;
24705
24711
  } else {
24706
24712
  overflow = true;
@@ -29366,8 +29372,8 @@ function extendTailwindMerge(configExtension, ...createConfig) {
29366
29372
  return typeof configExtension === "function" ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);
29367
29373
  }
29368
29374
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
29369
- function getDefaultExportFromCjs(x) {
29370
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
29375
+ function getDefaultExportFromCjs(x2) {
29376
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
29371
29377
  }
29372
29378
  var prism = { exports: {} };
29373
29379
  (function(module) {
@@ -30097,11 +30103,11 @@ var prism = { exports: {} };
30097
30103
  }
30098
30104
  var patterns = grammar[token];
30099
30105
  patterns = Array.isArray(patterns) ? patterns : [patterns];
30100
- for (var j = 0; j < patterns.length; ++j) {
30101
- if (rematch && rematch.cause == token + "," + j) {
30106
+ for (var j2 = 0; j2 < patterns.length; ++j2) {
30107
+ if (rematch && rematch.cause == token + "," + j2) {
30102
30108
  return;
30103
30109
  }
30104
- var patternObj = patterns[j];
30110
+ var patternObj = patterns[j2];
30105
30111
  var inside2 = patternObj.inside;
30106
30112
  var lookbehind = !!patternObj.lookbehind;
30107
30113
  var greedy = !!patternObj.greedy;
@@ -30176,7 +30182,7 @@ var prism = { exports: {} };
30176
30182
  }
30177
30183
  if (removeCount > 1) {
30178
30184
  var nestedRematch = {
30179
- cause: token + "," + j,
30185
+ cause: token + "," + j2,
30180
30186
  reach
30181
30187
  };
30182
30188
  matchGrammar(text, tokenList, grammar, currentNode.prev, pos, nestedRematch);
@@ -30824,7 +30830,7 @@ var prism = { exports: {} };
30824
30830
  })();
30825
30831
  })(prism);
30826
30832
  var prismExports = prism.exports;
30827
- const q = /* @__PURE__ */ getDefaultExportFromCjs(prismExports);
30833
+ const E = /* @__PURE__ */ getDefaultExportFromCjs(prismExports);
30828
30834
  (function() {
30829
30835
  try {
30830
30836
  if (typeof document < "u") {
@@ -30835,19 +30841,19 @@ const q = /* @__PURE__ */ getDefaultExportFromCjs(prismExports);
30835
30841
  console.error("vite-plugin-css-injected-by-js", a);
30836
30842
  }
30837
30843
  })();
30838
- const R = "scalar-component", fe = extendTailwindMerge({
30844
+ const N = "scalar-component", ie = extendTailwindMerge({
30839
30845
  extend: {
30840
30846
  classGroups: {
30841
30847
  // Add the scalar class prefix as a custom class to be deduped by tailwind-merge
30842
- [R]: [R]
30848
+ [N]: [N]
30843
30849
  }
30844
30850
  }
30845
- }), { cva: N, cx: E, compose: gt } = defineConfig({
30851
+ }), { cva: x, cx: w, compose: lt } = defineConfig({
30846
30852
  hooks: {
30847
- onComplete: (r2) => `${fe(r2, R)}`
30853
+ onComplete: (r2) => `${ie(r2, N)}`
30848
30854
  }
30849
30855
  });
30850
- const Y = {
30856
+ const j = {
30851
30857
  solid: [
30852
30858
  "scalar-button-solid",
30853
30859
  "bg-back-btn-1 text-fore-btn-1 shadow-sm active:bg-back-btn-1 active:shadow-none hocus:bg-hover-btn-1"
@@ -30865,7 +30871,7 @@ const Y = {
30865
30871
  "bg-error text-white active:brightness-90 hocus:brightness-90"
30866
30872
  ]
30867
30873
  };
30868
- N({
30874
+ x({
30869
30875
  base: "scalar-button row cursor-pointer items-center justify-center rounded font-medium",
30870
30876
  variants: {
30871
30877
  disabled: {
@@ -30873,7 +30879,7 @@ N({
30873
30879
  },
30874
30880
  fullWidth: { true: "w-full" },
30875
30881
  size: { md: "h-10 px-6 text-sm" },
30876
- variant: Y
30882
+ variant: j
30877
30883
  },
30878
30884
  compoundVariants: [
30879
30885
  {
@@ -31098,8 +31104,8 @@ N({
31098
31104
  "operator",
31099
31105
  "punctuation",
31100
31106
  "number"
31101
- ], f = s.variable[1].inside, a = 0; a < u.length; a++)
31102
- f[u[a]] = r2.languages.bash[u[a]];
31107
+ ], v = s.variable[1].inside, a = 0; a < u.length; a++)
31108
+ v[u[a]] = r2.languages.bash[u[a]];
31103
31109
  r2.languages.sh = r2.languages.bash, r2.languages.shell = r2.languages.bash;
31104
31110
  })(Prism);
31105
31111
  Prism.languages.json = {
@@ -31127,376 +31133,6 @@ Prism.languages.json = {
31127
31133
  }
31128
31134
  };
31129
31135
  Prism.languages.webmanifest = Prism.languages.json;
31130
- (function() {
31131
- if (typeof Prism > "u" || typeof document > "u")
31132
- return;
31133
- var r2 = (
31134
- /*dependencies_placeholder[*/
31135
- {
31136
- javascript: "clike",
31137
- actionscript: "javascript",
31138
- apex: [
31139
- "clike",
31140
- "sql"
31141
- ],
31142
- arduino: "cpp",
31143
- aspnet: [
31144
- "markup",
31145
- "csharp"
31146
- ],
31147
- birb: "clike",
31148
- bison: "c",
31149
- c: "clike",
31150
- csharp: "clike",
31151
- cpp: "c",
31152
- cfscript: "clike",
31153
- chaiscript: [
31154
- "clike",
31155
- "cpp"
31156
- ],
31157
- cilkc: "c",
31158
- cilkcpp: "cpp",
31159
- coffeescript: "javascript",
31160
- crystal: "ruby",
31161
- "css-extras": "css",
31162
- d: "clike",
31163
- dart: "clike",
31164
- django: "markup-templating",
31165
- ejs: [
31166
- "javascript",
31167
- "markup-templating"
31168
- ],
31169
- etlua: [
31170
- "lua",
31171
- "markup-templating"
31172
- ],
31173
- erb: [
31174
- "ruby",
31175
- "markup-templating"
31176
- ],
31177
- fsharp: "clike",
31178
- "firestore-security-rules": "clike",
31179
- flow: "javascript",
31180
- ftl: "markup-templating",
31181
- gml: "clike",
31182
- glsl: "c",
31183
- go: "clike",
31184
- gradle: "clike",
31185
- groovy: "clike",
31186
- haml: "ruby",
31187
- handlebars: "markup-templating",
31188
- haxe: "clike",
31189
- hlsl: "c",
31190
- idris: "haskell",
31191
- java: "clike",
31192
- javadoc: [
31193
- "markup",
31194
- "java",
31195
- "javadoclike"
31196
- ],
31197
- jolie: "clike",
31198
- jsdoc: [
31199
- "javascript",
31200
- "javadoclike",
31201
- "typescript"
31202
- ],
31203
- "js-extras": "javascript",
31204
- json5: "json",
31205
- jsonp: "json",
31206
- "js-templates": "javascript",
31207
- kotlin: "clike",
31208
- latte: [
31209
- "clike",
31210
- "markup-templating",
31211
- "php"
31212
- ],
31213
- less: "css",
31214
- lilypond: "scheme",
31215
- liquid: "markup-templating",
31216
- markdown: "markup",
31217
- "markup-templating": "markup",
31218
- mongodb: "javascript",
31219
- n4js: "javascript",
31220
- objectivec: "c",
31221
- opencl: "c",
31222
- parser: "markup",
31223
- php: "markup-templating",
31224
- phpdoc: [
31225
- "php",
31226
- "javadoclike"
31227
- ],
31228
- "php-extras": "php",
31229
- plsql: "sql",
31230
- processing: "clike",
31231
- protobuf: "clike",
31232
- pug: [
31233
- "markup",
31234
- "javascript"
31235
- ],
31236
- purebasic: "clike",
31237
- purescript: "haskell",
31238
- qsharp: "clike",
31239
- qml: "javascript",
31240
- qore: "clike",
31241
- racket: "scheme",
31242
- cshtml: [
31243
- "markup",
31244
- "csharp"
31245
- ],
31246
- jsx: [
31247
- "markup",
31248
- "javascript"
31249
- ],
31250
- tsx: [
31251
- "jsx",
31252
- "typescript"
31253
- ],
31254
- reason: "clike",
31255
- ruby: "clike",
31256
- sass: "css",
31257
- scss: "css",
31258
- scala: "java",
31259
- "shell-session": "bash",
31260
- smarty: "markup-templating",
31261
- solidity: "clike",
31262
- soy: "markup-templating",
31263
- sparql: "turtle",
31264
- sqf: "clike",
31265
- squirrel: "clike",
31266
- stata: [
31267
- "mata",
31268
- "java",
31269
- "python"
31270
- ],
31271
- "t4-cs": [
31272
- "t4-templating",
31273
- "csharp"
31274
- ],
31275
- "t4-vb": [
31276
- "t4-templating",
31277
- "vbnet"
31278
- ],
31279
- tap: "yaml",
31280
- tt2: [
31281
- "clike",
31282
- "markup-templating"
31283
- ],
31284
- textile: "markup",
31285
- twig: "markup-templating",
31286
- typescript: "javascript",
31287
- v: "clike",
31288
- vala: "clike",
31289
- vbnet: "basic",
31290
- velocity: "markup",
31291
- wiki: "markup",
31292
- xeora: "markup",
31293
- "xml-doc": "markup",
31294
- xquery: "markup"
31295
- }
31296
- ), t2 = (
31297
- /*aliases_placeholder[*/
31298
- {
31299
- html: "markup",
31300
- xml: "markup",
31301
- svg: "markup",
31302
- mathml: "markup",
31303
- ssml: "markup",
31304
- atom: "markup",
31305
- rss: "markup",
31306
- js: "javascript",
31307
- g4: "antlr4",
31308
- ino: "arduino",
31309
- "arm-asm": "armasm",
31310
- art: "arturo",
31311
- adoc: "asciidoc",
31312
- avs: "avisynth",
31313
- avdl: "avro-idl",
31314
- gawk: "awk",
31315
- sh: "bash",
31316
- shell: "bash",
31317
- shortcode: "bbcode",
31318
- rbnf: "bnf",
31319
- oscript: "bsl",
31320
- cs: "csharp",
31321
- dotnet: "csharp",
31322
- cfc: "cfscript",
31323
- "cilk-c": "cilkc",
31324
- "cilk-cpp": "cilkcpp",
31325
- cilk: "cilkcpp",
31326
- coffee: "coffeescript",
31327
- conc: "concurnas",
31328
- jinja2: "django",
31329
- "dns-zone": "dns-zone-file",
31330
- dockerfile: "docker",
31331
- gv: "dot",
31332
- eta: "ejs",
31333
- xlsx: "excel-formula",
31334
- xls: "excel-formula",
31335
- gamemakerlanguage: "gml",
31336
- po: "gettext",
31337
- gni: "gn",
31338
- ld: "linker-script",
31339
- "go-mod": "go-module",
31340
- hbs: "handlebars",
31341
- mustache: "handlebars",
31342
- hs: "haskell",
31343
- idr: "idris",
31344
- gitignore: "ignore",
31345
- hgignore: "ignore",
31346
- npmignore: "ignore",
31347
- webmanifest: "json",
31348
- kt: "kotlin",
31349
- kts: "kotlin",
31350
- kum: "kumir",
31351
- tex: "latex",
31352
- context: "latex",
31353
- ly: "lilypond",
31354
- emacs: "lisp",
31355
- elisp: "lisp",
31356
- "emacs-lisp": "lisp",
31357
- md: "markdown",
31358
- moon: "moonscript",
31359
- n4jsd: "n4js",
31360
- nani: "naniscript",
31361
- objc: "objectivec",
31362
- qasm: "openqasm",
31363
- objectpascal: "pascal",
31364
- px: "pcaxis",
31365
- pcode: "peoplecode",
31366
- plantuml: "plant-uml",
31367
- pq: "powerquery",
31368
- mscript: "powerquery",
31369
- pbfasm: "purebasic",
31370
- purs: "purescript",
31371
- py: "python",
31372
- qs: "qsharp",
31373
- rkt: "racket",
31374
- razor: "cshtml",
31375
- rpy: "renpy",
31376
- res: "rescript",
31377
- robot: "robotframework",
31378
- rb: "ruby",
31379
- "sh-session": "shell-session",
31380
- shellsession: "shell-session",
31381
- smlnj: "sml",
31382
- sol: "solidity",
31383
- sln: "solution-file",
31384
- rq: "sparql",
31385
- sclang: "supercollider",
31386
- t4: "t4-cs",
31387
- trickle: "tremor",
31388
- troy: "tremor",
31389
- trig: "turtle",
31390
- ts: "typescript",
31391
- tsconfig: "typoscript",
31392
- uscript: "unrealscript",
31393
- uc: "unrealscript",
31394
- url: "uri",
31395
- vb: "visual-basic",
31396
- vba: "visual-basic",
31397
- webidl: "web-idl",
31398
- mathematica: "wolfram",
31399
- nb: "wolfram",
31400
- wl: "wolfram",
31401
- xeoracube: "xeora",
31402
- yml: "yaml"
31403
- }
31404
- ), e = {}, s = "none", u = "components/", f = Prism.util.currentScript();
31405
- if (f) {
31406
- var a = /\bplugins\/autoloader\/prism-autoloader\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i, d = /(^|\/)[\w-]+\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i, n = f.getAttribute("data-autoloader-path");
31407
- if (n != null)
31408
- u = n.trim().replace(/\/?$/, "/");
31409
- else {
31410
- var c = f.src;
31411
- a.test(c) ? u = c.replace(a, "components/") : d.test(c) && (u = c.replace(d, "$1components/"));
31412
- }
31413
- }
31414
- var h2 = Prism.plugins.autoloader = {
31415
- languages_path: u,
31416
- use_minified: true,
31417
- loadLanguages: y
31418
- };
31419
- function i(o, p, v) {
31420
- var m = document.createElement("script");
31421
- m.src = o, m.async = true, m.onload = function() {
31422
- document.body.removeChild(m), p && p();
31423
- }, m.onerror = function() {
31424
- document.body.removeChild(m), v && v();
31425
- }, document.body.appendChild(m);
31426
- }
31427
- function b(o) {
31428
- var p = (o.getAttribute("data-dependencies") || "").trim();
31429
- if (!p) {
31430
- var v = o.parentElement;
31431
- v && v.tagName.toLowerCase() === "pre" && (p = (v.getAttribute("data-dependencies") || "").trim());
31432
- }
31433
- return p ? p.split(/\s*,\s*/g) : [];
31434
- }
31435
- function l(o) {
31436
- if (o.indexOf("!") >= 0)
31437
- return false;
31438
- if (o = t2[o] || o, o in Prism.languages)
31439
- return true;
31440
- var p = e[o];
31441
- return p && !p.error && p.loading === false;
31442
- }
31443
- function _(o) {
31444
- return h2.languages_path + "prism-" + o + (h2.use_minified ? ".min" : "") + ".js";
31445
- }
31446
- function y(o, p, v) {
31447
- typeof o == "string" && (o = [o]);
31448
- var m = o.length, L = 0, x = false;
31449
- if (m === 0) {
31450
- p && setTimeout(p, 0);
31451
- return;
31452
- }
31453
- function S2() {
31454
- x || (L++, L === m && p && p(o));
31455
- }
31456
- o.forEach(function(G) {
31457
- Q(G, S2, function() {
31458
- x || (x = true, v && v(G));
31459
- });
31460
- });
31461
- }
31462
- function Q(o, p, v) {
31463
- var m = o.indexOf("!") >= 0;
31464
- o = o.replace("!", ""), o = t2[o] || o;
31465
- function L() {
31466
- var S2 = e[o];
31467
- S2 || (S2 = e[o] = {
31468
- callbacks: []
31469
- }), S2.callbacks.push({
31470
- success: p,
31471
- error: v
31472
- }), !m && l(o) ? j(o, "success") : !m && S2.error ? j(o, "error") : (m || !S2.loading) && (S2.loading = true, S2.error = false, i(_(o), function() {
31473
- S2.loading = false, j(o, "success");
31474
- }, function() {
31475
- S2.loading = false, S2.error = true, j(o, "error");
31476
- }));
31477
- }
31478
- var x = r2[o];
31479
- x && x.length ? y(x, L, v) : L();
31480
- }
31481
- function j(o, p) {
31482
- if (e[o]) {
31483
- for (var v = e[o].callbacks, m = 0, L = v.length; m < L; m++) {
31484
- var x = v[m][p];
31485
- x && setTimeout(x, 0);
31486
- }
31487
- v.length = 0;
31488
- }
31489
- }
31490
- Prism.hooks.add("complete", function(o) {
31491
- var p = o.element, v = o.language;
31492
- if (!(!p || !v || v === s)) {
31493
- var m = b(p);
31494
- /^diff-./i.test(v) ? (m.push("diff"), m.push(v.substr(5))) : m.push(v), m.every(l) || y(m, function() {
31495
- Prism.highlightElement(p);
31496
- });
31497
- }
31498
- });
31499
- })();
31500
31136
  (function() {
31501
31137
  if (typeof Prism > "u" || typeof document > "u")
31502
31138
  return;
@@ -31508,14 +31144,14 @@ Prism.languages.webmanifest = Prism.languages.json;
31508
31144
  * @param {number} number line number
31509
31145
  * @returns {Element|undefined}
31510
31146
  */
31511
- getLine: function(a, d) {
31147
+ getLine: function(a, o) {
31512
31148
  if (!(a.tagName !== "PRE" || !a.classList.contains(r2))) {
31513
31149
  var n = a.querySelector(".line-numbers-rows");
31514
31150
  if (n) {
31515
- var c = parseInt(a.getAttribute("data-start"), 10) || 1, h2 = c + (n.children.length - 1);
31516
- d < c && (d = c), d > h2 && (d = h2);
31517
- var i = d - c;
31518
- return n.children[i];
31151
+ var l = parseInt(a.getAttribute("data-start"), 10) || 1, p = l + (n.children.length - 1);
31152
+ o < l && (o = l), o > p && (o = p);
31153
+ var d = o - l;
31154
+ return n.children[d];
31519
31155
  }
31520
31156
  }
31521
31157
  },
@@ -31544,40 +31180,40 @@ Prism.languages.webmanifest = Prism.languages.json;
31544
31180
  };
31545
31181
  function s(a) {
31546
31182
  if (a = a.filter(function(n) {
31547
- var c = u(n), h2 = c["white-space"];
31548
- return h2 === "pre-wrap" || h2 === "pre-line";
31183
+ var l = u(n), p = l["white-space"];
31184
+ return p === "pre-wrap" || p === "pre-line";
31549
31185
  }), a.length != 0) {
31550
- var d = a.map(function(n) {
31551
- var c = n.querySelector("code"), h2 = n.querySelector(".line-numbers-rows");
31552
- if (!(!c || !h2)) {
31553
- var i = n.querySelector(".line-numbers-sizer"), b = c.textContent.split(t2);
31554
- i || (i = document.createElement("span"), i.className = "line-numbers-sizer", c.appendChild(i)), i.innerHTML = "0", i.style.display = "block";
31555
- var l = i.getBoundingClientRect().height;
31556
- return i.innerHTML = "", {
31186
+ var o = a.map(function(n) {
31187
+ var l = n.querySelector("code"), p = n.querySelector(".line-numbers-rows");
31188
+ if (!(!l || !p)) {
31189
+ var d = n.querySelector(".line-numbers-sizer"), h2 = l.textContent.split(t2);
31190
+ d || (d = document.createElement("span"), d.className = "line-numbers-sizer", l.appendChild(d)), d.innerHTML = "0", d.style.display = "block";
31191
+ var i = d.getBoundingClientRect().height;
31192
+ return d.innerHTML = "", {
31557
31193
  element: n,
31558
- lines: b,
31194
+ lines: h2,
31559
31195
  lineHeights: [],
31560
- oneLinerHeight: l,
31561
- sizer: i
31196
+ oneLinerHeight: i,
31197
+ sizer: d
31562
31198
  };
31563
31199
  }
31564
31200
  }).filter(Boolean);
31565
- d.forEach(function(n) {
31566
- var c = n.sizer, h2 = n.lines, i = n.lineHeights, b = n.oneLinerHeight;
31567
- i[h2.length - 1] = void 0, h2.forEach(function(l, _) {
31568
- if (l && l.length > 1) {
31569
- var y = c.appendChild(document.createElement("span"));
31570
- y.style.display = "block", y.textContent = l;
31201
+ o.forEach(function(n) {
31202
+ var l = n.sizer, p = n.lines, d = n.lineHeights, h2 = n.oneLinerHeight;
31203
+ d[p.length - 1] = void 0, p.forEach(function(i, f) {
31204
+ if (i && i.length > 1) {
31205
+ var C2 = l.appendChild(document.createElement("span"));
31206
+ C2.style.display = "block", C2.textContent = i;
31571
31207
  } else
31572
- i[_] = b;
31208
+ d[f] = h2;
31573
31209
  });
31574
- }), d.forEach(function(n) {
31575
- for (var c = n.sizer, h2 = n.lineHeights, i = 0, b = 0; b < h2.length; b++)
31576
- h2[b] === void 0 && (h2[b] = c.children[i++].getBoundingClientRect().height);
31577
- }), d.forEach(function(n) {
31578
- var c = n.sizer, h2 = n.element.querySelector(".line-numbers-rows");
31579
- c.style.display = "none", c.innerHTML = "", n.lineHeights.forEach(function(i, b) {
31580
- h2.children[b].style.height = i + "px";
31210
+ }), o.forEach(function(n) {
31211
+ for (var l = n.sizer, p = n.lineHeights, d = 0, h2 = 0; h2 < p.length; h2++)
31212
+ p[h2] === void 0 && (p[h2] = l.children[d++].getBoundingClientRect().height);
31213
+ }), o.forEach(function(n) {
31214
+ var l = n.sizer, p = n.element.querySelector(".line-numbers-rows");
31215
+ l.style.display = "none", l.innerHTML = "", n.lineHeights.forEach(function(d, h2) {
31216
+ p.children[h2].style.height = d + "px";
31581
31217
  });
31582
31218
  });
31583
31219
  }
@@ -31585,29 +31221,29 @@ Prism.languages.webmanifest = Prism.languages.json;
31585
31221
  function u(a) {
31586
31222
  return a ? window.getComputedStyle ? getComputedStyle(a) : a.currentStyle || null : null;
31587
31223
  }
31588
- var f = void 0;
31224
+ var v = void 0;
31589
31225
  window.addEventListener("resize", function() {
31590
- e.assumeViewportIndependence && f === window.innerWidth || (f = window.innerWidth, s(Array.prototype.slice.call(document.querySelectorAll("pre." + r2))));
31226
+ e.assumeViewportIndependence && v === window.innerWidth || (v = window.innerWidth, s(Array.prototype.slice.call(document.querySelectorAll("pre." + r2))));
31591
31227
  }), Prism.hooks.add("complete", function(a) {
31592
31228
  if (a.code) {
31593
- var d = (
31229
+ var o = (
31594
31230
  /** @type {Element} */
31595
31231
  a.element
31596
31232
  ), n = (
31597
31233
  /** @type {HTMLElement} */
31598
- d.parentNode
31234
+ o.parentNode
31599
31235
  );
31600
- if (!(!n || !/pre/i.test(n.nodeName)) && !d.querySelector(".line-numbers-rows") && Prism.util.isActive(d, r2)) {
31601
- d.classList.remove(r2), n.classList.add(r2);
31602
- var c = a.code.match(t2), h2 = c ? c.length + 1 : 1, i, b = new Array(h2 + 1).join("<span></span>");
31603
- i = document.createElement("span"), i.setAttribute("aria-hidden", "true"), i.className = "line-numbers-rows", i.innerHTML = b, n.hasAttribute("data-start") && (n.style.counterReset = "linenumber " + (parseInt(n.getAttribute("data-start"), 10) - 1)), a.element.appendChild(i), s([n]), Prism.hooks.run("line-numbers", a);
31236
+ if (!(!n || !/pre/i.test(n.nodeName)) && !o.querySelector(".line-numbers-rows") && Prism.util.isActive(o, r2)) {
31237
+ o.classList.remove(r2), n.classList.add(r2);
31238
+ var l = a.code.match(t2), p = l ? l.length + 1 : 1, d, h2 = new Array(p + 1).join("<span></span>");
31239
+ d = document.createElement("span"), d.setAttribute("aria-hidden", "true"), d.className = "line-numbers-rows", d.innerHTML = h2, n.hasAttribute("data-start") && (n.style.counterReset = "linenumber " + (parseInt(n.getAttribute("data-start"), 10) - 1)), a.element.appendChild(d), s([n]), Prism.hooks.run("line-numbers", a);
31604
31240
  }
31605
31241
  }
31606
31242
  }), Prism.hooks.add("line-numbers", function(a) {
31607
31243
  a.plugins = a.plugins || {}, a.plugins.lineNumbers = true;
31608
31244
  });
31609
31245
  })();
31610
- const ft = /* @__PURE__ */ defineComponent({
31246
+ const fe = ["innerHTML"], dt = /* @__PURE__ */ defineComponent({
31611
31247
  __name: "ScalarCodeBlock",
31612
31248
  props: {
31613
31249
  content: {},
@@ -31616,96 +31252,107 @@ const ft = /* @__PURE__ */ defineComponent({
31616
31252
  hideCredentials: {}
31617
31253
  },
31618
31254
  setup(r2) {
31619
- const t2 = r2, { plugins: e, highlightElement: s } = q;
31620
- t2.hideCredentials && q.hooks.add("wrap", function(a) {
31255
+ const t2 = r2, { plugins: e, highlightElement: s } = E;
31256
+ t2.hideCredentials && E.hooks.add("wrap", function(o) {
31621
31257
  if (!t2.hideCredentials)
31622
31258
  return;
31623
- let d = false;
31624
- typeof t2.hideCredentials == "string" ? a.content.includes(t2.hideCredentials) && (d = true) : Array.isArray(t2.hideCredentials) && (d = t2.hideCredentials.some(
31625
- (n) => a.content.includes(n)
31626
- )), d && (a.content = a.content.replace(
31259
+ let n = false;
31260
+ typeof t2.hideCredentials == "string" ? o.content.includes(t2.hideCredentials) && (n = true) : Array.isArray(t2.hideCredentials) && (n = t2.hideCredentials.some(
31261
+ (l) => o.content.includes(l)
31262
+ )), n && (o.content = o.content.replace(
31627
31263
  /<span class="credentials">.*?<\/span>/g,
31628
- (n) => n.replace(/<span class="credentials">|<\/span>/g, "")
31629
- ), a.content = a.content.replace(
31264
+ (l) => l.replace(/<span class="credentials">|<\/span>/g, "")
31265
+ ), o.content = o.content.replace(
31630
31266
  new RegExp(
31631
31267
  typeof t2.hideCredentials == "string" ? t2.hideCredentials : t2.hideCredentials.join("|"),
31632
31268
  "g"
31633
31269
  ),
31634
- (n) => `<span class="credentials">${n}</span>`
31270
+ (l) => `<span class="credentials">${l}</span>`
31635
31271
  ));
31636
31272
  });
31637
- const u = ref(null), f = computed(() => t2.lang === "node" ? "js" : t2.lang);
31638
- return e.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/", watch(
31273
+ const u = ref(null), v = ref(""), a = computed(() => t2.lang === "node" ? "js" : t2.lang);
31274
+ return watch(
31639
31275
  () => [t2.lang, t2.content],
31640
31276
  () => {
31641
31277
  u.value && nextTick(() => s(u.value));
31642
31278
  }
31643
- ), onMounted(() => {
31644
- u.value && s(u.value);
31645
- }), (a, d) => (openBlock(), createElementBlock("pre", {
31646
- class: normalizeClass(["scalar-component scalar-codeblock-pre", {
31647
- "line-numbers": a.lineNumbers
31648
- }])
31279
+ ), onServerPrefetch(async () => {
31280
+ const o = E.highlight(
31281
+ typeof t2.content == "object" ? JSON.stringify(t2.content) : t2.content,
31282
+ E.languages[a.value],
31283
+ a.value
31284
+ );
31285
+ v.value = o;
31286
+ }), onMounted(async () => {
31287
+ u.value && s(u.value), await import("./prism-autoloader-Dlh8Vzlw-BR-Zk31i.js"), e.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/";
31288
+ }), (o, n) => (openBlock(), createElementBlock("pre", {
31289
+ class: normalizeClass([
31290
+ `scalar-component scalar-codeblock-pre language-${a.value}`,
31291
+ {
31292
+ "line-numbers": o.lineNumbers
31293
+ }
31294
+ ])
31649
31295
  }, [
31650
31296
  createElementVNode("code", {
31651
31297
  ref_key: "el",
31652
31298
  ref: u,
31653
- class: normalizeClass(`scalar-codeblock-code lang-${f.value}`)
31654
- }, toDisplayString(a.content), 3)
31299
+ class: normalizeClass(`scalar-codeblock-code language-${a.value}`),
31300
+ innerHTML: v.value || o.content
31301
+ }, null, 10, fe)
31655
31302
  ], 2));
31656
31303
  }
31657
- }), Ee = (r2) => Object.fromEntries(Array.from(r2).map((t2) => [t2.name, t2.value])), Le = (r2) => ({ raw: t2 }) => {
31304
+ }), be = (r2) => Object.fromEntries(Array.from(r2).map((t2) => [t2.name, t2.value])), we = (r2) => ({ raw: t2 }) => {
31658
31305
  const s = new r2().parseFromString(t2, "image/svg+xml");
31659
31306
  if (s.getElementsByTagName("parsererror").length)
31660
31307
  return;
31661
- const u = s.documentElement, f = Ee(u.attributes), { width: a, height: d, ...n } = f;
31308
+ const u = s.documentElement, v = be(u.attributes), { width: a, height: o, ...n } = v;
31662
31309
  return h("svg", { ...n, innerHTML: u.innerHTML });
31663
- }, Ae = defineAsyncComponent(async () => {
31664
- const r2 = typeof DOMParser > "u" ? (await import("./index-CpJxdgyL.js").then((n) => n.i)).DOMParser : DOMParser, t2 = Le(r2);
31310
+ }, _e = defineAsyncComponent(async () => {
31311
+ const r2 = typeof DOMParser > "u" ? (await import("./index-CpJxdgyL.js").then((n) => n.i)).DOMParser : DOMParser, t2 = we(r2);
31665
31312
  return t2.props = {
31666
31313
  raw: {
31667
31314
  type: String,
31668
31315
  required: true
31669
31316
  }
31670
31317
  }, t2;
31671
- }), Te = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
31318
+ }), Se = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
31672
31319
  <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.429"
31673
31320
  d="M24 1.714v44.572M1.714 24h44.572" />
31674
- </svg>`, Ie = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.5 23.5" fill="currentColor">
31321
+ </svg>`, ke = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.5 23.5" fill="currentColor">
31675
31322
  <path d="M11.2 23.5 0 12.3l2.15-2.15 9.05 9.05L30.4 0l2.15 2.15z" />
31676
- </svg>`, Me = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
31323
+ </svg>`, Ce = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
31677
31324
  <path d="M4.5 8.25L12 15.75L19.5 8.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
31678
31325
  </svg>
31679
- `, Ne = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
31326
+ `, xe = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
31680
31327
  <path d="M15.75 19.5L8.25 12L15.75 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
31681
31328
  </svg>
31682
- `, je = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
31329
+ `, ye = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
31683
31330
  <path d="M8.25 19.5L15.75 12L8.25 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
31684
- </svg>`, Oe = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
31331
+ </svg>`, Ee = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
31685
31332
  <path d="M19.5 15.75L12 8.25L4.5 15.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
31686
31333
  </svg>
31687
- `, Be = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16">
31334
+ `, Le = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16">
31688
31335
  <path d="M6,5h4c1.7,0,2-1.3,2-3c1.1,0,2,0.9,2,2v10c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V4c0-1.1,0.9-2,2-2C4,3.7,4.3,5,6,5z M6,2V1
31689
31336
  c0-0.6,0.5-1,1-1h2c0.5,0,1,0.4,1,1v1.3C10,2.9,9.6,3,9,3H7C6.4,3,6,2.6,6,2z" />
31690
- </svg>`, De = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
31337
+ </svg>`, Ae = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
31691
31338
  <path stroke="currentColor" d="m12.5 1.5-11 11m0-11 11 11" />
31692
- </svg>`, Pe = `<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">
31339
+ </svg>`, Te = `<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">
31693
31340
  <path
31694
31341
  d="M9.557,7.243A.456.456,0,0,0,9.1,6.991C9.023,7,8.951,7,8.877,7A4,4,0,0,1,5.546.781.5.5,0,0,0,5.564.256.476.476,0,0,0,5.1,0,5,5,0,1,0,9.539,7.767.5.5,0,0,0,9.557,7.243Z"
31695
31342
  fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
31696
- </svg>`, ze = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
31343
+ </svg>`, Me = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
31697
31344
  <path
31698
31345
  d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" />
31699
- </svg>`, Re = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9">
31346
+ </svg>`, Ie = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9">
31700
31347
  <g fill="none" fill-rule="evenodd" transform="translate(.67 .67)">
31701
31348
  <rect transform="rotate(180 4 4)" />
31702
31349
  <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width=".5"
31703
31350
  d="M2.85 1.73h3.4v3.4m0-3.4L1.74 6.24" />
31704
31351
  </g>
31705
- </svg>`, He = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 1024 1024">
31352
+ </svg>`, Ne = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 1024 1024">
31706
31353
  <path
31707
31354
  d="M512 0a512 512 0 0 0-162 998c26 4 35-11 35-25l-1-95c-128 23-161-32-172-60-6-15-31-61-52-73-18-10-44-33-1-33 40-1 69 37 78 52 46 78 120 56 149 43 5-33 18-56 33-69-114-13-234-56-234-253 0-56 20-101 53-137-5-13-23-65 5-136 0 0 43-13 141 53a487 487 0 0 1 256 0c98-66 141-53 141-53 28 71 10 123 5 136 33 36 53 81 53 137 0 197-120 240-234 253 18 16 35 47 35 95l-1 140c0 14 9 30 35 25A512 512 0 0 0 512 0z" />
31708
- </svg>`, $e = `<svg
31355
+ </svg>`, Oe = `<svg
31709
31356
  height="24"
31710
31357
  viewBox="0 0 24 24"
31711
31358
  width="24"
@@ -31714,7 +31361,7 @@ const ft = /* @__PURE__ */ defineComponent({
31714
31361
  d="M24 12a1 1 0 0 0 -1 -1h-3.91a0.51 0.51 0 0 1 -0.49 -0.4 6.83 6.83 0 0 0 -0.94 -2.28 0.5 0.5 0 0 1 0.06 -0.63l2.77 -2.76a1 1 0 1 0 -1.42 -1.42l-2.76 2.77a0.5 0.5 0 0 1 -0.63 0.06 6.83 6.83 0 0 0 -2.28 -0.94 0.5 0.5 0 0 1 -0.4 -0.49V1a1 1 0 0 0 -2 0v3.91a0.51 0.51 0 0 1 -0.4 0.49 6.83 6.83 0 0 0 -2.28 0.94 0.5 0.5 0 0 1 -0.63 -0.06L4.93 3.51a1 1 0 0 0 -1.42 1.42l2.77 2.76a0.5 0.5 0 0 1 0.06 0.63 6.83 6.83 0 0 0 -0.94 2.28 0.5 0.5 0 0 1 -0.49 0.4H1a1 1 0 0 0 0 2h3.91a0.51 0.51 0 0 1 0.49 0.4 6.83 6.83 0 0 0 0.94 2.28 0.5 0.5 0 0 1 -0.06 0.63l-2.77 2.76a1 1 0 1 0 1.42 1.42l2.76 -2.77a0.5 0.5 0 0 1 0.63 -0.06 6.83 6.83 0 0 0 2.28 0.94 0.5 0.5 0 0 1 0.4 0.49V23a1 1 0 0 0 2 0v-3.91a0.51 0.51 0 0 1 0.4 -0.49 6.83 6.83 0 0 0 2.28 -0.94 0.5 0.5 0 0 1 0.63 0.06l2.76 2.77a1 1 0 1 0 1.42 -1.42l-2.77 -2.76a0.5 0.5 0 0 1 -0.06 -0.63 6.83 6.83 0 0 0 0.94 -2.28 0.5 0.5 0 0 1 0.49 -0.4H23a1 1 0 0 0 1 -1Zm-8.74 2.5A5.76 5.76 0 0 1 9.5 8.74a5.66 5.66 0 0 1 0.16 -1.31 0.49 0.49 0 0 1 0.34 -0.36 5.36 5.36 0 0 1 1.8 -0.31 5.47 5.47 0 0 1 5.46 5.46 5.36 5.36 0 0 1 -0.31 1.8 0.49 0.49 0 0 1 -0.35 0.32 5.53 5.53 0 0 1 -1.34 0.16Z"
31715
31362
  fill="currentColor"
31716
31363
  stroke-width="1"></path>
31717
- </svg>`, Ge = `<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">
31364
+ </svg>`, Be = `<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">
31718
31365
  <path d="M3.500 5.000 A1.500 1.500 0 1 0 6.500 5.000 A1.500 1.500 0 1 0 3.500 5.000 Z" fill="currentColor"
31719
31366
  stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
31720
31367
  <path d="M5,2.25a.625.625,0,0,1-.625-.625v-1a.625.625,0,0,1,1.25,0v1A.625.625,0,0,1,5,2.25Z" fill="currentColor"
@@ -31735,41 +31382,41 @@ const ft = /* @__PURE__ */ defineComponent({
31735
31382
  <path
31736
31383
  d="M3.055,3.055a.623.623,0,0,1-.883,0l-.708-.707a.625.625,0,0,1,.884-.884l.707.708A.623.623,0,0,1,3.055,3.055Z"
31737
31384
  fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
31738
- </svg>`, qe = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 593 593">
31385
+ </svg>`, De = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 593 593">
31739
31386
  <path fill="currentColor" fill-rule="evenodd"
31740
31387
  d="M347 0c6 0 12 5 12 12v134l94-95c5-5 13-5 17 0l72 72c4 4 5 12 0 16v1l-95 94h134c7 0 12 5 12 12v101c0 7-5 12-12 12H447l95 94c4 5 5 13 0 17l-72 72c-4 4-12 5-16 0h-1l-94-95v134c0 7-5 12-12 12H246c-7 0-12-5-12-12v-70c0-22 9-43 24-59l130-130c14-14 14-37 0-51L259 142a84 84 0 0 1-25-59V12c0-7 5-12 12-12h101ZM138 52h1l219 219c14 14 14 37 0 51L139 542c-4 5-12 5-17 0l-71-70c-4-5-5-12 0-17l95-96H12c-7 0-12-5-12-12V246c0-7 5-12 12-12h134l-95-94c-4-5-4-12 0-17l71-71c4-5 12-5 16 0Z" />
31741
- </svg>`, Ve = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 662 662">
31388
+ </svg>`, Re = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 662 662">
31742
31389
  <path fill-rule="evenodd" fill="currentColor"
31743
31390
  d="M331 0a331 331 0 1 1 0 662 331 331 0 0 1 0-662Zm148.5 109 .6.9a187 187 0 1 1-297.6-.9 267 267 0 1 0 297 0Z" />
31744
- </svg>`, Fe = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 620">
31391
+ </svg>`, ze = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 620">
31745
31392
  <path fill="currentColor"
31746
31393
  d="M-.653 309.29c-.078 82.272 31.848 159.735 89.739 218.178l.283.283c122.379 121.247 319.824 121.184 440.16-.283 119.967-121.1 119.409-316.933-.998-437.339l-.99-.99C468.681 30.845 390.716-1.017 307.893-.67c-82.83.354-160.443 32.994-218.814 91.79C31.209 149.555-.724 227.025-.653 309.29Zm469.271-160.789.778.778c87.9 87.9 88.325 231.005.707 319.33-77.753 78.46-199.786 87.412-288.959 26.862l198.513-198.513-.007 166.361 83.68-.07v-306.22H157.11l-.008 83.6h160.584L121.994 436.323c-59.347-87.689-50.536-208.59 26.51-286.343C236.34 61.294 379.94 60.67 468.61 148.494Z" />
31747
- </svg>`, Ue = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 642 642" fill="currentColor">
31394
+ </svg>`, Pe = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 642 642" fill="currentColor">
31748
31395
  <path
31749
31396
  d="M321 0a321 321 0 1 1 0 642 321 321 0 0 1 0-642Zm51.3 63L321 189.5 269.7 63l1 136.5-95.8-97.2L228 228l-125.7-53.1 97.2 95.8-136.5-1L189.5 321 63 372.3l136.5-1-97.2 95.8 125.7-53-53.1 125.6 95.8-97.2-1 136.5L321 452.5 372.3 579l-1-136.5 95.8 97.2-53-125.7 125.6 53.1-97.2-95.8 136.5 1L452.5 321 579 269.7l-136.5 1 97.2-95.8L414 228l53.1-125.7-95.8 97.2 1-136.5Z" />
31750
- </svg>`, Ze = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 620" fill="currentColor">
31397
+ </svg>`, He = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 620" fill="currentColor">
31751
31398
  <path
31752
31399
  d="M529.2 90.8A310 310 0 1 0 90.8 529.2 310 310 0 0 0 529.2 90.8M122.4 498.2c-54.9-55-15.4-183.5 88.2-287 103.6-103.7 232.1-143.2 287-88.3 54.9 54.8 15.4 183.4-88.3 287-103.5 103.6-232 143.1-286.9 88.3m261.8-262.7A104.7 104.7 0 1 1 236 383.7a104.7 104.7 0 0 1 148.2-148.2" />
31753
- </svg>`, We = `<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 14 14">
31400
+ </svg>`, $e = `<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 14 14">
31754
31401
  <path fill="none" stroke="currentColor" d="M14 3.4H0m14 7.2H0" />
31755
- </svg>`, Xe = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
31402
+ </svg>`, Ge = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
31756
31403
  <path fill="currentColor" fill-rule="evenodd"
31757
31404
  d="M11.8214 0.0977942C12.1097 -0.00745677 12.4219 -0.0286524 12.7219 0.0367783C13.0248 0.102864 13.3024 0.254542 13.5216 0.47378C13.7408 0.693018 13.8925 0.970598 13.9586 1.27352C14.024 1.57344 14.0028 1.88572 13.8976 2.17395L10.3236 12.8859L10.3234 12.8866C10.2363 13.1501 10.083 13.3868 9.8781 13.574C9.6738 13.7606 9.42509 13.8918 9.15572 13.9549C8.8863 14.0206 8.60441 14.0151 8.33774 13.9389C8.07131 13.8628 7.82926 13.7187 7.63529 13.5209L5.71795 11.6124L3.70389 12.6538C3.54684 12.7351 3.35857 12.7273 3.20874 12.6334C3.05892 12.5395 2.96981 12.3735 2.9744 12.1967L3.05697 9.013L10.1019 3.8956C10.3812 3.69273 10.4432 3.30188 10.2403 3.02261C10.0374 2.74333 9.64659 2.68139 9.36731 2.88425L2.20283 8.08846L0.473125 6.35875L0.473067 6.3587L0.472941 6.35857C0.285618 6.17138 0.147716 5.9406 0.0716193 5.68694C-0.00393616 5.43509 -0.0162115 5.16853 0.0358379 4.91085C0.0879545 4.62934 0.213796 4.36664 0.400577 4.14957C0.588637 3.93101 0.83165 3.76664 1.1045 3.67345L1.10787 3.6723L1.10787 3.67231L11.8214 0.0977942Z"
31758
31405
  clip-rule="evenodd"></path>
31759
- </svg>`, Ke = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor">
31406
+ </svg>`, je = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor">
31760
31407
  <path fill-rule="evenodd"
31761
31408
  d="M12.6 11.2h.1l3 3a1 1 0 1 1-1.4 1.5l-3-3a1 1 0 0 1-.1-.1 7 7 0 1 1 1.4-1.4zM7 12A5 5 0 1 0 7 2a5 5 0 0 0 0 10z" />
31762
- </svg>`, V = /* @__PURE__ */ Object.assign({ "./Add.svg": Te, "./CheckMark.svg": Ie, "./ChevronDown.svg": Me, "./ChevronLeft.svg": Ne, "./ChevronRight.svg": je, "./ChevronUp.svg": Oe, "./Clipboard.svg": Be, "./Close.svg": De, "./DarkMode.svg": Pe, "./Ellipses.svg": ze, "./ExternalLink.svg": Re, "./GitHub.svg": He, "./LightDarkModeToggle.svg": $e, "./LightMode.svg": Ge, "./Logo.svg": qe, "./LogoAPI.svg": Ve, "./LogoClient.svg": Fe, "./LogoMarket.svg": Ue, "./LogoSwagger.svg": Ze, "./Menu.svg": We, "./PaperAirplane.svg": Xe, "./Search.svg": Ke }), Ye = (r2) => {
31409
+ </svg>`, D = /* @__PURE__ */ Object.assign({ "./Add.svg": Se, "./CheckMark.svg": ke, "./ChevronDown.svg": Ce, "./ChevronLeft.svg": xe, "./ChevronRight.svg": ye, "./ChevronUp.svg": Ee, "./Clipboard.svg": Le, "./Close.svg": Ae, "./DarkMode.svg": Te, "./Ellipses.svg": Me, "./ExternalLink.svg": Ie, "./GitHub.svg": Ne, "./LightDarkModeToggle.svg": Oe, "./LightMode.svg": Be, "./Logo.svg": De, "./LogoAPI.svg": Re, "./LogoClient.svg": ze, "./LogoMarket.svg": Pe, "./LogoSwagger.svg": He, "./Menu.svg": $e, "./PaperAirplane.svg": Ge, "./Search.svg": je }), Ve = (r2) => {
31763
31410
  const t2 = `./${r2}.svg`;
31764
- return V[t2] === void 0 ? (console.warn(`Could not find icon: ${r2}`), "") : V[t2];
31765
- }, J = /* @__PURE__ */ defineComponent({
31411
+ return D[t2] === void 0 ? (console.warn(`Could not find icon: ${r2}`), "") : D[t2];
31412
+ }, V = /* @__PURE__ */ defineComponent({
31766
31413
  __name: "ScalarIcon",
31767
31414
  props: {
31768
31415
  icon: {},
31769
31416
  size: {}
31770
31417
  },
31771
31418
  setup(r2) {
31772
- const t2 = r2, e = N({
31419
+ const t2 = r2, e = x({
31773
31420
  variants: {
31774
31421
  size: {
31775
31422
  xs: "h-3 w-3",
@@ -31783,10 +31430,10 @@ const ft = /* @__PURE__ */ defineComponent({
31783
31430
  defaultVariants: {
31784
31431
  size: "full"
31785
31432
  }
31786
- }), s = computed(() => Ye(t2.icon));
31787
- return (u, f) => s.value ? (openBlock(), createBlock(unref(Ae), {
31433
+ }), s = computed(() => Ve(t2.icon));
31434
+ return (u, v) => s.value ? (openBlock(), createBlock(unref(_e), {
31788
31435
  key: 0,
31789
- class: normalizeClass(unref(E)("scalar-icon", unref(e)({ size: u.size }))),
31436
+ class: normalizeClass(unref(w)("scalar-icon", unref(e)({ size: u.size }))),
31790
31437
  raw: s.value
31791
31438
  }, null, 8, ["class", "raw"])) : createCommentVNode("", true);
31792
31439
  }
@@ -31949,7 +31596,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
31949
31596
  onClick: addHandler
31950
31597
  }, [
31951
31598
  createElementVNode("i", _hoisted_24, [
31952
- createVNode(unref(J), { icon: "Add" })
31599
+ createVNode(unref(V), { icon: "Add" })
31953
31600
  ]),
31954
31601
  createTextVNode(" " + toDisplayString(_ctx.addLabel), 1)
31955
31602
  ])) : createCommentVNode("", true),
@@ -31961,7 +31608,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
31961
31608
  }, [
31962
31609
  createTextVNode(" Show More "),
31963
31610
  createElementVNode("i", _hoisted_25, [
31964
- createVNode(unref(J), { icon: "ChevronDown" })
31611
+ createVNode(unref(V), { icon: "ChevronDown" })
31965
31612
  ])
31966
31613
  ])) : createCommentVNode("", true)
31967
31614
  ])
@@ -32408,7 +32055,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
32408
32055
  return openBlock(), createBlock(unref(_sfc_main$j), { title: "Body" }, {
32409
32056
  default: withCtx(() => [
32410
32057
  _ctx.active ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
32411
- codeMirrorLanguage.value ? (openBlock(), createBlock(unref(ft), {
32058
+ codeMirrorLanguage.value ? (openBlock(), createBlock(unref(dt), {
32412
32059
  key: 0,
32413
32060
  class: "custom-scroll",
32414
32061
  content: _ctx.data,
@@ -32836,6 +32483,7 @@ export {
32836
32483
  concatenateUrlAndPath,
32837
32484
  createEmptyAuthState,
32838
32485
  createPlaceholderRequest,
32486
+ encodeStringAsBase64,
32839
32487
  findVariables,
32840
32488
  httpHeaders,
32841
32489
  httpStatusCodes,