@oomol-lab/open-flow 0.1.0-beta.10 → 0.1.0-beta.12
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/browser/DesignerIcon-ckcKnxxJ.js +2267 -0
- package/dist/browser/createResourceDialog-2pESP2wA.js +111 -0
- package/dist/browser/{dist-meg_oHVR.js → dist-BZ5PTFAs.js} +335 -335
- package/dist/browser/dist-Bmb2mZvW.js +795 -0
- package/dist/browser/{dist-Cc0y2Pli.js → dist-Ce71Szg7.js} +622 -622
- package/dist/browser/dist-DSe6KRsr.js +1224 -0
- package/dist/browser/{dist-Dg_VXC8f.js → dist-DY4qlXTK.js} +134 -134
- package/dist/browser/{esm-yhVU_KbQ.js → esm-BPZ0P6x4.js} +59 -59
- package/dist/browser/flow-authoring-node.d.ts +11 -4
- package/dist/browser/flow-authoring.d.ts +1 -1
- package/dist/browser/flow-authoring.js +5032 -275
- package/dist/browser/flow-change-schema.d.ts +6 -0
- package/dist/browser/flow-change.d.ts +21 -8
- package/dist/browser/flow-change.js +5048 -155
- package/dist/browser/{flowChanges-B2ttnaj9.js → flowChanges-CHPdBmZb.js} +4433 -3786
- package/dist/browser/{flowRunInputEditorStore-DDidwd8h.js → flowRunInputEditorStore-NPGePkvP.js} +679 -689
- package/dist/browser/flowWorkspace-BLGcgnHj.js +158418 -0
- package/dist/browser/{getPseudoElementBounds-5LArT6Xc.js → getPseudoElementBounds-Dfqo78k7.js} +691 -687
- package/dist/browser/host-conformance.d.ts +7 -0
- package/dist/browser/host-conformance.js +33 -0
- package/dist/browser/{languages-DgJehE1g.js → languages-i3Xmpt6S.js} +6 -15
- package/dist/browser/licenses.md +82 -0
- package/dist/browser/{markdownContent-DUfLdnUt.js → markdownContent-BawLYUjh.js} +23 -23
- package/dist/browser/select-Dn3vpjGC.js +6872 -0
- package/dist/browser/theme.css +34 -34
- package/dist/browser/{typeScriptSession-_TgJ_7Oq.js → typeScriptSession-BoV-FDl3.js} +257 -257
- package/dist/browser/waitNotificationInputs-BFbQUOyp.js +29 -0
- package/dist/browser/workbench-contract.d.ts +8 -2
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.js +1277 -1021
- package/dist/browser/workbenchSelect-DzF8oik9.js +435 -0
- package/dist/common/control-api-conformance.d.ts +6 -0
- package/dist/common/control-api-conformance.js +300 -85
- package/dist/common/control-api.d.ts +37 -10
- package/dist/common/control-api.js +5199 -437
- package/dist/common/control-requests.d.ts +68 -0
- package/dist/common/control-requests.js +4913 -0
- package/dist/common/engine-contract.d.ts +1 -1
- package/dist/common/flow-encoding.d.ts +3 -1
- package/dist/common/flow-encoding.js +4761 -63
- package/dist/common/flow-graph.d.ts +6 -0
- package/dist/common/flow-json.d.ts +2 -0
- package/dist/common/flow-modules.d.ts +20 -0
- package/dist/common/flow-schema.d.ts +8 -0
- package/dist/common/flow-semantics.d.ts +6 -5
- package/dist/common/flow-semantics.js +14641 -9800
- package/dist/common/integration-trigger.d.ts +1 -0
- package/dist/common/mcp-conformance.d.ts +2 -0
- package/dist/common/mcp.d.ts +545 -0
- package/dist/common/mcp.js +4964 -0
- package/dist/common/run-events.d.ts +2 -2
- package/dist/common/run-events.js +8 -15
- package/dist/common/runtime-contract.d.ts +9 -1
- package/dist/common/runtime-contract.js +137 -27
- package/dist/common/scheduler.d.ts +11 -33
- package/dist/common/scheduler.js +7241 -428
- package/dist/index.d.ts +5 -5
- package/package.json +13 -1
- package/dist/browser/DesignerIcon-DjgOMYI5.js +0 -2065
- package/dist/browser/createResourceDialog-DNBueSYZ.js +0 -505
- package/dist/browser/dist-BMRLCebL.js +0 -1893
- package/dist/browser/flowWorkspace-Dr8-Hut9.js +0 -45541
- package/dist/browser/icons-KIOgjHpD.js +0 -730
- package/dist/browser/waitNotificationInputs-BPulOxYt.js +0 -26
- package/dist/browser/workbenchSelect-CbXrdwxW.js +0 -1375
package/dist/browser/{getPseudoElementBounds-5LArT6Xc.js → getPseudoElementBounds-Dfqo78k7.js}
RENAMED
|
@@ -2302,6 +2302,7 @@ var Dn = $e("nodrag group/button inline-flex shrink-0 items-center justify-cente
|
|
|
2302
2302
|
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
|
|
2303
2303
|
secondary: "bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
|
|
2304
2304
|
ghost: "hover:bg-muted hover:text-foreground aria-current:bg-muted aria-current:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
|
|
2305
|
+
disclosure: "text-muted-foreground hover:bg-muted hover:text-foreground dark:hover:bg-muted/50",
|
|
2305
2306
|
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
|
|
2306
2307
|
link: "text-primary hover:text-primary/80"
|
|
2307
2308
|
},
|
|
@@ -3457,66 +3458,7 @@ var Pa = function(e) {
|
|
|
3457
3458
|
anchorHidden(e) {
|
|
3458
3459
|
return e ? Ba : null;
|
|
3459
3460
|
}
|
|
3460
|
-
}
|
|
3461
|
-
register: () => {},
|
|
3462
|
-
unregister: () => {},
|
|
3463
|
-
subscribeMapChange: () => () => {},
|
|
3464
|
-
elementsRef: { current: [] },
|
|
3465
|
-
nextIndexRef: { current: 0 }
|
|
3466
|
-
});
|
|
3467
|
-
process.env.NODE_ENV !== "production" && (Wa.displayName = "CompositeListContext");
|
|
3468
|
-
function Ga() {
|
|
3469
|
-
return n.useContext(Wa);
|
|
3470
|
-
}
|
|
3471
|
-
//#endregion
|
|
3472
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/composite/list/useCompositeListItem.js
|
|
3473
|
-
var Ka = /*#__PURE__*/ function(e) {
|
|
3474
|
-
return e[e.None = 0] = "None", e[e.GuessFromOrder = 1] = "GuessFromOrder", e;
|
|
3475
|
-
}({});
|
|
3476
|
-
function qa(e = {}) {
|
|
3477
|
-
let { label: t, metadata: r, textRef: i, indexGuessBehavior: a, index: o } = e, { register: s, unregister: c, subscribeMapChange: l, elementsRef: u, labelsRef: d, nextIndexRef: f } = Ga(), p = n.useRef(-1), [m, h] = n.useState(o ?? (a === Ka.GuessFromOrder ? () => {
|
|
3478
|
-
if (p.current === -1) {
|
|
3479
|
-
let e = f.current;
|
|
3480
|
-
f.current += 1, p.current = e;
|
|
3481
|
-
}
|
|
3482
|
-
return p.current;
|
|
3483
|
-
} : -1)), g = n.useRef(null), _ = n.useCallback((e) => {
|
|
3484
|
-
if (g.current = e, m !== -1 && e !== null && (u.current[m] = e, d)) {
|
|
3485
|
-
let n = t !== void 0;
|
|
3486
|
-
d.current[m] = n ? t : i?.current?.textContent ?? e.textContent;
|
|
3487
|
-
}
|
|
3488
|
-
}, [
|
|
3489
|
-
m,
|
|
3490
|
-
u,
|
|
3491
|
-
d,
|
|
3492
|
-
t,
|
|
3493
|
-
i
|
|
3494
|
-
]);
|
|
3495
|
-
return U(() => {
|
|
3496
|
-
if (o != null) return;
|
|
3497
|
-
let e = g.current;
|
|
3498
|
-
if (e) return s(e, r), () => {
|
|
3499
|
-
c(e);
|
|
3500
|
-
};
|
|
3501
|
-
}, [
|
|
3502
|
-
o,
|
|
3503
|
-
s,
|
|
3504
|
-
c,
|
|
3505
|
-
r
|
|
3506
|
-
]), U(() => {
|
|
3507
|
-
if (o == null) return l((e) => {
|
|
3508
|
-
let t = g.current ? e.get(g.current)?.index : null;
|
|
3509
|
-
t != null && h(t);
|
|
3510
|
-
});
|
|
3511
|
-
}, [
|
|
3512
|
-
o,
|
|
3513
|
-
l,
|
|
3514
|
-
h
|
|
3515
|
-
]), n.useMemo(() => ({
|
|
3516
|
-
ref: _,
|
|
3517
|
-
index: m
|
|
3518
|
-
}), [m, _]);
|
|
3519
|
-
}
|
|
3461
|
+
};
|
|
3520
3462
|
//#endregion
|
|
3521
3463
|
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/addEventListener.js
|
|
3522
3464
|
function Q(e, t, n, r) {
|
|
@@ -3526,7 +3468,7 @@ function Q(e, t, n, r) {
|
|
|
3526
3468
|
}
|
|
3527
3469
|
//#endregion
|
|
3528
3470
|
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/mergeCleanups.js
|
|
3529
|
-
function
|
|
3471
|
+
function Wa(...e) {
|
|
3530
3472
|
return () => {
|
|
3531
3473
|
for (let t = 0; t < e.length; t += 1) {
|
|
3532
3474
|
let n = e[t];
|
|
@@ -3536,11 +3478,11 @@ function Ja(...e) {
|
|
|
3536
3478
|
}
|
|
3537
3479
|
//#endregion
|
|
3538
3480
|
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useValueAsRef.js
|
|
3539
|
-
function
|
|
3540
|
-
let t = F(
|
|
3481
|
+
function Ga(e) {
|
|
3482
|
+
let t = F(Ka, e).current;
|
|
3541
3483
|
return t.next = e, U(t.effect), t;
|
|
3542
3484
|
}
|
|
3543
|
-
function
|
|
3485
|
+
function Ka(e) {
|
|
3544
3486
|
let t = {
|
|
3545
3487
|
current: e,
|
|
3546
3488
|
next: e,
|
|
@@ -3552,7 +3494,7 @@ function Xa(e) {
|
|
|
3552
3494
|
}
|
|
3553
3495
|
//#endregion
|
|
3554
3496
|
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/visuallyHidden.js
|
|
3555
|
-
var
|
|
3497
|
+
var qa = {
|
|
3556
3498
|
clipPath: "inset(50%)",
|
|
3557
3499
|
overflow: "hidden",
|
|
3558
3500
|
whiteSpace: "nowrap",
|
|
@@ -3561,15 +3503,15 @@ var Za = {
|
|
|
3561
3503
|
width: 1,
|
|
3562
3504
|
height: 1,
|
|
3563
3505
|
margin: -1
|
|
3564
|
-
},
|
|
3565
|
-
...
|
|
3506
|
+
}, Ja = {
|
|
3507
|
+
...qa,
|
|
3566
3508
|
position: "fixed",
|
|
3567
3509
|
top: 0,
|
|
3568
3510
|
left: 0
|
|
3569
|
-
},
|
|
3570
|
-
...
|
|
3511
|
+
}, Ya = {
|
|
3512
|
+
...qa,
|
|
3571
3513
|
position: "absolute"
|
|
3572
|
-
},
|
|
3514
|
+
}, Xa = /*#__PURE__*/ n.forwardRef(function(e, t) {
|
|
3573
3515
|
let [r, i] = n.useState();
|
|
3574
3516
|
U(() => {
|
|
3575
3517
|
Qn && i("button");
|
|
@@ -3581,57 +3523,57 @@ var Za = {
|
|
|
3581
3523
|
return /*#__PURE__*/ o("span", {
|
|
3582
3524
|
...e,
|
|
3583
3525
|
ref: t,
|
|
3584
|
-
style:
|
|
3526
|
+
style: Ja,
|
|
3585
3527
|
"aria-hidden": !r || void 0,
|
|
3586
3528
|
...a,
|
|
3587
3529
|
"data-base-ui-focus-guard": ""
|
|
3588
3530
|
});
|
|
3589
3531
|
});
|
|
3590
|
-
process.env.NODE_ENV !== "production" && (
|
|
3532
|
+
process.env.NODE_ENV !== "production" && (Xa.displayName = "FocusGuard");
|
|
3591
3533
|
//#endregion
|
|
3592
3534
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/utils/createAttribute.js
|
|
3593
|
-
function
|
|
3535
|
+
function Za(e) {
|
|
3594
3536
|
return `data-base-ui-${e}`;
|
|
3595
3537
|
}
|
|
3596
3538
|
//#endregion
|
|
3597
3539
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/utils/enqueueFocus.js
|
|
3598
|
-
var
|
|
3599
|
-
function
|
|
3540
|
+
var Qa = 0;
|
|
3541
|
+
function $a(e, t = {}) {
|
|
3600
3542
|
let { preventScroll: n = !1, cancelPrevious: r = !0, sync: i = !1 } = t;
|
|
3601
|
-
r && cancelAnimationFrame(
|
|
3543
|
+
r && cancelAnimationFrame(Qa);
|
|
3602
3544
|
let a = () => e?.focus({ preventScroll: n });
|
|
3603
3545
|
if (i) return a(), Ne;
|
|
3604
3546
|
let o = requestAnimationFrame(a);
|
|
3605
|
-
return
|
|
3606
|
-
|
|
3547
|
+
return Qa = o, () => {
|
|
3548
|
+
Qa === o && (cancelAnimationFrame(o), Qa = 0);
|
|
3607
3549
|
};
|
|
3608
3550
|
}
|
|
3609
3551
|
//#endregion
|
|
3610
3552
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/utils/markOthers.js
|
|
3611
|
-
var
|
|
3553
|
+
var eo = {
|
|
3612
3554
|
inert: /* @__PURE__ */ new WeakMap(),
|
|
3613
3555
|
"aria-hidden": /* @__PURE__ */ new WeakMap()
|
|
3614
|
-
},
|
|
3556
|
+
}, to = "data-base-ui-inert", no = {
|
|
3615
3557
|
inert: /* @__PURE__ */ new WeakSet(),
|
|
3616
3558
|
"aria-hidden": /* @__PURE__ */ new WeakSet()
|
|
3617
|
-
},
|
|
3618
|
-
function
|
|
3619
|
-
return
|
|
3559
|
+
}, ro = /* @__PURE__ */ new WeakMap(), io = 0;
|
|
3560
|
+
function ao(e) {
|
|
3561
|
+
return no[e];
|
|
3620
3562
|
}
|
|
3621
|
-
function
|
|
3622
|
-
return e ? g(e) ? e.host :
|
|
3563
|
+
function oo(e) {
|
|
3564
|
+
return e ? g(e) ? e.host : oo(e.parentNode) : null;
|
|
3623
3565
|
}
|
|
3624
|
-
var
|
|
3566
|
+
var so = (e, t) => t.map((t) => {
|
|
3625
3567
|
if (e.contains(t)) return t;
|
|
3626
|
-
let n =
|
|
3568
|
+
let n = oo(t);
|
|
3627
3569
|
return e.contains(n) ? n : null;
|
|
3628
|
-
}).filter((e) => e != null),
|
|
3570
|
+
}).filter((e) => e != null), co = (e) => {
|
|
3629
3571
|
let t = /* @__PURE__ */ new Set();
|
|
3630
3572
|
return e.forEach((e) => {
|
|
3631
3573
|
let n = e;
|
|
3632
3574
|
for (; n && !t.has(n);) t.add(n), n = n.parentNode;
|
|
3633
3575
|
}), t;
|
|
3634
|
-
},
|
|
3576
|
+
}, lo = (e, t, n) => {
|
|
3635
3577
|
let r = [], i = (e) => {
|
|
3636
3578
|
!e || n.has(e) || Array.from(e.children).forEach((e) => {
|
|
3637
3579
|
u(e) !== "script" && (t.has(e) ? i(e) : r.push(e));
|
|
@@ -3639,49 +3581,49 @@ var fo = (e, t) => t.map((t) => {
|
|
|
3639
3581
|
};
|
|
3640
3582
|
return i(e), r;
|
|
3641
3583
|
};
|
|
3642
|
-
function
|
|
3643
|
-
let o = r ? "inert" : n ? "aria-hidden" : null, s = null, c = null, l =
|
|
3584
|
+
function uo(e, t, n, r, { mark: i = !0, markerIgnoreElements: a = [] }) {
|
|
3585
|
+
let o = r ? "inert" : n ? "aria-hidden" : null, s = null, c = null, l = so(t, e), u = i ? so(t, a) : [], d = new Set(u), f = i ? lo(t, co(l), new Set(l)).filter((e) => !d.has(e)) : [], p = [], m = [];
|
|
3644
3586
|
if (o) {
|
|
3645
|
-
let e =
|
|
3587
|
+
let e = eo[o], n = ao(o);
|
|
3646
3588
|
c = n, s = e;
|
|
3647
|
-
let r =
|
|
3648
|
-
|
|
3589
|
+
let r = so(t, Array.from(t.querySelectorAll("[aria-live]"))), i = l.concat(r);
|
|
3590
|
+
lo(t, co(i), new Set(i)).forEach((t) => {
|
|
3649
3591
|
let r = t.getAttribute(o), i = r !== null && r !== "false", a = (e.get(t) || 0) + 1;
|
|
3650
3592
|
e.set(t, a), p.push(t), a === 1 && i && n.add(t), i || t.setAttribute(o, o === "inert" ? "" : "true");
|
|
3651
3593
|
});
|
|
3652
3594
|
}
|
|
3653
3595
|
return i && f.forEach((e) => {
|
|
3654
|
-
let t = (
|
|
3655
|
-
|
|
3656
|
-
}),
|
|
3596
|
+
let t = (ro.get(e) || 0) + 1;
|
|
3597
|
+
ro.set(e, t), m.push(e), t === 1 && e.setAttribute(to, "");
|
|
3598
|
+
}), io += 1, () => {
|
|
3657
3599
|
s && p.forEach((e) => {
|
|
3658
3600
|
let t = (s.get(e) || 0) - 1;
|
|
3659
3601
|
s.set(e, t), t || (!c?.has(e) && o && e.removeAttribute(o), c?.delete(e));
|
|
3660
3602
|
}), i && m.forEach((e) => {
|
|
3661
|
-
let t = (
|
|
3662
|
-
|
|
3663
|
-
}), --
|
|
3603
|
+
let t = (ro.get(e) || 0) - 1;
|
|
3604
|
+
ro.set(e, t), t || e.removeAttribute(to);
|
|
3605
|
+
}), --io, io || (eo.inert = /* @__PURE__ */ new WeakMap(), eo["aria-hidden"] = /* @__PURE__ */ new WeakMap(), no.inert = /* @__PURE__ */ new WeakSet(), no["aria-hidden"] = /* @__PURE__ */ new WeakSet(), ro = /* @__PURE__ */ new WeakMap());
|
|
3664
3606
|
};
|
|
3665
3607
|
}
|
|
3666
|
-
function
|
|
3608
|
+
function fo(e, t = {}) {
|
|
3667
3609
|
let { ariaHidden: n = !1, inert: r = !1, mark: i = !0, markerIgnoreElements: a = [] } = t, o = X(e[0]).body;
|
|
3668
|
-
return
|
|
3610
|
+
return uo(e, o, n, r, {
|
|
3669
3611
|
mark: i,
|
|
3670
3612
|
markerIgnoreElements: a
|
|
3671
3613
|
});
|
|
3672
3614
|
}
|
|
3673
3615
|
//#endregion
|
|
3674
3616
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/constants.js
|
|
3675
|
-
var
|
|
3617
|
+
var po = { style: { transition: "none" } }, mo = "data-base-ui-click-trigger", ho = { fallbackAxisSide: "none" }, go = { fallbackAxisSide: "end" }, _o = {
|
|
3676
3618
|
clipPath: "inset(50%)",
|
|
3677
3619
|
position: "fixed",
|
|
3678
3620
|
top: 0,
|
|
3679
3621
|
left: 0
|
|
3680
|
-
},
|
|
3681
|
-
process.env.NODE_ENV !== "production" && (
|
|
3682
|
-
var
|
|
3683
|
-
function
|
|
3684
|
-
let { ref: t, container: r, componentProps: i = Fe, elementProps: a } = e, o = Vn(), s =
|
|
3622
|
+
}, vo = /*#__PURE__*/ n.createContext(null);
|
|
3623
|
+
process.env.NODE_ENV !== "production" && (vo.displayName = "PortalContext");
|
|
3624
|
+
var yo = () => n.useContext(vo), bo = Za("portal");
|
|
3625
|
+
function xo(e = {}) {
|
|
3626
|
+
let { ref: t, container: r, componentProps: i = Fe, elementProps: a } = e, o = Vn(), s = yo()?.portalNode, [l, u] = n.useState(null), [d, f] = n.useState(null), m = R((e) => {
|
|
3685
3627
|
e !== null && f(e);
|
|
3686
3628
|
}), h = n.useRef(null);
|
|
3687
3629
|
U(() => {
|
|
@@ -3705,7 +3647,7 @@ function To(e = {}) {
|
|
|
3705
3647
|
ref: [t, m],
|
|
3706
3648
|
props: [{
|
|
3707
3649
|
id: o,
|
|
3708
|
-
[
|
|
3650
|
+
[bo]: ""
|
|
3709
3651
|
}, a]
|
|
3710
3652
|
});
|
|
3711
3653
|
return {
|
|
@@ -3713,8 +3655,8 @@ function To(e = {}) {
|
|
|
3713
3655
|
portalSubtree: l && g ? /*#__PURE__*/ c.createPortal(g, l) : null
|
|
3714
3656
|
};
|
|
3715
3657
|
}
|
|
3716
|
-
var
|
|
3717
|
-
let { children: r, container: i, className: a, render: l, renderGuards: u, style: d, ...f } = e, { portalNode: p, portalSubtree: m } =
|
|
3658
|
+
var So = /*#__PURE__*/ n.forwardRef(function(e, t) {
|
|
3659
|
+
let { children: r, container: i, className: a, render: l, renderGuards: u, style: d, ...f } = e, { portalNode: p, portalSubtree: m } = xo({
|
|
3718
3660
|
container: i,
|
|
3719
3661
|
ref: t,
|
|
3720
3662
|
componentProps: e,
|
|
@@ -3725,7 +3667,7 @@ var Eo = /*#__PURE__*/ n.forwardRef(function(e, t) {
|
|
|
3725
3667
|
function e(e) {
|
|
3726
3668
|
p && e.relatedTarget && Li(e) && (e.type === "focusin" ? x.current &&= (zi(p), !1) : (Ri(p), x.current = !0));
|
|
3727
3669
|
}
|
|
3728
|
-
return
|
|
3670
|
+
return Wa(Q(p, "focusin", e, !0), Q(p, "focusout", e, !0));
|
|
3729
3671
|
}, [p, S]), n.useEffect(() => {
|
|
3730
3672
|
!p || C !== !1 || (zi(p), x.current = !1);
|
|
3731
3673
|
}, [C, p]);
|
|
@@ -3737,10 +3679,10 @@ var Eo = /*#__PURE__*/ n.forwardRef(function(e, t) {
|
|
|
3737
3679
|
portalNode: p,
|
|
3738
3680
|
setFocusManagerState: b
|
|
3739
3681
|
}), [p]);
|
|
3740
|
-
return /*#__PURE__*/ s(n.Fragment, { children: [m, /*#__PURE__*/ s(
|
|
3682
|
+
return /*#__PURE__*/ s(n.Fragment, { children: [m, /*#__PURE__*/ s(vo.Provider, {
|
|
3741
3683
|
value: T,
|
|
3742
3684
|
children: [
|
|
3743
|
-
w && p && /*#__PURE__*/ o(
|
|
3685
|
+
w && p && /*#__PURE__*/ o(Xa, {
|
|
3744
3686
|
"data-type": "outside",
|
|
3745
3687
|
ref: h,
|
|
3746
3688
|
onFocus: (e) => {
|
|
@@ -3749,10 +3691,10 @@ var Eo = /*#__PURE__*/ n.forwardRef(function(e, t) {
|
|
|
3749
3691
|
}),
|
|
3750
3692
|
w && p && /*#__PURE__*/ o("span", {
|
|
3751
3693
|
"aria-owns": p.id,
|
|
3752
|
-
style:
|
|
3694
|
+
style: _o
|
|
3753
3695
|
}),
|
|
3754
3696
|
p && /*#__PURE__*/ c.createPortal(r, p),
|
|
3755
|
-
w && p && /*#__PURE__*/ o(
|
|
3697
|
+
w && p && /*#__PURE__*/ o(Xa, {
|
|
3756
3698
|
"data-type": "outside",
|
|
3757
3699
|
ref: g,
|
|
3758
3700
|
onFocus: (e) => {
|
|
@@ -3762,10 +3704,10 @@ var Eo = /*#__PURE__*/ n.forwardRef(function(e, t) {
|
|
|
3762
3704
|
]
|
|
3763
3705
|
})] });
|
|
3764
3706
|
});
|
|
3765
|
-
process.env.NODE_ENV !== "production" && (
|
|
3707
|
+
process.env.NODE_ENV !== "production" && (So.displayName = "FloatingPortal");
|
|
3766
3708
|
//#endregion
|
|
3767
3709
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/utils/createEventEmitter.js
|
|
3768
|
-
function
|
|
3710
|
+
function Co() {
|
|
3769
3711
|
let e = /* @__PURE__ */ new Map();
|
|
3770
3712
|
return {
|
|
3771
3713
|
emit(t, n) {
|
|
@@ -3781,9 +3723,9 @@ function Do() {
|
|
|
3781
3723
|
}
|
|
3782
3724
|
//#endregion
|
|
3783
3725
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingTreeStore.js
|
|
3784
|
-
var
|
|
3726
|
+
var wo = class {
|
|
3785
3727
|
nodesRef = { current: [] };
|
|
3786
|
-
events =
|
|
3728
|
+
events = Co();
|
|
3787
3729
|
addNode(e) {
|
|
3788
3730
|
this.nodesRef.current.push(e);
|
|
3789
3731
|
}
|
|
@@ -3791,16 +3733,16 @@ var Oo = class {
|
|
|
3791
3733
|
let t = this.nodesRef.current.findIndex((t) => t === e);
|
|
3792
3734
|
t !== -1 && this.nodesRef.current.splice(t, 1);
|
|
3793
3735
|
}
|
|
3794
|
-
},
|
|
3795
|
-
process.env.NODE_ENV !== "production" && (
|
|
3796
|
-
var
|
|
3797
|
-
process.env.NODE_ENV !== "production" && (
|
|
3798
|
-
var
|
|
3799
|
-
let t = n.useContext(
|
|
3736
|
+
}, To = /*#__PURE__*/ n.createContext(null);
|
|
3737
|
+
process.env.NODE_ENV !== "production" && (To.displayName = "FloatingNodeContext");
|
|
3738
|
+
var Eo = /*#__PURE__*/ n.createContext(null);
|
|
3739
|
+
process.env.NODE_ENV !== "production" && (Eo.displayName = "FloatingTreeContext");
|
|
3740
|
+
var Do = () => n.useContext(To)?.id || null, Oo = (e) => {
|
|
3741
|
+
let t = n.useContext(Eo);
|
|
3800
3742
|
return e ?? t;
|
|
3801
3743
|
};
|
|
3802
|
-
function
|
|
3803
|
-
let t = Vn(), n =
|
|
3744
|
+
function ko(e) {
|
|
3745
|
+
let t = Vn(), n = Oo(e), r = Do();
|
|
3804
3746
|
return U(() => {
|
|
3805
3747
|
if (!t) return;
|
|
3806
3748
|
let e = {
|
|
@@ -3816,9 +3758,9 @@ function No(e) {
|
|
|
3816
3758
|
r
|
|
3817
3759
|
]), t;
|
|
3818
3760
|
}
|
|
3819
|
-
function
|
|
3820
|
-
let { children: t, id: r } = e, i =
|
|
3821
|
-
return /*#__PURE__*/ o(
|
|
3761
|
+
function Ao(e) {
|
|
3762
|
+
let { children: t, id: r } = e, i = Do();
|
|
3763
|
+
return /*#__PURE__*/ o(To.Provider, {
|
|
3822
3764
|
value: n.useMemo(() => ({
|
|
3823
3765
|
id: r,
|
|
3824
3766
|
parentId: i
|
|
@@ -3826,33 +3768,33 @@ function Po(e) {
|
|
|
3826
3768
|
children: t
|
|
3827
3769
|
});
|
|
3828
3770
|
}
|
|
3829
|
-
function
|
|
3830
|
-
let { children: t, externalTree: n } = e, r = F(() => n ?? new
|
|
3831
|
-
return /*#__PURE__*/ o(
|
|
3771
|
+
function jo(e) {
|
|
3772
|
+
let { children: t, externalTree: n } = e, r = F(() => n ?? new wo()).current;
|
|
3773
|
+
return /*#__PURE__*/ o(Eo.Provider, {
|
|
3832
3774
|
value: r,
|
|
3833
3775
|
children: t
|
|
3834
3776
|
});
|
|
3835
3777
|
}
|
|
3836
3778
|
//#endregion
|
|
3837
3779
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingFocusManager.js
|
|
3838
|
-
function
|
|
3780
|
+
function Mo(e, t) {
|
|
3839
3781
|
let n = d(fr(e));
|
|
3840
3782
|
return e instanceof n.KeyboardEvent ? "keyboard" : e instanceof n.FocusEvent ? t || "keyboard" : "pointerType" in e ? e.pointerType || "keyboard" : "touches" in e ? "touch" : e instanceof n.MouseEvent ? t || (e.detail === 0 ? "keyboard" : "mouse") : "";
|
|
3841
3783
|
}
|
|
3842
|
-
var
|
|
3843
|
-
function
|
|
3844
|
-
|
|
3784
|
+
var No = 20, Po = [];
|
|
3785
|
+
function Fo() {
|
|
3786
|
+
Po = Po.filter((e) => e.deref()?.isConnected);
|
|
3845
3787
|
}
|
|
3846
|
-
function
|
|
3847
|
-
|
|
3788
|
+
function Io(e) {
|
|
3789
|
+
Fo(), e && u(e) !== "body" && (Po.push(new WeakRef(e)), Po.length > No && (Po = Po.slice(-20)));
|
|
3848
3790
|
}
|
|
3849
|
-
function
|
|
3850
|
-
return
|
|
3791
|
+
function Lo() {
|
|
3792
|
+
return Fo(), Po[Po.length - 1]?.deref();
|
|
3851
3793
|
}
|
|
3852
|
-
function
|
|
3794
|
+
function Ro(e) {
|
|
3853
3795
|
return e ? Oi(e) ? e : Ai(e)[0] || e : null;
|
|
3854
3796
|
}
|
|
3855
|
-
function
|
|
3797
|
+
function zo(e, t) {
|
|
3856
3798
|
if (e.hasAttribute("tabindex") && !e.hasAttribute("data-tabindex") || !t.current.includes("floating") && !e.getAttribute("role")?.includes("dialog")) return;
|
|
3857
3799
|
let n = ki(e).filter((e) => {
|
|
3858
3800
|
let t = e.getAttribute("data-tabindex") || "";
|
|
@@ -3860,8 +3802,8 @@ function Uo(e, t) {
|
|
|
3860
3802
|
}), r = e.getAttribute("tabindex");
|
|
3861
3803
|
t.current.includes("floating") || n.length === 0 ? r !== "0" && e.setAttribute("tabindex", "0") : (r !== "-1" || e.hasAttribute("data-tabindex") && e.getAttribute("data-tabindex") !== "-1") && (e.setAttribute("tabindex", "-1"), e.setAttribute("data-tabindex", "-1"));
|
|
3862
3804
|
}
|
|
3863
|
-
function
|
|
3864
|
-
let { context: t, children: r, disabled: i = !1, initialFocus: a = !0, returnFocus: c = !0, restoreFocus: l = !1, modal: u = !0, closeOnFocusOut: d = !0, openInteractionType: f = "", nextFocusableElement: p, previousFocusableElement: m, beforeContentFocusGuardRef: g, externalTree: _, getInsideElements: v } = e, y = "rootStore" in t ? t.rootStore : t, b = y.useState("open"), x = y.useState("domReferenceElement"), S = y.useState("floatingElement"), { events: C, dataRef: w } = y.context, T = R(() => w.current.floatingContext?.nodeId), E = a === !1, D = vr(x) && E, O = n.useRef(["content"]), k =
|
|
3805
|
+
function Bo(e) {
|
|
3806
|
+
let { context: t, children: r, disabled: i = !1, initialFocus: a = !0, returnFocus: c = !0, restoreFocus: l = !1, modal: u = !0, closeOnFocusOut: d = !0, openInteractionType: f = "", nextFocusableElement: p, previousFocusableElement: m, beforeContentFocusGuardRef: g, externalTree: _, getInsideElements: v } = e, y = "rootStore" in t ? t.rootStore : t, b = y.useState("open"), x = y.useState("domReferenceElement"), S = y.useState("floatingElement"), { events: C, dataRef: w } = y.context, T = R(() => w.current.floatingContext?.nodeId), E = a === !1, D = vr(x) && E, O = n.useRef(["content"]), k = Ga(a), A = Ga(c), j = Ga(f), M = Oo(_), N = yo(), P = n.useRef(!1), F = n.useRef(!1), I = n.useRef(!1), L = n.useRef(null), ee = n.useRef(""), z = n.useRef(""), B = n.useRef(null), V = n.useRef(null), H = Se(B, g, N?.beforeInsideRef), W = Se(V, N?.afterInsideRef), te = Wi(), ne = Wi(), G = Yi(), re = N != null, K = br(S), ie = R((e = K) => e ? Ai(e) : []), ae = R(() => v?.().filter((e) => e != null) ?? []);
|
|
3865
3807
|
n.useEffect(() => {
|
|
3866
3808
|
if (i || !u) return;
|
|
3867
3809
|
function e(e) {
|
|
@@ -3889,7 +3831,7 @@ function Wo(e) {
|
|
|
3889
3831
|
function r() {
|
|
3890
3832
|
z.current = "keyboard";
|
|
3891
3833
|
}
|
|
3892
|
-
return
|
|
3834
|
+
return Wa(Q(e, "pointerdown", n, !0), Q(e, "pointerup", t, !0), Q(e, "pointercancel", t, !0), Q(e, "keydown", r, !0));
|
|
3893
3835
|
}, [
|
|
3894
3836
|
i,
|
|
3895
3837
|
S,
|
|
@@ -3913,7 +3855,7 @@ function Wo(e) {
|
|
|
3913
3855
|
function r(t) {
|
|
3914
3856
|
let n = t.relatedTarget, r = t.currentTarget, i = fr(t);
|
|
3915
3857
|
queueMicrotask(() => {
|
|
3916
|
-
let a = T(), o = y.context.triggerElements, s = ae(), c = n?.hasAttribute(
|
|
3858
|
+
let a = T(), o = y.context.triggerElements, s = ae(), c = n?.hasAttribute(Za("focus-guard")) && [
|
|
3917
3859
|
B.current,
|
|
3918
3860
|
V.current,
|
|
3919
3861
|
N?.beforeInsideRef.current,
|
|
@@ -3923,7 +3865,7 @@ function Wo(e) {
|
|
|
3923
3865
|
Xi(m),
|
|
3924
3866
|
Xi(p)
|
|
3925
3867
|
].includes(n), d = !(Z(x, n) || Z(S, n) || Z(n, S) || Z(N?.portalNode, n) || s.some((e) => e === n || Z(e, n)) || n != null && o.hasElement(n) || o.hasMatchingElement((e) => Z(e, n)) || c || M && (xr(M.nodesRef.current, a).find((e) => Z(e.context?.elements.floating, n) || Z(e.context?.elements.domReference, n)) || Sr(M.nodesRef.current, a).find((e) => [e.context?.elements.floating, br(e.context?.elements.floating)].includes(n) || e.context?.elements.domReference === n)));
|
|
3926
|
-
if (r === x && K &&
|
|
3868
|
+
if (r === x && K && zo(K, O), l && r !== x && !mi(i) && dr(e) === e.body) {
|
|
3927
3869
|
if (h(K) && (K.focus(), l === "popup")) {
|
|
3928
3870
|
G.request(() => {
|
|
3929
3871
|
K.focus();
|
|
@@ -3937,7 +3879,7 @@ function Wo(e) {
|
|
|
3937
3879
|
w.current.insideReactTree = !1;
|
|
3938
3880
|
return;
|
|
3939
3881
|
}
|
|
3940
|
-
(D || !u) && n && d && !F.current && (D || n !==
|
|
3882
|
+
(D || !u) && n && d && !F.current && (D || n !== Lo()) && (P.current = !0, y.setOpen(!1, Sa(ma, t)));
|
|
3941
3883
|
});
|
|
3942
3884
|
}
|
|
3943
3885
|
function a() {
|
|
@@ -3946,7 +3888,7 @@ function Wo(e) {
|
|
|
3946
3888
|
}));
|
|
3947
3889
|
}
|
|
3948
3890
|
let o = h(x) ? x : null;
|
|
3949
|
-
if (!(!S && !o)) return
|
|
3891
|
+
if (!(!S && !o)) return Wa(o && Q(o, "focusout", r), o && Q(o, "pointerdown", t), S && Q(S, "focusin", n), S && Q(S, "focusout", r), S && N && Q(S, "focusout", a, !0));
|
|
3950
3892
|
}, [
|
|
3951
3893
|
i,
|
|
3952
3894
|
x,
|
|
@@ -3971,7 +3913,7 @@ function Wo(e) {
|
|
|
3971
3913
|
ae
|
|
3972
3914
|
]), n.useEffect(() => {
|
|
3973
3915
|
if (i || !S || !b) return;
|
|
3974
|
-
let e = Array.from(N?.portalNode?.querySelectorAll(`[${
|
|
3916
|
+
let e = Array.from(N?.portalNode?.querySelectorAll(`[${Za("portal")}]`) || []), t = (M ? Sr(M.nodesRef.current, T()) : []).find((e) => vr(e.context?.elements.domReference || null))?.context?.elements.domReference, n = fo([
|
|
3975
3917
|
S,
|
|
3976
3918
|
...e,
|
|
3977
3919
|
B.current,
|
|
@@ -3986,7 +3928,7 @@ function Wo(e) {
|
|
|
3986
3928
|
].filter((e) => e != null), {
|
|
3987
3929
|
ariaHidden: u || D,
|
|
3988
3930
|
mark: !1
|
|
3989
|
-
}), r =
|
|
3931
|
+
}), r = fo([S, ...e].filter((e) => e != null));
|
|
3990
3932
|
return () => {
|
|
3991
3933
|
r(), n();
|
|
3992
3934
|
};
|
|
@@ -4011,7 +3953,7 @@ function Wo(e) {
|
|
|
4011
3953
|
let t = k.current, n = typeof t == "function" ? t(j.current || "") : t;
|
|
4012
3954
|
if (n === void 0 || n === !1 || Z(K, e)) return;
|
|
4013
3955
|
let r = null, i = () => (r ??= ie(K), r[0] || K), a;
|
|
4014
|
-
a = n === !0 || n === null ? i() : Xi(n), a ||= i(),
|
|
3956
|
+
a = n === !0 || n === null ? i() : Xi(n), a ||= i(), $a(a, { preventScroll: a === K });
|
|
4015
3957
|
});
|
|
4016
3958
|
}, [
|
|
4017
3959
|
i,
|
|
@@ -4024,9 +3966,9 @@ function Wo(e) {
|
|
|
4024
3966
|
]), U(() => {
|
|
4025
3967
|
if (i || !K) return;
|
|
4026
3968
|
let e = X(K);
|
|
4027
|
-
|
|
3969
|
+
Io(dr(e));
|
|
4028
3970
|
function t(e) {
|
|
4029
|
-
if (e.open || (ee.current =
|
|
3971
|
+
if (e.open || (ee.current = Mo(e.nativeEvent, z.current)), e.reason === "trigger-hover" && e.nativeEvent.type === "mouseleave" && (P.current = !0), e.reason === "outside-press") {
|
|
4030
3972
|
if (e.nested) P.current = !1;
|
|
4031
3973
|
else if (Tr(e.nativeEvent) || Er(e.nativeEvent)) P.current = !1;
|
|
4032
3974
|
else {
|
|
@@ -4042,17 +3984,17 @@ function Wo(e) {
|
|
|
4042
3984
|
let e = A.current, t = typeof e == "function" ? e(ee.current) : e;
|
|
4043
3985
|
if (t === void 0 || t === !1) return null;
|
|
4044
3986
|
if (t === null && (t = !0), typeof t == "boolean") {
|
|
4045
|
-
let e = x ||
|
|
3987
|
+
let e = x || Lo();
|
|
4046
3988
|
return e && e.isConnected ? e : null;
|
|
4047
3989
|
}
|
|
4048
|
-
let n = x ||
|
|
3990
|
+
let n = x || Lo();
|
|
4049
3991
|
return Xi(t) || n || null;
|
|
4050
3992
|
}
|
|
4051
3993
|
return () => {
|
|
4052
3994
|
C.off("openchange", t);
|
|
4053
3995
|
let r = dr(e), i = ae(), a = Z(S, r) || i.some((e) => e === r || Z(e, r)) || M && xr(M.nodesRef.current, T(), !1).some((e) => Z(e.context?.elements.floating, r)), o = A.current, s = n();
|
|
4054
3996
|
queueMicrotask(() => {
|
|
4055
|
-
let t =
|
|
3997
|
+
let t = Ro(s), n = typeof o != "boolean";
|
|
4056
3998
|
o && !P.current && h(t) && (!(!n && t !== r && r !== e.body) || a) && t.focus({ preventScroll: !0 }), P.current = !1;
|
|
4057
3999
|
});
|
|
4058
4000
|
};
|
|
@@ -4090,8 +4032,8 @@ function Wo(e) {
|
|
|
4090
4032
|
d,
|
|
4091
4033
|
x
|
|
4092
4034
|
]), U(() => {
|
|
4093
|
-
if (!(i || !K)) return
|
|
4094
|
-
queueMicrotask(
|
|
4035
|
+
if (!(i || !K)) return zo(K, O), () => {
|
|
4036
|
+
queueMicrotask(Fo);
|
|
4095
4037
|
};
|
|
4096
4038
|
}, [
|
|
4097
4039
|
i,
|
|
@@ -4100,29 +4042,29 @@ function Wo(e) {
|
|
|
4100
4042
|
]);
|
|
4101
4043
|
let oe = !i && (!u || !D) && (re || u);
|
|
4102
4044
|
return /*#__PURE__*/ s(n.Fragment, { children: [
|
|
4103
|
-
oe && /*#__PURE__*/ o(
|
|
4045
|
+
oe && /*#__PURE__*/ o(Xa, {
|
|
4104
4046
|
"data-type": "inside",
|
|
4105
4047
|
ref: H,
|
|
4106
4048
|
onFocus: (e) => {
|
|
4107
4049
|
if (u) {
|
|
4108
4050
|
let e = ie();
|
|
4109
|
-
|
|
4051
|
+
$a(e[e.length - 1]);
|
|
4110
4052
|
} else N?.portalNode && (P.current = !1, Li(e, N.portalNode) ? Mi(x)?.focus() : Xi(m ?? N.beforeOutsideRef)?.focus());
|
|
4111
4053
|
}
|
|
4112
4054
|
}),
|
|
4113
4055
|
r,
|
|
4114
|
-
oe && /*#__PURE__*/ o(
|
|
4056
|
+
oe && /*#__PURE__*/ o(Xa, {
|
|
4115
4057
|
"data-type": "inside",
|
|
4116
4058
|
ref: W,
|
|
4117
4059
|
onFocus: (e) => {
|
|
4118
|
-
u ?
|
|
4060
|
+
u ? $a(ie()[0]) : N?.portalNode && (d && (P.current = !0), Li(e, N.portalNode) ? Ni(x)?.focus() : Xi(p ?? N.afterOutsideRef)?.focus());
|
|
4119
4061
|
}
|
|
4120
4062
|
})
|
|
4121
4063
|
] });
|
|
4122
4064
|
}
|
|
4123
4065
|
//#endregion
|
|
4124
4066
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useClick.js
|
|
4125
|
-
function
|
|
4067
|
+
function Vo(e, t = {}) {
|
|
4126
4068
|
let r = "rootStore" in e ? e.rootStore : e, i = r.context.dataRef, { enabled: a = !0, event: o = "click", toggle: s = !0, ignoreMouse: c = !1, stickIfOpen: l = !0, touchOpenDelay: u = 0, reason: d = ca } = t, f = n.useRef(void 0), p = Yi(), m = Wi(), h = n.useMemo(() => ({
|
|
4127
4069
|
onPointerDown(e) {
|
|
4128
4070
|
f.current = e.pointerType;
|
|
@@ -4178,21 +4120,21 @@ function Go(e, t = {}) {
|
|
|
4178
4120
|
}
|
|
4179
4121
|
//#endregion
|
|
4180
4122
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useDismiss.js
|
|
4181
|
-
var
|
|
4123
|
+
var Ho = {
|
|
4182
4124
|
intentional: "onClick",
|
|
4183
4125
|
sloppy: "onPointerDown"
|
|
4184
4126
|
};
|
|
4185
|
-
function
|
|
4127
|
+
function Uo() {
|
|
4186
4128
|
return !1;
|
|
4187
4129
|
}
|
|
4188
|
-
function
|
|
4130
|
+
function Wo(e) {
|
|
4189
4131
|
return {
|
|
4190
4132
|
escapeKey: typeof e == "boolean" ? e : e?.escapeKey ?? !1,
|
|
4191
4133
|
outsidePress: typeof e == "boolean" ? e : e?.outsidePress ?? !0
|
|
4192
4134
|
};
|
|
4193
4135
|
}
|
|
4194
|
-
function
|
|
4195
|
-
let r = "rootStore" in e ? e.rootStore : e, i = r.useState("open"), a = r.useState("floatingElement"), { dataRef: o } = r.context, { enabled: s = !0, escapeKey: c = !0, outsidePress: l = !0, outsidePressEvent: u = "sloppy", referencePress: d =
|
|
4136
|
+
function Go(e, t = {}) {
|
|
4137
|
+
let r = "rootStore" in e ? e.rootStore : e, i = r.useState("open"), a = r.useState("floatingElement"), { dataRef: o } = r.context, { enabled: s = !0, escapeKey: c = !0, outsidePress: l = !0, outsidePressEvent: u = "sloppy", referencePress: d = Uo, referencePressEvent: f = "sloppy", bubbles: p, externalTree: _ } = t, v = Oo(_), y = R(typeof l == "function" ? l : () => !1), b = typeof l == "function" ? y : l, x = b !== !1, S = R(() => u), C = n.useRef(!1), w = n.useRef(!1), T = n.useRef(!1), { escapeKey: k, outsidePress: j } = Wo(p), M = n.useRef(null), N = Wi(), P = Wi(), F = R(() => {
|
|
4196
4138
|
P.clear(), o.current.insideReactTree = !1;
|
|
4197
4139
|
}), I = n.useRef(!1), L = n.useRef(""), ee = R(d), z = R((e) => {
|
|
4198
4140
|
if (!i || !s || !c || e.key !== "Escape" || I.current) return;
|
|
@@ -4249,7 +4191,7 @@ function Yo(e, t = {}) {
|
|
|
4249
4191
|
F();
|
|
4250
4192
|
return;
|
|
4251
4193
|
}
|
|
4252
|
-
let n = fr(e), i = `[${
|
|
4194
|
+
let n = fr(e), i = `[${Za("inert")}]`, a = m(n) ? n.getRootNode() : null, s = Array.from((g(a) ? a : X(r.select("floatingElement"))).querySelectorAll(i)), c = r.context.triggerElements;
|
|
4253
4195
|
if (n && (c.hasElement(n) || c.hasMatchingElement((e) => Z(e, n)))) return;
|
|
4254
4196
|
let l = m(n) ? n : null;
|
|
4255
4197
|
for (; l && !D(l);) {
|
|
@@ -4341,7 +4283,7 @@ function Yo(e, t = {}) {
|
|
|
4341
4283
|
function ne(e) {
|
|
4342
4284
|
ee(e, te);
|
|
4343
4285
|
}
|
|
4344
|
-
let G = X(a), re =
|
|
4286
|
+
let G = X(a), re = Wa(c && Wa(Q(G, "keydown", z), Q(G, "compositionstart", n), Q(G, "compositionend", l)), x && Wa(Q(G, "click", V, !0), Q(G, "pointerdown", V, !0), Q(G, "pointerup", H, !0), Q(G, "pointercancel", H, !0), Q(G, "mousedown", V, !0), Q(G, "mouseup", H, !0), Q(G, "touchstart", B, !0), Q(G, "touchmove", W, !0), Q(G, "touchend", ne, !0)));
|
|
4345
4287
|
return () => {
|
|
4346
4288
|
re(), e.clear(), t.clear(), d(), T.current = !1;
|
|
4347
4289
|
};
|
|
@@ -4364,7 +4306,7 @@ function Yo(e, t = {}) {
|
|
|
4364
4306
|
]), n.useEffect(F, [b, F]);
|
|
4365
4307
|
let V = n.useMemo(() => ({
|
|
4366
4308
|
onKeyDown: z,
|
|
4367
|
-
[
|
|
4309
|
+
[Ho[f]]: (e) => {
|
|
4368
4310
|
ee() && r.setOpen(!1, Sa(ca, e.nativeEvent));
|
|
4369
4311
|
},
|
|
4370
4312
|
...f !== "intentional" && { onClick(e) {
|
|
@@ -4413,7 +4355,7 @@ function Yo(e, t = {}) {
|
|
|
4413
4355
|
}
|
|
4414
4356
|
//#endregion
|
|
4415
4357
|
//#region ../../node_modules/.bun/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
4416
|
-
function
|
|
4358
|
+
function Ko(e, t, n) {
|
|
4417
4359
|
let { reference: r, floating: i } = e, a = Hr(t), o = Ur(t), s = Vr(o), c = Rr(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
4418
4360
|
switch (c) {
|
|
4419
4361
|
case "top":
|
|
@@ -4448,7 +4390,7 @@ function Xo(e, t, n) {
|
|
|
4448
4390
|
let m = zr(t);
|
|
4449
4391
|
return m && (p[o] += f * (m === "end" ? 1 : -1) * (n && l ? -1 : 1)), p;
|
|
4450
4392
|
}
|
|
4451
|
-
async function
|
|
4393
|
+
async function qo(e, t) {
|
|
4452
4394
|
t === void 0 && (t = {});
|
|
4453
4395
|
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = Lr(t, e), p = ti(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = ni(await i.getClippingRect({
|
|
4454
4396
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
@@ -4476,15 +4418,15 @@ async function Zo(e, t) {
|
|
|
4476
4418
|
right: (y.right - h.right + p.right) / v.x
|
|
4477
4419
|
};
|
|
4478
4420
|
}
|
|
4479
|
-
var
|
|
4421
|
+
var Jo = 50, Yo = async (e, t, n) => {
|
|
4480
4422
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
4481
4423
|
...o,
|
|
4482
|
-
detectOverflow:
|
|
4424
|
+
detectOverflow: qo
|
|
4483
4425
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
4484
4426
|
reference: e,
|
|
4485
4427
|
floating: t,
|
|
4486
4428
|
strategy: i
|
|
4487
|
-
}), { x: u, y: d } =
|
|
4429
|
+
}), { x: u, y: d } = Ko(l, r, c), f = r, p = 0, m = {};
|
|
4488
4430
|
for (let n = 0; n < a.length; n++) {
|
|
4489
4431
|
let h = a[n];
|
|
4490
4432
|
if (!h) continue;
|
|
@@ -4505,11 +4447,11 @@ var Qo = 50, $o = async (e, t, n) => {
|
|
|
4505
4447
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
4506
4448
|
...m[g],
|
|
4507
4449
|
...b
|
|
4508
|
-
}, x && p <
|
|
4450
|
+
}, x && p < Jo && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
4509
4451
|
reference: e,
|
|
4510
4452
|
floating: t,
|
|
4511
4453
|
strategy: i
|
|
4512
|
-
}) : x.rects), {x: u, y: d} =
|
|
4454
|
+
}) : x.rects), {x: u, y: d} = Ko(l, f, c)), n = -1);
|
|
4513
4455
|
}
|
|
4514
4456
|
return {
|
|
4515
4457
|
x: u,
|
|
@@ -4518,7 +4460,7 @@ var Qo = 50, $o = async (e, t, n) => {
|
|
|
4518
4460
|
strategy: i,
|
|
4519
4461
|
middlewareData: m
|
|
4520
4462
|
};
|
|
4521
|
-
},
|
|
4463
|
+
}, Xo = function(e) {
|
|
4522
4464
|
return e === void 0 && (e = {}), {
|
|
4523
4465
|
name: "flip",
|
|
4524
4466
|
options: e,
|
|
@@ -4566,7 +4508,7 @@ var Qo = 50, $o = async (e, t, n) => {
|
|
|
4566
4508
|
}
|
|
4567
4509
|
};
|
|
4568
4510
|
};
|
|
4569
|
-
function
|
|
4511
|
+
function Zo(e, t) {
|
|
4570
4512
|
return {
|
|
4571
4513
|
top: e.top - t.height,
|
|
4572
4514
|
right: e.right - t.width,
|
|
@@ -4574,10 +4516,10 @@ function ts(e, t) {
|
|
|
4574
4516
|
left: e.left - t.width
|
|
4575
4517
|
};
|
|
4576
4518
|
}
|
|
4577
|
-
function
|
|
4519
|
+
function Qo(e) {
|
|
4578
4520
|
return kr.some((t) => e[t] >= 0);
|
|
4579
4521
|
}
|
|
4580
|
-
var
|
|
4522
|
+
var $o = function(e) {
|
|
4581
4523
|
return e === void 0 && (e = {}), {
|
|
4582
4524
|
name: "hide",
|
|
4583
4525
|
options: e,
|
|
@@ -4585,32 +4527,32 @@ var rs = function(e) {
|
|
|
4585
4527
|
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = Lr(e, t);
|
|
4586
4528
|
switch (i) {
|
|
4587
4529
|
case "referenceHidden": {
|
|
4588
|
-
let e =
|
|
4530
|
+
let e = Zo(await r.detectOverflow(t, {
|
|
4589
4531
|
...a,
|
|
4590
4532
|
elementContext: "reference"
|
|
4591
4533
|
}), n.reference);
|
|
4592
4534
|
return { data: {
|
|
4593
4535
|
referenceHiddenOffsets: e,
|
|
4594
|
-
referenceHidden:
|
|
4536
|
+
referenceHidden: Qo(e)
|
|
4595
4537
|
} };
|
|
4596
4538
|
}
|
|
4597
4539
|
case "escaped": {
|
|
4598
|
-
let e =
|
|
4540
|
+
let e = Zo(await r.detectOverflow(t, {
|
|
4599
4541
|
...a,
|
|
4600
4542
|
altBoundary: !0
|
|
4601
4543
|
}), n.floating);
|
|
4602
4544
|
return { data: {
|
|
4603
4545
|
escapedOffsets: e,
|
|
4604
|
-
escaped:
|
|
4546
|
+
escaped: Qo(e)
|
|
4605
4547
|
} };
|
|
4606
4548
|
}
|
|
4607
4549
|
default: return {};
|
|
4608
4550
|
}
|
|
4609
4551
|
}
|
|
4610
4552
|
};
|
|
4611
|
-
},
|
|
4612
|
-
async function
|
|
4613
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = Rr(n), s = zr(n), c = Hr(n) === "y", l =
|
|
4553
|
+
}, es = /*#__PURE__*/ new Set(["left", "top"]);
|
|
4554
|
+
async function ts(e, t) {
|
|
4555
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = Rr(n), s = zr(n), c = Hr(n) === "y", l = es.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Lr(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
4614
4556
|
mainAxis: d,
|
|
4615
4557
|
crossAxis: 0,
|
|
4616
4558
|
alignmentAxis: null
|
|
@@ -4627,13 +4569,13 @@ async function as(e, t) {
|
|
|
4627
4569
|
y: p * u
|
|
4628
4570
|
};
|
|
4629
4571
|
}
|
|
4630
|
-
var
|
|
4572
|
+
var ns = function(e) {
|
|
4631
4573
|
return e === void 0 && (e = 0), {
|
|
4632
4574
|
name: "offset",
|
|
4633
4575
|
options: e,
|
|
4634
4576
|
async fn(t) {
|
|
4635
4577
|
var n;
|
|
4636
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
4578
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await ts(t, e);
|
|
4637
4579
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
4638
4580
|
x: r + s.x,
|
|
4639
4581
|
y: i + s.y,
|
|
@@ -4644,7 +4586,7 @@ var os = function(e) {
|
|
|
4644
4586
|
};
|
|
4645
4587
|
}
|
|
4646
4588
|
};
|
|
4647
|
-
},
|
|
4589
|
+
}, rs = function(e) {
|
|
4648
4590
|
return e === void 0 && (e = {}), {
|
|
4649
4591
|
name: "shift",
|
|
4650
4592
|
options: e,
|
|
@@ -4678,7 +4620,7 @@ var os = function(e) {
|
|
|
4678
4620
|
};
|
|
4679
4621
|
}
|
|
4680
4622
|
};
|
|
4681
|
-
},
|
|
4623
|
+
}, is = function(e) {
|
|
4682
4624
|
return e === void 0 && (e = {}), {
|
|
4683
4625
|
options: e,
|
|
4684
4626
|
fn(t) {
|
|
@@ -4697,7 +4639,7 @@ var os = function(e) {
|
|
|
4697
4639
|
p < t ? p = t : p > n && (p = n);
|
|
4698
4640
|
}
|
|
4699
4641
|
if (l) {
|
|
4700
|
-
let e = f === "y" ? "width" : "height", t =
|
|
4642
|
+
let e = f === "y" ? "width" : "height", t = es.has(Rr(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? g.crossAxis : 0);
|
|
4701
4643
|
m < n ? m = n : m > r && (m = r);
|
|
4702
4644
|
}
|
|
4703
4645
|
return {
|
|
@@ -4706,7 +4648,7 @@ var os = function(e) {
|
|
|
4706
4648
|
};
|
|
4707
4649
|
}
|
|
4708
4650
|
};
|
|
4709
|
-
},
|
|
4651
|
+
}, as = function(e) {
|
|
4710
4652
|
return e === void 0 && (e = {}), {
|
|
4711
4653
|
name: "size",
|
|
4712
4654
|
options: e,
|
|
@@ -4726,7 +4668,7 @@ var os = function(e) {
|
|
|
4726
4668
|
};
|
|
4727
4669
|
//#endregion
|
|
4728
4670
|
//#region ../../node_modules/.bun/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
4729
|
-
function
|
|
4671
|
+
function os(e) {
|
|
4730
4672
|
let t = O(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = h(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Mr(n) !== a || Mr(r) !== o;
|
|
4731
4673
|
return s && (n = a, r = o), {
|
|
4732
4674
|
width: n,
|
|
@@ -4734,38 +4676,38 @@ function us(e) {
|
|
|
4734
4676
|
$: s
|
|
4735
4677
|
};
|
|
4736
4678
|
}
|
|
4737
|
-
function
|
|
4679
|
+
function ss(e) {
|
|
4738
4680
|
return m(e) ? e : e.contextElement;
|
|
4739
4681
|
}
|
|
4740
|
-
function
|
|
4741
|
-
let t =
|
|
4682
|
+
function cs(e) {
|
|
4683
|
+
let t = ss(e);
|
|
4742
4684
|
if (!h(t)) return Pr(1);
|
|
4743
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
4685
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = os(t), o = (a ? Mr(n.width) : n.width) / r, s = (a ? Mr(n.height) : n.height) / i;
|
|
4744
4686
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
4745
4687
|
x: o,
|
|
4746
4688
|
y: s
|
|
4747
4689
|
};
|
|
4748
4690
|
}
|
|
4749
|
-
var
|
|
4750
|
-
function
|
|
4691
|
+
var ls = /*#__PURE__*/ Pr(0);
|
|
4692
|
+
function us(e) {
|
|
4751
4693
|
let t = d(e);
|
|
4752
|
-
return !E() || !t.visualViewport ?
|
|
4694
|
+
return !E() || !t.visualViewport ? ls : {
|
|
4753
4695
|
x: t.visualViewport.offsetLeft,
|
|
4754
4696
|
y: t.visualViewport.offsetTop
|
|
4755
4697
|
};
|
|
4756
4698
|
}
|
|
4757
|
-
function
|
|
4699
|
+
function ds(e, t, n) {
|
|
4758
4700
|
return t === void 0 && (t = !1), !!n && t && n === d(e);
|
|
4759
4701
|
}
|
|
4760
|
-
function
|
|
4702
|
+
function fs(e, t, n, r) {
|
|
4761
4703
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
4762
|
-
let i = e.getBoundingClientRect(), a =
|
|
4763
|
-
t && (r ? m(r) && (o =
|
|
4764
|
-
let s =
|
|
4704
|
+
let i = e.getBoundingClientRect(), a = ss(e), o = Pr(1);
|
|
4705
|
+
t && (r ? m(r) && (o = cs(r)) : o = cs(e));
|
|
4706
|
+
let s = ds(a, n, r) ? us(a) : Pr(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, f = i.height / o.y;
|
|
4765
4707
|
if (a && r) {
|
|
4766
4708
|
let e = d(a), t = m(r) ? d(r) : r, n = e, i = N(n);
|
|
4767
4709
|
for (; i && t !== n;) {
|
|
4768
|
-
let e =
|
|
4710
|
+
let e = cs(i), t = i.getBoundingClientRect(), r = O(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
4769
4711
|
c *= e.x, l *= e.y, u *= e.x, f *= e.y, c += a, l += o, n = d(i), i = N(n);
|
|
4770
4712
|
}
|
|
4771
4713
|
}
|
|
@@ -4776,18 +4718,18 @@ function gs(e, t, n, r) {
|
|
|
4776
4718
|
y: l
|
|
4777
4719
|
});
|
|
4778
4720
|
}
|
|
4779
|
-
function
|
|
4721
|
+
function ps(e, t) {
|
|
4780
4722
|
let n = k(e).scrollLeft;
|
|
4781
|
-
return t ? t.left + n :
|
|
4723
|
+
return t ? t.left + n : fs(f(e)).left + n;
|
|
4782
4724
|
}
|
|
4783
|
-
function
|
|
4725
|
+
function ms(e, t) {
|
|
4784
4726
|
let n = e.getBoundingClientRect();
|
|
4785
4727
|
return {
|
|
4786
|
-
x: n.left + t.scrollLeft -
|
|
4728
|
+
x: n.left + t.scrollLeft - ps(e, n),
|
|
4787
4729
|
y: n.top + t.scrollTop
|
|
4788
4730
|
};
|
|
4789
4731
|
}
|
|
4790
|
-
function
|
|
4732
|
+
function hs(e) {
|
|
4791
4733
|
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = f(r), s = t ? y(t.floating) : !1;
|
|
4792
4734
|
if (r === o || s && a) return n;
|
|
4793
4735
|
let c = {
|
|
@@ -4795,10 +4737,10 @@ function ys(e) {
|
|
|
4795
4737
|
scrollTop: 0
|
|
4796
4738
|
}, l = Pr(1), d = Pr(0), p = h(r);
|
|
4797
4739
|
if ((p || !a) && ((u(r) !== "body" || _(o)) && (c = k(r)), p)) {
|
|
4798
|
-
let e =
|
|
4799
|
-
l =
|
|
4740
|
+
let e = fs(r);
|
|
4741
|
+
l = cs(r), d.x = e.x + r.clientLeft, d.y = e.y + r.clientTop;
|
|
4800
4742
|
}
|
|
4801
|
-
let m = o && !p && !a ?
|
|
4743
|
+
let m = o && !p && !a ? ms(o, c) : Pr(0);
|
|
4802
4744
|
return {
|
|
4803
4745
|
width: n.width * l.x,
|
|
4804
4746
|
height: n.height * l.y,
|
|
@@ -4806,11 +4748,11 @@ function ys(e) {
|
|
|
4806
4748
|
y: n.y * l.y - c.scrollTop * l.y + d.y + m.y
|
|
4807
4749
|
};
|
|
4808
4750
|
}
|
|
4809
|
-
function
|
|
4751
|
+
function gs(e) {
|
|
4810
4752
|
return e.getClientRects ? Array.from(e.getClientRects()) : [];
|
|
4811
4753
|
}
|
|
4812
|
-
function
|
|
4813
|
-
let t = k(e), n = e.ownerDocument.body, r = jr(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = jr(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft +
|
|
4754
|
+
function _s(e) {
|
|
4755
|
+
let t = k(e), n = e.ownerDocument.body, r = jr(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = jr(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft + ps(e), o = -t.scrollTop;
|
|
4814
4756
|
return O(n).direction === "rtl" && (a += jr(e.clientWidth, n.clientWidth) - r), {
|
|
4815
4757
|
width: r,
|
|
4816
4758
|
height: i,
|
|
@@ -4818,17 +4760,17 @@ function xs(e) {
|
|
|
4818
4760
|
y: o
|
|
4819
4761
|
};
|
|
4820
4762
|
}
|
|
4821
|
-
var
|
|
4822
|
-
function
|
|
4763
|
+
var vs = 25;
|
|
4764
|
+
function ys(e, t, n) {
|
|
4823
4765
|
n === void 0 && (n = "viewport");
|
|
4824
4766
|
let r = n === "layoutViewport", i = d(e), a = f(e), o = i.visualViewport, s = a.clientWidth, c = a.clientHeight, l = 0, u = 0;
|
|
4825
4767
|
if (o) {
|
|
4826
4768
|
let e = !E() || t === "fixed";
|
|
4827
4769
|
r ? e || (l = -o.offsetLeft, u = -o.offsetTop) : (s = o.width, c = o.height, e && (l = o.offsetLeft, u = o.offsetTop));
|
|
4828
4770
|
}
|
|
4829
|
-
if (
|
|
4771
|
+
if (ps(a) <= 0) {
|
|
4830
4772
|
let e = a.ownerDocument, t = e.body, n = getComputedStyle(t), r = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, i = Math.abs(a.clientWidth - t.clientWidth - r), o = getComputedStyle(a).scrollbarGutter === "stable both-edges" ? i / 2 : i;
|
|
4831
|
-
o <=
|
|
4773
|
+
o <= vs && (s -= o);
|
|
4832
4774
|
}
|
|
4833
4775
|
return {
|
|
4834
4776
|
width: s,
|
|
@@ -4837,8 +4779,8 @@ function Cs(e, t, n) {
|
|
|
4837
4779
|
y: u
|
|
4838
4780
|
};
|
|
4839
4781
|
}
|
|
4840
|
-
function
|
|
4841
|
-
let n =
|
|
4782
|
+
function bs(e, t) {
|
|
4783
|
+
let n = fs(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = cs(e);
|
|
4842
4784
|
return {
|
|
4843
4785
|
width: e.clientWidth * a.x,
|
|
4844
4786
|
height: e.clientHeight * a.y,
|
|
@@ -4846,13 +4788,13 @@ function ws(e, t) {
|
|
|
4846
4788
|
y: r * a.y
|
|
4847
4789
|
};
|
|
4848
4790
|
}
|
|
4849
|
-
function
|
|
4791
|
+
function xs(e, t, n) {
|
|
4850
4792
|
let r;
|
|
4851
|
-
if (t === "viewport" || t === "layoutViewport") r =
|
|
4852
|
-
else if (t === "document") r =
|
|
4853
|
-
else if (m(t)) r =
|
|
4793
|
+
if (t === "viewport" || t === "layoutViewport") r = ys(e, n, t);
|
|
4794
|
+
else if (t === "document") r = _s(f(e));
|
|
4795
|
+
else if (m(t)) r = bs(t, n);
|
|
4854
4796
|
else {
|
|
4855
|
-
let n =
|
|
4797
|
+
let n = us(e);
|
|
4856
4798
|
r = {
|
|
4857
4799
|
x: t.x - n.x,
|
|
4858
4800
|
y: t.y - n.y,
|
|
@@ -4862,7 +4804,7 @@ function Ts(e, t, n) {
|
|
|
4862
4804
|
}
|
|
4863
4805
|
return ni(r);
|
|
4864
4806
|
}
|
|
4865
|
-
function
|
|
4807
|
+
function Ss(e, t) {
|
|
4866
4808
|
let n = t.get(e);
|
|
4867
4809
|
if (n) return n;
|
|
4868
4810
|
let r = M(e, [], !1).filter((e) => m(e) && u(e) !== "body"), i = null, a = O(e).position === "fixed", o = a ? A(e) : e;
|
|
@@ -4872,10 +4814,10 @@ function Es(e, t) {
|
|
|
4872
4814
|
}
|
|
4873
4815
|
return t.set(e, r), r;
|
|
4874
4816
|
}
|
|
4875
|
-
function
|
|
4876
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? y(t) ? [] :
|
|
4817
|
+
function Cs(e) {
|
|
4818
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? y(t) ? [] : Ss(t, this._c) : [].concat(n), r], o = xs(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
4877
4819
|
for (let e = 1; e < a.length; e++) {
|
|
4878
|
-
let n =
|
|
4820
|
+
let n = xs(t, a[e], i);
|
|
4879
4821
|
s = jr(n.top, s), c = Ar(n.right, c), l = Ar(n.bottom, l), u = jr(n.left, u);
|
|
4880
4822
|
}
|
|
4881
4823
|
return {
|
|
@@ -4885,24 +4827,24 @@ function Ds(e) {
|
|
|
4885
4827
|
y: s
|
|
4886
4828
|
};
|
|
4887
4829
|
}
|
|
4888
|
-
function
|
|
4889
|
-
let { width: t, height: n } =
|
|
4830
|
+
function ws(e) {
|
|
4831
|
+
let { width: t, height: n } = os(e);
|
|
4890
4832
|
return {
|
|
4891
4833
|
width: t,
|
|
4892
4834
|
height: n
|
|
4893
4835
|
};
|
|
4894
4836
|
}
|
|
4895
|
-
function
|
|
4896
|
-
let r = h(t), i = f(t), a = n === "fixed", o =
|
|
4837
|
+
function Ts(e, t, n) {
|
|
4838
|
+
let r = h(t), i = f(t), a = n === "fixed", o = fs(e, !0, a, t), s = {
|
|
4897
4839
|
scrollLeft: 0,
|
|
4898
4840
|
scrollTop: 0
|
|
4899
4841
|
}, c = Pr(0);
|
|
4900
4842
|
if ((r || !a) && ((u(t) !== "body" || _(i)) && (s = k(t)), r)) {
|
|
4901
|
-
let e =
|
|
4843
|
+
let e = fs(t, !0, a, t);
|
|
4902
4844
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
4903
4845
|
}
|
|
4904
|
-
!r && i && (c.x =
|
|
4905
|
-
let l = i && !r && !a ?
|
|
4846
|
+
!r && i && (c.x = ps(i));
|
|
4847
|
+
let l = i && !r && !a ? ms(i, s) : Pr(0);
|
|
4906
4848
|
return {
|
|
4907
4849
|
x: o.left + s.scrollLeft - c.x - l.x,
|
|
4908
4850
|
y: o.top + s.scrollTop - c.y - l.y,
|
|
@@ -4910,34 +4852,34 @@ function ks(e, t, n) {
|
|
|
4910
4852
|
height: o.height
|
|
4911
4853
|
};
|
|
4912
4854
|
}
|
|
4913
|
-
function
|
|
4855
|
+
function Es(e) {
|
|
4914
4856
|
return O(e).position === "static";
|
|
4915
4857
|
}
|
|
4916
|
-
function
|
|
4858
|
+
function Ds(e, t) {
|
|
4917
4859
|
if (!h(e) || O(e).position === "fixed") return null;
|
|
4918
4860
|
if (t) return t(e);
|
|
4919
4861
|
let n = e.offsetParent;
|
|
4920
4862
|
return f(e) === n && (n = n.ownerDocument.body), n;
|
|
4921
4863
|
}
|
|
4922
|
-
function
|
|
4864
|
+
function Os(e, t) {
|
|
4923
4865
|
let n = d(e);
|
|
4924
4866
|
if (y(e)) return n;
|
|
4925
4867
|
if (!h(e)) {
|
|
4926
4868
|
let t = A(e);
|
|
4927
4869
|
for (; t && !D(t);) {
|
|
4928
|
-
if (m(t) && !
|
|
4870
|
+
if (m(t) && !Es(t)) return t;
|
|
4929
4871
|
t = A(t);
|
|
4930
4872
|
}
|
|
4931
4873
|
return n;
|
|
4932
4874
|
}
|
|
4933
|
-
let r =
|
|
4934
|
-
for (; r && v(r) &&
|
|
4935
|
-
return r && D(r) &&
|
|
4875
|
+
let r = Ds(e, t);
|
|
4876
|
+
for (; r && v(r) && Es(r);) r = Ds(r, t);
|
|
4877
|
+
return r && D(r) && Es(r) && !w(r) ? n : r || T(e) || n;
|
|
4936
4878
|
}
|
|
4937
|
-
var
|
|
4938
|
-
let t = this.getOffsetParent ||
|
|
4879
|
+
var ks = async function(e) {
|
|
4880
|
+
let t = this.getOffsetParent || Os, n = this.getDimensions, r = await n(e.floating);
|
|
4939
4881
|
return {
|
|
4940
|
-
reference:
|
|
4882
|
+
reference: Ts(e.reference, await t(e.floating), e.strategy),
|
|
4941
4883
|
floating: {
|
|
4942
4884
|
x: 0,
|
|
4943
4885
|
y: 0,
|
|
@@ -4946,25 +4888,25 @@ var Ns = async function(e) {
|
|
|
4946
4888
|
}
|
|
4947
4889
|
};
|
|
4948
4890
|
};
|
|
4949
|
-
function
|
|
4891
|
+
function As(e) {
|
|
4950
4892
|
return O(e).direction === "rtl";
|
|
4951
4893
|
}
|
|
4952
|
-
var
|
|
4953
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
4894
|
+
var js = {
|
|
4895
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: hs,
|
|
4954
4896
|
getDocumentElement: f,
|
|
4955
|
-
getClippingRect:
|
|
4956
|
-
getOffsetParent:
|
|
4957
|
-
getElementRects:
|
|
4958
|
-
getClientRects:
|
|
4959
|
-
getDimensions:
|
|
4960
|
-
getScale:
|
|
4897
|
+
getClippingRect: Cs,
|
|
4898
|
+
getOffsetParent: Os,
|
|
4899
|
+
getElementRects: ks,
|
|
4900
|
+
getClientRects: gs,
|
|
4901
|
+
getDimensions: ws,
|
|
4902
|
+
getScale: cs,
|
|
4961
4903
|
isElement: m,
|
|
4962
|
-
isRTL:
|
|
4904
|
+
isRTL: As
|
|
4963
4905
|
};
|
|
4964
|
-
function
|
|
4906
|
+
function Ms(e, t) {
|
|
4965
4907
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
4966
4908
|
}
|
|
4967
|
-
function
|
|
4909
|
+
function Ns(e, t, n) {
|
|
4968
4910
|
let r = null, i, a = f(e);
|
|
4969
4911
|
function o() {
|
|
4970
4912
|
var e;
|
|
@@ -4980,7 +4922,7 @@ function Ls(e, t, n) {
|
|
|
4980
4922
|
}, y = !0;
|
|
4981
4923
|
function b(t) {
|
|
4982
4924
|
let n = t[0].intersectionRatio;
|
|
4983
|
-
if (!
|
|
4925
|
+
if (!Ms(l, e.getBoundingClientRect())) return s();
|
|
4984
4926
|
if (n !== c) {
|
|
4985
4927
|
if (!y) return s();
|
|
4986
4928
|
n ? s(!1, n) : i = setTimeout(() => {
|
|
@@ -5004,13 +4946,13 @@ function Ls(e, t, n) {
|
|
|
5004
4946
|
c.removeEventListener("resize", l), o();
|
|
5005
4947
|
};
|
|
5006
4948
|
}
|
|
5007
|
-
function
|
|
4949
|
+
function Ps(e, t, n, r) {
|
|
5008
4950
|
r === void 0 && (r = {});
|
|
5009
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
4951
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = ss(e), u = i || a ? [...l ? M(l) : [], ...t ? M(t) : []] : [];
|
|
5010
4952
|
u.forEach((e) => {
|
|
5011
4953
|
i && e.addEventListener("scroll", n), a && e.addEventListener("resize", n);
|
|
5012
4954
|
});
|
|
5013
|
-
let d = l && s ?
|
|
4955
|
+
let d = l && s ? Ns(l, n, a) : null, f = -1, p = null;
|
|
5014
4956
|
o && (p = new ResizeObserver((e) => {
|
|
5015
4957
|
let [r] = e;
|
|
5016
4958
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -5018,11 +4960,11 @@ function Rs(e, t, n, r) {
|
|
|
5018
4960
|
(e = p) == null || e.observe(t);
|
|
5019
4961
|
})), n();
|
|
5020
4962
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
5021
|
-
let m, h = c ?
|
|
4963
|
+
let m, h = c ? fs(e) : null;
|
|
5022
4964
|
c && g();
|
|
5023
4965
|
function g() {
|
|
5024
|
-
let t =
|
|
5025
|
-
h && !
|
|
4966
|
+
let t = fs(e);
|
|
4967
|
+
h && !Ms(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
5026
4968
|
}
|
|
5027
4969
|
return n(), () => {
|
|
5028
4970
|
var e;
|
|
@@ -5031,18 +4973,18 @@ function Rs(e, t, n, r) {
|
|
|
5031
4973
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
5032
4974
|
};
|
|
5033
4975
|
}
|
|
5034
|
-
var
|
|
4976
|
+
var Fs = ns, Is = rs, Ls = Xo, Rs = as, zs = $o, Bs = is, Vs = (e, t, n) => {
|
|
5035
4977
|
let r = /* @__PURE__ */ new Map(), i = n ?? {}, a = {
|
|
5036
|
-
...
|
|
4978
|
+
...js,
|
|
5037
4979
|
...i.platform,
|
|
5038
4980
|
_c: r
|
|
5039
4981
|
};
|
|
5040
|
-
return
|
|
4982
|
+
return Yo(e, t, {
|
|
5041
4983
|
...i,
|
|
5042
4984
|
platform: a
|
|
5043
4985
|
});
|
|
5044
|
-
},
|
|
5045
|
-
function
|
|
4986
|
+
}, Hs = typeof document < "u" ? a : function() {};
|
|
4987
|
+
function Us(e, t) {
|
|
5046
4988
|
if (e === t) return !0;
|
|
5047
4989
|
if (typeof e != typeof t) return !1;
|
|
5048
4990
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -5050,33 +4992,33 @@ function qs(e, t) {
|
|
|
5050
4992
|
if (e && t && typeof e == "object") {
|
|
5051
4993
|
if (Array.isArray(e)) {
|
|
5052
4994
|
if (n = e.length, n !== t.length) return !1;
|
|
5053
|
-
for (r = n; r-- !== 0;) if (!
|
|
4995
|
+
for (r = n; r-- !== 0;) if (!Us(e[r], t[r])) return !1;
|
|
5054
4996
|
return !0;
|
|
5055
4997
|
}
|
|
5056
4998
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
5057
4999
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
5058
5000
|
for (r = n; r-- !== 0;) {
|
|
5059
5001
|
let n = i[r];
|
|
5060
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
5002
|
+
if (!(n === "_owner" && e.$$typeof) && !Us(e[n], t[n])) return !1;
|
|
5061
5003
|
}
|
|
5062
5004
|
return !0;
|
|
5063
5005
|
}
|
|
5064
5006
|
return e !== e && t !== t;
|
|
5065
5007
|
}
|
|
5066
|
-
function
|
|
5008
|
+
function Ws(e) {
|
|
5067
5009
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
5068
5010
|
}
|
|
5069
|
-
function
|
|
5070
|
-
let n =
|
|
5011
|
+
function Gs(e, t) {
|
|
5012
|
+
let n = Ws(e);
|
|
5071
5013
|
return Math.round(t * n) / n;
|
|
5072
5014
|
}
|
|
5073
|
-
function
|
|
5015
|
+
function Ks(e) {
|
|
5074
5016
|
let t = n.useRef(e);
|
|
5075
|
-
return
|
|
5017
|
+
return Hs(() => {
|
|
5076
5018
|
t.current = e;
|
|
5077
5019
|
}), t;
|
|
5078
5020
|
}
|
|
5079
|
-
function
|
|
5021
|
+
function qs(e) {
|
|
5080
5022
|
e === void 0 && (e = {});
|
|
5081
5023
|
let { placement: t = "bottom", strategy: r = "absolute", middleware: i = [], platform: a, elements: { reference: o, floating: s } = {}, transform: l = !0, whileElementsMounted: u, open: d } = e, [f, p] = n.useState({
|
|
5082
5024
|
x: 0,
|
|
@@ -5086,24 +5028,24 @@ function Zs(e) {
|
|
|
5086
5028
|
middlewareData: {},
|
|
5087
5029
|
isPositioned: !1
|
|
5088
5030
|
}), [m, h] = n.useState(i);
|
|
5089
|
-
|
|
5031
|
+
Us(m, i) || h(i);
|
|
5090
5032
|
let [g, _] = n.useState(null), [v, y] = n.useState(null), b = n.useCallback((e) => {
|
|
5091
5033
|
e !== w.current && (w.current = e, _(e));
|
|
5092
5034
|
}, []), x = n.useCallback((e) => {
|
|
5093
5035
|
e !== T.current && (T.current = e, y(e));
|
|
5094
|
-
}, []), S = o || g, C = s || v, w = n.useRef(null), T = n.useRef(null), E = n.useRef(f), D = u != null, O =
|
|
5036
|
+
}, []), S = o || g, C = s || v, w = n.useRef(null), T = n.useRef(null), E = n.useRef(f), D = u != null, O = Ks(u), k = Ks(a), A = Ks(d), j = n.useCallback(() => {
|
|
5095
5037
|
if (!w.current || !T.current) return;
|
|
5096
5038
|
let e = {
|
|
5097
5039
|
placement: t,
|
|
5098
5040
|
strategy: r,
|
|
5099
5041
|
middleware: m
|
|
5100
5042
|
};
|
|
5101
|
-
k.current && (e.platform = k.current),
|
|
5043
|
+
k.current && (e.platform = k.current), Vs(w.current, T.current, e).then((e) => {
|
|
5102
5044
|
let t = {
|
|
5103
5045
|
...e,
|
|
5104
5046
|
isPositioned: A.current !== !1
|
|
5105
5047
|
};
|
|
5106
|
-
M.current && !
|
|
5048
|
+
M.current && !Us(E.current, t) && (E.current = t, c.flushSync(() => {
|
|
5107
5049
|
p(t);
|
|
5108
5050
|
}));
|
|
5109
5051
|
});
|
|
@@ -5114,16 +5056,16 @@ function Zs(e) {
|
|
|
5114
5056
|
k,
|
|
5115
5057
|
A
|
|
5116
5058
|
]);
|
|
5117
|
-
|
|
5059
|
+
Hs(() => {
|
|
5118
5060
|
d === !1 && E.current.isPositioned && (E.current.isPositioned = !1, p((e) => ({
|
|
5119
5061
|
...e,
|
|
5120
5062
|
isPositioned: !1
|
|
5121
5063
|
})));
|
|
5122
5064
|
}, [d]);
|
|
5123
5065
|
let M = n.useRef(!1);
|
|
5124
|
-
|
|
5066
|
+
Hs(() => (M.current = !0, () => {
|
|
5125
5067
|
M.current = !1;
|
|
5126
|
-
}), []),
|
|
5068
|
+
}), []), Hs(() => {
|
|
5127
5069
|
if (S && (w.current = S), C && (T.current = C), S && C) {
|
|
5128
5070
|
if (O.current) return O.current(S, C, j);
|
|
5129
5071
|
j();
|
|
@@ -5150,11 +5092,11 @@ function Zs(e) {
|
|
|
5150
5092
|
top: 0
|
|
5151
5093
|
};
|
|
5152
5094
|
if (!P.floating) return e;
|
|
5153
|
-
let t =
|
|
5095
|
+
let t = Gs(P.floating, f.x), n = Gs(P.floating, f.y);
|
|
5154
5096
|
return l ? {
|
|
5155
5097
|
...e,
|
|
5156
5098
|
transform: "translate(" + t + "px, " + n + "px)",
|
|
5157
|
-
...
|
|
5099
|
+
...Ws(P.floating) >= 1.5 && { willChange: "transform" }
|
|
5158
5100
|
} : {
|
|
5159
5101
|
position: r,
|
|
5160
5102
|
left: t,
|
|
@@ -5181,39 +5123,39 @@ function Zs(e) {
|
|
|
5181
5123
|
F
|
|
5182
5124
|
]);
|
|
5183
5125
|
}
|
|
5184
|
-
var
|
|
5185
|
-
let n =
|
|
5126
|
+
var Js = (e, t) => {
|
|
5127
|
+
let n = Fs(e);
|
|
5186
5128
|
return {
|
|
5187
5129
|
name: n.name,
|
|
5188
5130
|
fn: n.fn,
|
|
5189
5131
|
options: [e, t]
|
|
5190
5132
|
};
|
|
5191
|
-
},
|
|
5192
|
-
let n =
|
|
5133
|
+
}, Ys = (e, t) => {
|
|
5134
|
+
let n = Is(e);
|
|
5193
5135
|
return {
|
|
5194
5136
|
name: n.name,
|
|
5195
5137
|
fn: n.fn,
|
|
5196
5138
|
options: [e, t]
|
|
5197
5139
|
};
|
|
5198
|
-
},
|
|
5199
|
-
fn:
|
|
5140
|
+
}, Xs = (e, t) => ({
|
|
5141
|
+
fn: Bs(e).fn,
|
|
5200
5142
|
options: [e, t]
|
|
5201
|
-
}),
|
|
5202
|
-
let n =
|
|
5143
|
+
}), Zs = (e, t) => {
|
|
5144
|
+
let n = Ls(e);
|
|
5203
5145
|
return {
|
|
5204
5146
|
name: n.name,
|
|
5205
5147
|
fn: n.fn,
|
|
5206
5148
|
options: [e, t]
|
|
5207
5149
|
};
|
|
5208
|
-
},
|
|
5209
|
-
let n =
|
|
5150
|
+
}, Qs = (e, t) => {
|
|
5151
|
+
let n = Rs(e);
|
|
5210
5152
|
return {
|
|
5211
5153
|
name: n.name,
|
|
5212
5154
|
fn: n.fn,
|
|
5213
5155
|
options: [e, t]
|
|
5214
5156
|
};
|
|
5215
|
-
},
|
|
5216
|
-
let n =
|
|
5157
|
+
}, $s = (e, t) => {
|
|
5158
|
+
let n = zs(e);
|
|
5217
5159
|
return {
|
|
5218
5160
|
name: n.name,
|
|
5219
5161
|
fn: n.fn,
|
|
@@ -5230,10 +5172,10 @@ var Qs = (e, t) => {
|
|
|
5230
5172
|
else if (e) s = e;
|
|
5231
5173
|
else throw Error("Missing arguments");
|
|
5232
5174
|
return s;
|
|
5233
|
-
},
|
|
5175
|
+
}, ec = /* @__PURE__ */ t(((e, t) => {
|
|
5234
5176
|
t.exports = { ...n };
|
|
5235
|
-
})),
|
|
5236
|
-
var t =
|
|
5177
|
+
})), tc = /* @__PURE__ */ t(((e) => {
|
|
5178
|
+
var t = ec();
|
|
5237
5179
|
function n(e, t) {
|
|
5238
5180
|
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
|
|
5239
5181
|
}
|
|
@@ -5270,7 +5212,7 @@ var Qs = (e, t) => {
|
|
|
5270
5212
|
}
|
|
5271
5213
|
var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;
|
|
5272
5214
|
e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;
|
|
5273
|
-
})),
|
|
5215
|
+
})), nc = /* @__PURE__ */ t(((e) => {
|
|
5274
5216
|
process.env.NODE_ENV !== "production" && (function() {
|
|
5275
5217
|
function t(e, t) {
|
|
5276
5218
|
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
|
|
@@ -5313,13 +5255,13 @@ var Qs = (e, t) => {
|
|
|
5313
5255
|
return t();
|
|
5314
5256
|
}
|
|
5315
5257
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
5316
|
-
var a =
|
|
5258
|
+
var a = ec(), o = typeof Object.is == "function" ? Object.is : t, s = a.useState, c = a.useEffect, l = a.useLayoutEffect, u = a.useDebugValue, d = !1, f = !1, p = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? i : n;
|
|
5317
5259
|
e.useSyncExternalStore = a.useSyncExternalStore === void 0 ? p : a.useSyncExternalStore, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
5318
5260
|
})();
|
|
5319
|
-
})),
|
|
5320
|
-
t.exports = process.env.NODE_ENV === "production" ?
|
|
5321
|
-
})),
|
|
5322
|
-
var t =
|
|
5261
|
+
})), rc = /* @__PURE__ */ t(((e, t) => {
|
|
5262
|
+
t.exports = process.env.NODE_ENV === "production" ? tc() : nc();
|
|
5263
|
+
})), ic = /* @__PURE__ */ t(((e) => {
|
|
5264
|
+
var t = ec(), n = rc();
|
|
5323
5265
|
function r(e, t) {
|
|
5324
5266
|
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
|
|
5325
5267
|
}
|
|
@@ -5363,13 +5305,13 @@ var Qs = (e, t) => {
|
|
|
5363
5305
|
f.hasValue = !0, f.value = p;
|
|
5364
5306
|
}, [p]), l(p), p;
|
|
5365
5307
|
};
|
|
5366
|
-
})),
|
|
5308
|
+
})), ac = /* @__PURE__ */ t(((e) => {
|
|
5367
5309
|
process.env.NODE_ENV !== "production" && (function() {
|
|
5368
5310
|
function t(e, t) {
|
|
5369
5311
|
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
|
|
5370
5312
|
}
|
|
5371
5313
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
5372
|
-
var n =
|
|
5314
|
+
var n = ec(), r = rc(), i = typeof Object.is == "function" ? Object.is : t, a = r.useSyncExternalStore, o = n.useRef, s = n.useEffect, c = n.useMemo, l = n.useDebugValue;
|
|
5373
5315
|
e.useSyncExternalStoreWithSelector = function(e, t, n, r, u) {
|
|
5374
5316
|
var d = o(null);
|
|
5375
5317
|
if (d.current === null) {
|
|
@@ -5410,44 +5352,44 @@ var Qs = (e, t) => {
|
|
|
5410
5352
|
}, [p]), l(p), p;
|
|
5411
5353
|
}, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
5412
5354
|
})();
|
|
5413
|
-
})),
|
|
5414
|
-
t.exports = process.env.NODE_ENV === "production" ?
|
|
5415
|
-
})),
|
|
5416
|
-
function
|
|
5417
|
-
return
|
|
5355
|
+
})), oc = /* @__PURE__ */ t(((e, t) => {
|
|
5356
|
+
t.exports = process.env.NODE_ENV === "production" ? ic() : ac();
|
|
5357
|
+
})), sc = rc(), cc = /* @__PURE__ */ e(oc()), lc = [], uc = void 0;
|
|
5358
|
+
function dc() {
|
|
5359
|
+
return uc;
|
|
5418
5360
|
}
|
|
5419
|
-
function
|
|
5420
|
-
|
|
5361
|
+
function fc(e) {
|
|
5362
|
+
lc.push(e);
|
|
5421
5363
|
}
|
|
5422
|
-
function
|
|
5364
|
+
function pc(e) {
|
|
5423
5365
|
let t = (t, n) => {
|
|
5424
|
-
let r = F(
|
|
5366
|
+
let r = F(hc).current, i;
|
|
5425
5367
|
try {
|
|
5426
|
-
|
|
5427
|
-
for (let e of
|
|
5368
|
+
uc = r;
|
|
5369
|
+
for (let e of lc) e.before(r);
|
|
5428
5370
|
i = e(t, n);
|
|
5429
|
-
for (let e of
|
|
5371
|
+
for (let e of lc) e.after(r);
|
|
5430
5372
|
r.didInitialize = !0;
|
|
5431
5373
|
} finally {
|
|
5432
|
-
|
|
5374
|
+
uc = void 0;
|
|
5433
5375
|
}
|
|
5434
5376
|
return i;
|
|
5435
5377
|
};
|
|
5436
5378
|
return t.displayName = e.displayName || e.name, t;
|
|
5437
5379
|
}
|
|
5438
|
-
function
|
|
5439
|
-
return /*#__PURE__*/ n.forwardRef(
|
|
5380
|
+
function mc(e) {
|
|
5381
|
+
return /*#__PURE__*/ n.forwardRef(pc(e));
|
|
5440
5382
|
}
|
|
5441
|
-
function
|
|
5383
|
+
function hc() {
|
|
5442
5384
|
return { didInitialize: !1 };
|
|
5443
5385
|
}
|
|
5444
5386
|
//#endregion
|
|
5445
5387
|
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/store/useStore.js
|
|
5446
|
-
var
|
|
5447
|
-
function
|
|
5448
|
-
return
|
|
5388
|
+
var gc = ke(19) ? yc : bc;
|
|
5389
|
+
function _c(e, t, n, r, i) {
|
|
5390
|
+
return gc(e, t, n, r, i);
|
|
5449
5391
|
}
|
|
5450
|
-
function
|
|
5392
|
+
function vc(e, t, r, i, a) {
|
|
5451
5393
|
let o = n.useCallback(() => t(e.getSnapshot(), r, i, a), [
|
|
5452
5394
|
e,
|
|
5453
5395
|
t,
|
|
@@ -5455,9 +5397,9 @@ function Sc(e, t, r, i, a) {
|
|
|
5455
5397
|
i,
|
|
5456
5398
|
a
|
|
5457
5399
|
]);
|
|
5458
|
-
return (0,
|
|
5400
|
+
return (0, sc.useSyncExternalStore)(e.subscribe, o, o);
|
|
5459
5401
|
}
|
|
5460
|
-
|
|
5402
|
+
fc({
|
|
5461
5403
|
before(e) {
|
|
5462
5404
|
e.syncIndex = 0, e.didInitialize || (e.syncTick = 1, e.syncHooks = [], e.didChangeStore = !0, e.getSnapshot = () => {
|
|
5463
5405
|
let t = !1;
|
|
@@ -5477,12 +5419,12 @@ gc({
|
|
|
5477
5419
|
return () => {
|
|
5478
5420
|
for (let e of r) e();
|
|
5479
5421
|
};
|
|
5480
|
-
}), (0,
|
|
5422
|
+
}), (0, sc.useSyncExternalStore)(e.subscribe, e.getSnapshot, e.getSnapshot));
|
|
5481
5423
|
}
|
|
5482
5424
|
});
|
|
5483
|
-
function
|
|
5484
|
-
let a =
|
|
5485
|
-
if (!a) return
|
|
5425
|
+
function yc(e, t, n, r, i) {
|
|
5426
|
+
let a = dc();
|
|
5427
|
+
if (!a) return vc(e, t, n, r, i);
|
|
5486
5428
|
let o = a.syncIndex;
|
|
5487
5429
|
a.syncIndex += 1;
|
|
5488
5430
|
let s;
|
|
@@ -5496,12 +5438,12 @@ function Cc(e, t, n, r, i) {
|
|
|
5496
5438
|
didChange: !1
|
|
5497
5439
|
}, a.syncHooks.push(s)), s.value;
|
|
5498
5440
|
}
|
|
5499
|
-
function
|
|
5500
|
-
return (0,
|
|
5441
|
+
function bc(e, t, n, r, i) {
|
|
5442
|
+
return (0, cc.useSyncExternalStoreWithSelector)(e.subscribe, e.getSnapshot, e.getSnapshot, (e) => t(e, n, r, i));
|
|
5501
5443
|
}
|
|
5502
5444
|
//#endregion
|
|
5503
5445
|
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/store/Store.js
|
|
5504
|
-
var
|
|
5446
|
+
var xc = class {
|
|
5505
5447
|
constructor(e) {
|
|
5506
5448
|
this.state = e, this.listeners = /* @__PURE__ */ new Set(), this.updateTick = 0;
|
|
5507
5449
|
}
|
|
@@ -5538,9 +5480,9 @@ var Tc = class {
|
|
|
5538
5480
|
this.setState(e);
|
|
5539
5481
|
}
|
|
5540
5482
|
use(e, t, n, r) {
|
|
5541
|
-
return
|
|
5483
|
+
return _c(this, e, t, n, r);
|
|
5542
5484
|
}
|
|
5543
|
-
},
|
|
5485
|
+
}, Sc = class extends xc {
|
|
5544
5486
|
constructor(e, t = {}, n) {
|
|
5545
5487
|
super(e), this.context = t, this.selectors = n;
|
|
5546
5488
|
}
|
|
@@ -5594,7 +5536,7 @@ var Tc = class {
|
|
|
5594
5536
|
return i(this.state, t, n, r);
|
|
5595
5537
|
}
|
|
5596
5538
|
useState(e, t, r, i) {
|
|
5597
|
-
return n.useDebugValue(e),
|
|
5539
|
+
return n.useDebugValue(e), _c(this, this.selectors[e], t, r, i);
|
|
5598
5540
|
}
|
|
5599
5541
|
useContextCallback(e, t) {
|
|
5600
5542
|
n.useDebugValue(e);
|
|
@@ -5619,14 +5561,14 @@ var Tc = class {
|
|
|
5619
5561
|
}
|
|
5620
5562
|
});
|
|
5621
5563
|
}
|
|
5622
|
-
},
|
|
5564
|
+
}, Cc = {
|
|
5623
5565
|
open: $((e) => e.open),
|
|
5624
5566
|
transitionStatus: $((e) => e.transitionStatus),
|
|
5625
5567
|
domReferenceElement: $((e) => e.domReferenceElement),
|
|
5626
5568
|
referenceElement: $((e) => e.positionReference ?? e.referenceElement),
|
|
5627
5569
|
floatingElement: $((e) => e.floatingElement),
|
|
5628
5570
|
floatingId: $((e) => e.floatingId)
|
|
5629
|
-
},
|
|
5571
|
+
}, wc = class extends Sc {
|
|
5630
5572
|
constructor(e) {
|
|
5631
5573
|
let { syncOnly: t, nested: n, onOpenChange: r, triggerElements: i, ...a } = e;
|
|
5632
5574
|
super({
|
|
@@ -5636,10 +5578,10 @@ var Tc = class {
|
|
|
5636
5578
|
}, {
|
|
5637
5579
|
onOpenChange: r,
|
|
5638
5580
|
dataRef: { current: {} },
|
|
5639
|
-
events:
|
|
5581
|
+
events: Co(),
|
|
5640
5582
|
nested: n,
|
|
5641
5583
|
triggerElements: i
|
|
5642
|
-
},
|
|
5584
|
+
}, Cc), this.syncOnly = t;
|
|
5643
5585
|
}
|
|
5644
5586
|
syncOpenEvent = (e, t) => {
|
|
5645
5587
|
(!e || !this.state.open || t != null && Or(t)) && (this.context.dataRef.current.openEvent = e ? t : void 0);
|
|
@@ -5665,7 +5607,7 @@ var Tc = class {
|
|
|
5665
5607
|
};
|
|
5666
5608
|
//#endregion
|
|
5667
5609
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/popups/popupStoreUtils.js
|
|
5668
|
-
function
|
|
5610
|
+
function Tc(e, t) {
|
|
5669
5611
|
let r = n.useRef(null), i = n.useRef(null);
|
|
5670
5612
|
return n.useCallback((n) => {
|
|
5671
5613
|
if (e !== void 0) {
|
|
@@ -5677,8 +5619,8 @@ function kc(e, t) {
|
|
|
5677
5619
|
}
|
|
5678
5620
|
}, [t, e]);
|
|
5679
5621
|
}
|
|
5680
|
-
function
|
|
5681
|
-
let i = n.useState("isMountedByTrigger", e), a =
|
|
5622
|
+
function Ec(e, t, n, r) {
|
|
5623
|
+
let i = n.useState("isMountedByTrigger", e), a = Tc(e, n), o = R((t) => {
|
|
5682
5624
|
if (a(t), !t || !n.select("open")) return;
|
|
5683
5625
|
let i = n.select("activeTriggerId");
|
|
5684
5626
|
if (i === e) {
|
|
@@ -5709,7 +5651,7 @@ function Ac(e, t, n, r) {
|
|
|
5709
5651
|
isMountedByThisTrigger: i
|
|
5710
5652
|
};
|
|
5711
5653
|
}
|
|
5712
|
-
function
|
|
5654
|
+
function Dc(e) {
|
|
5713
5655
|
let t = e.useState("open");
|
|
5714
5656
|
U(() => {
|
|
5715
5657
|
if (t && !e.select("activeTriggerId") && e.context.triggerElements.size === 1) {
|
|
@@ -5724,7 +5666,7 @@ function jc(e) {
|
|
|
5724
5666
|
}
|
|
5725
5667
|
}, [t, e]);
|
|
5726
5668
|
}
|
|
5727
|
-
function
|
|
5669
|
+
function Oc(e, t, n) {
|
|
5728
5670
|
let { mounted: r, setMounted: i, transitionStatus: a } = ra(e);
|
|
5729
5671
|
t.useSyncedValues({
|
|
5730
5672
|
mounted: r,
|
|
@@ -5751,7 +5693,7 @@ function Mc(e, t, n) {
|
|
|
5751
5693
|
}
|
|
5752
5694
|
//#endregion
|
|
5753
5695
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/popups/popupTriggerMap.js
|
|
5754
|
-
var
|
|
5696
|
+
var kc = class {
|
|
5755
5697
|
constructor() {
|
|
5756
5698
|
this.elementsSet = /* @__PURE__ */ new Set(), this.idMap = /* @__PURE__ */ new Map();
|
|
5757
5699
|
}
|
|
@@ -5785,13 +5727,13 @@ var Nc = class {
|
|
|
5785
5727
|
};
|
|
5786
5728
|
//#endregion
|
|
5787
5729
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/utils/getEmptyRootContext.js
|
|
5788
|
-
function
|
|
5789
|
-
return new
|
|
5730
|
+
function Ac() {
|
|
5731
|
+
return new wc({
|
|
5790
5732
|
open: !1,
|
|
5791
5733
|
transitionStatus: void 0,
|
|
5792
5734
|
floatingElement: null,
|
|
5793
5735
|
referenceElement: null,
|
|
5794
|
-
triggerElements: new
|
|
5736
|
+
triggerElements: new kc(),
|
|
5795
5737
|
floatingId: "",
|
|
5796
5738
|
syncOnly: !1,
|
|
5797
5739
|
nested: !1,
|
|
@@ -5800,13 +5742,13 @@ function Pc() {
|
|
|
5800
5742
|
}
|
|
5801
5743
|
//#endregion
|
|
5802
5744
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/popups/store.js
|
|
5803
|
-
function
|
|
5745
|
+
function jc() {
|
|
5804
5746
|
return {
|
|
5805
5747
|
open: !1,
|
|
5806
5748
|
openProp: void 0,
|
|
5807
5749
|
mounted: !1,
|
|
5808
5750
|
transitionStatus: void 0,
|
|
5809
|
-
floatingRootContext:
|
|
5751
|
+
floatingRootContext: Ac(),
|
|
5810
5752
|
preventUnmountingOnClose: !1,
|
|
5811
5753
|
payload: void 0,
|
|
5812
5754
|
activeTriggerId: null,
|
|
@@ -5819,18 +5761,18 @@ function Fc() {
|
|
|
5819
5761
|
popupProps: Fe
|
|
5820
5762
|
};
|
|
5821
5763
|
}
|
|
5822
|
-
var
|
|
5764
|
+
var Mc = $((e) => e.triggerIdProp ?? e.activeTriggerId), Nc = {
|
|
5823
5765
|
open: $((e) => e.openProp ?? e.open),
|
|
5824
5766
|
mounted: $((e) => e.mounted),
|
|
5825
5767
|
transitionStatus: $((e) => e.transitionStatus),
|
|
5826
5768
|
floatingRootContext: $((e) => e.floatingRootContext),
|
|
5827
5769
|
preventUnmountingOnClose: $((e) => e.preventUnmountingOnClose),
|
|
5828
5770
|
payload: $((e) => e.payload),
|
|
5829
|
-
activeTriggerId:
|
|
5771
|
+
activeTriggerId: Mc,
|
|
5830
5772
|
activeTriggerElement: $((e) => e.mounted ? e.activeTriggerElement : null),
|
|
5831
|
-
isTriggerActive: $((e, t) => t !== void 0 &&
|
|
5832
|
-
isOpenedByTrigger: $((e, t) => t !== void 0 &&
|
|
5833
|
-
isMountedByTrigger: $((e, t) => t !== void 0 &&
|
|
5773
|
+
isTriggerActive: $((e, t) => t !== void 0 && Mc(e) === t),
|
|
5774
|
+
isOpenedByTrigger: $((e, t) => t !== void 0 && Mc(e) === t && e.open),
|
|
5775
|
+
isMountedByTrigger: $((e, t) => t !== void 0 && Mc(e) === t && e.mounted),
|
|
5834
5776
|
triggerProps: $((e, t) => t ? e.activeTriggerProps : e.inactiveTriggerProps),
|
|
5835
5777
|
popupProps: $((e) => e.popupProps),
|
|
5836
5778
|
popupElement: $((e) => e.popupElement),
|
|
@@ -5838,19 +5780,19 @@ var Ic = $((e) => e.triggerIdProp ?? e.activeTriggerId), Lc = {
|
|
|
5838
5780
|
};
|
|
5839
5781
|
//#endregion
|
|
5840
5782
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useFloatingRootContext.js
|
|
5841
|
-
function
|
|
5842
|
-
let { open: t = !1, onOpenChange: n, elements: r = {} } = e, i = Vn(), a =
|
|
5783
|
+
function Pc(e) {
|
|
5784
|
+
let { open: t = !1, onOpenChange: n, elements: r = {} } = e, i = Vn(), a = Do() != null;
|
|
5843
5785
|
if (process.env.NODE_ENV !== "production") {
|
|
5844
5786
|
let e = r.reference;
|
|
5845
5787
|
e && !m(e) && console.error("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `context.setPositionReference()`", "instead.");
|
|
5846
5788
|
}
|
|
5847
|
-
let o = F(() => new
|
|
5789
|
+
let o = F(() => new wc({
|
|
5848
5790
|
open: t,
|
|
5849
5791
|
transitionStatus: void 0,
|
|
5850
5792
|
onOpenChange: n,
|
|
5851
5793
|
referenceElement: r.reference ?? null,
|
|
5852
5794
|
floatingElement: r.floating ?? null,
|
|
5853
|
-
triggerElements: new
|
|
5795
|
+
triggerElements: new kc(),
|
|
5854
5796
|
floatingId: i,
|
|
5855
5797
|
syncOnly: !1,
|
|
5856
5798
|
nested: a
|
|
@@ -5871,16 +5813,16 @@ function Rc(e) {
|
|
|
5871
5813
|
}
|
|
5872
5814
|
//#endregion
|
|
5873
5815
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useFloating.js
|
|
5874
|
-
function
|
|
5875
|
-
let { nodeId: t, externalTree: r } = e, i =
|
|
5816
|
+
function Fc(e = {}) {
|
|
5817
|
+
let { nodeId: t, externalTree: r } = e, i = Pc(e), a = e.rootContext || i, o = {
|
|
5876
5818
|
reference: a.useState("referenceElement"),
|
|
5877
5819
|
floating: a.useState("floatingElement"),
|
|
5878
5820
|
domReference: a.useState("domReferenceElement")
|
|
5879
|
-
}, [s, c] = n.useState(null), l = n.useRef(null), u =
|
|
5821
|
+
}, [s, c] = n.useState(null), l = n.useRef(null), u = Oo(r);
|
|
5880
5822
|
U(() => {
|
|
5881
5823
|
o.domReference && (l.current = o.domReference);
|
|
5882
5824
|
}, [o.domReference]);
|
|
5883
|
-
let d =
|
|
5825
|
+
let d = qs({
|
|
5884
5826
|
...e,
|
|
5885
5827
|
elements: {
|
|
5886
5828
|
...o,
|
|
@@ -5955,8 +5897,8 @@ function zc(e = {}) {
|
|
|
5955
5897
|
}
|
|
5956
5898
|
//#endregion
|
|
5957
5899
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useSyncedFloatingRootContext.js
|
|
5958
|
-
function
|
|
5959
|
-
let { popupStore: t, treatPopupAsFloatingElement: n = !1, onOpenChange: r } = e, i = Vn(), a =
|
|
5900
|
+
function Ic(e) {
|
|
5901
|
+
let { popupStore: t, treatPopupAsFloatingElement: n = !1, onOpenChange: r } = e, i = Vn(), a = Do() != null, o = t.useState("open"), s = t.useState("activeTriggerElement"), c = t.useState(n ? "popupElement" : "positionerElement"), l = t.context.triggerElements, u = F(() => new wc({
|
|
5960
5902
|
open: o,
|
|
5961
5903
|
transitionStatus: void 0,
|
|
5962
5904
|
referenceElement: s,
|
|
@@ -5985,8 +5927,8 @@ function Bc(e) {
|
|
|
5985
5927
|
}
|
|
5986
5928
|
//#endregion
|
|
5987
5929
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useInteractions.js
|
|
5988
|
-
function
|
|
5989
|
-
let t = e.map((e) => e?.reference), r = e.map((e) => e?.floating), i = e.map((e) => e?.item), a = e.map((e) => e?.trigger), o = n.useCallback((t) =>
|
|
5930
|
+
function Lc(e = []) {
|
|
5931
|
+
let t = e.map((e) => e?.reference), r = e.map((e) => e?.floating), i = e.map((e) => e?.item), a = e.map((e) => e?.trigger), o = n.useCallback((t) => Rc(t, e, "reference"), t), s = n.useCallback((t) => Rc(t, e, "floating"), r), c = n.useCallback((t) => Rc(t, e, "item"), i), l = n.useCallback((t) => Rc(t, e, "trigger"), a);
|
|
5990
5932
|
return n.useMemo(() => ({
|
|
5991
5933
|
getReferenceProps: o,
|
|
5992
5934
|
getFloatingProps: s,
|
|
@@ -5999,17 +5941,17 @@ function Vc(e = []) {
|
|
|
5999
5941
|
l
|
|
6000
5942
|
]);
|
|
6001
5943
|
}
|
|
6002
|
-
function
|
|
5944
|
+
function Rc(e, t, n) {
|
|
6003
5945
|
let r = /* @__PURE__ */ new Map(), i = n === "item", a = {};
|
|
6004
5946
|
n === "floating" && (a.tabIndex = -1, a[ar] = "");
|
|
6005
5947
|
for (let t in e) i && e && (t === "active" || t === "selected") || (a[t] = e[t]);
|
|
6006
5948
|
for (let o = 0; o < t.length; o += 1) {
|
|
6007
5949
|
let s, c = t[o]?.[n];
|
|
6008
|
-
s = typeof c == "function" ? e ? c(e) : null : c, s &&
|
|
5950
|
+
s = typeof c == "function" ? e ? c(e) : null : c, s && zc(a, s, i, r);
|
|
6009
5951
|
}
|
|
6010
|
-
return
|
|
5952
|
+
return zc(a, e, i, r), a;
|
|
6011
5953
|
}
|
|
6012
|
-
function
|
|
5954
|
+
function zc(e, t, n, r) {
|
|
6013
5955
|
for (let i in t) {
|
|
6014
5956
|
let a = t[i];
|
|
6015
5957
|
n && (i === "active" || i === "selected") || (i.startsWith("on") ? (r.has(i) || r.set(i, []), typeof a == "function" && (r.get(i)?.push(a), e[i] = (...e) => r.get(i)?.map((t) => t(...e)).find((e) => e !== void 0))) : e[i] = a);
|
|
@@ -6017,38 +5959,38 @@ function Uc(e, t, n, r) {
|
|
|
6017
5959
|
}
|
|
6018
5960
|
//#endregion
|
|
6019
5961
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useListNavigation.js
|
|
6020
|
-
var
|
|
6021
|
-
function
|
|
5962
|
+
var Bc = "Escape";
|
|
5963
|
+
function Vc(e, t, n) {
|
|
6022
5964
|
switch (e) {
|
|
6023
5965
|
case "vertical": return t;
|
|
6024
5966
|
case "horizontal": return n;
|
|
6025
5967
|
default: return t || n;
|
|
6026
5968
|
}
|
|
6027
5969
|
}
|
|
6028
|
-
function
|
|
6029
|
-
return
|
|
5970
|
+
function Hc(e, t) {
|
|
5971
|
+
return Vc(t, e === "ArrowUp" || e === "ArrowDown", e === "ArrowLeft" || e === "ArrowRight");
|
|
6030
5972
|
}
|
|
6031
|
-
function
|
|
6032
|
-
return
|
|
5973
|
+
function Uc(e, t, n) {
|
|
5974
|
+
return Vc(t, e === "ArrowDown", n ? e === "ArrowLeft" : e === "ArrowRight") || e === "Enter" || e === " " || e === "";
|
|
6033
5975
|
}
|
|
6034
|
-
function
|
|
6035
|
-
return
|
|
5976
|
+
function Wc(e, t, n) {
|
|
5977
|
+
return Vc(t, n ? e === sr : e === cr, e === ur);
|
|
6036
5978
|
}
|
|
6037
|
-
function
|
|
6038
|
-
return t === "both" || t === "horizontal" && r && r > 1 ? e ===
|
|
5979
|
+
function Gc(e, t, n, r) {
|
|
5980
|
+
return t === "both" || t === "horizontal" && r && r > 1 ? e === Bc : Vc(t, n ? e === cr : e === sr, e === lr);
|
|
6039
5981
|
}
|
|
6040
|
-
function
|
|
5982
|
+
function Kc(e, t) {
|
|
6041
5983
|
let r = "rootStore" in e ? e.rootStore : e, i = r.useState("open"), a = r.useState("floatingElement"), o = r.useState("domReferenceElement"), s = r.context.dataRef, { listRef: c, activeIndex: l, onNavigate: u = () => {}, enabled: d = !0, selectedIndex: f = null, allowEscape: p = !1, loopFocus: m = !1, nested: g = !1, rtl: _ = !1, virtual: v = !1, focusItemOnOpen: y = "auto", focusItemOnHover: b = !0, openOnArrowKeyDown: x = !0, disabledIndices: S = void 0, orientation: C = "vertical", parentOrientation: w, cols: T = 1, id: E, resetOnPointerLeave: D = !0, externalTree: O } = t;
|
|
6042
5984
|
process.env.NODE_ENV !== "production" && (p && (m || console.warn("`useListNavigation` looping must be enabled to allow escaping."), v || console.warn("`useListNavigation` must be virtual to allow escaping.")), C === "vertical" && T > 1 && console.warn("In grid list navigation mode (`cols` > 1), the `orientation` should", "be either \"horizontal\" or \"both\"."));
|
|
6043
|
-
let k =
|
|
5985
|
+
let k = Ga(br(a)), A = Do(), j = Oo(O);
|
|
6044
5986
|
U(() => {
|
|
6045
5987
|
s.current.orientation = C;
|
|
6046
5988
|
}, [s, C]);
|
|
6047
5989
|
let M = vr(o), N = n.useRef(y), P = n.useRef(f ?? -1), F = n.useRef(null), I = n.useRef(!0), L = R((e) => {
|
|
6048
5990
|
u(P.current === -1 ? null : P.current, e);
|
|
6049
|
-
}), ee = n.useRef(L), z = n.useRef(!!a), B = n.useRef(i), V = n.useRef(!1), H = n.useRef(!1), W = n.useRef(null), te =
|
|
5991
|
+
}), ee = n.useRef(L), z = n.useRef(!!a), B = n.useRef(i), V = n.useRef(!1), H = n.useRef(!1), W = n.useRef(null), te = Ga(S), ne = Ga(i), G = Ga(f), re = Ga(D), K = R(() => {
|
|
6050
5992
|
function e(e) {
|
|
6051
|
-
v ? j?.events.emit("virtualfocus", e) : W.current =
|
|
5993
|
+
v ? j?.events.emit("virtualfocus", e) : W.current = $a(e, {
|
|
6052
5994
|
sync: V.current,
|
|
6053
5995
|
preventScroll: !0
|
|
6054
5996
|
});
|
|
@@ -6081,7 +6023,7 @@ function Xc(e, t) {
|
|
|
6081
6023
|
if (V.current = !1, G.current != null) return;
|
|
6082
6024
|
if (z.current && (P.current = -1, K()), (!B.current || !z.current) && N.current && (F.current != null || N.current === !0 && F.current == null)) {
|
|
6083
6025
|
let e = 0, t = () => {
|
|
6084
|
-
c.current[0] == null ? (e < 2 && (e ? requestAnimationFrame : queueMicrotask)(t), e += 1) : (P.current = F.current == null ||
|
|
6026
|
+
c.current[0] == null ? (e < 2 && (e ? requestAnimationFrame : queueMicrotask)(t), e += 1) : (P.current = F.current == null || Uc(F.current, C, _) || g ? ai(c) : oi(c), F.current = null, L());
|
|
6085
6027
|
};
|
|
6086
6028
|
t();
|
|
6087
6029
|
}
|
|
@@ -6152,8 +6094,8 @@ function Xc(e, t) {
|
|
|
6152
6094
|
w
|
|
6153
6095
|
]), ce = R((e) => {
|
|
6154
6096
|
if (I.current = !1, V.current = !0, e.which === 229 || !ne.current && e.currentTarget === k.current) return;
|
|
6155
|
-
if (g &&
|
|
6156
|
-
|
|
6097
|
+
if (g && Gc(e.key, C, _, T)) {
|
|
6098
|
+
Hc(e.key, se()) || Cr(e), r.setOpen(!1, Sa(ga, e.nativeEvent)), h(o) && (v ? j?.events.emit("virtualfocus", o) : o.focus());
|
|
6157
6099
|
return;
|
|
6158
6100
|
}
|
|
6159
6101
|
let t = P.current, n = ai(c, S), a = oi(c, S);
|
|
@@ -6175,12 +6117,12 @@ function Xc(e, t) {
|
|
|
6175
6117
|
})];
|
|
6176
6118
|
if (s != null && (P.current = s, L(e)), C === "both") return;
|
|
6177
6119
|
}
|
|
6178
|
-
if (
|
|
6120
|
+
if (Hc(e.key, C)) {
|
|
6179
6121
|
if (Cr(e), i && !v && dr(e.currentTarget.ownerDocument) === e.currentTarget) {
|
|
6180
|
-
P.current =
|
|
6122
|
+
P.current = Uc(e.key, C, _) ? n : a, L(e);
|
|
6181
6123
|
return;
|
|
6182
6124
|
}
|
|
6183
|
-
|
|
6125
|
+
Uc(e.key, C, _) ? m ? t >= a ? p && t !== c.current.length ? P.current = -1 : (V.current = !1, P.current = n) : P.current = si(c.current, {
|
|
6184
6126
|
startingIndex: t,
|
|
6185
6127
|
disabledIndices: S
|
|
6186
6128
|
}) : P.current = Math.min(a, si(c.current, {
|
|
@@ -6238,11 +6180,11 @@ function Xc(e, t) {
|
|
|
6238
6180
|
onKeyDown(e) {
|
|
6239
6181
|
let t = r.select("open");
|
|
6240
6182
|
I.current = !1;
|
|
6241
|
-
let n = e.key.startsWith("Arrow"), i =
|
|
6183
|
+
let n = e.key.startsWith("Arrow"), i = Wc(e.key, se(), _), a = Hc(e.key, C), o = (g ? i : a) || e.key === "Enter" || e.key.trim() === "";
|
|
6242
6184
|
if (v && t) return ce(e);
|
|
6243
6185
|
if (!(!t && !x && n)) {
|
|
6244
6186
|
if (o) {
|
|
6245
|
-
let t =
|
|
6187
|
+
let t = Hc(e.key, se());
|
|
6246
6188
|
F.current = g && t ? null : e.key;
|
|
6247
6189
|
}
|
|
6248
6190
|
if (g) {
|
|
@@ -6293,13 +6235,13 @@ function Xc(e, t) {
|
|
|
6293
6235
|
}
|
|
6294
6236
|
//#endregion
|
|
6295
6237
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useRole.js
|
|
6296
|
-
var
|
|
6238
|
+
var qc = /* @__PURE__ */ new Map([
|
|
6297
6239
|
["select", "listbox"],
|
|
6298
6240
|
["combobox", "listbox"],
|
|
6299
6241
|
["label", !1]
|
|
6300
6242
|
]);
|
|
6301
|
-
function
|
|
6302
|
-
let r = "rootStore" in e ? e.rootStore : e, i = r.useState("open"), a = r.useState("floatingId"), o = r.useState("domReferenceElement"), s = r.useState("floatingElement"), { role: c = "dialog" } = t, l = Vn(), u = o?.id || l, d = n.useMemo(() => br(s)?.id || a, [s, a]), f =
|
|
6243
|
+
function Jc(e, t = {}) {
|
|
6244
|
+
let r = "rootStore" in e ? e.rootStore : e, i = r.useState("open"), a = r.useState("floatingId"), o = r.useState("domReferenceElement"), s = r.useState("floatingElement"), { role: c = "dialog" } = t, l = Vn(), u = o?.id || l, d = n.useMemo(() => br(s)?.id || a, [s, a]), f = qc.get(c) ?? c, p = Do() != null, m = n.useMemo(() => f === "tooltip" || c === "label" ? Fe : {
|
|
6303
6245
|
"aria-haspopup": f === "alertdialog" ? "dialog" : f,
|
|
6304
6246
|
"aria-expanded": "false",
|
|
6305
6247
|
...f === "listbox" && { role: "combobox" },
|
|
@@ -6364,7 +6306,7 @@ function Qc(e, t = {}) {
|
|
|
6364
6306
|
}
|
|
6365
6307
|
//#endregion
|
|
6366
6308
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useTypeahead.js
|
|
6367
|
-
function
|
|
6309
|
+
function Yc(e, t) {
|
|
6368
6310
|
let r = "rootStore" in e ? e.rootStore : e, i = r.context.dataRef, a = r.useState("open"), { listRef: o, elementsRef: s, activeIndex: c, onMatch: l, onTypingChange: u, enabled: d = !0, resetMs: f = 750, selectedIndex: p = null } = t, m = Wi(), h = n.useRef(""), g = n.useRef(p ?? c ?? -1), _ = n.useRef(null);
|
|
6369
6311
|
U(() => {
|
|
6370
6312
|
!a && p !== null || (m.clear(), _.current = null, h.current !== "" && (h.current = ""));
|
|
@@ -6424,58 +6366,49 @@ function $c(e, t) {
|
|
|
6424
6366
|
]);
|
|
6425
6367
|
}
|
|
6426
6368
|
//#endregion
|
|
6427
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/toolbar/root/ToolbarRootContext.js
|
|
6428
|
-
var el = /*#__PURE__*/ n.createContext(void 0);
|
|
6429
|
-
process.env.NODE_ENV !== "production" && (el.displayName = "ToolbarRootContext");
|
|
6430
|
-
function tl(e) {
|
|
6431
|
-
let t = n.useContext(el);
|
|
6432
|
-
if (t === void 0 && !e) throw Error(process.env.NODE_ENV === "production" ? he(69) : "Base UI: ToolbarRootContext is missing. Toolbar parts must be placed within <Toolbar.Root>.");
|
|
6433
|
-
return t;
|
|
6434
|
-
}
|
|
6435
|
-
//#endregion
|
|
6436
6369
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/composite/composite.js
|
|
6437
|
-
var
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6370
|
+
var Xc = "ArrowUp", Zc = "ArrowDown", Qc = "ArrowLeft", $c = "ArrowRight", el = "Home", tl = /* @__PURE__ */ new Set([Qc, $c]), nl = /* @__PURE__ */ new Set([
|
|
6371
|
+
Qc,
|
|
6372
|
+
$c,
|
|
6373
|
+
el,
|
|
6441
6374
|
"End"
|
|
6442
|
-
]),
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6375
|
+
]), rl = /* @__PURE__ */ new Set([Xc, Zc]), il = /* @__PURE__ */ new Set([
|
|
6376
|
+
Xc,
|
|
6377
|
+
Zc,
|
|
6378
|
+
el,
|
|
6446
6379
|
"End"
|
|
6447
|
-
]),
|
|
6448
|
-
...
|
|
6449
|
-
|
|
6380
|
+
]), al = /* @__PURE__ */ new Set([...tl, ...rl]), ol = /* @__PURE__ */ new Set([
|
|
6381
|
+
...al,
|
|
6382
|
+
el,
|
|
6450
6383
|
"End"
|
|
6451
|
-
]),
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6384
|
+
]), sl = /* @__PURE__ */ new Set([
|
|
6385
|
+
Xc,
|
|
6386
|
+
Zc,
|
|
6387
|
+
Qc,
|
|
6388
|
+
$c,
|
|
6389
|
+
el,
|
|
6457
6390
|
"End"
|
|
6458
|
-
]),
|
|
6391
|
+
]), cl = /* @__PURE__ */ new Set([
|
|
6459
6392
|
"Shift",
|
|
6460
6393
|
"Control",
|
|
6461
6394
|
"Alt",
|
|
6462
6395
|
"Meta"
|
|
6463
6396
|
]);
|
|
6464
|
-
function
|
|
6397
|
+
function ll(e) {
|
|
6465
6398
|
return h(e) && e.tagName === "INPUT";
|
|
6466
6399
|
}
|
|
6467
|
-
function
|
|
6468
|
-
return !!(
|
|
6400
|
+
function ul(e) {
|
|
6401
|
+
return !!(ll(e) && e.selectionStart != null || h(e) && e.tagName === "TEXTAREA");
|
|
6469
6402
|
}
|
|
6470
|
-
function
|
|
6403
|
+
function dl(e, t, n, r) {
|
|
6471
6404
|
if (!e || !t || !t.scrollTo) return;
|
|
6472
6405
|
let i = e.scrollLeft, a = e.scrollTop, o = e.clientWidth < e.scrollWidth, s = e.clientHeight < e.scrollHeight;
|
|
6473
6406
|
if (o && r !== "vertical") {
|
|
6474
|
-
let r =
|
|
6407
|
+
let r = fl(e, t, "left"), a = pl(e), o = pl(t);
|
|
6475
6408
|
n === "ltr" && (r + t.offsetWidth + o.scrollMarginRight > e.scrollLeft + e.clientWidth - a.scrollPaddingRight ? i = r + t.offsetWidth + o.scrollMarginRight - e.clientWidth + a.scrollPaddingRight : r - o.scrollMarginLeft < e.scrollLeft + a.scrollPaddingLeft && (i = r - o.scrollMarginLeft - a.scrollPaddingLeft)), n === "rtl" && (r - o.scrollMarginRight < e.scrollLeft + a.scrollPaddingLeft ? i = r - o.scrollMarginLeft - a.scrollPaddingLeft : r + t.offsetWidth + o.scrollMarginRight > e.scrollLeft + e.clientWidth - a.scrollPaddingRight && (i = r + t.offsetWidth + o.scrollMarginRight - e.clientWidth + a.scrollPaddingRight));
|
|
6476
6409
|
}
|
|
6477
6410
|
if (s && r !== "horizontal") {
|
|
6478
|
-
let n =
|
|
6411
|
+
let n = fl(e, t, "top"), r = pl(e), i = pl(t);
|
|
6479
6412
|
n - i.scrollMarginTop < e.scrollTop + r.scrollPaddingTop ? a = n - i.scrollMarginTop - r.scrollPaddingTop : n + t.offsetHeight + i.scrollMarginBottom > e.scrollTop + e.clientHeight - r.scrollPaddingBottom && (a = n + t.offsetHeight + i.scrollMarginBottom - e.clientHeight + r.scrollPaddingBottom);
|
|
6480
6413
|
}
|
|
6481
6414
|
e.scrollTo({
|
|
@@ -6484,12 +6417,12 @@ function _l(e, t, n, r) {
|
|
|
6484
6417
|
behavior: "auto"
|
|
6485
6418
|
});
|
|
6486
6419
|
}
|
|
6487
|
-
function
|
|
6420
|
+
function fl(e, t, n) {
|
|
6488
6421
|
let r = n === "left" ? "offsetLeft" : "offsetTop", i = 0;
|
|
6489
6422
|
for (; t.offsetParent && (i += t[r], t.offsetParent !== e);) t = t.offsetParent;
|
|
6490
6423
|
return i;
|
|
6491
6424
|
}
|
|
6492
|
-
function
|
|
6425
|
+
function pl(e) {
|
|
6493
6426
|
let t = getComputedStyle(e);
|
|
6494
6427
|
return {
|
|
6495
6428
|
scrollMarginTop: parseFloat(t.scrollMarginTop) || 0,
|
|
@@ -6503,25 +6436,281 @@ function yl(e) {
|
|
|
6503
6436
|
};
|
|
6504
6437
|
}
|
|
6505
6438
|
//#endregion
|
|
6506
|
-
//#region ../../node_modules/.bun/@base-ui+
|
|
6507
|
-
function
|
|
6508
|
-
return e
|
|
6439
|
+
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/inertValue.js
|
|
6440
|
+
function ml(e) {
|
|
6441
|
+
return ke(19) ? e : e ? "true" : void 0;
|
|
6509
6442
|
}
|
|
6510
6443
|
//#endregion
|
|
6511
|
-
//#region ../../node_modules/.bun/@base-ui+
|
|
6444
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/InternalBackdrop.js
|
|
6445
|
+
var hl = /*#__PURE__*/ n.forwardRef(function(e, t) {
|
|
6446
|
+
let { cutout: n, ...r } = e, i;
|
|
6447
|
+
if (n) {
|
|
6448
|
+
let e = n.getBoundingClientRect();
|
|
6449
|
+
i = `polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`;
|
|
6450
|
+
}
|
|
6451
|
+
return /*#__PURE__*/ o("div", {
|
|
6452
|
+
ref: t,
|
|
6453
|
+
role: "presentation",
|
|
6454
|
+
"data-base-ui-inert": "",
|
|
6455
|
+
...r,
|
|
6456
|
+
style: {
|
|
6457
|
+
position: "fixed",
|
|
6458
|
+
inset: 0,
|
|
6459
|
+
userSelect: "none",
|
|
6460
|
+
WebkitUserSelect: "none",
|
|
6461
|
+
clipPath: i
|
|
6462
|
+
}
|
|
6463
|
+
});
|
|
6464
|
+
});
|
|
6465
|
+
process.env.NODE_ENV !== "production" && (hl.displayName = "InternalBackdrop");
|
|
6466
|
+
//#endregion
|
|
6467
|
+
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useOnFirstRender.js
|
|
6468
|
+
function gl(e) {
|
|
6469
|
+
let t = n.useRef(!0);
|
|
6470
|
+
t.current && (t.current = !1, e());
|
|
6471
|
+
}
|
|
6472
|
+
//#endregion
|
|
6473
|
+
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useScrollLock.js
|
|
6474
|
+
var _l = {}, vl = {}, yl = "";
|
|
6475
|
+
function bl(e) {
|
|
6476
|
+
if (typeof document > "u") return !1;
|
|
6477
|
+
let t = X(e);
|
|
6478
|
+
return d(t).innerWidth - t.documentElement.clientWidth > 0;
|
|
6479
|
+
}
|
|
6512
6480
|
function xl(e) {
|
|
6513
|
-
|
|
6481
|
+
if (!(typeof CSS < "u" && CSS.supports && CSS.supports("scrollbar-gutter", "stable")) || typeof document > "u") return !1;
|
|
6482
|
+
let t = X(e), n = t.documentElement, r = t.body, i = _(n) ? n : r, a = i.style.overflowY, o = n.style.scrollbarGutter;
|
|
6483
|
+
n.style.scrollbarGutter = "stable", i.style.overflowY = "scroll";
|
|
6484
|
+
let s = i.offsetWidth;
|
|
6485
|
+
i.style.overflowY = "hidden";
|
|
6486
|
+
let c = i.offsetWidth;
|
|
6487
|
+
return i.style.overflowY = a, n.style.scrollbarGutter = o, s === c;
|
|
6488
|
+
}
|
|
6489
|
+
function Sl(e) {
|
|
6490
|
+
let t = X(e), n = t.documentElement, r = t.body, i = _(n) ? n : r, a = {
|
|
6491
|
+
overflowY: i.style.overflowY,
|
|
6492
|
+
overflowX: i.style.overflowX
|
|
6493
|
+
};
|
|
6494
|
+
return Object.assign(i.style, {
|
|
6495
|
+
overflowY: "hidden",
|
|
6496
|
+
overflowX: "hidden"
|
|
6497
|
+
}), () => {
|
|
6498
|
+
Object.assign(i.style, a);
|
|
6499
|
+
};
|
|
6500
|
+
}
|
|
6501
|
+
function Cl(e) {
|
|
6502
|
+
let t = X(e), n = t.documentElement, r = t.body, i = d(n), a = 0, o = 0, s = !1, c = Ji.create();
|
|
6503
|
+
if (Xn && (i.visualViewport?.scale ?? 1) !== 1) return () => {};
|
|
6504
|
+
function l() {
|
|
6505
|
+
let t = i.getComputedStyle(n), c = i.getComputedStyle(r), l = (t.scrollbarGutter || "").includes("both-edges") ? "stable both-edges" : "stable";
|
|
6506
|
+
a = n.scrollTop, o = n.scrollLeft, _l = {
|
|
6507
|
+
scrollbarGutter: n.style.scrollbarGutter,
|
|
6508
|
+
overflowY: n.style.overflowY,
|
|
6509
|
+
overflowX: n.style.overflowX
|
|
6510
|
+
}, yl = n.style.scrollBehavior, vl = {
|
|
6511
|
+
position: r.style.position,
|
|
6512
|
+
height: r.style.height,
|
|
6513
|
+
width: r.style.width,
|
|
6514
|
+
boxSizing: r.style.boxSizing,
|
|
6515
|
+
overflowY: r.style.overflowY,
|
|
6516
|
+
overflowX: r.style.overflowX,
|
|
6517
|
+
scrollBehavior: r.style.scrollBehavior
|
|
6518
|
+
};
|
|
6519
|
+
let u = n.scrollHeight > n.clientHeight, d = n.scrollWidth > n.clientWidth, f = t.overflowY === "scroll" || c.overflowY === "scroll", p = t.overflowX === "scroll" || c.overflowX === "scroll", m = Math.max(0, i.innerWidth - r.clientWidth), h = Math.max(0, i.innerHeight - r.clientHeight), g = parseFloat(c.marginTop) + parseFloat(c.marginBottom), v = parseFloat(c.marginLeft) + parseFloat(c.marginRight), y = _(n) ? n : r;
|
|
6520
|
+
if (s = xl(e), s) {
|
|
6521
|
+
n.style.scrollbarGutter = l, y.style.overflowY = "hidden", y.style.overflowX = "hidden";
|
|
6522
|
+
return;
|
|
6523
|
+
}
|
|
6524
|
+
Object.assign(n.style, {
|
|
6525
|
+
scrollbarGutter: l,
|
|
6526
|
+
overflowY: "hidden",
|
|
6527
|
+
overflowX: "hidden"
|
|
6528
|
+
}), (u || f) && (n.style.overflowY = "scroll"), (d || p) && (n.style.overflowX = "scroll"), Object.assign(r.style, {
|
|
6529
|
+
position: "relative",
|
|
6530
|
+
height: g || h ? `calc(100dvh - ${g + h}px)` : "100dvh",
|
|
6531
|
+
width: v || m ? `calc(100vw - ${v + m}px)` : "100vw",
|
|
6532
|
+
boxSizing: "border-box",
|
|
6533
|
+
overflow: "hidden",
|
|
6534
|
+
scrollBehavior: "unset"
|
|
6535
|
+
}), r.scrollTop = a, r.scrollLeft = o, n.setAttribute("data-base-ui-scroll-locked", ""), n.style.scrollBehavior = "unset";
|
|
6536
|
+
}
|
|
6537
|
+
function u() {
|
|
6538
|
+
Object.assign(n.style, _l), Object.assign(r.style, vl), s || (n.scrollTop = a, n.scrollLeft = o, n.removeAttribute("data-base-ui-scroll-locked"), n.style.scrollBehavior = yl);
|
|
6539
|
+
}
|
|
6540
|
+
function f() {
|
|
6541
|
+
u(), c.request(l);
|
|
6542
|
+
}
|
|
6543
|
+
l();
|
|
6544
|
+
let p = Q(i, "resize", f);
|
|
6545
|
+
return () => {
|
|
6546
|
+
c.cancel(), u(), typeof i.removeEventListener == "function" && p();
|
|
6547
|
+
};
|
|
6548
|
+
}
|
|
6549
|
+
var wl = new class {
|
|
6550
|
+
lockCount = 0;
|
|
6551
|
+
restore = null;
|
|
6552
|
+
timeoutLock = Ui.create();
|
|
6553
|
+
timeoutUnlock = Ui.create();
|
|
6554
|
+
acquire(e) {
|
|
6555
|
+
return this.lockCount += 1, this.lockCount === 1 && this.restore === null && this.timeoutLock.start(0, () => this.lock(e)), this.release;
|
|
6556
|
+
}
|
|
6557
|
+
release = () => {
|
|
6558
|
+
--this.lockCount, this.lockCount === 0 && this.restore && this.timeoutUnlock.start(0, this.unlock);
|
|
6559
|
+
};
|
|
6560
|
+
unlock = () => {
|
|
6561
|
+
this.lockCount === 0 && this.restore && (this.restore?.(), this.restore = null);
|
|
6562
|
+
};
|
|
6563
|
+
lock(e) {
|
|
6564
|
+
if (this.lockCount === 0 || this.restore !== null) return;
|
|
6565
|
+
let t = X(e).documentElement, n = d(t).getComputedStyle(t).overflowY;
|
|
6566
|
+
if (n === "hidden" || n === "clip") {
|
|
6567
|
+
this.restore = Ne;
|
|
6568
|
+
return;
|
|
6569
|
+
}
|
|
6570
|
+
let r = Zn || !bl(e);
|
|
6571
|
+
this.restore = r ? Sl(e) : Cl(e);
|
|
6572
|
+
}
|
|
6573
|
+
}();
|
|
6574
|
+
function Tl(e = !0, t = null) {
|
|
6575
|
+
U(() => {
|
|
6576
|
+
if (e) return wl.acquire(t);
|
|
6577
|
+
}, [e, t]);
|
|
6578
|
+
}
|
|
6579
|
+
//#endregion
|
|
6580
|
+
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useEnhancedClickHandler.js
|
|
6581
|
+
function El(e) {
|
|
6582
|
+
let t = n.useRef(""), r = n.useCallback((n) => {
|
|
6583
|
+
n.defaultPrevented || (t.current = n.pointerType, e(n, n.pointerType));
|
|
6584
|
+
}, [e]);
|
|
6585
|
+
return {
|
|
6586
|
+
onClick: n.useCallback((n) => {
|
|
6587
|
+
if (n.detail === 0) {
|
|
6588
|
+
e(n, "keyboard");
|
|
6589
|
+
return;
|
|
6590
|
+
}
|
|
6591
|
+
"pointerType" in n ? e(n, n.pointerType) : e(n, t.current), t.current = "";
|
|
6592
|
+
}, [e]),
|
|
6593
|
+
onPointerDown: r
|
|
6594
|
+
};
|
|
6595
|
+
}
|
|
6596
|
+
//#endregion
|
|
6597
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/useValueChanged.js
|
|
6598
|
+
function Dl(e, t) {
|
|
6599
|
+
let r = n.useRef(e), i = R(t);
|
|
6600
|
+
U(() => {
|
|
6601
|
+
r.current !== e && i(r.current);
|
|
6602
|
+
}, [e, i]), U(() => {
|
|
6603
|
+
r.current = e;
|
|
6604
|
+
}, [e]);
|
|
6605
|
+
}
|
|
6606
|
+
//#endregion
|
|
6607
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/useOpenInteractionType.js
|
|
6608
|
+
function Ol(e) {
|
|
6609
|
+
let [t, r] = n.useState(null), i = R((t, n) => {
|
|
6610
|
+
e || r(n || (Zn ? "touch" : ""));
|
|
6611
|
+
});
|
|
6612
|
+
Dl(e, (t) => {
|
|
6613
|
+
t && !e && r(null);
|
|
6614
|
+
});
|
|
6615
|
+
let { onClick: a, onPointerDown: o } = El(i);
|
|
6616
|
+
return n.useMemo(() => ({
|
|
6617
|
+
openMethod: t,
|
|
6618
|
+
triggerProps: {
|
|
6619
|
+
onClick: a,
|
|
6620
|
+
onPointerDown: o
|
|
6621
|
+
}
|
|
6622
|
+
}), [
|
|
6623
|
+
t,
|
|
6624
|
+
a,
|
|
6625
|
+
o
|
|
6626
|
+
]);
|
|
6627
|
+
}
|
|
6628
|
+
//#endregion
|
|
6629
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/composite/list/CompositeListContext.js
|
|
6630
|
+
var kl = /*#__PURE__*/ n.createContext({
|
|
6631
|
+
register: () => {},
|
|
6632
|
+
unregister: () => {},
|
|
6633
|
+
subscribeMapChange: () => () => {},
|
|
6634
|
+
elementsRef: { current: [] },
|
|
6635
|
+
nextIndexRef: { current: 0 }
|
|
6636
|
+
});
|
|
6637
|
+
process.env.NODE_ENV !== "production" && (kl.displayName = "CompositeListContext");
|
|
6638
|
+
function Al() {
|
|
6639
|
+
return n.useContext(kl);
|
|
6640
|
+
}
|
|
6641
|
+
//#endregion
|
|
6642
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/composite/list/useCompositeListItem.js
|
|
6643
|
+
var jl = /*#__PURE__*/ function(e) {
|
|
6644
|
+
return e[e.None = 0] = "None", e[e.GuessFromOrder = 1] = "GuessFromOrder", e;
|
|
6645
|
+
}({});
|
|
6646
|
+
function Ml(e = {}) {
|
|
6647
|
+
let { label: t, metadata: r, textRef: i, indexGuessBehavior: a, index: o } = e, { register: s, unregister: c, subscribeMapChange: l, elementsRef: u, labelsRef: d, nextIndexRef: f } = Al(), p = n.useRef(-1), [m, h] = n.useState(o ?? (a === jl.GuessFromOrder ? () => {
|
|
6648
|
+
if (p.current === -1) {
|
|
6649
|
+
let e = f.current;
|
|
6650
|
+
f.current += 1, p.current = e;
|
|
6651
|
+
}
|
|
6652
|
+
return p.current;
|
|
6653
|
+
} : -1)), g = n.useRef(null), _ = n.useCallback((e) => {
|
|
6654
|
+
if (g.current = e, m !== -1 && e !== null && (u.current[m] = e, d)) {
|
|
6655
|
+
let n = t !== void 0;
|
|
6656
|
+
d.current[m] = n ? t : i?.current?.textContent ?? e.textContent;
|
|
6657
|
+
}
|
|
6658
|
+
}, [
|
|
6659
|
+
m,
|
|
6660
|
+
u,
|
|
6661
|
+
d,
|
|
6662
|
+
t,
|
|
6663
|
+
i
|
|
6664
|
+
]);
|
|
6665
|
+
return U(() => {
|
|
6666
|
+
if (o != null) return;
|
|
6667
|
+
let e = g.current;
|
|
6668
|
+
if (e) return s(e, r), () => {
|
|
6669
|
+
c(e);
|
|
6670
|
+
};
|
|
6671
|
+
}, [
|
|
6672
|
+
o,
|
|
6673
|
+
s,
|
|
6674
|
+
c,
|
|
6675
|
+
r
|
|
6676
|
+
]), U(() => {
|
|
6677
|
+
if (o == null) return l((e) => {
|
|
6678
|
+
let t = g.current ? e.get(g.current)?.index : null;
|
|
6679
|
+
t != null && h(t);
|
|
6680
|
+
});
|
|
6681
|
+
}, [
|
|
6682
|
+
o,
|
|
6683
|
+
l,
|
|
6684
|
+
h
|
|
6685
|
+
]), n.useMemo(() => ({
|
|
6686
|
+
ref: _,
|
|
6687
|
+
index: m
|
|
6688
|
+
}), [m, _]);
|
|
6689
|
+
}
|
|
6690
|
+
//#endregion
|
|
6691
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/toolbar/root/ToolbarRootContext.js
|
|
6692
|
+
var Nl = /*#__PURE__*/ n.createContext(void 0);
|
|
6693
|
+
process.env.NODE_ENV !== "production" && (Nl.displayName = "ToolbarRootContext");
|
|
6694
|
+
function Pl(e) {
|
|
6695
|
+
let t = n.useContext(Nl);
|
|
6696
|
+
if (t === void 0 && !e) throw Error(process.env.NODE_ENV === "production" ? he(69) : "Base UI: ToolbarRootContext is missing. Toolbar parts must be placed within <Toolbar.Root>.");
|
|
6697
|
+
return t;
|
|
6698
|
+
}
|
|
6699
|
+
//#endregion
|
|
6700
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/getDisabledMountTransitionStyles.js
|
|
6701
|
+
function Fl(e) {
|
|
6702
|
+
return e === "starting" ? po : Fe;
|
|
6514
6703
|
}
|
|
6515
6704
|
//#endregion
|
|
6516
6705
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/direction-context/DirectionContext.js
|
|
6517
|
-
var
|
|
6518
|
-
process.env.NODE_ENV !== "production" && (
|
|
6519
|
-
function
|
|
6520
|
-
return n.useContext(
|
|
6706
|
+
var Il = /*#__PURE__*/ n.createContext(void 0);
|
|
6707
|
+
process.env.NODE_ENV !== "production" && (Il.displayName = "DirectionContext");
|
|
6708
|
+
function Ll() {
|
|
6709
|
+
return n.useContext(Il)?.direction ?? "ltr";
|
|
6521
6710
|
}
|
|
6522
6711
|
//#endregion
|
|
6523
6712
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/middleware/arrow.js
|
|
6524
|
-
var
|
|
6713
|
+
var Rl = (e) => ({
|
|
6525
6714
|
name: "arrow",
|
|
6526
6715
|
options: e,
|
|
6527
6716
|
async fn(t) {
|
|
@@ -6543,26 +6732,26 @@ var wl = (e) => ({
|
|
|
6543
6732
|
reset: N
|
|
6544
6733
|
};
|
|
6545
6734
|
}
|
|
6546
|
-
}),
|
|
6547
|
-
...
|
|
6735
|
+
}), zl = (e, t) => ({
|
|
6736
|
+
...Rl(e),
|
|
6548
6737
|
options: [e, t]
|
|
6549
|
-
}),
|
|
6738
|
+
}), Bl = {
|
|
6550
6739
|
name: "hide",
|
|
6551
6740
|
async fn(e) {
|
|
6552
6741
|
let { width: t, height: n, x: r, y: i } = e.rects.reference, a = t === 0 && n === 0 && r === 0 && i === 0;
|
|
6553
|
-
return { data: { referenceHidden: (await
|
|
6742
|
+
return { data: { referenceHidden: (await $s().fn(e)).data?.referenceHidden || a } };
|
|
6554
6743
|
}
|
|
6555
|
-
},
|
|
6744
|
+
}, Vl = {
|
|
6556
6745
|
sideX: "left",
|
|
6557
6746
|
sideY: "top"
|
|
6558
|
-
},
|
|
6747
|
+
}, Hl = {
|
|
6559
6748
|
name: "adaptiveOrigin",
|
|
6560
6749
|
async fn(e) {
|
|
6561
6750
|
let { x: t, y: n, rects: { floating: r }, elements: { floating: i }, platform: a, strategy: o, placement: s } = e, c = d(i), l = c.getComputedStyle(i);
|
|
6562
6751
|
if (l.transitionDuration === "0s" || l.transitionDuration === "") return {
|
|
6563
6752
|
x: t,
|
|
6564
6753
|
y: n,
|
|
6565
|
-
data:
|
|
6754
|
+
data: Vl
|
|
6566
6755
|
};
|
|
6567
6756
|
let u = await a.getOffsetParent?.(i), f = {
|
|
6568
6757
|
width: 0,
|
|
@@ -6581,7 +6770,7 @@ var wl = (e) => ({
|
|
|
6581
6770
|
} else await a.isElement?.(u) && (f = await a.getDimensions(u));
|
|
6582
6771
|
let p = Rr(s), m = t, h = n;
|
|
6583
6772
|
p === "left" && (m = f.width - (t + r.width)), p === "top" && (h = f.height - (n + r.height));
|
|
6584
|
-
let g = p === "left" ? "right" :
|
|
6773
|
+
let g = p === "left" ? "right" : Vl.sideX, _ = p === "top" ? "bottom" : Vl.sideY;
|
|
6585
6774
|
return {
|
|
6586
6775
|
x: m,
|
|
6587
6776
|
y: h,
|
|
@@ -6594,7 +6783,7 @@ var wl = (e) => ({
|
|
|
6594
6783
|
};
|
|
6595
6784
|
//#endregion
|
|
6596
6785
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/useAnchorPositioning.js
|
|
6597
|
-
function
|
|
6786
|
+
function Ul(e, t, n) {
|
|
6598
6787
|
let r = e === "inline-start" || e === "inline-end";
|
|
6599
6788
|
return {
|
|
6600
6789
|
top: "top",
|
|
@@ -6603,10 +6792,10 @@ function kl(e, t, n) {
|
|
|
6603
6792
|
left: r ? n ? "inline-end" : "inline-start" : "left"
|
|
6604
6793
|
}[t];
|
|
6605
6794
|
}
|
|
6606
|
-
function
|
|
6795
|
+
function Wl(e, t, n) {
|
|
6607
6796
|
let { rects: r, placement: i } = e;
|
|
6608
6797
|
return {
|
|
6609
|
-
side:
|
|
6798
|
+
side: Ul(t, Rr(i), n),
|
|
6610
6799
|
align: zr(i) || "center",
|
|
6611
6800
|
anchor: {
|
|
6612
6801
|
width: r.reference.width,
|
|
@@ -6618,10 +6807,10 @@ function Al(e, t, n) {
|
|
|
6618
6807
|
}
|
|
6619
6808
|
};
|
|
6620
6809
|
}
|
|
6621
|
-
function
|
|
6810
|
+
function Gl(e) {
|
|
6622
6811
|
let { anchor: t, positionMethod: r = "absolute", side: i = "bottom", sideOffset: a = 0, align: o = "center", alignOffset: s = 0, collisionBoundary: c, collisionPadding: l = 5, sticky: u = !1, arrowPadding: f = 5, disableAnchorTracking: p = !1, keepMounted: m = !1, floatingRootContext: h, mounted: g, collisionAvoidance: _, shiftCrossAxis: v = !1, nodeId: y, adaptiveOrigin: b, lazyFlip: x = !1, externalTree: S } = e, [C, w] = n.useState(null);
|
|
6623
6812
|
!g && C !== null && w(null);
|
|
6624
|
-
let T = _.side || "flip", E = _.align || "flip", D = _.fallbackAxisSide || "end", O = typeof t == "function" ? t : void 0, k = R(O), A = O ? k : t, j =
|
|
6813
|
+
let T = _.side || "flip", E = _.align || "flip", D = _.fallbackAxisSide || "end", O = typeof t == "function" ? t : void 0, k = R(O), A = O ? k : t, j = Ga(t), M = Ga(g), N = Ll() === "rtl", P = C || {
|
|
6625
6814
|
top: "top",
|
|
6626
6815
|
right: "right",
|
|
6627
6816
|
bottom: "bottom",
|
|
@@ -6643,8 +6832,8 @@ function jl(e) {
|
|
|
6643
6832
|
let V = {
|
|
6644
6833
|
boundary: c === "clipping-ancestors" ? "clippingAncestors" : c,
|
|
6645
6834
|
padding: I
|
|
6646
|
-
}, H = n.useRef(null), W =
|
|
6647
|
-
let t =
|
|
6835
|
+
}, H = n.useRef(null), W = Ga(a), te = Ga(s), ne = [Js((e) => {
|
|
6836
|
+
let t = Wl(e, i, N), n = typeof W.current == "function" ? W.current(t) : W.current, r = typeof te.current == "function" ? te.current(t) : te.current;
|
|
6648
6837
|
return {
|
|
6649
6838
|
mainAxis: n,
|
|
6650
6839
|
crossAxis: r,
|
|
@@ -6655,7 +6844,7 @@ function jl(e) {
|
|
|
6655
6844
|
typeof s == "function" ? 0 : s,
|
|
6656
6845
|
N,
|
|
6657
6846
|
i
|
|
6658
|
-
])], G = E === "none" && T !== "shift", re = !G && (u || v || T === "shift"), K = T === "none" ? null :
|
|
6847
|
+
])], G = E === "none" && T !== "shift", re = !G && (u || v || T === "shift"), K = T === "none" ? null : Zs({
|
|
6659
6848
|
...V,
|
|
6660
6849
|
padding: {
|
|
6661
6850
|
top: I.top + 1,
|
|
@@ -6666,7 +6855,7 @@ function jl(e) {
|
|
|
6666
6855
|
mainAxis: !v && T === "flip",
|
|
6667
6856
|
crossAxis: E === "flip" && "alignment",
|
|
6668
6857
|
fallbackAxisSideDirection: D
|
|
6669
|
-
}), ie = G ? null :
|
|
6858
|
+
}), ie = G ? null : Ys((e) => {
|
|
6670
6859
|
let t = X(e.elements.floating).documentElement;
|
|
6671
6860
|
return {
|
|
6672
6861
|
...V,
|
|
@@ -6678,7 +6867,7 @@ function jl(e) {
|
|
|
6678
6867
|
} : void 0,
|
|
6679
6868
|
mainAxis: E !== "none",
|
|
6680
6869
|
crossAxis: re,
|
|
6681
|
-
limiter: u || v ? void 0 :
|
|
6870
|
+
limiter: u || v ? void 0 : Xs((e) => {
|
|
6682
6871
|
if (!H.current) return {};
|
|
6683
6872
|
let { width: t, height: n } = H.current.getBoundingClientRect(), r = Hr(Rr(e.placement)), i = r === "y" ? t : n, a = r === "y" ? I.left + I.right : I.top + I.bottom;
|
|
6684
6873
|
return { offset: i / 2 + a / 2 };
|
|
@@ -6691,7 +6880,7 @@ function jl(e) {
|
|
|
6691
6880
|
I,
|
|
6692
6881
|
E
|
|
6693
6882
|
]);
|
|
6694
|
-
T === "shift" || E === "shift" || o === "center" ? ne.push(ie, K) : ne.push(K, ie), ne.push(
|
|
6883
|
+
T === "shift" || E === "shift" || o === "center" ? ne.push(ie, K) : ne.push(K, ie), ne.push(Qs({
|
|
6695
6884
|
...V,
|
|
6696
6885
|
apply({ elements: { floating: e }, availableWidth: t, availableHeight: n, rects: r }) {
|
|
6697
6886
|
if (!M.current) return;
|
|
@@ -6700,14 +6889,14 @@ function jl(e) {
|
|
|
6700
6889
|
let a = d(e).devicePixelRatio || 1, { x: o, y: s, width: c, height: l } = r.reference, u = (Math.round((o + c) * a) - Math.round(o * a)) / a, f = (Math.round((s + l) * a) - Math.round(s * a)) / a;
|
|
6701
6890
|
i.setProperty("--anchor-width", `${u}px`), i.setProperty("--anchor-height", `${f}px`);
|
|
6702
6891
|
}
|
|
6703
|
-
}),
|
|
6892
|
+
}), zl(() => ({
|
|
6704
6893
|
element: H.current || X(H.current).createElement("div"),
|
|
6705
6894
|
padding: f,
|
|
6706
6895
|
offsetParent: "floating"
|
|
6707
6896
|
}), [f]), {
|
|
6708
6897
|
name: "transformOrigin",
|
|
6709
6898
|
fn(e) {
|
|
6710
|
-
let { elements: t, middlewareData: n, placement: r, rects: o, y: s } = e, c = Rr(r), l = Hr(c), u = H.current, d = n.arrow?.x || 0, f = n.arrow?.y || 0, p = u?.clientWidth || 0, m = u?.clientHeight || 0, h = d + p / 2, g = f + m / 2, _ = Math.abs(n.shift?.y || 0), v = o.reference.height / 2, y = typeof a == "function" ? a(
|
|
6899
|
+
let { elements: t, middlewareData: n, placement: r, rects: o, y: s } = e, c = Rr(r), l = Hr(c), u = H.current, d = n.arrow?.x || 0, f = n.arrow?.y || 0, p = u?.clientWidth || 0, m = u?.clientHeight || 0, h = d + p / 2, g = f + m / 2, _ = Math.abs(n.shift?.y || 0), v = o.reference.height / 2, y = typeof a == "function" ? a(Wl(e, i, N)) : a, b = _ > y, x = {
|
|
6711
6900
|
top: `${h}px calc(100% + ${y}px)`,
|
|
6712
6901
|
bottom: `${h}px ${-y}px`,
|
|
6713
6902
|
left: `calc(100% + ${y}px) ${g}px`,
|
|
@@ -6715,7 +6904,7 @@ function jl(e) {
|
|
|
6715
6904
|
}[c], S = `${h}px ${o.reference.y + v - s}px`;
|
|
6716
6905
|
return t.floating.style.setProperty("--transform-origin", re && l === "y" && b ? S : x), {};
|
|
6717
6906
|
}
|
|
6718
|
-
},
|
|
6907
|
+
}, Bl, b), U(() => {
|
|
6719
6908
|
!g && h && h.update({
|
|
6720
6909
|
referenceElement: null,
|
|
6721
6910
|
floatingElement: null,
|
|
@@ -6726,16 +6915,16 @@ function jl(e) {
|
|
|
6726
6915
|
let ae = n.useMemo(() => ({
|
|
6727
6916
|
elementResize: !p && typeof ResizeObserver < "u",
|
|
6728
6917
|
layoutShift: !p && typeof IntersectionObserver < "u"
|
|
6729
|
-
}), [p]), { refs: oe, elements: se, x: ce, y: le, middlewareData: ue, update: de, placement: fe, context: pe, isPositioned: me, floatingStyles: he } =
|
|
6918
|
+
}), [p]), { refs: oe, elements: se, x: ce, y: le, middlewareData: ue, update: de, placement: fe, context: pe, isPositioned: me, floatingStyles: he } = Fc({
|
|
6730
6919
|
rootContext: h,
|
|
6731
6920
|
open: m ? g : void 0,
|
|
6732
6921
|
placement: F,
|
|
6733
6922
|
middleware: ne,
|
|
6734
6923
|
strategy: r,
|
|
6735
|
-
whileElementsMounted: m ? void 0 : (...e) =>
|
|
6924
|
+
whileElementsMounted: m ? void 0 : (...e) => Ps(...e, ae),
|
|
6736
6925
|
nodeId: y,
|
|
6737
6926
|
externalTree: S
|
|
6738
|
-
}), { sideX: ge, sideY: _e } = ue.adaptiveOrigin ||
|
|
6927
|
+
}), { sideX: ge, sideY: _e } = ue.adaptiveOrigin || Vl, ve = me ? r : "fixed", ye = n.useMemo(() => {
|
|
6739
6928
|
let e = b ? {
|
|
6740
6929
|
position: ve,
|
|
6741
6930
|
[ge]: ce,
|
|
@@ -6757,7 +6946,7 @@ function jl(e) {
|
|
|
6757
6946
|
]), be = n.useRef(null);
|
|
6758
6947
|
U(() => {
|
|
6759
6948
|
if (!g) return;
|
|
6760
|
-
let e = j.current, t = typeof e == "function" ? e() : e, n = (
|
|
6949
|
+
let e = j.current, t = typeof e == "function" ? e() : e, n = (Kl(t) ? t.current : t) || null;
|
|
6761
6950
|
n !== be.current && (oe.setPositionReference(n), be.current = n);
|
|
6762
6951
|
}, [
|
|
6763
6952
|
g,
|
|
@@ -6767,14 +6956,14 @@ function jl(e) {
|
|
|
6767
6956
|
]), n.useEffect(() => {
|
|
6768
6957
|
if (!g) return;
|
|
6769
6958
|
let e = j.current;
|
|
6770
|
-
typeof e != "function" &&
|
|
6959
|
+
typeof e != "function" && Kl(e) && e.current !== be.current && (oe.setPositionReference(e.current), be.current = e.current);
|
|
6771
6960
|
}, [
|
|
6772
6961
|
g,
|
|
6773
6962
|
oe,
|
|
6774
6963
|
A,
|
|
6775
6964
|
j
|
|
6776
6965
|
]), n.useEffect(() => {
|
|
6777
|
-
if (m && g && se.domReference && se.floating) return
|
|
6966
|
+
if (m && g && se.domReference && se.floating) return Ps(se.domReference, se.floating, de, ae);
|
|
6778
6967
|
}, [
|
|
6779
6968
|
m,
|
|
6780
6969
|
g,
|
|
@@ -6782,7 +6971,7 @@ function jl(e) {
|
|
|
6782
6971
|
de,
|
|
6783
6972
|
ae
|
|
6784
6973
|
]);
|
|
6785
|
-
let xe = Rr(fe), Se =
|
|
6974
|
+
let xe = Rr(fe), Se = Ul(i, xe, N), Ce = zr(fe) || "center", we = !!ue.hide?.referenceHidden;
|
|
6786
6975
|
U(() => {
|
|
6787
6976
|
x && g && me && w(xe);
|
|
6788
6977
|
}, [
|
|
@@ -6824,19 +7013,19 @@ function jl(e) {
|
|
|
6824
7013
|
de
|
|
6825
7014
|
]);
|
|
6826
7015
|
}
|
|
6827
|
-
function
|
|
7016
|
+
function Kl(e) {
|
|
6828
7017
|
return e != null && "current" in e;
|
|
6829
7018
|
}
|
|
6830
7019
|
//#endregion
|
|
6831
7020
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/composite/list/CompositeList.js
|
|
6832
|
-
function
|
|
6833
|
-
let { children: t, elementsRef: r, labelsRef: i, onMapChange: a } = e, s = R(a), c = n.useRef(0), l = F(
|
|
7021
|
+
function ql(e) {
|
|
7022
|
+
let { children: t, elementsRef: r, labelsRef: i, onMapChange: a } = e, s = R(a), c = n.useRef(0), l = F(Yl).current, u = F(Jl).current, [d, f] = n.useState(0), p = n.useRef(d), m = R((e, t) => {
|
|
6834
7023
|
u.set(e, t ?? null), p.current += 1, f(p.current);
|
|
6835
7024
|
}), h = R((e) => {
|
|
6836
7025
|
u.delete(e), p.current += 1, f(p.current);
|
|
6837
7026
|
}), g = n.useMemo(() => {
|
|
6838
7027
|
let e = /* @__PURE__ */ new Map();
|
|
6839
|
-
return Array.from(u.keys()).filter((e) => e.isConnected).sort(
|
|
7028
|
+
return Array.from(u.keys()).filter((e) => e.isConnected).sort(Xl).forEach((t, n) => {
|
|
6840
7029
|
let r = u.get(t) ?? {};
|
|
6841
7030
|
e.set(t, {
|
|
6842
7031
|
...r,
|
|
@@ -6891,47 +7080,24 @@ function Nl(e) {
|
|
|
6891
7080
|
i,
|
|
6892
7081
|
c
|
|
6893
7082
|
]);
|
|
6894
|
-
return /*#__PURE__*/ o(
|
|
7083
|
+
return /*#__PURE__*/ o(kl.Provider, {
|
|
6895
7084
|
value: v,
|
|
6896
7085
|
children: t
|
|
6897
7086
|
});
|
|
6898
7087
|
}
|
|
6899
|
-
function
|
|
7088
|
+
function Jl() {
|
|
6900
7089
|
return /* @__PURE__ */ new Map();
|
|
6901
7090
|
}
|
|
6902
|
-
function
|
|
7091
|
+
function Yl() {
|
|
6903
7092
|
return /* @__PURE__ */ new Set();
|
|
6904
7093
|
}
|
|
6905
|
-
function
|
|
7094
|
+
function Xl(e, t) {
|
|
6906
7095
|
let n = e.compareDocumentPosition(t);
|
|
6907
7096
|
return n & Node.DOCUMENT_POSITION_FOLLOWING || n & Node.DOCUMENT_POSITION_CONTAINED_BY ? -1 : n & Node.DOCUMENT_POSITION_PRECEDING || n & Node.DOCUMENT_POSITION_CONTAINS ? 1 : 0;
|
|
6908
7097
|
}
|
|
6909
7098
|
//#endregion
|
|
6910
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/InternalBackdrop.js
|
|
6911
|
-
var Ll = /*#__PURE__*/ n.forwardRef(function(e, t) {
|
|
6912
|
-
let { cutout: n, ...r } = e, i;
|
|
6913
|
-
if (n) {
|
|
6914
|
-
let e = n.getBoundingClientRect();
|
|
6915
|
-
i = `polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`;
|
|
6916
|
-
}
|
|
6917
|
-
return /*#__PURE__*/ o("div", {
|
|
6918
|
-
ref: t,
|
|
6919
|
-
role: "presentation",
|
|
6920
|
-
"data-base-ui-inert": "",
|
|
6921
|
-
...r,
|
|
6922
|
-
style: {
|
|
6923
|
-
position: "fixed",
|
|
6924
|
-
inset: 0,
|
|
6925
|
-
userSelect: "none",
|
|
6926
|
-
WebkitUserSelect: "none",
|
|
6927
|
-
clipPath: i
|
|
6928
|
-
}
|
|
6929
|
-
});
|
|
6930
|
-
});
|
|
6931
|
-
process.env.NODE_ENV !== "production" && (Ll.displayName = "InternalBackdrop");
|
|
6932
|
-
//#endregion
|
|
6933
7099
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/usePositioner.js
|
|
6934
|
-
function
|
|
7100
|
+
function Zl(e, t, { styles: n, transitionStatus: r, props: i, refs: a, hidden: o, inert: s = !1 }) {
|
|
6935
7101
|
let c = { ...n };
|
|
6936
7102
|
return s && (c.pointerEvents = "none"), ze("div", e, {
|
|
6937
7103
|
state: t,
|
|
@@ -6942,123 +7108,16 @@ function Rl(e, t, { styles: n, transitionStatus: r, props: i, refs: a, hidden: o
|
|
|
6942
7108
|
hidden: o,
|
|
6943
7109
|
style: c
|
|
6944
7110
|
},
|
|
6945
|
-
|
|
7111
|
+
Fl(r),
|
|
6946
7112
|
i
|
|
6947
7113
|
],
|
|
6948
7114
|
stateAttributesMapping: Ua
|
|
6949
7115
|
});
|
|
6950
7116
|
}
|
|
6951
7117
|
//#endregion
|
|
6952
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useScrollLock.js
|
|
6953
|
-
var zl = {}, Bl = {}, Vl = "";
|
|
6954
|
-
function Hl(e) {
|
|
6955
|
-
if (typeof document > "u") return !1;
|
|
6956
|
-
let t = X(e);
|
|
6957
|
-
return d(t).innerWidth - t.documentElement.clientWidth > 0;
|
|
6958
|
-
}
|
|
6959
|
-
function Ul(e) {
|
|
6960
|
-
if (!(typeof CSS < "u" && CSS.supports && CSS.supports("scrollbar-gutter", "stable")) || typeof document > "u") return !1;
|
|
6961
|
-
let t = X(e), n = t.documentElement, r = t.body, i = _(n) ? n : r, a = i.style.overflowY, o = n.style.scrollbarGutter;
|
|
6962
|
-
n.style.scrollbarGutter = "stable", i.style.overflowY = "scroll";
|
|
6963
|
-
let s = i.offsetWidth;
|
|
6964
|
-
i.style.overflowY = "hidden";
|
|
6965
|
-
let c = i.offsetWidth;
|
|
6966
|
-
return i.style.overflowY = a, n.style.scrollbarGutter = o, s === c;
|
|
6967
|
-
}
|
|
6968
|
-
function Wl(e) {
|
|
6969
|
-
let t = X(e), n = t.documentElement, r = t.body, i = _(n) ? n : r, a = {
|
|
6970
|
-
overflowY: i.style.overflowY,
|
|
6971
|
-
overflowX: i.style.overflowX
|
|
6972
|
-
};
|
|
6973
|
-
return Object.assign(i.style, {
|
|
6974
|
-
overflowY: "hidden",
|
|
6975
|
-
overflowX: "hidden"
|
|
6976
|
-
}), () => {
|
|
6977
|
-
Object.assign(i.style, a);
|
|
6978
|
-
};
|
|
6979
|
-
}
|
|
6980
|
-
function Gl(e) {
|
|
6981
|
-
let t = X(e), n = t.documentElement, r = t.body, i = d(n), a = 0, o = 0, s = !1, c = Ji.create();
|
|
6982
|
-
if (Xn && (i.visualViewport?.scale ?? 1) !== 1) return () => {};
|
|
6983
|
-
function l() {
|
|
6984
|
-
let t = i.getComputedStyle(n), c = i.getComputedStyle(r), l = (t.scrollbarGutter || "").includes("both-edges") ? "stable both-edges" : "stable";
|
|
6985
|
-
a = n.scrollTop, o = n.scrollLeft, zl = {
|
|
6986
|
-
scrollbarGutter: n.style.scrollbarGutter,
|
|
6987
|
-
overflowY: n.style.overflowY,
|
|
6988
|
-
overflowX: n.style.overflowX
|
|
6989
|
-
}, Vl = n.style.scrollBehavior, Bl = {
|
|
6990
|
-
position: r.style.position,
|
|
6991
|
-
height: r.style.height,
|
|
6992
|
-
width: r.style.width,
|
|
6993
|
-
boxSizing: r.style.boxSizing,
|
|
6994
|
-
overflowY: r.style.overflowY,
|
|
6995
|
-
overflowX: r.style.overflowX,
|
|
6996
|
-
scrollBehavior: r.style.scrollBehavior
|
|
6997
|
-
};
|
|
6998
|
-
let u = n.scrollHeight > n.clientHeight, d = n.scrollWidth > n.clientWidth, f = t.overflowY === "scroll" || c.overflowY === "scroll", p = t.overflowX === "scroll" || c.overflowX === "scroll", m = Math.max(0, i.innerWidth - r.clientWidth), h = Math.max(0, i.innerHeight - r.clientHeight), g = parseFloat(c.marginTop) + parseFloat(c.marginBottom), v = parseFloat(c.marginLeft) + parseFloat(c.marginRight), y = _(n) ? n : r;
|
|
6999
|
-
if (s = Ul(e), s) {
|
|
7000
|
-
n.style.scrollbarGutter = l, y.style.overflowY = "hidden", y.style.overflowX = "hidden";
|
|
7001
|
-
return;
|
|
7002
|
-
}
|
|
7003
|
-
Object.assign(n.style, {
|
|
7004
|
-
scrollbarGutter: l,
|
|
7005
|
-
overflowY: "hidden",
|
|
7006
|
-
overflowX: "hidden"
|
|
7007
|
-
}), (u || f) && (n.style.overflowY = "scroll"), (d || p) && (n.style.overflowX = "scroll"), Object.assign(r.style, {
|
|
7008
|
-
position: "relative",
|
|
7009
|
-
height: g || h ? `calc(100dvh - ${g + h}px)` : "100dvh",
|
|
7010
|
-
width: v || m ? `calc(100vw - ${v + m}px)` : "100vw",
|
|
7011
|
-
boxSizing: "border-box",
|
|
7012
|
-
overflow: "hidden",
|
|
7013
|
-
scrollBehavior: "unset"
|
|
7014
|
-
}), r.scrollTop = a, r.scrollLeft = o, n.setAttribute("data-base-ui-scroll-locked", ""), n.style.scrollBehavior = "unset";
|
|
7015
|
-
}
|
|
7016
|
-
function u() {
|
|
7017
|
-
Object.assign(n.style, zl), Object.assign(r.style, Bl), s || (n.scrollTop = a, n.scrollLeft = o, n.removeAttribute("data-base-ui-scroll-locked"), n.style.scrollBehavior = Vl);
|
|
7018
|
-
}
|
|
7019
|
-
function f() {
|
|
7020
|
-
u(), c.request(l);
|
|
7021
|
-
}
|
|
7022
|
-
l();
|
|
7023
|
-
let p = Q(i, "resize", f);
|
|
7024
|
-
return () => {
|
|
7025
|
-
c.cancel(), u(), typeof i.removeEventListener == "function" && p();
|
|
7026
|
-
};
|
|
7027
|
-
}
|
|
7028
|
-
var Kl = new class {
|
|
7029
|
-
lockCount = 0;
|
|
7030
|
-
restore = null;
|
|
7031
|
-
timeoutLock = Ui.create();
|
|
7032
|
-
timeoutUnlock = Ui.create();
|
|
7033
|
-
acquire(e) {
|
|
7034
|
-
return this.lockCount += 1, this.lockCount === 1 && this.restore === null && this.timeoutLock.start(0, () => this.lock(e)), this.release;
|
|
7035
|
-
}
|
|
7036
|
-
release = () => {
|
|
7037
|
-
--this.lockCount, this.lockCount === 0 && this.restore && this.timeoutUnlock.start(0, this.unlock);
|
|
7038
|
-
};
|
|
7039
|
-
unlock = () => {
|
|
7040
|
-
this.lockCount === 0 && this.restore && (this.restore?.(), this.restore = null);
|
|
7041
|
-
};
|
|
7042
|
-
lock(e) {
|
|
7043
|
-
if (this.lockCount === 0 || this.restore !== null) return;
|
|
7044
|
-
let t = X(e).documentElement, n = d(t).getComputedStyle(t).overflowY;
|
|
7045
|
-
if (n === "hidden" || n === "clip") {
|
|
7046
|
-
this.restore = Ne;
|
|
7047
|
-
return;
|
|
7048
|
-
}
|
|
7049
|
-
let r = Zn || !Hl(e);
|
|
7050
|
-
this.restore = r ? Wl(e) : Gl(e);
|
|
7051
|
-
}
|
|
7052
|
-
}();
|
|
7053
|
-
function ql(e = !0, t = null) {
|
|
7054
|
-
U(() => {
|
|
7055
|
-
if (e) return Kl.acquire(t);
|
|
7056
|
-
}, [e, t]);
|
|
7057
|
-
}
|
|
7058
|
-
//#endregion
|
|
7059
7118
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/useAnchoredPopupScrollLock.js
|
|
7060
|
-
var
|
|
7061
|
-
function
|
|
7119
|
+
var Ql = 20;
|
|
7120
|
+
function $l(e, t, r, i) {
|
|
7062
7121
|
let [a, o] = n.useState(!1);
|
|
7063
7122
|
U(() => {
|
|
7064
7123
|
if (!e || !t || r == null) {
|
|
@@ -7066,67 +7125,12 @@ function Yl(e, t, r, i) {
|
|
|
7066
7125
|
return;
|
|
7067
7126
|
}
|
|
7068
7127
|
let n = X(r).documentElement.clientWidth, i = r.offsetWidth;
|
|
7069
|
-
o(n > 0 && i > 0 && i >= n -
|
|
7128
|
+
o(n > 0 && i > 0 && i >= n - Ql);
|
|
7070
7129
|
}, [
|
|
7071
7130
|
e,
|
|
7072
7131
|
t,
|
|
7073
7132
|
r
|
|
7074
|
-
]),
|
|
7075
|
-
}
|
|
7076
|
-
//#endregion
|
|
7077
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useOnFirstRender.js
|
|
7078
|
-
function Xl(e) {
|
|
7079
|
-
let t = n.useRef(!0);
|
|
7080
|
-
t.current && (t.current = !1, e());
|
|
7081
|
-
}
|
|
7082
|
-
//#endregion
|
|
7083
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.2.8+b87d06724be9db7a/node_modules/@base-ui/utils/esm/useEnhancedClickHandler.js
|
|
7084
|
-
function Zl(e) {
|
|
7085
|
-
let t = n.useRef(""), r = n.useCallback((n) => {
|
|
7086
|
-
n.defaultPrevented || (t.current = n.pointerType, e(n, n.pointerType));
|
|
7087
|
-
}, [e]);
|
|
7088
|
-
return {
|
|
7089
|
-
onClick: n.useCallback((n) => {
|
|
7090
|
-
if (n.detail === 0) {
|
|
7091
|
-
e(n, "keyboard");
|
|
7092
|
-
return;
|
|
7093
|
-
}
|
|
7094
|
-
"pointerType" in n ? e(n, n.pointerType) : e(n, t.current), t.current = "";
|
|
7095
|
-
}, [e]),
|
|
7096
|
-
onPointerDown: r
|
|
7097
|
-
};
|
|
7098
|
-
}
|
|
7099
|
-
//#endregion
|
|
7100
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/internals/useValueChanged.js
|
|
7101
|
-
function Ql(e, t) {
|
|
7102
|
-
let r = n.useRef(e), i = R(t);
|
|
7103
|
-
U(() => {
|
|
7104
|
-
r.current !== e && i(r.current);
|
|
7105
|
-
}, [e, i]), U(() => {
|
|
7106
|
-
r.current = e;
|
|
7107
|
-
}, [e]);
|
|
7108
|
-
}
|
|
7109
|
-
//#endregion
|
|
7110
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/useOpenInteractionType.js
|
|
7111
|
-
function $l(e) {
|
|
7112
|
-
let [t, r] = n.useState(null), i = R((t, n) => {
|
|
7113
|
-
e || r(n || (Zn ? "touch" : ""));
|
|
7114
|
-
});
|
|
7115
|
-
Ql(e, (t) => {
|
|
7116
|
-
t && !e && r(null);
|
|
7117
|
-
});
|
|
7118
|
-
let { onClick: a, onPointerDown: o } = Zl(i);
|
|
7119
|
-
return n.useMemo(() => ({
|
|
7120
|
-
openMethod: t,
|
|
7121
|
-
triggerProps: {
|
|
7122
|
-
onClick: a,
|
|
7123
|
-
onPointerDown: o
|
|
7124
|
-
}
|
|
7125
|
-
}), [
|
|
7126
|
-
t,
|
|
7127
|
-
a,
|
|
7128
|
-
o
|
|
7129
|
-
]);
|
|
7133
|
+
]), Tl(e && (!t || a), i);
|
|
7130
7134
|
}
|
|
7131
7135
|
//#endregion
|
|
7132
7136
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/getPseudoElementBounds.js
|
|
@@ -7144,4 +7148,4 @@ function eu(e) {
|
|
|
7144
7148
|
};
|
|
7145
7149
|
}
|
|
7146
7150
|
//#endregion
|
|
7147
|
-
export {
|
|
7151
|
+
export { $, ge as $n, Zi as $t, il as A, er as An, Aa as At, Nc as B, Nn as Bn, ga as Bt, Xc as C, _r as Cn, Pa as Ct, nl as D, dr as Dn, Va as Dt, tl as E, yr as En, Ha as Et, Kc as F, Wn as Fn, ya as Ft, Tc as G, Xe as Gn, la as Gt, Dc as H, Dn as Hn, da as Ht, Lc as I, Hn as In, ha as It, _c as J, Fe as Jn, oa as Jt, Sc as K, ze as Kn, ca as Kt, Ic as L, Vn as Ln, ma as Lt, dl as M, Xn as Mn, Sa as Mt, Yc as N, X as Nn, _a as Nt, cl as O, Z as On, Na as Ot, Jc as P, Gn as Pn, pa as Pt, ec as Q, ye as Qn, ta as Qt, Pc as R, Ln as Rn, ba as Rt, $c as S, br as Sn, Q as St, el as T, gr as Tn, Ua as Tt, Oc as U, En as Un, va as Ut, kc as V, On as Vn, sa as Vt, Ec as W, $e as Wn, ua as Wt, mc as X, Me as Xn, ra as Xt, pc as Y, Ne as Yn, ia as Yt, oc as Z, Se as Zn, na as Zt, ml as _, fi as _n, Xa as _t, Gl as a, Mi as an, V as ar, Ao as at, al as b, Cr as bn, Ga as bt, Fl as c, Li as cn, A as cr, Do as ct, Ml as d, ui as dn, h as dr, So as dt, ea as en, _e as er, Ps as et, Ol as f, di as fn, D as fr, xo as ft, hl as g, ii as gn, Za as gt, gl as h, ai as hn, go as ht, ql as i, Vi as in, H as ir, Bo as it, ul as j, Qn as jn, Ta as jt, rl as k, fr as kn, ja as kt, Pl as l, li as ln, d as lr, Oo as lt, Tl as m, oi as mn, ho as mt, $l as n, Ui as nn, ne as nr, Go as nt, Hl as o, Fi as on, R as or, jo as ot, Dl as p, ci as pn, mo as pt, xc as q, Pe as qn, xa as qt, Zl as r, Wi as rn, U as rr, Vo as rt, Ll as s, Ii as sn, F as sr, ko as st, eu as t, Yi as tn, he as tr, js as tt, jl as u, si as un, m as ur, wo as ut, ol as v, ni as vn, Ja as vt, sl as w, pr as wn, Fa as wt, Qc as x, xr as xn, Wa as xt, Zc as y, Dr as yn, Ya as yt, jc as z, Fn as zn, fa as zt };
|