@tempots/beatui 0.61.14 → 0.63.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.
@@ -1,5 +1,5 @@
1
- import { Use as q, coalesce as X, aria as x, attr as o, html as f, on as I, Value as C, Empty as _, computedOf as k, When as O, dataAttr as R, input as ne, emitValue as F, prop as E, Fragment as P, emitValueAsNumber as ie, Unless as re, Ensure as ae } from "@tempots/dom";
2
- import { a as z, B as le, I as N, b as W, c as ce, C as Y } from "./translations-BUTBIDsS.js";
1
+ import { Use as q, coalesce as X, aria as x, attr as c, html as f, on as E, Value as C, Empty as _, computedOf as k, When as O, dataAttr as R, input as ne, emitValue as F, prop as I, Fragment as N, TextNode as re, emitValueAsNumber as ie, Unless as ae, Ensure as le } from "@tempots/dom";
2
+ import { a as z, B as oe, I as B, b as W, c as ce, C as Y } from "./translations-BUTBIDsS.js";
3
3
  const K = /* @__PURE__ */ new Map();
4
4
  function H(e) {
5
5
  const s = K.get(e) ?? 0;
@@ -138,8 +138,8 @@ const w = {
138
138
  success: s,
139
139
  failure: t,
140
140
  loading: n,
141
- notAsked: i = n
142
- }) => w.isSuccess(e) ? s(e.value) : w.isFailure(e) ? t(e.error) : w.isNotAsked(e) ? i() : n(e.previousValue),
141
+ notAsked: r = n
142
+ }) => w.isSuccess(e) ? s(e.value) : w.isFailure(e) ? t(e.error) : w.isNotAsked(e) ? r() : n(e.previousValue),
143
143
  /**
144
144
  * When the result is a success, it applies the function to the value.
145
145
  *
@@ -166,8 +166,8 @@ const w = {
166
166
  * @returns `true` if the results are equal, `false` otherwise.
167
167
  */
168
168
  equals: (e, s, t = {
169
- valueEquals: (n, i) => n === i,
170
- errorEquals: (n, i) => n === i
169
+ valueEquals: (n, r) => n === r,
170
+ errorEquals: (n, r) => n === r
171
171
  }) => e.type === "AsyncSuccess" && s.type === "AsyncSuccess" ? t.valueEquals(e.value, s.value) : e.type === "AsyncFailure" && s.type === "AsyncFailure" ? t.errorEquals(e.error, s.error) : e.type === "Loading" && s.type === "Loading" ? t.valueEquals(e.previousValue, s.previousValue) : e.type === "NotAsked" && s.type === "NotAsked",
172
172
  /**
173
173
  * Combines multiple results into a single result.
@@ -418,16 +418,16 @@ const w = {
418
418
  */
