@tempots/beatui 0.60.0 → 0.60.1

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
@@ -1,32 +1,32 @@
1
- import { prop as G, html as d, attr as r, computedOf as I, Fragment as N, OnDispose as re, style as S, on as V, WithElement as te, When as q, Value as h, Use as ne, Empty as H, input as de, emitValue as ee, aria as M, OneOfValue as pn, Unless as fn, coalesce as Ie, ForEach as Te, Ensure as Ye, OneOfType as Mt, dataAttr as st, NotEmpty as bn, emitValueAsDate as gn, Portal as lt, makeProviderMark as Et, WithBrowserCtx as mn, renderWithContext as hn, WithProvider as vn, Task as yn, Provide as Ot, MapSignal as Nt, svg as gt, svgAttr as mt } from "@tempots/dom";
2
- import { Use as ys } from "@tempots/dom";
1
+ import { prop as G, html as d, attr as r, computedOf as I, Fragment as N, OnDispose as re, style as S, on as A, WithElement as te, When as K, Value as h, Use as ne, Empty as H, input as de, emitValue as ee, aria as M, OneOfValue as pn, Unless as fn, coalesce as Ie, ForEach as Te, Ensure as Ye, OneOfType as Mt, dataAttr as st, NotEmpty as bn, emitValueAsDate as gn, Portal as lt, makeProviderMark as Et, WithBrowserCtx as mn, renderWithContext as hn, WithProvider as vn, Task as yn, Provide as Ot, MapSignal as Nt, svg as gt, svgAttr as mt } from "@tempots/dom";
2
+ import { Use as ks } from "@tempots/dom";
3
3
  import { PopOver as wn, ElementRect as De, WindowSize as xn, Query as Ft, Location as Be, NavigationService as kn, Anchor as ot } from "@tempots/ui";
4
4
  import { i as se, t as ye, h as ht, e as ce, a as le, I as X, b as oe, C as pe, B as vt, c as We, L as it, j as yt, k as wt } from "./translations-D5WRSMhS.js";
5
- import { x as xs, T as ks, l as Ss, d as Cs, f as Is, g as Ts, u as _s, q as $s, o as Ps, w as Ds, y as Ls, n as Vs, v as As, m as Bs, p as Ms, r as Es, s as Os } from "./translations-D5WRSMhS.js";
5
+ import { x as Cs, T as Is, l as Ts, d as _s, f as $s, g as Ps, u as Ds, q as Ls, o as As, w as Vs, y as Bs, n as Ms, v as Es, m as Os, p as Ns, r as Fs, s as Rs } from "./translations-D5WRSMhS.js";
6
6
  import { g as ct } from "./colors-pQZlNrwM.js";
7
- import { b as Fs, e as Rs, i as Us, a as js, c as Hs, o as Ws, l as zs, m as Ys, k as Gs, j as Zs, n as Js, r as Ks, s as qs, d as Qs, h as Xs, t as el } from "./colors-pQZlNrwM.js";
7
+ import { b as js, e as Hs, i as Ws, a as zs, c as Ys, o as Gs, l as Zs, m as Js, k as qs, j as Ks, n as Qs, r as Xs, s as el, d as tl, h as nl, t as al } from "./colors-pQZlNrwM.js";
8
8
  import { b as Sn } from "./index-CpZh_Snx.js";
9
- import { t as nl, am as al, h as rl, J as sl, c as ll, N as ol, I as il, K as cl, e as ul, l as dl, d as pl, a as fl, ab as bl, o as gl, a0 as ml, ae as hl, q as vl, H as yl, A as wl, al as xl, g as kl, E as Sl, x as Cl, aj as Il, $ as Tl, a4 as _l, k as $l, j as Pl, i as Dl, Y as Ll, X as Vl, Q as Al, P as Bl, S as Ml, R as El, W as Ol, V as Nl, U as Fl, T as Rl, a8 as Ul, a7 as jl, aa as Hl, a9 as Wl, n as zl, m as Yl, _ as Gl, Z as Zl, ad as Jl, p as Kl, G as ql, z as Ql, ak as Xl, D as eo, C as to, w as no, v as ao, ai as ro, ah as so, f as lo, a3 as oo, a2 as io, M as co, L as uo, a5 as po, a6 as fo, r as bo, O as go, ac as mo, s as ho, F as vo, y as yo, ag as wo, B as xo, u as ko, af as So, a1 as Co } from "./index-CpZh_Snx.js";
9
+ import { t as sl, am as ll, h as ol, J as il, c as cl, N as ul, I as dl, K as pl, e as fl, l as bl, d as gl, a as ml, ab as hl, o as vl, a0 as yl, ae as wl, q as xl, H as kl, A as Sl, al as Cl, g as Il, E as Tl, x as _l, aj as $l, $ as Pl, a4 as Dl, k as Ll, j as Al, i as Vl, Y as Bl, X as Ml, Q as El, P as Ol, S as Nl, R as Fl, W as Rl, V as Ul, U as jl, T as Hl, a8 as Wl, a7 as zl, aa as Yl, a9 as Gl, n as Zl, m as Jl, _ as ql, Z as Kl, ad as Ql, p as Xl, G as eo, z as to, ak as no, D as ao, C as ro, w as so, v as lo, ai as oo, ah as io, f as co, a3 as uo, a2 as po, M as fo, L as bo, a5 as go, a6 as mo, r as ho, O as vo, ac as yo, s as wo, F as xo, y as ko, ag as So, B as Co, u as Io, af as To, a1 as _o } from "./index-CpZh_Snx.js";
10
10
  import { C as Ee, s as me, m as Rt, d as Ut, I as ut, B as jt, c as Ht, S as dt, e as Cn } from "./notice-Cs95CTP3.js";
11
- import { A as To, g as _o, b as $o, D as Po, E as Do, v as Lo, L as Vo, M as Ao, x as Bo, N as Mo, i as Eo, P as Oo, R as No, n as Fo, q as Ro, o as Uo, k as jo, j as Ho, f as Wo, p as zo, h as Yo, r as Go, t as Zo, l as Jo, u as Ko, w as qo } from "./notice-Cs95CTP3.js";
11
+ import { A as Po, g as Do, b as Lo, D as Ao, E as Vo, v as Bo, L as Mo, M as Eo, x as Oo, N as No, i as Fo, P as Ro, R as Uo, n as jo, q as Ho, o as Wo, k as zo, j as Yo, f as Go, p as Zo, h as Jo, r as qo, t as Ko, l as Qo, u as Xo, w as ei } from "./notice-Cs95CTP3.js";
12
12
  import { u as Me, A as rt, a as In, O as Wt, F as Tn } from "./modal-BT2LwYlK.js";
13
- import { B as Xo, C as ei, M as ti, c as ni, S as ai, b as ri, d as si, o as li, s as oi, f as ii, e as ci, g as ui } from "./modal-BT2LwYlK.js";
13
+ import { B as ni, C as ai, M as ri, c as si, S as li, b as oi, d as ii, o as ci, s as ui, f as di, e as pi, g as fi } from "./modal-BT2LwYlK.js";
14
14
  import { T as zt, a as _n } from "./theme-B5pmbvQ_.js";
15
- import { S as $n, G as Yt, E as Pn, F as Dn, N as Gt, a as Le, M as Ve, e as xt, n as Ln, W as he, d as Vn, i as An, b as kt, c as Pe } from "./utils-CutcxfzK.js";
16
- import { j as pi, l as fi, B as bi, p as gi, V as mi, C as hi, m as vi, L as yi, o as wi, q as xi, r as ki, s as Si, O as Ci, u as Ii, z as Ti, v as _i, I as $i, K as Pi, w as Di, x as Li, H as Vi, Q as Ai, y as Bi, R as Mi, J as Ei, A as Oi, T as Ni, D as Fi, f as Ri, U as Ui, P as ji, X as Hi, Y as Wi, ag as zi, k as Yi, ae as Gi, a2 as Zi, a1 as Ji, a6 as Ki, a7 as qi, $ as Qi, Z as Xi, _ as ec, ab as tc, a5 as nc, ac, a3 as rc, af as sc, a0 as lc, a8 as oc, a9 as ic, ad as cc, aa as uc, a4 as dc, g as pc, t as fc, h as bc } from "./utils-CutcxfzK.js";
15
+ import { S as $n, G as Yt, E as Pn, F as Dn, N as Gt, a as Le, M as Ae, e as xt, n as Ln, W as he, d as An, i as Vn, b as kt, c as Pe } from "./utils-CutcxfzK.js";
16
+ import { j as gi, l as mi, B as hi, p as vi, V as yi, C as wi, m as xi, L as ki, o as Si, q as Ci, r as Ii, s as Ti, O as _i, u as $i, z as Pi, v as Di, I as Li, K as Ai, w as Vi, x as Bi, H as Mi, Q as Ei, y as Oi, R as Ni, J as Fi, A as Ri, T as Ui, D as ji, f as Hi, U as Wi, P as zi, X as Yi, Y as Gi, ag as Zi, k as Ji, ae as qi, a2 as Ki, a1 as Qi, a6 as Xi, a7 as ec, $ as tc, Z as nc, _ as ac, ab as rc, a5 as sc, ac as lc, a3 as oc, af as ic, a0 as cc, a8 as uc, a9 as dc, ad as pc, aa as fc, a4 as bc, g as gc, t as mc, h as hc } from "./utils-CutcxfzK.js";
17
17
  import { g as ze, x as St } from "./timer-DzWb416P.js";
18
- import { L as mc } from "./link-portal-Cr2l9f3k.js";
19
- import { T as vc, a as yc, c as wc, b as xc, d as kc } from "./toolbar-ReCF2tBa.js";
20
- function ar(e, t = 0, n = () => !0) {
18
+ import { L as yc } from "./link-portal-Cr2l9f3k.js";
19
+ import { T as xc, a as kc, c as Sc, b as Cc, d as Ic } from "./toolbar-ReCF2tBa.js";
20
+ function lr(e, t = 0, n = () => !0) {
21
21
  let a = null, s;
22
- const l = G(e.value);
22
+ const o = G(e.value);
23
23
  return e.on((i) => {
24
24
  s = i, n(i) ? a == null && (a = setTimeout(() => {
25
- a = null, l.set(s);
26
- }, t)) : l.set(i);
25
+ a = null, o.set(s);
26
+ }, t)) : o.set(i);
27
27
  }), e.onDispose(() => {
28
28
  a != null && clearTimeout(a);
29
- }), l;
29
+ }), o;
30
30
  }
31
31
  const Ct = (e, t) => e < t ? e : t, Re = (e, t) => e > t ? e : t, Bn = (e, { abortSignal: t } = {}) => new Promise((n, a) => {
32
32
  const s = setTimeout(n, e);
@@ -34,7 +34,7 @@ const Ct = (e, t) => e < t ? e : t, Re = (e, t) => e > t ? e : t, Bn = (e, { abo
34
34
  clearTimeout(s), a(new DOMException("Aborted", "AbortError"));
35
35
  });
36
36
  }), Xe = ["xs", "sm", "md", "lg", "xl"];
