@tempots/beatui 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -4,9 +4,9 @@ var Me = (e) => {
4
4
  };
5
5
  var Cn = (e, t, n) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
6
6
  var _ = (e, t, n) => Cn(e, typeof t != "symbol" ? t + "" : t, n), Sn = (e, t, n) => t.has(e) || Me("Cannot " + n);
7
- var j = (e, t, n) => (Sn(e, t, "read from private field"), n ? n.call(e) : t.get(e)), he = (e, t, n) => t.has(e) ? Me("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n);
8
- import { html as d, attr as s, computedOf as w, on as b, aria as Q, style as f, Empty as y, Value as C, Ensure as Ee, WithElement as X, OnDispose as N, Fragment as D, input as te, emitValue as E, emitValueAsDate as _n, ForEach as Ae, OneOfType as En, emitValueAsNullableDate as An, emitValueAsNullableDateTime as Tn, emitValueAsNumber as $e, prop as R, When as le, Repeat as Bn, signal as Pe, makeProviderMark as In, localStorageProp as Vn, Use as Te, Portal as On, emitChecked as jn, OneOfValue as Dn, WithBrowserCtx as Hn, render as Ln, dataAttr as We, MapSignal as Fn, svg as Ne, svgAttr as Re } from "@tempots/dom";
9
- import { Use as zo } from "@tempots/dom";
7
+ var D = (e, t, n) => (Sn(e, t, "read from private field"), n ? n.call(e) : t.get(e)), he = (e, t, n) => t.has(e) ? Me("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n);
8
+ import { html as h, attr as s, computedOf as w, on as m, aria as Q, style as f, Empty as y, Value as C, Ensure as Ee, WithElement as X, OnDispose as N, Fragment as H, input as te, emitValue as E, emitValueAsDate as _n, ForEach as Ae, OneOfType as En, emitValueAsNullableDate as An, emitValueAsNullableDateTime as Tn, emitValueAsNumber as $e, prop as R, When as le, Repeat as Bn, signal as Pe, makeProviderMark as In, localStorageProp as Vn, Use as Te, Portal as On, emitChecked as Dn, OneOfValue as Hn, WithBrowserCtx as jn, render as Ln, dataAttr as We, MapSignal as Fn, svg as Ne, svgAttr as Re } from "@tempots/dom";
9
+ import { Use as Go } from "@tempots/dom";
10
10
  import { WhenInViewport as Mn, Resource as Xe, useAppearance as Pn, AutoSelect as Wn, ElementRect as fe, WindowSize as Nn, PopOver as Rn, Location as qn, Anchor as zn } from "@tempots/ui";
11
11
  function Un(e, t, n, r, o) {
12
12
  const l = [
@@ -44,7 +44,7 @@ function ue({
44
44
  onClick: a = () => {
45
45
  }
46
46
  }, ...u) {
47
- return d.button(
47
+ return h.button(
48
48
  s.type(e),
49
49
  s.disabled(t),
50
50
  s.class(
@@ -55,16 +55,16 @@ function ue({
55
55
  l,
56
56
  t
57
57
  )(
58
- (c, i, h, p, m) => Un(
58
+ (c, i, d, p, b) => Un(
59
59
  c ?? "filled",
60
60
  i ?? "md",
61
- h ?? "base",
61
+ d ?? "base",
62
62
  p ?? "sm",
63
- m
63
+ b
64
64
  )
65
65
  )
66
66
  ),
67
- b.click(a),
67
+ m.click(a),
68
68
  ...u
69
69
  );
70
70
  }
@@ -137,7 +137,7 @@ function Jn(e, t) {
137
137
  return t && n.push(`bu-fg--${t}`), n.join(" ");
138
138
  }
139
139
  function Z({ icon: e, size: t = "md", color: n, title: r }, ...o) {
140
- return d.span(
140
+ return h.span(
141
141
  s.class(
142
142
  w(
143
143
  t,
@@ -152,13 +152,13 @@ function Z({ icon: e, size: t = "md", color: n, title: r }, ...o) {
152
152
  load: ({ request: l }) => Qn(l),
153
153
  mapError: String
154
154
  })({
155
- success: (l) => d.span(
155
+ success: (l) => h.span(
156
156
  f.width("100%"),
157
157
  f.height("100%"),
158
158
  s.innerHTML(l)
159
159
  ),
160
- loading: () => d.span(s.class("animate-spin"), "↻"),
161
- failure: (l) => d.span(s.title(l), s.class("text-red-500"), "🚫")
160
+ loading: () => h.span(s.class("animate-spin"), "↻"),
161
+ failure: (l) => h.span(s.title(l), s.class("text-red-500"), "🚫")
162
162
  })
163
163
  ),
164
164
  ...o
@@ -477,10 +477,10 @@ const Be = {
477
477
  function Qe(e) {
478
478
  return `--breakpoint-${e}`;
479
479
  }
480
- function Ir(e) {
480
+ function Or(e) {
481
481
  return `var(${Qe(e)})`;
482
482
  }
483
- function Vr(e) {
483
+ function Dr(e) {
484
484
  return `@media (width >= ${Ke[e]})`;
485
485
  }
486
486
  function et() {
@@ -509,7 +509,7 @@ const nt = [
509
509
  "warning",
510
510
  "error",
511
511
  "info"
512
- ], Or = [
512
+ ], Hr = [
513
513
  ...ke,
514
514
  ...B(Be).map(([e]) => e)
515
515
  ], Je = {
@@ -649,7 +649,7 @@ const L = {
649
649
  }
650
650
  }
651
651
  };
652
- function Dr() {
652
+ function Lr() {
653
653
  let e = `/*
654
654
  * Background Utilities - Auto-generated from design tokens
655
655
  *
@@ -833,10 +833,10 @@ const en = {
833
833
  function nn(e) {
834
834
  return `--radius-${e}`;
835
835
  }
836
- function Hr(e) {
836
+ function Fr(e) {
837
837
  return `var(${nn(e)})`;
838
838
  }
839
- function Lr(e) {
839
+ function Mr(e) {
840
840
  return `@media (width >= ${en[e]})`;
841
841
  }
842
842
  function at() {
@@ -862,7 +862,7 @@ const ct = "0.25rem", it = {
862
862
  function tn(e) {
863
863
  return `--spacing-${e}`;
864
864
  }
865
- function Fr(e) {
865
+ function Pr(e) {
866
866
  return `var(${tn(e)})`;
867
867
  }
868
868
  function ut() {
@@ -971,31 +971,31 @@ const ht = {
971
971
  function on(e) {
972
972
  return `--font-size-${e}`;
973
973
  }
974
- function Mr(e) {
974
+ function Wr(e) {
975
975
  return `var(${on(e)})`;
976
976
  }
977
977
  function ln(e) {
978
978
  return `--font-weight-${e}`;
979
979
  }
980
- function Pr(e) {
980
+ function Nr(e) {
981
981
  return `var(${ln(e)})`;
982
982
  }
983
983
  function sn(e) {
984
984
  return `--line-height-${e}`;
985
985
  }
986
- function Wr(e) {
986
+ function Rr(e) {
987
987
  return `var(${sn(e)})`;
988
988
  }
989
989
  function an(e) {
990
990
  return `--letter-spacing-${e}`;
991
991
  }
992
- function Nr(e) {
992
+ function qr(e) {
993
993
  return `var(${an(e)})`;
994
994
  }
995
995
  function cn(e) {
996
996
  return `--font-family-${e}`;
997
997
  }
998
- function Rr(e) {
998
+ function zr(e) {
999
999
  return `var(${cn(e)})`;
1000
1000
  }
1001
1001
  function mt() {
@@ -1034,7 +1034,7 @@ const ft = {
1034
1034
  function un(e) {
1035
1035
  return `--z-index-${e}`;
1036
1036
  }
1037
- function qr(e) {
1037
+ function Ur(e) {
1038
1038
  return `var(${un(e)})`;
1039
1039
  }
1040
1040
  function kt() {
@@ -1086,7 +1086,7 @@ function Ct() {
1086
1086
  e[$t(t)] = n;
1087
1087
  }), e;
1088
1088
  }
1089
- function zr() {
1089
+ function Gr() {
1090
1090
  return {
1091
1091
  ...st(),
1092
1092
  ...ut(),
@@ -1098,7 +1098,7 @@ function zr() {
1098
1098
  ...kt()
1099
1099
  };
1100
1100
  }
1101
- function Ur(e, t) {
1101
+ function Zr(e, t) {
1102
1102
  return t == null && typeof window > "u" ? "" : getComputedStyle(t ?? document.documentElement).getPropertyValue(e).trim();
1103
1103
  }
1104
1104
  const St = {
@@ -1126,7 +1126,7 @@ const At = ({
1126
1126
  color: n = "base",
1127
1127
  onClose: r,
1128
1128
  size: o = "md"
1129
- }) => d.span(
1129
+ }) => h.span(
1130
1130
  s.class(
1131
1131
  w(
1132
1132
  e ?? !1,
@@ -1134,70 +1134,100 @@ const At = ({
1134
1134
  o ?? "md"
1135
1135
  )((l, a, u) => Et(l, a, u))
1136
1136
  ),
1137
- d.span(t),
1138
- r != null ? d.button(
1137
+ h.span(t),
1138
+ r != null ? h.button(
1139
1139
  s.disabled(e),
1140
1140
  s.class("bc-tag__close"),
1141
- d.span("×"),
1142
- b.click(() => r == null ? void 0 : r(C.get(t)))
1141
+ h.span("×"),
1142
+ m.click(() => r == null ? void 0 : r(C.get(t)))
1143
1143
  ) : y
1144
1144
  );
1145
1145
  function xe(e) {
1146
1146
  return `bc-label bc-label--${e}`;
1147
1147
  }
1148
- const Gr = (...e) => d.span(s.class(xe("emphasis")), ...e), dn = (...e) => d.span(s.class(xe("default")), ...e), Tt = (...e) => d.span(s.class(xe("muted")), ...e), Zr = (...e) => d.span(s.class(xe("error")), ...e), Bt = d.span(
1149
- s.class("bc-control-input-wrapper__required"),
1148
+ const Xr = (...e) => h.span(s.class(xe("emphasis")), ...e), dn = (...e) => h.span(s.class(xe("default")), ...e), Tt = (...e) => h.span(s.class(xe("muted")), ...e), Yr = (...e) => h.span(s.class(xe("error")), ...e), Bt = h.span(
1149
+ s.class("bc-input-wrapper__required"),
1150
1150
  " *"
1151
1151
  );
1152
1152
  function It() {
1153
- return "bc-control-input-wrapper";
1153
+ return "bc-input-wrapper";
1154
1154
  }
1155
1155
  function Vt(e, t) {
1156
- const n = ["bc-control-input-wrapper__label-text"];
1157
- return e ? n.push("bc-control-input-wrapper__label-text--error") : t ? n.push("bc-control-input-wrapper__label-text--disabled") : n.push("bc-control-input-wrapper__label-text--default"), n.join(" ");
1156
+ const n = ["bc-input-wrapper__label-text"];
1157
+ return e ? n.push("bc-input-wrapper__label-text--error") : t ? n.push("bc-input-wrapper__label-text--disabled") : n.push("bc-input-wrapper__label-text--default"), n.join(" ");
1158
1158
  }
1159
- const M = ({
1159
+ const Ot = ({
1160
1160
  required: e,
1161
1161
  label: t,
1162
1162
  context: n,
1163
1163
  description: r,
1164
1164
  content: o,
1165
- controller: l
1166
- }, ...a) => d.div(
1167
- s.class(It()),
1168
- t != null || n != null ? d.div(
1169
- s.class("bc-control-input-wrapper__header"),
1170
- d.label(
1171
- s.class("bc-control-input-wrapper__label"),
1172
- s.for(l.name),
1173
- d.span(
1174
- s.class(
1175
- w(
1176
- l.hasError,
1177
- l.disabled
1178
- )(
1179
- (u, c) => Vt(
1180
- u ?? !1,
1181
- c ?? !1
1165
+ error: l,
1166
+ labelFor: a,
1167
+ hasError: u,
1168
+ disabled: c
1169
+ }, ...i) => {
1170
+ const d = u ?? C.map(l ?? null, (b) => b != null), p = c ?? !1;
1171
+ return h.div(
1172
+ s.class(It()),
1173
+ t != null || n != null ? h.div(
1174
+ s.class("bc-input-wrapper__header"),
1175
+ h.label(
1176
+ s.class("bc-input-wrapper__label"),
1177
+ a != null ? s.for(a) : y,
1178
+ h.span(
1179
+ s.class(
1180
+ w(
1181
+ d,
1182
+ p
1183
+ )(
1184
+ (b, g) => Vt(
1185
+ b ?? !1,
1186
+ g ?? !1
1187
+ )
1182
1188
  )
1183
- )
1189
+ ),
1190
+ t
1184
1191
  ),
1185
- t
1192
+ t != null && e ? Bt : y
1186
1193
  ),
1187
- t != null && e ? Bt : y
1188
- ),
1189
- n != null ? dn(n) : y
1190
- ) : y,
1191
- d.div(s.class("bc-control-input-wrapper__content"), o),
1192
- r != null ? d.div(
1193
- s.class("bc-control-input-wrapper__description"),
1194
- r
1195
- ) : y,
1196
- Ee(
1197
- l.error,
1198
- (u) => d.div(s.class("bc-control-input-wrapper__error"), u)
1199
- ),
1200
- ...a
1194
+ n != null ? dn(n) : y
1195
+ ) : y,
1196
+ h.div(s.class("bc-input-wrapper__content"), o),
1197
+ r != null ? h.div(s.class("bc-input-wrapper__description"), r) : y,
1198
+ l != null ? Ee(
1199
+ l,
1200
+ (b) => h.div(s.class("bc-input-wrapper__error"), b)
1201
+ ) : y,
1202
+ ...i
1203
+ );
1204
+ };
1205
+ function Dt() {
1206
+ return "bc-control-input-wrapper";
1207
+ }
1208
+ const M = ({
1209
+ required: e,
1210
+ label: t,
1211
+ context: n,
1212
+ description: r,
1213
+ content: o,
1214
+ controller: l
1215
+ }, ...a) => h.div(
1216
+ s.class(Dt()),
1217
+ Ot(
1218
+ {
1219
+ required: e,
1220
+ label: t,
1221
+ context: n,
1222
+ description: r,
1223
+ content: o,
1224
+ error: l.error.map((u) => u ?? null),
1225
+ labelFor: l.name,
1226
+ hasError: l.hasError,
1227
+ disabled: l.disabled
1228
+ },
1229
+ ...a
1230
+ )
1201
1231
  ), z = ({
1202
1232
  child: e,
1203
1233
  disabled: t,
@@ -1208,40 +1238,40 @@ const M = ({
1208
1238
  focusableSelector: a = "input, select, textarea",
1209
1239
  growInput: u = !0
1210
1240
  }) => {
1211
- const c = C.map(t ?? !1, (h) => h);
1212
- function i(h, p) {
1213
- const m = ["bc-input-container"];
1214
- return h ? m.push("bc-input-container--disabled") : m.push("bc-input-container--default"), p && m.push("bc-input-container--error"), m.join(" ");
1241
+ const c = C.map(t ?? !1, (d) => d);
1242
+ function i(d, p) {
1243
+ const b = ["bc-input-container"];
1244
+ return d ? b.push("bc-input-container--disabled") : b.push("bc-input-container--default"), p && b.push("bc-input-container--error"), b.join(" ");
1215
1245
  }
1216
- return d.div(
1246
+ return h.div(
1217
1247
  e,
1218
- X((h) => {
1248
+ X((d) => {
1219
1249
  const p = () => {
1220
- const m = h.querySelector(a);
1221
- m == null || m.focus();
1250
+ const b = d.querySelector(a);
1251
+ b == null || b.focus();
1222
1252
  };
1223
- return h.addEventListener("click", p), N(() => h.removeEventListener("click", p));
1253
+ return d.addEventListener("click", p), N(() => d.removeEventListener("click", p));
1224
1254
  }),
1225
1255
  s.class(
1226
1256
  w(
1227
1257
  c,
1228
1258
  l ?? !1
1229
1259
  )(
1230
- (h, p) => i(h ?? !1, p ?? !1)
1260
+ (d, p) => i(d ?? !1, p ?? !1)
1231
1261
  )
1232
1262
  ),
1233
- r != null ? d.span(s.class("bc-input-container__before"), r) : null,
1234
- d.div(
1263
+ r != null ? h.span(s.class("bc-input-container__before"), r) : null,
1264
+ h.div(
1235
1265
  s.class("bc-input-container__input"),
1236
1266
  s.class(
1237
1267
  C.map(
1238
1268
  u,
1239
- (h) => h ? "bc-input-container__input--grow" : ""
1269
+ (d) => d ? "bc-input-container__input--grow" : ""
1240
1270
  )
1241
1271
  ),
1242
1272
  n
1243
1273
  ),
1244
- o != null ? d.span(s.class("bc-input-container__after"), o) : null
1274
+ o != null ? h.span(s.class("bc-input-container__after"), o) : null
1245
1275
  );
1246
1276
  }, U = ({
1247
1277
  autocomplete: e,
@@ -1251,7 +1281,7 @@ const M = ({
1251
1281
  name: o,
1252
1282
  placeholder: l,
1253
1283
  id: a
1254
- }) => D(
1284
+ }) => H(
1255
1285
  s.autocomplete(e),
1256
1286
  s.autofocus(t),
1257
1287
  s.class(n),
@@ -1275,11 +1305,11 @@ const M = ({
1275
1305
  U(e),
1276
1306
  s.valueAsDate(t),
1277
1307
  s.class("bc-input"),
1278
- n != null ? b.blur(E(n)) : y,
1279
- r != null ? b.change(_n(r)) : y
1308
+ n != null ? m.blur(E(n)) : y,
1309
+ r != null ? m.change(_n(r)) : y
1280
1310
  )
1281
1311
  });
1282
- }, Ot = (e) => {
1312
+ }, Ht = (e) => {
1283
1313
  const { value: t, onBlur: n, onChange: r, onInput: o } = e;
1284
1314
  return z({
1285
1315
  ...e,
@@ -1287,9 +1317,9 @@ const M = ({
1287
1317
  U(e),
1288
1318
  s.value(t),
1289
1319
  s.class("bc-input"),
1290
- n != null ? b.blur(E(n)) : y,
1291
- r != null ? b.change(E(r)) : y,
1292
- o != null ? b.input(E(o)) : y
1320
+ n != null ? m.blur(E(n)) : y,
1321
+ r != null ? m.change(E(r)) : y,
1322
+ o != null ? m.input(E(o)) : y
1293
1323
  )
1294
1324
  });
1295
1325
  }, P = (
@@ -1302,14 +1332,14 @@ const M = ({
1302
1332
  }, Ve = (e, t, n) => (r) => {
1303
1333
  const o = t(r);
1304
1334
  e.change(o), n == null || n(o);
1305
- }, Xr = (e, t, n) => (r) => {
1335
+ }, Kr = (e, t, n) => (r) => {
1306
1336
  t(r) ? (e.change(null), n == null || n(null)) : (e.change(r), n == null || n(r));
1307
- }, Yr = (e, ...t) => {
1337
+ }, Qr = (e, ...t) => {
1308
1338
  const { onBlur: n, onChange: r, ...o } = e;
1309
1339
  return M(
1310
1340
  {
1311
1341
  ...o,
1312
- content: Ot({
1342
+ content: Ht({
1313
1343
  ...o,
1314
1344
  ...q(o.controller),
1315
1345
  onChange: G(o.controller, r),
@@ -1318,7 +1348,7 @@ const M = ({
1318
1348
  },
1319
1349
  ...t
1320
1350
  );
1321
- }, Kr = (e, ...t) => {
1351
+ }, Jr = (e, ...t) => {
1322
1352
  const { onBlur: n, onChange: r, ...o } = e;
1323
1353
  return M(
1324
1354
  {
@@ -1335,7 +1365,7 @@ const M = ({
1335
1365
  }, jt = (e) => {
1336
1366
  const t = e.getFullYear(), n = (e.getMonth() + 1).toString().padStart(2, "0"), r = e.getDate().toString().padStart(2, "0"), o = e.getHours().toString().padStart(2, "0"), l = e.getMinutes().toString().padStart(2, "0");
1337
1367
  return `${t}-${n}-${r}T${o}:${l}`;
1338
- }, Dt = (e) => {
1368
+ }, Lt = (e) => {
1339
1369
  const { value: t, onBlur: n, onChange: r } = e;
1340
1370
  return z({
1341
1371
  ...e,
@@ -1343,16 +1373,16 @@ const M = ({
1343
1373
  U(e),
1344
1374
  s.value(C.map(t, jt)),
1345
1375
  s.class("bc-input"),
1346
- n != null ? b.blur(E(n)) : y,
1347
- r != null ? b.change(E((o) => r(new Date(o)))) : y
1376
+ n != null ? m.blur(E(n)) : y,
1377
+ r != null ? m.change(E((o) => r(new Date(o)))) : y
1348
1378
  )
1349
1379
  });
1350
- }, Qr = (e, ...t) => {
1380
+ }, eo = (e, ...t) => {
1351
1381
  const { onBlur: n, onChange: r, ...o } = e;
1352
1382
  return M(
1353
1383
  {
1354
1384
  ...o,
1355
- content: Dt({
1385
+ content: Lt({
1356
1386
  ...o,
1357
1387
  ...q(o.controller),
1358
1388
  onChange: G(o.controller, r),
@@ -1361,7 +1391,7 @@ const M = ({
1361
1391
  },
1362
1392
  ...t
1363
1393
  );
1364
- }, Ht = (e) => {
1394
+ }, Ft = (e) => {
1365
1395
  const t = {
1366
1396
  name: "email",
1367
1397
  autocomplete: "email",
@@ -1374,18 +1404,18 @@ const M = ({
1374
1404
  U(t),
1375
1405
  s.value(n),
1376
1406
  s.class("bc-input"),
1377
- r != null ? b.blur(E(r)) : y,
1378
- o != null ? b.change(E(o)) : y,
1379
- l != null ? b.input(E(l)) : y
1407
+ r != null ? m.blur(E(r)) : y,
1408
+ o != null ? m.change(E(o)) : y,
1409
+ l != null ? m.input(E(l)) : y
1380
1410
  )
1381
1411
  });
1382
- }, Jr = (e, ...t) => {
1412
+ }, no = (e, ...t) => {
1383
1413
  const { onChange: n, onBlur: r, ...o } = e;
1384
1414
  return M(
1385
1415
  {
1386
1416
  label: "Email",
1387
1417
  ...o,
1388
- content: Ht({
1418
+ content: Ft({
1389
1419
  ...o,
1390
1420
  ...q(o.controller),
1391
1421
  onChange: G(o.controller, n),
@@ -1394,20 +1424,20 @@ const M = ({
1394
1424
  },
1395
1425
  ...t
1396
1426
  );
1397
- }, eo = {
1427
+ }, to = {
1398
1428
  filling: { type: "filling" },
1399
1429
  submitting: { type: "submitting" },
1400
1430
  error: (e) => ({ type: "error", error: e }),
1401
1431
  success: { type: "success" }
1402
- }, Oe = "$$tts-exp-", Lt = (e, t) => X((n) => {
1432
+ }, Oe = "$$tts-exp-", Mt = (e, t) => X((n) => {
1403
1433
  const r = `${Oe}${e}`;
1404
1434
  return N(C.on(t, (o) => Reflect.set(n, r, o)));
1405
- }), no = (e, t) => {
1435
+ }), ro = (e, t) => {
1406
1436
  const n = `${Oe}${e}`;
1407
1437
  return (r) => {
1408
1438
  t(Reflect.get(r.target, n));
1409
1439
  };
1410
- }, Ft = (e, t) => {
1440
+ }, Pt = (e, t) => {
1411
1441
  const n = `${Oe}${e}`;
1412
1442
  return (r) => {
1413
1443
  const o = r.target, l = o.selectedIndex, a = o.options[l];
@@ -1439,14 +1469,14 @@ const M = ({
1439
1469
  o,
1440
1470
  n
1441
1471
  )((a, u) => t(a.value, u));
1442
- return d.option(
1472
+ return h.option(
1443
1473
  N(l.dispose),
1444
1474
  s.selected(l),
1445
- Lt("value", o.$.value),
1475
+ Mt("value", o.$.value),
1446
1476
  o.$.label
1447
1477
  );
1448
1478
  },
1449
- group: (o) => d.optgroup(
1479
+ group: (o) => h.optgroup(
1450
1480
  s.label(o.$.group),
1451
1481
  Ae(
1452
1482
  o.$.options,
@@ -1457,7 +1487,7 @@ const M = ({
1457
1487
  )
1458
1488
  )
1459
1489
  ),
1460
- break: () => d.hr()
1490
+ break: () => h.hr()
1461
1491
  })
1462
1492
  ), gn = (e) => {
1463
1493
  const {
@@ -1471,14 +1501,14 @@ const M = ({
1471
1501
  let u;
1472
1502
  return z({
1473
1503
  ...e,
1474
- child: b.click(() => {
1504
+ child: m.click(() => {
1475
1505
  u == null || u.focus(), typeof (u == null ? void 0 : u.showPicker) == "function" && u.showPicker();
1476
1506
  }),
1477
- input: d.select(
1507
+ input: h.select(
1478
1508
  X((c) => {
1479
1509
  u = c;
1480
- const i = new MutationObserver((h) => {
1481
- const { removedNodes: p } = h[0];
1510
+ const i = new MutationObserver((d) => {
1511
+ const { removedNodes: p } = d[0];
1482
1512
  p.length > 0 && (u.selectedIndex = 0);
1483
1513
  });
1484
1514
  return i.observe(c, { childList: !0 }), N(() => i.disconnect());
@@ -1486,13 +1516,13 @@ const M = ({
1486
1516
  U(e),
1487
1517
  s.class("focus:outline-none bg-transparent"),
1488
1518
  s.class("w-full"),
1489
- d.option(s.hidden("hidden"), l),
1519
+ h.option(s.hidden("hidden"), l),
1490
1520
  Ae(o, (c) => pn(c, a, t)),
1491
- n != null ? b.blur(n) : y,
1492
- r != null ? b.change(Ft("value", (c) => r(c))) : y
1521
+ n != null ? m.blur(n) : y,
1522
+ r != null ? m.change(Pt("value", (c) => r(c))) : y
1493
1523
  )
1494
1524
  });
1495
- }, Mt = (e) => Xe({
1525
+ }, Wt = (e) => Xe({
1496
1526
  request: e.request,
1497
1527
  load: e.load,
1498
1528
  mapError: String
@@ -1508,13 +1538,13 @@ const M = ({
1508
1538
  equality: e.equality
1509
1539
  });
1510
1540
  },
1511
- loading: () => d.span(s.class("animate-spin"), Q.label("Loading..."), "↻")
1512
- }), to = (e, ...t) => {
1541
+ loading: () => h.span(s.class("animate-spin"), Q.label("Loading..."), "↻")
1542
+ }), oo = (e, ...t) => {
1513
1543
  const { onBlur: n, onChange: r, ...o } = e;
1514
1544
  return M(
1515
1545
  {
1516
1546
  ...o,
1517
- content: Mt({
1547
+ content: Wt({
1518
1548
  ...e,
1519
1549
  ...q(o.controller),
1520
1550
  onChange: G(o.controller, r),
@@ -1523,7 +1553,7 @@ const M = ({
1523
1553
  },
1524
1554
  ...t
1525
1555
  );
1526
- }, ro = (e, ...t) => {
1556
+ }, lo = (e, ...t) => {
1527
1557
  const { onBlur: n, onChange: r, ...o } = e;
1528
1558
  return M(
1529
1559
  {
@@ -1545,11 +1575,11 @@ const M = ({
1545
1575
  U(e),
1546
1576
  s.valueAsDate(t),
1547
1577
  s.class("bc-input"),
1548
- n != null ? b.blur(E(n)) : y,
1549
- r != null ? b.change(An(r)) : y
1578
+ n != null ? m.blur(E(n)) : y,
1579
+ r != null ? m.change(An(r)) : y
1550
1580
  )
1551
1581
  });
1552
- }, oo = (e, ...t) => {
1582
+ }, so = (e, ...t) => {
1553
1583
  const { onBlur: n, onChange: r, ...o } = e;
1554
1584
  return M(
1555
1585
  {
@@ -1563,22 +1593,22 @@ const M = ({
1563
1593
  },
1564
1594
  ...t
1565
1595
  );
1566
- }, Pt = (e) => {
1596
+ }, Nt = (e) => {
1567
1597
  const t = e.getFullYear(), n = e.getMonth() + 1, r = e.getDate(), o = e.getHours(), l = e.getMinutes(), a = e.getSeconds();
1568
1598
  return `${t}-${n.toString().padStart(2, "0")}-${r.toString().padStart(2, "0")}T${o.toString().padStart(2, "0")}:${l.toString().padStart(2, "0")}:${a.toString().padStart(2, "0")}`;
1569
1599
  }, mn = (e) => {
1570
- const { value: t, onBlur: n, onChange: r } = e, o = C.map(t, (l) => l != null ? Pt(l) : null);
1600
+ const { value: t, onBlur: n, onChange: r } = e, o = C.map(t, (l) => l != null ? Nt(l) : null);
1571
1601
  return z({
1572
1602
  ...e,
1573
1603
  input: te["datetime-local"](
1574
1604
  U(e),
1575
1605
  s.value(C.map(o, (l) => l ?? null)),
1576
1606
  s.class("bc-input"),
1577
- n != null ? b.blur(E(n)) : y,
1578
- r != null ? b.change(Tn(r)) : y
1607
+ n != null ? m.blur(E(n)) : y,
1608
+ r != null ? m.change(Tn(r)) : y
1579
1609
  )
1580
1610
  });
1581
- }, lo = (e, ...t) => {
1611
+ }, ao = (e, ...t) => {
1582
1612
  const { onBlur: n, onChange: r, ...o } = e;
1583
1613
  return M(
1584
1614
  {
@@ -1592,7 +1622,7 @@ const M = ({
1592
1622
  },
1593
1623
  ...t
1594
1624
  );
1595
- }, so = (e, ...t) => {
1625
+ }, co = (e, ...t) => {
1596
1626
  const { onBlur: n, onChange: r, ...o } = e;
1597
1627
  return M(
1598
1628
  {
@@ -1613,7 +1643,7 @@ const M = ({
1613
1643
  },
1614
1644
  ...t
1615
1645
  );
1616
- }, Wt = (e) => new Date(e), Nt = (e) => e.toISOString(), ao = (e, ...t) => {
1646
+ }, Rt = (e) => new Date(e), qt = (e) => e.toISOString(), io = (e, ...t) => {
1617
1647
  const { onBlur: n, onChange: r, ...o } = e;
1618
1648
  return M(
1619
1649
  {
@@ -1622,11 +1652,11 @@ const M = ({
1622
1652
  ...o,
1623
1653
  ...Ie(
1624
1654
  o.controller,
1625
- (l) => l != null && l !== "" ? Wt(l) : null
1655
+ (l) => l != null && l !== "" ? Rt(l) : null
1626
1656
  ),
1627
1657
  onChange: Ve(
1628
1658
  o.controller,
1629
- (l) => l != null ? Nt(l) : null,
1659
+ (l) => l != null ? qt(l) : null,
1630
1660
  r
1631
1661
  ),
1632
1662
  onBlur: P(o.controller, n)
@@ -1634,7 +1664,7 @@ const M = ({
1634
1664
  },
1635
1665
  ...t
1636
1666
  );
1637
- }, me = (e) => typeof e == "string" && e.trim() === "" ? null : e, fn = (e) => e ?? "", Rt = (e) => {
1667
+ }, me = (e) => typeof e == "string" && e.trim() === "" ? null : e, fn = (e) => e ?? "", zt = (e) => {
1638
1668
  const { value: t, onBlur: n, onChange: r, onInput: o, ...l } = e;
1639
1669
  return z({
1640
1670
  ...l,
@@ -1642,31 +1672,31 @@ const M = ({
1642
1672
  U(l),
1643
1673
  s.value(C.map(t, fn)),
1644
1674
  s.class("bc-input"),
1645
- n != null ? b.blur(n) : y,
1646
- r != null ? b.change(E((a) => r(me(a)))) : y,
1647
- o != null ? b.input(E((a) => o(me(a)))) : y
1675
+ n != null ? m.blur(n) : y,
1676
+ r != null ? m.change(E((a) => r(me(a)))) : y,
1677
+ o != null ? m.input(E((a) => o(me(a)))) : y
1648
1678
  )
1649
1679
  });
1650
- }, qt = (e) => {
1680
+ }, Ut = (e) => {
1651
1681
  const { value: t, onBlur: n, onChange: r, onInput: o, rows: l } = e;
1652
1682
  return z({
1653
1683
  ...e,
1654
- input: d.textarea(
1684
+ input: h.textarea(
1655
1685
  U(e),
1656
1686
  s.rows(l ?? 10),
1657
1687
  s.value(C.map(t, fn)),
1658
1688
  s.class("bc-input"),
1659
- n != null ? b.blur(n) : y,
1660
- r != null ? b.change(E((a) => r(me(a)))) : y,
1661
- o != null ? b.input(E((a) => o(me(a)))) : y
1689
+ n != null ? m.blur(n) : y,
1690
+ r != null ? m.change(E((a) => r(me(a)))) : y,
1691
+ o != null ? m.input(E((a) => o(me(a)))) : y
1662
1692
  )
1663
1693
  });
1664
- }, co = (e, ...t) => {
1694
+ }, uo = (e, ...t) => {
1665
1695
  const { onBlur: n, onChange: r, rows: o, ...l } = e;
1666
1696
  return M(
1667
1697
  {
1668
1698
  ...l,
1669
- content: qt({
1699
+ content: Ut({
1670
1700
  ...l,
1671
1701
  ...q(l.controller),
1672
1702
  rows: o,
@@ -1676,12 +1706,12 @@ const M = ({
1676
1706
  },
1677
1707
  ...t
1678
1708
  );
1679
- }, io = (e, ...t) => {
1709
+ }, ho = (e, ...t) => {
1680
1710
  const { onBlur: n, onChange: r, ...o } = e;
1681
1711
  return M(
1682
1712
  {
1683
1713
  ...o,
1684
- content: Rt({
1714
+ content: zt({
1685
1715
  ...o,
1686
1716
  ...q(o.controller),
1687
1717
  onChange: G(o.controller, r),
@@ -1690,7 +1720,7 @@ const M = ({
1690
1720
  },
1691
1721
  ...t
1692
1722
  );
1693
- }, zt = (e) => {
1723
+ }, Gt = (e) => {
1694
1724
  const { value: t, step: n, min: r, max: o, onBlur: l, onChange: a, onInput: u } = e;
1695
1725
  return z({
1696
1726
  ...e,
@@ -1701,17 +1731,17 @@ const M = ({
1701
1731
  s.min(r),
1702
1732
  s.max(o),
1703
1733
  s.class("bc-input bc-number-input"),
1704
- l != null ? b.blur(E(l)) : y,
1705
- a != null ? b.change($e(a)) : y,
1706
- u != null ? b.input($e(u)) : y
1734
+ l != null ? m.blur(E(l)) : y,
1735
+ a != null ? m.change($e(a)) : y,
1736
+ u != null ? m.input($e(u)) : y
1707
1737
  )
1708
1738
  });
1709
- }, uo = (e, ...t) => {
1739
+ }, po = (e, ...t) => {
1710
1740
  const { onBlur: n, onChange: r, ...o } = e;
1711
1741
  return M(
1712
1742
  {
1713
1743
  ...o,
1714
- content: zt({
1744
+ content: Gt({
1715
1745
  ...o,
1716
1746
  ...q(o.controller),
1717
1747
  onChange: G(o.controller, r),
@@ -1720,7 +1750,7 @@ const M = ({
1720
1750
  },
1721
1751
  ...t
1722
1752
  );
1723
- }, Ut = (e) => {
1753
+ }, Zt = (e) => {
1724
1754
  const {
1725
1755
  value: t,
1726
1756
  onBlur: n,
@@ -1731,9 +1761,9 @@ const M = ({
1731
1761
  hasError: u,
1732
1762
  disabled: c,
1733
1763
  autocomplete: i,
1734
- placeholder: h,
1764
+ placeholder: d,
1735
1765
  ...p
1736
- } = e, m = {
1766
+ } = e, b = {
1737
1767
  name: "password",
1738
1768
  ...p
1739
1769
  }, g = R(!0), k = w(
@@ -1741,33 +1771,33 @@ const M = ({
1741
1771
  i
1742
1772
  )((S, x) => S ? x ?? "current-password" : "off"), $ = w(
1743
1773
  g,
1744
- h
1774
+ d
1745
1775
  )((S, x) => S ? "•••••••••••••••" : x ?? "secret password");
1746
1776
  return z({
1747
1777
  before: l,
1748
1778
  disabled: c,
1749
1779
  hasError: u,
1750
- input: d.input(
1780
+ input: h.input(
1751
1781
  U({
1752
- ...m,
1782
+ ...b,
1753
1783
  autocomplete: k,
1754
1784
  placeholder: $
1755
1785
  }),
1756
1786
  le(
1757
1787
  g,
1758
- () => D(s.type("password")),
1759
- () => D(s.type("text"))
1788
+ () => H(s.type("password")),
1789
+ () => H(s.type("text"))
1760
1790
  ),
1761
1791
  s.class("bc-input"),
1762
1792
  s.value(t),
1763
- n != null ? b.blur(E(n)) : y,
1764
- r != null ? b.change(E(r)) : y,
1765
- o != null ? b.input(E(o)) : y
1793
+ n != null ? m.blur(E(n)) : y,
1794
+ r != null ? m.change(E(r)) : y,
1795
+ o != null ? m.input(E(o)) : y
1766
1796
  ),
1767
- after: a ?? d.button(
1797
+ after: a ?? h.button(
1768
1798
  s.class("bc-input-container__password-toggle"),
1769
1799
  Q.label("Toggle password visibility"),
1770
- b.click(() => g.update((S) => !S)),
1800
+ m.click(() => g.update((S) => !S)),
1771
1801
  le(
1772
1802
  g,
1773
1803
  () => Z({ icon: "line-md--eye" }),
@@ -1775,13 +1805,13 @@ const M = ({
1775
1805
  )
1776
1806
  )
1777
1807
  });
1778
- }, ho = (e, ...t) => {
1808
+ }, go = (e, ...t) => {
1779
1809
  const { onBlur: n, onChange: r, ...o } = e;
1780
1810
  return M(
1781
1811
  {
1782
1812
  label: "Password",
1783
1813
  ...o,
1784
- content: Ut({
1814
+ content: Zt({
1785
1815
  ...o,
1786
1816
  ...q(o.controller),
1787
1817
  onChange: G(o.controller, r),
@@ -1791,68 +1821,68 @@ const M = ({
1791
1821
  ...t
1792
1822
  );
1793
1823
  };
1794
- function Gt(e, t) {
1824
+ function Xt(e, t) {
1795
1825
  return e.length === t.length && e.every((n, r) => n === t[r]);
1796
1826
  }
1797
- function Zt({
1827
+ function Yt({
1798
1828
  options: e,
1799
1829
  value: t,
1800
1830
  onChange: n,
1801
1831
  size: r = "md",
1802
1832
  disabled: o = !1
1803
1833
  }, ...l) {
1804
- const a = B(e).map(([h, p]) => ({
1805
- key: h,
1834
+ const a = B(e).map(([d, p]) => ({
1835
+ key: d,
1806
1836
  label: p
1807
1837
  })), u = Object.fromEntries(
1808
- a.map((h, p) => [h.key, p])
1838
+ a.map((d, p) => [d.key, p])
1809
1839
  ), c = R(
1810
1840
  a.map(() => ({ left: 0, width: 0 })),
1811
- Gt
1841
+ Xt
1812
1842
  );
1813
- function i(h, p) {
1814
- const m = [
1843
+ function i(d, p) {
1844
+ const b = [
1815
1845
  "bc-segmented-control",
1816
- `bu-text-${h}`,
1817
- `bc-segmented-control--${h}`
1846
+ `bu-text-${d}`,
1847
+ `bc-segmented-control--${d}`
1818
1848
  ];
1819
- return p && m.push("bc-segmented-control--disabled"), m.join(" ");
1849
+ return p && b.push("bc-segmented-control--disabled"), b.join(" ");
1820
1850
  }
1821
- return d.div(
1851
+ return h.div(
1822
1852
  s.class(
1823
1853
  w(
1824
1854
  r,
1825
1855
  o
1826
1856
  )(
1827
- (h, p) => i(h ?? "md", p ?? !1)
1857
+ (d, p) => i(d ?? "md", p ?? !1)
1828
1858
  )
1829
1859
  ),
1830
- d.div(
1860
+ h.div(
1831
1861
  s.class("bc-segmented-control__container"),
1832
- d.div(
1862
+ h.div(
1833
1863
  s.class("bc-segmented-control__indicator"),
1834
1864
  f.width(
1835
1865
  w(
1836
1866
  t,
1837
1867
  c
1838
- )((h, p) => {
1839
- const { width: m } = p[u[h] ?? 0];
1840
- return `${m}px`;
1868
+ )((d, p) => {
1869
+ const { width: b } = p[u[d] ?? 0];
1870
+ return `${b}px`;
1841
1871
  })
1842
1872
  ),
1843
1873
  f.left(
1844
1874
  w(
1845
1875
  t,
1846
1876
  c
1847
- )((h, p) => {
1848
- const { left: m } = p[u[h] ?? 0];
1849
- return `${m}px`;
1877
+ )((d, p) => {
1878
+ const { left: b } = p[u[d] ?? 0];
1879
+ return `${b}px`;
1850
1880
  })
1851
1881
  )
1852
1882
  ),
1853
1883
  // clickable buttons
1854
- a.map(({ label: h, key: p }, m) => d.button(
1855
- b.click((g) => {
1884
+ a.map(({ label: d, key: p }, b) => h.button(
1885
+ m.click((g) => {
1856
1886
  g.preventDefault(), C.get(o) || n == null || n(p);
1857
1887
  }),
1858
1888
  s.disabled(o),
@@ -1864,7 +1894,7 @@ function Zt({
1864
1894
  const k = re(() => {
1865
1895
  c.update(($) => {
1866
1896
  const S = [...$];
1867
- return S[m] = {
1897
+ return S[b] = {
1868
1898
  width: g.offsetWidth,
1869
1899
  left: g.offsetLeft
1870
1900
  }, S;
@@ -1872,13 +1902,13 @@ function Zt({
1872
1902
  });
1873
1903
  return N(k);
1874
1904
  }),
1875
- h
1905
+ d
1876
1906
  ))
1877
1907
  ),
1878
1908
  ...l
1879
1909
  );
1880
1910
  }
1881
- const po = (e, ...t) => {
1911
+ const bo = (e, ...t) => {
1882
1912
  const { onBlur: n, onChange: r, ...o } = e;
1883
1913
  return M(
1884
1914
  {
@@ -1899,7 +1929,7 @@ const po = (e, ...t) => {
1899
1929
  },
1900
1930
  ...t
1901
1931
  );
1902
- }, Xt = (e) => {
1932
+ }, Kt = (e) => {
1903
1933
  const { value: t, onChange: n, onBlur: r } = e, o = R(""), l = (u) => {
1904
1934
  n == null || n(C.get(t).filter((c) => c !== u));
1905
1935
  }, a = () => {
@@ -1908,25 +1938,25 @@ const po = (e, ...t) => {
1908
1938
  };
1909
1939
  return z({
1910
1940
  ...e,
1911
- input: D(
1941
+ input: H(
1912
1942
  s.class("bc-input-container__tags"),
1913
1943
  Ae(t, (u) => At({ value: u, onClose: () => l(u.value) })),
1914
1944
  te.text(
1915
1945
  U(e),
1916
1946
  s.value(o),
1917
1947
  s.class("bc-input bc-input-container__tags-input"),
1918
- b.input(E(o.set)),
1919
- n != null ? b.change(a) : y,
1920
- r != null ? b.blur(r) : y
1948
+ m.input(E(o.set)),
1949
+ n != null ? m.change(a) : y,
1950
+ r != null ? m.blur(r) : y
1921
1951
  )
1922
1952
  )
1923
1953
  });
1924
- }, go = (e, ...t) => {
1954
+ }, mo = (e, ...t) => {
1925
1955
  const { onBlur: n, onChange: r, ...o } = e;
1926
1956
  return M(
1927
1957
  {
1928
1958
  ...o,
1929
- content: Xt({
1959
+ content: Kt({
1930
1960
  ...o,
1931
1961
  ...q(o.controller),
1932
1962
  onChange: G(o.controller, r),
@@ -1935,26 +1965,26 @@ const po = (e, ...t) => {
1935
1965
  },
1936
1966
  ...t
1937
1967
  );
1938
- }, Yt = (e) => {
1968
+ }, Qt = (e) => {
1939
1969
  const { value: t, onBlur: n, onChange: r, onInput: o, rows: l } = e;
1940
1970
  return z({
1941
1971
  ...e,
1942
- input: d.textarea(
1972
+ input: h.textarea(
1943
1973
  U(e),
1944
1974
  s.rows(l ?? 10),
1945
1975
  s.value(t),
1946
1976
  s.class("bc-input"),
1947
- n != null ? b.blur(E(n)) : y,
1948
- r != null ? b.change(E(r)) : y,
1949
- o != null ? b.input(E(o)) : y
1977
+ n != null ? m.blur(E(n)) : y,
1978
+ r != null ? m.change(E(r)) : y,
1979
+ o != null ? m.input(E(o)) : y
1950
1980
  )
1951
1981
  });
1952
- }, bo = (e, ...t) => {
1982
+ }, fo = (e, ...t) => {
1953
1983
  const { onBlur: n, onChange: r, rows: o, ...l } = e;
1954
1984
  return M(
1955
1985
  {
1956
1986
  ...l,
1957
- content: Yt({
1987
+ content: Qt({
1958
1988
  ...l,
1959
1989
  ...q(l.controller),
1960
1990
  rows: o,
@@ -1966,7 +1996,7 @@ const po = (e, ...t) => {
1966
1996
  ...t
1967
1997
  );
1968
1998
  };
1969
- function mo(e, t, n) {
1999
+ function ko(e, t, n) {
1970
2000
  return Ee(
1971
2001
  e.value,
1972
2002
  () => {
@@ -1974,7 +2004,7 @@ function mo(e, t, n) {
1974
2004
  (o) => o,
1975
2005
  (o) => o
1976
2006
  );
1977
- return D(
2007
+ return H(
1978
2008
  N(() => r.dispose()),
1979
2009
  t(r)
1980
2010
  );
@@ -1982,15 +2012,15 @@ function mo(e, t, n) {
1982
2012
  n
1983
2013
  );
1984
2014
  }
1985
- function fo(e, t, n) {
2015
+ function xo(e, t, n) {
1986
2016
  const r = e.length.map((o) => o);
1987
- return D(
2017
+ return H(
1988
2018
  N(() => r.dispose()),
1989
2019
  Bn(
1990
2020
  r,
1991
2021
  (o) => {
1992
2022
  const l = e.item(o.index), a = [];
1993
- return D(
2023
+ return H(
1994
2024
  N(() => {
1995
2025
  l.dispose(), a.forEach((u) => u());
1996
2026
  }),
@@ -2045,24 +2075,24 @@ function fo(e, t, n) {
2045
2075
  )
2046
2076
  );
2047
2077
  }
2048
- function ko(e) {
2078
+ function vo(e) {
2049
2079
  return e.split(".").map((n) => {
2050
2080
  const r = n.match(/^\[(\d+)\]$/);
2051
2081
  return r ? Number(r[1]) : n;
2052
2082
  });
2053
2083
  }
2054
- function Kt(e) {
2084
+ function Jt(e) {
2055
2085
  return typeof e == "number" ? `[${e}]` : `.${e}`;
2056
2086
  }
2057
- function Qt(e) {
2087
+ function er(e) {
2058
2088
  if (e.length === 0) return "";
2059
2089
  const [t, ...n] = e;
2060
2090
  return [
2061
2091
  typeof t == "number" ? `[${t}]` : t,
2062
- ...n.map(Kt)
2092
+ ...n.map(Jt)
2063
2093
  ].join("");
2064
2094
  }
2065
- function je(e) {
2095
+ function De(e) {
2066
2096
  return function(n) {
2067
2097
  var o;
2068
2098
  if (n.type === "Valid") return n;
@@ -2073,7 +2103,7 @@ function je(e) {
2073
2103
  };
2074
2104
  }
2075
2105
  var ae, ie;
2076
- const De = class De {
2106
+ const He = class He {
2077
2107
  constructor(t, n, r, o, l) {
2078
2108
  _(this, "path");
2079
2109
  _(this, "change");
@@ -2089,24 +2119,24 @@ const De = class De {
2089
2119
  _(this, "disabled");
2090
2120
  he(this, ie, []);
2091
2121
  _(this, "onDispose", (t) => {
2092
- j(this, ie).push(t);
2122
+ D(this, ie).push(t);
2093
2123
  });
2094
2124
  _(this, "dispose", () => {
2095
- for (const t of j(this, ie))
2125
+ for (const t of D(this, ie))
2096
2126
  try {
2097
2127
  t();
2098
2128
  } catch (n) {
2099
2129
  console.error("Error in dispose callback:", n);
2100
2130
  }
2101
- j(this, ie).length = 0;
2131
+ D(this, ie).length = 0;
2102
2132
  });
2103
2133
  _(this, "disable", () => {
2104
- j(this, ae).disabled.set(!0);
2134
+ D(this, ae).disabled.set(!0);
2105
2135
  });
2106
2136
  _(this, "enable", () => {
2107
- j(this, ae).disabled.set(!1);
2137
+ D(this, ae).disabled.set(!1);
2108
2138
  });
2109
- _(this, "array", (t = ve) => new er(
2139
+ _(this, "array", (t = ve) => new tr(
2110
2140
  this.path,
2111
2141
  this.change,
2112
2142
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -2115,7 +2145,7 @@ const De = class De {
2115
2145
  this.parent,
2116
2146
  t
2117
2147
  ));
2118
- _(this, "object", (t = ve) => new Jt(
2148
+ _(this, "object", (t = ve) => new nr(
2119
2149
  this.path,
2120
2150
  this.change,
2121
2151
  this.value,
@@ -2123,30 +2153,30 @@ const De = class De {
2123
2153
  this.parent,
2124
2154
  t
2125
2155
  ));
2126
- _(this, "transform", (t, n, r = [], o = ve) => new De(
2156
+ _(this, "transform", (t, n, r = [], o = ve) => new He(
2127
2157
  [...this.path, ...r],
2128
2158
  (l) => this.change(n(l)),
2129
2159
  this.value.map(t, o),
2130
- this.status.map(je(r)),
2160
+ this.status.map(De(r)),
2131
2161
  this.parent
2132
2162
  ));
2133
2163
  this.path = t, this.change = n, this.value = r, this.status = o, this.error = o.map((a) => a.type === "Invalid" ? a.error : void 0), this.hasError = this.error.map((a) => a != null), this.dependencyErrors = o.map(
2134
2164
  (a) => a.type === "Invalid" ? a.dependencies : void 0
2135
2165
  ), this.parent = l, this.disabled = w(
2136
- j(this, ae).disabled,
2166
+ D(this, ae).disabled,
2137
2167
  l.disabled
2138
2168
  )((a, u) => a || u), this.onDispose(() => {
2139
- j(this, ae).disabled.dispose(), this.disabled.dispose(), this.error.dispose(), this.dependencyErrors.dispose();
2169
+ D(this, ae).disabled.dispose(), this.disabled.dispose(), this.error.dispose(), this.dependencyErrors.dispose();
2140
2170
  });
2141
2171
  }
2142
2172
  get name() {
2143
- return Qt(this.path);
2173
+ return er(this.path);
2144
2174
  }
2145
2175
  };
2146
2176
  ae = new WeakMap(), ie = new WeakMap();
2147
- let ce = De;
2177
+ let ce = He;
2148
2178
  var oe;
2149
- class Jt extends ce {
2179
+ class nr extends ce {
2150
2180
  constructor(n, r, o, l, a, u) {
2151
2181
  super(
2152
2182
  n,
@@ -2157,8 +2187,8 @@ class Jt extends ce {
2157
2187
  );
2158
2188
  he(this, oe, /* @__PURE__ */ new Map());
2159
2189
  _(this, "field", (n) => {
2160
- if (j(this, oe).has(n))
2161
- return j(this, oe).get(n);
2190
+ if (D(this, oe).has(n))
2191
+ return D(this, oe).get(n);
2162
2192
  const r = async (l) => {
2163
2193
  this.change({
2164
2194
  ...this.value.value,
@@ -2168,29 +2198,29 @@ class Jt extends ce {
2168
2198
  [...this.path, n],
2169
2199
  r,
2170
2200
  this.value.map((l) => l[n]),
2171
- this.status.map(je([n])),
2201
+ this.status.map(De([n])),
2172
2202
  { disabled: this.disabled }
2173
2203
  );
2174
- return j(this, oe).set(n, o), o;
2204
+ return D(this, oe).set(n, o), o;
2175
2205
  });
2176
2206
  this.onDispose(() => {
2177
- for (const c of j(this, oe).values())
2207
+ for (const c of D(this, oe).values())
2178
2208
  c.dispose();
2179
- j(this, oe).clear();
2209
+ D(this, oe).clear();
2180
2210
  });
2181
2211
  }
2182
2212
  }
2183
2213
  oe = new WeakMap();
2184
2214
  var ne;
2185
- class er extends ce {
2215
+ class tr extends ce {
2186
2216
  constructor(n, r, o, l, a, u) {
2187
- const c = o.map((h) => h ?? [], u);
2217
+ const c = o.map((d) => d ?? [], u);
2188
2218
  super(n, r, c, l, a);
2189
2219
  he(this, ne, new Array());
2190
2220
  _(this, "length");
2191
2221
  _(this, "item", (n) => {
2192
- if (j(this, ne)[n])
2193
- return j(this, ne)[n];
2222
+ if (D(this, ne)[n])
2223
+ return D(this, ne)[n];
2194
2224
  const r = async (l) => {
2195
2225
  const a = this.value.value.slice();
2196
2226
  a[n] = l, this.change(a);
@@ -2198,10 +2228,10 @@ class er extends ce {
2198
2228
  [...this.path, n],
2199
2229
  r,
2200
2230
  this.value.map((l) => l[n]),
2201
- this.status.map(je([n])),
2231
+ this.status.map(De([n])),
2202
2232
  { disabled: this.disabled }
2203
2233
  );
2204
- return j(this, ne)[n] = o, o;
2234
+ return D(this, ne)[n] = o, o;
2205
2235
  });
2206
2236
  _(this, "push", (...n) => {
2207
2237
  this.change([...this.value.value, ...n]);
@@ -2227,14 +2257,14 @@ class er extends ce {
2227
2257
  const l = this.value.value.slice(), a = l.splice(n, o);
2228
2258
  l.splice(r, 0, ...a), this.change(l);
2229
2259
  });
2230
- const i = c.on((h) => {
2231
- const p = j(this, ne).length - h.length;
2232
- p > 0 && j(this, ne).splice(h.length, p).forEach((m) => m.dispose());
2260
+ const i = c.on((d) => {
2261
+ const p = D(this, ne).length - d.length;
2262
+ p > 0 && D(this, ne).splice(d.length, p).forEach((b) => b.dispose());
2233
2263
  });
2234
- this.length = c.map((h) => h.length), this.onDispose(() => {
2235
- for (const h of j(this, ne))
2236
- h.dispose();
2237
- this.length.dispose(), j(this, ne).length = 0, i(), c.dispose();
2264
+ this.length = c.map((d) => d.length), this.onDispose(() => {
2265
+ for (const d of D(this, ne))
2266
+ d.dispose();
2267
+ this.length.dispose(), D(this, ne).length = 0, i(), c.dispose();
2238
2268
  });
2239
2269
  }
2240
2270
  }
@@ -2263,27 +2293,27 @@ const kn = {
2263
2293
  dispose: r
2264
2294
  };
2265
2295
  }
2266
- }, xo = () => Te(
2296
+ }, yo = () => Te(
2267
2297
  kn,
2268
2298
  ({ appearance: e }) => On("body", s.class(e.map((t) => `b-${t}`)))
2269
2299
  );
2270
- function nr({
2300
+ function rr({
2271
2301
  value: e,
2272
2302
  onChange: t
2273
2303
  }) {
2274
- return Zt({
2304
+ return Yt({
2275
2305
  size: "sm",
2276
2306
  value: e,
2277
2307
  options: {
2278
- system: d.span(
2308
+ system: h.span(
2279
2309
  s.title("System"),
2280
2310
  Z({ icon: "line-md:laptop", color: "gray" })
2281
2311
  ),
2282
- light: d.span(
2312
+ light: h.span(
2283
2313
  s.title("Light"),
2284
2314
  Z({ icon: "line-md:sunny-twotone-loop", color: "yellow" })
2285
2315
  ),
2286
- dark: d.span(
2316
+ dark: h.span(
2287
2317
  s.title("Dark"),
2288
2318
  Z({
2289
2319
  icon: "line-md:sunny-outline-to-moon-alt-loop-transition",
@@ -2329,55 +2359,55 @@ function nr({
2329
2359
  // }),
2330
2360
  });
2331
2361
  }
2332
- function vo() {
2362
+ function wo() {
2333
2363
  return Te(
2334
2364
  kn,
2335
- ({ appearancePreference: e, setAppearancePreference: t }) => nr({
2365
+ ({ appearancePreference: e, setAppearancePreference: t }) => rr({
2336
2366
  value: e,
2337
2367
  onChange: t
2338
2368
  })
2339
2369
  );
2340
2370
  }
2341
- const yo = (e) => {
2371
+ const $o = (e) => {
2342
2372
  const { value: t, onBlur: n, onChange: r, placeholder: o } = e;
2343
2373
  return z({
2344
2374
  growInput: !1,
2345
2375
  ...e,
2346
- input: d.span(
2376
+ input: h.span(
2347
2377
  s.class("bc-checkbox-input"),
2348
2378
  te.checkbox(
2349
2379
  U(e),
2350
2380
  s.checked(t),
2351
2381
  s.class("bc-checkbox-input__checkbox"),
2352
- n != null ? b.blur(E(n)) : y,
2353
- r != null ? b.change(jn(r)) : y
2382
+ n != null ? m.blur(E(n)) : y,
2383
+ r != null ? m.change(Dn(r)) : y
2354
2384
  ),
2355
- o != null ? d.span(
2385
+ o != null ? h.span(
2356
2386
  s.class("bc-checkbox-input__label"),
2357
2387
  Tt(o)
2358
2388
  ) : y
2359
2389
  )
2360
2390
  });
2361
- }, wo = ({
2391
+ }, Co = ({
2362
2392
  startEditing: e,
2363
2393
  value: t,
2364
2394
  onChange: n,
2365
2395
  placeholder: r
2366
2396
  }) => {
2367
2397
  const o = C.deriveProp(e ?? !1), l = R(!1);
2368
- return d.div(
2398
+ return h.div(
2369
2399
  s.class("bc-editable-text"),
2370
2400
  le(
2371
2401
  o,
2372
- () => d.input(
2402
+ () => h.input(
2373
2403
  s.placeholder(r),
2374
2404
  s.value(t),
2375
2405
  s.class("bc-editable-text__input"),
2376
2406
  Wn(),
2377
- b.keydown((a) => {
2407
+ m.keydown((a) => {
2378
2408
  a.key === "Enter" ? o.set(!1) : a.key === "Escape" && (l.set(!0), o.set(!1));
2379
2409
  }),
2380
- b.blur(
2410
+ m.blur(
2381
2411
  E((a) => {
2382
2412
  if (o.set(!1), l.value) {
2383
2413
  l.set(!1);
@@ -2387,27 +2417,27 @@ const yo = (e) => {
2387
2417
  })
2388
2418
  )
2389
2419
  ),
2390
- () => d.span(
2391
- b.click(() => o.set(!0)),
2420
+ () => h.span(
2421
+ m.click(() => o.set(!0)),
2392
2422
  s.class("bc-editable-text__display"),
2393
2423
  le(
2394
2424
  C.map(t, (a) => a != null && a.trim() !== ""),
2395
- () => d.span(s.class("bc-editable-text__text"), t),
2396
- () => d.span(
2425
+ () => h.span(s.class("bc-editable-text__text"), t),
2426
+ () => h.span(
2397
2427
  s.class("bc-editable-text__placeholder"),
2398
2428
  r
2399
2429
  )
2400
2430
  ),
2401
- d.button(
2431
+ h.button(
2402
2432
  s.class("bc-editable-text__edit-button"),
2403
2433
  Q.label("Edit"),
2404
- b.click(() => o.set(!0)),
2434
+ m.click(() => o.set(!0)),
2405
2435
  Z({ icon: "line-md/pencil" })
2406
2436
  )
2407
2437
  )
2408
2438
  )
2409
2439
  );
2410
- }, $o = ({
2440
+ }, So = ({
2411
2441
  value: e,
2412
2442
  onChange: t,
2413
2443
  offLabel: n,
@@ -2418,22 +2448,22 @@ const yo = (e) => {
2418
2448
  id: u
2419
2449
  }) => {
2420
2450
  const c = u ?? `switch-${Math.random().toString(36).substring(2, 11)}`, i = `${c}-label`;
2421
- function h(g, k) {
2451
+ function d(g, k) {
2422
2452
  const $ = ["bc-switch", `bu-text-${k}`, `bc-switch--${k}`];
2423
2453
  return g && $.push("bc-switch--disabled"), $.join(" ");
2424
2454
  }
2425
2455
  const p = () => {
2426
2456
  C.get(l) || t(!C.get(e));
2427
- }, m = (g) => {
2457
+ }, b = (g) => {
2428
2458
  C.get(l) || (g.key === " " || g.key === "Enter") && (g.preventDefault(), p());
2429
2459
  };
2430
- return d.div(
2460
+ return h.div(
2431
2461
  s.class(
2432
2462
  w(
2433
2463
  l ?? !1,
2434
2464
  a
2435
2465
  )(
2436
- (g, k) => h(g ?? !1, k ?? "md")
2466
+ (g, k) => d(g ?? !1, k ?? "md")
2437
2467
  )
2438
2468
  ),
2439
2469
  s.id(c),
@@ -2444,10 +2474,10 @@ const yo = (e) => {
2444
2474
  Q.checked(e),
2445
2475
  Q.disabled(l),
2446
2476
  Q.labelledby(o != null ? i : void 0),
2447
- b.click(p),
2448
- b.keydown(m),
2477
+ m.click(p),
2478
+ m.keydown(b),
2449
2479
  o != null ? dn(s.id(i), s.class(`bu-text-${a} bu-nowrap`), o) : null,
2450
- d.div(
2480
+ h.div(
2451
2481
  s.class("bc-switch__track"),
2452
2482
  s.class(
2453
2483
  C.map(
@@ -2455,7 +2485,7 @@ const yo = (e) => {
2455
2485
  (g) => g ? "bc-switch__track--on" : "bc-switch__track--off"
2456
2486
  )
2457
2487
  ),
2458
- n != null ? d.div(
2488
+ n != null ? h.div(
2459
2489
  Q.hidden(!0),
2460
2490
  s.class("bc-switch__track-label bc-switch__track-label--off"),
2461
2491
  s.class(
@@ -2466,7 +2496,7 @@ const yo = (e) => {
2466
2496
  ),
2467
2497
  n
2468
2498
  ) : null,
2469
- r != null ? d.div(
2499
+ r != null ? h.div(
2470
2500
  s.class("bc-switch__track-label bc-switch__track-label--on"),
2471
2501
  s.class(
2472
2502
  C.map(
@@ -2477,7 +2507,7 @@ const yo = (e) => {
2477
2507
  r
2478
2508
  ) : null,
2479
2509
  fe(
2480
- (g) => d.div(
2510
+ (g) => h.div(
2481
2511
  s.class("bc-switch__thumb"),
2482
2512
  s.class(
2483
2513
  C.map(
@@ -2513,7 +2543,7 @@ const yo = (e) => {
2513
2543
  )
2514
2544
  );
2515
2545
  };
2516
- function tr(e) {
2546
+ function or(e) {
2517
2547
  function t(n) {
2518
2548
  return typeof n == "number" ? n : n.toString();
2519
2549
  }
@@ -2521,9 +2551,9 @@ function tr(e) {
2521
2551
  (n) => typeof n == "object" && n.key != null ? t(n.key) : t(n)
2522
2552
  );
2523
2553
  }
2524
- function rr(e) {
2554
+ function lr(e) {
2525
2555
  const t = e.filter((o) => o.path == null || o.path.length === 0).map((o) => o.message), n = e.filter((o) => o.path != null && o.path.length > 0).reduce((o, l) => {
2526
- const a = tr(l.path), u = a.pop();
2556
+ const a = or(l.path), u = a.pop();
2527
2557
  let c = o;
2528
2558
  for (const i of a)
2529
2559
  c.dependencies == null && (c.dependencies = {}), c.dependencies[i] == null && (c.dependencies[i] = {}), c = c.dependencies[i];
@@ -2535,7 +2565,7 @@ function rr(e) {
2535
2565
  error: r != "" ? r : void 0
2536
2566
  };
2537
2567
  }
2538
- function or({
2568
+ function sr({
2539
2569
  defaultValue: e,
2540
2570
  onChange: t,
2541
2571
  validate: n
@@ -2553,54 +2583,54 @@ function or({
2553
2583
  }), u;
2554
2584
  }
2555
2585
  function xn(e) {
2556
- return D(s.disabled(e.disabled), s.name(e.name));
2586
+ return H(s.disabled(e.disabled), s.name(e.name));
2557
2587
  }
2558
- function Co(e, {
2588
+ function _o(e, {
2559
2589
  triggerOn: t = "change"
2560
2590
  } = {}) {
2561
- return D(
2591
+ return H(
2562
2592
  xn(e),
2563
2593
  s.value(e.value),
2564
- (t === "input" ? b.input : b.change)(E(e.change))
2594
+ (t === "input" ? m.input : m.change)(E(e.change))
2565
2595
  );
2566
2596
  }
2567
- function So(e, {
2597
+ function Eo(e, {
2568
2598
  triggerOn: t = "change"
2569
2599
  } = {}) {
2570
- return D(
2600
+ return H(
2571
2601
  xn(e),
2572
2602
  s.valueAsNumber(e.value),
2573
- (t === "input" ? b.input : b.change)(
2603
+ (t === "input" ? m.input : m.change)(
2574
2604
  $e(e.change)
2575
2605
  )
2576
2606
  );
2577
2607
  }
2578
- function lr(e) {
2608
+ function ar(e) {
2579
2609
  return e.issues != null ? {
2580
2610
  type: "Invalid",
2581
- ...rr(e.issues)
2611
+ ...lr(e.issues)
2582
2612
  } : { type: "Valid" };
2583
2613
  }
2584
- function _o({
2614
+ function Ao({
2585
2615
  defaultValue: e = {},
2586
2616
  schema: t
2587
2617
  }) {
2588
- return or({
2618
+ return sr({
2589
2619
  defaultValue: e,
2590
- validate: async (n) => lr(
2620
+ validate: async (n) => ar(
2591
2621
  await t["~standard"].validate(n)
2592
2622
  )
2593
2623
  }).object();
2594
2624
  }
2595
- const sr = ["!=", "<=", ">=", "<", ">", "="];
2596
- function ar(e) {
2597
- for (const t of sr)
2625
+ const cr = ["!=", "<=", ">=", "<", ">", "="];
2626
+ function ir(e) {
2627
+ for (const t of cr)
2598
2628
  if (typeof e == "string" && e.startsWith(t))
2599
2629
  return [t, e.slice(t.length)];
2600
2630
  return ["=", e];
2601
2631
  }
2602
- function cr(e, t, n) {
2603
- const [r, o] = ar(t), l = e.findIndex((c) => c[1] === o);
2632
+ function ur(e, t, n) {
2633
+ const [r, o] = ir(t), l = e.findIndex((c) => c[1] === o);
2604
2634
  if (l === -1)
2605
2635
  throw new Error(`Breakpoint ${String(o)} not found`);
2606
2636
  const a = e[l][0], u = l < e.length - 1 ? e[l + 1][0] : 1 / 0;
@@ -2621,7 +2651,7 @@ function cr(e, t, n) {
2621
2651
  return !1;
2622
2652
  }
2623
2653
  }
2624
- function Eo(e, t) {
2654
+ function To(e, t) {
2625
2655
  const n = e.findIndex((r) => r[0] > t) - 1;
2626
2656
  return n >= 0 ? e[n][1] : (e.length > 0 && t >= e[0][0], e[0][1]);
2627
2657
  }
@@ -2630,26 +2660,26 @@ function vn(e, { breakpoints: t, mode: n = "viewport" }) {
2630
2660
  ([a, u]) => [u, a]
2631
2661
  )].sort((a, u) => a[0] - u[0]), l = (a) => {
2632
2662
  const u = a.map(({ width: i }) => {
2633
- const h = o.findIndex((p) => p[0] > i) - 1;
2634
- return h >= 0 ? { width: i, breakpoint: o[h][1] } : o.length > 0 && i >= o[0][0] ? { width: i, breakpoint: o[0][1] } : { width: i, breakpoint: o[0][1] };
2663
+ const d = o.findIndex((p) => p[0] > i) - 1;
2664
+ return d >= 0 ? { width: i, breakpoint: o[d][1] } : o.length > 0 && i >= o[0][0] ? { width: i, breakpoint: o[0][1] } : { width: i, breakpoint: o[0][1] };
2635
2665
  });
2636
2666
  return e({
2637
2667
  value: u,
2638
2668
  breakpoints: t,
2639
2669
  asList: o,
2640
- is: (i, h) => cr(o, i, h)
2670
+ is: (i, d) => ur(o, i, d)
2641
2671
  });
2642
2672
  };
2643
2673
  return n === "element" ? fe(l) : Nn(l);
2644
2674
  }
2645
2675
  let ye = NaN;
2646
- function ir(e, t) {
2676
+ function dr(e, t) {
2647
2677
  return e ? (isNaN(ye) && (ye = parseFloat(getComputedStyle(document.documentElement).fontSize)), parseFloat(e) * ye) : t;
2648
2678
  }
2649
2679
  function F(e, t, n) {
2650
- return ir(e.getPropertyValue(t), n);
2680
+ return dr(e.getPropertyValue(t), n);
2651
2681
  }
2652
- function ur(e) {
2682
+ function hr(e) {
2653
2683
  return X((t) => {
2654
2684
  const n = getComputedStyle(t), r = {
2655
2685
  zero: 0,
@@ -2662,7 +2692,7 @@ function ur(e) {
2662
2692
  return vn(e, { breakpoints: r });
2663
2693
  });
2664
2694
  }
2665
- function Ao(e) {
2695
+ function Bo(e) {
2666
2696
  return X((t) => {
2667
2697
  const n = getComputedStyle(t), r = {
2668
2698
  zero: 0,
@@ -2703,25 +2733,25 @@ function yn({
2703
2733
  }, i = (x) => r.on((V) => {
2704
2734
  V === "closed" && x();
2705
2735
  });
2706
- let h = () => {
2736
+ let d = () => {
2707
2737
  };
2708
2738
  r.on((x) => {
2709
- switch (h(), x) {
2739
+ switch (d(), x) {
2710
2740
  case "start-opening":
2711
- h = re(() => r.set("opening"));
2741
+ d = re(() => r.set("opening"));
2712
2742
  break;
2713
2743
  case "opening":
2714
- h = t(() => r.set("opened"));
2744
+ d = t(() => r.set("opened"));
2715
2745
  break;
2716
2746
  case "start-closing":
2717
- h = re(() => r.set("closing"));
2747
+ d = re(() => r.set("closing"));
2718
2748
  break;
2719
2749
  case "closing":
2720
- h = n(() => r.set("closed"));
2750
+ d = n(() => r.set("closed"));
2721
2751
  break;
2722
2752
  }
2723
- }), r.onDispose(() => h());
2724
- const p = r.map((x) => x === "closed"), m = r.map((x) => x === "start-opening"), g = r.map((x) => x === "opening"), k = r.map((x) => x === "opened"), $ = r.map((x) => x === "closing"), S = r.map((x) => x === "start-closing");
2753
+ }), r.onDispose(() => d());
2754
+ const p = r.map((x) => x === "closed"), b = r.map((x) => x === "start-opening"), g = r.map((x) => x === "opening"), k = r.map((x) => x === "opened"), $ = r.map((x) => x === "closing"), S = r.map((x) => x === "start-closing");
2725
2755
  return {
2726
2756
  status: r,
2727
2757
  open: o,
@@ -2730,7 +2760,7 @@ function yn({
2730
2760
  setOpen: u,
2731
2761
  display: a,
2732
2762
  isClosed: p,
2733
- isStartOpening: m,
2763
+ isStartOpening: b,
2734
2764
  isOpening: g,
2735
2765
  isOpened: k,
2736
2766
  isClosing: $,
@@ -2739,7 +2769,7 @@ function yn({
2739
2769
  onClosed: i
2740
2770
  };
2741
2771
  }
2742
- function To({
2772
+ function Io({
2743
2773
  initialStatus: e = "closed",
2744
2774
  duration: t,
2745
2775
  openDuration: n = t ?? 500,
@@ -2763,8 +2793,8 @@ function ze(e, t) {
2763
2793
  i.target === e && o();
2764
2794
  }
2765
2795
  const c = re(() => {
2766
- var h, p;
2767
- if (typeof window < "u" && ((p = (h = window.navigator) == null ? void 0 : h.userAgent) == null ? void 0 : p.includes("jsdom"))) {
2796
+ var d, p;
2797
+ if (typeof window < "u" && ((p = (d = window.navigator) == null ? void 0 : d.userAgent) == null ? void 0 : p.includes("jsdom"))) {
2768
2798
  r = setTimeout(o, 16);
2769
2799
  return;
2770
2800
  }
@@ -2887,7 +2917,7 @@ function we(e) {
2887
2917
  e.every((n) => n[t] == null || n[t].startsWith("?")) && (e = e.map((n) => n.filter((r, o) => o !== t)), t--);
2888
2918
  return e = e.map((t) => t.map((n) => n != null && n.startsWith("?") ? n.slice(1) : n)), e;
2889
2919
  }
2890
- function dr({
2920
+ function pr({
2891
2921
  smallBreakpoint: e,
2892
2922
  mediumBreakpoint: t,
2893
2923
  vertical: n,
@@ -2904,13 +2934,13 @@ function dr({
2904
2934
  [null],
2905
2935
  [null]
2906
2936
  ];
2907
- const h = [];
2908
- h.push("1fr");
2937
+ const d = [];
2938
+ d.push("1fr");
2909
2939
  const p = [];
2910
2940
  return r.banner && (p.push(r.banner[c] + "px"), i[0][1] = "banner"), (r.header || n.menu || n.aside) && (p.push(
2911
2941
  (((g = r.header) == null ? void 0 : g[c]) ?? ee.header[c]) + "px"
2912
2942
  ), i[1][1] = "header"), r.mainHeader && (p.push(r.mainHeader[c] + "px"), i[2][1] = "mainHeader"), p.push("1fr"), i[3][1] = "main", r.mainFooter && (p.push(r.mainFooter[c] + "px"), i[4][1] = "mainFooter"), r.footer && (p.push(r.footer[c] + "px"), i[5][1] = "footer"), i = we(i), {
2913
- columns: h.join(" "),
2943
+ columns: d.join(" "),
2914
2944
  rows: p.join(" "),
2915
2945
  areas: i.map((k) => `"${k.join(" ")}"`).join(`
2916
2946
  `),
@@ -2930,13 +2960,13 @@ function dr({
2930
2960
  [null, null],
2931
2961
  [null, null]
2932
2962
  ];
2933
- const h = [];
2934
- n.menu && (h.push(n.menu[c] + "px"), i[2][0] = "?menu", i[3][0] = "menu", i[4][0] = "?menu"), h.push("1fr");
2963
+ const d = [];
2964
+ n.menu && (d.push(n.menu[c] + "px"), i[2][0] = "?menu", i[3][0] = "menu", i[4][0] = "?menu"), d.push("1fr");
2935
2965
  const p = [];
2936
2966
  return r.banner && (p.push(r.banner[c] + "px"), i[0][0] = "?banner", i[0][1] = "banner"), (r.header || n.aside) && (p.push(
2937
2967
  (((g = r.header) == null ? void 0 : g[c]) ?? ee.header[c]) + "px"
2938
2968
  ), i[1][0] = "?header", i[1][1] = "header"), r.mainHeader && (p.push(r.mainHeader[c] + "px"), i[2][1] = "mainHeader"), p.push("1fr"), i[3][1] = "main", r.mainFooter && (p.push(r.mainFooter[c] + "px"), i[4][1] = "mainFooter"), r.footer && (p.push(r.footer[c] + "px"), i[5][0] = "?footer", i[5][1] = "footer"), i = we(i), {
2939
- columns: h.join(" "),
2969
+ columns: d.join(" "),
2940
2970
  rows: p.join(" "),
2941
2971
  areas: i.map((k) => `"${k.join(" ")}"`).join(`
2942
2972
  `),
@@ -2955,11 +2985,11 @@ function dr({
2955
2985
  [null, null, null],
2956
2986
  [null, null, null]
2957
2987
  ];
2958
- const h = [];
2959
- n.menu && (h.push(n.menu[c] + "px"), i[2][0] = "?menu", i[3][0] = "menu", i[4][0] = "?menu"), h.push("1fr"), n.aside && (h.push(n.aside[c] + "px"), i[2][2] = "?aside", i[3][2] = "aside", i[4][2] = "?aside");
2988
+ const d = [];
2989
+ n.menu && (d.push(n.menu[c] + "px"), i[2][0] = "?menu", i[3][0] = "menu", i[4][0] = "?menu"), d.push("1fr"), n.aside && (d.push(n.aside[c] + "px"), i[2][2] = "?aside", i[3][2] = "aside", i[4][2] = "?aside");
2960
2990
  const p = [];
2961
2991
  return r.banner && (p.push(r.banner[c] + "px"), i[0][0] = "?banner", i[0][1] = "banner", i[0][2] = "?banner"), r.header && (p.push(r.header[c] + "px"), i[1][0] = "?header", i[1][1] = "header", i[1][2] = "?header"), r.mainHeader && (p.push(r.mainHeader[c] + "px"), i[2][1] = "mainHeader"), p.push("1fr"), i[3][1] = "main", r.mainFooter && (p.push(r.mainFooter[c] + "px"), i[4][1] = "mainFooter"), r.footer && (p.push(r.footer[c] + "px"), i[5][0] = "?footer", i[5][1] = "footer", i[5][2] = "?footer"), i = we(i), {
2962
- columns: h.join(" "),
2992
+ columns: d.join(" "),
2963
2993
  rows: p.join(" "),
2964
2994
  areas: i.map((g) => `"${g.join(" ")}"`).join(`
2965
2995
  `),
@@ -2974,65 +3004,65 @@ function dr({
2974
3004
  breakpoint: i
2975
3005
  }) => o(`<=${e}`, c) ? l(i) : o(`<=${t}`, c) ? a(i) : u(i);
2976
3006
  }
2977
- const hr = ["menu", "aside"], pr = [
3007
+ const gr = ["menu", "aside"], br = [
2978
3008
  "banner",
2979
3009
  "header",
2980
3010
  "mainHeader",
2981
3011
  "mainFooter",
2982
3012
  "footer"
2983
3013
  ];
2984
- function gr(e, { displayMenu: t }, n) {
3014
+ function mr(e, { displayMenu: t }, n) {
2985
3015
  return e ? t ? "block" : n ? "float" : "none" : "none";
2986
3016
  }
2987
- function br(e, { displayAside: t }, n) {
3017
+ function fr(e, { displayAside: t }, n) {
2988
3018
  return e ? t ? "block" : n ? "float" : "none" : "none";
2989
3019
  }
2990
- function Bo({
3020
+ function Vo({
2991
3021
  smallBreakpoint: e = "sm",
2992
3022
  mediumBreakpoint: t = "md",
2993
3023
  ...n
2994
3024
  }) {
2995
3025
  const r = Object.fromEntries(
2996
- hr.filter((l) => n[l]).map(
3026
+ gr.filter((l) => n[l]).map(
2997
3027
  (l) => [
2998
3028
  l,
2999
3029
  Ue(n[l].width ?? {}, ee[l])
3000
3030
  ]
3001
3031
  )
3002
3032
  ), o = Object.fromEntries(
3003
- pr.filter((l) => n[l]).map(
3033
+ br.filter((l) => n[l]).map(
3004
3034
  (l) => [
3005
3035
  l,
3006
3036
  Ue(n[l].height ?? {}, ee[l])
3007
3037
  ]
3008
3038
  )
3009
3039
  );
3010
- return ur(({ value: l, is: a }) => {
3040
+ return hr(({ value: l, is: a }) => {
3011
3041
  var x, V, Y, A, O, T, I, K, W, se;
3012
- const u = dr({
3042
+ const u = pr({
3013
3043
  smallBreakpoint: e,
3014
3044
  mediumBreakpoint: t,
3015
3045
  vertical: r,
3016
3046
  horizontal: o,
3017
3047
  is: a
3018
- }), c = l.map(u), i = o.header != null || r.menu != null || r.aside != null, h = w(
3048
+ }), c = l.map(u), i = o.header != null || r.menu != null || r.aside != null, d = w(
3019
3049
  r.aside != null,
3020
3050
  c
3021
- )((v, { displayAside: H }) => v && !H), p = w(
3051
+ )((v, { displayAside: j }) => v && !j), p = w(
3022
3052
  r.menu != null,
3023
3053
  c
3024
- )((v, { displayMenu: H }) => v && !H), m = de(), g = de(), k = R(0), $ = w(
3054
+ )((v, { displayMenu: j }) => v && !j), b = de(), g = de(), k = R(0), $ = w(
3025
3055
  r.menu != null,
3026
3056
  c,
3027
- m.display
3028
- )(gr), S = w(
3057
+ b.display
3058
+ )(mr), S = w(
3029
3059
  r.aside != null,
3030
3060
  c,
3031
3061
  g.display
3032
- )(br);
3033
- return d.div(
3062
+ )(fr);
3063
+ return h.div(
3034
3064
  N(() => {
3035
- k.dispose(), m.dispose(), g.dispose();
3065
+ k.dispose(), b.dispose(), g.dispose();
3036
3066
  }),
3037
3067
  f.height("100%"),
3038
3068
  f.display("grid"),
@@ -3041,7 +3071,7 @@ function Bo({
3041
3071
  f.gridTemplateAreas(c.$.areas),
3042
3072
  f.gridColumnGap("0"),
3043
3073
  f.gridRowGap("0"),
3044
- n.banner ? d.header(
3074
+ n.banner ? h.header(
3045
3075
  s.class(
3046
3076
  J(
3047
3077
  "none",
@@ -3053,7 +3083,7 @@ function Bo({
3053
3083
  f.gridArea("banner"),
3054
3084
  n.banner.content
3055
3085
  ) : null,
3056
- d.header(
3086
+ h.header(
3057
3087
  s.class(
3058
3088
  J(
3059
3089
  "bottom",
@@ -3065,10 +3095,10 @@ function Bo({
3065
3095
  f.display(i ? "block" : "none"),
3066
3096
  f.gridArea("header"),
3067
3097
  fe((v) => (v.$.bottom.feedProp(k), null)),
3068
- d.div(
3098
+ h.div(
3069
3099
  f.display("flex"),
3070
3100
  f.height("100%"),
3071
- d.div(
3101
+ h.div(
3072
3102
  f.display(
3073
3103
  p.map((v) => v ? "flex" : "none")
3074
3104
  ),
@@ -3078,30 +3108,30 @@ function Bo({
3078
3108
  f.width("60px"),
3079
3109
  ue(
3080
3110
  {
3081
- onClick: () => m.toggle(),
3111
+ onClick: () => b.toggle(),
3082
3112
  variant: "light",
3083
3113
  color: "base"
3084
3114
  },
3085
3115
  Q.label("Open menu"),
3086
3116
  Z({
3087
- icon: m.display.map(
3117
+ icon: b.display.map(
3088
3118
  (v) => v ? "line-md/menu-to-close-alt-transition" : "line-md/close-to-menu-alt-transition"
3089
3119
  )
3090
3120
  })
3091
3121
  )
3092
3122
  ),
3093
- d.div(
3123
+ h.div(
3094
3124
  f.height("100%"),
3095
3125
  f.flexGrow("1"),
3096
3126
  (Y = n.header) == null ? void 0 : Y.content
3097
3127
  ),
3098
- d.div(
3128
+ h.div(
3099
3129
  f.alignItems("center"),
3100
3130
  f.justifyContent("center"),
3101
3131
  f.height("100%"),
3102
3132
  f.width("60px"),
3103
3133
  f.display(
3104
- h.map((v) => v ? "flex" : "none")
3134
+ d.map((v) => v ? "flex" : "none")
3105
3135
  ),
3106
3136
  ue(
3107
3137
  {
@@ -3124,17 +3154,17 @@ function Bo({
3124
3154
  )
3125
3155
  )
3126
3156
  ),
3127
- n.menu ? d.nav(
3128
- X((v) => m.setElement(v)),
3157
+ n.menu ? h.nav(
3158
+ X((v) => b.setElement(v)),
3129
3159
  s.class("bu-z-10"),
3130
3160
  s.class(
3131
3161
  $.map(
3132
3162
  (v) => {
3133
- var H, He, Le, Fe;
3163
+ var j, je, Le, Fe;
3134
3164
  return v === "float" ? J(
3135
3165
  "right",
3136
- ((H = n.menu) == null ? void 0 : H.color) ?? "white",
3137
- ((He = n.menu) == null ? void 0 : He.shadow) ?? "md"
3166
+ ((j = n.menu) == null ? void 0 : j.color) ?? "white",
3167
+ ((je = n.menu) == null ? void 0 : je.shadow) ?? "md"
3138
3168
  ) : J(
3139
3169
  "right",
3140
3170
  ((Le = n.menu) == null ? void 0 : Le.color) ?? "white",
@@ -3148,28 +3178,28 @@ function Bo({
3148
3178
  f.display(
3149
3179
  w(
3150
3180
  $,
3151
- m.status
3152
- )((v, H) => v === "none" && H === "closed" ? "none" : "block")
3181
+ b.status
3182
+ )((v, j) => v === "none" && j === "closed" ? "none" : "block")
3153
3183
  ),
3154
3184
  f.position(
3155
3185
  w(
3156
3186
  $,
3157
- m.status
3158
- )((v, H) => v === "float" || v === "none" && H !== "closed" ? "fixed" : "initial")
3187
+ b.status
3188
+ )((v, j) => v === "float" || v === "none" && j !== "closed" ? "fixed" : "initial")
3159
3189
  ),
3160
3190
  f.top(k.map((v) => `${v}px`)),
3161
3191
  _e(
3162
3192
  "slide-right",
3163
3193
  w(
3164
3194
  $,
3165
- m.status
3166
- )((v, H) => v === "block" ? "opened" : H)
3195
+ b.status
3196
+ )((v, j) => v === "block" ? "opened" : j)
3167
3197
  ),
3168
3198
  f.width(c.$.menuWidth),
3169
3199
  f.bottom(k.map((v) => `${v}px`)),
3170
3200
  (A = n.menu) == null ? void 0 : A.content
3171
3201
  ) : null,
3172
- n.mainHeader ? d.header(
3202
+ n.mainHeader ? h.header(
3173
3203
  f.height("100%"),
3174
3204
  f.gridArea("mainHeader"),
3175
3205
  s.class(
@@ -3181,7 +3211,7 @@ function Bo({
3181
3211
  ),
3182
3212
  n.mainHeader.content
3183
3213
  ) : null,
3184
- d.main(
3214
+ h.main(
3185
3215
  f.height("100%"),
3186
3216
  f.overflow("hidden"),
3187
3217
  f.gridArea("main"),
@@ -3194,7 +3224,7 @@ function Bo({
3194
3224
  ),
3195
3225
  n.main.content
3196
3226
  ),
3197
- n.mainFooter ? d.footer(
3227
+ n.mainFooter ? h.footer(
3198
3228
  f.height("100%"),
3199
3229
  f.gridArea("mainFooter"),
3200
3230
  s.class(
@@ -3206,7 +3236,7 @@ function Bo({
3206
3236
  ),
3207
3237
  n.mainFooter.content
3208
3238
  ) : null,
3209
- n.aside ? d.aside(
3239
+ n.aside ? h.aside(
3210
3240
  X((v) => {
3211
3241
  g.setElement(v);
3212
3242
  }),
@@ -3222,13 +3252,13 @@ function Bo({
3222
3252
  w(
3223
3253
  S,
3224
3254
  g.status
3225
- )((v, H) => v === "none" && H === "closed" ? "none" : "block")
3255
+ )((v, j) => v === "none" && j === "closed" ? "none" : "block")
3226
3256
  ),
3227
3257
  f.position(
3228
3258
  w(
3229
3259
  S,
3230
3260
  g.status
3231
- )((v, H) => v === "float" || v === "none" && H !== "closed" ? "fixed" : "initial")
3261
+ )((v, j) => v === "float" || v === "none" && j !== "closed" ? "fixed" : "initial")
3232
3262
  ),
3233
3263
  f.top(k.map((v) => `${v}px`)),
3234
3264
  _e(
@@ -3236,13 +3266,13 @@ function Bo({
3236
3266
  w(
3237
3267
  S,
3238
3268
  g.status
3239
- )((v, H) => v === "block" ? "opened" : H)
3269
+ )((v, j) => v === "block" ? "opened" : j)
3240
3270
  ),
3241
3271
  f.width(c.$.asideWidth),
3242
3272
  f.bottom(k.map((v) => `${v}px`)),
3243
3273
  n.aside.content
3244
3274
  ) : null,
3245
- n.footer ? d.footer(
3275
+ n.footer ? h.footer(
3246
3276
  s.class(J("top", "white", "none")),
3247
3277
  f.height("100%"),
3248
3278
  f.gridArea("footer"),
@@ -3251,19 +3281,19 @@ function Bo({
3251
3281
  );
3252
3282
  });
3253
3283
  }
3254
- function mr(e, t, n) {
3284
+ function kr(e, t, n) {
3255
3285
  const r = ["bc-card"];
3256
3286
  return e !== "default" && r.push(`bc-card--${e}`), t !== "md" && r.push(`bc-card--padding-${t}`), n !== "lg" && r.push(`bc-card--rounded-${n}`), r.join(" ");
3257
3287
  }
3258
- function Io({ variant: e = "default", size: t = "md", roundedness: n = "lg" } = {}, ...r) {
3259
- return d.div(
3288
+ function Oo({ variant: e = "default", size: t = "md", roundedness: n = "lg" } = {}, ...r) {
3289
+ return h.div(
3260
3290
  s.class(
3261
3291
  w(
3262
3292
  e,
3263
3293
  t,
3264
3294
  n
3265
3295
  )(
3266
- (o, l, a) => mr(
3296
+ (o, l, a) => kr(
3267
3297
  o ?? "default",
3268
3298
  l ?? "md",
3269
3299
  a ?? "lg"
@@ -3273,19 +3303,19 @@ function Io({ variant: e = "default", size: t = "md", roundedness: n = "lg" } =
3273
3303
  ...r
3274
3304
  );
3275
3305
  }
3276
- function Vo(...e) {
3277
- return d.div(
3306
+ function Do(...e) {
3307
+ return h.div(
3278
3308
  s.class("bc-center-h"),
3279
- d.div(s.class("bc-center__content"), ...e)
3309
+ h.div(s.class("bc-center__content"), ...e)
3280
3310
  );
3281
3311
  }
3282
- function fr(e) {
3312
+ function xr(e) {
3283
3313
  const t = ["bc-center"];
3284
3314
  return e !== "lg" && t.push(`bc-center--gap-${e}`), t.join(" ");
3285
3315
  }
3286
- function Oo({ gap: e = "lg" } = {}, ...t) {
3287
- return d.div(
3288
- s.class(w(e)((n) => fr(n ?? "lg"))),
3316
+ function Ho({ gap: e = "lg" } = {}, ...t) {
3317
+ return h.div(
3318
+ s.class(w(e)((n) => xr(n ?? "lg"))),
3289
3319
  ...t
3290
3320
  );
3291
3321
  }
@@ -3300,7 +3330,7 @@ function jo(e, t = 0, n = () => !0) {
3300
3330
  r != null && clearTimeout(r);
3301
3331
  }), l;
3302
3332
  }
3303
- function kr({ open: e }, ...t) {
3333
+ function vr({ open: e }, ...t) {
3304
3334
  return X((n) => {
3305
3335
  const { status: r, setOpen: o, dispose: l } = de({
3306
3336
  initialStatus: C.get(e) ? "opened" : "closed",
@@ -3311,16 +3341,16 @@ function kr({ open: e }, ...t) {
3311
3341
  return w(
3312
3342
  r,
3313
3343
  a.$.height
3314
- )((i, h) => i === "opened" && h > 0 ? h : null).on((i) => {
3344
+ )((i, d) => i === "opened" && d > 0 ? d : null).on((i) => {
3315
3345
  i != null && u.set(i);
3316
3346
  }), r.on((i) => {
3317
3347
  if (n && i === "start-opening") {
3318
- const h = n.style.height, p = n.style.transition;
3348
+ const d = n.style.height, p = n.style.transition;
3319
3349
  n.style.transition = "none", n.style.height = "auto", n.offsetHeight;
3320
- const m = n.scrollHeight;
3321
- m > 0 && u.set(m), n.style.height = h, n.style.transition = p, n.offsetHeight;
3350
+ const b = n.scrollHeight;
3351
+ b > 0 && u.set(b), n.style.height = d, n.style.transition = p, n.offsetHeight;
3322
3352
  }
3323
- }), D(
3353
+ }), H(
3324
3354
  N(l),
3325
3355
  N(u.dispose),
3326
3356
  s.style(
@@ -3332,8 +3362,8 @@ function kr({ open: e }, ...t) {
3332
3362
  });
3333
3363
  });
3334
3364
  }
3335
- function Do(...e) {
3336
- return d.div(s.class("bc-group"), ...e);
3365
+ function Lo(...e) {
3366
+ return h.div(s.class("bc-group"), ...e);
3337
3367
  }
3338
3368
  function Ge({
3339
3369
  header: e,
@@ -3346,7 +3376,7 @@ function Ge({
3346
3376
  const c = u.scrollTop === 0, i = u.scrollTop + u.clientHeight >= u.scrollHeight - 1;
3347
3377
  c && i ? o.set("none") : c ? o.set("bottom") : i ? o.set("top") : o.set("both");
3348
3378
  }
3349
- return d.div(
3379
+ return h.div(
3350
3380
  s.class("bc-scrollable-panel"),
3351
3381
  s.class(
3352
3382
  w(
@@ -3366,36 +3396,36 @@ function Ge({
3366
3396
  }
3367
3397
  })
3368
3398
  ),
3369
- e && d.div(s.class("bc-scrollable-panel__header"), e),
3370
- d.div(s.class("bc-scrollable-panel--header-shadow"), d.div()),
3371
- d.div(
3399
+ e && h.div(s.class("bc-scrollable-panel__header"), e),
3400
+ h.div(s.class("bc-scrollable-panel--header-shadow"), h.div()),
3401
+ h.div(
3372
3402
  s.class("bc-scrollable-panel__body"),
3373
3403
  X(
3374
3404
  (u) => N(re(() => l(u)))
3375
3405
  ),
3376
- b.scroll((u) => {
3406
+ m.scroll((u) => {
3377
3407
  const c = u.target;
3378
3408
  l(c);
3379
3409
  }),
3380
3410
  n
3381
3411
  ),
3382
- d.div(s.class("bc-scrollable-panel--footer-shadow"), d.div()),
3383
- t && d.div(s.class("bc-scrollable-panel__footer"), t)
3412
+ h.div(s.class("bc-scrollable-panel--footer-shadow"), h.div()),
3413
+ t && h.div(s.class("bc-scrollable-panel__footer"), t)
3384
3414
  );
3385
3415
  }
3386
- function xr(e, t, n) {
3416
+ function yr(e, t, n) {
3387
3417
  const r = ["bc-sink"];
3388
3418
  return e !== "default" && r.push(`bc-sink--${e}`), t !== "md" && r.push(`bc-sink--padding-${t}`), n !== "lg" && r.push(`bc-sink--rounded-${n}`), r.join(" ");
3389
3419
  }
3390
- function Ho({ variant: e = "default", size: t = "md", roundedness: n = "lg" } = {}, ...r) {
3391
- return d.div(
3420
+ function Fo({ variant: e = "default", size: t = "md", roundedness: n = "lg" } = {}, ...r) {
3421
+ return h.div(
3392
3422
  s.class(
3393
3423
  w(
3394
3424
  e,
3395
3425
  t,
3396
3426
  n
3397
3427
  )(
3398
- (o, l, a) => xr(
3428
+ (o, l, a) => yr(
3399
3429
  o ?? "default",
3400
3430
  l ?? "md",
3401
3431
  a ?? "lg"
@@ -3405,13 +3435,13 @@ function Ho({ variant: e = "default", size: t = "md", roundedness: n = "lg" } =
3405
3435
  ...r
3406
3436
  );
3407
3437
  }
3408
- function Lo(...e) {
3409
- return d.div(s.class("bc-stack"), ...e);
3438
+ function Mo(...e) {
3439
+ return h.div(s.class("bc-stack"), ...e);
3410
3440
  }
3411
- function vr(e) {
3441
+ function wr(e) {
3412
3442
  return e.startsWith("top") ? "flyout-top" : e.startsWith("bottom") ? "flyout-bottom" : e.startsWith("left") ? "flyout-left" : e.startsWith("right") ? "flyout-right" : "scale-fade";
3413
3443
  }
3414
- function yr(e) {
3444
+ function $r(e) {
3415
3445
  const {
3416
3446
  content: t,
3417
3447
  placement: n = "top",
@@ -3422,9 +3452,9 @@ function yr(e) {
3422
3452
  showOn: u = "hover-focus",
3423
3453
  closable: c = !0,
3424
3454
  arrow: i,
3425
- role: h
3455
+ role: d
3426
3456
  } = e;
3427
- return Rn((p, m) => {
3457
+ return Rn((p, b) => {
3428
3458
  const g = de({
3429
3459
  initialStatus: "closed"
3430
3460
  });
@@ -3442,16 +3472,16 @@ function yr(e) {
3442
3472
  arrow: i,
3443
3473
  content: X((W) => (g.setElement(W), S = re(() => {
3444
3474
  g.open(), S = null;
3445
- }), D(
3475
+ }), H(
3446
3476
  N(() => {
3447
3477
  V();
3448
3478
  }),
3449
3479
  s.class("bc-flyout"),
3450
3480
  _e(
3451
- C.map(n, vr),
3481
+ C.map(n, wr),
3452
3482
  g.status
3453
3483
  ),
3454
- h ? s.role(h) : null,
3484
+ d ? s.role(d) : null,
3455
3485
  t()
3456
3486
  )))
3457
3487
  });
@@ -3472,37 +3502,37 @@ function yr(e) {
3472
3502
  let T = null;
3473
3503
  function I() {
3474
3504
  if (A != null && (clearTimeout(A), A = null), T != null && (clearTimeout(T), T = null), S && (S(), S = null, x)) {
3475
- m(), V();
3505
+ b(), V();
3476
3506
  return;
3477
3507
  }
3478
3508
  const W = C.get(o);
3479
3509
  T = setTimeout(() => {
3480
3510
  T = null, $ && ($(), $ = null), g.close(), $ = g.onClosed(() => {
3481
- m(), V();
3511
+ b(), V();
3482
3512
  });
3483
3513
  }, W);
3484
3514
  }
3485
3515
  if (typeof u == "function")
3486
3516
  return u(O, I);
3487
3517
  const K = u;
3488
- return D(
3518
+ return H(
3489
3519
  N(() => {
3490
3520
  g.dispose();
3491
3521
  }),
3492
- Dn(K, {
3493
- "hover-focus": () => D(
3494
- b.mouseenter(() => O()),
3495
- b.mouseleave(() => I()),
3496
- b.focus(() => O()),
3497
- b.blur(() => I())
3522
+ Hn(K, {
3523
+ "hover-focus": () => H(
3524
+ m.mouseenter(() => O()),
3525
+ m.mouseleave(() => I()),
3526
+ m.focus(() => O()),
3527
+ m.blur(() => I())
3498
3528
  ),
3499
- hover: () => D(
3500
- b.mouseenter(() => O()),
3501
- b.mouseleave(() => I())
3529
+ hover: () => H(
3530
+ m.mouseenter(() => O()),
3531
+ m.mouseleave(() => I())
3502
3532
  ),
3503
- focus: () => D(
3504
- b.focus(() => O()),
3505
- b.blur(() => I())
3533
+ focus: () => H(
3534
+ m.focus(() => O()),
3535
+ m.blur(() => I())
3506
3536
  ),
3507
3537
  click: () => {
3508
3538
  function W() {
@@ -3511,9 +3541,9 @@ function yr(e) {
3511
3541
  function se() {
3512
3542
  W(), I();
3513
3543
  }
3514
- return D(
3544
+ return H(
3515
3545
  N(W),
3516
- b.click(() => {
3546
+ m.click(() => {
3517
3547
  O(), re(() => {
3518
3548
  document.addEventListener("click", se, {
3519
3549
  once: !0
@@ -3528,7 +3558,7 @@ function yr(e) {
3528
3558
  });
3529
3559
  }
3530
3560
  function Ze({ rail: e }, ...t) {
3531
- return d.div(
3561
+ return h.div(
3532
3562
  s.class(
3533
3563
  C.map(
3534
3564
  e ?? !1,
@@ -3539,49 +3569,49 @@ function Ze({ rail: e }, ...t) {
3539
3569
  ...t
3540
3570
  );
3541
3571
  }
3542
- function wr(e, ...t) {
3572
+ function Cr(e, ...t) {
3543
3573
  return zn({ href: e.href, withViewTransition: !0 }, ...t);
3544
3574
  }
3545
- function $r(...e) {
3546
- return d.span(...e);
3575
+ function Sr(...e) {
3576
+ return h.span(...e);
3547
3577
  }
3548
- function Cr(e, ...t) {
3549
- return d.button(b.click(e.onClick), ...t);
3578
+ function _r(e, ...t) {
3579
+ return h.button(m.click(e.onClick), ...t);
3550
3580
  }
3551
- function Sr(e) {
3581
+ function Er(e) {
3552
3582
  var n;
3553
3583
  const t = [s.class("bc-sidebar-link")];
3554
3584
  return e.icon != null && t.push(
3555
- d.span(
3585
+ h.span(
3556
3586
  s.class("bc-sidebar-link--icon"),
3557
3587
  Z({ icon: e.icon })
3558
3588
  )
3559
3589
  ), t.push(
3560
- d.span(s.class("bc-sidebar-link__content"), e.content)
3590
+ h.span(s.class("bc-sidebar-link__content"), e.content)
3561
3591
  ), e.right != null && t.push(
3562
- d.span(s.class("bc-sidebar-link__right"), e.right)
3592
+ h.span(s.class("bc-sidebar-link__right"), e.right)
3563
3593
  ), e.action != null && t.push(
3564
- d.button(
3594
+ h.button(
3565
3595
  s.class("bc-sidebar-link--action"),
3566
- b.click((r, o) => {
3596
+ m.click((r, o) => {
3567
3597
  var l, a;
3568
3598
  (a = (l = e.action) == null ? void 0 : l.onClick) == null || a.call(l, o);
3569
3599
  }),
3570
3600
  Z({ icon: (n = e.action) == null ? void 0 : n.icon })
3571
3601
  )
3572
- ), "onClick" in e ? Cr(e, ...t) : Te(qn, (r) => {
3602
+ ), "onClick" in e ? _r(e, ...t) : Te(qn, (r) => {
3573
3603
  const o = w(
3574
3604
  r,
3575
3605
  e.href
3576
3606
  )(({ pathname: l }, a) => l === a);
3577
3607
  return le(
3578
3608
  o,
3579
- () => $r(...t),
3580
- () => wr(e, ...t)
3609
+ () => Sr(...t),
3610
+ () => Cr(e, ...t)
3581
3611
  );
3582
3612
  });
3583
3613
  }
3584
- function Fo({
3614
+ function Po({
3585
3615
  rail: e = !0,
3586
3616
  icon: t,
3587
3617
  header: n,
@@ -3596,24 +3626,24 @@ function Fo({
3596
3626
  (a) => a ? "bc-sidebar-group-collapsible--open" : "bc-sidebar-group-collapsible--closed"
3597
3627
  )
3598
3628
  ),
3599
- Sr({
3629
+ Er({
3600
3630
  icon: t,
3601
3631
  onClick: () => l.update((a) => !a),
3602
- right: d.span(
3632
+ right: h.span(
3603
3633
  s.class("bc-sidebar-group-collapsible-indicator"),
3604
3634
  Z({ icon: "lucide:chevron-down", color: "base" })
3605
3635
  ),
3606
3636
  content: n
3607
3637
  }),
3608
- Ze({ rail: e }, kr({ open: l }, ...o))
3638
+ Ze({ rail: e }, vr({ open: l }, ...o))
3609
3639
  );
3610
3640
  }
3611
- function Mo(e, t) {
3641
+ function Wo(e, t) {
3612
3642
  return e(() => {
3613
3643
  });
3614
3644
  }
3615
3645
  function wn(e) {
3616
- return Hn((t) => {
3646
+ return jn((t) => {
3617
3647
  const n = [], r = () => n.forEach((l) => l());
3618
3648
  return e(({
3619
3649
  effect: l = "opaque",
@@ -3621,12 +3651,12 @@ function wn(e) {
3621
3651
  onClickOutside: u,
3622
3652
  onEscape: c,
3623
3653
  content: i,
3624
- container: h = "body"
3654
+ container: d = "body"
3625
3655
  }) => {
3626
- h === "body" && (t = t.makePortal("body"));
3656
+ d === "body" && (t = t.makePortal("body"));
3627
3657
  const p = de();
3628
3658
  p.onClosed(r);
3629
- let m = () => {
3659
+ let b = () => {
3630
3660
  }, g = () => {
3631
3661
  };
3632
3662
  const k = (A) => {
@@ -3634,12 +3664,12 @@ function wn(e) {
3634
3664
  }, $ = () => {
3635
3665
  u == null || u(), p.close();
3636
3666
  }, S = (A) => {
3637
- m(), g(), A === "capturing" ? (document.addEventListener("keydown", k), m = () => document.removeEventListener("keydown", k), t.element.addEventListener("mousedown", $), g = () => t.element.removeEventListener("mousedown", $)) : (m = () => {
3667
+ b(), g(), A === "capturing" ? (document.addEventListener("keydown", k), b = () => document.removeEventListener("keydown", k), t.element.addEventListener("mousedown", $), g = () => t.element.removeEventListener("mousedown", $)) : (b = () => {
3638
3668
  }, g = () => {
3639
3669
  });
3640
3670
  }, x = C.on(a, S);
3641
3671
  n.push(x), n.push(() => {
3642
- m(), g();
3672
+ b(), g();
3643
3673
  });
3644
3674
  const Y = Ln((() => {
3645
3675
  var O, T;
@@ -3654,7 +3684,7 @@ function wn(e) {
3654
3684
  ))
3655
3685
  A.has(I) || I.removeAttribute("inert");
3656
3686
  A.clear();
3657
- }), (T = (O = document.activeElement) == null ? void 0 : O.blur) == null || T.call(O), d.div(
3687
+ }), (T = (O = document.activeElement) == null ? void 0 : O.blur) == null || T.call(O), h.div(
3658
3688
  X((I) => p.setElement(I)),
3659
3689
  We.status(p.status.map(String)),
3660
3690
  We.overlay("true"),
@@ -3677,7 +3707,7 @@ function wn(e) {
3677
3707
  }, r);
3678
3708
  });
3679
3709
  }
3680
- function _r(e, t) {
3710
+ function Ar(e, t) {
3681
3711
  const {
3682
3712
  size: n = "md",
3683
3713
  dismissable: r = !0,
@@ -3687,11 +3717,11 @@ function _r(e, t) {
3687
3717
  container: u = "body",
3688
3718
  position: c = "center"
3689
3719
  } = e;
3690
- return wn((i, h) => {
3720
+ return wn((i, d) => {
3691
3721
  let p = () => {
3692
3722
  };
3693
3723
  return t((k) => {
3694
- p = h;
3724
+ p = d;
3695
3725
  const $ = R("capturing");
3696
3726
  C.on(r, (V) => {
3697
3727
  $.set(V ? "capturing" : "non-capturing");
@@ -3699,7 +3729,7 @@ function _r(e, t) {
3699
3729
  const S = w(
3700
3730
  k.header != null,
3701
3731
  o
3702
- )((V, Y) => V || Y), x = d.div(
3732
+ )((V, Y) => V || Y), x = h.div(
3703
3733
  s.class(
3704
3734
  w(
3705
3735
  n,
@@ -3708,17 +3738,17 @@ function _r(e, t) {
3708
3738
  (V, Y) => `bc-modal bc-modal--size-${V} bc-modal--container-${u} bc-modal--position-${Y}`
3709
3739
  )
3710
3740
  ),
3711
- b.mousedown((V) => V.stopPropagation()),
3741
+ m.mousedown((V) => V.stopPropagation()),
3712
3742
  // Prevent overlay click-outside when clicking modal content
3713
3743
  // Modal content container
3714
- d.div(
3744
+ h.div(
3715
3745
  s.class("bc-modal__content"),
3716
3746
  // Header section
3717
3747
  le(
3718
3748
  S,
3719
- () => d.div(
3749
+ () => h.div(
3720
3750
  s.class("bc-modal__header"),
3721
- d.div(k.header),
3751
+ h.div(k.header),
3722
3752
  le(
3723
3753
  o,
3724
3754
  () => ue(
@@ -3726,7 +3756,7 @@ function _r(e, t) {
3726
3756
  variant: "text",
3727
3757
  size: "sm",
3728
3758
  onClick: () => {
3729
- p(), h();
3759
+ p(), d();
3730
3760
  }
3731
3761
  },
3732
3762
  Q.label("Close modal"),
@@ -3736,9 +3766,9 @@ function _r(e, t) {
3736
3766
  )
3737
3767
  ),
3738
3768
  // Body section
3739
- d.div(s.class("bc-modal__body"), k.body),
3769
+ h.div(s.class("bc-modal__body"), k.body),
3740
3770
  // Footer section
3741
- k.footer && d.div(s.class("bc-modal__footer"), k.footer)
3771
+ k.footer && h.div(s.class("bc-modal__footer"), k.footer)
3742
3772
  )
3743
3773
  );
3744
3774
  i({
@@ -3747,18 +3777,18 @@ function _r(e, t) {
3747
3777
  container: u,
3748
3778
  content: x,
3749
3779
  onClickOutside: () => {
3750
- l == null || l(), h();
3780
+ l == null || l(), d();
3751
3781
  },
3752
3782
  onEscape: () => {
3753
- l == null || l(), h();
3783
+ l == null || l(), d();
3754
3784
  }
3755
3785
  });
3756
3786
  }, () => {
3757
- p(), h();
3787
+ p(), d();
3758
3788
  });
3759
3789
  });
3760
3790
  }
3761
- function Po(e, t) {
3791
+ function No(e, t) {
3762
3792
  const {
3763
3793
  confirmText: n = "Confirm",
3764
3794
  cancelText: r = "Cancel",
@@ -3766,23 +3796,23 @@ function Po(e, t) {
3766
3796
  onCancel: l,
3767
3797
  ...a
3768
3798
  } = e;
3769
- return _r(
3799
+ return Ar(
3770
3800
  { showCloseButton: !1, ...a },
3771
3801
  (u, c) => {
3772
3802
  const i = () => {
3773
3803
  o == null || o(), c();
3774
- }, h = () => {
3804
+ }, d = () => {
3775
3805
  l == null || l(), c();
3776
3806
  };
3777
- return t((m) => {
3807
+ return t((b) => {
3778
3808
  u({
3779
- body: m,
3780
- footer: D(
3809
+ body: b,
3810
+ footer: H(
3781
3811
  s.class("bu-justify-end"),
3782
3812
  ue(
3783
3813
  {
3784
3814
  variant: "outline",
3785
- onClick: h
3815
+ onClick: d
3786
3816
  },
3787
3817
  r
3788
3818
  ),
@@ -3800,7 +3830,7 @@ function Po(e, t) {
3800
3830
  }
3801
3831
  );
3802
3832
  }
3803
- function Wo(e) {
3833
+ function Ro(e) {
3804
3834
  return wn((t, n) => {
3805
3835
  let r = n;
3806
3836
  const o = () => r();
@@ -3808,9 +3838,9 @@ function Wo(e) {
3808
3838
  const {
3809
3839
  size: c = "md",
3810
3840
  side: i = "right",
3811
- dismissable: h = !0,
3841
+ dismissable: d = !0,
3812
3842
  showCloseButton: p = !0,
3813
- onClose: m,
3843
+ onClose: b,
3814
3844
  overlayEffect: g = "opaque",
3815
3845
  container: k = "body",
3816
3846
  header: $,
@@ -3819,7 +3849,7 @@ function Wo(e) {
3819
3849
  } = u;
3820
3850
  r = n;
3821
3851
  const V = R("capturing");
3822
- C.on(h, (O) => {
3852
+ C.on(d, (O) => {
3823
3853
  V.set(O ? "capturing" : "non-capturing");
3824
3854
  });
3825
3855
  const Y = w(
@@ -3834,7 +3864,7 @@ function Wo(e) {
3834
3864
  T.close(), T.onClosed(() => {
3835
3865
  n();
3836
3866
  });
3837
- }, re(() => T.open()), d.div(
3867
+ }, re(() => T.open()), h.div(
3838
3868
  s.class(
3839
3869
  w(
3840
3870
  c,
@@ -3844,13 +3874,13 @@ function Wo(e) {
3844
3874
  (K, W, se) => `bc-drawer bc-drawer--size-${K} bc-drawer--container-${k} bc-drawer--side-${W} bc-drawer--status-${se}`
3845
3875
  )
3846
3876
  ),
3847
- b.mousedown((K) => K.stopPropagation()),
3877
+ m.mousedown((K) => K.stopPropagation()),
3848
3878
  // Prevent overlay click-outside when clicking drawer content
3849
3879
  // Drawer content container
3850
3880
  Fn(Y, (K) => Ge(K ? {
3851
- header: d.div(
3881
+ header: h.div(
3852
3882
  s.class("bc-drawer__header"),
3853
- d.div($),
3883
+ h.div($),
3854
3884
  le(
3855
3885
  p,
3856
3886
  () => ue(
@@ -3864,11 +3894,11 @@ function Wo(e) {
3864
3894
  )
3865
3895
  )
3866
3896
  ),
3867
- body: d.div(s.class("bc-drawer__body"), S),
3868
- footer: x && d.div(s.class("bc-drawer__footer"), x)
3897
+ body: h.div(s.class("bc-drawer__body"), S),
3898
+ footer: x && h.div(s.class("bc-drawer__footer"), x)
3869
3899
  } : {
3870
- body: d.div(s.class("bc-drawer__body"), S),
3871
- footer: x && d.div(s.class("bc-drawer__footer"), x)
3900
+ body: h.div(s.class("bc-drawer__body"), S),
3901
+ footer: x && h.div(s.class("bc-drawer__footer"), x)
3872
3902
  }))
3873
3903
  );
3874
3904
  });
@@ -3878,10 +3908,10 @@ function Wo(e) {
3878
3908
  container: k,
3879
3909
  content: A,
3880
3910
  onClickOutside: () => {
3881
- m == null || m(), o();
3911
+ b == null || b(), o();
3882
3912
  },
3883
3913
  onEscape: () => {
3884
- m == null || m(), o();
3914
+ b == null || b(), o();
3885
3915
  }
3886
3916
  });
3887
3917
  }, () => {
@@ -3889,7 +3919,7 @@ function Wo(e) {
3889
3919
  });
3890
3920
  });
3891
3921
  }
3892
- function Er(e) {
3922
+ function Tr(e) {
3893
3923
  const t = {
3894
3924
  up: "M0 16 L8 10 L16 16 Z",
3895
3925
  down: "M0 0 L8 6 L16 0 Z",
@@ -3901,7 +3931,7 @@ function Er(e) {
3901
3931
  Ne.path(Re.d(e.map((n) => t[n])))
3902
3932
  );
3903
3933
  }
3904
- function No(e) {
3934
+ function qo(e) {
3905
3935
  const {
3906
3936
  content: t,
3907
3937
  placement: n = "top",
@@ -3911,8 +3941,8 @@ function No(e) {
3911
3941
  crossAxisOffset: a = 0,
3912
3942
  showOn: u = "hover-focus"
3913
3943
  } = e;
3914
- return yr({
3915
- content: () => D(s.class("bc-tooltip"), s.role("tooltip"), t),
3944
+ return $r({
3945
+ content: () => H(s.class("bc-tooltip"), s.role("tooltip"), t),
3916
3946
  placement: n,
3917
3947
  showDelay: r,
3918
3948
  hideDelay: o,
@@ -3924,102 +3954,103 @@ function No(e) {
3924
3954
  arrow: (c) => {
3925
3955
  const i = c.map(
3926
3956
  ({
3927
- placement: h
3928
- }) => h.includes("top") ? "down" : h.includes("bottom") ? "up" : h.includes("left") ? "right" : h.includes("right") ? "left" : "up"
3957
+ placement: d
3958
+ }) => d.includes("top") ? "down" : d.includes("bottom") ? "up" : d.includes("left") ? "right" : d.includes("right") ? "left" : "up"
3929
3959
  );
3930
- return D(
3960
+ return H(
3931
3961
  s.class("bc-tooltip__arrow"),
3932
- s.class(i.map((h) => `bc-tooltip__arrow-${h}`)),
3962
+ s.class(i.map((d) => `bc-tooltip__arrow-${d}`)),
3933
3963
  f.transform(
3934
- c.map(({ x: h, y: p }) => h == null && p == null ? "" : h != null ? `translate(${h}px, 0)` : `translate(0, ${p}px)`)
3964
+ c.map(({ x: d, y: p }) => d == null && p == null ? "" : d != null ? `translate(${d}px, 0)` : `translate(0, ${p}px)`)
3935
3965
  ),
3936
- Er(i)
3966
+ Tr(i)
3937
3967
  );
3938
3968
  }
3939
3969
  });
3940
3970
  }
3941
3971
  export {
3942
3972
  _e as AnimatedToggleClass,
3943
- Bo as AppShell,
3944
- nr as AppearanceSelector,
3945
- er as ArrayController,
3973
+ Vo as AppShell,
3974
+ rr as AppearanceSelector,
3975
+ tr as ArrayController,
3946
3976
  ue as Button,
3947
- Io as Card,
3948
- Oo as Center,
3949
- Vo as CenterH,
3950
- yo as CheckboxInput,
3951
- kr as Collapse,
3952
- Fo as CollapsibleSidebarGroup,
3977
+ Oo as Card,
3978
+ Ho as Center,
3979
+ Do as CenterH,
3980
+ $o as CheckboxInput,
3981
+ vr as Collapse,
3982
+ Po as CollapsibleSidebarGroup,
3953
3983
  U as CommonInputAttributes,
3954
- Po as ConfirmModal,
3984
+ No as ConfirmModal,
3955
3985
  M as ControlInputWrapper,
3956
3986
  ce as Controller,
3957
- Kr as DateControl,
3987
+ Jr as DateControl,
3958
3988
  hn as DateInput,
3959
- Qr as DateTimeControl,
3960
- Dt as DateTimeInput,
3961
- Wo as Drawer,
3962
- wo as EditableText,
3963
- Jr as EmailControl,
3964
- Ht as EmailInput,
3965
- Gr as EmphasisLabel,
3966
- mo as EnsureControl,
3967
- Zr as ErrorLabel,
3968
- Lt as Expando,
3969
- yr as Flyout,
3970
- eo as FormStatus,
3971
- Do as Group,
3989
+ eo as DateTimeControl,
3990
+ Lt as DateTimeInput,
3991
+ Ro as Drawer,
3992
+ Co as EditableText,
3993
+ no as EmailControl,
3994
+ Ft as EmailInput,
3995
+ Xr as EmphasisLabel,
3996
+ ko as EnsureControl,
3997
+ Yr as ErrorLabel,
3998
+ Mt as Expando,
3999
+ $r as Flyout,
4000
+ to as FormStatus,
4001
+ Lo as Group,
3972
4002
  Z as Icon,
3973
4003
  z as InputContainer,
4004
+ Ot as InputWrapper,
3974
4005
  dn as Label,
3975
- Mt as LazyNativeSelect,
3976
- to as LazyNativeSelectControl,
3977
- fo as ListControl,
3978
- Mo as Menu,
3979
- _r as Modal,
4006
+ Wt as LazyNativeSelect,
4007
+ oo as LazyNativeSelectControl,
4008
+ xo as ListControl,
4009
+ Wo as Menu,
4010
+ Ar as Modal,
3980
4011
  Tt as MutedLabel,
3981
4012
  gn as NativeSelect,
3982
- ro as NativeSelectControl,
3983
- oo as NullableDateControl,
4013
+ lo as NativeSelectControl,
4014
+ so as NullableDateControl,
3984
4015
  bn as NullableDateInput,
3985
- lo as NullableDateTimeControl,
4016
+ ao as NullableDateTimeControl,
3986
4017
  mn as NullableDateTimeInput,
3987
- so as NullableStringDateControl,
3988
- ao as NullableStringDateTimeControl,
3989
- qt as NullableTextArea,
3990
- co as NullableTextAreaControl,
3991
- io as NullableTextControl,
3992
- Rt as NullableTextInput,
3993
- uo as NumberControl,
3994
- zt as NumberInput,
3995
- Jt as ObjectController,
4018
+ co as NullableStringDateControl,
4019
+ io as NullableStringDateTimeControl,
4020
+ Ut as NullableTextArea,
4021
+ uo as NullableTextAreaControl,
4022
+ ho as NullableTextControl,
4023
+ zt as NullableTextInput,
4024
+ po as NumberControl,
4025
+ Gt as NumberInput,
4026
+ nr as ObjectController,
3996
4027
  wn as Overlay,
3997
- ho as PasswordControl,
3998
- Ut as PasswordInput,
4028
+ go as PasswordControl,
4029
+ Zt as PasswordInput,
3999
4030
  Bt as RequiredSymbol,
4000
4031
  Ge as ScrollablePanel,
4001
- Zt as SegmentedControl,
4032
+ Yt as SegmentedControl,
4002
4033
  Se as SelectOption,
4003
4034
  Ze as SidebarGroup,
4004
- Sr as SidebarLink,
4005
- Ho as Sink,
4006
- Lo as Stack,
4007
- vo as StandaloneAppearanceSelector,
4008
- po as StringDateControl,
4009
- $o as Switch,
4035
+ Er as SidebarLink,
4036
+ Fo as Sink,
4037
+ Mo as Stack,
4038
+ wo as StandaloneAppearanceSelector,
4039
+ bo as StringDateControl,
4040
+ So as Switch,
4010
4041
  At as Tag,
4011
- go as TagsControl,
4012
- Xt as TagsInput,
4013
- Yt as TextArea,
4014
- bo as TextAreaControl,
4015
- Yr as TextControl,
4016
- Ot as TextInput,
4042
+ mo as TagsControl,
4043
+ Kt as TagsInput,
4044
+ Qt as TextArea,
4045
+ fo as TextAreaControl,
4046
+ Qr as TextControl,
4047
+ Ht as TextInput,
4017
4048
  kn as Theme,
4018
- xo as ThemeAppearance,
4019
- No as Tooltip,
4020
- zo as Use,
4021
- ur as WithBeatUIBreakpoint,
4022
- Ao as WithBeatUIElementBreakpoint,
4049
+ yo as ThemeAppearance,
4050
+ qo as Tooltip,
4051
+ Go as Use,
4052
+ hr as WithBeatUIBreakpoint,
4053
+ Bo as WithBeatUIElementBreakpoint,
4023
4054
  vn as WithBreakpoint,
4024
4055
  L as backgroundConfig,
4025
4056
  ct as baseSpacing,
@@ -4029,51 +4060,51 @@ export {
4029
4060
  dt as changeFontSize,
4030
4061
  nt as colorShades,
4031
4062
  Be as colors,
4032
- cr as compareBreakpoint,
4063
+ ur as compareBreakpoint,
4033
4064
  xn as connectCommonAttributes,
4034
- So as connectNumberInput,
4035
- Co as connectStringInput,
4036
- rr as convertStandardSchemaIssues,
4037
- tr as convertStandardSchemaPathToPath,
4065
+ Eo as connectNumberInput,
4066
+ _o as connectStringInput,
4067
+ lr as convertStandardSchemaIssues,
4068
+ or as convertStandardSchemaPathToPath,
4038
4069
  jo as delaySignal,
4039
- no as emitExpando,
4040
- Ft as emitOptionExpando,
4070
+ ro as emitExpando,
4071
+ Pt as emitOptionExpando,
4041
4072
  me as emptyToNull,
4042
- Eo as findBreakpoint,
4073
+ To as findBreakpoint,
4043
4074
  bt as fontFamily,
4044
4075
  rn as fontSize,
4045
4076
  ht as fontWeight,
4046
- zr as generateAllTokenVariables,
4047
- Dr as generateBackgroundUtilities,
4077
+ Gr as generateAllTokenVariables,
4078
+ Lr as generateBackgroundUtilities,
4048
4079
  et as generateBreakpointVariables,
4049
4080
  st as generateColorVariables,
4050
4081
  at as generateRadiusVariables,
4051
4082
  ut as generateSpacingVariables,
4052
4083
  mt as generateTypographyVariables,
4053
4084
  kt as generateZIndexVariables,
4054
- Vr as getBreakpointMediaQuery,
4055
- Ir as getBreakpointVar,
4085
+ Dr as getBreakpointMediaQuery,
4086
+ Or as getBreakpointVar,
4056
4087
  Qe as getBreakpointVarName,
4057
4088
  pe as getColorVar,
4058
4089
  Ce as getColorVarName,
4059
- Rr as getFontFamilyVar,
4090
+ zr as getFontFamilyVar,
4060
4091
  cn as getFontFamilyVarName,
4061
- Mr as getFontSizeVar,
4092
+ Wr as getFontSizeVar,
4062
4093
  on as getFontSizeVarName,
4063
- Pr as getFontWeightVar,
4094
+ Nr as getFontWeightVar,
4064
4095
  ln as getFontWeightVarName,
4065
4096
  Yn as getIconLocally,
4066
- Nr as getLetterSpacingVar,
4097
+ qr as getLetterSpacingVar,
4067
4098
  an as getLetterSpacingVarName,
4068
- Wr as getLineHeightVar,
4099
+ Rr as getLineHeightVar,
4069
4100
  sn as getLineHeightVarName,
4070
- Lr as getRadiusMediaQuery,
4071
- Hr as getRadiusVar,
4101
+ Mr as getRadiusMediaQuery,
4102
+ Fr as getRadiusVar,
4072
4103
  nn as getRadiusVarName,
4073
- Fr as getSpacingVar,
4104
+ Pr as getSpacingVar,
4074
4105
  tn as getSpacingVarName,
4075
- Ur as getTokenValue,
4076
- qr as getZIndexVar,
4106
+ Zr as getTokenValue,
4107
+ Ur as getZIndexVar,
4077
4108
  un as getZIndexVarName,
4078
4109
  q as inputOptionsFromController,
4079
4110
  Ie as inputOptionsFromMappedController,
@@ -4081,28 +4112,28 @@ export {
4081
4112
  Ye as isIndexedDBAvailable,
4082
4113
  gt as letterSpacing,
4083
4114
  pt as lineHeight,
4084
- je as makeMapValidationResult,
4115
+ De as makeMapValidationResult,
4085
4116
  Ve as makeMappedOnChangeHandler,
4086
- Xr as makeNullableOnChangeHandler,
4117
+ Kr as makeNullableOnChangeHandler,
4087
4118
  P as makeOnBlurHandler,
4088
4119
  G as makeOnChangeHandler,
4089
4120
  jr as normalizeColorName,
4090
4121
  fn as nullToEmpty,
4091
- ko as parsePath,
4092
- Qt as pathToString,
4122
+ vo as parsePath,
4123
+ er as pathToString,
4093
4124
  en as radius,
4094
4125
  ke as semanticColorNames,
4095
4126
  Je as semanticColors,
4096
4127
  it as spacing,
4097
- lr as standardSchemaResultToValidationResult,
4128
+ ar as standardSchemaResultToValidationResult,
4098
4129
  Xn as storeIconLocally,
4099
4130
  rt as textColors,
4100
- Or as themeColorNames,
4131
+ Hr as themeColorNames,
4101
4132
  de as useAnimatedElementToggle,
4102
4133
  yn as useAnimatedToggle,
4103
- or as useController,
4104
- _o as useForm,
4105
- To as useTimedToggle,
4106
- Kt as wrapSegment,
4134
+ sr as useController,
4135
+ Ao as useForm,
4136
+ Io as useTimedToggle,
4137
+ Jt as wrapSegment,
4107
4138
  ft as zIndex
4108
4139
  };