419
419
  combine: (e, s, t, n) => m.match(
420
420
  e,
421
- (i) => m.match(
421
+ (r) => m.match(
422
422
  s,
423
- (r) => m.success(t(i, r)),
424
- (r) => m.failure(r)
423
+ (i) => m.success(t(r, i)),
424
+ (i) => m.failure(i)
425
425
  ),
426
- (i) => m.match(
426
+ (r) => m.match(
427
427
  s,
428
428
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
429
- (r) => m.failure(i),
430
- (r) => m.failure(n(i, r))
429
+ (i) => m.failure(r),
430
+ (i) => m.failure(n(r, i))
431
431
  )
432
432
  ),
433
433
  /**
@@ -438,8 +438,8 @@ const w = {
438
438
  * @returns `true` if the results are equal, `false` otherwise.
439
439
  */
440
440
  equals: (e, s, t = {
441
- valueEquals: (n, i) => n === i,
442
- errorEquals: (n, i) => n === i
441
+ valueEquals: (n, r) => n === r,
442
+ errorEquals: (n, r) => n === r
443
443
  }) => e.type === "Success" && s.type === "Success" ? t.valueEquals(e.value, s.value) : e.type === "Failure" && s.type === "Failure" ? t.errorEquals(e.error, s.error) : !1,
444
444
  /**
445
445
  * Combines multiple results into a single result.
@@ -456,53 +456,53 @@ const w = {
456
456
  return m.success(s);
457
457
  }
458
458
  };
459
- function oe({
459
+ function ue({
460
460
  size: e = "sm",
461
461
  icon: s = "line-md:close",
462
462
  disabled: t,
463
463
  roundedness: n = "full",
464
- color: i = "base",
465
- onClick: r,
464
+ color: r = "base",
465
+ onClick: i,
466
466
  label: l
467
467
  }, ...a) {
468
- return q(z, (c) => {
469
- const p = X(l, c.$.closeModal);
470
- return le(
468
+ return q(z, (o) => {
469
+ const p = X(l, o.$.closeModal);
470
+ return oe(
471
471
  {
472
472
  variant: "text",
473
473
  size: e,
474
474
  roundedness: n,
475
475
  disabled: t,
476
- color: i,
477
- onClick: r
476
+ color: r,
477
+ onClick: i
478
478
  },
479
- o.title(p),
479
+ c.title(p),
480
480
  x.label(p),
481
481
  ...a,
482
- N({ icon: s, size: e ?? "sm" })
482
+ B({ icon: s, size: e ?? "sm" })
483
483
  );
484
484
  });
485
485
  }
486
486
  function U(e) {
487
487
  return `bc-label bc-label--${e}`;
488
488
  }
489
- const Ae = (...e) => f.span(o.class(U("emphasis")), ...e), ue = (...e) => f.span(o.class(U("default")), ...e), he = (...e) => f.span(o.class(U("muted")), ...e), Ve = (...e) => f.span(o.class(U("danger")), ...e), Oe = (e) => {
489
+ const Ve = (...e) => f.span(c.class(U("emphasis")), ...e), he = (...e) => f.span(c.class(U("default")), ...e), de = (...e) => f.span(c.class(U("muted")), ...e), Oe = (...e) => f.span(c.class(U("danger")), ...e), Me = (e) => {
490
490
  const {
491
491
  value: s,
492
492
  onBlur: t,
493
493
  onChange: n,
494
- placeholder: i,
495
- disabled: r,
494
+ placeholder: r,
495
+ disabled: i,
496
496
  id: l,
497
497
  checkedIcon: a,
498
- uncheckedIcon: c,
498
+ uncheckedIcon: o,
499
499
  iconSize: p = "lg"
500
500
  } = e, h = l ?? H("checkbox"), b = `${h}-label`, S = () => {
501
- if (C.get(r ?? !1)) return;
501
+ if (C.get(i ?? !1)) return;
502
502
  const u = C.get(s);
503
503
  n?.(!u);
504
504
  }, v = (u) => {
505
- C.get(r ?? !1) || (u.key === " " || u.key === "Enter") && (u.preventDefault(), S());
505
+ C.get(i ?? !1) || (u.key === " " || u.key === "Enter") && (u.preventDefault(), S());
506
506
  };
507
507
  return W(
508
508
  {
@@ -510,39 +510,39 @@ const Ae = (...e) => f.span(o.class(U("emphasis")), ...e), ue = (...e) => f.span
510
510
  growInput: !1,
511
511
  ...e,
512
512
  input: f.span(
513
- o.class("bc-checkbox-input"),
513
+ c.class("bc-checkbox-input"),
514
514
  f.span(
515
- o.class("bc-checkbox-input__checkbox"),
516
- o.class(
515
+ c.class("bc-checkbox-input__checkbox"),
516
+ c.class(
517
517
  C.map(
518
518
  s,
519
519
  (u) => u ? "bc-checkbox-input__checkbox--checked" : "bc-checkbox-input__checkbox--unchecked"
520
520
  )
521
521
  ),
522
- o.class(
522
+ c.class(
523
523
  C.map(
524
- r ?? !1,
524
+ i ?? !1,
525
525
  (u) => u ? "bc-checkbox-input__checkbox--disabled" : ""
526
526
  )
527
527
  ),
528
- o.id(h),
529
- o.role("checkbox"),
530
- o.tabindex(
528
+ c.id(h),
529
+ c.role("checkbox"),
530
+ c.tabindex(
531
531
  C.map(
532
- r ?? !1,
532
+ i ?? !1,
533
533
  (u) => u ? -1 : 0
534
534
  )
535
535
  ),
536
536
  x.checked(s),
537
- x.disabled(r),
538
- i != null ? x.labelledby(b) : _,
539
- I.keydown(v),
540
- t != null ? I.blur(t) : _,
541
- N({
537
+ x.disabled(i),
538
+ r != null ? x.labelledby(b) : _,
539
+ E.keydown(v),
540
+ t != null ? E.blur(t) : _,
541
+ B({
542
542
  icon: k(
543
543
  s,
544
544
  a,
545
- c
545
+ o
546
546
  )(
547
547
  (u, d, g) => u ? d ?? "akar-icons/check-box-fill" : g ?? "akar-icons/box"
548
548
  ),
@@ -550,25 +550,25 @@ const Ae = (...e) => f.span(o.class(U("emphasis")), ...e), ue = (...e) => f.span
550
550
  size: p
551
551
  })
552
552
  ),
553
- i != null ? f.label(
554
- o.class("bc-checkbox-input__label"),
555
- o.id(b),
556
- o.for(h),
557
- he(i)
553
+ r != null ? f.label(
554
+ c.class("bc-checkbox-input__label"),
555
+ c.id(b),
556
+ c.for(h),
557
+ de(r)
558
558
  ) : _
559
559
  )
560
560
  },
561
- I.click(S)
561
+ E.click(S)
562
562
  );
563
- }, de = f.span(
564
- o.class("bc-input-wrapper__required"),
563
+ }, pe = f.span(
564
+ c.class("bc-input-wrapper__required"),
565
565
  " *"
566
566
  );
567
- function pe(e) {
567
+ function fe(e) {
568
568
  const s = ["bc-input-wrapper"];
569
569
  return e !== "vertical" && s.push(`bc-input-wrapper--${e}`), s.join(" ");
570
570
  }
571
- function fe(e, s) {
571
+ function be(e, s) {
572
572
  const t = ["bc-input-wrapper__label-text"];
573
573
  return e ? t.push("bc-input-wrapper__label-text--error") : s ? t.push("bc-input-wrapper__label-text--disabled") : t.push("bc-input-wrapper__label-text--default"), t.join(" ");
574
574
  }
@@ -581,20 +581,20 @@ const Z = ({
581
581
  required: s,
582
582
  label: t,
583
583
  labelChildren: n,
584
- context: i,
585
- description: r,
584
+ context: r,
585
+ description: i,
586
586
  content: l,
587
587
  error: a,
588
- labelFor: c,
588
+ labelFor: o,
589
589
  hasError: p,
590
590
  disabled: h,
591
591
  layout: b,
592
592
  labelWidth: S
593
593
  }, ...v) => {
594
- const u = p ?? a != null, d = h ?? !1, g = b ?? "vertical", T = H("input-wrapper"), A = r ? `${T}-description` : void 0, B = a != null ? `${T}-error` : void 0, L = k(g)((y) => y !== "vertical");
594
+ const u = p ?? a != null, d = h ?? !1, g = b ?? "vertical", T = H("input-wrapper"), A = i ? `${T}-description` : void 0, P = a != null ? `${T}-error` : void 0, L = k(g)((y) => y !== "vertical");
595
595
  return f.div(
596
- o.class(C.map(g, (y) => pe(y))),
597
- o.class(
596
+ c.class(C.map(g, (y) => fe(y))),
597
+ c.class(
598
598
  C.map(
599
599
  e,
600
600
  (y) => y ? "bc-input-wrapper--full-width" : ""
@@ -605,7 +605,7 @@ const Z = ({
605
605
  g,
606
606
  S ?? void 0
607
607
  )((y, V) => G(y, V) != null),
608
- () => o.style(
608
+ () => c.style(
609
609
  C.map(
610
610
  k(
611
611
  g,
@@ -615,20 +615,20 @@ const Z = ({
615
615
  )
616
616
  )
617
617
  ),
618
- t != null || i != null ? f.div(
619
- o.class("bc-input-wrapper__header"),
618
+ t != null || r != null ? f.div(
619
+ c.class("bc-input-wrapper__header"),
620
620
  f.div(
621
- o.class("bc-input-wrapper__label-section"),
621
+ c.class("bc-input-wrapper__label-section"),
622
622
  f.label(
623
- o.class("bc-input-wrapper__label"),
624
- c != null ? o.for(c) : _,
623
+ c.class("bc-input-wrapper__label"),
624
+ o != null ? c.for(o) : _,
625
625
  f.span(
626
- o.class(
626
+ c.class(
627
627
  k(
628
628
  u,
629
629
  d
630
630
  )(
631
- (y, V) => fe(
631
+ (y, V) => be(
632
632
  y ?? !1,
633
633
  V ?? !1
634
634
  )
@@ -636,31 +636,31 @@ const Z = ({
636
636
  ),
637
637
  t
638
638
  ),
639
- t != null && s ? de : _
639
+ t != null && s ? pe : _
640
640
  ),
641
641
  // Show description under label when horizontal
642
642
  O(
643
643
  k(
644
644
  L,
645
- r
645
+ i
646
646
  )((y, V) => y && V != null),
647
647
  () => f.div(
648
- o.class(
648
+ c.class(
649
649
  "bc-input-wrapper__description bc-input-wrapper__description--under-label"
650
650
  ),
651
- o.id(A),
652
- r
651
+ c.id(A),
652
+ i
653
653
  )
654
654
  )
655
655
  ),
656
- i != null ? ue(i) : _,
656
+ r != null ? he(r) : _,
657
657
  n
658
658
  ) : _,
659
659
  f.div(
660
- o.class("bc-input-wrapper__content"),
660
+ c.class("bc-input-wrapper__content"),
661
661
  // Add data attributes to help inputs inherit accessibility information
662
- [A, B].filter(Boolean).length > 0 ? R.describedby(
663
- [A, B].filter(Boolean).join(" ")
662
+ [A, P].filter(Boolean).length > 0 ? R.describedby(
663
+ [A, P].filter(Boolean).join(" ")
664
664
  ) : _,
665
665
  s ? R.required("true") : _,
666
666
  O(u, () => R.invalid("true")),
@@ -668,32 +668,32 @@ const Z = ({
668
668
  ),
669
669
  // Show description at bottom only when not horizontal
670
670
  O(
671
- k(L, r)((y, V) => !y && V != null),
671
+ k(L, i)((y, V) => !y && V != null),
672
672
  () => f.div(
673
- o.class("bc-input-wrapper__description"),
674
- o.id(A),
675
- r
673
+ c.class("bc-input-wrapper__description"),
674
+ c.id(A),
675
+ i
676
676
  )
677
677
  ),
678
- a != null ? O(
678
+ O(
679
679
  u,
680
680
  () => f.div(
681
- o.class("bc-input-wrapper__error"),
682
- o.id(B),
681
+ c.class("bc-input-wrapper__error"),
682
+ c.id(P),
683
683
  x.live("polite"),
684
684
  // Announce errors to screen readers
685
- o.role("alert"),
685
+ c.role("alert"),
686
686
  // Mark as alert for immediate attention
687
687
  a
688
688
  )
689
- ) : null,
689
+ ),
690
690
  ...v
691
691
  );
692
692
  };
693
- function Me(...e) {
694
- return f.div(o.class("bc-stack"), ...e);
693
+ function Fe(...e) {
694
+ return f.div(c.class("bc-stack"), ...e);
695
695
  }
696
- const Fe = (e) => {
696
+ const $e = (e) => {
697
697
  const s = {
698
698
  name: "email",
699
699
  autocomplete: "email",
@@ -701,11 +701,11 @@ const Fe = (e) => {
701
701
  }, {
702
702
  value: t,
703
703
  before: n,
704
- onBlur: i,
705
- onChange: r,
704
+ onBlur: r,
705
+ onChange: i,
706
706
  onInput: l,
707
707
  placeholder: a
708
- } = s, c = n ?? ce({
708
+ } = s, o = n ?? ce({
709
709
  icon: "line-md:email",
710
710
  size: e.size,
711
711
  color: "neutral"
@@ -714,36 +714,36 @@ const Fe = (e) => {
714
714
  z,
715
715
  (p) => W({
716
716
  ...e,
717
- before: c,
717
+ before: o,
718
718
  input: ne.email(
719
719
  Y(s),
720
- o.placeholder(X(a, p.$.emailPlaceholderText)),
721
- o.value(t),
722
- o.class("bc-input"),
723
- i != null ? I.blur(F(i)) : _,
724
- r != null ? I.change(F(r)) : _,
725
- l != null ? I.input(F(l)) : _
720
+ c.placeholder(X(a, p.$.emailPlaceholderText)),
721
+ c.value(t),
722
+ c.class("bc-input"),
723
+ r != null ? E.blur(F(r)) : _,
724
+ i != null ? E.change(F(i)) : _,
725
+ l != null ? E.input(F(l)) : _
726
726
  )
727
727
  })
728
728
  );
729
- }, $e = (e) => {
729
+ }, xe = (e) => {
730
730
  const {
731
731
  value: s,
732
732
  onBlur: t,
733
733
  onChange: n,
734
- onInput: i,
735
- before: r,
734
+ onInput: r,
735
+ before: i,
736
736
  after: l,
737
737
  hasError: a,
738
- disabled: c,
738
+ disabled: o,
739
739
  autocomplete: p,
740
740
  placeholder: h,
741
741
  ...b
742
742
  } = e, S = {
743
743
  name: "password",
744
- disabled: c,
744
+ disabled: o,
745
745
  ...b
746
- }, v = E(!0), u = k(
746
+ }, v = I(!0), u = k(
747
747
  v,
748
748
  p
749
749
  )((d, g) => d ? g ?? "current-password" : "off");
@@ -752,20 +752,20 @@ const Fe = (e) => {
752
752
  d.$.passwordPlaceholderText,
753
753
  v,
754
754
  h
755
- )((A, B, L) => B ? "•••••••••••••••" : L ?? A), T = f.button(
756
- o.type("button"),
757
- o.class("bc-input-container__password-toggle"),
755
+ )((A, P, L) => P ? "•••••••••••••••" : L ?? A), T = f.button(
756
+ c.type("button"),
757
+ c.class("bc-input-container__password-toggle"),
758
758
  x.label(d.$.togglePasswordVisibility),
759
- I.click(() => v.update((A) => !A)),
759
+ E.click(() => v.update((A) => !A)),
760
760
  O(
761
761
  v,
762
- () => N({ icon: "line-md:watch" }),
763
- () => N({ icon: "line-md:watch-off" })
762
+ () => B({ icon: "line-md:watch" }),
763
+ () => B({ icon: "line-md:watch-off" })
764
764
  )
765
765
  );
766
766
  return W({
767
- before: r,
768
- disabled: c,
767
+ before: i,
768
+ disabled: o,
769
769
  hasError: a,
770
770
  input: f.input(
771
771
  Y({
@@ -775,19 +775,19 @@ const Fe = (e) => {
775
775
  }),
776
776
  O(
777
777
  v,
778
- () => P(o.type("password")),
779
- () => P(o.type("text"))
778
+ () => N(c.type("password")),
779
+ () => N(c.type("text"))
780
780
  ),
781
- o.class("bc-input"),
782
- o.value(s),
783
- t != null ? I.blur(F(t)) : _,
784
- n != null ? I.change(F(n)) : _,
785
- i != null ? I.input(F(i)) : _
781
+ c.class("bc-input"),
782
+ c.value(s),
783
+ t != null ? E.blur(F(t)) : _,
784
+ n != null ? E.change(F(n)) : _,
785
+ r != null ? E.input(F(r)) : _
786
786
  ),
787
- after: l != null ? P(T, l) : T
787
+ after: l != null ? N(T, l) : T
788
788
  });
789
789
  });
790
- }, be = (
790
+ }, me = (
791
791
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
792
792
  (e, s) => () => {
793
793
  e.markTouched(), s?.();
@@ -796,37 +796,39 @@ const Fe = (e) => {
796
796
  e.change(t), s?.(t);
797
797
  };
798
798
  function ee(e, s) {
799
- const { controller: t, onBlur: n, onChange: i, id: r, triggerOn: l, ...a } = s;
799
+ const { controller: t, onBlur: n, onChange: r, id: i, triggerOn: l, ...a } = s;
800
800
  return e({
801
- id: r ?? t.name,
801
+ id: i ?? t.name,
802
802
  disabled: t.disabled,
803
803
  value: t.signal,
804
804
  hasError: t.errorVisible,
805
805
  name: t.name,
806
806
  ...a,
807
- onInput: l === "input" ? J(t, i) : void 0,
808
- onChange: l !== "input" ? J(t, i) : void 0,
809
- onBlur: be(t, n)
807
+ onInput: l === "input" ? J(t, r) : void 0,
808
+ onChange: l !== "input" ? J(t, r) : void 0,
809
+ onBlur: me(t, n)
810
810
  });
811
811
  }
812
- function xe(e, { id: s, labelFor: t, ...n }, ...i) {
813
- const r = s ?? n.controller.name ?? H("control");
812
+ function Ne(e, { id: s, labelFor: t, ...n }, ...r) {
813
+ const i = s ?? n.controller.name ?? H("control"), l = t ?? i;
814
814
  return Z(
815
815
  {
816
816
  ...n,
817
- labelFor: t ?? r,
817
+ hasError: n.controller.errorVisible,
818
+ error: re(n.controller.error.map((a) => a ?? "")),
819
+ labelFor: l,
818
820
  content: ee(
819
- (a) => e({ ...a, id: r }),
821
+ (a) => e({ ...a, id: i }),
820
822
  n
821
823
  )
822
824
  },
823
- ...i
825
+ ...r
824
826
  );
825
827
  }
826
- function me(e, s) {
827
- const { toInput: t, fromInput: n, controller: i, ...r } = s, l = i.transform(t, n);
828
+ function ge(e, s) {
829
+ const { toInput: t, fromInput: n, controller: r, ...i } = s, l = r.transform(t, n);
828
830
  return ee(e, {
829
- ...r,
831
+ ...i,
830
832
  controller: l
831
833
  });
832
834
  }
@@ -834,18 +836,18 @@ function Pe(e, {
834
836
  id: s,
835
837
  labelFor: t,
836
838
  ...n
837
- }, ...i) {
838
- const r = s ?? n.controller.name ?? H("control");
839
+ }, ...r) {
840
+ const i = s ?? n.controller.name ?? H("control");
839
841
  return Z(
840
842
  {
841
843
  ...n,
842
- labelFor: t ?? r,
843
- content: me(e, {
844
+ labelFor: t ?? i,
845
+ content: ge(e, {
844
846
  ...n,
845
- id: r
847
+ id: i
846
848
  })
847
849
  },
848
- ...i
850
+ ...r
849
851
  );
850
852
  }
851
853
  function Be(e) {
@@ -854,23 +856,23 @@ function Be(e) {
854
856
  return n ? Number(n[1]) : t;
855
857
  });
856
858
  }
857
- function ge(e) {
859
+ function ve(e) {
858
860
  return typeof e == "number" ? `[${e}]` : `.${e}`;
859
861
  }
860
- function ve(e) {
862
+ function ye(e) {
861
863
  if (e.length === 0) return "";
862
864
  const [s, ...t] = e;
863
865
  return [
864
866
  typeof s == "number" ? `[${s}]` : s,
865
- ...t.map(ge)
867
+ ...t.map(ve)
866
868
  ].join("");
867
869
  }
868
870
  function j(e) {
869
871
  return function(t) {
870
872
  if (t.type === "valid") return t;
871
873
  let n = t.error;
872
- for (const i of e)
873
- if (n = n?.dependencies?.[i], n == null) return D.valid;
874
+ for (const r of e)
875
+ if (n = n?.dependencies?.[r], n == null) return D.valid;
874
876
  return D.invalid(n);
875
877
  };
876
878
  }
@@ -886,42 +888,42 @@ class M {
886
888
  dirty;
887
889
  dependencyErrors;
888
890
  #e = {
889
- disabled: E(!1),
890
- touched: E(!1)
891
+ disabled: I(!1),
892
+ touched: I(!1)
891
893
  };
892
894
  #t;
893
- #s = E(void 0);
895
+ #s = I(void 0);
894
896
  parent;
895
897
  disabled;
896
898
  #n = [];
897
899
  disabledOrHasErrors;
898
- constructor(s, t, n, i, r, l = $) {
899
- this.path = s, this.change = t, this.signal = n, this.status = i, this.#t = l, this.#s.set(n.value), this.error = i.map(
900
+ constructor(s, t, n, r, i, l = $) {
901
+ this.path = s, this.change = t, this.signal = n, this.status = r, this.#t = l, this.#s.set(n.value), this.error = r.map(
900
902
  (a) => a?.type === "invalid" ? a.error?.message : void 0
901
- ), this.hasError = this.error.map((a) => a != null), this.touched = this.#e.touched, r.validationMode ? this.errorVisible = k(
903
+ ), this.hasError = this.error.map((a) => a != null), this.touched = this.#e.touched, i.validationMode ? this.errorVisible = k(
902
904
  this.hasError,
903
905
  this.touched,
904
- r.validationMode
905
- )((a, c, p) => p === "continuous" ? !!a : !!a && !!c) : this.errorVisible = k(
906
+ i.validationMode
907
+ )((a, o, p) => p === "continuous" ? !!a : !!a && !!o) : this.errorVisible = k(
906
908
  this.hasError,
907
909
  this.touched
908
- )((a, c) => !!a && !!c), this.dirty = k(
910
+ )((a, o) => !!a && !!o), this.dirty = k(
909
911
  this.signal,
910
912
  this.#s
911
- )((a, c) => !this.#t(a, c)), this.dependencyErrors = i.map(
913
+ )((a, o) => !this.#t(a, o)), this.dependencyErrors = r.map(
912
914
  (a) => a?.type === "invalid" ? a.error?.dependencies : void 0
913
- ), this.parent = r, this.disabled = k(
915
+ ), this.parent = i, this.disabled = k(
914
916
  this.#e.disabled,
915
- r.disabled
916
- )((a, c) => a || c), this.disabledOrHasErrors = k(
917
+ i.disabled
918
+ )((a, o) => a || o), this.disabledOrHasErrors = k(
917
919
  this.disabled,
918
920
  this.hasError
919
- )((a, c) => a || c), this.onDispose(() => {
921
+ )((a, o) => a || o), this.onDispose(() => {
920
922
  this.#e.disabled.dispose(), this.#e.touched.dispose(), this.disabled.dispose(), this.error.dispose(), this.errorVisible.dispose(), this.dirty.dispose(), this.#s.dispose(), this.dependencyErrors.dispose(), this.disabledOrHasErrors.dispose();
921
923
  });
922
924
  }
923
925
  get name() {
924
- return ve(this.path);
926
+ return ye(this.path);
925
927
  }
926
928
  onDispose = (s) => {
927
929
  this.#n.push(s);
@@ -952,7 +954,7 @@ class M {
952
954
  reset = () => {
953
955
  this.change(this.#s.value);
954
956
  };
955
- array = (s = $) => new we(
957
+ array = (s = $) => new ke(
956
958
  this.path,
957
959
  this.change,
958
960
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -961,7 +963,7 @@ class M {
961
963
  this.parent,
962
964
  s
963
965
  );
964
- object = (s = $) => new ye(
966
+ object = (s = $) => new we(
965
967
  this.path,
966
968
  this.change,
967
969
  this.signal,
@@ -969,38 +971,38 @@ class M {
969
971
  this.parent,
970
972
  s
971
973
  );
972
- transform = (s, t, n = [], i = $) => new M(
974
+ transform = (s, t, n = [], r = $) => new M(
973
975
  [...this.path, ...n],
974
- (r) => this.change(t(r)),
975
- this.signal.map(s, i),
976
+ (i) => this.change(t(i)),
977
+ this.signal.map(s, r),
976
978
  this.status.map(j(n)),
977
979
  this.parent,
978
- i
980
+ r
979
981
  );
980
- asyncTransform = (s, t, n, i = [], r = $) => new M(
981
- [...this.path, ...i],
982
+ asyncTransform = (s, t, n, r = [], i = $) => new M(
983
+ [...this.path, ...r],
982
984
  (l) => {
983
985
  t(l).then((a) => this.change(a));
984
986
  },
985
- this.signal.mapAsync(s, n, void 0, r),
986
- this.status.map(j(i)),
987
+ this.signal.mapAsync(s, n, void 0, i),
988
+ this.status.map(j(r)),
987
989
  this.parent,
988
- r
990
+ i
989
991
  );
990
992
  }
991
- class ye extends M {
993
+ class we extends M {
992
994
  #e = /* @__PURE__ */ new Map();
993
995
  #t = /* @__PURE__ */ new Map();
994
996
  #s = /* @__PURE__ */ new Map();
995
- #n = E(!1);
997
+ #n = I(!1);
996
998
  touchedDeep = this.#n;
997
- #r = /* @__PURE__ */ new Map();
998
999
  #i = /* @__PURE__ */ new Map();
999
- #l = E(!1);
1000
+ #r = /* @__PURE__ */ new Map();
1001
+ #l = I(!1);
1000
1002
  dirtyDeep = this.#l;
1001
- #o;
1003
+ #c;
1002
1004
  #u;
1003
- #c = () => {
1005
+ #o = () => {
1004
1006
  let s = !1;
1005
1007
  for (const t of this.#t.values())
1006
1008
  if (t) {
@@ -1009,28 +1011,28 @@ class ye extends M {
1009
1011
  }
1010
1012
  this.#n.set(this.touched.value || s);
1011
1013
  };
1012
- constructor(s, t, n, i, r, l) {
1014
+ constructor(s, t, n, r, i, l) {
1013
1015
  super(
1014
1016
  s,
1015
1017
  t,
1016
- n.map((c) => c ?? {}, l),
1017
- i,
1018
+ n.map((o) => o ?? {}, l),
1018
1019
  r,
1020
+ i,
1019
1021
  l
1020
- ), this.#o = this.touched.on(() => {
1021
- this.#c();
1022
+ ), this.#c = this.touched.on(() => {
1023
+ this.#o();
1022
1024
  }), this.#u = this.dirty.on(() => {
1023
1025
  this.#a();
1024
1026
  });