37
- function rr(e, t = 1) {
37
+ function or(e, t = 1) {
38
38
  const n = Xe.indexOf(e);
39
39
  if (n === -1)
40
40
  throw new Error(`Invalid size: ${e}`);
@@ -50,13 +50,13 @@ function Mn(e, t, n, a) {
50
50
  return n && s.push("bc-badge--circle"), a && s.push("bc-badge--full-width"), s.join(" ");
51
51
  }
52
52
  function En(e, t) {
53
- const n = /* @__PURE__ */ new Map(), a = (s, l, i, c) => {
54
- n.set("--badge-bg-hover", s), n.set("--badge-text-hover", i), n.set("--badge-bg-hover-dark", l), n.set("--badge-text-hover-dark", c);
53
+ const n = /* @__PURE__ */ new Map(), a = (s, o, i, c) => {
54
+ n.set("--badge-bg-hover", s), n.set("--badge-text-hover", i), n.set("--badge-bg-hover-dark", o), n.set("--badge-text-hover-dark", c);
55
55
  };
56
56
  switch (e) {
57
57
  case "filled": {
58
- const s = ce(t, "solid", "light"), l = ce(t, "solid", "dark"), i = se(t, "soft", "light"), c = se(t, "soft", "dark");
59
- n.set("--badge-bg", s.backgroundColor), n.set("--badge-text", s.textColor), n.set("--badge-bg-dark", l.backgroundColor), n.set("--badge-text-dark", l.textColor), n.set("--badge-border", "transparent"), n.set("--badge-border-dark", "transparent"), a(
58
+ const s = ce(t, "solid", "light"), o = ce(t, "solid", "dark"), i = se(t, "soft", "light"), c = se(t, "soft", "dark");
59
+ n.set("--badge-bg", s.backgroundColor), n.set("--badge-text", s.textColor), n.set("--badge-bg-dark", o.backgroundColor), n.set("--badge-text-dark", o.textColor), n.set("--badge-border", "transparent"), n.set("--badge-border-dark", "transparent"), a(
60
60
  i.backgroundColor,
61
61
  c.backgroundColor,
62
62
  i.textColor,
@@ -65,8 +65,8 @@ function En(e, t) {
65
65
  break;
66
66
  }
67
67
  case "light": {
68
- const s = ce(t, "light", "light"), l = ce(t, "light", "dark"), i = se(t, "light", "light"), c = se(t, "light", "dark");
69
- n.set("--badge-bg", s.backgroundColor), n.set("--badge-text", s.textColor), n.set("--badge-bg-dark", l.backgroundColor), n.set("--badge-text-dark", l.textColor), n.set("--badge-border", "transparent"), n.set("--badge-border-dark", "transparent"), a(
68
+ const s = ce(t, "light", "light"), o = ce(t, "light", "dark"), i = se(t, "light", "light"), c = se(t, "light", "dark");
69
+ n.set("--badge-bg", s.backgroundColor), n.set("--badge-text", s.textColor), n.set("--badge-bg-dark", o.backgroundColor), n.set("--badge-text-dark", o.textColor), n.set("--badge-border", "transparent"), n.set("--badge-border-dark", "transparent"), a(
70
70
  i.backgroundColor,
71
71
  c.backgroundColor,
72
72
  i.textColor,
@@ -75,18 +75,18 @@ function En(e, t) {
75
75
  break;
76
76
  }
77
77
  case "outline": {
78
- const s = ye(t, "light"), l = ye(t, "dark"), i = ht(t, "light"), c = ht(t, "dark"), u = se(t, "light", "light"), o = se(t, "light", "dark");
79
- n.set("--badge-bg", "transparent"), n.set("--badge-text", s), n.set("--badge-bg-dark", "transparent"), n.set("--badge-text-dark", l), n.set("--badge-border", i), n.set("--badge-border-dark", c), a(
78
+ const s = ye(t, "light"), o = ye(t, "dark"), i = ht(t, "light"), c = ht(t, "dark"), u = se(t, "light", "light"), l = se(t, "light", "dark");
79
+ n.set("--badge-bg", "transparent"), n.set("--badge-text", s), n.set("--badge-bg-dark", "transparent"), n.set("--badge-text-dark", o), n.set("--badge-border", i), n.set("--badge-border-dark", c), a(
80
80
  u.backgroundColor,
81
- o.backgroundColor,
81
+ l.backgroundColor,
82
82
  u.textColor,
83
- o.textColor
83
+ l.textColor
84
84
  );
85
85
  break;
86
86
  }
87
87
  case "default": {
88
- const s = ye(t, "light"), l = ye(t, "dark"), i = se(t, "light", "light"), c = se(t, "light", "dark");
89
- n.set("--badge-bg", "var(--bg-background-light)"), n.set("--badge-text", s), n.set("--badge-bg-dark", "var(--bg-background-dark)"), n.set("--badge-text-dark", l), n.set("--badge-border", "var(--border-border-light)"), n.set("--badge-border-dark", "var(--border-border-dark)"), a(
88
+ const s = ye(t, "light"), o = ye(t, "dark"), i = se(t, "light", "light"), c = se(t, "light", "dark");
89
+ n.set("--badge-bg", "var(--bg-background-light)"), n.set("--badge-text", s), n.set("--badge-bg-dark", "var(--bg-background-dark)"), n.set("--badge-text-dark", o), n.set("--badge-border", "var(--border-border-light)"), n.set("--badge-border-dark", "var(--border-border-dark)"), a(
90
90
  i.backgroundColor,
91
91
  c.backgroundColor,
92
92
  i.textColor,
@@ -95,8 +95,8 @@ function En(e, t) {
95
95
  break;
96
96
  }
97
97
  case "text": {
98
- const s = ye(t, "light"), l = ye(t, "dark"), i = se(t, "light", "light"), c = se(t, "light", "dark");
99
- n.set("--badge-bg", "transparent"), n.set("--badge-text", s), n.set("--badge-bg-dark", "transparent"), n.set("--badge-text-dark", l), n.set("--badge-border", "transparent"), n.set("--badge-border-dark", "transparent"), a(
98
+ const s = ye(t, "light"), o = ye(t, "dark"), i = se(t, "light", "light"), c = se(t, "light", "dark");
99
+ n.set("--badge-bg", "transparent"), n.set("--badge-text", s), n.set("--badge-bg-dark", "transparent"), n.set("--badge-text-dark", o), n.set("--badge-border", "transparent"), n.set("--badge-border-dark", "transparent"), a(
100
100
  i.backgroundColor,
101
101
  c.backgroundColor,
102
102
  i.textColor,
@@ -105,15 +105,15 @@ function En(e, t) {
105
105
  break;
106
106
  }
107
107
  }
108
- return Array.from(n.entries()).map(([s, l]) => `${s}: ${l}`).join("; ");
108
+ return Array.from(n.entries()).map(([s, o]) => `${s}: ${o}`).join("; ");
109
109
  }
110
- function sr({
110
+ function ir({
111
111
  variant: e = "filled",
112
112
  size: t = "md",
113
113
  color: n = "base",
114
114
  roundedness: a = "full",
115
115
  circle: s = !1,
116
- fullWidth: l = !1
116
+ fullWidth: o = !1
117
117
  }, ...i) {
118
118
  return d.span(
119
119
  r.class(
@@ -121,12 +121,12 @@ function sr({
121
121
  t,
122
122
  a,
123
123
  s,
124
- l
124
+ o
125
125
  )(
126
- (c, u, o, f) => Mn(
126
+ (c, u, l, f) => Mn(
127
127
  c ?? "md",
128
128
  u ?? "sm",
129
- o ?? !1,
129
+ l ?? !1,
130
130
  f ?? !1
131
131
  )
132
132
  )
@@ -145,16 +145,16 @@ function sr({
145
145
  d.span(r.class("bc-badge__content"), ...i)
146
146
  );
147
147
  }
148
- function lr({
148
+ function cr({
149
149
  onChange: e,
150
150
  accept: t = "*/*",
151
151
  onDragContent: n,
152
152
  content: a,
153
153
  onInvalidSelection: s,
154
- disabled: l = !1
154
+ disabled: o = !1
155
155
  }) {
156
156
  const i = G(!1), c = G([]);
157
- let u = null, o = 0;
157
+ let u = null, l = 0;
158
158
  const f = (y) => y.dataTransfer?.types.includes("Files") ?? !1, g = (y, T) => T === "*/*" ? !0 : T.split(",").map(($) => $.trim()).some(($) => {
159
159
  if ($ === "*/*") return !0;
160
160
  if ($.endsWith("/*")) {
@@ -163,14 +163,14 @@ function lr({
163
163
  }
164
164
  return y.type === $ || y.name.endsWith($);
165
165
  }), k = (y) => {
166
- h.get(l) || f(y) && (y.preventDefault(), y.stopPropagation(), o++, o === 1 && (i.value = !0));
166
+ h.get(o) || f(y) && (y.preventDefault(), y.stopPropagation(), l++, l === 1 && (i.value = !0));
167
167
  }, m = (y) => {
168
- h.get(l) || f(y) && (y.preventDefault(), y.stopPropagation(), y.dataTransfer != null && (y.dataTransfer.dropEffect = "copy"));
168
+ h.get(o) || f(y) && (y.preventDefault(), y.stopPropagation(), y.dataTransfer != null && (y.dataTransfer.dropEffect = "copy"));
169
169
  }, w = (y) => {
170
- h.get(l) || f(y) && (y.preventDefault(), y.stopPropagation(), o--, o === 0 && (i.value = !1));
170
+ h.get(o) || f(y) && (y.preventDefault(), y.stopPropagation(), l--, l === 0 && (i.value = !1));
171
171
  }, v = (y) => {
172
- if (h.get(l) || !f(y)) return;
173
- y.preventDefault(), y.stopPropagation(), o = 0, i.value = !1;
172
+ if (h.get(o) || !f(y)) return;
173
+ y.preventDefault(), y.stopPropagation(), l = 0, i.value = !1;
174
174
  const T = Array.from(y.dataTransfer?.files ?? []);
175
175
  if (T.length > 0) {
176
176
  const _ = h.get(t), $ = T.filter(
@@ -183,7 +183,7 @@ function lr({
183
183
  };
184
184
  typeof document < "u" && (document.addEventListener("dragenter", k), document.addEventListener("dragover", m), document.addEventListener("dragleave", w), document.addEventListener("drop", v));
185
185
  const x = () => {
186
- typeof document < "u" && (document.removeEventListener("dragenter", k), document.removeEventListener("dragover", m), document.removeEventListener("dragleave", w), document.removeEventListener("drop", v)), o = 0;
186
+ typeof document < "u" && (document.removeEventListener("dragenter", k), document.removeEventListener("dragover", m), document.removeEventListener("dragleave", w), document.removeEventListener("drop", v)), l = 0;
187
187
  }, b = () => {
188
188
  u?.click();
189
189
  }, p = (y) => {
@@ -203,35 +203,35 @@ function lr({
203
203
  S.pointerEvents("none"),
204
204
  S.width("0"),
205
205
  S.height("0"),
206
- V.change(p),
206
+ A.change(p),
207
207
  te((y) => (u = y, re(() => {
208
208
  u != null && (u.value = "");
209
209
  })))
210
210
  ),
211
211
  // Render overlay content to body when dragging (if content is provided)
212
- n != null ? q(i, () => n({ files: c })) : null,
212
+ n != null ? K(i, () => n({ files: c })) : null,
213
213
  a != null ? a({ isDragging: i, files: c, selectFiles: b }) : null
214
214
  );
215
215
  }
216
- function On(e, t, n, a, s, l) {
216
+ function On(e, t, n, a, s, o) {
217
217
  const i = ["bc-table"];
218
- return e !== "md" && i.push(`bc-table--size-${e}`), t && i.push("bc-table--hoverable"), n && i.push("bc-table--sticky-header"), a && i.push("bc-table--with-striped-rows"), s && i.push("bc-table--with-column-borders"), l && i.push("bc-table--with-row-borders"), i.join(" ");
218
+ return e !== "md" && i.push(`bc-table--size-${e}`), t && i.push("bc-table--hoverable"), n && i.push("bc-table--sticky-header"), a && i.push("bc-table--with-striped-rows"), s && i.push("bc-table--with-column-borders"), o && i.push("bc-table--with-row-borders"), i.join(" ");
219
219
  }
220
220
  function Nn(e) {
221
221
  if (e != null)
222
222
  return e === "none" ? "--table-border-radius: 0" : `--table-border-radius: var(--radius-${e})`;
223
223
  }
224
- function or({
224
+ function ur({
225
225
  size: e = "md",
226
226
  hoverable: t = !1,
227
227
  stickyHeader: n = !1,
228
228
  fullWidth: a = !1,
229
229
  withStripedRows: s = !1,
230
- withTableBorder: l = !0,
230
+ withTableBorder: o = !0,
231
231
  withColumnBorders: i = !1,
232
232
  withRowBorders: c = !0,
233
233
  borderRadius: u
234
- } = {}, ...o) {
234
+ } = {}, ...l) {
235
235
  const f = I(
236
236
  e,
237
237
  t,
@@ -251,7 +251,7 @@ function or({
251
251
  ), g = I(
252
252
  n,
253
253
  a,
254
- l
254
+ o
255
255
  )((m, w, v) => {
256
256
  const x = ["bc-table-container"];
257
257
  return m && x.push("bc-table-container--sticky"), w && x.push("bc-table-container--full-width"), v && x.push("bc-table-container--with-table-border"), x.join(" ");
@@ -261,7 +261,7 @@ function or({
261
261
  return d.div(
262
262
  r.class(g),
263
263
  r.style(k),
264
- d.table(r.class(f), ...o)
264
+ d.table(r.class(f), ...l)
265
265
  );
266
266
  }
267
267
  function Fn(e, t) {
@@ -287,12 +287,12 @@ const Zt = ({
287
287
  onClose: n,
288
288
  size: a = "md",
289
289
  class: s,
290
- disabled: l
290
+ disabled: o
291
291
  }) => d.span(
292
292
  r.class(
293
293
  I(
294
294
  a ?? "md",
295
- l ?? !1
295
+ o ?? !1
296
296
  )((i, c) => Fn(i, c))
297
297
  ),
298
298
  r.style(
@@ -310,7 +310,7 @@ const Zt = ({
310
310
  size: "xs",
311
311
  label: i.$.removeItem,
312
312
  color: "white",
313
- disabled: l,
313
+ disabled: o,
314
314
  onClick: () => n?.(h.get(e))
315
315
  },
316
316
  r.class("bc-tag__close")
@@ -346,7 +346,7 @@ function Un({
346
346
  onChange: t
347
347
  });
348
348
  }
349
- function ir() {
349
+ function dr() {
350
350
  return ne(
351
351
  zt,
352
352
  ({ appearancePreference: e, setAppearancePreference: t }) => Un({
@@ -365,20 +365,20 @@ function jn({
365
365
  r.class("bc-color-input__swatch-container"),
366
366
  d.span(
367
367
  r.class("bc-color-input__swatch"),
368
- V.click(() => a?.showPicker()),
368
+ A.click(() => a?.showPicker()),
369
369
  de.color(
370
370
  te((s) => (a = s, H)),
371
371
  r.value(e),
372
372
  S.width("4px"),
373
373
  S.height("4px"),
374
- t != null ? V.change(ee(t)) : H,
375
- n != null ? V.input(ee(n)) : H
374
+ t != null ? A.change(ee(t)) : H,
375
+ n != null ? A.input(ee(n)) : H
376
376
  ),
377
377
  r.style(h.map(e, (s) => `background-color: ${s}`))
378
378
  )
379
379
  );
380
380
  }
381
- function cr(e) {
381
+ function pr(e) {
382
382
  const { value: t, onBlur: n, onChange: a, onInput: s } = e;
383
383
  return oe(
384
384
  {
@@ -386,9 +386,9 @@ function cr(e) {
386
386
  input: de.text(
387
387
  pe(e),
388
388
  r.value(t),
389
- n != null ? V.blur(ee(n)) : H,
390
- a != null ? V.change(ee(a)) : H,
391
- s != null ? V.input(ee(s)) : H
389
+ n != null ? A.blur(ee(n)) : H,
390
+ a != null ? A.change(ee(a)) : H,
391
+ s != null ? A.input(ee(s)) : H
392
392
  )
393
393
  },
394
394
  r.class("bc-color-input"),
@@ -405,11 +405,11 @@ function Ge(e) {
405
405
  placement: n = "top",
406
406
  showDelay: a = 250,
407
407
  hideDelay: s = 500,
408
- mainAxisOffset: l = 8,
408
+ mainAxisOffset: o = 8,
409
409
  crossAxisOffset: i = 0,
410
410
  showOn: c = "hover-focus",
411
411
  closable: u = !0,
412
- arrow: o,
412
+ arrow: l,
413
413
  role: f,
414
414
  hasPopup: g = "dialog"
415
415
  } = e;
@@ -423,21 +423,21 @@ function Ge(e) {
423
423
  }
424
424
  function _() {
425
425
  h.get(u) && (b = (E) => {
426
- E.key === "Escape" && A();
426
+ E.key === "Escape" && V();
427
427
  }, document.addEventListener("keydown", b)), y = !0, x.set(!0), k({
428
428
  placement: n ?? "top",
429
- mainAxisOffset: l,
429
+ mainAxisOffset: o,
430
430
  crossAxisOffset: i,
431
431
  onClickOutside: () => {
432
- h.get(u) && A();
432
+ h.get(u) && V();
433
433
  },
434
- arrow: o,
434
+ arrow: l,
435
435
  content: te((E) => {
436
436
  w.setElement(E), p = ze(() => {
437
437
  w.open(), p = null;
438
438
  });
439
439
  const R = (j) => {
440
- h.get(u) && j.key === "Escape" && (j.preventDefault(), j.stopPropagation(), A(), x.set(!1));
440
+ h.get(u) && j.key === "Escape" && (j.preventDefault(), j.stopPropagation(), V(), x.set(!1));
441
441
  };
442
442
  return document.addEventListener("keydown", R, !0), N(
443
443
  re(() => {
@@ -475,7 +475,7 @@ function Ge(e) {
475
475
  }, E);
476
476
  }
477
477
  let C = null;
478
- function A() {
478
+ function V() {
479
479
  if ($ != null && (clearTimeout($), $ = null), C != null && (clearTimeout(C), C = null), x.set(!1), p && (p(), p = null, y)) {
480
480
  m(), T();
481
481
  return;
@@ -491,7 +491,7 @@ function Ge(e) {
491
491
  const R = () => {
492
492
  P(), x.set(!0);
493
493
  }, j = () => {
494
- A(), x.set(!1);
494
+ V(), x.set(!1);
495
495
  }, J = N(
496
496
  M.expanded(x),
497
497
  M.controls(v),
@@ -506,18 +506,18 @@ function Ge(e) {
506
506
  J,
507
507
  pn(c, {
508
508
  "hover-focus": () => N(
509
- V.mouseenter(() => R()),
510
- V.mouseleave(() => j()),
511
- V.focus(() => R()),
512
- V.blur(() => j())
509
+ A.mouseenter(() => R()),
510
+ A.mouseleave(() => j()),
511
+ A.focus(() => R()),
512
+ A.blur(() => j())
513
513
  ),
514
514
  hover: () => N(
515
- V.mouseenter(() => R()),
516
- V.mouseleave(() => j())
515
+ A.mouseenter(() => R()),
516
+ A.mouseleave(() => j())
517
517
  ),
518
518
  focus: () => N(
519
- V.focus(() => R()),
520
- V.blur(() => j())
519
+ A.focus(() => R()),
520
+ A.blur(() => j())
521
521
  ),
522
522
  click: () => {
523
523
  function F() {
@@ -528,7 +528,7 @@ function Ge(e) {
528
528
  }
529
529
  return N(
530
530
  re(F),
531
- V.click(() => {
531
+ A.click(() => {
532
532
  R(), ze(() => {
533
533
  document.addEventListener("click", Q, {
534
534
  once: !0
@@ -550,24 +550,24 @@ function Wn(e, t, n, a) {
550
550
  function zn(e, t, n, a) {
551
551
  const s = /* @__PURE__ */ new Map();
552
552
  if (e != null && s.set("--action-card-bg", e), t != null && s.set("--action-card-border", t), n != null && s.set("--action-card-title-color", n), a != null && s.set("--action-card-description-color", a), s.size !== 0)
553
- return Array.from(s.entries()).map(([l, i]) => `${l}: ${i}`).join("; ");
553
+ return Array.from(s.entries()).map(([o, i]) => `${o}: ${i}`).join("; ");
554
554
  }
555
- function ur({
555
+ function fr({
556
556
  icon: e,
557
557
  title: t,
558
558
  description: n,
559
559
  active: a = !1,
560
560
  disabled: s = !1,
561
- onClick: l,
561
+ onClick: o,
562
562
  size: i = "md",
563
563
  iconColor: c = "primary",
564
564
  iconSize: u = "md",
565
- backgroundColor: o,
565
+ backgroundColor: l,
566
566
  borderColor: f,
567
567
  titleColor: g,
568
568
  descriptionColor: k
569
569
  }) {
570
- const m = l != null;
570
+ const m = o != null;
571
571
  return d.div(
572
572
  r.class(
573
573
  I(
@@ -585,7 +585,7 @@ function ur({
585
585
  ),
586
586
  r.style(
587
587
  I(
588
- o,
588
+ l,
589
589
  f,
590
590
  g,
591
591
  k
@@ -593,13 +593,13 @@ function ur({
593
593
  (w, v, x, b) => zn(w, v, x, b)
594
594
  )
595
595
  ),
596
- q(
596
+ K(
597
597
  m,
598
598
  () => N(
599
599
  fn(
600
600
  s,
601
601
  () => N(
602
- V.click(() => l?.()),
602
+ A.click(() => o?.()),
603
603
  r.tabindex(0)
604
604
  )
605
605
  ),
@@ -628,10 +628,10 @@ function Gn(e) {
628
628
  return ["=", e];
629
629
  }
630
630
  function Zn(e, t, n) {
631
- const [a, s] = Gn(t), l = e.findIndex((u) => u[1] === s);
632
- if (l === -1)
631
+ const [a, s] = Gn(t), o = e.findIndex((u) => u[1] === s);
632
+ if (o === -1)
633
633
  throw new Error(`Breakpoint ${String(s)} not found`);
634
- const i = e[l][0], c = l < e.length - 1 ? e[l + 1][0] : 1 / 0;
634
+ const i = e[o][0], c = o < e.length - 1 ? e[o + 1][0] : 1 / 0;
635
635
  switch (a) {
636
636
  case "=":
637
637
  return n >= i && n < c;
@@ -649,26 +649,26 @@ function Zn(e, t, n) {
649
649
  return !1;
650
650
  }
651
651
  }
652
- function dr(e, t) {
652
+ function br(e, t) {
653
653
  const n = e.findIndex((a) => a[0] > t) - 1;
654
654
  return n >= 0 ? e[n][1] : (e.length > 0 && t >= e[0][0], e[0][1]);
655
655
  }
656
656
  function Jt(e, { breakpoints: t, mode: n = "viewport" }) {
657
657
  const s = [...Object.entries(t).map(
658
658
  ([i, c]) => [c, i]
659
- )].sort((i, c) => i[0] - c[0]), l = (i) => {
660
- const c = i.map(({ width: o }) => {
661
- const f = s.findIndex((g) => g[0] > o) - 1;
662
- return f >= 0 ? { width: o, breakpoint: s[f][1] } : s.length > 0 && o >= s[0][0] ? { width: o, breakpoint: s[0][1] } : { width: o, breakpoint: s[0][1] };
659
+ )].sort((i, c) => i[0] - c[0]), o = (i) => {
660
+ const c = i.map(({ width: l }) => {
661
+ const f = s.findIndex((g) => g[0] > l) - 1;
662
+ return f >= 0 ? { width: l, breakpoint: s[f][1] } : s.length > 0 && l >= s[0][0] ? { width: l, breakpoint: s[0][1] } : { width: l, breakpoint: s[0][1] };
663
663
  });
664
664
  return e({
665
665
  value: c,
666
666
  breakpoints: t,
667
667
  asList: s,
668
- is: (o, f) => Zn(s, o, f)
668
+ is: (l, f) => Zn(s, l, f)
669
669
  });
670
670
  };
671
- return n === "element" ? De(l) : xn(l);
671
+ return n === "element" ? De(o) : xn(o);
672
672
  }
673
673
  let et = NaN;
674
674
  function Jn(e, t) {
@@ -677,7 +677,7 @@ function Jn(e, t) {
677
677
  function ae(e, t, n) {
678
678
  return Jn(e.getPropertyValue(t), n);
679
679
  }
680
- function Kn(e) {
680
+ function qn(e) {
681
681
  return te((t) => {
682
682
  const n = getComputedStyle(t), a = {
683
683
  zero: 0,
@@ -690,7 +690,7 @@ function Kn(e) {
690
690
  return Jt(e, { breakpoints: a });
691
691
  });
692
692
  }
693
- function pr(e) {
693
+ function gr(e) {
694
694
  return te((t) => {
695
695
  const n = getComputedStyle(t), a = {
696
696
  zero: 0,
@@ -813,15 +813,15 @@ function tt(e) {
813
813
  e.every((n) => n[t] == null || n[t].startsWith("?")) && (e = e.map((n) => n.filter((a, s) => s !== t)), t--);
814
814
  return e = e.map((t) => t.map((n) => n?.startsWith("?") ? n.slice(1) : n)), e;
815
815
  }
816
- function qn({
816
+ function Kn({
817
817
  smallBreakpoint: e,
818
818
  mediumBreakpoint: t,
819
819
  vertical: n,
820
820
  horizontal: a,
821
821
  is: s
822
822
  }) {
823
- function l(u) {
824
- let o = [
823
+ function o(u) {
824
+ let l = [
825
825
  [null],
826
826
  [null],
827
827
  [null],
@@ -832,12 +832,12 @@ function qn({
832
832
  const f = [];
833
833
  f.push("1fr");
834
834
  const g = [];
835
- return a.banner && (g.push(a.banner[u] + "px"), o[0][1] = "banner"), (a.header || n.menu || n.aside) && (g.push(
835
+ return a.banner && (g.push(a.banner[u] + "px"), l[0][1] = "banner"), (a.header || n.menu || n.aside) && (g.push(
836
836
  (a.header?.[u] ?? ge.header[u]) + "px"
837
- ), o[1][1] = "header"), a.mainHeader && (g.push(a.mainHeader[u] + "px"), o[2][1] = "mainHeader"), g.push("1fr"), o[3][1] = "main", a.mainFooter && (g.push(a.mainFooter[u] + "px"), o[4][1] = "mainFooter"), a.footer && (g.push(a.footer[u] + "px"), o[5][1] = "footer"), o = tt(o), {
837
+ ), l[1][1] = "header"), a.mainHeader && (g.push(a.mainHeader[u] + "px"), l[2][1] = "mainHeader"), g.push("1fr"), l[3][1] = "main", a.mainFooter && (g.push(a.mainFooter[u] + "px"), l[4][1] = "mainFooter"), a.footer && (g.push(a.footer[u] + "px"), l[5][1] = "footer"), l = tt(l), {
838
838
  columns: f.join(" "),
839
839
  rows: g.join(" "),
840
- areas: o.map((m) => `"${m.join(" ")}"`).join(`
840
+ areas: l.map((m) => `"${m.join(" ")}"`).join(`
841
841
  `),
842
842
  displayMenu: !1,
843
843
  displayAside: !1,
@@ -846,7 +846,7 @@ function qn({
846
846
  };
847
847
  }
848
848
  function i(u) {
849
- let o = [
849
+ let l = [
850
850
  [null, null],
851
851
  [null, null],
852
852
  [null, null],
@@ -855,14 +855,14 @@ function qn({
855
855
  [null, null]
856
856
  ];
857
857
  const f = [];
858
- n.menu && (f.push(n.menu[u] + "px"), o[2][0] = "?menu", o[3][0] = "menu", o[4][0] = "?menu"), f.push("1fr");
858
+ n.menu && (f.push(n.menu[u] + "px"), l[2][0] = "?menu", l[3][0] = "menu", l[4][0] = "?menu"), f.push("1fr");
859
859
  const g = [];
860
- return a.banner && (g.push(a.banner[u] + "px"), o[0][0] = "?banner", o[0][1] = "banner"), (a.header || n.aside) && (g.push(
860
+ return a.banner && (g.push(a.banner[u] + "px"), l[0][0] = "?banner", l[0][1] = "banner"), (a.header || n.aside) && (g.push(
861
861
  (a.header?.[u] ?? ge.header[u]) + "px"
862
- ), o[1][0] = "?header", o[1][1] = "header"), a.mainHeader && (g.push(a.mainHeader[u] + "px"), o[2][1] = "mainHeader"), g.push("1fr"), o[3][1] = "main", a.mainFooter && (g.push(a.mainFooter[u] + "px"), o[4][1] = "mainFooter"), a.footer && (g.push(a.footer[u] + "px"), o[5][0] = "?footer", o[5][1] = "footer"), o = tt(o), {
862
+ ), l[1][0] = "?header", l[1][1] = "header"), a.mainHeader && (g.push(a.mainHeader[u] + "px"), l[2][1] = "mainHeader"), g.push("1fr"), l[3][1] = "main", a.mainFooter && (g.push(a.mainFooter[u] + "px"), l[4][1] = "mainFooter"), a.footer && (g.push(a.footer[u] + "px"), l[5][0] = "?footer", l[5][1] = "footer"), l = tt(l), {
863
863
  columns: f.join(" "),
864
864
  rows: g.join(" "),
865
- areas: o.map((m) => `"${m.join(" ")}"`).join(`
865
+ areas: l.map((m) => `"${m.join(" ")}"`).join(`
866
866
  `),
867
867
  displayMenu: !0,
868
868
  displayAside: !1,
@@ -871,7 +871,7 @@ function qn({
871
871
  };
872
872
  }
873
873
  function c(u) {
874
- let o = [
874
+ let l = [
875
875
  [null, null, null],
876
876
  [null, null, null],
877
877
  [null, null, null],
@@ -880,12 +880,12 @@ function qn({
880
880
  [null, null, null]
881
881
  ];
882
882
  const f = [];
883
- n.menu && (f.push(n.menu[u] + "px"), o[2][0] = "?menu", o[3][0] = "menu", o[4][0] = "?menu"), f.push("1fr"), n.aside && (f.push(n.aside[u] + "px"), o[2][2] = "?aside", o[3][2] = "aside", o[4][2] = "?aside");
883
+ n.menu && (f.push(n.menu[u] + "px"), l[2][0] = "?menu", l[3][0] = "menu", l[4][0] = "?menu"), f.push("1fr"), n.aside && (f.push(n.aside[u] + "px"), l[2][2] = "?aside", l[3][2] = "aside", l[4][2] = "?aside");
884
884
  const g = [];
885
- return a.banner && (g.push(a.banner[u] + "px"), o[0][0] = "?banner", o[0][1] = "banner", o[0][2] = "?banner"), a.header && (g.push(a.header[u] + "px"), o[1][0] = "?header", o[1][1] = "header", o[1][2] = "?header"), a.mainHeader && (g.push(a.mainHeader[u] + "px"), o[2][1] = "mainHeader"), g.push("1fr"), o[3][1] = "main", a.mainFooter && (g.push(a.mainFooter[u] + "px"), o[4][1] = "mainFooter"), a.footer && (g.push(a.footer[u] + "px"), o[5][0] = "?footer", o[5][1] = "footer", o[5][2] = "?footer"), o = tt(o), {
885
+ return a.banner && (g.push(a.banner[u] + "px"), l[0][0] = "?banner", l[0][1] = "banner", l[0][2] = "?banner"), a.header && (g.push(a.header[u] + "px"), l[1][0] = "?header", l[1][1] = "header", l[1][2] = "?header"), a.mainHeader && (g.push(a.mainHeader[u] + "px"), l[2][1] = "mainHeader"), g.push("1fr"), l[3][1] = "main", a.mainFooter && (g.push(a.mainFooter[u] + "px"), l[4][1] = "mainFooter"), a.footer && (g.push(a.footer[u] + "px"), l[5][0] = "?footer", l[5][1] = "footer", l[5][2] = "?footer"), l = tt(l), {
886
886
  columns: f.join(" "),
887
887
  rows: g.join(" "),
888
- areas: o.map((m) => `"${m.join(" ")}"`).join(`
888
+ areas: l.map((m) => `"${m.join(" ")}"`).join(`
889
889
  `),
890
890
  displayMenu: !0,
891
891
  displayAside: !0,
@@ -895,8 +895,8 @@ function qn({
895
895
  }
896
896
  return ({
897
897
  width: u,
898
- breakpoint: o
899
- }) => s(`<=${e}`, u) ? l(o) : s(`<=${t}`, u) ? i(o) : c(o);
898
+ breakpoint: l
899
+ }) => s(`<=${e}`, u) ? o(l) : s(`<=${t}`, u) ? i(l) : c(l);
900
900
  }
901
901
  const Qn = ["menu", "aside"], Xn = [
902
902
  "banner",
@@ -911,57 +911,57 @@ function ea(e, { displayMenu: t }, n) {
911
911
  function ta(e, { displayAside: t }, n) {
912
912
  return e ? t ? "block" : n ? "float" : "none" : "none";
913
913
  }
914
- function fr({
914
+ function mr({
915
915
  smallBreakpoint: e = "sm",
916
916
  mediumBreakpoint: t = "md",
917
917
  ...n
918
918
  }) {
919
919
  const a = Object.fromEntries(
920
- Qn.filter((l) => n[l]).map(
921
- (l) => [
922
- l,
923
- It(n[l].width ?? {}, ge[l])
920
+ Qn.filter((o) => n[o]).map(
921
+ (o) => [
922
+ o,
923
+ It(n[o].width ?? {}, ge[o])
924
924
  ]
925
925
  )
926
926
  ), s = Object.fromEntries(
927
- Xn.filter((l) => n[l]).map(
928
- (l) => [
929
- l,
930
- It(n[l].height ?? {}, ge[l])
927
+ Xn.filter((o) => n[o]).map(
928
+ (o) => [
929
+ o,
930
+ It(n[o].height ?? {}, ge[o])
931
931
  ]
932
932
  )
933
933
  );
934
934
  return ne(
935
935
  le,
936
- (l) => Kn(({ value: i, is: c }) => {
937
- const u = qn({
936
+ (o) => qn(({ value: i, is: c }) => {
937
+ const u = Kn({
938
938
  smallBreakpoint: e,
939
939
  mediumBreakpoint: t,
940
940
  vertical: a,
941
941
  horizontal: s,
942
942
  is: c
943
- }), o = i.map(u), f = s.header != null || a.menu != null || a.aside != null, g = I(
943
+ }), l = i.map(u), f = s.header != null || a.menu != null || a.aside != null, g = I(
944
944
  a.aside != null,
945
- o
945
+ l
946
946
  )((p, { displayAside: y }) => p && !y), k = I(
947
947
  a.menu != null,
948
- o
948
+ l
949
949
  )((p, { displayMenu: y }) => p && !y), m = Me(), w = Me(), v = G(0), x = I(
950
950
  a.menu != null,
951
- o,
951
+ l,
952
952
  m.display
953
953
  )(ea), b = I(
954
954
  a.aside != null,
955
- o,
955
+ l,
956
956
  w.display
957
957
  )(ta);
958
958
  return d.div(
959
959
  S.display("grid"),
960
960
  S.height("100%"),
961
961
  S.width("100%"),
962
- S.gridTemplateColumns(o.$.columns),
963
- S.gridTemplateRows(o.$.rows),
964
- S.gridTemplateAreas(o.$.areas),
962
+ S.gridTemplateColumns(l.$.columns),
963
+ S.gridTemplateRows(l.$.rows),
964
+ S.gridTemplateAreas(l.$.areas),
965
965
  S.gridColumnGap("0"),
966
966
  S.gridRowGap("0"),
967
967
  n.banner ? d.header(
@@ -999,7 +999,7 @@ function fr({
999
999
  variant: "light",
1000
1000
  color: "base"
1001
1001
  },
1002
- M.label(l.$.toggleMenu),
1002
+ M.label(o.$.toggleMenu),
1003
1003
  X({
1004
1004
  icon: m.display.map(
1005
1005
  (p) => p ? "line-md/menu-to-close-alt-transition" : "line-md/close-to-menu-alt-transition"
@@ -1027,7 +1027,7 @@ function fr({
1027
1027
  variant: "light",
1028
1028
  color: "base"
1029
1029
  },
1030
- M.label(l.$.toggleAside),
1030
+ M.label(o.$.toggleAside),
1031
1031
  X(
1032
1032
  { icon: "line-md/chevron-left" },
1033
1033
  r.style("transition: transform 0.2s ease-in-out"),
@@ -1045,7 +1045,7 @@ function fr({
1045
1045
  te((p) => m.setElement(p)),
1046
1046
  S.zIndex("10"),
1047
1047
  // Add ARIA attributes for navigation landmark
1048
- M.label(l.$.mainNavigation),
1048
+ M.label(o.$.mainNavigation),
1049
1049
  r.role("navigation"),
1050
1050
  S.overflow("hidden"),
1051
1051
  r.class(
@@ -1087,7 +1087,7 @@ function fr({
1087
1087
  m.status
1088
1088
  )((p, y) => p === "block" ? "opened" : y)
1089
1089
  }),
1090
- S.width(Ie(n.menu?.width, o.$.menuWidth)),
1090
+ S.width(Ie(n.menu?.width, l.$.menuWidth)),
1091
1091
  S.bottom("0"),
1092
1092
  n.menu?.content
1093
1093
  ) : null,
@@ -1131,7 +1131,7 @@ function fr({
1131
1131
  }),
1132
1132
  S.zIndex("10"),
1133
1133
  // Add ARIA attributes for aside landmark
1134
- M.label(l.$.sidebar),
1134
+ M.label(o.$.sidebar),
1135
1135
  r.role("complementary"),
1136
1136
  r.class(
1137
1137
  b.map(
@@ -1162,7 +1162,7 @@ function fr({
1162
1162
  )((p, y) => p === "block" ? "opened" : y)
1163
1163
  }),
1164
1164
  S.width(
1165
- Ie(n.aside?.width, o.$.asideWidth)
1165
+ Ie(n.aside?.width, l.$.asideWidth)
1166
1166
  ),
1167
1167
  S.bottom(v.map((p) => `${p}px`)),
1168
1168
  n.aside.content
@@ -1178,7 +1178,7 @@ function fr({
1178
1178
  })
1179
1179
  );
1180
1180
  }
1181
- function br(...e) {
1181
+ function hr(...e) {
1182
1182
  return d.div(
1183
1183
  r.class("bc-center-h"),
1184
1184
  d.div(r.class("bc-center__content"), ...e)
@@ -1188,7 +1188,7 @@ function na(e) {
1188
1188
  const t = ["bc-center"];
1189
1189
  return e !== "lg" && t.push(`bc-center--gap-${e}`), t.join(" ");
1190
1190
  }
1191
- function gr({ gap: e = "lg" } = {}, ...t) {
1191
+ function vr({ gap: e = "lg" } = {}, ...t) {
1192
1192
  return d.div(
1193
1193
  r.class(I(e)((n) => na(n ?? "lg"))),
1194
1194
  ...t
@@ -1196,7 +1196,7 @@ function gr({ gap: e = "lg" } = {}, ...t) {
1196
1196
  }
1197
1197
  function aa({ open: e }, ...t) {
1198
1198
  return te((n) => {
1199
- const { status: a, setOpen: s, dispose: l } = Me({
1199
+ const { status: a, setOpen: s, dispose: o } = Me({
1200
1200
  initialStatus: h.get(e) ? "opened" : "closed",
1201
1201
  element: n
1202
1202
  });
@@ -1205,21 +1205,21 @@ function aa({ open: e }, ...t) {
1205
1205
  return I(
1206
1206
  a,
1207
1207
  i.$.height
1208
- )((o, f) => o === "opened" && f > 0 ? f : null).on((o) => {
1209
- o != null && c.set(o);
1210
- }), a.on((o) => {
1211
- if (n && o === "start-opening") {
1208
+ )((l, f) => l === "opened" && f > 0 ? f : null).on((l) => {
1209
+ l != null && c.set(l);
1210
+ }), a.on((l) => {
1211
+ if (n && l === "start-opening") {
1212
1212
  const f = n.style.height, g = n.style.transition;
1213
1213
  n.style.transition = "none", n.style.height = "auto", n.offsetHeight;
1214
1214
  const k = n.scrollHeight;
1215
1215
  k > 0 && c.set(k), n.style.height = f, n.style.transition = g, n.offsetHeight;
1216
1216
  }
1217
1217
  }), N(
1218
- re(l),
1218
+ re(o),
1219
1219
  r.style(
1220
- c.map((o) => `--collapse-height: ${o != null ? `${o}px` : "auto"}`)
1220
+ c.map((l) => `--collapse-height: ${l != null ? `${l}px` : "auto"}`)
1221
1221
  ),
1222
- r.class(a.map((o) => `bc-collapse bc-collapse--${o}`)),
1222
+ r.class(a.map((l) => `bc-collapse bc-collapse--${l}`)),
1223
1223
  ...t
1224
1224
  );
1225
1225
  });
@@ -1231,17 +1231,17 @@ function ra(e) {
1231
1231
  function Tt(e) {
1232
1232
  return h.map(e, ra);
1233
1233
  }
1234
- function mr({
1234
+ function yr({
1235
1235
  body: e,
1236
1236
  contentWidth: t,
1237
1237
  contentHeight: n,
1238
1238
  header: a,
1239
1239
  headerHeight: s = 0,
1240
- topStart: l,
1240
+ topStart: o,
1241
1241
  topEnd: i,
1242
1242
  footer: c,
1243
1243
  footerHeight: u = 0,
1244
- bottomStart: o,
1244
+ bottomStart: l,
1245
1245
  bottomEnd: f,
1246
1246
  sidebarStart: g,
1247
1247
  sidebarStartWidth: k = 0,
@@ -1257,25 +1257,25 @@ function mr({
1257
1257
  _.$.width,
1258
1258
  k,
1259
1259
  w
1260
- )((L, O, K) => L - O - K), P = I(
1260
+ )((L, O, q) => L - O - q), P = I(
1261
1261
  _.$.height,
1262
1262
  s,
1263
1263
  u
1264
- )((L, O, K) => L - O - K), C = I(
1264
+ )((L, O, q) => L - O - q), C = I(
1265
1265
  t,
1266
1266
  $
1267
- )((L, O) => L > BigInt(O)), A = I(
1267
+ )((L, O) => L > BigInt(O)), V = I(
1268
1268
  n,
1269
1269
  P
1270
1270
  )((L, O) => L > BigInt(O)), E = I(
1271
1271
  $,
1272
- A,
1272
+ V,
1273
1273
  T
1274
- )((L, O, K) => O ? L - K : L), R = I(
1274
+ )((L, O, q) => O ? L - q : L), R = I(
1275
1275
  P,
1276
1276
  C,
1277
1277
  T
1278
- )((L, O, K) => O ? L - K : L), j = I(
1278
+ )((L, O, q) => O ? L - q : L), j = I(
1279
1279
  t,
1280
1280
  E
1281
1281
  )((L, O) => Number(L / BigInt(Math.max(1, O)))), J = I(
@@ -1284,7 +1284,7 @@ function mr({
1284
1284
  )((L, O) => Number(L / BigInt(Math.max(1, O)))), Y = h.map(
1285
1285
  v,
1286
1286
  (L) => L === "body-end" || L === "body-end-bottom"
1287
- ), F = q(
1287
+ ), F = K(
1288
1288
  Y,
1289
1289
  () => S.left(
1290
1290
  I(
@@ -1292,8 +1292,8 @@ function mr({
1292
1292
  t,
1293
1293
  E,
1294
1294
  w
1295
- )((L, O, K, D) => {
1296
- const B = L + Number(O), U = L + K, Z = Math.min(B, U);
1295
+ )((L, O, q, D) => {
1296
+ const B = L + Number(O), U = L + q, Z = Math.min(B, U);
1297
1297
  return `${Math.max(L + D, Z)}px`;
1298
1298
  })
1299
1299
  ),
@@ -1301,7 +1301,7 @@ function mr({
1301
1301
  ), Q = h.map(
1302
1302
  v,
1303
1303
  (L) => L === "body-bottom" || L === "body-end-bottom"
1304
- ), ie = q(
1304
+ ), ie = K(
1305
1305
  Q,
1306
1306
  () => S.top(
1307
1307
  I(
@@ -1309,14 +1309,14 @@ function mr({
1309
1309
  n,
1310
1310
  R,
1311
1311
  u
1312
- )((L, O, K, D) => {
1313
- const B = L + Number(O), U = L + K, Z = Math.min(B, U);
1312
+ )((L, O, q, D) => {
1313
+ const B = L + Number(O), U = L + q, Z = Math.min(B, U);
1314
1314
  return `${Math.max(L + D, Z)}px`;
1315
1315
  })
1316
1316
  ),
1317
1317
  () => S.bottom("0")
1318
- ), Ke = I(
1319
- A,
1318
+ ), qe = I(
1319
+ V,
1320
1320
  T
1321
1321
  )((L, O) => L ? `${O}px` : "0"), ue = I(
1322
1322
  C,
@@ -1326,9 +1326,9 @@ function mr({
1326
1326
  b,
1327
1327
  x,
1328
1328
  C,
1329
- A
1330
- )((L, O, K, D) => {
1331
- const B = K ? `translateX(-${L}px)` : "", U = D ? `translateY(-${O}px)` : "";
1329
+ V
1330
+ )((L, O, q, D) => {
1331
+ const B = q ? `translateX(-${L}px)` : "", U = D ? `translateY(-${O}px)` : "";
1332
1332
  return `${B} ${U}`.trim() || "none";
1333
1333
  })
1334
1334
  ), Ne = S.transform(
@@ -1343,9 +1343,9 @@ function mr({
1343
1343
  E
1344
1344
  )((L, O) => L - BigInt(Math.max(1, O)));
1345
1345
  let W = null, ke = 0, Se = 0;
1346
- const qe = () => {
1347
- const L = Fe.value, O = _e.value, K = A.value, D = C.value;
1348
- if (K && Se !== 0) {
1346
+ const Ke = () => {
1347
+ const L = Fe.value, O = _e.value, q = V.value, D = C.value;
1348
+ if (q && Se !== 0) {
1349
1349
  const B = Ct(
1350
1350
  Re(0n, L),
1351
1351
  Re(
@@ -1369,29 +1369,29 @@ function mr({
1369
1369
  };
1370
1370
  return C.on((L) => {
1371
1371
  L || b.set(0n);
1372
- }), A.on((L) => {
1372
+ }), V.on((L) => {
1373
1373
  L || x.set(0n);
1374
1374
  }), N(
1375
1375
  re(() => {
1376
1376
  W && clearTimeout(W);
1377
1377
  }),
1378
- V.wheel((L) => {
1378
+ A.wheel((L) => {
1379
1379
  L.preventDefault();
1380
- const { deltaX: O, deltaY: K } = L;
1381
- ke += O, Se += K, W || (W = setTimeout(qe, 16));
1380
+ const { deltaX: O, deltaY: q } = L;
1381
+ ke += O, Se += q, W || (W = setTimeout(Ke, 16));
1382
1382
  }),
1383
1383
  d.div(
1384
1384
  r.class("bc-nine-slice-pane-container"),
1385
- S.right(Ke),
1385
+ S.right(qe),
1386
1386
  S.bottom(ue),
1387
1387
  // top-start corner
1388
- l != null ? d.div(
1388
+ o != null ? d.div(
1389
1389
  r.class("bc-nine-slice-pane bc-nine-slice-top-start"),
1390
1390
  S.top("0"),
1391
1391
  S.left("0"),
1392
1392
  // style.height(headerHeightPx),
1393
1393
  // style.width(sidebarStartWidthPx),
1394
- l
1394
+ o
1395
1395
  ) : null,
1396
1396
  // top-center
1397
1397
  a != null ? d.div(
@@ -1455,13 +1455,13 @@ function mr({
1455
1455
  )
1456
1456
  ) : null,
1457
1457
  // bottom-start corner
1458
- o != null ? d.div(
1458
+ l != null ? d.div(
1459
1459
  r.class("bc-nine-slice-pane bc-nine-slice-bottom-start"),
1460
1460
  S.left("0"),
1461
1461
  ie,
1462
1462
  // style.height(footerHeightPx),
1463
1463
  // style.width(sidebarStartWidthPx),
1464
- o
1464
+ l
1465
1465
  ) : null,
1466
1466
  // bottom-center
1467
1467
  c != null ? d.div(
@@ -1493,7 +1493,7 @@ function mr({
1493
1493
  S.left("0"),
1494
1494
  S.right(
1495
1495
  I(
1496
- A,
1496
+ V,
1497
1497
  T
1498
1498
  )((L, O) => L ? `${O}px` : "0")
1499
1499
  ),
@@ -1513,10 +1513,10 @@ function mr({
1513
1513
  S.height("100%"),
1514
1514
  S.backgroundColor("#ff000066")
1515
1515
  ),
1516
- V.scroll((L) => {
1517
- const O = L.target, K = O.scrollLeft, D = O.scrollWidth - O.clientWidth;
1516
+ A.scroll((L) => {
1517
+ const O = L.target, q = O.scrollLeft, D = O.scrollWidth - O.clientWidth;
1518
1518
  if (D > 0) {
1519
- const B = K / D, U = _e.value;
1519
+ const B = q / D, U = _e.value;
1520
1520
  b.set(
1521
1521
  BigInt(Math.round(Number(U) * B))
1522
1522
  );
@@ -1536,7 +1536,7 @@ function mr({
1536
1536
  ),
1537
1537
  S.right("0"),
1538
1538
  S.width(
1539
- A.map(
1539
+ V.map(
1540
1540
  (L) => L ? "16px" : "0"
1541
1541
  )
1542
1542
  ),
@@ -1551,14 +1551,14 @@ function mr({
1551
1551
  u,
1552
1552
  n,
1553
1553
  J
1554
- )((L, O, K, D) => `${100 / Math.max(1, D)}%`)
1554
+ )((L, O, q, D) => `${100 / Math.max(1, D)}%`)
1555
1555
  ),
1556
1556
  S.backgroundColor("#ff000066")
1557
1557
  ),
1558
- V.scroll((L) => {
1559
- const O = L.target, K = O.scrollTop, D = O.scrollHeight - O.clientHeight;
1558
+ A.scroll((L) => {
1559
+ const O = L.target, q = O.scrollTop, D = O.scrollHeight - O.clientHeight;
1560
1560
  if (D > 0) {
1561
- const B = K / D, U = Fe.value;
1561
+ const B = q / D, U = Fe.value;
1562
1562
  x.set(
1563
1563
  BigInt(Math.round(Number(U) * B))
1564
1564
  );
@@ -1570,19 +1570,19 @@ function mr({
1570
1570
  );
1571
1571
  }
1572
1572
  function _t({ header: e, footer: t, body: n, shadowOnScroll: a = !0 }, ...s) {
1573
- const l = G("none");
1573
+ const o = G("none");
1574
1574
  function i(u) {
1575
- const o = u.scrollTop === 0, f = u.scrollTop + u.clientHeight >= u.scrollHeight - 1;
1576
- o && f ? l.set("none") : o ? l.set("bottom") : f ? l.set("top") : l.set("both");
1575
+ const l = u.scrollTop === 0, f = u.scrollTop + u.clientHeight >= u.scrollHeight - 1;
1576
+ l && f ? o.set("none") : l ? o.set("bottom") : f ? o.set("top") : o.set("both");
1577
1577
  }
1578
1578
  return d.div(
1579
1579
  r.class("bc-scrollable-panel"),
1580
1580
  r.class(
1581
1581
  I(
1582
- l,
1582
+ o,
1583
1583
  a
1584
- )((u, o) => {
1585
- if (!o) return "";
1584
+ )((u, l) => {
1585
+ if (!l) return "";
1586
1586
  switch (u) {
1587
1587
  case "both":
1588
1588
  return "bc-scrollable-panel--scrolled-up bc-scrollable-panel--scrolled-down";
@@ -1602,9 +1602,9 @@ function _t({ header: e, footer: t, body: n, shadowOnScroll: a = !0 }, ...s) {
1602
1602
  te(
1603
1603
  (u) => re(ze(() => i(u)))
1604
1604
  ),
1605
- V.scroll((u) => {
1606
- const o = u.target;
1607
- i(o);
1605
+ A.scroll((u) => {
1606
+ const l = u.target;
1607
+ i(l);
1608
1608
  }),
1609
1609
  n
1610
1610
  ),
@@ -1617,7 +1617,7 @@ function sa(e, t, n) {
1617
1617
  const a = ["bc-sink"];
1618
1618
  return e !== "default" && a.push(`bc-sink--${e}`), t !== "md" && a.push(`bc-sink--padding-${t}`), n !== "lg" && a.push(`bc-sink--rounded-${n}`), a.join(" ");
1619
1619
  }
1620
- function hr({ variant: e = "default", size: t = "md", roundedness: n = "lg" } = {}, ...a) {
1620
+ function wr({ variant: e = "default", size: t = "md", roundedness: n = "lg" } = {}, ...a) {
1621
1621
  return d.div(
1622
1622
  r.class(
1623
1623
  I(
@@ -1625,9 +1625,9 @@ function hr({ variant: e = "default", size: t = "md", roundedness: n = "lg" } =
1625
1625
  t,
1626
1626
  n
1627
1627
  )(
1628
- (s, l, i) => sa(
1628
+ (s, o, i) => sa(
1629
1629
  s ?? "default",
1630
- l ?? "md",
1630
+ o ?? "md",
1631
1631
  i ?? "lg"
1632
1632
  )
1633
1633
  )
@@ -1665,23 +1665,23 @@ const we = {
1665
1665
  (t) => t.type === "group" ? we.getValues(t.options) : t.type === "break" ? [] : [t.value]
1666
1666
  ),
1667
1667
  contains: (e, t, n = (a, s) => a === s) => we.getValues(e).some((a) => n(a, t))
1668
- }, Kt = (e) => {
1668
+ }, qt = (e) => {
1669
1669
  const {
1670
1670
  onChange: t,
1671
1671
  onBlur: n,
1672
1672
  role: a,
1673
1673
  display: s,
1674
- optionsSource: l,
1674
+ optionsSource: o,
1675
1675
  allowSpaceToggle: i = !1,
1676
1676
  onBeforeOpen: c,
1677
1677
  onAfterOpen: u,
1678
- buildListboxContent: o
1678
+ buildListboxContent: l
1679
1679
  } = e, f = G(!1), g = G(-1), k = G(null), m = me("dropdown"), w = me("listbox");
1680
1680
  let v, x;
1681
1681
  const b = (y) => {
1682
1682
  t?.(y), f.set(!1), g.set(-1), k.set(null), v?.focus();
1683
1683
  }, p = (y) => {
1684
- const T = we.getValues(h.get(l));
1684
+ const T = we.getValues(h.get(o));
1685
1685
  switch (y.key) {
1686
1686
  case "ArrowDown": {
1687
1687
  if (y.preventDefault(), !f.value)
@@ -1708,7 +1708,7 @@ const we = {
1708
1708
  _ != null && b(_);
1709
1709
  } else {
1710
1710
  c?.();
1711
- const _ = we.getValues(h.get(l));
1711
+ const _ = we.getValues(h.get(o));
1712
1712
  f.set(!0), _.length > 0 && (g.set(0), k.set(_[0])), setTimeout(() => u?.(), 0);
1713
1713
  }
1714
1714
  break;
@@ -1720,7 +1720,7 @@ const we = {
1720
1720
  case " ": {
1721
1721
  if (h.get(i)) {
1722
1722
  y.preventDefault();
1723
- const _ = we.getValues(h.get(l));
1723
+ const _ = we.getValues(h.get(o));
1724
1724
  f.set(!f.value), f.value && _.length > 0 && (g.set(0), k.set(_[0]));
1725
1725
  }
1726
1726
  break;
@@ -1758,7 +1758,7 @@ const we = {
1758
1758
  (T, _) => T && _ != null ? `dropdown-option-${String(_)}` : ""
1759
1759
  )
1760
1760
  ),
1761
- n != null ? V.blur(() => {
1761
+ n != null ? A.blur(() => {
1762
1762
  setTimeout(() => {
1763
1763
  x?.contains(document.activeElement) || (f.set(!1), g.set(-1), n());
1764
1764
  }, 100);
@@ -1773,7 +1773,7 @@ const we = {
1773
1773
  r.role("listbox"),
1774
1774
  r.id(w),
1775
1775
  M.labelledby(m),
1776
- o({
1776
+ l({
1777
1777
  dropdownId: m,
1778
1778
  listboxId: w,
1779
1779
  focusedValue: k,
@@ -1794,11 +1794,11 @@ const we = {
1794
1794
  _();
1795
1795
  else {
1796
1796
  c?.();
1797
- const C = we.getValues(h.get(l));
1797
+ const C = we.getValues(h.get(o));
1798
1798
  f.set(!0), C.length > 0 && (g.set(0), k.set(C[0])), T(), setTimeout(() => u?.(), 0);
1799
1799
  }
1800
1800
  };
1801
- return V.click(P);
1801
+ return A.click(P);
1802
1802
  },
1803
1803
  showDelay: 0,
1804
1804
  hideDelay: 0,
@@ -1806,17 +1806,17 @@ const we = {
1806
1806
  })
1807
1807
  ))
1808
1808
  );
1809
- }, qt = (e, t, n, a, s) => Ye(
1809
+ }, Kt = (e, t, n, a, s) => Ye(
1810
1810
  e,
1811
- (l) => Mt(l, {
1811
+ (o) => Mt(o, {
1812
1812
  value: (i) => {
1813
1813
  const c = I(
1814
1814
  i,
1815
1815
  n
1816
- )((o, f) => t(o.value, f)), u = I(
1816
+ )((l, f) => t(l.value, f)), u = I(
1817
1817
  i,
1818
1818
  s
1819
- )((o, f) => f != null && t(o.value, f));
1819
+ )((l, f) => f != null && t(l.value, f));
1820
1820
  return d.div(
1821
1821
  r.class("bc-dropdown__option"),
1822
1822
  r.class(
@@ -1824,18 +1824,18 @@ const we = {
1824
1824
  c,
1825
1825
  u,
1826
1826
  i
1827
- )((o, f, g) => {
1827
+ )((l, f, g) => {
1828
1828
  const k = [];
1829
- return o && k.push("bc-dropdown__option--selected"), f && k.push("bc-dropdown__option--focused"), g.disabled && k.push("bc-dropdown__option--disabled"), k.join(" ");
1829
+ return l && k.push("bc-dropdown__option--selected"), f && k.push("bc-dropdown__option--focused"), g.disabled && k.push("bc-dropdown__option--disabled"), k.join(" ");
1830
1830
  })
1831
1831
  ),
1832
1832
  r.role("option"),
1833
- r.id(i.map((o) => `dropdown-option-${String(o.value)}`)),
1833
+ r.id(i.map((l) => `dropdown-option-${String(l.value)}`)),
1834
1834
  M.selected(c),
1835
1835
  Pn("value", i.$.value),
1836
- q(
1837
- i.map((o) => !o.disabled),
1838
- () => V.click(() => a(i.value.value)),
1836
+ K(
1837
+ i.map((l) => !l.disabled),
1838
+ () => A.click(() => a(i.value.value)),
1839
1839
  () => H
1840
1840
  ),
1841
1841
  d.div(
@@ -1859,7 +1859,7 @@ const we = {
1859
1859
  d.div(r.class("bc-dropdown__group-label"), i.$.group),
1860
1860
  Te(
1861
1861
  i.$.options,
1862
- (c) => qt(
1862
+ (c) => Kt(
1863
1863
  c,
1864
1864
  t,
1865
1865
  n,
@@ -1875,17 +1875,17 @@ const we = {
1875
1875
  value: t,
1876
1876
  options: n,
1877
1877
  unselectedLabel: a,
1878
- equality: s = (o, f) => o === f,
1879
- placeholder: l,
1878
+ equality: s = (l, f) => l === f,
1879
+ placeholder: o,
1880
1880
  searchable: i = !1
1881
1881
  } = e, c = I(
1882
1882
  t,
1883
1883
  n
1884
- )((o, f) => {
1885
- if (o == null) return "";
1884
+ )((l, f) => {
1885
+ if (l == null) return "";
1886
1886
  const g = (k) => {
1887
1887
  for (const m of k) {
1888
- if (m.type === "value" && s(m.value, o))
1888
+ if (m.type === "value" && s(m.value, l))
1889
1889
  return m.label;
1890
1890
  if (m.type === "group") {
1891
1891
  const w = g(m.options);
@@ -1893,24 +1893,24 @@ const we = {
1893
1893
  }
1894
1894
  }
1895
1895
  };
1896
- return g(f) || String(o);
1897
- }), u = I(i)((o) => !o);
1898
- return Kt({
1896
+ return g(f) || String(l);
1897
+ }), u = I(i)((l) => !l);
1898
+ return qt({
1899
1899
  ...e,
1900
1900
  role: "dropdown",
1901
- display: q(
1902
- c.map((o) => o.length > 0),
1901
+ display: K(
1902
+ c.map((l) => l.length > 0),
1903
1903
  () => c,
1904
1904
  () => ne(
1905
1905
  le,
1906
- (o) => Ie(l, a, o.$.selectOne)
1906
+ (l) => Ie(o, a, l.$.selectOne)
1907
1907
  )
1908
1908
  ),
1909
1909
  optionsSource: n,
1910
1910
  allowSpaceToggle: u,
1911
- buildListboxContent: ({ focusedValue: o, onSelect: f }) => Te(
1911
+ buildListboxContent: ({ focusedValue: l, onSelect: f }) => Te(
1912
1912
  n,
1913
- (g) => qt(g, s, t, f, o)
1913
+ (g) => Kt(g, s, t, f, l)
1914
1914
  )
1915
1915
  });
1916
1916
  }, oa = (e) => {
@@ -1921,17 +1921,17 @@ const we = {
1921
1921
  onChange: Ut(t, n),
1922
1922
  onBlur: Rt(t, a)
1923
1923
  });
1924
- }, vr = (e) => ut({
1924
+ }, xr = (e) => ut({
1925
1925
  ...e,
1926
1926
  content: oa(e)
1927
- }), Qt = (e, t, n, a, s, l) => Ye(
1927
+ }), Qt = (e, t, n, a, s, o) => Ye(
1928
1928
  e,
1929
1929
  (i) => Mt(i, {
1930
1930
  value: (c) => {
1931
1931
  const u = I(
1932
1932
  c,
1933
1933
  n
1934
- )((f, g) => t(f.value, g)), o = I(
1934
+ )((f, g) => t(f.value, g)), l = I(
1935
1935
  c,
1936
1936
  s
1937
1937
  )(
@@ -1942,7 +1942,7 @@ const we = {
1942
1942
  r.class(
1943
1943
  I(
1944
1944
  u,
1945
- o,
1945
+ l,
1946
1946
  c
1947
1947
  )((f, g, k) => {
1948
1948
  const m = [];
@@ -1952,9 +1952,9 @@ const we = {
1952
1952
  r.role("option"),
1953
1953
  r.id(c.map((f) => `dropdown-option-${String(f.value)}`)),
1954
1954
  M.selected(u),
1955
- q(
1955
+ K(
1956
1956
  c.map((f) => !f.disabled),
1957
- () => V.click(() => a(c.value.value)),
1957
+ () => A.click(() => a(c.value.value)),
1958
1958
  () => H
1959
1959
  ),
1960
1960
  d.div(
@@ -1967,7 +1967,7 @@ const we = {
1967
1967
  // Custom renderer for the main content
1968
1968
  d.span(
1969
1969
  r.class("bc-dropdown__option-label"),
1970
- l(c.$.value)
1970
+ o(c.$.value)
1971
1971
  ),
1972
1972
  // After slot
1973
1973
  c.value.after && d.span(r.class("bc-dropdown__option-after"), c.value.after)
@@ -1987,7 +1987,7 @@ const we = {
1987
1987
  n,
1988
1988
  a,
1989
1989
  s,
1990
- l
1990
+ o
1991
1991
  )
1992
1992
  )
1993
1993
  ),
@@ -1999,11 +1999,11 @@ const we = {
1999
1999
  loadOptions: n,
2000
2000
  renderOption: a,
2001
2001
  renderValue: s,
2002
- equality: l = (p, y) => p === y,
2002
+ equality: o = (p, y) => p === y,
2003
2003
  placeholder: i,
2004
2004
  searchPlaceholder: c,
2005
2005
  debounceMs: u = 150
2006
- } = e, o = G(""), f = G(!1), g = G([]);
2006
+ } = e, l = G(""), f = G(!1), g = G([]);
2007
2007
  let k;
2008
2008
  const m = h.toSignal(t), w = () => (s ?? a)(m);
2009
2009
  let v = null;
@@ -2021,17 +2021,17 @@ const we = {
2021
2021
  Math.max(0, u)
2022
2022
  );
2023
2023
  };
2024
- return Kt({
2024
+ return qt({
2025
2025
  ...e,
2026
2026
  role: "combobox",
2027
- display: q(
2027
+ display: K(
2028
2028
  I(t)((p) => p != null),
2029
2029
  w,
2030
2030
  () => ne(le, (p) => p.$.selectOne)
2031
2031
  ),
2032
2032
  optionsSource: g,
2033
2033
  onBeforeOpen: () => {
2034
- const p = h.get(o);
2034
+ const p = h.get(l);
2035
2035
  b(p);
2036
2036
  },
2037
2037
  onAfterOpen: () => {
@@ -2050,16 +2050,16 @@ const we = {
2050
2050
  i
2051
2051
  )((_, $) => _ ?? $ ?? "Search")
2052
2052
  ),
2053
- r.value(o),
2053
+ r.value(l),
2054
2054
  te((_) => (k = _, H)),
2055
- V.input((_) => {
2055
+ A.input((_) => {
2056
2056
  const $ = _.target;
2057
- o.set($.value), b($.value);
2057
+ l.set($.value), b($.value);
2058
2058
  }),
2059
- V.keydown(y)
2059
+ A.keydown(y)
2060
2060
  )
2061
2061
  ),
2062
- q(
2062
+ K(
2063
2063
  f,
2064
2064
  () => d.div(
2065
2065
  r.class("bc-dropdown__loading"),
@@ -2069,7 +2069,7 @@ const we = {
2069
2069
  g,
2070
2070
  (_) => Qt(
2071
2071
  _,
2072
- l,
2072
+ o,
2073
2073
  m,
2074
2074
  T,
2075
2075
  p,
@@ -2087,7 +2087,7 @@ const we = {
2087
2087
  onChange: Ut(t, n),
2088
2088
  onBlur: Rt(t, a)
2089
2089
  });
2090
- }, yr = (e) => ut({
2090
+ }, kr = (e) => ut({
2091
2091
  ...e,
2092
2092
  content: ca(e)
2093
2093
  });
@@ -2097,11 +2097,11 @@ function Xt(e) {
2097
2097
  placement: n = "bottom-start",
2098
2098
  showDelay: a = 0,
2099
2099
  hideDelay: s = 100,
2100
- mainAxisOffset: l = 4,
2100
+ mainAxisOffset: o = 4,
2101
2101
  crossAxisOffset: i = 0,
2102
2102
  showOn: c = "click",
2103
2103
  closable: u = !0,
2104
- onClose: o,
2104
+ onClose: l,
2105
2105
  onAction: f,
2106
2106
  ariaLabel: g,
2107
2107
  ariaLabelledBy: k
@@ -2111,42 +2111,42 @@ function Xt(e) {
2111
2111
  Ge({
2112
2112
  content: () => te((b) => {
2113
2113
  x = document.activeElement;
2114
- const p = (P, C, A) => {
2114
+ const p = (P, C, V) => {
2115
2115
  if (C.length === 0) return -1;
2116
- let E = P + A, R = 0;
2116
+ let E = P + V, R = 0;
2117
2117
  for (; R < C.length; ) {
2118
2118
  E >= C.length && (E = 0), E < 0 && (E = C.length - 1);
2119
2119
  const j = C[E];
2120
2120
  if (j && j.getAttribute("aria-disabled") !== "true")
2121
2121
  return E;
2122
- E += A, R++;
2122
+ E += V, R++;
2123
2123
  }
2124
2124
  return P;
2125
2125
  }, y = (P) => {
2126
- const C = v.value, A = w.value;
2126
+ const C = v.value, V = w.value;
2127
2127
  switch (P.key) {
2128
2128
  case "ArrowDown":
2129
2129
  P.preventDefault(), P.stopPropagation();
2130
- const E = p(A, C, 1);
2130
+ const E = p(V, C, 1);
2131
2131
  T(E, C);
2132
2132
  break;
2133
2133
  case "ArrowUp":
2134
2134
  P.preventDefault(), P.stopPropagation();
2135
- const R = p(A, C, -1);
2135
+ const R = p(V, C, -1);
2136
2136
  T(R, C);
2137
2137
  break;
2138
2138
  case "Enter":
2139
2139
  case " ":
2140
- if (P.preventDefault(), P.stopPropagation(), A >= 0 && C[A]) {
2141
- const j = C[A];
2140
+ if (P.preventDefault(), P.stopPropagation(), V >= 0 && C[V]) {
2141
+ const j = C[V];
2142
2142
  if (j.getAttribute("aria-disabled") === "true")
2143
2143
  return;
2144
2144
  const J = j.getAttribute("data-key");
2145
- J && f && f(J), j.click(), o?.();
2145
+ J && f && f(J), j.click(), l?.();
2146
2146
  }
2147
2147
  break;
2148
2148
  case "Escape":
2149
- o?.();
2149
+ l?.();
2150
2150
  break;
2151
2151
  case "Home":
2152
2152
  P.preventDefault(), P.stopPropagation(), C.length > 0 && T(0, C);
@@ -2155,15 +2155,15 @@ function Xt(e) {
2155
2155
  P.preventDefault(), P.stopPropagation(), C.length > 0 && T(C.length - 1, C);
2156
2156
  break;
2157
2157
  case "ArrowRight":
2158
- if (P.preventDefault(), P.stopPropagation(), A >= 0 && C[A]) {
2159
- const j = C[A];
2158
+ if (P.preventDefault(), P.stopPropagation(), V >= 0 && C[V]) {
2159
+ const j = C[V];
2160
2160
  j.classList.contains(
2161
2161
  "bc-menu-item--has-submenu"
2162
2162
  ) && j.dispatchEvent(new Event("mouseenter"));
2163
2163
  }
2164
2164
  break;
2165
2165
  case "ArrowLeft":
2166
- P.preventDefault(), P.stopPropagation(), o?.();
2166
+ P.preventDefault(), P.stopPropagation(), l?.();
2167
2167
  break;
2168
2168
  }
2169
2169
  }, T = (P, C) => {
@@ -2176,7 +2176,7 @@ function Xt(e) {
2176
2176
  );
2177
2177
  if (v.set(P), P.length > 0) {
2178
2178
  const C = P.findIndex(
2179
- (A) => A.getAttribute("aria-disabled") !== "true"
2179
+ (V) => V.getAttribute("aria-disabled") !== "true"
2180
2180
  );
2181
2181
  C >= 0 && T(C, P);
2182
2182
  }
@@ -2200,12 +2200,12 @@ function Xt(e) {
2200
2200
  return P >= 0 && C[P] ? C[P].id || `${m}-item-${P}` : "";
2201
2201
  })
2202
2202
  ),
2203
- V.click((P) => {
2204
- const A = P.target.closest(
2203
+ A.click((P) => {
2204
+ const V = P.target.closest(
2205
2205
  '[role="menuitem"]'
2206
2206
  );
2207
- if (A && A.getAttribute("aria-disabled") !== "true") {
2208
- const E = A.getAttribute("data-key");
2207
+ if (V && V.getAttribute("aria-disabled") !== "true") {
2208
+ const E = V.getAttribute("data-key");
2209
2209
  E && f && f(E);
2210
2210
  }
2211
2211
  }),
@@ -2217,8 +2217,8 @@ function Xt(e) {
2217
2217
  w.map((P) => {
2218
2218
  const C = v.value;
2219
2219
  if (P >= 0 && C[P]) {
2220
- const A = C[P].textContent || "";
2221
- return C[P].getAttribute("aria-disabled") === "true" ? `${A}, disabled` : `${A}, ${P + 1} of ${C.length}`;
2220
+ const V = C[P].textContent || "";
2221
+ return C[P].getAttribute("aria-disabled") === "true" ? `${V}, disabled` : `${V}, ${P + 1} of ${C.length}`;
2222
2222
  }
2223
2223
  return "";
2224
2224
  })
@@ -2229,7 +2229,7 @@ function Xt(e) {
2229
2229
  placement: n,
2230
2230
  showDelay: a,
2231
2231
  hideDelay: s,
2232
- mainAxisOffset: l,
2232
+ mainAxisOffset: o,
2233
2233
  crossAxisOffset: i,
2234
2234
  showOn: c,
2235
2235
  closable: u,
@@ -2237,21 +2237,21 @@ function Xt(e) {
2237
2237
  })
2238
2238
  );
2239
2239
  }
2240
- function wr(e) {
2240
+ function Sr(e) {
2241
2241
  const {
2242
2242
  key: t,
2243
2243
  content: n,
2244
2244
  startContent: a,
2245
2245
  endContent: s,
2246
- disabled: l = !1,
2246
+ disabled: o = !1,
2247
2247
  onClick: i,
2248
2248
  ariaLabel: c,
2249
2249
  submenu: u,
2250
- submenuPlacement: o = "right-start"
2250
+ submenuPlacement: l = "right-start"
2251
2251
  } = e, f = t ?? me("menu-item"), g = `menu-item-${f}`, k = u != null;
2252
2252
  return d.div(
2253
2253
  r.class(
2254
- I(l)(
2254
+ I(o)(
2255
2255
  (m) => `bc-menu-item ${m ? "bc-menu-item--disabled" : ""} ${k ? "bc-menu-item--has-submenu" : ""}`
2256
2256
  )
2257
2257
  ),
@@ -2259,13 +2259,13 @@ function wr(e) {
2259
2259
  r.role("menuitem"),
2260
2260
  r.tabindex(-1),
2261
2261
  st.key(f),
2262
- M.disabled(l),
2262
+ M.disabled(o),
2263
2263
  M.selected(!1),
2264
2264
  // Will be updated by focus management
2265
2265
  k ? M.expanded(!1) : N(),
2266
2266
  c ? M.label(c) : N(),
2267
- V.click((m) => {
2268
- if (h.get(l)) {
2267
+ A.click((m) => {
2268
+ if (h.get(o)) {
2269
2269
  m.preventDefault(), m.stopPropagation();
2270
2270
  return;
2271
2271
  }
@@ -2284,7 +2284,7 @@ function wr(e) {
2284
2284
  r.role("menu"),
2285
2285
  ...u()
2286
2286
  ),
2287
- placement: o,
2287
+ placement: l,
2288
2288
  showOn: "hover",
2289
2289
  hasPopup: "menu",
2290
2290
  showDelay: 100,
@@ -2332,22 +2332,22 @@ function ua(e, t, n) {
2332
2332
  function sn(e, t, n) {
2333
2333
  const a = t.trim().toLowerCase(), s = n ?? ((i, c) => c.label.toLowerCase().includes(i));
2334
2334
  if (a === "") return e;
2335
- const l = [];
2335
+ const o = [];
2336
2336
  for (const i of e)
2337
2337
  if (i.type === "value")
2338
- s(a, { label: i.label }) && l.push(i);
2338
+ s(a, { label: i.label }) && o.push(i);
2339
2339
  else if (i.type === "group") {
2340
2340
  const c = sn(
2341
2341
  i.options,
2342
2342
  a,
2343
2343
  s
2344
2344
  );
2345
- c.length > 0 && l.push({ ...i, options: c });
2345
+ c.length > 0 && o.push({ ...i, options: c });
2346
2346
  }
2347
- return l;
2347
+ return o;
2348
2348
  }
2349
2349
  function ln(e) {
2350
- const { values: t, options: n, equality: a, disabled: s, onRemove: l } = e;
2350
+ const { values: t, options: n, equality: a, disabled: s, onRemove: o } = e;
2351
2351
  return bn(
2352
2352
  t,
2353
2353
  () => Te(
@@ -2357,7 +2357,7 @@ function ln(e) {
2357
2357
  i,
2358
2358
  n
2359
2359
  )((c, u) => ua(u, c, a)),
2360
- onClose: () => l(i.value),
2360
+ onClose: () => o(i.value),
2361
2361
  disabled: s
2362
2362
  })
2363
2363
  ),
@@ -2368,18 +2368,18 @@ function on(e) {
2368
2368
  const {
2369
2369
  value: t,
2370
2370
  options: n,
2371
- equality: a = (o, f) => o === f,
2371
+ equality: a = (l, f) => l === f,
2372
2372
  placeholder: s
2373
- } = e, l = (o) => {
2373
+ } = e, o = (l) => {
2374
2374
  const f = h.get(t);
2375
- e.onChange?.(nn(f, o, a));
2376
- }, i = (o) => {
2375
+ e.onChange?.(nn(f, l, a));
2376
+ }, i = (l) => {
2377
2377
  const f = h.get(t);
2378
- e.onChange?.(tn(f, o, a));
2379
- }, c = (o) => I(t)((f) => an(f, o, a)), u = Xt({
2378
+ e.onChange?.(tn(f, l, a));
2379
+ }, c = (l) => I(t)((f) => an(f, l, a)), u = Xt({
2380
2380
  items: () => {
2381
- const o = h.get(n), f = [];
2382
- for (const g of o)
2381
+ const l = h.get(n), f = [];
2382
+ for (const g of l)
2383
2383
  if (g.type === "value") {
2384
2384
  const k = c(g.value);
2385
2385
  f.push(
@@ -2390,7 +2390,7 @@ function on(e) {
2390
2390
  M.checked(k),
2391
2391
  r.class("bc-menu-item"),
2392
2392
  d.span(r.class("bc-menu-item__content"), g.label),
2393
- V.click(() => i(g.value))
2393
+ A.click(() => i(g.value))
2394
2394
  )
2395
2395
  );
2396
2396
  } else g.type === "group" ? f.push(
@@ -2407,7 +2407,7 @@ function on(e) {
2407
2407
  M.checked(m),
2408
2408
  r.class("bc-menu-item"),
2409
2409
  d.span(r.class("bc-menu-item__content"), k.label),
2410
- V.click(() => i(k.value))
2410
+ A.click(() => i(k.value))
2411
2411
  );
2412
2412
  }
2413
2413
  return N();
@@ -2434,7 +2434,7 @@ function on(e) {
2434
2434
  options: n,
2435
2435
  equality: a,
2436
2436
  disabled: e.disabled,
2437
- onRemove: l
2437
+ onRemove: o
2438
2438
  })
2439
2439
  // html.div(
2440
2440
  // attr.class('bc-input-container__tags-selector'),
@@ -2453,10 +2453,10 @@ function on(e) {
2453
2453
  })
2454
2454
  });
2455
2455
  }
2456
- function xr(e) {
2456
+ function Cr(e) {
2457
2457
  return jt(on, e);
2458
2458
  }
2459
- function kr(e) {
2459
+ function Ir(e) {
2460
2460
  return Ht(on, e);
2461
2461
  }
2462
2462
  function cn(e) {
@@ -2465,12 +2465,12 @@ function cn(e) {
2465
2465
  options: n,
2466
2466
  equality: a = (m, w) => m === w,
2467
2467
  placeholder: s,
2468
- searchPlaceholder: l,
2468
+ searchPlaceholder: o,
2469
2469
  filter: i
2470
2470
  } = e, c = G(""), u = (m) => {
2471
2471
  const w = h.get(t);
2472
2472
  e.onChange?.(nn(w, m, a));
2473
- }, o = (m) => {
2473
+ }, l = (m) => {
2474
2474
  const w = h.get(t);
2475
2475
  e.onChange?.(tn(w, m, a));
2476
2476
  }, f = (m) => I(t)((w) => an(w, m, a)), g = I(
@@ -2497,7 +2497,7 @@ function cn(e) {
2497
2497
  M.checked(x),
2498
2498
  r.class("bc-menu-item"),
2499
2499
  d.span(r.class("bc-menu-item__content"), v.label),
2500
- V.click(() => o(v.value))
2500
+ A.click(() => l(v.value))
2501
2501
  )
2502
2502
  );
2503
2503
  } else v.type === "group" ? m.push(
@@ -2514,7 +2514,7 @@ function cn(e) {
2514
2514
  M.checked(b),
2515
2515
  r.class("bc-menu-item"),
2516
2516
  d.span(r.class("bc-menu-item__content"), x.label),
2517
- V.click(() => o(x.value))
2517
+ A.click(() => l(x.value))
2518
2518
  );
2519
2519
  }
2520
2520
  return N();
@@ -2564,16 +2564,16 @@ function cn(e) {
2564
2564
  r.class("bc-dropdown__search-input"),
2565
2565
  r.placeholder(
2566
2566
  I(
2567
- l,
2567
+ o,
2568
2568
  s
2569
2569
  )((m, w) => m ?? w ?? "")
2570
2570
  ),
2571
2571
  r.value(c),
2572
- V.input((m) => {
2572
+ A.input((m) => {
2573
2573
  const w = m.target;
2574
2574
  c.set(w.value);
2575
2575
  }),
2576
- V.keydown((m) => {
2576
+ A.keydown((m) => {
2577
2577
  (m.key === "ArrowUp" || m.key === "ArrowDown" || m.key === "Enter" || m.key === " ") && m.stopPropagation();
2578
2578
  })
2579
2579
  ),
@@ -2582,13 +2582,13 @@ function cn(e) {
2582
2582
  )
2583
2583
  });
2584
2584
  }
2585
- function Sr(e) {
2585
+ function Tr(e) {
2586
2586
  return jt(cn, e);
2587
2587
  }
2588
- function Cr(e) {
2588
+ function _r(e) {
2589
2589
  return Ht(cn, e);
2590
2590
  }
2591
- const Ir = (e) => {
2591
+ const $r = (e) => {
2592
2592
  const { value: t, onBlur: n, onChange: a } = e;
2593
2593
  return oe({
2594
2594
  ...e,
@@ -2596,14 +2596,14 @@ const Ir = (e) => {
2596
2596
  pe(e),
2597
2597
  r.valueAsDate(t),
2598
2598
  r.class("bc-input"),
2599
- n != null ? V.blur(ee(n)) : H,
2600
- a != null ? V.change(gn(a)) : H
2599
+ n != null ? A.blur(ee(n)) : H,
2600
+ a != null ? A.change(gn(a)) : H
2601
2601
  )
2602
2602
  });
2603
2603
  }, da = (e) => {
2604
- const t = e.getFullYear(), n = (e.getMonth() + 1).toString().padStart(2, "0"), a = e.getDate().toString().padStart(2, "0"), s = e.getHours().toString().padStart(2, "0"), l = e.getMinutes().toString().padStart(2, "0");
2605
- return `${t}-${n}-${a}T${s}:${l}`;
2606
- }, Tr = (e) => {
2604
+ const t = e.getFullYear(), n = (e.getMonth() + 1).toString().padStart(2, "0"), a = e.getDate().toString().padStart(2, "0"), s = e.getHours().toString().padStart(2, "0"), o = e.getMinutes().toString().padStart(2, "0");
2605
+ return `${t}-${n}-${a}T${s}:${o}`;
2606
+ }, Pr = (e) => {
2607
2607
  const { value: t, onBlur: n, onChange: a } = e;
2608
2608
  return oe({
2609
2609
  ...e,
@@ -2611,11 +2611,11 @@ const Ir = (e) => {
2611
2611
  pe(e),
2612
2612
  r.value(h.map(t, da)),
2613
2613
  r.class("bc-input"),
2614
- n != null ? V.blur(ee(n)) : H,
2615
- a != null ? V.change(ee((s) => a(new Date(s)))) : H
2614
+ n != null ? A.blur(ee(n)) : H,
2615
+ a != null ? A.change(ee((s) => a(new Date(s)))) : H
2616
2616
  )
2617
2617
  });
2618
- }, _r = (e) => {
2618
+ }, Dr = (e) => {
2619
2619
  const {
2620
2620
  value: t,
2621
2621
  onInput: n,
@@ -2625,15 +2625,15 @@ const Ir = (e) => {
2625
2625
  return Dn({
2626
2626
  ...s,
2627
2627
  maxFiles: 1,
2628
- value: h.map(t, (l) => l == null ? [] : [l]),
2629
- onChange: (l) => {
2630
- a?.(l[0]);
2628
+ value: h.map(t, (o) => o == null ? [] : [o]),
2629
+ onChange: (o) => {
2630
+ a?.(o[0]);
2631
2631
  },
2632
- onInput: (l) => {
2633
- n?.(l[0]);
2632
+ onInput: (o) => {
2633
+ n?.(o[0]);
2634
2634
  }
2635
2635
  });
2636
- }, $r = (e) => Ft({
2636
+ }, Lr = (e) => Ft({
2637
2637
  request: e.request,
2638
2638
  load: e.load,
2639
2639
  convertError: String,
@@ -2657,15 +2657,15 @@ const Ir = (e) => {
2657
2657
  })
2658
2658
  )
2659
2659
  )
2660
- }), Pr = (e) => {
2661
- const { value: t, onBlur: n, onChange: a, onInput: s, after: l, disabled: i, ...c } = e, u = Le(t, i, a);
2662
- return Ve({
2660
+ }), Ar = (e) => {
2661
+ const { value: t, onBlur: n, onChange: a, onInput: s, after: o, disabled: i, ...c } = e, u = Le(t, i, a);
2662
+ return Ae({
2663
2663
  ...c,
2664
2664
  value: h.map(t, Ln),
2665
- onChange: a != null ? (o) => a(xt(o)) : void 0,
2666
- onInput: s != null ? (o) => s(xt(o)) : void 0,
2665
+ onChange: a != null ? (l) => a(xt(l)) : void 0,
2666
+ onInput: s != null ? (l) => s(xt(l)) : void 0,
2667
2667
  onBlur: n,
2668
- after: l != null ? N(u, l) : u
2668
+ after: o != null ? N(u, o) : u
2669
2669
  });
2670
2670
  }, $t = (e) => {
2671
2671
  try {
@@ -2673,11 +2673,11 @@ const Ir = (e) => {
2673
2673
  } catch {
2674
2674
  return null;
2675
2675
  }
2676
- }, Dr = (e) => {
2677
- const { value: t, step: n, min: a, max: s, onChange: l, onInput: i, after: c } = e, u = (m) => {
2676
+ }, Vr = (e) => {
2677
+ const { value: t, step: n, min: a, max: s, onChange: o, onInput: i, after: c } = e, u = (m) => {
2678
2678
  const w = a != null ? h.get(a) : void 0, v = s != null ? h.get(s) : void 0;
2679
2679
  return w != null && m < w ? w : v != null && m > v ? v : m;
2680
- }, o = n != null ? ne(le, (m) => {
2680
+ }, l = n != null ? ne(le, (m) => {
2681
2681
  const w = I(
2682
2682
  t,
2683
2683
  a
@@ -2687,8 +2687,8 @@ const Ir = (e) => {
2687
2687
  )((b, p) => p == null ? !0 : (b ?? 0n) < p), x = (b, p) => {
2688
2688
  const y = h.get(t) ?? 0n, T = h.get(n), _ = p?.shiftKey ? 10n : 1n, $ = y + T * _ * b, P = a != null ? h.get(a) : void 0, C = s != null ? h.get(s) : void 0;
2689
2689
  if (b < 0n && P != null && $ < P || b > 0n && C != null && $ > C) return;
2690
- const A = u($);
2691
- A !== y && l && l(A);
2690
+ const V = u($);
2691
+ V !== y && o && o(V);
2692
2692
  };
2693
2693
  return dt(
2694
2694
  r.class("bc-number-input-steppers"),
@@ -2703,7 +2703,7 @@ const Ir = (e) => {
2703
2703
  e.disabled ?? !1
2704
2704
  )((b, p) => !b || p)
2705
2705
  ),
2706
- V.click((b) => x(1n, b)),
2706
+ A.click((b) => x(1n, b)),
2707
2707
  M.label(m.$.incrementValue),
2708
2708
  X({ icon: "line-md:plus", size: "xs" })
2709
2709
  ),
@@ -2718,19 +2718,19 @@ const Ir = (e) => {
2718
2718
  e.disabled ?? !1
2719
2719
  )((b, p) => !b || p)
2720
2720
  ),
2721
- V.click((b) => x(-1n, b)),
2721
+ A.click((b) => x(-1n, b)),
2722
2722
  M.label(m.$.decrementValue),
2723
2723
  X({ icon: "line-md:minus", size: "xs" })
2724
2724
  )
2725
2725
  );
2726
- }) : null, f = c != null && o != null ? N(o, c) : c ?? o, g = l ? (m) => {
2726
+ }) : null, f = c != null && l != null ? N(l, c) : c ?? l, g = o ? (m) => {
2727
2727
  const w = $t(m);
2728
- w != null && l(u(w));
2728
+ w != null && o(u(w));
2729
2729
  } : void 0, k = i ? (m) => {
2730
2730
  const w = $t(m);
2731
2731
  w != null && i(u(w));
2732
2732
  } : void 0;
2733
- return Ve({
2733
+ return Ae({
2734
2734
  ...e,
2735
2735
  value: h.map(t, (m) => m.toString()),
2736
2736
  onChange: g,
@@ -2747,11 +2747,11 @@ const Ir = (e) => {
2747
2747
  } catch {
2748
2748
  return null;
2749
2749
  }
2750
- }, Lr = (e) => {
2751
- const { value: t, step: n, min: a, max: s, onChange: l, onInput: i, after: c } = e, u = (w) => {
2750
+ }, Br = (e) => {
2751
+ const { value: t, step: n, min: a, max: s, onChange: o, onInput: i, after: c } = e, u = (w) => {
2752
2752
  const v = a != null ? h.get(a) : void 0, x = s != null ? h.get(s) : void 0;
2753
2753
  return v != null && w < v ? v : x != null && w > x ? x : w;
2754
- }, o = n != null ? ne(le, (w) => {
2754
+ }, l = n != null ? ne(le, (w) => {
2755
2755
  const v = I(
2756
2756
  t,
2757
2757
  a
@@ -2765,10 +2765,10 @@ const Ir = (e) => {
2765
2765
  const T = p ?? 0n;
2766
2766
  return y == null ? !0 : T < y;
2767
2767
  }), b = (p, y) => {
2768
- const T = h.get(t) ?? 0n, _ = h.get(n), $ = y?.shiftKey ? 10n : 1n, P = T + _ * $ * p, C = a != null ? h.get(a) : void 0, A = s != null ? h.get(s) : void 0;
2769
- if (p < 0n && C != null && P < C || p > 0n && A != null && P > A) return;
2768
+ const T = h.get(t) ?? 0n, _ = h.get(n), $ = y?.shiftKey ? 10n : 1n, P = T + _ * $ * p, C = a != null ? h.get(a) : void 0, V = s != null ? h.get(s) : void 0;
2769
+ if (p < 0n && C != null && P < C || p > 0n && V != null && P > V) return;
2770
2770
  const E = u(P);
2771
- E !== T && l && l(E);
2771
+ E !== T && o && o(E);
2772
2772
  };
2773
2773
  return dt(
2774
2774
  r.class("bc-number-input-steppers"),
@@ -2783,7 +2783,7 @@ const Ir = (e) => {
2783
2783
  e.disabled ?? !1
2784
2784
  )((p, y) => !p || y)
2785
2785
  ),
2786
- V.click((p) => b(1n, p)),
2786
+ A.click((p) => b(1n, p)),
2787
2787
  M.label(w.$.incrementValue),
2788
2788
  X({ icon: "line-md:plus", size: "xs" })
2789
2789
  ),
@@ -2798,19 +2798,19 @@ const Ir = (e) => {
2798
2798
  e.disabled ?? !1
2799
2799
  )((p, y) => !p || y)
2800
2800
  ),
2801
- V.click((p) => b(-1n, p)),
2801
+ A.click((p) => b(-1n, p)),
2802
2802
  M.label(w.$.decrementValue),
2803
2803
  X({ icon: "line-md:minus", size: "xs" })
2804
2804
  )
2805
2805
  );
2806
- }) : null, f = Le(t, e.disabled, l), g = c != null && o != null ? N(o, f, c) : c != null ? N(f, c) : o != null ? N(o, f) : f, k = l ? (w) => {
2806
+ }) : null, f = Le(t, e.disabled, o), g = c != null && l != null ? N(l, f, c) : c != null ? N(f, c) : l != null ? N(l, f) : f, k = o ? (w) => {
2807
2807
  const v = Pt(w);
2808
- l(v === null ? null : u(v));
2808
+ o(v === null ? null : u(v));
2809
2809
  } : void 0, m = i ? (w) => {
2810
2810
  const v = Pt(w);
2811
2811
  i(v === null ? null : u(v));
2812
2812
  } : void 0;
2813
- return Ve({
2813
+ return Ae({
2814
2814
  ...e,
2815
2815
  value: h.map(t, (w) => w == null ? "" : w.toString()),
2816
2816
  onChange: k,
@@ -2820,12 +2820,12 @@ const Ir = (e) => {
2820
2820
  allowMode: "digits",
2821
2821
  class: "bc-number-input"
2822
2822
  });
2823
- }, Vr = (e) => {
2824
- const { value: t, onChange: n, onBlur: a, before: s } = e, l = G(""), i = (u) => {
2825
- n?.(h.get(t).filter((o) => o !== u));
2823
+ }, Mr = (e) => {
2824
+ const { value: t, onChange: n, onBlur: a, before: s } = e, o = G(""), i = (u) => {
2825
+ n?.(h.get(t).filter((l) => l !== u));
2826
2826
  }, c = () => {
2827
- const u = l.value.trim(), o = h.get(t);
2828
- u === "" || o.includes(u) || (l.set(""), n?.([...o, u]));
2827
+ const u = o.value.trim(), l = h.get(t);
2828
+ u === "" || l.includes(u) || (o.set(""), n?.([...l, u]));
2829
2829
  };
2830
2830
  return oe({
2831
2831
  ...e,
@@ -2846,11 +2846,11 @@ const Ir = (e) => {
2846
2846
  ),
2847
2847
  de.text(
2848
2848
  pe(e),
2849
- r.value(l),
2849
+ r.value(o),
2850
2850
  r.class("bc-input bc-input-container__tags-input"),
2851
- V.input(ee(l.set)),
2852
- n != null ? V.change(c) : H,
2853
- a != null ? V.blur(a) : H
2851
+ A.input(ee(o.set)),
2852
+ n != null ? A.change(c) : H,
2853
+ a != null ? A.blur(a) : H
2854
2854
  )
2855
2855
  )
2856
2856
  });
@@ -2859,14 +2859,14 @@ function Ze(e) {
2859
2859
  return (t) => {
2860
2860
  const { value: n, onBlur: a, onChange: s } = t;
2861
2861
  return he(
2862
- (l) => oe({
2862
+ (o) => oe({
2863
2863
  ...t,
2864
2864
  input: de[e.inputType](
2865
2865
  pe(t),
2866
2866
  r.value(h.map(n, e.valueToString)),
2867
2867
  r.class("bc-input"),
2868
- a != null ? V.blur(ee(a)) : H,
2869
- s != null ? V.change(ee((i) => s(e.parseValue(l, i)))) : H
2868
+ a != null ? A.blur(ee(a)) : H,
2869
+ s != null ? A.change(ee((i) => s(e.parseValue(o, i)))) : H
2870
2870
  )
2871
2871
  })
2872
2872
  );
@@ -2874,56 +2874,56 @@ function Ze(e) {
2874
2874
  }
2875
2875
  function Je(e) {
2876
2876
  return (t) => {
2877
- const { value: n, onBlur: a, onChange: s, after: l, disabled: i } = t, c = Le(n, i, s);
2877
+ const { value: n, onBlur: a, onChange: s, after: o, disabled: i } = t, c = Le(n, i, s);
2878
2878
  return he(
2879
2879
  (u) => oe({
2880
2880
  ...t,
2881
2881
  input: de[e.inputType](
2882
2882
  pe(t),
2883
2883
  r.value(
2884
- h.map(n, (o) => o == null ? "" : e.valueToString(o))
2884
+ h.map(n, (l) => l == null ? "" : e.valueToString(l))
2885
2885
  ),
2886
2886
  r.class("bc-input"),
2887
- a != null ? V.blur(ee(a)) : H,
2888
- s != null ? V.change(
2887
+ a != null ? A.blur(ee(a)) : H,
2888
+ s != null ? A.change(
2889
2889
  ee(
2890
- (o) => s(o === "" ? null : e.parseValue(u, o))
2890
+ (l) => s(l === "" ? null : e.parseValue(u, l))
2891
2891
  )
2892
2892
  ) : H
2893
2893
  ),
2894
- after: l != null ? N(c, l) : c
2894
+ after: o != null ? N(c, o) : c
2895
2895
  })
2896
2896
  );
2897
2897
  };
2898
2898
  }
2899
- const Ar = Ze({
2899
+ const Er = Ze({
2900
2900
  inputType: "date",
2901
2901
  valueToString: (e) => e.toString(),
2902
2902
  parseValue: (e, t) => e.PlainDate.from(t)
2903
- }), Br = Je({
2903
+ }), Or = Je({
2904
2904
  inputType: "date",
2905
2905
  valueToString: (e) => e.toString(),
2906
2906
  parseValue: (e, t) => e.PlainDate.from(t)
2907
- }), Mr = Ze({
2907
+ }), Nr = Ze({
2908
2908
  inputType: "time",
2909
2909
  valueToString: (e) => e.toString(),
2910
2910
  parseValue: (e, t) => e.PlainTime.from(t)
2911
- }), Er = Je({
2911
+ }), Fr = Je({
2912
2912
  inputType: "time",
2913
2913
  valueToString: (e) => e.toString(),
2914
2914
  parseValue: (e, t) => e.PlainTime.from(t)
2915
- }), Or = Ze({
2915
+ }), Rr = Ze({
2916
2916
  inputType: "datetime-local",
2917
2917
  valueToString: (e) => e.toJSON(),
2918
2918
  parseValue: (e, t) => e.PlainDateTime.from(t)
2919
- }), Nr = Je({
2919
+ }), Ur = Je({
2920
2920
  inputType: "datetime-local",
2921
2921
  valueToString: (e) => e.toJSON(),
2922
2922
  parseValue: (e, t) => e.PlainDateTime.from(t)
2923
2923
  }), pa = (e) => {
2924
- const t = new Date(e), n = t.getFullYear().toString().padStart(4, "0"), a = (t.getMonth() + 1).toString().padStart(2, "0"), s = t.getDate().toString().padStart(2, "0"), l = t.getHours().toString().padStart(2, "0"), i = t.getMinutes().toString().padStart(2, "0");
2925
- return `${n}-${a}-${s}T${l}:${i}`;
2926
- }, Fr = (e) => {
2924
+ const t = new Date(e), n = t.getFullYear().toString().padStart(4, "0"), a = (t.getMonth() + 1).toString().padStart(2, "0"), s = t.getDate().toString().padStart(2, "0"), o = t.getHours().toString().padStart(2, "0"), i = t.getMinutes().toString().padStart(2, "0");
2925
+ return `${n}-${a}-${s}T${o}:${i}`;
2926
+ }, jr = (e) => {
2927
2927
  const { value: t, onBlur: n, onChange: a } = e;
2928
2928
  return he(
2929
2929
  (s) => oe({
@@ -2931,23 +2931,23 @@ const Ar = Ze({
2931
2931
  input: de["datetime-local"](
2932
2932
  pe(e),
2933
2933
  r.value(
2934
- h.map(t, (l) => pa(Number(l.epochMilliseconds)))
2934
+ h.map(t, (o) => pa(Number(o.epochMilliseconds)))
2935
2935
  ),
2936
2936
  r.class("bc-input"),
2937
- n != null ? V.blur(ee(n)) : H,
2938
- a != null ? V.change(
2937
+ n != null ? A.blur(ee(n)) : H,
2938
+ a != null ? A.change(
2939
2939
  ee(
2940
- (l) => a(s.Instant.from(new Date(l).toISOString()))
2940
+ (o) => a(s.Instant.from(new Date(o).toISOString()))
2941
2941
  )
2942
2942
  ) : H
2943
2943
  )
2944
2944
  })
2945
2945
  );
2946
2946
  }, fa = (e) => {
2947
- const t = new Date(e), n = t.getFullYear().toString().padStart(4, "0"), a = (t.getMonth() + 1).toString().padStart(2, "0"), s = t.getDate().toString().padStart(2, "0"), l = t.getHours().toString().padStart(2, "0"), i = t.getMinutes().toString().padStart(2, "0");
2948
- return `${n}-${a}-${s}T${l}:${i}`;
2949
- }, Rr = (e) => {
2950
- const { value: t, onBlur: n, onChange: a, after: s, disabled: l } = e, i = Le(t, l, a);
2947
+ const t = new Date(e), n = t.getFullYear().toString().padStart(4, "0"), a = (t.getMonth() + 1).toString().padStart(2, "0"), s = t.getDate().toString().padStart(2, "0"), o = t.getHours().toString().padStart(2, "0"), i = t.getMinutes().toString().padStart(2, "0");
2948
+ return `${n}-${a}-${s}T${o}:${i}`;
2949
+ }, Hr = (e) => {
2950
+ const { value: t, onBlur: n, onChange: a, after: s, disabled: o } = e, i = Le(t, o, a);
2951
2951
  return he(
2952
2952
  (c) => oe({
2953
2953
  ...e,
@@ -2960,8 +2960,8 @@ const Ar = Ze({
2960
2960
  )
2961
2961
  ),
2962
2962
  r.class("bc-input"),
2963
- n != null ? V.blur(ee(n)) : H,
2964
- a != null ? V.change(
2963
+ n != null ? A.blur(ee(n)) : H,
2964
+ a != null ? A.change(
2965
2965
  ee(
2966
2966
  (u) => a(u === "" ? null : c.Instant.from(new Date(u).toISOString()))
2967
2967
  )
@@ -2970,27 +2970,27 @@ const Ar = Ze({
2970
2970
  after: s != null ? N(i, s) : i
2971
2971
  })
2972
2972
  );
2973
- }, Ur = (e) => {
2973
+ }, Wr = (e) => {
2974
2974
  const { value: t, onBlur: n, onChange: a } = e;
2975
2975
  return he(
2976
2976
  (s) => oe({
2977
2977
  ...e,
2978
2978
  input: de["datetime-local"](
2979
2979
  pe(e),
2980
- r.value(h.map(t, (l) => l.toJSON())),
2980
+ r.value(h.map(t, (o) => o.toJSON())),
2981
2981
  r.class("bc-input"),
2982
- n != null ? V.blur(ee(n)) : H,
2983
- a != null ? V.change(
2984
- ee((l) => {
2985
- const i = s.PlainDateTime.from(l), c = h.get(e.placeholder) ?? Intl.DateTimeFormat().resolvedOptions().timeZone;
2982
+ n != null ? A.blur(ee(n)) : H,
2983
+ a != null ? A.change(
2984
+ ee((o) => {
2985
+ const i = s.PlainDateTime.from(o), c = h.get(e.placeholder) ?? Intl.DateTimeFormat().resolvedOptions().timeZone;
2986
2986
  return a(s.ZonedDateTime.from({ ...i, timeZone: c }));
2987
2987
  })
2988
2988
  ) : H
2989
2989
  )
2990
2990
  })
2991
2991
  );
2992
- }, jr = (e) => {
2993
- const { value: t, onBlur: n, onChange: a, after: s, disabled: l } = e, i = Le(t, l, a);
2992
+ }, zr = (e) => {
2993
+ const { value: t, onBlur: n, onChange: a, after: s, disabled: o } = e, i = Le(t, o, a);
2994
2994
  return he(
2995
2995
  (c) => oe({
2996
2996
  ...e,
@@ -2998,30 +2998,30 @@ const Ar = Ze({
2998
2998
  pe(e),
2999
2999
  r.value(h.map(t, (u) => u?.toJSON())),
3000
3000
  r.class("bc-input"),
3001
- n != null ? V.blur(ee(n)) : H,
3002
- a != null ? V.change(
3001
+ n != null ? A.blur(ee(n)) : H,
3002
+ a != null ? A.change(
3003
3003
  ee((u) => {
3004
3004
  if (u === "") return a(null);
3005
- const o = c.PlainDateTime.from(u), f = h.get(e.placeholder) ?? Intl.DateTimeFormat().resolvedOptions().timeZone;
3006
- return a(c.ZonedDateTime.from({ ...o, timeZone: f }));
3005
+ const l = c.PlainDateTime.from(u), f = h.get(e.placeholder) ?? Intl.DateTimeFormat().resolvedOptions().timeZone;
3006
+ return a(c.ZonedDateTime.from({ ...l, timeZone: f }));
3007
3007
  })
3008
3008
  ) : H
3009
3009
  ),
3010
3010
  after: s != null ? N(i, s) : i
3011
3011
  })
3012
3012
  );
3013
- }, Hr = Ze({
3013
+ }, Yr = Ze({
3014
3014
  inputType: "month",
3015
3015
  valueToString: (e) => e.toString(),
3016
3016
  parseValue: (e, t) => e.PlainYearMonth.from(t)
3017
- }), Wr = Je({
3017
+ }), Gr = Je({
3018
3018
  inputType: "month",
3019
3019
  valueToString: (e) => e.toString(),
3020
3020
  parseValue: (e, t) => e.PlainYearMonth.from(t)
3021
- }), zr = (e) => {
3021
+ }), Zr = (e) => {
3022
3022
  const { value: t, onChange: n } = e;
3023
3023
  return he(
3024
- (a) => Ve({
3024
+ (a) => Ae({
3025
3025
  ...e,
3026
3026
  // Map Temporal value to MM-DD string
3027
3027
  value: h.map(t, (s) => s.toString()),
@@ -3031,33 +3031,33 @@ const Ar = Ze({
3031
3031
  placeholder: "MM-DD"
3032
3032
  })
3033
3033
  );
3034
- }, Yr = (e) => {
3035
- const { value: t, onChange: n, after: a, disabled: s } = e, l = Le(t, s, n);
3034
+ }, Jr = (e) => {
3035
+ const { value: t, onChange: n, after: a, disabled: s } = e, o = Le(t, s, n);
3036
3036
  return he(
3037
- (i) => Ve({
3037
+ (i) => Ae({
3038
3038
  ...e,
3039
3039
  value: h.map(t, (c) => c?.toString() ?? ""),
3040
3040
  onChange: n != null ? (c) => n(c === "" ? null : i.PlainMonthDay.from(`--${c}`)) : void 0,
3041
3041
  onInput: void 0,
3042
3042
  mask: "99-99",
3043
3043
  placeholder: "MM-DD",
3044
- after: a != null ? N(l, a) : l
3044
+ after: a != null ? N(o, a) : o
3045
3045
  })
3046
3046
  );
3047
- }, Gr = (e) => {
3047
+ }, qr = (e) => {
3048
3048
  const { value: t, onChange: n } = e;
3049
3049
  return he(
3050
- (a) => Ve({
3050
+ (a) => Ae({
3051
3051
  ...e,
3052
3052
  value: h.map(t, (s) => s.toString()),
3053
3053
  onChange: n ? (s) => n(a.Duration.from(s)) : void 0,
3054
3054
  onInput: void 0,
3055
- ...Vn(a.Duration.from),
3055
+ ...An(a.Duration.from),
3056
3056
  placeholder: "P0DT0H0M0S"
3057
3057
  })
3058
3058
  );
3059
3059
  };
3060
- function Zr(e, t, n) {
3060
+ function Kr(e, t, n) {
3061
3061
  return Ye(
3062
3062
  e.signal,
3063
3063
  () => {
@@ -3070,20 +3070,20 @@ function Zr(e, t, n) {
3070
3070
  n
3071
3071
  );
3072
3072
  }
3073
- const Jr = {
3073
+ const Qr = {
3074
3074
  filling: { type: "filling" },
3075
3075
  submitting: { type: "submitting" },
3076
3076
  error: (e) => ({ type: "error", error: e }),
3077
3077
  success: { type: "success" }
3078
3078
  };
3079
3079
  class ba extends Cn {
3080
- constructor(t, n, a, s, l) {
3081
- super(t, n, a, s, l);
3080
+ constructor(t, n, a, s, o) {
3081
+ super(t, n, a, s, o);
3082
3082
  }
3083
3083
  /**
3084
3084
  * Validates that the current value is a valid color
3085
3085
  */
3086
- isValidColor = this.signal.map(An);
3086
+ isValidColor = this.signal.map(Vn);
3087
3087
  /**
3088
3088
  * Validates that the current value is a valid hex color
3089
3089
  */
@@ -3126,8 +3126,8 @@ class ba extends Cn {
3126
3126
  const s = (i) => {
3127
3127
  const c = Math.round(Math.max(0, Math.min(255, i))).toString(16);
3128
3128
  return c.length === 1 ? "0" + c : c;
3129
- }, l = `#${s(t)}${s(n)}${s(a)}`;
3130
- this.change(l);
3129
+ }, o = `#${s(t)}${s(n)}${s(a)}`;
3130
+ this.change(o);
3131
3131
  };
3132
3132
  /**
3133
3133
  * Gets RGB values from the current color
@@ -3154,8 +3154,8 @@ class ba extends Cn {
3154
3154
  case "hex":
3155
3155
  return Pe(s) ?? s;
3156
3156
  case "rgb":
3157
- const l = this.getRgb();
3158
- return l ? `rgb(${l.r}, ${l.g}, ${l.b})` : s;
3157
+ const o = this.getRgb();
3158
+ return o ? `rgb(${o.r}, ${o.g}, ${o.b})` : s;
3159
3159
  case "hsl":
3160
3160
  return s;
3161
3161
  default:
@@ -3165,7 +3165,7 @@ class ba extends Cn {
3165
3165
  return this.transform(n, a, [`format-${t}`]);
3166
3166
  };
3167
3167
  }
3168
- function Kr(e) {
3168
+ function Xr(e) {
3169
3169
  return new ba(
3170
3170
  e.path,
3171
3171
  e.change,
@@ -3174,7 +3174,7 @@ function Kr(e) {
3174
3174
  { disabled: e.disabled }
3175
3175
  );
3176
3176
  }
3177
- function qr(e) {
3177
+ function es(e) {
3178
3178
  return {
3179
3179
  id: e.name,
3180
3180
  disabled: e.disabled,
@@ -3184,14 +3184,14 @@ function qr(e) {
3184
3184
  onInput: e.setColor
3185
3185
  };
3186
3186
  }
3187
- function Qr({
3187
+ function ts({
3188
3188
  locales: e,
3189
3189
  onChange: t,
3190
3190
  updateLocale: n = !0
3191
3191
  }) {
3192
3192
  return ne(
3193
3193
  le,
3194
- (a) => ne(it, ({ locale: s, setLocale: l }) => ut({
3194
+ (a) => ne(it, ({ locale: s, setLocale: o }) => ut({
3195
3195
  layout: "horizontal",
3196
3196
  content: Yt(
3197
3197
  r.class("bc-group--align-center bc-group--gap-2"),
@@ -3211,7 +3211,7 @@ function Qr({
3211
3211
  ),
3212
3212
  value: s,
3213
3213
  onChange: (i) => {
3214
- n && l(i), t?.(i);
3214
+ n && o(i), t?.(i);
3215
3215
  }
3216
3216
  })
3217
3217
  )
@@ -3223,8 +3223,8 @@ const ga = () => ne(
3223
3223
  ({ direction: e }) => lt("body", r.class(e.map((t) => `b-${t}`)))
3224
3224
  );
3225
3225
  function ma(e, t, n, a, s) {
3226
- const l = ["bc-notification"];
3227
- return e && l.push("bc-notification--bordered"), t && l.push("bc-notification--has-icon"), n && l.push("bc-notification--closable"), a && l.push("bc-notification--loading"), s && s.length > 0 && l.push(s), l.join(" ");
3226
+ const o = ["bc-notification"];
3227
+ return e && o.push("bc-notification--bordered"), t && o.push("bc-notification--has-icon"), n && o.push("bc-notification--closable"), a && o.push("bc-notification--loading"), s && s.length > 0 && o.push(s), o.join(" ");
3228
3228
  }
3229
3229
  function ha(e, t) {
3230
3230
  return [
@@ -3238,11 +3238,11 @@ function va({
3238
3238
  withBorder: n = !1,
3239
3239
  color: a = "primary",
3240
3240
  radius: s = "md",
3241
- title: l,
3241
+ title: o,
3242
3242
  icon: i,
3243
3243
  onClose: c,
3244
3244
  class: u
3245
- } = {}, ...o) {
3245
+ } = {}, ...l) {
3246
3246
  const f = h.map(i, (g) => g != null);
3247
3247
  return d.section(
3248
3248
  r.class(
@@ -3274,7 +3274,7 @@ function va({
3274
3274
  ),
3275
3275
  M.live("polite"),
3276
3276
  M.busy(e),
3277
- q(
3277
+ K(
3278
3278
  e,
3279
3279
  () => d.div(
3280
3280
  r.class("bc-notification__visual bc-notification__loader"),
@@ -3285,7 +3285,7 @@ function va({
3285
3285
  accessibility: "decorative"
3286
3286
  })
3287
3287
  ),
3288
- () => q(
3288
+ () => K(
3289
3289
  f,
3290
3290
  () => d.div(
3291
3291
  r.class("bc-notification__visual bc-notification__icon"),
@@ -3303,10 +3303,10 @@ function va({
3303
3303
  ),
3304
3304
  d.div(
3305
3305
  r.class("bc-notification__body"),
3306
- l != null ? d.div(r.class("bc-notification__title"), l) : null,
3307
- d.div(r.class("bc-notification__content"), ...o)
3306
+ o != null ? d.div(r.class("bc-notification__title"), o) : null,
3307
+ d.div(r.class("bc-notification__content"), ...l)
3308
3308
  ),
3309
- q(
3309
+ K(
3310
3310
  t,
3311
3311
  () => d.div(
3312
3312
  r.class("bc-notification__meta"),
@@ -3349,11 +3349,11 @@ const wa = new ya(), un = {
3349
3349
  const t = G(0), n = [];
3350
3350
  function a(u) {
3351
3351
  return n.push(u), () => {
3352
- const o = n.lastIndexOf(u);
3353
- o >= 0 && n.splice(o, 1);
3352
+ const l = n.lastIndexOf(u);
3353
+ l >= 0 && n.splice(l, 1);
3354
3354
  };
3355
3355
  }
3356
- const s = [], l = ({ dismissAfter: u, onClose: o, animation: f = { fade: !0 }, ...g }, ...k) => {
3356
+ const s = [], o = ({ dismissAfter: u, onClose: l, animation: f = { fade: !0 }, ...g }, ...k) => {
3357
3357
  t.update((v) => v + 1);
3358
3358
  const m = u != null ? typeof u == "number" ? Bn(u * 1e3) : u : void 0, w = {
3359
3359
  animation: f,
@@ -3368,18 +3368,18 @@ const wa = new ya(), un = {
3368
3368
  title: g.title ?? H,
3369
3369
  icon: h.toSignal(g.icon),
3370
3370
  children: k,
3371
- listenRequestClose: (v) => (s.push(v), o?.(), () => {
3371
+ listenRequestClose: (v) => (s.push(v), l?.(), () => {
3372
3372
  }),
3373
3373
  delayedClose: m
3374
3374
  };
3375
3375
  n.forEach((v) => v(w));
3376
3376
  }, i = () => {
3377
3377
  s.forEach((u) => u()), s.length = 0;
3378
- }, c = wa.attach({ show: l, clear: i });
3378
+ }, c = wa.attach({ show: o, clear: i });
3379
3379
  return {
3380
3380
  value: {
3381
3381
  activeNotifications: t,
3382
- show: l,
3382
+ show: o,
3383
3383
  clear: i,
3384
3384
  position: e,
3385
3385
  listenOnShow: a
@@ -3397,7 +3397,7 @@ function xa() {
3397
3397
  mn(
3398
3398
  (n) => re(
3399
3399
  e((a) => {
3400
- const s = [], l = d.div(
3400
+ const s = [], o = d.div(
3401
3401
  In(
3402
3402
  {
3403
3403
  animation: a.animation,
@@ -3421,26 +3421,26 @@ function xa() {
3421
3421
  ))
3422
3422
  )
3423
3423
  );
3424
- s.push(hn(l, n));
3424
+ s.push(hn(o, n));
3425
3425
  })
3426
3426
  )
3427
3427
  )
3428
3428
  ));
3429
3429
  }
3430
- function Xr({
3430
+ function ns({
3431
3431
  includeAuthI18n: e = !1,
3432
3432
  enableAppearance: t = !0,
3433
3433
  defaultAppearance: n = "system",
3434
3434
  appearancePreferenceKey: a = "bui-appearance",
3435
3435
  includeNotifications: s = !0,
3436
- notificationPosition: l = "bottom-end"
3436
+ notificationPosition: o = "bottom-end"
3437
3437
  }, ...i) {
3438
3438
  return vn(({ set: c, use: u }) => {
3439
3439
  c(Be, {}), c(it, {}), c(le, {}), c(zt, {
3440
3440
  defaultAppearance: t ? n : "light",
3441
3441
  appearancePreferenceKey: a
3442
- }), s && c(un, { position: l }), kn.attach(u(Be));
3443
- const o = N(
3442
+ }), s && c(un, { position: o }), kn.attach(u(Be));
3443
+ const l = N(
3444
3444
  t ? _n() : H,
3445
3445
  ga(),
3446
3446
  s ? xa() : H,
@@ -3448,21 +3448,21 @@ function Xr({
3448
3448
  );
3449
3449
  return e ? yn(
3450
3450
  () => import("./translations-BtsgtW4T.js"),
3451
- ({ AuthI18n: f }) => Ot(f, {}, () => o)
3452
- ) : o;
3451
+ ({ AuthI18n: f }) => Ot(f, {}, () => l)
3452
+ ) : l;
3453
3453
  });
3454
3454
  }
3455
- function es({
3455
+ function as({
3456
3456
  content: e,
3457
3457
  toolbar: t = !0,
3458
3458
  page: n,
3459
3459
  zoom: a,
3460
3460
  view: s,
3461
- pagemode: l,
3461
+ pagemode: o,
3462
3462
  scrollbar: i = !0,
3463
3463
  navpanes: c = !0,
3464
3464
  search: u,
3465
- nameddest: o,
3465
+ nameddest: l,
3466
3466
  viewrect: f,
3467
3467
  highlight: g,
3468
3468
  allowfullscreen: k = !1
@@ -3493,17 +3493,17 @@ function es({
3493
3493
  n,
3494
3494
  a,
3495
3495
  s,
3496
- l,
3496
+ o,
3497
3497
  i,
3498
3498
  c,
3499
3499
  u,
3500
- o,
3500
+ l,
3501
3501
  f,
3502
3502
  g
3503
- )((v, x, b, p, y, T, _, $, P, C, A, E) => {
3503
+ )((v, x, b, p, y, T, _, $, P, C, V, E) => {
3504
3504
  if (v == null) return null;
3505
3505
  const R = [];
3506
- x === !1 && R.push("toolbar=0"), b != null && b > 0 && R.push(`page=${b}`), p != null && p > 0 && R.push(`zoom=${p}`), y != null && R.push(`view=${y}`), T != null && R.push(`pagemode=${T}`), _ === !1 && R.push("scrollbar=0"), $ === !1 && R.push("navpanes=0"), P != null && R.push(`search=${encodeURIComponent(P)}`), C != null && R.push(`nameddest=${encodeURIComponent(C)}`), A != null && R.push(`viewrect=${encodeURIComponent(A)}`), E != null && R.push(`highlight=${encodeURIComponent(E)}`);
3506
+ x === !1 && R.push("toolbar=0"), b != null && b > 0 && R.push(`page=${b}`), p != null && p > 0 && R.push(`zoom=${p}`), y != null && R.push(`view=${y}`), T != null && R.push(`pagemode=${T}`), _ === !1 && R.push("scrollbar=0"), $ === !1 && R.push("navpanes=0"), P != null && R.push(`search=${encodeURIComponent(P)}`), C != null && R.push(`nameddest=${encodeURIComponent(C)}`), V != null && R.push(`viewrect=${encodeURIComponent(V)}`), E != null && R.push(`highlight=${encodeURIComponent(E)}`);
3507
3507
  const j = R.join("&");
3508
3508
  return j ? `${v}#${j}` : v;
3509
3509
  });
@@ -3535,17 +3535,17 @@ function es({
3535
3535
  )
3536
3536
  );
3537
3537
  }
3538
- function ts({
3538
+ function rs({
3539
3539
  content: e,
3540
3540
  page: t,
3541
3541
  zoom: n,
3542
3542
  pagemode: a,
3543
3543
  nameddest: s,
3544
- search: l,
3544
+ search: o,
3545
3545
  textLayerMode: i,
3546
3546
  sidebarViewOnLoad: c,
3547
3547
  scrollModeOnLoad: u,
3548
- spreadModeOnLoad: o,
3548
+ spreadModeOnLoad: l,
3549
3549
  enableScripting: f,
3550
3550
  enablePrinting: g,
3551
3551
  viewerUrl: k = null,
@@ -3574,19 +3574,19 @@ function ts({
3574
3574
  n,
3575
3575
  a,
3576
3576
  s,
3577
- l,
3577
+ o,
3578
3578
  i,
3579
3579
  c,
3580
3580
  u,
3581
- o,
3581
+ l,
3582
3582
  f,
3583
3583
  g
3584
- )((b, p, y, T, _, $, P, C, A, E, R, j, J) => {
3584
+ )((b, p, y, T, _, $, P, C, V, E, R, j, J) => {
3585
3585
  if (b == null) return null;
3586
3586
  const Y = p ?? "https://mozilla.github.io/pdf.js/web/viewer.html", F = new URLSearchParams();
3587
3587
  F.set("file", encodeURIComponent(b));
3588
3588
  const Q = [];
3589
- y != null && y > 0 && Q.push(`page=${y}`), T != null && (typeof T == "string" ? Q.push(`zoom=${T}`) : Q.push(`zoom=${T}`)), _ != null && Q.push(`pagemode=${_}`), $ != null && Q.push(`nameddest=${encodeURIComponent($)}`), P != null && Q.push(`search=${encodeURIComponent(P)}`), C != null && Q.push(`textLayer=${C}`), A != null && Q.push(`sidebar=${A}`), E != null && Q.push(`scrollMode=${E}`), R != null && Q.push(`spreadMode=${R}`), j != null && Q.push(`enableScripting=${j ? "1" : "0"}`), J != null && Q.push(`enablePrinting=${J ? "1" : "0"}`);
3589
+ y != null && y > 0 && Q.push(`page=${y}`), T != null && (typeof T == "string" ? Q.push(`zoom=${T}`) : Q.push(`zoom=${T}`)), _ != null && Q.push(`pagemode=${_}`), $ != null && Q.push(`nameddest=${encodeURIComponent($)}`), P != null && Q.push(`search=${encodeURIComponent(P)}`), C != null && Q.push(`textLayer=${C}`), V != null && Q.push(`sidebar=${V}`), E != null && Q.push(`scrollMode=${E}`), R != null && Q.push(`spreadMode=${R}`), j != null && Q.push(`enableScripting=${j ? "1" : "0"}`), J != null && Q.push(`enablePrinting=${J ? "1" : "0"}`);
3590
3590
  const ie = Q.length > 0 ? `#${Q.join("&")}` : "";
3591
3591
  return `${Y}?${F.toString()}${ie}`;
3592
3592
  });
@@ -3608,7 +3608,7 @@ function ts({
3608
3608
  )
3609
3609
  );
3610
3610
  }
3611
- const ns = ({ id: e, css: t }) => lt("head", d.style(r.id(e), r.innerHTML(t)));
3611
+ const ss = ({ id: e, css: t }) => lt("head", d.style(r.id(e), r.innerHTML(t)));
3612
3612
  function be(e, t) {
3613
3613
  return t == null ? null : d.meta(
3614
3614
  r.name(e),
@@ -3625,13 +3625,13 @@ function He(e, t) {
3625
3625
  return t == null ? null : Te(t, (n) => z(e, n));
3626
3626
  }
3627
3627
  function ka(e, t) {
3628
- return t == null ? null : q(
3628
+ return t == null ? null : K(
3629
3629
  h.map(t, (n) => Array.isArray(n)),
3630
3630
  () => He(e, t),
3631
3631
  () => z(e, t)
3632
3632
  );
3633
3633
  }
3634
- const as = (e) => {
3634
+ const ls = (e) => {
3635
3635
  const t = [];
3636
3636
  if (t.push(z("og:title", e.title)), t.push(z("og:type", e.type)), t.push(z("og:url", e.url)), t.push(z("og:image", e.image)), t.push(z("og:description", e.description)), t.push(z("og:site_name", e.siteName)), t.push(z("og:locale", e.locale)), e.localeAlternate != null) {
3637
3637
  const n = He("og:locale:alternate", e.localeAlternate);
@@ -3703,14 +3703,14 @@ function Sa({
3703
3703
  color: n = "primary",
3704
3704
  colorDisabled: a = "base",
3705
3705
  disabled: s = !1,
3706
- viewTransition: l = !0,
3706
+ viewTransition: o = !0,
3707
3707
  state: i,
3708
3708
  scroll: c,
3709
3709
  replace: u,
3710
- target: o,
3710
+ target: l,
3711
3711
  rel: f
3712
3712
  }, ...g) {
3713
- return q(
3713
+ return K(
3714
3714
  s,
3715
3715
  () => d.span(
3716
3716
  r.class(
@@ -3730,7 +3730,7 @@ function Sa({
3730
3730
  {
3731
3731
  href: e,
3732
3732
  ...pt({
3733
- viewTransition: l,
3733
+ viewTransition: o,
3734
3734
  state: i,
3735
3735
  scroll: c,
3736
3736
  replace: u
@@ -3745,7 +3745,7 @@ function Sa({
3745
3745
  r.style(
3746
3746
  I(n)((k) => Lt(k ?? "primary"))
3747
3747
  ),
3748
- o ? r.target(o) : null,
3748
+ l ? r.target(l) : null,
3749
3749
  f ? r.rel(f) : null,
3750
3750
  ...g
3751
3751
  )
@@ -3760,21 +3760,21 @@ const Ca = (e) => e ? e.startsWith("#") ? e : `#${e}` : "", Ia = (e) => {
3760
3760
  return e instanceof URLSearchParams ? new URLSearchParams(e) : new URLSearchParams(e);
3761
3761
  };
3762
3762
  function Ta(e, t, n) {
3763
- const a = Ia(e.search), s = a.toString(), l = s ? `?${s}` : "", i = Ca(e.hash);
3763
+ const a = Ia(e.search), s = a.toString(), o = s ? `?${s}` : "", i = Ca(e.hash);
3764
3764
  switch (n) {
3765
3765
  case "exact":
3766
- return e.pathname + l + i === t;
3766
+ return e.pathname + o + i === t;
3767
3767
  case "prefix":
3768
- return e.pathname.startsWith(t) || (e.pathname + l).startsWith(t);
3768
+ return e.pathname.startsWith(t) || (e.pathname + o).startsWith(t);
3769
3769
  case "params":
3770
3770
  try {
3771
3771
  const c = typeof document < "u" && document.baseURI ? document.baseURI : "http://localhost/", u = new URL(t, c);
3772
3772
  if (e.pathname !== u.pathname)
3773
3773
  return !1;
3774
- const o = Array.from(
3774
+ const l = Array.from(
3775
3775
  new URLSearchParams(u.search).entries()
3776
3776
  ).sort(), f = Array.from(a.entries()).sort();
3777
- return o.length !== f.length ? !1 : o.every(([g, k], m) => {
3777
+ return l.length !== f.length ? !1 : l.every(([g, k], m) => {
3778
3778
  const [w, v] = f[m];
3779
3779
  return g === w && k === v;
3780
3780
  });
@@ -3790,19 +3790,19 @@ function ft(e, t) {
3790
3790
  (n) => (a) => Ta(a, n, t)
3791
3791
  );
3792
3792
  }
3793
- function rs({
3793
+ function os({
3794
3794
  href: e,
3795
3795
  matchMode: t = "exact",
3796
3796
  disableWhenActive: n = !0,
3797
3797
  ...a
3798
3798
  }, ...s) {
3799
- return ne(Be, (l) => {
3800
- const i = l.matchSignal(
3799
+ return ne(Be, (o) => {
3800
+ const i = o.matchSignal(
3801
3801
  ft(e, t)
3802
3802
  ), c = I(
3803
3803
  i,
3804
3804
  n
3805
- )((u, o) => o ?? !0 ? u : !1);
3805
+ )((u, l) => l ?? !0 ? u : !1);
3806
3806
  return Sa(
3807
3807
  {
3808
3808
  ...a,
@@ -3813,17 +3813,17 @@ function rs({
3813
3813
  );
3814
3814
  });
3815
3815
  }
3816
- function ss({
3816
+ function is({
3817
3817
  href: e,
3818
3818
  viewTransition: t = !0,
3819
3819
  state: n,
3820
3820
  scroll: a,
3821
3821
  replace: s,
3822
- target: l,
3822
+ target: o,
3823
3823
  rel: i,
3824
3824
  matchMode: c,
3825
3825
  disableWhenActive: u,
3826
- variant: o = "filled",
3826
+ variant: l = "filled",
3827
3827
  size: f = "md",
3828
3828
  color: g = "base",
3829
3829
  roundedness: k = "sm",
@@ -3837,16 +3837,16 @@ function ss({
3837
3837
  m,
3838
3838
  b
3839
3839
  )((y, T) => y || T);
3840
- return Vt(
3840
+ return At(
3841
3841
  {
3842
3842
  href: e,
3843
3843
  viewTransition: t,
3844
3844
  state: n,
3845
3845
  scroll: a,
3846
3846
  replace: s,
3847
- target: l,
3847
+ target: o,
3848
3848
  rel: i,
3849
- variant: o,
3849
+ variant: l,
3850
3850
  size: f,
3851
3851
  color: g,
3852
3852
  roundedness: k,
@@ -3854,16 +3854,16 @@ function ss({
3854
3854
  },
3855
3855
  ...w
3856
3856
  );
3857
- }) : Vt(
3857
+ }) : At(
3858
3858
  {
3859
3859
  href: e,
3860
3860
  viewTransition: t,
3861
3861
  state: n,
3862
3862
  scroll: a,
3863
3863
  replace: s,
3864
- target: l,
3864
+ target: o,
3865
3865
  rel: i,
3866
- variant: o,
3866
+ variant: l,
3867
3867
  size: f,
3868
3868
  color: g,
3869
3869
  roundedness: k,
@@ -3872,23 +3872,23 @@ function ss({
3872
3872
  ...w
3873
3873
  );
3874
3874
  }
3875
- function Vt({
3875
+ function At({
3876
3876
  href: e,
3877
3877
  viewTransition: t,
3878
3878
  state: n,
3879
3879
  scroll: a,
3880
3880
  replace: s,
3881
- target: l,
3881
+ target: o,
3882
3882
  rel: i,
3883
3883
  variant: c = "default",
3884
3884
  size: u = "md",
3885
- color: o = "base",
3885
+ color: l = "base",
3886
3886
  roundedness: f = "sm",
3887
3887
  disabled: g = !1,
3888
3888
  fullWidth: k = !1,
3889
3889
  loading: m = !1
3890
3890
  }, ...w) {
3891
- return q(
3891
+ return K(
3892
3892
  g ?? !1,
3893
3893
  () => d.span(
3894
3894
  r.class(
@@ -3902,7 +3902,7 @@ function Vt({
3902
3902
  r.style(
3903
3903
  I(
3904
3904
  c,
3905
- o,
3905
+ l,
3906
3906
  g
3907
3907
  )(
3908
3908
  (v, x, b) => wt(
@@ -3935,7 +3935,7 @@ function Vt({
3935
3935
  r.style(
3936
3936
  I(
3937
3937
  c,
3938
- o,
3938
+ l,
3939
3939
  g
3940
3940
  )(
3941
3941
  (v, x, b) => wt(
@@ -3945,7 +3945,7 @@ function Vt({
3945
3945
  )
3946
3946
  )
3947
3947
  ),
3948
- l ? r.target(l) : null,
3948
+ o ? r.target(o) : null,
3949
3949
  i ? r.rel(i) : null,
3950
3950
  ...w
3951
3951
  )
@@ -3961,7 +3961,7 @@ const _a = {
3961
3961
  }
3962
3962
  })
3963
3963
  };
3964
- function ls({ backgroundMode: e = "light" }, ...t) {
3964
+ function cs({ backgroundMode: e = "light" }, ...t) {
3965
3965
  return Ot(
3966
3966
  _a,
3967
3967
  h.map(
@@ -3982,7 +3982,7 @@ function ls({ backgroundMode: e = "light" }, ...t) {
3982
3982
  )
3983
3983
  );
3984
3984
  }
3985
- function At({ rail: e, header: t }, ...n) {
3985
+ function Vt({ rail: e, header: t }, ...n) {
3986
3986
  return dt(
3987
3987
  t != null ? d.div(r.class("bc-sidebar-group__header"), t) : null,
3988
3988
  d.div(
@@ -4012,7 +4012,7 @@ function Pa(...e) {
4012
4012
  function Da(e, ...t) {
4013
4013
  return d.button(
4014
4014
  r.type("button"),
4015
- V.click(e.onClick),
4015
+ A.click(e.onClick),
4016
4016
  e.ariaExpanded != null ? M.expanded(
4017
4017
  h.map(
4018
4018
  e.ariaExpanded,
@@ -4039,7 +4039,7 @@ function La(e) {
4039
4039
  d.button(
4040
4040
  r.type("button"),
4041
4041
  r.class("bc-sidebar-link--action"),
4042
- V.click((n, a) => {
4042
+ A.click((n, a) => {
4043
4043
  e.action?.onClick?.(a);
4044
4044
  }),
4045
4045
  X({ icon: e.action?.icon })
@@ -4052,25 +4052,25 @@ function La(e) {
4052
4052
  includeHash: !1
4053
4053
  }
4054
4054
  );
4055
- return q(
4055
+ return K(
4056
4056
  a,
4057
4057
  () => Pa(...t),
4058
4058
  () => $a(e, ...t)
4059
4059
  );
4060
4060
  });
4061
4061
  }
4062
- function os({
4062
+ function us({
4063
4063
  rail: e = !0,
4064
4064
  icon: t,
4065
4065
  header: n,
4066
4066
  startOpen: a = !0
4067
4067
  }, ...s) {
4068
- const l = h.deriveProp(a), i = me("sidebar-group"), c = `${i}-content`;
4069
- return At(
4068
+ const o = h.deriveProp(a), i = me("sidebar-group"), c = `${i}-content`;
4069
+ return Vt(
4070
4070
  {},
4071
4071
  r.class("bc-sidebar-group-collapsible"),
4072
4072
  r.class(
4073
- l.map(
4073
+ o.map(
4074
4074
  (u) => u ? "bc-sidebar-group-collapsible--open" : "bc-sidebar-group-collapsible--closed"
4075
4075
  )
4076
4076
  ),
@@ -4079,9 +4079,9 @@ function os({
4079
4079
  r.id(i),
4080
4080
  La({
4081
4081
  icon: t,
4082
- onClick: () => l.update((u) => !u),
4082
+ onClick: () => o.update((u) => !u),
4083
4083
  // Add ARIA attributes for the toggle button
4084
- ariaExpanded: l,
4084
+ ariaExpanded: o,
4085
4085
  ariaControls: c,
4086
4086
  right: d.span(
4087
4087
  r.class("bc-sidebar-group-collapsible-indicator"),
@@ -4089,26 +4089,26 @@ function os({
4089
4089
  ),
4090
4090
  content: n
4091
4091
  }),
4092
- At({ rail: e }, r.id(c), aa({ open: l }, ...s))
4092
+ Vt({ rail: e }, r.id(c), aa({ open: o }, ...s))
4093
4093
  );
4094
4094
  }
4095
- function is() {
4095
+ function ds() {
4096
4096
  return d.hr(r.class("bc-sidebar-separator"));
4097
4097
  }
4098
- function Va(e, t, n, a) {
4098
+ function Aa(e, t, n, a) {
4099
4099
  const s = ["bc-tabs", `bc-tabs--${e}`, `bc-tabs--${t}`];
4100
4100
  return n && s.push("bc-tabs--disabled"), a != null && a !== "default" && s.push(`bc-tabs--variant-${a}`), s.join(" ");
4101
4101
  }
4102
- function Aa(e, t) {
4102
+ function Va(e, t) {
4103
4103
  if (e !== "filled") return "";
4104
4104
  const n = /* @__PURE__ */ new Map(), a = ce(t, "solid", "light"), s = ce(t, "solid", "dark");
4105
4105
  n.set("--tabs-filled-inactive-bg", a.backgroundColor), n.set("--tabs-filled-inactive-text", "var(--color-white)");
4106
- const l = se(t, "solid", "light");
4107
- n.set("--tabs-filled-inactive-bg-hover", l.backgroundColor);
4106
+ const o = se(t, "solid", "light");
4107
+ n.set("--tabs-filled-inactive-bg-hover", o.backgroundColor);
4108
4108
  const i = se(t, "solid", "dark");
4109
4109
  n.set("--tabs-filled-inactive-bg-dark-hover", i.backgroundColor), n.set("--tabs-filled-inactive-bg-dark", s.backgroundColor), n.set("--tabs-filled-inactive-text-dark", s.textColor), n.set("--tabs-filled-active-bg", "var(--color-white)"), n.set("--tabs-filled-active-text", "var(--color-base-800)"), n.set("--tabs-filled-active-bg-dark", "var(--color-base-900)");
4110
4110
  const c = t === "white" || t === "black" || t === "transparent" ? "var(--color-white)" : ct(t, 400);
4111
- return n.set("--tabs-filled-active-text-dark", c), Array.from(n.entries()).map(([u, o]) => `${u}: ${o}`).join("; ");
4111
+ return n.set("--tabs-filled-active-text-dark", c), Array.from(n.entries()).map(([u, l]) => `${u}: ${l}`).join("; ");
4112
4112
  }
4113
4113
  function Ba(e, t, n) {
4114
4114
  const a = ["bc-tab", `bc-tab--${e}`];
@@ -4118,26 +4118,26 @@ function Ue(e, t, n) {
4118
4118
  const a = t.length;
4119
4119
  let s = e + n;
4120
4120
  s >= a ? s = 0 : s < 0 && (s = a - 1);
4121
- let l = 0;
4122
- for (; l < a; ) {
4121
+ let o = 0;
4122
+ for (; o < a; ) {
4123
4123
  const i = t[s];
4124
4124
  if (!h.get(i.disabled ?? !1))
4125
4125
  return s;
4126
- s += n, s >= a ? s = 0 : s < 0 && (s = a - 1), l++;
4126
+ s += n, s >= a ? s = 0 : s < 0 && (s = a - 1), o++;
4127
4127
  }
4128
4128
  return e;
4129
4129
  }
4130
- function cs(e) {
4130
+ function ps(e) {
4131
4131
  const {
4132
4132
  items: t,
4133
4133
  value: n,
4134
4134
  onChange: a,
4135
4135
  size: s = "md",
4136
- variant: l = "default",
4136
+ variant: o = "default",
4137
4137
  color: i = "primary",
4138
4138
  disabled: c = !1,
4139
4139
  orientation: u = "horizontal",
4140
- showContent: o = !0,
4140
+ showContent: l = !0,
4141
4141
  ariaLabel: f
4142
4142
  } = e, g = me("tablist"), k = G(-1), m = I(n)((v) => t.find((x) => x.key === v)), w = (v) => {
4143
4143
  if (h.get(c)) return;
@@ -4177,9 +4177,9 @@ function cs(e) {
4177
4177
  s,
4178
4178
  u,
4179
4179
  c,
4180
- l
4180
+ o
4181
4181
  )(
4182
- (v, x, b, p) => Va(
4182
+ (v, x, b, p) => Aa(
4183
4183
  v ?? "md",
4184
4184
  x ?? "horizontal",
4185
4185
  b ?? !1,
@@ -4189,10 +4189,10 @@ function cs(e) {
4189
4189
  ),
4190
4190
  r.style(
4191
4191
  I(
4192
- l,
4192
+ o,
4193
4193
  i
4194
4194
  )(
4195
- (v, x) => Aa(v ?? "default", x ?? "primary")
4195
+ (v, x) => Va(v ?? "default", x ?? "primary")
4196
4196
  )
4197
4197
  ),
4198
4198
  // Tab list
@@ -4204,7 +4204,7 @@ function cs(e) {
4204
4204
  u ?? "horizontal"
4205
4205
  ),
4206
4206
  f ? M.label(f) : N(),
4207
- V.keydown(w),
4207
+ A.keydown(w),
4208
4208
  ...t.map((v, x) => {
4209
4209
  const b = I(n)((_) => _ === v.key), p = I(
4210
4210
  c,
@@ -4239,10 +4239,10 @@ function cs(e) {
4239
4239
  r.disabled(p),
4240
4240
  st["tab-index"](String(x)),
4241
4241
  v.ariaLabel ? M.label(v.ariaLabel) : N(),
4242
- V.click((_) => {
4242
+ A.click((_) => {
4243
4243
  _.preventDefault(), h.get(v.disabled ?? !1) || h.get(c) || (a?.(v.key), k.set(x));
4244
4244
  }),
4245
- V.focus(() => {
4245
+ A.focus(() => {
4246
4246
  k.set(x);
4247
4247
  }),
4248
4248
  v.label
@@ -4250,8 +4250,8 @@ function cs(e) {
4250
4250
  })
4251
4251
  ),
4252
4252
  // Panel
4253
- q(
4254
- o ?? !0,
4253
+ K(
4254
+ l ?? !0,
4255
4255
  () => Ye(m, (v) => {
4256
4256
  const x = v.$.key, b = x.map((y) => `${g}-tab-${y}`), p = x.map((y) => `${g}-panel-${y}`);
4257
4257
  return d.div(
@@ -4269,14 +4269,14 @@ function cs(e) {
4269
4269
  )
4270
4270
  );
4271
4271
  }
4272
- function us(e) {
4272
+ function fs(e) {
4273
4273
  return Wt((t, n) => {
4274
4274
  let a = n;
4275
4275
  const s = () => a();
4276
4276
  return e((c) => {
4277
4277
  const {
4278
4278
  size: u = "md",
4279
- side: o = "right",
4279
+ side: l = "right",
4280
4280
  dismissable: f = !0,
4281
4281
  showCloseButton: g = !0,
4282
4282
  onClose: k,
@@ -4304,12 +4304,12 @@ function us(e) {
4304
4304
  }), a = () => {
4305
4305
  $.close();
4306
4306
  }, ze(() => $.open());
4307
- const C = me("drawer"), A = v != null ? `${C}-header` : void 0, E = `${C}-body`;
4307
+ const C = me("drawer"), V = v != null ? `${C}-header` : void 0, E = `${C}-body`;
4308
4308
  return d.div(
4309
4309
  r.class(
4310
4310
  I(
4311
4311
  u,
4312
- o,
4312
+ l,
4313
4313
  $.status
4314
4314
  )(
4315
4315
  (R, j, J) => `bc-drawer bc-drawer--size-${R} bc-drawer--container-${w} bc-drawer--side-${j} bc-drawer--status-${J}`
@@ -4318,7 +4318,7 @@ function us(e) {
4318
4318
  // Essential ARIA attributes for drawer dialog
4319
4319
  r.role("dialog"),
4320
4320
  M.modal(!0),
4321
- ...A ? [M.labelledby(A)] : [],
4321
+ ...V ? [M.labelledby(V)] : [],
4322
4322
  M.describedby(E),
4323
4323
  r.tabindex(-1),
4324
4324
  // Make drawer focusable for initial focus
@@ -4334,14 +4334,14 @@ function us(e) {
4334
4334
  `#${C} [aria-label="Close drawer"]`
4335
4335
  ) || null
4336
4336
  }),
4337
- V.mousedown((R) => R.stopPropagation()),
4337
+ A.mousedown((R) => R.stopPropagation()),
4338
4338
  // Prevent overlay click-outside when clicking drawer content
4339
4339
  // Drawer content container
4340
4340
  Nt(y, (R) => _t(R ? {
4341
4341
  header: d.div(
4342
4342
  r.class("bc-drawer__header"),
4343
- d.div(r.id(A), v),
4344
- q(
4343
+ d.div(r.id(V), v),
4344
+ K(
4345
4345
  g,
4346
4346
  () => ne(
4347
4347
  le,
@@ -4398,13 +4398,13 @@ function Ma(e) {
4398
4398
  gt.path(mt.d(e.map((n) => t[n])))
4399
4399
  );
4400
4400
  }
4401
- function ds(e) {
4401
+ function bs(e) {
4402
4402
  const {
4403
4403
  content: t,
4404
4404
  placement: n = "top",
4405
4405
  showDelay: a = 250,
4406
4406
  hideDelay: s = 500,
4407
- mainAxisOffset: l = 8,
4407
+ mainAxisOffset: o = 8,
4408
4408
  crossAxisOffset: i = 0,
4409
4409
  showOn: c = "hover-focus"
4410
4410
  } = e, u = me("tooltip");
@@ -4420,15 +4420,15 @@ function ds(e) {
4420
4420
  placement: n,
4421
4421
  showDelay: a,
4422
4422
  hideDelay: s,
4423
- mainAxisOffset: l,
4423
+ mainAxisOffset: o,
4424
4424
  crossAxisOffset: i,
4425
4425
  showOn: c,
4426
4426
  closable: !0,
4427
4427
  role: "tooltip",
4428
4428
  // Override the default dialog role for tooltips
4429
4429
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4430
- arrow: (o) => {
4431
- const f = o.map(
4430
+ arrow: (l) => {
4431
+ const f = l.map(
4432
4432
  ({
4433
4433
  placement: g
4434
4434
  }) => g.includes("top") ? "down" : g.includes("bottom") ? "up" : g.includes("left") ? "right" : g.includes("right") ? "left" : "up"
@@ -4437,7 +4437,7 @@ function ds(e) {
4437
4437
  r.class("bc-tooltip__arrow"),
4438
4438
  r.class(f.map((g) => `bc-tooltip__arrow-${g}`)),
4439
4439
  S.transform(
4440
- o.map(({ x: g, y: k }) => g == null && k == null ? "" : g != null ? `translate(${g}px, 0)` : `translate(0, ${k}px)`)
4440
+ l.map(({ x: g, y: k }) => g == null && k == null ? "" : g != null ? `translate(${g}px, 0)` : `translate(0, ${k}px)`)
4441
4441
  ),
4442
4442
  Ma(f)
4443
4443
  );
@@ -4445,7 +4445,7 @@ function ds(e) {
4445
4445
  })
4446
4446
  );
4447
4447
  }
4448
- function Ea(e, t, n, a, s, l) {
4448
+ function Ea(e, t, n, a, s, o) {
4449
4449
  const i = ce(e, "solid", "light"), c = ce(e, "solid", "dark");
4450
4450
  return [
4451
4451
  `--ribbon-bg: ${i.backgroundColor}`,
@@ -4456,19 +4456,19 @@ function Ea(e, t, n, a, s, l) {
4456
4456
  `--ribbon-offset: ${nt(n)}`,
4457
4457
  `--ribbon-width: ${nt(a)}`,
4458
4458
  `--ribbon-angle: ${s}deg`,
4459
- `--ribbon-corner: ${l}`
4459
+ `--ribbon-corner: ${o}`
4460
4460
  ].join("; ");
4461
4461
  }
4462
4462
  function nt(e) {
4463
4463
  return e == null ? null : typeof e == "number" ? `${e}px` : e;
4464
4464
  }
4465
- function ps({
4465
+ function gs({
4466
4466
  color: e = "primary",
4467
4467
  class: t,
4468
4468
  inset: n = 0,
4469
4469
  offset: a = 40,
4470
4470
  width: s = 100,
4471
- angle: l = 45,
4471
+ angle: o = 45,
4472
4472
  corner: i = "top-end"
4473
4473
  }, ...c) {
4474
4474
  return d.div(
@@ -4480,7 +4480,7 @@ function ps({
4480
4480
  n,
4481
4481
  a,
4482
4482
  s,
4483
- l,
4483
+ o,
4484
4484
  i
4485
4485
  )(Ea)
4486
4486
  ),
@@ -4489,19 +4489,19 @@ function ps({
4489
4489
  ...c
4490
4490
  );
4491
4491
  }
4492
- function fs(e, t) {
4492
+ function ms(e, t) {
4493
4493
  const {
4494
4494
  dismissable: n = !0,
4495
4495
  showCloseButton: a = !0,
4496
4496
  overlayEffect: s = "opaque",
4497
- container: l = "body",
4497
+ container: o = "body",
4498
4498
  padding: i = 32
4499
4499
  } = e;
4500
4500
  return Wt((c, u) => {
4501
- let o = () => {
4501
+ let l = () => {
4502
4502
  };
4503
4503
  return t((k) => {
4504
- o = u;
4504
+ l = u;
4505
4505
  const m = G(
4506
4506
  typeof n != "boolean" || n ? "capturing" : "non-capturing"
4507
4507
  );
@@ -4512,7 +4512,7 @@ function fs(e, t) {
4512
4512
  const v = d.div(
4513
4513
  r.class("bc-lightbox"),
4514
4514
  // Close button (top-end)
4515
- q(
4515
+ K(
4516
4516
  a,
4517
4517
  () => ne(
4518
4518
  le,
@@ -4522,7 +4522,7 @@ function fs(e, t) {
4522
4522
  size: "md",
4523
4523
  label: x.$.closeModal,
4524
4524
  onClick: () => {
4525
- o(), u();
4525
+ l(), u();
4526
4526
  }
4527
4527
  })
4528
4528
  )
@@ -4545,17 +4545,17 @@ function fs(e, t) {
4545
4545
  c({
4546
4546
  mode: m,
4547
4547
  effect: s ?? "opaque",
4548
- container: l,
4548
+ container: o,
4549
4549
  content: v,
4550
4550
  onClickOutside: () => {
4551
- w && (o(), u());
4551
+ w && (l(), u());
4552
4552
  },
4553
4553
  onEscape: () => {
4554
- w && (o(), u());
4554
+ w && (l(), u());
4555
4555
  }
4556
4556
  });
4557
4557
  }, () => {
4558
- o(), u();
4558
+ l(), u();
4559
4559
  });
4560
4560
  });
4561
4561
  }
@@ -4566,15 +4566,15 @@ function Oa(e, t) {
4566
4566
  function Na(e) {
4567
4567
  return `--announcement-bar-bg-color: ${ct(e, 600)}`;
4568
4568
  }
4569
- function bs({
4569
+ function hs({
4570
4570
  color: e = "primary",
4571
4571
  icon: t,
4572
4572
  closable: n = !1,
4573
4573
  onDismiss: a,
4574
4574
  class: s
4575
- }, ...l) {
4575
+ }, ...o) {
4576
4576
  const i = G(!0);
4577
- return q(i, () => {
4577
+ return K(i, () => {
4578
4578
  const c = h.map(
4579
4579
  n,
4580
4580
  (u) => !!u || a != null
@@ -4584,14 +4584,14 @@ function bs({
4584
4584
  I(
4585
4585
  c,
4586
4586
  s
4587
- )((u, o) => Oa(u, o))
4587
+ )((u, l) => Oa(u, l))
4588
4588
  ),
4589
4589
  r.style(
4590
4590
  h.map(e, (u) => Na(u))
4591
4591
  ),
4592
4592
  d.div(
4593
4593
  r.class("bc-announcement-bar__content"),
4594
- q(
4594
+ K(
4595
4595
  h.map(t, (u) => u != null),
4596
4596
  () => d.div(
4597
4597
  r.class("bc-announcement-bar__icon"),
@@ -4602,8 +4602,8 @@ function bs({
4602
4602
  })
4603
4603
  )
4604
4604
  ),
4605
- d.div(r.class("bc-announcement-bar__text"), ...l),
4606
- q(
4605
+ d.div(r.class("bc-announcement-bar__text"), ...o),
4606
+ K(
4607
4607
  c,
4608
4608
  () => d.div(
4609
4609
  r.class("bc-announcement-bar__close"),
@@ -4634,17 +4634,17 @@ function Ra() {
4634
4634
  n.src = "https://www.youtube.com/iframe_api", n.async = !0, document.head.appendChild(n);
4635
4635
  }), je);
4636
4636
  }
4637
- function gs(e) {
4637
+ function vs(e) {
4638
4638
  const {
4639
4639
  url: t,
4640
4640
  playing: n = !1,
4641
4641
  loop: a = !1,
4642
4642
  controls: s = !1,
4643
- volume: l = 1,
4643
+ volume: o = 1,
4644
4644
  muted: i = !1,
4645
4645
  playbackRate: c = 1,
4646
4646
  pip: u = !1,
4647
- playsinline: o = !0,
4647
+ playsinline: l = !0,
4648
4648
  width: f,
4649
4649
  height: g,
4650
4650
  progressInterval: k = 1e3,
@@ -4660,7 +4660,7 @@ function gs(e) {
4660
4660
  onError: $,
4661
4661
  onDuration: P,
4662
4662
  onSeek: C,
4663
- onProgress: A,
4663
+ onProgress: V,
4664
4664
  onPlaybackRateChange: E,
4665
4665
  onPlaybackQualityChange: R
4666
4666
  } = e;
@@ -4677,7 +4677,7 @@ function gs(e) {
4677
4677
  }
4678
4678
  const Y = G("file");
4679
4679
  let F = null, Q = null, ie = null;
4680
- function Ke() {
4680
+ function qe() {
4681
4681
  try {
4682
4682
  ie?.destroy();
4683
4683
  } catch {
@@ -4695,7 +4695,7 @@ function gs(e) {
4695
4695
  if (!D) return;
4696
4696
  const B = h.get(t);
4697
4697
  if (typeof B != "string" || B.length === 0) return;
4698
- Ke();
4698
+ qe();
4699
4699
  const U = w?.file?.forceHLS ?? !1;
4700
4700
  if (j(B) || U) {
4701
4701
  if (J(D)) {
@@ -4708,8 +4708,8 @@ function gs(e) {
4708
4708
  }
4709
4709
  if (typeof window > "u") return;
4710
4710
  try {
4711
- const Z = await import("./hls-DLd3ClAs.js"), Ae = Z;
4712
- let Ce = Ae.default ?? Ae.Hls ?? Z;
4711
+ const Z = await import("./hls-DLd3ClAs.js"), Ve = Z;
4712
+ let Ce = Ve.default ?? Ve.Hls ?? Z;
4713
4713
  for (let $e = 0; $e < 3 && (typeof Ce == "object" && Ce != null && "default" in Ce); $e++)
4714
4714
  Ce = Ce.default;
4715
4715
  if (typeof Ce == "function") {
@@ -4757,12 +4757,12 @@ function gs(e) {
4757
4757
  Q = St(() => {
4758
4758
  const B = F;
4759
4759
  if (!B) return;
4760
- const U = B.duration || 0, Z = B.currentTime || 0, Ae = B.buffered?.length ? B.buffered.end(B.buffered.length - 1) : 0;
4761
- A?.({
4760
+ const U = B.duration || 0, Z = B.currentTime || 0, Ve = B.buffered?.length ? B.buffered.end(B.buffered.length - 1) : 0;
4761
+ V?.({
4762
4762
  played: U > 0 ? Z / U : 0,
4763
4763
  playedSeconds: Z,
4764
- loaded: U > 0 ? Math.min(Ae, U) / U : 0,
4765
- loadedSeconds: Math.min(Ae, U)
4764
+ loaded: U > 0 ? Math.min(Ve, U) / U : 0,
4765
+ loadedSeconds: Math.min(Ve, U)
4766
4766
  });
4767
4767
  }, D);
4768
4768
  }
@@ -4777,7 +4777,7 @@ function gs(e) {
4777
4777
  F.playbackRate = h.get(c) ?? 1;
4778
4778
  } catch {
4779
4779
  }
4780
- F.muted = !!(h.get(i) ?? !1), F.loop = !!(h.get(a) ?? !1), F.controls = !!(h.get(s) ?? !1), F.playsInline != null && (!!(h.get(o) ?? !0) ? F.setAttribute("playsinline", "") : F.removeAttribute("playsinline")), h.get(n) && (F.play?.().catch(() => {
4780
+ F.muted = !!(h.get(i) ?? !1), F.loop = !!(h.get(a) ?? !1), F.controls = !!(h.get(s) ?? !1), F.playsInline != null && (!!(h.get(l) ?? !0) ? F.setAttribute("playsinline", "") : F.removeAttribute("playsinline")), h.get(n) && (F.play?.().catch(() => {
4781
4781
  }), x?.());
4782
4782
  try {
4783
4783
  const B = !!(h.get(u) ?? !1), U = document, Z = F;
@@ -4796,18 +4796,18 @@ function gs(e) {
4796
4796
  h.map(g, xe)
4797
4797
  ),
4798
4798
  // Events
4799
- V.play(() => b?.()),
4800
- V.playing(() => {
4799
+ A.play(() => b?.()),
4800
+ A.playing(() => {
4801
4801
  x?.(), T?.();
4802
4802
  }),
4803
- V.pause(() => p?.()),
4804
- V.waiting(() => y?.()),
4805
- V.canplay(() => {
4803
+ A.pause(() => p?.()),
4804
+ A.waiting(() => y?.()),
4805
+ A.canplay(() => {
4806
4806
  const D = F?.duration;
4807
4807
  D != null && Number.isFinite(D) && P?.(D);
4808
4808
  }),
4809
- V.ended(() => _?.()),
4810
- V.error((D) => {
4809
+ A.ended(() => _?.()),
4810
+ A.error((D) => {
4811
4811
  ie || $?.(D);
4812
4812
  })
4813
4813
  );
@@ -4826,7 +4826,7 @@ function gs(e) {
4826
4826
  playerVars: Ua(e),
4827
4827
  events: {
4828
4828
  onReady: () => {
4829
- v?.(), L(), h.get(n) && x?.(), qe();
4829
+ v?.(), L(), h.get(n) && x?.(), Ke();
4830
4830
  },
4831
4831
  onStateChange: (Z) => {
4832
4832
  switch (Z.data) {
@@ -4852,13 +4852,13 @@ function gs(e) {
4852
4852
  }
4853
4853
  });
4854
4854
  }
4855
- function qe() {
4855
+ function Ke() {
4856
4856
  ke?.();
4857
4857
  const D = h.get(k) ?? 1e3;
4858
4858
  ke = St(() => {
4859
4859
  if (!W) return;
4860
4860
  const B = W.getDuration?.() ?? 0, U = W.getCurrentTime?.() ?? 0, Z = W.getVideoLoadedFraction?.() ?? 0;
4861
- A?.({
4861
+ V?.({
4862
4862
  played: B > 0 ? U / B : 0,
4863
4863
  playedSeconds: U,
4864
4864
  loaded: Z,
@@ -4875,7 +4875,7 @@ function gs(e) {
4875
4875
  }
4876
4876
  try {
4877
4877
  const U = Math.round(
4878
- Math.min(Math.max(h.get(l) ?? 1, 0), 1) * 100
4878
+ Math.min(Math.max(h.get(o) ?? 1, 0), 1) * 100
4879
4879
  );
4880
4880
  W.setVolume?.(U);
4881
4881
  } catch {
@@ -4903,12 +4903,12 @@ function gs(e) {
4903
4903
  }) : F.pause?.() : Y.value === "youtube" && W && (h.get(n) ? W.playVideo?.() : W.pauseVideo?.());
4904
4904
  })
4905
4905
  ), ue.push(
4906
- h.on(l, () => {
4906
+ h.on(o, () => {
4907
4907
  if (Y.value === "file" && F)
4908
- F.volume = Math.min(Math.max(h.get(l) ?? 1, 0), 1);
4908
+ F.volume = Math.min(Math.max(h.get(o) ?? 1, 0), 1);
4909
4909
  else if (Y.value === "youtube" && W) {
4910
4910
  const D = Math.round(
4911
- Math.min(Math.max(h.get(l) ?? 1, 0), 1) * 100
4911
+ Math.min(Math.max(h.get(o) ?? 1, 0), 1) * 100
4912
4912
  );
4913
4913
  W.setVolume?.(D);
4914
4914
  }
@@ -4949,7 +4949,7 @@ function gs(e) {
4949
4949
  else Y.value === "youtube" && W && (W.seekTo?.(D, !0), C?.(D));
4950
4950
  })
4951
4951
  );
4952
- const K = d.div(
4952
+ const q = d.div(
4953
4953
  r.class("bc-base-video"),
4954
4954
  S.width(
4955
4955
  h.map(f, xe)
@@ -4957,13 +4957,13 @@ function gs(e) {
4957
4957
  S.height(
4958
4958
  h.map(g, xe)
4959
4959
  ),
4960
- q(
4960
+ K(
4961
4961
  h.map(Y, (D) => D === "youtube"),
4962
4962
  () => O,
4963
4963
  () => Fe
4964
4964
  )
4965
4965
  );
4966
- return N(re(...ue), K);
4966
+ return N(re(...ue), q);
4967
4967
  }
4968
4968
  function dn(e) {
4969
4969
  const t = /[?&]v=([^&#]+)/.exec(e);
@@ -5011,17 +5011,39 @@ async function Ya() {
5011
5011
  const e = await za();
5012
5012
  return at = e, e.GlobalWorkerOptions && (e.GlobalWorkerOptions.workerSrc = `${bt}build/pdf.worker.min.mjs`), e;
5013
5013
  }
5014
- function ms({
5014
+ function Ga(e, t) {
5015
+ if (e.byteLength !== t.byteLength) return !1;
5016
+ const n = e.byteLength, a = new DataView(e.buffer, e.byteOffset, n), s = new DataView(t.buffer, t.byteOffset, n), o = n >>> 2, i = n & 3;
5017
+ for (let c = 0; c < o; c++)
5018
+ if (a.getUint32(c * 4) !== s.getUint32(c * 4)) return !1;
5019
+ for (let c = n - i; c < n; c++)
5020
+ if (e[c] !== t[c]) return !1;
5021
+ return !0;
5022
+ }
5023
+ function Za(e, t) {
5024
+ if (e.byteLength !== t.byteLength) return !1;
5025
+ const n = e.byteLength, a = n >>> 2, s = new Uint32Array(e, 0, a), o = new Uint32Array(t, 0, a);
5026
+ for (let l = 0; l < a; l++)
5027
+ if (s[l] !== o[l]) return !1;
5028
+ const i = n & 3, c = new Uint8Array(e, a * 4, i), u = new Uint8Array(t, a * 4, i);
5029
+ for (let l = 0; l < i; l++)
5030
+ if (c[l] !== u[l]) return !1;
5031
+ return !0;
5032
+ }
5033
+ function Ja(e, t) {
5034
+ return typeof e == "string" && typeof t == "string" ? e === t : e instanceof Uint8Array && t instanceof Uint8Array ? Ga(e, t) : e instanceof ArrayBuffer && t instanceof ArrayBuffer ? Za(e, t) : !1;
5035
+ }
5036
+ function ys({
5015
5037
  source: e,
5016
5038
  page: t = 1,
5017
5039
  fit: n = "width",
5018
5040
  scale: a = 1,
5019
5041
  rotation: s = 0,
5020
- quality: l = 2,
5042
+ quality: o = 2,
5021
5043
  renderTextLayer: i = !0,
5022
5044
  renderAnnotationLayer: c = !1,
5023
5045
  onPageChange: u,
5024
- onLoadComplete: o
5046
+ onLoadComplete: l
5025
5047
  }, ...f) {
5026
5048
  const g = Ya();
5027
5049
  let k = h.get(e), m = null, w = h.get(t);
@@ -5037,11 +5059,11 @@ function ms({
5037
5059
  n,
5038
5060
  a,
5039
5061
  s,
5040
- l,
5062
+ o,
5041
5063
  i,
5042
5064
  c,
5043
5065
  x
5044
- )((b, p, y, T, _, $, P, C, A) => ({
5066
+ )((b, p, y, T, _, $, P, C, V) => ({
5045
5067
  source: b,
5046
5068
  page: p,
5047
5069
  fit: y,
@@ -5050,12 +5072,12 @@ function ms({
5050
5072
  quality: $,
5051
5073
  renderTextLayer: P,
5052
5074
  renderAnnotationLayer: C,
5053
- containerWidth: A.width,
5054
- containerHeight: A.height
5075
+ containerWidth: V.width,
5076
+ containerHeight: V.height
5055
5077
  })),
5056
5078
  load: async ({ request: b }) => {
5057
5079
  const p = await g;
5058
- (m == null || k !== b.source) && (m != null && (m.destroy(), m = null), k = b.source, m = await p.getDocument(b.source).promise, o?.({ numPages: m.numPages }));
5080
+ (m == null || !Ja(k, b.source)) && (m != null && (m.destroy(), m = null), k = b.source, m = await p.getDocument(b.source).promise, l?.({ numPages: m.numPages }));
5059
5081
  const y = b.page < 1 || b.page > m.numPages ? 1 : b.page;
5060
5082
  u != null && y !== w && (w = y, u(y));
5061
5083
  const T = await m.getPage(y);
@@ -5066,7 +5088,7 @@ function ms({
5066
5088
  const C = T.getViewport({
5067
5089
  scale: 1,
5068
5090
  rotation: b.rotation
5069
- }), A = C.width / C.height, E = b.containerWidth / b.containerHeight;
5091
+ }), V = C.width / C.height, E = b.containerWidth / b.containerHeight;
5070
5092
  switch (b.fit) {
5071
5093
  case "width":
5072
5094
  _ = b.containerWidth / C.width;
@@ -5081,7 +5103,7 @@ function ms({
5081
5103
  );
5082
5104
  break;
5083
5105
  case "cover":
5084
- A > E ? _ = b.containerHeight / C.height : _ = b.containerWidth / C.width;
5106
+ V > E ? _ = b.containerHeight / C.height : _ = b.containerWidth / C.width;
5085
5107
  break;
5086
5108
  }
5087
5109
  }
@@ -5099,19 +5121,19 @@ function ms({
5099
5121
  canvasHeight: Math.floor($.height),
5100
5122
  highResWidth: Math.floor(P.width),
5101
5123
  highResHeight: Math.floor(P.height),
5102
- render: async (C, A, E) => {
5124
+ render: async (C, V, E) => {
5103
5125
  if (C.width = P.width, C.height = P.height, C.style.width = `${$.width}px`, C.style.height = `${$.height}px`, !C.getContext("2d"))
5104
5126
  throw new Error("Failed to get canvas context");
5105
5127
  if (await T.render({
5106
5128
  canvas: C,
5107
5129
  viewport: P
5108
- }).promise, b.renderTextLayer && A != null) {
5109
- A.innerHTML = "";
5130
+ }).promise, b.renderTextLayer && V != null) {
5131
+ V.innerHTML = "";
5110
5132
  try {
5111
5133
  const J = await T.getTextContent(), Y = p.TextLayer;
5112
5134
  Y != null && await new Y({
5113
5135
  textContentSource: J,
5114
- container: A,
5136
+ container: V,
5115
5137
  viewport: $
5116
5138
  }).render();
5117
5139
  } catch (J) {
@@ -5194,7 +5216,7 @@ function ms({
5194
5216
  d.div(
5195
5217
  r.class("bc-pdf-page-viewer__content"),
5196
5218
  // Only set fixed dimensions when fit is 'none'
5197
- q(
5219
+ K(
5198
5220
  h.map(n, (p) => p === "none"),
5199
5221
  () => r.style(
5200
5222
  b.$.canvasWidth.map(
@@ -5232,361 +5254,361 @@ function ms({
5232
5254
  ));
5233
5255
  }
5234
5256
  export {
5235
- ur as ActionCard,
5257
+ fr as ActionCard,
5236
5258
  In as AnimatedToggle,
5237
5259
  rt as AnimatedToggleClass,
5238
- bs as AnnouncementBar,
5239
- fr as AppShell,
5260
+ hs as AnnouncementBar,
5261
+ mr as AppShell,
5240
5262
  Un as AppearanceSelector,
5241
- To as ArrayController,
5242
- sr as Badge,
5243
- pi as Base64Input,
5244
- fi as Base64sInput,
5263
+ Po as ArrayController,
5264
+ ir as Badge,
5265
+ gi as Base64Input,
5266
+ mi as Base64sInput,
5245
5267
  ca as BaseComboboxControl,
5246
- Sr as BaseComboboxTagsControl,
5268
+ Tr as BaseComboboxTagsControl,
5247
5269
  jt as BaseControl,
5248
5270
  oa as BaseDropdownControl,
5249
- bi as BaseListControl,
5250
- _o as BaseMappedControl,
5251
- gi as BaseNativeSelectControl,
5252
- xr as BaseSelectTagsControl,
5253
- gs as BaseVideoPlayer,
5254
- Xr as BeatUI,
5271
+ hi as BaseListControl,
5272
+ Do as BaseMappedControl,
5273
+ vi as BaseNativeSelectControl,
5274
+ Cr as BaseSelectTagsControl,
5275
+ vs as BaseVideoPlayer,
5276
+ ns as BeatUI,
5255
5277
  le as BeatUII18n,
5256
- Dr as BigintInput,
5257
- Xo as BooleanValidator,
5278
+ Vr as BigintInput,
5279
+ ni as BooleanValidator,
5258
5280
  vt as Button,
5259
- ss as ButtonLink,
5260
- mi as Card,
5261
- gr as Center,
5262
- br as CenterH,
5263
- $o as CheckboxInput,
5281
+ is as ButtonLink,
5282
+ yi as Card,
5283
+ vr as Center,
5284
+ hr as CenterH,
5285
+ Lo as CheckboxInput,
5264
5286
  ln as Chips,
5265
5287
  Ee as CloseButton,
5266
5288
  aa as Collapse,
5267
- os as CollapsibleSidebarGroup,
5289
+ us as CollapsibleSidebarGroup,
5268
5290
  ba as ColorController,
5269
- cr as ColorInput,
5270
- hi as ColorSwatchInput,
5271
- yr as ComboboxControl,
5291
+ pr as ColorInput,
5292
+ wi as ColorSwatchInput,
5293
+ kr as ComboboxControl,
5272
5294
  ia as ComboboxInput,
5273
- Cr as ComboboxTagsControl,
5295
+ _r as ComboboxTagsControl,
5274
5296
  cn as ComboboxTagsInput,
5275
5297
  pe as CommonInputAttributes,
5276
- ei as ConfirmModal,
5298
+ ai as ConfirmModal,
5277
5299
  Ht as Control,
5278
5300
  Cn as Controller,
5279
- Po as DangerLabel,
5280
- Ir as DateInput,
5281
- Tr as DateTimeInput,
5282
- us as Drawer,
5283
- Kt as DropdownBase,
5284
- vr as DropdownControl,
5301
+ Ao as DangerLabel,
5302
+ $r as DateInput,
5303
+ Pr as DateTimeInput,
5304
+ fs as Drawer,
5305
+ qt as DropdownBase,
5306
+ xr as DropdownControl,
5285
5307
  la as DropdownInput,
5286
- Gr as DurationInput,
5287
- vi as EditableText,
5288
- Do as EmailInput,
5289
- Lo as EmphasisLabel,
5290
- Zr as EnsureControl,
5308
+ qr as DurationInput,
5309
+ xi as EditableText,
5310
+ Vo as EmailInput,
5311
+ Bo as EmphasisLabel,
5312
+ Kr as EnsureControl,
5291
5313
  Pn as Expando,
5292
- _r as FileInput,
5314
+ Dr as FileInput,
5293
5315
  Dn as FilesInput,
5294
5316
  Ge as Flyout,
5295
5317
  Tn as FocusTrap,
5296
- Jr as FormStatus,
5318
+ Qr as FormStatus,
5297
5319
  Yt as Group,
5298
5320
  X as Icon,
5299
5321
  oe as InputContainer,
5300
5322
  We as InputIcon,
5301
5323
  ut as InputWrapper,
5302
- Fr as InstantInput,
5303
- xs as LOGICAL_PROPERTY_MAP,
5304
- Vo as Label,
5305
- $r as LazyNativeSelect,
5306
- fs as Lightbox,
5324
+ jr as InstantInput,
5325
+ Cs as LOGICAL_PROPERTY_MAP,
5326
+ Mo as Label,
5327
+ Lr as LazyNativeSelect,
5328
+ ms as Lightbox,
5307
5329
  Sa as Link,
5308
- mc as LinkPortal,
5309
- yi as ListControl,
5310
- wi as ListInput,
5330
+ yc as LinkPortal,
5331
+ ki as ListControl,
5332
+ Si as ListInput,
5311
5333
  it as Locale,
5312
- Qr as LocaleSelector,
5313
- Ao as MappedControl,
5314
- Ve as MaskInput,
5334
+ ts as LocaleSelector,
5335
+ Eo as MappedControl,
5336
+ Ae as MaskInput,
5315
5337
  Xt as Menu,
5316
- wr as MenuItem,
5338
+ Sr as MenuItem,
5317
5339
  en as MenuSeparator,
5318
- ti as Modal,
5319
- Bo as MutedLabel,
5320
- es as NativePdfPreview,
5340
+ ri as Modal,
5341
+ Oo as MutedLabel,
5342
+ as as NativePdfPreview,
5321
5343
  Gt as NativeSelect,
5322
- xi as NativeSelectControl,
5323
- rs as NavigationLink,
5324
- mr as NineSliceScrollView,
5325
- Mo as Notice,
5344
+ Ci as NativeSelectControl,
5345
+ os as NavigationLink,
5346
+ yr as NineSliceScrollView,
5347
+ No as Notice,
5326
5348
  va as Notification,
5327
5349
  un as NotificationProvider,
5328
5350
  wa as NotificationService,
5329
5351
  xa as NotificationViewport,
5330
- Lr as NullableBigintInput,
5331
- ki as NullableDateInput,
5332
- Si as NullableDateTimeInput,
5333
- Ci as NullableDurationInput,
5334
- Ii as NullableEmailInput,
5335
- Rr as NullableInstantInput,
5336
- Pr as NullableMaskInput,
5337
- Ti as NullableNumberInput,
5338
- _i as NullablePasswordInput,
5339
- Br as NullablePlainDateInput,
5340
- Nr as NullablePlainDateTimeInput,
5341
- Yr as NullablePlainMonthDayInput,
5342
- Er as NullablePlainTimeInput,
5343
- Wr as NullablePlainYearMonthInput,
5344
- $i as NullableRatingInput,
5345
- Pi as NullableSliderInput,
5346
- Di as NullableTextArea,
5347
- Li as NullableTextInput,
5348
- Vi as NullableUUIDInput,
5349
- Ai as NullableUrlInput,
5350
- jr as NullableZonedDateTimeInput,
5351
- Bi as NumberInput,
5352
- Eo as ObjectController,
5353
- ni as ObjectValidator,
5354
- as as OpenGraph,
5352
+ Br as NullableBigintInput,
5353
+ Ii as NullableDateInput,
5354
+ Ti as NullableDateTimeInput,
5355
+ _i as NullableDurationInput,
5356
+ $i as NullableEmailInput,
5357
+ Hr as NullableInstantInput,
5358
+ Ar as NullableMaskInput,
5359
+ Pi as NullableNumberInput,
5360
+ Di as NullablePasswordInput,
5361
+ Or as NullablePlainDateInput,
5362
+ Ur as NullablePlainDateTimeInput,
5363
+ Jr as NullablePlainMonthDayInput,
5364
+ Fr as NullablePlainTimeInput,
5365
+ Gr as NullablePlainYearMonthInput,
5366
+ Li as NullableRatingInput,
5367
+ Ai as NullableSliderInput,
5368
+ Vi as NullableTextArea,
5369
+ Bi as NullableTextInput,
5370
+ Mi as NullableUUIDInput,
5371
+ Ei as NullableUrlInput,
5372
+ zr as NullableZonedDateTimeInput,
5373
+ Oi as NumberInput,
5374
+ Fo as ObjectController,
5375
+ si as ObjectValidator,
5376
+ ls as OpenGraph,
5355
5377
  we as Option,
5356
5378
  Wt as Overlay,
5357
- ts as PDFJSPreview,
5358
- lr as PageDropZone,
5359
- Oo as PasswordInput,
5360
- ms as PdfPageViewer,
5361
- Ar as PlainDateInput,
5362
- Or as PlainDateTimeInput,
5363
- zr as PlainMonthDayInput,
5364
- Mr as PlainTimeInput,
5365
- Hr as PlainYearMonthInput,
5366
- Mi as RatingInput,
5367
- No as RequiredSymbol,
5368
- ps as Ribbon,
5379
+ rs as PDFJSPreview,
5380
+ cr as PageDropZone,
5381
+ Ro as PasswordInput,
5382
+ ys as PdfPageViewer,
5383
+ Er as PlainDateInput,
5384
+ Rr as PlainDateTimeInput,
5385
+ Zr as PlainMonthDayInput,
5386
+ Nr as PlainTimeInput,
5387
+ Yr as PlainYearMonthInput,
5388
+ Ni as RatingInput,
5389
+ Uo as RequiredSymbol,
5390
+ gs as Ribbon,
5369
5391
  _t as ScrollablePanel,
5370
5392
  $n as SegmentedInput,
5371
- kr as SelectTagsControl,
5393
+ Ir as SelectTagsControl,
5372
5394
  on as SelectTagsInput,
5373
- ls as Sidebar,
5395
+ cs as Sidebar,
5374
5396
  Pa as SidebarActiveLink,
5375
5397
  Da as SidebarClickLink,
5376
5398
  _a as SidebarContext,
5377
- At as SidebarGroup,
5399
+ Vt as SidebarGroup,
5378
5400
  La as SidebarLink,
5379
- is as SidebarSeparator,
5401
+ ds as SidebarSeparator,
5380
5402
  $a as SidebarUrlLink,
5381
- hr as Sink,
5382
- Ei as SliderInput,
5403
+ wr as Sink,
5404
+ Fi as SliderInput,
5383
5405
  dt as Stack,
5384
- ir as StandaloneAppearanceSelector,
5385
- ai as StringValidator,
5386
- ns as StylePortal,
5387
- Oi as Switch,
5388
- or as Table,
5389
- cs as Tabs,
5406
+ dr as StandaloneAppearanceSelector,
5407
+ li as StringValidator,
5408
+ ss as StylePortal,
5409
+ Ri as Switch,
5410
+ ur as Table,
5411
+ ps as Tabs,
5390
5412
  Zt as Tag,
5391
- Vr as TagsInput,
5392
- Ni as TextArea,
5393
- ks as TextInput,
5413
+ Mr as TagsInput,
5414
+ Ui as TextArea,
5415
+ Is as TextInput,
5394
5416
  zt as Theme,
5395
5417
  _n as ThemeAppearance,
5396
- vc as Toolbar,
5397
- yc as ToolbarButton,
5398
- wc as ToolbarDivider,
5399
- xc as ToolbarGroup,
5400
- kc as ToolbarSpacer,
5401
- ds as Tooltip,
5402
- Fi as UUIDInput,
5403
- Ri as UnionController,
5404
- Ui as UnstyledDropZone,
5405
- ji as UrlInput,
5406
- ys as Use,
5407
- Kn as WithBeatUIBreakpoint,
5408
- pr as WithBeatUIElementBreakpoint,
5418
+ xc as Toolbar,
5419
+ kc as ToolbarButton,
5420
+ Sc as ToolbarDivider,
5421
+ Cc as ToolbarGroup,
5422
+ Ic as ToolbarSpacer,
5423
+ bs as Tooltip,
5424
+ ji as UUIDInput,
5425
+ Hi as UnionController,
5426
+ Wi as UnstyledDropZone,
5427
+ zi as UrlInput,
5428
+ ks as Use,
5429
+ qn as WithBeatUIBreakpoint,
5430
+ gr as WithBeatUIElementBreakpoint,
5409
5431
  Jt as WithBreakpoint,
5410
5432
  he as WithTemporal,
5411
- Ur as ZonedDateTimeInput,
5412
- Fs as backgroundConfig,
5413
- nl as baseSpacing,
5414
- al as beatuiPreset,
5415
- Rs as bgColors,
5416
- ri as boolean,
5417
- Us as borderColors,
5418
- rl as breakpoints,
5419
- sl as changeFontSize,
5420
- qr as colorInputOptionsFromController,
5421
- js as colorShades,
5422
- Hs as colors,
5433
+ Wr as ZonedDateTimeInput,
5434
+ js as backgroundConfig,
5435
+ sl as baseSpacing,
5436
+ ll as beatuiPreset,
5437
+ Hs as bgColors,
5438
+ oi as boolean,
5439
+ Ws as borderColors,
5440
+ ol as breakpoints,
5441
+ il as changeFontSize,
5442
+ es as colorInputOptionsFromController,
5443
+ zs as colorShades,
5444
+ Ys as colors,
5423
5445
  Zn as compareBreakpoint,
5424
- Fo as connectCommonAttributes,
5425
- Ro as connectNumberInput,
5426
- Uo as connectStringInput,
5427
- jo as convertStandardSchemaIssues,
5428
- Ho as convertStandardSchemaPathToPath,
5429
- ll as createBeatuiPreset,
5430
- Kr as createColorController,
5446
+ jo as connectCommonAttributes,
5447
+ Ho as connectNumberInput,
5448
+ Wo as connectStringInput,
5449
+ zo as convertStandardSchemaIssues,
5450
+ Yo as convertStandardSchemaPathToPath,
5451
+ cl as createBeatuiPreset,
5452
+ Xr as createColorController,
5431
5453
  ft as createLocationMatcher,
5432
- si as createStandardSchema,
5433
- Ss as defaultLocale,
5434
- Cs as defaultMessages,
5435
- ar as delaySignal,
5436
- Hi as emitExpando,
5437
- Wi as emitOptionExpando,
5454
+ ii as createStandardSchema,
5455
+ Ts as defaultLocale,
5456
+ _s as defaultMessages,
5457
+ lr as delaySignal,
5458
+ Yi as emitExpando,
5459
+ Gi as emitOptionExpando,
5438
5460
  xt as emptyToNull,
5439
- zi as ensureTemporal,
5440
- Yi as fileToBase64,
5441
- dr as findBreakpoint,
5442
- ol as fontFamily,
5443
- il as fontSize,
5444
- cl as fontWeight,
5445
- Gi as formatColor,
5446
- Is as formatFileSize,
5447
- ul as generateAllTokenVariables,
5461
+ Zi as ensureTemporal,
5462
+ Ji as fileToBase64,
5463
+ br as findBreakpoint,
5464
+ ul as fontFamily,
5465
+ dl as fontSize,
5466
+ pl as fontWeight,
5467
+ qi as formatColor,
5468
+ $s as formatFileSize,
5469
+ fl as generateAllTokenVariables,
5448
5470
  Mn as generateBadgeClasses,
5449
5471
  En as generateBadgeStyles,
5450
- dl as generateBreakpointVariables,
5472
+ bl as generateBreakpointVariables,
5451
5473
  yt as generateButtonClasses,
5452
5474
  wt as generateButtonStyles,
5453
- Ws as generateColorVariables,
5454
- zs as generateCoreColorVariables,
5455
- pl as generateCoreTokenVariables,
5456
- fl as generateFontFamilyOverrideVariables,
5457
- Ts as generateInputContainerInputClasses,
5475
+ Gs as generateColorVariables,
5476
+ Zs as generateCoreColorVariables,
5477
+ gl as generateCoreTokenVariables,
5478
+ ml as generateFontFamilyOverrideVariables,
5479
+ Ps as generateInputContainerInputClasses,
5458
5480
  Dt as generateLinkClasses,
5459
5481
  Lt as generateLinkStyles,
5460
- bl as generateMotionVariables,
5482
+ hl as generateMotionVariables,
5461
5483
  ma as generateNotificationClasses,
5462
5484
  ha as generateNotificationStyles,
5463
- gl as generateRadiusVariables,
5464
- Ys as generateSemanticColorVariables,
5465
- ml as generateSemanticFontVariables,
5466
- hl as generateSemanticMotionVariables,
5467
- vl as generateSemanticRadiusVariables,
5468
- yl as generateSemanticShadowVariables,
5469
- wl as generateSemanticSpacingVariables,
5470
- xl as generateSemanticTextShadowVariables,
5471
- kl as generateSemanticTokenVariables,
5472
- Sl as generateShadowVariables,
5473
- Cl as generateSpacingVariables,
5474
- Il as generateTextShadowVariables,
5475
- Tl as generateTypographyVariables,
5476
- _l as generateZIndexVariables,
5477
- $l as getBreakpointMediaQuery,
5478
- Pl as getBreakpointVar,
5479
- Dl as getBreakpointVarName,
5485
+ vl as generateRadiusVariables,
5486
+ Js as generateSemanticColorVariables,
5487
+ yl as generateSemanticFontVariables,
5488
+ wl as generateSemanticMotionVariables,
5489
+ xl as generateSemanticRadiusVariables,
5490
+ kl as generateSemanticShadowVariables,
5491
+ Sl as generateSemanticSpacingVariables,
5492
+ Cl as generateSemanticTextShadowVariables,
5493
+ Il as generateSemanticTokenVariables,
5494
+ Tl as generateShadowVariables,
5495
+ _l as generateSpacingVariables,
5496
+ $l as generateTextShadowVariables,
5497
+ Pl as generateTypographyVariables,
5498
+ Dl as generateZIndexVariables,
5499
+ Ll as getBreakpointMediaQuery,
5500
+ Al as getBreakpointVar,
5501
+ Vl as getBreakpointVarName,
5480
5502
  ct as getColorVar,
5481
- Gs as getColorVarName,
5482
- Zi as getContrastRatio,
5483
- _s as getDirectionClassName,
5484
- $s as getDirectionFromLocale,
5485
- Ll as getFontFamilyVar,
5486
- Vl as getFontFamilyVarName,
5487
- Al as getFontSizeVar,
5488
- Bl as getFontSizeVarName,
5489
- Ml as getFontWeightVar,
5490
- El as getFontWeightVarName,
5491
- Ps as getIconLocally,
5492
- Ol as getLetterSpacingVar,
5493
- Nl as getLetterSpacingVarName,
5494
- Fl as getLineHeightVar,
5495
- Rl as getLineHeightVarName,
5496
- Ul as getMotionDurationVar,
5497
- jl as getMotionDurationVarName,
5498
- Hl as getMotionEasingVar,
5499
- Wl as getMotionEasingVarName,
5500
- Ds as getOppositeDirection,
5501
- Ls as getPhysicalProperty,
5502
- zl as getRadiusMediaQuery,
5503
+ qs as getColorVarName,
5504
+ Ki as getContrastRatio,
5505
+ Ds as getDirectionClassName,
5506
+ Ls as getDirectionFromLocale,
5507
+ Bl as getFontFamilyVar,
5508
+ Ml as getFontFamilyVarName,
5509
+ El as getFontSizeVar,
5510
+ Ol as getFontSizeVarName,
5511
+ Nl as getFontWeightVar,
5512
+ Fl as getFontWeightVarName,
5513
+ As as getIconLocally,
5514
+ Rl as getLetterSpacingVar,
5515
+ Ul as getLetterSpacingVarName,
5516
+ jl as getLineHeightVar,
5517
+ Hl as getLineHeightVarName,
5518
+ Wl as getMotionDurationVar,
5519
+ zl as getMotionDurationVarName,
5520
+ Yl as getMotionEasingVar,
5521
+ Gl as getMotionEasingVarName,
5522
+ Vs as getOppositeDirection,
5523
+ Bs as getPhysicalProperty,
5524
+ Zl as getRadiusMediaQuery,
5503
5525
  Sn as getRadiusVar,
5504
- Yl as getRadiusVarName,
5505
- Gl as getSemanticFontVar,
5506
- Zl as getSemanticFontVarName,
5507
- Jl as getSemanticMotionVarName,
5508
- Kl as getSemanticRadiusVarName,
5509
- ql as getSemanticShadowVarName,
5510
- Ql as getSemanticSpacingVarName,
5511
- Xl as getSemanticTextShadowVarName,
5512
- eo as getShadowVar,
5513
- to as getShadowVarName,
5514
- no as getSpacingVar,
5515
- ao as getSpacingVarName,
5516
- ro as getTextShadowVar,
5517
- so as getTextShadowVarName,
5518
- lo as getTokenValue,
5519
- oo as getZIndexVar,
5520
- io as getZIndexVarName,
5521
- Ji as hexToRgb,
5522
- Ki as hslToRgb,
5523
- qi as hwbToRgb,
5524
- rr as increaseSize,
5525
- Zs as interactiveColors,
5526
- Vs as isIndexedDBAvailable,
5527
- As as isRTLLocale,
5526
+ Jl as getRadiusVarName,
5527
+ ql as getSemanticFontVar,
5528
+ Kl as getSemanticFontVarName,
5529
+ Ql as getSemanticMotionVarName,
5530
+ Xl as getSemanticRadiusVarName,
5531
+ eo as getSemanticShadowVarName,
5532
+ to as getSemanticSpacingVarName,
5533
+ no as getSemanticTextShadowVarName,
5534
+ ao as getShadowVar,
5535
+ ro as getShadowVarName,
5536
+ so as getSpacingVar,
5537
+ lo as getSpacingVarName,
5538
+ oo as getTextShadowVar,
5539
+ io as getTextShadowVarName,
5540
+ co as getTokenValue,
5541
+ uo as getZIndexVar,
5542
+ po as getZIndexVarName,
5543
+ Qi as hexToRgb,
5544
+ Xi as hslToRgb,
5545
+ ec as hwbToRgb,
5546
+ or as increaseSize,
5547
+ Ks as interactiveColors,
5548
+ Ms as isIndexedDBAvailable,
5549
+ Es as isRTLLocale,
5528
5550
  Ta as isUrlMatch,
5529
- An as isValidColor,
5551
+ Vn as isValidColor,
5530
5552
  kt as isValidHexColor,
5531
- Qi as isValidHslColor,
5532
- Xi as isValidRgbColor,
5533
- ec as isValidRgbaColor,
5534
- co as letterSpacing,
5535
- uo as lineHeight,
5536
- tc as linearToSrgb,
5537
- Bs as makeI18nProvider,
5538
- Wo as makeMapValidation,
5539
- Ms as makeMessages,
5553
+ tc as isValidHslColor,
5554
+ nc as isValidRgbColor,
5555
+ ac as isValidRgbaColor,
5556
+ fo as letterSpacing,
5557
+ bo as lineHeight,
5558
+ rc as linearToSrgb,
5559
+ Os as makeI18nProvider,
5560
+ Go as makeMapValidation,
5561
+ Ns as makeMessages,
5540
5562
  Rt as makeOnBlurHandler,
5541
5563
  Ut as makeOnChangeHandler,
5542
- po as motionDurations,
5543
- fo as motionEasings,
5544
- nc as mulberry32,
5545
- Js as normalizeColorName,
5564
+ go as motionDurations,
5565
+ mo as motionEasings,
5566
+ sc as mulberry32,
5567
+ Qs as normalizeColorName,
5546
5568
  Pe as normalizeHexColor,
5547
5569
  Ln as nullToEmpty,
5548
- li as object,
5549
- ac as oklchToRgb,
5550
- rc as parseAnyColor,
5551
- zo as parsePath,
5552
- Yo as pathToString,
5553
- bo as radius,
5554
- Es as resolveDirection,
5555
- sc as resolveEffectiveFormat,
5556
- Ks as resolveSemanticColorMap,
5557
- lc as rgbToHex,
5558
- oc as rgbToHsl,
5559
- ic as rgbToHwb,
5560
- cc as rgbToOklch,
5561
- qs as semanticColorNames,
5562
- Qs as semanticColors,
5563
- go as semanticFontNames,
5564
- mo as semanticMotionNames,
5565
- ho as semanticRadiusNames,
5566
- vo as semanticShadowNames,
5567
- yo as semanticSpacingNames,
5568
- wo as semanticTextShadowNames,
5570
+ ci as object,
5571
+ lc as oklchToRgb,
5572
+ oc as parseAnyColor,
5573
+ Zo as parsePath,
5574
+ Jo as pathToString,
5575
+ ho as radius,
5576
+ Fs as resolveDirection,
5577
+ ic as resolveEffectiveFormat,
5578
+ Xs as resolveSemanticColorMap,
5579
+ cc as rgbToHex,
5580
+ uc as rgbToHsl,
5581
+ dc as rgbToHwb,
5582
+ pc as rgbToOklch,
5583
+ el as semanticColorNames,
5584
+ tl as semanticColors,
5585
+ vo as semanticFontNames,
5586
+ yo as semanticMotionNames,
5587
+ wo as semanticRadiusNames,
5588
+ xo as semanticShadowNames,
5589
+ ko as semanticSpacingNames,
5590
+ So as semanticTextShadowNames,
5569
5591
  me as sessionId,
5570
- xo as shadows,
5571
- ko as spacing,
5572
- uc as srgbToLinear,
5573
- Go as standardSchemaResultToValidation,
5574
- Os as storeIconLocally,
5575
- oi as string,
5576
- Zo as taskToValidation,
5577
- Xs as textColors,
5578
- So as textShadows,
5579
- el as themeColorNames,
5580
- dc as toRgbaString,
5581
- pc as transformEmptyStringToUndefined,
5582
- fc as transformNullToUndefined,
5583
- bc as transformUndefinedToNull,
5592
+ Co as shadows,
5593
+ Io as spacing,
5594
+ fc as srgbToLinear,
5595
+ qo as standardSchemaResultToValidation,
5596
+ Rs as storeIconLocally,
5597
+ ui as string,
5598
+ Ko as taskToValidation,
5599
+ nl as textColors,
5600
+ To as textShadows,
5601
+ al as themeColorNames,
5602
+ bc as toRgbaString,
5603
+ gc as transformEmptyStringToUndefined,
5604
+ mc as transformNullToUndefined,
5605
+ hc as transformUndefinedToNull,
5584
5606
  Me as useAnimatedElementToggle,
5585
- ii as useAnimatedToggle,
5586
- Jo as useController,
5587
- ci as useFocusTrap,
5588
- Ko as useForm,
5589
- ui as useTimedToggle,
5590
- qo as wrapSegment,
5591
- Co as zIndex
5607
+ di as useAnimatedToggle,
5608
+ Qo as useController,
5609
+ pi as useFocusTrap,
5610
+ Xo as useForm,
5611
+ fi as useTimedToggle,
5612
+ ei as wrapSegment,
5613
+ _o as zIndex
5592
5614
  };