@luizleon/sf.prefeiturasp.vuecomponents 4.1.8 → 4.1.9

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.
@@ -1,7 +1,7 @@
1
1
  var Wa = Object.defineProperty;
2
2
  var qa = (t, e, n) => e in t ? Wa(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var Pe = (t, e, n) => qa(t, typeof e != "symbol" ? e + "" : e, n);
4
- import { ref as Me, openBlock as N, createElementBlock as z, createElementVNode as B, defineComponent as We, onBeforeUnmount as ii, unref as fe, renderSlot as Ce, computed as Kt, createBlock as ye, resolveDynamicComponent as St, normalizeClass as ae, withCtx as tt, normalizeStyle as yn, mergeProps as q, Fragment as Ct, createTextVNode as Wn, toDisplayString as lt, createCommentVNode as me, useSlots as Ga, watch as Fr, Teleport as Ya, withModifiers as Cr, createVNode as Ne, Transition as uo, reactive as Ja, onMounted as In, createStaticVNode as Xa, resolveComponent as Pn, renderList as fo, readonly as Za, getCurrentInstance as Qa, nextTick as el, resolveDirective as tl, withDirectives as Vr, vShow as ai, pushScopeId as nl, popScopeId as rl } from "vue";
4
+ import { ref as Me, openBlock as N, createElementBlock as z, createElementVNode as B, defineComponent as We, onBeforeUnmount as ii, unref as fe, renderSlot as Ce, computed as Kt, createBlock as ye, resolveDynamicComponent as _t, normalizeClass as ae, withCtx as tt, normalizeStyle as yn, mergeProps as q, Fragment as Ct, createTextVNode as Wn, toDisplayString as lt, createCommentVNode as me, useSlots as Ga, watch as Fr, Teleport as Ya, withModifiers as Cr, createVNode as Ne, Transition as uo, reactive as Ja, onMounted as In, createStaticVNode as Xa, resolveComponent as Pn, renderList as fo, readonly as Za, getCurrentInstance as Qa, nextTick as el, resolveDirective as tl, withDirectives as Vr, vShow as ai, pushScopeId as nl, popScopeId as rl } from "vue";
5
5
  class ol {
6
6
  constructor() {
7
7
  Pe(this, "_visible", Me(!1));
@@ -20,7 +20,7 @@ class ol {
20
20
  }
21
21
  }
22
22
  const sl = new ol(), li = () => sl;
23
- class _t {
23
+ class pt {
24
24
  /**
25
25
  * Creates a new instance of the CssClassBuilder class.
26
26
  * @param value The initial value of the CSS class string.
@@ -167,11 +167,11 @@ const fl = /* @__PURE__ */ sr(al, [["render", dl]]), ui = /* @__PURE__ */ We({
167
167
  setup(t) {
168
168
  const e = t, n = Kt(
169
169
  () => e.tooltip ? ui : "div"
170
- ), r = Kt(() => e.tooltip ? "" : "display-content"), o = Kt(() => new _t(`${e.class} sf-icon`).AddClass("sf-component-loading", e.loading).AddClass("sf-component-disabled", e.disabled).AddClass("sf-icon-button", e.button).AddClass("sf-icon-small", e.size === "sm").AddClass("sf-icon-medium", e.size === "md").AddClass("sf-icon-large", e.size === "lg").AddClass("sf-icon-xlarge", e.size === "xl").AddClass("sf-icon-2xlarge", e.size === "2xl").AddClass("sf-icon-3xlarge", e.size === "3xl").AddClass("sf-ripple", e.button === !0).AddClass(
170
+ ), r = Kt(() => new pt(e.tooltip ? "" : "display-content").AddClass("sf-component-loading", e.loading).AddClass("sf-component-disabled", e.disabled).Build()), o = Kt(() => new pt(`${e.class} sf-icon`).AddClass("sf-component-loading", e.loading).AddClass("sf-component-disabled", e.disabled).AddClass("sf-icon-button", e.button).AddClass("sf-icon-small", e.size === "sm").AddClass("sf-icon-medium", e.size === "md").AddClass("sf-icon-large", e.size === "lg").AddClass("sf-icon-xlarge", e.size === "xl").AddClass("sf-icon-2xlarge", e.size === "2xl").AddClass("sf-icon-3xlarge", e.size === "3xl").AddClass("sf-ripple", e.button === !0).AddClass(
171
171
  `${e.color}-color`,
172
172
  !!e.color && e.color !== "inherit"
173
173
  ).Build());
174
- return (s, i) => (N(), ye(St(n.value), {
174
+ return (s, i) => (N(), ye(_t(n.value), {
175
175
  text: e.tooltip,
176
176
  class: ae(r.value)
177
177
  }, {
@@ -203,7 +203,7 @@ const fl = /* @__PURE__ */ sr(al, [["render", dl]]), ui = /* @__PURE__ */ We({
203
203
  _: 1
204
204
  }, 8, ["text", "class"]));
205
205
  }
206
- }), Kr = /* @__PURE__ */ sr(hl, [["__scopeId", "data-v-acf8f09c"]]), gl = ["id", "onClick"], yl = { class: "sf-drawer-header" }, vl = { class: "sf-drawer-title" }, bl = { class: "sf-drawer-content" }, wl = {
206
+ }), Kr = /* @__PURE__ */ sr(hl, [["__scopeId", "data-v-7ffc3790"]]), gl = ["id", "onClick"], yl = { class: "sf-drawer-header" }, vl = { class: "sf-drawer-title" }, bl = { class: "sf-drawer-content" }, wl = {
207
207
  key: 0,
208
208
  class: "sf-drawer-footer"
209
209
  }, Sl = /* @__PURE__ */ We({
@@ -236,7 +236,7 @@ const fl = /* @__PURE__ */ sr(al, [["render", dl]]), ui = /* @__PURE__ */ We({
236
236
  window.document.removeEventListener("keydown", u, !0), i.value = !1;
237
237
  }
238
238
  function T() {
239
- return new _t("sf-mask sf-mask-overlay").AddClass("right", n.position === "right").AddClass("bottom", n.position === "bottom").AddClass("full", n.position === "full").AddClass("sf-mask-overlay-enter", n.visible === !0).Build();
239
+ return new pt("sf-mask sf-mask-overlay").AddClass("right", n.position === "right").AddClass("bottom", n.position === "bottom").AddClass("full", n.position === "full").AddClass("sf-mask-overlay-enter", n.visible === !0).Build();
240
240
  }
241
241
  return Fr(
242
242
  () => n.visible,
@@ -323,7 +323,7 @@ const fl = /* @__PURE__ */ sr(al, [["render", dl]]), ui = /* @__PURE__ */ We({
323
323
  setup(t) {
324
324
  const e = t;
325
325
  function n() {
326
- return new _t(`${e.class ?? ""} sf-button`).AddClass("sf-component-loading", e.loading).AddClass("sf-component-disabled", e.disabled).AddClass("sf-button-small", e.size === "sm").AddClass("sf-button-medium", e.size === "md").AddClass("sf-button-large", e.size === "lg").AddClass("sf-button-filled", e.variant === "filled").AddClass("sf-button-text", e.variant === "text").AddClass("sf-button-outlined", e.variant === "outlined").AddClass("sf-button-with-icon", !!e.icon).AddClass("sf-ripple").Build();
326
+ return new pt(`${e.class ?? ""} sf-button`).AddClass("sf-component-loading", e.loading).AddClass("sf-component-disabled", e.disabled).AddClass("sf-button-small", e.size === "sm").AddClass("sf-button-medium", e.size === "md").AddClass("sf-button-large", e.size === "lg").AddClass("sf-button-filled", e.variant === "filled").AddClass("sf-button-text", e.variant === "text").AddClass("sf-button-outlined", e.variant === "outlined").AddClass("sf-button-with-icon", !!e.icon).AddClass("sf-ripple").Build();
327
327
  }
328
328
  return (r, o) => e.visible ? (N(), z("button", {
329
329
  key: 0,
@@ -625,7 +625,7 @@ const fl = /* @__PURE__ */ sr(al, [["render", dl]]), ui = /* @__PURE__ */ We({
625
625
  (n) => n.getAttribute("tabindex") !== "-1"
626
626
  );
627
627
  return Tl(t.concat(e)).filter((n) => Be(n));
628
- }, vo = () => ht(document.body, v.shown) && !ht(document.body, v["toast-shown"]) && !ht(document.body, v["no-backdrop"]), cr = () => Z() && ht(Z(), v.toast), Bl = () => Z().hasAttribute("data-loading"), Wt = {
628
+ }, vo = () => gt(document.body, v.shown) && !gt(document.body, v["toast-shown"]) && !gt(document.body, v["no-backdrop"]), cr = () => Z() && gt(Z(), v.toast), Bl = () => Z().hasAttribute("data-loading"), Wt = {
629
629
  previousBodyPadding: null
630
630
  }, ve = (t, e) => {
631
631
  if (t.textContent = "", e) {
@@ -636,7 +636,7 @@ const fl = /* @__PURE__ */ sr(al, [["render", dl]]), ui = /* @__PURE__ */ We({
636
636
  t.appendChild(o);
637
637
  });
638
638
  }
639
- }, ht = (t, e) => {
639
+ }, gt = (t, e) => {
640
640
  if (!e)
641
641
  return !1;
642
642
  const n = e.split(/\s+/);
@@ -691,7 +691,7 @@ const fl = /* @__PURE__ */ sr(al, [["render", dl]]), ui = /* @__PURE__ */ We({
691
691
  }, kt = (t, e) => {
692
692
  const n = je(t.childNodes);
693
693
  for (let r = 0; r < n.length; r++)
694
- if (ht(n[r], e))
694
+ if (gt(n[r], e))
695
695
  return n[r];
696
696
  }, hn = (t, e, n) => {
697
697
  n === `${parseInt(n)}` && (n = parseInt(n)), n || parseInt(n) === 0 ? t.style[e] = typeof n == "number" ? `${n}px` : n : t.style.removeProperty(e);
@@ -1153,7 +1153,7 @@ const Fc = () => {
1153
1153
  Wt.previousBodyPadding !== null && (document.body.style.paddingRight = `${Wt.previousBodyPadding}px`, Wt.previousBodyPadding = null);
1154
1154
  }, Kc = () => {
1155
1155
  if (// @ts-ignore
1156
- (/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1) && !ht(document.body, v.iosfix)) {
1156
+ (/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1) && !gt(document.body, v.iosfix)) {
1157
1157
  const e = document.body.scrollTop;
1158
1158
  document.body.style.top = `${e * -1}px`, Y(document.body, v.iosfix), Wc(), zc();
1159
1159
  }
@@ -1175,7 +1175,7 @@ const Fc = () => {
1175
1175
  !(rs(Xn()) && // #1944
1176
1176
  Xn().contains(e));
1177
1177
  }, Gc = (t) => t.touches && t.touches.length && t.touches[0].touchType === "stylus", Yc = (t) => t.touches && t.touches.length > 1, Jc = () => {
1178
- if (ht(document.body, v.iosfix)) {
1178
+ if (gt(document.body, v.iosfix)) {
1179
1179
  const t = parseInt(document.body.style.top, 10);
1180
1180
  ct(document.body, v.iosfix), document.body.style.top = "", document.body.scrollTop = t * -1;
1181
1181
  }
@@ -1361,7 +1361,7 @@ const Cu = (t) => {
1361
1361
  if (!e)
1362
1362
  return !1;
1363
1363
  const n = F.innerParams.get(t);
1364
- if (!n || ht(e, n.hideClass.popup))
1364
+ if (!n || gt(e, n.hideClass.popup))
1365
1365
  return !1;
1366
1366
  ct(e, n.showClass.popup), Y(e, n.hideClass.popup);
1367
1367
  const r = be();
@@ -1447,7 +1447,7 @@ function Du() {
1447
1447
  }
1448
1448
  function Nu(t) {
1449
1449
  const e = Z(), n = F.innerParams.get(this);
1450
- if (!e || ht(e, n.hideClass.popup))
1450
+ if (!e || gt(e, n.hideClass.popup))
1451
1451
  return $e(
1452
1452
  "You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup."
1453
1453
  );
@@ -1916,7 +1916,7 @@ function zi() {
1916
1916
  ERB_EXPR: Ae,
1917
1917
  TMPLIT_EXPR: Ge,
1918
1918
  DATA_ATTR: Ye,
1919
- ARIA_ATTR: gt,
1919
+ ARIA_ATTR: yt,
1920
1920
  IS_SCRIPT_OR_DATA: ut,
1921
1921
  ATTR_WHITESPACE: Je
1922
1922
  } = ws;
@@ -2100,7 +2100,7 @@ function zi() {
2100
2100
  if (Do && (P === "id" || P === "name") && ($ in n || $ in ja))
2101
2101
  return !1;
2102
2102
  if (!(C && !_[P] && De(Ye, P))) {
2103
- if (!(O && De(gt, P))) {
2103
+ if (!(O && De(yt, P))) {
2104
2104
  if (!d[P] || _[P]) {
2105
2105
  if (
2106
2106
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
@@ -2477,7 +2477,7 @@ const zd = /* @__PURE__ */ new Uint32Array([
2477
2477
  2756734187,
2478
2478
  3204031479,
2479
2479
  3329325298
2480
- ]), yt = /* @__PURE__ */ new Uint32Array([
2480
+ ]), vt = /* @__PURE__ */ new Uint32Array([
2481
2481
  1779033703,
2482
2482
  3144134277,
2483
2483
  1013904242,
@@ -2486,10 +2486,10 @@ const zd = /* @__PURE__ */ new Uint32Array([
2486
2486
  2600822924,
2487
2487
  528734635,
2488
2488
  1541459225
2489
- ]), vt = /* @__PURE__ */ new Uint32Array(64);
2489
+ ]), bt = /* @__PURE__ */ new Uint32Array(64);
2490
2490
  class Wd extends Kd {
2491
2491
  constructor() {
2492
- super(64, 32, 8, !1), this.A = yt[0] | 0, this.B = yt[1] | 0, this.C = yt[2] | 0, this.D = yt[3] | 0, this.E = yt[4] | 0, this.F = yt[5] | 0, this.G = yt[6] | 0, this.H = yt[7] | 0;
2492
+ super(64, 32, 8, !1), this.A = vt[0] | 0, this.B = vt[1] | 0, this.C = vt[2] | 0, this.D = vt[3] | 0, this.E = vt[4] | 0, this.F = vt[5] | 0, this.G = vt[6] | 0, this.H = vt[7] | 0;
2493
2493
  }
2494
2494
  get() {
2495
2495
  const { A: e, B: n, C: r, D: o, E: s, F: i, G: a, H: l } = this;
@@ -2501,20 +2501,20 @@ class Wd extends Kd {
2501
2501
  }
2502
2502
  process(e, n) {
2503
2503
  for (let f = 0; f < 16; f++, n += 4)
2504
- vt[f] = e.getUint32(n, !1);
2504
+ bt[f] = e.getUint32(n, !1);
2505
2505
  for (let f = 16; f < 64; f++) {
2506
- const h = vt[f - 15], S = vt[f - 2], y = at(h, 7) ^ at(h, 18) ^ h >>> 3, T = at(S, 17) ^ at(S, 19) ^ S >>> 10;
2507
- vt[f] = T + vt[f - 7] + y + vt[f - 16] | 0;
2506
+ const h = bt[f - 15], S = bt[f - 2], y = at(h, 7) ^ at(h, 18) ^ h >>> 3, T = at(S, 17) ^ at(S, 19) ^ S >>> 10;
2507
+ bt[f] = T + bt[f - 7] + y + bt[f - 16] | 0;
2508
2508
  }
2509
2509
  let { A: r, B: o, C: s, D: i, E: a, F: l, G: c, H: u } = this;
2510
2510
  for (let f = 0; f < 64; f++) {
2511
- const h = at(a, 6) ^ at(a, 11) ^ at(a, 25), S = u + h + Fd(a, l, c) + zd[f] + vt[f] | 0, T = (at(r, 2) ^ at(r, 13) ^ at(r, 22)) + Vd(r, o, s) | 0;
2511
+ const h = at(a, 6) ^ at(a, 11) ^ at(a, 25), S = u + h + Fd(a, l, c) + zd[f] + bt[f] | 0, T = (at(r, 2) ^ at(r, 13) ^ at(r, 22)) + Vd(r, o, s) | 0;
2512
2512
  u = c, c = l, l = a, a = i + S | 0, i = s, s = o, o = r, r = S + T | 0;
2513
2513
  }
2514
2514
  r = r + this.A | 0, o = o + this.B | 0, s = s + this.C | 0, i = i + this.D | 0, a = a + this.E | 0, l = l + this.F | 0, c = c + this.G | 0, u = u + this.H | 0, this.set(r, o, s, i, a, l, c, u);
2515
2515
  }
2516
2516
  roundClean() {
2517
- vt.fill(0);
2517
+ bt.fill(0);
2518
2518
  }
2519
2519
  destroy() {
2520
2520
  this.set(0, 0, 0, 0, 0, 0, 0, 0), this.buffer.fill(0);
@@ -2717,7 +2717,7 @@ function Ji(t) {
2717
2717
  return document.addEventListener("readystatechange", L), L(), x.promise;
2718
2718
  }
2719
2719
  return _.then(function() {
2720
- M().then(gt).then(I).catch(function(x) {
2720
+ M().then(yt).then(I).catch(function(x) {
2721
2721
  w.setError(x);
2722
2722
  });
2723
2723
  }), _.catch(function(x) {
@@ -3224,7 +3224,7 @@ function Ji(t) {
3224
3224
  d.setSuccess();
3225
3225
  return d.promise;
3226
3226
  }
3227
- function gt() {
3227
+ function yt() {
3228
3228
  var d = H();
3229
3229
  if (s.enable || e.silentCheckSsoRedirectUri) {
3230
3230
  var p = document.createElement("iframe");
@@ -3743,16 +3743,16 @@ const Nt = new cf(), uf = /* @__PURE__ */ Xa('<svg xmlns="http://www.w3.org/2000
3743
3743
  setup(t) {
3744
3744
  const e = t;
3745
3745
  function n() {
3746
- return new _t("sf-content").AddClass(e.class, !!e.class).Build();
3746
+ return new pt("sf-content").AddClass(e.class, !!e.class).Build();
3747
3747
  }
3748
3748
  function r() {
3749
- return new _t("sf-content-body").AddClass("sf-content-no-padding", e.disableBodyPadding).Build();
3749
+ return new pt("sf-content-body").AddClass("sf-content-no-padding", e.disableBodyPadding).Build();
3750
3750
  }
3751
3751
  function o() {
3752
- return new _t("sf-content-header").AddClass("sf-content-no-padding", e.disableHeaderPadding).Build();
3752
+ return new pt("sf-content-header").AddClass("sf-content-no-padding", e.disableHeaderPadding).Build();
3753
3753
  }
3754
3754
  function s() {
3755
- return new _t("sf-content-footer").AddClass("sf-content-no-padding", e.disableFooterPadding).Build();
3755
+ return new pt("sf-content-footer").AddClass("sf-content-no-padding", e.disableFooterPadding).Build();
3756
3756
  }
3757
3757
  return (i, a) => (N(), z("div", {
3758
3758
  class: ae(n()),
@@ -3899,7 +3899,7 @@ const Nt = new cf(), uf = /* @__PURE__ */ Xa('<svg xmlns="http://www.w3.org/2000
3899
3899
  default:
3900
3900
  return null;
3901
3901
  }
3902
- }), r = Kt(() => new _t("sf-message").AddClass("sf-message-error", e.color === "error").AddClass("sf-message-info", e.color === "info").AddClass("sf-message-warning", e.color === "warn").AddClass("sf-message-success", e.color === "success").AddClass("sf-message-help", e.color === "help").AddClass("sf-message-primary", e.color === "primary").AddClass("sf-message-secondary", e.color === "secondary").AddClass(e.class).Build());
3902
+ }), r = Kt(() => new pt("sf-message").AddClass("sf-message-error", e.color === "error").AddClass("sf-message-info", e.color === "info").AddClass("sf-message-warning", e.color === "warn").AddClass("sf-message-success", e.color === "success").AddClass("sf-message-help", e.color === "help").AddClass("sf-message-primary", e.color === "primary").AddClass("sf-message-secondary", e.color === "secondary").AddClass(e.class).Build());
3903
3903
  return (o, s) => (N(), z("div", {
3904
3904
  class: ae(r.value),
3905
3905
  "data-icon": n.value
@@ -4117,7 +4117,7 @@ function ea(t) {
4117
4117
  function Uf(t = "") {
4118
4118
  return X(t) && t.length === 1 && !!t.match(/\S| /);
4119
4119
  }
4120
- function pt(t, e) {
4120
+ function ht(t, e) {
4121
4121
  if (e) {
4122
4122
  const n = e.test(t);
4123
4123
  return e.lastIndex = 0, n;
@@ -4181,12 +4181,12 @@ function oa(t = "", e = "") {
4181
4181
  function sa(t, e = "", n = "", r = [], o) {
4182
4182
  if (Oe(t)) {
4183
4183
  const s = /{([^}]*)}/g, i = t.trim();
4184
- if (pt(i, s)) {
4184
+ if (ht(i, s)) {
4185
4185
  const a = i.replaceAll(s, (u) => {
4186
- const h = u.replace(/{|}/g, "").split(".").filter((S) => !r.some((y) => pt(S, y)));
4186
+ const h = u.replace(/{|}/g, "").split(".").filter((S) => !r.some((y) => ht(S, y)));
4187
4187
  return `var(${oa(n, ta(h.join("-")))}${X(o) ? `, ${o}` : ""})`;
4188
4188
  }), l = /(\d+\s+[\+\-\*\/]\s+\d+)/g, c = /var\([^)]+\)/g;
4189
- return pt(a.replace(c, "0"), l) ? `calc(${a})` : a;
4189
+ return ht(a.replace(c, "0"), l) ? `calc(${a})` : a;
4190
4190
  }
4191
4191
  return Is(i, e);
4192
4192
  } else if (ea(t))
@@ -4200,7 +4200,7 @@ function mn(t, e) {
4200
4200
  }
4201
4201
  var Nr = (...t) => Yf(re.getTheme(), ...t), Yf = (t = {}, e, n, r = "variable") => {
4202
4202
  if (e) {
4203
- const { variable: o, options: s } = re.defaults || {}, { prefix: i, transform: a } = (t == null ? void 0 : t.options) || s || {}, c = pt(e, /{([^}]*)}/g) ? e : `{${e}}`;
4203
+ const { variable: o, options: s } = re.defaults || {}, { prefix: i, transform: a } = (t == null ? void 0 : t.options) || s || {}, c = ht(e, /{([^}]*)}/g) ? e : `{${e}}`;
4204
4204
  return r === "value" || a === "strict" ? re.getTokenValue(e) : sa(c, void 0, i, [o.excludedKeyRegex], n);
4205
4205
  }
4206
4206
  return "";
@@ -4208,7 +4208,7 @@ var Nr = (...t) => Yf(re.getTheme(), ...t), Yf = (t = {}, e, n, r = "variable")
4208
4208
  function Jf(t, e = {}) {
4209
4209
  const n = re.defaults.variable, { prefix: r = n.prefix, selector: o = n.selector, excludedKeyRegex: s = n.excludedKeyRegex } = e, i = (c, u = "") => Object.entries(c).reduce(
4210
4210
  (f, [h, S]) => {
4211
- const y = pt(h, s) ? Qr(u) : Qr(u, ta(h)), T = Wf(S);
4211
+ const y = ht(h, s) ? Qr(u) : Qr(u, ta(h)), T = Wf(S);
4212
4212
  if (At(T)) {
4213
4213
  const { variables: b, tokens: D } = i(T, y);
4214
4214
  Es(f.tokens, D), Es(f.variables, b);
@@ -4274,9 +4274,9 @@ var Xe = {
4274
4274
  const { preset: c, options: u } = e;
4275
4275
  let f, h, S, y;
4276
4276
  if (X(c)) {
4277
- const { primitive: T, semantic: b } = c, D = b || {}, { colorScheme: k } = D, A = ln(D, ["colorScheme"]), V = k || {}, { dark: ee } = V, se = ln(V, ["dark"]), Q = X(T) ? this._toVariables({ primitive: T }, u) : {}, Se = X(A) ? this._toVariables({ semantic: A }, u) : {}, ce = X(se) ? this._toVariables({ light: se }, u) : {}, H = X(ee) ? this._toVariables({ dark: ee }, u) : {}, [Re, Ae] = [(s = Q.declarations) != null ? s : "", Q.tokens], [Ge, Ye] = [(i = Se.declarations) != null ? i : "", Se.tokens || []], [gt, ut] = [(a = ce.declarations) != null ? a : "", ce.tokens || []], [Je, it] = [(l = H.declarations) != null ? l : "", H.tokens || []];
4277
+ const { primitive: T, semantic: b } = c, D = b || {}, { colorScheme: k } = D, A = ln(D, ["colorScheme"]), V = k || {}, { dark: ee } = V, se = ln(V, ["dark"]), Q = X(T) ? this._toVariables({ primitive: T }, u) : {}, Se = X(A) ? this._toVariables({ semantic: A }, u) : {}, ce = X(se) ? this._toVariables({ light: se }, u) : {}, H = X(ee) ? this._toVariables({ dark: ee }, u) : {}, [Re, Ae] = [(s = Q.declarations) != null ? s : "", Q.tokens], [Ge, Ye] = [(i = Se.declarations) != null ? i : "", Se.tokens || []], [yt, ut] = [(a = ce.declarations) != null ? a : "", ce.tokens || []], [Je, it] = [(l = H.declarations) != null ? l : "", H.tokens || []];
4278
4278
  f = this.transformCSS(t, Re, "light", "variable", u, r, o), h = Ae;
4279
- const oe = this.transformCSS(t, `${Ge}${gt}color-scheme:light`, "light", "variable", u, r, o), Ve = this.transformCSS(t, `${Je}color-scheme:dark`, "dark", "variable", u, r, o);
4279
+ const oe = this.transformCSS(t, `${Ge}${yt}color-scheme:light`, "light", "variable", u, r, o), Ve = this.transformCSS(t, `${Je}color-scheme:dark`, "dark", "variable", u, r, o);
4280
4280
  S = `${oe}${Ve}`, y = [.../* @__PURE__ */ new Set([...Ye, ...ut, ...it])];
4281
4281
  }
4282
4282
  return {
@@ -4333,7 +4333,7 @@ var Xe = {
4333
4333
  },
4334
4334
  createTokens(t = {}, e, n = "", r = "", o = {}) {
4335
4335
  return Object.entries(t).forEach(([s, i]) => {
4336
- const a = pt(s, e.variable.excludedKeyRegex) ? n : n ? `${n}.${Ts(s)}` : Ts(s), l = r ? `${r}.${s}` : s;
4336
+ const a = ht(s, e.variable.excludedKeyRegex) ? n : n ? `${n}.${Ts(s)}` : Ts(s), l = r ? `${r}.${s}` : s;
4337
4337
  At(i) ? this.createTokens(i, e, a, l, o) : (o[a] || (o[a] = {
4338
4338
  paths: [],
4339
4339
  computed(c, u = {}) {
@@ -4350,13 +4350,13 @@ var Xe = {
4350
4350
  computed(c, u = {}) {
4351
4351
  const f = /{([^}]*)}/g;
4352
4352
  let h = i;
4353
- if (u.name = this.path, u.binding || (u.binding = {}), pt(i, f)) {
4353
+ if (u.name = this.path, u.binding || (u.binding = {}), ht(i, f)) {
4354
4354
  const y = i.trim().replaceAll(f, (D) => {
4355
4355
  var k, A;
4356
4356
  const V = D.replace(/{|}/g, "");
4357
4357
  return (A = (k = o[V]) == null ? void 0 : k.computed(c, u)) == null ? void 0 : A.value;
4358
4358
  }), T = /(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g, b = /var\([^)]+\)/g;
4359
- h = pt(y.replace(b, "0"), T) ? `calc(${y})` : y;
4359
+ h = ht(y.replace(b, "0"), T) ? `calc(${y})` : y;
4360
4360
  }
4361
4361
  return Lt(u.binding) && delete u.binding, {
4362
4362
  colorScheme: c,
@@ -4370,7 +4370,7 @@ var Xe = {
4370
4370
  },
4371
4371
  getTokenValue(t, e, n) {
4372
4372
  var r;
4373
- const s = ((l) => l.split(".").filter((u) => !pt(u.toLowerCase(), n.variable.excludedKeyRegex)).join("."))(e), i = e.includes("colorScheme.light") ? "light" : e.includes("colorScheme.dark") ? "dark" : void 0, a = [(r = t[s]) == null ? void 0 : r.computed(i)].flat().filter((l) => l);
4373
+ const s = ((l) => l.split(".").filter((u) => !ht(u.toLowerCase(), n.variable.excludedKeyRegex)).join("."))(e), i = e.includes("colorScheme.light") ? "light" : e.includes("colorScheme.dark") ? "dark" : void 0, a = [(r = t[s]) == null ? void 0 : r.computed(i)].flat().filter((l) => l);
4374
4374
  return a.length === 1 ? a[0].value : a.reduce((l = {}, c) => {
4375
4375
  const u = c, { colorScheme: f } = u, h = ln(u, ["colorScheme"]);
4376
4376
  return l[f] = h, l;
@@ -4510,7 +4510,7 @@ var Xe = {
4510
4510
  onStyleLoaded(t, { name: e }) {
4511
4511
  this._loadingStyles.size && (this._loadingStyles.delete(e), mt.emit(`theme:${e}:load`, t), !this._loadingStyles.size && mt.emit("theme:load"));
4512
4512
  }
4513
- }, wt = {
4513
+ }, St = {
4514
4514
  _loadedStyleNames: /* @__PURE__ */ new Set(),
4515
4515
  getLoadedStyleNames: function() {
4516
4516
  return this._loadedStyleNames;
@@ -4581,7 +4581,7 @@ function em(t) {
4581
4581
  var tm = 0;
4582
4582
  function nm(t) {
4583
4583
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = Me(!1), r = Me(t), o = Me(null), s = Mf() ? window.document : void 0, i = e.document, a = i === void 0 ? s : i, l = e.immediate, c = l === void 0 ? !0 : l, u = e.manual, f = u === void 0 ? !1 : u, h = e.name, S = h === void 0 ? "style_".concat(++tm) : h, y = e.id, T = y === void 0 ? void 0 : y, b = e.media, D = b === void 0 ? void 0 : b, k = e.nonce, A = k === void 0 ? void 0 : k, V = e.first, ee = V === void 0 ? !1 : V, se = e.onMounted, Q = se === void 0 ? void 0 : se, Se = e.onUpdated, ce = Se === void 0 ? void 0 : Se, H = e.onLoad, Re = H === void 0 ? void 0 : H, Ae = e.props, Ge = Ae === void 0 ? {} : Ae, Ye = function() {
4584
- }, gt = function(it) {
4584
+ }, yt = function(it) {
4585
4585
  var oe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
4586
4586
  if (a) {
4587
4587
  var Ve = xs(xs({}, Ge), oe), d = Ve.name || S, p = Ve.id || T, w = Ve.nonce || A;
@@ -4603,13 +4603,13 @@ function nm(t) {
4603
4603
  }, ut = function() {
4604
4604
  !a || !n.value || (Ye(), Nf(o.value) && a.head.removeChild(o.value), n.value = !1);
4605
4605
  };
4606
- return c && !f && em(gt), {
4606
+ return c && !f && em(yt), {
4607
4607
  id: T,
4608
4608
  name: S,
4609
4609
  el: o,
4610
4610
  css: r,
4611
4611
  unload: ut,
4612
- load: gt,
4612
+ load: yt,
4613
4613
  isLoaded: Za(n)
4614
4614
  };
4615
4615
  }
@@ -5107,13 +5107,13 @@ var fr = {
5107
5107
  },
5108
5108
  _loadStyles: function() {
5109
5109
  var e = this, n = function() {
5110
- wt.isStyleNameLoaded("base") || (ke.loadCSS(e.$styleOptions), e._loadGlobalStyles(), wt.setLoadedStyleName("base")), e._loadThemeStyles();
5110
+ St.isStyleNameLoaded("base") || (ke.loadCSS(e.$styleOptions), e._loadGlobalStyles(), St.setLoadedStyleName("base")), e._loadThemeStyles();
5111
5111
  };
5112
5112
  n(), this._themeChangeListener(n);
5113
5113
  },
5114
5114
  _loadCoreStyles: function() {
5115
5115
  var e, n;
5116
- !wt.isStyleNameLoaded((e = this.$style) === null || e === void 0 ? void 0 : e.name) && (n = this.$style) !== null && n !== void 0 && n.name && (Rs.loadCSS(this.$styleOptions), this.$options.style && this.$style.loadCSS(this.$styleOptions), wt.setLoadedStyleName(this.$style.name));
5116
+ !St.isStyleNameLoaded((e = this.$style) === null || e === void 0 ? void 0 : e.name) && (n = this.$style) !== null && n !== void 0 && n.name && (Rs.loadCSS(this.$styleOptions), this.$options.style && this.$style.loadCSS(this.$styleOptions), St.setLoadedStyleName(this.$style.name));
5117
5117
  },
5118
5118
  _loadGlobalStyles: function() {
5119
5119
  var e = this._useGlobalPT(this._getOptionValue, "global.css", this.$params);
@@ -5164,7 +5164,7 @@ var fr = {
5164
5164
  _themeChangeListener: function() {
5165
5165
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function() {
5166
5166
  };
5167
- wt.clearLoadedStyleNames(), mt.on("theme:change", e);
5167
+ St.clearLoadedStyleNames(), mt.on("theme:change", e);
5168
5168
  },
5169
5169
  _getHostInstance: function(e) {
5170
5170
  return e ? this.$options.hostName ? e.$.type.name === this.$options.hostName ? e : this._getHostInstance(e.$parentInstance) : e.$parentInstance : void 0;
@@ -5820,9 +5820,9 @@ var K = {
5820
5820
  },
5821
5821
  _loadCoreStyles: function() {
5822
5822
  var e, n, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 ? arguments[1] : void 0;
5823
- if (!wt.isStyleNameLoaded((e = r.$style) === null || e === void 0 ? void 0 : e.name) && (n = r.$style) !== null && n !== void 0 && n.name) {
5823
+ if (!St.isStyleNameLoaded((e = r.$style) === null || e === void 0 ? void 0 : e.name) && (n = r.$style) !== null && n !== void 0 && n.name) {
5824
5824
  var s;
5825
- ke.loadCSS(o), r.isUnstyled() && ((s = r.$style) === null || s === void 0 || s.loadCSS(o)), wt.setLoadedStyleName(r.$style.name);
5825
+ ke.loadCSS(o), r.isUnstyled() && ((s = r.$style) === null || s === void 0 || s.loadCSS(o)), St.setLoadedStyleName(r.$style.name);
5826
5826
  }
5827
5827
  },
5828
5828
  _loadThemeStyles: function() {
@@ -5867,7 +5867,7 @@ var K = {
5867
5867
  _themeChangeListener: function() {
5868
5868
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function() {
5869
5869
  };
5870
- wt.clearLoadedStyleNames(), mt.on("theme:change", e);
5870
+ St.clearLoadedStyleNames(), mt.on("theme:change", e);
5871
5871
  },
5872
5872
  _hook: function(e, n, r, o, s, i) {
5873
5873
  var a, l, c = "on".concat(Hf(n)), u = K._getConfig(o, s), f = r == null ? void 0 : r.$instance, h = K._usePT(f, K._getPT(o == null || (a = o.value) === null || a === void 0 ? void 0 : a.pt, e), K._getOptionValue, "hooks.".concat(c)), S = K._useDefaultPT(f, u == null || (l = u.pt) === null || l === void 0 || (l = l.directives) === null || l === void 0 ? void 0 : l[e], K._getOptionValue, "hooks.".concat(c)), y = {
@@ -6323,7 +6323,7 @@ function np(t, e, n, r, o, s) {
6323
6323
  return s.onItemMouseMove(f, l);
6324
6324
  },
6325
6325
  ref_for: !0
6326
- }, s.getPTOptions("itemContent", l, c)), [n.templates.item ? (N(), ye(St(n.templates.item), {
6326
+ }, s.getPTOptions("itemContent", l, c)), [n.templates.item ? (N(), ye(_t(n.templates.item), {
6327
6327
  key: 1,
6328
6328
  item: l.item,
6329
6329
  root: !1,
@@ -6341,16 +6341,16 @@ function np(t, e, n, r, o, s) {
6341
6341
  ref_for: !0
6342
6342
  }, s.getPTOptions("itemLink", l, c)), [s.isItemGroup(l) ? (N(), z(Ct, {
6343
6343
  key: 0
6344
- }, [n.templates.submenuicon ? (N(), ye(St(n.templates.submenuicon), q({
6344
+ }, [n.templates.submenuicon ? (N(), ye(_t(n.templates.submenuicon), q({
6345
6345
  key: 0,
6346
6346
  class: t.cx("submenuIcon"),
6347
6347
  active: s.isItemActive(l),
6348
6348
  ref_for: !0
6349
- }, s.getPTOptions("submenuIcon", l, c)), null, 16, ["class", "active"])) : (N(), ye(St(s.isItemActive(l) ? "ChevronDownIcon" : "ChevronRightIcon"), q({
6349
+ }, s.getPTOptions("submenuIcon", l, c)), null, 16, ["class", "active"])) : (N(), ye(_t(s.isItemActive(l) ? "ChevronDownIcon" : "ChevronRightIcon"), q({
6350
6350
  key: 1,
6351
6351
  class: t.cx("submenuIcon"),
6352
6352
  ref_for: !0
6353
- }, s.getPTOptions("submenuIcon", l, c)), null, 16, ["class"]))], 64)) : me("", !0), n.templates.itemicon ? (N(), ye(St(n.templates.itemicon), {
6353
+ }, s.getPTOptions("submenuIcon", l, c)), null, 16, ["class"]))], 64)) : me("", !0), n.templates.itemicon ? (N(), ye(_t(n.templates.itemicon), {
6354
6354
  key: 1,
6355
6355
  item: l.item,
6356
6356
  class: ae(t.cx("itemIcon"))
@@ -7051,7 +7051,7 @@ function yp(t, e, n, r, o, s) {
7051
7051
  }), [B("div", q({
7052
7052
  class: t.cx("headerContent"),
7053
7053
  ref_for: !0
7054
- }, s.getPTOptions("headerContent", a, l)), [t.$slots.item ? (N(), ye(St(t.$slots.item), {
7054
+ }, s.getPTOptions("headerContent", a, l)), [t.$slots.item ? (N(), ye(_t(t.$slots.item), {
7055
7055
  key: 1,
7056
7056
  item: a,
7057
7057
  root: !0,
@@ -7069,11 +7069,11 @@ function yp(t, e, n, r, o, s) {
7069
7069
  key: 0,
7070
7070
  active: s.isItemActive(a)
7071
7071
  }, function() {
7072
- return [(N(), ye(St(s.isItemActive(a) ? "ChevronDownIcon" : "ChevronRightIcon"), q({
7072
+ return [(N(), ye(_t(s.isItemActive(a) ? "ChevronDownIcon" : "ChevronRightIcon"), q({
7073
7073
  class: t.cx("submenuIcon"),
7074
7074
  ref_for: !0
7075
7075
  }, s.getPTOptions("submenuIcon", a, l)), null, 16, ["class"]))];
7076
- }) : me("", !0), t.$slots.headericon ? (N(), ye(St(t.$slots.headericon), {
7076
+ }) : me("", !0), t.$slots.headericon ? (N(), ye(_t(t.$slots.headericon), {
7077
7077
  key: 1,
7078
7078
  item: a,
7079
7079
  class: ae([t.cx("headerIcon"), s.getItemProp(a, "icon")])
@@ -8595,7 +8595,7 @@ function Jh(t, e, n) {
8595
8595
  const ao = {
8596
8596
  assertOptions: Jh,
8597
8597
  validators: $o
8598
- }, bt = ao.validators;
8598
+ }, wt = ao.validators;
8599
8599
  class $t {
8600
8600
  constructor(e) {
8601
8601
  this.defaults = e, this.interceptors = {
@@ -8632,14 +8632,14 @@ class $t {
8632
8632
  typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = Mt(this.defaults, n);
8633
8633
  const { transitional: r, paramsSerializer: o, headers: s } = n;
8634
8634
  r !== void 0 && ao.assertOptions(r, {
8635
- silentJSONParsing: bt.transitional(bt.boolean),
8636
- forcedJSONParsing: bt.transitional(bt.boolean),
8637
- clarifyTimeoutError: bt.transitional(bt.boolean)
8635
+ silentJSONParsing: wt.transitional(wt.boolean),
8636
+ forcedJSONParsing: wt.transitional(wt.boolean),
8637
+ clarifyTimeoutError: wt.transitional(wt.boolean)
8638
8638
  }, !1), o != null && (g.isFunction(o) ? n.paramsSerializer = {
8639
8639
  serialize: o
8640
8640
  } : ao.assertOptions(o, {
8641
- encode: bt.function,
8642
- serialize: bt.function
8641
+ encode: wt.function,
8642
+ serialize: wt.function
8643
8643
  }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
8644
8644
  let i = s && g.merge(
8645
8645
  s.common,