@fileverse-dev/ddoc 3.0.40 → 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) => {
|
|
@@ -151374,9 +151374,9 @@ K8e.prototype = {
|
|
|
151374
151374
|
return r.name = e, r.nodeName = e, r.publicId = t || "", r.systemId = n || "", r;
|
|
151375
151375
|
}
|
|
151376
151376
|
};
|
|
151377
|
-
function
|
|
151377
|
+
function Xn() {
|
|
151378
151378
|
}
|
|
151379
|
-
|
|
151379
|
+
Xn.prototype = {
|
|
151380
151380
|
firstChild: null,
|
|
151381
151381
|
lastChild: null,
|
|
151382
151382
|
previousSibling: null,
|
|
@@ -151468,8 +151468,8 @@ Jn.prototype = {
|
|
|
151468
151468
|
function Y8e(e) {
|
|
151469
151469
|
return e == "<" && "<" || e == ">" && ">" || e == "&" && "&" || e == '"' && """ || "&#" + e.charCodeAt() + ";";
|
|
151470
151470
|
}
|
|
151471
|
-
L5(Fa,
|
|
151472
|
-
L5(Fa,
|
|
151471
|
+
L5(Fa, Xn);
|
|
151472
|
+
L5(Fa, Xn.prototype);
|
|
151473
151473
|
function Wb(e, t) {
|
|
151474
151474
|
if (t(e))
|
|
151475
151475
|
return !0;
|
|
@@ -151510,19 +151510,19 @@ function J8e(e, t) {
|
|
|
151510
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;
|
|
151511
151511
|
}
|
|
151512
151512
|
function ykn(e) {
|
|
151513
|
-
return e && (e.nodeType ===
|
|
151513
|
+
return e && (e.nodeType === Xn.DOCUMENT_NODE || e.nodeType === Xn.DOCUMENT_FRAGMENT_NODE || e.nodeType === Xn.ELEMENT_NODE);
|
|
151514
151514
|
}
|
|
151515
151515
|
function bkn(e) {
|
|
151516
|
-
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);
|
|
151517
151517
|
}
|
|
151518
151518
|
function x1(e) {
|
|
151519
|
-
return e && e.nodeType ===
|
|
151519
|
+
return e && e.nodeType === Xn.DOCUMENT_TYPE_NODE;
|
|
151520
151520
|
}
|
|
151521
151521
|
function Bu(e) {
|
|
151522
|
-
return e && e.nodeType ===
|
|
151522
|
+
return e && e.nodeType === Xn.ELEMENT_NODE;
|
|
151523
151523
|
}
|
|
151524
151524
|
function nq(e) {
|
|
151525
|
-
return e && e.nodeType ===
|
|
151525
|
+
return e && e.nodeType === Xn.TEXT_NODE;
|
|
151526
151526
|
}
|
|
151527
151527
|
function yne(e, t) {
|
|
151528
151528
|
var n = e.childNodes || [];
|
|
@@ -151552,7 +151552,7 @@ function vkn(e, t, n) {
|
|
|
151552
151552
|
// the sax parser currently adds top level text nodes, this will be fixed in 0.9.0
|
|
151553
151553
|
// || (node.nodeType === Node.TEXT_NODE && parent.nodeType === Node.DOCUMENT_NODE)
|
|
151554
151554
|
// or `node` is a doctype and `parent` is not a document, then throw a "HierarchyRequestError" DOMException.
|
|
151555
|
-
x1(t) && e.nodeType !==
|
|
151555
|
+
x1(t) && e.nodeType !== Xn.DOCUMENT_NODE
|
|
151556
151556
|
)
|
|
151557
151557
|
throw new Kr(
|
|
151558
151558
|
Xi,
|
|
@@ -151561,7 +151561,7 @@ function vkn(e, t, n) {
|
|
|
151561
151561
|
}
|
|
151562
151562
|
function xkn(e, t, n) {
|
|
151563
151563
|
var r = e.childNodes || [], o = t.childNodes || [];
|
|
151564
|
-
if (t.nodeType ===
|
|
151564
|
+
if (t.nodeType === Xn.DOCUMENT_FRAGMENT_NODE) {
|
|
151565
151565
|
var i = o.filter(Bu);
|
|
151566
151566
|
if (i.length > 1 || Iu(o, nq))
|
|
151567
151567
|
throw new Kr(Xi, "More than one element or text in fragment");
|
|
@@ -151582,7 +151582,7 @@ function xkn(e, t, n) {
|
|
|
151582
151582
|
}
|
|
151583
151583
|
function Q8e(e, t, n) {
|
|
151584
151584
|
var r = e.childNodes || [], o = t.childNodes || [];
|
|
151585
|
-
if (t.nodeType ===
|
|
151585
|
+
if (t.nodeType === Xn.DOCUMENT_FRAGMENT_NODE) {
|
|
151586
151586
|
var i = o.filter(Bu);
|
|
151587
151587
|
if (i.length > 1 || Iu(o, nq))
|
|
151588
151588
|
throw new Kr(Xi, "More than one element or text in fragment");
|
|
@@ -151602,7 +151602,7 @@ function Q8e(e, t, n) {
|
|
|
151602
151602
|
}
|
|
151603
151603
|
}
|
|
151604
151604
|
function cw(e, t, n, r) {
|
|
151605
|
-
vkn(e, t, n), e.nodeType ===
|
|
151605
|
+
vkn(e, t, n), e.nodeType === Xn.DOCUMENT_NODE && (r || xkn)(e, t, n);
|
|
151606
151606
|
var o = t.parentNode;
|
|
151607
151607
|
if (o && o.removeChild(t), t.nodeType === v1) {
|
|
151608
151608
|
var i = t.firstChild;
|
|
@@ -151759,7 +151759,7 @@ N5.prototype = {
|
|
|
151759
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;
|
|
151760
151760
|
}
|
|
151761
151761
|
};
|
|
151762
|
-
ka(N5,
|
|
151762
|
+
ka(N5, Xn);
|
|
151763
151763
|
function Th() {
|
|
151764
151764
|
this._nsMap = {};
|
|
151765
151765
|
}
|
|
@@ -151834,11 +151834,11 @@ Th.prototype = {
|
|
|
151834
151834
|
};
|
|
151835
151835
|
N5.prototype.getElementsByTagName = Th.prototype.getElementsByTagName;
|
|
151836
151836
|
N5.prototype.getElementsByTagNameNS = Th.prototype.getElementsByTagNameNS;
|
|
151837
|
-
ka(Th,
|
|
151837
|
+
ka(Th, Xn);
|
|
151838
151838
|
function dw() {
|
|
151839
151839
|
}
|
|
151840
151840
|
dw.prototype.nodeType = Bg;
|
|
151841
|
-
ka(dw,
|
|
151841
|
+
ka(dw, Xn);
|
|
151842
151842
|
function _5() {
|
|
151843
151843
|
}
|
|
151844
151844
|
_5.prototype = {
|
|
@@ -151863,7 +151863,7 @@ _5.prototype = {
|
|
|
151863
151863
|
n = r + n + o, this.nodeValue = this.data = n, this.length = n.length;
|
|
151864
151864
|
}
|
|
151865
151865
|
};
|
|
151866
|
-
ka(_5,
|
|
151866
|
+
ka(_5, Xn);
|
|
151867
151867
|
function rq() {
|
|
151868
151868
|
}
|
|
151869
151869
|
rq.prototype = {
|
|
@@ -151894,34 +151894,34 @@ ka(iq, _5);
|
|
|
151894
151894
|
function UC() {
|
|
151895
151895
|
}
|
|
151896
151896
|
UC.prototype.nodeType = $8e;
|
|
151897
|
-
ka(UC,
|
|
151897
|
+
ka(UC, Xn);
|
|
151898
151898
|
function e9e() {
|
|
151899
151899
|
}
|
|
151900
151900
|
e9e.prototype.nodeType = gkn;
|
|
151901
|
-
ka(e9e,
|
|
151901
|
+
ka(e9e, Xn);
|
|
151902
151902
|
function t9e() {
|
|
151903
151903
|
}
|
|
151904
151904
|
t9e.prototype.nodeType = pkn;
|
|
151905
|
-
ka(t9e,
|
|
151905
|
+
ka(t9e, Xn);
|
|
151906
151906
|
function aq() {
|
|
151907
151907
|
}
|
|
151908
151908
|
aq.prototype.nodeType = H8e;
|
|
151909
|
-
ka(aq,
|
|
151909
|
+
ka(aq, Xn);
|
|
151910
151910
|
function HC() {
|
|
151911
151911
|
}
|
|
151912
151912
|
HC.prototype.nodeName = "#document-fragment";
|
|
151913
151913
|
HC.prototype.nodeType = v1;
|
|
151914
|
-
ka(HC,
|
|
151914
|
+
ka(HC, Xn);
|
|
151915
151915
|
function sq() {
|
|
151916
151916
|
}
|
|
151917
151917
|
sq.prototype.nodeType = q8e;
|
|
151918
|
-
ka(sq,
|
|
151918
|
+
ka(sq, Xn);
|
|
151919
151919
|
function n9e() {
|
|
151920
151920
|
}
|
|
151921
151921
|
n9e.prototype.serializeToString = function(e, t, n) {
|
|
151922
151922
|
return r9e.call(e, t, n);
|
|
151923
151923
|
};
|
|
151924
|
-
|
|
151924
|
+
Xn.prototype.toString = r9e;
|
|
151925
151925
|
function r9e(e, t) {
|
|
151926
151926
|
var n = [], r = this.nodeType == 9 && this.documentElement || this, o = r.prefix, i = r.namespaceURI;
|
|
151927
151927
|
if (i && o == null) {
|
|
@@ -152106,7 +152106,7 @@ try {
|
|
|
152106
152106
|
get: function() {
|
|
152107
152107
|
return eq(this), this.$$length;
|
|
152108
152108
|
}
|
|
152109
|
-
}), Object.defineProperty(
|
|
152109
|
+
}), Object.defineProperty(Xn.prototype, "textContent", {
|
|
152110
152110
|
get: function() {
|
|
152111
152111
|
return e(this);
|
|
152112
152112
|
},
|
|
@@ -152132,7 +152132,7 @@ lc.DocumentType = UC;
|
|
|
152132
152132
|
lc.DOMException = Kr;
|
|
152133
152133
|
lc.DOMImplementation = K8e;
|
|
152134
152134
|
lc.Element = Th;
|
|
152135
|
-
lc.Node =
|
|
152135
|
+
lc.Node = Xn;
|
|
152136
152136
|
lc.NodeList = Qc;
|
|
152137
152137
|
lc.XMLSerializer = n9e;
|
|
152138
152138
|
var qC = {}, a9e = {};
|
|
@@ -254026,7 +254026,7 @@ var $p = "", II = "#", _3 = "*", jp = {}, Lp = function(e) {
|
|
|
254026
254026
|
function MNn(e, t) {
|
|
254027
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);
|
|
254028
254028
|
}
|
|
254029
|
-
var
|
|
254029
|
+
var Jn = iNn;
|
|
254030
254030
|
const ENn = {
|
|
254031
254031
|
socketClient: null,
|
|
254032
254032
|
roomId: "",
|
|
@@ -259007,8 +259007,8 @@ var kOn = function(e, t, n, r) {
|
|
|
259007
259007
|
}
|
|
259008
259008
|
u((r = r.apply(e, t || [])).next());
|
|
259009
259009
|
});
|
|
259010
|
-
},
|
|
259011
|
-
return this instanceof
|
|
259010
|
+
}, Yn = function(e) {
|
|
259011
|
+
return this instanceof Yn ? (this.v = e, this) : new Yn(e);
|
|
259012
259012
|
}, qc = function(e) {
|
|
259013
259013
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
259014
259014
|
var t = e[Symbol.asyncIterator], n;
|
|
@@ -259036,7 +259036,7 @@ var kOn = function(e, t, n, r) {
|
|
|
259036
259036
|
}, t;
|
|
259037
259037
|
function r(o, i) {
|
|
259038
259038
|
t[o] = e[o] ? function(a) {
|
|
259039
|
-
return (n = !n) ? { value:
|
|
259039
|
+
return (n = !n) ? { value: Yn(e[o](a)), done: o === "return" } : i ? i(a) : a;
|
|
259040
259040
|
} : i;
|
|
259041
259041
|
}
|
|
259042
259042
|
}, V5 = function(e, t, n) {
|
|
@@ -259060,7 +259060,7 @@ var kOn = function(e, t, n, r) {
|
|
|
259060
259060
|
}
|
|
259061
259061
|
}
|
|
259062
259062
|
function l(f) {
|
|
259063
|
-
f.value instanceof
|
|
259063
|
+
f.value instanceof Yn ? Promise.resolve(f.value.v).then(u, c) : d(i[0][2], f);
|
|
259064
259064
|
}
|
|
259065
259065
|
function u(f) {
|
|
259066
259066
|
s("next", f);
|
|
@@ -259076,9 +259076,9 @@ const qm = (e) => function(t, n, r = () => kOn(this, void 0, void 0, function* (
|
|
|
259076
259076
|
return !1;
|
|
259077
259077
|
})) {
|
|
259078
259078
|
return V5(this, arguments, function* () {
|
|
259079
|
-
if (yield
|
|
259080
|
-
return yield yield
|
|
259081
|
-
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))));
|
|
259082
259082
|
});
|
|
259083
259083
|
};
|
|
259084
259084
|
function AV(e) {
|
|
@@ -259128,10 +259128,10 @@ function MOn(e, t, n, r) {
|
|
|
259128
259128
|
var i, a;
|
|
259129
259129
|
let s = 0;
|
|
259130
259130
|
try {
|
|
259131
|
-
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; ) {
|
|
259132
259132
|
const d = u.value;
|
|
259133
259133
|
if (d instanceof Error) {
|
|
259134
|
-
yield yield
|
|
259134
|
+
yield yield Yn(d);
|
|
259135
259135
|
continue;
|
|
259136
259136
|
}
|
|
259137
259137
|
for (const f of n.payload.att)
|
|
@@ -259140,18 +259140,18 @@ function MOn(e, t, n, r) {
|
|
|
259140
259140
|
case "my":
|
|
259141
259141
|
continue;
|
|
259142
259142
|
case "as": {
|
|
259143
|
-
yield
|
|
259143
|
+
yield Yn(yield* Ky(qc(EOn(e, t, f, n, d, r))));
|
|
259144
259144
|
break;
|
|
259145
259145
|
}
|
|
259146
259146
|
case "prf": {
|
|
259147
|
-
yield
|
|
259147
|
+
yield Yn(yield* Ky(qc(AOn(e, t, f, n, d, s, r))));
|
|
259148
259148
|
break;
|
|
259149
259149
|
}
|
|
259150
259150
|
default:
|
|
259151
|
-
yield
|
|
259151
|
+
yield Yn(yield* Ky(qc(SOn(e, t, f, n, d, r))));
|
|
259152
259152
|
}
|
|
259153
259153
|
} catch (h) {
|
|
259154
|
-
yield yield
|
|
259154
|
+
yield yield Yn(c(h));
|
|
259155
259155
|
}
|
|
259156
259156
|
s++;
|
|
259157
259157
|
}
|
|
@@ -259159,7 +259159,7 @@ function MOn(e, t, n, r) {
|
|
|
259159
259159
|
i = { error: d };
|
|
259160
259160
|
} finally {
|
|
259161
259161
|
try {
|
|
259162
|
-
u && !u.done && (a = l.return) && (yield
|
|
259162
|
+
u && !u.done && (a = l.return) && (yield Yn(a.call(l)));
|
|
259163
259163
|
} finally {
|
|
259164
259164
|
if (i) throw i.error;
|
|
259165
259165
|
}
|
|
@@ -259174,13 +259174,13 @@ function EOn(e, t, n, r, o, i) {
|
|
|
259174
259174
|
var s, l;
|
|
259175
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 };
|
|
259176
259176
|
try {
|
|
259177
|
-
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; ) {
|
|
259178
259178
|
const g = p.value;
|
|
259179
259179
|
if (g instanceof Error) {
|
|
259180
|
-
yield yield
|
|
259180
|
+
yield yield Yn(g);
|
|
259181
259181
|
continue;
|
|
259182
259182
|
}
|
|
259183
|
-
"ownershipDID" in g && COn(t, d, f, g) && (yield yield
|
|
259183
|
+
"ownershipDID" in g && COn(t, d, f, g) && (yield yield Yn({
|
|
259184
259184
|
ownershipDID: d,
|
|
259185
259185
|
scope: f,
|
|
259186
259186
|
ucan: r,
|
|
@@ -259191,7 +259191,7 @@ function EOn(e, t, n, r, o, i) {
|
|
|
259191
259191
|
s = { error: g };
|
|
259192
259192
|
} finally {
|
|
259193
259193
|
try {
|
|
259194
|
-
p && !p.done && (l = h.return) && (yield
|
|
259194
|
+
p && !p.done && (l = h.return) && (yield Yn(l.call(h)));
|
|
259195
259195
|
} finally {
|
|
259196
259196
|
if (s) throw s.error;
|
|
259197
259197
|
}
|
|
@@ -259202,15 +259202,15 @@ function AOn(e, t, n, r, o, i, a) {
|
|
|
259202
259202
|
return V5(this, arguments, function* () {
|
|
259203
259203
|
var l, u;
|
|
259204
259204
|
if (n.with.hierPart !== oo && parseInt(n.with.hierPart, 10) !== i)
|
|
259205
|
-
return yield
|
|
259205
|
+
return yield Yn(void 0);
|
|
259206
259206
|
try {
|
|
259207
|
-
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; ) {
|
|
259208
259208
|
const f = d.value;
|
|
259209
259209
|
if (f instanceof Error) {
|
|
259210
|
-
yield yield
|
|
259210
|
+
yield yield Yn(f);
|
|
259211
259211
|
continue;
|
|
259212
259212
|
}
|
|
259213
|
-
"capability" in f && (yield yield
|
|
259213
|
+
"capability" in f && (yield yield Yn({
|
|
259214
259214
|
capability: f.capability,
|
|
259215
259215
|
ucan: r,
|
|
259216
259216
|
chainStep: f
|
|
@@ -259220,7 +259220,7 @@ function AOn(e, t, n, r, o, i, a) {
|
|
|
259220
259220
|
l = { error: f };
|
|
259221
259221
|
} finally {
|
|
259222
259222
|
try {
|
|
259223
|
-
d && !d.done && (u = c.return) && (yield
|
|
259223
|
+
d && !d.done && (u = c.return) && (yield Yn(u.call(c)));
|
|
259224
259224
|
} finally {
|
|
259225
259225
|
if (l) throw l.error;
|
|
259226
259226
|
}
|
|
@@ -259231,13 +259231,13 @@ function SOn(e, t, n, r, o, i) {
|
|
|
259231
259231
|
return V5(this, arguments, function* () {
|
|
259232
259232
|
var s, l;
|
|
259233
259233
|
try {
|
|
259234
|
-
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; ) {
|
|
259235
259235
|
const d = c.value;
|
|
259236
259236
|
if (d instanceof Error) {
|
|
259237
|
-
yield yield
|
|
259237
|
+
yield yield Yn(d);
|
|
259238
259238
|
continue;
|
|
259239
259239
|
}
|
|
259240
|
-
BD(t, n, d) && (yield yield
|
|
259240
|
+
BD(t, n, d) && (yield yield Yn({
|
|
259241
259241
|
capability: n,
|
|
259242
259242
|
ucan: r,
|
|
259243
259243
|
chainStep: d
|
|
@@ -259247,7 +259247,7 @@ function SOn(e, t, n, r, o, i) {
|
|
|
259247
259247
|
s = { error: d };
|
|
259248
259248
|
} finally {
|
|
259249
259249
|
try {
|
|
259250
|
-
c && !c.done && (l = u.return) && (yield
|
|
259250
|
+
c && !c.done && (l = u.return) && (yield Yn(l.call(u)));
|
|
259251
259251
|
} finally {
|
|
259252
259252
|
if (s) throw s.error;
|
|
259253
259253
|
}
|
|
@@ -260700,25 +260700,7 @@ const nRn = (e) => {
|
|
|
260700
260700
|
_awarenessUpdateHandler: null,
|
|
260701
260701
|
uncommittedUpdatesIdList: [],
|
|
260702
260702
|
updateQueue: []
|
|
260703
|
-
}), ARn = (e
|
|
260704
|
-
socketClient: null,
|
|
260705
|
-
roomId: "",
|
|
260706
|
-
roomMembers: [],
|
|
260707
|
-
isConnected: !1,
|
|
260708
|
-
awareness: null,
|
|
260709
|
-
_awarenessUpdateHandler: null,
|
|
260710
|
-
roomKey: "",
|
|
260711
|
-
wsUrl: "",
|
|
260712
|
-
uncommittedUpdatesIdList: [],
|
|
260713
|
-
updateQueue: [],
|
|
260714
|
-
isOwner: !1,
|
|
260715
|
-
isReady: !1,
|
|
260716
|
-
isNewDoc: !1,
|
|
260717
|
-
contentTobeAppliedQueue: [],
|
|
260718
|
-
initialUpdate: null,
|
|
260719
|
-
errorCount: 0,
|
|
260720
|
-
errorMessage: ""
|
|
260721
|
-
}), SRn = (e) => {
|
|
260703
|
+
}), ARn = (e) => {
|
|
260722
260704
|
var t, n;
|
|
260723
260705
|
return d7(
|
|
260724
260706
|
e.awareness,
|
|
@@ -260743,38 +260725,37 @@ const nRn = (e) => {
|
|
|
260743
260725
|
errorCount: 0,
|
|
260744
260726
|
errorMessage: ""
|
|
260745
260727
|
};
|
|
260746
|
-
},
|
|
260728
|
+
}, SRn = (e, t) => ({
|
|
260747
260729
|
initalDocumentDecryptionState: t.data
|
|
260748
|
-
}),
|
|
260749
|
-
resetState:
|
|
260750
|
-
initializeAwareness:
|
|
260751
|
-
updateConnectionState:
|
|
260752
|
-
initializeSync:
|
|
260753
|
-
applyRemoteYjsUpdate:
|
|
260754
|
-
updateRoomMembers:
|
|
260755
|
-
registerUpdate:
|
|
260756
|
-
clearUncommitedUpdates:
|
|
260757
|
-
addUpdateToQueue:
|
|
260758
|
-
removeLastProcessedUpdate:
|
|
260759
|
-
updateConnectionReadyState:
|
|
260760
|
-
setNewDocFlag:
|
|
260761
|
-
commitUncommittedIds:
|
|
260762
|
-
setConnectionActiveState:
|
|
260763
|
-
setMachineReadyState:
|
|
260764
|
-
addRemoteContentToQueue:
|
|
260765
|
-
applyContentsFromRemote:
|
|
260766
|
-
clearErrorCount:
|
|
260767
|
-
updateErrorCount:
|
|
260768
|
-
setCommitMessageError:
|
|
260769
|
-
setUpdateErrorMessage:
|
|
260770
|
-
setConnectionErrorMessage:
|
|
260771
|
-
setIpfsQueryErrorMessage:
|
|
260772
|
-
setInitialCommitErrorMessage:
|
|
260773
|
-
setInitialUpdateErrorMessage:
|
|
260774
|
-
handleDisconnectedState:
|
|
260775
|
-
|
|
260776
|
-
|
|
260777
|
-
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)
|
|
260778
260759
|
}, Die = (e, t) => {
|
|
260779
260760
|
const n = new Blob([JSON.stringify(e)], {
|
|
260780
260761
|
type: "application/json"
|
|
@@ -260782,7 +260763,7 @@ const nRn = (e) => {
|
|
|
260782
260763
|
return new File([n], t, {
|
|
260783
260764
|
type: "application/json"
|
|
260784
260765
|
});
|
|
260785
|
-
},
|
|
260766
|
+
}, jRn = {
|
|
260786
260767
|
connectSocket: (e) => async (t) => {
|
|
260787
260768
|
const { socketClient: n, roomId: r, onError: o } = e;
|
|
260788
260769
|
if (!n)
|
|
@@ -260948,14 +260929,14 @@ const nRn = (e) => {
|
|
|
260948
260929
|
verifyConnectionState: (e) => async (t) => {
|
|
260949
260930
|
e.isConnected || t({ type: "DISCONNECT", data: null });
|
|
260950
260931
|
}
|
|
260951
|
-
},
|
|
260932
|
+
}, LRn = {
|
|
260952
260933
|
isUserConnected: (e) => e.isConnected,
|
|
260953
260934
|
hasMoreUpdates: (e) => e.updateQueue.length > 0,
|
|
260954
260935
|
isOwner: (e) => e.isOwner,
|
|
260955
260936
|
errorIsLessThanRetryCount: (e) => e.errorCount <= e.errorMaxRetryCount,
|
|
260956
260937
|
shouldRetryConnection: (e) => !!(e.roomId && e.socketClient && e.errorCount <= e.errorMaxRetryCount),
|
|
260957
260938
|
shouldRefetchCommit: (e) => !!(e.isConnected && e.errorCount <= e.errorMaxRetryCount)
|
|
260958
|
-
},
|
|
260939
|
+
}, NRn = MNn(
|
|
260959
260940
|
{
|
|
260960
260941
|
id: "fileverse-sync-machine",
|
|
260961
260942
|
schema: {
|
|
@@ -260992,10 +260973,6 @@ const nRn = (e) => {
|
|
|
260992
260973
|
SYNC_LATEST_COMMIT: {
|
|
260993
260974
|
target: "syncing_latest_commit"
|
|
260994
260975
|
},
|
|
260995
|
-
DISCONNECT: {
|
|
260996
|
-
actions: "handleDisconnectionDueToError",
|
|
260997
|
-
target: "disconnecting"
|
|
260998
|
-
},
|
|
260999
260976
|
INIT_AWARENESS: {
|
|
261000
260977
|
actions: "initializeAwareness"
|
|
261001
260978
|
},
|
|
@@ -261259,12 +261236,12 @@ const nRn = (e) => {
|
|
|
261259
261236
|
}
|
|
261260
261237
|
},
|
|
261261
261238
|
{
|
|
261262
|
-
actions:
|
|
261263
|
-
services:
|
|
261264
|
-
guards:
|
|
261239
|
+
actions: TRn,
|
|
261240
|
+
services: jRn,
|
|
261241
|
+
guards: LRn
|
|
261265
261242
|
}
|
|
261266
261243
|
);
|
|
261267
|
-
var
|
|
261244
|
+
var _Rn = es;
|
|
261268
261245
|
function Mie(e) {
|
|
261269
261246
|
var t = W.useRef();
|
|
261270
261247
|
return t.current || (t.current = { v: e() }), t.current.v;
|
|
@@ -261277,14 +261254,14 @@ var _w = function() {
|
|
|
261277
261254
|
}
|
|
261278
261255
|
return e;
|
|
261279
261256
|
}, _w.apply(this, arguments);
|
|
261280
|
-
},
|
|
261257
|
+
}, IRn = function(e, t) {
|
|
261281
261258
|
var n = {};
|
|
261282
261259
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
261283
261260
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
261284
261261
|
for (var o = 0, r = Object.getOwnPropertySymbols(e); o < r.length; o++)
|
|
261285
261262
|
t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
|
|
261286
261263
|
return n;
|
|
261287
|
-
},
|
|
261264
|
+
}, BRn = function(e, t) {
|
|
261288
261265
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
261289
261266
|
if (!n) return e;
|
|
261290
261267
|
var r = n.call(e), o, i = [], a;
|
|
@@ -261301,17 +261278,17 @@ var _w = function() {
|
|
|
261301
261278
|
}
|
|
261302
261279
|
return i;
|
|
261303
261280
|
};
|
|
261304
|
-
function
|
|
261281
|
+
function ORn(e, t) {
|
|
261305
261282
|
var n = Mie(function() {
|
|
261306
261283
|
return typeof e == "function" ? e() : e;
|
|
261307
261284
|
});
|
|
261308
261285
|
if (process.env.NODE_ENV !== "production" && typeof e != "function") {
|
|
261309
|
-
var r =
|
|
261286
|
+
var r = BRn(Re(n), 1), o = r[0];
|
|
261310
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.");
|
|
261311
261288
|
}
|
|
261312
261289
|
var i = t.context, a = t.guards, s = t.actions, l = t.activities, u = t.services, c = t.delays;
|
|
261313
261290
|
t.state;
|
|
261314
|
-
var d =
|
|
261291
|
+
var d = IRn(t, ["context", "guards", "actions", "activities", "services", "delays", "state"]), f = Mie(function() {
|
|
261315
261292
|
var h = {
|
|
261316
261293
|
context: i,
|
|
261317
261294
|
guards: a,
|
|
@@ -261324,23 +261301,23 @@ function RRn(e, t) {
|
|
|
261324
261301
|
});
|
|
261325
261302
|
return _ke(p, d);
|
|
261326
261303
|
});
|
|
261327
|
-
return
|
|
261304
|
+
return _Rn(function() {
|
|
261328
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);
|
|
261329
261306
|
}, [s, a, l, u, c]), f;
|
|
261330
261307
|
}
|
|
261331
|
-
function
|
|
261308
|
+
function RRn(e) {
|
|
261332
261309
|
return e.status !== 0 ? e.getSnapshot() : e.machine.initialState;
|
|
261333
261310
|
}
|
|
261334
|
-
function
|
|
261311
|
+
function PRn(e) {
|
|
261335
261312
|
return "state" in e && "machine" in e;
|
|
261336
261313
|
}
|
|
261337
|
-
function
|
|
261314
|
+
function zRn(e, t, n) {
|
|
261338
261315
|
if (e.status === Er.NotStarted)
|
|
261339
261316
|
return !0;
|
|
261340
261317
|
var r = n.changed === void 0 && (Object.keys(n.children).length > 0 || typeof t.changed == "boolean");
|
|
261341
261318
|
return !(n.changed || r);
|
|
261342
261319
|
}
|
|
261343
|
-
var
|
|
261320
|
+
var URn = function(e, t) {
|
|
261344
261321
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
261345
261322
|
if (!n) return e;
|
|
261346
261323
|
var r = n.call(e), o, i = [], a;
|
|
@@ -261357,20 +261334,20 @@ var HRn = function(e, t) {
|
|
|
261357
261334
|
}
|
|
261358
261335
|
return i;
|
|
261359
261336
|
};
|
|
261360
|
-
function
|
|
261337
|
+
function HRn(e) {
|
|
261361
261338
|
return e;
|
|
261362
261339
|
}
|
|
261363
|
-
function
|
|
261340
|
+
function qRn(e) {
|
|
261364
261341
|
for (var t = [], n = 1; n < arguments.length; n++)
|
|
261365
261342
|
t[n - 1] = arguments[n];
|
|
261366
|
-
var r =
|
|
261343
|
+
var r = URn(t, 1), o = r[0], i = o === void 0 ? {} : o, a = ORn(e, i), s = We(function() {
|
|
261367
261344
|
return a.status === Er.NotStarted ? i.state ? ja.create(i.state) : a.machine.initialState : a.getSnapshot();
|
|
261368
261345
|
}, [a]), l = We(function(d, f) {
|
|
261369
|
-
return
|
|
261346
|
+
return zRn(a, d, f);
|
|
261370
261347
|
}, [a]), u = We(function(d) {
|
|
261371
261348
|
var f = a.subscribe(d).unsubscribe;
|
|
261372
261349
|
return f;
|
|
261373
|
-
}, [a]), c = NB.useSyncExternalStoreWithSelector(u, s, s,
|
|
261350
|
+
}, [a]), c = NB.useSyncExternalStoreWithSelector(u, s, s, HRn, l);
|
|
261374
261351
|
return Ue(function() {
|
|
261375
261352
|
var d = i.state;
|
|
261376
261353
|
return a.start(d ? ja.create(d) : void 0), function() {
|
|
@@ -261378,31 +261355,31 @@ function VRn(e) {
|
|
|
261378
261355
|
};
|
|
261379
261356
|
}, []), [c, a.send, a];
|
|
261380
261357
|
}
|
|
261381
|
-
function
|
|
261358
|
+
function VRn(e) {
|
|
261382
261359
|
return "state" in e;
|
|
261383
261360
|
}
|
|
261384
|
-
var
|
|
261361
|
+
var WRn = function(e, t) {
|
|
261385
261362
|
return e === t;
|
|
261386
|
-
},
|
|
261387
|
-
if (
|
|
261363
|
+
}, $Rn = function(e, t) {
|
|
261364
|
+
if (PRn(e)) {
|
|
261388
261365
|
if (e.status === 0 && t.current)
|
|
261389
261366
|
return t.current;
|
|
261390
|
-
var n =
|
|
261367
|
+
var n = RRn(e);
|
|
261391
261368
|
return t.current = e.status === 0 ? n : null, n;
|
|
261392
261369
|
}
|
|
261393
|
-
return
|
|
261370
|
+
return VRn(e) ? e.state : void 0;
|
|
261394
261371
|
};
|
|
261395
261372
|
function B3(e, t, n, r) {
|
|
261396
|
-
n === void 0 && (n =
|
|
261373
|
+
n === void 0 && (n = WRn);
|
|
261397
261374
|
var o = Je(null), i = We(function(l) {
|
|
261398
261375
|
var u = e.subscribe(l).unsubscribe;
|
|
261399
261376
|
return u;
|
|
261400
261377
|
}, [e]), a = We(function() {
|
|
261401
|
-
return
|
|
261378
|
+
return $Rn(e, o);
|
|
261402
261379
|
}, [e, r]), s = NB.useSyncExternalStoreWithSelector(i, a, a, t, n);
|
|
261403
261380
|
return s;
|
|
261404
261381
|
}
|
|
261405
|
-
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 || {});
|
|
261406
261383
|
function Eie(e) {
|
|
261407
261384
|
return e.target != null || e.actions != null;
|
|
261408
261385
|
}
|
|
@@ -261412,10 +261389,10 @@ function WFe(e) {
|
|
|
261412
261389
|
function ul(e) {
|
|
261413
261390
|
return e.machine !== void 0;
|
|
261414
261391
|
}
|
|
261415
|
-
function
|
|
261392
|
+
function KRn(e) {
|
|
261416
261393
|
return typeof (e == null ? void 0 : e.type) == "string";
|
|
261417
261394
|
}
|
|
261418
|
-
function
|
|
261395
|
+
function YRn(e, t) {
|
|
261419
261396
|
const n = {
|
|
261420
261397
|
...t
|
|
261421
261398
|
};
|
|
@@ -261425,7 +261402,7 @@ function XRn(e, t) {
|
|
|
261425
261402
|
}
|
|
261426
261403
|
function $Fe(e) {
|
|
261427
261404
|
const t = {
|
|
261428
|
-
...
|
|
261405
|
+
...YRn(["actorRef", "subscription"], e),
|
|
261429
261406
|
snapshot: OD(e.snapshot),
|
|
261430
261407
|
actorId: e.actorRef.id,
|
|
261431
261408
|
machine: void 0
|
|
@@ -261444,24 +261421,24 @@ function tu(e, t, n) {
|
|
|
261444
261421
|
function Aie(e, t = 10) {
|
|
261445
261422
|
return e.length <= t ? e : e.slice(0, t) + "…";
|
|
261446
261423
|
}
|
|
261447
|
-
const
|
|
261448
|
-
function
|
|
261449
|
-
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);
|
|
261450
261427
|
}
|
|
261451
|
-
function
|
|
261428
|
+
function QRn(e) {
|
|
261452
261429
|
return e instanceof Nke;
|
|
261453
261430
|
}
|
|
261454
|
-
function
|
|
261431
|
+
function ePn(e) {
|
|
261455
261432
|
return Array.isArray(e) || e instanceof Map ? e.entries() : Object.entries(e).values();
|
|
261456
261433
|
}
|
|
261457
|
-
const
|
|
261434
|
+
const tPn = (e) => (t) => e.length !== t.length ? !1 : e.every((n, r) => n === t[r]);
|
|
261458
261435
|
function Sie(e, t, n) {
|
|
261459
261436
|
const r = n.get(e);
|
|
261460
261437
|
if (!r)
|
|
261461
261438
|
return !1;
|
|
261462
261439
|
let o = t;
|
|
261463
261440
|
for (; ; ) {
|
|
261464
|
-
if (r.some(
|
|
261441
|
+
if (r.some(tPn(o)))
|
|
261465
261442
|
return !0;
|
|
261466
261443
|
if (o.length > 0)
|
|
261467
261444
|
o = o.slice(0, -1);
|
|
@@ -261482,14 +261459,14 @@ function Yy(e) {
|
|
|
261482
261459
|
]), r = {};
|
|
261483
261460
|
for (; t.length > 0; ) {
|
|
261484
261461
|
const [o, i] = t.shift();
|
|
261485
|
-
for (const [a, s] of
|
|
261486
|
-
if (
|
|
261462
|
+
for (const [a, s] of ePn(i))
|
|
261463
|
+
if (JRn(s))
|
|
261487
261464
|
tu([...o, a], s, r);
|
|
261488
261465
|
else if (typeof s == "function")
|
|
261489
261466
|
tu([...o, a], "<function>: " + Aie(s.toString(), 20), r);
|
|
261490
261467
|
else if (typeof s == "symbol")
|
|
261491
261468
|
tu([...o, a], "<symbol>: " + Aie(s.toString(), 20), r);
|
|
261492
|
-
else if (
|
|
261469
|
+
else if (QRn(s)) {
|
|
261493
261470
|
const l = {
|
|
261494
261471
|
id: s.id,
|
|
261495
261472
|
sessionId: s.sessionId,
|
|
@@ -261504,7 +261481,7 @@ function Yy(e) {
|
|
|
261504
261481
|
if (Sie(s, o, n))
|
|
261505
261482
|
tu([...o, a], "<circular>", r);
|
|
261506
261483
|
else {
|
|
261507
|
-
const l = XI(s) ?
|
|
261484
|
+
const l = XI(s) ? nPn(s) : s;
|
|
261508
261485
|
Tie(l, [...o, a], n), t.push([[...o, a], l]), tu([...o, a], {}, r);
|
|
261509
261486
|
}
|
|
261510
261487
|
else
|
|
@@ -261529,7 +261506,7 @@ function SV(e) {
|
|
|
261529
261506
|
context: Yy(e.context)
|
|
261530
261507
|
}) : Iw(e);
|
|
261531
261508
|
}
|
|
261532
|
-
function
|
|
261509
|
+
function nPn(e) {
|
|
261533
261510
|
const t = {
|
|
261534
261511
|
type: e.type
|
|
261535
261512
|
}, n = [
|
|
@@ -261549,26 +261526,26 @@ function XI(e) {
|
|
|
261549
261526
|
function GFe(e) {
|
|
261550
261527
|
return typeof e == "object" && e != null && Object.keys(e).every((t) => typeof t == "string");
|
|
261551
261528
|
}
|
|
261552
|
-
function
|
|
261529
|
+
function rPn(e, t) {
|
|
261553
261530
|
for (const n of e.children.values())
|
|
261554
261531
|
if (n.sessionId === t)
|
|
261555
261532
|
return n;
|
|
261556
261533
|
}
|
|
261557
|
-
const
|
|
261558
|
-
function
|
|
261534
|
+
const oPn = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm, iPn = /([^\s,]+)/g;
|
|
261535
|
+
function aPn(e) {
|
|
261559
261536
|
var t;
|
|
261560
|
-
const n = e.toString().replace(
|
|
261561
|
-
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 : [];
|
|
261562
261539
|
}
|
|
261563
|
-
function
|
|
261540
|
+
function sPn(e) {
|
|
261564
261541
|
try {
|
|
261565
|
-
const t =
|
|
261542
|
+
const t = aPn(e.subscribe);
|
|
261566
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;
|
|
261567
261544
|
} catch {
|
|
261568
261545
|
return console.error("Failed to introspect the subscribe method on an actor", e), ll.unknown;
|
|
261569
261546
|
}
|
|
261570
261547
|
}
|
|
261571
|
-
function
|
|
261548
|
+
function lPn(e, t) {
|
|
261572
261549
|
var n, r, o, i;
|
|
261573
261550
|
const a = ul(e), s = {
|
|
261574
261551
|
actorRef: e,
|
|
@@ -261584,26 +261561,26 @@ function uPn(e, t) {
|
|
|
261584
261561
|
type: ll.unknown,
|
|
261585
261562
|
dead: ul(e) ? e.initialized && (((n = e.getSnapshot) == null ? void 0 : n.call(e).done) || e.status === Er.Stopped) : !1
|
|
261586
261563
|
};
|
|
261587
|
-
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;
|
|
261588
261565
|
}
|
|
261589
|
-
function
|
|
261566
|
+
function uPn(e, t) {
|
|
261590
261567
|
return {
|
|
261591
261568
|
name: e.name,
|
|
261592
261569
|
data: Yy(e.data),
|
|
261593
261570
|
origin: e.origin,
|
|
261594
261571
|
createdAt: Date.now(),
|
|
261595
|
-
transitionType:
|
|
261572
|
+
transitionType: cPn(t)
|
|
261596
261573
|
};
|
|
261597
261574
|
}
|
|
261598
|
-
function
|
|
261575
|
+
function cPn(e) {
|
|
261599
261576
|
if (ul(e)) {
|
|
261600
|
-
const { configuration: t, event: n } = e.state, r =
|
|
261577
|
+
const { configuration: t, event: n } = e.state, r = dPn(t);
|
|
261601
261578
|
switch (!0) {
|
|
261602
261579
|
case e.state.changed:
|
|
261603
261580
|
return Gp.taken;
|
|
261604
|
-
case
|
|
261581
|
+
case fPn(n.type, r):
|
|
261605
261582
|
return Gp.guardedAndNoChange;
|
|
261606
|
-
case
|
|
261583
|
+
case hPn(n.type, r):
|
|
261607
261584
|
return Gp.forbidden;
|
|
261608
261585
|
default:
|
|
261609
261586
|
return Gp.missing;
|
|
@@ -261611,10 +261588,10 @@ function dPn(e) {
|
|
|
261611
261588
|
}
|
|
261612
261589
|
return Gp.unknown;
|
|
261613
261590
|
}
|
|
261614
|
-
function
|
|
261591
|
+
function dPn(e) {
|
|
261615
261592
|
return e.slice().sort((t, n) => t.order < n.order ? -1 : 1);
|
|
261616
261593
|
}
|
|
261617
|
-
function
|
|
261594
|
+
function fPn(e, t) {
|
|
261618
261595
|
for (const n of t) {
|
|
261619
261596
|
if (n.config.on === void 0)
|
|
261620
261597
|
continue;
|
|
@@ -261635,7 +261612,7 @@ function hPn(e, t) {
|
|
|
261635
261612
|
}
|
|
261636
261613
|
return !1;
|
|
261637
261614
|
}
|
|
261638
|
-
function
|
|
261615
|
+
function hPn(e, t) {
|
|
261639
261616
|
for (const n of t) {
|
|
261640
261617
|
const r = n.config.on;
|
|
261641
261618
|
if (r !== void 0) {
|
|
@@ -261661,7 +261638,7 @@ function Iw(e) {
|
|
|
261661
261638
|
}
|
|
261662
261639
|
}
|
|
261663
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 || {});
|
|
261664
|
-
class
|
|
261641
|
+
class pPn extends CustomEvent {
|
|
261665
261642
|
constructor(t) {
|
|
261666
261643
|
let n;
|
|
261667
261644
|
t.machine != null && (n = SV(t.machine)), super("@xstate/inspect.actor", {
|
|
@@ -261675,7 +261652,7 @@ class gPn extends CustomEvent {
|
|
|
261675
261652
|
}), Fu(this, "type", "@xstate/inspect.actor");
|
|
261676
261653
|
}
|
|
261677
261654
|
}
|
|
261678
|
-
class
|
|
261655
|
+
class gPn extends CustomEvent {
|
|
261679
261656
|
constructor(t, n) {
|
|
261680
261657
|
super("@xstate/inspect.update", {
|
|
261681
261658
|
detail: {
|
|
@@ -261685,12 +261662,12 @@ class mPn extends CustomEvent {
|
|
|
261685
261662
|
snapshot: OD(t.actorRef.getSnapshot()),
|
|
261686
261663
|
createdAt: Date.now(),
|
|
261687
261664
|
status: ul(t.actorRef) ? t.actorRef.status : 0,
|
|
261688
|
-
event:
|
|
261665
|
+
event: uPn(n, t.actorRef)
|
|
261689
261666
|
}
|
|
261690
261667
|
}), Fu(this, "type", "@xstate/inspect.update");
|
|
261691
261668
|
}
|
|
261692
261669
|
}
|
|
261693
|
-
class
|
|
261670
|
+
class mPn extends CustomEvent {
|
|
261694
261671
|
constructor(t) {
|
|
261695
261672
|
super("@xstate-ninja/unregister", {
|
|
261696
261673
|
detail: {
|
|
@@ -261705,7 +261682,7 @@ class yPn extends CustomEvent {
|
|
|
261705
261682
|
}), Fu(this, "type", "@xstate-ninja/unregister");
|
|
261706
261683
|
}
|
|
261707
261684
|
}
|
|
261708
|
-
class
|
|
261685
|
+
class yPn extends CustomEvent {
|
|
261709
261686
|
constructor() {
|
|
261710
261687
|
super("@xstate/inspect.connected", {
|
|
261711
261688
|
detail: {
|
|
@@ -261714,7 +261691,7 @@ class bPn extends CustomEvent {
|
|
|
261714
261691
|
}), Fu(this, "type", "@xstate/inspect.connected");
|
|
261715
261692
|
}
|
|
261716
261693
|
}
|
|
261717
|
-
class
|
|
261694
|
+
class bPn extends CustomEvent {
|
|
261718
261695
|
constructor(t) {
|
|
261719
261696
|
super("@xstate/inspect.actors", {
|
|
261720
261697
|
detail: {
|
|
@@ -261731,7 +261708,7 @@ class vPn extends CustomEvent {
|
|
|
261731
261708
|
}), Fu(this, "type", "@xstate/inspect.actors");
|
|
261732
261709
|
}
|
|
261733
261710
|
}
|
|
261734
|
-
class
|
|
261711
|
+
class vPn extends CustomEvent {
|
|
261735
261712
|
constructor() {
|
|
261736
261713
|
super("@xstate-ninja/inspectorCreated", {
|
|
261737
261714
|
detail: {
|
|
@@ -261740,13 +261717,13 @@ class xPn extends CustomEvent {
|
|
|
261740
261717
|
}), Fu(this, "type", "@xstate-ninja/inspectorCreated");
|
|
261741
261718
|
}
|
|
261742
261719
|
}
|
|
261743
|
-
class
|
|
261720
|
+
class xPn {
|
|
261744
261721
|
constructor({ logLevel: t, enabled: n } = {}) {
|
|
261745
261722
|
Fu(this, "actors"), Fu(this, "logLevel", 0), Fu(this, "enabled", !0), Fu(this, "trackedActorTypes", [
|
|
261746
261723
|
ll.machine,
|
|
261747
261724
|
ll.callback,
|
|
261748
261725
|
ll.observable
|
|
261749
|
-
]), 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());
|
|
261750
261727
|
}
|
|
261751
261728
|
onSettingsChanged(t) {
|
|
261752
261729
|
this.log("received", t);
|
|
@@ -261766,12 +261743,12 @@ class wPn {
|
|
|
261766
261743
|
if (!this.enabled)
|
|
261767
261744
|
return;
|
|
261768
261745
|
this.log("register actor", t);
|
|
261769
|
-
const r =
|
|
261746
|
+
const r = lPn(t, n);
|
|
261770
261747
|
if (!this.isActorTypeTracked(r.type)) {
|
|
261771
261748
|
this.log(`Actor type ${r.type} is excluded from tracking.`);
|
|
261772
261749
|
return;
|
|
261773
261750
|
}
|
|
261774
|
-
const o = new
|
|
261751
|
+
const o = new pPn(r);
|
|
261775
261752
|
globalThis.dispatchEvent(o);
|
|
261776
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));
|
|
261777
261754
|
r.subscription = t.subscribe((a) => {
|
|
@@ -261780,7 +261757,7 @@ class wPn {
|
|
|
261780
261757
|
let l;
|
|
261781
261758
|
if (ul(r.actorRef)) {
|
|
261782
261759
|
if (l = r.actorRef.state._event, l.origin != null && l.origin.match(/^x:\d/)) {
|
|
261783
|
-
const c = (s =
|
|
261760
|
+
const c = (s = rPn(r.actorRef, l.origin)) == null ? void 0 : s.id;
|
|
261784
261761
|
c != null && (l.origin = `${c} (${l.origin})`);
|
|
261785
261762
|
}
|
|
261786
261763
|
a.actions && (a.actions.filter((c) => c.type === "xstate.start").forEach((c) => {
|
|
@@ -261806,11 +261783,11 @@ class wPn {
|
|
|
261806
261783
|
c.parent === void 0 && Object.isExtensible(c) && (c.parent = d), this.register(c, d);
|
|
261807
261784
|
});
|
|
261808
261785
|
} else
|
|
261809
|
-
|
|
261786
|
+
KRn(a) ? l = fo(a) : l = fo({
|
|
261810
261787
|
type: `xstate-ninja.emitted-value.${r.actorRef.id}`,
|
|
261811
261788
|
data: a
|
|
261812
261789
|
});
|
|
261813
|
-
const u = new
|
|
261790
|
+
const u = new gPn(r, l);
|
|
261814
261791
|
r.history.push(u.detail), r.events.push(u.detail.event), globalThis.dispatchEvent(u), a != null && a.done && this.unregister(t);
|
|
261815
261792
|
}), ul(t) && t.onStop(() => {
|
|
261816
261793
|
var a;
|
|
@@ -261827,7 +261804,7 @@ class wPn {
|
|
|
261827
261804
|
return;
|
|
261828
261805
|
(r = i.subscription) == null || r.unsubscribe(), i.dead = !0;
|
|
261829
261806
|
const a = Date.now();
|
|
261830
|
-
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];
|
|
261831
261808
|
}
|
|
261832
261809
|
forgetAllChildren(t) {
|
|
261833
261810
|
!this.enabled || Object.values(this.actors).forEach((n) => {
|
|
@@ -261843,7 +261820,7 @@ class wPn {
|
|
|
261843
261820
|
return t({}), {};
|
|
261844
261821
|
}
|
|
261845
261822
|
onConnect(t) {
|
|
261846
|
-
!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))));
|
|
261847
261824
|
}
|
|
261848
261825
|
onRead(t) {
|
|
261849
261826
|
!this.enabled || (this.log("received", t), console.log("onSend not implemented", t));
|
|
@@ -261870,12 +261847,12 @@ class wPn {
|
|
|
261870
261847
|
}
|
|
261871
261848
|
}
|
|
261872
261849
|
let O3;
|
|
261873
|
-
function
|
|
261874
|
-
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;
|
|
261875
261852
|
}
|
|
261876
|
-
const jie =
|
|
261877
|
-
function
|
|
261878
|
-
const n =
|
|
261853
|
+
const jie = wPn();
|
|
261854
|
+
function kPn(e, t) {
|
|
261855
|
+
const n = qRn(e, t);
|
|
261879
261856
|
return Ue(() => {
|
|
261880
261857
|
if (t != null && t.devTools) {
|
|
261881
261858
|
const [, , r] = n;
|
|
@@ -261883,15 +261860,15 @@ function FPn(e, t) {
|
|
|
261883
261860
|
}
|
|
261884
261861
|
}, [t == null ? void 0 : t.devTools]), n;
|
|
261885
261862
|
}
|
|
261886
|
-
const
|
|
261887
|
-
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, {
|
|
261888
261865
|
context: {
|
|
261889
261866
|
...e
|
|
261890
261867
|
},
|
|
261891
261868
|
devTools: !0
|
|
261892
|
-
}), r = B3(n,
|
|
261869
|
+
}), r = B3(n, FPn), o = B3(n, CPn), i = B3(n, DPn), a = B3(n, MPn), s = B3(
|
|
261893
261870
|
n,
|
|
261894
|
-
|
|
261871
|
+
EPn
|
|
261895
261872
|
), l = We(
|
|
261896
261873
|
(d) => {
|
|
261897
261874
|
t({
|
|
@@ -261959,7 +261936,7 @@ const CPn = (e) => e.context.awareness, DPn = (e) => !!(e.context.isReady && e.c
|
|
|
261959
261936
|
awareness: r,
|
|
261960
261937
|
hasCollabContentInitialised: s
|
|
261961
261938
|
};
|
|
261962
|
-
}, 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 = [
|
|
261963
261940
|
"#30bced",
|
|
261964
261941
|
"#6eeb83",
|
|
261965
261942
|
"#fa69d1",
|
|
@@ -262012,7 +261989,7 @@ const CPn = (e) => e.context.awareness, DPn = (e) => !!(e.context.isReady && e.c
|
|
|
262012
261989
|
terminateSession: q,
|
|
262013
261990
|
awareness: z,
|
|
262014
261991
|
hasCollabContentInitialised: Y
|
|
262015
|
-
} =
|
|
261992
|
+
} = APn({
|
|
262016
261993
|
onError: L.onCollabError,
|
|
262017
261994
|
ydoc: I,
|
|
262018
261995
|
onCollaborationConnectCallback: L.onCollaborationConnectCallback,
|
|
@@ -262449,7 +262426,7 @@ const CPn = (e) => e.context.awareness, DPn = (e) => !!(e.context.isReady && e.c
|
|
|
262449
262426
|
setTocItems: P,
|
|
262450
262427
|
terminateSession: q
|
|
262451
262428
|
};
|
|
262452
|
-
},
|
|
262429
|
+
}, TPn = ({
|
|
262453
262430
|
editor: e,
|
|
262454
262431
|
onError: t,
|
|
262455
262432
|
isKeyboardVisible: n,
|
|
@@ -262660,7 +262637,7 @@ Rn.addRule("pageBreak", {
|
|
|
262660
262637
|
`;
|
|
262661
262638
|
}
|
|
262662
262639
|
});
|
|
262663
|
-
const
|
|
262640
|
+
const jPn = (e) => {
|
|
262664
262641
|
if (!e.nodeName) return "";
|
|
262665
262642
|
switch (e.nodeName) {
|
|
262666
262643
|
case "H1":
|
|
@@ -262676,7 +262653,7 @@ const LPn = (e) => {
|
|
|
262676
262653
|
Rn.addRule("heading", {
|
|
262677
262654
|
filter: ["h1", "h2", "h3"],
|
|
262678
262655
|
replacement: function(e, t) {
|
|
262679
|
-
const n =
|
|
262656
|
+
const n = jPn(t), r = e.replace(/\n\n===\n\n/g, "<br>");
|
|
262680
262657
|
return `${n} ${r}`;
|
|
262681
262658
|
}
|
|
262682
262659
|
});
|
|
@@ -262743,7 +262720,7 @@ Rn.addRule("taskListItem", {
|
|
|
262743
262720
|
` : ""}`;
|
|
262744
262721
|
}
|
|
262745
262722
|
});
|
|
262746
|
-
const
|
|
262723
|
+
const LPn = async (e, t, n) => {
|
|
262747
262724
|
const r = e.state.doc, o = await WF(
|
|
262748
262725
|
r,
|
|
262749
262726
|
t,
|
|
@@ -262754,7 +262731,7 @@ const NPn = async (e, t, n) => {
|
|
|
262754
262731
|
o.toJSON()
|
|
262755
262732
|
), a = i.getHTML(), s = Rn.turndown(a);
|
|
262756
262733
|
return i.destroy(), s;
|
|
262757
|
-
},
|
|
262734
|
+
}, NPn = ({
|
|
262758
262735
|
slides: e,
|
|
262759
262736
|
currentSlide: t,
|
|
262760
262737
|
setCurrentSlide: n,
|
|
@@ -262839,7 +262816,7 @@ const NPn = async (e, t, n) => {
|
|
|
262839
262816
|
}
|
|
262840
262817
|
);
|
|
262841
262818
|
};
|
|
262842
|
-
var
|
|
262819
|
+
var _Pn = function() {
|
|
262843
262820
|
var e = document.getSelection();
|
|
262844
262821
|
if (!e.rangeCount)
|
|
262845
262822
|
return function() {
|
|
@@ -262860,20 +262837,20 @@ var IPn = function() {
|
|
|
262860
262837
|
e.addRange(o);
|
|
262861
262838
|
}), t && t.focus();
|
|
262862
262839
|
};
|
|
262863
|
-
},
|
|
262840
|
+
}, IPn = _Pn, Lie = {
|
|
262864
262841
|
"text/plain": "Text",
|
|
262865
262842
|
"text/html": "Url",
|
|
262866
262843
|
default: "Text"
|
|
262867
|
-
},
|
|
262868
|
-
function
|
|
262844
|
+
}, BPn = "Copy to clipboard: #{key}, Enter";
|
|
262845
|
+
function OPn(e) {
|
|
262869
262846
|
var t = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
|
|
262870
262847
|
return e.replace(/#{\s*key\s*}/g, t);
|
|
262871
262848
|
}
|
|
262872
|
-
function
|
|
262849
|
+
function RPn(e, t) {
|
|
262873
262850
|
var n, r, o, i, a, s, l = !1;
|
|
262874
262851
|
t || (t = {}), n = t.debug || !1;
|
|
262875
262852
|
try {
|
|
262876
|
-
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) {
|
|
262877
262854
|
if (c.stopPropagation(), t.format)
|
|
262878
262855
|
if (c.preventDefault(), typeof c.clipboardData > "u") {
|
|
262879
262856
|
n && console.warn("unable to use e.clipboardData"), n && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
|
|
@@ -262892,15 +262869,15 @@ function PPn(e, t) {
|
|
|
262892
262869
|
try {
|
|
262893
262870
|
window.clipboardData.setData(t.format || "text", e), t.onCopy && t.onCopy(window.clipboardData), l = !0;
|
|
262894
262871
|
} catch (d) {
|
|
262895
|
-
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);
|
|
262896
262873
|
}
|
|
262897
262874
|
} finally {
|
|
262898
262875
|
a && (typeof a.removeRange == "function" ? a.removeRange(i) : a.removeAllRanges()), s && document.body.removeChild(s), o();
|
|
262899
262876
|
}
|
|
262900
262877
|
return l;
|
|
262901
262878
|
}
|
|
262902
|
-
var
|
|
262903
|
-
const
|
|
262879
|
+
var PPn = RPn;
|
|
262880
|
+
const zPn = /* @__PURE__ */ y0(PPn), zi = new So({
|
|
262904
262881
|
html: !0,
|
|
262905
262882
|
linkify: !0,
|
|
262906
262883
|
typographer: !0
|
|
@@ -262916,7 +262893,7 @@ zi.renderer.rules.list_item_open = (e, t) => {
|
|
|
262916
262893
|
}
|
|
262917
262894
|
return "<li>";
|
|
262918
262895
|
};
|
|
262919
|
-
const
|
|
262896
|
+
const UPn = (e, t, n) => {
|
|
262920
262897
|
const r = [], o = t.reduce((a, s) => a + s.length, 0) / t.length, i = Math.min(
|
|
262921
262898
|
n - 2,
|
|
262922
262899
|
// Account for header and separator
|
|
@@ -262947,7 +262924,7 @@ const HPn = (e, t, n) => {
|
|
|
262947
262924
|
else
|
|
262948
262925
|
r += (r ? " " : "") + i;
|
|
262949
262926
|
return r && n.push(r.trim()), n;
|
|
262950
|
-
},
|
|
262927
|
+
}, HPn = (e, t) => {
|
|
262951
262928
|
const n = [], r = e[0].slice(3).trim(), o = e.slice(1, -1);
|
|
262952
262929
|
for (let i = 0; i < o.length; i += t - 2) {
|
|
262953
262930
|
const a = [
|
|
@@ -262965,7 +262942,7 @@ const HPn = (e, t, n) => {
|
|
|
262965
262942
|
/^\d+\.\s/.test(e) || // Unordered list items
|
|
262966
262943
|
/^[-*+]\s/.test(e) || // Indented list items (nested)
|
|
262967
262944
|
/^\s+[-*+]\s/.test(e) || /^\s+\d+\.\s/.test(e)
|
|
262968
|
-
),
|
|
262945
|
+
), qPn = (e, t) => {
|
|
262969
262946
|
const n = [];
|
|
262970
262947
|
let r = t;
|
|
262971
262948
|
for (; r < e.length && (KFe(e[r]) || e[r].trim() === ""); )
|
|
@@ -262983,7 +262960,7 @@ const HPn = (e, t, n) => {
|
|
|
262983
262960
|
`));
|
|
262984
262961
|
return r;
|
|
262985
262962
|
};
|
|
262986
|
-
function
|
|
262963
|
+
function VPn(e, t = {}) {
|
|
262987
262964
|
var v, x;
|
|
262988
262965
|
const {
|
|
262989
262966
|
preserveNewlines: n = !0,
|
|
@@ -263041,7 +263018,7 @@ function WPn(e, t = {}) {
|
|
|
263041
263018
|
if (F.length < 2) return [""];
|
|
263042
263019
|
const C = F[0].split("|").map((_) => _.trim()).filter(Boolean), D = F[1], T = F.slice(2);
|
|
263043
263020
|
return F.length <= a ? [`<div class="table-wrapper">${zi.render(k.join(`
|
|
263044
|
-
`))}</div>`] :
|
|
263021
|
+
`))}</div>`] : UPn(C, T, a).map((_) => {
|
|
263045
263022
|
const S = [
|
|
263046
263023
|
`|${C.join("|")}|`,
|
|
263047
263024
|
D,
|
|
@@ -263055,7 +263032,7 @@ function WPn(e, t = {}) {
|
|
|
263055
263032
|
for (let k = 0; k < m.length; k++) {
|
|
263056
263033
|
const F = m[k].trim();
|
|
263057
263034
|
if (KFe(F)) {
|
|
263058
|
-
const { listContent: C, endIndex: D } =
|
|
263035
|
+
const { listContent: C, endIndex: D } = qPn(m, k), T = C.split(`
|
|
263059
263036
|
`).filter((_) => _.trim()), B = T.reduce(
|
|
263060
263037
|
(_, S) => _ + d(S),
|
|
263061
263038
|
0
|
|
@@ -263132,7 +263109,7 @@ function WPn(e, t = {}) {
|
|
|
263132
263109
|
c.push(F);
|
|
263133
263110
|
else {
|
|
263134
263111
|
if (c.push(F), c.length > a)
|
|
263135
|
-
|
|
263112
|
+
HPn(c, 23).forEach((D, T) => {
|
|
263136
263113
|
(T > 0 || f(D, l)) && p(), l.push({
|
|
263137
263114
|
type: "content",
|
|
263138
263115
|
content: zi.render(D)
|
|
@@ -263212,7 +263189,7 @@ function WPn(e, t = {}) {
|
|
|
263212
263189
|
`).replace(/>\n+</g, `>
|
|
263213
263190
|
<`)), r && (b = P9.sanitize(b)), b;
|
|
263214
263191
|
}
|
|
263215
|
-
const
|
|
263192
|
+
const WPn = ({
|
|
263216
263193
|
content: e,
|
|
263217
263194
|
editor: t,
|
|
263218
263195
|
onTouchStart: n,
|
|
@@ -263253,7 +263230,7 @@ const $Pn = ({
|
|
|
263253
263230
|
onTouchEnd: o
|
|
263254
263231
|
}
|
|
263255
263232
|
);
|
|
263256
|
-
},
|
|
263233
|
+
}, $Pn = ({
|
|
263257
263234
|
editor: e,
|
|
263258
263235
|
onClose: t,
|
|
263259
263236
|
isFullscreen: n,
|
|
@@ -263291,11 +263268,11 @@ const $Pn = ({
|
|
|
263291
263268
|
return;
|
|
263292
263269
|
}
|
|
263293
263270
|
F(!0);
|
|
263294
|
-
const Y = await
|
|
263271
|
+
const Y = await LPn(
|
|
263295
263272
|
e,
|
|
263296
263273
|
p,
|
|
263297
263274
|
m
|
|
263298
|
-
), ie =
|
|
263275
|
+
), ie = VPn(Y, {
|
|
263299
263276
|
preserveNewlines: !0,
|
|
263300
263277
|
sanitize: !0,
|
|
263301
263278
|
maxCharsPerSlide: 1e3,
|
|
@@ -263356,7 +263333,7 @@ const $Pn = ({
|
|
|
263356
263333
|
ie && (M("forward"), x((X) => Math.min(X + 1, c.length - 1))), oe && (M("backward"), x((X) => Math.max(X - 1, 0)));
|
|
263357
263334
|
}, [D, B, c.length, S]), z = () => {
|
|
263358
263335
|
if (a) {
|
|
263359
|
-
|
|
263336
|
+
zPn(a), b(!0), u == null || u();
|
|
263360
263337
|
const Y = setTimeout(() => {
|
|
263361
263338
|
b(!1);
|
|
263362
263339
|
}, 2e3);
|
|
@@ -263378,7 +263355,7 @@ const $Pn = ({
|
|
|
263378
263355
|
),
|
|
263379
263356
|
children: [
|
|
263380
263357
|
!n && /* @__PURE__ */ E.jsx(
|
|
263381
|
-
|
|
263358
|
+
NPn,
|
|
263382
263359
|
{
|
|
263383
263360
|
slides: c,
|
|
263384
263361
|
currentSlide: v,
|
|
@@ -263521,7 +263498,7 @@ const $Pn = ({
|
|
|
263521
263498
|
},
|
|
263522
263499
|
v
|
|
263523
263500
|
) }) : /* @__PURE__ */ E.jsx(
|
|
263524
|
-
|
|
263501
|
+
WPn,
|
|
263525
263502
|
{
|
|
263526
263503
|
content: c[v],
|
|
263527
263504
|
editor: j,
|
|
@@ -263563,7 +263540,7 @@ const $Pn = ({
|
|
|
263563
263540
|
]
|
|
263564
263541
|
}
|
|
263565
263542
|
);
|
|
263566
|
-
},
|
|
263543
|
+
}, GPn = ({
|
|
263567
263544
|
username: e,
|
|
263568
263545
|
setUsername: t,
|
|
263569
263546
|
isNavbarVisible: n,
|
|
@@ -263661,7 +263638,7 @@ const $Pn = ({
|
|
|
263661
263638
|
}
|
|
263662
263639
|
)
|
|
263663
263640
|
}
|
|
263664
|
-
), 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 = () => {
|
|
263665
263642
|
const [e, t] = Re("light"), n = () => {
|
|
263666
263643
|
const r = localStorage.getItem("theme");
|
|
263667
263644
|
return r || "light";
|
|
@@ -263687,7 +263664,7 @@ const $Pn = ({
|
|
|
263687
263664
|
/* @__PURE__ */ E.jsx(
|
|
263688
263665
|
"img",
|
|
263689
263666
|
{
|
|
263690
|
-
src: e === "dark" ?
|
|
263667
|
+
src: e === "dark" ? KPn : ZPn,
|
|
263691
263668
|
alt: "empty comments"
|
|
263692
263669
|
}
|
|
263693
263670
|
),
|
|
@@ -263761,7 +263738,7 @@ const $Pn = ({
|
|
|
263761
263738
|
n && "xl:!h-[86vh]"
|
|
263762
263739
|
),
|
|
263763
263740
|
children: [
|
|
263764
|
-
O.length === 0 ? /* @__PURE__ */ E.jsx(
|
|
263741
|
+
O.length === 0 ? /* @__PURE__ */ E.jsx(YPn, {}) : /* @__PURE__ */ E.jsx(
|
|
263765
263742
|
"div",
|
|
263766
263743
|
{
|
|
263767
263744
|
ref: g,
|
|
@@ -263925,7 +263902,7 @@ const $Pn = ({
|
|
|
263925
263902
|
]
|
|
263926
263903
|
}
|
|
263927
263904
|
) : /* @__PURE__ */ E.jsx(
|
|
263928
|
-
|
|
263905
|
+
GPn,
|
|
263929
263906
|
{
|
|
263930
263907
|
connectViaWallet: T,
|
|
263931
263908
|
username: o,
|
|
@@ -263935,7 +263912,7 @@ const $Pn = ({
|
|
|
263935
263912
|
isLoading: B
|
|
263936
263913
|
}
|
|
263937
263914
|
);
|
|
263938
|
-
},
|
|
263915
|
+
}, XPn = ({
|
|
263939
263916
|
isOpen: e,
|
|
263940
263917
|
onClose: t,
|
|
263941
263918
|
isNavbarVisible: n,
|
|
@@ -264029,7 +264006,7 @@ const $Pn = ({
|
|
|
264029
264006
|
] })
|
|
264030
264007
|
}
|
|
264031
264008
|
) });
|
|
264032
|
-
},
|
|
264009
|
+
}, JPn = ({
|
|
264033
264010
|
editor: e,
|
|
264034
264011
|
activeCommentId: t,
|
|
264035
264012
|
commentDrawerOpen: n,
|
|
@@ -264285,7 +264262,7 @@ const JFe = D1(
|
|
|
264285
264262
|
}
|
|
264286
264263
|
);
|
|
264287
264264
|
JFe.displayName = "ToC";
|
|
264288
|
-
const Bie = Ie.memo(JFe),
|
|
264265
|
+
const Bie = Ie.memo(JFe), QPn = ({
|
|
264289
264266
|
editor: e,
|
|
264290
264267
|
hasToC: t,
|
|
264291
264268
|
items: n,
|
|
@@ -264382,7 +264359,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
264382
264359
|
/* @__PURE__ */ E.jsx(An, { className: " w-[calc(100%-50px)] h-[20px] rounded-sm" }),
|
|
264383
264360
|
/* @__PURE__ */ E.jsx(An, { className: " w-[calc(100%-100px)] h-[20px] rounded-sm" }),
|
|
264384
264361
|
/* @__PURE__ */ E.jsx(An, { className: " w-[calc(100%-300px)] h-[20px] rounded-sm" })
|
|
264385
|
-
] }),
|
|
264362
|
+
] }), ezn = {
|
|
264386
264363
|
portrait: {
|
|
264387
264364
|
// At zoom 1.4 (fit), percentage width accounts for 1.4x transform scaling
|
|
264388
264365
|
zoomFitWidth: "55%",
|
|
@@ -264397,7 +264374,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
264397
264374
|
zoomFitMaxWidth: 1200
|
|
264398
264375
|
// px - prevents overflow while maximizing space
|
|
264399
264376
|
}
|
|
264400
|
-
},
|
|
264377
|
+
}, tzn = {
|
|
264401
264378
|
portrait: {
|
|
264402
264379
|
"0.5": { width: 700, minHeight: "150%" },
|
|
264403
264380
|
"0.75": { width: 800, minHeight: "200%" },
|
|
@@ -264416,11 +264393,11 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
264416
264393
|
"1.5": { width: 1487.5, minHeight: "100%" },
|
|
264417
264394
|
2: { width: 2166, minHeight: void 0 }
|
|
264418
264395
|
}
|
|
264419
|
-
},
|
|
264396
|
+
}, nzn = ({ editor: e }) => {
|
|
264420
264397
|
const t = Je(!0), n = Je([]), r = Je(null), o = ({ editor: u }) => {
|
|
264421
264398
|
if (!t.current || !u.isActive("link")) return !1;
|
|
264422
264399
|
const c = u.getAttributes("link").href;
|
|
264423
|
-
if (!
|
|
264400
|
+
if (!SPn(
|
|
264424
264401
|
u.getAttributes("link").href
|
|
264425
264402
|
)) return !1;
|
|
264426
264403
|
const { state: f } = u, { selection: h } = f, p = Zw(h.$from, u.schema.marks.link);
|
|
@@ -264508,7 +264485,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
264508
264485
|
] })
|
|
264509
264486
|
}
|
|
264510
264487
|
);
|
|
264511
|
-
},
|
|
264488
|
+
}, dUn = Pn(
|
|
264512
264489
|
({
|
|
264513
264490
|
isPreviewMode: e = !1,
|
|
264514
264491
|
initialContent: t,
|
|
@@ -264607,9 +264584,9 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
264607
264584
|
return {
|
|
264608
264585
|
minHeight: "100vh"
|
|
264609
264586
|
};
|
|
264610
|
-
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];
|
|
264611
264588
|
if (!nn) return {};
|
|
264612
|
-
const It = {}, nr =
|
|
264589
|
+
const It = {}, nr = ezn[un];
|
|
264613
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;
|
|
264614
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;
|
|
264615
264592
|
hF(xn, () => {
|
|
@@ -264839,7 +264816,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
264839
264816
|
}
|
|
264840
264817
|
),
|
|
264841
264818
|
j && _e && /* @__PURE__ */ E.jsx(
|
|
264842
|
-
|
|
264819
|
+
$Pn,
|
|
264843
264820
|
{
|
|
264844
264821
|
editor: _e,
|
|
264845
264822
|
onClose: nCe,
|
|
@@ -264861,7 +264838,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
264861
264838
|
}
|
|
264862
264839
|
),
|
|
264863
264840
|
_e && /* @__PURE__ */ E.jsx(
|
|
264864
|
-
|
|
264841
|
+
QPn,
|
|
264865
264842
|
{
|
|
264866
264843
|
editor: _e,
|
|
264867
264844
|
hasToC: !0,
|
|
@@ -264955,7 +264932,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
264955
264932
|
enableCollaboration: n
|
|
264956
264933
|
}
|
|
264957
264934
|
),
|
|
264958
|
-
/* @__PURE__ */ E.jsx(
|
|
264935
|
+
/* @__PURE__ */ E.jsx(nzn, { editor: _e })
|
|
264959
264936
|
] }),
|
|
264960
264937
|
_e && /* @__PURE__ */ E.jsx(min, { editor: _e, appendTo: pt })
|
|
264961
264938
|
] }),
|
|
@@ -265094,7 +265071,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265094
265071
|
{ "top-14": O, "top-0": !O }
|
|
265095
265072
|
),
|
|
265096
265073
|
children: /* @__PURE__ */ E.jsx(
|
|
265097
|
-
|
|
265074
|
+
TPn,
|
|
265098
265075
|
{
|
|
265099
265076
|
onError: y,
|
|
265100
265077
|
editor: _e,
|
|
@@ -265110,7 +265087,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265110
265087
|
}
|
|
265111
265088
|
),
|
|
265112
265089
|
_e && /* @__PURE__ */ E.jsx(
|
|
265113
|
-
|
|
265090
|
+
XPn,
|
|
265114
265091
|
{
|
|
265115
265092
|
isOpen: ne,
|
|
265116
265093
|
onClose: () => he == null ? void 0 : he(!1),
|
|
@@ -265121,7 +265098,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265121
265098
|
}
|
|
265122
265099
|
),
|
|
265123
265100
|
/* @__PURE__ */ E.jsx("div", { children: _e && /* @__PURE__ */ E.jsx(
|
|
265124
|
-
|
|
265101
|
+
JPn,
|
|
265125
265102
|
{
|
|
265126
265103
|
editor: _e,
|
|
265127
265104
|
activeCommentId: Cr,
|
|
@@ -265207,7 +265184,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265207
265184
|
}
|
|
265208
265185
|
) });
|
|
265209
265186
|
}
|
|
265210
|
-
),
|
|
265187
|
+
), fUn = Pn(
|
|
265211
265188
|
({
|
|
265212
265189
|
isPreviewMode: e = !1,
|
|
265213
265190
|
initialContent: t,
|
|
@@ -265396,7 +265373,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265396
265373
|
"editor-transition"
|
|
265397
265374
|
);
|
|
265398
265375
|
}
|
|
265399
|
-
),
|
|
265376
|
+
), hUn = (e) => {
|
|
265400
265377
|
const t = () => {
|
|
265401
265378
|
const f = new rc(), h = () => {
|
|
265402
265379
|
var y;
|
|
@@ -265541,7 +265518,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265541
265518
|
month: "2-digit",
|
|
265542
265519
|
year: "numeric"
|
|
265543
265520
|
})}, ${t.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" })}`;
|
|
265544
|
-
},
|
|
265521
|
+
}, rzn = D1(
|
|
265545
265522
|
({ node: e, editor: t, deleteNode: n }) => {
|
|
265546
265523
|
const r = e.attrs.reminder, [o, i] = Re(
|
|
265547
265524
|
r != null && r.timestamp ? new Date(r.timestamp).getTime() < Date.now() : !1
|
|
@@ -265727,7 +265704,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265727
265704
|
}
|
|
265728
265705
|
) : null;
|
|
265729
265706
|
}
|
|
265730
|
-
),
|
|
265707
|
+
), pUn = Yt.create({
|
|
265731
265708
|
name: "reminderBlock",
|
|
265732
265709
|
group: "inline",
|
|
265733
265710
|
inline: !0,
|
|
@@ -265768,7 +265745,7 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265768
265745
|
];
|
|
265769
265746
|
},
|
|
265770
265747
|
addNodeView() {
|
|
265771
|
-
return Ol(
|
|
265748
|
+
return Ol(rzn);
|
|
265772
265749
|
},
|
|
265773
265750
|
addCommands() {
|
|
265774
265751
|
return {
|
|
@@ -265784,11 +265761,11 @@ const Bie = Ie.memo(JFe), ezn = ({
|
|
|
265784
265761
|
});
|
|
265785
265762
|
export {
|
|
265786
265763
|
et as B,
|
|
265787
|
-
|
|
265764
|
+
dUn as D,
|
|
265788
265765
|
tk as E,
|
|
265789
265766
|
ky as H,
|
|
265790
|
-
|
|
265791
|
-
|
|
265767
|
+
fUn as P,
|
|
265768
|
+
pUn as R,
|
|
265792
265769
|
KKt as a,
|
|
265793
265770
|
Gu as b,
|
|
265794
265771
|
TF as c,
|
|
@@ -265800,5 +265777,5 @@ export {
|
|
|
265800
265777
|
AF as i,
|
|
265801
265778
|
NF as l,
|
|
265802
265779
|
Wo as s,
|
|
265803
|
-
|
|
265780
|
+
hUn as u
|
|
265804
265781
|
};
|