@stackable-labs/embeddables 1.14.0 → 1.15.0

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.
Files changed (44) hide show
  1. package/dist/components.js +77 -77
  2. package/dist/{lib → embeddables/src/lib}/instanceRegistry.d.ts +0 -1
  3. package/dist/embeddables.css +1 -1
  4. package/dist/react.js +681 -664
  5. package/dist/stackable-widget.external.js +70 -70
  6. package/dist/stackable-widget.js +84 -84
  7. package/dist/{components/ui → ui/src/components}/avatar.d.ts +6 -6
  8. package/dist/{components/ui → ui/src/components}/badge.d.ts +3 -3
  9. package/dist/{components/ui → ui/src/components}/button.d.ts +3 -3
  10. package/dist/{components/ui → ui/src/components}/card.d.ts +8 -8
  11. package/dist/ui/src/components/input.d.ts +3 -0
  12. package/dist/{components/ui → ui/src/components}/scroll-area.d.ts +3 -3
  13. package/dist/{components/ui → ui/src/components}/separator.d.ts +2 -2
  14. package/dist/{components/ui → ui/src/components}/tabs.d.ts +3 -3
  15. package/package.json +1 -1
  16. package/dist/components/ui/input.d.ts +0 -3
  17. /package/dist/{WidgetApp.d.ts → embeddables/src/WidgetApp.d.ts} +0 -0
  18. /package/dist/{components → embeddables/src/components}/DevModeBadge.d.ts +0 -0
  19. /package/dist/{components → embeddables/src/components}/ExtensionSetup.d.ts +0 -0
  20. /package/dist/{components → embeddables/src/components}/FooterLink.d.ts +0 -0
  21. /package/dist/{components → embeddables/src/components}/StackableLogo.d.ts +0 -0
  22. /package/dist/{components → embeddables/src/components}/WidgetComponent.d.ts +0 -0
  23. /package/dist/{components → embeddables/src/components}/widget/WidgetBody.d.ts +0 -0
  24. /package/dist/{components → embeddables/src/components}/widget/WidgetLauncher.d.ts +0 -0
  25. /package/dist/{components → embeddables/src/components}/widget/index.d.ts +0 -0
  26. /package/dist/{components → embeddables/src/components}/zendesk/ConversationList.d.ts +0 -0
  27. /package/dist/{components → embeddables/src/components}/zendesk/CustomerProfile.d.ts +0 -0
  28. /package/dist/{components → embeddables/src/components}/zendesk/MessageLog.d.ts +0 -0
  29. /package/dist/{components → embeddables/src/components}/zendesk/ZendeskMessenger.d.ts +0 -0
  30. /package/dist/{components → embeddables/src/components}/zendesk/ZendeskScript.d.ts +0 -0
  31. /package/dist/{components.d.ts → embeddables/src/components.d.ts} +0 -0
  32. /package/dist/{hooks → embeddables/src/hooks}/useCustomer.d.ts +0 -0
  33. /package/dist/{hooks → embeddables/src/hooks}/useZendeskPortal.d.ts +0 -0
  34. /package/dist/{index.d.ts → embeddables/src/index.d.ts} +0 -0
  35. /package/dist/{lib → embeddables/src/lib}/apiRequest.d.ts +0 -0
  36. /package/dist/{lib → embeddables/src/lib}/devOverrides.d.ts +0 -0
  37. /package/dist/{lib → embeddables/src/lib}/extensionRegistry.d.ts +0 -0
  38. /package/dist/{lib → embeddables/src/lib}/hostComponents.d.ts +0 -0
  39. /package/dist/{lib → embeddables/src/lib}/loadZendeskSnippet.d.ts +0 -0
  40. /package/dist/{lib → embeddables/src/lib}/theme.d.ts +0 -0
  41. /package/dist/{react.d.ts → embeddables/src/react.d.ts} +0 -0
  42. /package/dist/{stackable-widget.d.ts → embeddables/src/stackable-widget.d.ts} +0 -0
  43. /package/dist/{styles-entry.d.ts → embeddables/src/styles-entry.d.ts} +0 -0
  44. /package/dist/{lib → ui/src/lib}/utils.d.ts +0 -0
package/dist/react.js CHANGED
@@ -1,16 +1,19 @@
1
1
  import { jsxs as T, jsx as c, Fragment as he } from "react/jsx-runtime";
2
2
  import * as m from "react";
3
- import G, { createContext as Qo, useState as U, useRef as ae, useEffect as V, useContext as er, useMemo as Mt, useCallback as _e, createElement as Re, forwardRef as Lt } from "react";
3
+ import G, { createContext as tr, useState as U, useRef as ae, useEffect as V, useContext as or, useMemo as Lt, useCallback as _e, createElement as Ie, forwardRef as Ot } from "react";
4
4
  import "react-dom";
