@kingsimba/nc-ui 0.1.10 → 0.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
- var Xe = Object.defineProperty;
2
- var Je = (e, t, n) => t in e ? Xe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var _ = (e, t, n) => Je(e, typeof t != "symbol" ? t + "" : t, n);
1
+ var Je = Object.defineProperty;
2
+ var Qe = (e, t, n) => t in e ? Je(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var _ = (e, t, n) => Qe(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { jsx as s, jsxs as y } from "react/jsx-runtime";
5
- import ye, { useState as R, useRef as H, useMemo as xe, useEffect as T, createContext as se, useContext as X, Children as Qe, isValidElement as Ze, useCallback as W, Suspense as et } from "react";
5
+ import xe, { useState as T, useRef as H, useMemo as ge, useEffect as L, createContext as se, useContext as X, Children as Ze, isValidElement as et, forwardRef as tt, useImperativeHandle as nt, useCallback as O, Suspense as rt } from "react";
6
6
  import { createPortal as pe } from "react-dom";
7
7
  import { useTranslation as J } from "react-i18next";
8
- import { R as tt, C as Le, e as nt, T as rt, E as ot, V as st, b as it, c as at, a as ct } from "./GeneratedIcons-CyroG9LH.js";
9
- import lt from "i18next";
10
- import { c as dt } from "./clsx-OuTLNxxd.js";
11
- function Te({
8
+ import { R as ot, C as Le, e as st, T as it, E as ct, V as at, b as lt, c as dt, a as ut } from "./GeneratedIcons-CyroG9LH.js";
9
+ import pt from "i18next";
10
+ import { c as ft } from "./clsx-OuTLNxxd.js";
11
+ function Be({
12
12
  size: e = "default",
13
13
  color: t,
14
14
  overlay: n = !1,
@@ -37,8 +37,8 @@ function Te({
37
37
  );
38
38
  return n ? /* @__PURE__ */ s("div", { className: "nc-activity-indicator-overlay", children: o }) : o;
39
39
  }
40
- function G({ variant: e = "default", block: t, size: n = "default", className: r, disabled: o, textSelectable: i, loading: l, onClick: c, children: d, ...p }) {
41
- const h = [
40
+ function Y({ variant: e = "default", block: t, size: n = "default", className: r, disabled: o, textSelectable: i, loading: l, onClick: a, children: d, ...f }) {
41
+ const u = [
42
42
  "nc-button",
43
43
  e !== "default" ? `nc-${e}` : "",
44
44
  t ? "nc-block" : "",
@@ -52,22 +52,22 @@ function G({ variant: e = "default", block: t, size: n = "default", className: r
52
52
  return /* @__PURE__ */ y(
53
53
  "button",
54
54
  {
55
- className: h,
55
+ className: u,
56
56
  disabled: o || l,
57
- onClick: (a) => {
57
+ onClick: (c) => {
58
58
  if (!l) {
59
59
  if (i) {
60
- const u = window.getSelection();
61
- if (u && u.toString().length > 0)
60
+ const p = window.getSelection();
61
+ if (p && p.toString().length > 0)
62
62
  return;
63
63
  }
64
- c == null || c(a);
64
+ a == null || a(c);
65
65
  }
66
66
  },
67
- ...p,
67
+ ...f,
68
68
  children: [
69
69
  l && /* @__PURE__ */ s(
70
- Te,
70
+ Be,
71
71
  {
72
72
  size: "small",
73
73
  className: "nc-button-spinner",
@@ -79,14 +79,14 @@ function G({ variant: e = "default", block: t, size: n = "default", className: r
79
79
  }
80
80
  );
81
81
  }
82
- function yn({ code: e, text: t, type: n, button: r, onAction: o }) {
82
+ function Sn({ code: e, text: t, type: n, button: r, onAction: o }) {
83
83
  return /* @__PURE__ */ y("div", { className: `nc-alert nc-${n}`, children: [
84
84
  /* @__PURE__ */ y("span", { className: `nc-alert-message nc-${n}`, children: [
85
85
  /* @__PURE__ */ s("span", { className: "nc-alert-code", children: e }),
86
86
  t
87
87
  ] }),
88
88
  r && /* @__PURE__ */ s("span", { className: "nc-alert-action", children: /* @__PURE__ */ s(
89
- G,
89
+ Y,
90
90
  {
91
91
  size: "small",
92
92
  variant: r.variant ?? (n === "error" ? "danger" : "warning"),
@@ -96,7 +96,7 @@ function yn({ code: e, text: t, type: n, button: r, onAction: o }) {
96
96
  ) })
97
97
  ] });
98
98
  }
99
- function xn({
99
+ function In({
100
100
  percentage: e = 0.5,
101
101
  status: t = "discharging",
102
102
  darkMode: n = !1,
@@ -105,69 +105,69 @@ function xn({
105
105
  const o = Math.max(0, Math.min(1, Number(e) || 0));
106
106
  let i;
107
107
  r ? o < 0.1 ? i = "var(--nc-danger)" : o < 0.2 ? i = "var(--nc-warning)" : i = "var(--nc-success)" : i = n ? "#ffffff" : "#000000";
108
- const l = n ? "rgba(255, 255, 255, 0.5)" : "rgba(0, 0, 0, 0.2)", c = 24, d = 14, p = 2, h = 0, w = 12, a = 0, u = 0, m = 0, v = c, f = d, x = f - a * 2, k = v - a * 2, $ = Math.max(1, Math.min(4, f / 4)), g = o === 0 ? 0 : 0.05 + o * 0.95, I = c + p + w, P = 20, b = 0.65, S = Math.max(d, P * b), N = c + p + 1, E = (d - P * b) / 2;
108
+ const l = n ? "rgba(255, 255, 255, 0.5)" : "rgba(0, 0, 0, 0.2)", a = 24, d = 14, f = 2, u = 0, w = 12, c = 0, p = 0, b = 0, g = a, v = d, N = v - c * 2, h = g - c * 2, k = Math.max(1, Math.min(4, v / 4)), m = o === 0 ? 0 : 0.05 + o * 0.95, A = a + f + w, E = 20, C = 0.65, z = Math.max(d, E * C), x = a + f + 1, M = (d - E * C) / 2;
109
109
  return /* @__PURE__ */ y(
110
110
  "svg",
111
111
  {
112
112
  className: "nc-battery",
113
- width: I,
114
- height: S,
115
- viewBox: `0 0 ${I} ${S}`,
113
+ width: A,
114
+ height: z,
115
+ viewBox: `0 0 ${A} ${z}`,
116
116
  role: "img",
117
117
  "aria-label": `Battery ${o === 0 ? "-" : Math.round(o * 100) + "%"} ${t}`,
118
118
  children: [
119
119
  /* @__PURE__ */ y("defs", { children: [
120
- /* @__PURE__ */ s("mask", { id: `nc-battery-fill-mask-${o}`, children: /* @__PURE__ */ s("rect", { x: "0", y: "0", width: k * g, height: x, fill: "white" }) }),
120
+ /* @__PURE__ */ s("mask", { id: `nc-battery-fill-mask-${o}`, children: /* @__PURE__ */ s("rect", { x: "0", y: "0", width: h * m, height: N, fill: "white" }) }),
121
121
  /* @__PURE__ */ y("mask", { id: `nc-battery-text-mask-${o}`, children: [
122
- /* @__PURE__ */ s("rect", { x: "0", y: "0", width: I, height: S, fill: "white" }),
123
- /* @__PURE__ */ s("text", { x: u + v / 2, y: d - 3, fontSize: 11, fontWeight: "bold", fill: "black", textAnchor: "middle", children: o === 0 ? "-" : Math.round(o * 100) })
122
+ /* @__PURE__ */ s("rect", { x: "0", y: "0", width: A, height: z, fill: "white" }),
123
+ /* @__PURE__ */ s("text", { x: p + g / 2, y: d - 3, fontSize: 11, fontWeight: "bold", fill: "black", textAnchor: "middle", children: o === 0 ? "-" : Math.round(o * 100) })
124
124
  ] })
125
125
  ] }),
126
126
  /* @__PURE__ */ y("g", { mask: `url(#nc-battery-text-mask-${o})`, children: [
127
127
  /* @__PURE__ */ s(
128
128
  "rect",
129
129
  {
130
- x: u,
131
- y: m,
132
- rx: $,
133
- ry: $,
134
- width: v,
135
- height: f,
130
+ x: p,
131
+ y: b,
132
+ rx: k,
133
+ ry: k,
134
+ width: g,
135
+ height: v,
136
136
  fill: l
137
137
  }
138
138
  ),
139
139
  /* @__PURE__ */ s(
140
140
  "rect",
141
141
  {
142
- x: u + a,
143
- y: m + a,
144
- width: k,
145
- height: x,
142
+ x: p + c,
143
+ y: b + c,
144
+ width: h,
145
+ height: N,
146
146
  fill: i,
147
- rx: $,
148
- ry: $,
147
+ rx: k,
148
+ ry: k,
149
149
  mask: `url(#nc-battery-fill-mask-${o})`
150
150
  }
151
151
  ),
152
152
  /* @__PURE__ */ s(
153
153
  "rect",
154
154
  {
155
- x: c + h,
155
+ x: a + u,
156
156
  y: d * 0.26,
157
- width: p,
157
+ width: f,
158
158
  height: d * 0.48,
159
159
  rx: 0.8,
160
160
  ry: 0.8,
161
161
  fill: o === 1 ? i : l
162
162
  }
163
163
  ),
164
- t === "charging" ? /* @__PURE__ */ s("g", { transform: `translate(${N}, ${E}) scale(${b})`, fill: i, children: /* @__PURE__ */ s("path", { d: "M10 0 L2 11 H8 L5 20 L14 8 H8 L10 0 Z" }) }) : null
164
+ t === "charging" ? /* @__PURE__ */ s("g", { transform: `translate(${x}, ${M}) scale(${C})`, fill: i, children: /* @__PURE__ */ s("path", { d: "M10 0 L2 11 H8 L5 20 L14 8 H8 L10 0 Z" }) }) : null
165
165
  ] })
166
166
  ]
167
167
  }
168
168
  );
169
169
  }
170
- function kn({
170
+ function Mn({
171
171
  value: e,
172
172
  onChange: t,
173
173
  options: n,
@@ -175,10 +175,10 @@ function kn({
175
175
  labels: o,
176
176
  size: i = "default"
177
177
  }) {
178
- return /* @__PURE__ */ s("div", { className: `nc-button-group ${i === "small" ? "nc-small" : ""}`, children: n.map((l, c) => /* @__PURE__ */ s(
178
+ return /* @__PURE__ */ s("div", { className: `nc-button-group ${i === "small" ? "nc-small" : ""}`, children: n.map((l, a) => /* @__PURE__ */ s(
179
179
  "button",
180
180
  {
181
- className: `nc-button-group-item ${e === l ? "nc-active" : ""} ${c < n.length - 1 ? "nc-has-border" : ""}`,
181
+ className: `nc-button-group-item ${e === l ? "nc-active" : ""} ${a < n.length - 1 ? "nc-has-border" : ""}`,
182
182
  onClick: () => !r && t(l),
183
183
  disabled: r,
184
184
  children: o && o[l] ? o[l] : l
@@ -186,7 +186,7 @@ function kn({
186
186
  l
187
187
  )) });
188
188
  }
189
- function ut({ size: e }) {
189
+ function ht({ size: e }) {
190
190
  return /* @__PURE__ */ s("svg", { className: `nc-checkbox-icon ${e === "small" ? "nc-small" : ""}`, viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ s(
191
191
  "path",
192
192
  {
@@ -198,15 +198,15 @@ function ut({ size: e }) {
198
198
  }
199
199
  ) });
200
200
  }
201
- function Nn({ checked: e, onChange: t, disabled: n, label: r, size: o = "default", labelColor: i, style: l, className: c = "" }) {
201
+ function $n({ checked: e, onChange: t, disabled: n, label: r, size: o = "default", labelColor: i, style: l, className: a = "" }) {
202
202
  const d = o === "small";
203
203
  return /* @__PURE__ */ y(
204
204
  "label",
205
205
  {
206
- className: `nc-checkbox-label ${d ? "nc-small" : ""} ${n ? "nc-disabled" : ""} ${c}`.trim(),
206
+ className: `nc-checkbox-label ${d ? "nc-small" : ""} ${n ? "nc-disabled" : ""} ${a}`.trim(),
207
207
  style: l,
208
- onClick: (p) => {
209
- n || (p.preventDefault(), t(!e));
208
+ onClick: (f) => {
209
+ n || (f.preventDefault(), t(!e));
210
210
  },
211
211
  children: [
212
212
  /* @__PURE__ */ s(
@@ -216,10 +216,10 @@ function Nn({ checked: e, onChange: t, disabled: n, label: r, size: o = "default
216
216
  "aria-checked": e,
217
217
  tabIndex: 0,
218
218
  className: `nc-checkbox-box ${d ? "nc-small" : ""} ${e ? "nc-checked" : ""}`,
219
- onKeyDown: (p) => {
220
- n || (p.key === "Enter" || p.key === " ") && (p.preventDefault(), t(!e));
219
+ onKeyDown: (f) => {
220
+ n || (f.key === "Enter" || f.key === " ") && (f.preventDefault(), t(!e));
221
221
  },
222
- children: e && /* @__PURE__ */ s(ut, { size: o })
222
+ children: e && /* @__PURE__ */ s(ht, { size: o })
223
223
  }
224
224
  ),
225
225
  r && /* @__PURE__ */ s("span", { className: "nc-checkbox-text", style: i ? { color: i } : void 0, children: r })
@@ -227,9 +227,9 @@ function Nn({ checked: e, onChange: t, disabled: n, label: r, size: o = "default
227
227
  }
228
228
  );
229
229
  }
230
- function pt({ option: e, onChange: t, selected: n, highlighted: r, small: o }) {
230
+ function mt({ option: e, onChange: t, selected: n, highlighted: r, small: o }) {
231
231
  const i = H(null), { t: l } = J();
232
- return T(() => {
232
+ return L(() => {
233
233
  r && i.current && i.current.scrollIntoView({ block: "nearest" });
234
234
  }, [r]), /* @__PURE__ */ y(
235
235
  "div",
@@ -254,7 +254,7 @@ function pt({ option: e, onChange: t, selected: n, highlighted: r, small: o }) {
254
254
  }
255
255
  );
256
256
  }
257
- function ft({
257
+ function gt({
258
258
  isOpen: e,
259
259
  options: t,
260
260
  onSelect: n,
@@ -262,44 +262,44 @@ function ft({
262
262
  placement: o = "bottom",
263
263
  anchorRef: i,
264
264
  small: l,
265
- highlightedIndex: c = -1
265
+ highlightedIndex: a = -1
266
266
  }) {
267
- const [d, p] = R({ top: 0, left: 0, width: 0 }), [h, w] = R(o), { t: a } = J();
268
- if (T(() => {
267
+ const [d, f] = T({ top: 0, left: 0, width: 0 }), [u, w] = T(o), { t: c } = J();
268
+ if (L(() => {
269
269
  if (e && i.current) {
270
- const m = i.current.getBoundingClientRect();
271
- let v = o;
270
+ const b = i.current.getBoundingClientRect();
271
+ let g = o;
272
272
  if (o === "bottom") {
273
- const f = window.innerHeight - m.bottom, x = m.top;
274
- f < 320 && x > f && (v = "top");
273
+ const v = window.innerHeight - b.bottom, N = b.top;
274
+ v < 320 && N > v && (g = "top");
275
275
  }
276
- w(v), p({
277
- top: v === "top" ? m.top - 4 : m.bottom + 4,
278
- left: m.left,
279
- width: m.width
276
+ w(g), f({
277
+ top: g === "top" ? b.top - 4 : b.bottom + 4,
278
+ left: b.left,
279
+ width: b.width
280
280
  });
281
281
  }
282
282
  }, [e, i, o]), !e) return null;
283
- const u = /* @__PURE__ */ s(
283
+ const p = /* @__PURE__ */ s(
284
284
  "div",
285
285
  {
286
286
  className: "nc-combo-dropdown",
287
287
  style: {
288
288
  position: "fixed",
289
- top: h === "top" ? void 0 : d.top,
290
- bottom: h === "top" ? window.innerHeight - d.top : void 0,
289
+ top: u === "top" ? void 0 : d.top,
290
+ bottom: u === "top" ? window.innerHeight - d.top : void 0,
291
291
  left: d.left,
292
292
  width: d.width,
293
293
  zIndex: 1e3,
294
294
  maxHeight: 300,
295
295
  overflowY: "auto"
296
296
  },
297
- children: t.length === 0 ? /* @__PURE__ */ s("div", { className: `nc-combo-dropdown-option nc-no-results ${l ? "nc-small" : ""}`, children: a("common.noResults") }) : t.map((m, v) => /* @__PURE__ */ s(pt, { option: m, onChange: n, selected: m.value === r, highlighted: v === c, small: l }, m.value))
297
+ children: t.length === 0 ? /* @__PURE__ */ s("div", { className: `nc-combo-dropdown-option nc-no-results ${l ? "nc-small" : ""}`, children: c("common.noResults") }) : t.map((b, g) => /* @__PURE__ */ s(mt, { option: b, onChange: n, selected: b.value === r, highlighted: g === a, small: l }, b.value))
298
298
  }
299
299
  );
300
- return pe(u, document.body);
300
+ return pe(p, document.body);
301
301
  }
302
- function ht({ onClick: e, small: t }) {
302
+ function bt({ onClick: e, small: t }) {
303
303
  return /* @__PURE__ */ s(
304
304
  "button",
305
305
  {
@@ -311,7 +311,7 @@ function ht({ onClick: e, small: t }) {
311
311
  }
312
312
  );
313
313
  }
314
- function mt({ open: e, onClick: t, small: n }) {
314
+ function vt({ open: e, onClick: t, small: n }) {
315
315
  return /* @__PURE__ */ s(
316
316
  "button",
317
317
  {
@@ -323,7 +323,7 @@ function mt({ open: e, onClick: t, small: n }) {
323
323
  }
324
324
  );
325
325
  }
326
- function An({
326
+ function Rn({
327
327
  value: e,
328
328
  onChange: t,
329
329
  placeholder: n = "Select…",
@@ -331,110 +331,110 @@ function An({
331
331
  disabled: o,
332
332
  label: i,
333
333
  clearable: l = !0,
334
- allowTyping: c = !1,
334
+ allowTyping: a = !1,
335
335
  placement: d = "bottom",
336
- size: p = "default",
337
- style: h,
336
+ size: f = "default",
337
+ style: u,
338
338
  className: w
339
339
  }) {
340
- const [a, u] = R(!1), [m, v] = R(""), [f, x] = R(-1), k = H(null), $ = H(null), g = p === "small", { t: I } = J(), P = xe(() => {
341
- const C = m.toLowerCase();
342
- return c ? r.filter((z) => z.label.toLowerCase().includes(C)) : r;
343
- }, [r, m, c]);
344
- T(() => {
345
- a && x(-1);
346
- }, [a, P]), T(() => {
340
+ const [c, p] = T(!1), [b, g] = T(""), [v, N] = T(-1), h = H(null), k = H(null), m = f === "small", { t: A } = J(), E = ge(() => {
341
+ const R = b.toLowerCase();
342
+ return a ? r.filter((P) => P.label.toLowerCase().includes(R)) : r;
343
+ }, [r, b, a]);
344
+ L(() => {
345
+ c && N(-1);
346
+ }, [c, E]), L(() => {
347
347
  if (!l && !e && r.length > 0 && t) {
348
- const C = r.find((z) => z.default) || r[0];
349
- t(C.value);
348
+ const R = r.find((P) => P.default) || r[0];
349
+ t(R.value);
350
350
  }
351
- }, [l, e, r, t]), T(() => {
352
- function C(z) {
353
- var B;
354
- z.target instanceof Node && k.current && ((B = k.current.parentElement) != null && B.contains(z.target) || u(!1));
351
+ }, [l, e, r, t]), L(() => {
352
+ function R(P) {
353
+ var D;
354
+ P.target instanceof Node && h.current && ((D = h.current.parentElement) != null && D.contains(P.target) || p(!1));
355
355
  }
356
- return document.addEventListener("mousedown", C), () => document.removeEventListener("mousedown", C);
356
+ return document.addEventListener("mousedown", R), () => document.removeEventListener("mousedown", R);
357
357
  }, []);
358
- const b = r.find((C) => C.value === e), S = b && l, N = !o && !S, E = !(a && c) && !!b, D = (C, z = !1) => {
359
- var B;
360
- t == null || t(C), u(!1), v(""), z && ((B = k.current) == null || B.blur());
361
- }, M = () => {
362
- t == null || t(void 0), v(""), u(!1);
363
- }, O = (C) => {
364
- if (!a) {
365
- (C.key === "ArrowDown" || C.key === "ArrowUp") && (u(!0), C.preventDefault());
358
+ const C = r.find((R) => R.value === e), z = C && l, x = !o && !z, M = !(c && a) && !!C, S = (R, P = !1) => {
359
+ var D;
360
+ t == null || t(R), p(!1), g(""), P && ((D = h.current) == null || D.blur());
361
+ }, $ = () => {
362
+ t == null || t(void 0), g(""), p(!1);
363
+ }, W = (R) => {
364
+ if (!c) {
365
+ (R.key === "ArrowDown" || R.key === "ArrowUp") && (p(!0), R.preventDefault());
366
366
  return;
367
367
  }
368
- switch (C.key) {
368
+ switch (R.key) {
369
369
  case "ArrowDown":
370
- C.preventDefault(), x((z) => {
371
- const B = z + 1;
372
- return B >= P.length ? 0 : B;
370
+ R.preventDefault(), N((P) => {
371
+ const D = P + 1;
372
+ return D >= E.length ? 0 : D;
373
373
  });
374
374
  break;
375
375
  case "ArrowUp":
376
- C.preventDefault(), x((z) => {
377
- const B = z - 1;
378
- return B < 0 ? P.length - 1 : B;
376
+ R.preventDefault(), N((P) => {
377
+ const D = P - 1;
378
+ return D < 0 ? E.length - 1 : D;
379
379
  });
380
380
  break;
381
381
  case "Enter":
382
- C.preventDefault(), f >= 0 && f < P.length && D(P[f].value, !0);
382
+ R.preventDefault(), v >= 0 && v < E.length && S(E[v].value, !0);
383
383
  break;
384
384
  case "Escape":
385
- C.preventDefault(), u(!1), v("");
385
+ R.preventDefault(), p(!1), g("");
386
386
  break;
387
387
  }
388
388
  };
389
- return /* @__PURE__ */ y("div", { className: `nc-combo-container ${w || ""}`.trim(), style: { position: "relative", ...h }, children: [
390
- i && /* @__PURE__ */ s("span", { className: `nc-label ${g ? "nc-small" : ""}`, children: i }),
389
+ return /* @__PURE__ */ y("div", { className: `nc-combo-container ${w || ""}`.trim(), style: { position: "relative", ...u }, children: [
390
+ i && /* @__PURE__ */ s("span", { className: `nc-label ${m ? "nc-small" : ""}`, children: i }),
391
391
  /* @__PURE__ */ y(
392
392
  "div",
393
393
  {
394
- ref: $,
394
+ ref: k,
395
395
  style: { position: "relative", display: "flex", alignItems: "center" },
396
- onMouseDown: (C) => {
397
- o || c && C.target === k.current || (u((z) => (!z && c && b && v(b.label), !z)), c && !a && setTimeout(() => {
398
- var z, B;
399
- (z = k.current) == null || z.focus(), (B = k.current) == null || B.select();
396
+ onMouseDown: (R) => {
397
+ o || a && R.target === h.current || (p((P) => (!P && a && C && g(C.label), !P)), a && !c && setTimeout(() => {
398
+ var P, D;
399
+ (P = h.current) == null || P.focus(), (D = h.current) == null || D.select();
400
400
  }, 0));
401
401
  },
402
402
  children: [
403
403
  /* @__PURE__ */ s(
404
404
  "input",
405
405
  {
406
- ref: k,
407
- className: `nc-input ${g ? "nc-small" : ""}`,
406
+ ref: h,
407
+ className: `nc-input ${m ? "nc-small" : ""}`,
408
408
  placeholder: n,
409
409
  onFocus: () => {
410
- var C;
411
- !o && c && (u(!0), b && (v(b.label), setTimeout(() => {
412
- var z;
413
- return (z = k.current) == null ? void 0 : z.select();
414
- }, 0))), c || (C = k.current) == null || C.blur();
410
+ var R;
411
+ !o && a && (p(!0), C && (g(C.label), setTimeout(() => {
412
+ var P;
413
+ return (P = h.current) == null ? void 0 : P.select();
414
+ }, 0))), a || (R = h.current) == null || R.blur();
415
415
  },
416
- onChange: (C) => c && v(C.target.value),
417
- onKeyDown: O,
418
- value: a && c ? m : (b == null ? void 0 : b.label) || "",
419
- readOnly: o || !c,
416
+ onChange: (R) => a && g(R.target.value),
417
+ onKeyDown: W,
418
+ value: c && a ? b : (C == null ? void 0 : C.label) || "",
419
+ readOnly: o || !a,
420
420
  style: {
421
421
  width: "100%",
422
- paddingRight: N || S ? g ? 32 : 44 : 12,
423
- caretColor: c ? void 0 : "transparent",
424
- cursor: c ? void 0 : "pointer",
425
- userSelect: c ? void 0 : "none",
426
- color: E ? "transparent" : "var(--nc-text)"
422
+ paddingRight: x || z ? m ? 32 : 44 : 12,
423
+ caretColor: a ? void 0 : "transparent",
424
+ cursor: a ? void 0 : "pointer",
425
+ userSelect: a ? void 0 : "none",
426
+ color: M ? "transparent" : "var(--nc-text)"
427
427
  }
428
428
  }
429
429
  ),
430
- E && /* @__PURE__ */ y(
430
+ M && /* @__PURE__ */ y(
431
431
  "div",
432
432
  {
433
433
  "aria-hidden": !0,
434
434
  style: {
435
435
  position: "absolute",
436
- left: g ? 8 : 12,
437
- right: N || S ? g ? 12 : 24 : g ? 8 : 12,
436
+ left: m ? 8 : 12,
437
+ right: x || z ? m ? 12 : 24 : m ? 8 : 12,
438
438
  top: "50%",
439
439
  transform: "translateY(-50%)",
440
440
  pointerEvents: "none",
@@ -446,24 +446,24 @@ function An({
446
446
  textOverflow: "ellipsis"
447
447
  },
448
448
  children: [
449
- /* @__PURE__ */ s("span", { className: `nc-combo-overlay-text ${g ? "nc-small" : ""}`, children: b == null ? void 0 : b.label }),
450
- (b == null ? void 0 : b.default) && /* @__PURE__ */ y("span", { className: `nc-combo-overlay-default ${g ? "nc-small" : ""}`, children: [
449
+ /* @__PURE__ */ s("span", { className: `nc-combo-overlay-text ${m ? "nc-small" : ""}`, children: C == null ? void 0 : C.label }),
450
+ (C == null ? void 0 : C.default) && /* @__PURE__ */ y("span", { className: `nc-combo-overlay-default ${m ? "nc-small" : ""}`, children: [
451
451
  "(",
452
- I("common.default"),
452
+ A("common.default"),
453
453
  ")"
454
454
  ] })
455
455
  ]
456
456
  }
457
457
  ),
458
- S && /* @__PURE__ */ s(ht, { onClick: M, small: g }),
459
- N && /* @__PURE__ */ s(mt, { open: a, onClick: () => u((C) => !C), small: g })
458
+ z && /* @__PURE__ */ s(bt, { onClick: $, small: m }),
459
+ x && /* @__PURE__ */ s(vt, { open: c, onClick: () => p((R) => !R), small: m })
460
460
  ]
461
461
  }
462
462
  ),
463
- /* @__PURE__ */ s(ft, { isOpen: a, options: P, onSelect: D, selectedValue: e, placement: d, anchorRef: $, small: g, highlightedIndex: f })
463
+ /* @__PURE__ */ s(gt, { isOpen: c, options: E, onSelect: S, selectedValue: e, placement: d, anchorRef: k, small: m, highlightedIndex: v })
464
464
  ] });
465
465
  }
466
- function Sn({ onClick: e, loading: t = !1, disabled: n = !1, size: r = "default", title: o, "aria-label": i }) {
466
+ function En({ onClick: e, loading: t = !1, disabled: n = !1, size: r = "default", title: o, "aria-label": i }) {
467
467
  return /* @__PURE__ */ s(
468
468
  "button",
469
469
  {
@@ -473,11 +473,11 @@ function Sn({ onClick: e, loading: t = !1, disabled: n = !1, size: r = "default"
473
473
  title: o ?? (t ? "Refreshing..." : "Refresh"),
474
474
  "aria-label": i ?? (t ? "Refreshing" : "Refresh"),
475
475
  "data-size": r,
476
- children: /* @__PURE__ */ s(tt, { size: r === "small" ? 14 : r === "large" ? 20 : 18, className: t ? "nc-spinning" : "" })
476
+ children: /* @__PURE__ */ s(ot, { size: r === "small" ? 14 : r === "large" ? 20 : 18, className: t ? "nc-spinning" : "" })
477
477
  }
478
478
  );
479
479
  }
480
- function Be({ onClick: e, disabled: t = !1, size: n = "default", title: r = "Close", "aria-label": o = "Close" }) {
480
+ function De({ onClick: e, disabled: t = !1, size: n = "default", title: r = "Close", "aria-label": o = "Close" }) {
481
481
  return /* @__PURE__ */ s(
482
482
  "button",
483
483
  {
@@ -491,7 +491,7 @@ function Be({ onClick: e, disabled: t = !1, size: n = "default", title: r = "Clo
491
491
  }
492
492
  );
493
493
  }
494
- function Cn({ onClick: e, disabled: t = !1, size: n = "default", title: r = "Edit", "aria-label": o = "Edit" }) {
494
+ function Tn({ onClick: e, disabled: t = !1, size: n = "default", title: r = "Edit", "aria-label": o = "Edit" }) {
495
495
  return /* @__PURE__ */ s(
496
496
  "button",
497
497
  {
@@ -501,11 +501,11 @@ function Cn({ onClick: e, disabled: t = !1, size: n = "default", title: r = "Edi
501
501
  title: r,
502
502
  "aria-label": o,
503
503
  "data-size": n,
504
- children: /* @__PURE__ */ s(nt, { size: n === "small" ? 14 : n === "large" ? 20 : 18 })
504
+ children: /* @__PURE__ */ s(st, { size: n === "small" ? 14 : n === "large" ? 20 : 18 })
505
505
  }
506
506
  );
507
507
  }
508
- function In({ onClick: e, disabled: t = !1, size: n = "default", title: r = "Delete", "aria-label": o = "Delete" }) {
508
+ function zn({ onClick: e, disabled: t = !1, size: n = "default", title: r = "Delete", "aria-label": o = "Delete" }) {
509
509
  return /* @__PURE__ */ s(
510
510
  "button",
511
511
  {
@@ -515,11 +515,11 @@ function In({ onClick: e, disabled: t = !1, size: n = "default", title: r = "Del
515
515
  title: r,
516
516
  "aria-label": o,
517
517
  "data-size": n,
518
- children: /* @__PURE__ */ s(rt, { size: n === "small" ? 14 : n === "large" ? 20 : 18 })
518
+ children: /* @__PURE__ */ s(it, { size: n === "small" ? 14 : n === "large" ? 20 : 18 })
519
519
  }
520
520
  );
521
521
  }
522
- function Mn({ onClick: e, disabled: t = !1, children: n, title: r, "aria-label": o, size: i = "default" }) {
522
+ function Pn({ onClick: e, disabled: t = !1, children: n, title: r, "aria-label": o, size: i = "default" }) {
523
523
  return /* @__PURE__ */ s(
524
524
  "button",
525
525
  {
@@ -533,7 +533,7 @@ function Mn({ onClick: e, disabled: t = !1, children: n, title: r, "aria-label":
533
533
  }
534
534
  );
535
535
  }
536
- function $n({
536
+ function Ln({
537
537
  open: e,
538
538
  onClose: t,
539
539
  options: n,
@@ -541,35 +541,35 @@ function $n({
541
541
  anchor: o,
542
542
  preferredDirection: i = "down"
543
543
  }) {
544
- const l = H(null), [c, d] = R({ top: 0, left: 0 }), p = o || (r == null ? void 0 : r.current);
545
- if (T(() => {
546
- if (!e || !p || !l.current) return;
547
- const a = p.getBoundingClientRect(), u = l.current.getBoundingClientRect(), m = window.innerHeight, v = window.innerWidth, f = a.bottom + 8, x = f + u.height <= m - 8;
548
- let k = i;
549
- (!x && i === "down" || i === "up" && x) && (k = "up");
550
- let $;
551
- k === "down" ? $ = f : $ = a.top - u.height - 8;
552
- let g = a.left;
553
- g + u.width > v - 8 && (g = a.right - u.width), d({
554
- top: Math.max(8, $),
544
+ const l = H(null), [a, d] = T({ top: 0, left: 0 }), f = o || (r == null ? void 0 : r.current);
545
+ if (L(() => {
546
+ if (!e || !f || !l.current) return;
547
+ const c = f.getBoundingClientRect(), p = l.current.getBoundingClientRect(), b = window.innerHeight, g = window.innerWidth, v = c.bottom + 8, N = v + p.height <= b - 8;
548
+ let h = i;
549
+ (!N && i === "down" || i === "up" && N) && (h = "up");
550
+ let k;
551
+ h === "down" ? k = v : k = c.top - p.height - 8;
552
+ let m = c.left;
553
+ m + p.width > g - 8 && (m = c.right - p.width), d({
554
+ top: Math.max(8, k),
555
555
  // Ensure minimum 8px from top
556
- left: Math.max(8, g)
556
+ left: Math.max(8, m)
557
557
  // Ensure minimum 8px from left
558
558
  });
559
- }, [e, p, i]), T(() => {
559
+ }, [e, f, i]), L(() => {
560
560
  if (!e) return;
561
- const a = (m) => {
562
- l.current && !l.current.contains(m.target) && p && !p.contains(m.target) && t();
563
- }, u = (m) => {
564
- m.key === "Escape" && t();
561
+ const c = (b) => {
562
+ l.current && !l.current.contains(b.target) && f && !f.contains(b.target) && t();
563
+ }, p = (b) => {
564
+ b.key === "Escape" && t();
565
565
  };
566
- return document.addEventListener("mousedown", a), document.addEventListener("keydown", u), () => {
567
- document.removeEventListener("mousedown", a), document.removeEventListener("keydown", u);
566
+ return document.addEventListener("mousedown", c), document.addEventListener("keydown", p), () => {
567
+ document.removeEventListener("mousedown", c), document.removeEventListener("keydown", p);
568
568
  };
569
- }, [e, t, p]), !e) return null;
570
- const h = (a) => {
571
- a.type !== "separator" && !a.disabled && a.onClick && (a.onClick(), t());
572
- }, w = n.some((a) => a.icon);
569
+ }, [e, t, f]), !e) return null;
570
+ const u = (c) => {
571
+ c.type !== "separator" && !c.disabled && c.onClick && (c.onClick(), t());
572
+ }, w = n.some((c) => c.icon);
573
573
  return pe(
574
574
  /* @__PURE__ */ s(
575
575
  "div",
@@ -578,40 +578,40 @@ function $n({
578
578
  className: "nc-context-menu",
579
579
  style: {
580
580
  position: "fixed",
581
- top: `${c.top}px`,
582
- left: `${c.left}px`,
581
+ top: `${a.top}px`,
582
+ left: `${a.left}px`,
583
583
  zIndex: 1e4
584
584
  },
585
585
  role: "menu",
586
- children: n.map((a) => {
587
- if (a.type === "separator")
586
+ children: n.map((c) => {
587
+ if (c.type === "separator")
588
588
  return /* @__PURE__ */ s(
589
589
  "div",
590
590
  {
591
591
  className: "nc-context-menu-separator",
592
592
  role: "separator"
593
593
  },
594
- a.id
594
+ c.id
595
595
  );
596
- const u = [
596
+ const p = [
597
597
  "nc-context-menu-item",
598
- a.variant && a.variant !== "default" ? `nc-${a.variant}` : "",
599
- a.disabled ? "nc-disabled" : "",
600
- w && !a.icon ? "nc-indented" : ""
598
+ c.variant && c.variant !== "default" ? `nc-${c.variant}` : "",
599
+ c.disabled ? "nc-disabled" : "",
600
+ w && !c.icon ? "nc-indented" : ""
601
601
  ].filter(Boolean).join(" ");
602
602
  return /* @__PURE__ */ y(
603
603
  "button",
604
604
  {
605
- className: u,
606
- onClick: () => h(a),
607
- disabled: a.disabled,
605
+ className: p,
606
+ onClick: () => u(c),
607
+ disabled: c.disabled,
608
608
  role: "menuitem",
609
609
  children: [
610
- a.icon && /* @__PURE__ */ s("span", { className: "nc-context-menu-icon", children: a.icon }),
611
- /* @__PURE__ */ s("span", { className: "nc-context-menu-label", children: a.label })
610
+ c.icon && /* @__PURE__ */ s("span", { className: "nc-context-menu-icon", children: c.icon }),
611
+ /* @__PURE__ */ s("span", { className: "nc-context-menu-label", children: c.label })
612
612
  ]
613
613
  },
614
- a.id
614
+ c.id
615
615
  );
616
616
  })
617
617
  }
@@ -619,20 +619,20 @@ function $n({
619
619
  document.body
620
620
  );
621
621
  }
622
- const De = se(null);
623
- function gt() {
624
- const e = X(De);
622
+ const He = se(null);
623
+ function wt() {
624
+ const e = X(He);
625
625
  if (!e)
626
626
  throw new Error("useDialog must be used inside a Dialog component");
627
627
  return e;
628
628
  }
629
629
  function ne({ children: e, onClick: t, ...n }) {
630
- const { close: r } = gt(), { t: o } = J();
631
- return /* @__PURE__ */ s(G, { onClick: (l) => {
630
+ const { close: r } = wt(), { t: o } = J();
631
+ return /* @__PURE__ */ s(Y, { onClick: (l) => {
632
632
  t == null || t(l), r();
633
633
  }, ...n, children: e ?? o("common.close") });
634
634
  }
635
- function Rn({
635
+ function Bn({
636
636
  open: e,
637
637
  onClose: t,
638
638
  title: n,
@@ -640,63 +640,63 @@ function Rn({
640
640
  style: o,
641
641
  footerType: i = "ok-cancel",
642
642
  footer: l,
643
- onOk: c,
643
+ onOk: a,
644
644
  onSave: d,
645
- onDelete: p,
646
- onCancel: h,
645
+ onDelete: f,
646
+ onCancel: u,
647
647
  onConnect: w,
648
- closeOnOverlay: a = !0,
649
- primaryDisabled: u = !1,
650
- fullScreen: m = !1,
651
- hideTitleBar: v = !1,
652
- className: f = "",
653
- onContentHeightChange: x
648
+ closeOnOverlay: c = !0,
649
+ primaryDisabled: p = !1,
650
+ fullScreen: b = !1,
651
+ hideTitleBar: g = !1,
652
+ className: v = "",
653
+ onContentHeightChange: N
654
654
  }) {
655
- const k = H(null), $ = H(null), { t: g } = J(), I = { close: t }, P = (N) => {
656
- a && N.target === N.currentTarget && t();
655
+ const h = H(null), k = H(null), { t: m } = J(), A = { close: t }, E = (x) => {
656
+ c && x.target === x.currentTarget && t();
657
657
  };
658
- if (T(() => {
659
- e && k.current && k.current.focus();
660
- }, [e]), T(() => {
661
- if (!x || !$.current) return;
662
- const N = new ResizeObserver((E) => {
663
- for (const D of E) {
664
- const M = D.contentRect.height;
665
- x(M);
658
+ if (L(() => {
659
+ e && h.current && h.current.focus();
660
+ }, [e]), L(() => {
661
+ if (!N || !k.current) return;
662
+ const x = new ResizeObserver((M) => {
663
+ for (const S of M) {
664
+ const $ = S.contentRect.height;
665
+ N($);
666
666
  }
667
667
  });
668
- return N.observe($.current), () => {
669
- N.disconnect();
668
+ return x.observe(k.current), () => {
669
+ x.disconnect();
670
670
  };
671
- }, [x]), !e) return null;
672
- const b = () => {
671
+ }, [N]), !e) return null;
672
+ const C = () => {
673
673
  switch (i) {
674
674
  case "ok":
675
- return /* @__PURE__ */ s("div", { className: "nc-dialog-footer", children: /* @__PURE__ */ s(G, { variant: "primary", onClick: c ?? t, disabled: u, children: g("common.ok") }) });
675
+ return /* @__PURE__ */ s("div", { className: "nc-dialog-footer", children: /* @__PURE__ */ s(Y, { variant: "primary", onClick: a ?? t, disabled: p, children: m("common.ok") }) });
676
676
  case "ok-cancel":
677
677
  return /* @__PURE__ */ y("div", { className: "nc-dialog-footer", children: [
678
- /* @__PURE__ */ s(G, { variant: "primary", onClick: c ?? t, disabled: u, children: g("common.ok") }),
679
- /* @__PURE__ */ s(ne, { onClick: h, children: g("common.cancel") })
678
+ /* @__PURE__ */ s(Y, { variant: "primary", onClick: a ?? t, disabled: p, children: m("common.ok") }),
679
+ /* @__PURE__ */ s(ne, { onClick: u, children: m("common.cancel") })
680
680
  ] });
681
681
  case "save-cancel":
682
682
  return /* @__PURE__ */ y("div", { className: "nc-dialog-footer", children: [
683
- /* @__PURE__ */ s(G, { variant: "primary", onClick: d, disabled: u, children: g("common.save") }),
684
- /* @__PURE__ */ s(ne, { onClick: h, children: g("common.cancel") })
683
+ /* @__PURE__ */ s(Y, { variant: "primary", onClick: d, disabled: p, children: m("common.save") }),
684
+ /* @__PURE__ */ s(ne, { onClick: u, children: m("common.cancel") })
685
685
  ] });
686
686
  case "delete-cancel":
687
687
  return /* @__PURE__ */ y("div", { className: "nc-dialog-footer", children: [
688
- /* @__PURE__ */ s(G, { variant: "danger", onClick: p, disabled: u, children: g("common.delete") }),
689
- /* @__PURE__ */ s(ne, { onClick: h, children: g("common.cancel") })
688
+ /* @__PURE__ */ s(Y, { variant: "danger", onClick: f, disabled: p, children: m("common.delete") }),
689
+ /* @__PURE__ */ s(ne, { onClick: u, children: m("common.cancel") })
690
690
  ] });
691
691
  case "connect":
692
692
  return /* @__PURE__ */ y("div", { className: "nc-dialog-footer", children: [
693
- /* @__PURE__ */ s(G, { variant: "primary", onClick: w, disabled: u, children: g("common.connect") }),
694
- /* @__PURE__ */ s(ne, { onClick: h, children: g("common.cancel") })
693
+ /* @__PURE__ */ s(Y, { variant: "primary", onClick: w, disabled: p, children: m("common.connect") }),
694
+ /* @__PURE__ */ s(ne, { onClick: u, children: m("common.cancel") })
695
695
  ] });
696
696
  case "close":
697
697
  return /* @__PURE__ */ s("div", { className: "nc-dialog-footer", children: /* @__PURE__ */ s(ne, { variant: "primary" }) });
698
698
  case "gotit":
699
- return /* @__PURE__ */ s("div", { className: "nc-dialog-footer", children: /* @__PURE__ */ s(ne, { variant: "primary", children: g("common.gotit") }) });
699
+ return /* @__PURE__ */ s("div", { className: "nc-dialog-footer", children: /* @__PURE__ */ s(ne, { variant: "primary", children: m("common.gotit") }) });
700
700
  case "custom":
701
701
  return /* @__PURE__ */ s("div", { className: "nc-dialog-footer", children: l });
702
702
  case "none":
@@ -704,29 +704,29 @@ function Rn({
704
704
  default:
705
705
  return null;
706
706
  }
707
- }, S = /* @__PURE__ */ s(De.Provider, { value: I, children: /* @__PURE__ */ s("div", { className: `nc-dialog-overlay${m ? " nc-fullscreen" : ""}`, onClick: P, children: /* @__PURE__ */ y(
707
+ }, z = /* @__PURE__ */ s(He.Provider, { value: A, children: /* @__PURE__ */ s("div", { className: `nc-dialog-overlay${b ? " nc-fullscreen" : ""}`, onClick: E, children: /* @__PURE__ */ y(
708
708
  "div",
709
709
  {
710
- ref: k,
711
- className: `nc-dialog-container ${f}`,
710
+ ref: h,
711
+ className: `nc-dialog-container ${v}`,
712
712
  style: o,
713
713
  tabIndex: -1,
714
714
  role: "dialog",
715
715
  "aria-modal": "true",
716
- "aria-labelledby": v ? void 0 : "nc-dialog-title",
716
+ "aria-labelledby": g ? void 0 : "nc-dialog-title",
717
717
  children: [
718
- !v && /* @__PURE__ */ y("div", { className: "nc-dialog-header", children: [
718
+ !g && /* @__PURE__ */ y("div", { className: "nc-dialog-header", children: [
719
719
  /* @__PURE__ */ s("h3", { id: "nc-dialog-title", className: "nc-dialog-title", children: n }),
720
- /* @__PURE__ */ s(Be, { onClick: t, "aria-label": "Close dialog" })
720
+ /* @__PURE__ */ s(De, { onClick: t, "aria-label": "Close dialog" })
721
721
  ] }),
722
- /* @__PURE__ */ s("div", { ref: $, className: "nc-dialog-content", children: r }),
723
- b()
722
+ /* @__PURE__ */ s("div", { ref: k, className: "nc-dialog-content", children: r }),
723
+ C()
724
724
  ]
725
725
  }
726
726
  ) }) });
727
- return m ? pe(S, document.body) : S;
727
+ return b ? pe(z, document.body) : z;
728
728
  }
729
- function bt({ onClick: e, size: t = "default", rightOffset: n = 4 }) {
729
+ function yt({ onClick: e, size: t = "default", rightOffset: n = 4 }) {
730
730
  const r = t === "small" ? 28 : 34;
731
731
  return /* @__PURE__ */ s(
732
732
  "button",
@@ -755,7 +755,7 @@ function bt({ onClick: e, size: t = "default", rightOffset: n = 4 }) {
755
755
  }
756
756
  );
757
757
  }
758
- function vt({ visible: e, onClick: t, size: n = "default" }) {
758
+ function xt({ visible: e, onClick: t, size: n = "default" }) {
759
759
  const r = n === "small" ? 28 : 34, o = n === "small" ? 16 : 18;
760
760
  return /* @__PURE__ */ s(
761
761
  "button",
@@ -779,11 +779,11 @@ function vt({ visible: e, onClick: t, size: n = "default" }) {
779
779
  alignItems: "center",
780
780
  justifyContent: "center"
781
781
  },
782
- children: e ? /* @__PURE__ */ s(ot, { size: o }) : /* @__PURE__ */ s(st, { size: o })
782
+ children: e ? /* @__PURE__ */ s(ct, { size: o }) : /* @__PURE__ */ s(at, { size: o })
783
783
  }
784
784
  );
785
785
  }
786
- function En({
786
+ function Dn({
787
787
  value: e,
788
788
  defaultValue: t = "",
789
789
  onChange: n,
@@ -791,50 +791,50 @@ function En({
791
791
  onClear: o,
792
792
  placeholder: i,
793
793
  disabled: l,
794
- label: c,
794
+ label: a,
795
795
  clearable: d = !0,
796
- type: p = "text",
797
- className: h = "",
796
+ type: f = "text",
797
+ className: u = "",
798
798
  size: w = "default",
799
- style: a,
800
- showPasswordToggle: u = !1,
801
- multiline: m = !1,
802
- rows: v = 3,
803
- validator: f,
804
- showErrorMessage: x = !0
799
+ style: c,
800
+ showPasswordToggle: p = !1,
801
+ multiline: b = !1,
802
+ rows: g = 3,
803
+ validator: v,
804
+ showErrorMessage: N = !0
805
805
  }) {
806
- const k = H(null), $ = H(null), [g, I] = R(!1), [P, b] = R(!1), S = e !== void 0, [N, E] = R(t), D = S ? e : N, M = f ? f(D) : null, O = !!M, C = p === "password", z = C && u && !l && !m, B = d && D && !l && P, ee = w === "small" ? 32 : 44;
806
+ const h = H(null), k = H(null), [m, A] = T(!1), [E, C] = T(!1), z = e !== void 0, [x, M] = T(t), S = z ? e : x, $ = v ? v(S) : null, W = !!$, R = f === "password", P = R && p && !l && !b, D = d && S && !l && E, ee = w === "small" ? 32 : 44;
807
807
  let K = 12;
808
- B && z ? K = ee * 2 : (B || z) && (K = ee);
808
+ D && P ? K = ee * 2 : (D || P) && (K = ee);
809
809
  const Q = () => {
810
- var te, ce;
811
- S || E(""), n == null || n(""), o == null || o(), m ? (te = $.current) == null || te.focus() : (ce = k.current) == null || ce.focus();
812
- }, ae = (te) => {
813
- te.key === "Enter" && !m && (r == null || r());
814
- }, V = (te) => {
815
- const ce = te.target.value;
816
- S || E(ce), n == null || n(ce);
817
- }, Se = () => {
818
- b(!0);
810
+ var te, ae;
811
+ z || M(""), n == null || n(""), o == null || o(), b ? (te = k.current) == null || te.focus() : (ae = h.current) == null || ae.focus();
812
+ }, ce = (te) => {
813
+ te.key === "Enter" && !b && (r == null || r());
814
+ }, F = (te) => {
815
+ const ae = te.target.value;
816
+ z || M(ae), n == null || n(ae);
819
817
  }, Ce = () => {
820
- b(!1);
821
- }, Ie = `nc-input ${w === "small" ? "nc-small " : ""} ${O ? "nc-error " : ""}${h}`;
822
- return /* @__PURE__ */ y("div", { className: "nc-col", style: { position: "relative", flex: 1, ...a }, children: [
823
- c && /* @__PURE__ */ s("span", { className: "nc-label", children: c }),
824
- /* @__PURE__ */ y("div", { style: { position: "relative", display: "flex", alignItems: m ? "flex-start" : "center" }, children: [
825
- m ? /* @__PURE__ */ s(
818
+ C(!0);
819
+ }, Se = () => {
820
+ C(!1);
821
+ }, Ie = `nc-input ${w === "small" ? "nc-small " : ""} ${W ? "nc-error " : ""}${u}`;
822
+ return /* @__PURE__ */ y("div", { className: "nc-col", style: { position: "relative", flex: 1, ...c }, children: [
823
+ a && /* @__PURE__ */ s("span", { className: "nc-label", children: a }),
824
+ /* @__PURE__ */ y("div", { style: { position: "relative", display: "flex", alignItems: b ? "flex-start" : "center" }, children: [
825
+ b ? /* @__PURE__ */ s(
826
826
  "textarea",
827
827
  {
828
- ref: $,
828
+ ref: k,
829
829
  className: Ie,
830
830
  placeholder: i,
831
- value: D,
832
- onChange: V,
833
- onKeyDown: ae,
834
- onFocus: Se,
835
- onBlur: Ce,
831
+ value: S,
832
+ onChange: F,
833
+ onKeyDown: ce,
834
+ onFocus: Ce,
835
+ onBlur: Se,
836
836
  disabled: l,
837
- rows: v,
837
+ rows: g,
838
838
  style: {
839
839
  width: "100%",
840
840
  paddingRight: K
@@ -843,15 +843,15 @@ function En({
843
843
  ) : /* @__PURE__ */ s(
844
844
  "input",
845
845
  {
846
- ref: k,
847
- type: C && g ? "text" : p,
846
+ ref: h,
847
+ type: R && m ? "text" : f,
848
848
  className: Ie,
849
849
  placeholder: i,
850
- value: D,
851
- onChange: V,
852
- onKeyDown: ae,
853
- onFocus: Se,
854
- onBlur: Ce,
850
+ value: S,
851
+ onChange: F,
852
+ onKeyDown: ce,
853
+ onFocus: Ce,
854
+ onBlur: Se,
855
855
  disabled: l,
856
856
  style: {
857
857
  width: "100%",
@@ -859,28 +859,28 @@ function En({
859
859
  }
860
860
  }
861
861
  ),
862
- B && /* @__PURE__ */ s(bt, { onClick: Q, size: w, rightOffset: z ? ee + 4 : 4 }),
863
- z && /* @__PURE__ */ s(vt, { visible: g, onClick: () => I(!g), size: w })
862
+ D && /* @__PURE__ */ s(yt, { onClick: Q, size: w, rightOffset: P ? ee + 4 : 4 }),
863
+ P && /* @__PURE__ */ s(xt, { visible: m, onClick: () => A(!m), size: w })
864
864
  ] }),
865
- O && x && /* @__PURE__ */ s("span", { className: "nc-error-message", children: M })
865
+ W && N && /* @__PURE__ */ s("span", { className: "nc-error-message", children: $ })
866
866
  ] });
867
867
  }
868
- function zn({
868
+ function Hn({
869
869
  children: e,
870
870
  onClick: t,
871
871
  showBorder: n = !0,
872
872
  selectable: r = !1,
873
873
  style: o
874
874
  }) {
875
- const [i, l] = ye.useState(!1);
875
+ const [i, l] = xe.useState(!1);
876
876
  return /* @__PURE__ */ s(
877
877
  "div",
878
878
  {
879
879
  onClick: (d) => {
880
880
  if (t) {
881
881
  if (r) {
882
- const p = window.getSelection();
883
- if (p && p.toString().length > 0)
882
+ const f = window.getSelection();
883
+ if (f && f.toString().length > 0)
884
884
  return;
885
885
  }
886
886
  t(d);
@@ -900,7 +900,7 @@ function zn({
900
900
  }
901
901
  );
902
902
  }
903
- function Pn({ title: e, titleTools: t, children: n, style: r }) {
903
+ function On({ title: e, titleTools: t, children: n, style: r }) {
904
904
  return /* @__PURE__ */ y("div", { className: "nc-list-group", style: r, children: [
905
905
  (e || t) && /* @__PURE__ */ y("div", { className: "nc-list-group-title", children: [
906
906
  /* @__PURE__ */ s("div", { children: e }),
@@ -915,57 +915,57 @@ function Pn({ title: e, titleTools: t, children: n, style: r }) {
915
915
  )
916
916
  ] });
917
917
  }
918
- function Ln({ values: e, onChange: t, options: n, placeholder: r = "Select…", label: o }) {
919
- const [i, l] = R(!1), [c, d] = R(""), p = H(null), h = xe(() => n.filter((a) => a.label.toLowerCase().includes(c.toLowerCase())), [n, c]);
920
- T(() => {
921
- function a(u) {
922
- !(u.target instanceof Node) || !p.current || p.current.contains(u.target) || l(!1);
918
+ function Wn({ values: e, onChange: t, options: n, placeholder: r = "Select…", label: o }) {
919
+ const [i, l] = T(!1), [a, d] = T(""), f = H(null), u = ge(() => n.filter((c) => c.label.toLowerCase().includes(a.toLowerCase())), [n, a]);
920
+ L(() => {
921
+ function c(p) {
922
+ !(p.target instanceof Node) || !f.current || f.current.contains(p.target) || l(!1);
923
923
  }
924
- return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
924
+ return document.addEventListener("mousedown", c), () => document.removeEventListener("mousedown", c);
925
925
  }, []);
926
- const w = (a) => {
927
- e.includes(a) ? t(e.filter((u) => u !== a)) : t([...e, a]);
926
+ const w = (c) => {
927
+ e.includes(c) ? t(e.filter((p) => p !== c)) : t([...e, c]);
928
928
  };
929
- return /* @__PURE__ */ y("div", { ref: p, className: "nc-col", style: { position: "relative" }, children: [
929
+ return /* @__PURE__ */ y("div", { ref: f, className: "nc-col", style: { position: "relative" }, children: [
930
930
  o && /* @__PURE__ */ s("span", { className: "nc-label", children: o }),
931
931
  /* @__PURE__ */ y("div", { className: "nc-row", style: { flexWrap: "wrap", gap: 6, minHeight: 42, alignItems: "center", border: "1px solid var(--nc-button-border)", borderRadius: 8, background: "var(--nc-button-bg)", padding: "4px 8px" }, children: [
932
932
  e.length === 0 && /* @__PURE__ */ s("span", { className: "nc-label", children: r }),
933
- e.map((a) => {
934
- const u = n.find((m) => m.value === a);
935
- return u ? /* @__PURE__ */ y("span", { style: { padding: "4px 8px", borderRadius: 6, display: "inline-flex", alignItems: "center", gap: 4, background: "var(--nc-button-bg)", border: "1px solid var(--nc-button-border)" }, children: [
936
- u.label,
933
+ e.map((c) => {
934
+ const p = n.find((b) => b.value === c);
935
+ return p ? /* @__PURE__ */ y("span", { style: { padding: "4px 8px", borderRadius: 6, display: "inline-flex", alignItems: "center", gap: 4, background: "var(--nc-button-bg)", border: "1px solid var(--nc-button-border)" }, children: [
936
+ p.label,
937
937
  /* @__PURE__ */ s(
938
938
  "button",
939
939
  {
940
940
  className: "nc-button nc-ghost",
941
941
  style: { padding: 0, minHeight: 0, height: 20, width: 20, display: "inline-flex", alignItems: "center", justifyContent: "center", border: "none" },
942
- onClick: () => w(a),
943
- "aria-label": `Remove ${u.label}`,
942
+ onClick: () => w(c),
943
+ "aria-label": `Remove ${p.label}`,
944
944
  children: "✕"
945
945
  }
946
946
  )
947
- ] }, a) : null;
947
+ ] }, c) : null;
948
948
  }),
949
949
  /* @__PURE__ */ s(
950
950
  "input",
951
951
  {
952
952
  className: "nc-input",
953
- value: c,
954
- onChange: (a) => d(a.target.value),
953
+ value: a,
954
+ onChange: (c) => d(c.target.value),
955
955
  onFocus: () => l(!0),
956
956
  style: { minWidth: 50, border: "none", background: "transparent", padding: 4, minHeight: 32, flex: 1 }
957
957
  }
958
958
  )
959
959
  ] }),
960
960
  i && /* @__PURE__ */ y("div", { className: "nc-combo-dropdown", style: { position: "absolute", top: "100%", left: 0, right: 0, zIndex: 10, marginTop: 4, boxShadow: "0 4px 12px var(--nc-shadow)" }, children: [
961
- h.map((a) => {
962
- const u = e.includes(a.value);
963
- return /* @__PURE__ */ y("div", { className: "nc-section nc-row", style: { justifyContent: "space-between", cursor: "pointer", padding: 12 }, onMouseDown: () => w(a.value), children: [
964
- /* @__PURE__ */ s("span", { children: a.label }),
965
- /* @__PURE__ */ s("span", { children: u ? "✔️" : "" })
966
- ] }, a.value);
961
+ u.map((c) => {
962
+ const p = e.includes(c.value);
963
+ return /* @__PURE__ */ y("div", { className: "nc-section nc-row", style: { justifyContent: "space-between", cursor: "pointer", padding: 12 }, onMouseDown: () => w(c.value), children: [
964
+ /* @__PURE__ */ s("span", { children: c.label }),
965
+ /* @__PURE__ */ s("span", { children: p ? "✔️" : "" })
966
+ ] }, c.value);
967
967
  }),
968
- h.length === 0 && /* @__PURE__ */ s("div", { className: "nc-section nc-label", children: "No results" })
968
+ u.length === 0 && /* @__PURE__ */ s("div", { className: "nc-section nc-label", children: "No results" })
969
969
  ] })
970
970
  ] });
971
971
  }
@@ -1000,7 +1000,7 @@ function $e() {
1000
1000
  const e = /* @__PURE__ */ new Date(), t = e.getFullYear(), n = String(e.getMonth() + 1).padStart(2, "0");
1001
1001
  return `${t}-${n}`;
1002
1002
  }
1003
- function Tn({
1003
+ function Fn({
1004
1004
  startMonth: e,
1005
1005
  endMonth: t,
1006
1006
  onChange: n,
@@ -1008,44 +1008,44 @@ function Tn({
1008
1008
  className: o = "",
1009
1009
  disabled: i = !1
1010
1010
  }) {
1011
- const [l, c] = R(!1), [d, p] = R(""), [h, w] = R(""), [a, u] = R({ top: 0, left: 0, width: 0 }), m = H(null), v = H(null);
1012
- T(() => {
1013
- if (l && m.current) {
1014
- const E = m.current.getBoundingClientRect();
1015
- u({
1016
- top: E.bottom + 4,
1017
- left: E.left,
1018
- width: E.width
1011
+ const [l, a] = T(!1), [d, f] = T(""), [u, w] = T(""), [c, p] = T({ top: 0, left: 0, width: 0 }), b = H(null), g = H(null);
1012
+ L(() => {
1013
+ if (l && b.current) {
1014
+ const M = b.current.getBoundingClientRect();
1015
+ p({
1016
+ top: M.bottom + 4,
1017
+ left: M.left,
1018
+ width: M.width
1019
1019
  });
1020
1020
  }
1021
- }, [l]), T(() => {
1021
+ }, [l]), L(() => {
1022
1022
  if (!l) return;
1023
- const E = (D) => {
1024
- m.current && !m.current.contains(D.target) && v.current && !v.current.contains(D.target) && c(!1);
1023
+ const M = (S) => {
1024
+ b.current && !b.current.contains(S.target) && g.current && !g.current.contains(S.target) && a(!1);
1025
1025
  };
1026
- return document.addEventListener("mousedown", E), () => document.removeEventListener("mousedown", E);
1026
+ return document.addEventListener("mousedown", M), () => document.removeEventListener("mousedown", M);
1027
1027
  }, [l]);
1028
- const f = () => {
1029
- p(e || $e()), w(t || $e()), c(!0);
1030
- }, x = () => {
1031
- c(!1);
1032
- }, k = () => {
1033
- const E = fe(d), D = fe(h);
1034
- if (E || D)
1028
+ const v = () => {
1029
+ f(e || $e()), w(t || $e()), a(!0);
1030
+ }, N = () => {
1031
+ a(!1);
1032
+ }, h = () => {
1033
+ const M = fe(d), S = fe(u);
1034
+ if (M || S)
1035
1035
  return;
1036
- const M = ue(d), O = ue(h);
1037
- M && O && (n == null || n(M, O)), c(!1);
1038
- }, $ = e && t ? `${Me(e)} - ${Me(t)}` : "Select month range", g = fe(d), I = fe(h), P = ue(d), b = ue(h), S = P && b && P > b, N = l ? pe(
1036
+ const $ = ue(d), W = ue(u);
1037
+ $ && W && (n == null || n($, W)), a(!1);
1038
+ }, k = e && t ? `${Me(e)} - ${Me(t)}` : "Select month range", m = fe(d), A = fe(u), E = ue(d), C = ue(u), z = E && C && E > C, x = l ? pe(
1039
1039
  /* @__PURE__ */ s(
1040
1040
  "div",
1041
1041
  {
1042
- ref: v,
1042
+ ref: g,
1043
1043
  className: "nc-month-range-picker-popup",
1044
1044
  style: {
1045
1045
  position: "fixed",
1046
- top: a.top,
1047
- left: a.left,
1048
- width: Math.max(a.width, 400),
1046
+ top: c.top,
1047
+ left: c.left,
1048
+ width: Math.max(c.width, 400),
1049
1049
  zIndex: 1e3
1050
1050
  },
1051
1051
  children: /* @__PURE__ */ y("div", { className: "nc-month-range-picker-content", children: [
@@ -1056,13 +1056,13 @@ function Tn({
1056
1056
  "input",
1057
1057
  {
1058
1058
  type: "text",
1059
- className: `nc-month-input ${g ? "nc-error" : ""}`,
1059
+ className: `nc-month-input ${m ? "nc-error" : ""}`,
1060
1060
  value: d,
1061
- onChange: (E) => p(E.target.value),
1061
+ onChange: (M) => f(M.target.value),
1062
1062
  placeholder: "YY-M(M) or YYYY-M(M)"
1063
1063
  }
1064
1064
  ),
1065
- g && /* @__PURE__ */ s("div", { className: "nc-month-error-text", children: g })
1065
+ m && /* @__PURE__ */ s("div", { className: "nc-month-error-text", children: m })
1066
1066
  ] }),
1067
1067
  /* @__PURE__ */ y("div", { className: "nc-month-range-picker-column", children: [
1068
1068
  /* @__PURE__ */ s("label", { className: "nc-label", children: "End Month" }),
@@ -1070,27 +1070,27 @@ function Tn({
1070
1070
  "input",
1071
1071
  {
1072
1072
  type: "text",
1073
- className: `nc-month-input ${I ? "nc-error" : ""}`,
1074
- value: h,
1075
- onChange: (E) => w(E.target.value),
1073
+ className: `nc-month-input ${A ? "nc-error" : ""}`,
1074
+ value: u,
1075
+ onChange: (M) => w(M.target.value),
1076
1076
  placeholder: "YY-M(M) or YYYY-M(M)"
1077
1077
  }
1078
1078
  ),
1079
- I && /* @__PURE__ */ s("div", { className: "nc-month-error-text", children: I })
1079
+ A && /* @__PURE__ */ s("div", { className: "nc-month-error-text", children: A })
1080
1080
  ] })
1081
1081
  ] }),
1082
- S && !g && !I && /* @__PURE__ */ s("div", { className: "nc-month-range-error", children: "End month must be after or equal to start month" }),
1082
+ z && !m && !A && /* @__PURE__ */ s("div", { className: "nc-month-range-error", children: "End month must be after or equal to start month" }),
1083
1083
  /* @__PURE__ */ y("div", { className: "nc-month-range-picker-footer", children: [
1084
1084
  /* @__PURE__ */ s(
1085
- G,
1085
+ Y,
1086
1086
  {
1087
1087
  variant: "primary",
1088
- onClick: k,
1089
- disabled: !d || !h || !!g || !!I || !!S,
1088
+ onClick: h,
1089
+ disabled: !d || !u || !!m || !!A || !!z,
1090
1090
  children: "Apply"
1091
1091
  }
1092
1092
  ),
1093
- /* @__PURE__ */ s(G, { variant: "ghost", onClick: x, children: "Cancel" })
1093
+ /* @__PURE__ */ s(Y, { variant: "ghost", onClick: N, children: "Cancel" })
1094
1094
  ] })
1095
1095
  ] })
1096
1096
  }
@@ -1102,23 +1102,23 @@ function Tn({
1102
1102
  /* @__PURE__ */ s(
1103
1103
  "button",
1104
1104
  {
1105
- ref: m,
1105
+ ref: b,
1106
1106
  className: "nc-month-range-picker-input",
1107
- onClick: f,
1107
+ onClick: v,
1108
1108
  disabled: i,
1109
- children: $
1109
+ children: k
1110
1110
  }
1111
1111
  ),
1112
- N
1112
+ x
1113
1113
  ] });
1114
1114
  }
1115
- function Bn({ value: e, onChange: t, min: n, max: r, step: o = 1, label: i, disabled: l, size: c = "default" }) {
1116
- const d = c === "small", p = () => {
1117
- const a = e - o;
1118
- n !== void 0 && a < n || t(parseFloat(a.toFixed(10)));
1119
- }, h = () => {
1120
- const a = e + o;
1121
- r !== void 0 && a > r || t(parseFloat(a.toFixed(10)));
1115
+ function Vn({ value: e, onChange: t, min: n, max: r, step: o = 1, label: i, disabled: l, size: a = "default" }) {
1116
+ const d = a === "small", f = () => {
1117
+ const c = e - o;
1118
+ n !== void 0 && c < n || t(parseFloat(c.toFixed(10)));
1119
+ }, u = () => {
1120
+ const c = e + o;
1121
+ r !== void 0 && c > r || t(parseFloat(c.toFixed(10)));
1122
1122
  };
1123
1123
  return /* @__PURE__ */ y("div", { className: `nc-col nc-number-input-col ${d ? "nc-small" : ""}`, children: [
1124
1124
  i && /* @__PURE__ */ s("span", { className: `nc-label ${d ? "nc-small" : ""}`, children: i }),
@@ -1129,9 +1129,9 @@ function Bn({ value: e, onChange: t, min: n, max: r, step: o = 1, label: i, disa
1129
1129
  className: `nc-input nc-number-input ${d ? "nc-small" : ""}`,
1130
1130
  type: "number",
1131
1131
  value: e,
1132
- onChange: (a) => {
1133
- const u = parseFloat(a.target.value);
1134
- isNaN(u) || n !== void 0 && u < n || r !== void 0 && u > r || t(u);
1132
+ onChange: (c) => {
1133
+ const p = parseFloat(c.target.value);
1134
+ isNaN(p) || n !== void 0 && p < n || r !== void 0 && p > r || t(p);
1135
1135
  },
1136
1136
  min: n,
1137
1137
  max: r,
@@ -1143,7 +1143,7 @@ function Bn({ value: e, onChange: t, min: n, max: r, step: o = 1, label: i, disa
1143
1143
  "button",
1144
1144
  {
1145
1145
  className: `nc-button nc-ghost nc-number-input-button ${d ? "nc-small" : ""}`,
1146
- onClick: p,
1146
+ onClick: f,
1147
1147
  disabled: l || n !== void 0 && e <= n,
1148
1148
  children: "−"
1149
1149
  }
@@ -1152,7 +1152,7 @@ function Bn({ value: e, onChange: t, min: n, max: r, step: o = 1, label: i, disa
1152
1152
  "button",
1153
1153
  {
1154
1154
  className: `nc-button nc-ghost nc-number-input-button ${d ? "nc-small" : ""}`,
1155
- onClick: h,
1155
+ onClick: u,
1156
1156
  disabled: l || r !== void 0 && e >= r,
1157
1157
  children: "+"
1158
1158
  }
@@ -1160,7 +1160,7 @@ function Bn({ value: e, onChange: t, min: n, max: r, step: o = 1, label: i, disa
1160
1160
  ] })
1161
1161
  ] });
1162
1162
  }
1163
- function Dn({
1163
+ function Gn({
1164
1164
  value: e,
1165
1165
  onChange: t,
1166
1166
  min: n = 0,
@@ -1168,13 +1168,13 @@ function Dn({
1168
1168
  step: o = 1,
1169
1169
  label: i,
1170
1170
  disabled: l,
1171
- showValue: c = !0,
1172
- formatValue: d = (h) => h.toString(),
1173
- width: p = 200
1171
+ showValue: a = !0,
1172
+ formatValue: d = (u) => u.toString(),
1173
+ width: f = 200
1174
1174
  }) {
1175
- const h = (a) => {
1176
- const u = parseFloat(a.target.value);
1177
- t(u);
1175
+ const u = (c) => {
1176
+ const p = parseFloat(c.target.value);
1177
+ t(p);
1178
1178
  }, w = (e - n) / (r - n) * 100;
1179
1179
  return /* @__PURE__ */ y("div", { className: "nc-col", style: { gap: 6 }, children: [
1180
1180
  i && /* @__PURE__ */ s("span", { className: "nc-label", children: i }),
@@ -1185,18 +1185,18 @@ function Dn({
1185
1185
  type: "range",
1186
1186
  className: "nc-slider",
1187
1187
  value: e,
1188
- onChange: h,
1188
+ onChange: u,
1189
1189
  min: n,
1190
1190
  max: r,
1191
1191
  step: o,
1192
1192
  disabled: l,
1193
1193
  style: {
1194
- width: p,
1194
+ width: f,
1195
1195
  "--nc-slider-percentage": `${w}%`
1196
1196
  }
1197
1197
  }
1198
1198
  ),
1199
- c && /* @__PURE__ */ s(
1199
+ a && /* @__PURE__ */ s(
1200
1200
  "span",
1201
1201
  {
1202
1202
  style: {
@@ -1212,108 +1212,132 @@ function Dn({
1212
1212
  ] })
1213
1213
  ] });
1214
1214
  }
1215
- const wt = ({ size: e = 24, className: t, style: n }) => /* @__PURE__ */ s("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", className: t, style: n, children: /* @__PURE__ */ s("polyline", { points: "18 15 12 9 6 15" }) });
1216
- function yt({ children: e, className: t = "", style: n }) {
1215
+ const kt = ({ size: e = 24, className: t, style: n }) => /* @__PURE__ */ s("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", className: t, style: n, children: /* @__PURE__ */ s("polyline", { points: "18 15 12 9 6 15" }) });
1216
+ function Nt({ children: e, className: t = "", style: n }) {
1217
1217
  return /* @__PURE__ */ s("div", { className: `nc-tab-panel ${t}`, style: n, children: e });
1218
1218
  }
1219
- function Hn({ active: e, children: t, keepMounted: n = !1, className: r = "", style: o }) {
1220
- const i = Qe.toArray(t).filter(
1221
- (c) => Ze(c) && (c.type === yt || c.type.displayName === "TabPanel")
1219
+ function Yn({ active: e, children: t, keepMounted: n = !1, className: r = "", style: o }) {
1220
+ const i = Ze.toArray(t).filter(
1221
+ (a) => et(a) && (a.type === Nt || a.type.displayName === "TabPanel")
1222
1222
  );
1223
1223
  if (n)
1224
- return /* @__PURE__ */ s("div", { className: `nc-tab-panels ${r}`, style: o, children: i.map((c) => {
1225
- const d = c.props.tab === e;
1224
+ return /* @__PURE__ */ s("div", { className: `nc-tab-panels ${r}`, style: o, children: i.map((a) => {
1225
+ const d = a.props.tab === e;
1226
1226
  return /* @__PURE__ */ s(
1227
1227
  "div",
1228
1228
  {
1229
1229
  className: `nc-tab-panel-wrapper ${d ? "nc-active" : ""}`,
1230
- style: { display: d ? "block" : "none" },
1230
+ style: { display: d ? void 0 : "none" },
1231
1231
  "aria-hidden": !d,
1232
- children: c
1232
+ children: a
1233
1233
  },
1234
- c.props.tab
1234
+ a.props.tab
1235
1235
  );
1236
1236
  }) });
1237
- const l = i.find((c) => c.props.tab === e);
1237
+ const l = i.find((a) => a.props.tab === e);
1238
1238
  return /* @__PURE__ */ s("div", { className: `nc-tab-panels ${r}`, style: o, children: l });
1239
1239
  }
1240
- function Wn({ tabs: e, active: t, onChange: n, className: r, toolbar: o, multiline: i, orientation: l = "horizontal", style: c }) {
1241
- const d = H(null), [p, h] = R(!1), [w, a] = R(!1), u = l === "verticalLeft" || l === "verticalRight", m = H(!1), v = H(0), f = H(0), x = H(!1);
1242
- T(() => {
1243
- const b = () => {
1244
- if (d.current)
1245
- if (u) {
1246
- const { scrollTop: N, scrollHeight: E, clientHeight: D } = d.current;
1247
- h(N > 1), a(N < E - D - 1);
1240
+ function jn({ tabs: e, active: t, onChange: n, onClose: r, permanentTabs: o, className: i, toolbar: l, multiline: a, orientation: d = "horizontal", style: f }) {
1241
+ const u = H(null), [w, c] = T(!1), [p, b] = T(!1), g = d === "verticalLeft" || d === "verticalRight", v = H(!1), N = H(0), h = H(0), k = H(!1);
1242
+ L(() => {
1243
+ const x = () => {
1244
+ if (u.current)
1245
+ if (g) {
1246
+ const { scrollTop: S, scrollHeight: $, clientHeight: W } = u.current;
1247
+ c(S > 1), b(S < $ - W - 1);
1248
1248
  } else {
1249
- const { scrollLeft: N, scrollWidth: E, clientWidth: D } = d.current;
1250
- h(N > 1), a(N < E - D - 1);
1249
+ const { scrollLeft: S, scrollWidth: $, clientWidth: W } = u.current;
1250
+ c(S > 1), b(S < $ - W - 1);
1251
1251
  }
1252
- }, S = d.current;
1253
- if (S)
1254
- return b(), S.addEventListener("scroll", b), window.addEventListener("resize", b), () => {
1255
- S.removeEventListener("scroll", b), window.removeEventListener("resize", b);
1252
+ }, M = u.current;
1253
+ if (M)
1254
+ return x(), M.addEventListener("scroll", x), window.addEventListener("resize", x), () => {
1255
+ M.removeEventListener("scroll", x), window.removeEventListener("resize", x);
1256
1256
  };
1257
- }, [e, u]);
1258
- const k = (b) => {
1259
- d.current && (m.current = !0, x.current = !1, v.current = u ? b.clientY : b.clientX, f.current = u ? d.current.scrollTop : d.current.scrollLeft, d.current.style.cursor = "grabbing", d.current.style.userSelect = "none");
1260
- }, $ = (b) => {
1261
- if (!m.current || !d.current) return;
1262
- const S = u ? b.clientY : b.clientX, N = v.current - S;
1263
- Math.abs(N) > 3 && (x.current = !0), u ? d.current.scrollTop = f.current + N : d.current.scrollLeft = f.current + N;
1264
- }, g = () => {
1265
- d.current && (m.current = !1, d.current.style.cursor = "", d.current.style.userSelect = "");
1266
- }, I = () => {
1267
- g();
1257
+ }, [e, g]);
1258
+ const m = (x) => {
1259
+ u.current && (v.current = !0, k.current = !1, N.current = g ? x.clientY : x.clientX, h.current = g ? u.current.scrollTop : u.current.scrollLeft, u.current.style.cursor = "grabbing", u.current.style.userSelect = "none");
1260
+ }, A = (x) => {
1261
+ if (!v.current || !u.current) return;
1262
+ const M = g ? x.clientY : x.clientX, S = N.current - M;
1263
+ Math.abs(S) > 3 && (k.current = !0), g ? u.current.scrollTop = h.current + S : u.current.scrollLeft = h.current + S;
1264
+ }, E = () => {
1265
+ u.current && (v.current = !1, u.current.style.cursor = "", u.current.style.userSelect = "");
1266
+ }, C = () => {
1267
+ E();
1268
1268
  };
1269
- T(() => {
1270
- const b = d.current;
1271
- if (!b || u) return;
1272
- const S = (N) => {
1273
- N.deltaY !== 0 && (N.preventDefault(), b.scrollLeft += N.deltaY * 0.3);
1269
+ L(() => {
1270
+ const x = u.current;
1271
+ if (!x || g) return;
1272
+ const M = (S) => {
1273
+ S.deltaY !== 0 && (S.preventDefault(), x.scrollLeft += S.deltaY * 0.3);
1274
1274
  };
1275
- return b.addEventListener("wheel", S, { passive: !1 }), () => {
1276
- b.removeEventListener("wheel", S);
1275
+ return x.addEventListener("wheel", M, { passive: !1 }), () => {
1276
+ x.removeEventListener("wheel", M);
1277
1277
  };
1278
- }, [u]);
1279
- const P = (b) => {
1280
- x.current || n(b);
1278
+ }, [g]);
1279
+ const z = (x) => {
1280
+ k.current || n(x);
1281
1281
  };
1282
- return /* @__PURE__ */ y("div", { className: `nc-tab-container ${u ? `nc-vertical nc-${l}` : ""} ${r || ""}`, style: c, children: [
1282
+ return /* @__PURE__ */ y("div", { className: `nc-tab-container ${g ? `nc-vertical nc-${d}` : ""} ${i || ""}`, style: f, children: [
1283
1283
  /* @__PURE__ */ y("div", { className: "nc-tab-scroll-wrapper", children: [
1284
- p && /* @__PURE__ */ s("div", { className: `nc-tab-scroll-indicator ${u ? "nc-top" : "nc-left"}`, children: u ? /* @__PURE__ */ s(wt, { size: 16 }) : /* @__PURE__ */ s(it, { size: 16 }) }),
1284
+ w && /* @__PURE__ */ s("div", { className: `nc-tab-scroll-indicator ${g ? "nc-top" : "nc-left"}`, children: g ? /* @__PURE__ */ s(kt, { size: 16 }) : /* @__PURE__ */ s(lt, { size: 16 }) }),
1285
1285
  /* @__PURE__ */ s(
1286
1286
  "div",
1287
1287
  {
1288
- ref: d,
1289
- className: `nc-tab-scroll ${i ? "nc-multiline" : ""}`,
1290
- onMouseDown: k,
1291
- onMouseMove: $,
1292
- onMouseUp: g,
1293
- onMouseLeave: I,
1288
+ ref: u,
1289
+ className: `nc-tab-scroll ${a ? "nc-multiline" : ""}`,
1290
+ onMouseDown: m,
1291
+ onMouseMove: A,
1292
+ onMouseUp: E,
1293
+ onMouseLeave: C,
1294
1294
  style: { cursor: "grab" },
1295
- children: e.map((b) => /* @__PURE__ */ s(
1296
- "div",
1297
- {
1298
- className: `nc-tab-item ${t === b ? "nc-active" : ""}`,
1299
- onClick: () => P(b),
1300
- role: "button",
1301
- tabIndex: 0,
1302
- onKeyDown: (S) => {
1303
- (S.key === "Enter" || S.key === " ") && n(b);
1295
+ children: e.map((x) => {
1296
+ const M = r && !(o != null && o.includes(x));
1297
+ return /* @__PURE__ */ y(
1298
+ "div",
1299
+ {
1300
+ className: `nc-tab-item ${t === x ? "nc-active" : ""} ${M ? "nc-closable" : ""}`,
1301
+ onClick: () => z(x),
1302
+ role: "button",
1303
+ tabIndex: 0,
1304
+ onKeyDown: (S) => {
1305
+ (S.key === "Enter" || S.key === " ") && n(x);
1306
+ },
1307
+ children: [
1308
+ /* @__PURE__ */ s("span", { className: "nc-tab-label", children: g ? x : x.toUpperCase() }),
1309
+ M && /* @__PURE__ */ s(
1310
+ "span",
1311
+ {
1312
+ className: "nc-tab-close",
1313
+ role: "button",
1314
+ tabIndex: 0,
1315
+ "aria-label": `Close ${x}`,
1316
+ onClick: (S) => {
1317
+ S.stopPropagation(), r(x);
1318
+ },
1319
+ onKeyDown: (S) => {
1320
+ (S.key === "Enter" || S.key === " ") && (S.stopPropagation(), r(x));
1321
+ },
1322
+ children: /* @__PURE__ */ y("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: [
1323
+ /* @__PURE__ */ s("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
1324
+ /* @__PURE__ */ s("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
1325
+ ] })
1326
+ }
1327
+ )
1328
+ ]
1304
1329
  },
1305
- children: u ? b : b.toUpperCase()
1306
- },
1307
- b
1308
- ))
1330
+ x
1331
+ );
1332
+ })
1309
1333
  }
1310
1334
  ),
1311
- w && /* @__PURE__ */ s("div", { className: `nc-tab-scroll-indicator ${u ? "nc-bottom" : "nc-right"}`, children: u ? /* @__PURE__ */ s(at, { size: 16 }) : /* @__PURE__ */ s(ct, { size: 16 }) })
1335
+ p && /* @__PURE__ */ s("div", { className: `nc-tab-scroll-indicator ${g ? "nc-bottom" : "nc-right"}`, children: g ? /* @__PURE__ */ s(dt, { size: 16 }) : /* @__PURE__ */ s(ut, { size: 16 }) })
1312
1336
  ] }),
1313
- o && /* @__PURE__ */ s("div", { className: "nc-tab-toolbar", children: o })
1337
+ l && /* @__PURE__ */ s("div", { className: "nc-tab-toolbar", children: l })
1314
1338
  ] });
1315
1339
  }
1316
- function Vn({ checked: e, onChange: t, disabled: n, label: r }) {
1340
+ function Kn({ checked: e, onChange: t, disabled: n, label: r }) {
1317
1341
  return /* @__PURE__ */ y(
1318
1342
  "label",
1319
1343
  {
@@ -1365,47 +1389,167 @@ function Vn({ checked: e, onChange: t, disabled: n, label: r }) {
1365
1389
  }
1366
1390
  );
1367
1391
  }
1392
+ const Re = [
1393
+ "var(--nc-csv-col-0)",
1394
+ "var(--nc-csv-col-1)",
1395
+ "var(--nc-csv-col-2)",
1396
+ "var(--nc-csv-col-3)",
1397
+ "var(--nc-csv-col-4)",
1398
+ "var(--nc-csv-col-5)",
1399
+ "var(--nc-csv-col-6)",
1400
+ "var(--nc-csv-col-7)",
1401
+ "var(--nc-csv-col-8)",
1402
+ "var(--nc-csv-col-9)"
1403
+ ];
1404
+ function At(e, t) {
1405
+ const r = e.slice(0, t).split(`
1406
+ `), o = r.length, l = r[o - 1].split(" "), a = l.length, d = l[a - 1].length + 1;
1407
+ return { line: o, column: a, character: d, offset: t };
1408
+ }
1409
+ function Ct(e, t, n, r) {
1410
+ const o = e.split(`
1411
+ `), i = Math.max(1, Math.min(t, o.length));
1412
+ let l = 0;
1413
+ for (let w = 0; w < i - 1; w++)
1414
+ l += o[w].length + 1;
1415
+ const d = o[i - 1].split(" "), f = Math.max(1, Math.min(n, d.length));
1416
+ for (let w = 0; w < f - 1; w++)
1417
+ l += d[w].length + 1;
1418
+ const u = Math.max(1, Math.min(r, d[f - 1].length + 1));
1419
+ return l += u - 1, l;
1420
+ }
1421
+ function St(e, t) {
1422
+ const n = e.split(`
1423
+ `), r = Math.max(1, Math.min(t, n.length));
1424
+ let o = 0;
1425
+ for (let i = 0; i < r - 1; i++)
1426
+ o += n[i].length + 1;
1427
+ return o;
1428
+ }
1429
+ const _n = tt(
1430
+ function({ value: t, onChange: n, placeholder: r, className: o, style: i, showLineNumbers: l = !1, onCursorChange: a, highlightLine: d }, f) {
1431
+ const u = H(null), w = H(null), c = H(null);
1432
+ nt(f, () => ({
1433
+ goToLine(h) {
1434
+ const k = u.current;
1435
+ if (!k) return;
1436
+ const m = St(t, h);
1437
+ k.focus(), k.setSelectionRange(m, m);
1438
+ const A = parseFloat(getComputedStyle(k).lineHeight) || 18;
1439
+ k.scrollTop = (Math.max(1, h) - 1) * A, b(), p();
1440
+ },
1441
+ goToPosition(h, k, m) {
1442
+ const A = u.current;
1443
+ if (!A) return;
1444
+ const E = Ct(t, h, k, m);
1445
+ A.focus(), A.setSelectionRange(E, E);
1446
+ const C = parseFloat(getComputedStyle(A).lineHeight) || 18;
1447
+ A.scrollTop = (Math.max(1, h) - 1) * C, b(), p();
1448
+ }
1449
+ }), [t]);
1450
+ const p = O(() => {
1451
+ if (!a || !u.current) return;
1452
+ const h = At(t, u.current.selectionStart);
1453
+ a(h);
1454
+ }, [a, t]), b = O(() => {
1455
+ const h = u.current;
1456
+ h && (w.current && (w.current.scrollTop = h.scrollTop, w.current.scrollLeft = h.scrollLeft), c.current && (c.current.scrollTop = h.scrollTop));
1457
+ }, []);
1458
+ L(() => {
1459
+ if (d == null || d < 1) return;
1460
+ const h = u.current;
1461
+ if (!h) return;
1462
+ const k = parseFloat(getComputedStyle(h).lineHeight) || 18, m = (d - 1) * k, A = m + k;
1463
+ (m < h.scrollTop || A > h.scrollTop + h.clientHeight) && (h.scrollTop = m - h.clientHeight / 2 + k / 2), b();
1464
+ }, [d]);
1465
+ const g = ge(() => t.split(`
1466
+ `).length, [t]), v = () => {
1467
+ const h = [];
1468
+ for (let k = 1; k <= g; k++)
1469
+ h.push(
1470
+ /* @__PURE__ */ s("div", { className: `nc-csv-line-number ${d === k ? "nc-csv-highlight" : ""}`, children: k }, k)
1471
+ );
1472
+ return /* @__PURE__ */ s("div", { className: "nc-csv-gutter", ref: c, children: h });
1473
+ }, N = (h) => h ? h.split(`
1474
+ `).map((m, A) => {
1475
+ const E = m.split(" ");
1476
+ return /* @__PURE__ */ y("div", { className: `nc-csv-line ${d === A + 1 ? "nc-csv-highlight" : ""}`, children: [
1477
+ E.map((C, z) => /* @__PURE__ */ y("span", { children: [
1478
+ z > 0 && /* @__PURE__ */ s("span", { className: "nc-csv-tab-char", children: " " }),
1479
+ /* @__PURE__ */ s("span", { style: { color: Re[z % Re.length] }, children: C })
1480
+ ] }, z)),
1481
+ m === "" && `
1482
+ `
1483
+ ] }, A);
1484
+ }) : null;
1485
+ return /* @__PURE__ */ y("div", { className: `nc-csv-textarea-container ${l ? "nc-csv-with-gutter" : ""} ${o ?? ""}`, style: i, children: [
1486
+ l && v(),
1487
+ /* @__PURE__ */ y("div", { className: "nc-csv-textarea-editor", children: [
1488
+ /* @__PURE__ */ s("div", { className: "nc-csv-textarea-backdrop", ref: w, children: /* @__PURE__ */ s("pre", { className: "nc-csv-textarea-highlights", children: N(t) }) }),
1489
+ /* @__PURE__ */ s(
1490
+ "textarea",
1491
+ {
1492
+ ref: u,
1493
+ className: "nc-csv-textarea-input",
1494
+ value: t,
1495
+ onChange: (h) => {
1496
+ n(h.target.value), requestAnimationFrame(p);
1497
+ },
1498
+ onScroll: b,
1499
+ onSelect: p,
1500
+ onKeyUp: p,
1501
+ onClick: p,
1502
+ placeholder: r,
1503
+ spellCheck: !1,
1504
+ autoComplete: "off",
1505
+ autoCorrect: "off"
1506
+ }
1507
+ )
1508
+ ] })
1509
+ ] });
1510
+ }
1511
+ );
1368
1512
  let Z = { notifications: [] };
1369
- const be = /* @__PURE__ */ new Set(), Re = /* @__PURE__ */ new Map();
1370
- function ve() {
1513
+ const ve = /* @__PURE__ */ new Set(), Ee = /* @__PURE__ */ new Map();
1514
+ function we() {
1371
1515
  const e = Z.notifications.slice();
1372
- for (const t of Array.from(be))
1516
+ for (const t of Array.from(ve))
1373
1517
  try {
1374
1518
  t(e);
1375
1519
  } catch {
1376
1520
  }
1377
1521
  }
1378
- function xt(e) {
1379
- be.add(e);
1522
+ function It(e) {
1523
+ ve.add(e);
1380
1524
  try {
1381
1525
  e(Z.notifications.slice());
1382
1526
  } catch {
1383
1527
  }
1384
1528
  return () => {
1385
- be.delete(e);
1529
+ ve.delete(e);
1386
1530
  };
1387
1531
  }
1388
- function kt(e) {
1532
+ function Mt(e) {
1389
1533
  const t = `notification-${Date.now()}-${Math.random()}`, n = {
1390
1534
  id: t,
1391
1535
  dismissible: !0,
1392
1536
  lastingTime: 5e3,
1393
1537
  ...e
1394
1538
  };
1395
- return Z.notifications = [n, ...Z.notifications], ve(), n.lastingTime && n.lastingTime > 0 && setTimeout(() => {
1396
- He(t);
1539
+ return Z.notifications = [n, ...Z.notifications], we(), n.lastingTime && n.lastingTime > 0 && setTimeout(() => {
1540
+ Oe(t);
1397
1541
  }, n.lastingTime), t;
1398
1542
  }
1399
- function He(e) {
1543
+ function Oe(e) {
1400
1544
  const t = Z.notifications.find((r) => r.id === e);
1401
1545
  if (!t) return;
1402
- t.isRemoving = !0, ve();
1546
+ t.isRemoving = !0, we();
1403
1547
  const n = window.setTimeout(() => {
1404
- Z.notifications = Z.notifications.filter((r) => r.id !== e), ve(), Re.delete(e);
1548
+ Z.notifications = Z.notifications.filter((r) => r.id !== e), we(), Ee.delete(e);
1405
1549
  }, 300);
1406
- Re.set(e, n);
1550
+ Ee.set(e, n);
1407
1551
  }
1408
- function Nt({ notification: e }) {
1552
+ function $t({ notification: e }) {
1409
1553
  const { t } = J(), n = () => {
1410
1554
  if (e.title) return e.title;
1411
1555
  switch (e.type) {
@@ -1419,7 +1563,7 @@ function Nt({ notification: e }) {
1419
1563
  return t("common.info");
1420
1564
  }
1421
1565
  }, r = () => {
1422
- He(e.id);
1566
+ Oe(e.id);
1423
1567
  };
1424
1568
  return /* @__PURE__ */ s(
1425
1569
  "div",
@@ -1442,24 +1586,24 @@ function Nt({ notification: e }) {
1442
1586
  }
1443
1587
  );
1444
1588
  }
1445
- function Fn() {
1446
- const [e, t] = R([]), [n, r] = R(/* @__PURE__ */ new Map()), [o, i] = R(/* @__PURE__ */ new Set()), l = H(null), c = H([]);
1447
- return T(() => xt((p) => {
1448
- const h = new Set(c.current.map((a) => a.id)), w = p.filter((a) => !h.has(a.id)).map((a) => a.id);
1449
- w.length > 0 ? (t(p), i(new Set(w)), requestAnimationFrame(() => {
1589
+ function Un() {
1590
+ const [e, t] = T([]), [n, r] = T(/* @__PURE__ */ new Map()), [o, i] = T(/* @__PURE__ */ new Set()), l = H(null), a = H([]);
1591
+ return L(() => It((f) => {
1592
+ const u = new Set(a.current.map((c) => c.id)), w = f.filter((c) => !u.has(c.id)).map((c) => c.id);
1593
+ w.length > 0 ? (t(f), i(new Set(w)), requestAnimationFrame(() => {
1450
1594
  requestAnimationFrame(() => {
1451
1595
  i(/* @__PURE__ */ new Set());
1452
1596
  });
1453
- })) : t(p), c.current = p;
1454
- }), []), T(() => {
1597
+ })) : t(f), a.current = f;
1598
+ }), []), L(() => {
1455
1599
  if (!l.current) return;
1456
1600
  const d = /* @__PURE__ */ new Map();
1457
- let p = 0;
1458
- const h = l.current.children;
1459
- e.forEach((w, a) => {
1460
- if (d.set(w.id, p), h[a]) {
1461
- const u = h[a].offsetHeight;
1462
- w.isRemoving || (p += u + 12);
1601
+ let f = 0;
1602
+ const u = l.current.children;
1603
+ e.forEach((w, c) => {
1604
+ if (d.set(w.id, f), u[c]) {
1605
+ const p = u[c].offsetHeight;
1606
+ w.isRemoving || (f += p + 12);
1463
1607
  }
1464
1608
  }), r(d);
1465
1609
  }, [e]), /* @__PURE__ */ s(
@@ -1481,7 +1625,7 @@ function Fn() {
1481
1625
  position: "relative"
1482
1626
  },
1483
1627
  children: e.map((d) => {
1484
- const p = o.has(d.id), h = d.isRemoving, w = n.get(d.id) || 0;
1628
+ const f = o.has(d.id), u = d.isRemoving, w = n.get(d.id) || 0;
1485
1629
  return /* @__PURE__ */ s(
1486
1630
  "div",
1487
1631
  {
@@ -1489,13 +1633,13 @@ function Fn() {
1489
1633
  position: "absolute",
1490
1634
  top: 0,
1491
1635
  left: 0,
1492
- transform: p ? "translateY(-120px)" : `translateY(${w}px)`,
1636
+ transform: f ? "translateY(-120px)" : `translateY(${w}px)`,
1493
1637
  // Only animate transform when not leaving, animate opacity always
1494
- transition: h ? "opacity 300ms ease-out" : "transform 300ms ease-out, opacity 300ms ease-out",
1495
- opacity: h ? 0 : 1,
1638
+ transition: u ? "opacity 300ms ease-out" : "transform 300ms ease-out, opacity 300ms ease-out",
1639
+ opacity: u ? 0 : 1,
1496
1640
  width: "100%"
1497
1641
  },
1498
- children: /* @__PURE__ */ s(Nt, { notification: d })
1642
+ children: /* @__PURE__ */ s($t, { notification: d })
1499
1643
  },
1500
1644
  d.id
1501
1645
  );
@@ -1505,11 +1649,11 @@ function Fn() {
1505
1649
  }
1506
1650
  );
1507
1651
  }
1508
- const On = {
1509
- show: (e) => kt(e)
1652
+ const qn = {
1653
+ show: (e) => Mt(e)
1510
1654
  };
1511
- function Yn(e) {
1512
- const t = lt.createInstance(), n = {};
1655
+ function Xn(e) {
1656
+ const t = pt.createInstance(), n = {};
1513
1657
  for (const o in e)
1514
1658
  n[o] = { translation: e[o] };
1515
1659
  const r = typeof document < "u" && document.documentElement.lang || "en";
@@ -1524,12 +1668,12 @@ function Yn(e) {
1524
1668
  }), typeof MutationObserver < "u" && typeof document < "u" && new MutationObserver((i) => {
1525
1669
  for (const l of i)
1526
1670
  if (l.type === "attributes" && l.attributeName === "lang") {
1527
- const c = document.documentElement.lang || "en";
1528
- t.changeLanguage(c);
1671
+ const a = document.documentElement.lang || "en";
1672
+ t.changeLanguage(a);
1529
1673
  }
1530
1674
  }).observe(document.documentElement, { attributes: !0 }), t;
1531
1675
  }
1532
- class At {
1676
+ class Rt {
1533
1677
  constructor() {
1534
1678
  _(this, "apps", /* @__PURE__ */ new Map());
1535
1679
  }
@@ -1569,8 +1713,8 @@ class At {
1569
1713
  return this.apps.has(t);
1570
1714
  }
1571
1715
  }
1572
- const oe = new At(), Ee = "nc-ui-app-state";
1573
- class St {
1716
+ const oe = new Rt(), Te = "nc-ui-app-state";
1717
+ class Et {
1574
1718
  constructor() {
1575
1719
  _(this, "state");
1576
1720
  _(this, "listeners", /* @__PURE__ */ new Map());
@@ -1578,7 +1722,7 @@ class St {
1578
1722
  }
1579
1723
  loadState() {
1580
1724
  try {
1581
- const t = localStorage.getItem(Ee);
1725
+ const t = localStorage.getItem(Te);
1582
1726
  if (t)
1583
1727
  return JSON.parse(t);
1584
1728
  } catch {
@@ -1587,7 +1731,7 @@ class St {
1587
1731
  }
1588
1732
  saveState() {
1589
1733
  try {
1590
- localStorage.setItem(Ee, JSON.stringify(this.state));
1734
+ localStorage.setItem(Te, JSON.stringify(this.state));
1591
1735
  } catch {
1592
1736
  }
1593
1737
  }
@@ -1617,8 +1761,8 @@ class St {
1617
1761
  (r = this.listeners.get(t)) == null || r.forEach((o) => o(n));
1618
1762
  }
1619
1763
  }
1620
- const j = new St();
1621
- class Ct {
1764
+ const j = new Et();
1765
+ class Tt {
1622
1766
  constructor() {
1623
1767
  _(this, "apps", []);
1624
1768
  _(this, "activeAppId", null);
@@ -1737,14 +1881,14 @@ class Ct {
1737
1881
  this.listeners.forEach((t) => t());
1738
1882
  }
1739
1883
  }
1740
- const F = new Ct(), We = se(null);
1741
- function It() {
1884
+ const V = new Tt(), We = se(null);
1885
+ function zt() {
1742
1886
  const e = X(We);
1743
1887
  if (!e)
1744
1888
  throw new Error("useApp must be used inside an App");
1745
1889
  return e;
1746
1890
  }
1747
- function Mt({ size: e = 16 }) {
1891
+ function Pt({ size: e = 16 }) {
1748
1892
  return /* @__PURE__ */ y(
1749
1893
  "svg",
1750
1894
  {
@@ -1763,7 +1907,7 @@ function Mt({ size: e = 16 }) {
1763
1907
  }
1764
1908
  );
1765
1909
  }
1766
- function $t({ title: e, onClose: t, onBack: n, toolbar: r, hideBackButton: o }) {
1910
+ function Lt({ title: e, onClose: t, onBack: n, toolbar: r, hideBackButton: o }) {
1767
1911
  return /* @__PURE__ */ y("div", { className: "nc-app-title-bar", children: [
1768
1912
  /* @__PURE__ */ y("div", { className: "nc-app-title-bar-left", children: [
1769
1913
  n && !o && /* @__PURE__ */ s(
@@ -1773,18 +1917,18 @@ function $t({ title: e, onClose: t, onBack: n, toolbar: r, hideBackButton: o })
1773
1917
  onClick: n,
1774
1918
  title: "Back",
1775
1919
  "aria-label": "Go back",
1776
- children: /* @__PURE__ */ s(Mt, { size: 16 })
1920
+ children: /* @__PURE__ */ s(Pt, { size: 16 })
1777
1921
  }
1778
1922
  ),
1779
1923
  /* @__PURE__ */ s("span", { className: "nc-app-title-bar-title", children: e })
1780
1924
  ] }),
1781
1925
  /* @__PURE__ */ y("div", { className: "nc-app-title-bar-right", children: [
1782
1926
  r && /* @__PURE__ */ s("div", { className: "nc-app-title-bar-toolbar", children: r }),
1783
- /* @__PURE__ */ s(Be, { onClick: t, "aria-label": "Close application" })
1927
+ /* @__PURE__ */ s(De, { onClick: t, "aria-label": "Close application" })
1784
1928
  ] })
1785
1929
  ] });
1786
1930
  }
1787
- class Rt extends ye.Component {
1931
+ class Bt extends xe.Component {
1788
1932
  constructor(t) {
1789
1933
  super(t), this.state = { hasError: !1 };
1790
1934
  }
@@ -1817,38 +1961,38 @@ class Rt extends ye.Component {
1817
1961
  ) : this.props.children;
1818
1962
  }
1819
1963
  }
1820
- function Ve({ appId: e, isActive: t, onClose: n }) {
1821
- const { t: r } = J(), o = oe.get(e), [i, l] = R(""), [c, d] = R(null), [p, h] = R(null), [w, a] = R(!1), [u, m] = R(!1);
1822
- ye.useEffect(() => {
1964
+ function Fe({ appId: e, isActive: t, onClose: n }) {
1965
+ const { t: r } = J(), o = oe.get(e), [i, l] = T(""), [a, d] = T(null), [f, u] = T(null), [w, c] = T(!1), [p, b] = T(!1);
1966
+ xe.useEffect(() => {
1823
1967
  o != null && o.titleKey && l(r(o.titleKey));
1824
1968
  }, [o, r]);
1825
- const v = W((N) => {
1826
- l(N);
1827
- }, []), f = W((N) => {
1828
- d(() => N);
1829
- }, []), x = W(() => {
1969
+ const g = O((x) => {
1970
+ l(x);
1971
+ }, []), v = O((x) => {
1972
+ d(() => x);
1973
+ }, []), N = O(() => {
1830
1974
  d(null);
1831
- }, []), k = W((N) => {
1832
- h(N);
1833
- }, []), $ = W(() => {
1834
- h(null);
1835
- }, []), g = W((N) => {
1836
- a(N);
1837
- }, []), I = W((N) => {
1838
- m(N);
1839
- }, []), P = xe(() => ({
1840
- setTitle: v,
1841
- setBackHandler: f,
1842
- clearBackHandler: x,
1843
- setToolbar: k,
1844
- clearToolbar: $,
1845
- setHideBackButton: g,
1846
- setHideTitleBar: I,
1975
+ }, []), h = O((x) => {
1976
+ u(x);
1977
+ }, []), k = O(() => {
1978
+ u(null);
1979
+ }, []), m = O((x) => {
1980
+ c(x);
1981
+ }, []), A = O((x) => {
1982
+ b(x);
1983
+ }, []), E = ge(() => ({
1984
+ setTitle: g,
1985
+ setBackHandler: v,
1986
+ clearBackHandler: N,
1987
+ setToolbar: h,
1988
+ clearToolbar: k,
1989
+ setHideBackButton: m,
1990
+ setHideTitleBar: A,
1847
1991
  close: n
1848
- }), [v, f, x, k, $, g, I, n]);
1992
+ }), [g, v, N, h, k, m, A, n]);
1849
1993
  if (!o)
1850
1994
  return null;
1851
- const b = o.component, S = !o.hideTitleBar && !u;
1995
+ const C = o.component, z = !o.hideTitleBar && !p;
1852
1996
  return /* @__PURE__ */ y(
1853
1997
  "div",
1854
1998
  {
@@ -1859,20 +2003,20 @@ function Ve({ appId: e, isActive: t, onClose: n }) {
1859
2003
  minHeight: 0
1860
2004
  },
1861
2005
  children: [
1862
- S && /* @__PURE__ */ s(
1863
- $t,
2006
+ z && /* @__PURE__ */ s(
2007
+ Lt,
1864
2008
  {
1865
2009
  title: i,
1866
2010
  onClose: n,
1867
- onBack: c ?? void 0,
1868
- toolbar: p,
2011
+ onBack: a ?? void 0,
2012
+ toolbar: f,
1869
2013
  hideBackButton: w
1870
2014
  }
1871
2015
  ),
1872
2016
  /* @__PURE__ */ s(
1873
2017
  "div",
1874
2018
  {
1875
- className: S ? "nc-app-content-wrapper" : "",
2019
+ className: z ? "nc-app-content-wrapper" : "",
1876
2020
  style: {
1877
2021
  padding: o.padding,
1878
2022
  flex: 1,
@@ -1882,8 +2026,8 @@ function Ve({ appId: e, isActive: t, onClose: n }) {
1882
2026
  backgroundColor: "var(--nc-bg-secondary)",
1883
2027
  position: "relative"
1884
2028
  },
1885
- children: /* @__PURE__ */ s(We.Provider, { value: P, children: /* @__PURE__ */ s(Rt, { appId: e, children: /* @__PURE__ */ s(
1886
- et,
2029
+ children: /* @__PURE__ */ s(We.Provider, { value: E, children: /* @__PURE__ */ s(Bt, { appId: e, children: /* @__PURE__ */ s(
2030
+ rt,
1887
2031
  {
1888
2032
  fallback: /* @__PURE__ */ s(
1889
2033
  "div",
@@ -1894,10 +2038,10 @@ function Ve({ appId: e, isActive: t, onClose: n }) {
1894
2038
  justifyContent: "center",
1895
2039
  flex: 1
1896
2040
  },
1897
- children: /* @__PURE__ */ s(Te, {})
2041
+ children: /* @__PURE__ */ s(Be, {})
1898
2042
  }
1899
2043
  ),
1900
- children: /* @__PURE__ */ s(b, {})
2044
+ children: /* @__PURE__ */ s(C, {})
1901
2045
  }
1902
2046
  ) }) })
1903
2047
  }
@@ -1906,16 +2050,16 @@ function Ve({ appId: e, isActive: t, onClose: n }) {
1906
2050
  }
1907
2051
  );
1908
2052
  }
1909
- const he = 768, me = 1024, Fe = {
2053
+ const he = 768, me = 1024, Ve = {
1910
2054
  isMobile: !1,
1911
2055
  isTablet: !1,
1912
2056
  isDesktop: !0,
1913
2057
  width: typeof window < "u" ? window.innerWidth : 1024,
1914
2058
  height: typeof window < "u" ? window.innerHeight : 768
1915
- }, Oe = se(Fe);
1916
- function Gn({ children: e }) {
1917
- const [t, n] = R(() => {
1918
- if (typeof window > "u") return Fe;
2059
+ }, Ge = se(Ve);
2060
+ function Jn({ children: e }) {
2061
+ const [t, n] = T(() => {
2062
+ if (typeof window > "u") return Ve;
1919
2063
  const r = window.innerWidth, o = window.innerHeight;
1920
2064
  return {
1921
2065
  isMobile: r < he,
@@ -1925,7 +2069,7 @@ function Gn({ children: e }) {
1925
2069
  height: o
1926
2070
  };
1927
2071
  });
1928
- return T(() => {
2072
+ return L(() => {
1929
2073
  const r = () => {
1930
2074
  const o = window.innerWidth, i = window.innerHeight;
1931
2075
  n({
@@ -1937,46 +2081,46 @@ function Gn({ children: e }) {
1937
2081
  });
1938
2082
  };
1939
2083
  return window.addEventListener("resize", r), () => window.removeEventListener("resize", r);
1940
- }, []), /* @__PURE__ */ s(Oe.Provider, { value: t, children: e });
2084
+ }, []), /* @__PURE__ */ s(Ge.Provider, { value: t, children: e });
1941
2085
  }
1942
2086
  function Ye() {
1943
- return X(Oe);
2087
+ return X(Ge);
1944
2088
  }
1945
- const ke = "-", Et = (e) => {
1946
- const t = Pt(e), {
2089
+ const ke = "-", Dt = (e) => {
2090
+ const t = Ot(e), {
1947
2091
  conflictingClassGroups: n,
1948
2092
  conflictingClassGroupModifiers: r
1949
2093
  } = e;
1950
2094
  return {
1951
2095
  getClassGroupId: (l) => {
1952
- const c = l.split(ke);
1953
- return c[0] === "" && c.length !== 1 && c.shift(), Ge(c, t) || zt(l);
2096
+ const a = l.split(ke);
2097
+ return a[0] === "" && a.length !== 1 && a.shift(), je(a, t) || Ht(l);
1954
2098
  },
1955
- getConflictingClassGroupIds: (l, c) => {
2099
+ getConflictingClassGroupIds: (l, a) => {
1956
2100
  const d = n[l] || [];
1957
- return c && r[l] ? [...d, ...r[l]] : d;
2101
+ return a && r[l] ? [...d, ...r[l]] : d;
1958
2102
  }
1959
2103
  };
1960
- }, Ge = (e, t) => {
2104
+ }, je = (e, t) => {
1961
2105
  var l;
1962
2106
  if (e.length === 0)
1963
2107
  return t.classGroupId;
1964
- const n = e[0], r = t.nextPart.get(n), o = r ? Ge(e.slice(1), r) : void 0;
2108
+ const n = e[0], r = t.nextPart.get(n), o = r ? je(e.slice(1), r) : void 0;
1965
2109
  if (o)
1966
2110
  return o;
1967
2111
  if (t.validators.length === 0)
1968
2112
  return;
1969
2113
  const i = e.join(ke);
1970
2114
  return (l = t.validators.find(({
1971
- validator: c
1972
- }) => c(i))) == null ? void 0 : l.classGroupId;
1973
- }, ze = /^\[(.+)\]$/, zt = (e) => {
2115
+ validator: a
2116
+ }) => a(i))) == null ? void 0 : l.classGroupId;
2117
+ }, ze = /^\[(.+)\]$/, Ht = (e) => {
1974
2118
  if (ze.test(e)) {
1975
2119
  const t = ze.exec(e)[1], n = t == null ? void 0 : t.substring(0, t.indexOf(":"));
1976
2120
  if (n)
1977
2121
  return "arbitrary.." + n;
1978
2122
  }
1979
- }, Pt = (e) => {
2123
+ }, Ot = (e) => {
1980
2124
  const {
1981
2125
  theme: t,
1982
2126
  prefix: n
@@ -1984,10 +2128,10 @@ const ke = "-", Et = (e) => {
1984
2128
  nextPart: /* @__PURE__ */ new Map(),
1985
2129
  validators: []
1986
2130
  };
1987
- return Tt(Object.entries(e.classGroups), n).forEach(([i, l]) => {
1988
- we(l, r, i, t);
2131
+ return Ft(Object.entries(e.classGroups), n).forEach(([i, l]) => {
2132
+ ye(l, r, i, t);
1989
2133
  }), r;
1990
- }, we = (e, t, n, r) => {
2134
+ }, ye = (e, t, n, r) => {
1991
2135
  e.forEach((o) => {
1992
2136
  if (typeof o == "string") {
1993
2137
  const i = o === "" ? t : Pe(t, o);
@@ -1995,8 +2139,8 @@ const ke = "-", Et = (e) => {
1995
2139
  return;
1996
2140
  }
1997
2141
  if (typeof o == "function") {
1998
- if (Lt(o)) {
1999
- we(o(r), t, n, r);
2142
+ if (Wt(o)) {
2143
+ ye(o(r), t, n, r);
2000
2144
  return;
2001
2145
  }
2002
2146
  t.validators.push({
@@ -2006,7 +2150,7 @@ const ke = "-", Et = (e) => {
2006
2150
  return;
2007
2151
  }
2008
2152
  Object.entries(o).forEach(([i, l]) => {
2009
- we(l, Pe(t, i), n, r);
2153
+ ye(l, Pe(t, i), n, r);
2010
2154
  });
2011
2155
  });
2012
2156
  }, Pe = (e, t) => {
@@ -2017,10 +2161,10 @@ const ke = "-", Et = (e) => {
2017
2161
  validators: []
2018
2162
  }), n = n.nextPart.get(r);
2019
2163
  }), n;
2020
- }, Lt = (e) => e.isThemeGetter, Tt = (e, t) => t ? e.map(([n, r]) => {
2021
- const o = r.map((i) => typeof i == "string" ? t + i : typeof i == "object" ? Object.fromEntries(Object.entries(i).map(([l, c]) => [t + l, c])) : i);
2164
+ }, Wt = (e) => e.isThemeGetter, Ft = (e, t) => t ? e.map(([n, r]) => {
2165
+ const o = r.map((i) => typeof i == "string" ? t + i : typeof i == "object" ? Object.fromEntries(Object.entries(i).map(([l, a]) => [t + l, a])) : i);
2022
2166
  return [n, o];
2023
- }) : e, Bt = (e) => {
2167
+ }) : e, Vt = (e) => {
2024
2168
  if (e < 1)
2025
2169
  return {
2026
2170
  get: () => {
@@ -2044,40 +2188,40 @@ const ke = "-", Et = (e) => {
2044
2188
  n.has(i) ? n.set(i, l) : o(i, l);
2045
2189
  }
2046
2190
  };
2047
- }, je = "!", Dt = (e) => {
2191
+ }, Ke = "!", Gt = (e) => {
2048
2192
  const {
2049
2193
  separator: t,
2050
2194
  experimentalParseClassName: n
2051
- } = e, r = t.length === 1, o = t[0], i = t.length, l = (c) => {
2195
+ } = e, r = t.length === 1, o = t[0], i = t.length, l = (a) => {
2052
2196
  const d = [];
2053
- let p = 0, h = 0, w;
2054
- for (let f = 0; f < c.length; f++) {
2055
- let x = c[f];
2056
- if (p === 0) {
2057
- if (x === o && (r || c.slice(f, f + i) === t)) {
2058
- d.push(c.slice(h, f)), h = f + i;
2197
+ let f = 0, u = 0, w;
2198
+ for (let v = 0; v < a.length; v++) {
2199
+ let N = a[v];
2200
+ if (f === 0) {
2201
+ if (N === o && (r || a.slice(v, v + i) === t)) {
2202
+ d.push(a.slice(u, v)), u = v + i;
2059
2203
  continue;
2060
2204
  }
2061
- if (x === "/") {
2062
- w = f;
2205
+ if (N === "/") {
2206
+ w = v;
2063
2207
  continue;
2064
2208
  }
2065
2209
  }
2066
- x === "[" ? p++ : x === "]" && p--;
2210
+ N === "[" ? f++ : N === "]" && f--;
2067
2211
  }
2068
- const a = d.length === 0 ? c : c.substring(h), u = a.startsWith(je), m = u ? a.substring(1) : a, v = w && w > h ? w - h : void 0;
2212
+ const c = d.length === 0 ? a : a.substring(u), p = c.startsWith(Ke), b = p ? c.substring(1) : c, g = w && w > u ? w - u : void 0;
2069
2213
  return {
2070
2214
  modifiers: d,
2071
- hasImportantModifier: u,
2072
- baseClassName: m,
2073
- maybePostfixModifierPosition: v
2215
+ hasImportantModifier: p,
2216
+ baseClassName: b,
2217
+ maybePostfixModifierPosition: g
2074
2218
  };
2075
2219
  };
2076
- return n ? (c) => n({
2077
- className: c,
2220
+ return n ? (a) => n({
2221
+ className: a,
2078
2222
  parseClassName: l
2079
2223
  }) : l;
2080
- }, Ht = (e) => {
2224
+ }, Yt = (e) => {
2081
2225
  if (e.length <= 1)
2082
2226
  return e;
2083
2227
  const t = [];
@@ -2085,122 +2229,122 @@ const ke = "-", Et = (e) => {
2085
2229
  return e.forEach((r) => {
2086
2230
  r[0] === "[" ? (t.push(...n.sort(), r), n = []) : n.push(r);
2087
2231
  }), t.push(...n.sort()), t;
2088
- }, Wt = (e) => ({
2089
- cache: Bt(e.cacheSize),
2090
- parseClassName: Dt(e),
2091
- ...Et(e)
2092
- }), Vt = /\s+/, Ft = (e, t) => {
2232
+ }, jt = (e) => ({
2233
+ cache: Vt(e.cacheSize),
2234
+ parseClassName: Gt(e),
2235
+ ...Dt(e)
2236
+ }), Kt = /\s+/, _t = (e, t) => {
2093
2237
  const {
2094
2238
  parseClassName: n,
2095
2239
  getClassGroupId: r,
2096
2240
  getConflictingClassGroupIds: o
2097
- } = t, i = [], l = e.trim().split(Vt);
2098
- let c = "";
2241
+ } = t, i = [], l = e.trim().split(Kt);
2242
+ let a = "";
2099
2243
  for (let d = l.length - 1; d >= 0; d -= 1) {
2100
- const p = l[d], {
2101
- modifiers: h,
2244
+ const f = l[d], {
2245
+ modifiers: u,
2102
2246
  hasImportantModifier: w,
2103
- baseClassName: a,
2104
- maybePostfixModifierPosition: u
2105
- } = n(p);
2106
- let m = !!u, v = r(m ? a.substring(0, u) : a);
2107
- if (!v) {
2108
- if (!m) {
2109
- c = p + (c.length > 0 ? " " + c : c);
2247
+ baseClassName: c,
2248
+ maybePostfixModifierPosition: p
2249
+ } = n(f);
2250
+ let b = !!p, g = r(b ? c.substring(0, p) : c);
2251
+ if (!g) {
2252
+ if (!b) {
2253
+ a = f + (a.length > 0 ? " " + a : a);
2110
2254
  continue;
2111
2255
  }
2112
- if (v = r(a), !v) {
2113
- c = p + (c.length > 0 ? " " + c : c);
2256
+ if (g = r(c), !g) {
2257
+ a = f + (a.length > 0 ? " " + a : a);
2114
2258
  continue;
2115
2259
  }
2116
- m = !1;
2260
+ b = !1;
2117
2261
  }
2118
- const f = Ht(h).join(":"), x = w ? f + je : f, k = x + v;
2119
- if (i.includes(k))
2262
+ const v = Yt(u).join(":"), N = w ? v + Ke : v, h = N + g;
2263
+ if (i.includes(h))
2120
2264
  continue;
2121
- i.push(k);
2122
- const $ = o(v, m);
2123
- for (let g = 0; g < $.length; ++g) {
2124
- const I = $[g];
2125
- i.push(x + I);
2265
+ i.push(h);
2266
+ const k = o(g, b);
2267
+ for (let m = 0; m < k.length; ++m) {
2268
+ const A = k[m];
2269
+ i.push(N + A);
2126
2270
  }
2127
- c = p + (c.length > 0 ? " " + c : c);
2271
+ a = f + (a.length > 0 ? " " + a : a);
2128
2272
  }
2129
- return c;
2273
+ return a;
2130
2274
  };
2131
- function Ot() {
2275
+ function Ut() {
2132
2276
  let e = 0, t, n, r = "";
2133
2277
  for (; e < arguments.length; )
2134
- (t = arguments[e++]) && (n = Ke(t)) && (r && (r += " "), r += n);
2278
+ (t = arguments[e++]) && (n = _e(t)) && (r && (r += " "), r += n);
2135
2279
  return r;
2136
2280
  }
2137
- const Ke = (e) => {
2281
+ const _e = (e) => {
2138
2282
  if (typeof e == "string")
2139
2283
  return e;
2140
2284
  let t, n = "";
2141
2285
  for (let r = 0; r < e.length; r++)
2142
- e[r] && (t = Ke(e[r])) && (n && (n += " "), n += t);
2286
+ e[r] && (t = _e(e[r])) && (n && (n += " "), n += t);
2143
2287
  return n;
2144
2288
  };
2145
- function Yt(e, ...t) {
2289
+ function qt(e, ...t) {
2146
2290
  let n, r, o, i = l;
2147
2291
  function l(d) {
2148
- const p = t.reduce((h, w) => w(h), e());
2149
- return n = Wt(p), r = n.cache.get, o = n.cache.set, i = c, c(d);
2292
+ const f = t.reduce((u, w) => w(u), e());
2293
+ return n = jt(f), r = n.cache.get, o = n.cache.set, i = a, a(d);
2150
2294
  }
2151
- function c(d) {
2152
- const p = r(d);
2153
- if (p)
2154
- return p;
2155
- const h = Ft(d, n);
2156
- return o(d, h), h;
2295
+ function a(d) {
2296
+ const f = r(d);
2297
+ if (f)
2298
+ return f;
2299
+ const u = _t(d, n);
2300
+ return o(d, u), u;
2157
2301
  }
2158
2302
  return function() {
2159
- return i(Ot.apply(null, arguments));
2303
+ return i(Ut.apply(null, arguments));
2160
2304
  };
2161
2305
  }
2162
- const L = (e) => {
2306
+ const B = (e) => {
2163
2307
  const t = (n) => n[e] || [];
2164
2308
  return t.isThemeGetter = !0, t;
2165
- }, _e = /^\[(?:([a-z-]+):)?(.+)\]$/i, Gt = /^\d+\/\d+$/, jt = /* @__PURE__ */ new Set(["px", "full", "screen"]), Kt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, _t = /\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$/, Ut = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, qt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Xt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Y = (e) => re(e) || jt.has(e) || Gt.test(e), U = (e) => ie(e, "length", on), re = (e) => !!e && !Number.isNaN(Number(e)), ge = (e) => ie(e, "number", re), le = (e) => !!e && Number.isInteger(Number(e)), Jt = (e) => e.endsWith("%") && re(e.slice(0, -1)), A = (e) => _e.test(e), q = (e) => Kt.test(e), Qt = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Zt = (e) => ie(e, Qt, Ue), en = (e) => ie(e, "position", Ue), tn = /* @__PURE__ */ new Set(["image", "url"]), nn = (e) => ie(e, tn, an), rn = (e) => ie(e, "", sn), de = () => !0, ie = (e, t, n) => {
2166
- const r = _e.exec(e);
2309
+ }, Ue = /^\[(?:([a-z-]+):)?(.+)\]$/i, Xt = /^\d+\/\d+$/, Jt = /* @__PURE__ */ new Set(["px", "full", "screen"]), Qt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Zt = /\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$/, en = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, tn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, nn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, G = (e) => re(e) || Jt.has(e) || Xt.test(e), U = (e) => ie(e, "length", un), re = (e) => !!e && !Number.isNaN(Number(e)), be = (e) => ie(e, "number", re), le = (e) => !!e && Number.isInteger(Number(e)), rn = (e) => e.endsWith("%") && re(e.slice(0, -1)), I = (e) => Ue.test(e), q = (e) => Qt.test(e), on = /* @__PURE__ */ new Set(["length", "size", "percentage"]), sn = (e) => ie(e, on, qe), cn = (e) => ie(e, "position", qe), an = /* @__PURE__ */ new Set(["image", "url"]), ln = (e) => ie(e, an, fn), dn = (e) => ie(e, "", pn), de = () => !0, ie = (e, t, n) => {
2310
+ const r = Ue.exec(e);
2167
2311
  return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
2168
- }, on = (e) => (
2312
+ }, un = (e) => (
2169
2313
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
2170
2314
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
2171
2315
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
2172
- _t.test(e) && !Ut.test(e)
2173
- ), Ue = () => !1, sn = (e) => qt.test(e), an = (e) => Xt.test(e), cn = () => {
2174
- const e = L("colors"), t = L("spacing"), n = L("blur"), r = L("brightness"), o = L("borderColor"), i = L("borderRadius"), l = L("borderSpacing"), c = L("borderWidth"), d = L("contrast"), p = L("grayscale"), h = L("hueRotate"), w = L("invert"), a = L("gap"), u = L("gradientColorStops"), m = L("gradientColorStopPositions"), v = L("inset"), f = L("margin"), x = L("opacity"), k = L("padding"), $ = L("saturate"), g = L("scale"), I = L("sepia"), P = L("skew"), b = L("space"), S = L("translate"), N = () => ["auto", "contain", "none"], E = () => ["auto", "hidden", "clip", "visible", "scroll"], D = () => ["auto", A, t], M = () => [A, t], O = () => ["", Y, U], C = () => ["auto", re, A], z = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], B = () => ["solid", "dashed", "dotted", "double", "none"], ee = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Q = () => ["", "0", A], ae = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], V = () => [re, A];
2316
+ Zt.test(e) && !en.test(e)
2317
+ ), qe = () => !1, pn = (e) => tn.test(e), fn = (e) => nn.test(e), hn = () => {
2318
+ const e = B("colors"), t = B("spacing"), n = B("blur"), r = B("brightness"), o = B("borderColor"), i = B("borderRadius"), l = B("borderSpacing"), a = B("borderWidth"), d = B("contrast"), f = B("grayscale"), u = B("hueRotate"), w = B("invert"), c = B("gap"), p = B("gradientColorStops"), b = B("gradientColorStopPositions"), g = B("inset"), v = B("margin"), N = B("opacity"), h = B("padding"), k = B("saturate"), m = B("scale"), A = B("sepia"), E = B("skew"), C = B("space"), z = B("translate"), x = () => ["auto", "contain", "none"], M = () => ["auto", "hidden", "clip", "visible", "scroll"], S = () => ["auto", I, t], $ = () => [I, t], W = () => ["", G, U], R = () => ["auto", re, I], P = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], D = () => ["solid", "dashed", "dotted", "double", "none"], ee = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Q = () => ["", "0", I], ce = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [re, I];
2175
2319
  return {
2176
2320
  cacheSize: 500,
2177
2321
  separator: ":",
2178
2322
  theme: {
2179
2323
  colors: [de],
2180
- spacing: [Y, U],
2181
- blur: ["none", "", q, A],
2182
- brightness: V(),
2324
+ spacing: [G, U],
2325
+ blur: ["none", "", q, I],
2326
+ brightness: F(),
2183
2327
  borderColor: [e],
2184
- borderRadius: ["none", "", "full", q, A],
2185
- borderSpacing: M(),
2186
- borderWidth: O(),
2187
- contrast: V(),
2328
+ borderRadius: ["none", "", "full", q, I],
2329
+ borderSpacing: $(),
2330
+ borderWidth: W(),
2331
+ contrast: F(),
2188
2332
  grayscale: Q(),
2189
- hueRotate: V(),
2333
+ hueRotate: F(),
2190
2334
  invert: Q(),
2191
- gap: M(),
2335
+ gap: $(),
2192
2336
  gradientColorStops: [e],
2193
- gradientColorStopPositions: [Jt, U],
2194
- inset: D(),
2195
- margin: D(),
2196
- opacity: V(),
2197
- padding: M(),
2198
- saturate: V(),
2199
- scale: V(),
2337
+ gradientColorStopPositions: [rn, U],
2338
+ inset: S(),
2339
+ margin: S(),
2340
+ opacity: F(),
2341
+ padding: $(),
2342
+ saturate: F(),
2343
+ scale: F(),
2200
2344
  sepia: Q(),
2201
- skew: V(),
2202
- space: M(),
2203
- translate: M()
2345
+ skew: F(),
2346
+ space: $(),
2347
+ translate: $()
2204
2348
  },
2205
2349
  classGroups: {
2206
2350
  // Layout
@@ -2209,7 +2353,7 @@ const L = (e) => {
2209
2353
  * @see https://tailwindcss.com/docs/aspect-ratio
2210
2354
  */
2211
2355
  aspect: [{
2212
- aspect: ["auto", "square", "video", A]
2356
+ aspect: ["auto", "square", "video", I]
2213
2357
  }],
2214
2358
  /**
2215
2359
  * Container
@@ -2228,14 +2372,14 @@ const L = (e) => {
2228
2372
  * @see https://tailwindcss.com/docs/break-after
2229
2373
  */
2230
2374
  "break-after": [{
2231
- "break-after": ae()
2375
+ "break-after": ce()
2232
2376
  }],
2233
2377
  /**
2234
2378
  * Break Before
2235
2379
  * @see https://tailwindcss.com/docs/break-before
2236
2380
  */
2237
2381
  "break-before": [{
2238
- "break-before": ae()
2382
+ "break-before": ce()
2239
2383
  }],
2240
2384
  /**
2241
2385
  * Break Inside
@@ -2294,49 +2438,49 @@ const L = (e) => {
2294
2438
  * @see https://tailwindcss.com/docs/object-position
2295
2439
  */
2296
2440
  "object-position": [{
2297
- object: [...z(), A]
2441
+ object: [...P(), I]
2298
2442
  }],
2299
2443
  /**
2300
2444
  * Overflow
2301
2445
  * @see https://tailwindcss.com/docs/overflow
2302
2446
  */
2303
2447
  overflow: [{
2304
- overflow: E()
2448
+ overflow: M()
2305
2449
  }],
2306
2450
  /**
2307
2451
  * Overflow X
2308
2452
  * @see https://tailwindcss.com/docs/overflow
2309
2453
  */
2310
2454
  "overflow-x": [{
2311
- "overflow-x": E()
2455
+ "overflow-x": M()
2312
2456
  }],
2313
2457
  /**
2314
2458
  * Overflow Y
2315
2459
  * @see https://tailwindcss.com/docs/overflow
2316
2460
  */
2317
2461
  "overflow-y": [{
2318
- "overflow-y": E()
2462
+ "overflow-y": M()
2319
2463
  }],
2320
2464
  /**
2321
2465
  * Overscroll Behavior
2322
2466
  * @see https://tailwindcss.com/docs/overscroll-behavior
2323
2467
  */
2324
2468
  overscroll: [{
2325
- overscroll: N()
2469
+ overscroll: x()
2326
2470
  }],
2327
2471
  /**
2328
2472
  * Overscroll Behavior X
2329
2473
  * @see https://tailwindcss.com/docs/overscroll-behavior
2330
2474
  */
2331
2475
  "overscroll-x": [{
2332
- "overscroll-x": N()
2476
+ "overscroll-x": x()
2333
2477
  }],
2334
2478
  /**
2335
2479
  * Overscroll Behavior Y
2336
2480
  * @see https://tailwindcss.com/docs/overscroll-behavior
2337
2481
  */
2338
2482
  "overscroll-y": [{
2339
- "overscroll-y": N()
2483
+ "overscroll-y": x()
2340
2484
  }],
2341
2485
  /**
2342
2486
  * Position
@@ -2348,63 +2492,63 @@ const L = (e) => {
2348
2492
  * @see https://tailwindcss.com/docs/top-right-bottom-left
2349
2493
  */
2350
2494
  inset: [{
2351
- inset: [v]
2495
+ inset: [g]
2352
2496
  }],
2353
2497
  /**
2354
2498
  * Right / Left
2355
2499
  * @see https://tailwindcss.com/docs/top-right-bottom-left
2356
2500
  */
2357
2501
  "inset-x": [{
2358
- "inset-x": [v]
2502
+ "inset-x": [g]
2359
2503
  }],
2360
2504
  /**
2361
2505
  * Top / Bottom
2362
2506
  * @see https://tailwindcss.com/docs/top-right-bottom-left
2363
2507
  */
2364
2508
  "inset-y": [{
2365
- "inset-y": [v]
2509
+ "inset-y": [g]
2366
2510
  }],
2367
2511
  /**
2368
2512
  * Start
2369
2513
  * @see https://tailwindcss.com/docs/top-right-bottom-left
2370
2514
  */
2371
2515
  start: [{
2372
- start: [v]
2516
+ start: [g]
2373
2517
  }],
2374
2518
  /**
2375
2519
  * End
2376
2520
  * @see https://tailwindcss.com/docs/top-right-bottom-left
2377
2521
  */
2378
2522
  end: [{
2379
- end: [v]
2523
+ end: [g]
2380
2524
  }],
2381
2525
  /**
2382
2526
  * Top
2383
2527
  * @see https://tailwindcss.com/docs/top-right-bottom-left
2384
2528
  */
2385
2529
  top: [{
2386
- top: [v]
2530
+ top: [g]
2387
2531
  }],
2388
2532
  /**
2389
2533
  * Right
2390
2534
  * @see https://tailwindcss.com/docs/top-right-bottom-left
2391
2535
  */
2392
2536
  right: [{
2393
- right: [v]
2537
+ right: [g]
2394
2538
  }],
2395
2539
  /**
2396
2540
  * Bottom
2397
2541
  * @see https://tailwindcss.com/docs/top-right-bottom-left
2398
2542
  */
2399
2543
  bottom: [{
2400
- bottom: [v]
2544
+ bottom: [g]
2401
2545
  }],
2402
2546
  /**
2403
2547
  * Left
2404
2548
  * @see https://tailwindcss.com/docs/top-right-bottom-left
2405
2549
  */
2406
2550
  left: [{
2407
- left: [v]
2551
+ left: [g]
2408
2552
  }],
2409
2553
  /**
2410
2554
  * Visibility
@@ -2416,7 +2560,7 @@ const L = (e) => {
2416
2560
  * @see https://tailwindcss.com/docs/z-index
2417
2561
  */
2418
2562
  z: [{
2419
- z: ["auto", le, A]
2563
+ z: ["auto", le, I]
2420
2564
  }],
2421
2565
  // Flexbox and Grid
2422
2566
  /**
@@ -2424,7 +2568,7 @@ const L = (e) => {
2424
2568
  * @see https://tailwindcss.com/docs/flex-basis
2425
2569
  */
2426
2570
  basis: [{
2427
- basis: D()
2571
+ basis: S()
2428
2572
  }],
2429
2573
  /**
2430
2574
  * Flex Direction
@@ -2445,7 +2589,7 @@ const L = (e) => {
2445
2589
  * @see https://tailwindcss.com/docs/flex
2446
2590
  */
2447
2591
  flex: [{
2448
- flex: ["1", "auto", "initial", "none", A]
2592
+ flex: ["1", "auto", "initial", "none", I]
2449
2593
  }],
2450
2594
  /**
2451
2595
  * Flex Grow
@@ -2466,7 +2610,7 @@ const L = (e) => {
2466
2610
  * @see https://tailwindcss.com/docs/order
2467
2611
  */
2468
2612
  order: [{
2469
- order: ["first", "last", "none", le, A]
2613
+ order: ["first", "last", "none", le, I]
2470
2614
  }],
2471
2615
  /**
2472
2616
  * Grid Template Columns
@@ -2481,22 +2625,22 @@ const L = (e) => {
2481
2625
  */
2482
2626
  "col-start-end": [{
2483
2627
  col: ["auto", {
2484
- span: ["full", le, A]
2485
- }, A]
2628
+ span: ["full", le, I]
2629
+ }, I]
2486
2630
  }],
2487
2631
  /**
2488
2632
  * Grid Column Start
2489
2633
  * @see https://tailwindcss.com/docs/grid-column
2490
2634
  */
2491
2635
  "col-start": [{
2492
- "col-start": C()
2636
+ "col-start": R()
2493
2637
  }],
2494
2638
  /**
2495
2639
  * Grid Column End
2496
2640
  * @see https://tailwindcss.com/docs/grid-column
2497
2641
  */
2498
2642
  "col-end": [{
2499
- "col-end": C()
2643
+ "col-end": R()
2500
2644
  }],
2501
2645
  /**
2502
2646
  * Grid Template Rows
@@ -2511,22 +2655,22 @@ const L = (e) => {
2511
2655
  */
2512
2656
  "row-start-end": [{
2513
2657
  row: ["auto", {
2514
- span: [le, A]
2515
- }, A]
2658
+ span: [le, I]
2659
+ }, I]
2516
2660
  }],
2517
2661
  /**
2518
2662
  * Grid Row Start
2519
2663
  * @see https://tailwindcss.com/docs/grid-row
2520
2664
  */
2521
2665
  "row-start": [{
2522
- "row-start": C()
2666
+ "row-start": R()
2523
2667
  }],
2524
2668
  /**
2525
2669
  * Grid Row End
2526
2670
  * @see https://tailwindcss.com/docs/grid-row
2527
2671
  */
2528
2672
  "row-end": [{
2529
- "row-end": C()
2673
+ "row-end": R()
2530
2674
  }],
2531
2675
  /**
2532
2676
  * Grid Auto Flow
@@ -2540,35 +2684,35 @@ const L = (e) => {
2540
2684
  * @see https://tailwindcss.com/docs/grid-auto-columns
2541
2685
  */
2542
2686
  "auto-cols": [{
2543
- "auto-cols": ["auto", "min", "max", "fr", A]
2687
+ "auto-cols": ["auto", "min", "max", "fr", I]
2544
2688
  }],
2545
2689
  /**
2546
2690
  * Grid Auto Rows
2547
2691
  * @see https://tailwindcss.com/docs/grid-auto-rows
2548
2692
  */
2549
2693
  "auto-rows": [{
2550
- "auto-rows": ["auto", "min", "max", "fr", A]
2694
+ "auto-rows": ["auto", "min", "max", "fr", I]
2551
2695
  }],
2552
2696
  /**
2553
2697
  * Gap
2554
2698
  * @see https://tailwindcss.com/docs/gap
2555
2699
  */
2556
2700
  gap: [{
2557
- gap: [a]
2701
+ gap: [c]
2558
2702
  }],
2559
2703
  /**
2560
2704
  * Gap X
2561
2705
  * @see https://tailwindcss.com/docs/gap
2562
2706
  */
2563
2707
  "gap-x": [{
2564
- "gap-x": [a]
2708
+ "gap-x": [c]
2565
2709
  }],
2566
2710
  /**
2567
2711
  * Gap Y
2568
2712
  * @see https://tailwindcss.com/docs/gap
2569
2713
  */
2570
2714
  "gap-y": [{
2571
- "gap-y": [a]
2715
+ "gap-y": [c]
2572
2716
  }],
2573
2717
  /**
2574
2718
  * Justify Content
@@ -2639,133 +2783,133 @@ const L = (e) => {
2639
2783
  * @see https://tailwindcss.com/docs/padding
2640
2784
  */
2641
2785
  p: [{
2642
- p: [k]
2786
+ p: [h]
2643
2787
  }],
2644
2788
  /**
2645
2789
  * Padding X
2646
2790
  * @see https://tailwindcss.com/docs/padding
2647
2791
  */
2648
2792
  px: [{
2649
- px: [k]
2793
+ px: [h]
2650
2794
  }],
2651
2795
  /**
2652
2796
  * Padding Y
2653
2797
  * @see https://tailwindcss.com/docs/padding
2654
2798
  */
2655
2799
  py: [{
2656
- py: [k]
2800
+ py: [h]
2657
2801
  }],
2658
2802
  /**
2659
2803
  * Padding Start
2660
2804
  * @see https://tailwindcss.com/docs/padding
2661
2805
  */
2662
2806
  ps: [{
2663
- ps: [k]
2807
+ ps: [h]
2664
2808
  }],
2665
2809
  /**
2666
2810
  * Padding End
2667
2811
  * @see https://tailwindcss.com/docs/padding
2668
2812
  */
2669
2813
  pe: [{
2670
- pe: [k]
2814
+ pe: [h]
2671
2815
  }],
2672
2816
  /**
2673
2817
  * Padding Top
2674
2818
  * @see https://tailwindcss.com/docs/padding
2675
2819
  */
2676
2820
  pt: [{
2677
- pt: [k]
2821
+ pt: [h]
2678
2822
  }],
2679
2823
  /**
2680
2824
  * Padding Right
2681
2825
  * @see https://tailwindcss.com/docs/padding
2682
2826
  */
2683
2827
  pr: [{
2684
- pr: [k]
2828
+ pr: [h]
2685
2829
  }],
2686
2830
  /**
2687
2831
  * Padding Bottom
2688
2832
  * @see https://tailwindcss.com/docs/padding
2689
2833
  */
2690
2834
  pb: [{
2691
- pb: [k]
2835
+ pb: [h]
2692
2836
  }],
2693
2837
  /**
2694
2838
  * Padding Left
2695
2839
  * @see https://tailwindcss.com/docs/padding
2696
2840
  */
2697
2841
  pl: [{
2698
- pl: [k]
2842
+ pl: [h]
2699
2843
  }],
2700
2844
  /**
2701
2845
  * Margin
2702
2846
  * @see https://tailwindcss.com/docs/margin
2703
2847
  */
2704
2848
  m: [{
2705
- m: [f]
2849
+ m: [v]
2706
2850
  }],
2707
2851
  /**
2708
2852
  * Margin X
2709
2853
  * @see https://tailwindcss.com/docs/margin
2710
2854
  */
2711
2855
  mx: [{
2712
- mx: [f]
2856
+ mx: [v]
2713
2857
  }],
2714
2858
  /**
2715
2859
  * Margin Y
2716
2860
  * @see https://tailwindcss.com/docs/margin
2717
2861
  */
2718
2862
  my: [{
2719
- my: [f]
2863
+ my: [v]
2720
2864
  }],
2721
2865
  /**
2722
2866
  * Margin Start
2723
2867
  * @see https://tailwindcss.com/docs/margin
2724
2868
  */
2725
2869
  ms: [{
2726
- ms: [f]
2870
+ ms: [v]
2727
2871
  }],
2728
2872
  /**
2729
2873
  * Margin End
2730
2874
  * @see https://tailwindcss.com/docs/margin
2731
2875
  */
2732
2876
  me: [{
2733
- me: [f]
2877
+ me: [v]
2734
2878
  }],
2735
2879
  /**
2736
2880
  * Margin Top
2737
2881
  * @see https://tailwindcss.com/docs/margin
2738
2882
  */
2739
2883
  mt: [{
2740
- mt: [f]
2884
+ mt: [v]
2741
2885
  }],
2742
2886
  /**
2743
2887
  * Margin Right
2744
2888
  * @see https://tailwindcss.com/docs/margin
2745
2889
  */
2746
2890
  mr: [{
2747
- mr: [f]
2891
+ mr: [v]
2748
2892
  }],
2749
2893
  /**
2750
2894
  * Margin Bottom
2751
2895
  * @see https://tailwindcss.com/docs/margin
2752
2896
  */
2753
2897
  mb: [{
2754
- mb: [f]
2898
+ mb: [v]
2755
2899
  }],
2756
2900
  /**
2757
2901
  * Margin Left
2758
2902
  * @see https://tailwindcss.com/docs/margin
2759
2903
  */
2760
2904
  ml: [{
2761
- ml: [f]
2905
+ ml: [v]
2762
2906
  }],
2763
2907
  /**
2764
2908
  * Space Between X
2765
2909
  * @see https://tailwindcss.com/docs/space
2766
2910
  */
2767
2911
  "space-x": [{
2768
- "space-x": [b]
2912
+ "space-x": [C]
2769
2913
  }],
2770
2914
  /**
2771
2915
  * Space Between X Reverse
@@ -2777,7 +2921,7 @@ const L = (e) => {
2777
2921
  * @see https://tailwindcss.com/docs/space
2778
2922
  */
2779
2923
  "space-y": [{
2780
- "space-y": [b]
2924
+ "space-y": [C]
2781
2925
  }],
2782
2926
  /**
2783
2927
  * Space Between Y Reverse
@@ -2790,21 +2934,21 @@ const L = (e) => {
2790
2934
  * @see https://tailwindcss.com/docs/width
2791
2935
  */
2792
2936
  w: [{
2793
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", A, t]
2937
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", I, t]
2794
2938
  }],
2795
2939
  /**
2796
2940
  * Min-Width
2797
2941
  * @see https://tailwindcss.com/docs/min-width
2798
2942
  */
2799
2943
  "min-w": [{
2800
- "min-w": [A, t, "min", "max", "fit"]
2944
+ "min-w": [I, t, "min", "max", "fit"]
2801
2945
  }],
2802
2946
  /**
2803
2947
  * Max-Width
2804
2948
  * @see https://tailwindcss.com/docs/max-width
2805
2949
  */
2806
2950
  "max-w": [{
2807
- "max-w": [A, t, "none", "full", "min", "max", "fit", "prose", {
2951
+ "max-w": [I, t, "none", "full", "min", "max", "fit", "prose", {
2808
2952
  screen: [q]
2809
2953
  }, q]
2810
2954
  }],
@@ -2813,28 +2957,28 @@ const L = (e) => {
2813
2957
  * @see https://tailwindcss.com/docs/height
2814
2958
  */
2815
2959
  h: [{
2816
- h: [A, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
2960
+ h: [I, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
2817
2961
  }],
2818
2962
  /**
2819
2963
  * Min-Height
2820
2964
  * @see https://tailwindcss.com/docs/min-height
2821
2965
  */
2822
2966
  "min-h": [{
2823
- "min-h": [A, t, "min", "max", "fit", "svh", "lvh", "dvh"]
2967
+ "min-h": [I, t, "min", "max", "fit", "svh", "lvh", "dvh"]
2824
2968
  }],
2825
2969
  /**
2826
2970
  * Max-Height
2827
2971
  * @see https://tailwindcss.com/docs/max-height
2828
2972
  */
2829
2973
  "max-h": [{
2830
- "max-h": [A, t, "min", "max", "fit", "svh", "lvh", "dvh"]
2974
+ "max-h": [I, t, "min", "max", "fit", "svh", "lvh", "dvh"]
2831
2975
  }],
2832
2976
  /**
2833
2977
  * Size
2834
2978
  * @see https://tailwindcss.com/docs/size
2835
2979
  */
2836
2980
  size: [{
2837
- size: [A, t, "auto", "min", "max", "fit"]
2981
+ size: [I, t, "auto", "min", "max", "fit"]
2838
2982
  }],
2839
2983
  // Typography
2840
2984
  /**
@@ -2859,7 +3003,7 @@ const L = (e) => {
2859
3003
  * @see https://tailwindcss.com/docs/font-weight
2860
3004
  */
2861
3005
  "font-weight": [{
2862
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", ge]
3006
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", be]
2863
3007
  }],
2864
3008
  /**
2865
3009
  * Font Family
@@ -2903,35 +3047,35 @@ const L = (e) => {
2903
3047
  * @see https://tailwindcss.com/docs/letter-spacing
2904
3048
  */
2905
3049
  tracking: [{
2906
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", A]
3050
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", I]
2907
3051
  }],
2908
3052
  /**
2909
3053
  * Line Clamp
2910
3054
  * @see https://tailwindcss.com/docs/line-clamp
2911
3055
  */
2912
3056
  "line-clamp": [{
2913
- "line-clamp": ["none", re, ge]
3057
+ "line-clamp": ["none", re, be]
2914
3058
  }],
2915
3059
  /**
2916
3060
  * Line Height
2917
3061
  * @see https://tailwindcss.com/docs/line-height
2918
3062
  */
2919
3063
  leading: [{
2920
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", Y, A]
3064
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", G, I]
2921
3065
  }],
2922
3066
  /**
2923
3067
  * List Style Image
2924
3068
  * @see https://tailwindcss.com/docs/list-style-image
2925
3069
  */
2926
3070
  "list-image": [{
2927
- "list-image": ["none", A]
3071
+ "list-image": ["none", I]
2928
3072
  }],
2929
3073
  /**
2930
3074
  * List Style Type
2931
3075
  * @see https://tailwindcss.com/docs/list-style-type
2932
3076
  */
2933
3077
  "list-style-type": [{
2934
- list: ["none", "disc", "decimal", A]
3078
+ list: ["none", "disc", "decimal", I]
2935
3079
  }],
2936
3080
  /**
2937
3081
  * List Style Position
@@ -2953,7 +3097,7 @@ const L = (e) => {
2953
3097
  * @see https://tailwindcss.com/docs/placeholder-opacity
2954
3098
  */
2955
3099
  "placeholder-opacity": [{
2956
- "placeholder-opacity": [x]
3100
+ "placeholder-opacity": [N]
2957
3101
  }],
2958
3102
  /**
2959
3103
  * Text Alignment
@@ -2974,7 +3118,7 @@ const L = (e) => {
2974
3118
  * @see https://tailwindcss.com/docs/text-opacity
2975
3119
  */
2976
3120
  "text-opacity": [{
2977
- "text-opacity": [x]
3121
+ "text-opacity": [N]
2978
3122
  }],
2979
3123
  /**
2980
3124
  * Text Decoration
@@ -2986,21 +3130,21 @@ const L = (e) => {
2986
3130
  * @see https://tailwindcss.com/docs/text-decoration-style
2987
3131
  */
2988
3132
  "text-decoration-style": [{
2989
- decoration: [...B(), "wavy"]
3133
+ decoration: [...D(), "wavy"]
2990
3134
  }],
2991
3135
  /**
2992
3136
  * Text Decoration Thickness
2993
3137
  * @see https://tailwindcss.com/docs/text-decoration-thickness
2994
3138
  */
2995
3139
  "text-decoration-thickness": [{
2996
- decoration: ["auto", "from-font", Y, U]
3140
+ decoration: ["auto", "from-font", G, U]
2997
3141
  }],
2998
3142
  /**
2999
3143
  * Text Underline Offset
3000
3144
  * @see https://tailwindcss.com/docs/text-underline-offset
3001
3145
  */
3002
3146
  "underline-offset": [{
3003
- "underline-offset": ["auto", Y, A]
3147
+ "underline-offset": ["auto", G, I]
3004
3148
  }],
3005
3149
  /**
3006
3150
  * Text Decoration Color
@@ -3031,14 +3175,14 @@ const L = (e) => {
3031
3175
  * @see https://tailwindcss.com/docs/text-indent
3032
3176
  */
3033
3177
  indent: [{
3034
- indent: M()
3178
+ indent: $()
3035
3179
  }],
3036
3180
  /**
3037
3181
  * Vertical Alignment
3038
3182
  * @see https://tailwindcss.com/docs/vertical-align
3039
3183
  */
3040
3184
  "vertical-align": [{
3041
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", A]
3185
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", I]
3042
3186
  }],
3043
3187
  /**
3044
3188
  * Whitespace
@@ -3066,7 +3210,7 @@ const L = (e) => {
3066
3210
  * @see https://tailwindcss.com/docs/content
3067
3211
  */
3068
3212
  content: [{
3069
- content: ["none", A]
3213
+ content: ["none", I]
3070
3214
  }],
3071
3215
  // Backgrounds
3072
3216
  /**
@@ -3089,7 +3233,7 @@ const L = (e) => {
3089
3233
  * @see https://tailwindcss.com/docs/background-opacity
3090
3234
  */
3091
3235
  "bg-opacity": [{
3092
- "bg-opacity": [x]
3236
+ "bg-opacity": [N]
3093
3237
  }],
3094
3238
  /**
3095
3239
  * Background Origin
@@ -3103,7 +3247,7 @@ const L = (e) => {
3103
3247
  * @see https://tailwindcss.com/docs/background-position
3104
3248
  */
3105
3249
  "bg-position": [{
3106
- bg: [...z(), en]
3250
+ bg: [...P(), cn]
3107
3251
  }],
3108
3252
  /**
3109
3253
  * Background Repeat
@@ -3119,7 +3263,7 @@ const L = (e) => {
3119
3263
  * @see https://tailwindcss.com/docs/background-size
3120
3264
  */
3121
3265
  "bg-size": [{
3122
- bg: ["auto", "cover", "contain", Zt]
3266
+ bg: ["auto", "cover", "contain", sn]
3123
3267
  }],
3124
3268
  /**
3125
3269
  * Background Image
@@ -3128,7 +3272,7 @@ const L = (e) => {
3128
3272
  "bg-image": [{
3129
3273
  bg: ["none", {
3130
3274
  "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
3131
- }, nn]
3275
+ }, ln]
3132
3276
  }],
3133
3277
  /**
3134
3278
  * Background Color
@@ -3142,42 +3286,42 @@ const L = (e) => {
3142
3286
  * @see https://tailwindcss.com/docs/gradient-color-stops
3143
3287
  */
3144
3288
  "gradient-from-pos": [{
3145
- from: [m]
3289
+ from: [b]
3146
3290
  }],
3147
3291
  /**
3148
3292
  * Gradient Color Stops Via Position
3149
3293
  * @see https://tailwindcss.com/docs/gradient-color-stops
3150
3294
  */
3151
3295
  "gradient-via-pos": [{
3152
- via: [m]
3296
+ via: [b]
3153
3297
  }],
3154
3298
  /**
3155
3299
  * Gradient Color Stops To Position
3156
3300
  * @see https://tailwindcss.com/docs/gradient-color-stops
3157
3301
  */
3158
3302
  "gradient-to-pos": [{
3159
- to: [m]
3303
+ to: [b]
3160
3304
  }],
3161
3305
  /**
3162
3306
  * Gradient Color Stops From
3163
3307
  * @see https://tailwindcss.com/docs/gradient-color-stops
3164
3308
  */
3165
3309
  "gradient-from": [{
3166
- from: [u]
3310
+ from: [p]
3167
3311
  }],
3168
3312
  /**
3169
3313
  * Gradient Color Stops Via
3170
3314
  * @see https://tailwindcss.com/docs/gradient-color-stops
3171
3315
  */
3172
3316
  "gradient-via": [{
3173
- via: [u]
3317
+ via: [p]
3174
3318
  }],
3175
3319
  /**
3176
3320
  * Gradient Color Stops To
3177
3321
  * @see https://tailwindcss.com/docs/gradient-color-stops
3178
3322
  */
3179
3323
  "gradient-to": [{
3180
- to: [u]
3324
+ to: [p]
3181
3325
  }],
3182
3326
  // Borders
3183
3327
  /**
@@ -3290,84 +3434,84 @@ const L = (e) => {
3290
3434
  * @see https://tailwindcss.com/docs/border-width
3291
3435
  */
3292
3436
  "border-w": [{
3293
- border: [c]
3437
+ border: [a]
3294
3438
  }],
3295
3439
  /**
3296
3440
  * Border Width X
3297
3441
  * @see https://tailwindcss.com/docs/border-width
3298
3442
  */
3299
3443
  "border-w-x": [{
3300
- "border-x": [c]
3444
+ "border-x": [a]
3301
3445
  }],
3302
3446
  /**
3303
3447
  * Border Width Y
3304
3448
  * @see https://tailwindcss.com/docs/border-width
3305
3449
  */
3306
3450
  "border-w-y": [{
3307
- "border-y": [c]
3451
+ "border-y": [a]
3308
3452
  }],
3309
3453
  /**
3310
3454
  * Border Width Start
3311
3455
  * @see https://tailwindcss.com/docs/border-width
3312
3456
  */
3313
3457
  "border-w-s": [{
3314
- "border-s": [c]
3458
+ "border-s": [a]
3315
3459
  }],
3316
3460
  /**
3317
3461
  * Border Width End
3318
3462
  * @see https://tailwindcss.com/docs/border-width
3319
3463
  */
3320
3464
  "border-w-e": [{
3321
- "border-e": [c]
3465
+ "border-e": [a]
3322
3466
  }],
3323
3467
  /**
3324
3468
  * Border Width Top
3325
3469
  * @see https://tailwindcss.com/docs/border-width
3326
3470
  */
3327
3471
  "border-w-t": [{
3328
- "border-t": [c]
3472
+ "border-t": [a]
3329
3473
  }],
3330
3474
  /**
3331
3475
  * Border Width Right
3332
3476
  * @see https://tailwindcss.com/docs/border-width
3333
3477
  */
3334
3478
  "border-w-r": [{
3335
- "border-r": [c]
3479
+ "border-r": [a]
3336
3480
  }],
3337
3481
  /**
3338
3482
  * Border Width Bottom
3339
3483
  * @see https://tailwindcss.com/docs/border-width
3340
3484
  */
3341
3485
  "border-w-b": [{
3342
- "border-b": [c]
3486
+ "border-b": [a]
3343
3487
  }],
3344
3488
  /**
3345
3489
  * Border Width Left
3346
3490
  * @see https://tailwindcss.com/docs/border-width
3347
3491
  */
3348
3492
  "border-w-l": [{
3349
- "border-l": [c]
3493
+ "border-l": [a]
3350
3494
  }],
3351
3495
  /**
3352
3496
  * Border Opacity
3353
3497
  * @see https://tailwindcss.com/docs/border-opacity
3354
3498
  */
3355
3499
  "border-opacity": [{
3356
- "border-opacity": [x]
3500
+ "border-opacity": [N]
3357
3501
  }],
3358
3502
  /**
3359
3503
  * Border Style
3360
3504
  * @see https://tailwindcss.com/docs/border-style
3361
3505
  */
3362
3506
  "border-style": [{
3363
- border: [...B(), "hidden"]
3507
+ border: [...D(), "hidden"]
3364
3508
  }],
3365
3509
  /**
3366
3510
  * Divide Width X
3367
3511
  * @see https://tailwindcss.com/docs/divide-width
3368
3512
  */
3369
3513
  "divide-x": [{
3370
- "divide-x": [c]
3514
+ "divide-x": [a]
3371
3515
  }],
3372
3516
  /**
3373
3517
  * Divide Width X Reverse
@@ -3379,7 +3523,7 @@ const L = (e) => {
3379
3523
  * @see https://tailwindcss.com/docs/divide-width
3380
3524
  */
3381
3525
  "divide-y": [{
3382
- "divide-y": [c]
3526
+ "divide-y": [a]
3383
3527
  }],
3384
3528
  /**
3385
3529
  * Divide Width Y Reverse
@@ -3391,14 +3535,14 @@ const L = (e) => {
3391
3535
  * @see https://tailwindcss.com/docs/divide-opacity
3392
3536
  */
3393
3537
  "divide-opacity": [{
3394
- "divide-opacity": [x]
3538
+ "divide-opacity": [N]
3395
3539
  }],
3396
3540
  /**
3397
3541
  * Divide Style
3398
3542
  * @see https://tailwindcss.com/docs/divide-style
3399
3543
  */
3400
3544
  "divide-style": [{
3401
- divide: B()
3545
+ divide: D()
3402
3546
  }],
3403
3547
  /**
3404
3548
  * Border Color
@@ -3475,21 +3619,21 @@ const L = (e) => {
3475
3619
  * @see https://tailwindcss.com/docs/outline-style
3476
3620
  */
3477
3621
  "outline-style": [{
3478
- outline: ["", ...B()]
3622
+ outline: ["", ...D()]
3479
3623
  }],
3480
3624
  /**
3481
3625
  * Outline Offset
3482
3626
  * @see https://tailwindcss.com/docs/outline-offset
3483
3627
  */
3484
3628
  "outline-offset": [{
3485
- "outline-offset": [Y, A]
3629
+ "outline-offset": [G, I]
3486
3630
  }],
3487
3631
  /**
3488
3632
  * Outline Width
3489
3633
  * @see https://tailwindcss.com/docs/outline-width
3490
3634
  */
3491
3635
  "outline-w": [{
3492
- outline: [Y, U]
3636
+ outline: [G, U]
3493
3637
  }],
3494
3638
  /**
3495
3639
  * Outline Color
@@ -3503,7 +3647,7 @@ const L = (e) => {
3503
3647
  * @see https://tailwindcss.com/docs/ring-width
3504
3648
  */
3505
3649
  "ring-w": [{
3506
- ring: O()
3650
+ ring: W()
3507
3651
  }],
3508
3652
  /**
3509
3653
  * Ring Width Inset
@@ -3522,14 +3666,14 @@ const L = (e) => {
3522
3666
  * @see https://tailwindcss.com/docs/ring-opacity
3523
3667
  */
3524
3668
  "ring-opacity": [{
3525
- "ring-opacity": [x]
3669
+ "ring-opacity": [N]
3526
3670
  }],
3527
3671
  /**
3528
3672
  * Ring Offset Width
3529
3673
  * @see https://tailwindcss.com/docs/ring-offset-width
3530
3674
  */
3531
3675
  "ring-offset-w": [{
3532
- "ring-offset": [Y, U]
3676
+ "ring-offset": [G, U]
3533
3677
  }],
3534
3678
  /**
3535
3679
  * Ring Offset Color
@@ -3544,7 +3688,7 @@ const L = (e) => {
3544
3688
  * @see https://tailwindcss.com/docs/box-shadow
3545
3689
  */
3546
3690
  shadow: [{
3547
- shadow: ["", "inner", "none", q, rn]
3691
+ shadow: ["", "inner", "none", q, dn]
3548
3692
  }],
3549
3693
  /**
3550
3694
  * Box Shadow Color
@@ -3558,7 +3702,7 @@ const L = (e) => {
3558
3702
  * @see https://tailwindcss.com/docs/opacity
3559
3703
  */
3560
3704
  opacity: [{
3561
- opacity: [x]
3705
+ opacity: [N]
3562
3706
  }],
3563
3707
  /**
3564
3708
  * Mix Blend Mode
@@ -3609,21 +3753,21 @@ const L = (e) => {
3609
3753
  * @see https://tailwindcss.com/docs/drop-shadow
3610
3754
  */
3611
3755
  "drop-shadow": [{
3612
- "drop-shadow": ["", "none", q, A]
3756
+ "drop-shadow": ["", "none", q, I]
3613
3757
  }],
3614
3758
  /**
3615
3759
  * Grayscale
3616
3760
  * @see https://tailwindcss.com/docs/grayscale
3617
3761
  */
3618
3762
  grayscale: [{
3619
- grayscale: [p]
3763
+ grayscale: [f]
3620
3764
  }],
3621
3765
  /**
3622
3766
  * Hue Rotate
3623
3767
  * @see https://tailwindcss.com/docs/hue-rotate
3624
3768
  */
3625
3769
  "hue-rotate": [{
3626
- "hue-rotate": [h]
3770
+ "hue-rotate": [u]
3627
3771
  }],
3628
3772
  /**
3629
3773
  * Invert
@@ -3637,14 +3781,14 @@ const L = (e) => {
3637
3781
  * @see https://tailwindcss.com/docs/saturate
3638
3782
  */
3639
3783
  saturate: [{
3640
- saturate: [$]
3784
+ saturate: [k]
3641
3785
  }],
3642
3786
  /**
3643
3787
  * Sepia
3644
3788
  * @see https://tailwindcss.com/docs/sepia
3645
3789
  */
3646
3790
  sepia: [{
3647
- sepia: [I]
3791
+ sepia: [A]
3648
3792
  }],
3649
3793
  /**
3650
3794
  * Backdrop Filter
@@ -3680,14 +3824,14 @@ const L = (e) => {
3680
3824
  * @see https://tailwindcss.com/docs/backdrop-grayscale
3681
3825
  */
3682
3826
  "backdrop-grayscale": [{
3683
- "backdrop-grayscale": [p]
3827
+ "backdrop-grayscale": [f]
3684
3828
  }],
3685
3829
  /**
3686
3830
  * Backdrop Hue Rotate
3687
3831
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
3688
3832
  */
3689
3833
  "backdrop-hue-rotate": [{
3690
- "backdrop-hue-rotate": [h]
3834
+ "backdrop-hue-rotate": [u]
3691
3835
  }],
3692
3836
  /**
3693
3837
  * Backdrop Invert
@@ -3701,21 +3845,21 @@ const L = (e) => {
3701
3845
  * @see https://tailwindcss.com/docs/backdrop-opacity
3702
3846
  */
3703
3847
  "backdrop-opacity": [{
3704
- "backdrop-opacity": [x]
3848
+ "backdrop-opacity": [N]
3705
3849
  }],
3706
3850
  /**
3707
3851
  * Backdrop Saturate
3708
3852
  * @see https://tailwindcss.com/docs/backdrop-saturate
3709
3853
  */
3710
3854
  "backdrop-saturate": [{
3711
- "backdrop-saturate": [$]
3855
+ "backdrop-saturate": [k]
3712
3856
  }],
3713
3857
  /**
3714
3858
  * Backdrop Sepia
3715
3859
  * @see https://tailwindcss.com/docs/backdrop-sepia
3716
3860
  */
3717
3861
  "backdrop-sepia": [{
3718
- "backdrop-sepia": [I]
3862
+ "backdrop-sepia": [A]
3719
3863
  }],
3720
3864
  // Tables
3721
3865
  /**
@@ -3766,35 +3910,35 @@ const L = (e) => {
3766
3910
  * @see https://tailwindcss.com/docs/transition-property
3767
3911
  */
3768
3912
  transition: [{
3769
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", A]
3913
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", I]
3770
3914
  }],
3771
3915
  /**
3772
3916
  * Transition Duration
3773
3917
  * @see https://tailwindcss.com/docs/transition-duration
3774
3918
  */
3775
3919
  duration: [{
3776
- duration: V()
3920
+ duration: F()
3777
3921
  }],
3778
3922
  /**
3779
3923
  * Transition Timing Function
3780
3924
  * @see https://tailwindcss.com/docs/transition-timing-function
3781
3925
  */
3782
3926
  ease: [{
3783
- ease: ["linear", "in", "out", "in-out", A]
3927
+ ease: ["linear", "in", "out", "in-out", I]
3784
3928
  }],
3785
3929
  /**
3786
3930
  * Transition Delay
3787
3931
  * @see https://tailwindcss.com/docs/transition-delay
3788
3932
  */
3789
3933
  delay: [{
3790
- delay: V()
3934
+ delay: F()
3791
3935
  }],
3792
3936
  /**
3793
3937
  * Animation
3794
3938
  * @see https://tailwindcss.com/docs/animation
3795
3939
  */
3796
3940
  animate: [{
3797
- animate: ["none", "spin", "ping", "pulse", "bounce", A]
3941
+ animate: ["none", "spin", "ping", "pulse", "bounce", I]
3798
3942
  }],
3799
3943
  // Transforms
3800
3944
  /**
@@ -3809,63 +3953,63 @@ const L = (e) => {
3809
3953
  * @see https://tailwindcss.com/docs/scale
3810
3954
  */
3811
3955
  scale: [{
3812
- scale: [g]
3956
+ scale: [m]
3813
3957
  }],
3814
3958
  /**
3815
3959
  * Scale X
3816
3960
  * @see https://tailwindcss.com/docs/scale
3817
3961
  */
3818
3962
  "scale-x": [{
3819
- "scale-x": [g]
3963
+ "scale-x": [m]
3820
3964
  }],
3821
3965
  /**
3822
3966
  * Scale Y
3823
3967
  * @see https://tailwindcss.com/docs/scale
3824
3968
  */
3825
3969
  "scale-y": [{
3826
- "scale-y": [g]
3970
+ "scale-y": [m]
3827
3971
  }],
3828
3972
  /**
3829
3973
  * Rotate
3830
3974
  * @see https://tailwindcss.com/docs/rotate
3831
3975
  */
3832
3976
  rotate: [{
3833
- rotate: [le, A]
3977
+ rotate: [le, I]
3834
3978
  }],
3835
3979
  /**
3836
3980
  * Translate X
3837
3981
  * @see https://tailwindcss.com/docs/translate
3838
3982
  */
3839
3983
  "translate-x": [{
3840
- "translate-x": [S]
3984
+ "translate-x": [z]
3841
3985
  }],
3842
3986
  /**
3843
3987
  * Translate Y
3844
3988
  * @see https://tailwindcss.com/docs/translate
3845
3989
  */
3846
3990
  "translate-y": [{
3847
- "translate-y": [S]
3991
+ "translate-y": [z]
3848
3992
  }],
3849
3993
  /**
3850
3994
  * Skew X
3851
3995
  * @see https://tailwindcss.com/docs/skew
3852
3996
  */
3853
3997
  "skew-x": [{
3854
- "skew-x": [P]
3998
+ "skew-x": [E]
3855
3999
  }],
3856
4000
  /**
3857
4001
  * Skew Y
3858
4002
  * @see https://tailwindcss.com/docs/skew
3859
4003
  */
3860
4004
  "skew-y": [{
3861
- "skew-y": [P]
4005
+ "skew-y": [E]
3862
4006
  }],
3863
4007
  /**
3864
4008
  * Transform Origin
3865
4009
  * @see https://tailwindcss.com/docs/transform-origin
3866
4010
  */
3867
4011
  "transform-origin": [{
3868
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", A]
4012
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", I]
3869
4013
  }],
3870
4014
  // Interactivity
3871
4015
  /**
@@ -3887,7 +4031,7 @@ const L = (e) => {
3887
4031
  * @see https://tailwindcss.com/docs/cursor
3888
4032
  */
3889
4033
  cursor: [{
3890
- 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", A]
4034
+ 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", I]
3891
4035
  }],
3892
4036
  /**
3893
4037
  * Caret Color
@@ -3922,126 +4066,126 @@ const L = (e) => {
3922
4066
  * @see https://tailwindcss.com/docs/scroll-margin
3923
4067
  */
3924
4068
  "scroll-m": [{
3925
- "scroll-m": M()
4069
+ "scroll-m": $()
3926
4070
  }],
3927
4071
  /**
3928
4072
  * Scroll Margin X
3929
4073
  * @see https://tailwindcss.com/docs/scroll-margin
3930
4074
  */
3931
4075
  "scroll-mx": [{
3932
- "scroll-mx": M()
4076
+ "scroll-mx": $()
3933
4077
  }],
3934
4078
  /**
3935
4079
  * Scroll Margin Y
3936
4080
  * @see https://tailwindcss.com/docs/scroll-margin
3937
4081
  */
3938
4082
  "scroll-my": [{
3939
- "scroll-my": M()
4083
+ "scroll-my": $()
3940
4084
  }],
3941
4085
  /**
3942
4086
  * Scroll Margin Start
3943
4087
  * @see https://tailwindcss.com/docs/scroll-margin
3944
4088
  */
3945
4089
  "scroll-ms": [{
3946
- "scroll-ms": M()
4090
+ "scroll-ms": $()
3947
4091
  }],
3948
4092
  /**
3949
4093
  * Scroll Margin End
3950
4094
  * @see https://tailwindcss.com/docs/scroll-margin
3951
4095
  */
3952
4096
  "scroll-me": [{
3953
- "scroll-me": M()
4097
+ "scroll-me": $()
3954
4098
  }],
3955
4099
  /**
3956
4100
  * Scroll Margin Top
3957
4101
  * @see https://tailwindcss.com/docs/scroll-margin
3958
4102
  */
3959
4103
  "scroll-mt": [{
3960
- "scroll-mt": M()
4104
+ "scroll-mt": $()
3961
4105
  }],
3962
4106
  /**
3963
4107
  * Scroll Margin Right
3964
4108
  * @see https://tailwindcss.com/docs/scroll-margin
3965
4109
  */
3966
4110
  "scroll-mr": [{
3967
- "scroll-mr": M()
4111
+ "scroll-mr": $()
3968
4112
  }],
3969
4113
  /**
3970
4114
  * Scroll Margin Bottom
3971
4115
  * @see https://tailwindcss.com/docs/scroll-margin
3972
4116
  */
3973
4117
  "scroll-mb": [{
3974
- "scroll-mb": M()
4118
+ "scroll-mb": $()
3975
4119
  }],
3976
4120
  /**
3977
4121
  * Scroll Margin Left
3978
4122
  * @see https://tailwindcss.com/docs/scroll-margin
3979
4123
  */
3980
4124
  "scroll-ml": [{
3981
- "scroll-ml": M()
4125
+ "scroll-ml": $()
3982
4126
  }],
3983
4127
  /**
3984
4128
  * Scroll Padding
3985
4129
  * @see https://tailwindcss.com/docs/scroll-padding
3986
4130
  */
3987
4131
  "scroll-p": [{
3988
- "scroll-p": M()
4132
+ "scroll-p": $()
3989
4133
  }],
3990
4134
  /**
3991
4135
  * Scroll Padding X
3992
4136
  * @see https://tailwindcss.com/docs/scroll-padding
3993
4137
  */
3994
4138
  "scroll-px": [{
3995
- "scroll-px": M()
4139
+ "scroll-px": $()
3996
4140
  }],
3997
4141
  /**
3998
4142
  * Scroll Padding Y
3999
4143
  * @see https://tailwindcss.com/docs/scroll-padding
4000
4144
  */
4001
4145
  "scroll-py": [{
4002
- "scroll-py": M()
4146
+ "scroll-py": $()
4003
4147
  }],
4004
4148
  /**
4005
4149
  * Scroll Padding Start
4006
4150
  * @see https://tailwindcss.com/docs/scroll-padding
4007
4151
  */
4008
4152
  "scroll-ps": [{
4009
- "scroll-ps": M()
4153
+ "scroll-ps": $()
4010
4154
  }],
4011
4155
  /**
4012
4156
  * Scroll Padding End
4013
4157
  * @see https://tailwindcss.com/docs/scroll-padding
4014
4158
  */
4015
4159
  "scroll-pe": [{
4016
- "scroll-pe": M()
4160
+ "scroll-pe": $()
4017
4161
  }],
4018
4162
  /**
4019
4163
  * Scroll Padding Top
4020
4164
  * @see https://tailwindcss.com/docs/scroll-padding
4021
4165
  */
4022
4166
  "scroll-pt": [{
4023
- "scroll-pt": M()
4167
+ "scroll-pt": $()
4024
4168
  }],
4025
4169
  /**
4026
4170
  * Scroll Padding Right
4027
4171
  * @see https://tailwindcss.com/docs/scroll-padding
4028
4172
  */
4029
4173
  "scroll-pr": [{
4030
- "scroll-pr": M()
4174
+ "scroll-pr": $()
4031
4175
  }],
4032
4176
  /**
4033
4177
  * Scroll Padding Bottom
4034
4178
  * @see https://tailwindcss.com/docs/scroll-padding
4035
4179
  */
4036
4180
  "scroll-pb": [{
4037
- "scroll-pb": M()
4181
+ "scroll-pb": $()
4038
4182
  }],
4039
4183
  /**
4040
4184
  * Scroll Padding Left
4041
4185
  * @see https://tailwindcss.com/docs/scroll-padding
4042
4186
  */
4043
4187
  "scroll-pl": [{
4044
- "scroll-pl": M()
4188
+ "scroll-pl": $()
4045
4189
  }],
4046
4190
  /**
4047
4191
  * Scroll Snap Align
@@ -4109,7 +4253,7 @@ const L = (e) => {
4109
4253
  * @see https://tailwindcss.com/docs/will-change
4110
4254
  */
4111
4255
  "will-change": [{
4112
- "will-change": ["auto", "scroll", "contents", "transform", A]
4256
+ "will-change": ["auto", "scroll", "contents", "transform", I]
4113
4257
  }],
4114
4258
  // SVG
4115
4259
  /**
@@ -4124,7 +4268,7 @@ const L = (e) => {
4124
4268
  * @see https://tailwindcss.com/docs/stroke-width
4125
4269
  */
4126
4270
  "stroke-w": [{
4127
- stroke: [Y, U, ge]
4271
+ stroke: [G, U, be]
4128
4272
  }],
4129
4273
  /**
4130
4274
  * Stroke
@@ -4199,99 +4343,99 @@ const L = (e) => {
4199
4343
  "font-size": ["leading"]
4200
4344
  }
4201
4345
  };
4202
- }, ln = /* @__PURE__ */ Yt(cn);
4203
- function dn(...e) {
4204
- return ln(dt(e));
4346
+ }, mn = /* @__PURE__ */ qt(hn);
4347
+ function gn(...e) {
4348
+ return mn(ft(e));
4205
4349
  }
4206
- function jn({ autoWidth: e = !0, className: t, style: n }) {
4207
- const [r, o] = R(() => j.getActiveAppId()), [i, l] = R(() => F.getRunningApps()), { isMobile: c } = Ye();
4208
- T(() => {
4209
- const f = j.subscribe("activeAppId", (x) => {
4210
- o(x);
4350
+ function Qn({ autoWidth: e = !0, className: t, style: n }) {
4351
+ const [r, o] = T(() => j.getActiveAppId()), [i, l] = T(() => V.getRunningApps()), { isMobile: a } = Ye();
4352
+ L(() => {
4353
+ const v = j.subscribe("activeAppId", (N) => {
4354
+ o(N);
4211
4355
  });
4212
4356
  return () => {
4213
- f();
4357
+ v();
4214
4358
  };
4215
- }, []), T(() => F.subscribe(() => {
4216
- l(F.getRunningApps());
4217
- }), []), T(() => {
4359
+ }, []), L(() => V.subscribe(() => {
4360
+ l(V.getRunningApps());
4361
+ }), []), L(() => {
4218
4362
  if (!new URLSearchParams(window.location.search).has("app")) {
4219
- const k = j.getActiveAppId();
4220
- k && !F.isRunning(k) && F.launchApp(k);
4363
+ const h = j.getActiveAppId();
4364
+ h && !V.isRunning(h) && V.launchApp(h);
4221
4365
  }
4222
4366
  }, []);
4223
- const d = (f) => {
4224
- F.closeApp(f);
4225
- }, p = r ? oe.get(r) : null, w = (p == null ? void 0 : p.width) ?? 400, a = r !== null, v = { ...{
4367
+ const d = (v) => {
4368
+ V.closeApp(v);
4369
+ }, f = r ? oe.get(r) : null, w = (f == null ? void 0 : f.width) ?? 400, c = r !== null, g = { ...{
4226
4370
  overflow: "hidden",
4227
- display: a ? "flex" : "none",
4371
+ display: c ? "flex" : "none",
4228
4372
  flexDirection: "column",
4229
4373
  flexShrink: 0,
4230
4374
  // Only set width if autoWidth is enabled
4231
- ...e && a ? { width: c ? "100%" : w } : {}
4375
+ ...e && c ? { width: a ? "100%" : w } : {}
4232
4376
  }, ...n };
4233
- return /* @__PURE__ */ s("div", { className: dn("nc-app-panel", t), style: v, children: i.map((f) => /* @__PURE__ */ s(
4234
- Ve,
4377
+ return /* @__PURE__ */ s("div", { className: gn("nc-app-panel", t), style: g, children: i.map((v) => /* @__PURE__ */ s(
4378
+ Fe,
4235
4379
  {
4236
- appId: f.appId,
4237
- isActive: r === f.appId,
4238
- onClose: () => d(f.appId)
4380
+ appId: v.appId,
4381
+ isActive: r === v.appId,
4382
+ onClose: () => d(v.appId)
4239
4383
  },
4240
- f.appId
4384
+ v.appId
4241
4385
  )) });
4242
4386
  }
4243
- function Kn({ pinnedAppIds: e, className: t = "" }) {
4244
- const { isMobile: n } = Ye(), [r, o] = R(() => j.getActiveAppId()), [i, l] = R(() => F.getRunningApps());
4245
- T(() => {
4246
- const a = j.subscribe("activeAppId", (u) => {
4247
- o(u);
4387
+ function Zn({ pinnedAppIds: e, className: t = "" }) {
4388
+ const { isMobile: n } = Ye(), [r, o] = T(() => j.getActiveAppId()), [i, l] = T(() => V.getRunningApps());
4389
+ L(() => {
4390
+ const c = j.subscribe("activeAppId", (p) => {
4391
+ o(p);
4248
4392
  });
4249
4393
  return () => {
4250
- a();
4394
+ c();
4251
4395
  };
4252
- }, []), T(() => F.subscribe(() => {
4253
- l(F.getRunningApps());
4396
+ }, []), L(() => V.subscribe(() => {
4397
+ l(V.getRunningApps());
4254
4398
  }), []);
4255
- const c = (a) => {
4256
- r === a ? F.setActiveApp(null) : F.launchApp(a);
4257
- }, d = e.map((a) => oe.get(a)).filter((a) => !!a), p = i.filter((a) => !e.includes(a.appId)).map((a) => ({ running: a, def: oe.get(a.appId) })).filter((a) => !!a.def), h = (a) => i.some((u) => u.appId === a), w = n ? 24 : 28;
4399
+ const a = (c) => {
4400
+ r === c ? V.setActiveApp(null) : V.launchApp(c);
4401
+ }, d = e.map((c) => oe.get(c)).filter((c) => !!c), f = i.filter((c) => !e.includes(c.appId)).map((c) => ({ running: c, def: oe.get(c.appId) })).filter((c) => !!c.def), u = (c) => i.some((p) => p.appId === c), w = n ? 24 : 28;
4258
4402
  return /* @__PURE__ */ y("div", { className: `nc-app-taskbar ${n ? "nc-mobile" : "nc-desktop"} ${t}`, children: [
4259
- d.map((a) => {
4260
- const u = a.icon, m = r === a.id, v = h(a.id);
4403
+ d.map((c) => {
4404
+ const p = c.icon, b = r === c.id, g = u(c.id);
4261
4405
  return /* @__PURE__ */ y(
4262
4406
  "button",
4263
4407
  {
4264
- className: `nc-app-taskbar-button ${m ? "nc-active" : ""} ${v ? "nc-running" : ""}`,
4265
- onClick: () => c(a.id),
4266
- title: a.titleKey || a.id,
4408
+ className: `nc-app-taskbar-button ${b ? "nc-active" : ""} ${g ? "nc-running" : ""}`,
4409
+ onClick: () => a(c.id),
4410
+ title: c.titleKey || c.id,
4267
4411
  children: [
4268
- /* @__PURE__ */ s(u, { size: w }),
4269
- v && /* @__PURE__ */ s("span", { className: "nc-app-taskbar-indicator" })
4412
+ /* @__PURE__ */ s(p, { size: w }),
4413
+ g && /* @__PURE__ */ s("span", { className: "nc-app-taskbar-indicator" })
4270
4414
  ]
4271
4415
  },
4272
- a.id
4416
+ c.id
4273
4417
  );
4274
4418
  }),
4275
- p.length > 0 && /* @__PURE__ */ s("div", { className: "nc-app-taskbar-separator" }),
4276
- p.map(({ running: a, def: u }) => {
4277
- const m = u.icon, v = r === a.appId;
4419
+ f.length > 0 && /* @__PURE__ */ s("div", { className: "nc-app-taskbar-separator" }),
4420
+ f.map(({ running: c, def: p }) => {
4421
+ const b = p.icon, g = r === c.appId;
4278
4422
  return /* @__PURE__ */ y(
4279
4423
  "button",
4280
4424
  {
4281
- className: `nc-app-taskbar-button ${v ? "nc-active" : ""} nc-running`,
4282
- onClick: () => c(a.appId),
4283
- title: u.titleKey || u.id,
4425
+ className: `nc-app-taskbar-button ${g ? "nc-active" : ""} nc-running`,
4426
+ onClick: () => a(c.appId),
4427
+ title: p.titleKey || p.id,
4284
4428
  children: [
4285
- /* @__PURE__ */ s(m, { size: w }),
4429
+ /* @__PURE__ */ s(b, { size: w }),
4286
4430
  /* @__PURE__ */ s("span", { className: "nc-app-taskbar-indicator" })
4287
4431
  ]
4288
4432
  },
4289
- a.appId
4433
+ c.appId
4290
4434
  );
4291
4435
  })
4292
4436
  ] });
4293
4437
  }
4294
- function _n({
4438
+ function er({
4295
4439
  appId: e,
4296
4440
  open: t,
4297
4441
  onClose: n,
@@ -4303,7 +4447,7 @@ function _n({
4303
4447
  r && d.target === d.currentTarget && n();
4304
4448
  };
4305
4449
  if (!t) return null;
4306
- const c = /* @__PURE__ */ s(
4450
+ const a = /* @__PURE__ */ s(
4307
4451
  "div",
4308
4452
  {
4309
4453
  className: "nc-dialog-overlay nc-fullscreen",
@@ -4315,7 +4459,7 @@ function _n({
4315
4459
  style: i,
4316
4460
  onClick: (d) => d.stopPropagation(),
4317
4461
  children: /* @__PURE__ */ s(
4318
- Ve,
4462
+ Fe,
4319
4463
  {
4320
4464
  appId: e,
4321
4465
  isActive: !0,
@@ -4326,86 +4470,86 @@ function _n({
4326
4470
  )
4327
4471
  }
4328
4472
  );
4329
- return pe(c, document.body);
4473
+ return pe(a, document.body);
4330
4474
  }
4331
- const Ne = se(null), qe = se(null);
4332
- function Un() {
4475
+ const Ne = se(null), Xe = se(null);
4476
+ function tr() {
4333
4477
  const e = X(Ne);
4334
4478
  if (!e)
4335
4479
  throw new Error("useNavStack must be used within a NavStackProvider");
4336
4480
  return e;
4337
4481
  }
4338
- function qn() {
4339
- const e = X(qe);
4482
+ function nr() {
4483
+ const e = X(Xe);
4340
4484
  if (!e)
4341
4485
  throw new Error("useNavView must be used within NavStack");
4342
4486
  return e;
4343
4487
  }
4344
4488
  const Ae = se(null);
4345
- function Xn({ rootView: e, children: t }) {
4346
- const { t: n } = J(), r = It(), [o, i] = R([e]), [l, c] = R([null]), d = W((g, I) => {
4347
- c((P) => {
4348
- const b = [...P];
4349
- return b[g] = I, b;
4489
+ function rr({ rootView: e, children: t }) {
4490
+ const { t: n } = J(), r = zt(), [o, i] = T([e]), [l, a] = T([null]), d = O((m, A) => {
4491
+ a((E) => {
4492
+ const C = [...E];
4493
+ return C[m] = A, C;
4350
4494
  });
4351
- }, []), p = W((g) => {
4352
- c((I) => {
4353
- const P = [...I];
4354
- return P[g] = null, P;
4495
+ }, []), f = O((m) => {
4496
+ a((A) => {
4497
+ const E = [...A];
4498
+ return E[m] = null, E;
4355
4499
  });
4356
- }, []), h = W((g) => {
4357
- i((I) => [...I, g]), c((I) => [...I, null]);
4358
- }, []), w = W(() => {
4359
- i((g) => g.length <= 1 ? g : g.slice(0, -1)), c((g) => g.slice(0, -1));
4360
- }, []), a = W(() => {
4361
- i([e]), c([null]);
4362
- }, [e]), u = o.length, m = u > 1, v = o.length - 1, f = o[o.length - 1], x = f != null && f.titleKey ? n(f.titleKey) : (f == null ? void 0 : f.title) ?? "";
4363
- T(() => {
4364
- r.setTitle(x);
4365
- }, [x, r]), T(() => {
4366
- m ? r.setBackHandler(w) : r.clearBackHandler();
4367
- }, [m, w, r]), T(() => {
4368
- const g = l[l.length - 1];
4369
- g ? r.setToolbar(g) : r.clearToolbar();
4500
+ }, []), u = O((m) => {
4501
+ i((A) => [...A, m]), a((A) => [...A, null]);
4502
+ }, []), w = O(() => {
4503
+ i((m) => m.length <= 1 ? m : m.slice(0, -1)), a((m) => m.slice(0, -1));
4504
+ }, []), c = O(() => {
4505
+ i([e]), a([null]);
4506
+ }, [e]), p = o.length, b = p > 1, g = o.length - 1, v = o[o.length - 1], N = v != null && v.titleKey ? n(v.titleKey) : (v == null ? void 0 : v.title) ?? "";
4507
+ L(() => {
4508
+ r.setTitle(N);
4509
+ }, [N, r]), L(() => {
4510
+ b ? r.setBackHandler(w) : r.clearBackHandler();
4511
+ }, [b, w, r]), L(() => {
4512
+ const m = l[l.length - 1];
4513
+ m ? r.setToolbar(m) : r.clearToolbar();
4370
4514
  }, [l, r]);
4371
- const k = {
4372
- push: h,
4515
+ const h = {
4516
+ push: u,
4373
4517
  pop: w,
4374
- reset: a,
4375
- depth: u,
4376
- canGoBack: m,
4377
- currentTitle: x
4378
- }, $ = {
4518
+ reset: c,
4519
+ depth: p,
4520
+ canGoBack: b,
4521
+ currentTitle: N
4522
+ }, k = {
4379
4523
  stack: o,
4380
4524
  toolbarStack: l,
4381
4525
  updateToolbar: d,
4382
- clearToolbarAt: p,
4383
- topIndex: v
4526
+ clearToolbarAt: f,
4527
+ topIndex: g
4384
4528
  };
4385
- return /* @__PURE__ */ s(Ne.Provider, { value: k, children: /* @__PURE__ */ s(Ae.Provider, { value: $, children: t }) });
4529
+ return /* @__PURE__ */ s(Ne.Provider, { value: h, children: /* @__PURE__ */ s(Ae.Provider, { value: k, children: t }) });
4386
4530
  }
4387
- function un({ index: e, children: t }) {
4531
+ function bn({ index: e, children: t }) {
4388
4532
  const n = X(Ae);
4389
4533
  if (!n)
4390
4534
  throw new Error("NavViewProvider must be used within NavStackProvider");
4391
- const { updateToolbar: r, clearToolbarAt: o, topIndex: i } = n, l = W((p) => {
4392
- e === i && r(e, p);
4393
- }, [e, i, r]), c = W(() => {
4535
+ const { updateToolbar: r, clearToolbarAt: o, topIndex: i } = n, l = O((f) => {
4536
+ e === i && r(e, f);
4537
+ }, [e, i, r]), a = O(() => {
4394
4538
  e === i && o(e);
4395
4539
  }, [e, i, o]), d = {
4396
4540
  setToolbar: l,
4397
- clearToolbar: c
4541
+ clearToolbar: a
4398
4542
  };
4399
- return /* @__PURE__ */ s(qe.Provider, { value: d, children: t });
4543
+ return /* @__PURE__ */ s(Xe.Provider, { value: d, children: t });
4400
4544
  }
4401
- function Jn() {
4545
+ function or() {
4402
4546
  const e = X(Ne), t = X(Ae);
4403
4547
  if (!e || !t)
4404
4548
  throw new Error("NavStackContainer must be used within a NavStackProvider");
4405
4549
  const { stack: n } = t;
4406
4550
  return /* @__PURE__ */ s("div", { className: "nav-stack-container", children: /* @__PURE__ */ s("div", { className: "nav-stack-content", children: n.map((r, o) => {
4407
4551
  const i = o === n.length - 1;
4408
- return /* @__PURE__ */ s(un, { index: o, children: /* @__PURE__ */ s(
4552
+ return /* @__PURE__ */ s(bn, { index: o, children: /* @__PURE__ */ s(
4409
4553
  "div",
4410
4554
  {
4411
4555
  style: { display: i ? "flex" : "none", flexDirection: "column", height: "100%" },
@@ -4415,53 +4559,54 @@ function Jn() {
4415
4559
  }) }) });
4416
4560
  }
4417
4561
  export {
4418
- Te as ActivityIndicator,
4419
- yn as Alert,
4420
- Ve as AppContainer,
4562
+ Be as ActivityIndicator,
4563
+ Sn as Alert,
4564
+ Fe as AppContainer,
4421
4565
  We as AppContext,
4422
- _n as AppDialog,
4423
- jn as AppPanel,
4424
- Kn as AppTaskbar,
4425
- $t as AppTitleBar,
4426
- xn as Battery,
4427
- G as Button,
4428
- kn as ButtonGroup,
4429
- Nn as Checkbox,
4430
- Be as CloseButton,
4431
- An as ComboBox,
4432
- $n as ContextMenu,
4433
- Rn as Dialog,
4566
+ er as AppDialog,
4567
+ Qn as AppPanel,
4568
+ Zn as AppTaskbar,
4569
+ Lt as AppTitleBar,
4570
+ In as Battery,
4571
+ Y as Button,
4572
+ Mn as ButtonGroup,
4573
+ $n as Checkbox,
4574
+ De as CloseButton,
4575
+ Rn as ComboBox,
4576
+ Ln as ContextMenu,
4577
+ _n as CsvTextArea,
4578
+ Bn as Dialog,
4434
4579
  ne as DialogClose,
4435
- Cn as EditButton,
4436
- Mn as Hyperlink,
4437
- En as Input,
4438
- Pn as ListGroup,
4439
- zn as ListGroupItem,
4440
- Tn as MonthRangePicker,
4441
- Ln as MultiSelect,
4442
- Jn as NavStackContainer,
4443
- Xn as NavStackProvider,
4444
- Nt as Notification,
4445
- Fn as NotificationContainer,
4446
- Bn as NumberInput,
4447
- Sn as RefreshButton,
4448
- Dn as Slider,
4449
- yt as TabPanel,
4450
- Hn as TabPanels,
4451
- Wn as Tabs,
4452
- Vn as Toggle,
4453
- In as TrashButton,
4454
- Gn as ViewportProvider,
4580
+ Tn as EditButton,
4581
+ Pn as Hyperlink,
4582
+ Dn as Input,
4583
+ On as ListGroup,
4584
+ Hn as ListGroupItem,
4585
+ Fn as MonthRangePicker,
4586
+ Wn as MultiSelect,
4587
+ or as NavStackContainer,
4588
+ rr as NavStackProvider,
4589
+ $t as Notification,
4590
+ Un as NotificationContainer,
4591
+ Vn as NumberInput,
4592
+ En as RefreshButton,
4593
+ Gn as Slider,
4594
+ Nt as TabPanel,
4595
+ Yn as TabPanels,
4596
+ jn as Tabs,
4597
+ Kn as Toggle,
4598
+ zn as TrashButton,
4599
+ Jn as ViewportProvider,
4455
4600
  oe as appRegistry,
4456
4601
  j as appStateStore,
4457
- dn as cn,
4458
- Yn as createAppI18nFactory,
4459
- On as notificationManager,
4460
- F as runningAppsStore,
4461
- It as useApp,
4462
- gt as useDialog,
4463
- Un as useNavStack,
4464
- qn as useNavView,
4602
+ gn as cn,
4603
+ Xn as createAppI18nFactory,
4604
+ qn as notificationManager,
4605
+ V as runningAppsStore,
4606
+ zt as useApp,
4607
+ wt as useDialog,
4608
+ tr as useNavStack,
4609
+ nr as useNavView,
4465
4610
  Ye as useViewport
4466
4611
  };
4467
4612
  //# sourceMappingURL=index.js.map