@marimo-team/islands 0.13.13-dev18 → 0.13.13-dev19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ConnectedDataExplorerComponent-DUWZDzHb.js → ConnectedDataExplorerComponent-CBR3lLiH.js} +2 -2
- package/dist/{VegaLite-BllEjJ_S.js → VegaLite-DX45WU-j.js} +3 -3
- package/dist/{_baseUniq-C9lxqz0C.js → _baseUniq-aZHBAPaZ.js} +1 -1
- package/dist/{any-language-editor-xIwkgZgg.js → any-language-editor-fiSDJlEJ.js} +1 -1
- package/dist/{architectureDiagram-IEHRJDOE-bLGM-v_d.js → architectureDiagram-IEHRJDOE-C-MvYHWc.js} +5 -5
- package/dist/{blockDiagram-JOT3LUYC-BQAdL7j-.js → blockDiagram-JOT3LUYC-BYOZXLBe.js} +4 -4
- package/dist/{c4Diagram-VJAJSXHY-B2Gk-SXe.js → c4Diagram-VJAJSXHY-CyELhxLN.js} +2 -2
- package/dist/{channel-sRns4H5x.js → channel-DP-2ksRd.js} +1 -1
- package/dist/{chunk-4BMEZGHF-BEqFQCit.js → chunk-4BMEZGHF-BbveGJHG.js} +1 -1
- package/dist/{chunk-A2AXSNBT-hOzMcCj_.js → chunk-A2AXSNBT-CzSn3rgI.js} +2 -2
- package/dist/{chunk-AEK57VVT-DuDzGuc3.js → chunk-AEK57VVT-CzhjIo9s.js} +2 -2
- package/dist/{chunk-D6G4REZN-Dfv5oYuM.js → chunk-D6G4REZN-LiMWdqVX.js} +1 -1
- package/dist/{chunk-RZ5BOZE2-DARmbeTl.js → chunk-RZ5BOZE2-DvU93i4q.js} +1 -1
- package/dist/{chunk-XZIHB7SX-B4DrrlB9.js → chunk-XZIHB7SX-Brx2YYBD.js} +1 -1
- package/dist/{classDiagram-GIVACNV2-Bx_qdmPb.js → classDiagram-GIVACNV2-BTYVBPfG.js} +2 -2
- package/dist/{classDiagram-v2-COTLJTTW-Bx_qdmPb.js → classDiagram-v2-COTLJTTW-BTYVBPfG.js} +2 -2
- package/dist/{clone-DSof8lTn.js → clone-BKHdCHpp.js} +1 -1
- package/dist/{dagre-OKDRZEBW-Bc5EnsZG.js → dagre-OKDRZEBW-ByNercxg.js} +6 -6
- package/dist/{data-editor-BQbrIpDi.js → data-editor-CsYdNCB9.js} +1 -1
- package/dist/{diagram-SSKATNLV-Cy9fp29p.js → diagram-SSKATNLV-C5StbeAU.js} +3 -3
- package/dist/{diagram-VNBRO52H-BWtuPOPR.js → diagram-VNBRO52H-Cj1OjehX.js} +3 -3
- package/dist/{erDiagram-Q7BY3M3F-EPcEg8Be.js → erDiagram-Q7BY3M3F-CbOZnwbx.js} +3 -3
- package/dist/{flowDiagram-4HSFHLVR-CMvE0K5d.js → flowDiagram-4HSFHLVR-Ce1fe7YZ.js} +3 -3
- package/dist/{ganttDiagram-APWFNJXF-CMbQzlPy.js → ganttDiagram-APWFNJXF-CwFLm_TF.js} +4 -4
- package/dist/{gitGraphDiagram-7IBYFJ6S-DAehu_R3.js → gitGraphDiagram-7IBYFJ6S-H9KM2KZk.js} +4 -4
- package/dist/{graph-bc9aAdTt.js → graph-BiTYknBM.js} +3 -3
- package/dist/{index-Vc03Wb7x.js → index-CQCZJCVT.js} +1 -1
- package/dist/{index-BnMmGyp5.js → index-Cjrlx9SS.js} +1 -1
- package/dist/{index-ChkQwrLC.js → index-DJMRei51.js} +1 -1
- package/dist/{index-DohSjg3v.js → index-DVulcGld.js} +3 -3
- package/dist/{infoDiagram-PH2N3AL5-BLUzwOOk.js → infoDiagram-PH2N3AL5-BUUvcZ7k.js} +2 -2
- package/dist/{journeyDiagram-U35MCT3I-6Q03HfHO.js → journeyDiagram-U35MCT3I-dRVZ6Gnu.js} +2 -2
- package/dist/{kanban-definition-NDS4AKOZ-COF9644z.js → kanban-definition-NDS4AKOZ-VrKW4_aj.js} +1 -1
- package/dist/{layout-DsgFz2qI.js → layout-CJnoAoVW.js} +4 -4
- package/dist/{linear-CiJy70QL.js → linear-CD5L4s3h.js} +1 -1
- package/dist/{main-aQWdd_s4.js → main-CK9DULw4.js} +512 -507
- package/dist/main.js +1 -1
- package/dist/{mermaid-1P7I2jsJ.js → mermaid-BTXSFGrD.js} +28 -28
- package/dist/{min-CAhybN8j.js → min-DYWD621I.js} +2 -2
- package/dist/{mindmap-definition-ALO5MXBD-BhxuuVND.js → mindmap-definition-ALO5MXBD-qz_ThBts.js} +2 -2
- package/dist/{pieDiagram-IB7DONF6-p3ZW1Ih4.js → pieDiagram-IB7DONF6-gOIzd_F7.js} +3 -3
- package/dist/{quadrantDiagram-7GDLP6J5-CSs7_DRL.js → quadrantDiagram-7GDLP6J5-BmqVtIDH.js} +2 -2
- package/dist/{radar-MK3ICKWK-Bpsv7QdC.js → radar-MK3ICKWK-BdiEtxzJ.js} +5 -5
- package/dist/{react-plotly-m8wt5NZJ.js → react-plotly-CcW9K5VG.js} +1 -1
- package/dist/{requirementDiagram-KVF5MWMF-BPVeq8z5.js → requirementDiagram-KVF5MWMF-CGVDpRga.js} +2 -2
- package/dist/{sankeyDiagram-QLVOVGJD-Qx9djA7b.js → sankeyDiagram-QLVOVGJD-Ajb5heYF.js} +1 -1
- package/dist/{sequenceDiagram-X6HHIX6F-CuFbaCZc.js → sequenceDiagram-X6HHIX6F-BpYaWhFx.js} +3 -3
- package/dist/{slides-component-DV7cVyks.js → slides-component-BKUzmIP4.js} +1 -1
- package/dist/{stateDiagram-DGXRK772-C9DWNOu2.js → stateDiagram-DGXRK772-tMFApftc.js} +4 -4
- package/dist/{stateDiagram-v2-YXO3MK2T-ewyDMeyh.js → stateDiagram-v2-YXO3MK2T-CKy6jzNZ.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{time-cqIYP5_5.js → time-CFDcwLFX.js} +2 -2
- package/dist/{timeline-definition-BDJGKUSR-Dx_ZNHNS.js → timeline-definition-BDJGKUSR-DTGM9Q79.js} +1 -1
- package/dist/{vega-component-Cd7l0aG2.js → vega-component-hwl1-DOi.js} +2 -2
- package/dist/{xychartDiagram-VJFVF3MP-Ceaf3UiJ.js → xychartDiagram-VJFVF3MP-CXZTdOlw.js} +2 -2
- package/package.json +1 -1
|
@@ -1989,7 +1989,7 @@ function Grt() {
|
|
|
1989
1989
|
return typeof oe == "object" && oe !== null && oe.$$typeof === r;
|
|
1990
1990
|
}
|
|
1991
1991
|
var bn = ".", kr = ":";
|
|
1992
|
-
function
|
|
1992
|
+
function Yn(oe) {
|
|
1993
1993
|
var we = /[=:]/g, Ue = {
|
|
1994
1994
|
"=": "=0",
|
|
1995
1995
|
":": "=2"
|
|
@@ -1998,12 +1998,12 @@ function Grt() {
|
|
|
1998
1998
|
});
|
|
1999
1999
|
return "$" + Ge;
|
|
2000
2000
|
}
|
|
2001
|
-
var qn = !1,
|
|
2001
|
+
var qn = !1, Mn = /\/+/g;
|
|
2002
2002
|
function ti(oe) {
|
|
2003
|
-
return oe.replace(
|
|
2003
|
+
return oe.replace(Mn, "$&/");
|
|
2004
2004
|
}
|
|
2005
2005
|
function ua(oe, we) {
|
|
2006
|
-
return typeof oe == "object" && oe !== null && oe.key != null ? (Ce(oe.key),
|
|
2006
|
+
return typeof oe == "object" && oe !== null && oe.key != null ? (Ce(oe.key), Yn("" + oe.key)) : we.toString(36);
|
|
2007
2007
|
}
|
|
2008
2008
|
function ir(oe, we, Ue, Ge, Ot) {
|
|
2009
2009
|
var en = typeof oe;
|
|
@@ -3296,8 +3296,8 @@ function Zrt() {
|
|
|
3296
3296
|
return bn(ve, Xt, Cn, lt, Ve, Ye.current, zt);
|
|
3297
3297
|
}
|
|
3298
3298
|
}
|
|
3299
|
-
var
|
|
3300
|
-
function
|
|
3299
|
+
var Yn = w.ReactCurrentOwner, qn = w.ReactDebugCurrentFrame;
|
|
3300
|
+
function Mn(ve) {
|
|
3301
3301
|
if (ve) {
|
|
3302
3302
|
var de = ve._owner, Re = xe(ve.type, ve._source, de ? de.type : null);
|
|
3303
3303
|
qn.setExtraStackFrame(Re);
|
|
@@ -3311,8 +3311,8 @@ function Zrt() {
|
|
|
3311
3311
|
}
|
|
3312
3312
|
function ir() {
|
|
3313
3313
|
{
|
|
3314
|
-
if (
|
|
3315
|
-
var ve = q(
|
|
3314
|
+
if (Yn.current) {
|
|
3315
|
+
var ve = q(Yn.current.type);
|
|
3316
3316
|
if (ve)
|
|
3317
3317
|
return `
|
|
3318
3318
|
|
|
@@ -3347,7 +3347,7 @@ Check the top-level render call using <` + Re + ">.");
|
|
|
3347
3347
|
return;
|
|
3348
3348
|
Ko[Re] = !0;
|
|
3349
3349
|
var Ve = "";
|
|
3350
|
-
ve && ve._owner && ve._owner !==
|
|
3350
|
+
ve && ve._owner && ve._owner !== Yn.current && (Ve = " It was passed a child from " + q(ve._owner.type) + "."), Mn(ve), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Re, Ve), Mn(null);
|
|
3351
3351
|
}
|
|
3352
3352
|
}
|
|
3353
3353
|
function Jo(ve, de) {
|
|
@@ -3399,11 +3399,11 @@ Check the top-level render call using <` + Re + ">.");
|
|
|
3399
3399
|
for (var de = Object.keys(ve.props), Re = 0; Re < de.length; Re++) {
|
|
3400
3400
|
var Ve = de[Re];
|
|
3401
3401
|
if (Ve !== "children" && Ve !== "key") {
|
|
3402
|
-
|
|
3402
|
+
Mn(ve), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Ve), Mn(null);
|
|
3403
3403
|
break;
|
|
3404
3404
|
}
|
|
3405
3405
|
}
|
|
3406
|
-
ve.ref !== null && (
|
|
3406
|
+
ve.ref !== null && (Mn(ve), x("Invalid attribute `ref` supplied to `React.Fragment`."), Mn(null));
|
|
3407
3407
|
}
|
|
3408
3408
|
}
|
|
3409
3409
|
var oo = {};
|
|
@@ -3509,11 +3509,11 @@ function Frt() {
|
|
|
3509
3509
|
}
|
|
3510
3510
|
function s(Ie, et, Be) {
|
|
3511
3511
|
for (var vt = Be, Yt = Ie.length, yn = Yt >>> 1; vt < yn; ) {
|
|
3512
|
-
var bn = (vt + 1) * 2 - 1, kr = Ie[bn],
|
|
3512
|
+
var bn = (vt + 1) * 2 - 1, kr = Ie[bn], Yn = bn + 1, qn = Ie[Yn];
|
|
3513
3513
|
if (l(kr, et) < 0)
|
|
3514
|
-
|
|
3515
|
-
else if (
|
|
3516
|
-
Ie[vt] = qn, Ie[
|
|
3514
|
+
Yn < Yt && l(qn, kr) < 0 ? (Ie[vt] = qn, Ie[Yn] = et, vt = Yn) : (Ie[vt] = kr, Ie[bn] = et, vt = bn);
|
|
3515
|
+
else if (Yn < Yt && l(qn, et) < 0)
|
|
3516
|
+
Ie[vt] = qn, Ie[Yn] = et, vt = Yn;
|
|
3517
3517
|
else
|
|
3518
3518
|
return;
|
|
3519
3519
|
}
|
|
@@ -3663,7 +3663,7 @@ function Frt() {
|
|
|
3663
3663
|
bn = k;
|
|
3664
3664
|
break;
|
|
3665
3665
|
}
|
|
3666
|
-
var kr = Yt + bn,
|
|
3666
|
+
var kr = Yt + bn, Yn = {
|
|
3667
3667
|
id: C++,
|
|
3668
3668
|
callback: et,
|
|
3669
3669
|
priorityLevel: Ie,
|
|
@@ -3671,7 +3671,7 @@ function Frt() {
|
|
|
3671
3671
|
expirationTime: kr,
|
|
3672
3672
|
sortIndex: -1
|
|
3673
3673
|
};
|
|
3674
|
-
return Yt > vt ? (
|
|
3674
|
+
return Yt > vt ? (Yn.sortIndex = Yt, r(R, Yn), i(j) === null && Yn === i(R) && (I ? Ye() : I = !0, rt(K, Yt - vt))) : (Yn.sortIndex = kr, r(j, Yn), !V && !W && (V = !0, ze(Z))), Yn;
|
|
3675
3675
|
}
|
|
3676
3676
|
function H() {
|
|
3677
3677
|
}
|
|
@@ -3747,9 +3747,9 @@ var dce;
|
|
|
3747
3747
|
function Brt() {
|
|
3748
3748
|
return dce || (dce = 1, u8.exports = Frt()), u8.exports;
|
|
3749
3749
|
}
|
|
3750
|
-
var
|
|
3750
|
+
var ll = {}, fce;
|
|
3751
3751
|
function Hrt() {
|
|
3752
|
-
if (fce) return
|
|
3752
|
+
if (fce) return ll;
|
|
3753
3753
|
fce = 1;
|
|
3754
3754
|
/**
|
|
3755
3755
|
* @license React
|
|
@@ -3889,13 +3889,13 @@ function Hrt() {
|
|
|
3889
3889
|
}
|
|
3890
3890
|
return !1;
|
|
3891
3891
|
}
|
|
3892
|
-
function
|
|
3893
|
-
return
|
|
3892
|
+
function Yn(f) {
|
|
3893
|
+
return Mn.hasOwnProperty(f) ? Mn[f] : null;
|
|
3894
3894
|
}
|
|
3895
3895
|
function qn(f, h, b, Q, X, D, Y) {
|
|
3896
3896
|
this.acceptsBooleans = h === ke || h === ze || h === rt, this.attributeName = Q, this.attributeNamespace = X, this.mustUseProperty = b, this.propertyName = f, this.type = h, this.sanitizeURL = D, this.removeEmptyString = Y;
|
|
3897
3897
|
}
|
|
3898
|
-
var
|
|
3898
|
+
var Mn = {}, ti = [
|
|
3899
3899
|
"children",
|
|
3900
3900
|
"dangerouslySetInnerHTML",
|
|
3901
3901
|
// TODO: This prevents the assignment of defaultValue to regular
|
|
@@ -3909,7 +3909,7 @@ function Hrt() {
|
|
|
3909
3909
|
"style"
|
|
3910
3910
|
];
|
|
3911
3911
|
ti.forEach(function(f) {
|
|
3912
|
-
|
|
3912
|
+
Mn[f] = new qn(
|
|
3913
3913
|
f,
|
|
3914
3914
|
Ee,
|
|
3915
3915
|
!1,
|
|
@@ -3924,7 +3924,7 @@ function Hrt() {
|
|
|
3924
3924
|
);
|
|
3925
3925
|
}), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(f) {
|
|
3926
3926
|
var h = f[0], b = f[1];
|
|
3927
|
-
|
|
3927
|
+
Mn[h] = new qn(
|
|
3928
3928
|
h,
|
|
3929
3929
|
Xe,
|
|
3930
3930
|
!1,
|
|
@@ -3938,7 +3938,7 @@ function Hrt() {
|
|
|
3938
3938
|
!1
|
|
3939
3939
|
);
|
|
3940
3940
|
}), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(f) {
|
|
3941
|
-
|
|
3941
|
+
Mn[f] = new qn(
|
|
3942
3942
|
f,
|
|
3943
3943
|
ke,
|
|
3944
3944
|
!1,
|
|
@@ -3952,7 +3952,7 @@ function Hrt() {
|
|
|
3952
3952
|
!1
|
|
3953
3953
|
);
|
|
3954
3954
|
}), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(f) {
|
|
3955
|
-
|
|
3955
|
+
Mn[f] = new qn(
|
|
3956
3956
|
f,
|
|
3957
3957
|
ke,
|
|
3958
3958
|
!1,
|
|
@@ -3993,7 +3993,7 @@ function Hrt() {
|
|
|
3993
3993
|
// Microdata
|
|
3994
3994
|
"itemScope"
|
|
3995
3995
|
].forEach(function(f) {
|
|
3996
|
-
|
|
3996
|
+
Mn[f] = new qn(
|
|
3997
3997
|
f,
|
|
3998
3998
|
ze,
|
|
3999
3999
|
!1,
|
|
@@ -4017,7 +4017,7 @@ function Hrt() {
|
|
|
4017
4017
|
// you'll need to set attributeName to name.toLowerCase()
|
|
4018
4018
|
// instead in the assignment below.
|
|
4019
4019
|
].forEach(function(f) {
|
|
4020
|
-
|
|
4020
|
+
Mn[f] = new qn(
|
|
4021
4021
|
f,
|
|
4022
4022
|
ze,
|
|
4023
4023
|
!0,
|
|
@@ -4037,7 +4037,7 @@ function Hrt() {
|
|
|
4037
4037
|
// you'll need to set attributeName to name.toLowerCase()
|
|
4038
4038
|
// instead in the assignment below.
|
|
4039
4039
|
].forEach(function(f) {
|
|
4040
|
-
|
|
4040
|
+
Mn[f] = new qn(
|
|
4041
4041
|
f,
|
|
4042
4042
|
rt,
|
|
4043
4043
|
!1,
|
|
@@ -4059,7 +4059,7 @@ function Hrt() {
|
|
|
4059
4059
|
// you'll need to set attributeName to name.toLowerCase()
|
|
4060
4060
|
// instead in the assignment below.
|
|
4061
4061
|
].forEach(function(f) {
|
|
4062
|
-
|
|
4062
|
+
Mn[f] = new qn(
|
|
4063
4063
|
f,
|
|
4064
4064
|
Ke,
|
|
4065
4065
|
!1,
|
|
@@ -4073,7 +4073,7 @@ function Hrt() {
|
|
|
4073
4073
|
!1
|
|
4074
4074
|
);
|
|
4075
4075
|
}), ["rowSpan", "start"].forEach(function(f) {
|
|
4076
|
-
|
|
4076
|
+
Mn[f] = new qn(
|
|
4077
4077
|
f,
|
|
4078
4078
|
Ye,
|
|
4079
4079
|
!1,
|
|
@@ -4169,7 +4169,7 @@ function Hrt() {
|
|
|
4169
4169
|
// instead in the assignment below.
|
|
4170
4170
|
].forEach(function(f) {
|
|
4171
4171
|
var h = f.replace(ua, ir);
|
|
4172
|
-
|
|
4172
|
+
Mn[h] = new qn(
|
|
4173
4173
|
h,
|
|
4174
4174
|
Xe,
|
|
4175
4175
|
!1,
|
|
@@ -4193,7 +4193,7 @@ function Hrt() {
|
|
|
4193
4193
|
// instead in the assignment below.
|
|
4194
4194
|
].forEach(function(f) {
|
|
4195
4195
|
var h = f.replace(ua, ir);
|
|
4196
|
-
|
|
4196
|
+
Mn[h] = new qn(
|
|
4197
4197
|
h,
|
|
4198
4198
|
Xe,
|
|
4199
4199
|
!1,
|
|
@@ -4213,7 +4213,7 @@ function Hrt() {
|
|
|
4213
4213
|
// instead in the assignment below.
|
|
4214
4214
|
].forEach(function(f) {
|
|
4215
4215
|
var h = f.replace(ua, ir);
|
|
4216
|
-
|
|
4216
|
+
Mn[h] = new qn(
|
|
4217
4217
|
h,
|
|
4218
4218
|
Xe,
|
|
4219
4219
|
!1,
|
|
@@ -4225,7 +4225,7 @@ function Hrt() {
|
|
|
4225
4225
|
!1
|
|
4226
4226
|
);
|
|
4227
4227
|
}), ["tabIndex", "crossOrigin"].forEach(function(f) {
|
|
4228
|
-
|
|
4228
|
+
Mn[f] = new qn(
|
|
4229
4229
|
f,
|
|
4230
4230
|
Xe,
|
|
4231
4231
|
!1,
|
|
@@ -4240,7 +4240,7 @@ function Hrt() {
|
|
|
4240
4240
|
);
|
|
4241
4241
|
});
|
|
4242
4242
|
var Oi = "xlinkHref";
|
|
4243
|
-
|
|
4243
|
+
Mn[Oi] = new qn(
|
|
4244
4244
|
"xlinkHref",
|
|
4245
4245
|
Xe,
|
|
4246
4246
|
!1,
|
|
@@ -4251,7 +4251,7 @@ function Hrt() {
|
|
|
4251
4251
|
// sanitizeURL
|
|
4252
4252
|
!1
|
|
4253
4253
|
), ["src", "href", "action", "formAction"].forEach(function(f) {
|
|
4254
|
-
|
|
4254
|
+
Mn[f] = new qn(
|
|
4255
4255
|
f,
|
|
4256
4256
|
Xe,
|
|
4257
4257
|
!1,
|
|
@@ -4302,7 +4302,7 @@ function Hrt() {
|
|
|
4302
4302
|
}
|
|
4303
4303
|
}
|
|
4304
4304
|
function es(f, h, b, Q) {
|
|
4305
|
-
var X =
|
|
4305
|
+
var X = Yn(h);
|
|
4306
4306
|
if (!yn(h, X, Q)) {
|
|
4307
4307
|
if (kr(h, b, X, Q) && (b = null), Q || X === null) {
|
|
4308
4308
|
if (Yt(h)) {
|
|
@@ -5046,7 +5046,7 @@ Check the render method of \`` + f + "`." : "";
|
|
|
5046
5046
|
return;
|
|
5047
5047
|
}
|
|
5048
5048
|
f.innerHTML = h;
|
|
5049
|
-
}),
|
|
5049
|
+
}), nl = 1, TO = 3, Sa = 8, _O = 9, s9 = 11, fR = function(f, h) {
|
|
5050
5050
|
if (h) {
|
|
5051
5051
|
var b = f.firstChild;
|
|
5052
5052
|
if (b && b === f.lastChild && b.nodeType === TO) {
|
|
@@ -5924,7 +5924,7 @@ Check the render method of \`` + f + "`." : "";
|
|
|
5924
5924
|
return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.", typeof b), Cs[h] = !0, !0;
|
|
5925
5925
|
if (typeof b == "number" && isNaN(b))
|
|
5926
5926
|
return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", h), Cs[h] = !0, !0;
|
|
5927
|
-
var ee =
|
|
5927
|
+
var ee = Yn(h), fe = ee !== null && ee.type === Ee;
|
|
5928
5928
|
if (OR.hasOwnProperty(X)) {
|
|
5929
5929
|
var ge = OR[X];
|
|
5930
5930
|
if (ge !== h)
|
|
@@ -8146,7 +8146,7 @@ Check the render method of \`` + f + "`." : "";
|
|
|
8146
8146
|
if (h !== b && tHe(b)) {
|
|
8147
8147
|
Q !== null && hA(b) && oHe(b, Q);
|
|
8148
8148
|
for (var X = [], D = b; D = D.parentNode; )
|
|
8149
|
-
D.nodeType ===
|
|
8149
|
+
D.nodeType === nl && X.push({
|
|
8150
8150
|
element: D,
|
|
8151
8151
|
left: D.scrollLeft,
|
|
8152
8152
|
top: D.scrollTop
|
|
@@ -8580,7 +8580,7 @@ Check the render method of \`` + f + "`." : "";
|
|
|
8580
8580
|
function $He(f, h) {
|
|
8581
8581
|
return f + "__bubble";
|
|
8582
8582
|
}
|
|
8583
|
-
var
|
|
8583
|
+
var rl = !1, pS = "dangerouslySetInnerHTML", AR = "suppressContentEditableWarning", Sp = "suppressHydrationWarning", Sae = "autoFocus", iy = "children", ay = "style", WR = "__html", bA, UR, mS, Qae, NR, Pae, kae;
|
|
8584
8584
|
bA = {
|
|
8585
8585
|
// There are working polyfills for <dialog>. Let people use it.
|
|
8586
8586
|
dialog: !0,
|
|
@@ -8596,13 +8596,13 @@ Check the render method of \`` + f + "`." : "";
|
|
|
8596
8596
|
possibleRegistrationNames: H
|
|
8597
8597
|
});
|
|
8598
8598
|
}, Pae = ae && !document.documentMode, mS = function(f, h, b) {
|
|
8599
|
-
if (!
|
|
8599
|
+
if (!rl) {
|
|
8600
8600
|
var Q = VR(b), X = VR(h);
|
|
8601
|
-
X !== Q && (
|
|
8601
|
+
X !== Q && (rl = !0, o("Prop `%s` did not match. Server: %s Client: %s", f, JSON.stringify(X), JSON.stringify(Q)));
|
|
8602
8602
|
}
|
|
8603
8603
|
}, Qae = function(f) {
|
|
8604
|
-
if (!
|
|
8605
|
-
|
|
8604
|
+
if (!rl) {
|
|
8605
|
+
rl = !0;
|
|
8606
8606
|
var h = [];
|
|
8607
8607
|
f.forEach(function(b) {
|
|
8608
8608
|
h.push(b);
|
|
@@ -8623,7 +8623,7 @@ Check the render method of \`` + f + "`." : "";
|
|
|
8623
8623
|
}
|
|
8624
8624
|
function IR(f, h, b, Q) {
|
|
8625
8625
|
var X = VR(h), D = VR(f);
|
|
8626
|
-
if (D !== X && (Q && (
|
|
8626
|
+
if (D !== X && (Q && (rl || (rl = !0, o('Text content did not match. Server: "%s" Client: "%s"', D, X))), b && N))
|
|
8627
8627
|
throw new Error("Text content does not match server-rendered HTML.");
|
|
8628
8628
|
}
|
|
8629
8629
|
function Tae(f) {
|
|
@@ -8877,7 +8877,7 @@ Check the render method of \`` + f + "`." : "";
|
|
|
8877
8877
|
Ze != null && (typeof Ze != "function" && NR(Ne, Ze), Ne === "onScroll" && bi("scroll", f));
|
|
8878
8878
|
else if (Y && // Convince Flow we've calculated it (it's DEV-only in this method.)
|
|
8879
8879
|
typeof B == "boolean") {
|
|
8880
|
-
var wt = void 0, Ht =
|
|
8880
|
+
var wt = void 0, Ht = Yn(Ne);
|
|
8881
8881
|
if (b[Sp] !== !0) {
|
|
8882
8882
|
if (!(Ne === AR || Ne === Sp || // Controlled attributes are not validated
|
|
8883
8883
|
// TODO: Only ignore them on controlled tags.
|
|
@@ -8939,30 +8939,30 @@ Check the render method of \`` + f + "`." : "";
|
|
|
8939
8939
|
}
|
|
8940
8940
|
function wA(f, h) {
|
|
8941
8941
|
{
|
|
8942
|
-
if (
|
|
8942
|
+
if (rl)
|
|
8943
8943
|
return;
|
|
8944
|
-
|
|
8944
|
+
rl = !0, o("Did not expect server HTML to contain a <%s> in <%s>.", h.nodeName.toLowerCase(), f.nodeName.toLowerCase());
|
|
8945
8945
|
}
|
|
8946
8946
|
}
|
|
8947
8947
|
function xA(f, h) {
|
|
8948
8948
|
{
|
|
8949
|
-
if (
|
|
8949
|
+
if (rl)
|
|
8950
8950
|
return;
|
|
8951
|
-
|
|
8951
|
+
rl = !0, o('Did not expect server HTML to contain the text node "%s" in <%s>.', h.nodeValue, f.nodeName.toLowerCase());
|
|
8952
8952
|
}
|
|
8953
8953
|
}
|
|
8954
8954
|
function SA(f, h, b) {
|
|
8955
8955
|
{
|
|
8956
|
-
if (
|
|
8956
|
+
if (rl)
|
|
8957
8957
|
return;
|
|
8958
|
-
|
|
8958
|
+
rl = !0, o("Expected server HTML to contain a matching <%s> in <%s>.", h, f.nodeName.toLowerCase());
|
|
8959
8959
|
}
|
|
8960
8960
|
}
|
|
8961
8961
|
function QA(f, h) {
|
|
8962
8962
|
{
|
|
8963
|
-
if (h === "" ||
|
|
8963
|
+
if (h === "" || rl)
|
|
8964
8964
|
return;
|
|
8965
|
-
|
|
8965
|
+
rl = !0, o('Expected server HTML to contain a matching text node for "%s" in <%s>.', h, f.nodeName.toLowerCase());
|
|
8966
8966
|
}
|
|
8967
8967
|
}
|
|
8968
8968
|
function zHe(f, h, b) {
|
|
@@ -9325,7 +9325,7 @@ Check the render method of \`` + f + "`." : "";
|
|
|
9325
9325
|
nS(h);
|
|
9326
9326
|
}
|
|
9327
9327
|
function cKe(f, h) {
|
|
9328
|
-
f.nodeType === Sa ? CA(f.parentNode, h) : f.nodeType ===
|
|
9328
|
+
f.nodeType === Sa ? CA(f.parentNode, h) : f.nodeType === nl && CA(f, h), nS(f);
|
|
9329
9329
|
}
|
|
9330
9330
|
function uKe(f) {
|
|
9331
9331
|
f = f;
|
|
@@ -9344,10 +9344,10 @@ Check the render method of \`` + f + "`." : "";
|
|
|
9344
9344
|
f.nodeValue = h;
|
|
9345
9345
|
}
|
|
9346
9346
|
function hKe(f) {
|
|
9347
|
-
f.nodeType ===
|
|
9347
|
+
f.nodeType === nl ? f.textContent = "" : f.nodeType === _O && f.documentElement && f.removeChild(f.documentElement);
|
|
9348
9348
|
}
|
|
9349
9349
|
function pKe(f, h, b) {
|
|
9350
|
-
return f.nodeType !==
|
|
9350
|
+
return f.nodeType !== nl || h.toLowerCase() !== f.nodeName.toLowerCase() ? null : f;
|
|
9351
9351
|
}
|
|
9352
9352
|
function mKe(f, h) {
|
|
9353
9353
|
return h === "" || f.nodeType !== TO ? null : f;
|
|
@@ -9375,7 +9375,7 @@ Check the render method of \`` + f + "`." : "";
|
|
|
9375
9375
|
function LR(f) {
|
|
9376
9376
|
for (; f != null; f = f.nextSibling) {
|
|
9377
9377
|
var h = f.nodeType;
|
|
9378
|
-
if (h ===
|
|
9378
|
+
if (h === nl || h === TO)
|
|
9379
9379
|
break;
|
|
9380
9380
|
if (h === Sa) {
|
|
9381
9381
|
var b = f.data;
|
|
@@ -9463,16 +9463,16 @@ Check the render method of \`` + f + "`." : "";
|
|
|
9463
9463
|
}
|
|
9464
9464
|
}
|
|
9465
9465
|
function XKe(f, h) {
|
|
9466
|
-
h.nodeType ===
|
|
9466
|
+
h.nodeType === nl ? wA(f, h) : h.nodeType === Sa || xA(f, h);
|
|
9467
9467
|
}
|
|
9468
9468
|
function EKe(f, h) {
|
|
9469
9469
|
{
|
|
9470
9470
|
var b = f.parentNode;
|
|
9471
|
-
b !== null && (h.nodeType ===
|
|
9471
|
+
b !== null && (h.nodeType === nl ? wA(b, h) : h.nodeType === Sa || xA(b, h));
|
|
9472
9472
|
}
|
|
9473
9473
|
}
|
|
9474
9474
|
function zKe(f, h, b, Q, X) {
|
|
9475
|
-
(X || h[MR] !== !0) && (Q.nodeType ===
|
|
9475
|
+
(X || h[MR] !== !0) && (Q.nodeType === nl ? wA(b, Q) : Q.nodeType === Sa || xA(b, Q));
|
|
9476
9476
|
}
|
|
9477
9477
|
function jKe(f, h, b) {
|
|
9478
9478
|
SA(f, h);
|
|
@@ -10821,7 +10821,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
10821
10821
|
var X = h.interleaved;
|
|
10822
10822
|
return X === null ? (b.next = b, aW(h)) : (b.next = X.next, X.next = b), h.interleaved = b, O4(f, Q);
|
|
10823
10823
|
}
|
|
10824
|
-
function
|
|
10824
|
+
function il(f, h) {
|
|
10825
10825
|
return O4(f, h);
|
|
10826
10826
|
}
|
|
10827
10827
|
var wJe = O4;
|
|
@@ -11158,7 +11158,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
11158
11158
|
}
|
|
11159
11159
|
return null;
|
|
11160
11160
|
}
|
|
11161
|
-
var
|
|
11161
|
+
var al = (
|
|
11162
11162
|
/* */
|
|
11163
11163
|
0
|
|
11164
11164
|
), Ua = (
|
|
@@ -11499,7 +11499,7 @@ Incoming: %s`, tt, "[" + h.join(", ") + "]", "[" + f.join(", ") + "]");
|
|
|
11499
11499
|
}
|
|
11500
11500
|
}
|
|
11501
11501
|
function Qoe(f) {
|
|
11502
|
-
var h =
|
|
11502
|
+
var h = il(f, fn);
|
|
11503
11503
|
h !== null && Za(h, f, fn, mi);
|
|
11504
11504
|
}
|
|
11505
11505
|
function Q4(f) {
|
|
@@ -13486,7 +13486,7 @@ Check the render method of \`` + Q + "`.");
|
|
|
13486
13486
|
if (Ze !== fo && Ze !== D.retryLane) {
|
|
13487
13487
|
D.retryLane = Ze;
|
|
13488
13488
|
var wt = mi;
|
|
13489
|
-
|
|
13489
|
+
il(f, Ze), Za(Ne, f, Ze, wt);
|
|
13490
13490
|
}
|
|
13491
13491
|
}
|
|
13492
13492
|
jU();
|
|
@@ -14391,7 +14391,7 @@ Check the render method of \`` + Q + "`.");
|
|
|
14391
14391
|
do {
|
|
14392
14392
|
if ((Y.tag & f) === f) {
|
|
14393
14393
|
var B = Y.destroy;
|
|
14394
|
-
Y.destroy = void 0, B !== void 0 && ((f & Co) !==
|
|
14394
|
+
Y.destroy = void 0, B !== void 0 && ((f & Co) !== al ? FLe(h) : (f & Na) !== al && mie(h), (f & Yd) !== al && oQ(!0), Z4(h, b, B), (f & Yd) !== al && oQ(!1), (f & Co) !== al ? BLe() : (f & Na) !== al && gie());
|
|
14395
14395
|
}
|
|
14396
14396
|
Y = Y.next;
|
|
14397
14397
|
} while (Y !== D);
|
|
@@ -14403,9 +14403,9 @@ Check the render method of \`` + Q + "`.");
|
|
|
14403
14403
|
var X = Q.next, D = X;
|
|
14404
14404
|
do {
|
|
14405
14405
|
if ((D.tag & f) === f) {
|
|
14406
|
-
(f & Co) !==
|
|
14406
|
+
(f & Co) !== al ? ZLe(h) : (f & Na) !== al && HLe(h);
|
|
14407
14407
|
var Y = D.create;
|
|
14408
|
-
(f & Yd) !==
|
|
14408
|
+
(f & Yd) !== al && oQ(!0), D.destroy = Y(), (f & Yd) !== al && oQ(!1), (f & Co) !== al ? LLe() : (f & Na) !== al && KLe();
|
|
14409
14409
|
{
|
|
14410
14410
|
var B = D.destroy;
|
|
14411
14411
|
if (B !== void 0 && typeof B != "function") {
|
|
@@ -14816,7 +14816,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
14816
14816
|
var fe = ee.next, ge = fe;
|
|
14817
14817
|
do {
|
|
14818
14818
|
var _e = ge, Te = _e.destroy, We = _e.tag;
|
|
14819
|
-
Te !== void 0 && ((We & Yd) !==
|
|
14819
|
+
Te !== void 0 && ((We & Yd) !== al ? Z4(b, h, Te) : (We & Na) !== al && (mie(b), b.mode & jr ? (Ld(), Z4(b, h, Te), Zd(b)) : Z4(b, h, Te), gie())), ge = ge.next;
|
|
14820
14820
|
} while (ge !== fe);
|
|
14821
14821
|
}
|
|
14822
14822
|
}
|
|
@@ -15449,7 +15449,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
15449
15449
|
), Ac = (
|
|
15450
15450
|
/* */
|
|
15451
15451
|
4
|
|
15452
|
-
), NO = 0, FS = 1, gy = 2, L4 = 3, BS = 4, Use = 5, SU = 6, Bn = Ya, Es = null, Ii = null, Ma = at, Bd = at, QU = Pp(at), Ga = NO, HS = null, F4 = at, KS = at, B4 = at, JS = null,
|
|
15452
|
+
), NO = 0, FS = 1, gy = 2, L4 = 3, BS = 4, Use = 5, SU = 6, Bn = Ya, Es = null, Ii = null, Ma = at, Bd = at, QU = Pp(at), Ga = NO, HS = null, F4 = at, KS = at, B4 = at, JS = null, ol = null, PU = 0, Nse = 500, Vse = 1 / 0, gtt = 500, VO = null;
|
|
15453
15453
|
function eQ() {
|
|
15454
15454
|
Vse = co() + gtt;
|
|
15455
15455
|
}
|
|
@@ -15488,12 +15488,12 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
15488
15488
|
return (h & Fn) === Jt ? fn : $Fe();
|
|
15489
15489
|
}
|
|
15490
15490
|
function Za(f, h, b, Q) {
|
|
15491
|
-
Ytt(), Yse && o("useInsertionEffect must not schedule updates."), CU && (K4 = !0), Bx(f, b, Q), (Bn & qo) !== at && f === Es ? Ztt(h) : (Au && Tie(f, h, b), Ltt(h), f === Es && ((Bn & qo) === Ya && (KS = Xn(KS, b)), Ga === BS && Wp(f, Ma)),
|
|
15491
|
+
Ytt(), Yse && o("useInsertionEffect must not schedule updates."), CU && (K4 = !0), Bx(f, b, Q), (Bn & qo) !== at && f === Es ? Ztt(h) : (Au && Tie(f, h, b), Ltt(h), f === Es && ((Bn & qo) === Ya && (KS = Xn(KS, b)), Ga === BS && Wp(f, Ma)), sl(f, Q), b === fn && Bn === Ya && (h.mode & Fn) === Jt && // Treat `act` as if it's inside `batchedUpdates`, even in legacy mode.
|
|
15492
15492
|
!Bu.isBatchingLegacy && (eQ(), Yae()));
|
|
15493
15493
|
}
|
|
15494
15494
|
function btt(f, h, b) {
|
|
15495
15495
|
var Q = f.current;
|
|
15496
|
-
Q.lanes = h, Bx(f, h, b),
|
|
15496
|
+
Q.lanes = h, Bx(f, h, b), sl(f, b);
|
|
15497
15497
|
}
|
|
15498
15498
|
function wtt(f) {
|
|
15499
15499
|
return (
|
|
@@ -15502,7 +15502,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
15502
15502
|
(Bn & qo) !== Ya
|
|
15503
15503
|
);
|
|
15504
15504
|
}
|
|
15505
|
-
function
|
|
15505
|
+
function sl(f, h) {
|
|
15506
15506
|
var b = f.callbackNode;
|
|
15507
15507
|
hFe(f, h);
|
|
15508
15508
|
var Q = wR(f, f === Es ? Ma : at);
|
|
@@ -15564,7 +15564,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
15564
15564
|
}
|
|
15565
15565
|
if (Y === FS) {
|
|
15566
15566
|
var ee = HS;
|
|
15567
|
-
throw vy(f, at), Wp(f, X),
|
|
15567
|
+
throw vy(f, at), Wp(f, X), sl(f, co()), ee;
|
|
15568
15568
|
}
|
|
15569
15569
|
if (Y === SU)
|
|
15570
15570
|
Wp(f, X);
|
|
@@ -15577,13 +15577,13 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
15577
15577
|
}
|
|
15578
15578
|
if (Y === FS) {
|
|
15579
15579
|
var Te = HS;
|
|
15580
|
-
throw vy(f, at), Wp(f, X),
|
|
15580
|
+
throw vy(f, at), Wp(f, X), sl(f, co()), Te;
|
|
15581
15581
|
}
|
|
15582
15582
|
}
|
|
15583
15583
|
f.finishedWork = ge, f.finishedLanes = X, xtt(f, Y, X);
|
|
15584
15584
|
}
|
|
15585
15585
|
}
|
|
15586
|
-
return
|
|
15586
|
+
return sl(f, co()), f.callbackNode === b ? Mse.bind(null, f) : null;
|
|
15587
15587
|
}
|
|
15588
15588
|
function XU(f, h) {
|
|
15589
15589
|
var b = JS;
|
|
@@ -15593,13 +15593,13 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
15593
15593
|
}
|
|
15594
15594
|
var X = r3(f, h);
|
|
15595
15595
|
if (X !== gy) {
|
|
15596
|
-
var D =
|
|
15597
|
-
|
|
15596
|
+
var D = ol;
|
|
15597
|
+
ol = b, D !== null && Gse(D);
|
|
15598
15598
|
}
|
|
15599
15599
|
return X;
|
|
15600
15600
|
}
|
|
15601
15601
|
function Gse(f) {
|
|
15602
|
-
|
|
15602
|
+
ol === null ? ol = f : ol.push.apply(ol, f);
|
|
15603
15603
|
}
|
|
15604
15604
|
function xtt(f, h, b) {
|
|
15605
15605
|
switch (h) {
|
|
@@ -15610,7 +15610,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
15610
15610
|
// statement, but eslint doesn't know about invariant, so it complains
|
|
15611
15611
|
// if I do. eslint-disable-next-line no-fallthrough
|
|
15612
15612
|
case gy: {
|
|
15613
|
-
$y(f,
|
|
15613
|
+
$y(f, ol, VO);
|
|
15614
15614
|
break;
|
|
15615
15615
|
}
|
|
15616
15616
|
case L4: {
|
|
@@ -15626,11 +15626,11 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
15626
15626
|
zs(), kie(f, D);
|
|
15627
15627
|
break;
|
|
15628
15628
|
}
|
|
15629
|
-
f.timeoutHandle = _A($y.bind(null, f,
|
|
15629
|
+
f.timeoutHandle = _A($y.bind(null, f, ol, VO), Q);
|
|
15630
15630
|
break;
|
|
15631
15631
|
}
|
|
15632
15632
|
}
|
|
15633
|
-
$y(f,
|
|
15633
|
+
$y(f, ol, VO);
|
|
15634
15634
|
break;
|
|
15635
15635
|
}
|
|
15636
15636
|
case BS: {
|
|
@@ -15639,15 +15639,15 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
15639
15639
|
if (!sle()) {
|
|
15640
15640
|
var Y = fFe(f, b), B = Y, ee = co() - B, fe = Itt(ee) - ee;
|
|
15641
15641
|
if (fe > 10) {
|
|
15642
|
-
f.timeoutHandle = _A($y.bind(null, f,
|
|
15642
|
+
f.timeoutHandle = _A($y.bind(null, f, ol, VO), fe);
|
|
15643
15643
|
break;
|
|
15644
15644
|
}
|
|
15645
15645
|
}
|
|
15646
|
-
$y(f,
|
|
15646
|
+
$y(f, ol, VO);
|
|
15647
15647
|
break;
|
|
15648
15648
|
}
|
|
15649
15649
|
case Use: {
|
|
15650
|
-
$y(f,
|
|
15650
|
+
$y(f, ol, VO);
|
|
15651
15651
|
break;
|
|
15652
15652
|
}
|
|
15653
15653
|
default:
|
|
@@ -15697,7 +15697,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
15697
15697
|
YO();
|
|
15698
15698
|
var h = wR(f, at);
|
|
15699
15699
|
if (!Wl(h, fn))
|
|
15700
|
-
return
|
|
15700
|
+
return sl(f, co()), null;
|
|
15701
15701
|
var b = r3(f, h);
|
|
15702
15702
|
if (f.tag !== kp && b === gy) {
|
|
15703
15703
|
var Q = B9(f);
|
|
@@ -15705,15 +15705,15 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
15705
15705
|
}
|
|
15706
15706
|
if (b === FS) {
|
|
15707
15707
|
var X = HS;
|
|
15708
|
-
throw vy(f, at), Wp(f, h),
|
|
15708
|
+
throw vy(f, at), Wp(f, h), sl(f, co()), X;
|
|
15709
15709
|
}
|
|
15710
15710
|
if (b === SU)
|
|
15711
15711
|
throw new Error("Root did not complete. This is a bug in React.");
|
|
15712
15712
|
var D = f.current.alternate;
|
|
15713
|
-
return f.finishedWork = D, f.finishedLanes = h, $y(f,
|
|
15713
|
+
return f.finishedWork = D, f.finishedLanes = h, $y(f, ol, VO), sl(f, co()), null;
|
|
15714
15714
|
}
|
|
15715
15715
|
function Qtt(f, h) {
|
|
15716
|
-
h !== at && (eA(f, Xn(h, fn)),
|
|
15716
|
+
h !== at && (eA(f, Xn(h, fn)), sl(f, co()), (Bn & (qo | Ac)) === Ya && (eQ(), Tp()));
|
|
15717
15717
|
}
|
|
15718
15718
|
function EU(f, h) {
|
|
15719
15719
|
var b = Bn;
|
|
@@ -15763,7 +15763,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
15763
15763
|
}
|
|
15764
15764
|
Es = f;
|
|
15765
15765
|
var D = by(f.current, null);
|
|
15766
|
-
return Ii = D, Ma = Bd = h, Ga = NO, HS = null, F4 = at, KS = at, B4 = at, JS = null,
|
|
15766
|
+
return Ii = D, Ma = Bd = h, Ga = NO, HS = null, F4 = at, KS = at, B4 = at, JS = null, ol = null, vJe(), Vu.discardPendingWarnings(), D;
|
|
15767
15767
|
}
|
|
15768
15768
|
function Fse(f, h) {
|
|
15769
15769
|
do {
|
|
@@ -15947,7 +15947,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
15947
15947
|
} else
|
|
15948
15948
|
f.current = X, Yoe();
|
|
15949
15949
|
var Te = yy;
|
|
15950
|
-
if (yy ? (yy = !1, Dp = f, tQ = D) : (Nb = 0, J4 = null), Y = f.pendingLanes, Y === at && (Ub = null), Te || rle(f.current, !1), NLe(X.stateNode, Q), Au && f.memoizedUpdaters.clear(), Ott(),
|
|
15950
|
+
if (yy ? (yy = !1, Dp = f, tQ = D) : (Nb = 0, J4 = null), Y = f.pendingLanes, Y === at && (Ub = null), Te || rle(f.current, !1), NLe(X.stateNode, Q), Au && f.memoizedUpdaters.clear(), Ott(), sl(f, co()), h !== null)
|
|
15951
15951
|
for (var We = f.onRecoverableError, Ne = 0; Ne < h.length; Ne++) {
|
|
15952
15952
|
var Ze = h[Ne], wt = Ze.stack, Ht = Ze.digest;
|
|
15953
15953
|
We(Ze.value, {
|
|
@@ -16016,7 +16016,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
16016
16016
|
var Wtt = Att;
|
|
16017
16017
|
function tle(f, h, b) {
|
|
16018
16018
|
var Q = py(b, h), X = Koe(f, Q, fn), D = Rp(f, X, fn), Y = zs();
|
|
16019
|
-
D !== null && (Bx(D, fn, Y),
|
|
16019
|
+
D !== null && (Bx(D, fn, Y), sl(D, Y));
|
|
16020
16020
|
}
|
|
16021
16021
|
function ri(f, h, b) {
|
|
16022
16022
|
if (Ret(b), oQ(!1), f.tag === d) {
|
|
@@ -16032,7 +16032,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
16032
16032
|
var X = Q.type, D = Q.stateNode;
|
|
16033
16033
|
if (typeof X.getDerivedStateFromError == "function" || typeof D.componentDidCatch == "function" && !ele(D)) {
|
|
16034
16034
|
var Y = py(b, f), B = nU(Q, Y, fn), ee = Rp(Q, B, fn), fe = zs();
|
|
16035
|
-
ee !== null && (Bx(ee, fn, fe),
|
|
16035
|
+
ee !== null && (Bx(ee, fn, fe), sl(ee, fe));
|
|
16036
16036
|
return;
|
|
16037
16037
|
}
|
|
16038
16038
|
}
|
|
@@ -16048,12 +16048,12 @@ Error message:
|
|
|
16048
16048
|
var Q = f.pingCache;
|
|
16049
16049
|
Q !== null && Q.delete(h);
|
|
16050
16050
|
var X = zs();
|
|
16051
|
-
kie(f, b), Ftt(f), Es === f && db(Ma, b) && (Ga === BS || Ga === L4 && xie(Ma) && co() - PU < Nse ? vy(f, at) : B4 = Xn(B4, b)),
|
|
16051
|
+
kie(f, b), Ftt(f), Es === f && db(Ma, b) && (Ga === BS || Ga === L4 && xie(Ma) && co() - PU < Nse ? vy(f, at) : B4 = Xn(B4, b)), sl(f, X);
|
|
16052
16052
|
}
|
|
16053
16053
|
function nle(f, h) {
|
|
16054
16054
|
h === fo && (h = $tt(f));
|
|
16055
|
-
var b = zs(), Q =
|
|
16056
|
-
Q !== null && (Bx(Q, h, b),
|
|
16055
|
+
var b = zs(), Q = il(f, h);
|
|
16056
|
+
Q !== null && (Bx(Q, h, b), sl(Q, b));
|
|
16057
16057
|
}
|
|
16058
16058
|
function Ntt(f) {
|
|
16059
16059
|
var h = f.memoizedState, b = fo;
|
|
@@ -16336,7 +16336,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
16336
16336
|
_e !== void 0 && (b.has(_e) ? ge = !0 : h.has(_e) && (Y === c ? ge = !0 : fe = !0));
|
|
16337
16337
|
}
|
|
16338
16338
|
if (Vb !== null && (Vb.has(f) || Q !== null && Vb.has(Q)) && (ge = !0), ge && (f._debugNeedsRemount = !0), ge || fe) {
|
|
16339
|
-
var Te =
|
|
16339
|
+
var Te = il(f, fn);
|
|
16340
16340
|
Te !== null && Za(Te, f, fn, mi);
|
|
16341
16341
|
}
|
|
16342
16342
|
X !== null && !ge && VU(X, h, b), D !== null && VU(D, h, b);
|
|
@@ -16738,7 +16738,7 @@ Check the render method of %s.`, xn(_s) || "Unknown"));
|
|
|
16738
16738
|
}
|
|
16739
16739
|
case S: {
|
|
16740
16740
|
IO(function() {
|
|
16741
|
-
var X =
|
|
16741
|
+
var X = il(f, fn);
|
|
16742
16742
|
if (X !== null) {
|
|
16743
16743
|
var D = zs();
|
|
16744
16744
|
Za(X, f, fn, D);
|
|
@@ -16761,7 +16761,7 @@ Check the render method of %s.`, xn(_s) || "Unknown"));
|
|
|
16761
16761
|
}
|
|
16762
16762
|
function mnt(f) {
|
|
16763
16763
|
if (f.tag === S) {
|
|
16764
|
-
var h = Gx, b =
|
|
16764
|
+
var h = Gx, b = il(f, h);
|
|
16765
16765
|
if (b !== null) {
|
|
16766
16766
|
var Q = zs();
|
|
16767
16767
|
Za(b, f, h, Q);
|
|
@@ -16771,7 +16771,7 @@ Check the render method of %s.`, xn(_s) || "Unknown"));
|
|
|
16771
16771
|
}
|
|
16772
16772
|
function gnt(f) {
|
|
16773
16773
|
if (f.tag === S) {
|
|
16774
|
-
var h = Ap(f), b =
|
|
16774
|
+
var h = Ap(f), b = il(f, h);
|
|
16775
16775
|
if (b !== null) {
|
|
16776
16776
|
var Q = zs();
|
|
16777
16777
|
Za(b, f, h, Q);
|
|
@@ -16844,7 +16844,7 @@ Check the render method of %s.`, xn(_s) || "Unknown"));
|
|
|
16844
16844
|
if (X !== null) {
|
|
16845
16845
|
var D = jle(X.memoizedState, b, Q);
|
|
16846
16846
|
X.memoizedState = D, X.baseState = D, f.memoizedProps = Tn({}, f.memoizedProps);
|
|
16847
|
-
var Y =
|
|
16847
|
+
var Y = il(f, fn);
|
|
16848
16848
|
Y !== null && Za(Y, f, fn, mi);
|
|
16849
16849
|
}
|
|
16850
16850
|
}, wle = function(f, h, b) {
|
|
@@ -16852,7 +16852,7 @@ Check the render method of %s.`, xn(_s) || "Unknown"));
|
|
|
16852
16852
|
if (Q !== null) {
|
|
16853
16853
|
var X = Cle(Q.memoizedState, b);
|
|
16854
16854
|
Q.memoizedState = X, Q.baseState = X, f.memoizedProps = Tn({}, f.memoizedProps);
|
|
16855
|
-
var D =
|
|
16855
|
+
var D = il(f, fn);
|
|
16856
16856
|
D !== null && Za(D, f, fn, mi);
|
|
16857
16857
|
}
|
|
16858
16858
|
}, xle = function(f, h, b, Q) {
|
|
@@ -16860,23 +16860,23 @@ Check the render method of %s.`, xn(_s) || "Unknown"));
|
|
|
16860
16860
|
if (X !== null) {
|
|
16861
16861
|
var D = Ele(X.memoizedState, b, Q);
|
|
16862
16862
|
X.memoizedState = D, X.baseState = D, f.memoizedProps = Tn({}, f.memoizedProps);
|
|
16863
|
-
var Y =
|
|
16863
|
+
var Y = il(f, fn);
|
|
16864
16864
|
Y !== null && Za(Y, f, fn, mi);
|
|
16865
16865
|
}
|
|
16866
16866
|
}, Sle = function(f, h, b) {
|
|
16867
16867
|
f.pendingProps = jle(f.memoizedProps, h, b), f.alternate && (f.alternate.pendingProps = f.pendingProps);
|
|
16868
|
-
var Q =
|
|
16868
|
+
var Q = il(f, fn);
|
|
16869
16869
|
Q !== null && Za(Q, f, fn, mi);
|
|
16870
16870
|
}, Qle = function(f, h) {
|
|
16871
16871
|
f.pendingProps = Cle(f.memoizedProps, h), f.alternate && (f.alternate.pendingProps = f.pendingProps);
|
|
16872
|
-
var b =
|
|
16872
|
+
var b = il(f, fn);
|
|
16873
16873
|
b !== null && Za(b, f, fn, mi);
|
|
16874
16874
|
}, Ple = function(f, h, b) {
|
|
16875
16875
|
f.pendingProps = Ele(f.memoizedProps, h, b), f.alternate && (f.alternate.pendingProps = f.pendingProps);
|
|
16876
|
-
var Q =
|
|
16876
|
+
var Q = il(f, fn);
|
|
16877
16877
|
Q !== null && Za(Q, f, fn, mi);
|
|
16878
16878
|
}, kle = function(f) {
|
|
16879
|
-
var h =
|
|
16879
|
+
var h = il(f, fn);
|
|
16880
16880
|
h !== null && Za(h, f, fn, mi);
|
|
16881
16881
|
}, Tle = function(f) {
|
|
16882
16882
|
vle = f;
|
|
@@ -16995,13 +16995,13 @@ Check the render method of %s.`, xn(_s) || "Unknown"));
|
|
|
16995
16995
|
return new s3(fe);
|
|
16996
16996
|
}
|
|
16997
16997
|
function l3(f) {
|
|
16998
|
-
return !!(f && (f.nodeType ===
|
|
16998
|
+
return !!(f && (f.nodeType === nl || f.nodeType === _O || f.nodeType === s9));
|
|
16999
16999
|
}
|
|
17000
17000
|
function lQ(f) {
|
|
17001
|
-
return !!(f && (f.nodeType ===
|
|
17001
|
+
return !!(f && (f.nodeType === nl || f.nodeType === _O || f.nodeType === s9 || f.nodeType === Sa && f.nodeValue === " react-mount-point-unstable "));
|
|
17002
17002
|
}
|
|
17003
17003
|
function Dle(f) {
|
|
17004
|
-
f.nodeType ===
|
|
17004
|
+
f.nodeType === nl && f.tagName && f.tagName.toUpperCase() === "BODY" && o("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."), SS(f) && (f._reactRootContainer ? o("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.") : o("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."));
|
|
17005
17005
|
}
|
|
17006
17006
|
var knt = n.ReactCurrentOwner, Ale;
|
|
17007
17007
|
Ale = function(f) {
|
|
@@ -17010,7 +17010,7 @@ Check the render method of %s.`, xn(_s) || "Unknown"));
|
|
|
17010
17010
|
h && h.parentNode !== f && o("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.");
|
|
17011
17011
|
}
|
|
17012
17012
|
var b = !!f._reactRootContainer, Q = n8(f), X = !!(Q && Qp(Q));
|
|
17013
|
-
X && !b && o("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."), f.nodeType ===
|
|
17013
|
+
X && !b && o("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."), f.nodeType === nl && f.tagName && f.tagName.toUpperCase() === "BODY" && o("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.");
|
|
17014
17014
|
};
|
|
17015
17015
|
function n8(f) {
|
|
17016
17016
|
return f ? f.nodeType === _O ? f.documentElement : f.firstChild : null;
|
|
@@ -17104,7 +17104,7 @@ Check the render method of %s.`, xn(_s) || "Unknown"));
|
|
|
17104
17104
|
b || o("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.", dr(h.type) || "A component"), h.stateNode._warnedAboutRefsInRender = !0;
|
|
17105
17105
|
}
|
|
17106
17106
|
}
|
|
17107
|
-
return f == null ? null : f.nodeType ===
|
|
17107
|
+
return f == null ? null : f.nodeType === nl ? f : hnt(f, "findDOMNode");
|
|
17108
17108
|
}
|
|
17109
17109
|
function Cnt(f, h, b) {
|
|
17110
17110
|
if (o("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"), !lQ(h))
|
|
@@ -17151,7 +17151,7 @@ Check the render method of %s.`, xn(_s) || "Unknown"));
|
|
|
17151
17151
|
}), !0;
|
|
17152
17152
|
} else {
|
|
17153
17153
|
{
|
|
17154
|
-
var X = n8(f), D = !!(X && Qp(X)), Y = f.nodeType ===
|
|
17154
|
+
var X = n8(f), D = !!(X && Qp(X)), Y = f.nodeType === nl && lQ(f.parentNode) && !!f.parentNode._reactRootContainer;
|
|
17155
17155
|
D && o("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s", Y ? "You may have accidentally passed in a React root node instead of its container." : "Instead, have the parent component update its state and rerender in order to remove this component.");
|
|
17156
17156
|
}
|
|
17157
17157
|
return !1;
|
|
@@ -17195,8 +17195,8 @@ Check the render method of %s.`, xn(_s) || "Unknown"));
|
|
|
17195
17195
|
/^(https?|file):$/.test(Vle) && console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools" + (Vle === "file:" ? `
|
|
17196
17196
|
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq` : ""), "font-weight:bold");
|
|
17197
17197
|
}
|
|
17198
|
-
|
|
17199
|
-
}(),
|
|
17198
|
+
ll.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = r8, ll.createPortal = jnt, ll.createRoot = Dnt, ll.findDOMNode = Rnt, ll.flushSync = Wnt, ll.hydrate = Cnt, ll.hydrateRoot = Ant, ll.render = Xnt, ll.unmountComponentAtNode = znt, ll.unstable_batchedUpdates = EU, ll.unstable_renderSubtreeIntoContainer = qnt, ll.version = BU, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
17199
|
+
}(), ll;
|
|
17200
17200
|
}
|
|
17201
17201
|
var Oce;
|
|
17202
17202
|
function pT() {
|
|
@@ -17414,7 +17414,7 @@ const Ur = {
|
|
|
17414
17414
|
return Ur.filter(t, (r, i) => !n.has(i));
|
|
17415
17415
|
}
|
|
17416
17416
|
};
|
|
17417
|
-
function
|
|
17417
|
+
function Vn(t, e) {
|
|
17418
17418
|
if (!t)
|
|
17419
17419
|
throw new Error(e);
|
|
17420
17420
|
}
|
|
@@ -17433,7 +17433,7 @@ const Wxe = "abcdefghijklmnopqrstuvwxyz", tit = Wxe.toUpperCase(), pce = Wxe + t
|
|
|
17433
17433
|
* Create a new HTMLCellId
|
|
17434
17434
|
*/
|
|
17435
17435
|
create(t) {
|
|
17436
|
-
return
|
|
17436
|
+
return Vn(t != null, "cellId is required"), `cell-${t}`;
|
|
17437
17437
|
},
|
|
17438
17438
|
parse(t) {
|
|
17439
17439
|
return t.slice(5);
|
|
@@ -17471,7 +17471,7 @@ const yv = {
|
|
|
17471
17471
|
},
|
|
17472
17472
|
parseOrThrow(t) {
|
|
17473
17473
|
const e = yv.parse(t);
|
|
17474
|
-
return
|
|
17474
|
+
return Vn(e, "<marimo-ui-element/> missing object-id attribute"), e;
|
|
17475
17475
|
}
|
|
17476
17476
|
}, rit = {
|
|
17477
17477
|
create(t) {
|
|
@@ -18124,7 +18124,7 @@ class Qs {
|
|
|
18124
18124
|
}
|
|
18125
18125
|
const mn = Object.freeze({
|
|
18126
18126
|
status: "aborted"
|
|
18127
|
-
}), M1 = (t) => ({ status: "dirty", value: t }),
|
|
18127
|
+
}), M1 = (t) => ({ status: "dirty", value: t }), el = (t) => ({ status: "valid", value: t }), oM = (t) => t.status === "aborted", sM = (t) => t.status === "dirty", Xv = (t) => t.status === "valid", d5 = (t) => typeof Promise < "u" && t instanceof Promise;
|
|
18128
18128
|
function QE(t, e, n, r) {
|
|
18129
18129
|
if (typeof e == "function" ? t !== e || !0 : !e.has(t)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
18130
18130
|
return e.get(t);
|
|
@@ -19133,7 +19133,7 @@ class f5 extends An {
|
|
|
19133
19133
|
received: r.parsedType
|
|
19134
19134
|
}), mn;
|
|
19135
19135
|
}
|
|
19136
|
-
return
|
|
19136
|
+
return el(e.data);
|
|
19137
19137
|
}
|
|
19138
19138
|
}
|
|
19139
19139
|
f5.create = (t) => new f5({
|
|
@@ -19229,7 +19229,7 @@ class PE extends An {
|
|
|
19229
19229
|
received: r.parsedType
|
|
19230
19230
|
}), mn;
|
|
19231
19231
|
}
|
|
19232
|
-
return
|
|
19232
|
+
return el(e.data);
|
|
19233
19233
|
}
|
|
19234
19234
|
}
|
|
19235
19235
|
PE.create = (t) => new PE({
|
|
@@ -19246,7 +19246,7 @@ class O5 extends An {
|
|
|
19246
19246
|
received: r.parsedType
|
|
19247
19247
|
}), mn;
|
|
19248
19248
|
}
|
|
19249
|
-
return
|
|
19249
|
+
return el(e.data);
|
|
19250
19250
|
}
|
|
19251
19251
|
}
|
|
19252
19252
|
O5.create = (t) => new O5({
|
|
@@ -19263,7 +19263,7 @@ class h5 extends An {
|
|
|
19263
19263
|
received: r.parsedType
|
|
19264
19264
|
}), mn;
|
|
19265
19265
|
}
|
|
19266
|
-
return
|
|
19266
|
+
return el(e.data);
|
|
19267
19267
|
}
|
|
19268
19268
|
}
|
|
19269
19269
|
h5.create = (t) => new h5({
|
|
@@ -19275,7 +19275,7 @@ class W0 extends An {
|
|
|
19275
19275
|
super(...arguments), this._any = !0;
|
|
19276
19276
|
}
|
|
19277
19277
|
_parse(e) {
|
|
19278
|
-
return
|
|
19278
|
+
return el(e.data);
|
|
19279
19279
|
}
|
|
19280
19280
|
}
|
|
19281
19281
|
W0.create = (t) => new W0({
|
|
@@ -19287,7 +19287,7 @@ class vv extends An {
|
|
|
19287
19287
|
super(...arguments), this._unknown = !0;
|
|
19288
19288
|
}
|
|
19289
19289
|
_parse(e) {
|
|
19290
|
-
return
|
|
19290
|
+
return el(e.data);
|
|
19291
19291
|
}
|
|
19292
19292
|
}
|
|
19293
19293
|
vv.create = (t) => new vv({
|
|
@@ -19318,7 +19318,7 @@ class kE extends An {
|
|
|
19318
19318
|
received: r.parsedType
|
|
19319
19319
|
}), mn;
|
|
19320
19320
|
}
|
|
19321
|
-
return
|
|
19321
|
+
return el(e.data);
|
|
19322
19322
|
}
|
|
19323
19323
|
}
|
|
19324
19324
|
kE.create = (t) => new kE({
|
|
@@ -20151,7 +20151,7 @@ class a0 extends An {
|
|
|
20151
20151
|
const a = { errorMap: n.common.contextualErrorMap }, o = n.data;
|
|
20152
20152
|
if (this._def.returns instanceof U0) {
|
|
20153
20153
|
const s = this;
|
|
20154
|
-
return
|
|
20154
|
+
return el(async function(...l) {
|
|
20155
20155
|
const c = new Tl([]), u = await s._def.args.parseAsync(l, a).catch((p) => {
|
|
20156
20156
|
throw c.addIssue(r(l, p)), c;
|
|
20157
20157
|
}), d = await Reflect.apply(o, this, u);
|
|
@@ -20161,7 +20161,7 @@ class a0 extends An {
|
|
|
20161
20161
|
});
|
|
20162
20162
|
} else {
|
|
20163
20163
|
const s = this;
|
|
20164
|
-
return
|
|
20164
|
+
return el(function(...l) {
|
|
20165
20165
|
const c = s._def.args.safeParse(l, a);
|
|
20166
20166
|
if (!c.success)
|
|
20167
20167
|
throw new Tl([r(l, c.error)]);
|
|
@@ -20268,7 +20268,7 @@ class Am extends An {
|
|
|
20268
20268
|
options: r
|
|
20269
20269
|
}), mn;
|
|
20270
20270
|
}
|
|
20271
|
-
return
|
|
20271
|
+
return el(e.data);
|
|
20272
20272
|
}
|
|
20273
20273
|
get options() {
|
|
20274
20274
|
return this._def.values;
|
|
@@ -20328,7 +20328,7 @@ class $5 extends An {
|
|
|
20328
20328
|
options: i
|
|
20329
20329
|
}), mn;
|
|
20330
20330
|
}
|
|
20331
|
-
return
|
|
20331
|
+
return el(e.data);
|
|
20332
20332
|
}
|
|
20333
20333
|
get enum() {
|
|
20334
20334
|
return this._def.values;
|
|
@@ -20353,7 +20353,7 @@ class U0 extends An {
|
|
|
20353
20353
|
received: n.parsedType
|
|
20354
20354
|
}), mn;
|
|
20355
20355
|
const r = n.parsedType === Rt.promise ? n.data : Promise.resolve(n.data);
|
|
20356
|
-
return
|
|
20356
|
+
return el(r.then((i) => this._def.type.parseAsync(i, {
|
|
20357
20357
|
path: n.path,
|
|
20358
20358
|
errorMap: n.common.contextualErrorMap
|
|
20359
20359
|
})));
|
|
@@ -20455,7 +20455,7 @@ yd.createWithPreprocess = (t, e, n) => new yd({
|
|
|
20455
20455
|
});
|
|
20456
20456
|
class Nf extends An {
|
|
20457
20457
|
_parse(e) {
|
|
20458
|
-
return this._getType(e) === Rt.undefined ?
|
|
20458
|
+
return this._getType(e) === Rt.undefined ? el(void 0) : this._def.innerType._parse(e);
|
|
20459
20459
|
}
|
|
20460
20460
|
unwrap() {
|
|
20461
20461
|
return this._def.innerType;
|
|
@@ -20468,7 +20468,7 @@ Nf.create = (t, e) => new Nf({
|
|
|
20468
20468
|
});
|
|
20469
20469
|
class Wm extends An {
|
|
20470
20470
|
_parse(e) {
|
|
20471
|
-
return this._getType(e) === Rt.null ?
|
|
20471
|
+
return this._getType(e) === Rt.null ? el(null) : this._def.innerType._parse(e);
|
|
20472
20472
|
}
|
|
20473
20473
|
unwrap() {
|
|
20474
20474
|
return this._def.innerType;
|
|
@@ -20679,7 +20679,7 @@ var U = /* @__PURE__ */ Object.freeze({
|
|
|
20679
20679
|
ParseStatus: Qs,
|
|
20680
20680
|
INVALID: mn,
|
|
20681
20681
|
DIRTY: M1,
|
|
20682
|
-
OK:
|
|
20682
|
+
OK: el,
|
|
20683
20683
|
isAborted: oM,
|
|
20684
20684
|
isDirty: sM,
|
|
20685
20685
|
isValid: Xv,
|
|
@@ -39360,7 +39360,7 @@ function K1t(t, e = Gm) {
|
|
|
39360
39360
|
});
|
|
39361
39361
|
}
|
|
39362
39362
|
const J1t = {
|
|
39363
|
-
getMarimoVersion: () => (Axe("0.13.13-
|
|
39363
|
+
getMarimoVersion: () => (Axe("0.13.13-dev19"), "0.13.13-dev19"),
|
|
39364
39364
|
getMarimoConfigOverrides: () => ({}),
|
|
39365
39365
|
getMarimoAppConfig: () => ({}),
|
|
39366
39366
|
getMarimoUserConfig: () => ({})
|
|
@@ -39477,7 +39477,7 @@ function l0t() {
|
|
|
39477
39477
|
function c0t() {
|
|
39478
39478
|
try {
|
|
39479
39479
|
const t = r0t();
|
|
39480
|
-
return
|
|
39480
|
+
return Vn(typeof t == "object", "internal-error: marimo-config-overrides is not an object"), Object.keys(t).length > 0 && He.log("🔧 Project configuration overrides:", t), t;
|
|
39481
39481
|
} catch (t) {
|
|
39482
39482
|
return He.error(`Marimo got an unexpected configuration overrides: ${t}`), {};
|
|
39483
39483
|
}
|
|
@@ -41229,7 +41229,7 @@ function B2e(t) {
|
|
|
41229
41229
|
function lfe(t) {
|
|
41230
41230
|
return t < 65536 ? 1 : 2;
|
|
41231
41231
|
}
|
|
41232
|
-
let
|
|
41232
|
+
let In = class H2e {
|
|
41233
41233
|
/**
|
|
41234
41234
|
Get the line description around the given position.
|
|
41235
41235
|
*/
|
|
@@ -41364,7 +41364,7 @@ let Vn = class H2e {
|
|
|
41364
41364
|
return e.length == 1 && !e[0] ? H2e.empty : e.length <= 32 ? new ga(e) : wf.from(ga.split(e, []));
|
|
41365
41365
|
}
|
|
41366
41366
|
};
|
|
41367
|
-
class ga extends
|
|
41367
|
+
class ga extends In {
|
|
41368
41368
|
constructor(e, n = $wt(e)) {
|
|
41369
41369
|
super(), this.text = e, this.length = n;
|
|
41370
41370
|
}
|
|
@@ -41426,7 +41426,7 @@ class ga extends Vn {
|
|
|
41426
41426
|
return i > -1 && n.push(new ga(r, i)), n;
|
|
41427
41427
|
}
|
|
41428
41428
|
}
|
|
41429
|
-
class wf extends
|
|
41429
|
+
class wf extends In {
|
|
41430
41430
|
constructor(e, n) {
|
|
41431
41431
|
super(), this.children = e, this.length = n, this.lines = 0;
|
|
41432
41432
|
for (let r of e)
|
|
@@ -41523,7 +41523,7 @@ class wf extends Vn {
|
|
|
41523
41523
|
return O(), s.length == 1 ? s[0] : new wf(s, n);
|
|
41524
41524
|
}
|
|
41525
41525
|
}
|
|
41526
|
-
|
|
41526
|
+
In.empty = /* @__PURE__ */ new ga([""], 0);
|
|
41527
41527
|
function $wt(t) {
|
|
41528
41528
|
let e = -1;
|
|
41529
41529
|
for (let n of t)
|
|
@@ -41603,7 +41603,7 @@ class J2e {
|
|
|
41603
41603
|
return !1;
|
|
41604
41604
|
}
|
|
41605
41605
|
}
|
|
41606
|
-
typeof Symbol < "u" && (
|
|
41606
|
+
typeof Symbol < "u" && (In.prototype[Symbol.iterator] = function() {
|
|
41607
41607
|
return this.iter();
|
|
41608
41608
|
}, _2.prototype[Symbol.iterator] = K2e.prototype[Symbol.iterator] = J2e.prototype[Symbol.iterator] = function() {
|
|
41609
41609
|
return this;
|
|
@@ -41841,8 +41841,8 @@ class Ka extends Yf {
|
|
|
41841
41841
|
n[i] = s, n[i + 1] = o;
|
|
41842
41842
|
let l = i >> 1;
|
|
41843
41843
|
for (; r.length < l; )
|
|
41844
|
-
r.push(
|
|
41845
|
-
r.push(o ? e.slice(a, a + o) :
|
|
41844
|
+
r.push(In.empty);
|
|
41845
|
+
r.push(o ? e.slice(a, a + o) : In.empty);
|
|
41846
41846
|
}
|
|
41847
41847
|
a += o;
|
|
41848
41848
|
}
|
|
@@ -41956,7 +41956,7 @@ class Ka extends Yf {
|
|
|
41956
41956
|
let { from: d, to: O = d, insert: p } = u;
|
|
41957
41957
|
if (d > O || d < 0 || O > n)
|
|
41958
41958
|
throw new RangeError(`Invalid change range ${d} to ${O} (in doc of length ${n})`);
|
|
41959
|
-
let g = p ? typeof p == "string" ?
|
|
41959
|
+
let g = p ? typeof p == "string" ? In.of(p.split(r || YM)) : p : In.empty, y = g.length;
|
|
41960
41960
|
if (d == O && y == 0)
|
|
41961
41961
|
return;
|
|
41962
41962
|
d < o && l(), d > o && ms(i, d - o, -1), ms(i, O - d, y), pm(a, i, g), o = O;
|
|
@@ -41989,8 +41989,8 @@ class Ka extends Yf {
|
|
|
41989
41989
|
n.push(a[0], 0);
|
|
41990
41990
|
else {
|
|
41991
41991
|
for (; r.length < i; )
|
|
41992
|
-
r.push(
|
|
41993
|
-
r[i] =
|
|
41992
|
+
r.push(In.empty);
|
|
41993
|
+
r[i] = In.of(a.slice(1)), n.push(a[0], r[i].length);
|
|
41994
41994
|
}
|
|
41995
41995
|
}
|
|
41996
41996
|
}
|
|
@@ -42017,7 +42017,7 @@ function pm(t, e, n) {
|
|
|
42017
42017
|
t[t.length - 1] = t[t.length - 1].append(n);
|
|
42018
42018
|
else {
|
|
42019
42019
|
for (; t.length < r; )
|
|
42020
|
-
t.push(
|
|
42020
|
+
t.push(In.empty);
|
|
42021
42021
|
t.push(n);
|
|
42022
42022
|
}
|
|
42023
42023
|
}
|
|
@@ -42028,7 +42028,7 @@ function MM(t, e, n) {
|
|
|
42028
42028
|
if (l < 0)
|
|
42029
42029
|
i += s, a += s;
|
|
42030
42030
|
else {
|
|
42031
|
-
let c = i, u = a, d =
|
|
42031
|
+
let c = i, u = a, d = In.empty;
|
|
42032
42032
|
for (; c += s, u += l, l && r && (d = d.append(r[o - 2 >> 1])), !(n || o == t.sections.length || t.sections[o + 1] < 0); )
|
|
42033
42033
|
s = t.sections[o++], l = t.sections[o++];
|
|
42034
42034
|
e(i, c, a, u, d), i = c, a = u;
|
|
@@ -42107,11 +42107,11 @@ class A5 {
|
|
|
42107
42107
|
}
|
|
42108
42108
|
get text() {
|
|
42109
42109
|
let { inserted: e } = this.set, n = this.i - 2 >> 1;
|
|
42110
|
-
return n >= e.length ?
|
|
42110
|
+
return n >= e.length ? In.empty : e[n];
|
|
42111
42111
|
}
|
|
42112
42112
|
textBit(e) {
|
|
42113
42113
|
let { inserted: n } = this.set, r = this.i - 2 >> 1;
|
|
42114
|
-
return r >= n.length && !e ?
|
|
42114
|
+
return r >= n.length && !e ? In.empty : n[r].slice(this.off, e == null ? void 0 : this.off + e);
|
|
42115
42115
|
}
|
|
42116
42116
|
forward(e) {
|
|
42117
42117
|
e == this.len ? this.next() : (this.len -= e, this.off += e);
|
|
@@ -43063,7 +43063,7 @@ class er {
|
|
|
43063
43063
|
[`Text`](https://codemirror.net/6/docs/ref/#state.Text) instance from the given string.
|
|
43064
43064
|
*/
|
|
43065
43065
|
toText(e) {
|
|
43066
|
-
return
|
|
43066
|
+
return In.of(e.split(this.facet(er.lineSeparator) || YM));
|
|
43067
43067
|
}
|
|
43068
43068
|
/**
|
|
43069
43069
|
Return the given range of the document as a string.
|
|
@@ -43125,7 +43125,7 @@ class er {
|
|
|
43125
43125
|
transactions.
|
|
43126
43126
|
*/
|
|
43127
43127
|
static create(e = {}) {
|
|
43128
|
-
let n = tz.resolve(e.extensions || [], /* @__PURE__ */ new Map()), r = e.doc instanceof
|
|
43128
|
+
let n = tz.resolve(e.extensions || [], /* @__PURE__ */ new Map()), r = e.doc instanceof In ? e.doc : In.of((e.doc || "").split(n.staticFacet(er.lineSeparator) || YM)), i = e.selection ? e.selection instanceof Me ? e.selection : Me.single(e.selection.anchor, e.selection.head) : Me.single(0);
|
|
43129
43129
|
return t5e(i, r.length), n.staticFacet(BM) || (i = i.asSingle()), new er(n, r, i, n.dynamicSlots.map(() => null), (a, o) => o.create(a), null);
|
|
43130
43130
|
}
|
|
43131
43131
|
/**
|
|
@@ -44652,12 +44652,12 @@ class mm extends di {
|
|
|
44652
44652
|
}
|
|
44653
44653
|
get overrideDOMText() {
|
|
44654
44654
|
if (this.length == 0)
|
|
44655
|
-
return
|
|
44655
|
+
return In.empty;
|
|
44656
44656
|
let e = this;
|
|
44657
44657
|
for (; e.parent; )
|
|
44658
44658
|
e = e.parent;
|
|
44659
44659
|
let { view: n } = e, r = n && n.state.doc, i = this.posAtStart;
|
|
44660
|
-
return r ? r.slice(i, i + this.length) :
|
|
44660
|
+
return r ? r.slice(i, i + this.length) : In.empty;
|
|
44661
44661
|
}
|
|
44662
44662
|
domAtPos(e) {
|
|
44663
44663
|
return (this.length ? e == 0 : this.side > 0) ? vs.before(this.dom) : vs.after(this.dom, e == this.length);
|
|
@@ -44728,7 +44728,7 @@ class B0 extends di {
|
|
|
44728
44728
|
return this.dom.getBoundingClientRect();
|
|
44729
44729
|
}
|
|
44730
44730
|
get overrideDOMText() {
|
|
44731
|
-
return
|
|
44731
|
+
return In.empty;
|
|
44732
44732
|
}
|
|
44733
44733
|
get isHidden() {
|
|
44734
44734
|
return !0;
|
|
@@ -44906,9 +44906,9 @@ class OO {
|
|
|
44906
44906
|
destroy(e) {
|
|
44907
44907
|
}
|
|
44908
44908
|
}
|
|
44909
|
-
var
|
|
44909
|
+
var Ls = /* @__PURE__ */ function(t) {
|
|
44910
44910
|
return t[t.Text = 0] = "Text", t[t.WidgetBefore = 1] = "WidgetBefore", t[t.WidgetAfter = 2] = "WidgetAfter", t[t.WidgetRange = 3] = "WidgetRange", t;
|
|
44911
|
-
}(
|
|
44911
|
+
}(Ls || (Ls = {}));
|
|
44912
44912
|
class Bt extends Dv {
|
|
44913
44913
|
constructor(e, n, r, i) {
|
|
44914
44914
|
super(), this.startSide = e, this.endSide = n, this.widget = r, this.spec = i;
|
|
@@ -45013,7 +45013,7 @@ class Fm extends Bt {
|
|
|
45013
45013
|
}
|
|
45014
45014
|
// Only relevant when this.block == true
|
|
45015
45015
|
get type() {
|
|
45016
|
-
return this.startSide != this.endSide ?
|
|
45016
|
+
return this.startSide != this.endSide ? Ls.WidgetRange : this.startSide <= 0 ? Ls.WidgetBefore : Ls.WidgetAfter;
|
|
45017
45017
|
}
|
|
45018
45018
|
get heightRelevant() {
|
|
45019
45019
|
return this.block || !!this.widget && (this.widget.estimatedHeight >= 5 || this.widget.lineBreaks > 0);
|
|
@@ -45169,7 +45169,7 @@ class qh extends di {
|
|
|
45169
45169
|
(!this.dom || !this.widget.updateDOM(this.dom, e)) && (this.dom && this.prevWidget && this.prevWidget.destroy(this.dom), this.prevWidget = null, this.setDOM(this.widget.toDOM(e)), this.widget.editable || (this.dom.contentEditable = "false"));
|
|
45170
45170
|
}
|
|
45171
45171
|
get overrideDOMText() {
|
|
45172
|
-
return this.parent ? this.parent.view.state.doc.slice(this.posAtStart, this.posAtEnd) :
|
|
45172
|
+
return this.parent ? this.parent.view.state.doc.slice(this.posAtStart, this.posAtEnd) : In.empty;
|
|
45173
45173
|
}
|
|
45174
45174
|
domBoundsAround() {
|
|
45175
45175
|
return null;
|
|
@@ -46351,7 +46351,7 @@ function F5e(t, e, n, r = -1) {
|
|
|
46351
46351
|
return 0;
|
|
46352
46352
|
if (O > c)
|
|
46353
46353
|
return t.state.doc.length;
|
|
46354
|
-
for (let P = t.viewState.heightOracle.textHeight / 2, S = !1; l = t.elementAtHeight(O), l.type !=
|
|
46354
|
+
for (let P = t.viewState.heightOracle.textHeight / 2, S = !1; l = t.elementAtHeight(O), l.type != Ls.Text; )
|
|
46355
46355
|
for (; O = r > 0 ? l.bottom + P : l.top - P, !(O >= 0 && O <= c); ) {
|
|
46356
46356
|
if (S)
|
|
46357
46357
|
return n ? null : 0;
|
|
@@ -46433,7 +46433,7 @@ function gG(t, e, n) {
|
|
|
46433
46433
|
if (!(a.to < e)) {
|
|
46434
46434
|
if (a.from < e && a.to > e)
|
|
46435
46435
|
return a;
|
|
46436
|
-
(!i || a.type ==
|
|
46436
|
+
(!i || a.type == Ls.Text && (i.type != a.type || (n < 0 ? a.from < e : a.to > e))) && (i = a);
|
|
46437
46437
|
}
|
|
46438
46438
|
}
|
|
46439
46439
|
return i || r;
|
|
@@ -46441,7 +46441,7 @@ function gG(t, e, n) {
|
|
|
46441
46441
|
return r;
|
|
46442
46442
|
}
|
|
46443
46443
|
function bxt(t, e, n, r) {
|
|
46444
|
-
let i = gG(t, e.head, e.assoc || -1), a = !r || i.type !=
|
|
46444
|
+
let i = gG(t, e.head, e.assoc || -1), a = !r || i.type != Ls.Text || !(t.lineWrapping || i.widgetLineBreaks) ? null : t.coordsAtPos(e.assoc < 0 && e.head > i.from ? e.head - 1 : e.head);
|
|
46445
46445
|
if (a) {
|
|
46446
46446
|
let o = t.dom.getBoundingClientRect(), s = t.textDirectionAt(i.from), l = t.posAtCoords({
|
|
46447
46447
|
x: n == (s == Ti.LTR) ? o.right - 1 : o.left + 1,
|
|
@@ -46620,17 +46620,17 @@ function B5e(t, e) {
|
|
|
46620
46620
|
u && (Ct.chrome && a == 13 && u.toB == u.from + 2 && e.text.slice(u.from, u.toB) == JP + JP && u.toB--, n = {
|
|
46621
46621
|
from: o + u.from,
|
|
46622
46622
|
to: o + u.toA,
|
|
46623
|
-
insert:
|
|
46623
|
+
insert: In.of(e.text.slice(u.from, u.toB).split(JP))
|
|
46624
46624
|
});
|
|
46625
46625
|
} else r && (!t.hasFocus && t.state.facet(Sh) || r.main.eq(i)) && (r = null);
|
|
46626
46626
|
if (!n && !r)
|
|
46627
46627
|
return !1;
|
|
46628
|
-
if (!n && e.typeOver && !i.empty && r && r.main.empty ? n = { from: i.from, to: i.to, insert: t.state.doc.slice(i.from, i.to) } : (Ct.mac || Ct.android) && n && n.from == n.to && n.from == i.head - 1 && /^\. ?$/.test(n.insert.toString()) && t.contentDOM.getAttribute("autocorrect") == "off" ? (r && n.insert.length == 2 && (r = Me.single(r.main.anchor - 1, r.main.head - 1)), n = { from: n.from, to: n.to, insert:
|
|
46628
|
+
if (!n && e.typeOver && !i.empty && r && r.main.empty ? n = { from: i.from, to: i.to, insert: t.state.doc.slice(i.from, i.to) } : (Ct.mac || Ct.android) && n && n.from == n.to && n.from == i.head - 1 && /^\. ?$/.test(n.insert.toString()) && t.contentDOM.getAttribute("autocorrect") == "off" ? (r && n.insert.length == 2 && (r = Me.single(r.main.anchor - 1, r.main.head - 1)), n = { from: n.from, to: n.to, insert: In.of([n.insert.toString().replace(".", " ")]) }) : n && n.from >= i.from && n.to <= i.to && (n.from != i.from || n.to != i.to) && i.to - i.from - (n.to - n.from) <= 4 ? n = {
|
|
46629
46629
|
from: i.from,
|
|
46630
46630
|
to: i.to,
|
|
46631
46631
|
insert: t.state.doc.slice(i.from, n.from).append(n.insert).append(t.state.doc.slice(n.to, i.to))
|
|
46632
46632
|
} : Ct.chrome && n && n.from == n.to && n.from == i.head && n.insert.toString() == `
|
|
46633
|
-
` && t.lineWrapping && (r && (r = Me.single(r.main.anchor - 1, r.main.head - 1)), n = { from: i.from, to: i.to, insert:
|
|
46633
|
+
` && t.lineWrapping && (r && (r = Me.single(r.main.anchor - 1, r.main.head - 1)), n = { from: i.from, to: i.to, insert: In.of([" "]) }), n)
|
|
46634
46634
|
return RK(t, n, r, a);
|
|
46635
46635
|
if (r && !r.main.eq(i)) {
|
|
46636
46636
|
let o = !1, s = "select";
|
|
@@ -47218,7 +47218,7 @@ function Nfe() {
|
|
|
47218
47218
|
}
|
|
47219
47219
|
class Lxt {
|
|
47220
47220
|
constructor(e) {
|
|
47221
|
-
this.lineWrapping = e, this.doc =
|
|
47221
|
+
this.lineWrapping = e, this.doc = In.empty, this.heightSamples = {}, this.lineHeight = 14, this.charWidth = 7, this.textHeight = 14, this.lineLength = 30;
|
|
47222
47222
|
}
|
|
47223
47223
|
heightForGap(e, n) {
|
|
47224
47224
|
let r = this.doc.lineAt(n).number - this.doc.lineAt(e).number + 1;
|
|
@@ -47273,7 +47273,7 @@ class Sf {
|
|
|
47273
47273
|
an array of all the blocks that make up the line.
|
|
47274
47274
|
*/
|
|
47275
47275
|
get type() {
|
|
47276
|
-
return typeof this._content == "number" ?
|
|
47276
|
+
return typeof this._content == "number" ? Ls.Text : Array.isArray(this._content) ? this._content : this._content.type;
|
|
47277
47277
|
}
|
|
47278
47278
|
/**
|
|
47279
47279
|
The end of the element as a document position.
|
|
@@ -47313,7 +47313,7 @@ var Si = /* @__PURE__ */ function(t) {
|
|
|
47313
47313
|
return t[t.ByPos = 0] = "ByPos", t[t.ByHeight = 1] = "ByHeight", t[t.ByPosNoHeight = 2] = "ByPosNoHeight", t;
|
|
47314
47314
|
}(Si || (Si = {}));
|
|
47315
47315
|
const EX = 1e-3;
|
|
47316
|
-
class
|
|
47316
|
+
class Fs {
|
|
47317
47317
|
constructor(e, n, r = 2) {
|
|
47318
47318
|
this.length = e, this.height = n, this.flags = r;
|
|
47319
47319
|
}
|
|
@@ -47330,7 +47330,7 @@ class Ls {
|
|
|
47330
47330
|
// from the new nodes and returns that (HeightMapBranch and
|
|
47331
47331
|
// HeightMapGap override this to actually use from/to)
|
|
47332
47332
|
replace(e, n, r) {
|
|
47333
|
-
return
|
|
47333
|
+
return Fs.of(r);
|
|
47334
47334
|
}
|
|
47335
47335
|
// Again, these are base cases, and are overridden for branch and gap nodes.
|
|
47336
47336
|
decomposeLeft(e, n) {
|
|
@@ -47380,14 +47380,14 @@ class Ls {
|
|
|
47380
47380
|
s && (a += s.size);
|
|
47381
47381
|
}
|
|
47382
47382
|
let o = 0;
|
|
47383
|
-
return e[n - 1] == null ? (o = 1, n--) : e[n] == null && (o = 1, r++), new Bxt(
|
|
47383
|
+
return e[n - 1] == null ? (o = 1, n--) : e[n] == null && (o = 1, r++), new Bxt(Fs.of(e.slice(0, n)), o, Fs.of(e.slice(r)));
|
|
47384
47384
|
}
|
|
47385
47385
|
}
|
|
47386
47386
|
function oz(t, e) {
|
|
47387
47387
|
return t == e ? t : (t.constructor != e.constructor && (K0 = !0), e);
|
|
47388
47388
|
}
|
|
47389
|
-
|
|
47390
|
-
class ake extends
|
|
47389
|
+
Fs.prototype.size = 1;
|
|
47390
|
+
class ake extends Fs {
|
|
47391
47391
|
constructor(e, n, r) {
|
|
47392
47392
|
super(e, n), this.deco = r;
|
|
47393
47393
|
}
|
|
@@ -47416,7 +47416,7 @@ class tc extends ake {
|
|
|
47416
47416
|
}
|
|
47417
47417
|
replace(e, n, r) {
|
|
47418
47418
|
let i = r[0];
|
|
47419
|
-
return r.length == 1 && (i instanceof tc || i instanceof Uo && i.flags & 4) && Math.abs(this.length - i.length) < 10 ? (i instanceof Uo ? i = new tc(i.length, this.height) : i.height = this.height, this.outdated || (i.outdated = !1), i) :
|
|
47419
|
+
return r.length == 1 && (i instanceof tc || i instanceof Uo && i.flags & 4) && Math.abs(this.length - i.length) < 10 ? (i instanceof Uo ? i = new tc(i.length, this.height) : i.height = this.height, this.outdated || (i.outdated = !1), i) : Fs.of(r);
|
|
47420
47420
|
}
|
|
47421
47421
|
updateHeight(e, n = 0, r = !1, i) {
|
|
47422
47422
|
return i && i.from <= n && i.more ? this.setHeight(i.heights[i.index++]) : (r || this.outdated) && this.setHeight(Math.max(this.widgetHeight, e.heightForLine(this.length - this.collapsed)) + this.breaks * e.lineHeight), this.outdated = !1, this;
|
|
@@ -47425,7 +47425,7 @@ class tc extends ake {
|
|
|
47425
47425
|
return `line(${this.length}${this.collapsed ? -this.collapsed : ""}${this.widgetHeight ? ":" + this.widgetHeight : ""})`;
|
|
47426
47426
|
}
|
|
47427
47427
|
}
|
|
47428
|
-
class Uo extends
|
|
47428
|
+
class Uo extends Fs {
|
|
47429
47429
|
constructor(e) {
|
|
47430
47430
|
super(e, 0);
|
|
47431
47431
|
}
|
|
@@ -47481,7 +47481,7 @@ class Uo extends Ls {
|
|
|
47481
47481
|
let a = r[0];
|
|
47482
47482
|
a instanceof Uo ? r[0] = new Uo(e + a.length) : r.unshift(new Uo(e - 1), null);
|
|
47483
47483
|
}
|
|
47484
|
-
return
|
|
47484
|
+
return Fs.of(r);
|
|
47485
47485
|
}
|
|
47486
47486
|
decomposeLeft(e, n) {
|
|
47487
47487
|
n.push(new Uo(e - 1), null);
|
|
@@ -47502,7 +47502,7 @@ class Uo extends Ls {
|
|
|
47502
47502
|
O.outdated = !1, o.push(O), s += u + 1;
|
|
47503
47503
|
}
|
|
47504
47504
|
s <= a && o.push(null, new Uo(a - s).updateHeight(e, s));
|
|
47505
|
-
let c =
|
|
47505
|
+
let c = Fs.of(o);
|
|
47506
47506
|
return (l < 0 || Math.abs(c.height - this.height) >= EX || Math.abs(l - this.heightMetrics(e, n).perLine) >= EX) && (K0 = !0), oz(this, c);
|
|
47507
47507
|
} else (r || this.outdated) && (this.setHeight(e.heightForGap(n, n + this.length)), this.outdated = !1);
|
|
47508
47508
|
return this;
|
|
@@ -47511,7 +47511,7 @@ class Uo extends Ls {
|
|
|
47511
47511
|
return `gap(${this.length})`;
|
|
47512
47512
|
}
|
|
47513
47513
|
}
|
|
47514
|
-
class Bxt extends
|
|
47514
|
+
class Bxt extends Fs {
|
|
47515
47515
|
constructor(e, n, r) {
|
|
47516
47516
|
super(e.length + n + r.length, e.height + r.height, n | (e.outdated || r.outdated ? 2 : 0)), this.left = e, this.right = r, this.size = e.size + r.size;
|
|
47517
47517
|
}
|
|
@@ -47553,7 +47553,7 @@ class Bxt extends Ls {
|
|
|
47553
47553
|
let s = a.length;
|
|
47554
47554
|
this.decomposeRight(n, a), Vfe(a, s);
|
|
47555
47555
|
}
|
|
47556
|
-
return
|
|
47556
|
+
return Fs.of(a);
|
|
47557
47557
|
}
|
|
47558
47558
|
decomposeLeft(e, n) {
|
|
47559
47559
|
let r = this.left.length;
|
|
@@ -47568,7 +47568,7 @@ class Bxt extends Ls {
|
|
|
47568
47568
|
e < r && this.left.decomposeRight(e, n), this.break && e < i && n.push(null), n.push(this.right);
|
|
47569
47569
|
}
|
|
47570
47570
|
balanced(e, n) {
|
|
47571
|
-
return e.size > 2 * n.size || n.size > 2 * e.size ?
|
|
47571
|
+
return e.size > 2 * n.size || n.size > 2 * e.size ? Fs.of(this.break ? [e, null, n] : [e, n]) : (this.left = oz(this.left, e), this.right = oz(this.right, n), this.setHeight(e.height + n.height), this.outdated = e.outdated || n.outdated, this.size = e.size + n.size, this.length = e.length + this.break + n.length, this);
|
|
47572
47572
|
}
|
|
47573
47573
|
updateHeight(e, n = 0, r = !1, i) {
|
|
47574
47574
|
let { left: a, right: o } = this, s = n + a.length + this.break, l = null;
|
|
@@ -47738,7 +47738,7 @@ class Ife {
|
|
|
47738
47738
|
constructor(e) {
|
|
47739
47739
|
this.state = e, this.pixelViewport = { left: 0, right: window.innerWidth, top: 0, bottom: 0 }, this.inView = !0, this.paddingTop = 0, this.paddingBottom = 0, this.contentDOMWidth = 0, this.contentDOMHeight = 0, this.editorHeight = 0, this.editorWidth = 0, this.scrollTop = 0, this.scrolledToBottom = !1, this.scaleX = 1, this.scaleY = 1, this.scrollAnchorPos = 0, this.scrollAnchorHeight = -1, this.scaler = Yfe, this.scrollTarget = null, this.printing = !1, this.mustMeasureContent = !0, this.defaultTextDirection = Ti.LTR, this.visibleRanges = [], this.mustEnforceCursorAssoc = !1;
|
|
47740
47740
|
let n = e.facet(kK).some((r) => typeof r != "function" && r.class == "cm-lineWrapping");
|
|
47741
|
-
this.heightOracle = new Lxt(n), this.stateDeco = e.facet(V5).filter((r) => typeof r != "function"), this.heightMap =
|
|
47741
|
+
this.heightOracle = new Lxt(n), this.stateDeco = e.facet(V5).filter((r) => typeof r != "function"), this.heightMap = Fs.empty().applyChanges(this.stateDeco, In.empty, this.heightOracle.setDoc(e.doc), [new hu(0, 0, 0, e.doc.length)]);
|
|
47742
47742
|
for (let r = 0; r < 2 && (this.viewport = this.getViewport(0, null), !!this.updateForViewport()); r++)
|
|
47743
47743
|
;
|
|
47744
47744
|
this.updateViewportLines(), this.lineGaps = this.ensureLineGaps([]), this.lineGapDeco = Bt.set(this.lineGaps.map((r) => r.draw(this, !1))), this.computeVisibleRanges();
|
|
@@ -47803,7 +47803,7 @@ class Ife {
|
|
|
47803
47803
|
y > 0 && $ > 0 ? u = Math.max(y, $) : y < 0 && $ < 0 && (u = Math.min(y, $)), Nfe();
|
|
47804
47804
|
for (let S of this.viewports) {
|
|
47805
47805
|
let k = S.from == this.viewport.from ? P : e.docView.measureVisibleLineHeights(S);
|
|
47806
|
-
this.heightMap = (o ?
|
|
47806
|
+
this.heightMap = (o ? Fs.empty().applyChanges(this.stateDeco, In.empty, this.heightOracle, [new hu(0, 0, 0, e.state.doc.length)]) : this.heightMap).updateHeight(i, 0, o, new Fxt(S.from, k));
|
|
47807
47807
|
}
|
|
47808
47808
|
K0 && (c |= 2);
|
|
47809
47809
|
}
|
|
@@ -47887,7 +47887,7 @@ class Ife {
|
|
|
47887
47887
|
}
|
|
47888
47888
|
s.push($);
|
|
47889
47889
|
}, c = (u) => {
|
|
47890
|
-
if (u.length < o || u.type !=
|
|
47890
|
+
if (u.length < o || u.type != Ls.Text)
|
|
47891
47891
|
return;
|
|
47892
47892
|
let d = iSt(u.from, u.to, this.stateDeco);
|
|
47893
47893
|
if (d.total < o)
|
|
@@ -48590,14 +48590,14 @@ class uSt {
|
|
|
48590
48590
|
this.handlers.textupdate = (r) => {
|
|
48591
48591
|
let i = e.state.selection.main, { anchor: a, head: o } = i, s = this.toEditorPos(r.updateRangeStart), l = this.toEditorPos(r.updateRangeEnd);
|
|
48592
48592
|
e.inputState.composing >= 0 && !this.composing && (this.composing = { contextBase: r.updateRangeStart, editorBase: s, drifted: !1 });
|
|
48593
|
-
let c = { from: s, to: l, insert:
|
|
48593
|
+
let c = { from: s, to: l, insert: In.of(r.text.split(`
|
|
48594
48594
|
`)) };
|
|
48595
48595
|
if (c.from == this.from && a < this.from ? c.from = a : c.to == this.to && a > this.to && (c.to = a), c.from == c.to && !c.insert.length) {
|
|
48596
48596
|
let u = Me.single(this.toEditorPos(r.selectionStart), this.toEditorPos(r.selectionEnd));
|
|
48597
48597
|
u.main.eq(i) || e.dispatch({ selection: u, userEvent: "select" });
|
|
48598
48598
|
return;
|
|
48599
48599
|
}
|
|
48600
|
-
if ((Ct.mac || Ct.android) && c.from == o - 1 && /^\. ?$/.test(r.text) && e.contentDOM.getAttribute("autocorrect") == "off" && (c = { from: s, to: l, insert:
|
|
48600
|
+
if ((Ct.mac || Ct.android) && c.from == o - 1 && /^\. ?$/.test(r.text) && e.contentDOM.getAttribute("autocorrect") == "off" && (c = { from: s, to: l, insert: In.of([r.text.replace(".", " ")]) }), this.pendingContextChange = c, !e.state.readOnly) {
|
|
48601
48601
|
let u = this.to - this.from + (c.to - c.from + c.insert.length);
|
|
48602
48602
|
RK(e, c, Me.single(this.toEditorPos(r.selectionStart, u), this.toEditorPos(r.selectionEnd, u)));
|
|
48603
48603
|
}
|
|
@@ -49646,12 +49646,12 @@ function Bfe(t, e, n, r) {
|
|
|
49646
49646
|
function ySt(t, e, n) {
|
|
49647
49647
|
if (n.to <= t.viewport.from || n.from >= t.viewport.to)
|
|
49648
49648
|
return [];
|
|
49649
|
-
let r = Math.max(n.from, t.viewport.from), i = Math.min(n.to, t.viewport.to), a = t.textDirection == Ti.LTR, o = t.contentDOM, s = o.getBoundingClientRect(), l = dke(t), c = o.querySelector(".cm-line"), u = c && window.getComputedStyle(c), d = s.left + (u ? parseInt(u.paddingLeft) + Math.min(0, parseInt(u.textIndent)) : 0), O = s.right - (u ? parseInt(u.paddingRight) : 0), p = gG(t, r, 1), g = gG(t, i, -1), y = p.type ==
|
|
49649
|
+
let r = Math.max(n.from, t.viewport.from), i = Math.min(n.to, t.viewport.to), a = t.textDirection == Ti.LTR, o = t.contentDOM, s = o.getBoundingClientRect(), l = dke(t), c = o.querySelector(".cm-line"), u = c && window.getComputedStyle(c), d = s.left + (u ? parseInt(u.paddingLeft) + Math.min(0, parseInt(u.textIndent)) : 0), O = s.right - (u ? parseInt(u.paddingRight) : 0), p = gG(t, r, 1), g = gG(t, i, -1), y = p.type == Ls.Text ? p : null, $ = g.type == Ls.Text ? g : null;
|
|
49650
49650
|
if (y && (t.lineWrapping || p.widgetLineBreaks) && (y = Bfe(t, r, 1, y)), $ && (t.lineWrapping || g.widgetLineBreaks) && ($ = Bfe(t, i, -1, $)), y && $ && y.from == $.from && y.to == $.to)
|
|
49651
49651
|
return x(v(n.from, n.to, y));
|
|
49652
49652
|
{
|
|
49653
49653
|
let S = y ? v(n.from, null, y) : P(p, !1), k = $ ? v(null, n.to, $) : P(g, !0), _ = [];
|
|
49654
|
-
return (y || p).to < ($ || g).from - (y && $ ? 1 : 0) || p.widgetLineBreaks > 1 && S.bottom + t.defaultLineHeight / 2 < k.top ? _.push(w(d, S.bottom, O, k.top)) : S.bottom < k.top && t.elementAtHeight((S.bottom + k.top) / 2).type ==
|
|
49654
|
+
return (y || p).to < ($ || g).from - (y && $ ? 1 : 0) || p.widgetLineBreaks > 1 && S.bottom + t.defaultLineHeight / 2 < k.top ? _.push(w(d, S.bottom, O, k.top)) : S.bottom < k.top && t.elementAtHeight((S.bottom + k.top) / 2).type == Ls.Text && (S.bottom = k.top = (S.bottom + k.top) / 2), x(S).concat(_).concat(x(k));
|
|
49655
49655
|
}
|
|
49656
49656
|
function w(S, k, _, E) {
|
|
49657
49657
|
return new NT(e, S - l.left, k - l.top, _ - S, E - k);
|
|
@@ -50841,7 +50841,7 @@ const iQt = /* @__PURE__ */ Fi.fromClass(class {
|
|
|
50841
50841
|
if (r.length && (r = []), Array.isArray(a.type)) {
|
|
50842
50842
|
let o = !0;
|
|
50843
50843
|
for (let s of a.type)
|
|
50844
|
-
if (s.type ==
|
|
50844
|
+
if (s.type == Ls.Text && o) {
|
|
50845
50845
|
QG(n, r, s.from);
|
|
50846
50846
|
for (let l of i)
|
|
50847
50847
|
l.line(this.view, s, r);
|
|
@@ -50849,7 +50849,7 @@ const iQt = /* @__PURE__ */ Fi.fromClass(class {
|
|
|
50849
50849
|
} else if (s.widget)
|
|
50850
50850
|
for (let l of i)
|
|
50851
50851
|
l.widget(this.view, s);
|
|
50852
|
-
} else if (a.type ==
|
|
50852
|
+
} else if (a.type == Ls.Text) {
|
|
50853
50853
|
QG(n, r, a.from);
|
|
50854
50854
|
for (let o of i)
|
|
50855
50855
|
o.line(this.view, a, r);
|
|
@@ -55119,7 +55119,7 @@ function QPt(t, e = 5e3) {
|
|
|
55119
55119
|
if (n.length < 2)
|
|
55120
55120
|
return TOe(kOe(n), e);
|
|
55121
55121
|
const r = n[n.length - 1], i = n[n.length - 2];
|
|
55122
|
-
return PPt(r, i) && (
|
|
55122
|
+
return PPt(r, i) && (Vn(typeof r.data == "string", "expected string"), Vn(typeof i.data == "string", "expected string"), i.data += r.data, n.pop()), TOe(kOe(n), e);
|
|
55123
55123
|
}
|
|
55124
55124
|
function PPt(t, e) {
|
|
55125
55125
|
const n = t.mimetype === "text/plain" && e.mimetype === "text/plain";
|
|
@@ -55137,7 +55137,7 @@ function kOe(t) {
|
|
|
55137
55137
|
return e;
|
|
55138
55138
|
const r = /\r[^\n]/g;
|
|
55139
55139
|
let i = n.data;
|
|
55140
|
-
|
|
55140
|
+
Vn(typeof i == "string", "expected string");
|
|
55141
55141
|
let a = i.search(r);
|
|
55142
55142
|
for (; a > -1; ) {
|
|
55143
55143
|
let o = -1;
|
|
@@ -55159,7 +55159,7 @@ function TOe(t, e) {
|
|
|
55159
55159
|
let n = 0, r;
|
|
55160
55160
|
for (r = t.length - 1; r >= 0 && n < e; r--) {
|
|
55161
55161
|
const s = t[r];
|
|
55162
|
-
s.mimetype === "text/plain" ? (
|
|
55162
|
+
s.mimetype === "text/plain" ? (Vn(typeof s.data == "string", "expected string"), n += s.data.split(`
|
|
55163
55163
|
`).length) : n++;
|
|
55164
55164
|
}
|
|
55165
55165
|
if (n < e)
|
|
@@ -55172,7 +55172,7 @@ function TOe(t, e) {
|
|
|
55172
55172
|
timestamp: -1
|
|
55173
55173
|
}, o = t[i];
|
|
55174
55174
|
if (o.mimetype === "text/plain") {
|
|
55175
|
-
|
|
55175
|
+
Vn(typeof o.data == "string", "expected string");
|
|
55176
55176
|
const s = o.data.split(`
|
|
55177
55177
|
`), l = n - s.length, c = e - l;
|
|
55178
55178
|
return [a, {
|
|
@@ -55221,7 +55221,7 @@ function eTe(t) {
|
|
|
55221
55221
|
if (t == null || t.mimetype !== "text/html" || t.data == null)
|
|
55222
55222
|
return null;
|
|
55223
55223
|
try {
|
|
55224
|
-
return
|
|
55224
|
+
return Vn(typeof t.data == "string", "expected string"), TPt(t.data);
|
|
55225
55225
|
} catch {
|
|
55226
55226
|
return He.error("Failed to parse outline"), null;
|
|
55227
55227
|
}
|
|
@@ -55323,7 +55323,7 @@ function CPt(t, e) {
|
|
|
55323
55323
|
}
|
|
55324
55324
|
n.output = e.output ?? n.output, n.staleInputs = e.stale_inputs ?? n.staleInputs, n.status = e.status ?? n.status, n.serialization = e.serialization;
|
|
55325
55325
|
let r = !1;
|
|
55326
|
-
e.output != null && e.output.mimetype === "application/vnd.marimo+error" && ((n.status === "queued" || n.status === "running") && (n.status = "idle"),
|
|
55326
|
+
e.output != null && e.output.mimetype === "application/vnd.marimo+error" && ((n.status === "queued" || n.status === "running") && (n.status = "idle"), Vn(Array.isArray(e.output.data), "Expected error output data to be an array"), e.output.data.some((l) => l.type === "interruption") ? (n.interrupted = !0, r = !0) : e.output.data.some((l) => l.type.includes("ancestor")) ? n.stopped = !0 : n.errored = !0);
|
|
55327
55327
|
let i = t.consoleOutputs;
|
|
55328
55328
|
r && (n.debuggerActive = !1, i = i.map((l) => l.channel === "stdin" ? {
|
|
55329
55329
|
...l,
|
|
@@ -55626,7 +55626,7 @@ function LK(t, e, n = LPt, r) {
|
|
|
55626
55626
|
);
|
|
55627
55627
|
}
|
|
55628
55628
|
function FPt() {
|
|
55629
|
-
return
|
|
55629
|
+
return Vn(window.__MARIMO_STATIC__ !== void 0, "Not a static notebook"), window.__MARIMO_STATIC__.notebookState;
|
|
55630
55630
|
}
|
|
55631
55631
|
function PD() {
|
|
55632
55632
|
return (window == null ? void 0 : window.__MARIMO_STATIC__) !== void 0;
|
|
@@ -56913,7 +56913,7 @@ function r5t(t) {
|
|
|
56913
56913
|
const e = [], n = [t.console].filter(Boolean).flat();
|
|
56914
56914
|
for (const i of n)
|
|
56915
56915
|
if (i.mimetype === "text/plain") {
|
|
56916
|
-
|
|
56916
|
+
Vn(typeof i.data == "string", "expected string");
|
|
56917
56917
|
const a = i.channel === "stderr" || i.channel === "marimo-error";
|
|
56918
56918
|
switch (i.channel) {
|
|
56919
56919
|
case "stdout":
|
|
@@ -57499,7 +57499,7 @@ const zTe = (t, e, n) => YT(t, (r) => {
|
|
|
57499
57499
|
if (t.readOnly)
|
|
57500
57500
|
return !1;
|
|
57501
57501
|
let n = t.changeByRange((r) => ({
|
|
57502
|
-
changes: { from: r.from, to: r.to, insert:
|
|
57502
|
+
changes: { from: r.from, to: r.to, insert: In.of(["", ""]) },
|
|
57503
57503
|
range: Me.cursor(r.from)
|
|
57504
57504
|
}));
|
|
57505
57505
|
return e(t.update(n, { scrollIntoView: !0, userEvent: "input" })), !0;
|
|
@@ -57597,7 +57597,7 @@ function UTe(t) {
|
|
|
57597
57597
|
l ? { from: a, to: o } = l : a > s.from && a < s.from + 100 && !/\S/.test(s.text.slice(0, a)) && (a = s.from);
|
|
57598
57598
|
let d = ["", Z5(e, u)];
|
|
57599
57599
|
return l && d.push(Z5(e, c.lineIndent(s.from, -1))), {
|
|
57600
|
-
changes: { from: a, to: o, insert:
|
|
57600
|
+
changes: { from: a, to: o, insert: In.of(d) },
|
|
57601
57601
|
range: Me.cursor(a + 1 + d[1].length)
|
|
57602
57602
|
};
|
|
57603
57603
|
});
|
|
@@ -57790,7 +57790,7 @@ async function Skt(t) {
|
|
|
57790
57790
|
const {
|
|
57791
57791
|
formatDialect: e,
|
|
57792
57792
|
duckdb: n
|
|
57793
|
-
} = await import("./index-
|
|
57793
|
+
} = await import("./index-CQCZJCVT.js"), r = t.state.field(BD), i = Km(t.state);
|
|
57794
57794
|
if (r.type !== "sql") {
|
|
57795
57795
|
He.error("Language adapter is not SQL");
|
|
57796
57796
|
return;
|
|
@@ -60394,7 +60394,7 @@ function r_e(t) {
|
|
|
60394
60394
|
let e = cJ.parse(t);
|
|
60395
60395
|
return (n, r, i, a) => {
|
|
60396
60396
|
let { text: o, ranges: s } = e.instantiate(n.state, i), { main: l } = n.state.selection, c = {
|
|
60397
|
-
changes: { from: i, to: a == l.from ? l.to : a, insert:
|
|
60397
|
+
changes: { from: i, to: a == l.from ? l.to : a, insert: In.of(o) },
|
|
60398
60398
|
scrollIntoView: !0,
|
|
60399
60399
|
annotations: r ? [aJ.of(r), $i.userEvent.of("input.complete")] : void 0
|
|
60400
60400
|
};
|
|
@@ -62168,8 +62168,8 @@ function tRt() {
|
|
|
62168
62168
|
);
|
|
62169
62169
|
return i1.default = i, i1;
|
|
62170
62170
|
}
|
|
62171
|
-
var
|
|
62172
|
-
typeof global < "u" && global || {},
|
|
62171
|
+
var cl = {}, Io = typeof globalThis < "u" && globalThis || typeof self < "u" && self || // eslint-disable-next-line no-undef
|
|
62172
|
+
typeof global < "u" && global || {}, Ns = {
|
|
62173
62173
|
searchParams: "URLSearchParams" in Io,
|
|
62174
62174
|
iterable: "Symbol" in Io && "iterator" in Symbol,
|
|
62175
62175
|
blob: "FileReader" in Io && "Blob" in Io && function() {
|
|
@@ -62185,7 +62185,7 @@ typeof global < "u" && global || {}, Us = {
|
|
|
62185
62185
|
function nRt(t) {
|
|
62186
62186
|
return t && DataView.prototype.isPrototypeOf(t);
|
|
62187
62187
|
}
|
|
62188
|
-
if (
|
|
62188
|
+
if (Ns.arrayBuffer)
|
|
62189
62189
|
var rRt = [
|
|
62190
62190
|
"[object Int8Array]",
|
|
62191
62191
|
"[object Uint8Array]",
|
|
@@ -62214,7 +62214,7 @@ function gJ(t) {
|
|
|
62214
62214
|
return { done: n === void 0, value: n };
|
|
62215
62215
|
}
|
|
62216
62216
|
};
|
|
62217
|
-
return
|
|
62217
|
+
return Ns.iterable && (e[Symbol.iterator] = function() {
|
|
62218
62218
|
return e;
|
|
62219
62219
|
}), e;
|
|
62220
62220
|
}
|
|
@@ -62268,7 +62268,7 @@ no.prototype.entries = function() {
|
|
|
62268
62268
|
t.push([n, e]);
|
|
62269
62269
|
}), gJ(t);
|
|
62270
62270
|
};
|
|
62271
|
-
|
|
62271
|
+
Ns.iterable && (no.prototype[Symbol.iterator] = no.prototype.entries);
|
|
62272
62272
|
function EN(t) {
|
|
62273
62273
|
if (!t._noBody) {
|
|
62274
62274
|
if (t.bodyUsed)
|
|
@@ -62306,8 +62306,8 @@ function Che(t) {
|
|
|
62306
62306
|
}
|
|
62307
62307
|
function $_e() {
|
|
62308
62308
|
return this.bodyUsed = !1, this._initBody = function(t) {
|
|
62309
|
-
this.bodyUsed = this.bodyUsed, this._bodyInit = t, t ? typeof t == "string" ? this._bodyText = t :
|
|
62310
|
-
},
|
|
62309
|
+
this.bodyUsed = this.bodyUsed, this._bodyInit = t, t ? typeof t == "string" ? this._bodyText = t : Ns.blob && Blob.prototype.isPrototypeOf(t) ? this._bodyBlob = t : Ns.formData && FormData.prototype.isPrototypeOf(t) ? this._bodyFormData = t : Ns.searchParams && URLSearchParams.prototype.isPrototypeOf(t) ? this._bodyText = t.toString() : Ns.arrayBuffer && Ns.blob && nRt(t) ? (this._bodyArrayBuffer = Che(t.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : Ns.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(t) || iRt(t)) ? this._bodyArrayBuffer = Che(t) : this._bodyText = t = Object.prototype.toString.call(t) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof t == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : Ns.searchParams && URLSearchParams.prototype.isPrototypeOf(t) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
|
|
62310
|
+
}, Ns.blob && (this.blob = function() {
|
|
62311
62311
|
var t = EN(this);
|
|
62312
62312
|
if (t)
|
|
62313
62313
|
return t;
|
|
@@ -62328,7 +62328,7 @@ function $_e() {
|
|
|
62328
62328
|
)
|
|
62329
62329
|
) : Promise.resolve(this._bodyArrayBuffer));
|
|
62330
62330
|
} else {
|
|
62331
|
-
if (
|
|
62331
|
+
if (Ns.blob)
|
|
62332
62332
|
return this.blob().then(aRt);
|
|
62333
62333
|
throw new Error("could not read as ArrayBuffer");
|
|
62334
62334
|
}
|
|
@@ -62343,7 +62343,7 @@ function $_e() {
|
|
|
62343
62343
|
if (this._bodyFormData)
|
|
62344
62344
|
throw new Error("could not read FormData body as text");
|
|
62345
62345
|
return Promise.resolve(this._bodyText);
|
|
62346
|
-
},
|
|
62346
|
+
}, Ns.formData && (this.formData = function() {
|
|
62347
62347
|
return this.text().then(uRt);
|
|
62348
62348
|
}), this.json = function() {
|
|
62349
62349
|
return this.text().then(JSON.parse);
|
|
@@ -62488,7 +62488,7 @@ function b_e(t, e) {
|
|
|
62488
62488
|
return c;
|
|
62489
62489
|
}
|
|
62490
62490
|
}
|
|
62491
|
-
if (a.open(i.method, s(i.url), !0), i.credentials === "include" ? a.withCredentials = !0 : i.credentials === "omit" && (a.withCredentials = !1), "responseType" in a && (
|
|
62491
|
+
if (a.open(i.method, s(i.url), !0), i.credentials === "include" ? a.withCredentials = !0 : i.credentials === "omit" && (a.withCredentials = !1), "responseType" in a && (Ns.blob ? a.responseType = "blob" : Ns.arrayBuffer && (a.responseType = "arraybuffer")), e && typeof e.headers == "object" && !(e.headers instanceof no || Io.Headers && e.headers instanceof Io.Headers)) {
|
|
62492
62492
|
var l = [];
|
|
62493
62493
|
Object.getOwnPropertyNames(e.headers).forEach(function(c) {
|
|
62494
62494
|
l.push(Hw(c)), a.setRequestHeader(c, mJ(e.headers[c]));
|
|
@@ -62512,9 +62512,9 @@ function ORt() {
|
|
|
62512
62512
|
}
|
|
62513
62513
|
var Ehe;
|
|
62514
62514
|
function hRt() {
|
|
62515
|
-
if (Ehe) return
|
|
62515
|
+
if (Ehe) return cl;
|
|
62516
62516
|
Ehe = 1;
|
|
62517
|
-
var t =
|
|
62517
|
+
var t = cl && cl.__extends || /* @__PURE__ */ function() {
|
|
62518
62518
|
var c = function(u, d) {
|
|
62519
62519
|
return c = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(O, p) {
|
|
62520
62520
|
O.__proto__ = p;
|
|
@@ -62529,7 +62529,7 @@ function hRt() {
|
|
|
62529
62529
|
}
|
|
62530
62530
|
u.prototype = d === null ? Object.create(d) : (O.prototype = d.prototype, new O());
|
|
62531
62531
|
};
|
|
62532
|
-
}(), e =
|
|
62532
|
+
}(), e = cl && cl.__awaiter || function(c, u, d, O) {
|
|
62533
62533
|
function p(g) {
|
|
62534
62534
|
return g instanceof d ? g : new d(function(y) {
|
|
62535
62535
|
y(g);
|
|
@@ -62555,7 +62555,7 @@ function hRt() {
|
|
|
62555
62555
|
}
|
|
62556
62556
|
x((O = O.apply(c, u || [])).next());
|
|
62557
62557
|
});
|
|
62558
|
-
}, n =
|
|
62558
|
+
}, n = cl && cl.__generator || function(c, u) {
|
|
62559
62559
|
var d = { label: 0, sent: function() {
|
|
62560
62560
|
if (g[0] & 1) throw g[1];
|
|
62561
62561
|
return g[1];
|
|
@@ -62614,10 +62614,10 @@ function hRt() {
|
|
|
62614
62614
|
if (x[0] & 5) throw x[1];
|
|
62615
62615
|
return { value: x[0] ? x[1] : void 0, done: !0 };
|
|
62616
62616
|
}
|
|
62617
|
-
}, r =
|
|
62617
|
+
}, r = cl && cl.__importDefault || function(c) {
|
|
62618
62618
|
return c && c.__esModule ? c : { default: c };
|
|
62619
62619
|
};
|
|
62620
|
-
Object.defineProperty(
|
|
62620
|
+
Object.defineProperty(cl, "__esModule", { value: !0 }), cl.HTTPTransport = void 0;
|
|
62621
62621
|
var i = r(ORt()), a = BT(), o = HT(), s = FT(), l = (
|
|
62622
62622
|
/** @class */
|
|
62623
62623
|
function(c) {
|
|
@@ -62664,7 +62664,7 @@ function hRt() {
|
|
|
62664
62664
|
}, u;
|
|
62665
62665
|
}(a.Transport)
|
|
62666
62666
|
);
|
|
62667
|
-
return
|
|
62667
|
+
return cl.HTTPTransport = l, cl.default = l, cl;
|
|
62668
62668
|
}
|
|
62669
62669
|
var Nc = {}, E1 = null;
|
|
62670
62670
|
typeof WebSocket < "u" ? E1 = WebSocket : typeof MozWebSocket < "u" ? E1 = MozWebSocket : typeof global < "u" ? E1 = global.WebSocket || global.MozWebSocket : typeof window < "u" ? E1 = window.WebSocket || window.MozWebSocket : typeof self < "u" && (E1 = self.WebSocket || self.MozWebSocket);
|
|
@@ -64618,7 +64618,7 @@ function TRt() {
|
|
|
64618
64618
|
}));
|
|
64619
64619
|
}
|
|
64620
64620
|
function Yt(de) {
|
|
64621
|
-
r.Message.isRequest(de) ? kr(de) : r.Message.isNotification(de) ? qn(de) : r.Message.isResponse(de) ?
|
|
64621
|
+
r.Message.isRequest(de) ? kr(de) : r.Message.isNotification(de) ? qn(de) : r.Message.isResponse(de) ? Yn(de) : Mn(de);
|
|
64622
64622
|
}
|
|
64623
64623
|
function yn() {
|
|
64624
64624
|
if (H.size === 0)
|
|
@@ -64724,7 +64724,7 @@ function TRt() {
|
|
|
64724
64724
|
} else
|
|
64725
64725
|
Ve(new r.ResponseError(r.ErrorCodes.MethodNotFound, `Unhandled method ${de.method}`), de.method, Cn);
|
|
64726
64726
|
}
|
|
64727
|
-
function
|
|
64727
|
+
function Yn(de) {
|
|
64728
64728
|
if (!gt())
|
|
64729
64729
|
if (de.id === null)
|
|
64730
64730
|
de.error ? N.error(`Received response message without id: Error is:
|
|
@@ -64776,7 +64776,7 @@ ${JSON.stringify(de.error, void 0, 4)}`) : N.error("Received response message wi
|
|
|
64776
64776
|
else
|
|
64777
64777
|
se.fire(de);
|
|
64778
64778
|
}
|
|
64779
|
-
function
|
|
64779
|
+
function Mn(de) {
|
|
64780
64780
|
if (!de) {
|
|
64781
64781
|
N.error("Received empty message.");
|
|
64782
64782
|
return;
|
|
@@ -67679,18 +67679,18 @@ function t4t() {
|
|
|
67679
67679
|
(function(me) {
|
|
67680
67680
|
me.method = "codeAction/resolve", me.messageDirection = e.MessageDirection.clientToServer, me.type = new e.ProtocolRequestType(me.method);
|
|
67681
67681
|
})(kr || (t.CodeActionResolveRequest = kr = {}));
|
|
67682
|
-
var
|
|
67682
|
+
var Yn;
|
|
67683
67683
|
(function(me) {
|
|
67684
67684
|
me.method = "workspace/symbol", me.messageDirection = e.MessageDirection.clientToServer, me.type = new e.ProtocolRequestType(me.method);
|
|
67685
|
-
})(
|
|
67685
|
+
})(Yn || (t.WorkspaceSymbolRequest = Yn = {}));
|
|
67686
67686
|
var qn;
|
|
67687
67687
|
(function(me) {
|
|
67688
67688
|
me.method = "workspaceSymbol/resolve", me.messageDirection = e.MessageDirection.clientToServer, me.type = new e.ProtocolRequestType(me.method);
|
|
67689
67689
|
})(qn || (t.WorkspaceSymbolResolveRequest = qn = {}));
|
|
67690
|
-
var
|
|
67690
|
+
var Mn;
|
|
67691
67691
|
(function(me) {
|
|
67692
67692
|
me.method = "textDocument/codeLens", me.messageDirection = e.MessageDirection.clientToServer, me.type = new e.ProtocolRequestType(me.method);
|
|
67693
|
-
})(
|
|
67693
|
+
})(Mn || (t.CodeLensRequest = Mn = {}));
|
|
67694
67694
|
var ti;
|
|
67695
67695
|
(function(me) {
|
|
67696
67696
|
me.method = "codeLens/resolve", me.messageDirection = e.MessageDirection.clientToServer, me.type = new e.ProtocolRequestType(me.method);
|
|
@@ -67843,13 +67843,13 @@ function Mr(t, e = "") {
|
|
|
67843
67843
|
const r = {
|
|
67844
67844
|
replace: (i, a) => {
|
|
67845
67845
|
let o = typeof a == "string" ? a : a.source;
|
|
67846
|
-
return o = o.replace(
|
|
67846
|
+
return o = o.replace(Zs.caret, "$1"), n = n.replace(i, o), r;
|
|
67847
67847
|
},
|
|
67848
67848
|
getRegex: () => new RegExp(n, e)
|
|
67849
67849
|
};
|
|
67850
67850
|
return r;
|
|
67851
67851
|
}
|
|
67852
|
-
const
|
|
67852
|
+
const Zs = {
|
|
67853
67853
|
codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
|
|
67854
67854
|
outputLinkReplace: /\\([\[\]])/g,
|
|
67855
67855
|
indentCodeCompensation: /^(\s+)(?:```)/,
|
|
@@ -67990,15 +67990,15 @@ const Gs = {
|
|
|
67990
67990
|
}, Xpe = (t) => A4t[t];
|
|
67991
67991
|
function hf(t, e) {
|
|
67992
67992
|
if (e) {
|
|
67993
|
-
if (
|
|
67994
|
-
return t.replace(
|
|
67995
|
-
} else if (
|
|
67996
|
-
return t.replace(
|
|
67993
|
+
if (Zs.escapeTest.test(t))
|
|
67994
|
+
return t.replace(Zs.escapeReplace, Xpe);
|
|
67995
|
+
} else if (Zs.escapeTestNoEncode.test(t))
|
|
67996
|
+
return t.replace(Zs.escapeReplaceNoEncode, Xpe);
|
|
67997
67997
|
return t;
|
|
67998
67998
|
}
|
|
67999
67999
|
function Epe(t) {
|
|
68000
68000
|
try {
|
|
68001
|
-
t = encodeURI(t).replace(
|
|
68001
|
+
t = encodeURI(t).replace(Zs.percentDecode, "%");
|
|
68002
68002
|
} catch {
|
|
68003
68003
|
return null;
|
|
68004
68004
|
}
|
|
@@ -68006,12 +68006,12 @@ function Epe(t) {
|
|
|
68006
68006
|
}
|
|
68007
68007
|
function zpe(t, e) {
|
|
68008
68008
|
var a;
|
|
68009
|
-
const n = t.replace(
|
|
68009
|
+
const n = t.replace(Zs.findPipe, (o, s, l) => {
|
|
68010
68010
|
let c = !1, u = s;
|
|
68011
68011
|
for (; --u >= 0 && l[u] === "\\"; )
|
|
68012
68012
|
c = !c;
|
|
68013
68013
|
return c ? "|" : " |";
|
|
68014
|
-
}), r = n.split(
|
|
68014
|
+
}), r = n.split(Zs.splitPipe);
|
|
68015
68015
|
let i = 0;
|
|
68016
68016
|
if (r[0].trim() || r.shift(), r.length > 0 && !((a = r.at(-1)) != null && a.trim()) && r.pop(), e)
|
|
68017
68017
|
if (r.length > e)
|
|
@@ -68020,7 +68020,7 @@ function zpe(t, e) {
|
|
|
68020
68020
|
for (; r.length < e; )
|
|
68021
68021
|
r.push("");
|
|
68022
68022
|
for (; i < r.length; i++)
|
|
68023
|
-
r[i] = r[i].trim().replace(
|
|
68023
|
+
r[i] = r[i].trim().replace(Zs.slashPipe, "|");
|
|
68024
68024
|
return r;
|
|
68025
68025
|
}
|
|
68026
68026
|
function HQ(t, e, n) {
|
|
@@ -68572,7 +68572,7 @@ class lu {
|
|
|
68572
68572
|
top: !0
|
|
68573
68573
|
};
|
|
68574
68574
|
const n = {
|
|
68575
|
-
other:
|
|
68575
|
+
other: Zs,
|
|
68576
68576
|
block: J3.normal,
|
|
68577
68577
|
inline: BQ.normal
|
|
68578
68578
|
};
|
|
@@ -68603,7 +68603,7 @@ class lu {
|
|
|
68603
68603
|
* Preprocessing
|
|
68604
68604
|
*/
|
|
68605
68605
|
lex(e) {
|
|
68606
|
-
e = e.replace(
|
|
68606
|
+
e = e.replace(Zs.carriageReturn, `
|
|
68607
68607
|
`), this.blockTokens(e, this.tokens);
|
|
68608
68608
|
for (let n = 0; n < this.inlineQueue.length; n++) {
|
|
68609
68609
|
const r = this.inlineQueue[n];
|
|
@@ -68613,7 +68613,7 @@ class lu {
|
|
|
68613
68613
|
}
|
|
68614
68614
|
blockTokens(e, n = [], r = !1) {
|
|
68615
68615
|
var i, a, o;
|
|
68616
|
-
for (this.options.pedantic && (e = e.replace(
|
|
68616
|
+
for (this.options.pedantic && (e = e.replace(Zs.tabCharGlobal, " ").replace(Zs.spaceLine, "")); e; ) {
|
|
68617
68617
|
let s;
|
|
68618
68618
|
if ((a = (i = this.options.extensions) == null ? void 0 : i.block) != null && a.some((c) => (s = c.call({ lexer: this }, e, n)) ? (e = e.substring(s.raw.length), n.push(s), !0) : !1))
|
|
68619
68619
|
continue;
|
|
@@ -68816,7 +68816,7 @@ class _z {
|
|
|
68816
68816
|
}
|
|
68817
68817
|
code({ text: e, lang: n, escaped: r }) {
|
|
68818
68818
|
var o;
|
|
68819
|
-
const i = (o = (n || "").match(
|
|
68819
|
+
const i = (o = (n || "").match(Zs.notSpaceStart)) == null ? void 0 : o[0], a = e.replace(Zs.endingNewline, "") + `
|
|
68820
68820
|
`;
|
|
68821
68821
|
return i ? '<pre><code class="language-' + hf(i) + '">' + (r ? a : hf(a, !0)) + `</code></pre>
|
|
68822
68822
|
` : "<pre><code>" + (r ? a : hf(a, !0)) + `</code></pre>
|
|
@@ -70510,7 +70510,7 @@ function Xz(t, e) {
|
|
|
70510
70510
|
character: t.character
|
|
70511
70511
|
};
|
|
70512
70512
|
}
|
|
70513
|
-
const
|
|
70513
|
+
const Ws = {
|
|
70514
70514
|
PREFIX: "file:///",
|
|
70515
70515
|
of(t) {
|
|
70516
70516
|
return `${this.PREFIX}${t}`;
|
|
@@ -70519,7 +70519,7 @@ const dl = {
|
|
|
70519
70519
|
return t.startsWith(this.PREFIX);
|
|
70520
70520
|
},
|
|
70521
70521
|
parse(t) {
|
|
70522
|
-
return
|
|
70522
|
+
return Vn(this.is(t), `Invalid cell document URI: ${t}`), t.slice(this.PREFIX.length);
|
|
70523
70523
|
}
|
|
70524
70524
|
};
|
|
70525
70525
|
class A_e {
|
|
@@ -70552,16 +70552,16 @@ function u3t() {
|
|
|
70552
70552
|
class ck {
|
|
70553
70553
|
constructor(e, n) {
|
|
70554
70554
|
this.documentUri = void 0, this.documentVersion = 0, this.client = void 0, this.versionToCellNumberAndVersion = new A_e(20), this.documentUri = u3t(), this.client = e, this.patchProcessNotification(), this.initializePromise.then(() => {
|
|
70555
|
-
|
|
70555
|
+
Vn("notify" in this.client, "notify is not a method on the client"), this.client.notify("workspace/didChangeConfiguration", {
|
|
70556
70556
|
settings: n
|
|
70557
70557
|
});
|
|
70558
70558
|
});
|
|
70559
70559
|
}
|
|
70560
70560
|
textDocumentDefinition(e) {
|
|
70561
70561
|
const n = e.textDocument.uri;
|
|
70562
|
-
if (!
|
|
70562
|
+
if (!Ws.is(n))
|
|
70563
70563
|
return He.warn("Invalid cell document URI", n), Promise.resolve(null);
|
|
70564
|
-
const r =
|
|
70564
|
+
const r = Ws.parse(n), i = [...this.versionToCellNumberAndVersion.values()].find((s) => s.cellDocumentUri === n);
|
|
70565
70565
|
if (!i)
|
|
70566
70566
|
return He.warn("No lens found for cell", r), Promise.resolve(null);
|
|
70567
70567
|
const {
|
|
@@ -70577,9 +70577,9 @@ class ck {
|
|
|
70577
70577
|
}
|
|
70578
70578
|
async textDocumentSignatureHelp(e) {
|
|
70579
70579
|
const n = e.textDocument.uri;
|
|
70580
|
-
if (!
|
|
70580
|
+
if (!Ws.is(n))
|
|
70581
70581
|
return He.warn("Invalid cell document URI", n), null;
|
|
70582
|
-
const r =
|
|
70582
|
+
const r = Ws.parse(n), i = [...this.versionToCellNumberAndVersion.values()].find((l) => l.cellDocumentUri === n);
|
|
70583
70583
|
if (!i)
|
|
70584
70584
|
return He.warn("No lens found for cell", r), null;
|
|
70585
70585
|
const {
|
|
@@ -70607,9 +70607,9 @@ class ck {
|
|
|
70607
70607
|
async textDocumentRename(e) {
|
|
70608
70608
|
var O;
|
|
70609
70609
|
const n = e.textDocument.uri;
|
|
70610
|
-
if (!
|
|
70610
|
+
if (!Ws.is(n))
|
|
70611
70611
|
return He.warn("Invalid cell document URI", n), null;
|
|
70612
|
-
const r =
|
|
70612
|
+
const r = Ws.parse(n), i = [...this.versionToCellNumberAndVersion.keys()].at(-1);
|
|
70613
70613
|
if (i === void 0)
|
|
70614
70614
|
return He.warn("No lens found for cell", n), null;
|
|
70615
70615
|
const {
|
|
@@ -70632,11 +70632,11 @@ class ck {
|
|
|
70632
70632
|
const u = a.getEditsForNewText(c.newText), d = new Map(u.map((p) => [p.cellId, p.text]));
|
|
70633
70633
|
for (const p of this.client.plugins) {
|
|
70634
70634
|
const g = p.documentUri;
|
|
70635
|
-
if (!
|
|
70635
|
+
if (!Ws.is(g)) {
|
|
70636
70636
|
He.warn("Invalid cell document URI", g);
|
|
70637
70637
|
continue;
|
|
70638
70638
|
}
|
|
70639
|
-
const y =
|
|
70639
|
+
const y = Ws.parse(g), $ = d.get(y);
|
|
70640
70640
|
if ($ == null) {
|
|
70641
70641
|
He.warn("No new code for cell", y);
|
|
70642
70642
|
continue;
|
|
@@ -70670,14 +70670,14 @@ class ck {
|
|
|
70670
70670
|
}
|
|
70671
70671
|
async textDocumentPrepareRename(e) {
|
|
70672
70672
|
const n = e.textDocument.uri;
|
|
70673
|
-
if (!
|
|
70673
|
+
if (!Ws.is(n))
|
|
70674
70674
|
return He.warn("Invalid cell document URI", n), null;
|
|
70675
70675
|
const r = [...this.versionToCellNumberAndVersion.keys()].at(-1);
|
|
70676
70676
|
if (!r)
|
|
70677
70677
|
return He.warn("No lens found for cell", n), null;
|
|
70678
70678
|
const {
|
|
70679
70679
|
lens: i
|
|
70680
|
-
} = this.versionToCellNumberAndVersion.get(r), a =
|
|
70680
|
+
} = this.versionToCellNumberAndVersion.get(r), a = Ws.parse(n);
|
|
70681
70681
|
return this.client.textDocumentPrepareRename({
|
|
70682
70682
|
...e,
|
|
70683
70683
|
textDocument: {
|
|
@@ -70737,7 +70737,7 @@ class ck {
|
|
|
70737
70737
|
cellDocumentUri: n,
|
|
70738
70738
|
version: o,
|
|
70739
70739
|
lens: a
|
|
70740
|
-
}), ck.SEEN_CELL_DOCUMENT_URIS.add(n);
|
|
70740
|
+
}), Vn(Ws.is(n), "Execpted URI to be CellDocumentUri"), ck.SEEN_CELL_DOCUMENT_URIS.add(n);
|
|
70741
70741
|
const s = await this.client.textDocumentDidOpen({
|
|
70742
70742
|
textDocument: {
|
|
70743
70743
|
languageId: e.textDocument.languageId,
|
|
@@ -70789,7 +70789,7 @@ class ck {
|
|
|
70789
70789
|
const {
|
|
70790
70790
|
lens: i,
|
|
70791
70791
|
cellDocumentUri: a
|
|
70792
|
-
} = r, o =
|
|
70792
|
+
} = r, o = Ws.parse(a), s = await this.client.textDocumentHover({
|
|
70793
70793
|
...e,
|
|
70794
70794
|
textDocument: {
|
|
70795
70795
|
uri: this.documentUri
|
|
@@ -70813,7 +70813,7 @@ ${s.contents.value}
|
|
|
70813
70813
|
const {
|
|
70814
70814
|
lens: i,
|
|
70815
70815
|
cellDocumentUri: a
|
|
70816
|
-
} = r, o =
|
|
70816
|
+
} = r, o = Ws.parse(a);
|
|
70817
70817
|
return this.client.textDocumentCompletion({
|
|
70818
70818
|
...e,
|
|
70819
70819
|
textDocument: {
|
|
@@ -70827,51 +70827,53 @@ ${s.contents.value}
|
|
|
70827
70827
|
* and shift ranges back to the local cell coordinates.
|
|
70828
70828
|
*/
|
|
70829
70829
|
patchProcessNotification() {
|
|
70830
|
-
|
|
70830
|
+
Vn("processNotification" in this.client, "processNotification is not a method on the client");
|
|
70831
70831
|
const e = this.client.processNotification.bind(this.client), n = (r) => {
|
|
70832
70832
|
if (r.method === "textDocument/publishDiagnostics") {
|
|
70833
70833
|
He.debug("[lsp] handling diagnostics", r);
|
|
70834
70834
|
const i = r.params.version || 0, a = this.versionToCellNumberAndVersion.get(i);
|
|
70835
70835
|
if (!a)
|
|
70836
70836
|
return He.warn("[lsp] missing payload for version", i), e(r);
|
|
70837
|
-
const o = r.params.diagnostics
|
|
70838
|
-
if (o.length === 0) {
|
|
70839
|
-
He.debug("[lsp] clearing diagnostics");
|
|
70840
|
-
for (const u of ck.SEEN_CELL_DOCUMENT_URIS)
|
|
70841
|
-
e({
|
|
70842
|
-
method: "textDocument/publishDiagnostics",
|
|
70843
|
-
params: {
|
|
70844
|
-
uri: u,
|
|
70845
|
-
diagnostics: []
|
|
70846
|
-
}
|
|
70847
|
-
});
|
|
70848
|
-
return;
|
|
70849
|
-
}
|
|
70850
|
-
const {
|
|
70837
|
+
const o = r.params.diagnostics, {
|
|
70851
70838
|
lens: s,
|
|
70852
70839
|
version: l
|
|
70853
70840
|
} = a, c = /* @__PURE__ */ new Map();
|
|
70854
|
-
for (const
|
|
70855
|
-
for (const
|
|
70856
|
-
if (s.isInRange(
|
|
70857
|
-
c.has(
|
|
70858
|
-
const
|
|
70859
|
-
...
|
|
70860
|
-
range: s.reverseRange(
|
|
70841
|
+
for (const d of o)
|
|
70842
|
+
for (const O of s.cellIds)
|
|
70843
|
+
if (s.isInRange(d.range, O)) {
|
|
70844
|
+
c.has(O) || c.set(O, []);
|
|
70845
|
+
const p = {
|
|
70846
|
+
...d,
|
|
70847
|
+
range: s.reverseRange(d.range, O)
|
|
70861
70848
|
};
|
|
70862
|
-
c.get(
|
|
70849
|
+
c.get(O).push(p);
|
|
70863
70850
|
break;
|
|
70864
70851
|
}
|
|
70865
|
-
|
|
70866
|
-
|
|
70852
|
+
const u = new Set(ck.SEEN_CELL_DOCUMENT_URIS);
|
|
70853
|
+
for (const [d, O] of c.entries()) {
|
|
70854
|
+
He.debug("[lsp] diagnostics for cell", d, O);
|
|
70855
|
+
const p = Ws.of(d);
|
|
70856
|
+
u.delete(p), e({
|
|
70867
70857
|
...r,
|
|
70868
70858
|
params: {
|
|
70869
70859
|
...r.params,
|
|
70870
|
-
uri:
|
|
70860
|
+
uri: p,
|
|
70871
70861
|
version: l,
|
|
70872
|
-
diagnostics:
|
|
70862
|
+
diagnostics: O
|
|
70873
70863
|
}
|
|
70874
70864
|
});
|
|
70865
|
+
}
|
|
70866
|
+
if (u.size > 0) {
|
|
70867
|
+
He.debug("[lsp] clearing diagnostics", u);
|
|
70868
|
+
for (const d of u)
|
|
70869
|
+
e({
|
|
70870
|
+
method: "textDocument/publishDiagnostics",
|
|
70871
|
+
params: {
|
|
70872
|
+
uri: d,
|
|
70873
|
+
diagnostics: []
|
|
70874
|
+
}
|
|
70875
|
+
});
|
|
70876
|
+
}
|
|
70875
70877
|
return;
|
|
70876
70878
|
}
|
|
70877
70879
|
return e(r);
|
|
@@ -71074,8 +71076,11 @@ const v3t = $$(() => new AG.WebSocketTransport(o3t("/lsp/pylsp"))), $3t = $$((t)
|
|
|
71074
71076
|
// Module level import not at top of file
|
|
71075
71077
|
], a = [
|
|
71076
71078
|
// Even ruff documentation of this rule explains it is not useful in notebooks
|
|
71077
|
-
"B018"
|
|
71079
|
+
"B018",
|
|
71078
71080
|
// Useless expression
|
|
71081
|
+
// isort
|
|
71082
|
+
"I001"
|
|
71083
|
+
// Import block is un-sorted or un-formatted
|
|
71079
71084
|
], o = {
|
|
71080
71085
|
pylsp: {
|
|
71081
71086
|
plugins: {
|
|
@@ -71186,7 +71191,7 @@ class b3t {
|
|
|
71186
71191
|
path: O.uri.replace("file://", "")
|
|
71187
71192
|
});
|
|
71188
71193
|
}
|
|
71189
|
-
}), P_e.of(
|
|
71194
|
+
}), P_e.of(Ws.of(e))];
|
|
71190
71195
|
}
|
|
71191
71196
|
return Bw({
|
|
71192
71197
|
...s,
|
|
@@ -75546,7 +75551,7 @@ const e4e = [
|
|
|
75546
75551
|
name: "Go",
|
|
75547
75552
|
extensions: ["go"],
|
|
75548
75553
|
load() {
|
|
75549
|
-
return import("./index-
|
|
75554
|
+
return import("./index-DJMRei51.js").then((t) => t.go());
|
|
75550
75555
|
}
|
|
75551
75556
|
}),
|
|
75552
75557
|
/* @__PURE__ */ Ae.of({
|
|
@@ -75723,7 +75728,7 @@ const e4e = [
|
|
|
75723
75728
|
alias: ["yml"],
|
|
75724
75729
|
extensions: ["yaml", "yml"],
|
|
75725
75730
|
load() {
|
|
75726
|
-
return import("./index-
|
|
75731
|
+
return import("./index-Cjrlx9SS.js").then((t) => t.yaml());
|
|
75727
75732
|
}
|
|
75728
75733
|
}),
|
|
75729
75734
|
// Legacy modes ported from CodeMirror 5
|
|
@@ -76763,14 +76768,14 @@ function ZJ(t, e, n) {
|
|
|
76763
76768
|
i ? r.push({
|
|
76764
76769
|
from: o.from,
|
|
76765
76770
|
to: o.from + n.length,
|
|
76766
|
-
insert:
|
|
76771
|
+
insert: In.of([""])
|
|
76767
76772
|
}) : (l && r.push({
|
|
76768
76773
|
from: o.from,
|
|
76769
76774
|
to: o.from + n.length,
|
|
76770
|
-
insert:
|
|
76775
|
+
insert: In.of([""])
|
|
76771
76776
|
}), r.push({
|
|
76772
76777
|
from: o.from,
|
|
76773
|
-
insert:
|
|
76778
|
+
insert: In.of([n])
|
|
76774
76779
|
})), a = o.to + 1;
|
|
76775
76780
|
}
|
|
76776
76781
|
return r;
|
|
@@ -76784,18 +76789,18 @@ function LJ(t, e, n, r) {
|
|
|
76784
76789
|
o.push(i ? {
|
|
76785
76790
|
from: e.from - n.length,
|
|
76786
76791
|
to: e.from,
|
|
76787
|
-
insert:
|
|
76792
|
+
insert: In.of([""])
|
|
76788
76793
|
} : {
|
|
76789
76794
|
from: e.from,
|
|
76790
|
-
insert:
|
|
76795
|
+
insert: In.of(n.split(`
|
|
76791
76796
|
`))
|
|
76792
76797
|
}, a ? {
|
|
76793
76798
|
from: e.to,
|
|
76794
76799
|
to: e.to + r.length,
|
|
76795
|
-
insert:
|
|
76800
|
+
insert: In.of([""])
|
|
76796
76801
|
} : {
|
|
76797
76802
|
from: e.to,
|
|
76798
|
-
insert:
|
|
76803
|
+
insert: In.of(r.split(`
|
|
76799
76804
|
`))
|
|
76800
76805
|
});
|
|
76801
76806
|
const s = i ? -n.length : n.length, l = a ? -r.length : r.length;
|
|
@@ -82105,7 +82110,7 @@ function kDt(t, e) {
|
|
|
82105
82110
|
widths: r
|
|
82106
82111
|
});
|
|
82107
82112
|
}
|
|
82108
|
-
var lge, cge, uge, Hu, dge, fge, Oge, hge,
|
|
82113
|
+
var lge, cge, uge, Hu, dge, fge, Oge, hge, ul, pge, mge, gge, yge, vge, $ge, Pa;
|
|
82109
82114
|
function oc(t, e, n, r, i) {
|
|
82110
82115
|
var a = {};
|
|
82111
82116
|
return Object.keys(r).forEach(function(o) {
|
|
@@ -82156,7 +82161,7 @@ let Ay = (lge = ac(), cge = ac(), uge = ac(), Hu = class {
|
|
|
82156
82161
|
equals(e) {
|
|
82157
82162
|
return this.value === e.value;
|
|
82158
82163
|
}
|
|
82159
|
-
}, oc(Hu.prototype, "geDescendantCount", [lge], Object.getOwnPropertyDescriptor(Hu.prototype, "geDescendantCount"), Hu.prototype), oc(Hu.prototype, "getDescendants", [cge], Object.getOwnPropertyDescriptor(Hu.prototype, "getDescendants"), Hu.prototype), oc(Hu.prototype, "inOrderIds", [uge], Object.getOwnPropertyDescriptor(Hu.prototype, "inOrderIds"), Hu.prototype), Hu), TDt = 0, tP = (dge = ac(), fge = ac(), Oge = ac(), hge = ac(),
|
|
82164
|
+
}, oc(Hu.prototype, "geDescendantCount", [lge], Object.getOwnPropertyDescriptor(Hu.prototype, "geDescendantCount"), Hu.prototype), oc(Hu.prototype, "getDescendants", [cge], Object.getOwnPropertyDescriptor(Hu.prototype, "getDescendants"), Hu.prototype), oc(Hu.prototype, "inOrderIds", [uge], Object.getOwnPropertyDescriptor(Hu.prototype, "inOrderIds"), Hu.prototype), Hu), TDt = 0, tP = (dge = ac(), fge = ac(), Oge = ac(), hge = ac(), ul = class Ky {
|
|
82160
82165
|
constructor(e, n) {
|
|
82161
82166
|
this.nodes = e, this.id = n;
|
|
82162
82167
|
}
|
|
@@ -82459,7 +82464,7 @@ let Ay = (lge = ac(), cge = ac(), uge = ac(), Hu = class {
|
|
|
82459
82464
|
};
|
|
82460
82465
|
return r(this.nodes), n;
|
|
82461
82466
|
}
|
|
82462
|
-
}, oc(
|
|
82467
|
+
}, oc(ul.prototype, "topLevelIds", [dge], Object.getOwnPropertyDescriptor(ul.prototype, "topLevelIds"), ul.prototype), oc(ul.prototype, "inOrderIds", [fge], Object.getOwnPropertyDescriptor(ul.prototype, "inOrderIds"), ul.prototype), oc(ul.prototype, "idSet", [Oge], Object.getOwnPropertyDescriptor(ul.prototype, "idSet"), ul.prototype), oc(ul.prototype, "_nodeMap", [hge], Object.getOwnPropertyDescriptor(ul.prototype, "_nodeMap"), ul.prototype), ul), Zz = (pge = ac(), mge = ac(), gge = ac(), yge = ac(), vge = ac(), $ge = ac(), Pa = class us {
|
|
82463
82468
|
constructor(e) {
|
|
82464
82469
|
this.columns = e, e.length === 0 && (this.columns = [tP.from([])]);
|
|
82465
82470
|
}
|
|
@@ -83148,7 +83153,7 @@ const {
|
|
|
83148
83153
|
};
|
|
83149
83154
|
},
|
|
83150
83155
|
setCellCodes: (t, e) => {
|
|
83151
|
-
|
|
83156
|
+
Vn(e.codes.length === e.ids.length, "Expected codes and ids to have the same length");
|
|
83152
83157
|
let n = {
|
|
83153
83158
|
...t
|
|
83154
83159
|
};
|
|
@@ -83574,7 +83579,7 @@ const ADt = Gt((t) => {
|
|
|
83574
83579
|
name: s
|
|
83575
83580
|
} = r[a];
|
|
83576
83581
|
if (FK((l = o.output) == null ? void 0 : l.mimetype)) {
|
|
83577
|
-
|
|
83582
|
+
Vn(Array.isArray(o.output.data), "Expected array data");
|
|
83578
83583
|
const c = o.output.data.filter((u) => !u.type.includes("ancestor"));
|
|
83579
83584
|
if (c.length > 0)
|
|
83580
83585
|
return {
|
|
@@ -84342,7 +84347,7 @@ let z6t = !!(typeof window < "u" && window.document && window.document.createEle
|
|
|
84342
84347
|
typeof FinalizationRegistry < "u" && (i2 = new FinalizationRegistry((t) => {
|
|
84343
84348
|
y0.delete(t);
|
|
84344
84349
|
}));
|
|
84345
|
-
function
|
|
84350
|
+
function Bs(t) {
|
|
84346
84351
|
let [e, n] = T.useState(t), r = T.useRef(null), i = R6t(e), a = T.useRef(null);
|
|
84347
84352
|
if (i2 && i2.register(a, i), z6t) {
|
|
84348
84353
|
const o = y0.get(i);
|
|
@@ -84373,7 +84378,7 @@ function j6t(t, e) {
|
|
|
84373
84378
|
return r ? (r.forEach((i) => i.current = t), t) : e;
|
|
84374
84379
|
}
|
|
84375
84380
|
function Fz(t = []) {
|
|
84376
|
-
let e =
|
|
84381
|
+
let e = Bs(), [n, r] = S6t(e), i = T.useCallback(() => {
|
|
84377
84382
|
r(function* () {
|
|
84378
84383
|
yield e, yield document.getElementById(e) ? e : void 0;
|
|
84379
84384
|
});
|
|
@@ -84747,7 +84752,7 @@ function a6() {
|
|
|
84747
84752
|
}
|
|
84748
84753
|
function c_(t, e) {
|
|
84749
84754
|
let { id: n, "aria-label": r, "aria-labelledby": i } = t;
|
|
84750
|
-
return n =
|
|
84755
|
+
return n = Bs(n), i && r ? i = [
|
|
84751
84756
|
.../* @__PURE__ */ new Set([
|
|
84752
84757
|
n,
|
|
84753
84758
|
...i.trim().split(/\s+/)
|
|
@@ -86316,7 +86321,7 @@ function sXe(t) {
|
|
|
86316
86321
|
return Ch(Date.now(), t);
|
|
86317
86322
|
}
|
|
86318
86323
|
function d6(t) {
|
|
86319
|
-
return
|
|
86324
|
+
return Hs(sXe(t));
|
|
86320
86325
|
}
|
|
86321
86326
|
function lXe(t, e) {
|
|
86322
86327
|
return t.calendar.toJulianDay(t) - e.calendar.toJulianDay(e);
|
|
@@ -86478,7 +86483,7 @@ function Ch(t, e) {
|
|
|
86478
86483
|
let n = xL(t, e), r = new Date(t + n), i = r.getUTCFullYear(), a = r.getUTCMonth() + 1, o = r.getUTCDate(), s = r.getUTCHours(), l = r.getUTCMinutes(), c = r.getUTCSeconds(), u = r.getUTCMilliseconds();
|
|
86479
86484
|
return new xk(i < 1 ? "BC" : "AD", i < 1 ? -i + 1 : i, a, o, e, n, s, l, c, u);
|
|
86480
86485
|
}
|
|
86481
|
-
function
|
|
86486
|
+
function Hs(t) {
|
|
86482
86487
|
return new $a(t.calendar, t.era, t.year, t.month, t.day);
|
|
86483
86488
|
}
|
|
86484
86489
|
function rO(t, e) {
|
|
@@ -89701,8 +89706,8 @@ function QAt(t) {
|
|
|
89701
89706
|
var PAt = { NODE_ENV: '"production"' };
|
|
89702
89707
|
function kAt(t) {
|
|
89703
89708
|
let { id: e, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = t;
|
|
89704
|
-
e =
|
|
89705
|
-
let o =
|
|
89709
|
+
e = Bs(e);
|
|
89710
|
+
let o = Bs(), s = {};
|
|
89706
89711
|
n ? (r = r ? `${o} ${r}` : o, s = {
|
|
89707
89712
|
id: o,
|
|
89708
89713
|
htmlFor: a === "label" ? e : void 0
|
|
@@ -90546,7 +90551,7 @@ function zAt(t, e, n) {
|
|
|
90546
90551
|
let { id: r, decrementAriaLabel: i, incrementAriaLabel: a, isDisabled: o, isReadOnly: s, isRequired: l, minValue: c, maxValue: u, autoFocus: d, label: O, formatOptions: p, onBlur: g = () => {
|
|
90547
90552
|
}, onFocus: y, onFocusChange: $, onKeyDown: w, onKeyUp: x, description: v, errorMessage: P, isWheelDisabled: S, ...k } = t, { increment: _, incrementToMax: E, decrement: j, decrementToMin: R, numberValue: C, inputValue: z, commit: q, commitValidation: W } = e;
|
|
90548
90553
|
const V = vO(EAt(qze), "@react-aria/numberfield");
|
|
90549
|
-
let I =
|
|
90554
|
+
let I = Bs(r), { focusProps: N } = Ree({
|
|
90550
90555
|
onBlur() {
|
|
90551
90556
|
q();
|
|
90552
90557
|
}
|
|
@@ -90643,7 +90648,7 @@ function zAt(t, e, n) {
|
|
|
90643
90648
|
document.activeElement !== n.current && (Be.pointerType === "mouse" ? (vt = n.current) === null || vt === void 0 || vt.focus() : Be.target.focus());
|
|
90644
90649
|
}, rt = t["aria-label"] || (typeof t.label == "string" ? t.label : ""), Ye;
|
|
90645
90650
|
rt || (Ye = t.label != null ? $e.id : t["aria-labelledby"]);
|
|
90646
|
-
let Ke =
|
|
90651
|
+
let Ke = Bs(), gt = Bs(), Ie = Yr(J, {
|
|
90647
90652
|
"aria-label": a || V.format("increase", {
|
|
90648
90653
|
fieldLabel: rt
|
|
90649
90654
|
}).trim(),
|
|
@@ -92342,7 +92347,7 @@ function lWt(t) {
|
|
|
92342
92347
|
return t && t.__esModule ? t.default : t;
|
|
92343
92348
|
}
|
|
92344
92349
|
function cWt(t, e, n) {
|
|
92345
|
-
let r =
|
|
92350
|
+
let r = Bs(), i = Bs(), a = Bs(), o = vO(lWt(p_), "@react-aria/datepicker"), { isInvalid: s, validationErrors: l, validationDetails: c } = e.displayValidation, { labelProps: u, fieldProps: d, descriptionProps: O, errorMessageProps: p } = m6({
|
|
92346
92351
|
...t,
|
|
92347
92352
|
labelElementType: "span",
|
|
92348
92353
|
isInvalid: s,
|
|
@@ -92667,7 +92672,7 @@ function OWt(t, e, n) {
|
|
|
92667
92672
|
e.segments
|
|
92668
92673
|
]);
|
|
92669
92674
|
t !== W && !e.isInvalid && (c = void 0);
|
|
92670
|
-
let V =
|
|
92675
|
+
let V = Bs(), I = !e.isDisabled && !e.isReadOnly && t.isEditable, N = t.type === "literal" ? "" : o.of(t.type), M = c_({
|
|
92671
92676
|
"aria-label": `${N}${s ? `, ${s}` : ""}${l ? ", " : ""}`,
|
|
92672
92677
|
"aria-labelledby": l
|
|
92673
92678
|
});
|
|
@@ -92741,7 +92746,7 @@ function mWt(t, e, n) {
|
|
|
92741
92746
|
}, P = {
|
|
92742
92747
|
"aria-label": o.format("endDate"),
|
|
92743
92748
|
"aria-labelledby": g
|
|
92744
|
-
}, S =
|
|
92749
|
+
}, S = Bs(), k = Bs(), _ = Zee(e, n), E = [
|
|
92745
92750
|
x["aria-describedby"],
|
|
92746
92751
|
d["aria-describedby"]
|
|
92747
92752
|
].filter(Boolean).join(" ") || void 0, j = T.useMemo(() => h6(n, {
|
|
@@ -92968,7 +92973,7 @@ const nqe = /* @__PURE__ */ See(function(e, n) {
|
|
|
92968
92973
|
...e,
|
|
92969
92974
|
values: O,
|
|
92970
92975
|
defaultClassName: "react-aria-Button"
|
|
92971
|
-
}), g =
|
|
92976
|
+
}), g = Bs(a.id), y = Bs(), $ = a["aria-labelledby"];
|
|
92972
92977
|
i && ($ ? $ = `${$} ${y}` : a["aria-label"] && ($ = `${g} ${y}`));
|
|
92973
92978
|
let w = T.useRef(i);
|
|
92974
92979
|
return T.useEffect(() => {
|
|
@@ -93060,22 +93065,22 @@ function AL(t, e, n, r, i) {
|
|
|
93060
93065
|
}
|
|
93061
93066
|
function Tk(t, e, n, r, i, a) {
|
|
93062
93067
|
if (i && t.compare(i) >= 0) {
|
|
93063
|
-
let o = Eee(e, hv(
|
|
93068
|
+
let o = Eee(e, hv(Hs(i), n, r));
|
|
93064
93069
|
o && (e = o);
|
|
93065
93070
|
}
|
|
93066
93071
|
if (a && t.compare(a) <= 0) {
|
|
93067
|
-
let o = Xee(e, AL(
|
|
93072
|
+
let o = Xee(e, AL(Hs(a), n, r));
|
|
93068
93073
|
o && (e = o);
|
|
93069
93074
|
}
|
|
93070
93075
|
return e;
|
|
93071
93076
|
}
|
|
93072
93077
|
function nm(t, e, n) {
|
|
93073
93078
|
if (e) {
|
|
93074
|
-
let r = Eee(t,
|
|
93079
|
+
let r = Eee(t, Hs(e));
|
|
93075
93080
|
r && (t = r);
|
|
93076
93081
|
}
|
|
93077
93082
|
if (n) {
|
|
93078
|
-
let r = Xee(t,
|
|
93083
|
+
let r = Xee(t, Hs(n));
|
|
93079
93084
|
r && (t = r);
|
|
93080
93085
|
}
|
|
93081
93086
|
return t;
|
|
@@ -93099,18 +93104,18 @@ function iqe(t) {
|
|
|
93099
93104
|
n.calendar
|
|
93100
93105
|
]);
|
|
93101
93106
|
var p;
|
|
93102
|
-
let [g, y] = Hh(t.value, (p = t.defaultValue) !== null && p !== void 0 ? p : null, t.onChange), $ = T.useMemo(() => g ? Wi(
|
|
93107
|
+
let [g, y] = Hh(t.value, (p = t.defaultValue) !== null && p !== void 0 ? p : null, t.onChange), $ = T.useMemo(() => g ? Wi(Hs(g), O) : null, [
|
|
93103
93108
|
g,
|
|
93104
93109
|
O
|
|
93105
93110
|
]), w = T.useMemo(() => g && "timeZone" in g ? g.timeZone : n.timeZone, [
|
|
93106
93111
|
g,
|
|
93107
93112
|
n.timeZone
|
|
93108
|
-
]), x = T.useMemo(() => t.focusedValue ? nm(Wi(
|
|
93113
|
+
]), x = T.useMemo(() => t.focusedValue ? nm(Wi(Hs(t.focusedValue), O), o, s) : void 0, [
|
|
93109
93114
|
t.focusedValue,
|
|
93110
93115
|
O,
|
|
93111
93116
|
o,
|
|
93112
93117
|
s
|
|
93113
|
-
]), v = T.useMemo(() => nm(t.defaultFocusedValue ? Wi(
|
|
93118
|
+
]), v = T.useMemo(() => nm(t.defaultFocusedValue ? Wi(Hs(t.defaultFocusedValue), O) : $ || Wi(d6(w), O), o, s), [
|
|
93114
93119
|
t.defaultFocusedValue,
|
|
93115
93120
|
$,
|
|
93116
93121
|
w,
|
|
@@ -93306,7 +93311,7 @@ function QWt(t) {
|
|
|
93306
93311
|
months: 1
|
|
93307
93312
|
}, minValue: s, maxValue: l, ...c } = t, [u, d] = Hh(e, n || null, r), [O, p] = T.useState(null), g = "center";
|
|
93308
93313
|
if (u && u.start && u.end) {
|
|
93309
|
-
let M = DL(
|
|
93314
|
+
let M = DL(Hs(u.start), o, a, s, l).add(o).subtract({
|
|
93310
93315
|
days: 1
|
|
93311
93316
|
});
|
|
93312
93317
|
u.end.compare(M) > 0 && (g = "start");
|
|
@@ -93390,8 +93395,8 @@ function qV(t, e) {
|
|
|
93390
93395
|
e,
|
|
93391
93396
|
t
|
|
93392
93397
|
]), {
|
|
93393
|
-
start:
|
|
93394
|
-
end:
|
|
93398
|
+
start: Hs(t),
|
|
93399
|
+
end: Hs(e)
|
|
93395
93400
|
});
|
|
93396
93401
|
}
|
|
93397
93402
|
function $ye(t, e) {
|
|
@@ -93809,7 +93814,7 @@ function sP(t, e, n, r) {
|
|
|
93809
93814
|
second: 0,
|
|
93810
93815
|
millisecond: 0
|
|
93811
93816
|
}), n);
|
|
93812
|
-
return e === "year" || e === "month" || e === "day" ?
|
|
93817
|
+
return e === "year" || e === "month" || e === "day" ? Hs(i) : r ? i : rO(i);
|
|
93813
93818
|
}
|
|
93814
93819
|
function Bee(t, e) {
|
|
93815
93820
|
let n = t && "timeZone" in t ? t.timeZone : void 0, r = t && "minute" in t ? "minute" : "day";
|
|
@@ -93858,7 +93863,7 @@ function RWt(t) {
|
|
|
93858
93863
|
value: n,
|
|
93859
93864
|
builtinValidation: P
|
|
93860
93865
|
}), k = S.displayValidation.isInvalid, _ = t.validationState || (k ? "invalid" : null), E = (C, z) => {
|
|
93861
|
-
r("timeZone" in z ? z.set(
|
|
93866
|
+
r("timeZone" in z ? z.set(Hs(C)) : rO(C, z)), O(null), g(null), S.commitValidation();
|
|
93862
93867
|
};
|
|
93863
93868
|
return {
|
|
93864
93869
|
...S,
|
|
@@ -94654,8 +94659,8 @@ function AWt(t) {
|
|
|
94654
94659
|
l && Wy(l) && ($ = l, "hour" in l.start && (x = l));
|
|
94655
94660
|
let P = (I, N) => {
|
|
94656
94661
|
c({
|
|
94657
|
-
start: "timeZone" in N.start ? N.start.set(
|
|
94658
|
-
end: "timeZone" in N.end ? N.end.set(
|
|
94662
|
+
start: "timeZone" in N.start ? N.start.set(Hs(I.start)) : rO(I.start, N.start),
|
|
94663
|
+
end: "timeZone" in N.end ? N.end.set(Hs(I.end)) : rO(I.end, N.end)
|
|
94659
94664
|
}), w(null), v(null), q.commitValidation();
|
|
94660
94665
|
}, S = (I) => {
|
|
94661
94666
|
let N = typeof y == "function" ? y() : y;
|
|
@@ -95948,7 +95953,7 @@ function gUt(t) {
|
|
|
95948
95953
|
title: "Fix: Wrap in a function",
|
|
95949
95954
|
description: "Make this cell's variables local by wrapping the cell in a function.",
|
|
95950
95955
|
onFix: async (n) => {
|
|
95951
|
-
|
|
95956
|
+
Vn(n.editor, "Editor is null");
|
|
95952
95957
|
const r = mUt(n.editor.state.doc.toString());
|
|
95953
95958
|
n.editor.dispatch({
|
|
95954
95959
|
changes: {
|
|
@@ -101800,7 +101805,7 @@ const uYt = (t) => function(e) {
|
|
|
101800
101805
|
return n;
|
|
101801
101806
|
};
|
|
101802
101807
|
};
|
|
101803
|
-
function
|
|
101808
|
+
function Ks(t) {
|
|
101804
101809
|
throw Error(t);
|
|
101805
101810
|
}
|
|
101806
101811
|
function U6e(t) {
|
|
@@ -101818,9 +101823,9 @@ function U6e(t) {
|
|
|
101818
101823
|
else {
|
|
101819
101824
|
if (r)
|
|
101820
101825
|
continue;
|
|
101821
|
-
o === i && l === '"' || o === i && l === "'" ? (o = s + 1, r = l) : l === "." && !i ? s > o ? c() : o = s + 1 : l === "[" ? (s > o && c(), i = o = s + 1) : l === "]" && (i ||
|
|
101826
|
+
o === i && l === '"' || o === i && l === "'" ? (o = s + 1, r = l) : l === "." && !i ? s > o ? c() : o = s + 1 : l === "[" ? (s > o && c(), i = o = s + 1) : l === "]" && (i || Ks("Access path missing open bracket: " + t), i > 0 && c(), i = 0, o = s + 1);
|
|
101822
101827
|
}
|
|
101823
|
-
return i &&
|
|
101828
|
+
return i && Ks("Access path missing closing bracket: " + t), r && Ks("Access path missing closing quote: " + t), s > o && (s++, c()), e;
|
|
101824
101829
|
}
|
|
101825
101830
|
function Qte(t, e, n) {
|
|
101826
101831
|
const r = U6e(t);
|
|
@@ -102862,27 +102867,27 @@ lg.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : io((e) => {
|
|
|
102862
102867
|
e.setUTCFullYear(e.getUTCFullYear() + n * t);
|
|
102863
102868
|
});
|
|
102864
102869
|
lg.range;
|
|
102865
|
-
const Ss = "year", Sc = "quarter",
|
|
102870
|
+
const Ss = "year", Sc = "quarter", Js = "month", bo = "week", Qc = "date", Gs = "day", tp = "dayofyear", Tu = "hours", _u = "minutes", Sd = "seconds", iO = "milliseconds", yMt = [Ss, Sc, Js, bo, Qc, Gs, tp, Tu, _u, Sd, iO], aI = yMt.reduce((t, e, n) => (t[e] = 1 + n, t), {});
|
|
102866
102871
|
function vMt(t) {
|
|
102867
102872
|
const e = zk(t).slice(), n = {};
|
|
102868
|
-
return e.length ||
|
|
102869
|
-
kh(aI, i) ? n[i] = 1 :
|
|
102870
|
-
}), (n[bo] || n[
|
|
102873
|
+
return e.length || Ks("Missing time unit."), e.forEach((i) => {
|
|
102874
|
+
kh(aI, i) ? n[i] = 1 : Ks(`Invalid time unit: ${i}.`);
|
|
102875
|
+
}), (n[bo] || n[Gs] ? 1 : 0) + (n[Sc] || n[Js] || n[Qc] ? 1 : 0) + (n[tp] ? 1 : 0) > 1 && Ks(`Incompatible time units: ${t}`), e.sort((i, a) => aI[i] - aI[a]), e;
|
|
102871
102876
|
}
|
|
102872
102877
|
const $Mt = {
|
|
102873
102878
|
[Ss]: "%Y ",
|
|
102874
102879
|
[Sc]: "Q%q ",
|
|
102875
|
-
[
|
|
102880
|
+
[Js]: "%b ",
|
|
102876
102881
|
[Qc]: "%d ",
|
|
102877
102882
|
[bo]: "W%U ",
|
|
102878
|
-
[
|
|
102883
|
+
[Gs]: "%a ",
|
|
102879
102884
|
[tp]: "%j ",
|
|
102880
102885
|
[Tu]: "%H:00",
|
|
102881
102886
|
[_u]: "00:%M",
|
|
102882
102887
|
[Sd]: ":%S",
|
|
102883
102888
|
[iO]: ".%L",
|
|
102884
|
-
[`${Ss}-${
|
|
102885
|
-
[`${Ss}-${
|
|
102889
|
+
[`${Ss}-${Js}`]: "%Y-%m ",
|
|
102890
|
+
[`${Ss}-${Js}-${Qc}`]: "%Y-%m-%d ",
|
|
102886
102891
|
[`${Tu}-${_u}`]: "%H:%M"
|
|
102887
102892
|
};
|
|
102888
102893
|
function fRn(t, e) {
|
|
@@ -102947,7 +102952,7 @@ function wMt(t, e, n, r, i, a, o) {
|
|
|
102947
102952
|
return new Date(Date.UTC(t, e, n, r, i, a, o));
|
|
102948
102953
|
}
|
|
102949
102954
|
function o7e(t, e, n, r, i) {
|
|
102950
|
-
const a = e || 1, o = ox(t), s = (w, x, v) => (v = v || w, xMt(n[v], r[v], w === o && a, x)), l = /* @__PURE__ */ new Date(), c = zYt(t), u = c[Ss] ? s(Ss) : SYt(2012), d = c[
|
|
102955
|
+
const a = e || 1, o = ox(t), s = (w, x, v) => (v = v || w, xMt(n[v], r[v], w === o && a, x)), l = /* @__PURE__ */ new Date(), c = zYt(t), u = c[Ss] ? s(Ss) : SYt(2012), d = c[Js] ? s(Js) : c[Sc] ? s(Sc) : uP, O = c[bo] && c[Gs] ? s(Gs, 1, bo + Gs) : c[bo] ? s(bo, 1) : c[Gs] ? s(Gs, 1) : c[Qc] ? s(Qc, 1) : c[tp] ? s(tp, 1) : fYt, p = c[Tu] ? s(Tu) : uP, g = c[_u] ? s(_u) : uP, y = c[Sd] ? s(Sd) : uP, $ = c[iO] ? s(iO) : uP;
|
|
102951
102956
|
return function(w) {
|
|
102952
102957
|
l.setTime(+w);
|
|
102953
102958
|
const x = u(l);
|
|
@@ -102964,7 +102969,7 @@ function bw(t, e, n) {
|
|
|
102964
102969
|
const SMt = {
|
|
102965
102970
|
[Ss]: (t) => t.getFullYear(),
|
|
102966
102971
|
[Sc]: (t) => Math.floor(t.getMonth() / 3),
|
|
102967
|
-
[
|
|
102972
|
+
[Js]: (t) => t.getMonth(),
|
|
102968
102973
|
[Qc]: (t) => t.getDate(),
|
|
102969
102974
|
[Tu]: (t) => t.getHours(),
|
|
102970
102975
|
[_u]: (t) => t.getMinutes(),
|
|
@@ -102972,8 +102977,8 @@ const SMt = {
|
|
|
102972
102977
|
[iO]: (t) => t.getMilliseconds(),
|
|
102973
102978
|
[tp]: (t) => i7e(t),
|
|
102974
102979
|
[bo]: (t) => JL(t),
|
|
102975
|
-
[bo +
|
|
102976
|
-
[
|
|
102980
|
+
[bo + Gs]: (t, e) => bw(JL(t), t.getDay(), eF(e)),
|
|
102981
|
+
[Gs]: (t, e) => bw(1, t.getDay(), eF(e))
|
|
102977
102982
|
}, QMt = {
|
|
102978
102983
|
[Sc]: (t) => 3 * t,
|
|
102979
102984
|
[bo]: (t, e) => bw(t, 0, eF(e))
|
|
@@ -102984,7 +102989,7 @@ function gRn(t, e) {
|
|
|
102984
102989
|
const PMt = {
|
|
102985
102990
|
[Ss]: (t) => t.getUTCFullYear(),
|
|
102986
102991
|
[Sc]: (t) => Math.floor(t.getUTCMonth() / 3),
|
|
102987
|
-
[
|
|
102992
|
+
[Js]: (t) => t.getUTCMonth(),
|
|
102988
102993
|
[Qc]: (t) => t.getUTCDate(),
|
|
102989
102994
|
[Tu]: (t) => t.getUTCHours(),
|
|
102990
102995
|
[_u]: (t) => t.getUTCMinutes(),
|
|
@@ -102992,8 +102997,8 @@ const PMt = {
|
|
|
102992
102997
|
[iO]: (t) => t.getUTCMilliseconds(),
|
|
102993
102998
|
[tp]: (t) => a7e(t),
|
|
102994
102999
|
[bo]: (t) => tF(t),
|
|
102995
|
-
[
|
|
102996
|
-
[bo +
|
|
103000
|
+
[Gs]: (t, e) => bw(1, t.getUTCDay(), nF(e)),
|
|
103001
|
+
[bo + Gs]: (t, e) => bw(tF(t), t.getUTCDay(), nF(e))
|
|
102997
103002
|
}, kMt = {
|
|
102998
103003
|
[Sc]: (t) => 3 * t,
|
|
102999
103004
|
[bo]: (t, e) => bw(t, 0, nF(e))
|
|
@@ -103004,10 +103009,10 @@ function yRn(t, e) {
|
|
|
103004
103009
|
const TMt = {
|
|
103005
103010
|
[Ss]: sg,
|
|
103006
103011
|
[Sc]: HL.every(3),
|
|
103007
|
-
[
|
|
103012
|
+
[Js]: HL,
|
|
103008
103013
|
[bo]: j6,
|
|
103009
103014
|
[Qc]: kv,
|
|
103010
|
-
[
|
|
103015
|
+
[Gs]: kv,
|
|
103011
103016
|
[tp]: kv,
|
|
103012
103017
|
[Tu]: n7e,
|
|
103013
103018
|
[_u]: e7e,
|
|
@@ -103016,10 +103021,10 @@ const TMt = {
|
|
|
103016
103021
|
}, _Mt = {
|
|
103017
103022
|
[Ss]: lg,
|
|
103018
103023
|
[Sc]: KL.every(3),
|
|
103019
|
-
[
|
|
103024
|
+
[Js]: KL,
|
|
103020
103025
|
[bo]: q6,
|
|
103021
103026
|
[Qc]: Tv,
|
|
103022
|
-
[
|
|
103027
|
+
[Gs]: Tv,
|
|
103023
103028
|
[tp]: Tv,
|
|
103024
103029
|
[Tu]: r7e,
|
|
103025
103030
|
[_u]: t7e,
|
|
@@ -103050,7 +103055,7 @@ function bRn(t, e, n, r) {
|
|
|
103050
103055
|
function wRn(t, e, n, r) {
|
|
103051
103056
|
return l7e(Cte(t), e, n, r);
|
|
103052
103057
|
}
|
|
103053
|
-
const c2 = 1e3, u2 = c2 * 60, d2 = u2 * 60, D6 = d2 * 24, RMt = D6 * 7, Fye = D6 * 30, rF = D6 * 365, c7e = [Ss,
|
|
103058
|
+
const c2 = 1e3, u2 = c2 * 60, d2 = u2 * 60, D6 = d2 * 24, RMt = D6 * 7, Fye = D6 * 30, rF = D6 * 365, c7e = [Ss, Js, Qc, Tu, _u, Sd, iO], f2 = c7e.slice(0, -1), O2 = f2.slice(0, -1), h2 = O2.slice(0, -1), CMt = h2.slice(0, -1), XMt = [Ss, bo], Bye = [Ss, Js], u7e = [Ss], fP = [[f2, 1, c2], [f2, 5, 5 * c2], [f2, 15, 15 * c2], [f2, 30, 30 * c2], [O2, 1, u2], [O2, 5, 5 * u2], [O2, 15, 15 * u2], [O2, 30, 30 * u2], [h2, 1, d2], [h2, 3, 3 * d2], [h2, 6, 6 * d2], [h2, 12, 12 * d2], [CMt, 1, D6], [XMt, 1, RMt], [Bye, 1, Fye], [Bye, 3, 3 * Fye], [u7e, 1, rF]];
|
|
103054
103059
|
function xRn(t) {
|
|
103055
103060
|
const e = t.extent, n = t.maxbins || 40, r = Math.abs(_Yt(e)) / n;
|
|
103056
103061
|
let i = LYt((s) => s[2]).right(fP, r), a, o;
|
|
@@ -103634,8 +103639,8 @@ function aF(t) {
|
|
|
103634
103639
|
return arguments.length ? iF = w7e(t) : iF;
|
|
103635
103640
|
}
|
|
103636
103641
|
function sve(t, e, n) {
|
|
103637
|
-
n = n || {}, Ek(n) ||
|
|
103638
|
-
const r = e(Sd), i = e(_u), a = e(Tu), o = e(Qc), s = e(bo), l = e(
|
|
103642
|
+
n = n || {}, Ek(n) || Ks(`Invalid time multi-format specifier: ${n}`);
|
|
103643
|
+
const r = e(Sd), i = e(_u), a = e(Tu), o = e(Qc), s = e(bo), l = e(Js), c = e(Sc), u = e(Ss), d = t(n[iO] || ".%L"), O = t(n[Sd] || ":%S"), p = t(n[_u] || "%I:%M"), g = t(n[Tu] || "%I %p"), y = t(n[Qc] || n[Gs] || "%a %d"), $ = t(n[bo] || "%b %d"), w = t(n[Js] || "%B"), x = t(n[Sc] || "%B"), v = t(n[Ss] || "%Y");
|
|
103639
103644
|
return (P) => (r(P) < P ? d : i(P) < P ? O : a(P) < P ? p : o(P) < P ? g : l(P) < P ? s(P) < P ? y : $ : u(P) < P ? c(P) < P ? w : x : v)(P);
|
|
103640
103645
|
}
|
|
103641
103646
|
function x7e(t) {
|
|
@@ -103670,7 +103675,7 @@ function SRn(t, e) {
|
|
|
103670
103675
|
}
|
|
103671
103676
|
function jGt(t, e) {
|
|
103672
103677
|
const n = arguments.length;
|
|
103673
|
-
return n && n !== 2 &&
|
|
103678
|
+
return n && n !== 2 && Ks("defaultLocale expects either zero or two arguments."), n ? sF(aF(t), bj(e)) : sF(aF(), bj());
|
|
103674
103679
|
}
|
|
103675
103680
|
function QRn() {
|
|
103676
103681
|
return b7e(), S7e(), jGt();
|
|
@@ -103697,7 +103702,7 @@ async function NGt(t, e) {
|
|
|
103697
103702
|
};
|
|
103698
103703
|
let i, a, o;
|
|
103699
103704
|
const s = DGt.test(t.replace(AGt, ""));
|
|
103700
|
-
(t == null || typeof t != "string" || !s) &&
|
|
103705
|
+
(t == null || typeof t != "string" || !s) && Ks("Sanitize failure, invalid URI: " + Pte(t));
|
|
103701
103706
|
const l = qGt.test(t);
|
|
103702
103707
|
return (o = e.baseURL) && !l && (!t.startsWith("/") && !o.endsWith("/") && (t = "/" + t), t = o + t), a = (i = t.startsWith(lve)) || e.mode === "file" || e.mode !== "http" && !l && n, i ? t = t.slice(lve.length) : t.startsWith("//") && (e.defaultProtocol === "file" ? (t = t.slice(2), a = !0) : t = (e.defaultProtocol || "http") + ":" + t), Object.defineProperty(r, "localFile", {
|
|
103703
103708
|
value: !!a
|
|
@@ -103711,16 +103716,16 @@ function VGt(t) {
|
|
|
103711
103716
|
}) : IGt;
|
|
103712
103717
|
}
|
|
103713
103718
|
async function IGt() {
|
|
103714
|
-
|
|
103719
|
+
Ks("No file system access.");
|
|
103715
103720
|
}
|
|
103716
103721
|
function YGt(t) {
|
|
103717
103722
|
return t ? async function(e, n) {
|
|
103718
103723
|
const r = sx({}, this.options.http, n), i = n && n.response, a = await t(e, r);
|
|
103719
|
-
return a.ok ? C_(a[i]) ? a[i]() : a.text() :
|
|
103724
|
+
return a.ok ? C_(a[i]) ? a[i]() : a.text() : Ks(a.status + "" + a.statusText);
|
|
103720
103725
|
} : MGt;
|
|
103721
103726
|
}
|
|
103722
103727
|
async function MGt() {
|
|
103723
|
-
|
|
103728
|
+
Ks("No HTTP fetch method available.");
|
|
103724
103729
|
}
|
|
103725
103730
|
const GGt = (t) => t != null && t === t, ZGt = (t) => t === "true" || t === "false" || t === !0 || t === !1, LGt = (t) => !Number.isNaN(Date.parse(t)), P7e = (t) => !Number.isNaN(+t) && !(t instanceof Date), FGt = (t) => P7e(t) && Number.isInteger(+t), lF = {
|
|
103726
103731
|
boolean: RYt,
|
|
@@ -103773,7 +103778,7 @@ const tZt = {
|
|
|
103773
103778
|
};
|
|
103774
103779
|
function k7e(t, e) {
|
|
103775
103780
|
let n, r, i, a;
|
|
103776
|
-
return t = Ete(t, e), e && e.feature ? (n = VYt, i = e.feature) : e && e.mesh ? (n = YYt, i = e.mesh, a = tZt[e.filter]) :
|
|
103781
|
+
return t = Ete(t, e), e && e.feature ? (n = VYt, i = e.feature) : e && e.mesh ? (n = YYt, i = e.mesh, a = tZt[e.filter]) : Ks("Missing TopoJSON feature or mesh parameter."), r = (r = t.objects[i]) ? n(t, r, a) : Ks("Invalid TopoJSON object: " + i), r && r.features || [r];
|
|
103777
103782
|
}
|
|
103778
103783
|
k7e.responseType = "json";
|
|
103779
103784
|
const lI = {
|
|
@@ -103793,7 +103798,7 @@ function PRn(t) {
|
|
|
103793
103798
|
function nZt(t, e, n, r) {
|
|
103794
103799
|
e = e || {};
|
|
103795
103800
|
const i = T7e(e.type || "json");
|
|
103796
|
-
return i ||
|
|
103801
|
+
return i || Ks("Unknown data format type: " + e.type), t = i(t, e), e.parse && rZt(t, e.parse, n, r), kh(t, "columns") && delete t.columns, t;
|
|
103797
103802
|
}
|
|
103798
103803
|
function rZt(t, e, n, r) {
|
|
103799
103804
|
if (!t.length) return;
|
|
@@ -106678,7 +106683,7 @@ function sFt(t) {
|
|
|
106678
106683
|
/* @__PURE__ */ m.jsx("span", { children: n })
|
|
106679
106684
|
] }, e);
|
|
106680
106685
|
}
|
|
106681
|
-
const O9e = ye.createContext(R0.EMPTY), lFt = ye.lazy(() => import("./index-
|
|
106686
|
+
const O9e = ye.createContext(R0.EMPTY), lFt = ye.lazy(() => import("./index-DVulcGld.js").then((t) => ({
|
|
106682
106687
|
default: t.VegaLite
|
|
106683
106688
|
}))), cFt = i9e(), uFt = (t) => {
|
|
106684
106689
|
const e = he.c(21), {
|
|
@@ -108294,7 +108299,7 @@ const zBt = {
|
|
|
108294
108299
|
fieldTypes: i
|
|
108295
108300
|
}), [i]);
|
|
108296
108301
|
return /* @__PURE__ */ m.jsx(R9e, { data: e, totalRows: e.length, columns: a, totalColumns: a.length, manualPagination: !1, paginationState: n, setPaginationState: r, wrapperClassName: "h-full justify-between pb-1 px-1", pagination: !0, className: "rounded-none border-b flex overflow-hidden", rowSelection: Ur.EMPTY });
|
|
108297
|
-
}, C9e = T.lazy(() => import("./any-language-editor-
|
|
108302
|
+
}, C9e = T.lazy(() => import("./any-language-editor-fiSDJlEJ.js")), gF = (t) => {
|
|
108298
108303
|
const e = he.c(5);
|
|
108299
108304
|
let n;
|
|
108300
108305
|
e[0] !== t.className ? (n = Nh(t.className, "rounded-md bg-muted/40 px-2 text-[0.75rem] font-prose center border border-foreground/20 text-muted-foreground block whitespace-nowrap"), e[0] = t.className, e[1] = n) : n = e[1];
|
|
@@ -108711,7 +108716,7 @@ function BBt(t) {
|
|
|
108711
108716
|
return "❓";
|
|
108712
108717
|
}
|
|
108713
108718
|
}
|
|
108714
|
-
const HBt = ye.lazy(() => import("./index-
|
|
108719
|
+
const HBt = ye.lazy(() => import("./index-DVulcGld.js").then((t) => ({
|
|
108715
108720
|
default: t.VegaLite
|
|
108716
108721
|
}))), dg = T.memo((t) => {
|
|
108717
108722
|
const e = he.c(39), {
|
|
@@ -108746,12 +108751,12 @@ const HBt = ye.lazy(() => import("./index-DohSjg3v.js").then((t) => ({
|
|
|
108746
108751
|
return null;
|
|
108747
108752
|
switch (u) {
|
|
108748
108753
|
case "text/html": {
|
|
108749
|
-
|
|
108754
|
+
Vn(typeof c == "string", `Expected string data for mime=${u}. Got ${typeof c}`);
|
|
108750
108755
|
let d;
|
|
108751
108756
|
return e[2] !== l || e[3] !== c ? (d = /* @__PURE__ */ m.jsx(sD, { className: l, html: c }), e[2] = l, e[3] = c, e[4] = d) : d = e[4], d;
|
|
108752
108757
|
}
|
|
108753
108758
|
case "text/plain": {
|
|
108754
|
-
|
|
108759
|
+
Vn(typeof c == "string", `Expected string data for mime=${u}. Got ${typeof c}`);
|
|
108755
108760
|
let d;
|
|
108756
108761
|
return e[5] !== l || e[6] !== c ? (d = /* @__PURE__ */ m.jsx(r8t, { channel: l, text: c }), e[5] = l, e[6] = c, e[7] = d) : d = e[7], d;
|
|
108757
108762
|
}
|
|
@@ -108765,12 +108770,12 @@ const HBt = ye.lazy(() => import("./index-DohSjg3v.js").then((t) => ({
|
|
|
108765
108770
|
case "image/bmp":
|
|
108766
108771
|
case "image/gif":
|
|
108767
108772
|
case "image/jpeg": {
|
|
108768
|
-
|
|
108773
|
+
Vn(typeof c == "string", `Expected string data for mime=${u}. Got ${typeof c}`);
|
|
108769
108774
|
let d;
|
|
108770
108775
|
return e[11] !== l || e[12] !== c ? (d = /* @__PURE__ */ m.jsx(kPe, { className: l, src: c, alt: "" }), e[11] = l, e[12] = c, e[13] = d) : d = e[13], d;
|
|
108771
108776
|
}
|
|
108772
108777
|
case "image/svg+xml": {
|
|
108773
|
-
|
|
108778
|
+
Vn(typeof c == "string", `Expected string data for mime=${u}. Got ${typeof c}`);
|
|
108774
108779
|
let d;
|
|
108775
108780
|
return e[14] !== c ? (d = Nr({
|
|
108776
108781
|
html: c
|
|
@@ -108778,28 +108783,28 @@ const HBt = ye.lazy(() => import("./index-DohSjg3v.js").then((t) => ({
|
|
|
108778
108783
|
}
|
|
108779
108784
|
case "video/mp4":
|
|
108780
108785
|
case "video/mpeg": {
|
|
108781
|
-
|
|
108786
|
+
Vn(typeof c == "string", `Expected string data for mime=${u}. Got ${typeof c}`);
|
|
108782
108787
|
let d;
|
|
108783
108788
|
return e[16] !== l || e[17] !== c ? (d = /* @__PURE__ */ m.jsx(TPe, { className: l, src: c }), e[16] = l, e[17] = c, e[18] = d) : d = e[18], d;
|
|
108784
108789
|
}
|
|
108785
108790
|
case "application/vnd.marimo+error": {
|
|
108786
|
-
|
|
108791
|
+
Vn(Array.isArray(c), "Expected array data");
|
|
108787
108792
|
let d;
|
|
108788
108793
|
return e[19] !== i || e[20] !== c ? (d = /* @__PURE__ */ m.jsx($Ut, { cellId: i, errors: c }), e[19] = i, e[20] = c, e[21] = d) : d = e[21], d;
|
|
108789
108794
|
}
|
|
108790
108795
|
case "application/vnd.marimo+traceback": {
|
|
108791
|
-
|
|
108796
|
+
Vn(typeof c == "string", `Expected string data for mime=${u}. Got ${typeof c}`);
|
|
108792
108797
|
let d;
|
|
108793
108798
|
return e[22] !== i || e[23] !== c || e[24] !== r ? (d = /* @__PURE__ */ m.jsx(NBt, { onRefactorWithAI: r, traceback: c, cellId: i }), e[22] = i, e[23] = c, e[24] = r, e[25] = d) : d = e[25], d;
|
|
108794
108799
|
}
|
|
108795
108800
|
case "text/csv": {
|
|
108796
|
-
|
|
108801
|
+
Vn(typeof c == "string", `Expected string data for mime=${u}. Got ${typeof c}`);
|
|
108797
108802
|
let d;
|
|
108798
108803
|
return e[26] !== c ? (d = /* @__PURE__ */ m.jsx(WBt, { contents: c }), e[26] = c, e[27] = d) : d = e[27], d;
|
|
108799
108804
|
}
|
|
108800
108805
|
case "text/latex":
|
|
108801
108806
|
case "text/markdown": {
|
|
108802
|
-
|
|
108807
|
+
Vn(typeof c == "string", `Expected string data for mime=${u}. Got ${typeof c}`);
|
|
108803
108808
|
const d = a === "dark" ? "dark" : "light";
|
|
108804
108809
|
let O;
|
|
108805
108810
|
return e[28] !== c || e[29] !== d ? (O = /* @__PURE__ */ m.jsx(C9e, { theme: d, value: c, readOnly: !0, editable: !1, language: "markdown" }), e[28] = c, e[29] = d, e[30] = O) : O = e[30], O;
|
|
@@ -109224,14 +109229,14 @@ class Fo extends HTMLElement {
|
|
|
109224
109229
|
super(), this.root = void 0, this.classList.add(Fo.styleNamespace);
|
|
109225
109230
|
}
|
|
109226
109231
|
get appId() {
|
|
109227
|
-
return
|
|
109232
|
+
return Vn(this.dataset.appId, "Missing data-app-id attribute"), this.dataset.appId;
|
|
109228
109233
|
}
|
|
109229
109234
|
get cellId() {
|
|
109230
|
-
|
|
109235
|
+
Vn(this.dataset.cellIdx, "Missing data-cell-idx attribute");
|
|
109231
109236
|
const {
|
|
109232
109237
|
cellIds: e
|
|
109233
109238
|
} = Zn.get(Ri), n = Number.parseInt(this.dataset.cellIdx, 10), r = e.inOrderIds.at(n);
|
|
109234
|
-
return
|
|
109239
|
+
return Vn(r, "Missing cell ID"), r;
|
|
109235
109240
|
}
|
|
109236
109241
|
get code() {
|
|
109237
109242
|
return F9e(this);
|
|
@@ -109266,7 +109271,7 @@ class Fo extends HTMLElement {
|
|
|
109266
109271
|
}
|
|
109267
109272
|
querySelectorOrThrow(e) {
|
|
109268
109273
|
const n = this.querySelector(e);
|
|
109269
|
-
return
|
|
109274
|
+
return Vn(n, `Missing ${e} element`), n;
|
|
109270
109275
|
}
|
|
109271
109276
|
}
|
|
109272
109277
|
Fo.tagName = "marimo-island";
|
|
@@ -109543,9 +109548,9 @@ function THt({
|
|
|
109543
109548
|
output: x
|
|
109544
109549
|
} = $;
|
|
109545
109550
|
g[y] = async (...v) => {
|
|
109546
|
-
|
|
109551
|
+
Vn(v.length <= 1, `Plugin functions only supports a single argument. Called ${y}`);
|
|
109547
109552
|
const P = Bte(t);
|
|
109548
|
-
|
|
109553
|
+
Vn(P, "Object ID should exist");
|
|
109549
109554
|
const S = await K9e.request({
|
|
109550
109555
|
args: Vve(w, v[0]),
|
|
109551
109556
|
functionName: y,
|
|
@@ -109579,7 +109584,7 @@ function Wve(t) {
|
|
|
109579
109584
|
});
|
|
109580
109585
|
}
|
|
109581
109586
|
connectedCallback() {
|
|
109582
|
-
this.mounted || (
|
|
109587
|
+
this.mounted || (Vn(this.shadowRoot, "Shadow root should exist"), this.root && this.root.unmount(), this.root = zxe.createRoot(this.shadowRoot), this.mountReactComponent()), this.observer.observe(this, {
|
|
109583
109588
|
attributes: !0,
|
|
109584
109589
|
childList: !0,
|
|
109585
109590
|
subtree: !0,
|
|
@@ -109616,14 +109621,14 @@ function Wve(t) {
|
|
|
109616
109621
|
* Mount the React component to the shadow root
|
|
109617
109622
|
*/
|
|
109618
109623
|
async mountReactComponent() {
|
|
109619
|
-
this.mounted = !0,
|
|
109624
|
+
this.mounted = !0, Vn(this.root, "Root must be defined"), this.root.render(/* @__PURE__ */ m.jsx(_Ht, { hostElement: this, plugin: t, ref: this.pluginRef, getInitialValue: () => Uxe(this, M6.INSTANCE), children: this.getChildren() }));
|
|
109620
109625
|
}
|
|
109621
109626
|
/**
|
|
109622
109627
|
* Copy stylesheets from the main document to the shadow root
|
|
109623
109628
|
*/
|
|
109624
109629
|
async copyStyles() {
|
|
109625
109630
|
const r = this.shadowRoot;
|
|
109626
|
-
if (
|
|
109631
|
+
if (Vn(r, "Shadow root should exist"), !this.isAdoptedStyleSheetsSupported()) {
|
|
109627
109632
|
He.warn("adoptedStyleSheets not supported, copying stylesheets in a less performance way. Please consider upgrading your browser."), this.copyStylesFallback();
|
|
109628
109633
|
return;
|
|
109629
109634
|
}
|
|
@@ -109648,7 +109653,7 @@ function Wve(t) {
|
|
|
109648
109653
|
}
|
|
109649
109654
|
copyStylesFallback() {
|
|
109650
109655
|
const r = this.shadowRoot;
|
|
109651
|
-
|
|
109656
|
+
Vn(r, "Shadow root should exist"), He.warn("adoptedStyleSheets not supported, copying stylesheets in a less performance way. Please consider upgrading your browser.");
|
|
109652
109657
|
const i = Array.from(document.styleSheets).flatMap((a) => {
|
|
109653
109658
|
if (!Uve(a))
|
|
109654
109659
|
return [];
|
|
@@ -111075,7 +111080,7 @@ function pAe(t, e, n) {
|
|
|
111075
111080
|
}
|
|
111076
111081
|
}, [s, e]), a;
|
|
111077
111082
|
}
|
|
111078
|
-
const
|
|
111083
|
+
const tl = Er(
|
|
111079
111084
|
() => {
|
|
111080
111085
|
const t = cr(), e = cr(), n = mt(0), r = cr(), i = mt(0), a = cr(), o = cr(), s = mt(0), l = mt(0), c = mt(0), u = mt(0), d = cr(), O = cr(), p = mt(!1), g = mt(!1), y = mt(!1);
|
|
111081
111086
|
return Kt(
|
|
@@ -111694,7 +111699,7 @@ const QAe = Er(
|
|
|
111694
111699
|
o
|
|
111695
111700
|
), { groupCounts: a, topItemsIndexes: o };
|
|
111696
111701
|
},
|
|
111697
|
-
Ci(wO,
|
|
111702
|
+
Ci(wO, tl)
|
|
111698
111703
|
), jg = Er(
|
|
111699
111704
|
([{ log: t }]) => {
|
|
111700
111705
|
const e = mt(!1), n = $c(
|
|
@@ -111775,7 +111780,7 @@ const E_ = Er(
|
|
|
111775
111780
|
topListHeight: y
|
|
111776
111781
|
};
|
|
111777
111782
|
},
|
|
111778
|
-
Ci(wO,
|
|
111783
|
+
Ci(wO, tl, zg),
|
|
111779
111784
|
{ singleton: !0 }
|
|
111780
111785
|
);
|
|
111781
111786
|
function UKt(t) {
|
|
@@ -111838,7 +111843,7 @@ const z_ = Er(
|
|
|
111838
111843
|
scrolledToInitialItem: s
|
|
111839
111844
|
};
|
|
111840
111845
|
},
|
|
111841
|
-
Ci(wO,
|
|
111846
|
+
Ci(wO, tl, E_, jg),
|
|
111842
111847
|
{ singleton: !0 }
|
|
111843
111848
|
);
|
|
111844
111849
|
function kAe(t, e) {
|
|
@@ -111985,7 +111990,7 @@ const Zk = "up", B2 = "down", NKt = "none", VKt = {
|
|
|
111985
111990
|
scrollDirection: $,
|
|
111986
111991
|
scrollVelocity: w
|
|
111987
111992
|
};
|
|
111988
|
-
}, Ci(
|
|
111993
|
+
}, Ci(tl)), Rj = "top", Cj = "bottom", Bve = "none";
|
|
111989
111994
|
function Hve(t, e, n) {
|
|
111990
111995
|
return typeof t == "number" ? n === Zk && e === Rj || n === B2 && e === Cj ? t : 0 : n === Zk ? e === Rj ? t.main : t.reverse : e === Cj ? t.main : t.reverse;
|
|
111991
111996
|
}
|
|
@@ -112044,7 +112049,7 @@ const ine = Er(
|
|
|
112044
112049
|
visibleRange: c
|
|
112045
112050
|
};
|
|
112046
112051
|
},
|
|
112047
|
-
Ci(
|
|
112052
|
+
Ci(tl),
|
|
112048
112053
|
{ singleton: !0 }
|
|
112049
112054
|
);
|
|
112050
112055
|
function YKt(t, e, n) {
|
|
@@ -112317,7 +112322,7 @@ const q$ = Er(
|
|
|
112317
112322
|
);
|
|
112318
112323
|
return Kt(kn(o), a), { totalListHeight: o, totalListHeightChanged: a };
|
|
112319
112324
|
},
|
|
112320
|
-
Ci(
|
|
112325
|
+
Ci(tl, q$),
|
|
112321
112326
|
{ singleton: !0 }
|
|
112322
112327
|
), MKt = Er(
|
|
112323
112328
|
([{ viewportHeight: t }, { totalListHeight: e }]) => {
|
|
@@ -112333,7 +112338,7 @@ const q$ = Er(
|
|
|
112333
112338
|
);
|
|
112334
112339
|
return { alignToBottom: n, paddingTopAddition: r };
|
|
112335
112340
|
},
|
|
112336
|
-
Ci(
|
|
112341
|
+
Ci(tl, _Ae),
|
|
112337
112342
|
{ singleton: !0 }
|
|
112338
112343
|
);
|
|
112339
112344
|
function e$e(t) {
|
|
@@ -112400,7 +112405,7 @@ const GKt = (t, e) => typeof t == "function" ? e$e(t(e)) : e && e$e(t), ZKt = Er
|
|
|
112400
112405
|
y && !$.atBottom && $.notAtBottomBecause === "VIEWPORT_HEIGHT_DECREASING" && p("auto");
|
|
112401
112406
|
}), { autoscrollToBottom: d, followOutput: u };
|
|
112402
112407
|
},
|
|
112403
|
-
Ci(wO, j_, E_, z_, jg, zg,
|
|
112408
|
+
Ci(wO, j_, E_, z_, jg, zg, tl)
|
|
112404
112409
|
), LKt = Er(
|
|
112405
112410
|
([{ data: t, firstItemIndex: e, gap: n, sizes: r }, { initialTopMostItemIndex: i }, { initialItemCount: a, listState: o }, { didMount: s }]) => (Kt(
|
|
112406
112411
|
dt(
|
|
@@ -112442,7 +112447,7 @@ const GKt = (t, e) => typeof t == "function" ? e$e(t(e)) : e && e$e(t), ZKt = Er
|
|
|
112442
112447
|
initialScrollTop: r
|
|
112443
112448
|
};
|
|
112444
112449
|
},
|
|
112445
|
-
Ci(jg,
|
|
112450
|
+
Ci(jg, tl, q$),
|
|
112446
112451
|
{ singleton: !0 }
|
|
112447
112452
|
), BKt = ({
|
|
112448
112453
|
itemBottom: t,
|
|
@@ -112488,7 +112493,7 @@ const GKt = (t, e) => typeof t == "function" ? e$e(t(e)) : e && e$e(t), ZKt = Er
|
|
|
112488
112493
|
scrollIntoView: u
|
|
112489
112494
|
};
|
|
112490
112495
|
},
|
|
112491
|
-
Ci(wO,
|
|
112496
|
+
Ci(wO, tl, E_, q$, zg),
|
|
112492
112497
|
{ singleton: !0 }
|
|
112493
112498
|
), RAe = Er(
|
|
112494
112499
|
([{ scrollVelocity: t }]) => {
|
|
@@ -112551,7 +112556,7 @@ const GKt = (t, e) => typeof t == "function" ? e$e(t(e)) : e && e$e(t), ZKt = Er
|
|
|
112551
112556
|
windowScrollTo: i,
|
|
112552
112557
|
windowViewportRect: r
|
|
112553
112558
|
};
|
|
112554
|
-
}, Ci(
|
|
112559
|
+
}, Ci(tl)), KKt = Er(
|
|
112555
112560
|
([
|
|
112556
112561
|
{ sizeRanges: t, sizes: e },
|
|
112557
112562
|
{ headerHeight: n, scrollTop: r },
|
|
@@ -112583,7 +112588,7 @@ const GKt = (t, e) => typeof t == "function" ? e$e(t(e)) : e && e$e(t), ZKt = Er
|
|
|
112583
112588
|
restoreStateFrom: u
|
|
112584
112589
|
};
|
|
112585
112590
|
},
|
|
112586
|
-
Ci(wO,
|
|
112591
|
+
Ci(wO, tl, z_, jg, ane)
|
|
112587
112592
|
);
|
|
112588
112593
|
function JKt(t) {
|
|
112589
112594
|
return { align: "start", index: 0, offset: t.scrollTop };
|
|
@@ -112681,7 +112686,7 @@ const tJt = CAe(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.t
|
|
|
112681
112686
|
}
|
|
112682
112687
|
), { deviation: t };
|
|
112683
112688
|
},
|
|
112684
|
-
Ci(
|
|
112689
|
+
Ci(tl, j_, q$, wO, zg, ene)
|
|
112685
112690
|
), rJt = Er(
|
|
112686
112691
|
([
|
|
112687
112692
|
t,
|
|
@@ -112784,7 +112789,7 @@ const tJt = CAe(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.t
|
|
|
112784
112789
|
Ci(
|
|
112785
112790
|
wO,
|
|
112786
112791
|
z_,
|
|
112787
|
-
|
|
112792
|
+
tl,
|
|
112788
112793
|
KKt,
|
|
112789
112794
|
ZKt,
|
|
112790
112795
|
q$,
|
|
@@ -113557,7 +113562,7 @@ const TJt = /* @__PURE__ */ Er(
|
|
|
113557
113562
|
...S
|
|
113558
113563
|
};
|
|
113559
113564
|
},
|
|
113560
|
-
Ci(ine,
|
|
113565
|
+
Ci(ine, tl, j_, RAe, jg, ane, zg)
|
|
113561
113566
|
);
|
|
113562
113567
|
function IAe(t, e, n) {
|
|
113563
113568
|
return H2(1, Xj((t + n) / (Xj(e) + n)));
|
|
@@ -115833,10 +115838,10 @@ function tWe() {
|
|
|
115833
115838
|
if (et && yn && !kr)
|
|
115834
115839
|
rt.push(Ke);
|
|
115835
115840
|
else {
|
|
115836
|
-
var
|
|
115837
|
-
kr && (
|
|
115841
|
+
var Yn = [Be, bn];
|
|
115842
|
+
kr && (Yn = Yn.concat(kr)), Ye.push({
|
|
115838
115843
|
file: Ke,
|
|
115839
|
-
errors:
|
|
115844
|
+
errors: Yn.filter(function(qn) {
|
|
115840
115845
|
return qn;
|
|
115841
115846
|
})
|
|
115842
115847
|
});
|
|
@@ -118571,9 +118576,9 @@ function wnn(t, e) {
|
|
|
118571
118576
|
t();
|
|
118572
118577
|
}, n[0] = t, n[1] = i) : i = n[1], T.useEffect(i, e);
|
|
118573
118578
|
}
|
|
118574
|
-
var A_ = (t) => t.type === "checkbox", gv = (t) => t instanceof Date,
|
|
118579
|
+
var A_ = (t) => t.type === "checkbox", gv = (t) => t instanceof Date, Ys = (t) => t == null;
|
|
118575
118580
|
const ZWe = (t) => typeof t == "object";
|
|
118576
|
-
var va = (t) => !
|
|
118581
|
+
var va = (t) => !Ys(t) && !Array.isArray(t) && ZWe(t) && !gv(t), LWe = (t) => va(t) && t.target ? A_(t.target) ? t.target.checked : t.target.value : t, xnn = (t) => t.substring(0, t.search(/\.\d+(\.|$)/)) || t, FWe = (t, e) => t.has(xnn(e)), Snn = (t) => {
|
|
118577
118582
|
const e = t.constructor && t.constructor.prototype;
|
|
118578
118583
|
return va(e) && e.hasOwnProperty("isPrototypeOf");
|
|
118579
118584
|
}, gne = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
@@ -118597,7 +118602,7 @@ function Fa(t) {
|
|
|
118597
118602
|
var W_ = (t) => Array.isArray(t) ? t.filter(Boolean) : [], Pi = (t) => t === void 0, pt = (t, e, n) => {
|
|
118598
118603
|
if (!e || !va(t))
|
|
118599
118604
|
return n;
|
|
118600
|
-
const r = W_(e.split(/[,[\].]+?/)).reduce((i, a) =>
|
|
118605
|
+
const r = W_(e.split(/[,[\].]+?/)).reduce((i, a) => Ys(i) ? i : i[a], t);
|
|
118601
118606
|
return Pi(r) || r === t ? Pi(t[e]) ? n : t[e] : r;
|
|
118602
118607
|
}, Bc = (t) => typeof t == "boolean", yne = (t) => /^\w*$/.test(t), BWe = (t) => W_(t.replace(/["|']|\]/g, "").split(/\.|\[/)), br = (t, e, n) => {
|
|
118603
118608
|
let r = -1;
|
|
@@ -118649,10 +118654,10 @@ var JWe = (t, e, n, r = !0) => {
|
|
|
118649
118654
|
}
|
|
118650
118655
|
});
|
|
118651
118656
|
return i;
|
|
118652
|
-
},
|
|
118657
|
+
}, Vs = (t) => va(t) && !Object.keys(t).length, eUe = (t, e, n, r) => {
|
|
118653
118658
|
n(t);
|
|
118654
118659
|
const { name: i, ...a } = t;
|
|
118655
|
-
return
|
|
118660
|
+
return Vs(a) || Object.keys(a).length >= Object.keys(e).length || Object.keys(a).find((o) => e[o] === (!r || nu.all));
|
|
118656
118661
|
}, kl = (t) => Array.isArray(t) ? t : [t], tUe = (t, e, n) => !t || !e || t === e || kl(t).some((r) => r && (n ? r === e : r.startsWith(e) || e.startsWith(r)));
|
|
118657
118662
|
function h7(t) {
|
|
118658
118663
|
const e = ye.useRef(t);
|
|
@@ -118891,7 +118896,7 @@ var y1 = (t) => va(t) && !Aj(t) ? t : {
|
|
|
118891
118896
|
...R(z ? V : I, N)
|
|
118892
118897
|
};
|
|
118893
118898
|
};
|
|
118894
|
-
if (a ? !Array.isArray(x) || !x.length : l && (!E && (j ||
|
|
118899
|
+
if (a ? !Array.isArray(x) || !x.length : l && (!E && (j || Ys(x)) || Bc(x) && !x || _ && !aUe(s).isValid || k && !oUe(s).isValid)) {
|
|
118895
118900
|
const { value: z, message: q } = nE(l) ? { value: !!l, message: l } : y1(l);
|
|
118896
118901
|
if (z && (S[y] = {
|
|
118897
118902
|
type: ih.required,
|
|
@@ -118901,12 +118906,12 @@ var y1 = (t) => va(t) && !Aj(t) ? t : {
|
|
|
118901
118906
|
}, !r))
|
|
118902
118907
|
return P(q), S;
|
|
118903
118908
|
}
|
|
118904
|
-
if (!j && (!
|
|
118909
|
+
if (!j && (!Ys(d) || !Ys(O))) {
|
|
118905
118910
|
let z, q;
|
|
118906
118911
|
const W = y1(O), V = y1(d);
|
|
118907
|
-
if (!
|
|
118912
|
+
if (!Ys(x) && !isNaN(x)) {
|
|
118908
118913
|
const I = o.valueAsNumber || x && +x;
|
|
118909
|
-
|
|
118914
|
+
Ys(W.value) || (z = I > W.value), Ys(V.value) || (q = I < V.value);
|
|
118910
118915
|
} else {
|
|
118911
118916
|
const I = o.valueAsDate || new Date(x), N = (F) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + F), M = o.type == "time", L = o.type == "week";
|
|
118912
118917
|
Uf(W.value) && x && (z = M ? N(x) > N(W.value) : L ? x > W.value : I > new Date(W.value)), Uf(V.value) && x && (q = M ? N(x) < N(V.value) : L ? x < V.value : I < new Date(V.value));
|
|
@@ -118915,7 +118920,7 @@ var y1 = (t) => va(t) && !Aj(t) ? t : {
|
|
|
118915
118920
|
return P(S[y].message), S;
|
|
118916
118921
|
}
|
|
118917
118922
|
if ((c || u) && !j && (Uf(x) || a && Array.isArray(x))) {
|
|
118918
|
-
const z = y1(c), q = y1(u), W = !
|
|
118923
|
+
const z = y1(c), q = y1(u), W = !Ys(z.value) && x.length > +z.value, V = !Ys(q.value) && x.length < +q.value;
|
|
118919
118924
|
if ((W || V) && (C(W, z.message, q.message), !r))
|
|
118920
118925
|
return P(S[y].message), S;
|
|
118921
118926
|
}
|
|
@@ -118940,7 +118945,7 @@ var y1 = (t) => va(t) && !Aj(t) ? t : {
|
|
|
118940
118945
|
} else if (va(g)) {
|
|
118941
118946
|
let z = {};
|
|
118942
118947
|
for (const q in g) {
|
|
118943
|
-
if (!
|
|
118948
|
+
if (!Vs(z) && !r)
|
|
118944
118949
|
break;
|
|
118945
118950
|
const W = T$e(await g[q](x, n), v, q);
|
|
118946
118951
|
W && (z = {
|
|
@@ -118948,7 +118953,7 @@ var y1 = (t) => va(t) && !Aj(t) ? t : {
|
|
|
118948
118953
|
...R(q, W.message)
|
|
118949
118954
|
}, P(W.message), r && (S[y] = z));
|
|
118950
118955
|
}
|
|
118951
|
-
if (!
|
|
118956
|
+
if (!Vs(z) && (S[y] = {
|
|
118952
118957
|
ref: v,
|
|
118953
118958
|
...z
|
|
118954
118959
|
}, !r))
|
|
@@ -118997,7 +119002,7 @@ function Rnn(t) {
|
|
|
118997
119002
|
}
|
|
118998
119003
|
function ka(t, e) {
|
|
118999
119004
|
const n = Array.isArray(e) ? e : yne(e) ? [e] : BWe(e), r = n.length === 1 ? t : _nn(t, n), i = n.length - 1, a = n[i];
|
|
119000
|
-
return r && delete r[a], i !== 0 && (va(r) &&
|
|
119005
|
+
return r && delete r[a], i !== 0 && (va(r) && Vs(r) || Array.isArray(r) && Rnn(r)) && ka(t, n.slice(0, -1)), t;
|
|
119001
119006
|
}
|
|
119002
119007
|
var _$e = (t, e, n) => (t[e] = n, t);
|
|
119003
119008
|
function sUe(t) {
|
|
@@ -119069,7 +119074,7 @@ function sUe(t) {
|
|
|
119069
119074
|
});
|
|
119070
119075
|
else {
|
|
119071
119076
|
const k = pt(n._fields, r);
|
|
119072
|
-
k && k._f && !(K2(n._options.reValidateMode).isOnSubmit && K2(n._options.mode).isOnSubmit) && AF(k, n._names.disabled, n._formValues, n._options.criteriaMode === nu.all, n._options.shouldUseNativeValidation, !0).then((_) => !
|
|
119077
|
+
k && k._f && !(K2(n._options.reValidateMode).isOnSubmit && K2(n._options.mode).isOnSubmit) && AF(k, n._names.disabled, n._formValues, n._options.criteriaMode === nu.all, n._options.shouldUseNativeValidation, !0).then((_) => !Vs(_) && n._subjects.state.next({
|
|
119073
119078
|
errors: iUe(n._formState.errors, _, r)
|
|
119074
119079
|
}));
|
|
119075
119080
|
}
|
|
@@ -119116,7 +119121,7 @@ var RI = () => {
|
|
|
119116
119121
|
t = [];
|
|
119117
119122
|
}
|
|
119118
119123
|
};
|
|
119119
|
-
}, WF = (t) =>
|
|
119124
|
+
}, WF = (t) => Ys(t) || !ZWe(t);
|
|
119120
119125
|
function hm(t, e) {
|
|
119121
119126
|
if (WF(t) || WF(e))
|
|
119122
119127
|
return t === e;
|
|
@@ -119147,14 +119152,14 @@ function Wj(t, e = {}) {
|
|
|
119147
119152
|
const n = Array.isArray(t);
|
|
119148
119153
|
if (va(t) || n)
|
|
119149
119154
|
for (const r in t)
|
|
119150
|
-
Array.isArray(t[r]) || va(t[r]) && !cUe(t[r]) ? (e[r] = Array.isArray(t[r]) ? [] : {}, Wj(t[r], e[r])) :
|
|
119155
|
+
Array.isArray(t[r]) || va(t[r]) && !cUe(t[r]) ? (e[r] = Array.isArray(t[r]) ? [] : {}, Wj(t[r], e[r])) : Ys(t[r]) || (e[r] = !0);
|
|
119151
119156
|
return e;
|
|
119152
119157
|
}
|
|
119153
119158
|
function uUe(t, e, n) {
|
|
119154
119159
|
const r = Array.isArray(t);
|
|
119155
119160
|
if (va(t) || r)
|
|
119156
119161
|
for (const i in t)
|
|
119157
|
-
Array.isArray(t[i]) || va(t[i]) && !cUe(t[i]) ? Pi(e) || WF(n[i]) ? n[i] = Array.isArray(t[i]) ? Wj(t[i], []) : { ...Wj(t[i]) } : uUe(t[i],
|
|
119162
|
+
Array.isArray(t[i]) || va(t[i]) && !cUe(t[i]) ? Pi(e) || WF(n[i]) ? n[i] = Array.isArray(t[i]) ? Wj(t[i], []) : { ...Wj(t[i]) } : uUe(t[i], Ys(e) ? {} : e[i], n[i]) : n[i] = !hm(t[i], e[i]);
|
|
119158
119163
|
return n;
|
|
119159
119164
|
}
|
|
119160
119165
|
var mP = (t, e) => uUe(t, e, Wj(e)), dUe = (t, { valueAsNumber: e, valueAsDate: n, setValueAs: r }) => Pi(t) ? t : e ? t === "" ? NaN : t && +t : n && Uf(t) ? new Date(t) : r ? r(t) : t;
|
|
@@ -119251,7 +119256,7 @@ function Ann(t = {}) {
|
|
|
119251
119256
|
clearTimeout(c), c = setTimeout(se, pe);
|
|
119252
119257
|
}, $ = async (se) => {
|
|
119253
119258
|
if (!e.disabled && (u.isValid || se)) {
|
|
119254
|
-
const pe = e.resolver ?
|
|
119259
|
+
const pe = e.resolver ? Vs((await E()).errors) : await R(r, !0);
|
|
119255
119260
|
pe !== n.isValid && d.state.next({
|
|
119256
119261
|
isValid: pe
|
|
119257
119262
|
});
|
|
@@ -119261,7 +119266,7 @@ function Ann(t = {}) {
|
|
|
119261
119266
|
$e && (pe ? br(n.validatingFields, $e, pe) : ka(n.validatingFields, $e));
|
|
119262
119267
|
}), d.state.next({
|
|
119263
119268
|
validatingFields: n.validatingFields,
|
|
119264
|
-
isValidating: !
|
|
119269
|
+
isValidating: !Vs(n.validatingFields)
|
|
119265
119270
|
}));
|
|
119266
119271
|
}, x = (se, pe = [], $e, Qe, Ee = !0, Xe = !0) => {
|
|
119267
119272
|
if (Qe && $e && !e.disabled) {
|
|
@@ -119322,7 +119327,7 @@ function Ann(t = {}) {
|
|
|
119322
119327
|
return Xe ? ze : {};
|
|
119323
119328
|
}, _ = (se, pe, $e, Qe) => {
|
|
119324
119329
|
const Ee = pt(n.errors, se), Xe = u.isValid && Bc(pe) && n.isValid !== pe;
|
|
119325
|
-
if (e.delayError && $e ? (l = y(() => v(se, $e)), l(e.delayError)) : (clearTimeout(c), l = null, $e ? br(n.errors, se, $e) : ka(n.errors, se)), ($e ? !hm(Ee, $e) : Ee) || !
|
|
119330
|
+
if (e.delayError && $e ? (l = y(() => v(se, $e)), l(e.delayError)) : (clearTimeout(c), l = null, $e ? br(n.errors, se, $e) : ka(n.errors, se)), ($e ? !hm(Ee, $e) : Ee) || !Vs(Qe) || Xe) {
|
|
119326
119331
|
const ke = {
|
|
119327
119332
|
...Qe,
|
|
119328
119333
|
...Xe && Bc(pe) ? { isValid: pe } : {},
|
|
@@ -119363,7 +119368,7 @@ function Ann(t = {}) {
|
|
|
119363
119368
|
break;
|
|
119364
119369
|
!pe && (pt(Ye, Xe.name) ? ze ? iUe(n.errors, Ye, Xe.name) : br(n.errors, Xe.name, Ye[Xe.name]) : ka(n.errors, Xe.name));
|
|
119365
119370
|
}
|
|
119366
|
-
!
|
|
119371
|
+
!Vs(ke) && await R(ke, pe, $e);
|
|
119367
119372
|
}
|
|
119368
119373
|
}
|
|
119369
119374
|
return $e.valid;
|
|
@@ -119380,7 +119385,7 @@ function Ann(t = {}) {
|
|
|
119380
119385
|
let Ee = pe;
|
|
119381
119386
|
if (Qe) {
|
|
119382
119387
|
const Xe = Qe._f;
|
|
119383
|
-
Xe && (!Xe.disabled && br(a, se, dUe(pe, Xe)), Ee = Dj(Xe.ref) &&
|
|
119388
|
+
Xe && (!Xe.disabled && br(a, se, dUe(pe, Xe)), Ee = Dj(Xe.ref) && Ys(pe) ? "" : pe, lUe(Xe.ref) ? [...Xe.ref.options].forEach((ke) => ke.selected = Ee.includes(ke.value)) : Xe.refs ? A_(Xe.ref) ? Xe.refs.length > 1 ? Xe.refs.forEach((ke) => (!ke.defaultChecked || !ke.disabled) && (ke.checked = Array.isArray(Ee) ? !!Ee.find((ze) => ze === ke.value) : Ee === ke.value)) : Xe.refs[0] && (Xe.refs[0].checked = !!Ee) : Xe.refs.forEach((ke) => ke.checked = ke.value === Ee) : vne(Xe.ref) ? Xe.ref.value = "" : (Xe.ref.value = Ee, Xe.ref.type || d.values.next({
|
|
119384
119389
|
name: se,
|
|
119385
119390
|
values: { ...a }
|
|
119386
119391
|
})));
|
|
@@ -119400,7 +119405,7 @@ function Ann(t = {}) {
|
|
|
119400
119405
|
name: se,
|
|
119401
119406
|
dirtyFields: mP(i, a),
|
|
119402
119407
|
isDirty: z(se, Xe)
|
|
119403
|
-
})) : Qe && !Qe._f && !
|
|
119408
|
+
})) : Qe && !Qe._f && !Ys(Xe) ? I(se, Xe, $e) : V(se, Xe, $e), DF(se, s) && d.state.next({ ...n }), d.values.next({
|
|
119404
119409
|
name: o.mount ? se : void 0,
|
|
119405
119410
|
values: { ...a }
|
|
119406
119411
|
});
|
|
@@ -119415,7 +119420,7 @@ function Ann(t = {}) {
|
|
|
119415
119420
|
let ze, rt;
|
|
119416
119421
|
const Ye = Xe(), Ke = se.type === qj.BLUR || se.type === qj.FOCUS_OUT, gt = !znn(Ee._f) && !e.resolver && !pt(n.errors, $e) && !Ee._f.deps || jnn(Ke, pt(n.touchedFields, $e), n.isSubmitted, p, O), Ie = DF($e, s, Ke);
|
|
119417
119422
|
br(a, $e, Ye), Ke ? (Ee._f.onBlur && Ee._f.onBlur(se), l && l(0)) : Ee._f.onChange && Ee._f.onChange(se);
|
|
119418
|
-
const et = k($e, Ye, Ke, !1), Be = !
|
|
119423
|
+
const et = k($e, Ye, Ke, !1), Be = !Vs(et) || Ie;
|
|
119419
119424
|
if (!Ke && d.values.next({
|
|
119420
119425
|
name: $e,
|
|
119421
119426
|
type: se.type,
|
|
@@ -119426,7 +119431,7 @@ function Ann(t = {}) {
|
|
|
119426
119431
|
const { errors: vt } = await E([$e]);
|
|
119427
119432
|
if (ke(Ye), Qe) {
|
|
119428
119433
|
const Yt = C$e(n.errors, r, $e), yn = C$e(vt, r, Yt.name || $e);
|
|
119429
|
-
ze = yn.error, $e = yn.name, rt =
|
|
119434
|
+
ze = yn.error, $e = yn.name, rt = Vs(vt);
|
|
119430
119435
|
}
|
|
119431
119436
|
} else
|
|
119432
119437
|
w([$e], !0), ze = (await AF(Ee, s.disabled, a, g, e.shouldUseNativeValidation))[$e], w([$e]), ke(Ye), Qe && (ze ? rt = !1 : u.isValid && (rt = await R(r, !0)));
|
|
@@ -119440,7 +119445,7 @@ function Ann(t = {}) {
|
|
|
119440
119445
|
const Ee = kl(se);
|
|
119441
119446
|
if (e.resolver) {
|
|
119442
119447
|
const Xe = await j(Pi(se) ? se : Ee);
|
|
119443
|
-
$e =
|
|
119448
|
+
$e = Vs(Xe), Qe = se ? !Ee.some((ke) => pt(Xe, ke)) : $e;
|
|
119444
119449
|
} else se ? (Qe = (await Promise.all(Ee.map(async (Xe) => {
|
|
119445
119450
|
const ke = pt(r, Xe);
|
|
119446
119451
|
return await R(ke && ke._f ? { [Xe]: ke } : ke);
|
|
@@ -119561,7 +119566,7 @@ function Ann(t = {}) {
|
|
|
119561
119566
|
n.errors = Xe, Ee = ke;
|
|
119562
119567
|
} else
|
|
119563
119568
|
await R(r);
|
|
119564
|
-
if (ka(n.errors, "root"),
|
|
119569
|
+
if (ka(n.errors, "root"), Vs(n.errors)) {
|
|
119565
119570
|
d.state.next({
|
|
119566
119571
|
errors: {}
|
|
119567
119572
|
});
|
|
@@ -119575,7 +119580,7 @@ function Ann(t = {}) {
|
|
|
119575
119580
|
if (d.state.next({
|
|
119576
119581
|
isSubmitted: !0,
|
|
119577
119582
|
isSubmitting: !1,
|
|
119578
|
-
isSubmitSuccessful:
|
|
119583
|
+
isSubmitSuccessful: Vs(n.errors) && !Qe,
|
|
119579
119584
|
submitCount: n.submitCount + 1,
|
|
119580
119585
|
errors: n.errors
|
|
119581
119586
|
}), Qe)
|
|
@@ -119583,7 +119588,7 @@ function Ann(t = {}) {
|
|
|
119583
119588
|
}, G = (se, pe = {}) => {
|
|
119584
119589
|
pt(r, se) && (Pi(pe.defaultValue) ? N(se, Fa(pt(i, se))) : (N(se, pe.defaultValue), br(i, se, Fa(pe.defaultValue))), pe.keepTouched || ka(n.touchedFields, se), pe.keepDirty || (ka(n.dirtyFields, se), n.isDirty = pe.defaultValue ? z(se, Fa(pt(i, se))) : z()), pe.keepError || (ka(n.errors, se), u.isValid && $()), d.state.next({ ...n }));
|
|
119585
119590
|
}, le = (se, pe = {}) => {
|
|
119586
|
-
const $e = se ? Fa(se) : i, Qe = Fa($e), Ee =
|
|
119591
|
+
const $e = se ? Fa(se) : i, Qe = Fa($e), Ee = Vs(se), Xe = Ee ? i : Qe;
|
|
119587
119592
|
if (pe.keepDefaultValues || (i = $e), !pe.keepValues) {
|
|
119588
119593
|
if (pe.keepDirtyValues) {
|
|
119589
119594
|
const ke = /* @__PURE__ */ new Set([
|
|
@@ -120551,7 +120556,7 @@ function drn(t, e) {
|
|
|
120551
120556
|
}
|
|
120552
120557
|
} : void 0;
|
|
120553
120558
|
}
|
|
120554
|
-
const frn = ye.lazy(() => import("./index-
|
|
120559
|
+
const frn = ye.lazy(() => import("./index-DVulcGld.js").then((t) => ({
|
|
120555
120560
|
default: t.Vega
|
|
120556
120561
|
}))), Orn = (t) => {
|
|
120557
120562
|
const e = he.c(8), {
|
|
@@ -124258,14 +124263,14 @@ const van = (t) => {
|
|
|
124258
124263
|
let bn;
|
|
124259
124264
|
e[42] !== te || e[43] !== K || e[44] !== ce || e[45] !== G || e[46] !== i ? (bn = ce && /* @__PURE__ */ m.jsx(san, { children: /* @__PURE__ */ m.jsx(can, { getRow: K, fieldTypes: G, totalRows: i, rowIdx: te, setRowIdx: ne }) }), e[42] = te, e[43] = K, e[44] = ce, e[45] = G, e[46] = i, e[47] = bn) : bn = e[47];
|
|
124260
124265
|
const kr = u ? y : void 0;
|
|
124261
|
-
let In;
|
|
124262
|
-
e[48] === Symbol.for("react.memo_cache_sentinel") ? (In = (ir) => ne(ir), e[48] = In) : In = e[48];
|
|
124263
|
-
let qn;
|
|
124264
|
-
e[49] !== Ie || e[50] !== N || e[51] !== L || e[52] !== w || e[53] !== Xe || e[54] !== r || e[55] !== S || e[56] !== E || e[57] !== C || e[58] !== z || e[59] !== I || e[60] !== Be || e[61] !== Ke || e[62] !== ce || e[63] !== o || e[64] !== p || e[65] !== R || e[66] !== rt || e[67] !== k || e[68] !== s || e[69] !== j || e[70] !== g || e[71] !== _ || e[72] !== P || e[73] !== c || e[74] !== v || e[75] !== kr || e[76] !== M || e[77] !== ie || e[78] !== V || e[79] !== i ? (qn = /* @__PURE__ */ m.jsx(R9e, { data: r, columns: Xe, className: w, sorting: v, totalRows: i, totalColumns: V, manualSorting: !0, setSorting: P, pagination: o, manualPagination: !0, selection: s, paginationState: p, setPaginationState: g, rowSelection: rt, cellSelection: Ie, cellStyling: N, downloadAs: kr, enableSearch: S, searchQuery: k, onSearchQueryChange: _, showFilters: c, filters: E, onFiltersChange: j, reloading: R, onRowSelectionChange: Ke, freezeColumnsLeft: C, freezeColumnsRight: z, onCellSelectionChange: Be, getRowIds: I, toggleDisplayHeader: M, chartsFeatureEnabled: L, toggleRowViewerPanel: ie, isRowViewerPanelOpen: ce, onFocusRowChange: In }), e[49] = Ie, e[50] = N, e[51] = L, e[52] = w, e[53] = Xe, e[54] = r, e[55] = S, e[56] = E, e[57] = C, e[58] = z, e[59] = I, e[60] = Be, e[61] = Ke, e[62] = ce, e[63] = o, e[64] = p, e[65] = R, e[66] = rt, e[67] = k, e[68] = s, e[69] = j, e[70] = g, e[71] = _, e[72] = P, e[73] = c, e[74] = v, e[75] = kr, e[76] = M, e[77] = ie, e[78] = V, e[79] = i, e[80] = qn) : qn = e[80];
|
|
124265
124266
|
let Yn;
|
|
124266
|
-
e[
|
|
124267
|
+
e[48] === Symbol.for("react.memo_cache_sentinel") ? (Yn = (ir) => ne(ir), e[48] = Yn) : Yn = e[48];
|
|
124268
|
+
let qn;
|
|
124269
|
+
e[49] !== Ie || e[50] !== N || e[51] !== L || e[52] !== w || e[53] !== Xe || e[54] !== r || e[55] !== S || e[56] !== E || e[57] !== C || e[58] !== z || e[59] !== I || e[60] !== Be || e[61] !== Ke || e[62] !== ce || e[63] !== o || e[64] !== p || e[65] !== R || e[66] !== rt || e[67] !== k || e[68] !== s || e[69] !== j || e[70] !== g || e[71] !== _ || e[72] !== P || e[73] !== c || e[74] !== v || e[75] !== kr || e[76] !== M || e[77] !== ie || e[78] !== V || e[79] !== i ? (qn = /* @__PURE__ */ m.jsx(R9e, { data: r, columns: Xe, className: w, sorting: v, totalRows: i, totalColumns: V, manualSorting: !0, setSorting: P, pagination: o, manualPagination: !0, selection: s, paginationState: p, setPaginationState: g, rowSelection: rt, cellSelection: Ie, cellStyling: N, downloadAs: kr, enableSearch: S, searchQuery: k, onSearchQueryChange: _, showFilters: c, filters: E, onFiltersChange: j, reloading: R, onRowSelectionChange: Ke, freezeColumnsLeft: C, freezeColumnsRight: z, onCellSelectionChange: Be, getRowIds: I, toggleDisplayHeader: M, chartsFeatureEnabled: L, toggleRowViewerPanel: ie, isRowViewerPanelOpen: ce, onFocusRowChange: Yn }), e[49] = Ie, e[50] = N, e[51] = L, e[52] = w, e[53] = Xe, e[54] = r, e[55] = S, e[56] = E, e[57] = C, e[58] = z, e[59] = I, e[60] = Be, e[61] = Ke, e[62] = ce, e[63] = o, e[64] = p, e[65] = R, e[66] = rt, e[67] = k, e[68] = s, e[69] = j, e[70] = g, e[71] = _, e[72] = P, e[73] = c, e[74] = v, e[75] = kr, e[76] = M, e[77] = ie, e[78] = V, e[79] = i, e[80] = qn) : qn = e[80];
|
|
124270
|
+
let Mn;
|
|
124271
|
+
e[81] !== n || e[82] !== qn ? (Mn = /* @__PURE__ */ m.jsx(sa, { label: n, align: "top", fullWidth: !0, children: qn }), e[81] = n, e[82] = qn, e[83] = Mn) : Mn = e[83];
|
|
124267
124272
|
let ti;
|
|
124268
|
-
e[84] !== re || e[85] !==
|
|
124273
|
+
e[84] !== re || e[85] !== Mn ? (ti = /* @__PURE__ */ m.jsx(O9e.Provider, { value: re, children: Mn }), e[84] = re, e[85] = Mn, e[86] = ti) : ti = e[86];
|
|
124269
124274
|
let ua;
|
|
124270
124275
|
return e[87] !== vt || e[88] !== Yt || e[89] !== yn || e[90] !== bn || e[91] !== ti ? (ua = /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
124271
124276
|
vt,
|
|
@@ -124446,7 +124451,7 @@ class Nan {
|
|
|
124446
124451
|
return /* @__PURE__ */ m.jsx(Van, { ...e.data, children: e.children });
|
|
124447
124452
|
}
|
|
124448
124453
|
}
|
|
124449
|
-
const Van = ye.lazy(() => import("./slides-component-
|
|
124454
|
+
const Van = ye.lazy(() => import("./slides-component-BKUzmIP4.js"));
|
|
124450
124455
|
class Ian {
|
|
124451
124456
|
constructor() {
|
|
124452
124457
|
this.tagName = "marimo-tex", this.validator = U.object({});
|
|
@@ -126402,7 +126407,7 @@ function abe(t) {
|
|
|
126402
126407
|
maxDecimalPoints: 2
|
|
126403
126408
|
});
|
|
126404
126409
|
}
|
|
126405
|
-
const xon = ye.lazy(() => import("./vega-component-
|
|
126410
|
+
const xon = ye.lazy(() => import("./vega-component-hwl1-DOi.js"));
|
|
126406
126411
|
class Son {
|
|
126407
126412
|
constructor() {
|
|
126408
126413
|
this.tagName = "marimo-vega", this.validator = U.object({
|
|
@@ -127613,7 +127618,7 @@ class osn {
|
|
|
127613
127618
|
return /* @__PURE__ */ m.jsx(x8e, { ...e.data, host: e.host, value: e.value, setValue: e.setValue });
|
|
127614
127619
|
}
|
|
127615
127620
|
}
|
|
127616
|
-
const ssn = T.lazy(() => import("./react-plotly-
|
|
127621
|
+
const ssn = T.lazy(() => import("./react-plotly-CcW9K5VG.js").then((t) => t.r));
|
|
127617
127622
|
function VI(t) {
|
|
127618
127623
|
return {
|
|
127619
127624
|
autosize: t.layout.width === void 0,
|
|
@@ -127840,7 +127845,7 @@ const gsn = (t) => {
|
|
|
127840
127845
|
e[19] !== v || e[20] !== p || e[21] !== o || e[22] !== a || e[23] !== i || e[24] !== t.language || e[25] !== t.placeholder || e[26] !== t.showCopyButton || e[27] !== k || e[28] !== P || e[29] !== S ? (_ = /* @__PURE__ */ m.jsx(C9e, { className: P, theme: S, minHeight: i, maxHeight: a, placeholder: t.placeholder, editable: k, value: o, language: t.language, onChange: p, showCopyButton: t.showCopyButton, extensions: v }), e[19] = v, e[20] = p, e[21] = o, e[22] = a, e[23] = i, e[24] = t.language, e[25] = t.placeholder, e[26] = t.showCopyButton, e[27] = k, e[28] = P, e[29] = S, e[30] = _) : _ = e[30];
|
|
127841
127846
|
let E;
|
|
127842
127847
|
return e[31] !== t.label || e[32] !== _ ? (E = /* @__PURE__ */ m.jsx(Cl, { children: /* @__PURE__ */ m.jsx(sa, { label: t.label, align: "top", fullWidth: !0, children: _ }) }), e[31] = t.label, e[32] = _, e[33] = E) : E = e[33], E;
|
|
127843
|
-
}, ysn = ye.lazy(() => import("./ConnectedDataExplorerComponent-
|
|
127848
|
+
}, ysn = ye.lazy(() => import("./ConnectedDataExplorerComponent-CBR3lLiH.js")), vsn = jd("marimo-data-explorer").withData(U.object({
|
|
127844
127849
|
label: U.string().nullish(),
|
|
127845
127850
|
data: U.string()
|
|
127846
127851
|
})).renderer((t) => /* @__PURE__ */ m.jsx(Cl, { children: /* @__PURE__ */ m.jsx(ysn, { ...t.data, value: t.value, setValue: t.setValue }) }));
|
|
@@ -127854,7 +127859,7 @@ class $sn {
|
|
|
127854
127859
|
return /* @__PURE__ */ m.jsx(bsn, { diagram: e.data.diagram });
|
|
127855
127860
|
}
|
|
127856
127861
|
}
|
|
127857
|
-
const bsn = T.lazy(() => import("./mermaid-
|
|
127862
|
+
const bsn = T.lazy(() => import("./mermaid-BTXSFGrD.js").then((t) => t.ao));
|
|
127858
127863
|
class wsn {
|
|
127859
127864
|
constructor(e = 1e4) {
|
|
127860
127865
|
this.timeout = e, this.models = /* @__PURE__ */ new Map();
|
|
@@ -132255,7 +132260,7 @@ const dun = jd("marimo-chatbot").withData(U.object({
|
|
|
132255
132260
|
function pun(t) {
|
|
132256
132261
|
return !t || Object.keys(t).length === 0 ? "auto" : Ur.mapValues(t, (e) => e === "date" || e === "time" ? "string" : e === "datetime" ? "date" : e);
|
|
132257
132262
|
}
|
|
132258
|
-
const mun = ye.lazy(() => import("./data-editor-
|
|
132263
|
+
const mun = ye.lazy(() => import("./data-editor-CsYdNCB9.js")), gun = jd("marimo-data-editor", {
|
|
132259
132264
|
cssStyles: [fun, Oun, hun]
|
|
132260
132265
|
}).withData(U.object({
|
|
132261
132266
|
initialValue: U.object({
|
|
@@ -146010,19 +146015,19 @@ function ma() {
|
|
|
146010
146015
|
t.lexical.prev && (t.lexical.type == ")" && (t.indented = t.lexical.indented), t.lexical = t.lexical.prev);
|
|
146011
146016
|
}
|
|
146012
146017
|
ma.lex = !0;
|
|
146013
|
-
function
|
|
146018
|
+
function Is(t) {
|
|
146014
146019
|
function e(n) {
|
|
146015
146020
|
return n == t ? qt() : t == ";" ? rp() : qt(e);
|
|
146016
146021
|
}
|
|
146017
146022
|
return e;
|
|
146018
146023
|
}
|
|
146019
146024
|
function zh(t) {
|
|
146020
|
-
return t == "@" ? qt(EB) : t == "var" ? qt(Ba("vardef"), Ore,
|
|
146025
|
+
return t == "@" ? qt(EB) : t == "var" ? qt(Ba("vardef"), Ore, Is(";"), ma) : t == "keyword a" ? qt(Ba("form"), Ou, zh, ma) : t == "keyword b" ? qt(Ba("form"), zh, ma) : t == "{" ? qt(Ba("}"), XB, zB, ma, uq) : t == ";" ? qt() : t == "attribute" ? qt(qYe) : t == "function" ? qt(dT) : t == "for" ? qt(
|
|
146021
146026
|
Ba("form"),
|
|
146022
|
-
|
|
146027
|
+
Is("("),
|
|
146023
146028
|
Ba(")"),
|
|
146024
146029
|
mwn,
|
|
146025
|
-
|
|
146030
|
+
Is(")"),
|
|
146026
146031
|
ma,
|
|
146027
146032
|
zh,
|
|
146028
146033
|
ma
|
|
@@ -146030,23 +146035,23 @@ function zh(t) {
|
|
|
146030
146035
|
Ba("form"),
|
|
146031
146036
|
Ou,
|
|
146032
146037
|
Ba("}", "switch"),
|
|
146033
|
-
|
|
146038
|
+
Is("{"),
|
|
146034
146039
|
zB,
|
|
146035
146040
|
ma,
|
|
146036
146041
|
ma
|
|
146037
|
-
) : t == "case" ? qt(Ou,
|
|
146042
|
+
) : t == "case" ? qt(Ou, Is(":")) : t == "default" ? qt(Is(":")) : t == "catch" ? qt(
|
|
146038
146043
|
Ba("form"),
|
|
146039
146044
|
XB,
|
|
146040
|
-
|
|
146045
|
+
Is("("),
|
|
146041
146046
|
WYe,
|
|
146042
|
-
|
|
146047
|
+
Is(")"),
|
|
146043
146048
|
zh,
|
|
146044
146049
|
ma,
|
|
146045
146050
|
uq
|
|
146046
|
-
) : t == "import" ? qt(DYe,
|
|
146051
|
+
) : t == "import" ? qt(DYe, Is(";")) : t == "typedef" ? qt(fwn) : rp(Ba("stat"), Ou, Is(";"), ma);
|
|
146047
146052
|
}
|
|
146048
146053
|
function Ou(t) {
|
|
146049
|
-
return EYe.hasOwnProperty(t) || t == "type" ? qt(_f) : t == "function" ? qt(dT) : t == "keyword c" ? qt(EY) : t == "(" ? qt(Ba(")"), EY,
|
|
146054
|
+
return EYe.hasOwnProperty(t) || t == "type" ? qt(_f) : t == "function" ? qt(dT) : t == "keyword c" ? qt(EY) : t == "(" ? qt(Ba(")"), EY, Is(")"), ma, _f) : t == "operator" ? qt(Ou) : t == "[" ? qt(Ba("]"), Cw(EY, "]"), ma, _f) : t == "{" ? qt(Ba("}"), Cw(pwn, "}"), ma, _f) : qt();
|
|
146050
146055
|
}
|
|
146051
146056
|
function EY(t) {
|
|
146052
146057
|
return t.match(/[;\}\)\],]/) ? rp() : rp(Ou);
|
|
@@ -146057,7 +146062,7 @@ function _f(t, e) {
|
|
|
146057
146062
|
if (t != ";") {
|
|
146058
146063
|
if (t == "(") return qt(Ba(")"), Cw(Ou, ")"), ma, _f);
|
|
146059
146064
|
if (t == ".") return qt(hwn, _f);
|
|
146060
|
-
if (t == "[") return qt(Ba("]"), Ou,
|
|
146065
|
+
if (t == "[") return qt(Ba("]"), Ou, Is("]"), ma, _f);
|
|
146061
146066
|
}
|
|
146062
146067
|
}
|
|
146063
146068
|
function qYe(t) {
|
|
@@ -146084,18 +146089,18 @@ function fwn(t, e) {
|
|
|
146084
146089
|
return qt();
|
|
146085
146090
|
}
|
|
146086
146091
|
function Own(t) {
|
|
146087
|
-
return t == ":" ? qt(ma, zh) : rp(_f,
|
|
146092
|
+
return t == ":" ? qt(ma, zh) : rp(_f, Is(";"), ma);
|
|
146088
146093
|
}
|
|
146089
146094
|
function hwn(t) {
|
|
146090
146095
|
if (t == "variable")
|
|
146091
146096
|
return Ui.marked = "property", qt();
|
|
146092
146097
|
}
|
|
146093
146098
|
function pwn(t) {
|
|
146094
|
-
if (t == "variable" && (Ui.marked = "property"), EYe.hasOwnProperty(t)) return qt(
|
|
146099
|
+
if (t == "variable" && (Ui.marked = "property"), EYe.hasOwnProperty(t)) return qt(Is(":"), Ou);
|
|
146095
146100
|
}
|
|
146096
146101
|
function Cw(t, e) {
|
|
146097
146102
|
function n(r) {
|
|
146098
|
-
return r == "," ? qt(t, n) : r == e ? qt() : qt(
|
|
146103
|
+
return r == "," ? qt(t, n) : r == e ? qt() : qt(Is(e));
|
|
146099
146104
|
}
|
|
146100
146105
|
return function(r) {
|
|
146101
146106
|
return r == e ? qt() : rp(t, n);
|
|
@@ -151748,7 +151753,7 @@ function V$(t) {
|
|
|
151748
151753
|
return Lf(t) ? n = "tag" : Cv(t) ? n = "block-keyword" : c$(t) ? n = "property" : e in ZPn || e in r2n ? n = "atom" : e == "return" || e in LPn ? n = "keyword" : t.match(/^[A-Z]/) && (n = "string"), n;
|
|
151749
151754
|
}
|
|
151750
151755
|
function QGe(t, e) {
|
|
151751
|
-
return
|
|
151756
|
+
return Ms(e) && (t == "{" || t == "]" || t == "hash" || t == "qualifier") || t == "block-mixin";
|
|
151752
151757
|
}
|
|
151753
151758
|
function PGe(t, e) {
|
|
151754
151759
|
return t == "{" && e.match(/^\s*\$?[\w-]+/i, !1);
|
|
@@ -151759,7 +151764,7 @@ function kGe(t, e) {
|
|
|
151759
151764
|
function lv(t) {
|
|
151760
151765
|
return t.sol() || t.string.match(new RegExp("^\\s*" + IPn(t.current())));
|
|
151761
151766
|
}
|
|
151762
|
-
function
|
|
151767
|
+
function Ms(t) {
|
|
151763
151768
|
return t.eol() || t.match(/^\s*$/, !1);
|
|
151764
151769
|
}
|
|
151765
151770
|
function tu(t) {
|
|
@@ -151767,33 +151772,33 @@ function tu(t) {
|
|
|
151767
151772
|
return n ? n[0].replace(/^\s*/, "") : "";
|
|
151768
151773
|
}
|
|
151769
151774
|
Pc.block = function(t, e, n) {
|
|
151770
|
-
if (t == "comment" && lv(e) || t == "," &&
|
|
151775
|
+
if (t == "comment" && lv(e) || t == "," && Ms(e) || t == "mixin")
|
|
151771
151776
|
return on(n, e, "block", 0);
|
|
151772
151777
|
if (PGe(t, e))
|
|
151773
151778
|
return on(n, e, "interpolation");
|
|
151774
|
-
if (
|
|
151779
|
+
if (Ms(e) && t == "]" && !/^\s*(\.|#|:|\[|\*|&)/.test(e.string) && !Lf(tu(e)))
|
|
151775
151780
|
return on(n, e, "block", 0);
|
|
151776
151781
|
if (QGe(t, e))
|
|
151777
151782
|
return on(n, e, "block");
|
|
151778
|
-
if (t == "}" &&
|
|
151783
|
+
if (t == "}" && Ms(e))
|
|
151779
151784
|
return on(n, e, "block", 0);
|
|
151780
151785
|
if (t == "variable-name")
|
|
151781
151786
|
return e.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/) || Cv(tu(e)) ? on(n, e, "variableName") : on(n, e, "variableName", 0);
|
|
151782
151787
|
if (t == "=")
|
|
151783
|
-
return !
|
|
151784
|
-
if (t == "*" && (
|
|
151788
|
+
return !Ms(e) && !Cv(tu(e)) ? on(n, e, "block", 0) : on(n, e, "block");
|
|
151789
|
+
if (t == "*" && (Ms(e) || e.match(/\s*(,|\.|#|\[|:|{)/, !1)))
|
|
151785
151790
|
return Rn = "tag", on(n, e, "block");
|
|
151786
151791
|
if (kGe(t, e))
|
|
151787
151792
|
return on(n, e, "pseudo");
|
|
151788
151793
|
if (/@(font-face|media|supports|(-moz-)?document)/.test(t))
|
|
151789
|
-
return on(n, e,
|
|
151794
|
+
return on(n, e, Ms(e) ? "block" : "atBlock");
|
|
151790
151795
|
if (/@(-(moz|ms|o|webkit)-)?keyframes$/.test(t))
|
|
151791
151796
|
return on(n, e, "keyframes");
|
|
151792
151797
|
if (/@extends?/.test(t))
|
|
151793
151798
|
return on(n, e, "extend", 0);
|
|
151794
151799
|
if (t && t.charAt(0) == "@")
|
|
151795
151800
|
return e.indentation() > 0 && c$(e.current().slice(1)) ? (Rn = "variable", "block") : /(@import|@require|@charset)/.test(t) ? on(n, e, "block", 0) : on(n, e, "block");
|
|
151796
|
-
if (t == "reference" &&
|
|
151801
|
+
if (t == "reference" && Ms(e))
|
|
151797
151802
|
return on(n, e, "block");
|
|
151798
151803
|
if (t == "(")
|
|
151799
151804
|
return on(n, e, "parens");
|
|
@@ -151808,7 +151813,7 @@ Pc.block = function(t, e, n) {
|
|
|
151808
151813
|
return Rn = "atom", "block";
|
|
151809
151814
|
if (Tre.test(r) && (lv(e) && e.string.match(/=/) || !lv(e) && !e.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/) && !Lf(tu(e))))
|
|
151810
151815
|
return Rn = "variable", Cv(tu(e)) ? "block" : on(n, e, "block", 0);
|
|
151811
|
-
if (
|
|
151816
|
+
if (Ms(e)) return on(n, e, "block");
|
|
151812
151817
|
}
|
|
151813
151818
|
if (Rn == "block-keyword")
|
|
151814
151819
|
return Rn = "keyword", e.current(/(if|unless)/) && !lv(e) ? "block" : on(n, e, "block");
|
|
@@ -151821,7 +151826,7 @@ Pc.block = function(t, e, n) {
|
|
|
151821
151826
|
Pc.parens = function(t, e, n) {
|
|
151822
151827
|
if (t == "(") return on(n, e, "parens");
|
|
151823
151828
|
if (t == ")")
|
|
151824
|
-
return n.context.prev.type == "parens" ? l$(n, e) : e.string.match(/^[a-z][\w-]*\(/i) &&
|
|
151829
|
+
return n.context.prev.type == "parens" ? l$(n, e) : e.string.match(/^[a-z][\w-]*\(/i) && Ms(e) || Cv(tu(e)) || /(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(tu(e)) || !e.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/) && Lf(tu(e)) ? on(n, e, "block") : e.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/) || e.string.match(/^\s*(\(|\)|[0-9])/) || e.string.match(/^\s+[a-z][\w-]*\(/i) || e.string.match(/^\s+[\$-]?[a-z]/i) ? on(n, e, "block", 0) : Ms(e) ? on(n, e, "block") : on(n, e, "block", 0);
|
|
151825
151830
|
if (t && t.charAt(0) == "@" && c$(e.current().slice(1)) && (Rn = "variable"), t == "word") {
|
|
151826
151831
|
var r = e.current();
|
|
151827
151832
|
Rn = V$(r), Rn == "tag" && Tre.test(r) && (Rn = "variable"), (Rn == "property" || r == "to") && (Rn = "atom");
|
|
@@ -151832,7 +151837,7 @@ Pc.vendorPrefixes = function(t, e, n) {
|
|
|
151832
151837
|
return t == "word" ? (Rn = "property", on(n, e, "block", 0)) : l$(n, e);
|
|
151833
151838
|
};
|
|
151834
151839
|
Pc.pseudo = function(t, e, n) {
|
|
151835
|
-
return c$(tu(e.string)) ? _re(t, e, n) : (e.match(/^[a-z-]+/), Rn = "variableName.special",
|
|
151840
|
+
return c$(tu(e.string)) ? _re(t, e, n) : (e.match(/^[a-z-]+/), Rn = "variableName.special", Ms(e) ? on(n, e, "block") : l$(n, e));
|
|
151836
151841
|
};
|
|
151837
151842
|
Pc.atBlock = function(t, e, n) {
|
|
151838
151843
|
if (t == "(") return on(n, e, "atBlock_parens");
|
|
@@ -151842,7 +151847,7 @@ Pc.atBlock = function(t, e, n) {
|
|
|
151842
151847
|
return on(n, e, "interpolation");
|
|
151843
151848
|
if (t == "word") {
|
|
151844
151849
|
var r = e.current().toLowerCase();
|
|
151845
|
-
if (/^(only|not|and|or)$/.test(r) ? Rn = "keyword" : FPn.hasOwnProperty(r) ? Rn = "tag" : KPn.hasOwnProperty(r) ? Rn = "attribute" : HPn.hasOwnProperty(r) ? Rn = "property" : GPn.hasOwnProperty(r) ? Rn = "string.special" : Rn = V$(e.current()), Rn == "tag" &&
|
|
151850
|
+
if (/^(only|not|and|or)$/.test(r) ? Rn = "keyword" : FPn.hasOwnProperty(r) ? Rn = "tag" : KPn.hasOwnProperty(r) ? Rn = "attribute" : HPn.hasOwnProperty(r) ? Rn = "property" : GPn.hasOwnProperty(r) ? Rn = "string.special" : Rn = V$(e.current()), Rn == "tag" && Ms(e))
|
|
151846
151851
|
return on(n, e, "block");
|
|
151847
151852
|
}
|
|
151848
151853
|
return t == "operator" && /^(not|and|or)$/.test(e.current()) && (Rn = "keyword"), n.context.type;
|
|
@@ -151850,7 +151855,7 @@ Pc.atBlock = function(t, e, n) {
|
|
|
151850
151855
|
Pc.atBlock_parens = function(t, e, n) {
|
|
151851
151856
|
if (t == "{" || t == "}") return n.context.type;
|
|
151852
151857
|
if (t == ")")
|
|
151853
|
-
return
|
|
151858
|
+
return Ms(e) ? on(n, e, "block") : on(n, e, "atBlock");
|
|
151854
151859
|
if (t == "word") {
|
|
151855
151860
|
var r = e.current().toLowerCase();
|
|
151856
151861
|
return Rn = V$(r), /^(max|min)/.test(r) && (Rn = "property"), Rn == "tag" && (Tre.test(r) ? Rn = "variable" : Rn = "atom"), n.context.type;
|
|
@@ -151858,7 +151863,7 @@ Pc.atBlock_parens = function(t, e, n) {
|
|
|
151858
151863
|
return Pc.atBlock(t, e, n);
|
|
151859
151864
|
};
|
|
151860
151865
|
Pc.keyframes = function(t, e, n) {
|
|
151861
|
-
return e.indentation() == "0" && (t == "}" && lv(e) || t == "]" || t == "hash" || t == "qualifier" || Lf(e.current())) ? _re(t, e, n) : t == "{" ? on(n, e, "keyframes") : t == "}" ? lv(e) ? l$(n, e, !0) : on(n, e, "keyframes") : t == "unit" && /^[0-9]+\%$/.test(e.current()) ? on(n, e, "keyframes") : t == "word" && (Rn = V$(e.current()), Rn == "block-keyword") ? (Rn = "keyword", on(n, e, "keyframes")) : /@(font-face|media|supports|(-moz-)?document)/.test(t) ? on(n, e,
|
|
151866
|
+
return e.indentation() == "0" && (t == "}" && lv(e) || t == "]" || t == "hash" || t == "qualifier" || Lf(e.current())) ? _re(t, e, n) : t == "{" ? on(n, e, "keyframes") : t == "}" ? lv(e) ? l$(n, e, !0) : on(n, e, "keyframes") : t == "unit" && /^[0-9]+\%$/.test(e.current()) ? on(n, e, "keyframes") : t == "word" && (Rn = V$(e.current()), Rn == "block-keyword") ? (Rn = "keyword", on(n, e, "keyframes")) : /@(font-face|media|supports|(-moz-)?document)/.test(t) ? on(n, e, Ms(e) ? "block" : "atBlock") : t == "mixin" ? on(n, e, "block", 0) : n.context.type;
|
|
151862
151867
|
};
|
|
151863
151868
|
Pc.interpolation = function(t, e, n) {
|
|
151864
151869
|
return t == "{" && l$(n, e) && on(n, e, "block"), t == "}" ? e.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i) || e.string.match(/^\s*[a-z]/i) && Lf(tu(e)) ? on(n, e, "block") : !e.string.match(/^(\{|\s*\&)/) || e.match(/\s*[\w-]/, !1) ? on(n, e, "block", 0) : on(n, e, "block") : t == "variable-name" ? on(n, e, "variableName", 0) : (t == "word" && (Rn = V$(e.current()), Rn == "tag" && (Rn = "atom")), n.context.type);
|
|
@@ -152247,7 +152252,7 @@ function Bwe(t, e, n) {
|
|
|
152247
152252
|
if (n === "*")
|
|
152248
152253
|
return t.eat("*") ? Jl(t, e, "bold", /\*\*/, 2) : Jl(t, e, "strong", /\*/, 1);
|
|
152249
152254
|
if (n === "[")
|
|
152250
|
-
return t.match(/\d+\]/) && (e.footCite = !0),
|
|
152255
|
+
return t.match(/\d+\]/) && (e.footCite = !0), Us(e);
|
|
152251
152256
|
if (n === "(") {
|
|
152252
152257
|
var r = t.match(/^(r|tm|c)\)/);
|
|
152253
152258
|
if (r)
|
|
@@ -152275,19 +152280,19 @@ function Bwe(t, e, n) {
|
|
|
152275
152280
|
var i = Jl(t, e, "image", /(?:\([^\)]+\))?!/, 1);
|
|
152276
152281
|
return t.match(/^:\S+/), i;
|
|
152277
152282
|
}
|
|
152278
|
-
return
|
|
152283
|
+
return Us(e);
|
|
152279
152284
|
}
|
|
152280
152285
|
function Jl(t, e, n, r, i) {
|
|
152281
152286
|
var a = t.pos > i ? t.string.charAt(t.pos - i - 1) : null, o = t.peek();
|
|
152282
152287
|
if (e[n]) {
|
|
152283
152288
|
if ((!o || /\W/.test(o)) && a && /\S/.test(a)) {
|
|
152284
|
-
var s =
|
|
152289
|
+
var s = Us(e);
|
|
152285
152290
|
return e[n] = !1, s;
|
|
152286
152291
|
}
|
|
152287
152292
|
} else (!a || /\W/.test(a)) && o && /\S/.test(o) && t.match(new RegExp("^.*\\S" + r.source + "(?:\\W|$)"), !1) && (e[n] = !0, e.mode = Mi.attributes);
|
|
152288
|
-
return
|
|
152293
|
+
return Us(e);
|
|
152289
152294
|
}
|
|
152290
|
-
function
|
|
152295
|
+
function Us(t) {
|
|
152291
152296
|
var e = EGe(t);
|
|
152292
152297
|
if (e) return e;
|
|
152293
152298
|
var n = [];
|
|
@@ -152443,33 +152448,33 @@ var Mi = {
|
|
|
152443
152448
|
r = n[0];
|
|
152444
152449
|
else
|
|
152445
152450
|
return (e.mode = Mi.text)(t, e);
|
|
152446
|
-
return (n = r.match(Wr("header"))) ? (e.layoutType = "header", e.header = parseInt(n[0][1])) : r.match(Wr("bq")) ? e.layoutType = "quote" : r.match(Wr("bc")) ? e.layoutType = "code" : r.match(Wr("foot")) ? e.layoutType = "footnote" : r.match(Wr("notextile")) ? e.layoutType = "notextile" : r.match(Wr("pre")) ? e.layoutType = "pre" : r.match(Wr("div")) ? e.layoutType = "div" : r.match(Wr("table")) && (e.layoutType = "table"), e.mode = Mi.attributes,
|
|
152451
|
+
return (n = r.match(Wr("header"))) ? (e.layoutType = "header", e.header = parseInt(n[0][1])) : r.match(Wr("bq")) ? e.layoutType = "quote" : r.match(Wr("bc")) ? e.layoutType = "code" : r.match(Wr("foot")) ? e.layoutType = "footnote" : r.match(Wr("notextile")) ? e.layoutType = "notextile" : r.match(Wr("pre")) ? e.layoutType = "pre" : r.match(Wr("div")) ? e.layoutType = "div" : r.match(Wr("table")) && (e.layoutType = "table"), e.mode = Mi.attributes, Us(e);
|
|
152447
152452
|
},
|
|
152448
152453
|
text: function(t, e) {
|
|
152449
|
-
if (t.match(Wr("text"))) return
|
|
152454
|
+
if (t.match(Wr("text"))) return Us(e);
|
|
152450
152455
|
var n = t.next();
|
|
152451
152456
|
return n === '"' ? (e.mode = Mi.link)(t, e) : Bwe(t, e, n);
|
|
152452
152457
|
},
|
|
152453
152458
|
attributes: function(t, e) {
|
|
152454
|
-
return e.mode = Mi.layoutLength, t.match(Wr("attributes")) ? Oc.attributes :
|
|
152459
|
+
return e.mode = Mi.layoutLength, t.match(Wr("attributes")) ? Oc.attributes : Us(e);
|
|
152455
152460
|
},
|
|
152456
152461
|
layoutLength: function(t, e) {
|
|
152457
|
-
return t.eat(".") && t.eat(".") && (e.spanningLayout = !0), e.mode = Mi.text,
|
|
152462
|
+
return t.eat(".") && t.eat(".") && (e.spanningLayout = !0), e.mode = Mi.text, Us(e);
|
|
152458
152463
|
},
|
|
152459
152464
|
list: function(t, e) {
|
|
152460
152465
|
var n = t.match(Wr("list"));
|
|
152461
152466
|
e.listDepth = n[0].length;
|
|
152462
152467
|
var r = (e.listDepth - 1) % 3;
|
|
152463
|
-
return r ? r === 1 ? e.layoutType = "list2" : e.layoutType = "list3" : e.layoutType = "list1", e.mode = Mi.attributes,
|
|
152468
|
+
return r ? r === 1 ? e.layoutType = "list2" : e.layoutType = "list3" : e.layoutType = "list1", e.mode = Mi.attributes, Us(e);
|
|
152464
152469
|
},
|
|
152465
152470
|
link: function(t, e) {
|
|
152466
|
-
return e.mode = Mi.text, t.match(Wr("link")) ? (t.match(/\S+/), Oc.link) :
|
|
152471
|
+
return e.mode = Mi.text, t.match(Wr("link")) ? (t.match(/\S+/), Oc.link) : Us(e);
|
|
152467
152472
|
},
|
|
152468
152473
|
linkDefinition: function(t) {
|
|
152469
152474
|
return t.skipToEnd(), Oc.linkDefinition;
|
|
152470
152475
|
},
|
|
152471
152476
|
definitionList: function(t, e) {
|
|
152472
|
-
return t.match(Wr("definitionList")), e.layoutType = "definitionList", t.match(/\s*$/) ? e.spanningLayout = !0 : e.mode = Mi.attributes,
|
|
152477
|
+
return t.match(Wr("definitionList")), e.layoutType = "definitionList", t.match(/\s*$/) ? e.spanningLayout = !0 : e.mode = Mi.attributes, Us(e);
|
|
152473
152478
|
},
|
|
152474
152479
|
html: function(t) {
|
|
152475
152480
|
return t.skipToEnd(), Oc.html;
|
|
@@ -152478,13 +152483,13 @@ var Mi = {
|
|
|
152478
152483
|
return e.layoutType = "table", (e.mode = Mi.tableCell)(t, e);
|
|
152479
152484
|
},
|
|
152480
152485
|
tableCell: function(t, e) {
|
|
152481
|
-
return t.match(Wr("tableHeading")) ? e.tableHeading = !0 : t.eat("|"), e.mode = Mi.tableCellAttributes,
|
|
152486
|
+
return t.match(Wr("tableHeading")) ? e.tableHeading = !0 : t.eat("|"), e.mode = Mi.tableCellAttributes, Us(e);
|
|
152482
152487
|
},
|
|
152483
152488
|
tableCellAttributes: function(t, e) {
|
|
152484
|
-
return e.mode = Mi.tableText, t.match(Wr("tableCellAttributes")) ? Oc.attributes :
|
|
152489
|
+
return e.mode = Mi.tableText, t.match(Wr("tableCellAttributes")) ? Oc.attributes : Us(e);
|
|
152485
152490
|
},
|
|
152486
152491
|
tableText: function(t, e) {
|
|
152487
|
-
return t.match(Wr("tableText")) ?
|
|
152492
|
+
return t.match(Wr("tableText")) ? Us(e) : t.peek() === "|" ? (e.mode = Mi.tableCell, Us(e)) : Bwe(t, e, t.next());
|
|
152488
152493
|
}
|
|
152489
152494
|
};
|
|
152490
152495
|
const zGe = {
|
|
@@ -152919,25 +152924,25 @@ const UGe = {
|
|
|
152919
152924
|
__proto__: null,
|
|
152920
152925
|
troff: UGe
|
|
152921
152926
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
152922
|
-
function
|
|
152927
|
+
function dl(t) {
|
|
152923
152928
|
for (var e = {}, n = t.split(" "), r = 0; r < n.length; ++r) e[n[r]] = !0;
|
|
152924
152929
|
return e;
|
|
152925
152930
|
}
|
|
152926
152931
|
const ao = {
|
|
152927
|
-
keywords:
|
|
152928
|
-
builtin:
|
|
152929
|
-
types:
|
|
152930
|
-
timerOps:
|
|
152931
|
-
portOps:
|
|
152932
|
-
configOps:
|
|
152933
|
-
verdictOps:
|
|
152934
|
-
sutOps:
|
|
152935
|
-
functionOps:
|
|
152936
|
-
verdictConsts:
|
|
152937
|
-
booleanConsts:
|
|
152938
|
-
otherConsts:
|
|
152939
|
-
visibilityModifiers:
|
|
152940
|
-
templateMatch:
|
|
152932
|
+
keywords: dl("activate address alive all alt altstep and and4b any break case component const continue control deactivate display do else encode enumerated except exception execute extends extension external for from function goto group if import in infinity inout interleave label language length log match message mixed mod modifies module modulepar mtc noblock not not4b nowait of on optional or or4b out override param pattern port procedure record recursive rem repeat return runs select self sender set signature system template testcase to type union value valueof var variant while with xor xor4b"),
|
|
152933
|
+
builtin: dl("bit2hex bit2int bit2oct bit2str char2int char2oct encvalue decomp decvalue float2int float2str hex2bit hex2int hex2oct hex2str int2bit int2char int2float int2hex int2oct int2str int2unichar isbound ischosen ispresent isvalue lengthof log2str oct2bit oct2char oct2hex oct2int oct2str regexp replace rnd sizeof str2bit str2float str2hex str2int str2oct substr unichar2int unichar2char enum2int"),
|
|
152934
|
+
types: dl("anytype bitstring boolean char charstring default float hexstring integer objid octetstring universal verdicttype timer"),
|
|
152935
|
+
timerOps: dl("read running start stop timeout"),
|
|
152936
|
+
portOps: dl("call catch check clear getcall getreply halt raise receive reply send trigger"),
|
|
152937
|
+
configOps: dl("create connect disconnect done kill killed map unmap"),
|
|
152938
|
+
verdictOps: dl("getverdict setverdict"),
|
|
152939
|
+
sutOps: dl("action"),
|
|
152940
|
+
functionOps: dl("apply derefers refers"),
|
|
152941
|
+
verdictConsts: dl("error fail inconc none pass"),
|
|
152942
|
+
booleanConsts: dl("true false"),
|
|
152943
|
+
otherConsts: dl("null NULL omit"),
|
|
152944
|
+
visibilityModifiers: dl("private public friend"),
|
|
152945
|
+
templateMatch: dl("complement ifpresent subset superset permutation")
|
|
152941
152946
|
};
|
|
152942
152947
|
var NGe = [];
|
|
152943
152948
|
function L7(t) {
|
|
@@ -154988,7 +154993,7 @@ const eTn = (t) => {
|
|
|
154988
154993
|
if (R.channel === "pdb")
|
|
154989
154994
|
return null;
|
|
154990
154995
|
if (R.channel === "stdin") {
|
|
154991
|
-
|
|
154996
|
+
Vn(typeof R.data == "string", "Expected data to be a string");
|
|
154992
154997
|
const z = r.length - C - 1;
|
|
154993
154998
|
return R.response == null && k === C ? /* @__PURE__ */ m.jsx(iTn, { output: R.data, isPdb: S, onSubmit: (q) => s(q, z), onClear: l }, C) : /* @__PURE__ */ m.jsx(aTn, { output: R.data, response: R.response }, C);
|
|
154994
154999
|
}
|
|
@@ -155429,7 +155434,7 @@ async function STn() {
|
|
|
155429
155434
|
function QTn() {
|
|
155430
155435
|
return null;
|
|
155431
155436
|
}
|
|
155432
|
-
const PTn = ye.lazy(() => import("./slides-component-
|
|
155437
|
+
const PTn = ye.lazy(() => import("./slides-component-BKUzmIP4.js")), kTn = (t) => {
|
|
155433
155438
|
const e = he.c(11), {
|
|
155434
155439
|
cells: n,
|
|
155435
155440
|
mode: r
|
|
@@ -155854,7 +155859,7 @@ export {
|
|
|
155854
155859
|
k2 as bA,
|
|
155855
155860
|
Hq as bB,
|
|
155856
155861
|
NQe as bC,
|
|
155857
|
-
|
|
155862
|
+
Vn as bD,
|
|
155858
155863
|
Zw as bE,
|
|
155859
155864
|
Gt as bF,
|
|
155860
155865
|
Xl as bG,
|
|
@@ -155945,7 +155950,7 @@ export {
|
|
|
155945
155950
|
M_n as c_,
|
|
155946
155951
|
kh as ca,
|
|
155947
155952
|
X6 as cb,
|
|
155948
|
-
|
|
155953
|
+
Ks as cc,
|
|
155949
155954
|
R_n as cd,
|
|
155950
155955
|
C_n as ce,
|
|
155951
155956
|
lRn as cf,
|
|
@@ -156016,14 +156021,14 @@ export {
|
|
|
156016
156021
|
z_n as dk,
|
|
156017
156022
|
U6e as dl,
|
|
156018
156023
|
Qc as dm,
|
|
156019
|
-
|
|
156024
|
+
Gs as dn,
|
|
156020
156025
|
tp as dp,
|
|
156021
156026
|
yYt as dq,
|
|
156022
156027
|
Tu as dr,
|
|
156023
156028
|
gYt as ds,
|
|
156024
156029
|
iO as dt,
|
|
156025
156030
|
_u as du,
|
|
156026
|
-
|
|
156031
|
+
Js as dv,
|
|
156027
156032
|
hYt as dw,
|
|
156028
156033
|
Sc as dx,
|
|
156029
156034
|
Sd as dy,
|