@dxos/shell 0.4.3 → 0.4.4-main.20c0bd9
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/bundle/shell.mjs +857 -856
- package/dist/bundle/shell.mjs.map +1 -1
- package/dist/bundle/shell.umd.js +39 -39
- package/dist/bundle/shell.umd.js.map +1 -1
- package/package.json +19 -19
package/dist/bundle/shell.mjs
CHANGED
|
@@ -3236,7 +3236,7 @@ function tx(e, t) {
|
|
|
3236
3236
|
() => e.dispatchEvent(t)
|
|
3237
3237
|
);
|
|
3238
3238
|
}
|
|
3239
|
-
const Bv = "Avatar", [rx,
|
|
3239
|
+
const Bv = "Avatar", [rx, oj] = zn(Bv), [nx, ix] = rx(Bv), ox = /* @__PURE__ */ ne((e, t) => {
|
|
3240
3240
|
const { __scopeAvatar: r, ...n } = e, [i, o] = Ce("idle");
|
|
3241
3241
|
return /* @__PURE__ */ te(nx, {
|
|
3242
3242
|
scope: r,
|
|
@@ -4967,11 +4967,11 @@ const im = "Dialog", [om, am] = zn(im), [R2, kr] = om(im), k2 = (e) => {
|
|
|
4967
4967
|
function Mf(e) {
|
|
4968
4968
|
return e ? "open" : "closed";
|
|
4969
4969
|
}
|
|
4970
|
-
const U2 = "DialogTitleWarning", [W2,
|
|
4970
|
+
const U2 = "DialogTitleWarning", [W2, sj] = YE(U2, {
|
|
4971
4971
|
contentName: so,
|
|
4972
4972
|
titleName: pm,
|
|
4973
4973
|
docsSlug: "dialog"
|
|
4974
|
-
}), Ff = k2, z2 = sm, H2 = um, V2 = fm, G2 = Lf, K2 = hm, q2 = gm, mm = vm, Y2 = "AlertDialog", [J2,
|
|
4974
|
+
}), Ff = k2, z2 = sm, H2 = um, V2 = fm, G2 = Lf, K2 = hm, q2 = gm, mm = vm, Y2 = "AlertDialog", [J2, cj] = zn(Y2, [
|
|
4975
4975
|
am
|
|
4976
4976
|
]), pn = am(), X2 = (e) => {
|
|
4977
4977
|
const { __scopeAlertDialog: t, ...r } = e, n = pn(t);
|
|
@@ -7052,7 +7052,7 @@ function sC(e, t) {
|
|
|
7052
7052
|
function Mu(e) {
|
|
7053
7053
|
return (t) => t.pointerType === "mouse" ? e(t) : void 0;
|
|
7054
7054
|
}
|
|
7055
|
-
const cC = L$, lC = M$, uC = j$, fC = W$, dC = V$, pC = G$, hC = Xm, gC = q$, vC = Z$, mC = Q$, yC = eC, e0 = "DropdownMenu", [bC,
|
|
7055
|
+
const cC = L$, lC = M$, uC = j$, fC = W$, dC = V$, pC = G$, hC = Xm, gC = q$, vC = Z$, mC = Q$, yC = eC, e0 = "DropdownMenu", [bC, lj] = Jr(e0, [
|
|
7056
7056
|
Gm
|
|
7057
7057
|
]), Nr = Gm(), [wC, t0] = bC(e0), _C = (e) => {
|
|
7058
7058
|
const { __scopeDropdownMenu: t, children: r, dir: n, open: i, defaultOpen: o, onOpenChange: a, modal: s = !0 } = e, c = Nr(t), l = Ee(null), [f = !1, d] = fn({
|
|
@@ -7215,7 +7215,7 @@ function r0(e) {
|
|
|
7215
7215
|
e
|
|
7216
7216
|
]), t;
|
|
7217
7217
|
}
|
|
7218
|
-
const n0 = "Checkbox", [VC,
|
|
7218
|
+
const n0 = "Checkbox", [VC, uj] = zn(n0), [GC, KC] = VC(n0), qC = /* @__PURE__ */ ne((e, t) => {
|
|
7219
7219
|
const { __scopeCheckbox: r, name: n, checked: i, defaultChecked: o, required: a, disabled: s, value: c = "on", onCheckedChange: l, ...f } = e, [d, p] = Ce(null), g = Dt(
|
|
7220
7220
|
t,
|
|
7221
7221
|
(S) => p(S)
|
|
@@ -7329,7 +7329,7 @@ function eA(e) {
|
|
|
7329
7329
|
e
|
|
7330
7330
|
]);
|
|
7331
7331
|
}
|
|
7332
|
-
const o0 = "Switch", [tA,
|
|
7332
|
+
const o0 = "Switch", [tA, fj] = Jr(o0), [rA, nA] = tA(o0), iA = /* @__PURE__ */ ne((e, t) => {
|
|
7333
7333
|
const { __scopeSwitch: r, name: n, checked: i, defaultChecked: o, required: a, disabled: s, value: c = "on", onCheckedChange: l, ...f } = e, [d, p] = Ce(null), g = dr(
|
|
7334
7334
|
t,
|
|
7335
7335
|
(_) => p(_)
|
|
@@ -8164,7 +8164,7 @@ const c0 = x.createContext(6), l0 = () => Jt(c0), u0 = x.createContext(null), vA
|
|
|
8164
8164
|
(C = m.current) == null || C.setSelectionRange(0, t);
|
|
8165
8165
|
}, children: lr.jsx(SA, { width: v, ...S, ...P }) })] }) });
|
|
8166
8166
|
}, AA = (e) => `calc(1ch + ${e} * 2)`;
|
|
8167
|
-
var Zt = "Input", [OA,
|
|
8167
|
+
var Zt = "Input", [OA, dj] = Jr(Zt, []), [TA, pr] = OA(Zt), f0 = ({ __inputScope: e, id: t, descriptionId: r, errorMessageId: n, validationValence: i = "neutral", children: o }) => {
|
|
8168
8168
|
const a = It("input", t), s = It("input__description", r), c = It("input__error-message", n);
|
|
8169
8169
|
return /* @__PURE__ */ x.createElement(TA, {
|
|
8170
8170
|
id: a,
|
|
@@ -8280,7 +8280,7 @@ var IA = /* @__PURE__ */ ne(({ __inputScope: e, asChild: t, children: r, ...n },
|
|
|
8280
8280
|
ref: r
|
|
8281
8281
|
});
|
|
8282
8282
|
});
|
|
8283
|
-
const d0 = "Collapsible", [FA,
|
|
8283
|
+
const d0 = "Collapsible", [FA, pj] = zn(d0), [BA, zf] = FA(d0), jA = /* @__PURE__ */ ne((e, t) => {
|
|
8284
8284
|
const { __scopeCollapsible: r, open: n, defaultOpen: i, disabled: o, onOpenChange: a, ...s } = e, [c = !1, l] = fc({
|
|
8285
8285
|
prop: n,
|
|
8286
8286
|
defaultProp: i,
|
|
@@ -8368,7 +8368,7 @@ function Hf(e) {
|
|
|
8368
8368
|
return e ? "open" : "closed";
|
|
8369
8369
|
}
|
|
8370
8370
|
const VA = jA, GA = WA, KA = zA;
|
|
8371
|
-
var yc = "List", [qA,
|
|
8371
|
+
var yc = "List", [qA, hj] = Jr(yc, []), [YA, JA] = qA(yc), h0 = /* @__PURE__ */ ne((e, t) => {
|
|
8372
8372
|
const { __listScope: r, variant: n = "ordered", selectable: i = !1, itemSizes: o, children: a, ...s } = e, c = n === "ordered" ? rt.ol : rt.ul;
|
|
8373
8373
|
return /* @__PURE__ */ x.createElement(c, {
|
|
8374
8374
|
...i && {
|
|
@@ -8385,7 +8385,7 @@ var yc = "List", [qA, pj] = Jr(yc, []), [YA, JA] = qA(yc), h0 = /* @__PURE__ */
|
|
|
8385
8385
|
}, a));
|
|
8386
8386
|
});
|
|
8387
8387
|
h0.displayName = yc;
|
|
8388
|
-
var Oa = "ListItem", [XA,
|
|
8388
|
+
var Oa = "ListItem", [XA, gj] = Jr(Oa, []), [ZA, g0] = XA(Oa), QA = /* @__PURE__ */ ne(({ children: e, asChild: t, __listItemScope: r, ...n }, i) => {
|
|
8389
8389
|
const { headingId: o } = g0(Oa, r), a = t ? kt : rt.div;
|
|
8390
8390
|
return /* @__PURE__ */ x.createElement(a, {
|
|
8391
8391
|
...n,
|
|
@@ -8436,7 +8436,7 @@ function nO(e, t) {
|
|
|
8436
8436
|
return i ?? r;
|
|
8437
8437
|
}, e);
|
|
8438
8438
|
}
|
|
8439
|
-
const m0 = "ScrollArea", [y0,
|
|
8439
|
+
const m0 = "ScrollArea", [y0, vj] = zn(m0), [iO, wr] = y0(m0), oO = /* @__PURE__ */ ne((e, t) => {
|
|
8440
8440
|
const { __scopeScrollArea: r, type: n = "hover", dir: i, scrollHideDelay: o = 600, ...a } = e, [s, c] = Ce(null), [l, f] = Ce(null), [d, p] = Ce(null), [g, v] = Ce(null), [m, b] = Ce(null), [w, _] = Ce(0), [S, $] = Ce(0), [R, P] = Ce(!1), [C, T] = Ce(!1), N = Dt(
|
|
8441
8441
|
t,
|
|
8442
8442
|
(M) => c(M)
|
|
@@ -9784,7 +9784,7 @@ const l5 = qO, u5 = JO, f5 = t5, d5 = i5, p5 = /* @__PURE__ */ ne((e, t) => /* @
|
|
|
9784
9784
|
wordWrap: "normal",
|
|
9785
9785
|
...e.style
|
|
9786
9786
|
}
|
|
9787
|
-
}))), h5 = p5, [xc,
|
|
9787
|
+
}))), h5 = p5, [xc, mj] = zn("Tooltip", [
|
|
9788
9788
|
L0
|
|
9789
9789
|
]), Sc = L0(), g5 = "TooltipProvider", v5 = 700, Vu = "tooltip.open", [m5, Yf] = xc(g5), y5 = (e) => {
|
|
9790
9790
|
const { __scopeTooltip: t, delayDuration: r = v5, skipDelayDuration: n = 300, disableHoverableContent: i = !1, children: o } = e, [a, s] = Ce(!0), c = Ee(!1), l = Ee(0);
|
|
@@ -11106,7 +11106,7 @@ var JT = (e, {
|
|
|
11106
11106
|
o,
|
|
11107
11107
|
v
|
|
11108
11108
|
]);
|
|
11109
|
-
}, Qf = "NavigationSidebar", ed = "Main", [
|
|
11109
|
+
}, Qf = "NavigationSidebar", ed = "Main", [yj, ay] = mo(ed, {
|
|
11110
11110
|
navigationSidebarOpen: !1,
|
|
11111
11111
|
setNavigationSidebarOpen: (e) => {
|
|
11112
11112
|
console.warn("Attempt to set sidebar state without initializing `MainRoot`");
|
|
@@ -18618,19 +18618,20 @@ var fd = "fill-[--surface-bg] dark:fill-[--surface-bg]", RP = "fill-[--surface-b
|
|
|
18618
18618
|
corner: H4
|
|
18619
18619
|
}, G4 = ({ elevation: e = "chrome" }, ...t) => de("p-1 z-[50] rounded", $o, So({
|
|
18620
18620
|
elevation: e
|
|
18621
|
-
}), ...t), K4 = (e, ...t) => de("relative flex items-center pis-6 pie-3 plb-1", "text-base leading-none rounded-sm select-none outline-none", qP, ...t), q4 = (e, ...t) => de("absolute inline-start-0 is-6 inline-flex items-center justify-center", ...t), Y4 = (e, ...t) => de(fd, ...t), J4 = (e, ...t) => de(eb, ...t), X4 = (e, ...t) => de($o, "flex items-center justify-center cursor-default bs-6 is-full", ...t), Z4 = {
|
|
18621
|
+
}), ...t), K4 = (e, ...t) => de("relative flex items-center pis-6 pie-3 plb-1", "text-base leading-none rounded-sm select-none outline-none", qP, ...t), q4 = (e, ...t) => de("absolute inline-start-0 is-6 inline-flex items-center justify-center", ...t), Y4 = (e, ...t) => de(fd, ...t), J4 = (e, ...t) => de(eb, ...t), X4 = (e, ...t) => de($o, "flex items-center justify-center cursor-default bs-6 is-full", ...t), Z4 = (e, ...t) => de(Qe(2), ...t), Q4 = {
|
|
18622
18622
|
content: G4,
|
|
18623
18623
|
item: K4,
|
|
18624
18624
|
itemIndicator: q4,
|
|
18625
18625
|
arrow: Y4,
|
|
18626
18626
|
separator: J4,
|
|
18627
|
-
scrollButton: X4
|
|
18628
|
-
|
|
18629
|
-
|
|
18630
|
-
|
|
18631
|
-
|
|
18632
|
-
|
|
18633
|
-
|
|
18627
|
+
scrollButton: X4,
|
|
18628
|
+
triggerIcon: Z4
|
|
18629
|
+
}, ek = ({ orientation: e }, ...t) => de(e === "vertical" ? KP : eb, GP, ...t), tk = {
|
|
18630
|
+
root: ek
|
|
18631
|
+
}, rk = (e, ...t) => de("is-20 bs-1 inline-block relative bg-neutral-400/25 rounded-full overflow-hidden", ...t), nk = ({ indeterminate: e }, ...t) => de("absolute inline-start-0 inset-block-0 inline-block bg-neutral-400 rounded-full", e && "animate-progress-indeterminate", ...t), ik = {
|
|
18632
|
+
root: rk,
|
|
18633
|
+
bar: nk
|
|
18634
|
+
}, ok = {
|
|
18634
18635
|
neutral: "surface-separator text-neutral-800 dark:text-neutral-150",
|
|
18635
18636
|
red: "bg-red-200 text-red-800 dark:bg-red-700 dark:text-red-150",
|
|
18636
18637
|
orange: "bg-orange-200 text-orange-800 dark:bg-orange-700 dark:text-orange-150",
|
|
@@ -18653,25 +18654,25 @@ var fd = "fill-[--surface-bg] dark:fill-[--surface-bg]", RP = "fill-[--surface-b
|
|
|
18653
18654
|
success: "bg-success-200 text-success-800 dark:bg-success-700 dark:text-success-150",
|
|
18654
18655
|
warning: "bg-warning-200 text-warning-800 dark:bg-warning-700 dark:text-warning-150",
|
|
18655
18656
|
error: "bg-error-200 text-error-800 dark:bg-error-700 dark:text-error-150"
|
|
18656
|
-
},
|
|
18657
|
-
root:
|
|
18658
|
-
},
|
|
18657
|
+
}, ak = ({ palette: e = "neutral" }, ...t) => de("text-xs font-semibold pli-2 plb-0.5 rounded cursor-default", ok[e], ...t), sk = {
|
|
18658
|
+
root: ak
|
|
18659
|
+
}, ck = (e, ...t) => de("z-[70] fixed bottom-4 inset-x-4 w-auto md:top-4 md:right-4 md:left-auto md:bottom-auto md:w-full md:max-w-sm rounded-lg flex flex-col gap-2", ...t), lk = (e, ...t) => de("rounded-lg flex p-2 gap-2", $o, So({
|
|
18659
18660
|
elevation: "chrome"
|
|
18660
|
-
}), "radix-state-open:animate-toast-slide-in-bottom md:radix-state-open:animate-toast-slide-in-right", "radix-state-closed:animate-toast-hide", "radix-swipe-end:animate-toast-swipe-out", "translate-x-radix-toast-swipe-move-x", "radix-swipe-cancel:translate-x-0 radix-swipe-cancel:duration-200 radix-swipe-cancel:ease-[ease]", Zr, ...t),
|
|
18661
|
-
viewport:
|
|
18662
|
-
root:
|
|
18663
|
-
body:
|
|
18664
|
-
title:
|
|
18665
|
-
description:
|
|
18666
|
-
actions:
|
|
18667
|
-
},
|
|
18668
|
-
root:
|
|
18669
|
-
},
|
|
18661
|
+
}), "radix-state-open:animate-toast-slide-in-bottom md:radix-state-open:animate-toast-slide-in-right", "radix-state-closed:animate-toast-hide", "radix-swipe-end:animate-toast-swipe-out", "translate-x-radix-toast-swipe-move-x", "radix-swipe-cancel:translate-x-0 radix-swipe-cancel:duration-200 radix-swipe-cancel:ease-[ease]", Zr, ...t), uk = (e, ...t) => de("grow flex flex-col gap-1 justify-center pis-2", ...t), fk = (e, ...t) => de("shrink-0 flex flex-col gap-1 justify-center", ...t), dk = ({ srOnly: e }, ...t) => de("shrink-0 text-md font-medium", e && "sr-only", ...t), pk = ({ srOnly: e }, ...t) => de(Nt, "shrink-0", e && "sr-only", ...t), hk = {
|
|
18662
|
+
viewport: ck,
|
|
18663
|
+
root: lk,
|
|
18664
|
+
body: uk,
|
|
18665
|
+
title: dk,
|
|
18666
|
+
description: pk,
|
|
18667
|
+
actions: fk
|
|
18668
|
+
}, gk = (e, ...t) => de("flex items-center gap-2 is-full", ...t), vk = {
|
|
18669
|
+
root: gk
|
|
18670
|
+
}, mk = (e, ...t) => de("inline-flex items-center rounded-md plb-2 pli-3", $o, Qy, So({
|
|
18670
18671
|
elevation: "group"
|
|
18671
|
-
}), tR, ...t),
|
|
18672
|
-
content:
|
|
18673
|
-
arrow:
|
|
18674
|
-
},
|
|
18672
|
+
}), tR, ...t), yk = (e, ...t) => de(fd, ...t), bk = {
|
|
18673
|
+
content: mk,
|
|
18674
|
+
arrow: yk
|
|
18675
|
+
}, wk = {
|
|
18675
18676
|
themeName: () => "default",
|
|
18676
18677
|
anchoredOverflow: gR,
|
|
18677
18678
|
avatar: CR,
|
|
@@ -18685,18 +18686,18 @@ var fd = "fill-[--surface-bg] dark:fill-[--surface-bg]", RP = "fill-[--surface-b
|
|
|
18685
18686
|
main: P4,
|
|
18686
18687
|
message: D4,
|
|
18687
18688
|
popover: B4,
|
|
18688
|
-
select:
|
|
18689
|
+
select: Q4,
|
|
18689
18690
|
scrollArea: V4,
|
|
18690
|
-
separator:
|
|
18691
|
-
status:
|
|
18692
|
-
tag:
|
|
18693
|
-
toast:
|
|
18694
|
-
toolbar:
|
|
18695
|
-
tooltip:
|
|
18696
|
-
},
|
|
18691
|
+
separator: tk,
|
|
18692
|
+
status: ik,
|
|
18693
|
+
tag: sk,
|
|
18694
|
+
toast: hk,
|
|
18695
|
+
toolbar: vk,
|
|
18696
|
+
tooltip: bk
|
|
18697
|
+
}, _k = (e) => (t, r, n, ...i) => {
|
|
18697
18698
|
const o = OP(e, t);
|
|
18698
18699
|
return typeof o == "function" ? o(n, ...i) : r;
|
|
18699
|
-
},
|
|
18700
|
+
}, Ek = _k(wk);
|
|
18700
18701
|
const lb = Vt({
|
|
18701
18702
|
textValue: "",
|
|
18702
18703
|
setTextValue: async (e) => {
|
|
@@ -18704,7 +18705,7 @@ const lb = Vt({
|
|
|
18704
18705
|
}), ub = () => Jt(lb), gd = ({ children: e }) => {
|
|
18705
18706
|
const [t, r] = Ce(""), n = De(async (i) => (await navigator.clipboard.writeText(i), r(i)), []);
|
|
18706
18707
|
return /* @__PURE__ */ x.createElement(lb.Provider, { value: { textValue: t, setTextValue: n } }, e);
|
|
18707
|
-
}, Hh = "invisible bs-px -mbe-px overflow-hidden",
|
|
18708
|
+
}, Hh = "invisible bs-px -mbe-px overflow-hidden", xk = ({ value: e, classNames: t, iconProps: r, ...n }) => {
|
|
18708
18709
|
const { t: i } = ut("os"), { textValue: o, setTextValue: a } = ub(), s = o === e;
|
|
18709
18710
|
return /* @__PURE__ */ x.createElement(
|
|
18710
18711
|
Or,
|
|
@@ -18717,7 +18718,7 @@ const lb = Vt({
|
|
|
18717
18718
|
/* @__PURE__ */ x.createElement("div", { role: "none", className: de("flex gap-1 items-center", s && Hh) }, /* @__PURE__ */ x.createElement("span", { className: "pli-1" }, i("copy invitation code label")), /* @__PURE__ */ x.createElement(xv, { className: Qe(4), weight: "bold", ...r })),
|
|
18718
18719
|
/* @__PURE__ */ x.createElement("div", { role: "none", className: de("flex gap-1 items-center", !s && Hh) }, /* @__PURE__ */ x.createElement("span", { className: "pli-1" }, i("copy invitation code success label")), /* @__PURE__ */ x.createElement(cc, { className: Qe(4), weight: "bold", ...r }))
|
|
18719
18720
|
);
|
|
18720
|
-
},
|
|
18721
|
+
}, Sk = ({ value: e, classNames: t, iconProps: r, variant: n, ...i }) => {
|
|
18721
18722
|
const { t: o } = ut("os"), { textValue: a, setTextValue: s } = ub(), l = o(a === e ? "copy invitation code success label" : "copy invitation code label"), [f, d] = Ce(!1);
|
|
18722
18723
|
return /* @__PURE__ */ x.createElement($r.Root, { delayDuration: 1500, open: f, onOpenChange: d }, /* @__PURE__ */ x.createElement($r.Portal, null, /* @__PURE__ */ x.createElement($r.Content, { side: "bottom", sideOffset: 12, classNames: "z-30" }, /* @__PURE__ */ x.createElement("span", null, l), /* @__PURE__ */ x.createElement($r.Arrow, null))), /* @__PURE__ */ x.createElement(
|
|
18723
18724
|
$r.Trigger,
|
|
@@ -19895,7 +19896,7 @@ const fb = ne(
|
|
|
19895
19896
|
/* @__PURE__ */ x.createElement(Ft.Root, { status: t === Dw.PresenceState.ONLINE ? "active" : "inactive", labelId: o }, /* @__PURE__ */ x.createElement(Ft.Frame, null, /* @__PURE__ */ x.createElement(Ft.Fallback, { href: a })), /* @__PURE__ */ x.createElement(Ft.Label, { classNames: "text-sm truncate pli-2" }, s))
|
|
19896
19897
|
);
|
|
19897
19898
|
}
|
|
19898
|
-
),
|
|
19899
|
+
), $k = ({ devices: e, onSelect: t }) => {
|
|
19899
19900
|
const { t: r } = ut("os");
|
|
19900
19901
|
return e.length > 0 ? /* @__PURE__ */ x.createElement(Zf, { classNames: "flex flex-col gap-2" }, e.map((n) => {
|
|
19901
19902
|
const i = Bc(n.deviceKey.toHex()), o = {
|
|
@@ -19911,7 +19912,7 @@ const fb = ne(
|
|
|
19911
19912
|
}
|
|
19912
19913
|
);
|
|
19913
19914
|
})) : /* @__PURE__ */ x.createElement("div", { role: "none", className: "grow flex items-center p-2" }, /* @__PURE__ */ x.createElement("p", { className: de(Nt, "text-center is-full") }, r("empty device list message")));
|
|
19914
|
-
},
|
|
19915
|
+
}, Ck = ({ spaceKey: e, includeSelf: t, onSelect: r }) => {
|
|
19915
19916
|
const n = fi(), i = Lw(e), o = gt(
|
|
19916
19917
|
() => t ? i.sort(
|
|
19917
19918
|
(a) => a.identity.identityKey.equals(n.halo.identity.get().identityKey) ? -1 : 1
|
|
@@ -19920,8 +19921,8 @@ const fb = ne(
|
|
|
19920
19921
|
),
|
|
19921
19922
|
[i]
|
|
19922
19923
|
);
|
|
19923
|
-
return /* @__PURE__ */ x.createElement(
|
|
19924
|
-
},
|
|
19924
|
+
return /* @__PURE__ */ x.createElement(Ak, { members: o, onSelect: r });
|
|
19925
|
+
}, Ak = ({ members: e, onSelect: t }) => {
|
|
19925
19926
|
const { t: r } = ut("os"), n = e.filter((i) => i.identity);
|
|
19926
19927
|
return n.length > 0 ? /* @__PURE__ */ x.createElement(Zf, { classNames: "flex flex-col gap-2", "data-testid": "space-members-list" }, n.map((i) => /* @__PURE__ */ x.createElement(
|
|
19927
19928
|
fb,
|
|
@@ -20003,8 +20004,8 @@ var rg;
|
|
|
20003
20004
|
(function(e) {
|
|
20004
20005
|
e[e.OFFLINE = 0] = "OFFLINE", e[e.ONLINE = 1] = "ONLINE";
|
|
20005
20006
|
})(rg || (rg = {}));
|
|
20006
|
-
var
|
|
20007
|
-
function
|
|
20007
|
+
var Ok = 200, vd = "__lodash_hash_undefined__", Tk = 1 / 0, db = 9007199254740991, Ik = "[object Arguments]", Pk = "[object Function]", Rk = "[object GeneratorFunction]", kk = "[object Symbol]", Nk = /[\\^$.*+?()[\]{}|]/g, Dk = /^\[object .+?Constructor\]$/, Lk = /^(?:0|[1-9]\d*)$/, Mk = typeof it == "object" && it && it.Object === Object && it, Fk = typeof self == "object" && self && self.Object === Object && self, md = Mk || Fk || Function("return this")();
|
|
20008
|
+
function Bk(e, t, r) {
|
|
20008
20009
|
switch (r.length) {
|
|
20009
20010
|
case 0:
|
|
20010
20011
|
return e.call(t);
|
|
@@ -20017,11 +20018,11 @@ function Fk(e, t, r) {
|
|
|
20017
20018
|
}
|
|
20018
20019
|
return e.apply(t, r);
|
|
20019
20020
|
}
|
|
20020
|
-
function
|
|
20021
|
+
function jk(e, t) {
|
|
20021
20022
|
var r = e ? e.length : 0;
|
|
20022
|
-
return !!r &&
|
|
20023
|
+
return !!r && zk(e, t, 0) > -1;
|
|
20023
20024
|
}
|
|
20024
|
-
function
|
|
20025
|
+
function Uk(e, t, r) {
|
|
20025
20026
|
for (var n = -1, i = e ? e.length : 0; ++n < i; )
|
|
20026
20027
|
if (r(t, e[n]))
|
|
20027
20028
|
return !0;
|
|
@@ -20037,40 +20038,40 @@ function yd(e, t) {
|
|
|
20037
20038
|
e[i + r] = t[r];
|
|
20038
20039
|
return e;
|
|
20039
20040
|
}
|
|
20040
|
-
function
|
|
20041
|
+
function Wk(e, t, r, n) {
|
|
20041
20042
|
for (var i = e.length, o = r + (n ? 1 : -1); n ? o-- : ++o < i; )
|
|
20042
20043
|
if (t(e[o], o, e))
|
|
20043
20044
|
return o;
|
|
20044
20045
|
return -1;
|
|
20045
20046
|
}
|
|
20046
|
-
function
|
|
20047
|
+
function zk(e, t, r) {
|
|
20047
20048
|
if (t !== t)
|
|
20048
|
-
return
|
|
20049
|
+
return Wk(e, Hk, r);
|
|
20049
20050
|
for (var n = r - 1, i = e.length; ++n < i; )
|
|
20050
20051
|
if (e[n] === t)
|
|
20051
20052
|
return n;
|
|
20052
20053
|
return -1;
|
|
20053
20054
|
}
|
|
20054
|
-
function
|
|
20055
|
+
function Hk(e) {
|
|
20055
20056
|
return e !== e;
|
|
20056
20057
|
}
|
|
20057
|
-
function
|
|
20058
|
+
function Vk(e, t) {
|
|
20058
20059
|
for (var r = -1, n = Array(e); ++r < e; )
|
|
20059
20060
|
n[r] = t(r);
|
|
20060
20061
|
return n;
|
|
20061
20062
|
}
|
|
20062
|
-
function
|
|
20063
|
+
function Gk(e) {
|
|
20063
20064
|
return function(t) {
|
|
20064
20065
|
return e(t);
|
|
20065
20066
|
};
|
|
20066
20067
|
}
|
|
20067
|
-
function
|
|
20068
|
+
function Kk(e, t) {
|
|
20068
20069
|
return e.has(t);
|
|
20069
20070
|
}
|
|
20070
|
-
function
|
|
20071
|
+
function qk(e, t) {
|
|
20071
20072
|
return e == null ? void 0 : e[t];
|
|
20072
20073
|
}
|
|
20073
|
-
function
|
|
20074
|
+
function Yk(e) {
|
|
20074
20075
|
var t = !1;
|
|
20075
20076
|
if (e != null && typeof e.toString != "function")
|
|
20076
20077
|
try {
|
|
@@ -20084,12 +20085,12 @@ function hb(e, t) {
|
|
|
20084
20085
|
return e(t(r));
|
|
20085
20086
|
};
|
|
20086
20087
|
}
|
|
20087
|
-
var
|
|
20088
|
+
var Jk = Array.prototype, Xk = Function.prototype, jc = Object.prototype, ql = md["__core-js_shared__"], ng = function() {
|
|
20088
20089
|
var e = /[^.]+$/.exec(ql && ql.keys && ql.keys.IE_PROTO || "");
|
|
20089
20090
|
return e ? "Symbol(src)_1." + e : "";
|
|
20090
|
-
}(), gb =
|
|
20091
|
-
"^" + gb.call(Co).replace(
|
|
20092
|
-
), ig = md.Symbol,
|
|
20091
|
+
}(), gb = Xk.toString, Co = jc.hasOwnProperty, bd = jc.toString, Zk = RegExp(
|
|
20092
|
+
"^" + gb.call(Co).replace(Nk, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
20093
|
+
), ig = md.Symbol, Qk = hb(Object.getPrototypeOf, Object), e8 = jc.propertyIsEnumerable, t8 = Jk.splice, og = ig ? ig.isConcatSpreadable : void 0, Ju = Object.getOwnPropertySymbols, ag = Math.max, r8 = mb(md, "Map"), _a = mb(Object, "create");
|
|
20093
20094
|
function ci(e) {
|
|
20094
20095
|
var t = -1, r = e ? e.length : 0;
|
|
20095
20096
|
for (this.clear(); ++t < r; ) {
|
|
@@ -20097,13 +20098,13 @@ function ci(e) {
|
|
|
20097
20098
|
this.set(n[0], n[1]);
|
|
20098
20099
|
}
|
|
20099
20100
|
}
|
|
20100
|
-
function
|
|
20101
|
+
function n8() {
|
|
20101
20102
|
this.__data__ = _a ? _a(null) : {};
|
|
20102
20103
|
}
|
|
20103
|
-
function
|
|
20104
|
+
function i8(e) {
|
|
20104
20105
|
return this.has(e) && delete this.__data__[e];
|
|
20105
20106
|
}
|
|
20106
|
-
function
|
|
20107
|
+
function o8(e) {
|
|
20107
20108
|
var t = this.__data__;
|
|
20108
20109
|
if (_a) {
|
|
20109
20110
|
var r = t[e];
|
|
@@ -20111,19 +20112,19 @@ function i8(e) {
|
|
|
20111
20112
|
}
|
|
20112
20113
|
return Co.call(t, e) ? t[e] : void 0;
|
|
20113
20114
|
}
|
|
20114
|
-
function
|
|
20115
|
+
function a8(e) {
|
|
20115
20116
|
var t = this.__data__;
|
|
20116
20117
|
return _a ? t[e] !== void 0 : Co.call(t, e);
|
|
20117
20118
|
}
|
|
20118
|
-
function
|
|
20119
|
+
function s8(e, t) {
|
|
20119
20120
|
var r = this.__data__;
|
|
20120
20121
|
return r[e] = _a && t === void 0 ? vd : t, this;
|
|
20121
20122
|
}
|
|
20122
|
-
ci.prototype.clear =
|
|
20123
|
-
ci.prototype.delete =
|
|
20124
|
-
ci.prototype.get =
|
|
20125
|
-
ci.prototype.has =
|
|
20126
|
-
ci.prototype.set =
|
|
20123
|
+
ci.prototype.clear = n8;
|
|
20124
|
+
ci.prototype.delete = i8;
|
|
20125
|
+
ci.prototype.get = o8;
|
|
20126
|
+
ci.prototype.has = a8;
|
|
20127
|
+
ci.prototype.set = s8;
|
|
20127
20128
|
function Ao(e) {
|
|
20128
20129
|
var t = -1, r = e ? e.length : 0;
|
|
20129
20130
|
for (this.clear(); ++t < r; ) {
|
|
@@ -20131,32 +20132,32 @@ function Ao(e) {
|
|
|
20131
20132
|
this.set(n[0], n[1]);
|
|
20132
20133
|
}
|
|
20133
20134
|
}
|
|
20134
|
-
function
|
|
20135
|
+
function c8() {
|
|
20135
20136
|
this.__data__ = [];
|
|
20136
20137
|
}
|
|
20137
|
-
function
|
|
20138
|
+
function l8(e) {
|
|
20138
20139
|
var t = this.__data__, r = Uc(t, e);
|
|
20139
20140
|
if (r < 0)
|
|
20140
20141
|
return !1;
|
|
20141
20142
|
var n = t.length - 1;
|
|
20142
|
-
return r == n ? t.pop() :
|
|
20143
|
+
return r == n ? t.pop() : t8.call(t, r, 1), !0;
|
|
20143
20144
|
}
|
|
20144
|
-
function
|
|
20145
|
+
function u8(e) {
|
|
20145
20146
|
var t = this.__data__, r = Uc(t, e);
|
|
20146
20147
|
return r < 0 ? void 0 : t[r][1];
|
|
20147
20148
|
}
|
|
20148
|
-
function
|
|
20149
|
+
function f8(e) {
|
|
20149
20150
|
return Uc(this.__data__, e) > -1;
|
|
20150
20151
|
}
|
|
20151
|
-
function
|
|
20152
|
+
function d8(e, t) {
|
|
20152
20153
|
var r = this.__data__, n = Uc(r, e);
|
|
20153
20154
|
return n < 0 ? r.push([e, t]) : r[n][1] = t, this;
|
|
20154
20155
|
}
|
|
20155
|
-
Ao.prototype.clear =
|
|
20156
|
-
Ao.prototype.delete =
|
|
20157
|
-
Ao.prototype.get =
|
|
20158
|
-
Ao.prototype.has =
|
|
20159
|
-
Ao.prototype.set =
|
|
20156
|
+
Ao.prototype.clear = c8;
|
|
20157
|
+
Ao.prototype.delete = l8;
|
|
20158
|
+
Ao.prototype.get = u8;
|
|
20159
|
+
Ao.prototype.has = f8;
|
|
20160
|
+
Ao.prototype.set = d8;
|
|
20160
20161
|
function Oo(e) {
|
|
20161
20162
|
var t = -1, r = e ? e.length : 0;
|
|
20162
20163
|
for (this.clear(); ++t < r; ) {
|
|
@@ -20164,60 +20165,60 @@ function Oo(e) {
|
|
|
20164
20165
|
this.set(n[0], n[1]);
|
|
20165
20166
|
}
|
|
20166
20167
|
}
|
|
20167
|
-
function
|
|
20168
|
+
function p8() {
|
|
20168
20169
|
this.__data__ = {
|
|
20169
20170
|
hash: new ci(),
|
|
20170
|
-
map: new (
|
|
20171
|
+
map: new (r8 || Ao)(),
|
|
20171
20172
|
string: new ci()
|
|
20172
20173
|
};
|
|
20173
20174
|
}
|
|
20174
|
-
function
|
|
20175
|
+
function h8(e) {
|
|
20175
20176
|
return Wc(this, e).delete(e);
|
|
20176
20177
|
}
|
|
20177
|
-
function
|
|
20178
|
+
function g8(e) {
|
|
20178
20179
|
return Wc(this, e).get(e);
|
|
20179
20180
|
}
|
|
20180
|
-
function
|
|
20181
|
+
function v8(e) {
|
|
20181
20182
|
return Wc(this, e).has(e);
|
|
20182
20183
|
}
|
|
20183
|
-
function
|
|
20184
|
+
function m8(e, t) {
|
|
20184
20185
|
return Wc(this, e).set(e, t), this;
|
|
20185
20186
|
}
|
|
20186
|
-
Oo.prototype.clear =
|
|
20187
|
-
Oo.prototype.delete =
|
|
20188
|
-
Oo.prototype.get =
|
|
20189
|
-
Oo.prototype.has =
|
|
20190
|
-
Oo.prototype.set =
|
|
20187
|
+
Oo.prototype.clear = p8;
|
|
20188
|
+
Oo.prototype.delete = h8;
|
|
20189
|
+
Oo.prototype.get = g8;
|
|
20190
|
+
Oo.prototype.has = v8;
|
|
20191
|
+
Oo.prototype.set = m8;
|
|
20191
20192
|
function Ks(e) {
|
|
20192
20193
|
var t = -1, r = e ? e.length : 0;
|
|
20193
20194
|
for (this.__data__ = new Oo(); ++t < r; )
|
|
20194
20195
|
this.add(e[t]);
|
|
20195
20196
|
}
|
|
20196
|
-
function
|
|
20197
|
+
function y8(e) {
|
|
20197
20198
|
return this.__data__.set(e, vd), this;
|
|
20198
20199
|
}
|
|
20199
|
-
function
|
|
20200
|
+
function b8(e) {
|
|
20200
20201
|
return this.__data__.has(e);
|
|
20201
20202
|
}
|
|
20202
|
-
Ks.prototype.add = Ks.prototype.push =
|
|
20203
|
-
Ks.prototype.has =
|
|
20204
|
-
function
|
|
20205
|
-
var r = wd(e) || yb(e) ?
|
|
20203
|
+
Ks.prototype.add = Ks.prototype.push = y8;
|
|
20204
|
+
Ks.prototype.has = b8;
|
|
20205
|
+
function w8(e, t) {
|
|
20206
|
+
var r = wd(e) || yb(e) ? Vk(e.length, String) : [], n = r.length, i = !!n;
|
|
20206
20207
|
for (var o in e)
|
|
20207
|
-
(t || Co.call(e, o)) && !(i && (o == "length" ||
|
|
20208
|
+
(t || Co.call(e, o)) && !(i && (o == "length" || R8(o, n))) && r.push(o);
|
|
20208
20209
|
return r;
|
|
20209
20210
|
}
|
|
20210
20211
|
function Uc(e, t) {
|
|
20211
20212
|
for (var r = e.length; r--; )
|
|
20212
|
-
if (
|
|
20213
|
+
if (B8(e[r][0], t))
|
|
20213
20214
|
return r;
|
|
20214
20215
|
return -1;
|
|
20215
20216
|
}
|
|
20216
|
-
function
|
|
20217
|
-
var i = -1, o =
|
|
20217
|
+
function _8(e, t, r, n) {
|
|
20218
|
+
var i = -1, o = jk, a = !0, s = e.length, c = [], l = t.length;
|
|
20218
20219
|
if (!s)
|
|
20219
20220
|
return c;
|
|
20220
|
-
r && (t = pb(t,
|
|
20221
|
+
r && (t = pb(t, Gk(r))), n ? (o = Uk, a = !1) : t.length >= Ok && (o = Kk, a = !1, t = new Ks(t));
|
|
20221
20222
|
e:
|
|
20222
20223
|
for (; ++i < s; ) {
|
|
20223
20224
|
var f = e[i], d = r ? r(f) : f;
|
|
@@ -20233,99 +20234,99 @@ function w8(e, t, r, n) {
|
|
|
20233
20234
|
}
|
|
20234
20235
|
function vb(e, t, r, n, i) {
|
|
20235
20236
|
var o = -1, a = e.length;
|
|
20236
|
-
for (r || (r =
|
|
20237
|
+
for (r || (r = P8), i || (i = []); ++o < a; ) {
|
|
20237
20238
|
var s = e[o];
|
|
20238
20239
|
t > 0 && r(s) ? t > 1 ? vb(s, t - 1, r, n, i) : yd(i, s) : n || (i[i.length] = s);
|
|
20239
20240
|
}
|
|
20240
20241
|
return i;
|
|
20241
20242
|
}
|
|
20242
|
-
function
|
|
20243
|
+
function E8(e, t, r) {
|
|
20243
20244
|
var n = t(e);
|
|
20244
20245
|
return wd(e) ? n : yd(n, r(e));
|
|
20245
20246
|
}
|
|
20246
|
-
function
|
|
20247
|
-
if (!_d(e) ||
|
|
20247
|
+
function x8(e) {
|
|
20248
|
+
if (!_d(e) || N8(e))
|
|
20248
20249
|
return !1;
|
|
20249
|
-
var t = wb(e) ||
|
|
20250
|
-
return t.test(
|
|
20250
|
+
var t = wb(e) || Yk(e) ? Zk : Dk;
|
|
20251
|
+
return t.test(F8(e));
|
|
20251
20252
|
}
|
|
20252
|
-
function
|
|
20253
|
+
function S8(e) {
|
|
20253
20254
|
if (!_d(e))
|
|
20254
|
-
return
|
|
20255
|
-
var t =
|
|
20255
|
+
return L8(e);
|
|
20256
|
+
var t = D8(e), r = [];
|
|
20256
20257
|
for (var n in e)
|
|
20257
20258
|
n == "constructor" && (t || !Co.call(e, n)) || r.push(n);
|
|
20258
20259
|
return r;
|
|
20259
20260
|
}
|
|
20260
|
-
function
|
|
20261
|
-
return e = Object(e),
|
|
20261
|
+
function $8(e, t) {
|
|
20262
|
+
return e = Object(e), C8(e, t, function(r, n) {
|
|
20262
20263
|
return n in e;
|
|
20263
20264
|
});
|
|
20264
20265
|
}
|
|
20265
|
-
function
|
|
20266
|
+
function C8(e, t, r) {
|
|
20266
20267
|
for (var n = -1, i = t.length, o = {}; ++n < i; ) {
|
|
20267
20268
|
var a = t[n], s = e[a];
|
|
20268
20269
|
r(s, a) && (o[a] = s);
|
|
20269
20270
|
}
|
|
20270
20271
|
return o;
|
|
20271
20272
|
}
|
|
20272
|
-
function
|
|
20273
|
+
function A8(e, t) {
|
|
20273
20274
|
return t = ag(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
20274
20275
|
for (var r = arguments, n = -1, i = ag(r.length - t, 0), o = Array(i); ++n < i; )
|
|
20275
20276
|
o[n] = r[t + n];
|
|
20276
20277
|
n = -1;
|
|
20277
20278
|
for (var a = Array(t + 1); ++n < t; )
|
|
20278
20279
|
a[n] = r[n];
|
|
20279
|
-
return a[t] = o,
|
|
20280
|
+
return a[t] = o, Bk(e, this, a);
|
|
20280
20281
|
};
|
|
20281
20282
|
}
|
|
20282
|
-
function
|
|
20283
|
-
return
|
|
20283
|
+
function O8(e) {
|
|
20284
|
+
return E8(e, z8, I8);
|
|
20284
20285
|
}
|
|
20285
20286
|
function Wc(e, t) {
|
|
20286
20287
|
var r = e.__data__;
|
|
20287
|
-
return
|
|
20288
|
+
return k8(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
|
|
20288
20289
|
}
|
|
20289
20290
|
function mb(e, t) {
|
|
20290
|
-
var r =
|
|
20291
|
-
return
|
|
20291
|
+
var r = qk(e, t);
|
|
20292
|
+
return x8(r) ? r : void 0;
|
|
20292
20293
|
}
|
|
20293
|
-
var
|
|
20294
|
+
var T8 = Ju ? hb(Ju, Object) : Eb, I8 = Ju ? function(e) {
|
|
20294
20295
|
for (var t = []; e; )
|
|
20295
|
-
yd(t,
|
|
20296
|
+
yd(t, T8(e)), e = Qk(e);
|
|
20296
20297
|
return t;
|
|
20297
20298
|
} : Eb;
|
|
20298
|
-
function
|
|
20299
|
+
function P8(e) {
|
|
20299
20300
|
return wd(e) || yb(e) || !!(og && e && e[og]);
|
|
20300
20301
|
}
|
|
20301
|
-
function
|
|
20302
|
-
return t = t ?? db, !!t && (typeof e == "number" ||
|
|
20302
|
+
function R8(e, t) {
|
|
20303
|
+
return t = t ?? db, !!t && (typeof e == "number" || Lk.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
20303
20304
|
}
|
|
20304
|
-
function
|
|
20305
|
+
function k8(e) {
|
|
20305
20306
|
var t = typeof e;
|
|
20306
20307
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
20307
20308
|
}
|
|
20308
|
-
function
|
|
20309
|
+
function N8(e) {
|
|
20309
20310
|
return !!ng && ng in e;
|
|
20310
20311
|
}
|
|
20311
|
-
function
|
|
20312
|
+
function D8(e) {
|
|
20312
20313
|
var t = e && e.constructor, r = typeof t == "function" && t.prototype || jc;
|
|
20313
20314
|
return e === r;
|
|
20314
20315
|
}
|
|
20315
|
-
function
|
|
20316
|
+
function L8(e) {
|
|
20316
20317
|
var t = [];
|
|
20317
20318
|
if (e != null)
|
|
20318
20319
|
for (var r in Object(e))
|
|
20319
20320
|
t.push(r);
|
|
20320
20321
|
return t;
|
|
20321
20322
|
}
|
|
20322
|
-
function
|
|
20323
|
-
if (typeof e == "string" ||
|
|
20323
|
+
function M8(e) {
|
|
20324
|
+
if (typeof e == "string" || W8(e))
|
|
20324
20325
|
return e;
|
|
20325
20326
|
var t = e + "";
|
|
20326
|
-
return t == "0" && 1 / e == -
|
|
20327
|
+
return t == "0" && 1 / e == -Tk ? "-0" : t;
|
|
20327
20328
|
}
|
|
20328
|
-
function
|
|
20329
|
+
function F8(e) {
|
|
20329
20330
|
if (e != null) {
|
|
20330
20331
|
try {
|
|
20331
20332
|
return gb.call(e);
|
|
@@ -20338,24 +20339,24 @@ function M8(e) {
|
|
|
20338
20339
|
}
|
|
20339
20340
|
return "";
|
|
20340
20341
|
}
|
|
20341
|
-
function
|
|
20342
|
+
function B8(e, t) {
|
|
20342
20343
|
return e === t || e !== e && t !== t;
|
|
20343
20344
|
}
|
|
20344
20345
|
function yb(e) {
|
|
20345
|
-
return
|
|
20346
|
+
return j8(e) && Co.call(e, "callee") && (!e8.call(e, "callee") || bd.call(e) == Ik);
|
|
20346
20347
|
}
|
|
20347
20348
|
var wd = Array.isArray;
|
|
20348
20349
|
function bb(e) {
|
|
20349
|
-
return e != null &&
|
|
20350
|
+
return e != null && U8(e.length) && !wb(e);
|
|
20350
20351
|
}
|
|
20351
|
-
function
|
|
20352
|
+
function j8(e) {
|
|
20352
20353
|
return _b(e) && bb(e);
|
|
20353
20354
|
}
|
|
20354
20355
|
function wb(e) {
|
|
20355
20356
|
var t = _d(e) ? bd.call(e) : "";
|
|
20356
|
-
return t ==
|
|
20357
|
+
return t == Pk || t == Rk;
|
|
20357
20358
|
}
|
|
20358
|
-
function
|
|
20359
|
+
function U8(e) {
|
|
20359
20360
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= db;
|
|
20360
20361
|
}
|
|
20361
20362
|
function _d(e) {
|
|
@@ -20365,20 +20366,20 @@ function _d(e) {
|
|
|
20365
20366
|
function _b(e) {
|
|
20366
20367
|
return !!e && typeof e == "object";
|
|
20367
20368
|
}
|
|
20368
|
-
function U8(e) {
|
|
20369
|
-
return typeof e == "symbol" || _b(e) && bd.call(e) == Rk;
|
|
20370
|
-
}
|
|
20371
20369
|
function W8(e) {
|
|
20372
|
-
return
|
|
20370
|
+
return typeof e == "symbol" || _b(e) && bd.call(e) == kk;
|
|
20373
20371
|
}
|
|
20374
|
-
|
|
20375
|
-
return e
|
|
20372
|
+
function z8(e) {
|
|
20373
|
+
return bb(e) ? w8(e, !0) : S8(e);
|
|
20374
|
+
}
|
|
20375
|
+
A8(function(e, t) {
|
|
20376
|
+
return e == null ? {} : (t = pb(vb(t, 1), M8), $8(e, _8(O8(e), t)));
|
|
20376
20377
|
});
|
|
20377
20378
|
function Eb() {
|
|
20378
20379
|
return [];
|
|
20379
20380
|
}
|
|
20380
|
-
var
|
|
20381
|
-
function
|
|
20381
|
+
var H8 = 1 / 0, V8 = 9007199254740991, G8 = "[object Arguments]", K8 = "[object Function]", q8 = "[object GeneratorFunction]", Y8 = "[object Symbol]", J8 = typeof it == "object" && it && it.Object === Object && it, X8 = typeof self == "object" && self && self.Object === Object && self, Z8 = J8 || X8 || Function("return this")();
|
|
20382
|
+
function Q8(e, t, r) {
|
|
20382
20383
|
switch (r.length) {
|
|
20383
20384
|
case 0:
|
|
20384
20385
|
return e.call(t);
|
|
@@ -20391,94 +20392,94 @@ function Z8(e, t, r) {
|
|
|
20391
20392
|
}
|
|
20392
20393
|
return e.apply(t, r);
|
|
20393
20394
|
}
|
|
20394
|
-
function
|
|
20395
|
+
function eN(e, t) {
|
|
20395
20396
|
for (var r = -1, n = e ? e.length : 0, i = Array(n); ++r < n; )
|
|
20396
20397
|
i[r] = t(e[r], r, e);
|
|
20397
20398
|
return i;
|
|
20398
20399
|
}
|
|
20399
|
-
function
|
|
20400
|
+
function tN(e, t) {
|
|
20400
20401
|
for (var r = -1, n = t.length, i = e.length; ++r < n; )
|
|
20401
20402
|
e[i + r] = t[r];
|
|
20402
20403
|
return e;
|
|
20403
20404
|
}
|
|
20404
|
-
var Ed = Object.prototype,
|
|
20405
|
+
var Ed = Object.prototype, rN = Ed.hasOwnProperty, xd = Ed.toString, sg = Z8.Symbol, nN = Ed.propertyIsEnumerable, cg = sg ? sg.isConcatSpreadable : void 0, lg = Math.max;
|
|
20405
20406
|
function xb(e, t, r, n, i) {
|
|
20406
20407
|
var o = -1, a = e.length;
|
|
20407
|
-
for (r || (r =
|
|
20408
|
+
for (r || (r = sN), i || (i = []); ++o < a; ) {
|
|
20408
20409
|
var s = e[o];
|
|
20409
|
-
t > 0 && r(s) ? t > 1 ? xb(s, t - 1, r, n, i) :
|
|
20410
|
+
t > 0 && r(s) ? t > 1 ? xb(s, t - 1, r, n, i) : tN(i, s) : n || (i[i.length] = s);
|
|
20410
20411
|
}
|
|
20411
20412
|
return i;
|
|
20412
20413
|
}
|
|
20413
|
-
function
|
|
20414
|
-
return e = Object(e),
|
|
20414
|
+
function iN(e, t) {
|
|
20415
|
+
return e = Object(e), oN(e, t, function(r, n) {
|
|
20415
20416
|
return n in e;
|
|
20416
20417
|
});
|
|
20417
20418
|
}
|
|
20418
|
-
function
|
|
20419
|
+
function oN(e, t, r) {
|
|
20419
20420
|
for (var n = -1, i = t.length, o = {}; ++n < i; ) {
|
|
20420
20421
|
var a = t[n], s = e[a];
|
|
20421
20422
|
r(s, a) && (o[a] = s);
|
|
20422
20423
|
}
|
|
20423
20424
|
return o;
|
|
20424
20425
|
}
|
|
20425
|
-
function
|
|
20426
|
+
function aN(e, t) {
|
|
20426
20427
|
return t = lg(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
20427
20428
|
for (var r = arguments, n = -1, i = lg(r.length - t, 0), o = Array(i); ++n < i; )
|
|
20428
20429
|
o[n] = r[t + n];
|
|
20429
20430
|
n = -1;
|
|
20430
20431
|
for (var a = Array(t + 1); ++n < t; )
|
|
20431
20432
|
a[n] = r[n];
|
|
20432
|
-
return a[t] = o,
|
|
20433
|
+
return a[t] = o, Q8(e, this, a);
|
|
20433
20434
|
};
|
|
20434
20435
|
}
|
|
20435
|
-
function aN(e) {
|
|
20436
|
-
return lN(e) || cN(e) || !!(cg && e && e[cg]);
|
|
20437
|
-
}
|
|
20438
20436
|
function sN(e) {
|
|
20439
|
-
|
|
20440
|
-
return e;
|
|
20441
|
-
var t = e + "";
|
|
20442
|
-
return t == "0" && 1 / e == -z8 ? "-0" : t;
|
|
20437
|
+
return uN(e) || lN(e) || !!(cg && e && e[cg]);
|
|
20443
20438
|
}
|
|
20444
20439
|
function cN(e) {
|
|
20445
|
-
|
|
20440
|
+
if (typeof e == "string" || vN(e))
|
|
20441
|
+
return e;
|
|
20442
|
+
var t = e + "";
|
|
20443
|
+
return t == "0" && 1 / e == -H8 ? "-0" : t;
|
|
20446
20444
|
}
|
|
20447
|
-
|
|
20448
|
-
|
|
20449
|
-
return e != null && pN(e.length) && !dN(e);
|
|
20445
|
+
function lN(e) {
|
|
20446
|
+
return dN(e) && rN.call(e, "callee") && (!nN.call(e, "callee") || xd.call(e) == G8);
|
|
20450
20447
|
}
|
|
20448
|
+
var uN = Array.isArray;
|
|
20451
20449
|
function fN(e) {
|
|
20452
|
-
return
|
|
20450
|
+
return e != null && hN(e.length) && !pN(e);
|
|
20453
20451
|
}
|
|
20454
20452
|
function dN(e) {
|
|
20455
|
-
|
|
20456
|
-
return t == G8 || t == K8;
|
|
20453
|
+
return Sb(e) && fN(e);
|
|
20457
20454
|
}
|
|
20458
20455
|
function pN(e) {
|
|
20459
|
-
|
|
20456
|
+
var t = gN(e) ? xd.call(e) : "";
|
|
20457
|
+
return t == K8 || t == q8;
|
|
20460
20458
|
}
|
|
20461
20459
|
function hN(e) {
|
|
20460
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= V8;
|
|
20461
|
+
}
|
|
20462
|
+
function gN(e) {
|
|
20462
20463
|
var t = typeof e;
|
|
20463
20464
|
return !!e && (t == "object" || t == "function");
|
|
20464
20465
|
}
|
|
20465
20466
|
function Sb(e) {
|
|
20466
20467
|
return !!e && typeof e == "object";
|
|
20467
20468
|
}
|
|
20468
|
-
function
|
|
20469
|
-
return typeof e == "symbol" || Sb(e) && xd.call(e) ==
|
|
20469
|
+
function vN(e) {
|
|
20470
|
+
return typeof e == "symbol" || Sb(e) && xd.call(e) == Y8;
|
|
20470
20471
|
}
|
|
20471
|
-
|
|
20472
|
-
return e == null ? {} :
|
|
20472
|
+
aN(function(e, t) {
|
|
20473
|
+
return e == null ? {} : iN(e, eN(xb(t, 1), cN));
|
|
20473
20474
|
});
|
|
20474
|
-
var
|
|
20475
|
+
var mN = Object.create, $b = Object.defineProperty, yN = Object.getOwnPropertyDescriptor, Cb = Object.getOwnPropertyNames, bN = Object.getPrototypeOf, wN = Object.prototype.hasOwnProperty, Je = (e, t) => function() {
|
|
20475
20476
|
return t || (0, e[Cb(e)[0]])((t = { exports: {} }).exports, t), t.exports;
|
|
20476
|
-
},
|
|
20477
|
+
}, _N = (e, t, r, n) => {
|
|
20477
20478
|
if (t && typeof t == "object" || typeof t == "function")
|
|
20478
20479
|
for (let i of Cb(t))
|
|
20479
|
-
!
|
|
20480
|
+
!wN.call(e, i) && i !== r && $b(e, i, { get: () => t[i], enumerable: !(n = yN(t, i)) || n.enumerable });
|
|
20480
20481
|
return e;
|
|
20481
|
-
}, yi = (e, t, r) => (r = e != null ?
|
|
20482
|
+
}, yi = (e, t, r) => (r = e != null ? mN(bN(e)) : {}, _N(
|
|
20482
20483
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
20483
20484
|
// file that has been converted to a CommonJS file using a Babel-
|
|
20484
20485
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
@@ -20535,7 +20536,7 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
20535
20536
|
return { __proto__: r }.foo === r.foo && !({ __proto__: null } instanceof n);
|
|
20536
20537
|
};
|
|
20537
20538
|
}
|
|
20538
|
-
}),
|
|
20539
|
+
}), EN = Je({
|
|
20539
20540
|
"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e, t) {
|
|
20540
20541
|
var r = "Function.prototype.bind called on incompatible ", n = Object.prototype.toString, i = Math.max, o = "[object Function]", a = function(f, d) {
|
|
20541
20542
|
for (var p = [], g = 0; g < f.length; g += 1)
|
|
@@ -20580,10 +20581,10 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
20580
20581
|
}
|
|
20581
20582
|
}), Sd = Je({
|
|
20582
20583
|
"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e, t) {
|
|
20583
|
-
var r =
|
|
20584
|
+
var r = EN();
|
|
20584
20585
|
t.exports = Function.prototype.bind || r;
|
|
20585
20586
|
}
|
|
20586
|
-
}),
|
|
20587
|
+
}), xN = Je({
|
|
20587
20588
|
"node_modules/.pnpm/hasown@2.0.0/node_modules/hasown/index.js"(e, t) {
|
|
20588
20589
|
var r = Function.prototype.call, n = Object.prototype.hasOwnProperty, i = Sd();
|
|
20589
20590
|
t.exports = i.call(r, n);
|
|
@@ -20759,7 +20760,7 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
20759
20760
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
20760
20761
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
20761
20762
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
20762
|
-
}, S = Sd(), $ =
|
|
20763
|
+
}, S = Sd(), $ = xN(), R = S.call(Function.call, Array.prototype.concat), P = S.call(Function.apply, Array.prototype.splice), C = S.call(Function.call, String.prototype.replace), T = S.call(Function.call, String.prototype.slice), N = S.call(Function.call, RegExp.prototype.exec), B = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, M = /\\(\\)?/g, L = function(X) {
|
|
20763
20764
|
var oe = T(X, 0, 1), se = T(X, -1);
|
|
20764
20765
|
if (oe === "%" && se !== "%")
|
|
20765
20766
|
throw new n("invalid intrinsic syntax, expected closing `%`");
|
|
@@ -20847,7 +20848,7 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
20847
20848
|
}
|
|
20848
20849
|
t.exports = n;
|
|
20849
20850
|
}
|
|
20850
|
-
}),
|
|
20851
|
+
}), SN = Je({
|
|
20851
20852
|
"node_modules/.pnpm/define-data-property@1.1.1/node_modules/define-data-property/index.js"(e, t) {
|
|
20852
20853
|
var r = Ib()(), n = To(), i = r && n("%Object.defineProperty%", !0);
|
|
20853
20854
|
if (i)
|
|
@@ -20884,9 +20885,9 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
20884
20885
|
throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
20885
20886
|
};
|
|
20886
20887
|
}
|
|
20887
|
-
}),
|
|
20888
|
+
}), $N = Je({
|
|
20888
20889
|
"node_modules/.pnpm/set-function-length@1.1.1/node_modules/set-function-length/index.js"(e, t) {
|
|
20889
|
-
var r = To(), n =
|
|
20890
|
+
var r = To(), n = SN(), i = Ib()(), o = $d(), a = r("%TypeError%"), s = r("%Math.floor%");
|
|
20890
20891
|
t.exports = function(l, f) {
|
|
20891
20892
|
if (typeof l != "function")
|
|
20892
20893
|
throw new a("`fn` is not a function");
|
|
@@ -20902,7 +20903,7 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
20902
20903
|
}
|
|
20903
20904
|
}), Pb = Je({
|
|
20904
20905
|
"node_modules/.pnpm/call-bind@1.0.5/node_modules/call-bind/index.js"(e, t) {
|
|
20905
|
-
var r = Sd(), n = To(), i =
|
|
20906
|
+
var r = Sd(), n = To(), i = $N(), o = n("%TypeError%"), a = n("%Function.prototype.apply%"), s = n("%Function.prototype.call%"), c = n("%Reflect.apply%", !0) || r.call(s, a), l = n("%Object.defineProperty%", !0), f = n("%Math.max%");
|
|
20906
20907
|
if (l)
|
|
20907
20908
|
try {
|
|
20908
20909
|
l({}, "a", { value: 1 });
|
|
@@ -20932,7 +20933,7 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
20932
20933
|
return typeof c == "function" && i(a, ".prototype.") > -1 ? n(c) : c;
|
|
20933
20934
|
};
|
|
20934
20935
|
}
|
|
20935
|
-
}),
|
|
20936
|
+
}), CN = Je({
|
|
20936
20937
|
"node_modules/.pnpm/is-arguments@1.1.1/node_modules/is-arguments/index.js"(e, t) {
|
|
20937
20938
|
var r = ka()(), n = Rb(), i = n("Object.prototype.toString"), o = function(l) {
|
|
20938
20939
|
return r && l && typeof l == "object" && Symbol.toStringTag in l ? !1 : i(l) === "[object Arguments]";
|
|
@@ -20943,7 +20944,7 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
20943
20944
|
}();
|
|
20944
20945
|
o.isLegacyArguments = a, t.exports = s ? o : a;
|
|
20945
20946
|
}
|
|
20946
|
-
}),
|
|
20947
|
+
}), AN = Je({
|
|
20947
20948
|
"node_modules/.pnpm/is-generator-function@1.0.10/node_modules/is-generator-function/index.js"(e, t) {
|
|
20948
20949
|
var r = Object.prototype.toString, n = Function.prototype.toString, i = /^\s*(?:function)?\*/, o = ka()(), a = Object.getPrototypeOf, s = function() {
|
|
20949
20950
|
if (!o)
|
|
@@ -20971,7 +20972,7 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
20971
20972
|
return a(f) === c;
|
|
20972
20973
|
};
|
|
20973
20974
|
}
|
|
20974
|
-
}),
|
|
20975
|
+
}), ON = Je({
|
|
20975
20976
|
"node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js"(e, t) {
|
|
20976
20977
|
var r = Function.prototype.toString, n = typeof Reflect == "object" && Reflect !== null && Reflect.apply, i, o;
|
|
20977
20978
|
if (typeof n == "function" && typeof Object.defineProperty == "function")
|
|
@@ -21041,7 +21042,7 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
21041
21042
|
}
|
|
21042
21043
|
}), Cd = Je({
|
|
21043
21044
|
"node_modules/.pnpm/for-each@0.3.3/node_modules/for-each/index.js"(e, t) {
|
|
21044
|
-
var r =
|
|
21045
|
+
var r = ON(), n = Object.prototype.toString, i = Object.prototype.hasOwnProperty, o = function(f, d, p) {
|
|
21045
21046
|
for (var g = 0, v = f.length; g < v; g++)
|
|
21046
21047
|
i.call(f, g) && (p == null ? d(f[g], g, f) : d.call(p, f[g], g, f));
|
|
21047
21048
|
}, a = function(f, d, p) {
|
|
@@ -21079,7 +21080,7 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
21079
21080
|
return o;
|
|
21080
21081
|
};
|
|
21081
21082
|
}
|
|
21082
|
-
}),
|
|
21083
|
+
}), TN = Je({
|
|
21083
21084
|
"node_modules/.pnpm/function-bind@1.1.1/node_modules/function-bind/implementation.js"(e, t) {
|
|
21084
21085
|
var r = "Function.prototype.bind called on incompatible ", n = Array.prototype.slice, i = Object.prototype.toString, o = "[object Function]";
|
|
21085
21086
|
t.exports = function(s) {
|
|
@@ -21110,10 +21111,10 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
21110
21111
|
}
|
|
21111
21112
|
}), Od = Je({
|
|
21112
21113
|
"node_modules/.pnpm/function-bind@1.1.1/node_modules/function-bind/index.js"(e, t) {
|
|
21113
|
-
var r =
|
|
21114
|
+
var r = TN();
|
|
21114
21115
|
t.exports = Function.prototype.bind || r;
|
|
21115
21116
|
}
|
|
21116
|
-
}),
|
|
21117
|
+
}), IN = Je({
|
|
21117
21118
|
"node_modules/.pnpm/has@1.0.3/node_modules/has/src/index.js"(e, t) {
|
|
21118
21119
|
var r = Od();
|
|
21119
21120
|
t.exports = r.call(Function.call, Object.prototype.hasOwnProperty);
|
|
@@ -21289,7 +21290,7 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
21289
21290
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
21290
21291
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
21291
21292
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
21292
|
-
}, S = Od(), $ =
|
|
21293
|
+
}, S = Od(), $ = IN(), R = S.call(Function.call, Array.prototype.concat), P = S.call(Function.apply, Array.prototype.splice), C = S.call(Function.call, String.prototype.replace), T = S.call(Function.call, String.prototype.slice), N = S.call(Function.call, RegExp.prototype.exec), B = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, M = /\\(\\)?/g, L = function(X) {
|
|
21293
21294
|
var oe = T(X, 0, 1), se = T(X, -1);
|
|
21294
21295
|
if (oe === "%" && se !== "%")
|
|
21295
21296
|
throw new n("invalid intrinsic syntax, expected closing `%`");
|
|
@@ -21345,7 +21346,7 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
21345
21346
|
return ue;
|
|
21346
21347
|
};
|
|
21347
21348
|
}
|
|
21348
|
-
}),
|
|
21349
|
+
}), PN = Je({
|
|
21349
21350
|
"node_modules/.pnpm/call-bind@1.0.2/node_modules/call-bind/index.js"(e, t) {
|
|
21350
21351
|
var r = Od(), n = Td(), i = n("%Function.prototype.apply%"), o = n("%Function.prototype.call%"), a = n("%Reflect.apply%", !0) || r.call(o, i), s = n("%Object.getOwnPropertyDescriptor%", !0), c = n("%Object.defineProperty%", !0), l = n("%Math.max%");
|
|
21351
21352
|
if (c)
|
|
@@ -21373,7 +21374,7 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
21373
21374
|
}
|
|
21374
21375
|
}), kb = Je({
|
|
21375
21376
|
"node_modules/.pnpm/call-bind@1.0.2/node_modules/call-bind/callBound.js"(e, t) {
|
|
21376
|
-
var r = Td(), n =
|
|
21377
|
+
var r = Td(), n = PN(), i = n(r("String.prototype.indexOf"));
|
|
21377
21378
|
t.exports = function(a, s) {
|
|
21378
21379
|
var c = r(a, !!s);
|
|
21379
21380
|
return typeof c == "function" && i(a, ".prototype.") > -1 ? n(c) : c;
|
|
@@ -21390,7 +21391,7 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
21390
21391
|
}
|
|
21391
21392
|
t.exports = n;
|
|
21392
21393
|
}
|
|
21393
|
-
}),
|
|
21394
|
+
}), RN = Je({
|
|
21394
21395
|
"node_modules/.pnpm/which-typed-array@1.1.13/node_modules/which-typed-array/index.js"(e, t) {
|
|
21395
21396
|
var r = Cd(), n = Ad(), i = Pb(), o = Rb(), a = $d(), s = o("Object.prototype.toString"), c = ka()(), l = typeof globalThis > "u" ? global : globalThis, f = n(), d = o("String.prototype.slice"), p = Object.getPrototypeOf, g = o("Array.prototype.indexOf", !0) || function(_, S) {
|
|
21396
21397
|
for (var $ = 0; $ < _.length; $ += 1)
|
|
@@ -21441,14 +21442,14 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
21441
21442
|
return a ? m(_) : null;
|
|
21442
21443
|
};
|
|
21443
21444
|
}
|
|
21444
|
-
}),
|
|
21445
|
+
}), kN = Je({
|
|
21445
21446
|
"node_modules/.pnpm/is-typed-array@1.1.12/node_modules/is-typed-array/index.js"(e, t) {
|
|
21446
|
-
var r =
|
|
21447
|
+
var r = RN();
|
|
21447
21448
|
t.exports = function(i) {
|
|
21448
21449
|
return !!r(i);
|
|
21449
21450
|
};
|
|
21450
21451
|
}
|
|
21451
|
-
}),
|
|
21452
|
+
}), NN = Je({
|
|
21452
21453
|
"node_modules/.pnpm/which-typed-array@1.1.8/node_modules/which-typed-array/index.js"(e, t) {
|
|
21453
21454
|
var r = Cd(), n = Ad(), i = kb(), o = i("Object.prototype.toString"), a = ka()(), s = typeof globalThis > "u" ? global : globalThis, c = n(), l = i("String.prototype.slice"), f = {}, d = Nb(), p = Object.getPrototypeOf;
|
|
21454
21455
|
a && d && p && r(c, function(m) {
|
|
@@ -21474,12 +21475,12 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
21474
21475
|
} catch {
|
|
21475
21476
|
}
|
|
21476
21477
|
}), w;
|
|
21477
|
-
}, v =
|
|
21478
|
+
}, v = kN();
|
|
21478
21479
|
t.exports = function(b) {
|
|
21479
21480
|
return v(b) ? !a || !(Symbol.toStringTag in b) ? l(o(b), 8, -1) : g(b) : !1;
|
|
21480
21481
|
};
|
|
21481
21482
|
}
|
|
21482
|
-
}),
|
|
21483
|
+
}), DN = Je({
|
|
21483
21484
|
"node_modules/.pnpm/is-typed-array@1.1.9/node_modules/is-typed-array/index.js"(e, t) {
|
|
21484
21485
|
var r = Cd(), n = Ad(), i = kb(), o = i("Object.prototype.toString"), a = ka()(), s = typeof globalThis > "u" ? global : globalThis, c = n(), l = i("Array.prototype.indexOf", !0) || function(b, w) {
|
|
21485
21486
|
for (var _ = 0; _ < b.length; _ += 1)
|
|
@@ -21518,9 +21519,9 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
21518
21519
|
return p ? v(b) : !1;
|
|
21519
21520
|
};
|
|
21520
21521
|
}
|
|
21521
|
-
}),
|
|
21522
|
+
}), LN = Je({
|
|
21522
21523
|
"node_modules/.pnpm/util@0.12.5/node_modules/util/support/types.js"(e) {
|
|
21523
|
-
var t =
|
|
21524
|
+
var t = CN(), r = AN(), n = NN(), i = DN();
|
|
21524
21525
|
function o(ce) {
|
|
21525
21526
|
return ce.call.bind(ce);
|
|
21526
21527
|
}
|
|
@@ -21703,13 +21704,13 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
21703
21704
|
});
|
|
21704
21705
|
});
|
|
21705
21706
|
}
|
|
21706
|
-
}),
|
|
21707
|
+
}), MN = Je({
|
|
21707
21708
|
"node_modules/.pnpm/util@0.12.5/node_modules/util/support/isBufferBrowser.js"(e, t) {
|
|
21708
21709
|
t.exports = function(n) {
|
|
21709
21710
|
return n && typeof n == "object" && typeof n.copy == "function" && typeof n.fill == "function" && typeof n.readUInt8 == "function";
|
|
21710
21711
|
};
|
|
21711
21712
|
}
|
|
21712
|
-
}),
|
|
21713
|
+
}), FN = Je({
|
|
21713
21714
|
"node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js"(e, t) {
|
|
21714
21715
|
typeof Object.create == "function" ? t.exports = function(n, i) {
|
|
21715
21716
|
i && (n.super_ = i, n.prototype = Object.create(i.prototype, {
|
|
@@ -21949,7 +21950,7 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
21949
21950
|
`) + " " + V.join(`,
|
|
21950
21951
|
`) + " " + ie[1] : ie[0] + J + " " + V.join(", ") + " " + ie[1];
|
|
21951
21952
|
}
|
|
21952
|
-
e.types =
|
|
21953
|
+
e.types = LN();
|
|
21953
21954
|
function b(V) {
|
|
21954
21955
|
return Array.isArray(V);
|
|
21955
21956
|
}
|
|
@@ -22006,7 +22007,7 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
22006
22007
|
return V === null || typeof V == "boolean" || typeof V == "number" || typeof V == "string" || typeof V == "symbol" || // ES6 symbol
|
|
22007
22008
|
typeof V > "u";
|
|
22008
22009
|
}
|
|
22009
|
-
e.isPrimitive = Z, e.isBuffer =
|
|
22010
|
+
e.isPrimitive = Z, e.isBuffer = MN();
|
|
22010
22011
|
function Y(V) {
|
|
22011
22012
|
return Object.prototype.toString.call(V);
|
|
22012
22013
|
}
|
|
@@ -22037,7 +22038,7 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
22037
22038
|
}
|
|
22038
22039
|
e.log = function() {
|
|
22039
22040
|
console.log("%s - %s", se(), e.format.apply(e, arguments));
|
|
22040
|
-
}, e.inherits =
|
|
22041
|
+
}, e.inherits = FN(), e._extend = function(V, J) {
|
|
22041
22042
|
if (!J || !N(J))
|
|
22042
22043
|
return V;
|
|
22043
22044
|
for (var ie = Object.keys(J), he = ie.length; he--; )
|
|
@@ -22123,61 +22124,61 @@ var vN = Object.create, $b = Object.defineProperty, mN = Object.getOwnPropertyDe
|
|
|
22123
22124
|
e.callbackify = ue;
|
|
22124
22125
|
}
|
|
22125
22126
|
});
|
|
22126
|
-
function
|
|
22127
|
+
function BN(e, ...t) {
|
|
22127
22128
|
t.length > 0 ? queueMicrotask(() => e(...t)) : queueMicrotask(e);
|
|
22128
22129
|
}
|
|
22129
|
-
var
|
|
22130
|
+
var jN = "browser", UN = "browser", WN = !0, zN = {}, HN = [], VN = "", GN = {}, KN = {}, qN = {};
|
|
22130
22131
|
function bi() {
|
|
22131
22132
|
}
|
|
22132
|
-
var
|
|
22133
|
-
function
|
|
22133
|
+
var YN = bi, JN = bi, XN = bi, ZN = bi, QN = bi, eD = bi, tD = bi;
|
|
22134
|
+
function rD(e) {
|
|
22134
22135
|
throw new Error("process.binding is not supported");
|
|
22135
22136
|
}
|
|
22136
|
-
function
|
|
22137
|
+
function nD() {
|
|
22137
22138
|
return "/";
|
|
22138
22139
|
}
|
|
22139
|
-
function
|
|
22140
|
+
function iD(e) {
|
|
22140
22141
|
throw new Error("process.chdir is not supported");
|
|
22141
22142
|
}
|
|
22142
|
-
function
|
|
22143
|
+
function oD() {
|
|
22143
22144
|
return 0;
|
|
22144
22145
|
}
|
|
22145
|
-
var Zi = globalThis.performance || {},
|
|
22146
|
+
var Zi = globalThis.performance || {}, aD = Zi.now || Zi.mozNow || Zi.msNow || Zi.oNow || Zi.webkitNow || function() {
|
|
22146
22147
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
22147
22148
|
};
|
|
22148
|
-
function
|
|
22149
|
-
var t =
|
|
22149
|
+
function sD(e) {
|
|
22150
|
+
var t = aD.call(Zi) * 1e-3, r = Math.floor(t), n = Math.floor(t % 1 * 1e9);
|
|
22150
22151
|
return e && (r = r - e[0], n = n - e[1], n < 0 && (r--, n += 1e9)), [r, n];
|
|
22151
22152
|
}
|
|
22152
|
-
var
|
|
22153
|
-
function
|
|
22154
|
-
var e = /* @__PURE__ */ new Date(), t = e -
|
|
22153
|
+
var cD = /* @__PURE__ */ new Date();
|
|
22154
|
+
function lD() {
|
|
22155
|
+
var e = /* @__PURE__ */ new Date(), t = e - cD;
|
|
22155
22156
|
return t / 1e3;
|
|
22156
22157
|
}
|
|
22157
22158
|
var qs = {
|
|
22158
|
-
nextTick:
|
|
22159
|
-
title:
|
|
22160
|
-
browser:
|
|
22161
|
-
env:
|
|
22162
|
-
argv:
|
|
22163
|
-
version:
|
|
22164
|
-
versions:
|
|
22165
|
-
on:
|
|
22166
|
-
addListener:
|
|
22167
|
-
once:
|
|
22168
|
-
off:
|
|
22169
|
-
removeListener:
|
|
22170
|
-
removeAllListeners:
|
|
22171
|
-
emit:
|
|
22172
|
-
binding:
|
|
22173
|
-
cwd:
|
|
22174
|
-
chdir:
|
|
22175
|
-
umask:
|
|
22176
|
-
hrtime:
|
|
22177
|
-
platform:
|
|
22178
|
-
release:
|
|
22179
|
-
config:
|
|
22180
|
-
uptime:
|
|
22159
|
+
nextTick: BN,
|
|
22160
|
+
title: jN,
|
|
22161
|
+
browser: WN,
|
|
22162
|
+
env: zN,
|
|
22163
|
+
argv: HN,
|
|
22164
|
+
version: VN,
|
|
22165
|
+
versions: GN,
|
|
22166
|
+
on: YN,
|
|
22167
|
+
addListener: JN,
|
|
22168
|
+
once: XN,
|
|
22169
|
+
off: ZN,
|
|
22170
|
+
removeListener: QN,
|
|
22171
|
+
removeAllListeners: eD,
|
|
22172
|
+
emit: tD,
|
|
22173
|
+
binding: rD,
|
|
22174
|
+
cwd: nD,
|
|
22175
|
+
chdir: iD,
|
|
22176
|
+
umask: oD,
|
|
22177
|
+
hrtime: sD,
|
|
22178
|
+
platform: UN,
|
|
22179
|
+
release: KN,
|
|
22180
|
+
config: qN,
|
|
22181
|
+
uptime: lD
|
|
22181
22182
|
}, ug = {};
|
|
22182
22183
|
Object.keys(ug).forEach((e) => {
|
|
22183
22184
|
const t = e.split(".");
|
|
@@ -22187,7 +22188,7 @@ Object.keys(ug).forEach((e) => {
|
|
|
22187
22188
|
n === t.length - 1 ? r[i] = ug[e] : r = r[i] || (r[i] = {});
|
|
22188
22189
|
}
|
|
22189
22190
|
});
|
|
22190
|
-
var
|
|
22191
|
+
var uD = Je({
|
|
22191
22192
|
"node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js"(e) {
|
|
22192
22193
|
e.byteLength = c, e.toByteArray = f, e.fromByteArray = g;
|
|
22193
22194
|
var t = [], r = [], n = typeof Uint8Array < "u" ? Uint8Array : Array, i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
@@ -22235,7 +22236,7 @@ var lD = Je({
|
|
|
22235
22236
|
)), _.join("");
|
|
22236
22237
|
}
|
|
22237
22238
|
}
|
|
22238
|
-
}),
|
|
22239
|
+
}), fD = Je({
|
|
22239
22240
|
"node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js"(e) {
|
|
22240
22241
|
e.read = function(t, r, n, i, o) {
|
|
22241
22242
|
var a, s, c = o * 8 - i - 1, l = (1 << c) - 1, f = l >> 1, d = -7, p = n ? o - 1 : 0, g = n ? -1 : 1, v = t[r + p];
|
|
@@ -22262,7 +22263,7 @@ var lD = Je({
|
|
|
22262
22263
|
}
|
|
22263
22264
|
}), Lb = Je({
|
|
22264
22265
|
"node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js"(e) {
|
|
22265
|
-
var t =
|
|
22266
|
+
var t = uD(), r = fD(), n = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
|
|
22266
22267
|
e.Buffer = s, e.SlowBuffer = _, e.INSPECT_MAX_BYTES = 50;
|
|
22267
22268
|
var i = 2147483647;
|
|
22268
22269
|
e.kMaxLength = i, s.TYPED_ARRAY_SUPPORT = o(), !s.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
|
|
@@ -23245,12 +23246,12 @@ buffer/index.js:
|
|
|
23245
23246
|
* @license MIT
|
|
23246
23247
|
*)
|
|
23247
23248
|
*/
|
|
23248
|
-
var
|
|
23249
|
+
var dD = yi(Lb());
|
|
23249
23250
|
globalThis.global = globalThis;
|
|
23250
|
-
globalThis.Buffer =
|
|
23251
|
+
globalThis.Buffer = dD.Buffer;
|
|
23251
23252
|
globalThis.process = qs;
|
|
23252
|
-
var
|
|
23253
|
-
|
|
23253
|
+
var pD = yi(Db()), Id = yi(Db());
|
|
23254
|
+
pD.default;
|
|
23254
23255
|
Id.callbackify;
|
|
23255
23256
|
var Tr = Id.inspect;
|
|
23256
23257
|
Id.promisify;
|
|
@@ -23737,25 +23738,25 @@ Ys.exports;
|
|
|
23737
23738
|
}
|
|
23738
23739
|
e.exports = bl;
|
|
23739
23740
|
})(Ys, Ys.exports);
|
|
23740
|
-
var
|
|
23741
|
-
const
|
|
23742
|
-
var
|
|
23741
|
+
var hD = Ys.exports;
|
|
23742
|
+
const gD = /* @__PURE__ */ Un(hD);
|
|
23743
|
+
var vD = yi(Lb()), $n = vD.Buffer, la = (e, t, r) => {
|
|
23743
23744
|
if (e)
|
|
23744
23745
|
return;
|
|
23745
23746
|
let n = "invariant violation";
|
|
23746
|
-
throw t && (n += `: ${t}`), r != null && r.A && (n += ` [${r.A[0]}]`), r != null && r.F && (n += ` at ${
|
|
23747
|
-
},
|
|
23747
|
+
throw t && (n += `: ${t}`), r != null && r.A && (n += ` [${r.A[0]}]`), r != null && r.F && (n += ` at ${yD(r.F)}:${r.L}`), new mD(n);
|
|
23748
|
+
}, mD = class extends Error {
|
|
23748
23749
|
constructor(e) {
|
|
23749
23750
|
super(e), Object.setPrototypeOf(this, new.target.prototype);
|
|
23750
23751
|
}
|
|
23751
|
-
},
|
|
23752
|
+
}, yD = (e) => {
|
|
23752
23753
|
const t = e.match(/.+\/(packages\/.+\/.+)/);
|
|
23753
23754
|
if (t) {
|
|
23754
23755
|
const [, r] = t;
|
|
23755
23756
|
return r;
|
|
23756
23757
|
}
|
|
23757
23758
|
return e;
|
|
23758
|
-
},
|
|
23759
|
+
}, bD = Je({
|
|
23759
23760
|
"node_modules/.pnpm/events@3.3.0/node_modules/events/events.js"(e, t) {
|
|
23760
23761
|
var r = typeof Reflect == "object" ? Reflect : null, n = r && typeof r.apply == "function" ? r.apply : function(C, T, N) {
|
|
23761
23762
|
return Function.prototype.apply.call(C, T, N);
|
|
@@ -23965,7 +23966,7 @@ var gD = yi(Lb()), $n = gD.Buffer, la = (e, t, r) => {
|
|
|
23965
23966
|
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof P);
|
|
23966
23967
|
}
|
|
23967
23968
|
}
|
|
23968
|
-
}), Mb = yi(
|
|
23969
|
+
}), Mb = yi(bD());
|
|
23969
23970
|
Mb.EventEmitter;
|
|
23970
23971
|
Mb.EventEmitter;
|
|
23971
23972
|
var Js = (e) => {
|
|
@@ -23977,10 +23978,10 @@ var Js = (e) => {
|
|
|
23977
23978
|
(function(e) {
|
|
23978
23979
|
e[e.DEFAULT = 0] = "DEFAULT", e[e.VERBOSE = 1] = "VERBOSE", e[e.BOLD = 2] = "BOLD";
|
|
23979
23980
|
})(dg || (dg = {}));
|
|
23980
|
-
var
|
|
23981
|
+
var wD = (e, t = 8) => {
|
|
23981
23982
|
const r = String(e);
|
|
23982
23983
|
return r.length <= t ? r : r.slice(0, t);
|
|
23983
|
-
}, Es = Symbol.for("devtoolsFormatter"),
|
|
23984
|
+
}, Es = Symbol.for("devtoolsFormatter"), _D = () => {
|
|
23984
23985
|
typeof window < "u" && (window.devtoolsFormatters ?? (window.devtoolsFormatters = [])).push({
|
|
23985
23986
|
header: (e, t) => {
|
|
23986
23987
|
const r = e[Es];
|
|
@@ -24000,13 +24001,13 @@ var bD = (e, t = 8) => {
|
|
|
24000
24001
|
}
|
|
24001
24002
|
});
|
|
24002
24003
|
};
|
|
24003
|
-
|
|
24004
|
-
var
|
|
24005
|
-
zc.byteLength =
|
|
24006
|
-
zc.toByteArray =
|
|
24007
|
-
zc.fromByteArray =
|
|
24008
|
-
var Ur = [], vr = [],
|
|
24009
|
-
for (var Vi = 0,
|
|
24004
|
+
_D();
|
|
24005
|
+
var ED = Symbol.for("dxos.common.equals"), Xu = { exports: {} }, Zu = { exports: {} }, Na = {}, zc = {};
|
|
24006
|
+
zc.byteLength = $D;
|
|
24007
|
+
zc.toByteArray = AD;
|
|
24008
|
+
zc.fromByteArray = ID;
|
|
24009
|
+
var Ur = [], vr = [], xD = typeof Uint8Array < "u" ? Uint8Array : Array, Yl = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
24010
|
+
for (var Vi = 0, SD = Yl.length; Vi < SD; ++Vi)
|
|
24010
24011
|
Ur[Vi] = Yl[Vi], vr[Yl.charCodeAt(Vi)] = Vi;
|
|
24011
24012
|
vr[45] = 62;
|
|
24012
24013
|
vr[95] = 63;
|
|
@@ -24019,30 +24020,30 @@ function Fb(e) {
|
|
|
24019
24020
|
var n = r === t ? 0 : 4 - r % 4;
|
|
24020
24021
|
return [r, n];
|
|
24021
24022
|
}
|
|
24022
|
-
function
|
|
24023
|
+
function $D(e) {
|
|
24023
24024
|
var t = Fb(e), r = t[0], n = t[1];
|
|
24024
24025
|
return (r + n) * 3 / 4 - n;
|
|
24025
24026
|
}
|
|
24026
|
-
function
|
|
24027
|
+
function CD(e, t, r) {
|
|
24027
24028
|
return (t + r) * 3 / 4 - r;
|
|
24028
24029
|
}
|
|
24029
|
-
function
|
|
24030
|
-
var t, r = Fb(e), n = r[0], i = r[1], o = new
|
|
24030
|
+
function AD(e) {
|
|
24031
|
+
var t, r = Fb(e), n = r[0], i = r[1], o = new xD(CD(e, n, i)), a = 0, s = i > 0 ? n - 4 : n, c;
|
|
24031
24032
|
for (c = 0; c < s; c += 4)
|
|
24032
24033
|
t = vr[e.charCodeAt(c)] << 18 | vr[e.charCodeAt(c + 1)] << 12 | vr[e.charCodeAt(c + 2)] << 6 | vr[e.charCodeAt(c + 3)], o[a++] = t >> 16 & 255, o[a++] = t >> 8 & 255, o[a++] = t & 255;
|
|
24033
24034
|
return i === 2 && (t = vr[e.charCodeAt(c)] << 2 | vr[e.charCodeAt(c + 1)] >> 4, o[a++] = t & 255), i === 1 && (t = vr[e.charCodeAt(c)] << 10 | vr[e.charCodeAt(c + 1)] << 4 | vr[e.charCodeAt(c + 2)] >> 2, o[a++] = t >> 8 & 255, o[a++] = t & 255), o;
|
|
24034
24035
|
}
|
|
24035
|
-
function
|
|
24036
|
+
function OD(e) {
|
|
24036
24037
|
return Ur[e >> 18 & 63] + Ur[e >> 12 & 63] + Ur[e >> 6 & 63] + Ur[e & 63];
|
|
24037
24038
|
}
|
|
24038
|
-
function
|
|
24039
|
+
function TD(e, t, r) {
|
|
24039
24040
|
for (var n, i = [], o = t; o < r; o += 3)
|
|
24040
|
-
n = (e[o] << 16 & 16711680) + (e[o + 1] << 8 & 65280) + (e[o + 2] & 255), i.push(
|
|
24041
|
+
n = (e[o] << 16 & 16711680) + (e[o + 1] << 8 & 65280) + (e[o + 2] & 255), i.push(OD(n));
|
|
24041
24042
|
return i.join("");
|
|
24042
24043
|
}
|
|
24043
|
-
function
|
|
24044
|
+
function ID(e) {
|
|
24044
24045
|
for (var t, r = e.length, n = r % 3, i = [], o = 16383, a = 0, s = r - n; a < s; a += o)
|
|
24045
|
-
i.push(
|
|
24046
|
+
i.push(TD(e, a, a + o > s ? s : a + o));
|
|
24046
24047
|
return n === 1 ? (t = e[r - 1], i.push(
|
|
24047
24048
|
Ur[t >> 2] + Ur[t << 4 & 63] + "=="
|
|
24048
24049
|
)) : n === 2 && (t = (e[r - 2] << 8) + e[r - 1], i.push(
|
|
@@ -25080,17 +25081,17 @@ Pd.write = function(e, t, r, n, i, o) {
|
|
|
25080
25081
|
return r.SlowBuffer(a);
|
|
25081
25082
|
};
|
|
25082
25083
|
})(Zu, Zu.exports);
|
|
25083
|
-
var Bb = Zu.exports, Jl = 65536,
|
|
25084
|
-
function
|
|
25084
|
+
var Bb = Zu.exports, Jl = 65536, PD = 4294967295;
|
|
25085
|
+
function RD() {
|
|
25085
25086
|
throw new Error(`Secure random number generation is not supported by this browser.
|
|
25086
25087
|
Use Chrome, Firefox or Internet Explorer 11`);
|
|
25087
25088
|
}
|
|
25088
|
-
var
|
|
25089
|
-
Xs && Xs.getRandomValues ? Xu.exports =
|
|
25090
|
-
function
|
|
25091
|
-
if (e >
|
|
25089
|
+
var kD = Bb.Buffer, Xs = it.crypto || it.msCrypto;
|
|
25090
|
+
Xs && Xs.getRandomValues ? Xu.exports = ND : Xu.exports = RD;
|
|
25091
|
+
function ND(e, t) {
|
|
25092
|
+
if (e > PD)
|
|
25092
25093
|
throw new RangeError("requested too many random bytes");
|
|
25093
|
-
var r =
|
|
25094
|
+
var r = kD.allocUnsafe(e);
|
|
25094
25095
|
if (e > 0)
|
|
25095
25096
|
if (e > Jl)
|
|
25096
25097
|
for (var n = 0; n < e; n += Jl)
|
|
@@ -25101,9 +25102,9 @@ function kD(e, t) {
|
|
|
25101
25102
|
t(null, r);
|
|
25102
25103
|
}) : r;
|
|
25103
25104
|
}
|
|
25104
|
-
var
|
|
25105
|
-
const
|
|
25106
|
-
var Xl = "/home/runner/work/dxos/dxos/packages/common/keys/src/public-key.ts",
|
|
25105
|
+
var DD = Xu.exports;
|
|
25106
|
+
const LD = /* @__PURE__ */ Un(DD);
|
|
25107
|
+
var Xl = "/home/runner/work/dxos/dxos/packages/common/keys/src/public-key.ts", MD = 32, pg = class qt {
|
|
25107
25108
|
/**
|
|
25108
25109
|
* Creates new instance of PublicKey automatically determining the input format.
|
|
25109
25110
|
* @param source A Buffer, or Uint8Array, or hex encoded string, or something with an `asUint8Array` method on it
|
|
@@ -25157,7 +25158,7 @@ var Xl = "/home/runner/work/dxos/dxos/packages/common/keys/src/public-key.ts", L
|
|
|
25157
25158
|
* Creates a new key.
|
|
25158
25159
|
*/
|
|
25159
25160
|
static random() {
|
|
25160
|
-
return qt.from(
|
|
25161
|
+
return qt.from(LD(MD));
|
|
25161
25162
|
}
|
|
25162
25163
|
static *randomSequence() {
|
|
25163
25164
|
for (let t = 0; t < 1e4; t++)
|
|
@@ -25239,7 +25240,7 @@ var Xl = "/home/runner/work/dxos/dxos/packages/common/keys/src/public-key.ts", L
|
|
|
25239
25240
|
return this.asBuffer().toString("hex");
|
|
25240
25241
|
}
|
|
25241
25242
|
truncate(t = void 0) {
|
|
25242
|
-
return
|
|
25243
|
+
return wD(this, t);
|
|
25243
25244
|
}
|
|
25244
25245
|
asBuffer() {
|
|
25245
25246
|
return $n.from(this._value.buffer, this._value.byteOffset, this._value.byteLength);
|
|
@@ -25327,7 +25328,7 @@ var Xl = "/home/runner/work/dxos/dxos/packages/common/keys/src/public-key.ts", L
|
|
|
25327
25328
|
n && (n = this._value[i] === r._value[i]);
|
|
25328
25329
|
return n;
|
|
25329
25330
|
}
|
|
25330
|
-
[
|
|
25331
|
+
[ED](t) {
|
|
25331
25332
|
return qt.isPublicKey(t) ? this.equals(t) : !1;
|
|
25332
25333
|
}
|
|
25333
25334
|
}, jb = 10;
|
|
@@ -25450,7 +25451,7 @@ var Xl = "/home/runner/work/dxos/dxos/packages/common/keys/src/public-key.ts", L
|
|
|
25450
25451
|
return "ComplexMap";
|
|
25451
25452
|
}
|
|
25452
25453
|
});
|
|
25453
|
-
var
|
|
25454
|
+
var FD = [
|
|
25454
25455
|
"ack",
|
|
25455
25456
|
"alabama",
|
|
25456
25457
|
"alanine",
|
|
@@ -25707,7 +25708,7 @@ var MD = [
|
|
|
25707
25708
|
"yellow",
|
|
25708
25709
|
"zebra",
|
|
25709
25710
|
"zulu"
|
|
25710
|
-
],
|
|
25711
|
+
], BD = class {
|
|
25711
25712
|
/**
|
|
25712
25713
|
* Transforms hex digests to human-readable strings.
|
|
25713
25714
|
*
|
|
@@ -25721,7 +25722,7 @@ var MD = [
|
|
|
25721
25722
|
*
|
|
25722
25723
|
* @param wordlist A list of exactly 256 words to choose from
|
|
25723
25724
|
*/
|
|
25724
|
-
constructor(e =
|
|
25725
|
+
constructor(e = FD) {
|
|
25725
25726
|
if (this.wordlist = e, e.length !== 256)
|
|
25726
25727
|
throw new Error("Wordlist must have exactly 256 items");
|
|
25727
25728
|
this.wordlist = e;
|
|
@@ -25758,8 +25759,8 @@ var MD = [
|
|
|
25758
25759
|
i.push(e.slice(a, a + n));
|
|
25759
25760
|
return i[i.length - 1] = i[i.length - 1].concat(e.slice(t * n)), i.map((a) => a.reduce((s, c) => s ^ c));
|
|
25760
25761
|
}
|
|
25761
|
-
},
|
|
25762
|
-
if (t >
|
|
25762
|
+
}, jD = new BD(), UD = (e) => (e instanceof $n || e instanceof Uint8Array || e instanceof ArrayBuffer ? e = pg.stringify(e) : e instanceof pg && (e = e.toHex()), jD.humanize(e)), WD = (e) => $n.from(e.buffer, e.byteOffset, e.byteLength), zD = 5, Qu = (e, t = 0, r = /* @__PURE__ */ new WeakSet()) => {
|
|
25763
|
+
if (t > zD)
|
|
25763
25764
|
return null;
|
|
25764
25765
|
if (typeof e == "function")
|
|
25765
25766
|
return null;
|
|
@@ -25769,7 +25770,7 @@ var MD = [
|
|
|
25769
25770
|
r.add(e);
|
|
25770
25771
|
try {
|
|
25771
25772
|
if (e instanceof Uint8Array)
|
|
25772
|
-
return
|
|
25773
|
+
return WD(e).toString("hex");
|
|
25773
25774
|
if (Array.isArray(e))
|
|
25774
25775
|
return e.map((n) => Qu(n, t + 1, r));
|
|
25775
25776
|
if (typeof e.toJSON == "function")
|
|
@@ -25785,17 +25786,17 @@ var MD = [
|
|
|
25785
25786
|
}
|
|
25786
25787
|
} else
|
|
25787
25788
|
return e;
|
|
25788
|
-
},
|
|
25789
|
+
}, HD = (e, t, r) => {
|
|
25789
25790
|
let n = e.get(t);
|
|
25790
25791
|
return n === void 0 && (n = typeof r == "function" ? r() : r, e.set(t, n)), n;
|
|
25791
|
-
},
|
|
25792
|
+
}, VD = () => typeof navigator < "u" && /^((?!chrome|android).)*safari/i.test(navigator.userAgent), Zl = Symbol("instanceTag"), GD = (e) => (t) => {
|
|
25792
25793
|
t.prototype[Zl] = e, Object.defineProperty(t.prototype, Symbol.hasInstance, {
|
|
25793
25794
|
value: (r) => (r == null ? void 0 : r[Zl]) === e
|
|
25794
25795
|
}), Object.defineProperty(t, Symbol.hasInstance, {
|
|
25795
25796
|
value: (r) => (r == null ? void 0 : r[Zl]) === e
|
|
25796
25797
|
});
|
|
25797
|
-
}, Ql = Symbol.for("dxos.instance-contexts"),
|
|
25798
|
-
const t = Object.getPrototypeOf(e), r =
|
|
25798
|
+
}, Ql = Symbol.for("dxos.instance-contexts"), KD = globalThis[Ql] ?? (globalThis[Ql] = /* @__PURE__ */ new WeakMap()), qD = (e) => {
|
|
25799
|
+
const t = Object.getPrototypeOf(e), r = HD(KD, t, () => ({
|
|
25799
25800
|
nextId: 0,
|
|
25800
25801
|
instanceIds: /* @__PURE__ */ new WeakMap()
|
|
25801
25802
|
}));
|
|
@@ -25806,7 +25807,7 @@ Symbol.dispose ?? (Symbol.dispose = Symbol("Symbol.dispose"));
|
|
|
25806
25807
|
Symbol.asyncDispose ?? (Symbol.asyncDispose = Symbol("Symbol.asyncDispose"));
|
|
25807
25808
|
var Rd = () => {
|
|
25808
25809
|
throw new Error("Not available on this platform");
|
|
25809
|
-
},
|
|
25810
|
+
}, YD = () => Rd(), JD = () => Rd(), XD = () => Rd(), Ub = Je({
|
|
25810
25811
|
"node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.js"(e, t) {
|
|
25811
25812
|
function r(a) {
|
|
25812
25813
|
if (typeof a != "string")
|
|
@@ -26006,7 +26007,7 @@ var Rd = () => {
|
|
|
26006
26007
|
yi(Ub());
|
|
26007
26008
|
var Qr = yi(Ub());
|
|
26008
26009
|
Qr.basename;
|
|
26009
|
-
var
|
|
26010
|
+
var ZD = Qr.dirname;
|
|
26010
26011
|
Qr.extname;
|
|
26011
26012
|
Qr.format;
|
|
26012
26013
|
Qr.isAbsolute;
|
|
@@ -26019,7 +26020,7 @@ var Ot;
|
|
|
26019
26020
|
(function(e) {
|
|
26020
26021
|
e[e.TRACE = 5] = "TRACE", e[e.DEBUG = 10] = "DEBUG", e[e.INFO = 11] = "INFO", e[e.WARN = 12] = "WARN", e[e.ERROR = 13] = "ERROR";
|
|
26021
26022
|
})(Ot || (Ot = {}));
|
|
26022
|
-
var
|
|
26023
|
+
var QD = {
|
|
26023
26024
|
trace: 5,
|
|
26024
26025
|
debug: 10,
|
|
26025
26026
|
info: 11,
|
|
@@ -26029,10 +26030,10 @@ var ZD = {
|
|
|
26029
26030
|
(function(e) {
|
|
26030
26031
|
e.CONSOLE = "console", e.BROWSER = "browser", e.DEBUG = "debug";
|
|
26031
26032
|
})(ua || (ua = {}));
|
|
26032
|
-
var
|
|
26033
|
+
var e7 = Symbol("logInfoProperties"), t7 = (e) => {
|
|
26033
26034
|
if (!e)
|
|
26034
26035
|
return {};
|
|
26035
|
-
const t = {}, n = Object.getPrototypeOf(e)[
|
|
26036
|
+
const t = {}, n = Object.getPrototypeOf(e)[e7] ?? [];
|
|
26036
26037
|
for (const i of n)
|
|
26037
26038
|
try {
|
|
26038
26039
|
t[i] = typeof e[i] == "function" ? e[i]() : e[i];
|
|
@@ -26040,13 +26041,13 @@ var QD = Symbol("logInfoProperties"), e7 = (e) => {
|
|
|
26040
26041
|
t[i] = o.message;
|
|
26041
26042
|
}
|
|
26042
26043
|
return t;
|
|
26043
|
-
},
|
|
26044
|
+
}, r7 = (e, t, r) => t >= e.level && (!e.pattern || r.includes(e.pattern)), Wb = (e, t) => t === void 0 ? !0 : t.some((r) => {
|
|
26044
26045
|
var n;
|
|
26045
|
-
return
|
|
26046
|
+
return r7(r, e.level, ((n = e.meta) == null ? void 0 : n.F) ?? "");
|
|
26046
26047
|
}), kd = (e) => {
|
|
26047
26048
|
let t;
|
|
26048
26049
|
if (e.meta) {
|
|
26049
|
-
const r =
|
|
26050
|
+
const r = t7(e.meta.S);
|
|
26050
26051
|
Object.keys(r).length > 0 && (t = Object.assign(t ?? {}, r));
|
|
26051
26052
|
}
|
|
26052
26053
|
if (e.context)
|
|
@@ -26059,7 +26060,7 @@ var QD = Symbol("logInfoProperties"), e7 = (e) => {
|
|
|
26059
26060
|
} else
|
|
26060
26061
|
typeof e.context == "object" && (t = Object.assign(t ?? {}, e.context));
|
|
26061
26062
|
return t && Object.keys(t).length > 0 ? t : void 0;
|
|
26062
|
-
},
|
|
26063
|
+
}, n7 = 0, i7 = (e) => (t, r, n) => (i, o, a) => {
|
|
26063
26064
|
const s = a.value;
|
|
26064
26065
|
a.value = function(...c) {
|
|
26065
26066
|
const l = {
|
|
@@ -26068,8 +26069,8 @@ var QD = Symbol("logInfoProperties"), e7 = (e) => {
|
|
|
26068
26069
|
}, f = c.map((d) => Tr(d, !1, 1, !0)).join(", ");
|
|
26069
26070
|
try {
|
|
26070
26071
|
const d = performance.now(), p = s.apply(this, c);
|
|
26071
|
-
if (
|
|
26072
|
-
const g =
|
|
26072
|
+
if (o7(p)) {
|
|
26073
|
+
const g = n7++;
|
|
26073
26074
|
e.info(`${o}(${f}) => Promise { #${g} }`, {}, l), p.then((v) => {
|
|
26074
26075
|
v !== void 0 ? e.info(`✅ resolve #${g} ${(performance.now() - d).toFixed(0)}ms => ${Tr(v, !1, 1, !0)}`, {}, l) : e.info(`✅ resolve #${g} ${(performance.now() - d).toFixed(0)}ms`, {}, l);
|
|
26075
26076
|
}, (v) => {
|
|
@@ -26084,14 +26085,14 @@ var QD = Symbol("logInfoProperties"), e7 = (e) => {
|
|
|
26084
26085
|
}, Object.defineProperty(a.value, "name", {
|
|
26085
26086
|
value: o + "$log"
|
|
26086
26087
|
});
|
|
26087
|
-
},
|
|
26088
|
+
}, o7 = (e) => e && typeof e.then == "function", a7 = (e) => {
|
|
26088
26089
|
try {
|
|
26089
26090
|
return JSON.parse(localStorage.getItem("dxlog"));
|
|
26090
26091
|
} catch {
|
|
26091
26092
|
return;
|
|
26092
26093
|
}
|
|
26093
26094
|
}, zb = () => {
|
|
26094
|
-
},
|
|
26095
|
+
}, s7 = (e, t) => {
|
|
26095
26096
|
console.log(Tr(t, !1, null, !0));
|
|
26096
26097
|
}, Hb = (e) => {
|
|
26097
26098
|
const t = e.match(/.+\/(packages\/.+\/.+)/);
|
|
@@ -26106,7 +26107,7 @@ var QD = Symbol("logInfoProperties"), e7 = (e) => {
|
|
|
26106
26107
|
} : {
|
|
26107
26108
|
useTestProcessor: !1,
|
|
26108
26109
|
printFileLinks: !1
|
|
26109
|
-
},
|
|
26110
|
+
}, c7 = (e, t) => {
|
|
26110
26111
|
var l, f, d;
|
|
26111
26112
|
if (!Wb(t, e.filters))
|
|
26112
26113
|
return;
|
|
@@ -26118,7 +26119,7 @@ var QD = Symbol("logInfoProperties"), e7 = (e) => {
|
|
|
26118
26119
|
}
|
|
26119
26120
|
let o = [];
|
|
26120
26121
|
if ((l = t.meta) != null && l.S) {
|
|
26121
|
-
const p = (f = t.meta) == null ? void 0 : f.S, g = Object.getPrototypeOf(p), v =
|
|
26122
|
+
const p = (f = t.meta) == null ? void 0 : f.S, g = Object.getPrototypeOf(p), v = qD(p);
|
|
26122
26123
|
o.push(`%c${g.constructor.name}#${v}`, "color:#C026D3;font-weight:bold");
|
|
26123
26124
|
}
|
|
26124
26125
|
o.push(t.message);
|
|
@@ -26129,7 +26130,7 @@ var QD = Symbol("logInfoProperties"), e7 = (e) => {
|
|
|
26129
26130
|
[Ot.WARN]: console.warn,
|
|
26130
26131
|
[Ot.DEBUG]: console.log
|
|
26131
26132
|
};
|
|
26132
|
-
(Nd.printFileLinks ||
|
|
26133
|
+
(Nd.printFileLinks || VD()) && (n != null && n.length ? o = [
|
|
26133
26134
|
`%c${i}
|
|
26134
26135
|
%c${o.join(" ")}`,
|
|
26135
26136
|
...n
|
|
@@ -26140,7 +26141,7 @@ var QD = Symbol("logInfoProperties"), e7 = (e) => {
|
|
|
26140
26141
|
]);
|
|
26141
26142
|
const c = s[t.level] ?? console.log;
|
|
26142
26143
|
typeof ((d = t.meta) == null ? void 0 : d.C) == "function" ? t.meta.C(c, o) : c(...o);
|
|
26143
|
-
},
|
|
26144
|
+
}, l7 = (e, t) => {
|
|
26144
26145
|
var s;
|
|
26145
26146
|
if (!Wb(t, e.filters))
|
|
26146
26147
|
return;
|
|
@@ -26161,7 +26162,7 @@ var QD = Symbol("logInfoProperties"), e7 = (e) => {
|
|
|
26161
26162
|
]);
|
|
26162
26163
|
const a = o[t.level] ?? console.log;
|
|
26163
26164
|
typeof ((s = t.meta) == null ? void 0 : s.C) == "function" ? t.meta.C(a, n) : a(...n);
|
|
26164
|
-
}, Vb = Nd.useTestProcessor ?
|
|
26165
|
+
}, Vb = Nd.useTestProcessor ? l7 : c7, u7 = ({ path: e, levels: t }) => {
|
|
26165
26166
|
let r;
|
|
26166
26167
|
return (n, i) => {
|
|
26167
26168
|
var a, s;
|
|
@@ -26169,10 +26170,10 @@ var QD = Symbol("logInfoProperties"), e7 = (e) => {
|
|
|
26169
26170
|
return;
|
|
26170
26171
|
if (!r) {
|
|
26171
26172
|
try {
|
|
26172
|
-
|
|
26173
|
+
JD(ZD(e));
|
|
26173
26174
|
} catch {
|
|
26174
26175
|
}
|
|
26175
|
-
r =
|
|
26176
|
+
r = XD();
|
|
26176
26177
|
}
|
|
26177
26178
|
const o = {
|
|
26178
26179
|
...i,
|
|
@@ -26183,12 +26184,12 @@ var QD = Symbol("logInfoProperties"), e7 = (e) => {
|
|
|
26183
26184
|
},
|
|
26184
26185
|
context: Qu(kd(i))
|
|
26185
26186
|
};
|
|
26186
|
-
|
|
26187
|
+
YD(r, JSON.stringify(o) + `
|
|
26187
26188
|
`);
|
|
26188
26189
|
};
|
|
26189
|
-
}, hg,
|
|
26190
|
-
|
|
26191
|
-
path:
|
|
26190
|
+
}, hg, f7 = () => (hg ?? (hg = process.env.LOG_FILE ?? (process.env.HOME ? `${process.env.HOME}/.dxlog/${(/* @__PURE__ */ new Date()).toISOString()}.log` : void 0)), hg);
|
|
26191
|
+
u7({
|
|
26192
|
+
path: f7(),
|
|
26192
26193
|
levels: [
|
|
26193
26194
|
Ot.ERROR,
|
|
26194
26195
|
Ot.WARN,
|
|
@@ -26196,12 +26197,12 @@ l7({
|
|
|
26196
26197
|
Ot.TRACE
|
|
26197
26198
|
]
|
|
26198
26199
|
});
|
|
26199
|
-
var
|
|
26200
|
+
var d7 = {
|
|
26200
26201
|
[ua.CONSOLE]: zb,
|
|
26201
26202
|
[ua.BROWSER]: Vb,
|
|
26202
|
-
[ua.DEBUG]:
|
|
26203
|
-
},
|
|
26204
|
-
|
|
26203
|
+
[ua.DEBUG]: s7
|
|
26204
|
+
}, p7 = typeof window < "u" || typeof navigator < "u", ef = [
|
|
26205
|
+
p7 ? Vb : zb
|
|
26205
26206
|
], gg = (e) => {
|
|
26206
26207
|
if (typeof e == "number")
|
|
26207
26208
|
return [
|
|
@@ -26209,7 +26210,7 @@ var f7 = {
|
|
|
26209
26210
|
level: e
|
|
26210
26211
|
}
|
|
26211
26212
|
];
|
|
26212
|
-
const t = (n, i = Ot.WARN) =>
|
|
26213
|
+
const t = (n, i = Ot.WARN) => QD[n.toLowerCase()] ?? i;
|
|
26213
26214
|
return (typeof e == "string" ? e.split(/,\s*/) : e).map((n) => {
|
|
26214
26215
|
const [i, o] = n.split(":");
|
|
26215
26216
|
return o ? {
|
|
@@ -26224,17 +26225,17 @@ var f7 = {
|
|
|
26224
26225
|
file: process.env.LOG_CONFIG,
|
|
26225
26226
|
filter: process.env.LOG_FILTER,
|
|
26226
26227
|
processor: process.env.LOG_PROCESSOR
|
|
26227
|
-
} : void 0, r =
|
|
26228
|
+
} : void 0, r = gD({}, e, t && a7(t.file), t);
|
|
26228
26229
|
return {
|
|
26229
26230
|
options: r,
|
|
26230
26231
|
filters: gg(r.filter ?? Ot.INFO),
|
|
26231
26232
|
captureFilters: gg(r.captureFilter ?? Ot.WARN),
|
|
26232
26233
|
processors: r.processor ? [
|
|
26233
|
-
|
|
26234
|
+
d7[r.processor]
|
|
26234
26235
|
] : ef,
|
|
26235
26236
|
prefix: r.prefix
|
|
26236
26237
|
};
|
|
26237
|
-
},
|
|
26238
|
+
}, h7 = () => {
|
|
26238
26239
|
const e = (...r) => t(Ot.DEBUG, ...r);
|
|
26239
26240
|
e._config = vg(), Object.defineProperty(e, "runtimeConfig", {
|
|
26240
26241
|
get: () => e._config
|
|
@@ -26243,7 +26244,7 @@ var f7 = {
|
|
|
26243
26244
|
}, e.config = (r) => {
|
|
26244
26245
|
e._config = vg(r);
|
|
26245
26246
|
}, e.trace = (...r) => t(Ot.TRACE, ...r), e.debug = (...r) => t(Ot.DEBUG, ...r), e.info = (...r) => t(Ot.INFO, ...r), e.warn = (...r) => t(Ot.WARN, ...r), e.error = (...r) => t(Ot.ERROR, ...r), e.catch = (r, n, i) => t(Ot.ERROR, r.stack, n, i), e.break = () => e.info("——————————————————————————————————————————————————"), e.stack = (r, n, i) => t(Ot.INFO, `${r ?? "Stack Dump"}
|
|
26246
|
-
${
|
|
26247
|
+
${g7()}`, n, i), e.method = i7(e);
|
|
26247
26248
|
const t = (r, n, i = {}, o, a) => {
|
|
26248
26249
|
e._config.processors.forEach((s) => s(e._config, {
|
|
26249
26250
|
level: r,
|
|
@@ -26254,9 +26255,9 @@ ${h7()}`, n, i), e.method = n7(e);
|
|
|
26254
26255
|
}));
|
|
26255
26256
|
};
|
|
26256
26257
|
return e;
|
|
26257
|
-
}, ot = globalThis.dx_log ?? (globalThis.dx_log =
|
|
26258
|
+
}, ot = globalThis.dx_log ?? (globalThis.dx_log = h7()), g7 = () => new Error().stack.split(`
|
|
26258
26259
|
`).slice(3).join(`
|
|
26259
|
-
`),
|
|
26260
|
+
`), v7 = Symbol("kDebugInfoProperties");
|
|
26260
26261
|
(class {
|
|
26261
26262
|
constructor(e, t) {
|
|
26262
26263
|
this.constr = e, this.parent = t;
|
|
@@ -26264,7 +26265,7 @@ ${h7()}`, n, i), e.method = n7(e);
|
|
|
26264
26265
|
getInfo() {
|
|
26265
26266
|
if (!this.instance)
|
|
26266
26267
|
return {};
|
|
26267
|
-
const e = this.constr.prototype[
|
|
26268
|
+
const e = this.constr.prototype[v7] ?? [], t = {};
|
|
26268
26269
|
for (const r of e)
|
|
26269
26270
|
t[r] = this.instance[r];
|
|
26270
26271
|
return t;
|
|
@@ -26277,12 +26278,12 @@ ${h7()}`, n, i), e.method = n7(e);
|
|
|
26277
26278
|
};
|
|
26278
26279
|
}
|
|
26279
26280
|
});
|
|
26280
|
-
var
|
|
26281
|
+
var m7 = class extends Error {
|
|
26281
26282
|
constructor() {
|
|
26282
26283
|
super("Context disposed.");
|
|
26283
26284
|
}
|
|
26284
26285
|
};
|
|
26285
|
-
function
|
|
26286
|
+
function y7(e, t, r, n) {
|
|
26286
26287
|
var i = arguments.length, o = i < 3 ? t : n === null ? n = Object.getOwnPropertyDescriptor(t, r) : n, a;
|
|
26287
26288
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
26288
26289
|
o = Reflect.decorate(e, t, r, n);
|
|
@@ -26291,12 +26292,12 @@ function m7(e, t, r, n) {
|
|
|
26291
26292
|
(a = e[s]) && (o = (i < 3 ? a(o) : i > 3 ? a(t, r, o) : a(t, r)) || o);
|
|
26292
26293
|
return i > 3 && o && Object.defineProperty(t, r, o), o;
|
|
26293
26294
|
}
|
|
26294
|
-
var eu = "/home/runner/work/dxos/dxos/packages/common/context/src/context.ts",
|
|
26295
|
+
var eu = "/home/runner/work/dxos/dxos/packages/common/context/src/context.ts", b7 = 300, mg = class Gb {
|
|
26295
26296
|
constructor({ onError: t = (i) => {
|
|
26296
|
-
if (!(i instanceof
|
|
26297
|
+
if (!(i instanceof m7))
|
|
26297
26298
|
throw this.dispose(), i;
|
|
26298
26299
|
}, attributes: r = {}, parent: n } = {}) {
|
|
26299
|
-
this._disposeCallbacks = [], this._isDisposed = !1, this._disposePromise = void 0, this._parent = null, this.maxSafeDisposeCallbacks =
|
|
26300
|
+
this._disposeCallbacks = [], this._isDisposed = !1, this._disposePromise = void 0, this._parent = null, this.maxSafeDisposeCallbacks = b7, this._onError = t, this._attributes = r, n !== void 0 && (this._parent = n);
|
|
26300
26301
|
}
|
|
26301
26302
|
get disposed() {
|
|
26302
26303
|
return this._isDisposed;
|
|
@@ -26404,15 +26405,15 @@ var eu = "/home/runner/work/dxos/dxos/packages/common/context/src/context.ts", y
|
|
|
26404
26405
|
return this._parent.getAttribute(t);
|
|
26405
26406
|
}
|
|
26406
26407
|
};
|
|
26407
|
-
mg =
|
|
26408
|
-
|
|
26408
|
+
mg = y7([
|
|
26409
|
+
GD("Context")
|
|
26409
26410
|
], mg);
|
|
26410
26411
|
var Hc = {};
|
|
26411
26412
|
Object.defineProperty(Hc, "__esModule", {
|
|
26412
26413
|
value: !0
|
|
26413
26414
|
});
|
|
26414
26415
|
Hc.Observable = void 0;
|
|
26415
|
-
const Kb = (e) => !!Symbol[e], Dd = (e) => Kb(e) ? Symbol[e] : "@@" + e,
|
|
26416
|
+
const Kb = (e) => !!Symbol[e], Dd = (e) => Kb(e) ? Symbol[e] : "@@" + e, w7 = Dd("iterator"), tf = Dd("observable"), qb = Dd("species");
|
|
26416
26417
|
function Zs(e, t) {
|
|
26417
26418
|
let r = e[t];
|
|
26418
26419
|
if (r != null) {
|
|
@@ -26425,7 +26426,7 @@ function Yo(e) {
|
|
|
26425
26426
|
let t = e.constructor;
|
|
26426
26427
|
return t !== void 0 && (t = t[qb], t === null && (t = void 0)), t !== void 0 ? t : Vc;
|
|
26427
26428
|
}
|
|
26428
|
-
function
|
|
26429
|
+
function _7(e) {
|
|
26429
26430
|
return e instanceof Vc;
|
|
26430
26431
|
}
|
|
26431
26432
|
function po(e) {
|
|
@@ -26459,7 +26460,7 @@ function Yb(e) {
|
|
|
26459
26460
|
function rf(e) {
|
|
26460
26461
|
e._observer = void 0, e._queue = void 0, e._state = "closed";
|
|
26461
26462
|
}
|
|
26462
|
-
function
|
|
26463
|
+
function E7(e) {
|
|
26463
26464
|
let t = e._queue;
|
|
26464
26465
|
if (t) {
|
|
26465
26466
|
e._queue = void 0, e._state = "ready";
|
|
@@ -26504,13 +26505,13 @@ function tu(e, t, r) {
|
|
|
26504
26505
|
e._state = "buffering", e._queue = [{
|
|
26505
26506
|
type: t,
|
|
26506
26507
|
value: r
|
|
26507
|
-
}], xs(() =>
|
|
26508
|
+
}], xs(() => E7(e));
|
|
26508
26509
|
return;
|
|
26509
26510
|
}
|
|
26510
26511
|
Jb(e, t, r);
|
|
26511
26512
|
}
|
|
26512
26513
|
}
|
|
26513
|
-
class
|
|
26514
|
+
class x7 {
|
|
26514
26515
|
constructor(t, r) {
|
|
26515
26516
|
this._cleanup = void 0, this._observer = t, this._queue = void 0, this._state = "initializing";
|
|
26516
26517
|
let n = this, i = {
|
|
@@ -26554,7 +26555,7 @@ let Vc = class Ss {
|
|
|
26554
26555
|
next: t,
|
|
26555
26556
|
error: arguments[1],
|
|
26556
26557
|
complete: arguments[2]
|
|
26557
|
-
}), new
|
|
26558
|
+
}), new x7(t, this._subscriber);
|
|
26558
26559
|
}
|
|
26559
26560
|
forEach(t) {
|
|
26560
26561
|
return new Promise((r, n) => {
|
|
@@ -26727,9 +26728,9 @@ let Vc = class Ss {
|
|
|
26727
26728
|
let i = n.call(t);
|
|
26728
26729
|
if (Object(i) !== i)
|
|
26729
26730
|
throw new TypeError(i + " is not an object");
|
|
26730
|
-
return
|
|
26731
|
+
return _7(i) && i.constructor === r ? i : new r((o) => i.subscribe(o));
|
|
26731
26732
|
}
|
|
26732
|
-
if (Kb("iterator") && (n = Zs(t,
|
|
26733
|
+
if (Kb("iterator") && (n = Zs(t, w7), n))
|
|
26733
26734
|
return new r((i) => {
|
|
26734
26735
|
xs(() => {
|
|
26735
26736
|
if (!i.closed) {
|
|
@@ -26778,8 +26779,8 @@ Object.defineProperty(Vc, Symbol("extensions"), {
|
|
|
26778
26779
|
},
|
|
26779
26780
|
configurable: !0
|
|
26780
26781
|
});
|
|
26781
|
-
var
|
|
26782
|
-
const fs = /* @__PURE__ */ Un(
|
|
26782
|
+
var S7 = Hc.Observable;
|
|
26783
|
+
const fs = /* @__PURE__ */ Un(S7);
|
|
26783
26784
|
var yg = { exports: {} }, Ld = { exports: {} }, io = typeof Reflect == "object" ? Reflect : null, bg = io && typeof io.apply == "function" ? io.apply : function(t, r, n) {
|
|
26784
26785
|
return Function.prototype.apply.call(t, r, n);
|
|
26785
26786
|
}, $s;
|
|
@@ -26788,7 +26789,7 @@ io && typeof io.ownKeys == "function" ? $s = io.ownKeys : Object.getOwnPropertyS
|
|
|
26788
26789
|
} : $s = function(t) {
|
|
26789
26790
|
return Object.getOwnPropertyNames(t);
|
|
26790
26791
|
};
|
|
26791
|
-
function
|
|
26792
|
+
function $7(e) {
|
|
26792
26793
|
console && console.warn && console.warn(e);
|
|
26793
26794
|
}
|
|
26794
26795
|
var Xb = Number.isNaN || function(t) {
|
|
@@ -26798,7 +26799,7 @@ function mt() {
|
|
|
26798
26799
|
mt.init.call(this);
|
|
26799
26800
|
}
|
|
26800
26801
|
Ld.exports = mt;
|
|
26801
|
-
Ld.exports.once =
|
|
26802
|
+
Ld.exports.once = T7;
|
|
26802
26803
|
mt.EventEmitter = mt;
|
|
26803
26804
|
mt.prototype._events = void 0;
|
|
26804
26805
|
mt.prototype._eventsCount = 0;
|
|
@@ -26869,7 +26870,7 @@ function Qb(e, t, r, n) {
|
|
|
26869
26870
|
else if (typeof a == "function" ? a = o[t] = n ? [r, a] : [a, r] : n ? a.unshift(r) : a.push(r), i = Zb(e), i > 0 && a.length > i && !a.warned) {
|
|
26870
26871
|
a.warned = !0;
|
|
26871
26872
|
var s = new Error("Possible EventEmitter memory leak detected. " + a.length + " " + String(t) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
26872
|
-
s.name = "MaxListenersExceededWarning", s.emitter = e, s.type = t, s.count = a.length,
|
|
26873
|
+
s.name = "MaxListenersExceededWarning", s.emitter = e, s.type = t, s.count = a.length, $7(s);
|
|
26873
26874
|
}
|
|
26874
26875
|
return e;
|
|
26875
26876
|
}
|
|
@@ -26880,12 +26881,12 @@ mt.prototype.on = mt.prototype.addListener;
|
|
|
26880
26881
|
mt.prototype.prependListener = function(t, r) {
|
|
26881
26882
|
return Qb(this, t, r, !0);
|
|
26882
26883
|
};
|
|
26883
|
-
function
|
|
26884
|
+
function C7() {
|
|
26884
26885
|
if (!this.fired)
|
|
26885
26886
|
return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
|
|
26886
26887
|
}
|
|
26887
26888
|
function e1(e, t, r) {
|
|
26888
|
-
var n = { fired: !1, wrapFn: void 0, target: e, type: t, listener: r }, i =
|
|
26889
|
+
var n = { fired: !1, wrapFn: void 0, target: e, type: t, listener: r }, i = C7.bind(n);
|
|
26889
26890
|
return i.listener = r, n.wrapFn = i, i;
|
|
26890
26891
|
}
|
|
26891
26892
|
mt.prototype.once = function(t, r) {
|
|
@@ -26910,7 +26911,7 @@ mt.prototype.removeListener = function(t, r) {
|
|
|
26910
26911
|
}
|
|
26911
26912
|
if (o < 0)
|
|
26912
26913
|
return this;
|
|
26913
|
-
o === 0 ? n.shift() :
|
|
26914
|
+
o === 0 ? n.shift() : A7(n, o), n.length === 1 && (i[t] = n[0]), i.removeListener !== void 0 && this.emit("removeListener", t, s || r);
|
|
26914
26915
|
}
|
|
26915
26916
|
return this;
|
|
26916
26917
|
};
|
|
@@ -26939,7 +26940,7 @@ function t1(e, t, r) {
|
|
|
26939
26940
|
if (n === void 0)
|
|
26940
26941
|
return [];
|
|
26941
26942
|
var i = n[t];
|
|
26942
|
-
return i === void 0 ? [] : typeof i == "function" ? r ? [i.listener || i] : [i] : r ?
|
|
26943
|
+
return i === void 0 ? [] : typeof i == "function" ? r ? [i.listener || i] : [i] : r ? O7(i) : n1(i, i.length);
|
|
26943
26944
|
}
|
|
26944
26945
|
mt.prototype.listeners = function(t) {
|
|
26945
26946
|
return t1(this, t, !0);
|
|
@@ -26970,17 +26971,17 @@ function n1(e, t) {
|
|
|
26970
26971
|
r[n] = e[n];
|
|
26971
26972
|
return r;
|
|
26972
26973
|
}
|
|
26973
|
-
function
|
|
26974
|
+
function A7(e, t) {
|
|
26974
26975
|
for (; t + 1 < e.length; t++)
|
|
26975
26976
|
e[t] = e[t + 1];
|
|
26976
26977
|
e.pop();
|
|
26977
26978
|
}
|
|
26978
|
-
function
|
|
26979
|
+
function O7(e) {
|
|
26979
26980
|
for (var t = new Array(e.length), r = 0; r < t.length; ++r)
|
|
26980
26981
|
t[r] = e[r].listener || e[r];
|
|
26981
26982
|
return t;
|
|
26982
26983
|
}
|
|
26983
|
-
function
|
|
26984
|
+
function T7(e, t) {
|
|
26984
26985
|
return new Promise(function(r, n) {
|
|
26985
26986
|
function i(a) {
|
|
26986
26987
|
e.removeListener(t, o), n(a);
|
|
@@ -26988,10 +26989,10 @@ function O7(e, t) {
|
|
|
26988
26989
|
function o() {
|
|
26989
26990
|
typeof e.removeListener == "function" && e.removeListener("error", i), r([].slice.call(arguments));
|
|
26990
26991
|
}
|
|
26991
|
-
i1(e, t, o, { once: !0 }), t !== "error" &&
|
|
26992
|
+
i1(e, t, o, { once: !0 }), t !== "error" && I7(e, i, { once: !0 });
|
|
26992
26993
|
});
|
|
26993
26994
|
}
|
|
26994
|
-
function
|
|
26995
|
+
function I7(e, t, r) {
|
|
26995
26996
|
typeof e.on == "function" && i1(e, "error", t, r);
|
|
26996
26997
|
}
|
|
26997
26998
|
function i1(e, t, r, n) {
|
|
@@ -27005,12 +27006,12 @@ function i1(e, t, r, n) {
|
|
|
27005
27006
|
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e);
|
|
27006
27007
|
}
|
|
27007
27008
|
var o1 = Ld.exports, a1 = o1.EventEmitter;
|
|
27008
|
-
const
|
|
27009
|
+
const P7 = {}, R7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27009
27010
|
__proto__: null,
|
|
27010
|
-
default:
|
|
27011
|
-
}, Symbol.toStringTag, { value: "Module" })), s1 = /* @__PURE__ */ Qw(
|
|
27011
|
+
default: P7
|
|
27012
|
+
}, Symbol.toStringTag, { value: "Module" })), s1 = /* @__PURE__ */ Qw(R7);
|
|
27012
27013
|
var ru, _g;
|
|
27013
|
-
function
|
|
27014
|
+
function k7() {
|
|
27014
27015
|
if (_g)
|
|
27015
27016
|
return ru;
|
|
27016
27017
|
_g = 1;
|
|
@@ -27164,7 +27165,7 @@ function R7() {
|
|
|
27164
27165
|
}]), p;
|
|
27165
27166
|
}(), ru;
|
|
27166
27167
|
}
|
|
27167
|
-
function
|
|
27168
|
+
function N7(e, t) {
|
|
27168
27169
|
var r = this, n = this._readableState && this._readableState.destroyed, i = this._writableState && this._writableState.destroyed;
|
|
27169
27170
|
return n || i ? (t ? t(e) : e && (this._writableState ? this._writableState.errorEmitted || (this._writableState.errorEmitted = !0, process.nextTick(nf, this, e)) : process.nextTick(nf, this, e)), this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this._destroy(e || null, function(o) {
|
|
27170
27171
|
!t && o ? r._writableState ? r._writableState.errorEmitted ? process.nextTick(Cs, r) : (r._writableState.errorEmitted = !0, process.nextTick(Eg, r, o)) : process.nextTick(Eg, r, o) : t ? (process.nextTick(Cs, r), t(o)) : process.nextTick(Cs, r);
|
|
@@ -27176,22 +27177,22 @@ function Eg(e, t) {
|
|
|
27176
27177
|
function Cs(e) {
|
|
27177
27178
|
e._writableState && !e._writableState.emitClose || e._readableState && !e._readableState.emitClose || e.emit("close");
|
|
27178
27179
|
}
|
|
27179
|
-
function
|
|
27180
|
+
function D7() {
|
|
27180
27181
|
this._readableState && (this._readableState.destroyed = !1, this._readableState.reading = !1, this._readableState.ended = !1, this._readableState.endEmitted = !1), this._writableState && (this._writableState.destroyed = !1, this._writableState.ended = !1, this._writableState.ending = !1, this._writableState.finalCalled = !1, this._writableState.prefinished = !1, this._writableState.finished = !1, this._writableState.errorEmitted = !1);
|
|
27181
27182
|
}
|
|
27182
27183
|
function nf(e, t) {
|
|
27183
27184
|
e.emit("error", t);
|
|
27184
27185
|
}
|
|
27185
|
-
function
|
|
27186
|
+
function L7(e, t) {
|
|
27186
27187
|
var r = e._readableState, n = e._writableState;
|
|
27187
27188
|
r && r.autoDestroy || n && n.autoDestroy ? e.destroy(t) : e.emit("error", t);
|
|
27188
27189
|
}
|
|
27189
27190
|
var c1 = {
|
|
27190
|
-
destroy:
|
|
27191
|
-
undestroy:
|
|
27192
|
-
errorOrDestroy:
|
|
27191
|
+
destroy: N7,
|
|
27192
|
+
undestroy: D7,
|
|
27193
|
+
errorOrDestroy: L7
|
|
27193
27194
|
}, wi = {};
|
|
27194
|
-
function
|
|
27195
|
+
function M7(e, t) {
|
|
27195
27196
|
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, e.__proto__ = t;
|
|
27196
27197
|
}
|
|
27197
27198
|
var l1 = {};
|
|
@@ -27201,7 +27202,7 @@ function _r(e, t, r) {
|
|
|
27201
27202
|
return typeof t == "string" ? t : t(o, a, s);
|
|
27202
27203
|
}
|
|
27203
27204
|
var i = /* @__PURE__ */ function(o) {
|
|
27204
|
-
|
|
27205
|
+
M7(a, o);
|
|
27205
27206
|
function a(s, c, l) {
|
|
27206
27207
|
return o.call(this, n(s, c, l)) || this;
|
|
27207
27208
|
}
|
|
@@ -27218,13 +27219,13 @@ function xg(e, t) {
|
|
|
27218
27219
|
} else
|
|
27219
27220
|
return "of ".concat(t, " ").concat(String(e));
|
|
27220
27221
|
}
|
|
27221
|
-
function
|
|
27222
|
+
function F7(e, t, r) {
|
|
27222
27223
|
return e.substr(!r || r < 0 ? 0 : +r, t.length) === t;
|
|
27223
27224
|
}
|
|
27224
|
-
function
|
|
27225
|
+
function B7(e, t, r) {
|
|
27225
27226
|
return (r === void 0 || r > e.length) && (r = e.length), e.substring(r - t.length, r) === t;
|
|
27226
27227
|
}
|
|
27227
|
-
function
|
|
27228
|
+
function j7(e, t, r) {
|
|
27228
27229
|
return typeof r != "number" && (r = 0), r + t.length > e.length ? !1 : e.indexOf(t, r) !== -1;
|
|
27229
27230
|
}
|
|
27230
27231
|
_r("ERR_INVALID_OPT_VALUE", function(e, t) {
|
|
@@ -27232,12 +27233,12 @@ _r("ERR_INVALID_OPT_VALUE", function(e, t) {
|
|
|
27232
27233
|
}, TypeError);
|
|
27233
27234
|
_r("ERR_INVALID_ARG_TYPE", function(e, t, r) {
|
|
27234
27235
|
var n;
|
|
27235
|
-
typeof t == "string" &&
|
|
27236
|
+
typeof t == "string" && F7(t, "not ") ? (n = "must not be", t = t.replace(/^not /, "")) : n = "must be";
|
|
27236
27237
|
var i;
|
|
27237
|
-
if (
|
|
27238
|
+
if (B7(e, " argument"))
|
|
27238
27239
|
i = "The ".concat(e, " ").concat(n, " ").concat(xg(t, "type"));
|
|
27239
27240
|
else {
|
|
27240
|
-
var o =
|
|
27241
|
+
var o = j7(e, ".") ? "property" : "argument";
|
|
27241
27242
|
i = 'The "'.concat(e, '" ').concat(o, " ").concat(n, " ").concat(xg(t, "type"));
|
|
27242
27243
|
}
|
|
27243
27244
|
return i += ". Received type ".concat(typeof r), i;
|
|
@@ -27259,23 +27260,23 @@ _r("ERR_UNKNOWN_ENCODING", function(e) {
|
|
|
27259
27260
|
}, TypeError);
|
|
27260
27261
|
_r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event");
|
|
27261
27262
|
wi.codes = l1;
|
|
27262
|
-
var
|
|
27263
|
-
function
|
|
27263
|
+
var U7 = wi.codes.ERR_INVALID_OPT_VALUE;
|
|
27264
|
+
function W7(e, t, r) {
|
|
27264
27265
|
return e.highWaterMark != null ? e.highWaterMark : t ? e[r] : null;
|
|
27265
27266
|
}
|
|
27266
|
-
function
|
|
27267
|
-
var i =
|
|
27267
|
+
function z7(e, t, r, n) {
|
|
27268
|
+
var i = W7(t, n, r);
|
|
27268
27269
|
if (i != null) {
|
|
27269
27270
|
if (!(isFinite(i) && Math.floor(i) === i) || i < 0) {
|
|
27270
27271
|
var o = n ? r : "highWaterMark";
|
|
27271
|
-
throw new
|
|
27272
|
+
throw new U7(o, i);
|
|
27272
27273
|
}
|
|
27273
27274
|
return Math.floor(i);
|
|
27274
27275
|
}
|
|
27275
27276
|
return e.objectMode ? 16 : 16 * 1024;
|
|
27276
27277
|
}
|
|
27277
27278
|
var u1 = {
|
|
27278
|
-
getHighWaterMark:
|
|
27279
|
+
getHighWaterMark: z7
|
|
27279
27280
|
}, of = { exports: {} };
|
|
27280
27281
|
typeof Object.create == "function" ? of.exports = function(t, r) {
|
|
27281
27282
|
r && (t.super_ = r, t.prototype = Object.create(r.prototype, {
|
|
@@ -27294,8 +27295,8 @@ typeof Object.create == "function" ? of.exports = function(t, r) {
|
|
|
27294
27295
|
n.prototype = r.prototype, t.prototype = new n(), t.prototype.constructor = t;
|
|
27295
27296
|
}
|
|
27296
27297
|
};
|
|
27297
|
-
var Da = of.exports,
|
|
27298
|
-
function
|
|
27298
|
+
var Da = of.exports, H7 = V7;
|
|
27299
|
+
function V7(e, t) {
|
|
27299
27300
|
if (nu("noDeprecation"))
|
|
27300
27301
|
return e;
|
|
27301
27302
|
var r = !1;
|
|
@@ -27333,7 +27334,7 @@ function f1() {
|
|
|
27333
27334
|
var t;
|
|
27334
27335
|
T.WritableState = P;
|
|
27335
27336
|
var r = {
|
|
27336
|
-
deprecate:
|
|
27337
|
+
deprecate: H7
|
|
27337
27338
|
}, n = a1, i = Na.Buffer, o = it.Uint8Array || function() {
|
|
27338
27339
|
};
|
|
27339
27340
|
function a(H) {
|
|
@@ -27786,7 +27787,7 @@ function Ag() {
|
|
|
27786
27787
|
return au;
|
|
27787
27788
|
}
|
|
27788
27789
|
var Og = wi.codes.ERR_STREAM_PREMATURE_CLOSE;
|
|
27789
|
-
function
|
|
27790
|
+
function G7(e) {
|
|
27790
27791
|
var t = !1;
|
|
27791
27792
|
return function() {
|
|
27792
27793
|
if (!t) {
|
|
@@ -27797,15 +27798,15 @@ function V7(e) {
|
|
|
27797
27798
|
}
|
|
27798
27799
|
};
|
|
27799
27800
|
}
|
|
27800
|
-
function
|
|
27801
|
+
function K7() {
|
|
27801
27802
|
}
|
|
27802
|
-
function
|
|
27803
|
+
function q7(e) {
|
|
27803
27804
|
return e.setHeader && typeof e.abort == "function";
|
|
27804
27805
|
}
|
|
27805
27806
|
function d1(e, t, r) {
|
|
27806
27807
|
if (typeof t == "function")
|
|
27807
27808
|
return d1(e, null, t);
|
|
27808
|
-
t || (t = {}), r =
|
|
27809
|
+
t || (t = {}), r = G7(r || K7);
|
|
27809
27810
|
var n = t.readable || t.readable !== !1 && e.readable, i = t.writable || t.writable !== !1 && e.writable, o = function() {
|
|
27810
27811
|
e.writable || s();
|
|
27811
27812
|
}, a = e._writableState && e._writableState.finished, s = function() {
|
|
@@ -27823,12 +27824,12 @@ function d1(e, t, r) {
|
|
|
27823
27824
|
}, p = function() {
|
|
27824
27825
|
e.req.on("finish", s);
|
|
27825
27826
|
};
|
|
27826
|
-
return
|
|
27827
|
+
return q7(e) ? (e.on("complete", s), e.on("abort", d), e.req ? p() : e.on("request", p)) : i && !e._writableState && (e.on("end", o), e.on("close", o)), e.on("end", l), e.on("finish", s), t.error !== !1 && e.on("error", f), e.on("close", d), function() {
|
|
27827
27828
|
e.removeListener("complete", s), e.removeListener("abort", d), e.removeListener("request", p), e.req && e.req.removeListener("finish", s), e.removeListener("end", o), e.removeListener("close", o), e.removeListener("finish", s), e.removeListener("end", l), e.removeListener("error", f), e.removeListener("close", d);
|
|
27828
27829
|
};
|
|
27829
27830
|
}
|
|
27830
27831
|
var Md = d1, su, Tg;
|
|
27831
|
-
function
|
|
27832
|
+
function Y7() {
|
|
27832
27833
|
if (Tg)
|
|
27833
27834
|
return su;
|
|
27834
27835
|
Tg = 1;
|
|
@@ -27941,7 +27942,7 @@ function q7() {
|
|
|
27941
27942
|
return su = b, su;
|
|
27942
27943
|
}
|
|
27943
27944
|
var cu, Ig;
|
|
27944
|
-
function
|
|
27945
|
+
function J7() {
|
|
27945
27946
|
return Ig || (Ig = 1, cu = function() {
|
|
27946
27947
|
throw new Error("Readable.from is not available in the browser");
|
|
27947
27948
|
}), cu;
|
|
@@ -27966,7 +27967,7 @@ function p1() {
|
|
|
27966
27967
|
var s = s1, c;
|
|
27967
27968
|
s && s.debuglog ? c = s.debuglog("stream") : c = function() {
|
|
27968
27969
|
};
|
|
27969
|
-
var l =
|
|
27970
|
+
var l = k7(), f = c1, d = u1, p = d.getHighWaterMark, g = wi.codes, v = g.ERR_INVALID_ARG_TYPE, m = g.ERR_STREAM_PUSH_AFTER_EOF, b = g.ERR_METHOD_NOT_IMPLEMENTED, w = g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, _, S, $;
|
|
27970
27971
|
Da(N, r);
|
|
27971
27972
|
var R = f.errorOrDestroy, P = ["error", "close", "destroy", "pause", "resume"];
|
|
27972
27973
|
function C(I, k, Q) {
|
|
@@ -28229,7 +28230,7 @@ function p1() {
|
|
|
28229
28230
|
c("wrapped _read", Ae), ae && (ae = !1, I.resume());
|
|
28230
28231
|
}, this;
|
|
28231
28232
|
}, typeof Symbol == "function" && (N.prototype[Symbol.asyncIterator] = function() {
|
|
28232
|
-
return S === void 0 && (S =
|
|
28233
|
+
return S === void 0 && (S = Y7()), S(this);
|
|
28233
28234
|
}), Object.defineProperty(N.prototype, "readableHighWaterMark", {
|
|
28234
28235
|
// making it explicit this property is not enumerable
|
|
28235
28236
|
// because otherwise some prototype manipulation in
|
|
@@ -28283,7 +28284,7 @@ function p1() {
|
|
|
28283
28284
|
}
|
|
28284
28285
|
}
|
|
28285
28286
|
typeof Symbol == "function" && (N.from = function(I, k) {
|
|
28286
|
-
return $ === void 0 && ($ =
|
|
28287
|
+
return $ === void 0 && ($ = J7()), $(N, I, k);
|
|
28287
28288
|
});
|
|
28288
28289
|
function K(I, k) {
|
|
28289
28290
|
for (var Q = 0, ae = I.length; Q < ae; Q++)
|
|
@@ -28293,14 +28294,14 @@ function p1() {
|
|
|
28293
28294
|
}
|
|
28294
28295
|
return lu;
|
|
28295
28296
|
}
|
|
28296
|
-
var h1 = dn, Kc = wi.codes,
|
|
28297
|
+
var h1 = dn, Kc = wi.codes, X7 = Kc.ERR_METHOD_NOT_IMPLEMENTED, Z7 = Kc.ERR_MULTIPLE_CALLBACK, Q7 = Kc.ERR_TRANSFORM_ALREADY_TRANSFORMING, eL = Kc.ERR_TRANSFORM_WITH_LENGTH_0, qc = ho();
|
|
28297
28298
|
Da(dn, qc);
|
|
28298
|
-
function
|
|
28299
|
+
function tL(e, t) {
|
|
28299
28300
|
var r = this._transformState;
|
|
28300
28301
|
r.transforming = !1;
|
|
28301
28302
|
var n = r.writecb;
|
|
28302
28303
|
if (n === null)
|
|
28303
|
-
return this.emit("error", new
|
|
28304
|
+
return this.emit("error", new Z7());
|
|
28304
28305
|
r.writechunk = null, r.writecb = null, t != null && this.push(t), n(e);
|
|
28305
28306
|
var i = this._readableState;
|
|
28306
28307
|
i.reading = !1, (i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark);
|
|
@@ -28309,15 +28310,15 @@ function dn(e) {
|
|
|
28309
28310
|
if (!(this instanceof dn))
|
|
28310
28311
|
return new dn(e);
|
|
28311
28312
|
qc.call(this, e), this._transformState = {
|
|
28312
|
-
afterTransform:
|
|
28313
|
+
afterTransform: tL.bind(this),
|
|
28313
28314
|
needTransform: !1,
|
|
28314
28315
|
transforming: !1,
|
|
28315
28316
|
writecb: null,
|
|
28316
28317
|
writechunk: null,
|
|
28317
28318
|
writeencoding: null
|
|
28318
|
-
}, this._readableState.needReadable = !0, this._readableState.sync = !1, e && (typeof e.transform == "function" && (this._transform = e.transform), typeof e.flush == "function" && (this._flush = e.flush)), this.on("prefinish",
|
|
28319
|
+
}, this._readableState.needReadable = !0, this._readableState.sync = !1, e && (typeof e.transform == "function" && (this._transform = e.transform), typeof e.flush == "function" && (this._flush = e.flush)), this.on("prefinish", rL);
|
|
28319
28320
|
}
|
|
28320
|
-
function
|
|
28321
|
+
function rL() {
|
|
28321
28322
|
var e = this;
|
|
28322
28323
|
typeof this._flush == "function" && !this._readableState.destroyed ? this._flush(function(t, r) {
|
|
28323
28324
|
Rg(e, t, r);
|
|
@@ -28327,7 +28328,7 @@ dn.prototype.push = function(e, t) {
|
|
|
28327
28328
|
return this._transformState.needTransform = !1, qc.prototype.push.call(this, e, t);
|
|
28328
28329
|
};
|
|
28329
28330
|
dn.prototype._transform = function(e, t, r) {
|
|
28330
|
-
r(new
|
|
28331
|
+
r(new X7("_transform()"));
|
|
28331
28332
|
};
|
|
28332
28333
|
dn.prototype._write = function(e, t, r) {
|
|
28333
28334
|
var n = this._transformState;
|
|
@@ -28349,12 +28350,12 @@ function Rg(e, t, r) {
|
|
|
28349
28350
|
if (t)
|
|
28350
28351
|
return e.emit("error", t);
|
|
28351
28352
|
if (r != null && e.push(r), e._writableState.length)
|
|
28352
|
-
throw new
|
|
28353
|
+
throw new eL();
|
|
28353
28354
|
if (e._transformState.transforming)
|
|
28354
|
-
throw new
|
|
28355
|
+
throw new Q7();
|
|
28355
28356
|
return e.push(null);
|
|
28356
28357
|
}
|
|
28357
|
-
var
|
|
28358
|
+
var nL = Ea, g1 = h1;
|
|
28358
28359
|
Da(Ea, g1);
|
|
28359
28360
|
function Ea(e) {
|
|
28360
28361
|
if (!(this instanceof Ea))
|
|
@@ -28365,22 +28366,22 @@ Ea.prototype._transform = function(e, t, r) {
|
|
|
28365
28366
|
r(null, e);
|
|
28366
28367
|
};
|
|
28367
28368
|
var uu;
|
|
28368
|
-
function
|
|
28369
|
+
function iL(e) {
|
|
28369
28370
|
var t = !1;
|
|
28370
28371
|
return function() {
|
|
28371
28372
|
t || (t = !0, e.apply(void 0, arguments));
|
|
28372
28373
|
};
|
|
28373
28374
|
}
|
|
28374
|
-
var v1 = wi.codes,
|
|
28375
|
+
var v1 = wi.codes, oL = v1.ERR_MISSING_ARGS, aL = v1.ERR_STREAM_DESTROYED;
|
|
28375
28376
|
function kg(e) {
|
|
28376
28377
|
if (e)
|
|
28377
28378
|
throw e;
|
|
28378
28379
|
}
|
|
28379
|
-
function
|
|
28380
|
+
function sL(e) {
|
|
28380
28381
|
return e.setHeader && typeof e.abort == "function";
|
|
28381
28382
|
}
|
|
28382
|
-
function
|
|
28383
|
-
n =
|
|
28383
|
+
function cL(e, t, r, n) {
|
|
28384
|
+
n = iL(n);
|
|
28384
28385
|
var i = !1;
|
|
28385
28386
|
e.on("close", function() {
|
|
28386
28387
|
i = !0;
|
|
@@ -28395,42 +28396,42 @@ function sL(e, t, r, n) {
|
|
|
28395
28396
|
var o = !1;
|
|
28396
28397
|
return function(a) {
|
|
28397
28398
|
if (!i && !o) {
|
|
28398
|
-
if (o = !0,
|
|
28399
|
+
if (o = !0, sL(e))
|
|
28399
28400
|
return e.abort();
|
|
28400
28401
|
if (typeof e.destroy == "function")
|
|
28401
28402
|
return e.destroy();
|
|
28402
|
-
n(a || new
|
|
28403
|
+
n(a || new aL("pipe"));
|
|
28403
28404
|
}
|
|
28404
28405
|
};
|
|
28405
28406
|
}
|
|
28406
28407
|
function Ng(e) {
|
|
28407
28408
|
e();
|
|
28408
28409
|
}
|
|
28409
|
-
function
|
|
28410
|
+
function lL(e, t) {
|
|
28410
28411
|
return e.pipe(t);
|
|
28411
28412
|
}
|
|
28412
|
-
function
|
|
28413
|
+
function uL(e) {
|
|
28413
28414
|
return !e.length || typeof e[e.length - 1] != "function" ? kg : e.pop();
|
|
28414
28415
|
}
|
|
28415
|
-
function
|
|
28416
|
+
function fL() {
|
|
28416
28417
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
28417
28418
|
t[r] = arguments[r];
|
|
28418
|
-
var n =
|
|
28419
|
+
var n = uL(t);
|
|
28419
28420
|
if (Array.isArray(t[0]) && (t = t[0]), t.length < 2)
|
|
28420
|
-
throw new
|
|
28421
|
+
throw new oL("streams");
|
|
28421
28422
|
var i, o = t.map(function(a, s) {
|
|
28422
28423
|
var c = s < t.length - 1, l = s > 0;
|
|
28423
|
-
return
|
|
28424
|
+
return cL(a, c, l, function(f) {
|
|
28424
28425
|
i || (i = f), f && o.forEach(Ng), !c && (o.forEach(Ng), n(i));
|
|
28425
28426
|
});
|
|
28426
28427
|
});
|
|
28427
|
-
return t.reduce(
|
|
28428
|
+
return t.reduce(lL);
|
|
28428
28429
|
}
|
|
28429
|
-
var
|
|
28430
|
+
var dL = fL;
|
|
28430
28431
|
(function(e, t) {
|
|
28431
|
-
t = e.exports = p1(), t.Stream = t, t.Readable = t, t.Writable = f1(), t.Duplex = ho(), t.Transform = h1, t.PassThrough =
|
|
28432
|
+
t = e.exports = p1(), t.Stream = t, t.Readable = t, t.Writable = f1(), t.Duplex = ho(), t.Transform = h1, t.PassThrough = nL, t.finished = Md, t.pipeline = dL;
|
|
28432
28433
|
})(yg, yg.exports);
|
|
28433
|
-
var
|
|
28434
|
+
var pL = (e) => new Promise((t, r) => {
|
|
28434
28435
|
e((n, i) => {
|
|
28435
28436
|
n ? r(n) : t(i);
|
|
28436
28437
|
});
|
|
@@ -28438,22 +28439,22 @@ var dL = (e) => new Promise((t, r) => {
|
|
|
28438
28439
|
constructor(e, t) {
|
|
28439
28440
|
super(e ? `Timeout [${e.toLocaleString()}ms]${t === void 0 ? "" : `: ${t}`}` : "Timeout");
|
|
28440
28441
|
}
|
|
28441
|
-
},
|
|
28442
|
+
}, hL = async (e, t, r) => {
|
|
28442
28443
|
let n;
|
|
28443
28444
|
const i = r === void 0 || typeof r == "string" ? new m1(t, r) : r, o = new Promise((s, c) => {
|
|
28444
28445
|
n = setTimeout(() => {
|
|
28445
28446
|
c(i);
|
|
28446
|
-
}, t),
|
|
28447
|
-
}), a = typeof e == "function" ?
|
|
28447
|
+
}, t), gL(n);
|
|
28448
|
+
}), a = typeof e == "function" ? pL(e) : e;
|
|
28448
28449
|
return await Promise.race([
|
|
28449
28450
|
a,
|
|
28450
28451
|
o
|
|
28451
28452
|
]).finally(() => {
|
|
28452
28453
|
clearTimeout(n);
|
|
28453
28454
|
});
|
|
28454
|
-
},
|
|
28455
|
+
}, gL = (e) => {
|
|
28455
28456
|
typeof e == "object" && "unref" in e && e.unref();
|
|
28456
|
-
},
|
|
28457
|
+
}, vL = class {
|
|
28457
28458
|
constructor(e = {
|
|
28458
28459
|
autoReset: !1
|
|
28459
28460
|
}) {
|
|
@@ -28463,7 +28464,7 @@ var dL = (e) => new Promise((t, r) => {
|
|
|
28463
28464
|
* Wait until wake is called, with optional timeout.
|
|
28464
28465
|
*/
|
|
28465
28466
|
async wait({ timeout: e } = {}) {
|
|
28466
|
-
return e ?
|
|
28467
|
+
return e ? hL(this._promise, e, new m1(e)) : this._promise;
|
|
28467
28468
|
}
|
|
28468
28469
|
/**
|
|
28469
28470
|
* Wake blocked callers (if any).
|
|
@@ -28485,9 +28486,9 @@ var dL = (e) => new Promise((t, r) => {
|
|
|
28485
28486
|
throw(e) {
|
|
28486
28487
|
return this._wake(Promise.reject(e)), this._options.autoReset ? this.reset() : this;
|
|
28487
28488
|
}
|
|
28488
|
-
},
|
|
28489
|
+
}, mL = class xr extends fs {
|
|
28489
28490
|
constructor(t, r) {
|
|
28490
|
-
super((n) => this._subscribe(n)), this._value = r, this._observers = /* @__PURE__ */ new Set(), this._completed = new
|
|
28491
|
+
super((n) => this._subscribe(n)), this._value = r, this._observers = /* @__PURE__ */ new Set(), this._completed = new vL(), this._handlers = {
|
|
28491
28492
|
next: (n) => {
|
|
28492
28493
|
this._value = n, this._observers.forEach((i) => {
|
|
28493
28494
|
var o;
|
|
@@ -28525,7 +28526,7 @@ var dL = (e) => new Promise((t, r) => {
|
|
|
28525
28526
|
* @returns Stable reference to an observable that always returns `undefined`.
|
|
28526
28527
|
*/
|
|
28527
28528
|
static empty() {
|
|
28528
|
-
return
|
|
28529
|
+
return yL;
|
|
28529
28530
|
}
|
|
28530
28531
|
/**
|
|
28531
28532
|
* Get the current value of the observable.
|
|
@@ -28579,14 +28580,14 @@ var dL = (e) => new Promise((t, r) => {
|
|
|
28579
28580
|
this._observers.delete(t);
|
|
28580
28581
|
};
|
|
28581
28582
|
}
|
|
28582
|
-
},
|
|
28583
|
+
}, yL = mL.of(null), y1 = typeof process < "u" && !!process.env.DX_TRACK_LEAKS, Dg = /* @__PURE__ */ new Set(), bL = () => {
|
|
28583
28584
|
if (y1) {
|
|
28584
28585
|
console.log(`Leaked resources ${Dg.size}:`);
|
|
28585
28586
|
for (const e of Dg)
|
|
28586
28587
|
console.log(`- ${e.name} at`), console.log(e.openStack.getStack(1)), console.log();
|
|
28587
28588
|
}
|
|
28588
28589
|
};
|
|
28589
|
-
y1 && (global.dxDumpLeaks =
|
|
28590
|
+
y1 && (global.dxDumpLeaks = bL);
|
|
28590
28591
|
var Lg = "/home/runner/work/dxos/dxos/packages/sdk/react-client/src/invitations/useInvitationStatus.ts", Fd = (e) => {
|
|
28591
28592
|
const [t, r] = ac((a, s) => (ot("useInvitationStatus", {
|
|
28592
28593
|
action: s
|
|
@@ -28709,7 +28710,7 @@ var Lg = "/home/runner/work/dxos/dxos/packages/sdk/react-client/src/invitations/
|
|
|
28709
28710
|
i
|
|
28710
28711
|
]);
|
|
28711
28712
|
};
|
|
28712
|
-
const
|
|
28713
|
+
const wL = /* @__PURE__ */ new Map([
|
|
28713
28714
|
[$e.State.ERROR, -3],
|
|
28714
28715
|
[$e.State.TIMEOUT, -2],
|
|
28715
28716
|
[$e.State.CANCELLED, -1],
|
|
@@ -28720,32 +28721,32 @@ const bL = /* @__PURE__ */ new Map([
|
|
|
28720
28721
|
[$e.State.AUTHENTICATING, 4],
|
|
28721
28722
|
[$e.State.SUCCESS, 5]
|
|
28722
28723
|
]);
|
|
28723
|
-
var b1 = 9007199254740991,
|
|
28724
|
-
function
|
|
28724
|
+
var b1 = 9007199254740991, _L = "[object Arguments]", EL = "[object Function]", xL = "[object GeneratorFunction]", af = "[object Map]", SL = "[object Object]", Mg = "[object Promise]", sf = "[object Set]", $L = "[object String]", Fg = "[object WeakMap]", Bg = "[object DataView]", CL = /[\\^$.*+?()[\]{}|]/g, AL = /^\[object .+?Constructor\]$/, OL = /^(?:0|[1-9]\d*)$/, Bd = "\\ud800-\\udfff", w1 = "\\u0300-\\u036f\\ufe20-\\ufe23", _1 = "\\u20d0-\\u20f0", E1 = "\\ufe0e\\ufe0f", TL = "[" + Bd + "]", cf = "[" + w1 + _1 + "]", lf = "\\ud83c[\\udffb-\\udfff]", IL = "(?:" + cf + "|" + lf + ")", x1 = "[^" + Bd + "]", S1 = "(?:\\ud83c[\\udde6-\\uddff]){2}", $1 = "[\\ud800-\\udbff][\\udc00-\\udfff]", C1 = "\\u200d", A1 = IL + "?", O1 = "[" + E1 + "]?", PL = "(?:" + C1 + "(?:" + [x1, S1, $1].join("|") + ")" + O1 + A1 + ")*", RL = O1 + A1 + PL, kL = "(?:" + [x1 + cf + "?", cf, S1, $1, TL].join("|") + ")", NL = RegExp(lf + "(?=" + lf + ")|" + kL + RL, "g"), DL = RegExp("[" + C1 + Bd + w1 + _1 + E1 + "]"), LL = typeof it == "object" && it && it.Object === Object && it, ML = typeof self == "object" && self && self.Object === Object && self, _i = LL || ML || Function("return this")();
|
|
28725
|
+
function FL(e, t) {
|
|
28725
28726
|
for (var r = -1, n = e ? e.length : 0, i = Array(n); ++r < n; )
|
|
28726
28727
|
i[r] = t(e[r], r, e);
|
|
28727
28728
|
return i;
|
|
28728
28729
|
}
|
|
28729
|
-
function
|
|
28730
|
+
function BL(e) {
|
|
28730
28731
|
return e.split("");
|
|
28731
28732
|
}
|
|
28732
|
-
function
|
|
28733
|
+
function jL(e, t) {
|
|
28733
28734
|
for (var r = -1, n = Array(e); ++r < e; )
|
|
28734
28735
|
n[r] = t(r);
|
|
28735
28736
|
return n;
|
|
28736
28737
|
}
|
|
28737
|
-
function
|
|
28738
|
-
return
|
|
28738
|
+
function UL(e, t) {
|
|
28739
|
+
return FL(t, function(r) {
|
|
28739
28740
|
return e[r];
|
|
28740
28741
|
});
|
|
28741
28742
|
}
|
|
28742
|
-
function
|
|
28743
|
+
function WL(e, t) {
|
|
28743
28744
|
return e == null ? void 0 : e[t];
|
|
28744
28745
|
}
|
|
28745
|
-
function WL(e) {
|
|
28746
|
-
return NL.test(e);
|
|
28747
|
-
}
|
|
28748
28746
|
function zL(e) {
|
|
28747
|
+
return DL.test(e);
|
|
28748
|
+
}
|
|
28749
|
+
function HL(e) {
|
|
28749
28750
|
var t = !1;
|
|
28750
28751
|
if (e != null && typeof e.toString != "function")
|
|
28751
28752
|
try {
|
|
@@ -28754,98 +28755,98 @@ function zL(e) {
|
|
|
28754
28755
|
}
|
|
28755
28756
|
return t;
|
|
28756
28757
|
}
|
|
28757
|
-
function
|
|
28758
|
+
function VL(e) {
|
|
28758
28759
|
for (var t, r = []; !(t = e.next()).done; )
|
|
28759
28760
|
r.push(t.value);
|
|
28760
28761
|
return r;
|
|
28761
28762
|
}
|
|
28762
|
-
function
|
|
28763
|
+
function GL(e) {
|
|
28763
28764
|
var t = -1, r = Array(e.size);
|
|
28764
28765
|
return e.forEach(function(n, i) {
|
|
28765
28766
|
r[++t] = [i, n];
|
|
28766
28767
|
}), r;
|
|
28767
28768
|
}
|
|
28768
|
-
function
|
|
28769
|
+
function KL(e, t) {
|
|
28769
28770
|
return function(r) {
|
|
28770
28771
|
return e(t(r));
|
|
28771
28772
|
};
|
|
28772
28773
|
}
|
|
28773
|
-
function
|
|
28774
|
+
function qL(e) {
|
|
28774
28775
|
var t = -1, r = Array(e.size);
|
|
28775
28776
|
return e.forEach(function(n) {
|
|
28776
28777
|
r[++t] = n;
|
|
28777
28778
|
}), r;
|
|
28778
28779
|
}
|
|
28779
|
-
function qL(e) {
|
|
28780
|
-
return WL(e) ? YL(e) : FL(e);
|
|
28781
|
-
}
|
|
28782
28780
|
function YL(e) {
|
|
28783
|
-
return e
|
|
28781
|
+
return zL(e) ? JL(e) : BL(e);
|
|
28782
|
+
}
|
|
28783
|
+
function JL(e) {
|
|
28784
|
+
return e.match(NL) || [];
|
|
28784
28785
|
}
|
|
28785
|
-
var
|
|
28786
|
+
var XL = Function.prototype, Yc = Object.prototype, fu = _i["__core-js_shared__"], jg = function() {
|
|
28786
28787
|
var e = /[^.]+$/.exec(fu && fu.keys && fu.keys.IE_PROTO || "");
|
|
28787
28788
|
return e ? "Symbol(src)_1." + e : "";
|
|
28788
|
-
}(), T1 =
|
|
28789
|
-
"^" + T1.call(Jc).replace(
|
|
28790
|
-
), Ug = _i.Symbol, du = Ug ? Ug.iterator : void 0,
|
|
28791
|
-
function
|
|
28792
|
-
var r = I1(e) ||
|
|
28789
|
+
}(), T1 = XL.toString, Jc = Yc.hasOwnProperty, La = Yc.toString, ZL = RegExp(
|
|
28790
|
+
"^" + T1.call(Jc).replace(CL, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
28791
|
+
), Ug = _i.Symbol, du = Ug ? Ug.iterator : void 0, QL = Yc.propertyIsEnumerable, eM = KL(Object.keys, Object), uf = Ma(_i, "DataView"), ff = Ma(_i, "Map"), df = Ma(_i, "Promise"), pf = Ma(_i, "Set"), hf = Ma(_i, "WeakMap"), tM = Ei(uf), rM = Ei(ff), nM = Ei(df), iM = Ei(pf), oM = Ei(hf);
|
|
28792
|
+
function aM(e, t) {
|
|
28793
|
+
var r = I1(e) || hM(e) ? jL(e.length, String) : [], n = r.length, i = !!n;
|
|
28793
28794
|
for (var o in e)
|
|
28794
|
-
(t || Jc.call(e, o)) && !(i && (o == "length" ||
|
|
28795
|
+
(t || Jc.call(e, o)) && !(i && (o == "length" || fM(o, n))) && r.push(o);
|
|
28795
28796
|
return r;
|
|
28796
28797
|
}
|
|
28797
|
-
function
|
|
28798
|
+
function sM(e) {
|
|
28798
28799
|
return La.call(e);
|
|
28799
28800
|
}
|
|
28800
|
-
function
|
|
28801
|
-
if (!R1(e) ||
|
|
28801
|
+
function cM(e) {
|
|
28802
|
+
if (!R1(e) || dM(e))
|
|
28802
28803
|
return !1;
|
|
28803
|
-
var t = P1(e) ||
|
|
28804
|
+
var t = P1(e) || HL(e) ? ZL : AL;
|
|
28804
28805
|
return t.test(Ei(e));
|
|
28805
28806
|
}
|
|
28806
|
-
function
|
|
28807
|
-
if (!
|
|
28808
|
-
return
|
|
28807
|
+
function lM(e) {
|
|
28808
|
+
if (!pM(e))
|
|
28809
|
+
return eM(e);
|
|
28809
28810
|
var t = [];
|
|
28810
28811
|
for (var r in Object(e))
|
|
28811
28812
|
Jc.call(e, r) && r != "constructor" && t.push(r);
|
|
28812
28813
|
return t;
|
|
28813
28814
|
}
|
|
28814
|
-
function
|
|
28815
|
+
function uM(e, t) {
|
|
28815
28816
|
var r = -1, n = e.length;
|
|
28816
28817
|
for (t || (t = Array(n)); ++r < n; )
|
|
28817
28818
|
t[r] = e[r];
|
|
28818
28819
|
return t;
|
|
28819
28820
|
}
|
|
28820
28821
|
function Ma(e, t) {
|
|
28821
|
-
var r =
|
|
28822
|
-
return
|
|
28822
|
+
var r = WL(e, t);
|
|
28823
|
+
return cM(r) ? r : void 0;
|
|
28823
28824
|
}
|
|
28824
|
-
var ti =
|
|
28825
|
+
var ti = sM;
|
|
28825
28826
|
(uf && ti(new uf(new ArrayBuffer(1))) != Bg || ff && ti(new ff()) != af || df && ti(df.resolve()) != Mg || pf && ti(new pf()) != sf || hf && ti(new hf()) != Fg) && (ti = function(e) {
|
|
28826
|
-
var t = La.call(e), r = t ==
|
|
28827
|
+
var t = La.call(e), r = t == SL ? e.constructor : void 0, n = r ? Ei(r) : void 0;
|
|
28827
28828
|
if (n)
|
|
28828
28829
|
switch (n) {
|
|
28829
|
-
case eM:
|
|
28830
|
-
return Bg;
|
|
28831
28830
|
case tM:
|
|
28832
|
-
return
|
|
28831
|
+
return Bg;
|
|
28833
28832
|
case rM:
|
|
28834
|
-
return
|
|
28833
|
+
return af;
|
|
28835
28834
|
case nM:
|
|
28836
|
-
return
|
|
28835
|
+
return Mg;
|
|
28837
28836
|
case iM:
|
|
28837
|
+
return sf;
|
|
28838
|
+
case oM:
|
|
28838
28839
|
return Fg;
|
|
28839
28840
|
}
|
|
28840
28841
|
return t;
|
|
28841
28842
|
});
|
|
28842
|
-
function
|
|
28843
|
-
return t = t ?? b1, !!t && (typeof e == "number" ||
|
|
28843
|
+
function fM(e, t) {
|
|
28844
|
+
return t = t ?? b1, !!t && (typeof e == "number" || OL.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
28844
28845
|
}
|
|
28845
|
-
function
|
|
28846
|
+
function dM(e) {
|
|
28846
28847
|
return !!jg && jg in e;
|
|
28847
28848
|
}
|
|
28848
|
-
function
|
|
28849
|
+
function pM(e) {
|
|
28849
28850
|
var t = e && e.constructor, r = typeof t == "function" && t.prototype || Yc;
|
|
28850
28851
|
return e === r;
|
|
28851
28852
|
}
|
|
@@ -28862,21 +28863,21 @@ function Ei(e) {
|
|
|
28862
28863
|
}
|
|
28863
28864
|
return "";
|
|
28864
28865
|
}
|
|
28865
|
-
function
|
|
28866
|
-
return
|
|
28866
|
+
function hM(e) {
|
|
28867
|
+
return gM(e) && Jc.call(e, "callee") && (!QL.call(e, "callee") || La.call(e) == _L);
|
|
28867
28868
|
}
|
|
28868
28869
|
var I1 = Array.isArray;
|
|
28869
28870
|
function jd(e) {
|
|
28870
|
-
return e != null &&
|
|
28871
|
+
return e != null && vM(e.length) && !P1(e);
|
|
28871
28872
|
}
|
|
28872
|
-
function
|
|
28873
|
+
function gM(e) {
|
|
28873
28874
|
return k1(e) && jd(e);
|
|
28874
28875
|
}
|
|
28875
28876
|
function P1(e) {
|
|
28876
28877
|
var t = R1(e) ? La.call(e) : "";
|
|
28877
|
-
return t ==
|
|
28878
|
+
return t == EL || t == xL;
|
|
28878
28879
|
}
|
|
28879
|
-
function
|
|
28880
|
+
function vM(e) {
|
|
28880
28881
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= b1;
|
|
28881
28882
|
}
|
|
28882
28883
|
function R1(e) {
|
|
@@ -28886,27 +28887,27 @@ function R1(e) {
|
|
|
28886
28887
|
function k1(e) {
|
|
28887
28888
|
return !!e && typeof e == "object";
|
|
28888
28889
|
}
|
|
28889
|
-
function vM(e) {
|
|
28890
|
-
return typeof e == "string" || !I1(e) && k1(e) && La.call(e) == SL;
|
|
28891
|
-
}
|
|
28892
28890
|
function mM(e) {
|
|
28891
|
+
return typeof e == "string" || !I1(e) && k1(e) && La.call(e) == $L;
|
|
28892
|
+
}
|
|
28893
|
+
function yM(e) {
|
|
28893
28894
|
if (!e)
|
|
28894
28895
|
return [];
|
|
28895
28896
|
if (jd(e))
|
|
28896
|
-
return
|
|
28897
|
+
return mM(e) ? YL(e) : uM(e);
|
|
28897
28898
|
if (du && e[du])
|
|
28898
|
-
return
|
|
28899
|
-
var t = ti(e), r = t == af ?
|
|
28899
|
+
return VL(e[du]());
|
|
28900
|
+
var t = ti(e), r = t == af ? GL : t == sf ? qL : wM;
|
|
28900
28901
|
return r(e);
|
|
28901
28902
|
}
|
|
28902
|
-
function yM(e) {
|
|
28903
|
-
return jd(e) ? oM(e) : cM(e);
|
|
28904
|
-
}
|
|
28905
28903
|
function bM(e) {
|
|
28906
|
-
return e ?
|
|
28904
|
+
return jd(e) ? aM(e) : lM(e);
|
|
28907
28905
|
}
|
|
28908
|
-
|
|
28909
|
-
|
|
28906
|
+
function wM(e) {
|
|
28907
|
+
return e ? UL(e, bM(e)) : [];
|
|
28908
|
+
}
|
|
28909
|
+
var _M = yM;
|
|
28910
|
+
const EM = /* @__PURE__ */ Un(_M), Wg = EM(
|
|
28910
28911
|
// When changing this set, please check the result in a console or e.g. RunKit (https://runkit.com/thure/642214441dd6ae000855a8de)
|
|
28911
28912
|
// Emoji sometimes use a combination of code points, and some code points aren't visible on their own, so by adding or deleting you may unintentionally create non-visible items.
|
|
28912
28913
|
// This set was chosen from the characters in Unicode Emoji v15.0 based on the following criteria:
|
|
@@ -28936,10 +28937,10 @@ const _M = /* @__PURE__ */ Un(wM), Wg = _M(
|
|
|
28936
28937
|
/* @__PURE__ */ x.createElement("span", null, o),
|
|
28937
28938
|
/* @__PURE__ */ x.createElement("span", null, a)
|
|
28938
28939
|
);
|
|
28939
|
-
},
|
|
28940
|
+
}, xM = (e) => {
|
|
28940
28941
|
const { invitation: t } = e, r = Fd(t);
|
|
28941
|
-
return /* @__PURE__ */ x.createElement(
|
|
28942
|
-
}, ea = { size: 10, variant: "circle" },
|
|
28942
|
+
return /* @__PURE__ */ x.createElement($M, { ...e, invitationStatus: r });
|
|
28943
|
+
}, ea = { size: 10, variant: "circle" }, SM = ({ animation: e, status: t }) => {
|
|
28943
28944
|
const { tx: r } = Fe();
|
|
28944
28945
|
return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(
|
|
28945
28946
|
"span",
|
|
@@ -28970,7 +28971,7 @@ const _M = /* @__PURE__ */ Un(wM), Wg = _M(
|
|
|
28970
28971
|
}
|
|
28971
28972
|
)
|
|
28972
28973
|
));
|
|
28973
|
-
},
|
|
28974
|
+
}, $M = ({
|
|
28974
28975
|
invitation: e,
|
|
28975
28976
|
invitationStatus: t,
|
|
28976
28977
|
send: r,
|
|
@@ -28991,7 +28992,7 @@ const _M = /* @__PURE__ */ Un(wM), Wg = _M(
|
|
|
28991
28992
|
$e.State.AUTHENTICATING,
|
|
28992
28993
|
$e.State.SUCCESS
|
|
28993
28994
|
].includes(s), $ = _ ? "error" : S ? "active" : "inactive";
|
|
28994
|
-
return /* @__PURE__ */ x.createElement(Gu.Root, { id: c, classNames: "flex gap-2 pis-3 pie-1 items-center relative" }, /* @__PURE__ */ x.createElement(Gu.Heading, { classNames: "sr-only" }, o(f === $e.Type.MULTIUSE ? "invite many list item label" : "invite one list item label")), f === $e.Type.MULTIUSE && /* @__PURE__ */ x.createElement(
|
|
28995
|
+
return /* @__PURE__ */ x.createElement(Gu.Root, { id: c, classNames: "flex gap-2 pis-3 pie-1 items-center relative" }, /* @__PURE__ */ x.createElement(Gu.Heading, { classNames: "sr-only" }, o(f === $e.Type.MULTIUSE ? "invite many list item label" : "invite one list item label")), f === $e.Type.MULTIUSE && /* @__PURE__ */ x.createElement(SM, { status: $, animation: w }), /* @__PURE__ */ x.createElement($r.Root, null, /* @__PURE__ */ x.createElement(Ft.Root, { ...ea, animation: w, status: $ }, /* @__PURE__ */ x.createElement($r.Trigger, { asChild: !0 }, /* @__PURE__ */ x.createElement(Ft.Frame, { tabIndex: 0, classNames: [Zr, "relative rounded-full"] }, /* @__PURE__ */ x.createElement(Ft.Fallback, { text: Ud(b) })))), /* @__PURE__ */ x.createElement($r.Portal, null, /* @__PURE__ */ x.createElement($r.Content, { side: "left", classNames: "z-[70]" }, o(f === $e.Type.MULTIUSE ? "invite many qr label" : "invite one qr label"), /* @__PURE__ */ x.createElement($r.Arrow, null)))), p && m ? /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(
|
|
28995
28996
|
Or,
|
|
28996
28997
|
{
|
|
28997
28998
|
variant: "ghost",
|
|
@@ -29000,14 +29001,14 @@ const _M = /* @__PURE__ */ Un(wM), Wg = _M(
|
|
|
29000
29001
|
"data-testid": "show-qrcode"
|
|
29001
29002
|
},
|
|
29002
29003
|
/* @__PURE__ */ x.createElement("span", null, o("open share panel label"))
|
|
29003
|
-
), /* @__PURE__ */ x.createElement(
|
|
29004
|
-
},
|
|
29005
|
-
const { className: n, InvitationListItem: i =
|
|
29004
|
+
), /* @__PURE__ */ x.createElement(Sk, { variant: "ghost", value: m })) : g ? /* @__PURE__ */ x.createElement(N1, { code: l, classNames: "grow" }) : s === $e.State.CONNECTING ? /* @__PURE__ */ x.createElement("span", { className: "pli-2 grow text-neutral-500" }, "Connecting...") : s === $e.State.AUTHENTICATING ? /* @__PURE__ */ x.createElement("span", { className: "pli-2 grow text-neutral-500" }, "Authenticating...") : s === $e.State.ERROR || s === $e.State.TIMEOUT ? /* @__PURE__ */ x.createElement("span", { className: "pli-2 grow text-neutral-500" }, "Failed") : s === $e.State.CANCELLED ? /* @__PURE__ */ x.createElement("span", { className: "pli-2 grow text-neutral-500" }, "Cancelled") : s === $e.State.SUCCESS ? /* @__PURE__ */ x.createElement("span", { className: "pli-2 grow truncate" }, "User joined") : /* @__PURE__ */ x.createElement("span", { className: "grow" }, " "), d ? /* @__PURE__ */ x.createElement(Or, { variant: "ghost", classNames: "flex gap-1", onClick: a, "data-testid": "cancel-invitation" }, /* @__PURE__ */ x.createElement("span", { className: "sr-only" }, o("cancel invitation label")), /* @__PURE__ */ x.createElement(pa, { className: Qe(5), weight: "bold" })) : /* @__PURE__ */ x.createElement(Or, { variant: "ghost", classNames: "flex gap-1", onClick: v, "data-testid": "remove-invitation" }, /* @__PURE__ */ x.createElement("span", { className: "sr-only" }, o("remove invitation label")), /* @__PURE__ */ x.createElement(pa, { className: Qe(5), weight: "bold" })));
|
|
29005
|
+
}, CM = ({ invitations: e, send: t, ...r }) => {
|
|
29006
|
+
const { className: n, InvitationListItem: i = xM } = r;
|
|
29006
29007
|
return /* @__PURE__ */ x.createElement(Zf, { classNames: de("flex flex-col gap-2", n) }, e.map((o) => {
|
|
29007
29008
|
const a = o.get().invitationId;
|
|
29008
29009
|
return /* @__PURE__ */ x.createElement(i, { key: a, send: t, invitation: o, ...r });
|
|
29009
29010
|
}));
|
|
29010
|
-
},
|
|
29011
|
+
}, AM = {
|
|
29011
29012
|
noopAction: {
|
|
29012
29013
|
label: "No-op",
|
|
29013
29014
|
description: "",
|
|
@@ -29015,12 +29016,12 @@ const _M = /* @__PURE__ */ Un(wM), Wg = _M(
|
|
|
29015
29016
|
onClick: () => {
|
|
29016
29017
|
}
|
|
29017
29018
|
}
|
|
29018
|
-
},
|
|
29019
|
+
}, OM = ne((e, t) => {
|
|
29019
29020
|
const {
|
|
29020
29021
|
classNames: r,
|
|
29021
29022
|
variant: n,
|
|
29022
29023
|
isFull: i = !0,
|
|
29023
|
-
actions: o =
|
|
29024
|
+
actions: o = AM,
|
|
29024
29025
|
activeAction: a,
|
|
29025
29026
|
onChangeActiveAction: s,
|
|
29026
29027
|
defaultActiveAction: c,
|
|
@@ -29103,7 +29104,7 @@ const _M = /* @__PURE__ */ Un(wM), Wg = _M(
|
|
|
29103
29104
|
fontSize: "2.25rem"
|
|
29104
29105
|
},
|
|
29105
29106
|
e
|
|
29106
|
-
))),
|
|
29107
|
+
))), TM = (e) => {
|
|
29107
29108
|
const { children: t } = e;
|
|
29108
29109
|
return /* @__PURE__ */ x.createElement("div", { role: "none", className: "absolute inset-0 flex items-center justify-center" }, t);
|
|
29109
29110
|
}, Wd = ne(
|
|
@@ -29125,7 +29126,7 @@ const _M = /* @__PURE__ */ Un(wM), Wg = _M(
|
|
|
29125
29126
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
29126
29127
|
* Licensed under the MIT License.
|
|
29127
29128
|
*/
|
|
29128
|
-
const Dn = "data-tabster", L1 = "data-tabster-dummy",
|
|
29129
|
+
const Dn = "data-tabster", L1 = "data-tabster-dummy", IM = "tabster:focusin", PM = "tabster:focusout", RM = "tabster:movefocus", M1 = /* @__PURE__ */ ["a[href]", "button:not([disabled])", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])", "*[tabindex]", "*[contenteditable]"].join(", "), kM = {
|
|
29129
29130
|
Auto: 0,
|
|
29130
29131
|
Inside: 1,
|
|
29131
29132
|
Outside: 2
|
|
@@ -29234,7 +29235,7 @@ function F1(e, t, r) {
|
|
|
29234
29235
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
29235
29236
|
* Licensed under the MIT License.
|
|
29236
29237
|
*/
|
|
29237
|
-
function
|
|
29238
|
+
function NM(e) {
|
|
29238
29239
|
const t = e();
|
|
29239
29240
|
try {
|
|
29240
29241
|
if (t.EventTarget)
|
|
@@ -29249,32 +29250,32 @@ function kM(e) {
|
|
|
29249
29250
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
29250
29251
|
* Licensed under the MIT License.
|
|
29251
29252
|
*/
|
|
29252
|
-
const
|
|
29253
|
+
const DM = (e) => new MutationObserver(e), LM = (e, t, r, n) => e.createTreeWalker(t, r, n), MM = (e) => e ? e.parentNode : null, FM = (e) => e ? e.parentElement : null, BM = (e, t) => !!(t && (e != null && e.contains(t))), jM = (e) => e.activeElement, UM = (e, t) => e.querySelector(t), WM = (e, t) => Array.prototype.slice.call(e.querySelectorAll(t), 0), zM = (e, t) => e.getElementById(t), HM = (e) => (e == null ? void 0 : e.firstChild) || null, VM = (e) => (e == null ? void 0 : e.lastChild) || null, GM = (e) => (e == null ? void 0 : e.nextSibling) || null, KM = (e) => (e == null ? void 0 : e.previousSibling) || null, qM = (e) => (e == null ? void 0 : e.firstElementChild) || null, YM = (e) => (e == null ? void 0 : e.lastElementChild) || null, JM = (e) => (e == null ? void 0 : e.nextElementSibling) || null, XM = (e) => (e == null ? void 0 : e.previousElementSibling) || null, ZM = (e, t) => e.appendChild(t), QM = (e, t, r) => e.insertBefore(t, r), eF = (e) => {
|
|
29253
29254
|
var t;
|
|
29254
29255
|
return ((t = e.ownerDocument) === null || t === void 0 ? void 0 : t.getSelection()) || null;
|
|
29255
29256
|
}, We = {
|
|
29256
|
-
createMutationObserver:
|
|
29257
|
-
createTreeWalker:
|
|
29258
|
-
getParentNode:
|
|
29259
|
-
getParentElement:
|
|
29260
|
-
nodeContains:
|
|
29261
|
-
getActiveElement:
|
|
29262
|
-
querySelector:
|
|
29263
|
-
querySelectorAll:
|
|
29264
|
-
getElementById:
|
|
29265
|
-
getFirstChild:
|
|
29266
|
-
getLastChild:
|
|
29267
|
-
getNextSibling:
|
|
29268
|
-
getPreviousSibling:
|
|
29269
|
-
getFirstElementChild:
|
|
29270
|
-
getLastElementChild:
|
|
29271
|
-
getNextElementSibling:
|
|
29272
|
-
getPreviousElementSibling:
|
|
29273
|
-
appendChild:
|
|
29274
|
-
insertBefore:
|
|
29275
|
-
getSelection:
|
|
29257
|
+
createMutationObserver: DM,
|
|
29258
|
+
createTreeWalker: LM,
|
|
29259
|
+
getParentNode: MM,
|
|
29260
|
+
getParentElement: FM,
|
|
29261
|
+
nodeContains: BM,
|
|
29262
|
+
getActiveElement: jM,
|
|
29263
|
+
querySelector: UM,
|
|
29264
|
+
querySelectorAll: WM,
|
|
29265
|
+
getElementById: zM,
|
|
29266
|
+
getFirstChild: HM,
|
|
29267
|
+
getLastChild: VM,
|
|
29268
|
+
getNextSibling: GM,
|
|
29269
|
+
getPreviousSibling: KM,
|
|
29270
|
+
getFirstElementChild: qM,
|
|
29271
|
+
getLastElementChild: YM,
|
|
29272
|
+
getNextElementSibling: JM,
|
|
29273
|
+
getPreviousElementSibling: XM,
|
|
29274
|
+
appendChild: ZM,
|
|
29275
|
+
insertBefore: QM,
|
|
29276
|
+
getSelection: eF
|
|
29276
29277
|
};
|
|
29277
|
-
function
|
|
29278
|
+
function tF(e) {
|
|
29278
29279
|
for (const t of Object.keys(e))
|
|
29279
29280
|
We[t] = e[t];
|
|
29280
29281
|
}
|
|
@@ -29282,7 +29283,7 @@ function eF(e) {
|
|
|
29282
29283
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
29283
29284
|
* Licensed under the MIT License.
|
|
29284
29285
|
*/
|
|
29285
|
-
let vf,
|
|
29286
|
+
let vf, rF = 0;
|
|
29286
29287
|
try {
|
|
29287
29288
|
document.createTreeWalker(document, NodeFilter.SHOW_ELEMENT), vf = !1;
|
|
29288
29289
|
} catch {
|
|
@@ -29304,15 +29305,15 @@ function xi(e) {
|
|
|
29304
29305
|
fakeWeakRefsStarted: !1
|
|
29305
29306
|
}, t.__tabsterInstanceContext = r), r;
|
|
29306
29307
|
}
|
|
29307
|
-
function
|
|
29308
|
+
function nF(e) {
|
|
29308
29309
|
const t = e.__tabsterInstanceContext;
|
|
29309
29310
|
t && (t.elementByUId = {}, delete t.WeakRef, t.containerBoundingRectCache = {}, t.containerBoundingRectCacheTimer && e.clearTimeout(t.containerBoundingRectCacheTimer), t.fakeWeakRefsTimer && e.clearTimeout(t.fakeWeakRefsTimer), t.fakeWeakRefs = [], delete e.__tabsterInstanceContext);
|
|
29310
29311
|
}
|
|
29311
|
-
function
|
|
29312
|
+
function iF(e) {
|
|
29312
29313
|
const t = e.__tabsterInstanceContext;
|
|
29313
29314
|
return new ((t == null ? void 0 : t.basics.WeakMap) || WeakMap)();
|
|
29314
29315
|
}
|
|
29315
|
-
function
|
|
29316
|
+
function oF(e) {
|
|
29316
29317
|
return !!e.querySelector(M1);
|
|
29317
29318
|
}
|
|
29318
29319
|
class B1 {
|
|
@@ -29347,11 +29348,11 @@ function j1(e, t) {
|
|
|
29347
29348
|
}
|
|
29348
29349
|
function U1(e) {
|
|
29349
29350
|
const t = xi(e);
|
|
29350
|
-
t.fakeWeakRefsStarted || (t.fakeWeakRefsStarted = !0, t.WeakRef =
|
|
29351
|
+
t.fakeWeakRefsStarted || (t.fakeWeakRefsStarted = !0, t.WeakRef = fF(t)), t.fakeWeakRefsTimer || (t.fakeWeakRefsTimer = e().setTimeout(() => {
|
|
29351
29352
|
t.fakeWeakRefsTimer = void 0, j1(e), U1(e);
|
|
29352
29353
|
}, 2 * 60 * 1e3));
|
|
29353
29354
|
}
|
|
29354
|
-
function
|
|
29355
|
+
function aF(e) {
|
|
29355
29356
|
const t = xi(e);
|
|
29356
29357
|
t.fakeWeakRefsStarted = !1, t.fakeWeakRefsTimer && (e().clearTimeout(t.fakeWeakRefsTimer), t.fakeWeakRefsTimer = void 0, t.fakeWeakRefs = []);
|
|
29357
29358
|
}
|
|
@@ -29372,13 +29373,13 @@ function W1(e, t, r) {
|
|
|
29372
29373
|
/* Last argument is not optional for IE11! */
|
|
29373
29374
|
);
|
|
29374
29375
|
}
|
|
29375
|
-
function
|
|
29376
|
+
function sF(e) {
|
|
29376
29377
|
e.__shouldIgnoreFocus = !0;
|
|
29377
29378
|
}
|
|
29378
29379
|
function z1(e) {
|
|
29379
29380
|
return !!e.__shouldIgnoreFocus;
|
|
29380
29381
|
}
|
|
29381
|
-
function
|
|
29382
|
+
function cF(e) {
|
|
29382
29383
|
const t = new Uint32Array(4);
|
|
29383
29384
|
if (e.crypto && e.crypto.getRandomValues)
|
|
29384
29385
|
e.crypto.getRandomValues(t);
|
|
@@ -29390,12 +29391,12 @@ function sF(e) {
|
|
|
29390
29391
|
const r = [];
|
|
29391
29392
|
for (let n = 0; n < t.length; n++)
|
|
29392
29393
|
r.push(t[n].toString(36));
|
|
29393
|
-
return r.push("|"), r.push((++
|
|
29394
|
+
return r.push("|"), r.push((++rF).toString(36)), r.push("|"), r.push(Date.now().toString(36)), r.join("");
|
|
29394
29395
|
}
|
|
29395
|
-
function
|
|
29396
|
+
function lF(e, t) {
|
|
29396
29397
|
const r = xi(e);
|
|
29397
29398
|
let n = t.__tabsterElementUID;
|
|
29398
|
-
return n || (n = t.__tabsterElementUID =
|
|
29399
|
+
return n || (n = t.__tabsterElementUID = cF(e())), !r.elementByUId[n] && zd(t.ownerDocument, t) && (r.elementByUId[n] = new Ln(e, t)), n;
|
|
29399
29400
|
}
|
|
29400
29401
|
function Hg(e, t) {
|
|
29401
29402
|
const r = xi(e);
|
|
@@ -29407,20 +29408,20 @@ function Hg(e, t) {
|
|
|
29407
29408
|
function zd(e, t) {
|
|
29408
29409
|
return We.nodeContains(e == null ? void 0 : e.body, t);
|
|
29409
29410
|
}
|
|
29410
|
-
function
|
|
29411
|
+
function uF(e, t) {
|
|
29411
29412
|
const r = e.matches || e.matchesSelector || e.msMatchesSelector || e.webkitMatchesSelector;
|
|
29412
29413
|
return r && r.call(e, t);
|
|
29413
29414
|
}
|
|
29414
|
-
function
|
|
29415
|
+
function fF(e) {
|
|
29415
29416
|
return e.basics.WeakRef;
|
|
29416
29417
|
}
|
|
29417
|
-
let
|
|
29418
|
-
class
|
|
29418
|
+
let dF = 0;
|
|
29419
|
+
class pF {
|
|
29419
29420
|
constructor(t, r, n) {
|
|
29420
29421
|
const i = t.getWindow;
|
|
29421
29422
|
this._tabster = t, this._element = new Ln(i, r), this._props = {
|
|
29422
29423
|
...n
|
|
29423
|
-
}, this.id = "i" + ++
|
|
29424
|
+
}, this.id = "i" + ++dF;
|
|
29424
29425
|
}
|
|
29425
29426
|
getElement() {
|
|
29426
29427
|
return this._element.get();
|
|
@@ -29461,7 +29462,7 @@ class Qs {
|
|
|
29461
29462
|
const s = t(), c = s.document.createElement("i");
|
|
29462
29463
|
c.tabIndex = 0, c.setAttribute("role", "none"), c.setAttribute(L1, ""), c.setAttribute("aria-hidden", "true");
|
|
29463
29464
|
const l = c.style;
|
|
29464
|
-
l.position = "fixed", l.width = l.height = "1px", l.opacity = "0.001", l.zIndex = "-1", l.setProperty("content-visibility", "hidden"),
|
|
29465
|
+
l.position = "fixed", l.width = l.height = "1px", l.opacity = "0.001", l.zIndex = "-1", l.setProperty("content-visibility", "hidden"), sF(c), this.input = c, this.isFirst = n.isFirst, this.isOutside = r, this._isPhantom = (a = n.isPhantom) !== null && a !== void 0 ? a : !1, this._fixedTarget = o, c.addEventListener("focusin", this._focusIn), c.addEventListener("focusout", this._focusOut), c.__tabsterDummyContainer = i, this._isPhantom && (this._disposeTimer = s.setTimeout(() => {
|
|
29465
29466
|
delete this._disposeTimer, this.dispose();
|
|
29466
29467
|
}, 0), this._clearDisposeTimeout = () => {
|
|
29467
29468
|
this._disposeTimer && (s.clearTimeout(this._disposeTimer), delete this._disposeTimer), delete this._clearDisposeTimeout;
|
|
@@ -29482,7 +29483,7 @@ class Qs {
|
|
|
29482
29483
|
return t && !n ? !this.isFirst : !!(n && r.compareDocumentPosition(n) & Node.DOCUMENT_POSITION_FOLLOWING);
|
|
29483
29484
|
}
|
|
29484
29485
|
}
|
|
29485
|
-
const
|
|
29486
|
+
const hF = {
|
|
29486
29487
|
Root: 1,
|
|
29487
29488
|
Modalizer: 2,
|
|
29488
29489
|
Mover: 3,
|
|
@@ -29490,7 +29491,7 @@ const pF = {
|
|
|
29490
29491
|
};
|
|
29491
29492
|
class mf {
|
|
29492
29493
|
constructor(t, r, n, i, o, a) {
|
|
29493
|
-
this._element = r, this._instance = new
|
|
29494
|
+
this._element = r, this._instance = new vF(t, r, this, n, i, o, a);
|
|
29494
29495
|
}
|
|
29495
29496
|
_setHandlers(t, r) {
|
|
29496
29497
|
this._onFocusIn = t, this._onFocusOut = r;
|
|
@@ -29545,7 +29546,7 @@ class mf {
|
|
|
29545
29546
|
}, void 0, new Ln(t.getWindow, i)).input;
|
|
29546
29547
|
if (a) {
|
|
29547
29548
|
let s, c;
|
|
29548
|
-
|
|
29549
|
+
oF(r) && !n ? (s = r, c = We.getFirstElementChild(r)) : (s = We.getParentElement(r), c = n ? r : We.getNextElementSibling(r)), s && We.insertBefore(s, a, c);
|
|
29549
29550
|
}
|
|
29550
29551
|
}
|
|
29551
29552
|
}
|
|
@@ -29559,7 +29560,7 @@ function xn(e, t) {
|
|
|
29559
29560
|
};
|
|
29560
29561
|
(r = e.input) === null || r === void 0 || r.setAttribute(L1, [`isFirst=${e.isFirst}`, `isOutside=${e.isOutside}`, ...t.map((i) => `(${n[i.priority]}, tabbable=${i.tabbable})`)].join(", "));
|
|
29561
29562
|
}
|
|
29562
|
-
class
|
|
29563
|
+
class gF {
|
|
29563
29564
|
constructor(t) {
|
|
29564
29565
|
this._updateQueue = /* @__PURE__ */ new Set(), this._lastUpdateQueueTime = 0, this._changedParents = /* @__PURE__ */ new WeakSet(), this._dummyElements = [], this._dummyCallbacks = /* @__PURE__ */ new WeakMap(), this._domChanged = (r) => {
|
|
29565
29566
|
var n;
|
|
@@ -29612,7 +29613,7 @@ class hF {
|
|
|
29612
29613
|
}, pu));
|
|
29613
29614
|
}
|
|
29614
29615
|
}
|
|
29615
|
-
class
|
|
29616
|
+
class vF {
|
|
29616
29617
|
constructor(t, r, n, i, o, a, s) {
|
|
29617
29618
|
this._wrappers = [], this._isOutside = !1, this._transformElements = /* @__PURE__ */ new Set(), this._onFocusIn = (g, v, m) => {
|
|
29618
29619
|
this._onFocus(!0, g, v, m);
|
|
@@ -29701,7 +29702,7 @@ class gF {
|
|
|
29701
29702
|
return process.env.NODE_ENV === "development" && (this._firstDummy && xn(this._firstDummy, l._wrappers), this._lastDummy && xn(this._lastDummy, l._wrappers)), l;
|
|
29702
29703
|
c.__tabsterDummy = this;
|
|
29703
29704
|
const f = o == null ? void 0 : o.dummyInputsPosition, d = c.tagName;
|
|
29704
|
-
this._isOutside = f ? f ===
|
|
29705
|
+
this._isOutside = f ? f === kM.Outside : (a || d === "UL" || d === "OL" || d === "TABLE") && !(d === "LI" || d === "TD" || d === "TH"), this._firstDummy = new Qs(this._getWindow, this._isOutside, {
|
|
29705
29706
|
isFirst: !0
|
|
29706
29707
|
}, r), this._lastDummy = new Qs(this._getWindow, this._isOutside, {
|
|
29707
29708
|
isFirst: !1
|
|
@@ -29764,25 +29765,25 @@ function xa(e, t, r) {
|
|
|
29764
29765
|
return n.details = r, e.dispatchEvent(n), !n.defaultPrevented;
|
|
29765
29766
|
}
|
|
29766
29767
|
function fa(e) {
|
|
29767
|
-
return xa(e.owner,
|
|
29768
|
+
return xa(e.owner, RM, e);
|
|
29768
29769
|
}
|
|
29769
29770
|
/*!
|
|
29770
29771
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
29771
29772
|
* Licensed under the MIT License.
|
|
29772
29773
|
*/
|
|
29773
|
-
function
|
|
29774
|
+
function mF(e, t) {
|
|
29774
29775
|
const r = JSON.stringify(e);
|
|
29775
29776
|
return t === !0 ? r : {
|
|
29776
29777
|
[Dn]: r
|
|
29777
29778
|
};
|
|
29778
29779
|
}
|
|
29779
|
-
function
|
|
29780
|
+
function yF(e, t) {
|
|
29780
29781
|
for (const r of Object.keys(t)) {
|
|
29781
29782
|
const n = t[r];
|
|
29782
29783
|
n ? e[r] = n : delete e[r];
|
|
29783
29784
|
}
|
|
29784
29785
|
}
|
|
29785
|
-
function
|
|
29786
|
+
function bF(e, t, r) {
|
|
29786
29787
|
let n;
|
|
29787
29788
|
if (r) {
|
|
29788
29789
|
const i = e.getAttribute(Dn);
|
|
@@ -29793,7 +29794,7 @@ function yF(e, t, r) {
|
|
|
29793
29794
|
process.env.NODE_ENV === "development" && console.error(`data-tabster attribute error: ${o}`, e);
|
|
29794
29795
|
}
|
|
29795
29796
|
}
|
|
29796
|
-
n || (n = {}),
|
|
29797
|
+
n || (n = {}), yF(n, t), Object.keys(n).length > 0 ? e.setAttribute(Dn, mF(n, !0)) : e.removeAttribute(Dn);
|
|
29797
29798
|
}
|
|
29798
29799
|
/*!
|
|
29799
29800
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -29807,7 +29808,7 @@ function Vg(e, t, r) {
|
|
|
29807
29808
|
}
|
|
29808
29809
|
class Gg extends mf {
|
|
29809
29810
|
constructor(t, r, n, i) {
|
|
29810
|
-
super(t, r,
|
|
29811
|
+
super(t, r, hF.Root, i, void 0, !0), this._onDummyInputFocus = (o) => {
|
|
29811
29812
|
var a;
|
|
29812
29813
|
if (o.useDefaultAction)
|
|
29813
29814
|
this._setFocused(!1);
|
|
@@ -29830,7 +29831,7 @@ class Gg extends mf {
|
|
|
29830
29831
|
}, this._setHandlers(this._onDummyInputFocus), this._tabster = t, this._setFocused = n;
|
|
29831
29832
|
}
|
|
29832
29833
|
}
|
|
29833
|
-
class
|
|
29834
|
+
class wF extends pF {
|
|
29834
29835
|
constructor(t, r, n, i, o) {
|
|
29835
29836
|
super(t, r, i), this._isFocused = !1, this._setFocused = (l) => {
|
|
29836
29837
|
var f;
|
|
@@ -29859,7 +29860,7 @@ class bF extends dF {
|
|
|
29859
29860
|
this._setFocused(!1);
|
|
29860
29861
|
}, this._onDispose = n;
|
|
29861
29862
|
const a = t.getWindow;
|
|
29862
|
-
this.uid =
|
|
29863
|
+
this.uid = lF(a, r), this._sys = o, (t.controlTab || t.rootDummyInputs) && this.addDummyInputs();
|
|
29863
29864
|
const c = a().document;
|
|
29864
29865
|
c.addEventListener(ai, this._onFocusIn), c.addEventListener(ba, this._onFocusOut), this._add();
|
|
29865
29866
|
}
|
|
@@ -29897,14 +29898,14 @@ class Wr {
|
|
|
29897
29898
|
this._autoRootUnwait(i);
|
|
29898
29899
|
const a = this._autoRoot;
|
|
29899
29900
|
if (a)
|
|
29900
|
-
return
|
|
29901
|
+
return bF(o, {
|
|
29901
29902
|
root: a
|
|
29902
29903
|
}, !0), F1(this._tabster, o), (n = ii(this._tabster, o)) === null || n === void 0 ? void 0 : n.root;
|
|
29903
29904
|
} else
|
|
29904
29905
|
this._autoRootWaiting || (this._autoRootWaiting = !0, i.addEventListener("readystatechange", this._autoRootCreate));
|
|
29905
29906
|
}, this._onRootDispose = (n) => {
|
|
29906
29907
|
delete this._roots[n.id];
|
|
29907
|
-
}, this._tabster = t, this._win = t.getWindow, this._autoRoot = r, this.eventTarget =
|
|
29908
|
+
}, this._tabster = t, this._win = t.getWindow, this._autoRoot = r, this.eventTarget = NM(this._win), t.queueInit(() => {
|
|
29908
29909
|
this._autoRoot && this._autoRootCreate();
|
|
29909
29910
|
});
|
|
29910
29911
|
}
|
|
@@ -29919,7 +29920,7 @@ class Wr {
|
|
|
29919
29920
|
}
|
|
29920
29921
|
createRoot(t, r, n) {
|
|
29921
29922
|
process.env.NODE_ENV;
|
|
29922
|
-
const i = new
|
|
29923
|
+
const i = new wF(this._tabster, t, this._onRootDispose, r, n);
|
|
29923
29924
|
return this._roots[i.id] = i, this._forceDummy && i.addDummyInputs(), i;
|
|
29924
29925
|
}
|
|
29925
29926
|
addDummyInputs() {
|
|
@@ -30037,7 +30038,7 @@ class V1 {
|
|
|
30037
30038
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
30038
30039
|
* Licensed under the MIT License.
|
|
30039
30040
|
*/
|
|
30040
|
-
class
|
|
30041
|
+
class _F {
|
|
30041
30042
|
constructor(t) {
|
|
30042
30043
|
this._tabster = t;
|
|
30043
30044
|
}
|
|
@@ -30048,7 +30049,7 @@ class wF {
|
|
|
30048
30049
|
return r && r.focusable || {};
|
|
30049
30050
|
}
|
|
30050
30051
|
isFocusable(t, r, n, i) {
|
|
30051
|
-
return
|
|
30052
|
+
return uF(t, M1) && (r || t.tabIndex !== -1) ? (n || this.isVisible(t)) && (i || this.isAccessible(t)) : !1;
|
|
30052
30053
|
}
|
|
30053
30054
|
isVisible(t) {
|
|
30054
30055
|
if (!t.ownerDocument || t.nodeType !== Node.ELEMENT_NODE || t.offsetParent === null && t.ownerDocument.body !== t)
|
|
@@ -30202,7 +30203,7 @@ class wF {
|
|
|
30202
30203
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
30203
30204
|
* Licensed under the MIT License.
|
|
30204
30205
|
*/
|
|
30205
|
-
const
|
|
30206
|
+
const EF = {
|
|
30206
30207
|
Tab: 9,
|
|
30207
30208
|
Enter: 13,
|
|
30208
30209
|
Esc: 27,
|
|
@@ -30220,7 +30221,7 @@ const _F = {
|
|
|
30220
30221
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
30221
30222
|
* Licensed under the MIT License.
|
|
30222
30223
|
*/
|
|
30223
|
-
function
|
|
30224
|
+
function xF(e, t) {
|
|
30224
30225
|
var r;
|
|
30225
30226
|
const n = e.getParent;
|
|
30226
30227
|
let i = t;
|
|
@@ -30246,7 +30247,7 @@ class Ut extends V1 {
|
|
|
30246
30247
|
this._setFocusedElement(void 0, (i = n.detail) === null || i === void 0 ? void 0 : i.originalEvent.relatedTarget);
|
|
30247
30248
|
}, this._validateFocusedElement = (n) => {
|
|
30248
30249
|
}, this._onKeyDown = (n) => {
|
|
30249
|
-
if (n.keyCode !==
|
|
30250
|
+
if (n.keyCode !== EF.Tab || n.ctrlKey)
|
|
30250
30251
|
return;
|
|
30251
30252
|
const i = this.getVal();
|
|
30252
30253
|
if (!i || !i.ownerDocument || i.contentEditable === "true")
|
|
@@ -30257,7 +30258,7 @@ class Ut extends V1 {
|
|
|
30257
30258
|
const c = n.shiftKey, l = Ut.findNextTabbable(o, s, void 0, i, void 0, c, !0), f = s.root.getElement();
|
|
30258
30259
|
if (!f)
|
|
30259
30260
|
return;
|
|
30260
|
-
const d = l == null ? void 0 : l.element, p =
|
|
30261
|
+
const d = l == null ? void 0 : l.element, p = xF(o, i);
|
|
30261
30262
|
if (d) {
|
|
30262
30263
|
const g = l.uncontrolled;
|
|
30263
30264
|
if (s.uncontrolled || We.nodeContains(g, i)) {
|
|
@@ -30291,14 +30292,14 @@ class Ut extends V1 {
|
|
|
30291
30292
|
}, this._onChanged = (n, i) => {
|
|
30292
30293
|
var o, a;
|
|
30293
30294
|
if (n)
|
|
30294
|
-
xa(n,
|
|
30295
|
+
xa(n, IM, i);
|
|
30295
30296
|
else {
|
|
30296
30297
|
const s = (o = this._lastVal) === null || o === void 0 ? void 0 : o.get();
|
|
30297
30298
|
if (s) {
|
|
30298
30299
|
const c = {
|
|
30299
30300
|
...i
|
|
30300
30301
|
}, l = Wr.getTabsterContext(this._tabster, s), f = (a = l == null ? void 0 : l.modalizer) === null || a === void 0 ? void 0 : a.userId;
|
|
30301
|
-
f && (c.modalizerId = f), xa(s,
|
|
30302
|
+
f && (c.modalizerId = f), xa(s, PM, c);
|
|
30302
30303
|
}
|
|
30303
30304
|
}
|
|
30304
30305
|
}, this._tabster = t, this._win = r, t.queueInit(this._init);
|
|
@@ -30444,7 +30445,7 @@ Ut.isTabbing = !1;
|
|
|
30444
30445
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
30445
30446
|
* Licensed under the MIT License.
|
|
30446
30447
|
*/
|
|
30447
|
-
class
|
|
30448
|
+
class SF extends V1 {
|
|
30448
30449
|
constructor(t) {
|
|
30449
30450
|
super(), this._onChange = (r) => {
|
|
30450
30451
|
this.setVal(r, void 0);
|
|
@@ -30466,7 +30467,7 @@ class xF extends V1 {
|
|
|
30466
30467
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
30467
30468
|
* Licensed under the MIT License.
|
|
30468
30469
|
*/
|
|
30469
|
-
function
|
|
30470
|
+
function $F(e, t, r, n) {
|
|
30470
30471
|
if (typeof MutationObserver > "u")
|
|
30471
30472
|
return () => {
|
|
30472
30473
|
};
|
|
@@ -30515,7 +30516,7 @@ function SF(e, t, r, n) {
|
|
|
30515
30516
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
30516
30517
|
* Licensed under the MIT License.
|
|
30517
30518
|
*/
|
|
30518
|
-
class
|
|
30519
|
+
class CF {
|
|
30519
30520
|
constructor(t) {
|
|
30520
30521
|
this._isUncontrolledCompletely = t;
|
|
30521
30522
|
}
|
|
@@ -30529,33 +30530,33 @@ class $F {
|
|
|
30529
30530
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
30530
30531
|
* Licensed under the MIT License.
|
|
30531
30532
|
*/
|
|
30532
|
-
class
|
|
30533
|
+
class AF {
|
|
30533
30534
|
constructor(t) {
|
|
30534
30535
|
this.keyboardNavigation = t.keyboardNavigation, this.focusedElement = t.focusedElement, this.focusable = t.focusable, this.root = t.root, this.uncontrolled = t.uncontrolled, this.core = t;
|
|
30535
30536
|
}
|
|
30536
30537
|
}
|
|
30537
|
-
class
|
|
30538
|
+
class OF {
|
|
30538
30539
|
constructor(t, r) {
|
|
30539
30540
|
var n, i;
|
|
30540
30541
|
this._forgetMemorizedElements = [], this._wrappers = /* @__PURE__ */ new Set(), this._initQueue = [], this._version = "6.0.0", this._noop = !1, this.getWindow = () => {
|
|
30541
30542
|
if (!this._win)
|
|
30542
30543
|
throw new Error("Using disposed Tabster.");
|
|
30543
30544
|
return this._win;
|
|
30544
|
-
}, this._storage =
|
|
30545
|
+
}, this._storage = iF(t), this._win = t;
|
|
30545
30546
|
const o = this.getWindow;
|
|
30546
|
-
r != null && r.DOMAPI &&
|
|
30547
|
+
r != null && r.DOMAPI && tF({
|
|
30547
30548
|
...r.DOMAPI
|
|
30548
|
-
}), this.keyboardNavigation = new
|
|
30549
|
+
}), this.keyboardNavigation = new SF(o), this.focusedElement = new Ut(this, o), this.focusable = new _F(this), this.root = new Wr(this, r == null ? void 0 : r.autoRoot), this.uncontrolled = new CF(
|
|
30549
30550
|
// TODO: Remove checkUncontrolledTrappingFocus in the next major version.
|
|
30550
30551
|
(r == null ? void 0 : r.checkUncontrolledCompletely) || (r == null ? void 0 : r.checkUncontrolledTrappingFocus)
|
|
30551
|
-
), this.controlTab = (n = r == null ? void 0 : r.controlTab) !== null && n !== void 0 ? n : !0, this.rootDummyInputs = !!(r != null && r.rootDummyInputs), this._dummyObserver = new
|
|
30552
|
+
), this.controlTab = (n = r == null ? void 0 : r.controlTab) !== null && n !== void 0 ? n : !0, this.rootDummyInputs = !!(r != null && r.rootDummyInputs), this._dummyObserver = new gF(o), this.getParent = (i = r == null ? void 0 : r.getParent) !== null && i !== void 0 ? i : We.getParentNode, this.internal = {
|
|
30552
30553
|
stopObserver: () => {
|
|
30553
30554
|
this._unobserve && (this._unobserve(), delete this._unobserve);
|
|
30554
30555
|
},
|
|
30555
30556
|
resumeObserver: (a) => {
|
|
30556
30557
|
if (!this._unobserve) {
|
|
30557
30558
|
const s = o().document;
|
|
30558
|
-
this._unobserve =
|
|
30559
|
+
this._unobserve = $F(s, this, F1, a);
|
|
30559
30560
|
}
|
|
30560
30561
|
}
|
|
30561
30562
|
}, U1(o), this.queueInit(() => {
|
|
@@ -30572,7 +30573,7 @@ class AF {
|
|
|
30572
30573
|
t && (this.getParent = (r = t.getParent) !== null && r !== void 0 ? r : this.getParent);
|
|
30573
30574
|
}
|
|
30574
30575
|
createTabster(t, r) {
|
|
30575
|
-
const n = new
|
|
30576
|
+
const n = new AF(this);
|
|
30576
30577
|
return t || this._wrappers.add(n), this._mergeProps(r), n;
|
|
30577
30578
|
}
|
|
30578
30579
|
disposeTabster(t, r) {
|
|
@@ -30582,7 +30583,7 @@ class AF {
|
|
|
30582
30583
|
var t, r, n, i, o, a, s, c;
|
|
30583
30584
|
this.internal.stopObserver();
|
|
30584
30585
|
const l = this._win;
|
|
30585
|
-
l == null || l.clearTimeout(this._initTimer), delete this._initTimer, this._initQueue = [], this._forgetMemorizedElements = [], l && this._forgetMemorizedTimer && (l.clearTimeout(this._forgetMemorizedTimer), delete this._forgetMemorizedTimer), (t = this.outline) === null || t === void 0 || t.dispose(), (r = this.crossOrigin) === null || r === void 0 || r.dispose(), (n = this.deloser) === null || n === void 0 || n.dispose(), (i = this.groupper) === null || i === void 0 || i.dispose(), (o = this.mover) === null || o === void 0 || o.dispose(), (a = this.modalizer) === null || a === void 0 || a.dispose(), (s = this.observedElement) === null || s === void 0 || s.dispose(), (c = this.restorer) === null || c === void 0 || c.dispose(), this.keyboardNavigation.dispose(), this.focusable.dispose(), this.focusedElement.dispose(), this.root.dispose(), this._dummyObserver.dispose(),
|
|
30586
|
+
l == null || l.clearTimeout(this._initTimer), delete this._initTimer, this._initQueue = [], this._forgetMemorizedElements = [], l && this._forgetMemorizedTimer && (l.clearTimeout(this._forgetMemorizedTimer), delete this._forgetMemorizedTimer), (t = this.outline) === null || t === void 0 || t.dispose(), (r = this.crossOrigin) === null || r === void 0 || r.dispose(), (n = this.deloser) === null || n === void 0 || n.dispose(), (i = this.groupper) === null || i === void 0 || i.dispose(), (o = this.mover) === null || o === void 0 || o.dispose(), (a = this.modalizer) === null || a === void 0 || a.dispose(), (s = this.observedElement) === null || s === void 0 || s.dispose(), (c = this.restorer) === null || c === void 0 || c.dispose(), this.keyboardNavigation.dispose(), this.focusable.dispose(), this.focusedElement.dispose(), this.root.dispose(), this._dummyObserver.dispose(), aF(this.getWindow), Hg(this.getWindow), this._storage = /* @__PURE__ */ new WeakMap(), this._wrappers.clear(), l && (nF(l), delete l.__tabsterInstance, delete this._win);
|
|
30586
30587
|
}
|
|
30587
30588
|
storageEntry(t, r) {
|
|
30588
30589
|
const n = this._storage;
|
|
@@ -30609,17 +30610,17 @@ class AF {
|
|
|
30609
30610
|
this._initQueue = [], t.forEach((r) => r());
|
|
30610
30611
|
}
|
|
30611
30612
|
}
|
|
30612
|
-
function OF(e, t) {
|
|
30613
|
-
let r = IF(e);
|
|
30614
|
-
return r ? r.createTabster(!1, t) : (r = new AF(e, t), e.__tabsterInstance = r, r.createTabster());
|
|
30615
|
-
}
|
|
30616
30613
|
function TF(e, t) {
|
|
30614
|
+
let r = PF(e);
|
|
30615
|
+
return r ? r.createTabster(!1, t) : (r = new OF(e, t), e.__tabsterInstance = r, r.createTabster());
|
|
30616
|
+
}
|
|
30617
|
+
function IF(e, t) {
|
|
30617
30618
|
e.core.disposeTabster(e, t);
|
|
30618
30619
|
}
|
|
30619
|
-
function
|
|
30620
|
+
function PF(e) {
|
|
30620
30621
|
return e.__tabsterInstance;
|
|
30621
30622
|
}
|
|
30622
|
-
const G1 = we.createContext(void 0),
|
|
30623
|
+
const G1 = we.createContext(void 0), RF = {
|
|
30623
30624
|
// eslint-disable-next-line no-restricted-globals
|
|
30624
30625
|
targetDocument: typeof document == "object" ? document : void 0,
|
|
30625
30626
|
dir: "ltr"
|
|
@@ -30627,37 +30628,37 @@ const G1 = we.createContext(void 0), PF = {
|
|
|
30627
30628
|
G1.Provider;
|
|
30628
30629
|
function K1() {
|
|
30629
30630
|
var e;
|
|
30630
|
-
return (e = we.useContext(G1)) !== null && e !== void 0 ? e :
|
|
30631
|
+
return (e = we.useContext(G1)) !== null && e !== void 0 ? e : RF;
|
|
30631
30632
|
}
|
|
30632
|
-
function
|
|
30633
|
+
function kF() {
|
|
30633
30634
|
return (
|
|
30634
30635
|
// eslint-disable-next-line deprecation/deprecation, no-restricted-globals
|
|
30635
30636
|
typeof window < "u" && !!(window.document && window.document.createElement)
|
|
30636
30637
|
);
|
|
30637
30638
|
}
|
|
30638
|
-
const
|
|
30639
|
-
function
|
|
30639
|
+
const NF = kF() ? we.useLayoutEffect : we.useEffect;
|
|
30640
|
+
function DF(e) {
|
|
30640
30641
|
return e && !!e._virtual;
|
|
30641
30642
|
}
|
|
30642
|
-
function
|
|
30643
|
-
return
|
|
30643
|
+
function LF(e) {
|
|
30644
|
+
return DF(e) && e._virtual.parent || null;
|
|
30644
30645
|
}
|
|
30645
|
-
function
|
|
30646
|
+
function MF(e, t = {}) {
|
|
30646
30647
|
if (!e)
|
|
30647
30648
|
return null;
|
|
30648
30649
|
if (!t.skipVirtual) {
|
|
30649
|
-
const n =
|
|
30650
|
+
const n = LF(e);
|
|
30650
30651
|
if (n)
|
|
30651
30652
|
return n;
|
|
30652
30653
|
}
|
|
30653
30654
|
const r = e.parentNode;
|
|
30654
30655
|
return r && r.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? r.host : r;
|
|
30655
30656
|
}
|
|
30656
|
-
const
|
|
30657
|
-
const { targetDocument: e } = K1(), t = (e == null ? void 0 : e.defaultView) || void 0, r = t == null ? void 0 : t.__tabsterShadowDOMAPI, n = we.useMemo(() => t ?
|
|
30657
|
+
const FF = () => {
|
|
30658
|
+
const { targetDocument: e } = K1(), t = (e == null ? void 0 : e.defaultView) || void 0, r = t == null ? void 0 : t.__tabsterShadowDOMAPI, n = we.useMemo(() => t ? TF(t, {
|
|
30658
30659
|
autoRoot: {},
|
|
30659
30660
|
controlTab: !1,
|
|
30660
|
-
getParent:
|
|
30661
|
+
getParent: MF,
|
|
30661
30662
|
checkUncontrolledTrappingFocus: (i) => {
|
|
30662
30663
|
var o;
|
|
30663
30664
|
return !!(!((o = i.firstElementChild) === null || o === void 0) && o.hasAttribute("data-is-focus-trap-zone-bumper"));
|
|
@@ -30667,13 +30668,13 @@ const MF = () => {
|
|
|
30667
30668
|
t,
|
|
30668
30669
|
r
|
|
30669
30670
|
]);
|
|
30670
|
-
return
|
|
30671
|
-
n &&
|
|
30671
|
+
return NF(() => () => {
|
|
30672
|
+
n && IF(n);
|
|
30672
30673
|
}, [
|
|
30673
30674
|
n
|
|
30674
30675
|
]), n;
|
|
30675
|
-
},
|
|
30676
|
-
const e =
|
|
30676
|
+
}, BF = () => {
|
|
30677
|
+
const e = FF(), { targetDocument: t } = K1(), r = we.useCallback((s, c) => (e == null ? void 0 : e.focusable.findAll({
|
|
30677
30678
|
container: s,
|
|
30678
30679
|
acceptCondition: c
|
|
30679
30680
|
})) || [], [
|
|
@@ -30716,7 +30717,7 @@ const MF = () => {
|
|
|
30716
30717
|
findNextFocusable: o,
|
|
30717
30718
|
findPrevFocusable: a
|
|
30718
30719
|
};
|
|
30719
|
-
}, Hd = "Viewport",
|
|
30720
|
+
}, Hd = "Viewport", jF = "ViewportViews", q1 = "ViewportView", [UF, _j] = Jr(Hd, []), [WF, zF] = UF(Hd), Y1 = ({
|
|
30720
30721
|
__viewportScope: e,
|
|
30721
30722
|
classNames: t,
|
|
30722
30723
|
children: r,
|
|
@@ -30732,7 +30733,7 @@ const MF = () => {
|
|
|
30732
30733
|
onChange: a
|
|
30733
30734
|
});
|
|
30734
30735
|
return /* @__PURE__ */ x.createElement(
|
|
30735
|
-
|
|
30736
|
+
WF,
|
|
30736
30737
|
{
|
|
30737
30738
|
focusManaged: o,
|
|
30738
30739
|
activeView: c,
|
|
@@ -30747,10 +30748,10 @@ const J1 = ({ classNames: e, children: t, ...r }) => {
|
|
|
30747
30748
|
const n = { inlineSize: `${Math.ceil(t.length) * 100}%` };
|
|
30748
30749
|
return /* @__PURE__ */ x.createElement("div", { role: "none", style: n, ...r, className: de("flex", e) }, t);
|
|
30749
30750
|
};
|
|
30750
|
-
J1.displayName =
|
|
30751
|
+
J1.displayName = jF;
|
|
30751
30752
|
const X1 = ne(
|
|
30752
30753
|
({ __viewportScope: e, classNames: t, children: r, id: n, ...i }, o) => {
|
|
30753
|
-
const { activeView: a, focusManaged: s } =
|
|
30754
|
+
const { activeView: a, focusManaged: s } = zF(q1, e), c = n === a, l = Pf(o), { findFirstFocusable: f } = BF();
|
|
30754
30755
|
return _e(() => {
|
|
30755
30756
|
var d;
|
|
30756
30757
|
!s && c && document.body.hasAttribute("data-is-keyboard") && l.current && ((d = f(l.current)) == null || d.focus());
|
|
@@ -30770,7 +30771,7 @@ X1.displayName = q1;
|
|
|
30770
30771
|
const dt = { Root: Y1, Views: J1, View: X1 };
|
|
30771
30772
|
ne(
|
|
30772
30773
|
({ space: e, onClick: t }, r) => {
|
|
30773
|
-
const n = e.key.toHex(), i = It("identityListItem__label"), o = Cc(n ?? "", 12), a = e.properties.name ??
|
|
30774
|
+
const n = e.key.toHex(), i = It("identityListItem__label"), o = Cc(n ?? "", 12), a = e.properties.name ?? UD(e.key.toHex());
|
|
30774
30775
|
return /* @__PURE__ */ x.createElement(
|
|
30775
30776
|
"li",
|
|
30776
30777
|
{
|
|
@@ -30794,7 +30795,7 @@ var yf = { exports: {} }, hu = {}, ds = { exports: {} }, gu = {};
|
|
|
30794
30795
|
* LICENSE file in the root directory of this source tree.
|
|
30795
30796
|
*/
|
|
30796
30797
|
var Kg;
|
|
30797
|
-
function
|
|
30798
|
+
function HF() {
|
|
30798
30799
|
if (Kg)
|
|
30799
30800
|
return gu;
|
|
30800
30801
|
Kg = 1;
|
|
@@ -30840,7 +30841,7 @@ var vu = {};
|
|
|
30840
30841
|
* LICENSE file in the root directory of this source tree.
|
|
30841
30842
|
*/
|
|
30842
30843
|
var qg;
|
|
30843
|
-
function
|
|
30844
|
+
function VF() {
|
|
30844
30845
|
return qg || (qg = 1, process.env.NODE_ENV !== "production" && function() {
|
|
30845
30846
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
30846
30847
|
var e = x, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -30912,7 +30913,7 @@ function HF() {
|
|
|
30912
30913
|
}
|
|
30913
30914
|
var Yg;
|
|
30914
30915
|
function Z1() {
|
|
30915
|
-
return Yg || (Yg = 1, process.env.NODE_ENV === "production" ? ds.exports =
|
|
30916
|
+
return Yg || (Yg = 1, process.env.NODE_ENV === "production" ? ds.exports = HF() : ds.exports = VF()), ds.exports;
|
|
30916
30917
|
}
|
|
30917
30918
|
/**
|
|
30918
30919
|
* @license React
|
|
@@ -30924,7 +30925,7 @@ function Z1() {
|
|
|
30924
30925
|
* LICENSE file in the root directory of this source tree.
|
|
30925
30926
|
*/
|
|
30926
30927
|
var Jg;
|
|
30927
|
-
function
|
|
30928
|
+
function GF() {
|
|
30928
30929
|
if (Jg)
|
|
30929
30930
|
return hu;
|
|
30930
30931
|
Jg = 1;
|
|
@@ -30979,7 +30980,7 @@ var mu = {};
|
|
|
30979
30980
|
* LICENSE file in the root directory of this source tree.
|
|
30980
30981
|
*/
|
|
30981
30982
|
var Xg;
|
|
30982
|
-
function
|
|
30983
|
+
function KF() {
|
|
30983
30984
|
return Xg || (Xg = 1, process.env.NODE_ENV !== "production" && function() {
|
|
30984
30985
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
30985
30986
|
var e = x, t = Z1();
|
|
@@ -31024,8 +31025,8 @@ function GF() {
|
|
|
31024
31025
|
mu.useSyncExternalStoreWithSelector = l, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
31025
31026
|
}()), mu;
|
|
31026
31027
|
}
|
|
31027
|
-
process.env.NODE_ENV === "production" ? yf.exports =
|
|
31028
|
-
var
|
|
31028
|
+
process.env.NODE_ENV === "production" ? yf.exports = GF() : yf.exports = KF();
|
|
31029
|
+
var qF = yf.exports;
|
|
31029
31030
|
/*! *****************************************************************************
|
|
31030
31031
|
Copyright (c) Microsoft Corporation.
|
|
31031
31032
|
|
|
@@ -31105,12 +31106,12 @@ var go;
|
|
|
31105
31106
|
(function(e) {
|
|
31106
31107
|
e.Parent = "#_parent", e.Internal = "#_internal";
|
|
31107
31108
|
})(go || (go = {}));
|
|
31108
|
-
var bf = yt.Start, Gd = yt.Stop, Ba = yt.Raise, Xc = yt.Send, Q1 = yt.Cancel,
|
|
31109
|
+
var bf = yt.Start, Gd = yt.Stop, Ba = yt.Raise, Xc = yt.Send, Q1 = yt.Cancel, YF = yt.NullEvent, Kd = yt.Assign;
|
|
31109
31110
|
yt.After;
|
|
31110
31111
|
yt.DoneState;
|
|
31111
|
-
var ew = yt.Log,
|
|
31112
|
+
var ew = yt.Log, JF = yt.Init, wf = yt.Invoke;
|
|
31112
31113
|
yt.ErrorExecution;
|
|
31113
|
-
var Zg = yt.ErrorPlatform,
|
|
31114
|
+
var Zg = yt.ErrorPlatform, XF = yt.ErrorCustom, tw = yt.Update, ZF = yt.Choose, QF = yt.Pure, rw = ".", Qg = {}, _f = "xstate.guard", e9 = "", Rt = process.env.NODE_ENV === "production", ps;
|
|
31114
31115
|
function qd(e, t, r) {
|
|
31115
31116
|
r === void 0 && (r = rw);
|
|
31116
31117
|
var n = da(e, r), i = da(t, r);
|
|
@@ -31132,11 +31133,11 @@ function Ef(e, t) {
|
|
|
31132
31133
|
throw new Error("'".concat(e, "' is not a valid state path."));
|
|
31133
31134
|
}
|
|
31134
31135
|
}
|
|
31135
|
-
function
|
|
31136
|
+
function t9(e) {
|
|
31136
31137
|
return typeof e == "object" && "value" in e && "context" in e && "event" in e && "_event" in e;
|
|
31137
31138
|
}
|
|
31138
31139
|
function da(e, t) {
|
|
31139
|
-
if (
|
|
31140
|
+
if (t9(e))
|
|
31140
31141
|
return e.value;
|
|
31141
31142
|
if (Io(e))
|
|
31142
31143
|
return ec(e);
|
|
@@ -31180,7 +31181,7 @@ function ev(e, t, r) {
|
|
|
31180
31181
|
}
|
|
31181
31182
|
return o;
|
|
31182
31183
|
}
|
|
31183
|
-
var
|
|
31184
|
+
var r9 = function(e) {
|
|
31184
31185
|
return function(t) {
|
|
31185
31186
|
var r, n, i = t;
|
|
31186
31187
|
try {
|
|
@@ -31203,7 +31204,7 @@ var t9 = function(e) {
|
|
|
31203
31204
|
return i;
|
|
31204
31205
|
};
|
|
31205
31206
|
};
|
|
31206
|
-
function
|
|
31207
|
+
function n9(e, t) {
|
|
31207
31208
|
return function(r) {
|
|
31208
31209
|
var n, i, o = r;
|
|
31209
31210
|
try {
|
|
@@ -31273,16 +31274,16 @@ function tc(e, t, r) {
|
|
|
31273
31274
|
}
|
|
31274
31275
|
return o;
|
|
31275
31276
|
}
|
|
31276
|
-
function
|
|
31277
|
+
function i9(e) {
|
|
31277
31278
|
return /^(done|error)\./.test(e);
|
|
31278
31279
|
}
|
|
31279
31280
|
function tv(e) {
|
|
31280
31281
|
return !!(e instanceof Promise || e !== null && (lt(e) || typeof e == "object") && lt(e.then));
|
|
31281
31282
|
}
|
|
31282
|
-
function
|
|
31283
|
+
function o9(e) {
|
|
31283
31284
|
return e !== null && typeof e == "object" && "transition" in e && typeof e.transition == "function";
|
|
31284
31285
|
}
|
|
31285
|
-
function
|
|
31286
|
+
function a9(e, t) {
|
|
31286
31287
|
var r, n, i = at([[], []], 2), o = i[0], a = i[1];
|
|
31287
31288
|
try {
|
|
31288
31289
|
for (var s = tt(e), c = s.next(); !c.done; c = s.next()) {
|
|
@@ -31315,7 +31316,7 @@ function ow(e, t) {
|
|
|
31315
31316
|
}
|
|
31316
31317
|
});
|
|
31317
31318
|
}
|
|
31318
|
-
function
|
|
31319
|
+
function s9(e, t) {
|
|
31319
31320
|
return {
|
|
31320
31321
|
current: t,
|
|
31321
31322
|
states: ow(e, t)
|
|
@@ -31383,7 +31384,7 @@ function aw(e, t) {
|
|
|
31383
31384
|
predicate: e
|
|
31384
31385
|
} : e;
|
|
31385
31386
|
}
|
|
31386
|
-
function
|
|
31387
|
+
function c9(e) {
|
|
31387
31388
|
try {
|
|
31388
31389
|
return "subscribe" in e && lt(e.subscribe);
|
|
31389
31390
|
} catch {
|
|
@@ -31401,7 +31402,7 @@ ps = {}, ps[Cn] = function() {
|
|
|
31401
31402
|
function li(e) {
|
|
31402
31403
|
return !!e && "__xstatenode" in e;
|
|
31403
31404
|
}
|
|
31404
|
-
function
|
|
31405
|
+
function l9(e) {
|
|
31405
31406
|
return !!e && typeof e.send == "function";
|
|
31406
31407
|
}
|
|
31407
31408
|
function Zc(e, t) {
|
|
@@ -31431,11 +31432,11 @@ function Gi(e, t) {
|
|
|
31431
31432
|
});
|
|
31432
31433
|
return r;
|
|
31433
31434
|
}
|
|
31434
|
-
function
|
|
31435
|
-
if (!(e === void 0 || e ===
|
|
31435
|
+
function u9(e) {
|
|
31436
|
+
if (!(e === void 0 || e === e9))
|
|
31436
31437
|
return Sr(e);
|
|
31437
31438
|
}
|
|
31438
|
-
function
|
|
31439
|
+
function f9(e, t, r) {
|
|
31439
31440
|
if (!Rt) {
|
|
31440
31441
|
var n = e.stack ? " Stacktrace was '".concat(e.stack, "'") : "";
|
|
31441
31442
|
if (e === t)
|
|
@@ -31480,7 +31481,7 @@ function xf(e) {
|
|
|
31480
31481
|
return (e.type === Ba || e.type === Xc && e.to === go.Internal) && typeof e.delay != "number";
|
|
31481
31482
|
}
|
|
31482
31483
|
var oo = /* @__PURE__ */ zt({
|
|
31483
|
-
type:
|
|
31484
|
+
type: JF
|
|
31484
31485
|
});
|
|
31485
31486
|
function Sf(e, t) {
|
|
31486
31487
|
return t && t[e] || void 0;
|
|
@@ -31534,7 +31535,7 @@ function Yd(e) {
|
|
|
31534
31535
|
type: t.type
|
|
31535
31536
|
});
|
|
31536
31537
|
}
|
|
31537
|
-
function
|
|
31538
|
+
function d9(e, t) {
|
|
31538
31539
|
return {
|
|
31539
31540
|
type: Ba,
|
|
31540
31541
|
event: typeof e == "function" ? e : Zc(e),
|
|
@@ -31542,7 +31543,7 @@ function f9(e, t) {
|
|
|
31542
31543
|
id: t == null ? void 0 : t.id
|
|
31543
31544
|
};
|
|
31544
31545
|
}
|
|
31545
|
-
function
|
|
31546
|
+
function p9(e, t, r, n) {
|
|
31546
31547
|
var i = {
|
|
31547
31548
|
_event: r
|
|
31548
31549
|
}, o = zt(lt(e.event) ? e.event(t, r.data, i) : e.event), a;
|
|
@@ -31557,7 +31558,7 @@ function d9(e, t, r, n) {
|
|
|
31557
31558
|
delay: a
|
|
31558
31559
|
});
|
|
31559
31560
|
}
|
|
31560
|
-
function
|
|
31561
|
+
function h9(e, t) {
|
|
31561
31562
|
return {
|
|
31562
31563
|
to: t ? t.to : void 0,
|
|
31563
31564
|
type: Xc,
|
|
@@ -31568,7 +31569,7 @@ function p9(e, t) {
|
|
|
31568
31569
|
id: t && t.id !== void 0 ? t.id : lt(e) ? e.name : nw(e)
|
|
31569
31570
|
};
|
|
31570
31571
|
}
|
|
31571
|
-
function
|
|
31572
|
+
function g9(e, t, r, n) {
|
|
31572
31573
|
var i = {
|
|
31573
31574
|
_event: r
|
|
31574
31575
|
}, o = zt(lt(e.event) ? e.event(t, r.data, i) : e.event), a;
|
|
@@ -31585,19 +31586,19 @@ function h9(e, t, r, n) {
|
|
|
31585
31586
|
delay: a
|
|
31586
31587
|
});
|
|
31587
31588
|
}
|
|
31588
|
-
var
|
|
31589
|
+
var v9 = function(e, t, r) {
|
|
31589
31590
|
return xe(xe({}, e), {
|
|
31590
31591
|
value: st(e.expr) ? e.expr : e.expr(t, r.data, {
|
|
31591
31592
|
_event: r
|
|
31592
31593
|
})
|
|
31593
31594
|
});
|
|
31594
|
-
},
|
|
31595
|
+
}, m9 = function(e) {
|
|
31595
31596
|
return {
|
|
31596
31597
|
type: Q1,
|
|
31597
31598
|
sendId: e
|
|
31598
31599
|
};
|
|
31599
31600
|
};
|
|
31600
|
-
function
|
|
31601
|
+
function y9(e) {
|
|
31601
31602
|
var t = Yd(e);
|
|
31602
31603
|
return {
|
|
31603
31604
|
type: yt.Start,
|
|
@@ -31605,7 +31606,7 @@ function m9(e) {
|
|
|
31605
31606
|
exec: void 0
|
|
31606
31607
|
};
|
|
31607
31608
|
}
|
|
31608
|
-
function
|
|
31609
|
+
function b9(e) {
|
|
31609
31610
|
var t = lt(e) ? e : Yd(e);
|
|
31610
31611
|
return {
|
|
31611
31612
|
type: yt.Stop,
|
|
@@ -31613,7 +31614,7 @@ function y9(e) {
|
|
|
31613
31614
|
exec: void 0
|
|
31614
31615
|
};
|
|
31615
31616
|
}
|
|
31616
|
-
function
|
|
31617
|
+
function w9(e, t, r) {
|
|
31617
31618
|
var n = lt(e.activity) ? e.activity(t, r.data) : e.activity, i = typeof n == "string" ? {
|
|
31618
31619
|
id: n
|
|
31619
31620
|
} : n, o = {
|
|
@@ -31622,13 +31623,13 @@ function b9(e, t, r) {
|
|
|
31622
31623
|
};
|
|
31623
31624
|
return o;
|
|
31624
31625
|
}
|
|
31625
|
-
var
|
|
31626
|
+
var _9 = function(e) {
|
|
31626
31627
|
return {
|
|
31627
31628
|
type: Kd,
|
|
31628
31629
|
assignment: e
|
|
31629
31630
|
};
|
|
31630
31631
|
};
|
|
31631
|
-
function
|
|
31632
|
+
function E9(e, t) {
|
|
31632
31633
|
var r = t ? "#".concat(t) : "";
|
|
31633
31634
|
return "".concat(yt.After, "(").concat(e, ")").concat(r);
|
|
31634
31635
|
}
|
|
@@ -31659,7 +31660,7 @@ function ra(e, t) {
|
|
|
31659
31660
|
return r;
|
|
31660
31661
|
}, n;
|
|
31661
31662
|
}
|
|
31662
|
-
var
|
|
31663
|
+
var x9 = function(e) {
|
|
31663
31664
|
var t, r, n = [];
|
|
31664
31665
|
try {
|
|
31665
31666
|
for (var i = tt(e), o = i.next(); !o.done; o = i.next())
|
|
@@ -31686,16 +31687,16 @@ var E9 = function(e) {
|
|
|
31686
31687
|
};
|
|
31687
31688
|
function rc(e, t, r, n, i, o, a) {
|
|
31688
31689
|
a === void 0 && (a = !1);
|
|
31689
|
-
var s = a ? [] :
|
|
31690
|
+
var s = a ? [] : x9(i), c = s.length ? rv(r, n, s, t) : r, l = a ? [r] : void 0, f = [];
|
|
31690
31691
|
function d(v, m) {
|
|
31691
31692
|
var b;
|
|
31692
31693
|
switch (m.type) {
|
|
31693
31694
|
case Ba: {
|
|
31694
|
-
var w =
|
|
31695
|
+
var w = p9(m, c, n, e.options.delays);
|
|
31695
31696
|
return o && typeof w.delay == "number" && o(w, c, n), w;
|
|
31696
31697
|
}
|
|
31697
31698
|
case Xc:
|
|
31698
|
-
var _ =
|
|
31699
|
+
var _ = g9(m, c, n, e.options.delays);
|
|
31699
31700
|
if (!Rt) {
|
|
31700
31701
|
var S = m.delay;
|
|
31701
31702
|
Ht(
|
|
@@ -31706,10 +31707,10 @@ function rc(e, t, r, n, i, o, a) {
|
|
|
31706
31707
|
}
|
|
31707
31708
|
return o && _.to !== go.Internal && (v === "entry" ? f.push(_) : o(_, c, n)), _;
|
|
31708
31709
|
case ew: {
|
|
31709
|
-
var $ =
|
|
31710
|
+
var $ = v9(m, c, n);
|
|
31710
31711
|
return o == null || o($, c, n), $;
|
|
31711
31712
|
}
|
|
31712
|
-
case
|
|
31713
|
+
case ZF: {
|
|
31713
31714
|
var R = m, P = (b = R.conds.find(function(se) {
|
|
31714
31715
|
var fe = aw(se.cond, e.options.guards);
|
|
31715
31716
|
return !fe || sw(e, fe, c, n, o ? void 0 : t);
|
|
@@ -31722,7 +31723,7 @@ function rc(e, t, r, n, i, o, a) {
|
|
|
31722
31723
|
}], o, a), 2), T = C[0], N = C[1];
|
|
31723
31724
|
return c = N, l == null || l.push(c), T;
|
|
31724
31725
|
}
|
|
31725
|
-
case
|
|
31726
|
+
case QF: {
|
|
31726
31727
|
var P = m.get(c, n.data);
|
|
31727
31728
|
if (!P)
|
|
31728
31729
|
return [];
|
|
@@ -31733,7 +31734,7 @@ function rc(e, t, r, n, i, o, a) {
|
|
|
31733
31734
|
return c = L, l == null || l.push(c), M;
|
|
31734
31735
|
}
|
|
31735
31736
|
case Gd: {
|
|
31736
|
-
var $ =
|
|
31737
|
+
var $ = w9(m, c, n);
|
|
31737
31738
|
return o == null || o($, r, n), $;
|
|
31738
31739
|
}
|
|
31739
31740
|
case Kd: {
|
|
@@ -31810,7 +31811,7 @@ function lw(e) {
|
|
|
31810
31811
|
return this;
|
|
31811
31812
|
}, t;
|
|
31812
31813
|
}
|
|
31813
|
-
function
|
|
31814
|
+
function S9(e, t, r, n) {
|
|
31814
31815
|
var i, o = cw(e.src), a = (i = t == null ? void 0 : t.options.services) === null || i === void 0 ? void 0 : i[o.type], s = e.data ? tc(e.data, r, n) : void 0, c = a ? uw(a, e.id, s) : lw(e.id);
|
|
31815
31816
|
return c.meta = e, c;
|
|
31816
31817
|
}
|
|
@@ -31826,17 +31827,17 @@ function uw(e, t, r) {
|
|
|
31826
31827
|
}
|
|
31827
31828
|
return n;
|
|
31828
31829
|
}
|
|
31829
|
-
function
|
|
31830
|
+
function $9(e) {
|
|
31830
31831
|
try {
|
|
31831
31832
|
return typeof e.send == "function";
|
|
31832
31833
|
} catch {
|
|
31833
31834
|
return !1;
|
|
31834
31835
|
}
|
|
31835
31836
|
}
|
|
31836
|
-
function $9(e) {
|
|
31837
|
-
return S9(e) && "id" in e;
|
|
31838
|
-
}
|
|
31839
31837
|
function C9(e) {
|
|
31838
|
+
return $9(e) && "id" in e;
|
|
31839
|
+
}
|
|
31840
|
+
function A9(e) {
|
|
31840
31841
|
var t;
|
|
31841
31842
|
return xe((t = {
|
|
31842
31843
|
subscribe: function() {
|
|
@@ -31988,7 +31989,7 @@ function $f(e) {
|
|
|
31988
31989
|
}
|
|
31989
31990
|
return n;
|
|
31990
31991
|
}
|
|
31991
|
-
function
|
|
31992
|
+
function O9(e, t) {
|
|
31992
31993
|
var r = na([e], t);
|
|
31993
31994
|
return pw(e, $f(r));
|
|
31994
31995
|
}
|
|
@@ -31997,7 +31998,7 @@ function ia(e, t) {
|
|
|
31997
31998
|
return r === t;
|
|
31998
31999
|
}) : e instanceof Set ? e.has(t) : !1;
|
|
31999
32000
|
}
|
|
32000
|
-
function
|
|
32001
|
+
function T9(e) {
|
|
32001
32002
|
return St([], at(new Set(At(St([], at(e.map(function(t) {
|
|
32002
32003
|
return t.ownEvents;
|
|
32003
32004
|
})), !1)))), !1);
|
|
@@ -32009,7 +32010,7 @@ function Is(e, t) {
|
|
|
32009
32010
|
return Is(e, r);
|
|
32010
32011
|
}) : !1;
|
|
32011
32012
|
}
|
|
32012
|
-
function
|
|
32013
|
+
function I9(e) {
|
|
32013
32014
|
return e === void 0 && (e = []), e.reduce(function(t, r) {
|
|
32014
32015
|
return r.meta !== void 0 && (t[r.id] = r.meta), t;
|
|
32015
32016
|
}, {});
|
|
@@ -32031,10 +32032,10 @@ function hw(e, t) {
|
|
|
32031
32032
|
return hw(e[i], t[i]);
|
|
32032
32033
|
});
|
|
32033
32034
|
}
|
|
32034
|
-
function
|
|
32035
|
+
function P9(e) {
|
|
32035
32036
|
return typeof e != "object" || e === null ? !1 : "value" in e && "_event" in e;
|
|
32036
32037
|
}
|
|
32037
|
-
function
|
|
32038
|
+
function R9(e, t) {
|
|
32038
32039
|
var r = e.exec, n = xe(xe({}, e), {
|
|
32039
32040
|
exec: r !== void 0 ? function() {
|
|
32040
32041
|
return r(t.context, t.event, {
|
|
@@ -32051,9 +32052,9 @@ var mr = (
|
|
|
32051
32052
|
/* @__PURE__ */ function() {
|
|
32052
32053
|
function e(t) {
|
|
32053
32054
|
var r = this, n;
|
|
32054
|
-
this.actions = [], this.activities = Qg, this.meta = {}, this.events = [], this.value = t.value, this.context = t.context, this._event = t._event, this._sessionid = t._sessionid, this.event = this._event.data, this.historyValue = t.historyValue, this.history = t.history, this.actions = t.actions || [], this.activities = t.activities || Qg, this.meta =
|
|
32055
|
+
this.actions = [], this.activities = Qg, this.meta = {}, this.events = [], this.value = t.value, this.context = t.context, this._event = t._event, this._sessionid = t._sessionid, this.event = this._event.data, this.historyValue = t.historyValue, this.history = t.history, this.actions = t.actions || [], this.activities = t.activities || Qg, this.meta = I9(t.configuration), this.events = t.events || [], this.matches = this.matches.bind(this), this.toStrings = this.toStrings.bind(this), this.configuration = t.configuration, this.transitions = t.transitions, this.children = t.children, this.done = !!t.done, this.tags = (n = Array.isArray(t.tags) ? new Set(t.tags) : t.tags) !== null && n !== void 0 ? n : /* @__PURE__ */ new Set(), this.machine = t.machine, Object.defineProperty(this, "nextEvents", {
|
|
32055
32056
|
get: function() {
|
|
32056
|
-
return
|
|
32057
|
+
return T9(r.configuration);
|
|
32057
32058
|
}
|
|
32058
32059
|
});
|
|
32059
32060
|
}
|
|
@@ -32144,13 +32145,13 @@ var mr = (
|
|
|
32144
32145
|
});
|
|
32145
32146
|
}, e;
|
|
32146
32147
|
}()
|
|
32147
|
-
),
|
|
32148
|
+
), k9 = {
|
|
32148
32149
|
deferEvents: !1
|
|
32149
32150
|
}, iv = (
|
|
32150
32151
|
/** @class */
|
|
32151
32152
|
/* @__PURE__ */ function() {
|
|
32152
32153
|
function e(t) {
|
|
32153
|
-
this.processingEvent = !1, this.queue = [], this.initialized = !1, this.options = xe(xe({},
|
|
32154
|
+
this.processingEvent = !1, this.queue = [], this.initialized = !1, this.options = xe(xe({}, k9), t);
|
|
32154
32155
|
}
|
|
32155
32156
|
return e.prototype.initialize = function(t) {
|
|
32156
32157
|
if (this.initialized = !0, t) {
|
|
@@ -32185,9 +32186,9 @@ var mr = (
|
|
|
32185
32186
|
}
|
|
32186
32187
|
}, e;
|
|
32187
32188
|
}()
|
|
32188
|
-
), yu = /* @__PURE__ */ new Map(),
|
|
32189
|
+
), yu = /* @__PURE__ */ new Map(), N9 = 0, Jo = {
|
|
32189
32190
|
bookId: function() {
|
|
32190
|
-
return "x:".concat(
|
|
32191
|
+
return "x:".concat(N9++);
|
|
32191
32192
|
},
|
|
32192
32193
|
register: function(e, t) {
|
|
32193
32194
|
return yu.set(e, t), e;
|
|
@@ -32210,18 +32211,18 @@ function Jd() {
|
|
|
32210
32211
|
return global;
|
|
32211
32212
|
Rt || console.warn("XState could not find a global object in this environment. Please let the maintainers know and raise an issue here: https://github.com/statelyai/xstate/issues");
|
|
32212
32213
|
}
|
|
32213
|
-
function
|
|
32214
|
+
function D9() {
|
|
32214
32215
|
var e = Jd();
|
|
32215
32216
|
if (e && "__xstate__" in e)
|
|
32216
32217
|
return e.__xstate__;
|
|
32217
32218
|
}
|
|
32218
|
-
function
|
|
32219
|
+
function L9(e) {
|
|
32219
32220
|
if (Jd()) {
|
|
32220
|
-
var t =
|
|
32221
|
+
var t = D9();
|
|
32221
32222
|
t && t.register(e);
|
|
32222
32223
|
}
|
|
32223
32224
|
}
|
|
32224
|
-
function
|
|
32225
|
+
function M9(e, t) {
|
|
32225
32226
|
t === void 0 && (t = {});
|
|
32226
32227
|
var r = e.initialState, n = /* @__PURE__ */ new Set(), i = [], o = !1, a = function() {
|
|
32227
32228
|
if (!o) {
|
|
@@ -32233,7 +32234,7 @@ function L9(e, t) {
|
|
|
32233
32234
|
}
|
|
32234
32235
|
o = !1;
|
|
32235
32236
|
}
|
|
32236
|
-
}, s =
|
|
32237
|
+
}, s = A9({
|
|
32237
32238
|
id: t.id,
|
|
32238
32239
|
send: function(l) {
|
|
32239
32240
|
i.push(l), a();
|
|
@@ -32257,14 +32258,14 @@ function L9(e, t) {
|
|
|
32257
32258
|
};
|
|
32258
32259
|
return r = e.start ? e.start(c) : r, s;
|
|
32259
32260
|
}
|
|
32260
|
-
var
|
|
32261
|
+
var F9 = {
|
|
32261
32262
|
sync: !1,
|
|
32262
32263
|
autoForward: !1
|
|
32263
32264
|
}, Tt;
|
|
32264
32265
|
(function(e) {
|
|
32265
32266
|
e[e.NotStarted = 0] = "NotStarted", e[e.Running = 1] = "Running", e[e.Stopped = 2] = "Stopped";
|
|
32266
32267
|
})(Tt || (Tt = {}));
|
|
32267
|
-
var
|
|
32268
|
+
var B9 = (
|
|
32268
32269
|
/** @class */
|
|
32269
32270
|
/* @__PURE__ */ function() {
|
|
32270
32271
|
function e(t, r) {
|
|
@@ -32289,7 +32290,7 @@ Event: `
|
|
|
32289
32290
|
n.update(g, p);
|
|
32290
32291
|
}), n._state;
|
|
32291
32292
|
}, this.sendTo = function(f, d, p) {
|
|
32292
|
-
var g = n.parent && (d === go.Parent || n.parent.id === d), v = g ? n.parent : st(d) ? d === go.Internal ? n : n.children.get(d) || Jo.get(d) :
|
|
32293
|
+
var g = n.parent && (d === go.Parent || n.parent.id === d), v = g ? n.parent : st(d) ? d === go.Internal ? n : n.children.get(d) || Jo.get(d) : l9(d) ? d : void 0;
|
|
32293
32294
|
if (!v) {
|
|
32294
32295
|
if (!g)
|
|
32295
32296
|
throw new Error("Unable to send event to child '".concat(d, "' from service '").concat(n.id, "'."));
|
|
@@ -32300,7 +32301,7 @@ Event: `
|
|
|
32300
32301
|
if (n.status !== Tt.Stopped || n.parent !== v || // we need to send events to the parent from exit handlers of a machine that reached its final state
|
|
32301
32302
|
n.state.done) {
|
|
32302
32303
|
var m = xe(xe({}, f), {
|
|
32303
|
-
name: f.name ===
|
|
32304
|
+
name: f.name === XF ? "".concat(ra(n.id)) : f.name,
|
|
32304
32305
|
origin: n.sessionId
|
|
32305
32306
|
});
|
|
32306
32307
|
!p && n.machine.config.predictableActionArguments ? n._outgoingQueue.push([v, m]) : v.send(m);
|
|
@@ -32555,7 +32556,7 @@ Event: `
|
|
|
32555
32556
|
return this;
|
|
32556
32557
|
this.machine._init(), Jo.register(this.sessionId, this), this.initialized = !0, this.status = Tt.Running;
|
|
32557
32558
|
var n = t === void 0 ? this.initialState : Qi(this, function() {
|
|
32558
|
-
return
|
|
32559
|
+
return P9(t) ? r.machine.resolveState(t) : r.machine.resolveState(mr.from(t, r.machine.context));
|
|
32559
32560
|
});
|
|
32560
32561
|
return this.options.devTools && this.attachDev(), this.scheduler.initialize(function() {
|
|
32561
32562
|
r.update(n, oo);
|
|
@@ -32711,7 +32712,7 @@ Event: `).concat(JSON.stringify(event)));
|
|
|
32711
32712
|
r.forward(v), a = Qi(r, function() {
|
|
32712
32713
|
return r.machine.transition(a, v, void 0, n || void 0);
|
|
32713
32714
|
}), c.push.apply(c, St([], at(r.machine.config.predictableActionArguments ? a.actions : a.actions.map(function(m) {
|
|
32714
|
-
return
|
|
32715
|
+
return R9(m, a);
|
|
32715
32716
|
})), !1)), s = s || !!a.changed;
|
|
32716
32717
|
};
|
|
32717
32718
|
try {
|
|
@@ -32793,15 +32794,15 @@ Event: `).concat(JSON.stringify(event)));
|
|
|
32793
32794
|
return this.spawnPromise(Promise.resolve(t), r);
|
|
32794
32795
|
if (lt(t))
|
|
32795
32796
|
return this.spawnCallback(t, r);
|
|
32796
|
-
if (
|
|
32797
|
+
if (C9(t))
|
|
32797
32798
|
return this.spawnActor(t, r);
|
|
32798
|
-
if (
|
|
32799
|
+
if (c9(t))
|
|
32799
32800
|
return this.spawnObservable(t, r);
|
|
32800
32801
|
if (li(t))
|
|
32801
32802
|
return this.spawnMachine(t, xe(xe({}, n), {
|
|
32802
32803
|
id: r
|
|
32803
32804
|
}));
|
|
32804
|
-
if (
|
|
32805
|
+
if (o9(t))
|
|
32805
32806
|
return this.spawnBehavior(t, r);
|
|
32806
32807
|
throw new Error('Unable to spawn entity "'.concat(r, '" of type "').concat(typeof t, '".'));
|
|
32807
32808
|
}, e.prototype.spawnMachine = function(t, r) {
|
|
@@ -32810,7 +32811,7 @@ Event: `).concat(JSON.stringify(event)));
|
|
|
32810
32811
|
var i = new e(t, xe(xe({}, this.options), {
|
|
32811
32812
|
parent: this,
|
|
32812
32813
|
id: r.id || t.id
|
|
32813
|
-
})), o = xe(xe({},
|
|
32814
|
+
})), o = xe(xe({}, F9), r);
|
|
32814
32815
|
o.sync && i.onTransition(function(s) {
|
|
32815
32816
|
n.send(tw, {
|
|
32816
32817
|
state: s,
|
|
@@ -32824,7 +32825,7 @@ Event: `).concat(JSON.stringify(event)));
|
|
|
32824
32825
|
}));
|
|
32825
32826
|
}).start(), a;
|
|
32826
32827
|
}, e.prototype.spawnBehavior = function(t, r) {
|
|
32827
|
-
var n =
|
|
32828
|
+
var n = M9(t, {
|
|
32828
32829
|
id: r,
|
|
32829
32830
|
parent: this
|
|
32830
32831
|
});
|
|
@@ -32844,7 +32845,7 @@ Event: `).concat(JSON.stringify(event)));
|
|
|
32844
32845
|
origin: r
|
|
32845
32846
|
}));
|
|
32846
32847
|
} catch (f) {
|
|
32847
|
-
|
|
32848
|
+
f9(c, f, r), i.devTools && i.devTools.send(l, i.state), i.machine.strict && i.stop();
|
|
32848
32849
|
}
|
|
32849
32850
|
}
|
|
32850
32851
|
});
|
|
@@ -33016,7 +33017,7 @@ Event: `).concat(JSON.stringify(event)));
|
|
|
33016
33017
|
}, r ? r.features : void 0)
|
|
33017
33018
|
}), this.machine), this.devTools.init(this.state);
|
|
33018
33019
|
}
|
|
33019
|
-
|
|
33020
|
+
L9(this);
|
|
33020
33021
|
}
|
|
33021
33022
|
}, e.prototype.toJSON = function() {
|
|
33022
33023
|
return {
|
|
@@ -33043,10 +33044,10 @@ Event: `).concat(JSON.stringify(event)));
|
|
|
33043
33044
|
}()
|
|
33044
33045
|
);
|
|
33045
33046
|
function gw(e, t) {
|
|
33046
|
-
var r = new
|
|
33047
|
+
var r = new B9(e, t);
|
|
33047
33048
|
return r;
|
|
33048
33049
|
}
|
|
33049
|
-
function
|
|
33050
|
+
function j9(e) {
|
|
33050
33051
|
if (typeof e == "string") {
|
|
33051
33052
|
var t = {
|
|
33052
33053
|
type: e
|
|
@@ -33066,14 +33067,14 @@ function vs(e) {
|
|
|
33066
33067
|
var t = Vd(e, ["onDone", "onError"]);
|
|
33067
33068
|
return xe(xe({}, t), {
|
|
33068
33069
|
type: wf,
|
|
33069
|
-
src:
|
|
33070
|
+
src: j9(e.src)
|
|
33070
33071
|
});
|
|
33071
33072
|
}
|
|
33072
33073
|
});
|
|
33073
33074
|
}
|
|
33074
33075
|
var eo = "", Cf = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
33075
33076
|
return e[0] === Cf;
|
|
33076
|
-
},
|
|
33077
|
+
}, U9 = function() {
|
|
33077
33078
|
return {
|
|
33078
33079
|
actions: {},
|
|
33079
33080
|
guards: {},
|
|
@@ -33081,12 +33082,12 @@ var eo = "", Cf = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33081
33082
|
activities: {},
|
|
33082
33083
|
delays: {}
|
|
33083
33084
|
};
|
|
33084
|
-
},
|
|
33085
|
+
}, W9 = function(e, t, r) {
|
|
33085
33086
|
var n = r.slice(0, -1).some(function(o) {
|
|
33086
33087
|
return !("cond" in o) && !("in" in o) && (st(o.target) || li(o.target));
|
|
33087
33088
|
}), i = t === eo ? "the transient event" : "event '".concat(t, "'");
|
|
33088
33089
|
Ht(!n, "One or more transitions for ".concat(i, " on state '").concat(e.id, "' are unreachable. ") + "Make sure that the default transition is the last one defined.");
|
|
33089
|
-
},
|
|
33090
|
+
}, z9 = (
|
|
33090
33091
|
/** @class */
|
|
33091
33092
|
/* @__PURE__ */ function() {
|
|
33092
33093
|
function e(t, r, n, i) {
|
|
@@ -33101,7 +33102,7 @@ var eo = "", Cf = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33101
33102
|
transitions: void 0,
|
|
33102
33103
|
candidates: {},
|
|
33103
33104
|
delayedTransitions: void 0
|
|
33104
|
-
}, this.idMap = {}, this.tags = [], this.options = Object.assign(
|
|
33105
|
+
}, this.idMap = {}, this.tags = [], this.options = Object.assign(U9(), r), this.parent = i == null ? void 0 : i.parent, this.key = this.config.key || (i == null ? void 0 : i.key) || this.config.id || "(machine)", this.machine = this.parent ? this.parent.machine : this, this.path = this.parent ? this.parent.path.concat(this.key) : [], this.delimiter = this.config.delimiter || (this.parent ? this.parent.delimiter : rw), this.id = this.config.id || St([this.machine.key], at(this.path), !1).join(this.delimiter), this.version = this.parent ? this.parent.version : this.config.version, this.type = this.config.type || (this.config.parallel ? "parallel" : this.config.states && Object.keys(this.config.states).length ? "compound" : this.config.history ? "history" : "atomic"), this.schema = this.parent ? this.machine.schema : (a = this.config.schema) !== null && a !== void 0 ? a : {}, this.description = this.config.description, Rt || Ht(!("parallel" in this.config), 'The "parallel" property is deprecated and will be removed in version 4.1. '.concat(this.config.parallel ? "Replace with `type: 'parallel'`" : "Use `type: '".concat(this.type, "'`"), " in the config for state node '").concat(this.id, "' instead.")), this.initial = this.config.initial, this.states = this.config.states ? ta(this.config.states, function(l, f) {
|
|
33105
33106
|
var d, p = new e(l, {}, void 0, {
|
|
33106
33107
|
parent: o,
|
|
33107
33108
|
key: f
|
|
@@ -33266,10 +33267,10 @@ var eo = "", Cf = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33266
33267
|
if (!r)
|
|
33267
33268
|
return [];
|
|
33268
33269
|
var n = function(o, a) {
|
|
33269
|
-
var s = lt(o) ? "".concat(t.id, ":delay[").concat(a, "]") : o, c =
|
|
33270
|
-
return t.onEntry.push(
|
|
33270
|
+
var s = lt(o) ? "".concat(t.id, ":delay[").concat(a, "]") : o, c = E9(s, t.id);
|
|
33271
|
+
return t.onEntry.push(h9(c, {
|
|
33271
33272
|
delay: o
|
|
33272
|
-
})), t.onExit.push(
|
|
33273
|
+
})), t.onExit.push(m9(c)), c;
|
|
33273
33274
|
}, i = Io(r) ? r.map(function(o, a) {
|
|
33274
33275
|
var s = n(o.delay, a);
|
|
33275
33276
|
return xe(xe({}, o), {
|
|
@@ -33381,7 +33382,7 @@ var eo = "", Cf = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33381
33382
|
t.matches(da(this.getStateNodeById(v).path, this.delimiter))
|
|
33382
33383
|
) : (
|
|
33383
33384
|
// Check if in state by relative grandparent
|
|
33384
|
-
qd(da(v, this.delimiter),
|
|
33385
|
+
qd(da(v, this.delimiter), r9(this.path.slice(0, -2))(t.value))
|
|
33385
33386
|
) : !0, w = !1;
|
|
33386
33387
|
try {
|
|
33387
33388
|
w = !g || sw(this.machine, g, m, r, t);
|
|
@@ -33495,7 +33496,7 @@ var eo = "", Cf = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33495
33496
|
}) && L.push(gs(Y.id)), L;
|
|
33496
33497
|
})), C = $.map(function(M) {
|
|
33497
33498
|
var L = M.onEntry, Z = M.activities.map(function(Y) {
|
|
33498
|
-
return
|
|
33499
|
+
return y9(Y);
|
|
33499
33500
|
});
|
|
33500
33501
|
return {
|
|
33501
33502
|
type: "entry",
|
|
@@ -33504,13 +33505,13 @@ var eo = "", Cf = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33504
33505
|
}).concat({
|
|
33505
33506
|
type: "state_done",
|
|
33506
33507
|
actions: P.map(function(M) {
|
|
33507
|
-
return
|
|
33508
|
+
return d9(M);
|
|
33508
33509
|
})
|
|
33509
33510
|
}), T = Array.from(R).map(function(M) {
|
|
33510
33511
|
return {
|
|
33511
33512
|
type: "exit",
|
|
33512
33513
|
actions: An(St(St([], at(M.onExit), !1), at(M.activities.map(function(L) {
|
|
33513
|
-
return
|
|
33514
|
+
return b9(L);
|
|
33514
33515
|
})), !1), p.machine.options.actions)
|
|
33515
33516
|
};
|
|
33516
33517
|
}), N = T.concat({
|
|
@@ -33542,7 +33543,7 @@ var eo = "", Cf = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33542
33543
|
}
|
|
33543
33544
|
if (!Rt && o.name === Xo)
|
|
33544
33545
|
throw new Error("An event cannot have the wildcard type ('".concat(Xo, "')"));
|
|
33545
|
-
if (this.strict && !this.events.includes(o.name) && !
|
|
33546
|
+
if (this.strict && !this.events.includes(o.name) && !i9(o.name))
|
|
33546
33547
|
throw new Error("Machine '".concat(this.id, "' does not accept event '").concat(o.name, "'"));
|
|
33547
33548
|
var l = this._transition(a.value, a, o) || {
|
|
33548
33549
|
transitions: [],
|
|
@@ -33558,7 +33559,7 @@ var eo = "", Cf = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33558
33559
|
}, e.prototype.resolveTransition = function(t, r, n, i, o) {
|
|
33559
33560
|
var a, s, c, l, f = this;
|
|
33560
33561
|
o === void 0 && (o = oo);
|
|
33561
|
-
var d = t.configuration, p = !r || t.transitions.length > 0, g = p ? t.configuration : r ? r.configuration : [], v = Is(g, this), m = p ?
|
|
33562
|
+
var d = t.configuration, p = !r || t.transitions.length > 0, g = p ? t.configuration : r ? r.configuration : [], v = Is(g, this), m = p ? O9(this.machine, d) : void 0, b = r ? r.historyValue ? r.historyValue : t.source ? this.machine.historyValue(r.value) : void 0 : void 0, w = this.getActions(new Set(g), v, t, n, o, r, i), _ = r ? xe({}, r.activities) : {};
|
|
33562
33563
|
try {
|
|
33563
33564
|
for (var S = tt(w), $ = S.next(); !$.done; $ = S.next()) {
|
|
33564
33565
|
var R = $.value;
|
|
@@ -33592,18 +33593,18 @@ var eo = "", Cf = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33592
33593
|
throw a.error;
|
|
33593
33594
|
}
|
|
33594
33595
|
}
|
|
33595
|
-
var N = at(rc(this, r, n, o, w, i, this.machine.config.predictableActionArguments || this.machine.config.preserveActionOrder), 2), B = N[0], M = N[1], L = at(
|
|
33596
|
+
var N = at(rc(this, r, n, o, w, i, this.machine.config.predictableActionArguments || this.machine.config.preserveActionOrder), 2), B = N[0], M = N[1], L = at(a9(B, xf), 2), Z = L[0], Y = L[1], X = B.filter(function(ie) {
|
|
33596
33597
|
var he;
|
|
33597
33598
|
return ie.type === bf && ((he = ie.activity) === null || he === void 0 ? void 0 : he.type) === wf;
|
|
33598
33599
|
}), oe = X.reduce(function(ie, he) {
|
|
33599
|
-
return ie[he.activity.id] =
|
|
33600
|
+
return ie[he.activity.id] = S9(he.activity, f.machine, M, o), ie;
|
|
33600
33601
|
}, r ? xe({}, r.children) : {}), se = new mr({
|
|
33601
33602
|
value: m || r.value,
|
|
33602
33603
|
context: M,
|
|
33603
33604
|
_event: o,
|
|
33604
33605
|
// Persist _sessionid between states
|
|
33605
33606
|
_sessionid: r ? r._sessionid : null,
|
|
33606
|
-
historyValue: m ? b ?
|
|
33607
|
+
historyValue: m ? b ? s9(b, m) : void 0 : r ? r.historyValue : void 0,
|
|
33607
33608
|
history: !m || t.source ? r : void 0,
|
|
33608
33609
|
actions: m ? Y : [],
|
|
33609
33610
|
activities: m ? _ : r ? r.activities : {},
|
|
@@ -33626,7 +33627,7 @@ var eo = "", Cf = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33626
33627
|
var ue = se;
|
|
33627
33628
|
if (!v)
|
|
33628
33629
|
for (me && (ue = this.resolveRaisedTransition(ue, {
|
|
33629
|
-
type:
|
|
33630
|
+
type: YF
|
|
33630
33631
|
}, o, i)); Z.length; ) {
|
|
33631
33632
|
var V = Z.shift();
|
|
33632
33633
|
ue = this.resolveRaisedTransition(ue, V._event, o, i);
|
|
@@ -33803,7 +33804,7 @@ var eo = "", Cf = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33803
33804
|
return n.getFromRelativePath(a);
|
|
33804
33805
|
})) : n.initialStateNodes;
|
|
33805
33806
|
}
|
|
33806
|
-
var o =
|
|
33807
|
+
var o = n9(n.path, "states")(t).current;
|
|
33807
33808
|
return st(o) ? [n.getStateNode(o)] : At(As(o).map(function(a) {
|
|
33808
33809
|
return r.history === "deep" ? n.getFromRelativePath(a) : [n.states[a[0]]];
|
|
33809
33810
|
}));
|
|
@@ -33905,7 +33906,7 @@ var eo = "", Cf = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33905
33906
|
return r.getStateNodeByPath(o);
|
|
33906
33907
|
});
|
|
33907
33908
|
}, e.prototype.formatTransition = function(t) {
|
|
33908
|
-
var r = this, n =
|
|
33909
|
+
var r = this, n = u9(t.target), i = "internal" in t ? t.internal : n ? n.some(function(c) {
|
|
33909
33910
|
return st(c) && c[0] === r.delimiter;
|
|
33910
33911
|
}) : !0, o = this.machine.options.guards, a = this.resolveTarget(n), s = xe(xe({}, t), {
|
|
33911
33912
|
actions: An(Sr(t.actions)),
|
|
@@ -33935,7 +33936,7 @@ var eo = "", Cf = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33935
33936
|
i = At(Object.keys(l).map(function(_) {
|
|
33936
33937
|
!Rt && _ === eo && Ht(!1, "Empty string transition configs (e.g., `{ on: { '': ... }}`) for transient transitions are deprecated. Specify the transition in the `{ always: ... }` property instead. " + 'Please check the `on` configuration for "#'.concat(n.id, '".'));
|
|
33937
33938
|
var S = Gi(_, l[_]);
|
|
33938
|
-
return Rt ||
|
|
33939
|
+
return Rt || W9(n, _, S), S;
|
|
33939
33940
|
}).concat(Gi(Xo, c)));
|
|
33940
33941
|
}
|
|
33941
33942
|
var f = this.config.always ? Gi("", this.config.always) : [], d = this.config.onDone ? Gi(String(gs(this.id)), this.config.onDone) : [];
|
|
@@ -33970,9 +33971,9 @@ var eo = "", Cf = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33970
33971
|
}()
|
|
33971
33972
|
), ov = !1;
|
|
33972
33973
|
function Xd(e, t) {
|
|
33973
|
-
return !Rt && !("predictableActionArguments" in e) && !ov && (ov = !0, console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")), new
|
|
33974
|
+
return !Rt && !("predictableActionArguments" in e) && !ov && (ov = !0, console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")), new z9(e, t);
|
|
33974
33975
|
}
|
|
33975
|
-
var or =
|
|
33976
|
+
var or = _9, H9 = ui;
|
|
33976
33977
|
function av(e) {
|
|
33977
33978
|
var t = we.useRef();
|
|
33978
33979
|
return t.current || (t.current = { v: e() }), t.current.v;
|
|
@@ -33986,7 +33987,7 @@ var ic = function() {
|
|
|
33986
33987
|
}
|
|
33987
33988
|
return e;
|
|
33988
33989
|
}, ic.apply(this, arguments);
|
|
33989
|
-
},
|
|
33990
|
+
}, V9 = function(e, t) {
|
|
33990
33991
|
var r = {};
|
|
33991
33992
|
for (var n in e)
|
|
33992
33993
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -33994,7 +33995,7 @@ var ic = function() {
|
|
|
33994
33995
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
33995
33996
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
33996
33997
|
return r;
|
|
33997
|
-
},
|
|
33998
|
+
}, G9 = function(e, t) {
|
|
33998
33999
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
33999
34000
|
if (!r)
|
|
34000
34001
|
return e;
|
|
@@ -34014,17 +34015,17 @@ var ic = function() {
|
|
|
34014
34015
|
}
|
|
34015
34016
|
return o;
|
|
34016
34017
|
};
|
|
34017
|
-
function
|
|
34018
|
+
function K9(e, t) {
|
|
34018
34019
|
var r = av(function() {
|
|
34019
34020
|
return typeof e == "function" ? e() : e;
|
|
34020
34021
|
});
|
|
34021
34022
|
if (process.env.NODE_ENV !== "production" && typeof e != "function") {
|
|
34022
|
-
var n =
|
|
34023
|
+
var n = G9(Ce(r), 1), i = n[0];
|
|
34023
34024
|
e !== i && console.warn("Machine given to `useMachine` has changed between renders. This is not supported and might lead to unexpected results.\nPlease make sure that you pass the same Machine as argument each time.");
|
|
34024
34025
|
}
|
|
34025
34026
|
var o = t.context, a = t.guards, s = t.actions, c = t.activities, l = t.services, f = t.delays;
|
|
34026
34027
|
t.state;
|
|
34027
|
-
var d =
|
|
34028
|
+
var d = V9(t, ["context", "guards", "actions", "activities", "services", "delays", "state"]), p = av(function() {
|
|
34028
34029
|
var g = {
|
|
34029
34030
|
context: o,
|
|
34030
34031
|
guards: a,
|
|
@@ -34037,17 +34038,17 @@ function G9(e, t) {
|
|
|
34037
34038
|
});
|
|
34038
34039
|
return gw(v, d);
|
|
34039
34040
|
});
|
|
34040
|
-
return
|
|
34041
|
+
return H9(function() {
|
|
34041
34042
|
Object.assign(p.machine.options.actions, s), Object.assign(p.machine.options.guards, a), Object.assign(p.machine.options.activities, c), Object.assign(p.machine.options.services, l), Object.assign(p.machine.options.delays, f);
|
|
34042
34043
|
}, [s, a, c, l, f]), p;
|
|
34043
34044
|
}
|
|
34044
|
-
function
|
|
34045
|
+
function q9(e, t, r) {
|
|
34045
34046
|
if (e.status === Tt.NotStarted)
|
|
34046
34047
|
return !0;
|
|
34047
34048
|
var n = r.changed === void 0 && (Object.keys(r.children).length > 0 || typeof t.changed == "boolean");
|
|
34048
34049
|
return !(r.changed || n);
|
|
34049
34050
|
}
|
|
34050
|
-
var
|
|
34051
|
+
var Y9 = function(e, t) {
|
|
34051
34052
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
34052
34053
|
if (!r)
|
|
34053
34054
|
return e;
|
|
@@ -34067,20 +34068,20 @@ var q9 = function(e, t) {
|
|
|
34067
34068
|
}
|
|
34068
34069
|
return o;
|
|
34069
34070
|
};
|
|
34070
|
-
function
|
|
34071
|
+
function J9(e) {
|
|
34071
34072
|
return e;
|
|
34072
34073
|
}
|
|
34073
34074
|
function Zd(e) {
|
|
34074
34075
|
for (var t = [], r = 1; r < arguments.length; r++)
|
|
34075
34076
|
t[r - 1] = arguments[r];
|
|
34076
|
-
var n =
|
|
34077
|
+
var n = Y9(t, 1), i = n[0], o = i === void 0 ? {} : i, a = K9(e, o), s = De(function() {
|
|
34077
34078
|
return a.status === Tt.NotStarted ? o.state ? mr.create(o.state) : a.machine.initialState : a.getSnapshot();
|
|
34078
34079
|
}, [a]), c = De(function(d, p) {
|
|
34079
|
-
return
|
|
34080
|
+
return q9(a, d, p);
|
|
34080
34081
|
}, [a]), l = De(function(d) {
|
|
34081
34082
|
var p = a.subscribe(d).unsubscribe;
|
|
34082
34083
|
return p;
|
|
34083
|
-
}, [a]), f =
|
|
34084
|
+
}, [a]), f = qF.useSyncExternalStoreWithSelector(l, s, s, J9, c);
|
|
34084
34085
|
return _e(function() {
|
|
34085
34086
|
var d = o.state;
|
|
34086
34087
|
return a.start(d ? mr.create(d) : void 0), function() {
|
|
@@ -34088,7 +34089,7 @@ function Zd(e) {
|
|
|
34088
34089
|
};
|
|
34089
34090
|
}, []), [f, a.send, a];
|
|
34090
34091
|
}
|
|
34091
|
-
const
|
|
34092
|
+
const X9 = Xd(
|
|
34092
34093
|
{
|
|
34093
34094
|
id: "identity",
|
|
34094
34095
|
predictableActionArguments: !0,
|
|
@@ -34154,7 +34155,7 @@ const J9 = Xd(
|
|
|
34154
34155
|
}
|
|
34155
34156
|
}
|
|
34156
34157
|
}
|
|
34157
|
-
),
|
|
34158
|
+
), Z9 = (e, t) => Zd(X9, {
|
|
34158
34159
|
...t,
|
|
34159
34160
|
context: {
|
|
34160
34161
|
...t == null ? void 0 : t.context,
|
|
@@ -34164,7 +34165,7 @@ const J9 = Xd(
|
|
|
34164
34165
|
identity: r
|
|
34165
34166
|
}))
|
|
34166
34167
|
}
|
|
34167
|
-
}),
|
|
34168
|
+
}), Q9 = (e) => {
|
|
34168
34169
|
const {
|
|
34169
34170
|
active: t,
|
|
34170
34171
|
onAgentCreate: r,
|
|
@@ -34209,9 +34210,9 @@ const J9 = Xd(
|
|
|
34209
34210
|
},
|
|
34210
34211
|
f("back label")
|
|
34211
34212
|
)));
|
|
34212
|
-
},
|
|
34213
|
+
}, eB = ({ devices: e, active: t, send: r }) => {
|
|
34213
34214
|
const { t: n } = ut("os"), i = !t;
|
|
34214
|
-
return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement("div", { role: "none", className: "grow" }, /* @__PURE__ */ x.createElement(
|
|
34215
|
+
return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement("div", { role: "none", className: "grow" }, /* @__PURE__ */ x.createElement($k, { devices: e })), /* @__PURE__ */ x.createElement(ar, null, /* @__PURE__ */ x.createElement(
|
|
34215
34216
|
pt,
|
|
34216
34217
|
{
|
|
34217
34218
|
variant: "ghost",
|
|
@@ -34221,7 +34222,7 @@ const J9 = Xd(
|
|
|
34221
34222
|
},
|
|
34222
34223
|
n("back label")
|
|
34223
34224
|
)));
|
|
34224
|
-
},
|
|
34225
|
+
}, tB = (e) => {
|
|
34225
34226
|
const { send: t } = e, r = fi(), n = Cv(), i = De((a) => {
|
|
34226
34227
|
const s = ao.encode(a);
|
|
34227
34228
|
a.state === $e.State.CONNECTING && console.log(JSON.stringify({ invitationCode: s, authCode: a.authCode }));
|
|
@@ -34233,8 +34234,8 @@ const J9 = Xd(
|
|
|
34233
34234
|
);
|
|
34234
34235
|
process.env.NODE_ENV !== "production" && c.subscribe(i), t == null || t({ type: "selectInvitation", invitation: c });
|
|
34235
34236
|
};
|
|
34236
|
-
return /* @__PURE__ */ x.createElement(
|
|
34237
|
-
},
|
|
34237
|
+
return /* @__PURE__ */ x.createElement(rB, { ...e, onCreateInvitationClick: (a) => o(a) });
|
|
34238
|
+
}, rB = ({
|
|
34238
34239
|
onCreateInvitationClick: e,
|
|
34239
34240
|
active: t,
|
|
34240
34241
|
send: r,
|
|
@@ -34264,14 +34265,14 @@ const J9 = Xd(
|
|
|
34264
34265
|
/* @__PURE__ */ x.createElement("span", { className: "grow mli-3" }, o("choose sign out label")),
|
|
34265
34266
|
/* @__PURE__ */ x.createElement(ri, { weight: "bold", className: Qe(4) })
|
|
34266
34267
|
))));
|
|
34267
|
-
},
|
|
34268
|
+
}, nB = (e) => {
|
|
34268
34269
|
const { onUpdateProfile: t } = e, { t: r } = ut("os"), [n, i] = Ce(""), o = async (a) => {
|
|
34269
34270
|
await (t == null ? void 0 : t(a).catch((s) => {
|
|
34270
34271
|
ot.catch(s), i(r("failed to update profile message"));
|
|
34271
34272
|
}));
|
|
34272
34273
|
};
|
|
34273
|
-
return /* @__PURE__ */ x.createElement(
|
|
34274
|
-
},
|
|
34274
|
+
return /* @__PURE__ */ x.createElement(iB, { ...e, onUpdateProfile: o, validationMessage: n });
|
|
34275
|
+
}, iB = (e) => {
|
|
34275
34276
|
const { active: t, profile: r, send: n, onUpdateProfile: i, validationMessage: o } = e, a = !t, { t: s } = ut("os"), [c, l] = Ce((r == null ? void 0 : r.displayName) ?? "");
|
|
34276
34277
|
return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement("div", { role: "none", className: "grow flex flex-col justify-center" }, /* @__PURE__ */ x.createElement(
|
|
34277
34278
|
Fa,
|
|
@@ -34304,13 +34305,13 @@ const J9 = Xd(
|
|
|
34304
34305
|
},
|
|
34305
34306
|
s("done label")
|
|
34306
34307
|
)));
|
|
34307
|
-
},
|
|
34308
|
+
}, oB = (e) => {
|
|
34308
34309
|
const { t } = ut("os"), r = () => {
|
|
34309
34310
|
var n;
|
|
34310
34311
|
window.confirm(t("reset device confirm message")) && ((n = e.onResetDevice) == null || n.call(e));
|
|
34311
34312
|
};
|
|
34312
34313
|
return /* @__PURE__ */ x.createElement(
|
|
34313
|
-
|
|
34314
|
+
aB,
|
|
34314
34315
|
{
|
|
34315
34316
|
disabled: !e.active,
|
|
34316
34317
|
onBack: () => {
|
|
@@ -34321,7 +34322,7 @@ const J9 = Xd(
|
|
|
34321
34322
|
onJoinNewIdentity: e.onJoinNewIdentity
|
|
34322
34323
|
}
|
|
34323
34324
|
);
|
|
34324
|
-
},
|
|
34325
|
+
}, aB = ({ disabled: e, onResetDevice: t, onJoinNewIdentity: r, onBack: n }) => {
|
|
34325
34326
|
const { t: i } = ut("os");
|
|
34326
34327
|
return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement("div", { role: "none", className: "grow flex flex-col justify-center" }, /* @__PURE__ */ x.createElement(Fl.Root, { valence: "error" }, /* @__PURE__ */ x.createElement(Fl.Title, null, /* @__PURE__ */ x.createElement(Tw, { className: de(Qe(6), "inline mie-2") }), i("sign out chooser title")), /* @__PURE__ */ x.createElement(Fl.Body, null, i("sign out chooser message")))), /* @__PURE__ */ x.createElement(ar, null, /* @__PURE__ */ x.createElement(pt, { disabled: e, onClick: n }, i("back label")), /* @__PURE__ */ x.createElement(
|
|
34327
34328
|
pt,
|
|
@@ -34344,7 +34345,7 @@ const J9 = Xd(
|
|
|
34344
34345
|
},
|
|
34345
34346
|
i("reset device label")
|
|
34346
34347
|
)));
|
|
34347
|
-
},
|
|
34348
|
+
}, sB = ({
|
|
34348
34349
|
client: e,
|
|
34349
34350
|
invitations: t,
|
|
34350
34351
|
identity: r
|
|
@@ -35428,16 +35429,16 @@ var vw = { exports: {} };
|
|
|
35428
35429
|
return r;
|
|
35429
35430
|
});
|
|
35430
35431
|
})(vw);
|
|
35431
|
-
var
|
|
35432
|
-
const Af = /* @__PURE__ */ Un(
|
|
35433
|
-
var
|
|
35432
|
+
var cB = vw.exports;
|
|
35433
|
+
const Af = /* @__PURE__ */ Un(cB);
|
|
35434
|
+
var lB = Object.defineProperty, oc = Object.getOwnPropertySymbols, mw = Object.prototype.hasOwnProperty, yw = Object.prototype.propertyIsEnumerable, sv = (e, t, r) => t in e ? lB(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, uB = (e, t) => {
|
|
35434
35435
|
for (var r in t || (t = {}))
|
|
35435
35436
|
mw.call(t, r) && sv(e, r, t[r]);
|
|
35436
35437
|
if (oc)
|
|
35437
35438
|
for (var r of oc(t))
|
|
35438
35439
|
yw.call(t, r) && sv(e, r, t[r]);
|
|
35439
35440
|
return e;
|
|
35440
|
-
},
|
|
35441
|
+
}, fB = (e, t) => {
|
|
35441
35442
|
var r = {};
|
|
35442
35443
|
for (var n in e)
|
|
35443
35444
|
mw.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -35445,9 +35446,9 @@ var cB = Object.defineProperty, oc = Object.getOwnPropertySymbols, mw = Object.p
|
|
|
35445
35446
|
for (var n of oc(e))
|
|
35446
35447
|
t.indexOf(n) < 0 && yw.call(e, n) && (r[n] = e[n]);
|
|
35447
35448
|
return r;
|
|
35448
|
-
}, sn = 1e3,
|
|
35449
|
+
}, sn = 1e3, dB = /code length overflow/i;
|
|
35449
35450
|
Af.stringToBytes = Af.stringToBytesFuncs["UTF-8"];
|
|
35450
|
-
var
|
|
35451
|
+
var pB = (e, t, r) => {
|
|
35451
35452
|
r = Math.max(1, r);
|
|
35452
35453
|
for (let n = r; n <= 40; n += 1)
|
|
35453
35454
|
try {
|
|
@@ -35456,28 +35457,28 @@ var dB = (e, t, r) => {
|
|
|
35456
35457
|
const o = i.getModuleCount();
|
|
35457
35458
|
return { text: e, level: t, version: n, moduleCount: o, isDark: (s, c) => s >= 0 && s < o && c >= 0 && c < o && i.isDark(s, c) };
|
|
35458
35459
|
} catch (i) {
|
|
35459
|
-
if (!(n < 40 &&
|
|
35460
|
+
if (!(n < 40 && dB.test(String(i))))
|
|
35460
35461
|
throw i;
|
|
35461
35462
|
}
|
|
35462
35463
|
return null;
|
|
35463
|
-
}, Tn = Math.round, ro = (e, t) => `M ${Tn(e)} ${Tn(t)}`, Yt = (e, t) => `L ${Tn(e)} ${Tn(t)}`, In = (e, t, r) => `A ${Tn(r)} ${Tn(r)} 0 0 1 ${Tn(e)} ${Tn(t)}`,
|
|
35464
|
+
}, Tn = Math.round, ro = (e, t) => `M ${Tn(e)} ${Tn(t)}`, Yt = (e, t) => `L ${Tn(e)} ${Tn(t)}`, In = (e, t, r) => `A ${Tn(r)} ${Tn(r)} 0 0 1 ${Tn(e)} ${Tn(t)}`, hB = (e, t, r, n, i, o, a, s, c) => {
|
|
35464
35465
|
const l = [];
|
|
35465
35466
|
return o ? l.push(ro(e + i, t)) : l.push(ro(e, t)), a ? l.push(Yt(r - i, t), In(r, t + i, i)) : l.push(Yt(r, t)), s ? l.push(Yt(r, n - i), In(r - i, n, i)) : l.push(Yt(r, n)), c ? l.push(Yt(e + i, n), In(e, n - i, i)) : l.push(Yt(e, n)), o ? l.push(Yt(e, t + i), In(e + i, t, i)) : l.push(Yt(e, t)), l.join(" ");
|
|
35466
|
-
},
|
|
35467
|
+
}, gB = (e, t, r, n, i, o, a, s, c) => {
|
|
35467
35468
|
const l = [];
|
|
35468
35469
|
return o && l.push(ro(e + i, t), Yt(e, t), Yt(e, t + i), In(e + i, t, i)), a && l.push(ro(r, t + i), Yt(r, t), Yt(r - i, t), In(r, t + i, i)), s && l.push(ro(r - i, n), Yt(r, n), Yt(r, n - i), In(r - i, n, i)), c && l.push(ro(e, n - i), Yt(e, n), Yt(e + i, n), In(e, n - i, i)), l.join(" ");
|
|
35469
|
-
},
|
|
35470
|
+
}, vB = (e, t, r, n, i) => {
|
|
35470
35471
|
const o = i * r, a = n * r, s = o + r, c = a + r, l = t * 5e-3 * r, f = e.isDark, d = n - 1, p = n + 1, g = i - 1, v = i + 1, m = f(n, i), b = f(d, g), w = f(d, i), _ = f(d, v), S = f(n, v), $ = f(p, v), R = f(p, i), P = f(p, g), C = f(n, g);
|
|
35471
|
-
return m ?
|
|
35472
|
-
},
|
|
35472
|
+
return m ? hB(o, a, s, c, l, !w && !C, !w && !S, !R && !S, !R && !C) : gB(o, a, s, c, l, w && C && b, w && S && _, R && S && $, R && C && P);
|
|
35473
|
+
}, mB = (e, t) => {
|
|
35473
35474
|
if (!e)
|
|
35474
35475
|
return "";
|
|
35475
35476
|
const r = e.moduleCount, n = sn / r, i = [];
|
|
35476
35477
|
for (let o = 0; o < r; o += 1)
|
|
35477
35478
|
for (let a = 0; a < r; a += 1)
|
|
35478
|
-
i.push(
|
|
35479
|
+
i.push(vB(e, t, n, o, a));
|
|
35479
35480
|
return i.join(" ");
|
|
35480
|
-
},
|
|
35481
|
+
}, yB = (e) => {
|
|
35481
35482
|
var t = e, {
|
|
35482
35483
|
color: r = "#000",
|
|
35483
35484
|
backgroundColor: n,
|
|
@@ -35486,7 +35487,7 @@ var dB = (e, t, r) => {
|
|
|
35486
35487
|
errorCorrectionLevel: a = "Q",
|
|
35487
35488
|
rounding: s = 0,
|
|
35488
35489
|
children: c
|
|
35489
|
-
} = t, l =
|
|
35490
|
+
} = t, l = fB(t, [
|
|
35490
35491
|
"color",
|
|
35491
35492
|
"backgroundColor",
|
|
35492
35493
|
"cutout",
|
|
@@ -35495,11 +35496,11 @@ var dB = (e, t, r) => {
|
|
|
35495
35496
|
"rounding",
|
|
35496
35497
|
"children"
|
|
35497
35498
|
]), f, d;
|
|
35498
|
-
const p = gt(() =>
|
|
35499
|
+
const p = gt(() => pB(c, a, 1), [c, a]);
|
|
35499
35500
|
if (!p)
|
|
35500
35501
|
return null;
|
|
35501
35502
|
const g = (f = p == null ? void 0 : p.moduleCount) != null ? f : 1, m = sn / ((d = p == null ? void 0 : p.moduleCount) != null ? d : 1) * (Math.floor(g * 0.18) * 2 - 1) + 2, b = (sn - m) / 2;
|
|
35502
|
-
return /* @__PURE__ */ we.createElement("svg",
|
|
35503
|
+
return /* @__PURE__ */ we.createElement("svg", uB({
|
|
35503
35504
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35504
35505
|
viewBox: `0 0 ${sn} ${sn}`
|
|
35505
35506
|
}, l), i ? /* @__PURE__ */ we.createElement("mask", {
|
|
@@ -35526,7 +35527,7 @@ var dB = (e, t, r) => {
|
|
|
35526
35527
|
fill: n
|
|
35527
35528
|
}) : null, /* @__PURE__ */ we.createElement("path", {
|
|
35528
35529
|
fill: r,
|
|
35529
|
-
d:
|
|
35530
|
+
d: mB(p, s),
|
|
35530
35531
|
mask: i ? "url(#react-qr-rounded__mask)" : void 0
|
|
35531
35532
|
}), o ? /* @__PURE__ */ we.createElement("foreignObject", {
|
|
35532
35533
|
x: b,
|
|
@@ -35554,7 +35555,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
35554
35555
|
authCode: o,
|
|
35555
35556
|
id: a
|
|
35556
35557
|
}) => {
|
|
35557
|
-
const { t: s } = ut("os"), c = It("invitation-manager__qr-code"), l = i === $e.Type.MULTIUSE ? 0 :
|
|
35558
|
+
const { t: s } = ut("os"), c = It("invitation-manager__qr-code"), l = i === $e.Type.MULTIUSE ? 0 : wL.get(n) ?? 0, f = l === 3, d = Ud(a ?? ""), p = gt(() => {
|
|
35558
35559
|
switch (!0) {
|
|
35559
35560
|
case l === 5:
|
|
35560
35561
|
case l < 0:
|
|
@@ -35566,7 +35567,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
35566
35567
|
}
|
|
35567
35568
|
}, [l]);
|
|
35568
35569
|
return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(dt.Root, { activeView: p, classNames: "grow plb-1" }, /* @__PURE__ */ x.createElement(dt.Views, null, /* @__PURE__ */ x.createElement(bu, { id: "showing qr", emoji: d }, /* @__PURE__ */ x.createElement("p", { className: "text-sm mlb-1 font-normal text-center" }, s(i === $e.Type.MULTIUSE ? "invite many qr label" : "invite one qr label")), /* @__PURE__ */ x.createElement("div", { role: "none", className: de(Nt, "is-full max-is-[14rem] relative") }, /* @__PURE__ */ x.createElement(
|
|
35569
|
-
|
|
35570
|
+
yB,
|
|
35570
35571
|
{
|
|
35571
35572
|
rounding: 100,
|
|
35572
35573
|
backgroundColor: "transparent",
|
|
@@ -35577,8 +35578,8 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
35577
35578
|
cutout: !0
|
|
35578
35579
|
},
|
|
35579
35580
|
e ?? "never"
|
|
35580
|
-
), /* @__PURE__ */ x.createElement(
|
|
35581
|
-
}, Yi = "pbs-1 pbe-3 pli-3",
|
|
35581
|
+
), /* @__PURE__ */ x.createElement(TM, null, /* @__PURE__ */ x.createElement(gf, { text: d }))), /* @__PURE__ */ x.createElement("span", { id: c, className: "sr-only" }, s("qr label")), /* @__PURE__ */ x.createElement(xk, { variant: "ghost", value: e ?? "never" })), /* @__PURE__ */ x.createElement(bu, { id: "showing auth code" }, /* @__PURE__ */ x.createElement(zg, null, s("auth code message")), /* @__PURE__ */ x.createElement(N1, { code: o, large: !0, classNames: "text-black dark:text-white" }), /* @__PURE__ */ x.createElement(zg, null, "Be sure the other device is showing this symbol:"), d && /* @__PURE__ */ x.createElement(gf, { text: d })), /* @__PURE__ */ x.createElement(bu, { id: "showing final" }, l > 0 ? /* @__PURE__ */ x.createElement(cc, { className: de("m-1.5", Qe(6)) }) : /* @__PURE__ */ x.createElement(pa, { className: de("m-1.5", Qe(6)) })))), /* @__PURE__ */ x.createElement(ar, { classNames: "mbs-4" }, /* @__PURE__ */ x.createElement(pt, { disabled: !t, onClick: () => r == null ? void 0 : r({ type: "deselectInvitation" }) }, s("back label"))));
|
|
35582
|
+
}, Yi = "pbs-1 pbe-3 pli-3", bB = ({ titleId: e, title: t, identity: r, onDone: n }) => {
|
|
35582
35583
|
var o;
|
|
35583
35584
|
const i = Cc(r.identityKey.toHex(), 12);
|
|
35584
35585
|
return /* @__PURE__ */ x.createElement(Wd, { titleId: e, title: t, corner: /* @__PURE__ */ x.createElement(D1, { onDone: n }) }, /* @__PURE__ */ x.createElement(Ft.Root, { size: 12, variant: "circle", status: "active" }, /* @__PURE__ */ x.createElement(Ft.Frame, { classNames: "block mbs-4 mbe-2 mli-auto chromatic-ignore" }, /* @__PURE__ */ x.createElement(Ft.Fallback, { href: i })), /* @__PURE__ */ x.createElement(Ft.Label, { classNames: "block text-center font-light text-xl", "data-testid": "identityHeading.displayName" }, ((o = r.profile) == null ? void 0 : o.displayName) ?? Bc(r.identityKey.toHex()))));
|
|
@@ -35590,7 +35591,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
35590
35591
|
onUpdateProfile: i,
|
|
35591
35592
|
onResetDevice: o,
|
|
35592
35593
|
onJoinNewIdentity: a,
|
|
35593
|
-
IdentityActionChooser: s =
|
|
35594
|
+
IdentityActionChooser: s = tB,
|
|
35594
35595
|
InvitationManager: c = bw,
|
|
35595
35596
|
onDone: l,
|
|
35596
35597
|
...f
|
|
@@ -35604,15 +35605,15 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
35604
35605
|
return d("identity heading");
|
|
35605
35606
|
}
|
|
35606
35607
|
}, [n, d]);
|
|
35607
|
-
return /* @__PURE__ */ x.createElement(wo, { density: "fine" }, /* @__PURE__ */ x.createElement(
|
|
35608
|
+
return /* @__PURE__ */ x.createElement(wo, { density: "fine" }, /* @__PURE__ */ x.createElement(bB, { identity: t, titleId: r, title: p, onDone: l }), /* @__PURE__ */ x.createElement(dt.Root, { activeView: n }, /* @__PURE__ */ x.createElement(dt.Views, null, /* @__PURE__ */ x.createElement(dt.View, { id: "identity action chooser", classNames: Yi }, /* @__PURE__ */ x.createElement(s, { active: n === "identity action chooser", ...f })), /* @__PURE__ */ x.createElement(dt.View, { id: "device invitation manager", classNames: Yi }, /* @__PURE__ */ x.createElement(
|
|
35608
35609
|
c,
|
|
35609
35610
|
{
|
|
35610
35611
|
active: n === "device invitation manager",
|
|
35611
35612
|
...f,
|
|
35612
35613
|
invitationUrl: f.createInvitationUrl(f.invitationCode)
|
|
35613
35614
|
}
|
|
35614
|
-
)), /* @__PURE__ */ x.createElement(dt.View, { id: "device manager", classNames: Yi }, /* @__PURE__ */ x.createElement(
|
|
35615
|
-
|
|
35615
|
+
)), /* @__PURE__ */ x.createElement(dt.View, { id: "device manager", classNames: Yi }, /* @__PURE__ */ x.createElement(eB, { active: n === "device manager", ...f })), /* @__PURE__ */ x.createElement(dt.View, { classNames: Yi, id: "update profile form" }, /* @__PURE__ */ x.createElement(
|
|
35616
|
+
nB,
|
|
35616
35617
|
{
|
|
35617
35618
|
send: f.send,
|
|
35618
35619
|
active: n === "update profile form",
|
|
@@ -35620,29 +35621,29 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
35620
35621
|
onUpdateProfile: i
|
|
35621
35622
|
}
|
|
35622
35623
|
)), /* @__PURE__ */ x.createElement(dt.View, { classNames: Yi, id: "signing out" }, /* @__PURE__ */ x.createElement(
|
|
35623
|
-
|
|
35624
|
+
oB,
|
|
35624
35625
|
{
|
|
35625
35626
|
send: f.send,
|
|
35626
35627
|
active: n === "signing out",
|
|
35627
35628
|
onResetDevice: o,
|
|
35628
35629
|
onJoinNewIdentity: a
|
|
35629
35630
|
}
|
|
35630
|
-
)), /* @__PURE__ */ x.createElement(dt.View, { classNames: Yi, id: "agent manager" }, /* @__PURE__ */ x.createElement(
|
|
35631
|
-
},
|
|
35631
|
+
)), /* @__PURE__ */ x.createElement(dt.View, { classNames: Yi, id: "agent manager" }, /* @__PURE__ */ x.createElement(Q9, { send: f.send, active: n === "agent manager", ...f })))));
|
|
35632
|
+
}, wB = ({
|
|
35632
35633
|
invitation: e,
|
|
35633
35634
|
...t
|
|
35634
35635
|
}) => {
|
|
35635
35636
|
const r = Fd(e);
|
|
35636
35637
|
return /* @__PURE__ */ x.createElement(ww, { ...t, ...r });
|
|
35637
|
-
},
|
|
35638
|
+
}, _B = ({
|
|
35638
35639
|
titleId: e,
|
|
35639
35640
|
createInvitationUrl: t = (n) => n,
|
|
35640
35641
|
...r
|
|
35641
35642
|
}) => {
|
|
35642
|
-
const n = It("identityPanel__heading", e), i = fi(), o = Jw(), a = Av(), s = Cv(), c =
|
|
35643
|
+
const n = It("identityPanel__heading", e), i = fi(), o = Jw(), a = Av(), s = Cv(), c = sB({ client: i, identity: a, invitations: s });
|
|
35643
35644
|
if (!a)
|
|
35644
35645
|
return console.error("IdentityPanel rendered with no active identity."), null;
|
|
35645
|
-
const [l, f, d] =
|
|
35646
|
+
const [l, f, d] = Z9(i);
|
|
35646
35647
|
_e(() => d.subscribe((b) => {
|
|
35647
35648
|
ot("[state]", b);
|
|
35648
35649
|
}).unsubscribe, [d]);
|
|
@@ -35676,8 +35677,8 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
35676
35677
|
},
|
|
35677
35678
|
...c
|
|
35678
35679
|
};
|
|
35679
|
-
return l.context.invitation ? /* @__PURE__ */ x.createElement(
|
|
35680
|
-
},
|
|
35680
|
+
return l.context.invitation ? /* @__PURE__ */ x.createElement(wB, { ...v, invitation: l.context.invitation }) : /* @__PURE__ */ x.createElement(ww, { ...v });
|
|
35681
|
+
}, EB = ne(
|
|
35681
35682
|
({ mode: e, titleId: t, onExit: r, exitActionParent: n }, i) => {
|
|
35682
35683
|
const { t: o } = ut("os"), a = /* @__PURE__ */ x.createElement(
|
|
35683
35684
|
Or,
|
|
@@ -35847,7 +35848,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
35847
35848
|
]
|
|
35848
35849
|
}
|
|
35849
35850
|
}
|
|
35850
|
-
}),
|
|
35851
|
+
}), xB = Xd(
|
|
35851
35852
|
{
|
|
35852
35853
|
id: "join",
|
|
35853
35854
|
predictableActionArguments: !0,
|
|
@@ -35954,7 +35955,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
35954
35955
|
} catch (r) {
|
|
35955
35956
|
return ot.catch(r), t;
|
|
35956
35957
|
}
|
|
35957
|
-
},
|
|
35958
|
+
}, SB = (e, t) => {
|
|
35958
35959
|
const r = De(
|
|
35959
35960
|
({ halo: a }) => {
|
|
35960
35961
|
if (a.unredeemedCode)
|
|
@@ -36008,7 +36009,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36008
36009
|
},
|
|
36009
36010
|
[t == null ? void 0 : t.onInvalidateInvitationCode]
|
|
36010
36011
|
);
|
|
36011
|
-
return Zd(
|
|
36012
|
+
return Zd(xB, {
|
|
36012
36013
|
...t,
|
|
36013
36014
|
actions: {
|
|
36014
36015
|
...t == null ? void 0 : t.actions,
|
|
@@ -36022,7 +36023,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36022
36023
|
})
|
|
36023
36024
|
}
|
|
36024
36025
|
});
|
|
36025
|
-
},
|
|
36026
|
+
}, $B = (e) => {
|
|
36026
36027
|
const t = !e.active, { send: r } = e, { t: n } = ut("os"), i = {
|
|
36027
36028
|
disabled: t,
|
|
36028
36029
|
after: /* @__PURE__ */ x.createElement(ri, { className: Qe(4), weight: "bold" }),
|
|
@@ -36061,7 +36062,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36061
36062
|
},
|
|
36062
36063
|
n("recover identity label")
|
|
36063
36064
|
)));
|
|
36064
|
-
},
|
|
36065
|
+
}, CB = (e) => {
|
|
36065
36066
|
var v, m;
|
|
36066
36067
|
const { mode: t, addedIdentity: r, active: n, send: i, onDone: o, doneActionParent: a } = e, s = !n, { t: c } = ut("os"), l = r == null ? void 0 : r.identityKey.toHex(), f = It("identityListItem__label"), d = Cc(l ?? "", 12), p = ((v = r == null ? void 0 : r.profile) == null ? void 0 : v.displayName) ?? (r && Bc(r == null ? void 0 : r.identityKey.toHex())), g = /* @__PURE__ */ x.createElement(
|
|
36067
36068
|
pt,
|
|
@@ -36083,7 +36084,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36083
36084
|
},
|
|
36084
36085
|
c("continue label")
|
|
36085
36086
|
)));
|
|
36086
|
-
},
|
|
36087
|
+
}, AB = (e) => {
|
|
36087
36088
|
const { send: t, method: r } = e, n = r === "recover identity", i = fi(), { t: o } = ut("os"), [a, s] = Ce(""), c = (l) => {
|
|
36088
36089
|
i.halo.createIdentity({ [n ? "seedphrase" : "displayName"]: l }).then(
|
|
36089
36090
|
(f) => {
|
|
@@ -36094,8 +36095,8 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36094
36095
|
}
|
|
36095
36096
|
);
|
|
36096
36097
|
};
|
|
36097
|
-
return /* @__PURE__ */ x.createElement(
|
|
36098
|
-
},
|
|
36098
|
+
return /* @__PURE__ */ x.createElement(OB, { ...e, onDisplayNameConfirm: c, validationMessage: a });
|
|
36099
|
+
}, OB = (e) => {
|
|
36099
36100
|
const { method: t, send: r, active: n, onDisplayNameConfirm: i, validationMessage: o } = e, a = !n, { t: s } = ut("os"), [c, l] = Ce(""), f = t === "recover identity";
|
|
36100
36101
|
return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement("div", { role: "none", className: "grow flex flex-col justify-center" }, /* @__PURE__ */ x.createElement(
|
|
36101
36102
|
Fa,
|
|
@@ -36139,7 +36140,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36139
36140
|
a("done label")
|
|
36140
36141
|
);
|
|
36141
36142
|
return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement("div", { role: "none", className: "grow flex flex-col justify-center" }, /* @__PURE__ */ x.createElement("p", { className: "text-center text-sm font-normal" }, a("welcome message"))), /* @__PURE__ */ x.createElement(ar, null, n ? Ir(n, {}, s) : s));
|
|
36142
|
-
},
|
|
36143
|
+
}, TB = (e) => {
|
|
36143
36144
|
try {
|
|
36144
36145
|
const t = new URLSearchParams(e.substring(e.lastIndexOf("?")));
|
|
36145
36146
|
return t.get("spaceInvitationCode") ?? t.get("deviceInvitationCode") ?? e;
|
|
@@ -36154,7 +36155,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36154
36155
|
const v = () => {
|
|
36155
36156
|
p.trim().length !== 0 && n({
|
|
36156
36157
|
type: `set${t}InvitationCode`,
|
|
36157
|
-
code:
|
|
36158
|
+
code: TB(p),
|
|
36158
36159
|
...t === "Space" && { succeededKeys: l }
|
|
36159
36160
|
});
|
|
36160
36161
|
}, m = /* @__PURE__ */ x.createElement(
|
|
@@ -36198,7 +36199,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36198
36199
|
},
|
|
36199
36200
|
d("continue label")
|
|
36200
36201
|
)));
|
|
36201
|
-
},
|
|
36202
|
+
}, IB = ({
|
|
36202
36203
|
// `invitationState` does report correct state, but here we evaluate whether `failReason` is a better source of truth
|
|
36203
36204
|
// for the UI in particular.
|
|
36204
36205
|
invitationState: e,
|
|
@@ -36230,7 +36231,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36230
36231
|
onClick: () => i({ type: `reset${t}Invitation` })
|
|
36231
36232
|
},
|
|
36232
36233
|
o("reset label")
|
|
36233
|
-
))) : /* @__PURE__ */ x.createElement(
|
|
36234
|
+
))) : /* @__PURE__ */ x.createElement(IB, { ...e }));
|
|
36234
36235
|
}, hv = 6, gv = ({
|
|
36235
36236
|
failed: e,
|
|
36236
36237
|
Kind: t,
|
|
@@ -36288,7 +36289,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36288
36289
|
},
|
|
36289
36290
|
c("next label")
|
|
36290
36291
|
)));
|
|
36291
|
-
},
|
|
36292
|
+
}, PB = ({ send: e, active: t }) => {
|
|
36292
36293
|
const r = fi(), { t: n } = ut("os"), [i, o] = Ce(""), a = () => {
|
|
36293
36294
|
r.reset().then(
|
|
36294
36295
|
() => e == null ? void 0 : e({ type: "resetIdentity" }),
|
|
@@ -36297,8 +36298,8 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36297
36298
|
}
|
|
36298
36299
|
);
|
|
36299
36300
|
};
|
|
36300
|
-
return /* @__PURE__ */ x.createElement(
|
|
36301
|
-
},
|
|
36301
|
+
return /* @__PURE__ */ x.createElement(RB, { disabled: !t, validationMessage: i, onConfirm: () => a() });
|
|
36302
|
+
}, RB = ({ disabled: e, validationMessage: t, onConfirm: r }) => {
|
|
36302
36303
|
const { t: n } = ut("os"), i = n("confirmation value"), [o, a] = Ce("");
|
|
36303
36304
|
return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement("div", { role: "none", className: "grow flex flex-col justify-center" }, /* @__PURE__ */ x.createElement(
|
|
36304
36305
|
Fa,
|
|
@@ -36320,7 +36321,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36320
36321
|
},
|
|
36321
36322
|
n("confirm label")
|
|
36322
36323
|
)));
|
|
36323
|
-
}, nr = "pbs-1 pbe-3 pli-3",
|
|
36324
|
+
}, nr = "pbs-1 pbe-3 pli-3", kB = (e) => {
|
|
36324
36325
|
const {
|
|
36325
36326
|
titleId: t,
|
|
36326
36327
|
send: r,
|
|
@@ -36340,10 +36341,10 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36340
36341
|
onSpaceInvitationCancel: b,
|
|
36341
36342
|
onHaloInvitationAuthenticate: w,
|
|
36342
36343
|
onSpaceInvitationAuthenticate: _,
|
|
36343
|
-
IdentityInput: S =
|
|
36344
|
-
ResetIdentity: $ =
|
|
36344
|
+
IdentityInput: S = AB,
|
|
36345
|
+
ResetIdentity: $ = PB
|
|
36345
36346
|
} = e;
|
|
36346
|
-
return /* @__PURE__ */ x.createElement(wo, { density: "fine" }, o !== "halo-only" && /* @__PURE__ */ x.createElement(
|
|
36347
|
+
return /* @__PURE__ */ x.createElement(wo, { density: "fine" }, o !== "halo-only" && /* @__PURE__ */ x.createElement(EB, { titleId: t, mode: o, onExit: f, exitActionParent: g }), /* @__PURE__ */ x.createElement(dt.Root, { focusManaged: !0, activeView: n }, /* @__PURE__ */ x.createElement(dt.Views, null, /* @__PURE__ */ x.createElement(dt.View, { classNames: nr, id: "addition method chooser" }, /* @__PURE__ */ x.createElement($B, { send: r, active: n === "addition method chooser" })), /* @__PURE__ */ x.createElement(dt.View, { classNames: nr, id: "reset identity confirmation" }, /* @__PURE__ */ x.createElement(
|
|
36347
36348
|
$,
|
|
36348
36349
|
{
|
|
36349
36350
|
send: r,
|
|
@@ -36403,7 +36404,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36403
36404
|
onDone: d
|
|
36404
36405
|
}
|
|
36405
36406
|
)), /* @__PURE__ */ x.createElement(dt.View, { classNames: nr, id: "identity added" }, /* @__PURE__ */ x.createElement(
|
|
36406
|
-
|
|
36407
|
+
CB,
|
|
36407
36408
|
{
|
|
36408
36409
|
send: r,
|
|
36409
36410
|
mode: o,
|
|
@@ -36452,7 +36453,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36452
36453
|
onDone: p
|
|
36453
36454
|
}
|
|
36454
36455
|
)))));
|
|
36455
|
-
},
|
|
36456
|
+
}, NB = ({
|
|
36456
36457
|
titleId: e,
|
|
36457
36458
|
mode: t = "default",
|
|
36458
36459
|
initialInvitationCode: r,
|
|
@@ -36461,7 +36462,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36461
36462
|
doneActionParent: o,
|
|
36462
36463
|
onDone: a
|
|
36463
36464
|
}) => {
|
|
36464
|
-
const s = fi(), c = Av(), { hasIosKeyboard: l } = Fe(), f = It("joinPanel__heading", e), [d, p, g] =
|
|
36465
|
+
const s = fi(), c = Av(), { hasIosKeyboard: l } = Fe(), f = It("joinPanel__heading", e), [d, p, g] = SB(s, {
|
|
36465
36466
|
context: {
|
|
36466
36467
|
mode: t,
|
|
36467
36468
|
identity: c,
|
|
@@ -36633,7 +36634,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36633
36634
|
});
|
|
36634
36635
|
}, [d, a]);
|
|
36635
36636
|
return /* @__PURE__ */ x.createElement(
|
|
36636
|
-
|
|
36637
|
+
kB,
|
|
36637
36638
|
{
|
|
36638
36639
|
titleId: f,
|
|
36639
36640
|
mode: t,
|
|
@@ -36669,7 +36670,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36669
36670
|
}
|
|
36670
36671
|
}
|
|
36671
36672
|
);
|
|
36672
|
-
},
|
|
36673
|
+
}, DB = Xd(
|
|
36673
36674
|
{
|
|
36674
36675
|
id: "space",
|
|
36675
36676
|
predictableActionArguments: !0,
|
|
@@ -36703,7 +36704,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36703
36704
|
}
|
|
36704
36705
|
}
|
|
36705
36706
|
}
|
|
36706
|
-
),
|
|
36707
|
+
), LB = (e) => Zd(DB, { ...e, context: { ...e == null ? void 0 : e.context } }), vv = "dxos:react-shell/space-manager/active-action", MB = (e) => {
|
|
36707
36708
|
const { space: t, target: r } = e, { t: n } = ut("os"), i = Ww(), o = Mw(t == null ? void 0 : t.key), a = De((c) => {
|
|
36708
36709
|
const l = ao.encode(c);
|
|
36709
36710
|
c.state === $e.State.CONNECTING && console.log(JSON.stringify({ invitationCode: l, authCode: c.authCode }));
|
|
@@ -36737,8 +36738,8 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36737
36738
|
}, [t])
|
|
36738
36739
|
}
|
|
36739
36740
|
};
|
|
36740
|
-
return /* @__PURE__ */ x.createElement(
|
|
36741
|
-
}, mv = "pis-3 pie-1 plb-1 mbe-1 font-medium",
|
|
36741
|
+
return /* @__PURE__ */ x.createElement(FB, { ...e, invitations: o, inviteActions: s });
|
|
36742
|
+
}, mv = "pis-3 pie-1 plb-1 mbe-1 font-medium", FB = (e) => {
|
|
36742
36743
|
const {
|
|
36743
36744
|
active: t,
|
|
36744
36745
|
space: r,
|
|
@@ -36747,8 +36748,8 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36747
36748
|
inviteActions: o,
|
|
36748
36749
|
invitations: a,
|
|
36749
36750
|
showInactiveInvitations: s,
|
|
36750
|
-
SpaceMemberList: c =
|
|
36751
|
-
InvitationList: l =
|
|
36751
|
+
SpaceMemberList: c = Ck,
|
|
36752
|
+
InvitationList: l = CM
|
|
36752
36753
|
} = e, { t: f } = ut("os"), d = o ?? {
|
|
36753
36754
|
noopInvite: {
|
|
36754
36755
|
label: f("create space invitation label"),
|
|
@@ -36770,7 +36771,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36770
36771
|
createInvitationUrl: n
|
|
36771
36772
|
}
|
|
36772
36773
|
), /* @__PURE__ */ x.createElement("h3", { className: de(mv, Nt, "mbs-2") }, f("space member list heading"))), /* @__PURE__ */ x.createElement(c, { spaceKey: r.key, includeSelf: !0 })), /* @__PURE__ */ x.createElement(ss.Scrollbar, { orientation: "vertical" }, /* @__PURE__ */ x.createElement(ss.Thumb, null))), /* @__PURE__ */ x.createElement(ar, null, /* @__PURE__ */ x.createElement(
|
|
36773
|
-
|
|
36774
|
+
OM,
|
|
36774
36775
|
{
|
|
36775
36776
|
disabled: !t,
|
|
36776
36777
|
actions: d,
|
|
@@ -36779,7 +36780,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36779
36780
|
"data-testid": "spaces-panel.create-invitation"
|
|
36780
36781
|
}
|
|
36781
36782
|
)));
|
|
36782
|
-
},
|
|
36783
|
+
}, BB = ({ titleId: e, space: t, onDone: r }) => {
|
|
36783
36784
|
const { t: n } = ut("os"), i = t.properties.name;
|
|
36784
36785
|
return /* @__PURE__ */ x.createElement(
|
|
36785
36786
|
Wd,
|
|
@@ -36796,11 +36797,11 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36796
36797
|
activeView: r,
|
|
36797
36798
|
space: n,
|
|
36798
36799
|
target: i,
|
|
36799
|
-
SpaceManager: o =
|
|
36800
|
+
SpaceManager: o = MB,
|
|
36800
36801
|
InvitationManager: a = bw,
|
|
36801
36802
|
...s
|
|
36802
36803
|
} = e;
|
|
36803
|
-
return /* @__PURE__ */ x.createElement(wo, { density: "fine" }, /* @__PURE__ */ x.createElement(
|
|
36804
|
+
return /* @__PURE__ */ x.createElement(wo, { density: "fine" }, /* @__PURE__ */ x.createElement(BB, { ...s, titleId: t, space: n }), /* @__PURE__ */ x.createElement(dt.Root, { activeView: r }, /* @__PURE__ */ x.createElement(dt.Views, null, /* @__PURE__ */ x.createElement(dt.View, { id: "space manager", classNames: nr }, /* @__PURE__ */ x.createElement(o, { active: r === "space manager", space: n, target: i, ...s })), /* @__PURE__ */ x.createElement(dt.View, { id: "space invitation manager", classNames: nr }, /* @__PURE__ */ x.createElement(
|
|
36804
36805
|
a,
|
|
36805
36806
|
{
|
|
36806
36807
|
active: r === "space invitation manager",
|
|
@@ -36808,7 +36809,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36808
36809
|
invitationUrl: e.invitationUrl
|
|
36809
36810
|
}
|
|
36810
36811
|
)))));
|
|
36811
|
-
},
|
|
36812
|
+
}, jB = ({
|
|
36812
36813
|
invitation: e,
|
|
36813
36814
|
...t
|
|
36814
36815
|
}) => {
|
|
@@ -36821,12 +36822,12 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36821
36822
|
invitationUrl: t.createInvitationUrl(r.invitationCode)
|
|
36822
36823
|
}
|
|
36823
36824
|
);
|
|
36824
|
-
},
|
|
36825
|
+
}, UB = ({
|
|
36825
36826
|
titleId: e,
|
|
36826
36827
|
createInvitationUrl: t = (n) => n,
|
|
36827
36828
|
...r
|
|
36828
36829
|
}) => {
|
|
36829
|
-
const n = It("spacePanel__heading", e), [i, o, a] =
|
|
36830
|
+
const n = It("spacePanel__heading", e), [i, o, a] = LB({ context: { space: r.space } });
|
|
36830
36831
|
_e(() => a.subscribe((f) => {
|
|
36831
36832
|
ot("[state]", f);
|
|
36832
36833
|
}).unsubscribe, [a]);
|
|
@@ -36848,15 +36849,15 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36848
36849
|
};
|
|
36849
36850
|
return i.context.invitation ? (
|
|
36850
36851
|
// TODO(wittjosiah): Unused? Remove?
|
|
36851
|
-
/* @__PURE__ */ x.createElement(
|
|
36852
|
+
/* @__PURE__ */ x.createElement(jB, { ...c, invitation: i.context.invitation })
|
|
36852
36853
|
) : /* @__PURE__ */ x.createElement(_w, { ...c });
|
|
36853
|
-
},
|
|
36854
|
+
}, WB = (e) => {
|
|
36854
36855
|
const t = It("spaceDialog__title");
|
|
36855
36856
|
return /* @__PURE__ */ x.createElement(Br.Root, { defaultOpen: !0, onOpenChange: (r) => {
|
|
36856
36857
|
var n;
|
|
36857
36858
|
return r || ((n = e.onDone) == null ? void 0 : n.call(e));
|
|
36858
36859
|
} }, /* @__PURE__ */ x.createElement(Br.Portal, null, /* @__PURE__ */ x.createElement(Br.Overlay, null, /* @__PURE__ */ x.createElement(Br.Content, { "aria-labelledby": t, onOpenAutoFocus: (r) => r.preventDefault() }, /* @__PURE__ */ x.createElement(gd, null, /* @__PURE__ */ x.createElement(
|
|
36859
|
-
|
|
36860
|
+
_B,
|
|
36860
36861
|
{
|
|
36861
36862
|
...e,
|
|
36862
36863
|
titleId: t,
|
|
@@ -36875,7 +36876,7 @@ const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36875
36876
|
}
|
|
36876
36877
|
},
|
|
36877
36878
|
/* @__PURE__ */ x.createElement(Ui.Portal, null, /* @__PURE__ */ x.createElement(Ui.Overlay, { classNames: "backdrop-blur", ...r && { style: { blockSize: `${r}px` } } }, /* @__PURE__ */ x.createElement(Ui.Content, { "aria-labelledby": t }, /* @__PURE__ */ x.createElement(
|
|
36878
|
-
|
|
36879
|
+
NB,
|
|
36879
36880
|
{
|
|
36880
36881
|
...e,
|
|
36881
36882
|
titleId: t,
|
|
@@ -38031,12 +38032,12 @@ var Tf = { exports: {} };
|
|
|
38031
38032
|
}
|
|
38032
38033
|
})(typeof window == "object" ? window : it);
|
|
38033
38034
|
})(Tf, Tf.exports);
|
|
38034
|
-
var
|
|
38035
|
+
var zB = Tf.exports, Ps = "/home/runner/work/dxos/dxos/packages/core/mesh/rpc-tunnel/src/ports/iframe.ts", Qd, ep;
|
|
38035
38036
|
if (typeof navigator < "u") {
|
|
38036
|
-
const e = new
|
|
38037
|
+
const e = new zB.UAParser(navigator.userAgent);
|
|
38037
38038
|
Qd = e.getBrowser().name, ep = e.getOS().name;
|
|
38038
38039
|
}
|
|
38039
|
-
var
|
|
38040
|
+
var HB = (e, t, r) => {
|
|
38040
38041
|
if (!e.contentWindow) {
|
|
38041
38042
|
ot("IFrame content window missing", {
|
|
38042
38043
|
origin: t
|
|
@@ -38051,7 +38052,7 @@ var zB = (e, t, r) => {
|
|
|
38051
38052
|
Qd === "Chrome" && ep === "iOS" ? e.contentWindow.postMessage(r, t) : e.contentWindow.postMessage(r, t, [
|
|
38052
38053
|
r.payload
|
|
38053
38054
|
]);
|
|
38054
|
-
},
|
|
38055
|
+
}, VB = (e, t) => {
|
|
38055
38056
|
Qd === "Chrome" && ep === "iOS" ? window.parent.postMessage(t, e) : window.parent.postMessage(t, e, [
|
|
38056
38057
|
t.payload
|
|
38057
38058
|
]);
|
|
@@ -38081,7 +38082,7 @@ var zB = (e, t, r) => {
|
|
|
38081
38082
|
channel: e,
|
|
38082
38083
|
payload: o
|
|
38083
38084
|
};
|
|
38084
|
-
t ?
|
|
38085
|
+
t ? HB(t, r, a) : VB(r, a);
|
|
38085
38086
|
},
|
|
38086
38087
|
subscribe: (i) => {
|
|
38087
38088
|
const o = (a) => {
|
|
@@ -38100,20 +38101,20 @@ var zB = (e, t, r) => {
|
|
|
38100
38101
|
return window.addEventListener("message", o), () => window.removeEventListener("message", o);
|
|
38101
38102
|
}
|
|
38102
38103
|
});
|
|
38103
|
-
const
|
|
38104
|
+
const GB = (e) => {
|
|
38104
38105
|
const t = It("spaceDialog__title");
|
|
38105
38106
|
return /* @__PURE__ */ x.createElement(Br.Root, { defaultOpen: !0, onOpenChange: (r) => {
|
|
38106
38107
|
var n;
|
|
38107
38108
|
return r || ((n = e.onDone) == null ? void 0 : n.call(e));
|
|
38108
38109
|
} }, /* @__PURE__ */ x.createElement(Br.Portal, null, /* @__PURE__ */ x.createElement(Br.Overlay, null, /* @__PURE__ */ x.createElement(Br.Content, { "aria-labelledby": t }, /* @__PURE__ */ x.createElement(gd, null, /* @__PURE__ */ x.createElement(
|
|
38109
|
-
|
|
38110
|
+
UB,
|
|
38110
38111
|
{
|
|
38111
38112
|
...e,
|
|
38112
38113
|
titleId: t,
|
|
38113
38114
|
doneActionParent: /* @__PURE__ */ x.createElement(Br.Close, { asChild: !0 })
|
|
38114
38115
|
}
|
|
38115
38116
|
))))));
|
|
38116
|
-
},
|
|
38117
|
+
}, KB = ({ runtime: e, origin: t }) => {
|
|
38117
38118
|
const [{ layout: r, invitationCode: n, spaceKey: i, target: o }, a] = Ce({
|
|
38118
38119
|
layout: e.layout,
|
|
38119
38120
|
invitationCode: e.invitationCode,
|
|
@@ -38144,7 +38145,7 @@ const VB = (e) => {
|
|
|
38144
38145
|
case cr.SHARE_IDENTITY:
|
|
38145
38146
|
case cr.EDIT_PROFILE:
|
|
38146
38147
|
return /* @__PURE__ */ x.createElement(
|
|
38147
|
-
|
|
38148
|
+
WB,
|
|
38148
38149
|
{
|
|
38149
38150
|
createInvitationUrl: (l) => `${t}?deviceInvitationCode=${l}`,
|
|
38150
38151
|
onResetDevice: async () => {
|
|
@@ -38158,7 +38159,7 @@ const VB = (e) => {
|
|
|
38158
38159
|
);
|
|
38159
38160
|
case cr.SPACE:
|
|
38160
38161
|
return c ? /* @__PURE__ */ x.createElement(
|
|
38161
|
-
|
|
38162
|
+
GB,
|
|
38162
38163
|
{
|
|
38163
38164
|
space: c,
|
|
38164
38165
|
target: o,
|
|
@@ -38189,7 +38190,7 @@ const VB = (e) => {
|
|
|
38189
38190
|
default:
|
|
38190
38191
|
return null;
|
|
38191
38192
|
}
|
|
38192
|
-
},
|
|
38193
|
+
}, qB = {
|
|
38193
38194
|
"manage profile label": "Manage identity",
|
|
38194
38195
|
"identity offline description": "Offline",
|
|
38195
38196
|
"sidebar label": "DXOS sidebar",
|
|
@@ -38290,17 +38291,17 @@ const VB = (e) => {
|
|
|
38290
38291
|
"join new identity label": "Join a new identity",
|
|
38291
38292
|
"reset device label": "Reset device",
|
|
38292
38293
|
"reset device confirm message": "Are you sure you want to reset your device? All data will be lost."
|
|
38293
|
-
},
|
|
38294
|
+
}, YB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
38294
38295
|
__proto__: null,
|
|
38295
|
-
os:
|
|
38296
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
38296
|
+
os: qB
|
|
38297
|
+
}, Symbol.toStringTag, { value: "Module" })), JB = { "en-US": YB }, Ej = async (e = new Kw()) => {
|
|
38297
38298
|
const t = new zw(wv({ channel: qw })), r = new Hw({ config: e, services: t }), n = new Xw(wv({ channel: Yw }));
|
|
38298
38299
|
await Promise.all([n.open(), r.initialize()]), Of(document.getElementById("root")).render(
|
|
38299
|
-
/* @__PURE__ */ x.createElement(xw, null, /* @__PURE__ */ x.createElement(p6, { tx:
|
|
38300
|
+
/* @__PURE__ */ x.createElement(xw, null, /* @__PURE__ */ x.createElement(p6, { tx: Ek, resourceExtensions: [JB] }, /* @__PURE__ */ x.createElement(Vw.Provider, { value: { client: r, status: Gw.ACTIVE } }, /* @__PURE__ */ x.createElement(gd, null, /* @__PURE__ */ x.createElement($r.Provider, null, /* @__PURE__ */ x.createElement(KB, { runtime: n, origin: location.origin }))))))
|
|
38300
38301
|
);
|
|
38301
38302
|
};
|
|
38302
38303
|
Vt({});
|
|
38303
38304
|
export {
|
|
38304
|
-
|
|
38305
|
+
Ej as runShell
|
|
38305
38306
|
};
|
|
38306
38307
|
//# sourceMappingURL=shell.mjs.map
|