portal-design-system 0.0.84 → 0.0.86

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,44 +1,44 @@
1
- import { defineComponent as W, useAttrs as rn, computed as O, resolveComponent as He, createBlock as V, openBlock as x, resolveDynamicComponent as We, mergeProps as Rr, unref as Ae, withCtx as Ze, createElementBlock as D, Fragment as ne, renderSlot as J, createCommentVNode as G, normalizeClass as K, toDisplayString as $, normalizeStyle as Xe, createElementVNode as P, renderList as Ye, onMounted as ye, onBeforeUnmount as qe, useModel as oe, ref as L, onUnmounted as Je, withDirectives as Mr, vModelText as Er, createTextVNode as de, mergeModels as Qe, createVNode as ue, withModifiers as De, shallowRef as nn, watch as Re, h as dr, nextTick as xe, useSlots as on, Teleport as Ir, Transition as an } from "vue";
2
- const cn = (e, r) => {
1
+ import { defineComponent as W, useAttrs as nn, computed as O, resolveComponent as He, createBlock as V, openBlock as x, resolveDynamicComponent as We, mergeProps as Mr, unref as Ae, withCtx as Ze, createElementBlock as D, Fragment as ne, renderSlot as J, createCommentVNode as G, normalizeClass as K, toDisplayString as $, normalizeStyle as Xe, createElementVNode as P, renderList as Ye, onMounted as ye, onBeforeUnmount as qe, useModel as oe, ref as L, onUnmounted as Je, withDirectives as Er, vModelText as Ir, createTextVNode as de, mergeModels as Qe, createVNode as ue, withModifiers as De, shallowRef as on, watch as Re, h as dr, nextTick as xe, useSlots as an, Teleport as Fr, Transition as cn } from "vue";
2
+ const ln = (e, r) => {
3
3
  const n = new Array(e.length + r.length);
4
4
  for (let o = 0; o < e.length; o++)
5
5
  n[o] = e[o];
6
6
  for (let o = 0; o < r.length; o++)
7
7
  n[e.length + o] = r[o];
8
8
  return n;
9
- }, ln = (e, r) => ({
9
+ }, tn = (e, r) => ({
10
10
  classGroupId: e,
11
11
  validator: r
12
- }), Fr = (e = /* @__PURE__ */ new Map(), r = null, n) => ({
12
+ }), Pr = (e = /* @__PURE__ */ new Map(), r = null, n) => ({
13
13
  nextPart: e,
14
14
  validators: r,
15
15
  classGroupId: n
16
- }), Me = "-", ur = [], tn = "arbitrary..", sn = (e) => {
17
- const r = un(e), {
16
+ }), Me = "-", ur = [], sn = "arbitrary..", dn = (e) => {
17
+ const r = mn(e), {
18
18
  conflictingClassGroups: n,
19
19
  conflictingClassGroupModifiers: o
20
20
  } = e;
21
21
  return {
22
22
  getClassGroupId: (l) => {
23
23
  if (l.startsWith("[") && l.endsWith("]"))
24
- return dn(l);
24
+ return un(l);
25
25
  const s = l.split(Me), t = s[0] === "" && s.length > 1 ? 1 : 0;
26
- return Pr(s, t, r);
26
+ return Lr(s, t, r);
27
27
  },
28
28
  getConflictingClassGroupIds: (l, s) => {
29
29
  if (s) {
30
30
  const t = o[l], i = n[l];
31
- return t ? i ? cn(i, t) : t : i || ur;
31
+ return t ? i ? ln(i, t) : t : i || ur;
32
32
  }
33
33
  return n[l] || ur;
34
34
  }
35
35
  };
36
- }, Pr = (e, r, n) => {
36
+ }, Lr = (e, r, n) => {
37
37
  if (e.length - r === 0)
38
38
  return n.classGroupId;
39
39
  const a = e[r], c = n.nextPart.get(a);
40
40
  if (c) {
41
- const i = Pr(e, r + 1, c);
41
+ const i = Lr(e, r + 1, c);
42
42
  if (i) return i;
43
43
  }
44
44
  const l = n.validators;
@@ -50,17 +50,17 @@ const cn = (e, r) => {
50
50
  if (d.validator(s))
51
51
  return d.classGroupId;
52
52
  }
53
- }, dn = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
53
+ }, un = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
54
54
  const r = e.slice(1, -1), n = r.indexOf(":"), o = r.slice(0, n);
55
- return o ? tn + o : void 0;
56
- })(), un = (e) => {
55
+ return o ? sn + o : void 0;
56
+ })(), mn = (e) => {
57
57
  const {
58
58
  theme: r,
59
59
  classGroups: n
60
60
  } = e;
61
- return mn(n, r);
62
- }, mn = (e, r) => {
63
- const n = Fr();
61
+ return yn(n, r);
62
+ }, yn = (e, r) => {
63
+ const n = Pr();
64
64
  for (const o in e) {
65
65
  const a = e[o];
66
66
  er(a, n, o, r);
@@ -70,43 +70,43 @@ const cn = (e, r) => {
70
70
  const a = e.length;
71
71
  for (let c = 0; c < a; c++) {
72
72
  const l = e[c];
73
- yn(l, r, n, o);
73
+ fn(l, r, n, o);
74
74
  }
75
- }, yn = (e, r, n, o) => {
75
+ }, fn = (e, r, n, o) => {
76
76
  if (typeof e == "string") {
77
- fn(e, r, n);
77
+ _n(e, r, n);
78
78
  return;
79
79
  }
80
80
  if (typeof e == "function") {
81
- _n(e, r, n, o);
81
+ gn(e, r, n, o);
82
82
  return;
83
83
  }
84
- gn(e, r, n, o);
85
- }, fn = (e, r, n) => {
86
- const o = e === "" ? r : Lr(r, e);
84
+ bn(e, r, n, o);
85
+ }, _n = (e, r, n) => {
86
+ const o = e === "" ? r : Tr(r, e);
87
87
  o.classGroupId = n;
88
- }, _n = (e, r, n, o) => {
89
- if (bn(e)) {
88
+ }, gn = (e, r, n, o) => {
89
+ if (pn(e)) {
90
90
  er(e(o), r, n, o);
91
91
  return;
92
92
  }
93
- r.validators === null && (r.validators = []), r.validators.push(ln(n, e));
94
- }, gn = (e, r, n, o) => {
93
+ r.validators === null && (r.validators = []), r.validators.push(tn(n, e));
94
+ }, bn = (e, r, n, o) => {
95
95
  const a = Object.entries(e), c = a.length;
96
96
  for (let l = 0; l < c; l++) {
97
97
  const [s, t] = a[l];
98
- er(t, Lr(r, s), n, o);
98
+ er(t, Tr(r, s), n, o);
99
99
  }
100
- }, Lr = (e, r) => {
100
+ }, Tr = (e, r) => {
101
101
  let n = e;
102
102
  const o = r.split(Me), a = o.length;
103
103
  for (let c = 0; c < a; c++) {
104
104
  const l = o[c];
105
105
  let s = n.nextPart.get(l);
106
- s || (s = Fr(), n.nextPart.set(l, s)), n = s;
106
+ s || (s = Pr(), n.nextPart.set(l, s)), n = s;
107
107
  }
108
108
  return n;
109
- }, bn = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, pn = (e) => {
109
+ }, pn = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, hn = (e) => {
110
110
  if (e < 1)
111
111
  return {
112
112
  get: () => {
@@ -130,13 +130,13 @@ const cn = (e, r) => {
130
130
  c in n ? n[c] = l : a(c, l);
131
131
  }
132
132
  };
133
- }, ze = "!", mr = ":", hn = [], yr = (e, r, n, o, a) => ({
133
+ }, ze = "!", mr = ":", vn = [], yr = (e, r, n, o, a) => ({
134
134
  modifiers: e,
135
135
  hasImportantModifier: r,
136
136
  baseClassName: n,
137
137
  maybePostfixModifierPosition: o,
138
138
  isExternal: a
139
- }), vn = (e) => {
139
+ }), wn = (e) => {
140
140
  const {
141
141
  prefix: r,
142
142
  experimentalParseClassName: n
@@ -173,7 +173,7 @@ const cn = (e, r) => {
173
173
  };
174
174
  if (r) {
175
175
  const a = r + mr, c = o;
176
- o = (l) => l.startsWith(a) ? c(l.slice(a.length)) : yr(hn, !1, l, void 0, !0);
176
+ o = (l) => l.startsWith(a) ? c(l.slice(a.length)) : yr(vn, !1, l, void 0, !0);
177
177
  }
178
178
  if (n) {
179
179
  const a = o;
@@ -183,7 +183,7 @@ const cn = (e, r) => {
183
183
  });
184
184
  }
185
185
  return o;
186
- }, wn = (e) => {
186
+ }, xn = (e) => {
187
187
  const r = /* @__PURE__ */ new Map();
188
188
  return e.orderSensitiveModifiers.forEach((n, o) => {
189
189
  r.set(n, 1e6 + o);
@@ -196,18 +196,18 @@ const cn = (e, r) => {
196
196
  }
197
197
  return a.length > 0 && (a.sort(), o.push(...a)), o;
198
198
  };
199
- }, xn = (e) => ({
200
- cache: pn(e.cacheSize),
201
- parseClassName: vn(e),
202
- sortModifiers: wn(e),
203
- ...sn(e)
204
- }), kn = /\s+/, Sn = (e, r) => {
199
+ }, kn = (e) => ({
200
+ cache: hn(e.cacheSize),
201
+ parseClassName: wn(e),
202
+ sortModifiers: xn(e),
203
+ ...dn(e)
204
+ }), Sn = /\s+/, Cn = (e, r) => {
205
205
  const {
206
206
  parseClassName: n,
207
207
  getClassGroupId: o,
208
208
  getConflictingClassGroupIds: a,
209
209
  sortModifiers: c
210
- } = r, l = [], s = e.trim().split(kn);
210
+ } = r, l = [], s = e.trim().split(Sn);
211
211
  let t = "";
212
212
  for (let i = s.length - 1; i >= 0; i -= 1) {
213
213
  const d = s[i], {
@@ -245,46 +245,46 @@ const cn = (e, r) => {
245
245
  t = d + (t.length > 0 ? " " + t : t);
246
246
  }
247
247
  return t;
248
- }, Cn = (...e) => {
248
+ }, An = (...e) => {
249
249
  let r = 0, n, o, a = "";
250
250
  for (; r < e.length; )
251
- (n = e[r++]) && (o = Tr(n)) && (a && (a += " "), a += o);
251
+ (n = e[r++]) && (o = Br(n)) && (a && (a += " "), a += o);
252
252
  return a;
253
- }, Tr = (e) => {
253
+ }, Br = (e) => {
254
254
  if (typeof e == "string")
255
255
  return e;
256
256
  let r, n = "";
257
257
  for (let o = 0; o < e.length; o++)
258
- e[o] && (r = Tr(e[o])) && (n && (n += " "), n += r);
258
+ e[o] && (r = Br(e[o])) && (n && (n += " "), n += r);
259
259
  return n;
260
- }, An = (e, ...r) => {
260
+ }, Dn = (e, ...r) => {
261
261
  let n, o, a, c;
262
262
  const l = (t) => {
263
263
  const i = r.reduce((d, _) => _(d), e());
264
- return n = xn(i), o = n.cache.get, a = n.cache.set, c = s, s(t);
264
+ return n = kn(i), o = n.cache.get, a = n.cache.set, c = s, s(t);
265
265
  }, s = (t) => {
266
266
  const i = o(t);
267
267
  if (i)
268
268
  return i;
269
- const d = Sn(t, n);
269
+ const d = Cn(t, n);
270
270
  return a(t, d), d;
271
271
  };
272
- return c = l, (...t) => c(Cn(...t));
273
- }, Dn = [], I = (e) => {
274
- const r = (n) => n[e] || Dn;
272
+ return c = l, (...t) => c(An(...t));
273
+ }, Rn = [], I = (e) => {
274
+ const r = (n) => n[e] || Rn;
275
275
  return r.isThemeGetter = !0, r;
276
- }, Br = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Nr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Rn = /^\d+\/\d+$/, Mn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, En = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, In = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Fn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Pn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, re = (e) => Rn.test(e), C = (e) => !!e && !Number.isNaN(Number(e)), Z = (e) => !!e && Number.isInteger(Number(e)), Te = (e) => e.endsWith("%") && C(e.slice(0, -1)), H = (e) => Mn.test(e), Ln = () => !0, Tn = (e) => (
276
+ }, Nr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ur = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Mn = /^\d+\/\d+$/, En = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, In = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Fn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Pn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ln = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, re = (e) => Mn.test(e), C = (e) => !!e && !Number.isNaN(Number(e)), Z = (e) => !!e && Number.isInteger(Number(e)), Te = (e) => e.endsWith("%") && C(e.slice(0, -1)), H = (e) => En.test(e), Tn = () => !0, Bn = (e) => (
277
277
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
278
278
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
279
279
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
280
- En.test(e) && !In.test(e)
281
- ), Ur = () => !1, Bn = (e) => Fn.test(e), Nn = (e) => Pn.test(e), Un = (e) => !y(e) && !f(e), Gn = (e) => ce(e, $r, Ur), y = (e) => Br.test(e), q = (e) => ce(e, Or, Tn), Be = (e) => ce(e, Vn, C), fr = (e) => ce(e, Gr, Ur), zn = (e) => ce(e, zr, Nn), ve = (e) => ce(e, Kr, Bn), f = (e) => Nr.test(e), te = (e) => le(e, Or), $n = (e) => le(e, jn), _r = (e) => le(e, Gr), On = (e) => le(e, $r), Kn = (e) => le(e, zr), we = (e) => le(e, Kr, !0), ce = (e, r, n) => {
282
- const o = Br.exec(e);
280
+ In.test(e) && !Fn.test(e)
281
+ ), Gr = () => !1, Nn = (e) => Pn.test(e), Un = (e) => Ln.test(e), Gn = (e) => !y(e) && !f(e), zn = (e) => ce(e, Or, Gr), y = (e) => Nr.test(e), q = (e) => ce(e, Kr, Bn), Be = (e) => ce(e, jn, C), fr = (e) => ce(e, zr, Gr), $n = (e) => ce(e, $r, Un), ve = (e) => ce(e, Vr, Nn), f = (e) => Ur.test(e), te = (e) => le(e, Kr), On = (e) => le(e, Hn), _r = (e) => le(e, zr), Kn = (e) => le(e, Or), Vn = (e) => le(e, $r), we = (e) => le(e, Vr, !0), ce = (e, r, n) => {
282
+ const o = Nr.exec(e);
283
283
  return o ? o[1] ? r(o[1]) : n(o[2]) : !1;
284
284
  }, le = (e, r, n = !1) => {
285
- const o = Nr.exec(e);
285
+ const o = Ur.exec(e);
286
286
  return o ? o[1] ? r(o[1]) : n : !1;
287
- }, Gr = (e) => e === "position" || e === "percentage", zr = (e) => e === "image" || e === "url", $r = (e) => e === "length" || e === "size" || e === "bg-size", Or = (e) => e === "length", Vn = (e) => e === "number", jn = (e) => e === "family-name", Kr = (e) => e === "shadow", Hn = () => {
287
+ }, zr = (e) => e === "position" || e === "percentage", $r = (e) => e === "image" || e === "url", Or = (e) => e === "length" || e === "size" || e === "bg-size", Kr = (e) => e === "length", jn = (e) => e === "number", Hn = (e) => e === "family-name", Vr = (e) => e === "shadow", Wn = () => {
288
288
  const e = I("color"), r = I("font"), n = I("text"), o = I("font-weight"), a = I("tracking"), c = I("leading"), l = I("breakpoint"), s = I("container"), t = I("spacing"), i = I("radius"), d = I("shadow"), _ = I("inset-shadow"), b = I("text-shadow"), p = I("drop-shadow"), k = I("blur"), w = I("perspective"), m = I("aspect"), M = I("ease"), T = I("animate"), R = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], u = () => [
289
289
  "center",
290
290
  "top",
@@ -309,7 +309,7 @@ const cn = (e, r) => {
309
309
  position: [f, y]
310
310
  }], lr = () => ["no-repeat", {
311
311
  repeat: ["", "x", "y", "space", "round"]
312
- }], tr = () => ["auto", "cover", "contain", On, Gn, {
312
+ }], tr = () => ["auto", "cover", "contain", Kn, zn, {
313
313
  size: [f, y]
314
314
  }], Pe = () => [Te, te, q], N = () => [
315
315
  // Deprecated since Tailwind CSS v4.0.0
@@ -334,11 +334,11 @@ const cn = (e, r) => {
334
334
  aspect: ["video"],
335
335
  blur: [H],
336
336
  breakpoint: [H],
337
- color: [Ln],
337
+ color: [Tn],
338
338
  container: [H],
339
339
  "drop-shadow": [H],
340
340
  ease: ["in", "out", "in-out"],
341
- font: [Un],
341
+ font: [Gn],
342
342
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
343
343
  "inset-shadow": [H],
344
344
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
@@ -1050,7 +1050,7 @@ const cn = (e, r) => {
1050
1050
  * @see https://tailwindcss.com/docs/font-family
1051
1051
  */
1052
1052
  "font-family": [{
1053
- font: [$n, y, r]
1053
+ font: [On, y, r]
1054
1054
  }],
1055
1055
  /**
1056
1056
  * Font Variant Numeric
@@ -1305,7 +1305,7 @@ const cn = (e, r) => {
1305
1305
  }, Z, f, y],
1306
1306
  radial: ["", f, y],
1307
1307
  conic: [Z, f, y]
1308
- }, Kn, zn]
1308
+ }, Vn, $n]
1309
1309
  }],
1310
1310
  /**
1311
1311
  * Background Color
@@ -2754,22 +2754,22 @@ const cn = (e, r) => {
2754
2754
  },
2755
2755
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2756
2756
  };
2757
- }, Q = /* @__PURE__ */ An(Hn), Wn = {
2757
+ }, Q = /* @__PURE__ */ Dn(Wn), Zn = {
2758
2758
  auto: "h-auto text-base",
2759
- 40: "h-10 text-sm",
2760
- 44: "h-11 text-base",
2761
- 48: "h-12 text-xl"
2762
- }, Zn = {
2759
+ 40: "h-10 text-sm!",
2760
+ 44: "h-11 text-base!",
2761
+ 48: "h-12 text-xl!"
2762
+ }, Xn = {
2763
2763
  none: "rounded-0",
2764
2764
  8: "rounded-lg",
2765
2765
  12: "rounded-xl",
2766
2766
  16: "rounded-2xl",
2767
2767
  full: "rounded-full"
2768
- }, Xn = {
2769
- primary: "bg-linear-to-tr border border-transparent from-primary-orange-500 active:bg-clip-padding active:outline active:outline-primary-orange-500 to-primary-red-700 hover:from-[#C44417] hover:to-[#921C20] font-medium justify-center px-4 text-white filled-button",
2770
- secondary: "border border-primary-orange-500 text-primary-orange-500 active:border-transparent active:bg-clip-padding active:outline active:outline-primary-orange-500 font-medium justify-center px-4 hover:text-white hover:bg-primary-orange-500 filled-button",
2768
+ }, gr = "disabled:bg-base-neutral-100! disabled:from-base-neutral-100! disabled:to-base-neutral-100! disabled:border-base-neutral-100!", Yn = {
2769
+ primary: `bg-linear-to-tr border border-transparent from-primary-orange-500 active:bg-clip-padding active:outline active:outline-primary-orange-500 to-primary-red-700 hover:from-[#C44417] hover:to-[#921C20] font-medium justify-center px-4 text-white ${gr} `,
2770
+ secondary: `border border-primary-orange-500 text-primary-orange-500 active:border-transparent active:bg-clip-padding active:outline active:outline-primary-orange-500 font-medium justify-center px-4 hover:text-white hover:bg-primary-orange-500 ${gr}`,
2771
2771
  ghost: "bg-transparent font-medium justify-center"
2772
- }, Yn = {
2772
+ }, qn = {
2773
2773
  12: "text-xs",
2774
2774
  14: "text-sm",
2775
2775
  16: "text-base",
@@ -2781,17 +2781,17 @@ const cn = (e, r) => {
2781
2781
  36: "lg:text-4xl text-3.5xl",
2782
2782
  40: "lg:text-4.5xl text-3.5xl",
2783
2783
  48: "lg:text-5xl text-4.5xl"
2784
- }, qn = {
2784
+ }, Jn = {
2785
2785
  normal: "font-normal",
2786
2786
  medium: "font-medium",
2787
2787
  semibold: "font-semibold",
2788
2788
  bold: "font-bold"
2789
- }, Jn = {
2789
+ }, Qn = {
2790
2790
  white: "text-white",
2791
2791
  black: "text-base-neutral-800"
2792
- }, Qn = {
2792
+ }, eo = {
2793
2793
  poppins: "font-poppins"
2794
- }, Ma = /* @__PURE__ */ W({
2794
+ }, Ea = /* @__PURE__ */ W({
2795
2795
  inheritAttrs: !1,
2796
2796
  __name: "Button",
2797
2797
  props: {
@@ -2808,15 +2808,15 @@ const cn = (e, r) => {
2808
2808
  iconClassList: {}
2809
2809
  },
2810
2810
  setup(e) {
2811
- const r = rn(), n = e, o = O(
2811
+ const r = nn(), n = e, o = O(
2812
2812
  () => {
2813
- const a = Xn[n.variant], c = Wn[n.size], l = Zn[n.radius], s = ["mds-button", "flex", "items-center", "group", "whitespace-nowrap", "transition-all", "duration-500"];
2813
+ const a = Yn[n.variant], c = Zn[n.size], l = Xn[n.radius], s = ["mds-button", "flex", "items-center", "group", "whitespace-nowrap", "transition-all", "duration-500"];
2814
2814
  return n.iconPosition === "end" && n.icon && s.push("flex-row-reverse", "gap-2"), Q(a, c, l, s, n.classList);
2815
2815
  }
2816
2816
  );
2817
2817
  return (a, c) => {
2818
2818
  const l = He("Iconsax");
2819
- return x(), V(We(e.to ? "router-link" : "m-button"), Rr({
2819
+ return x(), V(We(e.to ? "router-link" : "button"), Mr({
2820
2820
  to: e.to,
2821
2821
  class: o.value,
2822
2822
  disabled: e.loading
@@ -2844,7 +2844,7 @@ const cn = (e, r) => {
2844
2844
  }, 16, ["to", "class", "disabled"]);
2845
2845
  };
2846
2846
  }
2847
- }), eo = ["icon-name"], $e = /* @__PURE__ */ W({
2847
+ }), ro = ["icon-name"], $e = /* @__PURE__ */ W({
2848
2848
  __name: "Iconsax",
2849
2849
  props: {
2850
2850
  name: {},
@@ -2856,9 +2856,9 @@ const cn = (e, r) => {
2856
2856
  class: "iconsax",
2857
2857
  style: Xe({ color: e.color, fontSize: e.size + "px" }),
2858
2858
  "icon-name": e.name
2859
- }, null, 12, eo));
2859
+ }, null, 12, ro));
2860
2860
  }
2861
- }), ro = { key: 0 }, no = { class: "list-disc list-inside grid gap-0.5 text-xs mt-2 text-red-400" }, oo = /* @__PURE__ */ W({
2861
+ }), no = { key: 0 }, oo = { class: "list-disc list-inside grid gap-0.5 text-xs mt-2 text-red-400" }, ao = /* @__PURE__ */ W({
2862
2862
  __name: "Error",
2863
2863
  props: {
2864
2864
  errors: {}
@@ -2866,8 +2866,8 @@ const cn = (e, r) => {
2866
2866
  setup(e) {
2867
2867
  return (r, n) => {
2868
2868
  var o;
2869
- return (o = e.errors) != null && o.length ? (x(), D("div", ro, [
2870
- P("ul", no, [
2869
+ return (o = e.errors) != null && o.length ? (x(), D("div", no, [
2870
+ P("ul", oo, [
2871
2871
  (x(!0), D(ne, null, Ye(e.errors, (a, c) => (x(), D("li", { key: c }, $(a), 1))), 128))
2872
2872
  ])
2873
2873
  ])) : G("", !0);
@@ -2878,7 +2878,7 @@ const cn = (e, r) => {
2878
2878
  for (const [o, a] of r)
2879
2879
  n[o] = a;
2880
2880
  return n;
2881
- }, Ea = /* @__PURE__ */ rr(oo, [["__scopeId", "data-v-bc42036c"]]), Ne = [
2881
+ }, Ia = /* @__PURE__ */ rr(ao, [["__scopeId", "data-v-bc42036c"]]), Ne = [
2882
2882
  {
2883
2883
  name: "Afghanistan",
2884
2884
  dial_code: "+93",
@@ -5477,7 +5477,7 @@ const cn = (e, r) => {
5477
5477
  currency_symbol: "€"
5478
5478
  }
5479
5479
  ];
5480
- function ao(e, r, n = "click") {
5480
+ function co(e, r, n = "click") {
5481
5481
  const o = (a) => {
5482
5482
  try {
5483
5483
  const c = Ae(e);
@@ -5490,7 +5490,7 @@ function ao(e, r, n = "click") {
5490
5490
  };
5491
5491
  ye(() => document.addEventListener(n, o)), qe(() => document.removeEventListener(n, o));
5492
5492
  }
5493
- const co = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, lo = { class: "mx-2 opacity-60" }, to = ["onClick", "aria-label"], so = /* @__PURE__ */ W({
5493
+ const lo = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, to = { class: "mx-2 opacity-60" }, so = ["onClick", "aria-label"], io = /* @__PURE__ */ W({
5494
5494
  __name: "CountryCode",
5495
5495
  props: {
5496
5496
  modelValue: { default: "+964" },
@@ -5523,7 +5523,7 @@ const co = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, lo =
5523
5523
  window.addEventListener("scroll", b, !0), window.addEventListener("resize", b);
5524
5524
  }), Je(() => {
5525
5525
  window.removeEventListener("scroll", b, !0), window.removeEventListener("resize", b);
5526
- }), ao(o, () => {
5526
+ }), co(o, () => {
5527
5527
  n.value = !1;
5528
5528
  }), (p, k) => {
5529
5529
  var w;
@@ -5532,7 +5532,7 @@ const co = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, lo =
5532
5532
  ref: o,
5533
5533
  class: "text-sm relative"
5534
5534
  }, [
5535
- P("div", co, [
5535
+ P("div", lo, [
5536
5536
  P("div", {
5537
5537
  role: "button",
5538
5538
  ref_key: "buttonRef",
@@ -5542,7 +5542,7 @@ const co = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, lo =
5542
5542
  class: "flex gap-1 items-center cursor-pointer",
5543
5543
  "aria-label": "Select Country Code"
5544
5544
  }, [
5545
- P("span", lo, $((w = t.value) == null ? void 0 : w.dial_code), 1)
5545
+ P("span", to, $((w = t.value) == null ? void 0 : w.dial_code), 1)
5546
5546
  ], 512),
5547
5547
  k[1] || (k[1] = P("span", null, null, -1))
5548
5548
  ]),
@@ -5552,13 +5552,13 @@ const co = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, lo =
5552
5552
  ref: a,
5553
5553
  style: Xe(c.value)
5554
5554
  }, [
5555
- Mr(P("input", {
5555
+ Er(P("input", {
5556
5556
  name: "search",
5557
5557
  "onUpdate:modelValue": k[0] || (k[0] = (m) => s.value = m),
5558
5558
  placeholder: "search",
5559
5559
  class: "w-full focus:ring-0 border-b h-12 border-base-neutral-100 focus:outline-none px-3 py-2"
5560
5560
  }, null, 512), [
5561
- [Er, s.value]
5561
+ [Ir, s.value]
5562
5562
  ]),
5563
5563
  P("div", {
5564
5564
  class: K(["no-scrollbar", n.value ? "max-h-36 min-h-12 overflow-y-auto" : "h-0 overflow-hidden"])
@@ -5567,23 +5567,23 @@ const co = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, lo =
5567
5567
  role: "button",
5568
5568
  type: "button",
5569
5569
  onClick: (M) => d(m.dial_code),
5570
- class: "flex gap-2 w-full hover:bg-base-neutral-100/30 border-b last-of-type:border-0 border-base-neutral-100 px-3 h-12 items-center",
5570
+ class: "flex gap-2 w-full hover:bg-base-neutral-100/30 cursor-pointer border-b last-of-type:border-0 border-base-neutral-100 px-3 h-12 items-center",
5571
5571
  "aria-label": `Select country code ${m.name}`
5572
5572
  }, [
5573
5573
  P("span", null, [
5574
5574
  de($(m.code) + "   ", 1),
5575
5575
  P("span", null, $(m.dial_code), 1)
5576
5576
  ])
5577
- ], 8, to))), 256))
5577
+ ], 8, so))), 256))
5578
5578
  ], 2)
5579
5579
  ], 6)
5580
5580
  ], 512);
5581
5581
  };
5582
5582
  }
5583
- }), io = { class: "main-input" }, uo = ["for"], mo = {
5583
+ }), uo = { class: "main-input" }, mo = ["for"], yo = {
5584
5584
  key: 0,
5585
5585
  class: "text-red-500"
5586
- }, yo = { class: "relative w-full" }, fo = /* @__PURE__ */ W({
5586
+ }, fo = { class: "relative w-full" }, _o = /* @__PURE__ */ W({
5587
5587
  __name: "Input",
5588
5588
  props: /* @__PURE__ */ Qe({
5589
5589
  id: {},
@@ -5614,21 +5614,21 @@ const co = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, lo =
5614
5614
  return (t, i) => {
5615
5615
  var _;
5616
5616
  const d = He("AppFormError");
5617
- return x(), D("div", io, [
5617
+ return x(), D("div", uo, [
5618
5618
  P("label", {
5619
5619
  for: e.id,
5620
5620
  class: K(l.value)
5621
5621
  }, [
5622
5622
  de($(e.label) + " ", 1),
5623
- e.required ? (x(), D("span", mo, "*")) : G("", !0)
5624
- ], 10, uo),
5625
- P("div", yo, [
5626
- e.type === "tel" ? (x(), V(so, {
5623
+ e.required ? (x(), D("span", yo, "*")) : G("", !0)
5624
+ ], 10, mo),
5625
+ P("div", fo, [
5626
+ e.type === "tel" ? (x(), V(io, {
5627
5627
  key: 0,
5628
5628
  modelValue: o.value,
5629
5629
  "onUpdate:modelValue": i[0] || (i[0] = (b) => o.value = b)
5630
5630
  }, null, 8, ["modelValue"])) : G("", !0),
5631
- (x(), V(We(e.tag), Rr({
5631
+ (x(), V(We(e.tag), Mr({
5632
5632
  value: a.value,
5633
5633
  onInput: s,
5634
5634
  id: e.id,
@@ -5657,7 +5657,7 @@ const co = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, lo =
5657
5657
  ]);
5658
5658
  };
5659
5659
  }
5660
- }), Ia = /* @__PURE__ */ rr(fo, [["__scopeId", "data-v-a10b959a"]]), Vr = /^[a-z0-9]+(-[a-z0-9]+)*$/, Ie = (e, r, n, o = "") => {
5660
+ }), Fa = /* @__PURE__ */ rr(_o, [["__scopeId", "data-v-a10b959a"]]), jr = /^[a-z0-9]+(-[a-z0-9]+)*$/, Ie = (e, r, n, o = "") => {
5661
5661
  const a = e.split(":");
5662
5662
  if (e.slice(0, 1) === "@") {
5663
5663
  if (a.length < 2 || a.length > 3)
@@ -5695,7 +5695,7 @@ const co = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, lo =
5695
5695
  return null;
5696
5696
  }, ke = (e, r) => e ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
5697
5697
  // Check name: cannot be empty
5698
- ((r && e.prefix === "" || e.prefix) && e.name) : !1, jr = Object.freeze(
5698
+ ((r && e.prefix === "" || e.prefix) && e.name) : !1, Hr = Object.freeze(
5699
5699
  {
5700
5700
  left: 0,
5701
5701
  top: 0,
@@ -5707,26 +5707,26 @@ const co = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, lo =
5707
5707
  vFlip: !1,
5708
5708
  hFlip: !1
5709
5709
  }), Fe = Object.freeze({
5710
- ...jr,
5710
+ ...Hr,
5711
5711
  ...Ee
5712
5712
  }), Oe = Object.freeze({
5713
5713
  ...Fe,
5714
5714
  body: "",
5715
5715
  hidden: !1
5716
5716
  });
5717
- function _o(e, r) {
5717
+ function go(e, r) {
5718
5718
  const n = {};
5719
5719
  !e.hFlip != !r.hFlip && (n.hFlip = !0), !e.vFlip != !r.vFlip && (n.vFlip = !0);
5720
5720
  const o = ((e.rotate || 0) + (r.rotate || 0)) % 4;
5721
5721
  return o && (n.rotate = o), n;
5722
5722
  }
5723
- function gr(e, r) {
5724
- const n = _o(e, r);
5723
+ function br(e, r) {
5724
+ const n = go(e, r);
5725
5725
  for (const o in Oe)
5726
5726
  o in Ee ? o in e && !(o in n) && (n[o] = Ee[o]) : o in r ? n[o] = r[o] : o in e && (n[o] = e[o]);
5727
5727
  return n;
5728
5728
  }
5729
- function go(e, r) {
5729
+ function bo(e, r) {
5730
5730
  const n = e.icons, o = e.aliases || /* @__PURE__ */ Object.create(null), a = /* @__PURE__ */ Object.create(null);
5731
5731
  function c(l) {
5732
5732
  if (n[l])
@@ -5740,36 +5740,36 @@ function go(e, r) {
5740
5740
  }
5741
5741
  return Object.keys(n).concat(Object.keys(o)).forEach(c), a;
5742
5742
  }
5743
- function bo(e, r, n) {
5743
+ function po(e, r, n) {
5744
5744
  const o = e.icons, a = e.aliases || /* @__PURE__ */ Object.create(null);
5745
5745
  let c = {};
5746
5746
  function l(s) {
5747
- c = gr(
5747
+ c = br(
5748
5748
  o[s] || a[s],
5749
5749
  c
5750
5750
  );
5751
5751
  }
5752
- return l(r), n.forEach(l), gr(e, c);
5752
+ return l(r), n.forEach(l), br(e, c);
5753
5753
  }
5754
- function Hr(e, r) {
5754
+ function Wr(e, r) {
5755
5755
  const n = [];
5756
5756
  if (typeof e != "object" || typeof e.icons != "object")
5757
5757
  return n;
5758
5758
  e.not_found instanceof Array && e.not_found.forEach((a) => {
5759
5759
  r(a, null), n.push(a);
5760
5760
  });
5761
- const o = go(e);
5761
+ const o = bo(e);
5762
5762
  for (const a in o) {
5763
5763
  const c = o[a];
5764
- c && (r(a, bo(e, a, c)), n.push(a));
5764
+ c && (r(a, po(e, a, c)), n.push(a));
5765
5765
  }
5766
5766
  return n;
5767
5767
  }
5768
- const po = {
5768
+ const ho = {
5769
5769
  provider: "",
5770
5770
  aliases: {},
5771
5771
  not_found: {},
5772
- ...jr
5772
+ ...Hr
5773
5773
  };
5774
5774
  function Ue(e, r) {
5775
5775
  for (const n in r)
@@ -5777,11 +5777,11 @@ function Ue(e, r) {
5777
5777
  return !1;
5778
5778
  return !0;
5779
5779
  }
5780
- function Wr(e) {
5780
+ function Zr(e) {
5781
5781
  if (typeof e != "object" || e === null)
5782
5782
  return null;
5783
5783
  const r = e;
5784
- if (typeof r.prefix != "string" || !e.icons || typeof e.icons != "object" || !Ue(e, po))
5784
+ if (typeof r.prefix != "string" || !e.icons || typeof e.icons != "object" || !Ue(e, ho))
5785
5785
  return null;
5786
5786
  const n = r.icons;
5787
5787
  for (const a in n) {
@@ -5813,8 +5813,8 @@ function Wr(e) {
5813
5813
  }
5814
5814
  return r;
5815
5815
  }
5816
- const br = /* @__PURE__ */ Object.create(null);
5817
- function ho(e, r) {
5816
+ const pr = /* @__PURE__ */ Object.create(null);
5817
+ function vo(e, r) {
5818
5818
  return {
5819
5819
  provider: e,
5820
5820
  prefix: r,
@@ -5823,15 +5823,15 @@ function ho(e, r) {
5823
5823
  };
5824
5824
  }
5825
5825
  function ae(e, r) {
5826
- const n = br[e] || (br[e] = /* @__PURE__ */ Object.create(null));
5827
- return n[r] || (n[r] = ho(e, r));
5826
+ const n = pr[e] || (pr[e] = /* @__PURE__ */ Object.create(null));
5827
+ return n[r] || (n[r] = vo(e, r));
5828
5828
  }
5829
- function Zr(e, r) {
5830
- return Wr(r) ? Hr(r, (n, o) => {
5829
+ function Xr(e, r) {
5830
+ return Zr(r) ? Wr(r, (n, o) => {
5831
5831
  o ? e.icons[n] = o : e.missing.add(n);
5832
5832
  }) : [];
5833
5833
  }
5834
- function vo(e, r, n) {
5834
+ function wo(e, r, n) {
5835
5835
  try {
5836
5836
  if (typeof n.body == "string")
5837
5837
  return e.icons[r] = { ...n }, !0;
@@ -5840,30 +5840,30 @@ function vo(e, r, n) {
5840
5840
  return !1;
5841
5841
  }
5842
5842
  let me = !1;
5843
- function Xr(e) {
5843
+ function Yr(e) {
5844
5844
  return typeof e == "boolean" && (me = e), me;
5845
5845
  }
5846
- function wo(e) {
5846
+ function xo(e) {
5847
5847
  const r = typeof e == "string" ? Ie(e, !0, me) : e;
5848
5848
  if (r) {
5849
5849
  const n = ae(r.provider, r.prefix), o = r.name;
5850
5850
  return n.icons[o] || (n.missing.has(o) ? null : void 0);
5851
5851
  }
5852
5852
  }
5853
- function xo(e, r) {
5853
+ function ko(e, r) {
5854
5854
  const n = Ie(e, !0, me);
5855
5855
  if (!n)
5856
5856
  return !1;
5857
5857
  const o = ae(n.provider, n.prefix);
5858
- return r ? vo(o, n.name, r) : (o.missing.add(n.name), !0);
5858
+ return r ? wo(o, n.name, r) : (o.missing.add(n.name), !0);
5859
5859
  }
5860
- function ko(e, r) {
5860
+ function So(e, r) {
5861
5861
  if (typeof e != "object")
5862
5862
  return !1;
5863
5863
  if (typeof r != "string" && (r = e.provider || ""), me && !r && !e.prefix) {
5864
5864
  let a = !1;
5865
- return Wr(e) && (e.prefix = "", Hr(e, (c, l) => {
5866
- xo(c, l) && (a = !0);
5865
+ return Zr(e) && (e.prefix = "", Wr(e, (c, l) => {
5866
+ ko(c, l) && (a = !0);
5867
5867
  })), a;
5868
5868
  }
5869
5869
  const n = e.prefix;
@@ -5873,29 +5873,29 @@ function ko(e, r) {
5873
5873
  }))
5874
5874
  return !1;
5875
5875
  const o = ae(r, n);
5876
- return !!Zr(o, e);
5876
+ return !!Xr(o, e);
5877
5877
  }
5878
- const Yr = Object.freeze({
5878
+ const qr = Object.freeze({
5879
5879
  width: null,
5880
5880
  height: null
5881
- }), qr = Object.freeze({
5881
+ }), Jr = Object.freeze({
5882
5882
  // Dimensions
5883
- ...Yr,
5883
+ ...qr,
5884
5884
  // Transformations
5885
5885
  ...Ee
5886
- }), So = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Co = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
5887
- function pr(e, r, n) {
5886
+ }), Co = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Ao = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
5887
+ function hr(e, r, n) {
5888
5888
  if (r === 1)
5889
5889
  return e;
5890
5890
  if (n = n || 100, typeof e == "number")
5891
5891
  return Math.ceil(e * r * n) / n;
5892
5892
  if (typeof e != "string")
5893
5893
  return e;
5894
- const o = e.split(So);
5894
+ const o = e.split(Co);
5895
5895
  if (o === null || !o.length)
5896
5896
  return e;
5897
5897
  const a = [];
5898
- let c = o.shift(), l = Co.test(c);
5898
+ let c = o.shift(), l = Ao.test(c);
5899
5899
  for (; ; ) {
5900
5900
  if (l) {
5901
5901
  const s = parseFloat(c);
@@ -5907,7 +5907,7 @@ function pr(e, r, n) {
5907
5907
  l = !l;
5908
5908
  }
5909
5909
  }
5910
- function Ao(e, r = "defs") {
5910
+ function Do(e, r = "defs") {
5911
5911
  let n = "";
5912
5912
  const o = e.indexOf("<" + r);
5913
5913
  for (; o >= 0; ) {
@@ -5924,20 +5924,20 @@ function Ao(e, r = "defs") {
5924
5924
  content: e
5925
5925
  };
5926
5926
  }
5927
- function Do(e, r) {
5927
+ function Ro(e, r) {
5928
5928
  return e ? "<defs>" + e + "</defs>" + r : r;
5929
5929
  }
5930
- function Ro(e, r, n) {
5931
- const o = Ao(e);
5932
- return Do(o.defs, r + o.content + n);
5930
+ function Mo(e, r, n) {
5931
+ const o = Do(e);
5932
+ return Ro(o.defs, r + o.content + n);
5933
5933
  }
5934
- const Mo = (e) => e === "unset" || e === "undefined" || e === "none";
5935
- function Eo(e, r) {
5934
+ const Eo = (e) => e === "unset" || e === "undefined" || e === "none";
5935
+ function Io(e, r) {
5936
5936
  const n = {
5937
5937
  ...Fe,
5938
5938
  ...e
5939
5939
  }, o = {
5940
- ...qr,
5940
+ ...Jr,
5941
5941
  ...r
5942
5942
  }, a = {
5943
5943
  left: n.left,
@@ -5972,7 +5972,7 @@ function Eo(e, r) {
5972
5972
  );
5973
5973
  break;
5974
5974
  }
5975
- R % 2 === 1 && (a.left !== a.top && (u = a.left, a.left = a.top, a.top = u), a.width !== a.height && (u = a.width, a.width = a.height, a.height = u)), m.length && (c = Ro(
5975
+ R % 2 === 1 && (a.left !== a.top && (u = a.left, a.left = a.top, a.top = u), a.width !== a.height && (u = a.width, a.width = a.height, a.height = u)), m.length && (c = Mo(
5976
5976
  c,
5977
5977
  '<g transform="' + m.join(" ") + '">',
5978
5978
  "</g>"
@@ -5980,9 +5980,9 @@ function Eo(e, r) {
5980
5980
  });
5981
5981
  const l = o.width, s = o.height, t = a.width, i = a.height;
5982
5982
  let d, _;
5983
- l === null ? (_ = s === null ? "1em" : s === "auto" ? i : s, d = pr(_, t / i)) : (d = l === "auto" ? t : l, _ = s === null ? pr(d, i / t) : s === "auto" ? i : s);
5983
+ l === null ? (_ = s === null ? "1em" : s === "auto" ? i : s, d = hr(_, t / i)) : (d = l === "auto" ? t : l, _ = s === null ? hr(d, i / t) : s === "auto" ? i : s);
5984
5984
  const b = {}, p = (w, m) => {
5985
- Mo(m) || (b[w] = m.toString());
5985
+ Eo(m) || (b[w] = m.toString());
5986
5986
  };
5987
5987
  p("width", d), p("height", _);
5988
5988
  const k = [a.left, a.top, t, i];
@@ -5992,18 +5992,18 @@ function Eo(e, r) {
5992
5992
  body: c
5993
5993
  };
5994
5994
  }
5995
- const Io = /\sid="(\S+)"/g, Fo = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
5996
- let Po = 0;
5997
- function Lo(e, r = Fo) {
5995
+ const Fo = /\sid="(\S+)"/g, Po = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
5996
+ let Lo = 0;
5997
+ function To(e, r = Po) {
5998
5998
  const n = [];
5999
5999
  let o;
6000
- for (; o = Io.exec(e); )
6000
+ for (; o = Fo.exec(e); )
6001
6001
  n.push(o[1]);
6002
6002
  if (!n.length)
6003
6003
  return e;
6004
6004
  const a = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
6005
6005
  return n.forEach((c) => {
6006
- const l = typeof r == "function" ? r(c) : r + (Po++).toString(), s = c.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
6006
+ const l = typeof r == "function" ? r(c) : r + (Lo++).toString(), s = c.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
6007
6007
  e = e.replace(
6008
6008
  // Allowed characters before id: [#;"]
6009
6009
  // Allowed characters after id: [)"], .[a-z]
@@ -6013,7 +6013,7 @@ function Lo(e, r = Fo) {
6013
6013
  }), e = e.replace(new RegExp(a, "g"), ""), e;
6014
6014
  }
6015
6015
  const Ke = /* @__PURE__ */ Object.create(null);
6016
- function To(e, r) {
6016
+ function Bo(e, r) {
6017
6017
  Ke[e] = r;
6018
6018
  }
6019
6019
  function Ve(e) {
@@ -6053,14 +6053,14 @@ for (; se.length > 0; )
6053
6053
  or[""] = nr({
6054
6054
  resources: ["https://api.iconify.design"].concat(Se)
6055
6055
  });
6056
- function Bo(e, r) {
6056
+ function No(e, r) {
6057
6057
  const n = nr(r);
6058
6058
  return n === null ? !1 : (or[e] = n, !0);
6059
6059
  }
6060
6060
  function ar(e) {
6061
6061
  return or[e];
6062
6062
  }
6063
- const No = () => {
6063
+ const Uo = () => {
6064
6064
  let e;
6065
6065
  try {
6066
6066
  if (e = fetch, typeof e == "function")
@@ -6068,8 +6068,8 @@ const No = () => {
6068
6068
  } catch {
6069
6069
  }
6070
6070
  };
6071
- let hr = No();
6072
- function Uo(e, r) {
6071
+ let vr = Uo();
6072
+ function Go(e, r) {
6073
6073
  const n = ar(e);
6074
6074
  if (!n)
6075
6075
  return 0;
@@ -6086,11 +6086,11 @@ function Uo(e, r) {
6086
6086
  }
6087
6087
  return o;
6088
6088
  }
6089
- function Go(e) {
6089
+ function zo(e) {
6090
6090
  return e === 404;
6091
6091
  }
6092
- const zo = (e, r, n) => {
6093
- const o = [], a = Uo(e, r), c = "icons";
6092
+ const $o = (e, r, n) => {
6093
+ const o = [], a = Go(e, r), c = "icons";
6094
6094
  let l = {
6095
6095
  type: c,
6096
6096
  provider: e,
@@ -6106,7 +6106,7 @@ const zo = (e, r, n) => {
6106
6106
  }, s = t.length), l.icons.push(t);
6107
6107
  }), o.push(l), o;
6108
6108
  };
6109
- function $o(e) {
6109
+ function Oo(e) {
6110
6110
  if (typeof e == "string") {
6111
6111
  const r = ar(e);
6112
6112
  if (r)
@@ -6114,12 +6114,12 @@ function $o(e) {
6114
6114
  }
6115
6115
  return "/";
6116
6116
  }
6117
- const Oo = (e, r, n) => {
6118
- if (!hr) {
6117
+ const Ko = (e, r, n) => {
6118
+ if (!vr) {
6119
6119
  n("abort", 424);
6120
6120
  return;
6121
6121
  }
6122
- let o = $o(r.provider);
6122
+ let o = Oo(r.provider);
6123
6123
  switch (r.type) {
6124
6124
  case "icons": {
6125
6125
  const c = r.prefix, s = r.icons.join(","), t = new URLSearchParams({
@@ -6138,11 +6138,11 @@ const Oo = (e, r, n) => {
6138
6138
  return;
6139
6139
  }
6140
6140
  let a = 503;
6141
- hr(e + o).then((c) => {
6141
+ vr(e + o).then((c) => {
6142
6142
  const l = c.status;
6143
6143
  if (l !== 200) {
6144
6144
  setTimeout(() => {
6145
- n(Go(l) ? "abort" : "next", l);
6145
+ n(zo(l) ? "abort" : "next", l);
6146
6146
  });
6147
6147
  return;
6148
6148
  }
@@ -6160,11 +6160,11 @@ const Oo = (e, r, n) => {
6160
6160
  }).catch(() => {
6161
6161
  n("next", a);
6162
6162
  });
6163
- }, Ko = {
6164
- prepare: zo,
6165
- send: Oo
6163
+ }, Vo = {
6164
+ prepare: $o,
6165
+ send: Ko
6166
6166
  };
6167
- function Vo(e) {
6167
+ function jo(e) {
6168
6168
  const r = {
6169
6169
  loaded: [],
6170
6170
  missing: [],
@@ -6191,13 +6191,13 @@ function Vo(e) {
6191
6191
  d.push(_);
6192
6192
  }), r;
6193
6193
  }
6194
- function Jr(e, r) {
6194
+ function Qr(e, r) {
6195
6195
  e.forEach((n) => {
6196
6196
  const o = n.loaderCallbacks;
6197
6197
  o && (n.loaderCallbacks = o.filter((a) => a.id !== r));
6198
6198
  });
6199
6199
  }
6200
- function jo(e) {
6200
+ function Ho(e) {
6201
6201
  e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
6202
6202
  e.pendingCallbacksFlag = !1;
6203
6203
  const r = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
@@ -6226,7 +6226,7 @@ function jo(e) {
6226
6226
  else
6227
6227
  return n = !0, !0;
6228
6228
  return !1;
6229
- }), l.pending.length !== s && (n || Jr([e], c.id), c.callback(
6229
+ }), l.pending.length !== s && (n || Qr([e], c.id), c.callback(
6230
6230
  l.loaded.slice(0),
6231
6231
  l.missing.slice(0),
6232
6232
  l.pending.slice(0),
@@ -6235,9 +6235,9 @@ function jo(e) {
6235
6235
  });
6236
6236
  }));
6237
6237
  }
6238
- let Ho = 0;
6239
- function Wo(e, r, n) {
6240
- const o = Ho++, a = Jr.bind(null, n, o);
6238
+ let Wo = 0;
6239
+ function Zo(e, r, n) {
6240
+ const o = Wo++, a = Qr.bind(null, n, o);
6241
6241
  if (!r.pending.length)
6242
6242
  return a;
6243
6243
  const c = {
@@ -6250,14 +6250,14 @@ function Wo(e, r, n) {
6250
6250
  (l.loaderCallbacks || (l.loaderCallbacks = [])).push(c);
6251
6251
  }), a;
6252
6252
  }
6253
- function Zo(e, r = !0, n = !1) {
6253
+ function Xo(e, r = !0, n = !1) {
6254
6254
  const o = [];
6255
6255
  return e.forEach((a) => {
6256
6256
  const c = typeof a == "string" ? Ie(a, r, n) : a;
6257
6257
  c && o.push(c);
6258
6258
  }), o;
6259
6259
  }
6260
- var Xo = {
6260
+ var Yo = {
6261
6261
  resources: [],
6262
6262
  index: 0,
6263
6263
  timeout: 2e3,
@@ -6265,7 +6265,7 @@ var Xo = {
6265
6265
  random: !1,
6266
6266
  dataAfterTimeout: !1
6267
6267
  };
6268
- function Yo(e, r, n, o) {
6268
+ function qo(e, r, n, o) {
6269
6269
  const a = e.resources.length, c = e.random ? Math.floor(Math.random() * a) : e.index;
6270
6270
  let l;
6271
6271
  if (e.random) {
@@ -6366,9 +6366,9 @@ function Yo(e, r, n, o) {
6366
6366
  }
6367
6367
  return setTimeout(S), M;
6368
6368
  }
6369
- function Qr(e) {
6369
+ function en(e) {
6370
6370
  const r = {
6371
- ...Xo,
6371
+ ...Yo,
6372
6372
  ...e
6373
6373
  };
6374
6374
  let n = [];
@@ -6376,7 +6376,7 @@ function Qr(e) {
6376
6376
  n = n.filter((s) => s().status === "pending");
6377
6377
  }
6378
6378
  function a(s, t, i) {
6379
- const d = Yo(
6379
+ const d = qo(
6380
6380
  r,
6381
6381
  s,
6382
6382
  t,
@@ -6399,15 +6399,15 @@ function Qr(e) {
6399
6399
  cleanup: o
6400
6400
  };
6401
6401
  }
6402
- function vr() {
6402
+ function wr() {
6403
6403
  }
6404
6404
  const Ge = /* @__PURE__ */ Object.create(null);
6405
- function qo(e) {
6405
+ function Jo(e) {
6406
6406
  if (!Ge[e]) {
6407
6407
  const r = ar(e);
6408
6408
  if (!r)
6409
6409
  return;
6410
- const n = Qr(r), o = {
6410
+ const n = en(r), o = {
6411
6411
  config: r,
6412
6412
  redundancy: n
6413
6413
  };
@@ -6415,36 +6415,36 @@ function qo(e) {
6415
6415
  }
6416
6416
  return Ge[e];
6417
6417
  }
6418
- function Jo(e, r, n) {
6418
+ function Qo(e, r, n) {
6419
6419
  let o, a;
6420
6420
  if (typeof e == "string") {
6421
6421
  const c = Ve(e);
6422
6422
  if (!c)
6423
- return n(void 0, 424), vr;
6423
+ return n(void 0, 424), wr;
6424
6424
  a = c.send;
6425
- const l = qo(e);
6425
+ const l = Jo(e);
6426
6426
  l && (o = l.redundancy);
6427
6427
  } else {
6428
6428
  const c = nr(e);
6429
6429
  if (c) {
6430
- o = Qr(c);
6430
+ o = en(c);
6431
6431
  const l = e.resources ? e.resources[0] : "", s = Ve(l);
6432
6432
  s && (a = s.send);
6433
6433
  }
6434
6434
  }
6435
- return !o || !a ? (n(void 0, 424), vr) : o.query(r, a, n)().abort;
6435
+ return !o || !a ? (n(void 0, 424), wr) : o.query(r, a, n)().abort;
6436
6436
  }
6437
- function wr() {
6437
+ function xr() {
6438
6438
  }
6439
- function Qo(e) {
6439
+ function ea(e) {
6440
6440
  e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
6441
- e.iconsLoaderFlag = !1, jo(e);
6441
+ e.iconsLoaderFlag = !1, Ho(e);
6442
6442
  }));
6443
6443
  }
6444
- function ea(e) {
6444
+ function ra(e) {
6445
6445
  const r = [], n = [];
6446
6446
  return e.forEach((o) => {
6447
- (o.match(Vr) ? r : n).push(o);
6447
+ (o.match(jr) ? r : n).push(o);
6448
6448
  }), {
6449
6449
  valid: r,
6450
6450
  invalid: n
@@ -6459,23 +6459,23 @@ function ie(e, r, n) {
6459
6459
  }
6460
6460
  if (n && typeof n == "object")
6461
6461
  try {
6462
- if (!Zr(e, n).length) {
6462
+ if (!Xr(e, n).length) {
6463
6463
  o();
6464
6464
  return;
6465
6465
  }
6466
6466
  } catch (a) {
6467
6467
  console.error(a);
6468
6468
  }
6469
- o(), Qo(e);
6469
+ o(), ea(e);
6470
6470
  }
6471
- function xr(e, r) {
6471
+ function kr(e, r) {
6472
6472
  e instanceof Promise ? e.then((n) => {
6473
6473
  r(n);
6474
6474
  }).catch(() => {
6475
6475
  r(null);
6476
6476
  }) : r(e);
6477
6477
  }
6478
- function ra(e, r) {
6478
+ function na(e, r) {
6479
6479
  e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(r).sort() : e.iconsToLoad = r, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
6480
6480
  e.iconsQueueFlag = !1;
6481
6481
  const { provider: n, prefix: o } = e, a = e.iconsToLoad;
@@ -6483,7 +6483,7 @@ function ra(e, r) {
6483
6483
  return;
6484
6484
  const c = e.loadIcon;
6485
6485
  if (e.loadIcons && (a.length > 1 || !c)) {
6486
- xr(
6486
+ kr(
6487
6487
  e.loadIcons(a, o, n),
6488
6488
  (d) => {
6489
6489
  ie(e, a, d);
@@ -6494,7 +6494,7 @@ function ra(e, r) {
6494
6494
  if (c) {
6495
6495
  a.forEach((d) => {
6496
6496
  const _ = c(d, o, n);
6497
- xr(_, (b) => {
6497
+ kr(_, (b) => {
6498
6498
  const p = b ? {
6499
6499
  prefix: o,
6500
6500
  icons: {
@@ -6506,23 +6506,23 @@ function ra(e, r) {
6506
6506
  });
6507
6507
  return;
6508
6508
  }
6509
- const { valid: l, invalid: s } = ea(a);
6509
+ const { valid: l, invalid: s } = ra(a);
6510
6510
  if (s.length && ie(e, s, null), !l.length)
6511
6511
  return;
6512
- const t = o.match(Vr) ? Ve(n) : null;
6512
+ const t = o.match(jr) ? Ve(n) : null;
6513
6513
  if (!t) {
6514
6514
  ie(e, l, null);
6515
6515
  return;
6516
6516
  }
6517
6517
  t.prepare(n, o, l).forEach((d) => {
6518
- Jo(n, d, (_) => {
6518
+ Qo(n, d, (_) => {
6519
6519
  ie(e, d.icons, _);
6520
6520
  });
6521
6521
  });
6522
6522
  }));
6523
6523
  }
6524
- const na = (e, r) => {
6525
- const n = Zo(e, !0, Xr()), o = Vo(n);
6524
+ const oa = (e, r) => {
6525
+ const n = Xo(e, !0, Yr()), o = jo(n);
6526
6526
  if (!o.pending.length) {
6527
6527
  let t = !0;
6528
6528
  return r && setTimeout(() => {
@@ -6530,7 +6530,7 @@ const na = (e, r) => {
6530
6530
  o.loaded,
6531
6531
  o.missing,
6532
6532
  o.pending,
6533
- wr
6533
+ xr
6534
6534
  );
6535
6535
  }), () => {
6536
6536
  t = !1;
@@ -6550,22 +6550,22 @@ const na = (e, r) => {
6550
6550
  p.has(_) || (p.add(_), a[i][d].push(_));
6551
6551
  }), c.forEach((t) => {
6552
6552
  const i = a[t.provider][t.prefix];
6553
- i.length && ra(t, i);
6554
- }), r ? Wo(r, o, c) : wr;
6553
+ i.length && na(t, i);
6554
+ }), r ? Zo(r, o, c) : xr;
6555
6555
  };
6556
- function oa(e, r) {
6556
+ function aa(e, r) {
6557
6557
  const n = {
6558
6558
  ...e
6559
6559
  };
6560
6560
  for (const o in r) {
6561
6561
  const a = r[o], c = typeof a;
6562
- o in Yr ? (a === null || a && (c === "string" || c === "number")) && (n[o] = a) : c === typeof n[o] && (n[o] = o === "rotate" ? a % 4 : a);
6562
+ o in qr ? (a === null || a && (c === "string" || c === "number")) && (n[o] = a) : c === typeof n[o] && (n[o] = o === "rotate" ? a % 4 : a);
6563
6563
  }
6564
6564
  return n;
6565
6565
  }
6566
- const aa = /[\s,]+/;
6567
- function ca(e, r) {
6568
- r.split(aa).forEach((n) => {
6566
+ const ca = /[\s,]+/;
6567
+ function la(e, r) {
6568
+ r.split(ca).forEach((n) => {
6569
6569
  switch (n.trim()) {
6570
6570
  case "horizontal":
6571
6571
  e.hFlip = !0;
@@ -6576,7 +6576,7 @@ function ca(e, r) {
6576
6576
  }
6577
6577
  });
6578
6578
  }
6579
- function la(e, r = 0) {
6579
+ function ta(e, r = 0) {
6580
6580
  const n = e.replace(/^-?[0-9.]*/, "");
6581
6581
  function o(a) {
6582
6582
  for (; a < 0; )
@@ -6602,59 +6602,59 @@ function la(e, r = 0) {
6602
6602
  }
6603
6603
  return r;
6604
6604
  }
6605
- function ta(e, r) {
6605
+ function sa(e, r) {
6606
6606
  let n = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
6607
6607
  for (const o in r)
6608
6608
  n += " " + o + '="' + r[o] + '"';
6609
6609
  return '<svg xmlns="http://www.w3.org/2000/svg"' + n + ">" + e + "</svg>";
6610
6610
  }
6611
- function sa(e) {
6612
- return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
6613
- }
6614
6611
  function ia(e) {
6615
- return "data:image/svg+xml," + sa(e);
6612
+ return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
6616
6613
  }
6617
6614
  function da(e) {
6618
- return 'url("' + ia(e) + '")';
6615
+ return "data:image/svg+xml," + ia(e);
6619
6616
  }
6620
- const kr = {
6621
- ...qr,
6617
+ function ua(e) {
6618
+ return 'url("' + da(e) + '")';
6619
+ }
6620
+ const Sr = {
6621
+ ...Jr,
6622
6622
  inline: !1
6623
- }, ua = {
6623
+ }, ma = {
6624
6624
  xmlns: "http://www.w3.org/2000/svg",
6625
6625
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
6626
6626
  "aria-hidden": !0,
6627
6627
  role: "img"
6628
- }, ma = {
6628
+ }, ya = {
6629
6629
  display: "inline-block"
6630
6630
  }, je = {
6631
6631
  backgroundColor: "currentColor"
6632
- }, en = {
6632
+ }, rn = {
6633
6633
  backgroundColor: "transparent"
6634
- }, Sr = {
6634
+ }, Cr = {
6635
6635
  Image: "var(--svg)",
6636
6636
  Repeat: "no-repeat",
6637
6637
  Size: "100% 100%"
6638
- }, Cr = {
6638
+ }, Ar = {
6639
6639
  webkitMask: je,
6640
6640
  mask: je,
6641
- background: en
6641
+ background: rn
6642
6642
  };
6643
- for (const e in Cr) {
6644
- const r = Cr[e];
6645
- for (const n in Sr)
6646
- r[e + n] = Sr[n];
6643
+ for (const e in Ar) {
6644
+ const r = Ar[e];
6645
+ for (const n in Cr)
6646
+ r[e + n] = Cr[n];
6647
6647
  }
6648
6648
  const Ce = {};
6649
6649
  ["horizontal", "vertical"].forEach((e) => {
6650
6650
  const r = e.slice(0, 1) + "Flip";
6651
6651
  Ce[e + "-flip"] = r, Ce[e.slice(0, 1) + "-flip"] = r, Ce[e + "Flip"] = r;
6652
6652
  });
6653
- function Ar(e) {
6653
+ function Dr(e) {
6654
6654
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
6655
6655
  }
6656
- const Dr = (e, r) => {
6657
- const n = oa(kr, r), o = { ...ua }, a = r.mode || "svg", c = {}, l = r.style, s = typeof l == "object" && !(l instanceof Array) ? l : {};
6656
+ const Rr = (e, r) => {
6657
+ const n = aa(Sr, r), o = { ...ma }, a = r.mode || "svg", c = {}, l = r.style, s = typeof l == "object" && !(l instanceof Array) ? l : {};
6658
6658
  for (let w in r) {
6659
6659
  const m = r[w];
6660
6660
  if (m !== void 0)
@@ -6674,7 +6674,7 @@ const Dr = (e, r) => {
6674
6674
  break;
6675
6675
  // Flip as string: 'horizontal,vertical'
6676
6676
  case "flip":
6677
- typeof m == "string" && ca(n, m);
6677
+ typeof m == "string" && la(n, m);
6678
6678
  break;
6679
6679
  // Color: override style
6680
6680
  case "color":
@@ -6682,7 +6682,7 @@ const Dr = (e, r) => {
6682
6682
  break;
6683
6683
  // Rotation as string
6684
6684
  case "rotate":
6685
- typeof m == "string" ? n[w] = la(m) : typeof m == "number" && (n[w] = m);
6685
+ typeof m == "string" ? n[w] = ta(m) : typeof m == "number" && (n[w] = m);
6686
6686
  break;
6687
6687
  // Remove aria-hidden
6688
6688
  case "ariaHidden":
@@ -6691,36 +6691,36 @@ const Dr = (e, r) => {
6691
6691
  break;
6692
6692
  default: {
6693
6693
  const M = Ce[w];
6694
- M ? (m === !0 || m === "true" || m === 1) && (n[M] = !0) : kr[w] === void 0 && (o[w] = m);
6694
+ M ? (m === !0 || m === "true" || m === 1) && (n[M] = !0) : Sr[w] === void 0 && (o[w] = m);
6695
6695
  }
6696
6696
  }
6697
6697
  }
6698
- const t = Eo(e, n), i = t.attributes;
6698
+ const t = Io(e, n), i = t.attributes;
6699
6699
  if (n.inline && (c.verticalAlign = "-0.125em"), a === "svg") {
6700
6700
  o.style = {
6701
6701
  ...c,
6702
6702
  ...s
6703
6703
  }, Object.assign(o, i);
6704
6704
  let w = 0, m = r.id;
6705
- return typeof m == "string" && (m = m.replace(/-/g, "_")), o.innerHTML = Lo(t.body, m ? () => m + "ID" + w++ : "iconifyVue"), dr("svg", o);
6705
+ return typeof m == "string" && (m = m.replace(/-/g, "_")), o.innerHTML = To(t.body, m ? () => m + "ID" + w++ : "iconifyVue"), dr("svg", o);
6706
6706
  }
6707
- const { body: d, width: _, height: b } = e, p = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), k = ta(d, {
6707
+ const { body: d, width: _, height: b } = e, p = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), k = sa(d, {
6708
6708
  ...i,
6709
6709
  width: _ + "",
6710
6710
  height: b + ""
6711
6711
  });
6712
6712
  return o.style = {
6713
6713
  ...c,
6714
- "--svg": da(k),
6715
- width: Ar(i.width),
6716
- height: Ar(i.height),
6717
- ...ma,
6718
- ...p ? je : en,
6714
+ "--svg": ua(k),
6715
+ width: Dr(i.width),
6716
+ height: Dr(i.height),
6717
+ ...ya,
6718
+ ...p ? je : rn,
6719
6719
  ...s
6720
6720
  }, dr("span", o);
6721
6721
  };
6722
- Xr(!0);
6723
- To("", Ko);
6722
+ Yr(!0);
6723
+ Bo("", Vo);
6724
6724
  if (typeof document < "u" && typeof window < "u") {
6725
6725
  const e = window;
6726
6726
  if (e.IconifyPreload !== void 0) {
@@ -6730,7 +6730,7 @@ if (typeof document < "u" && typeof window < "u") {
6730
6730
  // Check if item is an object and not null/array
6731
6731
  (typeof o != "object" || o === null || o instanceof Array || // Check for 'icons' and 'prefix'
6732
6732
  typeof o.icons != "object" || typeof o.prefix != "string" || // Add icon set
6733
- !ko(o)) && console.error(n);
6733
+ !So(o)) && console.error(n);
6734
6734
  } catch {
6735
6735
  console.error(n);
6736
6736
  }
@@ -6745,23 +6745,23 @@ if (typeof document < "u" && typeof window < "u") {
6745
6745
  const a = r[n];
6746
6746
  if (typeof a != "object" || !a || a.resources === void 0)
6747
6747
  continue;
6748
- Bo(n, a) || console.error(o);
6748
+ No(n, a) || console.error(o);
6749
6749
  } catch {
6750
6750
  console.error(o);
6751
6751
  }
6752
6752
  }
6753
6753
  }
6754
6754
  }
6755
- const ya = {
6755
+ const fa = {
6756
6756
  ...Fe,
6757
6757
  body: ""
6758
- }, fa = W((e, { emit: r }) => {
6758
+ }, _a = W((e, { emit: r }) => {
6759
6759
  const n = L(null);
6760
6760
  function o() {
6761
6761
  var i, d;
6762
6762
  n.value && ((d = (i = n.value).abort) == null || d.call(i), n.value = null);
6763
6763
  }
6764
- const a = L(!!e.ssr), c = L(""), l = nn(null);
6764
+ const a = L(!!e.ssr), c = L(""), l = on(null);
6765
6765
  function s() {
6766
6766
  const i = e.icon;
6767
6767
  if (typeof i == "object" && i !== null && typeof i.body == "string")
@@ -6771,14 +6771,14 @@ const ya = {
6771
6771
  let d;
6772
6772
  if (typeof i != "string" || (d = Ie(i, !1, !0)) === null)
6773
6773
  return null;
6774
- let _ = wo(d);
6774
+ let _ = xo(d);
6775
6775
  if (!_) {
6776
6776
  const k = n.value;
6777
6777
  return (!k || k.name !== i) && (_ === null ? n.value = {
6778
6778
  name: i
6779
6779
  } : n.value = {
6780
6780
  name: i,
6781
- abort: na([d], t)
6781
+ abort: oa([d], t)
6782
6782
  }), null;
6783
6783
  }
6784
6784
  o(), c.value !== i && (c.value = i, xe(() => {
@@ -6803,12 +6803,12 @@ const ya = {
6803
6803
  }), Re(() => e.icon, t), Je(o), () => {
6804
6804
  const i = l.value;
6805
6805
  if (!i)
6806
- return Dr(ya, e);
6806
+ return Rr(fa, e);
6807
6807
  let d = e;
6808
6808
  return i.classes && (d = {
6809
6809
  ...e,
6810
6810
  class: i.classes.join(" ")
6811
- }), Dr({
6811
+ }), Rr({
6812
6812
  ...Fe,
6813
6813
  ...i.data
6814
6814
  }, d);
@@ -6839,19 +6839,19 @@ const ya = {
6839
6839
  "title"
6840
6840
  ],
6841
6841
  emits: ["load"]
6842
- }), _a = { class: "main-select" }, ga = ["for"], ba = {
6842
+ }), ga = { class: "main-select" }, ba = ["for"], pa = {
6843
6843
  key: 0,
6844
6844
  class: "text-red-500"
6845
- }, pa = ["error"], ha = { class: "truncate" }, va = { key: 0 }, wa = { key: 0 }, xa = {
6845
+ }, ha = ["error"], va = { class: "truncate" }, wa = { key: 0 }, xa = { key: 0 }, ka = {
6846
6846
  key: 1,
6847
6847
  class: "text-base-neutral-300"
6848
- }, ka = {
6848
+ }, Sa = {
6849
6849
  key: 0,
6850
6850
  class: "p-2 relative"
6851
- }, Sa = ["onClick"], Ca = {
6851
+ }, Ca = ["onClick"], Aa = {
6852
6852
  key: 1,
6853
6853
  class: "p-3 text-base text-neutral-500"
6854
- }, Aa = /* @__PURE__ */ W({
6854
+ }, Da = /* @__PURE__ */ W({
6855
6855
  __name: "Select",
6856
6856
  props: /* @__PURE__ */ Qe({
6857
6857
  id: {},
@@ -6878,7 +6878,7 @@ const ya = {
6878
6878
  }),
6879
6879
  emits: ["update:modelValue", "update:query"],
6880
6880
  setup(e) {
6881
- const r = e, n = on(), o = oe(e, "modelValue"), a = L(!1), c = oe(e, "query"), l = L(null), s = L(null), t = L({}), i = L(-1);
6881
+ const r = e, n = an(), o = oe(e, "modelValue"), a = L(!1), c = oe(e, "query"), l = L(null), s = L(null), t = L({}), i = L(-1);
6882
6882
  ye(() => {
6883
6883
  window.addEventListener("scroll", _, !0), window.addEventListener("resize", _);
6884
6884
  }), Je(() => {
@@ -6959,14 +6959,14 @@ const ya = {
6959
6959
  }), (u, S) => {
6960
6960
  var A, g, E, U, X;
6961
6961
  const h = He("AppFormError");
6962
- return x(), D("div", _a, [
6962
+ return x(), D("div", ga, [
6963
6963
  P("label", {
6964
6964
  for: e.id,
6965
6965
  class: K(T.value)
6966
6966
  }, [
6967
6967
  de($(e.label) + " ", 1),
6968
- e.required ? (x(), D("span", ba, "*")) : G("", !0)
6969
- ], 10, ga),
6968
+ e.required ? (x(), D("span", pa, "*")) : G("", !0)
6969
+ ], 10, ba),
6970
6970
  P("div", {
6971
6971
  ref_key: "wrapperRef",
6972
6972
  ref: l,
@@ -6980,16 +6980,16 @@ const ya = {
6980
6980
  class: K([M.value, "flex items-center justify-between h-12 select"]),
6981
6981
  error: !!((A = e.errors) != null && A.length)
6982
6982
  }, [
6983
- P("div", ha, [
6983
+ P("div", va, [
6984
6984
  e.multiple && Array.isArray(o.value) ? (x(), D(ne, { key: 0 }, [
6985
6985
  e.showSelectedCount ? (x(), D("span", {
6986
6986
  key: 0,
6987
6987
  class: K(!o.value || o.value.length === 0 ? "text-base-neutral-300" : "")
6988
6988
  }, $(o.value.length > 0 ? `${o.value.length} selected` : e.placeholder), 3)) : (x(), D(ne, { key: 1 }, [
6989
- p.value && p.value.length ? (x(), D("span", va, [
6989
+ p.value && p.value.length ? (x(), D("span", wa, [
6990
6990
  de($((g = p.value) == null ? void 0 : g.slice(0, 2).join(", ")) + " ", 1),
6991
- ((E = p.value) == null ? void 0 : E.length) > 2 ? (x(), D("span", wa, " , +" + $(p.value.length - 2) + " more ", 1)) : G("", !0)
6992
- ])) : (x(), D("span", xa, $(e.placeholder), 1))
6991
+ ((E = p.value) == null ? void 0 : E.length) > 2 ? (x(), D("span", xa, " , +" + $(p.value.length - 2) + " more ", 1)) : G("", !0)
6992
+ ])) : (x(), D("span", ka, $(e.placeholder), 1))
6993
6993
  ], 64))
6994
6994
  ], 64)) : (x(), D("span", {
6995
6995
  key: 1,
@@ -7001,8 +7001,8 @@ const ya = {
7001
7001
  size: 16,
7002
7002
  class: "-rotate-90"
7003
7003
  })
7004
- ], 10, pa)),
7005
- (x(), V(Ir, { to: "body" }, [
7004
+ ], 10, ha)),
7005
+ (x(), V(Fr, { to: "body" }, [
7006
7006
  a.value ? (x(), D("div", {
7007
7007
  key: 0,
7008
7008
  class: "fixed inset-0 h-dvh w-screen z-101",
@@ -7016,8 +7016,8 @@ const ya = {
7016
7016
  class: "absolute z-102 w-full bg-off-white border border-base-neutral-100 rounded-lg shadow-lg max-h-60 overflow-auto",
7017
7017
  role: "listbox"
7018
7018
  }, [
7019
- e.searchable ? (x(), D("div", ka, [
7020
- Mr(P("input", {
7019
+ e.searchable ? (x(), D("div", Sa, [
7020
+ Er(P("input", {
7021
7021
  name: "search",
7022
7022
  "onUpdate:modelValue": S[1] || (S[1] = (B) => c.value = B),
7023
7023
  class: "w-full p-2 border border-base-neutral-100 bg-white rounded-lg text-sm focus:outline-none",
@@ -7025,9 +7025,9 @@ const ya = {
7025
7025
  onClick: S[2] || (S[2] = De(() => {
7026
7026
  }, ["stop"]))
7027
7027
  }, null, 512), [
7028
- [Er, c.value]
7028
+ [Ir, c.value]
7029
7029
  ]),
7030
- e.loading ? (x(), V(Ae(fa), {
7030
+ e.loading ? (x(), V(Ae(_a), {
7031
7031
  key: 0,
7032
7032
  icon: "svg-spinners:180-ring-with-bg",
7033
7033
  class: "absolute end-5 top-1/2 -translate-y-1/2"
@@ -7054,7 +7054,7 @@ const ya = {
7054
7054
  size: "20",
7055
7055
  color: "#e65b2a"
7056
7056
  })) : G("", !0)
7057
- ], 10, Sa))), 128)) : (x(), D("li", Ca, "No results found"))
7057
+ ], 10, Ca))), 128)) : (x(), D("li", Aa, "No results found"))
7058
7058
  ])
7059
7059
  ], 4)) : G("", !0)
7060
7060
  ]))
@@ -7063,7 +7063,7 @@ const ya = {
7063
7063
  ]);
7064
7064
  };
7065
7065
  }
7066
- }), Fa = /* @__PURE__ */ rr(Aa, [["__scopeId", "data-v-9cd15bbc"]]), Pa = /* @__PURE__ */ W({
7066
+ }), Pa = /* @__PURE__ */ rr(Da, [["__scopeId", "data-v-9cd15bbc"]]), La = /* @__PURE__ */ W({
7067
7067
  __name: "Dialog",
7068
7068
  props: /* @__PURE__ */ Qe({
7069
7069
  classList: {},
@@ -7085,8 +7085,8 @@ const ya = {
7085
7085
  document.body.classList.remove("overflow-hidden");
7086
7086
  }), Re(() => r.value, () => {
7087
7087
  r.value ? document.body.classList.add("overflow-hidden") : document.body.classList.remove("overflow-hidden");
7088
- }, { immediate: !0 }), (c, l) => (x(), V(Ir, { to: "body" }, [
7089
- ue(an, { name: "fade" }, {
7088
+ }, { immediate: !0 }), (c, l) => (x(), V(Fr, { to: "body" }, [
7089
+ ue(cn, { name: "fade" }, {
7090
7090
  default: Ze(() => [
7091
7091
  r.value ? (x(), D("div", {
7092
7092
  key: 0,
@@ -7100,7 +7100,7 @@ const ya = {
7100
7100
  })
7101
7101
  ]));
7102
7102
  }
7103
- }), Da = ["innerHTML"], La = /* @__PURE__ */ W({
7103
+ }), Ra = ["innerHTML"], Ta = /* @__PURE__ */ W({
7104
7104
  __name: "Text",
7105
7105
  props: {
7106
7106
  tag: {},
@@ -7119,7 +7119,7 @@ const ya = {
7119
7119
  const r = e, n = O(() => {
7120
7120
  let c = "";
7121
7121
  return r.capitalize && (c += " capitalize"), r.uppercase && (c += " uppercase"), r.underline && (c += " underline"), r.italic && (c += " italic"), c;
7122
- }), o = O(() => r.tag ? r.tag : "div"), a = O(() => Q(Yn[r.size], qn[r.weight], Jn[r.color], n.value, Qn[r.fontFamily], r.classList));
7122
+ }), o = O(() => r.tag ? r.tag : "div"), a = O(() => Q(qn[r.size], Jn[r.weight], Qn[r.color], n.value, eo[r.fontFamily], r.classList));
7123
7123
  return (c, l) => (x(), V(We(o.value), {
7124
7124
  class: K(a.value)
7125
7125
  }, {
@@ -7128,13 +7128,13 @@ const ya = {
7128
7128
  key: 1,
7129
7129
  class: "html-content",
7130
7130
  innerHTML: e.htmlContent
7131
- }, null, 8, Da)) : J(c.$slots, "default", { key: 0 })
7131
+ }, null, 8, Ra)) : J(c.$slots, "default", { key: 0 })
7132
7132
  ]),
7133
7133
  _: 3
7134
7134
  }, 8, ["class"]));
7135
7135
  }
7136
7136
  });
7137
- function Ta() {
7137
+ function Ba() {
7138
7138
  const e = L(0), r = L(0), n = () => {
7139
7139
  e.value = window.scrollY || window.pageYOffset, r.value = window.scrollX || window.pageXOffset;
7140
7140
  };
@@ -7146,14 +7146,14 @@ function Ta() {
7146
7146
  };
7147
7147
  }
7148
7148
  export {
7149
- Ma as Button,
7150
- Pa as Dialog,
7151
- Ea as Error,
7152
- fa as Icon,
7149
+ Ea as Button,
7150
+ La as Dialog,
7151
+ Ia as Error,
7152
+ _a as Icon,
7153
7153
  $e as Iconsax,
7154
- Ia as Input,
7155
- Fa as Select,
7156
- La as Text,
7157
- ao as useOutsideClick,
7158
- Ta as useWindowScroll
7154
+ Fa as Input,
7155
+ Pa as Select,
7156
+ Ta as Text,
7157
+ co as useOutsideClick,
7158
+ Ba as useWindowScroll
7159
7159
  };