@tempots/beatui 0.8.0 → 0.9.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.
package/dist/index.es.js CHANGED
@@ -5,9 +5,9 @@ var Qe = (e) => {
5
5
  var Nt = (e, n, t) => n in e ? Mt(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
6
6
  var T = (e, n, t) => Nt(e, typeof n != "symbol" ? n + "" : n, t), Wt = (e, n, t) => n.has(e) || Qe("Cannot " + t);
7
7
  var H = (e, n, t) => (Wt(e, n, "read from private field"), t ? t.call(e) : n.get(e)), xe = (e, n, t) => n.has(e) ? Qe("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(e) : n.set(e, t);
8
- import { makeProviderMark as He, localStorageProp as Pe, computedOf as w, html as h, attr as a, Value as $, Empty as C, dataAttr as he, When as z, Ensure as Me, aria as A, WithElement as M, OnDispose as G, Fragment as I, input as se, on as m, emitValue as B, emitValueAsDate as qt, Use as W, ForEach as Ne, OneOfType as Rt, style as v, emitValueAsNullableDate as Ut, emitValueAsNullableDateTime as zt, emitValueAsNumber as Oe, prop as q, Repeat as Gt, signal as Je, Portal as ut, emitChecked as Kt, WithProvider as Zt, OneOfValue as Xt, WithBrowserCtx as Yt, render as Qt, MapSignal as Jt, svg as et, svgAttr as tt } from "@tempots/dom";
9
- import { Use as _l } from "@tempots/dom";
10
- import { WhenInViewport as en, Resource as dt, useAppearance as tn, AutoSelect as nn, ElementRect as ye, Location as Ae, WindowSize as rn, PopOver as on, Anchor as We } from "@tempots/ui";
8
+ import { makeProviderMark as Ae, localStorageProp as Oe, computedOf as $, html as h, attr as a, Value as w, Empty as C, dataAttr as he, When as G, Ensure as Me, aria as A, WithElement as M, OnDispose as R, Fragment as I, input as se, on as m, emitValue as B, emitValueAsDate as Rt, Use as W, ForEach as Ne, OneOfType as qt, style as v, emitValueAsNullableDate as Ut, emitValueAsNullableDateTime as zt, emitValueAsNumber as je, prop as q, Repeat as Gt, signal as Je, Portal as ut, emitChecked as Kt, WithProvider as Zt, OneOfValue as Xt, Provide as Yt, WithBrowserCtx as Qt, render as Jt, MapSignal as en, svg as et, svgAttr as tt } from "@tempots/dom";
9
+ import { Use as Bl } from "@tempots/dom";
10
+ import { WhenInViewport as tn, Resource as dt, useAppearance as nn, AutoSelect as rn, ElementRect as ye, Location as Te, WindowSize as on, PopOver as ln, Anchor as We } from "@tempots/ui";
11
11
  const pt = {
12
12
  loadingExtended: () => "Loading, please wait",
13
13
  loadingShort: () => "Loading...",
@@ -48,10 +48,10 @@ const pt = {
48
48
  he: () => "Hebrew",
49
49
  fa: () => "Persian",
50
50
  ur: () => "Urdu"
51
- }, ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
51
+ }, an = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
52
52
  __proto__: null,
53
53
  default: pt
54
- }, Symbol.toStringTag, { value: "Module" })), an = pt, sn = "en", cn = (e, n, t) => {
54
+ }, Symbol.toStringTag, { value: "Module" })), sn = pt, cn = "en", un = (e, n, t) => {
55
55
  const r = e[n];
56
56
  return r ? typeof r == "function" ? r() : Promise.resolve(r) : new Promise((o, l) => {
57
57
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
@@ -63,7 +63,7 @@ const pt = {
63
63
  )
64
64
  );
65
65
  });
