@aminnausin/cedar-ui 0.0.15 → 0.0.17

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/cedar-ui.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  var Xe = Object.defineProperty;
2
2
  var Ze = (e, t, o) => t in e ? Xe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
- var E = (e, t, o) => Ze(e, typeof t != "symbol" ? t + "" : t, o);
4
- import { ref as y, computed as q, onMounted as Qe, watch as X, nextTick as et, reactive as ue, onBeforeUnmount as tt, shallowRef as be, readonly as De } from "vue";
3
+ var C = (e, t, o) => Ze(e, typeof t != "symbol" ? t + "" : t, o);
4
+ import { ref as y, computed as q, onMounted as Qe, watch as X, nextTick as et, reactive as ue, onBeforeUnmount as tt, shallowRef as ge, readonly as De } from "vue";
5
5
  function Xt(e, t, o) {
6
6
  var te;
7
- const s = y(!1), r = y(((te = e.model) == null ? void 0 : te.value) ?? e.defaultDate ?? ""), n = y("F d, Y"), a = y(0), i = y(0), l = y(0), f = y([]), p = y([]), b = y("bottom"), M = [
7
+ const r = y(!1), s = y(((te = e.model) == null ? void 0 : te.value) ?? e.defaultDate ?? ""), n = y("F d, Y"), a = y(0), i = y(0), l = y(0), m = y([]), p = y([]), g = y("bottom"), M = [
8
8
  "January",
9
9
  "February",
10
10
  "March",
@@ -25,20 +25,20 @@ function Xt(e, t, o) {
25
25
  return Array.from({ length: 10 }, (I, x) => h + x);
26
26
  });
27
27
  function z(h) {
28
- s.value = h ?? !s.value, k.value = "D";
28
+ r.value = h ?? !r.value, k.value = "D";
29
29
  }
30
30
  function G(h = "D") {
31
31
  k.value = h;
32
32
  }
33
33
  function L(h) {
34
- const I = F[h.getDay()], x = ("0" + h.getDate()).slice(-2), D = M[h.getMonth()], m = D.substring(0, 3), U = ("0" + (h.getMonth() + 1)).slice(-2), R = h.getFullYear();
34
+ const I = F[h.getDay()], x = ("0" + h.getDate()).slice(-2), D = M[h.getMonth()], f = D.substring(0, 3), U = ("0" + (h.getMonth() + 1)).slice(-2), R = h.getFullYear();
35
35
  switch (n.value) {
36
36
  case "F d, Y":
37
37
  return `${D} ${x}, ${R}`;
38
38
  case "d M, Y":
39
- return `${x} ${m}, ${R}`;
39
+ return `${x} ${f}, ${R}`;
40
40
  case "Y M d":
41
- return `${R} ${m} ${x}`;
41
+ return `${R} ${f} ${x}`;
42
42
  case "MM-DD-YYYY":
43
43
  return `${U}-${x}-${R}`;
44
44
  case "DD-MM-YYYY":
@@ -46,7 +46,7 @@ function Xt(e, t, o) {
46
46
  case "YYYY-MM-DD":
47
47
  return `${R}-${U}-${x}`;
48
48
  case "D d M, Y":
49
- return `${I} ${x} ${m} ${R}`;
49
+ return `${I} ${x} ${f} ${R}`;
50
50
  default:
51
51
  return `${D} ${x}, ${R}`;
52
52
  }
@@ -60,7 +60,7 @@ function Xt(e, t, o) {
60
60
  a.value = h, k.value = "D", v();
61
61
  break;
62
62
  default:
63
- l.value = h, r.value = L(new Date(i.value, a.value, h)), s.value = !1, e.model && (e.model.value = r.value);
63
+ l.value = h, s.value = L(new Date(i.value, a.value, h)), r.value = !1, e.model && (e.model.value = s.value);
64
64
  break;
65
65
  }
66
66
  }
@@ -92,7 +92,7 @@ function Xt(e, t, o) {
92
92
  }
93
93
  function w(h) {
94
94
  const I = new Date(i.value, a.value, h);
95
- return r.value === L(I);
95
+ return s.value === L(I);
96
96
  }
97
97
  function c(h) {
98
98
  const I = /* @__PURE__ */ new Date(), x = new Date(i.value, a.value, h);
@@ -100,34 +100,34 @@ function Xt(e, t, o) {
100
100
  }
101
101
  function v() {
102
102
  const h = new Date(i.value, a.value + 1, 0).getDate(), I = new Date(i.value, a.value).getDay();
103
- p.value = Array.from({ length: I }, (x, D) => D + 1), f.value = Array.from({ length: h }, (x, D) => D + 1);
103
+ p.value = Array.from({ length: I }, (x, D) => D + 1), m.value = Array.from({ length: h }, (x, D) => D + 1);
104
104
  }
105
105
  function O() {
106
- if (!t.value || !o.value || !s.value) return;
106
+ if (!t.value || !o.value || !r.value) return;
107
107
  const h = t.value.getBoundingClientRect(), I = o.value.offsetHeight, x = h.top + h.height + I;
108
- b.value = x > window.innerHeight ? "top" : "bottom";
108
+ g.value = x > window.innerHeight ? "top" : "bottom";
109
109
  }
110
110
  function ee(h, I = !0) {
111
- a.value = h.getMonth(), i.value = h.getFullYear(), l.value = h.getDate(), I && (r.value = L(h)), v();
111
+ a.value = h.getMonth(), i.value = h.getFullYear(), l.value = h.getDate(), I && (s.value = L(h)), v();
112
112
  }
113
- function j() {
114
- if (r.value)
115
- return ee(new Date(Date.parse(r.value)));
113
+ function K() {
114
+ if (s.value)
115
+ return ee(new Date(Date.parse(s.value)));
116
116
  ee(/* @__PURE__ */ new Date(), e.useDefaultDate);
117
117
  }
118
118
  return Qe(() => {
119
- j();
120
- }), X(s, async (h) => {
119
+ K();
120
+ }), X(r, async (h) => {
121
121
  if (!h) {
122
122
  window.removeEventListener("resize", O);
123
123
  return;
124
124
  }
125
- await et(), j(), O(), window.addEventListener("resize", O);
125
+ await et(), K(), O(), window.addEventListener("resize", O);
126
126
  }), {
127
127
  datePickerInput: t,
128
128
  datePickerCalendar: o,
129
- datePickerOpen: s,
130
- datePickerValue: r,
129
+ datePickerOpen: r,
130
+ datePickerValue: s,
131
131
  datePickerPanel: k,
132
132
  datePickerFormat: n,
133
133
  datePickerMonth: a,
@@ -135,11 +135,11 @@ function Xt(e, t, o) {
135
135
  datePickerYear: i,
136
136
  datePickerDecade: N,
137
137
  datePickerDay: l,
138
- datePickerDaysInMonth: f,
138
+ datePickerDaysInMonth: m,
139
139
  datePickerBlankDaysInMonth: p,
140
140
  datePickerMonthNames: M,
141
141
  datePickerDays: F,
142
- datePickerPosition: b,
142
+ datePickerPosition: g,
143
143
  toggleDatePicker: z,
144
144
  datePickerValueClicked: _,
145
145
  datePickerPrevious: V,
@@ -150,7 +150,7 @@ function Xt(e, t, o) {
150
150
  };
151
151
  }
152
152
  function Zt({ options: e, defaultItems: t }, o) {
153
- const s = ue({
153
+ const r = ue({
154
154
  selectOpen: !1,
155
155
  selectedItems: t,
156
156
  selectableItems: e,
@@ -201,20 +201,20 @@ function Zt({ options: e, defaultItems: t }, o) {
201
201
  setOptions(n) {
202
202
  Array.isArray(n) && (this.selectableItems = n);
203
203
  }
204
- }), r = () => {
205
- s.selectOpen && s.selectPositionUpdate();
204
+ }), s = () => {
205
+ r.selectOpen && r.selectPositionUpdate();
206
206
  };
207
207
  return X(
208
- () => s.selectOpen,
208
+ () => r.selectOpen,
209
209
  function(n) {
210
- if (s.selectedItems ? s.selectableItemActive = s.selectedItem : s.selectableItemActive = s.selectableItems[0], !n) {
211
- window.removeEventListener("resize", r);
210
+ if (r.selectedItems ? r.selectableItemActive = r.selectedItem : r.selectableItemActive = r.selectableItems[0], !n) {
211
+ window.removeEventListener("resize", s);
212
212
  return;
213
213
  }
214
- r(), window.addEventListener("resize", r);
214
+ s(), window.addEventListener("resize", s);
215
215
  },
216
216
  { immediate: !1 }
217
- ), s;
217
+ ), r;
218
218
  }
219
219
  function Qt(e, t) {
220
220
  const o = ue({
@@ -229,31 +229,31 @@ function Qt(e, t) {
229
229
  selectDropdownPosition: "bottom",
230
230
  selectableItemsList: t.selectableItemsList,
231
231
  selectButton: t.selectButton,
232
- toggleSelect(r) {
233
- r !== void 0 ? this.selectOpen = r === !0 : this.selectOpen = !this.selectOpen;
232
+ toggleSelect(s) {
233
+ s !== void 0 ? this.selectOpen = s === !0 : this.selectOpen = !this.selectOpen;
234
234
  },
235
- updateRefs(r) {
236
- this.selectButton = r.selectButton, this.selectableItemsList = r.selectableItemsList;
235
+ updateRefs(s) {
236
+ this.selectButton = s.selectButton, this.selectableItemsList = s.selectableItemsList;
237
237
  },
238
- selectableItemIsActive(r) {
239
- return this.selectableItemActive && this.selectableItemActive.value == r.value;
238
+ selectableItemIsActive(s) {
239
+ return this.selectableItemActive && this.selectableItemActive.value == s.value;
240
240
  },
241
241
  selectableItemActiveNext() {
242
- let r = this.selectableItems.indexOf(this.selectableItemActive);
243
- r < this.selectableItems.length - 1 && (this.selectableItemActive = this.selectableItems[r + 1], this.selectScrollToActiveItem());
242
+ let s = this.selectableItems.indexOf(this.selectableItemActive);
243
+ s < this.selectableItems.length - 1 && (this.selectableItemActive = this.selectableItems[s + 1], this.selectScrollToActiveItem());
244
244
  },
245
245
  selectableItemActivePrevious() {
246
- let r = this.selectableItems.indexOf(this.selectableItemActive);
247
- r > 0 && (this.selectableItemActive = this.selectableItems[r - 1], this.selectScrollToActiveItem());
246
+ let s = this.selectableItems.indexOf(this.selectableItemActive);
247
+ s > 0 && (this.selectableItemActive = this.selectableItems[s - 1], this.selectScrollToActiveItem());
248
248
  },
249
249
  selectScrollToActiveItem() {
250
250
  if (!this.selectableItemActive) return;
251
- let r = document.getElementById(this.selectableItemActive.value + "-" + this.selectId);
252
- r && r.focus();
251
+ let s = document.getElementById(this.selectableItemActive.value + "-" + this.selectId);
252
+ s && s.focus();
253
253
  },
254
- selectKeydown(r) {
255
- if (r.keyCode >= 65 && r.keyCode <= 90) {
256
- this.selectKeydownValue += r.key;
254
+ selectKeydown(s) {
255
+ if (s.keyCode >= 65 && s.keyCode <= 90) {
256
+ this.selectKeydownValue += s.key;
257
257
  let n = this.selectItemsFindBestMatch();
258
258
  n && (this.selectOpen ? (this.selectableItemActive = n, this.selectScrollToActiveItem()) : this.selectedItem = this.selectableItemActive === n), this.selectKeydownValue != "" && (clearTimeout(this.selectKeydownClearTimeout), this.selectKeydownClearTimeout = window.setTimeout(() => {
259
259
  this.selectKeydownValue = "";
@@ -261,43 +261,43 @@ function Qt(e, t) {
261
261
  }
262
262
  },
263
263
  selectItemsFindBestMatch() {
264
- let r = this.selectKeydownValue.toLowerCase(), n = null, a = -1;
264
+ let s = this.selectKeydownValue.toLowerCase(), n = null, a = -1;
265
265
  for (const i of this.selectableItems) {
266
- let f = i.title.toLowerCase().indexOf(r);
267
- f > -1 && (a == -1 || f < a) && !i.disabled && (n = i, a = f);
266
+ let m = i.title.toLowerCase().indexOf(s);
267
+ m > -1 && (a == -1 || m < a) && !i.disabled && (n = i, a = m);
268
268
  }
269
269
  return n;
270
270
  },
271
271
  selectPositionUpdate() {
272
272
  var n;
273
273
  if (!this.selectableItemsList || !this.selectButton) return;
274
- let r = ((n = this.selectButton) == null ? void 0 : n.getBoundingClientRect().top) + this.selectButton.offsetHeight + parseInt(window.getComputedStyle(this.selectableItemsList).maxHeight);
275
- window.innerHeight < r ? this.selectDropdownPosition = "top" : this.selectDropdownPosition = "bottom";
274
+ let s = ((n = this.selectButton) == null ? void 0 : n.getBoundingClientRect().top) + this.selectButton.offsetHeight + parseInt(window.getComputedStyle(this.selectableItemsList).maxHeight);
275
+ window.innerHeight < s ? this.selectDropdownPosition = "top" : this.selectDropdownPosition = "bottom";
276
276
  }
277
- }), s = () => {
277
+ }), r = () => {
278
278
  o.selectOpen && o.selectPositionUpdate();
279
279
  };
280
280
  return X(
281
281
  () => o.selectOpen,
282
- function(r) {
283
- if (o.selectedItem ? o.selectableItemActive = o.selectedItem : o.selectableItemActive = o.selectableItems[0], !r) {
284
- window.removeEventListener("resize", s);
282
+ function(s) {
283
+ if (o.selectedItem ? o.selectableItemActive = o.selectedItem : o.selectableItemActive = o.selectableItems[0], !s) {
284
+ window.removeEventListener("resize", r);
285
285
  return;
286
286
  }
287
287
  window.setTimeout(function() {
288
288
  o.selectScrollToActiveItem();
289
- }, 10), s(), window.addEventListener("resize", s);
289
+ }, 10), r(), window.addEventListener("resize", r);
290
290
  },
291
291
  { immediate: !1 }
292
292
  ), o;
293
293
  }
294
294
  function eo(e) {
295
- const t = q(() => e.itemsPerPage ?? 10), o = y(1), s = q(() => Math.ceil(e.data.value.length / t.value)), r = q(() => {
295
+ const t = q(() => e.itemsPerPage ?? 10), o = y(1), r = q(() => Math.ceil(e.data.value.length / t.value)), s = q(() => {
296
296
  const i = (o.value - 1) * t.value;
297
297
  return e.data.value.slice(i, i + t.value);
298
298
  });
299
299
  function n(i) {
300
- o.value = Math.min(Math.max(1, i), s.value);
300
+ o.value = Math.min(Math.max(1, i), r.value);
301
301
  }
302
302
  function a() {
303
303
  o.value = 1;
@@ -305,8 +305,8 @@ function eo(e) {
305
305
  return X(
306
306
  () => e.data.value,
307
307
  (i, l) => {
308
- var f, p;
309
- if (e.resetOnDataChange !== !1 && (!l || !i.length || !l.length || i.length !== l.length || ((f = i[0]) == null ? void 0 : f.id) !== ((p = l[0]) == null ? void 0 : p.id)))
308
+ var m, p;
309
+ if (e.resetOnDataChange !== !1 && (!l || !i.length || !l.length || i.length !== l.length || ((m = i[0]) == null ? void 0 : m.id) !== ((p = l[0]) == null ? void 0 : p.id)))
310
310
  return a();
311
311
  },
312
312
  { immediate: !0 }
@@ -315,8 +315,8 @@ function eo(e) {
315
315
  currentPage: o,
316
316
  itemsPerPage: t,
317
317
  // derived
318
- pageCount: s,
319
- pageData: r,
318
+ pageCount: r,
319
+ pageData: s,
320
320
  // actions
321
321
  setPage: n,
322
322
  resetPage: a
@@ -327,60 +327,74 @@ function Fe(e = "pv_id_") {
327
327
  }
328
328
  class ot {
329
329
  constructor() {
330
- E(this, "subscribers");
331
- E(this, "toasts");
330
+ C(this, "subscribers");
331
+ C(this, "toasts");
332
332
  // We use arrow functions to maintain the correct `this` reference
333
- E(this, "subscribe", (t) => (this.subscribers.push(t), () => {
333
+ C(this, "subscribe", (t) => (this.subscribers.push(t), () => {
334
334
  const o = this.subscribers.indexOf(t);
335
335
  this.subscribers.splice(o, 1);
336
336
  }));
337
- E(this, "publish", (t) => {
337
+ C(this, "publish", (t) => {
338
338
  this.subscribers.forEach((o) => o(t));
339
339
  });
340
- E(this, "addToast", (t) => {
340
+ C(this, "addToast", (t) => {
341
341
  this.publish(t), this.toasts = [...this.toasts, t];
342
342
  });
343
- E(this, "create", (t, o) => {
344
- const s = o.id ?? Fe("toast_");
345
- return this.toasts.find((n) => n.id === s) ? this.toasts = this.toasts.map((n) => n.id === s ? (this.publish({ ...n, ...o, id: s, title: t }), {
343
+ C(this, "create", (t, o) => {
344
+ const r = o.id ?? Fe("toast_");
345
+ return this.toasts.find((n) => n.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({ ...n, ...o, id: r, title: t }), {
346
346
  ...n,
347
347
  ...o,
348
- id: s,
348
+ id: r,
349
349
  title: t
350
350
  }) : n) : this.addToast({
351
351
  title: t,
352
- id: s,
352
+ id: r,
353
353
  scale: 1,
354
354
  zIndex: 200,
355
355
  offsetY: 0,
356
356
  ...o
357
- }), s;
357
+ }), r;
358
358
  });
359
- E(this, "dismiss", (t) => {
359
+ C(this, "dismiss", (t) => {
360
360
  t ? (this.publish({ id: t, dismiss: !0 }), this.toasts = this.toasts.filter((o) => o.id !== t)) : (this.toasts.forEach((o) => {
361
361
  this.publish({ id: o.id, dismiss: !0 });
362
362
  }), this.toasts = []);
363
363
  });
364
- E(this, "add", (t, o) => this.create(t, { ...o }));
365
- E(this, "success", (t, o) => this.create(t, { type: "success", ...o }));
366
- E(this, "error", (t, o) => this.create(t, { type: "danger", ...o }));
367
- E(this, "info", (t, o) => this.create(t, { type: "info", ...o }));
368
- E(this, "warning", (t, o) => this.create(t, { type: "warning", ...o }));
364
+ C(this, "add", (t, o) => this.create(t, { ...o }));
365
+ C(this, "success", (t, o) => this.create(t, { type: "success", ...o }));
366
+ C(this, "error", (t, o) => this.create(t, { type: "danger", ...o }));
367
+ C(this, "info", (t, o) => this.create(t, { type: "info", ...o }));
368
+ C(this, "warning", (t, o) => this.create(t, { type: "warning", ...o }));
369
+ C(this, "promise", (t, o, r) => {
370
+ const s = this.create(o.loading, {
371
+ description: o.loadingDescription,
372
+ ...r,
373
+ type: "promise",
374
+ life: 1 / 0
375
+ }), n = (l, m, p) => {
376
+ this.create(l, { description: m, ...r, id: s, type: p, life: (r == null ? void 0 : r.life) ?? 3e3 });
377
+ }, a = (l, m) => typeof l == "function" ? l(m) : l, i = (l, m) => typeof l == "function" ? l(m) : l;
378
+ return t.then((l) => (n(a(o.success, l), i(o.successDescription, l), "success"), l)).catch((l) => {
379
+ throw n(a(o.error, l), i(o.errorDescription, l), "danger"), l;
380
+ }), t;
381
+ });
369
382
  this.subscribers = [], this.toasts = [];
370
383
  }
371
384
  }
372
- const H = new ot();
373
- function st(e, t) {
385
+ const j = new ot();
386
+ function rt(e, t) {
374
387
  const o = Fe("toast_");
375
- return H.create(e, { ...t, id: o }), o;
388
+ return j.create(e, { ...t, id: o }), o;
376
389
  }
377
- const rt = Object.assign(st, {
378
- add: H.add,
379
- success: H.success,
380
- error: H.error,
381
- info: H.info,
382
- warning: H.warning,
383
- dismiss: H.dismiss
390
+ const st = Object.assign(rt, {
391
+ add: j.add,
392
+ success: j.success,
393
+ error: j.error,
394
+ info: j.info,
395
+ warning: j.warning,
396
+ dismiss: j.dismiss,
397
+ promise: j.promise
384
398
  });
385
399
  function to(e) {
386
400
  const t = y(!1);
@@ -391,8 +405,8 @@ function to(e) {
391
405
  await navigator.clipboard.writeText(e.value), t.value = !0, setTimeout(() => {
392
406
  t.value = !1;
393
407
  }, 3e3);
394
- } catch (s) {
395
- console.error(s), rt.error("Error", {
408
+ } catch (r) {
409
+ console.error(r), st.error("Error", {
396
410
  description: "Unable to copy. Network is not secure."
397
411
  });
398
412
  }
@@ -408,21 +422,21 @@ function at() {
408
422
  if (t === o) return !0;
409
423
  if (t && o && typeof t == "object" && typeof o == "object") {
410
424
  if (t.constructor !== o.constructor) return !1;
411
- var s, r, n;
425
+ var r, s, n;
412
426
  if (Array.isArray(t)) {
413
- if (s = t.length, s != o.length) return !1;
414
- for (r = s; r-- !== 0; )
415
- if (!e(t[r], o[r])) return !1;
427
+ if (r = t.length, r != o.length) return !1;
428
+ for (s = r; s-- !== 0; )
429
+ if (!e(t[s], o[s])) return !1;
416
430
  return !0;
417
431
  }
418
432
  if (t.constructor === RegExp) return t.source === o.source && t.flags === o.flags;
419
433
  if (t.valueOf !== Object.prototype.valueOf) return t.valueOf() === o.valueOf();
420
434
  if (t.toString !== Object.prototype.toString) return t.toString() === o.toString();
421
- if (n = Object.keys(t), s = n.length, s !== Object.keys(o).length) return !1;
422
- for (r = s; r-- !== 0; )
423
- if (!Object.prototype.hasOwnProperty.call(o, n[r])) return !1;
424
- for (r = s; r-- !== 0; ) {
425
- var a = n[r];
435
+ if (n = Object.keys(t), r = n.length, r !== Object.keys(o).length) return !1;
436
+ for (s = r; s-- !== 0; )
437
+ if (!Object.prototype.hasOwnProperty.call(o, n[s])) return !1;
438
+ for (s = r; s-- !== 0; ) {
439
+ var a = n[s];
426
440
  if (!e(t[a], o[a])) return !1;
427
441
  }
428
442
  return !0;
@@ -434,7 +448,7 @@ var it = at();
434
448
  const lt = /* @__PURE__ */ nt(it);
435
449
  function oo(e) {
436
450
  let t = e, o;
437
- const s = ue({
451
+ const r = ue({
438
452
  fields: structuredClone(e),
439
453
  errors: {},
440
454
  dirty: !1,
@@ -442,7 +456,7 @@ function oo(e) {
442
456
  processing: !1,
443
457
  wasSuccessful: !1,
444
458
  recentlySuccessful: !1,
445
- async submit(r, n = {}) {
459
+ async submit(s, n = {}) {
446
460
  if (this.processing) return;
447
461
  const a = {
448
462
  onBefore: async () => {
@@ -454,10 +468,10 @@ function oo(e) {
454
468
  }, 2e3), n.onSuccess && await n.onSuccess(i), t = structuredClone(this.fields);
455
469
  },
456
470
  onError: async (i) => {
457
- var l, f, p, b, M;
458
- this.hasErrors = !0, (((l = i == null ? void 0 : i.response) == null ? void 0 : l.status) === 422 || ((f = i == null ? void 0 : i.response) == null ? void 0 : f.status) === 401) && (this.clearErrors(), this.setErrors({
471
+ var l, m, p, g, M;
472
+ this.hasErrors = !0, (((l = i == null ? void 0 : i.response) == null ? void 0 : l.status) === 422 || ((m = i == null ? void 0 : i.response) == null ? void 0 : m.status) === 401) && (this.clearErrors(), this.setErrors({
459
473
  message: (p = i == null ? void 0 : i.response) == null ? void 0 : p.data.message,
460
- ...(M = (b = i == null ? void 0 : i.response) == null ? void 0 : b.data) == null ? void 0 : M.errors
474
+ ...(M = (g = i == null ? void 0 : i.response) == null ? void 0 : g.data) == null ? void 0 : M.errors
461
475
  })), n.onError && await n.onError(i);
462
476
  },
463
477
  onFinish: async () => {
@@ -466,7 +480,7 @@ function oo(e) {
466
480
  };
467
481
  await a.onBefore();
468
482
  try {
469
- const i = await r(this.fields);
483
+ const i = await s(this.fields);
470
484
  await a.onSuccess(i);
471
485
  } catch (i) {
472
486
  await a.onError(i);
@@ -474,41 +488,42 @@ function oo(e) {
474
488
  await a.onFinish();
475
489
  }
476
490
  },
477
- reset(...r) {
491
+ reset(...s) {
478
492
  const n = structuredClone(t);
479
- r.length === 0 ? this.fields = n : r.forEach((a) => {
493
+ s.length === 0 ? this.fields = n : s.forEach((a) => {
480
494
  n[a] !== void 0 && (this.fields[a] = n[a]);
481
495
  });
482
496
  },
483
- clearErrors(...r) {
484
- r.length === 0 ? this.errors = {} : r.forEach((n) => delete this.errors[n]), this.hasErrors = Object.keys(this.errors).length > 0;
497
+ clearErrors(...s) {
498
+ s.length === 0 ? this.errors = {} : s.forEach((n) => delete this.errors[n]), this.hasErrors = Object.keys(this.errors).length > 0;
485
499
  },
486
- setErrors(r) {
487
- this.errors = { ...this.errors, ...r }, this.hasErrors = Object.keys(this.errors).length > 0;
500
+ setErrors(s) {
501
+ this.errors = { ...this.errors, ...s }, this.hasErrors = Object.keys(this.errors).length > 0;
488
502
  }
489
503
  });
490
504
  return X(
491
- () => s.fields,
505
+ () => r.fields,
492
506
  () => {
493
- s.dirty = !lt(s.fields, t);
507
+ r.dirty = !lt(r.fields, t);
494
508
  },
495
509
  { immediate: !0, deep: !0 }
496
- ), s;
510
+ ), r;
497
511
  }
498
- function so({ duration: e, isPaused: t, onTimeout: o, immediate: s = !0 }) {
499
- const r = y(), n = y(0), a = y(e);
512
+ function ro({ duration: e, isPaused: t, onTimeout: o, immediate: r = !0 }) {
513
+ const s = y(), n = y(0), a = y(e());
500
514
  function i() {
501
- a.value === 1 / 0 || t() || (n.value = Date.now(), r.value = window.setTimeout(() => {
515
+ t() || a.value === 1 / 0 && e() === 1 / 0 || (a.value === 1 / 0 && (a.value = e()), n.value = Date.now(), s.value = window.setTimeout(() => {
502
516
  o();
503
517
  }, a.value));
504
518
  }
505
519
  function l() {
506
- f();
520
+ if (!s.value) return;
521
+ m();
507
522
  const p = Date.now() - n.value;
508
523
  a.value -= p;
509
524
  }
510
- function f() {
511
- r.value && (clearTimeout(r.value), r.value = null);
525
+ function m() {
526
+ s.value && (clearTimeout(s.value), s.value = null);
512
527
  }
513
528
  return X(
514
529
  t,
@@ -519,14 +534,14 @@ function so({ duration: e, isPaused: t, onTimeout: o, immediate: s = !0 }) {
519
534
  }
520
535
  i();
521
536
  },
522
- { immediate: s }
537
+ { immediate: r }
523
538
  ), tt(() => {
524
- f();
525
- }), { cancel: f };
539
+ m();
540
+ }), { cancel: m };
526
541
  }
527
- const ro = 3, no = "24px", ao = "16px", io = 0, lo = 3e3, co = 16, uo = 45, mo = 10, fo = 0.06, po = 16, Ce = 4, Ee = 6;
528
- function ho({ directions: e, swipeThreshold: t, velocityThreshold: o, getElementSize: s, onSwipeOut: r }) {
529
- const n = y(!1), a = y({ x: 0, y: 0 }), i = y({ x: 0, y: 0 }), l = y({ x: 0, y: 0 }), f = y(), p = q(() => A(e.value)), b = y(null);
542
+ const so = 3, no = "24px", ao = "16px", io = 0, lo = 3e3, co = 16, uo = 45, mo = 10, fo = 0.06, po = 16, Ce = 4, Ee = 6;
543
+ function ho({ directions: e, swipeThreshold: t, velocityThreshold: o, getElementSize: r, onSwipeOut: s }) {
544
+ const n = y(!1), a = y({ x: 0, y: 0 }), i = y({ x: 0, y: 0 }), l = y({ x: 0, y: 0 }), m = y(), p = q(() => A(e.value)), g = y(null);
530
545
  function M(w) {
531
546
  return 1 / (1.5 + Math.abs(w) / 20);
532
547
  }
@@ -551,29 +566,29 @@ function ho({ directions: e, swipeThreshold: t, velocityThreshold: o, getElement
551
566
  return k(c) ? c : null;
552
567
  }
553
568
  function z(w) {
554
- return t.px ? t.px : w && t.percent && s ? s(w) * t.percent : 1 / 0;
569
+ return t.px ? t.px : w && t.percent && r ? r(w) * t.percent : 1 / 0;
555
570
  }
556
571
  function G(w) {
557
- w.target.closest("button, a, input, textarea, select") || (f.value = Date.now(), w.target.setPointerCapture(w.pointerId), i.value = { x: w.clientX, y: w.clientY }, n.value = !0);
572
+ w.target.closest("button, a, input, textarea, select") || (m.value = Date.now(), w.target.setPointerCapture(w.pointerId), i.value = { x: w.clientX, y: w.clientY }, n.value = !0);
558
573
  }
559
574
  function L(w) {
560
575
  if (!n.value) return;
561
576
  const c = { x: 0, y: 0 }, v = { x: w.clientX - i.value.x, y: w.clientY - i.value.y };
562
- if (l.value.x = Math.max(l.value.x, Math.abs(v.x)), l.value.y = Math.max(l.value.y, Math.abs(v.y)), !b.value && (Math.abs(v.x) > Ce || Math.abs(v.y) > Ce) && (b.value = N(v)), !!b.value) {
563
- if (c[b.value] = F(v[b.value], p.value[b.value]), c[b.value] === 0 && v[b.value] !== 0) {
564
- const O = v[b.value] * M(v[b.value]);
565
- c[b.value] = Math.abs(O) < Math.abs(v[b.value]) ? O : v[b.value];
577
+ if (l.value.x = Math.max(l.value.x, Math.abs(v.x)), l.value.y = Math.max(l.value.y, Math.abs(v.y)), !g.value && (Math.abs(v.x) > Ce || Math.abs(v.y) > Ce) && (g.value = N(v)), !!g.value) {
578
+ if (c[g.value] = F(v[g.value], p.value[g.value]), c[g.value] === 0 && v[g.value] !== 0) {
579
+ const O = v[g.value] * M(v[g.value]);
580
+ c[g.value] = Math.abs(O) < Math.abs(v[g.value]) ? O : v[g.value];
566
581
  }
567
582
  a.value = c;
568
583
  }
569
584
  }
570
585
  function _() {
571
586
  if (!n.value) return !1;
572
- const w = Date.now() - (f.value ?? 0), c = b.value ? a.value[b.value] : 0, v = Math.abs(c) / w, O = Math.abs(c) >= z(b.value) || v > (o ?? 0.11);
573
- return O && r(), n.value = !1, b.value = null, a.value = { x: 0, y: 0 }, O;
587
+ const w = Date.now() - (m.value ?? 0), c = g.value ? a.value[g.value] : 0, v = Math.abs(c) / w, O = Math.abs(c) >= z(g.value) || v > (o ?? 0.11);
588
+ return O && s(), n.value = !1, g.value = null, a.value = { x: 0, y: 0 }, O;
574
589
  }
575
590
  function V() {
576
- n.value = !1, b.value = null, a.value = { x: 0, y: 0 };
591
+ n.value = !1, g.value = null, a.value = { x: 0, y: 0 };
577
592
  }
578
593
  function B() {
579
594
  return l.value.x <= Ee && l.value.y <= Ee;
@@ -588,40 +603,40 @@ function ho({ directions: e, swipeThreshold: t, velocityThreshold: o, getElement
588
603
  isTapGesture: B
589
604
  };
590
605
  }
591
- const go = 45, bo = 0.11, se = y(!1), ke = y(!1), Ie = y(300), J = y(null), Ne = ue({}), _e = be(null);
606
+ const bo = 45, go = 0.11, re = y(!1), ke = y(!1), Ie = y(300), J = y(null), Ne = ue({}), _e = ge(null);
592
607
  function ct(e, t = {}) {
593
- J.value && clearTimeout(J.value), _e.value = e, Object.assign(Ne, t), ke.value = !0, se.value = !0, J.value = window.setTimeout(() => {
594
- se.value = !1;
608
+ J.value && clearTimeout(J.value), _e.value = e, Object.assign(Ne, t), ke.value = !0, re.value = !0, J.value = window.setTimeout(() => {
609
+ re.value = !1;
595
610
  }, Ie.value);
596
611
  }
597
612
  function ut() {
598
- J.value && clearTimeout(J.value), ke.value = !1, se.value = !0, J.value = window.setTimeout(() => {
599
- se.value = !1;
613
+ J.value && clearTimeout(J.value), ke.value = !1, re.value = !0, J.value = window.setTimeout(() => {
614
+ re.value = !1;
600
615
  }, Ie.value);
601
616
  }
602
617
  function vo() {
603
- return { isOpen: ke, isAnimating: se, animationTime: Ie, props: Ne, component: _e, open: ct, close: ut };
618
+ return { isOpen: ke, isAnimating: re, animationTime: Ie, props: Ne, component: _e, open: ct, close: ut };
604
619
  }
605
620
  let pe = null;
606
621
  function dt() {
607
- const e = y(!1), t = y(!1), o = y(200), s = y(null), r = be({}), n = be(null);
608
- function a(l, f = {}) {
609
- var p, b;
622
+ const e = y(!1), t = y(!1), o = y(200), r = y(null), s = ge({}), n = ge(null);
623
+ function a(l, m = {}) {
624
+ var p, g;
610
625
  if (t.value) {
611
626
  i("programmatic");
612
627
  return;
613
628
  }
614
- s.value && clearTimeout(s.value), r.value = f, n.value = l, t.value = !0, e.value = !0, (b = (p = r.value) == null ? void 0 : p.onOpen) == null || b.call(p), s.value = window.setTimeout(() => {
629
+ r.value && clearTimeout(r.value), s.value = m, n.value = l, t.value = !0, e.value = !0, (g = (p = s.value) == null ? void 0 : p.onOpen) == null || g.call(p), r.value = window.setTimeout(() => {
615
630
  e.value = !1;
616
631
  }, o.value);
617
632
  }
618
633
  function i(l) {
619
- var f, p;
620
- t.value && (s.value && clearTimeout(s.value), !(l !== "programmatic" && r.value.preventClose) && (l === "escape" && !(r.value.closeOnEsc ?? !0) || l === "backdrop" && !(r.value.closeOnBackdrop ?? !0) || l === "swipe" && !(r.value.closeOnSwipe ?? !0) || (t.value = !1, e.value = !0, (p = (f = r.value) == null ? void 0 : f.onClose) == null || p.call(f, l), s.value = window.setTimeout(() => {
621
- e.value = !1, n.value = null, r.value = {};
634
+ var m, p;
635
+ t.value && (r.value && clearTimeout(r.value), !(l !== "programmatic" && s.value.preventClose) && (l === "escape" && !(s.value.closeOnEsc ?? !0) || l === "backdrop" && !(s.value.closeOnBackdrop ?? !0) || l === "swipe" && !(s.value.closeOnSwipe ?? !0) || (t.value = !1, e.value = !0, (p = (m = s.value) == null ? void 0 : m.onClose) == null || p.call(m, l), r.value = window.setTimeout(() => {
636
+ e.value = !1, n.value = null, s.value = {};
622
637
  }, o.value))));
623
638
  }
624
- return { isOpen: De(t), isAnimating: De(e), animationTime: o, props: r, component: n, open: a, close: i };
639
+ return { isOpen: De(t), isAnimating: De(e), animationTime: o, props: s, component: n, open: a, close: i };
625
640
  }
626
641
  function ve() {
627
642
  return pe || (pe = dt()), pe;
@@ -641,37 +656,37 @@ function Oe(e) {
641
656
  return String(e ?? "").toLowerCase().replace(/\s+/g, " ").trim();
642
657
  }
643
658
  function xo(e, t = 1, o = ["date", "date_released"]) {
644
- return (s, r) => {
645
- const n = s[e], a = r[e];
659
+ return (r, s) => {
660
+ const n = r[e], a = s[e];
646
661
  if (n instanceof Date && a instanceof Date || o.includes(String(e))) {
647
- const f = new Date(String(n));
648
- return (new Date(String(a)).getTime() - f.getTime()) * t;
662
+ const m = new Date(String(n));
663
+ return (new Date(String(a)).getTime() - m.getTime()) * t;
649
664
  }
650
665
  const i = parseFloat(n), l = parseFloat(a);
651
666
  return !isNaN(i) && !isNaN(l) ? (i - l) * t : String(n).toLowerCase().replace(/\s+/g, " ").localeCompare(String(a).toLowerCase().replace(/\s+/g, " ")) * t;
652
667
  };
653
668
  }
654
669
  function ko(e, t = 1) {
655
- return (o, s) => {
656
- for (const { key: r, compareFn: n } of e) {
657
- const a = r ? o[r] ?? "" : void 0, i = r ? s[r] ?? "" : void 0;
670
+ return (o, r) => {
671
+ for (const { key: s, compareFn: n } of e) {
672
+ const a = s ? o[s] ?? "" : void 0, i = s ? r[s] ?? "" : void 0;
658
673
  let l;
659
- if (n ? l = r ? n(a, i) : n(o, s) : l = ft(a, i), l !== 0) return l * t;
674
+ if (n ? l = s ? n(a, i) : n(o, r) : l = ft(a, i), l !== 0) return l * t;
660
675
  }
661
676
  return 0;
662
677
  };
663
678
  }
664
679
  function ft(e, t) {
665
- const o = parseFloat(e), s = parseFloat(t);
666
- if (!isNaN(o) && !isNaN(s))
667
- return o - s;
668
- const r = new Date(e), n = new Date(t);
669
- return !isNaN(r.getTime()) && !isNaN(n.getTime()) ? r.getTime() - n.getTime() : mt.stringInsensitive(e, t);
680
+ const o = parseFloat(e), r = parseFloat(t);
681
+ if (!isNaN(o) && !isNaN(r))
682
+ return o - r;
683
+ const s = new Date(e), n = new Date(t);
684
+ return !isNaN(s.getTime()) && !isNaN(n.getTime()) ? s.getTime() - n.getTime() : mt.stringInsensitive(e, t);
670
685
  }
671
686
  const Te = "-", pt = (e) => {
672
- const t = gt(e), {
687
+ const t = bt(e), {
673
688
  conflictingClassGroups: o,
674
- conflictingClassGroupModifiers: s
689
+ conflictingClassGroupModifiers: r
675
690
  } = e;
676
691
  return {
677
692
  getClassGroupId: (a) => {
@@ -680,16 +695,16 @@ const Te = "-", pt = (e) => {
680
695
  },
681
696
  getConflictingClassGroupIds: (a, i) => {
682
697
  const l = o[a] || [];
683
- return i && s[a] ? [...l, ...s[a]] : l;
698
+ return i && r[a] ? [...l, ...r[a]] : l;
684
699
  }
685
700
  };
686
701
  }, Ve = (e, t) => {
687
702
  var a;
688
703
  if (e.length === 0)
689
704
  return t.classGroupId;
690
- const o = e[0], s = t.nextPart.get(o), r = s ? Ve(e.slice(1), s) : void 0;
691
- if (r)
692
- return r;
705
+ const o = e[0], r = t.nextPart.get(o), s = r ? Ve(e.slice(1), r) : void 0;
706
+ if (s)
707
+ return s;
693
708
  if (t.validators.length === 0)
694
709
  return;
695
710
  const n = e.join(Te);
@@ -702,48 +717,48 @@ const Te = "-", pt = (e) => {
702
717
  if (o)
703
718
  return "arbitrary.." + o;
704
719
  }
705
- }, gt = (e) => {
720
+ }, bt = (e) => {
706
721
  const {
707
722
  theme: t,
708
723
  classGroups: o
709
- } = e, s = {
724
+ } = e, r = {
710
725
  nextPart: /* @__PURE__ */ new Map(),
711
726
  validators: []
712
727
  };
713
- for (const r in o)
714
- we(o[r], s, r, t);
715
- return s;
716
- }, we = (e, t, o, s) => {
717
- e.forEach((r) => {
718
- if (typeof r == "string") {
719
- const n = r === "" ? t : Le(t, r);
728
+ for (const s in o)
729
+ we(o[s], r, s, t);
730
+ return r;
731
+ }, we = (e, t, o, r) => {
732
+ e.forEach((s) => {
733
+ if (typeof s == "string") {
734
+ const n = s === "" ? t : Le(t, s);
720
735
  n.classGroupId = o;
721
736
  return;
722
737
  }
723
- if (typeof r == "function") {
724
- if (bt(r)) {
725
- we(r(s), t, o, s);
738
+ if (typeof s == "function") {
739
+ if (gt(s)) {
740
+ we(s(r), t, o, r);
726
741
  return;
727
742
  }
728
743
  t.validators.push({
729
- validator: r,
744
+ validator: s,
730
745
  classGroupId: o
731
746
  });
732
747
  return;
733
748
  }
734
- Object.entries(r).forEach(([n, a]) => {
735
- we(a, Le(t, n), o, s);
749
+ Object.entries(s).forEach(([n, a]) => {
750
+ we(a, Le(t, n), o, r);
736
751
  });
737
752
  });
738
753
  }, Le = (e, t) => {
739
754
  let o = e;
740
- return t.split(Te).forEach((s) => {
741
- o.nextPart.has(s) || o.nextPart.set(s, {
755
+ return t.split(Te).forEach((r) => {
756
+ o.nextPart.has(r) || o.nextPart.set(r, {
742
757
  nextPart: /* @__PURE__ */ new Map(),
743
758
  validators: []
744
- }), o = o.nextPart.get(s);
759
+ }), o = o.nextPart.get(r);
745
760
  }), o;
746
- }, bt = (e) => e.isThemeGetter, vt = (e) => {
761
+ }, gt = (e) => e.isThemeGetter, vt = (e) => {
747
762
  if (e < 1)
748
763
  return {
749
764
  get: () => {
@@ -751,20 +766,20 @@ const Te = "-", pt = (e) => {
751
766
  set: () => {
752
767
  }
753
768
  };
754
- let t = 0, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
755
- const r = (n, a) => {
756
- o.set(n, a), t++, t > e && (t = 0, s = o, o = /* @__PURE__ */ new Map());
769
+ let t = 0, o = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
770
+ const s = (n, a) => {
771
+ o.set(n, a), t++, t > e && (t = 0, r = o, o = /* @__PURE__ */ new Map());
757
772
  };
758
773
  return {
759
774
  get(n) {
760
775
  let a = o.get(n);
761
776
  if (a !== void 0)
762
777
  return a;
763
- if ((a = s.get(n)) !== void 0)
764
- return r(n, a), a;
778
+ if ((a = r.get(n)) !== void 0)
779
+ return s(n, a), a;
765
780
  },
766
781
  set(n, a) {
767
- o.has(n) ? o.set(n, a) : r(n, a);
782
+ o.has(n) ? o.set(n, a) : s(n, a);
768
783
  }
769
784
  };
770
785
  }, ye = "!", xe = ":", wt = xe.length, yt = (e) => {
@@ -772,34 +787,34 @@ const Te = "-", pt = (e) => {
772
787
  prefix: t,
773
788
  experimentalParseClassName: o
774
789
  } = e;
775
- let s = (r) => {
790
+ let r = (s) => {
776
791
  const n = [];
777
- let a = 0, i = 0, l = 0, f;
778
- for (let k = 0; k < r.length; k++) {
779
- let A = r[k];
792
+ let a = 0, i = 0, l = 0, m;
793
+ for (let k = 0; k < s.length; k++) {
794
+ let A = s[k];
780
795
  if (a === 0 && i === 0) {
781
796
  if (A === xe) {
782
- n.push(r.slice(l, k)), l = k + wt;
797
+ n.push(s.slice(l, k)), l = k + wt;
783
798
  continue;
784
799
  }
785
800
  if (A === "/") {
786
- f = k;
801
+ m = k;
787
802
  continue;
788
803
  }
789
804
  }
790
805
  A === "[" ? a++ : A === "]" ? a-- : A === "(" ? i++ : A === ")" && i--;
791
806
  }
792
- const p = n.length === 0 ? r : r.substring(l), b = xt(p), M = b !== p, F = f && f > l ? f - l : void 0;
807
+ const p = n.length === 0 ? s : s.substring(l), g = xt(p), M = g !== p, F = m && m > l ? m - l : void 0;
793
808
  return {
794
809
  modifiers: n,
795
810
  hasImportantModifier: M,
796
- baseClassName: b,
811
+ baseClassName: g,
797
812
  maybePostfixModifierPosition: F
798
813
  };
799
814
  };
800
815
  if (t) {
801
- const r = t + xe, n = s;
802
- s = (a) => a.startsWith(r) ? n(a.substring(r.length)) : {
816
+ const s = t + xe, n = r;
817
+ r = (a) => a.startsWith(s) ? n(a.substring(s.length)) : {
803
818
  isExternal: !0,
804
819
  modifiers: [],
805
820
  hasImportantModifier: !1,
@@ -808,23 +823,23 @@ const Te = "-", pt = (e) => {
808
823
  };
809
824
  }
810
825
  if (o) {
811
- const r = s;
812
- s = (n) => o({
826
+ const s = r;
827
+ r = (n) => o({
813
828
  className: n,
814
- parseClassName: r
829
+ parseClassName: s
815
830
  });
816
831
  }
817
- return s;
832
+ return r;
818
833
  }, xt = (e) => e.endsWith(ye) ? e.substring(0, e.length - 1) : e.startsWith(ye) ? e.substring(1) : e, kt = (e) => {
819
- const t = Object.fromEntries(e.orderSensitiveModifiers.map((s) => [s, !0]));
820
- return (s) => {
821
- if (s.length <= 1)
822
- return s;
823
- const r = [];
834
+ const t = Object.fromEntries(e.orderSensitiveModifiers.map((r) => [r, !0]));
835
+ return (r) => {
836
+ if (r.length <= 1)
837
+ return r;
838
+ const s = [];
824
839
  let n = [];
825
- return s.forEach((a) => {
826
- a[0] === "[" || t[a] ? (r.push(...n.sort(), a), n = []) : n.push(a);
827
- }), r.push(...n.sort()), r;
840
+ return r.forEach((a) => {
841
+ a[0] === "[" || t[a] ? (s.push(...n.sort(), a), n = []) : n.push(a);
842
+ }), s.push(...n.sort()), s;
828
843
  };
829
844
  }, It = (e) => ({
830
845
  cache: vt(e.cacheSize),
@@ -834,30 +849,30 @@ const Te = "-", pt = (e) => {
834
849
  }), Tt = /\s+/, St = (e, t) => {
835
850
  const {
836
851
  parseClassName: o,
837
- getClassGroupId: s,
838
- getConflictingClassGroupIds: r,
852
+ getClassGroupId: r,
853
+ getConflictingClassGroupIds: s,
839
854
  sortModifiers: n
840
855
  } = t, a = [], i = e.trim().split(Tt);
841
856
  let l = "";
842
- for (let f = i.length - 1; f >= 0; f -= 1) {
843
- const p = i[f], {
844
- isExternal: b,
857
+ for (let m = i.length - 1; m >= 0; m -= 1) {
858
+ const p = i[m], {
859
+ isExternal: g,
845
860
  modifiers: M,
846
861
  hasImportantModifier: F,
847
862
  baseClassName: k,
848
863
  maybePostfixModifierPosition: A
849
864
  } = o(p);
850
- if (b) {
865
+ if (g) {
851
866
  l = p + (l.length > 0 ? " " + l : l);
852
867
  continue;
853
868
  }
854
- let N = !!A, z = s(N ? k.substring(0, A) : k);
869
+ let N = !!A, z = r(N ? k.substring(0, A) : k);
855
870
  if (!z) {
856
871
  if (!N) {
857
872
  l = p + (l.length > 0 ? " " + l : l);
858
873
  continue;
859
874
  }
860
- if (z = s(k), !z) {
875
+ if (z = r(k), !z) {
861
876
  l = p + (l.length > 0 ? " " + l : l);
862
877
  continue;
863
878
  }
@@ -867,7 +882,7 @@ const Te = "-", pt = (e) => {
867
882
  if (a.includes(_))
868
883
  continue;
869
884
  a.push(_);
870
- const V = r(z, N);
885
+ const V = s(z, N);
871
886
  for (let B = 0; B < V.length; ++B) {
872
887
  const w = V[B];
873
888
  a.push(L + w);
@@ -877,31 +892,31 @@ const Te = "-", pt = (e) => {
877
892
  return l;
878
893
  };
879
894
  function Mt() {
880
- let e = 0, t, o, s = "";
895
+ let e = 0, t, o, r = "";
881
896
  for (; e < arguments.length; )
882
- (t = arguments[e++]) && (o = $e(t)) && (s && (s += " "), s += o);
883
- return s;
897
+ (t = arguments[e++]) && (o = $e(t)) && (r && (r += " "), r += o);
898
+ return r;
884
899
  }
885
900
  const $e = (e) => {
886
901
  if (typeof e == "string")
887
902
  return e;
888
903
  let t, o = "";
889
- for (let s = 0; s < e.length; s++)
890
- e[s] && (t = $e(e[s])) && (o && (o += " "), o += t);
904
+ for (let r = 0; r < e.length; r++)
905
+ e[r] && (t = $e(e[r])) && (o && (o += " "), o += t);
891
906
  return o;
892
907
  };
893
908
  function At(e, ...t) {
894
- let o, s, r, n = a;
909
+ let o, r, s, n = a;
895
910
  function a(l) {
896
- const f = t.reduce((p, b) => b(p), e());
897
- return o = It(f), s = o.cache.get, r = o.cache.set, n = i, i(l);
911
+ const m = t.reduce((p, g) => g(p), e());
912
+ return o = It(m), r = o.cache.get, s = o.cache.set, n = i, i(l);
898
913
  }
899
914
  function i(l) {
900
- const f = s(l);
901
- if (f)
902
- return f;
915
+ const m = r(l);
916
+ if (m)
917
+ return m;
903
918
  const p = St(l, o);
904
- return r(l, p), p;
919
+ return s(l, p), p;
905
920
  }
906
921
  return function() {
907
922
  return n(Mt.apply(null, arguments));
@@ -910,19 +925,19 @@ function At(e, ...t) {
910
925
  const T = (e) => {
911
926
  const t = (o) => o[e] || [];
912
927
  return t.isThemeGetter = !0, t;
913
- }, Ge = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ye = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Dt = /^\d+\/\d+$/, Pt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ct = /\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$/, Et = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ot = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, zt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, W = (e) => Dt.test(e), g = (e) => !!e && !Number.isNaN(Number(e)), Y = (e) => !!e && Number.isInteger(Number(e)), he = (e) => e.endsWith("%") && g(e.slice(0, -1)), $ = (e) => Pt.test(e), Lt = () => !0, Bt = (e) => (
928
+ }, Ge = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ye = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Dt = /^\d+\/\d+$/, Pt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ct = /\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$/, Et = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ot = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, zt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, W = (e) => Dt.test(e), b = (e) => !!e && !Number.isNaN(Number(e)), Y = (e) => !!e && Number.isInteger(Number(e)), he = (e) => e.endsWith("%") && b(e.slice(0, -1)), $ = (e) => Pt.test(e), Lt = () => !0, Bt = (e) => (
914
929
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
915
930
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
916
931
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
917
932
  Ct.test(e) && !Et.test(e)
918
- ), je = () => !1, Rt = (e) => Ot.test(e), Ft = (e) => zt.test(e), Nt = (e) => !u(e) && !d(e), _t = (e) => Z(e, Ue, je), u = (e) => Ge.test(e), K = (e) => Z(e, We, Bt), ge = (e) => Z(e, jt, g), Be = (e) => Z(e, Ke, je), Vt = (e) => Z(e, He, Ft), le = (e) => Z(e, qe, Rt), d = (e) => Ye.test(e), oe = (e) => Q(e, We), $t = (e) => Q(e, Kt), Re = (e) => Q(e, Ke), Gt = (e) => Q(e, Ue), Yt = (e) => Q(e, He), ce = (e) => Q(e, qe, !0), Z = (e, t, o) => {
919
- const s = Ge.exec(e);
920
- return s ? s[1] ? t(s[1]) : o(s[2]) : !1;
933
+ ), je = () => !1, Rt = (e) => Ot.test(e), Ft = (e) => zt.test(e), Nt = (e) => !u(e) && !d(e), _t = (e) => Z(e, Ue, je), u = (e) => Ge.test(e), H = (e) => Z(e, We, Bt), be = (e) => Z(e, jt, b), Be = (e) => Z(e, Ke, je), Vt = (e) => Z(e, He, Ft), le = (e) => Z(e, qe, Rt), d = (e) => Ye.test(e), oe = (e) => Q(e, We), $t = (e) => Q(e, Kt), Re = (e) => Q(e, Ke), Gt = (e) => Q(e, Ue), Yt = (e) => Q(e, He), ce = (e) => Q(e, qe, !0), Z = (e, t, o) => {
934
+ const r = Ge.exec(e);
935
+ return r ? r[1] ? t(r[1]) : o(r[2]) : !1;
921
936
  }, Q = (e, t, o = !1) => {
922
- const s = Ye.exec(e);
923
- return s ? s[1] ? t(s[1]) : o : !1;
937
+ const r = Ye.exec(e);
938
+ return r ? r[1] ? t(r[1]) : o : !1;
924
939
  }, Ke = (e) => e === "position" || e === "percentage", He = (e) => e === "image" || e === "url", Ue = (e) => e === "length" || e === "size" || e === "bg-size", We = (e) => e === "length", jt = (e) => e === "number", Kt = (e) => e === "family-name", qe = (e) => e === "shadow", Ht = () => {
925
- const e = T("color"), t = T("font"), o = T("text"), s = T("font-weight"), r = T("tracking"), n = T("leading"), a = T("breakpoint"), i = T("container"), l = T("spacing"), f = T("radius"), p = T("shadow"), b = T("inset-shadow"), M = T("text-shadow"), F = T("drop-shadow"), k = T("blur"), A = T("perspective"), N = T("aspect"), z = T("ease"), G = T("animate"), L = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], _ = () => [
940
+ const e = T("color"), t = T("font"), o = T("text"), r = T("font-weight"), s = T("tracking"), n = T("leading"), a = T("breakpoint"), i = T("container"), l = T("spacing"), m = T("radius"), p = T("shadow"), g = T("inset-shadow"), M = T("text-shadow"), F = T("drop-shadow"), k = T("blur"), A = T("perspective"), N = T("aspect"), z = T("ease"), G = T("animate"), L = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], _ = () => [
926
941
  "center",
927
942
  "top",
928
943
  "bottom",
@@ -942,28 +957,28 @@ const T = (e) => {
942
957
  "left-bottom"
943
958
  ], V = () => [..._(), d, u], B = () => ["auto", "hidden", "clip", "visible", "scroll"], w = () => ["auto", "contain", "none"], c = () => [d, u, l], v = () => [W, "full", "auto", ...c()], O = () => [Y, "none", "subgrid", d, u], ee = () => ["auto", {
944
959
  span: ["full", Y, d, u]
945
- }, Y, d, u], j = () => [Y, "auto", d, u], te = () => ["auto", "min", "max", "fr", d, u], h = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], I = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], x = () => ["auto", ...c()], D = () => [W, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...c()], m = () => [e, d, u], U = () => [..._(), Re, Be, {
960
+ }, Y, d, u], K = () => [Y, "auto", d, u], te = () => ["auto", "min", "max", "fr", d, u], h = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], I = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], x = () => ["auto", ...c()], D = () => [W, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...c()], f = () => [e, d, u], U = () => [..._(), Re, Be, {
946
961
  position: [d, u]
947
962
  }], R = () => ["no-repeat", {
948
963
  repeat: ["", "x", "y", "space", "round"]
949
964
  }], Se = () => ["auto", "cover", "contain", Gt, _t, {
950
965
  size: [d, u]
951
- }], de = () => [he, oe, K], P = () => [
966
+ }], de = () => [he, oe, H], P = () => [
952
967
  // Deprecated since Tailwind CSS v4.0.0
953
968
  "",
954
969
  "none",
955
970
  "full",
956
- f,
971
+ m,
957
972
  d,
958
973
  u
959
- ], C = () => ["", g, oe, K], re = () => ["solid", "dashed", "dotted", "double"], Me = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], S = () => [g, he, Re, Be], Ae = () => [
974
+ ], E = () => ["", b, oe, H], se = () => ["solid", "dashed", "dotted", "double"], Me = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], S = () => [b, he, Re, Be], Ae = () => [
960
975
  // Deprecated since Tailwind CSS v4.0.0
961
976
  "",
962
977
  "none",
963
978
  k,
964
979
  d,
965
980
  u
966
- ], ne = () => ["none", g, d, u], ae = () => ["none", g, d, u], me = () => [g, d, u], ie = () => [W, "full", ...c()];
981
+ ], ne = () => ["none", b, d, u], ae = () => ["none", b, d, u], me = () => [b, d, u], ie = () => [W, "full", ...c()];
967
982
  return {
968
983
  cacheSize: 500,
969
984
  theme: {
@@ -982,7 +997,7 @@ const T = (e) => {
982
997
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
983
998
  radius: [$],
984
999
  shadow: [$],
985
- spacing: ["px", g],
1000
+ spacing: ["px", b],
986
1001
  text: [$],
987
1002
  "text-shadow": [$],
988
1003
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
@@ -1009,7 +1024,7 @@ const T = (e) => {
1009
1024
  * @see https://tailwindcss.com/docs/columns
1010
1025
  */
1011
1026
  columns: [{
1012
- columns: [g, u, d, i]
1027
+ columns: [b, u, d, i]
1013
1028
  }],
1014
1029
  /**
1015
1030
  * Break After
@@ -1240,21 +1255,21 @@ const T = (e) => {
1240
1255
  * @see https://tailwindcss.com/docs/flex
1241
1256
  */
1242
1257
  flex: [{
1243
- flex: [g, W, "auto", "initial", "none", u]
1258
+ flex: [b, W, "auto", "initial", "none", u]
1244
1259
  }],
1245
1260
  /**
1246
1261
  * Flex Grow
1247
1262
  * @see https://tailwindcss.com/docs/flex-grow
1248
1263
  */
1249
1264
  grow: [{
1250
- grow: ["", g, d, u]
1265
+ grow: ["", b, d, u]
1251
1266
  }],
1252
1267
  /**
1253
1268
  * Flex Shrink
1254
1269
  * @see https://tailwindcss.com/docs/flex-shrink
1255
1270
  */
1256
1271
  shrink: [{
1257
- shrink: ["", g, d, u]
1272
+ shrink: ["", b, d, u]
1258
1273
  }],
1259
1274
  /**
1260
1275
  * Order
@@ -1282,14 +1297,14 @@ const T = (e) => {
1282
1297
  * @see https://tailwindcss.com/docs/grid-column
1283
1298
  */
1284
1299
  "col-start": [{
1285
- "col-start": j()
1300
+ "col-start": K()
1286
1301
  }],
1287
1302
  /**
1288
1303
  * Grid Column End
1289
1304
  * @see https://tailwindcss.com/docs/grid-column
1290
1305
  */
1291
1306
  "col-end": [{
1292
- "col-end": j()
1307
+ "col-end": K()
1293
1308
  }],
1294
1309
  /**
1295
1310
  * Grid Template Rows
@@ -1310,14 +1325,14 @@ const T = (e) => {
1310
1325
  * @see https://tailwindcss.com/docs/grid-row
1311
1326
  */
1312
1327
  "row-start": [{
1313
- "row-start": j()
1328
+ "row-start": K()
1314
1329
  }],
1315
1330
  /**
1316
1331
  * Grid Row End
1317
1332
  * @see https://tailwindcss.com/docs/grid-row
1318
1333
  */
1319
1334
  "row-end": [{
1320
- "row-end": j()
1335
+ "row-end": K()
1321
1336
  }],
1322
1337
  /**
1323
1338
  * Grid Auto Flow
@@ -1656,7 +1671,7 @@ const T = (e) => {
1656
1671
  * @see https://tailwindcss.com/docs/font-size
1657
1672
  */
1658
1673
  "font-size": [{
1659
- text: ["base", o, oe, K]
1674
+ text: ["base", o, oe, H]
1660
1675
  }],
1661
1676
  /**
1662
1677
  * Font Smoothing
@@ -1673,7 +1688,7 @@ const T = (e) => {
1673
1688
  * @see https://tailwindcss.com/docs/font-weight
1674
1689
  */
1675
1690
  "font-weight": [{
1676
- font: [s, d, ge]
1691
+ font: [r, d, be]
1677
1692
  }],
1678
1693
  /**
1679
1694
  * Font Stretch
@@ -1724,14 +1739,14 @@ const T = (e) => {
1724
1739
  * @see https://tailwindcss.com/docs/letter-spacing
1725
1740
  */
1726
1741
  tracking: [{
1727
- tracking: [r, d, u]
1742
+ tracking: [s, d, u]
1728
1743
  }],
1729
1744
  /**
1730
1745
  * Line Clamp
1731
1746
  * @see https://tailwindcss.com/docs/line-clamp
1732
1747
  */
1733
1748
  "line-clamp": [{
1734
- "line-clamp": [g, "none", d, ge]
1749
+ "line-clamp": [b, "none", d, be]
1735
1750
  }],
1736
1751
  /**
1737
1752
  * Line Height
@@ -1778,14 +1793,14 @@ const T = (e) => {
1778
1793
  * @see https://v3.tailwindcss.com/docs/placeholder-color
1779
1794
  */
1780
1795
  "placeholder-color": [{
1781
- placeholder: m()
1796
+ placeholder: f()
1782
1797
  }],
1783
1798
  /**
1784
1799
  * Text Color
1785
1800
  * @see https://tailwindcss.com/docs/text-color
1786
1801
  */
1787
1802
  "text-color": [{
1788
- text: m()
1803
+ text: f()
1789
1804
  }],
1790
1805
  /**
1791
1806
  * Text Decoration
@@ -1797,28 +1812,28 @@ const T = (e) => {
1797
1812
  * @see https://tailwindcss.com/docs/text-decoration-style
1798
1813
  */
1799
1814
  "text-decoration-style": [{
1800
- decoration: [...re(), "wavy"]
1815
+ decoration: [...se(), "wavy"]
1801
1816
  }],
1802
1817
  /**
1803
1818
  * Text Decoration Thickness
1804
1819
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1805
1820
  */
1806
1821
  "text-decoration-thickness": [{
1807
- decoration: [g, "from-font", "auto", d, K]
1822
+ decoration: [b, "from-font", "auto", d, H]
1808
1823
  }],
1809
1824
  /**
1810
1825
  * Text Decoration Color
1811
1826
  * @see https://tailwindcss.com/docs/text-decoration-color
1812
1827
  */
1813
1828
  "text-decoration-color": [{
1814
- decoration: m()
1829
+ decoration: f()
1815
1830
  }],
1816
1831
  /**
1817
1832
  * Text Underline Offset
1818
1833
  * @see https://tailwindcss.com/docs/text-underline-offset
1819
1834
  */
1820
1835
  "underline-offset": [{
1821
- "underline-offset": [g, "auto", d, u]
1836
+ "underline-offset": [b, "auto", d, u]
1822
1837
  }],
1823
1838
  /**
1824
1839
  * Text Transform
@@ -1949,7 +1964,7 @@ const T = (e) => {
1949
1964
  * @see https://tailwindcss.com/docs/background-color
1950
1965
  */
1951
1966
  "bg-color": [{
1952
- bg: m()
1967
+ bg: f()
1953
1968
  }],
1954
1969
  /**
1955
1970
  * Gradient Color Stops From Position
@@ -1977,21 +1992,21 @@ const T = (e) => {
1977
1992
  * @see https://tailwindcss.com/docs/gradient-color-stops
1978
1993
  */
1979
1994
  "gradient-from": [{
1980
- from: m()
1995
+ from: f()
1981
1996
  }],
1982
1997
  /**
1983
1998
  * Gradient Color Stops Via
1984
1999
  * @see https://tailwindcss.com/docs/gradient-color-stops
1985
2000
  */
1986
2001
  "gradient-via": [{
1987
- via: m()
2002
+ via: f()
1988
2003
  }],
1989
2004
  /**
1990
2005
  * Gradient Color Stops To
1991
2006
  * @see https://tailwindcss.com/docs/gradient-color-stops
1992
2007
  */
1993
2008
  "gradient-to": [{
1994
- to: m()
2009
+ to: f()
1995
2010
  }],
1996
2011
  // ---------------
1997
2012
  // --- Borders ---
@@ -2106,70 +2121,70 @@ const T = (e) => {
2106
2121
  * @see https://tailwindcss.com/docs/border-width
2107
2122
  */
2108
2123
  "border-w": [{
2109
- border: C()
2124
+ border: E()
2110
2125
  }],
2111
2126
  /**
2112
2127
  * Border Width X
2113
2128
  * @see https://tailwindcss.com/docs/border-width
2114
2129
  */
2115
2130
  "border-w-x": [{
2116
- "border-x": C()
2131
+ "border-x": E()
2117
2132
  }],
2118
2133
  /**
2119
2134
  * Border Width Y
2120
2135
  * @see https://tailwindcss.com/docs/border-width
2121
2136
  */
2122
2137
  "border-w-y": [{
2123
- "border-y": C()
2138
+ "border-y": E()
2124
2139
  }],
2125
2140
  /**
2126
2141
  * Border Width Start
2127
2142
  * @see https://tailwindcss.com/docs/border-width
2128
2143
  */
2129
2144
  "border-w-s": [{
2130
- "border-s": C()
2145
+ "border-s": E()
2131
2146
  }],
2132
2147
  /**
2133
2148
  * Border Width End
2134
2149
  * @see https://tailwindcss.com/docs/border-width
2135
2150
  */
2136
2151
  "border-w-e": [{
2137
- "border-e": C()
2152
+ "border-e": E()
2138
2153
  }],
2139
2154
  /**
2140
2155
  * Border Width Top
2141
2156
  * @see https://tailwindcss.com/docs/border-width
2142
2157
  */
2143
2158
  "border-w-t": [{
2144
- "border-t": C()
2159
+ "border-t": E()
2145
2160
  }],
2146
2161
  /**
2147
2162
  * Border Width Right
2148
2163
  * @see https://tailwindcss.com/docs/border-width
2149
2164
  */
2150
2165
  "border-w-r": [{
2151
- "border-r": C()
2166
+ "border-r": E()
2152
2167
  }],
2153
2168
  /**
2154
2169
  * Border Width Bottom
2155
2170
  * @see https://tailwindcss.com/docs/border-width
2156
2171
  */
2157
2172
  "border-w-b": [{
2158
- "border-b": C()
2173
+ "border-b": E()
2159
2174
  }],
2160
2175
  /**
2161
2176
  * Border Width Left
2162
2177
  * @see https://tailwindcss.com/docs/border-width
2163
2178
  */
2164
2179
  "border-w-l": [{
2165
- "border-l": C()
2180
+ "border-l": E()
2166
2181
  }],
2167
2182
  /**
2168
2183
  * Divide Width X
2169
2184
  * @see https://tailwindcss.com/docs/border-width#between-children
2170
2185
  */
2171
2186
  "divide-x": [{
2172
- "divide-x": C()
2187
+ "divide-x": E()
2173
2188
  }],
2174
2189
  /**
2175
2190
  * Divide Width X Reverse
@@ -2181,7 +2196,7 @@ const T = (e) => {
2181
2196
  * @see https://tailwindcss.com/docs/border-width#between-children
2182
2197
  */
2183
2198
  "divide-y": [{
2184
- "divide-y": C()
2199
+ "divide-y": E()
2185
2200
  }],
2186
2201
  /**
2187
2202
  * Divide Width Y Reverse
@@ -2193,112 +2208,112 @@ const T = (e) => {
2193
2208
  * @see https://tailwindcss.com/docs/border-style
2194
2209
  */
2195
2210
  "border-style": [{
2196
- border: [...re(), "hidden", "none"]
2211
+ border: [...se(), "hidden", "none"]
2197
2212
  }],
2198
2213
  /**
2199
2214
  * Divide Style
2200
2215
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
2201
2216
  */
2202
2217
  "divide-style": [{
2203
- divide: [...re(), "hidden", "none"]
2218
+ divide: [...se(), "hidden", "none"]
2204
2219
  }],
2205
2220
  /**
2206
2221
  * Border Color
2207
2222
  * @see https://tailwindcss.com/docs/border-color
2208
2223
  */
2209
2224
  "border-color": [{
2210
- border: m()
2225
+ border: f()
2211
2226
  }],
2212
2227
  /**
2213
2228
  * Border Color X
2214
2229
  * @see https://tailwindcss.com/docs/border-color
2215
2230
  */
2216
2231
  "border-color-x": [{
2217
- "border-x": m()
2232
+ "border-x": f()
2218
2233
  }],
2219
2234
  /**
2220
2235
  * Border Color Y
2221
2236
  * @see https://tailwindcss.com/docs/border-color
2222
2237
  */
2223
2238
  "border-color-y": [{
2224
- "border-y": m()
2239
+ "border-y": f()
2225
2240
  }],
2226
2241
  /**
2227
2242
  * Border Color S
2228
2243
  * @see https://tailwindcss.com/docs/border-color
2229
2244
  */
2230
2245
  "border-color-s": [{
2231
- "border-s": m()
2246
+ "border-s": f()
2232
2247
  }],
2233
2248
  /**
2234
2249
  * Border Color E
2235
2250
  * @see https://tailwindcss.com/docs/border-color
2236
2251
  */
2237
2252
  "border-color-e": [{
2238
- "border-e": m()
2253
+ "border-e": f()
2239
2254
  }],
2240
2255
  /**
2241
2256
  * Border Color Top
2242
2257
  * @see https://tailwindcss.com/docs/border-color
2243
2258
  */
2244
2259
  "border-color-t": [{
2245
- "border-t": m()
2260
+ "border-t": f()
2246
2261
  }],
2247
2262
  /**
2248
2263
  * Border Color Right
2249
2264
  * @see https://tailwindcss.com/docs/border-color
2250
2265
  */
2251
2266
  "border-color-r": [{
2252
- "border-r": m()
2267
+ "border-r": f()
2253
2268
  }],
2254
2269
  /**
2255
2270
  * Border Color Bottom
2256
2271
  * @see https://tailwindcss.com/docs/border-color
2257
2272
  */
2258
2273
  "border-color-b": [{
2259
- "border-b": m()
2274
+ "border-b": f()
2260
2275
  }],
2261
2276
  /**
2262
2277
  * Border Color Left
2263
2278
  * @see https://tailwindcss.com/docs/border-color
2264
2279
  */
2265
2280
  "border-color-l": [{
2266
- "border-l": m()
2281
+ "border-l": f()
2267
2282
  }],
2268
2283
  /**
2269
2284
  * Divide Color
2270
2285
  * @see https://tailwindcss.com/docs/divide-color
2271
2286
  */
2272
2287
  "divide-color": [{
2273
- divide: m()
2288
+ divide: f()
2274
2289
  }],
2275
2290
  /**
2276
2291
  * Outline Style
2277
2292
  * @see https://tailwindcss.com/docs/outline-style
2278
2293
  */
2279
2294
  "outline-style": [{
2280
- outline: [...re(), "none", "hidden"]
2295
+ outline: [...se(), "none", "hidden"]
2281
2296
  }],
2282
2297
  /**
2283
2298
  * Outline Offset
2284
2299
  * @see https://tailwindcss.com/docs/outline-offset
2285
2300
  */
2286
2301
  "outline-offset": [{
2287
- "outline-offset": [g, d, u]
2302
+ "outline-offset": [b, d, u]
2288
2303
  }],
2289
2304
  /**
2290
2305
  * Outline Width
2291
2306
  * @see https://tailwindcss.com/docs/outline-width
2292
2307
  */
2293
2308
  "outline-w": [{
2294
- outline: ["", g, oe, K]
2309
+ outline: ["", b, oe, H]
2295
2310
  }],
2296
2311
  /**
2297
2312
  * Outline Color
2298
2313
  * @see https://tailwindcss.com/docs/outline-color
2299
2314
  */
2300
2315
  "outline-color": [{
2301
- outline: m()
2316
+ outline: f()
2302
2317
  }],
2303
2318
  // ---------------
2304
2319
  // --- Effects ---
@@ -2322,28 +2337,28 @@ const T = (e) => {
2322
2337
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2323
2338
  */
2324
2339
  "shadow-color": [{
2325
- shadow: m()
2340
+ shadow: f()
2326
2341
  }],
2327
2342
  /**
2328
2343
  * Inset Box Shadow
2329
2344
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2330
2345
  */
2331
2346
  "inset-shadow": [{
2332
- "inset-shadow": ["none", b, ce, le]
2347
+ "inset-shadow": ["none", g, ce, le]
2333
2348
  }],
2334
2349
  /**
2335
2350
  * Inset Box Shadow Color
2336
2351
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2337
2352
  */
2338
2353
  "inset-shadow-color": [{
2339
- "inset-shadow": m()
2354
+ "inset-shadow": f()
2340
2355
  }],
2341
2356
  /**
2342
2357
  * Ring Width
2343
2358
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2344
2359
  */
2345
2360
  "ring-w": [{
2346
- ring: C()
2361
+ ring: E()
2347
2362
  }],
2348
2363
  /**
2349
2364
  * Ring Width Inset
@@ -2357,7 +2372,7 @@ const T = (e) => {
2357
2372
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2358
2373
  */
2359
2374
  "ring-color": [{
2360
- ring: m()
2375
+ ring: f()
2361
2376
  }],
2362
2377
  /**
2363
2378
  * Ring Offset Width
@@ -2366,7 +2381,7 @@ const T = (e) => {
2366
2381
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2367
2382
  */
2368
2383
  "ring-offset-w": [{
2369
- "ring-offset": [g, K]
2384
+ "ring-offset": [b, H]
2370
2385
  }],
2371
2386
  /**
2372
2387
  * Ring Offset Color
@@ -2375,21 +2390,21 @@ const T = (e) => {
2375
2390
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2376
2391
  */
2377
2392
  "ring-offset-color": [{
2378
- "ring-offset": m()
2393
+ "ring-offset": f()
2379
2394
  }],
2380
2395
  /**
2381
2396
  * Inset Ring Width
2382
2397
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2383
2398
  */
2384
2399
  "inset-ring-w": [{
2385
- "inset-ring": C()
2400
+ "inset-ring": E()
2386
2401
  }],
2387
2402
  /**
2388
2403
  * Inset Ring Color
2389
2404
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2390
2405
  */
2391
2406
  "inset-ring-color": [{
2392
- "inset-ring": m()
2407
+ "inset-ring": f()
2393
2408
  }],
2394
2409
  /**
2395
2410
  * Text Shadow
@@ -2403,14 +2418,14 @@ const T = (e) => {
2403
2418
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2404
2419
  */
2405
2420
  "text-shadow-color": [{
2406
- "text-shadow": m()
2421
+ "text-shadow": f()
2407
2422
  }],
2408
2423
  /**
2409
2424
  * Opacity
2410
2425
  * @see https://tailwindcss.com/docs/opacity
2411
2426
  */
2412
2427
  opacity: [{
2413
- opacity: [g, d, u]
2428
+ opacity: [b, d, u]
2414
2429
  }],
2415
2430
  /**
2416
2431
  * Mix Blend Mode
@@ -2445,7 +2460,7 @@ const T = (e) => {
2445
2460
  * @see https://tailwindcss.com/docs/mask-image
2446
2461
  */
2447
2462
  "mask-image-linear-pos": [{
2448
- "mask-linear": [g]
2463
+ "mask-linear": [b]
2449
2464
  }],
2450
2465
  "mask-image-linear-from-pos": [{
2451
2466
  "mask-linear-from": S()
@@ -2454,10 +2469,10 @@ const T = (e) => {
2454
2469
  "mask-linear-to": S()
2455
2470
  }],
2456
2471
  "mask-image-linear-from-color": [{
2457
- "mask-linear-from": m()
2472
+ "mask-linear-from": f()
2458
2473
  }],
2459
2474
  "mask-image-linear-to-color": [{
2460
- "mask-linear-to": m()
2475
+ "mask-linear-to": f()
2461
2476
  }],
2462
2477
  "mask-image-t-from-pos": [{
2463
2478
  "mask-t-from": S()
@@ -2466,10 +2481,10 @@ const T = (e) => {
2466
2481
  "mask-t-to": S()
2467
2482
  }],
2468
2483
  "mask-image-t-from-color": [{
2469
- "mask-t-from": m()
2484
+ "mask-t-from": f()
2470
2485
  }],
2471
2486
  "mask-image-t-to-color": [{
2472
- "mask-t-to": m()
2487
+ "mask-t-to": f()
2473
2488
  }],
2474
2489
  "mask-image-r-from-pos": [{
2475
2490
  "mask-r-from": S()
@@ -2478,10 +2493,10 @@ const T = (e) => {
2478
2493
  "mask-r-to": S()
2479
2494
  }],
2480
2495
  "mask-image-r-from-color": [{
2481
- "mask-r-from": m()
2496
+ "mask-r-from": f()
2482
2497
  }],
2483
2498
  "mask-image-r-to-color": [{
2484
- "mask-r-to": m()
2499
+ "mask-r-to": f()
2485
2500
  }],
2486
2501
  "mask-image-b-from-pos": [{
2487
2502
  "mask-b-from": S()
@@ -2490,10 +2505,10 @@ const T = (e) => {
2490
2505
  "mask-b-to": S()
2491
2506
  }],
2492
2507
  "mask-image-b-from-color": [{
2493
- "mask-b-from": m()
2508
+ "mask-b-from": f()
2494
2509
  }],
2495
2510
  "mask-image-b-to-color": [{
2496
- "mask-b-to": m()
2511
+ "mask-b-to": f()
2497
2512
  }],
2498
2513
  "mask-image-l-from-pos": [{
2499
2514
  "mask-l-from": S()
@@ -2502,10 +2517,10 @@ const T = (e) => {
2502
2517
  "mask-l-to": S()
2503
2518
  }],
2504
2519
  "mask-image-l-from-color": [{
2505
- "mask-l-from": m()
2520
+ "mask-l-from": f()
2506
2521
  }],
2507
2522
  "mask-image-l-to-color": [{
2508
- "mask-l-to": m()
2523
+ "mask-l-to": f()
2509
2524
  }],
2510
2525
  "mask-image-x-from-pos": [{
2511
2526
  "mask-x-from": S()
@@ -2514,10 +2529,10 @@ const T = (e) => {
2514
2529
  "mask-x-to": S()
2515
2530
  }],
2516
2531
  "mask-image-x-from-color": [{
2517
- "mask-x-from": m()
2532
+ "mask-x-from": f()
2518
2533
  }],
2519
2534
  "mask-image-x-to-color": [{
2520
- "mask-x-to": m()
2535
+ "mask-x-to": f()
2521
2536
  }],
2522
2537
  "mask-image-y-from-pos": [{
2523
2538
  "mask-y-from": S()
@@ -2526,10 +2541,10 @@ const T = (e) => {
2526
2541
  "mask-y-to": S()
2527
2542
  }],
2528
2543
  "mask-image-y-from-color": [{
2529
- "mask-y-from": m()
2544
+ "mask-y-from": f()
2530
2545
  }],
2531
2546
  "mask-image-y-to-color": [{
2532
- "mask-y-to": m()
2547
+ "mask-y-to": f()
2533
2548
  }],
2534
2549
  "mask-image-radial": [{
2535
2550
  "mask-radial": [d, u]
@@ -2541,10 +2556,10 @@ const T = (e) => {
2541
2556
  "mask-radial-to": S()
2542
2557
  }],
2543
2558
  "mask-image-radial-from-color": [{
2544
- "mask-radial-from": m()
2559
+ "mask-radial-from": f()
2545
2560
  }],
2546
2561
  "mask-image-radial-to-color": [{
2547
- "mask-radial-to": m()
2562
+ "mask-radial-to": f()
2548
2563
  }],
2549
2564
  "mask-image-radial-shape": [{
2550
2565
  "mask-radial": ["circle", "ellipse"]
@@ -2559,7 +2574,7 @@ const T = (e) => {
2559
2574
  "mask-radial-at": _()
2560
2575
  }],
2561
2576
  "mask-image-conic-pos": [{
2562
- "mask-conic": [g]
2577
+ "mask-conic": [b]
2563
2578
  }],
2564
2579
  "mask-image-conic-from-pos": [{
2565
2580
  "mask-conic-from": S()
@@ -2568,10 +2583,10 @@ const T = (e) => {
2568
2583
  "mask-conic-to": S()
2569
2584
  }],
2570
2585
  "mask-image-conic-from-color": [{
2571
- "mask-conic-from": m()
2586
+ "mask-conic-from": f()
2572
2587
  }],
2573
2588
  "mask-image-conic-to-color": [{
2574
- "mask-conic-to": m()
2589
+ "mask-conic-to": f()
2575
2590
  }],
2576
2591
  /**
2577
2592
  * Mask Mode
@@ -2650,14 +2665,14 @@ const T = (e) => {
2650
2665
  * @see https://tailwindcss.com/docs/brightness
2651
2666
  */
2652
2667
  brightness: [{
2653
- brightness: [g, d, u]
2668
+ brightness: [b, d, u]
2654
2669
  }],
2655
2670
  /**
2656
2671
  * Contrast
2657
2672
  * @see https://tailwindcss.com/docs/contrast
2658
2673
  */
2659
2674
  contrast: [{
2660
- contrast: [g, d, u]
2675
+ contrast: [b, d, u]
2661
2676
  }],
2662
2677
  /**
2663
2678
  * Drop Shadow
@@ -2678,42 +2693,42 @@ const T = (e) => {
2678
2693
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2679
2694
  */
2680
2695
  "drop-shadow-color": [{
2681
- "drop-shadow": m()
2696
+ "drop-shadow": f()
2682
2697
  }],
2683
2698
  /**
2684
2699
  * Grayscale
2685
2700
  * @see https://tailwindcss.com/docs/grayscale
2686
2701
  */
2687
2702
  grayscale: [{
2688
- grayscale: ["", g, d, u]
2703
+ grayscale: ["", b, d, u]
2689
2704
  }],
2690
2705
  /**
2691
2706
  * Hue Rotate
2692
2707
  * @see https://tailwindcss.com/docs/hue-rotate
2693
2708
  */
2694
2709
  "hue-rotate": [{
2695
- "hue-rotate": [g, d, u]
2710
+ "hue-rotate": [b, d, u]
2696
2711
  }],
2697
2712
  /**
2698
2713
  * Invert
2699
2714
  * @see https://tailwindcss.com/docs/invert
2700
2715
  */
2701
2716
  invert: [{
2702
- invert: ["", g, d, u]
2717
+ invert: ["", b, d, u]
2703
2718
  }],
2704
2719
  /**
2705
2720
  * Saturate
2706
2721
  * @see https://tailwindcss.com/docs/saturate
2707
2722
  */
2708
2723
  saturate: [{
2709
- saturate: [g, d, u]
2724
+ saturate: [b, d, u]
2710
2725
  }],
2711
2726
  /**
2712
2727
  * Sepia
2713
2728
  * @see https://tailwindcss.com/docs/sepia
2714
2729
  */
2715
2730
  sepia: [{
2716
- sepia: ["", g, d, u]
2731
+ sepia: ["", b, d, u]
2717
2732
  }],
2718
2733
  /**
2719
2734
  * Backdrop Filter
@@ -2740,56 +2755,56 @@ const T = (e) => {
2740
2755
  * @see https://tailwindcss.com/docs/backdrop-brightness
2741
2756
  */
2742
2757
  "backdrop-brightness": [{
2743
- "backdrop-brightness": [g, d, u]
2758
+ "backdrop-brightness": [b, d, u]
2744
2759
  }],
2745
2760
  /**
2746
2761
  * Backdrop Contrast
2747
2762
  * @see https://tailwindcss.com/docs/backdrop-contrast
2748
2763
  */
2749
2764
  "backdrop-contrast": [{
2750
- "backdrop-contrast": [g, d, u]
2765
+ "backdrop-contrast": [b, d, u]
2751
2766
  }],
2752
2767
  /**
2753
2768
  * Backdrop Grayscale
2754
2769
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2755
2770
  */
2756
2771
  "backdrop-grayscale": [{
2757
- "backdrop-grayscale": ["", g, d, u]
2772
+ "backdrop-grayscale": ["", b, d, u]
2758
2773
  }],
2759
2774
  /**
2760
2775
  * Backdrop Hue Rotate
2761
2776
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2762
2777
  */
2763
2778
  "backdrop-hue-rotate": [{
2764
- "backdrop-hue-rotate": [g, d, u]
2779
+ "backdrop-hue-rotate": [b, d, u]
2765
2780
  }],
2766
2781
  /**
2767
2782
  * Backdrop Invert
2768
2783
  * @see https://tailwindcss.com/docs/backdrop-invert
2769
2784
  */
2770
2785
  "backdrop-invert": [{
2771
- "backdrop-invert": ["", g, d, u]
2786
+ "backdrop-invert": ["", b, d, u]
2772
2787
  }],
2773
2788
  /**
2774
2789
  * Backdrop Opacity
2775
2790
  * @see https://tailwindcss.com/docs/backdrop-opacity
2776
2791
  */
2777
2792
  "backdrop-opacity": [{
2778
- "backdrop-opacity": [g, d, u]
2793
+ "backdrop-opacity": [b, d, u]
2779
2794
  }],
2780
2795
  /**
2781
2796
  * Backdrop Saturate
2782
2797
  * @see https://tailwindcss.com/docs/backdrop-saturate
2783
2798
  */
2784
2799
  "backdrop-saturate": [{
2785
- "backdrop-saturate": [g, d, u]
2800
+ "backdrop-saturate": [b, d, u]
2786
2801
  }],
2787
2802
  /**
2788
2803
  * Backdrop Sepia
2789
2804
  * @see https://tailwindcss.com/docs/backdrop-sepia
2790
2805
  */
2791
2806
  "backdrop-sepia": [{
2792
- "backdrop-sepia": ["", g, d, u]
2807
+ "backdrop-sepia": ["", b, d, u]
2793
2808
  }],
2794
2809
  // --------------
2795
2810
  // --- Tables ---
@@ -2858,7 +2873,7 @@ const T = (e) => {
2858
2873
  * @see https://tailwindcss.com/docs/transition-duration
2859
2874
  */
2860
2875
  duration: [{
2861
- duration: [g, "initial", d, u]
2876
+ duration: [b, "initial", d, u]
2862
2877
  }],
2863
2878
  /**
2864
2879
  * Transition Timing Function
@@ -2872,7 +2887,7 @@ const T = (e) => {
2872
2887
  * @see https://tailwindcss.com/docs/transition-delay
2873
2888
  */
2874
2889
  delay: [{
2875
- delay: [g, d, u]
2890
+ delay: [b, d, u]
2876
2891
  }],
2877
2892
  /**
2878
2893
  * Animation
@@ -3049,7 +3064,7 @@ const T = (e) => {
3049
3064
  * @see https://tailwindcss.com/docs/accent-color
3050
3065
  */
3051
3066
  accent: [{
3052
- accent: m()
3067
+ accent: f()
3053
3068
  }],
3054
3069
  /**
3055
3070
  * Appearance
@@ -3063,7 +3078,7 @@ const T = (e) => {
3063
3078
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
3064
3079
  */
3065
3080
  "caret-color": [{
3066
- caret: m()
3081
+ caret: f()
3067
3082
  }],
3068
3083
  /**
3069
3084
  * Color Scheme
@@ -3309,21 +3324,21 @@ const T = (e) => {
3309
3324
  * @see https://tailwindcss.com/docs/fill
3310
3325
  */
3311
3326
  fill: [{
3312
- fill: ["none", ...m()]
3327
+ fill: ["none", ...f()]
3313
3328
  }],
3314
3329
  /**
3315
3330
  * Stroke Width
3316
3331
  * @see https://tailwindcss.com/docs/stroke-width
3317
3332
  */
3318
3333
  "stroke-w": [{
3319
- stroke: [g, oe, K, ge]
3334
+ stroke: [b, oe, H, be]
3320
3335
  }],
3321
3336
  /**
3322
3337
  * Stroke
3323
3338
  * @see https://tailwindcss.com/docs/stroke
3324
3339
  */
3325
3340
  stroke: [{
3326
- stroke: ["none", ...m()]
3341
+ stroke: ["none", ...f()]
3327
3342
  }],
3328
3343
  // ---------------------
3329
3344
  // --- Accessibility ---
@@ -3393,17 +3408,17 @@ const T = (e) => {
3393
3408
  };
3394
3409
  }, Ut = /* @__PURE__ */ At(Ht);
3395
3410
  function Je(e) {
3396
- var t, o, s = "";
3397
- if (typeof e == "string" || typeof e == "number") s += e;
3411
+ var t, o, r = "";
3412
+ if (typeof e == "string" || typeof e == "number") r += e;
3398
3413
  else if (typeof e == "object") if (Array.isArray(e)) {
3399
- var r = e.length;
3400
- for (t = 0; t < r; t++) e[t] && (o = Je(e[t])) && (s && (s += " "), s += o);
3401
- } else for (o in e) e[o] && (s && (s += " "), s += o);
3402
- return s;
3414
+ var s = e.length;
3415
+ for (t = 0; t < s; t++) e[t] && (o = Je(e[t])) && (r && (r += " "), r += o);
3416
+ } else for (o in e) e[o] && (r && (r += " "), r += o);
3417
+ return r;
3403
3418
  }
3404
3419
  function Wt() {
3405
- for (var e, t, o = 0, s = "", r = arguments.length; o < r; o++) (e = arguments[o]) && (t = Je(e)) && (s && (s += " "), s += t);
3406
- return s;
3420
+ for (var e, t, o = 0, r = "", s = arguments.length; o < s; o++) (e = arguments[o]) && (t = Je(e)) && (r && (r += " "), r += t);
3421
+ return r;
3407
3422
  }
3408
3423
  function Io(...e) {
3409
3424
  return Ut(Wt(e));
@@ -3418,14 +3433,14 @@ export {
3418
3433
  co as DEFAULT_GAP,
3419
3434
  ao as MOBILE_VIEWPORT_OFFSET,
3420
3435
  fo as SCALE_STEP,
3421
- go as SWIPE_THRESHOLD,
3436
+ bo as SWIPE_THRESHOLD,
3422
3437
  lo as TOAST_LIFE,
3423
3438
  uo as TOAST_SWIPE_THRESHOLD,
3424
3439
  io as TOAST_WIDTH,
3425
- H as ToastState,
3426
- bo as VELOCITY_THRESHOLD,
3440
+ j as ToastState,
3441
+ go as VELOCITY_THRESHOLD,
3427
3442
  no as VIEWPORT_OFFSET,
3428
- ro as VISIBLE_TOASTS_AMOUNT,
3443
+ so as VISIBLE_TOASTS_AMOUNT,
3429
3444
  po as Y_OFFSET_STEP,
3430
3445
  mo as Z_STEP,
3431
3446
  Io as cn,
@@ -3434,7 +3449,7 @@ export {
3434
3449
  To as isInputLikeElement,
3435
3450
  xo as sortObject,
3436
3451
  ko as sortObjectNew,
3437
- rt as toast,
3452
+ st as toast,
3438
3453
  to as useClipboard,
3439
3454
  Xt as useDatePicker,
3440
3455
  wo as useDrawer,
@@ -3445,5 +3460,5 @@ export {
3445
3460
  Qt as useSelect,
3446
3461
  ho as useSwipeHandler,
3447
3462
  eo as useTable,
3448
- so as useToastTimer
3463
+ ro as useToastTimer
3449
3464
  };