@tempots/beatui 0.76.0 → 0.78.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/{ar-CefikVG3.cjs → ar-DNoFBb9J.cjs} +1 -1
  2. package/dist/{ar-BbgpGwJp.js → ar-D__6gR_P.js} +1 -1
  3. package/dist/auth/index.cjs.js +1 -1
  4. package/dist/auth/index.es.js +5 -5
  5. package/dist/beatui.css +11 -2
  6. package/dist/beatui.tailwind.css +11 -2
  7. package/dist/{colors-B9fcMxa_.cjs → colors-B2yrgHSW.cjs} +1 -1
  8. package/dist/{colors-pQZlNrwM.js → colors-DPo9GEJR.js} +6 -6
  9. package/dist/{de-ZRnkggf5.cjs → de-AwUkK0rS.cjs} +1 -1
  10. package/dist/{de-R7lPfyZ4.js → de-DmKpCTuQ.js} +1 -1
  11. package/dist/deep-merge-BoJqJNah.cjs +1 -0
  12. package/dist/{deep-merge-CQQCMLwG.js → deep-merge-Cjm-tFVT.js} +224 -226
  13. package/dist/{duration-input-D-SIoDoo.cjs → duration-input-COTlyMwv.cjs} +1 -1
  14. package/dist/{duration-input-DKxZ6OCa.js → duration-input-DfdE7_V9.js} +3 -3
  15. package/dist/{es-DV0Jr_BZ.js → es-BDZ5UJLS.js} +1 -1
  16. package/dist/{es-IkNtVSp2.cjs → es-D-d2AIlX.cjs} +1 -1
  17. package/dist/{fa-DXvHejs9.js → fa-CuPgy1cj.js} +1 -1
  18. package/dist/{fa-B-byOhgU.cjs → fa-D7rRdG8c.cjs} +1 -1
  19. package/dist/{fr-F0ZegdR2.cjs → fr-0er_BWMt.cjs} +1 -1
  20. package/dist/{fr-D8FOMX0o.js → fr-DmyMO3lB.js} +1 -1
  21. package/dist/{he-B19Qsx-u.js → he-C3RHfs6R.js} +1 -1
  22. package/dist/{he-BcEFNuYz.cjs → he-R2veUyP3.cjs} +1 -1
  23. package/dist/{hi-CarXvOJD.cjs → hi-C9UP7NGG.cjs} +1 -1
  24. package/dist/{hi-DozFnE3b.js → hi-YnvrXBht.js} +1 -1
  25. package/dist/{index-DdpYvBeh.js → index-BSl-AmDV.js} +3 -3
  26. package/dist/{index-B7lXSIXm.cjs → index-ByWYsYVI.cjs} +2 -2
  27. package/dist/{index-CYb1YxDX.js → index-Ck1DAzZ9.js} +1 -1
  28. package/dist/{index-gSTSk9KZ.cjs → index-D5kPtj3r.cjs} +1 -1
  29. package/dist/{index-CyyNsVT9.cjs → index-DE2tjivA.cjs} +1 -1
  30. package/dist/{index-CpZh_Snx.js → index-DklKfzD4.js} +1 -1
  31. package/dist/index.cjs.js +2 -2
  32. package/dist/index.es.js +244 -243
  33. package/dist/{it-But8uzNi.js → it-CWLwlDXe.js} +1 -1
  34. package/dist/{it-ops3Czzi.cjs → it-Cxt1_D4h.cjs} +1 -1
  35. package/dist/{ja-2dzONSkh.cjs → ja-CpDovHPb.cjs} +1 -1
  36. package/dist/{ja-DkwTnFdU.js → ja-DthjgDtM.js} +1 -1
  37. package/dist/json-schema/index.cjs.js +2 -2
  38. package/dist/json-schema/index.es.js +7 -7
  39. package/dist/json-structure/index.cjs.js +1 -1
  40. package/dist/json-structure/index.es.js +5 -5
  41. package/dist/{ko-uVJEhtyQ.cjs → ko-M_MCTNuN.cjs} +1 -1
  42. package/dist/{ko-Cqv-IjhX.js → ko-joDK7ONT.js} +1 -1
  43. package/dist/{modal-MofsfmAe.js → modal-CkcwBTk2.js} +28 -28
  44. package/dist/{modal-5P9mU_a4.cjs → modal-CwDATZfz.cjs} +1 -1
  45. package/dist/monaco/index.cjs.js +2 -2
  46. package/dist/monaco/index.es.js +11 -11
  47. package/dist/{nl-DXnbYulJ.cjs → nl-DGhIOGxN.cjs} +1 -1
  48. package/dist/{nl-YSiU3rFI.js → nl-DmoWeXUt.js} +1 -1
  49. package/dist/{notice-DP209Ed8.cjs → notice-Bs90dF7k.cjs} +1 -1
  50. package/dist/{notice-Cqq8g17n.js → notice-CQ1Vx-z1.js} +2 -2
  51. package/dist/{pl-DXmHc2Nh.js → pl-8hl5VXnm.js} +1 -1
  52. package/dist/{pl-RbiIBA3C.cjs → pl-DocnXix_.cjs} +1 -1
  53. package/dist/prosemirror/index.cjs.js +1 -1
  54. package/dist/prosemirror/index.es.js +1 -1
  55. package/dist/{pt-Bf3z_-26.js → pt-BfYK9Rl3.js} +1 -1
  56. package/dist/{pt-BAecyAv-.cjs → pt-DO2Zcuqv.cjs} +1 -1
  57. package/dist/{ru-DZ4gJ6yr.cjs → ru-D9KCOBqN.cjs} +1 -1
  58. package/dist/{ru-Sy00qUeG.js → ru-eA_dNkJz.js} +1 -1
  59. package/dist/tailwind/index.cjs.js +1 -1
  60. package/dist/tailwind/index.es.js +1 -1
  61. package/dist/tailwind/preset.cjs.js +1 -1
  62. package/dist/tailwind/preset.es.js +2 -2
  63. package/dist/tailwind/vite-plugin.cjs.js +1 -1
  64. package/dist/tailwind/vite-plugin.es.js +1 -1
  65. package/dist/timer-BJHOsuS6.cjs +1 -0
  66. package/dist/timer-Rd2sKnvH.js +65 -0
  67. package/dist/{toolbar-C_Ec0_XC.js → toolbar-CdY5huSG.js} +1 -1
  68. package/dist/{toolbar-wEm8iNet.cjs → toolbar-DoRPrs-s.cjs} +1 -1
  69. package/dist/{tr-7jGF_acJ.cjs → tr-BBmQvRSa.cjs} +1 -1
  70. package/dist/{tr-BDxG3qd6.js → tr-CdqbnopM.js} +1 -1
  71. package/dist/{translations-DQxouiBG.js → translations-BEMKy6-W.js} +19 -19
  72. package/dist/{translations-BmsRhth7.js → translations-CVfr2JXG.js} +1 -1
  73. package/dist/{translations-C7HVMcOQ.cjs → translations-D_Vu2mbd.cjs} +1 -1
  74. package/dist/{translations-hMQlZmD4.cjs → translations-eUtMHN9s.cjs} +1 -1
  75. package/dist/types/components/form/controller/controller-validation.d.ts +41 -0
  76. package/dist/types/components/json-schema/widgets/widget-customization.d.ts +7 -7
  77. package/dist/{ur-55zdT2TQ.js → ur-D9sr_I1M.js} +1 -1
  78. package/dist/{ur-ZT6fZFId.cjs → ur-u5qjZsKM.cjs} +1 -1
  79. package/dist/use-form-C5eF9ALX.cjs +2 -0
  80. package/dist/use-form-D3EXhCfe.js +1731 -0
  81. package/dist/{vi-C7K7W0hM.js → vi-0f97dtZb.js} +1 -1
  82. package/dist/{vi-tNs62pgs.cjs → vi-_w5RE8el.cjs} +1 -1
  83. package/dist/{widget-customization-CobH7Rj_.js → widget-customization-BB1gYtwq.js} +4 -4
  84. package/dist/{widget-customization-GaZB6sLP.cjs → widget-customization-Czt9chmX.cjs} +1 -1
  85. package/dist/{zh-CBnP8_Lf.cjs → zh-6cQcHbf6.cjs} +1 -1
  86. package/dist/{zh-DvJBV9D8.js → zh-C7HcUKhE.js} +1 -1
  87. package/package.json +7 -4
  88. package/dist/deep-merge-DZxfgKqX.cjs +0 -1
  89. package/dist/timer-DK_yKNwE.cjs +0 -1
  90. package/dist/timer-DzWb416P.js +0 -51
  91. package/dist/use-form-B7A865EM.js +0 -1298
  92. package/dist/use-form-DVJXMMoN.cjs +0 -2
