@fileverse-dev/ddoc 3.0.40-patch-1 → 3.0.41
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.
|
@@ -57954,7 +57954,7 @@ Fde.displayName = kde;
|
|
|
57954
57954
|
function GO(e) {
|
|
57955
57955
|
return e ? "open" : "closed";
|
|
57956
57956
|
}
|
|
57957
|
-
var Cde = "DialogTitleWarning", [
|
|
57957
|
+
var Cde = "DialogTitleWarning", [pzn, Dde] = $Dt(Cde, {
|
|
57958
57958
|
contentName: ah,
|
|
57959
57959
|
titleName: $O,
|
|
57960
57960
|
docsSlug: "dialog"
|
|
@@ -57976,7 +57976,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
57976
57976
|
}, [n, e, t]), null;
|
|
57977
57977
|
}, Rk = dde, j_t = hde, Pk = gde, nm = mde, rm = yde, D6 = vde, M6 = wde, zk = Fde, IM, Mde = "HoverCard", [Ede] = Ri(Mde, [
|
|
57978
57978
|
x0
|
|
57979
|
-
]), ZO = x0(), [
|
|
57979
|
+
]), ZO = x0(), [gzn, KO] = Ede(Mde), Ade = "HoverCardTrigger", L_t = W.forwardRef(
|
|
57980
57980
|
(e, t) => {
|
|
57981
57981
|
const { __scopeHoverCard: n, ...r } = e, o = KO(Ade, n), i = ZO(n);
|
|
57982
57982
|
return /* @__PURE__ */ A.jsx(y6, { asChild: !0, ...i, children: /* @__PURE__ */ A.jsx(
|
|
@@ -57995,7 +57995,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
57995
57995
|
}
|
|
57996
57996
|
);
|
|
57997
57997
|
L_t.displayName = Ade;
|
|
57998
|
-
var N_t = "HoverCardPortal", [
|
|
57998
|
+
var N_t = "HoverCardPortal", [mzn, __t] = Ede(N_t, {
|
|
57999
57999
|
forceMount: void 0
|
|
58000
58000
|
}), p9 = "HoverCardContent", Sde = W.forwardRef(
|
|
58001
58001
|
(e, t) => {
|
|
@@ -59332,7 +59332,7 @@ function j0e(e, t, n) {
|
|
|
59332
59332
|
function EIt(e, t) {
|
|
59333
59333
|
return e.map((n, r) => e[(t + r) % e.length]);
|
|
59334
59334
|
}
|
|
59335
|
-
var AIt = r0e, L0e = i0e, SIt = s0e, TIt = l0e, jIt = u0e, N0e = c0e, LIt = p0e, NIt = m0e, _0e = b0e, I0e = x0e, _It = w0e, IIt = F0e, B0e = C0e, O0e = D0e, R0e = E0e, BIt = "ToastProvider", [P0e, OIt, RIt] = Ak("Toast"), [z0e] = Ri("Toast", [RIt]), [
|
|
59335
|
+
var AIt = r0e, L0e = i0e, SIt = s0e, TIt = l0e, jIt = u0e, N0e = c0e, LIt = p0e, NIt = m0e, _0e = b0e, I0e = x0e, _It = w0e, IIt = F0e, B0e = C0e, O0e = D0e, R0e = E0e, BIt = "ToastProvider", [P0e, OIt, RIt] = Ak("Toast"), [z0e] = Ri("Toast", [RIt]), [yzn, $k] = z0e(BIt), U0e = "ToastViewport", PIt = ["F8"], EL = "toast.viewportPause", AL = "toast.viewportResume", H0e = W.forwardRef(
|
|
59336
59336
|
(e, t) => {
|
|
59337
59337
|
const {
|
|
59338
59338
|
__scopeToast: n,
|
|
@@ -84102,7 +84102,7 @@ function Fpe(e, t) {
|
|
|
84102
84102
|
const n = Tn(e), r = +qu(n, t) - +NHt(n, t);
|
|
84103
84103
|
return Math.round(r / TR) + 1;
|
|
84104
84104
|
}
|
|
84105
|
-
function
|
|
84105
|
+
function Zn(e, t) {
|
|
84106
84106
|
const n = e < 0 ? "-" : "", r = Math.abs(e).toString().padStart(t, "0");
|
|
84107
84107
|
return n + r;
|
|
84108
84108
|
}
|
|
@@ -84110,16 +84110,16 @@ const $1 = {
|
|
|
84110
84110
|
// Year
|
|
84111
84111
|
y(e, t) {
|
|
84112
84112
|
const n = e.getFullYear(), r = n > 0 ? n : 1 - n;
|
|
84113
|
-
return
|
|
84113
|
+
return Zn(t === "yy" ? r % 100 : r, t.length);
|
|
84114
84114
|
},
|
|
84115
84115
|
// Month
|
|
84116
84116
|
M(e, t) {
|
|
84117
84117
|
const n = e.getMonth();
|
|
84118
|
-
return t === "M" ? String(n + 1) :
|
|
84118
|
+
return t === "M" ? String(n + 1) : Zn(n + 1, 2);
|
|
84119
84119
|
},
|
|
84120
84120
|
// Day of the month
|
|
84121
84121
|
d(e, t) {
|
|
84122
|
-
return
|
|
84122
|
+
return Zn(e.getDate(), t.length);
|
|
84123
84123
|
},
|
|
84124
84124
|
// AM or PM
|
|
84125
84125
|
a(e, t) {
|
|
@@ -84139,26 +84139,26 @@ const $1 = {
|
|
|
84139
84139
|
},
|
|
84140
84140
|
// Hour [1-12]
|
|
84141
84141
|
h(e, t) {
|
|
84142
|
-
return
|
|
84142
|
+
return Zn(e.getHours() % 12 || 12, t.length);
|
|
84143
84143
|
},
|
|
84144
84144
|
// Hour [0-23]
|
|
84145
84145
|
H(e, t) {
|
|
84146
|
-
return
|
|
84146
|
+
return Zn(e.getHours(), t.length);
|
|
84147
84147
|
},
|
|
84148
84148
|
// Minute
|
|
84149
84149
|
m(e, t) {
|
|
84150
|
-
return
|
|
84150
|
+
return Zn(e.getMinutes(), t.length);
|
|
84151
84151
|
},
|
|
84152
84152
|
// Second
|
|
84153
84153
|
s(e, t) {
|
|
84154
|
-
return
|
|
84154
|
+
return Zn(e.getSeconds(), t.length);
|
|
84155
84155
|
},
|
|
84156
84156
|
// Fraction of second
|
|
84157
84157
|
S(e, t) {
|
|
84158
84158
|
const n = t.length, r = e.getMilliseconds(), o = Math.trunc(
|
|
84159
84159
|
r * Math.pow(10, n - 3)
|
|
84160
84160
|
);
|
|
84161
|
-
return
|
|
84161
|
+
return Zn(o, t.length);
|
|
84162
84162
|
}
|
|
84163
84163
|
}, cp = {
|
|
84164
84164
|
midnight: "midnight",
|
|
@@ -84196,14 +84196,14 @@ const $1 = {
|
|
|
84196
84196
|
const o = kpe(e, r), i = o > 0 ? o : 1 - o;
|
|
84197
84197
|
if (t === "YY") {
|
|
84198
84198
|
const a = i % 100;
|
|
84199
|
-
return
|
|
84199
|
+
return Zn(a, 2);
|
|
84200
84200
|
}
|
|
84201
|
-
return t === "Yo" ? n.ordinalNumber(i, { unit: "year" }) :
|
|
84201
|
+
return t === "Yo" ? n.ordinalNumber(i, { unit: "year" }) : Zn(i, t.length);
|
|
84202
84202
|
},
|
|
84203
84203
|
// ISO week-numbering year
|
|
84204
84204
|
R: function(e, t) {
|
|
84205
84205
|
const n = ype(e);
|
|
84206
|
-
return
|
|
84206
|
+
return Zn(n, t.length);
|
|
84207
84207
|
},
|
|
84208
84208
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
84209
84209
|
// The main difference between `y` and `u` localizers are B.C. years:
|
|
@@ -84216,7 +84216,7 @@ const $1 = {
|
|
|
84216
84216
|
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
84217
84217
|
u: function(e, t) {
|
|
84218
84218
|
const n = e.getFullYear();
|
|
84219
|
-
return
|
|
84219
|
+
return Zn(n, t.length);
|
|
84220
84220
|
},
|
|
84221
84221
|
// Quarter
|
|
84222
84222
|
Q: function(e, t, n) {
|
|
@@ -84225,7 +84225,7 @@ const $1 = {
|
|
|
84225
84225
|
case "Q":
|
|
84226
84226
|
return String(r);
|
|
84227
84227
|
case "QQ":
|
|
84228
|
-
return
|
|
84228
|
+
return Zn(r, 2);
|
|
84229
84229
|
case "Qo":
|
|
84230
84230
|
return n.ordinalNumber(r, { unit: "quarter" });
|
|
84231
84231
|
case "QQQ":
|
|
@@ -84253,7 +84253,7 @@ const $1 = {
|
|
|
84253
84253
|
case "q":
|
|
84254
84254
|
return String(r);
|
|
84255
84255
|
case "qq":
|
|
84256
|
-
return
|
|
84256
|
+
return Zn(r, 2);
|
|
84257
84257
|
case "qo":
|
|
84258
84258
|
return n.ordinalNumber(r, { unit: "quarter" });
|
|
84259
84259
|
case "qqq":
|
|
@@ -84305,7 +84305,7 @@ const $1 = {
|
|
|
84305
84305
|
case "L":
|
|
84306
84306
|
return String(r + 1);
|
|
84307
84307
|
case "LL":
|
|
84308
|
-
return
|
|
84308
|
+
return Zn(r + 1, 2);
|
|
84309
84309
|
case "Lo":
|
|
84310
84310
|
return n.ordinalNumber(r + 1, { unit: "month" });
|
|
84311
84311
|
case "LLL":
|
|
@@ -84326,12 +84326,12 @@ const $1 = {
|
|
|
84326
84326
|
// Local week of year
|
|
84327
84327
|
w: function(e, t, n, r) {
|
|
84328
84328
|
const o = Fpe(e, r);
|
|
84329
|
-
return t === "wo" ? n.ordinalNumber(o, { unit: "week" }) :
|
|
84329
|
+
return t === "wo" ? n.ordinalNumber(o, { unit: "week" }) : Zn(o, t.length);
|
|
84330
84330
|
},
|
|
84331
84331
|
// ISO week of year
|
|
84332
84332
|
I: function(e, t, n) {
|
|
84333
84333
|
const r = wpe(e);
|
|
84334
|
-
return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) :
|
|
84334
|
+
return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : Zn(r, t.length);
|
|
84335
84335
|
},
|
|
84336
84336
|
// Day of the month
|
|
84337
84337
|
d: function(e, t, n) {
|
|
@@ -84340,7 +84340,7 @@ const $1 = {
|
|
|
84340
84340
|
// Day of year
|
|
84341
84341
|
D: function(e, t, n) {
|
|
84342
84342
|
const r = LHt(e);
|
|
84343
|
-
return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) :
|
|
84343
|
+
return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : Zn(r, t.length);
|
|
84344
84344
|
},
|
|
84345
84345
|
// Day of week
|
|
84346
84346
|
E: function(e, t, n) {
|
|
@@ -84378,7 +84378,7 @@ const $1 = {
|
|
|
84378
84378
|
case "e":
|
|
84379
84379
|
return String(i);
|
|
84380
84380
|
case "ee":
|
|
84381
|
-
return
|
|
84381
|
+
return Zn(i, 2);
|
|
84382
84382
|
case "eo":
|
|
84383
84383
|
return n.ordinalNumber(i, { unit: "day" });
|
|
84384
84384
|
case "eee":
|
|
@@ -84411,7 +84411,7 @@ const $1 = {
|
|
|
84411
84411
|
case "c":
|
|
84412
84412
|
return String(i);
|
|
84413
84413
|
case "cc":
|
|
84414
|
-
return
|
|
84414
|
+
return Zn(i, t.length);
|
|
84415
84415
|
case "co":
|
|
84416
84416
|
return n.ordinalNumber(i, { unit: "day" });
|
|
84417
84417
|
case "ccc":
|
|
@@ -84444,7 +84444,7 @@ const $1 = {
|
|
|
84444
84444
|
case "i":
|
|
84445
84445
|
return String(o);
|
|
84446
84446
|
case "ii":
|
|
84447
|
-
return
|
|
84447
|
+
return Zn(o, t.length);
|
|
84448
84448
|
case "io":
|
|
84449
84449
|
return n.ordinalNumber(o, { unit: "day" });
|
|
84450
84450
|
case "iii":
|
|
@@ -84567,12 +84567,12 @@ const $1 = {
|
|
|
84567
84567
|
// Hour [0-11]
|
|
84568
84568
|
K: function(e, t, n) {
|
|
84569
84569
|
const r = e.getHours() % 12;
|
|
84570
|
-
return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) :
|
|
84570
|
+
return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : Zn(r, t.length);
|
|
84571
84571
|
},
|
|
84572
84572
|
// Hour [1-24]
|
|
84573
84573
|
k: function(e, t, n) {
|
|
84574
84574
|
let r = e.getHours();
|
|
84575
|
-
return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) :
|
|
84575
|
+
return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : Zn(r, t.length);
|
|
84576
84576
|
},
|
|
84577
84577
|
// Minute
|
|
84578
84578
|
m: function(e, t, n) {
|
|
@@ -84647,23 +84647,23 @@ const $1 = {
|
|
|
84647
84647
|
// Seconds timestamp
|
|
84648
84648
|
t: function(e, t, n) {
|
|
84649
84649
|
const r = Math.trunc(e.getTime() / 1e3);
|
|
84650
|
-
return
|
|
84650
|
+
return Zn(r, t.length);
|
|
84651
84651
|
},
|
|
84652
84652
|
// Milliseconds timestamp
|
|
84653
84653
|
T: function(e, t, n) {
|
|
84654
84654
|
const r = e.getTime();
|
|
84655
|
-
return
|
|
84655
|
+
return Zn(r, t.length);
|
|
84656
84656
|
}
|
|
84657
84657
|
};
|
|
84658
84658
|
function ZZ(e, t = "") {
|
|
84659
84659
|
const n = e > 0 ? "-" : "+", r = Math.abs(e), o = Math.trunc(r / 60), i = r % 60;
|
|
84660
|
-
return i === 0 ? n + String(o) : n + String(o) + t +
|
|
84660
|
+
return i === 0 ? n + String(o) : n + String(o) + t + Zn(i, 2);
|
|
84661
84661
|
}
|
|
84662
84662
|
function KZ(e, t) {
|
|
84663
|
-
return e % 60 === 0 ? (e > 0 ? "-" : "+") +
|
|
84663
|
+
return e % 60 === 0 ? (e > 0 ? "-" : "+") + Zn(Math.abs(e) / 60, 2) : nf(e, t);
|
|
84664
84664
|
}
|
|
84665
84665
|
function nf(e, t = "") {
|
|
84666
|
-
const n = e > 0 ? "-" : "+", r = Math.abs(e), o =
|
|
84666
|
+
const n = e > 0 ? "-" : "+", r = Math.abs(e), o = Zn(Math.trunc(r / 60), 2), i = Zn(r % 60, 2);
|
|
84667
84667
|
return n + o + t + i;
|
|
84668
84668
|
}
|
|
84669
84669
|
const YZ = (e, t) => {
|
|
@@ -93963,7 +93963,7 @@ async function TF(e, t) {
|
|
|
93963
93963
|
});
|
|
93964
93964
|
return oe === "0x" ? { data: void 0 } : { data: oe };
|
|
93965
93965
|
} catch (O) {
|
|
93966
|
-
const I = IKt(O), { offchainLookup: H, offchainLookupSignature: $ } = await import("./ccip-
|
|
93966
|
+
const I = IKt(O), { offchainLookup: H, offchainLookupSignature: $ } = await import("./ccip-yeDOv02T.mjs");
|
|
93967
93967
|
if (e.ccipRead !== !1 && (I == null ? void 0 : I.slice(0, 10)) === $ && x)
|
|
93968
93968
|
return { data: await H(e, { data: I, to: x }) };
|
|
93969
93969
|
throw _ && (I == null ? void 0 : I.slice(0, 10)) === "0x101bb98d" ? new pZt({ factory: f }) : Sge(O, {
|
|
@@ -104787,7 +104787,7 @@ function qrn(e, t) {
|
|
|
104787
104787
|
const n = Jr(e, t == null ? void 0 : t.in), r = +cb(n, t) - +Hrn(n, t);
|
|
104788
104788
|
return Math.round(r / h3e) + 1;
|
|
104789
104789
|
}
|
|
104790
|
-
function
|
|
104790
|
+
function Kn(e, t) {
|
|
104791
104791
|
const n = e < 0 ? "-" : "", r = Math.abs(e).toString().padStart(t, "0");
|
|
104792
104792
|
return n + r;
|
|
104793
104793
|
}
|
|
@@ -104795,16 +104795,16 @@ const K1 = {
|
|
|
104795
104795
|
// Year
|
|
104796
104796
|
y(e, t) {
|
|
104797
104797
|
const n = e.getFullYear(), r = n > 0 ? n : 1 - n;
|
|
104798
|
-
return
|
|
104798
|
+
return Kn(t === "yy" ? r % 100 : r, t.length);
|
|
104799
104799
|
},
|
|
104800
104800
|
// Month
|
|
104801
104801
|
M(e, t) {
|
|
104802
104802
|
const n = e.getMonth();
|
|
104803
|
-
return t === "M" ? String(n + 1) :
|
|
104803
|
+
return t === "M" ? String(n + 1) : Kn(n + 1, 2);
|
|
104804
104804
|
},
|
|
104805
104805
|
// Day of the month
|
|
104806
104806
|
d(e, t) {
|
|
104807
|
-
return
|
|
104807
|
+
return Kn(e.getDate(), t.length);
|
|
104808
104808
|
},
|
|
104809
104809
|
// AM or PM
|
|
104810
104810
|
a(e, t) {
|
|
@@ -104824,26 +104824,26 @@ const K1 = {
|
|
|
104824
104824
|
},
|
|
104825
104825
|
// Hour [1-12]
|
|
104826
104826
|
h(e, t) {
|
|
104827
|
-
return
|
|
104827
|
+
return Kn(e.getHours() % 12 || 12, t.length);
|
|
104828
104828
|
},
|
|
104829
104829
|
// Hour [0-23]
|
|
104830
104830
|
H(e, t) {
|
|
104831
|
-
return
|
|
104831
|
+
return Kn(e.getHours(), t.length);
|
|
104832
104832
|
},
|
|
104833
104833
|
// Minute
|
|
104834
104834
|
m(e, t) {
|
|
104835
|
-
return
|
|
104835
|
+
return Kn(e.getMinutes(), t.length);
|
|
104836
104836
|
},
|
|
104837
104837
|
// Second
|
|
104838
104838
|
s(e, t) {
|
|
104839
|
-
return
|
|
104839
|
+
return Kn(e.getSeconds(), t.length);
|
|
104840
104840
|
},
|
|
104841
104841
|
// Fraction of second
|
|
104842
104842
|
S(e, t) {
|
|
104843
104843
|
const n = t.length, r = e.getMilliseconds(), o = Math.trunc(
|
|
104844
104844
|
r * Math.pow(10, n - 3)
|
|
104845
104845
|
);
|
|
104846
|
-
return
|
|
104846
|
+
return Kn(o, t.length);
|
|
104847
104847
|
}
|
|
104848
104848
|
}, gp = {
|
|
104849
104849
|
midnight: "midnight",
|
|
@@ -104881,14 +104881,14 @@ const K1 = {
|
|
|
104881
104881
|
const o = m3e(e, r), i = o > 0 ? o : 1 - o;
|
|
104882
104882
|
if (t === "YY") {
|
|
104883
104883
|
const a = i % 100;
|
|
104884
|
-
return
|
|
104884
|
+
return Kn(a, 2);
|
|
104885
104885
|
}
|
|
104886
|
-
return t === "Yo" ? n.ordinalNumber(i, { unit: "year" }) :
|
|
104886
|
+
return t === "Yo" ? n.ordinalNumber(i, { unit: "year" }) : Kn(i, t.length);
|
|
104887
104887
|
},
|
|
104888
104888
|
// ISO week-numbering year
|
|
104889
104889
|
R: function(e, t) {
|
|
104890
104890
|
const n = p3e(e);
|
|
104891
|
-
return
|
|
104891
|
+
return Kn(n, t.length);
|
|
104892
104892
|
},
|
|
104893
104893
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
104894
104894
|
// The main difference between `y` and `u` localizers are B.C. years:
|
|
@@ -104901,7 +104901,7 @@ const K1 = {
|
|
|
104901
104901
|
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
104902
104902
|
u: function(e, t) {
|
|
104903
104903
|
const n = e.getFullYear();
|
|
104904
|
-
return
|
|
104904
|
+
return Kn(n, t.length);
|
|
104905
104905
|
},
|
|
104906
104906
|
// Quarter
|
|
104907
104907
|
Q: function(e, t, n) {
|
|
@@ -104910,7 +104910,7 @@ const K1 = {
|
|
|
104910
104910
|
case "Q":
|
|
104911
104911
|
return String(r);
|
|
104912
104912
|
case "QQ":
|
|
104913
|
-
return
|
|
104913
|
+
return Kn(r, 2);
|
|
104914
104914
|
case "Qo":
|
|
104915
104915
|
return n.ordinalNumber(r, { unit: "quarter" });
|
|
104916
104916
|
case "QQQ":
|
|
@@ -104938,7 +104938,7 @@ const K1 = {
|
|
|
104938
104938
|
case "q":
|
|
104939
104939
|
return String(r);
|
|
104940
104940
|
case "qq":
|
|
104941
|
-
return
|
|
104941
|
+
return Kn(r, 2);
|
|
104942
104942
|
case "qo":
|
|
104943
104943
|
return n.ordinalNumber(r, { unit: "quarter" });
|
|
104944
104944
|
case "qqq":
|
|
@@ -104990,7 +104990,7 @@ const K1 = {
|
|
|
104990
104990
|
case "L":
|
|
104991
104991
|
return String(r + 1);
|
|
104992
104992
|
case "LL":
|
|
104993
|
-
return
|
|
104993
|
+
return Kn(r + 1, 2);
|
|
104994
104994
|
case "Lo":
|
|
104995
104995
|
return n.ordinalNumber(r + 1, { unit: "month" });
|
|
104996
104996
|
case "LLL":
|
|
@@ -105011,12 +105011,12 @@ const K1 = {
|
|
|
105011
105011
|
// Local week of year
|
|
105012
105012
|
w: function(e, t, n, r) {
|
|
105013
105013
|
const o = qrn(e, r);
|
|
105014
|
-
return t === "wo" ? n.ordinalNumber(o, { unit: "week" }) :
|
|
105014
|
+
return t === "wo" ? n.ordinalNumber(o, { unit: "week" }) : Kn(o, t.length);
|
|
105015
105015
|
},
|
|
105016
105016
|
// ISO week of year
|
|
105017
105017
|
I: function(e, t, n) {
|
|
105018
105018
|
const r = Urn(e);
|
|
105019
|
-
return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) :
|
|
105019
|
+
return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : Kn(r, t.length);
|
|
105020
105020
|
},
|
|
105021
105021
|
// Day of the month
|
|
105022
105022
|
d: function(e, t, n) {
|
|
@@ -105025,7 +105025,7 @@ const K1 = {
|
|
|
105025
105025
|
// Day of year
|
|
105026
105026
|
D: function(e, t, n) {
|
|
105027
105027
|
const r = zrn(e);
|
|
105028
|
-
return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) :
|
|
105028
|
+
return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : Kn(r, t.length);
|
|
105029
105029
|
},
|
|
105030
105030
|
// Day of week
|
|
105031
105031
|
E: function(e, t, n) {
|
|
@@ -105063,7 +105063,7 @@ const K1 = {
|
|
|
105063
105063
|
case "e":
|
|
105064
105064
|
return String(i);
|
|
105065
105065
|
case "ee":
|
|
105066
|
-
return
|
|
105066
|
+
return Kn(i, 2);
|
|
105067
105067
|
case "eo":
|
|
105068
105068
|
return n.ordinalNumber(i, { unit: "day" });
|
|
105069
105069
|
case "eee":
|
|
@@ -105096,7 +105096,7 @@ const K1 = {
|
|
|
105096
105096
|
case "c":
|
|
105097
105097
|
return String(i);
|
|
105098
105098
|
case "cc":
|
|
105099
|
-
return
|
|
105099
|
+
return Kn(i, t.length);
|
|
105100
105100
|
case "co":
|
|
105101
105101
|
return n.ordinalNumber(i, { unit: "day" });
|
|
105102
105102
|
case "ccc":
|
|
@@ -105129,7 +105129,7 @@ const K1 = {
|
|
|
105129
105129
|
case "i":
|
|
105130
105130
|
return String(o);
|
|
105131
105131
|
case "ii":
|
|
105132
|
-
return
|
|
105132
|
+
return Kn(o, t.length);
|
|
105133
105133
|
case "io":
|
|
105134
105134
|
return n.ordinalNumber(o, { unit: "day" });
|
|
105135
105135
|
case "iii":
|
|
@@ -105252,12 +105252,12 @@ const K1 = {
|
|
|
105252
105252
|
// Hour [0-11]
|
|
105253
105253
|
K: function(e, t, n) {
|
|
105254
105254
|
const r = e.getHours() % 12;
|
|
105255
|
-
return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) :
|
|
105255
|
+
return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : Kn(r, t.length);
|
|
105256
105256
|
},
|
|
105257
105257
|
// Hour [1-24]
|
|
105258
105258
|
k: function(e, t, n) {
|
|
105259
105259
|
let r = e.getHours();
|
|
105260
|
-
return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) :
|
|
105260
|
+
return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : Kn(r, t.length);
|
|
105261
105261
|
},
|
|
105262
105262
|
// Minute
|
|
105263
105263
|
m: function(e, t, n) {
|
|
@@ -105332,22 +105332,22 @@ const K1 = {
|
|
|
105332
105332
|
// Seconds timestamp
|
|
105333
105333
|
t: function(e, t, n) {
|
|
105334
105334
|
const r = Math.trunc(+e / 1e3);
|
|
105335
|
-
return
|
|
105335
|
+
return Kn(r, t.length);
|
|
105336
105336
|
},
|
|
105337
105337
|
// Milliseconds timestamp
|
|
105338
105338
|
T: function(e, t, n) {
|
|
105339
|
-
return
|
|
105339
|
+
return Kn(+e, t.length);
|
|
105340
105340
|
}
|
|
105341
105341
|
};
|
|
105342
105342
|
function OY(e, t = "") {
|
|
105343
105343
|
const n = e > 0 ? "-" : "+", r = Math.abs(e), o = Math.trunc(r / 60), i = r % 60;
|
|
105344
|
-
return i === 0 ? n + String(o) : n + String(o) + t +
|
|
105344
|
+
return i === 0 ? n + String(o) : n + String(o) + t + Kn(i, 2);
|
|
105345
105345
|
}
|
|
105346
105346
|
function RY(e, t) {
|
|
105347
|
-
return e % 60 === 0 ? (e > 0 ? "-" : "+") +
|
|
105347
|
+
return e % 60 === 0 ? (e > 0 ? "-" : "+") + Kn(Math.abs(e) / 60, 2) : rf(e, t);
|
|
105348
105348
|
}
|
|
105349
105349
|
function rf(e, t = "") {
|
|
105350
|
-
const n = e > 0 ? "-" : "+", r = Math.abs(e), o =
|
|
105350
|
+
const n = e > 0 ? "-" : "+", r = Math.abs(e), o = Kn(Math.trunc(r / 60), 2), i = Kn(r % 60, 2);
|
|
105351
105351
|
return n + o + t + i;
|
|
105352
105352
|
}
|
|
105353
105353
|
const PY = (e, t) => {
|
|
@@ -106239,9 +106239,7 @@ Rn.addRule("taskListItem", {
|
|
|
106239
106239
|
}
|
|
106240
106240
|
});
|
|
106241
106241
|
Rn.addRule("pageBreak", {
|
|
106242
|
-
filter:
|
|
106243
|
-
return e.nodeName === "BR" && e.getAttribute("data-page-break") === "true";
|
|
106244
|
-
},
|
|
106242
|
+
filter: "br",
|
|
106245
106243
|
replacement: function() {
|
|
106246
106244
|
return `
|
|
106247
106245
|
|
|
@@ -106301,7 +106299,8 @@ Rn.addRule("inlineCode", {
|
|
|
106301
106299
|
Rn.addRule("listItem", {
|
|
106302
106300
|
filter: "li",
|
|
106303
106301
|
replacement: function(e, t, n) {
|
|
106304
|
-
e = e.replace(/^\n+/, "").replace(/\n+$/, "").replace(
|
|
106302
|
+
e = e.replace(/^\n+/, "").replace(/\n+$/, "").replace(/\n\s*\n/g, `
|
|
106303
|
+
`).replace(/\n/gm, `
|
|
106305
106304
|
`);
|
|
106306
106305
|
let r = n.bulletListMarker + " ";
|
|
106307
106306
|
const o = t.parentNode;
|
|
@@ -115924,7 +115923,8 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
|
|
|
115924
115923
|
),
|
|
115925
115924
|
onClick: () => {
|
|
115926
115925
|
t((d) => !d), o(!1);
|
|
115927
|
-
}
|
|
115926
|
+
},
|
|
115927
|
+
"data-testid": "export-import-dropdown"
|
|
115928
115928
|
}
|
|
115929
115929
|
) }),
|
|
115930
115930
|
content: /* @__PURE__ */ E.jsxs("div", { className: "w-[220px] rounded-lg p-2 flex flex-col gap-1 scroll-smooth color-bg-default shadow-elevation-3 transition-all color-text-default", children: [
|
|
@@ -115939,6 +115939,7 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
|
|
|
115939
115939
|
u = setTimeout(() => l(!1), 300);
|
|
115940
115940
|
},
|
|
115941
115941
|
className: "appearance-none bg-transparent hover:color-bg-default-hover h-8 rounded p-2 w-full text-left flex items-center justify-between transition text-body-sm",
|
|
115942
|
+
"data-testid": "export-dropdown",
|
|
115942
115943
|
children: [
|
|
115943
115944
|
/* @__PURE__ */ E.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
115944
115945
|
/* @__PURE__ */ E.jsx(Ve, { name: "FileExport", className: "w-5 h-5" }),
|
|
@@ -115961,24 +115962,28 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
|
|
|
115961
115962
|
u = setTimeout(() => l(!1), 300);
|
|
115962
115963
|
},
|
|
115963
115964
|
className: "w-[220px] rounded-lg p-2 flex flex-col gap-1 scroll-smooth color-bg-default shadow-elevation-3 transition-all color-text-default",
|
|
115964
|
-
children: n.filter((d) => d !== null).map((d, f) =>
|
|
115965
|
-
|
|
115966
|
-
|
|
115967
|
-
|
|
115968
|
-
|
|
115969
|
-
d
|
|
115965
|
+
children: n.filter((d) => d !== null).map((d, f) => {
|
|
115966
|
+
var h, p, g;
|
|
115967
|
+
return /* @__PURE__ */ E.jsxs(
|
|
115968
|
+
"button",
|
|
115969
|
+
{
|
|
115970
|
+
disabled: d == null ? void 0 : d.disabled,
|
|
115971
|
+
onClick: () => {
|
|
115972
|
+
d != null && d.disabled || (t(!1), d == null || d.onClick());
|
|
115973
|
+
},
|
|
115974
|
+
className: Te(
|
|
115975
|
+
"h-8 rounded p-2 w-full text-left flex items-center justify-between transition text-body-sm",
|
|
115976
|
+
d != null && d.disabled ? "opacity-50 cursor-not-allowed" : "hover:color-bg-default-hover"
|
|
115977
|
+
),
|
|
115978
|
+
"data-testid": `export-${((p = (h = d == null ? void 0 : d.title) == null ? void 0 : h.match(/\(\.(\w+)\)/)) == null ? void 0 : p[1]) || ((g = d == null ? void 0 : d.title) == null ? void 0 : g.toLowerCase().replace(/[^a-z]/g, "-"))}`,
|
|
115979
|
+
children: [
|
|
115980
|
+
/* @__PURE__ */ E.jsx("span", { className: "text-body-sm", children: d == null ? void 0 : d.title }),
|
|
115981
|
+
(d == null ? void 0 : d.isNew) && /* @__PURE__ */ E.jsx("p", { className: "max-h-[16px] flex items-center text-[8px] color-bg-brand text-black rounded p-1 font-semibold", children: "NEW" })
|
|
115982
|
+
]
|
|
115970
115983
|
},
|
|
115971
|
-
|
|
115972
|
-
|
|
115973
|
-
|
|
115974
|
-
),
|
|
115975
|
-
children: [
|
|
115976
|
-
/* @__PURE__ */ E.jsx("span", { className: "text-body-sm", children: d == null ? void 0 : d.title }),
|
|
115977
|
-
(d == null ? void 0 : d.isNew) && /* @__PURE__ */ E.jsx("p", { className: "max-h-[16px] flex items-center text-[8px] color-bg-brand text-black rounded p-1 font-semibold", children: "NEW" })
|
|
115978
|
-
]
|
|
115979
|
-
},
|
|
115980
|
-
f
|
|
115981
|
-
))
|
|
115984
|
+
f
|
|
115985
|
+
);
|
|
115986
|
+
})
|
|
115982
115987
|
}
|
|
115983
115988
|
)
|
|
115984
115989
|
] }),
|
|
@@ -115993,6 +115998,7 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
|
|
|
115993
115998
|
c = setTimeout(() => a(!1), 300);
|
|
115994
115999
|
},
|
|
115995
116000
|
className: "appearance-none bg-transparent hover:color-bg-default-hover h-8 rounded p-2 w-full text-left flex items-center justify-between transition text-body-sm",
|
|
116001
|
+
"data-testid": "import-dropdown",
|
|
115996
116002
|
children: [
|
|
115997
116003
|
/* @__PURE__ */ E.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
115998
116004
|
/* @__PURE__ */ E.jsx(Ve, { name: "FileImport", className: "w-5 h-5" }),
|
|
@@ -116015,20 +116021,24 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
|
|
|
116015
116021
|
c = setTimeout(() => a(!1), 300);
|
|
116016
116022
|
},
|
|
116017
116023
|
className: "w-[220px] rounded-lg p-2 flex flex-col gap-1 scroll-smooth color-bg-default shadow-elevation-3 transition-all color-text-default",
|
|
116018
|
-
children: r.filter((d) => d !== null).map((d, f) =>
|
|
116019
|
-
|
|
116020
|
-
|
|
116021
|
-
|
|
116022
|
-
|
|
116024
|
+
children: r.filter((d) => d !== null).map((d, f) => {
|
|
116025
|
+
var h, p, g;
|
|
116026
|
+
return /* @__PURE__ */ E.jsxs(
|
|
116027
|
+
"button",
|
|
116028
|
+
{
|
|
116029
|
+
onClick: () => {
|
|
116030
|
+
t(!1), d == null || d.onClick();
|
|
116031
|
+
},
|
|
116032
|
+
className: "hover:color-bg-default-hover h-8 rounded p-2 w-full text-left flex items-center justify-between transition text-body-sm",
|
|
116033
|
+
"data-testid": `import-${((p = (h = d == null ? void 0 : d.title) == null ? void 0 : h.match(/\(\.(\w+)\)/)) == null ? void 0 : p[1]) || ((g = d == null ? void 0 : d.title) == null ? void 0 : g.toLowerCase().replace(/[^a-z]/g, "-"))}`,
|
|
116034
|
+
children: [
|
|
116035
|
+
/* @__PURE__ */ E.jsx("span", { className: "text-body-sm", children: d == null ? void 0 : d.title }),
|
|
116036
|
+
(d == null ? void 0 : d.isNew) && /* @__PURE__ */ E.jsx("p", { className: "max-h-[16px] flex items-center text-[8px] color-bg-brand text-black rounded p-1 font-semibold", children: "NEW" })
|
|
116037
|
+
]
|
|
116023
116038
|
},
|
|
116024
|
-
|
|
116025
|
-
|
|
116026
|
-
|
|
116027
|
-
(d == null ? void 0 : d.isNew) && /* @__PURE__ */ E.jsx("p", { className: "max-h-[16px] flex items-center text-[8px] color-bg-brand text-black rounded p-1 font-semibold", children: "NEW" })
|
|
116028
|
-
]
|
|
116029
|
-
},
|
|
116030
|
-
f
|
|
116031
|
-
))
|
|
116039
|
+
f
|
|
116040
|
+
);
|
|
116041
|
+
})
|
|
116032
116042
|
}
|
|
116033
116043
|
)
|
|
116034
116044
|
] })
|
|
@@ -151364,9 +151374,9 @@ K8e.prototype = {
|
|
|
151364
151374
|
return r.name = e, r.nodeName = e, r.publicId = t || "", r.systemId = n || "", r;
|
|
151365
151375
|
}
|
|
151366
151376
|
};
|
|
151367
|
-
function
|
|
151377
|
+
function Xn() {
|
|
151368
151378
|
}
|
|
151369
|
-
|
|
151379
|
+
Xn.prototype = {
|
|
151370
151380
|
firstChild: null,
|
|
151371
151381
|
lastChild: null,
|
|
151372
151382
|
previousSibling: null,
|
|
@@ -151458,8 +151468,8 @@ Jn.prototype = {
|
|
|
151458
151468
|
function Y8e(e) {
|
|
151459
151469
|
return e == "<" && "<" || e == ">" && ">" || e == "&" && "&" || e == '"' && """ || "&#" + e.charCodeAt() + ";";
|
|
151460
151470
|
}
|
|
151461
|
-
L5(Fa,
|
|
151462
|
-
L5(Fa,
|
|
151471
|
+
L5(Fa, Xn);
|
|
151472
|
+
L5(Fa, Xn.prototype);
|
|
151463
151473
|
function Wb(e, t) {
|
|
151464
151474
|
if (t(e))
|
|
151465
151475
|
return !0;
|
|
@@ -151500,19 +151510,19 @@ function J8e(e, t) {
|
|
|
151500
151510
|
return n ? n.nextSibling = r : e.firstChild = r, r ? r.previousSibling = n : e.lastChild = n, t.parentNode = null, t.previousSibling = null, t.nextSibling = null, tq(e.ownerDocument, e), t;
|
|
151501
151511
|
}
|
|
151502
151512
|
function ykn(e) {
|
|
151503
|
-
return e && (e.nodeType ===
|
|
151513
|
+
return e && (e.nodeType === Xn.DOCUMENT_NODE || e.nodeType === Xn.DOCUMENT_FRAGMENT_NODE || e.nodeType === Xn.ELEMENT_NODE);
|
|
151504
151514
|
}
|
|
151505
151515
|
function bkn(e) {
|
|
151506
|
-
return e && (Bu(e) || nq(e) || x1(e) || e.nodeType ===
|
|
151516
|
+
return e && (Bu(e) || nq(e) || x1(e) || e.nodeType === Xn.DOCUMENT_FRAGMENT_NODE || e.nodeType === Xn.COMMENT_NODE || e.nodeType === Xn.PROCESSING_INSTRUCTION_NODE);
|
|
151507
151517
|
}
|
|
151508
151518
|
function x1(e) {
|
|
151509
|
-
return e && e.nodeType ===
|
|
151519
|
+
return e && e.nodeType === Xn.DOCUMENT_TYPE_NODE;
|
|
151510
151520
|
}
|
|
151511
151521
|
function Bu(e) {
|
|
151512
|
-
return e && e.nodeType ===
|
|
151522
|
+
return e && e.nodeType === Xn.ELEMENT_NODE;
|
|
151513
151523
|
}
|
|
151514
151524
|
function nq(e) {
|
|
151515
|
-
return e && e.nodeType ===
|
|
151525
|
+
return e && e.nodeType === Xn.TEXT_NODE;
|
|
151516
151526
|
}
|
|
151517
151527
|
function yne(e, t) {
|
|
151518
151528
|
var n = e.childNodes || [];
|
|
@@ -151542,7 +151552,7 @@ function vkn(e, t, n) {
|
|
|
151542
151552
|
// the sax parser currently adds top level text nodes, this will be fixed in 0.9.0
|
|
151543
151553
|
// || (node.nodeType === Node.TEXT_NODE && parent.nodeType === Node.DOCUMENT_NODE)
|
|
151544
151554
|
// or `node` is a doctype and `parent` is not a document, then throw a "HierarchyRequestError" DOMException.
|
|
151545
|
-
x1(t) && e.nodeType !==
|
|
151555
|
+
x1(t) && e.nodeType !== Xn.DOCUMENT_NODE
|
|
151546
151556
|
)
|
|
151547
151557
|
throw new Kr(
|
|
151548
151558
|
Xi,
|
|
@@ -151551,7 +151561,7 @@ function vkn(e, t, n) {
|
|
|
151551
151561
|
}
|
|
151552
151562
|
function xkn(e, t, n) {
|
|
151553
151563
|
var r = e.childNodes || [], o = t.childNodes || [];
|
|
151554
|
-
if (t.nodeType ===
|
|
151564
|
+
if (t.nodeType === Xn.DOCUMENT_FRAGMENT_NODE) {
|
|
151555
151565
|
var i = o.filter(Bu);
|
|
151556
151566
|
if (i.length > 1 || Iu(o, nq))
|
|
151557
151567
|
throw new Kr(Xi, "More than one element or text in fragment");
|
|
@@ -151572,7 +151582,7 @@ function xkn(e, t, n) {
|
|
|
151572
151582
|
}
|
|
151573
151583
|
function Q8e(e, t, n) {
|
|
151574
151584
|
var r = e.childNodes || [], o = t.childNodes || [];
|
|
151575
|
-
if (t.nodeType ===
|
|
151585
|
+
if (t.nodeType === Xn.DOCUMENT_FRAGMENT_NODE) {
|
|
151576
151586
|
var i = o.filter(Bu);
|
|
151577
151587
|
if (i.length > 1 || Iu(o, nq))
|
|
151578
151588
|
throw new Kr(Xi, "More than one element or text in fragment");
|
|
@@ -151592,7 +151602,7 @@ function Q8e(e, t, n) {
|
|
|
151592
151602
|
}
|
|
151593
151603
|
}
|
|
151594
151604
|
function cw(e, t, n, r) {
|
|
151595
|
-
vkn(e, t, n), e.nodeType ===
|
|
151605
|
+
vkn(e, t, n), e.nodeType === Xn.DOCUMENT_NODE && (r || xkn)(e, t, n);
|
|
151596
151606
|
var o = t.parentNode;
|
|
151597
151607
|
if (o && o.removeChild(t), t.nodeType === v1) {
|
|
151598
151608
|
var i = t.firstChild;
|
|
@@ -151749,7 +151759,7 @@ N5.prototype = {
|
|
|
151749
151759
|
return n.ownerDocument = this, n.nodeName = t, n.name = t, n.namespaceURI = e, n.specified = !0, r.length == 2 ? (n.prefix = r[0], n.localName = r[1]) : n.localName = t, n;
|
|
151750
151760
|
}
|
|
151751
151761
|
};
|
|
151752
|
-
ka(N5,
|
|
151762
|
+
ka(N5, Xn);
|
|
151753
151763
|
function Th() {
|
|
151754
151764
|
this._nsMap = {};
|
|
151755
151765
|
}
|
|
@@ -151824,11 +151834,11 @@ Th.prototype = {
|
|
|
151824
151834
|
};
|
|
151825
151835
|
N5.prototype.getElementsByTagName = Th.prototype.getElementsByTagName;
|
|
151826
151836
|
N5.prototype.getElementsByTagNameNS = Th.prototype.getElementsByTagNameNS;
|
|
151827
|
-
ka(Th,
|
|
151837
|
+
ka(Th, Xn);
|
|
151828
151838
|
function dw() {
|
|
151829
151839
|
}
|
|
151830
151840
|
dw.prototype.nodeType = Bg;
|
|
151831
|
-
ka(dw,
|
|
151841
|
+
ka(dw, Xn);
|
|
151832
151842
|
function _5() {
|
|
151833
151843
|
}
|
|
151834
151844
|
_5.prototype = {
|
|
@@ -151853,7 +151863,7 @@ _5.prototype = {
|
|
|
151853
151863
|
n = r + n + o, this.nodeValue = this.data = n, this.length = n.length;
|
|
151854
151864
|
}
|
|
151855
151865
|
};
|
|
151856
|
-
ka(_5,
|
|
151866
|
+
ka(_5, Xn);
|
|
151857
151867
|
function rq() {
|
|
151858
151868
|
}
|
|
151859
151869
|
rq.prototype = {
|
|
@@ -151884,34 +151894,34 @@ ka(iq, _5);
|
|
|
151884
151894
|
function UC() {
|
|
151885
151895
|
}
|
|
151886
151896
|
UC.prototype.nodeType = $8e;
|
|
151887
|
-
ka(UC,
|
|
151897
|
+
ka(UC, Xn);
|
|
151888
151898
|
function e9e() {
|
|
151889
151899
|
}
|
|
151890
151900
|
e9e.prototype.nodeType = gkn;
|
|
151891
|
-
ka(e9e,
|
|
151901
|
+
ka(e9e, Xn);
|
|
151892
151902
|
function t9e() {
|
|
151893
151903
|
}
|
|
151894
151904
|
t9e.prototype.nodeType = pkn;
|
|
151895
|
-
ka(t9e,
|
|
151905
|
+
ka(t9e, Xn);
|
|
151896
151906
|
function aq() {
|
|
151897
151907
|
}
|
|
151898
151908
|
aq.prototype.nodeType = H8e;
|
|
151899
|
-
ka(aq,
|
|
151909
|
+
ka(aq, Xn);
|
|
151900
151910
|
function HC() {
|
|
151901
151911
|
}
|
|
151902
151912
|
HC.prototype.nodeName = "#document-fragment";
|
|
151903
151913
|
HC.prototype.nodeType = v1;
|
|
151904
|
-
ka(HC,
|
|
151914
|
+
ka(HC, Xn);
|
|
151905
151915
|
function sq() {
|
|
151906
151916
|
}
|
|
151907
151917
|
sq.prototype.nodeType = q8e;
|
|
151908
|
-
ka(sq,
|
|
151918
|
+
ka(sq, Xn);
|
|
151909
151919
|
function n9e() {
|
|
151910
151920
|
}
|
|
151911
151921
|
n9e.prototype.serializeToString = function(e, t, n) {
|
|
151912
151922
|
return r9e.call(e, t, n);
|
|
151913
151923
|
};
|
|
151914
|
-
|
|
151924
|
+
Xn.prototype.toString = r9e;
|
|
151915
151925
|
function r9e(e, t) {
|
|
151916
151926
|
var n = [], r = this.nodeType == 9 && this.documentElement || this, o = r.prefix, i = r.namespaceURI;
|
|
151917
151927
|
if (i && o == null) {
|
|
@@ -152096,7 +152106,7 @@ try {
|
|
|
152096
152106
|
get: function() {
|
|
152097
152107
|
return eq(this), this.$$length;
|
|
152098
152108
|
}
|
|
152099
|
-
}), Object.defineProperty(
|
|
152109
|
+
}), Object.defineProperty(Xn.prototype, "textContent", {
|
|
152100
152110
|
get: function() {
|
|
152101
152111
|
return e(this);
|
|
152102
152112
|
},
|
|
@@ -152122,7 +152132,7 @@ lc.DocumentType = UC;
|
|
|
152122
152132
|
lc.DOMException = Kr;
|
|
152123
152133
|
lc.DOMImplementation = K8e;
|
|
152124
152134
|
lc.Element = Th;
|
|
152125
|
-
lc.Node =
|
|
152135
|
+
lc.Node = Xn;
|
|
152126
152136
|
lc.NodeList = Qc;
|
|
152127
152137
|
lc.XMLSerializer = n9e;
|
|
152128
152138
|
var qC = {}, a9e = {};
|
|
@@ -254016,7 +254026,7 @@ var $p = "", II = "#", _3 = "*", jp = {}, Lp = function(e) {
|
|
|
254016
254026
|
function MNn(e, t) {
|
|
254017
254027
|
return !Zr && !("predictableActionArguments" in e) && !Ooe && (Ooe = !0, console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")), new Ike(e, t);
|
|
254018
254028
|
}
|
|
254019
|
-
var
|
|
254029
|
+
var Jn = iNn;
|
|
254020
254030
|
const ENn = {
|
|
254021
254031
|
socketClient: null,
|
|
254022
254032
|
roomId: "",
|
|
@@ -258997,8 +259007,8 @@ var kOn = function(e, t, n, r) {
|
|
|
258997
259007
|
}
|
|
258998
259008
|
u((r = r.apply(e, t || [])).next());
|
|
258999
259009
|
});
|
|
259000
|
-
},
|
|
259001
|
-
return this instanceof
|
|
259010
|
+
}, Yn = function(e) {
|
|
259011
|
+
return this instanceof Yn ? (this.v = e, this) : new Yn(e);
|
|
259002
259012
|
}, qc = function(e) {
|
|
259003
259013
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
259004
259014
|
var t = e[Symbol.asyncIterator], n;
|
|
@@ -259026,7 +259036,7 @@ var kOn = function(e, t, n, r) {
|
|
|
259026
259036
|
}, t;
|
|
259027
259037
|
function r(o, i) {
|
|
259028
259038
|
t[o] = e[o] ? function(a) {
|
|
259029
|
-
return (n = !n) ? { value:
|
|
259039
|
+
return (n = !n) ? { value: Yn(e[o](a)), done: o === "return" } : i ? i(a) : a;
|
|
259030
259040
|
} : i;
|
|
259031
259041
|
}
|
|
259032
259042
|
}, V5 = function(e, t, n) {
|
|
@@ -259050,7 +259060,7 @@ var kOn = function(e, t, n, r) {
|
|
|
259050
259060
|
}
|
|
259051
259061
|
}
|
|
259052
259062
|
function l(f) {
|
|
259053
|
-
f.value instanceof
|
|
259063
|
+
f.value instanceof Yn ? Promise.resolve(f.value.v).then(u, c) : d(i[0][2], f);
|
|
259054
259064
|
}
|
|
259055
259065
|
function u(f) {
|
|
259056
259066
|
s("next", f);
|
|
@@ -259066,9 +259076,9 @@ const qm = (e) => function(t, n, r = () => kOn(this, void 0, void 0, function* (
|
|
|
259066
259076
|
return !1;
|
|
259067
259077
|
})) {
|
|
259068
259078
|
return V5(this, arguments, function* () {
|
|
259069
|
-
if (yield
|
|
259070
|
-
return yield yield
|
|
259071
|
-
yield
|
|
259079
|
+
if (yield Yn(r(n)))
|
|
259080
|
+
return yield yield Yn(new Error(`UCAN Revoked: ${za(n)}`)), yield Yn(void 0);
|
|
259081
|
+
yield Yn(yield* Ky(qc(DOn(n)))), yield Yn(yield* Ky(qc(MOn(e, t, n, r))));
|
|
259072
259082
|
});
|
|
259073
259083
|
};
|
|
259074
259084
|
function AV(e) {
|
|
@@ -259118,10 +259128,10 @@ function MOn(e, t, n, r) {
|
|
|
259118
259128
|
var i, a;
|
|
259119
259129
|
let s = 0;
|
|
259120
259130
|
try {
|
|
259121
|
-
for (var l = qc(HFe(e)(n)), u; u = yield
|
|
259131
|
+
for (var l = qc(HFe(e)(n)), u; u = yield Yn(l.next()), !u.done; ) {
|
|
259122
259132
|
const d = u.value;
|
|
259123
259133
|
if (d instanceof Error) {
|
|
259124
|
-
yield yield
|
|
259134
|
+
yield yield Yn(d);
|
|
259125
259135
|
continue;
|
|
259126
259136
|
}
|
|
259127
259137
|
for (const f of n.payload.att)
|
|
@@ -259130,18 +259140,18 @@ function MOn(e, t, n, r) {
|
|
|
259130
259140
|
case "my":
|
|
259131
259141
|
continue;
|
|
259132
259142
|
case "as": {
|
|
259133
|
-
yield
|
|
259143
|
+
yield Yn(yield* Ky(qc(EOn(e, t, f, n, d, r))));
|
|
259134
259144
|
break;
|
|
259135
259145
|
}
|
|
259136
259146
|
case "prf": {
|
|
259137
|
-
yield
|
|
259147
|
+
yield Yn(yield* Ky(qc(AOn(e, t, f, n, d, s, r))));
|
|
259138
259148
|
break;
|
|
259139
259149
|
}
|
|
259140
259150
|
default:
|
|
259141
|
-
yield
|
|
259151
|
+
yield Yn(yield* Ky(qc(SOn(e, t, f, n, d, r))));
|
|
259142
259152
|
}
|
|
259143
259153
|
} catch (h) {
|
|
259144
|
-
yield yield
|
|
259154
|
+
yield yield Yn(c(h));
|
|
259145
259155
|
}
|
|
259146
259156
|
s++;
|
|
259147
259157
|
}
|
|
@@ -259149,7 +259159,7 @@ function MOn(e, t, n, r) {
|
|
|
259149
259159
|
i = { error: d };
|
|
259150
259160
|
} finally {
|
|
259151
259161
|
try {
|
|
259152
|
-
u && !u.done && (a = l.return) && (yield
|
|
259162
|
+
u && !u.done && (a = l.return) && (yield Yn(a.call(l)));
|
|
259153
259163
|
} finally {
|
|
259154
259164
|
if (i) throw i.error;
|
|
259155
259165
|
}
|
|
@@ -259164,13 +259174,13 @@ function EOn(e, t, n, r, o, i) {
|
|
|
259164
259174
|
var s, l;
|
|
259165
259175
|
const u = n.with.hierPart.split(":"), c = u[u.length - 1], d = u.slice(0, -1).join(":"), f = c === oo ? oo : { scheme: c, ability: n.can };
|
|
259166
259176
|
try {
|
|
259167
|
-
for (var h = qc(qm(e)(t, o, i)), p; p = yield
|
|
259177
|
+
for (var h = qc(qm(e)(t, o, i)), p; p = yield Yn(h.next()), !p.done; ) {
|
|
259168
259178
|
const g = p.value;
|
|
259169
259179
|
if (g instanceof Error) {
|
|
259170
|
-
yield yield
|
|
259180
|
+
yield yield Yn(g);
|
|
259171
259181
|
continue;
|
|
259172
259182
|
}
|
|
259173
|
-
"ownershipDID" in g && COn(t, d, f, g) && (yield yield
|
|
259183
|
+
"ownershipDID" in g && COn(t, d, f, g) && (yield yield Yn({
|
|
259174
259184
|
ownershipDID: d,
|
|
259175
259185
|
scope: f,
|
|
259176
259186
|
ucan: r,
|
|
@@ -259181,7 +259191,7 @@ function EOn(e, t, n, r, o, i) {
|
|
|
259181
259191
|
s = { error: g };
|
|
259182
259192
|
} finally {
|
|
259183
259193
|
try {
|
|
259184
|
-
p && !p.done && (l = h.return) && (yield
|
|
259194
|
+
p && !p.done && (l = h.return) && (yield Yn(l.call(h)));
|
|
259185
259195
|
} finally {
|
|
259186
259196
|
if (s) throw s.error;
|
|
259187
259197
|
}
|
|
@@ -259192,15 +259202,15 @@ function AOn(e, t, n, r, o, i, a) {
|
|
|
259192
259202
|
return V5(this, arguments, function* () {
|
|
259193
259203
|
var l, u;
|
|
259194
259204
|
if (n.with.hierPart !== oo && parseInt(n.with.hierPart, 10) !== i)
|
|
259195
|
-
return yield
|
|
259205
|
+
return yield Yn(void 0);
|
|
259196
259206
|
try {
|
|
259197
|
-
for (var c = qc(qm(e)(t, o, a)), d; d = yield
|
|
259207
|
+
for (var c = qc(qm(e)(t, o, a)), d; d = yield Yn(c.next()), !d.done; ) {
|
|
259198
259208
|
const f = d.value;
|
|
259199
259209
|
if (f instanceof Error) {
|
|
259200
|
-
yield yield
|
|
259210
|
+
yield yield Yn(f);
|
|
259201
259211
|
continue;
|
|
259202
259212
|
}
|
|
259203
|
-
"capability" in f && (yield yield
|
|
259213
|
+
"capability" in f && (yield yield Yn({
|
|
259204
259214
|
capability: f.capability,
|
|
259205
259215
|
ucan: r,
|
|
259206
259216
|
chainStep: f
|
|
@@ -259210,7 +259220,7 @@ function AOn(e, t, n, r, o, i, a) {
|
|
|
259210
259220
|
l = { error: f };
|
|
259211
259221
|
} finally {
|
|
259212
259222
|
try {
|
|
259213
|
-
d && !d.done && (u = c.return) && (yield
|
|
259223
|
+
d && !d.done && (u = c.return) && (yield Yn(u.call(c)));
|
|
259214
259224
|
} finally {
|
|
259215
259225
|
if (l) throw l.error;
|
|
259216
259226
|
}
|
|
@@ -259221,13 +259231,13 @@ function SOn(e, t, n, r, o, i) {
|
|
|
259221
259231
|
return V5(this, arguments, function* () {
|
|
259222
259232
|
var s, l;
|
|
259223
259233
|
try {
|
|
259224
|
-
for (var u = qc(qm(e)(t, o, i)), c; c = yield
|
|
259234
|
+
for (var u = qc(qm(e)(t, o, i)), c; c = yield Yn(u.next()), !c.done; ) {
|
|
259225
259235
|
const d = c.value;
|
|
259226
259236
|
if (d instanceof Error) {
|
|
259227
|
-
yield yield
|
|
259237
|
+
yield yield Yn(d);
|
|
259228
259238
|
continue;
|
|
259229
259239
|
}
|
|
259230
|
-
BD(t, n, d) && (yield yield
|
|
259240
|
+
BD(t, n, d) && (yield yield Yn({
|
|
259231
259241
|
capability: n,
|
|
259232
259242
|
ucan: r,
|
|
259233
259243
|
chainStep: d
|
|
@@ -259237,7 +259247,7 @@ function SOn(e, t, n, r, o, i) {
|
|
|
259237
259247
|
s = { error: d };
|
|
259238
259248
|
} finally {
|
|
259239
259249
|
try {
|
|
259240
|
-
c && !c.done && (l = u.return) && (yield
|
|
259250
|
+
c && !c.done && (l = u.return) && (yield Yn(l.call(u)));
|
|
259241
259251
|
} finally {
|
|
259242
259252
|
if (s) throw s.error;
|
|
259243
259253
|
}
|
|
@@ -260690,25 +260700,7 @@ const nRn = (e) => {
|
|
|
260690
260700
|
_awarenessUpdateHandler: null,
|
|
260691
260701
|
uncommittedUpdatesIdList: [],
|
|
260692
260702
|
updateQueue: []
|
|
260693
|
-
}), ARn = (e
|
|
260694
|
-
socketClient: null,
|
|
260695
|
-
roomId: "",
|
|
260696
|
-
roomMembers: [],
|
|
260697
|
-
isConnected: !1,
|
|
260698
|
-
awareness: null,
|
|
260699
|
-
_awarenessUpdateHandler: null,
|
|
260700
|
-
roomKey: "",
|
|
260701
|
-
wsUrl: "",
|
|
260702
|
-
uncommittedUpdatesIdList: [],
|
|
260703
|
-
updateQueue: [],
|
|
260704
|
-
isOwner: !1,
|
|
260705
|
-
isReady: !1,
|
|
260706
|
-
isNewDoc: !1,
|
|
260707
|
-
contentTobeAppliedQueue: [],
|
|
260708
|
-
initialUpdate: null,
|
|
260709
|
-
errorCount: 0,
|
|
260710
|
-
errorMessage: ""
|
|
260711
|
-
}), SRn = (e) => {
|
|
260703
|
+
}), ARn = (e) => {
|
|
260712
260704
|
var t, n;
|
|
260713
260705
|
return d7(
|
|
260714
260706
|
e.awareness,
|
|
@@ -260733,38 +260725,37 @@ const nRn = (e) => {
|
|
|
260733
260725
|
errorCount: 0,
|
|
260734
260726
|
errorMessage: ""
|
|
260735
260727
|
};
|
|
260736
|
-
},
|
|
260728
|
+
}, SRn = (e, t) => ({
|
|
260737
260729
|
initalDocumentDecryptionState: t.data
|
|
260738
|
-
}),
|
|
260739
|
-
resetState:
|
|
260740
|
-
initializeAwareness:
|
|
260741
|
-
updateConnectionState:
|
|
260742
|
-
initializeSync:
|
|
260743
|
-
applyRemoteYjsUpdate:
|
|
260744
|
-
updateRoomMembers:
|
|
260745
|
-
registerUpdate:
|
|
260746
|
-
clearUncommitedUpdates:
|
|
260747
|
-
addUpdateToQueue:
|
|
260748
|
-
removeLastProcessedUpdate:
|
|
260749
|
-
updateConnectionReadyState:
|
|
260750
|
-
setNewDocFlag:
|
|
260751
|
-
commitUncommittedIds:
|
|
260752
|
-
setConnectionActiveState:
|
|
260753
|
-
setMachineReadyState:
|
|
260754
|
-
addRemoteContentToQueue:
|
|
260755
|
-
applyContentsFromRemote:
|
|
260756
|
-
clearErrorCount:
|
|
260757
|
-
updateErrorCount:
|
|
260758
|
-
setCommitMessageError:
|
|
260759
|
-
setUpdateErrorMessage:
|
|
260760
|
-
setConnectionErrorMessage:
|
|
260761
|
-
setIpfsQueryErrorMessage:
|
|
260762
|
-
setInitialCommitErrorMessage:
|
|
260763
|
-
setInitialUpdateErrorMessage:
|
|
260764
|
-
handleDisconnectedState:
|
|
260765
|
-
|
|
260766
|
-
|
|
260767
|
-
setDocumentDecryptionState: Zn(TRn)
|
|
260730
|
+
}), TRn = {
|
|
260731
|
+
resetState: Jn(sRn),
|
|
260732
|
+
initializeAwareness: Jn(nRn),
|
|
260733
|
+
updateConnectionState: Jn(rRn),
|
|
260734
|
+
initializeSync: Jn(oRn),
|
|
260735
|
+
applyRemoteYjsUpdate: Jn(iRn),
|
|
260736
|
+
updateRoomMembers: Jn(aRn),
|
|
260737
|
+
registerUpdate: Jn(lRn),
|
|
260738
|
+
clearUncommitedUpdates: Jn(cRn),
|
|
260739
|
+
addUpdateToQueue: Jn(dRn),
|
|
260740
|
+
removeLastProcessedUpdate: Jn(uRn),
|
|
260741
|
+
updateConnectionReadyState: Jn(fRn),
|
|
260742
|
+
setNewDocFlag: Jn(hRn),
|
|
260743
|
+
commitUncommittedIds: Jn(pRn),
|
|
260744
|
+
setConnectionActiveState: Jn(gRn),
|
|
260745
|
+
setMachineReadyState: Jn(mRn),
|
|
260746
|
+
addRemoteContentToQueue: Jn(yRn),
|
|
260747
|
+
applyContentsFromRemote: Jn(bRn),
|
|
260748
|
+
clearErrorCount: Jn(vRn),
|
|
260749
|
+
updateErrorCount: Jn(xRn),
|
|
260750
|
+
setCommitMessageError: Jn(wRn),
|
|
260751
|
+
setUpdateErrorMessage: Jn(kRn),
|
|
260752
|
+
setConnectionErrorMessage: Jn(FRn),
|
|
260753
|
+
setIpfsQueryErrorMessage: Jn(CRn),
|
|
260754
|
+
setInitialCommitErrorMessage: Jn(DRn),
|
|
260755
|
+
setInitialUpdateErrorMessage: Jn(MRn),
|
|
260756
|
+
handleDisconnectedState: Jn(ERn),
|
|
260757
|
+
terminateSession: Jn(ARn),
|
|
260758
|
+
setDocumentDecryptionState: Jn(SRn)
|
|
260768
260759
|
}, Die = (e, t) => {
|
|
260769
260760
|
const n = new Blob([JSON.stringify(e)], {
|
|
260770
260761
|
type: "application/json"
|
|
@@ -260772,7 +260763,7 @@ const nRn = (e) => {
|
|
|
260772
260763
|
return new File([n], t, {
|
|
260773
260764
|
type: "application/json"
|
|
260774
260765
|
});
|
|
260775
|
-
},
|
|
260766
|
+
}, jRn = {
|
|
260776
260767
|
connectSocket: (e) => async (t) => {
|
|
260777
260768
|
const { socketClient: n, roomId: r, onError: o } = e;
|
|
260778
260769
|
if (!n)
|
|
@@ -260938,14 +260929,14 @@ const nRn = (e) => {
|
|
|
260938
260929
|
verifyConnectionState: (e) => async (t) => {
|
|
260939
260930
|
e.isConnected || t({ type: "DISCONNECT", data: null });
|
|
260940
260931
|
}
|
|
260941
|
-
},
|
|
260932
|
+
}, LRn = {
|
|
260942
260933
|
isUserConnected: (e) => e.isConnected,
|
|
260943
260934
|
hasMoreUpdates: (e) => e.updateQueue.length > 0,
|
|
260944
260935
|
isOwner: (e) => e.isOwner,
|
|
260945
260936
|
errorIsLessThanRetryCount: (e) => e.errorCount <= e.errorMaxRetryCount,
|
|
260946
260937
|
shouldRetryConnection: (e) => !!(e.roomId && e.socketClient && e.errorCount <= e.errorMaxRetryCount),
|
|
260947
260938
|
shouldRefetchCommit: (e) => !!(e.isConnected && e.errorCount <= e.errorMaxRetryCount)
|
|
260948
|
-
},
|
|
260939
|
+
}, NRn = MNn(
|
|
260949
260940
|
{
|
|
260950
260941
|
id: "fileverse-sync-machine",
|
|
260951
260942
|
schema: {
|
|
@@ -260982,10 +260973,6 @@ const nRn = (e) => {
|
|
|
260982
260973
|
SYNC_LATEST_COMMIT: {
|
|
260983
260974
|
target: "syncing_latest_commit"
|
|
260984
260975
|
},
|
|
260985
|
-
DISCONNECT: {
|
|
260986
|
-
actions: "handleDisconnectionDueToError",
|
|
260987
|
-
target: "disconnecting"
|
|
260988
|
-
},
|
|
260989
260976
|
INIT_AWARENESS: {
|
|
260990
260977
|
actions: "initializeAwareness"
|
|
260991
260978
|
},
|
|
@@ -261249,12 +261236,12 @@ const nRn = (e) => {
|
|
|
261249
261236
|
}
|
|
261250
261237
|
},
|
|
261251
261238
|
{
|
|
261252
|
-
actions:
|
|
261253
|
-
services:
|
|
261254
|
-
guards:
|
|
261239
|
+
actions: TRn,
|
|
261240
|
+
services: jRn,
|
|
261241
|
+
guards: LRn
|
|
261255
261242
|
}
|
|
261256
261243
|
);
|
|
261257
|
-
var
|
|
261244
|
+
var _Rn = es;
|
|
261258
261245
|
function Mie(e) {
|
|
261259
261246
|
var t = W.useRef();
|
|
261260
261247
|
return t.current || (t.current = { v: e() }), t.current.v;
|
|
@@ -261267,14 +261254,14 @@ var _w = function() {
|
|
|
261267
261254
|
}
|
|
261268
261255
|
return e;
|
|
261269
261256
|
}, _w.apply(this, arguments);
|
|
261270
|
-
},
|
|
261257
|
+
}, IRn = function(e, t) {
|
|
261271
261258
|
var n = {};
|
|
261272
261259
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
261273
261260
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
261274
261261
|
for (var o = 0, r = Object.getOwnPropertySymbols(e); o < r.length; o++)
|
|
261275
261262
|
t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
|
|
261276
261263
|
return n;
|
|
261277
|
-
},
|
|
261264
|
+
}, BRn = function(e, t) {
|
|
261278
261265
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
261279
261266
|
if (!n) return e;
|
|
261280
261267
|
var r = n.call(e), o, i = [], a;
|
|
@@ -261291,17 +261278,17 @@ var _w = function() {
|
|
|
261291
261278
|
}
|
|
261292
261279
|
return i;
|
|
261293
261280
|
};
|
|
261294
|
-
function
|
|
261281
|
+
function ORn(e, t) {
|
|
261295
261282
|
var n = Mie(function() {
|
|
261296
261283
|
return typeof e == "function" ? e() : e;
|
|
261297
261284
|
});
|
|
261298
261285
|
if (process.env.NODE_ENV !== "production" && typeof e != "function") {
|
|
261299
|
-
var r =
|
|
261286
|
+
var r = BRn(Re(n), 1), o = r[0];
|
|
261300
261287
|
e !== o && console.warn("Machine given to `useMachine` has changed between renders. This is not supported and might lead to unexpected results.\nPlease make sure that you pass the same Machine as argument each time.");
|
|
261301
261288
|
}
|
|
261302
261289
|
var i = t.context, a = t.guards, s = t.actions, l = t.activities, u = t.services, c = t.delays;
|
|
261303
261290
|
t.state;
|
|
261304
|
-
var d =
|
|
261291
|
+
var d = IRn(t, ["context", "guards", "actions", "activities", "services", "delays", "state"]), f = Mie(function() {
|
|
261305
261292
|
var h = {
|
|
261306
261293
|
context: i,
|
|
261307
261294
|
guards: a,
|
|
@@ -261314,23 +261301,23 @@ function RRn(e, t) {
|
|
|
261314
261301
|
});
|
|
261315
261302
|
return _ke(p, d);
|
|
261316
261303
|
});
|
|
261317
|
-
return
|
|
261304
|
+
return _Rn(function() {
|
|
261318
261305
|
Object.assign(f.machine.options.actions, s), Object.assign(f.machine.options.guards, a), Object.assign(f.machine.options.activities, l), Object.assign(f.machine.options.services, u), Object.assign(f.machine.options.delays, c);
|
|
261319
261306
|
}, [s, a, l, u, c]), f;
|
|
261320
261307
|
}
|
|
261321
|
-
function
|
|
261308
|
+
function RRn(e) {
|
|
261322
261309
|
return e.status !== 0 ? e.getSnapshot() : e.machine.initialState;
|
|
261323
261310
|
}
|
|
261324
|
-
function
|
|
261311
|
+
function PRn(e) {
|
|
261325
261312
|
return "state" in e && "machine" in e;
|
|
261326
261313
|
}
|
|
261327
|
-
function
|
|
261314
|
+
function zRn(e, t, n) {
|
|
261328
261315
|
if (e.status === Er.NotStarted)
|
|
261329
261316
|
return !0;
|
|
261330
261317
|
var r = n.changed === void 0 && (Object.keys(n.children).length > 0 || typeof t.changed == "boolean");
|
|
261331
261318
|
return !(n.changed || r);
|
|
261332
261319
|
}
|
|
261333
|
-
var
|
|
261320
|
+
var URn = function(e, t) {
|
|
261334
261321
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
261335
261322
|
if (!n) return e;
|
|
261336
261323
|
var r = n.call(e), o, i = [], a;
|
|
@@ -261347,20 +261334,20 @@ var HRn = function(e, t) {
|
|
|
261347
261334
|
}
|
|
261348
261335
|
return i;
|
|
261349
261336
|
};
|
|
261350
|
-
function
|
|
261337
|
+
function HRn(e) {
|
|
261351
261338
|
return e;
|
|
261352
261339
|
}
|
|
261353
|
-
function
|
|
261340
|
+
function qRn(e) {
|
|
261354
261341
|
for (var t = [], n = 1; n < arguments.length; n++)
|
|
261355
261342
|
t[n - 1] = arguments[n];
|
|
261356
|
-
var r =
|
|
261343
|
+
var r = URn(t, 1), o = r[0], i = o === void 0 ? {} : o, a = ORn(e, i), s = We(function() {
|
|
261357
261344
|
return a.status === Er.NotStarted ? i.state ? ja.create(i.state) : a.machine.initialState : a.getSnapshot();
|
|
261358
261345
|
}, [a]), l = We(function(d, f) {
|
|
261359
|
-
return
|
|
261346
|
+
return zRn(a, d, f);
|
|
261360
261347
|
}, [a]), u = We(function(d) {
|
|
261361
261348
|
var f = a.subscribe(d).unsubscribe;
|
|
261362
261349
|
return f;
|
|
261363
|
-
}, [a]), c = NB.useSyncExternalStoreWithSelector(u, s, s,
|
|
261350
|
+
}, [a]), c = NB.useSyncExternalStoreWithSelector(u, s, s, HRn, l);
|
|
261364
261351
|
return Ue(function() {
|
|
261365
261352
|
var d = i.state;
|
|
261366
261353
|
return a.start(d ? ja.create(d) : void 0), function() {
|
|
@@ -261368,31 +261355,31 @@ function VRn(e) {
|
|
|
261368
261355
|
};
|
|
261369
261356
|
}, []), [c, a.send, a];
|
|
261370
261357
|
}
|
|
261371
|
-
function
|
|
261358
|
+
function VRn(e) {
|
|
261372
261359
|
return "state" in e;
|
|
261373
261360
|
}
|
|
261374
|
-
var
|
|
261361
|
+
var WRn = function(e, t) {
|
|
261375
261362
|
return e === t;
|
|
261376
|
-
},
|
|
261377
|
-
if (
|
|
261363
|
+
}, $Rn = function(e, t) {
|
|
261364
|
+
if (PRn(e)) {
|
|
261378
261365
|
if (e.status === 0 && t.current)
|
|
261379
261366
|
return t.current;
|
|
261380
|
-
var n =
|
|
261367
|
+
var n = RRn(e);
|
|
261381
261368
|
return t.current = e.status === 0 ? n : null, n;
|
|
261382
261369
|
}
|
|
261383
|
-
return
|
|
261370
|
+
return VRn(e) ? e.state : void 0;
|
|
261384
261371
|
};
|
|
261385
261372
|
function B3(e, t, n, r) {
|
|
261386
|
-
n === void 0 && (n =
|
|
261373
|
+
n === void 0 && (n = WRn);
|
|
261387
261374
|
var o = Je(null), i = We(function(l) {
|
|
261388
261375
|
var u = e.subscribe(l).unsubscribe;
|
|
261389
261376
|
return u;
|
|
261390
261377
|
}, [e]), a = We(function() {
|
|
261391
|
-
return
|
|
261378
|
+
return $Rn(e, o);
|
|
261392
261379
|
}, [e, r]), s = NB.useSyncExternalStoreWithSelector(i, a, a, t, n);
|
|
261393
261380
|
return s;
|
|
261394
261381
|
}
|
|
261395
|
-
var
|
|
261382
|
+
var GRn = Object.defineProperty, ZRn = (e, t, n) => t in e ? GRn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Fu = (e, t, n) => (ZRn(e, typeof t != "symbol" ? t + "" : t, n), n), ll = /* @__PURE__ */ ((e) => (e[e.unknown = 0] = "unknown", e[e.machine = 1] = "machine", e[e.callback = 2] = "callback", e[e.promise = 3] = "promise", e[e.observable = 4] = "observable", e))(ll || {}), Gp = /* @__PURE__ */ ((e) => (e[e.unknown = 0] = "unknown", e[e.missing = 1] = "missing", e[e.forbidden = 2] = "forbidden", e[e.guardedAndNoChange = 3] = "guardedAndNoChange", e[e.taken = 4] = "taken", e))(Gp || {});
|
|
261396
261383
|
function Eie(e) {
|
|
261397
261384
|
return e.target != null || e.actions != null;
|
|
261398
261385
|
}
|
|
@@ -261402,10 +261389,10 @@ function WFe(e) {
|
|
|
261402
261389
|
function ul(e) {
|
|
261403
261390
|
return e.machine !== void 0;
|
|
261404
261391
|
}
|
|
261405
|
-
function
|
|
261392
|
+
function KRn(e) {
|
|
261406
261393
|
return typeof (e == null ? void 0 : e.type) == "string";
|
|
261407
261394
|
}
|
|
261408
|
-
function
|
|
261395
|
+
function YRn(e, t) {
|
|
261409
261396
|
const n = {
|
|
261410
261397
|
...t
|
|
261411
261398
|
};
|
|
@@ -261415,7 +261402,7 @@ function XRn(e, t) {
|
|
|
261415
261402
|
}
|
|
261416
261403
|
function $Fe(e) {
|
|
261417
261404
|
const t = {
|
|
261418
|
-
...
|
|
261405
|
+
...YRn(["actorRef", "subscription"], e),
|
|
261419
261406
|
snapshot: OD(e.snapshot),
|
|
261420
261407
|
actorId: e.actorRef.id,
|
|
261421
261408
|
machine: void 0
|
|
@@ -261434,24 +261421,24 @@ function tu(e, t, n) {
|
|
|
261434
261421
|
function Aie(e, t = 10) {
|
|
261435
261422
|
return e.length <= t ? e : e.slice(0, t) + "…";
|
|
261436
261423
|
}
|
|
261437
|
-
const
|
|
261438
|
-
function
|
|
261439
|
-
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "bigint" || typeof e > "u" || e === null || typeof e == "object" &&
|
|
261424
|
+
const XRn = [Promise, Date, RegExp];
|
|
261425
|
+
function JRn(e) {
|
|
261426
|
+
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "bigint" || typeof e > "u" || e === null || typeof e == "object" && XRn.some((t) => e instanceof t);
|
|
261440
261427
|
}
|
|
261441
|
-
function
|
|
261428
|
+
function QRn(e) {
|
|
261442
261429
|
return e instanceof Nke;
|
|
261443
261430
|
}
|
|
261444
|
-
function
|
|
261431
|
+
function ePn(e) {
|
|
261445
261432
|
return Array.isArray(e) || e instanceof Map ? e.entries() : Object.entries(e).values();
|
|
261446
261433
|
}
|
|
261447
|
-
const
|
|
261434
|
+
const tPn = (e) => (t) => e.length !== t.length ? !1 : e.every((n, r) => n === t[r]);
|
|
261448
261435
|
function Sie(e, t, n) {
|
|
261449
261436
|
const r = n.get(e);
|
|
261450
261437
|
if (!r)
|
|
261451
261438
|
return !1;
|
|
261452
261439
|
let o = t;
|
|
261453
261440
|
for (; ; ) {
|
|
261454
|
-
if (r.some(
|
|
261441
|
+
if (r.some(tPn(o)))
|
|
261455
261442
|
return !0;
|
|
261456
261443
|
if (o.length > 0)
|
|
261457
261444
|
o = o.slice(0, -1);
|
|
@@ -261472,14 +261459,14 @@ function Yy(e) {
|
|
|
261472
261459
|
]), r = {};
|
|
261473
261460
|
for (; t.length > 0; ) {
|
|
261474
261461
|
const [o, i] = t.shift();
|
|
261475
|
-
for (const [a, s] of
|
|
261476
|
-
if (
|
|
261462
|
+
for (const [a, s] of ePn(i))
|
|
261463
|
+
if (JRn(s))
|
|
261477
261464
|
tu([...o, a], s, r);
|
|
261478
261465
|
else if (typeof s == "function")
|
|
261479
261466
|
tu([...o, a], "<function>: " + Aie(s.toString(), 20), r);
|
|
261480
261467
|
else if (typeof s == "symbol")
|
|
261481
261468
|
tu([...o, a], "<symbol>: " + Aie(s.toString(), 20), r);
|
|
261482
|
-
else if (
|
|
261469
|
+
else if (QRn(s)) {
|
|
261483
261470
|
const l = {
|
|
261484
261471
|
id: s.id,
|
|
261485
261472
|
sessionId: s.sessionId,
|
|
@@ -261494,7 +261481,7 @@ function Yy(e) {
|
|
|
261494
261481
|
if (Sie(s, o, n))
|
|
261495
261482
|
tu([...o, a], "<circular>", r);
|
|
261496
261483
|
else {
|
|
261497
|
-
const l = XI(s) ?
|
|
261484
|
+
const l = XI(s) ? nPn(s) : s;
|
|
261498
261485
|
Tie(l, [...o, a], n), t.push([[...o, a], l]), tu([...o, a], {}, r);
|
|
261499
261486
|
}
|
|
261500
261487
|
else
|
|
@@ -261519,7 +261506,7 @@ function SV(e) {
|
|
|
261519
261506
|
context: Yy(e.context)
|
|
261520
261507
|
}) : Iw(e);
|
|
261521
261508
|
}
|
|
261522
|
-
function
|
|
261509
|
+
function nPn(e) {
|
|
261523
261510
|
const t = {
|
|
261524
261511
|
type: e.type
|
|
261525
261512
|
}, n = [
|
|
@@ -261539,26 +261526,26 @@ function XI(e) {
|
|
|
261539
261526
|
function GFe(e) {
|
|
261540
261527
|
return typeof e == "object" && e != null && Object.keys(e).every((t) => typeof t == "string");
|
|
261541
261528
|
}
|
|
261542
|
-
function
|
|
261529
|
+
function rPn(e, t) {
|
|
261543
261530
|
for (const n of e.children.values())
|
|
261544
261531
|
if (n.sessionId === t)
|
|
261545
261532
|
return n;
|
|
261546
261533
|
}
|
|
261547
|
-
const
|
|
261548
|
-
function
|
|
261534
|
+
const oPn = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm, iPn = /([^\s,]+)/g;
|
|
261535
|
+
function aPn(e) {
|
|
261549
261536
|
var t;
|
|
261550
|
-
const n = e.toString().replace(
|
|
261551
|
-
return (t = n.slice(n.indexOf("(") + 1, n.indexOf(")")).match(
|
|
261537
|
+
const n = e.toString().replace(oPn, "");
|
|
261538
|
+
return (t = n.slice(n.indexOf("(") + 1, n.indexOf(")")).match(iPn)) != null ? t : [];
|
|
261552
261539
|
}
|
|
261553
|
-
function
|
|
261540
|
+
function sPn(e) {
|
|
261554
261541
|
try {
|
|
261555
|
-
const t =
|
|
261542
|
+
const t = aPn(e.subscribe);
|
|
261556
261543
|
return t.length === 1 && t[0] === "next" ? ll.callback : t.length === 3 && t[0] === "next" && t[1] === "handleError" && t[2] === "complete" ? e.subscribe.toString().length > 150 ? ll.promise : ll.observable : ll.unknown;
|
|
261557
261544
|
} catch {
|
|
261558
261545
|
return console.error("Failed to introspect the subscribe method on an actor", e), ll.unknown;
|
|
261559
261546
|
}
|
|
261560
261547
|
}
|
|
261561
|
-
function
|
|
261548
|
+
function lPn(e, t) {
|
|
261562
261549
|
var n, r, o, i;
|
|
261563
261550
|
const a = ul(e), s = {
|
|
261564
261551
|
actorRef: e,
|
|
@@ -261574,26 +261561,26 @@ function uPn(e, t) {
|
|
|
261574
261561
|
type: ll.unknown,
|
|
261575
261562
|
dead: ul(e) ? e.initialized && (((n = e.getSnapshot) == null ? void 0 : n.call(e).done) || e.status === Er.Stopped) : !1
|
|
261576
261563
|
};
|
|
261577
|
-
return s.parent = e.parent ? (r = e.parent) == null ? void 0 : r.sessionId : t == null ? void 0 : t.sessionId, ul(e) ? (s.sessionId = e.sessionId, s.status = e.status, s.machine = e.machine.definition, s.type = ll.machine) : (s.sessionId = (i = (o = globalThis.crypto) == null ? void 0 : o.randomUUID()) != null ? i : String(Math.round(Math.random() * 1e6)), s.type =
|
|
261564
|
+
return s.parent = e.parent ? (r = e.parent) == null ? void 0 : r.sessionId : t == null ? void 0 : t.sessionId, ul(e) ? (s.sessionId = e.sessionId, s.status = e.status, s.machine = e.machine.definition, s.type = ll.machine) : (s.sessionId = (i = (o = globalThis.crypto) == null ? void 0 : o.randomUUID()) != null ? i : String(Math.round(Math.random() * 1e6)), s.type = sPn(e)), s;
|
|
261578
261565
|
}
|
|
261579
|
-
function
|
|
261566
|
+
function uPn(e, t) {
|
|
261580
261567
|
return {
|
|
261581
261568
|
name: e.name,
|
|
261582
261569
|
data: Yy(e.data),
|
|
261583
261570
|
origin: e.origin,
|
|
261584
261571
|
createdAt: Date.now(),
|
|
261585
|
-
transitionType:
|
|
261572
|
+
transitionType: cPn(t)
|
|
261586
261573
|
};
|
|
261587
261574
|
}
|
|
261588
|
-
function
|
|
261575
|
+
function cPn(e) {
|
|
261589
261576
|
if (ul(e)) {
|
|
261590
|
-
const { configuration: t, event: n } = e.state, r =
|
|
261577
|
+
const { configuration: t, event: n } = e.state, r = dPn(t);
|
|
261591
261578
|
switch (!0) {
|
|
261592
261579
|
case e.state.changed:
|
|
261593
261580
|
return Gp.taken;
|
|
261594
|
-
case
|
|
261581
|
+
case fPn(n.type, r):
|
|
261595
261582
|
return Gp.guardedAndNoChange;
|
|
261596
|
-
case
|
|
261583
|
+
case hPn(n.type, r):
|
|
261597
261584
|
return Gp.forbidden;
|
|
261598
261585
|
default:
|
|
261599
261586
|
return Gp.missing;
|
|
@@ -261601,10 +261588,10 @@ function dPn(e) {
|
|
|
261601
261588
|
}
|
|
261602
261589
|
return Gp.unknown;
|
|
261603
261590
|
}
|
|
261604
|
-
function
|
|
261591
|
+
function dPn(e) {
|
|
261605
261592
|
return e.slice().sort((t, n) => t.order < n.order ? -1 : 1);
|
|
261606
261593
|
}
|
|
261607
|
-
function
|
|
261594
|
+
function fPn(e, t) {
|
|
261608
261595
|
for (const n of t) {
|
|
261609
261596
|
if (n.config.on === void 0)
|
|
261610
261597
|
continue;
|
|
@@ -261625,7 +261612,7 @@ function hPn(e, t) {
|
|
|
261625
261612
|
}
|
|
261626
261613
|
return !1;
|
|
261627
261614
|
}
|
|
261628
|
-
function
|
|
261615
|
+
function hPn(e, t) {
|
|
261629
261616
|
for (const n of t) {
|
|
261630
261617
|
const r = n.config.on;
|
|
261631
261618
|
if (r !== void 0) {
|
|
@@ -261651,7 +261638,7 @@ function Iw(e) {
|
|
|
261651
261638
|
}
|
|
261652
261639
|
}
|
|
261653
261640
|
var Zp = /* @__PURE__ */ ((e) => (e.update = "@xstate/inspect.update", e.actor = "@xstate/inspect.actor", e.actors = "@xstate/inspect.actors", e.connect = "@xstate/inspect.connect", e.connected = "@xstate/inspect.connected", e.send = "@xstate/inspect.send", e.read = "@xstate/inspect.read", e.unregister = "@xstate-ninja/unregister", e.deadActorsCleared = "@xstate-ninja/deadActorsCleared", e.settingsChanged = "@xstate-ninja/settingsChanged", e.inspectorCreated = "@xstate-ninja/inspectorCreated", e))(Zp || {});
|
|
261654
|
-
class
|
|
261641
|
+
class pPn extends CustomEvent {
|
|
261655
261642
|
constructor(t) {
|
|
261656
261643
|
let n;
|
|
261657
261644
|
t.machine != null && (n = SV(t.machine)), super("@xstate/inspect.actor", {
|
|
@@ -261665,7 +261652,7 @@ class gPn extends CustomEvent {
|
|
|
261665
261652
|
}), Fu(this, "type", "@xstate/inspect.actor");
|
|
261666
261653
|
}
|
|
261667
261654
|
}
|
|
261668
|
-
class
|
|
261655
|
+
class gPn extends CustomEvent {
|
|
261669
261656
|
constructor(t, n) {
|
|
261670
261657
|
super("@xstate/inspect.update", {
|
|
261671
261658
|
detail: {
|
|
@@ -261675,12 +261662,12 @@ class mPn extends CustomEvent {
|
|
|
261675
261662
|
snapshot: OD(t.actorRef.getSnapshot()),
|
|
261676
261663
|
createdAt: Date.now(),
|
|
261677
261664
|
status: ul(t.actorRef) ? t.actorRef.status : 0,
|
|
261678
|
-
event:
|
|
261665
|
+
event: uPn(n, t.actorRef)
|
|
261679
261666
|
}
|
|
261680
261667
|
}), Fu(this, "type", "@xstate/inspect.update");
|
|
261681
261668
|
}
|
|
261682
261669
|
}
|
|
261683
|
-
class
|
|
261670
|
+
class mPn extends CustomEvent {
|
|
261684
261671
|
constructor(t) {
|
|
261685
261672
|
super("@xstate-ninja/unregister", {
|
|
261686
261673
|
detail: {
|
|
@@ -261695,7 +261682,7 @@ class yPn extends CustomEvent {
|
|
|
261695
261682
|
}), Fu(this, "type", "@xstate-ninja/unregister");
|
|
261696
261683
|
}
|
|
261697
261684
|
}
|
|
261698
|
-
class
|
|
261685
|
+
class yPn extends CustomEvent {
|
|
261699
261686
|
constructor() {
|
|
261700
261687
|
super("@xstate/inspect.connected", {
|
|
261701
261688
|
detail: {
|
|
@@ -261704,7 +261691,7 @@ class bPn extends CustomEvent {
|
|
|
261704
261691
|
}), Fu(this, "type", "@xstate/inspect.connected");
|
|
261705
261692
|
}
|
|
261706
261693
|
}
|
|
261707
|
-
class
|
|
261694
|
+
class bPn extends CustomEvent {
|
|
261708
261695
|
constructor(t) {
|
|
261709
261696
|
super("@xstate/inspect.actors", {
|
|
261710
261697
|
detail: {
|
|
@@ -261721,7 +261708,7 @@ class vPn extends CustomEvent {
|
|
|
261721
261708
|
}), Fu(this, "type", "@xstate/inspect.actors");
|
|
261722
261709
|
}
|
|
261723
261710
|
}
|
|
261724
|
-
class
|
|
261711
|
+
class vPn extends CustomEvent {
|
|
261725
261712
|
constructor() {
|
|
261726
261713
|
super("@xstate-ninja/inspectorCreated", {
|
|
261727
261714
|
detail: {
|
|
@@ -261730,13 +261717,13 @@ class xPn extends CustomEvent {
|
|
|
261730
261717
|
}), Fu(this, "type", "@xstate-ninja/inspectorCreated");
|
|
261731
261718
|
}
|
|
261732
261719
|
}
|
|
261733
|
-
class
|
|
261720
|
+
class xPn {
|
|
261734
261721
|
constructor({ logLevel: t, enabled: n } = {}) {
|
|
261735
261722
|
Fu(this, "actors"), Fu(this, "logLevel", 0), Fu(this, "enabled", !0), Fu(this, "trackedActorTypes", [
|
|
261736
261723
|
ll.machine,
|
|
261737
261724
|
ll.callback,
|
|
261738
261725
|
ll.observable
|
|
261739
|
-
]), this.actors = {}, this.register = this.register.bind(this), this.unregister = this.unregister.bind(this), this.onRegister = this.onRegister.bind(this), this.onUpdate = this.onUpdate.bind(this), this.onConnect = this.onConnect.bind(this), this.onRead = this.onRead.bind(this), this.onSend = this.onSend.bind(this), this.onDeadActorsCleared = this.onDeadActorsCleared.bind(this), this.forgetAllChildren = this.forgetAllChildren.bind(this), this.isActorTypeTracked = this.isActorTypeTracked.bind(this), this.onSettingsChanged = this.onSettingsChanged.bind(this), t !== void 0 && this.setLogLevel(t), n === void 0 && (this.enabled = !!(globalThis != null && globalThis.__xstate_ninja__)), globalThis.addEventListener(Zp.connect, this.onConnect), globalThis.addEventListener(Zp.read, this.onRead), globalThis.addEventListener(Zp.send, this.onSend), globalThis.addEventListener(Zp.deadActorsCleared, this.onDeadActorsCleared), globalThis.addEventListener(Zp.settingsChanged, this.onSettingsChanged), globalThis.dispatchEvent(new
|
|
261726
|
+
]), this.actors = {}, this.register = this.register.bind(this), this.unregister = this.unregister.bind(this), this.onRegister = this.onRegister.bind(this), this.onUpdate = this.onUpdate.bind(this), this.onConnect = this.onConnect.bind(this), this.onRead = this.onRead.bind(this), this.onSend = this.onSend.bind(this), this.onDeadActorsCleared = this.onDeadActorsCleared.bind(this), this.forgetAllChildren = this.forgetAllChildren.bind(this), this.isActorTypeTracked = this.isActorTypeTracked.bind(this), this.onSettingsChanged = this.onSettingsChanged.bind(this), t !== void 0 && this.setLogLevel(t), n === void 0 && (this.enabled = !!(globalThis != null && globalThis.__xstate_ninja__)), globalThis.addEventListener(Zp.connect, this.onConnect), globalThis.addEventListener(Zp.read, this.onRead), globalThis.addEventListener(Zp.send, this.onSend), globalThis.addEventListener(Zp.deadActorsCleared, this.onDeadActorsCleared), globalThis.addEventListener(Zp.settingsChanged, this.onSettingsChanged), globalThis.dispatchEvent(new vPn());
|
|
261740
261727
|
}
|
|
261741
261728
|
onSettingsChanged(t) {
|
|
261742
261729
|
this.log("received", t);
|
|
@@ -261756,12 +261743,12 @@ class wPn {
|
|
|
261756
261743
|
if (!this.enabled)
|
|
261757
261744
|
return;
|
|
261758
261745
|
this.log("register actor", t);
|
|
261759
|
-
const r =
|
|
261746
|
+
const r = lPn(t, n);
|
|
261760
261747
|
if (!this.isActorTypeTracked(r.type)) {
|
|
261761
261748
|
this.log(`Actor type ${r.type} is excluded from tracking.`);
|
|
261762
261749
|
return;
|
|
261763
261750
|
}
|
|
261764
|
-
const o = new
|
|
261751
|
+
const o = new pPn(r);
|
|
261765
261752
|
globalThis.dispatchEvent(o);
|
|
261766
261753
|
const i = (a) => ul(a) ? this.actors[a.sessionId] === void 0 : Object.values(this.actors).every((s) => s.actorRef.id !== a.id || s.parent !== r.sessionId || ul(s.actorRef));
|
|
261767
261754
|
r.subscription = t.subscribe((a) => {
|
|
@@ -261770,7 +261757,7 @@ class wPn {
|
|
|
261770
261757
|
let l;
|
|
261771
261758
|
if (ul(r.actorRef)) {
|
|
261772
261759
|
if (l = r.actorRef.state._event, l.origin != null && l.origin.match(/^x:\d/)) {
|
|
261773
|
-
const c = (s =
|
|
261760
|
+
const c = (s = rPn(r.actorRef, l.origin)) == null ? void 0 : s.id;
|
|
261774
261761
|
c != null && (l.origin = `${c} (${l.origin})`);
|
|
261775
261762
|
}
|
|
261776
261763
|
a.actions && (a.actions.filter((c) => c.type === "xstate.start").forEach((c) => {
|
|
@@ -261796,11 +261783,11 @@ class wPn {
|
|
|
261796
261783
|
c.parent === void 0 && Object.isExtensible(c) && (c.parent = d), this.register(c, d);
|
|
261797
261784
|
});
|
|
261798
261785
|
} else
|
|
261799
|
-
|
|
261786
|
+
KRn(a) ? l = fo(a) : l = fo({
|
|
261800
261787
|
type: `xstate-ninja.emitted-value.${r.actorRef.id}`,
|
|
261801
261788
|
data: a
|
|
261802
261789
|
});
|
|
261803
|
-
const u = new
|
|
261790
|
+
const u = new gPn(r, l);
|
|
261804
261791
|
r.history.push(u.detail), r.events.push(u.detail.event), globalThis.dispatchEvent(u), a != null && a.done && this.unregister(t);
|
|
261805
261792
|
}), ul(t) && t.onStop(() => {
|
|
261806
261793
|
var a;
|
|
@@ -261817,7 +261804,7 @@ class wPn {
|
|
|
261817
261804
|
return;
|
|
261818
261805
|
(r = i.subscription) == null || r.unsubscribe(), i.dead = !0;
|
|
261819
261806
|
const a = Date.now();
|
|
261820
|
-
i.updatedAt = a, i.diedAt = a, globalThis.dispatchEvent(new
|
|
261807
|
+
i.updatedAt = a, i.diedAt = a, globalThis.dispatchEvent(new mPn(i)), delete this.actors[o];
|
|
261821
261808
|
}
|
|
261822
261809
|
forgetAllChildren(t) {
|
|
261823
261810
|
!this.enabled || Object.values(this.actors).forEach((n) => {
|
|
@@ -261833,7 +261820,7 @@ class wPn {
|
|
|
261833
261820
|
return t({}), {};
|
|
261834
261821
|
}
|
|
261835
261822
|
onConnect(t) {
|
|
261836
|
-
!this.enabled || (this.log("received", t), globalThis.dispatchEvent(new
|
|
261823
|
+
!this.enabled || (this.log("received", t), globalThis.dispatchEvent(new yPn()), globalThis.dispatchEvent(new bPn(Object.values(this.actors))));
|
|
261837
261824
|
}
|
|
261838
261825
|
onRead(t) {
|
|
261839
261826
|
!this.enabled || (this.log("received", t), console.log("onSend not implemented", t));
|
|
@@ -261860,12 +261847,12 @@ class wPn {
|
|
|
261860
261847
|
}
|
|
261861
261848
|
}
|
|
261862
261849
|
let O3;
|
|
261863
|
-
function
|
|
261864
|
-
return O3 === void 0 && (O3 = new
|
|
261850
|
+
function wPn(e = {}) {
|
|
261851
|
+
return O3 === void 0 && (O3 = new xPn(e)), e.logLevel != null && O3.setLogLevel(e.logLevel), e.enabled != null && O3.setEnabled(e.enabled), O3;
|
|
261865
261852
|
}
|
|
261866
|
-
const jie =
|
|
261867
|
-
function
|
|
261868
|
-
const n =
|
|
261853
|
+
const jie = wPn();
|
|
261854
|
+
function kPn(e, t) {
|
|
261855
|
+
const n = qRn(e, t);
|
|
261869
261856
|
return Ue(() => {
|
|
261870
261857
|
if (t != null && t.devTools) {
|
|
261871
261858
|
const [, , r] = n;
|
|
@@ -261873,15 +261860,15 @@ function FPn(e, t) {
|
|
|
261873
261860
|
}
|
|
261874
261861
|
}, [t == null ? void 0 : t.devTools]), n;
|
|
261875
261862
|
}
|
|
261876
|
-
const
|
|
261877
|
-
const [, t, n] =
|
|
261863
|
+
const FPn = (e) => e.context.awareness, CPn = (e) => !!(e.context.isReady && e.context.awareness), DPn = (e) => e.context.isConnected, MPn = (e) => e.context.errorMessage, EPn = (e) => e.context.initalDocumentDecryptionState === "done", APn = (e) => {
|
|
261864
|
+
const [, t, n] = kPn(NRn, {
|
|
261878
261865
|
context: {
|
|
261879
261866
|
...e
|
|
261880
261867
|
},
|
|
261881
261868
|
devTools: !0
|
|
261882
|
-
}), r = B3(n,
|
|
261869
|
+
}), r = B3(n, FPn), o = B3(n, CPn), i = B3(n, DPn), a = B3(n, MPn), s = B3(
|
|
261883
261870
|
n,
|
|
261884
|
-
|
|
261871
|
+
EPn
|
|
261885
261872
|
), l = We(
|
|
261886
261873
|
(d) => {
|
|
261887
261874
|
t({
|
|
@@ -261949,7 +261936,7 @@ const CPn = (e) => e.context.awareness, DPn = (e) => !!(e.context.isReady && e.c
|
|
|
261949
261936
|
awareness: r,
|
|
261950
261937
|
hasCollabContentInitialised: s
|
|
261951
261938
|
};
|
|
261952
|
-
}, Bw = /(?:https?:\/\/)?(?:www\.)?(?:twitter\.com|x\.com)\/(?:#!\/)?(\w+)\/status\/(\d+)/,
|
|
261939
|
+
}, Bw = /(?:https?:\/\/)?(?:www\.)?(?:twitter\.com|x\.com)\/(?:#!\/)?(\w+)\/status\/(\d+)/, SPn = (e) => e ? !!e.match(Bw) : !1, Gx = [
|
|
261953
261940
|
"#30bced",
|
|
261954
261941
|
"#6eeb83",
|
|
261955
261942
|
"#fa69d1",
|
|
@@ -262002,7 +261989,7 @@ const CPn = (e) => e.context.awareness, DPn = (e) => !!(e.context.isReady && e.c
|
|
|
262002
261989
|
terminateSession: q,
|
|
262003
261990
|
awareness: z,
|
|
262004
261991
|
hasCollabContentInitialised: Y
|
|
262005
|
-
} =
|
|
261992
|
+
} = APn({
|
|
262006
261993
|
onError: L.onCollabError,
|
|
262007
261994
|
ydoc: I,
|
|
262008
261995
|
onCollaborationConnectCallback: L.onCollaborationConnectCallback,
|
|
@@ -262439,7 +262426,7 @@ const CPn = (e) => e.context.awareness, DPn = (e) => !!(e.context.isReady && e.c
|
|
|
262439
262426
|
setTocItems: P,
|
|
262440
262427
|
terminateSession: q
|
|
262441
262428
|
};
|
|
262442
|
-
},
|
|
262429
|
+
}, TPn = ({
|
|
262443
262430
|
editor: e,
|
|
262444
262431
|
onError: t,
|
|
262445
262432
|
isKeyboardVisible: n,
|
|
@@ -262641,9 +262628,7 @@ new So({
|
|
|
262641
262628
|
typographer: !0
|
|
262642
262629
|
}).enable("table");
|
|
262643
262630
|
Rn.addRule("pageBreak", {
|
|
262644
|
-
filter:
|
|
262645
|
-
return e.nodeName === "BR" && e.getAttribute("data-page-break") === "true";
|
|
262646
|
-
},
|
|
262631
|
+
filter: "br",
|
|
262647
262632
|
replacement: function() {
|
|
262648
262633
|
return `
|
|
262649
262634
|
|
|
@@ -262652,7 +262637,7 @@ Rn.addRule("pageBreak", {
|
|
|
262652
262637
|
`;
|
|
262653
262638
|
}
|
|
262654
262639
|
});
|
|
262655
|
-
const
|
|
262640
|
+
const jPn = (e) => {
|
|
262656
262641
|
if (!e.nodeName) return "";
|
|
262657
262642
|
switch (e.nodeName) {
|
|
262658
262643
|
case "H1":
|
|
@@ -262668,7 +262653,7 @@ const LPn = (e) => {
|
|
|
262668
262653
|
Rn.addRule("heading", {
|
|
262669
262654
|
filter: ["h1", "h2", "h3"],
|
|
262670
262655
|
replacement: function(e, t) {
|
|
262671
|
-
const n =
|
|
262656
|
+
const n = jPn(t), r = e.replace(/\n\n===\n\n/g, "<br>");
|
|
262672
262657
|
return `${n} ${r}`;
|
|
262673
262658
|
}
|
|
262674
262659
|
});
|
|
@@ -262735,7 +262720,7 @@ Rn.addRule("taskListItem", {
|
|
|
262735
262720
|
` : ""}`;
|
|
262736
262721
|
}
|
|
262737
262722
|
});
|
|
262738
|
-
const
|
|
262723
|
+
const LPn = async (e, t, n) => {
|
|
262739
262724
|
const r = e.state.doc, o = await WF(
|
|
262740
262725
|
r,
|
|
262741
262726
|
t,
|
|
@@ -262746,7 +262731,7 @@ const NPn = async (e, t, n) => {
|
|
|
262746
262731
|
o.toJSON()
|
|
262747
262732
|
), a = i.getHTML(), s = Rn.turndown(a);
|
|
262748
262733
|
return i.destroy(), s;
|
|
262749
|
-
},
|
|
262734
|
+
}, NPn = ({
|
|
262750
262735
|
slides: e,
|
|
262751
262736
|
currentSlide: t,
|
|
262752
262737
|
setCurrentSlide: n,
|
|
@@ -262831,7 +262816,7 @@ const NPn = async (e, t, n) => {
|
|
|
262831
262816
|
}
|
|
262832
262817
|
);
|
|
262833
262818
|
};
|
|
262834
|
-
var
|
|
262819
|
+
var _Pn = function() {
|
|
262835
262820
|
var e = document.getSelection();
|
|
262836
262821
|
if (!e.rangeCount)
|
|
262837
262822
|
return function() {
|
|
@@ -262852,20 +262837,20 @@ var IPn = function() {
|
|
|
262852
262837
|
e.addRange(o);
|
|
262853
262838
|
}), t && t.focus();
|
|
262854
262839
|
};
|
|
262855
|
-
},
|
|
262840
|
+
}, IPn = _Pn, Lie = {
|
|
262856
262841
|
"text/plain": "Text",
|
|
262857
262842
|
"text/html": "Url",
|
|
262858
262843
|
default: "Text"
|
|
262859
|
-
},
|
|
262860
|
-
function
|
|
262844
|
+
}, BPn = "Copy to clipboard: #{key}, Enter";
|
|
262845
|
+
function OPn(e) {
|
|
262861
262846
|
var t = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
|
|
262862
262847
|
return e.replace(/#{\s*key\s*}/g, t);
|
|
262863
262848
|
}
|
|
262864
|
-
function
|
|
262849
|
+
function RPn(e, t) {
|
|
262865
262850
|
var n, r, o, i, a, s, l = !1;
|
|
262866
262851
|
t || (t = {}), n = t.debug || !1;
|
|
262867
262852
|
try {
|
|
262868
|
-
o =
|
|
262853
|
+
o = IPn(), i = document.createRange(), a = document.getSelection(), s = document.createElement("span"), s.textContent = e, s.ariaHidden = "true", s.style.all = "unset", s.style.position = "fixed", s.style.top = 0, s.style.clip = "rect(0, 0, 0, 0)", s.style.whiteSpace = "pre", s.style.webkitUserSelect = "text", s.style.MozUserSelect = "text", s.style.msUserSelect = "text", s.style.userSelect = "text", s.addEventListener("copy", function(c) {
|
|
262869
262854
|
if (c.stopPropagation(), t.format)
|
|
262870
262855
|
if (c.preventDefault(), typeof c.clipboardData > "u") {
|
|
262871
262856
|
n && console.warn("unable to use e.clipboardData"), n && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
|
|
@@ -262884,15 +262869,15 @@ function PPn(e, t) {
|
|
|
262884
262869
|
try {
|
|
262885
262870
|
window.clipboardData.setData(t.format || "text", e), t.onCopy && t.onCopy(window.clipboardData), l = !0;
|
|
262886
262871
|
} catch (d) {
|
|
262887
|
-
n && console.error("unable to copy using clipboardData: ", d), n && console.error("falling back to prompt"), r =
|
|
262872
|
+
n && console.error("unable to copy using clipboardData: ", d), n && console.error("falling back to prompt"), r = OPn("message" in t ? t.message : BPn), window.prompt(r, e);
|
|
262888
262873
|
}
|
|
262889
262874
|
} finally {
|
|
262890
262875
|
a && (typeof a.removeRange == "function" ? a.removeRange(i) : a.removeAllRanges()), s && document.body.removeChild(s), o();
|
|
262891
262876
|
}
|
|
262892
262877
|
return l;
|
|
262893
262878
|
}
|
|
262894
|
-
var
|
|
262895
|
-
const
|
|
262879
|
+
var PPn = RPn;
|
|
262880
|
+
const zPn = /* @__PURE__ */ y0(PPn), zi = new So({
|
|
262896
262881
|
html: !0,
|
|
262897
262882
|
linkify: !0,
|
|
262898
262883
|
typographer: !0
|
|
@@ -262908,7 +262893,7 @@ zi.renderer.rules.list_item_open = (e, t) => {
|
|
|
262908
262893
|
}
|
|
262909
262894
|
return "<li>";
|
|
262910
262895
|
};
|
|
262911
|
-
const
|
|
262896
|
+
const UPn = (e, t, n) => {
|
|
262912
262897
|
const r = [], o = t.reduce((a, s) => a + s.length, 0) / t.length, i = Math.min(
|
|
262913
262898
|
n - 2,
|
|
262914
262899
|
// Account for header and separator
|
|
@@ -262939,7 +262924,7 @@ const HPn = (e, t, n) => {
|
|
|
262939
262924
|
else
|
|
262940
262925
|
r += (r ? " " : "") + i;
|
|
262941
262926
|
return r && n.push(r.trim()), n;
|
|
262942
|
-
},
|
|
262927
|
+
}, HPn = (e, t) => {
|
|
262943
262928
|
const n = [], r = e[0].slice(3).trim(), o = e.slice(1, -1);
|
|
262944
262929
|
for (let i = 0; i < o.length; i += t - 2) {
|
|
262945
262930
|
const a = [
|
|
@@ -262957,7 +262942,7 @@ const HPn = (e, t, n) => {
|
|
|
262957
262942
|
/^\d+\.\s/.test(e) || // Unordered list items
|
|
262958
262943
|
/^[-*+]\s/.test(e) || // Indented list items (nested)
|
|
262959
262944
|
/^\s+[-*+]\s/.test(e) || /^\s+\d+\.\s/.test(e)
|
|
262960
|
-
),
|
|
262945
|
+
), qPn = (e, t) => {
|
|
262961
262946
|
const n = [];
|
|
262962
262947
|
let r = t;
|
|
262963
262948
|
for (; r < e.length && (KFe(e[r]) || e[r].trim() === ""); )
|
|
@@ -262975,7 +262960,7 @@ const HPn = (e, t, n) => {
|
|
|
262975
262960
|
`));
|
|
262976
262961
|
return r;
|
|
262977
262962
|
};
|
|
262978
|
-
function
|
|
262963
|
+
function VPn(e, t = {}) {
|
|
262979
262964
|
var v, x;
|
|
262980
262965
|
const {
|
|
262981
262966
|
preserveNewlines: n = !0,
|
|
@@ -263033,7 +263018,7 @@ function WPn(e, t = {}) {
|
|
|
263033
263018
|
if (F.length < 2) return [""];
|
|
263034
263019
|
const C = F[0].split("|").map((_) => _.trim()).filter(Boolean), D = F[1], T = F.slice(2);
|
|
263035
263020
|
return F.length <= a ? [`<div class="table-wrapper">${zi.render(k.join(`
|
|
263036
|
-
`))}</div>`] :
|
|
263021
|
+
`))}</div>`] : UPn(C, T, a).map((_) => {
|
|
263037
263022
|
const S = [
|
|
263038
263023
|
`|${C.join("|")}|`,
|
|
263039
263024
|
D,
|
|
@@ -263047,7 +263032,7 @@ function WPn(e, t = {}) {
|
|
|
263047
263032
|
for (let k = 0; k < m.length; k++) {
|
|
263048
263033
|
const F = m[k].trim();
|
|
263049
263034
|
if (KFe(F)) {
|
|
263050
|
-
const { listContent: C, endIndex: D } =
|
|
263035
|
+
const { listContent: C, endIndex: D } = qPn(m, k), T = C.split(`
|
|
263051
263036
|
`).filter((_) => _.trim()), B = T.reduce(
|
|
263052
263037
|
(_, S) => _ + d(S),
|
|
263053
263038
|
0
|
|
@@ -263124,7 +263109,7 @@ function WPn(e, t = {}) {
|
|
|
263124
263109
|
c.push(F);
|
|
263125
263110
|
else {
|
|
263126
263111
|
if (c.push(F), c.length > a)
|
|
263127
|
-
|
|
263112
|
+
HPn(c, 23).forEach((D, T) => {
|
|
263128
263113
|
(T > 0 || f(D, l)) && p(), l.push({
|
|
263129
263114
|
type: "content",
|
|
263130
263115
|
content: zi.render(D)
|
|
@@ -263204,7 +263189,7 @@ function WPn(e, t = {}) {
|
|
|
263204
263189
|
`).replace(/>\n+</g, `>
|
|
263205
263190
|
<`)), r && (b = P9.sanitize(b)), b;
|
|
263206
263191
|
}
|
|
263207
|
-
const
|
|
263192
|
+
const WPn = ({
|
|
263208
263193
|
content: e,
|
|
263209
263194
|
editor: t,
|
|
263210
263195
|
onTouchStart: n,
|
|
@@ -263245,7 +263230,7 @@ const $Pn = ({
|
|
|
263245
263230
|
onTouchEnd: o
|
|
263246
263231
|
}
|
|
263247
263232
|
);
|
|
263248
|
-
},
|
|
263233
|
+
}, $Pn = ({
|
|
263249
263234
|
editor: e,
|
|
263250
263235
|
onClose: t,
|
|
263251
263236
|
isFullscreen: n,
|
|
@@ -263283,11 +263268,11 @@ const $Pn = ({
|
|
|
263283
263268
|
return;
|
|
263284
263269
|
}
|
|
263285
263270
|
F(!0);
|
|
263286
|
-
const Y = await
|
|
263271
|
+
const Y = await LPn(
|
|
263287
263272
|
e,
|
|
263288
263273
|
p,
|
|
263289
263274
|
m
|
|
263290
|
-
), ie =
|
|
263275
|
+
), ie = VPn(Y, {
|
|
263291
263276
|
preserveNewlines: !0,
|
|
263292
263277
|
sanitize: !0,
|
|
263293
263278
|
maxCharsPerSlide: 1e3,
|
|
@@ -263348,7 +263333,7 @@ const $Pn = ({
|
|
|
263348
263333
|
ie && (M("forward"), x((X) => Math.min(X + 1, c.length - 1))), oe && (M("backward"), x((X) => Math.max(X - 1, 0)));
|
|
263349
263334
|
}, [D, B, c.length, S]), z = () => {
|
|
263350
263335
|
if (a) {
|
|
263351
|
-
|
|
263336
|
+
zPn(a), b(!0), u == null || u();
|
|
263352
263337
|
const Y = setTimeout(() => {
|
|
263353
263338
|
b(!1);
|
|
263354
263339
|
}, 2e3);
|
|
@@ -263370,7 +263355,7 @@ const $Pn = ({
|
|
|
263370
263355
|
),
|
|
263371
263356
|
children: [
|
|
263372
263357
|
!n && /* @__PURE__ */ E.jsx(
|
|
263373
|
-
|
|
263358
|
+
NPn,
|
|
263374
263359
|
{
|
|
263375
263360
|
slides: c,
|
|
263376
263361
|
currentSlide: v,
|
|
@@ -263513,7 +263498,7 @@ const $Pn = ({
|
|
|
263513
263498
|
},
|
|
263514
263499
|
v
|
|
263515
263500
|
) }) : /* @__PURE__ */ E.jsx(
|
|
263516
|
-
|
|
263501
|
+
WPn,
|
|
263517
263502
|
{
|
|
263518
263503
|
content: c[v],
|
|
263519
263504
|
editor: j,
|
|
@@ -263555,7 +263540,7 @@ const $Pn = ({
|
|
|
263555
263540
|
]
|
|
263556
263541
|
}
|
|
263557
263542
|
);
|
|
263558
|
-
},
|
|
263543
|
+
}, GPn = ({
|
|
263559
263544
|
username: e,
|
|
263560
263545
|
setUsername: t,
|
|
263561
263546
|
isNavbarVisible: n,
|
|
@@ -263653,7 +263638,7 @@ const $Pn = ({
|
|
|
263653
263638
|
}
|
|
263654
263639
|
)
|
|
263655
263640
|
}
|
|
263656
|
-
), KPn = "data:image/svg+xml,%3csvg%20width='192'%20height='160'%20viewBox='0%200%20192%20160'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10%200.5H182C186.142%200.5%20189.5%203.85786%20189.5%208V40C189.5%2044.1421%20186.142%2047.5%20182%2047.5H10C5.85786%2047.5%202.5%2044.1421%202.5%2040V8C2.5%203.85787%205.85786%200.5%2010%200.5Z'%20fill='white'/%3e%3cpath%20d='M10%200.5H182C186.142%200.5%20189.5%203.85786%20189.5%208V40C189.5%2044.1421%20186.142%2047.5%20182%2047.5H10C5.85786%2047.5%202.5%2044.1421%202.5%2040V8C2.5%203.85787%205.85786%200.5%2010%200.5Z'%20stroke='%23E8EBEC'/%3e%3cpath%20d='M14%2024C14%2015.1634%2021.1634%208%2030%208V8C38.8366%208%2046%2015.1634%2046%2024V24C46%2032.8366%2038.8366%2040%2030%2040V40C21.1634%2040%2014%2032.8366%2014%2024V24Z'%20fill='%23E8EBEC'/%3e%3cpath%20d='M56%2015C56%2012.7909%2057.7909%2011%2060%2011H174C176.209%2011%20178%2012.7909%20178%2015V18C178%2020.2091%20176.209%2022%20174%2022H60C57.7909%2022%2056%2020.2091%2056%2018V15Z'%20fill='%23E8EBEC'/%3e%3cpath%20d='M56%2030C56%2027.7909%2057.7909%2026%2060%2026H112C114.209%2026%20116%2027.7909%20116%2030V33C116%2035.2091%20114.209%2037%20112%2037H60C57.7909%2037%2056%2035.2091%2056%2033V30Z'%20fill='%23E8EBEC'/%3e%3cg%20filter='url(%23filter0_d_4765_56257)'%3e%3cpath%20d='M2%2064C2%2059.5817%205.58172%2056%2010%2056H182C186.418%2056%20190%2059.5817%20190%2064V96C190%20100.418%20186.418%20104%20182%20104H10C5.58172%20104%202%20100.418%202%2096V64Z'%20fill='white'/%3e%3cpath%20d='M10%2056.5H182C186.142%2056.5%20189.5%2059.8579%20189.5%2064V96C189.5%20100.142%20186.142%20103.5%20182%20103.5H10C5.85786%20103.5%202.5%20100.142%202.5%2096V64C2.5%2059.8579%205.85786%2056.5%2010%2056.5Z'%20stroke='%23EFC703'/%3e%3cpath%20d='M14%2080C14%2071.1634%2021.1634%2064%2030%2064V64C38.8366%2064%2046%2071.1634%2046%2080V80C46%2088.8366%2038.8366%2096%2030%2096V96C21.1634%2096%2014%2088.8366%2014%2080V80Z'%20fill='%23E8EBEC'/%3e%3cpath%20d='M56%2071C56%2068.7909%2057.7909%2067%2060%2067H174C176.209%2067%20178%2068.7909%20178%2071V74C178%2076.2091%20176.209%2078%20174%2078H60C57.7909%2078%2056%2076.2091%2056%2074V71Z'%20fill='%23E8EBEC'/%3e%3cpath%20d='M56%2086C56%2083.7909%2057.7909%2082%2060%2082H112C114.209%2082%20116%2083.7909%20116%2086V89C116%2091.2091%20114.209%2093%20112%2093H60C57.7909%2093%2056%2091.2091%2056%2089V86Z'%20fill='%23E8EBEC'/%3e%3c/g%3e%3cpath%20d='M10%20112.5H182C186.142%20112.5%20189.5%20115.858%20189.5%20120V152C189.5%20156.142%20186.142%20159.5%20182%20159.5H10C5.85786%20159.5%202.5%20156.142%202.5%20152V120C2.5%20115.858%205.85786%20112.5%2010%20112.5Z'%20fill='white'/%3e%3cpath%20d='M10%20112.5H182C186.142%20112.5%20189.5%20115.858%20189.5%20120V152C189.5%20156.142%20186.142%20159.5%20182%20159.5H10C5.85786%20159.5%202.5%20156.142%202.5%20152V120C2.5%20115.858%205.85786%20112.5%2010%20112.5Z'%20stroke='%23E8EBEC'/%3e%3cpath%20d='M14%20136C14%20127.163%2021.1634%20120%2030%20120V120C38.8366%20120%2046%20127.163%2046%20136V136C46%20144.837%2038.8366%20152%2030%20152V152C21.1634%20152%2014%20144.837%2014%20136V136Z'%20fill='%23E8EBEC'/%3e%3cpath%20d='M56%20127C56%20124.791%2057.7909%20123%2060%20123H174C176.209%20123%20178%20124.791%20178%20127V130C178%20132.209%20176.209%20134%20174%20134H60C57.7909%20134%2056%20132.209%2056%20130V127Z'%20fill='%23E8EBEC'/%3e%3cpath%20d='M56%20142C56%20139.791%2057.7909%20138%2060%20138H112C114.209%20138%20116%20139.791%20116%20142V145C116%20147.209%20114.209%20149%20112%20149H60C57.7909%20149%2056%20147.209%2056%20145V142Z'%20fill='%23E8EBEC'/%3e%3crect%20x='2'%20width='188'%20height='56'%20fill='url(%23paint0_linear_4765_56257)'/%3e%3crect%20x='2'%20y='104'%20width='188'%20height='56'%20fill='url(%23paint1_linear_4765_56257)'/%3e%3cdefs%3e%3cfilter%20id='filter0_d_4765_56257'%20x='0'%20y='55'%20width='192'%20height='52'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.937255%200%200%200%200%200.780392%200%200%200%200%200.0117647%200%200%200%200.32%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_4765_56257'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_4765_56257'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_4765_56257'%20x1='96'%20y1='0'%20x2='96'%20y2='56'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_4765_56257'%20x1='96'%20y1='160'%20x2='96'%20y2='104'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", YPn = "data:image/svg+xml,%3csvg%20width='192'%20height='160'%20viewBox='0%200%20192%20160'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.5%208C2.5%203.85787%205.85786%200.5%2010%200.5H182C186.142%200.5%20189.5%203.85786%20189.5%208V40C189.5%2044.1421%20186.142%2047.5%20182%2047.5H10C5.85786%2047.5%202.5%2044.1421%202.5%2040V8Z'%20fill='%232E2E2E'/%3e%3cpath%20d='M2.5%208C2.5%203.85787%205.85786%200.5%2010%200.5H182C186.142%200.5%20189.5%203.85786%20189.5%208V40C189.5%2044.1421%20186.142%2047.5%20182%2047.5H10C5.85786%2047.5%202.5%2044.1421%202.5%2040V8Z'%20stroke='%23404040'/%3e%3cpath%20d='M14%2024C14%2015.1634%2021.1634%208%2030%208C38.8366%208%2046%2015.1634%2046%2024C46%2032.8366%2038.8366%2040%2030%2040C21.1634%2040%2014%2032.8366%2014%2024Z'%20fill='%23404040'/%3e%3cpath%20d='M56%2015C56%2012.7909%2057.7909%2011%2060%2011H174C176.209%2011%20178%2012.7909%20178%2015V18C178%2020.2091%20176.209%2022%20174%2022H60C57.7909%2022%2056%2020.2091%2056%2018V15Z'%20fill='%23404040'/%3e%3cpath%20d='M56%2030C56%2027.7909%2057.7909%2026%2060%2026H112C114.209%2026%20116%2027.7909%20116%2030V33C116%2035.2091%20114.209%2037%20112%2037H60C57.7909%2037%2056%2035.2091%2056%2033V30Z'%20fill='%23404040'/%3e%3cg%20filter='url(%23filter0_d_5573_80525)'%3e%3cpath%20d='M2%2064C2%2059.5817%205.58172%2056%2010%2056H182C186.418%2056%20190%2059.5817%20190%2064V96C190%20100.418%20186.418%20104%20182%20104H10C5.58172%20104%202%20100.418%202%2096V64Z'%20fill='%232E2E2E'/%3e%3cpath%20d='M2.5%2064C2.5%2059.8579%205.85786%2056.5%2010%2056.5H182C186.142%2056.5%20189.5%2059.8579%20189.5%2064V96C189.5%20100.142%20186.142%20103.5%20182%20103.5H10C5.85786%20103.5%202.5%20100.142%202.5%2096V64Z'%20stroke='%23EFC703'/%3e%3cpath%20d='M14%2080C14%2071.1634%2021.1634%2064%2030%2064C38.8366%2064%2046%2071.1634%2046%2080C46%2088.8366%2038.8366%2096%2030%2096C21.1634%2096%2014%2088.8366%2014%2080Z'%20fill='%23404040'/%3e%3cpath%20d='M56%2071C56%2068.7909%2057.7909%2067%2060%2067H174C176.209%2067%20178%2068.7909%20178%2071V74C178%2076.2091%20176.209%2078%20174%2078H60C57.7909%2078%2056%2076.2091%2056%2074V71Z'%20fill='%23404040'/%3e%3cpath%20d='M56%2086C56%2083.7909%2057.7909%2082%2060%2082H112C114.209%2082%20116%2083.7909%20116%2086V89C116%2091.2091%20114.209%2093%20112%2093H60C57.7909%2093%2056%2091.2091%2056%2089V86Z'%20fill='%23404040'/%3e%3c/g%3e%3cpath%20d='M2.5%20120C2.5%20115.858%205.85786%20112.5%2010%20112.5H182C186.142%20112.5%20189.5%20115.858%20189.5%20120V152C189.5%20156.142%20186.142%20159.5%20182%20159.5H10C5.85786%20159.5%202.5%20156.142%202.5%20152V120Z'%20fill='%232E2E2E'/%3e%3cpath%20d='M2.5%20120C2.5%20115.858%205.85786%20112.5%2010%20112.5H182C186.142%20112.5%20189.5%20115.858%20189.5%20120V152C189.5%20156.142%20186.142%20159.5%20182%20159.5H10C5.85786%20159.5%202.5%20156.142%202.5%20152V120Z'%20stroke='%23404040'/%3e%3cpath%20d='M14%20136C14%20127.163%2021.1634%20120%2030%20120C38.8366%20120%2046%20127.163%2046%20136C46%20144.837%2038.8366%20152%2030%20152C21.1634%20152%2014%20144.837%2014%20136Z'%20fill='%23404040'/%3e%3cpath%20d='M56%20127C56%20124.791%2057.7909%20123%2060%20123H174C176.209%20123%20178%20124.791%20178%20127V130C178%20132.209%20176.209%20134%20174%20134H60C57.7909%20134%2056%20132.209%2056%20130V127Z'%20fill='%23404040'/%3e%3cpath%20d='M56%20142C56%20139.791%2057.7909%20138%2060%20138H112C114.209%20138%20116%20139.791%20116%20142V145C116%20147.209%20114.209%20149%20112%20149H60C57.7909%20149%2056%20147.209%2056%20145V142Z'%20fill='%23404040'/%3e%3crect%20x='2'%20width='188'%20height='56'%20fill='url(%23paint0_linear_5573_80525)'/%3e%3crect%20x='2'%20y='104'%20width='188'%20height='56'%20fill='url(%23paint1_linear_5573_80525)'/%3e%3cdefs%3e%3cfilter%20id='filter0_d_5573_80525'%20x='0'%20y='55'%20width='192'%20height='52'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.937255%200%200%200%200%200.780392%200%200%200%200%200.0117647%200%200%200%200.32%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5573_80525'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5573_80525'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5573_80525'%20x1='96'%20y1='0'%20x2='96'%20y2='56'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%232E2E2E'/%3e%3cstop%20offset='1'%20stop-color='%232E2E2E'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_5573_80525'%20x1='96'%20y1='160'%20x2='96'%20y2='104'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%232E2E2E'/%3e%3cstop%20offset='1'%20stop-color='%232E2E2E'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", XPn = () => {
|
|
263641
|
+
), ZPn = "data:image/svg+xml,%3csvg%20width='192'%20height='160'%20viewBox='0%200%20192%20160'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10%200.5H182C186.142%200.5%20189.5%203.85786%20189.5%208V40C189.5%2044.1421%20186.142%2047.5%20182%2047.5H10C5.85786%2047.5%202.5%2044.1421%202.5%2040V8C2.5%203.85787%205.85786%200.5%2010%200.5Z'%20fill='white'/%3e%3cpath%20d='M10%200.5H182C186.142%200.5%20189.5%203.85786%20189.5%208V40C189.5%2044.1421%20186.142%2047.5%20182%2047.5H10C5.85786%2047.5%202.5%2044.1421%202.5%2040V8C2.5%203.85787%205.85786%200.5%2010%200.5Z'%20stroke='%23E8EBEC'/%3e%3cpath%20d='M14%2024C14%2015.1634%2021.1634%208%2030%208V8C38.8366%208%2046%2015.1634%2046%2024V24C46%2032.8366%2038.8366%2040%2030%2040V40C21.1634%2040%2014%2032.8366%2014%2024V24Z'%20fill='%23E8EBEC'/%3e%3cpath%20d='M56%2015C56%2012.7909%2057.7909%2011%2060%2011H174C176.209%2011%20178%2012.7909%20178%2015V18C178%2020.2091%20176.209%2022%20174%2022H60C57.7909%2022%2056%2020.2091%2056%2018V15Z'%20fill='%23E8EBEC'/%3e%3cpath%20d='M56%2030C56%2027.7909%2057.7909%2026%2060%2026H112C114.209%2026%20116%2027.7909%20116%2030V33C116%2035.2091%20114.209%2037%20112%2037H60C57.7909%2037%2056%2035.2091%2056%2033V30Z'%20fill='%23E8EBEC'/%3e%3cg%20filter='url(%23filter0_d_4765_56257)'%3e%3cpath%20d='M2%2064C2%2059.5817%205.58172%2056%2010%2056H182C186.418%2056%20190%2059.5817%20190%2064V96C190%20100.418%20186.418%20104%20182%20104H10C5.58172%20104%202%20100.418%202%2096V64Z'%20fill='white'/%3e%3cpath%20d='M10%2056.5H182C186.142%2056.5%20189.5%2059.8579%20189.5%2064V96C189.5%20100.142%20186.142%20103.5%20182%20103.5H10C5.85786%20103.5%202.5%20100.142%202.5%2096V64C2.5%2059.8579%205.85786%2056.5%2010%2056.5Z'%20stroke='%23EFC703'/%3e%3cpath%20d='M14%2080C14%2071.1634%2021.1634%2064%2030%2064V64C38.8366%2064%2046%2071.1634%2046%2080V80C46%2088.8366%2038.8366%2096%2030%2096V96C21.1634%2096%2014%2088.8366%2014%2080V80Z'%20fill='%23E8EBEC'/%3e%3cpath%20d='M56%2071C56%2068.7909%2057.7909%2067%2060%2067H174C176.209%2067%20178%2068.7909%20178%2071V74C178%2076.2091%20176.209%2078%20174%2078H60C57.7909%2078%2056%2076.2091%2056%2074V71Z'%20fill='%23E8EBEC'/%3e%3cpath%20d='M56%2086C56%2083.7909%2057.7909%2082%2060%2082H112C114.209%2082%20116%2083.7909%20116%2086V89C116%2091.2091%20114.209%2093%20112%2093H60C57.7909%2093%2056%2091.2091%2056%2089V86Z'%20fill='%23E8EBEC'/%3e%3c/g%3e%3cpath%20d='M10%20112.5H182C186.142%20112.5%20189.5%20115.858%20189.5%20120V152C189.5%20156.142%20186.142%20159.5%20182%20159.5H10C5.85786%20159.5%202.5%20156.142%202.5%20152V120C2.5%20115.858%205.85786%20112.5%2010%20112.5Z'%20fill='white'/%3e%3cpath%20d='M10%20112.5H182C186.142%20112.5%20189.5%20115.858%20189.5%20120V152C189.5%20156.142%20186.142%20159.5%20182%20159.5H10C5.85786%20159.5%202.5%20156.142%202.5%20152V120C2.5%20115.858%205.85786%20112.5%2010%20112.5Z'%20stroke='%23E8EBEC'/%3e%3cpath%20d='M14%20136C14%20127.163%2021.1634%20120%2030%20120V120C38.8366%20120%2046%20127.163%2046%20136V136C46%20144.837%2038.8366%20152%2030%20152V152C21.1634%20152%2014%20144.837%2014%20136V136Z'%20fill='%23E8EBEC'/%3e%3cpath%20d='M56%20127C56%20124.791%2057.7909%20123%2060%20123H174C176.209%20123%20178%20124.791%20178%20127V130C178%20132.209%20176.209%20134%20174%20134H60C57.7909%20134%2056%20132.209%2056%20130V127Z'%20fill='%23E8EBEC'/%3e%3cpath%20d='M56%20142C56%20139.791%2057.7909%20138%2060%20138H112C114.209%20138%20116%20139.791%20116%20142V145C116%20147.209%20114.209%20149%20112%20149H60C57.7909%20149%2056%20147.209%2056%20145V142Z'%20fill='%23E8EBEC'/%3e%3crect%20x='2'%20width='188'%20height='56'%20fill='url(%23paint0_linear_4765_56257)'/%3e%3crect%20x='2'%20y='104'%20width='188'%20height='56'%20fill='url(%23paint1_linear_4765_56257)'/%3e%3cdefs%3e%3cfilter%20id='filter0_d_4765_56257'%20x='0'%20y='55'%20width='192'%20height='52'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.937255%200%200%200%200%200.780392%200%200%200%200%200.0117647%200%200%200%200.32%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_4765_56257'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_4765_56257'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_4765_56257'%20x1='96'%20y1='0'%20x2='96'%20y2='56'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_4765_56257'%20x1='96'%20y1='160'%20x2='96'%20y2='104'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", KPn = "data:image/svg+xml,%3csvg%20width='192'%20height='160'%20viewBox='0%200%20192%20160'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.5%208C2.5%203.85787%205.85786%200.5%2010%200.5H182C186.142%200.5%20189.5%203.85786%20189.5%208V40C189.5%2044.1421%20186.142%2047.5%20182%2047.5H10C5.85786%2047.5%202.5%2044.1421%202.5%2040V8Z'%20fill='%232E2E2E'/%3e%3cpath%20d='M2.5%208C2.5%203.85787%205.85786%200.5%2010%200.5H182C186.142%200.5%20189.5%203.85786%20189.5%208V40C189.5%2044.1421%20186.142%2047.5%20182%2047.5H10C5.85786%2047.5%202.5%2044.1421%202.5%2040V8Z'%20stroke='%23404040'/%3e%3cpath%20d='M14%2024C14%2015.1634%2021.1634%208%2030%208C38.8366%208%2046%2015.1634%2046%2024C46%2032.8366%2038.8366%2040%2030%2040C21.1634%2040%2014%2032.8366%2014%2024Z'%20fill='%23404040'/%3e%3cpath%20d='M56%2015C56%2012.7909%2057.7909%2011%2060%2011H174C176.209%2011%20178%2012.7909%20178%2015V18C178%2020.2091%20176.209%2022%20174%2022H60C57.7909%2022%2056%2020.2091%2056%2018V15Z'%20fill='%23404040'/%3e%3cpath%20d='M56%2030C56%2027.7909%2057.7909%2026%2060%2026H112C114.209%2026%20116%2027.7909%20116%2030V33C116%2035.2091%20114.209%2037%20112%2037H60C57.7909%2037%2056%2035.2091%2056%2033V30Z'%20fill='%23404040'/%3e%3cg%20filter='url(%23filter0_d_5573_80525)'%3e%3cpath%20d='M2%2064C2%2059.5817%205.58172%2056%2010%2056H182C186.418%2056%20190%2059.5817%20190%2064V96C190%20100.418%20186.418%20104%20182%20104H10C5.58172%20104%202%20100.418%202%2096V64Z'%20fill='%232E2E2E'/%3e%3cpath%20d='M2.5%2064C2.5%2059.8579%205.85786%2056.5%2010%2056.5H182C186.142%2056.5%20189.5%2059.8579%20189.5%2064V96C189.5%20100.142%20186.142%20103.5%20182%20103.5H10C5.85786%20103.5%202.5%20100.142%202.5%2096V64Z'%20stroke='%23EFC703'/%3e%3cpath%20d='M14%2080C14%2071.1634%2021.1634%2064%2030%2064C38.8366%2064%2046%2071.1634%2046%2080C46%2088.8366%2038.8366%2096%2030%2096C21.1634%2096%2014%2088.8366%2014%2080Z'%20fill='%23404040'/%3e%3cpath%20d='M56%2071C56%2068.7909%2057.7909%2067%2060%2067H174C176.209%2067%20178%2068.7909%20178%2071V74C178%2076.2091%20176.209%2078%20174%2078H60C57.7909%2078%2056%2076.2091%2056%2074V71Z'%20fill='%23404040'/%3e%3cpath%20d='M56%2086C56%2083.7909%2057.7909%2082%2060%2082H112C114.209%2082%20116%2083.7909%20116%2086V89C116%2091.2091%20114.209%2093%20112%2093H60C57.7909%2093%2056%2091.2091%2056%2089V86Z'%20fill='%23404040'/%3e%3c/g%3e%3cpath%20d='M2.5%20120C2.5%20115.858%205.85786%20112.5%2010%20112.5H182C186.142%20112.5%20189.5%20115.858%20189.5%20120V152C189.5%20156.142%20186.142%20159.5%20182%20159.5H10C5.85786%20159.5%202.5%20156.142%202.5%20152V120Z'%20fill='%232E2E2E'/%3e%3cpath%20d='M2.5%20120C2.5%20115.858%205.85786%20112.5%2010%20112.5H182C186.142%20112.5%20189.5%20115.858%20189.5%20120V152C189.5%20156.142%20186.142%20159.5%20182%20159.5H10C5.85786%20159.5%202.5%20156.142%202.5%20152V120Z'%20stroke='%23404040'/%3e%3cpath%20d='M14%20136C14%20127.163%2021.1634%20120%2030%20120C38.8366%20120%2046%20127.163%2046%20136C46%20144.837%2038.8366%20152%2030%20152C21.1634%20152%2014%20144.837%2014%20136Z'%20fill='%23404040'/%3e%3cpath%20d='M56%20127C56%20124.791%2057.7909%20123%2060%20123H174C176.209%20123%20178%20124.791%20178%20127V130C178%20132.209%20176.209%20134%20174%20134H60C57.7909%20134%2056%20132.209%2056%20130V127Z'%20fill='%23404040'/%3e%3cpath%20d='M56%20142C56%20139.791%2057.7909%20138%2060%20138H112C114.209%20138%20116%20139.791%20116%20142V145C116%20147.209%20114.209%20149%20112%20149H60C57.7909%20149%2056%20147.209%2056%20145V142Z'%20fill='%23404040'/%3e%3crect%20x='2'%20width='188'%20height='56'%20fill='url(%23paint0_linear_5573_80525)'/%3e%3crect%20x='2'%20y='104'%20width='188'%20height='56'%20fill='url(%23paint1_linear_5573_80525)'/%3e%3cdefs%3e%3cfilter%20id='filter0_d_5573_80525'%20x='0'%20y='55'%20width='192'%20height='52'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.937255%200%200%200%200%200.780392%200%200%200%200%200.0117647%200%200%200%200.32%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5573_80525'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5573_80525'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5573_80525'%20x1='96'%20y1='0'%20x2='96'%20y2='56'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%232E2E2E'/%3e%3cstop%20offset='1'%20stop-color='%232E2E2E'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_5573_80525'%20x1='96'%20y1='160'%20x2='96'%20y2='104'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%232E2E2E'/%3e%3cstop%20offset='1'%20stop-color='%232E2E2E'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", YPn = () => {
|
|
263657
263642
|
const [e, t] = Re("light"), n = () => {
|
|
263658
263643
|
const r = localStorage.getItem("theme");
|
|
263659
263644
|
return r || "light";
|
|
@@ -263679,7 +263664,7 @@ const $Pn = ({
|
|
|
263679
263664
|
/* @__PURE__ */ E.jsx(
|
|
263680
263665
|
"img",
|
|
263681
263666
|
{
|
|
263682
|
-
src: e === "dark" ?
|
|
263667
|
+
src: e === "dark" ? KPn : ZPn,
|
|
263683
263668
|
alt: "empty comments"
|
|
263684
263669
|
}
|
|
263685
263670
|
),
|
|
@@ -263753,7 +263738,7 @@ const $Pn = ({
|
|
|
263753
263738
|
n && "xl:!h-[86vh]"
|
|
263754
263739
|
),
|
|
263755
263740
|
children: [
|
|
263756
|
-
O.length === 0 ? /* @__PURE__ */ E.jsx(
|
|
263741
|
+
O.length === 0 ? /* @__PURE__ */ E.jsx(YPn, {}) : /* @__PURE__ */ E.jsx(
|
|
263757
263742
|
"div",
|
|
263758
263743
|
{
|
|
263759
263744
|
ref: g,
|
|
@@ -263917,7 +263902,7 @@ const $Pn = ({
|
|
|
263917
263902
|
]
|
|
263918
263903
|
}
|
|
263919
263904
|
) : /* @__PURE__ */ E.jsx(
|
|
263920
|
-
|
|
263905
|
+
GPn,
|
|
263921
263906
|
{
|
|
263922
263907
|
connectViaWallet: T,
|
|
263923
263908
|
username: o,
|
|
@@ -263927,7 +263912,7 @@ const $Pn = ({
|
|
|
263927
263912
|
isLoading: B
|
|
263928
263913
|
}
|
|
263929
263914
|
);
|
|
263930
|
-
},
|
|
263915
|
+
}, XPn = ({
|
|
263931
263916
|
isOpen: e,
|
|
263932
263917
|
onClose: t,
|
|
263933
263918
|
isNavbarVisible: n,
|
|
@@ -264021,7 +264006,7 @@ const $Pn = ({
|
|
|
264021
264006
|
] })
|
|
264022
264007
|
}
|
|
264023
264008
|
) });
|
|
264024
|
-
},
|
|
264009
|
+
}, JPn = ({
|
|
264025
264010
|
editor: e,
|
|
264026
264011
|
activeCommentId: t,
|
|
264027
264012
|
commentDrawerOpen: n,
|
|
@@ -264277,7 +264262,7 @@ const JFe = D1(
|
|
|
264277
264262
|
}
|
|
264278
264263
|
);
|
|
264279
264264
|
JFe.displayName = "ToC";
|
|
264280
|
-
const Bie = Ie.memo(JFe),
|
|
264265
|
+
const Bie = Ie.memo(JFe), QPn = ({
|
|
264281
264266
|
editor: e,
|
|
264282
264267
|
hasToC: t,
|
|
264283
264268
|
items: n,
|
|
@@ -264374,7 +264359,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
264374
264359
|
/* @__PURE__ */ E.jsx(An, { className: " w-[calc(100%-50px)] h-[20px] rounded-sm" }),
|
|
264375
264360
|
/* @__PURE__ */ E.jsx(An, { className: " w-[calc(100%-100px)] h-[20px] rounded-sm" }),
|
|
264376
264361
|
/* @__PURE__ */ E.jsx(An, { className: " w-[calc(100%-300px)] h-[20px] rounded-sm" })
|
|
264377
|
-
] }),
|
|
264362
|
+
] }), ezn = {
|
|
264378
264363
|
portrait: {
|
|
264379
264364
|
// At zoom 1.4 (fit), percentage width accounts for 1.4x transform scaling
|
|
264380
264365
|
zoomFitWidth: "55%",
|
|
@@ -264389,7 +264374,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
264389
264374
|
zoomFitMaxWidth: 1200
|
|
264390
264375
|
// px - prevents overflow while maximizing space
|
|
264391
264376
|
}
|
|
264392
|
-
},
|
|
264377
|
+
}, tzn = {
|
|
264393
264378
|
portrait: {
|
|
264394
264379
|
"0.5": { width: 700, minHeight: "150%" },
|
|
264395
264380
|
"0.75": { width: 800, minHeight: "200%" },
|
|
@@ -264408,11 +264393,11 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
264408
264393
|
"1.5": { width: 1487.5, minHeight: "100%" },
|
|
264409
264394
|
2: { width: 2166, minHeight: void 0 }
|
|
264410
264395
|
}
|
|
264411
|
-
},
|
|
264396
|
+
}, nzn = ({ editor: e }) => {
|
|
264412
264397
|
const t = Je(!0), n = Je([]), r = Je(null), o = ({ editor: u }) => {
|
|
264413
264398
|
if (!t.current || !u.isActive("link")) return !1;
|
|
264414
264399
|
const c = u.getAttributes("link").href;
|
|
264415
|
-
if (!
|
|
264400
|
+
if (!SPn(
|
|
264416
264401
|
u.getAttributes("link").href
|
|
264417
264402
|
)) return !1;
|
|
264418
264403
|
const { state: f } = u, { selection: h } = f, p = Zw(h.$from, u.schema.marks.link);
|
|
@@ -264500,7 +264485,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
264500
264485
|
] })
|
|
264501
264486
|
}
|
|
264502
264487
|
);
|
|
264503
|
-
},
|
|
264488
|
+
}, dUn = Pn(
|
|
264504
264489
|
({
|
|
264505
264490
|
isPreviewMode: e = !1,
|
|
264506
264491
|
initialContent: t,
|
|
@@ -264599,9 +264584,9 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
264599
264584
|
return {
|
|
264600
264585
|
minHeight: "100vh"
|
|
264601
264586
|
};
|
|
264602
|
-
const un = (Pe == null ? void 0 : Pe.orientation) === "landscape" ? "landscape" : "portrait", nn =
|
|
264587
|
+
const un = (Pe == null ? void 0 : Pe.orientation) === "landscape" ? "landscape" : "portrait", nn = tzn[un][L];
|
|
264603
264588
|
if (!nn) return {};
|
|
264604
|
-
const It = {}, nr =
|
|
264589
|
+
const It = {}, nr = ezn[un];
|
|
264605
264590
|
return typeof nn.width == "number" ? (It.width = `${nn.width}px`, It.maxWidth = `${nn.width}px`) : (It.width = nr.zoomFitWidth, It.maxWidth = `${nr.zoomFitMaxWidth}px`), nn.minHeight && (It.minHeight = nn.minHeight), It;
|
|
264606
264591
|
}, dr = Je(null), J = Hr("(min-width: 1500px)"), Ee = Hr("(min-width: 3000px)"), ze = Hr("(min-width: 1600px)"), Ke = Hr("(min-width: 1360px)"), { isNativeMobile: vt, isIOS: Et } = j1(), [yt, gt] = Re(!1), xn = Je(null), Qe = (k == null ? void 0 : k.slice(0, 4)) || [], Fe = k ? Math.max(0, k.length - 4) : 0;
|
|
264607
264592
|
hF(xn, () => {
|
|
@@ -264831,7 +264816,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
264831
264816
|
}
|
|
264832
264817
|
),
|
|
264833
264818
|
j && _e && /* @__PURE__ */ E.jsx(
|
|
264834
|
-
|
|
264819
|
+
$Pn,
|
|
264835
264820
|
{
|
|
264836
264821
|
editor: _e,
|
|
264837
264822
|
onClose: nCe,
|
|
@@ -264853,7 +264838,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
264853
264838
|
}
|
|
264854
264839
|
),
|
|
264855
264840
|
_e && /* @__PURE__ */ E.jsx(
|
|
264856
|
-
|
|
264841
|
+
QPn,
|
|
264857
264842
|
{
|
|
264858
264843
|
editor: _e,
|
|
264859
264844
|
hasToC: !0,
|
|
@@ -264947,7 +264932,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
264947
264932
|
enableCollaboration: n
|
|
264948
264933
|
}
|
|
264949
264934
|
),
|
|
264950
|
-
/* @__PURE__ */ E.jsx(
|
|
264935
|
+
/* @__PURE__ */ E.jsx(nzn, { editor: _e })
|
|
264951
264936
|
] }),
|
|
264952
264937
|
_e && /* @__PURE__ */ E.jsx(min, { editor: _e, appendTo: pt })
|
|
264953
264938
|
] }),
|
|
@@ -265086,7 +265071,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265086
265071
|
{ "top-14": O, "top-0": !O }
|
|
265087
265072
|
),
|
|
265088
265073
|
children: /* @__PURE__ */ E.jsx(
|
|
265089
|
-
|
|
265074
|
+
TPn,
|
|
265090
265075
|
{
|
|
265091
265076
|
onError: y,
|
|
265092
265077
|
editor: _e,
|
|
@@ -265102,7 +265087,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265102
265087
|
}
|
|
265103
265088
|
),
|
|
265104
265089
|
_e && /* @__PURE__ */ E.jsx(
|
|
265105
|
-
|
|
265090
|
+
XPn,
|
|
265106
265091
|
{
|
|
265107
265092
|
isOpen: ne,
|
|
265108
265093
|
onClose: () => he == null ? void 0 : he(!1),
|
|
@@ -265113,7 +265098,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265113
265098
|
}
|
|
265114
265099
|
),
|
|
265115
265100
|
/* @__PURE__ */ E.jsx("div", { children: _e && /* @__PURE__ */ E.jsx(
|
|
265116
|
-
|
|
265101
|
+
JPn,
|
|
265117
265102
|
{
|
|
265118
265103
|
editor: _e,
|
|
265119
265104
|
activeCommentId: Cr,
|
|
@@ -265199,7 +265184,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265199
265184
|
}
|
|
265200
265185
|
) });
|
|
265201
265186
|
}
|
|
265202
|
-
),
|
|
265187
|
+
), fUn = Pn(
|
|
265203
265188
|
({
|
|
265204
265189
|
isPreviewMode: e = !1,
|
|
265205
265190
|
initialContent: t,
|
|
@@ -265388,7 +265373,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265388
265373
|
"editor-transition"
|
|
265389
265374
|
);
|
|
265390
265375
|
}
|
|
265391
|
-
),
|
|
265376
|
+
), hUn = (e) => {
|
|
265392
265377
|
const t = () => {
|
|
265393
265378
|
const f = new rc(), h = () => {
|
|
265394
265379
|
var y;
|
|
@@ -265533,7 +265518,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265533
265518
|
month: "2-digit",
|
|
265534
265519
|
year: "numeric"
|
|
265535
265520
|
})}, ${t.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" })}`;
|
|
265536
|
-
},
|
|
265521
|
+
}, rzn = D1(
|
|
265537
265522
|
({ node: e, editor: t, deleteNode: n }) => {
|
|
265538
265523
|
const r = e.attrs.reminder, [o, i] = Re(
|
|
265539
265524
|
r != null && r.timestamp ? new Date(r.timestamp).getTime() < Date.now() : !1
|
|
@@ -265719,7 +265704,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265719
265704
|
}
|
|
265720
265705
|
) : null;
|
|
265721
265706
|
}
|
|
265722
|
-
),
|
|
265707
|
+
), pUn = Yt.create({
|
|
265723
265708
|
name: "reminderBlock",
|
|
265724
265709
|
group: "inline",
|
|
265725
265710
|
inline: !0,
|
|
@@ -265760,7 +265745,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265760
265745
|
];
|
|
265761
265746
|
},
|
|
265762
265747
|
addNodeView() {
|
|
265763
|
-
return Ol(
|
|
265748
|
+
return Ol(rzn);
|
|
265764
265749
|
},
|
|
265765
265750
|
addCommands() {
|
|
265766
265751
|
return {
|
|
@@ -265776,11 +265761,11 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265776
265761
|
});
|
|
265777
265762
|
export {
|
|
265778
265763
|
et as B,
|
|
265779
|
-
|
|
265764
|
+
dUn as D,
|
|
265780
265765
|
tk as E,
|
|
265781
265766
|
ky as H,
|
|
265782
|
-
|
|
265783
|
-
|
|
265767
|
+
fUn as P,
|
|
265768
|
+
pUn as R,
|
|
265784
265769
|
KKt as a,
|
|
265785
265770
|
Gu as b,
|
|
265786
265771
|
TF as c,
|
|
@@ -265792,5 +265777,5 @@ export {
|
|
|
265792
265777
|
AF as i,
|
|
265793
265778
|
NF as l,
|
|
265794
265779
|
Wo as s,
|
|
265795
|
-
|
|
265780
|
+
hUn as u
|
|
265796
265781
|
};
|