@dxos/shell 0.4.3-main.f97384b → 0.4.3
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 +630 -633
- package/dist/bundle/shell.mjs.map +1 -1
- package/dist/bundle/shell.umd.js +22 -22
- package/dist/bundle/shell.umd.js.map +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react.mjs +9 -7
- package/dist/lib/browser/react.mjs.map +3 -3
- package/dist/types/src/components/IdentityList/DeviceList.d.ts.map +1 -1
- package/dist/types/src/components/IdentityList/DeviceList.js +4 -6
- package/dist/types/src/components/IdentityList/DeviceList.js.map +1 -1
- package/package.json +19 -19
- package/src/components/IdentityList/DeviceList.tsx +5 -7
package/dist/bundle/shell.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as we from "react";
|
|
2
2
|
import x, { createContext as Vt, useContext as Jt, useState as Ce, useRef as Ee, useEffect as _e, useMemo as gt, useCallback as De, forwardRef as ne, Children as fr, isValidElement as Mn, createElement as te, cloneElement as Ir, Fragment as vo, useLayoutEffect as ui, useReducer as ac, Suspense as Ew, StrictMode as xw } from "react";
|
|
3
3
|
import * as _v from "react-dom";
|
|
4
|
-
import
|
|
4
|
+
import If, { flushSync as sc } from "react-dom";
|
|
5
5
|
import { CaretDown as Ev, CaretRight as ri, Minus as Sw, Check as cc, Copy as xv, X as pa, Placeholder as Sv, HardDrive as $w, Plus as $v, Devices as Cw, UserGear as Aw, Power as Ow, Warning as Tw, QrCode as Iw, Textbox as Pw, UserPlus as Rw, UsersThree as kw, Planet as Nw } from "@phosphor-icons/react";
|
|
6
6
|
import { SpaceMember as Dw, useMembers as Lw, useSpaceInvitations as Mw, useSpace as Fw } from "@dxos/react-client/echo";
|
|
7
7
|
import { useClient as fi, useAgentHostingProviderClient as Bw, AlreadyJoinedError as jw, useMulticastObservable as Uw, useConfig as Ww, ShellLayout as cr, ShellDisplay as Jn, ClientServicesProxy as zw, Client as Hw, ClientContext as Vw, SystemStatus as Gw, Config as Kw } from "@dxos/react-client";
|
|
@@ -127,7 +127,7 @@ function ip(e) {
|
|
|
127
127
|
}
|
|
128
128
|
return e;
|
|
129
129
|
}
|
|
130
|
-
var
|
|
130
|
+
var wu = {
|
|
131
131
|
bindI18n: "languageChanged",
|
|
132
132
|
bindI18nStore: "",
|
|
133
133
|
transEmptyNodeValue: "",
|
|
@@ -139,10 +139,10 @@ var bu = {
|
|
|
139
139
|
}, Iv, a_ = Vt();
|
|
140
140
|
function s_() {
|
|
141
141
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
142
|
-
|
|
142
|
+
wu = ip(ip({}, wu), e);
|
|
143
143
|
}
|
|
144
144
|
function c_() {
|
|
145
|
-
return
|
|
145
|
+
return wu;
|
|
146
146
|
}
|
|
147
147
|
var l_ = function() {
|
|
148
148
|
function e() {
|
|
@@ -183,7 +183,7 @@ function p_() {
|
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
var op = {};
|
|
186
|
-
function
|
|
186
|
+
function _u() {
|
|
187
187
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
188
188
|
t[r] = arguments[r];
|
|
189
189
|
typeof t[0] == "string" && op[t[0]] || (typeof t[0] == "string" && (op[t[0]] = /* @__PURE__ */ new Date()), p_.apply(void 0, t));
|
|
@@ -215,7 +215,7 @@ function h_(e, t) {
|
|
|
215
215
|
function g_(e, t) {
|
|
216
216
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
217
217
|
if (!t.languages || !t.languages.length)
|
|
218
|
-
return
|
|
218
|
+
return _u("i18n.languages were undefined or empty", t.languages), !0;
|
|
219
219
|
var n = t.options.ignoreJSONStructure !== void 0;
|
|
220
220
|
return n ? t.hasLoadedNamespace(e, {
|
|
221
221
|
precheck: function(o, a) {
|
|
@@ -288,7 +288,7 @@ function cp(e, t) {
|
|
|
288
288
|
}
|
|
289
289
|
return r;
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function El(e) {
|
|
292
292
|
for (var t = 1; t < arguments.length; t++) {
|
|
293
293
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
294
294
|
t % 2 ? cp(Object(r), !0).forEach(function(n) {
|
|
@@ -308,14 +308,14 @@ var __ = function(t, r) {
|
|
|
308
308
|
function E_(e) {
|
|
309
309
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = t.i18n, n = Jt(a_) || {}, i = n.i18n, o = n.defaultNS, a = r || i || f_();
|
|
310
310
|
if (a && !a.reportNamespaces && (a.reportNamespaces = new l_()), !a) {
|
|
311
|
-
|
|
311
|
+
_u("You will need to pass in an i18next instance by using initReactI18next");
|
|
312
312
|
var s = function(N) {
|
|
313
313
|
return Array.isArray(N) ? N[N.length - 1] : N;
|
|
314
314
|
}, c = [s, {}, !1];
|
|
315
315
|
return c.t = s, c.i18n = {}, c.ready = !1, c;
|
|
316
316
|
}
|
|
317
|
-
a.options.react && a.options.react.wait !== void 0 &&
|
|
318
|
-
var l =
|
|
317
|
+
a.options.react && a.options.react.wait !== void 0 && _u("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
318
|
+
var l = El(El(El({}, c_()), a.options.react), t), f = l.useSuspense, d = l.keyPrefix, p = e || o || a.options && a.options.defaultNS;
|
|
319
319
|
p = typeof p == "string" ? [p] : p || ["translation"], a.reportNamespaces.addUsedNamespaces && a.reportNamespaces.addUsedNamespaces(p);
|
|
320
320
|
var g = (a.isInitialized || a.initializedStoreOnce) && p.every(function(T) {
|
|
321
321
|
return g_(T, a, l);
|
|
@@ -402,7 +402,7 @@ var Pv = { exports: {} };
|
|
|
402
402
|
})(Pv);
|
|
403
403
|
var x_ = Pv.exports;
|
|
404
404
|
const S_ = /* @__PURE__ */ Un(x_);
|
|
405
|
-
var
|
|
405
|
+
var Pf = (e) => {
|
|
406
406
|
const t = Ee(null);
|
|
407
407
|
return _e(() => {
|
|
408
408
|
e && (typeof e == "function" ? e(t.current) : e.current = t.current);
|
|
@@ -472,15 +472,15 @@ var If = (e) => {
|
|
|
472
472
|
document.defaultView
|
|
473
473
|
]), a.map((c) => !!c.matches);
|
|
474
474
|
};
|
|
475
|
-
function
|
|
476
|
-
return
|
|
475
|
+
function Eu() {
|
|
476
|
+
return Eu = Object.assign ? Object.assign.bind() : function(e) {
|
|
477
477
|
for (var t = 1; t < arguments.length; t++) {
|
|
478
478
|
var r = arguments[t];
|
|
479
479
|
for (var n in r)
|
|
480
480
|
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
481
481
|
}
|
|
482
482
|
return e;
|
|
483
|
-
},
|
|
483
|
+
}, Eu.apply(this, arguments);
|
|
484
484
|
}
|
|
485
485
|
function ht() {
|
|
486
486
|
return ht = Object.assign ? Object.assign.bind() : function(e) {
|
|
@@ -495,35 +495,35 @@ function ht() {
|
|
|
495
495
|
function T_(e, t) {
|
|
496
496
|
typeof e == "function" ? e(t) : e != null && (e.current = t);
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function Rf(...e) {
|
|
499
499
|
return (t) => e.forEach(
|
|
500
500
|
(r) => T_(r, t)
|
|
501
501
|
);
|
|
502
502
|
}
|
|
503
503
|
function dr(...e) {
|
|
504
|
-
return De(
|
|
504
|
+
return De(Rf(...e), e);
|
|
505
505
|
}
|
|
506
506
|
const kt = /* @__PURE__ */ ne((e, t) => {
|
|
507
507
|
const { children: r, ...n } = e, i = fr.toArray(r), o = i.find(P_);
|
|
508
508
|
if (o) {
|
|
509
509
|
const a = o.props.children, s = i.map((c) => c === o ? fr.count(a) > 1 ? fr.only(null) : /* @__PURE__ */ Mn(a) ? a.props.children : null : c);
|
|
510
|
-
return /* @__PURE__ */ te(
|
|
510
|
+
return /* @__PURE__ */ te(xu, ht({}, n, {
|
|
511
511
|
ref: t
|
|
512
512
|
}), /* @__PURE__ */ Mn(a) ? /* @__PURE__ */ Ir(a, void 0, s) : null);
|
|
513
513
|
}
|
|
514
|
-
return /* @__PURE__ */ te(
|
|
514
|
+
return /* @__PURE__ */ te(xu, ht({}, n, {
|
|
515
515
|
ref: t
|
|
516
516
|
}), r);
|
|
517
517
|
});
|
|
518
518
|
kt.displayName = "Slot";
|
|
519
|
-
const
|
|
519
|
+
const xu = /* @__PURE__ */ ne((e, t) => {
|
|
520
520
|
const { children: r, ...n } = e;
|
|
521
521
|
return /* @__PURE__ */ Mn(r) ? /* @__PURE__ */ Ir(r, {
|
|
522
522
|
...R_(n, r.props),
|
|
523
|
-
ref: t ?
|
|
523
|
+
ref: t ? Rf(t, r.ref) : r.ref
|
|
524
524
|
}) : fr.count(r) > 1 ? fr.only(null) : null;
|
|
525
525
|
});
|
|
526
|
-
|
|
526
|
+
xu.displayName = "SlotClone";
|
|
527
527
|
const I_ = ({ children: e }) => /* @__PURE__ */ te(vo, null, e);
|
|
528
528
|
function P_(e) {
|
|
529
529
|
return /* @__PURE__ */ Mn(e) && e.type === I_;
|
|
@@ -571,7 +571,7 @@ const k_ = [
|
|
|
571
571
|
const { asChild: o, ...a } = n, s = o ? kt : t;
|
|
572
572
|
return _e(() => {
|
|
573
573
|
window[Symbol.for("radix-ui")] = !0;
|
|
574
|
-
}, []), /* @__PURE__ */ te(s,
|
|
574
|
+
}, []), /* @__PURE__ */ te(s, Eu({}, a, {
|
|
575
575
|
ref: i
|
|
576
576
|
}));
|
|
577
577
|
});
|
|
@@ -585,7 +585,7 @@ function kv(e, t) {
|
|
|
585
585
|
() => e.dispatchEvent(t)
|
|
586
586
|
);
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function xl(e) {
|
|
589
589
|
return (t = {}) => {
|
|
590
590
|
const r = t.width ? String(t.width) : e.defaultWidth;
|
|
591
591
|
return e.formats[r] || e.formats[e.defaultWidth];
|
|
@@ -991,15 +991,15 @@ const M_ = {
|
|
|
991
991
|
medium: "{{date}}, {{time}}",
|
|
992
992
|
short: "{{date}}, {{time}}"
|
|
993
993
|
}, fE = {
|
|
994
|
-
date:
|
|
994
|
+
date: xl({
|
|
995
995
|
formats: cE,
|
|
996
996
|
defaultWidth: "full"
|
|
997
997
|
}),
|
|
998
|
-
time:
|
|
998
|
+
time: xl({
|
|
999
999
|
formats: lE,
|
|
1000
1000
|
defaultWidth: "full"
|
|
1001
1001
|
}),
|
|
1002
|
-
dateTime:
|
|
1002
|
+
dateTime: xl({
|
|
1003
1003
|
formats: uE,
|
|
1004
1004
|
defaultWidth: "full"
|
|
1005
1005
|
})
|
|
@@ -1059,10 +1059,10 @@ function Pn(e) {
|
|
|
1059
1059
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1060
1060
|
return e;
|
|
1061
1061
|
}
|
|
1062
|
-
function
|
|
1063
|
-
return
|
|
1062
|
+
function Su(e, t) {
|
|
1063
|
+
return Su = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, i) {
|
|
1064
1064
|
return n.__proto__ = i, n;
|
|
1065
|
-
},
|
|
1065
|
+
}, Su(e, t);
|
|
1066
1066
|
}
|
|
1067
1067
|
function lc(e, t) {
|
|
1068
1068
|
if (typeof t != "function" && t !== null)
|
|
@@ -1075,7 +1075,7 @@ function lc(e, t) {
|
|
|
1075
1075
|
}
|
|
1076
1076
|
}), Object.defineProperty(e, "prototype", {
|
|
1077
1077
|
writable: !1
|
|
1078
|
-
}), t &&
|
|
1078
|
+
}), t && Su(e, t);
|
|
1079
1079
|
}
|
|
1080
1080
|
function Ca(e, t) {
|
|
1081
1081
|
if (t && (Cr(t) === "object" || typeof t == "function"))
|
|
@@ -1285,7 +1285,7 @@ function _E(e, t, r) {
|
|
|
1285
1285
|
t[n] && (r[n] = t[n]);
|
|
1286
1286
|
});
|
|
1287
1287
|
}
|
|
1288
|
-
function
|
|
1288
|
+
function kf(e, t, r) {
|
|
1289
1289
|
function n(s) {
|
|
1290
1290
|
return s && s.indexOf("###") > -1 ? s.replace(/###/g, ".") : s;
|
|
1291
1291
|
}
|
|
@@ -1304,15 +1304,15 @@ function Rf(e, t, r) {
|
|
|
1304
1304
|
};
|
|
1305
1305
|
}
|
|
1306
1306
|
function gp(e, t, r) {
|
|
1307
|
-
var n =
|
|
1307
|
+
var n = kf(e, t, Object), i = n.obj, o = n.k;
|
|
1308
1308
|
i[o] = r;
|
|
1309
1309
|
}
|
|
1310
1310
|
function EE(e, t, r, n) {
|
|
1311
|
-
var i =
|
|
1311
|
+
var i = kf(e, t, Object), o = i.obj, a = i.k;
|
|
1312
1312
|
o[a] = o[a] || [], n && (o[a] = o[a].concat(r)), n || o[a].push(r);
|
|
1313
1313
|
}
|
|
1314
1314
|
function Rs(e, t) {
|
|
1315
|
-
var r =
|
|
1315
|
+
var r = kf(e, t), n = r.obj, i = r.k;
|
|
1316
1316
|
if (n)
|
|
1317
1317
|
return n[i];
|
|
1318
1318
|
}
|
|
@@ -1793,7 +1793,7 @@ var bp = {}, wp = function(e) {
|
|
|
1793
1793
|
}
|
|
1794
1794
|
}]), r;
|
|
1795
1795
|
}(Fn);
|
|
1796
|
-
function
|
|
1796
|
+
function Sl(e) {
|
|
1797
1797
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
1798
1798
|
}
|
|
1799
1799
|
var RE = function() {
|
|
@@ -1823,7 +1823,7 @@ var RE = function() {
|
|
|
1823
1823
|
var n = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"], i = r.split("-");
|
|
1824
1824
|
return this.options.lowerCaseLng ? i = i.map(function(o) {
|
|
1825
1825
|
return o.toLowerCase();
|
|
1826
|
-
}) : i.length === 2 ? (i[0] = i[0].toLowerCase(), i[1] = i[1].toUpperCase(), n.indexOf(i[1].toLowerCase()) > -1 && (i[1] =
|
|
1826
|
+
}) : i.length === 2 ? (i[0] = i[0].toLowerCase(), i[1] = i[1].toUpperCase(), n.indexOf(i[1].toLowerCase()) > -1 && (i[1] = Sl(i[1].toLowerCase()))) : i.length === 3 && (i[0] = i[0].toLowerCase(), i[1].length === 2 && (i[1] = i[1].toUpperCase()), i[0] !== "sgn" && i[2].length === 2 && (i[2] = i[2].toUpperCase()), n.indexOf(i[1].toLowerCase()) > -1 && (i[1] = Sl(i[1].toLowerCase())), n.indexOf(i[2].toLowerCase()) > -1 && (i[2] = Sl(i[2].toLowerCase()))), i.join("-");
|
|
1827
1827
|
}
|
|
1828
1828
|
return this.options.cleanCode || this.options.lowerCaseLng ? r.toLowerCase() : r;
|
|
1829
1829
|
}
|
|
@@ -3154,30 +3154,30 @@ function Fv(...e) {
|
|
|
3154
3154
|
function Dt(...e) {
|
|
3155
3155
|
return De(Fv(...e), e);
|
|
3156
3156
|
}
|
|
3157
|
-
const
|
|
3157
|
+
const Nf = /* @__PURE__ */ ne((e, t) => {
|
|
3158
3158
|
const { children: r, ...n } = e, i = fr.toArray(r), o = i.find(ZE);
|
|
3159
3159
|
if (o) {
|
|
3160
3160
|
const a = o.props.children, s = i.map((c) => c === o ? fr.count(a) > 1 ? fr.only(null) : /* @__PURE__ */ Mn(a) ? a.props.children : null : c);
|
|
3161
|
-
return /* @__PURE__ */ te(
|
|
3161
|
+
return /* @__PURE__ */ te($u, nt({}, n, {
|
|
3162
3162
|
ref: t
|
|
3163
3163
|
}), /* @__PURE__ */ Mn(a) ? /* @__PURE__ */ Ir(a, void 0, s) : null);
|
|
3164
3164
|
}
|
|
3165
|
-
return /* @__PURE__ */ te(
|
|
3165
|
+
return /* @__PURE__ */ te($u, nt({}, n, {
|
|
3166
3166
|
ref: t
|
|
3167
3167
|
}), r);
|
|
3168
3168
|
});
|
|
3169
|
-
|
|
3170
|
-
const
|
|
3169
|
+
Nf.displayName = "Slot";
|
|
3170
|
+
const $u = /* @__PURE__ */ ne((e, t) => {
|
|
3171
3171
|
const { children: r, ...n } = e;
|
|
3172
3172
|
return /* @__PURE__ */ Mn(r) ? /* @__PURE__ */ Ir(r, {
|
|
3173
3173
|
...QE(n, r.props),
|
|
3174
3174
|
ref: Fv(t, r.ref)
|
|
3175
3175
|
}) : fr.count(r) > 1 ? fr.only(null) : null;
|
|
3176
3176
|
});
|
|
3177
|
-
|
|
3178
|
-
const
|
|
3177
|
+
$u.displayName = "SlotClone";
|
|
3178
|
+
const Df = ({ children: e }) => /* @__PURE__ */ te(vo, null, e);
|
|
3179
3179
|
function ZE(e) {
|
|
3180
|
-
return /* @__PURE__ */ Mn(e) && e.type ===
|
|
3180
|
+
return /* @__PURE__ */ Mn(e) && e.type === Df;
|
|
3181
3181
|
}
|
|
3182
3182
|
function QE(e, t) {
|
|
3183
3183
|
const r = {
|
|
@@ -3219,7 +3219,7 @@ const ex = [
|
|
|
3219
3219
|
"ul"
|
|
3220
3220
|
], wt = ex.reduce((e, t) => {
|
|
3221
3221
|
const r = /* @__PURE__ */ ne((n, i) => {
|
|
3222
|
-
const { asChild: o, ...a } = n, s = o ?
|
|
3222
|
+
const { asChild: o, ...a } = n, s = o ? Nf : t;
|
|
3223
3223
|
return _e(() => {
|
|
3224
3224
|
window[Symbol.for("radix-ui")] = !0;
|
|
3225
3225
|
}, []), /* @__PURE__ */ te(s, nt({}, a, {
|
|
@@ -3375,7 +3375,7 @@ function Zo(e, t, r) {
|
|
|
3375
3375
|
function Uv(e) {
|
|
3376
3376
|
return e |= 0, e < 0 ? "00" : e < 16 ? "0" + e.toString(16) : e < 256 ? e.toString(16) : "ff";
|
|
3377
3377
|
}
|
|
3378
|
-
function
|
|
3378
|
+
function $l(e, t, r) {
|
|
3379
3379
|
return r = r < 0 ? r + 6 : r > 6 ? r - 6 : r, Uv(255 * (r < 1 ? e + (t - e) * r : r < 3 ? t : r < 4 ? e + (t - e) * (4 - r) : e));
|
|
3380
3380
|
}
|
|
3381
3381
|
function ux(e) {
|
|
@@ -3396,7 +3396,7 @@ function fx(e, t, r) {
|
|
|
3396
3396
|
n = i + i + i;
|
|
3397
3397
|
} else {
|
|
3398
3398
|
const i = r <= 0.5 ? r * (t + 1) : r + t - r * t, o = r * 2 - i;
|
|
3399
|
-
n =
|
|
3399
|
+
n = $l(o, i, e * 6 + 2) + $l(o, i, e * 6) + $l(o, i, e * 6 - 2);
|
|
3400
3400
|
}
|
|
3401
3401
|
return "#" + n;
|
|
3402
3402
|
}
|
|
@@ -3908,7 +3908,7 @@ function kx(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
3908
3908
|
t
|
|
3909
3909
|
]);
|
|
3910
3910
|
}
|
|
3911
|
-
const
|
|
3911
|
+
const Cu = "dismissableLayer.update", Nx = "dismissableLayer.pointerDownOutside", Dx = "dismissableLayer.focusOutside";
|
|
3912
3912
|
let Ip;
|
|
3913
3913
|
const Lx = /* @__PURE__ */ Vt({
|
|
3914
3914
|
layers: /* @__PURE__ */ new Set(),
|
|
@@ -3955,7 +3955,7 @@ const Lx = /* @__PURE__ */ Vt({
|
|
|
3955
3955
|
f
|
|
3956
3956
|
]), _e(() => {
|
|
3957
3957
|
const T = () => v({});
|
|
3958
|
-
return document.addEventListener(
|
|
3958
|
+
return document.addEventListener(Cu, T), () => document.removeEventListener(Cu, T);
|
|
3959
3959
|
}, []), /* @__PURE__ */ te(wt.div, nt({}, l, {
|
|
3960
3960
|
ref: m,
|
|
3961
3961
|
style: {
|
|
@@ -4020,7 +4020,7 @@ function Fx(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
4020
4020
|
};
|
|
4021
4021
|
}
|
|
4022
4022
|
function Pp() {
|
|
4023
|
-
const e = new CustomEvent(
|
|
4023
|
+
const e = new CustomEvent(Cu);
|
|
4024
4024
|
document.dispatchEvent(e);
|
|
4025
4025
|
}
|
|
4026
4026
|
function Hv(e, t, r, { discrete: n }) {
|
|
@@ -4033,7 +4033,7 @@ function Hv(e, t, r, { discrete: n }) {
|
|
|
4033
4033
|
once: !0
|
|
4034
4034
|
}), n ? tx(i, o) : i.dispatchEvent(o);
|
|
4035
4035
|
}
|
|
4036
|
-
const
|
|
4036
|
+
const Cl = "focusScope.autoFocusOnMount", Al = "focusScope.autoFocusOnUnmount", Rp = {
|
|
4037
4037
|
bubbles: !1,
|
|
4038
4038
|
cancelable: !0
|
|
4039
4039
|
}, Bx = /* @__PURE__ */ ne((e, t) => {
|
|
@@ -4076,17 +4076,17 @@ const $l = "focusScope.autoFocusOnMount", Cl = "focusScope.autoFocusOnUnmount",
|
|
|
4076
4076
|
Np.add(g);
|
|
4077
4077
|
const m = document.activeElement;
|
|
4078
4078
|
if (!s.contains(m)) {
|
|
4079
|
-
const w = new CustomEvent(
|
|
4080
|
-
s.addEventListener(
|
|
4079
|
+
const w = new CustomEvent(Cl, Rp);
|
|
4080
|
+
s.addEventListener(Cl, l), s.dispatchEvent(w), w.defaultPrevented || (jx(Vx(Vv(s)), {
|
|
4081
4081
|
select: !0
|
|
4082
4082
|
}), document.activeElement === m && Zn(s));
|
|
4083
4083
|
}
|
|
4084
4084
|
return () => {
|
|
4085
|
-
s.removeEventListener(
|
|
4086
|
-
const w = new CustomEvent(
|
|
4087
|
-
s.addEventListener(
|
|
4085
|
+
s.removeEventListener(Cl, l), setTimeout(() => {
|
|
4086
|
+
const w = new CustomEvent(Al, Rp);
|
|
4087
|
+
s.addEventListener(Al, f), s.dispatchEvent(w), w.defaultPrevented || Zn(m ?? document.body, {
|
|
4088
4088
|
select: !0
|
|
4089
|
-
}), s.removeEventListener(
|
|
4089
|
+
}), s.removeEventListener(Al, f), Np.remove(g);
|
|
4090
4090
|
}, 0);
|
|
4091
4091
|
};
|
|
4092
4092
|
}
|
|
@@ -4204,7 +4204,7 @@ function Vx(e) {
|
|
|
4204
4204
|
const Gv = /* @__PURE__ */ ne((e, t) => {
|
|
4205
4205
|
var r;
|
|
4206
4206
|
const { container: n = globalThis == null || (r = globalThis.document) === null || r === void 0 ? void 0 : r.body, ...i } = e;
|
|
4207
|
-
return n ? /* @__PURE__ */
|
|
4207
|
+
return n ? /* @__PURE__ */ If.createPortal(/* @__PURE__ */ te(wt.div, nt({}, i, {
|
|
4208
4208
|
ref: t
|
|
4209
4209
|
})), n) : null;
|
|
4210
4210
|
});
|
|
@@ -4282,15 +4282,15 @@ function Kx(e) {
|
|
|
4282
4282
|
function es(e) {
|
|
4283
4283
|
return (e == null ? void 0 : e.animationName) || "none";
|
|
4284
4284
|
}
|
|
4285
|
-
let
|
|
4285
|
+
let Ol = 0;
|
|
4286
4286
|
function qx() {
|
|
4287
4287
|
_e(() => {
|
|
4288
4288
|
var e, t;
|
|
4289
4289
|
const r = document.querySelectorAll("[data-radix-focus-guard]");
|
|
4290
|
-
return document.body.insertAdjacentElement("afterbegin", (e = r[0]) !== null && e !== void 0 ? e : Lp()), document.body.insertAdjacentElement("beforeend", (t = r[1]) !== null && t !== void 0 ? t : Lp()),
|
|
4291
|
-
|
|
4290
|
+
return document.body.insertAdjacentElement("afterbegin", (e = r[0]) !== null && e !== void 0 ? e : Lp()), document.body.insertAdjacentElement("beforeend", (t = r[1]) !== null && t !== void 0 ? t : Lp()), Ol++, () => {
|
|
4291
|
+
Ol === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach(
|
|
4292
4292
|
(n) => n.remove()
|
|
4293
|
-
),
|
|
4293
|
+
), Ol--;
|
|
4294
4294
|
};
|
|
4295
4295
|
}, []);
|
|
4296
4296
|
}
|
|
@@ -4431,12 +4431,12 @@ qv.isSideCarExport = !0;
|
|
|
4431
4431
|
function i2(e, t) {
|
|
4432
4432
|
return e.useMedium(t), qv;
|
|
4433
4433
|
}
|
|
4434
|
-
var Yv = n2(),
|
|
4434
|
+
var Yv = n2(), Tl = function() {
|
|
4435
4435
|
}, dc = we.forwardRef(function(e, t) {
|
|
4436
4436
|
var r = we.useRef(null), n = we.useState({
|
|
4437
|
-
onScrollCapture:
|
|
4438
|
-
onWheelCapture:
|
|
4439
|
-
onTouchMoveCapture:
|
|
4437
|
+
onScrollCapture: Tl,
|
|
4438
|
+
onWheelCapture: Tl,
|
|
4439
|
+
onTouchMoveCapture: Tl
|
|
4440
4440
|
}), i = n[0], o = n[1], a = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, f = e.enabled, d = e.shards, p = e.sideCar, g = e.noIsolation, v = e.inert, m = e.allowPinchZoom, b = e.as, w = b === void 0 ? "div" : b, _ = Kv(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]), S = p, $ = e2([r, t]), R = Fr(Fr({}, _), i);
|
|
4441
4441
|
return we.createElement(
|
|
4442
4442
|
we.Fragment,
|
|
@@ -4503,11 +4503,11 @@ var l2 = function() {
|
|
|
4503
4503
|
top: 0,
|
|
4504
4504
|
right: 0,
|
|
4505
4505
|
gap: 0
|
|
4506
|
-
},
|
|
4506
|
+
}, Il = function(e) {
|
|
4507
4507
|
return parseInt(e || "", 10) || 0;
|
|
4508
4508
|
}, d2 = function(e) {
|
|
4509
4509
|
var t = window.getComputedStyle(document.body), r = t[e === "padding" ? "paddingLeft" : "marginLeft"], n = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
4510
|
-
return [
|
|
4510
|
+
return [Il(r), Il(n), Il(i)];
|
|
4511
4511
|
}, p2 = function(e) {
|
|
4512
4512
|
if (e === void 0 && (e = "margin"), typeof window > "u")
|
|
4513
4513
|
return f2;
|
|
@@ -4567,19 +4567,19 @@ var l2 = function() {
|
|
|
4567
4567
|
return p2(i);
|
|
4568
4568
|
}, [i]);
|
|
4569
4569
|
return we.createElement(h2, { styles: g2(o, !t, i, r ? "" : "!important") });
|
|
4570
|
-
},
|
|
4570
|
+
}, Au = !1;
|
|
4571
4571
|
if (typeof window < "u")
|
|
4572
4572
|
try {
|
|
4573
4573
|
var ts = Object.defineProperty({}, "passive", {
|
|
4574
4574
|
get: function() {
|
|
4575
|
-
return
|
|
4575
|
+
return Au = !0, !0;
|
|
4576
4576
|
}
|
|
4577
4577
|
});
|
|
4578
4578
|
window.addEventListener("test", ts, ts), window.removeEventListener("test", ts, ts);
|
|
4579
4579
|
} catch {
|
|
4580
|
-
|
|
4580
|
+
Au = !1;
|
|
4581
4581
|
}
|
|
4582
|
-
var Fi =
|
|
4582
|
+
var Fi = Au ? { passive: !1 } : !1, m2 = function(e) {
|
|
4583
4583
|
return e.tagName === "TEXTAREA";
|
|
4584
4584
|
}, Xv = function(e, t) {
|
|
4585
4585
|
var r = window.getComputedStyle(e);
|
|
@@ -4745,7 +4745,7 @@ var T2 = function(e) {
|
|
|
4745
4745
|
return null;
|
|
4746
4746
|
var t = Array.isArray(e) ? e[0] : e;
|
|
4747
4747
|
return t.ownerDocument.body;
|
|
4748
|
-
}, ji = /* @__PURE__ */ new WeakMap(), ns = /* @__PURE__ */ new WeakMap(), is = {},
|
|
4748
|
+
}, ji = /* @__PURE__ */ new WeakMap(), ns = /* @__PURE__ */ new WeakMap(), is = {}, Pl = 0, rm = function(e) {
|
|
4749
4749
|
return e && (e.host || rm(e.parentNode));
|
|
4750
4750
|
}, I2 = function(e, t) {
|
|
4751
4751
|
return t.map(function(r) {
|
|
@@ -4773,11 +4773,11 @@ var T2 = function(e) {
|
|
|
4773
4773
|
}
|
|
4774
4774
|
});
|
|
4775
4775
|
};
|
|
4776
|
-
return f(t), s.clear(),
|
|
4776
|
+
return f(t), s.clear(), Pl++, function() {
|
|
4777
4777
|
a.forEach(function(d) {
|
|
4778
4778
|
var p = ji.get(d) - 1, g = o.get(d) - 1;
|
|
4779
4779
|
ji.set(d, p), o.set(d, g), p || (ns.has(d) || d.removeAttribute(n), ns.delete(d)), g || d.removeAttribute(r);
|
|
4780
|
-
}),
|
|
4780
|
+
}), Pl--, Pl || (ji = /* @__PURE__ */ new WeakMap(), ji = /* @__PURE__ */ new WeakMap(), ns = /* @__PURE__ */ new WeakMap(), is = {});
|
|
4781
4781
|
};
|
|
4782
4782
|
}, nm = function(e, t, r) {
|
|
4783
4783
|
r === void 0 && (r = "data-aria-hidden");
|
|
@@ -4818,7 +4818,7 @@ const im = "Dialog", [om, am] = zn(im), [R2, kr] = om(im), k2 = (e) => {
|
|
|
4818
4818
|
"aria-haspopup": "dialog",
|
|
4819
4819
|
"aria-expanded": i.open,
|
|
4820
4820
|
"aria-controls": i.contentId,
|
|
4821
|
-
"data-state":
|
|
4821
|
+
"data-state": Mf(i.open)
|
|
4822
4822
|
}, n, {
|
|
4823
4823
|
ref: o,
|
|
4824
4824
|
onClick: $t(e.onClick, i.onOpenToggle)
|
|
@@ -4839,26 +4839,26 @@ const im = "Dialog", [om, am] = zn(im), [R2, kr] = om(im), k2 = (e) => {
|
|
|
4839
4839
|
container: i
|
|
4840
4840
|
}, a))
|
|
4841
4841
|
));
|
|
4842
|
-
},
|
|
4843
|
-
const r = lm(
|
|
4842
|
+
}, Ou = "DialogOverlay", fm = /* @__PURE__ */ ne((e, t) => {
|
|
4843
|
+
const r = lm(Ou, e.__scopeDialog), { forceMount: n = r.forceMount, ...i } = e, o = kr(Ou, e.__scopeDialog);
|
|
4844
4844
|
return o.modal ? /* @__PURE__ */ te(br, {
|
|
4845
4845
|
present: n || o.open
|
|
4846
4846
|
}, /* @__PURE__ */ te(L2, ze({}, i, {
|
|
4847
4847
|
ref: t
|
|
4848
4848
|
}))) : null;
|
|
4849
4849
|
}), L2 = /* @__PURE__ */ ne((e, t) => {
|
|
4850
|
-
const { __scopeDialog: r, ...n } = e, i = kr(
|
|
4850
|
+
const { __scopeDialog: r, ...n } = e, i = kr(Ou, r);
|
|
4851
4851
|
return (
|
|
4852
4852
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
4853
4853
|
// ie. when `Overlay` and `Content` are siblings
|
|
4854
4854
|
/* @__PURE__ */ te(tm, {
|
|
4855
|
-
as:
|
|
4855
|
+
as: Nf,
|
|
4856
4856
|
allowPinchZoom: !0,
|
|
4857
4857
|
shards: [
|
|
4858
4858
|
i.contentRef
|
|
4859
4859
|
]
|
|
4860
4860
|
}, /* @__PURE__ */ te(wt.div, ze({
|
|
4861
|
-
"data-state":
|
|
4861
|
+
"data-state": Mf(i.open)
|
|
4862
4862
|
}, n, {
|
|
4863
4863
|
ref: t,
|
|
4864
4864
|
style: {
|
|
@@ -4867,7 +4867,7 @@ const im = "Dialog", [om, am] = zn(im), [R2, kr] = om(im), k2 = (e) => {
|
|
|
4867
4867
|
}
|
|
4868
4868
|
})))
|
|
4869
4869
|
);
|
|
4870
|
-
}), so = "DialogContent",
|
|
4870
|
+
}), so = "DialogContent", Lf = /* @__PURE__ */ ne((e, t) => {
|
|
4871
4871
|
const r = lm(so, e.__scopeDialog), { forceMount: n = r.forceMount, ...i } = e, o = kr(so, e.__scopeDialog);
|
|
4872
4872
|
return /* @__PURE__ */ te(br, {
|
|
4873
4873
|
present: n || o.open
|
|
@@ -4933,7 +4933,7 @@ const im = "Dialog", [om, am] = zn(im), [R2, kr] = om(im), k2 = (e) => {
|
|
|
4933
4933
|
id: s.contentId,
|
|
4934
4934
|
"aria-describedby": s.descriptionId,
|
|
4935
4935
|
"aria-labelledby": s.titleId,
|
|
4936
|
-
"data-state":
|
|
4936
|
+
"data-state": Mf(s.open)
|
|
4937
4937
|
}, a, {
|
|
4938
4938
|
ref: l,
|
|
4939
4939
|
onDismiss: () => s.onOpenChange(!1)
|
|
@@ -4964,18 +4964,18 @@ const im = "Dialog", [om, am] = zn(im), [R2, kr] = om(im), k2 = (e) => {
|
|
|
4964
4964
|
)
|
|
4965
4965
|
}));
|
|
4966
4966
|
});
|
|
4967
|
-
function
|
|
4967
|
+
function Mf(e) {
|
|
4968
4968
|
return e ? "open" : "closed";
|
|
4969
4969
|
}
|
|
4970
4970
|
const U2 = "DialogTitleWarning", [W2, aj] = YE(U2, {
|
|
4971
4971
|
contentName: so,
|
|
4972
4972
|
titleName: pm,
|
|
4973
4973
|
docsSlug: "dialog"
|
|
4974
|
-
}),
|
|
4974
|
+
}), Ff = k2, z2 = sm, H2 = um, V2 = fm, G2 = Lf, K2 = hm, q2 = gm, mm = vm, Y2 = "AlertDialog", [J2, sj] = zn(Y2, [
|
|
4975
4975
|
am
|
|
4976
4976
|
]), pn = am(), X2 = (e) => {
|
|
4977
4977
|
const { __scopeAlertDialog: t, ...r } = e, n = pn(t);
|
|
4978
|
-
return /* @__PURE__ */ te(
|
|
4978
|
+
return /* @__PURE__ */ te(Ff, ze({}, n, r, {
|
|
4979
4979
|
modal: !0
|
|
4980
4980
|
}));
|
|
4981
4981
|
}, Z2 = /* @__PURE__ */ ne((e, t) => {
|
|
@@ -5012,7 +5012,7 @@ const U2 = "DialogTitleWarning", [W2, aj] = YE(U2, {
|
|
|
5012
5012
|
}),
|
|
5013
5013
|
onPointerDownOutside: (l) => l.preventDefault(),
|
|
5014
5014
|
onInteractOutside: (l) => l.preventDefault()
|
|
5015
|
-
}), /* @__PURE__ */ te(
|
|
5015
|
+
}), /* @__PURE__ */ te(Df, null, n), !1)));
|
|
5016
5016
|
}), iS = "AlertDialogTitle", oS = /* @__PURE__ */ ne((e, t) => {
|
|
5017
5017
|
const { __scopeAlertDialog: r, ...n } = e, i = pn(r);
|
|
5018
5018
|
return /* @__PURE__ */ te(K2, ze({}, i, n, {
|
|
@@ -5122,15 +5122,15 @@ function dS(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
5122
5122
|
t
|
|
5123
5123
|
]);
|
|
5124
5124
|
}
|
|
5125
|
-
let
|
|
5125
|
+
let Rl = 0;
|
|
5126
5126
|
function pS() {
|
|
5127
5127
|
_e(() => {
|
|
5128
5128
|
var e, t;
|
|
5129
5129
|
const r = document.querySelectorAll("[data-radix-focus-guard]");
|
|
5130
|
-
return document.body.insertAdjacentElement("afterbegin", (e = r[0]) !== null && e !== void 0 ? e : jp()), document.body.insertAdjacentElement("beforeend", (t = r[1]) !== null && t !== void 0 ? t : jp()),
|
|
5131
|
-
|
|
5130
|
+
return document.body.insertAdjacentElement("afterbegin", (e = r[0]) !== null && e !== void 0 ? e : jp()), document.body.insertAdjacentElement("beforeend", (t = r[1]) !== null && t !== void 0 ? t : jp()), Rl++, () => {
|
|
5131
|
+
Rl === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach(
|
|
5132
5132
|
(n) => n.remove()
|
|
5133
|
-
),
|
|
5133
|
+
), Rl--;
|
|
5134
5134
|
};
|
|
5135
5135
|
}, []);
|
|
5136
5136
|
}
|
|
@@ -5142,7 +5142,7 @@ const co = globalThis != null && globalThis.document ? ui : () => {
|
|
|
5142
5142
|
}, hS = we.useId || (() => {
|
|
5143
5143
|
});
|
|
5144
5144
|
let gS = 0;
|
|
5145
|
-
function
|
|
5145
|
+
function Tu(e) {
|
|
5146
5146
|
const [t, r] = we.useState(hS());
|
|
5147
5147
|
return co(() => {
|
|
5148
5148
|
e || r(
|
|
@@ -5155,7 +5155,7 @@ function Ou(e) {
|
|
|
5155
5155
|
function yo(e) {
|
|
5156
5156
|
return e.split("-")[1];
|
|
5157
5157
|
}
|
|
5158
|
-
function
|
|
5158
|
+
function Bf(e) {
|
|
5159
5159
|
return e === "y" ? "height" : "width";
|
|
5160
5160
|
}
|
|
5161
5161
|
function cn(e) {
|
|
@@ -5166,7 +5166,7 @@ function di(e) {
|
|
|
5166
5166
|
}
|
|
5167
5167
|
function Up(e, t, r) {
|
|
5168
5168
|
let { reference: n, floating: i } = e;
|
|
5169
|
-
const o = n.x + n.width / 2 - i.width / 2, a = n.y + n.height / 2 - i.height / 2, s = di(t), c =
|
|
5169
|
+
const o = n.x + n.width / 2 - i.width / 2, a = n.y + n.height / 2 - i.height / 2, s = di(t), c = Bf(s), l = n[c] / 2 - i[c] / 2, f = s === "x";
|
|
5170
5170
|
let d;
|
|
5171
5171
|
switch (cn(t)) {
|
|
5172
5172
|
case "top":
|
|
@@ -5216,18 +5216,18 @@ async function ga(e, t) {
|
|
|
5216
5216
|
const { x: n, y: i, platform: o, rects: a, elements: s, strategy: c } = e, { boundary: l = "clippingAncestors", rootBoundary: f = "viewport", elementContext: d = "floating", altBoundary: p = !1, padding: g = 0 } = t, v = _m(g), m = s[p ? d === "floating" ? "reference" : "floating" : d], b = Ns(await o.getClippingRect({ element: (r = await (o.isElement == null ? void 0 : o.isElement(m))) == null || r ? m : m.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(s.floating)), boundary: l, rootBoundary: f, strategy: c })), w = d === "floating" ? { ...a.floating, x: n, y: i } : a.reference, _ = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(s.floating)), S = await (o.isElement == null ? void 0 : o.isElement(_)) && await (o.getScale == null ? void 0 : o.getScale(_)) || { x: 1, y: 1 }, $ = Ns(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: w, offsetParent: _, strategy: c }) : w);
|
|
5217
5217
|
return { top: (b.top - $.top + v.top) / S.y, bottom: ($.bottom - b.bottom + v.bottom) / S.y, left: (b.left - $.left + v.left) / S.x, right: ($.right - b.right + v.right) / S.x };
|
|
5218
5218
|
}
|
|
5219
|
-
const
|
|
5220
|
-
function
|
|
5221
|
-
return Qn(e,
|
|
5219
|
+
const Iu = Math.min, Qn = Math.max;
|
|
5220
|
+
function Pu(e, t, r) {
|
|
5221
|
+
return Qn(e, Iu(t, r));
|
|
5222
5222
|
}
|
|
5223
5223
|
const Wp = (e) => ({ name: "arrow", options: e, async fn(t) {
|
|
5224
5224
|
const { element: r, padding: n = 0 } = e || {}, { x: i, y: o, placement: a, rects: s, platform: c, elements: l } = t;
|
|
5225
5225
|
if (r == null)
|
|
5226
5226
|
return {};
|
|
5227
|
-
const f = _m(n), d = { x: i, y: o }, p = di(a), g =
|
|
5227
|
+
const f = _m(n), d = { x: i, y: o }, p = di(a), g = Bf(p), v = await c.getDimensions(r), m = p === "y", b = m ? "top" : "left", w = m ? "bottom" : "right", _ = m ? "clientHeight" : "clientWidth", S = s.reference[g] + s.reference[p] - d[p] - s.floating[g], $ = d[p] - s.reference[p], R = await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(r));
|
|
5228
5228
|
let P = R ? R[_] : 0;
|
|
5229
5229
|
P && await (c.isElement == null ? void 0 : c.isElement(R)) || (P = l.floating[_] || s.floating[g]);
|
|
5230
|
-
const C = S / 2 - $ / 2, T = f[b], N = P - v[g] - f[w], B = P / 2 - v[g] / 2 + C, M =
|
|
5230
|
+
const C = S / 2 - $ / 2, T = f[b], N = P - v[g] - f[w], B = P / 2 - v[g] / 2 + C, M = Pu(T, B, N), L = yo(a) != null && B != M && s.reference[g] / 2 - (B < T ? f[b] : f[w]) - v[g] / 2 < 0;
|
|
5231
5231
|
return { [p]: d[p] - (L ? B < T ? T - B : N - B : 0), data: { [p]: M, centerOffset: B - M } };
|
|
5232
5232
|
} }), Em = ["top", "right", "bottom", "left"];
|
|
5233
5233
|
Em.reduce((e, t) => e.concat(t, t + "-start", t + "-end"), []);
|
|
@@ -5237,12 +5237,12 @@ function Ds(e) {
|
|
|
5237
5237
|
}
|
|
5238
5238
|
function yS(e, t, r) {
|
|
5239
5239
|
r === void 0 && (r = !1);
|
|
5240
|
-
const n = yo(e), i = di(e), o =
|
|
5240
|
+
const n = yo(e), i = di(e), o = Bf(i);
|
|
5241
5241
|
let a = i === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
5242
5242
|
return t.reference[o] > t.floating[o] && (a = Ds(a)), { main: a, cross: Ds(a) };
|
|
5243
5243
|
}
|
|
5244
5244
|
const bS = { start: "end", end: "start" };
|
|
5245
|
-
function
|
|
5245
|
+
function kl(e) {
|
|
5246
5246
|
return e.replace(/start|end/g, (t) => bS[t]);
|
|
5247
5247
|
}
|
|
5248
5248
|
const wS = function(e) {
|
|
@@ -5250,7 +5250,7 @@ const wS = function(e) {
|
|
|
5250
5250
|
var r;
|
|
5251
5251
|
const { placement: n, middlewareData: i, rects: o, initialPlacement: a, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: f = !0, fallbackPlacements: d, fallbackStrategy: p = "bestFit", fallbackAxisSideDirection: g = "none", flipAlignment: v = !0, ...m } = e, b = cn(n), w = cn(a) === a, _ = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), S = d || (w || !v ? [Ds(a)] : function(M) {
|
|
5252
5252
|
const L = Ds(M);
|
|
5253
|
-
return [
|
|
5253
|
+
return [kl(M), L, kl(L)];
|
|
5254
5254
|
}(a));
|
|
5255
5255
|
d || g === "none" || S.push(...function(M, L, Z, Y) {
|
|
5256
5256
|
const X = yo(M);
|
|
@@ -5267,7 +5267,7 @@ const wS = function(e) {
|
|
|
5267
5267
|
return [];
|
|
5268
5268
|
}
|
|
5269
5269
|
}(cn(M), Z === "start", Y);
|
|
5270
|
-
return X && (oe = oe.map((se) => se + "-" + X), L && (oe = oe.concat(oe.map(
|
|
5270
|
+
return X && (oe = oe.map((se) => se + "-" + X), L && (oe = oe.concat(oe.map(kl)))), oe;
|
|
5271
5271
|
}(a, v, g, _));
|
|
5272
5272
|
const $ = [a, ...S], R = await ga(t, m), P = [];
|
|
5273
5273
|
let C = ((r = i.flip) == null ? void 0 : r.overflows) || [];
|
|
@@ -5342,11 +5342,11 @@ const xS = function(e) {
|
|
|
5342
5342
|
let g = l[d], v = l[p];
|
|
5343
5343
|
if (o) {
|
|
5344
5344
|
const b = d === "y" ? "bottom" : "right";
|
|
5345
|
-
g =
|
|
5345
|
+
g = Pu(g + f[d === "y" ? "top" : "left"], g, g - f[b]);
|
|
5346
5346
|
}
|
|
5347
5347
|
if (a) {
|
|
5348
5348
|
const b = p === "y" ? "bottom" : "right";
|
|
5349
|
-
v =
|
|
5349
|
+
v = Pu(v + f[p === "y" ? "top" : "left"], v, v - f[b]);
|
|
5350
5350
|
}
|
|
5351
5351
|
const m = s.fn({ ...t, [d]: g, [p]: v });
|
|
5352
5352
|
return { ...m, data: { x: m.x - r, y: m.y - n } };
|
|
@@ -5377,10 +5377,10 @@ const xS = function(e) {
|
|
|
5377
5377
|
let S = b, $ = w;
|
|
5378
5378
|
if (d) {
|
|
5379
5379
|
const P = p - c.left - c.right;
|
|
5380
|
-
$ = f || _ ?
|
|
5380
|
+
$ = f || _ ? Iu(w, P) : P;
|
|
5381
5381
|
} else {
|
|
5382
5382
|
const P = g - c.top - c.bottom;
|
|
5383
|
-
S = f || _ ?
|
|
5383
|
+
S = f || _ ? Iu(b, P) : P;
|
|
5384
5384
|
}
|
|
5385
5385
|
if (_ && !f) {
|
|
5386
5386
|
const P = Qn(c.left, 0), C = Qn(c.right, 0), T = Qn(c.top, 0), N = Qn(c.bottom, 0);
|
|
@@ -5420,11 +5420,11 @@ function va(e) {
|
|
|
5420
5420
|
function CS(e) {
|
|
5421
5421
|
return ["table", "td", "th"].includes(Bn(e));
|
|
5422
5422
|
}
|
|
5423
|
-
function
|
|
5424
|
-
const t =
|
|
5423
|
+
function Ru(e) {
|
|
5424
|
+
const t = jf(), r = Ar(e);
|
|
5425
5425
|
return r.transform !== "none" || r.perspective !== "none" || !t && !!r.backdropFilter && r.backdropFilter !== "none" || !t && !!r.filter && r.filter !== "none" || ["transform", "perspective", "filter"].some((n) => (r.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (r.contain || "").includes(n));
|
|
5426
5426
|
}
|
|
5427
|
-
function
|
|
5427
|
+
function jf() {
|
|
5428
5428
|
return !(typeof CSS > "u" || !CSS.supports) && CSS.supports("-webkit-backdrop-filter", "none");
|
|
5429
5429
|
}
|
|
5430
5430
|
function pc(e) {
|
|
@@ -5452,7 +5452,7 @@ function no(e) {
|
|
|
5452
5452
|
const Kp = { x: 0, y: 0 };
|
|
5453
5453
|
function Om(e, t, r) {
|
|
5454
5454
|
var n, i;
|
|
5455
|
-
if (t === void 0 && (t = !0), !
|
|
5455
|
+
if (t === void 0 && (t = !0), !jf())
|
|
5456
5456
|
return Kp;
|
|
5457
5457
|
const o = e ? yr(e) : window;
|
|
5458
5458
|
return !r || t && r !== o ? Kp : { x: ((n = o.visualViewport) == null ? void 0 : n.offsetLeft) || 0, y: ((i = o.visualViewport) == null ? void 0 : i.offsetTop) || 0 };
|
|
@@ -5507,7 +5507,7 @@ function qp(e, t, r) {
|
|
|
5507
5507
|
let l = s.clientWidth, f = s.clientHeight, d = 0, p = 0;
|
|
5508
5508
|
if (c) {
|
|
5509
5509
|
l = c.width, f = c.height;
|
|
5510
|
-
const g =
|
|
5510
|
+
const g = jf();
|
|
5511
5511
|
(!g || g && o === "fixed") && (d = c.offsetLeft, p = c.offsetTop);
|
|
5512
5512
|
}
|
|
5513
5513
|
return { width: l, height: f, x: d, y: p };
|
|
@@ -5544,10 +5544,10 @@ function Jp(e, t) {
|
|
|
5544
5544
|
let n = Yp(e, t);
|
|
5545
5545
|
for (; n && CS(n) && Ar(n).position === "static"; )
|
|
5546
5546
|
n = Yp(n, t);
|
|
5547
|
-
return n && (Bn(n) === "html" || Bn(n) === "body" && Ar(n).position === "static" && !
|
|
5547
|
+
return n && (Bn(n) === "html" || Bn(n) === "body" && Ar(n).position === "static" && !Ru(n)) ? r : n || function(i) {
|
|
5548
5548
|
let o = lo(i);
|
|
5549
5549
|
for (; Pr(o) && !pc(o); ) {
|
|
5550
|
-
if (
|
|
5550
|
+
if (Ru(o))
|
|
5551
5551
|
return o;
|
|
5552
5552
|
o = lo(o);
|
|
5553
5553
|
}
|
|
@@ -5576,7 +5576,7 @@ const OS = { getClippingRect: function(e) {
|
|
|
5576
5576
|
const v = Ar(l).position === "fixed";
|
|
5577
5577
|
let m = v ? lo(l) : l;
|
|
5578
5578
|
for (; ur(m) && !pc(m); ) {
|
|
5579
|
-
const b = Ar(m), w =
|
|
5579
|
+
const b = Ar(m), w = Ru(m);
|
|
5580
5580
|
w || b.position !== "fixed" || (g = null), (v ? !w && !g : !w && b.position === "static" && g && ["absolute", "fixed"].includes(g.position) || va(m) && !w && Pm(l, m)) ? p = p.filter((_) => _ !== m) : g = b, m = lo(m);
|
|
5581
5581
|
}
|
|
5582
5582
|
return f.set(l, p), p;
|
|
@@ -5944,14 +5944,14 @@ function MS({ defaultProp: e, onChange: t }) {
|
|
|
5944
5944
|
o
|
|
5945
5945
|
]), r;
|
|
5946
5946
|
}
|
|
5947
|
-
const
|
|
5947
|
+
const Nl = "rovingFocusGroup.onEntryFocus", FS = {
|
|
5948
5948
|
bubbles: !1,
|
|
5949
5949
|
cancelable: !0
|
|
5950
|
-
},
|
|
5950
|
+
}, Uf = "RovingFocusGroup", [ku, Nm, BS] = bm(Uf), [jS, Dm] = Jr(Uf, [
|
|
5951
5951
|
BS
|
|
5952
|
-
]), [US, WS] = jS(
|
|
5952
|
+
]), [US, WS] = jS(Uf), zS = /* @__PURE__ */ ne((e, t) => /* @__PURE__ */ te(ku.Provider, {
|
|
5953
5953
|
scope: e.__scopeRovingFocusGroup
|
|
5954
|
-
}, /* @__PURE__ */ te(
|
|
5954
|
+
}, /* @__PURE__ */ te(ku.Slot, {
|
|
5955
5955
|
scope: e.__scopeRovingFocusGroup
|
|
5956
5956
|
}, /* @__PURE__ */ te(HS, nt({}, e, {
|
|
5957
5957
|
ref: t
|
|
@@ -5964,7 +5964,7 @@ const kl = "rovingFocusGroup.onEntryFocus", FS = {
|
|
|
5964
5964
|
return _e(() => {
|
|
5965
5965
|
const C = d.current;
|
|
5966
5966
|
if (C)
|
|
5967
|
-
return C.addEventListener(
|
|
5967
|
+
return C.addEventListener(Nl, _), () => C.removeEventListener(Nl, _);
|
|
5968
5968
|
}, [
|
|
5969
5969
|
_
|
|
5970
5970
|
]), /* @__PURE__ */ te(US, {
|
|
@@ -6010,7 +6010,7 @@ const kl = "rovingFocusGroup.onEntryFocus", FS = {
|
|
|
6010
6010
|
onFocus: vt(e.onFocus, (C) => {
|
|
6011
6011
|
const T = !$.current;
|
|
6012
6012
|
if (C.target === C.currentTarget && T && !b) {
|
|
6013
|
-
const N = new CustomEvent(
|
|
6013
|
+
const N = new CustomEvent(Nl, FS);
|
|
6014
6014
|
if (C.currentTarget.dispatchEvent(N), !N.defaultPrevented) {
|
|
6015
6015
|
const B = S().filter(
|
|
6016
6016
|
(X) => X.focusable
|
|
@@ -6036,7 +6036,7 @@ const kl = "rovingFocusGroup.onEntryFocus", FS = {
|
|
|
6036
6036
|
)
|
|
6037
6037
|
})));
|
|
6038
6038
|
}), VS = "RovingFocusGroupItem", GS = /* @__PURE__ */ ne((e, t) => {
|
|
6039
|
-
const { __scopeRovingFocusGroup: r, focusable: n = !0, active: i = !1, tabStopId: o, ...a } = e, s =
|
|
6039
|
+
const { __scopeRovingFocusGroup: r, focusable: n = !0, active: i = !1, tabStopId: o, ...a } = e, s = Tu(), c = o || s, l = WS(VS, r), f = l.currentTabStopId === c, d = Nm(r), { onFocusableItemAdd: p, onFocusableItemRemove: g } = l;
|
|
6040
6040
|
return _e(() => {
|
|
6041
6041
|
if (n)
|
|
6042
6042
|
return p(), () => g();
|
|
@@ -6044,7 +6044,7 @@ const kl = "rovingFocusGroup.onEntryFocus", FS = {
|
|
|
6044
6044
|
n,
|
|
6045
6045
|
p,
|
|
6046
6046
|
g
|
|
6047
|
-
]), /* @__PURE__ */ te(
|
|
6047
|
+
]), /* @__PURE__ */ te(ku.ItemSlot, {
|
|
6048
6048
|
scope: r,
|
|
6049
6049
|
id: c,
|
|
6050
6050
|
focusable: n,
|
|
@@ -6124,7 +6124,7 @@ function JS(e, t) {
|
|
|
6124
6124
|
(r, n) => e[(t + n) % e.length]
|
|
6125
6125
|
);
|
|
6126
6126
|
}
|
|
6127
|
-
const XS = zS, ZS = GS,
|
|
6127
|
+
const XS = zS, ZS = GS, Nu = "dismissableLayer.update", QS = "dismissableLayer.pointerDownOutside", e$ = "dismissableLayer.focusOutside";
|
|
6128
6128
|
let Qp;
|
|
6129
6129
|
const t$ = /* @__PURE__ */ Vt({
|
|
6130
6130
|
layers: /* @__PURE__ */ new Set(),
|
|
@@ -6171,7 +6171,7 @@ const t$ = /* @__PURE__ */ Vt({
|
|
|
6171
6171
|
f
|
|
6172
6172
|
]), _e(() => {
|
|
6173
6173
|
const T = () => v({});
|
|
6174
|
-
return document.addEventListener(
|
|
6174
|
+
return document.addEventListener(Nu, T), () => document.removeEventListener(Nu, T);
|
|
6175
6175
|
}, []), /* @__PURE__ */ te(rt.div, nt({}, l, {
|
|
6176
6176
|
ref: m,
|
|
6177
6177
|
style: {
|
|
@@ -6236,7 +6236,7 @@ function i$(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
6236
6236
|
};
|
|
6237
6237
|
}
|
|
6238
6238
|
function eh() {
|
|
6239
|
-
const e = new CustomEvent(
|
|
6239
|
+
const e = new CustomEvent(Nu);
|
|
6240
6240
|
document.dispatchEvent(e);
|
|
6241
6241
|
}
|
|
6242
6242
|
function Mm(e, t, r, { discrete: n }) {
|
|
@@ -6249,7 +6249,7 @@ function Mm(e, t, r, { discrete: n }) {
|
|
|
6249
6249
|
once: !0
|
|
6250
6250
|
}), n ? kv(i, o) : i.dispatchEvent(o);
|
|
6251
6251
|
}
|
|
6252
|
-
const
|
|
6252
|
+
const Dl = "focusScope.autoFocusOnMount", Ll = "focusScope.autoFocusOnUnmount", th = {
|
|
6253
6253
|
bubbles: !1,
|
|
6254
6254
|
cancelable: !0
|
|
6255
6255
|
}, o$ = /* @__PURE__ */ ne((e, t) => {
|
|
@@ -6304,17 +6304,17 @@ const Nl = "focusScope.autoFocusOnMount", Dl = "focusScope.autoFocusOnUnmount",
|
|
|
6304
6304
|
nh.add(g);
|
|
6305
6305
|
const m = document.activeElement;
|
|
6306
6306
|
if (!s.contains(m)) {
|
|
6307
|
-
const w = new CustomEvent(
|
|
6308
|
-
s.addEventListener(
|
|
6307
|
+
const w = new CustomEvent(Dl, th);
|
|
6308
|
+
s.addEventListener(Dl, l), s.dispatchEvent(w), w.defaultPrevented || (a$(f$(Fm(s)), {
|
|
6309
6309
|
select: !0
|
|
6310
6310
|
}), document.activeElement === m && Sn(s));
|
|
6311
6311
|
}
|
|
6312
6312
|
return () => {
|
|
6313
|
-
s.removeEventListener(
|
|
6314
|
-
const w = new CustomEvent(
|
|
6315
|
-
s.addEventListener(
|
|
6313
|
+
s.removeEventListener(Dl, l), setTimeout(() => {
|
|
6314
|
+
const w = new CustomEvent(Ll, th);
|
|
6315
|
+
s.addEventListener(Ll, f), s.dispatchEvent(w), w.defaultPrevented || Sn(m ?? document.body, {
|
|
6316
6316
|
select: !0
|
|
6317
|
-
}), s.removeEventListener(
|
|
6317
|
+
}), s.removeEventListener(Ll, f), nh.remove(g);
|
|
6318
6318
|
}, 0);
|
|
6319
6319
|
};
|
|
6320
6320
|
}
|
|
@@ -6624,7 +6624,7 @@ function Hm(e) {
|
|
|
6624
6624
|
const S$ = p$, $$ = g$, C$ = y$, A$ = _$, O$ = /* @__PURE__ */ ne((e, t) => {
|
|
6625
6625
|
var r;
|
|
6626
6626
|
const { container: n = globalThis == null || (r = globalThis.document) === null || r === void 0 ? void 0 : r.body, ...i } = e;
|
|
6627
|
-
return n ? /* @__PURE__ */
|
|
6627
|
+
return n ? /* @__PURE__ */ If.createPortal(/* @__PURE__ */ te(rt.div, nt({}, i, {
|
|
6628
6628
|
ref: t
|
|
6629
6629
|
})), n) : null;
|
|
6630
6630
|
}), T$ = [
|
|
@@ -6641,11 +6641,11 @@ const S$ = p$, $$ = g$, C$ = y$, A$ = _$, O$ = /* @__PURE__ */ ne((e, t) => {
|
|
|
6641
6641
|
], P$ = [
|
|
6642
6642
|
...I$,
|
|
6643
6643
|
...Vm
|
|
6644
|
-
], vc = "Menu", [
|
|
6644
|
+
], vc = "Menu", [Du, R$, k$] = bm(vc), [pi, Gm] = Jr(vc, [
|
|
6645
6645
|
k$,
|
|
6646
6646
|
Um,
|
|
6647
6647
|
Dm
|
|
6648
|
-
]), mc = Um(), Km = Dm(), [N$, Aa] = pi(vc), [D$,
|
|
6648
|
+
]), mc = Um(), Km = Dm(), [N$, Aa] = pi(vc), [D$, Wf] = pi(vc), L$ = (e) => {
|
|
6649
6649
|
const { __scopeMenu: t, open: r = !1, children: n, dir: i, onOpenChange: o, modal: a = !0 } = e, s = mc(t), [c, l] = Ce(null), f = Ee(!1), d = Gr(o), p = wm(i);
|
|
6650
6650
|
return _e(() => {
|
|
6651
6651
|
const g = () => {
|
|
@@ -6705,12 +6705,12 @@ const S$ = p$, $$ = g$, C$ = y$, A$ = _$, O$ = /* @__PURE__ */ ne((e, t) => {
|
|
|
6705
6705
|
container: i
|
|
6706
6706
|
}, n)));
|
|
6707
6707
|
}, kn = "MenuContent", [U$, Ym] = pi(kn), W$ = /* @__PURE__ */ ne((e, t) => {
|
|
6708
|
-
const r = B$(kn, e.__scopeMenu), { forceMount: n = r.forceMount, ...i } = e, o = Aa(kn, e.__scopeMenu), a =
|
|
6709
|
-
return /* @__PURE__ */ te(
|
|
6708
|
+
const r = B$(kn, e.__scopeMenu), { forceMount: n = r.forceMount, ...i } = e, o = Aa(kn, e.__scopeMenu), a = Wf(kn, e.__scopeMenu);
|
|
6709
|
+
return /* @__PURE__ */ te(Du.Provider, {
|
|
6710
6710
|
scope: e.__scopeMenu
|
|
6711
6711
|
}, /* @__PURE__ */ te(gc, {
|
|
6712
6712
|
present: n || o.open
|
|
6713
|
-
}, /* @__PURE__ */ te(
|
|
6713
|
+
}, /* @__PURE__ */ te(Du.Slot, {
|
|
6714
6714
|
scope: e.__scopeMenu
|
|
6715
6715
|
}, a.modal ? /* @__PURE__ */ te(z$, nt({}, i, {
|
|
6716
6716
|
ref: t
|
|
@@ -6747,7 +6747,7 @@ const S$ = p$, $$ = g$, C$ = y$, A$ = _$, O$ = /* @__PURE__ */ ne((e, t) => {
|
|
|
6747
6747
|
onDismiss: () => r.onOpenChange(!1)
|
|
6748
6748
|
}));
|
|
6749
6749
|
}), Jm = /* @__PURE__ */ ne((e, t) => {
|
|
6750
|
-
const { __scopeMenu: r, loop: n = !1, trapFocus: i, onOpenAutoFocus: o, onCloseAutoFocus: a, disableOutsidePointerEvents: s, onEntryFocus: c, onEscapeKeyDown: l, onPointerDownOutside: f, onFocusOutside: d, onInteractOutside: p, onDismiss: g, disableOutsideScroll: v, ...m } = e, b = Aa(kn, r), w =
|
|
6750
|
+
const { __scopeMenu: r, loop: n = !1, trapFocus: i, onOpenAutoFocus: o, onCloseAutoFocus: a, disableOutsidePointerEvents: s, onEntryFocus: c, onEscapeKeyDown: l, onPointerDownOutside: f, onFocusOutside: d, onInteractOutside: p, onDismiss: g, disableOutsideScroll: v, ...m } = e, b = Aa(kn, r), w = Wf(kn, r), _ = mc(r), S = Km(r), $ = R$(r), [R, P] = Ce(null), C = Ee(null), T = dr(t, C, b.onContentChange), N = Ee(0), B = Ee(""), M = Ee(0), L = Ee(null), Z = Ee("right"), Y = Ee(0), X = v ? tm : vo, oe = v ? {
|
|
6751
6751
|
as: kt,
|
|
6752
6752
|
allowPinchZoom: !0
|
|
6753
6753
|
} : void 0, se = (le) => {
|
|
@@ -6854,7 +6854,7 @@ const S$ = p$, $$ = g$, C$ = y$, A$ = _$, O$ = /* @__PURE__ */ ne((e, t) => {
|
|
|
6854
6854
|
onBlur: vt(e.onBlur, (le) => {
|
|
6855
6855
|
le.currentTarget.contains(le.target) || (window.clearTimeout(N.current), B.current = "");
|
|
6856
6856
|
}),
|
|
6857
|
-
onPointerMove: vt(e.onPointerMove,
|
|
6857
|
+
onPointerMove: vt(e.onPointerMove, Mu((le) => {
|
|
6858
6858
|
const me = le.target, ue = Y.current !== le.clientX;
|
|
6859
6859
|
if (le.currentTarget.contains(me) && ue) {
|
|
6860
6860
|
const V = le.clientX > Y.current ? "right" : "left";
|
|
@@ -6874,8 +6874,8 @@ const S$ = p$, $$ = g$, C$ = y$, A$ = _$, O$ = /* @__PURE__ */ ne((e, t) => {
|
|
|
6874
6874
|
return /* @__PURE__ */ te(rt.div, nt({}, n, {
|
|
6875
6875
|
ref: t
|
|
6876
6876
|
}));
|
|
6877
|
-
}),
|
|
6878
|
-
const { disabled: r = !1, onSelect: n, ...i } = e, o = Ee(null), a =
|
|
6877
|
+
}), Lu = "MenuItem", oh = "menu.itemSelect", Xm = /* @__PURE__ */ ne((e, t) => {
|
|
6878
|
+
const { disabled: r = !1, onSelect: n, ...i } = e, o = Ee(null), a = Wf(Lu, e.__scopeMenu), s = Ym(Lu, e.__scopeMenu), c = dr(t, o), l = Ee(!1), f = () => {
|
|
6879
6879
|
const d = o.current;
|
|
6880
6880
|
if (!r && d) {
|
|
6881
6881
|
const p = new CustomEvent(oh, {
|
|
@@ -6909,7 +6909,7 @@ const S$ = p$, $$ = g$, C$ = y$, A$ = _$, O$ = /* @__PURE__ */ ne((e, t) => {
|
|
|
6909
6909
|
})
|
|
6910
6910
|
}));
|
|
6911
6911
|
}), K$ = /* @__PURE__ */ ne((e, t) => {
|
|
6912
|
-
const { __scopeMenu: r, disabled: n = !1, textValue: i, ...o } = e, a = Ym(
|
|
6912
|
+
const { __scopeMenu: r, disabled: n = !1, textValue: i, ...o } = e, a = Ym(Lu, r), s = Km(r), c = Ee(null), l = dr(t, c), [f, d] = Ce(!1), [p, g] = Ce("");
|
|
6913
6913
|
return _e(() => {
|
|
6914
6914
|
const v = c.current;
|
|
6915
6915
|
if (v) {
|
|
@@ -6918,7 +6918,7 @@ const S$ = p$, $$ = g$, C$ = y$, A$ = _$, O$ = /* @__PURE__ */ ne((e, t) => {
|
|
|
6918
6918
|
}
|
|
6919
6919
|
}, [
|
|
6920
6920
|
o.children
|
|
6921
|
-
]), /* @__PURE__ */ te(
|
|
6921
|
+
]), /* @__PURE__ */ te(Du.ItemSlot, {
|
|
6922
6922
|
scope: r,
|
|
6923
6923
|
disabled: n,
|
|
6924
6924
|
textValue: i ?? p
|
|
@@ -6933,10 +6933,10 @@ const S$ = p$, $$ = g$, C$ = y$, A$ = _$, O$ = /* @__PURE__ */ ne((e, t) => {
|
|
|
6933
6933
|
"data-disabled": n ? "" : void 0
|
|
6934
6934
|
}, o, {
|
|
6935
6935
|
ref: l,
|
|
6936
|
-
onPointerMove: vt(e.onPointerMove,
|
|
6936
|
+
onPointerMove: vt(e.onPointerMove, Mu((v) => {
|
|
6937
6937
|
n ? a.onItemLeave(v) : (a.onItemEnter(v), v.defaultPrevented || v.currentTarget.focus());
|
|
6938
6938
|
})),
|
|
6939
|
-
onPointerLeave: vt(e.onPointerLeave,
|
|
6939
|
+
onPointerLeave: vt(e.onPointerLeave, Mu(
|
|
6940
6940
|
(v) => a.onItemLeave(v)
|
|
6941
6941
|
)),
|
|
6942
6942
|
onFocus: vt(
|
|
@@ -7049,7 +7049,7 @@ function sC(e, t) {
|
|
|
7049
7049
|
};
|
|
7050
7050
|
return aC(r, t);
|
|
7051
7051
|
}
|
|
7052
|
-
function
|
|
7052
|
+
function Mu(e) {
|
|
7053
7053
|
return (t) => t.pointerType === "mouse" ? e(t) : void 0;
|
|
7054
7054
|
}
|
|
7055
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, cj] = Jr(e0, [
|
|
@@ -7062,9 +7062,9 @@ const cC = L$, lC = M$, uC = j$, fC = W$, dC = V$, pC = G$, hC = Xm, gC = q$, vC
|
|
|
7062
7062
|
});
|
|
7063
7063
|
return /* @__PURE__ */ te(wC, {
|
|
7064
7064
|
scope: t,
|
|
7065
|
-
triggerId:
|
|
7065
|
+
triggerId: Tu(),
|
|
7066
7066
|
triggerRef: l,
|
|
7067
|
-
contentId:
|
|
7067
|
+
contentId: Tu(),
|
|
7068
7068
|
open: f,
|
|
7069
7069
|
onOpenChange: d,
|
|
7070
7070
|
onOpenToggle: De(
|
|
@@ -7096,7 +7096,7 @@ const cC = L$, lC = M$, uC = j$, fC = W$, dC = V$, pC = G$, hC = Xm, gC = q$, vC
|
|
|
7096
7096
|
"data-disabled": n ? "" : void 0,
|
|
7097
7097
|
disabled: n
|
|
7098
7098
|
}, i, {
|
|
7099
|
-
ref:
|
|
7099
|
+
ref: Rf(t, o.triggerRef),
|
|
7100
7100
|
onPointerDown: vt(e.onPointerDown, (s) => {
|
|
7101
7101
|
!n && s.button === 0 && s.ctrlKey === !1 && (o.onOpenToggle(), o.open || s.preventDefault());
|
|
7102
7102
|
}),
|
|
@@ -7439,7 +7439,7 @@ var uA = function(e) {
|
|
|
7439
7439
|
return null;
|
|
7440
7440
|
var o = r[0], a = r[1];
|
|
7441
7441
|
return o > 0 && n[0] === o && n[1] === o + 1 ? [o - 1, a] : !((t = i[o]) === null || t === void 0) && t.length ? [o, a + 1] : null;
|
|
7442
|
-
},
|
|
7442
|
+
}, Fu = function(e) {
|
|
7443
7443
|
return [+e.selectionStart, +e.selectionEnd];
|
|
7444
7444
|
}, s0 = [0, 0], as = function(e, t) {
|
|
7445
7445
|
return e[0] === t[0] && e[1] === t[1];
|
|
@@ -7448,8 +7448,8 @@ var uA = function(e) {
|
|
|
7448
7448
|
return De(function(i) {
|
|
7449
7449
|
var o = i.type, a = t.current, s = r.current;
|
|
7450
7450
|
if (!(!s || !a)) {
|
|
7451
|
-
var c = a.selectionDirection, l = a.value, f =
|
|
7452
|
-
as(p, s) && (as(p, s0) || as(p,
|
|
7451
|
+
var c = a.selectionDirection, l = a.value, f = Fu(a), d = function(p) {
|
|
7452
|
+
as(p, s) && (as(p, s0) || as(p, Fu(a))) || (r.current = p, n(function(g) {
|
|
7453
7453
|
return as(g, p) ? g : p;
|
|
7454
7454
|
}), a.setSelectionRange.apply(a, ah(ah([], p, !1), [c || void 0], !1)));
|
|
7455
7455
|
};
|
|
@@ -7462,7 +7462,7 @@ var uA = function(e) {
|
|
|
7462
7462
|
var t = e.inputRef, r = e.previousRef, n = e.handler;
|
|
7463
7463
|
ui(function() {
|
|
7464
7464
|
var i = t.current;
|
|
7465
|
-
r.current === void 0 && i && (r.current =
|
|
7465
|
+
r.current === void 0 && i && (r.current = Fu(i));
|
|
7466
7466
|
var o = n;
|
|
7467
7467
|
return i == null || i.addEventListener("input", o), document.addEventListener("selectionchange", o), function() {
|
|
7468
7468
|
i == null || i.removeEventListener("input", o), document.removeEventListener("selectionchange", o);
|
|
@@ -7471,7 +7471,7 @@ var uA = function(e) {
|
|
|
7471
7471
|
}, pA = function(e) {
|
|
7472
7472
|
var t = Ce(s0), r = t[0], n = t[1], i = Ee(), o = fA({ inputRef: e, previousRef: i, setSelection: n });
|
|
7473
7473
|
return dA({ inputRef: e, previousRef: i, handler: o }), r;
|
|
7474
|
-
},
|
|
7474
|
+
}, Bu = { exports: {} }, Go = {};
|
|
7475
7475
|
/**
|
|
7476
7476
|
* @license React
|
|
7477
7477
|
* react-jsx-runtime.production.min.js
|
|
@@ -8096,8 +8096,8 @@ Check the top-level render call using <` + Se + ">.");
|
|
|
8096
8096
|
Ko.Fragment = n, Ko.jsx = Lo, Ko.jsxs = er;
|
|
8097
8097
|
}()), Ko;
|
|
8098
8098
|
}
|
|
8099
|
-
process.env.NODE_ENV === "production" ?
|
|
8100
|
-
var lr =
|
|
8099
|
+
process.env.NODE_ENV === "production" ? Bu.exports = hA() : Bu.exports = gA();
|
|
8100
|
+
var lr = Bu.exports;
|
|
8101
8101
|
const c0 = x.createContext(6), l0 = () => Jt(c0), u0 = x.createContext(null), vA = () => Jt(u0), mA = (e) => lr.jsx(c0.Provider, { value: e.length, children: lr.jsx(u0.Provider, { value: e.selection, children: e.children }) }), yA = (e, [t, r]) => typeof t != "number" || typeof r != "number" ? null : t === r && t === e ? "cursor" : e >= t && e < r ? "selected" : null, bA = (e, [t, r]) => e < t ? -1 : e >= r ? 1 : 0, wA = (e, t) => Array(e).fill(null).map((n, i) => ({
|
|
8102
8102
|
state: yA(i, t),
|
|
8103
8103
|
position: bA(i, t)
|
|
@@ -8222,7 +8222,7 @@ var IA = /* @__PURE__ */ ne(({ __inputScope: e, asChild: t, children: r, ...n },
|
|
|
8222
8222
|
ref: i
|
|
8223
8223
|
}, r);
|
|
8224
8224
|
}), DA = /* @__PURE__ */ ne(({ __inputScope: e, segmentClassName: t, inputClassName: r, segmentPadding: n = "13px", segmentHeight: i = "100%", ...o }, a) => {
|
|
8225
|
-
const { id: s, validationValence: c, descriptionId: l, errorMessageId: f } = pr(Zt, e), d = AA(n), p =
|
|
8225
|
+
const { id: s, validationValence: c, descriptionId: l, errorMessageId: f } = pr(Zt, e), d = AA(n), p = Pf(a), g = O_(p), v = De(({ state: m, index: b }) => /* @__PURE__ */ x.createElement("div", {
|
|
8226
8226
|
key: b,
|
|
8227
8227
|
className: t == null ? void 0 : t({
|
|
8228
8228
|
focused: !!(g && m),
|
|
@@ -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, dj] = zn(d0), [BA,
|
|
8283
|
+
const d0 = "Collapsible", [FA, dj] = 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,
|
|
@@ -8300,18 +8300,18 @@ const d0 = "Collapsible", [FA, dj] = zn(d0), [BA, Wf] = FA(d0), jA = /* @__PURE_
|
|
|
8300
8300
|
]
|
|
8301
8301
|
)
|
|
8302
8302
|
}, /* @__PURE__ */ te(wt.div, ht({
|
|
8303
|
-
"data-state":
|
|
8303
|
+
"data-state": Hf(c),
|
|
8304
8304
|
"data-disabled": o ? "" : void 0
|
|
8305
8305
|
}, s, {
|
|
8306
8306
|
ref: t
|
|
8307
8307
|
})));
|
|
8308
8308
|
}), UA = "CollapsibleTrigger", WA = /* @__PURE__ */ ne((e, t) => {
|
|
8309
|
-
const { __scopeCollapsible: r, ...n } = e, i =
|
|
8309
|
+
const { __scopeCollapsible: r, ...n } = e, i = zf(UA, r);
|
|
8310
8310
|
return /* @__PURE__ */ te(wt.button, ht({
|
|
8311
8311
|
type: "button",
|
|
8312
8312
|
"aria-controls": i.contentId,
|
|
8313
8313
|
"aria-expanded": i.open || !1,
|
|
8314
|
-
"data-state":
|
|
8314
|
+
"data-state": Hf(i.open),
|
|
8315
8315
|
"data-disabled": i.disabled ? "" : void 0,
|
|
8316
8316
|
disabled: i.disabled
|
|
8317
8317
|
}, n, {
|
|
@@ -8319,7 +8319,7 @@ const d0 = "Collapsible", [FA, dj] = zn(d0), [BA, Wf] = FA(d0), jA = /* @__PURE_
|
|
|
8319
8319
|
onClick: $t(e.onClick, i.onOpenToggle)
|
|
8320
8320
|
}));
|
|
8321
8321
|
}), p0 = "CollapsibleContent", zA = /* @__PURE__ */ ne((e, t) => {
|
|
8322
|
-
const { forceMount: r, ...n } = e, i =
|
|
8322
|
+
const { forceMount: r, ...n } = e, i = zf(p0, e.__scopeCollapsible);
|
|
8323
8323
|
return /* @__PURE__ */ te(
|
|
8324
8324
|
br,
|
|
8325
8325
|
{
|
|
@@ -8331,7 +8331,7 @@ const d0 = "Collapsible", [FA, dj] = zn(d0), [BA, Wf] = FA(d0), jA = /* @__PURE_
|
|
|
8331
8331
|
}))
|
|
8332
8332
|
);
|
|
8333
8333
|
}), HA = /* @__PURE__ */ ne((e, t) => {
|
|
8334
|
-
const { __scopeCollapsible: r, present: n, children: i, ...o } = e, a =
|
|
8334
|
+
const { __scopeCollapsible: r, present: n, children: i, ...o } = e, a = zf(p0, r), [s, c] = Ce(n), l = Ee(null), f = Dt(t, l), d = Ee(0), p = d.current, g = Ee(0), v = g.current, m = a.open || s, b = Ee(m), w = Ee();
|
|
8335
8335
|
return _e(() => {
|
|
8336
8336
|
const _ = requestAnimationFrame(
|
|
8337
8337
|
() => b.current = !1
|
|
@@ -8351,7 +8351,7 @@ const d0 = "Collapsible", [FA, dj] = zn(d0), [BA, Wf] = FA(d0), jA = /* @__PURE_
|
|
|
8351
8351
|
a.open,
|
|
8352
8352
|
n
|
|
8353
8353
|
]), /* @__PURE__ */ te(wt.div, ht({
|
|
8354
|
-
"data-state":
|
|
8354
|
+
"data-state": Hf(a.open),
|
|
8355
8355
|
"data-disabled": a.disabled ? "" : void 0,
|
|
8356
8356
|
id: a.contentId,
|
|
8357
8357
|
hidden: !m
|
|
@@ -8364,7 +8364,7 @@ const d0 = "Collapsible", [FA, dj] = zn(d0), [BA, Wf] = FA(d0), jA = /* @__PURE_
|
|
|
8364
8364
|
}
|
|
8365
8365
|
}), m && i);
|
|
8366
8366
|
});
|
|
8367
|
-
function
|
|
8367
|
+
function Hf(e) {
|
|
8368
8368
|
return e ? "open" : "closed";
|
|
8369
8369
|
}
|
|
8370
8370
|
const VA = jA, GA = WA, KA = zA;
|
|
@@ -8523,7 +8523,7 @@ const m0 = "ScrollArea", [y0, gj] = zn(m0), [iO, wr] = y0(m0), oO = /* @__PURE__
|
|
|
8523
8523
|
})) : i.type === "auto" ? /* @__PURE__ */ te(b0, ht({}, n, {
|
|
8524
8524
|
ref: t,
|
|
8525
8525
|
forceMount: r
|
|
8526
|
-
})) : i.type === "always" ? /* @__PURE__ */ te(
|
|
8526
|
+
})) : i.type === "always" ? /* @__PURE__ */ te(Vf, ht({}, n, {
|
|
8527
8527
|
ref: t
|
|
8528
8528
|
})) : null;
|
|
8529
8529
|
}), lO = /* @__PURE__ */ ne((e, t) => {
|
|
@@ -8605,7 +8605,7 @@ const m0 = "ScrollArea", [y0, gj] = zn(m0), [iO, wr] = y0(m0), oO = /* @__PURE__
|
|
|
8605
8605
|
a
|
|
8606
8606
|
]), /* @__PURE__ */ te(br, {
|
|
8607
8607
|
present: r || s !== "hidden"
|
|
8608
|
-
}, /* @__PURE__ */ te(
|
|
8608
|
+
}, /* @__PURE__ */ te(Vf, ht({
|
|
8609
8609
|
"data-state": s === "hidden" ? "hidden" : "visible"
|
|
8610
8610
|
}, n, {
|
|
8611
8611
|
ref: t,
|
|
@@ -8627,12 +8627,12 @@ const m0 = "ScrollArea", [y0, gj] = zn(m0), [iO, wr] = y0(m0), oO = /* @__PURE__
|
|
|
8627
8627
|
}, 10);
|
|
8628
8628
|
return uo(r.viewport, c), uo(r.content, c), /* @__PURE__ */ te(br, {
|
|
8629
8629
|
present: n || o
|
|
8630
|
-
}, /* @__PURE__ */ te(
|
|
8630
|
+
}, /* @__PURE__ */ te(Vf, ht({
|
|
8631
8631
|
"data-state": o ? "visible" : "hidden"
|
|
8632
8632
|
}, i, {
|
|
8633
8633
|
ref: t
|
|
8634
8634
|
})));
|
|
8635
|
-
}),
|
|
8635
|
+
}), Vf = /* @__PURE__ */ ne((e, t) => {
|
|
8636
8636
|
const { orientation: r = "vertical", ...n } = e, i = wr(hn, e.__scopeScrollArea), o = Ee(null), a = Ee(0), [s, c] = Ce({
|
|
8637
8637
|
content: 0,
|
|
8638
8638
|
viewport: 0,
|
|
@@ -8814,15 +8814,15 @@ const m0 = "ScrollArea", [y0, gj] = zn(m0), [iO, wr] = y0(m0), oO = /* @__PURE__
|
|
|
8814
8814
|
B.hasPointerCapture(N.pointerId) && B.releasePointerCapture(N.pointerId), document.body.style.webkitUserSelect = _.current, w.current = null;
|
|
8815
8815
|
})
|
|
8816
8816
|
})));
|
|
8817
|
-
}),
|
|
8818
|
-
const { forceMount: r, ...n } = e, i = w0(
|
|
8817
|
+
}), ju = "ScrollAreaThumb", hO = /* @__PURE__ */ ne((e, t) => {
|
|
8818
|
+
const { forceMount: r, ...n } = e, i = w0(ju, e.__scopeScrollArea);
|
|
8819
8819
|
return /* @__PURE__ */ te(br, {
|
|
8820
8820
|
present: r || i.hasThumb
|
|
8821
8821
|
}, /* @__PURE__ */ te(gO, ht({
|
|
8822
8822
|
ref: t
|
|
8823
8823
|
}, n)));
|
|
8824
8824
|
}), gO = /* @__PURE__ */ ne((e, t) => {
|
|
8825
|
-
const { __scopeScrollArea: r, style: n, ...i } = e, o = wr(
|
|
8825
|
+
const { __scopeScrollArea: r, style: n, ...i } = e, o = wr(ju, r), a = w0(ju, r), { onThumbPositionChange: s } = a, c = Dt(
|
|
8826
8826
|
t,
|
|
8827
8827
|
(d) => a.onThumbChange(d)
|
|
8828
8828
|
), l = Ee(), f = wc(() => {
|
|
@@ -8993,12 +8993,12 @@ function Ta(e) {
|
|
|
8993
8993
|
function bo(e) {
|
|
8994
8994
|
return ["top", "bottom"].includes(hi(e)) ? "x" : "y";
|
|
8995
8995
|
}
|
|
8996
|
-
function
|
|
8996
|
+
function Gf(e) {
|
|
8997
8997
|
return e === "y" ? "height" : "width";
|
|
8998
8998
|
}
|
|
8999
8999
|
function uh(e, t, r) {
|
|
9000
9000
|
let { reference: n, floating: i } = e;
|
|
9001
|
-
const o = n.x + n.width / 2 - i.width / 2, a = n.y + n.height / 2 - i.height / 2, s = bo(t), c =
|
|
9001
|
+
const o = n.x + n.width / 2 - i.width / 2, a = n.y + n.height / 2 - i.height / 2, s = bo(t), c = Gf(s), l = n[c] / 2 - i[c] / 2, f = s === "x";
|
|
9002
9002
|
let d;
|
|
9003
9003
|
switch (hi(t)) {
|
|
9004
9004
|
case "top":
|
|
@@ -9049,17 +9049,17 @@ async function ma(e, t) {
|
|
|
9049
9049
|
return { top: b.top - w.top + v.top, bottom: w.bottom - b.bottom + v.bottom, left: b.left - w.left + v.left, right: w.right - b.right + v.right };
|
|
9050
9050
|
}
|
|
9051
9051
|
const CO = Math.min, ei = Math.max;
|
|
9052
|
-
function
|
|
9052
|
+
function Uu(e, t, r) {
|
|
9053
9053
|
return ei(e, CO(t, r));
|
|
9054
9054
|
}
|
|
9055
9055
|
const fh = (e) => ({ name: "arrow", options: e, async fn(t) {
|
|
9056
9056
|
const { element: r, padding: n = 0 } = e ?? {}, { x: i, y: o, placement: a, rects: s, platform: c } = t;
|
|
9057
9057
|
if (r == null)
|
|
9058
9058
|
return {};
|
|
9059
|
-
const l = C0(n), f = { x: i, y: o }, d = bo(a), p = Ta(a), g =
|
|
9059
|
+
const l = C0(n), f = { x: i, y: o }, d = bo(a), p = Ta(a), g = Gf(d), v = await c.getDimensions(r), m = d === "y" ? "top" : "left", b = d === "y" ? "bottom" : "right", w = s.reference[g] + s.reference[d] - f[d] - s.floating[g], _ = f[d] - s.reference[d], S = await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(r));
|
|
9060
9060
|
let $ = S ? d === "y" ? S.clientHeight || 0 : S.clientWidth || 0 : 0;
|
|
9061
9061
|
$ === 0 && ($ = s.floating[g]);
|
|
9062
|
-
const R = w / 2 - _ / 2, P = l[m], C = $ - v[g] - l[b], T = $ / 2 - v[g] / 2 + R, N =
|
|
9062
|
+
const R = w / 2 - _ / 2, P = l[m], C = $ - v[g] - l[b], T = $ / 2 - v[g] / 2 + R, N = Uu(P, T, C), B = (p === "start" ? l[m] : l[b]) > 0 && T !== N && s.reference[g] <= s.floating[g];
|
|
9063
9063
|
return { [d]: f[d] - (B ? T < P ? P - T : C - T : 0), data: { [d]: N, centerOffset: T - N } };
|
|
9064
9064
|
} }), AO = { left: "right", right: "left", bottom: "top", top: "bottom" };
|
|
9065
9065
|
function Us(e) {
|
|
@@ -9067,7 +9067,7 @@ function Us(e) {
|
|
|
9067
9067
|
}
|
|
9068
9068
|
function OO(e, t, r) {
|
|
9069
9069
|
r === void 0 && (r = !1);
|
|
9070
|
-
const n = Ta(e), i = bo(e), o =
|
|
9070
|
+
const n = Ta(e), i = bo(e), o = Gf(i);
|
|
9071
9071
|
let a = i === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
9072
9072
|
return t.reference[o] > t.floating[o] && (a = Us(a)), { main: a, cross: Us(a) };
|
|
9073
9073
|
}
|
|
@@ -9156,11 +9156,11 @@ const kO = function(e) {
|
|
|
9156
9156
|
let g = l[d], v = l[p];
|
|
9157
9157
|
if (o) {
|
|
9158
9158
|
const b = d === "y" ? "bottom" : "right";
|
|
9159
|
-
g =
|
|
9159
|
+
g = Uu(g + f[d === "y" ? "top" : "left"], g, g - f[b]);
|
|
9160
9160
|
}
|
|
9161
9161
|
if (a) {
|
|
9162
9162
|
const b = p === "y" ? "bottom" : "right";
|
|
9163
|
-
v =
|
|
9163
|
+
v = Uu(v + f[p === "y" ? "top" : "left"], v, v - f[b]);
|
|
9164
9164
|
}
|
|
9165
9165
|
const m = s.fn({ ...t, [d]: g, [p]: v });
|
|
9166
9166
|
return { ...m, data: { x: m.x - r, y: m.y - n } };
|
|
@@ -9220,7 +9220,7 @@ function Kr(e) {
|
|
|
9220
9220
|
function jn(e) {
|
|
9221
9221
|
return e instanceof gn(e).Element;
|
|
9222
9222
|
}
|
|
9223
|
-
function
|
|
9223
|
+
function Kf(e) {
|
|
9224
9224
|
return typeof ShadowRoot > "u" ? !1 : e instanceof gn(e).ShadowRoot || e instanceof ShadowRoot;
|
|
9225
9225
|
}
|
|
9226
9226
|
function _c(e) {
|
|
@@ -9273,19 +9273,19 @@ function MO(e, t, r) {
|
|
|
9273
9273
|
return { x: o.left + a.scrollLeft - s.x, y: o.top + a.scrollTop - s.y, width: o.width, height: o.height };
|
|
9274
9274
|
}
|
|
9275
9275
|
function k0(e) {
|
|
9276
|
-
return ln(e) === "html" ? e : e.assignedSlot || e.parentNode || (
|
|
9276
|
+
return ln(e) === "html" ? e : e.assignedSlot || e.parentNode || (Kf(e) ? e.host : null) || Nn(e);
|
|
9277
9277
|
}
|
|
9278
9278
|
function mh(e) {
|
|
9279
9279
|
return Kr(e) && getComputedStyle(e).position !== "fixed" ? e.offsetParent : null;
|
|
9280
9280
|
}
|
|
9281
|
-
function
|
|
9281
|
+
function Wu(e) {
|
|
9282
9282
|
const t = gn(e);
|
|
9283
9283
|
let r = mh(e);
|
|
9284
9284
|
for (; r && LO(r) && getComputedStyle(r).position === "static"; )
|
|
9285
9285
|
r = mh(r);
|
|
9286
9286
|
return r && (ln(r) === "html" || ln(r) === "body" && getComputedStyle(r).position === "static" && !gh(r)) ? t : r || function(n) {
|
|
9287
9287
|
let i = k0(n);
|
|
9288
|
-
for (
|
|
9288
|
+
for (Kf(i) && (i = i.host); Kr(i) && !["html", "body"].includes(ln(i)); ) {
|
|
9289
9289
|
if (gh(i))
|
|
9290
9290
|
return i;
|
|
9291
9291
|
i = i.parentNode;
|
|
@@ -9331,12 +9331,12 @@ function bh(e, t, r) {
|
|
|
9331
9331
|
}(Nn(e)));
|
|
9332
9332
|
}
|
|
9333
9333
|
function FO(e) {
|
|
9334
|
-
const t = zs(e), r = ["absolute", "fixed"].includes(Ia(e).position) && Kr(e) ?
|
|
9334
|
+
const t = zs(e), r = ["absolute", "fixed"].includes(Ia(e).position) && Kr(e) ? Wu(e) : e;
|
|
9335
9335
|
return jn(r) ? t.filter((n) => jn(n) && function(i, o) {
|
|
9336
9336
|
const a = o.getRootNode == null ? void 0 : o.getRootNode();
|
|
9337
9337
|
if (i.contains(o))
|
|
9338
9338
|
return !0;
|
|
9339
|
-
if (a &&
|
|
9339
|
+
if (a && Kf(a)) {
|
|
9340
9340
|
let s = o;
|
|
9341
9341
|
do {
|
|
9342
9342
|
if (s && i === s)
|
|
@@ -9366,9 +9366,9 @@ const BO = { getClippingRect: function(e) {
|
|
|
9366
9366
|
s.x = c.x + r.clientLeft, s.y = c.y + r.clientTop;
|
|
9367
9367
|
}
|
|
9368
9368
|
return { ...t, x: t.x - a.scrollLeft + s.x, y: t.y - a.scrollTop + s.y };
|
|
9369
|
-
}, isElement: jn, getDimensions: yh, getOffsetParent:
|
|
9369
|
+
}, isElement: jn, getDimensions: yh, getOffsetParent: Wu, getDocumentElement: Nn, getElementRects: (e) => {
|
|
9370
9370
|
let { reference: t, floating: r, strategy: n } = e;
|
|
9371
|
-
return { reference: MO(t,
|
|
9371
|
+
return { reference: MO(t, Wu(r), n), floating: { ...yh(r), x: 0, y: 0 } };
|
|
9372
9372
|
}, getClientRects: (e) => Array.from(e.getClientRects()), isRTL: (e) => Ia(e).direction === "rtl" };
|
|
9373
9373
|
function jO(e, t, r, n) {
|
|
9374
9374
|
n === void 0 && (n = {});
|
|
@@ -9395,8 +9395,8 @@ function jO(e, t, r, n) {
|
|
|
9395
9395
|
};
|
|
9396
9396
|
}
|
|
9397
9397
|
const UO = (e, t, r) => $O(e, t, { platform: BO, ...r });
|
|
9398
|
-
var
|
|
9399
|
-
function
|
|
9398
|
+
var zu = typeof document < "u" ? ui : _e;
|
|
9399
|
+
function Hu(e, t) {
|
|
9400
9400
|
if (e === t)
|
|
9401
9401
|
return !0;
|
|
9402
9402
|
if (typeof e != typeof t)
|
|
@@ -9409,7 +9409,7 @@ function zu(e, t) {
|
|
|
9409
9409
|
if (r = e.length, r != t.length)
|
|
9410
9410
|
return !1;
|
|
9411
9411
|
for (n = r; n-- !== 0; )
|
|
9412
|
-
if (!
|
|
9412
|
+
if (!Hu(e[n], t[n]))
|
|
9413
9413
|
return !1;
|
|
9414
9414
|
return !0;
|
|
9415
9415
|
}
|
|
@@ -9420,7 +9420,7 @@ function zu(e, t) {
|
|
|
9420
9420
|
return !1;
|
|
9421
9421
|
for (n = r; n-- !== 0; ) {
|
|
9422
9422
|
const o = i[n];
|
|
9423
|
-
if (!(o === "_owner" && e.$$typeof) && !
|
|
9423
|
+
if (!(o === "_owner" && e.$$typeof) && !Hu(e[o], t[o]))
|
|
9424
9424
|
return !1;
|
|
9425
9425
|
}
|
|
9426
9426
|
return !0;
|
|
@@ -9429,7 +9429,7 @@ function zu(e, t) {
|
|
|
9429
9429
|
}
|
|
9430
9430
|
function WO(e) {
|
|
9431
9431
|
const t = we.useRef(e);
|
|
9432
|
-
return
|
|
9432
|
+
return zu(() => {
|
|
9433
9433
|
t.current = e;
|
|
9434
9434
|
}), t;
|
|
9435
9435
|
}
|
|
@@ -9449,7 +9449,7 @@ function zO(e) {
|
|
|
9449
9449
|
placement: r,
|
|
9450
9450
|
middlewareData: {}
|
|
9451
9451
|
}), [d, p] = we.useState(t);
|
|
9452
|
-
|
|
9452
|
+
Hu(d == null ? void 0 : d.map((S) => {
|
|
9453
9453
|
let {
|
|
9454
9454
|
options: $
|
|
9455
9455
|
} = S;
|
|
@@ -9471,11 +9471,11 @@ function zO(e) {
|
|
|
9471
9471
|
});
|
|
9472
9472
|
});
|
|
9473
9473
|
}, [d, r, n]);
|
|
9474
|
-
|
|
9474
|
+
zu(() => {
|
|
9475
9475
|
v.current && g();
|
|
9476
9476
|
}, [g]);
|
|
9477
9477
|
const v = we.useRef(!1);
|
|
9478
|
-
|
|
9478
|
+
zu(() => (v.current = !0, () => {
|
|
9479
9479
|
v.current = !1;
|
|
9480
9480
|
}), []);
|
|
9481
9481
|
const m = we.useCallback(() => {
|
|
@@ -9533,7 +9533,7 @@ const HO = (e) => {
|
|
|
9533
9533
|
}), e.asChild ? r : /* @__PURE__ */ te("polygon", {
|
|
9534
9534
|
points: "0,0 30,0 15,10"
|
|
9535
9535
|
}));
|
|
9536
|
-
}), GO = VO, D0 = "Popper", [
|
|
9536
|
+
}), GO = VO, D0 = "Popper", [qf, L0] = zn(D0), [KO, M0] = qf(D0), qO = (e) => {
|
|
9537
9537
|
const { __scopePopper: t, children: r } = e, [n, i] = Ce(null);
|
|
9538
9538
|
return /* @__PURE__ */ te(KO, {
|
|
9539
9539
|
scope: t,
|
|
@@ -9547,7 +9547,7 @@ const HO = (e) => {
|
|
|
9547
9547
|
}), n ? null : /* @__PURE__ */ te(wt.div, nt({}, i, {
|
|
9548
9548
|
ref: s
|
|
9549
9549
|
}));
|
|
9550
|
-
}), Hs = "PopperContent", [XO, ZO] =
|
|
9550
|
+
}), Hs = "PopperContent", [XO, ZO] = qf(Hs), [QO, e5] = qf(Hs, {
|
|
9551
9551
|
hasParent: !1,
|
|
9552
9552
|
positionUpdateFns: /* @__PURE__ */ new Set()
|
|
9553
9553
|
}), t5 = /* @__PURE__ */ ne((e, t) => {
|
|
@@ -9786,7 +9786,7 @@ const l5 = qO, u5 = JO, f5 = t5, d5 = i5, p5 = /* @__PURE__ */ ne((e, t) => /* @
|
|
|
9786
9786
|
}
|
|
9787
9787
|
}))), h5 = p5, [xc, vj] = zn("Tooltip", [
|
|
9788
9788
|
L0
|
|
9789
|
-
]), Sc = L0(), g5 = "TooltipProvider", v5 = 700,
|
|
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);
|
|
9791
9791
|
return _e(() => {
|
|
9792
9792
|
const f = l.current;
|
|
@@ -9812,12 +9812,12 @@ const l5 = qO, u5 = JO, f5 = t5, d5 = i5, p5 = /* @__PURE__ */ ne((e, t) => /* @
|
|
|
9812
9812
|
}, []),
|
|
9813
9813
|
disableHoverableContent: i
|
|
9814
9814
|
}, o);
|
|
9815
|
-
},
|
|
9816
|
-
const { __scopeTooltip: t, children: r, open: n, defaultOpen: i = !1, onOpenChange: o, disableHoverableContent: a, delayDuration: s } = e, c =
|
|
9815
|
+
}, Jf = "Tooltip", [b5, Pa] = xc(Jf), w5 = (e) => {
|
|
9816
|
+
const { __scopeTooltip: t, children: r, open: n, defaultOpen: i = !1, onOpenChange: o, disableHoverableContent: a, delayDuration: s } = e, c = Yf(Jf, e.__scopeTooltip), l = Sc(t), [f, d] = Ce(null), p = oa(), g = Ee(0), v = a ?? c.disableHoverableContent, m = s ?? c.delayDuration, b = Ee(!1), [w = !1, _] = fc({
|
|
9817
9817
|
prop: n,
|
|
9818
9818
|
defaultProp: i,
|
|
9819
9819
|
onChange: (C) => {
|
|
9820
|
-
C ? (c.onOpen(), document.dispatchEvent(new CustomEvent(
|
|
9820
|
+
C ? (c.onOpen(), document.dispatchEvent(new CustomEvent(Vu))) : c.onClose(), o == null || o(C);
|
|
9821
9821
|
}
|
|
9822
9822
|
}), S = gt(() => w ? b.current ? "delayed-open" : "instant-open" : "closed", [
|
|
9823
9823
|
w
|
|
@@ -9862,7 +9862,7 @@ const l5 = qO, u5 = JO, f5 = t5, d5 = i5, p5 = /* @__PURE__ */ ne((e, t) => /* @
|
|
|
9862
9862
|
disableHoverableContent: v
|
|
9863
9863
|
}, r));
|
|
9864
9864
|
}, wh = "TooltipTrigger", _5 = /* @__PURE__ */ ne((e, t) => {
|
|
9865
|
-
const { __scopeTooltip: r, ...n } = e, i = Pa(wh, r), o =
|
|
9865
|
+
const { __scopeTooltip: r, ...n } = e, i = Pa(wh, r), o = Yf(wh, r), a = Sc(r), s = Ee(null), c = Dt(t, s, i.onTriggerChange), l = Ee(!1), f = Ee(!1), d = De(
|
|
9866
9866
|
() => l.current = !1,
|
|
9867
9867
|
[]
|
|
9868
9868
|
);
|
|
@@ -9921,7 +9921,7 @@ const l5 = qO, u5 = JO, f5 = t5, d5 = i5, p5 = /* @__PURE__ */ ne((e, t) => /* @
|
|
|
9921
9921
|
ref: t
|
|
9922
9922
|
})));
|
|
9923
9923
|
}), C5 = /* @__PURE__ */ ne((e, t) => {
|
|
9924
|
-
const r = Pa(ya, e.__scopeTooltip), n =
|
|
9924
|
+
const r = Pa(ya, e.__scopeTooltip), n = Yf(ya, e.__scopeTooltip), i = Ee(null), o = Dt(t, i), [a, s] = Ce(null), { trigger: c, onClose: l } = r, f = i.current, { onPointerInTransitChange: d } = n, p = De(() => {
|
|
9925
9925
|
s(null), d(!1);
|
|
9926
9926
|
}, [
|
|
9927
9927
|
d
|
|
@@ -9977,11 +9977,11 @@ const l5 = qO, u5 = JO, f5 = t5, d5 = i5, p5 = /* @__PURE__ */ ne((e, t) => /* @
|
|
|
9977
9977
|
]), /* @__PURE__ */ te(j0, ze({}, e, {
|
|
9978
9978
|
ref: o
|
|
9979
9979
|
}));
|
|
9980
|
-
}), [A5, O5] = xc(
|
|
9980
|
+
}), [A5, O5] = xc(Jf, {
|
|
9981
9981
|
isInside: !1
|
|
9982
9982
|
}), j0 = /* @__PURE__ */ ne((e, t) => {
|
|
9983
9983
|
const { __scopeTooltip: r, children: n, "aria-label": i, onEscapeKeyDown: o, onPointerDownOutside: a, ...s } = e, c = Pa(ya, r), l = Sc(r), { onClose: f } = c;
|
|
9984
|
-
return _e(() => (document.addEventListener(
|
|
9984
|
+
return _e(() => (document.addEventListener(Vu, f), () => document.removeEventListener(Vu, f)), [
|
|
9985
9985
|
f
|
|
9986
9986
|
]), _e(() => {
|
|
9987
9987
|
if (c.trigger) {
|
|
@@ -10017,7 +10017,7 @@ const l5 = qO, u5 = JO, f5 = t5, d5 = i5, p5 = /* @__PURE__ */ ne((e, t) => /* @
|
|
|
10017
10017
|
"--radix-tooltip-trigger-width": "var(--radix-popper-anchor-width)",
|
|
10018
10018
|
"--radix-tooltip-trigger-height": "var(--radix-popper-anchor-height)"
|
|
10019
10019
|
}
|
|
10020
|
-
}), /* @__PURE__ */ te(
|
|
10020
|
+
}), /* @__PURE__ */ te(Df, null, n), /* @__PURE__ */ te(A5, {
|
|
10021
10021
|
scope: r,
|
|
10022
10022
|
isInside: !0
|
|
10023
10023
|
}, /* @__PURE__ */ te(h5, {
|
|
@@ -10130,14 +10130,14 @@ function B5(e) {
|
|
|
10130
10130
|
n = !0;
|
|
10131
10131
|
}, e.document.createElement("button").focus(), t.prototype.focus = r, n;
|
|
10132
10132
|
}
|
|
10133
|
-
var
|
|
10133
|
+
var Ml = !1;
|
|
10134
10134
|
function fo(e) {
|
|
10135
10135
|
const t = e.focus;
|
|
10136
10136
|
t.__keyborgNativeFocus ? t.__keyborgNativeFocus.call(e) : e.focus();
|
|
10137
10137
|
}
|
|
10138
10138
|
function j5(e) {
|
|
10139
10139
|
const t = e;
|
|
10140
|
-
|
|
10140
|
+
Ml || (Ml = B5(t));
|
|
10141
10141
|
const r = t.HTMLElement.prototype.focus;
|
|
10142
10142
|
if (r.__keyborgNativeFocus)
|
|
10143
10143
|
return;
|
|
@@ -10189,7 +10189,7 @@ function j5(e) {
|
|
|
10189
10189
|
composed: !0,
|
|
10190
10190
|
detail: m
|
|
10191
10191
|
});
|
|
10192
|
-
b.details = m, (
|
|
10192
|
+
b.details = m, (Ml || s.lastFocusedProgrammatically) && (m.isFocusedProgrammatically = f === ((g = s.lastFocusedProgrammatically) == null ? void 0 : g.deref()), s.lastFocusedProgrammatically = void 0), f.dispatchEvent(b);
|
|
10193
10193
|
}, s = t.__keyborgData = {
|
|
10194
10194
|
focusInHandler: o,
|
|
10195
10195
|
focusOutHandler: i,
|
|
@@ -10292,7 +10292,7 @@ var W5 = 500, U0 = 0, z5 = class {
|
|
|
10292
10292
|
const r = (t = (e = this._win) == null ? void 0 : e.__keyborg) == null ? void 0 : t.refs;
|
|
10293
10293
|
if (r)
|
|
10294
10294
|
for (const n of Object.keys(r))
|
|
10295
|
-
|
|
10295
|
+
Xf.update(r[n], this.isNavigatingWithKeyboard);
|
|
10296
10296
|
}
|
|
10297
10297
|
/**
|
|
10298
10298
|
* @returns whether the keyboard event should trigger keyboard navigation mode
|
|
@@ -10323,7 +10323,7 @@ var W5 = 500, U0 = 0, z5 = class {
|
|
|
10323
10323
|
}, W5);
|
|
10324
10324
|
}
|
|
10325
10325
|
}
|
|
10326
|
-
},
|
|
10326
|
+
}, Xf = class W0 {
|
|
10327
10327
|
constructor(t, r) {
|
|
10328
10328
|
this._cb = [], this._id = "k" + ++U0, this._win = t;
|
|
10329
10329
|
const n = t.__keyborg;
|
|
@@ -10379,10 +10379,10 @@ var W5 = 500, U0 = 0, z5 = class {
|
|
|
10379
10379
|
}
|
|
10380
10380
|
};
|
|
10381
10381
|
function z0(e, t) {
|
|
10382
|
-
return
|
|
10382
|
+
return Xf.create(e, t);
|
|
10383
10383
|
}
|
|
10384
10384
|
function H5(e) {
|
|
10385
|
-
|
|
10385
|
+
Xf.dispose(e);
|
|
10386
10386
|
}
|
|
10387
10387
|
/*!
|
|
10388
10388
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -10640,7 +10640,7 @@ var J0 = /* @__PURE__ */ Vt({
|
|
|
10640
10640
|
value: {
|
|
10641
10641
|
elevation: e
|
|
10642
10642
|
}
|
|
10643
|
-
}, t), sT =
|
|
10643
|
+
}, t), sT = Ff, cT = sm, lT = um, uT = /* @__PURE__ */ ne(({ classNames: e, srOnly: t, ...r }, n) => {
|
|
10644
10644
|
const { tx: i } = Fe();
|
|
10645
10645
|
return /* @__PURE__ */ x.createElement(hm, {
|
|
10646
10646
|
...r,
|
|
@@ -10673,7 +10673,7 @@ var J0 = /* @__PURE__ */ Vt({
|
|
|
10673
10673
|
Q0.displayName = X0;
|
|
10674
10674
|
var ey = /* @__PURE__ */ ne(({ classNames: e, children: t, ...r }, n) => {
|
|
10675
10675
|
const { tx: i } = Fe(), { inOverlayLayout: o } = hT(Z0);
|
|
10676
|
-
return /* @__PURE__ */ x.createElement(
|
|
10676
|
+
return /* @__PURE__ */ x.createElement(Lf, {
|
|
10677
10677
|
...r,
|
|
10678
10678
|
className: i("dialog.content", "dialog", {
|
|
10679
10679
|
inOverlayLayout: o
|
|
@@ -10978,7 +10978,7 @@ var Ui = {
|
|
|
10978
10978
|
value: {
|
|
10979
10979
|
density: e
|
|
10980
10980
|
}
|
|
10981
|
-
}, t),
|
|
10981
|
+
}, t), Zf = /* @__PURE__ */ ne(({ classNames: e, children: t, ...r }, n) => {
|
|
10982
10982
|
const { tx: i } = Fe(), o = Xr(r.density);
|
|
10983
10983
|
return /* @__PURE__ */ x.createElement(wo, {
|
|
10984
10984
|
density: o
|
|
@@ -11039,7 +11039,7 @@ var Ui = {
|
|
|
11039
11039
|
}, e),
|
|
11040
11040
|
ref: n
|
|
11041
11041
|
}, t);
|
|
11042
|
-
}),
|
|
11042
|
+
}), Gu = {
|
|
11043
11043
|
Root: YT,
|
|
11044
11044
|
Endcap: VT,
|
|
11045
11045
|
Heading: KT,
|
|
@@ -11106,7 +11106,7 @@ var JT = (e, {
|
|
|
11106
11106
|
o,
|
|
11107
11107
|
v
|
|
11108
11108
|
]);
|
|
11109
|
-
},
|
|
11109
|
+
}, Qf = "NavigationSidebar", ed = "Main", [mj, ay] = mo(ed, {
|
|
11110
11110
|
navigationSidebarOpen: !1,
|
|
11111
11111
|
setNavigationSidebarOpen: (e) => {
|
|
11112
11112
|
console.warn("Attempt to set sidebar state without initializing `MainRoot`");
|
|
@@ -11120,12 +11120,12 @@ var JT = (e, {
|
|
|
11120
11120
|
}, ZT = /* @__PURE__ */ ne(({ classNames: e, children: t, swipeToDismiss: r, onOpenAutoFocus: n, open: i, setOpen: o, side: a, ...s }, c) => {
|
|
11121
11121
|
const [l] = Rv("lg", {
|
|
11122
11122
|
ssr: !1
|
|
11123
|
-
}), { tx: f } = Fe(), d =
|
|
11123
|
+
}), { tx: f } = Fe(), d = Pf(c), p = Ee(null);
|
|
11124
11124
|
JT(r ? d : p, {
|
|
11125
11125
|
onDismiss: () => o(!1)
|
|
11126
11126
|
});
|
|
11127
|
-
const g = l ? rt.div :
|
|
11128
|
-
return /* @__PURE__ */ x.createElement(
|
|
11127
|
+
const g = l ? rt.div : Lf;
|
|
11128
|
+
return /* @__PURE__ */ x.createElement(Ff, {
|
|
11129
11129
|
open: i,
|
|
11130
11130
|
modal: !1
|
|
11131
11131
|
}, /* @__PURE__ */ x.createElement(g, {
|
|
@@ -11148,7 +11148,7 @@ var JT = (e, {
|
|
|
11148
11148
|
elevation: "group"
|
|
11149
11149
|
}, t)));
|
|
11150
11150
|
}), sy = /* @__PURE__ */ ne((e, t) => {
|
|
11151
|
-
const { navigationSidebarOpen: r, setNavigationSidebarOpen: n } = ay(
|
|
11151
|
+
const { navigationSidebarOpen: r, setNavigationSidebarOpen: n } = ay(Qf);
|
|
11152
11152
|
return /* @__PURE__ */ x.createElement(ZT, {
|
|
11153
11153
|
...e,
|
|
11154
11154
|
open: r,
|
|
@@ -11157,12 +11157,12 @@ var JT = (e, {
|
|
|
11157
11157
|
ref: t
|
|
11158
11158
|
});
|
|
11159
11159
|
});
|
|
11160
|
-
sy.displayName =
|
|
11161
|
-
sy.displayName =
|
|
11160
|
+
sy.displayName = Qf;
|
|
11161
|
+
sy.displayName = Qf;
|
|
11162
11162
|
var QT = /* @__PURE__ */ ne(({ asChild: e, classNames: t, bounce: r, children: n, ...i }, o) => {
|
|
11163
11163
|
const [a] = Rv("lg", {
|
|
11164
11164
|
ssr: !1
|
|
11165
|
-
}), { navigationSidebarOpen: s, complementarySidebarOpen: c } = ay(
|
|
11165
|
+
}), { navigationSidebarOpen: s, complementarySidebarOpen: c } = ay(ed), { tx: l } = Fe(), f = e ? kt : "main";
|
|
11166
11166
|
return /* @__PURE__ */ x.createElement(f, {
|
|
11167
11167
|
...i,
|
|
11168
11168
|
className: l("main.content", "main", {
|
|
@@ -11174,7 +11174,7 @@ var QT = /* @__PURE__ */ ne(({ asChild: e, classNames: t, bounce: r, children: n
|
|
|
11174
11174
|
ref: o
|
|
11175
11175
|
}, n);
|
|
11176
11176
|
});
|
|
11177
|
-
QT.displayName =
|
|
11177
|
+
QT.displayName = ed;
|
|
11178
11178
|
var cy = "Message", [e6, ly] = mo(cy), uy = /* @__PURE__ */ ne(({ asChild: e, valence: t, elevation: r, className: n, titleId: i, descriptionId: o, children: a, ...s }, c) => {
|
|
11179
11179
|
const { tx: l } = Fe(), f = It("message__title", i), d = It("message__description", o), p = gi(r), g = e ? kt : rt.div;
|
|
11180
11180
|
return /* @__PURE__ */ x.createElement(e6, {
|
|
@@ -11212,7 +11212,7 @@ var py = "MessageBody", hy = /* @__PURE__ */ ne(({ asChild: e, className: t, chi
|
|
|
11212
11212
|
}, r);
|
|
11213
11213
|
});
|
|
11214
11214
|
hy.displayName = py;
|
|
11215
|
-
var
|
|
11215
|
+
var Fl = {
|
|
11216
11216
|
Root: uy,
|
|
11217
11217
|
Title: dy,
|
|
11218
11218
|
Body: hy
|
|
@@ -11360,20 +11360,20 @@ var Ml = {
|
|
|
11360
11360
|
violet: /#ee82ee(ff)?(?!\w)/gi,
|
|
11361
11361
|
wheat: /#f5deb3(ff)?(?!\w)/gi,
|
|
11362
11362
|
white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi
|
|
11363
|
-
},
|
|
11363
|
+
}, Bl = h6, td = {
|
|
11364
11364
|
whitespace: /\s+/g,
|
|
11365
11365
|
urlHexPairs: /%[\dA-F]{2}/g,
|
|
11366
11366
|
quotes: /"/g
|
|
11367
11367
|
};
|
|
11368
11368
|
function g6(e) {
|
|
11369
|
-
return e.trim().replace(
|
|
11369
|
+
return e.trim().replace(td.whitespace, " ");
|
|
11370
11370
|
}
|
|
11371
11371
|
function v6(e) {
|
|
11372
|
-
return encodeURIComponent(e).replace(
|
|
11372
|
+
return encodeURIComponent(e).replace(td.urlHexPairs, y6);
|
|
11373
11373
|
}
|
|
11374
11374
|
function m6(e) {
|
|
11375
|
-
return Object.keys(
|
|
11376
|
-
|
|
11375
|
+
return Object.keys(Bl).forEach(function(t) {
|
|
11376
|
+
Bl[t].test(e) && (e = e.replace(Bl[t], t));
|
|
11377
11377
|
}), e;
|
|
11378
11378
|
}
|
|
11379
11379
|
function y6(e) {
|
|
@@ -11390,17 +11390,17 @@ function y6(e) {
|
|
|
11390
11390
|
return e.toLowerCase();
|
|
11391
11391
|
}
|
|
11392
11392
|
}
|
|
11393
|
-
function
|
|
11393
|
+
function Ku(e) {
|
|
11394
11394
|
if (typeof e != "string")
|
|
11395
11395
|
throw new TypeError("Expected a string, but received " + typeof e);
|
|
11396
11396
|
e.charCodeAt(0) === 65279 && (e = e.slice(1));
|
|
11397
|
-
var t = m6(g6(e)).replace(
|
|
11397
|
+
var t = m6(g6(e)).replace(td.quotes, "'");
|
|
11398
11398
|
return "data:image/svg+xml," + v6(t);
|
|
11399
11399
|
}
|
|
11400
|
-
|
|
11401
|
-
return
|
|
11400
|
+
Ku.toSrcset = function(t) {
|
|
11401
|
+
return Ku(t).replace(/ /g, "%20");
|
|
11402
11402
|
};
|
|
11403
|
-
var b6 =
|
|
11403
|
+
var b6 = Ku, vy = {}, my = {};
|
|
11404
11404
|
(function(e) {
|
|
11405
11405
|
Object.defineProperty(e, "__esModule", {
|
|
11406
11406
|
value: !0
|
|
@@ -11445,9 +11445,9 @@ var b6 = Gu, vy = {}, my = {};
|
|
|
11445
11445
|
}
|
|
11446
11446
|
const n = t.default;
|
|
11447
11447
|
})(vy);
|
|
11448
|
-
let
|
|
11449
|
-
var
|
|
11450
|
-
const w6 = /* @__PURE__ */ Un(
|
|
11448
|
+
let jl = vy;
|
|
11449
|
+
var rd = (jl.__esModule ? jl : { default: jl }).default;
|
|
11450
|
+
const w6 = /* @__PURE__ */ Un(rd);
|
|
11451
11451
|
var yy = {}, by = {};
|
|
11452
11452
|
(function(e) {
|
|
11453
11453
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -12544,13 +12544,13 @@ var _6 = {
|
|
|
12544
12544
|
}
|
|
12545
12545
|
const i = (0, t.cloneDeep)(r.default.theme);
|
|
12546
12546
|
})(yy);
|
|
12547
|
-
let
|
|
12548
|
-
var E6 = (
|
|
12547
|
+
let Ul = yy;
|
|
12548
|
+
var E6 = (Ul.__esModule ? Ul : { default: Ul }).default, wy = {}, _y = {}, nd = { exports: {} }, Et = String, Ey = function() {
|
|
12549
12549
|
return { isColorSupported: !1, reset: Et, bold: Et, dim: Et, italic: Et, underline: Et, inverse: Et, hidden: Et, strikethrough: Et, black: Et, red: Et, green: Et, yellow: Et, blue: Et, magenta: Et, cyan: Et, white: Et, gray: Et, bgBlack: Et, bgRed: Et, bgGreen: Et, bgYellow: Et, bgBlue: Et, bgMagenta: Et, bgCyan: Et, bgWhite: Et };
|
|
12550
12550
|
};
|
|
12551
|
-
|
|
12552
|
-
|
|
12553
|
-
var x6 =
|
|
12551
|
+
nd.exports = Ey();
|
|
12552
|
+
nd.exports.createColors = Ey;
|
|
12553
|
+
var x6 = nd.exports;
|
|
12554
12554
|
(function(e) {
|
|
12555
12555
|
Object.defineProperty(e, "__esModule", {
|
|
12556
12556
|
value: !0
|
|
@@ -12960,9 +12960,9 @@ var x6 = rd.exports;
|
|
|
12960
12960
|
}
|
|
12961
12961
|
};
|
|
12962
12962
|
})(wy);
|
|
12963
|
-
let
|
|
12964
|
-
var S6 = (
|
|
12965
|
-
const cs = b6, $6 =
|
|
12963
|
+
let Wl = wy;
|
|
12964
|
+
var S6 = (Wl.__esModule ? Wl : { default: Wl }).default;
|
|
12965
|
+
const cs = b6, $6 = rd, xy = E6, bn = S6, [C6, { lineHeight: A6 }] = xy.fontSize.base, { spacing: nn, borderWidth: $h, borderRadius: Ch } = xy;
|
|
12966
12966
|
$6.withOptions(function(e = { strategy: void 0 }) {
|
|
12967
12967
|
return function({ addBase: t, addComponents: r, theme: n }) {
|
|
12968
12968
|
const i = e.strategy === void 0 ? ["base", "class"] : [e.strategy], o = [
|
|
@@ -13458,23 +13458,23 @@ Vs.exports;
|
|
|
13458
13458
|
writable: !0
|
|
13459
13459
|
}) : j[ee] = A;
|
|
13460
13460
|
}
|
|
13461
|
-
var
|
|
13461
|
+
var Qc = fl();
|
|
13462
13462
|
function tn(j) {
|
|
13463
|
-
return j == null ? j === void 0 ? C : w : Ie && Ie in Object(j) ? Fo(j) :
|
|
13463
|
+
return j == null ? j === void 0 ? C : w : Ie && Ie in Object(j) ? Fo(j) : gl(j);
|
|
13464
13464
|
}
|
|
13465
13465
|
function Mo(j) {
|
|
13466
13466
|
return tr(j) && tn(j) == s;
|
|
13467
13467
|
}
|
|
13468
|
-
function
|
|
13469
|
-
if (!Dr(j) ||
|
|
13468
|
+
function el(j) {
|
|
13469
|
+
if (!Dr(j) || hl(j))
|
|
13470
13470
|
return !1;
|
|
13471
13471
|
var ee = Ri(j) ? y : ue;
|
|
13472
|
-
return ee.test(
|
|
13472
|
+
return ee.test(yl(j));
|
|
13473
13473
|
}
|
|
13474
|
-
function
|
|
13474
|
+
function tl(j) {
|
|
13475
13475
|
return tr(j) && ki(j.length) && !!J[tn(j)];
|
|
13476
13476
|
}
|
|
13477
|
-
function
|
|
13477
|
+
function rl(j) {
|
|
13478
13478
|
if (!Dr(j))
|
|
13479
13479
|
return Ha(j);
|
|
13480
13480
|
var ee = za(j), A = [];
|
|
@@ -13483,16 +13483,16 @@ Vs.exports;
|
|
|
13483
13483
|
return A;
|
|
13484
13484
|
}
|
|
13485
13485
|
function Ii(j, ee, A, U, re) {
|
|
13486
|
-
j !== ee &&
|
|
13486
|
+
j !== ee && Qc(ee, function(ve, Ne) {
|
|
13487
13487
|
if (re || (re = new qe()), Dr(ve))
|
|
13488
|
-
|
|
13488
|
+
nl(j, ee, Ne, A, Ii, U, re);
|
|
13489
13489
|
else {
|
|
13490
13490
|
var Pe = U ? U(Bo(j, Ne), ve, Ne + "", j, ee, re) : void 0;
|
|
13491
13491
|
Pe === void 0 && (Pe = ve), sr(j, Ne, Pe);
|
|
13492
13492
|
}
|
|
13493
13493
|
}, qa);
|
|
13494
13494
|
}
|
|
13495
|
-
function
|
|
13495
|
+
function nl(j, ee, A, U, re, ve, Ne) {
|
|
13496
13496
|
var Pe = Bo(j, A), Ue = Bo(ee, A), He = Ne.get(Ue);
|
|
13497
13497
|
if (He) {
|
|
13498
13498
|
sr(j, A, He);
|
|
@@ -13501,14 +13501,14 @@ Vs.exports;
|
|
|
13501
13501
|
var Ze = ve ? ve(Pe, Ue, A + "", j, ee, Ne) : void 0, jt = Ze === void 0;
|
|
13502
13502
|
if (jt) {
|
|
13503
13503
|
var Wt = Kn(Ue), rn = !Wt && Va(Ue), Ni = !Wt && !rn && Ga(Ue);
|
|
13504
|
-
Ze = Ue, Wt || rn || Ni ? Kn(Pe) ? Ze = Pe : Uo(Pe) ? Ze =
|
|
13504
|
+
Ze = Ue, Wt || rn || Ni ? Kn(Pe) ? Ze = Pe : Uo(Pe) ? Ze = cl(Pe) : rn ? (jt = !1, Ze = ol(Ue, !0)) : Ni ? (jt = !1, Ze = sl(Ue, !0)) : Ze = [] : Yn(Ue) || mn(Ue) ? (Ze = Pe, mn(Pe) ? Ze = Ka(Pe) : (!Dr(Pe) || Ri(Pe)) && (Ze = dl(Ue))) : jt = !1;
|
|
13505
13505
|
}
|
|
13506
13506
|
jt && (Ne.set(Ue, Ze), re(Ze, Ue, U, ve, Ne), Ne.delete(Ue)), sr(j, A, Ze);
|
|
13507
13507
|
}
|
|
13508
13508
|
function ja(j, ee) {
|
|
13509
|
-
return jo(
|
|
13509
|
+
return jo(vl(j, ee, Ja), j + "");
|
|
13510
13510
|
}
|
|
13511
|
-
var
|
|
13511
|
+
var il = Le ? function(j, ee) {
|
|
13512
13512
|
return Le(j, "toString", {
|
|
13513
13513
|
configurable: !0,
|
|
13514
13514
|
enumerable: !1,
|
|
@@ -13516,27 +13516,27 @@ Vs.exports;
|
|
|
13516
13516
|
writable: !0
|
|
13517
13517
|
});
|
|
13518
13518
|
} : Ja;
|
|
13519
|
-
function
|
|
13519
|
+
function ol(j, ee) {
|
|
13520
13520
|
if (ee)
|
|
13521
13521
|
return j.slice();
|
|
13522
13522
|
var A = j.length, U = O ? O(A) : new j.constructor(A);
|
|
13523
13523
|
return j.copy(U), U;
|
|
13524
13524
|
}
|
|
13525
|
-
function
|
|
13525
|
+
function al(j) {
|
|
13526
13526
|
var ee = new j.constructor(j.byteLength);
|
|
13527
13527
|
return new E(ee).set(new E(j)), ee;
|
|
13528
13528
|
}
|
|
13529
|
-
function
|
|
13530
|
-
var A = ee ?
|
|
13529
|
+
function sl(j, ee) {
|
|
13530
|
+
var A = ee ? al(j.buffer) : j.buffer;
|
|
13531
13531
|
return new j.constructor(A, j.byteOffset, j.length);
|
|
13532
13532
|
}
|
|
13533
|
-
function
|
|
13533
|
+
function cl(j, ee) {
|
|
13534
13534
|
var A = -1, U = j.length;
|
|
13535
13535
|
for (ee || (ee = Array(U)); ++A < U; )
|
|
13536
13536
|
ee[A] = j[A];
|
|
13537
13537
|
return ee;
|
|
13538
13538
|
}
|
|
13539
|
-
function
|
|
13539
|
+
function ll(j, ee, A, U) {
|
|
13540
13540
|
var re = !A;
|
|
13541
13541
|
A || (A = {});
|
|
13542
13542
|
for (var ve = -1, Ne = ee.length; ++ve < Ne; ) {
|
|
@@ -13545,7 +13545,7 @@ Vs.exports;
|
|
|
13545
13545
|
}
|
|
13546
13546
|
return A;
|
|
13547
13547
|
}
|
|
13548
|
-
function
|
|
13548
|
+
function ul(j) {
|
|
13549
13549
|
return ja(function(ee, A) {
|
|
13550
13550
|
var U = -1, re = A.length, ve = re > 1 ? A[re - 1] : void 0, Ne = re > 2 ? A[2] : void 0;
|
|
13551
13551
|
for (ve = j.length > 3 && typeof ve == "function" ? (re--, ve) : void 0, Ne && Wa(A[0], A[1], Ne) && (ve = re < 3 ? void 0 : ve, re = 1), ee = Object(ee); ++U < re; ) {
|
|
@@ -13555,7 +13555,7 @@ Vs.exports;
|
|
|
13555
13555
|
return ee;
|
|
13556
13556
|
});
|
|
13557
13557
|
}
|
|
13558
|
-
function
|
|
13558
|
+
function fl(j) {
|
|
13559
13559
|
return function(ee, A, U) {
|
|
13560
13560
|
for (var re = -1, ve = Object(ee), Ne = U(ee), Pe = Ne.length; Pe--; ) {
|
|
13561
13561
|
var Ue = Ne[j ? Pe : ++re];
|
|
@@ -13567,11 +13567,11 @@ Vs.exports;
|
|
|
13567
13567
|
}
|
|
13568
13568
|
function Gn(j, ee) {
|
|
13569
13569
|
var A = j.__data__;
|
|
13570
|
-
return
|
|
13570
|
+
return pl(ee) ? A[typeof ee == "string" ? "string" : "hash"] : A.map;
|
|
13571
13571
|
}
|
|
13572
13572
|
function vn(j, ee) {
|
|
13573
13573
|
var A = be(j, ee);
|
|
13574
|
-
return
|
|
13574
|
+
return el(A) ? A : void 0;
|
|
13575
13575
|
}
|
|
13576
13576
|
function Fo(j) {
|
|
13577
13577
|
var ee = Ge.call(j, Ie), A = j[Ie];
|
|
@@ -13583,7 +13583,7 @@ Vs.exports;
|
|
|
13583
13583
|
var re = Te.call(j);
|
|
13584
13584
|
return U && (ee ? j[Ie] = A : delete j[Ie]), re;
|
|
13585
13585
|
}
|
|
13586
|
-
function
|
|
13586
|
+
function dl(j) {
|
|
13587
13587
|
return typeof j.constructor == "function" && !za(j) ? Hn(D(j)) : {};
|
|
13588
13588
|
}
|
|
13589
13589
|
function Ua(j, ee) {
|
|
@@ -13596,11 +13596,11 @@ Vs.exports;
|
|
|
13596
13596
|
var U = typeof ee;
|
|
13597
13597
|
return (U == "number" ? qn(A) && Ua(ee, A.length) : U == "string" && ee in A) ? Pi(A[ee], j) : !1;
|
|
13598
13598
|
}
|
|
13599
|
-
function
|
|
13599
|
+
function pl(j) {
|
|
13600
13600
|
var ee = typeof j;
|
|
13601
13601
|
return ee == "string" || ee == "number" || ee == "symbol" || ee == "boolean" ? j !== "__proto__" : j === null;
|
|
13602
13602
|
}
|
|
13603
|
-
function
|
|
13603
|
+
function hl(j) {
|
|
13604
13604
|
return !!bt && bt in j;
|
|
13605
13605
|
}
|
|
13606
13606
|
function za(j) {
|
|
@@ -13614,10 +13614,10 @@ Vs.exports;
|
|
|
13614
13614
|
ee.push(A);
|
|
13615
13615
|
return ee;
|
|
13616
13616
|
}
|
|
13617
|
-
function
|
|
13617
|
+
function gl(j) {
|
|
13618
13618
|
return Te.call(j);
|
|
13619
13619
|
}
|
|
13620
|
-
function
|
|
13620
|
+
function vl(j, ee, A) {
|
|
13621
13621
|
return ee = en(ee === void 0 ? j.length - 1 : ee, 0), function() {
|
|
13622
13622
|
for (var U = arguments, re = -1, ve = en(U.length - ee, 0), Ne = Array(ve); ++re < ve; )
|
|
13623
13623
|
Ne[re] = U[ee + re];
|
|
@@ -13631,8 +13631,8 @@ Vs.exports;
|
|
|
13631
13631
|
if (!(ee === "constructor" && typeof j[ee] == "function") && ee != "__proto__")
|
|
13632
13632
|
return j[ee];
|
|
13633
13633
|
}
|
|
13634
|
-
var jo =
|
|
13635
|
-
function
|
|
13634
|
+
var jo = ml(il);
|
|
13635
|
+
function ml(j) {
|
|
13636
13636
|
var ee = 0, A = 0;
|
|
13637
13637
|
return function() {
|
|
13638
13638
|
var U = Si(), re = o - (U - A);
|
|
@@ -13644,7 +13644,7 @@ Vs.exports;
|
|
|
13644
13644
|
return j.apply(void 0, arguments);
|
|
13645
13645
|
};
|
|
13646
13646
|
}
|
|
13647
|
-
function
|
|
13647
|
+
function yl(j) {
|
|
13648
13648
|
if (j != null) {
|
|
13649
13649
|
try {
|
|
13650
13650
|
return ke.call(j);
|
|
@@ -13671,7 +13671,7 @@ Vs.exports;
|
|
|
13671
13671
|
function Uo(j) {
|
|
13672
13672
|
return tr(j) && qn(j);
|
|
13673
13673
|
}
|
|
13674
|
-
var Va = Re ||
|
|
13674
|
+
var Va = Re || wl;
|
|
13675
13675
|
function Ri(j) {
|
|
13676
13676
|
if (!Dr(j))
|
|
13677
13677
|
return !1;
|
|
@@ -13697,14 +13697,14 @@ Vs.exports;
|
|
|
13697
13697
|
var A = Ge.call(ee, "constructor") && ee.constructor;
|
|
13698
13698
|
return typeof A == "function" && A instanceof A && ke.call(A) == Ve;
|
|
13699
13699
|
}
|
|
13700
|
-
var Ga = k ? ge(k) :
|
|
13700
|
+
var Ga = k ? ge(k) : tl;
|
|
13701
13701
|
function Ka(j) {
|
|
13702
|
-
return
|
|
13702
|
+
return ll(j, qa(j));
|
|
13703
13703
|
}
|
|
13704
13704
|
function qa(j) {
|
|
13705
|
-
return qn(j) ? Gt(j, !0) :
|
|
13705
|
+
return qn(j) ? Gt(j, !0) : rl(j);
|
|
13706
13706
|
}
|
|
13707
|
-
var
|
|
13707
|
+
var bl = ul(function(j, ee, A) {
|
|
13708
13708
|
Ii(j, ee, A);
|
|
13709
13709
|
});
|
|
13710
13710
|
function Ya(j) {
|
|
@@ -13715,10 +13715,10 @@ Vs.exports;
|
|
|
13715
13715
|
function Ja(j) {
|
|
13716
13716
|
return j;
|
|
13717
13717
|
}
|
|
13718
|
-
function
|
|
13718
|
+
function wl() {
|
|
13719
13719
|
return !1;
|
|
13720
13720
|
}
|
|
13721
|
-
e.exports =
|
|
13721
|
+
e.exports = bl;
|
|
13722
13722
|
})(Vs, Vs.exports);
|
|
13723
13723
|
Vs.exports;
|
|
13724
13724
|
var Ac = {}, Oc = {};
|
|
@@ -13756,8 +13756,8 @@ function I6(e) {
|
|
|
13756
13756
|
}
|
|
13757
13757
|
var P6 = T6.default;
|
|
13758
13758
|
Ac.default = P6;
|
|
13759
|
-
let
|
|
13760
|
-
var R6 = (
|
|
13759
|
+
let zl = Ac;
|
|
13760
|
+
var R6 = (zl.__esModule ? zl : { default: zl }).default, k6 = function({ matchUtilities: e, theme: t }) {
|
|
13761
13761
|
e(
|
|
13762
13762
|
{
|
|
13763
13763
|
bs: (r) => ({
|
|
@@ -13784,11 +13784,11 @@ const $y = (e) => Object.assign({}, ...Object.entries(e ?? {}).flatMap(
|
|
|
13784
13784
|
));
|
|
13785
13785
|
var N6 = $y;
|
|
13786
13786
|
Tc.default = N6;
|
|
13787
|
-
var
|
|
13788
|
-
Object.defineProperty(
|
|
13787
|
+
var id = {};
|
|
13788
|
+
Object.defineProperty(id, "__esModule", {
|
|
13789
13789
|
value: !0
|
|
13790
13790
|
});
|
|
13791
|
-
|
|
13791
|
+
id.default = D6;
|
|
13792
13792
|
function D6(e) {
|
|
13793
13793
|
return typeof e == "function" ? e({}) : e;
|
|
13794
13794
|
}
|
|
@@ -14072,7 +14072,7 @@ function V6({ color: e, property: t, variable: r }) {
|
|
|
14072
14072
|
]))
|
|
14073
14073
|
};
|
|
14074
14074
|
}
|
|
14075
|
-
const Th = Tc.default, wn =
|
|
14075
|
+
const Th = Tc.default, wn = id.default, Wi = Ic.default;
|
|
14076
14076
|
var G6 = function({ corePlugins: e, matchUtilities: t, theme: r }) {
|
|
14077
14077
|
t(
|
|
14078
14078
|
{
|
|
@@ -14440,7 +14440,7 @@ u3(function(e) {
|
|
|
14440
14440
|
var I3 = it && it.__importDefault || function(e) {
|
|
14441
14441
|
return e && e.__esModule ? e : { default: e };
|
|
14442
14442
|
};
|
|
14443
|
-
const P3 = I3(
|
|
14443
|
+
const P3 = I3(rd), R3 = ["disabled", "highlighted", "placeholder"], Ih = {
|
|
14444
14444
|
align: ["center", "end", "start"],
|
|
14445
14445
|
state: [
|
|
14446
14446
|
"active",
|
|
@@ -14639,7 +14639,7 @@ function Ty(e) {
|
|
|
14639
14639
|
Math.pow(i[2], 3) > r ? Math.pow(i[2], 3) : (116 * i[2] - 16) / t
|
|
14640
14640
|
].map((a, s) => a * n[s]);
|
|
14641
14641
|
}
|
|
14642
|
-
function
|
|
14642
|
+
function od(e) {
|
|
14643
14643
|
const t = Math.atan2(e[2], e[1]) * 180 / Math.PI;
|
|
14644
14644
|
return [
|
|
14645
14645
|
e[0],
|
|
@@ -14661,7 +14661,7 @@ function kc(e) {
|
|
|
14661
14661
|
];
|
|
14662
14662
|
}
|
|
14663
14663
|
function M3(e) {
|
|
14664
|
-
return
|
|
14664
|
+
return od(L3(D3(N3(k3(e)))));
|
|
14665
14665
|
}
|
|
14666
14666
|
function F3(e) {
|
|
14667
14667
|
return Cy(Ay(Oy(Ty(kc(e)))));
|
|
@@ -14676,7 +14676,7 @@ function Rh(e, t, r) {
|
|
|
14676
14676
|
);
|
|
14677
14677
|
}
|
|
14678
14678
|
function j3(e) {
|
|
14679
|
-
const r =
|
|
14679
|
+
const r = od(e), n = r[0];
|
|
14680
14680
|
let i = r[1];
|
|
14681
14681
|
const o = r[2];
|
|
14682
14682
|
if (Rh(n, i, o))
|
|
@@ -14700,15 +14700,15 @@ function H3(e, t) {
|
|
|
14700
14700
|
function V3(e, t) {
|
|
14701
14701
|
return e * e * t;
|
|
14702
14702
|
}
|
|
14703
|
-
function
|
|
14703
|
+
function Hl(e, t, r, n) {
|
|
14704
14704
|
return z3(e, t) + H3(e, r) + V3(e, n);
|
|
14705
14705
|
}
|
|
14706
14706
|
function G3(e, t) {
|
|
14707
14707
|
const [r, n, i] = e.points;
|
|
14708
14708
|
return [
|
|
14709
|
-
|
|
14710
|
-
|
|
14711
|
-
|
|
14709
|
+
Hl(t, r[0], n[0], i[0]),
|
|
14710
|
+
Hl(t, r[1], n[1], i[1]),
|
|
14711
|
+
Hl(t, r[2], n[2], i[2])
|
|
14712
14712
|
];
|
|
14713
14713
|
}
|
|
14714
14714
|
function K3(e, t) {
|
|
@@ -14799,7 +14799,7 @@ function tI(e) {
|
|
|
14799
14799
|
return M3(eI(e));
|
|
14800
14800
|
}
|
|
14801
14801
|
function rI(e, t = 0, r = 50) {
|
|
14802
|
-
const n = e[0], [i, o, a] =
|
|
14802
|
+
const n = e[0], [i, o, a] = od(e), s = t * (n - r);
|
|
14803
14803
|
return kc([i, o, a + s]);
|
|
14804
14804
|
}
|
|
14805
14805
|
function nI({
|
|
@@ -14818,14 +14818,14 @@ function nI({
|
|
|
14818
14818
|
torsionT0: s
|
|
14819
14819
|
};
|
|
14820
14820
|
}
|
|
14821
|
-
const
|
|
14821
|
+
const ad = "-";
|
|
14822
14822
|
function iI(e) {
|
|
14823
14823
|
const t = aI(e), {
|
|
14824
14824
|
conflictingClassGroups: r,
|
|
14825
14825
|
conflictingClassGroupModifiers: n
|
|
14826
14826
|
} = e;
|
|
14827
14827
|
function i(a) {
|
|
14828
|
-
const s = a.split(
|
|
14828
|
+
const s = a.split(ad);
|
|
14829
14829
|
return s[0] === "" && s.length !== 1 && s.shift(), Py(s, t) || oI(a);
|
|
14830
14830
|
}
|
|
14831
14831
|
function o(a, s) {
|
|
@@ -14846,7 +14846,7 @@ function Py(e, t) {
|
|
|
14846
14846
|
return i;
|
|
14847
14847
|
if (t.validators.length === 0)
|
|
14848
14848
|
return;
|
|
14849
|
-
const o = e.join(
|
|
14849
|
+
const o = e.join(ad);
|
|
14850
14850
|
return (a = t.validators.find(({
|
|
14851
14851
|
validator: s
|
|
14852
14852
|
}) => s(o))) == null ? void 0 : a.classGroupId;
|
|
@@ -14868,10 +14868,10 @@ function aI(e) {
|
|
|
14868
14868
|
validators: []
|
|
14869
14869
|
};
|
|
14870
14870
|
return cI(Object.entries(e.classGroups), r).forEach(([o, a]) => {
|
|
14871
|
-
|
|
14871
|
+
qu(a, n, o, t);
|
|
14872
14872
|
}), n;
|
|
14873
14873
|
}
|
|
14874
|
-
function
|
|
14874
|
+
function qu(e, t, r, n) {
|
|
14875
14875
|
e.forEach((i) => {
|
|
14876
14876
|
if (typeof i == "string") {
|
|
14877
14877
|
const o = i === "" ? t : Dh(t, i);
|
|
@@ -14880,7 +14880,7 @@ function Ku(e, t, r, n) {
|
|
|
14880
14880
|
}
|
|
14881
14881
|
if (typeof i == "function") {
|
|
14882
14882
|
if (sI(i)) {
|
|
14883
|
-
|
|
14883
|
+
qu(i(n), t, r, n);
|
|
14884
14884
|
return;
|
|
14885
14885
|
}
|
|
14886
14886
|
t.validators.push({
|
|
@@ -14890,13 +14890,13 @@ function Ku(e, t, r, n) {
|
|
|
14890
14890
|
return;
|
|
14891
14891
|
}
|
|
14892
14892
|
Object.entries(i).forEach(([o, a]) => {
|
|
14893
|
-
|
|
14893
|
+
qu(a, Dh(t, o), r, n);
|
|
14894
14894
|
});
|
|
14895
14895
|
});
|
|
14896
14896
|
}
|
|
14897
14897
|
function Dh(e, t) {
|
|
14898
14898
|
let r = e;
|
|
14899
|
-
return t.split(
|
|
14899
|
+
return t.split(ad).forEach((n) => {
|
|
14900
14900
|
r.nextPart.has(n) || r.nextPart.set(n, {
|
|
14901
14901
|
nextPart: /* @__PURE__ */ new Map(),
|
|
14902
14902
|
validators: []
|
|
@@ -17188,7 +17188,7 @@ function TI(e, t) {
|
|
|
17188
17188
|
function II(e, ...t) {
|
|
17189
17189
|
return typeof e == "function" ? Lh(Mh, e, ...t) : Lh(() => Uy(Mh(), e), ...t);
|
|
17190
17190
|
}
|
|
17191
|
-
var PI = "Expected a function", Wy = "__lodash_hash_undefined__", zy = 1 / 0, RI = "[object Function]", kI = "[object GeneratorFunction]", NI = "[object Symbol]", DI = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, LI = /^\w*$/, MI = /^\./, FI = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, BI = /[\\^$.*+?()[\]{}|]/g, jI = /\\(\\)?/g, UI = /^\[object .+?Constructor\]$/, WI = typeof it == "object" && it && it.Object === Object && it, zI = typeof self == "object" && self && self.Object === Object && self,
|
|
17191
|
+
var PI = "Expected a function", Wy = "__lodash_hash_undefined__", zy = 1 / 0, RI = "[object Function]", kI = "[object GeneratorFunction]", NI = "[object Symbol]", DI = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, LI = /^\w*$/, MI = /^\./, FI = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, BI = /[\\^$.*+?()[\]{}|]/g, jI = /\\(\\)?/g, UI = /^\[object .+?Constructor\]$/, WI = typeof it == "object" && it && it.Object === Object && it, zI = typeof self == "object" && self && self.Object === Object && self, sd = WI || zI || Function("return this")();
|
|
17192
17192
|
function HI(e, t) {
|
|
17193
17193
|
return e == null ? void 0 : e[t];
|
|
17194
17194
|
}
|
|
@@ -17201,12 +17201,12 @@ function VI(e) {
|
|
|
17201
17201
|
}
|
|
17202
17202
|
return t;
|
|
17203
17203
|
}
|
|
17204
|
-
var GI = Array.prototype, KI = Function.prototype, Hy = Object.prototype,
|
|
17205
|
-
var e = /[^.]+$/.exec(
|
|
17204
|
+
var GI = Array.prototype, KI = Function.prototype, Hy = Object.prototype, Vl = sd["__core-js_shared__"], Fh = function() {
|
|
17205
|
+
var e = /[^.]+$/.exec(Vl && Vl.keys && Vl.keys.IE_PROTO || "");
|
|
17206
17206
|
return e ? "Symbol(src)_1." + e : "";
|
|
17207
|
-
}(), Vy = KI.toString,
|
|
17208
|
-
"^" + Vy.call(
|
|
17209
|
-
), Bh =
|
|
17207
|
+
}(), Vy = KI.toString, cd = Hy.hasOwnProperty, Gy = Hy.toString, qI = RegExp(
|
|
17208
|
+
"^" + Vy.call(cd).replace(BI, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
17209
|
+
), Bh = sd.Symbol, YI = GI.splice, JI = Ky(sd, "Map"), wa = Ky(Object, "create"), jh = Bh ? Bh.prototype : void 0, Uh = jh ? jh.toString : void 0;
|
|
17210
17210
|
function si(e) {
|
|
17211
17211
|
var t = -1, r = e ? e.length : 0;
|
|
17212
17212
|
for (this.clear(); ++t < r; ) {
|
|
@@ -17226,11 +17226,11 @@ function QI(e) {
|
|
|
17226
17226
|
var r = t[e];
|
|
17227
17227
|
return r === Wy ? void 0 : r;
|
|
17228
17228
|
}
|
|
17229
|
-
return
|
|
17229
|
+
return cd.call(t, e) ? t[e] : void 0;
|
|
17230
17230
|
}
|
|
17231
17231
|
function eP(e) {
|
|
17232
17232
|
var t = this.__data__;
|
|
17233
|
-
return wa ? t[e] !== void 0 :
|
|
17233
|
+
return wa ? t[e] !== void 0 : cd.call(t, e);
|
|
17234
17234
|
}
|
|
17235
17235
|
function tP(e, t) {
|
|
17236
17236
|
var r = this.__data__;
|
|
@@ -17326,7 +17326,7 @@ function pP(e) {
|
|
|
17326
17326
|
function hP(e) {
|
|
17327
17327
|
if (typeof e == "string")
|
|
17328
17328
|
return e;
|
|
17329
|
-
if (
|
|
17329
|
+
if (ud(e))
|
|
17330
17330
|
return Uh ? Uh.call(e) : "";
|
|
17331
17331
|
var t = e + "";
|
|
17332
17332
|
return t == "0" && 1 / e == -zy ? "-0" : t;
|
|
@@ -17346,7 +17346,7 @@ function vP(e, t) {
|
|
|
17346
17346
|
if (qy(e))
|
|
17347
17347
|
return !1;
|
|
17348
17348
|
var r = typeof e;
|
|
17349
|
-
return r == "number" || r == "symbol" || r == "boolean" || e == null ||
|
|
17349
|
+
return r == "number" || r == "symbol" || r == "boolean" || e == null || ud(e) ? !0 : LI.test(e) || !DI.test(e) || t != null && e in Object(t);
|
|
17350
17350
|
}
|
|
17351
17351
|
function mP(e) {
|
|
17352
17352
|
var t = typeof e;
|
|
@@ -17355,7 +17355,7 @@ function mP(e) {
|
|
|
17355
17355
|
function yP(e) {
|
|
17356
17356
|
return !!Fh && Fh in e;
|
|
17357
17357
|
}
|
|
17358
|
-
var bP =
|
|
17358
|
+
var bP = ld(function(e) {
|
|
17359
17359
|
e = $P(e);
|
|
17360
17360
|
var t = [];
|
|
17361
17361
|
return MI.test(e) && t.push(""), e.replace(FI, function(r, n, i, o) {
|
|
@@ -17363,7 +17363,7 @@ var bP = cd(function(e) {
|
|
|
17363
17363
|
}), t;
|
|
17364
17364
|
});
|
|
17365
17365
|
function wP(e) {
|
|
17366
|
-
if (typeof e == "string" ||
|
|
17366
|
+
if (typeof e == "string" || ud(e))
|
|
17367
17367
|
return e;
|
|
17368
17368
|
var t = e + "";
|
|
17369
17369
|
return t == "0" && 1 / e == -zy ? "-0" : t;
|
|
@@ -17381,7 +17381,7 @@ function _P(e) {
|
|
|
17381
17381
|
}
|
|
17382
17382
|
return "";
|
|
17383
17383
|
}
|
|
17384
|
-
function
|
|
17384
|
+
function ld(e, t) {
|
|
17385
17385
|
if (typeof e != "function" || t && typeof t != "function")
|
|
17386
17386
|
throw new TypeError(PI);
|
|
17387
17387
|
var r = function() {
|
|
@@ -17391,9 +17391,9 @@ function cd(e, t) {
|
|
|
17391
17391
|
var a = e.apply(this, n);
|
|
17392
17392
|
return r.cache = o.set(i, a), a;
|
|
17393
17393
|
};
|
|
17394
|
-
return r.cache = new (
|
|
17394
|
+
return r.cache = new (ld.Cache || mi)(), r;
|
|
17395
17395
|
}
|
|
17396
|
-
|
|
17396
|
+
ld.Cache = mi;
|
|
17397
17397
|
function EP(e, t) {
|
|
17398
17398
|
return e === t || e !== e && t !== t;
|
|
17399
17399
|
}
|
|
@@ -17409,7 +17409,7 @@ function Yy(e) {
|
|
|
17409
17409
|
function SP(e) {
|
|
17410
17410
|
return !!e && typeof e == "object";
|
|
17411
17411
|
}
|
|
17412
|
-
function
|
|
17412
|
+
function ud(e) {
|
|
17413
17413
|
return typeof e == "symbol" || SP(e) && Gy.call(e) == NI;
|
|
17414
17414
|
}
|
|
17415
17415
|
function $P(e) {
|
|
@@ -17712,7 +17712,7 @@ w6(({ addUtilities: e, theme: t, e: r }) => {
|
|
|
17712
17712
|
});
|
|
17713
17713
|
e(i);
|
|
17714
17714
|
});
|
|
17715
|
-
var
|
|
17715
|
+
var fd = "fill-[--surface-bg] dark:fill-[--surface-bg]", RP = "fill-[--surface-bg] dark:fill-[--surface-bg]", Lc = "min-bs-[2.5rem]", kP = "pli-3", NP = "pli-4", DP = `${Lc} ${kP}`, LP = `${Lc} ${NP}`, Mc = "min-bs-[2.5rem] pointer-fine:min-bs-[2rem]", MP = "pli-2", FP = "pli-2.5", BP = `${Mc} ${MP}`, jP = `${Mc} ${FP}`, Jy = (e = "coarse") => e === "fine" ? Mc : Lc, Fc = "opacity-40 cursor-not-allowed shadow-none", UP = "data-[disabled]:opacity-40 data-[disabled]:cursor-not-allowed", dd = ({ elevation: e }) => [
|
|
17716
17716
|
e === "group" ? "shadow-sm" : e === "chrome" ? "shadow-none" : "shadow"
|
|
17717
17717
|
], So = ({ elevation: e }) => [
|
|
17718
17718
|
e === "group" ? "shadow" : e === "chrome" ? "shadow-lg" : "shadow-none"
|
|
@@ -18096,7 +18096,7 @@ var ud = "fill-[--surface-bg] dark:fill-[--surface-bg]", RP = "fill-[--surface-b
|
|
|
18096
18096
|
]
|
|
18097
18097
|
}
|
|
18098
18098
|
}
|
|
18099
|
-
}),
|
|
18099
|
+
}), Gl = Object.keys(PP), de = II({
|
|
18100
18100
|
extend: {
|
|
18101
18101
|
classGroups: {
|
|
18102
18102
|
"font-family": [
|
|
@@ -18117,12 +18117,12 @@ var ud = "fill-[--surface-bg] dark:fill-[--surface-bg]", RP = "fill-[--surface-b
|
|
|
18117
18117
|
// Arbitrary numbers
|
|
18118
18118
|
Eo.isArbitraryNumber
|
|
18119
18119
|
],
|
|
18120
|
-
foreground:
|
|
18121
|
-
surface:
|
|
18122
|
-
separator:
|
|
18120
|
+
foreground: Gl.map((e) => `fg-${e}`),
|
|
18121
|
+
surface: Gl.map((e) => `surface-${e}`),
|
|
18122
|
+
separator: Gl.map((e) => `separator-${e}`)
|
|
18123
18123
|
}
|
|
18124
18124
|
}
|
|
18125
|
-
}, QP),
|
|
18125
|
+
}, QP), Yu = /* @__PURE__ */ new Map([
|
|
18126
18126
|
[
|
|
18127
18127
|
0,
|
|
18128
18128
|
"is-0"
|
|
@@ -18404,7 +18404,7 @@ var ud = "fill-[--surface-bg] dark:fill-[--surface-bg]", RP = "fill-[--surface-b
|
|
|
18404
18404
|
96,
|
|
18405
18405
|
"bs-96"
|
|
18406
18406
|
]
|
|
18407
|
-
]), qo = new Set(
|
|
18407
|
+
]), qo = new Set(Yu.keys()), pd = zh.get.bind(zh), tb = Yu.get.bind(Yu), Qe = (e) => de(pd(e), tb(e)), rb = (e, t) => {
|
|
18408
18408
|
if (qo.has(e))
|
|
18409
18409
|
return e;
|
|
18410
18410
|
if (e <= 0)
|
|
@@ -18415,7 +18415,7 @@ var ud = "fill-[--surface-bg] dark:fill-[--surface-bg]", RP = "fill-[--surface-b
|
|
|
18415
18415
|
const r = Math.floor(e), n = Math.floor(e * 2) / 2, i = Math.floor(e / 2) * 2, o = Math.floor(e / 4) * 4;
|
|
18416
18416
|
return qo.has(n) ? n : qo.has(r) ? r : qo.has(i) ? i : qo.has(o) ? o : t;
|
|
18417
18417
|
}
|
|
18418
|
-
}, nb = (e) => e === "px" ? 1 : e,
|
|
18418
|
+
}, nb = (e) => e === "px" ? 1 : e, hd = "placeholder-neutral-500 dark:placeholder-neutral-400", Nt = "text-xs font-normal fg-description", eR = "text-xs font-normal fg-base", tR = "text-xs font-normal", rR = "text-xs font-medium text-success-550 dark:text-success-300", nR = "text-xs font-medium text-info-550 dark:text-info-300", iR = "text-xs font-medium text-warning-550 dark:text-warning-300", oR = "text-xs font-medium text-error-550 dark:text-error-300", aR = (e) => {
|
|
18419
18419
|
switch (e) {
|
|
18420
18420
|
case "success":
|
|
18421
18421
|
return rR;
|
|
@@ -18444,7 +18444,7 @@ var ud = "fill-[--surface-bg] dark:fill-[--surface-bg]", RP = "fill-[--surface-b
|
|
|
18444
18444
|
}, pR = (e, ...t) => de("overflow-anchored overflow-auto", ...t), hR = (e, ...t) => de("overflow-anchor is-px bs-px", ...t), gR = {
|
|
18445
18445
|
root: pR,
|
|
18446
18446
|
anchor: hR
|
|
18447
|
-
}, vR = ({ size: e = 10, inGroup: t }, ...r) => de("relative inline-flex shrink-0", Qe(e), t && (e === "px" || e <= 3 ? "-mie-1" : "-mie-2"), ...r), mR = ({ srOnly: e }, ...t) => de(e && "sr-only", ...t), yR = ({ srOnly: e }, ...t) => de(Nt, e && "sr-only", ...t), bR = ({ variant: e }, ...t) => de("is-full bs-full bg-[--surface-bg]", e === "circle" ? "rounded-full" : "rounded", ...t), wR = ({ status: e, size: t = 3 }, ...r) => de("absolute block-end-0 inline-end-0", Qe(t), e === "inactive" ? "text-warning-350 dark:text-warning-250" : e === "active" ? "text-success-350 dark:text-success-250" : "text-neutral-350 dark:text-neutral-250", ...r), _R = ({ status: e, variant: t, animation: r }, ...n) => de("absolute inset-0 border-2", t === "circle" ? "rounded-full" : "rounded", e === "current" ? "border-primary-400 dark:border-primary-500" : e === "active" ? "border-success-400 dark:border-success-400" : e === "error" ? "border-error-400 dark:border-error-500" : e === "warning" ? "border-warning-400 dark:border-warning-500" : e === "inactive" ? "separator-separator" : e === "internal" ? "border-fuchsia-600" : "border-[color:var(--surface-bg)]", r === "pulse" ? "animate-halo-pulse" : "", ...n), ER = (e, ...t) => de("fill-white", ...t), xR = (e, ...t) => de("inline-flex items-center", ...t), SR = ({ size: e, srOnly: t }, ...r) => de(t ? "sr-only" : "rounded-full truncate text-sm leading-none plb-1 pli-2 relative z-[1] flex items-center justify-center", e &&
|
|
18447
|
+
}, vR = ({ size: e = 10, inGroup: t }, ...r) => de("relative inline-flex shrink-0", Qe(e), t && (e === "px" || e <= 3 ? "-mie-1" : "-mie-2"), ...r), mR = ({ srOnly: e }, ...t) => de(e && "sr-only", ...t), yR = ({ srOnly: e }, ...t) => de(Nt, e && "sr-only", ...t), bR = ({ variant: e }, ...t) => de("is-full bs-full bg-[--surface-bg]", e === "circle" ? "rounded-full" : "rounded", ...t), wR = ({ status: e, size: t = 3 }, ...r) => de("absolute block-end-0 inline-end-0", Qe(t), e === "inactive" ? "text-warning-350 dark:text-warning-250" : e === "active" ? "text-success-350 dark:text-success-250" : "text-neutral-350 dark:text-neutral-250", ...r), _R = ({ status: e, variant: t, animation: r }, ...n) => de("absolute inset-0 border-2", t === "circle" ? "rounded-full" : "rounded", e === "current" ? "border-primary-400 dark:border-primary-500" : e === "active" ? "border-success-400 dark:border-success-400" : e === "error" ? "border-error-400 dark:border-error-500" : e === "warning" ? "border-warning-400 dark:border-warning-500" : e === "inactive" ? "separator-separator" : e === "internal" ? "border-fuchsia-600" : "border-[color:var(--surface-bg)]", r === "pulse" ? "animate-halo-pulse" : "", ...n), ER = (e, ...t) => de("fill-white", ...t), xR = (e, ...t) => de("inline-flex items-center", ...t), SR = ({ size: e, srOnly: t }, ...r) => de(t ? "sr-only" : "rounded-full truncate text-sm leading-none plb-1 pli-2 relative z-[1] flex items-center justify-center", e && pd(e), ...r), $R = ({ srOnly: e }, ...t) => de(e ? "sr-only" : Nt, ...t), CR = {
|
|
18448
18448
|
root: vR,
|
|
18449
18449
|
label: mR,
|
|
18450
18450
|
description: yR,
|
|
@@ -18470,7 +18470,7 @@ var ud = "fill-[--surface-bg] dark:fill-[--surface-bg]", RP = "fill-[--surface-b
|
|
|
18470
18470
|
e.disabled && Fc,
|
|
18471
18471
|
!e.inGroup && "rounded-md",
|
|
18472
18472
|
!e.textWrap && "text-ellipsis whitespace-nowrap",
|
|
18473
|
-
!e.disabled && !e.inGroup && (r === "default" || r === "primary") &&
|
|
18473
|
+
!e.disabled && !e.inGroup && (r === "default" || r === "primary") && dd({
|
|
18474
18474
|
elevation: e.elevation
|
|
18475
18475
|
}),
|
|
18476
18476
|
!e.disabled && zP,
|
|
@@ -18484,7 +18484,7 @@ var ud = "fill-[--surface-bg] dark:fill-[--surface-bg]", RP = "fill-[--surface-b
|
|
|
18484
18484
|
"group",
|
|
18485
18485
|
...t
|
|
18486
18486
|
);
|
|
18487
|
-
}, FR = (e, ...t) => de("inline-flex rounded-md [&>:first-child]:rounded-is-md [&>:last-child]:rounded-ie-md [&>button]:relative",
|
|
18487
|
+
}, FR = (e, ...t) => de("inline-flex rounded-md [&>:first-child]:rounded-is-md [&>:last-child]:rounded-ie-md [&>button]:relative", dd({
|
|
18488
18488
|
elevation: e.elevation
|
|
18489
18489
|
}), ...t), BR = {
|
|
18490
18490
|
root: MR,
|
|
@@ -18509,7 +18509,7 @@ var ud = "fill-[--surface-bg] dark:fill-[--surface-bg]", RP = "fill-[--surface-b
|
|
|
18509
18509
|
description: HR
|
|
18510
18510
|
}, GR = (e, ...t) => de("rounded-md p-1 max-bs-[--radix-dropdown-menu-content-available-height] overflow-y-auto", ...t), KR = (e, ...t) => de("is-48 rounded-md md:is-56 z-[30]", Qy, $o, So({
|
|
18511
18511
|
elevation: "group"
|
|
18512
|
-
}), ...t), qR = (e, ...t) => de("flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-2 text-sm", "data-[highlighted]:surface-hover", Xy, UP, ...t), YR = (e, ...t) => de("mlb-1 mli-2 bs-px surface-separator", ...t), JR = (e, ...t) => de(Nt, "select-none pli-2 plb-2", ...t), XR = (e, ...t) => de(
|
|
18512
|
+
}), ...t), qR = (e, ...t) => de("flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-2 text-sm", "data-[highlighted]:surface-hover", Xy, UP, ...t), YR = (e, ...t) => de("mlb-1 mli-2 bs-px surface-separator", ...t), JR = (e, ...t) => de(Nt, "select-none pli-2 plb-2", ...t), XR = (e, ...t) => de(fd, ...t), ZR = {
|
|
18513
18513
|
content: KR,
|
|
18514
18514
|
viewport: GR,
|
|
18515
18515
|
item: qR,
|
|
@@ -18532,13 +18532,13 @@ var ud = "fill-[--surface-bg] dark:fill-[--surface-bg]", RP = "fill-[--surface-b
|
|
|
18532
18532
|
}, i4 = (e) => [
|
|
18533
18533
|
"is-full bg-transparent text-current",
|
|
18534
18534
|
e.density === "fine" ? Mc : Lc,
|
|
18535
|
-
|
|
18535
|
+
hd,
|
|
18536
18536
|
Xy,
|
|
18537
18537
|
e.disabled && Fc
|
|
18538
18538
|
], o4 = (e) => [
|
|
18539
18539
|
"is-full text-base rounded text-[color:var(--surface-text)]",
|
|
18540
18540
|
ib,
|
|
18541
|
-
|
|
18541
|
+
hd,
|
|
18542
18542
|
e.density === "fine" ? BP : DP,
|
|
18543
18543
|
e.disabled ? Fc : ob
|
|
18544
18544
|
], a4 = (e) => [
|
|
@@ -18546,12 +18546,12 @@ var ud = "fill-[--surface-bg] dark:fill-[--surface-bg]", RP = "fill-[--surface-b
|
|
|
18546
18546
|
ib,
|
|
18547
18547
|
ob,
|
|
18548
18548
|
e.focused && "surface-attention",
|
|
18549
|
-
|
|
18549
|
+
hd,
|
|
18550
18550
|
cb(e.validationValence),
|
|
18551
18551
|
e.disabled && Fc,
|
|
18552
18552
|
e.focused && WP
|
|
18553
18553
|
], s4 = (e, ...t) => e.variant === "subdued" ? de(...i4(e), ...t) : e.variant === "static" ? de(...a4(e), ...t) : de(...o4(e), !e.disabled && Zr, cb(e.validationValence) || QR, ...t), c4 = ({ size: e = 5, disabled: t }, ...r) => de(Qe(e), ab, !t && sb, "shrink-0 flex items-center justify-center rounded text-white", Zr, ...r), l4 = ({ size: e = 5 }, ...t) => de(Qe(rb(nb(e) * 0.7, 4)), ...t), u4 = ({ size: e = 5, disabled: t }, ...r) => de(
|
|
18554
|
-
|
|
18554
|
+
pd(e),
|
|
18555
18555
|
tb(rb(nb(e) * 1.75, 9)),
|
|
18556
18556
|
ab,
|
|
18557
18557
|
!t && sb,
|
|
@@ -18598,7 +18598,7 @@ var ud = "fill-[--surface-bg] dark:fill-[--surface-bg]", RP = "fill-[--surface-b
|
|
|
18598
18598
|
content: T4,
|
|
18599
18599
|
sidebar: O4,
|
|
18600
18600
|
overlay: I4
|
|
18601
|
-
}, R4 = ({ valence: e, elevation: t }, ...r) => de("p-3 rounded-md max-is-full overflow-auto",
|
|
18601
|
+
}, R4 = ({ valence: e, elevation: t }, ...r) => de("p-3 rounded-md max-is-full overflow-auto", dd({
|
|
18602
18602
|
elevation: t
|
|
18603
18603
|
}), dR(e), ...r), k4 = (e, ...t) => de("text-base font-medium mb-2", ...t), N4 = (e, ...t) => de(...t), D4 = {
|
|
18604
18604
|
root: R4,
|
|
@@ -18618,7 +18618,7 @@ var ud = "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(
|
|
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 = {
|
|
18622
18622
|
content: G4,
|
|
18623
18623
|
item: K4,
|
|
18624
18624
|
itemIndicator: q4,
|
|
@@ -18668,7 +18668,7 @@ var ud = "fill-[--surface-bg] dark:fill-[--surface-bg]", RP = "fill-[--surface-b
|
|
|
18668
18668
|
root: hk
|
|
18669
18669
|
}, vk = (e, ...t) => de("inline-flex items-center rounded-md plb-2 pli-3", $o, Qy, So({
|
|
18670
18670
|
elevation: "group"
|
|
18671
|
-
}), tR, ...t), mk = (e, ...t) => de(
|
|
18671
|
+
}), tR, ...t), mk = (e, ...t) => de(fd, ...t), yk = {
|
|
18672
18672
|
content: vk,
|
|
18673
18673
|
arrow: mk
|
|
18674
18674
|
}, bk = {
|
|
@@ -18701,7 +18701,7 @@ const lb = Vt({
|
|
|
18701
18701
|
textValue: "",
|
|
18702
18702
|
setTextValue: async (e) => {
|
|
18703
18703
|
}
|
|
18704
|
-
}), ub = () => Jt(lb),
|
|
18704
|
+
}), ub = () => Jt(lb), gd = ({ children: e }) => {
|
|
18705
18705
|
const [t, r] = Ce(""), n = De(async (i) => (await navigator.clipboard.writeText(i), r(i)), []);
|
|
18706
18706
|
return /* @__PURE__ */ x.createElement(lb.Provider, { value: { textValue: t, setTextValue: n } }, e);
|
|
18707
18707
|
}, Hh = "invisible bs-px -mbe-px overflow-hidden", Ek = ({ value: e, classNames: t, iconProps: r, ...n }) => {
|
|
@@ -18730,7 +18730,7 @@ const lb = Vt({
|
|
|
18730
18730
|
},
|
|
18731
18731
|
/* @__PURE__ */ x.createElement(Or, { variant: n, classNames: ["inline-flex flex-col justify-center", t] }, /* @__PURE__ */ x.createElement(xv, { className: Qe(5), weight: "bold", ...r }))
|
|
18732
18732
|
));
|
|
18733
|
-
},
|
|
18733
|
+
}, Kl = ({
|
|
18734
18734
|
children: e,
|
|
18735
18735
|
description: t,
|
|
18736
18736
|
before: r,
|
|
@@ -19875,16 +19875,16 @@ var us = {
|
|
|
19875
19875
|
"zonkey",
|
|
19876
19876
|
"zorse"
|
|
19877
19877
|
]
|
|
19878
|
-
}, Vh = (e) => e.charAt(0).toUpperCase() + e.slice(1),
|
|
19878
|
+
}, Vh = (e) => e.charAt(0).toUpperCase() + e.slice(1), Bc = (e) => {
|
|
19879
19879
|
const t = e.length * 2 / 3, r = e.substring(0, t), n = e.substring(t), i = Vh(us.adjectives[parseInt(r, 16) % us.adjectives.length]), o = Vh(us.animals[parseInt(n, 16) % us.animals.length]);
|
|
19880
19880
|
return `${i} ${o}`;
|
|
19881
19881
|
};
|
|
19882
19882
|
const fb = ne(
|
|
19883
19883
|
({ identity: e, presence: t, onClick: r }, n) => {
|
|
19884
19884
|
var c;
|
|
19885
|
-
const i = e.identityKey.toHex(), o = It("identityListItem__label"), a = Cc(i ?? "", 12), s = ((c = e.profile) == null ? void 0 : c.displayName) ??
|
|
19885
|
+
const i = e.identityKey.toHex(), o = It("identityListItem__label"), a = Cc(i ?? "", 12), s = ((c = e.profile) == null ? void 0 : c.displayName) ?? Bc(e.identityKey.toHex());
|
|
19886
19886
|
return /* @__PURE__ */ x.createElement(
|
|
19887
|
-
|
|
19887
|
+
Gu.Root,
|
|
19888
19888
|
{
|
|
19889
19889
|
classNames: de("flex gap-2 pis-3 pie-1 items-center", r && "cursor-pointer"),
|
|
19890
19890
|
onClick: () => r == null ? void 0 : r(),
|
|
@@ -19897,19 +19897,16 @@ const fb = ne(
|
|
|
19897
19897
|
}
|
|
19898
19898
|
), Sk = ({ devices: e, onSelect: t }) => {
|
|
19899
19899
|
const { t: r } = ut("os");
|
|
19900
|
-
return e.length > 0 ? /* @__PURE__ */ x.createElement(
|
|
19901
|
-
|
|
19902
|
-
const i = {
|
|
19900
|
+
return e.length > 0 ? /* @__PURE__ */ x.createElement(Zf, { classNames: "flex flex-col gap-2" }, e.map((n) => {
|
|
19901
|
+
const i = Bc(n.deviceKey.toHex()), o = {
|
|
19903
19902
|
identityKey: n.deviceKey,
|
|
19904
|
-
profile:
|
|
19905
|
-
displayName: `${(o = n.profile) == null ? void 0 : o.platform} (${(a = n.profile) == null ? void 0 : a.platformVersion}) on ${(s = n.profile) == null ? void 0 : s.os} (${(c = n.profile) == null ? void 0 : c.osVersion}) ${((l = n.profile) == null ? void 0 : l.architecture) ?? "Unknown"}-bit`
|
|
19906
|
-
} : void 0
|
|
19903
|
+
profile: { displayName: i }
|
|
19907
19904
|
};
|
|
19908
19905
|
return /* @__PURE__ */ x.createElement(
|
|
19909
19906
|
fb,
|
|
19910
19907
|
{
|
|
19911
19908
|
key: n.deviceKey.toHex(),
|
|
19912
|
-
identity:
|
|
19909
|
+
identity: o,
|
|
19913
19910
|
onClick: t && (() => t(n))
|
|
19914
19911
|
}
|
|
19915
19912
|
);
|
|
@@ -19926,7 +19923,7 @@ const fb = ne(
|
|
|
19926
19923
|
return /* @__PURE__ */ x.createElement(Ck, { members: o, onSelect: r });
|
|
19927
19924
|
}, Ck = ({ members: e, onSelect: t }) => {
|
|
19928
19925
|
const { t: r } = ut("os"), n = e.filter((i) => i.identity);
|
|
19929
|
-
return n.length > 0 ? /* @__PURE__ */ x.createElement(
|
|
19926
|
+
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(
|
|
19930
19927
|
fb,
|
|
19931
19928
|
{
|
|
19932
19929
|
key: i.identity.identityKey.toHex(),
|
|
@@ -20087,12 +20084,12 @@ function hb(e, t) {
|
|
|
20087
20084
|
return e(t(r));
|
|
20088
20085
|
};
|
|
20089
20086
|
}
|
|
20090
|
-
var Yk = Array.prototype, Jk = Function.prototype,
|
|
20091
|
-
var e = /[^.]+$/.exec(
|
|
20087
|
+
var Yk = Array.prototype, Jk = Function.prototype, jc = Object.prototype, ql = md["__core-js_shared__"], ng = function() {
|
|
20088
|
+
var e = /[^.]+$/.exec(ql && ql.keys && ql.keys.IE_PROTO || "");
|
|
20092
20089
|
return e ? "Symbol(src)_1." + e : "";
|
|
20093
|
-
}(), gb = Jk.toString, Co =
|
|
20090
|
+
}(), gb = Jk.toString, Co = jc.hasOwnProperty, bd = jc.toString, Xk = RegExp(
|
|
20094
20091
|
"^" + gb.call(Co).replace(kk, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
20095
|
-
), ig = md.Symbol, Zk = hb(Object.getPrototypeOf, Object), Qk =
|
|
20092
|
+
), ig = md.Symbol, Zk = hb(Object.getPrototypeOf, Object), Qk = jc.propertyIsEnumerable, e8 = Yk.splice, og = ig ? ig.isConcatSpreadable : void 0, Ju = Object.getOwnPropertySymbols, ag = Math.max, t8 = mb(md, "Map"), _a = mb(Object, "create");
|
|
20096
20093
|
function ci(e) {
|
|
20097
20094
|
var t = -1, r = e ? e.length : 0;
|
|
20098
20095
|
for (this.clear(); ++t < r; ) {
|
|
@@ -20138,21 +20135,21 @@ function s8() {
|
|
|
20138
20135
|
this.__data__ = [];
|
|
20139
20136
|
}
|
|
20140
20137
|
function c8(e) {
|
|
20141
|
-
var t = this.__data__, r =
|
|
20138
|
+
var t = this.__data__, r = Uc(t, e);
|
|
20142
20139
|
if (r < 0)
|
|
20143
20140
|
return !1;
|
|
20144
20141
|
var n = t.length - 1;
|
|
20145
20142
|
return r == n ? t.pop() : e8.call(t, r, 1), !0;
|
|
20146
20143
|
}
|
|
20147
20144
|
function l8(e) {
|
|
20148
|
-
var t = this.__data__, r =
|
|
20145
|
+
var t = this.__data__, r = Uc(t, e);
|
|
20149
20146
|
return r < 0 ? void 0 : t[r][1];
|
|
20150
20147
|
}
|
|
20151
20148
|
function u8(e) {
|
|
20152
|
-
return
|
|
20149
|
+
return Uc(this.__data__, e) > -1;
|
|
20153
20150
|
}
|
|
20154
20151
|
function f8(e, t) {
|
|
20155
|
-
var r = this.__data__, n =
|
|
20152
|
+
var r = this.__data__, n = Uc(r, e);
|
|
20156
20153
|
return n < 0 ? r.push([e, t]) : r[n][1] = t, this;
|
|
20157
20154
|
}
|
|
20158
20155
|
Ao.prototype.clear = s8;
|
|
@@ -20175,16 +20172,16 @@ function d8() {
|
|
|
20175
20172
|
};
|
|
20176
20173
|
}
|
|
20177
20174
|
function p8(e) {
|
|
20178
|
-
return
|
|
20175
|
+
return Wc(this, e).delete(e);
|
|
20179
20176
|
}
|
|
20180
20177
|
function h8(e) {
|
|
20181
|
-
return
|
|
20178
|
+
return Wc(this, e).get(e);
|
|
20182
20179
|
}
|
|
20183
20180
|
function g8(e) {
|
|
20184
|
-
return
|
|
20181
|
+
return Wc(this, e).has(e);
|
|
20185
20182
|
}
|
|
20186
20183
|
function v8(e, t) {
|
|
20187
|
-
return
|
|
20184
|
+
return Wc(this, e).set(e, t), this;
|
|
20188
20185
|
}
|
|
20189
20186
|
Oo.prototype.clear = d8;
|
|
20190
20187
|
Oo.prototype.delete = p8;
|
|
@@ -20210,7 +20207,7 @@ function b8(e, t) {
|
|
|
20210
20207
|
(t || Co.call(e, o)) && !(i && (o == "length" || P8(o, n))) && r.push(o);
|
|
20211
20208
|
return r;
|
|
20212
20209
|
}
|
|
20213
|
-
function
|
|
20210
|
+
function Uc(e, t) {
|
|
20214
20211
|
for (var r = e.length; r--; )
|
|
20215
20212
|
if (F8(e[r][0], t))
|
|
20216
20213
|
return r;
|
|
@@ -20285,7 +20282,7 @@ function C8(e, t) {
|
|
|
20285
20282
|
function A8(e) {
|
|
20286
20283
|
return _8(e, W8, T8);
|
|
20287
20284
|
}
|
|
20288
|
-
function
|
|
20285
|
+
function Wc(e, t) {
|
|
20289
20286
|
var r = e.__data__;
|
|
20290
20287
|
return R8(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
|
|
20291
20288
|
}
|
|
@@ -20293,7 +20290,7 @@ function mb(e, t) {
|
|
|
20293
20290
|
var r = Kk(e, t);
|
|
20294
20291
|
return E8(r) ? r : void 0;
|
|
20295
20292
|
}
|
|
20296
|
-
var O8 =
|
|
20293
|
+
var O8 = Ju ? hb(Ju, Object) : Eb, T8 = Ju ? function(e) {
|
|
20297
20294
|
for (var t = []; e; )
|
|
20298
20295
|
yd(t, O8(e)), e = Zk(e);
|
|
20299
20296
|
return t;
|
|
@@ -20312,7 +20309,7 @@ function k8(e) {
|
|
|
20312
20309
|
return !!ng && ng in e;
|
|
20313
20310
|
}
|
|
20314
20311
|
function N8(e) {
|
|
20315
|
-
var t = e && e.constructor, r = typeof t == "function" && t.prototype ||
|
|
20312
|
+
var t = e && e.constructor, r = typeof t == "function" && t.prototype || jc;
|
|
20316
20313
|
return e === r;
|
|
20317
20314
|
}
|
|
20318
20315
|
function D8(e) {
|
|
@@ -23472,41 +23469,41 @@ Ys.exports;
|
|
|
23472
23469
|
writable: !0
|
|
23473
23470
|
}) : A[U] = re;
|
|
23474
23471
|
}
|
|
23475
|
-
var
|
|
23472
|
+
var Qc = fl();
|
|
23476
23473
|
function tn(A) {
|
|
23477
|
-
return A == null ? A === void 0 ? C : w : Ie && Ie in Object(A) ?
|
|
23474
|
+
return A == null ? A === void 0 ? C : w : Ie && Ie in Object(A) ? dl(A) : vl(A);
|
|
23478
23475
|
}
|
|
23479
23476
|
function Mo(A) {
|
|
23480
23477
|
return Yn(A) && tn(A) == s;
|
|
23481
23478
|
}
|
|
23482
|
-
function
|
|
23479
|
+
function el(A) {
|
|
23483
23480
|
if (!tr(A) || za(A))
|
|
23484
23481
|
return !1;
|
|
23485
23482
|
var U = ki(A) ? y : ue;
|
|
23486
23483
|
return U.test(Pi(A));
|
|
23487
23484
|
}
|
|
23488
|
-
function
|
|
23485
|
+
function tl(A) {
|
|
23489
23486
|
return Yn(A) && Dr(A.length) && !!J[tn(A)];
|
|
23490
23487
|
}
|
|
23491
|
-
function
|
|
23488
|
+
function rl(A) {
|
|
23492
23489
|
if (!tr(A))
|
|
23493
|
-
return
|
|
23490
|
+
return gl(A);
|
|
23494
23491
|
var U = Ha(A), re = [];
|
|
23495
23492
|
for (var ve in A)
|
|
23496
23493
|
ve == "constructor" && (U || !Ge.call(A, ve)) || re.push(ve);
|
|
23497
23494
|
return re;
|
|
23498
23495
|
}
|
|
23499
23496
|
function Ii(A, U, re, ve, Ne) {
|
|
23500
|
-
A !== U &&
|
|
23497
|
+
A !== U && Qc(U, function(Pe, Ue) {
|
|
23501
23498
|
if (Ne || (Ne = new qe()), tr(Pe))
|
|
23502
|
-
|
|
23499
|
+
nl(A, U, Ue, re, Ii, ve, Ne);
|
|
23503
23500
|
else {
|
|
23504
23501
|
var He = ve ? ve(jo(A, Ue), Pe, Ue + "", A, U, Ne) : void 0;
|
|
23505
23502
|
He === void 0 && (He = Pe), sr(A, Ue, He);
|
|
23506
23503
|
}
|
|
23507
23504
|
}, Ya);
|
|
23508
23505
|
}
|
|
23509
|
-
function
|
|
23506
|
+
function nl(A, U, re, ve, Ne, Pe, Ue) {
|
|
23510
23507
|
var He = jo(A, re), Ze = jo(U, re), jt = Ue.get(Ze);
|
|
23511
23508
|
if (jt) {
|
|
23512
23509
|
sr(A, re, jt);
|
|
@@ -23514,43 +23511,43 @@ Ys.exports;
|
|
|
23514
23511
|
}
|
|
23515
23512
|
var Wt = Pe ? Pe(He, Ze, re + "", A, U, Ue) : void 0, rn = Wt === void 0;
|
|
23516
23513
|
if (rn) {
|
|
23517
|
-
var Ni = qn(Ze),
|
|
23518
|
-
Wt = Ze, Ni ||
|
|
23514
|
+
var Ni = qn(Ze), _l = !Ni && Ri(Ze), tp = !Ni && !_l && Ka(Ze);
|
|
23515
|
+
Wt = Ze, Ni || _l || tp ? qn(He) ? Wt = He : Va(He) ? Wt = cl(He) : _l ? (rn = !1, Wt = ol(Ze, !0)) : tp ? (rn = !1, Wt = sl(Ze, !0)) : Wt = [] : Ga(Ze) || Kn(Ze) ? (Wt = He, Kn(He) ? Wt = qa(He) : (!tr(He) || ki(He)) && (Wt = Ua(Ze))) : rn = !1;
|
|
23519
23516
|
}
|
|
23520
23517
|
rn && (Ue.set(Ze, Wt), Ne(Wt, Ze, ve, Pe, Ue), Ue.delete(Ze)), sr(A, re, Wt);
|
|
23521
23518
|
}
|
|
23522
23519
|
function ja(A, U) {
|
|
23523
|
-
return
|
|
23520
|
+
return ml(Bo(A, U, j), A + "");
|
|
23524
23521
|
}
|
|
23525
|
-
var
|
|
23522
|
+
var il = Le ? function(A, U) {
|
|
23526
23523
|
return Le(A, "toString", {
|
|
23527
23524
|
configurable: !0,
|
|
23528
23525
|
enumerable: !1,
|
|
23529
|
-
value:
|
|
23526
|
+
value: wl(U),
|
|
23530
23527
|
writable: !0
|
|
23531
23528
|
});
|
|
23532
23529
|
} : j;
|
|
23533
|
-
function
|
|
23530
|
+
function ol(A, U) {
|
|
23534
23531
|
if (U)
|
|
23535
23532
|
return A.slice();
|
|
23536
23533
|
var re = A.length, ve = O ? O(re) : new A.constructor(re);
|
|
23537
23534
|
return A.copy(ve), ve;
|
|
23538
23535
|
}
|
|
23539
|
-
function
|
|
23536
|
+
function al(A) {
|
|
23540
23537
|
var U = new A.constructor(A.byteLength);
|
|
23541
23538
|
return new E(U).set(new E(A)), U;
|
|
23542
23539
|
}
|
|
23543
|
-
function
|
|
23544
|
-
var re = U ?
|
|
23540
|
+
function sl(A, U) {
|
|
23541
|
+
var re = U ? al(A.buffer) : A.buffer;
|
|
23545
23542
|
return new A.constructor(re, A.byteOffset, A.length);
|
|
23546
23543
|
}
|
|
23547
|
-
function
|
|
23544
|
+
function cl(A, U) {
|
|
23548
23545
|
var re = -1, ve = A.length;
|
|
23549
23546
|
for (U || (U = Array(ve)); ++re < ve; )
|
|
23550
23547
|
U[re] = A[re];
|
|
23551
23548
|
return U;
|
|
23552
23549
|
}
|
|
23553
|
-
function
|
|
23550
|
+
function ll(A, U, re, ve) {
|
|
23554
23551
|
var Ne = !re;
|
|
23555
23552
|
re || (re = {});
|
|
23556
23553
|
for (var Pe = -1, Ue = U.length; ++Pe < Ue; ) {
|
|
@@ -23559,17 +23556,17 @@ Ys.exports;
|
|
|
23559
23556
|
}
|
|
23560
23557
|
return re;
|
|
23561
23558
|
}
|
|
23562
|
-
function
|
|
23559
|
+
function ul(A) {
|
|
23563
23560
|
return ja(function(U, re) {
|
|
23564
23561
|
var ve = -1, Ne = re.length, Pe = Ne > 1 ? re[Ne - 1] : void 0, Ue = Ne > 2 ? re[2] : void 0;
|
|
23565
|
-
for (Pe = A.length > 3 && typeof Pe == "function" ? (Ne--, Pe) : void 0, Ue &&
|
|
23562
|
+
for (Pe = A.length > 3 && typeof Pe == "function" ? (Ne--, Pe) : void 0, Ue && pl(re[0], re[1], Ue) && (Pe = Ne < 3 ? void 0 : Pe, Ne = 1), U = Object(U); ++ve < Ne; ) {
|
|
23566
23563
|
var He = re[ve];
|
|
23567
23564
|
He && A(U, He, ve, Pe);
|
|
23568
23565
|
}
|
|
23569
23566
|
return U;
|
|
23570
23567
|
});
|
|
23571
23568
|
}
|
|
23572
|
-
function
|
|
23569
|
+
function fl(A) {
|
|
23573
23570
|
return function(U, re, ve) {
|
|
23574
23571
|
for (var Ne = -1, Pe = Object(U), Ue = ve(U), He = Ue.length; He--; ) {
|
|
23575
23572
|
var Ze = Ue[A ? He : ++Ne];
|
|
@@ -23584,13 +23581,13 @@ Ys.exports;
|
|
|
23584
23581
|
}
|
|
23585
23582
|
function vn(A, U) {
|
|
23586
23583
|
var re = A.__data__;
|
|
23587
|
-
return
|
|
23584
|
+
return hl(U) ? re[typeof U == "string" ? "string" : "hash"] : re.map;
|
|
23588
23585
|
}
|
|
23589
23586
|
function Fo(A, U) {
|
|
23590
23587
|
var re = be(A, U);
|
|
23591
|
-
return
|
|
23588
|
+
return el(re) ? re : void 0;
|
|
23592
23589
|
}
|
|
23593
|
-
function
|
|
23590
|
+
function dl(A) {
|
|
23594
23591
|
var U = Ge.call(A, Ie), re = A[Ie];
|
|
23595
23592
|
try {
|
|
23596
23593
|
A[Ie] = void 0;
|
|
@@ -23607,13 +23604,13 @@ Ys.exports;
|
|
|
23607
23604
|
var re = typeof A;
|
|
23608
23605
|
return U = U ?? a, !!U && (re == "number" || re != "symbol" && V.test(A)) && A > -1 && A % 1 == 0 && A < U;
|
|
23609
23606
|
}
|
|
23610
|
-
function
|
|
23607
|
+
function pl(A, U, re) {
|
|
23611
23608
|
if (!tr(re))
|
|
23612
23609
|
return !1;
|
|
23613
23610
|
var ve = typeof U;
|
|
23614
23611
|
return (ve == "number" ? Uo(re) && Wa(U, re.length) : ve == "string" && U in re) ? mn(re[U], A) : !1;
|
|
23615
23612
|
}
|
|
23616
|
-
function
|
|
23613
|
+
function hl(A) {
|
|
23617
23614
|
var U = typeof A;
|
|
23618
23615
|
return U == "string" || U == "number" || U == "symbol" || U == "boolean" ? A !== "__proto__" : A === null;
|
|
23619
23616
|
}
|
|
@@ -23624,14 +23621,14 @@ Ys.exports;
|
|
|
23624
23621
|
var U = A && A.constructor, re = typeof U == "function" && U.prototype || je;
|
|
23625
23622
|
return A === re;
|
|
23626
23623
|
}
|
|
23627
|
-
function
|
|
23624
|
+
function gl(A) {
|
|
23628
23625
|
var U = [];
|
|
23629
23626
|
if (A != null)
|
|
23630
23627
|
for (var re in Object(A))
|
|
23631
23628
|
U.push(re);
|
|
23632
23629
|
return U;
|
|
23633
23630
|
}
|
|
23634
|
-
function
|
|
23631
|
+
function vl(A) {
|
|
23635
23632
|
return Te.call(A);
|
|
23636
23633
|
}
|
|
23637
23634
|
function Bo(A, U, re) {
|
|
@@ -23648,8 +23645,8 @@ Ys.exports;
|
|
|
23648
23645
|
if (!(U === "constructor" && typeof A[U] == "function") && U != "__proto__")
|
|
23649
23646
|
return A[U];
|
|
23650
23647
|
}
|
|
23651
|
-
var
|
|
23652
|
-
function
|
|
23648
|
+
var ml = yl(il);
|
|
23649
|
+
function yl(A) {
|
|
23653
23650
|
var U = 0, re = 0;
|
|
23654
23651
|
return function() {
|
|
23655
23652
|
var ve = Si(), Ne = o - (ve - re);
|
|
@@ -23714,20 +23711,20 @@ Ys.exports;
|
|
|
23714
23711
|
var re = Ge.call(U, "constructor") && U.constructor;
|
|
23715
23712
|
return typeof re == "function" && re instanceof re && ke.call(re) == Ve;
|
|
23716
23713
|
}
|
|
23717
|
-
var Ka = k ? ge(k) :
|
|
23714
|
+
var Ka = k ? ge(k) : tl;
|
|
23718
23715
|
function qa(A) {
|
|
23719
|
-
return
|
|
23716
|
+
return ll(A, Ya(A));
|
|
23720
23717
|
}
|
|
23721
|
-
var
|
|
23718
|
+
var bl = ja(function(A) {
|
|
23722
23719
|
return A.push(void 0, Gn), Q(Ja, void 0, A);
|
|
23723
23720
|
});
|
|
23724
23721
|
function Ya(A) {
|
|
23725
|
-
return Uo(A) ? Gt(A, !0) :
|
|
23722
|
+
return Uo(A) ? Gt(A, !0) : rl(A);
|
|
23726
23723
|
}
|
|
23727
|
-
var Ja =
|
|
23724
|
+
var Ja = ul(function(A, U, re, ve) {
|
|
23728
23725
|
Ii(A, U, re, ve);
|
|
23729
23726
|
});
|
|
23730
|
-
function
|
|
23727
|
+
function wl(A) {
|
|
23731
23728
|
return function() {
|
|
23732
23729
|
return A;
|
|
23733
23730
|
};
|
|
@@ -23738,7 +23735,7 @@ Ys.exports;
|
|
|
23738
23735
|
function ee() {
|
|
23739
23736
|
return !1;
|
|
23740
23737
|
}
|
|
23741
|
-
e.exports =
|
|
23738
|
+
e.exports = bl;
|
|
23742
23739
|
})(Ys, Ys.exports);
|
|
23743
23740
|
var pD = Ys.exports;
|
|
23744
23741
|
const hD = /* @__PURE__ */ Un(pD);
|
|
@@ -24004,13 +24001,13 @@ var bD = (e, t = 8) => {
|
|
|
24004
24001
|
});
|
|
24005
24002
|
};
|
|
24006
24003
|
wD();
|
|
24007
|
-
var _D = Symbol.for("dxos.common.equals"),
|
|
24008
|
-
|
|
24009
|
-
|
|
24010
|
-
|
|
24011
|
-
var Ur = [], vr = [], ED = typeof Uint8Array < "u" ? Uint8Array : Array,
|
|
24012
|
-
for (var Vi = 0, xD =
|
|
24013
|
-
Ur[Vi] =
|
|
24004
|
+
var _D = Symbol.for("dxos.common.equals"), Xu = { exports: {} }, Zu = { exports: {} }, Na = {}, zc = {};
|
|
24005
|
+
zc.byteLength = SD;
|
|
24006
|
+
zc.toByteArray = CD;
|
|
24007
|
+
zc.fromByteArray = TD;
|
|
24008
|
+
var Ur = [], vr = [], ED = typeof Uint8Array < "u" ? Uint8Array : Array, Yl = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
24009
|
+
for (var Vi = 0, xD = Yl.length; Vi < xD; ++Vi)
|
|
24010
|
+
Ur[Vi] = Yl[Vi], vr[Yl.charCodeAt(Vi)] = Vi;
|
|
24014
24011
|
vr[45] = 62;
|
|
24015
24012
|
vr[95] = 63;
|
|
24016
24013
|
function Fb(e) {
|
|
@@ -24084,7 +24081,7 @@ Pd.write = function(e, t, r, n, i, o) {
|
|
|
24084
24081
|
* @license MIT
|
|
24085
24082
|
*/
|
|
24086
24083
|
(function(e) {
|
|
24087
|
-
const t =
|
|
24084
|
+
const t = zc, r = Pd, n = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
|
|
24088
24085
|
e.Buffer = s, e.SlowBuffer = _, e.INSPECT_MAX_BYTES = 50;
|
|
24089
24086
|
const i = 2147483647;
|
|
24090
24087
|
e.kMaxLength = i, s.TYPED_ARRAY_SUPPORT = o(), !s.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
|
|
@@ -25082,31 +25079,31 @@ Pd.write = function(e, t, r, n, i, o) {
|
|
|
25082
25079
|
throw new TypeError("Argument must be a number");
|
|
25083
25080
|
return r.SlowBuffer(a);
|
|
25084
25081
|
};
|
|
25085
|
-
})(
|
|
25086
|
-
var Bb =
|
|
25082
|
+
})(Zu, Zu.exports);
|
|
25083
|
+
var Bb = Zu.exports, Jl = 65536, ID = 4294967295;
|
|
25087
25084
|
function PD() {
|
|
25088
25085
|
throw new Error(`Secure random number generation is not supported by this browser.
|
|
25089
25086
|
Use Chrome, Firefox or Internet Explorer 11`);
|
|
25090
25087
|
}
|
|
25091
25088
|
var RD = Bb.Buffer, Xs = it.crypto || it.msCrypto;
|
|
25092
|
-
Xs && Xs.getRandomValues ?
|
|
25089
|
+
Xs && Xs.getRandomValues ? Xu.exports = kD : Xu.exports = PD;
|
|
25093
25090
|
function kD(e, t) {
|
|
25094
25091
|
if (e > ID)
|
|
25095
25092
|
throw new RangeError("requested too many random bytes");
|
|
25096
25093
|
var r = RD.allocUnsafe(e);
|
|
25097
25094
|
if (e > 0)
|
|
25098
|
-
if (e >
|
|
25099
|
-
for (var n = 0; n < e; n +=
|
|
25100
|
-
Xs.getRandomValues(r.slice(n, n +
|
|
25095
|
+
if (e > Jl)
|
|
25096
|
+
for (var n = 0; n < e; n += Jl)
|
|
25097
|
+
Xs.getRandomValues(r.slice(n, n + Jl));
|
|
25101
25098
|
else
|
|
25102
25099
|
Xs.getRandomValues(r);
|
|
25103
25100
|
return typeof t == "function" ? process.nextTick(function() {
|
|
25104
25101
|
t(null, r);
|
|
25105
25102
|
}) : r;
|
|
25106
25103
|
}
|
|
25107
|
-
var ND =
|
|
25104
|
+
var ND = Xu.exports;
|
|
25108
25105
|
const DD = /* @__PURE__ */ Un(ND);
|
|
25109
|
-
var
|
|
25106
|
+
var Xl = "/home/runner/work/dxos/dxos/packages/common/keys/src/public-key.ts", LD = 32, pg = class qt {
|
|
25110
25107
|
/**
|
|
25111
25108
|
* Creates new instance of PublicKey automatically determining the input format.
|
|
25112
25109
|
* @param source A Buffer, or Uint8Array, or hex encoded string, or something with an `asUint8Array` method on it
|
|
@@ -25114,7 +25111,7 @@ var Jl = "/home/runner/work/dxos/dxos/packages/common/keys/src/public-key.ts", L
|
|
|
25114
25111
|
*/
|
|
25115
25112
|
static from(t) {
|
|
25116
25113
|
if (la(t, void 0, {
|
|
25117
|
-
F:
|
|
25114
|
+
F: Xl,
|
|
25118
25115
|
L: 31,
|
|
25119
25116
|
S: this,
|
|
25120
25117
|
A: [
|
|
@@ -25193,7 +25190,7 @@ var Jl = "/home/runner/work/dxos/dxos/packages/common/keys/src/public-key.ts", L
|
|
|
25193
25190
|
*/
|
|
25194
25191
|
static bufferize(t) {
|
|
25195
25192
|
return la(typeof t == "string", "Invalid type", {
|
|
25196
|
-
F:
|
|
25193
|
+
F: Xl,
|
|
25197
25194
|
L: 130,
|
|
25198
25195
|
S: this,
|
|
25199
25196
|
A: [
|
|
@@ -25209,7 +25206,7 @@ var Jl = "/home/runner/work/dxos/dxos/packages/common/keys/src/public-key.ts", L
|
|
|
25209
25206
|
*/
|
|
25210
25207
|
static stringify(t) {
|
|
25211
25208
|
return t instanceof qt ? t = t.asBuffer() : t instanceof Uint8Array && (t = $n.from(t.buffer, t.byteOffset, t.byteLength)), la(t instanceof $n, "Invalid type", {
|
|
25212
|
-
F:
|
|
25209
|
+
F: Xl,
|
|
25213
25210
|
L: 149,
|
|
25214
25211
|
S: this,
|
|
25215
25212
|
A: [
|
|
@@ -25761,7 +25758,7 @@ var MD = [
|
|
|
25761
25758
|
i.push(e.slice(a, a + n));
|
|
25762
25759
|
return i[i.length - 1] = i[i.length - 1].concat(e.slice(t * n)), i.map((a) => a.reduce((s, c) => s ^ c));
|
|
25763
25760
|
}
|
|
25764
|
-
}, BD = new FD(), jD = (e) => (e instanceof $n || e instanceof Uint8Array || e instanceof ArrayBuffer ? e = pg.stringify(e) : e instanceof pg && (e = e.toHex()), BD.humanize(e)), UD = (e) => $n.from(e.buffer, e.byteOffset, e.byteLength), WD = 5,
|
|
25761
|
+
}, BD = new FD(), jD = (e) => (e instanceof $n || e instanceof Uint8Array || e instanceof ArrayBuffer ? e = pg.stringify(e) : e instanceof pg && (e = e.toHex()), BD.humanize(e)), UD = (e) => $n.from(e.buffer, e.byteOffset, e.byteLength), WD = 5, Qu = (e, t = 0, r = /* @__PURE__ */ new WeakSet()) => {
|
|
25765
25762
|
if (t > WD)
|
|
25766
25763
|
return null;
|
|
25767
25764
|
if (typeof e == "function")
|
|
@@ -25774,13 +25771,13 @@ var MD = [
|
|
|
25774
25771
|
if (e instanceof Uint8Array)
|
|
25775
25772
|
return UD(e).toString("hex");
|
|
25776
25773
|
if (Array.isArray(e))
|
|
25777
|
-
return e.map((n) =>
|
|
25774
|
+
return e.map((n) => Qu(n, t + 1, r));
|
|
25778
25775
|
if (typeof e.toJSON == "function")
|
|
25779
25776
|
return e.toJSON();
|
|
25780
25777
|
{
|
|
25781
25778
|
const n = {};
|
|
25782
25779
|
for (const i of Object.keys(e))
|
|
25783
|
-
n[i] =
|
|
25780
|
+
n[i] = Qu(e[i], t + 1, r);
|
|
25784
25781
|
return n;
|
|
25785
25782
|
}
|
|
25786
25783
|
} finally {
|
|
@@ -25791,13 +25788,13 @@ var MD = [
|
|
|
25791
25788
|
}, zD = (e, t, r) => {
|
|
25792
25789
|
let n = e.get(t);
|
|
25793
25790
|
return n === void 0 && (n = typeof r == "function" ? r() : r, e.set(t, n)), n;
|
|
25794
|
-
}, HD = () => typeof navigator < "u" && /^((?!chrome|android).)*safari/i.test(navigator.userAgent),
|
|
25795
|
-
t.prototype[
|
|
25796
|
-
value: (r) => (r == null ? void 0 : r[
|
|
25791
|
+
}, HD = () => typeof navigator < "u" && /^((?!chrome|android).)*safari/i.test(navigator.userAgent), Zl = Symbol("instanceTag"), VD = (e) => (t) => {
|
|
25792
|
+
t.prototype[Zl] = e, Object.defineProperty(t.prototype, Symbol.hasInstance, {
|
|
25793
|
+
value: (r) => (r == null ? void 0 : r[Zl]) === e
|
|
25797
25794
|
}), Object.defineProperty(t, Symbol.hasInstance, {
|
|
25798
|
-
value: (r) => (r == null ? void 0 : r[
|
|
25795
|
+
value: (r) => (r == null ? void 0 : r[Zl]) === e
|
|
25799
25796
|
});
|
|
25800
|
-
},
|
|
25797
|
+
}, Ql = Symbol.for("dxos.instance-contexts"), GD = globalThis[Ql] ?? (globalThis[Ql] = /* @__PURE__ */ new WeakMap()), KD = (e) => {
|
|
25801
25798
|
const t = Object.getPrototypeOf(e), r = zD(GD, t, () => ({
|
|
25802
25799
|
nextId: 0,
|
|
25803
25800
|
instanceIds: /* @__PURE__ */ new WeakMap()
|
|
@@ -26184,7 +26181,7 @@ var QD = Symbol("logInfoProperties"), e7 = (e) => {
|
|
|
26184
26181
|
file: (a = i.meta) == null ? void 0 : a.F,
|
|
26185
26182
|
line: (s = i.meta) == null ? void 0 : s.L
|
|
26186
26183
|
},
|
|
26187
|
-
context:
|
|
26184
|
+
context: Qu(kd(i))
|
|
26188
26185
|
};
|
|
26189
26186
|
qD(r, JSON.stringify(o) + `
|
|
26190
26187
|
`);
|
|
@@ -26203,7 +26200,7 @@ var f7 = {
|
|
|
26203
26200
|
[ua.CONSOLE]: zb,
|
|
26204
26201
|
[ua.BROWSER]: Vb,
|
|
26205
26202
|
[ua.DEBUG]: a7
|
|
26206
|
-
}, d7 = typeof window < "u" || typeof navigator < "u",
|
|
26203
|
+
}, d7 = typeof window < "u" || typeof navigator < "u", ef = [
|
|
26207
26204
|
d7 ? Vb : zb
|
|
26208
26205
|
], gg = (e) => {
|
|
26209
26206
|
if (typeof e == "number")
|
|
@@ -26234,7 +26231,7 @@ var f7 = {
|
|
|
26234
26231
|
captureFilters: gg(r.captureFilter ?? Ot.WARN),
|
|
26235
26232
|
processors: r.processor ? [
|
|
26236
26233
|
f7[r.processor]
|
|
26237
|
-
] :
|
|
26234
|
+
] : ef,
|
|
26238
26235
|
prefix: r.prefix
|
|
26239
26236
|
};
|
|
26240
26237
|
}, p7 = () => {
|
|
@@ -26242,7 +26239,7 @@ var f7 = {
|
|
|
26242
26239
|
e._config = vg(), Object.defineProperty(e, "runtimeConfig", {
|
|
26243
26240
|
get: () => e._config
|
|
26244
26241
|
}), e.addProcessor = (r) => {
|
|
26245
|
-
|
|
26242
|
+
ef.filter((n) => n === r).length === 0 && ef.push(r), e._config.processors.filter((n) => n === r).length === 0 && e._config.processors.push(r);
|
|
26246
26243
|
}, e.config = (r) => {
|
|
26247
26244
|
e._config = vg(r);
|
|
26248
26245
|
}, 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"}
|
|
@@ -26294,7 +26291,7 @@ function m7(e, t, r, n) {
|
|
|
26294
26291
|
(a = e[s]) && (o = (i < 3 ? a(o) : i > 3 ? a(t, r, o) : a(t, r)) || o);
|
|
26295
26292
|
return i > 3 && o && Object.defineProperty(t, r, o), o;
|
|
26296
26293
|
}
|
|
26297
|
-
var
|
|
26294
|
+
var eu = "/home/runner/work/dxos/dxos/packages/common/context/src/context.ts", y7 = 300, mg = class Gb {
|
|
26298
26295
|
constructor({ onError: t = (i) => {
|
|
26299
26296
|
if (!(i instanceof v7))
|
|
26300
26297
|
throw this.dispose(), i;
|
|
@@ -26322,7 +26319,7 @@ var Ql = "/home/runner/work/dxos/dxos/packages/common/context/src/context.ts", y
|
|
|
26322
26319
|
await t();
|
|
26323
26320
|
} catch (r) {
|
|
26324
26321
|
ot.catch(r, void 0, {
|
|
26325
|
-
F:
|
|
26322
|
+
F: eu,
|
|
26326
26323
|
L: 82,
|
|
26327
26324
|
S: this,
|
|
26328
26325
|
C: (n, i) => n(...i)
|
|
@@ -26332,7 +26329,7 @@ var Ql = "/home/runner/work/dxos/dxos/packages/common/context/src/context.ts", y
|
|
|
26332
26329
|
count: this._disposeCallbacks.length,
|
|
26333
26330
|
safeThreshold: this.maxSafeDisposeCallbacks
|
|
26334
26331
|
}, {
|
|
26335
|
-
F:
|
|
26332
|
+
F: eu,
|
|
26336
26333
|
L: 89,
|
|
26337
26334
|
S: this,
|
|
26338
26335
|
C: (r, n) => r(...n)
|
|
@@ -26360,7 +26357,7 @@ var Ql = "/home/runner/work/dxos/dxos/packages/common/context/src/context.ts", y
|
|
|
26360
26357
|
await r();
|
|
26361
26358
|
} catch (n) {
|
|
26362
26359
|
ot.catch(n, void 0, {
|
|
26363
|
-
F:
|
|
26360
|
+
F: eu,
|
|
26364
26361
|
L: 124,
|
|
26365
26362
|
S: this,
|
|
26366
26363
|
C: (i, o) => i(...o)
|
|
@@ -26410,12 +26407,12 @@ var Ql = "/home/runner/work/dxos/dxos/packages/common/context/src/context.ts", y
|
|
|
26410
26407
|
mg = m7([
|
|
26411
26408
|
VD("Context")
|
|
26412
26409
|
], mg);
|
|
26413
|
-
var
|
|
26414
|
-
Object.defineProperty(
|
|
26410
|
+
var Hc = {};
|
|
26411
|
+
Object.defineProperty(Hc, "__esModule", {
|
|
26415
26412
|
value: !0
|
|
26416
26413
|
});
|
|
26417
|
-
|
|
26418
|
-
const Kb = (e) => !!Symbol[e], Dd = (e) => Kb(e) ? Symbol[e] : "@@" + e, b7 = Dd("iterator"),
|
|
26414
|
+
Hc.Observable = void 0;
|
|
26415
|
+
const Kb = (e) => !!Symbol[e], Dd = (e) => Kb(e) ? Symbol[e] : "@@" + e, b7 = Dd("iterator"), tf = Dd("observable"), qb = Dd("species");
|
|
26419
26416
|
function Zs(e, t) {
|
|
26420
26417
|
let r = e[t];
|
|
26421
26418
|
if (r != null) {
|
|
@@ -26426,10 +26423,10 @@ function Zs(e, t) {
|
|
|
26426
26423
|
}
|
|
26427
26424
|
function Yo(e) {
|
|
26428
26425
|
let t = e.constructor;
|
|
26429
|
-
return t !== void 0 && (t = t[qb], t === null && (t = void 0)), t !== void 0 ? t :
|
|
26426
|
+
return t !== void 0 && (t = t[qb], t === null && (t = void 0)), t !== void 0 ? t : Vc;
|
|
26430
26427
|
}
|
|
26431
26428
|
function w7(e) {
|
|
26432
|
-
return e instanceof
|
|
26429
|
+
return e instanceof Vc;
|
|
26433
26430
|
}
|
|
26434
26431
|
function po(e) {
|
|
26435
26432
|
po.log ? po.log(e) : setTimeout(() => {
|
|
@@ -26459,7 +26456,7 @@ function Yb(e) {
|
|
|
26459
26456
|
po(r);
|
|
26460
26457
|
}
|
|
26461
26458
|
}
|
|
26462
|
-
function
|
|
26459
|
+
function rf(e) {
|
|
26463
26460
|
e._observer = void 0, e._queue = void 0, e._state = "closed";
|
|
26464
26461
|
}
|
|
26465
26462
|
function _7(e) {
|
|
@@ -26480,13 +26477,13 @@ function Jb(e, t, r) {
|
|
|
26480
26477
|
i && i.call(n, r);
|
|
26481
26478
|
break;
|
|
26482
26479
|
case "error":
|
|
26483
|
-
if (
|
|
26480
|
+
if (rf(e), i)
|
|
26484
26481
|
i.call(n, r);
|
|
26485
26482
|
else
|
|
26486
26483
|
throw r;
|
|
26487
26484
|
break;
|
|
26488
26485
|
case "complete":
|
|
26489
|
-
|
|
26486
|
+
rf(e), i && i.call(n);
|
|
26490
26487
|
break;
|
|
26491
26488
|
}
|
|
26492
26489
|
} catch (i) {
|
|
@@ -26494,7 +26491,7 @@ function Jb(e, t, r) {
|
|
|
26494
26491
|
}
|
|
26495
26492
|
e._state === "closed" ? Yb(e) : e._state === "running" && (e._state = "ready");
|
|
26496
26493
|
}
|
|
26497
|
-
function
|
|
26494
|
+
function tu(e, t, r) {
|
|
26498
26495
|
if (e._state !== "closed") {
|
|
26499
26496
|
if (e._state === "buffering") {
|
|
26500
26497
|
e._queue.push({
|
|
@@ -26521,13 +26518,13 @@ class E7 {
|
|
|
26521
26518
|
return n._state === "closed";
|
|
26522
26519
|
},
|
|
26523
26520
|
next(o) {
|
|
26524
|
-
|
|
26521
|
+
tu(n, "next", o);
|
|
26525
26522
|
},
|
|
26526
26523
|
error(o) {
|
|
26527
|
-
|
|
26524
|
+
tu(n, "error", o);
|
|
26528
26525
|
},
|
|
26529
26526
|
complete() {
|
|
26530
|
-
|
|
26527
|
+
tu(n, "complete");
|
|
26531
26528
|
}
|
|
26532
26529
|
};
|
|
26533
26530
|
try {
|
|
@@ -26541,10 +26538,10 @@ class E7 {
|
|
|
26541
26538
|
return this._state === "closed";
|
|
26542
26539
|
}
|
|
26543
26540
|
unsubscribe() {
|
|
26544
|
-
this._state !== "closed" && (
|
|
26541
|
+
this._state !== "closed" && (rf(this), Yb(this));
|
|
26545
26542
|
}
|
|
26546
26543
|
}
|
|
26547
|
-
let
|
|
26544
|
+
let Vc = class Ss {
|
|
26548
26545
|
constructor(t) {
|
|
26549
26546
|
if (!(this instanceof Ss))
|
|
26550
26547
|
throw new TypeError("Observable cannot be called as a function");
|
|
@@ -26718,14 +26715,14 @@ let Hc = class Ss {
|
|
|
26718
26715
|
};
|
|
26719
26716
|
});
|
|
26720
26717
|
}
|
|
26721
|
-
[
|
|
26718
|
+
[tf]() {
|
|
26722
26719
|
return this;
|
|
26723
26720
|
}
|
|
26724
26721
|
static from(t) {
|
|
26725
26722
|
let r = typeof this == "function" ? this : Ss;
|
|
26726
26723
|
if (t == null)
|
|
26727
26724
|
throw new TypeError(t + " is not an object");
|
|
26728
|
-
let n = Zs(t,
|
|
26725
|
+
let n = Zs(t, tf);
|
|
26729
26726
|
if (n) {
|
|
26730
26727
|
let i = n.call(t);
|
|
26731
26728
|
if (Object(i) !== i)
|
|
@@ -26773,15 +26770,15 @@ let Hc = class Ss {
|
|
|
26773
26770
|
return this;
|
|
26774
26771
|
}
|
|
26775
26772
|
};
|
|
26776
|
-
|
|
26777
|
-
Object.defineProperty(
|
|
26773
|
+
Hc.Observable = Vc;
|
|
26774
|
+
Object.defineProperty(Vc, Symbol("extensions"), {
|
|
26778
26775
|
value: {
|
|
26779
|
-
symbol:
|
|
26776
|
+
symbol: tf,
|
|
26780
26777
|
hostReportError: po
|
|
26781
26778
|
},
|
|
26782
26779
|
configurable: !0
|
|
26783
26780
|
});
|
|
26784
|
-
var x7 =
|
|
26781
|
+
var x7 = Hc.Observable;
|
|
26785
26782
|
const fs = /* @__PURE__ */ Un(x7);
|
|
26786
26783
|
var yg = { exports: {} }, Ld = { exports: {} }, io = typeof Reflect == "object" ? Reflect : null, bg = io && typeof io.apply == "function" ? io.apply : function(t, r, n) {
|
|
26787
26784
|
return Function.prototype.apply.call(t, r, n);
|
|
@@ -26807,7 +26804,7 @@ mt.prototype._events = void 0;
|
|
|
26807
26804
|
mt.prototype._eventsCount = 0;
|
|
26808
26805
|
mt.prototype._maxListeners = void 0;
|
|
26809
26806
|
var wg = 10;
|
|
26810
|
-
function
|
|
26807
|
+
function Gc(e) {
|
|
26811
26808
|
if (typeof e != "function")
|
|
26812
26809
|
throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e);
|
|
26813
26810
|
}
|
|
@@ -26863,7 +26860,7 @@ mt.prototype.emit = function(t) {
|
|
|
26863
26860
|
};
|
|
26864
26861
|
function Qb(e, t, r, n) {
|
|
26865
26862
|
var i, o, a;
|
|
26866
|
-
if (
|
|
26863
|
+
if (Gc(r), o = e._events, o === void 0 ? (o = e._events = /* @__PURE__ */ Object.create(null), e._eventsCount = 0) : (o.newListener !== void 0 && (e.emit(
|
|
26867
26864
|
"newListener",
|
|
26868
26865
|
t,
|
|
26869
26866
|
r.listener ? r.listener : r
|
|
@@ -26892,14 +26889,14 @@ function e1(e, t, r) {
|
|
|
26892
26889
|
return i.listener = r, n.wrapFn = i, i;
|
|
26893
26890
|
}
|
|
26894
26891
|
mt.prototype.once = function(t, r) {
|
|
26895
|
-
return
|
|
26892
|
+
return Gc(r), this.on(t, e1(this, t, r)), this;
|
|
26896
26893
|
};
|
|
26897
26894
|
mt.prototype.prependOnceListener = function(t, r) {
|
|
26898
|
-
return
|
|
26895
|
+
return Gc(r), this.prependListener(t, e1(this, t, r)), this;
|
|
26899
26896
|
};
|
|
26900
26897
|
mt.prototype.removeListener = function(t, r) {
|
|
26901
26898
|
var n, i, o, a, s;
|
|
26902
|
-
if (
|
|
26899
|
+
if (Gc(r), i = this._events, i === void 0)
|
|
26903
26900
|
return this;
|
|
26904
26901
|
if (n = i[t], n === void 0)
|
|
26905
26902
|
return this;
|
|
@@ -27012,10 +27009,10 @@ const I7 = {}, P7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
27012
27009
|
__proto__: null,
|
|
27013
27010
|
default: I7
|
|
27014
27011
|
}, Symbol.toStringTag, { value: "Module" })), s1 = /* @__PURE__ */ Qw(P7);
|
|
27015
|
-
var
|
|
27012
|
+
var ru, _g;
|
|
27016
27013
|
function R7() {
|
|
27017
27014
|
if (_g)
|
|
27018
|
-
return
|
|
27015
|
+
return ru;
|
|
27019
27016
|
_g = 1;
|
|
27020
27017
|
function e(p, g) {
|
|
27021
27018
|
var v = Object.keys(p);
|
|
@@ -27058,7 +27055,7 @@ function R7() {
|
|
|
27058
27055
|
function d(p, g, v) {
|
|
27059
27056
|
s.prototype.copy.call(p, g, v);
|
|
27060
27057
|
}
|
|
27061
|
-
return
|
|
27058
|
+
return ru = /* @__PURE__ */ function() {
|
|
27062
27059
|
function p() {
|
|
27063
27060
|
n(this, p), this.head = null, this.tail = null, this.length = 0;
|
|
27064
27061
|
}
|
|
@@ -27165,16 +27162,16 @@ function R7() {
|
|
|
27165
27162
|
}));
|
|
27166
27163
|
}
|
|
27167
27164
|
}]), p;
|
|
27168
|
-
}(),
|
|
27165
|
+
}(), ru;
|
|
27169
27166
|
}
|
|
27170
27167
|
function k7(e, t) {
|
|
27171
27168
|
var r = this, n = this._readableState && this._readableState.destroyed, i = this._writableState && this._writableState.destroyed;
|
|
27172
|
-
return n || i ? (t ? t(e) : e && (this._writableState ? this._writableState.errorEmitted || (this._writableState.errorEmitted = !0, process.nextTick(
|
|
27169
|
+
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) {
|
|
27173
27170
|
!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);
|
|
27174
27171
|
}), this);
|
|
27175
27172
|
}
|
|
27176
27173
|
function Eg(e, t) {
|
|
27177
|
-
|
|
27174
|
+
nf(e, t), Cs(e);
|
|
27178
27175
|
}
|
|
27179
27176
|
function Cs(e) {
|
|
27180
27177
|
e._writableState && !e._writableState.emitClose || e._readableState && !e._readableState.emitClose || e.emit("close");
|
|
@@ -27182,7 +27179,7 @@ function Cs(e) {
|
|
|
27182
27179
|
function N7() {
|
|
27183
27180
|
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);
|
|
27184
27181
|
}
|
|
27185
|
-
function
|
|
27182
|
+
function nf(e, t) {
|
|
27186
27183
|
e.emit("error", t);
|
|
27187
27184
|
}
|
|
27188
27185
|
function D7(e, t) {
|
|
@@ -27279,8 +27276,8 @@ function W7(e, t, r, n) {
|
|
|
27279
27276
|
}
|
|
27280
27277
|
var u1 = {
|
|
27281
27278
|
getHighWaterMark: W7
|
|
27282
|
-
},
|
|
27283
|
-
typeof Object.create == "function" ?
|
|
27279
|
+
}, of = { exports: {} };
|
|
27280
|
+
typeof Object.create == "function" ? of.exports = function(t, r) {
|
|
27284
27281
|
r && (t.super_ = r, t.prototype = Object.create(r.prototype, {
|
|
27285
27282
|
constructor: {
|
|
27286
27283
|
value: t,
|
|
@@ -27289,7 +27286,7 @@ typeof Object.create == "function" ? nf.exports = function(t, r) {
|
|
|
27289
27286
|
configurable: !0
|
|
27290
27287
|
}
|
|
27291
27288
|
}));
|
|
27292
|
-
} :
|
|
27289
|
+
} : of.exports = function(t, r) {
|
|
27293
27290
|
if (r) {
|
|
27294
27291
|
t.super_ = r;
|
|
27295
27292
|
var n = function() {
|
|
@@ -27297,22 +27294,22 @@ typeof Object.create == "function" ? nf.exports = function(t, r) {
|
|
|
27297
27294
|
n.prototype = r.prototype, t.prototype = new n(), t.prototype.constructor = t;
|
|
27298
27295
|
}
|
|
27299
27296
|
};
|
|
27300
|
-
var Da =
|
|
27297
|
+
var Da = of.exports, z7 = H7;
|
|
27301
27298
|
function H7(e, t) {
|
|
27302
|
-
if (
|
|
27299
|
+
if (nu("noDeprecation"))
|
|
27303
27300
|
return e;
|
|
27304
27301
|
var r = !1;
|
|
27305
27302
|
function n() {
|
|
27306
27303
|
if (!r) {
|
|
27307
|
-
if (
|
|
27304
|
+
if (nu("throwDeprecation"))
|
|
27308
27305
|
throw new Error(t);
|
|
27309
|
-
|
|
27306
|
+
nu("traceDeprecation") ? console.trace(t) : console.warn(t), r = !0;
|
|
27310
27307
|
}
|
|
27311
27308
|
return e.apply(this, arguments);
|
|
27312
27309
|
}
|
|
27313
27310
|
return n;
|
|
27314
27311
|
}
|
|
27315
|
-
function
|
|
27312
|
+
function nu(e) {
|
|
27316
27313
|
try {
|
|
27317
27314
|
if (!it.localStorage)
|
|
27318
27315
|
return !1;
|
|
@@ -27322,11 +27319,11 @@ function ru(e) {
|
|
|
27322
27319
|
var t = it.localStorage[e];
|
|
27323
27320
|
return t == null ? !1 : String(t).toLowerCase() === "true";
|
|
27324
27321
|
}
|
|
27325
|
-
var
|
|
27322
|
+
var iu, Sg;
|
|
27326
27323
|
function f1() {
|
|
27327
27324
|
if (Sg)
|
|
27328
|
-
return
|
|
27329
|
-
Sg = 1,
|
|
27325
|
+
return iu;
|
|
27326
|
+
Sg = 1, iu = T;
|
|
27330
27327
|
function e(H) {
|
|
27331
27328
|
var G = this;
|
|
27332
27329
|
this.next = null, this.entry = null, this.finish = function() {
|
|
@@ -27552,12 +27549,12 @@ function f1() {
|
|
|
27552
27549
|
}
|
|
27553
27550
|
}), T.prototype.destroy = c.destroy, T.prototype._undestroy = c.undestroy, T.prototype._destroy = function(H, G) {
|
|
27554
27551
|
G(H);
|
|
27555
|
-
},
|
|
27552
|
+
}, iu;
|
|
27556
27553
|
}
|
|
27557
|
-
var
|
|
27554
|
+
var ou, $g;
|
|
27558
27555
|
function ho() {
|
|
27559
27556
|
if ($g)
|
|
27560
|
-
return
|
|
27557
|
+
return ou;
|
|
27561
27558
|
$g = 1;
|
|
27562
27559
|
var e = Object.keys || function(l) {
|
|
27563
27560
|
var f = [];
|
|
@@ -27565,7 +27562,7 @@ function ho() {
|
|
|
27565
27562
|
f.push(d);
|
|
27566
27563
|
return f;
|
|
27567
27564
|
};
|
|
27568
|
-
|
|
27565
|
+
ou = a;
|
|
27569
27566
|
var t = p1(), r = f1();
|
|
27570
27567
|
Da(a, t);
|
|
27571
27568
|
for (var n = e(r.prototype), i = 0; i < n.length; i++) {
|
|
@@ -27619,12 +27616,12 @@ function ho() {
|
|
|
27619
27616
|
set: function(f) {
|
|
27620
27617
|
this._readableState === void 0 || this._writableState === void 0 || (this._readableState.destroyed = f, this._writableState.destroyed = f);
|
|
27621
27618
|
}
|
|
27622
|
-
}),
|
|
27619
|
+
}), ou;
|
|
27623
27620
|
}
|
|
27624
|
-
var
|
|
27621
|
+
var au = {}, Cg;
|
|
27625
27622
|
function Ag() {
|
|
27626
27623
|
if (Cg)
|
|
27627
|
-
return
|
|
27624
|
+
return au;
|
|
27628
27625
|
Cg = 1;
|
|
27629
27626
|
var e = Bb.Buffer, t = e.isEncoding || function(w) {
|
|
27630
27627
|
switch (w = "" + w, w && w.toLowerCase()) {
|
|
@@ -27676,7 +27673,7 @@ function Ag() {
|
|
|
27676
27673
|
throw new Error("Unknown encoding: " + w);
|
|
27677
27674
|
return _ || w;
|
|
27678
27675
|
}
|
|
27679
|
-
|
|
27676
|
+
au.StringDecoder = i;
|
|
27680
27677
|
function i(w) {
|
|
27681
27678
|
this.encoding = n(w);
|
|
27682
27679
|
var _;
|
|
@@ -27786,7 +27783,7 @@ function Ag() {
|
|
|
27786
27783
|
function b(w) {
|
|
27787
27784
|
return w && w.length ? this.write(w) : "";
|
|
27788
27785
|
}
|
|
27789
|
-
return
|
|
27786
|
+
return au;
|
|
27790
27787
|
}
|
|
27791
27788
|
var Og = wi.codes.ERR_STREAM_PREMATURE_CLOSE;
|
|
27792
27789
|
function V7(e) {
|
|
@@ -27830,10 +27827,10 @@ function d1(e, t, r) {
|
|
|
27830
27827
|
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);
|
|
27831
27828
|
};
|
|
27832
27829
|
}
|
|
27833
|
-
var Md = d1,
|
|
27830
|
+
var Md = d1, su, Tg;
|
|
27834
27831
|
function q7() {
|
|
27835
27832
|
if (Tg)
|
|
27836
|
-
return
|
|
27833
|
+
return su;
|
|
27837
27834
|
Tg = 1;
|
|
27838
27835
|
var e;
|
|
27839
27836
|
function t(w, _, S) {
|
|
@@ -27941,19 +27938,19 @@ function q7() {
|
|
|
27941
27938
|
C !== null && ($[s] = null, $[n] = null, $[i] = null, C(f(void 0, !0))), $[a] = !0;
|
|
27942
27939
|
}), _.on("readable", p.bind(null, $)), $;
|
|
27943
27940
|
};
|
|
27944
|
-
return
|
|
27941
|
+
return su = b, su;
|
|
27945
27942
|
}
|
|
27946
|
-
var
|
|
27943
|
+
var cu, Ig;
|
|
27947
27944
|
function Y7() {
|
|
27948
|
-
return Ig || (Ig = 1,
|
|
27945
|
+
return Ig || (Ig = 1, cu = function() {
|
|
27949
27946
|
throw new Error("Readable.from is not available in the browser");
|
|
27950
|
-
}),
|
|
27947
|
+
}), cu;
|
|
27951
27948
|
}
|
|
27952
|
-
var
|
|
27949
|
+
var lu, Pg;
|
|
27953
27950
|
function p1() {
|
|
27954
27951
|
if (Pg)
|
|
27955
|
-
return
|
|
27956
|
-
Pg = 1,
|
|
27952
|
+
return lu;
|
|
27953
|
+
Pg = 1, lu = N;
|
|
27957
27954
|
var e;
|
|
27958
27955
|
N.ReadableState = T, o1.EventEmitter;
|
|
27959
27956
|
var t = function(k, Q) {
|
|
@@ -28294,10 +28291,10 @@ function p1() {
|
|
|
28294
28291
|
return Q;
|
|
28295
28292
|
return -1;
|
|
28296
28293
|
}
|
|
28297
|
-
return
|
|
28294
|
+
return lu;
|
|
28298
28295
|
}
|
|
28299
|
-
var h1 = dn,
|
|
28300
|
-
Da(dn,
|
|
28296
|
+
var h1 = dn, Kc = wi.codes, J7 = Kc.ERR_METHOD_NOT_IMPLEMENTED, X7 = Kc.ERR_MULTIPLE_CALLBACK, Z7 = Kc.ERR_TRANSFORM_ALREADY_TRANSFORMING, Q7 = Kc.ERR_TRANSFORM_WITH_LENGTH_0, qc = ho();
|
|
28297
|
+
Da(dn, qc);
|
|
28301
28298
|
function eL(e, t) {
|
|
28302
28299
|
var r = this._transformState;
|
|
28303
28300
|
r.transforming = !1;
|
|
@@ -28311,7 +28308,7 @@ function eL(e, t) {
|
|
|
28311
28308
|
function dn(e) {
|
|
28312
28309
|
if (!(this instanceof dn))
|
|
28313
28310
|
return new dn(e);
|
|
28314
|
-
|
|
28311
|
+
qc.call(this, e), this._transformState = {
|
|
28315
28312
|
afterTransform: eL.bind(this),
|
|
28316
28313
|
needTransform: !1,
|
|
28317
28314
|
transforming: !1,
|
|
@@ -28327,7 +28324,7 @@ function tL() {
|
|
|
28327
28324
|
}) : Rg(this, null, null);
|
|
28328
28325
|
}
|
|
28329
28326
|
dn.prototype.push = function(e, t) {
|
|
28330
|
-
return this._transformState.needTransform = !1,
|
|
28327
|
+
return this._transformState.needTransform = !1, qc.prototype.push.call(this, e, t);
|
|
28331
28328
|
};
|
|
28332
28329
|
dn.prototype._transform = function(e, t, r) {
|
|
28333
28330
|
r(new J7("_transform()"));
|
|
@@ -28344,7 +28341,7 @@ dn.prototype._read = function(e) {
|
|
|
28344
28341
|
t.writechunk !== null && !t.transforming ? (t.transforming = !0, this._transform(t.writechunk, t.writeencoding, t.afterTransform)) : t.needTransform = !0;
|
|
28345
28342
|
};
|
|
28346
28343
|
dn.prototype._destroy = function(e, t) {
|
|
28347
|
-
|
|
28344
|
+
qc.prototype._destroy.call(this, e, function(r) {
|
|
28348
28345
|
t(r);
|
|
28349
28346
|
});
|
|
28350
28347
|
};
|
|
@@ -28367,7 +28364,7 @@ function Ea(e) {
|
|
|
28367
28364
|
Ea.prototype._transform = function(e, t, r) {
|
|
28368
28365
|
r(null, e);
|
|
28369
28366
|
};
|
|
28370
|
-
var
|
|
28367
|
+
var uu;
|
|
28371
28368
|
function nL(e) {
|
|
28372
28369
|
var t = !1;
|
|
28373
28370
|
return function() {
|
|
@@ -28387,7 +28384,7 @@ function sL(e, t, r, n) {
|
|
|
28387
28384
|
var i = !1;
|
|
28388
28385
|
e.on("close", function() {
|
|
28389
28386
|
i = !0;
|
|
28390
|
-
}),
|
|
28387
|
+
}), uu === void 0 && (uu = Md), uu(e, {
|
|
28391
28388
|
readable: t,
|
|
28392
28389
|
writable: r
|
|
28393
28390
|
}, function(a) {
|
|
@@ -28723,7 +28720,7 @@ const bL = /* @__PURE__ */ new Map([
|
|
|
28723
28720
|
[$e.State.AUTHENTICATING, 4],
|
|
28724
28721
|
[$e.State.SUCCESS, 5]
|
|
28725
28722
|
]);
|
|
28726
|
-
var b1 = 9007199254740991, wL = "[object Arguments]", _L = "[object Function]", EL = "[object GeneratorFunction]",
|
|
28723
|
+
var b1 = 9007199254740991, wL = "[object Arguments]", _L = "[object Function]", EL = "[object GeneratorFunction]", af = "[object Map]", xL = "[object Object]", Mg = "[object Promise]", sf = "[object Set]", SL = "[object String]", Fg = "[object WeakMap]", Bg = "[object DataView]", $L = /[\\^$.*+?()[\]{}|]/g, CL = /^\[object .+?Constructor\]$/, AL = /^(?:0|[1-9]\d*)$/, Bd = "\\ud800-\\udfff", w1 = "\\u0300-\\u036f\\ufe20-\\ufe23", _1 = "\\u20d0-\\u20f0", E1 = "\\ufe0e\\ufe0f", OL = "[" + Bd + "]", cf = "[" + w1 + _1 + "]", lf = "\\ud83c[\\udffb-\\udfff]", TL = "(?:" + cf + "|" + lf + ")", x1 = "[^" + Bd + "]", S1 = "(?:\\ud83c[\\udde6-\\uddff]){2}", $1 = "[\\ud800-\\udbff][\\udc00-\\udfff]", C1 = "\\u200d", A1 = TL + "?", O1 = "[" + E1 + "]?", IL = "(?:" + C1 + "(?:" + [x1, S1, $1].join("|") + ")" + O1 + A1 + ")*", PL = O1 + A1 + IL, RL = "(?:" + [x1 + cf + "?", cf, S1, $1, OL].join("|") + ")", kL = RegExp(lf + "(?=" + lf + ")|" + RL + PL, "g"), NL = RegExp("[" + C1 + Bd + w1 + _1 + E1 + "]"), DL = typeof it == "object" && it && it.Object === Object && it, LL = typeof self == "object" && self && self.Object === Object && self, _i = DL || LL || Function("return this")();
|
|
28727
28724
|
function ML(e, t) {
|
|
28728
28725
|
for (var r = -1, n = e ? e.length : 0, i = Array(n); ++r < n; )
|
|
28729
28726
|
i[r] = t(e[r], r, e);
|
|
@@ -28785,16 +28782,16 @@ function qL(e) {
|
|
|
28785
28782
|
function YL(e) {
|
|
28786
28783
|
return e.match(kL) || [];
|
|
28787
28784
|
}
|
|
28788
|
-
var JL = Function.prototype,
|
|
28789
|
-
var e = /[^.]+$/.exec(
|
|
28785
|
+
var JL = Function.prototype, Yc = Object.prototype, fu = _i["__core-js_shared__"], jg = function() {
|
|
28786
|
+
var e = /[^.]+$/.exec(fu && fu.keys && fu.keys.IE_PROTO || "");
|
|
28790
28787
|
return e ? "Symbol(src)_1." + e : "";
|
|
28791
|
-
}(), T1 = JL.toString,
|
|
28792
|
-
"^" + T1.call(
|
|
28793
|
-
), Ug = _i.Symbol,
|
|
28788
|
+
}(), T1 = JL.toString, Jc = Yc.hasOwnProperty, La = Yc.toString, XL = RegExp(
|
|
28789
|
+
"^" + T1.call(Jc).replace($L, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
28790
|
+
), Ug = _i.Symbol, du = Ug ? Ug.iterator : void 0, ZL = Yc.propertyIsEnumerable, QL = GL(Object.keys, Object), uf = Ma(_i, "DataView"), ff = Ma(_i, "Map"), df = Ma(_i, "Promise"), pf = Ma(_i, "Set"), hf = Ma(_i, "WeakMap"), eM = Ei(uf), tM = Ei(ff), rM = Ei(df), nM = Ei(pf), iM = Ei(hf);
|
|
28794
28791
|
function oM(e, t) {
|
|
28795
28792
|
var r = I1(e) || pM(e) ? BL(e.length, String) : [], n = r.length, i = !!n;
|
|
28796
28793
|
for (var o in e)
|
|
28797
|
-
(t ||
|
|
28794
|
+
(t || Jc.call(e, o)) && !(i && (o == "length" || uM(o, n))) && r.push(o);
|
|
28798
28795
|
return r;
|
|
28799
28796
|
}
|
|
28800
28797
|
function aM(e) {
|
|
@@ -28811,7 +28808,7 @@ function cM(e) {
|
|
|
28811
28808
|
return QL(e);
|
|
28812
28809
|
var t = [];
|
|
28813
28810
|
for (var r in Object(e))
|
|
28814
|
-
|
|
28811
|
+
Jc.call(e, r) && r != "constructor" && t.push(r);
|
|
28815
28812
|
return t;
|
|
28816
28813
|
}
|
|
28817
28814
|
function lM(e, t) {
|
|
@@ -28825,18 +28822,18 @@ function Ma(e, t) {
|
|
|
28825
28822
|
return sM(r) ? r : void 0;
|
|
28826
28823
|
}
|
|
28827
28824
|
var ti = aM;
|
|
28828
|
-
(
|
|
28825
|
+
(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) {
|
|
28829
28826
|
var t = La.call(e), r = t == xL ? e.constructor : void 0, n = r ? Ei(r) : void 0;
|
|
28830
28827
|
if (n)
|
|
28831
28828
|
switch (n) {
|
|
28832
28829
|
case eM:
|
|
28833
28830
|
return Bg;
|
|
28834
28831
|
case tM:
|
|
28835
|
-
return
|
|
28832
|
+
return af;
|
|
28836
28833
|
case rM:
|
|
28837
28834
|
return Mg;
|
|
28838
28835
|
case nM:
|
|
28839
|
-
return
|
|
28836
|
+
return sf;
|
|
28840
28837
|
case iM:
|
|
28841
28838
|
return Fg;
|
|
28842
28839
|
}
|
|
@@ -28849,7 +28846,7 @@ function fM(e) {
|
|
|
28849
28846
|
return !!jg && jg in e;
|
|
28850
28847
|
}
|
|
28851
28848
|
function dM(e) {
|
|
28852
|
-
var t = e && e.constructor, r = typeof t == "function" && t.prototype ||
|
|
28849
|
+
var t = e && e.constructor, r = typeof t == "function" && t.prototype || Yc;
|
|
28853
28850
|
return e === r;
|
|
28854
28851
|
}
|
|
28855
28852
|
function Ei(e) {
|
|
@@ -28866,7 +28863,7 @@ function Ei(e) {
|
|
|
28866
28863
|
return "";
|
|
28867
28864
|
}
|
|
28868
28865
|
function pM(e) {
|
|
28869
|
-
return hM(e) &&
|
|
28866
|
+
return hM(e) && Jc.call(e, "callee") && (!ZL.call(e, "callee") || La.call(e) == wL);
|
|
28870
28867
|
}
|
|
28871
28868
|
var I1 = Array.isArray;
|
|
28872
28869
|
function jd(e) {
|
|
@@ -28897,9 +28894,9 @@ function mM(e) {
|
|
|
28897
28894
|
return [];
|
|
28898
28895
|
if (jd(e))
|
|
28899
28896
|
return vM(e) ? qL(e) : lM(e);
|
|
28900
|
-
if (
|
|
28901
|
-
return HL(e[
|
|
28902
|
-
var t = ti(e), r = t ==
|
|
28897
|
+
if (du && e[du])
|
|
28898
|
+
return HL(e[du]());
|
|
28899
|
+
var t = ti(e), r = t == af ? VL : t == sf ? KL : bM;
|
|
28903
28900
|
return r(e);
|
|
28904
28901
|
}
|
|
28905
28902
|
function yM(e) {
|
|
@@ -28994,7 +28991,7 @@ const _M = /* @__PURE__ */ Un(wM), Wg = _M(
|
|
|
28994
28991
|
$e.State.AUTHENTICATING,
|
|
28995
28992
|
$e.State.SUCCESS
|
|
28996
28993
|
].includes(s), $ = _ ? "error" : S ? "active" : "inactive";
|
|
28997
|
-
return /* @__PURE__ */ x.createElement(
|
|
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(xM, { 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(
|
|
28998
28995
|
Or,
|
|
28999
28996
|
{
|
|
29000
28997
|
variant: "ghost",
|
|
@@ -29006,7 +29003,7 @@ const _M = /* @__PURE__ */ Un(wM), Wg = _M(
|
|
|
29006
29003
|
), /* @__PURE__ */ x.createElement(xk, { 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" })));
|
|
29007
29004
|
}, $M = ({ invitations: e, send: t, ...r }) => {
|
|
29008
29005
|
const { className: n, InvitationListItem: i = EM } = r;
|
|
29009
|
-
return /* @__PURE__ */ x.createElement(
|
|
29006
|
+
return /* @__PURE__ */ x.createElement(Zf, { classNames: de("flex flex-col gap-2", n) }, e.map((o) => {
|
|
29010
29007
|
const a = o.get().invitationId;
|
|
29011
29008
|
return /* @__PURE__ */ x.createElement(i, { key: a, send: t, invitation: o, ...r });
|
|
29012
29009
|
}));
|
|
@@ -29095,7 +29092,7 @@ const _M = /* @__PURE__ */ Un(wM), Wg = _M(
|
|
|
29095
29092
|
/* @__PURE__ */ x.createElement(pa, { weight: "bold", className: Qe(4) }),
|
|
29096
29093
|
/* @__PURE__ */ x.createElement("span", { className: "sr-only" }, r("exit label"))
|
|
29097
29094
|
);
|
|
29098
|
-
},
|
|
29095
|
+
}, gf = ({ text: e, className: t }) => /* @__PURE__ */ x.createElement("div", { role: "none", className: de(Qe(14), "rounded relative pointer-events-none", t) }, /* @__PURE__ */ x.createElement("svg", { viewBox: `0 0 ${14 * 4} ${14 * 4}`, width: 14 * 4, height: 14 * 4 }, /* @__PURE__ */ x.createElement(
|
|
29099
29096
|
"text",
|
|
29100
29097
|
{
|
|
29101
29098
|
x: "50%",
|
|
@@ -29285,13 +29282,13 @@ function eF(e) {
|
|
|
29285
29282
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
29286
29283
|
* Licensed under the MIT License.
|
|
29287
29284
|
*/
|
|
29288
|
-
let
|
|
29285
|
+
let vf, tF = 0;
|
|
29289
29286
|
try {
|
|
29290
|
-
document.createTreeWalker(document, NodeFilter.SHOW_ELEMENT),
|
|
29287
|
+
document.createTreeWalker(document, NodeFilter.SHOW_ELEMENT), vf = !1;
|
|
29291
29288
|
} catch {
|
|
29292
|
-
|
|
29289
|
+
vf = !0;
|
|
29293
29290
|
}
|
|
29294
|
-
const
|
|
29291
|
+
const pu = 100;
|
|
29295
29292
|
function xi(e) {
|
|
29296
29293
|
const t = e();
|
|
29297
29294
|
let r = t.__tabsterInstanceContext;
|
|
@@ -29361,7 +29358,7 @@ function oF(e) {
|
|
|
29361
29358
|
function W1(e, t, r) {
|
|
29362
29359
|
if (t.nodeType !== Node.ELEMENT_NODE)
|
|
29363
29360
|
return;
|
|
29364
|
-
const n =
|
|
29361
|
+
const n = vf ? r : {
|
|
29365
29362
|
acceptNode: r
|
|
29366
29363
|
};
|
|
29367
29364
|
return We.createTreeWalker(
|
|
@@ -29491,7 +29488,7 @@ const pF = {
|
|
|
29491
29488
|
Mover: 3,
|
|
29492
29489
|
Groupper: 4
|
|
29493
29490
|
};
|
|
29494
|
-
class
|
|
29491
|
+
class mf {
|
|
29495
29492
|
constructor(t, r, n, i, o, a) {
|
|
29496
29493
|
this._element = r, this._instance = new gF(t, r, this, n, i, o, a);
|
|
29497
29494
|
}
|
|
@@ -29579,7 +29576,7 @@ class hF {
|
|
|
29579
29576
|
}
|
|
29580
29577
|
}
|
|
29581
29578
|
this._changedParents = /* @__PURE__ */ new WeakSet();
|
|
29582
|
-
},
|
|
29579
|
+
}, pu)));
|
|
29583
29580
|
}, this._win = t;
|
|
29584
29581
|
}
|
|
29585
29582
|
add(t, r) {
|
|
@@ -29602,7 +29599,7 @@ class hF {
|
|
|
29602
29599
|
_scheduledUpdatePositions() {
|
|
29603
29600
|
var t;
|
|
29604
29601
|
this._updateTimer || (this._updateTimer = (t = this._win) === null || t === void 0 ? void 0 : t.call(this).setTimeout(() => {
|
|
29605
|
-
if (delete this._updateTimer, this._lastUpdateQueueTime +
|
|
29602
|
+
if (delete this._updateTimer, this._lastUpdateQueueTime + pu <= Date.now()) {
|
|
29606
29603
|
const r = /* @__PURE__ */ new Map(), n = [];
|
|
29607
29604
|
for (const i of this._updateQueue)
|
|
29608
29605
|
n.push(i(r));
|
|
@@ -29612,7 +29609,7 @@ class hF {
|
|
|
29612
29609
|
r.clear();
|
|
29613
29610
|
} else
|
|
29614
29611
|
this._scheduledUpdatePositions();
|
|
29615
|
-
},
|
|
29612
|
+
}, pu));
|
|
29616
29613
|
}
|
|
29617
29614
|
}
|
|
29618
29615
|
class gF {
|
|
@@ -29808,7 +29805,7 @@ function Vg(e, t, r) {
|
|
|
29808
29805
|
n && (t ? n.style.removeProperty("--tabster-root") : n.style.setProperty("--tabster-root", r + ","));
|
|
29809
29806
|
}
|
|
29810
29807
|
}
|
|
29811
|
-
class Gg extends
|
|
29808
|
+
class Gg extends mf {
|
|
29812
29809
|
constructor(t, r, n, i) {
|
|
29813
29810
|
super(t, r, pF.Root, i, void 0, !0), this._onDummyInputFocus = (o) => {
|
|
29814
29811
|
var a;
|
|
@@ -30266,7 +30263,7 @@ class Ut extends V1 {
|
|
|
30266
30263
|
if (s.uncontrolled || We.nodeContains(g, i)) {
|
|
30267
30264
|
if (!l.outOfDOMOrder && g === s.uncontrolled || p && !We.nodeContains(p, d))
|
|
30268
30265
|
return;
|
|
30269
|
-
|
|
30266
|
+
mf.addPhantomDummyWithTarget(o, i, c, d);
|
|
30270
30267
|
return;
|
|
30271
30268
|
}
|
|
30272
30269
|
if (g || d.tagName === "IFRAME") {
|
|
@@ -30275,7 +30272,7 @@ class Ut extends V1 {
|
|
|
30275
30272
|
owner: f,
|
|
30276
30273
|
next: d,
|
|
30277
30274
|
relatedEvent: n
|
|
30278
|
-
}) &&
|
|
30275
|
+
}) && mf.moveWithPhantomDummy(this._tabster, g ?? d, !1, c, n);
|
|
30279
30276
|
return;
|
|
30280
30277
|
}
|
|
30281
30278
|
(a || l != null && l.outOfDOMOrder) && fa({
|
|
@@ -30753,7 +30750,7 @@ const J1 = ({ classNames: e, children: t, ...r }) => {
|
|
|
30753
30750
|
J1.displayName = BF;
|
|
30754
30751
|
const X1 = ne(
|
|
30755
30752
|
({ __viewportScope: e, classNames: t, children: r, id: n, ...i }, o) => {
|
|
30756
|
-
const { activeView: a, focusManaged: s } = WF(q1, e), c = n === a, l =
|
|
30753
|
+
const { activeView: a, focusManaged: s } = WF(q1, e), c = n === a, l = Pf(o), { findFirstFocusable: f } = FF();
|
|
30757
30754
|
return _e(() => {
|
|
30758
30755
|
var d;
|
|
30759
30756
|
!s && c && document.body.hasAttribute("data-is-keyboard") && l.current && ((d = f(l.current)) == null || d.focus());
|
|
@@ -30786,7 +30783,7 @@ ne(
|
|
|
30786
30783
|
);
|
|
30787
30784
|
}
|
|
30788
30785
|
);
|
|
30789
|
-
var
|
|
30786
|
+
var yf = { exports: {} }, hu = {}, ds = { exports: {} }, gu = {};
|
|
30790
30787
|
/**
|
|
30791
30788
|
* @license React
|
|
30792
30789
|
* use-sync-external-store-shim.production.min.js
|
|
@@ -30799,7 +30796,7 @@ var mf = { exports: {} }, pu = {}, ds = { exports: {} }, hu = {};
|
|
|
30799
30796
|
var Kg;
|
|
30800
30797
|
function zF() {
|
|
30801
30798
|
if (Kg)
|
|
30802
|
-
return
|
|
30799
|
+
return gu;
|
|
30803
30800
|
Kg = 1;
|
|
30804
30801
|
var e = x;
|
|
30805
30802
|
function t(d, p) {
|
|
@@ -30830,9 +30827,9 @@ function zF() {
|
|
|
30830
30827
|
return p();
|
|
30831
30828
|
}
|
|
30832
30829
|
var f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? l : s;
|
|
30833
|
-
return
|
|
30830
|
+
return gu.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : f, gu;
|
|
30834
30831
|
}
|
|
30835
|
-
var
|
|
30832
|
+
var vu = {};
|
|
30836
30833
|
/**
|
|
30837
30834
|
* @license React
|
|
30838
30835
|
* use-sync-external-store-shim.development.js
|
|
@@ -30910,8 +30907,8 @@ function HF() {
|
|
|
30910
30907
|
return $();
|
|
30911
30908
|
}
|
|
30912
30909
|
var m = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", b = !m, w = b ? v : p, _ = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : w;
|
|
30913
|
-
|
|
30914
|
-
}()),
|
|
30910
|
+
vu.useSyncExternalStore = _, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
30911
|
+
}()), vu;
|
|
30915
30912
|
}
|
|
30916
30913
|
var Yg;
|
|
30917
30914
|
function Z1() {
|
|
@@ -30929,14 +30926,14 @@ function Z1() {
|
|
|
30929
30926
|
var Jg;
|
|
30930
30927
|
function VF() {
|
|
30931
30928
|
if (Jg)
|
|
30932
|
-
return
|
|
30929
|
+
return hu;
|
|
30933
30930
|
Jg = 1;
|
|
30934
30931
|
var e = x, t = Z1();
|
|
30935
30932
|
function r(l, f) {
|
|
30936
30933
|
return l === f && (l !== 0 || 1 / l === 1 / f) || l !== l && f !== f;
|
|
30937
30934
|
}
|
|
30938
30935
|
var n = typeof Object.is == "function" ? Object.is : r, i = t.useSyncExternalStore, o = e.useRef, a = e.useEffect, s = e.useMemo, c = e.useDebugValue;
|
|
30939
|
-
return
|
|
30936
|
+
return hu.useSyncExternalStoreWithSelector = function(l, f, d, p, g) {
|
|
30940
30937
|
var v = o(null);
|
|
30941
30938
|
if (v.current === null) {
|
|
30942
30939
|
var m = { hasValue: !1, value: null };
|
|
@@ -30969,9 +30966,9 @@ function VF() {
|
|
|
30969
30966
|
return a(function() {
|
|
30970
30967
|
m.hasValue = !0, m.value = b;
|
|
30971
30968
|
}, [b]), c(b), b;
|
|
30972
|
-
},
|
|
30969
|
+
}, hu;
|
|
30973
30970
|
}
|
|
30974
|
-
var
|
|
30971
|
+
var mu = {};
|
|
30975
30972
|
/**
|
|
30976
30973
|
* @license React
|
|
30977
30974
|
* use-sync-external-store-shim/with-selector.development.js
|
|
@@ -31024,11 +31021,11 @@ function GF() {
|
|
|
31024
31021
|
b.hasValue = !0, b.value = $;
|
|
31025
31022
|
}, [$]), c($), $;
|
|
31026
31023
|
}
|
|
31027
|
-
|
|
31028
|
-
}()),
|
|
31024
|
+
mu.useSyncExternalStoreWithSelector = l, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
31025
|
+
}()), mu;
|
|
31029
31026
|
}
|
|
31030
|
-
process.env.NODE_ENV === "production" ?
|
|
31031
|
-
var KF =
|
|
31027
|
+
process.env.NODE_ENV === "production" ? yf.exports = VF() : yf.exports = GF();
|
|
31028
|
+
var KF = yf.exports;
|
|
31032
31029
|
/*! *****************************************************************************
|
|
31033
31030
|
Copyright (c) Microsoft Corporation.
|
|
31034
31031
|
|
|
@@ -31108,12 +31105,12 @@ var go;
|
|
|
31108
31105
|
(function(e) {
|
|
31109
31106
|
e.Parent = "#_parent", e.Internal = "#_internal";
|
|
31110
31107
|
})(go || (go = {}));
|
|
31111
|
-
var
|
|
31108
|
+
var bf = yt.Start, Gd = yt.Stop, Ba = yt.Raise, Xc = yt.Send, Q1 = yt.Cancel, qF = yt.NullEvent, Kd = yt.Assign;
|
|
31112
31109
|
yt.After;
|
|
31113
31110
|
yt.DoneState;
|
|
31114
|
-
var ew = yt.Log, YF = yt.Init,
|
|
31111
|
+
var ew = yt.Log, YF = yt.Init, wf = yt.Invoke;
|
|
31115
31112
|
yt.ErrorExecution;
|
|
31116
|
-
var Zg = yt.ErrorPlatform, JF = yt.ErrorCustom, tw = yt.Update, XF = yt.Choose, ZF = yt.Pure, rw = ".", Qg = {},
|
|
31113
|
+
var Zg = yt.ErrorPlatform, JF = yt.ErrorCustom, tw = yt.Update, XF = yt.Choose, ZF = yt.Pure, rw = ".", Qg = {}, _f = "xstate.guard", QF = "", Rt = process.env.NODE_ENV === "production", ps;
|
|
31117
31114
|
function qd(e, t, r) {
|
|
31118
31115
|
r === void 0 && (r = rw);
|
|
31119
31116
|
var n = da(e, r), i = da(t, r);
|
|
@@ -31128,7 +31125,7 @@ function nw(e) {
|
|
|
31128
31125
|
throw new Error("Events must be strings or objects with a string event.type property.");
|
|
31129
31126
|
}
|
|
31130
31127
|
}
|
|
31131
|
-
function
|
|
31128
|
+
function Ef(e, t) {
|
|
31132
31129
|
try {
|
|
31133
31130
|
return Io(e) ? e : e.toString().split(t);
|
|
31134
31131
|
} catch {
|
|
@@ -31145,7 +31142,7 @@ function da(e, t) {
|
|
|
31145
31142
|
return ec(e);
|
|
31146
31143
|
if (typeof e != "string")
|
|
31147
31144
|
return e;
|
|
31148
|
-
var r =
|
|
31145
|
+
var r = Ef(e, t);
|
|
31149
31146
|
return ec(r);
|
|
31150
31147
|
}
|
|
31151
31148
|
function ec(e) {
|
|
@@ -31377,11 +31374,11 @@ function st(e) {
|
|
|
31377
31374
|
function aw(e, t) {
|
|
31378
31375
|
if (e)
|
|
31379
31376
|
return st(e) ? {
|
|
31380
|
-
type:
|
|
31377
|
+
type: _f,
|
|
31381
31378
|
name: e,
|
|
31382
31379
|
predicate: t ? t[e] : void 0
|
|
31383
31380
|
} : lt(e) ? {
|
|
31384
|
-
type:
|
|
31381
|
+
type: _f,
|
|
31385
31382
|
name: e.name,
|
|
31386
31383
|
predicate: e
|
|
31387
31384
|
} : e;
|
|
@@ -31407,7 +31404,7 @@ function li(e) {
|
|
|
31407
31404
|
function c9(e) {
|
|
31408
31405
|
return !!e && typeof e.send == "function";
|
|
31409
31406
|
}
|
|
31410
|
-
function
|
|
31407
|
+
function Zc(e, t) {
|
|
31411
31408
|
return st(e) || typeof e == "number" ? xe({
|
|
31412
31409
|
type: e
|
|
31413
31410
|
}, t) : e;
|
|
@@ -31415,7 +31412,7 @@ function Xc(e, t) {
|
|
|
31415
31412
|
function zt(e, t) {
|
|
31416
31413
|
if (!st(e) && "$$type" in e && e.$$type === "scxml")
|
|
31417
31414
|
return e;
|
|
31418
|
-
var r =
|
|
31415
|
+
var r = Zc(e);
|
|
31419
31416
|
return xe({
|
|
31420
31417
|
name: r.type,
|
|
31421
31418
|
data: r,
|
|
@@ -31455,7 +31452,7 @@ function sw(e, t, r, n, i) {
|
|
|
31455
31452
|
cond: t,
|
|
31456
31453
|
_event: n
|
|
31457
31454
|
};
|
|
31458
|
-
if (t.type ===
|
|
31455
|
+
if (t.type === _f)
|
|
31459
31456
|
return ((o == null ? void 0 : o[t.name]) || t.predicate)(r, n.data, a);
|
|
31460
31457
|
var s = o == null ? void 0 : o[t.type];
|
|
31461
31458
|
if (!s)
|
|
@@ -31479,19 +31476,19 @@ function Os(e, t, r) {
|
|
|
31479
31476
|
function hs(e, t) {
|
|
31480
31477
|
return "".concat(e, ":invocation[").concat(t, "]");
|
|
31481
31478
|
}
|
|
31482
|
-
function
|
|
31483
|
-
return (e.type === Ba || e.type ===
|
|
31479
|
+
function xf(e) {
|
|
31480
|
+
return (e.type === Ba || e.type === Xc && e.to === go.Internal) && typeof e.delay != "number";
|
|
31484
31481
|
}
|
|
31485
31482
|
var oo = /* @__PURE__ */ zt({
|
|
31486
31483
|
type: YF
|
|
31487
31484
|
});
|
|
31488
|
-
function
|
|
31485
|
+
function Sf(e, t) {
|
|
31489
31486
|
return t && t[e] || void 0;
|
|
31490
31487
|
}
|
|
31491
31488
|
function Sa(e, t) {
|
|
31492
31489
|
var r;
|
|
31493
31490
|
if (st(e) || typeof e == "number") {
|
|
31494
|
-
var n =
|
|
31491
|
+
var n = Sf(e, t);
|
|
31495
31492
|
lt(n) ? r = {
|
|
31496
31493
|
type: e,
|
|
31497
31494
|
exec: n
|
|
@@ -31506,7 +31503,7 @@ function Sa(e, t) {
|
|
|
31506
31503
|
exec: e
|
|
31507
31504
|
};
|
|
31508
31505
|
else {
|
|
31509
|
-
var n =
|
|
31506
|
+
var n = Sf(e.type, t);
|
|
31510
31507
|
if (lt(n))
|
|
31511
31508
|
r = xe(xe({}, e), {
|
|
31512
31509
|
exec: n
|
|
@@ -31540,7 +31537,7 @@ function Yd(e) {
|
|
|
31540
31537
|
function f9(e, t) {
|
|
31541
31538
|
return {
|
|
31542
31539
|
type: Ba,
|
|
31543
|
-
event: typeof e == "function" ? e :
|
|
31540
|
+
event: typeof e == "function" ? e : Zc(e),
|
|
31544
31541
|
delay: t ? t.delay : void 0,
|
|
31545
31542
|
id: t == null ? void 0 : t.id
|
|
31546
31543
|
};
|
|
@@ -31563,8 +31560,8 @@ function d9(e, t, r, n) {
|
|
|
31563
31560
|
function p9(e, t) {
|
|
31564
31561
|
return {
|
|
31565
31562
|
to: t ? t.to : void 0,
|
|
31566
|
-
type:
|
|
31567
|
-
event: lt(e) ? e :
|
|
31563
|
+
type: Xc,
|
|
31564
|
+
event: lt(e) ? e : Zc(e),
|
|
31568
31565
|
delay: t ? t.delay : void 0,
|
|
31569
31566
|
// TODO: don't auto-generate IDs here like that
|
|
31570
31567
|
// there is too big chance of the ID collision
|
|
@@ -31697,7 +31694,7 @@ function rc(e, t, r, n, i, o, a) {
|
|
|
31697
31694
|
var w = d9(m, c, n, e.options.delays);
|
|
31698
31695
|
return o && typeof w.delay == "number" && o(w, c, n), w;
|
|
31699
31696
|
}
|
|
31700
|
-
case
|
|
31697
|
+
case Xc:
|
|
31701
31698
|
var _ = h9(m, c, n, e.options.delays);
|
|
31702
31699
|
if (!Rt) {
|
|
31703
31700
|
var S = m.delay;
|
|
@@ -31873,7 +31870,7 @@ function dw(e) {
|
|
|
31873
31870
|
return nc(e) ? t : t.concat(At($a(e).map(dw)));
|
|
31874
31871
|
}
|
|
31875
31872
|
function na(e, t) {
|
|
31876
|
-
var r, n, i, o, a, s, c, l, f = new Set(e), d =
|
|
31873
|
+
var r, n, i, o, a, s, c, l, f = new Set(e), d = $f(f), p = new Set(t);
|
|
31877
31874
|
try {
|
|
31878
31875
|
for (var g = tt(p), v = g.next(); !v.done; v = g.next())
|
|
31879
31876
|
for (var m = v.value, b = m.parent; b && !p.has(b); )
|
|
@@ -31890,7 +31887,7 @@ function na(e, t) {
|
|
|
31890
31887
|
throw r.error;
|
|
31891
31888
|
}
|
|
31892
31889
|
}
|
|
31893
|
-
var w =
|
|
31890
|
+
var w = $f(p);
|
|
31894
31891
|
try {
|
|
31895
31892
|
for (var _ = tt(p), S = _.next(); !S.done; S = _.next()) {
|
|
31896
31893
|
var m = S.value;
|
|
@@ -31970,7 +31967,7 @@ function pw(e, t) {
|
|
|
31970
31967
|
i[o.key] = pw(o, t);
|
|
31971
31968
|
}), i;
|
|
31972
31969
|
}
|
|
31973
|
-
function
|
|
31970
|
+
function $f(e) {
|
|
31974
31971
|
var t, r, n = /* @__PURE__ */ new Map();
|
|
31975
31972
|
try {
|
|
31976
31973
|
for (var i = tt(e), o = i.next(); !o.done; o = i.next()) {
|
|
@@ -31993,7 +31990,7 @@ function Sf(e) {
|
|
|
31993
31990
|
}
|
|
31994
31991
|
function A9(e, t) {
|
|
31995
31992
|
var r = na([e], t);
|
|
31996
|
-
return pw(e,
|
|
31993
|
+
return pw(e, $f(r));
|
|
31997
31994
|
}
|
|
31998
31995
|
function ia(e, t) {
|
|
31999
31996
|
return Array.isArray(e) ? e.some(function(r) {
|
|
@@ -32188,18 +32185,18 @@ var mr = (
|
|
|
32188
32185
|
}
|
|
32189
32186
|
}, e;
|
|
32190
32187
|
}()
|
|
32191
|
-
),
|
|
32188
|
+
), yu = /* @__PURE__ */ new Map(), k9 = 0, Jo = {
|
|
32192
32189
|
bookId: function() {
|
|
32193
32190
|
return "x:".concat(k9++);
|
|
32194
32191
|
},
|
|
32195
32192
|
register: function(e, t) {
|
|
32196
|
-
return
|
|
32193
|
+
return yu.set(e, t), e;
|
|
32197
32194
|
},
|
|
32198
32195
|
get: function(e) {
|
|
32199
|
-
return
|
|
32196
|
+
return yu.get(e);
|
|
32200
32197
|
},
|
|
32201
32198
|
free: function(e) {
|
|
32202
|
-
|
|
32199
|
+
yu.delete(e);
|
|
32203
32200
|
}
|
|
32204
32201
|
};
|
|
32205
32202
|
function Jd() {
|
|
@@ -32276,7 +32273,7 @@ var F9 = (
|
|
|
32276
32273
|
this.machine = t, this.delayedEventsMap = {}, this.listeners = /* @__PURE__ */ new Set(), this.contextListeners = /* @__PURE__ */ new Set(), this.stopListeners = /* @__PURE__ */ new Set(), this.doneListeners = /* @__PURE__ */ new Set(), this.eventListeners = /* @__PURE__ */ new Set(), this.sendListeners = /* @__PURE__ */ new Set(), this.initialized = !1, this.status = Tt.NotStarted, this.children = /* @__PURE__ */ new Map(), this.forwardTo = /* @__PURE__ */ new Set(), this._outgoingQueue = [], this.init = this.start, this.send = function(f, d) {
|
|
32277
32274
|
if (Io(f))
|
|
32278
32275
|
return n.batch(f), n.state;
|
|
32279
|
-
var p = zt(
|
|
32276
|
+
var p = zt(Zc(f, d));
|
|
32280
32277
|
if (n.status === Tt.Stopped)
|
|
32281
32278
|
return Rt || Ht(!1, 'Event "'.concat(p.name, '" was sent to stopped service "').concat(n.machine.id, `". This service has already reached its final state, and will not transition.
|
|
32282
32279
|
Event: `).concat(JSON.stringify(p.data))), n.state;
|
|
@@ -32312,7 +32309,7 @@ Event: `
|
|
|
32312
32309
|
!p && n.machine.config.predictableActionArguments ? n._outgoingQueue.push([v, f.data]) : v.send(f.data);
|
|
32313
32310
|
}, this._exec = function(f, d, p, g) {
|
|
32314
32311
|
g === void 0 && (g = n.machine.options.actions);
|
|
32315
|
-
var v = f.exec ||
|
|
32312
|
+
var v = f.exec || Sf(f.type, g), m = lt(v) ? v : v ? v.exec : f.exec;
|
|
32316
32313
|
if (m)
|
|
32317
32314
|
try {
|
|
32318
32315
|
return m(d, p.data, n.machine.config.predictableActionArguments ? {
|
|
@@ -32335,7 +32332,7 @@ Event: `
|
|
|
32335
32332
|
n.defer(b);
|
|
32336
32333
|
break;
|
|
32337
32334
|
}
|
|
32338
|
-
case
|
|
32335
|
+
case Xc:
|
|
32339
32336
|
var w = f;
|
|
32340
32337
|
if (typeof w.delay == "number") {
|
|
32341
32338
|
n.defer(w);
|
|
@@ -32346,7 +32343,7 @@ Event: `
|
|
|
32346
32343
|
case Q1:
|
|
32347
32344
|
n.cancel(f.sendId);
|
|
32348
32345
|
break;
|
|
32349
|
-
case
|
|
32346
|
+
case bf: {
|
|
32350
32347
|
if (n.status !== Tt.Running)
|
|
32351
32348
|
return;
|
|
32352
32349
|
var _ = f.activity;
|
|
@@ -32681,7 +32678,7 @@ Event: `
|
|
|
32681
32678
|
historyValue: void 0,
|
|
32682
32679
|
history: t.state,
|
|
32683
32680
|
actions: s.filter(function(f) {
|
|
32684
|
-
return !
|
|
32681
|
+
return !xf(f);
|
|
32685
32682
|
}),
|
|
32686
32683
|
activities: {},
|
|
32687
32684
|
events: [],
|
|
@@ -33062,20 +33059,20 @@ function B9(e) {
|
|
|
33062
33059
|
}
|
|
33063
33060
|
function vs(e) {
|
|
33064
33061
|
return xe(xe({
|
|
33065
|
-
type:
|
|
33062
|
+
type: wf
|
|
33066
33063
|
}, e), {
|
|
33067
33064
|
toJSON: function() {
|
|
33068
33065
|
e.onDone, e.onError;
|
|
33069
33066
|
var t = Vd(e, ["onDone", "onError"]);
|
|
33070
33067
|
return xe(xe({}, t), {
|
|
33071
|
-
type:
|
|
33068
|
+
type: wf,
|
|
33072
33069
|
src: B9(e.src)
|
|
33073
33070
|
});
|
|
33074
33071
|
}
|
|
33075
33072
|
});
|
|
33076
33073
|
}
|
|
33077
|
-
var eo = "",
|
|
33078
|
-
return e[0] ===
|
|
33074
|
+
var eo = "", Cf = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
33075
|
+
return e[0] === Cf;
|
|
33079
33076
|
}, j9 = function() {
|
|
33080
33077
|
return {
|
|
33081
33078
|
actions: {},
|
|
@@ -33526,7 +33523,7 @@ var eo = "", $f = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33526
33523
|
}).map(function(M) {
|
|
33527
33524
|
return M.onExit;
|
|
33528
33525
|
})), this.machine.options.actions).filter(function(M) {
|
|
33529
|
-
return !
|
|
33526
|
+
return !xf(M);
|
|
33530
33527
|
});
|
|
33531
33528
|
return N.concat({
|
|
33532
33529
|
type: "stop",
|
|
@@ -33568,7 +33565,7 @@ var eo = "", $f = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33568
33565
|
try {
|
|
33569
33566
|
for (var P = (c = void 0, tt(R.actions)), C = P.next(); !C.done; C = P.next()) {
|
|
33570
33567
|
var T = C.value;
|
|
33571
|
-
T.type ===
|
|
33568
|
+
T.type === bf ? _[T.activity.id || T.activity.type] = T : T.type === Gd && (_[T.activity.id || T.activity.type] = !1);
|
|
33572
33569
|
}
|
|
33573
33570
|
} catch (ie) {
|
|
33574
33571
|
c = {
|
|
@@ -33595,9 +33592,9 @@ var eo = "", $f = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33595
33592
|
throw a.error;
|
|
33596
33593
|
}
|
|
33597
33594
|
}
|
|
33598
|
-
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(o9(B,
|
|
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(o9(B, xf), 2), Z = L[0], Y = L[1], X = B.filter(function(ie) {
|
|
33599
33596
|
var he;
|
|
33600
|
-
return ie.type ===
|
|
33597
|
+
return ie.type === bf && ((he = ie.activity) === null || he === void 0 ? void 0 : he.type) === wf;
|
|
33601
33598
|
}), oe = X.reduce(function(ie, he) {
|
|
33602
33599
|
return ie[he.activity.id] = x9(he.activity, f.machine, M, o), ie;
|
|
33603
33600
|
}, r ? xe({}, r.children) : {}), se = new mr({
|
|
@@ -33646,7 +33643,7 @@ var eo = "", $f = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33646
33643
|
throw new Error("Child state '".concat(t, "' does not exist on '").concat(this.id, "'"));
|
|
33647
33644
|
return r;
|
|
33648
33645
|
}, e.prototype.getStateNodeById = function(t) {
|
|
33649
|
-
var r = qi(t) ? t.slice(
|
|
33646
|
+
var r = qi(t) ? t.slice(Cf.length) : t;
|
|
33650
33647
|
if (r === this.id)
|
|
33651
33648
|
return this;
|
|
33652
33649
|
var n = this.machine.idMap[r];
|
|
@@ -33659,7 +33656,7 @@ var eo = "", $f = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33659
33656
|
return this.getStateNodeById(t.slice(1));
|
|
33660
33657
|
} catch {
|
|
33661
33658
|
}
|
|
33662
|
-
for (var r =
|
|
33659
|
+
for (var r = Ef(t, this.delimiter).slice(), n = this; r.length; ) {
|
|
33663
33660
|
var i = r.shift();
|
|
33664
33661
|
if (!i.length)
|
|
33665
33662
|
break;
|
|
@@ -33688,12 +33685,12 @@ var eo = "", $f = "#", Xo = "*", Ki = {}, qi = function(e) {
|
|
|
33688
33685
|
}
|
|
33689
33686
|
}, e.prototype.getResolvedPath = function(t) {
|
|
33690
33687
|
if (qi(t)) {
|
|
33691
|
-
var r = this.machine.idMap[t.slice(
|
|
33688
|
+
var r = this.machine.idMap[t.slice(Cf.length)];
|
|
33692
33689
|
if (!r)
|
|
33693
33690
|
throw new Error("Unable to find state node '".concat(t, "'"));
|
|
33694
33691
|
return r.path;
|
|
33695
33692
|
}
|
|
33696
|
-
return
|
|
33693
|
+
return Ef(t, this.delimiter);
|
|
33697
33694
|
}, Object.defineProperty(e.prototype, "initialStateValue", {
|
|
33698
33695
|
get: function() {
|
|
33699
33696
|
var t;
|
|
@@ -34326,7 +34323,7 @@ const J9 = Xd(
|
|
|
34326
34323
|
);
|
|
34327
34324
|
}, oB = ({ disabled: e, onResetDevice: t, onJoinNewIdentity: r, onBack: n }) => {
|
|
34328
34325
|
const { t: i } = ut("os");
|
|
34329
|
-
return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement("div", { role: "none", className: "grow flex flex-col justify-center" }, /* @__PURE__ */ x.createElement(
|
|
34326
|
+
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(
|
|
34330
34327
|
pt,
|
|
34331
34328
|
{
|
|
34332
34329
|
variant: "primary",
|
|
@@ -35432,7 +35429,7 @@ var vw = { exports: {} };
|
|
|
35432
35429
|
});
|
|
35433
35430
|
})(vw);
|
|
35434
35431
|
var sB = vw.exports;
|
|
35435
|
-
const
|
|
35432
|
+
const Af = /* @__PURE__ */ Un(sB);
|
|
35436
35433
|
var cB = Object.defineProperty, oc = Object.getOwnPropertySymbols, mw = Object.prototype.hasOwnProperty, yw = Object.prototype.propertyIsEnumerable, sv = (e, t, r) => t in e ? cB(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lB = (e, t) => {
|
|
35437
35434
|
for (var r in t || (t = {}))
|
|
35438
35435
|
mw.call(t, r) && sv(e, r, t[r]);
|
|
@@ -35449,12 +35446,12 @@ var cB = Object.defineProperty, oc = Object.getOwnPropertySymbols, mw = Object.p
|
|
|
35449
35446
|
t.indexOf(n) < 0 && yw.call(e, n) && (r[n] = e[n]);
|
|
35450
35447
|
return r;
|
|
35451
35448
|
}, sn = 1e3, fB = /code length overflow/i;
|
|
35452
|
-
|
|
35449
|
+
Af.stringToBytes = Af.stringToBytesFuncs["UTF-8"];
|
|
35453
35450
|
var dB = (e, t, r) => {
|
|
35454
35451
|
r = Math.max(1, r);
|
|
35455
35452
|
for (let n = r; n <= 40; n += 1)
|
|
35456
35453
|
try {
|
|
35457
|
-
const i =
|
|
35454
|
+
const i = Af(n, t);
|
|
35458
35455
|
i.addData(e), i.make();
|
|
35459
35456
|
const o = i.getModuleCount();
|
|
35460
35457
|
return { text: e, level: t, version: n, moduleCount: o, isDark: (s, c) => s >= 0 && s < o && c >= 0 && c < o && i.isDark(s, c) };
|
|
@@ -35548,7 +35545,7 @@ var dB = (e, t, r) => {
|
|
|
35548
35545
|
}
|
|
35549
35546
|
}, o)) : null);
|
|
35550
35547
|
};
|
|
35551
|
-
const
|
|
35548
|
+
const bu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, { ...t, classNames: "grow flex flex-col justify-around items-center" }, e), bw = ({
|
|
35552
35549
|
invitationUrl: e,
|
|
35553
35550
|
active: t,
|
|
35554
35551
|
send: r,
|
|
@@ -35568,7 +35565,7 @@ const yu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
35568
35565
|
return "showing qr";
|
|
35569
35566
|
}
|
|
35570
35567
|
}, [l]);
|
|
35571
|
-
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(
|
|
35568
|
+
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(
|
|
35572
35569
|
mB,
|
|
35573
35570
|
{
|
|
35574
35571
|
rounding: 100,
|
|
@@ -35580,11 +35577,11 @@ const yu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
35580
35577
|
cutout: !0
|
|
35581
35578
|
},
|
|
35582
35579
|
e ?? "never"
|
|
35583
|
-
), /* @__PURE__ */ x.createElement(OM, null, /* @__PURE__ */ x.createElement(
|
|
35580
|
+
), /* @__PURE__ */ x.createElement(OM, null, /* @__PURE__ */ x.createElement(gf, { text: d }))), /* @__PURE__ */ x.createElement("span", { id: c, className: "sr-only" }, s("qr label")), /* @__PURE__ */ x.createElement(Ek, { 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"))));
|
|
35584
35581
|
}, Yi = "pbs-1 pbe-3 pli-3", yB = ({ titleId: e, title: t, identity: r, onDone: n }) => {
|
|
35585
35582
|
var o;
|
|
35586
35583
|
const i = Cc(r.identityKey.toHex(), 12);
|
|
35587
|
-
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) ??
|
|
35584
|
+
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()))));
|
|
35588
35585
|
}, ww = (e) => {
|
|
35589
35586
|
const {
|
|
35590
35587
|
identity: t,
|
|
@@ -36032,7 +36029,7 @@ const yu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36032
36029
|
slots: { label: { className: "text-sm" } }
|
|
36033
36030
|
};
|
|
36034
36031
|
return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(Rr, null, n("addition method chooser title")), /* @__PURE__ */ x.createElement("div", { role: "none", className: "flex flex-col gap-1 grow" }, /* @__PURE__ */ x.createElement(
|
|
36035
|
-
|
|
36032
|
+
Kl,
|
|
36036
36033
|
{
|
|
36037
36034
|
...i,
|
|
36038
36035
|
description: n("create identity description"),
|
|
@@ -36043,7 +36040,7 @@ const yu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36043
36040
|
},
|
|
36044
36041
|
n("create identity label")
|
|
36045
36042
|
), /* @__PURE__ */ x.createElement(
|
|
36046
|
-
|
|
36043
|
+
Kl,
|
|
36047
36044
|
{
|
|
36048
36045
|
...i,
|
|
36049
36046
|
description: n("join identity description"),
|
|
@@ -36053,7 +36050,7 @@ const yu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36053
36050
|
},
|
|
36054
36051
|
n("join identity label")
|
|
36055
36052
|
), /* @__PURE__ */ x.createElement(
|
|
36056
|
-
|
|
36053
|
+
Kl,
|
|
36057
36054
|
{
|
|
36058
36055
|
...i,
|
|
36059
36056
|
disabled: !0,
|
|
@@ -36066,7 +36063,7 @@ const yu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36066
36063
|
)));
|
|
36067
36064
|
}, $B = (e) => {
|
|
36068
36065
|
var v, m;
|
|
36069
|
-
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 &&
|
|
36066
|
+
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(
|
|
36070
36067
|
pt,
|
|
36071
36068
|
{
|
|
36072
36069
|
...o && { onClick: () => o(null) },
|
|
@@ -36247,7 +36244,7 @@ const yu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36247
36244
|
var v;
|
|
36248
36245
|
d(g), g.length === hv && ((v = document.querySelector(`[data-autofocus-pinlength="${l}"]`)) == null || v.focus());
|
|
36249
36246
|
};
|
|
36250
|
-
return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement("div", { role: "none", className: "grow flex flex-col justify-center" }, i && /* @__PURE__ */ x.createElement(
|
|
36247
|
+
return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement("div", { role: "none", className: "grow flex flex-col justify-center" }, i && /* @__PURE__ */ x.createElement(gf, { text: Ud(i) }), /* @__PURE__ */ x.createElement(
|
|
36251
36248
|
jr.Root,
|
|
36252
36249
|
{
|
|
36253
36250
|
...e && {
|
|
@@ -36858,7 +36855,7 @@ const yu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36858
36855
|
return /* @__PURE__ */ x.createElement(Br.Root, { defaultOpen: !0, onOpenChange: (r) => {
|
|
36859
36856
|
var n;
|
|
36860
36857
|
return r || ((n = e.onDone) == null ? void 0 : n.call(e));
|
|
36861
|
-
} }, /* @__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(
|
|
36858
|
+
} }, /* @__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(
|
|
36862
36859
|
wB,
|
|
36863
36860
|
{
|
|
36864
36861
|
...e,
|
|
@@ -36888,12 +36885,12 @@ const yu = ({ children: e, ...t }) => /* @__PURE__ */ x.createElement(dt.View, {
|
|
|
36888
36885
|
))))
|
|
36889
36886
|
);
|
|
36890
36887
|
};
|
|
36891
|
-
var
|
|
36888
|
+
var Of, ms = If;
|
|
36892
36889
|
if (process.env.NODE_ENV === "production")
|
|
36893
|
-
|
|
36890
|
+
Of = ms.createRoot, ms.hydrateRoot;
|
|
36894
36891
|
else {
|
|
36895
36892
|
var bv = ms.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
36896
|
-
|
|
36893
|
+
Of = function(e, t) {
|
|
36897
36894
|
bv.usingClientEntryPoint = !0;
|
|
36898
36895
|
try {
|
|
36899
36896
|
return ms.createRoot(e, t);
|
|
@@ -36902,7 +36899,7 @@ else {
|
|
|
36902
36899
|
}
|
|
36903
36900
|
};
|
|
36904
36901
|
}
|
|
36905
|
-
var
|
|
36902
|
+
var Tf = { exports: {} };
|
|
36906
36903
|
(function(e, t) {
|
|
36907
36904
|
(function(r, n) {
|
|
36908
36905
|
var i = "1.0.35", o = "", a = "?", s = "function", c = "undefined", l = "object", f = "string", d = "major", p = "model", g = "name", v = "type", m = "vendor", b = "version", w = "architecture", _ = "console", S = "mobile", $ = "tablet", R = "smarttv", P = "wearable", C = "embedded", T = 350, N = "Amazon", B = "Apple", M = "ASUS", L = "BlackBerry", Z = "Browser", Y = "Chrome", X = "Edge", oe = "Firefox", se = "Google", fe = "Huawei", le = "LG", me = "Microsoft", ue = "Motorola", V = "Opera", J = "Samsung", ie = "Sharp", he = "Sony", H = "Xiaomi", G = "Zebra", F = "Facebook", z = "Chromium OS", K = "Mac OS", I = function(Te, Ve) {
|
|
@@ -38033,8 +38030,8 @@ var Of = { exports: {} };
|
|
|
38033
38030
|
};
|
|
38034
38031
|
}
|
|
38035
38032
|
})(typeof window == "object" ? window : it);
|
|
38036
|
-
})(
|
|
38037
|
-
var WB =
|
|
38033
|
+
})(Tf, Tf.exports);
|
|
38034
|
+
var WB = Tf.exports, Ps = "/home/runner/work/dxos/dxos/packages/core/mesh/rpc-tunnel/src/ports/iframe.ts", Qd, ep;
|
|
38038
38035
|
if (typeof navigator < "u") {
|
|
38039
38036
|
const e = new WB.UAParser(navigator.userAgent);
|
|
38040
38037
|
Qd = e.getBrowser().name, ep = e.getOS().name;
|
|
@@ -38108,7 +38105,7 @@ const VB = (e) => {
|
|
|
38108
38105
|
return /* @__PURE__ */ x.createElement(Br.Root, { defaultOpen: !0, onOpenChange: (r) => {
|
|
38109
38106
|
var n;
|
|
38110
38107
|
return r || ((n = e.onDone) == null ? void 0 : n.call(e));
|
|
38111
|
-
} }, /* @__PURE__ */ x.createElement(Br.Portal, null, /* @__PURE__ */ x.createElement(Br.Overlay, null, /* @__PURE__ */ x.createElement(Br.Content, { "aria-labelledby": t }, /* @__PURE__ */ x.createElement(
|
|
38108
|
+
} }, /* @__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(
|
|
38112
38109
|
jB,
|
|
38113
38110
|
{
|
|
38114
38111
|
...e,
|
|
@@ -38298,8 +38295,8 @@ const VB = (e) => {
|
|
|
38298
38295
|
os: KB
|
|
38299
38296
|
}, Symbol.toStringTag, { value: "Module" })), YB = { "en-US": qB }, _j = async (e = new Kw()) => {
|
|
38300
38297
|
const t = new zw(wv({ channel: qw })), r = new Hw({ config: e, services: t }), n = new Xw(wv({ channel: Yw }));
|
|
38301
|
-
await Promise.all([n.open(), r.initialize()]),
|
|
38302
|
-
/* @__PURE__ */ x.createElement(xw, null, /* @__PURE__ */ x.createElement(p6, { tx: _k, resourceExtensions: [YB] }, /* @__PURE__ */ x.createElement(Vw.Provider, { value: { client: r, status: Gw.ACTIVE } }, /* @__PURE__ */ x.createElement(
|
|
38298
|
+
await Promise.all([n.open(), r.initialize()]), Of(document.getElementById("root")).render(
|
|
38299
|
+
/* @__PURE__ */ x.createElement(xw, null, /* @__PURE__ */ x.createElement(p6, { tx: _k, resourceExtensions: [YB] }, /* @__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(GB, { runtime: n, origin: location.origin }))))))
|
|
38303
38300
|
);
|
|
38304
38301
|
};
|
|
38305
38302
|
Vt({});
|