@aminnausin/cedar-ui 0.0.4 → 0.0.5

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,646 +1,3387 @@
1
- var Z = Object.defineProperty;
2
- var ee = (i, e, t) => e in i ? Z(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
- var p = (i, e, t) => ee(i, typeof e != "symbol" ? e + "" : e, t);
4
- import { reactive as P, watch as O, ref as u, computed as F, onMounted as te, nextTick as se, onBeforeUnmount as ne, shallowRef as ie } from "vue";
5
- function ge({ options: i, defaultItems: e }, t) {
6
- const o = P({
1
+ var Ke = Object.defineProperty;
2
+ var Ue = (e, t, s) => t in e ? Ke(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
3
+ var D = (e, t, s) => Ue(e, typeof t != "symbol" ? t + "" : t, s);
4
+ import { reactive as J, watch as X, ref as y, computed as he, onMounted as He, nextTick as We, onBeforeUnmount as qe, shallowRef as Je } from "vue";
5
+ function Kt({ options: e, defaultItems: t }, s) {
6
+ const o = J({
7
7
  selectOpen: !1,
8
- selectedItems: e,
9
- selectableItems: i,
8
+ selectedItems: t,
9
+ selectableItems: e,
10
10
  selectableItemActive: null,
11
11
  selectId: "select-12",
12
12
  selectKeydownValue: "",
13
13
  selectKeydownTimeout: 1e3,
14
14
  selectKeydownClearTimeout: null,
15
15
  selectDropdownPosition: "bottom",
16
- selectableItemsList: t.selectableItemsList,
17
- selectButton: t.selectButton,
18
- toggleSelect(s) {
19
- s !== void 0 ? this.selectOpen = s === !0 : this.selectOpen = !this.selectOpen;
16
+ selectableItemsList: s.selectableItemsList,
17
+ selectButton: s.selectButton,
18
+ toggleSelect(n) {
19
+ n !== void 0 ? this.selectOpen = n === !0 : this.selectOpen = !this.selectOpen;
20
20
  },
21
- updateRefs(s) {
22
- this.selectButton = s.selectButton, this.selectableItemsList = s.selectableItemsList, this.selectPositionUpdate();
21
+ updateRefs(n) {
22
+ this.selectButton = n.selectButton, this.selectableItemsList = n.selectableItemsList, this.selectPositionUpdate();
23
23
  },
24
24
  // In a multiselect (combobox) nothing is ever selected in the list. It appears elsewhere and is removed from the list
25
25
  selectableItemIsActive() {
26
26
  return !1;
27
27
  },
28
- async selectScrollToActiveItem(s, a = !0) {
29
- let l = document.getElementById(s + "-" + this.selectId);
30
- l && (l.scrollIntoView({ behavior: "smooth", block: "center" }), a && l.focus({ preventScroll: !1 }));
28
+ async selectScrollToActiveItem(n, a = !0) {
29
+ let i = document.getElementById(n + "-" + this.selectId);
30
+ i && (i.scrollIntoView({ behavior: "smooth", block: "center" }), a && i.focus({ preventScroll: !1 }));
31
31
  },
32
- selectKeydown(s) {
33
- if (s.keyCode < 65 || s.keyCode > 90) return;
34
- this.selectKeydownValue += s.key;
32
+ selectKeydown(n) {
33
+ if (n.keyCode < 65 || n.keyCode > 90) return;
34
+ this.selectKeydownValue += n.key;
35
35
  let a = this.selectItemsFindBestMatch();
36
36
  a && this.selectOpen && (this.selectableItemActive = a), this.selectKeydownValue !== "" && (clearTimeout(this.selectKeydownClearTimeout), this.selectKeydownClearTimeout = window.setTimeout(() => {
37
37
  this.selectKeydownValue = "";
38
38
  }, this.selectKeydownTimeout));
39
39
  },
40
40
  selectItemsFindBestMatch() {
41
- let s = this.selectKeydownValue.toLowerCase(), a = null, l = -1;
42
- for (const r of this.selectableItems) {
43
- let h = r.name.toLowerCase().indexOf(s);
44
- h > -1 && (l == -1 || h < l) && !r.disabled && (a = r, l = h);
41
+ let n = this.selectKeydownValue.toLowerCase(), a = null, i = -1;
42
+ for (const d of this.selectableItems) {
43
+ let g = d.name.toLowerCase().indexOf(n);
44
+ g > -1 && (i == -1 || g < i) && !d.disabled && (a = d, i = g);
45
45
  }
46
46
  return a;
47
47
  },
48
48
  selectPositionUpdate() {
49
49
  var a;
50
50
  if (!this.selectButton || !this.selectableItemsList) return;
51
- let s = ((a = this.selectButton) == null ? void 0 : a.getBoundingClientRect().top) + this.selectButton.offsetHeight + parseInt(window.getComputedStyle(this.selectableItemsList).maxHeight);
52
- this.selectDropdownPosition = window.innerHeight < s ? "top" : "bottom";
51
+ let n = ((a = this.selectButton) == null ? void 0 : a.getBoundingClientRect().top) + this.selectButton.offsetHeight + parseInt(window.getComputedStyle(this.selectableItemsList).maxHeight);
52
+ this.selectDropdownPosition = window.innerHeight < n ? "top" : "bottom";
53
53
  },
54
- setOptions(s) {
55
- Array.isArray(s) && (this.selectableItems = s);
54
+ setOptions(n) {
55
+ Array.isArray(n) && (this.selectableItems = n);
56
56
  }
57
- }), n = () => {
57
+ }), r = () => {
58
58
  o.selectOpen && o.selectPositionUpdate();
59
59
  };
60
- return O(
60
+ return X(
61
61
  () => o.selectOpen,
62
- function(s) {
63
- if (o.selectedItems ? o.selectableItemActive = o.selectedItem : o.selectableItemActive = o.selectableItems[0], !s) {
64
- window.removeEventListener("resize", n);
62
+ function(n) {
63
+ if (o.selectedItems ? o.selectableItemActive = o.selectedItem : o.selectableItemActive = o.selectableItems[0], !n) {
64
+ window.removeEventListener("resize", r);
65
65
  return;
66
66
  }
67
- n(), window.addEventListener("resize", n);
67
+ r(), window.addEventListener("resize", r);
68
68
  },
69
69
  { immediate: !1 }
70
70
  ), o;
71
71
  }
72
- function be(i, e, t) {
73
- var _;
74
- const o = u(!1), n = u(((_ = i.model) == null ? void 0 : _.value) ?? i.defaultDate ?? ""), s = u("F d, Y"), a = u(0), l = u(0), r = u(0), f = u([]), h = u([]), d = u("bottom"), m = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], g = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], v = u("D"), I = F(() => {
75
- let c = Math.max(a.value, 0);
76
- return c >= m.length && (c = 0), m[c];
77
- }), U = F(() => {
78
- const c = Math.floor(l.value / 10) * 10;
79
- return Array.from({ length: 10 }, (b, w) => c + w);
72
+ function Ut(e, t, s) {
73
+ var te;
74
+ const o = 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), d = y(0), h = y([]), g = y([]), w = y("bottom"), x = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], S = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], b = y("D"), k = he(() => {
75
+ let f = Math.max(a.value, 0);
76
+ return f >= x.length && (f = 0), x[f];
77
+ }), F = he(() => {
78
+ const f = Math.floor(i.value / 10) * 10;
79
+ return Array.from({ length: 10 }, (I, v) => f + v);
80
80
  });
81
- function q(c) {
82
- o.value = c ?? !o.value, v.value = "D";
81
+ function z(f) {
82
+ o.value = f ?? !o.value, b.value = "D";
83
83
  }
84
- function z(c = "D") {
85
- v.value = c;
84
+ function K(f = "D") {
85
+ b.value = f;
86
86
  }
87
- function M(c) {
88
- const b = g[c.getDay()], w = ("0" + c.getDate()).slice(-2), T = m[c.getMonth()], x = T.substring(0, 3), C = ("0" + (c.getMonth() + 1)).slice(-2), y = c.getFullYear();
89
- switch (s.value) {
87
+ function B(f) {
88
+ const I = S[f.getDay()], v = ("0" + f.getDate()).slice(-2), A = x[f.getMonth()], u = A.substring(0, 3), H = ("0" + (f.getMonth() + 1)).slice(-2), O = f.getFullYear();
89
+ switch (n.value) {
90
90
  case "F d, Y":
91
- return `${T} ${w}, ${y}`;
91
+ return `${A} ${v}, ${O}`;
92
92
  case "d M, Y":
93
- return `${w} ${x}, ${y}`;
93
+ return `${v} ${u}, ${O}`;
94
94
  case "Y M d":
95
- return `${y} ${x} ${w}`;
95
+ return `${O} ${u} ${v}`;
96
96
  case "MM-DD-YYYY":
97
- return `${C}-${w}-${y}`;
97
+ return `${H}-${v}-${O}`;
98
98
  case "DD-MM-YYYY":
99
- return `${w}-${C}-${y}`;
99
+ return `${v}-${H}-${O}`;
100
100
  case "YYYY-MM-DD":
101
- return `${y}-${C}-${w}`;
101
+ return `${O}-${H}-${v}`;
102
102
  case "D d M, Y":
103
- return `${b} ${w} ${x} ${y}`;
103
+ return `${I} ${v} ${u} ${O}`;
104
104
  default:
105
- return `${T} ${w}, ${y}`;
105
+ return `${A} ${v}, ${O}`;
106
106
  }
107
107
  }
108
- function W(c) {
109
- switch (v.value) {
108
+ function N(f) {
109
+ switch (b.value) {
110
110
  case "Y":
111
- l.value = c, v.value = "M";
111
+ i.value = f, b.value = "M";
112
112
  break;
113
113
  case "M":
114
- a.value = c, v.value = "D", A();
114
+ a.value = f, b.value = "D", C();
115
115
  break;
116
116
  default:
117
- r.value = c, n.value = M(new Date(l.value, a.value, c)), o.value = !1, i.model && (i.model.value = n.value);
117
+ d.value = f, r.value = B(new Date(i.value, a.value, f)), o.value = !1, e.model && (e.model.value = r.value);
118
118
  break;
119
119
  }
120
120
  }
121
- function J() {
122
- switch (v.value) {
121
+ function V() {
122
+ switch (b.value) {
123
123
  case "Y":
124
- l.value -= 10;
124
+ i.value -= 10;
125
125
  break;
126
126
  case "M":
127
- l.value -= 1;
127
+ i.value -= 1;
128
128
  break;
129
129
  default:
130
- a.value === 0 ? (l.value--, a.value = 11) : a.value--, A();
130
+ a.value === 0 ? (i.value--, a.value = 11) : a.value--, C();
131
131
  break;
132
132
  }
133
133
  }
134
- function X() {
135
- switch (v.value) {
134
+ function L() {
135
+ switch (b.value) {
136
136
  case "Y":
137
- l.value += 10;
137
+ i.value += 10;
138
138
  break;
139
139
  case "M":
140
- l.value += 1;
140
+ i.value += 1;
141
141
  break;
142
142
  default:
143
- a.value === 11 ? (a.value = 0, l.value++) : a.value++, A();
143
+ a.value === 11 ? (a.value = 0, i.value++) : a.value++, C();
144
144
  break;
145
145
  }
146
146
  }
147
- function Q(c) {
148
- const b = new Date(l.value, a.value, c);
149
- return n.value === M(b);
147
+ function $(f) {
148
+ const I = new Date(i.value, a.value, f);
149
+ return r.value === B(I);
150
150
  }
151
- function G(c) {
152
- const b = /* @__PURE__ */ new Date(), w = new Date(l.value, a.value, c);
153
- return b.toDateString() === w.toDateString();
151
+ function m(f) {
152
+ const I = /* @__PURE__ */ new Date(), v = new Date(i.value, a.value, f);
153
+ return I.toDateString() === v.toDateString();
154
154
  }
155
- function A() {
156
- const c = new Date(l.value, a.value + 1, 0).getDate(), b = new Date(l.value, a.value).getDay();
157
- h.value = Array.from({ length: b }, (w, T) => T + 1), f.value = Array.from({ length: c }, (w, T) => T + 1);
155
+ function C() {
156
+ const f = new Date(i.value, a.value + 1, 0).getDate(), I = new Date(i.value, a.value).getDay();
157
+ g.value = Array.from({ length: I }, (v, A) => A + 1), h.value = Array.from({ length: f }, (v, A) => A + 1);
158
158
  }
159
- function B() {
160
- if (!e.value || !t.value || !o.value) return;
161
- const c = e.value.getBoundingClientRect(), b = t.value.offsetHeight, w = c.top + c.height + b;
162
- d.value = w > window.innerHeight ? "top" : "bottom";
159
+ function U() {
160
+ if (!t.value || !s.value || !o.value) return;
161
+ const f = t.value.getBoundingClientRect(), I = s.value.offsetHeight, v = f.top + f.height + I;
162
+ w.value = v > window.innerHeight ? "top" : "bottom";
163
163
  }
164
- function N(c, b = !0) {
165
- a.value = c.getMonth(), l.value = c.getFullYear(), r.value = c.getDate(), b && (n.value = M(c)), A();
164
+ function ee(f, I = !0) {
165
+ a.value = f.getMonth(), i.value = f.getFullYear(), d.value = f.getDate(), I && (r.value = B(f)), C();
166
166
  }
167
- function $() {
168
- if (n.value)
169
- return N(new Date(Date.parse(n.value)));
170
- N(/* @__PURE__ */ new Date(), i.useDefaultDate);
167
+ function G() {
168
+ if (r.value)
169
+ return ee(new Date(Date.parse(r.value)));
170
+ ee(/* @__PURE__ */ new Date(), e.useDefaultDate);
171
171
  }
172
- return te(() => {
173
- $();
174
- }), O(o, async (c) => {
175
- if (!c) {
176
- window.removeEventListener("resize", B);
172
+ return He(() => {
173
+ G();
174
+ }), X(o, async (f) => {
175
+ if (!f) {
176
+ window.removeEventListener("resize", U);
177
177
  return;
178
178
  }
179
- await se(), $(), B(), window.addEventListener("resize", B);
179
+ await We(), G(), U(), window.addEventListener("resize", U);
180
180
  }), {
181
- datePickerInput: e,
182
- datePickerCalendar: t,
181
+ datePickerInput: t,
182
+ datePickerCalendar: s,
183
183
  datePickerOpen: o,
184
- datePickerValue: n,
185
- datePickerPanel: v,
186
- datePickerFormat: s,
184
+ datePickerValue: r,
185
+ datePickerPanel: b,
186
+ datePickerFormat: n,
187
187
  datePickerMonth: a,
188
- datePickerMonthVerbose: I,
189
- datePickerYear: l,
190
- datePickerDecade: U,
191
- datePickerDay: r,
192
- datePickerDaysInMonth: f,
193
- datePickerBlankDaysInMonth: h,
194
- datePickerMonthNames: m,
195
- datePickerDays: g,
196
- datePickerPosition: d,
197
- toggleDatePicker: q,
198
- datePickerValueClicked: W,
199
- datePickerPrevious: J,
200
- datePickerNext: X,
201
- datePickerIsSelectedDate: Q,
202
- datePickerIsToday: G,
203
- showDatePickerPanel: z
188
+ datePickerMonthVerbose: k,
189
+ datePickerYear: i,
190
+ datePickerDecade: F,
191
+ datePickerDay: d,
192
+ datePickerDaysInMonth: h,
193
+ datePickerBlankDaysInMonth: g,
194
+ datePickerMonthNames: x,
195
+ datePickerDays: S,
196
+ datePickerPosition: w,
197
+ toggleDatePicker: z,
198
+ datePickerValueClicked: N,
199
+ datePickerPrevious: V,
200
+ datePickerNext: L,
201
+ datePickerIsSelectedDate: $,
202
+ datePickerIsToday: m,
203
+ showDatePickerPanel: K
204
204
  };
205
205
  }
206
- function j(i = "pv_id_") {
207
- return i + Math.random().toString(16).slice(2);
206
+ function De(e = "pv_id_") {
207
+ return e + Math.random().toString(16).slice(2);
208
208
  }
209
- class ae {
209
+ class Xe {
210
210
  constructor() {
211
- p(this, "subscribers");
212
- p(this, "toasts");
211
+ D(this, "subscribers");
212
+ D(this, "toasts");
213
213
  // We use arrow functions to maintain the correct `this` reference
214
- p(this, "subscribe", (e) => (this.subscribers.push(e), () => {
215
- const t = this.subscribers.indexOf(e);
216
- this.subscribers.splice(t, 1);
214
+ D(this, "subscribe", (t) => (this.subscribers.push(t), () => {
215
+ const s = this.subscribers.indexOf(t);
216
+ this.subscribers.splice(s, 1);
217
217
  }));
218
- p(this, "publish", (e) => {
219
- this.subscribers.forEach((t) => t(e));
218
+ D(this, "publish", (t) => {
219
+ this.subscribers.forEach((s) => s(t));
220
220
  });
221
- p(this, "addToast", (e) => {
222
- this.publish(e), this.toasts = [...this.toasts, e];
221
+ D(this, "addToast", (t) => {
222
+ this.publish(t), this.toasts = [...this.toasts, t];
223
223
  });
224
- p(this, "create", (e, t) => {
225
- const o = t.id ?? j("toast_");
226
- return this.toasts.find((s) => s.id === o) ? this.toasts = this.toasts.map((s) => s.id === o ? (this.publish({ ...s, ...t, id: o, title: e }), {
224
+ D(this, "create", (t, s) => {
225
+ const o = s.id ?? De("toast_");
226
+ return this.toasts.find((n) => n.id === o) ? this.toasts = this.toasts.map((n) => n.id === o ? (this.publish({ ...n, ...s, id: o, title: t }), {
227
+ ...n,
227
228
  ...s,
228
- ...t,
229
229
  id: o,
230
- title: e
231
- }) : s) : this.addToast({
232
- title: e,
230
+ title: t
231
+ }) : n) : this.addToast({
232
+ title: t,
233
233
  id: o,
234
234
  scale: 1,
235
235
  zIndex: 200,
236
236
  offsetY: 0,
237
- ...t
237
+ ...s
238
238
  }), o;
239
239
  });
240
- p(this, "dismiss", (e) => {
241
- e ? (this.publish({ id: e, dismiss: !0 }), this.toasts = this.toasts.filter((t) => t.id !== e)) : (this.toasts.forEach((t) => {
242
- this.publish({ id: t.id, dismiss: !0 });
240
+ D(this, "dismiss", (t) => {
241
+ t ? (this.publish({ id: t, dismiss: !0 }), this.toasts = this.toasts.filter((s) => s.id !== t)) : (this.toasts.forEach((s) => {
242
+ this.publish({ id: s.id, dismiss: !0 });
243
243
  }), this.toasts = []);
244
244
  });
245
- p(this, "add", (e, t) => this.create(e, { ...t }));
246
- p(this, "success", (e, t) => this.create(e, { type: "success", ...t }));
247
- p(this, "error", (e, t) => this.create(e, { type: "danger", ...t }));
248
- p(this, "info", (e, t) => this.create(e, { type: "info", ...t }));
249
- p(this, "warning", (e, t) => this.create(e, { type: "warning", ...t }));
245
+ D(this, "add", (t, s) => this.create(t, { ...s }));
246
+ D(this, "success", (t, s) => this.create(t, { type: "success", ...s }));
247
+ D(this, "error", (t, s) => this.create(t, { type: "danger", ...s }));
248
+ D(this, "info", (t, s) => this.create(t, { type: "info", ...s }));
249
+ D(this, "warning", (t, s) => this.create(t, { type: "warning", ...s }));
250
250
  this.subscribers = [], this.toasts = [];
251
251
  }
252
252
  }
253
- const D = new ae();
254
- function le(i, e) {
255
- const t = j("toast_");
256
- return D.create(i, { ...e, id: t }), t;
253
+ const Y = new Xe();
254
+ function Qe(e, t) {
255
+ const s = De("toast_");
256
+ return Y.create(e, { ...t, id: s }), s;
257
257
  }
258
- const oe = Object.assign(le, {
259
- add: D.add,
260
- success: D.success,
261
- error: D.error,
262
- info: D.info,
263
- warning: D.warning,
264
- dismiss: D.dismiss
258
+ const Ze = Object.assign(Qe, {
259
+ add: Y.add,
260
+ success: Y.success,
261
+ error: Y.error,
262
+ info: Y.info,
263
+ warning: Y.warning,
264
+ dismiss: Y.dismiss
265
265
  });
266
- function ye(i) {
267
- const e = u(!1);
266
+ function Ht(e) {
267
+ const t = y(!1);
268
268
  return {
269
- copyNotification: e,
269
+ copyNotification: t,
270
270
  copyToClipboard: async () => {
271
271
  try {
272
- await navigator.clipboard.writeText(i.value), e.value = !0, setTimeout(() => {
273
- e.value = !1;
272
+ await navigator.clipboard.writeText(e.value), t.value = !0, setTimeout(() => {
273
+ t.value = !1;
274
274
  }, 3e3);
275
275
  } catch (o) {
276
- console.error(o), oe.error("Error", {
276
+ console.error(o), Ze.error("Error", {
277
277
  description: "Unable to copy. Network is not secure."
278
278
  });
279
279
  }
280
280
  }
281
281
  };
282
282
  }
283
- function Ie(i, e) {
284
- const t = P({
283
+ function Wt(e, t) {
284
+ const s = J({
285
285
  selectOpen: !1,
286
286
  selectedItem: "",
287
- selectableItems: i,
287
+ selectableItems: e,
288
288
  selectableItemActive: null,
289
289
  selectId: "select-12",
290
290
  selectKeydownValue: "",
291
291
  selectKeydownTimeout: 1e3,
292
292
  selectKeydownClearTimeout: null,
293
293
  selectDropdownPosition: "bottom",
294
- selectableItemsList: e.selectableItemsList,
295
- selectButton: e.selectButton,
296
- toggleSelect(n) {
297
- n !== void 0 ? this.selectOpen = n === !0 : this.selectOpen = !this.selectOpen;
294
+ selectableItemsList: t.selectableItemsList,
295
+ selectButton: t.selectButton,
296
+ toggleSelect(r) {
297
+ r !== void 0 ? this.selectOpen = r === !0 : this.selectOpen = !this.selectOpen;
298
298
  },
299
- updateRefs(n) {
300
- this.selectButton = n.selectButton, this.selectableItemsList = n.selectableItemsList;
299
+ updateRefs(r) {
300
+ this.selectButton = r.selectButton, this.selectableItemsList = r.selectableItemsList;
301
301
  },
302
- selectableItemIsActive(n) {
303
- return this.selectableItemActive && this.selectableItemActive.value == n.value;
302
+ selectableItemIsActive(r) {
303
+ return this.selectableItemActive && this.selectableItemActive.value == r.value;
304
304
  },
305
305
  selectableItemActiveNext() {
306
- let n = this.selectableItems.indexOf(this.selectableItemActive);
307
- n < this.selectableItems.length - 1 && (this.selectableItemActive = this.selectableItems[n + 1], this.selectScrollToActiveItem());
306
+ let r = this.selectableItems.indexOf(this.selectableItemActive);
307
+ r < this.selectableItems.length - 1 && (this.selectableItemActive = this.selectableItems[r + 1], this.selectScrollToActiveItem());
308
308
  },
309
309
  selectableItemActivePrevious() {
310
- let n = this.selectableItems.indexOf(this.selectableItemActive);
311
- n > 0 && (this.selectableItemActive = this.selectableItems[n - 1], this.selectScrollToActiveItem());
310
+ let r = this.selectableItems.indexOf(this.selectableItemActive);
311
+ r > 0 && (this.selectableItemActive = this.selectableItems[r - 1], this.selectScrollToActiveItem());
312
312
  },
313
313
  selectScrollToActiveItem() {
314
314
  if (!this.selectableItemActive) return;
315
- let n = document.getElementById(this.selectableItemActive.value + "-" + this.selectId);
316
- n && n.focus();
315
+ let r = document.getElementById(this.selectableItemActive.value + "-" + this.selectId);
316
+ r && r.focus();
317
317
  },
318
- selectKeydown(n) {
319
- if (n.keyCode >= 65 && n.keyCode <= 90) {
320
- this.selectKeydownValue += n.key;
321
- let s = this.selectItemsFindBestMatch();
322
- s && (this.selectOpen ? (this.selectableItemActive = s, this.selectScrollToActiveItem()) : this.selectedItem = this.selectableItemActive === s), this.selectKeydownValue != "" && (clearTimeout(this.selectKeydownClearTimeout), this.selectKeydownClearTimeout = window.setTimeout(() => {
318
+ selectKeydown(r) {
319
+ if (r.keyCode >= 65 && r.keyCode <= 90) {
320
+ this.selectKeydownValue += r.key;
321
+ let n = this.selectItemsFindBestMatch();
322
+ n && (this.selectOpen ? (this.selectableItemActive = n, this.selectScrollToActiveItem()) : this.selectedItem = this.selectableItemActive === n), this.selectKeydownValue != "" && (clearTimeout(this.selectKeydownClearTimeout), this.selectKeydownClearTimeout = window.setTimeout(() => {
323
323
  this.selectKeydownValue = "";
324
324
  }, this.selectKeydownTimeout));
325
325
  }
326
326
  },
327
327
  selectItemsFindBestMatch() {
328
- let n = this.selectKeydownValue.toLowerCase(), s = null, a = -1;
329
- for (const l of this.selectableItems) {
330
- let f = l.title.toLowerCase().indexOf(n);
331
- f > -1 && (a == -1 || f < a) && !l.disabled && (s = l, a = f);
328
+ let r = this.selectKeydownValue.toLowerCase(), n = null, a = -1;
329
+ for (const i of this.selectableItems) {
330
+ let h = i.title.toLowerCase().indexOf(r);
331
+ h > -1 && (a == -1 || h < a) && !i.disabled && (n = i, a = h);
332
332
  }
333
- return s;
333
+ return n;
334
334
  },
335
335
  selectPositionUpdate() {
336
- var s;
336
+ var n;
337
337
  if (!this.selectableItemsList || !this.selectButton) return;
338
- let n = ((s = this.selectButton) == null ? void 0 : s.getBoundingClientRect().top) + this.selectButton.offsetHeight + parseInt(window.getComputedStyle(this.selectableItemsList).maxHeight);
339
- window.innerHeight < n ? this.selectDropdownPosition = "top" : this.selectDropdownPosition = "bottom";
338
+ let r = ((n = this.selectButton) == null ? void 0 : n.getBoundingClientRect().top) + this.selectButton.offsetHeight + parseInt(window.getComputedStyle(this.selectableItemsList).maxHeight);
339
+ window.innerHeight < r ? this.selectDropdownPosition = "top" : this.selectDropdownPosition = "bottom";
340
340
  }
341
341
  }), o = () => {
342
- t.selectOpen && t.selectPositionUpdate();
342
+ s.selectOpen && s.selectPositionUpdate();
343
343
  };
344
- return O(
345
- () => t.selectOpen,
346
- function(n) {
347
- if (t.selectedItem ? t.selectableItemActive = t.selectedItem : t.selectableItemActive = t.selectableItems[0], !n) {
344
+ return X(
345
+ () => s.selectOpen,
346
+ function(r) {
347
+ if (s.selectedItem ? s.selectableItemActive = s.selectedItem : s.selectableItemActive = s.selectableItems[0], !r) {
348
348
  window.removeEventListener("resize", o);
349
349
  return;
350
350
  }
351
351
  window.setTimeout(function() {
352
- t.selectScrollToActiveItem();
352
+ s.selectScrollToActiveItem();
353
353
  }, 10), o(), window.addEventListener("resize", o);
354
354
  },
355
355
  { immediate: !1 }
356
- ), t;
356
+ ), s;
357
357
  }
358
- function Te(i) {
359
- const e = u(null);
360
- return P({
358
+ function qt(e) {
359
+ const t = y(null);
360
+ return J({
361
361
  title: "",
362
- ...i,
362
+ ...e,
363
363
  modalOpen: !1,
364
364
  isAnimating: !1,
365
- animationTime: i.animationTime ?? 300,
366
- toggleModal(t = null) {
367
- this.isAnimating || (e.value && clearTimeout(e.value), t != null ? this.modalOpen = t : this.modalOpen = !this.modalOpen, this.isAnimating = !0, e.value = window.setTimeout(() => {
365
+ animationTime: e.animationTime ?? 300,
366
+ toggleModal(s = null) {
367
+ this.isAnimating || (t.value && clearTimeout(t.value), s != null ? this.modalOpen = s : this.modalOpen = !this.modalOpen, this.isAnimating = !0, t.value = window.setTimeout(() => {
368
368
  this.isAnimating = !1;
369
369
  }, this.animationTime));
370
370
  },
371
- setTitle(t) {
372
- this.title = t;
371
+ setTitle(s) {
372
+ this.title = s;
373
373
  }
374
374
  });
375
375
  }
376
- function De(i) {
377
- const e = u(1), t = u(i.itemsPerPage ?? 10), o = u(i.searchQuery ?? ""), n = P({
378
- filteredPage: F(() => {
379
- const s = t.value * (e.value - 1), a = Math.min(t.value * e.value, i.data.length);
380
- return i.data.slice(s, a);
376
+ function Jt(e) {
377
+ const t = y(1), s = y(e.itemsPerPage ?? 10), o = y(e.searchQuery ?? ""), r = J({
378
+ filteredPage: he(() => {
379
+ const n = s.value * (t.value - 1), a = Math.min(s.value * t.value, e.data.length);
380
+ return e.data.slice(n, a);
381
381
  }),
382
- props: i,
383
- fields: { currentPage: e, itemsPerPage: t, searchQuery: o },
384
- handlePageChange(s) {
385
- e.value = s;
382
+ props: e,
383
+ fields: { currentPage: t, itemsPerPage: s, searchQuery: o },
384
+ handlePageChange(n) {
385
+ t.value = n;
386
386
  },
387
387
  handlePageReset() {
388
- e.value = 1;
388
+ t.value = 1;
389
389
  }
390
390
  });
391
- return O(
392
- () => i.data,
393
- (s, a) => {
394
- var l, r;
395
- ((s == null ? void 0 : s.length) !== (a == null ? void 0 : a.length) || s[0] && a[0] && ((l = s[0]) == null ? void 0 : l.id) !== ((r = a[0]) == null ? void 0 : r.id)) && n.handlePageReset();
391
+ return X(
392
+ () => e.data,
393
+ (n, a) => {
394
+ var i, d;
395
+ ((n == null ? void 0 : n.length) !== (a == null ? void 0 : a.length) || n[0] && a[0] && ((i = n[0]) == null ? void 0 : i.id) !== ((d = a[0]) == null ? void 0 : d.id)) && r.handlePageReset();
396
396
  },
397
397
  { immediate: !0 }
398
- ), n;
398
+ ), r;
399
399
  }
400
- function ce(i) {
401
- return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
400
+ function et(e) {
401
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
402
402
  }
403
- var k, K;
404
- function re() {
405
- return K || (K = 1, k = function i(e, t) {
406
- if (e === t) return !0;
407
- if (e && t && typeof e == "object" && typeof t == "object") {
408
- if (e.constructor !== t.constructor) return !1;
409
- var o, n, s;
410
- if (Array.isArray(e)) {
411
- if (o = e.length, o != t.length) return !1;
412
- for (n = o; n-- !== 0; )
413
- if (!i(e[n], t[n])) return !1;
403
+ var me, Se;
404
+ function tt() {
405
+ return Se || (Se = 1, me = function e(t, s) {
406
+ if (t === s) return !0;
407
+ if (t && s && typeof t == "object" && typeof s == "object") {
408
+ if (t.constructor !== s.constructor) return !1;
409
+ var o, r, n;
410
+ if (Array.isArray(t)) {
411
+ if (o = t.length, o != s.length) return !1;
412
+ for (r = o; r-- !== 0; )
413
+ if (!e(t[r], s[r])) return !1;
414
414
  return !0;
415
415
  }
416
- if (e.constructor === RegExp) return e.source === t.source && e.flags === t.flags;
417
- if (e.valueOf !== Object.prototype.valueOf) return e.valueOf() === t.valueOf();
418
- if (e.toString !== Object.prototype.toString) return e.toString() === t.toString();
419
- if (s = Object.keys(e), o = s.length, o !== Object.keys(t).length) return !1;
420
- for (n = o; n-- !== 0; )
421
- if (!Object.prototype.hasOwnProperty.call(t, s[n])) return !1;
422
- for (n = o; n-- !== 0; ) {
423
- var a = s[n];
424
- if (!i(e[a], t[a])) return !1;
416
+ if (t.constructor === RegExp) return t.source === s.source && t.flags === s.flags;
417
+ if (t.valueOf !== Object.prototype.valueOf) return t.valueOf() === s.valueOf();
418
+ if (t.toString !== Object.prototype.toString) return t.toString() === s.toString();
419
+ if (n = Object.keys(t), o = n.length, o !== Object.keys(s).length) return !1;
420
+ for (r = o; r-- !== 0; )
421
+ if (!Object.prototype.hasOwnProperty.call(s, n[r])) return !1;
422
+ for (r = o; r-- !== 0; ) {
423
+ var a = n[r];
424
+ if (!e(t[a], s[a])) return !1;
425
425
  }
426
426
  return !0;
427
427
  }
428
- return e !== e && t !== t;
429
- }), k;
428
+ return t !== t && s !== s;
429
+ }), me;
430
430
  }
431
- var ue = re();
432
- const fe = /* @__PURE__ */ ce(ue);
433
- function Se(i) {
434
- let e = i, t;
435
- const o = P({
436
- fields: structuredClone(i),
431
+ var st = tt();
432
+ const ot = /* @__PURE__ */ et(st);
433
+ function Xt(e) {
434
+ let t = e, s;
435
+ const o = J({
436
+ fields: structuredClone(e),
437
437
  errors: {},
438
438
  dirty: !1,
439
439
  hasErrors: !1,
440
440
  processing: !1,
441
441
  wasSuccessful: !1,
442
442
  recentlySuccessful: !1,
443
- async submit(n, s = {}) {
443
+ async submit(r, n = {}) {
444
444
  if (this.processing) return;
445
445
  const a = {
446
446
  onBefore: async () => {
447
- this.processing = !0, this.wasSuccessful = !1, this.recentlySuccessful = !1, clearTimeout(t), s.onBefore && await s.onBefore();
447
+ this.processing = !0, this.wasSuccessful = !1, this.recentlySuccessful = !1, clearTimeout(s), n.onBefore && await n.onBefore();
448
448
  },
449
- onSuccess: async (l) => {
450
- this.clearErrors(), this.wasSuccessful = !0, this.recentlySuccessful = !0, t = window.setTimeout(() => {
449
+ onSuccess: async (i) => {
450
+ this.clearErrors(), this.wasSuccessful = !0, this.recentlySuccessful = !0, s = window.setTimeout(() => {
451
451
  this.recentlySuccessful = !1;
452
- }, 2e3), s.onSuccess && await s.onSuccess(l), e = structuredClone(this.fields);
452
+ }, 2e3), n.onSuccess && await n.onSuccess(i), t = structuredClone(this.fields);
453
453
  },
454
- onError: async (l) => {
455
- var r, f, h, d, m;
456
- this.hasErrors = !0, (((r = l == null ? void 0 : l.response) == null ? void 0 : r.status) === 422 || ((f = l == null ? void 0 : l.response) == null ? void 0 : f.status) === 401) && (this.clearErrors(), this.setErrors({
457
- message: (h = l == null ? void 0 : l.response) == null ? void 0 : h.data.message,
458
- ...(m = (d = l == null ? void 0 : l.response) == null ? void 0 : d.data) == null ? void 0 : m.errors
459
- })), s.onError && await s.onError(l);
454
+ onError: async (i) => {
455
+ var d, h, g, w, x;
456
+ this.hasErrors = !0, (((d = i == null ? void 0 : i.response) == null ? void 0 : d.status) === 422 || ((h = i == null ? void 0 : i.response) == null ? void 0 : h.status) === 401) && (this.clearErrors(), this.setErrors({
457
+ message: (g = i == null ? void 0 : i.response) == null ? void 0 : g.data.message,
458
+ ...(x = (w = i == null ? void 0 : i.response) == null ? void 0 : w.data) == null ? void 0 : x.errors
459
+ })), n.onError && await n.onError(i);
460
460
  },
461
461
  onFinish: async () => {
462
- this.processing = !1, s.onFinish && await s.onFinish();
462
+ this.processing = !1, n.onFinish && await n.onFinish();
463
463
  }
464
464
  };
465
465
  await a.onBefore();
466
466
  try {
467
- const l = await n(this.fields);
468
- await a.onSuccess(l);
469
- } catch (l) {
470
- await a.onError(l);
467
+ const i = await r(this.fields);
468
+ await a.onSuccess(i);
469
+ } catch (i) {
470
+ await a.onError(i);
471
471
  } finally {
472
472
  await a.onFinish();
473
473
  }
474
474
  },
475
- reset(...n) {
476
- const s = structuredClone(e);
477
- n.length === 0 ? this.fields = s : n.forEach((a) => {
478
- s[a] !== void 0 && (this.fields[a] = s[a]);
475
+ reset(...r) {
476
+ const n = structuredClone(t);
477
+ r.length === 0 ? this.fields = n : r.forEach((a) => {
478
+ n[a] !== void 0 && (this.fields[a] = n[a]);
479
479
  });
480
480
  },
481
- clearErrors(...n) {
482
- n.length === 0 ? this.errors = {} : n.forEach((s) => delete this.errors[s]), this.hasErrors = Object.keys(this.errors).length > 0;
481
+ clearErrors(...r) {
482
+ r.length === 0 ? this.errors = {} : r.forEach((n) => delete this.errors[n]), this.hasErrors = Object.keys(this.errors).length > 0;
483
483
  },
484
- setErrors(n) {
485
- this.errors = { ...this.errors, ...n }, this.hasErrors = Object.keys(this.errors).length > 0;
484
+ setErrors(r) {
485
+ this.errors = { ...this.errors, ...r }, this.hasErrors = Object.keys(this.errors).length > 0;
486
486
  }
487
487
  });
488
- return O(
488
+ return X(
489
489
  () => o.fields,
490
490
  () => {
491
- o.dirty = !fe(o.fields, e);
491
+ o.dirty = !ot(o.fields, t);
492
492
  },
493
493
  { immediate: !0, deep: !0 }
494
494
  ), o;
495
495
  }
496
- function Pe({ directions: i, threshold: e, onSwipeOut: t }) {
497
- const o = u(!1), n = u({ x: 0, y: 0 }), s = u(), a = u({ x: 0, y: 0 }), l = (d) => 1 / (1.5 + Math.abs(d) / 20);
498
- function r(d) {
499
- s.value = Date.now(), d.target.setPointerCapture(d.pointerId), !d.target.closest("button, a, input, textarea, select") && (a.value = { x: d.clientX, y: d.clientY }, o.value = !0);
496
+ function Qt({ directions: e, threshold: t, onSwipeOut: s }) {
497
+ const o = y(!1), r = y({ x: 0, y: 0 }), n = y(), a = y({ x: 0, y: 0 }), i = (w) => 1 / (1.5 + Math.abs(w) / 20);
498
+ function d(w) {
499
+ n.value = Date.now(), w.target.setPointerCapture(w.pointerId), !w.target.closest("button, a, input, textarea, select") && (a.value = { x: w.clientX, y: w.clientY }, o.value = !0);
500
500
  }
501
- function f(d) {
501
+ function h(w) {
502
502
  if (!o.value) return;
503
- const m = { x: 0, y: 0 }, g = d.clientX - a.value.x, v = d.clientY - a.value.y;
504
- if (i.value.includes("left") && g < 0 || i.value.includes("right") && g > 0)
505
- m.x = g;
503
+ const x = { x: 0, y: 0 }, S = w.clientX - a.value.x, b = w.clientY - a.value.y;
504
+ if (e.value.includes("left") && S < 0 || e.value.includes("right") && S > 0)
505
+ x.x = S;
506
506
  else {
507
- const I = g * l(g);
508
- m.x = Math.abs(I) < Math.abs(g) ? I : g;
507
+ const k = S * i(S);
508
+ x.x = Math.abs(k) < Math.abs(S) ? k : S;
509
509
  }
510
- if (i.value.includes("top") && v < 0 || i.value.includes("bottom") && v > 0)
511
- m.y = v;
510
+ if (e.value.includes("top") && b < 0 || e.value.includes("bottom") && b > 0)
511
+ x.y = b;
512
512
  else {
513
- const I = v * l(v);
514
- m.y = Math.abs(I) < Math.abs(v) ? I : v;
513
+ const k = b * i(b);
514
+ x.y = Math.abs(k) < Math.abs(b) ? k : b;
515
515
  }
516
- n.value = m;
516
+ r.value = x;
517
517
  }
518
- function h() {
518
+ function g() {
519
519
  if (!o.value) return;
520
- const d = Date.now() - (s.value ?? 0), m = n.value.x, g = Math.abs(m) / d;
521
- if (Math.abs(m) >= e || g > 0.11) {
522
- t();
520
+ const w = Date.now() - (n.value ?? 0), x = r.value.x, S = Math.abs(x) / w;
521
+ if (Math.abs(x) >= t || S > 0.11) {
522
+ s();
523
523
  return;
524
524
  }
525
- o.value = !1, n.value = { x: 0, y: 0 };
525
+ o.value = !1, r.value = { x: 0, y: 0 };
526
526
  }
527
527
  return {
528
- offset: n,
528
+ offset: r,
529
529
  isSwiping: o,
530
- onPointerDown: r,
531
- onPointerMove: f,
532
- onPointerUp: h
530
+ onPointerDown: d,
531
+ onPointerMove: h,
532
+ onPointerUp: g
533
533
  };
534
534
  }
535
- function Oe({ duration: i, isPaused: e, onTimeout: t, immediate: o = !0 }) {
536
- const n = u(), s = u(0), a = u(i);
537
- function l() {
538
- a.value === 1 / 0 || e() || (s.value = Date.now(), n.value = window.setTimeout(() => {
539
- t();
535
+ function Zt({ duration: e, isPaused: t, onTimeout: s, immediate: o = !0 }) {
536
+ const r = y(), n = y(0), a = y(e);
537
+ function i() {
538
+ a.value === 1 / 0 || t() || (n.value = Date.now(), r.value = window.setTimeout(() => {
539
+ s();
540
540
  }, a.value));
541
541
  }
542
- function r() {
543
- f();
544
- const h = Date.now() - s.value;
545
- a.value -= h;
542
+ function d() {
543
+ h();
544
+ const g = Date.now() - n.value;
545
+ a.value -= g;
546
546
  }
547
- function f() {
548
- n.value && (clearTimeout(n.value), n.value = null);
547
+ function h() {
548
+ r.value && (clearTimeout(r.value), r.value = null);
549
549
  }
550
- return O(
551
- e,
552
- (h) => {
553
- if (h) {
554
- r();
550
+ return X(
551
+ t,
552
+ (g) => {
553
+ if (g) {
554
+ d();
555
555
  return;
556
556
  }
557
- l();
557
+ i();
558
558
  },
559
559
  { immediate: o }
560
- ), ne(() => {
561
- f();
562
- }), { cancel: f };
560
+ ), qe(() => {
561
+ h();
562
+ }), { cancel: h };
563
+ }
564
+ const oe = y(!1), ve = y(!1), ye = y(300), q = y(null), Oe = J({}), ze = Je(null);
565
+ function rt(e, t = {}) {
566
+ q.value && clearTimeout(q.value), ze.value = e, Object.assign(Oe, t), ve.value = !0, oe.value = !0, q.value = window.setTimeout(() => {
567
+ oe.value = !1;
568
+ }, ye.value);
569
+ }
570
+ function nt() {
571
+ q.value && clearTimeout(q.value), ve.value = !1, oe.value = !0, q.value = window.setTimeout(() => {
572
+ oe.value = !1;
573
+ }, ye.value);
574
+ }
575
+ function es() {
576
+ return { isOpen: ve, isAnimating: oe, animationTime: ye, props: Oe, component: ze, open: rt, close: nt };
577
+ }
578
+ const xe = "-", at = (e) => {
579
+ const t = lt(e), {
580
+ conflictingClassGroups: s,
581
+ conflictingClassGroupModifiers: o
582
+ } = e;
583
+ return {
584
+ getClassGroupId: (a) => {
585
+ const i = a.split(xe);
586
+ return i[0] === "" && i.length !== 1 && i.shift(), Be(i, t) || it(a);
587
+ },
588
+ getConflictingClassGroupIds: (a, i) => {
589
+ const d = s[a] || [];
590
+ return i && o[a] ? [...d, ...o[a]] : d;
591
+ }
592
+ };
593
+ }, Be = (e, t) => {
594
+ var a;
595
+ if (e.length === 0)
596
+ return t.classGroupId;
597
+ const s = e[0], o = t.nextPart.get(s), r = o ? Be(e.slice(1), o) : void 0;
598
+ if (r)
599
+ return r;
600
+ if (t.validators.length === 0)
601
+ return;
602
+ const n = e.join(xe);
603
+ return (a = t.validators.find(({
604
+ validator: i
605
+ }) => i(n))) == null ? void 0 : a.classGroupId;
606
+ }, Me = /^\[(.+)\]$/, it = (e) => {
607
+ if (Me.test(e)) {
608
+ const t = Me.exec(e)[1], s = t == null ? void 0 : t.substring(0, t.indexOf(":"));
609
+ if (s)
610
+ return "arbitrary.." + s;
611
+ }
612
+ }, lt = (e) => {
613
+ const {
614
+ theme: t,
615
+ classGroups: s
616
+ } = e, o = {
617
+ nextPart: /* @__PURE__ */ new Map(),
618
+ validators: []
619
+ };
620
+ for (const r in s)
621
+ ge(s[r], o, r, t);
622
+ return o;
623
+ }, ge = (e, t, s, o) => {
624
+ e.forEach((r) => {
625
+ if (typeof r == "string") {
626
+ const n = r === "" ? t : Ae(t, r);
627
+ n.classGroupId = s;
628
+ return;
629
+ }
630
+ if (typeof r == "function") {
631
+ if (ct(r)) {
632
+ ge(r(o), t, s, o);
633
+ return;
634
+ }
635
+ t.validators.push({
636
+ validator: r,
637
+ classGroupId: s
638
+ });
639
+ return;
640
+ }
641
+ Object.entries(r).forEach(([n, a]) => {
642
+ ge(a, Ae(t, n), s, o);
643
+ });
644
+ });
645
+ }, Ae = (e, t) => {
646
+ let s = e;
647
+ return t.split(xe).forEach((o) => {
648
+ s.nextPart.has(o) || s.nextPart.set(o, {
649
+ nextPart: /* @__PURE__ */ new Map(),
650
+ validators: []
651
+ }), s = s.nextPart.get(o);
652
+ }), s;
653
+ }, ct = (e) => e.isThemeGetter, dt = (e) => {
654
+ if (e < 1)
655
+ return {
656
+ get: () => {
657
+ },
658
+ set: () => {
659
+ }
660
+ };
661
+ let t = 0, s = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
662
+ const r = (n, a) => {
663
+ s.set(n, a), t++, t > e && (t = 0, o = s, s = /* @__PURE__ */ new Map());
664
+ };
665
+ return {
666
+ get(n) {
667
+ let a = s.get(n);
668
+ if (a !== void 0)
669
+ return a;
670
+ if ((a = o.get(n)) !== void 0)
671
+ return r(n, a), a;
672
+ },
673
+ set(n, a) {
674
+ s.has(n) ? s.set(n, a) : r(n, a);
675
+ }
676
+ };
677
+ }, be = "!", we = ":", ut = we.length, mt = (e) => {
678
+ const {
679
+ prefix: t,
680
+ experimentalParseClassName: s
681
+ } = e;
682
+ let o = (r) => {
683
+ const n = [];
684
+ let a = 0, i = 0, d = 0, h;
685
+ for (let b = 0; b < r.length; b++) {
686
+ let k = r[b];
687
+ if (a === 0 && i === 0) {
688
+ if (k === we) {
689
+ n.push(r.slice(d, b)), d = b + ut;
690
+ continue;
691
+ }
692
+ if (k === "/") {
693
+ h = b;
694
+ continue;
695
+ }
696
+ }
697
+ k === "[" ? a++ : k === "]" ? a-- : k === "(" ? i++ : k === ")" && i--;
698
+ }
699
+ const g = n.length === 0 ? r : r.substring(d), w = ft(g), x = w !== g, S = h && h > d ? h - d : void 0;
700
+ return {
701
+ modifiers: n,
702
+ hasImportantModifier: x,
703
+ baseClassName: w,
704
+ maybePostfixModifierPosition: S
705
+ };
706
+ };
707
+ if (t) {
708
+ const r = t + we, n = o;
709
+ o = (a) => a.startsWith(r) ? n(a.substring(r.length)) : {
710
+ isExternal: !0,
711
+ modifiers: [],
712
+ hasImportantModifier: !1,
713
+ baseClassName: a,
714
+ maybePostfixModifierPosition: void 0
715
+ };
716
+ }
717
+ if (s) {
718
+ const r = o;
719
+ o = (n) => s({
720
+ className: n,
721
+ parseClassName: r
722
+ });
723
+ }
724
+ return o;
725
+ }, ft = (e) => e.endsWith(be) ? e.substring(0, e.length - 1) : e.startsWith(be) ? e.substring(1) : e, pt = (e) => {
726
+ const t = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
727
+ return (o) => {
728
+ if (o.length <= 1)
729
+ return o;
730
+ const r = [];
731
+ let n = [];
732
+ return o.forEach((a) => {
733
+ a[0] === "[" || t[a] ? (r.push(...n.sort(), a), n = []) : n.push(a);
734
+ }), r.push(...n.sort()), r;
735
+ };
736
+ }, ht = (e) => ({
737
+ cache: dt(e.cacheSize),
738
+ parseClassName: mt(e),
739
+ sortModifiers: pt(e),
740
+ ...at(e)
741
+ }), gt = /\s+/, bt = (e, t) => {
742
+ const {
743
+ parseClassName: s,
744
+ getClassGroupId: o,
745
+ getConflictingClassGroupIds: r,
746
+ sortModifiers: n
747
+ } = t, a = [], i = e.trim().split(gt);
748
+ let d = "";
749
+ for (let h = i.length - 1; h >= 0; h -= 1) {
750
+ const g = i[h], {
751
+ isExternal: w,
752
+ modifiers: x,
753
+ hasImportantModifier: S,
754
+ baseClassName: b,
755
+ maybePostfixModifierPosition: k
756
+ } = s(g);
757
+ if (w) {
758
+ d = g + (d.length > 0 ? " " + d : d);
759
+ continue;
760
+ }
761
+ let F = !!k, z = o(F ? b.substring(0, k) : b);
762
+ if (!z) {
763
+ if (!F) {
764
+ d = g + (d.length > 0 ? " " + d : d);
765
+ continue;
766
+ }
767
+ if (z = o(b), !z) {
768
+ d = g + (d.length > 0 ? " " + d : d);
769
+ continue;
770
+ }
771
+ F = !1;
772
+ }
773
+ const K = n(x).join(":"), B = S ? K + be : K, N = B + z;
774
+ if (a.includes(N))
775
+ continue;
776
+ a.push(N);
777
+ const V = r(z, F);
778
+ for (let L = 0; L < V.length; ++L) {
779
+ const $ = V[L];
780
+ a.push(B + $);
781
+ }
782
+ d = g + (d.length > 0 ? " " + d : d);
783
+ }
784
+ return d;
785
+ };
786
+ function wt() {
787
+ let e = 0, t, s, o = "";
788
+ for (; e < arguments.length; )
789
+ (t = arguments[e++]) && (s = Le(t)) && (o && (o += " "), o += s);
790
+ return o;
563
791
  }
564
- const E = u(!1), L = u(!1), Y = u(300), S = u(null), R = P({}), H = ie(null);
565
- function de(i, e = {}) {
566
- S.value && clearTimeout(S.value), H.value = i, Object.assign(R, e), L.value = !0, E.value = !0, S.value = window.setTimeout(() => {
567
- E.value = !1;
568
- }, Y.value);
792
+ const Le = (e) => {
793
+ if (typeof e == "string")
794
+ return e;
795
+ let t, s = "";
796
+ for (let o = 0; o < e.length; o++)
797
+ e[o] && (t = Le(e[o])) && (s && (s += " "), s += t);
798
+ return s;
799
+ };
800
+ function vt(e, ...t) {
801
+ let s, o, r, n = a;
802
+ function a(d) {
803
+ const h = t.reduce((g, w) => w(g), e());
804
+ return s = ht(h), o = s.cache.get, r = s.cache.set, n = i, i(d);
805
+ }
806
+ function i(d) {
807
+ const h = o(d);
808
+ if (h)
809
+ return h;
810
+ const g = bt(d, s);
811
+ return r(d, g), g;
812
+ }
813
+ return function() {
814
+ return n(wt.apply(null, arguments));
815
+ };
816
+ }
817
+ const T = (e) => {
818
+ const t = (s) => s[e] || [];
819
+ return t.isThemeGetter = !0, t;
820
+ }, Re = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Fe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, yt = /^\d+\/\d+$/, xt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, kt = /\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$/, It = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Tt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, St = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, W = (e) => yt.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), _ = (e) => !!e && Number.isInteger(Number(e)), fe = (e) => e.endsWith("%") && p(e.slice(0, -1)), R = (e) => xt.test(e), Mt = () => !0, At = (e) => (
821
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
822
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
823
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
824
+ kt.test(e) && !It.test(e)
825
+ ), Ne = () => !1, Pt = (e) => Tt.test(e), Ct = (e) => St.test(e), Et = (e) => !l(e) && !c(e), Dt = (e) => Q(e, $e, Ne), l = (e) => Re.test(e), j = (e) => Q(e, Ge, At), pe = (e) => Q(e, Rt, p), Pe = (e) => Q(e, Ve, Ne), Ot = (e) => Q(e, _e, Ct), le = (e) => Q(e, je, Pt), c = (e) => Fe.test(e), se = (e) => Z(e, Ge), zt = (e) => Z(e, Ft), Ce = (e) => Z(e, Ve), Bt = (e) => Z(e, $e), Lt = (e) => Z(e, _e), ce = (e) => Z(e, je, !0), Q = (e, t, s) => {
826
+ const o = Re.exec(e);
827
+ return o ? o[1] ? t(o[1]) : s(o[2]) : !1;
828
+ }, Z = (e, t, s = !1) => {
829
+ const o = Fe.exec(e);
830
+ return o ? o[1] ? t(o[1]) : s : !1;
831
+ }, Ve = (e) => e === "position" || e === "percentage", _e = (e) => e === "image" || e === "url", $e = (e) => e === "length" || e === "size" || e === "bg-size", Ge = (e) => e === "length", Rt = (e) => e === "number", Ft = (e) => e === "family-name", je = (e) => e === "shadow", Nt = () => {
832
+ const e = T("color"), t = T("font"), s = T("text"), o = T("font-weight"), r = T("tracking"), n = T("leading"), a = T("breakpoint"), i = T("container"), d = T("spacing"), h = T("radius"), g = T("shadow"), w = T("inset-shadow"), x = T("text-shadow"), S = T("drop-shadow"), b = T("blur"), k = T("perspective"), F = T("aspect"), z = T("ease"), K = T("animate"), B = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], N = () => [
833
+ "center",
834
+ "top",
835
+ "bottom",
836
+ "left",
837
+ "right",
838
+ "top-left",
839
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
840
+ "left-top",
841
+ "top-right",
842
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
843
+ "right-top",
844
+ "bottom-right",
845
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
846
+ "right-bottom",
847
+ "bottom-left",
848
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
849
+ "left-bottom"
850
+ ], V = () => [...N(), c, l], L = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], m = () => [c, l, d], C = () => [W, "full", "auto", ...m()], U = () => [_, "none", "subgrid", c, l], ee = () => ["auto", {
851
+ span: ["full", _, c, l]
852
+ }, _, c, l], G = () => [_, "auto", c, l], te = () => ["auto", "min", "max", "fr", c, l], f = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], I = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], v = () => ["auto", ...m()], A = () => [W, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...m()], u = () => [e, c, l], H = () => [...N(), Ce, Pe, {
853
+ position: [c, l]
854
+ }], O = () => ["no-repeat", {
855
+ repeat: ["", "x", "y", "space", "round"]
856
+ }], ke = () => ["auto", "cover", "contain", Bt, Dt, {
857
+ size: [c, l]
858
+ }], de = () => [fe, se, j], P = () => [
859
+ // Deprecated since Tailwind CSS v4.0.0
860
+ "",
861
+ "none",
862
+ "full",
863
+ h,
864
+ c,
865
+ l
866
+ ], E = () => ["", p, se, j], re = () => ["solid", "dashed", "dotted", "double"], Ie = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => [p, fe, Ce, Pe], Te = () => [
867
+ // Deprecated since Tailwind CSS v4.0.0
868
+ "",
869
+ "none",
870
+ b,
871
+ c,
872
+ l
873
+ ], ne = () => ["none", p, c, l], ae = () => ["none", p, c, l], ue = () => [p, c, l], ie = () => [W, "full", ...m()];
874
+ return {
875
+ cacheSize: 500,
876
+ theme: {
877
+ animate: ["spin", "ping", "pulse", "bounce"],
878
+ aspect: ["video"],
879
+ blur: [R],
880
+ breakpoint: [R],
881
+ color: [Mt],
882
+ container: [R],
883
+ "drop-shadow": [R],
884
+ ease: ["in", "out", "in-out"],
885
+ font: [Et],
886
+ "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
887
+ "inset-shadow": [R],
888
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
889
+ perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
890
+ radius: [R],
891
+ shadow: [R],
892
+ spacing: ["px", p],
893
+ text: [R],
894
+ "text-shadow": [R],
895
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
896
+ },
897
+ classGroups: {
898
+ // --------------
899
+ // --- Layout ---
900
+ // --------------
901
+ /**
902
+ * Aspect Ratio
903
+ * @see https://tailwindcss.com/docs/aspect-ratio
904
+ */
905
+ aspect: [{
906
+ aspect: ["auto", "square", W, l, c, F]
907
+ }],
908
+ /**
909
+ * Container
910
+ * @see https://tailwindcss.com/docs/container
911
+ * @deprecated since Tailwind CSS v4.0.0
912
+ */
913
+ container: ["container"],
914
+ /**
915
+ * Columns
916
+ * @see https://tailwindcss.com/docs/columns
917
+ */
918
+ columns: [{
919
+ columns: [p, l, c, i]
920
+ }],
921
+ /**
922
+ * Break After
923
+ * @see https://tailwindcss.com/docs/break-after
924
+ */
925
+ "break-after": [{
926
+ "break-after": B()
927
+ }],
928
+ /**
929
+ * Break Before
930
+ * @see https://tailwindcss.com/docs/break-before
931
+ */
932
+ "break-before": [{
933
+ "break-before": B()
934
+ }],
935
+ /**
936
+ * Break Inside
937
+ * @see https://tailwindcss.com/docs/break-inside
938
+ */
939
+ "break-inside": [{
940
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
941
+ }],
942
+ /**
943
+ * Box Decoration Break
944
+ * @see https://tailwindcss.com/docs/box-decoration-break
945
+ */
946
+ "box-decoration": [{
947
+ "box-decoration": ["slice", "clone"]
948
+ }],
949
+ /**
950
+ * Box Sizing
951
+ * @see https://tailwindcss.com/docs/box-sizing
952
+ */
953
+ box: [{
954
+ box: ["border", "content"]
955
+ }],
956
+ /**
957
+ * Display
958
+ * @see https://tailwindcss.com/docs/display
959
+ */
960
+ display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
961
+ /**
962
+ * Screen Reader Only
963
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
964
+ */
965
+ sr: ["sr-only", "not-sr-only"],
966
+ /**
967
+ * Floats
968
+ * @see https://tailwindcss.com/docs/float
969
+ */
970
+ float: [{
971
+ float: ["right", "left", "none", "start", "end"]
972
+ }],
973
+ /**
974
+ * Clear
975
+ * @see https://tailwindcss.com/docs/clear
976
+ */
977
+ clear: [{
978
+ clear: ["left", "right", "both", "none", "start", "end"]
979
+ }],
980
+ /**
981
+ * Isolation
982
+ * @see https://tailwindcss.com/docs/isolation
983
+ */
984
+ isolation: ["isolate", "isolation-auto"],
985
+ /**
986
+ * Object Fit
987
+ * @see https://tailwindcss.com/docs/object-fit
988
+ */
989
+ "object-fit": [{
990
+ object: ["contain", "cover", "fill", "none", "scale-down"]
991
+ }],
992
+ /**
993
+ * Object Position
994
+ * @see https://tailwindcss.com/docs/object-position
995
+ */
996
+ "object-position": [{
997
+ object: V()
998
+ }],
999
+ /**
1000
+ * Overflow
1001
+ * @see https://tailwindcss.com/docs/overflow
1002
+ */
1003
+ overflow: [{
1004
+ overflow: L()
1005
+ }],
1006
+ /**
1007
+ * Overflow X
1008
+ * @see https://tailwindcss.com/docs/overflow
1009
+ */
1010
+ "overflow-x": [{
1011
+ "overflow-x": L()
1012
+ }],
1013
+ /**
1014
+ * Overflow Y
1015
+ * @see https://tailwindcss.com/docs/overflow
1016
+ */
1017
+ "overflow-y": [{
1018
+ "overflow-y": L()
1019
+ }],
1020
+ /**
1021
+ * Overscroll Behavior
1022
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1023
+ */
1024
+ overscroll: [{
1025
+ overscroll: $()
1026
+ }],
1027
+ /**
1028
+ * Overscroll Behavior X
1029
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1030
+ */
1031
+ "overscroll-x": [{
1032
+ "overscroll-x": $()
1033
+ }],
1034
+ /**
1035
+ * Overscroll Behavior Y
1036
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1037
+ */
1038
+ "overscroll-y": [{
1039
+ "overscroll-y": $()
1040
+ }],
1041
+ /**
1042
+ * Position
1043
+ * @see https://tailwindcss.com/docs/position
1044
+ */
1045
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
1046
+ /**
1047
+ * Top / Right / Bottom / Left
1048
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1049
+ */
1050
+ inset: [{
1051
+ inset: C()
1052
+ }],
1053
+ /**
1054
+ * Right / Left
1055
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1056
+ */
1057
+ "inset-x": [{
1058
+ "inset-x": C()
1059
+ }],
1060
+ /**
1061
+ * Top / Bottom
1062
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1063
+ */
1064
+ "inset-y": [{
1065
+ "inset-y": C()
1066
+ }],
1067
+ /**
1068
+ * Start
1069
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1070
+ */
1071
+ start: [{
1072
+ start: C()
1073
+ }],
1074
+ /**
1075
+ * End
1076
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1077
+ */
1078
+ end: [{
1079
+ end: C()
1080
+ }],
1081
+ /**
1082
+ * Top
1083
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1084
+ */
1085
+ top: [{
1086
+ top: C()
1087
+ }],
1088
+ /**
1089
+ * Right
1090
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1091
+ */
1092
+ right: [{
1093
+ right: C()
1094
+ }],
1095
+ /**
1096
+ * Bottom
1097
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1098
+ */
1099
+ bottom: [{
1100
+ bottom: C()
1101
+ }],
1102
+ /**
1103
+ * Left
1104
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1105
+ */
1106
+ left: [{
1107
+ left: C()
1108
+ }],
1109
+ /**
1110
+ * Visibility
1111
+ * @see https://tailwindcss.com/docs/visibility
1112
+ */
1113
+ visibility: ["visible", "invisible", "collapse"],
1114
+ /**
1115
+ * Z-Index
1116
+ * @see https://tailwindcss.com/docs/z-index
1117
+ */
1118
+ z: [{
1119
+ z: [_, "auto", c, l]
1120
+ }],
1121
+ // ------------------------
1122
+ // --- Flexbox and Grid ---
1123
+ // ------------------------
1124
+ /**
1125
+ * Flex Basis
1126
+ * @see https://tailwindcss.com/docs/flex-basis
1127
+ */
1128
+ basis: [{
1129
+ basis: [W, "full", "auto", i, ...m()]
1130
+ }],
1131
+ /**
1132
+ * Flex Direction
1133
+ * @see https://tailwindcss.com/docs/flex-direction
1134
+ */
1135
+ "flex-direction": [{
1136
+ flex: ["row", "row-reverse", "col", "col-reverse"]
1137
+ }],
1138
+ /**
1139
+ * Flex Wrap
1140
+ * @see https://tailwindcss.com/docs/flex-wrap
1141
+ */
1142
+ "flex-wrap": [{
1143
+ flex: ["nowrap", "wrap", "wrap-reverse"]
1144
+ }],
1145
+ /**
1146
+ * Flex
1147
+ * @see https://tailwindcss.com/docs/flex
1148
+ */
1149
+ flex: [{
1150
+ flex: [p, W, "auto", "initial", "none", l]
1151
+ }],
1152
+ /**
1153
+ * Flex Grow
1154
+ * @see https://tailwindcss.com/docs/flex-grow
1155
+ */
1156
+ grow: [{
1157
+ grow: ["", p, c, l]
1158
+ }],
1159
+ /**
1160
+ * Flex Shrink
1161
+ * @see https://tailwindcss.com/docs/flex-shrink
1162
+ */
1163
+ shrink: [{
1164
+ shrink: ["", p, c, l]
1165
+ }],
1166
+ /**
1167
+ * Order
1168
+ * @see https://tailwindcss.com/docs/order
1169
+ */
1170
+ order: [{
1171
+ order: [_, "first", "last", "none", c, l]
1172
+ }],
1173
+ /**
1174
+ * Grid Template Columns
1175
+ * @see https://tailwindcss.com/docs/grid-template-columns
1176
+ */
1177
+ "grid-cols": [{
1178
+ "grid-cols": U()
1179
+ }],
1180
+ /**
1181
+ * Grid Column Start / End
1182
+ * @see https://tailwindcss.com/docs/grid-column
1183
+ */
1184
+ "col-start-end": [{
1185
+ col: ee()
1186
+ }],
1187
+ /**
1188
+ * Grid Column Start
1189
+ * @see https://tailwindcss.com/docs/grid-column
1190
+ */
1191
+ "col-start": [{
1192
+ "col-start": G()
1193
+ }],
1194
+ /**
1195
+ * Grid Column End
1196
+ * @see https://tailwindcss.com/docs/grid-column
1197
+ */
1198
+ "col-end": [{
1199
+ "col-end": G()
1200
+ }],
1201
+ /**
1202
+ * Grid Template Rows
1203
+ * @see https://tailwindcss.com/docs/grid-template-rows
1204
+ */
1205
+ "grid-rows": [{
1206
+ "grid-rows": U()
1207
+ }],
1208
+ /**
1209
+ * Grid Row Start / End
1210
+ * @see https://tailwindcss.com/docs/grid-row
1211
+ */
1212
+ "row-start-end": [{
1213
+ row: ee()
1214
+ }],
1215
+ /**
1216
+ * Grid Row Start
1217
+ * @see https://tailwindcss.com/docs/grid-row
1218
+ */
1219
+ "row-start": [{
1220
+ "row-start": G()
1221
+ }],
1222
+ /**
1223
+ * Grid Row End
1224
+ * @see https://tailwindcss.com/docs/grid-row
1225
+ */
1226
+ "row-end": [{
1227
+ "row-end": G()
1228
+ }],
1229
+ /**
1230
+ * Grid Auto Flow
1231
+ * @see https://tailwindcss.com/docs/grid-auto-flow
1232
+ */
1233
+ "grid-flow": [{
1234
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
1235
+ }],
1236
+ /**
1237
+ * Grid Auto Columns
1238
+ * @see https://tailwindcss.com/docs/grid-auto-columns
1239
+ */
1240
+ "auto-cols": [{
1241
+ "auto-cols": te()
1242
+ }],
1243
+ /**
1244
+ * Grid Auto Rows
1245
+ * @see https://tailwindcss.com/docs/grid-auto-rows
1246
+ */
1247
+ "auto-rows": [{
1248
+ "auto-rows": te()
1249
+ }],
1250
+ /**
1251
+ * Gap
1252
+ * @see https://tailwindcss.com/docs/gap
1253
+ */
1254
+ gap: [{
1255
+ gap: m()
1256
+ }],
1257
+ /**
1258
+ * Gap X
1259
+ * @see https://tailwindcss.com/docs/gap
1260
+ */
1261
+ "gap-x": [{
1262
+ "gap-x": m()
1263
+ }],
1264
+ /**
1265
+ * Gap Y
1266
+ * @see https://tailwindcss.com/docs/gap
1267
+ */
1268
+ "gap-y": [{
1269
+ "gap-y": m()
1270
+ }],
1271
+ /**
1272
+ * Justify Content
1273
+ * @see https://tailwindcss.com/docs/justify-content
1274
+ */
1275
+ "justify-content": [{
1276
+ justify: [...f(), "normal"]
1277
+ }],
1278
+ /**
1279
+ * Justify Items
1280
+ * @see https://tailwindcss.com/docs/justify-items
1281
+ */
1282
+ "justify-items": [{
1283
+ "justify-items": [...I(), "normal"]
1284
+ }],
1285
+ /**
1286
+ * Justify Self
1287
+ * @see https://tailwindcss.com/docs/justify-self
1288
+ */
1289
+ "justify-self": [{
1290
+ "justify-self": ["auto", ...I()]
1291
+ }],
1292
+ /**
1293
+ * Align Content
1294
+ * @see https://tailwindcss.com/docs/align-content
1295
+ */
1296
+ "align-content": [{
1297
+ content: ["normal", ...f()]
1298
+ }],
1299
+ /**
1300
+ * Align Items
1301
+ * @see https://tailwindcss.com/docs/align-items
1302
+ */
1303
+ "align-items": [{
1304
+ items: [...I(), {
1305
+ baseline: ["", "last"]
1306
+ }]
1307
+ }],
1308
+ /**
1309
+ * Align Self
1310
+ * @see https://tailwindcss.com/docs/align-self
1311
+ */
1312
+ "align-self": [{
1313
+ self: ["auto", ...I(), {
1314
+ baseline: ["", "last"]
1315
+ }]
1316
+ }],
1317
+ /**
1318
+ * Place Content
1319
+ * @see https://tailwindcss.com/docs/place-content
1320
+ */
1321
+ "place-content": [{
1322
+ "place-content": f()
1323
+ }],
1324
+ /**
1325
+ * Place Items
1326
+ * @see https://tailwindcss.com/docs/place-items
1327
+ */
1328
+ "place-items": [{
1329
+ "place-items": [...I(), "baseline"]
1330
+ }],
1331
+ /**
1332
+ * Place Self
1333
+ * @see https://tailwindcss.com/docs/place-self
1334
+ */
1335
+ "place-self": [{
1336
+ "place-self": ["auto", ...I()]
1337
+ }],
1338
+ // Spacing
1339
+ /**
1340
+ * Padding
1341
+ * @see https://tailwindcss.com/docs/padding
1342
+ */
1343
+ p: [{
1344
+ p: m()
1345
+ }],
1346
+ /**
1347
+ * Padding X
1348
+ * @see https://tailwindcss.com/docs/padding
1349
+ */
1350
+ px: [{
1351
+ px: m()
1352
+ }],
1353
+ /**
1354
+ * Padding Y
1355
+ * @see https://tailwindcss.com/docs/padding
1356
+ */
1357
+ py: [{
1358
+ py: m()
1359
+ }],
1360
+ /**
1361
+ * Padding Start
1362
+ * @see https://tailwindcss.com/docs/padding
1363
+ */
1364
+ ps: [{
1365
+ ps: m()
1366
+ }],
1367
+ /**
1368
+ * Padding End
1369
+ * @see https://tailwindcss.com/docs/padding
1370
+ */
1371
+ pe: [{
1372
+ pe: m()
1373
+ }],
1374
+ /**
1375
+ * Padding Top
1376
+ * @see https://tailwindcss.com/docs/padding
1377
+ */
1378
+ pt: [{
1379
+ pt: m()
1380
+ }],
1381
+ /**
1382
+ * Padding Right
1383
+ * @see https://tailwindcss.com/docs/padding
1384
+ */
1385
+ pr: [{
1386
+ pr: m()
1387
+ }],
1388
+ /**
1389
+ * Padding Bottom
1390
+ * @see https://tailwindcss.com/docs/padding
1391
+ */
1392
+ pb: [{
1393
+ pb: m()
1394
+ }],
1395
+ /**
1396
+ * Padding Left
1397
+ * @see https://tailwindcss.com/docs/padding
1398
+ */
1399
+ pl: [{
1400
+ pl: m()
1401
+ }],
1402
+ /**
1403
+ * Margin
1404
+ * @see https://tailwindcss.com/docs/margin
1405
+ */
1406
+ m: [{
1407
+ m: v()
1408
+ }],
1409
+ /**
1410
+ * Margin X
1411
+ * @see https://tailwindcss.com/docs/margin
1412
+ */
1413
+ mx: [{
1414
+ mx: v()
1415
+ }],
1416
+ /**
1417
+ * Margin Y
1418
+ * @see https://tailwindcss.com/docs/margin
1419
+ */
1420
+ my: [{
1421
+ my: v()
1422
+ }],
1423
+ /**
1424
+ * Margin Start
1425
+ * @see https://tailwindcss.com/docs/margin
1426
+ */
1427
+ ms: [{
1428
+ ms: v()
1429
+ }],
1430
+ /**
1431
+ * Margin End
1432
+ * @see https://tailwindcss.com/docs/margin
1433
+ */
1434
+ me: [{
1435
+ me: v()
1436
+ }],
1437
+ /**
1438
+ * Margin Top
1439
+ * @see https://tailwindcss.com/docs/margin
1440
+ */
1441
+ mt: [{
1442
+ mt: v()
1443
+ }],
1444
+ /**
1445
+ * Margin Right
1446
+ * @see https://tailwindcss.com/docs/margin
1447
+ */
1448
+ mr: [{
1449
+ mr: v()
1450
+ }],
1451
+ /**
1452
+ * Margin Bottom
1453
+ * @see https://tailwindcss.com/docs/margin
1454
+ */
1455
+ mb: [{
1456
+ mb: v()
1457
+ }],
1458
+ /**
1459
+ * Margin Left
1460
+ * @see https://tailwindcss.com/docs/margin
1461
+ */
1462
+ ml: [{
1463
+ ml: v()
1464
+ }],
1465
+ /**
1466
+ * Space Between X
1467
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1468
+ */
1469
+ "space-x": [{
1470
+ "space-x": m()
1471
+ }],
1472
+ /**
1473
+ * Space Between X Reverse
1474
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1475
+ */
1476
+ "space-x-reverse": ["space-x-reverse"],
1477
+ /**
1478
+ * Space Between Y
1479
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1480
+ */
1481
+ "space-y": [{
1482
+ "space-y": m()
1483
+ }],
1484
+ /**
1485
+ * Space Between Y Reverse
1486
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1487
+ */
1488
+ "space-y-reverse": ["space-y-reverse"],
1489
+ // --------------
1490
+ // --- Sizing ---
1491
+ // --------------
1492
+ /**
1493
+ * Size
1494
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1495
+ */
1496
+ size: [{
1497
+ size: A()
1498
+ }],
1499
+ /**
1500
+ * Width
1501
+ * @see https://tailwindcss.com/docs/width
1502
+ */
1503
+ w: [{
1504
+ w: [i, "screen", ...A()]
1505
+ }],
1506
+ /**
1507
+ * Min-Width
1508
+ * @see https://tailwindcss.com/docs/min-width
1509
+ */
1510
+ "min-w": [{
1511
+ "min-w": [
1512
+ i,
1513
+ "screen",
1514
+ /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1515
+ "none",
1516
+ ...A()
1517
+ ]
1518
+ }],
1519
+ /**
1520
+ * Max-Width
1521
+ * @see https://tailwindcss.com/docs/max-width
1522
+ */
1523
+ "max-w": [{
1524
+ "max-w": [
1525
+ i,
1526
+ "screen",
1527
+ "none",
1528
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1529
+ "prose",
1530
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1531
+ {
1532
+ screen: [a]
1533
+ },
1534
+ ...A()
1535
+ ]
1536
+ }],
1537
+ /**
1538
+ * Height
1539
+ * @see https://tailwindcss.com/docs/height
1540
+ */
1541
+ h: [{
1542
+ h: ["screen", "lh", ...A()]
1543
+ }],
1544
+ /**
1545
+ * Min-Height
1546
+ * @see https://tailwindcss.com/docs/min-height
1547
+ */
1548
+ "min-h": [{
1549
+ "min-h": ["screen", "lh", "none", ...A()]
1550
+ }],
1551
+ /**
1552
+ * Max-Height
1553
+ * @see https://tailwindcss.com/docs/max-height
1554
+ */
1555
+ "max-h": [{
1556
+ "max-h": ["screen", "lh", ...A()]
1557
+ }],
1558
+ // ------------------
1559
+ // --- Typography ---
1560
+ // ------------------
1561
+ /**
1562
+ * Font Size
1563
+ * @see https://tailwindcss.com/docs/font-size
1564
+ */
1565
+ "font-size": [{
1566
+ text: ["base", s, se, j]
1567
+ }],
1568
+ /**
1569
+ * Font Smoothing
1570
+ * @see https://tailwindcss.com/docs/font-smoothing
1571
+ */
1572
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1573
+ /**
1574
+ * Font Style
1575
+ * @see https://tailwindcss.com/docs/font-style
1576
+ */
1577
+ "font-style": ["italic", "not-italic"],
1578
+ /**
1579
+ * Font Weight
1580
+ * @see https://tailwindcss.com/docs/font-weight
1581
+ */
1582
+ "font-weight": [{
1583
+ font: [o, c, pe]
1584
+ }],
1585
+ /**
1586
+ * Font Stretch
1587
+ * @see https://tailwindcss.com/docs/font-stretch
1588
+ */
1589
+ "font-stretch": [{
1590
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", fe, l]
1591
+ }],
1592
+ /**
1593
+ * Font Family
1594
+ * @see https://tailwindcss.com/docs/font-family
1595
+ */
1596
+ "font-family": [{
1597
+ font: [zt, l, t]
1598
+ }],
1599
+ /**
1600
+ * Font Variant Numeric
1601
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1602
+ */
1603
+ "fvn-normal": ["normal-nums"],
1604
+ /**
1605
+ * Font Variant Numeric
1606
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1607
+ */
1608
+ "fvn-ordinal": ["ordinal"],
1609
+ /**
1610
+ * Font Variant Numeric
1611
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1612
+ */
1613
+ "fvn-slashed-zero": ["slashed-zero"],
1614
+ /**
1615
+ * Font Variant Numeric
1616
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1617
+ */
1618
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1619
+ /**
1620
+ * Font Variant Numeric
1621
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1622
+ */
1623
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1624
+ /**
1625
+ * Font Variant Numeric
1626
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1627
+ */
1628
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1629
+ /**
1630
+ * Letter Spacing
1631
+ * @see https://tailwindcss.com/docs/letter-spacing
1632
+ */
1633
+ tracking: [{
1634
+ tracking: [r, c, l]
1635
+ }],
1636
+ /**
1637
+ * Line Clamp
1638
+ * @see https://tailwindcss.com/docs/line-clamp
1639
+ */
1640
+ "line-clamp": [{
1641
+ "line-clamp": [p, "none", c, pe]
1642
+ }],
1643
+ /**
1644
+ * Line Height
1645
+ * @see https://tailwindcss.com/docs/line-height
1646
+ */
1647
+ leading: [{
1648
+ leading: [
1649
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1650
+ n,
1651
+ ...m()
1652
+ ]
1653
+ }],
1654
+ /**
1655
+ * List Style Image
1656
+ * @see https://tailwindcss.com/docs/list-style-image
1657
+ */
1658
+ "list-image": [{
1659
+ "list-image": ["none", c, l]
1660
+ }],
1661
+ /**
1662
+ * List Style Position
1663
+ * @see https://tailwindcss.com/docs/list-style-position
1664
+ */
1665
+ "list-style-position": [{
1666
+ list: ["inside", "outside"]
1667
+ }],
1668
+ /**
1669
+ * List Style Type
1670
+ * @see https://tailwindcss.com/docs/list-style-type
1671
+ */
1672
+ "list-style-type": [{
1673
+ list: ["disc", "decimal", "none", c, l]
1674
+ }],
1675
+ /**
1676
+ * Text Alignment
1677
+ * @see https://tailwindcss.com/docs/text-align
1678
+ */
1679
+ "text-alignment": [{
1680
+ text: ["left", "center", "right", "justify", "start", "end"]
1681
+ }],
1682
+ /**
1683
+ * Placeholder Color
1684
+ * @deprecated since Tailwind CSS v3.0.0
1685
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
1686
+ */
1687
+ "placeholder-color": [{
1688
+ placeholder: u()
1689
+ }],
1690
+ /**
1691
+ * Text Color
1692
+ * @see https://tailwindcss.com/docs/text-color
1693
+ */
1694
+ "text-color": [{
1695
+ text: u()
1696
+ }],
1697
+ /**
1698
+ * Text Decoration
1699
+ * @see https://tailwindcss.com/docs/text-decoration
1700
+ */
1701
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1702
+ /**
1703
+ * Text Decoration Style
1704
+ * @see https://tailwindcss.com/docs/text-decoration-style
1705
+ */
1706
+ "text-decoration-style": [{
1707
+ decoration: [...re(), "wavy"]
1708
+ }],
1709
+ /**
1710
+ * Text Decoration Thickness
1711
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1712
+ */
1713
+ "text-decoration-thickness": [{
1714
+ decoration: [p, "from-font", "auto", c, j]
1715
+ }],
1716
+ /**
1717
+ * Text Decoration Color
1718
+ * @see https://tailwindcss.com/docs/text-decoration-color
1719
+ */
1720
+ "text-decoration-color": [{
1721
+ decoration: u()
1722
+ }],
1723
+ /**
1724
+ * Text Underline Offset
1725
+ * @see https://tailwindcss.com/docs/text-underline-offset
1726
+ */
1727
+ "underline-offset": [{
1728
+ "underline-offset": [p, "auto", c, l]
1729
+ }],
1730
+ /**
1731
+ * Text Transform
1732
+ * @see https://tailwindcss.com/docs/text-transform
1733
+ */
1734
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1735
+ /**
1736
+ * Text Overflow
1737
+ * @see https://tailwindcss.com/docs/text-overflow
1738
+ */
1739
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1740
+ /**
1741
+ * Text Wrap
1742
+ * @see https://tailwindcss.com/docs/text-wrap
1743
+ */
1744
+ "text-wrap": [{
1745
+ text: ["wrap", "nowrap", "balance", "pretty"]
1746
+ }],
1747
+ /**
1748
+ * Text Indent
1749
+ * @see https://tailwindcss.com/docs/text-indent
1750
+ */
1751
+ indent: [{
1752
+ indent: m()
1753
+ }],
1754
+ /**
1755
+ * Vertical Alignment
1756
+ * @see https://tailwindcss.com/docs/vertical-align
1757
+ */
1758
+ "vertical-align": [{
1759
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", c, l]
1760
+ }],
1761
+ /**
1762
+ * Whitespace
1763
+ * @see https://tailwindcss.com/docs/whitespace
1764
+ */
1765
+ whitespace: [{
1766
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1767
+ }],
1768
+ /**
1769
+ * Word Break
1770
+ * @see https://tailwindcss.com/docs/word-break
1771
+ */
1772
+ break: [{
1773
+ break: ["normal", "words", "all", "keep"]
1774
+ }],
1775
+ /**
1776
+ * Overflow Wrap
1777
+ * @see https://tailwindcss.com/docs/overflow-wrap
1778
+ */
1779
+ wrap: [{
1780
+ wrap: ["break-word", "anywhere", "normal"]
1781
+ }],
1782
+ /**
1783
+ * Hyphens
1784
+ * @see https://tailwindcss.com/docs/hyphens
1785
+ */
1786
+ hyphens: [{
1787
+ hyphens: ["none", "manual", "auto"]
1788
+ }],
1789
+ /**
1790
+ * Content
1791
+ * @see https://tailwindcss.com/docs/content
1792
+ */
1793
+ content: [{
1794
+ content: ["none", c, l]
1795
+ }],
1796
+ // -------------------
1797
+ // --- Backgrounds ---
1798
+ // -------------------
1799
+ /**
1800
+ * Background Attachment
1801
+ * @see https://tailwindcss.com/docs/background-attachment
1802
+ */
1803
+ "bg-attachment": [{
1804
+ bg: ["fixed", "local", "scroll"]
1805
+ }],
1806
+ /**
1807
+ * Background Clip
1808
+ * @see https://tailwindcss.com/docs/background-clip
1809
+ */
1810
+ "bg-clip": [{
1811
+ "bg-clip": ["border", "padding", "content", "text"]
1812
+ }],
1813
+ /**
1814
+ * Background Origin
1815
+ * @see https://tailwindcss.com/docs/background-origin
1816
+ */
1817
+ "bg-origin": [{
1818
+ "bg-origin": ["border", "padding", "content"]
1819
+ }],
1820
+ /**
1821
+ * Background Position
1822
+ * @see https://tailwindcss.com/docs/background-position
1823
+ */
1824
+ "bg-position": [{
1825
+ bg: H()
1826
+ }],
1827
+ /**
1828
+ * Background Repeat
1829
+ * @see https://tailwindcss.com/docs/background-repeat
1830
+ */
1831
+ "bg-repeat": [{
1832
+ bg: O()
1833
+ }],
1834
+ /**
1835
+ * Background Size
1836
+ * @see https://tailwindcss.com/docs/background-size
1837
+ */
1838
+ "bg-size": [{
1839
+ bg: ke()
1840
+ }],
1841
+ /**
1842
+ * Background Image
1843
+ * @see https://tailwindcss.com/docs/background-image
1844
+ */
1845
+ "bg-image": [{
1846
+ bg: ["none", {
1847
+ linear: [{
1848
+ to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1849
+ }, _, c, l],
1850
+ radial: ["", c, l],
1851
+ conic: [_, c, l]
1852
+ }, Lt, Ot]
1853
+ }],
1854
+ /**
1855
+ * Background Color
1856
+ * @see https://tailwindcss.com/docs/background-color
1857
+ */
1858
+ "bg-color": [{
1859
+ bg: u()
1860
+ }],
1861
+ /**
1862
+ * Gradient Color Stops From Position
1863
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1864
+ */
1865
+ "gradient-from-pos": [{
1866
+ from: de()
1867
+ }],
1868
+ /**
1869
+ * Gradient Color Stops Via Position
1870
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1871
+ */
1872
+ "gradient-via-pos": [{
1873
+ via: de()
1874
+ }],
1875
+ /**
1876
+ * Gradient Color Stops To Position
1877
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1878
+ */
1879
+ "gradient-to-pos": [{
1880
+ to: de()
1881
+ }],
1882
+ /**
1883
+ * Gradient Color Stops From
1884
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1885
+ */
1886
+ "gradient-from": [{
1887
+ from: u()
1888
+ }],
1889
+ /**
1890
+ * Gradient Color Stops Via
1891
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1892
+ */
1893
+ "gradient-via": [{
1894
+ via: u()
1895
+ }],
1896
+ /**
1897
+ * Gradient Color Stops To
1898
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1899
+ */
1900
+ "gradient-to": [{
1901
+ to: u()
1902
+ }],
1903
+ // ---------------
1904
+ // --- Borders ---
1905
+ // ---------------
1906
+ /**
1907
+ * Border Radius
1908
+ * @see https://tailwindcss.com/docs/border-radius
1909
+ */
1910
+ rounded: [{
1911
+ rounded: P()
1912
+ }],
1913
+ /**
1914
+ * Border Radius Start
1915
+ * @see https://tailwindcss.com/docs/border-radius
1916
+ */
1917
+ "rounded-s": [{
1918
+ "rounded-s": P()
1919
+ }],
1920
+ /**
1921
+ * Border Radius End
1922
+ * @see https://tailwindcss.com/docs/border-radius
1923
+ */
1924
+ "rounded-e": [{
1925
+ "rounded-e": P()
1926
+ }],
1927
+ /**
1928
+ * Border Radius Top
1929
+ * @see https://tailwindcss.com/docs/border-radius
1930
+ */
1931
+ "rounded-t": [{
1932
+ "rounded-t": P()
1933
+ }],
1934
+ /**
1935
+ * Border Radius Right
1936
+ * @see https://tailwindcss.com/docs/border-radius
1937
+ */
1938
+ "rounded-r": [{
1939
+ "rounded-r": P()
1940
+ }],
1941
+ /**
1942
+ * Border Radius Bottom
1943
+ * @see https://tailwindcss.com/docs/border-radius
1944
+ */
1945
+ "rounded-b": [{
1946
+ "rounded-b": P()
1947
+ }],
1948
+ /**
1949
+ * Border Radius Left
1950
+ * @see https://tailwindcss.com/docs/border-radius
1951
+ */
1952
+ "rounded-l": [{
1953
+ "rounded-l": P()
1954
+ }],
1955
+ /**
1956
+ * Border Radius Start Start
1957
+ * @see https://tailwindcss.com/docs/border-radius
1958
+ */
1959
+ "rounded-ss": [{
1960
+ "rounded-ss": P()
1961
+ }],
1962
+ /**
1963
+ * Border Radius Start End
1964
+ * @see https://tailwindcss.com/docs/border-radius
1965
+ */
1966
+ "rounded-se": [{
1967
+ "rounded-se": P()
1968
+ }],
1969
+ /**
1970
+ * Border Radius End End
1971
+ * @see https://tailwindcss.com/docs/border-radius
1972
+ */
1973
+ "rounded-ee": [{
1974
+ "rounded-ee": P()
1975
+ }],
1976
+ /**
1977
+ * Border Radius End Start
1978
+ * @see https://tailwindcss.com/docs/border-radius
1979
+ */
1980
+ "rounded-es": [{
1981
+ "rounded-es": P()
1982
+ }],
1983
+ /**
1984
+ * Border Radius Top Left
1985
+ * @see https://tailwindcss.com/docs/border-radius
1986
+ */
1987
+ "rounded-tl": [{
1988
+ "rounded-tl": P()
1989
+ }],
1990
+ /**
1991
+ * Border Radius Top Right
1992
+ * @see https://tailwindcss.com/docs/border-radius
1993
+ */
1994
+ "rounded-tr": [{
1995
+ "rounded-tr": P()
1996
+ }],
1997
+ /**
1998
+ * Border Radius Bottom Right
1999
+ * @see https://tailwindcss.com/docs/border-radius
2000
+ */
2001
+ "rounded-br": [{
2002
+ "rounded-br": P()
2003
+ }],
2004
+ /**
2005
+ * Border Radius Bottom Left
2006
+ * @see https://tailwindcss.com/docs/border-radius
2007
+ */
2008
+ "rounded-bl": [{
2009
+ "rounded-bl": P()
2010
+ }],
2011
+ /**
2012
+ * Border Width
2013
+ * @see https://tailwindcss.com/docs/border-width
2014
+ */
2015
+ "border-w": [{
2016
+ border: E()
2017
+ }],
2018
+ /**
2019
+ * Border Width X
2020
+ * @see https://tailwindcss.com/docs/border-width
2021
+ */
2022
+ "border-w-x": [{
2023
+ "border-x": E()
2024
+ }],
2025
+ /**
2026
+ * Border Width Y
2027
+ * @see https://tailwindcss.com/docs/border-width
2028
+ */
2029
+ "border-w-y": [{
2030
+ "border-y": E()
2031
+ }],
2032
+ /**
2033
+ * Border Width Start
2034
+ * @see https://tailwindcss.com/docs/border-width
2035
+ */
2036
+ "border-w-s": [{
2037
+ "border-s": E()
2038
+ }],
2039
+ /**
2040
+ * Border Width End
2041
+ * @see https://tailwindcss.com/docs/border-width
2042
+ */
2043
+ "border-w-e": [{
2044
+ "border-e": E()
2045
+ }],
2046
+ /**
2047
+ * Border Width Top
2048
+ * @see https://tailwindcss.com/docs/border-width
2049
+ */
2050
+ "border-w-t": [{
2051
+ "border-t": E()
2052
+ }],
2053
+ /**
2054
+ * Border Width Right
2055
+ * @see https://tailwindcss.com/docs/border-width
2056
+ */
2057
+ "border-w-r": [{
2058
+ "border-r": E()
2059
+ }],
2060
+ /**
2061
+ * Border Width Bottom
2062
+ * @see https://tailwindcss.com/docs/border-width
2063
+ */
2064
+ "border-w-b": [{
2065
+ "border-b": E()
2066
+ }],
2067
+ /**
2068
+ * Border Width Left
2069
+ * @see https://tailwindcss.com/docs/border-width
2070
+ */
2071
+ "border-w-l": [{
2072
+ "border-l": E()
2073
+ }],
2074
+ /**
2075
+ * Divide Width X
2076
+ * @see https://tailwindcss.com/docs/border-width#between-children
2077
+ */
2078
+ "divide-x": [{
2079
+ "divide-x": E()
2080
+ }],
2081
+ /**
2082
+ * Divide Width X Reverse
2083
+ * @see https://tailwindcss.com/docs/border-width#between-children
2084
+ */
2085
+ "divide-x-reverse": ["divide-x-reverse"],
2086
+ /**
2087
+ * Divide Width Y
2088
+ * @see https://tailwindcss.com/docs/border-width#between-children
2089
+ */
2090
+ "divide-y": [{
2091
+ "divide-y": E()
2092
+ }],
2093
+ /**
2094
+ * Divide Width Y Reverse
2095
+ * @see https://tailwindcss.com/docs/border-width#between-children
2096
+ */
2097
+ "divide-y-reverse": ["divide-y-reverse"],
2098
+ /**
2099
+ * Border Style
2100
+ * @see https://tailwindcss.com/docs/border-style
2101
+ */
2102
+ "border-style": [{
2103
+ border: [...re(), "hidden", "none"]
2104
+ }],
2105
+ /**
2106
+ * Divide Style
2107
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
2108
+ */
2109
+ "divide-style": [{
2110
+ divide: [...re(), "hidden", "none"]
2111
+ }],
2112
+ /**
2113
+ * Border Color
2114
+ * @see https://tailwindcss.com/docs/border-color
2115
+ */
2116
+ "border-color": [{
2117
+ border: u()
2118
+ }],
2119
+ /**
2120
+ * Border Color X
2121
+ * @see https://tailwindcss.com/docs/border-color
2122
+ */
2123
+ "border-color-x": [{
2124
+ "border-x": u()
2125
+ }],
2126
+ /**
2127
+ * Border Color Y
2128
+ * @see https://tailwindcss.com/docs/border-color
2129
+ */
2130
+ "border-color-y": [{
2131
+ "border-y": u()
2132
+ }],
2133
+ /**
2134
+ * Border Color S
2135
+ * @see https://tailwindcss.com/docs/border-color
2136
+ */
2137
+ "border-color-s": [{
2138
+ "border-s": u()
2139
+ }],
2140
+ /**
2141
+ * Border Color E
2142
+ * @see https://tailwindcss.com/docs/border-color
2143
+ */
2144
+ "border-color-e": [{
2145
+ "border-e": u()
2146
+ }],
2147
+ /**
2148
+ * Border Color Top
2149
+ * @see https://tailwindcss.com/docs/border-color
2150
+ */
2151
+ "border-color-t": [{
2152
+ "border-t": u()
2153
+ }],
2154
+ /**
2155
+ * Border Color Right
2156
+ * @see https://tailwindcss.com/docs/border-color
2157
+ */
2158
+ "border-color-r": [{
2159
+ "border-r": u()
2160
+ }],
2161
+ /**
2162
+ * Border Color Bottom
2163
+ * @see https://tailwindcss.com/docs/border-color
2164
+ */
2165
+ "border-color-b": [{
2166
+ "border-b": u()
2167
+ }],
2168
+ /**
2169
+ * Border Color Left
2170
+ * @see https://tailwindcss.com/docs/border-color
2171
+ */
2172
+ "border-color-l": [{
2173
+ "border-l": u()
2174
+ }],
2175
+ /**
2176
+ * Divide Color
2177
+ * @see https://tailwindcss.com/docs/divide-color
2178
+ */
2179
+ "divide-color": [{
2180
+ divide: u()
2181
+ }],
2182
+ /**
2183
+ * Outline Style
2184
+ * @see https://tailwindcss.com/docs/outline-style
2185
+ */
2186
+ "outline-style": [{
2187
+ outline: [...re(), "none", "hidden"]
2188
+ }],
2189
+ /**
2190
+ * Outline Offset
2191
+ * @see https://tailwindcss.com/docs/outline-offset
2192
+ */
2193
+ "outline-offset": [{
2194
+ "outline-offset": [p, c, l]
2195
+ }],
2196
+ /**
2197
+ * Outline Width
2198
+ * @see https://tailwindcss.com/docs/outline-width
2199
+ */
2200
+ "outline-w": [{
2201
+ outline: ["", p, se, j]
2202
+ }],
2203
+ /**
2204
+ * Outline Color
2205
+ * @see https://tailwindcss.com/docs/outline-color
2206
+ */
2207
+ "outline-color": [{
2208
+ outline: u()
2209
+ }],
2210
+ // ---------------
2211
+ // --- Effects ---
2212
+ // ---------------
2213
+ /**
2214
+ * Box Shadow
2215
+ * @see https://tailwindcss.com/docs/box-shadow
2216
+ */
2217
+ shadow: [{
2218
+ shadow: [
2219
+ // Deprecated since Tailwind CSS v4.0.0
2220
+ "",
2221
+ "none",
2222
+ g,
2223
+ ce,
2224
+ le
2225
+ ]
2226
+ }],
2227
+ /**
2228
+ * Box Shadow Color
2229
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2230
+ */
2231
+ "shadow-color": [{
2232
+ shadow: u()
2233
+ }],
2234
+ /**
2235
+ * Inset Box Shadow
2236
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2237
+ */
2238
+ "inset-shadow": [{
2239
+ "inset-shadow": ["none", w, ce, le]
2240
+ }],
2241
+ /**
2242
+ * Inset Box Shadow Color
2243
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2244
+ */
2245
+ "inset-shadow-color": [{
2246
+ "inset-shadow": u()
2247
+ }],
2248
+ /**
2249
+ * Ring Width
2250
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2251
+ */
2252
+ "ring-w": [{
2253
+ ring: E()
2254
+ }],
2255
+ /**
2256
+ * Ring Width Inset
2257
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
2258
+ * @deprecated since Tailwind CSS v4.0.0
2259
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2260
+ */
2261
+ "ring-w-inset": ["ring-inset"],
2262
+ /**
2263
+ * Ring Color
2264
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2265
+ */
2266
+ "ring-color": [{
2267
+ ring: u()
2268
+ }],
2269
+ /**
2270
+ * Ring Offset Width
2271
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
2272
+ * @deprecated since Tailwind CSS v4.0.0
2273
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2274
+ */
2275
+ "ring-offset-w": [{
2276
+ "ring-offset": [p, j]
2277
+ }],
2278
+ /**
2279
+ * Ring Offset Color
2280
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
2281
+ * @deprecated since Tailwind CSS v4.0.0
2282
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2283
+ */
2284
+ "ring-offset-color": [{
2285
+ "ring-offset": u()
2286
+ }],
2287
+ /**
2288
+ * Inset Ring Width
2289
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2290
+ */
2291
+ "inset-ring-w": [{
2292
+ "inset-ring": E()
2293
+ }],
2294
+ /**
2295
+ * Inset Ring Color
2296
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2297
+ */
2298
+ "inset-ring-color": [{
2299
+ "inset-ring": u()
2300
+ }],
2301
+ /**
2302
+ * Text Shadow
2303
+ * @see https://tailwindcss.com/docs/text-shadow
2304
+ */
2305
+ "text-shadow": [{
2306
+ "text-shadow": ["none", x, ce, le]
2307
+ }],
2308
+ /**
2309
+ * Text Shadow Color
2310
+ * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2311
+ */
2312
+ "text-shadow-color": [{
2313
+ "text-shadow": u()
2314
+ }],
2315
+ /**
2316
+ * Opacity
2317
+ * @see https://tailwindcss.com/docs/opacity
2318
+ */
2319
+ opacity: [{
2320
+ opacity: [p, c, l]
2321
+ }],
2322
+ /**
2323
+ * Mix Blend Mode
2324
+ * @see https://tailwindcss.com/docs/mix-blend-mode
2325
+ */
2326
+ "mix-blend": [{
2327
+ "mix-blend": [...Ie(), "plus-darker", "plus-lighter"]
2328
+ }],
2329
+ /**
2330
+ * Background Blend Mode
2331
+ * @see https://tailwindcss.com/docs/background-blend-mode
2332
+ */
2333
+ "bg-blend": [{
2334
+ "bg-blend": Ie()
2335
+ }],
2336
+ /**
2337
+ * Mask Clip
2338
+ * @see https://tailwindcss.com/docs/mask-clip
2339
+ */
2340
+ "mask-clip": [{
2341
+ "mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
2342
+ }, "mask-no-clip"],
2343
+ /**
2344
+ * Mask Composite
2345
+ * @see https://tailwindcss.com/docs/mask-composite
2346
+ */
2347
+ "mask-composite": [{
2348
+ mask: ["add", "subtract", "intersect", "exclude"]
2349
+ }],
2350
+ /**
2351
+ * Mask Image
2352
+ * @see https://tailwindcss.com/docs/mask-image
2353
+ */
2354
+ "mask-image-linear-pos": [{
2355
+ "mask-linear": [p]
2356
+ }],
2357
+ "mask-image-linear-from-pos": [{
2358
+ "mask-linear-from": M()
2359
+ }],
2360
+ "mask-image-linear-to-pos": [{
2361
+ "mask-linear-to": M()
2362
+ }],
2363
+ "mask-image-linear-from-color": [{
2364
+ "mask-linear-from": u()
2365
+ }],
2366
+ "mask-image-linear-to-color": [{
2367
+ "mask-linear-to": u()
2368
+ }],
2369
+ "mask-image-t-from-pos": [{
2370
+ "mask-t-from": M()
2371
+ }],
2372
+ "mask-image-t-to-pos": [{
2373
+ "mask-t-to": M()
2374
+ }],
2375
+ "mask-image-t-from-color": [{
2376
+ "mask-t-from": u()
2377
+ }],
2378
+ "mask-image-t-to-color": [{
2379
+ "mask-t-to": u()
2380
+ }],
2381
+ "mask-image-r-from-pos": [{
2382
+ "mask-r-from": M()
2383
+ }],
2384
+ "mask-image-r-to-pos": [{
2385
+ "mask-r-to": M()
2386
+ }],
2387
+ "mask-image-r-from-color": [{
2388
+ "mask-r-from": u()
2389
+ }],
2390
+ "mask-image-r-to-color": [{
2391
+ "mask-r-to": u()
2392
+ }],
2393
+ "mask-image-b-from-pos": [{
2394
+ "mask-b-from": M()
2395
+ }],
2396
+ "mask-image-b-to-pos": [{
2397
+ "mask-b-to": M()
2398
+ }],
2399
+ "mask-image-b-from-color": [{
2400
+ "mask-b-from": u()
2401
+ }],
2402
+ "mask-image-b-to-color": [{
2403
+ "mask-b-to": u()
2404
+ }],
2405
+ "mask-image-l-from-pos": [{
2406
+ "mask-l-from": M()
2407
+ }],
2408
+ "mask-image-l-to-pos": [{
2409
+ "mask-l-to": M()
2410
+ }],
2411
+ "mask-image-l-from-color": [{
2412
+ "mask-l-from": u()
2413
+ }],
2414
+ "mask-image-l-to-color": [{
2415
+ "mask-l-to": u()
2416
+ }],
2417
+ "mask-image-x-from-pos": [{
2418
+ "mask-x-from": M()
2419
+ }],
2420
+ "mask-image-x-to-pos": [{
2421
+ "mask-x-to": M()
2422
+ }],
2423
+ "mask-image-x-from-color": [{
2424
+ "mask-x-from": u()
2425
+ }],
2426
+ "mask-image-x-to-color": [{
2427
+ "mask-x-to": u()
2428
+ }],
2429
+ "mask-image-y-from-pos": [{
2430
+ "mask-y-from": M()
2431
+ }],
2432
+ "mask-image-y-to-pos": [{
2433
+ "mask-y-to": M()
2434
+ }],
2435
+ "mask-image-y-from-color": [{
2436
+ "mask-y-from": u()
2437
+ }],
2438
+ "mask-image-y-to-color": [{
2439
+ "mask-y-to": u()
2440
+ }],
2441
+ "mask-image-radial": [{
2442
+ "mask-radial": [c, l]
2443
+ }],
2444
+ "mask-image-radial-from-pos": [{
2445
+ "mask-radial-from": M()
2446
+ }],
2447
+ "mask-image-radial-to-pos": [{
2448
+ "mask-radial-to": M()
2449
+ }],
2450
+ "mask-image-radial-from-color": [{
2451
+ "mask-radial-from": u()
2452
+ }],
2453
+ "mask-image-radial-to-color": [{
2454
+ "mask-radial-to": u()
2455
+ }],
2456
+ "mask-image-radial-shape": [{
2457
+ "mask-radial": ["circle", "ellipse"]
2458
+ }],
2459
+ "mask-image-radial-size": [{
2460
+ "mask-radial": [{
2461
+ closest: ["side", "corner"],
2462
+ farthest: ["side", "corner"]
2463
+ }]
2464
+ }],
2465
+ "mask-image-radial-pos": [{
2466
+ "mask-radial-at": N()
2467
+ }],
2468
+ "mask-image-conic-pos": [{
2469
+ "mask-conic": [p]
2470
+ }],
2471
+ "mask-image-conic-from-pos": [{
2472
+ "mask-conic-from": M()
2473
+ }],
2474
+ "mask-image-conic-to-pos": [{
2475
+ "mask-conic-to": M()
2476
+ }],
2477
+ "mask-image-conic-from-color": [{
2478
+ "mask-conic-from": u()
2479
+ }],
2480
+ "mask-image-conic-to-color": [{
2481
+ "mask-conic-to": u()
2482
+ }],
2483
+ /**
2484
+ * Mask Mode
2485
+ * @see https://tailwindcss.com/docs/mask-mode
2486
+ */
2487
+ "mask-mode": [{
2488
+ mask: ["alpha", "luminance", "match"]
2489
+ }],
2490
+ /**
2491
+ * Mask Origin
2492
+ * @see https://tailwindcss.com/docs/mask-origin
2493
+ */
2494
+ "mask-origin": [{
2495
+ "mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
2496
+ }],
2497
+ /**
2498
+ * Mask Position
2499
+ * @see https://tailwindcss.com/docs/mask-position
2500
+ */
2501
+ "mask-position": [{
2502
+ mask: H()
2503
+ }],
2504
+ /**
2505
+ * Mask Repeat
2506
+ * @see https://tailwindcss.com/docs/mask-repeat
2507
+ */
2508
+ "mask-repeat": [{
2509
+ mask: O()
2510
+ }],
2511
+ /**
2512
+ * Mask Size
2513
+ * @see https://tailwindcss.com/docs/mask-size
2514
+ */
2515
+ "mask-size": [{
2516
+ mask: ke()
2517
+ }],
2518
+ /**
2519
+ * Mask Type
2520
+ * @see https://tailwindcss.com/docs/mask-type
2521
+ */
2522
+ "mask-type": [{
2523
+ "mask-type": ["alpha", "luminance"]
2524
+ }],
2525
+ /**
2526
+ * Mask Image
2527
+ * @see https://tailwindcss.com/docs/mask-image
2528
+ */
2529
+ "mask-image": [{
2530
+ mask: ["none", c, l]
2531
+ }],
2532
+ // ---------------
2533
+ // --- Filters ---
2534
+ // ---------------
2535
+ /**
2536
+ * Filter
2537
+ * @see https://tailwindcss.com/docs/filter
2538
+ */
2539
+ filter: [{
2540
+ filter: [
2541
+ // Deprecated since Tailwind CSS v3.0.0
2542
+ "",
2543
+ "none",
2544
+ c,
2545
+ l
2546
+ ]
2547
+ }],
2548
+ /**
2549
+ * Blur
2550
+ * @see https://tailwindcss.com/docs/blur
2551
+ */
2552
+ blur: [{
2553
+ blur: Te()
2554
+ }],
2555
+ /**
2556
+ * Brightness
2557
+ * @see https://tailwindcss.com/docs/brightness
2558
+ */
2559
+ brightness: [{
2560
+ brightness: [p, c, l]
2561
+ }],
2562
+ /**
2563
+ * Contrast
2564
+ * @see https://tailwindcss.com/docs/contrast
2565
+ */
2566
+ contrast: [{
2567
+ contrast: [p, c, l]
2568
+ }],
2569
+ /**
2570
+ * Drop Shadow
2571
+ * @see https://tailwindcss.com/docs/drop-shadow
2572
+ */
2573
+ "drop-shadow": [{
2574
+ "drop-shadow": [
2575
+ // Deprecated since Tailwind CSS v4.0.0
2576
+ "",
2577
+ "none",
2578
+ S,
2579
+ ce,
2580
+ le
2581
+ ]
2582
+ }],
2583
+ /**
2584
+ * Drop Shadow Color
2585
+ * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2586
+ */
2587
+ "drop-shadow-color": [{
2588
+ "drop-shadow": u()
2589
+ }],
2590
+ /**
2591
+ * Grayscale
2592
+ * @see https://tailwindcss.com/docs/grayscale
2593
+ */
2594
+ grayscale: [{
2595
+ grayscale: ["", p, c, l]
2596
+ }],
2597
+ /**
2598
+ * Hue Rotate
2599
+ * @see https://tailwindcss.com/docs/hue-rotate
2600
+ */
2601
+ "hue-rotate": [{
2602
+ "hue-rotate": [p, c, l]
2603
+ }],
2604
+ /**
2605
+ * Invert
2606
+ * @see https://tailwindcss.com/docs/invert
2607
+ */
2608
+ invert: [{
2609
+ invert: ["", p, c, l]
2610
+ }],
2611
+ /**
2612
+ * Saturate
2613
+ * @see https://tailwindcss.com/docs/saturate
2614
+ */
2615
+ saturate: [{
2616
+ saturate: [p, c, l]
2617
+ }],
2618
+ /**
2619
+ * Sepia
2620
+ * @see https://tailwindcss.com/docs/sepia
2621
+ */
2622
+ sepia: [{
2623
+ sepia: ["", p, c, l]
2624
+ }],
2625
+ /**
2626
+ * Backdrop Filter
2627
+ * @see https://tailwindcss.com/docs/backdrop-filter
2628
+ */
2629
+ "backdrop-filter": [{
2630
+ "backdrop-filter": [
2631
+ // Deprecated since Tailwind CSS v3.0.0
2632
+ "",
2633
+ "none",
2634
+ c,
2635
+ l
2636
+ ]
2637
+ }],
2638
+ /**
2639
+ * Backdrop Blur
2640
+ * @see https://tailwindcss.com/docs/backdrop-blur
2641
+ */
2642
+ "backdrop-blur": [{
2643
+ "backdrop-blur": Te()
2644
+ }],
2645
+ /**
2646
+ * Backdrop Brightness
2647
+ * @see https://tailwindcss.com/docs/backdrop-brightness
2648
+ */
2649
+ "backdrop-brightness": [{
2650
+ "backdrop-brightness": [p, c, l]
2651
+ }],
2652
+ /**
2653
+ * Backdrop Contrast
2654
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2655
+ */
2656
+ "backdrop-contrast": [{
2657
+ "backdrop-contrast": [p, c, l]
2658
+ }],
2659
+ /**
2660
+ * Backdrop Grayscale
2661
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2662
+ */
2663
+ "backdrop-grayscale": [{
2664
+ "backdrop-grayscale": ["", p, c, l]
2665
+ }],
2666
+ /**
2667
+ * Backdrop Hue Rotate
2668
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2669
+ */
2670
+ "backdrop-hue-rotate": [{
2671
+ "backdrop-hue-rotate": [p, c, l]
2672
+ }],
2673
+ /**
2674
+ * Backdrop Invert
2675
+ * @see https://tailwindcss.com/docs/backdrop-invert
2676
+ */
2677
+ "backdrop-invert": [{
2678
+ "backdrop-invert": ["", p, c, l]
2679
+ }],
2680
+ /**
2681
+ * Backdrop Opacity
2682
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2683
+ */
2684
+ "backdrop-opacity": [{
2685
+ "backdrop-opacity": [p, c, l]
2686
+ }],
2687
+ /**
2688
+ * Backdrop Saturate
2689
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2690
+ */
2691
+ "backdrop-saturate": [{
2692
+ "backdrop-saturate": [p, c, l]
2693
+ }],
2694
+ /**
2695
+ * Backdrop Sepia
2696
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2697
+ */
2698
+ "backdrop-sepia": [{
2699
+ "backdrop-sepia": ["", p, c, l]
2700
+ }],
2701
+ // --------------
2702
+ // --- Tables ---
2703
+ // --------------
2704
+ /**
2705
+ * Border Collapse
2706
+ * @see https://tailwindcss.com/docs/border-collapse
2707
+ */
2708
+ "border-collapse": [{
2709
+ border: ["collapse", "separate"]
2710
+ }],
2711
+ /**
2712
+ * Border Spacing
2713
+ * @see https://tailwindcss.com/docs/border-spacing
2714
+ */
2715
+ "border-spacing": [{
2716
+ "border-spacing": m()
2717
+ }],
2718
+ /**
2719
+ * Border Spacing X
2720
+ * @see https://tailwindcss.com/docs/border-spacing
2721
+ */
2722
+ "border-spacing-x": [{
2723
+ "border-spacing-x": m()
2724
+ }],
2725
+ /**
2726
+ * Border Spacing Y
2727
+ * @see https://tailwindcss.com/docs/border-spacing
2728
+ */
2729
+ "border-spacing-y": [{
2730
+ "border-spacing-y": m()
2731
+ }],
2732
+ /**
2733
+ * Table Layout
2734
+ * @see https://tailwindcss.com/docs/table-layout
2735
+ */
2736
+ "table-layout": [{
2737
+ table: ["auto", "fixed"]
2738
+ }],
2739
+ /**
2740
+ * Caption Side
2741
+ * @see https://tailwindcss.com/docs/caption-side
2742
+ */
2743
+ caption: [{
2744
+ caption: ["top", "bottom"]
2745
+ }],
2746
+ // ---------------------------------
2747
+ // --- Transitions and Animation ---
2748
+ // ---------------------------------
2749
+ /**
2750
+ * Transition Property
2751
+ * @see https://tailwindcss.com/docs/transition-property
2752
+ */
2753
+ transition: [{
2754
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", c, l]
2755
+ }],
2756
+ /**
2757
+ * Transition Behavior
2758
+ * @see https://tailwindcss.com/docs/transition-behavior
2759
+ */
2760
+ "transition-behavior": [{
2761
+ transition: ["normal", "discrete"]
2762
+ }],
2763
+ /**
2764
+ * Transition Duration
2765
+ * @see https://tailwindcss.com/docs/transition-duration
2766
+ */
2767
+ duration: [{
2768
+ duration: [p, "initial", c, l]
2769
+ }],
2770
+ /**
2771
+ * Transition Timing Function
2772
+ * @see https://tailwindcss.com/docs/transition-timing-function
2773
+ */
2774
+ ease: [{
2775
+ ease: ["linear", "initial", z, c, l]
2776
+ }],
2777
+ /**
2778
+ * Transition Delay
2779
+ * @see https://tailwindcss.com/docs/transition-delay
2780
+ */
2781
+ delay: [{
2782
+ delay: [p, c, l]
2783
+ }],
2784
+ /**
2785
+ * Animation
2786
+ * @see https://tailwindcss.com/docs/animation
2787
+ */
2788
+ animate: [{
2789
+ animate: ["none", K, c, l]
2790
+ }],
2791
+ // ------------------
2792
+ // --- Transforms ---
2793
+ // ------------------
2794
+ /**
2795
+ * Backface Visibility
2796
+ * @see https://tailwindcss.com/docs/backface-visibility
2797
+ */
2798
+ backface: [{
2799
+ backface: ["hidden", "visible"]
2800
+ }],
2801
+ /**
2802
+ * Perspective
2803
+ * @see https://tailwindcss.com/docs/perspective
2804
+ */
2805
+ perspective: [{
2806
+ perspective: [k, c, l]
2807
+ }],
2808
+ /**
2809
+ * Perspective Origin
2810
+ * @see https://tailwindcss.com/docs/perspective-origin
2811
+ */
2812
+ "perspective-origin": [{
2813
+ "perspective-origin": V()
2814
+ }],
2815
+ /**
2816
+ * Rotate
2817
+ * @see https://tailwindcss.com/docs/rotate
2818
+ */
2819
+ rotate: [{
2820
+ rotate: ne()
2821
+ }],
2822
+ /**
2823
+ * Rotate X
2824
+ * @see https://tailwindcss.com/docs/rotate
2825
+ */
2826
+ "rotate-x": [{
2827
+ "rotate-x": ne()
2828
+ }],
2829
+ /**
2830
+ * Rotate Y
2831
+ * @see https://tailwindcss.com/docs/rotate
2832
+ */
2833
+ "rotate-y": [{
2834
+ "rotate-y": ne()
2835
+ }],
2836
+ /**
2837
+ * Rotate Z
2838
+ * @see https://tailwindcss.com/docs/rotate
2839
+ */
2840
+ "rotate-z": [{
2841
+ "rotate-z": ne()
2842
+ }],
2843
+ /**
2844
+ * Scale
2845
+ * @see https://tailwindcss.com/docs/scale
2846
+ */
2847
+ scale: [{
2848
+ scale: ae()
2849
+ }],
2850
+ /**
2851
+ * Scale X
2852
+ * @see https://tailwindcss.com/docs/scale
2853
+ */
2854
+ "scale-x": [{
2855
+ "scale-x": ae()
2856
+ }],
2857
+ /**
2858
+ * Scale Y
2859
+ * @see https://tailwindcss.com/docs/scale
2860
+ */
2861
+ "scale-y": [{
2862
+ "scale-y": ae()
2863
+ }],
2864
+ /**
2865
+ * Scale Z
2866
+ * @see https://tailwindcss.com/docs/scale
2867
+ */
2868
+ "scale-z": [{
2869
+ "scale-z": ae()
2870
+ }],
2871
+ /**
2872
+ * Scale 3D
2873
+ * @see https://tailwindcss.com/docs/scale
2874
+ */
2875
+ "scale-3d": ["scale-3d"],
2876
+ /**
2877
+ * Skew
2878
+ * @see https://tailwindcss.com/docs/skew
2879
+ */
2880
+ skew: [{
2881
+ skew: ue()
2882
+ }],
2883
+ /**
2884
+ * Skew X
2885
+ * @see https://tailwindcss.com/docs/skew
2886
+ */
2887
+ "skew-x": [{
2888
+ "skew-x": ue()
2889
+ }],
2890
+ /**
2891
+ * Skew Y
2892
+ * @see https://tailwindcss.com/docs/skew
2893
+ */
2894
+ "skew-y": [{
2895
+ "skew-y": ue()
2896
+ }],
2897
+ /**
2898
+ * Transform
2899
+ * @see https://tailwindcss.com/docs/transform
2900
+ */
2901
+ transform: [{
2902
+ transform: [c, l, "", "none", "gpu", "cpu"]
2903
+ }],
2904
+ /**
2905
+ * Transform Origin
2906
+ * @see https://tailwindcss.com/docs/transform-origin
2907
+ */
2908
+ "transform-origin": [{
2909
+ origin: V()
2910
+ }],
2911
+ /**
2912
+ * Transform Style
2913
+ * @see https://tailwindcss.com/docs/transform-style
2914
+ */
2915
+ "transform-style": [{
2916
+ transform: ["3d", "flat"]
2917
+ }],
2918
+ /**
2919
+ * Translate
2920
+ * @see https://tailwindcss.com/docs/translate
2921
+ */
2922
+ translate: [{
2923
+ translate: ie()
2924
+ }],
2925
+ /**
2926
+ * Translate X
2927
+ * @see https://tailwindcss.com/docs/translate
2928
+ */
2929
+ "translate-x": [{
2930
+ "translate-x": ie()
2931
+ }],
2932
+ /**
2933
+ * Translate Y
2934
+ * @see https://tailwindcss.com/docs/translate
2935
+ */
2936
+ "translate-y": [{
2937
+ "translate-y": ie()
2938
+ }],
2939
+ /**
2940
+ * Translate Z
2941
+ * @see https://tailwindcss.com/docs/translate
2942
+ */
2943
+ "translate-z": [{
2944
+ "translate-z": ie()
2945
+ }],
2946
+ /**
2947
+ * Translate None
2948
+ * @see https://tailwindcss.com/docs/translate
2949
+ */
2950
+ "translate-none": ["translate-none"],
2951
+ // ---------------------
2952
+ // --- Interactivity ---
2953
+ // ---------------------
2954
+ /**
2955
+ * Accent Color
2956
+ * @see https://tailwindcss.com/docs/accent-color
2957
+ */
2958
+ accent: [{
2959
+ accent: u()
2960
+ }],
2961
+ /**
2962
+ * Appearance
2963
+ * @see https://tailwindcss.com/docs/appearance
2964
+ */
2965
+ appearance: [{
2966
+ appearance: ["none", "auto"]
2967
+ }],
2968
+ /**
2969
+ * Caret Color
2970
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2971
+ */
2972
+ "caret-color": [{
2973
+ caret: u()
2974
+ }],
2975
+ /**
2976
+ * Color Scheme
2977
+ * @see https://tailwindcss.com/docs/color-scheme
2978
+ */
2979
+ "color-scheme": [{
2980
+ scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
2981
+ }],
2982
+ /**
2983
+ * Cursor
2984
+ * @see https://tailwindcss.com/docs/cursor
2985
+ */
2986
+ cursor: [{
2987
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", c, l]
2988
+ }],
2989
+ /**
2990
+ * Field Sizing
2991
+ * @see https://tailwindcss.com/docs/field-sizing
2992
+ */
2993
+ "field-sizing": [{
2994
+ "field-sizing": ["fixed", "content"]
2995
+ }],
2996
+ /**
2997
+ * Pointer Events
2998
+ * @see https://tailwindcss.com/docs/pointer-events
2999
+ */
3000
+ "pointer-events": [{
3001
+ "pointer-events": ["auto", "none"]
3002
+ }],
3003
+ /**
3004
+ * Resize
3005
+ * @see https://tailwindcss.com/docs/resize
3006
+ */
3007
+ resize: [{
3008
+ resize: ["none", "", "y", "x"]
3009
+ }],
3010
+ /**
3011
+ * Scroll Behavior
3012
+ * @see https://tailwindcss.com/docs/scroll-behavior
3013
+ */
3014
+ "scroll-behavior": [{
3015
+ scroll: ["auto", "smooth"]
3016
+ }],
3017
+ /**
3018
+ * Scroll Margin
3019
+ * @see https://tailwindcss.com/docs/scroll-margin
3020
+ */
3021
+ "scroll-m": [{
3022
+ "scroll-m": m()
3023
+ }],
3024
+ /**
3025
+ * Scroll Margin X
3026
+ * @see https://tailwindcss.com/docs/scroll-margin
3027
+ */
3028
+ "scroll-mx": [{
3029
+ "scroll-mx": m()
3030
+ }],
3031
+ /**
3032
+ * Scroll Margin Y
3033
+ * @see https://tailwindcss.com/docs/scroll-margin
3034
+ */
3035
+ "scroll-my": [{
3036
+ "scroll-my": m()
3037
+ }],
3038
+ /**
3039
+ * Scroll Margin Start
3040
+ * @see https://tailwindcss.com/docs/scroll-margin
3041
+ */
3042
+ "scroll-ms": [{
3043
+ "scroll-ms": m()
3044
+ }],
3045
+ /**
3046
+ * Scroll Margin End
3047
+ * @see https://tailwindcss.com/docs/scroll-margin
3048
+ */
3049
+ "scroll-me": [{
3050
+ "scroll-me": m()
3051
+ }],
3052
+ /**
3053
+ * Scroll Margin Top
3054
+ * @see https://tailwindcss.com/docs/scroll-margin
3055
+ */
3056
+ "scroll-mt": [{
3057
+ "scroll-mt": m()
3058
+ }],
3059
+ /**
3060
+ * Scroll Margin Right
3061
+ * @see https://tailwindcss.com/docs/scroll-margin
3062
+ */
3063
+ "scroll-mr": [{
3064
+ "scroll-mr": m()
3065
+ }],
3066
+ /**
3067
+ * Scroll Margin Bottom
3068
+ * @see https://tailwindcss.com/docs/scroll-margin
3069
+ */
3070
+ "scroll-mb": [{
3071
+ "scroll-mb": m()
3072
+ }],
3073
+ /**
3074
+ * Scroll Margin Left
3075
+ * @see https://tailwindcss.com/docs/scroll-margin
3076
+ */
3077
+ "scroll-ml": [{
3078
+ "scroll-ml": m()
3079
+ }],
3080
+ /**
3081
+ * Scroll Padding
3082
+ * @see https://tailwindcss.com/docs/scroll-padding
3083
+ */
3084
+ "scroll-p": [{
3085
+ "scroll-p": m()
3086
+ }],
3087
+ /**
3088
+ * Scroll Padding X
3089
+ * @see https://tailwindcss.com/docs/scroll-padding
3090
+ */
3091
+ "scroll-px": [{
3092
+ "scroll-px": m()
3093
+ }],
3094
+ /**
3095
+ * Scroll Padding Y
3096
+ * @see https://tailwindcss.com/docs/scroll-padding
3097
+ */
3098
+ "scroll-py": [{
3099
+ "scroll-py": m()
3100
+ }],
3101
+ /**
3102
+ * Scroll Padding Start
3103
+ * @see https://tailwindcss.com/docs/scroll-padding
3104
+ */
3105
+ "scroll-ps": [{
3106
+ "scroll-ps": m()
3107
+ }],
3108
+ /**
3109
+ * Scroll Padding End
3110
+ * @see https://tailwindcss.com/docs/scroll-padding
3111
+ */
3112
+ "scroll-pe": [{
3113
+ "scroll-pe": m()
3114
+ }],
3115
+ /**
3116
+ * Scroll Padding Top
3117
+ * @see https://tailwindcss.com/docs/scroll-padding
3118
+ */
3119
+ "scroll-pt": [{
3120
+ "scroll-pt": m()
3121
+ }],
3122
+ /**
3123
+ * Scroll Padding Right
3124
+ * @see https://tailwindcss.com/docs/scroll-padding
3125
+ */
3126
+ "scroll-pr": [{
3127
+ "scroll-pr": m()
3128
+ }],
3129
+ /**
3130
+ * Scroll Padding Bottom
3131
+ * @see https://tailwindcss.com/docs/scroll-padding
3132
+ */
3133
+ "scroll-pb": [{
3134
+ "scroll-pb": m()
3135
+ }],
3136
+ /**
3137
+ * Scroll Padding Left
3138
+ * @see https://tailwindcss.com/docs/scroll-padding
3139
+ */
3140
+ "scroll-pl": [{
3141
+ "scroll-pl": m()
3142
+ }],
3143
+ /**
3144
+ * Scroll Snap Align
3145
+ * @see https://tailwindcss.com/docs/scroll-snap-align
3146
+ */
3147
+ "snap-align": [{
3148
+ snap: ["start", "end", "center", "align-none"]
3149
+ }],
3150
+ /**
3151
+ * Scroll Snap Stop
3152
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
3153
+ */
3154
+ "snap-stop": [{
3155
+ snap: ["normal", "always"]
3156
+ }],
3157
+ /**
3158
+ * Scroll Snap Type
3159
+ * @see https://tailwindcss.com/docs/scroll-snap-type
3160
+ */
3161
+ "snap-type": [{
3162
+ snap: ["none", "x", "y", "both"]
3163
+ }],
3164
+ /**
3165
+ * Scroll Snap Type Strictness
3166
+ * @see https://tailwindcss.com/docs/scroll-snap-type
3167
+ */
3168
+ "snap-strictness": [{
3169
+ snap: ["mandatory", "proximity"]
3170
+ }],
3171
+ /**
3172
+ * Touch Action
3173
+ * @see https://tailwindcss.com/docs/touch-action
3174
+ */
3175
+ touch: [{
3176
+ touch: ["auto", "none", "manipulation"]
3177
+ }],
3178
+ /**
3179
+ * Touch Action X
3180
+ * @see https://tailwindcss.com/docs/touch-action
3181
+ */
3182
+ "touch-x": [{
3183
+ "touch-pan": ["x", "left", "right"]
3184
+ }],
3185
+ /**
3186
+ * Touch Action Y
3187
+ * @see https://tailwindcss.com/docs/touch-action
3188
+ */
3189
+ "touch-y": [{
3190
+ "touch-pan": ["y", "up", "down"]
3191
+ }],
3192
+ /**
3193
+ * Touch Action Pinch Zoom
3194
+ * @see https://tailwindcss.com/docs/touch-action
3195
+ */
3196
+ "touch-pz": ["touch-pinch-zoom"],
3197
+ /**
3198
+ * User Select
3199
+ * @see https://tailwindcss.com/docs/user-select
3200
+ */
3201
+ select: [{
3202
+ select: ["none", "text", "all", "auto"]
3203
+ }],
3204
+ /**
3205
+ * Will Change
3206
+ * @see https://tailwindcss.com/docs/will-change
3207
+ */
3208
+ "will-change": [{
3209
+ "will-change": ["auto", "scroll", "contents", "transform", c, l]
3210
+ }],
3211
+ // -----------
3212
+ // --- SVG ---
3213
+ // -----------
3214
+ /**
3215
+ * Fill
3216
+ * @see https://tailwindcss.com/docs/fill
3217
+ */
3218
+ fill: [{
3219
+ fill: ["none", ...u()]
3220
+ }],
3221
+ /**
3222
+ * Stroke Width
3223
+ * @see https://tailwindcss.com/docs/stroke-width
3224
+ */
3225
+ "stroke-w": [{
3226
+ stroke: [p, se, j, pe]
3227
+ }],
3228
+ /**
3229
+ * Stroke
3230
+ * @see https://tailwindcss.com/docs/stroke
3231
+ */
3232
+ stroke: [{
3233
+ stroke: ["none", ...u()]
3234
+ }],
3235
+ // ---------------------
3236
+ // --- Accessibility ---
3237
+ // ---------------------
3238
+ /**
3239
+ * Forced Color Adjust
3240
+ * @see https://tailwindcss.com/docs/forced-color-adjust
3241
+ */
3242
+ "forced-color-adjust": [{
3243
+ "forced-color-adjust": ["auto", "none"]
3244
+ }]
3245
+ },
3246
+ conflictingClassGroups: {
3247
+ overflow: ["overflow-x", "overflow-y"],
3248
+ overscroll: ["overscroll-x", "overscroll-y"],
3249
+ inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
3250
+ "inset-x": ["right", "left"],
3251
+ "inset-y": ["top", "bottom"],
3252
+ flex: ["basis", "grow", "shrink"],
3253
+ gap: ["gap-x", "gap-y"],
3254
+ p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
3255
+ px: ["pr", "pl"],
3256
+ py: ["pt", "pb"],
3257
+ m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
3258
+ mx: ["mr", "ml"],
3259
+ my: ["mt", "mb"],
3260
+ size: ["w", "h"],
3261
+ "font-size": ["leading"],
3262
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
3263
+ "fvn-ordinal": ["fvn-normal"],
3264
+ "fvn-slashed-zero": ["fvn-normal"],
3265
+ "fvn-figure": ["fvn-normal"],
3266
+ "fvn-spacing": ["fvn-normal"],
3267
+ "fvn-fraction": ["fvn-normal"],
3268
+ "line-clamp": ["display", "overflow"],
3269
+ rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
3270
+ "rounded-s": ["rounded-ss", "rounded-es"],
3271
+ "rounded-e": ["rounded-se", "rounded-ee"],
3272
+ "rounded-t": ["rounded-tl", "rounded-tr"],
3273
+ "rounded-r": ["rounded-tr", "rounded-br"],
3274
+ "rounded-b": ["rounded-br", "rounded-bl"],
3275
+ "rounded-l": ["rounded-tl", "rounded-bl"],
3276
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
3277
+ "border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
3278
+ "border-w-x": ["border-w-r", "border-w-l"],
3279
+ "border-w-y": ["border-w-t", "border-w-b"],
3280
+ "border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
3281
+ "border-color-x": ["border-color-r", "border-color-l"],
3282
+ "border-color-y": ["border-color-t", "border-color-b"],
3283
+ translate: ["translate-x", "translate-y", "translate-none"],
3284
+ "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
3285
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
3286
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
3287
+ "scroll-my": ["scroll-mt", "scroll-mb"],
3288
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
3289
+ "scroll-px": ["scroll-pr", "scroll-pl"],
3290
+ "scroll-py": ["scroll-pt", "scroll-pb"],
3291
+ touch: ["touch-x", "touch-y", "touch-pz"],
3292
+ "touch-x": ["touch"],
3293
+ "touch-y": ["touch"],
3294
+ "touch-pz": ["touch"]
3295
+ },
3296
+ conflictingClassGroupModifiers: {
3297
+ "font-size": ["leading"]
3298
+ },
3299
+ orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3300
+ };
3301
+ }, Vt = /* @__PURE__ */ vt(Nt);
3302
+ function Ye(e) {
3303
+ var t, s, o = "";
3304
+ if (typeof e == "string" || typeof e == "number") o += e;
3305
+ else if (typeof e == "object") if (Array.isArray(e)) {
3306
+ var r = e.length;
3307
+ for (t = 0; t < r; t++) e[t] && (s = Ye(e[t])) && (o && (o += " "), o += s);
3308
+ } else for (s in e) e[s] && (o && (o += " "), o += s);
3309
+ return o;
569
3310
  }
570
- function me() {
571
- S.value && clearTimeout(S.value), L.value = !1, E.value = !0, S.value = window.setTimeout(() => {
572
- E.value = !1;
573
- }, Y.value);
3311
+ function _t() {
3312
+ for (var e, t, s = 0, o = "", r = arguments.length; s < r; s++) (e = arguments[s]) && (t = Ye(e)) && (o && (o += " "), o += t);
3313
+ return o;
574
3314
  }
575
- function Ee() {
576
- return { isOpen: L, isAnimating: E, animationTime: Y, props: R, component: H, open: de, close: me };
3315
+ function ts(...e) {
3316
+ return Vt(_t(e));
577
3317
  }
578
- function Ae(i, e) {
579
- if (!i) return !1;
580
- let t = ["INPUT", "TEXTAREA", "SELECT"];
581
- return (e === " " || e === "Enter") && (t = [...t, "BUTTON"]), t.includes(i.tagName);
3318
+ function ss(e, t) {
3319
+ if (!e) return !1;
3320
+ let s = ["INPUT", "TEXTAREA", "SELECT"];
3321
+ return (t === " " || t === "Enter") && (s = [...s, "BUTTON"]), s.includes(e.tagName);
582
3322
  }
583
- const Me = 3, Be = "24px", xe = "16px", Ce = 0, ke = 3e3, Fe = 16, Le = 45, Ye = 10, Ne = 0.06, $e = 16, he = {
584
- stringInsensitive: (i, e) => V(i).localeCompare(V(e)),
585
- date: (i, e) => new Date(i).getTime() - new Date(e).getTime(),
586
- number: (i, e) => parseFloat(i) - parseFloat(e)
3323
+ const os = 3, rs = "24px", ns = "16px", as = 0, is = 3e3, ls = 16, cs = 45, ds = 10, us = 0.06, ms = 16, $t = {
3324
+ stringInsensitive: (e, t) => Ee(e).localeCompare(Ee(t)),
3325
+ date: (e, t) => new Date(e).getTime() - new Date(t).getTime(),
3326
+ number: (e, t) => parseFloat(e) - parseFloat(t)
587
3327
  };
588
- function V(i) {
589
- return String(i ?? "").toLowerCase().replace(/\s+/g, " ").trim();
3328
+ function Ee(e) {
3329
+ return String(e ?? "").toLowerCase().replace(/\s+/g, " ").trim();
590
3330
  }
591
- function _e(i, e = 1, t = ["date", "date_released"]) {
592
- return (o, n) => {
593
- const s = o[i], a = n[i];
594
- if (s instanceof Date && a instanceof Date || t.includes(String(i))) {
595
- const f = new Date(String(s));
596
- return (new Date(String(a)).getTime() - f.getTime()) * e;
3331
+ function fs(e, t = 1, s = ["date", "date_released"]) {
3332
+ return (o, r) => {
3333
+ const n = o[e], a = r[e];
3334
+ if (n instanceof Date && a instanceof Date || s.includes(String(e))) {
3335
+ const h = new Date(String(n));
3336
+ return (new Date(String(a)).getTime() - h.getTime()) * t;
597
3337
  }
598
- const l = parseFloat(s), r = parseFloat(a);
599
- return !isNaN(l) && !isNaN(r) ? (l - r) * e : String(s).toLowerCase().replace(/\s+/g, " ").localeCompare(String(a).toLowerCase().replace(/\s+/g, " ")) * e;
3338
+ const i = parseFloat(n), d = parseFloat(a);
3339
+ return !isNaN(i) && !isNaN(d) ? (i - d) * t : String(n).toLowerCase().replace(/\s+/g, " ").localeCompare(String(a).toLowerCase().replace(/\s+/g, " ")) * t;
600
3340
  };
601
3341
  }
602
- function Ke(i, e = 1) {
603
- return (t, o) => {
604
- for (const { key: n, compareFn: s } of i) {
605
- const a = n ? t[n] ?? "" : void 0, l = n ? o[n] ?? "" : void 0;
606
- let r;
607
- if (s ? r = n ? s(a, l) : s(t, o) : r = ve(a, l), r !== 0) return r * e;
3342
+ function ps(e, t = 1) {
3343
+ return (s, o) => {
3344
+ for (const { key: r, compareFn: n } of e) {
3345
+ const a = r ? s[r] ?? "" : void 0, i = r ? o[r] ?? "" : void 0;
3346
+ let d;
3347
+ if (n ? d = r ? n(a, i) : n(s, o) : d = Gt(a, i), d !== 0) return d * t;
608
3348
  }
609
3349
  return 0;
610
3350
  };
611
3351
  }
612
- function ve(i, e) {
613
- const t = parseFloat(i), o = parseFloat(e);
614
- if (!isNaN(t) && !isNaN(o))
615
- return t - o;
616
- const n = new Date(i), s = new Date(e);
617
- return !isNaN(n.getTime()) && !isNaN(s.getTime()) ? n.getTime() - s.getTime() : he.stringInsensitive(i, e);
3352
+ function Gt(e, t) {
3353
+ const s = parseFloat(e), o = parseFloat(t);
3354
+ if (!isNaN(s) && !isNaN(o))
3355
+ return s - o;
3356
+ const r = new Date(e), n = new Date(t);
3357
+ return !isNaN(r.getTime()) && !isNaN(n.getTime()) ? r.getTime() - n.getTime() : $t.stringInsensitive(e, t);
618
3358
  }
619
3359
  export {
620
- he as CompareStrategies,
621
- Fe as DEFAULT_GAP,
622
- xe as MOBILE_VIEWPORT_OFFSET,
623
- Ne as SCALE_STEP,
624
- Le as SWIPE_THRESHOLD,
625
- ke as TOAST_LIFE,
626
- Ce as TOAST_WIDTH,
627
- D as ToastState,
628
- Be as VIEWPORT_OFFSET,
629
- Me as VISIBLE_TOASTS_AMOUNT,
630
- $e as Y_OFFSET_STEP,
631
- Ye as Z_STEP,
632
- Ae as isInputLikeElement,
633
- _e as sortObject,
634
- Ke as sortObjectNew,
635
- oe as toast,
636
- ye as useClipboard,
637
- be as useDatePicker,
638
- Se as useForm,
639
- Te as useModal,
640
- Ee as useModalCore,
641
- ge as useMultiSelect,
642
- Ie as useSelect,
643
- Pe as useSwipeHandler,
644
- De as useTable,
645
- Oe as useToastTimer
3360
+ $t as CompareStrategies,
3361
+ ls as DEFAULT_GAP,
3362
+ ns as MOBILE_VIEWPORT_OFFSET,
3363
+ us as SCALE_STEP,
3364
+ cs as SWIPE_THRESHOLD,
3365
+ is as TOAST_LIFE,
3366
+ as as TOAST_WIDTH,
3367
+ Y as ToastState,
3368
+ rs as VIEWPORT_OFFSET,
3369
+ os as VISIBLE_TOASTS_AMOUNT,
3370
+ ms as Y_OFFSET_STEP,
3371
+ ds as Z_STEP,
3372
+ ts as cn,
3373
+ ss as isInputLikeElement,
3374
+ fs as sortObject,
3375
+ ps as sortObjectNew,
3376
+ Ze as toast,
3377
+ Ht as useClipboard,
3378
+ Ut as useDatePicker,
3379
+ Xt as useForm,
3380
+ qt as useModal,
3381
+ es as useModalCore,
3382
+ Kt as useMultiSelect,
3383
+ Wt as useSelect,
3384
+ Qt as useSwipeHandler,
3385
+ Jt as useTable,
3386
+ Zt as useToastTimer
646
3387
  };