1025
1027
  const a = this.signal.on(() => this.#a());
1026
1028
  this.onDispose(() => {
1027
- for (const c of this.#e.values())
1028
- c.dispose();
1029
+ for (const o of this.#e.values())
1030
+ o.dispose();
1029
1031
  this.#e.clear();
1030
- for (const c of this.#s.values()) c();
1032
+ for (const o of this.#s.values()) o();
1031
1033
  this.#s.clear(), this.#t.clear(), this.#n.dispose();
1032
- for (const c of this.#i.values()) c();
1033
- this.#i.clear(), this.#r.clear(), this.#l.dispose(), this.#o(), this.#u(), a();
1034
+ for (const o of this.#r.values()) o();
1035
+ this.#r.clear(), this.#i.clear(), this.#l.dispose(), this.#c(), this.#u(), a();
1034
1036
  });
1035
1037
  }
1036
1038
  field = (s) => {
@@ -1053,14 +1055,14 @@ class ye extends M {
1053
1055
  }
1054
1056
  );
1055
1057
  this.#e.set(s, n);
1056
- const i = n.touched.on((l) => {
1057
- this.#t.set(s, l), this.#c();
1058
+ const r = n.touched.on((l) => {
1059
+ this.#t.set(s, l), this.#o();
1058
1060
  });
1059
- this.#s.set(s, i);
1060
- const r = n.dirty.on((l) => {
1061
- this.#r.set(s, l), this.#a();
1061
+ this.#s.set(s, r);
1062
+ const i = n.dirty.on((l) => {
1063
+ this.#i.set(s, l), this.#a();
1062
1064
  });
1063
- return this.#i.set(s, r), n;
1065
+ return this.#r.set(s, i), n;
1064
1066
  };
1065
1067
  markAllTouched = () => {
1066
1068
  this.markTouched();
@@ -1080,7 +1082,7 @@ class ye extends M {
1080
1082
  };
1081
1083
  #a = () => {
1082
1084
  let s = !1;
1083
- for (const t of this.#r.values())
1085
+ for (const t of this.#i.values())
1084
1086
  if (t) {
1085
1087
  s = !0;
1086
1088
  break;
@@ -1088,20 +1090,20 @@ class ye extends M {
1088
1090
  this.#l.set(this.dirty.value || s);
1089
1091
  };
1090
1092
  }
1091
- class we extends M {
1093
+ class ke extends M {
1092
1094
  #e = new Array();
1093
1095
  length;
1094
1096
  #t = /* @__PURE__ */ new Map();
1095
1097
  #s = /* @__PURE__ */ new Map();
1096
- #n = E(!1);
1098
+ #n = I(!1);
1097
1099
  touchedDeep = this.#n;
1098
- #r = /* @__PURE__ */ new Map();
1099
1100
  #i = /* @__PURE__ */ new Map();
1100
- #l = E(!1);
1101
+ #r = /* @__PURE__ */ new Map();
1102
+ #l = I(!1);
1101
1103
  dirtyDeep = this.#l;
1102
- #o;
1104
+ #c;
1103
1105
  #u;
1104
- #c = () => {
1106
+ #o = () => {
1105
1107
  let s = !1;
1106
1108
  for (const t of this.#t.values())
1107
1109
  if (t) {
@@ -1110,18 +1112,18 @@ class we extends M {
1110
1112
  }
1111
1113
  this.#n.set(this.touched.value || s);
1112
1114
  };
1113
- constructor(s, t, n, i, r, l) {
1115
+ constructor(s, t, n, r, i, l) {
1114
1116
  const a = n.map((h) => h ?? [], l);
1115
- super(s, t, a, i, r, l);
1116
- const c = a.on((h) => {
1117
+ super(s, t, a, r, i, l);
1118
+ const o = a.on((h) => {
1117
1119
  const b = this.#e.length - h.length;
1118
1120
  b > 0 && (this.#e.splice(h.length, b).forEach((S, v) => {
1119
1121
  const u = h.length + v;
1120
- S.dispose(), this.#s.get(u)?.(), this.#s.delete(u), this.#t.delete(u), this.#i.get(u)?.(), this.#i.delete(u), this.#r.delete(u);
1121
- }), this.#c(), this.#a());
1122
+ S.dispose(), this.#s.get(u)?.(), this.#s.delete(u), this.#t.delete(u), this.#r.get(u)?.(), this.#r.delete(u), this.#i.delete(u);
1123
+ }), this.#o(), this.#a());
1122
1124
  });
1123
- this.length = a.map((h) => h.length), this.#o = this.touched.on(() => {
1124
- this.#c();
1125
+ this.length = a.map((h) => h.length), this.#c = this.touched.on(() => {
1126
+ this.#o();
1125
1127
  }), this.#u = this.dirty.on(() => {
1126
1128
  this.#a();
1127
1129
  });
@@ -1129,11 +1131,11 @@ class we extends M {
1129
1131
  this.onDispose(() => {
1130
1132
  for (const h of this.#e)
1131
1133
  h.dispose();
1132
- this.length.dispose(), this.#e.length = 0, c(), a.dispose();
1134
+ this.length.dispose(), this.#e.length = 0, o(), a.dispose();
1133
1135
  for (const h of this.#s.values()) h();
1134
1136
  this.#s.clear(), this.#t.clear(), this.#n.dispose();
1135
- for (const h of this.#i.values()) h();
1136
- this.#i.clear(), this.#r.clear(), this.#l.dispose(), this.#o(), this.#u(), p();
1137
+ for (const h of this.#r.values()) h();
1138
+ this.#r.clear(), this.#i.clear(), this.#l.dispose(), this.#c(), this.#u(), p();
1137
1139
  });
1138
1140
  }
1139
1141
  item = (s) => {
@@ -1153,14 +1155,14 @@ class we extends M {
1153
1155
  }
1154
1156
  );
1155
1157
  this.#e[s] = n;
1156
- const i = n.touched.on((l) => {
1157
- this.#t.set(s, l), this.#c();
1158
+ const r = n.touched.on((l) => {
1159
+ this.#t.set(s, l), this.#o();
1158
1160
  });
1159
- this.#s.set(s, i);
1160
- const r = n.dirty.on((l) => {
1161
- this.#r.set(s, l), this.#a();
1161
+ this.#s.set(s, r);
1162
+ const i = n.dirty.on((l) => {
1163
+ this.#i.set(s, l), this.#a();
1162
1164
  });
1163
- return this.#i.set(s, r), n;
1165
+ return this.#r.set(s, i), n;
1164
1166
  };
1165
1167
  push = (...s) => {
1166
1168
  this.change([...this.signal.value, ...s]);
@@ -1183,8 +1185,8 @@ class we extends M {
1183
1185
  };
1184
1186
  move = (s, t, n = 1) => {
1185
1187
  if (n < 1 || s === t) return;
1186
- const i = this.signal.value.slice(), r = i.splice(s, n);
1187
- i.splice(t, 0, ...r), this.change(i);
1188
+ const r = this.signal.value.slice(), i = r.splice(s, n);
1189
+ r.splice(t, 0, ...i), this.change(r);
1188
1190
  };
1189
1191
  markAllTouched = () => {
1190
1192
  this.markTouched();
@@ -1200,7 +1202,7 @@ class we extends M {
1200
1202
  };
1201
1203
  #a = () => {
1202
1204
  let s = !1;
1203
- for (const t of this.#r.values())
1205
+ for (const t of this.#i.values())
1204
1206
  if (t) {
1205
1207
  s = !0;
1206
1208
  break;
@@ -1208,7 +1210,7 @@ class we extends M {
1208
1210
  this.#l.set(this.dirty.value || s);
1209
1211
  };
1210
1212
  }
1211
- function ke(e) {
1213
+ function Se(e) {
1212
1214
  function s(t) {
1213
1215
  return typeof t == "number" ? t : t.toString();
1214
1216
  }
@@ -1216,13 +1218,13 @@ function ke(e) {
1216
1218
  (t) => typeof t == "object" && t.key != null ? s(t.key) : s(t)
1217
1219
  );
1218
1220
  }
1219
- function Se(e) {
1220
- const s = e.filter((i) => i.path == null || i.path.length === 0).map((i) => i.message), t = e.filter((i) => i.path != null && i.path.length > 0).reduce((i, r) => {
1221
- const l = ke(r.path), a = l.pop();
1222
- let c = i;
1221
+ function Ce(e) {
1222
+ const s = e.filter((r) => r.path == null || r.path.length === 0).map((r) => r.message), t = e.filter((r) => r.path != null && r.path.length > 0).reduce((r, i) => {
1223
+ const l = Se(i.path), a = l.pop();
1224
+ let o = r;
1223
1225
  for (const p of l)
1224
- c.dependencies == null && (c.dependencies = {}), c.dependencies[p] == null && (c.dependencies[p] = {}), c = c.dependencies[p];
1225
- return c.dependencies == null && (c.dependencies = {}), c.dependencies[a] = { message: r.message }, i;
1226
+ o.dependencies == null && (o.dependencies = {}), o.dependencies[p] == null && (o.dependencies[p] = {}), o = o.dependencies[p];
1227
+ return o.dependencies == null && (o.dependencies = {}), o.dependencies[a] = { message: i.message }, r;
1226
1228
  }, {}), n = s.join(`
1227
1229
  `);
1228
1230
  return {
@@ -1230,15 +1232,15 @@ function Se(e) {
1230
1232
  message: n != "" ? n : void 0
1231
1233
  };
1232
1234
  }
1233
- function Ce({
1235
+ function _e({
1234
1236
  initialValue: e,
1235
1237
  onChange: s,
1236
1238
  validate: t,
1237
1239
  equals: n,
1238
- validationMode: i,
1239
- validateDebounceMs: r
1240
+ validationMode: r,
1241
+ validateDebounceMs: i
1240
1242
  }) {
1241
- const l = C.deriveProp(e), a = E(D.valid), c = E(!1), p = E(i ?? "touchedOrSubmit"), h = (d) => {
1243
+ const l = C.deriveProp(e), a = I(D.valid), o = I(!1), p = I(r ?? "touchedOrSubmit"), h = (d) => {
1242
1244
  a.set(d);
1243
1245
  };
1244
1246
  let b;
@@ -1253,7 +1255,7 @@ function Ce({
1253
1255
  if (t != null) {
1254
1256
  if (g === "onSubmit")
1255
1257
  return;
1256
- const T = r ?? 0;
1258
+ const T = i ?? 0;
1257
1259
  T > 0 ? (b && clearTimeout(b), b = setTimeout(() => {
1258
1260
  S(d);
1259
1261
  }, T)) : await S(d);
@@ -1264,56 +1266,56 @@ function Ce({
1264
1266
  l,
1265
1267
  a,
1266
1268
  {
1267
- disabled: c,
1269
+ disabled: o,
1268
1270
  validationMode: p
1269
1271
  },
1270
1272
  n ?? $
1271
1273
  );
1272
1274
  return u.onDispose(() => {
1273
- c.dispose(), l.dispose(), a.dispose(), p.dispose(), b && clearTimeout(b);
1275
+ o.dispose(), l.dispose(), a.dispose(), p.dispose(), b && clearTimeout(b);
1274
1276
  }), { controller: u, setStatus: h };
1275
1277
  }
1276
1278
  function se(e) {
1277
- return P(o.disabled(e.disabled), o.name(e.name));
1279
+ return N(c.disabled(e.disabled), c.name(e.name));
1278
1280
  }
1279
- function Ne(e, {
1281
+ function Le(e, {
1280
1282
  triggerOn: s = "change"
1281
1283
  } = {}) {
1282
- return P(
1284
+ return N(
1283
1285
  se(e),
1284
- o.value(e.signal),
1285
- (s === "input" ? I.input : I.change)(F(e.change))
1286
+ c.value(e.signal),
1287
+ (s === "input" ? E.input : E.change)(F(e.change))
1286
1288
  );
1287
1289
  }
1288
- function Le(e, {
1290
+ function je(e, {
1289
1291
  triggerOn: s = "change"
1290
1292
  } = {}) {
1291
- return P(
1293
+ return N(
1292
1294
  se(e),
1293
- o.valueAsNumber(e.signal),
1294
- (s === "input" ? I.input : I.change)(
1295
+ c.valueAsNumber(e.signal),
1296
+ (s === "input" ? E.input : E.change)(
1295
1297
  ie(e.change)
1296
1298
  )
1297
1299
  );
1298
1300
  }
1299
1301
  function Q(e) {
1300
- return e.issues != null ? D.invalid(Se(e.issues)) : D.valid;
1302
+ return e.issues != null ? D.invalid(Ce(e.issues)) : D.valid;
1301
1303
  }
1302
- async function je({
1304
+ async function qe({
1303
1305
  task: e,
1304
1306
  errorMessage: s,
1305
1307
  errorPath: t = ["root"],
1306
1308
  validation: n
1307
1309
  }) {
1308
1310
  try {
1309
- const i = await e();
1310
- return n != null ? n(i) : D.valid;
1311
- } catch (i) {
1312
- const r = s ?? (i instanceof Error ? i.message : "Operation failed");
1311
+ const r = await e();
1312
+ return n != null ? n(r) : D.valid;
1313
+ } catch (r) {
1314
+ const i = s ?? (r instanceof Error ? r.message : "Operation failed");
1313
1315
  return t.length === 1 && t[0] === "root" ? D.invalid({
1314
- message: r
1316
+ message: i
1315
1317
  }) : D.invalid({
1316
- dependencies: te(t, r)
1318
+ dependencies: te(t, i)
1317
1319
  });
1318
1320
  }
1319
1321
  }
@@ -1329,27 +1331,27 @@ function te(e, s) {
1329
1331
  }
1330
1332
  };
1331
1333
  }
1332
- function qe({
1334
+ function ze({
1333
1335
  initialValue: e = {},
1334
1336
  schema: s,
1335
1337
  onSubmit: t = async () => D.valid,
1336
1338
  validationMode: n,
1337
- validateDebounceMs: i
1339
+ validateDebounceMs: r
1338
1340
  }) {
1339
- const { controller: r, setStatus: l } = Ce({
1341
+ const { controller: i, setStatus: l } = _e({
1340
1342
  initialValue: e,
1341
1343
  validationMode: n ?? "touchedOrSubmit",
1342
- validateDebounceMs: i,
1344
+ validateDebounceMs: r,
1343
1345
  validate: (n ?? "touchedOrSubmit") === "onSubmit" || s == null ? void 0 : async (h) => Q(
1344
1346
  await s["~standard"].validate(h)
1345
1347
  )
1346
- }), a = E(!1), c = r.object();
1347
- return c.onDispose(a.dispose), {
1348
- controller: c,
1348
+ }), a = I(!1), o = i.object();
1349
+ return o.onDispose(a.dispose), {
1350
+ controller: o,
1349
1351
  setStatus: l,
1350
1352
  submit: async (h) => {
1351
- if (a.set(!0), h?.preventDefault(), c.markAllTouched(), (n ?? "touchedOrSubmit") === "onSubmit") {
1352
- const S = c.signal.value, v = s?.["~standard"].validate;
1353
+ if (a.set(!0), h?.preventDefault(), o.markAllTouched(), (n ?? "touchedOrSubmit") === "onSubmit") {
1354
+ const S = o.signal.value, v = s?.["~standard"].validate;
1353
1355
  if (v == null) {
1354
1356
  a.set(!1);
1355
1357
  return;
@@ -1360,13 +1362,13 @@ function qe({
1360
1362
  return;
1361
1363
  }
1362
1364
  }
1363
- const b = await t(c.signal.value);
1365
+ const b = await t(o.signal.value);
1364
1366
  a.set(!1), b.type === "invalid" && l(b);
1365
1367
  },
1366
1368
  submitting: a
1367
1369
  };
1368
1370
  }
1369
- function _e(e) {
1371
+ function De(e) {
1370
1372
  switch (e) {
1371
1373
  case "success":
1372
1374
  return "material-symbols:check-circle-outline";
@@ -1379,7 +1381,7 @@ function _e(e) {
1379
1381
  return "material-symbols:info-outline";
1380
1382
  }
1381
1383
  }
1382
- function De(e) {
1384
+ function Ee(e) {
1383
1385
  switch (e) {
1384
1386
  case "success":
1385
1387
  return "success";
@@ -1393,27 +1395,27 @@ function De(e) {
1393
1395
  }
1394
1396
  }
1395
1397
  function Ie(e, s, t, n) {
1396
- const i = [
1398
+ const r = [
1397
1399
  "bc-notice",
1398
1400
  `bc-notice--${e}`,
1399
1401
  `bc-notice--tone-${s}`
1400
1402
  ];
1401
- return t && i.push("bc-notice--dismissible"), n && n.length > 0 && i.push(n), i.join(" ");
1403
+ return t && r.push("bc-notice--dismissible"), n && n.length > 0 && r.push(n), r.join(" ");
1402
1404
  }
1403
- function ze({
1405
+ function He({
1404
1406
  variant: e = "info",
1405
1407
  tone: s = "subtle",
1406
1408
  role: t,
1407
1409
  title: n,
1408
- icon: i,
1409
- closable: r = !1,
1410
+ icon: r,
1411
+ closable: i = !1,
1410
1412
  onDismiss: l,
1411
1413
  class: a
1412
- }, ...c) {
1413
- const p = E(!0);
1414
+ }, ...o) {
1415
+ const p = I(!0);
1414
1416
  return O(p, () => {
1415
1417
  const h = C.map(
1416
- r,
1418
+ i,
1417
1419
  (u) => !!u || l != null
1418
1420
  ), b = C.map(e, (u) => u ?? "info"), S = C.map(s, (u) => u ?? "subtle"), v = k(
1419
1421
  t,
@@ -1424,7 +1426,7 @@ function ze({
1424
1426
  return q(
1425
1427
  z,
1426
1428
  (u) => f.div(
1427
- o.class(
1429
+ c.class(
1428
1430
  k(
1429
1431
  b,
1430
1432
  S,
@@ -1433,34 +1435,34 @@ function ze({
1433
1435
  )((d, g, T, A) => Ie(d, g, T, A))
1434
1436
  ),
1435
1437
  // Accessibility role mapping (always defined)
1436
- o.role(C.map(v, (d) => d)),
1437
- re(
1438
- C.map(i, (d) => d === !1),
1438
+ c.role(C.map(v, (d) => d)),
1439
+ ae(
1440
+ C.map(r, (d) => d === !1),
1439
1441
  () => f.div(
1440
- o.class("bc-notice__icon"),
1441
- N({
1442
+ c.class("bc-notice__icon"),
1443
+ B({
1442
1444
  icon: k(
1443
- i,
1445
+ r,
1444
1446
  b
1445
1447
  )(
1446
- (d, g) => d === void 0 ? _e(g) : String(d)
1448
+ (d, g) => d === void 0 ? De(g) : String(d)
1447
1449
  ),
1448
1450
  size: "md",
1449
- color: C.map(b, De)
1451
+ color: C.map(b, Ee)
1450
1452
  })
1451
1453
  )
1452
1454
  ),
1453
1455
  f.div(
1454
- o.class("bc-notice__body"),
1455
- ae(
1456
+ c.class("bc-notice__body"),
1457
+ le(
1456
1458
  n,
1457
- (d) => f.div(o.class("bc-notice__title"), d)
1459
+ (d) => f.div(c.class("bc-notice__title"), d)
1458
1460
  ),
1459
- f.div(o.class("bc-notice__content"), ...c)
1461
+ f.div(c.class("bc-notice__content"), ...o)
1460
1462
  ),
1461
1463
  O(
1462
1464
  h,
1463
- () => oe({
1465
+ () => ue({
1464
1466
  size: "xs",
1465
1467
  label: u.$.closeModal,
1466
1468
  onClick: () => {
@@ -1473,41 +1475,41 @@ function ze({
1473
1475
  });
1474
1476
  }
1475
1477
  export {
1476
- we as A,
1478
+ ke as A,
1477
1479
  ee as B,
1478
- oe as C,
1479
- Ve as D,
1480
- Fe as E,
1480
+ ue as C,
1481
+ Oe as D,
1482
+ $e as E,
1481
1483
  Z as I,
1482
- ue as L,
1484
+ he as L,
1483
1485
  Pe as M,
1484
- ze as N,
1486
+ He as N,
1485
1487
  $ as O,
1486
- $e as P,
1487
- de as R,
1488
- Me as S,
1488
+ xe as P,
1489
+ pe as R,
1490
+ Fe as S,
1489
1491
  D as a,
1490
- Oe as b,
1491
- xe as c,
1492
+ Me as b,
1493
+ Ne as c,
1492
1494
  J as d,
1493
1495
  M as e,
1494
1496
  j as f,
1495
- me as g,
1496
- ve as h,
1497
- ye as i,
1498
- ke as j,
1499
- Se as k,
1500
- Ce as l,
1501
- be as m,
1497
+ ge as g,
1498
+ ye as h,
1499
+ we as i,
1500
+ Se as j,
1501
+ Ce as k,
1502
+ _e as l,
1503
+ me as m,
1502
1504
  se as n,
1503
- Ne as o,
1505
+ Le as o,
1504
1506
  Be as p,
1505
- Le as q,
1507
+ je as q,
1506
1508
  Q as r,
1507
1509
  H as s,
1508
- je as t,
1509
- qe as u,
1510
- Ae as v,
1511
- ge as w,
1512
- he as x
1510
+ qe as t,
1511
+ ze as u,
1512
+ Ve as v,
1513
+ ve as w,
1514
+ de as x
1513
1515
  };