5
- const tr = () => {
5
+ const rr = () => {
6
6
  try {
7
- return "d94ffd84-4d99-4157-ad11-21cfcb7182b1";
7
+ return "1bb7f590-8e64-47ff-aa2a-79b678e6e385";
8
8
  } catch {
9
9
  return "dev";
10
10
  }
11
- }, ce = /* @__PURE__ */ new Map(), or = async (e, t) => {
11
+ }, ce = /* @__PURE__ */ new Map(), nr = async (e, t) => {
12
12
  const o = ce.get(e.id);
13
- if (o) return o;
13
+ if (o)
14
+ return o;
15
+ if (!e.bundleUrl)
16
+ return console.warn(`[SandboxManager] Extension ${e.id} is missing bundleUrl — skipping sandbox creation`), null;
14
17
  const r = document.createElement("iframe");
15
18
  if (r.setAttribute("sandbox", "allow-scripts allow-same-origin"), r.style.display = "none", r.style.width = "0", r.style.height = "0", r.style.border = "none", e.bundleUrl.startsWith("http") && !e.bundleUrl.endsWith(".js")) {
16
19
  const i = new URL(e.bundleUrl);
@@ -18,7 +21,7 @@ const tr = () => {
18
21
  } else {
19
22
  let i = "";
20
23
  try {
21
- const d = tr();
24
+ const d = rr();
22
25
  i = await (await fetch(`${e.bundleUrl}?_b=${d}`)).text();
23
26
  } catch (d) {
24
27
  console.error(`[SandboxManager] Failed to fetch bundle for ${e.id}:`, d);
@@ -53,10 +56,10 @@ const tr = () => {
53
56
  return;
54
57
  }
55
58
  o.iframe.contentWindow.postMessage(t, "*");
56
- }, le = (e) => ce.get(e), rr = (e) => {
59
+ }, le = (e) => ce.get(e), sr = (e) => {
57
60
  const t = ce.get(e);
58
61
  t && (t.iframe.remove(), t.messageHandlers.clear(), ce.delete(e));
59
- }, nr = [
62
+ }, ar = [
60
63
  "ui-card",
61
64
  "ui-card-content",
62
65
  "ui-card-header",
@@ -80,13 +83,27 @@ const tr = () => {
80
83
  "ui-link",
81
84
  "ui-menu",
82
85
  "ui-menu-item"
83
- ], sr = {
86
+ ], ir = {
84
87
  "context.read": "context:read",
85
88
  "data.query": "data:query",
86
89
  "data.fetch": "data:fetch",
87
90
  "actions.toast": "actions:toast",
88
91
  "actions.invoke": "actions:invoke"
89
- }, ar = (e) => {
92
+ }, $t = {
93
+ ADMIN: "org:super_admin"
94
+ }, ht = {
95
+ ADMIN: "org:admin",
96
+ OWNER: "org:owner"
97
+ }, lr = [
98
+ $t.ADMIN,
99
+ ht.ADMIN,
100
+ ht.OWNER
101
+ ];
102
+ [
103
+ ...Object.values($t),
104
+ ...Object.values(lr)
105
+ ];
106
+ const cr = (e) => {
90
107
  const t = async (o) => {
91
108
  const r = o.data;
92
109
  if ((r == null ? void 0 : r.type) !== "capability-request") return;
@@ -97,7 +114,7 @@ const tr = () => {
97
114
  }
98
115
  const a = le(s);
99
116
  if (!a) return;
100
- const i = sr[n.capability];
117
+ const i = ir[n.capability];
101
118
  if (i && !a.manifest.permissions.includes(i)) {
102
119
  const l = {
103
120
  type: "capability-response",
@@ -149,11 +166,11 @@ const tr = () => {
149
166
  return window.addEventListener("message", t), () => {
150
167
  window.removeEventListener("message", t);
151
168
  };
152
- }, Ot = Qo({
169
+ }, Dt = tr({
153
170
  extensions: [],
154
171
  components: {},
155
172
  ready: !1
156
- }), ir = ({
173
+ }), dr = ({
157
174
  extensions: e,
158
175
  capabilityHandlers: t,
159
176
  components: o = {},
@@ -168,21 +185,21 @@ const tr = () => {
168
185
  if (u) {
169
186
  console.log("[ExtensionProvider] Initializing with", e.length, "extensions");
170
187
  for (const f of e)
171
- f.enabled && !l && (console.log("[ExtensionProvider] Creating sandbox for", f.id, "bundleUrl:", f.bundleUrl), await or(f, u), console.log("[ExtensionProvider] Sandbox created for", f.id));
172
- i.current = ar(t), l || (console.log("[ExtensionProvider] Ready"), s(!0));
188
+ f.enabled && !l && (console.log("[ExtensionProvider] Creating sandbox for", f.id, "bundleUrl:", f.bundleUrl), await nr(f, u), console.log("[ExtensionProvider] Sandbox created for", f.id));
189
+ i.current = cr(t), l || (console.log("[ExtensionProvider] Ready"), s(!0));
173
190
  }
174
191
  })(), () => {
175
192
  var u;
176
193
  l = !0;
177
194
  for (const f of e)
178
- rr(f.id);
195
+ sr(f.id);
179
196
  (u = i.current) == null || u.call(i);
180
197
  };
181
- }, [e, t]), /* @__PURE__ */ T(Ot.Provider, { value: { extensions: e, components: o, ready: n }, children: [
198
+ }, [e, t]), /* @__PURE__ */ T(Dt.Provider, { value: { extensions: e, components: o, ready: n }, children: [
182
199
  /* @__PURE__ */ c("div", { ref: a, style: { display: "none" } }),
183
200
  r
184
201
  ] });
185
- }, lr = () => er(Ot), cr = (e) => nr.includes(e), Ce = ({
202
+ }, ur = () => or(Dt), fr = (e) => ar.includes(e), Ce = ({
186
203
  target: e,
187
204
  context: t,
188
205
  className: o,
@@ -190,23 +207,23 @@ const tr = () => {
190
207
  fallback: n = null,
191
208
  render: s
192
209
  }) => {
193
- const { extensions: a, components: i, ready: l } = lr(), [d, u] = U({}), f = ae(""), p = Mt(
210
+ const { extensions: a, components: i, ready: l } = ur(), [d, u] = U({}), f = ae(""), p = Lt(
194
211
  () => a.filter((h) => h.enabled && h.manifest.targets.includes(e)),
195
212
  // eslint-disable-next-line react-hooks/exhaustive-deps
196
213
  [a.map((h) => h.id).join(","), e]
197
214
  ), b = _e(
198
215
  (h, x, C = 0) => {
199
- var N, I, g;
216
+ var N, R, g;
200
217
  if (h.type === "text")
201
218
  return h.text || null;
202
219
  if (!h.tag) return null;
203
220
  if (h.tag === "__fragment")
204
221
  return /* @__PURE__ */ c(G.Fragment, { children: (N = h.children) == null ? void 0 : N.map((E, M) => b(E, x, M)) }, C);
205
- if (!cr(h.tag))
222
+ if (!fr(h.tag))
206
223
  return console.warn(`[ExtensionHost] Unknown UI tag rejected: <${h.tag}>`), null;
207
224
  const w = i[h.tag];
208
225
  if (!w)
209
- return h.tag.startsWith("ui-") ? (console.warn(`[ExtensionSlot] Unregistered UI tag: <${h.tag}>`), null) : /* @__PURE__ */ c(G.Fragment, { children: (I = h.children) == null ? void 0 : I.map((E, M) => b(E, x, M)) }, C);
226
+ return h.tag.startsWith("ui-") ? (console.warn(`[ExtensionSlot] Unregistered UI tag: <${h.tag}>`), null) : /* @__PURE__ */ c(G.Fragment, { children: (R = h.children) == null ? void 0 : R.map((E, M) => b(E, x, M)) }, C);
210
227
  const A = { ...h.attrs };
211
228
  if (h.actionId) {
212
229
  const E = h.actionId;
@@ -229,7 +246,7 @@ const tr = () => {
229
246
  };
230
247
  }
231
248
  const P = (g = h.children) == null ? void 0 : g.map((E, M) => b(E, x, M));
232
- return /* @__PURE__ */ Re(w, { ...A, key: C }, P && P.length > 0 ? P : void 0);
249
+ return /* @__PURE__ */ Ie(w, { ...A, key: C }, P && P.length > 0 ? P : void 0);
233
250
  },
234
251
  [e, i]
235
252
  );
@@ -243,21 +260,21 @@ const tr = () => {
243
260
  return N && C.source === N.iframe.contentWindow;
244
261
  }))) {
245
262
  if (w.type === "surface-update" && w.surfaceId === e) {
246
- const P = p.find((I) => {
247
- const g = le(I.id);
263
+ const P = p.find((R) => {
264
+ const g = le(R.id);
248
265
  return g && C.source === g.iframe.contentWindow;
249
266
  });
250
267
  if (!P) return;
251
268
  const N = b(w.tree, C.source ?? null);
252
- u((I) => ({
253
- ...I,
269
+ u((R) => ({
270
+ ...R,
254
271
  [P.id]: N
255
272
  }));
256
273
  }
257
274
  w.type === "surface-ready" && w.surfaceId === e && t && p.forEach((P) => {
258
- var I;
275
+ var R;
259
276
  const N = le(P.id);
260
- (I = N == null ? void 0 : N.iframe.contentWindow) == null || I.postMessage(
277
+ (R = N == null ? void 0 : N.iframe.contentWindow) == null || R.postMessage(
261
278
  { type: "context-update", surfaceId: e, context: t },
262
279
  "*"
263
280
  );
@@ -299,7 +316,7 @@ const tr = () => {
299
316
  ];
300
317
  }) : n;
301
318
  return /* @__PURE__ */ c("div", { "data-extension-slot": e, title: e, className: o, children: v });
302
- }, dr = (e) => {
319
+ }, mr = (e) => {
303
320
  try {
304
321
  const { hostname: t } = new URL(e);
305
322
  return t === "localhost" || t === "127.0.0.1" || t.endsWith(".trycloudflare.com") || // hostname.endsWith('.ngrok.io') ||
@@ -307,7 +324,7 @@ const tr = () => {
307
324
  } catch {
308
325
  return !1;
309
326
  }
310
- }, $t = (e) => {
327
+ }, Ft = (e) => {
311
328
  const o = new URLSearchParams(e).getAll("_stackable_dev");
312
329
  if (o.length === 0)
313
330
  return [];
@@ -319,14 +336,14 @@ const tr = () => {
319
336
  const i = a.indexOf(":");
320
337
  if (i === -1) continue;
321
338
  const l = a.slice(0, i), d = a.slice(i + 1);
322
- l && d && dr(d) && r.push({ extensionId: l, bundleUrl: d });
339
+ l && d && mr(d) && r.push({ extensionId: l, bundleUrl: d });
323
340
  }
324
341
  }
325
342
  return r;
326
343
  } catch {
327
344
  return [];
328
345
  }
329
- }, ur = (e, t) => t.length === 0 ? e : e.map((o) => {
346
+ }, pr = (e, t) => t.length === 0 ? e : e.map((o) => {
330
347
  const r = t.find((n) => n.extensionId === o.id);
331
348
  return r ? (console.log(`[Stackable] Dev override active for ${o.id} → ${r.bundleUrl}`), {
332
349
  ...o,
@@ -334,46 +351,46 @@ const tr = () => {
334
351
  }) : o;
335
352
  });
336
353
  /**
337
- * @license lucide-react v0.575.0 - ISC
354
+ * @license lucide-react v0.577.0 - ISC
338
355
  *
339
356
  * This source code is licensed under the ISC license.
340
357
  * See the LICENSE file in the root directory of this source tree.
341
358
  */
342
- const Ft = (...e) => e.filter((t, o, r) => !!t && t.trim() !== "" && r.indexOf(t) === o).join(" ").trim();
359
+ const Ut = (...e) => e.filter((t, o, r) => !!t && t.trim() !== "" && r.indexOf(t) === o).join(" ").trim();
343
360
  /**
344
- * @license lucide-react v0.575.0 - ISC
361
+ * @license lucide-react v0.577.0 - ISC
345
362
  *
346
363
  * This source code is licensed under the ISC license.
347
364
  * See the LICENSE file in the root directory of this source tree.
348
365
  */
349
- const fr = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
366
+ const hr = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
350
367
  /**
351
- * @license lucide-react v0.575.0 - ISC
368
+ * @license lucide-react v0.577.0 - ISC
352
369
  *
353
370
  * This source code is licensed under the ISC license.
354
371
  * See the LICENSE file in the root directory of this source tree.
355
372
  */
356
- const mr = (e) => e.replace(
373
+ const gr = (e) => e.replace(
357
374
  /^([A-Z])|[\s-_]+(\w)/g,
358
375
  (t, o, r) => r ? r.toUpperCase() : o.toLowerCase()
359
376
  );
360
377
  /**
361
- * @license lucide-react v0.575.0 - ISC
378
+ * @license lucide-react v0.577.0 - ISC
362
379
  *
363
380
  * This source code is licensed under the ISC license.
364
381
  * See the LICENSE file in the root directory of this source tree.
365
382
  */
366
- const ht = (e) => {
367
- const t = mr(e);
383
+ const gt = (e) => {
384
+ const t = gr(e);
368
385
  return t.charAt(0).toUpperCase() + t.slice(1);
369
386
  };
370
387
  /**
371
- * @license lucide-react v0.575.0 - ISC
388
+ * @license lucide-react v0.577.0 - ISC
372
389
  *
373
390
  * This source code is licensed under the ISC license.
374
391
  * See the LICENSE file in the root directory of this source tree.
375
392
  */
376
- var pr = {
393
+ var br = {
377
394
  xmlns: "http://www.w3.org/2000/svg",
378
395
  width: 24,
379
396
  height: 24,
@@ -385,24 +402,24 @@ var pr = {
385
402
  strokeLinejoin: "round"
386
403
  };
387
404
  /**
388
- * @license lucide-react v0.575.0 - ISC
405
+ * @license lucide-react v0.577.0 - ISC
389
406
  *
390
407
  * This source code is licensed under the ISC license.
391
408
  * See the LICENSE file in the root directory of this source tree.
392
409
  */
393
- const hr = (e) => {
410
+ const vr = (e) => {
394
411
  for (const t in e)
395
412
  if (t.startsWith("aria-") || t === "role" || t === "title")
396
413
  return !0;
397
414
  return !1;
398
415
  };
399
416
  /**
400
- * @license lucide-react v0.575.0 - ISC
417
+ * @license lucide-react v0.577.0 - ISC
401
418
  *
402
419
  * This source code is licensed under the ISC license.
403
420
  * See the LICENSE file in the root directory of this source tree.
404
421
  */
405
- const gr = Lt(
422
+ const xr = Ot(
406
423
  ({
407
424
  color: e = "currentColor",
408
425
  size: t = 24,
@@ -412,53 +429,53 @@ const gr = Lt(
412
429
  children: s,
413
430
  iconNode: a,
414
431
  ...i
415
- }, l) => Re(
432
+ }, l) => Ie(
416
433
  "svg",
417
434
  {
418
435
  ref: l,
419
- ...pr,
436
+ ...br,
420
437
  width: t,
421
438
  height: t,
422
439
  stroke: e,
423
440
  strokeWidth: r ? Number(o) * 24 / Number(t) : o,
424
- className: Ft("lucide", n),
425
- ...!s && !hr(i) && { "aria-hidden": "true" },
441
+ className: Ut("lucide", n),
442
+ ...!s && !vr(i) && { "aria-hidden": "true" },
426
443
  ...i
427
444
  },
428
445
  [
429
- ...a.map(([d, u]) => Re(d, u)),
446
+ ...a.map(([d, u]) => Ie(d, u)),
430
447
  ...Array.isArray(s) ? s : [s]
431
448
  ]
432
449
  )
433
450
  );
434
451
  /**
435
- * @license lucide-react v0.575.0 - ISC
452
+ * @license lucide-react v0.577.0 - ISC
436
453
  *
437
454
  * This source code is licensed under the ISC license.
438
455
  * See the LICENSE file in the root directory of this source tree.
439
456
  */
440
457
  const L = (e, t) => {
441
- const o = Lt(
442
- ({ className: r, ...n }, s) => Re(gr, {
458
+ const o = Ot(
459
+ ({ className: r, ...n }, s) => Ie(xr, {
443
460
  ref: s,
444
461
  iconNode: t,
445
- className: Ft(
446
- `lucide-${fr(ht(e))}`,
462
+ className: Ut(
463
+ `lucide-${hr(gt(e))}`,
447
464
  `lucide-${e}`,
448
465
  r
449
466
  ),
450
467
  ...n
451
468
  })
452
469
  );
453
- return o.displayName = ht(e), o;
470
+ return o.displayName = gt(e), o;
454
471
  };
455
472
  /**
456
- * @license lucide-react v0.575.0 - ISC
473
+ * @license lucide-react v0.577.0 - ISC
457
474
  *
458
475
  * This source code is licensed under the ISC license.
459
476
  * See the LICENSE file in the root directory of this source tree.
460
477
  */
461
- const br = [
478
+ const wr = [
462
479
  [
463
480
  "path",
464
481
  {
@@ -467,24 +484,24 @@ const br = [
467
484
  }
468
485
  ],
469
486
  ["path", { d: "m12 15 5 6H7Z", key: "14qnn2" }]
470
- ], vr = L("airplay", br);
487
+ ], yr = L("airplay", wr);
471
488
  /**
472
- * @license lucide-react v0.575.0 - ISC
489
+ * @license lucide-react v0.577.0 - ISC
473
490
  *
474
491
  * This source code is licensed under the ISC license.
475
492
  * See the LICENSE file in the root directory of this source tree.
476
493
  */
477
- const xr = [
494
+ const kr = [
478
495
  ["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
479
496
  ["path", { d: "M19 12H5", key: "x3x0zl" }]
480
- ], wr = L("arrow-left", xr);
497
+ ], Sr = L("arrow-left", kr);
481
498
  /**
482
- * @license lucide-react v0.575.0 - ISC
499
+ * @license lucide-react v0.577.0 - ISC
483
500
  *
484
501
  * This source code is licensed under the ISC license.
485
502
  * See the LICENSE file in the root directory of this source tree.
486
503
  */
487
- const yr = [
504
+ const Cr = [
488
505
  ["path", { d: "M12 7v14", key: "1akyts" }],
489
506
  [
490
507
  "path",
@@ -493,142 +510,142 @@ const yr = [
493
510
  key: "ruj8y"
494
511
  }
495
512
  ]
496
- ], kr = L("book-open", yr);
513
+ ], Er = L("book-open", Cr);
497
514
  /**
498
- * @license lucide-react v0.575.0 - ISC
515
+ * @license lucide-react v0.577.0 - ISC
499
516
  *
500
517
  * This source code is licensed under the ISC license.
501
518
  * See the LICENSE file in the root directory of this source tree.
502
519
  */
503
- const Sr = [
520
+ const Nr = [
504
521
  ["path", { d: "M8 2v4", key: "1cmpym" }],
505
522
  ["path", { d: "M16 2v4", key: "4m81vk" }],
506
523
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
507
524
  ["path", { d: "M3 10h18", key: "8toen8" }]
508
- ], Cr = L("calendar", Sr);
525
+ ], Ar = L("calendar", Nr);
509
526
  /**
510
- * @license lucide-react v0.575.0 - ISC
527
+ * @license lucide-react v0.577.0 - ISC
511
528
  *
512
529
  * This source code is licensed under the ISC license.
513
530
  * See the LICENSE file in the root directory of this source tree.
514
531
  */
515
- const Er = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], Nr = L("chevron-left", Er);
532
+ const _r = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], Rr = L("chevron-left", _r);
516
533
  /**
517
- * @license lucide-react v0.575.0 - ISC
534
+ * @license lucide-react v0.577.0 - ISC
518
535
  *
519
536
  * This source code is licensed under the ISC license.
520
537
  * See the LICENSE file in the root directory of this source tree.
521
538
  */
522
- const Ar = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], Dt = L("chevron-right", Ar);
539
+ const Ir = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], Wt = L("chevron-right", Ir);
523
540
  /**
524
- * @license lucide-react v0.575.0 - ISC
541
+ * @license lucide-react v0.577.0 - ISC
525
542
  *
526
543
  * This source code is licensed under the ISC license.
527
544
  * See the LICENSE file in the root directory of this source tree.
528
545
  */
529
- const _r = [
546
+ const Pr = [
530
547
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
531
548
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
532
549
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
533
- ], Ir = L("circle-alert", _r);
550
+ ], Tr = L("circle-alert", Pr);
534
551
  /**
535
- * @license lucide-react v0.575.0 - ISC
552
+ * @license lucide-react v0.577.0 - ISC
536
553
  *
537
554
  * This source code is licensed under the ISC license.
538
555
  * See the LICENSE file in the root directory of this source tree.
539
556
  */
540
- const Rr = [
557
+ const zr = [
541
558
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
542
559
  ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
543
- ], Pr = L("circle-check", Rr);
560
+ ], Mr = L("circle-check", zr);
544
561
  /**
545
- * @license lucide-react v0.575.0 - ISC
562
+ * @license lucide-react v0.577.0 - ISC
546
563
  *
547
564
  * This source code is licensed under the ISC license.
548
565
  * See the LICENSE file in the root directory of this source tree.
549
566
  */
550
- const Tr = [
567
+ const Lr = [
551
568
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
552
569
  ["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
553
570
  ["path", { d: "M12 17h.01", key: "p32p05" }]
554
- ], zr = L("circle-question-mark", Tr);
571
+ ], Or = L("circle-question-mark", Lr);
555
572
  /**
556
- * @license lucide-react v0.575.0 - ISC
573
+ * @license lucide-react v0.577.0 - ISC
557
574
  *
558
575
  * This source code is licensed under the ISC license.
559
576
  * See the LICENSE file in the root directory of this source tree.
560
577
  */
561
- const Mr = [
578
+ const $r = [
562
579
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
563
580
  ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
564
581
  ["path", { d: "m9 9 6 6", key: "z0biqf" }]
565
- ], Lr = L("circle-x", Mr);
582
+ ], Dr = L("circle-x", $r);
566
583
  /**
567
- * @license lucide-react v0.575.0 - ISC
584
+ * @license lucide-react v0.577.0 - ISC
568
585
  *
569
586
  * This source code is licensed under the ISC license.
570
587
  * See the LICENSE file in the root directory of this source tree.
571
588
  */
572
- const Or = [
589
+ const Fr = [
573
590
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
574
591
  ["path", { d: "M12 6v6l4 2", key: "mmk7yg" }]
575
- ], $r = L("clock", Or);
592
+ ], Ur = L("clock", Fr);
576
593
  /**
577
- * @license lucide-react v0.575.0 - ISC
594
+ * @license lucide-react v0.577.0 - ISC
578
595
  *
579
596
  * This source code is licensed under the ISC license.
580
597
  * See the LICENSE file in the root directory of this source tree.
581
598
  */
582
- const Fr = [
599
+ const Wr = [
583
600
  ["rect", { width: "20", height: "14", x: "2", y: "5", rx: "2", key: "ynyp8z" }],
584
601
  ["line", { x1: "2", x2: "22", y1: "10", y2: "10", key: "1b3vmo" }]
585
- ], Dr = L("credit-card", Fr);
602
+ ], jr = L("credit-card", Wr);
586
603
  /**
587
- * @license lucide-react v0.575.0 - ISC
604
+ * @license lucide-react v0.577.0 - ISC
588
605
  *
589
606
  * This source code is licensed under the ISC license.
590
607
  * See the LICENSE file in the root directory of this source tree.
591
608
  */
592
- const Ur = [
609
+ const Hr = [
593
610
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
594
611
  ["path", { d: "M10 14 21 3", key: "gplh6r" }],
595
612
  ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
596
- ], Wr = L("external-link", Ur);
613
+ ], Vr = L("external-link", Hr);
597
614
  /**
598
- * @license lucide-react v0.575.0 - ISC
615
+ * @license lucide-react v0.577.0 - ISC
599
616
  *
600
617
  * This source code is licensed under the ISC license.
601
618
  * See the LICENSE file in the root directory of this source tree.
602
619
  */
603
- const jr = [
620
+ const Br = [
604
621
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
605
622
  ["path", { d: "M12 16v-4", key: "1dtifu" }],
606
623
  ["path", { d: "M12 8h.01", key: "e9boi3" }]
607
- ], Hr = L("info", jr);
624
+ ], Gr = L("info", Br);
608
625
  /**
609
- * @license lucide-react v0.575.0 - ISC
626
+ * @license lucide-react v0.577.0 - ISC
610
627
  *
611
628
  * This source code is licensed under the ISC license.
612
629
  * See the LICENSE file in the root directory of this source tree.
613
630
  */
614
- const Vr = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], Ut = L("loader-circle", Vr);
631
+ const qr = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], jt = L("loader-circle", qr);
615
632
  /**
616
- * @license lucide-react v0.575.0 - ISC
633
+ * @license lucide-react v0.577.0 - ISC
617
634
  *
618
635
  * This source code is licensed under the ISC license.
619
636
  * See the LICENSE file in the root directory of this source tree.
620
637
  */
621
- const Br = [
638
+ const Yr = [
622
639
  ["path", { d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7", key: "132q7q" }],
623
640
  ["rect", { x: "2", y: "4", width: "20", height: "16", rx: "2", key: "izxlao" }]
624
- ], Xe = L("mail", Br);
641
+ ], Xe = L("mail", Yr);
625
642
  /**
626
- * @license lucide-react v0.575.0 - ISC
643
+ * @license lucide-react v0.577.0 - ISC
627
644
  *
628
645
  * This source code is licensed under the ISC license.
629
646
  * See the LICENSE file in the root directory of this source tree.
630
647
  */
631
- const Gr = [
648
+ const Xr = [
632
649
  [
633
650
  "path",
634
651
  {
@@ -637,14 +654,14 @@ const Gr = [
637
654
  }
638
655
  ],
639
656
  ["circle", { cx: "12", cy: "10", r: "3", key: "ilqhr7" }]
640
- ], qr = L("map-pin", Gr);
657
+ ], Kr = L("map-pin", Xr);
641
658
  /**
642
- * @license lucide-react v0.575.0 - ISC
659
+ * @license lucide-react v0.577.0 - ISC
643
660
  *
644
661
  * This source code is licensed under the ISC license.
645
662
  * See the LICENSE file in the root directory of this source tree.
646
663
  */
647
- const Yr = [
664
+ const Zr = [
648
665
  [
649
666
  "path",
650
667
  {
@@ -652,14 +669,14 @@ const Yr = [
652
669
  key: "1sd12s"
653
670
  }
654
671
  ]
655
- ], Xr = L("message-circle", Yr);
672
+ ], Jr = L("message-circle", Zr);
656
673
  /**
657
- * @license lucide-react v0.575.0 - ISC
674
+ * @license lucide-react v0.577.0 - ISC
658
675
  *
659
676
  * This source code is licensed under the ISC license.
660
677
  * See the LICENSE file in the root directory of this source tree.
661
678
  */
662
- const Kr = [
679
+ const Qr = [
663
680
  [
664
681
  "path",
665
682
  {
@@ -667,14 +684,14 @@ const Kr = [
667
684
  key: "18887p"
668
685
  }
669
686
  ]
670
- ], Wt = L("message-square", Kr);
687
+ ], Ht = L("message-square", Qr);
671
688
  /**
672
- * @license lucide-react v0.575.0 - ISC
689
+ * @license lucide-react v0.577.0 - ISC
673
690
  *
674
691
  * This source code is licensed under the ISC license.
675
692
  * See the LICENSE file in the root directory of this source tree.
676
693
  */
677
- const Zr = [
694
+ const en = [
678
695
  [
679
696
  "path",
680
697
  {
@@ -685,14 +702,14 @@ const Zr = [
685
702
  ["path", { d: "M12 22V12", key: "d0xqtd" }],
686
703
  ["polyline", { points: "3.29 7 12 12 20.71 7", key: "ousv84" }],
687
704
  ["path", { d: "m7.5 4.27 9 5.15", key: "1c824w" }]
688
- ], Jr = L("package", Zr);
705
+ ], tn = L("package", en);
689
706
  /**
690
- * @license lucide-react v0.575.0 - ISC
707
+ * @license lucide-react v0.577.0 - ISC
691
708
  *
692
709
  * This source code is licensed under the ISC license.
693
710
  * See the LICENSE file in the root directory of this source tree.
694
711
  */
695
- const Qr = [
712
+ const on = [
696
713
  [
697
714
  "path",
698
715
  {
@@ -700,24 +717,24 @@ const Qr = [
700
717
  key: "9njp5v"
701
718
  }
702
719
  ]
703
- ], en = L("phone", Qr);
720
+ ], rn = L("phone", on);
704
721
  /**
705
- * @license lucide-react v0.575.0 - ISC
722
+ * @license lucide-react v0.577.0 - ISC
706
723
  *
707
724
  * This source code is licensed under the ISC license.
708
725
  * See the LICENSE file in the root directory of this source tree.
709
726
  */
710
- const tn = [
727
+ const nn = [
711
728
  ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
712
729
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
713
- ], on = L("search", tn);
730
+ ], sn = L("search", nn);
714
731
  /**
715
- * @license lucide-react v0.575.0 - ISC
732
+ * @license lucide-react v0.577.0 - ISC
716
733
  *
717
734
  * This source code is licensed under the ISC license.
718
735
  * See the LICENSE file in the root directory of this source tree.
719
736
  */
720
- const rn = [
737
+ const an = [
721
738
  ["path", { d: "M16 10a4 4 0 0 1-8 0", key: "1ltviw" }],
722
739
  ["path", { d: "M3.103 6.034h17.794", key: "awc11p" }],
723
740
  [
@@ -727,14 +744,14 @@ const rn = [
727
744
  key: "o988cm"
728
745
  }
729
746
  ]
730
- ], nn = L("shopping-bag", rn);
747
+ ], ln = L("shopping-bag", an);
731
748
  /**
732
- * @license lucide-react v0.575.0 - ISC
749
+ * @license lucide-react v0.577.0 - ISC
733
750
  *
734
751
  * This source code is licensed under the ISC license.
735
752
  * See the LICENSE file in the root directory of this source tree.
736
753
  */
737
- const sn = [
754
+ const cn = [
738
755
  [
739
756
  "path",
740
757
  {
@@ -745,14 +762,14 @@ const sn = [
745
762
  ["path", { d: "M20 2v4", key: "1rf3ol" }],
746
763
  ["path", { d: "M22 4h-4", key: "gwowj6" }],
747
764
  ["circle", { cx: "4", cy: "20", r: "2", key: "6kqj1y" }]
748
- ], an = L("sparkles", sn);
765
+ ], dn = L("sparkles", cn);
749
766
  /**
750
- * @license lucide-react v0.575.0 - ISC
767
+ * @license lucide-react v0.577.0 - ISC
751
768
  *
752
769
  * This source code is licensed under the ISC license.
753
770
  * See the LICENSE file in the root directory of this source tree.
754
771
  */
755
- const ln = [
772
+ const un = [
756
773
  ["path", { d: "M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2", key: "wrbu53" }],
757
774
  ["path", { d: "M15 18H9", key: "1lyqi6" }],
758
775
  [
@@ -764,70 +781,70 @@ const ln = [
764
781
  ],
765
782
  ["circle", { cx: "17", cy: "18", r: "2", key: "332jqn" }],
766
783
  ["circle", { cx: "7", cy: "18", r: "2", key: "19iecd" }]
767
- ], cn = L("truck", ln);
784
+ ], fn = L("truck", un);
768
785
  /**
769
- * @license lucide-react v0.575.0 - ISC
786
+ * @license lucide-react v0.577.0 - ISC
770
787
  *
771
788
  * This source code is licensed under the ISC license.
772
789
  * See the LICENSE file in the root directory of this source tree.
773
790
  */
774
- const dn = [
791
+ const mn = [
775
792
  ["path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2", key: "975kel" }],
776
793
  ["circle", { cx: "12", cy: "7", r: "4", key: "17ys0d" }]
777
- ], jt = L("user", dn);
778
- function Ht(e) {
794
+ ], Vt = L("user", mn);
795
+ function Bt(e) {
779
796
  var t, o, r = "";
780
797
  if (typeof e == "string" || typeof e == "number") r += e;
781
798
  else if (typeof e == "object") if (Array.isArray(e)) {
782
799
  var n = e.length;
783
- for (t = 0; t < n; t++) e[t] && (o = Ht(e[t])) && (r && (r += " "), r += o);
800
+ for (t = 0; t < n; t++) e[t] && (o = Bt(e[t])) && (r && (r += " "), r += o);
784
801
  } else for (o in e) e[o] && (r && (r += " "), r += o);
785
802
  return r;
786
803
  }
787
- function Vt() {
788
- for (var e, t, o = 0, r = "", n = arguments.length; o < n; o++) (e = arguments[o]) && (t = Ht(e)) && (r && (r += " "), r += t);
804
+ function Gt() {
805
+ for (var e, t, o = 0, r = "", n = arguments.length; o < n; o++) (e = arguments[o]) && (t = Bt(e)) && (r && (r += " "), r += t);
789
806
  return r;
790
807
  }
791
- const un = (e, t) => {
808
+ const pn = (e, t) => {
792
809
  const o = new Array(e.length + t.length);
793
810
  for (let r = 0; r < e.length; r++)
794
811
  o[r] = e[r];
795
812
  for (let r = 0; r < t.length; r++)
796
813
  o[e.length + r] = t[r];
797
814
  return o;
798
- }, fn = (e, t) => ({
815
+ }, hn = (e, t) => ({
799
816
  classGroupId: e,
800
817
  validator: t
801
- }), Bt = (e = /* @__PURE__ */ new Map(), t = null, o) => ({
818
+ }), qt = (e = /* @__PURE__ */ new Map(), t = null, o) => ({
802
819
  nextPart: e,
803
820
  validators: t,
804
821
  classGroupId: o
805
- }), Pe = "-", gt = [], mn = "arbitrary..", pn = (e) => {
806
- const t = gn(e), {
822
+ }), Pe = "-", bt = [], gn = "arbitrary..", bn = (e) => {
823
+ const t = xn(e), {
807
824
  conflictingClassGroups: o,
808
825
  conflictingClassGroupModifiers: r
809
826
  } = e;
810
827
  return {
811
828
  getClassGroupId: (a) => {
812
829
  if (a.startsWith("[") && a.endsWith("]"))
813
- return hn(a);
830
+ return vn(a);
814
831
  const i = a.split(Pe), l = i[0] === "" && i.length > 1 ? 1 : 0;
815
- return Gt(i, l, t);
832
+ return Yt(i, l, t);
816
833
  },
817
834
  getConflictingClassGroupIds: (a, i) => {
818
835
  if (i) {
819
836
  const l = r[a], d = o[a];
820
- return l ? d ? un(d, l) : l : d || gt;
837
+ return l ? d ? pn(d, l) : l : d || bt;
821
838
  }
822
- return o[a] || gt;
839
+ return o[a] || bt;
823
840
  }
824
841
  };
825
- }, Gt = (e, t, o) => {
842
+ }, Yt = (e, t, o) => {
826
843
  if (e.length - t === 0)
827
844
  return o.classGroupId;
828
845
  const n = e[t], s = o.nextPart.get(n);
829
846
  if (s) {
830
- const d = Gt(e, t + 1, s);
847
+ const d = Yt(e, t + 1, s);
831
848
  if (d) return d;
832
849
  }
833
850
  const a = o.validators;
@@ -839,17 +856,17 @@ const un = (e, t) => {
839
856
  if (u.validator(i))
840
857
  return u.classGroupId;
841
858
  }
842
- }, hn = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
859
+ }, vn = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
843
860
  const t = e.slice(1, -1), o = t.indexOf(":"), r = t.slice(0, o);
844
- return r ? mn + r : void 0;
845
- })(), gn = (e) => {
861
+ return r ? gn + r : void 0;
862
+ })(), xn = (e) => {
846
863
  const {
847
864
  theme: t,
848
865
  classGroups: o
849
866
  } = e;
850
- return bn(o, t);
851
- }, bn = (e, t) => {
852
- const o = Bt();
867
+ return wn(o, t);
868
+ }, wn = (e, t) => {
869
+ const o = qt();
853
870
  for (const r in e) {
854
871
  const n = e[r];
855
872
  tt(n, o, r, t);
@@ -859,43 +876,43 @@ const un = (e, t) => {
859
876
  const n = e.length;
860
877
  for (let s = 0; s < n; s++) {
861
878
  const a = e[s];
862
- vn(a, t, o, r);
879
+ yn(a, t, o, r);
863
880
  }
864
- }, vn = (e, t, o, r) => {
881
+ }, yn = (e, t, o, r) => {
865
882
  if (typeof e == "string") {
866
- xn(e, t, o);
883
+ kn(e, t, o);
867
884
  return;
868
885
  }
869
886
  if (typeof e == "function") {
870
- wn(e, t, o, r);
887
+ Sn(e, t, o, r);
871
888
  return;
872
889
  }
873
- yn(e, t, o, r);
874
- }, xn = (e, t, o) => {
875
- const r = e === "" ? t : qt(t, e);
890
+ Cn(e, t, o, r);
891
+ }, kn = (e, t, o) => {
892
+ const r = e === "" ? t : Xt(t, e);
876
893
  r.classGroupId = o;
877
- }, wn = (e, t, o, r) => {
878
- if (kn(e)) {
894
+ }, Sn = (e, t, o, r) => {
895
+ if (En(e)) {
879
896
  tt(e(r), t, o, r);
880
897
  return;
881
898
  }
882
- t.validators === null && (t.validators = []), t.validators.push(fn(o, e));
883
- }, yn = (e, t, o, r) => {
899
+ t.validators === null && (t.validators = []), t.validators.push(hn(o, e));
900
+ }, Cn = (e, t, o, r) => {
884
901
  const n = Object.entries(e), s = n.length;
885
902
  for (let a = 0; a < s; a++) {
886
903
  const [i, l] = n[a];
887
- tt(l, qt(t, i), o, r);
904
+ tt(l, Xt(t, i), o, r);
888
905
  }
889
- }, qt = (e, t) => {
906
+ }, Xt = (e, t) => {
890
907
  let o = e;
891
908
  const r = t.split(Pe), n = r.length;
892
909
  for (let s = 0; s < n; s++) {
893
910
  const a = r[s];
894
911
  let i = o.nextPart.get(a);
895
- i || (i = Bt(), o.nextPart.set(a, i)), o = i;
912
+ i || (i = qt(), o.nextPart.set(a, i)), o = i;
896
913
  }
897
914
  return o;
898
- }, kn = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Sn = (e) => {
915
+ }, En = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Nn = (e) => {
899
916
  if (e < 1)
900
917
  return {
901
918
  get: () => {
@@ -919,13 +936,13 @@ const un = (e, t) => {
919
936
  s in o ? o[s] = a : n(s, a);
920
937
  }
921
938
  };
922
- }, Ke = "!", bt = ":", Cn = [], vt = (e, t, o, r, n) => ({
939
+ }, Ke = "!", vt = ":", An = [], xt = (e, t, o, r, n) => ({
923
940
  modifiers: e,
924
941
  hasImportantModifier: t,
925
942
  baseClassName: o,
926
943
  maybePostfixModifierPosition: r,
927
944
  isExternal: n
928
- }), En = (e) => {
945
+ }), _n = (e) => {
929
946
  const {
930
947
  prefix: t,
931
948
  experimentalParseClassName: o
@@ -937,7 +954,7 @@ const un = (e, t) => {
937
954
  for (let v = 0; v < u; v++) {
938
955
  const h = n[v];
939
956
  if (a === 0 && i === 0) {
940
- if (h === bt) {
957
+ if (h === vt) {
941
958
  s.push(n.slice(l, v)), l = v + 1;
942
959
  continue;
943
960
  }
@@ -958,11 +975,11 @@ const un = (e, t) => {
958
975
  f.startsWith(Ke) && (p = f.slice(1), b = !0)
959
976
  );
960
977
  const S = d && d > l ? d - l : void 0;
961
- return vt(s, b, p, S);
978
+ return xt(s, b, p, S);
962
979
  };
963
980
  if (t) {
964
- const n = t + bt, s = r;
965
- r = (a) => a.startsWith(n) ? s(a.slice(n.length)) : vt(Cn, !1, a, void 0, !0);
981
+ const n = t + vt, s = r;
982
+ r = (a) => a.startsWith(n) ? s(a.slice(n.length)) : xt(An, !1, a, void 0, !0);
966
983
  }
967
984
  if (o) {
968
985
  const n = r;
@@ -972,7 +989,7 @@ const un = (e, t) => {
972
989
  });
973
990
  }
974
991
  return r;
975
- }, Nn = (e) => {
992
+ }, Rn = (e) => {
976
993
  const t = /* @__PURE__ */ new Map();
977
994
  return e.orderSensitiveModifiers.forEach((o, r) => {
978
995
  t.set(o, 1e6 + r);
@@ -985,18 +1002,18 @@ const un = (e, t) => {
985
1002
  }
986
1003
  return n.length > 0 && (n.sort(), r.push(...n)), r;
987
1004
  };
988
- }, An = (e) => ({
989
- cache: Sn(e.cacheSize),
990
- parseClassName: En(e),
991
- sortModifiers: Nn(e),
992
- ...pn(e)
993
- }), _n = /\s+/, In = (e, t) => {
1005
+ }, In = (e) => ({
1006
+ cache: Nn(e.cacheSize),
1007
+ parseClassName: _n(e),
1008
+ sortModifiers: Rn(e),
1009
+ ...bn(e)
1010
+ }), Pn = /\s+/, Tn = (e, t) => {
994
1011
  const {
995
1012
  parseClassName: o,
996
1013
  getClassGroupId: r,
997
1014
  getConflictingClassGroupIds: n,
998
1015
  sortModifiers: s
999
- } = t, a = [], i = e.trim().split(_n);
1016
+ } = t, a = [], i = e.trim().split(Pn);
1000
1017
  let l = "";
1001
1018
  for (let d = i.length - 1; d >= 0; d -= 1) {
1002
1019
  const u = i[d], {
@@ -1028,53 +1045,53 @@ const un = (e, t) => {
1028
1045
  a.push(A);
1029
1046
  const P = n(x, h);
1030
1047
  for (let N = 0; N < P.length; ++N) {
1031
- const I = P[N];
1032
- a.push(w + I);
1048
+ const R = P[N];
1049
+ a.push(w + R);
1033
1050
  }
1034
1051
  l = u + (l.length > 0 ? " " + l : l);
1035
1052
  }
1036
1053
  return l;
1037
- }, Rn = (...e) => {
1054
+ }, zn = (...e) => {
1038
1055
  let t = 0, o, r, n = "";
1039
1056
  for (; t < e.length; )
1040
- (o = e[t++]) && (r = Yt(o)) && (n && (n += " "), n += r);
1057
+ (o = e[t++]) && (r = Kt(o)) && (n && (n += " "), n += r);
1041
1058
  return n;
1042
- }, Yt = (e) => {
1059
+ }, Kt = (e) => {
1043
1060
  if (typeof e == "string")
1044
1061
  return e;
1045
1062
  let t, o = "";
1046
1063
  for (let r = 0; r < e.length; r++)
1047
- e[r] && (t = Yt(e[r])) && (o && (o += " "), o += t);
1064
+ e[r] && (t = Kt(e[r])) && (o && (o += " "), o += t);
1048
1065
  return o;
1049
- }, Pn = (e, ...t) => {
1066
+ }, Mn = (e, ...t) => {
1050
1067
  let o, r, n, s;
1051
1068
  const a = (l) => {
1052
1069
  const d = t.reduce((u, f) => f(u), e());
1053
- return o = An(d), r = o.cache.get, n = o.cache.set, s = i, i(l);
1070
+ return o = In(d), r = o.cache.get, n = o.cache.set, s = i, i(l);
1054
1071
  }, i = (l) => {
1055
1072
  const d = r(l);
1056
1073
  if (d)
1057
1074
  return d;
1058
- const u = In(l, o);
1075
+ const u = Tn(l, o);
1059
1076
  return n(l, u), u;
1060
1077
  };
1061
- return s = a, (...l) => s(Rn(...l));
1062
- }, Tn = [], F = (e) => {
1063
- const t = (o) => o[e] || Tn;
1078
+ return s = a, (...l) => s(zn(...l));
1079
+ }, Ln = [], D = (e) => {
1080
+ const t = (o) => o[e] || Ln;
1064
1081
  return t.isThemeGetter = !0, t;
1065
- }, Xt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Kt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, zn = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Mn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ln = /\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$/, On = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, $n = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Fn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ee = (e) => zn.test(e), R = (e) => !!e && !Number.isNaN(Number(e)), te = (e) => !!e && Number.isInteger(Number(e)), He = (e) => e.endsWith("%") && R(e.slice(0, -1)), Z = (e) => Mn.test(e), Zt = () => !0, Dn = (e) => (
1082
+ }, Zt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Jt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, On = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, $n = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Dn = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Fn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Un = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Wn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ee = (e) => On.test(e), I = (e) => !!e && !Number.isNaN(Number(e)), te = (e) => !!e && Number.isInteger(Number(e)), He = (e) => e.endsWith("%") && I(e.slice(0, -1)), Z = (e) => $n.test(e), Qt = () => !0, jn = (e) => (
1066
1083
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
1067
1084
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
1068
1085
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
1069
- Ln.test(e) && !On.test(e)
1070
- ), ot = () => !1, Un = (e) => $n.test(e), Wn = (e) => Fn.test(e), jn = (e) => !y(e) && !k(e), Hn = (e) => re(e, eo, ot), y = (e) => Xt.test(e), se = (e) => re(e, to, Dn), xt = (e) => re(e, Zn, R), Vn = (e) => re(e, ro, Zt), Bn = (e) => re(e, oo, ot), wt = (e) => re(e, Jt, ot), Gn = (e) => re(e, Qt, Wn), Ee = (e) => re(e, no, Un), k = (e) => Kt.test(e), fe = (e) => ie(e, to), qn = (e) => ie(e, oo), yt = (e) => ie(e, Jt), Yn = (e) => ie(e, eo), Xn = (e) => ie(e, Qt), Ne = (e) => ie(e, no, !0), Kn = (e) => ie(e, ro, !0), re = (e, t, o) => {
1071
- const r = Xt.exec(e);
1086
+ Dn.test(e) && !Fn.test(e)
1087
+ ), ot = () => !1, Hn = (e) => Un.test(e), Vn = (e) => Wn.test(e), Bn = (e) => !y(e) && !k(e), Gn = (e) => re(e, oo, ot), y = (e) => Zt.test(e), se = (e) => re(e, ro, jn), wt = (e) => re(e, es, I), qn = (e) => re(e, so, Qt), Yn = (e) => re(e, no, ot), yt = (e) => re(e, eo, ot), Xn = (e) => re(e, to, Vn), Ee = (e) => re(e, ao, Hn), k = (e) => Jt.test(e), fe = (e) => ie(e, ro), Kn = (e) => ie(e, no), kt = (e) => ie(e, eo), Zn = (e) => ie(e, oo), Jn = (e) => ie(e, to), Ne = (e) => ie(e, ao, !0), Qn = (e) => ie(e, so, !0), re = (e, t, o) => {
1088
+ const r = Zt.exec(e);
1072
1089
  return r ? r[1] ? t(r[1]) : o(r[2]) : !1;
1073
1090
  }, ie = (e, t, o = !1) => {
1074
- const r = Kt.exec(e);
1091
+ const r = Jt.exec(e);
1075
1092
  return r ? r[1] ? t(r[1]) : o : !1;
1076
- }, Jt = (e) => e === "position" || e === "percentage", Qt = (e) => e === "image" || e === "url", eo = (e) => e === "length" || e === "size" || e === "bg-size", to = (e) => e === "length", Zn = (e) => e === "number", oo = (e) => e === "family-name", ro = (e) => e === "number" || e === "weight", no = (e) => e === "shadow", Jn = () => {
1077
- const e = F("color"), t = F("font"), o = F("text"), r = F("font-weight"), n = F("tracking"), s = F("leading"), a = F("breakpoint"), i = F("container"), l = F("spacing"), d = F("radius"), u = F("shadow"), f = F("inset-shadow"), p = F("text-shadow"), b = F("drop-shadow"), S = F("blur"), v = F("perspective"), h = F("aspect"), x = F("ease"), C = F("animate"), w = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], A = () => [
1093
+ }, eo = (e) => e === "position" || e === "percentage", to = (e) => e === "image" || e === "url", oo = (e) => e === "length" || e === "size" || e === "bg-size", ro = (e) => e === "length", es = (e) => e === "number", no = (e) => e === "family-name", so = (e) => e === "number" || e === "weight", ao = (e) => e === "shadow", ts = () => {
1094
+ const e = D("color"), t = D("font"), o = D("text"), r = D("font-weight"), n = D("tracking"), s = D("leading"), a = D("breakpoint"), i = D("container"), l = D("spacing"), d = D("radius"), u = D("shadow"), f = D("inset-shadow"), p = D("text-shadow"), b = D("drop-shadow"), S = D("blur"), v = D("perspective"), h = D("aspect"), x = D("ease"), C = D("animate"), w = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], A = () => [
1078
1095
  "center",
1079
1096
  "top",
1080
1097
  "bottom",
@@ -1092,13 +1109,13 @@ const un = (e, t) => {
1092
1109
  "bottom-left",
1093
1110
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
1094
1111
  "left-bottom"
1095
- ], P = () => [...A(), k, y], N = () => ["auto", "hidden", "clip", "visible", "scroll"], I = () => ["auto", "contain", "none"], g = () => [k, y, l], E = () => [ee, "full", "auto", ...g()], M = () => [te, "none", "subgrid", k, y], O = () => ["auto", {
1112
+ ], P = () => [...A(), k, y], N = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", "contain", "none"], g = () => [k, y, l], E = () => [ee, "full", "auto", ...g()], M = () => [te, "none", "subgrid", k, y], O = () => ["auto", {
1096
1113
  span: ["full", te, k, y]
1097
- }, te, k, y], K = () => [te, "auto", k, y], ve = () => ["auto", "min", "max", "fr", k, y], xe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], $ = () => ["auto", ...g()], ne = () => [ee, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], Fe = () => [ee, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...g()], De = () => [ee, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...g()], _ = () => [e, k, y], dt = () => [...A(), yt, wt, {
1114
+ }, te, k, y], K = () => [te, "auto", k, y], ve = () => ["auto", "min", "max", "fr", k, y], xe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], $ = () => ["auto", ...g()], ne = () => [ee, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], De = () => [ee, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...g()], Fe = () => [ee, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...g()], _ = () => [e, k, y], dt = () => [...A(), kt, yt, {
1098
1115
  position: [k, y]
1099
1116
  }], ut = () => ["no-repeat", {
1100
1117
  repeat: ["", "x", "y", "space", "round"]
1101
- }], ft = () => ["auto", "cover", "contain", Yn, Hn, {
1118
+ }], ft = () => ["auto", "cover", "contain", Zn, Gn, {
1102
1119
  size: [k, y]
1103
1120
  }], Ue = () => [He, fe, se], j = () => [
1104
1121
  // Deprecated since Tailwind CSS v4.0.0
@@ -1108,14 +1125,14 @@ const un = (e, t) => {
1108
1125
  d,
1109
1126
  k,
1110
1127
  y
1111
- ], H = () => ["", R, fe, se], we = () => ["solid", "dashed", "dotted", "double"], mt = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], D = () => [R, He, yt, wt], pt = () => [
1128
+ ], H = () => ["", I, fe, se], we = () => ["solid", "dashed", "dotted", "double"], mt = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], F = () => [I, He, kt, yt], pt = () => [
1112
1129
  // Deprecated since Tailwind CSS v4.0.0
1113
1130
  "",
1114
1131
  "none",
1115
1132
  S,
1116
1133
  k,
1117
1134
  y
1118
- ], ye = () => ["none", R, k, y], ke = () => ["none", R, k, y], We = () => [R, k, y], Se = () => [ee, "full", ...g()];
1135
+ ], ye = () => ["none", I, k, y], ke = () => ["none", I, k, y], We = () => [I, k, y], Se = () => [ee, "full", ...g()];
1119
1136
  return {
1120
1137
  cacheSize: 500,
1121
1138
  theme: {
@@ -1123,18 +1140,18 @@ const un = (e, t) => {
1123
1140
  aspect: ["video"],
1124
1141
  blur: [Z],
1125
1142
  breakpoint: [Z],
1126
- color: [Zt],
1143
+ color: [Qt],
1127
1144
  container: [Z],
1128
1145
  "drop-shadow": [Z],
1129
1146
  ease: ["in", "out", "in-out"],
1130
- font: [jn],
1147
+ font: [Bn],
1131
1148
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
1132
1149
  "inset-shadow": [Z],
1133
1150
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
1134
1151
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
1135
1152
  radius: [Z],
1136
1153
  shadow: [Z],
1137
- spacing: ["px", R],
1154
+ spacing: ["px", I],
1138
1155
  text: [Z],
1139
1156
  "text-shadow": [Z],
1140
1157
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
@@ -1161,7 +1178,7 @@ const un = (e, t) => {
1161
1178
  * @see https://tailwindcss.com/docs/columns
1162
1179
  */
1163
1180
  columns: [{
1164
- columns: [R, y, k, i]
1181
+ columns: [I, y, k, i]
1165
1182
  }],
1166
1183
  /**
1167
1184
  * Break After
@@ -1267,21 +1284,21 @@ const un = (e, t) => {
1267
1284
  * @see https://tailwindcss.com/docs/overscroll-behavior
1268
1285
  */
1269
1286
  overscroll: [{
1270
- overscroll: I()
1287
+ overscroll: R()
1271
1288
  }],
1272
1289
  /**
1273
1290
  * Overscroll Behavior X
1274
1291
  * @see https://tailwindcss.com/docs/overscroll-behavior
1275
1292
  */
1276
1293
  "overscroll-x": [{
1277
- "overscroll-x": I()
1294
+ "overscroll-x": R()
1278
1295
  }],
1279
1296
  /**
1280
1297
  * Overscroll Behavior Y
1281
1298
  * @see https://tailwindcss.com/docs/overscroll-behavior
1282
1299
  */
1283
1300
  "overscroll-y": [{
1284
- "overscroll-y": I()
1301
+ "overscroll-y": R()
1285
1302
  }],
1286
1303
  /**
1287
1304
  * Position
@@ -1418,21 +1435,21 @@ const un = (e, t) => {
1418
1435
  * @see https://tailwindcss.com/docs/flex
1419
1436
  */
1420
1437
  flex: [{
1421
- flex: [R, ee, "auto", "initial", "none", y]
1438
+ flex: [I, ee, "auto", "initial", "none", y]
1422
1439
  }],
1423
1440
  /**
1424
1441
  * Flex Grow
1425
1442
  * @see https://tailwindcss.com/docs/flex-grow
1426
1443
  */
1427
1444
  grow: [{
1428
- grow: ["", R, k, y]
1445
+ grow: ["", I, k, y]
1429
1446
  }],
1430
1447
  /**
1431
1448
  * Flex Shrink
1432
1449
  * @see https://tailwindcss.com/docs/flex-shrink
1433
1450
  */
1434
1451
  shrink: [{
1435
- shrink: ["", R, k, y]
1452
+ shrink: ["", I, k, y]
1436
1453
  }],
1437
1454
  /**
1438
1455
  * Order
@@ -1800,42 +1817,42 @@ const un = (e, t) => {
1800
1817
  * @see https://tailwindcss.com/docs/width
1801
1818
  */
1802
1819
  "inline-size": [{
1803
- inline: ["auto", ...Fe()]
1820
+ inline: ["auto", ...De()]
1804
1821
  }],
1805
1822
  /**
1806
1823
  * Min-Inline Size
1807
1824
  * @see https://tailwindcss.com/docs/min-width
1808
1825
  */
1809
1826
  "min-inline-size": [{
1810
- "min-inline": ["auto", ...Fe()]
1827
+ "min-inline": ["auto", ...De()]
1811
1828
  }],
1812
1829
  /**
1813
1830
  * Max-Inline Size
1814
1831
  * @see https://tailwindcss.com/docs/max-width
1815
1832
  */
1816
1833
  "max-inline-size": [{
1817
- "max-inline": ["none", ...Fe()]
1834
+ "max-inline": ["none", ...De()]
1818
1835
  }],
1819
1836
  /**
1820
1837
  * Block Size
1821
1838
  * @see https://tailwindcss.com/docs/height
1822
1839
  */
1823
1840
  "block-size": [{
1824
- block: ["auto", ...De()]
1841
+ block: ["auto", ...Fe()]
1825
1842
  }],
1826
1843
  /**
1827
1844
  * Min-Block Size
1828
1845
  * @see https://tailwindcss.com/docs/min-height
1829
1846
  */
1830
1847
  "min-block-size": [{
1831
- "min-block": ["auto", ...De()]
1848
+ "min-block": ["auto", ...Fe()]
1832
1849
  }],
1833
1850
  /**
1834
1851
  * Max-Block Size
1835
1852
  * @see https://tailwindcss.com/docs/max-height
1836
1853
  */
1837
1854
  "max-block-size": [{
1838
- "max-block": ["none", ...De()]
1855
+ "max-block": ["none", ...Fe()]
1839
1856
  }],
1840
1857
  /**
1841
1858
  * Width
@@ -1921,7 +1938,7 @@ const un = (e, t) => {
1921
1938
  * @see https://tailwindcss.com/docs/font-weight
1922
1939
  */
1923
1940
  "font-weight": [{
1924
- font: [r, Kn, Vn]
1941
+ font: [r, Qn, qn]
1925
1942
  }],
1926
1943
  /**
1927
1944
  * Font Stretch
@@ -1935,7 +1952,7 @@ const un = (e, t) => {
1935
1952
  * @see https://tailwindcss.com/docs/font-family
1936
1953
  */
1937
1954
  "font-family": [{
1938
- font: [qn, Bn, t]
1955
+ font: [Kn, Yn, t]
1939
1956
  }],
1940
1957
  /**
1941
1958
  * Font Feature Settings
@@ -1986,7 +2003,7 @@ const un = (e, t) => {
1986
2003
  * @see https://tailwindcss.com/docs/line-clamp
1987
2004
  */
1988
2005
  "line-clamp": [{
1989
- "line-clamp": [R, "none", k, xt]
2006
+ "line-clamp": [I, "none", k, wt]
1990
2007
  }],
1991
2008
  /**
1992
2009
  * Line Height
@@ -2059,7 +2076,7 @@ const un = (e, t) => {
2059
2076
  * @see https://tailwindcss.com/docs/text-decoration-thickness
2060
2077
  */
2061
2078
  "text-decoration-thickness": [{
2062
- decoration: [R, "from-font", "auto", k, se]
2079
+ decoration: [I, "from-font", "auto", k, se]
2063
2080
  }],
2064
2081
  /**
2065
2082
  * Text Decoration Color
@@ -2073,7 +2090,7 @@ const un = (e, t) => {
2073
2090
  * @see https://tailwindcss.com/docs/text-underline-offset
2074
2091
  */
2075
2092
  "underline-offset": [{
2076
- "underline-offset": [R, "auto", k, y]
2093
+ "underline-offset": [I, "auto", k, y]
2077
2094
  }],
2078
2095
  /**
2079
2096
  * Text Transform
@@ -2197,7 +2214,7 @@ const un = (e, t) => {
2197
2214
  }, te, k, y],
2198
2215
  radial: ["", k, y],
2199
2216
  conic: [te, k, y]
2200
- }, Xn, Gn]
2217
+ }, Jn, Xn]
2201
2218
  }],
2202
2219
  /**
2203
2220
  * Background Color
@@ -2567,14 +2584,14 @@ const un = (e, t) => {
2567
2584
  * @see https://tailwindcss.com/docs/outline-offset
2568
2585
  */
2569
2586
  "outline-offset": [{
2570
- "outline-offset": [R, k, y]
2587
+ "outline-offset": [I, k, y]
2571
2588
  }],
2572
2589
  /**
2573
2590
  * Outline Width
2574
2591
  * @see https://tailwindcss.com/docs/outline-width
2575
2592
  */
2576
2593
  "outline-w": [{
2577
- outline: ["", R, fe, se]
2594
+ outline: ["", I, fe, se]
2578
2595
  }],
2579
2596
  /**
2580
2597
  * Outline Color
@@ -2649,7 +2666,7 @@ const un = (e, t) => {
2649
2666
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2650
2667
  */
2651
2668
  "ring-offset-w": [{
2652
- "ring-offset": [R, se]
2669
+ "ring-offset": [I, se]
2653
2670
  }],
2654
2671
  /**
2655
2672
  * Ring Offset Color
@@ -2693,7 +2710,7 @@ const un = (e, t) => {
2693
2710
  * @see https://tailwindcss.com/docs/opacity
2694
2711
  */
2695
2712
  opacity: [{
2696
- opacity: [R, k, y]
2713
+ opacity: [I, k, y]
2697
2714
  }],
2698
2715
  /**
2699
2716
  * Mix Blend Mode
@@ -2728,13 +2745,13 @@ const un = (e, t) => {
2728
2745
  * @see https://tailwindcss.com/docs/mask-image
2729
2746
  */
2730
2747
  "mask-image-linear-pos": [{
2731
- "mask-linear": [R]
2748
+ "mask-linear": [I]
2732
2749
  }],
2733
2750
  "mask-image-linear-from-pos": [{
2734
- "mask-linear-from": D()
2751
+ "mask-linear-from": F()
2735
2752
  }],
2736
2753
  "mask-image-linear-to-pos": [{
2737
- "mask-linear-to": D()
2754
+ "mask-linear-to": F()
2738
2755
  }],
2739
2756
  "mask-image-linear-from-color": [{
2740
2757
  "mask-linear-from": _()
@@ -2743,10 +2760,10 @@ const un = (e, t) => {
2743
2760
  "mask-linear-to": _()
2744
2761
  }],
2745
2762
  "mask-image-t-from-pos": [{
2746
- "mask-t-from": D()
2763
+ "mask-t-from": F()
2747
2764
  }],
2748
2765
  "mask-image-t-to-pos": [{
2749
- "mask-t-to": D()
2766
+ "mask-t-to": F()
2750
2767
  }],
2751
2768
  "mask-image-t-from-color": [{
2752
2769
  "mask-t-from": _()
@@ -2755,10 +2772,10 @@ const un = (e, t) => {
2755
2772
  "mask-t-to": _()
2756
2773
  }],
2757
2774
  "mask-image-r-from-pos": [{
2758
- "mask-r-from": D()
2775
+ "mask-r-from": F()
2759
2776
  }],
2760
2777
  "mask-image-r-to-pos": [{
2761
- "mask-r-to": D()
2778
+ "mask-r-to": F()
2762
2779
  }],
2763
2780
  "mask-image-r-from-color": [{
2764
2781
  "mask-r-from": _()
@@ -2767,10 +2784,10 @@ const un = (e, t) => {
2767
2784
  "mask-r-to": _()
2768
2785
  }],
2769
2786
  "mask-image-b-from-pos": [{
2770
- "mask-b-from": D()
2787
+ "mask-b-from": F()
2771
2788
  }],
2772
2789
  "mask-image-b-to-pos": [{
2773
- "mask-b-to": D()
2790
+ "mask-b-to": F()
2774
2791
  }],
2775
2792
  "mask-image-b-from-color": [{
2776
2793
  "mask-b-from": _()
@@ -2779,10 +2796,10 @@ const un = (e, t) => {
2779
2796
  "mask-b-to": _()
2780
2797
  }],
2781
2798
  "mask-image-l-from-pos": [{
2782
- "mask-l-from": D()
2799
+ "mask-l-from": F()
2783
2800
  }],
2784
2801
  "mask-image-l-to-pos": [{
2785
- "mask-l-to": D()
2802
+ "mask-l-to": F()
2786
2803
  }],
2787
2804
  "mask-image-l-from-color": [{
2788
2805
  "mask-l-from": _()
@@ -2791,10 +2808,10 @@ const un = (e, t) => {
2791
2808
  "mask-l-to": _()
2792
2809
  }],
2793
2810
  "mask-image-x-from-pos": [{
2794
- "mask-x-from": D()
2811
+ "mask-x-from": F()
2795
2812
  }],
2796
2813
  "mask-image-x-to-pos": [{
2797
- "mask-x-to": D()
2814
+ "mask-x-to": F()
2798
2815
  }],
2799
2816
  "mask-image-x-from-color": [{
2800
2817
  "mask-x-from": _()
@@ -2803,10 +2820,10 @@ const un = (e, t) => {
2803
2820
  "mask-x-to": _()
2804
2821
  }],
2805
2822
  "mask-image-y-from-pos": [{
2806
- "mask-y-from": D()
2823
+ "mask-y-from": F()
2807
2824
  }],
2808
2825
  "mask-image-y-to-pos": [{
2809
- "mask-y-to": D()
2826
+ "mask-y-to": F()
2810
2827
  }],
2811
2828
  "mask-image-y-from-color": [{
2812
2829
  "mask-y-from": _()
@@ -2818,10 +2835,10 @@ const un = (e, t) => {
2818
2835
  "mask-radial": [k, y]
2819
2836
  }],
2820
2837
  "mask-image-radial-from-pos": [{
2821
- "mask-radial-from": D()
2838
+ "mask-radial-from": F()
2822
2839
  }],
2823
2840
  "mask-image-radial-to-pos": [{
2824
- "mask-radial-to": D()
2841
+ "mask-radial-to": F()
2825
2842
  }],
2826
2843
  "mask-image-radial-from-color": [{
2827
2844
  "mask-radial-from": _()
@@ -2842,13 +2859,13 @@ const un = (e, t) => {
2842
2859
  "mask-radial-at": A()
2843
2860
  }],
2844
2861
  "mask-image-conic-pos": [{
2845
- "mask-conic": [R]
2862
+ "mask-conic": [I]
2846
2863
  }],
2847
2864
  "mask-image-conic-from-pos": [{
2848
- "mask-conic-from": D()
2865
+ "mask-conic-from": F()
2849
2866
  }],
2850
2867
  "mask-image-conic-to-pos": [{
2851
- "mask-conic-to": D()
2868
+ "mask-conic-to": F()
2852
2869
  }],
2853
2870
  "mask-image-conic-from-color": [{
2854
2871
  "mask-conic-from": _()
@@ -2933,14 +2950,14 @@ const un = (e, t) => {
2933
2950
  * @see https://tailwindcss.com/docs/brightness
2934
2951
  */
2935
2952
  brightness: [{
2936
- brightness: [R, k, y]
2953
+ brightness: [I, k, y]
2937
2954
  }],
2938
2955
  /**
2939
2956
  * Contrast
2940
2957
  * @see https://tailwindcss.com/docs/contrast
2941
2958
  */
2942
2959
  contrast: [{
2943
- contrast: [R, k, y]
2960
+ contrast: [I, k, y]
2944
2961
  }],
2945
2962
  /**
2946
2963
  * Drop Shadow
@@ -2968,35 +2985,35 @@ const un = (e, t) => {
2968
2985
  * @see https://tailwindcss.com/docs/grayscale
2969
2986
  */
2970
2987
  grayscale: [{
2971
- grayscale: ["", R, k, y]
2988
+ grayscale: ["", I, k, y]
2972
2989
  }],
2973
2990
  /**
2974
2991
  * Hue Rotate
2975
2992
  * @see https://tailwindcss.com/docs/hue-rotate
2976
2993
  */
2977
2994
  "hue-rotate": [{
2978
- "hue-rotate": [R, k, y]
2995
+ "hue-rotate": [I, k, y]
2979
2996
  }],
2980
2997
  /**
2981
2998
  * Invert
2982
2999
  * @see https://tailwindcss.com/docs/invert
2983
3000
  */
2984
3001
  invert: [{
2985
- invert: ["", R, k, y]
3002
+ invert: ["", I, k, y]
2986
3003
  }],
2987
3004
  /**
2988
3005
  * Saturate
2989
3006
  * @see https://tailwindcss.com/docs/saturate
2990
3007
  */
2991
3008
  saturate: [{
2992
- saturate: [R, k, y]
3009
+ saturate: [I, k, y]
2993
3010
  }],
2994
3011
  /**
2995
3012
  * Sepia
2996
3013
  * @see https://tailwindcss.com/docs/sepia
2997
3014
  */
2998
3015
  sepia: [{
2999
- sepia: ["", R, k, y]
3016
+ sepia: ["", I, k, y]
3000
3017
  }],
3001
3018
  /**
3002
3019
  * Backdrop Filter
@@ -3023,56 +3040,56 @@ const un = (e, t) => {
3023
3040
  * @see https://tailwindcss.com/docs/backdrop-brightness
3024
3041
  */
3025
3042
  "backdrop-brightness": [{
3026
- "backdrop-brightness": [R, k, y]
3043
+ "backdrop-brightness": [I, k, y]
3027
3044
  }],
3028
3045
  /**
3029
3046
  * Backdrop Contrast
3030
3047
  * @see https://tailwindcss.com/docs/backdrop-contrast
3031
3048
  */
3032
3049
  "backdrop-contrast": [{
3033
- "backdrop-contrast": [R, k, y]
3050
+ "backdrop-contrast": [I, k, y]
3034
3051
  }],
3035
3052
  /**
3036
3053
  * Backdrop Grayscale
3037
3054
  * @see https://tailwindcss.com/docs/backdrop-grayscale
3038
3055
  */
3039
3056
  "backdrop-grayscale": [{
3040
- "backdrop-grayscale": ["", R, k, y]
3057
+ "backdrop-grayscale": ["", I, k, y]
3041
3058
  }],
3042
3059
  /**
3043
3060
  * Backdrop Hue Rotate
3044
3061
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
3045
3062
  */
3046
3063
  "backdrop-hue-rotate": [{
3047
- "backdrop-hue-rotate": [R, k, y]
3064
+ "backdrop-hue-rotate": [I, k, y]
3048
3065
  }],
3049
3066
  /**
3050
3067
  * Backdrop Invert
3051
3068
  * @see https://tailwindcss.com/docs/backdrop-invert
3052
3069
  */
3053
3070
  "backdrop-invert": [{
3054
- "backdrop-invert": ["", R, k, y]
3071
+ "backdrop-invert": ["", I, k, y]
3055
3072
  }],
3056
3073
  /**
3057
3074
  * Backdrop Opacity
3058
3075
  * @see https://tailwindcss.com/docs/backdrop-opacity
3059
3076
  */
3060
3077
  "backdrop-opacity": [{
3061
- "backdrop-opacity": [R, k, y]
3078
+ "backdrop-opacity": [I, k, y]
3062
3079
  }],
3063
3080
  /**
3064
3081
  * Backdrop Saturate
3065
3082
  * @see https://tailwindcss.com/docs/backdrop-saturate
3066
3083
  */
3067
3084
  "backdrop-saturate": [{
3068
- "backdrop-saturate": [R, k, y]
3085
+ "backdrop-saturate": [I, k, y]
3069
3086
  }],
3070
3087
  /**
3071
3088
  * Backdrop Sepia
3072
3089
  * @see https://tailwindcss.com/docs/backdrop-sepia
3073
3090
  */
3074
3091
  "backdrop-sepia": [{
3075
- "backdrop-sepia": ["", R, k, y]
3092
+ "backdrop-sepia": ["", I, k, y]
3076
3093
  }],
3077
3094
  // --------------
3078
3095
  // --- Tables ---
@@ -3141,7 +3158,7 @@ const un = (e, t) => {
3141
3158
  * @see https://tailwindcss.com/docs/transition-duration
3142
3159
  */
3143
3160
  duration: [{
3144
- duration: [R, "initial", k, y]
3161
+ duration: [I, "initial", k, y]
3145
3162
  }],
3146
3163
  /**
3147
3164
  * Transition Timing Function
@@ -3155,7 +3172,7 @@ const un = (e, t) => {
3155
3172
  * @see https://tailwindcss.com/docs/transition-delay
3156
3173
  */
3157
3174
  delay: [{
3158
- delay: [R, k, y]
3175
+ delay: [I, k, y]
3159
3176
  }],
3160
3177
  /**
3161
3178
  * Animation
@@ -3627,7 +3644,7 @@ const un = (e, t) => {
3627
3644
  * @see https://tailwindcss.com/docs/stroke-width
3628
3645
  */
3629
3646
  "stroke-w": [{
3630
- stroke: [R, fe, se, xt]
3647
+ stroke: [I, fe, se, wt]
3631
3648
  }],
3632
3649
  /**
3633
3650
  * Stroke
@@ -3702,21 +3719,21 @@ const un = (e, t) => {
3702
3719
  },
3703
3720
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3704
3721
  };
3705
- }, Qn = /* @__PURE__ */ Pn(Jn), z = (...e) => Qn(Vt(e));
3722
+ }, os = /* @__PURE__ */ Mn(ts), z = (...e) => os(Gt(e));
3706
3723
  function me({ className: e, ...t }) {
3707
3724
  return /* @__PURE__ */ c(
3708
3725
  "div",
3709
3726
  {
3710
3727
  "data-slot": "card",
3711
3728
  className: z(
3712
- "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
3729
+ "flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm",
3713
3730
  e
3714
3731
  ),
3715
3732
  ...t
3716
3733
  }
3717
3734
  );
3718
3735
  }
3719
- function es({ className: e, ...t }) {
3736
+ function rs({ className: e, ...t }) {
3720
3737
  return /* @__PURE__ */ c(
3721
3738
  "div",
3722
3739
  {
@@ -3739,13 +3756,13 @@ function pe({ className: e, ...t }) {
3739
3756
  }
3740
3757
  );
3741
3758
  }
3742
- const kt = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, St = Vt, rt = (e, t) => (o) => {
3759
+ const St = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ct = Gt, rt = (e, t) => (o) => {
3743
3760
  var r;
3744
- if ((t == null ? void 0 : t.variants) == null) return St(e, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
3761
+ if ((t == null ? void 0 : t.variants) == null) return Ct(e, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
3745
3762
  const { variants: n, defaultVariants: s } = t, a = Object.keys(n).map((d) => {
3746
3763
  const u = o == null ? void 0 : o[d], f = s == null ? void 0 : s[d];
3747
3764
  if (u === null) return null;
3748
- const p = kt(u) || kt(f);
3765
+ const p = St(u) || St(f);
3749
3766
  return n[d][p];
3750
3767
  }), i = o && Object.entries(o).reduce((d, u) => {
3751
3768
  let [f, p] = u;
@@ -3767,36 +3784,36 @@ const kt = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, St = Vt, r
3767
3784
  p
3768
3785
  ] : d;
3769
3786
  }, []);
3770
- return St(e, a, l, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
3787
+ return Ct(e, a, l, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
3771
3788
  };
3772
- function Ct(e, t) {
3789
+ function Et(e, t) {
3773
3790
  if (typeof e == "function")
3774
3791
  return e(t);
3775
3792
  e != null && (e.current = t);
3776
3793
  }
3777
- function so(...e) {
3794
+ function io(...e) {
3778
3795
  return (t) => {
3779
3796
  let o = !1;
3780
3797
  const r = e.map((n) => {
3781
- const s = Ct(n, t);
3798
+ const s = Et(n, t);
3782
3799
  return !o && typeof s == "function" && (o = !0), s;
3783
3800
  });
3784
3801
  if (o)
3785
3802
  return () => {
3786
3803
  for (let n = 0; n < r.length; n++) {
3787
3804
  const s = r[n];
3788
- typeof s == "function" ? s() : Ct(e[n], null);
3805
+ typeof s == "function" ? s() : Et(e[n], null);
3789
3806
  }
3790
3807
  };
3791
3808
  };
3792
3809
  }
3793
3810
  function Y(...e) {
3794
- return m.useCallback(so(...e), e);
3811
+ return m.useCallback(io(...e), e);
3795
3812
  }
3796
3813
  // @__NO_SIDE_EFFECTS__
3797
3814
  function Te(e) {
3798
- const t = /* @__PURE__ */ ts(e), o = m.forwardRef((r, n) => {
3799
- const { children: s, ...a } = r, i = m.Children.toArray(s), l = i.find(rs);
3815
+ const t = /* @__PURE__ */ ns(e), o = m.forwardRef((r, n) => {
3816
+ const { children: s, ...a } = r, i = m.Children.toArray(s), l = i.find(as);
3800
3817
  if (l) {
3801
3818
  const d = l.props.children, u = i.map((f) => f === l ? m.Children.count(d) > 1 ? m.Children.only(null) : m.isValidElement(d) ? d.props.children : null : f);
3802
3819
  return /* @__PURE__ */ c(t, { ...a, ref: n, children: m.isValidElement(d) ? m.cloneElement(d, void 0, u) : null });
@@ -3805,24 +3822,24 @@ function Te(e) {
3805
3822
  });
3806
3823
  return o.displayName = `${e}.Slot`, o;
3807
3824
  }
3808
- var ao = /* @__PURE__ */ Te("Slot");
3825
+ var lo = /* @__PURE__ */ Te("Slot");
3809
3826
  // @__NO_SIDE_EFFECTS__
3810
- function ts(e) {
3827
+ function ns(e) {
3811
3828
  const t = m.forwardRef((o, r) => {
3812
3829
  const { children: n, ...s } = o;
3813
3830
  if (m.isValidElement(n)) {
3814
- const a = ss(n), i = ns(s, n.props);
3815
- return n.type !== m.Fragment && (i.ref = r ? so(r, a) : a), m.cloneElement(n, i);
3831
+ const a = ls(n), i = is(s, n.props);
3832
+ return n.type !== m.Fragment && (i.ref = r ? io(r, a) : a), m.cloneElement(n, i);
3816
3833
  }
3817
3834
  return m.Children.count(n) > 1 ? m.Children.only(null) : null;
3818
3835
  });
3819
3836
  return t.displayName = `${e}.SlotClone`, t;
3820
3837
  }
3821
- var os = Symbol("radix.slottable");
3822
- function rs(e) {
3823
- return m.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === os;
3838
+ var ss = Symbol("radix.slottable");
3839
+ function as(e) {
3840
+ return m.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ss;
3824
3841
  }
3825
- function ns(e, t) {
3842
+ function is(e, t) {
3826
3843
  const o = { ...t };
3827
3844
  for (const r in t) {
3828
3845
  const n = e[r], s = t[r];
@@ -3833,12 +3850,12 @@ function ns(e, t) {
3833
3850
  }
3834
3851
  return { ...e, ...o };
3835
3852
  }
3836
- function ss(e) {
3853
+ function ls(e) {
3837
3854
  var r, n;
3838
3855
  let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, o = t && "isReactWarning" in t && t.isReactWarning;
3839
3856
  return o ? e.ref : (t = (n = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : n.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
3840
3857
  }
3841
- var as = [
3858
+ var cs = [
3842
3859
  "a",
3843
3860
  "button",
3844
3861
  "div",
@@ -3856,7 +3873,7 @@ var as = [
3856
3873
  "span",
3857
3874
  "svg",
3858
3875
  "ul"
3859
- ], B = as.reduce((e, t) => {
3876
+ ], B = cs.reduce((e, t) => {
3860
3877
  const o = /* @__PURE__ */ Te(`Primitive.${t}`), r = m.forwardRef((n, s) => {
3861
3878
  const { asChild: a, ...i } = n, l = a ? o : t;
3862
3879
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ c(l, { ...i, ref: s });
@@ -3893,9 +3910,9 @@ function ge(e, t = []) {
3893
3910
  );
3894
3911
  };
3895
3912
  };
3896
- return n.scopeName = e, [r, is(n, ...t)];
3913
+ return n.scopeName = e, [r, ds(n, ...t)];
3897
3914
  }
3898
- function is(...e) {
3915
+ function ds(...e) {
3899
3916
  const t = e[0];
3900
3917
  if (e.length === 1) return t;
3901
3918
  const o = () => {
@@ -3913,7 +3930,7 @@ function is(...e) {
3913
3930
  };
3914
3931
  return o.scopeName = t.scopeName, o;
3915
3932
  }
3916
- function ls(e) {
3933
+ function us(e) {
3917
3934
  const t = e + "CollectionProvider", [o, r] = ge(t), [n, s] = o(
3918
3935
  t,
3919
3936
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
@@ -3943,7 +3960,7 @@ function ls(e) {
3943
3960
  if (!C) return [];
3944
3961
  const w = Array.from(C.querySelectorAll(`[${f}]`));
3945
3962
  return Array.from(h.itemMap.values()).sort(
3946
- (N, I) => w.indexOf(N.ref.current) - w.indexOf(I.ref.current)
3963
+ (N, R) => w.indexOf(N.ref.current) - w.indexOf(R.ref.current)
3947
3964
  );
3948
3965
  }, [h.collectionRef, h.itemMap]);
3949
3966
  }
@@ -3960,15 +3977,15 @@ function W(e, t, { checkForDefaultPrevented: o = !0 } = {}) {
3960
3977
  };
3961
3978
  }
3962
3979
  var oe = globalThis != null && globalThis.document ? m.useLayoutEffect : () => {
3963
- }, cs = m[" useInsertionEffect ".trim().toString()] || oe;
3964
- function io({
3980
+ }, fs = m[" useInsertionEffect ".trim().toString()] || oe;
3981
+ function co({
3965
3982
  prop: e,
3966
3983
  defaultProp: t,
3967
3984
  onChange: o = () => {
3968
3985
  },
3969
3986
  caller: r
3970
3987
  }) {
3971
- const [n, s, a] = ds({
3988
+ const [n, s, a] = ms({
3972
3989
  defaultProp: t,
3973
3990
  onChange: o
3974
3991
  }), i = e !== void 0, l = i ? e : n;
@@ -3985,7 +4002,7 @@ function io({
3985
4002
  (u) => {
3986
4003
  var f;
3987
4004
  if (i) {
3988
- const p = us(u) ? u(e) : u;
4005
+ const p = ps(u) ? u(e) : u;
3989
4006
  p !== e && ((f = a.current) == null || f.call(a, p));
3990
4007
  } else
3991
4008
  s(u);
@@ -3994,31 +4011,31 @@ function io({
3994
4011
  );
3995
4012
  return [l, d];
3996
4013
  }
3997
- function ds({
4014
+ function ms({
3998
4015
  defaultProp: e,
3999
4016
  onChange: t
4000
4017
  }) {
4001
4018
  const [o, r] = m.useState(e), n = m.useRef(o), s = m.useRef(t);
4002
- return cs(() => {
4019
+ return fs(() => {
4003
4020
  s.current = t;
4004
4021
  }, [t]), m.useEffect(() => {
4005
4022
  var a;
4006
4023
  n.current !== o && ((a = s.current) == null || a.call(s, o), n.current = o);
4007
4024
  }, [o, n]), [o, r, s];
4008
4025
  }
4009
- function us(e) {
4026
+ function ps(e) {
4010
4027
  return typeof e == "function";
4011
4028
  }
4012
- function fs(e, t) {
4029
+ function hs(e, t) {
4013
4030
  return m.useReducer((o, r) => t[o][r] ?? o, e);
4014
4031
  }
4015
4032
  var ue = (e) => {
4016
- const { present: t, children: o } = e, r = ms(t), n = typeof o == "function" ? o({ present: r.isPresent }) : m.Children.only(o), s = Y(r.ref, ps(n));
4033
+ const { present: t, children: o } = e, r = gs(t), n = typeof o == "function" ? o({ present: r.isPresent }) : m.Children.only(o), s = Y(r.ref, bs(n));
4017
4034
  return typeof o == "function" || r.isPresent ? m.cloneElement(n, { ref: s }) : null;
4018
4035
  };
4019
4036
  ue.displayName = "Presence";
4020
- function ms(e) {
4021
- const [t, o] = m.useState(), r = m.useRef(null), n = m.useRef(e), s = m.useRef("none"), a = e ? "mounted" : "unmounted", [i, l] = fs(a, {
4037
+ function gs(e) {
4038
+ const [t, o] = m.useState(), r = m.useRef(null), n = m.useRef(e), s = m.useRef("none"), a = e ? "mounted" : "unmounted", [i, l] = hs(a, {
4022
4039
  mounted: {
4023
4040
  UNMOUNT: "unmounted",
4024
4041
  ANIMATION_OUT: "unmountSuspended"
@@ -4069,22 +4086,22 @@ function ms(e) {
4069
4086
  function Ae(e) {
4070
4087
  return (e == null ? void 0 : e.animationName) || "none";
4071
4088
  }
4072
- function ps(e) {
4089
+ function bs(e) {
4073
4090
  var r, n;
4074
4091
  let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, o = t && "isReactWarning" in t && t.isReactWarning;
4075
4092
  return o ? e.ref : (t = (n = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : n.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
4076
4093
  }
4077
- var hs = m[" useId ".trim().toString()] || (() => {
4078
- }), gs = 0;
4079
- function lo(e) {
4080
- const [t, o] = m.useState(hs());
4094
+ var vs = m[" useId ".trim().toString()] || (() => {
4095
+ }), xs = 0;
4096
+ function uo(e) {
4097
+ const [t, o] = m.useState(vs());
4081
4098
  return oe(() => {
4082
- o((r) => r ?? String(gs++));
4099
+ o((r) => r ?? String(xs++));
4083
4100
  }, [e]), e || (t ? `radix-${t}` : "");
4084
4101
  }
4085
- var bs = m.createContext(void 0);
4102
+ var ws = m.createContext(void 0);
4086
4103
  function nt(e) {
4087
- const t = m.useContext(bs);
4104
+ const t = m.useContext(ws);
4088
4105
  return e || t || "ltr";
4089
4106
  }
4090
4107
  function J(e) {
@@ -4106,10 +4123,10 @@ var Ve = { exports: {} }, Be = {};
4106
4123
  * This source code is licensed under the MIT license found in the
4107
4124
  * LICENSE file in the root directory of this source tree.
4108
4125
  */
4109
- var Et;
4110
- function vs() {
4111
- if (Et) return Be;
4112
- Et = 1;
4126
+ var Nt;
4127
+ function ys() {
4128
+ if (Nt) return Be;
4129
+ Nt = 1;
4113
4130
  var e = G;
4114
4131
  function t(f, p) {
4115
4132
  return f === p && (f !== 0 || 1 / f === 1 / p) || f !== f && p !== p;
@@ -4147,27 +4164,27 @@ function vs() {
4147
4164
  var u = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? d : i;
4148
4165
  return Be.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : u, Be;
4149
4166
  }
4150
- var Nt;
4151
- function xs() {
4152
- return Nt || (Nt = 1, Ve.exports = vs()), Ve.exports;
4167
+ var At;
4168
+ function ks() {
4169
+ return At || (At = 1, Ve.exports = ys()), Ve.exports;
4153
4170
  }
4154
- var ws = xs();
4155
- function ys() {
4156
- return ws.useSyncExternalStore(
4157
- ks,
4171
+ var Ss = ks();
4172
+ function Cs() {
4173
+ return Ss.useSyncExternalStore(
4174
+ Es,
4158
4175
  () => !0,
4159
4176
  () => !1
4160
4177
  );
4161
4178
  }
4162
- function ks() {
4179
+ function Es() {
4163
4180
  return () => {
4164
4181
  };
4165
4182
  }
4166
- var st = "Avatar", [Ss] = ge(st), [Cs, co] = Ss(st), uo = m.forwardRef(
4183
+ var st = "Avatar", [Ns] = ge(st), [As, fo] = Ns(st), mo = m.forwardRef(
4167
4184
  (e, t) => {
4168
4185
  const { __scopeAvatar: o, ...r } = e, [n, s] = m.useState("idle");
4169
4186
  return /* @__PURE__ */ c(
4170
- Cs,
4187
+ As,
4171
4188
  {
4172
4189
  scope: o,
4173
4190
  imageLoadingStatus: n,
@@ -4177,11 +4194,11 @@ var st = "Avatar", [Ss] = ge(st), [Cs, co] = Ss(st), uo = m.forwardRef(
4177
4194
  );
4178
4195
  }
4179
4196
  );
4180
- uo.displayName = st;
4181
- var fo = "AvatarImage", mo = m.forwardRef(
4197
+ mo.displayName = st;
4198
+ var po = "AvatarImage", ho = m.forwardRef(
4182
4199
  (e, t) => {
4183
4200
  const { __scopeAvatar: o, src: r, onLoadingStatusChange: n = () => {
4184
- }, ...s } = e, a = co(fo, o), i = Es(r, s), l = J((d) => {
4201
+ }, ...s } = e, a = fo(po, o), i = _s(r, s), l = J((d) => {
4185
4202
  n(d), a.onImageLoadingStatusChange(d);
4186
4203
  });
4187
4204
  return oe(() => {
@@ -4189,10 +4206,10 @@ var fo = "AvatarImage", mo = m.forwardRef(
4189
4206
  }, [i, l]), i === "loaded" ? /* @__PURE__ */ c(B.img, { ...s, ref: t, src: r }) : null;
4190
4207
  }
4191
4208
  );
4192
- mo.displayName = fo;
4193
- var po = "AvatarFallback", ho = m.forwardRef(
4209
+ ho.displayName = po;
4210
+ var go = "AvatarFallback", bo = m.forwardRef(
4194
4211
  (e, t) => {
4195
- const { __scopeAvatar: o, delayMs: r, ...n } = e, s = co(po, o), [a, i] = m.useState(r === void 0);
4212
+ const { __scopeAvatar: o, delayMs: r, ...n } = e, s = fo(go, o), [a, i] = m.useState(r === void 0);
4196
4213
  return m.useEffect(() => {
4197
4214
  if (r !== void 0) {
4198
4215
  const l = window.setTimeout(() => i(!0), r);
@@ -4201,16 +4218,16 @@ var po = "AvatarFallback", ho = m.forwardRef(
4201
4218
  }, [r]), a && s.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ c(B.span, { ...n, ref: t }) : null;
4202
4219
  }
4203
4220
  );
4204
- ho.displayName = po;
4205
- function At(e, t) {
4221
+ bo.displayName = go;
4222
+ function _t(e, t) {
4206
4223
  return e ? t ? (e.src !== t && (e.src = t), e.complete && e.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
4207
4224
  }
4208
- function Es(e, { referrerPolicy: t, crossOrigin: o }) {
4209
- const r = ys(), n = m.useRef(null), s = r ? (n.current || (n.current = new window.Image()), n.current) : null, [a, i] = m.useState(
4210
- () => At(s, e)
4225
+ function _s(e, { referrerPolicy: t, crossOrigin: o }) {
4226
+ const r = Cs(), n = m.useRef(null), s = r ? (n.current || (n.current = new window.Image()), n.current) : null, [a, i] = m.useState(
4227
+ () => _t(s, e)
4211
4228
  );
4212
4229
  return oe(() => {
4213
- i(At(s, e));
4230
+ i(_t(s, e));
4214
4231
  }, [s, e]), oe(() => {
4215
4232
  const l = (f) => () => {
4216
4233
  i(f);
@@ -4222,14 +4239,14 @@ function Es(e, { referrerPolicy: t, crossOrigin: o }) {
4222
4239
  };
4223
4240
  }, [s, o, t]), a;
4224
4241
  }
4225
- var Ns = uo, As = mo, _s = ho, Ge = "rovingFocusGroup.onEntryFocus", Is = { bubbles: !1, cancelable: !0 }, be = "RovingFocusGroup", [Ze, go, Rs] = ls(be), [Ps, bo] = ge(
4242
+ var Rs = mo, Is = ho, Ps = bo, Ge = "rovingFocusGroup.onEntryFocus", Ts = { bubbles: !1, cancelable: !0 }, be = "RovingFocusGroup", [Ze, vo, zs] = us(be), [Ms, xo] = ge(
4226
4243
  be,
4227
- [Rs]
4228
- ), [Ts, zs] = Ps(be), vo = m.forwardRef(
4229
- (e, t) => /* @__PURE__ */ c(Ze.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ c(Ze.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ c(Ms, { ...e, ref: t }) }) })
4244
+ [zs]
4245
+ ), [Ls, Os] = Ms(be), wo = m.forwardRef(
4246
+ (e, t) => /* @__PURE__ */ c(Ze.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ c(Ze.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ c($s, { ...e, ref: t }) }) })
4230
4247
  );
4231
- vo.displayName = be;
4232
- var Ms = m.forwardRef((e, t) => {
4248
+ wo.displayName = be;
4249
+ var $s = m.forwardRef((e, t) => {
4233
4250
  const {
4234
4251
  __scopeRovingFocusGroup: o,
4235
4252
  orientation: r,
@@ -4241,18 +4258,18 @@ var Ms = m.forwardRef((e, t) => {
4241
4258
  onEntryFocus: d,
4242
4259
  preventScrollOnEntryFocus: u = !1,
4243
4260
  ...f
4244
- } = e, p = m.useRef(null), b = Y(t, p), S = nt(s), [v, h] = io({
4261
+ } = e, p = m.useRef(null), b = Y(t, p), S = nt(s), [v, h] = co({
4245
4262
  prop: a,
4246
4263
  defaultProp: i ?? null,
4247
4264
  onChange: l,
4248
4265
  caller: be
4249
- }), [x, C] = m.useState(!1), w = J(d), A = go(o), P = m.useRef(!1), [N, I] = m.useState(0);
4266
+ }), [x, C] = m.useState(!1), w = J(d), A = vo(o), P = m.useRef(!1), [N, R] = m.useState(0);
4250
4267
  return m.useEffect(() => {
4251
4268
  const g = p.current;
4252
4269
  if (g)
4253
4270
  return g.addEventListener(Ge, w), () => g.removeEventListener(Ge, w);
4254
4271
  }, [w]), /* @__PURE__ */ c(
4255
- Ts,
4272
+ Ls,
4256
4273
  {
4257
4274
  scope: o,
4258
4275
  orientation: r,
@@ -4265,11 +4282,11 @@ var Ms = m.forwardRef((e, t) => {
4265
4282
  ),
4266
4283
  onItemShiftTab: m.useCallback(() => C(!0), []),
4267
4284
  onFocusableItemAdd: m.useCallback(
4268
- () => I((g) => g + 1),
4285
+ () => R((g) => g + 1),
4269
4286
  []
4270
4287
  ),
4271
4288
  onFocusableItemRemove: m.useCallback(
4272
- () => I((g) => g - 1),
4289
+ () => R((g) => g - 1),
4273
4290
  []
4274
4291
  ),
4275
4292
  children: /* @__PURE__ */ c(
@@ -4286,12 +4303,12 @@ var Ms = m.forwardRef((e, t) => {
4286
4303
  onFocus: W(e.onFocus, (g) => {
4287
4304
  const E = !P.current;
4288
4305
  if (g.target === g.currentTarget && E && !x) {
4289
- const M = new CustomEvent(Ge, Is);
4306
+ const M = new CustomEvent(Ge, Ts);
4290
4307
  if (g.currentTarget.dispatchEvent(M), !M.defaultPrevented) {
4291
4308
  const O = A().filter(($) => $.focusable), K = O.find(($) => $.active), ve = O.find(($) => $.id === v), Q = [K, ve, ...O].filter(
4292
4309
  Boolean
4293
4310
  ).map(($) => $.ref.current);
4294
- yo(Q, u);
4311
+ So(Q, u);
4295
4312
  }
4296
4313
  }
4297
4314
  P.current = !1;
@@ -4301,7 +4318,7 @@ var Ms = m.forwardRef((e, t) => {
4301
4318
  )
4302
4319
  }
4303
4320
  );
4304
- }), xo = "RovingFocusGroupItem", wo = m.forwardRef(
4321
+ }), yo = "RovingFocusGroupItem", ko = m.forwardRef(
4305
4322
  (e, t) => {
4306
4323
  const {
4307
4324
  __scopeRovingFocusGroup: o,
@@ -4310,7 +4327,7 @@ var Ms = m.forwardRef((e, t) => {
4310
4327
  tabStopId: s,
4311
4328
  children: a,
4312
4329
  ...i
4313
- } = e, l = lo(), d = s || l, u = zs(xo, o), f = u.currentTabStopId === d, p = go(o), { onFocusableItemAdd: b, onFocusableItemRemove: S, currentTabStopId: v } = u;
4330
+ } = e, l = uo(), d = s || l, u = Os(yo, o), f = u.currentTabStopId === d, p = vo(o), { onFocusableItemAdd: b, onFocusableItemRemove: S, currentTabStopId: v } = u;
4314
4331
  return m.useEffect(() => {
4315
4332
  if (r)
4316
4333
  return b(), () => S();
@@ -4338,7 +4355,7 @@ var Ms = m.forwardRef((e, t) => {
4338
4355
  return;
4339
4356
  }
4340
4357
  if (h.target !== h.currentTarget) return;
4341
- const x = $s(h, u.orientation, u.dir);
4358
+ const x = Us(h, u.orientation, u.dir);
4342
4359
  if (x !== void 0) {
4343
4360
  if (h.metaKey || h.ctrlKey || h.altKey || h.shiftKey) return;
4344
4361
  h.preventDefault();
@@ -4347,9 +4364,9 @@ var Ms = m.forwardRef((e, t) => {
4347
4364
  else if (x === "prev" || x === "next") {
4348
4365
  x === "prev" && w.reverse();
4349
4366
  const A = w.indexOf(h.currentTarget);
4350
- w = u.loop ? Fs(w, A + 1) : w.slice(A + 1);
4367
+ w = u.loop ? Ws(w, A + 1) : w.slice(A + 1);
4351
4368
  }
4352
- setTimeout(() => yo(w));
4369
+ setTimeout(() => So(w));
4353
4370
  }
4354
4371
  }),
4355
4372
  children: typeof a == "function" ? a({ isCurrentTabStop: f, hasTabStop: v != null }) : a
@@ -4359,8 +4376,8 @@ var Ms = m.forwardRef((e, t) => {
4359
4376
  );
4360
4377
  }
4361
4378
  );
4362
- wo.displayName = xo;
4363
- var Ls = {
4379
+ ko.displayName = yo;
4380
+ var Ds = {
4364
4381
  ArrowLeft: "prev",
4365
4382
  ArrowUp: "prev",
4366
4383
  ArrowRight: "next",
@@ -4370,30 +4387,30 @@ var Ls = {
4370
4387
  PageDown: "last",
4371
4388
  End: "last"
4372
4389
  };
4373
- function Os(e, t) {
4390
+ function Fs(e, t) {
4374
4391
  return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
4375
4392
  }
4376
- function $s(e, t, o) {
4377
- const r = Os(e.key, o);
4393
+ function Us(e, t, o) {
4394
+ const r = Fs(e.key, o);
4378
4395
  if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r)))
4379
- return Ls[r];
4396
+ return Ds[r];
4380
4397
  }
4381
- function yo(e, t = !1) {
4398
+ function So(e, t = !1) {
4382
4399
  const o = document.activeElement;
4383
4400
  for (const r of e)
4384
4401
  if (r === o || (r.focus({ preventScroll: t }), document.activeElement !== o)) return;
4385
4402
  }
4386
- function Fs(e, t) {
4403
+ function Ws(e, t) {
4387
4404
  return e.map((o, r) => e[(t + r) % e.length]);
4388
4405
  }
4389
- var Ds = vo, Us = wo;
4390
- function Ws(e, [t, o]) {
4406
+ var js = wo, Hs = ko;
4407
+ function Vs(e, [t, o]) {
4391
4408
  return Math.min(o, Math.max(t, e));
4392
4409
  }
4393
- function js(e, t) {
4410
+ function Bs(e, t) {
4394
4411
  return m.useReducer((o, r) => t[o][r] ?? o, e);
4395
4412
  }
4396
- var at = "ScrollArea", [ko] = ge(at), [Hs, q] = ko(at), So = m.forwardRef(
4413
+ var at = "ScrollArea", [Co] = ge(at), [Gs, q] = Co(at), Eo = m.forwardRef(
4397
4414
  (e, t) => {
4398
4415
  const {
4399
4416
  __scopeScrollArea: o,
@@ -4401,9 +4418,9 @@ var at = "ScrollArea", [ko] = ge(at), [Hs, q] = ko(at), So = m.forwardRef(
4401
4418
  dir: n,
4402
4419
  scrollHideDelay: s = 600,
4403
4420
  ...a
4404
- } = e, [i, l] = m.useState(null), [d, u] = m.useState(null), [f, p] = m.useState(null), [b, S] = m.useState(null), [v, h] = m.useState(null), [x, C] = m.useState(0), [w, A] = m.useState(0), [P, N] = m.useState(!1), [I, g] = m.useState(!1), E = Y(t, (O) => l(O)), M = nt(n);
4421
+ } = e, [i, l] = m.useState(null), [d, u] = m.useState(null), [f, p] = m.useState(null), [b, S] = m.useState(null), [v, h] = m.useState(null), [x, C] = m.useState(0), [w, A] = m.useState(0), [P, N] = m.useState(!1), [R, g] = m.useState(!1), E = Y(t, (O) => l(O)), M = nt(n);
4405
4422
  return /* @__PURE__ */ c(
4406
- Hs,
4423
+ Gs,
4407
4424
  {
4408
4425
  scope: o,
4409
4426
  type: r,
@@ -4420,7 +4437,7 @@ var at = "ScrollArea", [ko] = ge(at), [Hs, q] = ko(at), So = m.forwardRef(
4420
4437
  onScrollbarXEnabledChange: N,
4421
4438
  scrollbarY: v,
4422
4439
  onScrollbarYChange: h,
4423
- scrollbarYEnabled: I,
4440
+ scrollbarYEnabled: R,
4424
4441
  onScrollbarYEnabledChange: g,
4425
4442
  onCornerWidthChange: C,
4426
4443
  onCornerHeightChange: A,
@@ -4443,10 +4460,10 @@ var at = "ScrollArea", [ko] = ge(at), [Hs, q] = ko(at), So = m.forwardRef(
4443
4460
  );
4444
4461
  }
4445
4462
  );
4446
- So.displayName = at;
4447
- var Co = "ScrollAreaViewport", Eo = m.forwardRef(
4463
+ Eo.displayName = at;
4464
+ var No = "ScrollAreaViewport", Ao = m.forwardRef(
4448
4465
  (e, t) => {
4449
- const { __scopeScrollArea: o, children: r, nonce: n, ...s } = e, a = q(Co, o), i = m.useRef(null), l = Y(t, i, a.onViewportChange);
4466
+ const { __scopeScrollArea: o, children: r, nonce: n, ...s } = e, a = q(No, o), i = m.useRef(null), l = Y(t, i, a.onViewportChange);
4450
4467
  return /* @__PURE__ */ T(he, { children: [
4451
4468
  /* @__PURE__ */ c(
4452
4469
  "style",
@@ -4485,17 +4502,17 @@ var Co = "ScrollAreaViewport", Eo = m.forwardRef(
4485
4502
  ] });
4486
4503
  }
4487
4504
  );
4488
- Eo.displayName = Co;
4489
- var X = "ScrollAreaScrollbar", No = m.forwardRef(
4505
+ Ao.displayName = No;
4506
+ var X = "ScrollAreaScrollbar", _o = m.forwardRef(
4490
4507
  (e, t) => {
4491
4508
  const { forceMount: o, ...r } = e, n = q(X, e.__scopeScrollArea), { onScrollbarXEnabledChange: s, onScrollbarYEnabledChange: a } = n, i = e.orientation === "horizontal";
4492
4509
  return m.useEffect(() => (i ? s(!0) : a(!0), () => {
4493
4510
  i ? s(!1) : a(!1);
4494
- }), [i, s, a]), n.type === "hover" ? /* @__PURE__ */ c(Vs, { ...r, ref: t, forceMount: o }) : n.type === "scroll" ? /* @__PURE__ */ c(Bs, { ...r, ref: t, forceMount: o }) : n.type === "auto" ? /* @__PURE__ */ c(Ao, { ...r, ref: t, forceMount: o }) : n.type === "always" ? /* @__PURE__ */ c(it, { ...r, ref: t }) : null;
4511
+ }), [i, s, a]), n.type === "hover" ? /* @__PURE__ */ c(qs, { ...r, ref: t, forceMount: o }) : n.type === "scroll" ? /* @__PURE__ */ c(Ys, { ...r, ref: t, forceMount: o }) : n.type === "auto" ? /* @__PURE__ */ c(Ro, { ...r, ref: t, forceMount: o }) : n.type === "always" ? /* @__PURE__ */ c(it, { ...r, ref: t }) : null;
4495
4512
  }
4496
4513
  );
4497
- No.displayName = X;
4498
- var Vs = m.forwardRef((e, t) => {
4514
+ _o.displayName = X;
4515
+ var qs = m.forwardRef((e, t) => {
4499
4516
  const { forceMount: o, ...r } = e, n = q(X, e.__scopeScrollArea), [s, a] = m.useState(!1);
4500
4517
  return m.useEffect(() => {
4501
4518
  const i = n.scrollArea;
@@ -4511,15 +4528,15 @@ var Vs = m.forwardRef((e, t) => {
4511
4528
  };
4512
4529
  }
4513
4530
  }, [n.scrollArea, n.scrollHideDelay]), /* @__PURE__ */ c(ue, { present: o || s, children: /* @__PURE__ */ c(
4514
- Ao,
4531
+ Ro,
4515
4532
  {
4516
4533
  "data-state": s ? "visible" : "hidden",
4517
4534
  ...r,
4518
4535
  ref: t
4519
4536
  }
4520
4537
  ) });
4521
- }), Bs = m.forwardRef((e, t) => {
4522
- const { forceMount: o, ...r } = e, n = q(X, e.__scopeScrollArea), s = e.orientation === "horizontal", a = Oe(() => l("SCROLL_END"), 100), [i, l] = js("hidden", {
4538
+ }), Ys = m.forwardRef((e, t) => {
4539
+ const { forceMount: o, ...r } = e, n = q(X, e.__scopeScrollArea), s = e.orientation === "horizontal", a = Oe(() => l("SCROLL_END"), 100), [i, l] = Bs("hidden", {
4523
4540
  hidden: {
4524
4541
  SCROLL: "scrolling"
4525
4542
  },
@@ -4562,7 +4579,7 @@ var Vs = m.forwardRef((e, t) => {
4562
4579
  onPointerLeave: W(e.onPointerLeave, () => l("POINTER_LEAVE"))
4563
4580
  }
4564
4581
  ) });
4565
- }), Ao = m.forwardRef((e, t) => {
4582
+ }), Ro = m.forwardRef((e, t) => {
4566
4583
  const o = q(X, e.__scopeScrollArea), { forceMount: r, ...n } = e, [s, a] = m.useState(!1), i = e.orientation === "horizontal", l = Oe(() => {
4567
4584
  if (o.viewport) {
4568
4585
  const d = o.viewport.offsetWidth < o.viewport.scrollWidth, u = o.viewport.offsetHeight < o.viewport.scrollHeight;
@@ -4582,7 +4599,7 @@ var Vs = m.forwardRef((e, t) => {
4582
4599
  content: 0,
4583
4600
  viewport: 0,
4584
4601
  scrollbar: { size: 0, paddingStart: 0, paddingEnd: 0 }
4585
- }), d = To(i.viewport, i.content), u = {
4602
+ }), d = Mo(i.viewport, i.content), u = {
4586
4603
  ...r,
4587
4604
  sizes: i,
4588
4605
  onSizesChange: l,
@@ -4592,16 +4609,16 @@ var Vs = m.forwardRef((e, t) => {
4592
4609
  onThumbPointerDown: (p) => a.current = p
4593
4610
  };
4594
4611
  function f(p, b) {
4595
- return Zs(p, a.current, i, b);
4612
+ return ea(p, a.current, i, b);
4596
4613
  }
4597
4614
  return o === "horizontal" ? /* @__PURE__ */ c(
4598
- Gs,
4615
+ Xs,
4599
4616
  {
4600
4617
  ...u,
4601
4618
  ref: t,
4602
4619
  onThumbPositionChange: () => {
4603
4620
  if (n.viewport && s.current) {
4604
- const p = n.viewport.scrollLeft, b = _t(p, i, n.dir);
4621
+ const p = n.viewport.scrollLeft, b = Rt(p, i, n.dir);
4605
4622
  s.current.style.transform = `translate3d(${b}px, 0, 0)`;
4606
4623
  }
4607
4624
  },
@@ -4613,13 +4630,13 @@ var Vs = m.forwardRef((e, t) => {
4613
4630
  }
4614
4631
  }
4615
4632
  ) : o === "vertical" ? /* @__PURE__ */ c(
4616
- qs,
4633
+ Ks,
4617
4634
  {
4618
4635
  ...u,
4619
4636
  ref: t,
4620
4637
  onThumbPositionChange: () => {
4621
4638
  if (n.viewport && s.current) {
4622
- const p = n.viewport.scrollTop, b = _t(p, i);
4639
+ const p = n.viewport.scrollTop, b = Rt(p, i);
4623
4640
  s.current.style.transform = `translate3d(0, ${b}px, 0)`;
4624
4641
  }
4625
4642
  },
@@ -4631,12 +4648,12 @@ var Vs = m.forwardRef((e, t) => {
4631
4648
  }
4632
4649
  }
4633
4650
  ) : null;
4634
- }), Gs = m.forwardRef((e, t) => {
4651
+ }), Xs = m.forwardRef((e, t) => {
4635
4652
  const { sizes: o, onSizesChange: r, ...n } = e, s = q(X, e.__scopeScrollArea), [a, i] = m.useState(), l = m.useRef(null), d = Y(t, l, s.onScrollbarXChange);
4636
4653
  return m.useEffect(() => {
4637
4654
  l.current && i(getComputedStyle(l.current));
4638
4655
  }, [l]), /* @__PURE__ */ c(
4639
- Io,
4656
+ Po,
4640
4657
  {
4641
4658
  "data-orientation": "horizontal",
4642
4659
  ...n,
@@ -4654,7 +4671,7 @@ var Vs = m.forwardRef((e, t) => {
4654
4671
  onWheelScroll: (u, f) => {
4655
4672
  if (s.viewport) {
4656
4673
  const p = s.viewport.scrollLeft + u.deltaX;
4657
- e.onWheelScroll(p), Mo(p, f) && u.preventDefault();
4674
+ e.onWheelScroll(p), Oo(p, f) && u.preventDefault();
4658
4675
  }
4659
4676
  },
4660
4677
  onResize: () => {
@@ -4670,12 +4687,12 @@ var Vs = m.forwardRef((e, t) => {
4670
4687
  }
4671
4688
  }
4672
4689
  );
4673
- }), qs = m.forwardRef((e, t) => {
4690
+ }), Ks = m.forwardRef((e, t) => {
4674
4691
  const { sizes: o, onSizesChange: r, ...n } = e, s = q(X, e.__scopeScrollArea), [a, i] = m.useState(), l = m.useRef(null), d = Y(t, l, s.onScrollbarYChange);
4675
4692
  return m.useEffect(() => {
4676
4693
  l.current && i(getComputedStyle(l.current));
4677
4694
  }, [l]), /* @__PURE__ */ c(
4678
- Io,
4695
+ Po,
4679
4696
  {
4680
4697
  "data-orientation": "vertical",
4681
4698
  ...n,
@@ -4694,7 +4711,7 @@ var Vs = m.forwardRef((e, t) => {
4694
4711
  onWheelScroll: (u, f) => {
4695
4712
  if (s.viewport) {
4696
4713
  const p = s.viewport.scrollTop + u.deltaY;
4697
- e.onWheelScroll(p), Mo(p, f) && u.preventDefault();
4714
+ e.onWheelScroll(p), Oo(p, f) && u.preventDefault();
4698
4715
  }
4699
4716
  },
4700
4717
  onResize: () => {
@@ -4710,7 +4727,7 @@ var Vs = m.forwardRef((e, t) => {
4710
4727
  }
4711
4728
  }
4712
4729
  );
4713
- }), [Ys, _o] = ko(X), Io = m.forwardRef((e, t) => {
4730
+ }), [Zs, Io] = Co(X), Po = m.forwardRef((e, t) => {
4714
4731
  const {
4715
4732
  __scopeScrollArea: o,
4716
4733
  sizes: r,
@@ -4723,7 +4740,7 @@ var Vs = m.forwardRef((e, t) => {
4723
4740
  onWheelScroll: u,
4724
4741
  onResize: f,
4725
4742
  ...p
4726
- } = e, b = q(X, o), [S, v] = m.useState(null), h = Y(t, (E) => v(E)), x = m.useRef(null), C = m.useRef(""), w = b.viewport, A = r.content - r.viewport, P = J(u), N = J(l), I = Oe(f, 10);
4743
+ } = e, b = q(X, o), [S, v] = m.useState(null), h = Y(t, (E) => v(E)), x = m.useRef(null), C = m.useRef(""), w = b.viewport, A = r.content - r.viewport, P = J(u), N = J(l), R = Oe(f, 10);
4727
4744
  function g(E) {
4728
4745
  if (x.current) {
4729
4746
  const M = E.clientX - x.current.left, O = E.clientY - x.current.top;
@@ -4736,8 +4753,8 @@ var Vs = m.forwardRef((e, t) => {
4736
4753
  (S == null ? void 0 : S.contains(O)) && P(M, A);
4737
4754
  };
4738
4755
  return document.addEventListener("wheel", E, { passive: !1 }), () => document.removeEventListener("wheel", E, { passive: !1 });
4739
- }, [w, S, A, P]), m.useEffect(N, [r, N]), de(S, I), de(b.content, I), /* @__PURE__ */ c(
4740
- Ys,
4756
+ }, [w, S, A, P]), m.useEffect(N, [r, N]), de(S, R), de(b.content, R), /* @__PURE__ */ c(
4757
+ Zs,
4741
4758
  {
4742
4759
  scope: o,
4743
4760
  scrollbar: S,
@@ -4764,14 +4781,14 @@ var Vs = m.forwardRef((e, t) => {
4764
4781
  )
4765
4782
  }
4766
4783
  );
4767
- }), ze = "ScrollAreaThumb", Ro = m.forwardRef(
4784
+ }), ze = "ScrollAreaThumb", To = m.forwardRef(
4768
4785
  (e, t) => {
4769
- const { forceMount: o, ...r } = e, n = _o(ze, e.__scopeScrollArea);
4770
- return /* @__PURE__ */ c(ue, { present: o || n.hasThumb, children: /* @__PURE__ */ c(Xs, { ref: t, ...r }) });
4786
+ const { forceMount: o, ...r } = e, n = Io(ze, e.__scopeScrollArea);
4787
+ return /* @__PURE__ */ c(ue, { present: o || n.hasThumb, children: /* @__PURE__ */ c(Js, { ref: t, ...r }) });
4771
4788
  }
4772
- ), Xs = m.forwardRef(
4789
+ ), Js = m.forwardRef(
4773
4790
  (e, t) => {
4774
- const { __scopeScrollArea: o, style: r, ...n } = e, s = q(ze, o), a = _o(ze, o), { onThumbPositionChange: i } = a, l = Y(
4791
+ const { __scopeScrollArea: o, style: r, ...n } = e, s = q(ze, o), a = Io(ze, o), { onThumbPositionChange: i } = a, l = Y(
4775
4792
  t,
4776
4793
  (f) => a.onThumbChange(f)
4777
4794
  ), d = m.useRef(void 0), u = Oe(() => {
@@ -4782,7 +4799,7 @@ var Vs = m.forwardRef((e, t) => {
4782
4799
  if (f) {
4783
4800
  const p = () => {
4784
4801
  if (u(), !d.current) {
4785
- const b = Js(f, i);
4802
+ const b = ta(f, i);
4786
4803
  d.current = b, i();
4787
4804
  }
4788
4805
  };
@@ -4808,15 +4825,15 @@ var Vs = m.forwardRef((e, t) => {
4808
4825
  );
4809
4826
  }
4810
4827
  );
4811
- Ro.displayName = ze;
4812
- var lt = "ScrollAreaCorner", Po = m.forwardRef(
4828
+ To.displayName = ze;
4829
+ var lt = "ScrollAreaCorner", zo = m.forwardRef(
4813
4830
  (e, t) => {
4814
4831
  const o = q(lt, e.__scopeScrollArea), r = !!(o.scrollbarX && o.scrollbarY);
4815
- return o.type !== "scroll" && r ? /* @__PURE__ */ c(Ks, { ...e, ref: t }) : null;
4832
+ return o.type !== "scroll" && r ? /* @__PURE__ */ c(Qs, { ...e, ref: t }) : null;
4816
4833
  }
4817
4834
  );
4818
- Po.displayName = lt;
4819
- var Ks = m.forwardRef((e, t) => {
4835
+ zo.displayName = lt;
4836
+ var Qs = m.forwardRef((e, t) => {
4820
4837
  const { __scopeScrollArea: o, ...r } = e, n = q(lt, o), [s, a] = m.useState(0), [i, l] = m.useState(0), d = !!(s && i);
4821
4838
  return de(n.scrollbarX, () => {
4822
4839
  var f;
@@ -4846,33 +4863,33 @@ var Ks = m.forwardRef((e, t) => {
4846
4863
  function Me(e) {
4847
4864
  return e ? parseInt(e, 10) : 0;
4848
4865
  }
4849
- function To(e, t) {
4866
+ function Mo(e, t) {
4850
4867
  const o = e / t;
4851
4868
  return isNaN(o) ? 0 : o;
4852
4869
  }
4853
4870
  function Le(e) {
4854
- const t = To(e.viewport, e.content), o = e.scrollbar.paddingStart + e.scrollbar.paddingEnd, r = (e.scrollbar.size - o) * t;
4871
+ const t = Mo(e.viewport, e.content), o = e.scrollbar.paddingStart + e.scrollbar.paddingEnd, r = (e.scrollbar.size - o) * t;
4855
4872
  return Math.max(r, 18);
4856
4873
  }
4857
- function Zs(e, t, o, r = "ltr") {
4874
+ function ea(e, t, o, r = "ltr") {
4858
4875
  const n = Le(o), s = n / 2, a = t || s, i = n - a, l = o.scrollbar.paddingStart + a, d = o.scrollbar.size - o.scrollbar.paddingEnd - i, u = o.content - o.viewport, f = r === "ltr" ? [0, u] : [u * -1, 0];
4859
- return zo([l, d], f)(e);
4876
+ return Lo([l, d], f)(e);
4860
4877
  }
4861
- function _t(e, t, o = "ltr") {
4862
- const r = Le(t), n = t.scrollbar.paddingStart + t.scrollbar.paddingEnd, s = t.scrollbar.size - n, a = t.content - t.viewport, i = s - r, l = o === "ltr" ? [0, a] : [a * -1, 0], d = Ws(e, l);
4863
- return zo([0, a], [0, i])(d);
4878
+ function Rt(e, t, o = "ltr") {
4879
+ const r = Le(t), n = t.scrollbar.paddingStart + t.scrollbar.paddingEnd, s = t.scrollbar.size - n, a = t.content - t.viewport, i = s - r, l = o === "ltr" ? [0, a] : [a * -1, 0], d = Vs(e, l);
4880
+ return Lo([0, a], [0, i])(d);
4864
4881
  }
4865
- function zo(e, t) {
4882
+ function Lo(e, t) {
4866
4883
  return (o) => {
4867
4884
  if (e[0] === e[1] || t[0] === t[1]) return t[0];
4868
4885
  const r = (t[1] - t[0]) / (e[1] - e[0]);
4869
4886
  return t[0] + r * (o - e[0]);
4870
4887
  };
4871
4888
  }
4872
- function Mo(e, t) {
4889
+ function Oo(e, t) {
4873
4890
  return e > 0 && e < t;
4874
4891
  }
4875
- var Js = (e, t = () => {
4892
+ var ta = (e, t = () => {
4876
4893
  }) => {
4877
4894
  let o = { left: e.scrollLeft, top: e.scrollTop }, r = 0;
4878
4895
  return (function n() {
@@ -4900,8 +4917,8 @@ function de(e, t) {
4900
4917
  }
4901
4918
  }, [e, o]);
4902
4919
  }
4903
- var Qs = So, ea = Eo, ta = Po, oa = "Separator", It = "horizontal", ra = ["horizontal", "vertical"], Lo = m.forwardRef((e, t) => {
4904
- const { decorative: o, orientation: r = It, ...n } = e, s = na(r) ? r : It, i = o ? { role: "none" } : { "aria-orientation": s === "vertical" ? s : void 0, role: "separator" };
4920
+ var oa = Eo, ra = Ao, na = zo, sa = "Separator", It = "horizontal", aa = ["horizontal", "vertical"], $o = m.forwardRef((e, t) => {
4921
+ const { decorative: o, orientation: r = It, ...n } = e, s = ia(r) ? r : It, i = o ? { role: "none" } : { "aria-orientation": s === "vertical" ? s : void 0, role: "separator" };
4905
4922
  return /* @__PURE__ */ c(
4906
4923
  B.div,
4907
4924
  {
@@ -4912,13 +4929,13 @@ var Qs = So, ea = Eo, ta = Po, oa = "Separator", It = "horizontal", ra = ["horiz
4912
4929
  }
4913
4930
  );
4914
4931
  });
4915
- Lo.displayName = oa;
4916
- function na(e) {
4917
- return ra.includes(e);
4932
+ $o.displayName = sa;
4933
+ function ia(e) {
4934
+ return aa.includes(e);
4918
4935
  }
4919
- var sa = Lo, $e = "Tabs", [aa] = ge($e, [
4920
- bo
4921
- ]), Oo = bo(), [ia, ct] = aa($e), $o = m.forwardRef(
4936
+ var la = $o, $e = "Tabs", [ca] = ge($e, [
4937
+ xo
4938
+ ]), Do = xo(), [da, ct] = ca($e), Fo = m.forwardRef(
4922
4939
  (e, t) => {
4923
4940
  const {
4924
4941
  __scopeTabs: o,
@@ -4929,17 +4946,17 @@ var sa = Lo, $e = "Tabs", [aa] = ge($e, [
4929
4946
  dir: i,
4930
4947
  activationMode: l = "automatic",
4931
4948
  ...d
4932
- } = e, u = nt(i), [f, p] = io({
4949
+ } = e, u = nt(i), [f, p] = co({
4933
4950
  prop: r,
4934
4951
  onChange: n,
4935
4952
  defaultProp: s ?? "",
4936
4953
  caller: $e
4937
4954
  });
4938
4955
  return /* @__PURE__ */ c(
4939
- ia,
4956
+ da,
4940
4957
  {
4941
4958
  scope: o,
4942
- baseId: lo(),
4959
+ baseId: uo(),
4943
4960
  value: f,
4944
4961
  onValueChange: p,
4945
4962
  orientation: a,
@@ -4958,12 +4975,12 @@ var sa = Lo, $e = "Tabs", [aa] = ge($e, [
4958
4975
  );
4959
4976
  }
4960
4977
  );
4961
- $o.displayName = $e;
4962
- var Fo = "TabsList", Do = m.forwardRef(
4978
+ Fo.displayName = $e;
4979
+ var Uo = "TabsList", Wo = m.forwardRef(
4963
4980
  (e, t) => {
4964
- const { __scopeTabs: o, loop: r = !0, ...n } = e, s = ct(Fo, o), a = Oo(o);
4981
+ const { __scopeTabs: o, loop: r = !0, ...n } = e, s = ct(Uo, o), a = Do(o);
4965
4982
  return /* @__PURE__ */ c(
4966
- Ds,
4983
+ js,
4967
4984
  {
4968
4985
  asChild: !0,
4969
4986
  ...a,
@@ -4983,12 +5000,12 @@ var Fo = "TabsList", Do = m.forwardRef(
4983
5000
  );
4984
5001
  }
4985
5002
  );
4986
- Do.displayName = Fo;
4987
- var Uo = "TabsTrigger", Wo = m.forwardRef(
5003
+ Wo.displayName = Uo;
5004
+ var jo = "TabsTrigger", Ho = m.forwardRef(
4988
5005
  (e, t) => {
4989
- const { __scopeTabs: o, value: r, disabled: n = !1, ...s } = e, a = ct(Uo, o), i = Oo(o), l = Vo(a.baseId, r), d = Bo(a.baseId, r), u = r === a.value;
5006
+ const { __scopeTabs: o, value: r, disabled: n = !1, ...s } = e, a = ct(jo, o), i = Do(o), l = Go(a.baseId, r), d = qo(a.baseId, r), u = r === a.value;
4990
5007
  return /* @__PURE__ */ c(
4991
- Us,
5008
+ Hs,
4992
5009
  {
4993
5010
  asChild: !0,
4994
5011
  ...i,
@@ -5023,10 +5040,10 @@ var Uo = "TabsTrigger", Wo = m.forwardRef(
5023
5040
  );
5024
5041
  }
5025
5042
  );
5026
- Wo.displayName = Uo;
5027
- var jo = "TabsContent", Ho = m.forwardRef(
5043
+ Ho.displayName = jo;
5044
+ var Vo = "TabsContent", Bo = m.forwardRef(
5028
5045
  (e, t) => {
5029
- const { __scopeTabs: o, value: r, forceMount: n, children: s, ...a } = e, i = ct(jo, o), l = Vo(i.baseId, r), d = Bo(i.baseId, r), u = r === i.value, f = m.useRef(u);
5046
+ const { __scopeTabs: o, value: r, forceMount: n, children: s, ...a } = e, i = ct(Vo, o), l = Go(i.baseId, r), d = qo(i.baseId, r), u = r === i.value, f = m.useRef(u);
5030
5047
  return m.useEffect(() => {
5031
5048
  const p = requestAnimationFrame(() => f.current = !1);
5032
5049
  return () => cancelAnimationFrame(p);
@@ -5051,22 +5068,22 @@ var jo = "TabsContent", Ho = m.forwardRef(
5051
5068
  ) });
5052
5069
  }
5053
5070
  );
5054
- Ho.displayName = jo;
5055
- function Vo(e, t) {
5071
+ Bo.displayName = Vo;
5072
+ function Go(e, t) {
5056
5073
  return `${e}-trigger-${t}`;
5057
5074
  }
5058
- function Bo(e, t) {
5075
+ function qo(e, t) {
5059
5076
  return `${e}-content-${t}`;
5060
5077
  }
5061
- var la = $o, ca = Do, da = Wo, ua = Ho;
5062
- const fa = rt(
5063
- 'inline-flex cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*="size-"])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive',
5078
+ var ua = Fo, fa = Wo, ma = Ho, pa = Bo;
5079
+ const ha = rt(
5080
+ "inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
5064
5081
  {
5065
5082
  variants: {
5066
5083
  variant: {
5067
5084
  default: "bg-primary text-primary-foreground hover:bg-primary/90",
5068
- destructive: "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
5069
- outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
5085
+ destructive: "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",
5086
+ outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
5070
5087
  secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
5071
5088
  ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
5072
5089
  link: "text-primary underline-offset-4 hover:underline"
@@ -5074,7 +5091,7 @@ const fa = rt(
5074
5091
  size: {
5075
5092
  default: "h-9 px-4 py-2 has-[>svg]:px-3",
5076
5093
  xs: "h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",
5077
- sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
5094
+ sm: "h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",
5078
5095
  lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
5079
5096
  icon: "size-9",
5080
5097
  "icon-xs": "size-6 rounded-md [&_svg:not([class*='size-'])]:size-3",
@@ -5088,7 +5105,7 @@ const fa = rt(
5088
5105
  }
5089
5106
  }
5090
5107
  );
5091
- function Go({
5108
+ function Yo({
5092
5109
  className: e,
5093
5110
  variant: t = "default",
5094
5111
  size: o = "default",
@@ -5096,24 +5113,24 @@ function Go({
5096
5113
  ...n
5097
5114
  }) {
5098
5115
  return /* @__PURE__ */ c(
5099
- r ? ao : "button",
5116
+ r ? lo : "button",
5100
5117
  {
5101
5118
  "data-slot": "button",
5102
5119
  "data-variant": t,
5103
5120
  "data-size": o,
5104
- className: z(fa({ variant: t, size: o, className: e })),
5121
+ className: z(ha({ variant: t, size: o, className: e })),
5105
5122
  ...n
5106
5123
  }
5107
5124
  );
5108
5125
  }
5109
- const ma = rt(
5110
- "inline-flex items-center justify-center rounded-full border border-transparent px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
5126
+ const ga = rt(
5127
+ "inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3",
5111
5128
  {
5112
5129
  variants: {
5113
5130
  variant: {
5114
5131
  default: "bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
5115
5132
  secondary: "bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
5116
- destructive: "bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
5133
+ destructive: "bg-destructive text-white focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40 [a&]:hover:bg-destructive/90",
5117
5134
  outline: "border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
5118
5135
  ghost: "[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
5119
5136
  link: "text-primary underline-offset-4 [a&]:hover:underline"
@@ -5124,65 +5141,65 @@ const ma = rt(
5124
5141
  }
5125
5142
  }
5126
5143
  );
5127
- function pa({
5144
+ function ba({
5128
5145
  className: e,
5129
5146
  variant: t = "default",
5130
5147
  asChild: o = !1,
5131
5148
  ...r
5132
5149
  }) {
5133
5150
  return /* @__PURE__ */ c(
5134
- o ? ao : "span",
5151
+ o ? lo : "span",
5135
5152
  {
5136
5153
  "data-slot": "badge",
5137
5154
  "data-variant": t,
5138
- className: z(ma({ variant: t }), e),
5155
+ className: z(ga({ variant: t }), e),
5139
5156
  ...r
5140
5157
  }
5141
5158
  );
5142
5159
  }
5143
- function ha({ className: e, type: t, ...o }) {
5160
+ function va({ className: e, type: t, ...o }) {
5144
5161
  return /* @__PURE__ */ c(
5145
5162
  "input",
5146
5163
  {
5147
5164
  type: t,
5148
5165
  "data-slot": "input",
5149
5166
  className: z(
5150
- "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
5151
- "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
5152
- "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
5167
+ "h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30",
5168
+ "focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50",
5169
+ "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",
5153
5170
  e
5154
5171
  ),
5155
5172
  ...o
5156
5173
  }
5157
5174
  );
5158
5175
  }
5159
- function ga({
5176
+ function xa({
5160
5177
  className: e,
5161
5178
  orientation: t = "horizontal",
5162
5179
  decorative: o = !0,
5163
5180
  ...r
5164
5181
  }) {
5165
5182
  return /* @__PURE__ */ c(
5166
- sa,
5183
+ la,
5167
5184
  {
5168
5185
  "data-slot": "separator",
5169
5186
  decorative: o,
5170
5187
  orientation: t,
5171
5188
  className: z(
5172
- "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
5189
+ "shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
5173
5190
  e
5174
5191
  ),
5175
5192
  ...r
5176
5193
  }
5177
5194
  );
5178
5195
  }
5179
- function ba({
5196
+ function wa({
5180
5197
  className: e,
5181
5198
  orientation: t = "horizontal",
5182
5199
  ...o
5183
5200
  }) {
5184
5201
  return /* @__PURE__ */ c(
5185
- la,
5202
+ ua,
5186
5203
  {
5187
5204
  "data-slot": "tabs",
5188
5205
  "data-orientation": t,
@@ -5195,8 +5212,8 @@ function ba({
5195
5212
  }
5196
5213
  );
5197
5214
  }
5198
- const va = rt(
5199
- "rounded-lg p-[3px] group-data-[orientation=horizontal]/tabs:h-9 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col",
5215
+ const ya = rt(
5216
+ "group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-[orientation=horizontal]/tabs:h-9 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none",
5200
5217
  {
5201
5218
  variants: {
5202
5219
  variant: {
@@ -5209,46 +5226,46 @@ const va = rt(
5209
5226
  }
5210
5227
  }
5211
5228
  );
5212
- function xa({
5229
+ function ka({
5213
5230
  className: e,
5214
5231
  variant: t = "default",
5215
5232
  ...o
5216
5233
  }) {
5217
5234
  return /* @__PURE__ */ c(
5218
- ca,
5235
+ fa,
5219
5236
  {
5220
5237
  "data-slot": "tabs-list",
5221
5238
  "data-variant": t,
5222
- className: z(va({ variant: t }), e),
5239
+ className: z(ya({ variant: t }), e),
5223
5240
  ...o
5224
5241
  }
5225
5242
  );
5226
5243
  }
5227
- function wa({
5244
+ function Sa({
5228
5245
  className: e,
5229
5246
  ...t
5230
5247
  }) {
5231
5248
  return /* @__PURE__ */ c(
5232
- da,
5249
+ ma,
5233
5250
  {
5234
5251
  "data-slot": "tabs-trigger",
5235
5252
  className: z(
5236
- 'focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*="size-"])]:size-4',
5253
+ "relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
5237
5254
  "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent",
5238
- "data-[state=active]:bg-background dark:data-[state=active]:text-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 data-[state=active]:text-foreground",
5239
- "after:bg-foreground after:absolute after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100",
5255
+ "data-[state=active]:bg-background data-[state=active]:text-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground",
5256
+ "after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100",
5240
5257
  e
5241
5258
  ),
5242
5259
  ...t
5243
5260
  }
5244
5261
  );
5245
5262
  }
5246
- function ya({
5263
+ function Ca({
5247
5264
  className: e,
5248
5265
  ...t
5249
5266
  }) {
5250
5267
  return /* @__PURE__ */ c(
5251
- ua,
5268
+ pa,
5252
5269
  {
5253
5270
  "data-slot": "tabs-content",
5254
5271
  className: z("flex-1 outline-none", e),
@@ -5256,13 +5273,39 @@ function ya({
5256
5273
  }
5257
5274
  );
5258
5275
  }
5259
- function ka({
5276
+ function Ea({
5277
+ className: e,
5278
+ children: t,
5279
+ ...o
5280
+ }) {
5281
+ return /* @__PURE__ */ T(
5282
+ oa,
5283
+ {
5284
+ "data-slot": "scroll-area",
5285
+ className: z("relative", e),
5286
+ ...o,
5287
+ children: [
5288
+ /* @__PURE__ */ c(
5289
+ ra,
5290
+ {
5291
+ "data-slot": "scroll-area-viewport",
5292
+ className: "size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1",
5293
+ children: t
5294
+ }
5295
+ ),
5296
+ /* @__PURE__ */ c(Na, {}),
5297
+ /* @__PURE__ */ c(na, {})
5298
+ ]
5299
+ }
5300
+ );
5301
+ }
5302
+ function Na({
5260
5303
  className: e,
5261
5304
  orientation: t = "vertical",
5262
5305
  ...o
5263
5306
  }) {
5264
5307
  return /* @__PURE__ */ c(
5265
- No,
5308
+ _o,
5266
5309
  {
5267
5310
  "data-slot": "scroll-area-scrollbar",
5268
5311
  orientation: t,
@@ -5274,48 +5317,22 @@ function ka({
5274
5317
  ),
5275
5318
  ...o,
5276
5319
  children: /* @__PURE__ */ c(
5277
- Ro,
5320
+ To,
5278
5321
  {
5279
5322
  "data-slot": "scroll-area-thumb",
5280
- className: "bg-border relative flex-1 rounded-full"
5323
+ className: "relative flex-1 rounded-full bg-border"
5281
5324
  }
5282
5325
  )
5283
5326
  }
5284
5327
  );
5285
5328
  }
5286
- function Sa({
5287
- className: e,
5288
- children: t,
5289
- ...o
5290
- }) {
5291
- return /* @__PURE__ */ T(
5292
- Qs,
5293
- {
5294
- "data-slot": "scroll-area",
5295
- className: z("relative", e),
5296
- ...o,
5297
- children: [
5298
- /* @__PURE__ */ c(
5299
- ea,
5300
- {
5301
- "data-slot": "scroll-area-viewport",
5302
- className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
5303
- children: t
5304
- }
5305
- ),
5306
- /* @__PURE__ */ c(ka, {}),
5307
- /* @__PURE__ */ c(ta, {})
5308
- ]
5309
- }
5310
- );
5311
- }
5312
5329
  function Je({
5313
5330
  className: e,
5314
5331
  size: t = "default",
5315
5332
  ...o
5316
5333
  }) {
5317
5334
  return /* @__PURE__ */ c(
5318
- Ns,
5335
+ Rs,
5319
5336
  {
5320
5337
  "data-slot": "avatar",
5321
5338
  "data-size": t,
@@ -5332,7 +5349,7 @@ function Qe({
5332
5349
  ...t
5333
5350
  }) {
5334
5351
  return /* @__PURE__ */ c(
5335
- As,
5352
+ Is,
5336
5353
  {
5337
5354
  "data-slot": "avatar-image",
5338
5355
  className: z("aspect-square size-full", e),
@@ -5345,44 +5362,44 @@ function et({
5345
5362
  ...t
5346
5363
  }) {
5347
5364
  return /* @__PURE__ */ c(
5348
- _s,
5365
+ Ps,
5349
5366
  {
5350
5367
  "data-slot": "avatar-fallback",
5351
5368
  className: z(
5352
- "bg-muted text-muted-foreground flex size-full items-center justify-center rounded-full text-sm group-data-[size=sm]/avatar:text-xs",
5369
+ "flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",
5353
5370
  e
5354
5371
  ),
5355
5372
  ...t
5356
5373
  }
5357
5374
  );
5358
5375
  }
5359
- const qo = {
5360
- "arrow-left": wr,
5361
- calendar: Cr,
5362
- "check-circle-2": Pr,
5363
- "chevron-left": Nr,
5364
- "chevron-right": Dt,
5365
- clock: $r,
5366
- "credit-card": Dr,
5367
- "external-link": Wr,
5368
- "help-circle": zr,
5369
- info: Hr,
5370
- "loader-2": Ut,
5376
+ const Xo = {
5377
+ "arrow-left": Sr,
5378
+ calendar: Ar,
5379
+ "check-circle-2": Mr,
5380
+ "chevron-left": Rr,
5381
+ "chevron-right": Wt,
5382
+ clock: Ur,
5383
+ "credit-card": jr,
5384
+ "external-link": Vr,
5385
+ "help-circle": Or,
5386
+ info: Gr,
5387
+ "loader-2": jt,
5371
5388
  mail: Xe,
5372
- "map-pin": qr,
5373
- "message-circle": Xr,
5374
- "message-square": Wt,
5375
- package: Jr,
5376
- phone: en,
5377
- search: on,
5378
- "shopping-bag": nn,
5379
- sparkles: an,
5380
- truck: cn,
5381
- user: jt,
5382
- "x-circle": Lr,
5383
- "alert-circle": Ir,
5384
- "book-open": kr
5385
- }, Rt = {
5389
+ "map-pin": Kr,
5390
+ "message-circle": Jr,
5391
+ "message-square": Ht,
5392
+ package: tn,
5393
+ phone: rn,
5394
+ search: sn,
5395
+ "shopping-bag": ln,
5396
+ sparkles: dn,
5397
+ truck: fn,
5398
+ user: Vt,
5399
+ "x-circle": Dr,
5400
+ "alert-circle": Tr,
5401
+ "book-open": Er
5402
+ }, Pt = {
5386
5403
  0: "gap-0",
5387
5404
  1: "gap-1",
5388
5405
  2: "gap-2",
@@ -5393,15 +5410,15 @@ const qo = {
5393
5410
  8: "gap-8",
5394
5411
  10: "gap-10",
5395
5412
  12: "gap-12"
5396
- }, Yo = (e) => typeof e == "number" ? Rt[String(e)] ?? "gap-2" : typeof e == "string" ? Rt[e.trim()] ?? "gap-2" : "gap-2", Ca = ({ children: e, className: t, onClick: o }) => /* @__PURE__ */ c(
5413
+ }, Ko = (e) => typeof e == "number" ? Pt[String(e)] ?? "gap-2" : typeof e == "string" ? Pt[e.trim()] ?? "gap-2" : "gap-2", Aa = ({ children: e, className: t, onClick: o }) => /* @__PURE__ */ c(
5397
5414
  me,
5398
5415
  {
5399
5416
  className: t,
5400
5417
  onClick: o,
5401
5418
  children: e
5402
5419
  }
5403
- ), Ea = ({ children: e, className: t }) => /* @__PURE__ */ c(pe, { className: t, children: e }), Na = ({ children: e, className: t }) => /* @__PURE__ */ c(es, { className: t, children: e }), Aa = ({ children: e, className: t, onClick: o, variant: r, size: n, disabled: s, title: a }) => /* @__PURE__ */ c(
5404
- Go,
5420
+ ), _a = ({ children: e, className: t }) => /* @__PURE__ */ c(pe, { className: t, children: e }), Ra = ({ children: e, className: t }) => /* @__PURE__ */ c(rs, { className: t, children: e }), Ia = ({ children: e, className: t, onClick: o, variant: r, size: n, disabled: s, title: a }) => /* @__PURE__ */ c(
5421
+ Yo,
5405
5422
  {
5406
5423
  className: t,
5407
5424
  variant: r,
@@ -5411,30 +5428,30 @@ const qo = {
5411
5428
  title: a,
5412
5429
  children: e
5413
5430
  }
5414
- ), _a = ({ children: e, className: t, variant: o }) => /* @__PURE__ */ c(
5415
- pa,
5431
+ ), Pa = ({ children: e, className: t, variant: o }) => /* @__PURE__ */ c(
5432
+ ba,
5416
5433
  {
5417
5434
  className: t,
5418
5435
  variant: o,
5419
5436
  children: e
5420
5437
  }
5421
- ), Ia = ({ className: e, onChange: t, ...o }) => /* @__PURE__ */ c(
5422
- ha,
5438
+ ), Ta = ({ className: e, onChange: t, ...o }) => /* @__PURE__ */ c(
5439
+ va,
5423
5440
  {
5424
5441
  className: e,
5425
5442
  onChange: t,
5426
5443
  ...o
5427
5444
  }
5428
- ), Ra = ({ className: e }) => /* @__PURE__ */ c(ga, { className: e }), Pa = ({ children: e, className: t }) => /* @__PURE__ */ c(ba, { className: t, children: e }), Ta = ({ children: e, className: t }) => /* @__PURE__ */ c(xa, { className: t, children: e }), za = ({ children: e, className: t }) => /* @__PURE__ */ c(wa, { className: t, value: "", children: e }), Ma = ({ children: e, className: t }) => /* @__PURE__ */ c(ya, { className: t, value: "", children: e }), La = ({ children: e, className: t }) => /* @__PURE__ */ c(Sa, { className: t, children: e }), Oa = ({ children: e, className: t }) => /* @__PURE__ */ c(Je, { className: t, children: e }), $a = ({ src: e, alt: t, className: o }) => /* @__PURE__ */ c(Qe, { src: e, alt: t, className: o }), Fa = ({ children: e, className: t }) => /* @__PURE__ */ c(et, { className: t, children: e }), Da = ({ children: e, className: t }) => /* @__PURE__ */ c("p", { className: z("text-sm", t), children: e }), Ua = ({ children: e, className: t, level: o }) => {
5445
+ ), za = ({ className: e }) => /* @__PURE__ */ c(xa, { className: e }), Ma = ({ children: e, className: t }) => /* @__PURE__ */ c(wa, { className: t, children: e }), La = ({ children: e, className: t }) => /* @__PURE__ */ c(ka, { className: t, children: e }), Oa = ({ children: e, className: t }) => /* @__PURE__ */ c(Sa, { className: t, value: "", children: e }), $a = ({ children: e, className: t }) => /* @__PURE__ */ c(Ca, { className: t, value: "", children: e }), Da = ({ children: e, className: t }) => /* @__PURE__ */ c(Ea, { className: t, children: e }), Fa = ({ children: e, className: t }) => /* @__PURE__ */ c(Je, { className: t, children: e }), Ua = ({ src: e, alt: t, className: o }) => /* @__PURE__ */ c(Qe, { src: e, alt: t, className: o }), Wa = ({ children: e, className: t }) => /* @__PURE__ */ c(et, { className: t, children: e }), ja = ({ children: e, className: t }) => /* @__PURE__ */ c("p", { className: z("text-sm", t), children: e }), Ha = ({ children: e, className: t, level: o }) => {
5429
5446
  const r = `h${o || "2"}`;
5430
5447
  return /* @__PURE__ */ c(r, { className: z("font-semibold tracking-tight", t), children: e });
5431
- }, Wa = ({ children: e, className: t, direction: o, gap: r }) => {
5432
- const n = o === "row" ? "flex-row" : "flex-col", s = Yo(r);
5448
+ }, Va = ({ children: e, className: t, direction: o, gap: r }) => {
5449
+ const n = o === "row" ? "flex-row" : "flex-col", s = Ko(r);
5433
5450
  return /* @__PURE__ */ c("div", { className: z("flex", n, s, t), children: e });
5434
- }, ja = ({ children: e, className: t, gap: o }) => {
5435
- const r = Yo(o);
5451
+ }, Ba = ({ children: e, className: t, gap: o }) => {
5452
+ const r = Ko(o);
5436
5453
  return /* @__PURE__ */ c("div", { className: z("flex flex-row items-center", r, t), children: e });
5437
- }, Ha = ({ children: e, className: t, href: o, target: r, rel: n }) => /* @__PURE__ */ c(
5454
+ }, Ga = ({ children: e, className: t, href: o, target: r, rel: n }) => /* @__PURE__ */ c(
5438
5455
  "a",
5439
5456
  {
5440
5457
  href: o,
@@ -5443,11 +5460,11 @@ const qo = {
5443
5460
  className: t,
5444
5461
  children: e
5445
5462
  }
5446
- ), Va = ({ title: e, children: t, className: o }) => /* @__PURE__ */ T(me, { className: z("overflow-hidden p-0 gap-0 shadow-sm", o), children: [
5463
+ ), qa = ({ title: e, children: t, className: o }) => /* @__PURE__ */ T(me, { className: z("overflow-hidden p-0 gap-0 shadow-sm", o), children: [
5447
5464
  e ? /* @__PURE__ */ c(pe, { className: "px-6 py-3", children: /* @__PURE__ */ c("h3", { className: "text-xs font-semibold tracking-wider text-muted-foreground", children: String(e) }) }) : null,
5448
5465
  /* @__PURE__ */ c("div", { className: "flex flex-col gap-0 divide-y divide-border", children: t })
5449
- ] }), Ba = ({ icon: e, label: t, description: o, onClick: r, className: n }) => {
5450
- const s = e, a = "size-5", i = s ? qo[s] : null;
5466
+ ] }), Ya = ({ icon: e, label: t, description: o, onClick: r, className: n }) => {
5467
+ const s = e, a = "size-5", i = s ? Xo[s] : null;
5451
5468
  return /* @__PURE__ */ T(
5452
5469
  "button",
5453
5470
  {
@@ -5460,39 +5477,39 @@ const qo = {
5460
5477
  t ? /* @__PURE__ */ c("p", { className: "font-medium text-sm text-foreground", children: String(t) }) : null,
5461
5478
  o ? /* @__PURE__ */ c("p", { className: "mt-0.5 text-xs text-muted-foreground", children: String(o) }) : null
5462
5479
  ] }),
5463
- /* @__PURE__ */ c(Dt, { className: "mr-1 size-4 shrink-0 text-muted-foreground" })
5480
+ /* @__PURE__ */ c(Wt, { className: "mr-1 size-4 shrink-0 text-muted-foreground" })
5464
5481
  ]
5465
5482
  }
5466
5483
  );
5467
- }, Ga = ({ name: e, size: t, className: o }) => {
5468
- const n = { sm: "size-3", md: "size-5", lg: "size-6" }[t] ?? "size-4", s = e, a = qo[s], i = s === "sparkles" ? "sparkle-icon" : "";
5484
+ }, Xa = ({ name: e, size: t, className: o }) => {
5485
+ const n = { sm: "size-3", md: "size-5", lg: "size-6" }[t] ?? "size-4", s = e, a = Xo[s], i = s === "sparkles" ? "sparkle-icon" : "";
5469
5486
  return a ? /* @__PURE__ */ c(a, { className: z(n, i, o) }) : /* @__PURE__ */ c("span", { className: z("inline-block", n, i, o), "data-icon": s });
5470
- }, qa = () => ({
5471
- "ui-card": Ca,
5472
- "ui-card-content": Ea,
5473
- "ui-card-header": Na,
5474
- "ui-button": Aa,
5475
- "ui-text": Da,
5476
- "ui-heading": Ua,
5477
- "ui-badge": _a,
5478
- "ui-input": Ia,
5479
- "ui-stack": Wa,
5480
- "ui-inline": ja,
5481
- "ui-separator": Ra,
5482
- "ui-tabs": Pa,
5483
- "ui-tabs-list": Ta,
5484
- "ui-tabs-trigger": za,
5485
- "ui-tabs-content": Ma,
5486
- "ui-scroll-area": La,
5487
- "ui-avatar": Oa,
5488
- "ui-avatar-image": $a,
5489
- "ui-avatar-fallback": Fa,
5490
- "ui-icon": Ga,
5491
- "ui-link": Ha,
5492
- "ui-menu-item": Ba,
5493
- "ui-menu": Va
5494
- }), Pt = "/api/ecommerce", Xo = async (e, t) => {
5495
- const o = t ? `${t.replace(/\/$/, "")}${Pt}` : Pt, r = await fetch(o, {
5487
+ }, Ka = () => ({
5488
+ "ui-card": Aa,
5489
+ "ui-card-content": _a,
5490
+ "ui-card-header": Ra,
5491
+ "ui-button": Ia,
5492
+ "ui-text": ja,
5493
+ "ui-heading": Ha,
5494
+ "ui-badge": Pa,
5495
+ "ui-input": Ta,
5496
+ "ui-stack": Va,
5497
+ "ui-inline": Ba,
5498
+ "ui-separator": za,
5499
+ "ui-tabs": Ma,
5500
+ "ui-tabs-list": La,
5501
+ "ui-tabs-trigger": Oa,
5502
+ "ui-tabs-content": $a,
5503
+ "ui-scroll-area": Da,
5504
+ "ui-avatar": Fa,
5505
+ "ui-avatar-image": Ua,
5506
+ "ui-avatar-fallback": Wa,
5507
+ "ui-icon": Xa,
5508
+ "ui-link": Ga,
5509
+ "ui-menu-item": Ya,
5510
+ "ui-menu": qa
5511
+ }), Tt = "/api/ecommerce", Zo = async (e, t) => {
5512
+ const o = t ? `${t.replace(/\/$/, "")}${Tt}` : Tt, r = await fetch(o, {
5496
5513
  method: "POST",
5497
5514
  headers: { "Content-Type": "application/json" },
5498
5515
  body: JSON.stringify(e)
@@ -5500,15 +5517,15 @@ const qo = {
5500
5517
  if (!r.ok)
5501
5518
  throw new Error(n.error || "API request failed");
5502
5519
  return n.data;
5503
- }, Ya = ({ className: e }) => /* @__PURE__ */ T("svg", { width: "100%", height: "100%", viewBox: "0 0 190 190", version: "1.1", className: e, children: [
5520
+ }, Za = ({ className: e }) => /* @__PURE__ */ T("svg", { width: "100%", height: "100%", viewBox: "0 0 190 190", version: "1.1", className: e, children: [
5504
5521
  /* @__PURE__ */ c("g", { transform: "matrix(1,0,0,1,-160.365,27.97)", children: /* @__PURE__ */ c("path", { d: "M344.73,67.03C344.73,30.01 314.72,0 277.7,0C240.68,0 210.67,30.01 210.67,67.03L255.36,67.03C255.36,54.69 265.36,44.69 277.7,44.69C290.04,44.69 300.05,54.69 300.05,67.03L344.73,67.03Z", fill: "rgb(15,13,25)" }) }),
5505
5522
  /* @__PURE__ */ c("g", { transform: "matrix(1,0,0,1,-160.365,27.97)", children: /* @__PURE__ */ c("path", { d: "M300.04,67.03C300.04,54.69 290.05,44.69 277.7,44.69C265.35,44.69 255.36,54.69 255.36,67.03L300.04,67.03Z", fill: "rgb(232,218,234)" }) }),
5506
5523
  /* @__PURE__ */ c("g", { transform: "matrix(1,0,0,1,-160.365,27.97)", children: /* @__PURE__ */ c("path", { d: "M166,67.03C166,104.05 196.01,134.06 233.03,134.06C270.05,134.06 300.06,104.05 300.06,67.03L255.37,67.03C255.37,79.37 245.37,89.37 233.03,89.37C220.69,89.37 210.69,79.37 210.69,67.03L166,67.03Z", fill: "rgb(15,13,25)" }) }),
5507
5524
  /* @__PURE__ */ c("g", { transform: "matrix(1,0,0,1,-160.365,27.97)", children: /* @__PURE__ */ c("path", { d: "M210.68,67.03C210.68,79.37 220.68,89.37 233.03,89.37C245.38,89.37 255.37,79.37 255.37,67.03L210.68,67.03Z", fill: "rgb(252,248,161)" }) })
5508
- ] }), Tt = "stackable-dev-badge-styles", Xa = () => {
5509
- if (typeof document > "u" || document.getElementById(Tt)) return;
5525
+ ] }), zt = "stackable-dev-badge-styles", Ja = () => {
5526
+ if (typeof document > "u" || document.getElementById(zt)) return;
5510
5527
  const e = document.createElement("style");
5511
- e.id = Tt, e.textContent = `
5528
+ e.id = zt, e.textContent = `
5512
5529
  @keyframes stackable-icon-wiggle {
5513
5530
  0% { transform: rotate(0deg); }
5514
5531
  70% { transform: rotate(200deg); }
@@ -5516,14 +5533,14 @@ const qo = {
5516
5533
  100% { transform: rotate(180deg); }
5517
5534
  }
5518
5535
  `, document.head.appendChild(e);
5519
- }, Ka = ({ className: e = "", extensions: t = [] }) => {
5536
+ }, Qa = ({ className: e = "", extensions: t = [] }) => {
5520
5537
  const [o, r] = U([]), [n, s] = U(!1), [a, i] = U(!1), l = ae(null);
5521
5538
  if (V(() => {
5522
- Xa();
5539
+ Ja();
5523
5540
  }, []), V(() => {
5524
5541
  if (typeof window > "u") return;
5525
5542
  const u = () => {
5526
- const p = $t(window.location.search);
5543
+ const p = Ft(window.location.search);
5527
5544
  r(p);
5528
5545
  };
5529
5546
  u();
@@ -5647,7 +5664,7 @@ const qo = {
5647
5664
  display: "inline-flex",
5648
5665
  animation: a && !n ? "stackable-icon-wiggle 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97) both" : "none"
5649
5666
  },
5650
- children: /* @__PURE__ */ c(Ya, { className: "w-6 h-6" })
5667
+ children: /* @__PURE__ */ c(Za, { className: "w-6 h-6" })
5651
5668
  }
5652
5669
  ),
5653
5670
  /* @__PURE__ */ c("span", { children: "Dev Mode" }),
@@ -5690,11 +5707,11 @@ const qo = {
5690
5707
  ]
5691
5708
  }
5692
5709
  );
5693
- }, Ie = (e, t) => e ? `${e.replace(/\/$/, "")}${t}` : t, Za = async (e, t, o) => {
5710
+ }, Re = (e, t) => e ? `${e.replace(/\/$/, "")}${t}` : t, ei = async (e, t, o) => {
5694
5711
  const r = /* @__PURE__ */ new Map();
5695
5712
  return await Promise.all(
5696
5713
  e.filter((n) => n.manifest.permissions.includes("data:fetch")).map(async (n) => {
5697
- const s = Ie(t, "/proxy-token"), a = await fetch(s, {
5714
+ const s = Re(t, "/proxy-token"), a = await fetch(s, {
5698
5715
  method: "POST",
5699
5716
  headers: { "Content-Type": "application/json" },
5700
5717
  body: JSON.stringify({ appId: o, extensionId: n.id })
@@ -5706,7 +5723,7 @@ const qo = {
5706
5723
  console.warn(`[embeddables] Failed to obtain proxy token for extension ${n.id} (${a.status}) — data.fetch calls will be unavailable for this extension`);
5707
5724
  })
5708
5725
  ), r;
5709
- }, ci = ({
5726
+ }, fi = ({
5710
5727
  instanceId: e,
5711
5728
  apiBase: t,
5712
5729
  hostBase: o,
@@ -5728,12 +5745,12 @@ const qo = {
5728
5745
  console.warn("[ExtensionSetup] apiBase and appId are required to load extensions"), l([]), p(!0);
5729
5746
  return;
5730
5747
  }
5731
- const h = await fetch(Ie(t, `/instances/${r}/${v}`));
5748
+ const h = await fetch(Re(t, `/instances/${r}/${v}`));
5732
5749
  if (!h.ok) {
5733
5750
  console.warn(`[ExtensionSetup] Instance not found or failed to load: ${v}`), l([]), p(!0);
5734
5751
  return;
5735
5752
  }
5736
- const x = await h.json(), C = $t(typeof window < "u" ? window.location.search : ""), w = ur(x, C), A = await Za(w, t, r);
5753
+ const x = await h.json(), C = Ft(typeof window < "u" ? window.location.search : ""), w = pr(x, C), A = await ei(w, t, r);
5737
5754
  l(w), u(new Map(A));
5738
5755
  } catch (h) {
5739
5756
  console.error("Failed to load extensions:", h);
@@ -5747,7 +5764,7 @@ const qo = {
5747
5764
  const h = [];
5748
5765
  await Promise.all(
5749
5766
  i.filter((x) => x.manifest.permissions.includes("data:fetch")).map(async (x) => {
5750
- const C = Ie(t, "/proxy-token"), w = await fetch(C, {
5767
+ const C = Re(t, "/proxy-token"), w = await fetch(C, {
5751
5768
  method: "POST",
5752
5769
  headers: { "Content-Type": "application/json" },
5753
5770
  body: JSON.stringify({ appId: r, extensionId: x.id })
@@ -5767,12 +5784,12 @@ const qo = {
5767
5784
  }, 3300 * 1e3);
5768
5785
  return () => clearInterval(v);
5769
5786
  }, [i, t, r]);
5770
- const b = Mt(
5787
+ const b = Lt(
5771
5788
  () => ({
5772
5789
  "data.query": async (S) => (
5773
5790
  // TODO: verify payload
5774
5791
  // TODO: encryption???
5775
- Xo(S, o)
5792
+ Zo(S, o)
5776
5793
  ),
5777
5794
  "data.fetch": async (S, v) => {
5778
5795
  const h = d.get(S);
@@ -5784,7 +5801,7 @@ const qo = {
5784
5801
  error: "data.fetch: proxy token unavailable — ensure the extension has data:fetch permission and allowedDomains configured"
5785
5802
  }
5786
5803
  };
5787
- const x = Ie(t, "/proxy"), C = await fetch(x, {
5804
+ const x = Re(t, "/proxy"), C = await fetch(x, {
5788
5805
  method: "POST",
5789
5806
  headers: {
5790
5807
  "Content-Type": "application/json",
@@ -5824,29 +5841,29 @@ const qo = {
5824
5841
  [t, r, o, s, a, d]
5825
5842
  );
5826
5843
  return f ? /* @__PURE__ */ T(he, { children: [
5827
- /* @__PURE__ */ c(ir, { extensions: i, capabilityHandlers: b, components: qa(), children: n }),
5828
- /* @__PURE__ */ c(Ka, { extensions: i })
5844
+ /* @__PURE__ */ c(dr, { extensions: i, capabilityHandlers: b, components: Ka(), children: n }),
5845
+ /* @__PURE__ */ c(Qa, { extensions: i })
5829
5846
  ] }) : null;
5830
- }, Ja = { dark: "dark", light: "widget-theme-light" }, Ko = ({ children: e, theme: t = "inherit" }) => /* @__PURE__ */ c("div", { "data-id": "widget-body", className: Ja[t], children: /* @__PURE__ */ c("div", { className: "h-[700px] w-[900px] overflow-hidden rounded-md ring ring-zinc-200 dark:ring-zinc-300", children: /* @__PURE__ */ c("div", { className: "flex h-full w-full flex-col overflow-hidden rounded-md bg-muted dark:bg-background text-foreground", children: e }) }) }), Zo = ({ onClick: e, icon: t = vr }) => /* @__PURE__ */ c("div", { className: "fixed bottom-8 right-8 z-50", children: /* @__PURE__ */ c(
5831
- Go,
5847
+ }, ti = { dark: "dark", light: "widget-theme-light" }, Jo = ({ children: e, theme: t = "inherit" }) => /* @__PURE__ */ c("div", { "data-id": "widget-body", className: ti[t], children: /* @__PURE__ */ c("div", { className: "h-[700px] w-[900px] overflow-hidden rounded-md ring ring-zinc-200 dark:ring-zinc-300", children: /* @__PURE__ */ c("div", { className: "flex h-full w-full flex-col overflow-hidden rounded-md bg-muted dark:bg-background text-foreground", children: e }) }) }), Qo = ({ onClick: e, icon: t = yr }) => /* @__PURE__ */ c("div", { className: "fixed bottom-8 right-8 z-50", children: /* @__PURE__ */ c(
5848
+ Yo,
5832
5849
  {
5833
5850
  className: "h-12 w-12 rounded-full",
5834
5851
  size: "icon",
5835
5852
  onClick: e,
5836
5853
  children: /* @__PURE__ */ c(t, { className: "h-6 w-6" })
5837
5854
  }
5838
- ) }), di = ({ children: e, icon: t, theme: o }) => {
5855
+ ) }), mi = ({ children: e, icon: t, theme: o }) => {
5839
5856
  const [r, n] = U(!1);
5840
5857
  return /* @__PURE__ */ T(he, { children: [
5841
- /* @__PURE__ */ c(Zo, { onClick: () => {
5858
+ /* @__PURE__ */ c(Qo, { onClick: () => {
5842
5859
  n(!r);
5843
5860
  }, icon: t }),
5844
- r && /* @__PURE__ */ c("div", { "data-id": "widget-container", className: "overflow-hidden fixed bottom-24 right-8 z-1000 rounded-md shadow-xl", children: /* @__PURE__ */ c(Ko, { theme: o, children: e }) })
5861
+ r && /* @__PURE__ */ c("div", { "data-id": "widget-container", className: "overflow-hidden fixed bottom-24 right-8 z-1000 rounded-md shadow-xl", children: /* @__PURE__ */ c(Jo, { theme: o, children: e }) })
5845
5862
  ] });
5846
- }, ui = {
5847
- Body: Ko,
5848
- Launcher: Zo
5849
- }, Qa = ({ href: e, children: t }) => /* @__PURE__ */ c(
5863
+ }, pi = {
5864
+ Body: Jo,
5865
+ Launcher: Qo
5866
+ }, oi = ({ href: e, children: t }) => /* @__PURE__ */ c(
5850
5867
  "a",
5851
5868
  {
5852
5869
  href: e,
@@ -5855,7 +5872,7 @@ const qo = {
5855
5872
  className: "text-zinc-500 opacity-80 transition-colors hover:text-zinc-900 hover:opacity-100",
5856
5873
  children: t
5857
5874
  }
5858
- ), ei = (e, t) => {
5875
+ ), ri = (e, t) => {
5859
5876
  const [o, r] = U(null), [n, s] = U(!1), [a, i] = U(null);
5860
5877
  return V(() => {
5861
5878
  if (!e) {
@@ -5865,7 +5882,7 @@ const qo = {
5865
5882
  (async () => {
5866
5883
  s(!0), i(null);
5867
5884
  try {
5868
- const d = await Xo({
5885
+ const d = await Zo({
5869
5886
  action: "getCustomer",
5870
5887
  customerId: e
5871
5888
  }, t);
@@ -5877,11 +5894,11 @@ const qo = {
5877
5894
  }
5878
5895
  })();
5879
5896
  }, [e, t]), { customer: o, loading: n, error: a };
5880
- }, ti = ({ customerId: e, customerEmail: t, hostBase: o, children: r }) => {
5897
+ }, ni = ({ customerId: e, customerEmail: t, hostBase: o, children: r }) => {
5881
5898
  var l, d;
5882
- const { customer: n, loading: s, error: a } = ei(e, o);
5899
+ const { customer: n, loading: s, error: a } = ri(e, o);
5883
5900
  if (s)
5884
- return /* @__PURE__ */ c(me, { className: "border-none shadow-none bg-transparent", children: /* @__PURE__ */ c(pe, { className: "flex items-center justify-center p-6", children: /* @__PURE__ */ c(Ut, { className: "h-6 w-6 animate-spin text-muted-foreground" }) }) });
5901
+ return /* @__PURE__ */ c(me, { className: "border-none shadow-none bg-transparent", children: /* @__PURE__ */ c(pe, { className: "flex items-center justify-center p-6", children: /* @__PURE__ */ c(jt, { className: "h-6 w-6 animate-spin text-muted-foreground" }) }) });
5885
5902
  if (a || !n) {
5886
5903
  const u = t ? t.split("@")[0] : e ? `Customer ${e.slice(-4)}` : "Customer", f = u.split(/[\s._-]+/).map((p) => p[0]).join("").slice(0, 2).toUpperCase();
5887
5904
  return /* @__PURE__ */ c(me, { className: "border-none px-0 py-0 mb-4 shadow-none bg-transparent", children: /* @__PURE__ */ T(pe, { className: "p-4 pb-0 pt-2", children: [
@@ -5935,7 +5952,7 @@ const qo = {
5935
5952
  /* @__PURE__ */ c("div", { className: "py-1 rounded-lg flex justify-center gap-1", children: r })
5936
5953
  ] })
5937
5954
  ] }) }) });
5938
- }, Jo = (e, t) => {
5955
+ }, er = (e, t) => {
5939
5956
  V(() => {
5940
5957
  const o = t.current;
5941
5958
  if (!o) return;
@@ -5949,9 +5966,9 @@ const qo = {
5949
5966
  n.disconnect(), r == null || r.remove();
5950
5967
  };
5951
5968
  }, [e, t]);
5952
- }, oi = ({ customization: e }) => {
5969
+ }, si = ({ customization: e }) => {
5953
5970
  const t = ae(null);
5954
- return Jo("widget_conversations", t), V(() => {
5971
+ return er("widget_conversations", t), V(() => {
5955
5972
  !window.zE || !t.current || e && window.zE("messenger:set", "customization", {
5956
5973
  conversationList: e
5957
5974
  });
@@ -5962,9 +5979,9 @@ const qo = {
5962
5979
  className: "h-full overflow-hidden"
5963
5980
  }
5964
5981
  );
5965
- }, ri = ({ customization: e }) => {
5982
+ }, ai = ({ customization: e }) => {
5966
5983
  const t = ae(null);
5967
- return Jo("widget_messages", t), V(() => {
5984
+ return er("widget_messages", t), V(() => {
5968
5985
  !window.zE || !t.current || e && window.zE("messenger:set", "customization", {
5969
5986
  messageLog: e
5970
5987
  });
@@ -5975,7 +5992,7 @@ const qo = {
5975
5992
  className: "h-full overflow-hidden"
5976
5993
  }
5977
5994
  );
5978
- }, qe = 25, Ye = 75, fi = ({
5995
+ }, qe = 25, Ye = 75, hi = ({
5979
5996
  header: e,
5980
5997
  buttons: t,
5981
5998
  hostBase: o,
@@ -6002,17 +6019,17 @@ const qo = {
6002
6019
  }
6003
6020
  const N = setInterval(() => {
6004
6021
  C() && (S(!0), clearInterval(N));
6005
- }, 100), I = setTimeout(() => {
6022
+ }, 100), R = setTimeout(() => {
6006
6023
  clearInterval(N), console.warn("Zendesk widget failed to load after 10 seconds");
6007
6024
  }, 1e4);
6008
6025
  return () => {
6009
- clearInterval(N), clearTimeout(I);
6026
+ clearInterval(N), clearTimeout(R);
6010
6027
  };
6011
6028
  }, [C]);
6012
6029
  const w = _e((N) => {
6013
- const { detail: I } = N;
6014
- if (!window.zE || !I.payload || (I == null ? void 0 : I.action) !== "newConversation") return !1;
6015
- window.zE("messenger:ui", "newConversation", I.payload);
6030
+ const { detail: R } = N;
6031
+ if (!window.zE || !R.payload || (R == null ? void 0 : R.action) !== "newConversation") return !1;
6032
+ window.zE("messenger:ui", "newConversation", R.payload);
6016
6033
  }, []);
6017
6034
  V(() => (window.addEventListener("ext-new-conversation", w), () => {
6018
6035
  window.removeEventListener("ext-new-conversation", w);
@@ -6027,20 +6044,20 @@ const qo = {
6027
6044
  Math.min(Ye, O)
6028
6045
  );
6029
6046
  u(K);
6030
- }, I = () => {
6047
+ }, R = () => {
6031
6048
  h(!1), document.body.style.cursor = "", document.body.style.userSelect = "";
6032
6049
  };
6033
- return document.body.style.cursor = f ? "col-resize" : "row-resize", document.body.style.userSelect = "none", window.addEventListener("mousemove", N), window.addEventListener("mouseup", I), window.addEventListener("blur", I), () => {
6034
- window.removeEventListener("mousemove", N), window.removeEventListener("mouseup", I), window.removeEventListener("blur", I), document.body.style.cursor = "", document.body.style.userSelect = "";
6050
+ return document.body.style.cursor = f ? "col-resize" : "row-resize", document.body.style.userSelect = "none", window.addEventListener("mousemove", N), window.addEventListener("mouseup", R), window.addEventListener("blur", R), () => {
6051
+ window.removeEventListener("mousemove", N), window.removeEventListener("mouseup", R), window.removeEventListener("blur", R), document.body.style.cursor = "", document.body.style.userSelect = "";
6035
6052
  };
6036
6053
  }, [v, f]), V(() => {
6037
6054
  if (!x.current) return;
6038
- const N = x.current, I = () => {
6055
+ const N = x.current, R = () => {
6039
6056
  const E = getComputedStyle(N).flexDirection === "row";
6040
6057
  p(E);
6041
6058
  };
6042
- I();
6043
- const g = new ResizeObserver(I);
6059
+ R();
6060
+ const g = new ResizeObserver(R);
6044
6061
  return g.observe(N), () => {
6045
6062
  g.disconnect();
6046
6063
  };
@@ -6081,7 +6098,7 @@ const qo = {
6081
6098
  i === "account" ? "border-border bg-background text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
6082
6099
  ),
6083
6100
  title: "My Account",
6084
- children: /* @__PURE__ */ c(jt, { className: "h-4 w-4" })
6101
+ children: /* @__PURE__ */ c(Vt, { className: "h-4 w-4" })
6085
6102
  }
6086
6103
  ),
6087
6104
  /* @__PURE__ */ c(
@@ -6094,7 +6111,7 @@ const qo = {
6094
6111
  i === "conversations" ? "border-border bg-background text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
6095
6112
  ),
6096
6113
  title: "Conversations",
6097
- children: /* @__PURE__ */ c(Wt, { className: "h-4 w-4" })
6114
+ children: /* @__PURE__ */ c(Ht, { className: "h-4 w-4" })
6098
6115
  }
6099
6116
  )
6100
6117
  ] })
@@ -6102,7 +6119,7 @@ const qo = {
6102
6119
  ] }),
6103
6120
  /* @__PURE__ */ T("div", { className: "flex-1 overflow-y-auto p-4 relative", children: [
6104
6121
  /* @__PURE__ */ T("div", { className: z("flex flex-col gap-2", i === "conversations" && "hidden"), children: [
6105
- /* @__PURE__ */ c(ti, { customerId: r, customerEmail: n, hostBase: o, children: /* @__PURE__ */ c(
6122
+ /* @__PURE__ */ c(ni, { customerId: r, customerEmail: n, hostBase: o, children: /* @__PURE__ */ c(
6106
6123
  Ce,
6107
6124
  {
6108
6125
  target: "slot.header",
@@ -6122,7 +6139,7 @@ const qo = {
6122
6139
  /* @__PURE__ */ c("div", { className: z(
6123
6140
  "h-full rounded-xl border border-zinc-200 bg-white p-2 shadow-sm dark:border-zinc-300",
6124
6141
  i === "account" && "hidden"
6125
- ), children: /* @__PURE__ */ c(oi, {}) })
6142
+ ), children: /* @__PURE__ */ c(si, {}) })
6126
6143
  ] })
6127
6144
  ]
6128
6145
  }
@@ -6134,7 +6151,7 @@ const qo = {
6134
6151
  className: "min-h-0 min-w-0 flex-none flex flex-col bg-white",
6135
6152
  style: { flexBasis: `${100 - d}%` },
6136
6153
  children: [
6137
- /* @__PURE__ */ c("div", { className: "flex-1 overflow-hidden", children: /* @__PURE__ */ c(ri, {}) }),
6154
+ /* @__PURE__ */ c("div", { className: "flex-1 overflow-hidden", children: /* @__PURE__ */ c(ai, {}) }),
6138
6155
  /* @__PURE__ */ T("div", { className: "flex flex-wrap items-center justify-end gap-1 py-1 mr-4 text-xs text-zinc-500", children: [
6139
6156
  /* @__PURE__ */ c(
6140
6157
  Ce,
@@ -6144,7 +6161,7 @@ const qo = {
6144
6161
  className: "flex items-center gap-1",
6145
6162
  fallback: /* @__PURE__ */ T(he, { children: [
6146
6163
  /* @__PURE__ */ c("div", { children: "powered by" }),
6147
- /* @__PURE__ */ c(Qa, { href: "https://zendesk.com", children: "Zendesk" })
6164
+ /* @__PURE__ */ c(oi, { href: "https://zendesk.com", children: "Zendesk" })
6148
6165
  ] })
6149
6166
  }
6150
6167
  ),
@@ -6155,8 +6172,8 @@ const qo = {
6155
6172
  context: P,
6156
6173
  className: "flex items-center gap-1",
6157
6174
  separator: /* @__PURE__ */ c("span", { className: "text-zinc-300", children: "/" }),
6158
- render: ({ children: N, index: I }) => /* @__PURE__ */ T(he, { children: [
6159
- I === 0 && /* @__PURE__ */ c("span", { className: "text-zinc-300", children: "+" }),
6175
+ render: ({ children: N, index: R }) => /* @__PURE__ */ T(he, { children: [
6176
+ R === 0 && /* @__PURE__ */ c("span", { className: "text-zinc-300", children: "+" }),
6160
6177
  N
6161
6178
  ] })
6162
6179
  }
@@ -6201,31 +6218,31 @@ const qo = {
6201
6218
  )
6202
6219
  ] })
6203
6220
  ] });
6204
- }, ni = "ze-snippet", zt = (e) => `https://static.zdassets.com/ekr/snippet.js?key=${encodeURIComponent(e)}`, si = (e, t = {}) => {
6221
+ }, ii = "ze-snippet", Mt = (e) => `https://static.zdassets.com/ekr/snippet.js?key=${encodeURIComponent(e)}`, li = (e, t = {}) => {
6205
6222
  if (typeof window > "u" || typeof document > "u" || !e)
6206
6223
  return Promise.resolve();
6207
- const { autorender: o = !1, scriptId: r = ni } = t;
6224
+ const { autorender: o = !1, scriptId: r = ii } = t;
6208
6225
  window.zEMessenger = { autorender: o };
6209
6226
  const n = document.getElementById(r);
6210
6227
  if (n) {
6211
- if (n.getAttribute("src") === zt(e))
6228
+ if (n.getAttribute("src") === Mt(e))
6212
6229
  return Promise.resolve();
6213
6230
  n.remove();
6214
6231
  }
6215
6232
  return new Promise((s, a) => {
6216
6233
  const i = document.createElement("script");
6217
- i.id = r, i.src = zt(e), i.async = !0, i.onload = () => s(), i.onerror = () => a(new Error("Failed to load Zendesk snippet")), document.head.appendChild(i);
6234
+ i.id = r, i.src = Mt(e), i.async = !0, i.onload = () => s(), i.onerror = () => a(new Error("Failed to load Zendesk snippet")), document.head.appendChild(i);
6218
6235
  });
6219
- }, mi = ({ config: e }) => (V(() => {
6220
- e.snippetKey && si(e.snippetKey, { autorender: e.autorender }).catch((t) => {
6236
+ }, gi = ({ config: e }) => (V(() => {
6237
+ e.snippetKey && li(e.snippetKey, { autorender: e.autorender }).catch((t) => {
6221
6238
  console.error("Failed to initialize Zendesk snippet:", t);
6222
6239
  });
6223
6240
  }, [e.autorender, e.snippetKey]), null);
6224
6241
  export {
6225
- ci as ExtensionSetup,
6226
- ui as Widget,
6227
- di as WidgetComponent,
6228
- fi as ZendeskMessenger,
6229
- mi as ZendeskScript,
6230
- si as loadZendeskSnippet
6242
+ fi as ExtensionSetup,
6243
+ pi as Widget,
6244
+ mi as WidgetComponent,
6245
+ hi as ZendeskMessenger,
6246
+ gi as ZendeskScript,
6247
+ li as loadZendeskSnippet
6231
6248
  };