package/dist/index.es.js CHANGED
@@ -1,27 +1,27 @@
1
- import { prop as Z, html as d, attr as r, computedOf as _, Fragment as F, OnDispose as oe, style as x, on as A, WithElement as ee, When as Q, Value as m, Use as re, Empty as z, input as me, emitValue as te, aria as M, OneOfValue as cn, Unless as un, coalesce as Te, ForEach as Le, Ensure as Ne, OneOfType as Dt, dataAttr as at, NotEmpty as dn, emitValueAsDate as fn, Portal as rt, makeProviderMark as At, WithBrowserCtx as pn, renderWithContext as bn, WithProvider as gn, Task as mn, Provide as Bt, MapSignal as Et, svg as pt, svgAttr as bt, delaySignal as hn } from "@tempots/dom";
1
+ import { prop as Z, html as d, attr as r, computedOf as _, Fragment as F, OnDispose as oe, style as x, on as A, WithElement as ee, When as Q, Value as m, Use as re, Empty as z, input as me, emitValue as te, aria as M, OneOfValue as cn, Unless as un, coalesce as Te, ForEach as Le, Ensure as Ne, OneOfType as Dt, dataAttr as at, NotEmpty as dn, emitValueAsDate as fn, Portal as rt, makeProviderMark as At, WithBrowserCtx as pn, renderWithContext as bn, WithProvider as gn, Task as mn, Provide as Bt, MapSignal as Vt, svg as pt, svgAttr as bt, delaySignal as hn } from "@tempots/dom";
2
2
  import { Use as ho } from "@tempots/dom";
3
- import { PopOver as vn, ElementRect as Be, WindowSize as yn, Query as Vt, Location as Me, NavigationService as wn, Anchor as ot } from "@tempots/ui";
4
- import { i as se, t as ke, e as gt, d as ie, a as ue, c as ne, b as de, C as he, B as mt, I as We, L as st, j as ht, k as vt } from "./translations-DQxouiBG.js";
5
- import { x as yo, T as wo, l as xo, g as ko, f as So, h as Co, u as _o, q as $o, o as Io, w as To, y as Lo, n as Po, v as Do, m as Ao, p as Bo, r as Eo, s as Vo } from "./translations-DQxouiBG.js";
6
- import { g as lt } from "./colors-pQZlNrwM.js";
7
- import { b as Oo, e as No, i as Ro, a as Uo, c as Fo, o as jo, l as Ho, m as Wo, k as zo, j as Yo, n as Go, r as Zo, s as qo, d as Jo, h as Ko, t as Qo } from "./colors-pQZlNrwM.js";
8
- import { b as xn } from "./index-CpZh_Snx.js";
9
- import { t as es, am as ts, h as ns, J as as, c as rs, N as os, I as ss, K as ls, e as is, l as cs, d as us, a as ds, ab as fs, o as ps, a0 as bs, ae as gs, q as ms, H as hs, A as vs, al as ys, g as ws, E as xs, x as ks, aj as Ss, $ as Cs, a4 as _s, k as $s, j as Is, i as Ts, Y as Ls, X as Ps, Q as Ds, P as As, S as Bs, R as Es, W as Vs, V as Ms, U as Os, T as Ns, a8 as Rs, a7 as Us, aa as Fs, a9 as js, n as Hs, m as Ws, _ as zs, Z as Ys, ad as Gs, p as Zs, G as qs, z as Js, ak as Ks, D as Qs, C as Xs, w as el, v as tl, ai as nl, ah as al, f as rl, a3 as ol, a2 as sl, M as ll, L as il, a5 as cl, a6 as ul, r as dl, O as fl, ac as pl, s as bl, F as gl, y as ml, ag as hl, B as vl, u as yl, af as wl, a1 as xl } from "./index-CpZh_Snx.js";
10
- import { C as Re, s as ge, m as Mt, d as Ot, I as it, B as Nt, c as Rt, e as kn, S as Sn } from "./use-form-B7A865EM.js";
11
- import { A as Sl, i as Cl, b as _l, D as $l, E as Il, L as Tl, j as Ll, M as Pl, g as Dl, R as Al, o as Bl, r as El, q as Vl, n as Ml, l as Ol, f as Nl, p as Rl, k as Ul, v as Fl, t as jl, h as Hl, u as Wl, w as zl } from "./use-form-B7A865EM.js";
12
- import { u as Oe, A as nt, a as Cn, O as Ut, F as _n } from "./modal-MofsfmAe.js";
13
- import { B as Gl, C as Zl, M as ql, c as Jl, S as Kl, b as Ql, d as Xl, o as ei, s as ti, f as ni, e as ai, g as ri } from "./modal-MofsfmAe.js";
3
+ import { PopOver as vn, ElementRect as Be, WindowSize as yn, Query as Et, Location as Me, NavigationService as wn, Anchor as ot } from "@tempots/ui";
4
+ import { i as se, t as ke, e as gt, d as ie, a as ue, c as ne, b as de, C as he, B as mt, I as We, L as st, j as ht, k as vt } from "./translations-BEMKy6-W.js";
5
+ import { x as yo, T as wo, l as xo, g as ko, f as So, h as Co, u as _o, q as $o, o as Io, w as To, y as Lo, n as Po, v as Do, m as Ao, p as Bo, r as Vo, s as Eo } from "./translations-BEMKy6-W.js";
6
+ import { g as lt } from "./colors-DPo9GEJR.js";
7
+ import { b as Oo, e as No, h as Ro, a as Uo, c as Fo, o as jo, k as Ho, m as Wo, j as zo, i as Yo, n as Go, r as Zo, s as qo, d as Jo, f as Ko, t as Qo } from "./colors-DPo9GEJR.js";
8
+ import { b as xn } from "./index-DklKfzD4.js";
9
+ import { t as es, am as ts, h as ns, J as as, c as rs, N as os, I as ss, K as ls, e as is, l as cs, d as us, a as ds, ab as fs, o as ps, a0 as bs, ae as gs, q as ms, H as hs, A as vs, al as ys, g as ws, E as xs, x as ks, aj as Ss, $ as Cs, a4 as _s, k as $s, j as Is, i as Ts, Y as Ls, X as Ps, Q as Ds, P as As, S as Bs, R as Vs, W as Es, V as Ms, U as Os, T as Ns, a8 as Rs, a7 as Us, aa as Fs, a9 as js, n as Hs, m as Ws, _ as zs, Z as Ys, ad as Gs, p as Zs, G as qs, z as Js, ak as Ks, D as Qs, C as Xs, w as el, v as tl, ai as nl, ah as al, f as rl, a3 as ol, a2 as sl, M as ll, L as il, a5 as cl, a6 as ul, r as dl, O as fl, ac as pl, s as bl, F as gl, y as ml, ag as hl, B as vl, u as yl, af as wl, a1 as xl } from "./index-DklKfzD4.js";
10
+ import { C as Re, s as ge, m as Mt, c as Ot, I as it, B as Nt, b as Rt, d as kn, S as Sn } from "./use-form-D3EXhCfe.js";
11
+ import { A as Sl, h as Cl, a as _l, l as $l, D as Il, E as Tl, L as Ll, j as Pl, M as Dl, f as Al, R as Bl, q as Vl, v as El, r as Ml, o as Ol, n as Nl, e as Rl, p as Ul, k as Fl, x as jl, t as Hl, g as Wl, u as zl, w as Yl } from "./use-form-D3EXhCfe.js";
12
+ import { u as Oe, A as nt, a as Cn, O as Ut, F as _n } from "./modal-CkcwBTk2.js";
13
+ import { B as Zl, C as ql, M as Jl, c as Kl, S as Ql, b as Xl, d as ei, o as ti, s as ni, f as ai, e as ri, g as oi } from "./modal-CkcwBTk2.js";
14
14
  import { T as Ft, a as $n } from "./theme-B5pmbvQ_.js";
