@layers-app/editor 2.0.0 → 2.0.1-new-architecture
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/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/{layers.DZ8kS2XN.js → layers.20TgpRm0.js} +1 -1
- package/dist/{layers.Bbc0Fq6_.js → layers.3oUnXxVU.js} +1 -1
- package/dist/{layers.DqBEwdGe.js → layers.40V2gven.js} +1 -1
- package/dist/{layers.Bzgt5bC1.js → layers.Axz2vv_I.js} +1 -1
- package/dist/{layers.DgsYo2QR.js → layers.B0JeDQ3k.js} +1 -1
- package/dist/{layers.ZN9MPYnc.js → layers.B0rXuNjU.js} +1 -1
- package/dist/{layers.Cn5VFMuq.js → layers.B4w02yX1.js} +1 -1
- package/dist/{layers.CYUqS84O.js → layers.B6E_G8iS.js} +1 -1
- package/dist/{layers.DF0rHfTp.js → layers.B7J481a9.js} +1 -1
- package/dist/{layers.BR2_aObN.js → layers.BAKCt4AA.js} +1 -1
- package/dist/{layers.0n9tOLJR.js → layers.BARjp86-.js} +1 -1
- package/dist/{layers.D-w9Z4tN.js → layers.BCNlyCI6.js} +1 -1
- package/dist/{layers.PMO2flSd.js → layers.BDD2PMSR.js} +1 -1
- package/dist/{layers.CXLJhzDM.js → layers.BDga68DG.js} +4 -4
- package/dist/{layers.JqOmX12A.js → layers.BEGH2rDf.js} +2 -2
- package/dist/{layers.Dwk1vezB.js → layers.BGMCF2U-.js} +1 -1
- package/dist/{layers.SqQ9Aark.js → layers.BHIR3rmZ.js} +1 -1
- package/dist/{layers.iFFZCWxB.js → layers.BHtcotFq.js} +1 -1
- package/dist/{layers.CNNMUyNF.js → layers.BIte8ux5.js} +1 -1
- package/dist/{layers.Cew8vQyx.js → layers.BL3FVfv7.js} +4 -4
- package/dist/{layers.C-zRlOp9.js → layers.BLmdZBXr.js} +1 -1
- package/dist/{layers.FpALQLh8.js → layers.BMEs0Y9W.js} +1 -1
- package/dist/{layers.C4LQ2fIz.js → layers.BMJ0Ai5-.js} +1 -1
- package/dist/{layers.CKVDGcxe.js → layers.BMfSo1tn.js} +1 -1
- package/dist/{layers.D8c8C77Z.js → layers.BNjBKGxV.js} +1 -1
- package/dist/{layers.C5MN1Slv.js → layers.BPmcyIMU.js} +1 -1
- package/dist/{layers.C48pk2gt.js → layers.BRQxN3mM.js} +1 -1
- package/dist/{layers.7b6Sr-e2.js → layers.BZaIEKP7.js} +1 -1
- package/dist/{layers.D--56caD.js → layers.BatgN3aO.js} +1 -1
- package/dist/{layers._6_mAbZV.js → layers.BbNQlLgH.js} +1 -1
- package/dist/{layers.DXh3aeBo.js → layers.BduPFbvP.js} +1 -1
- package/dist/{layers.-Wn95z9u.js → layers.BeBUpu5s.js} +1 -1
- package/dist/{layers.CdSkGD_A.js → layers.BeFT4ELF.js} +2 -2
- package/dist/{layers.BSG9aWHx.js → layers.BfMu19T_.js} +1 -1
- package/dist/{layers.CwN0ob-s.js → layers.Bgoy1h38.js} +1 -1
- package/dist/{layers.BZS58zec.js → layers.Bivrugb1.js} +1 -1
- package/dist/{layers.DkEAbtH4.js → layers.Bjt4KLTd.js} +1 -1
- package/dist/{layers.Bfkd7o3k.js → layers.BkO3mrIu.js} +1 -1
- package/dist/{layers.CmpNLGJ2.js → layers.BkaiG3Fg.js} +3 -3
- package/dist/{layers.n78U7Otm.js → layers.BoQG7GIL.js} +1 -1
- package/dist/{layers.DCl9XQEF.js → layers.BomdlrIn.js} +12108 -12005
- package/dist/{layers.DYUtR2fp.js → layers.Bp35THsO.js} +4 -4
- package/dist/{layers.CEYq00Ld.js → layers.Bpms-2_e.js} +1 -1
- package/dist/{layers.D8DBLQfx.js → layers.BqZ9o2pg.js} +4 -4
- package/dist/{layers.BtQjrZ_E.js → layers.BqnxWQgl.js} +1 -1
- package/dist/{layers.cFC17aWl.js → layers.Br5zoz1u.js} +1 -1
- package/dist/{layers.DKFdBWRX.js → layers.Bt_ACak3.js} +3 -3
- package/dist/{layers.DT7PN1oU.js → layers.Bu60yYUa.js} +1 -1
- package/dist/{layers.D1xcY7Ah.js → layers.Bu61tP0z.js} +1 -1
- package/dist/{layers.CCGReV2X.js → layers.Bu9Up-tq.js} +1 -1
- package/dist/{layers.CoRR8zlF.js → layers.BvnS3k1q.js} +1 -1
- package/dist/{layers.vzR9Kr1z.js → layers.BxK_-1aD.js} +1 -1
- package/dist/{layers.eId3i77Y.js → layers.ByEx31p3.js} +1 -1
- package/dist/{layers.BWX7gfYH.js → layers.Bz3CDJmR.js} +1 -1
- package/dist/{layers.7ljwlILE.js → layers.BzaT8ifZ.js} +1 -1
- package/dist/{layers.QvKpugnc.js → layers.C1N_bqHy.js} +1 -1
- package/dist/{layers.CaNprPIC.js → layers.C21daAhl.js} +1 -1
- package/dist/{layers.DZvl8-ka.js → layers.C3u_BG-0.js} +1 -1
- package/dist/{layers.da2GN6rB.js → layers.C5AzPVY2.js} +1 -1
- package/dist/{layers.C7tJV_fe.js → layers.C5FMas2u.js} +1 -1
- package/dist/{layers.CpKvj4E_.js → layers.C87FDxBn.js} +1 -1
- package/dist/{layers.Bul1bZqf.js → layers.C8JqWz5c.js} +1 -1
- package/dist/{layers._8vvdnE3.js → layers.C9AxPPXB.js} +1 -1
- package/dist/{layers.Ssw-GJwn.js → layers.CA7nhVB7.js} +25 -25
- package/dist/{layers.P1FOBzuE.js → layers.CC391kpN.js} +44 -44
- package/dist/{layers.CfdlbuO2.js → layers.CC7YWRjd.js} +5 -5
- package/dist/{layers.cl9aMZKC.js → layers.CDo-gq5Y.js} +1 -1
- package/dist/layers.CE-Ih2D9.js +6 -0
- package/dist/{layers.r_1W3wVe.js → layers.CEj_L2DM.js} +1 -1
- package/dist/{layers.Cr_AWMl7.js → layers.CH1tcylL.js} +3 -3
- package/dist/{layers.GN7VR5UR.js → layers.CHE_2zWU.js} +1 -1
- package/dist/{layers.C6Ap8naY.js → layers.CIciNx_f.js} +3 -3
- package/dist/{layers.BULwITNl.js → layers.CLNQrvOv.js} +1 -1
- package/dist/{layers.CImPO5b3.js → layers.CLqXXEkO.js} +1 -1
- package/dist/{layers.D-K2I0oL.js → layers.CNFwREGJ.js} +1 -1
- package/dist/{layers.CPvGkNNS.js → layers.CNxlXdzN.js} +1 -1
- package/dist/{layers.BWA0SYCL.js → layers.COH2YX52.js} +1 -1
- package/dist/{layers.B-K4ysUz.js → layers.COftU7gM.js} +15 -15
- package/dist/{layers.DQpFOzD_.js → layers.CQowG6s2.js} +1 -1
- package/dist/{layers.DXsjU8lF.js → layers.CRGuQCJG.js} +1 -1
- package/dist/{layers.TEk58zNl.js → layers.CS41xMfn.js} +1 -1
- package/dist/{layers.Cqqs-CNY.js → layers.CTIpvS9D.js} +1 -1
- package/dist/{layers.Bzo9hY08.js → layers.CTUz44Ut.js} +1 -1
- package/dist/{layers.CoA08DBN.js → layers.CUXMdJLw.js} +1 -1
- package/dist/{layers.CAVf5y4W.js → layers.CUhuuURx.js} +1 -1
- package/dist/{layers.CqZHWOyM.js → layers.CVOLeAc7.js} +1 -1
- package/dist/{layers.B-BtIChS.js → layers.CVRDVpxj.js} +1 -1
- package/dist/{layers.eox9K2Zj.js → layers.CVy7M-Gp.js} +1 -1
- package/dist/{layers.D6oAdc-5.js → layers.CX8m_p93.js} +1 -1
- package/dist/{layers.Dq0foSvc.js → layers.CXeoN1Ge.js} +1 -1
- package/dist/{layers.s4lw4N2t.js → layers.CXhmtSKV.js} +1 -1
- package/dist/{layers.DGzs5vgx.js → layers.C_-dbT74.js} +1 -1
- package/dist/{layers.CBNdM3rC.js → layers.CaWM8JjT.js} +1 -1
- package/dist/{layers.H9mr4KnR.js → layers.CbwJTLn6.js} +1 -1
- package/dist/{layers.DK1g6hwS.js → layers.CchAb9nv.js} +1 -1
- package/dist/{layers.DCz0ESa1.js → layers.CeAiXsT3.js} +1 -1
- package/dist/{layers.pEY1RvqA.js → layers.Ce_tx5Ta.js} +1 -1
- package/dist/{layers.BYklsRX5.js → layers.ChaCBK-u.js} +1 -1
- package/dist/{layers.CwZfJIux.js → layers.Cho5NExB.js} +1 -1
- package/dist/{layers.BKrFbA5E.js → layers.CiOiybP-.js} +1 -1
- package/dist/{layers.YSxSWWyi.js → layers.CjQDL9gl.js} +1 -1
- package/dist/{layers.DJqITfC0.js → layers.CjZVkzqv.js} +1 -1
- package/dist/{layers.IX3LiVv0.js → layers.CjZvdT82.js} +1 -1
- package/dist/{layers.B2C3Xde1.js → layers.CkGxw81s.js} +1 -1
- package/dist/{layers.C_85PTm3.js → layers.CkZxUSTt.js} +1 -1
- package/dist/{layers.BEqfa0rk.js → layers.ClWMD04-.js} +1 -1
- package/dist/{layers.B9L8FNuH.js → layers.Clp9eZc9.js} +4 -4
- package/dist/{layers.B_nbFl2b.js → layers.Cm8bJ9cf.js} +1 -1
- package/dist/{layers.B31t4PDR.js → layers.CmAtGJh7.js} +1 -1
- package/dist/{layers.BoF3_SJ5.js → layers.CqVP9mmH.js} +1 -1
- package/dist/{layers.CATbSjcw.js → layers.CrrHadhD.js} +3 -3
- package/dist/{layers.BI22O8oT.js → layers.CshJILPF.js} +1 -1
- package/dist/{layers.B0nVA5VN.js → layers.CuIIP1Wq.js} +1 -1
- package/dist/{layers.xcADTR5l.js → layers.CwIh-lMY.js} +1 -1
- package/dist/{layers.DhlyKPR4.js → layers.Cz-7m8wF.js} +1 -1
- package/dist/{layers.oVGrc8XW.js → layers.CzFbHgfT.js} +4 -4
- package/dist/{layers.NZJbx2mk.js → layers.CzS-hqpN.js} +1 -1
- package/dist/{layers.CD0LXQWo.js → layers.D-xWE8tY.js} +1 -1
- package/dist/{layers.DnDkNB69.js → layers.D0P_LT6U.js} +5 -5
- package/dist/{layers.C10A41mA.js → layers.D0QH04fz.js} +63 -63
- package/dist/{layers.sOVWTLJq.js → layers.D0g4IeHj.js} +1 -1
- package/dist/{layers.DC2DEwg4.js → layers.D3qJ851i.js} +1 -1
- package/dist/{layers.BiAh9b7U.js → layers.D4rUzYwy.js} +1 -1
- package/dist/{layers.D8HP57rd.js → layers.D8EHiwOT.js} +1 -1
- package/dist/{layers.CHZgVz3i.js → layers.D9UwPYXq.js} +6 -6
- package/dist/{layers.D8d9Z1zt.js → layers.DAvm4L10.js} +1 -1
- package/dist/{layers.Cm7715Px.js → layers.DE119MDn.js} +1 -1
- package/dist/{layers.DHXnTHyz.js → layers.DF2M3UYm.js} +3 -3
- package/dist/{layers.DuJJviCF.js → layers.DFgIZtJ9.js} +1 -1
- package/dist/{layers.BkNLVxxO.js → layers.DIuCEcc2.js} +1 -1
- package/dist/{layers.DvUuN-9Q.js → layers.DJ3iAN0U.js} +1 -1
- package/dist/{layers.Bf2vRA5Q.js → layers.DNQnIdLK.js} +1 -1
- package/dist/{layers.BbCM0gvc.js → layers.DNgU1jRx.js} +1 -1
- package/dist/{layers.Cb-OraJP.js → layers.DP01WlB2.js} +1 -1
- package/dist/{layers.DWU3TNFN.js → layers.DPXAQJRi.js} +1 -1
- package/dist/{layers.DUGzhsvk.js → layers.DS01xfMm.js} +1 -1
- package/dist/{layers.CQrKRxpk.js → layers.DSmOlQuv.js} +1 -1
- package/dist/{layers.Bao2m_Yy.js → layers.DSu3tlVI.js} +1 -1
- package/dist/{layers.BWD-Vyek.js → layers.DTS_ext4.js} +1 -1
- package/dist/{layers.BrUuYZV0.js → layers.DTu4-jKF.js} +1 -1
- package/dist/{layers.DJsaypus.js → layers.Daiz2gt1.js} +3 -3
- package/dist/{layers.DnGRg1hq.js → layers.DawmBKJz.js} +1 -1
- package/dist/{layers.ynxvFYES.js → layers.DcELa57W.js} +1 -1
- package/dist/{layers.CMwBz016.js → layers.DhzCqaIG.js} +1 -1
- package/dist/{layers.BzAZemr2.js → layers.DjzZbAnc.js} +1 -1
- package/dist/{layers.fj89-Ow6.js → layers.DkTNkkNd.js} +1 -1
- package/dist/{layers.Bxq3tgV3.js → layers.DlV3-gPV.js} +1 -1
- package/dist/{layers.BiK5AjjA.js → layers.DmLjV3Yj.js} +1 -1
- package/dist/{layers.lPrakaOV.js → layers.DoYx6KcM.js} +1 -1
- package/dist/{layers.fL0onssw.js → layers.Dq6Xnwrf.js} +1 -1
- package/dist/{layers.DrRpKe4O.js → layers.DrItox5J.js} +1 -1
- package/dist/{layers.ahLMmCQB.js → layers.Dt6Pepsm.js} +1 -1
- package/dist/{layers._8A6pWZn.js → layers.DucQcBG6.js} +3 -3
- package/dist/{layers.YsvtAiuX.js → layers.Dv7p4bgE.js} +6252 -5985
- package/dist/{layers.OR9aqoZF.js → layers.DvPDOm_S.js} +1 -1
- package/dist/{layers.snE9HtVz.js → layers.DwUil4_C.js} +1 -1
- package/dist/{layers.CY17GB4b.js → layers.Dx5aQkf0.js} +1 -1
- package/dist/{layers.pgIdThj_.js → layers.Dx7-lNmW.js} +1 -1
- package/dist/{layers.Bj5UhZxJ.js → layers.Dyv-56h2.js} +1028 -1035
- package/dist/{layers.BTdLfjGt.js → layers.FlOx1oom.js} +2 -2
- package/dist/{layers.BMW8FdTY.js → layers.IThWP696.js} +1 -1
- package/dist/{layers.DY1AVgQW.js → layers.IsXgkCXd.js} +4 -4
- package/dist/layers.KbI3pnTL.js +1 -0
- package/dist/{layers.CJ2I21mT.js → layers.L7-TbFd_.js} +1 -1
- package/dist/{layers.BP9xvJW3.js → layers.L_TU2fTQ.js} +1 -1
- package/dist/{layers.CTz1D4fj.js → layers.ML3p4veI.js} +2 -2
- package/dist/{layers.CQZa39gz.js → layers.PTbxeo1r.js} +4 -4
- package/dist/{layers.BMIgHM2Z.js → layers.R3U6z2qj.js} +1 -1
- package/dist/{layers.BmvjlCpW.js → layers.S-0BJQTL.js} +1 -1
- package/dist/{layers.Cy7WSdSM.js → layers.Srmt4I5G.js} +1 -1
- package/dist/{layers.BbPX4oHP.js → layers.TWz2md-f.js} +1 -1
- package/dist/layers.WFbMPKtH.js +8 -0
- package/dist/{layers.BGYJabcC.js → layers.XRArXIiB.js} +1 -1
- package/dist/{layers.BPTFIOc9.js → layers.XvZ5yP9i.js} +1 -1
- package/dist/{layers.99X1wjxs.js → layers.YWMG5Ar1.js} +1 -1
- package/dist/{layers.lpRoIIQH.js → layers.YvlteeF_.js} +1 -1
- package/dist/{layers.Cj6JMyNa.js → layers.Z7Vsjd5M.js} +1 -1
- package/dist/{layers.BWxebAi5.js → layers.ZGUg6cYF.js} +1 -1
- package/dist/{layers.lUKvGF1y.js → layers._1kbZ-M5.js} +3 -3
- package/dist/{layers.D4lZIB_E.js → layers.a-uW-UE6.js} +1 -1
- package/dist/{layers.jtcaExX8.js → layers.eFGcTC8O.js} +1 -1
- package/dist/{layers.CA0CXxyO.js → layers.hqDOO2Fh.js} +3 -3
- package/dist/{layers.Dr6RTv6R.js → layers.i2br2vmD.js} +2 -2
- package/dist/{layers.MJy8ui3_.js → layers.jSg0UnEx.js} +1 -1
- package/dist/{layers.Cta5qqPo.js → layers.jbh8dvz_.js} +1 -1
- package/dist/{layers.CO8pk3R6.js → layers.jf0Bt6gJ.js} +1 -1
- package/dist/{layers.COSHjf63.js → layers.kgvFl7pc.js} +2 -2
- package/dist/{layers.cX5bx0WZ.js → layers.kkHVvlEd.js} +1 -1
- package/dist/{layers.oTB_GNt5.js → layers.lGzh7D7j.js} +1 -1
- package/dist/{layers.BOo8vmtM.js → layers.li5RXXeo.js} +1 -1
- package/dist/{layers.DYuhlSUt.js → layers.mtp3yi3s.js} +1 -1
- package/dist/{layers.B7b6KLth.js → layers.nJ6tR2nG.js} +1 -1
- package/dist/{layers.DLIy8n-i.js → layers.peD0ugL-.js} +1 -1
- package/dist/layers.prdarAVb.js +1 -0
- package/dist/{layers.CzQTah96.js → layers.raenzasD.js} +1 -1
- package/dist/{layers.DuvvmbU7.js → layers.vpXaG46x.js} +1 -1
- package/dist/{layers.BrjbRukU.js → layers.x19FfA4H.js} +1 -1
- package/dist/{layers.Da2epZnN.js → layers.xHD3uIA7.js} +1 -1
- package/dist/{layers.Crz4Chk8.js → layers.y-2tFTVt.js} +1 -1
- package/dist/{layers.Bi2Ktk_d.js → layers.zEtoMcwa.js} +4 -4
- package/package.json +13 -13
- package/dist/layers.C1tq34rQ.js +0 -8
- package/dist/layers.DF25saoF.js +0 -1
- package/dist/layers.DixLm0MG.js +0 -1
- package/dist/layers.z1ZjfhRh.js +0 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { K as Qt, J as Dl } from "./layers.Dv7p4bgE.js";
|
|
2
|
+
import { t as Nl } from "./layers.BomdlrIn.js";
|
|
3
3
|
import _n from "lodash-es/memoize.js";
|
|
4
4
|
import $l from "lodash-es/merge.js";
|
|
5
5
|
import Rr from "lodash-es/isEmpty.js";
|
|
@@ -265,14 +265,7 @@ const zl = {
|
|
|
265
265
|
elements: i
|
|
266
266
|
};
|
|
267
267
|
}
|
|
268
|
-
}), Gl =
|
|
269
|
-
let Qt = (t = 21) => {
|
|
270
|
-
let e = "", i = crypto.getRandomValues(new Uint8Array(t |= 0));
|
|
271
|
-
for (; t--; )
|
|
272
|
-
e += Gl[i[t] & 63];
|
|
273
|
-
return e;
|
|
274
|
-
};
|
|
275
|
-
const Vl = new pr({
|
|
268
|
+
}), Gl = new pr({
|
|
276
269
|
converter: (t) => {
|
|
277
270
|
const e = Qt(), { width: i, height: r } = t, n = {
|
|
278
271
|
type: "image",
|
|
@@ -375,7 +368,7 @@ const Vl = new pr({
|
|
|
375
368
|
end: t.end
|
|
376
369
|
};
|
|
377
370
|
return t.groupId && Object.assign(e, { groupIds: [t.groupId] }), e;
|
|
378
|
-
},
|
|
371
|
+
}, Vl = new pr({
|
|
379
372
|
converter: (t) => {
|
|
380
373
|
const e = [], i = [];
|
|
381
374
|
if (Object.values(t.nodes).forEach((r) => {
|
|
@@ -456,7 +449,7 @@ const Vl = new pr({
|
|
|
456
449
|
e.push(x);
|
|
457
450
|
}), { elements: e };
|
|
458
451
|
}
|
|
459
|
-
}),
|
|
452
|
+
}), Kl = new pr({
|
|
460
453
|
converter: (t) => {
|
|
461
454
|
const e = [];
|
|
462
455
|
return Object.values(t.nodes).forEach((i) => {
|
|
@@ -503,21 +496,21 @@ const Vl = new pr({
|
|
|
503
496
|
e.push(o);
|
|
504
497
|
}), { elements: e };
|
|
505
498
|
}
|
|
506
|
-
}),
|
|
499
|
+
}), Zl = (t, e = {}) => {
|
|
507
500
|
switch (t.type) {
|
|
508
501
|
case "graphImage":
|
|
509
|
-
return
|
|
502
|
+
return Gl.convert(t, e);
|
|
510
503
|
case "flowchart":
|
|
511
504
|
return jl.convert(t, e);
|
|
512
505
|
case "sequence":
|
|
513
|
-
return
|
|
506
|
+
return Vl.convert(t, e);
|
|
514
507
|
case "class":
|
|
515
|
-
return
|
|
508
|
+
return Kl.convert(t, e);
|
|
516
509
|
default:
|
|
517
510
|
throw new Error(`graphToExcalidraw: unknown graph type "${t.type}, only flowcharts are supported!"`);
|
|
518
511
|
}
|
|
519
512
|
};
|
|
520
|
-
function
|
|
513
|
+
function Jl(t) {
|
|
521
514
|
for (var e = [], i = 1; i < arguments.length; i++)
|
|
522
515
|
e[i - 1] = arguments[i];
|
|
523
516
|
var r = Array.from(typeof t == "string" ? [t] : t);
|
|
@@ -549,12 +542,12 @@ function Ql(t) {
|
|
|
549
542
|
`)), o += d + r[l + 1];
|
|
550
543
|
}), o;
|
|
551
544
|
}
|
|
552
|
-
var Ri = { exports: {} },
|
|
553
|
-
function
|
|
545
|
+
var Ri = { exports: {} }, Ql = Ri.exports, yo;
|
|
546
|
+
function tc() {
|
|
554
547
|
return yo || (yo = 1, (function(t, e) {
|
|
555
548
|
(function(i, r) {
|
|
556
549
|
t.exports = r();
|
|
557
|
-
})(
|
|
550
|
+
})(Ql, (function() {
|
|
558
551
|
var i = 1e3, r = 6e4, n = 36e5, s = "millisecond", o = "second", a = "minute", l = "hour", c = "day", u = "week", d = "month", h = "quarter", f = "year", m = "date", y = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, L = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, b = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(q) {
|
|
559
552
|
var w = ["th", "st", "nd", "rd"], T = q % 100;
|
|
560
553
|
return "[" + q + (w[(T - 20) % 10] || w[T] || w[0]) + "]";
|
|
@@ -827,9 +820,9 @@ function ec() {
|
|
|
827
820
|
}));
|
|
828
821
|
})(Ri)), Ri.exports;
|
|
829
822
|
}
|
|
830
|
-
var
|
|
831
|
-
const
|
|
832
|
-
var
|
|
823
|
+
var ec = tc();
|
|
824
|
+
const ic = /* @__PURE__ */ Nl(ec);
|
|
825
|
+
var rc = { value: () => {
|
|
833
826
|
} };
|
|
834
827
|
function xs() {
|
|
835
828
|
for (var t = 0, e = arguments.length, i = {}, r; t < e; ++t) {
|
|
@@ -841,7 +834,7 @@ function xs() {
|
|
|
841
834
|
function qi(t) {
|
|
842
835
|
this._ = t;
|
|
843
836
|
}
|
|
844
|
-
function
|
|
837
|
+
function nc(t, e) {
|
|
845
838
|
return t.trim().split(/^|\s+/).map(function(i) {
|
|
846
839
|
var r = "", n = i.indexOf(".");
|
|
847
840
|
if (n >= 0 && (r = i.slice(n + 1), i = i.slice(0, n)), i && !e.hasOwnProperty(i)) throw new Error("unknown type: " + i);
|
|
@@ -851,9 +844,9 @@ function oc(t, e) {
|
|
|
851
844
|
qi.prototype = xs.prototype = {
|
|
852
845
|
constructor: qi,
|
|
853
846
|
on: function(t, e) {
|
|
854
|
-
var i = this._, r =
|
|
847
|
+
var i = this._, r = nc(t + "", i), n, s = -1, o = r.length;
|
|
855
848
|
if (arguments.length < 2) {
|
|
856
|
-
for (; ++s < o; ) if ((n = (t = r[s]).type) && (n =
|
|
849
|
+
for (; ++s < o; ) if ((n = (t = r[s]).type) && (n = oc(i[n], t.name))) return n;
|
|
857
850
|
return;
|
|
858
851
|
}
|
|
859
852
|
if (e != null && typeof e != "function") throw new Error("invalid callback: " + e);
|
|
@@ -877,7 +870,7 @@ qi.prototype = xs.prototype = {
|
|
|
877
870
|
for (var r = this._[t], n = 0, s = r.length; n < s; ++n) r[n].value.apply(e, i);
|
|
878
871
|
}
|
|
879
872
|
};
|
|
880
|
-
function
|
|
873
|
+
function oc(t, e) {
|
|
881
874
|
for (var i = 0, r = t.length, n; i < r; ++i)
|
|
882
875
|
if ((n = t[i]).name === e)
|
|
883
876
|
return n.value;
|
|
@@ -885,7 +878,7 @@ function sc(t, e) {
|
|
|
885
878
|
function _o(t, e, i) {
|
|
886
879
|
for (var r = 0, n = t.length; r < n; ++r)
|
|
887
880
|
if (t[r].name === e) {
|
|
888
|
-
t[r] =
|
|
881
|
+
t[r] = rc, t = t.slice(0, r).concat(t.slice(r + 1));
|
|
889
882
|
break;
|
|
890
883
|
}
|
|
891
884
|
return i != null && t.push({ name: e, value: i }), t;
|
|
@@ -902,53 +895,53 @@ function gr(t) {
|
|
|
902
895
|
var e = t += "", i = e.indexOf(":");
|
|
903
896
|
return i >= 0 && (e = t.slice(0, i)) !== "xmlns" && (t = t.slice(i + 1)), Co.hasOwnProperty(e) ? { space: Co[e], local: t } : t;
|
|
904
897
|
}
|
|
905
|
-
function
|
|
898
|
+
function sc(t) {
|
|
906
899
|
return function() {
|
|
907
900
|
var e = this.ownerDocument, i = this.namespaceURI;
|
|
908
901
|
return i === tn && e.documentElement.namespaceURI === tn ? e.createElement(t) : e.createElementNS(i, t);
|
|
909
902
|
};
|
|
910
903
|
}
|
|
911
|
-
function
|
|
904
|
+
function ac(t) {
|
|
912
905
|
return function() {
|
|
913
906
|
return this.ownerDocument.createElementNS(t.space, t.local);
|
|
914
907
|
};
|
|
915
908
|
}
|
|
916
909
|
function bs(t) {
|
|
917
910
|
var e = gr(t);
|
|
918
|
-
return (e.local ?
|
|
911
|
+
return (e.local ? ac : sc)(e);
|
|
919
912
|
}
|
|
920
|
-
function
|
|
913
|
+
function lc() {
|
|
921
914
|
}
|
|
922
915
|
function xn(t) {
|
|
923
|
-
return t == null ?
|
|
916
|
+
return t == null ? lc : function() {
|
|
924
917
|
return this.querySelector(t);
|
|
925
918
|
};
|
|
926
919
|
}
|
|
927
|
-
function
|
|
920
|
+
function cc(t) {
|
|
928
921
|
typeof t != "function" && (t = xn(t));
|
|
929
922
|
for (var e = this._groups, i = e.length, r = new Array(i), n = 0; n < i; ++n)
|
|
930
923
|
for (var s = e[n], o = s.length, a = r[n] = new Array(o), l, c, u = 0; u < o; ++u)
|
|
931
924
|
(l = s[u]) && (c = t.call(l, l.__data__, u, s)) && ("__data__" in l && (c.__data__ = l.__data__), a[u] = c);
|
|
932
925
|
return new xt(r, this._parents);
|
|
933
926
|
}
|
|
934
|
-
function
|
|
927
|
+
function hc(t) {
|
|
935
928
|
return t == null ? [] : Array.isArray(t) ? t : Array.from(t);
|
|
936
929
|
}
|
|
937
|
-
function
|
|
930
|
+
function uc() {
|
|
938
931
|
return [];
|
|
939
932
|
}
|
|
940
933
|
function Ts(t) {
|
|
941
|
-
return t == null ?
|
|
934
|
+
return t == null ? uc : function() {
|
|
942
935
|
return this.querySelectorAll(t);
|
|
943
936
|
};
|
|
944
937
|
}
|
|
945
|
-
function
|
|
938
|
+
function dc(t) {
|
|
946
939
|
return function() {
|
|
947
|
-
return
|
|
940
|
+
return hc(t.apply(this, arguments));
|
|
948
941
|
};
|
|
949
942
|
}
|
|
950
|
-
function
|
|
951
|
-
typeof t == "function" ? t =
|
|
943
|
+
function fc(t) {
|
|
944
|
+
typeof t == "function" ? t = dc(t) : t = Ts(t);
|
|
952
945
|
for (var e = this._groups, i = e.length, r = [], n = [], s = 0; s < i; ++s)
|
|
953
946
|
for (var o = e[s], a = o.length, l, c = 0; c < a; ++c)
|
|
954
947
|
(l = o[c]) && (r.push(t.call(l, l.__data__, c, o)), n.push(l));
|
|
@@ -964,31 +957,31 @@ function Ss(t) {
|
|
|
964
957
|
return e.matches(t);
|
|
965
958
|
};
|
|
966
959
|
}
|
|
967
|
-
var
|
|
968
|
-
function
|
|
960
|
+
var pc = Array.prototype.find;
|
|
961
|
+
function gc(t) {
|
|
969
962
|
return function() {
|
|
970
|
-
return
|
|
963
|
+
return pc.call(this.children, t);
|
|
971
964
|
};
|
|
972
965
|
}
|
|
973
|
-
function
|
|
966
|
+
function mc() {
|
|
974
967
|
return this.firstElementChild;
|
|
975
968
|
}
|
|
976
|
-
function
|
|
977
|
-
return this.select(t == null ?
|
|
969
|
+
function yc(t) {
|
|
970
|
+
return this.select(t == null ? mc : gc(typeof t == "function" ? t : Ss(t)));
|
|
978
971
|
}
|
|
979
|
-
var
|
|
980
|
-
function
|
|
972
|
+
var _c = Array.prototype.filter;
|
|
973
|
+
function Cc() {
|
|
981
974
|
return Array.from(this.children);
|
|
982
975
|
}
|
|
983
|
-
function
|
|
976
|
+
function xc(t) {
|
|
984
977
|
return function() {
|
|
985
|
-
return
|
|
978
|
+
return _c.call(this.children, t);
|
|
986
979
|
};
|
|
987
980
|
}
|
|
988
|
-
function
|
|
989
|
-
return this.selectAll(t == null ?
|
|
981
|
+
function bc(t) {
|
|
982
|
+
return this.selectAll(t == null ? Cc : xc(typeof t == "function" ? t : Ss(t)));
|
|
990
983
|
}
|
|
991
|
-
function
|
|
984
|
+
function Tc(t) {
|
|
992
985
|
typeof t != "function" && (t = ks(t));
|
|
993
986
|
for (var e = this._groups, i = e.length, r = new Array(i), n = 0; n < i; ++n)
|
|
994
987
|
for (var s = e[n], o = s.length, a = r[n] = [], l, c = 0; c < o; ++c)
|
|
@@ -998,7 +991,7 @@ function kc(t) {
|
|
|
998
991
|
function vs(t) {
|
|
999
992
|
return new Array(t.length);
|
|
1000
993
|
}
|
|
1001
|
-
function
|
|
994
|
+
function kc() {
|
|
1002
995
|
return new xt(this._enter || this._groups.map(vs), this._parents);
|
|
1003
996
|
}
|
|
1004
997
|
function Vi(t, e) {
|
|
@@ -1019,18 +1012,18 @@ Vi.prototype = {
|
|
|
1019
1012
|
return this._parent.querySelectorAll(t);
|
|
1020
1013
|
}
|
|
1021
1014
|
};
|
|
1022
|
-
function
|
|
1015
|
+
function Sc(t) {
|
|
1023
1016
|
return function() {
|
|
1024
1017
|
return t;
|
|
1025
1018
|
};
|
|
1026
1019
|
}
|
|
1027
|
-
function
|
|
1020
|
+
function vc(t, e, i, r, n, s) {
|
|
1028
1021
|
for (var o = 0, a, l = e.length, c = s.length; o < c; ++o)
|
|
1029
1022
|
(a = e[o]) ? (a.__data__ = s[o], r[o] = a) : i[o] = new Vi(t, s[o]);
|
|
1030
1023
|
for (; o < l; ++o)
|
|
1031
1024
|
(a = e[o]) && (n[o] = a);
|
|
1032
1025
|
}
|
|
1033
|
-
function
|
|
1026
|
+
function wc(t, e, i, r, n, s, o) {
|
|
1034
1027
|
var a, l, c = /* @__PURE__ */ new Map(), u = e.length, d = s.length, h = new Array(u), f;
|
|
1035
1028
|
for (a = 0; a < u; ++a)
|
|
1036
1029
|
(l = e[a]) && (h[a] = f = o.call(l, l.__data__, a, e) + "", c.has(f) ? n[a] = l : c.set(f, l));
|
|
@@ -1039,15 +1032,15 @@ function Ac(t, e, i, r, n, s, o) {
|
|
|
1039
1032
|
for (a = 0; a < u; ++a)
|
|
1040
1033
|
(l = e[a]) && c.get(h[a]) === l && (n[a] = l);
|
|
1041
1034
|
}
|
|
1042
|
-
function
|
|
1035
|
+
function Ac(t) {
|
|
1043
1036
|
return t.__data__;
|
|
1044
1037
|
}
|
|
1045
|
-
function
|
|
1046
|
-
if (!arguments.length) return Array.from(this,
|
|
1047
|
-
var i = e ?
|
|
1048
|
-
typeof t != "function" && (t =
|
|
1038
|
+
function Bc(t, e) {
|
|
1039
|
+
if (!arguments.length) return Array.from(this, Ac);
|
|
1040
|
+
var i = e ? wc : vc, r = this._parents, n = this._groups;
|
|
1041
|
+
typeof t != "function" && (t = Sc(t));
|
|
1049
1042
|
for (var s = n.length, o = new Array(s), a = new Array(s), l = new Array(s), c = 0; c < s; ++c) {
|
|
1050
|
-
var u = r[c], d = n[c], h = d.length, f =
|
|
1043
|
+
var u = r[c], d = n[c], h = d.length, f = Lc(t.call(u, u && u.__data__, c, r)), m = f.length, y = a[c] = new Array(m), C = o[c] = new Array(m), L = l[c] = new Array(h);
|
|
1051
1044
|
i(u, d, y, C, L, f, e);
|
|
1052
1045
|
for (var b = 0, R = 0, x, S; b < m; ++b)
|
|
1053
1046
|
if (x = y[b]) {
|
|
@@ -1057,17 +1050,17 @@ function Lc(t, e) {
|
|
|
1057
1050
|
}
|
|
1058
1051
|
return o = new xt(o, r), o._enter = a, o._exit = l, o;
|
|
1059
1052
|
}
|
|
1060
|
-
function
|
|
1053
|
+
function Lc(t) {
|
|
1061
1054
|
return typeof t == "object" && "length" in t ? t : Array.from(t);
|
|
1062
1055
|
}
|
|
1063
|
-
function
|
|
1056
|
+
function Ec() {
|
|
1064
1057
|
return new xt(this._exit || this._groups.map(vs), this._parents);
|
|
1065
1058
|
}
|
|
1066
|
-
function
|
|
1059
|
+
function Fc(t, e, i) {
|
|
1067
1060
|
var r = this.enter(), n = this, s = this.exit();
|
|
1068
1061
|
return typeof t == "function" ? (r = t(r), r && (r = r.selection())) : r = r.append(t + ""), e != null && (n = e(n), n && (n = n.selection())), i == null ? s.remove() : i(s), r && n ? r.merge(n).order() : n;
|
|
1069
1062
|
}
|
|
1070
|
-
function
|
|
1063
|
+
function Ic(t) {
|
|
1071
1064
|
for (var e = t.selection ? t.selection() : t, i = this._groups, r = e._groups, n = i.length, s = r.length, o = Math.min(n, s), a = new Array(n), l = 0; l < o; ++l)
|
|
1072
1065
|
for (var c = i[l], u = r[l], d = c.length, h = a[l] = new Array(d), f, m = 0; m < d; ++m)
|
|
1073
1066
|
(f = c[m] || u[m]) && (h[m] = f);
|
|
@@ -1075,14 +1068,14 @@ function Oc(t) {
|
|
|
1075
1068
|
a[l] = i[l];
|
|
1076
1069
|
return new xt(a, this._parents);
|
|
1077
1070
|
}
|
|
1078
|
-
function
|
|
1071
|
+
function Oc() {
|
|
1079
1072
|
for (var t = this._groups, e = -1, i = t.length; ++e < i; )
|
|
1080
1073
|
for (var r = t[e], n = r.length - 1, s = r[n], o; --n >= 0; )
|
|
1081
1074
|
(o = r[n]) && (s && o.compareDocumentPosition(s) ^ 4 && s.parentNode.insertBefore(o, s), s = o);
|
|
1082
1075
|
return this;
|
|
1083
1076
|
}
|
|
1084
|
-
function
|
|
1085
|
-
t || (t =
|
|
1077
|
+
function Mc(t) {
|
|
1078
|
+
t || (t = Dc);
|
|
1086
1079
|
function e(d, h) {
|
|
1087
1080
|
return d && h ? t(d.__data__, h.__data__) : !d - !h;
|
|
1088
1081
|
}
|
|
@@ -1093,17 +1086,17 @@ function Dc(t) {
|
|
|
1093
1086
|
}
|
|
1094
1087
|
return new xt(n, this._parents).order();
|
|
1095
1088
|
}
|
|
1096
|
-
function
|
|
1089
|
+
function Dc(t, e) {
|
|
1097
1090
|
return t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
|
|
1098
1091
|
}
|
|
1099
|
-
function
|
|
1092
|
+
function Nc() {
|
|
1100
1093
|
var t = arguments[0];
|
|
1101
1094
|
return arguments[0] = this, t.apply(null, arguments), this;
|
|
1102
1095
|
}
|
|
1103
|
-
function
|
|
1096
|
+
function $c() {
|
|
1104
1097
|
return Array.from(this);
|
|
1105
1098
|
}
|
|
1106
|
-
function
|
|
1099
|
+
function Rc() {
|
|
1107
1100
|
for (var t = this._groups, e = 0, i = t.length; e < i; ++e)
|
|
1108
1101
|
for (var r = t[e], n = 0, s = r.length; n < s; ++n) {
|
|
1109
1102
|
var o = r[n];
|
|
@@ -1111,103 +1104,103 @@ function qc() {
|
|
|
1111
1104
|
}
|
|
1112
1105
|
return null;
|
|
1113
1106
|
}
|
|
1114
|
-
function
|
|
1107
|
+
function qc() {
|
|
1115
1108
|
let t = 0;
|
|
1116
1109
|
for (const e of this) ++t;
|
|
1117
1110
|
return t;
|
|
1118
1111
|
}
|
|
1119
|
-
function
|
|
1112
|
+
function Pc() {
|
|
1120
1113
|
return !this.node();
|
|
1121
1114
|
}
|
|
1122
|
-
function
|
|
1115
|
+
function zc(t) {
|
|
1123
1116
|
for (var e = this._groups, i = 0, r = e.length; i < r; ++i)
|
|
1124
1117
|
for (var n = e[i], s = 0, o = n.length, a; s < o; ++s)
|
|
1125
1118
|
(a = n[s]) && t.call(a, a.__data__, s, n);
|
|
1126
1119
|
return this;
|
|
1127
1120
|
}
|
|
1128
|
-
function
|
|
1121
|
+
function Wc(t) {
|
|
1129
1122
|
return function() {
|
|
1130
1123
|
this.removeAttribute(t);
|
|
1131
1124
|
};
|
|
1132
1125
|
}
|
|
1133
|
-
function
|
|
1126
|
+
function Yc(t) {
|
|
1134
1127
|
return function() {
|
|
1135
1128
|
this.removeAttributeNS(t.space, t.local);
|
|
1136
1129
|
};
|
|
1137
1130
|
}
|
|
1138
|
-
function
|
|
1131
|
+
function Hc(t, e) {
|
|
1139
1132
|
return function() {
|
|
1140
1133
|
this.setAttribute(t, e);
|
|
1141
1134
|
};
|
|
1142
1135
|
}
|
|
1143
|
-
function
|
|
1136
|
+
function Uc(t, e) {
|
|
1144
1137
|
return function() {
|
|
1145
1138
|
this.setAttributeNS(t.space, t.local, e);
|
|
1146
1139
|
};
|
|
1147
1140
|
}
|
|
1148
|
-
function
|
|
1141
|
+
function Xc(t, e) {
|
|
1149
1142
|
return function() {
|
|
1150
1143
|
var i = e.apply(this, arguments);
|
|
1151
1144
|
i == null ? this.removeAttribute(t) : this.setAttribute(t, i);
|
|
1152
1145
|
};
|
|
1153
1146
|
}
|
|
1154
|
-
function
|
|
1147
|
+
function jc(t, e) {
|
|
1155
1148
|
return function() {
|
|
1156
1149
|
var i = e.apply(this, arguments);
|
|
1157
1150
|
i == null ? this.removeAttributeNS(t.space, t.local) : this.setAttributeNS(t.space, t.local, i);
|
|
1158
1151
|
};
|
|
1159
1152
|
}
|
|
1160
|
-
function
|
|
1153
|
+
function Gc(t, e) {
|
|
1161
1154
|
var i = gr(t);
|
|
1162
1155
|
if (arguments.length < 2) {
|
|
1163
1156
|
var r = this.node();
|
|
1164
1157
|
return i.local ? r.getAttributeNS(i.space, i.local) : r.getAttribute(i);
|
|
1165
1158
|
}
|
|
1166
|
-
return this.each((e == null ? i.local ?
|
|
1159
|
+
return this.each((e == null ? i.local ? Yc : Wc : typeof e == "function" ? i.local ? jc : Xc : i.local ? Uc : Hc)(i, e));
|
|
1167
1160
|
}
|
|
1168
1161
|
function ws(t) {
|
|
1169
1162
|
return t.ownerDocument && t.ownerDocument.defaultView || t.document && t || t.defaultView;
|
|
1170
1163
|
}
|
|
1171
|
-
function
|
|
1164
|
+
function Vc(t) {
|
|
1172
1165
|
return function() {
|
|
1173
1166
|
this.style.removeProperty(t);
|
|
1174
1167
|
};
|
|
1175
1168
|
}
|
|
1176
|
-
function
|
|
1169
|
+
function Kc(t, e, i) {
|
|
1177
1170
|
return function() {
|
|
1178
1171
|
this.style.setProperty(t, e, i);
|
|
1179
1172
|
};
|
|
1180
1173
|
}
|
|
1181
|
-
function
|
|
1174
|
+
function Zc(t, e, i) {
|
|
1182
1175
|
return function() {
|
|
1183
1176
|
var r = e.apply(this, arguments);
|
|
1184
1177
|
r == null ? this.style.removeProperty(t) : this.style.setProperty(t, r, i);
|
|
1185
1178
|
};
|
|
1186
1179
|
}
|
|
1187
|
-
function
|
|
1188
|
-
return arguments.length > 1 ? this.each((e == null ?
|
|
1180
|
+
function Jc(t, e, i) {
|
|
1181
|
+
return arguments.length > 1 ? this.each((e == null ? Vc : typeof e == "function" ? Zc : Kc)(t, e, i ?? "")) : Oe(this.node(), t);
|
|
1189
1182
|
}
|
|
1190
1183
|
function Oe(t, e) {
|
|
1191
1184
|
return t.style.getPropertyValue(e) || ws(t).getComputedStyle(t, null).getPropertyValue(e);
|
|
1192
1185
|
}
|
|
1193
|
-
function
|
|
1186
|
+
function Qc(t) {
|
|
1194
1187
|
return function() {
|
|
1195
1188
|
delete this[t];
|
|
1196
1189
|
};
|
|
1197
1190
|
}
|
|
1198
|
-
function
|
|
1191
|
+
function th(t, e) {
|
|
1199
1192
|
return function() {
|
|
1200
1193
|
this[t] = e;
|
|
1201
1194
|
};
|
|
1202
1195
|
}
|
|
1203
|
-
function
|
|
1196
|
+
function eh(t, e) {
|
|
1204
1197
|
return function() {
|
|
1205
1198
|
var i = e.apply(this, arguments);
|
|
1206
1199
|
i == null ? delete this[t] : this[t] = i;
|
|
1207
1200
|
};
|
|
1208
1201
|
}
|
|
1209
|
-
function
|
|
1210
|
-
return arguments.length > 1 ? this.each((e == null ?
|
|
1202
|
+
function ih(t, e) {
|
|
1203
|
+
return arguments.length > 1 ? this.each((e == null ? Qc : typeof e == "function" ? eh : th)(t, e)) : this.node()[t];
|
|
1211
1204
|
}
|
|
1212
1205
|
function As(t) {
|
|
1213
1206
|
return t.trim().split(/^|\s+/);
|
|
@@ -1237,123 +1230,123 @@ function Ls(t, e) {
|
|
|
1237
1230
|
function Es(t, e) {
|
|
1238
1231
|
for (var i = bn(t), r = -1, n = e.length; ++r < n; ) i.remove(e[r]);
|
|
1239
1232
|
}
|
|
1240
|
-
function
|
|
1233
|
+
function rh(t) {
|
|
1241
1234
|
return function() {
|
|
1242
1235
|
Ls(this, t);
|
|
1243
1236
|
};
|
|
1244
1237
|
}
|
|
1245
|
-
function
|
|
1238
|
+
function nh(t) {
|
|
1246
1239
|
return function() {
|
|
1247
1240
|
Es(this, t);
|
|
1248
1241
|
};
|
|
1249
1242
|
}
|
|
1250
|
-
function
|
|
1243
|
+
function oh(t, e) {
|
|
1251
1244
|
return function() {
|
|
1252
1245
|
(e.apply(this, arguments) ? Ls : Es)(this, t);
|
|
1253
1246
|
};
|
|
1254
1247
|
}
|
|
1255
|
-
function
|
|
1248
|
+
function sh(t, e) {
|
|
1256
1249
|
var i = As(t + "");
|
|
1257
1250
|
if (arguments.length < 2) {
|
|
1258
1251
|
for (var r = bn(this.node()), n = -1, s = i.length; ++n < s; ) if (!r.contains(i[n])) return !1;
|
|
1259
1252
|
return !0;
|
|
1260
1253
|
}
|
|
1261
|
-
return this.each((typeof e == "function" ?
|
|
1254
|
+
return this.each((typeof e == "function" ? oh : e ? rh : nh)(i, e));
|
|
1262
1255
|
}
|
|
1263
|
-
function
|
|
1256
|
+
function ah() {
|
|
1264
1257
|
this.textContent = "";
|
|
1265
1258
|
}
|
|
1266
|
-
function
|
|
1259
|
+
function lh(t) {
|
|
1267
1260
|
return function() {
|
|
1268
1261
|
this.textContent = t;
|
|
1269
1262
|
};
|
|
1270
1263
|
}
|
|
1271
|
-
function
|
|
1264
|
+
function ch(t) {
|
|
1272
1265
|
return function() {
|
|
1273
1266
|
var e = t.apply(this, arguments);
|
|
1274
1267
|
this.textContent = e ?? "";
|
|
1275
1268
|
};
|
|
1276
1269
|
}
|
|
1277
|
-
function
|
|
1278
|
-
return arguments.length ? this.each(t == null ?
|
|
1270
|
+
function hh(t) {
|
|
1271
|
+
return arguments.length ? this.each(t == null ? ah : (typeof t == "function" ? ch : lh)(t)) : this.node().textContent;
|
|
1279
1272
|
}
|
|
1280
|
-
function
|
|
1273
|
+
function uh() {
|
|
1281
1274
|
this.innerHTML = "";
|
|
1282
1275
|
}
|
|
1283
|
-
function
|
|
1276
|
+
function dh(t) {
|
|
1284
1277
|
return function() {
|
|
1285
1278
|
this.innerHTML = t;
|
|
1286
1279
|
};
|
|
1287
1280
|
}
|
|
1288
|
-
function
|
|
1281
|
+
function fh(t) {
|
|
1289
1282
|
return function() {
|
|
1290
1283
|
var e = t.apply(this, arguments);
|
|
1291
1284
|
this.innerHTML = e ?? "";
|
|
1292
1285
|
};
|
|
1293
1286
|
}
|
|
1294
|
-
function
|
|
1295
|
-
return arguments.length ? this.each(t == null ?
|
|
1287
|
+
function ph(t) {
|
|
1288
|
+
return arguments.length ? this.each(t == null ? uh : (typeof t == "function" ? fh : dh)(t)) : this.node().innerHTML;
|
|
1296
1289
|
}
|
|
1297
|
-
function
|
|
1290
|
+
function gh() {
|
|
1298
1291
|
this.nextSibling && this.parentNode.appendChild(this);
|
|
1299
1292
|
}
|
|
1300
|
-
function
|
|
1301
|
-
return this.each(
|
|
1293
|
+
function mh() {
|
|
1294
|
+
return this.each(gh);
|
|
1302
1295
|
}
|
|
1303
|
-
function
|
|
1296
|
+
function yh() {
|
|
1304
1297
|
this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
|
|
1305
1298
|
}
|
|
1306
|
-
function
|
|
1307
|
-
return this.each(
|
|
1299
|
+
function _h() {
|
|
1300
|
+
return this.each(yh);
|
|
1308
1301
|
}
|
|
1309
|
-
function
|
|
1302
|
+
function Ch(t) {
|
|
1310
1303
|
var e = typeof t == "function" ? t : bs(t);
|
|
1311
1304
|
return this.select(function() {
|
|
1312
1305
|
return this.appendChild(e.apply(this, arguments));
|
|
1313
1306
|
});
|
|
1314
1307
|
}
|
|
1315
|
-
function
|
|
1308
|
+
function xh() {
|
|
1316
1309
|
return null;
|
|
1317
1310
|
}
|
|
1318
|
-
function
|
|
1319
|
-
var i = typeof t == "function" ? t : bs(t), r = e == null ?
|
|
1311
|
+
function bh(t, e) {
|
|
1312
|
+
var i = typeof t == "function" ? t : bs(t), r = e == null ? xh : typeof e == "function" ? e : xn(e);
|
|
1320
1313
|
return this.select(function() {
|
|
1321
1314
|
return this.insertBefore(i.apply(this, arguments), r.apply(this, arguments) || null);
|
|
1322
1315
|
});
|
|
1323
1316
|
}
|
|
1324
|
-
function
|
|
1317
|
+
function Th() {
|
|
1325
1318
|
var t = this.parentNode;
|
|
1326
1319
|
t && t.removeChild(this);
|
|
1327
1320
|
}
|
|
1328
|
-
function
|
|
1329
|
-
return this.each(
|
|
1321
|
+
function kh() {
|
|
1322
|
+
return this.each(Th);
|
|
1330
1323
|
}
|
|
1331
|
-
function
|
|
1324
|
+
function Sh() {
|
|
1332
1325
|
var t = this.cloneNode(!1), e = this.parentNode;
|
|
1333
1326
|
return e ? e.insertBefore(t, this.nextSibling) : t;
|
|
1334
1327
|
}
|
|
1335
|
-
function
|
|
1328
|
+
function vh() {
|
|
1336
1329
|
var t = this.cloneNode(!0), e = this.parentNode;
|
|
1337
1330
|
return e ? e.insertBefore(t, this.nextSibling) : t;
|
|
1338
1331
|
}
|
|
1339
|
-
function
|
|
1340
|
-
return this.select(t ?
|
|
1332
|
+
function wh(t) {
|
|
1333
|
+
return this.select(t ? vh : Sh);
|
|
1341
1334
|
}
|
|
1342
|
-
function
|
|
1335
|
+
function Ah(t) {
|
|
1343
1336
|
return arguments.length ? this.property("__data__", t) : this.node().__data__;
|
|
1344
1337
|
}
|
|
1345
|
-
function
|
|
1338
|
+
function Bh(t) {
|
|
1346
1339
|
return function(e) {
|
|
1347
1340
|
t.call(this, e, this.__data__);
|
|
1348
1341
|
};
|
|
1349
1342
|
}
|
|
1350
|
-
function
|
|
1343
|
+
function Lh(t) {
|
|
1351
1344
|
return t.trim().split(/^|\s+/).map(function(e) {
|
|
1352
1345
|
var i = "", r = e.indexOf(".");
|
|
1353
1346
|
return r >= 0 && (i = e.slice(r + 1), e = e.slice(0, r)), { type: e, name: i };
|
|
1354
1347
|
});
|
|
1355
1348
|
}
|
|
1356
|
-
function
|
|
1349
|
+
function Eh(t) {
|
|
1357
1350
|
return function() {
|
|
1358
1351
|
var e = this.__on;
|
|
1359
1352
|
if (e) {
|
|
@@ -1363,9 +1356,9 @@ function Fh(t) {
|
|
|
1363
1356
|
}
|
|
1364
1357
|
};
|
|
1365
1358
|
}
|
|
1366
|
-
function
|
|
1359
|
+
function Fh(t, e, i) {
|
|
1367
1360
|
return function() {
|
|
1368
|
-
var r = this.__on, n, s =
|
|
1361
|
+
var r = this.__on, n, s = Bh(e);
|
|
1369
1362
|
if (r) {
|
|
1370
1363
|
for (var o = 0, a = r.length; o < a; ++o)
|
|
1371
1364
|
if ((n = r[o]).type === t.type && n.name === t.name) {
|
|
@@ -1376,8 +1369,8 @@ function Ih(t, e, i) {
|
|
|
1376
1369
|
this.addEventListener(t.type, s, i), n = { type: t.type, name: t.name, value: e, listener: s, options: i }, r ? r.push(n) : this.__on = [n];
|
|
1377
1370
|
};
|
|
1378
1371
|
}
|
|
1379
|
-
function
|
|
1380
|
-
var r =
|
|
1372
|
+
function Ih(t, e, i) {
|
|
1373
|
+
var r = Lh(t + ""), n, s = r.length, o;
|
|
1381
1374
|
if (arguments.length < 2) {
|
|
1382
1375
|
var a = this.node().__on;
|
|
1383
1376
|
if (a) {
|
|
@@ -1388,27 +1381,27 @@ function Oh(t, e, i) {
|
|
|
1388
1381
|
}
|
|
1389
1382
|
return;
|
|
1390
1383
|
}
|
|
1391
|
-
for (a = e ?
|
|
1384
|
+
for (a = e ? Fh : Eh, n = 0; n < s; ++n) this.each(a(r[n], e, i));
|
|
1392
1385
|
return this;
|
|
1393
1386
|
}
|
|
1394
1387
|
function Fs(t, e, i) {
|
|
1395
1388
|
var r = ws(t), n = r.CustomEvent;
|
|
1396
1389
|
typeof n == "function" ? n = new n(e, i) : (n = r.document.createEvent("Event"), i ? (n.initEvent(e, i.bubbles, i.cancelable), n.detail = i.detail) : n.initEvent(e, !1, !1)), t.dispatchEvent(n);
|
|
1397
1390
|
}
|
|
1398
|
-
function
|
|
1391
|
+
function Oh(t, e) {
|
|
1399
1392
|
return function() {
|
|
1400
1393
|
return Fs(this, t, e);
|
|
1401
1394
|
};
|
|
1402
1395
|
}
|
|
1403
|
-
function
|
|
1396
|
+
function Mh(t, e) {
|
|
1404
1397
|
return function() {
|
|
1405
1398
|
return Fs(this, t, e.apply(this, arguments));
|
|
1406
1399
|
};
|
|
1407
1400
|
}
|
|
1408
|
-
function
|
|
1409
|
-
return this.each((typeof e == "function" ?
|
|
1401
|
+
function Dh(t, e) {
|
|
1402
|
+
return this.each((typeof e == "function" ? Mh : Oh)(t, e));
|
|
1410
1403
|
}
|
|
1411
|
-
function*
|
|
1404
|
+
function* Nh() {
|
|
1412
1405
|
for (var t = this._groups, e = 0, i = t.length; e < i; ++e)
|
|
1413
1406
|
for (var r = t[e], n = 0, s = r.length, o; n < s; ++n)
|
|
1414
1407
|
(o = r[n]) && (yield o);
|
|
@@ -1420,46 +1413,46 @@ function xt(t, e) {
|
|
|
1420
1413
|
function _i() {
|
|
1421
1414
|
return new xt([[document.documentElement]], Is);
|
|
1422
1415
|
}
|
|
1423
|
-
function
|
|
1416
|
+
function $h() {
|
|
1424
1417
|
return this;
|
|
1425
1418
|
}
|
|
1426
1419
|
xt.prototype = _i.prototype = {
|
|
1427
1420
|
constructor: xt,
|
|
1428
|
-
select:
|
|
1429
|
-
selectAll:
|
|
1430
|
-
selectChild:
|
|
1431
|
-
selectChildren:
|
|
1432
|
-
filter:
|
|
1433
|
-
data:
|
|
1434
|
-
enter:
|
|
1435
|
-
exit:
|
|
1436
|
-
join:
|
|
1437
|
-
merge:
|
|
1438
|
-
selection:
|
|
1439
|
-
order:
|
|
1440
|
-
sort:
|
|
1441
|
-
call:
|
|
1442
|
-
nodes:
|
|
1443
|
-
node:
|
|
1444
|
-
size:
|
|
1445
|
-
empty:
|
|
1446
|
-
each:
|
|
1447
|
-
attr:
|
|
1448
|
-
style:
|
|
1449
|
-
property:
|
|
1450
|
-
classed:
|
|
1451
|
-
text:
|
|
1452
|
-
html:
|
|
1453
|
-
raise:
|
|
1454
|
-
lower:
|
|
1455
|
-
append:
|
|
1456
|
-
insert:
|
|
1457
|
-
remove:
|
|
1458
|
-
clone:
|
|
1459
|
-
datum:
|
|
1460
|
-
on:
|
|
1461
|
-
dispatch:
|
|
1462
|
-
[Symbol.iterator]:
|
|
1421
|
+
select: cc,
|
|
1422
|
+
selectAll: fc,
|
|
1423
|
+
selectChild: yc,
|
|
1424
|
+
selectChildren: bc,
|
|
1425
|
+
filter: Tc,
|
|
1426
|
+
data: Bc,
|
|
1427
|
+
enter: kc,
|
|
1428
|
+
exit: Ec,
|
|
1429
|
+
join: Fc,
|
|
1430
|
+
merge: Ic,
|
|
1431
|
+
selection: $h,
|
|
1432
|
+
order: Oc,
|
|
1433
|
+
sort: Mc,
|
|
1434
|
+
call: Nc,
|
|
1435
|
+
nodes: $c,
|
|
1436
|
+
node: Rc,
|
|
1437
|
+
size: qc,
|
|
1438
|
+
empty: Pc,
|
|
1439
|
+
each: zc,
|
|
1440
|
+
attr: Gc,
|
|
1441
|
+
style: Jc,
|
|
1442
|
+
property: ih,
|
|
1443
|
+
classed: sh,
|
|
1444
|
+
text: hh,
|
|
1445
|
+
html: ph,
|
|
1446
|
+
raise: mh,
|
|
1447
|
+
lower: _h,
|
|
1448
|
+
append: Ch,
|
|
1449
|
+
insert: bh,
|
|
1450
|
+
remove: kh,
|
|
1451
|
+
clone: wh,
|
|
1452
|
+
datum: Ah,
|
|
1453
|
+
on: Ih,
|
|
1454
|
+
dispatch: Dh,
|
|
1455
|
+
[Symbol.iterator]: Nh
|
|
1463
1456
|
};
|
|
1464
1457
|
function St(t) {
|
|
1465
1458
|
return typeof t == "string" ? new xt([[document.querySelector(t)]], [document.documentElement]) : new xt([[t]], Is);
|
|
@@ -1474,7 +1467,7 @@ function Os(t, e) {
|
|
|
1474
1467
|
}
|
|
1475
1468
|
function Ci() {
|
|
1476
1469
|
}
|
|
1477
|
-
var ui = 0.7, Ki = 1 / ui, Le = "\\s*([+-]?\\d+)\\s*", di = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Pt = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
|
|
1470
|
+
var ui = 0.7, Ki = 1 / ui, Le = "\\s*([+-]?\\d+)\\s*", di = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Pt = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Rh = /^#([0-9a-f]{3,8})$/, qh = new RegExp(`^rgb\\(${Le},${Le},${Le}\\)$`), Ph = new RegExp(`^rgb\\(${Pt},${Pt},${Pt}\\)$`), zh = new RegExp(`^rgba\\(${Le},${Le},${Le},${di}\\)$`), Wh = new RegExp(`^rgba\\(${Pt},${Pt},${Pt},${di}\\)$`), Yh = new RegExp(`^hsl\\(${di},${Pt},${Pt}\\)$`), Hh = new RegExp(`^hsla\\(${di},${Pt},${Pt},${di}\\)$`), xo = {
|
|
1478
1471
|
aliceblue: 15792383,
|
|
1479
1472
|
antiquewhite: 16444375,
|
|
1480
1473
|
aqua: 65535,
|
|
@@ -1634,18 +1627,18 @@ Tn(Ci, fi, {
|
|
|
1634
1627
|
hex: bo,
|
|
1635
1628
|
// Deprecated! Use color.formatHex.
|
|
1636
1629
|
formatHex: bo,
|
|
1637
|
-
formatHex8:
|
|
1638
|
-
formatHsl:
|
|
1630
|
+
formatHex8: Uh,
|
|
1631
|
+
formatHsl: Xh,
|
|
1639
1632
|
formatRgb: To,
|
|
1640
1633
|
toString: To
|
|
1641
1634
|
});
|
|
1642
1635
|
function bo() {
|
|
1643
1636
|
return this.rgb().formatHex();
|
|
1644
1637
|
}
|
|
1645
|
-
function
|
|
1638
|
+
function Uh() {
|
|
1646
1639
|
return this.rgb().formatHex8();
|
|
1647
1640
|
}
|
|
1648
|
-
function
|
|
1641
|
+
function Xh() {
|
|
1649
1642
|
return Ms(this).formatHsl();
|
|
1650
1643
|
}
|
|
1651
1644
|
function To() {
|
|
@@ -1653,7 +1646,7 @@ function To() {
|
|
|
1653
1646
|
}
|
|
1654
1647
|
function fi(t) {
|
|
1655
1648
|
var e, i;
|
|
1656
|
-
return t = (t + "").trim().toLowerCase(), (e =
|
|
1649
|
+
return t = (t + "").trim().toLowerCase(), (e = Rh.exec(t)) ? (i = e[1].length, e = parseInt(e[1], 16), i === 6 ? ko(e) : i === 3 ? new yt(e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, (e & 15) << 4 | e & 15, 1) : i === 8 ? Ei(e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, (e & 255) / 255) : i === 4 ? Ei(e >> 12 & 15 | e >> 8 & 240, e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, ((e & 15) << 4 | e & 15) / 255) : null) : (e = qh.exec(t)) ? new yt(e[1], e[2], e[3], 1) : (e = Ph.exec(t)) ? new yt(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, 1) : (e = zh.exec(t)) ? Ei(e[1], e[2], e[3], e[4]) : (e = Wh.exec(t)) ? Ei(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, e[4]) : (e = Yh.exec(t)) ? wo(e[1], e[2] / 100, e[3] / 100, 1) : (e = Hh.exec(t)) ? wo(e[1], e[2] / 100, e[3] / 100, e[4]) : xo.hasOwnProperty(t) ? ko(xo[t]) : t === "transparent" ? new yt(NaN, NaN, NaN, 0) : null;
|
|
1657
1650
|
}
|
|
1658
1651
|
function ko(t) {
|
|
1659
1652
|
return new yt(t >> 16 & 255, t >> 8 & 255, t & 255, 1);
|
|
@@ -1661,11 +1654,11 @@ function ko(t) {
|
|
|
1661
1654
|
function Ei(t, e, i, r) {
|
|
1662
1655
|
return r <= 0 && (t = e = i = NaN), new yt(t, e, i, r);
|
|
1663
1656
|
}
|
|
1664
|
-
function
|
|
1657
|
+
function jh(t) {
|
|
1665
1658
|
return t instanceof Ci || (t = fi(t)), t ? (t = t.rgb(), new yt(t.r, t.g, t.b, t.opacity)) : new yt();
|
|
1666
1659
|
}
|
|
1667
1660
|
function en(t, e, i, r) {
|
|
1668
|
-
return arguments.length === 1 ?
|
|
1661
|
+
return arguments.length === 1 ? jh(t) : new yt(t, e, i, r ?? 1);
|
|
1669
1662
|
}
|
|
1670
1663
|
function yt(t, e, i, r) {
|
|
1671
1664
|
this.r = +t, this.g = +e, this.b = +i, this.opacity = +r;
|
|
@@ -1689,14 +1682,14 @@ Tn(yt, en, Os(Ci, {
|
|
|
1689
1682
|
hex: So,
|
|
1690
1683
|
// Deprecated! Use color.formatHex.
|
|
1691
1684
|
formatHex: So,
|
|
1692
|
-
formatHex8:
|
|
1685
|
+
formatHex8: Gh,
|
|
1693
1686
|
formatRgb: vo,
|
|
1694
1687
|
toString: vo
|
|
1695
1688
|
}));
|
|
1696
1689
|
function So() {
|
|
1697
1690
|
return `#${pe(this.r)}${pe(this.g)}${pe(this.b)}`;
|
|
1698
1691
|
}
|
|
1699
|
-
function
|
|
1692
|
+
function Gh() {
|
|
1700
1693
|
return `#${pe(this.r)}${pe(this.g)}${pe(this.b)}${pe((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
|
|
1701
1694
|
}
|
|
1702
1695
|
function vo() {
|
|
@@ -1723,13 +1716,13 @@ function Ms(t) {
|
|
|
1723
1716
|
var e = t.r / 255, i = t.g / 255, r = t.b / 255, n = Math.min(e, i, r), s = Math.max(e, i, r), o = NaN, a = s - n, l = (s + n) / 2;
|
|
1724
1717
|
return a ? (e === s ? o = (i - r) / a + (i < r) * 6 : i === s ? o = (r - e) / a + 2 : o = (e - i) / a + 4, a /= l < 0.5 ? s + n : 2 - s - n, o *= 60) : a = l > 0 && l < 1 ? 0 : o, new Ft(o, a, l, t.opacity);
|
|
1725
1718
|
}
|
|
1726
|
-
function
|
|
1719
|
+
function Vh(t, e, i, r) {
|
|
1727
1720
|
return arguments.length === 1 ? Ms(t) : new Ft(t, e, i, r ?? 1);
|
|
1728
1721
|
}
|
|
1729
1722
|
function Ft(t, e, i, r) {
|
|
1730
1723
|
this.h = +t, this.s = +e, this.l = +i, this.opacity = +r;
|
|
1731
1724
|
}
|
|
1732
|
-
Tn(Ft,
|
|
1725
|
+
Tn(Ft, Vh, Os(Ci, {
|
|
1733
1726
|
brighter(t) {
|
|
1734
1727
|
return t = t == null ? Ki : Math.pow(Ki, t), new Ft(this.h, this.s, this.l * t, this.opacity);
|
|
1735
1728
|
},
|
|
@@ -1771,18 +1764,18 @@ function Ds(t, e) {
|
|
|
1771
1764
|
return t + i * e;
|
|
1772
1765
|
};
|
|
1773
1766
|
}
|
|
1774
|
-
function
|
|
1767
|
+
function Kh(t, e, i) {
|
|
1775
1768
|
return t = Math.pow(t, i), e = Math.pow(e, i) - t, i = 1 / i, function(r) {
|
|
1776
1769
|
return Math.pow(t + r * e, i);
|
|
1777
1770
|
};
|
|
1778
1771
|
}
|
|
1779
|
-
function
|
|
1772
|
+
function U_(t, e) {
|
|
1780
1773
|
var i = e - t;
|
|
1781
1774
|
return i ? Ds(t, i > 180 || i < -180 ? i - 360 * Math.round(i / 360) : i) : kn(isNaN(t) ? e : t);
|
|
1782
1775
|
}
|
|
1783
|
-
function
|
|
1776
|
+
function Zh(t) {
|
|
1784
1777
|
return (t = +t) == 1 ? Ns : function(e, i) {
|
|
1785
|
-
return i - e ?
|
|
1778
|
+
return i - e ? Kh(e, i, t) : kn(isNaN(e) ? i : e);
|
|
1786
1779
|
};
|
|
1787
1780
|
}
|
|
1788
1781
|
function Ns(t, e) {
|
|
@@ -1790,7 +1783,7 @@ function Ns(t, e) {
|
|
|
1790
1783
|
return i ? Ds(t, i) : kn(isNaN(t) ? e : t);
|
|
1791
1784
|
}
|
|
1792
1785
|
const Bo = (function t(e) {
|
|
1793
|
-
var i =
|
|
1786
|
+
var i = Zh(e);
|
|
1794
1787
|
function r(n, s) {
|
|
1795
1788
|
var o = i((n = en(n)).r, (s = en(s)).r), a = i(n.g, s.g), l = i(n.b, s.b), c = Ns(n.opacity, s.opacity);
|
|
1796
1789
|
return function(u) {
|
|
@@ -1805,21 +1798,21 @@ function se(t, e) {
|
|
|
1805
1798
|
};
|
|
1806
1799
|
}
|
|
1807
1800
|
var rn = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Pr = new RegExp(rn.source, "g");
|
|
1808
|
-
function
|
|
1801
|
+
function Jh(t) {
|
|
1809
1802
|
return function() {
|
|
1810
1803
|
return t;
|
|
1811
1804
|
};
|
|
1812
1805
|
}
|
|
1813
|
-
function
|
|
1806
|
+
function Qh(t) {
|
|
1814
1807
|
return function(e) {
|
|
1815
1808
|
return t(e) + "";
|
|
1816
1809
|
};
|
|
1817
1810
|
}
|
|
1818
|
-
function
|
|
1811
|
+
function tu(t, e) {
|
|
1819
1812
|
var i = rn.lastIndex = Pr.lastIndex = 0, r, n, s, o = -1, a = [], l = [];
|
|
1820
1813
|
for (t = t + "", e = e + ""; (r = rn.exec(t)) && (n = Pr.exec(e)); )
|
|
1821
1814
|
(s = n.index) > i && (s = e.slice(i, s), a[o] ? a[o] += s : a[++o] = s), (r = r[0]) === (n = n[0]) ? a[o] ? a[o] += n : a[++o] = n : (a[++o] = null, l.push({ i: o, x: se(r, n) })), i = Pr.lastIndex;
|
|
1822
|
-
return i < e.length && (s = e.slice(i), a[o] ? a[o] += s : a[++o] = s), a.length < 2 ? l[0] ?
|
|
1815
|
+
return i < e.length && (s = e.slice(i), a[o] ? a[o] += s : a[++o] = s), a.length < 2 ? l[0] ? Qh(l[0].x) : Jh(e) : (e = l.length, function(c) {
|
|
1823
1816
|
for (var u = 0, d; u < e; ++u) a[(d = l[u]).i] = d.x(c);
|
|
1824
1817
|
return a.join("");
|
|
1825
1818
|
});
|
|
@@ -1844,11 +1837,11 @@ function $s(t, e, i, r, n, s) {
|
|
|
1844
1837
|
};
|
|
1845
1838
|
}
|
|
1846
1839
|
var Ii;
|
|
1847
|
-
function
|
|
1840
|
+
function eu(t) {
|
|
1848
1841
|
const e = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(t + "");
|
|
1849
1842
|
return e.isIdentity ? nn : $s(e.a, e.b, e.c, e.d, e.e, e.f);
|
|
1850
1843
|
}
|
|
1851
|
-
function
|
|
1844
|
+
function iu(t) {
|
|
1852
1845
|
return t == null || (Ii || (Ii = document.createElementNS("http://www.w3.org/2000/svg", "g")), Ii.setAttribute("transform", t), !(t = Ii.transform.baseVal.consolidate())) ? nn : (t = t.matrix, $s(t.a, t.b, t.c, t.d, t.e, t.f));
|
|
1853
1846
|
}
|
|
1854
1847
|
function Rs(t, e, i, r) {
|
|
@@ -1881,13 +1874,13 @@ function Rs(t, e, i, r) {
|
|
|
1881
1874
|
};
|
|
1882
1875
|
};
|
|
1883
1876
|
}
|
|
1884
|
-
var
|
|
1877
|
+
var ru = Rs(eu, "px, ", "px)", "deg)"), nu = Rs(iu, ", ", ")", ")"), Me = 0, ei = 0, Ge = 0, qs = 1e3, Ji, ii, Qi = 0, _e = 0, mr = 0, pi = typeof performance == "object" && performance.now ? performance : Date, Ps = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
|
|
1885
1878
|
setTimeout(t, 17);
|
|
1886
1879
|
};
|
|
1887
1880
|
function Sn() {
|
|
1888
|
-
return _e || (Ps(
|
|
1881
|
+
return _e || (Ps(ou), _e = pi.now() + mr);
|
|
1889
1882
|
}
|
|
1890
|
-
function
|
|
1883
|
+
function ou() {
|
|
1891
1884
|
_e = 0;
|
|
1892
1885
|
}
|
|
1893
1886
|
function tr() {
|
|
@@ -1907,7 +1900,7 @@ function zs(t, e, i) {
|
|
|
1907
1900
|
var r = new tr();
|
|
1908
1901
|
return r.restart(t, e, i), r;
|
|
1909
1902
|
}
|
|
1910
|
-
function
|
|
1903
|
+
function su() {
|
|
1911
1904
|
Sn(), ++Me;
|
|
1912
1905
|
for (var t = Ji, e; t; )
|
|
1913
1906
|
(e = _e - t._time) >= 0 && t._call.call(void 0, e), t = t._next;
|
|
@@ -1916,16 +1909,16 @@ function au() {
|
|
|
1916
1909
|
function Eo() {
|
|
1917
1910
|
_e = (Qi = pi.now()) + mr, Me = ei = 0;
|
|
1918
1911
|
try {
|
|
1919
|
-
|
|
1912
|
+
su();
|
|
1920
1913
|
} finally {
|
|
1921
|
-
Me = 0,
|
|
1914
|
+
Me = 0, lu(), _e = 0;
|
|
1922
1915
|
}
|
|
1923
1916
|
}
|
|
1924
|
-
function
|
|
1917
|
+
function au() {
|
|
1925
1918
|
var t = pi.now(), e = t - Qi;
|
|
1926
1919
|
e > qs && (mr -= e, Qi = t);
|
|
1927
1920
|
}
|
|
1928
|
-
function
|
|
1921
|
+
function lu() {
|
|
1929
1922
|
for (var t, e = Ji, i, r = 1 / 0; e; )
|
|
1930
1923
|
e._call ? (r > e._time && (r = e._time), t = e, e = e._next) : (i = e._next, e._next = null, e = t ? t._next = i : Ji = i);
|
|
1931
1924
|
ii = t, on(r);
|
|
@@ -1934,7 +1927,7 @@ function on(t) {
|
|
|
1934
1927
|
if (!Me) {
|
|
1935
1928
|
ei && (ei = clearTimeout(ei));
|
|
1936
1929
|
var e = t - _e;
|
|
1937
|
-
e > 24 ? (t < 1 / 0 && (ei = setTimeout(Eo, t - pi.now() - mr)), Ge && (Ge = clearInterval(Ge))) : (Ge || (Qi = pi.now(), Ge = setInterval(
|
|
1930
|
+
e > 24 ? (t < 1 / 0 && (ei = setTimeout(Eo, t - pi.now() - mr)), Ge && (Ge = clearInterval(Ge))) : (Ge || (Qi = pi.now(), Ge = setInterval(au, qs)), Me = 1, Ps(Eo));
|
|
1938
1931
|
}
|
|
1939
1932
|
}
|
|
1940
1933
|
function Fo(t, e, i) {
|
|
@@ -1943,19 +1936,19 @@ function Fo(t, e, i) {
|
|
|
1943
1936
|
r.stop(), t(n + e);
|
|
1944
1937
|
}, e, i), r;
|
|
1945
1938
|
}
|
|
1946
|
-
var
|
|
1939
|
+
var cu = xs("start", "end", "cancel", "interrupt"), hu = [], Ws = 0, Io = 1, sn = 2, Pi = 3, Oo = 4, an = 5, zi = 6;
|
|
1947
1940
|
function yr(t, e, i, r, n, s) {
|
|
1948
1941
|
var o = t.__transition;
|
|
1949
1942
|
if (!o) t.__transition = {};
|
|
1950
1943
|
else if (i in o) return;
|
|
1951
|
-
|
|
1944
|
+
uu(t, i, {
|
|
1952
1945
|
name: e,
|
|
1953
1946
|
index: r,
|
|
1954
1947
|
// For context during callback.
|
|
1955
1948
|
group: n,
|
|
1956
1949
|
// For context during callback.
|
|
1957
|
-
on:
|
|
1958
|
-
tween:
|
|
1950
|
+
on: cu,
|
|
1951
|
+
tween: hu,
|
|
1959
1952
|
time: s.time,
|
|
1960
1953
|
delay: s.delay,
|
|
1961
1954
|
duration: s.duration,
|
|
@@ -1979,7 +1972,7 @@ function Ot(t, e) {
|
|
|
1979
1972
|
if (!i || !(i = i[e])) throw new Error("transition not found");
|
|
1980
1973
|
return i;
|
|
1981
1974
|
}
|
|
1982
|
-
function
|
|
1975
|
+
function uu(t, e, i) {
|
|
1983
1976
|
var r = t.__transition, n;
|
|
1984
1977
|
r[e] = i, i.timer = zs(s, 0, i.time);
|
|
1985
1978
|
function s(c) {
|
|
@@ -2012,7 +2005,7 @@ function du(t, e, i) {
|
|
|
2012
2005
|
delete t.__transition;
|
|
2013
2006
|
}
|
|
2014
2007
|
}
|
|
2015
|
-
function
|
|
2008
|
+
function du(t, e) {
|
|
2016
2009
|
var i = t.__transition, r, n, s = !0, o;
|
|
2017
2010
|
if (i) {
|
|
2018
2011
|
e = e == null ? null : e + "";
|
|
@@ -2026,12 +2019,12 @@ function fu(t, e) {
|
|
|
2026
2019
|
s && delete t.__transition;
|
|
2027
2020
|
}
|
|
2028
2021
|
}
|
|
2029
|
-
function
|
|
2022
|
+
function fu(t) {
|
|
2030
2023
|
return this.each(function() {
|
|
2031
|
-
|
|
2024
|
+
du(this, t);
|
|
2032
2025
|
});
|
|
2033
2026
|
}
|
|
2034
|
-
function
|
|
2027
|
+
function pu(t, e) {
|
|
2035
2028
|
var i, r;
|
|
2036
2029
|
return function() {
|
|
2037
2030
|
var n = Ut(this, t), s = n.tween;
|
|
@@ -2046,7 +2039,7 @@ function gu(t, e) {
|
|
|
2046
2039
|
n.tween = r;
|
|
2047
2040
|
};
|
|
2048
2041
|
}
|
|
2049
|
-
function
|
|
2042
|
+
function gu(t, e, i) {
|
|
2050
2043
|
var r, n;
|
|
2051
2044
|
if (typeof i != "function") throw new Error();
|
|
2052
2045
|
return function() {
|
|
@@ -2063,7 +2056,7 @@ function mu(t, e, i) {
|
|
|
2063
2056
|
s.tween = n;
|
|
2064
2057
|
};
|
|
2065
2058
|
}
|
|
2066
|
-
function
|
|
2059
|
+
function mu(t, e) {
|
|
2067
2060
|
var i = this._id;
|
|
2068
2061
|
if (t += "", arguments.length < 2) {
|
|
2069
2062
|
for (var r = Ot(this.node(), i).tween, n = 0, s = r.length, o; n < s; ++n)
|
|
@@ -2071,7 +2064,7 @@ function yu(t, e) {
|
|
|
2071
2064
|
return o.value;
|
|
2072
2065
|
return null;
|
|
2073
2066
|
}
|
|
2074
|
-
return this.each((e == null ?
|
|
2067
|
+
return this.each((e == null ? pu : gu)(i, t, e));
|
|
2075
2068
|
}
|
|
2076
2069
|
function wn(t, e, i) {
|
|
2077
2070
|
var r = t._id;
|
|
@@ -2084,141 +2077,141 @@ function wn(t, e, i) {
|
|
|
2084
2077
|
}
|
|
2085
2078
|
function Ys(t, e) {
|
|
2086
2079
|
var i;
|
|
2087
|
-
return (typeof e == "number" ? se : e instanceof fi ? Bo : (i = fi(e)) ? (e = i, Bo) :
|
|
2080
|
+
return (typeof e == "number" ? se : e instanceof fi ? Bo : (i = fi(e)) ? (e = i, Bo) : tu)(t, e);
|
|
2088
2081
|
}
|
|
2089
|
-
function
|
|
2082
|
+
function yu(t) {
|
|
2090
2083
|
return function() {
|
|
2091
2084
|
this.removeAttribute(t);
|
|
2092
2085
|
};
|
|
2093
2086
|
}
|
|
2094
|
-
function
|
|
2087
|
+
function _u(t) {
|
|
2095
2088
|
return function() {
|
|
2096
2089
|
this.removeAttributeNS(t.space, t.local);
|
|
2097
2090
|
};
|
|
2098
2091
|
}
|
|
2099
|
-
function
|
|
2092
|
+
function Cu(t, e, i) {
|
|
2100
2093
|
var r, n = i + "", s;
|
|
2101
2094
|
return function() {
|
|
2102
2095
|
var o = this.getAttribute(t);
|
|
2103
2096
|
return o === n ? null : o === r ? s : s = e(r = o, i);
|
|
2104
2097
|
};
|
|
2105
2098
|
}
|
|
2106
|
-
function
|
|
2099
|
+
function xu(t, e, i) {
|
|
2107
2100
|
var r, n = i + "", s;
|
|
2108
2101
|
return function() {
|
|
2109
2102
|
var o = this.getAttributeNS(t.space, t.local);
|
|
2110
2103
|
return o === n ? null : o === r ? s : s = e(r = o, i);
|
|
2111
2104
|
};
|
|
2112
2105
|
}
|
|
2113
|
-
function
|
|
2106
|
+
function bu(t, e, i) {
|
|
2114
2107
|
var r, n, s;
|
|
2115
2108
|
return function() {
|
|
2116
2109
|
var o, a = i(this), l;
|
|
2117
2110
|
return a == null ? void this.removeAttribute(t) : (o = this.getAttribute(t), l = a + "", o === l ? null : o === r && l === n ? s : (n = l, s = e(r = o, a)));
|
|
2118
2111
|
};
|
|
2119
2112
|
}
|
|
2120
|
-
function
|
|
2113
|
+
function Tu(t, e, i) {
|
|
2121
2114
|
var r, n, s;
|
|
2122
2115
|
return function() {
|
|
2123
2116
|
var o, a = i(this), l;
|
|
2124
2117
|
return a == null ? void this.removeAttributeNS(t.space, t.local) : (o = this.getAttributeNS(t.space, t.local), l = a + "", o === l ? null : o === r && l === n ? s : (n = l, s = e(r = o, a)));
|
|
2125
2118
|
};
|
|
2126
2119
|
}
|
|
2127
|
-
function
|
|
2128
|
-
var i = gr(t), r = i === "transform" ?
|
|
2129
|
-
return this.attrTween(t, typeof e == "function" ? (i.local ?
|
|
2120
|
+
function ku(t, e) {
|
|
2121
|
+
var i = gr(t), r = i === "transform" ? nu : Ys;
|
|
2122
|
+
return this.attrTween(t, typeof e == "function" ? (i.local ? Tu : bu)(i, r, wn(this, "attr." + t, e)) : e == null ? (i.local ? _u : yu)(i) : (i.local ? xu : Cu)(i, r, e));
|
|
2130
2123
|
}
|
|
2131
|
-
function
|
|
2124
|
+
function Su(t, e) {
|
|
2132
2125
|
return function(i) {
|
|
2133
2126
|
this.setAttribute(t, e.call(this, i));
|
|
2134
2127
|
};
|
|
2135
2128
|
}
|
|
2136
|
-
function
|
|
2129
|
+
function vu(t, e) {
|
|
2137
2130
|
return function(i) {
|
|
2138
2131
|
this.setAttributeNS(t.space, t.local, e.call(this, i));
|
|
2139
2132
|
};
|
|
2140
2133
|
}
|
|
2141
|
-
function
|
|
2134
|
+
function wu(t, e) {
|
|
2142
2135
|
var i, r;
|
|
2143
2136
|
function n() {
|
|
2144
2137
|
var s = e.apply(this, arguments);
|
|
2145
|
-
return s !== r && (i = (r = s) &&
|
|
2138
|
+
return s !== r && (i = (r = s) && vu(t, s)), i;
|
|
2146
2139
|
}
|
|
2147
2140
|
return n._value = e, n;
|
|
2148
2141
|
}
|
|
2149
|
-
function
|
|
2142
|
+
function Au(t, e) {
|
|
2150
2143
|
var i, r;
|
|
2151
2144
|
function n() {
|
|
2152
2145
|
var s = e.apply(this, arguments);
|
|
2153
|
-
return s !== r && (i = (r = s) &&
|
|
2146
|
+
return s !== r && (i = (r = s) && Su(t, s)), i;
|
|
2154
2147
|
}
|
|
2155
2148
|
return n._value = e, n;
|
|
2156
2149
|
}
|
|
2157
|
-
function
|
|
2150
|
+
function Bu(t, e) {
|
|
2158
2151
|
var i = "attr." + t;
|
|
2159
2152
|
if (arguments.length < 2) return (i = this.tween(i)) && i._value;
|
|
2160
2153
|
if (e == null) return this.tween(i, null);
|
|
2161
2154
|
if (typeof e != "function") throw new Error();
|
|
2162
2155
|
var r = gr(t);
|
|
2163
|
-
return this.tween(i, (r.local ?
|
|
2156
|
+
return this.tween(i, (r.local ? wu : Au)(r, e));
|
|
2164
2157
|
}
|
|
2165
|
-
function
|
|
2158
|
+
function Lu(t, e) {
|
|
2166
2159
|
return function() {
|
|
2167
2160
|
vn(this, t).delay = +e.apply(this, arguments);
|
|
2168
2161
|
};
|
|
2169
2162
|
}
|
|
2170
|
-
function
|
|
2163
|
+
function Eu(t, e) {
|
|
2171
2164
|
return e = +e, function() {
|
|
2172
2165
|
vn(this, t).delay = e;
|
|
2173
2166
|
};
|
|
2174
2167
|
}
|
|
2175
|
-
function
|
|
2168
|
+
function Fu(t) {
|
|
2176
2169
|
var e = this._id;
|
|
2177
|
-
return arguments.length ? this.each((typeof t == "function" ?
|
|
2170
|
+
return arguments.length ? this.each((typeof t == "function" ? Lu : Eu)(e, t)) : Ot(this.node(), e).delay;
|
|
2178
2171
|
}
|
|
2179
|
-
function
|
|
2172
|
+
function Iu(t, e) {
|
|
2180
2173
|
return function() {
|
|
2181
2174
|
Ut(this, t).duration = +e.apply(this, arguments);
|
|
2182
2175
|
};
|
|
2183
2176
|
}
|
|
2184
|
-
function
|
|
2177
|
+
function Ou(t, e) {
|
|
2185
2178
|
return e = +e, function() {
|
|
2186
2179
|
Ut(this, t).duration = e;
|
|
2187
2180
|
};
|
|
2188
2181
|
}
|
|
2189
|
-
function
|
|
2182
|
+
function Mu(t) {
|
|
2190
2183
|
var e = this._id;
|
|
2191
|
-
return arguments.length ? this.each((typeof t == "function" ?
|
|
2184
|
+
return arguments.length ? this.each((typeof t == "function" ? Iu : Ou)(e, t)) : Ot(this.node(), e).duration;
|
|
2192
2185
|
}
|
|
2193
|
-
function
|
|
2186
|
+
function Du(t, e) {
|
|
2194
2187
|
if (typeof e != "function") throw new Error();
|
|
2195
2188
|
return function() {
|
|
2196
2189
|
Ut(this, t).ease = e;
|
|
2197
2190
|
};
|
|
2198
2191
|
}
|
|
2199
|
-
function
|
|
2192
|
+
function Nu(t) {
|
|
2200
2193
|
var e = this._id;
|
|
2201
|
-
return arguments.length ? this.each(
|
|
2194
|
+
return arguments.length ? this.each(Du(e, t)) : Ot(this.node(), e).ease;
|
|
2202
2195
|
}
|
|
2203
|
-
function
|
|
2196
|
+
function $u(t, e) {
|
|
2204
2197
|
return function() {
|
|
2205
2198
|
var i = e.apply(this, arguments);
|
|
2206
2199
|
if (typeof i != "function") throw new Error();
|
|
2207
2200
|
Ut(this, t).ease = i;
|
|
2208
2201
|
};
|
|
2209
2202
|
}
|
|
2210
|
-
function
|
|
2203
|
+
function Ru(t) {
|
|
2211
2204
|
if (typeof t != "function") throw new Error();
|
|
2212
|
-
return this.each(
|
|
2205
|
+
return this.each($u(this._id, t));
|
|
2213
2206
|
}
|
|
2214
|
-
function
|
|
2207
|
+
function qu(t) {
|
|
2215
2208
|
typeof t != "function" && (t = ks(t));
|
|
2216
2209
|
for (var e = this._groups, i = e.length, r = new Array(i), n = 0; n < i; ++n)
|
|
2217
2210
|
for (var s = e[n], o = s.length, a = r[n] = [], l, c = 0; c < o; ++c)
|
|
2218
2211
|
(l = s[c]) && t.call(l, l.__data__, c, s) && a.push(l);
|
|
2219
2212
|
return new ee(r, this._parents, this._name, this._id);
|
|
2220
2213
|
}
|
|
2221
|
-
function
|
|
2214
|
+
function Pu(t) {
|
|
2222
2215
|
if (t._id !== this._id) throw new Error();
|
|
2223
2216
|
for (var e = this._groups, i = t._groups, r = e.length, n = i.length, s = Math.min(r, n), o = new Array(r), a = 0; a < s; ++a)
|
|
2224
2217
|
for (var l = e[a], c = i[a], u = l.length, d = o[a] = new Array(u), h, f = 0; f < u; ++f)
|
|
@@ -2227,34 +2220,34 @@ function zu(t) {
|
|
|
2227
2220
|
o[a] = e[a];
|
|
2228
2221
|
return new ee(o, this._parents, this._name, this._id);
|
|
2229
2222
|
}
|
|
2230
|
-
function
|
|
2223
|
+
function zu(t) {
|
|
2231
2224
|
return (t + "").trim().split(/^|\s+/).every(function(e) {
|
|
2232
2225
|
var i = e.indexOf(".");
|
|
2233
2226
|
return i >= 0 && (e = e.slice(0, i)), !e || e === "start";
|
|
2234
2227
|
});
|
|
2235
2228
|
}
|
|
2236
|
-
function
|
|
2237
|
-
var r, n, s =
|
|
2229
|
+
function Wu(t, e, i) {
|
|
2230
|
+
var r, n, s = zu(e) ? vn : Ut;
|
|
2238
2231
|
return function() {
|
|
2239
2232
|
var o = s(this, t), a = o.on;
|
|
2240
2233
|
a !== r && (n = (r = a).copy()).on(e, i), o.on = n;
|
|
2241
2234
|
};
|
|
2242
2235
|
}
|
|
2243
|
-
function
|
|
2236
|
+
function Yu(t, e) {
|
|
2244
2237
|
var i = this._id;
|
|
2245
|
-
return arguments.length < 2 ? Ot(this.node(), i).on.on(t) : this.each(
|
|
2238
|
+
return arguments.length < 2 ? Ot(this.node(), i).on.on(t) : this.each(Wu(i, t, e));
|
|
2246
2239
|
}
|
|
2247
|
-
function
|
|
2240
|
+
function Hu(t) {
|
|
2248
2241
|
return function() {
|
|
2249
2242
|
var e = this.parentNode;
|
|
2250
2243
|
for (var i in this.__transition) if (+i !== t) return;
|
|
2251
2244
|
e && e.removeChild(this);
|
|
2252
2245
|
};
|
|
2253
2246
|
}
|
|
2254
|
-
function
|
|
2255
|
-
return this.on("end.remove",
|
|
2247
|
+
function Uu() {
|
|
2248
|
+
return this.on("end.remove", Hu(this._id));
|
|
2256
2249
|
}
|
|
2257
|
-
function
|
|
2250
|
+
function Xu(t) {
|
|
2258
2251
|
var e = this._name, i = this._id;
|
|
2259
2252
|
typeof t != "function" && (t = xn(t));
|
|
2260
2253
|
for (var r = this._groups, n = r.length, s = new Array(n), o = 0; o < n; ++o)
|
|
@@ -2262,7 +2255,7 @@ function ju(t) {
|
|
|
2262
2255
|
(u = a[h]) && (d = t.call(u, u.__data__, h, a)) && ("__data__" in u && (d.__data__ = u.__data__), c[h] = d, yr(c[h], e, i, h, c, Ot(u, i)));
|
|
2263
2256
|
return new ee(s, this._parents, e, i);
|
|
2264
2257
|
}
|
|
2265
|
-
function
|
|
2258
|
+
function ju(t) {
|
|
2266
2259
|
var e = this._name, i = this._id;
|
|
2267
2260
|
typeof t != "function" && (t = Ts(t));
|
|
2268
2261
|
for (var r = this._groups, n = r.length, s = [], o = [], a = 0; a < n; ++a)
|
|
@@ -2274,11 +2267,11 @@ function Gu(t) {
|
|
|
2274
2267
|
}
|
|
2275
2268
|
return new ee(s, o, e, i);
|
|
2276
2269
|
}
|
|
2277
|
-
var
|
|
2278
|
-
function
|
|
2279
|
-
return new
|
|
2270
|
+
var Gu = _i.prototype.constructor;
|
|
2271
|
+
function Vu() {
|
|
2272
|
+
return new Gu(this._groups, this._parents);
|
|
2280
2273
|
}
|
|
2281
|
-
function
|
|
2274
|
+
function Ku(t, e) {
|
|
2282
2275
|
var i, r, n;
|
|
2283
2276
|
return function() {
|
|
2284
2277
|
var s = Oe(this, t), o = (this.style.removeProperty(t), Oe(this, t));
|
|
@@ -2290,86 +2283,86 @@ function Hs(t) {
|
|
|
2290
2283
|
this.style.removeProperty(t);
|
|
2291
2284
|
};
|
|
2292
2285
|
}
|
|
2293
|
-
function
|
|
2286
|
+
function Zu(t, e, i) {
|
|
2294
2287
|
var r, n = i + "", s;
|
|
2295
2288
|
return function() {
|
|
2296
2289
|
var o = Oe(this, t);
|
|
2297
2290
|
return o === n ? null : o === r ? s : s = e(r = o, i);
|
|
2298
2291
|
};
|
|
2299
2292
|
}
|
|
2300
|
-
function
|
|
2293
|
+
function Ju(t, e, i) {
|
|
2301
2294
|
var r, n, s;
|
|
2302
2295
|
return function() {
|
|
2303
2296
|
var o = Oe(this, t), a = i(this), l = a + "";
|
|
2304
2297
|
return a == null && (l = a = (this.style.removeProperty(t), Oe(this, t))), o === l ? null : o === r && l === n ? s : (n = l, s = e(r = o, a));
|
|
2305
2298
|
};
|
|
2306
2299
|
}
|
|
2307
|
-
function
|
|
2300
|
+
function Qu(t, e) {
|
|
2308
2301
|
var i, r, n, s = "style." + e, o = "end." + s, a;
|
|
2309
2302
|
return function() {
|
|
2310
2303
|
var l = Ut(this, t), c = l.on, u = l.value[s] == null ? a || (a = Hs(e)) : void 0;
|
|
2311
2304
|
(c !== i || n !== u) && (r = (i = c).copy()).on(o, n = u), l.on = r;
|
|
2312
2305
|
};
|
|
2313
2306
|
}
|
|
2314
|
-
function
|
|
2315
|
-
var r = (t += "") == "transform" ?
|
|
2316
|
-
return e == null ? this.styleTween(t,
|
|
2307
|
+
function td(t, e, i) {
|
|
2308
|
+
var r = (t += "") == "transform" ? ru : Ys;
|
|
2309
|
+
return e == null ? this.styleTween(t, Ku(t, r)).on("end.style." + t, Hs(t)) : typeof e == "function" ? this.styleTween(t, Ju(t, r, wn(this, "style." + t, e))).each(Qu(this._id, t)) : this.styleTween(t, Zu(t, r, e), i).on("end.style." + t, null);
|
|
2317
2310
|
}
|
|
2318
|
-
function
|
|
2311
|
+
function ed(t, e, i) {
|
|
2319
2312
|
return function(r) {
|
|
2320
2313
|
this.style.setProperty(t, e.call(this, r), i);
|
|
2321
2314
|
};
|
|
2322
2315
|
}
|
|
2323
|
-
function
|
|
2316
|
+
function id(t, e, i) {
|
|
2324
2317
|
var r, n;
|
|
2325
2318
|
function s() {
|
|
2326
2319
|
var o = e.apply(this, arguments);
|
|
2327
|
-
return o !== n && (r = (n = o) &&
|
|
2320
|
+
return o !== n && (r = (n = o) && ed(t, o, i)), r;
|
|
2328
2321
|
}
|
|
2329
2322
|
return s._value = e, s;
|
|
2330
2323
|
}
|
|
2331
|
-
function
|
|
2324
|
+
function rd(t, e, i) {
|
|
2332
2325
|
var r = "style." + (t += "");
|
|
2333
2326
|
if (arguments.length < 2) return (r = this.tween(r)) && r._value;
|
|
2334
2327
|
if (e == null) return this.tween(r, null);
|
|
2335
2328
|
if (typeof e != "function") throw new Error();
|
|
2336
|
-
return this.tween(r,
|
|
2329
|
+
return this.tween(r, id(t, e, i ?? ""));
|
|
2337
2330
|
}
|
|
2338
|
-
function
|
|
2331
|
+
function nd(t) {
|
|
2339
2332
|
return function() {
|
|
2340
2333
|
this.textContent = t;
|
|
2341
2334
|
};
|
|
2342
2335
|
}
|
|
2343
|
-
function
|
|
2336
|
+
function od(t) {
|
|
2344
2337
|
return function() {
|
|
2345
2338
|
var e = t(this);
|
|
2346
2339
|
this.textContent = e ?? "";
|
|
2347
2340
|
};
|
|
2348
2341
|
}
|
|
2349
|
-
function
|
|
2350
|
-
return this.tween("text", typeof t == "function" ?
|
|
2342
|
+
function sd(t) {
|
|
2343
|
+
return this.tween("text", typeof t == "function" ? od(wn(this, "text", t)) : nd(t == null ? "" : t + ""));
|
|
2351
2344
|
}
|
|
2352
|
-
function
|
|
2345
|
+
function ad(t) {
|
|
2353
2346
|
return function(e) {
|
|
2354
2347
|
this.textContent = t.call(this, e);
|
|
2355
2348
|
};
|
|
2356
2349
|
}
|
|
2357
|
-
function
|
|
2350
|
+
function ld(t) {
|
|
2358
2351
|
var e, i;
|
|
2359
2352
|
function r() {
|
|
2360
2353
|
var n = t.apply(this, arguments);
|
|
2361
|
-
return n !== i && (e = (i = n) &&
|
|
2354
|
+
return n !== i && (e = (i = n) && ad(n)), e;
|
|
2362
2355
|
}
|
|
2363
2356
|
return r._value = t, r;
|
|
2364
2357
|
}
|
|
2365
|
-
function
|
|
2358
|
+
function cd(t) {
|
|
2366
2359
|
var e = "text";
|
|
2367
2360
|
if (arguments.length < 1) return (e = this.tween(e)) && e._value;
|
|
2368
2361
|
if (t == null) return this.tween(e, null);
|
|
2369
2362
|
if (typeof t != "function") throw new Error();
|
|
2370
|
-
return this.tween(e,
|
|
2363
|
+
return this.tween(e, ld(t));
|
|
2371
2364
|
}
|
|
2372
|
-
function
|
|
2365
|
+
function hd() {
|
|
2373
2366
|
for (var t = this._name, e = this._id, i = Us(), r = this._groups, n = r.length, s = 0; s < n; ++s)
|
|
2374
2367
|
for (var o = r[s], a = o.length, l, c = 0; c < a; ++c)
|
|
2375
2368
|
if (l = o[c]) {
|
|
@@ -2383,7 +2376,7 @@ function ud() {
|
|
|
2383
2376
|
}
|
|
2384
2377
|
return new ee(r, this._parents, t, i);
|
|
2385
2378
|
}
|
|
2386
|
-
function
|
|
2379
|
+
function ud() {
|
|
2387
2380
|
var t, e, i = this, r = i._id, n = i.size();
|
|
2388
2381
|
return new Promise(function(s, o) {
|
|
2389
2382
|
var a = { value: o }, l = { value: function() {
|
|
@@ -2395,77 +2388,77 @@ function dd() {
|
|
|
2395
2388
|
}), n === 0 && s();
|
|
2396
2389
|
});
|
|
2397
2390
|
}
|
|
2398
|
-
var
|
|
2391
|
+
var dd = 0;
|
|
2399
2392
|
function ee(t, e, i, r) {
|
|
2400
2393
|
this._groups = t, this._parents = e, this._name = i, this._id = r;
|
|
2401
2394
|
}
|
|
2402
2395
|
function Us() {
|
|
2403
|
-
return ++
|
|
2396
|
+
return ++dd;
|
|
2404
2397
|
}
|
|
2405
2398
|
var Vt = _i.prototype;
|
|
2406
2399
|
ee.prototype = {
|
|
2407
2400
|
constructor: ee,
|
|
2408
|
-
select:
|
|
2409
|
-
selectAll:
|
|
2401
|
+
select: Xu,
|
|
2402
|
+
selectAll: ju,
|
|
2410
2403
|
selectChild: Vt.selectChild,
|
|
2411
2404
|
selectChildren: Vt.selectChildren,
|
|
2412
|
-
filter:
|
|
2413
|
-
merge:
|
|
2414
|
-
selection:
|
|
2415
|
-
transition:
|
|
2405
|
+
filter: qu,
|
|
2406
|
+
merge: Pu,
|
|
2407
|
+
selection: Vu,
|
|
2408
|
+
transition: hd,
|
|
2416
2409
|
call: Vt.call,
|
|
2417
2410
|
nodes: Vt.nodes,
|
|
2418
2411
|
node: Vt.node,
|
|
2419
2412
|
size: Vt.size,
|
|
2420
2413
|
empty: Vt.empty,
|
|
2421
2414
|
each: Vt.each,
|
|
2422
|
-
on:
|
|
2423
|
-
attr:
|
|
2424
|
-
attrTween:
|
|
2425
|
-
style:
|
|
2426
|
-
styleTween:
|
|
2427
|
-
text:
|
|
2428
|
-
textTween:
|
|
2429
|
-
remove:
|
|
2430
|
-
tween:
|
|
2431
|
-
delay:
|
|
2432
|
-
duration:
|
|
2433
|
-
ease:
|
|
2434
|
-
easeVarying:
|
|
2435
|
-
end:
|
|
2415
|
+
on: Yu,
|
|
2416
|
+
attr: ku,
|
|
2417
|
+
attrTween: Bu,
|
|
2418
|
+
style: td,
|
|
2419
|
+
styleTween: rd,
|
|
2420
|
+
text: sd,
|
|
2421
|
+
textTween: cd,
|
|
2422
|
+
remove: Uu,
|
|
2423
|
+
tween: mu,
|
|
2424
|
+
delay: Fu,
|
|
2425
|
+
duration: Mu,
|
|
2426
|
+
ease: Nu,
|
|
2427
|
+
easeVarying: Ru,
|
|
2428
|
+
end: ud,
|
|
2436
2429
|
[Symbol.iterator]: Vt[Symbol.iterator]
|
|
2437
2430
|
};
|
|
2438
|
-
function
|
|
2431
|
+
function fd(t) {
|
|
2439
2432
|
return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;
|
|
2440
2433
|
}
|
|
2441
|
-
var
|
|
2434
|
+
var pd = {
|
|
2442
2435
|
time: null,
|
|
2443
2436
|
// Set on use.
|
|
2444
2437
|
delay: 0,
|
|
2445
2438
|
duration: 250,
|
|
2446
|
-
ease:
|
|
2439
|
+
ease: fd
|
|
2447
2440
|
};
|
|
2448
|
-
function
|
|
2441
|
+
function gd(t, e) {
|
|
2449
2442
|
for (var i; !(i = t.__transition) || !(i = i[e]); )
|
|
2450
2443
|
if (!(t = t.parentNode))
|
|
2451
2444
|
throw new Error(`transition ${e} not found`);
|
|
2452
2445
|
return i;
|
|
2453
2446
|
}
|
|
2454
|
-
function
|
|
2447
|
+
function md(t) {
|
|
2455
2448
|
var e, i;
|
|
2456
|
-
t instanceof ee ? (e = t._id, t = t._name) : (e = Us(), (i =
|
|
2449
|
+
t instanceof ee ? (e = t._id, t = t._name) : (e = Us(), (i = pd).time = Sn(), t = t == null ? null : t + "");
|
|
2457
2450
|
for (var r = this._groups, n = r.length, s = 0; s < n; ++s)
|
|
2458
2451
|
for (var o = r[s], a = o.length, l, c = 0; c < a; ++c)
|
|
2459
|
-
(l = o[c]) && yr(l, t, e, c, o, i ||
|
|
2452
|
+
(l = o[c]) && yr(l, t, e, c, o, i || gd(l, e));
|
|
2460
2453
|
return new ee(r, this._parents, t, e);
|
|
2461
2454
|
}
|
|
2462
|
-
_i.prototype.interrupt =
|
|
2463
|
-
_i.prototype.transition =
|
|
2464
|
-
const
|
|
2465
|
-
function
|
|
2455
|
+
_i.prototype.interrupt = fu;
|
|
2456
|
+
_i.prototype.transition = md;
|
|
2457
|
+
const X_ = Math.abs, j_ = Math.atan2, G_ = Math.cos, V_ = Math.max, K_ = Math.min, Z_ = Math.sin, J_ = Math.sqrt, Mo = 1e-12, An = Math.PI, Do = An / 2, Q_ = 2 * An;
|
|
2458
|
+
function tC(t) {
|
|
2466
2459
|
return t > 1 ? 0 : t < -1 ? An : Math.acos(t);
|
|
2467
2460
|
}
|
|
2468
|
-
function
|
|
2461
|
+
function eC(t) {
|
|
2469
2462
|
return t >= 1 ? Do : t <= -1 ? -Do : Math.asin(t);
|
|
2470
2463
|
}
|
|
2471
2464
|
function Xs(t) {
|
|
@@ -2498,7 +2491,7 @@ Xs.prototype = {
|
|
|
2498
2491
|
}
|
|
2499
2492
|
}
|
|
2500
2493
|
};
|
|
2501
|
-
function
|
|
2494
|
+
function yd(t) {
|
|
2502
2495
|
return new Xs(t);
|
|
2503
2496
|
}
|
|
2504
2497
|
class js {
|
|
@@ -2534,10 +2527,10 @@ class js {
|
|
|
2534
2527
|
this._x0 = e, this._y0 = i;
|
|
2535
2528
|
}
|
|
2536
2529
|
}
|
|
2537
|
-
function
|
|
2530
|
+
function _d(t) {
|
|
2538
2531
|
return new js(t, !0);
|
|
2539
2532
|
}
|
|
2540
|
-
function
|
|
2533
|
+
function Cd(t) {
|
|
2541
2534
|
return new js(t, !1);
|
|
2542
2535
|
}
|
|
2543
2536
|
function ce() {
|
|
@@ -2594,7 +2587,7 @@ _r.prototype = {
|
|
|
2594
2587
|
this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e;
|
|
2595
2588
|
}
|
|
2596
2589
|
};
|
|
2597
|
-
function
|
|
2590
|
+
function xd(t) {
|
|
2598
2591
|
return new _r(t);
|
|
2599
2592
|
}
|
|
2600
2593
|
function Gs(t) {
|
|
@@ -2640,7 +2633,7 @@ Gs.prototype = {
|
|
|
2640
2633
|
this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e;
|
|
2641
2634
|
}
|
|
2642
2635
|
};
|
|
2643
|
-
function
|
|
2636
|
+
function bd(t) {
|
|
2644
2637
|
return new Gs(t);
|
|
2645
2638
|
}
|
|
2646
2639
|
function Vs(t) {
|
|
@@ -2682,7 +2675,7 @@ Vs.prototype = {
|
|
|
2682
2675
|
this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e;
|
|
2683
2676
|
}
|
|
2684
2677
|
};
|
|
2685
|
-
function
|
|
2678
|
+
function Td(t) {
|
|
2686
2679
|
return new Vs(t);
|
|
2687
2680
|
}
|
|
2688
2681
|
function Ks(t, e) {
|
|
@@ -2706,7 +2699,7 @@ Ks.prototype = {
|
|
|
2706
2699
|
this._x.push(+t), this._y.push(+e);
|
|
2707
2700
|
}
|
|
2708
2701
|
};
|
|
2709
|
-
const
|
|
2702
|
+
const kd = (function t(e) {
|
|
2710
2703
|
function i(r) {
|
|
2711
2704
|
return e === 1 ? new _r(r) : new Ks(r, e);
|
|
2712
2705
|
}
|
|
@@ -2766,7 +2759,7 @@ Bn.prototype = {
|
|
|
2766
2759
|
this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
|
|
2767
2760
|
}
|
|
2768
2761
|
};
|
|
2769
|
-
const
|
|
2762
|
+
const Sd = (function t(e) {
|
|
2770
2763
|
function i(r) {
|
|
2771
2764
|
return new Bn(r, e);
|
|
2772
2765
|
}
|
|
@@ -2817,7 +2810,7 @@ Ln.prototype = {
|
|
|
2817
2810
|
this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
|
|
2818
2811
|
}
|
|
2819
2812
|
};
|
|
2820
|
-
const
|
|
2813
|
+
const vd = (function t(e) {
|
|
2821
2814
|
function i(r) {
|
|
2822
2815
|
return new Ln(r, e);
|
|
2823
2816
|
}
|
|
@@ -2862,7 +2855,7 @@ En.prototype = {
|
|
|
2862
2855
|
this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
|
|
2863
2856
|
}
|
|
2864
2857
|
};
|
|
2865
|
-
const
|
|
2858
|
+
const wd = (function t(e) {
|
|
2866
2859
|
function i(r) {
|
|
2867
2860
|
return new En(r, e);
|
|
2868
2861
|
}
|
|
@@ -2928,7 +2921,7 @@ Zs.prototype = {
|
|
|
2928
2921
|
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
|
|
2929
2922
|
}
|
|
2930
2923
|
};
|
|
2931
|
-
const
|
|
2924
|
+
const Ad = (function t(e) {
|
|
2932
2925
|
function i(r) {
|
|
2933
2926
|
return e ? new Zs(r, e) : new Bn(r, 0);
|
|
2934
2927
|
}
|
|
@@ -2983,7 +2976,7 @@ Js.prototype = {
|
|
|
2983
2976
|
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
|
|
2984
2977
|
}
|
|
2985
2978
|
};
|
|
2986
|
-
const
|
|
2979
|
+
const Bd = (function t(e) {
|
|
2987
2980
|
function i(r) {
|
|
2988
2981
|
return e ? new Js(r, e) : new Ln(r, 0);
|
|
2989
2982
|
}
|
|
@@ -3032,7 +3025,7 @@ Qs.prototype = {
|
|
|
3032
3025
|
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
|
|
3033
3026
|
}
|
|
3034
3027
|
};
|
|
3035
|
-
const
|
|
3028
|
+
const Ld = (function t(e) {
|
|
3036
3029
|
function i(r) {
|
|
3037
3030
|
return e ? new Qs(r, e) : new En(r, 0);
|
|
3038
3031
|
}
|
|
@@ -3056,7 +3049,7 @@ ta.prototype = {
|
|
|
3056
3049
|
t = +t, e = +e, this._point ? this._context.lineTo(t, e) : (this._point = 1, this._context.moveTo(t, e));
|
|
3057
3050
|
}
|
|
3058
3051
|
};
|
|
3059
|
-
function
|
|
3052
|
+
function Ed(t) {
|
|
3060
3053
|
return new ta(t);
|
|
3061
3054
|
}
|
|
3062
3055
|
function No(t) {
|
|
@@ -3142,10 +3135,10 @@ ia.prototype = {
|
|
|
3142
3135
|
this._context.bezierCurveTo(e, t, r, i, s, n);
|
|
3143
3136
|
}
|
|
3144
3137
|
};
|
|
3145
|
-
function
|
|
3138
|
+
function Fd(t) {
|
|
3146
3139
|
return new rr(t);
|
|
3147
3140
|
}
|
|
3148
|
-
function
|
|
3141
|
+
function Id(t) {
|
|
3149
3142
|
return new ea(t);
|
|
3150
3143
|
}
|
|
3151
3144
|
function ra(t) {
|
|
@@ -3183,7 +3176,7 @@ function qo(t) {
|
|
|
3183
3176
|
for (s[i - 1] = (t[i] + n[i - 1]) / 2, e = 0; e < i - 1; ++e) s[e] = 2 * t[e + 1] - n[e + 1];
|
|
3184
3177
|
return [n, s];
|
|
3185
3178
|
}
|
|
3186
|
-
function
|
|
3179
|
+
function Od(t) {
|
|
3187
3180
|
return new ra(t);
|
|
3188
3181
|
}
|
|
3189
3182
|
function Cr(t, e) {
|
|
@@ -3223,13 +3216,13 @@ Cr.prototype = {
|
|
|
3223
3216
|
this._x = t, this._y = e;
|
|
3224
3217
|
}
|
|
3225
3218
|
};
|
|
3226
|
-
function
|
|
3219
|
+
function Md(t) {
|
|
3227
3220
|
return new Cr(t, 0.5);
|
|
3228
3221
|
}
|
|
3229
|
-
function
|
|
3222
|
+
function Dd(t) {
|
|
3230
3223
|
return new Cr(t, 0);
|
|
3231
3224
|
}
|
|
3232
|
-
function
|
|
3225
|
+
function Nd(t) {
|
|
3233
3226
|
return new Cr(t, 1);
|
|
3234
3227
|
}
|
|
3235
3228
|
function ri(t, e, i) {
|
|
@@ -3276,9 +3269,9 @@ ri.prototype;
|
|
|
3276
3269
|
const {
|
|
3277
3270
|
entries: na,
|
|
3278
3271
|
setPrototypeOf: Po,
|
|
3279
|
-
isFrozen:
|
|
3280
|
-
getPrototypeOf:
|
|
3281
|
-
getOwnPropertyDescriptor:
|
|
3272
|
+
isFrozen: $d,
|
|
3273
|
+
getPrototypeOf: Rd,
|
|
3274
|
+
getOwnPropertyDescriptor: qd
|
|
3282
3275
|
} = Object;
|
|
3283
3276
|
let {
|
|
3284
3277
|
freeze: ft,
|
|
@@ -3304,7 +3297,7 @@ hn || (hn = function(e) {
|
|
|
3304
3297
|
r[n - 1] = arguments[n];
|
|
3305
3298
|
return new e(...r);
|
|
3306
3299
|
});
|
|
3307
|
-
const Oi = pt(Array.prototype.forEach),
|
|
3300
|
+
const Oi = pt(Array.prototype.forEach), Pd = pt(Array.prototype.lastIndexOf), zo = pt(Array.prototype.pop), Ve = pt(Array.prototype.push), zd = pt(Array.prototype.splice), Wi = pt(String.prototype.toLowerCase), Wr = pt(String.prototype.toString), Yr = pt(String.prototype.match), Ke = pt(String.prototype.replace), Wd = pt(String.prototype.indexOf), Yd = pt(String.prototype.trim), Et = pt(Object.prototype.hasOwnProperty), ht = pt(RegExp.prototype.test), Ze = Hd(TypeError);
|
|
3308
3301
|
function pt(t) {
|
|
3309
3302
|
return function(e) {
|
|
3310
3303
|
e instanceof RegExp && (e.lastIndex = 0);
|
|
@@ -3313,7 +3306,7 @@ function pt(t) {
|
|
|
3313
3306
|
return cn(t, e, r);
|
|
3314
3307
|
};
|
|
3315
3308
|
}
|
|
3316
|
-
function
|
|
3309
|
+
function Hd(t) {
|
|
3317
3310
|
return function() {
|
|
3318
3311
|
for (var e = arguments.length, i = new Array(e), r = 0; r < e; r++)
|
|
3319
3312
|
i[r] = arguments[r];
|
|
@@ -3328,13 +3321,13 @@ function H(t, e) {
|
|
|
3328
3321
|
let n = e[r];
|
|
3329
3322
|
if (typeof n == "string") {
|
|
3330
3323
|
const s = i(n);
|
|
3331
|
-
s !== n && (
|
|
3324
|
+
s !== n && ($d(e) || (e[r] = s), n = s);
|
|
3332
3325
|
}
|
|
3333
3326
|
t[n] = !0;
|
|
3334
3327
|
}
|
|
3335
3328
|
return t;
|
|
3336
3329
|
}
|
|
3337
|
-
function
|
|
3330
|
+
function Ud(t) {
|
|
3338
3331
|
for (let e = 0; e < t.length; e++)
|
|
3339
3332
|
Et(t, e) || (t[e] = null);
|
|
3340
3333
|
return t;
|
|
@@ -3342,44 +3335,44 @@ function Xd(t) {
|
|
|
3342
3335
|
function $t(t) {
|
|
3343
3336
|
const e = ln(null);
|
|
3344
3337
|
for (const [i, r] of na(t))
|
|
3345
|
-
Et(t, i) && (Array.isArray(r) ? e[i] =
|
|
3338
|
+
Et(t, i) && (Array.isArray(r) ? e[i] = Ud(r) : r && typeof r == "object" && r.constructor === Object ? e[i] = $t(r) : e[i] = r);
|
|
3346
3339
|
return e;
|
|
3347
3340
|
}
|
|
3348
3341
|
function Je(t, e) {
|
|
3349
3342
|
for (; t !== null; ) {
|
|
3350
|
-
const r =
|
|
3343
|
+
const r = qd(t, e);
|
|
3351
3344
|
if (r) {
|
|
3352
3345
|
if (r.get)
|
|
3353
3346
|
return pt(r.get);
|
|
3354
3347
|
if (typeof r.value == "function")
|
|
3355
3348
|
return pt(r.value);
|
|
3356
3349
|
}
|
|
3357
|
-
t =
|
|
3350
|
+
t = Rd(t);
|
|
3358
3351
|
}
|
|
3359
3352
|
function i() {
|
|
3360
3353
|
return null;
|
|
3361
3354
|
}
|
|
3362
3355
|
return i;
|
|
3363
3356
|
}
|
|
3364
|
-
const Wo = ft(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Hr = ft(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ur = ft(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]),
|
|
3357
|
+
const Wo = ft(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Hr = ft(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ur = ft(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Xd = ft(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Xr = ft(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), jd = ft(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Yo = ft(["#text"]), Ho = ft(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), jr = ft(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Uo = ft(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Mi = ft(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Gd = vt(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Vd = vt(/<%[\w\W]*|[\w\W]*%>/gm), Kd = vt(/\$\{[\w\W]*/gm), Zd = vt(/^data-[\-\w.\u00B7-\uFFFF]+$/), Jd = vt(/^aria-[\-\w]+$/), oa = vt(
|
|
3365
3358
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
3366
3359
|
// eslint-disable-line no-useless-escape
|
|
3367
|
-
),
|
|
3360
|
+
), Qd = vt(/^(?:\w+script|data):/i), tf = vt(
|
|
3368
3361
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
3369
3362
|
// eslint-disable-line no-control-regex
|
|
3370
|
-
), sa = vt(/^html$/i),
|
|
3363
|
+
), sa = vt(/^html$/i), ef = vt(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
3371
3364
|
var Xo = /* @__PURE__ */ Object.freeze({
|
|
3372
3365
|
__proto__: null,
|
|
3373
|
-
ARIA_ATTR:
|
|
3374
|
-
ATTR_WHITESPACE:
|
|
3375
|
-
CUSTOM_ELEMENT:
|
|
3376
|
-
DATA_ATTR:
|
|
3366
|
+
ARIA_ATTR: Jd,
|
|
3367
|
+
ATTR_WHITESPACE: tf,
|
|
3368
|
+
CUSTOM_ELEMENT: ef,
|
|
3369
|
+
DATA_ATTR: Zd,
|
|
3377
3370
|
DOCTYPE_NAME: sa,
|
|
3378
|
-
ERB_EXPR:
|
|
3371
|
+
ERB_EXPR: Vd,
|
|
3379
3372
|
IS_ALLOWED_URI: oa,
|
|
3380
|
-
IS_SCRIPT_OR_DATA:
|
|
3381
|
-
MUSTACHE_EXPR:
|
|
3382
|
-
TMPLIT_EXPR:
|
|
3373
|
+
IS_SCRIPT_OR_DATA: Qd,
|
|
3374
|
+
MUSTACHE_EXPR: Gd,
|
|
3375
|
+
TMPLIT_EXPR: Kd
|
|
3383
3376
|
});
|
|
3384
3377
|
const Qe = {
|
|
3385
3378
|
element: 1,
|
|
@@ -3388,9 +3381,9 @@ const Qe = {
|
|
|
3388
3381
|
progressingInstruction: 7,
|
|
3389
3382
|
comment: 8,
|
|
3390
3383
|
document: 9
|
|
3391
|
-
},
|
|
3384
|
+
}, rf = function() {
|
|
3392
3385
|
return typeof window > "u" ? null : window;
|
|
3393
|
-
},
|
|
3386
|
+
}, nf = function(e, i) {
|
|
3394
3387
|
if (typeof e != "object" || typeof e.createPolicy != "function")
|
|
3395
3388
|
return null;
|
|
3396
3389
|
let r = null;
|
|
@@ -3423,7 +3416,7 @@ const Qe = {
|
|
|
3423
3416
|
};
|
|
3424
3417
|
};
|
|
3425
3418
|
function aa() {
|
|
3426
|
-
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
3419
|
+
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : rf();
|
|
3427
3420
|
const e = (O) => aa(O);
|
|
3428
3421
|
if (e.version = "3.3.1", e.removed = [], !t || !t.document || t.document.nodeType !== Qe.document || !t.Element)
|
|
3429
3422
|
return e.isSupported = !1, e;
|
|
@@ -3534,10 +3527,10 @@ function aa() {
|
|
|
3534
3527
|
throw Ze('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
3535
3528
|
x = p.TRUSTED_TYPES_POLICY, S = x.createHTML("");
|
|
3536
3529
|
} else
|
|
3537
|
-
x === void 0 && (x =
|
|
3530
|
+
x === void 0 && (x = nf(f, n)), x !== null && typeof S == "string" && (S = x.createHTML(""));
|
|
3538
3531
|
ft && ft(p), ke = p;
|
|
3539
3532
|
}
|
|
3540
|
-
}, ro = H({}, [...Hr, ...Ur, ...
|
|
3533
|
+
}, ro = H({}, [...Hr, ...Ur, ...Xd]), no = H({}, [...Xr, ...jd]), Ol = function(p) {
|
|
3541
3534
|
let _ = R(p);
|
|
3542
3535
|
(!_ || !_.tagName) && (_ = {
|
|
3543
3536
|
namespaceURI: Te,
|
|
@@ -3666,7 +3659,7 @@ function aa() {
|
|
|
3666
3659
|
) return !1;
|
|
3667
3660
|
} else if (!Ir[_]) {
|
|
3668
3661
|
if (!ht(W, Ke(B, v, ""))) {
|
|
3669
|
-
if (!((_ === "src" || _ === "xlink:href" || _ === "href") && p !== "script" &&
|
|
3662
|
+
if (!((_ === "src" || _ === "xlink:href" || _ === "href") && p !== "script" && Wd(B, "data:") === 0 && Qn[p])) {
|
|
3670
3663
|
if (!(Bt && !ht(E, Ke(B, v, "")))) {
|
|
3671
3664
|
if (B)
|
|
3672
3665
|
return !1;
|
|
@@ -3701,7 +3694,7 @@ function aa() {
|
|
|
3701
3694
|
namespaceURI: gt,
|
|
3702
3695
|
value: Gt
|
|
3703
3696
|
} = st, Se = it(K), $r = Gt;
|
|
3704
|
-
let ot = K === "value" ? $r :
|
|
3697
|
+
let ot = K === "value" ? $r : Yd($r);
|
|
3705
3698
|
if (B.attrName = Se, B.attrValue = ot, B.keepAttr = !0, B.forceKeepAttr = void 0, jt(A.uponSanitizeAttribute, p, B), ot = B.attrValue, Jn && (Se === "id" || Se === "name") && (de(K, p), ot = Al + ot), Ti && ht(/((--!?|])>)|<\/(style|title|textarea)/i, ot)) {
|
|
3706
3699
|
de(K, p);
|
|
3707
3700
|
continue;
|
|
@@ -3811,8 +3804,8 @@ function aa() {
|
|
|
3811
3804
|
typeof p == "function" && Ve(A[O], p);
|
|
3812
3805
|
}, e.removeHook = function(O, p) {
|
|
3813
3806
|
if (p !== void 0) {
|
|
3814
|
-
const _ =
|
|
3815
|
-
return _ === -1 ? void 0 :
|
|
3807
|
+
const _ = Pd(A[O], p);
|
|
3808
|
+
return _ === -1 ? void 0 : zd(A[O], _, 1)[0];
|
|
3816
3809
|
}
|
|
3817
3810
|
return zo(A[O]);
|
|
3818
3811
|
}, e.removeHooks = function(O) {
|
|
@@ -3893,11 +3886,11 @@ const Yi = {
|
|
|
3893
3886
|
return -1;
|
|
3894
3887
|
}
|
|
3895
3888
|
}
|
|
3896
|
-
},
|
|
3889
|
+
}, of = {
|
|
3897
3890
|
/* API */
|
|
3898
3891
|
clamp: (t, e, i) => e > i ? Math.min(e, Math.max(i, t)) : Math.min(i, Math.max(e, t)),
|
|
3899
3892
|
round: (t) => Math.round(t * 1e10) / 1e10
|
|
3900
|
-
},
|
|
3893
|
+
}, sf = {
|
|
3901
3894
|
/* API */
|
|
3902
3895
|
dec2hex: (t) => {
|
|
3903
3896
|
const e = Math.round(t).toString(16);
|
|
@@ -3905,8 +3898,8 @@ const Yi = {
|
|
|
3905
3898
|
}
|
|
3906
3899
|
}, P = {
|
|
3907
3900
|
channel: Yi,
|
|
3908
|
-
lang:
|
|
3909
|
-
unit:
|
|
3901
|
+
lang: of,
|
|
3902
|
+
unit: sf
|
|
3910
3903
|
}, oe = {};
|
|
3911
3904
|
for (let t = 0; t <= 255; t++)
|
|
3912
3905
|
oe[t] = P.unit.dec2hex(t);
|
|
@@ -3915,7 +3908,7 @@ const at = {
|
|
|
3915
3908
|
RGB: 1,
|
|
3916
3909
|
HSL: 2
|
|
3917
3910
|
};
|
|
3918
|
-
class
|
|
3911
|
+
class af {
|
|
3919
3912
|
constructor() {
|
|
3920
3913
|
this.type = at.ALL;
|
|
3921
3914
|
}
|
|
@@ -3935,10 +3928,10 @@ class lf {
|
|
|
3935
3928
|
return this.type === e;
|
|
3936
3929
|
}
|
|
3937
3930
|
}
|
|
3938
|
-
class
|
|
3931
|
+
class lf {
|
|
3939
3932
|
/* CONSTRUCTOR */
|
|
3940
3933
|
constructor(e, i) {
|
|
3941
|
-
this.color = i, this.changed = !1, this.data = e, this.type = new
|
|
3934
|
+
this.color = i, this.changed = !1, this.data = e, this.type = new af();
|
|
3942
3935
|
}
|
|
3943
3936
|
/* API */
|
|
3944
3937
|
set(e, i) {
|
|
@@ -4004,7 +3997,7 @@ class cf {
|
|
|
4004
3997
|
this.changed = !0, this.data.a = e;
|
|
4005
3998
|
}
|
|
4006
3999
|
}
|
|
4007
|
-
const xr = new
|
|
4000
|
+
const xr = new lf({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Ee = {
|
|
4008
4001
|
/* VARIABLES */
|
|
4009
4002
|
re: /^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,
|
|
4010
4003
|
/* API */
|
|
@@ -4288,10 +4281,10 @@ const xr = new cf({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Ee = {
|
|
|
4288
4281
|
a: P.channel.clamp.a(r)
|
|
4289
4282
|
});
|
|
4290
4283
|
return Wt.stringify(n);
|
|
4291
|
-
},
|
|
4284
|
+
}, cf = (t) => {
|
|
4292
4285
|
const { r: e, g: i, b: r } = Wt.parse(t), n = 0.2126 * P.channel.toLinear(e) + 0.7152 * P.channel.toLinear(i) + 0.0722 * P.channel.toLinear(r);
|
|
4293
4286
|
return P.lang.round(n);
|
|
4294
|
-
},
|
|
4287
|
+
}, hf = (t) => cf(t) >= 0.5, xi = (t) => !hf(t), ca = (t, e, i) => {
|
|
4295
4288
|
const r = Wt.parse(t), n = r[e], s = P.channel.clamp[e](n + i);
|
|
4296
4289
|
return n !== s && (r[e] = s), Wt.stringify(r);
|
|
4297
4290
|
}, F = (t, e) => ca(t, "l", e), $ = (t, e) => ca(t, "l", -e), g = (t, e) => {
|
|
@@ -4299,21 +4292,21 @@ const xr = new cf({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Ee = {
|
|
|
4299
4292
|
for (const n in e)
|
|
4300
4293
|
e[n] && (r[n] = i[n] + e[n]);
|
|
4301
4294
|
return la(t, r);
|
|
4302
|
-
},
|
|
4295
|
+
}, uf = (t, e, i = 50) => {
|
|
4303
4296
|
const { r, g: n, b: s, a: o } = Wt.parse(t), { r: a, g: l, b: c, a: u } = Wt.parse(e), d = i / 100, h = d * 2 - 1, f = o - u, y = ((h * f === -1 ? h : (h + f) / (1 + h * f)) + 1) / 2, C = 1 - y, L = r * y + a * C, b = n * y + l * C, R = s * y + c * C, x = o * d + u * (1 - d);
|
|
4304
4297
|
return ai(L, b, R, x);
|
|
4305
4298
|
}, k = (t, e = 100) => {
|
|
4306
4299
|
const i = Wt.parse(t);
|
|
4307
|
-
return i.r = 255 - i.r, i.g = 255 - i.g, i.b = 255 - i.b,
|
|
4300
|
+
return i.r = 255 - i.r, i.g = 255 - i.g, i.b = 255 - i.b, uf(i, t, e);
|
|
4308
4301
|
};
|
|
4309
|
-
var ha = "comm", ua = "rule", da = "decl",
|
|
4302
|
+
var ha = "comm", ua = "rule", da = "decl", df = "@import", ff = "@namespace", pf = "@keyframes", gf = "@layer", fa = Math.abs, In = String.fromCharCode;
|
|
4310
4303
|
function pa(t) {
|
|
4311
4304
|
return t.trim();
|
|
4312
4305
|
}
|
|
4313
4306
|
function Hi(t, e, i) {
|
|
4314
4307
|
return t.replace(e, i);
|
|
4315
4308
|
}
|
|
4316
|
-
function
|
|
4309
|
+
function mf(t, e, i) {
|
|
4317
4310
|
return t.indexOf(e, i);
|
|
4318
4311
|
}
|
|
4319
4312
|
function Fe(t, e) {
|
|
@@ -4325,7 +4318,7 @@ function Ne(t, e, i) {
|
|
|
4325
4318
|
function qt(t) {
|
|
4326
4319
|
return t.length;
|
|
4327
4320
|
}
|
|
4328
|
-
function
|
|
4321
|
+
function yf(t) {
|
|
4329
4322
|
return t.length;
|
|
4330
4323
|
}
|
|
4331
4324
|
function Di(t, e) {
|
|
@@ -4335,10 +4328,10 @@ var br = 1, $e = 1, ga = 0, wt = 0, Z = 0, Ye = "";
|
|
|
4335
4328
|
function On(t, e, i, r, n, s, o, a) {
|
|
4336
4329
|
return { value: t, root: e, parent: i, type: r, props: n, children: s, line: br, column: $e, length: o, return: "", siblings: a };
|
|
4337
4330
|
}
|
|
4338
|
-
function
|
|
4331
|
+
function _f() {
|
|
4339
4332
|
return Z;
|
|
4340
4333
|
}
|
|
4341
|
-
function
|
|
4334
|
+
function Cf() {
|
|
4342
4335
|
return Z = wt > 0 ? Fe(Ye, --wt) : 0, $e--, Z === 10 && ($e = 1, br--), Z;
|
|
4343
4336
|
}
|
|
4344
4337
|
function It() {
|
|
@@ -4391,21 +4384,21 @@ function gi(t) {
|
|
|
4391
4384
|
}
|
|
4392
4385
|
return 0;
|
|
4393
4386
|
}
|
|
4394
|
-
function
|
|
4387
|
+
function xf(t) {
|
|
4395
4388
|
return br = $e = 1, ga = qt(Ye = t), wt = 0, [];
|
|
4396
4389
|
}
|
|
4397
|
-
function
|
|
4390
|
+
function bf(t) {
|
|
4398
4391
|
return Ye = "", t;
|
|
4399
4392
|
}
|
|
4400
4393
|
function Gr(t) {
|
|
4401
4394
|
return pa(Tr(wt - 1, un(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
|
|
4402
4395
|
}
|
|
4403
|
-
function
|
|
4396
|
+
function Tf(t) {
|
|
4404
4397
|
for (; (Z = ae()) && Z < 33; )
|
|
4405
4398
|
It();
|
|
4406
4399
|
return gi(t) > 2 || gi(Z) > 3 ? "" : " ";
|
|
4407
4400
|
}
|
|
4408
|
-
function
|
|
4401
|
+
function kf(t, e) {
|
|
4409
4402
|
for (; --e && It() && !(Z < 48 || Z > 102 || Z > 57 && Z < 65 || Z > 70 && Z < 97); )
|
|
4410
4403
|
;
|
|
4411
4404
|
return Tr(t, Ui() + (e < 6 && ae() == 32 && It() == 32));
|
|
@@ -4432,19 +4425,19 @@ function un(t) {
|
|
|
4432
4425
|
}
|
|
4433
4426
|
return wt;
|
|
4434
4427
|
}
|
|
4435
|
-
function
|
|
4428
|
+
function Sf(t, e) {
|
|
4436
4429
|
for (; It() && t + Z !== 57; )
|
|
4437
4430
|
if (t + Z === 84 && ae() === 47)
|
|
4438
4431
|
break;
|
|
4439
4432
|
return "/*" + Tr(e, wt - 1) + "*" + In(t === 47 ? t : It());
|
|
4440
4433
|
}
|
|
4441
|
-
function
|
|
4434
|
+
function vf(t) {
|
|
4442
4435
|
for (; !gi(ae()); )
|
|
4443
4436
|
It();
|
|
4444
4437
|
return Tr(t, wt);
|
|
4445
4438
|
}
|
|
4446
|
-
function
|
|
4447
|
-
return
|
|
4439
|
+
function wf(t) {
|
|
4440
|
+
return bf(Xi("", null, null, null, [""], t = xf(t), 0, [0], t));
|
|
4448
4441
|
}
|
|
4449
4442
|
function Xi(t, e, i, r, n, s, o, a, l) {
|
|
4450
4443
|
for (var c = 0, u = 0, d = o, h = 0, f = 0, m = 0, y = 1, C = 1, L = 1, b = 0, R = "", x = n, S = s, X = r, N = R; C; )
|
|
@@ -4452,7 +4445,7 @@ function Xi(t, e, i, r, n, s, o, a, l) {
|
|
|
4452
4445
|
// (
|
|
4453
4446
|
case 40:
|
|
4454
4447
|
if (m != 108 && Fe(N, d - 1) == 58) {
|
|
4455
|
-
|
|
4448
|
+
mf(N += Hi(Gr(b), "&", "&\f"), "&\f", fa(c ? a[c - 1] : 0)) != -1 && (L = -1);
|
|
4456
4449
|
break;
|
|
4457
4450
|
}
|
|
4458
4451
|
// " ' [
|
|
@@ -4466,18 +4459,18 @@ function Xi(t, e, i, r, n, s, o, a, l) {
|
|
|
4466
4459
|
case 10:
|
|
4467
4460
|
case 13:
|
|
4468
4461
|
case 32:
|
|
4469
|
-
N +=
|
|
4462
|
+
N += Tf(m);
|
|
4470
4463
|
break;
|
|
4471
4464
|
// \
|
|
4472
4465
|
case 92:
|
|
4473
|
-
N +=
|
|
4466
|
+
N += kf(Ui() - 1, 7);
|
|
4474
4467
|
continue;
|
|
4475
4468
|
// /
|
|
4476
4469
|
case 47:
|
|
4477
4470
|
switch (ae()) {
|
|
4478
4471
|
case 42:
|
|
4479
4472
|
case 47:
|
|
4480
|
-
Di(
|
|
4473
|
+
Di(Af(Sf(It(), Ui()), e, i, l), l), (gi(m || 1) == 5 || gi(ae() || 1) == 5) && qt(N) && Ne(N, -1, void 0) !== " " && (N += " ");
|
|
4481
4474
|
break;
|
|
4482
4475
|
default:
|
|
4483
4476
|
N += "/";
|
|
@@ -4534,7 +4527,7 @@ function Xi(t, e, i, r, n, s, o, a, l) {
|
|
|
4534
4527
|
if (y < 1) {
|
|
4535
4528
|
if (b == 123)
|
|
4536
4529
|
--y;
|
|
4537
|
-
else if (b == 125 && y++ == 0 &&
|
|
4530
|
+
else if (b == 125 && y++ == 0 && Cf() == 125)
|
|
4538
4531
|
continue;
|
|
4539
4532
|
}
|
|
4540
4533
|
switch (N += In(b), b * y) {
|
|
@@ -4548,7 +4541,7 @@ function Xi(t, e, i, r, n, s, o, a, l) {
|
|
|
4548
4541
|
break;
|
|
4549
4542
|
// @
|
|
4550
4543
|
case 64:
|
|
4551
|
-
ae() === 45 && (N += Gr(It())), h = ae(), u = d = qt(R = N +=
|
|
4544
|
+
ae() === 45 && (N += Gr(It())), h = ae(), u = d = qt(R = N += vf(Ui())), b++;
|
|
4552
4545
|
break;
|
|
4553
4546
|
// -
|
|
4554
4547
|
case 45:
|
|
@@ -4558,13 +4551,13 @@ function Xi(t, e, i, r, n, s, o, a, l) {
|
|
|
4558
4551
|
return s;
|
|
4559
4552
|
}
|
|
4560
4553
|
function Go(t, e, i, r, n, s, o, a, l, c, u, d) {
|
|
4561
|
-
for (var h = n - 1, f = n === 0 ? s : [""], m =
|
|
4554
|
+
for (var h = n - 1, f = n === 0 ? s : [""], m = yf(f), y = 0, C = 0, L = 0; y < r; ++y)
|
|
4562
4555
|
for (var b = 0, R = Ne(t, h + 1, h = fa(C = o[y])), x = t; b < m; ++b)
|
|
4563
4556
|
(x = pa(C > 0 ? f[b] + " " + R : Hi(R, /&\f/g, f[b]))) && (l[L++] = x);
|
|
4564
4557
|
return On(t, e, i, n === 0 ? ua : a, l, c, u, d);
|
|
4565
4558
|
}
|
|
4566
|
-
function
|
|
4567
|
-
return On(t, e, i, ha, In(
|
|
4559
|
+
function Af(t, e, i, r) {
|
|
4560
|
+
return On(t, e, i, ha, In(_f()), Ne(t, 2, -2), 0, r);
|
|
4568
4561
|
}
|
|
4569
4562
|
function Vo(t, e, i, r, n) {
|
|
4570
4563
|
return On(t, e, i, da, Ne(t, 0, r), Ne(t, r + 1, -1), r, n);
|
|
@@ -4574,17 +4567,17 @@ function dn(t, e) {
|
|
|
4574
4567
|
i += e(t[r], r, t, e) || "";
|
|
4575
4568
|
return i;
|
|
4576
4569
|
}
|
|
4577
|
-
function
|
|
4570
|
+
function Bf(t, e, i, r) {
|
|
4578
4571
|
switch (t.type) {
|
|
4579
|
-
case
|
|
4572
|
+
case gf:
|
|
4580
4573
|
if (t.children.length) break;
|
|
4574
|
+
case df:
|
|
4581
4575
|
case ff:
|
|
4582
|
-
case pf:
|
|
4583
4576
|
case da:
|
|
4584
4577
|
return t.return = t.return || t.value;
|
|
4585
4578
|
case ha:
|
|
4586
4579
|
return "";
|
|
4587
|
-
case
|
|
4580
|
+
case pf:
|
|
4588
4581
|
return t.return = t.value + "{" + dn(t.children, r) + "}";
|
|
4589
4582
|
case ua:
|
|
4590
4583
|
if (!qt(t.value = t.props.join(","))) return "";
|
|
@@ -4620,13 +4613,13 @@ const Kt = {
|
|
|
4620
4613
|
}, D.error = () => {
|
|
4621
4614
|
}, D.fatal = () => {
|
|
4622
4615
|
}, e <= Kt.fatal && (D.fatal = console.error ? console.error.bind(console, kt("FATAL"), "color: orange") : console.log.bind(console, "\x1B[35m", kt("FATAL"))), e <= Kt.error && (D.error = console.error ? console.error.bind(console, kt("ERROR"), "color: orange") : console.log.bind(console, "\x1B[31m", kt("ERROR"))), e <= Kt.warn && (D.warn = console.warn ? console.warn.bind(console, kt("WARN"), "color: orange") : console.log.bind(console, "\x1B[33m", kt("WARN"))), e <= Kt.info && (D.info = console.info ? console.info.bind(console, kt("INFO"), "color: lightblue") : console.log.bind(console, "\x1B[34m", kt("INFO"))), e <= Kt.debug && (D.debug = console.debug ? console.debug.bind(console, kt("DEBUG"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", kt("DEBUG"))), e <= Kt.trace && (D.trace = console.debug ? console.debug.bind(console, kt("TRACE"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", kt("TRACE")));
|
|
4623
|
-
}, kt = (t) => `%c${
|
|
4616
|
+
}, kt = (t) => `%c${ic().format("ss.SSS")} : ${t} : `, bi = /<br\s*\/?>/gi, Lf = (t) => t ? ya(t).replace(/\\n/g, "#br#").split("#br#") : [""], Ef = /* @__PURE__ */ (() => {
|
|
4624
4617
|
let t = !1;
|
|
4625
4618
|
return () => {
|
|
4626
|
-
t || (
|
|
4619
|
+
t || (Ff(), t = !0);
|
|
4627
4620
|
};
|
|
4628
4621
|
})();
|
|
4629
|
-
function
|
|
4622
|
+
function Ff() {
|
|
4630
4623
|
const t = "data-temp-href-target";
|
|
4631
4624
|
De.addHook("beforeSanitizeAttributes", (e) => {
|
|
4632
4625
|
e.tagName === "A" && e.hasAttribute("target") && e.setAttribute(t, e.getAttribute("target") ?? "");
|
|
@@ -4634,39 +4627,39 @@ function If() {
|
|
|
4634
4627
|
e.tagName === "A" && e.hasAttribute(t) && (e.setAttribute("target", e.getAttribute(t) ?? ""), e.removeAttribute(t), e.getAttribute("target") === "_blank" && e.setAttribute("rel", "noopener"));
|
|
4635
4628
|
});
|
|
4636
4629
|
}
|
|
4637
|
-
const ma = (t) => (
|
|
4630
|
+
const ma = (t) => (Ef(), De.sanitize(t)), Ko = (t, e) => {
|
|
4638
4631
|
var i;
|
|
4639
4632
|
if (((i = e.flowchart) == null ? void 0 : i.htmlLabels) !== !1) {
|
|
4640
4633
|
const r = e.securityLevel;
|
|
4641
|
-
r === "antiscript" || r === "strict" ? t = ma(t) : r !== "loose" && (t = ya(t), t = t.replace(/</g, "<").replace(/>/g, ">"), t = t.replace(/=/g, "="), t =
|
|
4634
|
+
r === "antiscript" || r === "strict" ? t = ma(t) : r !== "loose" && (t = ya(t), t = t.replace(/</g, "<").replace(/>/g, ">"), t = t.replace(/=/g, "="), t = Df(t));
|
|
4642
4635
|
}
|
|
4643
4636
|
return t;
|
|
4644
4637
|
}, Re = (t, e) => t && (e.dompurifyConfig ? t = De.sanitize(Ko(t, e), e.dompurifyConfig).toString() : t = De.sanitize(Ko(t, e), {
|
|
4645
4638
|
FORBID_TAGS: ["style"]
|
|
4646
|
-
}).toString(), t),
|
|
4639
|
+
}).toString(), t), If = (t, e) => typeof t == "string" ? Re(t, e) : t.flat().map((i) => Re(i, e)), Of = (t) => bi.test(t), Mf = (t) => t.split(bi), Df = (t) => t.replace(/#br#/g, "<br/>"), ya = (t) => t.replace(bi, "#br#"), Nf = (t) => {
|
|
4647
4640
|
let e = "";
|
|
4648
4641
|
return t && (e = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, e = e.replaceAll(/\(/g, "\\("), e = e.replaceAll(/\)/g, "\\)")), e;
|
|
4649
|
-
}, _a = (t) => !(t === !1 || ["false", "null", "0"].includes(String(t).trim().toLowerCase())),
|
|
4642
|
+
}, _a = (t) => !(t === !1 || ["false", "null", "0"].includes(String(t).trim().toLowerCase())), $f = function(...t) {
|
|
4650
4643
|
const e = t.filter((i) => !isNaN(i));
|
|
4651
4644
|
return Math.max(...e);
|
|
4652
|
-
},
|
|
4645
|
+
}, Rf = function(...t) {
|
|
4653
4646
|
const e = t.filter((i) => !isNaN(i));
|
|
4654
4647
|
return Math.min(...e);
|
|
4655
|
-
},
|
|
4648
|
+
}, iC = function(t) {
|
|
4656
4649
|
const e = t.split(/(,)/), i = [];
|
|
4657
4650
|
for (let r = 0; r < e.length; r++) {
|
|
4658
4651
|
let n = e[r];
|
|
4659
4652
|
if (n === "," && r > 0 && r + 1 < e.length) {
|
|
4660
4653
|
const s = e[r - 1], o = e[r + 1];
|
|
4661
|
-
|
|
4654
|
+
qf(s, o) && (n = s + "," + o, r++, i.pop());
|
|
4662
4655
|
}
|
|
4663
|
-
i.push(
|
|
4656
|
+
i.push(Pf(n));
|
|
4664
4657
|
}
|
|
4665
4658
|
return i.join("");
|
|
4666
|
-
}, fn = (t, e) => Math.max(0, t.split(e).length - 1),
|
|
4659
|
+
}, fn = (t, e) => Math.max(0, t.split(e).length - 1), qf = (t, e) => {
|
|
4667
4660
|
const i = fn(t, "~"), r = fn(e, "~");
|
|
4668
4661
|
return i === 1 && r === 1;
|
|
4669
|
-
},
|
|
4662
|
+
}, Pf = (t) => {
|
|
4670
4663
|
const e = fn(t, "~");
|
|
4671
4664
|
let i = !1;
|
|
4672
4665
|
if (e <= 1)
|
|
@@ -4680,19 +4673,19 @@ const ma = (t) => (Ff(), De.sanitize(t)), Ko = (t, e) => {
|
|
|
4680
4673
|
}, Zo = () => window.MathMLElement !== void 0, pn = /\$\$(.*)\$\$/g, Jo = (t) => {
|
|
4681
4674
|
var e;
|
|
4682
4675
|
return (((e = t.match(pn)) == null ? void 0 : e.length) ?? 0) > 0;
|
|
4683
|
-
},
|
|
4676
|
+
}, rC = async (t, e) => {
|
|
4684
4677
|
const i = document.createElement("div");
|
|
4685
|
-
i.innerHTML = await
|
|
4678
|
+
i.innerHTML = await Wf(t, e), i.id = "katex-temp", i.style.visibility = "hidden", i.style.position = "absolute", i.style.top = "0";
|
|
4686
4679
|
const r = document.querySelector("body");
|
|
4687
4680
|
r == null || r.insertAdjacentElement("beforeend", i);
|
|
4688
4681
|
const n = { width: i.clientWidth, height: i.clientHeight };
|
|
4689
4682
|
return i.remove(), n;
|
|
4690
|
-
},
|
|
4683
|
+
}, zf = async (t, e) => {
|
|
4691
4684
|
if (!Jo(t))
|
|
4692
4685
|
return t;
|
|
4693
4686
|
if (!Zo() && !e.legacyMathML)
|
|
4694
4687
|
return t.replace(pn, "MathML is unsupported in this environment.");
|
|
4695
|
-
const { default: i } = await import("./layers.
|
|
4688
|
+
const { default: i } = await import("./layers.BomdlrIn.js").then((r) => r.Q);
|
|
4696
4689
|
return t.split(bi).map(
|
|
4697
4690
|
(r) => Jo(r) ? `
|
|
4698
4691
|
<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">
|
|
@@ -4707,20 +4700,20 @@ const ma = (t) => (Ff(), De.sanitize(t)), Ko = (t, e) => {
|
|
|
4707
4700
|
output: Zo() ? "mathml" : "htmlAndMathml"
|
|
4708
4701
|
}).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, "")
|
|
4709
4702
|
);
|
|
4710
|
-
},
|
|
4711
|
-
getRows:
|
|
4703
|
+
}, Wf = async (t, e) => Re(await zf(t, e), e), Dn = {
|
|
4704
|
+
getRows: Lf,
|
|
4712
4705
|
sanitizeText: Re,
|
|
4713
|
-
sanitizeTextOrArray:
|
|
4714
|
-
hasBreaks:
|
|
4715
|
-
splitBreaks:
|
|
4706
|
+
sanitizeTextOrArray: If,
|
|
4707
|
+
hasBreaks: Of,
|
|
4708
|
+
splitBreaks: Mf,
|
|
4716
4709
|
lineBreakRegex: bi,
|
|
4717
4710
|
removeScript: ma,
|
|
4718
|
-
getUrl:
|
|
4711
|
+
getUrl: Nf,
|
|
4719
4712
|
evaluate: _a,
|
|
4720
|
-
getMax:
|
|
4721
|
-
getMin:
|
|
4713
|
+
getMax: $f,
|
|
4714
|
+
getMin: Rf
|
|
4722
4715
|
}, dt = (t, e) => e ? g(t, { s: -40, l: 10 }) : g(t, { s: -40, l: -10 }), kr = "#ffffff", Sr = "#f2f2f2";
|
|
4723
|
-
let
|
|
4716
|
+
let Yf = class {
|
|
4724
4717
|
constructor() {
|
|
4725
4718
|
this.background = "#f4f4f4", this.primaryColor = "#fff4dd", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px";
|
|
4726
4719
|
}
|
|
@@ -4769,11 +4762,11 @@ let Hf = class {
|
|
|
4769
4762
|
});
|
|
4770
4763
|
}
|
|
4771
4764
|
};
|
|
4772
|
-
const
|
|
4773
|
-
const e = new
|
|
4765
|
+
const Hf = (t) => {
|
|
4766
|
+
const e = new Yf();
|
|
4774
4767
|
return e.calculate(t), e;
|
|
4775
4768
|
};
|
|
4776
|
-
let
|
|
4769
|
+
let Uf = class {
|
|
4777
4770
|
constructor() {
|
|
4778
4771
|
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = F(this.primaryColor, 16), this.tertiaryColor = g(this.primaryColor, { h: -160 }), this.primaryBorderColor = k(this.background), this.secondaryBorderColor = dt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = dt(this.tertiaryColor, this.darkMode), this.primaryTextColor = k(this.primaryColor), this.secondaryTextColor = k(this.secondaryColor), this.tertiaryTextColor = k(this.tertiaryColor), this.lineColor = k(this.background), this.textColor = k(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = F(k("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#81B1DB", this.border2 = ai(255, 255, 255, 0.25), this.arrowheadColor = "calculated", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#F9FFFE", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "calculated", this.activationBkgColor = "calculated", this.sequenceNumberColor = "black", this.sectionBkgColor = $("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = $(this.sectionBkgColor, 10), this.taskBorderColor = ai(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = ai(255, 255, 255, 50), this.activeTaskBkgColor = "#81B1DB", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "grey", this.critBorderColor = "#E83737", this.critBkgColor = "#E83737", this.taskTextDarkColor = "calculated", this.todayLineColor = "#DB5757", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd";
|
|
4779
4772
|
}
|
|
@@ -4818,11 +4811,11 @@ let Xf = class {
|
|
|
4818
4811
|
});
|
|
4819
4812
|
}
|
|
4820
4813
|
};
|
|
4821
|
-
const
|
|
4822
|
-
const e = new
|
|
4814
|
+
const Xf = (t) => {
|
|
4815
|
+
const e = new Uf();
|
|
4823
4816
|
return e.calculate(t), e;
|
|
4824
4817
|
};
|
|
4825
|
-
let
|
|
4818
|
+
let jf = class {
|
|
4826
4819
|
constructor() {
|
|
4827
4820
|
this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = g(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = g(this.primaryColor, { h: -160 }), this.primaryBorderColor = dt(this.primaryColor, this.darkMode), this.secondaryBorderColor = dt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = dt(this.tertiaryColor, this.darkMode), this.primaryTextColor = k(this.primaryColor), this.secondaryTextColor = k(this.secondaryColor), this.tertiaryTextColor = k(this.tertiaryColor), this.lineColor = k(this.background), this.textColor = k(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.border2 = "#aaaa33", this.arrowheadColor = "#333333", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "#e8e8e8", this.textColor = "#333", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "grey", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = this.taskTextDarkColor, this.taskTextClickableColor = "calculated", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBorderColor = "calculated", this.critBkgColor = "calculated", this.todayLineColor = "calculated", this.sectionBkgColor = ai(102, 102, 255, 0.49), this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#fff400", this.taskBorderColor = "#534fbc", this.taskBkgColor = "#8a90dd", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "#534fbc", this.activeTaskBkgColor = "#bfc7ff", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.updateColors();
|
|
4828
4821
|
}
|
|
@@ -4867,11 +4860,11 @@ let Gf = class {
|
|
|
4867
4860
|
});
|
|
4868
4861
|
}
|
|
4869
4862
|
};
|
|
4870
|
-
const
|
|
4871
|
-
const e = new
|
|
4863
|
+
const Gf = (t) => {
|
|
4864
|
+
const e = new jf();
|
|
4872
4865
|
return e.calculate(t), e;
|
|
4873
4866
|
};
|
|
4874
|
-
let
|
|
4867
|
+
let Vf = class {
|
|
4875
4868
|
constructor() {
|
|
4876
4869
|
this.background = "#f4f4f4", this.primaryColor = "#cde498", this.secondaryColor = "#cdffb2", this.background = "white", this.mainBkg = "#cde498", this.secondBkg = "#cdffb2", this.lineColor = "green", this.border1 = "#13540c", this.border2 = "#6eaa49", this.arrowheadColor = "green", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.tertiaryColor = F("#cde498", 10), this.primaryBorderColor = dt(this.primaryColor, this.darkMode), this.secondaryBorderColor = dt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = dt(this.tertiaryColor, this.darkMode), this.primaryTextColor = k(this.primaryColor), this.secondaryTextColor = k(this.secondaryColor), this.tertiaryTextColor = k(this.primaryColor), this.lineColor = k(this.background), this.textColor = k(this.background), this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#333", this.edgeLabelBackground = "#e8e8e8", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "grey", this.signalColor = "#333", this.signalTextColor = "#333", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "#326932", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "#6eaa49", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#6eaa49", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "#487e3a", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
|
|
4877
4870
|
}
|
|
@@ -4914,11 +4907,11 @@ let Kf = class {
|
|
|
4914
4907
|
});
|
|
4915
4908
|
}
|
|
4916
4909
|
};
|
|
4917
|
-
const
|
|
4918
|
-
const e = new
|
|
4910
|
+
const Kf = (t) => {
|
|
4911
|
+
const e = new Vf();
|
|
4919
4912
|
return e.calculate(t), e;
|
|
4920
4913
|
};
|
|
4921
|
-
class
|
|
4914
|
+
class Zf {
|
|
4922
4915
|
constructor() {
|
|
4923
4916
|
this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = F(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = g(this.primaryColor, { h: -160 }), this.primaryBorderColor = dt(this.primaryColor, this.darkMode), this.secondaryBorderColor = dt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = dt(this.tertiaryColor, this.darkMode), this.primaryTextColor = k(this.primaryColor), this.secondaryTextColor = k(this.secondaryColor), this.tertiaryTextColor = k(this.tertiaryColor), this.lineColor = k(this.background), this.textColor = k(this.background), this.mainBkg = "#eee", this.secondBkg = "calculated", this.lineColor = "#666", this.border1 = "#999", this.border2 = "calculated", this.note = "#ffa", this.text = "#333", this.critical = "#d42", this.done = "#bbb", this.arrowheadColor = "#333333", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "white", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "calculated", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBkgColor = "calculated", this.critBorderColor = "calculated", this.todayLineColor = "calculated", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
|
|
4924
4917
|
}
|
|
@@ -4964,24 +4957,24 @@ class Jf {
|
|
|
4964
4957
|
});
|
|
4965
4958
|
}
|
|
4966
4959
|
}
|
|
4967
|
-
const
|
|
4968
|
-
const e = new
|
|
4960
|
+
const Jf = (t) => {
|
|
4961
|
+
const e = new Zf();
|
|
4969
4962
|
return e.calculate(t), e;
|
|
4970
4963
|
}, te = {
|
|
4971
4964
|
base: {
|
|
4972
|
-
getThemeVariables:
|
|
4965
|
+
getThemeVariables: Hf
|
|
4973
4966
|
},
|
|
4974
4967
|
dark: {
|
|
4975
|
-
getThemeVariables:
|
|
4968
|
+
getThemeVariables: Xf
|
|
4976
4969
|
},
|
|
4977
4970
|
default: {
|
|
4978
|
-
getThemeVariables:
|
|
4971
|
+
getThemeVariables: Gf
|
|
4979
4972
|
},
|
|
4980
4973
|
forest: {
|
|
4981
|
-
getThemeVariables:
|
|
4974
|
+
getThemeVariables: Kf
|
|
4982
4975
|
},
|
|
4983
4976
|
neutral: {
|
|
4984
|
-
getThemeVariables:
|
|
4977
|
+
getThemeVariables: Jf
|
|
4985
4978
|
}
|
|
4986
4979
|
}, Zt = {
|
|
4987
4980
|
flowchart: {
|
|
@@ -5647,14 +5640,14 @@ const Qf = (t) => {
|
|
|
5647
5640
|
// TODO: can we make this default to `true` instead?
|
|
5648
5641
|
useMaxWidth: !1
|
|
5649
5642
|
}
|
|
5650
|
-
}, xa = (t, e = "") => Object.keys(t).reduce((i, r) => Array.isArray(t[r]) ? i : typeof t[r] == "object" && t[r] !== null ? [...i, e + r, ...xa(t[r], "")] : [...i, e + r], []),
|
|
5643
|
+
}, xa = (t, e = "") => Object.keys(t).reduce((i, r) => Array.isArray(t[r]) ? i : typeof t[r] == "object" && t[r] !== null ? [...i, e + r, ...xa(t[r], "")] : [...i, e + r], []), Qf = new Set(xa(Ca, "")), tp = Ca, nr = (t) => {
|
|
5651
5644
|
if (D.debug("sanitizeDirective called with", t), !(typeof t != "object" || t == null)) {
|
|
5652
5645
|
if (Array.isArray(t)) {
|
|
5653
5646
|
t.forEach((e) => nr(e));
|
|
5654
5647
|
return;
|
|
5655
5648
|
}
|
|
5656
5649
|
for (const e of Object.keys(t)) {
|
|
5657
|
-
if (D.debug("Checking key", e), e.startsWith("__") || e.includes("proto") || e.includes("constr") || !
|
|
5650
|
+
if (D.debug("Checking key", e), e.startsWith("__") || e.includes("proto") || e.includes("constr") || !Qf.has(e) || t[e] == null) {
|
|
5658
5651
|
D.debug("sanitize deleting key: ", e), delete t[e];
|
|
5659
5652
|
continue;
|
|
5660
5653
|
}
|
|
@@ -5664,7 +5657,7 @@ const Qf = (t) => {
|
|
|
5664
5657
|
}
|
|
5665
5658
|
const i = ["themeCSS", "fontFamily", "altFontFamily"];
|
|
5666
5659
|
for (const r of i)
|
|
5667
|
-
e.includes(r) && (D.debug("sanitizing css option", e), t[e] =
|
|
5660
|
+
e.includes(r) && (D.debug("sanitizing css option", e), t[e] = ep(t[e]));
|
|
5668
5661
|
}
|
|
5669
5662
|
if (t.themeVariables)
|
|
5670
5663
|
for (const e of Object.keys(t.themeVariables)) {
|
|
@@ -5673,7 +5666,7 @@ const Qf = (t) => {
|
|
|
5673
5666
|
}
|
|
5674
5667
|
D.debug("After sanitization", t);
|
|
5675
5668
|
}
|
|
5676
|
-
},
|
|
5669
|
+
}, ep = (t) => {
|
|
5677
5670
|
let e = 0, i = 0;
|
|
5678
5671
|
for (const r of t) {
|
|
5679
5672
|
if (e < i)
|
|
@@ -5681,14 +5674,14 @@ const Qf = (t) => {
|
|
|
5681
5674
|
r === "{" ? e++ : r === "}" && i++;
|
|
5682
5675
|
}
|
|
5683
5676
|
return e !== i ? "{ /* ERROR: Unbalanced CSS */ }" : t;
|
|
5684
|
-
}, ba = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, li = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,
|
|
5677
|
+
}, ba = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, li = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, ip = /\s*%%.*\n/gm;
|
|
5685
5678
|
class Ta extends Error {
|
|
5686
5679
|
constructor(e) {
|
|
5687
5680
|
super(e), this.name = "UnknownDiagramError";
|
|
5688
5681
|
}
|
|
5689
5682
|
}
|
|
5690
5683
|
const qe = {}, vr = function(t, e) {
|
|
5691
|
-
t = t.replace(ba, "").replace(li, "").replace(
|
|
5684
|
+
t = t.replace(ba, "").replace(li, "").replace(ip, `
|
|
5692
5685
|
`);
|
|
5693
5686
|
for (const [i, { detector: r }] of Object.entries(qe))
|
|
5694
5687
|
if (r(t, e))
|
|
@@ -5701,35 +5694,35 @@ const qe = {}, vr = function(t, e) {
|
|
|
5701
5694
|
Sa(e, i, r);
|
|
5702
5695
|
}, Sa = (t, e, i) => {
|
|
5703
5696
|
qe[t] ? D.error(`Detector with key ${t} already exists`) : qe[t] = { detector: e, loader: i }, D.debug(`Detector with key ${t} added${i ? " with loader" : ""}`);
|
|
5704
|
-
},
|
|
5697
|
+
}, rp = (t) => qe[t].loader, gn = (t, e, { depth: i = 2, clobber: r = !1 } = {}) => {
|
|
5705
5698
|
const n = { depth: i, clobber: r };
|
|
5706
5699
|
return Array.isArray(e) && !Array.isArray(t) ? (e.forEach((s) => gn(t, s, n)), t) : Array.isArray(e) && Array.isArray(t) ? (e.forEach((s) => {
|
|
5707
5700
|
t.includes(s) || t.push(s);
|
|
5708
5701
|
}), t) : t === void 0 || i <= 0 ? t != null && typeof t == "object" && typeof e == "object" ? Object.assign(t, e) : e : (e !== void 0 && typeof t == "object" && typeof e == "object" && Object.keys(e).forEach((s) => {
|
|
5709
5702
|
typeof e[s] == "object" && (t[s] === void 0 || typeof t[s] == "object") ? (t[s] === void 0 && (t[s] = Array.isArray(e[s]) ? [] : {}), t[s] = gn(t[s], e[s], { depth: i - 1, clobber: r })) : (r || typeof t[s] != "object" && typeof e[s] != "object") && (t[s] = e[s]);
|
|
5710
5703
|
}), t);
|
|
5711
|
-
}, lt = gn,
|
|
5712
|
-
curveBasis:
|
|
5713
|
-
curveBasisClosed:
|
|
5714
|
-
curveBasisOpen:
|
|
5715
|
-
curveBumpX:
|
|
5716
|
-
curveBumpY:
|
|
5717
|
-
curveBundle:
|
|
5718
|
-
curveCardinalClosed:
|
|
5719
|
-
curveCardinalOpen:
|
|
5720
|
-
curveCardinal:
|
|
5721
|
-
curveCatmullRomClosed:
|
|
5722
|
-
curveCatmullRomOpen:
|
|
5723
|
-
curveCatmullRom:
|
|
5724
|
-
curveLinear:
|
|
5725
|
-
curveLinearClosed:
|
|
5726
|
-
curveMonotoneX:
|
|
5727
|
-
curveMonotoneY:
|
|
5728
|
-
curveNatural:
|
|
5729
|
-
curveStep:
|
|
5730
|
-
curveStepAfter:
|
|
5731
|
-
curveStepBefore:
|
|
5732
|
-
},
|
|
5704
|
+
}, lt = gn, np = "", op = {
|
|
5705
|
+
curveBasis: xd,
|
|
5706
|
+
curveBasisClosed: bd,
|
|
5707
|
+
curveBasisOpen: Td,
|
|
5708
|
+
curveBumpX: _d,
|
|
5709
|
+
curveBumpY: Cd,
|
|
5710
|
+
curveBundle: kd,
|
|
5711
|
+
curveCardinalClosed: vd,
|
|
5712
|
+
curveCardinalOpen: wd,
|
|
5713
|
+
curveCardinal: Sd,
|
|
5714
|
+
curveCatmullRomClosed: Bd,
|
|
5715
|
+
curveCatmullRomOpen: Ld,
|
|
5716
|
+
curveCatmullRom: Ad,
|
|
5717
|
+
curveLinear: yd,
|
|
5718
|
+
curveLinearClosed: Ed,
|
|
5719
|
+
curveMonotoneX: Fd,
|
|
5720
|
+
curveMonotoneY: Id,
|
|
5721
|
+
curveNatural: Od,
|
|
5722
|
+
curveStep: Md,
|
|
5723
|
+
curveStepAfter: Nd,
|
|
5724
|
+
curveStepBefore: Dd
|
|
5725
|
+
}, sp = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, ap = function(t, e) {
|
|
5733
5726
|
const i = va(t, /(?:init\b)|(?:initialize\b)/);
|
|
5734
5727
|
let r = {};
|
|
5735
5728
|
if (Array.isArray(i)) {
|
|
@@ -5745,7 +5738,7 @@ const qe = {}, vr = function(t, e) {
|
|
|
5745
5738
|
}, va = function(t, e = null) {
|
|
5746
5739
|
try {
|
|
5747
5740
|
const i = new RegExp(
|
|
5748
|
-
`[%]{2}(?![{]${
|
|
5741
|
+
`[%]{2}(?![{]${sp.source})(?=[}][%]{2}).*
|
|
5749
5742
|
`,
|
|
5750
5743
|
"ig"
|
|
5751
5744
|
);
|
|
@@ -5765,26 +5758,26 @@ const qe = {}, vr = function(t, e) {
|
|
|
5765
5758
|
`ERROR: ${i.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`
|
|
5766
5759
|
), { type: void 0, args: null };
|
|
5767
5760
|
}
|
|
5768
|
-
},
|
|
5761
|
+
}, lp = function(t) {
|
|
5769
5762
|
return t.replace(li, "");
|
|
5770
|
-
},
|
|
5763
|
+
}, cp = function(t, e) {
|
|
5771
5764
|
for (const [i, r] of e.entries())
|
|
5772
5765
|
if (r.match(t))
|
|
5773
5766
|
return i;
|
|
5774
5767
|
return -1;
|
|
5775
5768
|
};
|
|
5776
|
-
function
|
|
5769
|
+
function hp(t, e) {
|
|
5777
5770
|
if (!t)
|
|
5778
5771
|
return e;
|
|
5779
5772
|
const i = `curve${t.charAt(0).toUpperCase() + t.slice(1)}`;
|
|
5780
|
-
return
|
|
5773
|
+
return op[i] ?? e;
|
|
5781
5774
|
}
|
|
5782
|
-
function
|
|
5775
|
+
function up(t, e) {
|
|
5783
5776
|
const i = t.trim();
|
|
5784
5777
|
if (i)
|
|
5785
|
-
return e.securityLevel !== "loose" ?
|
|
5778
|
+
return e.securityLevel !== "loose" ? Dl.sanitizeUrl(i) : i;
|
|
5786
5779
|
}
|
|
5787
|
-
const
|
|
5780
|
+
const dp = (t, ...e) => {
|
|
5788
5781
|
const i = t.split("."), r = i.length - 1, n = i[r];
|
|
5789
5782
|
let s = window;
|
|
5790
5783
|
for (let o = 0; o < r; o++)
|
|
@@ -5797,7 +5790,7 @@ const fp = (t, ...e) => {
|
|
|
5797
5790
|
function wa(t, e) {
|
|
5798
5791
|
return !t || !e ? 0 : Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2));
|
|
5799
5792
|
}
|
|
5800
|
-
function
|
|
5793
|
+
function fp(t) {
|
|
5801
5794
|
let e, i = 0;
|
|
5802
5795
|
t.forEach((n) => {
|
|
5803
5796
|
i += wa(n, e), e = n;
|
|
@@ -5805,8 +5798,8 @@ function pp(t) {
|
|
|
5805
5798
|
const r = i / 2;
|
|
5806
5799
|
return Nn(t, r);
|
|
5807
5800
|
}
|
|
5808
|
-
function
|
|
5809
|
-
return t.length === 1 ? t[0] :
|
|
5801
|
+
function pp(t) {
|
|
5802
|
+
return t.length === 1 ? t[0] : fp(t);
|
|
5810
5803
|
}
|
|
5811
5804
|
const Qo = (t, e = 2) => {
|
|
5812
5805
|
const i = Math.pow(10, e);
|
|
@@ -5834,33 +5827,33 @@ const Qo = (t, e = 2) => {
|
|
|
5834
5827
|
i = n;
|
|
5835
5828
|
}
|
|
5836
5829
|
throw new Error("Could not find a suitable point for the given distance");
|
|
5837
|
-
},
|
|
5830
|
+
}, gp = (t, e, i) => {
|
|
5838
5831
|
D.info(`our points ${JSON.stringify(e)}`), e[0] !== i && (e = e.reverse());
|
|
5839
5832
|
const n = Nn(e, 25), s = t ? 10 : 5, o = Math.atan2(e[0].y - n.y, e[0].x - n.x), a = { x: 0, y: 0 };
|
|
5840
5833
|
return a.x = Math.sin(o) * s + (e[0].x + n.x) / 2, a.y = -Math.cos(o) * s + (e[0].y + n.y) / 2, a;
|
|
5841
5834
|
};
|
|
5842
|
-
function
|
|
5835
|
+
function mp(t, e, i) {
|
|
5843
5836
|
const r = structuredClone(i);
|
|
5844
5837
|
D.info("our points", r), e !== "start_left" && e !== "start_right" && r.reverse();
|
|
5845
5838
|
const n = 25 + t, s = Nn(r, n), o = 10 + t * 0.5, a = Math.atan2(r[0].y - s.y, r[0].x - s.x), l = { x: 0, y: 0 };
|
|
5846
5839
|
return e === "start_left" ? (l.x = Math.sin(a + Math.PI) * o + (r[0].x + s.x) / 2, l.y = -Math.cos(a + Math.PI) * o + (r[0].y + s.y) / 2) : e === "end_right" ? (l.x = Math.sin(a - Math.PI) * o + (r[0].x + s.x) / 2 - 5, l.y = -Math.cos(a - Math.PI) * o + (r[0].y + s.y) / 2 - 5) : e === "end_left" ? (l.x = Math.sin(a) * o + (r[0].x + s.x) / 2 - 5, l.y = -Math.cos(a) * o + (r[0].y + s.y) / 2 - 5) : (l.x = Math.sin(a) * o + (r[0].x + s.x) / 2, l.y = -Math.cos(a) * o + (r[0].y + s.y) / 2), l;
|
|
5847
5840
|
}
|
|
5848
|
-
function
|
|
5841
|
+
function yp(t) {
|
|
5849
5842
|
let e = "", i = "";
|
|
5850
5843
|
for (const r of t)
|
|
5851
5844
|
r !== void 0 && (r.startsWith("color:") || r.startsWith("text-align:") ? i = i + r + ";" : e = e + r + ";");
|
|
5852
5845
|
return { style: e, labelStyle: i };
|
|
5853
5846
|
}
|
|
5854
5847
|
let ts = 0;
|
|
5855
|
-
const
|
|
5856
|
-
function
|
|
5848
|
+
const _p = () => (ts++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + ts);
|
|
5849
|
+
function Cp(t) {
|
|
5857
5850
|
let e = "";
|
|
5858
5851
|
const i = "0123456789abcdef", r = i.length;
|
|
5859
5852
|
for (let n = 0; n < t; n++)
|
|
5860
5853
|
e += i.charAt(Math.floor(Math.random() * r));
|
|
5861
5854
|
return e;
|
|
5862
5855
|
}
|
|
5863
|
-
const
|
|
5856
|
+
const xp = (t) => Cp(t.length), bp = function() {
|
|
5864
5857
|
return {
|
|
5865
5858
|
x: 0,
|
|
5866
5859
|
y: 0,
|
|
@@ -5875,12 +5868,12 @@ const bp = (t) => xp(t.length), Tp = function() {
|
|
|
5875
5868
|
valign: void 0,
|
|
5876
5869
|
text: ""
|
|
5877
5870
|
};
|
|
5878
|
-
},
|
|
5871
|
+
}, Tp = function(t, e) {
|
|
5879
5872
|
const i = e.text.replace(Dn.lineBreakRegex, " "), [, r] = Rn(e.fontSize), n = t.append("text");
|
|
5880
5873
|
n.attr("x", e.x), n.attr("y", e.y), n.style("text-anchor", e.anchor), n.style("font-family", e.fontFamily), n.style("font-size", r), n.style("font-weight", e.fontWeight), n.attr("fill", e.fill), e.class !== void 0 && n.attr("class", e.class);
|
|
5881
5874
|
const s = n.append("tspan");
|
|
5882
5875
|
return s.attr("x", e.x + e.textMargin * 2), s.attr("fill", e.fill), s.text(i), n;
|
|
5883
|
-
},
|
|
5876
|
+
}, kp = _n(
|
|
5884
5877
|
(t, e, i) => {
|
|
5885
5878
|
if (!t || (i = Object.assign(
|
|
5886
5879
|
{ fontSize: 12, fontWeight: 400, fontFamily: "Arial", joinWith: "<br/>" },
|
|
@@ -5892,14 +5885,14 @@ const bp = (t) => xp(t.length), Tp = function() {
|
|
|
5892
5885
|
return r.forEach((o, a) => {
|
|
5893
5886
|
const l = or(`${o} `, i), c = or(s, i);
|
|
5894
5887
|
if (l > e) {
|
|
5895
|
-
const { hyphenatedStrings: h, remainingWord: f } =
|
|
5888
|
+
const { hyphenatedStrings: h, remainingWord: f } = Sp(o, e, "-", i);
|
|
5896
5889
|
n.push(s, ...h), s = f;
|
|
5897
5890
|
} else c + l >= e ? (n.push(s), s = o) : s = [s, o].filter(Boolean).join(" ");
|
|
5898
5891
|
a + 1 === r.length && n.push(s);
|
|
5899
5892
|
}), n.filter((o) => o !== "").join(i.joinWith);
|
|
5900
5893
|
},
|
|
5901
5894
|
(t, e, i) => `${t}${e}${i.fontSize}${i.fontWeight}${i.fontFamily}${i.joinWith}`
|
|
5902
|
-
),
|
|
5895
|
+
), Sp = _n(
|
|
5903
5896
|
(t, e, i = "-", r) => {
|
|
5904
5897
|
r = Object.assign(
|
|
5905
5898
|
{ fontSize: 12, fontWeight: 400, fontFamily: "Arial", margin: 0 },
|
|
@@ -5918,7 +5911,7 @@ const bp = (t) => xp(t.length), Tp = function() {
|
|
|
5918
5911
|
},
|
|
5919
5912
|
(t, e, i = "-", r) => `${t}${e}${i}${r.fontSize}${r.fontWeight}${r.fontFamily}`
|
|
5920
5913
|
);
|
|
5921
|
-
function
|
|
5914
|
+
function vp(t, e) {
|
|
5922
5915
|
return $n(t, e).height;
|
|
5923
5916
|
}
|
|
5924
5917
|
function or(t, e) {
|
|
@@ -5937,9 +5930,9 @@ const $n = _n(
|
|
|
5937
5930
|
let f = 0;
|
|
5938
5931
|
const m = { width: 0, height: 0, lineHeight: 0 };
|
|
5939
5932
|
for (const y of a) {
|
|
5940
|
-
const C =
|
|
5941
|
-
C.text = y ||
|
|
5942
|
-
const L =
|
|
5933
|
+
const C = bp();
|
|
5934
|
+
C.text = y || np;
|
|
5935
|
+
const L = Tp(u, C).style("font-size", s).style("font-weight", n).style("font-family", h), b = (L._groups || L)[0][0].getBBox();
|
|
5943
5936
|
if (b.width === 0 && b.height === 0)
|
|
5944
5937
|
throw new Error("svg element not in render tree");
|
|
5945
5938
|
m.width = Math.round(Math.max(m.width, b.width)), f = Math.round(b.height), m.height += f, m.lineHeight = Math.round(Math.max(m.lineHeight, f));
|
|
@@ -5952,19 +5945,19 @@ const $n = _n(
|
|
|
5952
5945
|
},
|
|
5953
5946
|
(t, e) => `${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`
|
|
5954
5947
|
);
|
|
5955
|
-
class
|
|
5948
|
+
class wp {
|
|
5956
5949
|
constructor(e = !1, i) {
|
|
5957
5950
|
this.count = 0, this.count = i ? i.length : 0, this.next = e ? () => this.count++ : () => Date.now();
|
|
5958
5951
|
}
|
|
5959
5952
|
}
|
|
5960
5953
|
let Ni;
|
|
5961
|
-
const
|
|
5954
|
+
const Ap = function(t) {
|
|
5962
5955
|
return Ni = Ni || document.createElement("div"), t = escape(t).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), Ni.innerHTML = t, unescape(Ni.textContent);
|
|
5963
5956
|
};
|
|
5964
5957
|
function Aa(t) {
|
|
5965
5958
|
return "str" in t;
|
|
5966
5959
|
}
|
|
5967
|
-
const
|
|
5960
|
+
const Bp = (t, e, i, r) => {
|
|
5968
5961
|
var n;
|
|
5969
5962
|
if (!r)
|
|
5970
5963
|
return;
|
|
@@ -5981,28 +5974,28 @@ function Ba(t, e) {
|
|
|
5981
5974
|
}
|
|
5982
5975
|
const ci = {
|
|
5983
5976
|
assignWithDepth: lt,
|
|
5984
|
-
wrapLabel:
|
|
5985
|
-
calculateTextHeight:
|
|
5977
|
+
wrapLabel: kp,
|
|
5978
|
+
calculateTextHeight: vp,
|
|
5986
5979
|
calculateTextWidth: or,
|
|
5987
5980
|
calculateTextDimensions: $n,
|
|
5988
5981
|
cleanAndMerge: Ba,
|
|
5989
|
-
detectInit:
|
|
5982
|
+
detectInit: ap,
|
|
5990
5983
|
detectDirective: va,
|
|
5991
|
-
isSubstringInArray:
|
|
5992
|
-
interpolateToCurve:
|
|
5993
|
-
calcLabelPosition:
|
|
5994
|
-
calcCardinalityPosition:
|
|
5995
|
-
calcTerminalLabelPosition:
|
|
5996
|
-
formatUrl:
|
|
5997
|
-
getStylesFromArray:
|
|
5998
|
-
generateId:
|
|
5999
|
-
random:
|
|
6000
|
-
runFunc:
|
|
6001
|
-
entityDecode:
|
|
6002
|
-
insertTitle:
|
|
5984
|
+
isSubstringInArray: cp,
|
|
5985
|
+
interpolateToCurve: hp,
|
|
5986
|
+
calcLabelPosition: pp,
|
|
5987
|
+
calcCardinalityPosition: gp,
|
|
5988
|
+
calcTerminalLabelPosition: mp,
|
|
5989
|
+
formatUrl: up,
|
|
5990
|
+
getStylesFromArray: yp,
|
|
5991
|
+
generateId: _p,
|
|
5992
|
+
random: xp,
|
|
5993
|
+
runFunc: dp,
|
|
5994
|
+
entityDecode: Ap,
|
|
5995
|
+
insertTitle: Bp,
|
|
6003
5996
|
parseFontSize: Rn,
|
|
6004
|
-
InitIDGenerator:
|
|
6005
|
-
},
|
|
5997
|
+
InitIDGenerator: wp
|
|
5998
|
+
}, Lp = function(t) {
|
|
6006
5999
|
let e = t;
|
|
6007
6000
|
return e = e.replace(/style.*:\S*#.*;/g, function(i) {
|
|
6008
6001
|
return i.substring(0, i.length - 1);
|
|
@@ -6012,9 +6005,9 @@ const ci = {
|
|
|
6012
6005
|
const r = i.substring(1, i.length - 1);
|
|
6013
6006
|
return /^\+?\d+$/.test(r) ? "fl°°" + r + "¶ß" : "fl°" + r + "¶ß";
|
|
6014
6007
|
}), e;
|
|
6015
|
-
},
|
|
6008
|
+
}, Ep = function(t) {
|
|
6016
6009
|
return t.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
|
|
6017
|
-
}, es = "10.9.5", Pe = Object.freeze(
|
|
6010
|
+
}, es = "10.9.5", Pe = Object.freeze(tp);
|
|
6018
6011
|
let mt = lt({}, Pe), La, ze = [], hi = lt({}, Pe);
|
|
6019
6012
|
const wr = (t, e) => {
|
|
6020
6013
|
let i = lt({}, t), r = {};
|
|
@@ -6028,9 +6021,9 @@ const wr = (t, e) => {
|
|
|
6028
6021
|
i.theme && i.theme in te && (i.themeVariables = te[i.theme].getThemeVariables(s));
|
|
6029
6022
|
}
|
|
6030
6023
|
return hi = i, Oa(hi), hi;
|
|
6031
|
-
},
|
|
6024
|
+
}, Fp = (t) => (mt = lt({}, Pe), mt = lt(mt, t), t.theme && te[t.theme] && (mt.themeVariables = te[t.theme].getThemeVariables(t.themeVariables)), wr(mt, ze), mt), Ip = (t) => {
|
|
6032
6025
|
La = lt({}, t);
|
|
6033
|
-
},
|
|
6026
|
+
}, Op = (t) => (mt = lt(mt, t), wr(mt, ze), mt), Ea = () => lt({}, mt), Fa = (t) => (Oa(t), lt(hi, t), Yt()), Yt = () => lt({}, hi), Ia = (t) => {
|
|
6034
6027
|
t && (["secure", ...mt.secure ?? []].forEach((e) => {
|
|
6035
6028
|
Object.hasOwn(t, e) && (D.debug(`Denied attempt to modify a secure key ${e}`, t[e]), delete t[e]);
|
|
6036
6029
|
}), Object.keys(t).forEach((e) => {
|
|
@@ -6038,170 +6031,170 @@ const wr = (t, e) => {
|
|
|
6038
6031
|
}), Object.keys(t).forEach((e) => {
|
|
6039
6032
|
typeof t[e] == "string" && (t[e].includes("<") || t[e].includes(">") || t[e].includes("url(data:")) && delete t[e], typeof t[e] == "object" && Ia(t[e]);
|
|
6040
6033
|
}));
|
|
6041
|
-
},
|
|
6034
|
+
}, Mp = (t) => {
|
|
6042
6035
|
nr(t), t.fontFamily && (!t.themeVariables || !t.themeVariables.fontFamily) && (t.themeVariables = { fontFamily: t.fontFamily }), ze.push(t), wr(mt, ze);
|
|
6043
6036
|
}, sr = (t = mt) => {
|
|
6044
6037
|
ze = [], wr(t, ze);
|
|
6045
|
-
},
|
|
6038
|
+
}, Dp = {
|
|
6046
6039
|
LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."
|
|
6047
|
-
}, is = {},
|
|
6048
|
-
is[t] || (D.warn(
|
|
6040
|
+
}, is = {}, Np = (t) => {
|
|
6041
|
+
is[t] || (D.warn(Dp[t]), is[t] = !0);
|
|
6049
6042
|
}, Oa = (t) => {
|
|
6050
|
-
t && (t.lazyLoadedDiagrams || t.loadExternalDiagramsAtStartup) &&
|
|
6051
|
-
}, Ma = "c4",
|
|
6052
|
-
const { diagram: t } = await import("./layers.
|
|
6043
|
+
t && (t.lazyLoadedDiagrams || t.loadExternalDiagramsAtStartup) && Np("LAZY_LOAD_DEPRECATED");
|
|
6044
|
+
}, Ma = "c4", $p = (t) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t), Rp = async () => {
|
|
6045
|
+
const { diagram: t } = await import("./layers.Bt_ACak3.js");
|
|
6053
6046
|
return { id: Ma, diagram: t };
|
|
6054
|
-
},
|
|
6047
|
+
}, qp = {
|
|
6055
6048
|
id: Ma,
|
|
6056
|
-
detector:
|
|
6057
|
-
loader:
|
|
6058
|
-
},
|
|
6049
|
+
detector: $p,
|
|
6050
|
+
loader: Rp
|
|
6051
|
+
}, Pp = qp, Da = "flowchart", zp = (t, e) => {
|
|
6059
6052
|
var i, r;
|
|
6060
6053
|
return ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" || ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(t);
|
|
6061
|
-
},
|
|
6062
|
-
const { diagram: t } = await import("./layers.
|
|
6054
|
+
}, Wp = async () => {
|
|
6055
|
+
const { diagram: t } = await import("./layers.CC7YWRjd.js");
|
|
6063
6056
|
return { id: Da, diagram: t };
|
|
6064
|
-
},
|
|
6057
|
+
}, Yp = {
|
|
6065
6058
|
id: Da,
|
|
6066
|
-
detector:
|
|
6067
|
-
loader:
|
|
6068
|
-
},
|
|
6059
|
+
detector: zp,
|
|
6060
|
+
loader: Wp
|
|
6061
|
+
}, Hp = Yp, Na = "flowchart-v2", Up = (t, e) => {
|
|
6069
6062
|
var i, r, n;
|
|
6070
6063
|
return ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "dagre-d3" || ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(t) && ((n = e == null ? void 0 : e.flowchart) == null ? void 0 : n.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(t);
|
|
6071
|
-
},
|
|
6072
|
-
const { diagram: t } = await import("./layers.
|
|
6064
|
+
}, Xp = async () => {
|
|
6065
|
+
const { diagram: t } = await import("./layers.Bp35THsO.js");
|
|
6073
6066
|
return { id: Na, diagram: t };
|
|
6074
|
-
},
|
|
6067
|
+
}, jp = {
|
|
6075
6068
|
id: Na,
|
|
6076
|
-
detector:
|
|
6077
|
-
loader:
|
|
6078
|
-
},
|
|
6079
|
-
const { diagram: t } = await import("./layers.
|
|
6069
|
+
detector: Up,
|
|
6070
|
+
loader: Xp
|
|
6071
|
+
}, Gp = jp, $a = "er", Vp = (t) => /^\s*erDiagram/.test(t), Kp = async () => {
|
|
6072
|
+
const { diagram: t } = await import("./layers.hqDOO2Fh.js");
|
|
6080
6073
|
return { id: $a, diagram: t };
|
|
6081
|
-
},
|
|
6074
|
+
}, Zp = {
|
|
6082
6075
|
id: $a,
|
|
6083
|
-
detector:
|
|
6084
|
-
loader:
|
|
6085
|
-
},
|
|
6086
|
-
const { diagram: t } = await import("./layers.
|
|
6076
|
+
detector: Vp,
|
|
6077
|
+
loader: Kp
|
|
6078
|
+
}, Jp = Zp, Ra = "gitGraph", Qp = (t) => /^\s*gitGraph/.test(t), tg = async () => {
|
|
6079
|
+
const { diagram: t } = await import("./layers.kgvFl7pc.js");
|
|
6087
6080
|
return { id: Ra, diagram: t };
|
|
6088
|
-
},
|
|
6081
|
+
}, eg = {
|
|
6089
6082
|
id: Ra,
|
|
6090
|
-
detector:
|
|
6091
|
-
loader:
|
|
6092
|
-
},
|
|
6093
|
-
const { diagram: t } = await import("./layers.
|
|
6083
|
+
detector: Qp,
|
|
6084
|
+
loader: tg
|
|
6085
|
+
}, ig = eg, qa = "gantt", rg = (t) => /^\s*gantt/.test(t), ng = async () => {
|
|
6086
|
+
const { diagram: t } = await import("./layers.PTbxeo1r.js");
|
|
6094
6087
|
return { id: qa, diagram: t };
|
|
6095
|
-
},
|
|
6088
|
+
}, og = {
|
|
6096
6089
|
id: qa,
|
|
6097
|
-
detector:
|
|
6098
|
-
loader:
|
|
6099
|
-
},
|
|
6100
|
-
const { diagram: t } = await import("./layers.
|
|
6090
|
+
detector: rg,
|
|
6091
|
+
loader: ng
|
|
6092
|
+
}, sg = og, Pa = "info", ag = (t) => /^\s*info/.test(t), lg = async () => {
|
|
6093
|
+
const { diagram: t } = await import("./layers.i2br2vmD.js");
|
|
6101
6094
|
return { id: Pa, diagram: t };
|
|
6102
|
-
},
|
|
6095
|
+
}, cg = {
|
|
6103
6096
|
id: Pa,
|
|
6104
|
-
detector:
|
|
6105
|
-
loader:
|
|
6106
|
-
}, za = "pie",
|
|
6107
|
-
const { diagram: t } = await import("./layers.
|
|
6097
|
+
detector: ag,
|
|
6098
|
+
loader: lg
|
|
6099
|
+
}, za = "pie", hg = (t) => /^\s*pie/.test(t), ug = async () => {
|
|
6100
|
+
const { diagram: t } = await import("./layers.DucQcBG6.js");
|
|
6108
6101
|
return { id: za, diagram: t };
|
|
6109
|
-
},
|
|
6102
|
+
}, dg = {
|
|
6110
6103
|
id: za,
|
|
6111
|
-
detector:
|
|
6112
|
-
loader:
|
|
6113
|
-
}, Wa = "quadrantChart",
|
|
6114
|
-
const { diagram: t } = await import("./layers.
|
|
6104
|
+
detector: hg,
|
|
6105
|
+
loader: ug
|
|
6106
|
+
}, Wa = "quadrantChart", fg = (t) => /^\s*quadrantChart/.test(t), pg = async () => {
|
|
6107
|
+
const { diagram: t } = await import("./layers.CH1tcylL.js");
|
|
6115
6108
|
return { id: Wa, diagram: t };
|
|
6116
|
-
},
|
|
6109
|
+
}, gg = {
|
|
6117
6110
|
id: Wa,
|
|
6118
|
-
detector:
|
|
6119
|
-
loader:
|
|
6120
|
-
},
|
|
6121
|
-
const { diagram: t } = await import("./layers.
|
|
6111
|
+
detector: fg,
|
|
6112
|
+
loader: pg
|
|
6113
|
+
}, mg = gg, Ya = "xychart", yg = (t) => /^\s*xychart-beta/.test(t), _g = async () => {
|
|
6114
|
+
const { diagram: t } = await import("./layers.D0P_LT6U.js");
|
|
6122
6115
|
return { id: Ya, diagram: t };
|
|
6123
|
-
},
|
|
6116
|
+
}, Cg = {
|
|
6124
6117
|
id: Ya,
|
|
6125
|
-
detector:
|
|
6126
|
-
loader:
|
|
6127
|
-
},
|
|
6128
|
-
const { diagram: t } = await import("./layers.
|
|
6118
|
+
detector: yg,
|
|
6119
|
+
loader: _g
|
|
6120
|
+
}, xg = Cg, Ha = "requirement", bg = (t) => /^\s*requirement(Diagram)?/.test(t), Tg = async () => {
|
|
6121
|
+
const { diagram: t } = await import("./layers._1kbZ-M5.js");
|
|
6129
6122
|
return { id: Ha, diagram: t };
|
|
6130
|
-
},
|
|
6123
|
+
}, kg = {
|
|
6131
6124
|
id: Ha,
|
|
6132
|
-
detector:
|
|
6133
|
-
loader:
|
|
6134
|
-
},
|
|
6135
|
-
const { diagram: t } = await import("./layers.
|
|
6125
|
+
detector: bg,
|
|
6126
|
+
loader: Tg
|
|
6127
|
+
}, Sg = kg, Ua = "sequence", vg = (t) => /^\s*sequenceDiagram/.test(t), wg = async () => {
|
|
6128
|
+
const { diagram: t } = await import("./layers.CrrHadhD.js");
|
|
6136
6129
|
return { id: Ua, diagram: t };
|
|
6137
|
-
},
|
|
6130
|
+
}, Ag = {
|
|
6138
6131
|
id: Ua,
|
|
6139
|
-
detector:
|
|
6140
|
-
loader:
|
|
6141
|
-
},
|
|
6132
|
+
detector: vg,
|
|
6133
|
+
loader: wg
|
|
6134
|
+
}, Bg = Ag, Xa = "class", Lg = (t, e) => {
|
|
6142
6135
|
var i;
|
|
6143
6136
|
return ((i = e == null ? void 0 : e.class) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(t);
|
|
6144
|
-
},
|
|
6145
|
-
const { diagram: t } = await import("./layers.
|
|
6137
|
+
}, Eg = async () => {
|
|
6138
|
+
const { diagram: t } = await import("./layers.Clp9eZc9.js");
|
|
6146
6139
|
return { id: Xa, diagram: t };
|
|
6147
|
-
},
|
|
6140
|
+
}, Fg = {
|
|
6148
6141
|
id: Xa,
|
|
6149
|
-
detector:
|
|
6150
|
-
loader:
|
|
6151
|
-
},
|
|
6142
|
+
detector: Lg,
|
|
6143
|
+
loader: Eg
|
|
6144
|
+
}, Ig = Fg, ja = "classDiagram", Og = (t, e) => {
|
|
6152
6145
|
var i;
|
|
6153
6146
|
return /^\s*classDiagram/.test(t) && ((i = e == null ? void 0 : e.class) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(t);
|
|
6154
|
-
},
|
|
6155
|
-
const { diagram: t } = await import("./layers.
|
|
6147
|
+
}, Mg = async () => {
|
|
6148
|
+
const { diagram: t } = await import("./layers.CzFbHgfT.js");
|
|
6156
6149
|
return { id: ja, diagram: t };
|
|
6157
|
-
},
|
|
6150
|
+
}, Dg = {
|
|
6158
6151
|
id: ja,
|
|
6159
|
-
detector:
|
|
6160
|
-
loader:
|
|
6161
|
-
},
|
|
6152
|
+
detector: Og,
|
|
6153
|
+
loader: Mg
|
|
6154
|
+
}, Ng = Dg, Ga = "state", $g = (t, e) => {
|
|
6162
6155
|
var i;
|
|
6163
6156
|
return ((i = e == null ? void 0 : e.state) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(t);
|
|
6164
|
-
},
|
|
6165
|
-
const { diagram: t } = await import("./layers.
|
|
6157
|
+
}, Rg = async () => {
|
|
6158
|
+
const { diagram: t } = await import("./layers.BL3FVfv7.js");
|
|
6166
6159
|
return { id: Ga, diagram: t };
|
|
6167
|
-
},
|
|
6160
|
+
}, qg = {
|
|
6168
6161
|
id: Ga,
|
|
6169
|
-
detector:
|
|
6170
|
-
loader:
|
|
6171
|
-
},
|
|
6162
|
+
detector: $g,
|
|
6163
|
+
loader: Rg
|
|
6164
|
+
}, Pg = qg, Va = "stateDiagram", zg = (t, e) => {
|
|
6172
6165
|
var i;
|
|
6173
6166
|
return !!(/^\s*stateDiagram-v2/.test(t) || /^\s*stateDiagram/.test(t) && ((i = e == null ? void 0 : e.state) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper");
|
|
6174
|
-
},
|
|
6175
|
-
const { diagram: t } = await import("./layers.
|
|
6167
|
+
}, Wg = async () => {
|
|
6168
|
+
const { diagram: t } = await import("./layers.IsXgkCXd.js");
|
|
6176
6169
|
return { id: Va, diagram: t };
|
|
6177
|
-
},
|
|
6170
|
+
}, Yg = {
|
|
6178
6171
|
id: Va,
|
|
6179
|
-
detector:
|
|
6180
|
-
loader:
|
|
6181
|
-
},
|
|
6182
|
-
const { diagram: t } = await import("./layers.
|
|
6172
|
+
detector: zg,
|
|
6173
|
+
loader: Wg
|
|
6174
|
+
}, Hg = Yg, Ka = "journey", Ug = (t) => /^\s*journey/.test(t), Xg = async () => {
|
|
6175
|
+
const { diagram: t } = await import("./layers.zEtoMcwa.js");
|
|
6183
6176
|
return { id: Ka, diagram: t };
|
|
6184
|
-
},
|
|
6177
|
+
}, jg = {
|
|
6185
6178
|
id: Ka,
|
|
6186
|
-
detector:
|
|
6187
|
-
loader:
|
|
6188
|
-
},
|
|
6179
|
+
detector: Ug,
|
|
6180
|
+
loader: Xg
|
|
6181
|
+
}, Gg = jg, Vg = function(t, e) {
|
|
6189
6182
|
for (let i of e)
|
|
6190
6183
|
t.attr(i[0], i[1]);
|
|
6191
|
-
},
|
|
6184
|
+
}, Kg = function(t, e, i) {
|
|
6192
6185
|
let r = /* @__PURE__ */ new Map();
|
|
6193
6186
|
return i ? (r.set("width", "100%"), r.set("style", `max-width: ${e}px;`)) : (r.set("height", t), r.set("width", e)), r;
|
|
6194
6187
|
}, Za = function(t, e, i, r) {
|
|
6195
|
-
const n =
|
|
6196
|
-
|
|
6197
|
-
},
|
|
6188
|
+
const n = Kg(e, i, r);
|
|
6189
|
+
Vg(t, n);
|
|
6190
|
+
}, Zg = function(t, e, i, r) {
|
|
6198
6191
|
const n = e.node().getBBox(), s = n.width, o = n.height;
|
|
6199
6192
|
D.info(`SVG bounds: ${s}x${o}`, n);
|
|
6200
6193
|
let a = 0, l = 0;
|
|
6201
6194
|
D.info(`Graph bounds: ${a}x${l}`, t), a = s + i * 2, l = o + i * 2, D.info(`Calculated bounds: ${a}x${l}`), Za(e, l, a, r);
|
|
6202
6195
|
const c = `${n.x - i} ${n.y - i} ${n.width + 2 * i} ${n.height + 2 * i}`;
|
|
6203
6196
|
e.attr("viewBox", c);
|
|
6204
|
-
}, ji = {},
|
|
6197
|
+
}, ji = {}, Jg = (t, e, i) => {
|
|
6205
6198
|
let r = "";
|
|
6206
6199
|
return t in ji && ji[t] ? r = ji[t](i) : D.warn(`No theme found for ${t}`), ` & {
|
|
6207
6200
|
font-family: ${i.fontFamily};
|
|
@@ -6253,54 +6246,54 @@ const wr = (t, e) => {
|
|
|
6253
6246
|
|
|
6254
6247
|
${e}
|
|
6255
6248
|
`;
|
|
6256
|
-
},
|
|
6249
|
+
}, Qg = (t, e) => {
|
|
6257
6250
|
e !== void 0 && (ji[t] = e);
|
|
6258
|
-
},
|
|
6251
|
+
}, tm = Jg;
|
|
6259
6252
|
let qn = "", Pn = "", zn = "";
|
|
6260
|
-
const Wn = (t) => Re(t, Yt()),
|
|
6253
|
+
const Wn = (t) => Re(t, Yt()), em = () => {
|
|
6261
6254
|
qn = "", zn = "", Pn = "";
|
|
6262
|
-
},
|
|
6255
|
+
}, im = (t) => {
|
|
6263
6256
|
qn = Wn(t).replace(/^\s+/g, "");
|
|
6264
|
-
},
|
|
6257
|
+
}, rm = () => qn, nm = (t) => {
|
|
6265
6258
|
zn = Wn(t).replace(/\n\s+/g, `
|
|
6266
6259
|
`);
|
|
6267
|
-
},
|
|
6260
|
+
}, om = () => zn, sm = (t) => {
|
|
6268
6261
|
Pn = Wn(t);
|
|
6269
|
-
},
|
|
6262
|
+
}, am = () => Pn, lm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6270
6263
|
__proto__: null,
|
|
6271
|
-
clear:
|
|
6272
|
-
getAccDescription:
|
|
6273
|
-
getAccTitle:
|
|
6274
|
-
getDiagramTitle:
|
|
6275
|
-
setAccDescription:
|
|
6276
|
-
setAccTitle:
|
|
6277
|
-
setDiagramTitle:
|
|
6278
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6264
|
+
clear: em,
|
|
6265
|
+
getAccDescription: om,
|
|
6266
|
+
getAccTitle: rm,
|
|
6267
|
+
getDiagramTitle: am,
|
|
6268
|
+
setAccDescription: nm,
|
|
6269
|
+
setAccTitle: im,
|
|
6270
|
+
setDiagramTitle: sm
|
|
6271
|
+
}, Symbol.toStringTag, { value: "Module" })), cm = D, hm = Mn, Yn = Yt, lC = Fa, cC = Pe, um = (t) => Re(t, Yn()), dm = Zg, fm = () => lm, ar = {}, lr = (t, e, i) => {
|
|
6279
6272
|
var r;
|
|
6280
6273
|
if (ar[t])
|
|
6281
6274
|
throw new Error(`Diagram ${t} already registered.`);
|
|
6282
|
-
ar[t] = e, i && Sa(t, i),
|
|
6275
|
+
ar[t] = e, i && Sa(t, i), Qg(t, e.styles), (r = e.injectUtils) == null || r.call(
|
|
6283
6276
|
e,
|
|
6277
|
+
cm,
|
|
6284
6278
|
hm,
|
|
6285
|
-
um,
|
|
6286
6279
|
Yn,
|
|
6280
|
+
um,
|
|
6287
6281
|
dm,
|
|
6288
|
-
fm,
|
|
6289
|
-
pm(),
|
|
6282
|
+
fm(),
|
|
6290
6283
|
() => {
|
|
6291
6284
|
}
|
|
6292
6285
|
);
|
|
6293
6286
|
}, Hn = (t) => {
|
|
6294
6287
|
if (t in ar)
|
|
6295
6288
|
return ar[t];
|
|
6296
|
-
throw new
|
|
6289
|
+
throw new pm(t);
|
|
6297
6290
|
};
|
|
6298
|
-
class
|
|
6291
|
+
class pm extends Error {
|
|
6299
6292
|
constructor(e) {
|
|
6300
6293
|
super(`Diagram ${e} not found.`);
|
|
6301
6294
|
}
|
|
6302
6295
|
}
|
|
6303
|
-
const
|
|
6296
|
+
const gm = (t) => {
|
|
6304
6297
|
var e;
|
|
6305
6298
|
const { securityLevel: i } = Yn();
|
|
6306
6299
|
let r = St("body");
|
|
@@ -6309,10 +6302,10 @@ const mm = (t) => {
|
|
|
6309
6302
|
r = St(o.body);
|
|
6310
6303
|
}
|
|
6311
6304
|
return r.select(`#${t}`);
|
|
6312
|
-
},
|
|
6305
|
+
}, mm = (t, e, i) => {
|
|
6313
6306
|
D.debug(`rendering svg for syntax error
|
|
6314
6307
|
`);
|
|
6315
|
-
const r =
|
|
6308
|
+
const r = gm(e), n = r.append("g");
|
|
6316
6309
|
r.attr("viewBox", "0 0 2412 512"), Za(r, 100, 512, !0), n.append("path").attr("class", "error-icon").attr(
|
|
6317
6310
|
"d",
|
|
6318
6311
|
"m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"
|
|
@@ -6332,7 +6325,7 @@ const mm = (t) => {
|
|
|
6332
6325
|
"d",
|
|
6333
6326
|
"m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"
|
|
6334
6327
|
), n.append("text").attr("class", "error-text").attr("x", 1440).attr("y", 250).attr("font-size", "150px").style("text-anchor", "middle").text("Syntax error in text"), n.append("text").attr("class", "error-text").attr("x", 1250).attr("y", 400).attr("font-size", "100px").style("text-anchor", "middle").text(`mermaid version ${i}`);
|
|
6335
|
-
}, Ja = { draw:
|
|
6328
|
+
}, Ja = { draw: mm }, ym = Ja, _m = {
|
|
6336
6329
|
db: {},
|
|
6337
6330
|
renderer: Ja,
|
|
6338
6331
|
parser: {
|
|
@@ -6340,52 +6333,52 @@ const mm = (t) => {
|
|
|
6340
6333
|
parse: () => {
|
|
6341
6334
|
}
|
|
6342
6335
|
}
|
|
6343
|
-
},
|
|
6336
|
+
}, Cm = _m, Qa = "flowchart-elk", xm = (t, e) => {
|
|
6344
6337
|
var i;
|
|
6345
6338
|
return (
|
|
6346
6339
|
// If diagram explicitly states flowchart-elk
|
|
6347
6340
|
!!(/^\s*flowchart-elk/.test(t) || // If a flowchart/graph diagram has their default renderer set to elk
|
|
6348
6341
|
/^\s*flowchart|graph/.test(t) && ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "elk")
|
|
6349
6342
|
);
|
|
6350
|
-
},
|
|
6351
|
-
const { diagram: t } = await import("./layers.
|
|
6343
|
+
}, bm = async () => {
|
|
6344
|
+
const { diagram: t } = await import("./layers.D9UwPYXq.js");
|
|
6352
6345
|
return { id: Qa, diagram: t };
|
|
6353
|
-
},
|
|
6346
|
+
}, Tm = {
|
|
6354
6347
|
id: Qa,
|
|
6355
|
-
detector:
|
|
6356
|
-
loader:
|
|
6357
|
-
},
|
|
6358
|
-
const { diagram: t } = await import("./layers.
|
|
6348
|
+
detector: xm,
|
|
6349
|
+
loader: bm
|
|
6350
|
+
}, km = Tm, tl = "timeline", Sm = (t) => /^\s*timeline/.test(t), vm = async () => {
|
|
6351
|
+
const { diagram: t } = await import("./layers.BkaiG3Fg.js");
|
|
6359
6352
|
return { id: tl, diagram: t };
|
|
6360
|
-
},
|
|
6353
|
+
}, wm = {
|
|
6361
6354
|
id: tl,
|
|
6362
|
-
detector:
|
|
6363
|
-
loader:
|
|
6364
|
-
},
|
|
6365
|
-
const { diagram: t } = await import("./layers.
|
|
6355
|
+
detector: Sm,
|
|
6356
|
+
loader: vm
|
|
6357
|
+
}, Am = wm, el = "mindmap", Bm = (t) => /^\s*mindmap/.test(t), Lm = async () => {
|
|
6358
|
+
const { diagram: t } = await import("./layers.BqZ9o2pg.js");
|
|
6366
6359
|
return { id: el, diagram: t };
|
|
6367
|
-
},
|
|
6360
|
+
}, Em = {
|
|
6368
6361
|
id: el,
|
|
6369
|
-
detector:
|
|
6370
|
-
loader:
|
|
6371
|
-
},
|
|
6372
|
-
const { diagram: t } = await import("./layers.
|
|
6362
|
+
detector: Bm,
|
|
6363
|
+
loader: Lm
|
|
6364
|
+
}, Fm = Em, il = "sankey", Im = (t) => /^\s*sankey-beta/.test(t), Om = async () => {
|
|
6365
|
+
const { diagram: t } = await import("./layers.ML3p4veI.js");
|
|
6373
6366
|
return { id: il, diagram: t };
|
|
6374
|
-
},
|
|
6367
|
+
}, Mm = {
|
|
6375
6368
|
id: il,
|
|
6376
|
-
detector:
|
|
6377
|
-
loader:
|
|
6378
|
-
},
|
|
6379
|
-
const { diagram: t } = await import("./layers.
|
|
6369
|
+
detector: Im,
|
|
6370
|
+
loader: Om
|
|
6371
|
+
}, Dm = Mm, rl = "block", Nm = (t) => /^\s*block-beta/.test(t), $m = async () => {
|
|
6372
|
+
const { diagram: t } = await import("./layers.BDga68DG.js");
|
|
6380
6373
|
return { id: rl, diagram: t };
|
|
6381
|
-
},
|
|
6374
|
+
}, Rm = {
|
|
6382
6375
|
id: rl,
|
|
6383
|
-
detector:
|
|
6384
|
-
loader:
|
|
6385
|
-
},
|
|
6376
|
+
detector: Nm,
|
|
6377
|
+
loader: $m
|
|
6378
|
+
}, qm = Rm;
|
|
6386
6379
|
let rs = !1;
|
|
6387
6380
|
const Un = () => {
|
|
6388
|
-
rs || (rs = !0, lr("error",
|
|
6381
|
+
rs || (rs = !0, lr("error", Cm, (t) => t.toLowerCase().trim() === "error"), lr(
|
|
6389
6382
|
"---",
|
|
6390
6383
|
// --- diagram type may appear if YAML front-matter is not parsed correctly
|
|
6391
6384
|
{
|
|
@@ -6412,33 +6405,33 @@ const Un = () => {
|
|
|
6412
6405
|
},
|
|
6413
6406
|
(t) => t.toLowerCase().trimStart().startsWith("---")
|
|
6414
6407
|
), ka(
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6408
|
+
Pp,
|
|
6409
|
+
Ng,
|
|
6410
|
+
Ig,
|
|
6411
|
+
Jp,
|
|
6412
|
+
sg,
|
|
6413
|
+
cg,
|
|
6414
|
+
dg,
|
|
6415
|
+
Sg,
|
|
6416
|
+
Bg,
|
|
6417
|
+
km,
|
|
6418
|
+
Gp,
|
|
6419
|
+
Hp,
|
|
6420
|
+
Fm,
|
|
6421
|
+
Am,
|
|
6422
|
+
ig,
|
|
6423
|
+
Hg,
|
|
6424
|
+
Pg,
|
|
6425
|
+
Gg,
|
|
6426
|
+
mg,
|
|
6427
|
+
Dm,
|
|
6428
|
+
xg,
|
|
6429
|
+
qm
|
|
6437
6430
|
));
|
|
6438
6431
|
};
|
|
6439
6432
|
class nl {
|
|
6440
6433
|
constructor(e, i = {}) {
|
|
6441
|
-
this.text = e, this.metadata = i, this.type = "graph", this.text =
|
|
6434
|
+
this.text = e, this.metadata = i, this.type = "graph", this.text = Lp(e), this.text += `
|
|
6442
6435
|
`;
|
|
6443
6436
|
const r = Yt();
|
|
6444
6437
|
try {
|
|
@@ -6467,12 +6460,12 @@ class nl {
|
|
|
6467
6460
|
return this.type;
|
|
6468
6461
|
}
|
|
6469
6462
|
}
|
|
6470
|
-
const
|
|
6463
|
+
const Pm = async (t, e = {}) => {
|
|
6471
6464
|
const i = vr(t, Yt());
|
|
6472
6465
|
try {
|
|
6473
6466
|
Hn(i);
|
|
6474
6467
|
} catch {
|
|
6475
|
-
const n =
|
|
6468
|
+
const n = rp(i);
|
|
6476
6469
|
if (!n)
|
|
6477
6470
|
throw new Ta(`Diagram ${i} not found.`);
|
|
6478
6471
|
const { id: s, diagram: o } = await n();
|
|
@@ -6481,15 +6474,15 @@ const zm = async (t, e = {}) => {
|
|
|
6481
6474
|
return new nl(t, e);
|
|
6482
6475
|
};
|
|
6483
6476
|
let ns = [];
|
|
6484
|
-
const
|
|
6477
|
+
const zm = () => {
|
|
6485
6478
|
ns.forEach((t) => {
|
|
6486
6479
|
t();
|
|
6487
6480
|
}), ns = [];
|
|
6488
|
-
},
|
|
6489
|
-
function
|
|
6490
|
-
t.attr("role",
|
|
6481
|
+
}, Wm = "graphics-document document";
|
|
6482
|
+
function Ym(t, e) {
|
|
6483
|
+
t.attr("role", Wm), e !== "" && t.attr("aria-roledescription", e);
|
|
6491
6484
|
}
|
|
6492
|
-
function
|
|
6485
|
+
function Hm(t, e, i, r) {
|
|
6493
6486
|
if (t.insert !== void 0) {
|
|
6494
6487
|
if (i) {
|
|
6495
6488
|
const n = `chart-desc-${r}`;
|
|
@@ -6501,40 +6494,40 @@ function Um(t, e, i, r) {
|
|
|
6501
6494
|
}
|
|
6502
6495
|
}
|
|
6503
6496
|
}
|
|
6504
|
-
const
|
|
6497
|
+
const Um = (t) => t.replace(/^\s*%%(?!{)[^\n]+\n?/gm, "").trimStart();
|
|
6505
6498
|
/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
|
|
6506
6499
|
function ol(t) {
|
|
6507
6500
|
return typeof t > "u" || t === null;
|
|
6508
6501
|
}
|
|
6509
|
-
function
|
|
6502
|
+
function Xm(t) {
|
|
6510
6503
|
return typeof t == "object" && t !== null;
|
|
6511
6504
|
}
|
|
6512
|
-
function
|
|
6505
|
+
function jm(t) {
|
|
6513
6506
|
return Array.isArray(t) ? t : ol(t) ? [] : [t];
|
|
6514
6507
|
}
|
|
6515
|
-
function
|
|
6508
|
+
function Gm(t, e) {
|
|
6516
6509
|
var i, r, n, s;
|
|
6517
6510
|
if (e)
|
|
6518
6511
|
for (s = Object.keys(e), i = 0, r = s.length; i < r; i += 1)
|
|
6519
6512
|
n = s[i], t[n] = e[n];
|
|
6520
6513
|
return t;
|
|
6521
6514
|
}
|
|
6522
|
-
function
|
|
6515
|
+
function Vm(t, e) {
|
|
6523
6516
|
var i = "", r;
|
|
6524
6517
|
for (r = 0; r < e; r += 1)
|
|
6525
6518
|
i += t;
|
|
6526
6519
|
return i;
|
|
6527
6520
|
}
|
|
6528
|
-
function
|
|
6521
|
+
function Km(t) {
|
|
6529
6522
|
return t === 0 && Number.NEGATIVE_INFINITY === 1 / t;
|
|
6530
6523
|
}
|
|
6531
|
-
var
|
|
6532
|
-
isNothing:
|
|
6533
|
-
isObject:
|
|
6534
|
-
toArray:
|
|
6535
|
-
repeat:
|
|
6536
|
-
isNegativeZero:
|
|
6537
|
-
extend:
|
|
6524
|
+
var Zm = ol, Jm = Xm, Qm = jm, t0 = Vm, e0 = Km, i0 = Gm, ut = {
|
|
6525
|
+
isNothing: Zm,
|
|
6526
|
+
isObject: Jm,
|
|
6527
|
+
toArray: Qm,
|
|
6528
|
+
repeat: t0,
|
|
6529
|
+
isNegativeZero: e0,
|
|
6530
|
+
extend: i0
|
|
6538
6531
|
};
|
|
6539
6532
|
function sl(t, e) {
|
|
6540
6533
|
var i = "", r = t.reason || "(unknown reason)";
|
|
@@ -6562,7 +6555,7 @@ function Vr(t, e, i, r, n) {
|
|
|
6562
6555
|
function Kr(t, e) {
|
|
6563
6556
|
return ut.repeat(" ", e - t.length) + t;
|
|
6564
6557
|
}
|
|
6565
|
-
function
|
|
6558
|
+
function r0(t, e) {
|
|
6566
6559
|
if (e = Object.create(e || null), !t.buffer)
|
|
6567
6560
|
return null;
|
|
6568
6561
|
e.maxLength || (e.maxLength = 79), typeof e.indent != "number" && (e.indent = 1), typeof e.linesBefore != "number" && (e.linesBefore = 3), typeof e.linesAfter != "number" && (e.linesAfter = 2);
|
|
@@ -6592,7 +6585,7 @@ function n0(t, e) {
|
|
|
6592
6585
|
`;
|
|
6593
6586
|
return a.replace(/\n$/, "");
|
|
6594
6587
|
}
|
|
6595
|
-
var
|
|
6588
|
+
var n0 = r0, o0 = [
|
|
6596
6589
|
"kind",
|
|
6597
6590
|
"multi",
|
|
6598
6591
|
"resolve",
|
|
@@ -6603,12 +6596,12 @@ var o0 = n0, s0 = [
|
|
|
6603
6596
|
"representName",
|
|
6604
6597
|
"defaultStyle",
|
|
6605
6598
|
"styleAliases"
|
|
6606
|
-
],
|
|
6599
|
+
], s0 = [
|
|
6607
6600
|
"scalar",
|
|
6608
6601
|
"sequence",
|
|
6609
6602
|
"mapping"
|
|
6610
6603
|
];
|
|
6611
|
-
function
|
|
6604
|
+
function a0(t) {
|
|
6612
6605
|
var e = {};
|
|
6613
6606
|
return t !== null && Object.keys(t).forEach(function(i) {
|
|
6614
6607
|
t[i].forEach(function(r) {
|
|
@@ -6616,18 +6609,18 @@ function l0(t) {
|
|
|
6616
6609
|
});
|
|
6617
6610
|
}), e;
|
|
6618
6611
|
}
|
|
6619
|
-
function
|
|
6612
|
+
function l0(t, e) {
|
|
6620
6613
|
if (e = e || {}, Object.keys(e).forEach(function(i) {
|
|
6621
|
-
if (
|
|
6614
|
+
if (o0.indexOf(i) === -1)
|
|
6622
6615
|
throw new Jt('Unknown option "' + i + '" is met in definition of "' + t + '" YAML type.');
|
|
6623
6616
|
}), this.options = e, this.tag = t, this.kind = e.kind || null, this.resolve = e.resolve || function() {
|
|
6624
6617
|
return !0;
|
|
6625
6618
|
}, this.construct = e.construct || function(i) {
|
|
6626
6619
|
return i;
|
|
6627
|
-
}, this.instanceOf = e.instanceOf || null, this.predicate = e.predicate || null, this.represent = e.represent || null, this.representName = e.representName || null, this.defaultStyle = e.defaultStyle || null, this.multi = e.multi || !1, this.styleAliases =
|
|
6620
|
+
}, this.instanceOf = e.instanceOf || null, this.predicate = e.predicate || null, this.represent = e.represent || null, this.representName = e.representName || null, this.defaultStyle = e.defaultStyle || null, this.multi = e.multi || !1, this.styleAliases = a0(e.styleAliases || null), s0.indexOf(this.kind) === -1)
|
|
6628
6621
|
throw new Jt('Unknown kind "' + this.kind + '" is specified for "' + t + '" YAML type.');
|
|
6629
6622
|
}
|
|
6630
|
-
var ct =
|
|
6623
|
+
var ct = l0;
|
|
6631
6624
|
function os(t, e) {
|
|
6632
6625
|
var i = [];
|
|
6633
6626
|
return t[e].forEach(function(r) {
|
|
@@ -6637,7 +6630,7 @@ function os(t, e) {
|
|
|
6637
6630
|
}), i[n] = r;
|
|
6638
6631
|
}), i;
|
|
6639
6632
|
}
|
|
6640
|
-
function
|
|
6633
|
+
function c0() {
|
|
6641
6634
|
var t = {
|
|
6642
6635
|
scalar: {},
|
|
6643
6636
|
sequence: {},
|
|
@@ -6682,47 +6675,47 @@ mn.prototype.extend = function(e) {
|
|
|
6682
6675
|
throw new Jt("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
6683
6676
|
});
|
|
6684
6677
|
var n = Object.create(mn.prototype);
|
|
6685
|
-
return n.implicit = (this.implicit || []).concat(i), n.explicit = (this.explicit || []).concat(r), n.compiledImplicit = os(n, "implicit"), n.compiledExplicit = os(n, "explicit"), n.compiledTypeMap =
|
|
6678
|
+
return n.implicit = (this.implicit || []).concat(i), n.explicit = (this.explicit || []).concat(r), n.compiledImplicit = os(n, "implicit"), n.compiledExplicit = os(n, "explicit"), n.compiledTypeMap = c0(n.compiledImplicit, n.compiledExplicit), n;
|
|
6686
6679
|
};
|
|
6687
|
-
var
|
|
6680
|
+
var h0 = mn, u0 = new ct("tag:yaml.org,2002:str", {
|
|
6688
6681
|
kind: "scalar",
|
|
6689
6682
|
construct: function(t) {
|
|
6690
6683
|
return t !== null ? t : "";
|
|
6691
6684
|
}
|
|
6692
|
-
}),
|
|
6685
|
+
}), d0 = new ct("tag:yaml.org,2002:seq", {
|
|
6693
6686
|
kind: "sequence",
|
|
6694
6687
|
construct: function(t) {
|
|
6695
6688
|
return t !== null ? t : [];
|
|
6696
6689
|
}
|
|
6697
|
-
}),
|
|
6690
|
+
}), f0 = new ct("tag:yaml.org,2002:map", {
|
|
6698
6691
|
kind: "mapping",
|
|
6699
6692
|
construct: function(t) {
|
|
6700
6693
|
return t !== null ? t : {};
|
|
6701
6694
|
}
|
|
6702
|
-
}),
|
|
6695
|
+
}), p0 = new h0({
|
|
6703
6696
|
explicit: [
|
|
6697
|
+
u0,
|
|
6704
6698
|
d0,
|
|
6705
|
-
f0
|
|
6706
|
-
p0
|
|
6699
|
+
f0
|
|
6707
6700
|
]
|
|
6708
6701
|
});
|
|
6709
|
-
function
|
|
6702
|
+
function g0(t) {
|
|
6710
6703
|
if (t === null)
|
|
6711
6704
|
return !0;
|
|
6712
6705
|
var e = t.length;
|
|
6713
6706
|
return e === 1 && t === "~" || e === 4 && (t === "null" || t === "Null" || t === "NULL");
|
|
6714
6707
|
}
|
|
6715
|
-
function
|
|
6708
|
+
function m0() {
|
|
6716
6709
|
return null;
|
|
6717
6710
|
}
|
|
6718
|
-
function
|
|
6711
|
+
function y0(t) {
|
|
6719
6712
|
return t === null;
|
|
6720
6713
|
}
|
|
6721
|
-
var
|
|
6714
|
+
var _0 = new ct("tag:yaml.org,2002:null", {
|
|
6722
6715
|
kind: "scalar",
|
|
6723
|
-
resolve:
|
|
6724
|
-
construct:
|
|
6725
|
-
predicate:
|
|
6716
|
+
resolve: g0,
|
|
6717
|
+
construct: m0,
|
|
6718
|
+
predicate: y0,
|
|
6726
6719
|
represent: {
|
|
6727
6720
|
canonical: function() {
|
|
6728
6721
|
return "~";
|
|
@@ -6742,23 +6735,23 @@ var C0 = new ct("tag:yaml.org,2002:null", {
|
|
|
6742
6735
|
},
|
|
6743
6736
|
defaultStyle: "lowercase"
|
|
6744
6737
|
});
|
|
6745
|
-
function
|
|
6738
|
+
function C0(t) {
|
|
6746
6739
|
if (t === null)
|
|
6747
6740
|
return !1;
|
|
6748
6741
|
var e = t.length;
|
|
6749
6742
|
return e === 4 && (t === "true" || t === "True" || t === "TRUE") || e === 5 && (t === "false" || t === "False" || t === "FALSE");
|
|
6750
6743
|
}
|
|
6751
|
-
function
|
|
6744
|
+
function x0(t) {
|
|
6752
6745
|
return t === "true" || t === "True" || t === "TRUE";
|
|
6753
6746
|
}
|
|
6754
|
-
function
|
|
6747
|
+
function b0(t) {
|
|
6755
6748
|
return Object.prototype.toString.call(t) === "[object Boolean]";
|
|
6756
6749
|
}
|
|
6757
|
-
var
|
|
6750
|
+
var T0 = new ct("tag:yaml.org,2002:bool", {
|
|
6758
6751
|
kind: "scalar",
|
|
6759
|
-
resolve:
|
|
6760
|
-
construct:
|
|
6761
|
-
predicate:
|
|
6752
|
+
resolve: C0,
|
|
6753
|
+
construct: x0,
|
|
6754
|
+
predicate: b0,
|
|
6762
6755
|
represent: {
|
|
6763
6756
|
lowercase: function(t) {
|
|
6764
6757
|
return t ? "true" : "false";
|
|
@@ -6772,16 +6765,16 @@ var k0 = new ct("tag:yaml.org,2002:bool", {
|
|
|
6772
6765
|
},
|
|
6773
6766
|
defaultStyle: "lowercase"
|
|
6774
6767
|
});
|
|
6775
|
-
function
|
|
6768
|
+
function k0(t) {
|
|
6776
6769
|
return 48 <= t && t <= 57 || 65 <= t && t <= 70 || 97 <= t && t <= 102;
|
|
6777
6770
|
}
|
|
6778
|
-
function
|
|
6771
|
+
function S0(t) {
|
|
6779
6772
|
return 48 <= t && t <= 55;
|
|
6780
6773
|
}
|
|
6781
|
-
function
|
|
6774
|
+
function v0(t) {
|
|
6782
6775
|
return 48 <= t && t <= 57;
|
|
6783
6776
|
}
|
|
6784
|
-
function
|
|
6777
|
+
function w0(t) {
|
|
6785
6778
|
if (t === null)
|
|
6786
6779
|
return !1;
|
|
6787
6780
|
var e = t.length, i = 0, r = !1, n;
|
|
@@ -6802,7 +6795,7 @@ function A0(t) {
|
|
|
6802
6795
|
if (n === "x") {
|
|
6803
6796
|
for (i++; i < e; i++)
|
|
6804
6797
|
if (n = t[i], n !== "_") {
|
|
6805
|
-
if (!
|
|
6798
|
+
if (!k0(t.charCodeAt(i)))
|
|
6806
6799
|
return !1;
|
|
6807
6800
|
r = !0;
|
|
6808
6801
|
}
|
|
@@ -6811,7 +6804,7 @@ function A0(t) {
|
|
|
6811
6804
|
if (n === "o") {
|
|
6812
6805
|
for (i++; i < e; i++)
|
|
6813
6806
|
if (n = t[i], n !== "_") {
|
|
6814
|
-
if (!
|
|
6807
|
+
if (!S0(t.charCodeAt(i)))
|
|
6815
6808
|
return !1;
|
|
6816
6809
|
r = !0;
|
|
6817
6810
|
}
|
|
@@ -6822,13 +6815,13 @@ function A0(t) {
|
|
|
6822
6815
|
return !1;
|
|
6823
6816
|
for (; i < e; i++)
|
|
6824
6817
|
if (n = t[i], n !== "_") {
|
|
6825
|
-
if (!
|
|
6818
|
+
if (!v0(t.charCodeAt(i)))
|
|
6826
6819
|
return !1;
|
|
6827
6820
|
r = !0;
|
|
6828
6821
|
}
|
|
6829
6822
|
return !(!r || n === "_");
|
|
6830
6823
|
}
|
|
6831
|
-
function
|
|
6824
|
+
function A0(t) {
|
|
6832
6825
|
var e = t, i = 1, r;
|
|
6833
6826
|
if (e.indexOf("_") !== -1 && (e = e.replace(/_/g, "")), r = e[0], (r === "-" || r === "+") && (r === "-" && (i = -1), e = e.slice(1), r = e[0]), e === "0")
|
|
6834
6827
|
return 0;
|
|
@@ -6842,14 +6835,14 @@ function B0(t) {
|
|
|
6842
6835
|
}
|
|
6843
6836
|
return i * parseInt(e, 10);
|
|
6844
6837
|
}
|
|
6845
|
-
function
|
|
6838
|
+
function B0(t) {
|
|
6846
6839
|
return Object.prototype.toString.call(t) === "[object Number]" && t % 1 === 0 && !ut.isNegativeZero(t);
|
|
6847
6840
|
}
|
|
6848
|
-
var
|
|
6841
|
+
var L0 = new ct("tag:yaml.org,2002:int", {
|
|
6849
6842
|
kind: "scalar",
|
|
6850
|
-
resolve:
|
|
6851
|
-
construct:
|
|
6852
|
-
predicate:
|
|
6843
|
+
resolve: w0,
|
|
6844
|
+
construct: A0,
|
|
6845
|
+
predicate: B0,
|
|
6853
6846
|
represent: {
|
|
6854
6847
|
binary: function(t) {
|
|
6855
6848
|
return t >= 0 ? "0b" + t.toString(2) : "-0b" + t.toString(2).slice(1);
|
|
@@ -6872,21 +6865,21 @@ var E0 = new ct("tag:yaml.org,2002:int", {
|
|
|
6872
6865
|
decimal: [10, "dec"],
|
|
6873
6866
|
hexadecimal: [16, "hex"]
|
|
6874
6867
|
}
|
|
6875
|
-
}),
|
|
6868
|
+
}), E0 = new RegExp(
|
|
6876
6869
|
// 2.5e4, 2.5 and integers
|
|
6877
6870
|
"^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
|
|
6878
6871
|
);
|
|
6879
|
-
function
|
|
6880
|
-
return !(t === null || !
|
|
6872
|
+
function F0(t) {
|
|
6873
|
+
return !(t === null || !E0.test(t) || // Quick hack to not allow integers end with `_`
|
|
6881
6874
|
// Probably should update regexp & check speed
|
|
6882
6875
|
t[t.length - 1] === "_");
|
|
6883
6876
|
}
|
|
6884
|
-
function
|
|
6877
|
+
function I0(t) {
|
|
6885
6878
|
var e, i;
|
|
6886
6879
|
return e = t.replace(/_/g, "").toLowerCase(), i = e[0] === "-" ? -1 : 1, "+-".indexOf(e[0]) >= 0 && (e = e.slice(1)), e === ".inf" ? i === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : e === ".nan" ? NaN : i * parseFloat(e, 10);
|
|
6887
6880
|
}
|
|
6888
|
-
var
|
|
6889
|
-
function
|
|
6881
|
+
var O0 = /^[-+]?[0-9]+e/;
|
|
6882
|
+
function M0(t, e) {
|
|
6890
6883
|
var i;
|
|
6891
6884
|
if (isNaN(t))
|
|
6892
6885
|
switch (e) {
|
|
@@ -6917,34 +6910,34 @@ function D0(t, e) {
|
|
|
6917
6910
|
}
|
|
6918
6911
|
else if (ut.isNegativeZero(t))
|
|
6919
6912
|
return "-0.0";
|
|
6920
|
-
return i = t.toString(10),
|
|
6913
|
+
return i = t.toString(10), O0.test(i) ? i.replace("e", ".e") : i;
|
|
6921
6914
|
}
|
|
6922
|
-
function
|
|
6915
|
+
function D0(t) {
|
|
6923
6916
|
return Object.prototype.toString.call(t) === "[object Number]" && (t % 1 !== 0 || ut.isNegativeZero(t));
|
|
6924
6917
|
}
|
|
6925
|
-
var
|
|
6918
|
+
var N0 = new ct("tag:yaml.org,2002:float", {
|
|
6926
6919
|
kind: "scalar",
|
|
6927
|
-
resolve:
|
|
6928
|
-
construct:
|
|
6929
|
-
predicate:
|
|
6930
|
-
represent:
|
|
6920
|
+
resolve: F0,
|
|
6921
|
+
construct: I0,
|
|
6922
|
+
predicate: D0,
|
|
6923
|
+
represent: M0,
|
|
6931
6924
|
defaultStyle: "lowercase"
|
|
6932
|
-
}), al =
|
|
6925
|
+
}), al = p0.extend({
|
|
6933
6926
|
implicit: [
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6927
|
+
_0,
|
|
6928
|
+
T0,
|
|
6929
|
+
L0,
|
|
6930
|
+
N0
|
|
6938
6931
|
]
|
|
6939
|
-
}),
|
|
6932
|
+
}), $0 = al, ll = new RegExp(
|
|
6940
6933
|
"^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
|
|
6941
6934
|
), cl = new RegExp(
|
|
6942
6935
|
"^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
|
|
6943
6936
|
);
|
|
6944
|
-
function
|
|
6937
|
+
function R0(t) {
|
|
6945
6938
|
return t === null ? !1 : ll.exec(t) !== null || cl.exec(t) !== null;
|
|
6946
6939
|
}
|
|
6947
|
-
function
|
|
6940
|
+
function q0(t) {
|
|
6948
6941
|
var e, i, r, n, s, o, a, l = 0, c = null, u, d, h;
|
|
6949
6942
|
if (e = ll.exec(t), e === null && (e = cl.exec(t)), e === null)
|
|
6950
6943
|
throw new Error("Date resolve error");
|
|
@@ -6957,25 +6950,25 @@ function P0(t) {
|
|
|
6957
6950
|
}
|
|
6958
6951
|
return e[9] && (u = +e[10], d = +(e[11] || 0), c = (u * 60 + d) * 6e4, e[9] === "-" && (c = -c)), h = new Date(Date.UTC(i, r, n, s, o, a, l)), c && h.setTime(h.getTime() - c), h;
|
|
6959
6952
|
}
|
|
6960
|
-
function
|
|
6953
|
+
function P0(t) {
|
|
6961
6954
|
return t.toISOString();
|
|
6962
6955
|
}
|
|
6963
|
-
var
|
|
6956
|
+
var z0 = new ct("tag:yaml.org,2002:timestamp", {
|
|
6964
6957
|
kind: "scalar",
|
|
6965
|
-
resolve:
|
|
6966
|
-
construct:
|
|
6958
|
+
resolve: R0,
|
|
6959
|
+
construct: q0,
|
|
6967
6960
|
instanceOf: Date,
|
|
6968
|
-
represent:
|
|
6961
|
+
represent: P0
|
|
6969
6962
|
});
|
|
6970
|
-
function
|
|
6963
|
+
function W0(t) {
|
|
6971
6964
|
return t === "<<" || t === null;
|
|
6972
6965
|
}
|
|
6973
|
-
var
|
|
6966
|
+
var Y0 = new ct("tag:yaml.org,2002:merge", {
|
|
6974
6967
|
kind: "scalar",
|
|
6975
|
-
resolve:
|
|
6968
|
+
resolve: W0
|
|
6976
6969
|
}), Xn = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
6977
6970
|
\r`;
|
|
6978
|
-
function
|
|
6971
|
+
function H0(t) {
|
|
6979
6972
|
if (t === null)
|
|
6980
6973
|
return !1;
|
|
6981
6974
|
var e, i, r = 0, n = t.length, s = Xn;
|
|
@@ -6987,37 +6980,37 @@ function U0(t) {
|
|
|
6987
6980
|
}
|
|
6988
6981
|
return r % 8 === 0;
|
|
6989
6982
|
}
|
|
6990
|
-
function
|
|
6983
|
+
function U0(t) {
|
|
6991
6984
|
var e, i, r = t.replace(/[\r\n=]/g, ""), n = r.length, s = Xn, o = 0, a = [];
|
|
6992
6985
|
for (e = 0; e < n; e++)
|
|
6993
6986
|
e % 4 === 0 && e && (a.push(o >> 16 & 255), a.push(o >> 8 & 255), a.push(o & 255)), o = o << 6 | s.indexOf(r.charAt(e));
|
|
6994
6987
|
return i = n % 4 * 6, i === 0 ? (a.push(o >> 16 & 255), a.push(o >> 8 & 255), a.push(o & 255)) : i === 18 ? (a.push(o >> 10 & 255), a.push(o >> 2 & 255)) : i === 12 && a.push(o >> 4 & 255), new Uint8Array(a);
|
|
6995
6988
|
}
|
|
6996
|
-
function
|
|
6989
|
+
function X0(t) {
|
|
6997
6990
|
var e = "", i = 0, r, n, s = t.length, o = Xn;
|
|
6998
6991
|
for (r = 0; r < s; r++)
|
|
6999
6992
|
r % 3 === 0 && r && (e += o[i >> 18 & 63], e += o[i >> 12 & 63], e += o[i >> 6 & 63], e += o[i & 63]), i = (i << 8) + t[r];
|
|
7000
6993
|
return n = s % 3, n === 0 ? (e += o[i >> 18 & 63], e += o[i >> 12 & 63], e += o[i >> 6 & 63], e += o[i & 63]) : n === 2 ? (e += o[i >> 10 & 63], e += o[i >> 4 & 63], e += o[i << 2 & 63], e += o[64]) : n === 1 && (e += o[i >> 2 & 63], e += o[i << 4 & 63], e += o[64], e += o[64]), e;
|
|
7001
6994
|
}
|
|
7002
|
-
function
|
|
6995
|
+
function j0(t) {
|
|
7003
6996
|
return Object.prototype.toString.call(t) === "[object Uint8Array]";
|
|
7004
6997
|
}
|
|
7005
|
-
var
|
|
6998
|
+
var G0 = new ct("tag:yaml.org,2002:binary", {
|
|
7006
6999
|
kind: "scalar",
|
|
7007
|
-
resolve:
|
|
7008
|
-
construct:
|
|
7009
|
-
predicate:
|
|
7010
|
-
represent:
|
|
7011
|
-
}),
|
|
7012
|
-
function
|
|
7000
|
+
resolve: H0,
|
|
7001
|
+
construct: U0,
|
|
7002
|
+
predicate: j0,
|
|
7003
|
+
represent: X0
|
|
7004
|
+
}), V0 = Object.prototype.hasOwnProperty, K0 = Object.prototype.toString;
|
|
7005
|
+
function Z0(t) {
|
|
7013
7006
|
if (t === null)
|
|
7014
7007
|
return !0;
|
|
7015
7008
|
var e = [], i, r, n, s, o, a = t;
|
|
7016
7009
|
for (i = 0, r = a.length; i < r; i += 1) {
|
|
7017
|
-
if (n = a[i], o = !1,
|
|
7010
|
+
if (n = a[i], o = !1, K0.call(n) !== "[object Object]")
|
|
7018
7011
|
return !1;
|
|
7019
7012
|
for (s in n)
|
|
7020
|
-
if (
|
|
7013
|
+
if (V0.call(n, s))
|
|
7021
7014
|
if (!o)
|
|
7022
7015
|
o = !0;
|
|
7023
7016
|
else
|
|
@@ -7031,26 +7024,26 @@ function J0(t) {
|
|
|
7031
7024
|
}
|
|
7032
7025
|
return !0;
|
|
7033
7026
|
}
|
|
7034
|
-
function
|
|
7027
|
+
function J0(t) {
|
|
7035
7028
|
return t !== null ? t : [];
|
|
7036
7029
|
}
|
|
7037
|
-
var
|
|
7030
|
+
var Q0 = new ct("tag:yaml.org,2002:omap", {
|
|
7038
7031
|
kind: "sequence",
|
|
7039
|
-
resolve:
|
|
7040
|
-
construct:
|
|
7041
|
-
}),
|
|
7042
|
-
function
|
|
7032
|
+
resolve: Z0,
|
|
7033
|
+
construct: J0
|
|
7034
|
+
}), ty = Object.prototype.toString;
|
|
7035
|
+
function ey(t) {
|
|
7043
7036
|
if (t === null)
|
|
7044
7037
|
return !0;
|
|
7045
7038
|
var e, i, r, n, s, o = t;
|
|
7046
7039
|
for (s = new Array(o.length), e = 0, i = o.length; e < i; e += 1) {
|
|
7047
|
-
if (r = o[e],
|
|
7040
|
+
if (r = o[e], ty.call(r) !== "[object Object]" || (n = Object.keys(r), n.length !== 1))
|
|
7048
7041
|
return !1;
|
|
7049
7042
|
s[e] = [n[0], r[n[0]]];
|
|
7050
7043
|
}
|
|
7051
7044
|
return !0;
|
|
7052
7045
|
}
|
|
7053
|
-
function
|
|
7046
|
+
function iy(t) {
|
|
7054
7047
|
if (t === null)
|
|
7055
7048
|
return [];
|
|
7056
7049
|
var e, i, r, n, s, o = t;
|
|
@@ -7058,39 +7051,39 @@ function ry(t) {
|
|
|
7058
7051
|
r = o[e], n = Object.keys(r), s[e] = [n[0], r[n[0]]];
|
|
7059
7052
|
return s;
|
|
7060
7053
|
}
|
|
7061
|
-
var
|
|
7054
|
+
var ry = new ct("tag:yaml.org,2002:pairs", {
|
|
7062
7055
|
kind: "sequence",
|
|
7063
|
-
resolve:
|
|
7064
|
-
construct:
|
|
7065
|
-
}),
|
|
7066
|
-
function
|
|
7056
|
+
resolve: ey,
|
|
7057
|
+
construct: iy
|
|
7058
|
+
}), ny = Object.prototype.hasOwnProperty;
|
|
7059
|
+
function oy(t) {
|
|
7067
7060
|
if (t === null)
|
|
7068
7061
|
return !0;
|
|
7069
7062
|
var e, i = t;
|
|
7070
7063
|
for (e in i)
|
|
7071
|
-
if (
|
|
7064
|
+
if (ny.call(i, e) && i[e] !== null)
|
|
7072
7065
|
return !1;
|
|
7073
7066
|
return !0;
|
|
7074
7067
|
}
|
|
7075
|
-
function
|
|
7068
|
+
function sy(t) {
|
|
7076
7069
|
return t !== null ? t : {};
|
|
7077
7070
|
}
|
|
7078
|
-
var
|
|
7071
|
+
var ay = new ct("tag:yaml.org,2002:set", {
|
|
7079
7072
|
kind: "mapping",
|
|
7080
|
-
resolve:
|
|
7081
|
-
construct:
|
|
7082
|
-
}),
|
|
7073
|
+
resolve: oy,
|
|
7074
|
+
construct: sy
|
|
7075
|
+
}), ly = $0.extend({
|
|
7083
7076
|
implicit: [
|
|
7084
|
-
|
|
7085
|
-
|
|
7077
|
+
z0,
|
|
7078
|
+
Y0
|
|
7086
7079
|
],
|
|
7087
7080
|
explicit: [
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7081
|
+
G0,
|
|
7082
|
+
Q0,
|
|
7083
|
+
ry,
|
|
7084
|
+
ay
|
|
7092
7085
|
]
|
|
7093
|
-
}), he = Object.prototype.hasOwnProperty, cr = 1, hl = 2, ul = 3, hr = 4, Zr = 1,
|
|
7086
|
+
}), he = Object.prototype.hasOwnProperty, cr = 1, hl = 2, ul = 3, hr = 4, Zr = 1, cy = 2, ss = 3, hy = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, uy = /[\x85\u2028\u2029]/, dy = /[,\[\]\{\}]/, dl = /^(?:!|!!|![a-z\-]+!)$/i, fl = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
7094
7087
|
function as(t) {
|
|
7095
7088
|
return Object.prototype.toString.call(t);
|
|
7096
7089
|
}
|
|
@@ -7106,21 +7099,21 @@ function _t(t) {
|
|
|
7106
7099
|
function Ae(t) {
|
|
7107
7100
|
return t === 44 || t === 91 || t === 93 || t === 123 || t === 125;
|
|
7108
7101
|
}
|
|
7109
|
-
function
|
|
7102
|
+
function fy(t) {
|
|
7110
7103
|
var e;
|
|
7111
7104
|
return 48 <= t && t <= 57 ? t - 48 : (e = t | 32, 97 <= e && e <= 102 ? e - 97 + 10 : -1);
|
|
7112
7105
|
}
|
|
7113
|
-
function
|
|
7106
|
+
function py(t) {
|
|
7114
7107
|
return t === 120 ? 2 : t === 117 ? 4 : t === 85 ? 8 : 0;
|
|
7115
7108
|
}
|
|
7116
|
-
function
|
|
7109
|
+
function gy(t) {
|
|
7117
7110
|
return 48 <= t && t <= 57 ? t - 48 : -1;
|
|
7118
7111
|
}
|
|
7119
7112
|
function ls(t) {
|
|
7120
7113
|
return t === 48 ? "\0" : t === 97 ? "\x07" : t === 98 ? "\b" : t === 116 || t === 9 ? " " : t === 110 ? `
|
|
7121
7114
|
` : t === 118 ? "\v" : t === 102 ? "\f" : t === 114 ? "\r" : t === 101 ? "\x1B" : t === 32 ? " " : t === 34 ? '"' : t === 47 ? "/" : t === 92 ? "\\" : t === 78 ? "
" : t === 95 ? " " : t === 76 ? "\u2028" : t === 80 ? "\u2029" : "";
|
|
7122
7115
|
}
|
|
7123
|
-
function
|
|
7116
|
+
function my(t) {
|
|
7124
7117
|
return t <= 65535 ? String.fromCharCode(t) : String.fromCharCode(
|
|
7125
7118
|
(t - 65536 >> 10) + 55296,
|
|
7126
7119
|
(t - 65536 & 1023) + 56320
|
|
@@ -7129,8 +7122,8 @@ function yy(t) {
|
|
|
7129
7122
|
var pl = new Array(256), gl = new Array(256);
|
|
7130
7123
|
for (var ve = 0; ve < 256; ve++)
|
|
7131
7124
|
pl[ve] = ls(ve) ? 1 : 0, gl[ve] = ls(ve);
|
|
7132
|
-
function
|
|
7133
|
-
this.input = t, this.filename = e.filename || null, this.schema = e.schema ||
|
|
7125
|
+
function yy(t, e) {
|
|
7126
|
+
this.input = t, this.filename = e.filename || null, this.schema = e.schema || ly, this.onWarning = e.onWarning || null, this.legacy = e.legacy || !1, this.json = e.json || !1, this.listener = e.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = t.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
|
|
7134
7127
|
}
|
|
7135
7128
|
function ml(t, e) {
|
|
7136
7129
|
var i = {
|
|
@@ -7141,7 +7134,7 @@ function ml(t, e) {
|
|
|
7141
7134
|
line: t.line,
|
|
7142
7135
|
column: t.position - t.lineStart
|
|
7143
7136
|
};
|
|
7144
|
-
return i.snippet =
|
|
7137
|
+
return i.snippet = n0(i), new Jt(e, i);
|
|
7145
7138
|
}
|
|
7146
7139
|
function I(t, e) {
|
|
7147
7140
|
throw ml(t, e);
|
|
@@ -7171,7 +7164,7 @@ function le(t, e, i, r) {
|
|
|
7171
7164
|
if (a = t.input.slice(e, i), r)
|
|
7172
7165
|
for (n = 0, s = a.length; n < s; n += 1)
|
|
7173
7166
|
o = a.charCodeAt(n), o === 9 || 32 <= o && o <= 1114111 || I(t, "expected valid JSON character");
|
|
7174
|
-
else
|
|
7167
|
+
else hy.test(a) && I(t, "the stream contains non-printable characters");
|
|
7175
7168
|
t.result += a;
|
|
7176
7169
|
}
|
|
7177
7170
|
}
|
|
@@ -7228,7 +7221,7 @@ function Gn(t, e) {
|
|
|
7228
7221
|
e === 1 ? t.result += " " : e > 1 && (t.result += ut.repeat(`
|
|
7229
7222
|
`, e - 1));
|
|
7230
7223
|
}
|
|
7231
|
-
function
|
|
7224
|
+
function _y(t, e, i) {
|
|
7232
7225
|
var r, n, s, o, a, l, c, u, d = t.kind, h = t.result, f;
|
|
7233
7226
|
if (f = t.input.charCodeAt(t.position), _t(f) || Ae(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (n = t.input.charCodeAt(t.position + 1), _t(n) || i && Ae(n)))
|
|
7234
7227
|
return !1;
|
|
@@ -7255,7 +7248,7 @@ function Cy(t, e, i) {
|
|
|
7255
7248
|
}
|
|
7256
7249
|
return le(t, s, o, !1), t.result ? !0 : (t.kind = d, t.result = h, !1);
|
|
7257
7250
|
}
|
|
7258
|
-
function
|
|
7251
|
+
function Cy(t, e) {
|
|
7259
7252
|
var i, r, n;
|
|
7260
7253
|
if (i = t.input.charCodeAt(t.position), i !== 39)
|
|
7261
7254
|
return !1;
|
|
@@ -7268,7 +7261,7 @@ function xy(t, e) {
|
|
|
7268
7261
|
else zt(i) ? (le(t, r, n, !0), Gn(t, J(t, !1, e)), r = n = t.position) : t.position === t.lineStart && Ar(t) ? I(t, "unexpected end of the document within a single quoted scalar") : (t.position++, n = t.position);
|
|
7269
7262
|
I(t, "unexpected end of the stream within a single quoted scalar");
|
|
7270
7263
|
}
|
|
7271
|
-
function
|
|
7264
|
+
function xy(t, e) {
|
|
7272
7265
|
var i, r, n, s, o, a;
|
|
7273
7266
|
if (a = t.input.charCodeAt(t.position), a !== 34)
|
|
7274
7267
|
return !1;
|
|
@@ -7280,10 +7273,10 @@ function by(t, e) {
|
|
|
7280
7273
|
J(t, !1, e);
|
|
7281
7274
|
else if (a < 256 && pl[a])
|
|
7282
7275
|
t.result += gl[a], t.position++;
|
|
7283
|
-
else if ((o =
|
|
7276
|
+
else if ((o = py(a)) > 0) {
|
|
7284
7277
|
for (n = o, s = 0; n > 0; n--)
|
|
7285
|
-
a = t.input.charCodeAt(++t.position), (o =
|
|
7286
|
-
t.result +=
|
|
7278
|
+
a = t.input.charCodeAt(++t.position), (o = fy(a)) >= 0 ? s = (s << 4) + o : I(t, "expected hexadecimal character");
|
|
7279
|
+
t.result += my(s), t.position++;
|
|
7287
7280
|
} else
|
|
7288
7281
|
I(t, "unknown escape sequence");
|
|
7289
7282
|
i = r = t.position;
|
|
@@ -7291,7 +7284,7 @@ function by(t, e) {
|
|
|
7291
7284
|
}
|
|
7292
7285
|
I(t, "unexpected end of the stream within a double quoted scalar");
|
|
7293
7286
|
}
|
|
7294
|
-
function
|
|
7287
|
+
function by(t, e) {
|
|
7295
7288
|
var i = !0, r, n, s, o = t.tag, a, l = t.anchor, c, u, d, h, f, m = /* @__PURE__ */ Object.create(null), y, C, L, b;
|
|
7296
7289
|
if (b = t.input.charCodeAt(t.position), b === 91)
|
|
7297
7290
|
u = 93, f = !1, a = [];
|
|
@@ -7306,7 +7299,7 @@ function Ty(t, e) {
|
|
|
7306
7299
|
}
|
|
7307
7300
|
I(t, "unexpected end of the stream within a flow collection");
|
|
7308
7301
|
}
|
|
7309
|
-
function
|
|
7302
|
+
function Ty(t, e) {
|
|
7310
7303
|
var i, r, n = Zr, s = !1, o = !1, a = e, l = 0, c = !1, u, d;
|
|
7311
7304
|
if (d = t.input.charCodeAt(t.position), d === 124)
|
|
7312
7305
|
r = !1;
|
|
@@ -7316,8 +7309,8 @@ function ky(t, e) {
|
|
|
7316
7309
|
return !1;
|
|
7317
7310
|
for (t.kind = "scalar", t.result = ""; d !== 0; )
|
|
7318
7311
|
if (d = t.input.charCodeAt(++t.position), d === 43 || d === 45)
|
|
7319
|
-
Zr === n ? n = d === 43 ? ss :
|
|
7320
|
-
else if ((u =
|
|
7312
|
+
Zr === n ? n = d === 43 ? ss : cy : I(t, "repeat of a chomping mode identifier");
|
|
7313
|
+
else if ((u = gy(d)) >= 0)
|
|
7321
7314
|
u === 0 ? I(t, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? I(t, "repeat of an indentation width identifier") : (a = e + u - 1, o = !0);
|
|
7322
7315
|
else
|
|
7323
7316
|
break;
|
|
@@ -7369,7 +7362,7 @@ function us(t, e) {
|
|
|
7369
7362
|
}
|
|
7370
7363
|
return a ? (t.tag = r, t.anchor = n, t.kind = "sequence", t.result = s, !0) : !1;
|
|
7371
7364
|
}
|
|
7372
|
-
function
|
|
7365
|
+
function ky(t, e, i) {
|
|
7373
7366
|
var r, n, s, o, a, l, c = t.tag, u = t.anchor, d = {}, h = /* @__PURE__ */ Object.create(null), f = null, m = null, y = null, C = !1, L = !1, b;
|
|
7374
7367
|
if (t.firstTabInLine !== -1)
|
|
7375
7368
|
return !1;
|
|
@@ -7400,7 +7393,7 @@ function Sy(t, e, i) {
|
|
|
7400
7393
|
}
|
|
7401
7394
|
return C && Be(t, d, h, f, m, null, o, a, l), L && (t.tag = c, t.anchor = u, t.kind = "mapping", t.result = d), L;
|
|
7402
7395
|
}
|
|
7403
|
-
function
|
|
7396
|
+
function Sy(t) {
|
|
7404
7397
|
var e, i = !1, r = !1, n, s, o;
|
|
7405
7398
|
if (o = t.input.charCodeAt(t.position), o !== 33)
|
|
7406
7399
|
return !1;
|
|
@@ -7412,7 +7405,7 @@ function vy(t) {
|
|
|
7412
7405
|
} else {
|
|
7413
7406
|
for (; o !== 0 && !_t(o); )
|
|
7414
7407
|
o === 33 && (r ? I(t, "tag suffix cannot contain exclamation marks") : (n = t.input.slice(e - 1, t.position + 1), dl.test(n) || I(t, "named tag handle cannot contain such characters"), r = !0, e = t.position + 1)), o = t.input.charCodeAt(++t.position);
|
|
7415
|
-
s = t.input.slice(e, t.position),
|
|
7408
|
+
s = t.input.slice(e, t.position), dy.test(s) && I(t, "tag suffix cannot contain flow indicator characters");
|
|
7416
7409
|
}
|
|
7417
7410
|
s && !fl.test(s) && I(t, "tag name cannot contain such characters: " + s);
|
|
7418
7411
|
try {
|
|
@@ -7422,7 +7415,7 @@ function vy(t) {
|
|
|
7422
7415
|
}
|
|
7423
7416
|
return i ? t.tag = s : he.call(t.tagMap, n) ? t.tag = t.tagMap[n] + s : n === "!" ? t.tag = "!" + s : n === "!!" ? t.tag = "tag:yaml.org,2002:" + s : I(t, 'undeclared tag handle "' + n + '"'), !0;
|
|
7424
7417
|
}
|
|
7425
|
-
function
|
|
7418
|
+
function vy(t) {
|
|
7426
7419
|
var e, i;
|
|
7427
7420
|
if (i = t.input.charCodeAt(t.position), i !== 38)
|
|
7428
7421
|
return !1;
|
|
@@ -7430,7 +7423,7 @@ function wy(t) {
|
|
|
7430
7423
|
i = t.input.charCodeAt(++t.position);
|
|
7431
7424
|
return t.position === e && I(t, "name of an anchor node must contain at least one character"), t.anchor = t.input.slice(e, t.position), !0;
|
|
7432
7425
|
}
|
|
7433
|
-
function
|
|
7426
|
+
function wy(t) {
|
|
7434
7427
|
var e, i, r;
|
|
7435
7428
|
if (r = t.input.charCodeAt(t.position), r !== 42)
|
|
7436
7429
|
return !1;
|
|
@@ -7441,9 +7434,9 @@ function Ay(t) {
|
|
|
7441
7434
|
function We(t, e, i, r, n) {
|
|
7442
7435
|
var s, o, a, l = 1, c = !1, u = !1, d, h, f, m, y, C;
|
|
7443
7436
|
if (t.listener !== null && t.listener("open", t), t.tag = null, t.anchor = null, t.kind = null, t.result = null, s = o = a = hr === i || ul === i, r && J(t, !0, -1) && (c = !0, t.lineIndent > e ? l = 1 : t.lineIndent === e ? l = 0 : t.lineIndent < e && (l = -1)), l === 1)
|
|
7444
|
-
for (;
|
|
7437
|
+
for (; Sy(t) || vy(t); )
|
|
7445
7438
|
J(t, !0, -1) ? (c = !0, a = s, t.lineIndent > e ? l = 1 : t.lineIndent === e ? l = 0 : t.lineIndent < e && (l = -1)) : a = !1;
|
|
7446
|
-
if (a && (a = c || n), (l === 1 || hr === i) && (cr === i || hl === i ? y = e : y = e + 1, C = t.position - t.lineStart, l === 1 ? a && (us(t, C) ||
|
|
7439
|
+
if (a && (a = c || n), (l === 1 || hr === i) && (cr === i || hl === i ? y = e : y = e + 1, C = t.position - t.lineStart, l === 1 ? a && (us(t, C) || ky(t, C, y)) || by(t, y) ? u = !0 : (o && Ty(t, y) || Cy(t, y) || xy(t, y) ? u = !0 : wy(t) ? (u = !0, (t.tag !== null || t.anchor !== null) && I(t, "alias node should not have any properties")) : _y(t, y, cr === i) && (u = !0, t.tag === null && (t.tag = "?")), t.anchor !== null && (t.anchorMap[t.anchor] = t.result)) : l === 0 && (u = a && us(t, C))), t.tag === null)
|
|
7447
7440
|
t.anchor !== null && (t.anchorMap[t.anchor] = t.result);
|
|
7448
7441
|
else if (t.tag === "?") {
|
|
7449
7442
|
for (t.result !== null && t.kind !== "scalar" && I(t, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + t.kind + '"'), d = 0, h = t.implicitTypes.length; d < h; d += 1)
|
|
@@ -7464,7 +7457,7 @@ function We(t, e, i, r, n) {
|
|
|
7464
7457
|
}
|
|
7465
7458
|
return t.listener !== null && t.listener("close", t), t.tag !== null || t.anchor !== null || u;
|
|
7466
7459
|
}
|
|
7467
|
-
function
|
|
7460
|
+
function Ay(t) {
|
|
7468
7461
|
var e = t.position, i, r, n, s = !1, o;
|
|
7469
7462
|
for (t.version = null, t.checkLineBreaks = t.legacy, t.tagMap = /* @__PURE__ */ Object.create(null), t.anchorMap = /* @__PURE__ */ Object.create(null); (o = t.input.charCodeAt(t.position)) !== 0 && (J(t, !0, -1), o = t.input.charCodeAt(t.position), !(t.lineIndent > 0 || o !== 37)); ) {
|
|
7470
7463
|
for (s = !0, o = t.input.charCodeAt(++t.position), i = t.position; o !== 0 && !_t(o); )
|
|
@@ -7486,7 +7479,7 @@ function By(t) {
|
|
|
7486
7479
|
}
|
|
7487
7480
|
o !== 0 && jn(t), he.call(cs, r) ? cs[r](t, r, n) : ur(t, 'unknown document directive "' + r + '"');
|
|
7488
7481
|
}
|
|
7489
|
-
if (J(t, !0, -1), t.lineIndent === 0 && t.input.charCodeAt(t.position) === 45 && t.input.charCodeAt(t.position + 1) === 45 && t.input.charCodeAt(t.position + 2) === 45 ? (t.position += 3, J(t, !0, -1)) : s && I(t, "directives end mark is expected"), We(t, t.lineIndent - 1, hr, !1, !0), J(t, !0, -1), t.checkLineBreaks &&
|
|
7482
|
+
if (J(t, !0, -1), t.lineIndent === 0 && t.input.charCodeAt(t.position) === 45 && t.input.charCodeAt(t.position + 1) === 45 && t.input.charCodeAt(t.position + 2) === 45 ? (t.position += 3, J(t, !0, -1)) : s && I(t, "directives end mark is expected"), We(t, t.lineIndent - 1, hr, !1, !0), J(t, !0, -1), t.checkLineBreaks && uy.test(t.input.slice(e, t.position)) && ur(t, "non-ASCII line breaks are interpreted as content"), t.documents.push(t.result), t.position === t.lineStart && Ar(t)) {
|
|
7490
7483
|
t.input.charCodeAt(t.position) === 46 && (t.position += 3, J(t, !0, -1));
|
|
7491
7484
|
return;
|
|
7492
7485
|
}
|
|
@@ -7495,38 +7488,38 @@ function By(t) {
|
|
|
7495
7488
|
else
|
|
7496
7489
|
return;
|
|
7497
7490
|
}
|
|
7498
|
-
function
|
|
7491
|
+
function By(t, e) {
|
|
7499
7492
|
t = String(t), e = e || {}, t.length !== 0 && (t.charCodeAt(t.length - 1) !== 10 && t.charCodeAt(t.length - 1) !== 13 && (t += `
|
|
7500
7493
|
`), t.charCodeAt(0) === 65279 && (t = t.slice(1)));
|
|
7501
|
-
var i = new
|
|
7494
|
+
var i = new yy(t, e), r = t.indexOf("\0");
|
|
7502
7495
|
for (r !== -1 && (i.position = r, I(i, "null byte is not allowed in input")), i.input += "\0"; i.input.charCodeAt(i.position) === 32; )
|
|
7503
7496
|
i.lineIndent += 1, i.position += 1;
|
|
7504
7497
|
for (; i.position < i.length - 1; )
|
|
7505
|
-
|
|
7498
|
+
Ay(i);
|
|
7506
7499
|
return i.documents;
|
|
7507
7500
|
}
|
|
7508
|
-
function
|
|
7509
|
-
var i =
|
|
7501
|
+
function Ly(t, e) {
|
|
7502
|
+
var i = By(t, e);
|
|
7510
7503
|
if (i.length !== 0) {
|
|
7511
7504
|
if (i.length === 1)
|
|
7512
7505
|
return i[0];
|
|
7513
7506
|
throw new Jt("expected a single document in the stream, but found more");
|
|
7514
7507
|
}
|
|
7515
7508
|
}
|
|
7516
|
-
var
|
|
7517
|
-
load:
|
|
7518
|
-
},
|
|
7519
|
-
function
|
|
7509
|
+
var Ey = Ly, Fy = {
|
|
7510
|
+
load: Ey
|
|
7511
|
+
}, Iy = al, Oy = Fy.load;
|
|
7512
|
+
function My(t) {
|
|
7520
7513
|
const e = t.match(ba);
|
|
7521
7514
|
if (!e)
|
|
7522
7515
|
return {
|
|
7523
7516
|
text: t,
|
|
7524
7517
|
metadata: {}
|
|
7525
7518
|
};
|
|
7526
|
-
let i =
|
|
7519
|
+
let i = Oy(e[1], {
|
|
7527
7520
|
// To support config, we need JSON schema.
|
|
7528
7521
|
// https://www.yaml.org/spec/1.2/spec.html#id2803231
|
|
7529
|
-
schema:
|
|
7522
|
+
schema: Iy
|
|
7530
7523
|
}) ?? {};
|
|
7531
7524
|
i = typeof i == "object" && !Array.isArray(i) ? i : {};
|
|
7532
7525
|
const r = {};
|
|
@@ -7535,35 +7528,35 @@ function Dy(t) {
|
|
|
7535
7528
|
metadata: r
|
|
7536
7529
|
};
|
|
7537
7530
|
}
|
|
7538
|
-
const
|
|
7531
|
+
const Dy = (t) => t.replace(/\r\n?/g, `
|
|
7539
7532
|
`).replace(
|
|
7540
7533
|
/<(\w+)([^>]*)>/g,
|
|
7541
7534
|
(e, i, r) => "<" + i + r.replace(/="([^"]*)"/g, "='$1'") + ">"
|
|
7542
|
-
),
|
|
7543
|
-
const { text: e, metadata: i } =
|
|
7535
|
+
), Ny = (t) => {
|
|
7536
|
+
const { text: e, metadata: i } = My(t), { displayMode: r, title: n, config: s = {} } = i;
|
|
7544
7537
|
return r && (s.gantt || (s.gantt = {}), s.gantt.displayMode = r), { title: n, config: s, text: e };
|
|
7545
|
-
},
|
|
7538
|
+
}, $y = (t) => {
|
|
7546
7539
|
const e = ci.detectInit(t) ?? {}, i = ci.detectDirective(t, "wrap");
|
|
7547
7540
|
return Array.isArray(i) ? e.wrap = i.some(({ type: r }) => {
|
|
7548
7541
|
}) : (i == null ? void 0 : i.type) === "wrap" && (e.wrap = !0), {
|
|
7549
|
-
text:
|
|
7542
|
+
text: lp(t),
|
|
7550
7543
|
directive: e
|
|
7551
7544
|
};
|
|
7552
7545
|
};
|
|
7553
7546
|
function yl(t) {
|
|
7554
|
-
const e =
|
|
7555
|
-
return t =
|
|
7547
|
+
const e = Dy(t), i = Ny(e), r = $y(i.text), n = Ba(i.config, r.directive);
|
|
7548
|
+
return t = Um(r.text), {
|
|
7556
7549
|
code: t,
|
|
7557
7550
|
title: i.title,
|
|
7558
7551
|
config: n
|
|
7559
7552
|
};
|
|
7560
7553
|
}
|
|
7561
|
-
const
|
|
7554
|
+
const Ry = 5e4, qy = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", Py = "sandbox", zy = "loose", Wy = "http://www.w3.org/2000/svg", Yy = "http://www.w3.org/1999/xlink", Hy = "http://www.w3.org/1999/xhtml", Uy = "100%", Xy = "100%", jy = "border:0;margin:0;", Gy = "margin:0", Vy = "allow-top-navigation-by-user-activation allow-popups", Ky = 'The "iframe" tag is not supported by your browser.', Zy = ["foreignobject"], Jy = ["dominant-baseline"];
|
|
7562
7555
|
function _l(t) {
|
|
7563
7556
|
const e = yl(t);
|
|
7564
|
-
return sr(),
|
|
7557
|
+
return sr(), Mp(e.config ?? {}), e;
|
|
7565
7558
|
}
|
|
7566
|
-
async function
|
|
7559
|
+
async function Qy(t, e) {
|
|
7567
7560
|
Un(), t = _l(t).code;
|
|
7568
7561
|
try {
|
|
7569
7562
|
await Vn(t);
|
|
@@ -7575,7 +7568,7 @@ async function t_(t, e) {
|
|
|
7575
7568
|
return !0;
|
|
7576
7569
|
}
|
|
7577
7570
|
const ds = (t, e, i = []) => `
|
|
7578
|
-
.${t} ${e} { ${i.join(" !important; ")} !important; }`,
|
|
7571
|
+
.${t} ${e} { ${i.join(" !important; ")} !important; }`, t_ = (t, e = {}) => {
|
|
7579
7572
|
var i;
|
|
7580
7573
|
let r = "";
|
|
7581
7574
|
if (t.themeCSS !== void 0 && (r += `
|
|
@@ -7591,52 +7584,52 @@ ${t.themeCSS}`), t.fontFamily !== void 0 && (r += `
|
|
|
7591
7584
|
}
|
|
7592
7585
|
}
|
|
7593
7586
|
return r;
|
|
7594
|
-
},
|
|
7595
|
-
const n =
|
|
7596
|
-
return dn(
|
|
7597
|
-
},
|
|
7587
|
+
}, e_ = (t, e, i, r) => {
|
|
7588
|
+
const n = t_(t, i), s = tm(e, n, t.themeVariables);
|
|
7589
|
+
return dn(wf(`${r}{${s}}`), Bf);
|
|
7590
|
+
}, i_ = (t = "", e, i) => {
|
|
7598
7591
|
let r = t;
|
|
7599
7592
|
return !i && !e && (r = r.replace(
|
|
7600
7593
|
/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,
|
|
7601
7594
|
'marker-end="url(#'
|
|
7602
|
-
)), r =
|
|
7603
|
-
},
|
|
7595
|
+
)), r = Ep(r), r = r.replace(/<br>/g, "<br/>"), r;
|
|
7596
|
+
}, r_ = (t = "", e) => {
|
|
7604
7597
|
var i, r;
|
|
7605
|
-
const n = (r = (i = e == null ? void 0 : e.viewBox) == null ? void 0 : i.baseVal) != null && r.height ? e.viewBox.baseVal.height + "px" :
|
|
7606
|
-
return `<iframe style="width:${
|
|
7607
|
-
${
|
|
7598
|
+
const n = (r = (i = e == null ? void 0 : e.viewBox) == null ? void 0 : i.baseVal) != null && r.height ? e.viewBox.baseVal.height + "px" : Xy, s = btoa('<body style="' + Gy + '">' + t + "</body>");
|
|
7599
|
+
return `<iframe style="width:${Uy};height:${n};${jy}" src="data:text/html;base64,${s}" sandbox="${Vy}">
|
|
7600
|
+
${Ky}
|
|
7608
7601
|
</iframe>`;
|
|
7609
7602
|
}, fs = (t, e, i, r, n) => {
|
|
7610
7603
|
const s = t.append("div");
|
|
7611
7604
|
s.attr("id", i), r && s.attr("style", r);
|
|
7612
|
-
const o = s.append("svg").attr("id", e).attr("width", "100%").attr("xmlns",
|
|
7605
|
+
const o = s.append("svg").attr("id", e).attr("width", "100%").attr("xmlns", Wy);
|
|
7613
7606
|
return n && o.attr("xmlns:xlink", n), o.append("g"), t;
|
|
7614
7607
|
};
|
|
7615
7608
|
function ps(t, e) {
|
|
7616
7609
|
return t.append("iframe").attr("id", e).attr("style", "width: 100%; height: 100%;").attr("sandbox", "");
|
|
7617
7610
|
}
|
|
7618
|
-
const
|
|
7611
|
+
const n_ = (t, e, i, r) => {
|
|
7619
7612
|
var n, s, o;
|
|
7620
7613
|
(n = t.getElementById(e)) == null || n.remove(), (s = t.getElementById(i)) == null || s.remove(), (o = t.getElementById(r)) == null || o.remove();
|
|
7621
|
-
},
|
|
7614
|
+
}, o_ = async function(t, e, i) {
|
|
7622
7615
|
var r, n, s, o, a, l;
|
|
7623
7616
|
Un();
|
|
7624
7617
|
const c = _l(e);
|
|
7625
7618
|
e = c.code;
|
|
7626
7619
|
const u = Yt();
|
|
7627
|
-
D.debug(u), e.length > ((u == null ? void 0 : u.maxTextSize) ??
|
|
7620
|
+
D.debug(u), e.length > ((u == null ? void 0 : u.maxTextSize) ?? Ry) && (e = qy);
|
|
7628
7621
|
const d = "#" + t, h = "i" + t, f = "#" + h, m = "d" + t, y = "#" + m;
|
|
7629
7622
|
let C = St("body");
|
|
7630
|
-
const L = u.securityLevel ===
|
|
7623
|
+
const L = u.securityLevel === Py, b = u.securityLevel === zy, R = u.fontFamily;
|
|
7631
7624
|
if (i !== void 0) {
|
|
7632
7625
|
if (i && (i.innerHTML = ""), L) {
|
|
7633
7626
|
const M = ps(St(i), h);
|
|
7634
7627
|
C = St(M.nodes()[0].contentDocument.body), C.node().style.margin = 0;
|
|
7635
7628
|
} else
|
|
7636
7629
|
C = St(i);
|
|
7637
|
-
fs(C, t, m, `font-family: ${R}`,
|
|
7630
|
+
fs(C, t, m, `font-family: ${R}`, Yy);
|
|
7638
7631
|
} else {
|
|
7639
|
-
if (
|
|
7632
|
+
if (n_(document, t, m, h), L) {
|
|
7640
7633
|
const M = ps(St("body"), h);
|
|
7641
7634
|
C = St(M.nodes()[0].contentDocument.body), C.node().style.margin = 0;
|
|
7642
7635
|
} else
|
|
@@ -7649,25 +7642,25 @@ const o_ = (t, e, i, r) => {
|
|
|
7649
7642
|
} catch (M) {
|
|
7650
7643
|
x = new nl("error"), S = M;
|
|
7651
7644
|
}
|
|
7652
|
-
const X = C.select(y).node(), N = x.type, Q = X.firstChild, nt = Q.firstChild, Y = (n = (r = x.renderer).getClasses) == null ? void 0 : n.call(r, e, x), A =
|
|
7645
|
+
const X = C.select(y).node(), N = x.type, Q = X.firstChild, nt = Q.firstChild, Y = (n = (r = x.renderer).getClasses) == null ? void 0 : n.call(r, e, x), A = e_(u, N, Y, d), tt = document.createElement("style");
|
|
7653
7646
|
tt.innerHTML = A, Q.insertBefore(tt, nt);
|
|
7654
7647
|
try {
|
|
7655
7648
|
await x.renderer.draw(e, t, es, x);
|
|
7656
7649
|
} catch (M) {
|
|
7657
|
-
throw
|
|
7650
|
+
throw ym.draw(e, t, es), M;
|
|
7658
7651
|
}
|
|
7659
7652
|
const ie = C.select(`${y} svg`), q = (o = (s = x.db).getAccTitle) == null ? void 0 : o.call(s), w = (l = (a = x.db).getAccDescription) == null ? void 0 : l.call(a);
|
|
7660
|
-
|
|
7653
|
+
a_(N, ie, q, w), C.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns", Hy);
|
|
7661
7654
|
let T = C.select(y).node().innerHTML;
|
|
7662
|
-
if (D.debug("config.arrowMarkerAbsolute", u.arrowMarkerAbsolute), T =
|
|
7655
|
+
if (D.debug("config.arrowMarkerAbsolute", u.arrowMarkerAbsolute), T = i_(T, L, _a(u.arrowMarkerAbsolute)), L) {
|
|
7663
7656
|
const M = C.select(y + " svg").node();
|
|
7664
|
-
T =
|
|
7657
|
+
T = r_(T, M);
|
|
7665
7658
|
} else b || (T = De.sanitize(T, {
|
|
7666
|
-
ADD_TAGS:
|
|
7667
|
-
ADD_ATTR:
|
|
7659
|
+
ADD_TAGS: Zy,
|
|
7660
|
+
ADD_ATTR: Jy,
|
|
7668
7661
|
HTML_INTEGRATION_POINTS: { foreignobject: !0 }
|
|
7669
7662
|
}));
|
|
7670
|
-
if (
|
|
7663
|
+
if (zm(), S)
|
|
7671
7664
|
throw S;
|
|
7672
7665
|
const v = St(L ? f : y).node();
|
|
7673
7666
|
return v && "remove" in v && v.remove(), {
|
|
@@ -7675,30 +7668,30 @@ const o_ = (t, e, i, r) => {
|
|
|
7675
7668
|
bindFunctions: x.db.bindFunctions
|
|
7676
7669
|
};
|
|
7677
7670
|
};
|
|
7678
|
-
function
|
|
7671
|
+
function s_(t = {}) {
|
|
7679
7672
|
var e;
|
|
7680
|
-
t != null && t.fontFamily && !((e = t.themeVariables) != null && e.fontFamily) && (t.themeVariables || (t.themeVariables = {}), t.themeVariables.fontFamily = t.fontFamily),
|
|
7673
|
+
t != null && t.fontFamily && !((e = t.themeVariables) != null && e.fontFamily) && (t.themeVariables || (t.themeVariables = {}), t.themeVariables.fontFamily = t.fontFamily), Ip(t), t != null && t.theme && t.theme in te ? t.themeVariables = te[t.theme].getThemeVariables(
|
|
7681
7674
|
t.themeVariables
|
|
7682
7675
|
) : t && (t.themeVariables = te.default.getThemeVariables(t.themeVariables));
|
|
7683
|
-
const i = typeof t == "object" ?
|
|
7676
|
+
const i = typeof t == "object" ? Fp(t) : Ea();
|
|
7684
7677
|
Mn(i.logLevel), Un();
|
|
7685
7678
|
}
|
|
7686
7679
|
const Vn = (t, e = {}) => {
|
|
7687
7680
|
const { code: i } = yl(t);
|
|
7688
|
-
return
|
|
7681
|
+
return Pm(i, e);
|
|
7689
7682
|
};
|
|
7690
|
-
function
|
|
7691
|
-
|
|
7683
|
+
function a_(t, e, i, r) {
|
|
7684
|
+
Ym(e, t), Hm(e, i, r, e.attr("id"));
|
|
7692
7685
|
}
|
|
7693
7686
|
const Ce = Object.freeze({
|
|
7694
|
-
render:
|
|
7695
|
-
parse:
|
|
7687
|
+
render: o_,
|
|
7688
|
+
parse: Qy,
|
|
7696
7689
|
getDiagramFromText: Vn,
|
|
7697
|
-
initialize:
|
|
7690
|
+
initialize: s_,
|
|
7698
7691
|
getConfig: Yt,
|
|
7699
7692
|
setConfig: Fa,
|
|
7700
7693
|
getSiteConfig: Ea,
|
|
7701
|
-
updateSiteConfig:
|
|
7694
|
+
updateSiteConfig: Op,
|
|
7702
7695
|
reset: () => {
|
|
7703
7696
|
sr();
|
|
7704
7697
|
},
|
|
@@ -7709,7 +7702,7 @@ const Ce = Object.freeze({
|
|
|
7709
7702
|
});
|
|
7710
7703
|
Mn(Yt().logLevel);
|
|
7711
7704
|
sr(Yt());
|
|
7712
|
-
const
|
|
7705
|
+
const l_ = async () => {
|
|
7713
7706
|
D.debug("Loading registered diagrams");
|
|
7714
7707
|
const e = (await Promise.allSettled(
|
|
7715
7708
|
Object.entries(qe).map(async ([i, { detector: r, loader: n }]) => {
|
|
@@ -7732,7 +7725,7 @@ const c_ = async () => {
|
|
|
7732
7725
|
D.error(i);
|
|
7733
7726
|
throw new Error(`Failed to load ${e.length} external diagrams`);
|
|
7734
7727
|
}
|
|
7735
|
-
},
|
|
7728
|
+
}, c_ = (t, e, i) => {
|
|
7736
7729
|
D.warn(t), Aa(t) ? (i && i(t.str, t.hash), e.push({ ...t, message: t.str, error: t })) : (i && i(t), t instanceof Error && e.push({
|
|
7737
7730
|
str: t.message,
|
|
7738
7731
|
message: t.message,
|
|
@@ -7743,12 +7736,12 @@ const c_ = async () => {
|
|
|
7743
7736
|
querySelector: ".mermaid"
|
|
7744
7737
|
}) {
|
|
7745
7738
|
try {
|
|
7746
|
-
await
|
|
7739
|
+
await h_(t);
|
|
7747
7740
|
} catch (e) {
|
|
7748
7741
|
if (Aa(e) && D.error(e.str), Ct.parseError && Ct.parseError(e), !t.suppressErrors)
|
|
7749
7742
|
throw D.error("Use the suppressErrors option to suppress these errors"), e;
|
|
7750
7743
|
}
|
|
7751
|
-
},
|
|
7744
|
+
}, h_ = async function({ postRenderCallback: t, querySelector: e, nodes: i } = {
|
|
7752
7745
|
querySelector: ".mermaid"
|
|
7753
7746
|
}) {
|
|
7754
7747
|
const r = Ce.getConfig();
|
|
@@ -7771,28 +7764,28 @@ const c_ = async () => {
|
|
|
7771
7764
|
continue;
|
|
7772
7765
|
l.setAttribute("data-processed", "true");
|
|
7773
7766
|
const c = `mermaid-${s.next()}`;
|
|
7774
|
-
o = l.innerHTML, o =
|
|
7767
|
+
o = l.innerHTML, o = Jl(ci.entityDecode(o)).trim().replace(/<br\s*\/?>/gi, "<br/>");
|
|
7775
7768
|
const u = ci.detectInit(o);
|
|
7776
7769
|
u && D.debug("Detected early reinit: ", u);
|
|
7777
7770
|
try {
|
|
7778
7771
|
const { svg: d, bindFunctions: h } = await kl(c, o, l);
|
|
7779
7772
|
l.innerHTML = d, t && await t(c), h && h(l);
|
|
7780
7773
|
} catch (d) {
|
|
7781
|
-
|
|
7774
|
+
c_(d, a, Ct.parseError);
|
|
7782
7775
|
}
|
|
7783
7776
|
}
|
|
7784
7777
|
if (a.length > 0)
|
|
7785
7778
|
throw a[0];
|
|
7786
7779
|
}, xl = function(t) {
|
|
7787
7780
|
Ce.initialize(t);
|
|
7788
|
-
},
|
|
7781
|
+
}, u_ = async function(t, e, i) {
|
|
7789
7782
|
D.warn("mermaid.init is deprecated. Please use run instead."), t && xl(t);
|
|
7790
7783
|
const r = { postRenderCallback: i, querySelector: ".mermaid" };
|
|
7791
7784
|
typeof e == "string" ? r.querySelector = e : e && (e instanceof HTMLElement ? r.nodes = [e] : r.nodes = e), await Cl(r);
|
|
7792
|
-
},
|
|
7785
|
+
}, d_ = async (t, {
|
|
7793
7786
|
lazyLoad: e = !0
|
|
7794
7787
|
} = {}) => {
|
|
7795
|
-
ka(...t), e === !1 && await
|
|
7788
|
+
ka(...t), e === !1 && await l_();
|
|
7796
7789
|
}, bl = function() {
|
|
7797
7790
|
if (Ct.startOnLoad) {
|
|
7798
7791
|
const { startOnLoad: t } = Ce.getConfig();
|
|
@@ -7805,7 +7798,7 @@ if (typeof document < "u") {
|
|
|
7805
7798
|
*/
|
|
7806
7799
|
window.addEventListener("load", bl, !1);
|
|
7807
7800
|
}
|
|
7808
|
-
const
|
|
7801
|
+
const f_ = function(t) {
|
|
7809
7802
|
Ct.parseError = t;
|
|
7810
7803
|
}, dr = [];
|
|
7811
7804
|
let Jr = !1;
|
|
@@ -7822,7 +7815,7 @@ const Tl = async () => {
|
|
|
7822
7815
|
}
|
|
7823
7816
|
Jr = !1;
|
|
7824
7817
|
}
|
|
7825
|
-
},
|
|
7818
|
+
}, p_ = async (t, e) => new Promise((i, r) => {
|
|
7826
7819
|
const n = () => new Promise((s, o) => {
|
|
7827
7820
|
Ce.parse(t, e).then(
|
|
7828
7821
|
(a) => {
|
|
@@ -7851,31 +7844,31 @@ const Tl = async () => {
|
|
|
7851
7844
|
}), Ct = {
|
|
7852
7845
|
startOnLoad: !0,
|
|
7853
7846
|
mermaidAPI: Ce,
|
|
7854
|
-
parse:
|
|
7847
|
+
parse: p_,
|
|
7855
7848
|
render: kl,
|
|
7856
|
-
init:
|
|
7849
|
+
init: u_,
|
|
7857
7850
|
run: Cl,
|
|
7858
|
-
registerExternalDiagrams:
|
|
7851
|
+
registerExternalDiagrams: d_,
|
|
7859
7852
|
initialize: xl,
|
|
7860
7853
|
parseError: void 0,
|
|
7861
7854
|
contentLoaded: bl,
|
|
7862
|
-
setParseErrorHandler:
|
|
7855
|
+
setParseErrorHandler: f_,
|
|
7863
7856
|
detectType: vr
|
|
7864
7857
|
}, He = (t) => {
|
|
7865
|
-
t =
|
|
7858
|
+
t = m_(t);
|
|
7866
7859
|
const e = t.replace(/#(\d+);/g, "&#$1;").replace(/#([a-z]+);/g, "&$1;"), i = document.createElement("textarea");
|
|
7867
7860
|
return i.innerHTML = e, i.value;
|
|
7868
7861
|
}, Ie = (t) => {
|
|
7869
7862
|
const e = t.getAttribute("transform"), i = e == null ? void 0 : e.match(/translate\(([ \d.-]+),\s*([\d.-]+)\)/);
|
|
7870
7863
|
let r = 0, n = 0;
|
|
7871
7864
|
return i && (r = Number(i[1]), n = Number(i[2])), { transformX: r, transformY: n };
|
|
7872
|
-
},
|
|
7865
|
+
}, g_ = (t) => {
|
|
7873
7866
|
let e = t;
|
|
7874
7867
|
return e = e.replace(/style.*:\S*#.*;/g, (i) => i.substring(0, i.length - 1)), e = e.replace(/classDef.*:\S*#.*;/g, (i) => i.substring(0, i.length - 1)), e = e.replace(/#\w+;/g, (i) => {
|
|
7875
7868
|
const r = i.substring(1, i.length - 1);
|
|
7876
7869
|
return /^\+?\d+$/.test(r) ? `fl°°${r}¶ß` : `fl°${r}¶ß`;
|
|
7877
7870
|
}), e;
|
|
7878
|
-
},
|
|
7871
|
+
}, m_ = function(t) {
|
|
7879
7872
|
return t.replace(/fl°°/g, "#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
|
|
7880
7873
|
}, Sl = (t, e = { x: 0, y: 0 }) => {
|
|
7881
7874
|
if (t.tagName.toLowerCase() !== "path")
|
|
@@ -7907,7 +7900,7 @@ const Tl = async () => {
|
|
|
7907
7900
|
endY: s[1] + e.y,
|
|
7908
7901
|
reflectionPoints: o
|
|
7909
7902
|
};
|
|
7910
|
-
},
|
|
7903
|
+
}, y_ = (t, e) => {
|
|
7911
7904
|
const i = t.nodes.map((a) => a.startsWith("flowchart-") ? a.split("-")[1] : a), r = e.querySelector(`[id='${t.id}']`);
|
|
7912
7905
|
if (!r)
|
|
7913
7906
|
throw new Error("SubGraph element not found");
|
|
@@ -7922,7 +7915,7 @@ const Tl = async () => {
|
|
|
7922
7915
|
...o,
|
|
7923
7916
|
text: He(t.title)
|
|
7924
7917
|
};
|
|
7925
|
-
},
|
|
7918
|
+
}, __ = (t, e) => {
|
|
7926
7919
|
var d, h, f;
|
|
7927
7920
|
const i = e.querySelector(`[id*="flowchart-${t.id}-"]`);
|
|
7928
7921
|
if (!i)
|
|
@@ -7956,7 +7949,7 @@ const Tl = async () => {
|
|
|
7956
7949
|
containerStyle: c,
|
|
7957
7950
|
labelStyle: u
|
|
7958
7951
|
};
|
|
7959
|
-
},
|
|
7952
|
+
}, C_ = (t, e, i) => {
|
|
7960
7953
|
const r = i.querySelector(`[id*="L-${t.start}-${t.end}-${e}"]`);
|
|
7961
7954
|
if (!r)
|
|
7962
7955
|
throw new Error("Edge element not found");
|
|
@@ -7992,23 +7985,23 @@ const Tl = async () => {
|
|
|
7992
7985
|
i = i.parentElement;
|
|
7993
7986
|
}
|
|
7994
7987
|
return a;
|
|
7995
|
-
},
|
|
7988
|
+
}, x_ = (t, e) => {
|
|
7996
7989
|
t.parse();
|
|
7997
7990
|
const i = t.parser.yy, r = i.getVertices();
|
|
7998
7991
|
Object.keys(r).forEach((a) => {
|
|
7999
|
-
r[a] =
|
|
7992
|
+
r[a] = __(r[a], e);
|
|
8000
7993
|
});
|
|
8001
7994
|
const n = /* @__PURE__ */ new Map(), s = i.getEdges().filter((a) => e.querySelector(`[id*="L-${a.start}-${a.end}"]`)).map((a) => {
|
|
8002
7995
|
const l = `${a.start}-${a.end}`, c = n.get(l) || 0;
|
|
8003
|
-
return n.set(l, c + 1),
|
|
7996
|
+
return n.set(l, c + 1), C_(a, c, e);
|
|
8004
7997
|
});
|
|
8005
7998
|
return {
|
|
8006
7999
|
type: "flowchart",
|
|
8007
|
-
subGraphs: i.getSubGraphs().map((a) =>
|
|
8000
|
+
subGraphs: i.getSubGraphs().map((a) => y_(a, e)),
|
|
8008
8001
|
vertices: r,
|
|
8009
8002
|
edges: s
|
|
8010
8003
|
};
|
|
8011
|
-
},
|
|
8004
|
+
}, b_ = (t, e) => {
|
|
8012
8005
|
const i = {};
|
|
8013
8006
|
e != null && e.label && (i.label = { text: He(e.label), fontSize: 16 });
|
|
8014
8007
|
const r = t.tagName;
|
|
@@ -8097,7 +8090,7 @@ const Tl = async () => {
|
|
|
8097
8090
|
SOLID_POINT: 24,
|
|
8098
8091
|
DOTTED_POINT: 25,
|
|
8099
8092
|
CRITICAL_START: 27
|
|
8100
|
-
},
|
|
8093
|
+
}, T_ = (t) => {
|
|
8101
8094
|
let e;
|
|
8102
8095
|
switch (t) {
|
|
8103
8096
|
case Rt.SOLID:
|
|
@@ -8117,7 +8110,7 @@ const Tl = async () => {
|
|
|
8117
8110
|
break;
|
|
8118
8111
|
}
|
|
8119
8112
|
return e;
|
|
8120
|
-
},
|
|
8113
|
+
}, k_ = (t, e) => {
|
|
8121
8114
|
var r, n;
|
|
8122
8115
|
if (!!((r = t.nextElementSibling) != null && r.classList.contains("sequenceNumber"))) {
|
|
8123
8116
|
const s = (n = t.nextElementSibling) == null ? void 0 : n.textContent;
|
|
@@ -8167,7 +8160,7 @@ const Tl = async () => {
|
|
|
8167
8160
|
}
|
|
8168
8161
|
s.push(c);
|
|
8169
8162
|
}), s;
|
|
8170
|
-
},
|
|
8163
|
+
}, S_ = (t, e) => {
|
|
8171
8164
|
const i = Array.from(e.querySelectorAll(".actor-top")), r = Array.from(e.querySelectorAll(".actor-bottom")), n = [], s = [];
|
|
8172
8165
|
return Object.values(t).forEach((o, a) => {
|
|
8173
8166
|
var d;
|
|
@@ -8209,17 +8202,17 @@ const Tl = async () => {
|
|
|
8209
8202
|
}
|
|
8210
8203
|
}
|
|
8211
8204
|
}), { nodes: n, lines: s };
|
|
8212
|
-
},
|
|
8205
|
+
}, v_ = (t, e) => {
|
|
8213
8206
|
const i = [], r = Array.from(e.querySelectorAll('[class*="messageLine"]')), n = Object.keys(gs), s = t.filter((o) => n.includes(o.type.toString()));
|
|
8214
8207
|
return r.forEach((o, a) => {
|
|
8215
|
-
const l = s[a], c = gs[l.type], u =
|
|
8208
|
+
const l = s[a], c = gs[l.type], u = b_(o, {
|
|
8216
8209
|
label: l == null ? void 0 : l.message,
|
|
8217
|
-
strokeStyle:
|
|
8210
|
+
strokeStyle: T_(l.type),
|
|
8218
8211
|
endArrowhead: c === "SOLID_OPEN" || c === "DOTTED_OPEN" ? null : "arrow"
|
|
8219
8212
|
});
|
|
8220
|
-
|
|
8213
|
+
k_(o, u), i.push(u);
|
|
8221
8214
|
}), i;
|
|
8222
|
-
},
|
|
8215
|
+
}, w_ = (t, e) => {
|
|
8223
8216
|
const i = Array.from(e.querySelectorAll(".note")).map((s) => s.parentElement), r = t.filter((s) => s.type === Rt.NOTE), n = [];
|
|
8224
8217
|
return i.forEach((s, o) => {
|
|
8225
8218
|
if (!s)
|
|
@@ -8230,7 +8223,7 @@ const Tl = async () => {
|
|
|
8230
8223
|
});
|
|
8231
8224
|
n.push(c);
|
|
8232
8225
|
}), n;
|
|
8233
|
-
},
|
|
8226
|
+
}, A_ = (t) => {
|
|
8234
8227
|
const e = Array.from(t.querySelectorAll("[class*=activation]")), i = [];
|
|
8235
8228
|
return e.forEach((r) => {
|
|
8236
8229
|
const n = Ht(r, "rectangle", {
|
|
@@ -8239,7 +8232,7 @@ const Tl = async () => {
|
|
|
8239
8232
|
});
|
|
8240
8233
|
i.push(n);
|
|
8241
8234
|
}), i;
|
|
8242
|
-
},
|
|
8235
|
+
}, B_ = (t, e) => {
|
|
8243
8236
|
const i = Array.from(e.querySelectorAll(".loopLine")), r = [], n = [], s = [];
|
|
8244
8237
|
i.forEach((u) => {
|
|
8245
8238
|
const d = Number(u.getAttribute("x1")), h = Number(u.getAttribute("y1")), f = Number(u.getAttribute("x2")), m = Number(u.getAttribute("y2")), y = yi(u, d, h, f, m);
|
|
@@ -8259,7 +8252,7 @@ const Tl = async () => {
|
|
|
8259
8252
|
});
|
|
8260
8253
|
f.strokeColor = "#adb5bd", f.bgColor = "#e9ecef", f.width = void 0, s.push(f);
|
|
8261
8254
|
}), { lines: r, texts: n, nodes: s };
|
|
8262
|
-
},
|
|
8255
|
+
}, L_ = (t) => {
|
|
8263
8256
|
const e = Array.from(t.querySelectorAll(".rect")).filter((r) => {
|
|
8264
8257
|
var n;
|
|
8265
8258
|
return ((n = r.parentElement) == null ? void 0 : n.tagName) !== "g";
|
|
@@ -8271,9 +8264,9 @@ const Tl = async () => {
|
|
|
8271
8264
|
});
|
|
8272
8265
|
i.push(n);
|
|
8273
8266
|
}), i;
|
|
8274
|
-
},
|
|
8267
|
+
}, E_ = (t, e) => {
|
|
8275
8268
|
t.parse();
|
|
8276
|
-
const i = t.parser.yy, r = [], n = i.getBoxes(), s =
|
|
8269
|
+
const i = t.parser.yy, r = [], n = i.getBoxes(), s = L_(e), o = i.getActors(), { nodes: a, lines: l } = S_(o, e), c = i.getMessages(), u = v_(c, e), d = w_(c, e), h = A_(e), f = B_(c, e);
|
|
8277
8270
|
return r.push(s), r.push(...a), r.push(d), r.push(h), { type: "sequence", lines: l, arrows: u, nodes: r, loops: f, groups: n };
|
|
8278
8271
|
}, $i = {
|
|
8279
8272
|
AGGREGATION: 0,
|
|
@@ -8283,7 +8276,7 @@ const Tl = async () => {
|
|
|
8283
8276
|
}, ys = {
|
|
8284
8277
|
LINE: 0,
|
|
8285
8278
|
DOTTED_LINE: 1
|
|
8286
|
-
}, ne = 16,
|
|
8279
|
+
}, ne = 16, F_ = (t) => {
|
|
8287
8280
|
let e;
|
|
8288
8281
|
switch (t) {
|
|
8289
8282
|
case ys.LINE:
|
|
@@ -8317,7 +8310,7 @@ const Tl = async () => {
|
|
|
8317
8310
|
break;
|
|
8318
8311
|
}
|
|
8319
8312
|
return e;
|
|
8320
|
-
},
|
|
8313
|
+
}, I_ = (t, e) => {
|
|
8321
8314
|
const i = [], r = [], n = [];
|
|
8322
8315
|
return Object.values(t).forEach((s) => {
|
|
8323
8316
|
var y;
|
|
@@ -8349,24 +8342,24 @@ const Tl = async () => {
|
|
|
8349
8342
|
n.push(N);
|
|
8350
8343
|
});
|
|
8351
8344
|
}), { nodes: i, lines: r, text: n };
|
|
8352
|
-
},
|
|
8345
|
+
}, O_ = (t, e) => {
|
|
8353
8346
|
const i = ["triangle_outline", "diamond", "diamond_outline"], r = e.startArrowhead && i.includes(e.startArrowhead), n = e.endArrowhead && i.includes(e.endArrowhead);
|
|
8354
8347
|
return !n && !r || (r && (t === "LR" ? e.startX -= ne : t === "RL" ? e.startX += ne : t === "TB" ? e.startY -= ne : t === "BT" && (e.startY += ne)), n && (t === "LR" ? e.endX += ne : t === "RL" ? e.endX -= ne : t === "TB" ? e.endY += ne : t === "BT" && (e.endY -= ne))), e;
|
|
8355
|
-
},
|
|
8348
|
+
}, M_ = (t, e, i, r) => {
|
|
8356
8349
|
var a;
|
|
8357
8350
|
const n = (a = i.querySelector(".edgePaths")) == null ? void 0 : a.children;
|
|
8358
8351
|
if (!n)
|
|
8359
8352
|
throw new Error("No Edges found!");
|
|
8360
8353
|
const s = [], o = [];
|
|
8361
8354
|
return t.forEach((l, c) => {
|
|
8362
|
-
const { id1: u, id2: d, relation: h } = l, f = e.find((tt) => tt.id === u), m = e.find((tt) => tt.id === d), y =
|
|
8355
|
+
const { id1: u, id2: d, relation: h } = l, f = e.find((tt) => tt.id === u), m = e.find((tt) => tt.id === d), y = F_(h.lineType), C = _s(h.type1), L = _s(h.type2), b = Sl(n[c]), R = vl(b.startX, b.startY, b.endX, b.endY, {
|
|
8363
8356
|
strokeStyle: y,
|
|
8364
8357
|
startArrowhead: C,
|
|
8365
8358
|
endArrowhead: L,
|
|
8366
8359
|
label: l.title ? { text: l.title } : void 0,
|
|
8367
8360
|
start: { type: "rectangle", id: f.id },
|
|
8368
8361
|
end: { type: "rectangle", id: m.id }
|
|
8369
|
-
}), x =
|
|
8362
|
+
}), x = O_(r, R);
|
|
8370
8363
|
s.push(x);
|
|
8371
8364
|
const { relationTitle1: S, relationTitle2: X } = l, N = 20, Q = 15, nt = 15;
|
|
8372
8365
|
let Y, A;
|
|
@@ -8415,7 +8408,7 @@ const Tl = async () => {
|
|
|
8415
8408
|
o.push(tt);
|
|
8416
8409
|
}
|
|
8417
8410
|
}), { arrows: s, text: o };
|
|
8418
|
-
},
|
|
8411
|
+
}, D_ = (t, e, i) => {
|
|
8419
8412
|
const r = [], n = [];
|
|
8420
8413
|
return t.forEach((s) => {
|
|
8421
8414
|
const { id: o, text: a, class: l } = s, c = e.querySelector(`#${o}`);
|
|
@@ -8443,16 +8436,16 @@ const Tl = async () => {
|
|
|
8443
8436
|
n.push(R);
|
|
8444
8437
|
}
|
|
8445
8438
|
}), { notes: r, connectors: n };
|
|
8446
|
-
},
|
|
8439
|
+
}, N_ = (t, e) => {
|
|
8447
8440
|
t.parse();
|
|
8448
8441
|
const i = t.parser.yy, r = i.getDirection(), n = [], s = [], o = [], a = [], l = i.getNamespaces(), c = i.getClasses();
|
|
8449
8442
|
if (Object.keys(c).length) {
|
|
8450
|
-
const y =
|
|
8443
|
+
const y = I_(c, e);
|
|
8451
8444
|
n.push(y.nodes), s.push(...y.lines), o.push(...y.text), a.push(...y.nodes);
|
|
8452
8445
|
}
|
|
8453
|
-
const u = i.getRelations(), { arrows: d, text: h } =
|
|
8446
|
+
const u = i.getRelations(), { arrows: d, text: h } = M_(u, a, e, r), { notes: f, connectors: m } = D_(i.getNotes(), e, a);
|
|
8454
8447
|
return n.push(f), d.push(...m), o.push(...h), { type: "class", nodes: n, lines: s, arrows: d, text: o, namespaces: l };
|
|
8455
|
-
},
|
|
8448
|
+
}, $_ = (t) => {
|
|
8456
8449
|
const e = t.querySelector("svg");
|
|
8457
8450
|
if (!e)
|
|
8458
8451
|
throw new Error("SVG element not found");
|
|
@@ -8466,32 +8459,32 @@ const Tl = async () => {
|
|
|
8466
8459
|
width: r,
|
|
8467
8460
|
height: n
|
|
8468
8461
|
};
|
|
8469
|
-
},
|
|
8462
|
+
}, R_ = async (t, e = go) => {
|
|
8470
8463
|
Ct.initialize({ ...go, ...e });
|
|
8471
|
-
const i = await Ct.mermaidAPI.getDiagramFromText(
|
|
8464
|
+
const i = await Ct.mermaidAPI.getDiagramFromText(g_(t)), { svg: r } = await Ct.render("mermaid-to-excalidraw", t), n = document.createElement("div");
|
|
8472
8465
|
n.setAttribute("style", "opacity: 0; position: relative; z-index: -1;"), n.innerHTML = r, n.id = "mermaid-diagram", document.body.appendChild(n);
|
|
8473
8466
|
let s;
|
|
8474
8467
|
switch (i.type) {
|
|
8475
8468
|
case "flowchart-v2": {
|
|
8476
|
-
s =
|
|
8469
|
+
s = x_(i, n);
|
|
8477
8470
|
break;
|
|
8478
8471
|
}
|
|
8479
8472
|
case "sequence": {
|
|
8480
|
-
s =
|
|
8473
|
+
s = E_(i, n);
|
|
8481
8474
|
break;
|
|
8482
8475
|
}
|
|
8483
8476
|
case "classDiagram": {
|
|
8484
|
-
s =
|
|
8477
|
+
s = N_(i, n);
|
|
8485
8478
|
break;
|
|
8486
8479
|
}
|
|
8487
8480
|
// fallback to image if diagram type not-supported
|
|
8488
8481
|
default:
|
|
8489
|
-
s =
|
|
8482
|
+
s = $_(n);
|
|
8490
8483
|
}
|
|
8491
8484
|
return n.remove(), s;
|
|
8492
|
-
},
|
|
8485
|
+
}, q_ = async (t, e) => {
|
|
8493
8486
|
var o;
|
|
8494
|
-
const i = e || {}, r = parseInt(((o = i.themeVariables) == null ? void 0 : o.fontSize) ?? "") || fr, n = await
|
|
8487
|
+
const i = e || {}, r = parseInt(((o = i.themeVariables) == null ? void 0 : o.fontSize) ?? "") || fr, n = await R_(t, {
|
|
8495
8488
|
...i,
|
|
8496
8489
|
themeVariables: {
|
|
8497
8490
|
...i.themeVariables,
|
|
@@ -8499,71 +8492,71 @@ const Tl = async () => {
|
|
|
8499
8492
|
fontSize: `${r * 1.25}px`
|
|
8500
8493
|
}
|
|
8501
8494
|
});
|
|
8502
|
-
return
|
|
8495
|
+
return Zl(n, {
|
|
8503
8496
|
fontSize: r
|
|
8504
8497
|
});
|
|
8505
|
-
},
|
|
8498
|
+
}, hC = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8506
8499
|
__proto__: null,
|
|
8507
|
-
parseMermaidToExcalidraw:
|
|
8500
|
+
parseMermaidToExcalidraw: q_
|
|
8508
8501
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8509
8502
|
export {
|
|
8510
|
-
|
|
8511
|
-
|
|
8503
|
+
hp as $,
|
|
8504
|
+
gm as A,
|
|
8512
8505
|
An as B,
|
|
8513
8506
|
Wt as C,
|
|
8514
|
-
|
|
8515
|
-
|
|
8507
|
+
G_ as D,
|
|
8508
|
+
Z_ as E,
|
|
8516
8509
|
Do as F,
|
|
8517
8510
|
Mo as G,
|
|
8518
|
-
|
|
8519
|
-
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
|
|
8527
|
-
|
|
8511
|
+
Q_ as H,
|
|
8512
|
+
J_ as I,
|
|
8513
|
+
K_ as J,
|
|
8514
|
+
X_ as K,
|
|
8515
|
+
j_ as L,
|
|
8516
|
+
eC as M,
|
|
8517
|
+
V_ as N,
|
|
8518
|
+
tC as O,
|
|
8519
|
+
tp as P,
|
|
8520
|
+
Gf as Q,
|
|
8528
8521
|
Jo as R,
|
|
8529
|
-
|
|
8522
|
+
rC as S,
|
|
8530
8523
|
Rn as T,
|
|
8531
8524
|
P as U,
|
|
8532
|
-
|
|
8525
|
+
Wf as V,
|
|
8533
8526
|
Yt as W,
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8539
|
-
|
|
8540
|
-
|
|
8527
|
+
iC as X,
|
|
8528
|
+
Zg as Y,
|
|
8529
|
+
np as Z,
|
|
8530
|
+
yp as _,
|
|
8531
|
+
om as a,
|
|
8532
|
+
yd as a0,
|
|
8533
|
+
_p as a1,
|
|
8541
8534
|
xi as a2,
|
|
8542
8535
|
F as a3,
|
|
8543
8536
|
$ as a4,
|
|
8544
|
-
|
|
8537
|
+
lm as a5,
|
|
8545
8538
|
ai as a6,
|
|
8546
8539
|
Ba as a7,
|
|
8547
8540
|
xt as a8,
|
|
8548
8541
|
Is as a9,
|
|
8549
|
-
|
|
8542
|
+
hc as aa,
|
|
8550
8543
|
yt as ab,
|
|
8551
|
-
|
|
8544
|
+
jh as ac,
|
|
8552
8545
|
Tn as ad,
|
|
8553
8546
|
Os as ae,
|
|
8554
8547
|
Ci as af,
|
|
8555
8548
|
Ns as ag,
|
|
8556
|
-
|
|
8557
|
-
|
|
8549
|
+
U_ as ah,
|
|
8550
|
+
ic as ai,
|
|
8558
8551
|
kn as aj,
|
|
8559
8552
|
se as ak,
|
|
8560
8553
|
Bo as al,
|
|
8561
|
-
|
|
8554
|
+
tu as am,
|
|
8562
8555
|
fi as an,
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
|
|
8566
|
-
|
|
8556
|
+
Jl as ao,
|
|
8557
|
+
hC as ap,
|
|
8558
|
+
rm as b,
|
|
8559
|
+
im as c,
|
|
8567
8560
|
St as d,
|
|
8568
8561
|
Za as e,
|
|
8569
8562
|
lt as f,
|
|
@@ -8571,20 +8564,20 @@ export {
|
|
|
8571
8564
|
or as h,
|
|
8572
8565
|
Re as i,
|
|
8573
8566
|
Dn as j,
|
|
8574
|
-
|
|
8567
|
+
vp as k,
|
|
8575
8568
|
D as l,
|
|
8576
8569
|
bi as m,
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
|
|
8581
|
-
|
|
8582
|
-
|
|
8570
|
+
am as n,
|
|
8571
|
+
sm as o,
|
|
8572
|
+
cC as p,
|
|
8573
|
+
em as q,
|
|
8574
|
+
xd as r,
|
|
8575
|
+
nm as s,
|
|
8583
8576
|
_a as t,
|
|
8584
8577
|
ci as u,
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
|
|
8578
|
+
Ep as v,
|
|
8579
|
+
kp as w,
|
|
8580
|
+
lC as x,
|
|
8581
|
+
dm as y,
|
|
8582
|
+
xp as z
|
|
8590
8583
|
};
|