next-ui-lib 0.1.23 → 0.1.24

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/ui.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { jsx as x, jsxs as R } from "react/jsx-runtime";
1
+ import { jsx as p, jsxs as R } from "react/jsx-runtime";
2
2
  import * as ne from "react";
3
3
  import Cn, { useRef as si, useEffect as Fn, useState as qi } from "react";
4
4
  const Sn = {
@@ -39,7 +39,7 @@ const Sn = {
39
39
  large: "px-8 py-3 text-2xl rounded-2xl",
40
40
  full: "px-8 py-2 text-xl rounded-2xl w-full"
41
41
  }, d = Sn[e];
42
- return /* @__PURE__ */ x(
42
+ return /* @__PURE__ */ p(
43
43
  "button",
44
44
  {
45
45
  className: `relative flex items-center justify-center cursor-pointer transition duration-150 ease-in-out whitespace-nowrap active:translate-y-[4px] ${o[a]} ${f}`,
@@ -55,7 +55,7 @@ const Sn = {
55
55
  r.currentTarget.style.boxShadow = `0 4px 0 ${s == "primary" ? d.primary.dark : d.secondary.dark}`;
56
56
  },
57
57
  onClick: i,
58
- children: /* @__PURE__ */ x("span", { className: "font-bold", children: n })
58
+ children: /* @__PURE__ */ p("span", { className: "font-bold", children: n })
59
59
  }
60
60
  );
61
61
  };
@@ -70,7 +70,7 @@ function H(e, i, n) {
70
70
  writable: !0
71
71
  }) : e[i] = n, e;
72
72
  }
73
- var Me, w, Ri, te, Hi, ri, ye = {}, Wi = [], Bn = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
73
+ var Me, w, Ri, te, Hi, ri, ye = {}, Wi = [], $n = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
74
74
  function V(e, i) {
75
75
  for (var n in i) e[n] = i[n];
76
76
  return e;
@@ -143,21 +143,21 @@ function _e() {
143
143
  });
144
144
  }