15
- import { e as yt, n as In, i as Tn, a as wt, b as Ae } from "./widget-customization-CobH7Rj_.js";
16
- import { B as si, h as li, u as ii, C as ci, E as ui, N as di, j as fi, k as pi, l as bi, q as gi, s as mi, m as hi, o as vi, p as yi, t as wi, R as xi, r as ki, S as Si, g as Ci, c as _i, d as $i, f as Ii, Q as Ti, A as Li, z as Pi, H as Di, I as Ai, x as Bi, v as Ei, w as Vi, M as Mi, G as Oi, O as Ni, D as Ri, T as Ui, y as Fi, J as ji, K as Hi, P as Wi, L as zi, F as Yi } from "./widget-customization-CobH7Rj_.js";
17
- import { S as Ln, G as jt, E as Pn, f as Ht, N as Ye, M as ct, W as Ee } from "./deep-merge-CQQCMLwG.js";
18
- import { B as Zi, o as qi, F as Ji, L as Ki, n as Qi, h as Xi, e as ec, b as tc, c as nc, T as ac, U as rc, i as oc, k as sc, a as lc, j as ic, p as cc, q as uc, r as dc, t as fc, l as pc, m as bc } from "./deep-merge-CQQCMLwG.js";
19
- import { g as ze, x as xt } from "./timer-DzWb416P.js";
20
- import { E as mc, N as hc, P as vc } from "./notice-Cqq8g17n.js";
21
- import { f as Dn, g as An } from "./duration-input-DKxZ6OCa.js";
22
- import { B as wc, D as xc, F as kc, N as Sc, d as Cc, b as _c, a as $c, e as Ic, c as Tc, P as Lc } from "./duration-input-DKxZ6OCa.js";
23
- import { L as Dc } from "./link-portal-Cr2l9f3k.js";
24
- import { T as Bc, a as Ec, c as Vc, b as Mc, d as Oc } from "./toolbar-C_Ec0_XC.js";
15
+ import { e as yt, n as In, i as Tn, a as wt, b as Ae } from "./widget-customization-BB1gYtwq.js";
16
+ import { B as li, h as ii, u as ci, C as ui, E as di, N as fi, j as pi, k as bi, l as gi, q as mi, s as hi, m as vi, o as yi, p as wi, t as xi, R as ki, r as Si, S as Ci, g as _i, c as $i, d as Ii, f as Ti, Q as Li, A as Pi, z as Di, H as Ai, I as Bi, x as Vi, v as Ei, w as Mi, M as Oi, G as Ni, O as Ri, D as Ui, T as Fi, y as ji, J as Hi, K as Wi, P as zi, L as Yi, F as Gi } from "./widget-customization-BB1gYtwq.js";
17
+ import { S as Ln, G as jt, E as Pn, f as Ht, N as Ye, M as ct, W as Ve } from "./deep-merge-Cjm-tFVT.js";
18
+ import { B as qi, o as Ji, F as Ki, L as Qi, n as Xi, h as ec, e as tc, b as nc, c as ac, T as rc, U as oc, i as sc, k as lc, a as ic, j as cc, p as uc, q as dc, r as fc, t as pc, l as bc, m as gc } from "./deep-merge-Cjm-tFVT.js";
19
+ import { g as ze, T as xt } from "./timer-Rd2sKnvH.js";
20
+ import { E as hc, N as vc, P as yc } from "./notice-CQ1Vx-z1.js";
21
+ import { f as Dn, g as An } from "./duration-input-DfdE7_V9.js";
22
+ import { B as xc, D as kc, F as Sc, N as Cc, d as _c, b as $c, a as Ic, e as Tc, c as Lc, P as Pc } from "./duration-input-DfdE7_V9.js";
23
+ import { L as Ac } from "./link-portal-Cr2l9f3k.js";
24
+ import { T as Vc, a as Ec, c as Mc, b as Oc, d as Nc } from "./toolbar-CdY5huSG.js";
25
25
  function lr(e, t = 0, n = () => !0) {
26
26
  let a = null, o;
27
27
  const l = Z(e.value);
@@ -102,7 +102,7 @@ function dr(e, t = 1) {
102
102
  const a = Math.min(Math.max(n + t, 0), Je.length - 1);
103
103
  return Je[a];
104
104
  }
105
- function En(e, t, n, a) {
105
+ function Vn(e, t, n, a) {
106
106
  const o = [
107
107
  "bc-badge",
108
108
  `bc-badge--size-${e}`,
@@ -110,7 +110,7 @@ function En(e, t, n, a) {
110
110
  ];
111
111
  return n && o.push("bc-badge--circle"), a && o.push("bc-badge--full-width"), o.join(" ");
112
112
  }
113
- function Vn(e, t) {
113
+ function En(e, t) {
114
114
  const n = /* @__PURE__ */ new Map(), a = (o, l, i, c) => {
115
115
  n.set("--badge-bg-hover", o), n.set("--badge-text-hover", i), n.set("--badge-bg-hover-dark", l), n.set("--badge-text-hover-dark", c);
116
116
  };
@@ -184,7 +184,7 @@ function fr({
184
184
  o,
185
185
  l
186
186
  )(
187
- (c, u, s, f) => En(
187
+ (c, u, s, f) => Vn(
188
188
  c ?? "md",
189
189
  u ?? "sm",
190
190
  s ?? !1,
@@ -197,7 +197,7 @@ function fr({
197
197
  e,
198
198
  n
199
199
  )(
200
- (c, u) => Vn(
200
+ (c, u) => En(
201
201
  c ?? "filled",
202
202
  u ?? "base"
203
203
  )
@@ -484,25 +484,25 @@ function Ge(e) {
484
484
  }
485
485
  function I() {
486
486
  m.get(u) && (C = (O) => {
487
- O.key === "Escape" && E();
487
+ O.key === "Escape" && V();
488
488
  }, document.addEventListener("keydown", C)), v = !0, k.set(!0), w({
489
489
  placement: n ?? "top",
490
490
  mainAxisOffset: l,
491
491
  crossAxisOffset: i,
492
492
  onClickOutside: () => {
493
- m.get(u) && E();
493
+ m.get(u) && V();
494
494
  },
495
495
  arrow: s,
496
496
  content: ee((O) => {
497
497
  S.setElement(O), h = ze(() => {
498
498
  S.open(), h = null;
499
499
  });
500
- const V = (N) => {
501
- m.get(u) && N.key === "Escape" && (N.preventDefault(), N.stopPropagation(), E(), k.set(!1));
500
+ const E = (N) => {
501
+ m.get(u) && N.key === "Escape" && (N.preventDefault(), N.stopPropagation(), V(), k.set(!1));
502
502
  };
503
- return document.addEventListener("keydown", V, !0), F(
503
+ return document.addEventListener("keydown", E, !0), F(
504
504
  oe(() => {
505
- y(), document.removeEventListener("keydown", V, !0);
505
+ y(), document.removeEventListener("keydown", E, !0);
506
506
  }),
507
507
  r.class("bc-flyout-container"),
508
508
  r.id(g),
@@ -536,7 +536,7 @@ function Ge(e) {
536
536
  }, O);
537
537
  }
538
538
  let $ = null;
539
- function E() {
539
+ function V() {
540
540
  if (D != null && (clearTimeout(D), D = null), $ != null && (clearTimeout($), $ = null), k.set(!1), h && (h(), h = null, v)) {
541
541
  b(), y();
542
542
  return;
@@ -549,10 +549,10 @@ function Ge(e) {
549
549
  }, O);
550
550
  }
551
551
  return ee((O) => {
552
- const V = () => {
552
+ const E = () => {
553
553
  L(), k.set(!0);
554
554
  }, N = () => {
555
- E(), k.set(!1);
555
+ V(), k.set(!1);
556
556
  }, X = F(
557
557
  M.expanded(k),
558
558
  M.controls(g),
@@ -562,22 +562,22 @@ function Ge(e) {
562
562
  );
563
563
  return typeof c == "function" ? F(
564
564
  X,
565
- c(V, N)
565
+ c(E, N)
566
566
  ) : F(
567
567
  X,
568
568
  cn(c, {
569
569
  "hover-focus": () => F(
570
- A.mouseenter(() => V()),
570
+ A.mouseenter(() => E()),
571
571
  A.mouseleave(() => N()),
572
- A.focus(() => V()),
572
+ A.focus(() => E()),
573
573
  A.blur(() => N())
574
574
  ),
575
575
  hover: () => F(
576
- A.mouseenter(() => V()),
576
+ A.mouseenter(() => E()),
577
577
  A.mouseleave(() => N())
578
578
  ),
579
579
  focus: () => F(
580
- A.focus(() => V()),
580
+ A.focus(() => E()),
581
581
  A.blur(() => N())
582
582
  ),
583
583
  click: () => {
@@ -590,7 +590,7 @@ function Ge(e) {
590
590
  return F(
591
591
  oe(U),
592
592
  A.click(() => {
593
- V(), ze(() => {
593
+ E(), ze(() => {
594
594
  document.addEventListener("click", Y, {
595
595
  once: !0
596
596
  });
@@ -1325,14 +1325,14 @@ function Sr({
1325
1325
  )((P, R, K) => P - R - K), $ = _(
1326
1326
  t,
1327
1327
  D
1328
- )((P, R) => P > BigInt(R)), E = _(
1328
+ )((P, R) => P > BigInt(R)), V = _(
1329
1329
  n,
1330
1330
  L
1331
1331
  )((P, R) => P > BigInt(R)), O = _(
1332
1332
  D,
1333
- E,
1333
+ V,
1334
1334
  y
1335
- )((P, R, K) => R ? P - K : P), V = _(
1335
+ )((P, R, K) => R ? P - K : P), E = _(
1336
1336
  L,
1337
1337
  $,
1338
1338
  y
@@ -1341,7 +1341,7 @@ function Sr({
1341
1341
  O
1342
1342
  )((P, R) => Number(P / BigInt(Math.max(1, R)))), X = _(
1343
1343
  n,
1344
- V
1344
+ E
1345
1345
  )((P, R) => Number(P / BigInt(Math.max(1, R)))), H = m.map(
1346
1346
  g,
1347
1347
  (P) => P === "body-end" || P === "body-end-bottom"
@@ -1368,7 +1368,7 @@ function Sr({
1368
1368
  _(
1369
1369
  o,
1370
1370
  n,
1371
- V,
1371
+ E,
1372
1372
  u
1373
1373
  )((P, R, K, T) => {
1374
1374
  const B = P + Number(R), j = P + K, J = Math.min(B, j);
@@ -1377,7 +1377,7 @@ function Sr({
1377
1377
  ),
1378
1378
  () => x.bottom("0")
1379
1379
  ), Ce = _(
1380
- E,
1380
+ V,
1381
1381
  y
1382
1382
  )((P, R) => P ? `${R}px` : "0"), q = _(
1383
1383
  $,
@@ -1387,7 +1387,7 @@ function Sr({
1387
1387
  C,
1388
1388
  k,
1389
1389
  $,
1390
- E
1390
+ V
1391
1391
  )((P, R, K, T) => {
1392
1392
  const B = K ? `translateX(-${P}px)` : "", j = T ? `translateY(-${R}px)` : "";
1393
1393
  return `${B} ${j}`.trim() || "none";
@@ -1398,14 +1398,14 @@ function Sr({
1398
1398
  k.map((P) => `translateY(-${P}px)`)
1399
1399
  ), Pe = _(
1400
1400
  n,
1401
- V
1401
+ E
1402
1402
  )((P, R) => P - BigInt(Math.max(1, R))), De = _(
1403
1403
  t,
1404
1404
  O
1405
1405
  )((P, R) => P - BigInt(Math.max(1, R)));
1406
1406
  let W = null, _e = 0, $e = 0;
1407
1407
  const Ze = () => {
1408
- const P = Pe.value, R = De.value, K = E.value, T = $.value;
1408
+ const P = Pe.value, R = De.value, K = V.value, T = $.value;
1409
1409
  if (K && $e !== 0) {
1410
1410
  const B = kt(
1411
1411
  Ue(0n, P),
@@ -1430,7 +1430,7 @@ function Sr({
1430
1430
  };
1431
1431
  return $.on((P) => {
1432
1432
  P || C.set(0n);
1433
- }), E.on((P) => {
1433
+ }), V.on((P) => {
1434
1434
  P || k.set(0n);
1435
1435
  }), F(
1436
1436
  oe(() => {
@@ -1554,7 +1554,7 @@ function Sr({
1554
1554
  x.left("0"),
1555
1555
  x.right(
1556
1556
  _(
1557
- E,
1557
+ V,
1558
1558
  y
1559
1559
  )((P, R) => P ? `${R}px` : "0")
1560
1560
  ),
@@ -1597,7 +1597,7 @@ function Sr({
1597
1597
  ),
1598
1598
  x.right("0"),
1599
1599
  x.width(
1600
- E.map(
1600
+ V.map(
1601
1601
  (P) => P ? "16px" : "0"
1602
1602
  )
1603
1603
  ),
@@ -2172,34 +2172,34 @@ function Jt(e) {
2172
2172
  Ge({
2173
2173
  content: () => ee((C) => {
2174
2174
  k = document.activeElement;
2175
- const h = (L, $, E) => {
2175
+ const h = (L, $, V) => {
2176
2176
  if ($.length === 0) return -1;
2177
- let O = L + E, V = 0;
2178
- for (; V < $.length; ) {
2177
+ let O = L + V, E = 0;
2178
+ for (; E < $.length; ) {
2179
2179
  O >= $.length && (O = 0), O < 0 && (O = $.length - 1);
2180
2180
  const N = $[O];
2181
2181
  if (N && N.getAttribute("aria-disabled") !== "true")
2182
2182
  return O;
2183
- O += E, V++;
2183
+ O += V, E++;
2184
2184
  }
2185
2185
  return L;
2186
2186
  }, v = (L) => {
2187
- const $ = g.value, E = S.value;
2187
+ const $ = g.value, V = S.value;
2188
2188
  switch (L.key) {
2189
2189
  case "ArrowDown":
2190
2190
  L.preventDefault(), L.stopPropagation();
2191
- const O = h(E, $, 1);
2191
+ const O = h(V, $, 1);
2192
2192
  y(O, $);
2193
2193
  break;
2194
2194
  case "ArrowUp":
2195
2195
  L.preventDefault(), L.stopPropagation();
2196
- const V = h(E, $, -1);
2197
- y(V, $);
2196
+ const E = h(V, $, -1);
2197
+ y(E, $);
2198
2198
  break;
2199
2199
  case "Enter":
2200
2200
  case " ":
2201
- if (L.preventDefault(), L.stopPropagation(), E >= 0 && $[E]) {
2202
- const N = $[E];
2201
+ if (L.preventDefault(), L.stopPropagation(), V >= 0 && $[V]) {
2202
+ const N = $[V];
2203
2203
  if (N.getAttribute("aria-disabled") === "true")
2204
2204
  return;
2205
2205
  const X = N.getAttribute("data-key");
@@ -2216,8 +2216,8 @@ function Jt(e) {
2216
2216
  L.preventDefault(), L.stopPropagation(), $.length > 0 && y($.length - 1, $);
2217
2217
  break;
2218
2218
  case "ArrowRight":
2219
- if (L.preventDefault(), L.stopPropagation(), E >= 0 && $[E]) {
2220
- const N = $[E];
2219
+ if (L.preventDefault(), L.stopPropagation(), V >= 0 && $[V]) {
2220
+ const N = $[V];
2221
2221
  N.classList.contains(
2222
2222
  "bc-menu-item--has-submenu"
2223
2223
  ) && N.dispatchEvent(new Event("mouseenter"));
@@ -2237,7 +2237,7 @@ function Jt(e) {
2237
2237
  );
2238
2238
  if (g.set(L), L.length > 0) {
2239
2239
  const $ = L.findIndex(
2240
- (E) => E.getAttribute("aria-disabled") !== "true"
2240
+ (V) => V.getAttribute("aria-disabled") !== "true"
2241
2241
  );
2242
2242
  $ >= 0 && y($, L);
2243
2243
  }
@@ -2262,11 +2262,11 @@ function Jt(e) {
2262
2262
  })
2263
2263
  ),
2264
2264
  A.click((L) => {
2265
- const E = L.target.closest(
2265
+ const V = L.target.closest(
2266
2266
  '[role="menuitem"]'
2267
2267
  );
2268
- if (E && E.getAttribute("aria-disabled") !== "true") {
2269
- const O = E.getAttribute("data-key");
2268
+ if (V && V.getAttribute("aria-disabled") !== "true") {
2269
+ const O = V.getAttribute("data-key");
2270
2270
  O && f && f(O);
2271
2271
  }
2272
2272
  }),
@@ -2278,8 +2278,8 @@ function Jt(e) {
2278
2278
  S.map((L) => {
2279
2279
  const $ = g.value;
2280
2280
  if (L >= 0 && $[L]) {
2281
- const E = $[L].textContent || "";
2282
- return $[L].getAttribute("aria-disabled") === "true" ? `${E}, disabled` : `${E}, ${L + 1} of ${$.length}`;
2281
+ const V = $[L].textContent || "";
2282
+ return $[L].getAttribute("aria-disabled") === "true" ? `${V}, disabled` : `${V}, ${L + 1} of ${$.length}`;
2283
2283
  }
2284
2284
  return "";
2285
2285
  })
@@ -2676,7 +2676,7 @@ const Ar = (e) => {
2676
2676
  a != null ? A.change(te((o) => a(new Date(o)))) : z
2677
2677
  )
2678
2678
  });
2679
- }, Er = (e) => Vt({
2679
+ }, Vr = (e) => Et({
2680
2680
  request: e.request,
2681
2681
  load: e.load,
2682
2682
  convertError: String,
@@ -2700,7 +2700,7 @@ const Ar = (e) => {
2700
2700
  })
2701
2701
  )
2702
2702
  )
2703
- }), Vr = (e) => {
2703
+ }), Er = (e) => {
2704
2704
  const { value: t, onBlur: n, onChange: a, onInput: o, after: l, disabled: i, ...c } = e, u = Ye(t, i, a ?? o);
2705
2705
  return ct({
2706
2706
  ...c,
@@ -2749,7 +2749,7 @@ const Ar = (e) => {
2749
2749
  return `${n}-${a}-${o}T${l}:${i}`;
2750
2750
  }, Or = (e) => {
2751
2751
  const { value: t, onBlur: n, onChange: a } = e;
2752
- return Ee(
2752
+ return Ve(
2753
2753
  (o) => de({
2754
2754
  ...e,
2755
2755
  input: me["datetime-local"](
@@ -2772,7 +2772,7 @@ const Ar = (e) => {
2772
2772
  return `${n}-${a}-${o}T${l}:${i}`;
2773
2773
  }, Nr = (e) => {
2774
2774
  const { value: t, onBlur: n, onChange: a, onInput: o, after: l, disabled: i } = e, c = Ye(t, i, a ?? o);
2775
- return Ee(
2775
+ return Ve(
2776
2776
  (u) => de({
2777
2777
  ...e,
2778
2778
  input: me["datetime-local"](
@@ -2801,7 +2801,7 @@ const Ar = (e) => {
2801
2801
  );
2802
2802
  }, Rr = (e) => {
2803
2803
  const { value: t, onBlur: n, onChange: a } = e;
2804
- return Ee(
2804
+ return Ve(
2805
2805
  (o) => de({
2806
2806
  ...e,
2807
2807
  input: me["datetime-local"](
@@ -2820,7 +2820,7 @@ const Ar = (e) => {
2820
2820
  );
2821
2821
  }, Ur = (e) => {
2822
2822
  const { value: t, onBlur: n, onChange: a, onInput: o, after: l, disabled: i } = e, c = Ye(t, i, a ?? o);
2823
- return Ee(
2823
+ return Ve(
2824
2824
  (u) => de({
2825
2825
  ...e,
2826
2826
  input: me["datetime-local"](
@@ -2856,7 +2856,7 @@ const Ar = (e) => {
2856
2856
  parseValue: (e, t) => e.PlainYearMonth.from(t)
2857
2857
  }), Hr = (e) => {
2858
2858
  const { value: t, onChange: n } = e;
2859
- return Ee(
2859
+ return Ve(
2860
2860
  (a) => ct({
2861
2861
  ...e,
2862
2862
  // Map Temporal value to MM-DD string
@@ -2869,7 +2869,7 @@ const Ar = (e) => {
2869
2869
  );
2870
2870
  }, Wr = (e) => {
2871
2871
  const { value: t, onChange: n, onInput: a, after: o, disabled: l } = e, i = Ye(t, l, n ?? a);
2872
- return Ee(
2872
+ return Ve(
2873
2873
  (c) => ct({
2874
2874
  ...e,
2875
2875
  value: m.map(t, (u) => u?.toString() ?? ""),
@@ -3271,7 +3271,7 @@ function Jr({
3271
3271
  ...i
3272
3272
  );
3273
3273
  return e ? mn(
3274
- () => import("./translations-BmsRhth7.js"),
3274
+ () => import("./translations-CVfr2JXG.js"),
3275
3275
  ({ AuthI18n: f }) => Bt(f, {}, () => s)
3276
3276
  ) : s;
3277
3277
  });
@@ -3324,11 +3324,11 @@ function Kr({
3324
3324
  s,
3325
3325
  f,
3326
3326
  p
3327
- )((g, k, C, h, v, y, I, D, L, $, E, O) => {
3327
+ )((g, k, C, h, v, y, I, D, L, $, V, O) => {
3328
3328
  if (g == null) return null;
3329
- const V = [];
3330
- k === !1 && V.push("toolbar=0"), C != null && C > 0 && V.push(`page=${C}`), h != null && h > 0 && V.push(`zoom=${h}`), v != null && V.push(`view=${v}`), y != null && V.push(`pagemode=${y}`), I === !1 && V.push("scrollbar=0"), D === !1 && V.push("navpanes=0"), L != null && V.push(`search=${encodeURIComponent(L)}`), $ != null && V.push(`nameddest=${encodeURIComponent($)}`), E != null && V.push(`viewrect=${encodeURIComponent(E)}`), O != null && V.push(`highlight=${encodeURIComponent(O)}`);
3331
- const N = V.join("&");
3329
+ const E = [];
3330
+ k === !1 && E.push("toolbar=0"), C != null && C > 0 && E.push(`page=${C}`), h != null && h > 0 && E.push(`zoom=${h}`), v != null && E.push(`view=${v}`), y != null && E.push(`pagemode=${y}`), I === !1 && E.push("scrollbar=0"), D === !1 && E.push("navpanes=0"), L != null && E.push(`search=${encodeURIComponent(L)}`), $ != null && E.push(`nameddest=${encodeURIComponent($)}`), V != null && E.push(`viewrect=${encodeURIComponent(V)}`), O != null && E.push(`highlight=${encodeURIComponent(O)}`);
3331
+ const N = E.join("&");
3332
3332
  return N ? `${g}#${N}` : g;
3333
3333
  });
3334
3334
  return b.on((g, k) => {
@@ -3405,12 +3405,12 @@ function Qr({
3405
3405
  s,
3406
3406
  f,
3407
3407
  p
3408
- )((C, h, v, y, I, D, L, $, E, O, V, N, X) => {
3408
+ )((C, h, v, y, I, D, L, $, V, O, E, N, X) => {
3409
3409
  if (C == null) return null;
3410
3410
  const H = h ?? "https://mozilla.github.io/pdf.js/web/viewer.html", U = new URLSearchParams();
3411
3411
  U.set("file", encodeURIComponent(C));
3412
3412
  const Y = [];
3413
- v != null && v > 0 && Y.push(`page=${v}`), y != null && (typeof y == "string" ? Y.push(`zoom=${y}`) : Y.push(`zoom=${y}`)), I != null && Y.push(`pagemode=${I}`), D != null && Y.push(`nameddest=${encodeURIComponent(D)}`), L != null && Y.push(`search=${encodeURIComponent(L)}`), $ != null && Y.push(`textLayer=${$}`), E != null && Y.push(`sidebar=${E}`), O != null && Y.push(`scrollMode=${O}`), V != null && Y.push(`spreadMode=${V}`), N != null && Y.push(`enableScripting=${N ? "1" : "0"}`), X != null && Y.push(`enablePrinting=${X ? "1" : "0"}`);
3413
+ v != null && v > 0 && Y.push(`page=${v}`), y != null && (typeof y == "string" ? Y.push(`zoom=${y}`) : Y.push(`zoom=${y}`)), I != null && Y.push(`pagemode=${I}`), D != null && Y.push(`nameddest=${encodeURIComponent(D)}`), L != null && Y.push(`search=${encodeURIComponent(L)}`), $ != null && Y.push(`textLayer=${$}`), V != null && Y.push(`sidebar=${V}`), O != null && Y.push(`scrollMode=${O}`), E != null && Y.push(`spreadMode=${E}`), N != null && Y.push(`enableScripting=${N ? "1" : "0"}`), X != null && Y.push(`enablePrinting=${X ? "1" : "0"}`);
3414
3414
  const le = Y.length > 0 ? `#${Y.join("&")}` : "";
3415
3415
  return `${H}?${U.toString()}${le}`;
3416
3416
  });
@@ -4086,7 +4086,7 @@ function so(e) {
4086
4086
  r.role("tabpanel"),
4087
4087
  r.tabindex(0),
4088
4088
  M.labelledby(C),
4089
- Et(g, (v) => v.content())
4089
+ Vt(g, (v) => v.content())
4090
4090
  )
4091
4091
  );
4092
4092
  })
@@ -4128,7 +4128,7 @@ function lo(e) {
4128
4128
  }), a = () => {
4129
4129
  D.close();
4130
4130
  }, ze(() => D.open());
4131
- const $ = ge("drawer"), E = g != null ? `${$}-header` : void 0, O = `${$}-body`;
4131
+ const $ = ge("drawer"), V = g != null ? `${$}-header` : void 0, O = `${$}-body`;
4132
4132
  return d.div(
4133
4133
  r.class(
4134
4134
  _(
@@ -4136,13 +4136,13 @@ function lo(e) {
4136
4136
  s,
4137
4137
  D.status
4138
4138
  )(
4139
- (V, N, X) => `bc-drawer bc-drawer--size-${V} bc-drawer--container-${S} bc-drawer--side-${N} bc-drawer--status-${X}`
4139
+ (E, N, X) => `bc-drawer bc-drawer--size-${E} bc-drawer--container-${S} bc-drawer--side-${N} bc-drawer--status-${X}`
4140
4140
  )
4141
4141
  ),
4142
4142
  // Essential ARIA attributes for drawer dialog
4143
4143
  r.role("dialog"),
4144
4144
  M.modal(!0),
4145
- ...E ? [M.labelledby(E)] : [],
4145
+ ...V ? [M.labelledby(V)] : [],
4146
4146
  M.describedby(O),
4147
4147
  r.tabindex(-1),
4148
4148
  // Make drawer focusable for initial focus
@@ -4158,13 +4158,13 @@ function lo(e) {
4158
4158
  `#${$} [aria-label="Close drawer"]`
4159
4159
  ) || null
4160
4160
  }),
4161
- A.mousedown((V) => V.stopPropagation()),
4161
+ A.mousedown((E) => E.stopPropagation()),
4162
4162
  // Prevent overlay click-outside when clicking drawer content
4163
4163
  // Drawer content container
4164
- Et(v, (V) => _t(V ? {
4164
+ Vt(v, (E) => _t(E ? {
4165
4165
  header: d.div(
4166
4166
  r.class("bc-drawer__header"),
4167
- d.div(r.id(E), g),
4167
+ d.div(r.id(V), g),
4168
4168
  Q(
4169
4169
  p,
4170
4170
  () => re(
@@ -4210,7 +4210,7 @@ function lo(e) {
4210
4210
  });
4211
4211
  });
4212
4212
  }
4213
- function Ea(e) {
4213
+ function Va(e) {
4214
4214
  const t = {
4215
4215
  up: "M0 16 L8 10 L16 16 Z",
4216
4216
  down: "M0 0 L8 6 L16 0 Z",
@@ -4263,13 +4263,13 @@ function io(e) {
4263
4263
  x.transform(
4264
4264
  s.map(({ x: p, y: w }) => p == null && w == null ? "" : p != null ? `translate(${p}px, 0)` : `translate(0, ${w}px)`)
4265
4265
  ),
4266
- Ea(f)
4266
+ Va(f)
4267
4267
  );
4268
4268
  }
4269
4269
  })
4270
4270
  );
4271
4271
  }
4272
- function Va(e, t, n, a, o, l) {
4272
+ function Ea(e, t, n, a, o, l) {
4273
4273
  const i = ie(e, "solid", "light"), c = ie(e, "solid", "dark");
4274
4274
  return [
4275
4275
  `--ribbon-bg: ${i.backgroundColor}`,
@@ -4306,7 +4306,7 @@ function co({
4306
4306
  o,
4307
4307
  l,
4308
4308
  i
4309
- )(Va)
4309
+ )(Ea)
4310
4310
  ),
4311
4311
  // Allow external classes
4312
4312
  r.class(t),
@@ -4484,9 +4484,9 @@ function po(e) {
4484
4484
  onError: D,
4485
4485
  onDuration: L,
4486
4486
  onSeek: $,
4487
- onProgress: E,
4487
+ onProgress: V,
4488
4488
  onPlaybackRateChange: O,
4489
- onPlaybackQualityChange: V
4489
+ onPlaybackQualityChange: E
4490
4490
  } = e;
4491
4491
  function N(T) {
4492
4492
  return /\.m3u8(\?|$)/i.test(T);
@@ -4532,8 +4532,8 @@ function po(e) {
4532
4532
  }
4533
4533
  if (typeof window > "u") return;
4534
4534
  try {
4535
- const J = await import("./hls.light.min-BHW1Af0w.js").then((we) => we.h), Ve = J;
4536
- let Ie = Ve.default ?? Ve.Hls ?? J;
4535
+ const J = await import("./hls.light.min-BHW1Af0w.js").then((we) => we.h), Ee = J;
4536
+ let Ie = Ee.default ?? Ee.Hls ?? J;
4537
4537
  for (let we = 0; we < 3 && (typeof Ie == "object" && Ie != null && "default" in Ie); we++)
4538
4538
  Ie = Ie.default;
4539
4539
  if (typeof Ie == "function") {
@@ -4581,12 +4581,12 @@ function po(e) {
4581
4581
  Y = xt(() => {
4582
4582
  const B = U;
4583
4583
  if (!B) return;
4584
- const j = B.duration || 0, J = B.currentTime || 0, Ve = B.buffered?.length ? B.buffered.end(B.buffered.length - 1) : 0;
4585
- E?.({
4584
+ const j = B.duration || 0, J = B.currentTime || 0, Ee = B.buffered?.length ? B.buffered.end(B.buffered.length - 1) : 0;
4585
+ V?.({
4586
4586
  played: j > 0 ? J / j : 0,
4587
4587
  playedSeconds: J,
4588
- loaded: j > 0 ? Math.min(Ve, j) / j : 0,
4589
- loadedSeconds: Math.min(Ve, j)
4588
+ loaded: j > 0 ? Math.min(Ee, j) / j : 0,
4589
+ loadedSeconds: Math.min(Ee, j)
4590
4590
  });
4591
4591
  }, T);
4592
4592
  }
@@ -4670,7 +4670,7 @@ function po(e) {
4670
4670
  },
4671
4671
  onError: (J) => D?.(J),
4672
4672
  onPlaybackRateChange: (J) => O?.(J.data),
4673
- onPlaybackQualityChange: (J) => V?.(J.data)
4673
+ onPlaybackQualityChange: (J) => E?.(J.data)
4674
4674
  }
4675
4675
  });
4676
4676
  }
@@ -4682,7 +4682,7 @@ function po(e) {
4682
4682
  _e = xt(() => {
4683
4683
  if (!W) return;
4684
4684
  const B = W.getDuration?.() ?? 0, j = W.getCurrentTime?.() ?? 0, J = W.getVideoLoadedFraction?.() ?? 0;
4685
- E?.({
4685
+ V?.({
4686
4686
  played: B > 0 ? j / B : 0,
4687
4687
  playedSeconds: j,
4688
4688
  loaded: J,
@@ -4902,7 +4902,7 @@ function bo({
4902
4902
  );
4903
4903
  return Ne(
4904
4904
  h,
4905
- (v) => Vt({
4905
+ (v) => Et({
4906
4906
  request: _(
4907
4907
  e,
4908
4908
  t,
@@ -4913,27 +4913,27 @@ function bo({
4913
4913
  i,
4914
4914
  c,
4915
4915
  v
4916
- )((y, I, D, L, $, E, O, V, N) => ({
4916
+ )((y, I, D, L, $, V, O, E, N) => ({
4917
4917
  source: y,
4918
4918
  page: I,
4919
4919
  fit: D,
4920
4920
  scale: L,
4921
4921
  rotation: $,
4922
- quality: E,
4922
+ quality: V,
4923
4923
  renderTextLayer: O,
4924
- renderAnnotationLayer: V,
4924
+ renderAnnotationLayer: E,
4925
4925
  containerWidth: N.width,
4926
4926
  containerHeight: N.height
4927
4927
  })),
4928
4928
  load: async ({ request: y }) => {
4929
4929
  const I = await p, D = y.source, L = tt(D), $ = tt(D);
4930
4930
  (b == null || !Za(w, L)) && (b != null && (b.destroy(), b = null), w = L, b = await I.getDocument($).promise, s?.({ pdfDoc: b }));
4931
- const E = y.page < 1 || y.page > b.numPages ? 1 : y.page;
4932
- u != null && E !== S && (S = E, u(E));
4933
- const O = await b.getPage(E);
4934
- let V;
4931
+ const V = y.page < 1 || y.page > b.numPages ? 1 : y.page;
4932
+ u != null && V !== S && (S = V, u(V));
4933
+ const O = await b.getPage(V);
4934
+ let E;
4935
4935
  if (y.fit === "none")
4936
- V = y.scale;
4936
+ E = y.scale;
4937
4937
  else {
4938
4938
  const H = O.getViewport({
4939
4939
  scale: 1,
@@ -4941,27 +4941,27 @@ function bo({
4941
4941
  }), U = H.width / H.height, Y = y.containerWidth / y.containerHeight;
4942
4942
  switch (y.fit) {
4943
4943
  case "width":
4944
- V = y.containerWidth / H.width;
4944
+ E = y.containerWidth / H.width;
4945
4945
  break;
4946
4946
  case "height":
4947
- V = y.containerHeight / H.height;
4947
+ E = y.containerHeight / H.height;
4948
4948
  break;
4949
4949
  case "contain":
4950
- V = Math.min(
4950
+ E = Math.min(
4951
4951
  y.containerWidth / H.width,
4952
4952
  y.containerHeight / H.height
4953
4953
  );
4954
4954
  break;
4955
4955
  case "cover":
4956
- U > Y ? V = y.containerHeight / H.height : V = y.containerWidth / H.width;
4956
+ U > Y ? E = y.containerHeight / H.height : E = y.containerWidth / H.width;
4957
4957
  break;
4958
4958
  }
4959
4959
  }
4960
4960
  const N = O.getViewport({
4961
- scale: V,
4961
+ scale: E,
4962
4962
  rotation: y.rotation
4963
4963
  }), X = O.getViewport({
4964
- scale: V * y.quality,
4964
+ scale: E * y.quality,
4965
4965
  rotation: y.rotation
4966
4966
  });
4967
4967
  return {
@@ -5109,8 +5109,8 @@ function bo({
5109
5109
  ), $ = I.querySelector(
5110
5110
  ".bc-pdf-page-viewer__annotation-layer"
5111
5111
  );
5112
- return m.on(y, async (E) => {
5113
- await E.render(
5112
+ return m.on(y, async (V) => {
5113
+ await V.render(
5114
5114
  D,
5115
5115
  L,
5116
5116
  $
@@ -5132,24 +5132,24 @@ export {
5132
5132
  Un as AppearanceSelector,
5133
5133
  Sl as ArrayController,
5134
5134
  fr as Badge,
5135
- si as Base64Input,
5136
- li as Base64sInput,
5135
+ li as Base64Input,
5136
+ ii as Base64sInput,
5137
5137
  ia as BaseComboboxControl,
5138
5138
  Pr as BaseComboboxTagsControl,
5139
5139
  Nt as BaseControl,
5140
5140
  sa as BaseDropdownControl,
5141
- Zi as BaseListControl,
5141
+ qi as BaseListControl,
5142
5142
  Cl as BaseMappedControl,
5143
- qi as BaseNativeSelectControl,
5143
+ Ji as BaseNativeSelectControl,
5144
5144
  Tr as BaseSelectTagsControl,
5145
5145
  po as BaseVideoPlayer,
5146
5146
  Jr as BeatUI,
5147
5147
  ue as BeatUII18n,
5148
- wc as BigintInput,
5149
- Gl as BooleanValidator,
5148
+ xc as BigintInput,
5149
+ Zl as BooleanValidator,
5150
5150
  mt as Button,
5151
5151
  no as ButtonLink,
5152
- ii as Card,
5152
+ ci as Card,
5153
5153
  kr as Center,
5154
5154
  xr as CenterH,
5155
5155
  _l as CheckboxInput,
@@ -5159,30 +5159,31 @@ export {
5159
5159
  ro as CollapsibleSidebarGroup,
5160
5160
  pa as ColorController,
5161
5161
  mr as ColorInput,
5162
- ci as ColorSwatchInput,
5162
+ ui as ColorSwatchInput,
5163
5163
  $r as ComboboxControl,
5164
5164
  la as ComboboxInput,
5165
5165
  Dr as ComboboxTagsControl,
5166
5166
  on as ComboboxTagsInput,
5167
5167
  he as CommonInputAttributes,
5168
- Zl as ConfirmModal,
5168
+ ql as ConfirmModal,
5169
5169
  Rt as Control,
5170
5170
  kn as Controller,
5171
- $l as DangerLabel,
5171
+ $l as ControllerValidation,
5172
+ Il as DangerLabel,
5172
5173
  Ar as DateInput,
5173
5174
  Br as DateTimeInput,
5174
5175
  lo as Drawer,
5175
5176
  Gt as DropdownBase,
5176
5177
  _r as DropdownControl,
5177
5178
  oa as DropdownInput,
5178
- xc as DurationInput,
5179
- ui as EditableText,
5180
- mc as EmailInput,
5181
- Il as EmphasisLabel,
5179
+ kc as DurationInput,
5180
+ di as EditableText,
5181
+ hc as EmailInput,
5182
+ Tl as EmphasisLabel,
5182
5183
  zr as EnsureControl,
5183
5184
  Pn as Expando,
5184
- kc as FileInput,
5185
- Ji as FilesInput,
5185
+ Sc as FileInput,
5186
+ Ki as FilesInput,
5186
5187
  Ge as Flyout,
5187
5188
  _n as FocusTrap,
5188
5189
  Yr as FormStatus,
@@ -5193,70 +5194,70 @@ export {
5193
5194
  it as InputWrapper,
5194
5195
  Or as InstantInput,
5195
5196
  yo as LOGICAL_PROPERTY_MAP,
5196
- Tl as Label,
5197
- Er as LazyNativeSelect,
5197
+ Ll as Label,
5198
+ Vr as LazyNativeSelect,
5198
5199
  uo as Lightbox,
5199
5200
  ka as Link,
5200
- Dc as LinkPortal,
5201
- Ki as ListControl,
5202
- Qi as ListInput,
5201
+ Ac as LinkPortal,
5202
+ Qi as ListControl,
5203
+ Xi as ListInput,
5203
5204
  st as Locale,
5204
5205
  qr as LocaleSelector,
5205
- Ll as MappedControl,
5206
+ Pl as MappedControl,
5206
5207
  ct as MaskInput,
5207
5208
  Jt as Menu,
5208
5209
  Ir as MenuItem,
5209
5210
  Kt as MenuSeparator,
5210
- ql as Modal,
5211
- Pl as MutedLabel,
5211
+ Jl as Modal,
5212
+ Dl as MutedLabel,
5212
5213
  Kr as NativePdfPreview,
5213
5214
  Ht as NativeSelect,
5214
- Xi as NativeSelectControl,
5215
+ ec as NativeSelectControl,
5215
5216
  to as NavigationLink,
5216
5217
  Sr as NineSliceScrollView,
5217
- hc as Notice,
5218
+ vc as Notice,
5218
5219
  ha as Notification,
5219
5220
  sn as NotificationProvider,
5220
5221
  ya as NotificationService,
5221
5222
  wa as NotificationViewport,
5222
- Sc as NullableBigintInput,
5223
- di as NullableDateInput,
5224
- fi as NullableDateTimeInput,
5225
- ec as NullableDurationInput,
5226
- pi as NullableEmailInput,
5223
+ Cc as NullableBigintInput,
5224
+ fi as NullableDateInput,
5225
+ pi as NullableDateTimeInput,
5226
+ tc as NullableDurationInput,
5227
+ bi as NullableEmailInput,
5227
5228
  Nr as NullableInstantInput,
5228
- Vr as NullableMaskInput,
5229
- tc as NullableNumberInput,
5230
- bi as NullablePasswordInput,
5231
- Cc as NullablePlainDateInput,
5232
- _c as NullablePlainDateTimeInput,
5229
+ Er as NullableMaskInput,
5230
+ nc as NullableNumberInput,
5231
+ gi as NullablePasswordInput,
5232
+ _c as NullablePlainDateInput,
5233
+ $c as NullablePlainDateTimeInput,
5233
5234
  Wr as NullablePlainMonthDayInput,
5234
- $c as NullablePlainTimeInput,
5235
+ Ic as NullablePlainTimeInput,
5235
5236
  jr as NullablePlainYearMonthInput,
5236
- gi as NullableRatingInput,
5237
- mi as NullableSliderInput,
5238
- hi as NullableTextArea,
5239
- vi as NullableTextInput,
5240
- yi as NullableUUIDInput,
5241
- wi as NullableUrlInput,
5237
+ mi as NullableRatingInput,
5238
+ hi as NullableSliderInput,
5239
+ vi as NullableTextArea,
5240
+ yi as NullableTextInput,
5241
+ wi as NullableUUIDInput,
5242
+ xi as NullableUrlInput,
5242
5243
  Ur as NullableZonedDateTimeInput,
5243
- nc as NumberInput,
5244
- Dl as ObjectController,
5245
- Jl as ObjectValidator,
5244
+ ac as NumberInput,
5245
+ Al as ObjectController,
5246
+ Kl as ObjectValidator,
5246
5247
  eo as OpenGraph,
5247
5248
  Se as Option,
5248
5249
  Ut as Overlay,
5249
5250
  Qr as PDFJSPreview,
5250
5251
  pr as PageDropZone,
5251
- vc as PasswordInput,
5252
+ yc as PasswordInput,
5252
5253
  bo as PdfPageViewer,
5253
- Ic as PlainDateInput,
5254
- Tc as PlainDateTimeInput,
5254
+ Tc as PlainDateInput,
5255
+ Lc as PlainDateTimeInput,
5255
5256
  Hr as PlainMonthDayInput,
5256
- Lc as PlainTimeInput,
5257
+ Pc as PlainTimeInput,
5257
5258
  Fr as PlainYearMonthInput,
5258
- xi as RatingInput,
5259
- Al as RequiredSymbol,
5259
+ ki as RatingInput,
5260
+ Bl as RequiredSymbol,
5260
5261
  co as Ribbon,
5261
5262
  _t as ScrollablePanel,
5262
5263
  Ln as SegmentedInput,
@@ -5271,41 +5272,41 @@ export {
5271
5272
  oo as SidebarSeparator,
5272
5273
  Ia as SidebarUrlLink,
5273
5274
  Cr as Sink,
5274
- ki as SliderInput,
5275
+ Si as SliderInput,
5275
5276
  Sn as Stack,
5276
5277
  gr as StandaloneAppearanceSelector,
5277
- Kl as StringValidator,
5278
+ Ql as StringValidator,
5278
5279
  Xr as StylePortal,
5279
- Si as Switch,
5280
+ Ci as Switch,
5280
5281
  br as Table,
5281
5282
  so as Tabs,
5282
5283
  zt as Tag,
5283
5284
  Mr as TagsInput,
5284
- ac as TextArea,
5285
+ rc as TextArea,
5285
5286
  wo as TextInput,
5286
5287
  Ft as Theme,
5287
5288
  $n as ThemeAppearance,
5288
- Bc as Toolbar,
5289
+ Vc as Toolbar,
5289
5290
  Ec as ToolbarButton,
5290
- Vc as ToolbarDivider,
5291
- Mc as ToolbarGroup,
5292
- Oc as ToolbarSpacer,
5291
+ Mc as ToolbarDivider,
5292
+ Oc as ToolbarGroup,
5293
+ Nc as ToolbarSpacer,
5293
5294
  io as Tooltip,
5294
- rc as UUIDInput,
5295
- oc as UnionController,
5296
- sc as UnstyledDropZone,
5297
- lc as UrlInput,
5295
+ oc as UUIDInput,
5296
+ sc as UnionController,
5297
+ lc as UnstyledDropZone,
5298
+ ic as UrlInput,
5298
5299
  ho as Use,
5299
5300
  qn as WithBeatUIBreakpoint,
5300
5301
  yr as WithBeatUIElementBreakpoint,
5301
5302
  Yt as WithBreakpoint,
5302
- Ee as WithTemporal,
5303
+ Ve as WithTemporal,
5303
5304
  Rr as ZonedDateTimeInput,
5304
5305
  Oo as backgroundConfig,
5305
5306
  es as baseSpacing,
5306
5307
  ts as beatuiPreset,
5307
5308
  No as bgColors,
5308
- Ql as boolean,
5309
+ Xl as boolean,
5309
5310
  Ro as borderColors,
5310
5311
  ns as breakpoints,
5311
5312
  as as changeFontSize,
@@ -5313,16 +5314,16 @@ export {
5313
5314
  Uo as colorShades,
5314
5315
  Fo as colors,
5315
5316
  Gn as compareBreakpoint,
5316
- Bl as connectCommonAttributes,
5317
+ Vl as connectCommonAttributes,
5317
5318
  El as connectNumberInput,
5318
- Vl as connectStringInput,
5319
- Ml as convertStandardSchemaIssues,
5320
- Ol as convertStandardSchemaPathToPath,
5319
+ Ml as connectStringInput,
5320
+ Ol as convertStandardSchemaIssues,
5321
+ Nl as convertStandardSchemaPathToPath,
5321
5322
  rs as createBeatuiPreset,
5322
5323
  Gr as createColorController,
5323
5324
  dt as createLocationMatcher,
5324
- Xl as createStandardSchema,
5325
- ic as deepMergeDefaults,
5325
+ ei as createStandardSchema,
5326
+ cc as deepMergeDefaults,
5326
5327
  xo as defaultLocale,
5327
5328
  ko as defaultMessages,
5328
5329
  lr as delaySignal,
@@ -5330,23 +5331,23 @@ export {
5330
5331
  ur as downloadFile,
5331
5332
  Wt as downloadUrl,
5332
5333
  cr as downloadUrlAndMonitor,
5333
- cc as emitExpando,
5334
- uc as emitOptionExpando,
5334
+ uc as emitExpando,
5335
+ dc as emitOptionExpando,
5335
5336
  yt as emptyToNull,
5336
- dc as ensureTemporal,
5337
- Ci as fileToBase64,
5337
+ fc as ensureTemporal,
5338
+ _i as fileToBase64,
5338
5339
  vr as findBreakpoint,
5339
5340
  os as fontFamily,
5340
5341
  ss as fontSize,
5341
5342
  ls as fontWeight,
5342
- _i as forFormat,
5343
- $i as forTypeAndFormat,
5344
- Ii as forXUI,
5345
- Ti as formatColor,
5343
+ $i as forFormat,
5344
+ Ii as forTypeAndFormat,
5345
+ Ti as forXUI,
5346
+ Li as formatColor,
5346
5347
  So as formatFileSize,
5347
5348
  is as generateAllTokenVariables,
5348
- En as generateBadgeClasses,
5349
- Vn as generateBadgeStyles,
5349
+ Vn as generateBadgeClasses,
5350
+ En as generateBadgeStyles,
5350
5351
  cs as generateBreakpointVariables,
5351
5352
  ht as generateButtonClasses,
5352
5353
  vt as generateButtonStyles,
@@ -5379,7 +5380,7 @@ export {
5379
5380
  Ts as getBreakpointVarName,
5380
5381
  lt as getColorVar,
5381
5382
  zo as getColorVarName,
5382
- Li as getContrastRatio,
5383
+ Pi as getContrastRatio,
5383
5384
  _o as getDirectionClassName,
5384
5385
  $o as getDirectionFromLocale,
5385
5386
  Ls as getFontFamilyVar,
@@ -5387,9 +5388,9 @@ export {
5387
5388
  Ds as getFontSizeVar,
5388
5389
  As as getFontSizeVarName,
5389
5390
  Bs as getFontWeightVar,
5390
- Es as getFontWeightVarName,
5391
+ Vs as getFontWeightVarName,
5391
5392
  Io as getIconLocally,
5392
- Vs as getLetterSpacingVar,
5393
+ Es as getLetterSpacingVar,
5393
5394
  Ms as getLetterSpacingVarName,
5394
5395
  Os as getLineHeightVar,
5395
5396
  Ns as getLineHeightVarName,
@@ -5418,9 +5419,9 @@ export {
5418
5419
  rl as getTokenValue,
5419
5420
  ol as getZIndexVar,
5420
5421
  sl as getZIndexVarName,
5421
- Pi as hexToRgb,
5422
- Di as hslToRgb,
5423
- Ai as hwbToRgb,
5422
+ Di as hexToRgb,
5423
+ Ai as hslToRgb,
5424
+ Bi as hwbToRgb,
5424
5425
  dr as increaseSize,
5425
5426
  Yo as interactiveColors,
5426
5427
  Po as isIndexedDBAvailable,
@@ -5428,36 +5429,36 @@ export {
5428
5429
  _a as isUrlMatch,
5429
5430
  Tn as isValidColor,
5430
5431
  wt as isValidHexColor,
5431
- Bi as isValidHslColor,
5432
+ Vi as isValidHslColor,
5432
5433
  Ei as isValidRgbColor,
5433
- Vi as isValidRgbaColor,
5434
+ Mi as isValidRgbaColor,
5434
5435
  ll as letterSpacing,
5435
5436
  il as lineHeight,
5436
- Mi as linearToSrgb,
5437
+ Oi as linearToSrgb,
5437
5438
  Ao as makeI18nProvider,
5438
- Nl as makeMapValidation,
5439
+ Rl as makeMapValidation,
5439
5440
  Bo as makeMessages,
5440
5441
  Mt as makeOnBlurHandler,
5441
5442
  Ot as makeOnChangeHandler,
5442
5443
  cl as motionDurations,
5443
5444
  ul as motionEasings,
5444
- Oi as mulberry32,
5445
+ Ni as mulberry32,
5445
5446
  Go as normalizeColorName,
5446
5447
  Ae as normalizeHexColor,
5447
5448
  In as nullToEmpty,
5448
- ei as object,
5449
- Ni as oklchToRgb,
5450
- Ri as parseAnyColor,
5451
- Rl as parsePath,
5452
- Ul as pathToString,
5449
+ ti as object,
5450
+ Ri as oklchToRgb,
5451
+ Ui as parseAnyColor,
5452
+ Ul as parsePath,
5453
+ Fl as pathToString,
5453
5454
  dl as radius,
5454
- Eo as resolveDirection,
5455
- Ui as resolveEffectiveFormat,
5455
+ Vo as resolveDirection,
5456
+ Fi as resolveEffectiveFormat,
5456
5457
  Zo as resolveSemanticColorMap,
5457
- Fi as rgbToHex,
5458
- ji as rgbToHsl,
5459
- Hi as rgbToHwb,
5460
- Wi as rgbToOklch,
5458
+ ji as rgbToHex,
5459
+ Hi as rgbToHsl,
5460
+ Wi as rgbToHwb,
5461
+ zi as rgbToOklch,
5461
5462
  qo as semanticColorNames,
5462
5463
  Jo as semanticColors,
5463
5464
  fl as semanticFontNames,
@@ -5469,24 +5470,24 @@ export {
5469
5470
  ge as sessionId,
5470
5471
  vl as shadows,
5471
5472
  yl as spacing,
5472
- zi as srgbToLinear,
5473
- Fl as standardSchemaResultToValidation,
5474
- Vo as storeIconLocally,
5475
- ti as string,
5476
- jl as taskToValidation,
5473
+ Yi as srgbToLinear,
5474
+ jl as standardSchemaResultToValidation,
5475
+ Eo as storeIconLocally,
5476
+ ni as string,
5477
+ Hl as taskToValidation,
5477
5478
  Ko as textColors,
5478
5479
  wl as textShadows,
5479
5480
  Qo as themeColorNames,
5480
- Yi as toRgbaString,
5481
- fc as transformEmptyStringToUndefined,
5482
- pc as transformNullToUndefined,
5483
- bc as transformUndefinedToNull,
5481
+ Gi as toRgbaString,
5482
+ pc as transformEmptyStringToUndefined,
5483
+ bc as transformNullToUndefined,
5484
+ gc as transformUndefinedToNull,
5484
5485
  Oe as useAnimatedElementToggle,
5485
- ni as useAnimatedToggle,
5486
- Hl as useController,
5487
- ai as useFocusTrap,
5488
- Wl as useForm,
5489
- ri as useTimedToggle,
5490
- zl as wrapSegment,
5486
+ ai as useAnimatedToggle,
5487
+ Wl as useController,
5488
+ ri as useFocusTrap,
5489
+ zl as useForm,
5490
+ oi as useTimedToggle,
5491
+ Yl as wrapSegment,
5491
5492
  xl as zIndex
5492
5493
  };