@scalar/components 0.7.14 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,32 +1,30 @@
1
1
  import './main.css';
2
- import { defineComponent as w, useCssVars as Q, openBlock as m, createElementBlock as v, normalizeClass as S, unref as n, createElementVNode as h, createCommentVNode as N, createStaticVNode as ee, reactive as j, computed as _, useAttrs as T, mergeProps as A, renderSlot as b, createVNode as I, ref as x, watch as W, nextTick as te, onServerPrefetch as ae, useSSRContext as re, onMounted as X, toDisplayString as z, toValue as D, Fragment as se, createBlock as $, withCtx as y, defineAsyncComponent as oe, resolveDynamicComponent as q, normalizeStyle as K, createTextVNode as Y, normalizeProps as ne, guardReactiveProps as ie, withKeys as le } from "vue";
3
- import { defineConfig as de } from "cva";
4
- import { extendTailwindMerge as ce } from "tailwind-merge";
5
- import { createHash as pe, ssrState as ue } from "@scalar/oas-utils";
6
- import R from "prismjs";
7
- import { Menu as me, MenuItems as ge, MenuButton as fe, MenuItem as he, Dialog as ve, DialogPanel as be, DialogTitle as Se, DialogDescription as ye, Popover as _e, PopoverPanel as we, PopoverButton as ke } from "@headlessui/vue";
8
- import { getSideAxis as V } from "@floating-ui/utils";
9
- import { useFloating as Ee, autoUpdate as xe, offset as Ie, flip as Ne, shift as $e } from "@floating-ui/vue";
10
- import { useTextareaAutosize as Ae } from "@vueuse/core";
11
- import { nanoid as Ce } from "nanoid";
12
- const B = "scalar-component", Te = ce({
2
+ import { defineComponent as w, useCssVars as J, openBlock as m, createElementBlock as v, normalizeClass as S, unref as n, createElementVNode as h, createCommentVNode as $, createStaticVNode as Z, reactive as G, computed as _, useAttrs as T, mergeProps as A, renderSlot as b, createVNode as x, ref as N, watch as V, nextTick as Q, onServerPrefetch as ee, useSSRContext as te, onMounted as F, toDisplayString as R, toValue as D, Fragment as ae, createBlock as I, withCtx as y, defineAsyncComponent as re, resolveDynamicComponent as U, normalizeStyle as j, createTextVNode as W, normalizeProps as se, guardReactiveProps as oe, withKeys as ne } from "vue";
3
+ import { defineConfig as ie } from "cva";
4
+ import { extendTailwindMerge as le } from "tailwind-merge";
5
+ import { createHash as de, ssrState as ce } from "@scalar/oas-utils";
6
+ import z from "prismjs";
7
+ import { Menu as pe, MenuItems as ue, MenuButton as me, MenuItem as ge, Dialog as fe, DialogPanel as he, DialogTitle as ve, DialogDescription as be, Popover as Se, PopoverPanel as ye, PopoverButton as _e } from "@headlessui/vue";
8
+ import { getSideAxis as B } from "@floating-ui/utils";
9
+ import { useFloating as we, autoUpdate as ke, offset as Ee, flip as Ne, shift as xe } from "@floating-ui/vue";
10
+ import { useTextareaAutosize as $e } from "@vueuse/core";
11
+ import { nanoid as Ie } from "nanoid";
12
+ const Ae = le({
13
13
  extend: {
14
14
  classGroups: {
15
- "font-size": ["text-xxs"],
16
- // Add the scalar class prefix as a custom class to be deduped by tailwind-merge
17
- [B]: [B]
15
+ "font-size": ["text-xxs"]
18
16
  }
19
17
  }
20
- }), { cva: L, cx: E, compose: Lt } = de({
18
+ }), { cva: L, cx: E, compose: _t } = ie({
21
19
  hooks: {
22
- onComplete: (a) => `${Te(a, B)}`
20
+ onComplete: (r) => Ae(r)
23
21
  }
24
- }), Le = /* @__PURE__ */ ee('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-47faceda></path>', 5), Re = {
22
+ }), Ce = /* @__PURE__ */ Z('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-47faceda></path>', 5), Te = {
25
23
  key: 0,
26
24
  class: "circular-loader"
27
25
  };
28
- function Rt() {
29
- return j({
26
+ function wt() {
27
+ return G({
30
28
  isValid: !1,
31
29
  isInvalid: !1,
32
30
  isLoading: !1,
@@ -36,37 +34,37 @@ function Rt() {
36
34
  stopLoading() {
37
35
  this.isLoading = !1;
38
36
  },
39
- validate(a = 800) {
37
+ validate(r = 800) {
40
38
  this.isValid = !0;
41
- const t = a - 300;
39
+ const t = r - 300;
42
40
  return new Promise(
43
41
  (e) => setTimeout(() => this.clear().then(() => e(!0)), t)
44
42
  );
45
43
  },
46
- invalidate(a = 1100) {
44
+ invalidate(r = 1100) {
47
45
  this.isInvalid = !0;
48
- const t = a - 300;
46
+ const t = r - 300;
49
47
  return new Promise(
50
48
  (e) => setTimeout(() => this.clear().then(() => e(!0)), t)
51
49
  );
52
50
  },
53
- clear(a = 300) {
51
+ clear(r = 300) {
54
52
  return this.isValid = !1, this.isInvalid = !1, this.isLoading = !1, new Promise((t) => {
55
53
  setTimeout(() => {
56
54
  t(!0);
57
- }, a);
55
+ }, r);
58
56
  });
59
57
  }
60
58
  });
61
59
  }
62
- const ze = /* @__PURE__ */ w({
60
+ const Le = /* @__PURE__ */ w({
63
61
  __name: "ScalarLoading",
64
62
  props: {
65
63
  loadingState: {},
66
64
  size: { default: "24px" }
67
65
  },
68
- setup(a) {
69
- return Q((t) => ({
66
+ setup(r) {
67
+ return J((t) => ({
70
68
  d6cae758: t.size
71
69
  })), (t, e) => t.loadingState ? (m(), v("div", {
72
70
  key: 0,
@@ -81,8 +79,8 @@ const ze = /* @__PURE__ */ w({
81
79
  xmlns: "http://www.w3.org/2000/svg",
82
80
  "xmlns:xlink": "http://www.w3.org/1999/xlink"
83
81
  }, [
84
- Le,
85
- t.loadingState.isLoading ? (m(), v("g", Re, [
82
+ Ce,
83
+ t.loadingState.isLoading ? (m(), v("g", Te, [
86
84
  h("circle", {
87
85
  class: S(["loader-path", {
88
86
  "loader-path-off": t.loadingState.isValid || t.loadingState.isInvalid
@@ -93,16 +91,16 @@ const ze = /* @__PURE__ */ w({
93
91
  r: "20",
94
92
  "stroke-width": "2"
95
93
  }, null, 2)
96
- ])) : N("", !0)
94
+ ])) : $("", !0)
97
95
  ], 2))
98
- ], 2)) : N("", !0);
96
+ ], 2)) : $("", !0);
99
97
  }
100
- }), O = (a, t) => {
101
- const e = a.__vccOpts || a;
102
- for (const [r, d] of t)
103
- e[r] = d;
98
+ }), P = (r, t) => {
99
+ const e = r.__vccOpts || r;
100
+ for (const [a, d] of t)
101
+ e[a] = d;
104
102
  return e;
105
- }, M = /* @__PURE__ */ O(ze, [["__scopeId", "data-v-47faceda"]]), J = {
103
+ }, X = /* @__PURE__ */ P(Le, [["__scopeId", "data-v-47faceda"]]), q = {
106
104
  solid: [
107
105
  "scalar-button-solid",
108
106
  "bg-back-btn-1 text-fore-btn-1 shadow-sm active:bg-back-btn-1 active:shadow-none hocus:bg-hover-btn-1"
@@ -119,7 +117,7 @@ const ze = /* @__PURE__ */ w({
119
117
  "scalar-button-danger",
120
118
  "bg-error text-white active:brightness-90 hocus:brightness-90"
121
119
  ]
122
- }, De = L({
120
+ }, ze = L({
123
121
  base: "scalar-button row cursor-pointer items-center justify-center rounded font-medium",
124
122
  variants: {
125
123
  disabled: {
@@ -127,7 +125,7 @@ const ze = /* @__PURE__ */ w({
127
125
  },
128
126
  fullWidth: { true: "w-full" },
129
127
  size: { sm: "px-2 py-1 text-xs", md: "h-10 px-6 text-sm" },
130
- variant: J
128
+ variant: q
131
129
  },
132
130
  compoundVariants: [
133
131
  {
@@ -136,13 +134,13 @@ const ze = /* @__PURE__ */ w({
136
134
  class: "bg-transparent text-ghost"
137
135
  }
138
136
  ]
139
- }), Pe = ["ariaDisabled", "type"], Oe = {
137
+ }), Re = ["ariaDisabled", "type"], De = {
140
138
  key: 0,
141
139
  class: "mr-2 h-4 w-4"
142
- }, Be = {
140
+ }, Oe = {
143
141
  key: 1,
144
142
  class: "ml-2"
145
- }, Me = /* @__PURE__ */ w({
143
+ }, kt = /* @__PURE__ */ w({
146
144
  inheritAttrs: !1,
147
145
  __name: "ScalarButton",
148
146
  props: {
@@ -153,34 +151,34 @@ const ze = /* @__PURE__ */ w({
153
151
  variant: { default: "solid" },
154
152
  type: { default: "button" }
155
153
  },
156
- setup(a) {
154
+ setup(r) {
157
155
  const t = _(() => {
158
- const { class: e, ...r } = T();
159
- return { class: e || "", rest: r };
156
+ const { class: e, ...a } = T();
157
+ return { class: e || "", rest: a };
160
158
  });
161
- return (e, r) => (m(), v("button", A(t.value.rest, {
159
+ return (e, a) => (m(), v("button", A(t.value.rest, {
162
160
  ariaDisabled: e.disabled || void 0,
163
161
  class: n(E)(
164
- n(De)({ fullWidth: e.fullWidth, disabled: e.disabled, size: e.size, variant: e.variant }),
162
+ n(ze)({ fullWidth: e.fullWidth, disabled: e.disabled, size: e.size, variant: e.variant }),
165
163
  { "pl-9 pr-3": e.loading },
166
164
  `${t.value.class}`
167
165
  ),
168
166
  type: e.type
169
167
  }), [
170
- e.$slots.icon ? (m(), v("div", Oe, [
168
+ e.$slots.icon ? (m(), v("div", De, [
171
169
  b(e.$slots, "icon")
172
- ])) : N("", !0),
170
+ ])) : $("", !0),
173
171
  b(e.$slots, "default"),
174
- e.loading ? (m(), v("div", Be, [
175
- I(n(M), {
172
+ e.loading ? (m(), v("div", Oe, [
173
+ x(n(X), {
176
174
  loadingState: e.loading,
177
175
  size: "20px"
178
176
  }, null, 8, ["loadingState"])
179
- ])) : N("", !0)
180
- ], 16, Pe));
177
+ ])) : $("", !0)
178
+ ], 16, Re));
181
179
  }
182
180
  });
183
- (function(a) {
181
+ (function(r) {
184
182
  var t = "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b", e = {
185
183
  pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
186
184
  lookbehind: !0,
@@ -188,7 +186,7 @@ const ze = /* @__PURE__ */ w({
188
186
  // this looks reasonably well in all themes
189
187
  inside: null
190
188
  // see below
191
- }, r = {
189
+ }, a = {
192
190
  bash: e,
193
191
  environment: {
194
192
  pattern: RegExp("\\$" + t),
@@ -242,7 +240,7 @@ const ze = /* @__PURE__ */ w({
242
240
  // Escape sequences from echo and printf's manuals, and escaped quotes.
243
241
  entity: /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
244
242
  };
245
- a.languages.bash = {
243
+ r.languages.bash = {
246
244
  shebang: {
247
245
  pattern: /^#!\s*\/.*/,
248
246
  alias: "important"
@@ -300,7 +298,7 @@ const ze = /* @__PURE__ */ w({
300
298
  pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
301
299
  lookbehind: !0,
302
300
  greedy: !0,
303
- inside: r
301
+ inside: a
304
302
  },
305
303
  // Here-document with quotes around the tag
306
304
  // → No expansion (so no “inside”).
@@ -318,7 +316,7 @@ const ze = /* @__PURE__ */ w({
318
316
  pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
319
317
  lookbehind: !0,
320
318
  greedy: !0,
321
- inside: r
319
+ inside: a
322
320
  },
323
321
  {
324
322
  // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
@@ -331,7 +329,7 @@ const ze = /* @__PURE__ */ w({
331
329
  pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
332
330
  greedy: !0,
333
331
  inside: {
334
- entity: r.entity
332
+ entity: a.entity
335
333
  }
336
334
  }
337
335
  ],
@@ -339,7 +337,7 @@ const ze = /* @__PURE__ */ w({
339
337
  pattern: RegExp("\\$?" + t),
340
338
  alias: "constant"
341
339
  },
342
- variable: r.variable,
340
+ variable: a.variable,
343
341
  function: {
344
342
  pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
345
343
  lookbehind: !0
@@ -378,7 +376,7 @@ const ze = /* @__PURE__ */ w({
378
376
  pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
379
377
  lookbehind: !0
380
378
  }
381
- }, e.inside = a.languages.bash;
379
+ }, e.inside = r.languages.bash;
382
380
  for (var d = [
383
381
  "comment",
384
382
  "function-name",
@@ -395,9 +393,9 @@ const ze = /* @__PURE__ */ w({
395
393
  "operator",
396
394
  "punctuation",
397
395
  "number"
398
- ], c = r.variable[1].inside, s = 0; s < d.length; s++)
399
- c[d[s]] = a.languages.bash[d[s]];
400
- a.languages.sh = a.languages.bash, a.languages.shell = a.languages.bash;
396
+ ], c = a.variable[1].inside, s = 0; s < d.length; s++)
397
+ c[d[s]] = r.languages.bash[d[s]];
398
+ r.languages.sh = r.languages.bash, r.languages.shell = r.languages.bash;
401
399
  })(Prism);
402
400
  Prism.languages.json = {
403
401
  property: {
@@ -427,7 +425,7 @@ Prism.languages.webmanifest = Prism.languages.json;
427
425
  (function() {
428
426
  if (typeof Prism > "u" || typeof document > "u")
429
427
  return;
430
- var a = "line-numbers", t = /\n(?!$)/g, e = Prism.plugins.lineNumbers = {
428
+ var r = "line-numbers", t = /\n(?!$)/g, e = Prism.plugins.lineNumbers = {
431
429
  /**
432
430
  * Get node for provided line number
433
431
  *
@@ -436,7 +434,7 @@ Prism.languages.webmanifest = Prism.languages.json;
436
434
  * @returns {Element|undefined}
437
435
  */
438
436
  getLine: function(s, p) {
439
- if (!(s.tagName !== "PRE" || !s.classList.contains(a))) {
437
+ if (!(s.tagName !== "PRE" || !s.classList.contains(r))) {
440
438
  var i = s.querySelector(".line-numbers-rows");
441
439
  if (i) {
442
440
  var g = parseInt(s.getAttribute("data-start"), 10) || 1, u = g + (i.children.length - 1);
@@ -455,7 +453,7 @@ Prism.languages.webmanifest = Prism.languages.json;
455
453
  * @returns {void}
456
454
  */
457
455
  resize: function(s) {
458
- r([s]);
456
+ a([s]);
459
457
  },
460
458
  /**
461
459
  * Whether the plugin can assume that the units font sizes and margins are not depended on the size of
@@ -469,7 +467,7 @@ Prism.languages.webmanifest = Prism.languages.json;
469
467
  */
470
468
  assumeViewportIndependence: !0
471
469
  };
472
- function r(s) {
470
+ function a(s) {
473
471
  if (s = s.filter(function(i) {
474
472
  var g = d(i), u = g["white-space"];
475
473
  return u === "pre-wrap" || u === "pre-line";
@@ -514,7 +512,7 @@ Prism.languages.webmanifest = Prism.languages.json;
514
512
  }
515
513
  var c = void 0;
516
514
  window.addEventListener("resize", function() {
517
- e.assumeViewportIndependence && c === window.innerWidth || (c = window.innerWidth, r(Array.prototype.slice.call(document.querySelectorAll("pre." + a))));
515
+ e.assumeViewportIndependence && c === window.innerWidth || (c = window.innerWidth, a(Array.prototype.slice.call(document.querySelectorAll("pre." + r))));
518
516
  }), Prism.hooks.add("complete", function(s) {
519
517
  if (s.code) {
520
518
  var p = (
@@ -524,43 +522,43 @@ Prism.languages.webmanifest = Prism.languages.json;
524
522
  /** @type {HTMLElement} */
525
523
  p.parentNode
526
524
  );
527
- if (!(!i || !/pre/i.test(i.nodeName)) && !p.querySelector(".line-numbers-rows") && Prism.util.isActive(p, a)) {
528
- p.classList.remove(a), i.classList.add(a);
525
+ if (!(!i || !/pre/i.test(i.nodeName)) && !p.querySelector(".line-numbers-rows") && Prism.util.isActive(p, r)) {
526
+ p.classList.remove(r), i.classList.add(r);
529
527
  var g = s.code.match(t), u = g ? g.length + 1 : 1, o, f = new Array(u + 1).join("<span></span>");
530
- o = document.createElement("span"), o.setAttribute("aria-hidden", "true"), o.className = "line-numbers-rows", o.innerHTML = f, i.hasAttribute("data-start") && (i.style.counterReset = "linenumber " + (parseInt(i.getAttribute("data-start"), 10) - 1)), s.element.appendChild(o), r([i]), Prism.hooks.run("line-numbers", s);
528
+ o = document.createElement("span"), o.setAttribute("aria-hidden", "true"), o.className = "line-numbers-rows", o.innerHTML = f, i.hasAttribute("data-start") && (i.style.counterReset = "linenumber " + (parseInt(i.getAttribute("data-start"), 10) - 1)), s.element.appendChild(o), a([i]), Prism.hooks.run("line-numbers", s);
531
529
  }
532
530
  }
533
531
  }), Prism.hooks.add("line-numbers", function(s) {
534
532
  s.plugins = s.plugins || {}, s.plugins.lineNumbers = !0;
535
533
  });
536
534
  })();
537
- function He(a) {
535
+ function Pe(r) {
538
536
  const t = /* @__PURE__ */ new Set();
539
537
  return JSON.stringify(
540
- a,
541
- (e, r) => {
542
- if (typeof r == "object" && r !== null) {
543
- if (t.has(r))
538
+ r,
539
+ (e, a) => {
540
+ if (typeof a == "object" && a !== null) {
541
+ if (t.has(a))
544
542
  return "[Circular]";
545
- t.add(r);
543
+ t.add(a);
546
544
  }
547
- return r;
545
+ return a;
548
546
  },
549
547
  2
550
548
  );
551
549
  }
552
- function P(a) {
553
- if (typeof a == "string")
554
- return a;
555
- if (typeof a == "object")
550
+ function O(r) {
551
+ if (typeof r == "string")
552
+ return r;
553
+ if (typeof r == "object")
556
554
  try {
557
- return JSON.stringify(a, null, 2);
555
+ return JSON.stringify(r, null, 2);
558
556
  } catch {
559
- return He(a);
557
+ return Pe(r);
560
558
  }
561
- return a;
559
+ return r;
562
560
  }
563
- const Ge = ["innerHTML"], zt = /* @__PURE__ */ w({
561
+ const Be = ["innerHTML"], Et = /* @__PURE__ */ w({
564
562
  __name: "ScalarCodeBlock",
565
563
  props: {
566
564
  content: {},
@@ -568,9 +566,9 @@ const Ge = ["innerHTML"], zt = /* @__PURE__ */ w({
568
566
  lineNumbers: { type: Boolean, default: !1 },
569
567
  hideCredentials: {}
570
568
  },
571
- setup(a) {
572
- const t = a, e = pe(P(t.content)), r = `components-scalar-code-block${e}`, { plugins: d, highlightElement: c } = R;
573
- t.hideCredentials && R.hooks.add("wrap", function(o) {
569
+ setup(r) {
570
+ const t = r, e = de(O(t.content)), a = `components-scalar-code-block${e}`, { plugins: d, highlightElement: c } = z;
571
+ t.hideCredentials && z.hooks.add("wrap", function(o) {
574
572
  if (!t.hideCredentials)
575
573
  return;
576
574
  let f = !1;
@@ -587,31 +585,31 @@ const Ge = ["innerHTML"], zt = /* @__PURE__ */ w({
587
585
  (l) => `<span class="credentials">${l}</span>`
588
586
  ));
589
587
  });
590
- const s = x(null), p = x(ue[r] ?? ""), i = _(() => t.lang === "node" ? "js" : t.lang), g = t.lang;
591
- W(
588
+ const s = N(null), p = N(ce[a] ?? ""), i = _(() => t.lang === "node" ? "js" : t.lang), g = t.lang;
589
+ V(
592
590
  [() => t.lang, () => t.content, s],
593
591
  () => {
594
- s.value && t.content && (!p.value || t.lang !== g) && (p.value = "", te(() => c(s.value)));
592
+ s.value && t.content && (!p.value || t.lang !== g) && (p.value = "", Q(() => c(s.value)));
595
593
  },
596
594
  { immediate: !0 }
597
595
  );
598
596
  const u = /\n(?!$)/g;
599
- return ae(async () => {
597
+ return ee(async () => {
600
598
  let o = "";
601
- t.lineNumbers && R.hooks.add("after-tokenize", (l) => {
599
+ t.lineNumbers && z.hooks.add("after-tokenize", (l) => {
602
600
  const k = l.code.match(u), C = k ? k.length + 1 : 1;
603
601
  o = `<span aria-hidden="true" class="line-numbers-rows">${new Array(C + 1).join("<span></span>")}</span>`;
604
602
  });
605
- const f = R.highlight(
606
- P(t.content),
607
- R.languages[i.value],
603
+ const f = z.highlight(
604
+ O(t.content),
605
+ z.languages[i.value],
608
606
  i.value
609
607
  );
610
608
  if (p.value = f + o, e !== 0) {
611
- const l = re();
612
- l.payload.data[r] = f + o;
609
+ const l = te();
610
+ l.payload.data[a] = f + o;
613
611
  }
614
- }), X(async () => {
612
+ }), F(async () => {
615
613
  await import("./prism-autoloader-Dlh8Vzlw.js"), d.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/";
616
614
  }), (o, f) => (m(), v("pre", {
617
615
  class: S([
@@ -624,23 +622,23 @@ const Ge = ["innerHTML"], zt = /* @__PURE__ */ w({
624
622
  p.value ? (m(), v("code", {
625
623
  key: 0,
626
624
  class: S(`scalar-codeblock-code language-${i.value}`),
627
- innerHTML: n(P)(p.value)
628
- }, null, 10, Ge)) : (m(), v("code", {
625
+ innerHTML: n(O)(p.value)
626
+ }, null, 10, Be)) : (m(), v("code", {
629
627
  key: 1,
630
628
  ref_key: "el",
631
629
  ref: s,
632
630
  class: S(`scalar-codeblock-code language-${i.value}`)
633
- }, z(n(P)(o.content)), 3))
631
+ }, R(n(O)(o.content)), 3))
634
632
  ], 2));
635
633
  }
636
634
  });
637
- function Ve(a, t = { enabled: x(!0) }) {
638
- const e = x(0), r = x(0), d = x();
635
+ function He(r, t = { enabled: N(!0) }) {
636
+ const e = N(0), a = N(0), d = N();
639
637
  return typeof ResizeObserver < "u" && (d.value = new ResizeObserver(([c]) => {
640
638
  var s, p;
641
- c && (e.value = ((s = c.borderBoxSize[0]) == null ? void 0 : s.inlineSize) ?? 0, r.value = ((p = c.borderBoxSize[0]) == null ? void 0 : p.blockSize) ?? 0);
642
- })), W(
643
- [() => D(t.enabled), () => D(a)],
639
+ c && (e.value = ((s = c.borderBoxSize[0]) == null ? void 0 : s.inlineSize) ?? 0, a.value = ((p = c.borderBoxSize[0]) == null ? void 0 : p.blockSize) ?? 0);
640
+ })), V(
641
+ [() => D(t.enabled), () => D(r)],
644
642
  ([c, s]) => {
645
643
  !s || !d.value || (c ? d.value.observe(s) : d.value.disconnect());
646
644
  },
@@ -650,11 +648,11 @@ function Ve(a, t = { enabled: x(!0) }) {
650
648
  () => D(t.enabled) ? `${e.value}px` : void 0
651
649
  ),
652
650
  height: _(
653
- () => D(t.enabled) ? `${r.value}px` : void 0
651
+ () => D(t.enabled) ? `${a.value}px` : void 0
654
652
  )
655
653
  };
656
654
  }
657
- const H = /* @__PURE__ */ w({
655
+ const K = /* @__PURE__ */ w({
658
656
  inheritAttrs: !1,
659
657
  __name: "ScalarFloating",
660
658
  props: {
@@ -662,40 +660,40 @@ const H = /* @__PURE__ */ w({
662
660
  resize: { type: Boolean },
663
661
  middleware: {}
664
662
  },
665
- setup(a) {
666
- const t = a, e = x(null), r = x(null), d = _(
663
+ setup(r) {
664
+ const t = r, e = N(null), a = N(null), d = _(
667
665
  () => {
668
666
  var u, o;
669
- return (((o = (u = r.value) == null ? void 0 : u.children) == null ? void 0 : o[0]) || r.value) ?? void 0;
667
+ return (((o = (u = a.value) == null ? void 0 : u.children) == null ? void 0 : o[0]) || a.value) ?? void 0;
670
668
  }
671
- ), c = Ve(d, {
669
+ ), c = He(d, {
672
670
  enabled: _(() => t.resize)
673
671
  }), s = _(
674
- () => V(t.placement || "bottom") === "y" ? c.width.value : void 0
672
+ () => B(t.placement || "bottom") === "y" ? c.width.value : void 0
675
673
  ), p = _(
676
- () => V(t.placement || "bottom") === "x" ? c.height.value : void 0
677
- ), { floatingStyles: i, middlewareData: g } = Ee(d, e, {
674
+ () => B(t.placement || "bottom") === "x" ? c.height.value : void 0
675
+ ), { floatingStyles: i, middlewareData: g } = we(d, e, {
678
676
  placement: _(() => t.placement),
679
- whileElementsMounted: xe,
677
+ whileElementsMounted: ke,
680
678
  middleware: _(() => [
681
- Ie(5),
679
+ Ee(5),
682
680
  Ne(),
683
- $e(),
681
+ xe(),
684
682
  ...t.middleware ?? []
685
683
  ])
686
684
  });
687
- return (u, o) => (m(), v(se, null, [
685
+ return (u, o) => (m(), v(ae, null, [
688
686
  h("div", {
689
687
  ref_key: "wrapperRef",
690
- ref: r,
691
- class: S(["scalar-component", { contents: !!u.$slots.default }])
688
+ ref: a,
689
+ class: S({ contents: !!u.$slots.default })
692
690
  }, [
693
691
  b(u.$slots, "default")
694
692
  ], 2),
695
693
  h("div", A({
696
694
  ref_key: "floatingRef",
697
695
  ref: e,
698
- class: "scalar-component relative z-context",
696
+ class: "relative z-context",
699
697
  style: n(i)
700
698
  }, u.$attrs), [
701
699
  b(u.$slots, "floating", {
@@ -706,34 +704,34 @@ const H = /* @__PURE__ */ w({
706
704
  ], 16)
707
705
  ], 64));
708
706
  }
709
- }), Fe = /* @__PURE__ */ h("div", { class: "absolute inset-0 -z-1 rounded bg-back-1 shadow-md brightness-lifted" }, null, -1), Ue = /* @__PURE__ */ w({
707
+ }), Me = /* @__PURE__ */ h("div", { class: "absolute inset-0 -z-1 rounded bg-back-1 shadow-md brightness-lifted" }, null, -1), Nt = /* @__PURE__ */ w({
710
708
  inheritAttrs: !1,
711
709
  __name: "ScalarDropdown",
712
710
  props: {
713
711
  placement: {},
714
712
  resize: { type: Boolean }
715
713
  },
716
- setup(a) {
717
- return (t, e) => (m(), $(n(me), null, {
714
+ setup(r) {
715
+ return (t, e) => (m(), I(n(pe), null, {
718
716
  default: y(() => [
719
- I(n(H), {
717
+ x(n(K), {
720
718
  placement: t.placement ?? "bottom-start",
721
719
  resize: t.resize
722
720
  }, {
723
- floating: y(({ width: r }) => [
724
- I(n(ge), A({
725
- class: "scalar-component relative flex w-56 flex-col p-0.75",
726
- style: { width: r }
721
+ floating: y(({ width: a }) => [
722
+ x(n(ue), A({
723
+ class: "relative flex w-56 flex-col p-0.75",
724
+ style: { width: a }
727
725
  }, t.$attrs), {
728
726
  default: y(() => [
729
727
  b(t.$slots, "items"),
730
- Fe
728
+ Me
731
729
  ]),
732
730
  _: 2
733
731
  }, 1040, ["style"])
734
732
  ]),
735
733
  default: y(() => [
736
- I(n(fe), { as: "template" }, {
734
+ x(n(me), { as: "template" }, {
737
735
  default: y(() => [
738
736
  b(t.$slots, "default")
739
737
  ]),
@@ -746,17 +744,17 @@ const H = /* @__PURE__ */ w({
746
744
  _: 3
747
745
  }));
748
746
  }
749
- }), je = {}, We = { class: "-mx-0.75 my-0.75 h-px bg-border" };
750
- function Xe(a, t) {
751
- return m(), v("div", We);
747
+ }), Ge = {}, Ve = { class: "-mx-0.75 my-0.75 h-px bg-border" };
748
+ function Fe(r, t) {
749
+ return m(), v("div", Ve);
752
750
  }
753
- const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
751
+ const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
754
752
  __name: "ScalarDropdownItem",
755
753
  props: {
756
754
  disabled: { type: Boolean }
757
755
  },
758
756
  emits: ["click"],
759
- setup(a) {
757
+ setup(r) {
760
758
  const t = L({
761
759
  base: [
762
760
  // Layout
@@ -772,12 +770,12 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
772
770
  active: { true: "bg-back-2 text-fore-1" }
773
771
  }
774
772
  });
775
- return (e, r) => (m(), $(n(he), { disabled: e.disabled }, {
773
+ return (e, a) => (m(), I(n(ge), { disabled: e.disabled }, {
776
774
  default: y(({ active: d }) => [
777
775
  h("button", {
778
776
  class: S(["item", n(E)("scalar-dropdown-item", n(t)({ active: d, disabled: e.disabled }))]),
779
777
  type: "button",
780
- onClick: r[0] || (r[0] = (c) => e.$emit("click", c))
778
+ onClick: a[0] || (a[0] = (c) => e.$emit("click", c))
781
779
  }, [
782
780
  b(e.$slots, "default")
783
781
  ], 2)
@@ -785,17 +783,17 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
785
783
  _: 3
786
784
  }, 8, ["disabled"]));
787
785
  }
788
- }), F = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-ngyZgYXx.js"), "./ArrowLeft.svg": () => import("./ArrowLeft-aY17W2aS.js"), "./ArrowRight.svg": () => import("./ArrowRight-DEMtdoE7.js"), "./Background.svg": () => import("./Background-DcRhSHgf.js"), "./Brackets.svg": () => import("./Brackets-4I8OKomf.js"), "./Branch.svg": () => import("./Branch-CXwj8YuG.js"), "./CallToAction.svg": () => import("./CallToAction-EyQKkvbg.js"), "./Checkmark.svg": () => import("./Checkmark-De7nq6cG.js"), "./ChevronDown.svg": () => import("./ChevronDown-Co7EAKAv.js"), "./ChevronLeft.svg": () => import("./ChevronLeft-DYt0idAu.js"), "./ChevronRight.svg": () => import("./ChevronRight-ylxToVWl.js"), "./ChevronUp.svg": () => import("./ChevronUp-xAnukIfj.js"), "./Clipboard.svg": () => import("./Clipboard-CU_KxGEv.js"), "./Close.svg": () => import("./Close-CW3z42qZ.js"), "./CodeFolder.svg": () => import("./CodeFolder-Cv_igzJE.js"), "./Cookie.svg": () => import("./Cookie-CEHvXpqB.js"), "./DarkMode.svg": () => import("./DarkMode-CBsV8Q_I.js"), "./Delete.svg": () => import("./Delete-BCZmxrDD.js"), "./Discord.svg": () => import("./Discord-BHYOFBB2.js"), "./DocsPage.svg": () => import("./DocsPage-rh2xwxKN.js"), "./Duplicate.svg": () => import("./Duplicate-BPlzNpcf.js"), "./Edit.svg": () => import("./Edit-Br04RNYb.js"), "./Ellipses.svg": () => import("./Ellipses-Bo_X36Hx.js"), "./Error.svg": () => import("./Error-B_RGtWJI.js"), "./ExternalLink.svg": () => import("./ExternalLink-DK8L-EH7.js"), "./FilterList.svg": () => import("./FilterList-CsAcE9em.js"), "./Folder.svg": () => import("./Folder-Cdcj4evh.js"), "./GitHub.svg": () => import("./GitHub-NdE6Zs9k.js"), "./Hide.svg": () => import("./Hide-DBLY4PPo.js"), "./History.svg": () => import("./History-D9nmhNIn.js"), "./JsonObject.svg": () => import("./JsonObject-hGdHUQ4M.js"), "./Key.svg": () => import("./Key-CWXJqX28.js"), "./Leave.svg": () => import("./Leave-K1J3uwoG.js"), "./LightDarkModeToggle.svg": () => import("./LightDarkModeToggle-BkvMimDa.js"), "./LightMode.svg": () => import("./LightMode-Btz6vyT_.js"), "./Link.svg": () => import("./Link-Bzuc__Nc.js"), "./Lock.svg": () => import("./Lock-xhiH1mKz.js"), "./Logo.svg": () => import("./Logo-mtzeKD8M.js"), "./LogoAPI.svg": () => import("./LogoAPI-CaU5E6FK.js"), "./LogoClient.svg": () => import("./LogoClient-DdC-t_7P.js"), "./LogoMarket.svg": () => import("./LogoMarket-DwlApcab.js"), "./LogoSwagger.svg": () => import("./LogoSwagger-CH60H5qW.js"), "./Magic.svg": () => import("./Magic-Dsi9_bEc.js"), "./Menu.svg": () => import("./Menu-CFK5cOsm.js"), "./Page.svg": () => import("./Page-B7rVuhpl.js"), "./PaperAirplane.svg": () => import("./PaperAirplane-BC-4mGEB.js"), "./Payment.svg": () => import("./Payment-hzcXP1Xb.js"), "./Play.svg": () => import("./Play-BrVagRQA.js"), "./Refresh.svg": () => import("./Refresh-Be6vHEEi.js"), "./Response.svg": () => import("./Response-Dq9pM-ZU.js"), "./Search.svg": () => import("./Search-DqtlswRG.js"), "./Show.svg": () => import("./Show-CMsTZAgT.js"), "./SideBarClosed.svg": () => import("./SideBarClosed-CYUNS2XM.js"), "./SideBarOpen.svg": () => import("./SideBarOpen-BOxW49_U.js"), "./Sort.svg": () => import("./Sort-oTjBhJFQ.js"), "./Terminal.svg": () => import("./Terminal-CKp--su5.js"), "./ThumbsDown.svg": () => import("./ThumbsDown-BMgnsASL.js"), "./ThumbsUp.svg": () => import("./ThumbsUp-C1j6zY2j.js"), "./Trash.svg": () => import("./Trash-BpA3zWPD.js"), "./Unlock.svg": () => import("./Unlock-CY8UqJoE.js"), "./Upload.svg": () => import("./Upload-REIdL7RI.js"), "./User.svg": () => import("./User-Df5svMQ3.js"), "./programming-framework-angular.svg": () => import("./programming-framework-angular-DD4Vjgbk.js"), "./programming-framework-astro.svg": () => import("./programming-framework-astro-CLfrRt19.js"), "./programming-framework-laravel.svg": () => import("./programming-framework-laravel-kAy2wVLy.js"), "./programming-framework-nextdotjs.svg": () => import("./programming-framework-nextdotjs-BKdd_DY_.js"), "./programming-framework-react.svg": () => import("./programming-framework-react-PDgmtZuN.js"), "./programming-framework-vuedotjs.svg": () => import("./programming-framework-vuedotjs-Cv46W2aB.js"), "./programming-language-c.svg": () => import("./programming-language-c-hPGu2Zvg.js"), "./programming-language-clojure.svg": () => import("./programming-language-clojure-Cvmzky8x.js"), "./programming-language-csharp.svg": () => import("./programming-language-csharp-lqX1oWgb.js"), "./programming-language-css3.svg": () => import("./programming-language-css3-Dpp4Cr6b.js"), "./programming-language-go.svg": () => import("./programming-language-go-DoJxWwT6.js"), "./programming-language-html5.svg": () => import("./programming-language-html5-DlqJK4EL.js"), "./programming-language-http.svg": () => import("./programming-language-http-wMYwFS1I.js"), "./programming-language-java.svg": () => import("./programming-language-java-BCxG2T_w.js"), "./programming-language-javascript.svg": () => import("./programming-language-javascript-VxLvi1QG.js"), "./programming-language-json.svg": () => import("./programming-language-json-vEX_g7Zi.js"), "./programming-language-kotlin.svg": () => import("./programming-language-kotlin-DKV8vP9h.js"), "./programming-language-node.svg": () => import("./programming-language-node-Xsgx38lm.js"), "./programming-language-objc.svg": () => import("./programming-language-objc-BQXSOBsX.js"), "./programming-language-ocaml.svg": () => import("./programming-language-ocaml-BEz7gGv7.js"), "./programming-language-php.svg": () => import("./programming-language-php-GY38f8r4.js"), "./programming-language-powershell.svg": () => import("./programming-language-powershell-C9DkSp36.js"), "./programming-language-python.svg": () => import("./programming-language-python-Ct-_kNjo.js"), "./programming-language-r.svg": () => import("./programming-language-r-BGoKwua9.js"), "./programming-language-ruby.svg": () => import("./programming-language-ruby-DhdM4d7g.js"), "./programming-language-scala.svg": () => import("./programming-language-scala-BVg0dToJ.js"), "./programming-language-shell.svg": () => import("./programming-language-shell-BsTa1xI7.js"), "./programming-language-swift.svg": () => import("./programming-language-swift-Dn72xPjg.js"), "./programming-language-typescript.svg": () => import("./programming-language-typescript-CdF-HuRi.js"), "./programming-script-code.svg": () => import("./programming-script-code-DQN1veb2.js"), "./programming-tool-git.svg": () => import("./programming-tool-git-DDnQ1zGD.js"), "./programming-tool-tailwindcss.svg": () => import("./programming-tool-tailwindcss-xjXi0E6g.js") }), U = (a) => {
789
- const t = `./${a}.svg`;
790
- return F[t] ? oe(F[t]) : (console.warn(`Could not find icon: ${a}`), null);
791
- }, Ye = ["src"], G = /* @__PURE__ */ w({
786
+ }), H = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-ngyZgYXx.js"), "./ArrowLeft.svg": () => import("./ArrowLeft-aY17W2aS.js"), "./ArrowRight.svg": () => import("./ArrowRight-DEMtdoE7.js"), "./Background.svg": () => import("./Background-DcRhSHgf.js"), "./Brackets.svg": () => import("./Brackets-4I8OKomf.js"), "./Branch.svg": () => import("./Branch-CXwj8YuG.js"), "./CallToAction.svg": () => import("./CallToAction-EyQKkvbg.js"), "./Checkmark.svg": () => import("./Checkmark-De7nq6cG.js"), "./ChevronDown.svg": () => import("./ChevronDown-Co7EAKAv.js"), "./ChevronLeft.svg": () => import("./ChevronLeft-DYt0idAu.js"), "./ChevronRight.svg": () => import("./ChevronRight-ylxToVWl.js"), "./ChevronUp.svg": () => import("./ChevronUp-xAnukIfj.js"), "./Clipboard.svg": () => import("./Clipboard-CU_KxGEv.js"), "./Close.svg": () => import("./Close-CW3z42qZ.js"), "./CodeFolder.svg": () => import("./CodeFolder-Cv_igzJE.js"), "./Cookie.svg": () => import("./Cookie-CEHvXpqB.js"), "./DarkMode.svg": () => import("./DarkMode-CBsV8Q_I.js"), "./Delete.svg": () => import("./Delete-BCZmxrDD.js"), "./Discord.svg": () => import("./Discord-BHYOFBB2.js"), "./DocsPage.svg": () => import("./DocsPage-rh2xwxKN.js"), "./Duplicate.svg": () => import("./Duplicate-BPlzNpcf.js"), "./Edit.svg": () => import("./Edit-Br04RNYb.js"), "./Ellipses.svg": () => import("./Ellipses-Bo_X36Hx.js"), "./Error.svg": () => import("./Error-B_RGtWJI.js"), "./ExternalLink.svg": () => import("./ExternalLink-DK8L-EH7.js"), "./FilterList.svg": () => import("./FilterList-CsAcE9em.js"), "./Folder.svg": () => import("./Folder-Cdcj4evh.js"), "./GitHub.svg": () => import("./GitHub-NdE6Zs9k.js"), "./Hide.svg": () => import("./Hide-DBLY4PPo.js"), "./History.svg": () => import("./History-D9nmhNIn.js"), "./JsonObject.svg": () => import("./JsonObject-hGdHUQ4M.js"), "./Key.svg": () => import("./Key-CWXJqX28.js"), "./Leave.svg": () => import("./Leave-K1J3uwoG.js"), "./LightDarkModeToggle.svg": () => import("./LightDarkModeToggle-BkvMimDa.js"), "./LightMode.svg": () => import("./LightMode-Btz6vyT_.js"), "./Link.svg": () => import("./Link-Bzuc__Nc.js"), "./Lock.svg": () => import("./Lock-xhiH1mKz.js"), "./Logo.svg": () => import("./Logo-mtzeKD8M.js"), "./LogoAPI.svg": () => import("./LogoAPI-CaU5E6FK.js"), "./LogoClient.svg": () => import("./LogoClient-DdC-t_7P.js"), "./LogoMarket.svg": () => import("./LogoMarket-DwlApcab.js"), "./LogoSwagger.svg": () => import("./LogoSwagger-CH60H5qW.js"), "./Magic.svg": () => import("./Magic-Dsi9_bEc.js"), "./Menu.svg": () => import("./Menu-CFK5cOsm.js"), "./Page.svg": () => import("./Page-B7rVuhpl.js"), "./PaperAirplane.svg": () => import("./PaperAirplane-BC-4mGEB.js"), "./Payment.svg": () => import("./Payment-hzcXP1Xb.js"), "./Play.svg": () => import("./Play-BrVagRQA.js"), "./Refresh.svg": () => import("./Refresh-Be6vHEEi.js"), "./Response.svg": () => import("./Response-Dq9pM-ZU.js"), "./Search.svg": () => import("./Search-DqtlswRG.js"), "./Show.svg": () => import("./Show-CMsTZAgT.js"), "./SideBarClosed.svg": () => import("./SideBarClosed-CYUNS2XM.js"), "./SideBarOpen.svg": () => import("./SideBarOpen-BOxW49_U.js"), "./Sort.svg": () => import("./Sort-oTjBhJFQ.js"), "./Terminal.svg": () => import("./Terminal-CKp--su5.js"), "./ThumbsDown.svg": () => import("./ThumbsDown-BMgnsASL.js"), "./ThumbsUp.svg": () => import("./ThumbsUp-C1j6zY2j.js"), "./Trash.svg": () => import("./Trash-BpA3zWPD.js"), "./Unlock.svg": () => import("./Unlock-CY8UqJoE.js"), "./Upload.svg": () => import("./Upload-REIdL7RI.js"), "./User.svg": () => import("./User-Df5svMQ3.js"), "./programming-framework-angular.svg": () => import("./programming-framework-angular-DD4Vjgbk.js"), "./programming-framework-astro.svg": () => import("./programming-framework-astro-CLfrRt19.js"), "./programming-framework-laravel.svg": () => import("./programming-framework-laravel-kAy2wVLy.js"), "./programming-framework-nextdotjs.svg": () => import("./programming-framework-nextdotjs-BKdd_DY_.js"), "./programming-framework-react.svg": () => import("./programming-framework-react-PDgmtZuN.js"), "./programming-framework-vuedotjs.svg": () => import("./programming-framework-vuedotjs-Cv46W2aB.js"), "./programming-language-c.svg": () => import("./programming-language-c-hPGu2Zvg.js"), "./programming-language-clojure.svg": () => import("./programming-language-clojure-Cvmzky8x.js"), "./programming-language-csharp.svg": () => import("./programming-language-csharp-lqX1oWgb.js"), "./programming-language-css3.svg": () => import("./programming-language-css3-Dpp4Cr6b.js"), "./programming-language-go.svg": () => import("./programming-language-go-DoJxWwT6.js"), "./programming-language-html5.svg": () => import("./programming-language-html5-DlqJK4EL.js"), "./programming-language-http.svg": () => import("./programming-language-http-wMYwFS1I.js"), "./programming-language-java.svg": () => import("./programming-language-java-BCxG2T_w.js"), "./programming-language-javascript.svg": () => import("./programming-language-javascript-VxLvi1QG.js"), "./programming-language-json.svg": () => import("./programming-language-json-vEX_g7Zi.js"), "./programming-language-kotlin.svg": () => import("./programming-language-kotlin-DKV8vP9h.js"), "./programming-language-node.svg": () => import("./programming-language-node-Xsgx38lm.js"), "./programming-language-objc.svg": () => import("./programming-language-objc-BQXSOBsX.js"), "./programming-language-ocaml.svg": () => import("./programming-language-ocaml-BEz7gGv7.js"), "./programming-language-php.svg": () => import("./programming-language-php-GY38f8r4.js"), "./programming-language-powershell.svg": () => import("./programming-language-powershell-C9DkSp36.js"), "./programming-language-python.svg": () => import("./programming-language-python-Ct-_kNjo.js"), "./programming-language-r.svg": () => import("./programming-language-r-BGoKwua9.js"), "./programming-language-ruby.svg": () => import("./programming-language-ruby-DhdM4d7g.js"), "./programming-language-scala.svg": () => import("./programming-language-scala-BVg0dToJ.js"), "./programming-language-shell.svg": () => import("./programming-language-shell-BsTa1xI7.js"), "./programming-language-swift.svg": () => import("./programming-language-swift-Dn72xPjg.js"), "./programming-language-typescript.svg": () => import("./programming-language-typescript-CdF-HuRi.js"), "./programming-script-code.svg": () => import("./programming-script-code-DQN1veb2.js"), "./programming-tool-git.svg": () => import("./programming-tool-git-DDnQ1zGD.js"), "./programming-tool-tailwindcss.svg": () => import("./programming-tool-tailwindcss-xjXi0E6g.js") }), M = (r) => {
787
+ const t = `./${r}.svg`;
788
+ return H[t] ? re(H[t]) : (console.warn(`Could not find icon: ${r}`), null);
789
+ }, Ue = ["src"], Y = /* @__PURE__ */ w({
792
790
  __name: "ScalarIcon",
793
791
  props: {
794
792
  icon: {},
795
793
  size: {}
796
794
  },
797
- setup(a) {
798
- const t = a, e = L({
795
+ setup(r) {
796
+ const t = r, e = L({
799
797
  variants: {
800
798
  size: {
801
799
  xs: "size-3 stroke-[1.4]",
@@ -811,16 +809,16 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
811
809
  defaultVariants: {
812
810
  size: "full"
813
811
  }
814
- }), r = U(t.icon);
815
- return (d, c) => n(r) ? (m(), $(q(n(U)(d.icon)), {
812
+ }), a = M(t.icon);
813
+ return (d, c) => n(a) ? (m(), I(U(n(M)(d.icon)), {
816
814
  key: 0,
817
815
  class: S(n(E)("scalar-icon", n(e)({ size: d.size })))
818
816
  }, null, 8, ["class"])) : (m(), v("img", {
819
817
  key: 1,
820
818
  src: d.icon
821
- }, null, 8, Ye));
819
+ }, null, 8, Ue));
822
820
  }
823
- }), Je = ["ariaDisabled"], Ze = { class: "sr-only" }, Z = /* @__PURE__ */ w({
821
+ }), je = ["ariaDisabled"], We = { class: "sr-only" }, Xe = /* @__PURE__ */ w({
824
822
  __name: "ScalarIconButton",
825
823
  props: {
826
824
  label: {},
@@ -829,7 +827,7 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
829
827
  variant: { default: "ghost" },
830
828
  size: { default: "md" }
831
829
  },
832
- setup(a) {
830
+ setup(r) {
833
831
  const t = L({
834
832
  base: "scalar-icon-button grid aspect-square cursor-pointer rounded",
835
833
  variants: {
@@ -843,22 +841,22 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
843
841
  disabled: {
844
842
  true: "cursor-not-allowed shadow-none"
845
843
  },
846
- variant: J
844
+ variant: q
847
845
  }
848
846
  }), e = _(() => {
849
- const { class: r, ...d } = T();
850
- return { class: r || "", rest: d };
847
+ const { class: a, ...d } = T();
848
+ return { class: a || "", rest: d };
851
849
  });
852
- return (r, d) => (m(), v("button", A(e.value.rest, {
853
- ariaDisabled: r.disabled || void 0,
854
- class: n(E)(n(t)({ size: r.size, variant: r.variant, disabled: r.disabled }), e.value.class),
850
+ return (a, d) => (m(), v("button", A(e.value.rest, {
851
+ ariaDisabled: a.disabled || void 0,
852
+ class: n(E)(n(t)({ size: a.size, variant: a.variant, disabled: a.disabled }), e.value.class),
855
853
  type: "button"
856
854
  }), [
857
- I(n(G), { icon: r.icon }, null, 8, ["icon"]),
858
- h("span", Ze, z(r.label), 1)
859
- ], 16, Je));
855
+ x(n(Y), { icon: a.icon }, null, 8, ["icon"]),
856
+ h("span", We, R(a.label), 1)
857
+ ], 16, je));
860
858
  }
861
- }), Dt = () => j({
859
+ }), It = () => G({
862
860
  open: !1,
863
861
  show() {
864
862
  this.open = !0;
@@ -866,7 +864,7 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
866
864
  hide() {
867
865
  this.open = !1;
868
866
  }
869
- }), Qe = /* @__PURE__ */ w({
867
+ }), qe = /* @__PURE__ */ w({
870
868
  __name: "ScalarModal",
871
869
  props: {
872
870
  state: {},
@@ -876,7 +874,7 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
876
874
  size: { default: "md" },
877
875
  variant: {}
878
876
  },
879
- setup(a) {
877
+ setup(r) {
880
878
  const t = L({
881
879
  base: [
882
880
  "scalar-modal",
@@ -895,9 +893,9 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
895
893
  }
896
894
  }
897
895
  });
898
- return (e, r) => (m(), $(n(ve), {
896
+ return (e, a) => (m(), I(n(fe), {
899
897
  open: e.state.open,
900
- onClose: r[0] || (r[0] = (d) => e.state.hide())
898
+ onClose: a[0] || (a[0] = (d) => e.state.hide())
901
899
  }, {
902
900
  default: y(() => [
903
901
  h("div", {
@@ -909,21 +907,21 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
909
907
  )
910
908
  )
911
909
  }, [
912
- I(n(be), {
910
+ x(n(he), {
913
911
  class: S(n(t)({ size: e.size, variant: e.variant })),
914
- style: K({ maxWidth: e.maxWidth })
912
+ style: j({ maxWidth: e.maxWidth })
915
913
  }, {
916
914
  default: y(() => [
917
- e.title ? (m(), $(n(Se), {
915
+ e.title ? (m(), I(n(ve), {
918
916
  key: 0,
919
917
  class: S(["scalar-modal-header font-semiBold m-0 rounded-lg px-6 py-3 text-left text-xs text-fore-1", { "pb-0 pt-6": e.variant === "history" }])
920
918
  }, {
921
919
  default: y(() => [
922
- Y(z(e.title), 1)
920
+ W(R(e.title), 1)
923
921
  ]),
924
922
  _: 1
925
- }, 8, ["class"])) : N("", !0),
926
- I(n(ye), {
923
+ }, 8, ["class"])) : $("", !0),
924
+ x(n(be), {
927
925
  class: S([
928
926
  "scalar-modal-body relative max-h-[calc(100dvh-240px)] overflow-y-auto rounded-lg bg-back-1 px-6 pb-4 pt-6",
929
927
  n(E)(
@@ -946,31 +944,31 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
946
944
  _: 3
947
945
  }, 8, ["open"]));
948
946
  }
949
- }), et = /* @__PURE__ */ O(Qe, [["__scopeId", "data-v-ff85ced0"]]), tt = /* @__PURE__ */ h("div", { class: "absolute inset-0 -z-1 rounded bg-back-1 shadow-md brightness-lifted" }, null, -1), at = /* @__PURE__ */ w({
947
+ }), At = /* @__PURE__ */ P(qe, [["__scopeId", "data-v-ff85ced0"]]), Ke = /* @__PURE__ */ h("div", { class: "absolute inset-0 -z-1 rounded bg-back-1 shadow-md brightness-lifted" }, null, -1), Ct = /* @__PURE__ */ w({
950
948
  inheritAttrs: !1,
951
949
  __name: "ScalarPopover",
952
950
  props: {
953
951
  placement: {},
954
952
  resize: { type: Boolean }
955
953
  },
956
- setup(a) {
957
- return (t, e) => (m(), $(n(_e), null, {
954
+ setup(r) {
955
+ return (t, e) => (m(), I(n(Se), null, {
958
956
  default: y(() => [
959
- I(n(H), ne(ie(t.$props)), {
960
- floating: y(({ width: r, height: d }) => [
961
- I(n(we), A({
962
- class: "scalar-component relative flex flex-col p-0.75",
963
- style: { width: r, height: d }
957
+ x(n(K), se(oe(t.$props)), {
958
+ floating: y(({ width: a, height: d }) => [
959
+ x(n(ye), A({
960
+ class: "relative flex flex-col p-0.75",
961
+ style: { width: a, height: d }
964
962
  }, t.$attrs), {
965
963
  default: y(() => [
966
964
  b(t.$slots, "popover"),
967
- tt
965
+ Ke
968
966
  ]),
969
967
  _: 2
970
968
  }, 1040, ["style"])
971
969
  ]),
972
970
  default: y(() => [
973
- I(n(ke), { as: "template" }, {
971
+ x(n(_e), { as: "template" }, {
974
972
  default: y(() => [
975
973
  b(t.$slots, "default")
976
974
  ]),
@@ -983,7 +981,7 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
983
981
  _: 3
984
982
  }));
985
983
  }
986
- }), rt = { class: "sr-only" }, st = ["value"], ot = /* @__PURE__ */ w({
984
+ }), Ye = { class: "sr-only" }, Je = ["value"], Tt = /* @__PURE__ */ w({
987
985
  inheritAttrs: !1,
988
986
  __name: "ScalarSearchInput",
989
987
  props: {
@@ -991,9 +989,9 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
991
989
  modelValue: {}
992
990
  },
993
991
  emits: ["update:modelValue"],
994
- setup(a, { emit: t }) {
992
+ setup(r, { emit: t }) {
995
993
  const e = t;
996
- function r(c) {
994
+ function a(c) {
997
995
  e("update:modelValue", c.target.value);
998
996
  }
999
997
  const d = _(() => {
@@ -1006,9 +1004,9 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1006
1004
  d.value.className
1007
1005
  )
1008
1006
  }), [
1009
- h("span", rt, [
1007
+ h("span", Ye, [
1010
1008
  b(c.$slots, "label", {}, () => [
1011
- Y("Enter search")
1009
+ W("Enter search")
1012
1010
  ])
1013
1011
  ]),
1014
1012
  h("input", {
@@ -1020,62 +1018,62 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1020
1018
  spellcheck: "false",
1021
1019
  type: "text",
1022
1020
  value: c.modelValue,
1023
- onInput: r
1024
- }, null, 40, st),
1025
- c.loading && c.loading.isLoading ? (m(), $(n(M), {
1021
+ onInput: a
1022
+ }, null, 40, Je),
1023
+ c.loading && c.loading.isLoading ? (m(), I(n(X), {
1026
1024
  key: 0,
1027
1025
  class: "mr-3 self-center",
1028
1026
  loadingState: c.loading,
1029
1027
  size: "20px"
1030
- }, null, 8, ["loadingState"])) : c.modelValue ? (m(), $(n(Z), {
1028
+ }, null, 8, ["loadingState"])) : c.modelValue ? (m(), I(n(Xe), {
1031
1029
  key: 1,
1032
1030
  class: "self-center",
1033
1031
  icon: "Close",
1034
1032
  label: "Clear Search",
1035
1033
  size: "md",
1036
1034
  onClick: s[0] || (s[0] = (p) => e("update:modelValue", ""))
1037
- })) : N("", !0)
1035
+ })) : $("", !0)
1038
1036
  ], 16));
1039
1037
  }
1040
- }), nt = /* @__PURE__ */ h("div", { class: "flex flex-col items-center gap-2 px-3 py-4" }, [
1038
+ }), Ze = /* @__PURE__ */ h("div", { class: "flex flex-col items-center gap-2 px-3 py-4" }, [
1041
1039
  /* @__PURE__ */ h("div", { class: "rotate-90 text-lg font-bold" }, ":("),
1042
1040
  /* @__PURE__ */ h("div", { class: "text-sm font-medium text-fore-2" }, "No results found")
1043
- ], -1), it = /* @__PURE__ */ w({
1041
+ ], -1), Lt = /* @__PURE__ */ w({
1044
1042
  inheritAttrs: !1,
1045
1043
  __name: "ScalarSearchResultList",
1046
1044
  props: {
1047
1045
  noResults: { type: Boolean }
1048
1046
  },
1049
- setup(a) {
1047
+ setup(r) {
1050
1048
  const t = _(() => {
1051
- const { class: e, ...r } = T();
1052
- return { className: e || "", rest: r };
1049
+ const { class: e, ...a } = T();
1050
+ return { className: e || "", rest: a };
1053
1051
  });
1054
- return (e, r) => (m(), v("ul", A(t.value.rest, {
1052
+ return (e, a) => (m(), v("ul", A(t.value.rest, {
1055
1053
  class: n(E)("flex flex-col", t.value.className)
1056
1054
  }), [
1057
1055
  e.noResults ? b(e.$slots, "noResults", { key: 0 }, () => [
1058
- nt
1059
- ]) : N("", !0),
1056
+ Ze
1057
+ ]) : $("", !0),
1060
1058
  b(e.$slots, "default")
1061
1059
  ], 16));
1062
1060
  }
1063
- }), lt = { class: "contents" }, dt = { class: "text-fore-3 group-hover:text-fore-1" }, ct = { class: "flex min-w-0 flex-1 flex-col gap-0.75" }, pt = { class: "flex items-center gap-1" }, ut = { class: "flex-1 truncate text-sm font-medium" }, mt = {
1061
+ }), Qe = { class: "contents" }, et = { class: "text-fore-3 group-hover:text-fore-1" }, tt = { class: "flex min-w-0 flex-1 flex-col gap-0.75" }, at = { class: "flex items-center gap-1" }, rt = { class: "flex-1 truncate text-sm font-medium" }, st = {
1064
1062
  key: 0,
1065
1063
  class: "text-xs text-fore-2"
1066
- }, gt = { class: "truncate text-xs text-fore-2" }, ft = /* @__PURE__ */ w({
1064
+ }, ot = { class: "truncate text-xs text-fore-2" }, zt = /* @__PURE__ */ w({
1067
1065
  inheritAttrs: !1,
1068
1066
  __name: "ScalarSearchResultItem",
1069
1067
  props: {
1070
1068
  icon: {},
1071
1069
  active: { type: Boolean }
1072
1070
  },
1073
- setup(a) {
1071
+ setup(r) {
1074
1072
  const t = _(() => {
1075
- const { class: e, ...r } = T();
1076
- return { className: e || "", rest: r };
1073
+ const { class: e, ...a } = T();
1074
+ return { className: e || "", rest: a };
1077
1075
  });
1078
- return (e, r) => (m(), v("li", lt, [
1076
+ return (e, a) => (m(), v("li", Qe, [
1079
1077
  h("a", A(t.value.rest, {
1080
1078
  class: n(E)(
1081
1079
  "group flex cursor-pointer gap-3 rounded px-3 py-1.5 no-underline hover:bg-back-2",
@@ -1085,32 +1083,32 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1085
1083
  t.value.className
1086
1084
  )
1087
1085
  }), [
1088
- h("div", dt, [
1086
+ h("div", et, [
1089
1087
  b(e.$slots, "icon", {}, () => [
1090
- e.icon ? (m(), $(n(G), {
1088
+ e.icon ? (m(), I(n(Y), {
1091
1089
  key: 0,
1092
1090
  icon: e.icon,
1093
1091
  size: "sm"
1094
- }, null, 8, ["icon"])) : N("", !0)
1092
+ }, null, 8, ["icon"])) : $("", !0)
1095
1093
  ])
1096
1094
  ]),
1097
- h("div", ct, [
1098
- h("div", pt, [
1099
- h("div", ut, [
1095
+ h("div", tt, [
1096
+ h("div", at, [
1097
+ h("div", rt, [
1100
1098
  b(e.$slots, "default")
1101
1099
  ]),
1102
- e.$slots.addon ? (m(), v("div", mt, [
1100
+ e.$slots.addon ? (m(), v("div", st, [
1103
1101
  b(e.$slots, "addon")
1104
- ])) : N("", !0)
1102
+ ])) : $("", !0)
1105
1103
  ]),
1106
- h("div", gt, [
1104
+ h("div", ot, [
1107
1105
  b(e.$slots, "description")
1108
1106
  ])
1109
1107
  ])
1110
1108
  ], 16)
1111
1109
  ]));
1112
1110
  }
1113
- }), ht = { class: "scalar-component scalar-input-container relative" }, vt = ["for"], bt = { class: "icon-slot cursor-pointer text-ghost hover:text-fore-1 !empty:flex !empty:w-7 !empty:items-center !empty:pr-3" }, St = /* @__PURE__ */ w({
1111
+ }), nt = { class: "scalar-input-container relative" }, it = ["for"], lt = { class: "icon-slot cursor-pointer text-ghost hover:text-fore-1 !empty:flex !empty:w-7 !empty:items-center !empty:pr-3" }, dt = /* @__PURE__ */ w({
1114
1112
  __name: "ScalarTextField",
1115
1113
  props: {
1116
1114
  modelValue: {},
@@ -1126,8 +1124,8 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1126
1124
  disableTrim: { type: Boolean, default: !1 }
1127
1125
  },
1128
1126
  emits: ["submit", "update:modelValue"],
1129
- setup(a, { emit: t }) {
1130
- const e = a, r = t, d = L({
1127
+ setup(r, { emit: t }) {
1128
+ const e = r, a = t, d = L({
1131
1129
  base: "scalar-input-wrapper relative flex items-center rounded border border-solid border-border",
1132
1130
  variants: {
1133
1131
  focus: {
@@ -1135,10 +1133,10 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1135
1133
  },
1136
1134
  error: { true: "scalar-input-wrapper-error border-error" }
1137
1135
  }
1138
- }), c = T(), s = c.id || `id-${Ce()}`, p = x(), i = x(!1);
1136
+ }), c = T(), s = c.id || `id-${Ie()}`, p = N(), i = N(!1);
1139
1137
  let g;
1140
1138
  if (e.isMultiline) {
1141
- const { triggerResize: l } = Ae({
1139
+ const { triggerResize: l } = $e({
1142
1140
  element: p,
1143
1141
  input: e.modelValue
1144
1142
  });
@@ -1146,23 +1144,23 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1146
1144
  }
1147
1145
  function u(l) {
1148
1146
  const k = l.target.value;
1149
- e.isMultiline && g(), e.handleFieldChange ? e.handleFieldChange(k) : r("update:modelValue", k);
1147
+ e.isMultiline && g(), e.handleFieldChange ? e.handleFieldChange(k) : a("update:modelValue", k);
1150
1148
  }
1151
1149
  function o(l) {
1152
1150
  const k = l.target, C = e.disableTrim || e.isMultiline ? k.value : k.value.trim();
1153
- e.handleFieldSubmit ? e.handleFieldSubmit(C) : r("submit", C);
1151
+ e.handleFieldSubmit ? e.handleFieldSubmit(C) : a("submit", C);
1154
1152
  }
1155
1153
  function f(l) {
1156
1154
  i.value = !1, e.emitOnBlur && e.modelValue && o(l);
1157
1155
  }
1158
- return X(() => {
1156
+ return F(() => {
1159
1157
  var l;
1160
1158
  Object.prototype.hasOwnProperty.call(c, "autofocus") && ((l = p.value) == null || l.focus());
1161
- }), (l, k) => (m(), v("div", ht, [
1159
+ }), (l, k) => (m(), v("div", nt, [
1162
1160
  h("div", {
1163
1161
  class: S(n(d)({ error: l.error, focus: i.value }))
1164
1162
  }, [
1165
- (m(), $(q(l.isMultiline ? "textarea" : "input"), A({ id: n(s) }, l.$attrs, {
1163
+ (m(), I(U(l.isMultiline ? "textarea" : "input"), A({ id: n(s) }, l.$attrs, {
1166
1164
  ref_key: "input",
1167
1165
  ref: p,
1168
1166
  class: [
@@ -1178,7 +1176,7 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1178
1176
  onBlur: f,
1179
1177
  onFocus: k[0] || (k[0] = (C) => i.value = !0),
1180
1178
  onInput: u,
1181
- onKeyup: le(o, ["enter"])
1179
+ onKeyup: ne(o, ["enter"])
1182
1180
  }), null, 16, ["id", "class", "placeholder", "value"])),
1183
1181
  l.label ? (m(), v("label", {
1184
1182
  key: 0,
@@ -1189,12 +1187,12 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1189
1187
  )
1190
1188
  ),
1191
1189
  for: n(s),
1192
- style: K({
1190
+ style: j({
1193
1191
  "box-shadow": `0 0 4px 4px ${l.labelShadowColor}`,
1194
1192
  "background-color": l.labelShadowColor
1195
1193
  })
1196
- }, z(l.label), 15, vt)) : N("", !0),
1197
- h("div", bt, [
1194
+ }, R(l.label), 15, it)) : $("", !0),
1195
+ h("div", lt, [
1198
1196
  b(l.$slots, "default", {}, void 0, !0)
1199
1197
  ])
1200
1198
  ], 2),
@@ -1206,31 +1204,26 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1206
1204
  "before:bg-error before:text-white before:content-['!'] empty:hidden"
1207
1205
  )
1208
1206
  )
1209
- }, z(l.helperText), 3)
1207
+ }, R(l.helperText), 3)
1210
1208
  ]));
1211
1209
  }
1212
- }), yt = /* @__PURE__ */ O(St, [["__scopeId", "data-v-5f3f67be"]]), Pt = {
1213
- install: (a) => {
1214
- a.component("ScalarButton", Me), a.component("ScalarDropdown", Ue), a.component("ScalarDropdownDivider", qe), a.component("ScalarDropdownItem", Ke), a.component("ScalarFloating", H), a.component("ScalarIcon", G), a.component("ScalarIconButton", Z), a.component("ScalarLoading", M), a.component("ScalarModal", et), a.component("ScalarPopover", at), a.component("ScalarSearchInput", ot), a.component("ScalarSearchResultItem", ft), a.component("ScalarSearchResultList", it), a.component("ScalarTextField", yt);
1215
- }
1216
- };
1210
+ }), Rt = /* @__PURE__ */ P(dt, [["__scopeId", "data-v-4fc2339e"]]);
1217
1211
  export {
1218
- Me as ScalarButton,
1219
- zt as ScalarCodeBlock,
1220
- Ue as ScalarDropdown,
1221
- qe as ScalarDropdownDivider,
1222
- Ke as ScalarDropdownItem,
1223
- H as ScalarFloating,
1224
- G as ScalarIcon,
1225
- Z as ScalarIconButton,
1226
- M as ScalarLoading,
1227
- et as ScalarModal,
1228
- at as ScalarPopover,
1229
- ot as ScalarSearchInput,
1230
- ft as ScalarSearchResultItem,
1231
- it as ScalarSearchResultList,
1232
- yt as ScalarTextField,
1233
- Pt as default,
1234
- Rt as useLoadingState,
1235
- Dt as useModal
1212
+ kt as ScalarButton,
1213
+ Et as ScalarCodeBlock,
1214
+ Nt as ScalarDropdown,
1215
+ xt as ScalarDropdownDivider,
1216
+ $t as ScalarDropdownItem,
1217
+ K as ScalarFloating,
1218
+ Y as ScalarIcon,
1219
+ Xe as ScalarIconButton,
1220
+ X as ScalarLoading,
1221
+ At as ScalarModal,
1222
+ Ct as ScalarPopover,
1223
+ Tt as ScalarSearchInput,
1224
+ zt as ScalarSearchResultItem,
1225
+ Lt as ScalarSearchResultList,
1226
+ Rt as ScalarTextField,
1227
+ wt as useLoadingState,
1228
+ It as useModal
1236
1229
  };