66
- }, un = /* @__PURE__ */ new Set([
66
+ }, dn = /* @__PURE__ */ new Set([
67
67
  "ar",
68
68
  // Arabic
69
69
  "he",
@@ -92,21 +92,21 @@ const pt = {
92
92
  function ht(e) {
93
93
  if (!e) return "ltr";
94
94
  const n = e.split(/[-_]/)[0].toLowerCase();
95
- return un.has(n) ? "rtl" : "ltr";
95
+ return dn.has(n) ? "rtl" : "ltr";
96
96
  }
97
- function dn(e, n) {
97
+ function pn(e, n) {
98
98
  return e === "auto" ? ht(n) : e;
99
99
  }
100
- function ao(e) {
100
+ function co(e) {
101
101
  return `b-${e}`;
102
102
  }
103
- function so(e) {
103
+ function io(e) {
104
104
  return ht(e) === "rtl";
105
105
  }
106
- function co(e) {
106
+ function uo(e) {
107
107
  return e === "ltr" ? "rtl" : "ltr";
108
108
  }
109
- const pn = {
109
+ const hn = {
110
110
  ltr: {
111
111
  "inline-start": "left",
112
112
  "inline-end": "right",
@@ -120,23 +120,23 @@ const pn = {
120
120
  "block-end": "bottom"
121
121
  }
122
122
  };
123
- function io(e, n) {
124
- return pn[n][e];
123
+ function po(e, n) {
124
+ return hn[n][e];
125
125
  }
126
126
  const we = {
127
- mark: He("Locale"),
127
+ mark: Ae("Locale"),
128
128
  create: (e) => {
129
- const n = Pe({
129
+ const n = Oe({
130
130
  defaultValue: navigator.language ?? "en-US",
131
131
  key: "beatui-locale"
132
- }), t = Pe({
132
+ }), t = Oe({
133
133
  defaultValue: "auto",
134
134
  key: "beatui-direction-preference"
135
- }), r = w(
135
+ }), r = $(
136
136
  n,
137
137
  t
138
138
  )(
139
- (l, s) => dn(s, l)
139
+ (l, s) => pn(s, l)
140
140
  );
141
141
  return {
142
142
  value: {
@@ -152,22 +152,22 @@ const we = {
152
152
  };
153
153
  }
154
154
  };
155
- function Te(e) {
155
+ function Ie(e) {
156
156
  return `bc-label bc-label--${e}`;
157
157
  }
158
- const uo = (...e) => h.span(a.class(Te("emphasis")), ...e), bt = (...e) => h.span(a.class(Te("default")), ...e), hn = (...e) => h.span(a.class(Te("muted")), ...e), po = (...e) => h.span(a.class(Te("error")), ...e), nt = /* @__PURE__ */ new Map();
158
+ const ho = (...e) => h.span(a.class(Ie("emphasis")), ...e), bt = (...e) => h.span(a.class(Ie("default")), ...e), bn = (...e) => h.span(a.class(Ie("muted")), ...e), bo = (...e) => h.span(a.class(Ie("error")), ...e), nt = /* @__PURE__ */ new Map();
159
159
  function ue(e) {
160
160
  const n = nt.get(e) ?? 0;
161
161
  return nt.set(e, n + 1), `${e}-${n}`;
162
162
  }
163
- const bn = h.span(
163
+ const fn = h.span(
164
164
  a.class("bc-input-wrapper__required"),
165
165
  " *"
166
166
  );
167
- function fn() {
167
+ function gn() {
168
168
  return "bc-input-wrapper";
169
169
  }
170
- function gn(e, n) {
170
+ function mn(e, n) {
171
171
  const t = ["bc-input-wrapper__label-text"];
172
172
  return e ? t.push("bc-input-wrapper__label-text--error") : n ? t.push("bc-input-wrapper__label-text--disabled") : t.push("bc-input-wrapper__label-text--default"), t.join(" ");
173
173
  }
@@ -182,9 +182,9 @@ const ft = ({
182
182
  hasError: u,
183
183
  disabled: c
184
184
  }, ...i) => {
185
- const p = u ?? $.map(l ?? null, (y) => y != null), d = c ?? !1, f = ue("input-wrapper"), b = r ? `${f}-description` : void 0, k = l ? `${f}-error` : void 0;
185
+ const p = u ?? w.map(l ?? null, (y) => y != null), d = c ?? !1, f = ue("input-wrapper"), b = r ? `${f}-description` : void 0, k = l ? `${f}-error` : void 0;
186
186
  return h.div(
187
- a.class(fn()),
187
+ a.class(gn()),
188
188
  n != null || t != null ? h.div(
189
189
  a.class("bc-input-wrapper__header"),
190
190
  h.label(
@@ -192,11 +192,11 @@ const ft = ({
192
192
  s != null ? a.for(s) : C,
193
193
  h.span(
194
194
  a.class(
195
- w(
195
+ $(
196
196
  p,
197
197
  d
198
198
  )(
199
- (y, S) => gn(
199
+ (y, S) => mn(
200
200
  y ?? !1,
201
201
  S ?? !1
202
202
  )
@@ -204,7 +204,7 @@ const ft = ({
204
204
  ),
205
205
  n
206
206
  ),
207
- n != null && e ? bn : C
207
+ n != null && e ? fn : C
208
208
  ),
209
209
  t != null ? bt(t) : C
210
210
  ) : C,
@@ -215,7 +215,7 @@ const ft = ({
215
215
  [b, k].filter(Boolean).join(" ")
216
216
  ) : C,
217
217
  e ? he.required("true") : C,
218
- z(p, () => he.invalid("true")),
218
+ G(p, () => he.invalid("true")),
219
219
  o
220
220
  ),
221
221
  r != null ? h.div(
@@ -238,7 +238,7 @@ const ft = ({
238
238
  ...i
239
239
  );
240
240
  };
241
- function mn() {
241
+ function kn() {
242
242
  return "bc-control-input-wrapper";
243
243
  }
244
244
  const K = ({
@@ -249,7 +249,7 @@ const K = ({
249
249
  content: o,
250
250
  controller: l
251
251
  }, ...s) => h.div(
252
- a.class(mn()),
252
+ a.class(kn()),
253
253
  ft(
254
254
  {
255
255
  required: e,
@@ -274,7 +274,7 @@ const K = ({
274
274
  focusableSelector: s = "input, select, textarea",
275
275
  growInput: u = !0
276
276
  }) => {
277
- const c = $.map(n ?? !1, (p) => p);
277
+ const c = w.map(n ?? !1, (p) => p);
278
278
  function i(p, d) {
279
279
  const f = ["bc-input-container"];
280
280
  return p ? f.push("bc-input-container--disabled") : f.push("bc-input-container--default"), d && f.push("bc-input-container--error"), f.join(" ");
@@ -286,10 +286,10 @@ const K = ({
286
286
  const f = p.querySelector(s);
287
287
  f == null || f.focus();
288
288
  };
289
- return p.addEventListener("click", d), G(() => p.removeEventListener("click", d));
289
+ return p.addEventListener("click", d), R(() => p.removeEventListener("click", d));
290
290
  }),
291
291
  a.class(
292
- w(
292
+ $(
293
293
  c,
294
294
  l ?? !1
295
295
  )(
@@ -300,7 +300,7 @@ const K = ({
300
300
  h.div(
301
301
  a.class("bc-input-container__input"),
302
302
  a.class(
303
- $.map(
303
+ w.map(
304
304
  u,
305
305
  (p) => p ? "bc-input-container__input--grow" : ""
306
306
  )
@@ -330,7 +330,7 @@ const K = ({
330
330
  disabled: e.disabled,
331
331
  value: e.value,
332
332
  hasError: e.hasError
333
- }), qe = (e, n) => ({
333
+ }), Re = (e, n) => ({
334
334
  ...Y(e),
335
335
  value: e.value.map(n)
336
336
  }), gt = (e) => {
@@ -342,10 +342,10 @@ const K = ({
342
342
  a.valueAsDate(n),
343
343
  a.class("bc-input"),
344
344
  t != null ? m.blur(B(t)) : C,
345
- r != null ? m.change(qt(r)) : C
345
+ r != null ? m.change(Rt(r)) : C
346
346
  )
347
347
  });
348
- }, kn = (e) => {
348
+ }, xn = (e) => {
349
349
  const { value: n, onBlur: t, onChange: r, onInput: o } = e;
350
350
  return Q({
351
351
  ...e,
@@ -373,17 +373,17 @@ const K = ({
373
373
  }
374
374
  ), ee = (e, n) => (t) => {
375
375
  e.change(t), n == null || n(t);
376
- }, Re = (e, n, t) => (r) => {
376
+ }, qe = (e, n, t) => (r) => {
377
377
  const o = n(r);
378
378
  e.change(o), t == null || t(o);
379
- }, ho = (e, n, t) => (r) => {
379
+ }, fo = (e, n, t) => (r) => {
380
380
  n(r) ? (e.change(null), t == null || t(null)) : (e.change(r), t == null || t(r));
381
- }, bo = (e, ...n) => {
381
+ }, go = (e, ...n) => {
382
382
  const { onBlur: t, onChange: r, ...o } = e;
383
383
  return K(
384
384
  {
385
385
  ...o,
386
- content: kn({
386
+ content: xn({
387
387
  ...o,
388
388
  ...Y(o.controller),
389
389
  onChange: ee(o.controller, r),
@@ -392,7 +392,7 @@ const K = ({
392
392
  },
393
393
  ...n
394
394
  );
395
- }, fo = (e, ...n) => {
395
+ }, mo = (e, ...n) => {
396
396
  const { onBlur: t, onChange: r, ...o } = e;
397
397
  return K(
398
398
  {
@@ -406,27 +406,27 @@ const K = ({
406
406
  },
407
407
  ...n
408
408
  );
409
- }, xn = (e) => {
409
+ }, vn = (e) => {
410
410
  const n = e.getFullYear(), t = (e.getMonth() + 1).toString().padStart(2, "0"), r = e.getDate().toString().padStart(2, "0"), o = e.getHours().toString().padStart(2, "0"), l = e.getMinutes().toString().padStart(2, "0");
411
411
  return `${n}-${t}-${r}T${o}:${l}`;
412
- }, vn = (e) => {
412
+ }, yn = (e) => {
413
413
  const { value: n, onBlur: t, onChange: r } = e;
414
414
  return Q({
415
415
  ...e,
416
416
  input: se["datetime-local"](
417
417
  J(e),
418
- a.value($.map(n, xn)),
418
+ a.value(w.map(n, vn)),
419
419
  a.class("bc-input"),
420
420
  t != null ? m.blur(B(t)) : C,
421
421
  r != null ? m.change(B((o) => r(new Date(o)))) : C
422
422
  )
423
423
  });
424
- }, go = (e, ...n) => {
424
+ }, ko = (e, ...n) => {
425
425
  const { onBlur: t, onChange: r, ...o } = e;
426
426
  return K(
427
427
  {
428
428
  ...o,
429
- content: vn({
429
+ content: yn({
430
430
  ...o,
431
431
  ...Y(o.controller),
432
432
  onChange: ee(o.controller, r),
@@ -435,7 +435,7 @@ const K = ({
435
435
  },
436
436
  ...n
437
437
  );
438
- }, yn = (e) => {
438
+ }, wn = (e) => {
439
439
  const n = {
440
440
  name: "email",
441
441
  autocomplete: "email",
@@ -453,13 +453,13 @@ const K = ({
453
453
  l != null ? m.input(B(l)) : C
454
454
  )
455
455
  });
456
- }, mo = (e, ...n) => {
456
+ }, xo = (e, ...n) => {
457
457
  const { onChange: t, onBlur: r, ...o } = e;
458
458
  return K(
459
459
  {
460
460
  label: "Email",
461
461
  ...o,
462
- content: yn({
462
+ content: wn({
463
463
  ...o,
464
464
  ...Y(o.controller),
465
465
  onChange: ee(o.controller, t),
@@ -468,20 +468,20 @@ const K = ({
468
468
  },
469
469
  ...n
470
470
  );
471
- }, ko = {
471
+ }, vo = {
472
472
  filling: { type: "filling" },
473
473
  submitting: { type: "submitting" },
474
474
  error: (e) => ({ type: "error", error: e }),
475
475
  success: { type: "success" }
476
- }, Ue = "$$tts-exp-", wn = (e, n) => M((t) => {
476
+ }, Ue = "$$tts-exp-", $n = (e, n) => M((t) => {
477
477
  const r = `${Ue}${e}`;
478
- return G($.on(n, (o) => Reflect.set(t, r, o)));
479
- }), xo = (e, n) => {
478
+ return R(w.on(n, (o) => Reflect.set(t, r, o)));
479
+ }), yo = (e, n) => {
480
480
  const t = `${Ue}${e}`;
481
481
  return (r) => {
482
482
  n(Reflect.get(r.target, t));
483
483
  };
484
- }, $n = (e, n) => {
484
+ }, Cn = (e, n) => {
485
485
  const t = `${Ue}${e}`;
486
486
  return (r) => {
487
487
  const o = r.target, l = o.selectedIndex, s = o.options[l];
@@ -507,16 +507,16 @@ const K = ({
507
507
  contains: (e, n, t = (r, o) => r === o) => $e.getOptionValues(e).some((r) => t(r, n))
508
508
  }, mt = (e, n, t) => Me(
509
509
  e,
510
- (r) => Rt(r, {
510
+ (r) => qt(r, {
511
511
  value: (o) => {
512
- const l = w(
512
+ const l = $(
513
513
  o,
514
514
  t
515
515
  )((s, u) => n(s.value, u));
516
516
  return h.option(
517
- G(l.dispose),
517
+ R(l.dispose),
518
518
  a.selected(l),
519
- wn("value", o.$.value),
519
+ $n("value", o.$.value),
520
520
  o.$.label
521
521
  );
522
522
  },
@@ -555,7 +555,7 @@ const K = ({
555
555
  const { removedNodes: d } = p[0];
556
556
  d.length > 0 && (u.selectedIndex = 0);
557
557
  });
558
- return i.observe(c, { childList: !0 }), G(() => i.disconnect());
558
+ return i.observe(c, { childList: !0 }), R(() => i.disconnect());
559
559
  }),
560
560
  J(e),
561
561
  a.class("focus:outline-none bg-transparent"),
@@ -566,19 +566,19 @@ const K = ({
566
566
  ),
567
567
  Ne(o, (c) => mt(c, s, n)),
568
568
  t != null ? m.blur(t) : C,
569
- r != null ? m.change($n("value", (c) => r(c))) : C
569
+ r != null ? m.change(Cn("value", (c) => r(c))) : C
570
570
  )
571
571
  });
572
- }, Cn = "bui-icons", Ce = /* @__PURE__ */ new Map(), kt = (() => {
572
+ }, Sn = "bui-icons", Ce = /* @__PURE__ */ new Map(), kt = (() => {
573
573
  try {
574
574
  return typeof indexedDB < "u" && indexedDB !== null;
575
575
  } catch {
576
576
  return !1;
577
577
  }
578
578
  })();
579
- function Sn() {
579
+ function En() {
580
580
  return kt ? new Promise((e, n) => {
581
- const t = indexedDB.open(Cn, 1);
581
+ const t = indexedDB.open(Sn, 1);
582
582
  t.onupgradeneeded = function(r) {
583
583
  const o = r.target.result;
584
584
  o.objectStoreNames.contains("icons") || o.createObjectStore("icons");
@@ -589,8 +589,8 @@ function Sn() {
589
589
  };
590
590
  }) : Promise.reject(new Error("IndexedDB not available"));
591
591
  }
592
- const Se = kt ? Sn() : null;
593
- function En(e, n) {
592
+ const Se = kt ? En() : null;
593
+ function _n(e, n) {
594
594
  return new Promise(async (t, r) => {
595
595
  try {
596
596
  if (Se) {
@@ -603,7 +603,7 @@ function En(e, n) {
603
603
  }
604
604
  });
605
605
  }
606
- function _n(e) {
606
+ function An(e) {
607
607
  return new Promise(async (n, t) => {
608
608
  try {
609
609
  if (Se) {
@@ -618,7 +618,7 @@ function _n(e) {
618
618
  }
619
619
  });
620
620
  }
621
- async function An(e) {
621
+ async function Tn(e) {
622
622
  const n = `https://api.iconify.design/${e}.svg`;
623
623
  return fetch(n).then((t) => {
624
624
  if (t.status === 200)
@@ -626,19 +626,19 @@ async function An(e) {
626
626
  throw new Error(`Failed to load icon: ${e}`);
627
627
  });
628
628
  }
629
- async function Tn(e) {
630
- const n = e.replace(":", "/"), t = await _n(n);
629
+ async function In(e) {
630
+ const n = e.replace(":", "/"), t = await An(n);
631
631
  if (t)
632
632
  return t;
633
- const r = await An(n);
634
- return await En(n, r), r;
633
+ const r = await Tn(n);
634
+ return await _n(n, r), r;
635
635
  }
636
- function In(e, n) {
636
+ function Bn(e, n) {
637
637
  const t = ["bc-icon", `bc-icon--${e}`];
638
638
  return n && t.push(`bu-fg--${n}`), t.join(" ");
639
639
  }
640
640
  function X({ icon: e, size: n = "md", color: t, title: r, accessibility: o = "auto" }, ...l) {
641
- const s = w(
641
+ const s = $(
642
642
  o,
643
643
  r
644
644
  )((u, c) => u === "decorative" ? !1 : u === "informative" ? !0 : c != null && c !== "");
@@ -646,22 +646,22 @@ function X({ icon: e, size: n = "md", color: t, title: r, accessibility: o = "au
646
646
  re,
647
647
  (u) => h.span(
648
648
  a.class(
649
- w(
649
+ $(
650
650
  n,
651
651
  t
652
- )((c, i) => In(c ?? "md", i))
652
+ )((c, i) => Bn(c ?? "md", i))
653
653
  ),
654
654
  // Add accessibility attributes based on icon type
655
- z(
655
+ G(
656
656
  s,
657
657
  () => I(a.role("img"), A.label(r ?? u.iconDescription())),
658
658
  () => A.hidden(!0)
659
659
  ),
660
- en(
660
+ tn(
661
661
  { once: !0 },
662
662
  () => dt({
663
663
  request: e,
664
- load: ({ request: c }) => Tn(c),
664
+ load: ({ request: c }) => In(c),
665
665
  mapError: String
666
666
  })({
667
667
  success: (c) => h.span(
@@ -672,7 +672,7 @@ function X({ icon: e, size: n = "md", color: t, title: r, accessibility: o = "au
672
672
  loading: () => h.span(
673
673
  a.class("animate-spin"),
674
674
  // Loading state accessibility
675
- z(
675
+ G(
676
676
  s,
677
677
  () => I(a.role("img"), A.label(u.loadingIcon())),
678
678
  () => A.hidden(!0)
@@ -683,7 +683,7 @@ function X({ icon: e, size: n = "md", color: t, title: r, accessibility: o = "au
683
683
  a.title(c),
684
684
  a.class("text-red-500"),
685
685
  // Error state accessibility
686
- z(
686
+ G(
687
687
  s,
688
688
  () => I(a.role("img"), A.label(u.failedToLoadIcon())),
689
689
  () => A.hidden(!0)
@@ -983,7 +983,7 @@ const Ge = {
983
983
  900: "oklch(0.216 0.006 56.043)",
984
984
  950: "oklch(0.147 0.004 49.25)"
985
985
  }
986
- }, D = (e) => Object.entries(e), Be = (e, n) => e === n || e !== e && n !== n, rt = (e, n) => {
986
+ }, D = (e) => Object.entries(e), Le = (e, n) => e === n || e !== e && n !== n, rt = (e, n) => {
987
987
  const t = setTimeout(e, n);
988
988
  return () => clearTimeout(t);
989
989
  }, ce = (e) => {
@@ -1009,19 +1009,19 @@ const Ge = {
1009
1009
  function vt(e) {
1010
1010
  return `--breakpoint-${e}`;
1011
1011
  }
1012
- function vo(e) {
1012
+ function wo(e) {
1013
1013
  return `var(${vt(e)})`;
1014
1014
  }
1015
- function yo(e) {
1015
+ function $o(e) {
1016
1016
  return `@media (width >= ${xt[e]})`;
1017
1017
  }
1018
- function Bn() {
1018
+ function Ln() {
1019
1019
  const e = {};
1020
1020
  return D(xt).forEach(([n, t]) => {
1021
1021
  e[vt(n)] = t;
1022
1022
  }), e;
1023
1023
  }
1024
- const Ln = [
1024
+ const Dn = [
1025
1025
  50,
1026
1026
  100,
1027
1027
  200,
@@ -1033,7 +1033,7 @@ const Ln = [
1033
1033
  800,
1034
1034
  900,
1035
1035
  950
1036
- ], Ie = [
1036
+ ], Be = [
1037
1037
  "primary",
1038
1038
  "secondary",
1039
1039
  "base",
@@ -1041,8 +1041,8 @@ const Ln = [
1041
1041
  "warning",
1042
1042
  "error",
1043
1043
  "info"
1044
- ], wo = [
1045
- ...Ie,
1044
+ ], Co = [
1045
+ ...Be,
1046
1046
  ...D(Ge).map(([e]) => e)
1047
1047
  ], yt = {
1048
1048
  primary: "blue",
@@ -1052,7 +1052,7 @@ const Ln = [
1052
1052
  warning: "amber",
1053
1053
  error: "red",
1054
1054
  info: "blue"
1055
- }, Dn = {
1055
+ }, Pn = {
1056
1056
  light: {
1057
1057
  background: ["base", 50],
1058
1058
  surface: ["base", 100],
@@ -1069,7 +1069,7 @@ const Ln = [
1069
1069
  raised: ["base", 600],
1070
1070
  overlay: ["base", 500]
1071
1071
  }
1072
- }, Pn = {
1072
+ }, On = {
1073
1073
  light: {
1074
1074
  normal: ["base", 900],
1075
1075
  muted: ["base", 600],
@@ -1080,7 +1080,7 @@ const Ln = [
1080
1080
  muted: ["base", 400],
1081
1081
  inverted: ["base", 900]
1082
1082
  }
1083
- }, On = {
1083
+ }, jn = {
1084
1084
  light: {
1085
1085
  border: ["base", 200],
1086
1086
  divider: ["base", 300],
@@ -1091,7 +1091,7 @@ const Ln = [
1091
1091
  divider: ["base", 600],
1092
1092
  inverted: ["base", 900]
1093
1093
  }
1094
- }, jn = {
1094
+ }, Vn = {
1095
1095
  light: {
1096
1096
  focus: ["info", 700],
1097
1097
  hover: ["base", 100],
@@ -1103,16 +1103,16 @@ const Ln = [
1103
1103
  active: ["base", 700]
1104
1104
  }
1105
1105
  };
1106
- function $o(e) {
1107
- return Ie.includes(e) ? yt[e] : e;
1106
+ function So(e) {
1107
+ return Be.includes(e) ? yt[e] : e;
1108
1108
  }
1109
- function je(e, n) {
1109
+ function Ve(e, n) {
1110
1110
  return `--color-${e}-${n}`;
1111
1111
  }
1112
1112
  function ve(e, n) {
1113
- return `var(${je(e, n)})`;
1113
+ return `var(${Ve(e, n)})`;
1114
1114
  }
1115
- const R = {
1115
+ const U = {
1116
1116
  // Special colors that don't follow the standard pattern
1117
1117
  special: {
1118
1118
  inherit: {
@@ -1181,7 +1181,7 @@ const R = {
1181
1181
  }
1182
1182
  }
1183
1183
  };
1184
- function Co() {
1184
+ function Eo() {
1185
1185
  let e = `/*
1186
1186
  * Background Utilities - Auto-generated from design tokens
1187
1187
  *
@@ -1198,7 +1198,7 @@ function Co() {
1198
1198
 
1199
1199
  @layer components {
1200
1200
  `;
1201
- D(R.special).forEach(([t, r]) => {
1201
+ D(U.special).forEach(([t, r]) => {
1202
1202
  e += ` .bu-bg--${t} {
1203
1203
  `, e += ` background-color: ${r.backgroundColor};
1204
1204
  `, e += ` color: ${r.color};
@@ -1207,12 +1207,12 @@ function Co() {
1207
1207
  `;
1208
1208
  });
1209
1209
  const n = [
1210
- ...Ie,
1210
+ ...Be,
1211
1211
  ...D(Ge).map(([t]) => t)
1212
1212
  ];
1213
1213
  return e += ` /* solid */
1214
1214
  `, n.forEach((t) => {
1215
- const r = R.variants.solid.light;
1215
+ const r = U.variants.solid.light;
1216
1216
  e += ` .bu-bg--${t} {
1217
1217
  `, e += ` background-color: var(--color-${t}-${r.bgShade});
1218
1218
  `, e += ` color: ${r.textColor};
@@ -1220,7 +1220,7 @@ function Co() {
1220
1220
  `;
1221
1221
  }), e += `
1222
1222
  `, n.forEach((t) => {
1223
- const r = R.variants.solid.dark;
1223
+ const r = U.variants.solid.dark;
1224
1224
  e += ` .b-dark .bu-bg--${t} {
1225
1225
  `, e += ` background-color: var(--color-${t}-${r.bgShade});
1226
1226
  `, e += ` color: ${r.textColor};
@@ -1228,14 +1228,14 @@ function Co() {
1228
1228
  `;
1229
1229
  }), e += `
1230
1230
  `, e += ` /* light */
1231
- `, D(R.special).forEach(([t, r]) => {
1231
+ `, D(U.special).forEach(([t, r]) => {
1232
1232
  e += ` .bu-bg--light-${t} {
1233
1233
  `, e += ` background-color: ${r.backgroundColor};
1234
1234
  `, e += ` color: ${r.color};
1235
1235
  `, e += ` }
1236
1236
  `;
1237
1237
  }), n.forEach((t) => {
1238
- const r = R.variants.light.light, o = R.overrides[t];
1238
+ const r = U.variants.light.light, o = U.overrides[t];
1239
1239
  o ? (e += ` .bu-bg--light-${t} {
1240
1240
  `, e += ` background-color: ${o.light.backgroundColor};
1241
1241
  `, e += ` color: ${o.light.color};
@@ -1247,8 +1247,8 @@ function Co() {
1247
1247
  `);
1248
1248
  }), e += `
1249
1249
  `, e += ` /* light dark */
1250
- `, D(R.special).forEach(([t, r]) => {
1251
- const o = R.overrides[t];
1250
+ `, D(U.special).forEach(([t, r]) => {
1251
+ const o = U.overrides[t];
1252
1252
  o ? (e += ` .b-dark .bu-bg--light-${t} {
1253
1253
  `, e += ` background-color: ${o.dark.backgroundColor};
1254
1254
  `, e += ` color: ${o.dark.color};
@@ -1259,7 +1259,7 @@ function Co() {
1259
1259
  `, e += ` }
1260
1260
  `);
1261
1261
  }), n.forEach((t) => {
1262
- const r = R.variants.light.dark, o = R.overrides[t];
1262
+ const r = U.variants.light.dark, o = U.overrides[t];
1263
1263
  o ? (e += ` .b-dark .bu-bg--light-${t} {
1264
1264
  `, e += ` background-color: ${o.dark.backgroundColor};
1265
1265
  `, e += ` color: ${o.dark.color};
@@ -1271,14 +1271,14 @@ function Co() {
1271
1271
  `);
1272
1272
  }), e += `
1273
1273
  `, e += ` /* lighter */
1274
- `, D(R.special).forEach(([t, r]) => {
1274
+ `, D(U.special).forEach(([t, r]) => {
1275
1275
  e += ` .bu-bg--lighter-${t} {
1276
1276
  `, e += ` background-color: ${r.backgroundColor};
1277
1277
  `, e += ` color: ${r.color};
1278
1278
  `, e += ` }
1279
1279
  `;
1280
1280
  }), n.forEach((t) => {
1281
- const r = R.variants.lighter.light, o = R.overrides[t];
1281
+ const r = U.variants.lighter.light, o = U.overrides[t];
1282
1282
  o ? (e += ` .bu-bg--lighter-${t} {
1283
1283
  `, e += ` background-color: ${o.light.backgroundColor};
1284
1284
  `, e += ` color: ${o.light.color};
@@ -1290,8 +1290,8 @@ function Co() {
1290
1290
  `);
1291
1291
  }), e += `
1292
1292
  `, e += ` /* light dark */
1293
- `, D(R.special).forEach(([t, r]) => {
1294
- const o = R.overrides[t];
1293
+ `, D(U.special).forEach(([t, r]) => {
1294
+ const o = U.overrides[t];
1295
1295
  o ? (e += ` .b-dark .bu-bg--lighter-${t} {
1296
1296
  `, e += ` background-color: ${o.dark.backgroundColor};
1297
1297
  `, e += ` color: ${o.dark.color};
@@ -1302,7 +1302,7 @@ function Co() {
1302
1302
  `, e += ` }
1303
1303
  `);
1304
1304
  }), n.forEach((t) => {
1305
- const r = R.variants.lighter.dark, o = R.overrides[t];
1305
+ const r = U.variants.lighter.dark, o = U.overrides[t];
1306
1306
  o ? (e += ` .b-dark .bu-bg--lighter-${t} {
1307
1307
  `, e += ` background-color: ${o.dark.backgroundColor};
1308
1308
  `, e += ` color: ${o.dark.color};
@@ -1315,36 +1315,36 @@ function Co() {
1315
1315
  }), e += `}
1316
1316
  `, e;
1317
1317
  }
1318
- function Vn() {
1318
+ function Fn() {
1319
1319
  const e = {};
1320
1320
  return e["--color-white"] = "white", e["--color-black"] = "black", e["--color-inherit"] = "inherit", D(Ge).forEach(([n, t]) => {
1321
1321
  D(t).forEach(([r, o]) => {
1322
- e[je(n, r)] = o;
1322
+ e[Ve(n, r)] = o;
1323
1323
  });
1324
- }), Ie.forEach((n) => {
1324
+ }), Be.forEach((n) => {
1325
1325
  const t = yt[n];
1326
- Ln.forEach((r) => {
1327
- e[je(n, r)] = ve(
1326
+ Dn.forEach((r) => {
1327
+ e[Ve(n, r)] = ve(
1328
1328
  t,
1329
1329
  r
1330
1330
  );
1331
1331
  });
1332
- }), D(Dn).forEach(([n, t]) => {
1332
+ }), D(Pn).forEach(([n, t]) => {
1333
1333
  D(t).forEach(([r, [o, l]]) => {
1334
1334
  e[`--bg-${r}-${n}`] = ve(o, l);
1335
1335
  });
1336
- }), D(Pn).forEach(([n, t]) => {
1336
+ }), D(On).forEach(([n, t]) => {
1337
1337
  D(t).forEach(([r, [o, l]]) => {
1338
1338
  e[`--text-${r}-${n}`] = ve(o, l);
1339
1339
  });
1340
- }), D(On).forEach(([n, t]) => {
1340
+ }), D(jn).forEach(([n, t]) => {
1341
1341
  D(t).forEach(([r, [o, l]]) => {
1342
1342
  e[`--border-${r}-${n}`] = ve(
1343
1343
  o,
1344
1344
  l
1345
1345
  );
1346
1346
  });
1347
- }), D(jn).forEach(([n, t]) => {
1347
+ }), D(Vn).forEach(([n, t]) => {
1348
1348
  D(t).forEach(([r, [o, l]]) => {
1349
1349
  e[`--interactive-${r}-${n}`] = ve(
1350
1350
  o,
@@ -1365,22 +1365,22 @@ const wt = {
1365
1365
  function $t(e) {
1366
1366
  return `--radius-${e}`;
1367
1367
  }
1368
- function So(e) {
1368
+ function _o(e) {
1369
1369
  return `var(${$t(e)})`;
1370
1370
  }
1371
- function Eo(e) {
1371
+ function Ao(e) {
1372
1372
  return `@media (width >= ${wt[e]})`;
1373
1373
  }
1374
- function Fn() {
1374
+ function Hn() {
1375
1375
  const e = {};
1376
1376
  return D(wt).forEach(([n, t]) => {
1377
1377
  e[$t(n)] = t;
1378
1378
  }), e;
1379
1379
  }
1380
- const Hn = "0.25rem", Mn = {
1380
+ const Mn = "0.25rem", Nn = {
1381
1381
  none: "0",
1382
1382
  px: "1px",
1383
- base: Hn,
1383
+ base: Mn,
1384
1384
  xs: "calc(var(--spacing-base) / 2)",
1385
1385
  sm: "var(--spacing-base)",
1386
1386
  md: "calc(var(--spacing-base) * 1.5)",
@@ -1394,12 +1394,12 @@ const Hn = "0.25rem", Mn = {
1394
1394
  function Ct(e) {
1395
1395
  return `--spacing-${e}`;
1396
1396
  }
1397
- function _o(e) {
1397
+ function To(e) {
1398
1398
  return `var(${Ct(e)})`;
1399
1399
  }
1400
- function Nn() {
1400
+ function Wn() {
1401
1401
  const e = {};
1402
- return D(Mn).forEach(([n, t]) => {
1402
+ return D(Nn).forEach(([n, t]) => {
1403
1403
  e[Ct(n)] = t;
1404
1404
  }), e;
1405
1405
  }
@@ -1435,7 +1435,7 @@ const St = {
1435
1435
  "9xl": ["8rem", { lineHeight: "1" }]
1436
1436
  // 128px
1437
1437
  };
1438
- function Wn(e, n) {
1438
+ function Rn(e, n) {
1439
1439
  const t = Object.keys(St), r = t.indexOf(e);
1440
1440
  if (r === -1)
1441
1441
  throw new Error(`Invalid font size: ${e}`);
@@ -1452,21 +1452,21 @@ const qn = {
1452
1452
  bold: "700",
1453
1453
  extrabold: "800",
1454
1454
  black: "900"
1455
- }, Rn = {
1455
+ }, Un = {
1456
1456
  none: "1",
1457
1457
  tight: "1.25",
1458
1458
  snug: "1.375",
1459
1459
  normal: "1.5",
1460
1460
  relaxed: "1.625",
1461
1461
  loose: "2"
1462
- }, Un = {
1462
+ }, zn = {
1463
1463
  tighter: "-0.05em",
1464
1464
  tight: "-0.025em",
1465
1465
  normal: "0em",
1466
1466
  wide: "0.025em",
1467
1467
  wider: "0.05em",
1468
1468
  widest: "0.1em"
1469
- }, zn = {
1469
+ }, Gn = {
1470
1470
  sans: [
1471
1471
  "system-ui",
1472
1472
  "-apple-system",
@@ -1503,49 +1503,49 @@ const qn = {
1503
1503
  function Et(e) {
1504
1504
  return `--font-size-${e}`;
1505
1505
  }
1506
- function Ao(e) {
1506
+ function Io(e) {
1507
1507
  return `var(${Et(e)})`;
1508
1508
  }
1509
1509
  function _t(e) {
1510
1510
  return `--font-weight-${e}`;
1511
1511
  }
1512
- function To(e) {
1512
+ function Bo(e) {
1513
1513
  return `var(${_t(e)})`;
1514
1514
  }
1515
1515
  function At(e) {
1516
1516
  return `--line-height-${e}`;
1517
1517
  }
1518
- function Io(e) {
1518
+ function Lo(e) {
1519
1519
  return `var(${At(e)})`;
1520
1520
  }
1521
1521
  function Tt(e) {
1522
1522
  return `--letter-spacing-${e}`;
1523
1523
  }
1524
- function Bo(e) {
1524
+ function Do(e) {
1525
1525
  return `var(${Tt(e)})`;
1526
1526
  }
1527
1527
  function It(e) {
1528
1528
  return `--font-family-${e}`;
1529
1529
  }
1530
- function Lo(e) {
1530
+ function Po(e) {
1531
1531
  return `var(${It(e)})`;
1532
1532
  }
1533
- function Gn() {
1533
+ function Kn() {
1534
1534
  const e = {};
1535
1535
  return Object.entries(St).forEach(([n, t]) => {
1536
1536
  const [r] = Array.isArray(t) ? t : [t];
1537
1537
  e[Et(n)] = r;
1538
1538
  }), Object.entries(qn).forEach(([n, t]) => {
1539
1539
  e[_t(n)] = t;
1540
- }), Object.entries(Rn).forEach(([n, t]) => {
1541
- e[At(n)] = t;
1542
1540
  }), Object.entries(Un).forEach(([n, t]) => {
1543
- e[Tt(n)] = t;
1541
+ e[At(n)] = t;
1544
1542
  }), Object.entries(zn).forEach(([n, t]) => {
1543
+ e[Tt(n)] = t;
1544
+ }), Object.entries(Gn).forEach(([n, t]) => {
1545
1545
  e[It(n)] = t.join(", ");
1546
1546
  }), e;
1547
1547
  }
1548
- const Kn = {
1548
+ const Zn = {
1549
1549
  // Base layers
1550
1550
  base: 0,
1551
1551
  raised: 10,
@@ -1566,16 +1566,16 @@ const Kn = {
1566
1566
  function Bt(e) {
1567
1567
  return `--z-index-${e}`;
1568
1568
  }
1569
- function Do(e) {
1569
+ function Oo(e) {
1570
1570
  return `var(${Bt(e)})`;
1571
1571
  }
1572
- function Zn() {
1572
+ function Xn() {
1573
1573
  const e = {};
1574
- return D(Kn).forEach(([n, t]) => {
1574
+ return D(Zn).forEach(([n, t]) => {
1575
1575
  e[Bt(n)] = t.toString();
1576
1576
  }), e;
1577
1577
  }
1578
- const Xn = {
1578
+ const Yn = {
1579
1579
  none: "none",
1580
1580
  "2xs": "0 1px rgb(0 0 0 / 0.05)",
1581
1581
  xs: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
@@ -1592,16 +1592,16 @@ const Xn = {
1592
1592
  "top-xl": "0 -20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
1593
1593
  "top-2xl": "0 -25px 50px -12px rgb(0 0 0 / 0.25)"
1594
1594
  };
1595
- function Yn(e) {
1595
+ function Qn(e) {
1596
1596
  return `--shadow-${e}`;
1597
1597
  }
1598
- function Qn() {
1598
+ function Jn() {
1599
1599
  const e = {};
1600
- return D(Xn).forEach(([n, t]) => {
1601
- e[Yn(n)] = t;
1600
+ return D(Yn).forEach(([n, t]) => {
1601
+ e[Qn(n)] = t;
1602
1602
  }), e;
1603
1603
  }
1604
- const Jn = {
1604
+ const er = {
1605
1605
  none: "none",
1606
1606
  "2xs": "0px 1px 0px rgb(0 0 0 / 0.15)",
1607
1607
  xs: "0px 1px 1px rgb(0 0 0 / 0.2)",
@@ -1609,50 +1609,50 @@ const Jn = {
1609
1609
  md: "0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1), 0px 2px 4px rgb(0 0 0 / 0.1)",
1610
1610
  lg: "0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1), 0px 4px 8px rgb(0 0 0 / 0.1)"
1611
1611
  };
1612
- function er(e) {
1612
+ function tr(e) {
1613
1613
  return `--text-shadow-${e}`;
1614
1614
  }
1615
- function tr() {
1615
+ function nr() {
1616
1616
  const e = {};
1617
- return D(Jn).forEach(([n, t]) => {
1618
- e[er(n)] = t;
1617
+ return D(er).forEach(([n, t]) => {
1618
+ e[tr(n)] = t;
1619
1619
  }), e;
1620
1620
  }
1621
- function Po() {
1621
+ function jo() {
1622
1622
  return {
1623
- ...Vn(),
1624
- ...Nn(),
1625
- ...Gn(),
1626
- ...Bn(),
1627
1623
  ...Fn(),
1628
- ...Qn(),
1629
- ...tr(),
1630
- ...Zn()
1624
+ ...Wn(),
1625
+ ...Kn(),
1626
+ ...Ln(),
1627
+ ...Hn(),
1628
+ ...Jn(),
1629
+ ...nr(),
1630
+ ...Xn()
1631
1631
  };
1632
1632
  }
1633
- function Oo(e, n) {
1633
+ function Vo(e, n) {
1634
1634
  return n == null && typeof window > "u" ? "" : getComputedStyle(n ?? document.documentElement).getPropertyValue(e).trim();
1635
1635
  }
1636
- const nr = {
1636
+ const rr = {
1637
1637
  xs: "1.5",
1638
1638
  sm: "2",
1639
1639
  md: "2.5",
1640
1640
  lg: "3",
1641
1641
  xl: "4"
1642
- }, rr = {
1642
+ }, or = {
1643
1643
  xs: "0",
1644
1644
  sm: "0",
1645
1645
  md: "0",
1646
1646
  lg: "0.25",
1647
1647
  xl: "0.5"
1648
1648
  };
1649
- function or(e, n, t) {
1649
+ function lr(e, n, t) {
1650
1650
  const r = ["bc-tag"];
1651
1651
  return e ? r.push("bc-tag--disabled") : r.push(`bu-bg--${n}`), r.push(
1652
- `bu-text-${Wn(t, -1)} bu-px-${nr[t]} bu-py-${rr[t]}`
1652
+ `bu-text-${Rn(t, -1)} bu-px-${rr[t]} bu-py-${or[t]}`
1653
1653
  ), r.join(" ");
1654
1654
  }
1655
- const lr = ({
1655
+ const ar = ({
1656
1656
  disabled: e,
1657
1657
  value: n,
1658
1658
  color: t = "base",
@@ -1660,20 +1660,20 @@ const lr = ({
1660
1660
  size: o = "md"
1661
1661
  }) => h.span(
1662
1662
  a.class(
1663
- w(
1663
+ $(
1664
1664
  e ?? !1,
1665
1665
  t ?? "base",
1666
1666
  o ?? "md"
1667
- )((l, s, u) => or(l, s, u))
1667
+ )((l, s, u) => lr(l, s, u))
1668
1668
  ),
1669
1669
  h.span(n),
1670
1670
  r != null ? h.button(
1671
1671
  a.disabled(e),
1672
1672
  a.class("bc-tag__close"),
1673
1673
  h.span("×"),
1674
- m.click(() => r == null ? void 0 : r($.get(n)))
1674
+ m.click(() => r == null ? void 0 : r(w.get(n)))
1675
1675
  ) : C
1676
- ), ar = (e) => dt({
1676
+ ), sr = (e) => dt({
1677
1677
  request: e.request,
1678
1678
  load: e.load,
1679
1679
  mapError: String
@@ -1698,12 +1698,12 @@ const lr = ({
1698
1698
  })
1699
1699
  )
1700
1700
  )
1701
- }), jo = (e, ...n) => {
1701
+ }), Fo = (e, ...n) => {
1702
1702
  const { onBlur: t, onChange: r, ...o } = e;
1703
1703
  return K(
1704
1704
  {
1705
1705
  ...o,
1706
- content: ar({
1706
+ content: sr({
1707
1707
  ...e,
1708
1708
  ...Y(o.controller),
1709
1709
  onChange: ee(o.controller, r),
@@ -1712,7 +1712,7 @@ const lr = ({
1712
1712
  },
1713
1713
  ...n
1714
1714
  );
1715
- }, Vo = (e, ...n) => {
1715
+ }, Ho = (e, ...n) => {
1716
1716
  const { onBlur: t, onChange: r, ...o } = e;
1717
1717
  return K(
1718
1718
  {
@@ -1738,7 +1738,7 @@ const lr = ({
1738
1738
  r != null ? m.change(Ut(r)) : C
1739
1739
  )
1740
1740
  });
1741
- }, Fo = (e, ...n) => {
1741
+ }, Mo = (e, ...n) => {
1742
1742
  const { onBlur: t, onChange: r, ...o } = e;
1743
1743
  return K(
1744
1744
  {
@@ -1752,22 +1752,22 @@ const lr = ({
1752
1752
  },
1753
1753
  ...n
1754
1754
  );
1755
- }, sr = (e) => {
1755
+ }, cr = (e) => {
1756
1756
  const n = e.getFullYear(), t = e.getMonth() + 1, r = e.getDate(), o = e.getHours(), l = e.getMinutes(), s = e.getSeconds();
1757
1757
  return `${n}-${t.toString().padStart(2, "0")}-${r.toString().padStart(2, "0")}T${o.toString().padStart(2, "0")}:${l.toString().padStart(2, "0")}:${s.toString().padStart(2, "0")}`;
1758
1758
  }, Dt = (e) => {
1759
- const { value: n, onBlur: t, onChange: r } = e, o = $.map(n, (l) => l != null ? sr(l) : null);
1759
+ const { value: n, onBlur: t, onChange: r } = e, o = w.map(n, (l) => l != null ? cr(l) : null);
1760
1760
  return Q({
1761
1761
  ...e,
1762
1762
  input: se["datetime-local"](
1763
1763
  J(e),
1764
- a.value($.map(o, (l) => l ?? null)),
1764
+ a.value(w.map(o, (l) => l ?? null)),
1765
1765
  a.class("bc-input"),
1766
1766
  t != null ? m.blur(B(t)) : C,
1767
1767
  r != null ? m.change(zt(r)) : C
1768
1768
  )
1769
1769
  });
1770
- }, Ho = (e, ...n) => {
1770
+ }, No = (e, ...n) => {
1771
1771
  const { onBlur: t, onChange: r, ...o } = e;
1772
1772
  return K(
1773
1773
  {
@@ -1781,18 +1781,18 @@ const lr = ({
1781
1781
  },
1782
1782
  ...n
1783
1783
  );
1784
- }, Mo = (e, ...n) => {
1784
+ }, Wo = (e, ...n) => {
1785
1785
  const { onBlur: t, onChange: r, ...o } = e;
1786
1786
  return K(
1787
1787
  {
1788
1788
  ...o,
1789
1789
  content: Lt({
1790
1790
  ...o,
1791
- ...qe(
1791
+ ...Re(
1792
1792
  o.controller,
1793
1793
  (l) => l != null && l !== "" ? new Date(l) : null
1794
1794
  ),
1795
- onChange: Re(
1795
+ onChange: qe(
1796
1796
  o.controller,
1797
1797
  (l) => l != null ? l.toISOString().split("T")[0] : null,
1798
1798
  r
@@ -1802,20 +1802,20 @@ const lr = ({
1802
1802
  },
1803
1803
  ...n
1804
1804
  );
1805
- }, cr = (e) => new Date(e), ir = (e) => e.toISOString(), No = (e, ...n) => {
1805
+ }, ir = (e) => new Date(e), ur = (e) => e.toISOString(), Ro = (e, ...n) => {
1806
1806
  const { onBlur: t, onChange: r, ...o } = e;
1807
1807
  return K(
1808
1808
  {
1809
1809
  ...o,
1810
1810
  content: Dt({
1811
1811
  ...o,
1812
- ...qe(
1812
+ ...Re(
1813
1813
  o.controller,
1814
- (l) => l != null && l !== "" ? cr(l) : null
1814
+ (l) => l != null && l !== "" ? ir(l) : null
1815
1815
  ),
1816
- onChange: Re(
1816
+ onChange: qe(
1817
1817
  o.controller,
1818
- (l) => l != null ? ir(l) : null,
1818
+ (l) => l != null ? ur(l) : null,
1819
1819
  r
1820
1820
  ),
1821
1821
  onBlur: Z(o.controller, t)
@@ -1823,39 +1823,39 @@ const lr = ({
1823
1823
  },
1824
1824
  ...n
1825
1825
  );
1826
- }, Ee = (e) => typeof e == "string" && e.trim() === "" ? null : e, Pt = (e) => e ?? "", ur = (e) => {
1826
+ }, Ee = (e) => typeof e == "string" && e.trim() === "" ? null : e, Pt = (e) => e ?? "", dr = (e) => {
1827
1827
  const { value: n, onBlur: t, onChange: r, onInput: o, ...l } = e;
1828
1828
  return Q({
1829
1829
  ...l,
1830
1830
  input: se.text(
1831
1831
  J(l),
1832
- a.value($.map(n, Pt)),
1832
+ a.value(w.map(n, Pt)),
1833
1833
  a.class("bc-input"),
1834
1834
  t != null ? m.blur(t) : C,
1835
1835
  r != null ? m.change(B((s) => r(Ee(s)))) : C,
1836
1836
  o != null ? m.input(B((s) => o(Ee(s)))) : C
1837
1837
  )
1838
1838
  });
1839
- }, dr = (e) => {
1839
+ }, pr = (e) => {
1840
1840
  const { value: n, onBlur: t, onChange: r, onInput: o, rows: l } = e;
1841
1841
  return Q({
1842
1842
  ...e,
1843
1843
  input: h.textarea(
1844
1844
  J(e),
1845
1845
  a.rows(l ?? 10),
1846
- a.value($.map(n, Pt)),
1846
+ a.value(w.map(n, Pt)),
1847
1847
  a.class("bc-input"),
1848
1848
  t != null ? m.blur(t) : C,
1849
1849
  r != null ? m.change(B((s) => r(Ee(s)))) : C,
1850
1850
  o != null ? m.input(B((s) => o(Ee(s)))) : C
1851
1851
  )
1852
1852
  });
1853
- }, Wo = (e, ...n) => {
1853
+ }, qo = (e, ...n) => {
1854
1854
  const { onBlur: t, onChange: r, rows: o, ...l } = e;
1855
1855
  return K(
1856
1856
  {
1857
1857
  ...l,
1858
- content: dr({
1858
+ content: pr({
1859
1859
  ...l,
1860
1860
  ...Y(l.controller),
1861
1861
  rows: o,
@@ -1865,12 +1865,12 @@ const lr = ({
1865
1865
  },
1866
1866
  ...n
1867
1867
  );
1868
- }, qo = (e, ...n) => {
1868
+ }, Uo = (e, ...n) => {
1869
1869
  const { onBlur: t, onChange: r, ...o } = e;
1870
1870
  return K(
1871
1871
  {
1872
1872
  ...o,
1873
- content: ur({
1873
+ content: dr({
1874
1874
  ...o,
1875
1875
  ...Y(o.controller),
1876
1876
  onChange: ee(o.controller, r),
@@ -1879,7 +1879,7 @@ const lr = ({
1879
1879
  },
1880
1880
  ...n
1881
1881
  );
1882
- }, pr = (e) => {
1882
+ }, hr = (e) => {
1883
1883
  const { value: n, step: t, min: r, max: o, onBlur: l, onChange: s, onInput: u } = e;
1884
1884
  return Q({
1885
1885
  ...e,
@@ -1891,16 +1891,16 @@ const lr = ({
1891
1891
  a.max(o),
1892
1892
  a.class("bc-input bc-number-input"),
1893
1893
  l != null ? m.blur(B(l)) : C,
1894
- s != null ? m.change(Oe(s)) : C,
1895
- u != null ? m.input(Oe(u)) : C
1894
+ s != null ? m.change(je(s)) : C,
1895
+ u != null ? m.input(je(u)) : C
1896
1896
  )
1897
1897
  });
1898
- }, Ro = (e, ...n) => {
1898
+ }, zo = (e, ...n) => {
1899
1899
  const { onBlur: t, onChange: r, ...o } = e;
1900
1900
  return K(
1901
1901
  {
1902
1902
  ...o,
1903
- content: pr({
1903
+ content: hr({
1904
1904
  ...o,
1905
1905
  ...Y(o.controller),
1906
1906
  onChange: ee(o.controller, r),
@@ -1909,7 +1909,7 @@ const lr = ({
1909
1909
  },
1910
1910
  ...n
1911
1911
  );
1912
- }, hr = (e) => {
1912
+ }, br = (e) => {
1913
1913
  const {
1914
1914
  value: n,
1915
1915
  onBlur: t,
@@ -1925,12 +1925,12 @@ const lr = ({
1925
1925
  } = e, f = {
1926
1926
  name: "password",
1927
1927
  ...d
1928
- }, b = q(!0), k = w(
1928
+ }, b = q(!0), k = $(
1929
1929
  b,
1930
1930
  i
1931
1931
  )((y, S) => y ? S ?? "current-password" : "off");
1932
1932
  return W(re, (y) => {
1933
- const S = w(
1933
+ const S = $(
1934
1934
  y.passwordPlaceholderText(),
1935
1935
  b,
1936
1936
  p
@@ -1945,7 +1945,7 @@ const lr = ({
1945
1945
  autocomplete: k,
1946
1946
  placeholder: S
1947
1947
  }),
1948
- z(
1948
+ G(
1949
1949
  b,
1950
1950
  () => I(a.type("password")),
1951
1951
  () => I(a.type("text"))
@@ -1960,7 +1960,7 @@ const lr = ({
1960
1960
  a.class("bc-input-container__password-toggle"),
1961
1961
  A.label(y.togglePasswordVisibility()),
1962
1962
  m.click(() => b.update((g) => !g)),
1963
- z(
1963
+ G(
1964
1964
  b,
1965
1965
  () => X({ icon: "line-md--eye" }),
1966
1966
  () => X({ icon: "line-md--eye-off" })
@@ -1968,13 +1968,13 @@ const lr = ({
1968
1968
  )
1969
1969
  });
1970
1970
  });
1971
- }, Uo = (e, ...n) => {
1971
+ }, Go = (e, ...n) => {
1972
1972
  const { onBlur: t, onChange: r, ...o } = e;
1973
1973
  return K(
1974
1974
  {
1975
1975
  label: "Password",
1976
1976
  ...o,
1977
- content: hr({
1977
+ content: br({
1978
1978
  ...o,
1979
1979
  ...Y(o.controller),
1980
1980
  onChange: ee(o.controller, r),
@@ -1984,10 +1984,10 @@ const lr = ({
1984
1984
  ...n
1985
1985
  );
1986
1986
  };
1987
- function br(e, n) {
1987
+ function fr(e, n) {
1988
1988
  return e.length === n.length && e.every((t, r) => t === n[r]);
1989
1989
  }
1990
- function fr({
1990
+ function gr({
1991
1991
  options: e,
1992
1992
  value: n,
1993
1993
  onChange: t,
@@ -2001,7 +2001,7 @@ function fr({
2001
2001
  s.map((p, d) => [p.key, d])
2002
2002
  ), c = q(
2003
2003
  s.map(() => ({ left: 0, width: 0 })),
2004
- br
2004
+ fr
2005
2005
  );
2006
2006
  function i(p, d) {
2007
2007
  const f = [
@@ -2013,7 +2013,7 @@ function fr({
2013
2013
  }
2014
2014
  return h.div(
2015
2015
  a.class(
2016
- w(
2016
+ $(
2017
2017
  r,
2018
2018
  o
2019
2019
  )(
@@ -2025,7 +2025,7 @@ function fr({
2025
2025
  h.div(
2026
2026
  a.class("bc-segmented-control__indicator"),
2027
2027
  v.width(
2028
- w(
2028
+ $(
2029
2029
  n,
2030
2030
  c
2031
2031
  )((p, d) => {
@@ -2034,7 +2034,7 @@ function fr({
2034
2034
  })
2035
2035
  ),
2036
2036
  v.left(
2037
- w(
2037
+ $(
2038
2038
  n,
2039
2039
  c
2040
2040
  )((p, d) => {
@@ -2046,12 +2046,12 @@ function fr({
2046
2046
  // clickable buttons
2047
2047
  s.map(({ label: p, key: d }, f) => h.button(
2048
2048
  m.click((b) => {
2049
- b.preventDefault(), $.get(o) || t == null || t(d);
2049
+ b.preventDefault(), w.get(o) || t == null || t(d);
2050
2050
  }),
2051
2051
  a.disabled(o),
2052
2052
  a.class("bc-segmented-control__segment"),
2053
2053
  a.class(
2054
- $.map(n, (b) => b === d ? "bc-segmented-control__segment--active" : "bc-segmented-control__segment--inactive")
2054
+ w.map(n, (b) => b === d ? "bc-segmented-control__segment--active" : "bc-segmented-control__segment--inactive")
2055
2055
  ),
2056
2056
  M((b) => {
2057
2057
  const k = ce(() => {
@@ -2063,7 +2063,7 @@ function fr({
2063
2063
  }, S;
2064
2064
  });
2065
2065
  });
2066
- return G(k);
2066
+ return R(k);
2067
2067
  }),
2068
2068
  p
2069
2069
  ))
@@ -2071,18 +2071,18 @@ function fr({
2071
2071
  ...l
2072
2072
  );
2073
2073
  }
2074
- const zo = (e, ...n) => {
2074
+ const Ko = (e, ...n) => {
2075
2075
  const { onBlur: t, onChange: r, ...o } = e;
2076
2076
  return K(
2077
2077
  {
2078
2078
  ...o,
2079
2079
  content: gt({
2080
2080
  ...o,
2081
- ...qe(
2081
+ ...Re(
2082
2082
  o.controller,
2083
2083
  (l) => new Date(l)
2084
2084
  ),
2085
- onChange: Re(
2085
+ onChange: qe(
2086
2086
  o.controller,
2087
2087
  (l) => l.toISOString(),
2088
2088
  r
@@ -2092,18 +2092,18 @@ const zo = (e, ...n) => {
2092
2092
  },
2093
2093
  ...n
2094
2094
  );
2095
- }, gr = (e) => {
2095
+ }, mr = (e) => {
2096
2096
  const { value: n, onChange: t, onBlur: r } = e, o = q(""), l = (u) => {
2097
- t == null || t($.get(n).filter((c) => c !== u));
2097
+ t == null || t(w.get(n).filter((c) => c !== u));
2098
2098
  }, s = () => {
2099
- const u = o.value.trim(), c = $.get(n);
2099
+ const u = o.value.trim(), c = w.get(n);
2100
2100
  u === "" || c.includes(u) || (o.set(""), t == null || t([...c, u]));
2101
2101
  };
2102
2102
  return Q({
2103
2103
  ...e,
2104
2104
  input: I(
2105
2105
  a.class("bc-input-container__tags"),
2106
- Ne(n, (u) => lr({ value: u, onClose: () => l(u.value) })),
2106
+ Ne(n, (u) => ar({ value: u, onClose: () => l(u.value) })),
2107
2107
  se.text(
2108
2108
  J(e),
2109
2109
  a.value(o),
@@ -2114,12 +2114,12 @@ const zo = (e, ...n) => {
2114
2114
  )
2115
2115
  )
2116
2116
  });
2117
- }, Go = (e, ...n) => {
2117
+ }, Zo = (e, ...n) => {
2118
2118
  const { onBlur: t, onChange: r, ...o } = e;
2119
2119
  return K(
2120
2120
  {
2121
2121
  ...o,
2122
- content: gr({
2122
+ content: mr({
2123
2123
  ...o,
2124
2124
  ...Y(o.controller),
2125
2125
  onChange: ee(o.controller, r),
@@ -2128,7 +2128,7 @@ const zo = (e, ...n) => {
2128
2128
  },
2129
2129
  ...n
2130
2130
  );
2131
- }, mr = (e) => {
2131
+ }, kr = (e) => {
2132
2132
  const { value: n, onBlur: t, onChange: r, onInput: o, rows: l } = e;
2133
2133
  return Q({
2134
2134
  ...e,
@@ -2150,12 +2150,12 @@ const zo = (e, ...n) => {
2150
2150
  o != null ? m.input(B(o)) : C
2151
2151
  )
2152
2152
  });
2153
- }, Ko = (e, ...n) => {
2153
+ }, Xo = (e, ...n) => {
2154
2154
  const { onBlur: t, onChange: r, rows: o, ...l } = e;
2155
2155
  return K(
2156
2156
  {
2157
2157
  ...l,
2158
- content: mr({
2158
+ content: kr({
2159
2159
  ...l,
2160
2160
  ...Y(l.controller),
2161
2161
  rows: o,
@@ -2167,7 +2167,7 @@ const zo = (e, ...n) => {
2167
2167
  ...n
2168
2168
  );
2169
2169
  };
2170
- function Zo(e, n, t) {
2170
+ function Yo(e, n, t) {
2171
2171
  return Me(
2172
2172
  e.value,
2173
2173
  () => {
@@ -2176,23 +2176,23 @@ function Zo(e, n, t) {
2176
2176
  (o) => o
2177
2177
  );
2178
2178
  return I(
2179
- G(() => r.dispose()),
2179
+ R(() => r.dispose()),
2180
2180
  n(r)
2181
2181
  );
2182
2182
  },
2183
2183
  t
2184
2184
  );
2185
2185
  }
2186
- function Xo(e, n, t) {
2186
+ function Qo(e, n, t) {
2187
2187
  const r = e.length.map((o) => o);
2188
2188
  return I(
2189
- G(() => r.dispose()),
2189
+ R(() => r.dispose()),
2190
2190
  Gt(
2191
2191
  r,
2192
2192
  (o) => {
2193
2193
  const l = e.item(o.index), s = [];
2194
2194
  return I(
2195
- G(() => {
2195
+ R(() => {
2196
2196
  l.dispose(), s.forEach((u) => u());
2197
2197
  }),
2198
2198
  n({
@@ -2246,21 +2246,21 @@ function Xo(e, n, t) {
2246
2246
  )
2247
2247
  );
2248
2248
  }
2249
- function Yo(e) {
2249
+ function Jo(e) {
2250
2250
  return e.split(".").map((t) => {
2251
2251
  const r = t.match(/^\[(\d+)\]$/);
2252
2252
  return r ? Number(r[1]) : t;
2253
2253
  });
2254
2254
  }
2255
- function kr(e) {
2255
+ function xr(e) {
2256
2256
  return typeof e == "number" ? `[${e}]` : `.${e}`;
2257
2257
  }
2258
- function xr(e) {
2258
+ function vr(e) {
2259
2259
  if (e.length === 0) return "";
2260
2260
  const [n, ...t] = e;
2261
2261
  return [
2262
2262
  typeof n == "number" ? `[${n}]` : n,
2263
- ...t.map(kr)
2263
+ ...t.map(xr)
2264
2264
  ].join("");
2265
2265
  }
2266
2266
  function Ke(e) {
@@ -2307,7 +2307,7 @@ const Xe = class Xe {
2307
2307
  T(this, "enable", () => {
2308
2308
  H(this, pe).disabled.set(!1);
2309
2309
  });
2310
- T(this, "array", (n = Be) => new yr(
2310
+ T(this, "array", (n = Le) => new wr(
2311
2311
  this.path,
2312
2312
  this.change,
2313
2313
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -2316,7 +2316,7 @@ const Xe = class Xe {
2316
2316
  this.parent,
2317
2317
  n
2318
2318
  ));
2319
- T(this, "object", (n = Be) => new vr(
2319
+ T(this, "object", (n = Le) => new yr(
2320
2320
  this.path,
2321
2321
  this.change,
2322
2322
  this.value,
@@ -2324,7 +2324,7 @@ const Xe = class Xe {
2324
2324
  this.parent,
2325
2325
  n
2326
2326
  ));
2327
- T(this, "transform", (n, t, r = [], o = Be) => new Xe(
2327
+ T(this, "transform", (n, t, r = [], o = Le) => new Xe(
2328
2328
  [...this.path, ...r],
2329
2329
  (l) => this.change(t(l)),
2330
2330
  this.value.map(n, o),
@@ -2333,7 +2333,7 @@ const Xe = class Xe {
2333
2333
  ));
2334
2334
  this.path = n, this.change = t, this.value = r, this.status = o, this.error = o.map((s) => s.type === "Invalid" ? s.error : void 0), this.hasError = this.error.map((s) => s != null), this.dependencyErrors = o.map(
2335
2335
  (s) => s.type === "Invalid" ? s.dependencies : void 0
2336
- ), this.parent = l, this.disabled = w(
2336
+ ), this.parent = l, this.disabled = $(
2337
2337
  H(this, pe).disabled,
2338
2338
  l.disabled
2339
2339
  )((s, u) => s || u), this.onDispose(() => {
@@ -2341,13 +2341,13 @@ const Xe = class Xe {
2341
2341
  });
2342
2342
  }
2343
2343
  get name() {
2344
- return xr(this.path);
2344
+ return vr(this.path);
2345
2345
  }
2346
2346
  };
2347
2347
  pe = new WeakMap(), fe = new WeakMap();
2348
2348
  let be = Xe;
2349
2349
  var ie;
2350
- class vr extends be {
2350
+ class yr extends be {
2351
2351
  constructor(t, r, o, l, s, u) {
2352
2352
  super(
2353
2353
  t,
@@ -2383,7 +2383,7 @@ class vr extends be {
2383
2383
  }
2384
2384
  ie = new WeakMap();
2385
2385
  var ae;
2386
- class yr extends be {
2386
+ class wr extends be {
2387
2387
  constructor(t, r, o, l, s, u) {
2388
2388
  const c = o.map((p) => p ?? [], u);
2389
2389
  super(t, r, c, l, s);
@@ -2441,10 +2441,10 @@ class yr extends be {
2441
2441
  }
2442
2442
  ae = new WeakMap();
2443
2443
  const Ze = {
2444
- mark: He("Theme"),
2444
+ mark: Ae("Theme"),
2445
2445
  // Create function returns the value and cleanup
2446
2446
  create: (e) => {
2447
- const n = tn(), t = Pe({
2447
+ const n = nn(), t = Oe({
2448
2448
  key: "beatui-appearance-preference",
2449
2449
  defaultValue: "system"
2450
2450
  }), r = () => {
@@ -2452,7 +2452,7 @@ const Ze = {
2452
2452
  };
2453
2453
  return {
2454
2454
  value: {
2455
- appearance: w(
2455
+ appearance: $(
2456
2456
  n,
2457
2457
  t
2458
2458
  )((s, u) => u === "system" ? s : u),
@@ -2464,15 +2464,15 @@ const Ze = {
2464
2464
  dispose: r
2465
2465
  };
2466
2466
  }
2467
- }, wr = () => W(
2467
+ }, $r = () => W(
2468
2468
  Ze,
2469
2469
  ({ appearance: e }) => ut("body", a.class(e.map((n) => `b-${n}`)))
2470
2470
  );
2471
- function $r({
2471
+ function Cr({
2472
2472
  value: e,
2473
2473
  onChange: n
2474
2474
  }) {
2475
- return fr({
2475
+ return gr({
2476
2476
  size: "sm",
2477
2477
  value: e,
2478
2478
  options: {
@@ -2495,16 +2495,16 @@ function $r({
2495
2495
  onChange: n
2496
2496
  });
2497
2497
  }
2498
- function Qo() {
2498
+ function el() {
2499
2499
  return W(
2500
2500
  Ze,
2501
- ({ appearancePreference: e, setAppearancePreference: n }) => $r({
2501
+ ({ appearancePreference: e, setAppearancePreference: n }) => Cr({
2502
2502
  value: e,
2503
2503
  onChange: n
2504
2504
  })
2505
2505
  );
2506
2506
  }
2507
- const Jo = (e) => {
2507
+ const tl = (e) => {
2508
2508
  const { value: n, onBlur: t, onChange: r, placeholder: o, id: l } = e, s = l ?? ue("checkbox"), u = `${s}-label`;
2509
2509
  return Q({
2510
2510
  growInput: !1,
@@ -2532,26 +2532,26 @@ const Jo = (e) => {
2532
2532
  a.class("bc-checkbox-input__label"),
2533
2533
  a.id(u),
2534
2534
  a.for(s),
2535
- hn(o)
2535
+ bn(o)
2536
2536
  ) : C
2537
2537
  )
2538
2538
  });
2539
- }, el = ({
2539
+ }, nl = ({
2540
2540
  startEditing: e,
2541
2541
  value: n,
2542
2542
  onChange: t,
2543
2543
  placeholder: r
2544
2544
  }) => {
2545
- const o = $.deriveProp(e ?? !1), l = q(!1);
2545
+ const o = w.deriveProp(e ?? !1), l = q(!1);
2546
2546
  return h.div(
2547
2547
  a.class("bc-editable-text"),
2548
- z(
2548
+ G(
2549
2549
  o,
2550
2550
  () => h.input(
2551
2551
  a.placeholder(r),
2552
2552
  a.value(n),
2553
2553
  a.class("bc-editable-text__input"),
2554
- nn(),
2554
+ rn(),
2555
2555
  m.keydown((s) => {
2556
2556
  s.key === "Enter" ? o.set(!1) : s.key === "Escape" && (l.set(!0), o.set(!1));
2557
2557
  }),
@@ -2568,8 +2568,8 @@ const Jo = (e) => {
2568
2568
  () => h.span(
2569
2569
  m.click(() => o.set(!0)),
2570
2570
  a.class("bc-editable-text__display"),
2571
- z(
2572
- $.map(n, (s) => s != null && s.trim() !== ""),
2571
+ G(
2572
+ w.map(n, (s) => s != null && s.trim() !== ""),
2573
2573
  () => h.span(a.class("bc-editable-text__text"), n),
2574
2574
  () => h.span(
2575
2575
  a.class("bc-editable-text__placeholder"),
@@ -2585,7 +2585,7 @@ const Jo = (e) => {
2585
2585
  )
2586
2586
  )
2587
2587
  );
2588
- }, tl = ({
2588
+ }, rl = ({
2589
2589
  value: e,
2590
2590
  onChange: n,
2591
2591
  offLabel: t,
@@ -2601,13 +2601,13 @@ const Jo = (e) => {
2601
2601
  return b && y.push("bc-switch--disabled"), y.join(" ");
2602
2602
  }
2603
2603
  const d = () => {
2604
- $.get(l) || n(!$.get(e));
2604
+ w.get(l) || n(!w.get(e));
2605
2605
  }, f = (b) => {
2606
- $.get(l) || (b.key === " " || b.key === "Enter") && (b.preventDefault(), d());
2606
+ w.get(l) || (b.key === " " || b.key === "Enter") && (b.preventDefault(), d());
2607
2607
  };
2608
2608
  return h.div(
2609
2609
  a.class(
2610
- w(
2610
+ $(
2611
2611
  l ?? !1,
2612
2612
  s
2613
2613
  )(
@@ -2617,7 +2617,7 @@ const Jo = (e) => {
2617
2617
  a.id(c),
2618
2618
  a.role("switch"),
2619
2619
  a.tabindex(
2620
- $.map(l, (b) => b ? -1 : 0)
2620
+ w.map(l, (b) => b ? -1 : 0)
2621
2621
  ),
2622
2622
  A.checked(e),
2623
2623
  A.disabled(l),
@@ -2628,7 +2628,7 @@ const Jo = (e) => {
2628
2628
  h.div(
2629
2629
  a.class("bc-switch__track"),
2630
2630
  a.class(
2631
- $.map(
2631
+ w.map(
2632
2632
  e,
2633
2633
  (b) => b ? "bc-switch__track--on" : "bc-switch__track--off"
2634
2634
  )
@@ -2637,7 +2637,7 @@ const Jo = (e) => {
2637
2637
  A.hidden(!0),
2638
2638
  a.class("bc-switch__track-label bc-switch__track-label--off"),
2639
2639
  a.class(
2640
- $.map(
2640
+ w.map(
2641
2641
  e,
2642
2642
  (b) => b ? "bc-switch__track-label--hidden" : "bc-switch__track-label--visible"
2643
2643
  )
@@ -2647,7 +2647,7 @@ const Jo = (e) => {
2647
2647
  r != null ? h.div(
2648
2648
  a.class("bc-switch__track-label bc-switch__track-label--on"),
2649
2649
  a.class(
2650
- $.map(
2650
+ w.map(
2651
2651
  e,
2652
2652
  (b) => b ? "bc-switch__track-label--visible" : "bc-switch__track-label--hidden"
2653
2653
  )
@@ -2660,13 +2660,13 @@ const Jo = (e) => {
2660
2660
  ({ direction: k }) => h.div(
2661
2661
  a.class("bc-switch__thumb"),
2662
2662
  a.class(
2663
- $.map(
2663
+ w.map(
2664
2664
  e,
2665
2665
  (y) => y ? "bc-switch__thumb--on" : "bc-switch__thumb--off"
2666
2666
  )
2667
2667
  ),
2668
2668
  v.transform(
2669
- w(
2669
+ $(
2670
2670
  e,
2671
2671
  b,
2672
2672
  s,
@@ -2695,7 +2695,7 @@ const Jo = (e) => {
2695
2695
  )
2696
2696
  );
2697
2697
  };
2698
- function Cr(e) {
2698
+ function Sr(e) {
2699
2699
  function n(t) {
2700
2700
  return typeof t == "number" ? t : t.toString();
2701
2701
  }
@@ -2703,9 +2703,9 @@ function Cr(e) {
2703
2703
  (t) => typeof t == "object" && t.key != null ? n(t.key) : n(t)
2704
2704
  );
2705
2705
  }
2706
- function Sr(e) {
2706
+ function Er(e) {
2707
2707
  const n = e.filter((o) => o.path == null || o.path.length === 0).map((o) => o.message), t = e.filter((o) => o.path != null && o.path.length > 0).reduce((o, l) => {
2708
- const s = Cr(l.path), u = s.pop();
2708
+ const s = Sr(l.path), u = s.pop();
2709
2709
  let c = o;
2710
2710
  for (const i of s)
2711
2711
  c.dependencies == null && (c.dependencies = {}), c.dependencies[i] == null && (c.dependencies[i] = {}), c = c.dependencies[i];
@@ -2717,7 +2717,7 @@ function Sr(e) {
2717
2717
  error: r != "" ? r : void 0
2718
2718
  };
2719
2719
  }
2720
- function Er({
2720
+ function _r({
2721
2721
  defaultValue: e,
2722
2722
  onChange: n,
2723
2723
  validate: t
@@ -2737,7 +2737,7 @@ function Er({
2737
2737
  function Ot(e) {
2738
2738
  return I(a.disabled(e.disabled), a.name(e.name));
2739
2739
  }
2740
- function nl(e, {
2740
+ function ol(e, {
2741
2741
  triggerOn: n = "change"
2742
2742
  } = {}) {
2743
2743
  return I(
@@ -2746,35 +2746,35 @@ function nl(e, {
2746
2746
  (n === "input" ? m.input : m.change)(B(e.change))
2747
2747
  );
2748
2748
  }
2749
- function rl(e, {
2749
+ function ll(e, {
2750
2750
  triggerOn: n = "change"
2751
2751
  } = {}) {
2752
2752
  return I(
2753
2753
  Ot(e),
2754
2754
  a.valueAsNumber(e.value),
2755
2755
  (n === "input" ? m.input : m.change)(
2756
- Oe(e.change)
2756
+ je(e.change)
2757
2757
  )
2758
2758
  );
2759
2759
  }
2760
- function _r(e) {
2760
+ function Ar(e) {
2761
2761
  return e.issues != null ? {
2762
2762
  type: "Invalid",
2763
- ...Sr(e.issues)
2763
+ ...Er(e.issues)
2764
2764
  } : { type: "Valid" };
2765
2765
  }
2766
- function ol({
2766
+ function al({
2767
2767
  defaultValue: e = {},
2768
2768
  schema: n
2769
2769
  }) {
2770
- return Er({
2770
+ return _r({
2771
2771
  defaultValue: e,
2772
- validate: async (t) => _r(
2772
+ validate: async (t) => Ar(
2773
2773
  await n["~standard"].validate(t)
2774
2774
  )
2775
2775
  }).object();
2776
2776
  }
2777
- function ll({
2777
+ function sl({
2778
2778
  locales: e,
2779
2779
  onChange: n,
2780
2780
  updateLocale: t = !0
@@ -2784,7 +2784,7 @@ function ll({
2784
2784
  (r) => W(we, ({ locale: o, setLocale: l }) => ft({
2785
2785
  label: r.locale(),
2786
2786
  content: ze({
2787
- options: $.map(
2787
+ options: w.map(
2788
2788
  e,
2789
2789
  (s) => s.map((u) => {
2790
2790
  let c = u.name;
@@ -2799,11 +2799,11 @@ function ll({
2799
2799
  }))
2800
2800
  );
2801
2801
  }
2802
- function Ar(e) {
2802
+ function Tr(e) {
2803
2803
  const n = e.split("-"), t = [e];
2804
2804
  return n.length > 1 && t.push(n[0]), t;
2805
2805
  }
2806
- function Tr({
2806
+ function Ir({
2807
2807
  locale: e,
2808
2808
  defaultLocale: n = "en-US",
2809
2809
  defaultMessages: t,
@@ -2812,7 +2812,7 @@ function Tr({
2812
2812
  const o = q(n), l = q(t), s = e.on(async (c) => {
2813
2813
  if (c === o.value) return;
2814
2814
  o.set(c);
2815
- const i = Ar(c);
2815
+ const i = Tr(c);
2816
2816
  for (const p of i)
2817
2817
  try {
2818
2818
  const d = await r(p);
@@ -2835,7 +2835,7 @@ function Tr({
2835
2835
  console.warn(`No locale found for "'${e}", using fallback`), c === o.value && l.set(t);
2836
2836
  }), u = new Proxy({}, {
2837
2837
  get: (c, i) => function(...p) {
2838
- const d = l.at(i), f = w(
2838
+ const d = l.at(i), f = $(
2839
2839
  d,
2840
2840
  ...p
2841
2841
  )((b, ...k) => {
@@ -2856,18 +2856,18 @@ function Tr({
2856
2856
  t: u
2857
2857
  };
2858
2858
  }
2859
- function Ir({
2859
+ function Br({
2860
2860
  defaultLocale: e,
2861
2861
  defaultMessages: n,
2862
2862
  localeLoader: t,
2863
2863
  providerName: r = "I18nProvider"
2864
2864
  }) {
2865
2865
  return {
2866
- mark: He(r),
2866
+ mark: Ae(r),
2867
2867
  create: (o, l) => {
2868
2868
  const {
2869
2869
  value: { locale: s }
2870
- } = l.getProvider(we.mark), { t: u, dispose: c } = Tr({
2870
+ } = l.getProvider(we.mark), { t: u, dispose: c } = Ir({
2871
2871
  locale: s,
2872
2872
  defaultMessages: n,
2873
2873
  defaultLocale: e,
@@ -2880,19 +2880,19 @@ function Ir({
2880
2880
  }
2881
2881
  };
2882
2882
  }
2883
- const re = Ir({
2884
- defaultLocale: sn,
2885
- defaultMessages: an,
2886
- localeLoader: async (e) => (await cn(/* @__PURE__ */ Object.assign({ "./locales/ar.ts": () => import("./ar-zUaskoUZ.js"), "./locales/de.ts": () => import("./de-C0vbdZdj.js"), "./locales/en.ts": () => Promise.resolve().then(() => ln), "./locales/es.ts": () => import("./es-BALLrljC.js"), "./locales/fa.ts": () => import("./fa-4g9jzgMM.js"), "./locales/fr.ts": () => import("./fr-CzyXyFEo.js"), "./locales/he.ts": () => import("./he-CBxtA7rr.js"), "./locales/hi.ts": () => import("./hi-B6LQz-RO.js"), "./locales/it.ts": () => import("./it-CFHKs1al.js"), "./locales/ja.ts": () => import("./ja-D6tNi1ze.js"), "./locales/ko.ts": () => import("./ko-71CknADn.js"), "./locales/nl.ts": () => import("./nl-CnSz3Cp_.js"), "./locales/pl.ts": () => import("./pl-og-2JJLB.js"), "./locales/pt.ts": () => import("./pt-M61qKkTf.js"), "./locales/ru.ts": () => import("./ru-CIn0tYwk.js"), "./locales/tr.ts": () => import("./tr-BXwpkxgd.js"), "./locales/ur.ts": () => import("./ur-B7AcyGH1.js"), "./locales/vi.ts": () => import("./vi-CaJ4-itr.js"), "./locales/zh.ts": () => import("./zh-cAmOB1FQ.js") }), `./locales/${e}.ts`, 3)).default,
2883
+ const re = Br({
2884
+ defaultLocale: cn,
2885
+ defaultMessages: sn,
2886
+ localeLoader: async (e) => (await un(/* @__PURE__ */ Object.assign({ "./locales/ar.ts": () => import("./ar-zUaskoUZ.js"), "./locales/de.ts": () => import("./de-C0vbdZdj.js"), "./locales/en.ts": () => Promise.resolve().then(() => an), "./locales/es.ts": () => import("./es-BALLrljC.js"), "./locales/fa.ts": () => import("./fa-4g9jzgMM.js"), "./locales/fr.ts": () => import("./fr-CzyXyFEo.js"), "./locales/he.ts": () => import("./he-CBxtA7rr.js"), "./locales/hi.ts": () => import("./hi-B6LQz-RO.js"), "./locales/it.ts": () => import("./it-CFHKs1al.js"), "./locales/ja.ts": () => import("./ja-D6tNi1ze.js"), "./locales/ko.ts": () => import("./ko-71CknADn.js"), "./locales/nl.ts": () => import("./nl-CnSz3Cp_.js"), "./locales/pl.ts": () => import("./pl-og-2JJLB.js"), "./locales/pt.ts": () => import("./pt-M61qKkTf.js"), "./locales/ru.ts": () => import("./ru-CIn0tYwk.js"), "./locales/tr.ts": () => import("./tr-BXwpkxgd.js"), "./locales/ur.ts": () => import("./ur-B7AcyGH1.js"), "./locales/vi.ts": () => import("./vi-CaJ4-itr.js"), "./locales/zh.ts": () => import("./zh-cAmOB1FQ.js") }), `./locales/${e}.ts`, 3)).default,
2887
2887
  providerName: "BeatUII18n"
2888
- }), Br = () => W(
2888
+ }), Lr = () => W(
2889
2889
  we,
2890
2890
  ({ direction: e }) => ut("body", a.class(e.map((n) => `b-${n}`)))
2891
2891
  );
2892
- function al(...e) {
2893
- return Zt(({ set: n }) => (n(Ae, {}), n(we, {}), n(re, {}), n(Ze, {}), I(wr(), Br(), ...e)));
2892
+ function cl(...e) {
2893
+ return Zt(({ set: n }) => (n(Te, {}), n(we, {}), n(re, {}), n(Ze, {}), I($r(), Lr(), ...e)));
2894
2894
  }
2895
- function Ve(e, n, t, r, o, l) {
2895
+ function Fe(e, n, t, r, o, l) {
2896
2896
  const s = [
2897
2897
  "bc-button",
2898
2898
  `bu-text-${n}`,
@@ -2935,16 +2935,16 @@ function ge({
2935
2935
  (p) => h.button(
2936
2936
  a.type(e),
2937
2937
  a.disabled(
2938
- w(
2938
+ $(
2939
2939
  n,
2940
2940
  t
2941
2941
  )((d, f) => d || f)
2942
2942
  ),
2943
2943
  // Add ARIA attributes for accessibility
2944
2944
  A.busy(t ?? !1),
2945
- z(t ?? !1, () => A.label(p.loadingExtended())),
2945
+ G(t ?? !1, () => A.label(p.loadingExtended())),
2946
2946
  a.class(
2947
- w(
2947
+ $(
2948
2948
  r,
2949
2949
  o,
2950
2950
  l,
@@ -2952,7 +2952,7 @@ function ge({
2952
2952
  n,
2953
2953
  t
2954
2954
  )(
2955
- (d, f, b, k, y, S) => Ve(
2955
+ (d, f, b, k, y, S) => Fe(
2956
2956
  d ?? "filled",
2957
2957
  f ?? "md",
2958
2958
  b ?? "base",
@@ -2962,7 +2962,7 @@ function ge({
2962
2962
  )
2963
2963
  )
2964
2964
  ),
2965
- z(
2965
+ G(
2966
2966
  t ?? !1,
2967
2967
  () => I(
2968
2968
  v.width(
@@ -2981,12 +2981,12 @@ function ge({
2981
2981
  ),
2982
2982
  () => I(m.click(u), ...c)
2983
2983
  ),
2984
- z(
2984
+ G(
2985
2985
  t != null,
2986
2986
  () => ye(
2987
- (d) => G(
2987
+ (d) => R(
2988
2988
  d.on((f) => {
2989
- $.get(t ?? !1) || i.set(f);
2989
+ w.get(t ?? !1) || i.set(f);
2990
2990
  })
2991
2991
  )
2992
2992
  )
@@ -2994,15 +2994,38 @@ function ge({
2994
2994
  )
2995
2995
  );
2996
2996
  }
2997
- const Lr = ["!=", "<=", ">=", "<", ">", "="];
2998
- function Dr(e) {
2999
- for (const n of Lr)
2997
+ function il({ content: e }) {
2998
+ const n = w.toSignal(e), t = $(n)((r) => r.arrayBuffer()).mapAsync(
2999
+ async (r) => {
3000
+ const o = new Blob([await r], { type: "application/pdf" });
3001
+ return URL.createObjectURL(o);
3002
+ },
3003
+ null
3004
+ );
3005
+ return h.div(
3006
+ R(
3007
+ t.on((r, o) => {
3008
+ o != null && URL.revokeObjectURL(o);
3009
+ }),
3010
+ () => {
3011
+ const r = t.value;
3012
+ r != null && URL.revokeObjectURL(r);
3013
+ }
3014
+ ),
3015
+ a.class("h-full w-full"),
3016
+ // could also use embed or object. IFrame seems to work on Safari.
3017
+ h.iframe(a.class("h-full w-full"), a.src(t))
3018
+ );
3019
+ }
3020
+ const Dr = ["!=", "<=", ">=", "<", ">", "="];
3021
+ function Pr(e) {
3022
+ for (const n of Dr)
3000
3023
  if (typeof e == "string" && e.startsWith(n))
3001
3024
  return [n, e.slice(n.length)];
3002
3025
  return ["=", e];
3003
3026
  }
3004
- function Pr(e, n, t) {
3005
- const [r, o] = Dr(n), l = e.findIndex((c) => c[1] === o);
3027
+ function Or(e, n, t) {
3028
+ const [r, o] = Pr(n), l = e.findIndex((c) => c[1] === o);
3006
3029
  if (l === -1)
3007
3030
  throw new Error(`Breakpoint ${String(o)} not found`);
3008
3031
  const s = e[l][0], u = l < e.length - 1 ? e[l + 1][0] : 1 / 0;
@@ -3023,7 +3046,7 @@ function Pr(e, n, t) {
3023
3046
  return !1;
3024
3047
  }
3025
3048
  }
3026
- function sl(e, n) {
3049
+ function ul(e, n) {
3027
3050
  const t = e.findIndex((r) => r[0] > n) - 1;
3028
3051
  return t >= 0 ? e[t][1] : (e.length > 0 && n >= e[0][0], e[0][1]);
3029
3052
  }
@@ -3039,47 +3062,47 @@ function jt(e, { breakpoints: n, mode: t = "viewport" }) {
3039
3062
  value: u,
3040
3063
  breakpoints: n,
3041
3064
  asList: o,
3042
- is: (i, p) => Pr(o, i, p)
3065
+ is: (i, p) => Or(o, i, p)
3043
3066
  });
3044
3067
  };
3045
- return t === "element" ? ye(l) : rn(l);
3068
+ return t === "element" ? ye(l) : on(l);
3046
3069
  }
3047
- let Le = NaN;
3048
- function Or(e, n) {
3049
- return e ? (isNaN(Le) && (Le = parseFloat(getComputedStyle(document.documentElement).fontSize)), parseFloat(e) * Le) : n;
3070
+ let De = NaN;
3071
+ function jr(e, n) {
3072
+ return e ? (isNaN(De) && (De = parseFloat(getComputedStyle(document.documentElement).fontSize)), parseFloat(e) * De) : n;
3050
3073
  }
3051
- function U(e, n, t) {
3052
- return Or(e.getPropertyValue(n), t);
3074
+ function z(e, n, t) {
3075
+ return jr(e.getPropertyValue(n), t);
3053
3076
  }
3054
- function jr(e) {
3077
+ function Vr(e) {
3055
3078
  return M((n) => {
3056
3079
  const t = getComputedStyle(n), r = {
3057
3080
  zero: 0,
3058
- xs: U(t, "--breakpoint-xs", 640),
3059
- sm: U(t, "--breakpoint-sm", 768),
3060
- md: U(t, "--breakpoint-md", 1024),
3061
- lg: U(t, "--breakpoint-lg", 1280),
3062
- xl: U(t, "--breakpoint-xl", 1536)
3081
+ xs: z(t, "--breakpoint-xs", 640),
3082
+ sm: z(t, "--breakpoint-sm", 768),
3083
+ md: z(t, "--breakpoint-md", 1024),
3084
+ lg: z(t, "--breakpoint-lg", 1280),
3085
+ xl: z(t, "--breakpoint-xl", 1536)
3063
3086
  };
3064
3087
  return jt(e, { breakpoints: r });
3065
3088
  });
3066
3089
  }
3067
- function cl(e) {
3090
+ function dl(e) {
3068
3091
  return M((n) => {
3069
3092
  const t = getComputedStyle(n), r = {
3070
3093
  zero: 0,
3071
- "3xs": U(t, "--container-3xs", 256),
3072
- "2xs": U(t, "--container-2xs", 288),
3073
- xs: U(t, "--container-xs", 320),
3074
- sm: U(t, "--container-sm", 384),
3075
- md: U(t, "--container-md", 448),
3076
- lg: U(t, "--container-lg", 512),
3077
- xl: U(t, "--container-xl", 640),
3078
- "2xl": U(t, "--container-2xl", 768),
3079
- "3xl": U(t, "--container-3xl", 1024),
3080
- "4xl": U(t, "--container-4xl", 1280),
3081
- "5xl": U(t, "--container-5xl", 1536),
3082
- "6xl": U(t, "--container-6xl", 2048)
3094
+ "3xs": z(t, "--container-3xs", 256),
3095
+ "2xs": z(t, "--container-2xs", 288),
3096
+ xs: z(t, "--container-xs", 320),
3097
+ sm: z(t, "--container-sm", 384),
3098
+ md: z(t, "--container-md", 448),
3099
+ lg: z(t, "--container-lg", 512),
3100
+ xl: z(t, "--container-xl", 640),
3101
+ "2xl": z(t, "--container-2xl", 768),
3102
+ "3xl": z(t, "--container-3xl", 1024),
3103
+ "4xl": z(t, "--container-4xl", 1280),
3104
+ "5xl": z(t, "--container-5xl", 1536),
3105
+ "6xl": z(t, "--container-6xl", 2048)
3083
3106
  };
3084
3107
  return jt(e, {
3085
3108
  breakpoints: r,
@@ -3141,7 +3164,7 @@ function Vt({
3141
3164
  onClosed: i
3142
3165
  };
3143
3166
  }
3144
- function il({
3167
+ function pl({
3145
3168
  initialStatus: e = "closed",
3146
3169
  duration: n,
3147
3170
  openDuration: t = n ?? 500,
@@ -3193,9 +3216,9 @@ function me({
3193
3216
  })
3194
3217
  };
3195
3218
  }
3196
- function Fe(e, n) {
3219
+ function He(e, n) {
3197
3220
  return a.class(
3198
- w(
3221
+ $(
3199
3222
  e,
3200
3223
  n
3201
3224
  )((t, r) => `bu-toggle--animated bu-toggle--${t} bu-toggle--${r}`)
@@ -3282,13 +3305,13 @@ function lt(e, n) {
3282
3305
  };
3283
3306
  return t.xs < t.zero && (t.xs = t.zero), t.sm < t.xs && (t.sm = t.xs), t.md < t.sm && (t.md = t.sm), t.lg < t.md && (t.lg = t.md), t.xl < t.lg && (t.xl = t.lg), t;
3284
3307
  }
3285
- function De(e) {
3308
+ function Pe(e) {
3286
3309
  e = e.filter((n) => n.some((t) => t != null && !t.startsWith("?")));
3287
3310
  for (let n = 0; n < e[0].length; n++)
3288
3311
  e.every((t) => t[n] == null || t[n].startsWith("?")) && (e = e.map((t) => t.filter((r, o) => o !== n)), n--);
3289
3312
  return e = e.map((n) => n.map((t) => t != null && t.startsWith("?") ? t.slice(1) : t)), e;
3290
3313
  }
3291
- function Vr({
3314
+ function Fr({
3292
3315
  smallBreakpoint: e,
3293
3316
  mediumBreakpoint: n,
3294
3317
  vertical: t,
@@ -3310,7 +3333,7 @@ function Vr({
3310
3333
  const d = [];
3311
3334
  return r.banner && (d.push(r.banner[c] + "px"), i[0][1] = "banner"), (r.header || t.menu || t.aside) && (d.push(
3312
3335
  (((b = r.header) == null ? void 0 : b[c]) ?? le.header[c]) + "px"
3313
- ), i[1][1] = "header"), r.mainHeader && (d.push(r.mainHeader[c] + "px"), i[2][1] = "mainHeader"), d.push("1fr"), i[3][1] = "main", r.mainFooter && (d.push(r.mainFooter[c] + "px"), i[4][1] = "mainFooter"), r.footer && (d.push(r.footer[c] + "px"), i[5][1] = "footer"), i = De(i), {
3336
+ ), i[1][1] = "header"), r.mainHeader && (d.push(r.mainHeader[c] + "px"), i[2][1] = "mainHeader"), d.push("1fr"), i[3][1] = "main", r.mainFooter && (d.push(r.mainFooter[c] + "px"), i[4][1] = "mainFooter"), r.footer && (d.push(r.footer[c] + "px"), i[5][1] = "footer"), i = Pe(i), {
3314
3337
  columns: p.join(" "),
3315
3338
  rows: d.join(" "),
3316
3339
  areas: i.map((k) => `"${k.join(" ")}"`).join(`
@@ -3336,7 +3359,7 @@ function Vr({
3336
3359
  const d = [];
3337
3360
  return r.banner && (d.push(r.banner[c] + "px"), i[0][0] = "?banner", i[0][1] = "banner"), (r.header || t.aside) && (d.push(
3338
3361
  (((b = r.header) == null ? void 0 : b[c]) ?? le.header[c]) + "px"
3339
- ), i[1][0] = "?header", i[1][1] = "header"), r.mainHeader && (d.push(r.mainHeader[c] + "px"), i[2][1] = "mainHeader"), d.push("1fr"), i[3][1] = "main", r.mainFooter && (d.push(r.mainFooter[c] + "px"), i[4][1] = "mainFooter"), r.footer && (d.push(r.footer[c] + "px"), i[5][0] = "?footer", i[5][1] = "footer"), i = De(i), {
3362
+ ), i[1][0] = "?header", i[1][1] = "header"), r.mainHeader && (d.push(r.mainHeader[c] + "px"), i[2][1] = "mainHeader"), d.push("1fr"), i[3][1] = "main", r.mainFooter && (d.push(r.mainFooter[c] + "px"), i[4][1] = "mainFooter"), r.footer && (d.push(r.footer[c] + "px"), i[5][0] = "?footer", i[5][1] = "footer"), i = Pe(i), {
3340
3363
  columns: p.join(" "),
3341
3364
  rows: d.join(" "),
3342
3365
  areas: i.map((k) => `"${k.join(" ")}"`).join(`
@@ -3359,7 +3382,7 @@ function Vr({
3359
3382
  const p = [];
3360
3383
  t.menu && (p.push(t.menu[c] + "px"), i[2][0] = "?menu", i[3][0] = "menu", i[4][0] = "?menu"), p.push("1fr"), t.aside && (p.push(t.aside[c] + "px"), i[2][2] = "?aside", i[3][2] = "aside", i[4][2] = "?aside");
3361
3384
  const d = [];
3362
- return r.banner && (d.push(r.banner[c] + "px"), i[0][0] = "?banner", i[0][1] = "banner", i[0][2] = "?banner"), r.header && (d.push(r.header[c] + "px"), i[1][0] = "?header", i[1][1] = "header", i[1][2] = "?header"), r.mainHeader && (d.push(r.mainHeader[c] + "px"), i[2][1] = "mainHeader"), d.push("1fr"), i[3][1] = "main", r.mainFooter && (d.push(r.mainFooter[c] + "px"), i[4][1] = "mainFooter"), r.footer && (d.push(r.footer[c] + "px"), i[5][0] = "?footer", i[5][1] = "footer", i[5][2] = "?footer"), i = De(i), {
3385
+ return r.banner && (d.push(r.banner[c] + "px"), i[0][0] = "?banner", i[0][1] = "banner", i[0][2] = "?banner"), r.header && (d.push(r.header[c] + "px"), i[1][0] = "?header", i[1][1] = "header", i[1][2] = "?header"), r.mainHeader && (d.push(r.mainHeader[c] + "px"), i[2][1] = "mainHeader"), d.push("1fr"), i[3][1] = "main", r.mainFooter && (d.push(r.mainFooter[c] + "px"), i[4][1] = "mainFooter"), r.footer && (d.push(r.footer[c] + "px"), i[5][0] = "?footer", i[5][1] = "footer", i[5][2] = "?footer"), i = Pe(i), {
3363
3386
  columns: p.join(" "),
3364
3387
  rows: d.join(" "),
3365
3388
  areas: i.map((b) => `"${b.join(" ")}"`).join(`
@@ -3375,33 +3398,33 @@ function Vr({
3375
3398
  breakpoint: i
3376
3399
  }) => o(`<=${e}`, c) ? l(i) : o(`<=${n}`, c) ? s(i) : u(i);
3377
3400
  }
3378
- const Fr = ["menu", "aside"], Hr = [
3401
+ const Hr = ["menu", "aside"], Mr = [
3379
3402
  "banner",
3380
3403
  "header",
3381
3404
  "mainHeader",
3382
3405
  "mainFooter",
3383
3406
  "footer"
3384
3407
  ];
3385
- function Mr(e, { displayMenu: n }, t) {
3408
+ function Nr(e, { displayMenu: n }, t) {
3386
3409
  return e ? n ? "block" : t ? "float" : "none" : "none";
3387
3410
  }
3388
- function Nr(e, { displayAside: n }, t) {
3411
+ function Wr(e, { displayAside: n }, t) {
3389
3412
  return e ? n ? "block" : t ? "float" : "none" : "none";
3390
3413
  }
3391
- function ul({
3414
+ function hl({
3392
3415
  smallBreakpoint: e = "sm",
3393
3416
  mediumBreakpoint: n = "md",
3394
3417
  ...t
3395
3418
  }) {
3396
3419
  const r = Object.fromEntries(
3397
- Fr.filter((l) => t[l]).map(
3420
+ Hr.filter((l) => t[l]).map(
3398
3421
  (l) => [
3399
3422
  l,
3400
3423
  lt(t[l].width ?? {}, le[l])
3401
3424
  ]
3402
3425
  )
3403
3426
  ), o = Object.fromEntries(
3404
- Hr.filter((l) => t[l]).map(
3427
+ Mr.filter((l) => t[l]).map(
3405
3428
  (l) => [
3406
3429
  l,
3407
3430
  lt(t[l].height ?? {}, le[l])
@@ -3410,31 +3433,31 @@ function ul({
3410
3433
  );
3411
3434
  return W(
3412
3435
  re,
3413
- (l) => jr(({ value: s, is: u }) => {
3436
+ (l) => Vr(({ value: s, is: u }) => {
3414
3437
  var L, P, j, E, V, _, te, N, ne, F;
3415
- const c = Vr({
3438
+ const c = Fr({
3416
3439
  smallBreakpoint: e,
3417
3440
  mediumBreakpoint: n,
3418
3441
  vertical: r,
3419
3442
  horizontal: o,
3420
3443
  is: u
3421
- }), i = s.map(c), p = o.header != null || r.menu != null || r.aside != null, d = w(
3444
+ }), i = s.map(c), p = o.header != null || r.menu != null || r.aside != null, d = $(
3422
3445
  r.aside != null,
3423
3446
  i
3424
- )((x, { displayAside: O }) => x && !O), f = w(
3447
+ )((x, { displayAside: O }) => x && !O), f = $(
3425
3448
  r.menu != null,
3426
3449
  i
3427
- )((x, { displayMenu: O }) => x && !O), b = me(), k = me(), y = q(0), S = w(
3450
+ )((x, { displayMenu: O }) => x && !O), b = me(), k = me(), y = q(0), S = $(
3428
3451
  r.menu != null,
3429
3452
  i,
3430
3453
  b.display
3431
- )(Mr), g = w(
3454
+ )(Nr), g = $(
3432
3455
  r.aside != null,
3433
3456
  i,
3434
3457
  k.display
3435
- )(Nr);
3458
+ )(Wr);
3436
3459
  return h.div(
3437
- G(() => {
3460
+ R(() => {
3438
3461
  y.dispose(), b.dispose(), k.dispose();
3439
3462
  }),
3440
3463
  v.height("100%"),
@@ -3552,21 +3575,21 @@ function ul({
3552
3575
  v.height("100%"),
3553
3576
  v.gridArea("menu"),
3554
3577
  v.display(
3555
- w(
3578
+ $(
3556
3579
  S,
3557
3580
  b.status
3558
3581
  )((x, O) => x === "none" && O === "closed" ? "none" : "block")
3559
3582
  ),
3560
3583
  v.position(
3561
- w(
3584
+ $(
3562
3585
  S,
3563
3586
  b.status
3564
3587
  )((x, O) => x === "float" || x === "none" && O !== "closed" ? "fixed" : "initial")
3565
3588
  ),
3566
3589
  v.top(y.map((x) => `${x}px`)),
3567
- Fe(
3590
+ He(
3568
3591
  "slide-right",
3569
- w(
3592
+ $(
3570
3593
  S,
3571
3594
  b.status
3572
3595
  )((x, O) => x === "block" ? "opened" : O)
@@ -3628,21 +3651,21 @@ function ul({
3628
3651
  v.height("100%"),
3629
3652
  v.gridArea("aside"),
3630
3653
  v.display(
3631
- w(
3654
+ $(
3632
3655
  g,
3633
3656
  k.status
3634
3657
  )((x, O) => x === "none" && O === "closed" ? "none" : "block")
3635
3658
  ),
3636
3659
  v.position(
3637
- w(
3660
+ $(
3638
3661
  g,
3639
3662
  k.status
3640
3663
  )((x, O) => x === "float" || x === "none" && O !== "closed" ? "fixed" : "initial")
3641
3664
  ),
3642
3665
  v.top(y.map((x) => `${x}px`)),
3643
- Fe(
3666
+ He(
3644
3667
  "slide-left",
3645
- w(
3668
+ $(
3646
3669
  g,
3647
3670
  k.status
3648
3671
  )((x, O) => x === "block" ? "opened" : O)
@@ -3661,19 +3684,19 @@ function ul({
3661
3684
  })
3662
3685
  );
3663
3686
  }
3664
- function Wr(e, n, t) {
3687
+ function Rr(e, n, t) {
3665
3688
  const r = ["bc-card"];
3666
3689
  return e !== "default" && r.push(`bc-card--${e}`), n !== "md" && r.push(`bc-card--padding-${n}`), t !== "lg" && r.push(`bc-card--rounded-${t}`), r.join(" ");
3667
3690
  }
3668
- function dl({ variant: e = "default", size: n = "md", roundedness: t = "lg" } = {}, ...r) {
3691
+ function bl({ variant: e = "default", size: n = "md", roundedness: t = "lg" } = {}, ...r) {
3669
3692
  return h.div(
3670
3693
  a.class(
3671
- w(
3694
+ $(
3672
3695
  e,
3673
3696
  n,
3674
3697
  t
3675
3698
  )(
3676
- (o, l, s) => Wr(
3699
+ (o, l, s) => Rr(
3677
3700
  o ?? "default",
3678
3701
  l ?? "md",
3679
3702
  s ?? "lg"
@@ -3683,7 +3706,7 @@ function dl({ variant: e = "default", size: n = "md", roundedness: t = "lg" } =
3683
3706
  ...r
3684
3707
  );
3685
3708
  }
3686
- function pl(...e) {
3709
+ function fl(...e) {
3687
3710
  return h.div(
3688
3711
  a.class("bc-center-h"),
3689
3712
  h.div(a.class("bc-center__content"), ...e)
@@ -3693,13 +3716,13 @@ function qr(e) {
3693
3716
  const n = ["bc-center"];
3694
3717
  return e !== "lg" && n.push(`bc-center--gap-${e}`), n.join(" ");
3695
3718
  }
3696
- function hl({ gap: e = "lg" } = {}, ...n) {
3719
+ function gl({ gap: e = "lg" } = {}, ...n) {
3697
3720
  return h.div(
3698
- a.class(w(e)((t) => qr(t ?? "lg"))),
3721
+ a.class($(e)((t) => qr(t ?? "lg"))),
3699
3722
  ...n
3700
3723
  );
3701
3724
  }
3702
- function bl(e, n = 0, t = () => !0) {
3725
+ function ml(e, n = 0, t = () => !0) {
3703
3726
  let r = null, o;
3704
3727
  const l = q(e.value);
3705
3728
  return e.on((s) => {
@@ -3710,7 +3733,7 @@ function bl(e, n = 0, t = () => !0) {
3710
3733
  r != null && clearTimeout(r);
3711
3734
  }), l;
3712
3735
  }
3713
- const Rr = [
3736
+ const Ur = [
3714
3737
  "a[href]",
3715
3738
  "button:not([disabled])",
3716
3739
  "input:not([disabled])",
@@ -3723,8 +3746,8 @@ const Rr = [
3723
3746
  "details > summary:first-of-type",
3724
3747
  "details[open]"
3725
3748
  ].join(", ");
3726
- function Ur(e) {
3727
- return Array.from(e.querySelectorAll(Rr)).filter(
3749
+ function zr(e) {
3750
+ return Array.from(e.querySelectorAll(Ur)).filter(
3728
3751
  (n) => {
3729
3752
  const t = n;
3730
3753
  return t.offsetWidth > 0 && t.offsetHeight > 0 && !t.hasAttribute("inert") && window.getComputedStyle(t).visibility !== "hidden";
@@ -3745,7 +3768,7 @@ function _e(e = {}) {
3745
3768
  let i = n, p = null, d = [];
3746
3769
  typeof document < "u" && (p = document.activeElement);
3747
3770
  const f = () => {
3748
- d = Ur(c);
3771
+ d = zr(c);
3749
3772
  }, b = (g) => {
3750
3773
  var L, P;
3751
3774
  if (i) {
@@ -3782,26 +3805,26 @@ function _e(e = {}) {
3782
3805
  g == null || g.focus();
3783
3806
  }, 0);
3784
3807
  };
3785
- return setTimeout(() => y(), 0), G(() => {
3808
+ return setTimeout(() => y(), 0), R(() => {
3786
3809
  S();
3787
3810
  });
3788
3811
  });
3789
3812
  }
3790
- function fl(e = {}) {
3813
+ function kl(e = {}) {
3791
3814
  return {
3792
3815
  activate: () => _e({ ...e, active: !0 }),
3793
3816
  deactivate: () => _e({ ...e, active: !1 })
3794
3817
  };
3795
3818
  }
3796
- function zr({ open: e }, ...n) {
3819
+ function Gr({ open: e }, ...n) {
3797
3820
  return M((t) => {
3798
3821
  const { status: r, setOpen: o, dispose: l } = me({
3799
- initialStatus: $.get(e) ? "opened" : "closed",
3822
+ initialStatus: w.get(e) ? "opened" : "closed",
3800
3823
  element: t
3801
3824
  });
3802
- return $.on(e, o), ye((s) => {
3825
+ return w.on(e, o), ye((s) => {
3803
3826
  const u = q(null);
3804
- return w(
3827
+ return $(
3805
3828
  r,
3806
3829
  s.$.height
3807
3830
  )((i, p) => i === "opened" && p > 0 ? p : null).on((i) => {
@@ -3814,8 +3837,8 @@ function zr({ open: e }, ...n) {
3814
3837
  f > 0 && u.set(f), t.style.height = p, t.style.transition = d, t.offsetHeight;
3815
3838
  }
3816
3839
  }), I(
3817
- G(l),
3818
- G(u.dispose),
3840
+ R(l),
3841
+ R(u.dispose),
3819
3842
  a.style(
3820
3843
  u.map((i) => `--collapse-height: ${i != null ? `${i}px` : "auto"}`)
3821
3844
  ),
@@ -3825,7 +3848,7 @@ function zr({ open: e }, ...n) {
3825
3848
  });
3826
3849
  });
3827
3850
  }
3828
- function gl(...e) {
3851
+ function xl(...e) {
3829
3852
  return h.div(a.class("bc-group"), ...e);
3830
3853
  }
3831
3854
  function at({
@@ -3842,7 +3865,7 @@ function at({
3842
3865
  return h.div(
3843
3866
  a.class("bc-scrollable-panel"),
3844
3867
  a.class(
3845
- w(
3868
+ $(
3846
3869
  o,
3847
3870
  r
3848
3871
  )((u, c) => {
@@ -3864,7 +3887,7 @@ function at({
3864
3887
  h.div(
3865
3888
  a.class("bc-scrollable-panel__body"),
3866
3889
  M(
3867
- (u) => G(ce(() => l(u)))
3890
+ (u) => R(ce(() => l(u)))
3868
3891
  ),
3869
3892
  m.scroll((u) => {
3870
3893
  const c = u.target;
@@ -3876,19 +3899,19 @@ function at({
3876
3899
  n && h.div(a.class("bc-scrollable-panel__footer"), n)
3877
3900
  );
3878
3901
  }
3879
- function Gr(e, n, t) {
3902
+ function Kr(e, n, t) {
3880
3903
  const r = ["bc-sink"];
3881
3904
  return e !== "default" && r.push(`bc-sink--${e}`), n !== "md" && r.push(`bc-sink--padding-${n}`), t !== "lg" && r.push(`bc-sink--rounded-${t}`), r.join(" ");
3882
3905
  }
3883
- function ml({ variant: e = "default", size: n = "md", roundedness: t = "lg" } = {}, ...r) {
3906
+ function vl({ variant: e = "default", size: n = "md", roundedness: t = "lg" } = {}, ...r) {
3884
3907
  return h.div(
3885
3908
  a.class(
3886
- w(
3909
+ $(
3887
3910
  e,
3888
3911
  n,
3889
3912
  t
3890
3913
  )(
3891
- (o, l, s) => Gr(
3914
+ (o, l, s) => Kr(
3892
3915
  o ?? "default",
3893
3916
  l ?? "md",
3894
3917
  s ?? "lg"
@@ -3898,13 +3921,13 @@ function ml({ variant: e = "default", size: n = "md", roundedness: t = "lg" } =
3898
3921
  ...r
3899
3922
  );
3900
3923
  }
3901
- function kl(...e) {
3924
+ function yl(...e) {
3902
3925
  return h.div(a.class("bc-stack"), ...e);
3903
3926
  }
3904
- function Kr(e) {
3927
+ function Zr(e) {
3905
3928
  return e.startsWith("top") ? "flyout-top" : e.startsWith("bottom") ? "flyout-bottom" : e.startsWith("left") ? "flyout-left" : e.startsWith("right") ? "flyout-right" : "scale-fade";
3906
3929
  }
3907
- function Zr(e) {
3930
+ function Xr(e) {
3908
3931
  const {
3909
3932
  content: n,
3910
3933
  placement: t = "top",
@@ -3917,7 +3940,7 @@ function Zr(e) {
3917
3940
  arrow: i,
3918
3941
  role: p
3919
3942
  } = e;
3920
- return on((d, f) => {
3943
+ return ln((d, f) => {
3921
3944
  const b = me({
3922
3945
  initialStatus: "closed"
3923
3946
  }), k = ue("flyout");
@@ -3926,7 +3949,7 @@ function Zr(e) {
3926
3949
  E != null && (clearTimeout(E), E = null), _ != null && (clearTimeout(_), _ = null), g && (g(), g = null), S && (S(), S = null), y && (document.removeEventListener("keydown", y), y = null), L = !1;
3927
3950
  }
3928
3951
  function j() {
3929
- $.get(c) && (y = (N) => {
3952
+ w.get(c) && (y = (N) => {
3930
3953
  N.key === "Escape" && te();
3931
3954
  }, document.addEventListener("keydown", y)), L = !0, d({
3932
3955
  placement: t ?? "top",
@@ -3938,7 +3961,7 @@ function Zr(e) {
3938
3961
  b.open(), g = null;
3939
3962
  });
3940
3963
  const ne = (F) => {
3941
- if ($.get(c) && F.key === "Escape") {
3964
+ if (w.get(c) && F.key === "Escape") {
3942
3965
  F.preventDefault(), F.stopPropagation(), te();
3943
3966
  const x = document.querySelector(
3944
3967
  `[aria-controls="${k}"]`
@@ -3947,15 +3970,15 @@ function Zr(e) {
3947
3970
  }
3948
3971
  };
3949
3972
  return document.addEventListener("keydown", ne, !0), I(
3950
- G(() => {
3973
+ R(() => {
3951
3974
  P(), document.removeEventListener("keydown", ne, !0);
3952
3975
  }),
3953
3976
  a.class("bc-flyout"),
3954
3977
  a.id(k),
3955
3978
  a.tabindex(-1),
3956
3979
  // Make focusable for screen readers
3957
- Fe(
3958
- $.map(t, Kr),
3980
+ He(
3981
+ w.map(t, Zr),
3959
3982
  b.status
3960
3983
  ),
3961
3984
  p ? a.role(p) : a.role("dialog"),
@@ -3973,7 +3996,7 @@ function Zr(e) {
3973
3996
  b.open();
3974
3997
  return;
3975
3998
  }
3976
- const N = $.get(r);
3999
+ const N = w.get(r);
3977
4000
  E = setTimeout(() => {
3978
4001
  E = null, j();
3979
4002
  }, N);
@@ -3984,7 +4007,7 @@ function Zr(e) {
3984
4007
  f(), P();
3985
4008
  return;
3986
4009
  }
3987
- const N = $.get(o);
4010
+ const N = w.get(o);
3988
4011
  _ = setTimeout(() => {
3989
4012
  _ = null, S && (S(), S = null), b.close(), S = b.onClosed(() => {
3990
4013
  f(), P();
@@ -4005,7 +4028,7 @@ function Zr(e) {
4005
4028
  return u(F, x);
4006
4029
  const O = u;
4007
4030
  return I(
4008
- G(() => {
4031
+ R(() => {
4009
4032
  b.dispose();
4010
4033
  }),
4011
4034
  Xt(O, {
@@ -4031,7 +4054,7 @@ function Zr(e) {
4031
4054
  de(), x();
4032
4055
  }
4033
4056
  return I(
4034
- G(de),
4057
+ R(de),
4035
4058
  m.click(() => {
4036
4059
  F(), ce(() => {
4037
4060
  document.addEventListener("click", ke, {
@@ -4066,7 +4089,7 @@ function st(e, n, t) {
4066
4089
  }
4067
4090
  return r.join(" ");
4068
4091
  }
4069
- function Xr({
4092
+ function Yr({
4070
4093
  href: e,
4071
4094
  variant: n = "default",
4072
4095
  color: t = "primary",
@@ -4076,11 +4099,11 @@ function Xr({
4076
4099
  target: s,
4077
4100
  rel: u
4078
4101
  }, ...c) {
4079
- return z(
4102
+ return G(
4080
4103
  o,
4081
4104
  () => h.span(
4082
4105
  a.class(
4083
- w(
4106
+ $(
4084
4107
  n,
4085
4108
  r,
4086
4109
  o
@@ -4096,7 +4119,7 @@ function Xr({
4096
4119
  withViewTransition: l
4097
4120
  },
4098
4121
  a.class(
4099
- w(
4122
+ $(
4100
4123
  n,
4101
4124
  t,
4102
4125
  o
@@ -4134,19 +4157,19 @@ function Ft(e, n, t) {
4134
4157
  return !1;
4135
4158
  }
4136
4159
  }
4137
- function xl({
4160
+ function wl({
4138
4161
  href: e,
4139
4162
  matchMode: n = "exact",
4140
4163
  disableWhenActive: t = !0,
4141
4164
  ...r
4142
4165
  }, ...o) {
4143
- return W(Ae, (l) => {
4144
- const s = w(
4166
+ return W(Te, (l) => {
4167
+ const s = $(
4145
4168
  l,
4146
4169
  e,
4147
4170
  t
4148
- )((u, c, i) => i ?? !0 ? Ft(u, $.get(c), n) : !1);
4149
- return Xr(
4171
+ )((u, c, i) => i ?? !0 ? Ft(u, w.get(c), n) : !1);
4172
+ return Yr(
4150
4173
  {
4151
4174
  ...r,
4152
4175
  href: e,
@@ -4156,7 +4179,7 @@ function xl({
4156
4179
  );
4157
4180
  });
4158
4181
  }
4159
- function vl({
4182
+ function $l({
4160
4183
  href: e,
4161
4184
  withViewTransition: n = !0,
4162
4185
  target: t,
@@ -4169,16 +4192,16 @@ function vl({
4169
4192
  roundedness: i = "sm",
4170
4193
  disabled: p = !1
4171
4194
  }, ...d) {
4172
- return o !== void 0 || l !== void 0 ? W(Ae, (f) => {
4173
- const b = w(
4195
+ return o !== void 0 || l !== void 0 ? W(Te, (f) => {
4196
+ const b = $(
4174
4197
  f,
4175
4198
  e,
4176
4199
  l
4177
4200
  )((y, S, g) => {
4178
4201
  if (!(g ?? !0) || !o) return !1;
4179
- const P = $.get(S);
4202
+ const P = w.get(S);
4180
4203
  return Ft(y, P, o);
4181
- }), k = w(
4204
+ }), k = $(
4182
4205
  p,
4183
4206
  b
4184
4207
  )((y, S) => y || S);
@@ -4222,18 +4245,18 @@ function ct({
4222
4245
  roundedness: u,
4223
4246
  disabled: c
4224
4247
  }, ...i) {
4225
- return z(
4248
+ return G(
4226
4249
  c ?? !1,
4227
4250
  () => h.span(
4228
4251
  a.class(
4229
- w(
4252
+ $(
4230
4253
  o,
4231
4254
  l,
4232
4255
  s,
4233
4256
  u,
4234
4257
  c
4235
4258
  )(
4236
- (p, d, f, b, k) => Ve(
4259
+ (p, d, f, b, k) => Fe(
4237
4260
  p ?? "filled",
4238
4261
  d ?? "md",
4239
4262
  f ?? "base",
@@ -4252,14 +4275,14 @@ function ct({
4252
4275
  withViewTransition: n
4253
4276
  },
4254
4277
  a.class(
4255
- w(
4278
+ $(
4256
4279
  o,
4257
4280
  l,
4258
4281
  s,
4259
4282
  u,
4260
4283
  c
4261
4284
  )(
4262
- (p, d, f, b, k) => Ve(
4285
+ (p, d, f, b, k) => Fe(
4263
4286
  p ?? "filled",
4264
4287
  d ?? "md",
4265
4288
  f ?? "base",
@@ -4276,10 +4299,41 @@ function ct({
4276
4299
  )
4277
4300
  );
4278
4301
  }
4302
+ const Qr = {
4303
+ mark: Ae("SidebarContext"),
4304
+ create: (e) => ({
4305
+ value: {
4306
+ backgroundMode: "light"
4307
+ },
4308
+ dispose: () => {
4309
+ }
4310
+ })
4311
+ };
4312
+ function Cl({ backgroundMode: e = "light" }, ...n) {
4313
+ return Yt(
4314
+ Qr,
4315
+ w.map(
4316
+ e,
4317
+ (t) => ({
4318
+ backgroundMode: t
4319
+ })
4320
+ ),
4321
+ () => h.div(
4322
+ a.class("bc-sidebar"),
4323
+ a.class(
4324
+ w.map(
4325
+ e,
4326
+ (t) => t === "dark" ? "bc-sidebar--dark-bg" : ""
4327
+ )
4328
+ ),
4329
+ ...n
4330
+ )
4331
+ );
4332
+ }
4279
4333
  function it({ rail: e }, ...n) {
4280
4334
  return h.div(
4281
4335
  a.class(
4282
- $.map(
4336
+ w.map(
4283
4337
  e ?? !1,
4284
4338
  (t) => t ? "bc-sidebar-group--rail" : ""
4285
4339
  )
@@ -4288,13 +4342,13 @@ function it({ rail: e }, ...n) {
4288
4342
  ...n
4289
4343
  );
4290
4344
  }
4291
- function Yr(e, ...n) {
4345
+ function Jr(e, ...n) {
4292
4346
  return We({ href: e.href, withViewTransition: !0 }, ...n);
4293
4347
  }
4294
- function Qr(...e) {
4348
+ function eo(...e) {
4295
4349
  return h.span(...e);
4296
4350
  }
4297
- function Jr(e, ...n) {
4351
+ function to(e, ...n) {
4298
4352
  return h.button(
4299
4353
  m.click(e.onClick),
4300
4354
  // Add ARIA attributes if provided using WithElement for dynamic updates
@@ -4303,25 +4357,25 @@ function Jr(e, ...n) {
4303
4357
  const r = (o) => {
4304
4358
  t.setAttribute("aria-expanded", String(o));
4305
4359
  };
4306
- r($.get(e.ariaExpanded)), typeof e.ariaExpanded == "object" && "on" in e.ariaExpanded && e.ariaExpanded.on(r);
4360
+ r(w.get(e.ariaExpanded)), typeof e.ariaExpanded == "object" && "on" in e.ariaExpanded && e.ariaExpanded.on(r);
4307
4361
  }
4308
4362
  if (e.ariaControls != null) {
4309
4363
  const r = (o) => {
4310
4364
  t.setAttribute("aria-controls", o);
4311
4365
  };
4312
- r($.get(e.ariaControls)), typeof e.ariaControls == "object" && "on" in e.ariaControls && e.ariaControls.on(r);
4366
+ r(w.get(e.ariaControls)), typeof e.ariaControls == "object" && "on" in e.ariaControls && e.ariaControls.on(r);
4313
4367
  }
4314
4368
  if (e.ariaLabel != null) {
4315
4369
  const r = (o) => {
4316
4370
  t.setAttribute("aria-label", o);
4317
4371
  };
4318
- r($.get(e.ariaLabel)), typeof e.ariaLabel == "object" && "on" in e.ariaLabel && e.ariaLabel.on(r);
4372
+ r(w.get(e.ariaLabel)), typeof e.ariaLabel == "object" && "on" in e.ariaLabel && e.ariaLabel.on(r);
4319
4373
  }
4320
4374
  }),
4321
4375
  ...n
4322
4376
  );
4323
4377
  }
4324
- function eo(e) {
4378
+ function no(e) {
4325
4379
  var t;
4326
4380
  const n = [a.class("bc-sidebar-link")];
4327
4381
  return e.icon != null && n.push(
@@ -4342,25 +4396,25 @@ function eo(e) {
4342
4396
  }),
4343
4397
  X({ icon: (t = e.action) == null ? void 0 : t.icon })
4344
4398
  )
4345
- ), "onClick" in e ? Jr(e, ...n) : W(Ae, (r) => {
4346
- const o = w(
4399
+ ), "onClick" in e ? to(e, ...n) : W(Te, (r) => {
4400
+ const o = $(
4347
4401
  r,
4348
4402
  e.href
4349
4403
  )(({ pathname: l }, s) => l === s);
4350
- return z(
4404
+ return G(
4351
4405
  o,
4352
- () => Qr(...n),
4353
- () => Yr(e, ...n)
4406
+ () => eo(...n),
4407
+ () => Jr(e, ...n)
4354
4408
  );
4355
4409
  });
4356
4410
  }
4357
- function yl({
4411
+ function Sl({
4358
4412
  rail: e = !0,
4359
4413
  icon: n,
4360
4414
  header: t,
4361
4415
  startOpen: r = !0
4362
4416
  }, ...o) {
4363
- const l = $.deriveProp(r), s = ue("sidebar-group"), u = `${s}-content`;
4417
+ const l = w.deriveProp(r), s = ue("sidebar-group"), u = `${s}-content`;
4364
4418
  return it(
4365
4419
  {},
4366
4420
  a.class("bc-sidebar-group-collapsible"),
@@ -4372,7 +4426,7 @@ function yl({
4372
4426
  // Add ARIA attributes for group
4373
4427
  a.role("group"),
4374
4428
  a.id(s),
4375
- eo({
4429
+ no({
4376
4430
  icon: n,
4377
4431
  onClick: () => l.update((c) => !c),
4378
4432
  // Add ARIA attributes for the toggle button
@@ -4384,11 +4438,11 @@ function yl({
4384
4438
  ),
4385
4439
  content: t
4386
4440
  }),
4387
- it({ rail: e }, a.id(u), zr({ open: l }, ...o))
4441
+ it({ rail: e }, a.id(u), Gr({ open: l }, ...o))
4388
4442
  );
4389
4443
  }
4390
4444
  function Ht(e) {
4391
- return Yt((n) => {
4445
+ return Qt((n) => {
4392
4446
  const t = [], r = () => t.forEach((l) => l());
4393
4447
  return e(({
4394
4448
  effect: l = "opaque",
@@ -4412,11 +4466,11 @@ function Ht(e) {
4412
4466
  f(), b(), j === "capturing" ? (document.addEventListener("keydown", k), f = () => document.removeEventListener("keydown", k), n.element.addEventListener("mousedown", y), b = () => n.element.removeEventListener("mousedown", y)) : (f = () => {
4413
4467
  }, b = () => {
4414
4468
  });
4415
- }, g = $.on(s, S);
4469
+ }, g = w.on(s, S);
4416
4470
  t.push(g), t.push(() => {
4417
4471
  f(), b();
4418
4472
  });
4419
- const P = Qt((() => {
4473
+ const P = Jt((() => {
4420
4474
  var E, V;
4421
4475
  const j = /* @__PURE__ */ new Set();
4422
4476
  for (const _ of n.element.querySelectorAll(
@@ -4434,7 +4488,7 @@ function Ht(e) {
4434
4488
  he.status(d.status.map(String)),
4435
4489
  he.overlay("true"),
4436
4490
  a.class(
4437
- w(
4491
+ $(
4438
4492
  l ?? "opaque",
4439
4493
  s
4440
4494
  )(
@@ -4452,7 +4506,7 @@ function Ht(e) {
4452
4506
  }, r);
4453
4507
  });
4454
4508
  }
4455
- function to(e, n) {
4509
+ function ro(e, n) {
4456
4510
  const {
4457
4511
  size: t = "md",
4458
4512
  dismissable: r = !0,
@@ -4468,15 +4522,15 @@ function to(e, n) {
4468
4522
  return n((k) => {
4469
4523
  d = p;
4470
4524
  const y = q("capturing");
4471
- $.on(r, (E) => {
4525
+ w.on(r, (E) => {
4472
4526
  y.set(E ? "capturing" : "non-capturing");
4473
4527
  });
4474
- const S = w(
4528
+ const S = $(
4475
4529
  k.header != null,
4476
4530
  o
4477
4531
  )((E, V) => E || V), g = ue("modal"), L = `${g}-header`, P = `${g}-body`, j = h.div(
4478
4532
  a.class(
4479
- w(
4533
+ $(
4480
4534
  t,
4481
4535
  c
4482
4536
  )(
@@ -4497,9 +4551,9 @@ function to(e, n) {
4497
4551
  // Prevent overlay click-outside when clicking modal content
4498
4552
  // Focus trap implementation
4499
4553
  _e({
4500
- escapeDeactivates: $.get(r),
4554
+ escapeDeactivates: w.get(r),
4501
4555
  onEscape: () => {
4502
- $.get(r) && (l == null || l(), p());
4556
+ w.get(r) && (l == null || l(), p());
4503
4557
  },
4504
4558
  initialFocus: () => {
4505
4559
  const E = document.getElementById(g);
@@ -4518,7 +4572,7 @@ function to(e, n) {
4518
4572
  h.div(
4519
4573
  a.class("bc-modal__content"),
4520
4574
  // Header section
4521
- z(
4575
+ G(
4522
4576
  S,
4523
4577
  () => h.div(
4524
4578
  a.class("bc-modal__header"),
@@ -4526,7 +4580,7 @@ function to(e, n) {
4526
4580
  ...k.header ? [a.id(L)] : [],
4527
4581
  k.header
4528
4582
  ),
4529
- z(
4583
+ G(
4530
4584
  o,
4531
4585
  () => ge(
4532
4586
  {
@@ -4565,11 +4619,11 @@ function to(e, n) {
4565
4619
  });
4566
4620
  });
4567
4621
  }
4568
- function wl(e, n) {
4622
+ function El(e, n) {
4569
4623
  const { confirmText: t, cancelText: r, onConfirm: o, onCancel: l, ...s } = e;
4570
4624
  return W(
4571
4625
  re,
4572
- (u) => to({ showCloseButton: !1, ...s }, (c, i) => {
4626
+ (u) => ro({ showCloseButton: !1, ...s }, (c, i) => {
4573
4627
  const p = () => {
4574
4628
  o == null || o(), i();
4575
4629
  }, d = () => {
@@ -4601,7 +4655,7 @@ function wl(e, n) {
4601
4655
  })
4602
4656
  );
4603
4657
  }
4604
- function $l(e) {
4658
+ function _l(e) {
4605
4659
  return Ht((n, t) => {
4606
4660
  let r = t;
4607
4661
  const o = () => r();
@@ -4620,10 +4674,10 @@ function $l(e) {
4620
4674
  } = u;
4621
4675
  r = t;
4622
4676
  const L = q("capturing");
4623
- $.on(p, (E) => {
4677
+ w.on(p, (E) => {
4624
4678
  L.set(E ? "capturing" : "non-capturing");
4625
4679
  });
4626
- const P = w(
4680
+ const P = $(
4627
4681
  y != null,
4628
4682
  d
4629
4683
  )((E, V) => E || V), j = M((E) => {
@@ -4639,7 +4693,7 @@ function $l(e) {
4639
4693
  const te = ue("drawer"), N = y != null ? `${te}-header` : void 0, ne = `${te}-body`;
4640
4694
  return h.div(
4641
4695
  a.class(
4642
- w(
4696
+ $(
4643
4697
  c,
4644
4698
  i,
4645
4699
  V.status
@@ -4660,8 +4714,8 @@ function $l(e) {
4660
4714
  // Focus trap for keyboard navigation
4661
4715
  _e({
4662
4716
  active: !0,
4663
- escapeDeactivates: $.get(p),
4664
- onEscape: $.get(p) ? o : void 0,
4717
+ escapeDeactivates: w.get(p),
4718
+ onEscape: w.get(p) ? o : void 0,
4665
4719
  initialFocus: () => document.querySelector(
4666
4720
  `#${te} [aria-label="Close drawer"]`
4667
4721
  ) || null
@@ -4669,11 +4723,11 @@ function $l(e) {
4669
4723
  m.mousedown((F) => F.stopPropagation()),
4670
4724
  // Prevent overlay click-outside when clicking drawer content
4671
4725
  // Drawer content container
4672
- Jt(P, (F) => at(F ? {
4726
+ en(P, (F) => at(F ? {
4673
4727
  header: h.div(
4674
4728
  a.class("bc-drawer__header"),
4675
4729
  h.div(a.id(N), y),
4676
- z(
4730
+ G(
4677
4731
  d,
4678
4732
  () => ge(
4679
4733
  {
@@ -4719,7 +4773,7 @@ function $l(e) {
4719
4773
  });
4720
4774
  });
4721
4775
  }
4722
- function no(e) {
4776
+ function oo(e) {
4723
4777
  const n = {
4724
4778
  up: "M0 16 L8 10 L16 16 Z",
4725
4779
  down: "M0 0 L8 6 L16 0 Z",
@@ -4731,7 +4785,7 @@ function no(e) {
4731
4785
  et.path(tt.d(e.map((t) => n[t])))
4732
4786
  );
4733
4787
  }
4734
- function Cl(e) {
4788
+ function Al(e) {
4735
4789
  const {
4736
4790
  content: n,
4737
4791
  placement: t = "top",
@@ -4741,7 +4795,7 @@ function Cl(e) {
4741
4795
  crossAxisOffset: s = 0,
4742
4796
  showOn: u = "hover-focus"
4743
4797
  } = e, c = ue("tooltip");
4744
- return M((i) => (i.setAttribute("aria-describedby", c), Zr({
4798
+ return M((i) => (i.setAttribute("aria-describedby", c), Xr({
4745
4799
  content: () => I(
4746
4800
  a.class("bc-tooltip"),
4747
4801
  a.role("tooltip"),
@@ -4770,200 +4824,203 @@ function Cl(e) {
4770
4824
  v.transform(
4771
4825
  p.map(({ x: f, y: b }) => f == null && b == null ? "" : f != null ? `translate(${f}px, 0)` : `translate(0, ${b}px)`)
4772
4826
  ),
4773
- no(d)
4827
+ oo(d)
4774
4828
  );
4775
4829
  }
4776
4830
  })));
4777
4831
  }
4778
4832
  export {
4779
- Fe as AnimatedToggleClass,
4780
- ul as AppShell,
4781
- $r as AppearanceSelector,
4782
- yr as ArrayController,
4783
- al as BeatUI,
4833
+ He as AnimatedToggleClass,
4834
+ hl as AppShell,
4835
+ Cr as AppearanceSelector,
4836
+ wr as ArrayController,
4837
+ cl as BeatUI,
4784
4838
  re as BeatUII18n,
4785
4839
  ge as Button,
4786
- vl as ButtonLink,
4787
- dl as Card,
4788
- hl as Center,
4789
- pl as CenterH,
4790
- Jo as CheckboxInput,
4791
- zr as Collapse,
4792
- yl as CollapsibleSidebarGroup,
4840
+ $l as ButtonLink,
4841
+ bl as Card,
4842
+ gl as Center,
4843
+ fl as CenterH,
4844
+ tl as CheckboxInput,
4845
+ Gr as Collapse,
4846
+ Sl as CollapsibleSidebarGroup,
4793
4847
  J as CommonInputAttributes,
4794
- wl as ConfirmModal,
4848
+ El as ConfirmModal,
4795
4849
  K as ControlInputWrapper,
4796
4850
  be as Controller,
4797
- fo as DateControl,
4851
+ mo as DateControl,
4798
4852
  gt as DateInput,
4799
- go as DateTimeControl,
4800
- vn as DateTimeInput,
4801
- $l as Drawer,
4802
- el as EditableText,
4803
- mo as EmailControl,
4804
- yn as EmailInput,
4805
- uo as EmphasisLabel,
4806
- Zo as EnsureControl,
4807
- po as ErrorLabel,
4808
- wn as Expando,
4809
- Zr as Flyout,
4853
+ ko as DateTimeControl,
4854
+ yn as DateTimeInput,
4855
+ _l as Drawer,
4856
+ nl as EditableText,
4857
+ xo as EmailControl,
4858
+ wn as EmailInput,
4859
+ ho as EmphasisLabel,
4860
+ Yo as EnsureControl,
4861
+ bo as ErrorLabel,
4862
+ $n as Expando,
4863
+ Xr as Flyout,
4810
4864
  _e as FocusTrap,
4811
- ko as FormStatus,
4812
- gl as Group,
4865
+ vo as FormStatus,
4866
+ xl as Group,
4813
4867
  X as Icon,
4814
4868
  Q as InputContainer,
4815
4869
  ft as InputWrapper,
4816
- pn as LOGICAL_PROPERTY_MAP,
4870
+ hn as LOGICAL_PROPERTY_MAP,
4817
4871
  bt as Label,
4818
- ar as LazyNativeSelect,
4819
- jo as LazyNativeSelectControl,
4820
- Xr as Link,
4821
- Xo as ListControl,
4872
+ sr as LazyNativeSelect,
4873
+ Fo as LazyNativeSelectControl,
4874
+ Yr as Link,
4875
+ Qo as ListControl,
4822
4876
  we as Locale,
4823
- ll as LocaleSelector,
4824
- to as Modal,
4825
- hn as MutedLabel,
4877
+ sl as LocaleSelector,
4878
+ ro as Modal,
4879
+ bn as MutedLabel,
4880
+ il as NativePdfPreview,
4826
4881
  ze as NativeSelect,
4827
- Vo as NativeSelectControl,
4828
- xl as NavigationLink,
4829
- Fo as NullableDateControl,
4882
+ Ho as NativeSelectControl,
4883
+ wl as NavigationLink,
4884
+ Mo as NullableDateControl,
4830
4885
  Lt as NullableDateInput,
4831
- Ho as NullableDateTimeControl,
4886
+ No as NullableDateTimeControl,
4832
4887
  Dt as NullableDateTimeInput,
4833
- Mo as NullableStringDateControl,
4834
- No as NullableStringDateTimeControl,
4835
- dr as NullableTextArea,
4836
- Wo as NullableTextAreaControl,
4837
- qo as NullableTextControl,
4838
- ur as NullableTextInput,
4839
- Ro as NumberControl,
4840
- pr as NumberInput,
4841
- vr as ObjectController,
4888
+ Wo as NullableStringDateControl,
4889
+ Ro as NullableStringDateTimeControl,
4890
+ pr as NullableTextArea,
4891
+ qo as NullableTextAreaControl,
4892
+ Uo as NullableTextControl,
4893
+ dr as NullableTextInput,
4894
+ zo as NumberControl,
4895
+ hr as NumberInput,
4896
+ yr as ObjectController,
4842
4897
  Ht as Overlay,
4843
- Uo as PasswordControl,
4844
- hr as PasswordInput,
4845
- bn as RequiredSymbol,
4898
+ Go as PasswordControl,
4899
+ br as PasswordInput,
4900
+ fn as RequiredSymbol,
4846
4901
  at as ScrollablePanel,
4847
- fr as SegmentedControl,
4902
+ gr as SegmentedControl,
4848
4903
  $e as SelectOption,
4904
+ Cl as Sidebar,
4905
+ Qr as SidebarContext,
4849
4906
  it as SidebarGroup,
4850
- eo as SidebarLink,
4851
- ml as Sink,
4852
- kl as Stack,
4853
- Qo as StandaloneAppearanceSelector,
4854
- zo as StringDateControl,
4855
- tl as Switch,
4856
- lr as Tag,
4857
- Go as TagsControl,
4858
- gr as TagsInput,
4859
- mr as TextArea,
4860
- Ko as TextAreaControl,
4861
- bo as TextControl,
4862
- kn as TextInput,
4907
+ no as SidebarLink,
4908
+ vl as Sink,
4909
+ yl as Stack,
4910
+ el as StandaloneAppearanceSelector,
4911
+ Ko as StringDateControl,
4912
+ rl as Switch,
4913
+ ar as Tag,
4914
+ Zo as TagsControl,
4915
+ mr as TagsInput,
4916
+ kr as TextArea,
4917
+ Xo as TextAreaControl,
4918
+ go as TextControl,
4919
+ xn as TextInput,
4863
4920
  Ze as Theme,
4864
- wr as ThemeAppearance,
4865
- Cl as Tooltip,
4866
- _l as Use,
4867
- jr as WithBeatUIBreakpoint,
4868
- cl as WithBeatUIElementBreakpoint,
4921
+ $r as ThemeAppearance,
4922
+ Al as Tooltip,
4923
+ Bl as Use,
4924
+ Vr as WithBeatUIBreakpoint,
4925
+ dl as WithBeatUIElementBreakpoint,
4869
4926
  jt as WithBreakpoint,
4870
- R as backgroundConfig,
4871
- Hn as baseSpacing,
4872
- Dn as bgColors,
4873
- On as borderColors,
4927
+ U as backgroundConfig,
4928
+ Mn as baseSpacing,
4929
+ Pn as bgColors,
4930
+ jn as borderColors,
4874
4931
  xt as breakpoints,
4875
- Wn as changeFontSize,
4876
- Ln as colorShades,
4932
+ Rn as changeFontSize,
4933
+ Dn as colorShades,
4877
4934
  Ge as colors,
4878
- Pr as compareBreakpoint,
4935
+ Or as compareBreakpoint,
4879
4936
  Ot as connectCommonAttributes,
4880
- rl as connectNumberInput,
4881
- nl as connectStringInput,
4882
- Sr as convertStandardSchemaIssues,
4883
- Cr as convertStandardSchemaPathToPath,
4884
- sn as defaultLocale,
4885
- an as defaultMessages,
4886
- bl as delaySignal,
4887
- xo as emitExpando,
4888
- $n as emitOptionExpando,
4937
+ ll as connectNumberInput,
4938
+ ol as connectStringInput,
4939
+ Er as convertStandardSchemaIssues,
4940
+ Sr as convertStandardSchemaPathToPath,
4941
+ cn as defaultLocale,
4942
+ sn as defaultMessages,
4943
+ ml as delaySignal,
4944
+ yo as emitExpando,
4945
+ Cn as emitOptionExpando,
4889
4946
  Ee as emptyToNull,
4890
- sl as findBreakpoint,
4891
- zn as fontFamily,
4947
+ ul as findBreakpoint,
4948
+ Gn as fontFamily,
4892
4949
  St as fontSize,
4893
4950
  qn as fontWeight,
4894
- Po as generateAllTokenVariables,
4895
- Co as generateBackgroundUtilities,
4896
- Bn as generateBreakpointVariables,
4897
- Ve as generateButtonClasses,
4898
- Vn as generateColorVariables,
4951
+ jo as generateAllTokenVariables,
4952
+ Eo as generateBackgroundUtilities,
4953
+ Ln as generateBreakpointVariables,
4954
+ Fe as generateButtonClasses,
4955
+ Fn as generateColorVariables,
4899
4956
  st as generateLinkClasses,
4900
- Fn as generateRadiusVariables,
4901
- Nn as generateSpacingVariables,
4902
- Gn as generateTypographyVariables,
4903
- Zn as generateZIndexVariables,
4904
- yo as getBreakpointMediaQuery,
4905
- vo as getBreakpointVar,
4957
+ Hn as generateRadiusVariables,
4958
+ Wn as generateSpacingVariables,
4959
+ Kn as generateTypographyVariables,
4960
+ Xn as generateZIndexVariables,
4961
+ $o as getBreakpointMediaQuery,
4962
+ wo as getBreakpointVar,
4906
4963
  vt as getBreakpointVarName,
4907
4964
  ve as getColorVar,
4908
- je as getColorVarName,
4909
- ao as getDirectionClassName,
4965
+ Ve as getColorVarName,
4966
+ co as getDirectionClassName,
4910
4967
  ht as getDirectionFromLocale,
4911
- Lo as getFontFamilyVar,
4968
+ Po as getFontFamilyVar,
4912
4969
  It as getFontFamilyVarName,
4913
- Ao as getFontSizeVar,
4970
+ Io as getFontSizeVar,
4914
4971
  Et as getFontSizeVarName,
4915
- To as getFontWeightVar,
4972
+ Bo as getFontWeightVar,
4916
4973
  _t as getFontWeightVarName,
4917
- _n as getIconLocally,
4918
- Bo as getLetterSpacingVar,
4974
+ An as getIconLocally,
4975
+ Do as getLetterSpacingVar,
4919
4976
  Tt as getLetterSpacingVarName,
4920
- Io as getLineHeightVar,
4977
+ Lo as getLineHeightVar,
4921
4978
  At as getLineHeightVarName,
4922
- co as getOppositeDirection,
4923
- io as getPhysicalProperty,
4924
- Eo as getRadiusMediaQuery,
4925
- So as getRadiusVar,
4979
+ uo as getOppositeDirection,
4980
+ po as getPhysicalProperty,
4981
+ Ao as getRadiusMediaQuery,
4982
+ _o as getRadiusVar,
4926
4983
  $t as getRadiusVarName,
4927
- _o as getSpacingVar,
4984
+ To as getSpacingVar,
4928
4985
  Ct as getSpacingVarName,
4929
- Oo as getTokenValue,
4930
- Do as getZIndexVar,
4986
+ Vo as getTokenValue,
4987
+ Oo as getZIndexVar,
4931
4988
  Bt as getZIndexVarName,
4932
4989
  Y as inputOptionsFromController,
4933
- qe as inputOptionsFromMappedController,
4934
- jn as interactiveColors,
4990
+ Re as inputOptionsFromMappedController,
4991
+ Vn as interactiveColors,
4935
4992
  kt as isIndexedDBAvailable,
4936
- so as isRTLLocale,
4993
+ io as isRTLLocale,
4937
4994
  Ft as isUrlMatch,
4938
- Un as letterSpacing,
4939
- Rn as lineHeight,
4940
- Ir as makeI18nProvider,
4995
+ zn as letterSpacing,
4996
+ Un as lineHeight,
4997
+ Br as makeI18nProvider,
4941
4998
  Ke as makeMapValidationResult,
4942
- Re as makeMappedOnChangeHandler,
4943
- Tr as makeMessages,
4944
- ho as makeNullableOnChangeHandler,
4999
+ qe as makeMappedOnChangeHandler,
5000
+ Ir as makeMessages,
5001
+ fo as makeNullableOnChangeHandler,
4945
5002
  Z as makeOnBlurHandler,
4946
5003
  ee as makeOnChangeHandler,
4947
- $o as normalizeColorName,
5004
+ So as normalizeColorName,
4948
5005
  Pt as nullToEmpty,
4949
- Yo as parsePath,
4950
- xr as pathToString,
5006
+ Jo as parsePath,
5007
+ vr as pathToString,
4951
5008
  wt as radius,
4952
- dn as resolveDirection,
4953
- Ie as semanticColorNames,
5009
+ pn as resolveDirection,
5010
+ Be as semanticColorNames,
4954
5011
  yt as semanticColors,
4955
5012
  ue as sessionId,
4956
- Mn as spacing,
4957
- _r as standardSchemaResultToValidationResult,
4958
- En as storeIconLocally,
4959
- Pn as textColors,
4960
- wo as themeColorNames,
5013
+ Nn as spacing,
5014
+ Ar as standardSchemaResultToValidationResult,
5015
+ _n as storeIconLocally,
5016
+ On as textColors,
5017
+ Co as themeColorNames,
4961
5018
  me as useAnimatedElementToggle,
4962
5019
  Vt as useAnimatedToggle,
4963
- Er as useController,
4964
- fl as useFocusTrap,
4965
- ol as useForm,
4966
- il as useTimedToggle,
4967
- kr as wrapSegment,
4968
- Kn as zIndex
5020
+ _r as useController,
5021
+ kl as useFocusTrap,
5022
+ al as useForm,
5023
+ pl as useTimedToggle,
5024
+ xr as wrapSegment,
5025
+ Zn as zIndex
4969
5026
  };