@tempots/beatui 0.60.9 → 0.60.10
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.cjs.js +1 -1
- package/dist/index.es.js +660 -657
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { prop as Z, html as d, attr as r, computedOf as I, Fragment as F, OnDispose as se, style as S, on as A, WithElement as ne, When as Q, Value as h, Use as ae, Empty as W, input as fe, emitValue as te, aria as E, OneOfValue as pn, Unless as bn, coalesce as Pe, ForEach as De, Ensure as Re, OneOfType as Et, dataAttr as lt, NotEmpty as gn, emitValueAsDate as mn, Portal as ot, makeProviderMark as Ot, WithBrowserCtx as hn, renderWithContext as vn, WithProvider as yn, Task as wn, Provide as Nt, MapSignal as Ft, svg as mt, svgAttr as ht } from "@tempots/dom";
|
|
2
|
-
import { Use as
|
|
3
|
-
import { PopOver as
|
|
1
|
+
import { prop as Z, html as d, attr as r, computedOf as I, Fragment as F, OnDispose as se, style as S, on as A, WithElement as ne, When as Q, Value as h, Use as ae, Empty as W, input as fe, emitValue as te, aria as E, OneOfValue as pn, Unless as bn, coalesce as Pe, ForEach as De, Ensure as Re, OneOfType as Et, dataAttr as lt, NotEmpty as gn, emitValueAsDate as mn, Portal as ot, makeProviderMark as Ot, WithBrowserCtx as hn, renderWithContext as vn, WithProvider as yn, Task as wn, Provide as Nt, MapSignal as Ft, svg as mt, svgAttr as ht, delaySignal as xn } from "@tempots/dom";
|
|
2
|
+
import { Use as Cs } from "@tempots/dom";
|
|
3
|
+
import { PopOver as kn, ElementRect as Be, WindowSize as Sn, Query as Rt, Location as Ne, NavigationService as Cn, Anchor as it } from "@tempots/ui";
|
|
4
4
|
import { i as le, t as Se, h as vt, e as ue, a as ie, I as ee, b as ce, C as pe, B as yt, c as Ye, L as ct, j as wt, k as xt } from "./translations-g3qGTkzw.js";
|
|
5
|
-
import { x as
|
|
5
|
+
import { x as Is, T as $s, l as _s, d as Ps, f as Ds, g as Ls, u as As, q as Vs, o as Bs, w as Ms, y as Es, n as Os, v as Ns, m as Fs, p as Rs, r as Us, s as js } from "./translations-g3qGTkzw.js";
|
|
6
6
|
import { g as ut } from "./colors-pQZlNrwM.js";
|
|
7
|
-
import { b as
|
|
8
|
-
import { b as
|
|
9
|
-
import { t as
|
|
10
|
-
import { C as Ue, s as he, m as Ut, d as jt, I as dt, B as Ht, c as Wt, S as ft, e as
|
|
11
|
-
import { A as
|
|
12
|
-
import { u as Fe, A as st, a as
|
|
13
|
-
import { B as
|
|
14
|
-
import { T as Yt, a as
|
|
15
|
-
import { S as
|
|
16
|
-
import { j as
|
|
7
|
+
import { b as Ws, e as zs, i as Ys, a as Gs, c as Zs, o as qs, l as Js, m as Ks, k as Qs, j as Xs, n as el, r as tl, s as nl, d as al, h as rl, t as sl } from "./colors-pQZlNrwM.js";
|
|
8
|
+
import { b as Tn } from "./index-CpZh_Snx.js";
|
|
9
|
+
import { t as ol, am as il, h as cl, J as ul, c as dl, N as fl, I as pl, K as bl, e as gl, l as ml, d as hl, a as vl, ab as yl, o as wl, a0 as xl, ae as kl, q as Sl, H as Cl, A as Tl, al as Il, g as $l, E as _l, x as Pl, aj as Dl, $ as Ll, a4 as Al, k as Vl, j as Bl, i as Ml, Y as El, X as Ol, Q as Nl, P as Fl, S as Rl, R as Ul, W as jl, V as Hl, U as Wl, T as zl, a8 as Yl, a7 as Gl, aa as Zl, a9 as ql, n as Jl, m as Kl, _ as Ql, Z as Xl, ad as eo, p as to, G as no, z as ao, ak as ro, D as so, C as lo, w as oo, v as io, ai as co, ah as uo, f as fo, a3 as po, a2 as bo, M as go, L as mo, a5 as ho, a6 as vo, r as yo, O as wo, ac as xo, s as ko, F as So, y as Co, ag as To, B as Io, u as $o, af as _o, a1 as Po } from "./index-CpZh_Snx.js";
|
|
10
|
+
import { C as Ue, s as he, m as Ut, d as jt, I as dt, B as Ht, c as Wt, S as ft, e as In } from "./notice-Cpso9PgQ.js";
|
|
11
|
+
import { A as Lo, g as Ao, b as Vo, D as Bo, E as Mo, v as Eo, L as Oo, M as No, x as Fo, N as Ro, i as Uo, P as jo, R as Ho, n as Wo, q as zo, o as Yo, k as Go, j as Zo, f as qo, p as Jo, h as Ko, r as Qo, t as Xo, l as ei, u as ti, w as ni } from "./notice-Cpso9PgQ.js";
|
|
12
|
+
import { u as Fe, A as st, a as $n, O as zt, F as _n } from "./modal-DJDeFIxV.js";
|
|
13
|
+
import { B as ri, C as si, M as li, c as oi, S as ii, b as ci, d as ui, o as di, s as fi, f as pi, e as bi, g as gi } from "./modal-DJDeFIxV.js";
|
|
14
|
+
import { T as Yt, a as Pn } from "./theme-B5pmbvQ_.js";
|
|
15
|
+
import { S as Dn, G as Gt, E as Ln, F as An, N as Zt, a as Me, M as Ee, e as kt, n as Vn, W as ve, d as Bn, i as Mn, b as St, c as Ve } from "./utils-BRzdi3Gx.js";
|
|
16
|
+
import { j as hi, l as vi, B as yi, p as wi, V as xi, C as ki, m as Si, L as Ci, o as Ti, q as Ii, r as $i, s as _i, O as Pi, u as Di, z as Li, v as Ai, I as Vi, K as Bi, w as Mi, x as Ei, H as Oi, Q as Ni, y as Fi, R as Ri, J as Ui, A as ji, T as Hi, D as Wi, f as zi, U as Yi, P as Gi, X as Zi, Y as qi, ag as Ji, k as Ki, ae as Qi, a2 as Xi, a1 as ec, a6 as tc, a7 as nc, $ as ac, Z as rc, _ as sc, ab as lc, a5 as oc, ac as ic, a3 as cc, af as uc, a0 as dc, a8 as fc, a9 as pc, ad as bc, aa as gc, a4 as mc, g as hc, t as vc, h as yc } from "./utils-BRzdi3Gx.js";
|
|
17
17
|
import { g as Ge, x as Ct } from "./timer-DzWb416P.js";
|
|
18
|
-
import { L as
|
|
19
|
-
import { T as
|
|
20
|
-
function
|
|
18
|
+
import { L as xc } from "./link-portal-Cr2l9f3k.js";
|
|
19
|
+
import { T as Sc, a as Cc, c as Tc, b as Ic, d as $c } from "./toolbar-_yJ-dm-Z.js";
|
|
20
|
+
function ir(e, t = 0, n = () => !0) {
|
|
21
21
|
let a = null, s;
|
|
22
22
|
const o = Z(e.value);
|
|
23
23
|
return e.on((i) => {
|
|
@@ -28,20 +28,20 @@ function or(e, t = 0, n = () => !0) {
|
|
|
28
28
|
a != null && clearTimeout(a);
|
|
29
29
|
}), o;
|
|
30
30
|
}
|
|
31
|
-
const Tt = (e, t) => e < t ? e : t, je = (e, t) => e > t ? e : t,
|
|
31
|
+
const Tt = (e, t) => e < t ? e : t, je = (e, t) => e > t ? e : t, En = (e, { abortSignal: t } = {}) => new Promise((n, a) => {
|
|
32
32
|
const s = setTimeout(n, e);
|
|
33
33
|
t && t.addEventListener("abort", () => {
|
|
34
34
|
clearTimeout(s), a(new DOMException("Aborted", "AbortError"));
|
|
35
35
|
});
|
|
36
36
|
}), Xe = ["xs", "sm", "md", "lg", "xl"];
|
|
37
|
-
function
|
|
37
|
+
function cr(e, t = 1) {
|
|
38
38
|
const n = Xe.indexOf(e);
|
|
39
39
|
if (n === -1)
|
|
40
40
|
throw new Error(`Invalid size: ${e}`);
|
|
41
41
|
const a = Math.min(Math.max(n + t, 0), Xe.length - 1);
|
|
42
42
|
return Xe[a];
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function On(e, t, n, a) {
|
|
45
45
|
const s = [
|
|
46
46
|
"bc-badge",
|
|
47
47
|
`bc-badge--size-${e}`,
|
|
@@ -49,7 +49,7 @@ function En(e, t, n, a) {
|
|
|
49
49
|
];
|
|
50
50
|
return n && s.push("bc-badge--circle"), a && s.push("bc-badge--full-width"), s.join(" ");
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Nn(e, t) {
|
|
53
53
|
const n = /* @__PURE__ */ new Map(), a = (s, o, i, c) => {
|
|
54
54
|
n.set("--badge-bg-hover", s), n.set("--badge-text-hover", i), n.set("--badge-bg-hover-dark", o), n.set("--badge-text-hover-dark", c);
|
|
55
55
|
};
|
|
@@ -107,7 +107,7 @@ function On(e, t) {
|
|
|
107
107
|
}
|
|
108
108
|
return Array.from(n.entries()).map(([s, o]) => `${s}: ${o}`).join("; ");
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function ur({
|
|
111
111
|
variant: e = "filled",
|
|
112
112
|
size: t = "md",
|
|
113
113
|
color: n = "base",
|
|
@@ -123,7 +123,7 @@ function cr({
|
|
|
123
123
|
s,
|
|
124
124
|
o
|
|
125
125
|
)(
|
|
126
|
-
(c, u, l, p) =>
|
|
126
|
+
(c, u, l, p) => On(
|
|
127
127
|
c ?? "md",
|
|
128
128
|
u ?? "sm",
|
|
129
129
|
l ?? !1,
|
|
@@ -136,7 +136,7 @@ function cr({
|
|
|
136
136
|
e,
|
|
137
137
|
n
|
|
138
138
|
)(
|
|
139
|
-
(c, u) =>
|
|
139
|
+
(c, u) => Nn(
|
|
140
140
|
c ?? "filled",
|
|
141
141
|
u ?? "base"
|
|
142
142
|
)
|
|
@@ -145,7 +145,7 @@ function cr({
|
|
|
145
145
|
d.span(r.class("bc-badge__content"), ...i)
|
|
146
146
|
);
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function dr({
|
|
149
149
|
onChange: e,
|
|
150
150
|
accept: t = "*/*",
|
|
151
151
|
onDragContent: n,
|
|
@@ -158,8 +158,8 @@ function ur({
|
|
|
158
158
|
const p = (f) => f.dataTransfer?.types.includes("Files") ?? !1, g = (f, C) => C === "*/*" ? !0 : C.split(",").map((D) => D.trim()).some((D) => {
|
|
159
159
|
if (D === "*/*") return !0;
|
|
160
160
|
if (D.endsWith("/*")) {
|
|
161
|
-
const
|
|
162
|
-
return f.type.startsWith(
|
|
161
|
+
const _ = D.slice(0, -2);
|
|
162
|
+
return f.type.startsWith(_ + "/");
|
|
163
163
|
}
|
|
164
164
|
return f.type === D || f.name.endsWith(D);
|
|
165
165
|
}), k = (f) => {
|
|
@@ -173,12 +173,12 @@ function ur({
|
|
|
173
173
|
f.preventDefault(), f.stopPropagation(), l = 0, i.value = !1;
|
|
174
174
|
const C = Array.from(f.dataTransfer?.files ?? []);
|
|
175
175
|
if (C.length > 0) {
|
|
176
|
-
const
|
|
177
|
-
(T) => g(T,
|
|
178
|
-
),
|
|
176
|
+
const $ = h.get(t), D = C.filter(
|
|
177
|
+
(T) => g(T, $)
|
|
178
|
+
), _ = C.filter(
|
|
179
179
|
(T) => !D.includes(T)
|
|
180
180
|
);
|
|
181
|
-
D.length > 0 && (c.value = D, e(D, "dragdrop")),
|
|
181
|
+
D.length > 0 && (c.value = D, e(D, "dragdrop")), _.length > 0 && s?.(C);
|
|
182
182
|
}
|
|
183
183
|
};
|
|
184
184
|
typeof document < "u" && (document.addEventListener("dragenter", k), document.addEventListener("dragover", m), document.addEventListener("dragleave", y), document.addEventListener("drop", v));
|
|
@@ -187,8 +187,8 @@ function ur({
|
|
|
187
187
|
}, w = () => {
|
|
188
188
|
u?.click();
|
|
189
189
|
}, b = (f) => {
|
|
190
|
-
const C = f.target,
|
|
191
|
-
|
|
190
|
+
const C = f.target, $ = Array.from(C.files ?? []);
|
|
191
|
+
$.length > 0 && (c.value = $, e($, "click")), C.value = "";
|
|
192
192
|
};
|
|
193
193
|
return F(
|
|
194
194
|
se(x),
|
|
@@ -213,15 +213,15 @@ function ur({
|
|
|
213
213
|
a != null ? a({ isDragging: i, files: c, selectFiles: w }) : null
|
|
214
214
|
);
|
|
215
215
|
}
|
|
216
|
-
function
|
|
216
|
+
function Fn(e, t, n, a, s, o) {
|
|
217
217
|
const i = ["bc-table"];
|
|
218
218
|
return e !== "md" && i.push(`bc-table--size-${e}`), t && i.push("bc-table--hoverable"), n && i.push("bc-table--sticky-header"), a && i.push("bc-table--with-striped-rows"), s && i.push("bc-table--with-column-borders"), o && i.push("bc-table--with-row-borders"), i.join(" ");
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function Rn(e) {
|
|
221
221
|
if (e != null)
|
|
222
222
|
return e === "none" ? "--table-border-radius: 0" : `--table-border-radius: var(--radius-${e})`;
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function fr({
|
|
225
225
|
size: e = "md",
|
|
226
226
|
hoverable: t = !1,
|
|
227
227
|
stickyHeader: n = !1,
|
|
@@ -240,7 +240,7 @@ function dr({
|
|
|
240
240
|
i,
|
|
241
241
|
c
|
|
242
242
|
)(
|
|
243
|
-
(m, y, v, x, w, b) =>
|
|
243
|
+
(m, y, v, x, w, b) => Fn(
|
|
244
244
|
m ?? "md",
|
|
245
245
|
y ?? !1,
|
|
246
246
|
v ?? !1,
|
|
@@ -256,7 +256,7 @@ function dr({
|
|
|
256
256
|
const x = ["bc-table-container"];
|
|
257
257
|
return m && x.push("bc-table-container--sticky"), y && x.push("bc-table-container--full-width"), v && x.push("bc-table-container--with-table-border"), x.join(" ");
|
|
258
258
|
}), k = I(u)(
|
|
259
|
-
(m) =>
|
|
259
|
+
(m) => Rn(m)
|
|
260
260
|
);
|
|
261
261
|
return d.div(
|
|
262
262
|
r.class(g),
|
|
@@ -264,11 +264,11 @@ function dr({
|
|
|
264
264
|
d.table(r.class(p), ...l)
|
|
265
265
|
);
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function Un(e, t) {
|
|
268
268
|
const n = ["bc-tag"];
|
|
269
269
|
return e !== "md" && n.push(`bc-tag--${e}`), t && n.push("bc-tag--disabled"), n.join(" ");
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function jn(e) {
|
|
272
272
|
const t = ue(e, "light", "light"), n = ue(e, "light", "dark"), a = le(e, "light", "light"), s = le(e, "light", "dark");
|
|
273
273
|
return [
|
|
274
274
|
`--tag-bg: ${t.backgroundColor}`,
|
|
@@ -293,11 +293,11 @@ const qt = ({
|
|
|
293
293
|
I(
|
|
294
294
|
a ?? "md",
|
|
295
295
|
o ?? !1
|
|
296
|
-
)((i, c) =>
|
|
296
|
+
)((i, c) => Un(i, c))
|
|
297
297
|
),
|
|
298
298
|
r.style(
|
|
299
299
|
I(t)(
|
|
300
|
-
(i) =>
|
|
300
|
+
(i) => jn(i ?? "base")
|
|
301
301
|
)
|
|
302
302
|
),
|
|
303
303
|
// Allow external classes like bc-tag--disabled to be applied
|
|
@@ -317,12 +317,12 @@ const qt = ({
|
|
|
317
317
|
)
|
|
318
318
|
) : W
|
|
319
319
|
);
|
|
320
|
-
function
|
|
320
|
+
function Hn({
|
|
321
321
|
value: e,
|
|
322
322
|
onChange: t,
|
|
323
323
|
disabled: n
|
|
324
324
|
}) {
|
|
325
|
-
return
|
|
325
|
+
return Dn({
|
|
326
326
|
size: "sm",
|
|
327
327
|
value: e,
|
|
328
328
|
disabled: n,
|
|
@@ -346,16 +346,16 @@ function jn({
|
|
|
346
346
|
onChange: t
|
|
347
347
|
});
|
|
348
348
|
}
|
|
349
|
-
function
|
|
349
|
+
function pr() {
|
|
350
350
|
return ae(
|
|
351
351
|
Yt,
|
|
352
|
-
({ appearancePreference: e, setAppearancePreference: t }) =>
|
|
352
|
+
({ appearancePreference: e, setAppearancePreference: t }) => Hn({
|
|
353
353
|
value: e,
|
|
354
354
|
onChange: t
|
|
355
355
|
})
|
|
356
356
|
);
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function Wn({
|
|
359
359
|
value: e,
|
|
360
360
|
onChange: t,
|
|
361
361
|
onInput: n
|
|
@@ -378,7 +378,7 @@ function Hn({
|
|
|
378
378
|
)
|
|
379
379
|
);
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function br(e) {
|
|
382
382
|
const { value: t, onBlur: n, onChange: a, onInput: s } = e;
|
|
383
383
|
return ce(
|
|
384
384
|
{
|
|
@@ -392,10 +392,10 @@ function pr(e) {
|
|
|
392
392
|
)
|
|
393
393
|
},
|
|
394
394
|
r.class("bc-color-input"),
|
|
395
|
-
|
|
395
|
+
Wn({ value: t, onChange: e.onChange, onInput: e.onInput })
|
|
396
396
|
);
|
|
397
397
|
}
|
|
398
|
-
function
|
|
398
|
+
function zn(e) {
|
|
399
399
|
const t = { fade: !0, scale: !0 };
|
|
400
400
|
return e.startsWith("top") ? (t.slide = "down", t.transformOrigin = "bottom") : e.startsWith("bottom") ? (t.slide = "up", t.transformOrigin = "top") : e.startsWith("left") ? (t.slide = "right", t.transformOrigin = "right") : e.startsWith("right") && (t.slide = "left", t.transformOrigin = "left"), t;
|
|
401
401
|
}
|
|
@@ -413,7 +413,7 @@ function Ze(e) {
|
|
|
413
413
|
role: p,
|
|
414
414
|
hasPopup: g = "dialog"
|
|
415
415
|
} = e;
|
|
416
|
-
return
|
|
416
|
+
return kn((k, m) => {
|
|
417
417
|
const y = Fe({
|
|
418
418
|
initialStatus: "closed"
|
|
419
419
|
}), v = he("flyout"), x = Z(!1);
|
|
@@ -421,7 +421,7 @@ function Ze(e) {
|
|
|
421
421
|
function C() {
|
|
422
422
|
D != null && (clearTimeout(D), D = null), T != null && (clearTimeout(T), T = null), b && (b(), b = null), w && (document.removeEventListener("keydown", w), w = null), x.set(!1), f = !1;
|
|
423
423
|
}
|
|
424
|
-
function
|
|
424
|
+
function $() {
|
|
425
425
|
h.get(u) && (w = (O) => {
|
|
426
426
|
O.key === "Escape" && V();
|
|
427
427
|
}, document.addEventListener("keydown", w)), f = !0, x.set(!0), k({
|
|
@@ -450,7 +450,7 @@ function Ze(e) {
|
|
|
450
450
|
d.div(
|
|
451
451
|
r.class("bc-flyout"),
|
|
452
452
|
st({
|
|
453
|
-
animation: h.map(n,
|
|
453
|
+
animation: h.map(n, zn),
|
|
454
454
|
status: y.status
|
|
455
455
|
}),
|
|
456
456
|
p ? r.role(p) : r.role("dialog"),
|
|
@@ -462,7 +462,7 @@ function Ze(e) {
|
|
|
462
462
|
});
|
|
463
463
|
}
|
|
464
464
|
let D = null;
|
|
465
|
-
function
|
|
465
|
+
function _() {
|
|
466
466
|
if (D != null && (clearTimeout(D), D = null), T != null && (clearTimeout(T), T = null), y.isOpened.value || y.isOpening.value || y.isStartOpening.value)
|
|
467
467
|
return;
|
|
468
468
|
if (y.isClosing.value || y.isStartClosing.value) {
|
|
@@ -471,7 +471,7 @@ function Ze(e) {
|
|
|
471
471
|
}
|
|
472
472
|
const O = h.get(a);
|
|
473
473
|
D = setTimeout(() => {
|
|
474
|
-
D = null,
|
|
474
|
+
D = null, $();
|
|
475
475
|
}, O);
|
|
476
476
|
}
|
|
477
477
|
let T = null;
|
|
@@ -489,7 +489,7 @@ function Ze(e) {
|
|
|
489
489
|
}
|
|
490
490
|
return ne((O) => {
|
|
491
491
|
const B = () => {
|
|
492
|
-
|
|
492
|
+
_(), x.set(!0);
|
|
493
493
|
}, U = () => {
|
|
494
494
|
V(), x.set(!1);
|
|
495
495
|
}, X = F(
|
|
@@ -543,16 +543,16 @@ function Ze(e) {
|
|
|
543
543
|
});
|
|
544
544
|
});
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
function Yn(e, t, n, a) {
|
|
547
547
|
const s = ["bc-action-card"];
|
|
548
548
|
return e && s.push("bc-action-card--active"), t && s.push("bc-action-card--disabled"), n !== "md" && s.push(`bc-action-card--${n}`), a && !t && s.push("bc-action-card--clickable"), s.join(" ");
|
|
549
549
|
}
|
|
550
|
-
function
|
|
550
|
+
function Gn(e, t, n, a) {
|
|
551
551
|
const s = /* @__PURE__ */ new Map();
|
|
552
552
|
if (e != null && s.set("--action-card-bg", e), t != null && s.set("--action-card-border", t), n != null && s.set("--action-card-title-color", n), a != null && s.set("--action-card-description-color", a), s.size !== 0)
|
|
553
553
|
return Array.from(s.entries()).map(([o, i]) => `${o}: ${i}`).join("; ");
|
|
554
554
|
}
|
|
555
|
-
function
|
|
555
|
+
function gr({
|
|
556
556
|
icon: e,
|
|
557
557
|
title: t,
|
|
558
558
|
description: n,
|
|
@@ -575,7 +575,7 @@ function br({
|
|
|
575
575
|
s,
|
|
576
576
|
i
|
|
577
577
|
)(
|
|
578
|
-
(y, v, x) =>
|
|
578
|
+
(y, v, x) => Yn(
|
|
579
579
|
y ?? !1,
|
|
580
580
|
v ?? !1,
|
|
581
581
|
x ?? "md",
|
|
@@ -590,7 +590,7 @@ function br({
|
|
|
590
590
|
g,
|
|
591
591
|
k
|
|
592
592
|
)(
|
|
593
|
-
(y, v, x, w) =>
|
|
593
|
+
(y, v, x, w) => Gn(y, v, x, w)
|
|
594
594
|
)
|
|
595
595
|
),
|
|
596
596
|
Q(
|
|
@@ -620,15 +620,15 @@ function br({
|
|
|
620
620
|
)
|
|
621
621
|
);
|
|
622
622
|
}
|
|
623
|
-
const
|
|
624
|
-
function
|
|
625
|
-
for (const t of
|
|
623
|
+
const Zn = ["!=", "<=", ">=", "<", ">", "="];
|
|
624
|
+
function qn(e) {
|
|
625
|
+
for (const t of Zn)
|
|
626
626
|
if (typeof e == "string" && e.startsWith(t))
|
|
627
627
|
return [t, e.slice(t.length)];
|
|
628
628
|
return ["=", e];
|
|
629
629
|
}
|
|
630
|
-
function
|
|
631
|
-
const [a, s] =
|
|
630
|
+
function Jn(e, t, n) {
|
|
631
|
+
const [a, s] = qn(t), o = e.findIndex((u) => u[1] === s);
|
|
632
632
|
if (o === -1)
|
|
633
633
|
throw new Error(`Breakpoint ${String(s)} not found`);
|
|
634
634
|
const i = e[o][0], c = o < e.length - 1 ? e[o + 1][0] : 1 / 0;
|
|
@@ -649,7 +649,7 @@ function qn(e, t, n) {
|
|
|
649
649
|
return !1;
|
|
650
650
|
}
|
|
651
651
|
}
|
|
652
|
-
function
|
|
652
|
+
function mr(e, t) {
|
|
653
653
|
const n = e.findIndex((a) => a[0] > t) - 1;
|
|
654
654
|
return n >= 0 ? e[n][1] : (e.length > 0 && t >= e[0][0], e[0][1]);
|
|
655
655
|
}
|
|
@@ -665,19 +665,19 @@ function Jt(e, { breakpoints: t, mode: n = "viewport" }) {
|
|
|
665
665
|
value: c,
|
|
666
666
|
breakpoints: t,
|
|
667
667
|
asList: s,
|
|
668
|
-
is: (l, p) =>
|
|
668
|
+
is: (l, p) => Jn(s, l, p)
|
|
669
669
|
});
|
|
670
670
|
};
|
|
671
|
-
return n === "element" ? Be(o) :
|
|
671
|
+
return n === "element" ? Be(o) : Sn(o);
|
|
672
672
|
}
|
|
673
673
|
let et = NaN;
|
|
674
|
-
function
|
|
674
|
+
function Kn(e, t) {
|
|
675
675
|
return e ? (isNaN(et) && (et = parseFloat(getComputedStyle(document.documentElement).fontSize)), parseFloat(e) * et) : t;
|
|
676
676
|
}
|
|
677
677
|
function re(e, t, n) {
|
|
678
|
-
return
|
|
678
|
+
return Kn(e.getPropertyValue(t), n);
|
|
679
679
|
}
|
|
680
|
-
function
|
|
680
|
+
function Qn(e) {
|
|
681
681
|
return ne((t) => {
|
|
682
682
|
const n = getComputedStyle(t), a = {
|
|
683
683
|
zero: 0,
|
|
@@ -690,7 +690,7 @@ function Kn(e) {
|
|
|
690
690
|
return Jt(e, { breakpoints: a });
|
|
691
691
|
});
|
|
692
692
|
}
|
|
693
|
-
function
|
|
693
|
+
function hr(e) {
|
|
694
694
|
return ne((t) => {
|
|
695
695
|
const n = getComputedStyle(t), a = {
|
|
696
696
|
zero: 0,
|
|
@@ -813,7 +813,7 @@ function tt(e) {
|
|
|
813
813
|
e.every((n) => n[t] == null || n[t].startsWith("?")) && (e = e.map((n) => n.filter((a, s) => s !== t)), t--);
|
|
814
814
|
return e = e.map((t) => t.map((n) => n?.startsWith("?") ? n.slice(1) : n)), e;
|
|
815
815
|
}
|
|
816
|
-
function
|
|
816
|
+
function Xn({
|
|
817
817
|
smallBreakpoint: e,
|
|
818
818
|
mediumBreakpoint: t,
|
|
819
819
|
vertical: n,
|
|
@@ -898,33 +898,33 @@ function Qn({
|
|
|
898
898
|
breakpoint: l
|
|
899
899
|
}) => s(`<=${e}`, u) ? o(l) : s(`<=${t}`, u) ? i(l) : c(l);
|
|
900
900
|
}
|
|
901
|
-
const
|
|
901
|
+
const ea = ["menu", "aside"], ta = [
|
|
902
902
|
"banner",
|
|
903
903
|
"header",
|
|
904
904
|
"mainHeader",
|
|
905
905
|
"mainFooter",
|
|
906
906
|
"footer"
|
|
907
907
|
];
|
|
908
|
-
function
|
|
908
|
+
function na(e, { displayMenu: t }, n) {
|
|
909
909
|
return e ? t ? "block" : n ? "float" : "none" : "none";
|
|
910
910
|
}
|
|
911
|
-
function
|
|
911
|
+
function aa(e, { displayAside: t }, n) {
|
|
912
912
|
return e ? t ? "block" : n ? "float" : "none" : "none";
|
|
913
913
|
}
|
|
914
|
-
function
|
|
914
|
+
function vr({
|
|
915
915
|
smallBreakpoint: e = "sm",
|
|
916
916
|
mediumBreakpoint: t = "md",
|
|
917
917
|
...n
|
|
918
918
|
}) {
|
|
919
919
|
const a = Object.fromEntries(
|
|
920
|
-
|
|
920
|
+
ea.filter((o) => n[o]).map(
|
|
921
921
|
(o) => [
|
|
922
922
|
o,
|
|
923
923
|
It(n[o].width ?? {}, me[o])
|
|
924
924
|
]
|
|
925
925
|
)
|
|
926
926
|
), s = Object.fromEntries(
|
|
927
|
-
|
|
927
|
+
ta.filter((o) => n[o]).map(
|
|
928
928
|
(o) => [
|
|
929
929
|
o,
|
|
930
930
|
It(n[o].height ?? {}, me[o])
|
|
@@ -933,8 +933,8 @@ function hr({
|
|
|
933
933
|
);
|
|
934
934
|
return ae(
|
|
935
935
|
ie,
|
|
936
|
-
(o) =>
|
|
937
|
-
const u =
|
|
936
|
+
(o) => Qn(({ value: i, is: c }) => {
|
|
937
|
+
const u = Xn({
|
|
938
938
|
smallBreakpoint: e,
|
|
939
939
|
mediumBreakpoint: t,
|
|
940
940
|
vertical: a,
|
|
@@ -950,11 +950,11 @@ function hr({
|
|
|
950
950
|
a.menu != null,
|
|
951
951
|
l,
|
|
952
952
|
m.display
|
|
953
|
-
)(
|
|
953
|
+
)(na), w = I(
|
|
954
954
|
a.aside != null,
|
|
955
955
|
l,
|
|
956
956
|
y.display
|
|
957
|
-
)(
|
|
957
|
+
)(aa);
|
|
958
958
|
return d.div(
|
|
959
959
|
S.display("grid"),
|
|
960
960
|
S.height("100%"),
|
|
@@ -1178,23 +1178,23 @@ function hr({
|
|
|
1178
1178
|
})
|
|
1179
1179
|
);
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1181
|
+
function yr(...e) {
|
|
1182
1182
|
return d.div(
|
|
1183
1183
|
r.class("bc-center-h"),
|
|
1184
1184
|
d.div(r.class("bc-center__content"), ...e)
|
|
1185
1185
|
);
|
|
1186
1186
|
}
|
|
1187
|
-
function
|
|
1187
|
+
function ra(e) {
|
|
1188
1188
|
const t = ["bc-center"];
|
|
1189
1189
|
return e !== "lg" && t.push(`bc-center--gap-${e}`), t.join(" ");
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function wr({ gap: e = "lg" } = {}, ...t) {
|
|
1192
1192
|
return d.div(
|
|
1193
|
-
r.class(I(e)((n) =>
|
|
1193
|
+
r.class(I(e)((n) => ra(n ?? "lg"))),
|
|
1194
1194
|
...t
|
|
1195
1195
|
);
|
|
1196
1196
|
}
|
|
1197
|
-
function
|
|
1197
|
+
function sa({ open: e }, ...t) {
|
|
1198
1198
|
return ne((n) => {
|
|
1199
1199
|
const { status: a, setOpen: s, dispose: o } = Fe({
|
|
1200
1200
|
initialStatus: h.get(e) ? "opened" : "closed",
|
|
@@ -1225,13 +1225,13 @@ function ra({ open: e }, ...t) {
|
|
|
1225
1225
|
});
|
|
1226
1226
|
});
|
|
1227
1227
|
}
|
|
1228
|
-
function
|
|
1228
|
+
function la(e) {
|
|
1229
1229
|
return `${e}px`;
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1232
|
-
return h.map(e,
|
|
1231
|
+
function $t(e) {
|
|
1232
|
+
return h.map(e, la);
|
|
1233
1233
|
}
|
|
1234
|
-
function
|
|
1234
|
+
function xr({
|
|
1235
1235
|
body: e,
|
|
1236
1236
|
contentWidth: t,
|
|
1237
1237
|
contentHeight: n,
|
|
@@ -1249,16 +1249,16 @@ function wr({
|
|
|
1249
1249
|
sidebarEndWidth: y = 0,
|
|
1250
1250
|
anchorMode: v = "container-edge"
|
|
1251
1251
|
}) {
|
|
1252
|
-
const x = Z(0n), w = Z(0n), b =
|
|
1252
|
+
const x = Z(0n), w = Z(0n), b = $t(s), f = $t(k), C = Z(16);
|
|
1253
1253
|
return d.div(
|
|
1254
1254
|
r.class("bc-nine-slice-container"),
|
|
1255
|
-
Be((
|
|
1255
|
+
Be(($) => {
|
|
1256
1256
|
const D = I(
|
|
1257
|
-
|
|
1257
|
+
$.$.width,
|
|
1258
1258
|
k,
|
|
1259
1259
|
y
|
|
1260
|
-
)((L, N, K) => L - N - K),
|
|
1261
|
-
|
|
1260
|
+
)((L, N, K) => L - N - K), _ = I(
|
|
1261
|
+
$.$.height,
|
|
1262
1262
|
s,
|
|
1263
1263
|
u
|
|
1264
1264
|
)((L, N, K) => L - N - K), T = I(
|
|
@@ -1266,13 +1266,13 @@ function wr({
|
|
|
1266
1266
|
D
|
|
1267
1267
|
)((L, N) => L > BigInt(N)), V = I(
|
|
1268
1268
|
n,
|
|
1269
|
-
|
|
1269
|
+
_
|
|
1270
1270
|
)((L, N) => L > BigInt(N)), O = I(
|
|
1271
1271
|
D,
|
|
1272
1272
|
V,
|
|
1273
1273
|
C
|
|
1274
1274
|
)((L, N, K) => N ? L - K : L), B = I(
|
|
1275
|
-
|
|
1275
|
+
_,
|
|
1276
1276
|
T,
|
|
1277
1277
|
C
|
|
1278
1278
|
)((L, N, K) => N ? L - K : L), U = I(
|
|
@@ -1342,15 +1342,15 @@ function wr({
|
|
|
1342
1342
|
t,
|
|
1343
1343
|
O
|
|
1344
1344
|
)((L, N) => L - BigInt(Math.max(1, N)));
|
|
1345
|
-
let z = null, Ie = 0,
|
|
1345
|
+
let z = null, Ie = 0, $e = 0;
|
|
1346
1346
|
const Ke = () => {
|
|
1347
1347
|
const L = Le.value, N = Ae.value, K = V.value, P = T.value;
|
|
1348
|
-
if (K &&
|
|
1348
|
+
if (K && $e !== 0) {
|
|
1349
1349
|
const M = Tt(
|
|
1350
1350
|
je(0n, L),
|
|
1351
1351
|
je(
|
|
1352
1352
|
0n,
|
|
1353
|
-
x.value + BigInt(Math.round(
|
|
1353
|
+
x.value + BigInt(Math.round($e))
|
|
1354
1354
|
)
|
|
1355
1355
|
);
|
|
1356
1356
|
x.set(M);
|
|
@@ -1365,7 +1365,7 @@ function wr({
|
|
|
1365
1365
|
);
|
|
1366
1366
|
w.set(M);
|
|
1367
1367
|
}
|
|
1368
|
-
Ie = 0,
|
|
1368
|
+
Ie = 0, $e = 0, z = null;
|
|
1369
1369
|
};
|
|
1370
1370
|
return T.on((L) => {
|
|
1371
1371
|
L || w.set(0n);
|
|
@@ -1378,7 +1378,7 @@ function wr({
|
|
|
1378
1378
|
A.wheel((L) => {
|
|
1379
1379
|
L.preventDefault();
|
|
1380
1380
|
const { deltaX: N, deltaY: K } = L;
|
|
1381
|
-
Ie += N,
|
|
1381
|
+
Ie += N, $e += K, z || (z = setTimeout(Ke, 16));
|
|
1382
1382
|
}),
|
|
1383
1383
|
d.div(
|
|
1384
1384
|
r.class("bc-nine-slice-pane-container"),
|
|
@@ -1569,7 +1569,7 @@ function wr({
|
|
|
1569
1569
|
})
|
|
1570
1570
|
);
|
|
1571
1571
|
}
|
|
1572
|
-
function
|
|
1572
|
+
function _t({ header: e, footer: t, body: n, shadowOnScroll: a = !0 }, ...s) {
|
|
1573
1573
|
const o = Z("none");
|
|
1574
1574
|
function i(u) {
|
|
1575
1575
|
const l = u.scrollTop === 0, p = u.scrollTop + u.clientHeight >= u.scrollHeight - 1;
|
|
@@ -1613,11 +1613,11 @@ function $t({ header: e, footer: t, body: n, shadowOnScroll: a = !0 }, ...s) {
|
|
|
1613
1613
|
...s
|
|
1614
1614
|
);
|
|
1615
1615
|
}
|
|
1616
|
-
function
|
|
1616
|
+
function oa(e, t, n) {
|
|
1617
1617
|
const a = ["bc-sink"];
|
|
1618
1618
|
return e !== "default" && a.push(`bc-sink--${e}`), t !== "md" && a.push(`bc-sink--padding-${t}`), n !== "lg" && a.push(`bc-sink--rounded-${n}`), a.join(" ");
|
|
1619
1619
|
}
|
|
1620
|
-
function
|
|
1620
|
+
function kr({ variant: e = "default", size: t = "md", roundedness: n = "lg" } = {}, ...a) {
|
|
1621
1621
|
return d.div(
|
|
1622
1622
|
r.class(
|
|
1623
1623
|
I(
|
|
@@ -1625,7 +1625,7 @@ function xr({ variant: e = "default", size: t = "md", roundedness: n = "lg" } =
|
|
|
1625
1625
|
t,
|
|
1626
1626
|
n
|
|
1627
1627
|
)(
|
|
1628
|
-
(s, o, i) =>
|
|
1628
|
+
(s, o, i) => oa(
|
|
1629
1629
|
s ?? "default",
|
|
1630
1630
|
o ?? "md",
|
|
1631
1631
|
i ?? "lg"
|
|
@@ -1687,29 +1687,29 @@ const Ce = {
|
|
|
1687
1687
|
if (f.preventDefault(), !p.value)
|
|
1688
1688
|
p.set(!0), C.length > 0 && (g.set(0), k.set(C[0]));
|
|
1689
1689
|
else {
|
|
1690
|
-
const
|
|
1690
|
+
const $ = Math.min(
|
|
1691
1691
|
g.value + 1,
|
|
1692
1692
|
C.length - 1
|
|
1693
1693
|
);
|
|
1694
|
-
g.set(
|
|
1694
|
+
g.set($), k.set(C[$] ?? null);
|
|
1695
1695
|
}
|
|
1696
1696
|
break;
|
|
1697
1697
|
}
|
|
1698
1698
|
case "ArrowUp": {
|
|
1699
1699
|
if (f.preventDefault(), p.value) {
|
|
1700
|
-
const
|
|
1701
|
-
g.set(
|
|
1700
|
+
const $ = Math.max(g.value - 1, 0);
|
|
1701
|
+
g.set($), k.set(C[$] ?? null);
|
|
1702
1702
|
}
|
|
1703
1703
|
break;
|
|
1704
1704
|
}
|
|
1705
1705
|
case "Enter": {
|
|
1706
1706
|
if (f.preventDefault(), p.value && g.value >= 0) {
|
|
1707
|
-
const
|
|
1708
|
-
|
|
1707
|
+
const $ = C[g.value];
|
|
1708
|
+
$ != null && w($);
|
|
1709
1709
|
} else {
|
|
1710
1710
|
c?.();
|
|
1711
|
-
const
|
|
1712
|
-
p.set(!0),
|
|
1711
|
+
const $ = Ce.getValues(h.get(o));
|
|
1712
|
+
p.set(!0), $.length > 0 && (g.set(0), k.set($[0])), setTimeout(() => u?.(), 0);
|
|
1713
1713
|
}
|
|
1714
1714
|
break;
|
|
1715
1715
|
}
|
|
@@ -1720,8 +1720,8 @@ const Ce = {
|
|
|
1720
1720
|
case " ": {
|
|
1721
1721
|
if (h.get(i)) {
|
|
1722
1722
|
f.preventDefault();
|
|
1723
|
-
const
|
|
1724
|
-
p.set(!p.value), p.value &&
|
|
1723
|
+
const $ = Ce.getValues(h.get(o));
|
|
1724
|
+
p.set(!p.value), p.value && $.length > 0 && (g.set(0), k.set($[0]));
|
|
1725
1725
|
}
|
|
1726
1726
|
break;
|
|
1727
1727
|
}
|
|
@@ -1755,7 +1755,7 @@ const Ce = {
|
|
|
1755
1755
|
p,
|
|
1756
1756
|
k
|
|
1757
1757
|
)(
|
|
1758
|
-
(C,
|
|
1758
|
+
(C, $) => C && $ != null ? `dropdown-option-${String($)}` : ""
|
|
1759
1759
|
)
|
|
1760
1760
|
),
|
|
1761
1761
|
n != null ? A.blur(() => {
|
|
@@ -1784,21 +1784,21 @@ const Ce = {
|
|
|
1784
1784
|
mainAxisOffset: 0,
|
|
1785
1785
|
placement: "bottom-start",
|
|
1786
1786
|
hasPopup: "listbox",
|
|
1787
|
-
showOn: (C,
|
|
1788
|
-
const D =
|
|
1789
|
-
|
|
1787
|
+
showOn: (C, $) => {
|
|
1788
|
+
const D = $;
|
|
1789
|
+
$ = () => {
|
|
1790
1790
|
p.set(!1), g.set(-1), k.set(null), D();
|
|
1791
1791
|
};
|
|
1792
|
-
const
|
|
1792
|
+
const _ = () => {
|
|
1793
1793
|
if (p.value)
|
|
1794
|
-
|
|
1794
|
+
$();
|
|
1795
1795
|
else {
|
|
1796
1796
|
c?.();
|
|
1797
1797
|
const T = Ce.getValues(h.get(o));
|
|
1798
1798
|
p.set(!0), T.length > 0 && (g.set(0), k.set(T[0])), C(), setTimeout(() => u?.(), 0);
|
|
1799
1799
|
}
|
|
1800
1800
|
};
|
|
1801
|
-
return A.click(
|
|
1801
|
+
return A.click(_);
|
|
1802
1802
|
},
|
|
1803
1803
|
showDelay: 0,
|
|
1804
1804
|
hideDelay: 0,
|
|
@@ -1832,7 +1832,7 @@ const Ce = {
|
|
|
1832
1832
|
r.role("option"),
|
|
1833
1833
|
r.id(i.map((l) => `dropdown-option-${String(l.value)}`)),
|
|
1834
1834
|
E.selected(c),
|
|
1835
|
-
|
|
1835
|
+
Ln("value", i.$.value),
|
|
1836
1836
|
Q(
|
|
1837
1837
|
i.map((l) => !l.disabled),
|
|
1838
1838
|
() => A.click(() => a(i.value.value)),
|
|
@@ -1870,7 +1870,7 @@ const Ce = {
|
|
|
1870
1870
|
),
|
|
1871
1871
|
break: () => d.hr(r.class("bc-dropdown__separator"))
|
|
1872
1872
|
})
|
|
1873
|
-
),
|
|
1873
|
+
), ia = (e) => {
|
|
1874
1874
|
const {
|
|
1875
1875
|
value: t,
|
|
1876
1876
|
options: n,
|
|
@@ -1913,17 +1913,17 @@ const Ce = {
|
|
|
1913
1913
|
(g) => Qt(g, s, t, p, l)
|
|
1914
1914
|
)
|
|
1915
1915
|
});
|
|
1916
|
-
},
|
|
1916
|
+
}, ca = (e) => {
|
|
1917
1917
|
const { controller: t, onChange: n, onBlur: a, ...s } = e;
|
|
1918
|
-
return
|
|
1918
|
+
return ia({
|
|
1919
1919
|
...s,
|
|
1920
1920
|
value: t.signal,
|
|
1921
1921
|
onChange: jt(t, n),
|
|
1922
1922
|
onBlur: Ut(t, a)
|
|
1923
1923
|
});
|
|
1924
|
-
},
|
|
1924
|
+
}, Sr = (e) => dt({
|
|
1925
1925
|
...e,
|
|
1926
|
-
content:
|
|
1926
|
+
content: ca(e)
|
|
1927
1927
|
}), Xt = (e, t, n, a, s, o) => Re(
|
|
1928
1928
|
e,
|
|
1929
1929
|
(i) => Et(i, {
|
|
@@ -1993,7 +1993,7 @@ const Ce = {
|
|
|
1993
1993
|
),
|
|
1994
1994
|
break: () => d.hr(r.class("bc-dropdown__separator"))
|
|
1995
1995
|
})
|
|
1996
|
-
),
|
|
1996
|
+
), ua = (e) => {
|
|
1997
1997
|
const {
|
|
1998
1998
|
value: t,
|
|
1999
1999
|
loadOptions: n,
|
|
@@ -2048,12 +2048,12 @@ const Ce = {
|
|
|
2048
2048
|
I(
|
|
2049
2049
|
c,
|
|
2050
2050
|
i
|
|
2051
|
-
)((
|
|
2051
|
+
)(($, D) => $ ?? D ?? "Search")
|
|
2052
2052
|
),
|
|
2053
2053
|
r.value(l),
|
|
2054
|
-
ne((
|
|
2055
|
-
A.input((
|
|
2056
|
-
const D =
|
|
2054
|
+
ne(($) => (k = $, W)),
|
|
2055
|
+
A.input(($) => {
|
|
2056
|
+
const D = $.target;
|
|
2057
2057
|
l.set(D.value), w(D.value);
|
|
2058
2058
|
}),
|
|
2059
2059
|
A.keydown(f)
|
|
@@ -2067,8 +2067,8 @@ const Ce = {
|
|
|
2067
2067
|
),
|
|
2068
2068
|
() => De(
|
|
2069
2069
|
g,
|
|
2070
|
-
(
|
|
2071
|
-
|
|
2070
|
+
($) => Xt(
|
|
2071
|
+
$,
|
|
2072
2072
|
o,
|
|
2073
2073
|
m,
|
|
2074
2074
|
C,
|
|
@@ -2079,17 +2079,17 @@ const Ce = {
|
|
|
2079
2079
|
)
|
|
2080
2080
|
)
|
|
2081
2081
|
});
|
|
2082
|
-
},
|
|
2082
|
+
}, da = (e) => {
|
|
2083
2083
|
const { controller: t, onChange: n, onBlur: a, ...s } = e;
|
|
2084
|
-
return
|
|
2084
|
+
return ua({
|
|
2085
2085
|
...s,
|
|
2086
2086
|
value: t.signal,
|
|
2087
2087
|
onChange: jt(t, n),
|
|
2088
2088
|
onBlur: Ut(t, a)
|
|
2089
2089
|
});
|
|
2090
|
-
},
|
|
2090
|
+
}, Cr = (e) => dt({
|
|
2091
2091
|
...e,
|
|
2092
|
-
content:
|
|
2092
|
+
content: da(e)
|
|
2093
2093
|
});
|
|
2094
2094
|
function en(e) {
|
|
2095
2095
|
const {
|
|
@@ -2111,9 +2111,9 @@ function en(e) {
|
|
|
2111
2111
|
Ze({
|
|
2112
2112
|
content: () => ne((w) => {
|
|
2113
2113
|
x = document.activeElement;
|
|
2114
|
-
const b = (
|
|
2114
|
+
const b = (_, T, V) => {
|
|
2115
2115
|
if (T.length === 0) return -1;
|
|
2116
|
-
let O =
|
|
2116
|
+
let O = _ + V, B = 0;
|
|
2117
2117
|
for (; B < T.length; ) {
|
|
2118
2118
|
O >= T.length && (O = 0), O < 0 && (O = T.length - 1);
|
|
2119
2119
|
const U = T[O];
|
|
@@ -2121,23 +2121,23 @@ function en(e) {
|
|
|
2121
2121
|
return O;
|
|
2122
2122
|
O += V, B++;
|
|
2123
2123
|
}
|
|
2124
|
-
return
|
|
2125
|
-
}, f = (
|
|
2124
|
+
return _;
|
|
2125
|
+
}, f = (_) => {
|
|
2126
2126
|
const T = v.value, V = y.value;
|
|
2127
|
-
switch (
|
|
2127
|
+
switch (_.key) {
|
|
2128
2128
|
case "ArrowDown":
|
|
2129
|
-
|
|
2129
|
+
_.preventDefault(), _.stopPropagation();
|
|
2130
2130
|
const O = b(V, T, 1);
|
|
2131
2131
|
C(O, T);
|
|
2132
2132
|
break;
|
|
2133
2133
|
case "ArrowUp":
|
|
2134
|
-
|
|
2134
|
+
_.preventDefault(), _.stopPropagation();
|
|
2135
2135
|
const B = b(V, T, -1);
|
|
2136
2136
|
C(B, T);
|
|
2137
2137
|
break;
|
|
2138
2138
|
case "Enter":
|
|
2139
2139
|
case " ":
|
|
2140
|
-
if (
|
|
2140
|
+
if (_.preventDefault(), _.stopPropagation(), V >= 0 && T[V]) {
|
|
2141
2141
|
const U = T[V];
|
|
2142
2142
|
if (U.getAttribute("aria-disabled") === "true")
|
|
2143
2143
|
return;
|
|
@@ -2149,13 +2149,13 @@ function en(e) {
|
|
|
2149
2149
|
l?.();
|
|
2150
2150
|
break;
|
|
2151
2151
|
case "Home":
|
|
2152
|
-
|
|
2152
|
+
_.preventDefault(), _.stopPropagation(), T.length > 0 && C(0, T);
|
|
2153
2153
|
break;
|
|
2154
2154
|
case "End":
|
|
2155
|
-
|
|
2155
|
+
_.preventDefault(), _.stopPropagation(), T.length > 0 && C(T.length - 1, T);
|
|
2156
2156
|
break;
|
|
2157
2157
|
case "ArrowRight":
|
|
2158
|
-
if (
|
|
2158
|
+
if (_.preventDefault(), _.stopPropagation(), V >= 0 && T[V]) {
|
|
2159
2159
|
const U = T[V];
|
|
2160
2160
|
U.classList.contains(
|
|
2161
2161
|
"bc-menu-item--has-submenu"
|
|
@@ -2163,26 +2163,26 @@ function en(e) {
|
|
|
2163
2163
|
}
|
|
2164
2164
|
break;
|
|
2165
2165
|
case "ArrowLeft":
|
|
2166
|
-
|
|
2166
|
+
_.preventDefault(), _.stopPropagation(), l?.();
|
|
2167
2167
|
break;
|
|
2168
2168
|
}
|
|
2169
|
-
}, C = (
|
|
2169
|
+
}, C = (_, T) => {
|
|
2170
2170
|
y.value >= 0 && T[y.value] && (T[y.value].classList.remove(
|
|
2171
2171
|
"bc-menu-item--focused"
|
|
2172
|
-
), T[y.value].removeAttribute("aria-selected")),
|
|
2173
|
-
},
|
|
2174
|
-
const
|
|
2172
|
+
), T[y.value].removeAttribute("aria-selected")), _ >= 0 && T[_] && (T[_].classList.add("bc-menu-item--focused"), T[_].setAttribute("aria-selected", "true"), y.set(_), typeof T[_].scrollIntoView == "function" && T[_].scrollIntoView({ block: "nearest" }));
|
|
2173
|
+
}, $ = () => {
|
|
2174
|
+
const _ = Array.from(
|
|
2175
2175
|
w.querySelectorAll('[role="menuitem"]')
|
|
2176
2176
|
);
|
|
2177
|
-
if (v.set(
|
|
2178
|
-
const T =
|
|
2177
|
+
if (v.set(_), _.length > 0) {
|
|
2178
|
+
const T = _.findIndex(
|
|
2179
2179
|
(V) => V.getAttribute("aria-disabled") !== "true"
|
|
2180
2180
|
);
|
|
2181
|
-
T >= 0 && C(T,
|
|
2181
|
+
T >= 0 && C(T, _);
|
|
2182
2182
|
}
|
|
2183
|
-
}, D = new MutationObserver(
|
|
2183
|
+
}, D = new MutationObserver($);
|
|
2184
2184
|
return D.observe(w, { childList: !0, subtree: !0 }), setTimeout(() => {
|
|
2185
|
-
|
|
2185
|
+
$(), w.focus();
|
|
2186
2186
|
}, 0), document.addEventListener("keydown", f, !0), F(
|
|
2187
2187
|
se(() => {
|
|
2188
2188
|
D.disconnect(), document.removeEventListener("keydown", f, !0), x && x.focus();
|
|
@@ -2195,13 +2195,13 @@ function en(e) {
|
|
|
2195
2195
|
g ? E.label(g) : F(),
|
|
2196
2196
|
k ? E.labelledby(k) : F(),
|
|
2197
2197
|
E.activedescendant(
|
|
2198
|
-
y.map((
|
|
2198
|
+
y.map((_) => {
|
|
2199
2199
|
const T = v.value;
|
|
2200
|
-
return
|
|
2200
|
+
return _ >= 0 && T[_] ? T[_].id || `${m}-item-${_}` : "";
|
|
2201
2201
|
})
|
|
2202
2202
|
),
|
|
2203
|
-
A.click((
|
|
2204
|
-
const V =
|
|
2203
|
+
A.click((_) => {
|
|
2204
|
+
const V = _.target.closest(
|
|
2205
2205
|
'[role="menuitem"]'
|
|
2206
2206
|
);
|
|
2207
2207
|
if (V && V.getAttribute("aria-disabled") !== "true") {
|
|
@@ -2214,11 +2214,11 @@ function en(e) {
|
|
|
2214
2214
|
r.class("sr-only"),
|
|
2215
2215
|
E.live("polite"),
|
|
2216
2216
|
E.atomic(!0),
|
|
2217
|
-
y.map((
|
|
2217
|
+
y.map((_) => {
|
|
2218
2218
|
const T = v.value;
|
|
2219
|
-
if (
|
|
2220
|
-
const V = T[
|
|
2221
|
-
return T[
|
|
2219
|
+
if (_ >= 0 && T[_]) {
|
|
2220
|
+
const V = T[_].textContent || "";
|
|
2221
|
+
return T[_].getAttribute("aria-disabled") === "true" ? `${V}, disabled` : `${V}, ${_ + 1} of ${T.length}`;
|
|
2222
2222
|
}
|
|
2223
2223
|
return "";
|
|
2224
2224
|
})
|
|
@@ -2237,7 +2237,7 @@ function en(e) {
|
|
|
2237
2237
|
})
|
|
2238
2238
|
);
|
|
2239
2239
|
}
|
|
2240
|
-
function
|
|
2240
|
+
function Tr(e) {
|
|
2241
2241
|
const {
|
|
2242
2242
|
key: t,
|
|
2243
2243
|
content: n,
|
|
@@ -2326,7 +2326,7 @@ function sn(e, t, n) {
|
|
|
2326
2326
|
if (s != null) return s;
|
|
2327
2327
|
}
|
|
2328
2328
|
}
|
|
2329
|
-
function
|
|
2329
|
+
function fa(e, t, n) {
|
|
2330
2330
|
return sn(e, t, n)?.label ?? String(t);
|
|
2331
2331
|
}
|
|
2332
2332
|
function ln(e, t, n) {
|
|
@@ -2356,7 +2356,7 @@ function on(e) {
|
|
|
2356
2356
|
value: I(
|
|
2357
2357
|
i,
|
|
2358
2358
|
n
|
|
2359
|
-
)((c, u) =>
|
|
2359
|
+
)((c, u) => fa(u, c, a)),
|
|
2360
2360
|
onClose: () => o(i.value),
|
|
2361
2361
|
disabled: s
|
|
2362
2362
|
})
|
|
@@ -2453,10 +2453,10 @@ function cn(e) {
|
|
|
2453
2453
|
})
|
|
2454
2454
|
});
|
|
2455
2455
|
}
|
|
2456
|
-
function
|
|
2456
|
+
function Ir(e) {
|
|
2457
2457
|
return Ht(cn, e);
|
|
2458
2458
|
}
|
|
2459
|
-
function
|
|
2459
|
+
function $r(e) {
|
|
2460
2460
|
return Wt(cn, e);
|
|
2461
2461
|
}
|
|
2462
2462
|
function un(e) {
|
|
@@ -2585,10 +2585,10 @@ function un(e) {
|
|
|
2585
2585
|
function _r(e) {
|
|
2586
2586
|
return Ht(un, e);
|
|
2587
2587
|
}
|
|
2588
|
-
function
|
|
2588
|
+
function Pr(e) {
|
|
2589
2589
|
return Wt(un, e);
|
|
2590
2590
|
}
|
|
2591
|
-
const
|
|
2591
|
+
const Dr = (e) => {
|
|
2592
2592
|
const { value: t, onBlur: n, onChange: a } = e;
|
|
2593
2593
|
return ce({
|
|
2594
2594
|
...e,
|
|
@@ -2600,29 +2600,29 @@ const Pr = (e) => {
|
|
|
2600
2600
|
a != null ? A.change(mn(a)) : W
|
|
2601
2601
|
)
|
|
2602
2602
|
});
|
|
2603
|
-
},
|
|
2603
|
+
}, pa = (e) => {
|
|
2604
2604
|
const t = e.getFullYear(), n = (e.getMonth() + 1).toString().padStart(2, "0"), a = e.getDate().toString().padStart(2, "0"), s = e.getHours().toString().padStart(2, "0"), o = e.getMinutes().toString().padStart(2, "0");
|
|
2605
2605
|
return `${t}-${n}-${a}T${s}:${o}`;
|
|
2606
|
-
},
|
|
2606
|
+
}, Lr = (e) => {
|
|
2607
2607
|
const { value: t, onBlur: n, onChange: a } = e;
|
|
2608
2608
|
return ce({
|
|
2609
2609
|
...e,
|
|
2610
2610
|
input: fe["datetime-local"](
|
|
2611
2611
|
pe(e),
|
|
2612
|
-
r.value(h.map(t,
|
|
2612
|
+
r.value(h.map(t, pa)),
|
|
2613
2613
|
r.class("bc-input"),
|
|
2614
2614
|
n != null ? A.blur(te(n)) : W,
|
|
2615
2615
|
a != null ? A.change(te((s) => a(new Date(s)))) : W
|
|
2616
2616
|
)
|
|
2617
2617
|
});
|
|
2618
|
-
},
|
|
2618
|
+
}, Ar = (e) => {
|
|
2619
2619
|
const {
|
|
2620
2620
|
value: t,
|
|
2621
2621
|
onInput: n,
|
|
2622
2622
|
onChange: a,
|
|
2623
2623
|
...s
|
|
2624
2624
|
} = e;
|
|
2625
|
-
return
|
|
2625
|
+
return An({
|
|
2626
2626
|
...s,
|
|
2627
2627
|
maxFiles: 1,
|
|
2628
2628
|
value: h.map(t, (o) => o == null ? [] : [o]),
|
|
@@ -2633,7 +2633,7 @@ const Pr = (e) => {
|
|
|
2633
2633
|
n?.(o[0]);
|
|
2634
2634
|
}
|
|
2635
2635
|
});
|
|
2636
|
-
},
|
|
2636
|
+
}, Vr = (e) => Rt({
|
|
2637
2637
|
request: e.request,
|
|
2638
2638
|
load: e.load,
|
|
2639
2639
|
convertError: String,
|
|
@@ -2657,11 +2657,11 @@ const Pr = (e) => {
|
|
|
2657
2657
|
})
|
|
2658
2658
|
)
|
|
2659
2659
|
)
|
|
2660
|
-
}),
|
|
2660
|
+
}), Br = (e) => {
|
|
2661
2661
|
const { value: t, onBlur: n, onChange: a, onInput: s, after: o, disabled: i, ...c } = e, u = Me(t, i, a);
|
|
2662
2662
|
return Ee({
|
|
2663
2663
|
...c,
|
|
2664
|
-
value: h.map(t,
|
|
2664
|
+
value: h.map(t, Vn),
|
|
2665
2665
|
onChange: a != null ? (l) => a(kt(l)) : void 0,
|
|
2666
2666
|
onInput: s != null ? (l) => s(kt(l)) : void 0,
|
|
2667
2667
|
onBlur: n,
|
|
@@ -2673,7 +2673,7 @@ const Pr = (e) => {
|
|
|
2673
2673
|
} catch {
|
|
2674
2674
|
return null;
|
|
2675
2675
|
}
|
|
2676
|
-
},
|
|
2676
|
+
}, Mr = (e) => {
|
|
2677
2677
|
const { value: t, step: n, min: a, max: s, onChange: o, onInput: i, after: c } = e, u = (m) => {
|
|
2678
2678
|
const y = a != null ? h.get(a) : void 0, v = s != null ? h.get(s) : void 0;
|
|
2679
2679
|
return y != null && m < y ? y : v != null && m > v ? v : m;
|
|
@@ -2685,8 +2685,8 @@ const Pr = (e) => {
|
|
|
2685
2685
|
t,
|
|
2686
2686
|
s
|
|
2687
2687
|
)((w, b) => b == null ? !0 : (w ?? 0n) < b), x = (w, b) => {
|
|
2688
|
-
const f = h.get(t) ?? 0n, C = h.get(n),
|
|
2689
|
-
if (w < 0n &&
|
|
2688
|
+
const f = h.get(t) ?? 0n, C = h.get(n), $ = b?.shiftKey ? 10n : 1n, D = f + C * $ * w, _ = a != null ? h.get(a) : void 0, T = s != null ? h.get(s) : void 0;
|
|
2689
|
+
if (w < 0n && _ != null && D < _ || w > 0n && T != null && D > T) return;
|
|
2690
2690
|
const V = u(D);
|
|
2691
2691
|
V !== f && o && o(V);
|
|
2692
2692
|
};
|
|
@@ -2747,7 +2747,7 @@ const Pr = (e) => {
|
|
|
2747
2747
|
} catch {
|
|
2748
2748
|
return null;
|
|
2749
2749
|
}
|
|
2750
|
-
},
|
|
2750
|
+
}, Er = (e) => {
|
|
2751
2751
|
const { value: t, step: n, min: a, max: s, onChange: o, onInput: i, after: c } = e, u = (y) => {
|
|
2752
2752
|
const v = a != null ? h.get(a) : void 0, x = s != null ? h.get(s) : void 0;
|
|
2753
2753
|
return v != null && y < v ? v : x != null && y > x ? x : y;
|
|
@@ -2765,9 +2765,9 @@ const Pr = (e) => {
|
|
|
2765
2765
|
const C = b ?? 0n;
|
|
2766
2766
|
return f == null ? !0 : C < f;
|
|
2767
2767
|
}), w = (b, f) => {
|
|
2768
|
-
const C = h.get(t) ?? 0n,
|
|
2769
|
-
if (b < 0n && T != null &&
|
|
2770
|
-
const O = u(
|
|
2768
|
+
const C = h.get(t) ?? 0n, $ = h.get(n), D = f?.shiftKey ? 10n : 1n, _ = C + $ * D * b, T = a != null ? h.get(a) : void 0, V = s != null ? h.get(s) : void 0;
|
|
2769
|
+
if (b < 0n && T != null && _ < T || b > 0n && V != null && _ > V) return;
|
|
2770
|
+
const O = u(_);
|
|
2771
2771
|
O !== C && o && o(O);
|
|
2772
2772
|
};
|
|
2773
2773
|
return ft(
|
|
@@ -2820,7 +2820,7 @@ const Pr = (e) => {
|
|
|
2820
2820
|
allowMode: "digits",
|
|
2821
2821
|
class: "bc-number-input"
|
|
2822
2822
|
});
|
|
2823
|
-
},
|
|
2823
|
+
}, Or = (e) => {
|
|
2824
2824
|
const { value: t, onChange: n, onBlur: a, before: s } = e, o = Z(""), i = (u) => {
|
|
2825
2825
|
n?.(h.get(t).filter((l) => l !== u));
|
|
2826
2826
|
}, c = () => {
|
|
@@ -2896,34 +2896,34 @@ function Je(e) {
|
|
|
2896
2896
|
);
|
|
2897
2897
|
};
|
|
2898
2898
|
}
|
|
2899
|
-
const
|
|
2899
|
+
const Nr = qe({
|
|
2900
2900
|
inputType: "date",
|
|
2901
2901
|
valueToString: (e) => e.toString(),
|
|
2902
2902
|
parseValue: (e, t) => e.PlainDate.from(t)
|
|
2903
|
-
}),
|
|
2903
|
+
}), Fr = Je({
|
|
2904
2904
|
inputType: "date",
|
|
2905
2905
|
valueToString: (e) => e.toString(),
|
|
2906
2906
|
parseValue: (e, t) => e.PlainDate.from(t)
|
|
2907
|
-
}),
|
|
2907
|
+
}), Rr = qe({
|
|
2908
2908
|
inputType: "time",
|
|
2909
2909
|
valueToString: (e) => e.toString(),
|
|
2910
2910
|
parseValue: (e, t) => e.PlainTime.from(t)
|
|
2911
|
-
}),
|
|
2911
|
+
}), Ur = Je({
|
|
2912
2912
|
inputType: "time",
|
|
2913
2913
|
valueToString: (e) => e.toString(),
|
|
2914
2914
|
parseValue: (e, t) => e.PlainTime.from(t)
|
|
2915
|
-
}),
|
|
2915
|
+
}), jr = qe({
|
|
2916
2916
|
inputType: "datetime-local",
|
|
2917
2917
|
valueToString: (e) => e.toJSON(),
|
|
2918
2918
|
parseValue: (e, t) => e.PlainDateTime.from(t)
|
|
2919
|
-
}),
|
|
2919
|
+
}), Hr = Je({
|
|
2920
2920
|
inputType: "datetime-local",
|
|
2921
2921
|
valueToString: (e) => e.toJSON(),
|
|
2922
2922
|
parseValue: (e, t) => e.PlainDateTime.from(t)
|
|
2923
|
-
}),
|
|
2923
|
+
}), ba = (e) => {
|
|
2924
2924
|
const t = new Date(e), n = t.getFullYear().toString().padStart(4, "0"), a = (t.getMonth() + 1).toString().padStart(2, "0"), s = t.getDate().toString().padStart(2, "0"), o = t.getHours().toString().padStart(2, "0"), i = t.getMinutes().toString().padStart(2, "0");
|
|
2925
2925
|
return `${n}-${a}-${s}T${o}:${i}`;
|
|
2926
|
-
},
|
|
2926
|
+
}, Wr = (e) => {
|
|
2927
2927
|
const { value: t, onBlur: n, onChange: a } = e;
|
|
2928
2928
|
return ve(
|
|
2929
2929
|
(s) => ce({
|
|
@@ -2931,7 +2931,7 @@ const Or = qe({
|
|
|
2931
2931
|
input: fe["datetime-local"](
|
|
2932
2932
|
pe(e),
|
|
2933
2933
|
r.value(
|
|
2934
|
-
h.map(t, (o) =>
|
|
2934
|
+
h.map(t, (o) => ba(Number(o.epochMilliseconds)))
|
|
2935
2935
|
),
|
|
2936
2936
|
r.class("bc-input"),
|
|
2937
2937
|
n != null ? A.blur(te(n)) : W,
|
|
@@ -2943,10 +2943,10 @@ const Or = qe({
|
|
|
2943
2943
|
)
|
|
2944
2944
|
})
|
|
2945
2945
|
);
|
|
2946
|
-
},
|
|
2946
|
+
}, ga = (e) => {
|
|
2947
2947
|
const t = new Date(e), n = t.getFullYear().toString().padStart(4, "0"), a = (t.getMonth() + 1).toString().padStart(2, "0"), s = t.getDate().toString().padStart(2, "0"), o = t.getHours().toString().padStart(2, "0"), i = t.getMinutes().toString().padStart(2, "0");
|
|
2948
2948
|
return `${n}-${a}-${s}T${o}:${i}`;
|
|
2949
|
-
},
|
|
2949
|
+
}, zr = (e) => {
|
|
2950
2950
|
const { value: t, onBlur: n, onChange: a, after: s, disabled: o } = e, i = Me(t, o, a);
|
|
2951
2951
|
return ve(
|
|
2952
2952
|
(c) => ce({
|
|
@@ -2956,7 +2956,7 @@ const Or = qe({
|
|
|
2956
2956
|
r.value(
|
|
2957
2957
|
h.map(
|
|
2958
2958
|
t,
|
|
2959
|
-
(u) => u == null ? null :
|
|
2959
|
+
(u) => u == null ? null : ga(Number(u.epochMilliseconds))
|
|
2960
2960
|
)
|
|
2961
2961
|
),
|
|
2962
2962
|
r.class("bc-input"),
|
|
@@ -2970,7 +2970,7 @@ const Or = qe({
|
|
|
2970
2970
|
after: s != null ? F(i, s) : i
|
|
2971
2971
|
})
|
|
2972
2972
|
);
|
|
2973
|
-
},
|
|
2973
|
+
}, Yr = (e) => {
|
|
2974
2974
|
const { value: t, onBlur: n, onChange: a } = e;
|
|
2975
2975
|
return ve(
|
|
2976
2976
|
(s) => ce({
|
|
@@ -2989,7 +2989,7 @@ const Or = qe({
|
|
|
2989
2989
|
)
|
|
2990
2990
|
})
|
|
2991
2991
|
);
|
|
2992
|
-
},
|
|
2992
|
+
}, Gr = (e) => {
|
|
2993
2993
|
const { value: t, onBlur: n, onChange: a, after: s, disabled: o } = e, i = Me(t, o, a);
|
|
2994
2994
|
return ve(
|
|
2995
2995
|
(c) => ce({
|
|
@@ -3010,15 +3010,15 @@ const Or = qe({
|
|
|
3010
3010
|
after: s != null ? F(i, s) : i
|
|
3011
3011
|
})
|
|
3012
3012
|
);
|
|
3013
|
-
},
|
|
3013
|
+
}, Zr = qe({
|
|
3014
3014
|
inputType: "month",
|
|
3015
3015
|
valueToString: (e) => e.toString(),
|
|
3016
3016
|
parseValue: (e, t) => e.PlainYearMonth.from(t)
|
|
3017
|
-
}),
|
|
3017
|
+
}), qr = Je({
|
|
3018
3018
|
inputType: "month",
|
|
3019
3019
|
valueToString: (e) => e.toString(),
|
|
3020
3020
|
parseValue: (e, t) => e.PlainYearMonth.from(t)
|
|
3021
|
-
}),
|
|
3021
|
+
}), Jr = (e) => {
|
|
3022
3022
|
const { value: t, onChange: n } = e;
|
|
3023
3023
|
return ve(
|
|
3024
3024
|
(a) => Ee({
|
|
@@ -3031,7 +3031,7 @@ const Or = qe({
|
|
|
3031
3031
|
placeholder: "MM-DD"
|
|
3032
3032
|
})
|
|
3033
3033
|
);
|
|
3034
|
-
},
|
|
3034
|
+
}, Kr = (e) => {
|
|
3035
3035
|
const { value: t, onChange: n, after: a, disabled: s } = e, o = Me(t, s, n);
|
|
3036
3036
|
return ve(
|
|
3037
3037
|
(i) => Ee({
|
|
@@ -3044,7 +3044,7 @@ const Or = qe({
|
|
|
3044
3044
|
after: a != null ? F(o, a) : o
|
|
3045
3045
|
})
|
|
3046
3046
|
);
|
|
3047
|
-
},
|
|
3047
|
+
}, Qr = (e) => {
|
|
3048
3048
|
const { value: t, onChange: n } = e;
|
|
3049
3049
|
return ve(
|
|
3050
3050
|
(a) => Ee({
|
|
@@ -3052,12 +3052,12 @@ const Or = qe({
|
|
|
3052
3052
|
value: h.map(t, (s) => s.toString()),
|
|
3053
3053
|
onChange: n ? (s) => n(a.Duration.from(s)) : void 0,
|
|
3054
3054
|
onInput: void 0,
|
|
3055
|
-
...
|
|
3055
|
+
...Bn(a.Duration.from),
|
|
3056
3056
|
placeholder: "P0DT0H0M0S"
|
|
3057
3057
|
})
|
|
3058
3058
|
);
|
|
3059
3059
|
};
|
|
3060
|
-
function
|
|
3060
|
+
function Xr(e, t, n) {
|
|
3061
3061
|
return Re(
|
|
3062
3062
|
e.signal,
|
|
3063
3063
|
() => {
|
|
@@ -3070,20 +3070,20 @@ function Qr(e, t, n) {
|
|
|
3070
3070
|
n
|
|
3071
3071
|
);
|
|
3072
3072
|
}
|
|
3073
|
-
const
|
|
3073
|
+
const es = {
|
|
3074
3074
|
filling: { type: "filling" },
|
|
3075
3075
|
submitting: { type: "submitting" },
|
|
3076
3076
|
error: (e) => ({ type: "error", error: e }),
|
|
3077
3077
|
success: { type: "success" }
|
|
3078
3078
|
};
|
|
3079
|
-
class
|
|
3079
|
+
class ma extends In {
|
|
3080
3080
|
constructor(t, n, a, s, o) {
|
|
3081
3081
|
super(t, n, a, s, o);
|
|
3082
3082
|
}
|
|
3083
3083
|
/**
|
|
3084
3084
|
* Validates that the current value is a valid color
|
|
3085
3085
|
*/
|
|
3086
|
-
isValidColor = this.signal.map(
|
|
3086
|
+
isValidColor = this.signal.map(Mn);
|
|
3087
3087
|
/**
|
|
3088
3088
|
* Validates that the current value is a valid hex color
|
|
3089
3089
|
*/
|
|
@@ -3165,8 +3165,8 @@ class ga extends Tn {
|
|
|
3165
3165
|
return this.transform(n, a, [`format-${t}`]);
|
|
3166
3166
|
};
|
|
3167
3167
|
}
|
|
3168
|
-
function
|
|
3169
|
-
return new
|
|
3168
|
+
function ts(e) {
|
|
3169
|
+
return new ma(
|
|
3170
3170
|
e.path,
|
|
3171
3171
|
e.change,
|
|
3172
3172
|
e.signal,
|
|
@@ -3174,7 +3174,7 @@ function es(e) {
|
|
|
3174
3174
|
{ disabled: e.disabled }
|
|
3175
3175
|
);
|
|
3176
3176
|
}
|
|
3177
|
-
function
|
|
3177
|
+
function ns(e) {
|
|
3178
3178
|
return {
|
|
3179
3179
|
id: e.name,
|
|
3180
3180
|
disabled: e.disabled,
|
|
@@ -3184,7 +3184,7 @@ function ts(e) {
|
|
|
3184
3184
|
onInput: e.setColor
|
|
3185
3185
|
};
|
|
3186
3186
|
}
|
|
3187
|
-
function
|
|
3187
|
+
function as({
|
|
3188
3188
|
locales: e,
|
|
3189
3189
|
onChange: t,
|
|
3190
3190
|
updateLocale: n = !0
|
|
@@ -3218,21 +3218,21 @@ function ns({
|
|
|
3218
3218
|
}))
|
|
3219
3219
|
);
|
|
3220
3220
|
}
|
|
3221
|
-
const
|
|
3221
|
+
const ha = () => ae(
|
|
3222
3222
|
ct,
|
|
3223
3223
|
({ direction: e }) => ot("body", r.class(e.map((t) => `b-${t}`)))
|
|
3224
3224
|
);
|
|
3225
|
-
function
|
|
3225
|
+
function va(e, t, n, a, s) {
|
|
3226
3226
|
const o = ["bc-notification"];
|
|
3227
3227
|
return e && o.push("bc-notification--bordered"), t && o.push("bc-notification--has-icon"), n && o.push("bc-notification--closable"), a && o.push("bc-notification--loading"), s && s.length > 0 && o.push(s), o.join(" ");
|
|
3228
3228
|
}
|
|
3229
|
-
function
|
|
3229
|
+
function ya(e, t) {
|
|
3230
3230
|
return [
|
|
3231
3231
|
`--notification-accent-color: ${ut(e, 500)}`,
|
|
3232
|
-
`--notification-radius: ${
|
|
3232
|
+
`--notification-radius: ${Tn(t)}`
|
|
3233
3233
|
].join("; ");
|
|
3234
3234
|
}
|
|
3235
|
-
function
|
|
3235
|
+
function wa({
|
|
3236
3236
|
loading: e = !1,
|
|
3237
3237
|
withCloseButton: t = !1,
|
|
3238
3238
|
withBorder: n = !1,
|
|
@@ -3254,7 +3254,7 @@ function ya({
|
|
|
3254
3254
|
u
|
|
3255
3255
|
)(
|
|
3256
3256
|
(g, k, m, y, v) => [
|
|
3257
|
-
|
|
3257
|
+
va(
|
|
3258
3258
|
g,
|
|
3259
3259
|
k,
|
|
3260
3260
|
m,
|
|
@@ -3269,7 +3269,7 @@ function ya({
|
|
|
3269
3269
|
a,
|
|
3270
3270
|
s
|
|
3271
3271
|
)(
|
|
3272
|
-
(g, k) =>
|
|
3272
|
+
(g, k) => ya(g, k)
|
|
3273
3273
|
)
|
|
3274
3274
|
),
|
|
3275
3275
|
E.live("polite"),
|
|
@@ -3319,7 +3319,7 @@ function ya({
|
|
|
3319
3319
|
)
|
|
3320
3320
|
);
|
|
3321
3321
|
}
|
|
3322
|
-
class
|
|
3322
|
+
class xa {
|
|
3323
3323
|
handles = [];
|
|
3324
3324
|
attach(t) {
|
|
3325
3325
|
return this.detach(t), this.handles.push(t), () => this.detach(t);
|
|
@@ -3343,7 +3343,7 @@ class wa {
|
|
|
3343
3343
|
this.current.clear();
|
|
3344
3344
|
}
|
|
3345
3345
|
}
|
|
3346
|
-
const
|
|
3346
|
+
const ka = new xa(), dn = {
|
|
3347
3347
|
mark: Ot("NotificationProvider"),
|
|
3348
3348
|
create: ({ position: e = "bottom-end" } = {}) => {
|
|
3349
3349
|
const t = Z(0), n = [];
|
|
@@ -3355,7 +3355,7 @@ const xa = new wa(), dn = {
|
|
|
3355
3355
|
}
|
|
3356
3356
|
const s = [], o = ({ dismissAfter: u, onClose: l, animation: p = { fade: !0 }, ...g }, ...k) => {
|
|
3357
3357
|
t.update((v) => v + 1);
|
|
3358
|
-
const m = u != null ? typeof u == "number" ?
|
|
3358
|
+
const m = u != null ? typeof u == "number" ? En(u * 1e3) : u : void 0, y = {
|
|
3359
3359
|
animation: p,
|
|
3360
3360
|
class: h.toSignal(g.class),
|
|
3361
3361
|
loading: h.toSignal(g.loading ?? !1),
|
|
@@ -3375,7 +3375,7 @@ const xa = new wa(), dn = {
|
|
|
3375
3375
|
n.forEach((v) => v(y));
|
|
3376
3376
|
}, i = () => {
|
|
3377
3377
|
s.forEach((u) => u()), s.length = 0;
|
|
3378
|
-
}, c =
|
|
3378
|
+
}, c = ka.attach({ show: o, clear: i });
|
|
3379
3379
|
return {
|
|
3380
3380
|
value: {
|
|
3381
3381
|
activeNotifications: t,
|
|
@@ -3390,7 +3390,7 @@ const xa = new wa(), dn = {
|
|
|
3390
3390
|
};
|
|
3391
3391
|
}
|
|
3392
3392
|
};
|
|
3393
|
-
function
|
|
3393
|
+
function Sa() {
|
|
3394
3394
|
return ae(dn, ({ listenOnShow: e, position: t }) => d.div(
|
|
3395
3395
|
r.class("bc-notification-viewport"),
|
|
3396
3396
|
r.class(`bc-notification-viewport--${t}`),
|
|
@@ -3398,14 +3398,14 @@ function ka() {
|
|
|
3398
3398
|
(n) => se(
|
|
3399
3399
|
e((a) => {
|
|
3400
3400
|
const s = [], o = d.div(
|
|
3401
|
-
|
|
3401
|
+
$n(
|
|
3402
3402
|
{
|
|
3403
3403
|
animation: a.animation,
|
|
3404
3404
|
initialStatus: "start-opening"
|
|
3405
3405
|
},
|
|
3406
3406
|
({ close: i, listenOnClosed: c }) => (a.delayedClose?.finally(i), c(() => {
|
|
3407
3407
|
s.forEach((u) => u());
|
|
3408
|
-
}),
|
|
3408
|
+
}), wa(
|
|
3409
3409
|
{
|
|
3410
3410
|
class: a.class,
|
|
3411
3411
|
loading: a.loading,
|
|
@@ -3427,7 +3427,7 @@ function ka() {
|
|
|
3427
3427
|
)
|
|
3428
3428
|
));
|
|
3429
3429
|
}
|
|
3430
|
-
function
|
|
3430
|
+
function rs({
|
|
3431
3431
|
includeAuthI18n: e = !1,
|
|
3432
3432
|
enableAppearance: t = !0,
|
|
3433
3433
|
defaultAppearance: n = "system",
|
|
@@ -3439,11 +3439,11 @@ function as({
|
|
|
3439
3439
|
c(Ne, {}), c(ct, {}), c(ie, {}), c(Yt, {
|
|
3440
3440
|
defaultAppearance: t ? n : "light",
|
|
3441
3441
|
appearancePreferenceKey: a
|
|
3442
|
-
}), s && c(dn, { position: o }),
|
|
3442
|
+
}), s && c(dn, { position: o }), Cn.attach(u(Ne));
|
|
3443
3443
|
const l = F(
|
|
3444
|
-
t ?
|
|
3445
|
-
|
|
3446
|
-
s ?
|
|
3444
|
+
t ? Pn() : W,
|
|
3445
|
+
ha(),
|
|
3446
|
+
s ? Sa() : W,
|
|
3447
3447
|
...i
|
|
3448
3448
|
);
|
|
3449
3449
|
return e ? wn(
|
|
@@ -3452,7 +3452,7 @@ function as({
|
|
|
3452
3452
|
) : l;
|
|
3453
3453
|
});
|
|
3454
3454
|
}
|
|
3455
|
-
function
|
|
3455
|
+
function ss({
|
|
3456
3456
|
content: e,
|
|
3457
3457
|
toolbar: t = !0,
|
|
3458
3458
|
page: n,
|
|
@@ -3500,10 +3500,10 @@ function rs({
|
|
|
3500
3500
|
l,
|
|
3501
3501
|
p,
|
|
3502
3502
|
g
|
|
3503
|
-
)((v, x, w, b, f, C,
|
|
3503
|
+
)((v, x, w, b, f, C, $, D, _, T, V, O) => {
|
|
3504
3504
|
if (v == null) return null;
|
|
3505
3505
|
const B = [];
|
|
3506
|
-
x === !1 && B.push("toolbar=0"), w != null && w > 0 && B.push(`page=${w}`), b != null && b > 0 && B.push(`zoom=${b}`), f != null && B.push(`view=${f}`), C != null && B.push(`pagemode=${C}`),
|
|
3506
|
+
x === !1 && B.push("toolbar=0"), w != null && w > 0 && B.push(`page=${w}`), b != null && b > 0 && B.push(`zoom=${b}`), f != null && B.push(`view=${f}`), C != null && B.push(`pagemode=${C}`), $ === !1 && B.push("scrollbar=0"), D === !1 && B.push("navpanes=0"), _ != null && B.push(`search=${encodeURIComponent(_)}`), T != null && B.push(`nameddest=${encodeURIComponent(T)}`), V != null && B.push(`viewrect=${encodeURIComponent(V)}`), O != null && B.push(`highlight=${encodeURIComponent(O)}`);
|
|
3507
3507
|
const U = B.join("&");
|
|
3508
3508
|
return U ? `${v}#${U}` : v;
|
|
3509
3509
|
});
|
|
@@ -3535,7 +3535,7 @@ function rs({
|
|
|
3535
3535
|
)
|
|
3536
3536
|
);
|
|
3537
3537
|
}
|
|
3538
|
-
function
|
|
3538
|
+
function ls({
|
|
3539
3539
|
content: e,
|
|
3540
3540
|
page: t,
|
|
3541
3541
|
zoom: n,
|
|
@@ -3581,12 +3581,12 @@ function ss({
|
|
|
3581
3581
|
l,
|
|
3582
3582
|
p,
|
|
3583
3583
|
g
|
|
3584
|
-
)((w, b, f, C,
|
|
3584
|
+
)((w, b, f, C, $, D, _, T, V, O, B, U, X) => {
|
|
3585
3585
|
if (w == null) return null;
|
|
3586
3586
|
const H = b ?? "https://mozilla.github.io/pdf.js/web/viewer.html", R = new URLSearchParams();
|
|
3587
3587
|
R.set("file", encodeURIComponent(w));
|
|
3588
3588
|
const Y = [];
|
|
3589
|
-
f != null && f > 0 && Y.push(`page=${f}`), C != null && (typeof C == "string" ? Y.push(`zoom=${C}`) : Y.push(`zoom=${C}`)),
|
|
3589
|
+
f != null && f > 0 && Y.push(`page=${f}`), C != null && (typeof C == "string" ? Y.push(`zoom=${C}`) : Y.push(`zoom=${C}`)), $ != null && Y.push(`pagemode=${$}`), D != null && Y.push(`nameddest=${encodeURIComponent(D)}`), _ != null && Y.push(`search=${encodeURIComponent(_)}`), T != null && Y.push(`textLayer=${T}`), V != null && Y.push(`sidebar=${V}`), O != null && Y.push(`scrollMode=${O}`), B != null && Y.push(`spreadMode=${B}`), U != null && Y.push(`enableScripting=${U ? "1" : "0"}`), X != null && Y.push(`enablePrinting=${X ? "1" : "0"}`);
|
|
3590
3590
|
const oe = Y.length > 0 ? `#${Y.join("&")}` : "";
|
|
3591
3591
|
return `${H}?${R.toString()}${oe}`;
|
|
3592
3592
|
});
|
|
@@ -3608,7 +3608,7 @@ function ss({
|
|
|
3608
3608
|
)
|
|
3609
3609
|
);
|
|
3610
3610
|
}
|
|
3611
|
-
const
|
|
3611
|
+
const os = ({ id: e, css: t }) => ot("head", d.style(r.id(e), r.innerHTML(t)));
|
|
3612
3612
|
function ge(e, t) {
|
|
3613
3613
|
return t == null ? null : d.meta(
|
|
3614
3614
|
r.name(e),
|
|
@@ -3624,14 +3624,14 @@ function G(e, t) {
|
|
|
3624
3624
|
function ze(e, t) {
|
|
3625
3625
|
return t == null ? null : De(t, (n) => G(e, n));
|
|
3626
3626
|
}
|
|
3627
|
-
function
|
|
3627
|
+
function Ca(e, t) {
|
|
3628
3628
|
return t == null ? null : Q(
|
|
3629
3629
|
h.map(t, (n) => Array.isArray(n)),
|
|
3630
3630
|
() => ze(e, t),
|
|
3631
3631
|
() => G(e, t)
|
|
3632
3632
|
);
|
|
3633
3633
|
}
|
|
3634
|
-
const
|
|
3634
|
+
const is = (e) => {
|
|
3635
3635
|
const t = [];
|
|
3636
3636
|
if (t.push(G("og:title", e.title)), t.push(G("og:type", e.type)), t.push(G("og:url", e.url)), t.push(G("og:image", e.image)), t.push(G("og:description", e.description)), t.push(G("og:site_name", e.siteName)), t.push(G("og:locale", e.locale)), e.localeAlternate != null) {
|
|
3637
3637
|
const n = ze("og:locale:alternate", e.localeAlternate);
|
|
@@ -3641,7 +3641,7 @@ const os = (e) => {
|
|
|
3641
3641
|
const n = ze("og:image", e.images);
|
|
3642
3642
|
n != null && t.push(n);
|
|
3643
3643
|
}
|
|
3644
|
-
if (t.push(G("og:video", e.video)), t.push(G("og:video:type", e.videoType)), t.push(G("og:video:width", e.videoWidth)), t.push(G("og:video:height", e.videoHeight)), t.push(G("og:video:secure_url", e.videoSecureUrl)), t.push(G("og:audio", e.audio)), t.push(G("og:audio:type", e.audioType)), t.push(G("og:audio:secure_url", e.audioSecureUrl)), t.push(G("article:published_time", e.publishedTime)), t.push(G("article:modified_time", e.modifiedTime)), t.push(G("article:expiration_time", e.expirationTime)), t.push(
|
|
3644
|
+
if (t.push(G("og:video", e.video)), t.push(G("og:video:type", e.videoType)), t.push(G("og:video:width", e.videoWidth)), t.push(G("og:video:height", e.videoHeight)), t.push(G("og:video:secure_url", e.videoSecureUrl)), t.push(G("og:audio", e.audio)), t.push(G("og:audio:type", e.audioType)), t.push(G("og:audio:secure_url", e.audioSecureUrl)), t.push(G("article:published_time", e.publishedTime)), t.push(G("article:modified_time", e.modifiedTime)), t.push(G("article:expiration_time", e.expirationTime)), t.push(Ca("article:author", e.author)), t.push(G("article:section", e.section)), e.tags != null) {
|
|
3645
3645
|
const n = ze("article:tag", e.tags);
|
|
3646
3646
|
n != null && t.push(n);
|
|
3647
3647
|
}
|
|
@@ -3697,7 +3697,7 @@ function At(e) {
|
|
|
3697
3697
|
`--link-hover-color-dark: ${n}`
|
|
3698
3698
|
].join("; ");
|
|
3699
3699
|
}
|
|
3700
|
-
function
|
|
3700
|
+
function Ta({
|
|
3701
3701
|
href: e,
|
|
3702
3702
|
variant: t = "default",
|
|
3703
3703
|
color: n = "primary",
|
|
@@ -3751,7 +3751,7 @@ function Ca({
|
|
|
3751
3751
|
)
|
|
3752
3752
|
);
|
|
3753
3753
|
}
|
|
3754
|
-
const
|
|
3754
|
+
const Ia = (e) => e ? e.startsWith("#") ? e : `#${e}` : "", $a = (e) => {
|
|
3755
3755
|
if (!e) return new URLSearchParams();
|
|
3756
3756
|
if (typeof e == "string") {
|
|
3757
3757
|
const t = e.startsWith("?") ? e.slice(1) : e;
|
|
@@ -3760,7 +3760,7 @@ const Ta = (e) => e ? e.startsWith("#") ? e : `#${e}` : "", Ia = (e) => {
|
|
|
3760
3760
|
return e instanceof URLSearchParams ? new URLSearchParams(e) : new URLSearchParams(e);
|
|
3761
3761
|
};
|
|
3762
3762
|
function _a(e, t, n) {
|
|
3763
|
-
const a =
|
|
3763
|
+
const a = $a(e.search), s = a.toString(), o = s ? `?${s}` : "", i = Ia(e.hash);
|
|
3764
3764
|
switch (n) {
|
|
3765
3765
|
case "exact":
|
|
3766
3766
|
return e.pathname + o + i === t;
|
|
@@ -3790,7 +3790,7 @@ function bt(e, t) {
|
|
|
3790
3790
|
(n) => (a) => _a(a, n, t)
|
|
3791
3791
|
);
|
|
3792
3792
|
}
|
|
3793
|
-
function
|
|
3793
|
+
function cs({
|
|
3794
3794
|
href: e,
|
|
3795
3795
|
matchMode: t = "exact",
|
|
3796
3796
|
disableWhenActive: n = !0,
|
|
@@ -3803,7 +3803,7 @@ function is({
|
|
|
3803
3803
|
i,
|
|
3804
3804
|
n
|
|
3805
3805
|
)((u, l) => l ?? !0 ? u : !1);
|
|
3806
|
-
return
|
|
3806
|
+
return Ta(
|
|
3807
3807
|
{
|
|
3808
3808
|
...a,
|
|
3809
3809
|
href: e,
|
|
@@ -3813,7 +3813,7 @@ function is({
|
|
|
3813
3813
|
);
|
|
3814
3814
|
});
|
|
3815
3815
|
}
|
|
3816
|
-
function
|
|
3816
|
+
function us({
|
|
3817
3817
|
href: e,
|
|
3818
3818
|
viewTransition: t = !0,
|
|
3819
3819
|
state: n,
|
|
@@ -3951,7 +3951,7 @@ function Vt({
|
|
|
3951
3951
|
)
|
|
3952
3952
|
);
|
|
3953
3953
|
}
|
|
3954
|
-
const
|
|
3954
|
+
const Pa = {
|
|
3955
3955
|
mark: Ot("SidebarContext"),
|
|
3956
3956
|
create: (e) => ({
|
|
3957
3957
|
value: {
|
|
@@ -3961,9 +3961,9 @@ const $a = {
|
|
|
3961
3961
|
}
|
|
3962
3962
|
})
|
|
3963
3963
|
};
|
|
3964
|
-
function
|
|
3964
|
+
function ds({ backgroundMode: e = "light" }, ...t) {
|
|
3965
3965
|
return Nt(
|
|
3966
|
-
|
|
3966
|
+
Pa,
|
|
3967
3967
|
h.map(
|
|
3968
3968
|
e,
|
|
3969
3969
|
(n) => ({
|
|
@@ -3997,7 +3997,7 @@ function Bt({ rail: e, header: t }, ...n) {
|
|
|
3997
3997
|
)
|
|
3998
3998
|
);
|
|
3999
3999
|
}
|
|
4000
|
-
function
|
|
4000
|
+
function Da(e, ...t) {
|
|
4001
4001
|
const n = pt({
|
|
4002
4002
|
viewTransition: e.viewTransition ?? !0,
|
|
4003
4003
|
state: e.state,
|
|
@@ -4006,10 +4006,10 @@ function Pa(e, ...t) {
|
|
|
4006
4006
|
});
|
|
4007
4007
|
return it({ href: e.href, ...n }, ...t);
|
|
4008
4008
|
}
|
|
4009
|
-
function
|
|
4009
|
+
function La(...e) {
|
|
4010
4010
|
return d.span(...e);
|
|
4011
4011
|
}
|
|
4012
|
-
function
|
|
4012
|
+
function Aa(e, ...t) {
|
|
4013
4013
|
return d.button(
|
|
4014
4014
|
r.type("button"),
|
|
4015
4015
|
A.click(e.onClick),
|
|
@@ -4024,7 +4024,7 @@ function La(e, ...t) {
|
|
|
4024
4024
|
...t
|
|
4025
4025
|
);
|
|
4026
4026
|
}
|
|
4027
|
-
function
|
|
4027
|
+
function Va(e) {
|
|
4028
4028
|
const t = [r.class("bc-sidebar-link")];
|
|
4029
4029
|
return e.icon != null && t.push(
|
|
4030
4030
|
d.span(
|
|
@@ -4044,7 +4044,7 @@ function Aa(e) {
|
|
|
4044
4044
|
}),
|
|
4045
4045
|
ee({ icon: e.action?.icon })
|
|
4046
4046
|
)
|
|
4047
|
-
), "onClick" in e ?
|
|
4047
|
+
), "onClick" in e ? Aa(e, ...t) : ae(Ne, (n) => {
|
|
4048
4048
|
const a = n.matchSignal(
|
|
4049
4049
|
bt(e.href, "exact"),
|
|
4050
4050
|
{
|
|
@@ -4054,12 +4054,12 @@ function Aa(e) {
|
|
|
4054
4054
|
);
|
|
4055
4055
|
return Q(
|
|
4056
4056
|
a,
|
|
4057
|
-
() =>
|
|
4058
|
-
() =>
|
|
4057
|
+
() => La(...t),
|
|
4058
|
+
() => Da(e, ...t)
|
|
4059
4059
|
);
|
|
4060
4060
|
});
|
|
4061
4061
|
}
|
|
4062
|
-
function
|
|
4062
|
+
function fs({
|
|
4063
4063
|
rail: e = !0,
|
|
4064
4064
|
icon: t,
|
|
4065
4065
|
header: n,
|
|
@@ -4077,7 +4077,7 @@ function ds({
|
|
|
4077
4077
|
// Add ARIA attributes for group
|
|
4078
4078
|
r.role("group"),
|
|
4079
4079
|
r.id(i),
|
|
4080
|
-
|
|
4080
|
+
Va({
|
|
4081
4081
|
icon: t,
|
|
4082
4082
|
onClick: () => o.update((u) => !u),
|
|
4083
4083
|
// Add ARIA attributes for the toggle button
|
|
@@ -4089,17 +4089,17 @@ function ds({
|
|
|
4089
4089
|
),
|
|
4090
4090
|
content: n
|
|
4091
4091
|
}),
|
|
4092
|
-
Bt({ rail: e }, r.id(c),
|
|
4092
|
+
Bt({ rail: e }, r.id(c), sa({ open: o }, ...s))
|
|
4093
4093
|
);
|
|
4094
4094
|
}
|
|
4095
|
-
function
|
|
4095
|
+
function ps() {
|
|
4096
4096
|
return d.hr(r.class("bc-sidebar-separator"));
|
|
4097
4097
|
}
|
|
4098
|
-
function
|
|
4098
|
+
function Ba(e, t, n, a) {
|
|
4099
4099
|
const s = ["bc-tabs", `bc-tabs--${e}`, `bc-tabs--${t}`];
|
|
4100
4100
|
return n && s.push("bc-tabs--disabled"), a != null && a !== "default" && s.push(`bc-tabs--variant-${a}`), s.join(" ");
|
|
4101
4101
|
}
|
|
4102
|
-
function
|
|
4102
|
+
function Ma(e, t) {
|
|
4103
4103
|
if (e !== "filled") return "";
|
|
4104
4104
|
const n = /* @__PURE__ */ new Map(), a = ue(t, "solid", "light"), s = ue(t, "solid", "dark");
|
|
4105
4105
|
n.set("--tabs-filled-inactive-bg", a.backgroundColor), n.set("--tabs-filled-inactive-text", "var(--color-white)");
|
|
@@ -4110,7 +4110,7 @@ function Ba(e, t) {
|
|
|
4110
4110
|
const c = t === "white" || t === "black" || t === "transparent" ? "var(--color-white)" : ut(t, 400);
|
|
4111
4111
|
return n.set("--tabs-filled-active-text-dark", c), Array.from(n.entries()).map(([u, l]) => `${u}: ${l}`).join("; ");
|
|
4112
4112
|
}
|
|
4113
|
-
function
|
|
4113
|
+
function Ea(e, t, n) {
|
|
4114
4114
|
const a = ["bc-tab", `bc-tab--${e}`];
|
|
4115
4115
|
return t && a.push("bc-tab--active"), n && a.push("bc-tab--disabled"), a.join(" ");
|
|
4116
4116
|
}
|
|
@@ -4127,7 +4127,7 @@ function He(e, t, n) {
|
|
|
4127
4127
|
}
|
|
4128
4128
|
return e;
|
|
4129
4129
|
}
|
|
4130
|
-
function
|
|
4130
|
+
function bs(e) {
|
|
4131
4131
|
const {
|
|
4132
4132
|
items: t,
|
|
4133
4133
|
value: n,
|
|
@@ -4179,7 +4179,7 @@ function ps(e) {
|
|
|
4179
4179
|
c,
|
|
4180
4180
|
o
|
|
4181
4181
|
)(
|
|
4182
|
-
(v, x, w, b) =>
|
|
4182
|
+
(v, x, w, b) => Ba(
|
|
4183
4183
|
v ?? "md",
|
|
4184
4184
|
x ?? "horizontal",
|
|
4185
4185
|
w ?? !1,
|
|
@@ -4192,7 +4192,7 @@ function ps(e) {
|
|
|
4192
4192
|
o,
|
|
4193
4193
|
i
|
|
4194
4194
|
)(
|
|
4195
|
-
(v, x) =>
|
|
4195
|
+
(v, x) => Ma(v ?? "default", x ?? "primary")
|
|
4196
4196
|
)
|
|
4197
4197
|
),
|
|
4198
4198
|
// Tab list
|
|
@@ -4206,10 +4206,10 @@ function ps(e) {
|
|
|
4206
4206
|
p ? E.label(p) : F(),
|
|
4207
4207
|
A.keydown(y),
|
|
4208
4208
|
...t.map((v, x) => {
|
|
4209
|
-
const w = I(n)((
|
|
4209
|
+
const w = I(n)(($) => $ === v.key), b = I(
|
|
4210
4210
|
c,
|
|
4211
4211
|
v.disabled
|
|
4212
|
-
)((
|
|
4212
|
+
)(($, D) => $ || D), f = `${g}-tab-${v.key}`, C = `${g}-panel-${v.key}`;
|
|
4213
4213
|
return d.button(
|
|
4214
4214
|
r.type("button"),
|
|
4215
4215
|
r.class(
|
|
@@ -4218,10 +4218,10 @@ function ps(e) {
|
|
|
4218
4218
|
w,
|
|
4219
4219
|
b
|
|
4220
4220
|
)(
|
|
4221
|
-
(
|
|
4222
|
-
|
|
4221
|
+
($, D, _) => Ea(
|
|
4222
|
+
$ ?? "md",
|
|
4223
4223
|
D ?? !1,
|
|
4224
|
-
|
|
4224
|
+
_ ?? !1
|
|
4225
4225
|
)
|
|
4226
4226
|
)
|
|
4227
4227
|
),
|
|
@@ -4231,7 +4231,7 @@ function ps(e) {
|
|
|
4231
4231
|
I(
|
|
4232
4232
|
w,
|
|
4233
4233
|
k
|
|
4234
|
-
)((
|
|
4234
|
+
)(($, D) => $ || D === x ? 0 : -1)
|
|
4235
4235
|
),
|
|
4236
4236
|
E.selected(w),
|
|
4237
4237
|
E.controls(C),
|
|
@@ -4239,8 +4239,8 @@ function ps(e) {
|
|
|
4239
4239
|
r.disabled(b),
|
|
4240
4240
|
lt["tab-index"](String(x)),
|
|
4241
4241
|
v.ariaLabel ? E.label(v.ariaLabel) : F(),
|
|
4242
|
-
A.click((
|
|
4243
|
-
|
|
4242
|
+
A.click(($) => {
|
|
4243
|
+
$.preventDefault(), h.get(v.disabled ?? !1) || h.get(c) || (a?.(v.key), k.set(x));
|
|
4244
4244
|
}),
|
|
4245
4245
|
A.focus(() => {
|
|
4246
4246
|
k.set(x);
|
|
@@ -4269,7 +4269,7 @@ function ps(e) {
|
|
|
4269
4269
|
)
|
|
4270
4270
|
);
|
|
4271
4271
|
}
|
|
4272
|
-
function
|
|
4272
|
+
function gs(e) {
|
|
4273
4273
|
return zt((t, n) => {
|
|
4274
4274
|
let a = n;
|
|
4275
4275
|
const s = () => a();
|
|
@@ -4288,16 +4288,16 @@ function bs(e) {
|
|
|
4288
4288
|
} = c;
|
|
4289
4289
|
a = n;
|
|
4290
4290
|
const b = Z("capturing");
|
|
4291
|
-
h.on(p, (
|
|
4292
|
-
b.set(
|
|
4291
|
+
h.on(p, ($) => {
|
|
4292
|
+
b.set($ ? "capturing" : "non-capturing");
|
|
4293
4293
|
});
|
|
4294
4294
|
const f = I(
|
|
4295
4295
|
v != null,
|
|
4296
4296
|
g
|
|
4297
|
-
)((
|
|
4297
|
+
)(($, D) => $ || D), C = ne(($) => {
|
|
4298
4298
|
const D = Fe({
|
|
4299
4299
|
initialStatus: "closed",
|
|
4300
|
-
element:
|
|
4300
|
+
element: $
|
|
4301
4301
|
});
|
|
4302
4302
|
D.listenOnClosed(() => {
|
|
4303
4303
|
n();
|
|
@@ -4337,7 +4337,7 @@ function bs(e) {
|
|
|
4337
4337
|
A.mousedown((B) => B.stopPropagation()),
|
|
4338
4338
|
// Prevent overlay click-outside when clicking drawer content
|
|
4339
4339
|
// Drawer content container
|
|
4340
|
-
Ft(f, (B) =>
|
|
4340
|
+
Ft(f, (B) => _t(B ? {
|
|
4341
4341
|
header: d.div(
|
|
4342
4342
|
r.class("bc-drawer__header"),
|
|
4343
4343
|
d.div(r.id(V), v),
|
|
@@ -4386,7 +4386,7 @@ function bs(e) {
|
|
|
4386
4386
|
});
|
|
4387
4387
|
});
|
|
4388
4388
|
}
|
|
4389
|
-
function
|
|
4389
|
+
function Oa(e) {
|
|
4390
4390
|
const t = {
|
|
4391
4391
|
up: "M0 16 L8 10 L16 16 Z",
|
|
4392
4392
|
down: "M0 0 L8 6 L16 0 Z",
|
|
@@ -4398,7 +4398,7 @@ function Ea(e) {
|
|
|
4398
4398
|
mt.path(ht.d(e.map((n) => t[n])))
|
|
4399
4399
|
);
|
|
4400
4400
|
}
|
|
4401
|
-
function
|
|
4401
|
+
function ms(e) {
|
|
4402
4402
|
const {
|
|
4403
4403
|
content: t,
|
|
4404
4404
|
placement: n = "top",
|
|
@@ -4439,13 +4439,13 @@ function gs(e) {
|
|
|
4439
4439
|
S.transform(
|
|
4440
4440
|
l.map(({ x: g, y: k }) => g == null && k == null ? "" : g != null ? `translate(${g}px, 0)` : `translate(0, ${k}px)`)
|
|
4441
4441
|
),
|
|
4442
|
-
|
|
4442
|
+
Oa(p)
|
|
4443
4443
|
);
|
|
4444
4444
|
}
|
|
4445
4445
|
})
|
|
4446
4446
|
);
|
|
4447
4447
|
}
|
|
4448
|
-
function
|
|
4448
|
+
function Na(e, t, n, a, s, o) {
|
|
4449
4449
|
const i = ue(e, "solid", "light"), c = ue(e, "solid", "dark");
|
|
4450
4450
|
return [
|
|
4451
4451
|
`--ribbon-bg: ${i.backgroundColor}`,
|
|
@@ -4462,7 +4462,7 @@ function Oa(e, t, n, a, s, o) {
|
|
|
4462
4462
|
function nt(e) {
|
|
4463
4463
|
return e == null ? null : typeof e == "number" ? `${e}px` : e;
|
|
4464
4464
|
}
|
|
4465
|
-
function
|
|
4465
|
+
function hs({
|
|
4466
4466
|
color: e = "primary",
|
|
4467
4467
|
class: t,
|
|
4468
4468
|
inset: n = 0,
|
|
@@ -4482,14 +4482,14 @@ function ms({
|
|
|
4482
4482
|
s,
|
|
4483
4483
|
o,
|
|
4484
4484
|
i
|
|
4485
|
-
)(
|
|
4485
|
+
)(Na)
|
|
4486
4486
|
),
|
|
4487
4487
|
// Allow external classes
|
|
4488
4488
|
r.class(t),
|
|
4489
4489
|
...c
|
|
4490
4490
|
);
|
|
4491
4491
|
}
|
|
4492
|
-
function
|
|
4492
|
+
function vs(e, t) {
|
|
4493
4493
|
const {
|
|
4494
4494
|
dismissable: n = !0,
|
|
4495
4495
|
showCloseButton: a = !0,
|
|
@@ -4559,14 +4559,14 @@ function hs(e, t) {
|
|
|
4559
4559
|
});
|
|
4560
4560
|
});
|
|
4561
4561
|
}
|
|
4562
|
-
function
|
|
4562
|
+
function Fa(e, t) {
|
|
4563
4563
|
const n = ["bc-announcement-bar"];
|
|
4564
4564
|
return e && n.push("bc-announcement-bar--dismissible"), t && t.length > 0 && n.push(t), n.join(" ");
|
|
4565
4565
|
}
|
|
4566
|
-
function
|
|
4566
|
+
function Ra(e) {
|
|
4567
4567
|
return `--announcement-bar-bg-color: ${ut(e, 600)}`;
|
|
4568
4568
|
}
|
|
4569
|
-
function
|
|
4569
|
+
function ys({
|
|
4570
4570
|
color: e = "primary",
|
|
4571
4571
|
icon: t,
|
|
4572
4572
|
closable: n = !1,
|
|
@@ -4584,10 +4584,10 @@ function vs({
|
|
|
4584
4584
|
I(
|
|
4585
4585
|
c,
|
|
4586
4586
|
s
|
|
4587
|
-
)((u, l) =>
|
|
4587
|
+
)((u, l) => Fa(u, l))
|
|
4588
4588
|
),
|
|
4589
4589
|
r.style(
|
|
4590
|
-
h.map(e, (u) =>
|
|
4590
|
+
h.map(e, (u) => Ra(u))
|
|
4591
4591
|
),
|
|
4592
4592
|
d.div(
|
|
4593
4593
|
r.class("bc-announcement-bar__content"),
|
|
@@ -4620,11 +4620,11 @@ function vs({
|
|
|
4620
4620
|
);
|
|
4621
4621
|
});
|
|
4622
4622
|
}
|
|
4623
|
-
function
|
|
4623
|
+
function Ua(e) {
|
|
4624
4624
|
return /^(https?:\/\/)?(www\.)?(youtube\.com|youtu\.be)\//i.test(e);
|
|
4625
4625
|
}
|
|
4626
4626
|
let We = null;
|
|
4627
|
-
function
|
|
4627
|
+
function ja() {
|
|
4628
4628
|
return typeof window < "u" && window.YT?.Player ? Promise.resolve(window.YT) : We || (We = new Promise((e) => {
|
|
4629
4629
|
const t = window.onYouTubeIframeAPIReady;
|
|
4630
4630
|
window.onYouTubeIframeAPIReady = () => {
|
|
@@ -4634,7 +4634,7 @@ function Ua() {
|
|
|
4634
4634
|
n.src = "https://www.youtube.com/iframe_api", n.async = !0, document.head.appendChild(n);
|
|
4635
4635
|
}), We);
|
|
4636
4636
|
}
|
|
4637
|
-
function
|
|
4637
|
+
function ws(e) {
|
|
4638
4638
|
const {
|
|
4639
4639
|
url: t,
|
|
4640
4640
|
playing: n = !1,
|
|
@@ -4656,9 +4656,9 @@ function ys(e) {
|
|
|
4656
4656
|
onPause: b,
|
|
4657
4657
|
onBuffer: f,
|
|
4658
4658
|
onBufferEnd: C,
|
|
4659
|
-
onEnded:
|
|
4659
|
+
onEnded: $,
|
|
4660
4660
|
onError: D,
|
|
4661
|
-
onDuration:
|
|
4661
|
+
onDuration: _,
|
|
4662
4662
|
onSeek: T,
|
|
4663
4663
|
onProgress: V,
|
|
4664
4664
|
onPlaybackRateChange: O,
|
|
@@ -4687,7 +4687,7 @@ function ys(e) {
|
|
|
4687
4687
|
const q = [];
|
|
4688
4688
|
q.push(
|
|
4689
4689
|
h.on(t, (P) => {
|
|
4690
|
-
typeof P == "string" && P.length > 0 &&
|
|
4690
|
+
typeof P == "string" && P.length > 0 && Ua(P) ? H.value = "youtube" : (H.value = "file", R && de());
|
|
4691
4691
|
})
|
|
4692
4692
|
);
|
|
4693
4693
|
async function de() {
|
|
@@ -4709,11 +4709,11 @@ function ys(e) {
|
|
|
4709
4709
|
if (typeof window > "u") return;
|
|
4710
4710
|
try {
|
|
4711
4711
|
const J = await import("./hls.light.min-BHW1Af0w.js").then((xe) => xe.h), Oe = J;
|
|
4712
|
-
let
|
|
4713
|
-
for (let xe = 0; xe < 3 && (typeof
|
|
4714
|
-
|
|
4715
|
-
if (typeof
|
|
4716
|
-
const xe =
|
|
4712
|
+
let _e = Oe.default ?? Oe.Hls ?? J;
|
|
4713
|
+
for (let xe = 0; xe < 3 && (typeof _e == "object" && _e != null && "default" in _e); xe++)
|
|
4714
|
+
_e = _e.default;
|
|
4715
|
+
if (typeof _e == "function") {
|
|
4716
|
+
const xe = _e;
|
|
4717
4717
|
if (typeof xe.isSupported == "function" && xe.isSupported()) {
|
|
4718
4718
|
P.removeAttribute("src");
|
|
4719
4719
|
try {
|
|
@@ -4804,17 +4804,17 @@ function ys(e) {
|
|
|
4804
4804
|
A.waiting(() => f?.()),
|
|
4805
4805
|
A.canplay(() => {
|
|
4806
4806
|
const P = R?.duration;
|
|
4807
|
-
P != null && Number.isFinite(P) &&
|
|
4807
|
+
P != null && Number.isFinite(P) && _?.(P);
|
|
4808
4808
|
}),
|
|
4809
|
-
A.ended(() =>
|
|
4809
|
+
A.ended(() => $?.()),
|
|
4810
4810
|
A.error((P) => {
|
|
4811
4811
|
oe || D?.(P);
|
|
4812
4812
|
})
|
|
4813
4813
|
);
|
|
4814
4814
|
let Ae = null, z = null, Ie = null;
|
|
4815
|
-
function
|
|
4815
|
+
function $e() {
|
|
4816
4816
|
const P = h.get(t);
|
|
4817
|
-
!Ae || typeof P != "string" ||
|
|
4817
|
+
!Ae || typeof P != "string" || ja().then((M) => {
|
|
4818
4818
|
const j = fn(P);
|
|
4819
4819
|
if (j) {
|
|
4820
4820
|
if (z) {
|
|
@@ -4823,7 +4823,7 @@ function ys(e) {
|
|
|
4823
4823
|
}
|
|
4824
4824
|
z = new M.Player(Ae, {
|
|
4825
4825
|
videoId: j,
|
|
4826
|
-
playerVars:
|
|
4826
|
+
playerVars: Ha(e),
|
|
4827
4827
|
events: {
|
|
4828
4828
|
onReady: () => {
|
|
4829
4829
|
v?.(), L(), h.get(n) && x?.(), Ke();
|
|
@@ -4840,7 +4840,7 @@ function ys(e) {
|
|
|
4840
4840
|
f?.();
|
|
4841
4841
|
break;
|
|
4842
4842
|
case M.PlayerState.ENDED:
|
|
4843
|
-
|
|
4843
|
+
$?.();
|
|
4844
4844
|
break;
|
|
4845
4845
|
}
|
|
4846
4846
|
},
|
|
@@ -4890,12 +4890,12 @@ function ys(e) {
|
|
|
4890
4890
|
}
|
|
4891
4891
|
const N = d.div(
|
|
4892
4892
|
ne((P) => {
|
|
4893
|
-
Ae = P,
|
|
4893
|
+
Ae = P, $e(), v?.();
|
|
4894
4894
|
})
|
|
4895
4895
|
);
|
|
4896
4896
|
q.push(
|
|
4897
4897
|
h.on(t, () => {
|
|
4898
|
-
H.value === "youtube" &&
|
|
4898
|
+
H.value === "youtube" && $e();
|
|
4899
4899
|
})
|
|
4900
4900
|
), q.push(
|
|
4901
4901
|
h.on(n, () => {
|
|
@@ -4973,7 +4973,7 @@ function fn(e) {
|
|
|
4973
4973
|
const a = /youtube\.com\/embed\/([^?&#]+)/.exec(e);
|
|
4974
4974
|
return a ? a[1] : null;
|
|
4975
4975
|
}
|
|
4976
|
-
function
|
|
4976
|
+
function Ha(e) {
|
|
4977
4977
|
const t = {
|
|
4978
4978
|
autoplay: h.get(e.playing) ?? !1 ? 1 : 0,
|
|
4979
4979
|
controls: h.get(e.controls) ?? !1 ? 1 : 0,
|
|
@@ -4983,35 +4983,35 @@ function ja(e) {
|
|
|
4983
4983
|
}, n = h.get(e.loop) ?? !1, a = h.get(e.url), s = typeof a == "string" ? fn(a) : null;
|
|
4984
4984
|
return n && s && (t.loop = 1, t.playlist = s), t;
|
|
4985
4985
|
}
|
|
4986
|
-
const gt = "https://cdn.jsdelivr.net/npm/pdfjs-dist@5.4.394/",
|
|
4986
|
+
const gt = "https://cdn.jsdelivr.net/npm/pdfjs-dist@5.4.394/", Wa = (e) => {
|
|
4987
4987
|
if (!e || typeof e != "object") return !1;
|
|
4988
4988
|
const t = e;
|
|
4989
4989
|
return !!(t.getDocument && typeof t.getDocument == "function");
|
|
4990
4990
|
};
|
|
4991
|
-
function
|
|
4991
|
+
function za() {
|
|
4992
4992
|
if (typeof window > "u") return;
|
|
4993
4993
|
const t = window.pdfjsLib;
|
|
4994
4994
|
t?.GlobalWorkerOptions?.workerSrc || t?.GlobalWorkerOptions && (t.GlobalWorkerOptions.workerSrc = `${gt}build/pdf.worker.min.mjs`);
|
|
4995
4995
|
}
|
|
4996
|
-
const
|
|
4996
|
+
const Ya = (e) => new Promise((t, n) => {
|
|
4997
4997
|
const a = document.createElement("script");
|
|
4998
4998
|
a.type = "module", a.src = e, a.onload = () => t(), a.onerror = () => n(new Error(`Failed to load script: ${e}`)), document.head.appendChild(a);
|
|
4999
|
-
}),
|
|
4999
|
+
}), Ga = async () => {
|
|
5000
5000
|
const e = window;
|
|
5001
|
-
if (e.pdfjsLib &&
|
|
5002
|
-
if (await
|
|
5001
|
+
if (e.pdfjsLib && Wa(e.pdfjsLib)) return e.pdfjsLib;
|
|
5002
|
+
if (await Ya(`${gt}build/pdf.min.mjs`), await new Promise((t) => setTimeout(t, 100)), !e.pdfjsLib)
|
|
5003
5003
|
throw new Error("PDF.js failed to initialize after loading");
|
|
5004
5004
|
return e.pdfjsLib;
|
|
5005
5005
|
};
|
|
5006
5006
|
let at = null, Mt = !1;
|
|
5007
|
-
async function
|
|
5007
|
+
async function Za() {
|
|
5008
5008
|
if (at)
|
|
5009
5009
|
return at;
|
|
5010
|
-
!Mt && typeof window < "u" && (
|
|
5011
|
-
const e = await
|
|
5010
|
+
!Mt && typeof window < "u" && (za(), Mt = !0);
|
|
5011
|
+
const e = await Ga();
|
|
5012
5012
|
return at = e, e.GlobalWorkerOptions && (e.GlobalWorkerOptions.workerSrc = `${gt}build/pdf.worker.min.mjs`), e;
|
|
5013
5013
|
}
|
|
5014
|
-
function
|
|
5014
|
+
function qa(e, t) {
|
|
5015
5015
|
if (e.byteLength !== t.byteLength) return !1;
|
|
5016
5016
|
const n = e.byteLength, a = new DataView(e.buffer, e.byteOffset, n), s = new DataView(t.buffer, t.byteOffset, n), o = n >>> 2, i = n & 3;
|
|
5017
5017
|
for (let c = 0; c < o; c++)
|
|
@@ -5020,7 +5020,7 @@ function Za(e, t) {
|
|
|
5020
5020
|
if (e[c] !== t[c]) return !1;
|
|
5021
5021
|
return !0;
|
|
5022
5022
|
}
|
|
5023
|
-
function
|
|
5023
|
+
function Ja(e, t) {
|
|
5024
5024
|
if (e.byteLength !== t.byteLength) return !1;
|
|
5025
5025
|
const n = e.byteLength, a = n >>> 2, s = new Uint32Array(e, 0, a), o = new Uint32Array(t, 0, a);
|
|
5026
5026
|
for (let l = 0; l < a; l++)
|
|
@@ -5030,9 +5030,9 @@ function qa(e, t) {
|
|
|
5030
5030
|
if (c[l] !== u[l]) return !1;
|
|
5031
5031
|
return !0;
|
|
5032
5032
|
}
|
|
5033
|
-
function
|
|
5033
|
+
function Ka(e, t) {
|
|
5034
5034
|
try {
|
|
5035
|
-
return typeof e == "string" && typeof t == "string" ? e === t : e instanceof Uint8Array && t instanceof Uint8Array ?
|
|
5035
|
+
return typeof e == "string" && typeof t == "string" ? e === t : e instanceof Uint8Array && t instanceof Uint8Array ? qa(e, t) : e instanceof ArrayBuffer && t instanceof ArrayBuffer ? Ja(e, t) : !1;
|
|
5036
5036
|
} catch {
|
|
5037
5037
|
return !1;
|
|
5038
5038
|
}
|
|
@@ -5040,7 +5040,7 @@ function Ja(e, t) {
|
|
|
5040
5040
|
function rt(e) {
|
|
5041
5041
|
return typeof e == "string" ? e : e instanceof Uint8Array ? e.slice() : e instanceof ArrayBuffer ? e.slice(0) : e;
|
|
5042
5042
|
}
|
|
5043
|
-
function
|
|
5043
|
+
function xs({
|
|
5044
5044
|
source: e,
|
|
5045
5045
|
page: t = 1,
|
|
5046
5046
|
fit: n = "width",
|
|
@@ -5052,7 +5052,7 @@ function ws({
|
|
|
5052
5052
|
onPageChange: u,
|
|
5053
5053
|
onLoadComplete: l
|
|
5054
5054
|
}, ...p) {
|
|
5055
|
-
const g =
|
|
5055
|
+
const g = Za();
|
|
5056
5056
|
let k = rt(
|
|
5057
5057
|
h.get(e)
|
|
5058
5058
|
), m = null, y = h.get(t);
|
|
@@ -5062,9 +5062,12 @@ function ws({
|
|
|
5062
5062
|
m != null && (m.destroy(), m = null);
|
|
5063
5063
|
}),
|
|
5064
5064
|
Be((x) => {
|
|
5065
|
-
const w =
|
|
5066
|
-
(
|
|
5067
|
-
|
|
5065
|
+
const w = xn(
|
|
5066
|
+
x.map(
|
|
5067
|
+
(b) => b == null ? null : { width: b.width, height: b.height },
|
|
5068
|
+
(b, f) => b != null && f != null && b.width === f.width && b.height === f.height
|
|
5069
|
+
),
|
|
5070
|
+
100
|
|
5068
5071
|
);
|
|
5069
5072
|
return Re(
|
|
5070
5073
|
w,
|
|
@@ -5079,12 +5082,12 @@ function ws({
|
|
|
5079
5082
|
i,
|
|
5080
5083
|
c,
|
|
5081
5084
|
b
|
|
5082
|
-
)((f, C,
|
|
5085
|
+
)((f, C, $, D, _, T, V, O, B) => ({
|
|
5083
5086
|
source: f,
|
|
5084
5087
|
page: C,
|
|
5085
|
-
fit:
|
|
5088
|
+
fit: $,
|
|
5086
5089
|
scale: D,
|
|
5087
|
-
rotation:
|
|
5090
|
+
rotation: _,
|
|
5088
5091
|
quality: T,
|
|
5089
5092
|
renderTextLayer: V,
|
|
5090
5093
|
renderAnnotationLayer: O,
|
|
@@ -5092,8 +5095,8 @@ function ws({
|
|
|
5092
5095
|
containerHeight: B.height
|
|
5093
5096
|
})),
|
|
5094
5097
|
load: async ({ request: f }) => {
|
|
5095
|
-
const C = await g,
|
|
5096
|
-
(m == null || !
|
|
5098
|
+
const C = await g, $ = f.source, D = rt($), _ = rt($);
|
|
5099
|
+
(m == null || !Ka(k, D)) && (m != null && (m.destroy(), m = null), k = D, m = await C.getDocument(_).promise, l?.({ numPages: m.numPages }));
|
|
5097
5100
|
const T = f.page < 1 || f.page > m.numPages ? 1 : f.page;
|
|
5098
5101
|
u != null && T !== y && (y = T, u(T));
|
|
5099
5102
|
const V = await m.getPage(T);
|
|
@@ -5269,18 +5272,18 @@ function ws({
|
|
|
5269
5272
|
d.div(r.class("bc-pdf-page-viewer__annotation-layer"))
|
|
5270
5273
|
),
|
|
5271
5274
|
ne((C) => {
|
|
5272
|
-
const
|
|
5275
|
+
const $ = C.querySelector(
|
|
5273
5276
|
".bc-pdf-page-viewer__canvas"
|
|
5274
5277
|
), D = C.querySelector(
|
|
5275
5278
|
".bc-pdf-page-viewer__text-layer"
|
|
5276
|
-
),
|
|
5279
|
+
), _ = C.querySelector(
|
|
5277
5280
|
".bc-pdf-page-viewer__annotation-layer"
|
|
5278
5281
|
);
|
|
5279
5282
|
return h.on(f, async (T) => {
|
|
5280
5283
|
await T.render(
|
|
5281
|
-
|
|
5284
|
+
$,
|
|
5282
5285
|
D,
|
|
5283
|
-
|
|
5286
|
+
_
|
|
5284
5287
|
);
|
|
5285
5288
|
}), W;
|
|
5286
5289
|
})
|
|
@@ -5291,361 +5294,361 @@ function ws({
|
|
|
5291
5294
|
));
|
|
5292
5295
|
}
|
|
5293
5296
|
export {
|
|
5294
|
-
|
|
5295
|
-
|
|
5297
|
+
gr as ActionCard,
|
|
5298
|
+
$n as AnimatedToggle,
|
|
5296
5299
|
st as AnimatedToggleClass,
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5300
|
+
ys as AnnouncementBar,
|
|
5301
|
+
vr as AppShell,
|
|
5302
|
+
Hn as AppearanceSelector,
|
|
5303
|
+
Lo as ArrayController,
|
|
5304
|
+
ur as Badge,
|
|
5305
|
+
hi as Base64Input,
|
|
5306
|
+
vi as Base64sInput,
|
|
5307
|
+
da as BaseComboboxControl,
|
|
5305
5308
|
_r as BaseComboboxTagsControl,
|
|
5306
5309
|
Ht as BaseControl,
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5310
|
+
ca as BaseDropdownControl,
|
|
5311
|
+
yi as BaseListControl,
|
|
5312
|
+
Ao as BaseMappedControl,
|
|
5313
|
+
wi as BaseNativeSelectControl,
|
|
5314
|
+
Ir as BaseSelectTagsControl,
|
|
5315
|
+
ws as BaseVideoPlayer,
|
|
5316
|
+
rs as BeatUI,
|
|
5314
5317
|
ie as BeatUII18n,
|
|
5315
|
-
|
|
5316
|
-
|
|
5318
|
+
Mr as BigintInput,
|
|
5319
|
+
ri as BooleanValidator,
|
|
5317
5320
|
yt as Button,
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5321
|
+
us as ButtonLink,
|
|
5322
|
+
xi as Card,
|
|
5323
|
+
wr as Center,
|
|
5324
|
+
yr as CenterH,
|
|
5325
|
+
Vo as CheckboxInput,
|
|
5323
5326
|
on as Chips,
|
|
5324
5327
|
Ue as CloseButton,
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5328
|
+
sa as Collapse,
|
|
5329
|
+
fs as CollapsibleSidebarGroup,
|
|
5330
|
+
ma as ColorController,
|
|
5331
|
+
br as ColorInput,
|
|
5332
|
+
ki as ColorSwatchInput,
|
|
5333
|
+
Cr as ComboboxControl,
|
|
5334
|
+
ua as ComboboxInput,
|
|
5335
|
+
Pr as ComboboxTagsControl,
|
|
5333
5336
|
un as ComboboxTagsInput,
|
|
5334
5337
|
pe as CommonInputAttributes,
|
|
5335
|
-
|
|
5338
|
+
si as ConfirmModal,
|
|
5336
5339
|
Wt as Control,
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5340
|
+
In as Controller,
|
|
5341
|
+
Bo as DangerLabel,
|
|
5342
|
+
Dr as DateInput,
|
|
5343
|
+
Lr as DateTimeInput,
|
|
5344
|
+
gs as Drawer,
|
|
5342
5345
|
Kt as DropdownBase,
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5346
|
+
Sr as DropdownControl,
|
|
5347
|
+
ia as DropdownInput,
|
|
5348
|
+
Qr as DurationInput,
|
|
5349
|
+
Si as EditableText,
|
|
5350
|
+
Mo as EmailInput,
|
|
5351
|
+
Eo as EmphasisLabel,
|
|
5352
|
+
Xr as EnsureControl,
|
|
5353
|
+
Ln as Expando,
|
|
5354
|
+
Ar as FileInput,
|
|
5355
|
+
An as FilesInput,
|
|
5353
5356
|
Ze as Flyout,
|
|
5354
5357
|
_n as FocusTrap,
|
|
5355
|
-
|
|
5358
|
+
es as FormStatus,
|
|
5356
5359
|
Gt as Group,
|
|
5357
5360
|
ee as Icon,
|
|
5358
5361
|
ce as InputContainer,
|
|
5359
5362
|
Ye as InputIcon,
|
|
5360
5363
|
dt as InputWrapper,
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5364
|
+
Wr as InstantInput,
|
|
5365
|
+
Is as LOGICAL_PROPERTY_MAP,
|
|
5366
|
+
Oo as Label,
|
|
5367
|
+
Vr as LazyNativeSelect,
|
|
5368
|
+
vs as Lightbox,
|
|
5369
|
+
Ta as Link,
|
|
5370
|
+
xc as LinkPortal,
|
|
5371
|
+
Ci as ListControl,
|
|
5372
|
+
Ti as ListInput,
|
|
5370
5373
|
ct as Locale,
|
|
5371
|
-
|
|
5372
|
-
|
|
5374
|
+
as as LocaleSelector,
|
|
5375
|
+
No as MappedControl,
|
|
5373
5376
|
Ee as MaskInput,
|
|
5374
5377
|
en as Menu,
|
|
5375
|
-
|
|
5378
|
+
Tr as MenuItem,
|
|
5376
5379
|
tn as MenuSeparator,
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
+
li as Modal,
|
|
5381
|
+
Fo as MutedLabel,
|
|
5382
|
+
ss as NativePdfPreview,
|
|
5380
5383
|
Zt as NativeSelect,
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5384
|
+
Ii as NativeSelectControl,
|
|
5385
|
+
cs as NavigationLink,
|
|
5386
|
+
xr as NineSliceScrollView,
|
|
5387
|
+
Ro as Notice,
|
|
5388
|
+
wa as Notification,
|
|
5386
5389
|
dn as NotificationProvider,
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5390
|
+
ka as NotificationService,
|
|
5391
|
+
Sa as NotificationViewport,
|
|
5392
|
+
Er as NullableBigintInput,
|
|
5393
|
+
$i as NullableDateInput,
|
|
5391
5394
|
_i as NullableDateTimeInput,
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5395
|
+
Pi as NullableDurationInput,
|
|
5396
|
+
Di as NullableEmailInput,
|
|
5397
|
+
zr as NullableInstantInput,
|
|
5398
|
+
Br as NullableMaskInput,
|
|
5399
|
+
Li as NullableNumberInput,
|
|
5400
|
+
Ai as NullablePasswordInput,
|
|
5401
|
+
Fr as NullablePlainDateInput,
|
|
5402
|
+
Hr as NullablePlainDateTimeInput,
|
|
5403
|
+
Kr as NullablePlainMonthDayInput,
|
|
5404
|
+
Ur as NullablePlainTimeInput,
|
|
5405
|
+
qr as NullablePlainYearMonthInput,
|
|
5406
|
+
Vi as NullableRatingInput,
|
|
5407
|
+
Bi as NullableSliderInput,
|
|
5408
|
+
Mi as NullableTextArea,
|
|
5409
|
+
Ei as NullableTextInput,
|
|
5410
|
+
Oi as NullableUUIDInput,
|
|
5411
|
+
Ni as NullableUrlInput,
|
|
5412
|
+
Gr as NullableZonedDateTimeInput,
|
|
5413
|
+
Fi as NumberInput,
|
|
5414
|
+
Uo as ObjectController,
|
|
5415
|
+
oi as ObjectValidator,
|
|
5416
|
+
is as OpenGraph,
|
|
5414
5417
|
Ce as Option,
|
|
5415
5418
|
zt as Overlay,
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5419
|
+
ls as PDFJSPreview,
|
|
5420
|
+
dr as PageDropZone,
|
|
5421
|
+
jo as PasswordInput,
|
|
5422
|
+
xs as PdfPageViewer,
|
|
5423
|
+
Nr as PlainDateInput,
|
|
5424
|
+
jr as PlainDateTimeInput,
|
|
5425
|
+
Jr as PlainMonthDayInput,
|
|
5426
|
+
Rr as PlainTimeInput,
|
|
5427
|
+
Zr as PlainYearMonthInput,
|
|
5428
|
+
Ri as RatingInput,
|
|
5429
|
+
Ho as RequiredSymbol,
|
|
5430
|
+
hs as Ribbon,
|
|
5431
|
+
_t as ScrollablePanel,
|
|
5432
|
+
Dn as SegmentedInput,
|
|
5433
|
+
$r as SelectTagsControl,
|
|
5431
5434
|
cn as SelectTagsInput,
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5435
|
+
ds as Sidebar,
|
|
5436
|
+
La as SidebarActiveLink,
|
|
5437
|
+
Aa as SidebarClickLink,
|
|
5438
|
+
Pa as SidebarContext,
|
|
5436
5439
|
Bt as SidebarGroup,
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5440
|
+
Va as SidebarLink,
|
|
5441
|
+
ps as SidebarSeparator,
|
|
5442
|
+
Da as SidebarUrlLink,
|
|
5443
|
+
kr as Sink,
|
|
5444
|
+
Ui as SliderInput,
|
|
5442
5445
|
ft as Stack,
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5446
|
+
pr as StandaloneAppearanceSelector,
|
|
5447
|
+
ii as StringValidator,
|
|
5448
|
+
os as StylePortal,
|
|
5449
|
+
ji as Switch,
|
|
5450
|
+
fr as Table,
|
|
5451
|
+
bs as Tabs,
|
|
5449
5452
|
qt as Tag,
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
+
Or as TagsInput,
|
|
5454
|
+
Hi as TextArea,
|
|
5455
|
+
$s as TextInput,
|
|
5453
5456
|
Yt as Theme,
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5457
|
+
Pn as ThemeAppearance,
|
|
5458
|
+
Sc as Toolbar,
|
|
5459
|
+
Cc as ToolbarButton,
|
|
5460
|
+
Tc as ToolbarDivider,
|
|
5461
|
+
Ic as ToolbarGroup,
|
|
5462
|
+
$c as ToolbarSpacer,
|
|
5463
|
+
ms as Tooltip,
|
|
5464
|
+
Wi as UUIDInput,
|
|
5465
|
+
zi as UnionController,
|
|
5466
|
+
Yi as UnstyledDropZone,
|
|
5467
|
+
Gi as UrlInput,
|
|
5468
|
+
Cs as Use,
|
|
5469
|
+
Qn as WithBeatUIBreakpoint,
|
|
5470
|
+
hr as WithBeatUIElementBreakpoint,
|
|
5468
5471
|
Jt as WithBreakpoint,
|
|
5469
5472
|
ve as WithTemporal,
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5473
|
+
Yr as ZonedDateTimeInput,
|
|
5474
|
+
Ws as backgroundConfig,
|
|
5475
|
+
ol as baseSpacing,
|
|
5476
|
+
il as beatuiPreset,
|
|
5477
|
+
zs as bgColors,
|
|
5478
|
+
ci as boolean,
|
|
5479
|
+
Ys as borderColors,
|
|
5480
|
+
cl as breakpoints,
|
|
5481
|
+
ul as changeFontSize,
|
|
5482
|
+
ns as colorInputOptionsFromController,
|
|
5483
|
+
Gs as colorShades,
|
|
5484
|
+
Zs as colors,
|
|
5485
|
+
Jn as compareBreakpoint,
|
|
5486
|
+
Wo as connectCommonAttributes,
|
|
5487
|
+
zo as connectNumberInput,
|
|
5488
|
+
Yo as connectStringInput,
|
|
5489
|
+
Go as convertStandardSchemaIssues,
|
|
5490
|
+
Zo as convertStandardSchemaPathToPath,
|
|
5491
|
+
dl as createBeatuiPreset,
|
|
5492
|
+
ts as createColorController,
|
|
5490
5493
|
bt as createLocationMatcher,
|
|
5491
|
-
|
|
5494
|
+
ui as createStandardSchema,
|
|
5492
5495
|
_s as defaultLocale,
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5496
|
+
Ps as defaultMessages,
|
|
5497
|
+
ir as delaySignal,
|
|
5498
|
+
Zi as emitExpando,
|
|
5499
|
+
qi as emitOptionExpando,
|
|
5497
5500
|
kt as emptyToNull,
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5501
|
+
Ji as ensureTemporal,
|
|
5502
|
+
Ki as fileToBase64,
|
|
5503
|
+
mr as findBreakpoint,
|
|
5504
|
+
fl as fontFamily,
|
|
5505
|
+
pl as fontSize,
|
|
5506
|
+
bl as fontWeight,
|
|
5507
|
+
Qi as formatColor,
|
|
5508
|
+
Ds as formatFileSize,
|
|
5509
|
+
gl as generateAllTokenVariables,
|
|
5510
|
+
On as generateBadgeClasses,
|
|
5511
|
+
Nn as generateBadgeStyles,
|
|
5512
|
+
ml as generateBreakpointVariables,
|
|
5510
5513
|
wt as generateButtonClasses,
|
|
5511
5514
|
xt as generateButtonStyles,
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5515
|
+
qs as generateColorVariables,
|
|
5516
|
+
Js as generateCoreColorVariables,
|
|
5517
|
+
hl as generateCoreTokenVariables,
|
|
5518
|
+
vl as generateFontFamilyOverrideVariables,
|
|
5519
|
+
Ls as generateInputContainerInputClasses,
|
|
5517
5520
|
Lt as generateLinkClasses,
|
|
5518
5521
|
At as generateLinkStyles,
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5522
|
+
yl as generateMotionVariables,
|
|
5523
|
+
va as generateNotificationClasses,
|
|
5524
|
+
ya as generateNotificationStyles,
|
|
5525
|
+
wl as generateRadiusVariables,
|
|
5526
|
+
Ks as generateSemanticColorVariables,
|
|
5527
|
+
xl as generateSemanticFontVariables,
|
|
5528
|
+
kl as generateSemanticMotionVariables,
|
|
5529
|
+
Sl as generateSemanticRadiusVariables,
|
|
5530
|
+
Cl as generateSemanticShadowVariables,
|
|
5531
|
+
Tl as generateSemanticSpacingVariables,
|
|
5532
|
+
Il as generateSemanticTextShadowVariables,
|
|
5533
|
+
$l as generateSemanticTokenVariables,
|
|
5531
5534
|
_l as generateShadowVariables,
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5535
|
+
Pl as generateSpacingVariables,
|
|
5536
|
+
Dl as generateTextShadowVariables,
|
|
5537
|
+
Ll as generateTypographyVariables,
|
|
5538
|
+
Al as generateZIndexVariables,
|
|
5539
|
+
Vl as getBreakpointMediaQuery,
|
|
5540
|
+
Bl as getBreakpointVar,
|
|
5541
|
+
Ml as getBreakpointVarName,
|
|
5539
5542
|
ut as getColorVar,
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5543
|
+
Qs as getColorVarName,
|
|
5544
|
+
Xi as getContrastRatio,
|
|
5545
|
+
As as getDirectionClassName,
|
|
5546
|
+
Vs as getDirectionFromLocale,
|
|
5547
|
+
El as getFontFamilyVar,
|
|
5548
|
+
Ol as getFontFamilyVarName,
|
|
5549
|
+
Nl as getFontSizeVar,
|
|
5550
|
+
Fl as getFontSizeVarName,
|
|
5551
|
+
Rl as getFontWeightVar,
|
|
5552
|
+
Ul as getFontWeightVarName,
|
|
5553
|
+
Bs as getIconLocally,
|
|
5554
|
+
jl as getLetterSpacingVar,
|
|
5555
|
+
Hl as getLetterSpacingVarName,
|
|
5556
|
+
Wl as getLineHeightVar,
|
|
5557
|
+
zl as getLineHeightVarName,
|
|
5558
|
+
Yl as getMotionDurationVar,
|
|
5559
|
+
Gl as getMotionDurationVarName,
|
|
5560
|
+
Zl as getMotionEasingVar,
|
|
5561
|
+
ql as getMotionEasingVarName,
|
|
5562
|
+
Ms as getOppositeDirection,
|
|
5563
|
+
Es as getPhysicalProperty,
|
|
5564
|
+
Jl as getRadiusMediaQuery,
|
|
5565
|
+
Tn as getRadiusVar,
|
|
5566
|
+
Kl as getRadiusVarName,
|
|
5567
|
+
Ql as getSemanticFontVar,
|
|
5568
|
+
Xl as getSemanticFontVarName,
|
|
5569
|
+
eo as getSemanticMotionVarName,
|
|
5570
|
+
to as getSemanticRadiusVarName,
|
|
5571
|
+
no as getSemanticShadowVarName,
|
|
5572
|
+
ao as getSemanticSpacingVarName,
|
|
5573
|
+
ro as getSemanticTextShadowVarName,
|
|
5574
|
+
so as getShadowVar,
|
|
5575
|
+
lo as getShadowVarName,
|
|
5576
|
+
oo as getSpacingVar,
|
|
5577
|
+
io as getSpacingVarName,
|
|
5578
|
+
co as getTextShadowVar,
|
|
5579
|
+
uo as getTextShadowVarName,
|
|
5580
|
+
fo as getTokenValue,
|
|
5581
|
+
po as getZIndexVar,
|
|
5582
|
+
bo as getZIndexVarName,
|
|
5583
|
+
ec as hexToRgb,
|
|
5584
|
+
tc as hslToRgb,
|
|
5585
|
+
nc as hwbToRgb,
|
|
5586
|
+
cr as increaseSize,
|
|
5587
|
+
Xs as interactiveColors,
|
|
5588
|
+
Os as isIndexedDBAvailable,
|
|
5589
|
+
Ns as isRTLLocale,
|
|
5587
5590
|
_a as isUrlMatch,
|
|
5588
|
-
|
|
5591
|
+
Mn as isValidColor,
|
|
5589
5592
|
St as isValidHexColor,
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5593
|
+
ac as isValidHslColor,
|
|
5594
|
+
rc as isValidRgbColor,
|
|
5595
|
+
sc as isValidRgbaColor,
|
|
5596
|
+
go as letterSpacing,
|
|
5597
|
+
mo as lineHeight,
|
|
5598
|
+
lc as linearToSrgb,
|
|
5599
|
+
Fs as makeI18nProvider,
|
|
5600
|
+
qo as makeMapValidation,
|
|
5601
|
+
Rs as makeMessages,
|
|
5599
5602
|
Ut as makeOnBlurHandler,
|
|
5600
5603
|
jt as makeOnChangeHandler,
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5604
|
+
ho as motionDurations,
|
|
5605
|
+
vo as motionEasings,
|
|
5606
|
+
oc as mulberry32,
|
|
5607
|
+
el as normalizeColorName,
|
|
5605
5608
|
Ve as normalizeHexColor,
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5609
|
+
Vn as nullToEmpty,
|
|
5610
|
+
di as object,
|
|
5611
|
+
ic as oklchToRgb,
|
|
5612
|
+
cc as parseAnyColor,
|
|
5613
|
+
Jo as parsePath,
|
|
5614
|
+
Ko as pathToString,
|
|
5615
|
+
yo as radius,
|
|
5616
|
+
Us as resolveDirection,
|
|
5617
|
+
uc as resolveEffectiveFormat,
|
|
5618
|
+
tl as resolveSemanticColorMap,
|
|
5619
|
+
dc as rgbToHex,
|
|
5620
|
+
fc as rgbToHsl,
|
|
5621
|
+
pc as rgbToHwb,
|
|
5622
|
+
bc as rgbToOklch,
|
|
5623
|
+
nl as semanticColorNames,
|
|
5624
|
+
al as semanticColors,
|
|
5625
|
+
wo as semanticFontNames,
|
|
5626
|
+
xo as semanticMotionNames,
|
|
5627
|
+
ko as semanticRadiusNames,
|
|
5628
|
+
So as semanticShadowNames,
|
|
5629
|
+
Co as semanticSpacingNames,
|
|
5630
|
+
To as semanticTextShadowNames,
|
|
5628
5631
|
he as sessionId,
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5632
|
+
Io as shadows,
|
|
5633
|
+
$o as spacing,
|
|
5634
|
+
gc as srgbToLinear,
|
|
5635
|
+
Qo as standardSchemaResultToValidation,
|
|
5636
|
+
js as storeIconLocally,
|
|
5637
|
+
fi as string,
|
|
5638
|
+
Xo as taskToValidation,
|
|
5639
|
+
rl as textColors,
|
|
5637
5640
|
_o as textShadows,
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5641
|
+
sl as themeColorNames,
|
|
5642
|
+
mc as toRgbaString,
|
|
5643
|
+
hc as transformEmptyStringToUndefined,
|
|
5644
|
+
vc as transformNullToUndefined,
|
|
5645
|
+
yc as transformUndefinedToNull,
|
|
5643
5646
|
Fe as useAnimatedElementToggle,
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5647
|
+
pi as useAnimatedToggle,
|
|
5648
|
+
ei as useController,
|
|
5649
|
+
bi as useFocusTrap,
|
|
5650
|
+
ti as useForm,
|
|
5651
|
+
gi as useTimedToggle,
|
|
5652
|
+
ni as wrapSegment,
|
|
5653
|
+
Po as zIndex
|
|
5651
5654
|
};
|