145
145
  function Ai(e, i, n, a, s, f, o, d, r, l) {
146
- var t, v, c, m, h, _, C, S = a && a.__k || Wi, B = S.length;
146
+ var t, v, c, m, h, x, C, S = a && a.__k || Wi, $ = S.length;
147
147
  for (n.__k = [], t = 0; t < i.length; t++) if ((m = n.__k[t] = (m = i[t]) == null || typeof m == "boolean" ? null : typeof m == "string" || typeof m == "number" || typeof m == "bigint" ? be(null, m, null, null, m) : Array.isArray(m) ? be(ee, {
148
148
  children: m
149
149
  }, null, null, null) : m.__b > 0 ? be(m.type, m.props, m.key, null, m.__v) : m) != null) {
150
150
  if (m.__ = n, m.__b = n.__b + 1, (c = S[t]) === null || c && m.key == c.key && m.type === c.type) S[t] = void 0;
151
- else for (v = 0; v < B; v++) {
151
+ else for (v = 0; v < $; v++) {
152
152
  if ((c = S[v]) && m.key == c.key && m.type === c.type) {
153
153
  S[v] = void 0;
154
154
  break;
155
155
  }
156
156
  c = null;
157
157
  }
158
- Ue(e, m, c = c || ye, s, f, o, d, r, l), h = m.__e, (v = m.ref) && c.ref != v && (C || (C = []), c.ref && C.push(c.ref, null, m), C.push(v, m.__c || h, m)), h != null ? (_ == null && (_ = h), typeof m.type == "function" && m.__k === c.__k ? m.__d = r = Di(m, r, e) : r = Ii(e, m, c, S, h, r), typeof n.type == "function" && (n.__d = r)) : r && c.__e == r && r.parentNode != e && (r = ie(c));
158
+ Ue(e, m, c = c || ye, s, f, o, d, r, l), h = m.__e, (v = m.ref) && c.ref != v && (C || (C = []), c.ref && C.push(c.ref, null, m), C.push(v, m.__c || h, m)), h != null ? (x == null && (x = h), typeof m.type == "function" && m.__k === c.__k ? m.__d = r = Di(m, r, e) : r = Ii(e, m, c, S, h, r), typeof n.type == "function" && (n.__d = r)) : r && c.__e == r && r.parentNode != e && (r = ie(c));
159
159
  }
160
- for (n.__e = _, t = B; t--; ) S[t] != null && (typeof n.type == "function" && S[t].__e != null && S[t].__e == n.__d && (n.__d = ie(a, t + 1)), Oi(S[t], S[t]));
160
+ for (n.__e = x, t = $; t--; ) S[t] != null && (typeof n.type == "function" && S[t].__e != null && S[t].__e == n.__d && (n.__d = ie(a, t + 1)), Oi(S[t], S[t]));
161
161
  if (C) for (t = 0; t < C.length; t++) Gi(C[t], C[++t], C[++t]);
162
162
  }
163
163
  function Di(e, i, n) {
@@ -179,13 +179,13 @@ function Ii(e, i, n, a, s, f) {
179
179
  }
180
180
  return o !== void 0 ? o : s.nextSibling;
181
181
  }
182
- function $n(e, i, n, a, s) {
182
+ function Bn(e, i, n, a, s) {
183
183
  var f;
184
184
  for (f in n) f === "children" || f === "key" || f in i || Ce(e, f, null, n[f], a);
185
185
  for (f in i) s && typeof i[f] != "function" || f === "children" || f === "key" || f === "value" || f === "checked" || n[f] === i[f] || Ce(e, f, i[f], n[f], a);
186
186
  }
187
187
  function di(e, i, n) {
188
- i[0] === "-" ? e.setProperty(i, n) : e[i] = n == null ? "" : typeof n != "number" || Bn.test(i) ? n : n + "px";
188
+ i[0] === "-" ? e.setProperty(i, n) : e[i] = n == null ? "" : typeof n != "number" || $n.test(i) ? n : n + "px";
189
189
  }
190
190
  function Ce(e, i, n, a, s) {
191
191
  var f;
@@ -213,28 +213,28 @@ function ui(e) {
213
213
  this.l[e.type + !0](w.event ? w.event(e) : e);
214
214
  }
215
215
  function Ue(e, i, n, a, s, f, o, d, r) {
216
- var l, t, v, c, m, h, _, C, S, B, L, z = i.type;
216
+ var l, t, v, c, m, h, x, C, S, $, L, z = i.type;
217
217
  if (i.constructor !== void 0) return null;
218
218
  n.__h != null && (r = n.__h, d = i.__e = n.__e, i.__h = null, f = [
219
219
  d
220
220
  ]), (l = w.__b) && l(i);
221
221
  try {
222
222
  e: if (typeof z == "function") {
223
- if (C = i.props, S = (l = z.contextType) && a[l.__c], B = l ? S ? S.props.value : l.__ : a, n.__c ? _ = (t = i.__c = n.__c).__ = t.__E : ("prototype" in z && z.prototype.render ? i.__c = t = new z(C, B) : (i.__c = t = new E(C, B), t.constructor = z, t.render = jn), S && S.sub(t), t.props = C, t.state || (t.state = {}), t.context = B, t.__n = a, v = t.__d = !0, t.__h = []), t.__s == null && (t.__s = t.state), z.getDerivedStateFromProps != null && (t.__s == t.state && (t.__s = V({}, t.__s)), V(t.__s, z.getDerivedStateFromProps(C, t.__s))), c = t.props, m = t.state, v) z.getDerivedStateFromProps == null && t.componentWillMount != null && t.componentWillMount(), t.componentDidMount != null && t.__h.push(t.componentDidMount);
223
+ if (C = i.props, S = (l = z.contextType) && a[l.__c], $ = l ? S ? S.props.value : l.__ : a, n.__c ? x = (t = i.__c = n.__c).__ = t.__E : ("prototype" in z && z.prototype.render ? i.__c = t = new z(C, $) : (i.__c = t = new E(C, $), t.constructor = z, t.render = jn), S && S.sub(t), t.props = C, t.state || (t.state = {}), t.context = $, t.__n = a, v = t.__d = !0, t.__h = []), t.__s == null && (t.__s = t.state), z.getDerivedStateFromProps != null && (t.__s == t.state && (t.__s = V({}, t.__s)), V(t.__s, z.getDerivedStateFromProps(C, t.__s))), c = t.props, m = t.state, v) z.getDerivedStateFromProps == null && t.componentWillMount != null && t.componentWillMount(), t.componentDidMount != null && t.__h.push(t.componentDidMount);
224
224
  else {
225
- if (z.getDerivedStateFromProps == null && C !== c && t.componentWillReceiveProps != null && t.componentWillReceiveProps(C, B), !t.__e && t.shouldComponentUpdate != null && t.shouldComponentUpdate(C, t.__s, B) === !1 || i.__v === n.__v) {
225
+ if (z.getDerivedStateFromProps == null && C !== c && t.componentWillReceiveProps != null && t.componentWillReceiveProps(C, $), !t.__e && t.shouldComponentUpdate != null && t.shouldComponentUpdate(C, t.__s, $) === !1 || i.__v === n.__v) {
226
226
  t.props = C, t.state = t.__s, i.__v !== n.__v && (t.__d = !1), t.__v = i, i.__e = n.__e, i.__k = n.__k, i.__k.forEach(function(W) {
227
227
  W && (W.__ = i);
228
228
  }), t.__h.length && o.push(t);
229
229
  break e;
230
230
  }
231
- t.componentWillUpdate != null && t.componentWillUpdate(C, t.__s, B), t.componentDidUpdate != null && t.__h.push(function() {
231
+ t.componentWillUpdate != null && t.componentWillUpdate(C, t.__s, $), t.componentDidUpdate != null && t.__h.push(function() {
232
232
  t.componentDidUpdate(c, m, h);
233
233
  });
234
234
  }
235
- t.context = B, t.props = C, t.state = t.__s, (l = w.__r) && l(i), t.__d = !1, t.__v = i, t.__P = e, l = t.render(t.props, t.state, t.context), t.state = t.__s, t.getChildContext != null && (a = V(V({}, a), t.getChildContext())), v || t.getSnapshotBeforeUpdate == null || (h = t.getSnapshotBeforeUpdate(c, m)), L = l != null && l.type === ee && l.key == null ? l.props.children : l, Ai(e, Array.isArray(L) ? L : [
235
+ t.context = $, t.props = C, t.state = t.__s, (l = w.__r) && l(i), t.__d = !1, t.__v = i, t.__P = e, l = t.render(t.props, t.state, t.context), t.state = t.__s, t.getChildContext != null && (a = V(V({}, a), t.getChildContext())), v || t.getSnapshotBeforeUpdate == null || (h = t.getSnapshotBeforeUpdate(c, m)), L = l != null && l.type === ee && l.key == null ? l.props.children : l, Ai(e, Array.isArray(L) ? L : [
236
236
  L
237
- ], i, n, a, s, f, o, d, r), t.base = i.__e, i.__h = null, t.__h.length && o.push(t), _ && (t.__E = t.__ = null), t.__e = !1;
237
+ ], i, n, a, s, f, o, d, r), t.base = i.__e, i.__h = null, t.__h.length && o.push(t), x && (t.__E = t.__ = null), t.__e = !1;
238
238
  } else f == null && i.__v === n.__v ? (i.__k = n.__k, i.__e = n.__e) : i.__e = zn(n.__e, i, n, a, s, f, o, r);
239
239
  (l = w.diffed) && l(i);
240
240
  } catch (W) {
@@ -270,7 +270,7 @@ function zn(e, i, n, a, s, f, o, d) {
270
270
  if (f != null) for (v = {}, h = 0; h < e.attributes.length; h++) v[e.attributes[h].name] = e.attributes[h].value;
271
271
  (t || l) && (t && (l && t.__html == l.__html || t.__html === e.innerHTML) || (e.innerHTML = t && t.__html || ""));
272
272
  }
273
- if ($n(e, c, v, s, d), t) i.__k = [];
273
+ if (Bn(e, c, v, s, d), t) i.__k = [];
274
274
  else if (h = i.props.children, Ai(e, Array.isArray(h) ? h : [
275
275
  h
276
276
  ], i, n, a, s && m !== "foreignObject", f, o, f ? f[0] : n.__k && ie(n, 0), d), f != null) for (h = f.length; h--; ) f[h] != null && Li(f[h]);
@@ -771,23 +771,23 @@ async function Dn(e) {
771
771
  c.emoticons,
772
772
  !1
773
773
  ]
774
- ].map(([_, C]) => {
775
- if (_)
776
- return (Array.isArray(_) ? _ : [
777
- _
774
+ ].map(([x, C]) => {
775
+ if (x)
776
+ return (Array.isArray(x) ? x : [
777
+ x
778
778
  ]).map((S) => (C ? S.split(/[-|_|\s]+/) : [
779
779
  S
780
- ]).map((B) => B.toLowerCase())).flat();
781
- }).flat().filter((_) => _ && _.trim()).join(","), c.emoticons) for (const _ of c.emoticons)
782
- F.emoticons[_] || (F.emoticons[_] = c.id);
780
+ ]).map(($) => $.toLowerCase())).flat();
781
+ }).flat().filter((x) => x && x.trim()).join(","), c.emoticons) for (const x of c.emoticons)
782
+ F.emoticons[x] || (F.emoticons[x] = c.id);
783
783
  let h = 0;
784
- for (const _ of c.skins) {
785
- if (!_) continue;
784
+ for (const x of c.skins) {
785
+ if (!x) continue;
786
786
  h++;
787
- const { native: C } = _;
787
+ const { native: C } = x;
788
788
  C && (F.natives[C] = c.id, c.search += `,${C}`);
789
789
  const S = h == 1 ? "" : `:skin-tone-${h}:`;
790
- _.shortcodes = `:${c.id}:${S}`;
790
+ x.shortcodes = `:${c.id}:${S}`;
791
791
  }
792
792
  }
793
793
  }
@@ -1285,8 +1285,8 @@ w.unmount = function(e) {
1285
1285
  if (a.state.__e) {
1286
1286
  var l = a.state.__e;
1287
1287
  a.__v.__k[0] = (function v(c, m, h) {
1288
- return c && (c.__v = null, c.__k = c.__k && c.__k.map(function(_) {
1289
- return v(_, m, h);
1288
+ return c && (c.__v = null, c.__k = c.__k && c.__k.map(function(x) {
1289
+ return v(x, m, h);
1290
1290
  }), c.__c && c.__c.__P === m && (c.__e && h.insertBefore(c.__e, c.__d), c.__c.__e = !0, c.__c.__P = h)), c;
1291
1291
  })(l, l.__c.__P, l.__c.__O);
1292
1292
  }
@@ -1408,9 +1408,9 @@ w.vnode = function(e) {
1408
1408
  }
1409
1409
  e.$$typeof = aa, Mi && Mi(e);
1410
1410
  };
1411
- var Bi = w.__r;
1411
+ var $i = w.__r;
1412
1412
  w.__r = function(e) {
1413
- Bi && Bi(e), e.__c;
1413
+ $i && $i(e), e.__c;
1414
1414
  };
1415
1415
  const la = {
1416
1416
  light: "outline",
@@ -2001,14 +2001,14 @@ class va extends E {
2001
2001
  style: {
2002
2002
  top: r * this.props.emojiButtonSize
2003
2003
  },
2004
- children: t && h.map((_, C) => {
2005
- if (!_) return /* @__PURE__ */ u("div", {
2004
+ children: t && h.map((x, C) => {
2005
+ if (!x) return /* @__PURE__ */ u("div", {
2006
2006
  style: {
2007
2007
  width: this.props.emojiButtonSize,
2008
2008
  height: this.props.emojiButtonSize
2009
2009
  }
2010
2010
  });
2011
- const S = X.get(_);
2011
+ const S = X.get(x);
2012
2012
  return this.renderEmojiButton(S, {
2013
2013
  pos: [
2014
2014
  d.index,
@@ -3028,9 +3028,9 @@ const ba = ({
3028
3028
  set: n = "google",
3029
3029
  onEmojiSelect: a
3030
3030
  }) => {
3031
- const [s, f] = qi(!1), o = /* @__PURE__ */ x("em-emoji", { id: e, set: n, size: i ? "1.6em" : "1.2em" });
3031
+ const [s, f] = qi(!1), o = /* @__PURE__ */ p("em-emoji", { id: e, set: n, size: i ? "1.6em" : "1.2em" });
3032
3032
  return /* @__PURE__ */ R("div", { className: "relative flex items-center", children: [
3033
- i ? /* @__PURE__ */ x(
3033
+ i ? /* @__PURE__ */ p(
3034
3034
  "button",
3035
3035
  {
3036
3036
  type: "button",
@@ -3039,8 +3039,8 @@ const ba = ({
3039
3039
  "aria-label": "Select icon",
3040
3040
  children: o
3041
3041
  }
3042
- ) : /* @__PURE__ */ x("div", { className: "p-2 w-12 h-12 rounded-md text-2xl flex items-center justify-center", children: o }),
3043
- i && s && /* @__PURE__ */ x("div", { className: "absolute z-50 top-full mt-2", children: /* @__PURE__ */ x(
3042
+ ) : /* @__PURE__ */ p("div", { className: "p-2 w-12 h-12 rounded-md text-2xl flex items-center justify-center", children: o }),
3043
+ i && s && /* @__PURE__ */ p("div", { className: "absolute z-50 top-full mt-2", children: /* @__PURE__ */ p(
3044
3044
  ma,
3045
3045
  {
3046
3046
  data: on,
@@ -3060,20 +3060,31 @@ const ba = ({
3060
3060
  onClick: i,
3061
3061
  customClass: n = "",
3062
3062
  iconSrc: a,
3063
- emojiId: s
3063
+ emojiId: s,
3064
+ loading: f = !1
3064
3065
  }) => {
3065
- const f = Ve[e];
3066
- return /* @__PURE__ */ x(
3066
+ const o = Ve[e];
3067
+ return f ? /* @__PURE__ */ p(
3068
+ "div",
3069
+ {
3070
+ className: `w-12 h-12 rounded-lg animate-pulse ${n}`,
3071
+ style: {
3072
+ backgroundColor: "#F1F1F1",
3073
+ boxShadow: "0 4px 0 #d1d1d1"
3074
+ // slightly darker shadow for depth
3075
+ }
3076
+ }
3077
+ ) : /* @__PURE__ */ p(
3067
3078
  "button",
3068
3079
  {
3069
3080
  className: `w-12 h-12 rounded-lg flex items-center justify-center cursor-pointer transition duration-150 ease-in-out whitespace-nowrap active:translate-y-[4px] ${n}`,
3070
3081
  onClick: i,
3071
3082
  style: {
3072
- backgroundColor: f.value,
3073
- boxShadow: `0 4px 0 ${f.dark}`
3083
+ backgroundColor: o.value,
3084
+ boxShadow: `0 4px 0 ${o.dark}`
3074
3085
  },
3075
3086
  children: /* @__PURE__ */ R("span", { className: "text-2xl", children: [
3076
- a && /* @__PURE__ */ x(
3087
+ a && /* @__PURE__ */ p(
3077
3088
  "img",
3078
3089
  {
3079
3090
  style: {
@@ -3084,7 +3095,7 @@ const ba = ({
3084
3095
  src: a
3085
3096
  }
3086
3097
  ),
3087
- s && /* @__PURE__ */ x(ba, { id: s, set: "google" })
3098
+ s && /* @__PURE__ */ p(ba, { id: s, set: "google" })
3088
3099
  ] })
3089
3100
  }
3090
3101
  );
@@ -3129,9 +3140,9 @@ const Ye = "-", ya = (e) => {
3129
3140
  return i.validators.find(({
3130
3141
  validator: o
3131
3142
  }) => o(f))?.classGroupId;
3132
- }, $i = /^\[(.+)\]$/, _a = (e) => {
3133
- if ($i.test(e)) {
3134
- const i = $i.exec(e)[1], n = i?.substring(0, i.indexOf(":"));
3143
+ }, Bi = /^\[(.+)\]$/, _a = (e) => {
3144
+ if (Bi.test(e)) {
3145
+ const i = Bi.exec(e)[1], n = i?.substring(0, i.indexOf(":"));
3135
3146
  if (n)
3136
3147
  return "arbitrary.." + n;
3137
3148
  }
@@ -3209,20 +3220,20 @@ const Ye = "-", ya = (e) => {
3209
3220
  const f = [];
3210
3221
  let o = 0, d = 0, r = 0, l;
3211
3222
  for (let h = 0; h < s.length; h++) {
3212
- let _ = s[h];
3223
+ let x = s[h];
3213
3224
  if (o === 0 && d === 0) {
3214
- if (_ === Oe) {
3225
+ if (x === Oe) {
3215
3226
  f.push(s.slice(r, h)), r = h + Sa;
3216
3227
  continue;
3217
3228
  }
3218
- if (_ === "/") {
3229
+ if (x === "/") {
3219
3230
  l = h;
3220
3231
  continue;
3221
3232
  }
3222
3233
  }
3223
- _ === "[" ? o++ : _ === "]" ? o-- : _ === "(" ? d++ : _ === ")" && d--;
3234
+ x === "[" ? o++ : x === "]" ? o-- : x === "(" ? d++ : x === ")" && d--;
3224
3235
  }
3225
- const t = f.length === 0 ? s : s.substring(r), v = Ba(t), c = v !== t, m = l && l > r ? l - r : void 0;
3236
+ const t = f.length === 0 ? s : s.substring(r), v = $a(t), c = v !== t, m = l && l > r ? l - r : void 0;
3226
3237
  return {
3227
3238
  modifiers: f,
3228
3239
  hasImportantModifier: c,
@@ -3248,7 +3259,7 @@ const Ye = "-", ya = (e) => {
3248
3259
  });
3249
3260
  }
3250
3261
  return a;
3251
- }, Ba = (e) => e.endsWith(Ge) ? e.substring(0, e.length - 1) : e.startsWith(Ge) ? e.substring(1) : e, $a = (e) => {
3262
+ }, $a = (e) => e.endsWith(Ge) ? e.substring(0, e.length - 1) : e.startsWith(Ge) ? e.substring(1) : e, Ba = (e) => {
3252
3263
  const i = Object.fromEntries(e.orderSensitiveModifiers.map((a) => [a, !0]));
3253
3264
  return (a) => {
3254
3265
  if (a.length <= 1)
@@ -3262,7 +3273,7 @@ const Ye = "-", ya = (e) => {
3262
3273
  }, za = (e) => ({
3263
3274
  cache: Fa(e.cacheSize),
3264
3275
  parseClassName: Ma(e),
3265
- sortModifiers: $a(e),
3276
+ sortModifiers: Ba(e),
3266
3277
  ...ya(e)
3267
3278
  }), ja = /\s+/, Pa = (e, i) => {
3268
3279
  const {
@@ -3278,13 +3289,13 @@ const Ye = "-", ya = (e) => {
3278
3289
  modifiers: c,
3279
3290
  hasImportantModifier: m,
3280
3291
  baseClassName: h,
3281
- maybePostfixModifierPosition: _
3292
+ maybePostfixModifierPosition: x
3282
3293
  } = n(t);
3283
3294
  if (v) {
3284
3295
  r = t + (r.length > 0 ? " " + r : r);
3285
3296
  continue;
3286
3297
  }
3287
- let C = !!_, S = a(C ? h.substring(0, _) : h);
3298
+ let C = !!x, S = a(C ? h.substring(0, x) : h);
3288
3299
  if (!S) {
3289
3300
  if (!C) {
3290
3301
  r = t + (r.length > 0 ? " " + r : r);
@@ -3296,7 +3307,7 @@ const Ye = "-", ya = (e) => {
3296
3307
  }
3297
3308
  C = !1;
3298
3309
  }
3299
- const B = f(c).join(":"), L = m ? B + Ge : B, z = L + S;
3310
+ const $ = f(c).join(":"), L = m ? $ + Ge : $, z = L + S;
3300
3311
  if (o.includes(z))
3301
3312
  continue;
3302
3313
  o.push(z);
@@ -3343,19 +3354,19 @@ function Ta(e, ...i) {
3343
3354
  const M = (e) => {
3344
3355
  const i = (n) => n[e] || [];
3345
3356
  return i.isThemeGetter = !0, i;
3346
- }, ln = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, un = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ra = /^\d+\/\d+$/, Ha = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Wa = /\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$/, La = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ea = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Aa = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Q = (e) => Ra.test(e), y = (e) => !!e && !Number.isNaN(Number(e)), O = (e) => !!e && Number.isInteger(Number(e)), Re = (e) => e.endsWith("%") && y(e.slice(0, -1)), N = (e) => Ha.test(e), Da = () => !0, Ia = (e) => (
3357
+ }, ln = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, un = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ra = /^\d+\/\d+$/, Ha = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Wa = /\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$/, La = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ea = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Aa = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Q = (e) => Ra.test(e), _ = (e) => !!e && !Number.isNaN(Number(e)), O = (e) => !!e && Number.isInteger(Number(e)), Re = (e) => e.endsWith("%") && _(e.slice(0, -1)), N = (e) => Ha.test(e), Da = () => !0, Ia = (e) => (
3347
3358
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
3348
3359
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
3349
3360
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
3350
3361
  Wa.test(e) && !La.test(e)
3351
- ), cn = () => !1, Na = (e) => Ea.test(e), Ga = (e) => Aa.test(e), Oa = (e) => !k(e) && !g(e), Va = (e) => ae(e, kn, cn), k = (e) => ln.test(e), Y = (e) => ae(e, gn, Ia), He = (e) => ae(e, Za, y), ji = (e) => ae(e, vn, cn), Ua = (e) => ae(e, mn, Ga), he = (e) => ae(e, hn, Na), g = (e) => un.test(e), re = (e) => fe(e, gn), Ka = (e) => fe(e, Qa), Pi = (e) => fe(e, vn), Ja = (e) => fe(e, kn), Ya = (e) => fe(e, mn), we = (e) => fe(e, hn, !0), ae = (e, i, n) => {
3362
+ ), cn = () => !1, Na = (e) => Ea.test(e), Ga = (e) => Aa.test(e), Oa = (e) => !k(e) && !g(e), Va = (e) => ae(e, kn, cn), k = (e) => ln.test(e), Y = (e) => ae(e, gn, Ia), He = (e) => ae(e, Za, _), ji = (e) => ae(e, vn, cn), Ua = (e) => ae(e, mn, Ga), he = (e) => ae(e, hn, Na), g = (e) => un.test(e), re = (e) => fe(e, gn), Ka = (e) => fe(e, Qa), Pi = (e) => fe(e, vn), Ja = (e) => fe(e, kn), Ya = (e) => fe(e, mn), we = (e) => fe(e, hn, !0), ae = (e, i, n) => {
3352
3363
  const a = ln.exec(e);
3353
3364
  return a ? a[1] ? i(a[1]) : n(a[2]) : !1;
3354
3365
  }, fe = (e, i, n = !1) => {
3355
3366
  const a = un.exec(e);
3356
3367
  return a ? a[1] ? i(a[1]) : n : !1;
3357
3368
  }, vn = (e) => e === "position" || e === "percentage", mn = (e) => e === "image" || e === "url", kn = (e) => e === "length" || e === "size" || e === "bg-size", gn = (e) => e === "length", Za = (e) => e === "number", Qa = (e) => e === "family-name", hn = (e) => e === "shadow", Xa = () => {
3358
- const e = M("color"), i = M("font"), n = M("text"), a = M("font-weight"), s = M("tracking"), f = M("leading"), o = M("breakpoint"), d = M("container"), r = M("spacing"), l = M("radius"), t = M("shadow"), v = M("inset-shadow"), c = M("text-shadow"), m = M("drop-shadow"), h = M("blur"), _ = M("perspective"), C = M("aspect"), S = M("ease"), B = M("animate"), L = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], z = () => [
3369
+ const e = M("color"), i = M("font"), n = M("text"), a = M("font-weight"), s = M("tracking"), f = M("leading"), o = M("breakpoint"), d = M("container"), r = M("spacing"), l = M("radius"), t = M("shadow"), v = M("inset-shadow"), c = M("text-shadow"), m = M("drop-shadow"), h = M("blur"), x = M("perspective"), C = M("aspect"), S = M("ease"), $ = M("animate"), L = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], z = () => [
3359
3370
  "center",
3360
3371
  "top",
3361
3372
  "bottom",
@@ -3373,15 +3384,15 @@ const M = (e) => {
3373
3384
  "bottom-left",
3374
3385
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
3375
3386
  "left-bottom"
3376
- ], W = () => [...z(), g, k], K = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto", "contain", "none"], p = () => [g, k, r], A = () => [Q, "full", "auto", ...p()], Ze = () => [O, "none", "subgrid", g, k], Qe = () => ["auto", {
3387
+ ], W = () => [...z(), g, k], K = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto", "contain", "none"], y = () => [g, k, r], A = () => [Q, "full", "auto", ...y()], Ze = () => [O, "none", "subgrid", g, k], Qe = () => ["auto", {
3377
3388
  span: ["full", O, g, k]
3378
- }, O, g, k], le = () => [O, "auto", g, k], Xe = () => ["auto", "min", "max", "fr", g, k], Be = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Z = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], D = () => ["auto", ...p()], J = () => [Q, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...p()], b = () => [e, g, k], ei = () => [...z(), Pi, ji, {
3389
+ }, O, g, k], le = () => [O, "auto", g, k], Xe = () => ["auto", "min", "max", "fr", g, k], $e = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Z = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], D = () => ["auto", ...y()], J = () => [Q, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...y()], b = () => [e, g, k], ei = () => [...z(), Pi, ji, {
3379
3390
  position: [g, k]
3380
3391
  }], ii = () => ["no-repeat", {
3381
3392
  repeat: ["", "x", "y", "space", "round"]
3382
3393
  }], ni = () => ["auto", "cover", "contain", Ja, Va, {
3383
3394
  size: [g, k]
3384
- }], $e = () => [Re, re, Y], q = () => [
3395
+ }], Be = () => [Re, re, Y], q = () => [
3385
3396
  // Deprecated since Tailwind CSS v4.0.0
3386
3397
  "",
3387
3398
  "none",
@@ -3389,14 +3400,14 @@ const M = (e) => {
3389
3400
  l,
3390
3401
  g,
3391
3402
  k
3392
- ], T = () => ["", y, re, Y], ue = () => ["solid", "dashed", "dotted", "double"], ai = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], $ = () => [y, Re, Pi, ji], fi = () => [
3403
+ ], T = () => ["", _, re, Y], ue = () => ["solid", "dashed", "dotted", "double"], ai = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], B = () => [_, Re, Pi, ji], fi = () => [
3393
3404
  // Deprecated since Tailwind CSS v4.0.0
3394
3405
  "",
3395
3406
  "none",
3396
3407
  h,
3397
3408
  g,
3398
3409
  k
3399
- ], ce = () => ["none", y, g, k], ve = () => ["none", y, g, k], ze = () => [y, g, k], me = () => [Q, "full", ...p()];
3410
+ ], ce = () => ["none", _, g, k], ve = () => ["none", _, g, k], ze = () => [_, g, k], me = () => [Q, "full", ...y()];
3400
3411
  return {
3401
3412
  cacheSize: 500,
3402
3413
  theme: {
@@ -3415,7 +3426,7 @@ const M = (e) => {
3415
3426
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
3416
3427
  radius: [N],
3417
3428
  shadow: [N],
3418
- spacing: ["px", y],
3429
+ spacing: ["px", _],
3419
3430
  text: [N],
3420
3431
  "text-shadow": [N],
3421
3432
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
@@ -3442,7 +3453,7 @@ const M = (e) => {
3442
3453
  * @see https://tailwindcss.com/docs/columns
3443
3454
  */
3444
3455
  columns: [{
3445
- columns: [y, k, g, d]
3456
+ columns: [_, k, g, d]
3446
3457
  }],
3447
3458
  /**
3448
3459
  * Break After
@@ -3652,7 +3663,7 @@ const M = (e) => {
3652
3663
  * @see https://tailwindcss.com/docs/flex-basis
3653
3664
  */
3654
3665
  basis: [{
3655
- basis: [Q, "full", "auto", d, ...p()]
3666
+ basis: [Q, "full", "auto", d, ...y()]
3656
3667
  }],
3657
3668
  /**
3658
3669
  * Flex Direction
@@ -3673,21 +3684,21 @@ const M = (e) => {
3673
3684
  * @see https://tailwindcss.com/docs/flex
3674
3685
  */
3675
3686
  flex: [{
3676
- flex: [y, Q, "auto", "initial", "none", k]
3687
+ flex: [_, Q, "auto", "initial", "none", k]
3677
3688
  }],
3678
3689
  /**
3679
3690
  * Flex Grow
3680
3691
  * @see https://tailwindcss.com/docs/flex-grow
3681
3692
  */
3682
3693
  grow: [{
3683
- grow: ["", y, g, k]
3694
+ grow: ["", _, g, k]
3684
3695
  }],
3685
3696
  /**
3686
3697
  * Flex Shrink
3687
3698
  * @see https://tailwindcss.com/docs/flex-shrink
3688
3699
  */
3689
3700
  shrink: [{
3690
- shrink: ["", y, g, k]
3701
+ shrink: ["", _, g, k]
3691
3702
  }],
3692
3703
  /**
3693
3704
  * Order
@@ -3778,28 +3789,28 @@ const M = (e) => {
3778
3789
  * @see https://tailwindcss.com/docs/gap
3779
3790
  */
3780
3791
  gap: [{
3781
- gap: p()
3792
+ gap: y()
3782
3793
  }],
3783
3794
  /**
3784
3795
  * Gap X
3785
3796
  * @see https://tailwindcss.com/docs/gap
3786
3797
  */
3787
3798
  "gap-x": [{
3788
- "gap-x": p()
3799
+ "gap-x": y()
3789
3800
  }],
3790
3801
  /**
3791
3802
  * Gap Y
3792
3803
  * @see https://tailwindcss.com/docs/gap
3793
3804
  */
3794
3805
  "gap-y": [{
3795
- "gap-y": p()
3806
+ "gap-y": y()
3796
3807
  }],
3797
3808
  /**
3798
3809
  * Justify Content
3799
3810
  * @see https://tailwindcss.com/docs/justify-content
3800
3811
  */
3801
3812
  "justify-content": [{
3802
- justify: [...Be(), "normal"]
3813
+ justify: [...$e(), "normal"]
3803
3814
  }],
3804
3815
  /**
3805
3816
  * Justify Items
@@ -3820,7 +3831,7 @@ const M = (e) => {
3820
3831
  * @see https://tailwindcss.com/docs/align-content
3821
3832
  */
3822
3833
  "align-content": [{
3823
- content: ["normal", ...Be()]
3834
+ content: ["normal", ...$e()]
3824
3835
  }],
3825
3836
  /**
3826
3837
  * Align Items
@@ -3845,7 +3856,7 @@ const M = (e) => {
3845
3856
  * @see https://tailwindcss.com/docs/place-content
3846
3857
  */
3847
3858
  "place-content": [{
3848
- "place-content": Be()
3859
+ "place-content": $e()
3849
3860
  }],
3850
3861
  /**
3851
3862
  * Place Items
@@ -3867,63 +3878,63 @@ const M = (e) => {
3867
3878
  * @see https://tailwindcss.com/docs/padding
3868
3879
  */
3869
3880
  p: [{
3870
- p: p()
3881
+ p: y()
3871
3882
  }],
3872
3883
  /**
3873
3884
  * Padding X
3874
3885
  * @see https://tailwindcss.com/docs/padding
3875
3886
  */
3876
3887
  px: [{
3877
- px: p()
3888
+ px: y()
3878
3889
  }],
3879
3890
  /**
3880
3891
  * Padding Y
3881
3892
  * @see https://tailwindcss.com/docs/padding
3882
3893
  */
3883
3894
  py: [{
3884
- py: p()
3895
+ py: y()
3885
3896
  }],
3886
3897
  /**
3887
3898
  * Padding Start
3888
3899
  * @see https://tailwindcss.com/docs/padding
3889
3900
  */
3890
3901
  ps: [{
3891
- ps: p()
3902
+ ps: y()
3892
3903
  }],
3893
3904
  /**
3894
3905
  * Padding End
3895
3906
  * @see https://tailwindcss.com/docs/padding
3896
3907
  */
3897
3908
  pe: [{
3898
- pe: p()
3909
+ pe: y()
3899
3910
  }],
3900
3911
  /**
3901
3912
  * Padding Top
3902
3913
  * @see https://tailwindcss.com/docs/padding
3903
3914
  */
3904
3915
  pt: [{
3905
- pt: p()
3916
+ pt: y()
3906
3917
  }],
3907
3918
  /**
3908
3919
  * Padding Right
3909
3920
  * @see https://tailwindcss.com/docs/padding
3910
3921
  */
3911
3922
  pr: [{
3912
- pr: p()
3923
+ pr: y()
3913
3924
  }],
3914
3925
  /**
3915
3926
  * Padding Bottom
3916
3927
  * @see https://tailwindcss.com/docs/padding
3917
3928
  */
3918
3929
  pb: [{
3919
- pb: p()
3930
+ pb: y()
3920
3931
  }],
3921
3932
  /**
3922
3933
  * Padding Left
3923
3934
  * @see https://tailwindcss.com/docs/padding
3924
3935
  */
3925
3936
  pl: [{
3926
- pl: p()
3937
+ pl: y()
3927
3938
  }],
3928
3939
  /**
3929
3940
  * Margin
@@ -3993,7 +4004,7 @@ const M = (e) => {
3993
4004
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
3994
4005
  */
3995
4006
  "space-x": [{
3996
- "space-x": p()
4007
+ "space-x": y()
3997
4008
  }],
3998
4009
  /**
3999
4010
  * Space Between X Reverse
@@ -4005,7 +4016,7 @@ const M = (e) => {
4005
4016
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
4006
4017
  */
4007
4018
  "space-y": [{
4008
- "space-y": p()
4019
+ "space-y": y()
4009
4020
  }],
4010
4021
  /**
4011
4022
  * Space Between Y Reverse
@@ -4164,7 +4175,7 @@ const M = (e) => {
4164
4175
  * @see https://tailwindcss.com/docs/line-clamp
4165
4176
  */
4166
4177
  "line-clamp": [{
4167
- "line-clamp": [y, "none", g, He]
4178
+ "line-clamp": [_, "none", g, He]
4168
4179
  }],
4169
4180
  /**
4170
4181
  * Line Height
@@ -4174,7 +4185,7 @@ const M = (e) => {
4174
4185
  leading: [
4175
4186
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
4176
4187
  f,
4177
- ...p()
4188
+ ...y()
4178
4189
  ]
4179
4190
  }],
4180
4191
  /**
@@ -4237,7 +4248,7 @@ const M = (e) => {
4237
4248
  * @see https://tailwindcss.com/docs/text-decoration-thickness
4238
4249
  */
4239
4250
  "text-decoration-thickness": [{
4240
- decoration: [y, "from-font", "auto", g, Y]
4251
+ decoration: [_, "from-font", "auto", g, Y]
4241
4252
  }],
4242
4253
  /**
4243
4254
  * Text Decoration Color
@@ -4251,7 +4262,7 @@ const M = (e) => {
4251
4262
  * @see https://tailwindcss.com/docs/text-underline-offset
4252
4263
  */
4253
4264
  "underline-offset": [{
4254
- "underline-offset": [y, "auto", g, k]
4265
+ "underline-offset": [_, "auto", g, k]
4255
4266
  }],
4256
4267
  /**
4257
4268
  * Text Transform
@@ -4275,7 +4286,7 @@ const M = (e) => {
4275
4286
  * @see https://tailwindcss.com/docs/text-indent
4276
4287
  */
4277
4288
  indent: [{
4278
- indent: p()
4289
+ indent: y()
4279
4290
  }],
4280
4291
  /**
4281
4292
  * Vertical Alignment
@@ -4389,21 +4400,21 @@ const M = (e) => {
4389
4400
  * @see https://tailwindcss.com/docs/gradient-color-stops
4390
4401
  */
4391
4402
  "gradient-from-pos": [{
4392
- from: $e()
4403
+ from: Be()
4393
4404
  }],
4394
4405
  /**
4395
4406
  * Gradient Color Stops Via Position
4396
4407
  * @see https://tailwindcss.com/docs/gradient-color-stops
4397
4408
  */
4398
4409
  "gradient-via-pos": [{
4399
- via: $e()
4410
+ via: Be()
4400
4411
  }],
4401
4412
  /**
4402
4413
  * Gradient Color Stops To Position
4403
4414
  * @see https://tailwindcss.com/docs/gradient-color-stops
4404
4415
  */
4405
4416
  "gradient-to-pos": [{
4406
- to: $e()
4417
+ to: Be()
4407
4418
  }],
4408
4419
  /**
4409
4420
  * Gradient Color Stops From
@@ -4717,14 +4728,14 @@ const M = (e) => {
4717
4728
  * @see https://tailwindcss.com/docs/outline-offset
4718
4729
  */
4719
4730
  "outline-offset": [{
4720
- "outline-offset": [y, g, k]
4731
+ "outline-offset": [_, g, k]
4721
4732
  }],
4722
4733
  /**
4723
4734
  * Outline Width
4724
4735
  * @see https://tailwindcss.com/docs/outline-width
4725
4736
  */
4726
4737
  "outline-w": [{
4727
- outline: ["", y, re, Y]
4738
+ outline: ["", _, re, Y]
4728
4739
  }],
4729
4740
  /**
4730
4741
  * Outline Color
@@ -4799,7 +4810,7 @@ const M = (e) => {
4799
4810
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
4800
4811
  */
4801
4812
  "ring-offset-w": [{
4802
- "ring-offset": [y, Y]
4813
+ "ring-offset": [_, Y]
4803
4814
  }],
4804
4815
  /**
4805
4816
  * Ring Offset Color
@@ -4843,7 +4854,7 @@ const M = (e) => {
4843
4854
  * @see https://tailwindcss.com/docs/opacity
4844
4855
  */
4845
4856
  opacity: [{
4846
- opacity: [y, g, k]
4857
+ opacity: [_, g, k]
4847
4858
  }],
4848
4859
  /**
4849
4860
  * Mix Blend Mode
@@ -4878,13 +4889,13 @@ const M = (e) => {
4878
4889
  * @see https://tailwindcss.com/docs/mask-image
4879
4890
  */
4880
4891
  "mask-image-linear-pos": [{
4881
- "mask-linear": [y]
4892
+ "mask-linear": [_]
4882
4893
  }],
4883
4894
  "mask-image-linear-from-pos": [{
4884
- "mask-linear-from": $()
4895
+ "mask-linear-from": B()
4885
4896
  }],
4886
4897
  "mask-image-linear-to-pos": [{
4887
- "mask-linear-to": $()
4898
+ "mask-linear-to": B()
4888
4899
  }],
4889
4900
  "mask-image-linear-from-color": [{
4890
4901
  "mask-linear-from": b()
@@ -4893,10 +4904,10 @@ const M = (e) => {
4893
4904
  "mask-linear-to": b()
4894
4905
  }],
4895
4906
  "mask-image-t-from-pos": [{
4896
- "mask-t-from": $()
4907
+ "mask-t-from": B()
4897
4908
  }],
4898
4909
  "mask-image-t-to-pos": [{
4899
- "mask-t-to": $()
4910
+ "mask-t-to": B()
4900
4911
  }],
4901
4912
  "mask-image-t-from-color": [{
4902
4913
  "mask-t-from": b()
@@ -4905,10 +4916,10 @@ const M = (e) => {
4905
4916
  "mask-t-to": b()
4906
4917
  }],
4907
4918
  "mask-image-r-from-pos": [{
4908
- "mask-r-from": $()
4919
+ "mask-r-from": B()
4909
4920
  }],
4910
4921
  "mask-image-r-to-pos": [{
4911
- "mask-r-to": $()
4922
+ "mask-r-to": B()
4912
4923
  }],
4913
4924
  "mask-image-r-from-color": [{
4914
4925
  "mask-r-from": b()
@@ -4917,10 +4928,10 @@ const M = (e) => {
4917
4928
  "mask-r-to": b()
4918
4929
  }],
4919
4930
  "mask-image-b-from-pos": [{
4920
- "mask-b-from": $()
4931
+ "mask-b-from": B()
4921
4932
  }],
4922
4933
  "mask-image-b-to-pos": [{
4923
- "mask-b-to": $()
4934
+ "mask-b-to": B()
4924
4935
  }],
4925
4936
  "mask-image-b-from-color": [{
4926
4937
  "mask-b-from": b()
@@ -4929,10 +4940,10 @@ const M = (e) => {
4929
4940
  "mask-b-to": b()
4930
4941
  }],
4931
4942
  "mask-image-l-from-pos": [{
4932
- "mask-l-from": $()
4943
+ "mask-l-from": B()
4933
4944
  }],
4934
4945
  "mask-image-l-to-pos": [{
4935
- "mask-l-to": $()
4946
+ "mask-l-to": B()
4936
4947
  }],
4937
4948
  "mask-image-l-from-color": [{
4938
4949
  "mask-l-from": b()
@@ -4941,10 +4952,10 @@ const M = (e) => {
4941
4952
  "mask-l-to": b()
4942
4953
  }],
4943
4954
  "mask-image-x-from-pos": [{
4944
- "mask-x-from": $()
4955
+ "mask-x-from": B()
4945
4956
  }],
4946
4957
  "mask-image-x-to-pos": [{
4947
- "mask-x-to": $()
4958
+ "mask-x-to": B()
4948
4959
  }],
4949
4960
  "mask-image-x-from-color": [{
4950
4961
  "mask-x-from": b()
@@ -4953,10 +4964,10 @@ const M = (e) => {
4953
4964
  "mask-x-to": b()
4954
4965
  }],
4955
4966
  "mask-image-y-from-pos": [{
4956
- "mask-y-from": $()
4967
+ "mask-y-from": B()
4957
4968
  }],
4958
4969
  "mask-image-y-to-pos": [{
4959
- "mask-y-to": $()
4970
+ "mask-y-to": B()
4960
4971
  }],
4961
4972
  "mask-image-y-from-color": [{
4962
4973
  "mask-y-from": b()
@@ -4968,10 +4979,10 @@ const M = (e) => {
4968
4979
  "mask-radial": [g, k]
4969
4980
  }],
4970
4981
  "mask-image-radial-from-pos": [{
4971
- "mask-radial-from": $()
4982
+ "mask-radial-from": B()
4972
4983
  }],
4973
4984
  "mask-image-radial-to-pos": [{
4974
- "mask-radial-to": $()
4985
+ "mask-radial-to": B()
4975
4986
  }],
4976
4987
  "mask-image-radial-from-color": [{
4977
4988
  "mask-radial-from": b()
@@ -4992,13 +5003,13 @@ const M = (e) => {
4992
5003
  "mask-radial-at": z()
4993
5004
  }],
4994
5005
  "mask-image-conic-pos": [{
4995
- "mask-conic": [y]
5006
+ "mask-conic": [_]
4996
5007
  }],
4997
5008
  "mask-image-conic-from-pos": [{
4998
- "mask-conic-from": $()
5009
+ "mask-conic-from": B()
4999
5010
  }],
5000
5011
  "mask-image-conic-to-pos": [{
5001
- "mask-conic-to": $()
5012
+ "mask-conic-to": B()
5002
5013
  }],
5003
5014
  "mask-image-conic-from-color": [{
5004
5015
  "mask-conic-from": b()
@@ -5083,14 +5094,14 @@ const M = (e) => {
5083
5094
  * @see https://tailwindcss.com/docs/brightness
5084
5095
  */
5085
5096
  brightness: [{
5086
- brightness: [y, g, k]
5097
+ brightness: [_, g, k]
5087
5098
  }],
5088
5099
  /**
5089
5100
  * Contrast
5090
5101
  * @see https://tailwindcss.com/docs/contrast
5091
5102
  */
5092
5103
  contrast: [{
5093
- contrast: [y, g, k]
5104
+ contrast: [_, g, k]
5094
5105
  }],
5095
5106
  /**
5096
5107
  * Drop Shadow
@@ -5118,35 +5129,35 @@ const M = (e) => {
5118
5129
  * @see https://tailwindcss.com/docs/grayscale
5119
5130
  */
5120
5131
  grayscale: [{
5121
- grayscale: ["", y, g, k]
5132
+ grayscale: ["", _, g, k]
5122
5133
  }],
5123
5134
  /**
5124
5135
  * Hue Rotate
5125
5136
  * @see https://tailwindcss.com/docs/hue-rotate
5126
5137
  */
5127
5138
  "hue-rotate": [{
5128
- "hue-rotate": [y, g, k]
5139
+ "hue-rotate": [_, g, k]
5129
5140
  }],
5130
5141
  /**
5131
5142
  * Invert
5132
5143
  * @see https://tailwindcss.com/docs/invert
5133
5144
  */
5134
5145
  invert: [{
5135
- invert: ["", y, g, k]
5146
+ invert: ["", _, g, k]
5136
5147
  }],
5137
5148
  /**
5138
5149
  * Saturate
5139
5150
  * @see https://tailwindcss.com/docs/saturate
5140
5151
  */
5141
5152
  saturate: [{
5142
- saturate: [y, g, k]
5153
+ saturate: [_, g, k]
5143
5154
  }],
5144
5155
  /**
5145
5156
  * Sepia
5146
5157
  * @see https://tailwindcss.com/docs/sepia
5147
5158
  */
5148
5159
  sepia: [{
5149
- sepia: ["", y, g, k]
5160
+ sepia: ["", _, g, k]
5150
5161
  }],
5151
5162
  /**
5152
5163
  * Backdrop Filter
@@ -5173,56 +5184,56 @@ const M = (e) => {
5173
5184
  * @see https://tailwindcss.com/docs/backdrop-brightness
5174
5185
  */
5175
5186
  "backdrop-brightness": [{
5176
- "backdrop-brightness": [y, g, k]
5187
+ "backdrop-brightness": [_, g, k]
5177
5188
  }],
5178
5189
  /**
5179
5190
  * Backdrop Contrast
5180
5191
  * @see https://tailwindcss.com/docs/backdrop-contrast
5181
5192
  */
5182
5193
  "backdrop-contrast": [{
5183
- "backdrop-contrast": [y, g, k]
5194
+ "backdrop-contrast": [_, g, k]
5184
5195
  }],
5185
5196
  /**
5186
5197
  * Backdrop Grayscale
5187
5198
  * @see https://tailwindcss.com/docs/backdrop-grayscale
5188
5199
  */
5189
5200
  "backdrop-grayscale": [{
5190
- "backdrop-grayscale": ["", y, g, k]
5201
+ "backdrop-grayscale": ["", _, g, k]
5191
5202
  }],
5192
5203
  /**
5193
5204
  * Backdrop Hue Rotate
5194
5205
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
5195
5206
  */
5196
5207
  "backdrop-hue-rotate": [{
5197
- "backdrop-hue-rotate": [y, g, k]
5208
+ "backdrop-hue-rotate": [_, g, k]
5198
5209
  }],
5199
5210
  /**
5200
5211
  * Backdrop Invert
5201
5212
  * @see https://tailwindcss.com/docs/backdrop-invert
5202
5213
  */
5203
5214
  "backdrop-invert": [{
5204
- "backdrop-invert": ["", y, g, k]
5215
+ "backdrop-invert": ["", _, g, k]
5205
5216
  }],
5206
5217
  /**
5207
5218
  * Backdrop Opacity
5208
5219
  * @see https://tailwindcss.com/docs/backdrop-opacity
5209
5220
  */
5210
5221
  "backdrop-opacity": [{
5211
- "backdrop-opacity": [y, g, k]
5222
+ "backdrop-opacity": [_, g, k]
5212
5223
  }],
5213
5224
  /**
5214
5225
  * Backdrop Saturate
5215
5226
  * @see https://tailwindcss.com/docs/backdrop-saturate
5216
5227
  */
5217
5228
  "backdrop-saturate": [{
5218
- "backdrop-saturate": [y, g, k]
5229
+ "backdrop-saturate": [_, g, k]
5219
5230
  }],
5220
5231
  /**
5221
5232
  * Backdrop Sepia
5222
5233
  * @see https://tailwindcss.com/docs/backdrop-sepia
5223
5234
  */
5224
5235
  "backdrop-sepia": [{
5225
- "backdrop-sepia": ["", y, g, k]
5236
+ "backdrop-sepia": ["", _, g, k]
5226
5237
  }],
5227
5238
  // --------------
5228
5239
  // --- Tables ---
@@ -5239,21 +5250,21 @@ const M = (e) => {
5239
5250
  * @see https://tailwindcss.com/docs/border-spacing
5240
5251
  */
5241
5252
  "border-spacing": [{
5242
- "border-spacing": p()
5253
+ "border-spacing": y()
5243
5254
  }],
5244
5255
  /**
5245
5256
  * Border Spacing X
5246
5257
  * @see https://tailwindcss.com/docs/border-spacing
5247
5258
  */
5248
5259
  "border-spacing-x": [{
5249
- "border-spacing-x": p()
5260
+ "border-spacing-x": y()
5250
5261
  }],
5251
5262
  /**
5252
5263
  * Border Spacing Y
5253
5264
  * @see https://tailwindcss.com/docs/border-spacing
5254
5265
  */
5255
5266
  "border-spacing-y": [{
5256
- "border-spacing-y": p()
5267
+ "border-spacing-y": y()
5257
5268
  }],
5258
5269
  /**
5259
5270
  * Table Layout
@@ -5291,7 +5302,7 @@ const M = (e) => {
5291
5302
  * @see https://tailwindcss.com/docs/transition-duration
5292
5303
  */
5293
5304
  duration: [{
5294
- duration: [y, "initial", g, k]
5305
+ duration: [_, "initial", g, k]
5295
5306
  }],
5296
5307
  /**
5297
5308
  * Transition Timing Function
@@ -5305,14 +5316,14 @@ const M = (e) => {
5305
5316
  * @see https://tailwindcss.com/docs/transition-delay
5306
5317
  */
5307
5318
  delay: [{
5308
- delay: [y, g, k]
5319
+ delay: [_, g, k]
5309
5320
  }],
5310
5321
  /**
5311
5322
  * Animation
5312
5323
  * @see https://tailwindcss.com/docs/animation
5313
5324
  */
5314
5325
  animate: [{
5315
- animate: ["none", B, g, k]
5326
+ animate: ["none", $, g, k]
5316
5327
  }],
5317
5328
  // ------------------
5318
5329
  // --- Transforms ---
@@ -5329,7 +5340,7 @@ const M = (e) => {
5329
5340
  * @see https://tailwindcss.com/docs/perspective
5330
5341
  */
5331
5342
  perspective: [{
5332
- perspective: [_, g, k]
5343
+ perspective: [x, g, k]
5333
5344
  }],
5334
5345
  /**
5335
5346
  * Perspective Origin
@@ -5545,126 +5556,126 @@ const M = (e) => {
5545
5556
  * @see https://tailwindcss.com/docs/scroll-margin
5546
5557
  */
5547
5558
  "scroll-m": [{
5548
- "scroll-m": p()
5559
+ "scroll-m": y()
5549
5560
  }],
5550
5561
  /**
5551
5562
  * Scroll Margin X
5552
5563
  * @see https://tailwindcss.com/docs/scroll-margin
5553
5564
  */
5554
5565
  "scroll-mx": [{
5555
- "scroll-mx": p()
5566
+ "scroll-mx": y()
5556
5567
  }],
5557
5568
  /**
5558
5569
  * Scroll Margin Y
5559
5570
  * @see https://tailwindcss.com/docs/scroll-margin
5560
5571
  */
5561
5572
  "scroll-my": [{
5562
- "scroll-my": p()
5573
+ "scroll-my": y()
5563
5574
  }],
5564
5575
  /**
5565
5576
  * Scroll Margin Start
5566
5577
  * @see https://tailwindcss.com/docs/scroll-margin
5567
5578
  */
5568
5579
  "scroll-ms": [{
5569
- "scroll-ms": p()
5580
+ "scroll-ms": y()
5570
5581
  }],
5571
5582
  /**
5572
5583
  * Scroll Margin End
5573
5584
  * @see https://tailwindcss.com/docs/scroll-margin
5574
5585
  */
5575
5586
  "scroll-me": [{
5576
- "scroll-me": p()
5587
+ "scroll-me": y()
5577
5588
  }],
5578
5589
  /**
5579
5590
  * Scroll Margin Top
5580
5591
  * @see https://tailwindcss.com/docs/scroll-margin
5581
5592
  */
5582
5593
  "scroll-mt": [{
5583
- "scroll-mt": p()
5594
+ "scroll-mt": y()
5584
5595
  }],
5585
5596
  /**
5586
5597
  * Scroll Margin Right
5587
5598
  * @see https://tailwindcss.com/docs/scroll-margin
5588
5599
  */
5589
5600
  "scroll-mr": [{
5590
- "scroll-mr": p()
5601
+ "scroll-mr": y()
5591
5602
  }],
5592
5603
  /**
5593
5604
  * Scroll Margin Bottom
5594
5605
  * @see https://tailwindcss.com/docs/scroll-margin
5595
5606
  */
5596
5607
  "scroll-mb": [{
5597
- "scroll-mb": p()
5608
+ "scroll-mb": y()
5598
5609
  }],
5599
5610
  /**
5600
5611
  * Scroll Margin Left
5601
5612
  * @see https://tailwindcss.com/docs/scroll-margin
5602
5613
  */
5603
5614
  "scroll-ml": [{
5604
- "scroll-ml": p()
5615
+ "scroll-ml": y()
5605
5616
  }],
5606
5617
  /**
5607
5618
  * Scroll Padding
5608
5619
  * @see https://tailwindcss.com/docs/scroll-padding
5609
5620
  */
5610
5621
  "scroll-p": [{
5611
- "scroll-p": p()
5622
+ "scroll-p": y()
5612
5623
  }],
5613
5624
  /**
5614
5625
  * Scroll Padding X
5615
5626
  * @see https://tailwindcss.com/docs/scroll-padding
5616
5627
  */
5617
5628
  "scroll-px": [{
5618
- "scroll-px": p()
5629
+ "scroll-px": y()
5619
5630
  }],
5620
5631
  /**
5621
5632
  * Scroll Padding Y
5622
5633
  * @see https://tailwindcss.com/docs/scroll-padding
5623
5634
  */
5624
5635
  "scroll-py": [{
5625
- "scroll-py": p()
5636
+ "scroll-py": y()
5626
5637
  }],
5627
5638
  /**
5628
5639
  * Scroll Padding Start
5629
5640
  * @see https://tailwindcss.com/docs/scroll-padding
5630
5641
  */
5631
5642
  "scroll-ps": [{
5632
- "scroll-ps": p()
5643
+ "scroll-ps": y()
5633
5644
  }],
5634
5645
  /**
5635
5646
  * Scroll Padding End
5636
5647
  * @see https://tailwindcss.com/docs/scroll-padding
5637
5648
  */
5638
5649
  "scroll-pe": [{
5639
- "scroll-pe": p()
5650
+ "scroll-pe": y()
5640
5651
  }],
5641
5652
  /**
5642
5653
  * Scroll Padding Top
5643
5654
  * @see https://tailwindcss.com/docs/scroll-padding
5644
5655
  */
5645
5656
  "scroll-pt": [{
5646
- "scroll-pt": p()
5657
+ "scroll-pt": y()
5647
5658
  }],
5648
5659
  /**
5649
5660
  * Scroll Padding Right
5650
5661
  * @see https://tailwindcss.com/docs/scroll-padding
5651
5662
  */
5652
5663
  "scroll-pr": [{
5653
- "scroll-pr": p()
5664
+ "scroll-pr": y()
5654
5665
  }],
5655
5666
  /**
5656
5667
  * Scroll Padding Bottom
5657
5668
  * @see https://tailwindcss.com/docs/scroll-padding
5658
5669
  */
5659
5670
  "scroll-pb": [{
5660
- "scroll-pb": p()
5671
+ "scroll-pb": y()
5661
5672
  }],
5662
5673
  /**
5663
5674
  * Scroll Padding Left
5664
5675
  * @see https://tailwindcss.com/docs/scroll-padding
5665
5676
  */
5666
5677
  "scroll-pl": [{
5667
- "scroll-pl": p()
5678
+ "scroll-pl": y()
5668
5679
  }],
5669
5680
  /**
5670
5681
  * Scroll Snap Align
@@ -5749,7 +5760,7 @@ const M = (e) => {
5749
5760
  * @see https://tailwindcss.com/docs/stroke-width
5750
5761
  */
5751
5762
  "stroke-w": [{
5752
- stroke: [y, re, Y, He]
5763
+ stroke: [_, re, Y, He]
5753
5764
  }],
5754
5765
  /**
5755
5766
  * Stroke
@@ -5828,7 +5839,7 @@ const M = (e) => {
5828
5839
  function se(...e) {
5829
5840
  return ef(pa(e));
5830
5841
  }
5831
- const wn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ x(
5842
+ const wn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ p(
5832
5843
  "div",
5833
5844
  {
5834
5845
  ref: n,
@@ -5840,9 +5851,9 @@ const wn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ x(
5840
5851
  }
5841
5852
  ));
5842
5853
  wn.displayName = "Card";
5843
- const bn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ x("div", { ref: n, className: se("flex", e), ...i }));
5854
+ const bn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ p("div", { ref: n, className: se("flex", e), ...i }));
5844
5855
  bn.displayName = "CardHeader";
5845
- const pn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ x(
5856
+ const pn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ p(
5846
5857
  "div",
5847
5858
  {
5848
5859
  ref: n,
@@ -5851,7 +5862,7 @@ const pn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ x(
5851
5862
  }
5852
5863
  ));
5853
5864
  pn.displayName = "CardTitle";
5854
- const yn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ x(
5865
+ const yn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ p(
5855
5866
  "div",
5856
5867
  {
5857
5868
  ref: n,
@@ -5860,9 +5871,9 @@ const yn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ x(
5860
5871
  }
5861
5872
  ));
5862
5873
  yn.displayName = "CardDescription";
5863
- const _n = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ x("div", { ref: n, className: se("pt-0", e), ...i }));
5874
+ const _n = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ p("div", { ref: n, className: se("pt-0", e), ...i }));
5864
5875
  _n.displayName = "CardContent";
5865
- const xn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ x(
5876
+ const xn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ p(
5866
5877
  "div",
5867
5878
  {
5868
5879
  ref: n,
@@ -5901,7 +5912,7 @@ const nf = ({
5901
5912
  children: [
5902
5913
  (e || i || f && d === "top-right") && /* @__PURE__ */ R(bn, { className: "mb-4 flex items-start justify-between", children: [
5903
5914
  /* @__PURE__ */ R("div", { className: "flex items-center gap-3", children: [
5904
- a && /* @__PURE__ */ x(
5915
+ a && /* @__PURE__ */ p(
5905
5916
  Je,
5906
5917
  {
5907
5918
  color: r,
@@ -5911,11 +5922,11 @@ const nf = ({
5911
5922
  }
5912
5923
  ),
5913
5924
  /* @__PURE__ */ R("div", { children: [
5914
- e && /* @__PURE__ */ x(pn, { className: "text-main text-xl font-gabaritoBold font-medium leading-5 sm:text-lg md:text-xl", children: e }),
5915
- i && /* @__PURE__ */ x(yn, { className: "text-sm sm:text-base text-gray-600", children: i })
5925
+ e && /* @__PURE__ */ p(pn, { className: "text-main text-xl font-gabaritoBold font-medium leading-5 sm:text-lg md:text-xl", children: e }),
5926
+ i && /* @__PURE__ */ p(yn, { className: "text-sm sm:text-base text-gray-600", children: i })
5916
5927
  ] })
5917
5928
  ] }),
5918
- f && d === "top-right" && /* @__PURE__ */ x(
5929
+ f && d === "top-right" && /* @__PURE__ */ p(
5919
5930
  oi,
5920
5931
  {
5921
5932
  label: o,
@@ -5926,8 +5937,8 @@ const nf = ({
5926
5937
  }
5927
5938
  )
5928
5939
  ] }),
5929
- n && /* @__PURE__ */ x(_n, { className: "flex flex-col gap-4 font-regular", children: n }),
5930
- f && d === "bottom-right" && /* @__PURE__ */ x(xn, { className: "flex justify-end pt-2", children: /* @__PURE__ */ x(
5940
+ n && /* @__PURE__ */ p(_n, { className: "flex flex-col gap-4 font-regular", children: n }),
5941
+ f && d === "bottom-right" && /* @__PURE__ */ p(xn, { className: "flex justify-end pt-2", children: /* @__PURE__ */ p(
5931
5942
  oi,
5932
5943
  {
5933
5944
  label: o,
@@ -5946,32 +5957,56 @@ const nf = ({
5946
5957
  label: n = "",
5947
5958
  percentage: a = 0,
5948
5959
  showCard: s = !1,
5949
- showPercentage: f = !1
5960
+ showPercentage: f = !1,
5961
+ loading: o = !1
5950
5962
  }) => {
5951
- const o = Ve[e], d = /* @__PURE__ */ R("div", { className: "flex w-full items-center", children: [
5952
- /* @__PURE__ */ x(Je, { color: e, iconSrc: i, onClick: () => {
5953
- } }),
5963
+ const d = Ve[e], r = /* @__PURE__ */ R("div", { className: "flex w-full items-center py-3", children: [
5964
+ /* @__PURE__ */ p(
5965
+ Je,
5966
+ {
5967
+ color: e,
5968
+ iconSrc: i,
5969
+ loading: o,
5970
+ onClick: () => {
5971
+ }
5972
+ }
5973
+ ),
5954
5974
  /* @__PURE__ */ R("div", { className: "flex flex-col ml-3 flex-1", children: [
5955
5975
  /* @__PURE__ */ R("div", { className: "flex justify-between mb-1 items-end", children: [
5956
- n && /* @__PURE__ */ x("p", { className: "font-medium text-sec text-md", children: n }),
5976
+ n && (o ? /* @__PURE__ */ p(
5977
+ "p",
5978
+ {
5979
+ className: "h-4 w-16 font-gabaritoMedium my-1 rounded-sm animate-pulse",
5980
+ style: {
5981
+ backgroundColor: "#F1F1F1",
5982
+ border: "1px solid #e9e9e9"
5983
+ }
5984
+ }
5985
+ ) : /* @__PURE__ */ p("p", { className: "font-medium text-sec text-md", children: n })),
5957
5986
  f && /* @__PURE__ */ R("span", { className: "text-base text-gray-500", children: [
5958
5987
  a,
5959
5988
  "%"
5960
5989
  ] })
5961
5990
  ] }),
5962
- /* @__PURE__ */ x(
5991
+ o ? /* @__PURE__ */ p(
5992
+ "div",
5993
+ {
5994
+ className: "relative w-full h-4 rounded-2xl overflow-hidden animate-pulse",
5995
+ style: { backgroundColor: "#F1F1F1" }
5996
+ }
5997
+ ) : /* @__PURE__ */ p(
5963
5998
  "div",
5964
5999
  {
5965
6000
  className: "relative w-full h-4 rounded-2xl overflow-hidden",
5966
6001
  style: { backgroundColor: Mn.Gray.value },
5967
- children: /* @__PURE__ */ x(
6002
+ children: /* @__PURE__ */ p(
5968
6003
  "div",
5969
6004
  {
5970
6005
  className: "absolute top-0 left-0 h-full rounded-2xl transition-all duration-300",
5971
6006
  style: {
5972
6007
  width: `${a}%`,
5973
6008
  background: "linear-gradient(to right, #FFC801, #FFC801)",
5974
- boxShadow: `0 1px 2px ${o.dark}`
6009
+ boxShadow: `0 1px 2px ${d.dark}`
5975
6010
  }
5976
6011
  }
5977
6012
  )
@@ -5979,7 +6014,7 @@ const nf = ({
5979
6014
  )
5980
6015
  ] })
5981
6016
  ] });
5982
- return s ? /* @__PURE__ */ x(nf, { children: d }) : d;
6017
+ return s ? /* @__PURE__ */ p(nf, { children: r }) : r;
5983
6018
  }, rf = ({
5984
6019
  color: e = "lightBlue"
5985
6020
  }) => {
@@ -5989,7 +6024,7 @@ const nf = ({
5989
6024
  cyan: "bg-cyan-500"
5990
6025
  };
5991
6026
  return /* @__PURE__ */ R("div", { className: "inline-block relative w-12 h-6", children: [
5992
- /* @__PURE__ */ x(
6027
+ /* @__PURE__ */ p(
5993
6028
  "input",
5994
6029
  {
5995
6030
  checked: i,
@@ -6001,12 +6036,12 @@ const nf = ({
6001
6036
  type: "checkbox"
6002
6037
  }
6003
6038
  ),
6004
- /* @__PURE__ */ x(
6039
+ /* @__PURE__ */ p(
6005
6040
  "label",
6006
6041
  {
6007
6042
  className: "block overflow-hidden h-6 rounded-full cursor-pointer bg-gray-300",
6008
6043
  htmlFor: `react-switch-${e}`,
6009
- children: /* @__PURE__ */ x(
6044
+ children: /* @__PURE__ */ p(
6010
6045
  "span",
6011
6046
  {
6012
6047
  className: `block h-6 w-6 rounded-full shadow transform transition-transform duration-200 ${i ? `translate-x-full ${a[e]}` : "bg-white"}`
@@ -6015,19 +6050,35 @@ const nf = ({
6015
6050
  }
6016
6051
  )
6017
6052
  ] });
6018
- }, af = ({ color: e = "amber", completed: i, size: n = 20 }) => {
6019
- const a = Ve[e];
6020
- return i ? /* @__PURE__ */ x(
6053
+ }, af = ({
6054
+ color: e = "amber",
6055
+ completed: i,
6056
+ size: n = 20,
6057
+ loading: a = !1
6058
+ }) => {
6059
+ const s = Ve[e];
6060
+ return a ? /* @__PURE__ */ p(
6061
+ "div",
6062
+ {
6063
+ className: "rounded-full animate-pulse",
6064
+ style: {
6065
+ width: n,
6066
+ height: n,
6067
+ backgroundColor: "#F1F1F1",
6068
+ border: "1px solid #e9e9e9"
6069
+ }
6070
+ }
6071
+ ) : i ? /* @__PURE__ */ p(
6021
6072
  "div",
6022
6073
  {
6023
6074
  className: "flex items-center justify-center border-[1px] rounded-full",
6024
6075
  style: {
6025
6076
  width: n,
6026
6077
  height: n,
6027
- backgroundColor: a?.value,
6028
- borderColor: a?.dark
6078
+ backgroundColor: s?.value,
6079
+ borderColor: s?.dark
6029
6080
  },
6030
- children: /* @__PURE__ */ x(
6081
+ children: /* @__PURE__ */ p(
6031
6082
  "img",
6032
6083
  {
6033
6084
  src: "src/assets/icons/check.svg",
@@ -6038,7 +6089,7 @@ const nf = ({
6038
6089
  }
6039
6090
  )
6040
6091
  }
6041
- ) : /* @__PURE__ */ x(
6092
+ ) : /* @__PURE__ */ p(
6042
6093
  "div",
6043
6094
  {
6044
6095
  className: "border-[1px] rounded-full",
@@ -6054,13 +6105,38 @@ const nf = ({
6054
6105
  label: e = "",
6055
6106
  color: i = "amber",
6056
6107
  records: n = {},
6057
- emojiId: a = "pancakes"
6058
- }) => /* @__PURE__ */ R("div", { className: "flex w-full rounded-lg h-14", children: [
6059
- /* @__PURE__ */ x(Je, { emojiId: a, color: i, onClick: () => {
6060
- } }),
6061
- /* @__PURE__ */ R("div", { className: "w-3/4 h-full rounded-lg ml-2 flex flex-col justify-start", children: [
6062
- /* @__PURE__ */ x("p", { className: "font-gabaritoMedium text-sec mb-1", children: e }),
6063
- /* @__PURE__ */ x("div", { className: "flex space-x-2", children: Object.entries(n).map(([s, f]) => /* @__PURE__ */ x(af, { color: i, completed: f })) })
6108
+ emojiId: a = "pancakes",
6109
+ loading: s = !1
6110
+ }) => /* @__PURE__ */ R("div", { className: "flex w-full rounded-lg py-3", children: [
6111
+ /* @__PURE__ */ p(
6112
+ Je,
6113
+ {
6114
+ emojiId: a,
6115
+ color: i,
6116
+ loading: s,
6117
+ onClick: () => {
6118
+ }
6119
+ }
6120
+ ),
6121
+ /* @__PURE__ */ R("div", { className: "w-3/4 h-12 rounded-lg ml-2 flex flex-col justify-between", children: [
6122
+ s ? /* @__PURE__ */ p(
6123
+ "p",
6124
+ {
6125
+ className: "h-4 w-16 font-gabaritoMedium mt-1 rounded-sm",
6126
+ style: {
6127
+ backgroundColor: "#F1F1F1",
6128
+ border: "1px solid #e9e9e9"
6129
+ }
6130
+ }
6131
+ ) : /* @__PURE__ */ p("p", { className: "font-gabaritoMedium text-sec mb-1", children: e }),
6132
+ /* @__PURE__ */ p("div", { className: "flex space-x-2", children: Object.entries(n).map(([f, o]) => /* @__PURE__ */ p(
6133
+ af,
6134
+ {
6135
+ color: i,
6136
+ completed: o,
6137
+ loading: s
6138
+ }
6139
+ )) })
6064
6140
  ] })
6065
6141
  ] });
6066
6142
  export {