@intent-hq/web 2.344.0 → 2.345.0
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/package.json +1 -1
- package/web/app/immutable/chunks/{CPi3hzpu.js → -6JGlnE4.js} +1 -1
- package/web/app/immutable/chunks/{4GiF-64P.js → -7ARPWgR.js} +1 -1
- package/web/app/immutable/chunks/{DHP1DFPI.js → -SwunqO3.js} +1 -1
- package/web/app/immutable/chunks/{Cxz3q_28.js → 1MWULgfl.js} +1 -1
- package/web/app/immutable/chunks/{C46XexX0.js → 2xvAjJNs.js} +1 -1
- package/web/app/immutable/chunks/{C-3coqYU.js → 34C5M9lk.js} +1 -1
- package/web/app/immutable/chunks/{oYQw_s1S.js → 5MLUIYhU.js} +1 -1
- package/web/app/immutable/chunks/{BIG4edn9.js → 6Zmm5CZL.js} +1 -1
- package/web/app/immutable/chunks/{CadpuSEK.js → 7teYU7wH.js} +1 -1
- package/web/app/immutable/chunks/{CFLZAMP_.js → 8XhHIJcn.js} +1 -1
- package/web/app/immutable/chunks/{BW73Ve1a.js → 9HNwwiNt.js} +1 -1
- package/web/app/immutable/chunks/{CicdOSYm.js → A0r9TbR7.js} +2 -2
- package/web/app/immutable/chunks/{DWQSi293.js → A34-FDia.js} +1 -1
- package/web/app/immutable/chunks/{BycXuHIq.js → A8JjhnEv.js} +1 -1
- package/web/app/immutable/chunks/{BMs7t3_m.js → B0a-wzQr.js} +1 -1
- package/web/app/immutable/chunks/{CPYWKVyq.js → B0biUQQF.js} +1 -1
- package/web/app/immutable/chunks/{CiTK-_b6.js → B203wRvP.js} +1 -1
- package/web/app/immutable/chunks/{Cs-BSsj3.js → B3kzQQLK.js} +1 -1
- package/web/app/immutable/chunks/{CgWXj0YG.js → B3lXnLB8.js} +2 -2
- package/web/app/immutable/chunks/{CoTJDQuc.js → B4ilKCwe.js} +1 -1
- package/web/app/immutable/chunks/{C91dOInA.js → B5tGFpkq.js} +1 -1
- package/web/app/immutable/chunks/{juQAMcx2.js → B7w_8Qom.js} +1 -1
- package/web/app/immutable/chunks/{DhUtJEn_.js → B9Hetctu.js} +1 -1
- package/web/app/immutable/chunks/{iwClg1fT.js → B9x-giji.js} +3 -3
- package/web/app/immutable/chunks/{BkUAKnVY.js → BA3fud46.js} +1 -1
- package/web/app/immutable/chunks/{DTBnd4hM.js → BAxqzRwc.js} +1 -1
- package/web/app/immutable/chunks/{ixz6jb_3.js → BBL1FO1t.js} +1 -1
- package/web/app/immutable/chunks/{NTeezaZ2.js → BC2xxkKo.js} +1 -1
- package/web/app/immutable/chunks/{Bo4mc4_O.js → BCASO_bV.js} +1 -1
- package/web/app/immutable/chunks/{Dp_2W12t.js → BF-IM3Qf.js} +1 -1
- package/web/app/immutable/chunks/{D8YFvJ64.js → BGX6W-wu.js} +1 -1
- package/web/app/immutable/chunks/{tcxAslUm.js → BI7MYBTt.js} +1 -1
- package/web/app/immutable/chunks/{DaaneYTG.js → BIEvH8pu.js} +1 -1
- package/web/app/immutable/chunks/{BSpir4qY.js → BIlaJXMS.js} +1 -1
- package/web/app/immutable/chunks/{BdUSoBxL.js → BKYCO_49.js} +2 -2
- package/web/app/immutable/chunks/{BmB6-2Ft.js → BL8tUtYB.js} +1 -1
- package/web/app/immutable/chunks/{lI7T5mqw.js → BMMoYJAn.js} +1 -1
- package/web/app/immutable/chunks/{CnJe4S2a.js → BMm9sGZ6.js} +1 -1
- package/web/app/immutable/chunks/{KJX0Kw6L.js → BP5uyQTv.js} +3 -3
- package/web/app/immutable/chunks/{DGYr0_ON.js → BP7CI4Qx.js} +1 -1
- package/web/app/immutable/chunks/{B4yyNCE8.js → BTWq1_ry.js} +1 -1
- package/web/app/immutable/chunks/{uPiYeMwS.js → BUGXi07N.js} +1 -1
- package/web/app/immutable/chunks/{Ca3YR8yw.js → BUdcKH65.js} +1 -1
- package/web/app/immutable/chunks/{D9ajM8uP.js → BVPvh88-.js} +1 -1
- package/web/app/immutable/chunks/{DAYo95RN.js → BVt_T8ao.js} +1 -1
- package/web/app/immutable/chunks/{quYX3pdL.js → BVviSubD.js} +1 -1
- package/web/app/immutable/chunks/{jbKFYOOg.js → BX3QD7rd.js} +1 -1
- package/web/app/immutable/chunks/{BmT6wRR1.js → BXTuZcZW.js} +1 -1
- package/web/app/immutable/chunks/{fCEIPyv5.js → BXeiKdwz.js} +1 -1
- package/web/app/immutable/chunks/{B_frQYKx.js → BYFJ74nm.js} +1 -1
- package/web/app/immutable/chunks/{DBSA3jai.js → BYMNRS4c.js} +1 -1
- package/web/app/immutable/chunks/{BpIeTy9w.js → BYU1cTbO.js} +2 -2
- package/web/app/immutable/chunks/{ei2mFcvT.js → BYtSPAAW.js} +1 -1
- package/web/app/immutable/chunks/{Dyra2UkJ.js → BZLRqiW7.js} +1 -1
- package/web/app/immutable/chunks/{B7_gjxTl.js → BZcpShp8.js} +1 -1
- package/web/app/immutable/chunks/{CqhKSPXA.js → BabPi6C5.js} +1 -1
- package/web/app/immutable/chunks/{DTrgzOIA.js → Bb-m1QhD.js} +1 -1
- package/web/app/immutable/chunks/{B1Hn0_Hu.js → BbNk8c_P.js} +1 -1
- package/web/app/immutable/chunks/{DA3kI_Ir.js → Bba6So1V.js} +1 -1
- package/web/app/immutable/chunks/{BLHhhsG2.js → Bc5_gcpq.js} +1 -1
- package/web/app/immutable/chunks/{BdNiI0PS.js → Bc6DihnT.js} +4 -4
- package/web/app/immutable/chunks/{bJswqAg7.js → BdCclrfD.js} +1 -1
- package/web/app/immutable/chunks/{Wsz69q6g.js → BdD2ADMz.js} +1 -1
- package/web/app/immutable/chunks/{ClTZNeVO.js → BdkEw9JP.js} +1 -1
- package/web/app/immutable/chunks/{Cyfw6OkG.js → BfZCAeqU.js} +1 -1
- package/web/app/immutable/chunks/{DIHT0C7u.js → BgX4ALX_.js} +3 -3
- package/web/app/immutable/chunks/{BgN4cuBh.js → BhMsVKL2.js} +1 -1
- package/web/app/immutable/chunks/{pAYxBetQ.js → Bj3n1RUK.js} +1 -1
- package/web/app/immutable/chunks/{BYg2F-3D.js → Bk2z5Cd0.js} +1 -1
- package/web/app/immutable/chunks/{gsD5Xe0D.js → BkNc2eFX.js} +4 -4
- package/web/app/immutable/chunks/{DhtvToBX.js → BkbQGifa.js} +1 -1
- package/web/app/immutable/chunks/BlZYlbA9.js +1 -0
- package/web/app/immutable/chunks/{nmrokYzj.js → BmP1Wws6.js} +1 -1
- package/web/app/immutable/chunks/{4NM3BVdw.js → BoCZH6mk.js} +1 -1
- package/web/app/immutable/chunks/{kHCC2X2-.js → BqQiAH0O.js} +1 -1
- package/web/app/immutable/chunks/{Bv5I7YDM.js → BqRoJfH0.js} +1 -1
- package/web/app/immutable/chunks/{BM1KP-FJ.js → BqqN40AD.js} +1 -1
- package/web/app/immutable/chunks/{D8FYgRYk.js → BrRRz1w6.js} +1 -1
- package/web/app/immutable/chunks/{DjCFWz1t.js → Bs26_0Q5.js} +2 -2
- package/web/app/immutable/chunks/{C8b2UIVX.js → BuTNFoR8.js} +1 -1
- package/web/app/immutable/chunks/{nLXSdbN2.js → BvZrnx87.js} +1 -1
- package/web/app/immutable/chunks/{C59ujSMF.js → Bvc8qRhk.js} +1 -1
- package/web/app/immutable/chunks/{DcFwDOMt.js → BwSA3fCS.js} +1 -1
- package/web/app/immutable/chunks/{XvLHDIL-.js → ByCIOkhM.js} +1 -1
- package/web/app/immutable/chunks/{TKg6aZ2_.js → ByTOmivs.js} +1 -1
- package/web/app/immutable/chunks/{HIyZggkg.js → ByuX26Ym.js} +4 -4
- package/web/app/immutable/chunks/{BXbF11Gp.js → Bywuf0q4.js} +1 -1
- package/web/app/immutable/chunks/{Cn3xolhp.js → C-M7eh_Z.js} +1 -1
- package/web/app/immutable/chunks/C-MmtmWQ.js +1 -0
- package/web/app/immutable/chunks/{Ck9j_FHl.js → C-ZPZDJB.js} +1 -1
- package/web/app/immutable/chunks/{BvrMTALy.js → C0p8rhDn.js} +1 -1
- package/web/app/immutable/chunks/{CDFRnJ8k.js → C1nHAGLu.js} +1 -1
- package/web/app/immutable/chunks/{DN71oh5l.js → C3SYquhf.js} +1 -1
- package/web/app/immutable/chunks/C4dCVzfY.js +2 -0
- package/web/app/immutable/chunks/{DIumxlqP.js → C52Qm4vO.js} +1 -1
- package/web/app/immutable/chunks/{CdN2Ihv_.js → C5AlgdZ0.js} +1 -1
- package/web/app/immutable/chunks/{gJDgmD_2.js → C6WI65lc.js} +1 -1
- package/web/app/immutable/chunks/{D4pwA7AS.js → C8AARFCw.js} +2 -2
- package/web/app/immutable/chunks/{CjZIABEV.js → C8BVjzNA.js} +1 -1
- package/web/app/immutable/chunks/{g9G7tvrf.js → C8dU7SM3.js} +2 -2
- package/web/app/immutable/chunks/{DOrgOYHc.js → CAOA5kev.js} +2 -2
- package/web/app/immutable/chunks/{CGXahRhf.js → CBqGKeYg.js} +1 -1
- package/web/app/immutable/chunks/{BAR7XkP3.js → CEQZVenN.js} +1 -1
- package/web/app/immutable/chunks/{Cj2EKBCH.js → CG3imlyr.js} +1 -1
- package/web/app/immutable/chunks/{DxBvyCwr.js → CJ58g2zu.js} +1 -1
- package/web/app/immutable/chunks/{_RGinDCt.js → CKzqOQI8.js} +1 -1
- package/web/app/immutable/chunks/{Cn19T3na.js → CL2hu5s-.js} +1 -1
- package/web/app/immutable/chunks/{BjcX_fOv.js → CN-2rfdx.js} +1 -1
- package/web/app/immutable/chunks/{fI_J_To4.js → CNIUwMPp.js} +1 -1
- package/web/app/immutable/chunks/{BRhVB6Sv.js → COrK0goa.js} +1 -1
- package/web/app/immutable/chunks/{DuIazAmY.js → CRQGIXhv.js} +1 -1
- package/web/app/immutable/chunks/{Bk2hJ8Ly.js → CSdIXJpO.js} +1 -1
- package/web/app/immutable/chunks/{C3MZ_izG.js → CVYjvOCP.js} +1 -1
- package/web/app/immutable/chunks/{BPk8wgKn.js → CVoXekIe.js} +3 -3
- package/web/app/immutable/chunks/{DWiPdXwB.js → CW13jkE8.js} +1 -1
- package/web/app/immutable/chunks/{BA55iEBB.js → CWE4oREl.js} +1 -1
- package/web/app/immutable/chunks/{BQAjCr1w.js → CWQrbZgx.js} +1 -1
- package/web/app/immutable/chunks/CWT4x6lB.js +2 -0
- package/web/app/immutable/chunks/{CzQCBVm9.js → CW_fORnH.js} +1 -1
- package/web/app/immutable/chunks/{COMJNvT3.js → CXNfY5OA.js} +1 -1
- package/web/app/immutable/chunks/{sEcTUaec.js → CYEd8dKU.js} +1 -1
- package/web/app/immutable/chunks/{BW1LTGV1.js → CYf2hryc.js} +1 -1
- package/web/app/immutable/chunks/{B1SJZtm3.js → CaGwo1Kh.js} +1 -1
- package/web/app/immutable/chunks/{DukOM-92.js → CaXjFtDt.js} +1 -1
- package/web/app/immutable/chunks/{BEyWfhqM.js → CaxyE6o_.js} +1 -1
- package/web/app/immutable/chunks/{CWIcIgSm.js → CbCgON3R.js} +1 -1
- package/web/app/immutable/chunks/{L30ES58t.js → CcXuSxXv.js} +1 -1
- package/web/app/immutable/chunks/{BOa-AN22.js → CeT1zT46.js} +1 -1
- package/web/app/immutable/chunks/{CwRpBR2e.js → CeswpNyE.js} +1 -1
- package/web/app/immutable/chunks/{B461Cu-8.js → Cfj3Lc6y.js} +1 -1
- package/web/app/immutable/chunks/{DwSYIDzZ.js → CgQ2Q_uI.js} +1 -1
- package/web/app/immutable/chunks/{yl6pDKiQ.js → CgW9XFcu.js} +1 -1
- package/web/app/immutable/chunks/{BhzRZYY1.js → ChY17Glq.js} +2 -2
- package/web/app/immutable/chunks/{BSo5IXuX.js → Chj7QpdD.js} +1 -1
- package/web/app/immutable/chunks/{CThb3iAk.js → Cjpu4SJA.js} +1 -1
- package/web/app/immutable/chunks/{BjnZ1Xf3.js → Ck9ZyE1n.js} +1 -1
- package/web/app/immutable/chunks/CkSjvO0_.js +1 -0
- package/web/app/immutable/chunks/{By0eqGj-.js → CoLl8pQb.js} +1 -1
- package/web/app/immutable/chunks/{Br0dSiCW.js → CpLvDQcH.js} +1 -1
- package/web/app/immutable/chunks/{DAPhb2nP.js → CpadbTI2.js} +45 -45
- package/web/app/immutable/chunks/{Cfd0oFGI.js → CrfXhNNb.js} +1 -1
- package/web/app/immutable/chunks/CsxVJm8Y.js +1 -0
- package/web/app/immutable/chunks/{DqWTOCbK.js → CteSc0c_.js} +1 -1
- package/web/app/immutable/chunks/{CxLPEkg7.js → CuhrgDBI.js} +1 -1
- package/web/app/immutable/chunks/{BgzyvwGo.js → CvWyDJGm.js} +1 -1
- package/web/app/immutable/chunks/{DkvJR80T.js → Cv_J2c72.js} +1 -1
- package/web/app/immutable/chunks/{C62A1TLT.js → CzVyzyWv.js} +2 -2
- package/web/app/immutable/chunks/{C9gix5Ke.js → D3I0DcnM.js} +1 -1
- package/web/app/immutable/chunks/{DZmMN74z.js → D3mUsAm9.js} +1 -1
- package/web/app/immutable/chunks/{BUUYjiKy.js → D419Hgek.js} +1 -1
- package/web/app/immutable/chunks/{X4o7hGKf.js → D6Wx8h-l.js} +4 -4
- package/web/app/immutable/chunks/{D1uFLIU4.js → D6YDmdhV.js} +2 -2
- package/web/app/immutable/chunks/{DHApIXYn.js → D6yqDOhs.js} +1 -1
- package/web/app/immutable/chunks/{DVsRM1tQ.js → D8Ohjkn4.js} +2 -2
- package/web/app/immutable/chunks/{PDh5csw9.js → DATvyyct.js} +1 -1
- package/web/app/immutable/chunks/{D8DQsqlL.js → DAoagkbK.js} +1 -1
- package/web/app/immutable/chunks/{BrysY2Ec.js → DCDhq2rq.js} +1 -1
- package/web/app/immutable/chunks/{Bev5K0J8.js → DDMEgpvU.js} +4 -4
- package/web/app/immutable/chunks/{D61HjMue.js → DDfvytcD.js} +1 -1
- package/web/app/immutable/chunks/{CHukbU1Q.js → DEjP-x_s.js} +1 -1
- package/web/app/immutable/chunks/DFF9daPQ.js +13 -0
- package/web/app/immutable/chunks/{RNDWAc1K.js → DInreQbI.js} +6 -6
- package/web/app/immutable/chunks/{CVikHxT_.js → DLJVFWjT.js} +3 -3
- package/web/app/immutable/chunks/{hX9Crt6i.js → DLqztIqC.js} +1 -1
- package/web/app/immutable/chunks/{CnhilOhJ.js → DPDCu-py.js} +1 -1
- package/web/app/immutable/chunks/{CdjPYGHf.js → DPR3VaPZ.js} +1 -1
- package/web/app/immutable/chunks/{DVH2puba.js → DSf8k2cE.js} +1 -1
- package/web/app/immutable/chunks/DTQYcznv.js +1 -0
- package/web/app/immutable/chunks/{CMO4ot9F.js → DU8kuP6M.js} +1 -1
- package/web/app/immutable/chunks/{9cPLPH_O.js → DW36BCXj.js} +1 -1
- package/web/app/immutable/chunks/{CdqlgErf.js → DXCE75Ih.js} +1 -1
- package/web/app/immutable/chunks/{BwScowY6.js → DXDMhDlS.js} +1 -1
- package/web/app/immutable/chunks/{CrH1YN9o.js → DYk0s6f0.js} +1 -1
- package/web/app/immutable/chunks/{zWI60sec.js → DYmPPjiq.js} +1 -1
- package/web/app/immutable/chunks/{BBC8ZwBc.js → DZmwTozc.js} +1 -1
- package/web/app/immutable/chunks/{D37kdZVn.js → DZxSFexp.js} +1 -1
- package/web/app/immutable/chunks/{xBFqBq1j.js → D_2_kcuU.js} +1 -1
- package/web/app/immutable/chunks/{CgLCO0VS.js → DbK3CxeL.js} +1 -1
- package/web/app/immutable/chunks/{CmSDhJgU.js → Dc64E_SR.js} +1 -1
- package/web/app/immutable/chunks/{BnrnoFjd.js → DdSX2jjJ.js} +1 -1
- package/web/app/immutable/chunks/{HLKPZgVy.js → Ddw98WmY.js} +1 -1
- package/web/app/immutable/chunks/{gsElU_36.js → De4z9gHo.js} +1 -1
- package/web/app/immutable/chunks/{ozzjQyCh.js → Dk6iNNLu.js} +1 -1
- package/web/app/immutable/chunks/{D6-Slo8_.js → DkQ7I_3J.js} +5 -5
- package/web/app/immutable/chunks/{D-J8Mlcm.js → DlHB0ULA.js} +2 -2
- package/web/app/immutable/chunks/{2XZtwznc.js → Dlag9Uxb.js} +4 -4
- package/web/app/immutable/chunks/{BZm5iyKH.js → DnpnDt-B.js} +1 -1
- package/web/app/immutable/chunks/{BdHmsKvO.js → DpHl7r8K.js} +1 -1
- package/web/app/immutable/chunks/{DVYqzV0n.js → DpMTpLDQ.js} +1 -1
- package/web/app/immutable/chunks/{DhDeMWX_.js → DpsFFL7J.js} +1 -1
- package/web/app/immutable/chunks/{BnjfAdW_.js → Dq3RHtWu.js} +1 -1
- package/web/app/immutable/chunks/{DEnfRYcH.js → Dq3leYTy.js} +1 -1
- package/web/app/immutable/chunks/{_VCQMG81.js → Dq6CuXZE.js} +1 -1
- package/web/app/immutable/chunks/{-IITeht6.js → DqJ-M21G.js} +1 -1
- package/web/app/immutable/chunks/{BtBKKn81.js → DqvXXMrh.js} +1 -1
- package/web/app/immutable/chunks/{D__R5V-4.js → Drt5qRI8.js} +1 -1
- package/web/app/immutable/chunks/{CTXbgIPd.js → Ds3Wirif.js} +41 -41
- package/web/app/immutable/chunks/{D6cqwcO2.js → Dsmvkh8d.js} +1 -1
- package/web/app/immutable/chunks/{Dq9eeDUE.js → DtKh4Q6Q.js} +1 -1
- package/web/app/immutable/chunks/{DLykoDqY.js → DwKUz42C.js} +1 -1
- package/web/app/immutable/chunks/{BYRfWsRg.js → Dwyq6WEC.js} +1 -1
- package/web/app/immutable/chunks/{B9dU3-fa.js → Dx41gQiN.js} +1 -1
- package/web/app/immutable/chunks/{Gobu28zb.js → DxNbgJ8X.js} +2 -2
- package/web/app/immutable/chunks/{l6o3Xx95.js → Dz4sFk1c.js} +1 -1
- package/web/app/immutable/chunks/{CClqWu60.js → DzHHkfB1.js} +1 -1
- package/web/app/immutable/chunks/{WyTFZ_7I.js → EbDWf2Y-.js} +1 -1
- package/web/app/immutable/chunks/{tHDPdTwr.js → Ek5W6pp5.js} +1 -1
- package/web/app/immutable/chunks/{DT4LiP7Y.js → GETqdV-9.js} +1 -1
- package/web/app/immutable/chunks/{DNM32kqo.js → H60Tbroe.js} +1 -1
- package/web/app/immutable/chunks/{SxNmK2GR.js → HvBMlLJP.js} +3 -3
- package/web/app/immutable/chunks/JzAjTSJP.js +1 -0
- package/web/app/immutable/chunks/{BvSNOyzW.js → PPmweWGv.js} +2 -2
- package/web/app/immutable/chunks/{YRBYMsQ5.js → PrJr0a2j.js} +1 -1
- package/web/app/immutable/chunks/{f5lTIPHi.js → PwvNS9aJ.js} +1 -1
- package/web/app/immutable/chunks/{CfaMHdWP.js → RvvsGyv8.js} +1 -1
- package/web/app/immutable/chunks/{CerTrxRJ.js → UYKGMt9K.js} +1 -1
- package/web/app/immutable/chunks/{Dl7ZwNmB.js → VyOfhH-C.js} +1 -1
- package/web/app/immutable/chunks/{CjXLe_MO.js → X8W_BfF4.js} +1 -1
- package/web/app/immutable/chunks/{Ct8owPqN.js → XIXbmV8F.js} +1 -1
- package/web/app/immutable/chunks/{CJSrEfR4.js → X_y6HQmR.js} +1 -1
- package/web/app/immutable/chunks/{CIX0DuRO.js → XzMpMF29.js} +1 -1
- package/web/app/immutable/chunks/{SEJ8ae0u.js → YNoNxkXn.js} +2 -2
- package/web/app/immutable/chunks/{BuFMu57Q.js → ZI2UcNVx.js} +1 -1
- package/web/app/immutable/chunks/{BUY1W-f0.js → _xNtAuSN.js} +1 -1
- package/web/app/immutable/chunks/{DGySvVDu.js → aETzmnsD.js} +1 -1
- package/web/app/immutable/chunks/{UtZBgRek.js → fZqvRnJh.js} +1 -1
- package/web/app/immutable/chunks/{B10JrSzM.js → finAdq6c.js} +1 -1
- package/web/app/immutable/chunks/{C4Jo6GXP.js → gURPJ1oX.js} +1 -1
- package/web/app/immutable/chunks/{BnZrTj7m.js → j5aoAM0N.js} +1 -1
- package/web/app/immutable/chunks/{CI-nVEa_.js → m18NZZRr.js} +1 -1
- package/web/app/immutable/chunks/{DIyuJ_GU.js → m3ndyWcI.js} +1 -1
- package/web/app/immutable/chunks/{BIY2S7K4.js → n58mTCVv.js} +1 -1
- package/web/app/immutable/chunks/{CHFUz5Rr.js → oilydQC6.js} +1 -1
- package/web/app/immutable/chunks/{DzX5UiFd.js → oxLL7zSC.js} +1 -1
- package/web/app/immutable/chunks/{Ba7k-40o.js → p3fN-Vr3.js} +1 -1
- package/web/app/immutable/chunks/{C-s9_soQ.js → s_GzTTEG.js} +1 -1
- package/web/app/immutable/chunks/{MioiZpXB.js → t_3vjEsA.js} +1 -1
- package/web/app/immutable/chunks/{CDRWYo_y.js → xOJeCqJf.js} +1 -1
- package/web/app/immutable/chunks/{CztRrCMq.js → zN8eBYty.js} +1 -1
- package/web/app/immutable/entry/{app.DfuiYuem.js → app.Ci0fqF_i.js} +3 -3
- package/web/app/immutable/entry/start.DzDtsQrC.js +1 -0
- package/web/app/immutable/nodes/{0.D56mBX7M.js → 0.BJcKF537.js} +1 -1
- package/web/app/immutable/nodes/{1.az7hmVZE.js → 1.Dj_1C4wl.js} +1 -1
- package/web/app/immutable/nodes/{10.ijh736ED.js → 10.DTBkzFBQ.js} +1 -1
- package/web/app/immutable/nodes/{11.CPz1gfx7.js → 11.C9N9_Xb9.js} +1 -1
- package/web/app/immutable/nodes/{12.IWuvbIEt.js → 12.CqRfopX4.js} +1 -1
- package/web/app/immutable/nodes/{13.K9ySk2sQ.js → 13.CscEwLVK.js} +3 -3
- package/web/app/immutable/nodes/{14.BvEshoLb.js → 14.BDOAvRMB.js} +1 -1
- package/web/app/immutable/nodes/{15.MdkxIvV5.js → 15.BWtoiI44.js} +1 -1
- package/web/app/immutable/nodes/{16.CKCeF79S.js → 16.Cfgb0nOQ.js} +1 -1
- package/web/app/immutable/nodes/{17.DnoEG3fq.js → 17.yV85i6g8.js} +2 -2
- package/web/app/immutable/nodes/{2.B4faJzFv.js → 2.B_fHdNW9.js} +11 -11
- package/web/app/immutable/nodes/{3.CXkOfW97.js → 3.CzW2JK5A.js} +1 -1
- package/web/app/immutable/nodes/4.DP65YvXF.js +1 -0
- package/web/app/immutable/nodes/{5.DE5jTHSS.js → 5.ivE-5gZP.js} +2 -2
- package/web/app/immutable/nodes/{6.DhIYx_bX.js → 6.58wOdki0.js} +1 -1
- package/web/app/immutable/nodes/{7.CqVh2822.js → 7.9Khb1Buc.js} +1 -1
- package/web/app/immutable/nodes/{8.CtwSJYpI.js → 8.omc6d3jg.js} +12 -12
- package/web/app/immutable/nodes/{9.RM7Dv9Cl.js → 9._4FUjrca.js} +20 -20
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +9 -9
- package/web/index.html +19 -19
- package/web/app/immutable/chunks/7V9sfwkG.js +0 -1
- package/web/app/immutable/chunks/B5lHtLmV.js +0 -13
- package/web/app/immutable/chunks/CGWRZzdk.js +0 -1
- package/web/app/immutable/chunks/CsF8OjbK.js +0 -1
- package/web/app/immutable/chunks/DWBLeVMU.js +0 -1
- package/web/app/immutable/chunks/D_aUnmwC.js +0 -1
- package/web/app/immutable/chunks/DnzNFOP-.js +0 -1
- package/web/app/immutable/chunks/Dx9ju3Oy.js +0 -2
- package/web/app/immutable/chunks/PXetJRrh.js +0 -2
- package/web/app/immutable/entry/start.DDUK339f.js +0 -1
- package/web/app/immutable/nodes/4.DAQzul95.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{s as xe}from"./BXbF11Gp.js";import{p as be}from"./DT4LiP7Y.js";import{b as C,a6 as Ce,W as ae,q as ee,aX as we,B as Te,ay as te,b8 as B,aW as Z,a_ as Le,V as $e,b0 as Ae,Y as Fe,U as _e,aZ as Ne,O as Me,ao as ke,r as Ve}from"./BdNiI0PS.js";import{p as ze}from"./DkvJR80T.js";import{f as O,o as Q}from"./CI-nVEa_.js";function De(t){var a=0,l=t.children,n=l&&l.length;if(!n)a=1;else for(;--n>=0;)a+=l[n].value;t.value=a}function Pe(){return this.eachAfter(De)}function Be(t,a){let l=-1;for(const n of this)t.call(a,n,++l,this);return this}function We(t,a){for(var l=this,n=[l],s,r,h=-1;l=n.pop();)if(t.call(a,l,++h,this),s=l.children)for(r=s.length-1;r>=0;--r)n.push(s[r]);return this}function Ee(t,a){for(var l=this,n=[l],s=[],r,h,d,f=-1;l=n.pop();)if(s.push(l),r=l.children)for(h=0,d=r.length;h<d;++h)n.push(r[h]);for(;l=s.pop();)t.call(a,l,++f,this);return this}function Re(t,a){let l=-1;for(const n of this)if(t.call(a,n,++l,this))return n}function He(t){return this.eachAfter(function(a){for(var l=+t(a.data)||0,n=a.children,s=n&&n.length;--s>=0;)l+=n[s].value;a.value=l})}function Ie(t){return this.eachBefore(function(a){a.children&&a.children.sort(t)})}function Oe(t){for(var a=this,l=qe(a,t),n=[a];a!==l;)a=a.parent,n.push(a);for(var s=n.length;t!==l;)n.splice(s,0,t),t=t.parent;return n}function qe(t,a){if(t===a)return t;var l=t.ancestors(),n=a.ancestors(),s=null;for(t=l.pop(),a=n.pop();t===a;)s=t,t=l.pop(),a=n.pop();return s}function Ge(){for(var t=this,a=[t];t=t.parent;)a.push(t);return a}function Xe(){return Array.from(this)}function Ye(){var t=[];return this.eachBefore(function(a){a.children||t.push(a)}),t}function je(){var t=this,a=[];return t.each(function(l){l!==t&&a.push({source:l.parent,target:l})}),a}function*Ue(){var t=this,a,l=[t],n,s,r;do for(a=l.reverse(),l=[];t=a.pop();)if(yield t,n=t.children)for(s=0,r=n.length;s<r;++s)l.push(n[s]);while(l.length)}function ne(t,a){t instanceof Map?(t=[void 0,t],a===void 0&&(a=Ke)):a===void 0&&(a=Je);for(var l=new Y(t),n,s=[l],r,h,d,f;n=s.pop();)if((h=a(n.data))&&(f=(h=Array.from(h)).length))for(n.children=h,d=f-1;d>=0;--d)s.push(r=h[d]=new Y(h[d])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(et)}function Ze(){return ne(this).eachBefore(Qe)}function Je(t){return t.children}function Ke(t){return Array.isArray(t)?t[1]:null}function Qe(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function et(t){var a=0;do t.height=a;while((t=t.parent)&&t.height<++a)}function Y(t){this.data=t,this.depth=this.height=0,this.parent=null}Y.prototype=ne.prototype={constructor:Y,count:Pe,each:Be,eachAfter:Ee,eachBefore:We,find:Re,sum:He,sort:Ie,path:Oe,ancestors:Ge,descendants:Xe,leaves:Ye,links:je,copy:Ze,[Symbol.iterator]:Ue};function tt(t){if(typeof t!="function")throw new Error;return t}function q(){return 0}function G(t){return function(){return t}}function at(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function oe(t,a,l,n,s){for(var r=t.children,h,d=-1,f=r.length,o=t.value&&(n-a)/t.value;++d<f;)h=r[d],h.y0=l,h.y1=s,h.x0=a,h.x1=a+=h.value*o}Object.create(Y.prototype);function ce(t,a,l,n,s){for(var r=t.children,h,d=-1,f=r.length,o=t.value&&(s-l)/t.value;++d<f;)h=r[d],h.x0=a,h.x1=n,h.y0=l,h.y1=l+=h.value*o}var he=(1+Math.sqrt(5))/2;function de(t,a,l,n,s,r){for(var h=[],d=a.children,f,o,u=0,S=0,i=d.length,v,x,g=a.value,p,b,_,$,z,R,N;u<i;){v=s-l,x=r-n;do p=d[S++].value;while(!p&&S<i);for(b=_=p,R=Math.max(x/v,v/x)/(g*t),N=p*p*R,z=Math.max(_/N,N/b);S<i;++S){if(p+=o=d[S].value,o<b&&(b=o),o>_&&(_=o),N=p*p*R,$=Math.max(_/N,N/b),$>z){p-=o;break}z=$}h.push(f={value:p,dice:v<x,children:d.slice(u,S)}),f.dice?oe(f,l,n,s,g?n+=x*p/g:r):ce(f,l,n,g?l+=v*p/g:s,r),g-=p,u=S}return h}var nt=(function t(a){function l(n,s,r,h,d){de(a,n,s,r,h,d)}return l.ratio=function(n){return t((n=+n)>1?n:1)},l})(he);function lt(){var t=nt,a=!1,l=1,n=1,s=[0],r=q,h=q,d=q,f=q,o=q;function u(i){return i.x0=i.y0=0,i.x1=l,i.y1=n,i.eachBefore(S),s=[0],a&&i.eachBefore(at),i}function S(i){var v=s[i.depth],x=i.x0+v,g=i.y0+v,p=i.x1-v,b=i.y1-v;p<x&&(x=p=(x+p)/2),b<g&&(g=b=(g+b)/2),i.x0=x,i.y0=g,i.x1=p,i.y1=b,i.children&&(v=s[i.depth+1]=r(i)/2,x+=o(i)-v,g+=h(i)-v,p-=d(i)-v,b-=f(i)-v,p<x&&(x=p=(x+p)/2),b<g&&(g=b=(g+b)/2),t(i,x,g,p,b))}return u.round=function(i){return arguments.length?(a=!!i,u):a},u.size=function(i){return arguments.length?(l=+i[0],n=+i[1],u):[l,n]},u.tile=function(i){return arguments.length?(t=tt(i),u):t},u.padding=function(i){return arguments.length?u.paddingInner(i).paddingOuter(i):u.paddingInner()},u.paddingInner=function(i){return arguments.length?(r=typeof i=="function"?i:G(+i),u):r},u.paddingOuter=function(i){return arguments.length?u.paddingTop(i).paddingRight(i).paddingBottom(i).paddingLeft(i):u.paddingTop()},u.paddingTop=function(i){return arguments.length?(h=typeof i=="function"?i:G(+i),u):h},u.paddingRight=function(i){return arguments.length?(d=typeof i=="function"?i:G(+i),u):d},u.paddingBottom=function(i){return arguments.length?(f=typeof i=="function"?i:G(+i),u):f},u.paddingLeft=function(i){return arguments.length?(o=typeof i=="function"?i:G(+i),u):o},u}(function t(a){function l(n,s,r,h,d){if((f=n._squarify)&&f.ratio===a)for(var f,o,u,S,i=-1,v,x=f.length,g=n.value;++i<x;){for(o=f[i],u=o.children,S=o.value=0,v=u.length;S<v;++S)o.value+=u[S].value;o.dice?oe(o,s,r,h,g?r+=(d-r)*o.value/g:d):ce(o,s,r,g?s+=(h-s)*o.value/g:h,d),g-=o.value}else n._squarify=f=de(a,n,s,r,h,d),f.ratio=a}return l.ratio=function(n){return t((n=+n)>1?n:1)},l})(he);var E,ue=(E=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=Le,this.getAccTitle=$e,this.setDiagramTitle=Ae,this.getDiagramTitle=Fe,this.getAccDescription=_e,this.setAccDescription=Ne}getNodes(){return this.nodes}getConfig(){const a=Me,l=ae();return ee({...a.treemap,...l.treemap??{}})}addNode(a,l){this.nodes.push(a),this.levels.set(a,l),l===0&&(this.outerNodes.push(a),this.root??=a)}getRoot(){return{name:"",children:this.outerNodes}}addClass(a,l){const n=this.classes.get(a)??{id:a,styles:[],textStyles:[]},s=l.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");s&&s.forEach(r=>{ke(r)&&(n?.textStyles?n.textStyles.push(r):n.textStyles=[r]),n?.styles?n.styles.push(r):n.styles=[r]}),this.classes.set(a,n)}getClasses(){return this.classes}getStylesForClass(a){return this.classes.get(a)?.styles??[]}clear(){Ve(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}},C(E,"TreeMapDB"),E);function pe(t){if(!t.length)return[];const a=[],l=[];return t.forEach(n=>{const s={name:n.name,children:n.type==="Leaf"?void 0:[]};for(s.classSelector=n?.classSelector,n?.cssCompiledStyles&&(s.cssCompiledStyles=n.cssCompiledStyles),n.type==="Leaf"&&n.value!==void 0&&(s.value=n.value);l.length>0&&l[l.length-1].level>=n.level;)l.pop();if(l.length===0)a.push(s);else{const r=l[l.length-1].node;r.children?r.children.push(s):r.children=[s]}n.type!=="Leaf"&&l.push({node:s,level:n.level})}),a}C(pe,"buildHierarchy");var st=C((t,a)=>{be(t,a);const l=[];for(const r of t.TreemapRows??[])r.$type==="ClassDefStatement"&&a.addClass(r.className??"",r.styleText??"");for(const r of t.TreemapRows??[]){const h=r.item;if(!h)continue;const d=r.indent?parseInt(r.indent):0,f=rt(h),o=h.classSelector?a.getStylesForClass(h.classSelector):[],u=o.length>0?o:void 0,S={level:d,name:f,type:h.$type,value:h.value,classSelector:h.classSelector,cssCompiledStyles:u};l.push(S)}const n=pe(l),s=C((r,h)=>{for(const d of r)a.addNode(d,h),d.children&&d.children.length>0&&s(d.children,h+1)},"addNodesRecursively");s(n,0)},"populate"),rt=C(t=>t.name?String(t.name):"","getItemName"),fe={parser:{yy:void 0},parse:C(async t=>{try{const l=await ze("treemap",t);te.debug("Treemap AST:",l);const n=fe.parser?.yy;if(!(n instanceof ue))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");st(l,n)}catch(a){throw te.error("Error parsing treemap:",a),a}},"parse")},it=10,W=10,X=25,ot=C((t,a,l,n)=>{const s=n.db,r=s.getConfig(),h=r.padding??it,d=s.getDiagramTitle(),f=s.getRoot(),{themeVariables:o}=ae();if(!f)return;const u=d?30:0,S=we(a),i=r.nodeWidth?r.nodeWidth*W:960,v=r.nodeHeight?r.nodeHeight*W:500,x=i,g=v+u;S.attr("viewBox",`0 0 ${x} ${g}`),Te(S,g,x,r.useMaxWidth);let p;try{const e=r.valueFormat||",";if(e==="$0,0")p=C(c=>"$"+O(",")(c),"valueFormat");else if(e.startsWith("$")&&e.includes(",")){const c=/\.\d+/.exec(e),m=c?c[0]:"";p=C(w=>"$"+O(","+m)(w),"valueFormat")}else if(e.startsWith("$")){const c=e.substring(1);p=C(m=>"$"+O(c||"")(m),"valueFormat")}else p=O(e)}catch(e){te.error("Error creating format function:",e),p=O(",")}const b=Q().range(["transparent",o.cScale0,o.cScale1,o.cScale2,o.cScale3,o.cScale4,o.cScale5,o.cScale6,o.cScale7,o.cScale8,o.cScale9,o.cScale10,o.cScale11]),_=Q().range(["transparent",o.cScalePeer0,o.cScalePeer1,o.cScalePeer2,o.cScalePeer3,o.cScalePeer4,o.cScalePeer5,o.cScalePeer6,o.cScalePeer7,o.cScalePeer8,o.cScalePeer9,o.cScalePeer10,o.cScalePeer11]),$=Q().range([o.cScaleLabel0,o.cScaleLabel1,o.cScaleLabel2,o.cScaleLabel3,o.cScaleLabel4,o.cScaleLabel5,o.cScaleLabel6,o.cScaleLabel7,o.cScaleLabel8,o.cScaleLabel9,o.cScaleLabel10,o.cScaleLabel11]);d&&S.append("text").attr("x",x/2).attr("y",u/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(d);const z=S.append("g").attr("transform",`translate(0, ${u})`).attr("class","treemapContainer"),R=ne(f).sum(e=>e.value??0).sort((e,c)=>(c.value??0)-(e.value??0)),le=lt().size([i,v]).paddingTop(e=>e.children&&e.children.length>0?X+W:0).paddingInner(h).paddingLeft(e=>e.children&&e.children.length>0?W:0).paddingRight(e=>e.children&&e.children.length>0?W:0).paddingBottom(e=>e.children&&e.children.length>0?W:0).round(!0)(R),me=le.descendants().filter(e=>e.children&&e.children.length>0),H=z.selectAll(".treemapSection").data(me).enter().append("g").attr("class","treemapSection").attr("transform",e=>`translate(${e.x0},${e.y0})`);H.append("rect").attr("width",e=>e.x1-e.x0).attr("height",X).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",e=>e.depth===0?"display: none;":""),H.append("clipPath").attr("id",(e,c)=>`clip-section-${a}-${c}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-12)).attr("height",X),H.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class",(e,c)=>`treemapSection section${c}`).attr("fill",e=>b(e.data.name)).attr("fill-opacity",.6).attr("stroke",e=>_(e.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",e=>{if(e.depth===0)return"display: none;";const c=B({cssCompiledStyles:e.data.cssCompiledStyles});return c.nodeStyles+";"+c.borderStyles.join(";")}),H.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",X/2).attr("dominant-baseline","middle").text(e=>e.depth===0?"":e.data.name).attr("font-weight","bold").attr("clip-path",(e,c)=>`url(#clip-section-${a}-${c})`).attr("style",e=>{if(e.depth===0)return"display: none;";const c="dominant-baseline: middle; font-size: 12px; fill:"+$(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")}).each(function(e){if(e.depth===0)return;const c=Z(this),m=e.data.name;c.text(m);const w=e.x1-e.x0,L=6;let T;r.showValues!==!1&&e.value?T=w-10-30-10-L:T=w-L-6;const y=Math.max(15,T),M=c.node();if(M.getComputedTextLength()>y){let V=m;for(;V.length>0;){if(V=m.substring(0,V.length-1),V.length===0){c.text("..."),M.getComputedTextLength()>y&&c.text("");break}if(c.text(V+"..."),M.getComputedTextLength()<=y)break}}}),r.showValues!==!1&&H.append("text").attr("class","treemapSectionValue").attr("x",e=>e.x1-e.x0-10).attr("y",X/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(e=>e.value?p(e.value):"").attr("font-style","italic").attr("style",e=>{if(e.depth===0)return"display: none;";const c="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+$(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")});const se=le.leaves(),A=se.length>20,ge=A?16:38,j=A?14:28,D=A?4:8,I=A?4:6,J=A?2:4,re=A?8:10,K=A?1:2,U=z.selectAll(".treemapLeafGroup").data(se).enter().append("g").attr("class",(e,c)=>`treemapNode treemapLeafGroup leaf${c}${e.data.classSelector?` ${e.data.classSelector}`:""}x`).attr("transform",e=>`translate(${e.x0},${e.y0})`);U.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class","treemapLeaf").attr("fill",e=>e.parent?b(e.parent.data.name):b(e.data.name)).attr("style",e=>B({cssCompiledStyles:e.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",e=>e.parent?b(e.parent.data.name):b(e.data.name)).attr("stroke-width",3),U.append("clipPath").attr("id",(e,c)=>`clip-${a}-${c}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-4)).attr("height",e=>Math.max(0,e.y1-e.y0-4)),U.append("text").attr("class","treemapLabel").attr("x",e=>(e.x1-e.x0)/2).attr("y",e=>(e.y1-e.y0)/2).attr("style",e=>{const c=`text-anchor: middle; dominant-baseline: middle; font-size: ${ge}px;fill:`+$(e.data.name)+";",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")}).attr("clip-path",(e,c)=>`url(#clip-${a}-${c})`).text(e=>e.data.name).each(function(e){const c=Z(this),m=e.x1-e.x0,w=e.y1-e.y0,L=c.node(),T=m-2*J,P=w-2*J;if(T<re||P<re){c.style("display","none");return}let y=parseInt(c.style("font-size"),10);const M=.6;for(;L.getComputedTextLength()>T&&y>D;)y--,c.style("font-size",`${y}px`);let F=Math.max(I,Math.min(j,Math.round(y*M))),k=y+K+F;for(;k>P&&y>D&&(y--,F=Math.max(I,Math.min(j,Math.round(y*M))),!(F<I&&y===D));)c.style("font-size",`${y}px`),k=y+K+F;c.style("font-size",`${y}px`),A?(y<D||P<D)&&c.style("display","none"):(L.getComputedTextLength()>T||y<D||P<y)&&c.style("display","none")}),r.showValues!==!1&&U.append("text").attr("class","treemapValue").attr("x",c=>(c.x1-c.x0)/2).attr("y",function(c){return(c.y1-c.y0)/2}).attr("style",c=>{const m=`text-anchor: middle; dominant-baseline: hanging; font-size: ${j}px;fill:`+$(c.data.name)+";",w=B({cssCompiledStyles:c.data.cssCompiledStyles});return m+w.labelStyles.replace("color:","fill:")}).attr("clip-path",(c,m)=>`url(#clip-${a}-${m})`).text(c=>c.value?p(c.value):"").each(function(c){const m=Z(this),w=this.parentNode;if(!w){m.style("display","none");return}const L=Z(w).select(".treemapLabel");if(L.empty()||L.style("display")==="none"){m.style("display","none");return}const T=parseFloat(L.style("font-size")),y=Math.max(I,Math.min(j,Math.round(T*.6)));m.style("font-size",`${y}px`);const F=(c.y1-c.y0)/2+T/2+K;m.attr("y",F);const k=c.x1-c.x0,ie=c.y1-c.y0-4,ve=k-2*J;m.node().getComputedTextLength()>ve||F+y>ie||y<I?m.style("display","none"):m.style("display",null)});const ye=r.diagramPadding??8;xe(S,ye,"flowchart",r?.useMaxWidth||!1)},"draw"),ct=C(function(t,a){return a.db.getClasses()},"getClasses"),ht={draw:ot,getClasses:ct},dt={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},ut=C(({treemap:t}={})=>{const a=Ce(),l=ae(),n=ee(a,l.themeVariables),s=ee(dt,t),r=s.titleColor??n.titleColor,h=s.labelColor??n.textColor,d=s.valueColor??n.textColor;return`
|
|
1
|
+
import{s as xe}from"./Bywuf0q4.js";import{p as be}from"./GETqdV-9.js";import{b as C,a6 as Ce,W as ae,q as ee,aX as we,B as Te,ay as te,b8 as B,aW as Z,a_ as Le,V as $e,b0 as Ae,Y as Fe,U as _e,aZ as Ne,O as Me,ao as ke,r as Ve}from"./Bc6DihnT.js";import{p as ze}from"./Cv_J2c72.js";import{f as O,o as Q}from"./m18NZZRr.js";function De(t){var a=0,l=t.children,n=l&&l.length;if(!n)a=1;else for(;--n>=0;)a+=l[n].value;t.value=a}function Pe(){return this.eachAfter(De)}function Be(t,a){let l=-1;for(const n of this)t.call(a,n,++l,this);return this}function We(t,a){for(var l=this,n=[l],s,r,h=-1;l=n.pop();)if(t.call(a,l,++h,this),s=l.children)for(r=s.length-1;r>=0;--r)n.push(s[r]);return this}function Ee(t,a){for(var l=this,n=[l],s=[],r,h,d,f=-1;l=n.pop();)if(s.push(l),r=l.children)for(h=0,d=r.length;h<d;++h)n.push(r[h]);for(;l=s.pop();)t.call(a,l,++f,this);return this}function Re(t,a){let l=-1;for(const n of this)if(t.call(a,n,++l,this))return n}function He(t){return this.eachAfter(function(a){for(var l=+t(a.data)||0,n=a.children,s=n&&n.length;--s>=0;)l+=n[s].value;a.value=l})}function Ie(t){return this.eachBefore(function(a){a.children&&a.children.sort(t)})}function Oe(t){for(var a=this,l=qe(a,t),n=[a];a!==l;)a=a.parent,n.push(a);for(var s=n.length;t!==l;)n.splice(s,0,t),t=t.parent;return n}function qe(t,a){if(t===a)return t;var l=t.ancestors(),n=a.ancestors(),s=null;for(t=l.pop(),a=n.pop();t===a;)s=t,t=l.pop(),a=n.pop();return s}function Ge(){for(var t=this,a=[t];t=t.parent;)a.push(t);return a}function Xe(){return Array.from(this)}function Ye(){var t=[];return this.eachBefore(function(a){a.children||t.push(a)}),t}function je(){var t=this,a=[];return t.each(function(l){l!==t&&a.push({source:l.parent,target:l})}),a}function*Ue(){var t=this,a,l=[t],n,s,r;do for(a=l.reverse(),l=[];t=a.pop();)if(yield t,n=t.children)for(s=0,r=n.length;s<r;++s)l.push(n[s]);while(l.length)}function ne(t,a){t instanceof Map?(t=[void 0,t],a===void 0&&(a=Ke)):a===void 0&&(a=Je);for(var l=new Y(t),n,s=[l],r,h,d,f;n=s.pop();)if((h=a(n.data))&&(f=(h=Array.from(h)).length))for(n.children=h,d=f-1;d>=0;--d)s.push(r=h[d]=new Y(h[d])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(et)}function Ze(){return ne(this).eachBefore(Qe)}function Je(t){return t.children}function Ke(t){return Array.isArray(t)?t[1]:null}function Qe(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function et(t){var a=0;do t.height=a;while((t=t.parent)&&t.height<++a)}function Y(t){this.data=t,this.depth=this.height=0,this.parent=null}Y.prototype=ne.prototype={constructor:Y,count:Pe,each:Be,eachAfter:Ee,eachBefore:We,find:Re,sum:He,sort:Ie,path:Oe,ancestors:Ge,descendants:Xe,leaves:Ye,links:je,copy:Ze,[Symbol.iterator]:Ue};function tt(t){if(typeof t!="function")throw new Error;return t}function q(){return 0}function G(t){return function(){return t}}function at(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function oe(t,a,l,n,s){for(var r=t.children,h,d=-1,f=r.length,o=t.value&&(n-a)/t.value;++d<f;)h=r[d],h.y0=l,h.y1=s,h.x0=a,h.x1=a+=h.value*o}Object.create(Y.prototype);function ce(t,a,l,n,s){for(var r=t.children,h,d=-1,f=r.length,o=t.value&&(s-l)/t.value;++d<f;)h=r[d],h.x0=a,h.x1=n,h.y0=l,h.y1=l+=h.value*o}var he=(1+Math.sqrt(5))/2;function de(t,a,l,n,s,r){for(var h=[],d=a.children,f,o,u=0,S=0,i=d.length,v,x,g=a.value,p,b,_,$,z,R,N;u<i;){v=s-l,x=r-n;do p=d[S++].value;while(!p&&S<i);for(b=_=p,R=Math.max(x/v,v/x)/(g*t),N=p*p*R,z=Math.max(_/N,N/b);S<i;++S){if(p+=o=d[S].value,o<b&&(b=o),o>_&&(_=o),N=p*p*R,$=Math.max(_/N,N/b),$>z){p-=o;break}z=$}h.push(f={value:p,dice:v<x,children:d.slice(u,S)}),f.dice?oe(f,l,n,s,g?n+=x*p/g:r):ce(f,l,n,g?l+=v*p/g:s,r),g-=p,u=S}return h}var nt=(function t(a){function l(n,s,r,h,d){de(a,n,s,r,h,d)}return l.ratio=function(n){return t((n=+n)>1?n:1)},l})(he);function lt(){var t=nt,a=!1,l=1,n=1,s=[0],r=q,h=q,d=q,f=q,o=q;function u(i){return i.x0=i.y0=0,i.x1=l,i.y1=n,i.eachBefore(S),s=[0],a&&i.eachBefore(at),i}function S(i){var v=s[i.depth],x=i.x0+v,g=i.y0+v,p=i.x1-v,b=i.y1-v;p<x&&(x=p=(x+p)/2),b<g&&(g=b=(g+b)/2),i.x0=x,i.y0=g,i.x1=p,i.y1=b,i.children&&(v=s[i.depth+1]=r(i)/2,x+=o(i)-v,g+=h(i)-v,p-=d(i)-v,b-=f(i)-v,p<x&&(x=p=(x+p)/2),b<g&&(g=b=(g+b)/2),t(i,x,g,p,b))}return u.round=function(i){return arguments.length?(a=!!i,u):a},u.size=function(i){return arguments.length?(l=+i[0],n=+i[1],u):[l,n]},u.tile=function(i){return arguments.length?(t=tt(i),u):t},u.padding=function(i){return arguments.length?u.paddingInner(i).paddingOuter(i):u.paddingInner()},u.paddingInner=function(i){return arguments.length?(r=typeof i=="function"?i:G(+i),u):r},u.paddingOuter=function(i){return arguments.length?u.paddingTop(i).paddingRight(i).paddingBottom(i).paddingLeft(i):u.paddingTop()},u.paddingTop=function(i){return arguments.length?(h=typeof i=="function"?i:G(+i),u):h},u.paddingRight=function(i){return arguments.length?(d=typeof i=="function"?i:G(+i),u):d},u.paddingBottom=function(i){return arguments.length?(f=typeof i=="function"?i:G(+i),u):f},u.paddingLeft=function(i){return arguments.length?(o=typeof i=="function"?i:G(+i),u):o},u}(function t(a){function l(n,s,r,h,d){if((f=n._squarify)&&f.ratio===a)for(var f,o,u,S,i=-1,v,x=f.length,g=n.value;++i<x;){for(o=f[i],u=o.children,S=o.value=0,v=u.length;S<v;++S)o.value+=u[S].value;o.dice?oe(o,s,r,h,g?r+=(d-r)*o.value/g:d):ce(o,s,r,g?s+=(h-s)*o.value/g:h,d),g-=o.value}else n._squarify=f=de(a,n,s,r,h,d),f.ratio=a}return l.ratio=function(n){return t((n=+n)>1?n:1)},l})(he);var E,ue=(E=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=Le,this.getAccTitle=$e,this.setDiagramTitle=Ae,this.getDiagramTitle=Fe,this.getAccDescription=_e,this.setAccDescription=Ne}getNodes(){return this.nodes}getConfig(){const a=Me,l=ae();return ee({...a.treemap,...l.treemap??{}})}addNode(a,l){this.nodes.push(a),this.levels.set(a,l),l===0&&(this.outerNodes.push(a),this.root??=a)}getRoot(){return{name:"",children:this.outerNodes}}addClass(a,l){const n=this.classes.get(a)??{id:a,styles:[],textStyles:[]},s=l.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");s&&s.forEach(r=>{ke(r)&&(n?.textStyles?n.textStyles.push(r):n.textStyles=[r]),n?.styles?n.styles.push(r):n.styles=[r]}),this.classes.set(a,n)}getClasses(){return this.classes}getStylesForClass(a){return this.classes.get(a)?.styles??[]}clear(){Ve(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}},C(E,"TreeMapDB"),E);function pe(t){if(!t.length)return[];const a=[],l=[];return t.forEach(n=>{const s={name:n.name,children:n.type==="Leaf"?void 0:[]};for(s.classSelector=n?.classSelector,n?.cssCompiledStyles&&(s.cssCompiledStyles=n.cssCompiledStyles),n.type==="Leaf"&&n.value!==void 0&&(s.value=n.value);l.length>0&&l[l.length-1].level>=n.level;)l.pop();if(l.length===0)a.push(s);else{const r=l[l.length-1].node;r.children?r.children.push(s):r.children=[s]}n.type!=="Leaf"&&l.push({node:s,level:n.level})}),a}C(pe,"buildHierarchy");var st=C((t,a)=>{be(t,a);const l=[];for(const r of t.TreemapRows??[])r.$type==="ClassDefStatement"&&a.addClass(r.className??"",r.styleText??"");for(const r of t.TreemapRows??[]){const h=r.item;if(!h)continue;const d=r.indent?parseInt(r.indent):0,f=rt(h),o=h.classSelector?a.getStylesForClass(h.classSelector):[],u=o.length>0?o:void 0,S={level:d,name:f,type:h.$type,value:h.value,classSelector:h.classSelector,cssCompiledStyles:u};l.push(S)}const n=pe(l),s=C((r,h)=>{for(const d of r)a.addNode(d,h),d.children&&d.children.length>0&&s(d.children,h+1)},"addNodesRecursively");s(n,0)},"populate"),rt=C(t=>t.name?String(t.name):"","getItemName"),fe={parser:{yy:void 0},parse:C(async t=>{try{const l=await ze("treemap",t);te.debug("Treemap AST:",l);const n=fe.parser?.yy;if(!(n instanceof ue))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");st(l,n)}catch(a){throw te.error("Error parsing treemap:",a),a}},"parse")},it=10,W=10,X=25,ot=C((t,a,l,n)=>{const s=n.db,r=s.getConfig(),h=r.padding??it,d=s.getDiagramTitle(),f=s.getRoot(),{themeVariables:o}=ae();if(!f)return;const u=d?30:0,S=we(a),i=r.nodeWidth?r.nodeWidth*W:960,v=r.nodeHeight?r.nodeHeight*W:500,x=i,g=v+u;S.attr("viewBox",`0 0 ${x} ${g}`),Te(S,g,x,r.useMaxWidth);let p;try{const e=r.valueFormat||",";if(e==="$0,0")p=C(c=>"$"+O(",")(c),"valueFormat");else if(e.startsWith("$")&&e.includes(",")){const c=/\.\d+/.exec(e),m=c?c[0]:"";p=C(w=>"$"+O(","+m)(w),"valueFormat")}else if(e.startsWith("$")){const c=e.substring(1);p=C(m=>"$"+O(c||"")(m),"valueFormat")}else p=O(e)}catch(e){te.error("Error creating format function:",e),p=O(",")}const b=Q().range(["transparent",o.cScale0,o.cScale1,o.cScale2,o.cScale3,o.cScale4,o.cScale5,o.cScale6,o.cScale7,o.cScale8,o.cScale9,o.cScale10,o.cScale11]),_=Q().range(["transparent",o.cScalePeer0,o.cScalePeer1,o.cScalePeer2,o.cScalePeer3,o.cScalePeer4,o.cScalePeer5,o.cScalePeer6,o.cScalePeer7,o.cScalePeer8,o.cScalePeer9,o.cScalePeer10,o.cScalePeer11]),$=Q().range([o.cScaleLabel0,o.cScaleLabel1,o.cScaleLabel2,o.cScaleLabel3,o.cScaleLabel4,o.cScaleLabel5,o.cScaleLabel6,o.cScaleLabel7,o.cScaleLabel8,o.cScaleLabel9,o.cScaleLabel10,o.cScaleLabel11]);d&&S.append("text").attr("x",x/2).attr("y",u/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(d);const z=S.append("g").attr("transform",`translate(0, ${u})`).attr("class","treemapContainer"),R=ne(f).sum(e=>e.value??0).sort((e,c)=>(c.value??0)-(e.value??0)),le=lt().size([i,v]).paddingTop(e=>e.children&&e.children.length>0?X+W:0).paddingInner(h).paddingLeft(e=>e.children&&e.children.length>0?W:0).paddingRight(e=>e.children&&e.children.length>0?W:0).paddingBottom(e=>e.children&&e.children.length>0?W:0).round(!0)(R),me=le.descendants().filter(e=>e.children&&e.children.length>0),H=z.selectAll(".treemapSection").data(me).enter().append("g").attr("class","treemapSection").attr("transform",e=>`translate(${e.x0},${e.y0})`);H.append("rect").attr("width",e=>e.x1-e.x0).attr("height",X).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",e=>e.depth===0?"display: none;":""),H.append("clipPath").attr("id",(e,c)=>`clip-section-${a}-${c}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-12)).attr("height",X),H.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class",(e,c)=>`treemapSection section${c}`).attr("fill",e=>b(e.data.name)).attr("fill-opacity",.6).attr("stroke",e=>_(e.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",e=>{if(e.depth===0)return"display: none;";const c=B({cssCompiledStyles:e.data.cssCompiledStyles});return c.nodeStyles+";"+c.borderStyles.join(";")}),H.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",X/2).attr("dominant-baseline","middle").text(e=>e.depth===0?"":e.data.name).attr("font-weight","bold").attr("clip-path",(e,c)=>`url(#clip-section-${a}-${c})`).attr("style",e=>{if(e.depth===0)return"display: none;";const c="dominant-baseline: middle; font-size: 12px; fill:"+$(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")}).each(function(e){if(e.depth===0)return;const c=Z(this),m=e.data.name;c.text(m);const w=e.x1-e.x0,L=6;let T;r.showValues!==!1&&e.value?T=w-10-30-10-L:T=w-L-6;const y=Math.max(15,T),M=c.node();if(M.getComputedTextLength()>y){let V=m;for(;V.length>0;){if(V=m.substring(0,V.length-1),V.length===0){c.text("..."),M.getComputedTextLength()>y&&c.text("");break}if(c.text(V+"..."),M.getComputedTextLength()<=y)break}}}),r.showValues!==!1&&H.append("text").attr("class","treemapSectionValue").attr("x",e=>e.x1-e.x0-10).attr("y",X/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(e=>e.value?p(e.value):"").attr("font-style","italic").attr("style",e=>{if(e.depth===0)return"display: none;";const c="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+$(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")});const se=le.leaves(),A=se.length>20,ge=A?16:38,j=A?14:28,D=A?4:8,I=A?4:6,J=A?2:4,re=A?8:10,K=A?1:2,U=z.selectAll(".treemapLeafGroup").data(se).enter().append("g").attr("class",(e,c)=>`treemapNode treemapLeafGroup leaf${c}${e.data.classSelector?` ${e.data.classSelector}`:""}x`).attr("transform",e=>`translate(${e.x0},${e.y0})`);U.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class","treemapLeaf").attr("fill",e=>e.parent?b(e.parent.data.name):b(e.data.name)).attr("style",e=>B({cssCompiledStyles:e.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",e=>e.parent?b(e.parent.data.name):b(e.data.name)).attr("stroke-width",3),U.append("clipPath").attr("id",(e,c)=>`clip-${a}-${c}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-4)).attr("height",e=>Math.max(0,e.y1-e.y0-4)),U.append("text").attr("class","treemapLabel").attr("x",e=>(e.x1-e.x0)/2).attr("y",e=>(e.y1-e.y0)/2).attr("style",e=>{const c=`text-anchor: middle; dominant-baseline: middle; font-size: ${ge}px;fill:`+$(e.data.name)+";",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")}).attr("clip-path",(e,c)=>`url(#clip-${a}-${c})`).text(e=>e.data.name).each(function(e){const c=Z(this),m=e.x1-e.x0,w=e.y1-e.y0,L=c.node(),T=m-2*J,P=w-2*J;if(T<re||P<re){c.style("display","none");return}let y=parseInt(c.style("font-size"),10);const M=.6;for(;L.getComputedTextLength()>T&&y>D;)y--,c.style("font-size",`${y}px`);let F=Math.max(I,Math.min(j,Math.round(y*M))),k=y+K+F;for(;k>P&&y>D&&(y--,F=Math.max(I,Math.min(j,Math.round(y*M))),!(F<I&&y===D));)c.style("font-size",`${y}px`),k=y+K+F;c.style("font-size",`${y}px`),A?(y<D||P<D)&&c.style("display","none"):(L.getComputedTextLength()>T||y<D||P<y)&&c.style("display","none")}),r.showValues!==!1&&U.append("text").attr("class","treemapValue").attr("x",c=>(c.x1-c.x0)/2).attr("y",function(c){return(c.y1-c.y0)/2}).attr("style",c=>{const m=`text-anchor: middle; dominant-baseline: hanging; font-size: ${j}px;fill:`+$(c.data.name)+";",w=B({cssCompiledStyles:c.data.cssCompiledStyles});return m+w.labelStyles.replace("color:","fill:")}).attr("clip-path",(c,m)=>`url(#clip-${a}-${m})`).text(c=>c.value?p(c.value):"").each(function(c){const m=Z(this),w=this.parentNode;if(!w){m.style("display","none");return}const L=Z(w).select(".treemapLabel");if(L.empty()||L.style("display")==="none"){m.style("display","none");return}const T=parseFloat(L.style("font-size")),y=Math.max(I,Math.min(j,Math.round(T*.6)));m.style("font-size",`${y}px`);const F=(c.y1-c.y0)/2+T/2+K;m.attr("y",F);const k=c.x1-c.x0,ie=c.y1-c.y0-4,ve=k-2*J;m.node().getComputedTextLength()>ve||F+y>ie||y<I?m.style("display","none"):m.style("display",null)});const ye=r.diagramPadding??8;xe(S,ye,"flowchart",r?.useMaxWidth||!1)},"draw"),ct=C(function(t,a){return a.db.getClasses()},"getClasses"),ht={draw:ot,getClasses:ct},dt={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},ut=C(({treemap:t}={})=>{const a=Ce(),l=ae(),n=ee(a,l.themeVariables),s=ee(dt,t),r=s.titleColor??n.titleColor,h=s.labelColor??n.textColor,d=s.valueColor??n.textColor;return`
|
|
2
2
|
.treemapNode.section {
|
|
3
3
|
stroke: ${s.sectionStrokeColor};
|
|
4
4
|
stroke-width: ${s.sectionStrokeWidth};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as r}from"./C1nHAGLu.js";import{w as a,I as e}from"./-SwunqO3.js";import{Iz as s}from"./A0r9TbR7.js";import{c as t}from"./EbDWf2Y-.js";function C(o,i){return t(s,o,{navigate:i,...a("windowChrome")?{closeWindow:()=>r(e.WINDOW.CLOSE)}:{}})}export{C as closeActiveTab};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as C}from"./
|
|
1
|
+
import{D as C}from"./Ds3Wirif.js";import{t as re,br as y,a_ as se,bz as ae,b as ne,bp as I}from"./DTQYcznv.js";import{bs as ie,cb as oe,c5 as le,bH as k,aD as b,a5 as G,bA as W,b_ as R,W as E,bn as ce,bV as q,c9 as z,aA as x,ay as F,bl as N,bS as H,bO as O,a7 as de,aB as P}from"./DYhIMPy1.js";import{G as ue}from"./-SwunqO3.js";import{u as D}from"./Ck9ZyE1n.js";import{a as me}from"./Bc6DihnT.js";const K=C.shape.model,pe=C.shape.states.unwrap().element;function L(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function fe(t){return/^(?:|model|model\.(?:nodes|edges|groups)|states)$/.test(t)}function ge(t){let e=0;const s=()=>{for(;/[\t\n\r ]/.test(t[e]??"\0");)e+=1},a=(l,d)=>{if(d>64)throw new Error("JSON nesting limit exceeded");s();const f=e,u=t[e];if(u===void 0)return{complete:!1};if(u==='"'){for(e+=1;e<t.length;){const r=t[e++];if(r==="\\")e+=1;else if(r==='"')return{value:JSON.parse(t.slice(f,e)),complete:!0}}return{complete:!1}}if(u==="{"||u==="["){const r=u==="{",c=r?Object.create(null):[],h=r?"}":"]";if(e+=1,s(),t[e]===h)return e+=1,{value:c,complete:!0};for(;e<t.length;){let o="";if(r){if(t[e]!=='"')throw new Error("Expected JSON property");const _=a(l,d+1);if(!_.complete)return{value:c,complete:!1};if(o=_.value,s(),e===t.length)return{value:c,complete:!1};if(t[e++]!==":")throw new Error("Expected JSON colon")}const g=r?l?`${l}.${o}`:o:`${l}[]`,v=a(g,d+1);if((v.complete||fe(g)&&v.value!==void 0)&&(Array.isArray(c)?c.push(v.value):c[o]=v.value),!v.complete)return{value:c,complete:!1};if(s(),e===t.length)return{value:c,complete:!1};if(t[e]===h)return e+=1,{value:c,complete:!0};if(t[e++]!==",")throw new Error("Expected JSON separator");s()}return{value:c,complete:!1}}for(;e<t.length&&!/[\t\n\r ,}\]]/.test(t[e]);)e+=1;return e===t.length?{complete:!1}:{value:JSON.parse(t.slice(f,e)),complete:!0}},n=a("",0);if(s(),n.complete&&e!==t.length)throw new Error("Unexpected JSON suffix");return n}function J(t){const e=new Set;return t.filter(({id:s})=>e.has(s)?!1:(e.add(s),!0))}function V(t,e,s,a){return[t.visibleNodes,t.highlightedNodes].every(n=>n?.every(l=>e.has(l))??!0)&&[t.visibleEdges,t.highlightedEdges].every(n=>n?.every(l=>s.has(l))??!0)&&(t.visibleGroups?.every(n=>a.has(n))??!0)&&(t.camera?.focus===void 0||e.has(t.camera.focus))}function ve(t){if(!L(t)||!L(t.model))return null;const e=t.model,s=(o,g)=>Array.isArray(o)?o.filter(v=>g.safeParse(v).success):[];let a=J(s(e.nodes,K.shape.nodes.element)),n=J(s(e.groups,K.shape.groups.unwrap().element)),l=!0;for(;l;){const o=new Set(a.map(({id:m})=>m)),g=n.filter(m=>m.nodeIds.every(A=>o.has(A))),v=new Set(g.map(({id:m})=>m)),_=a.filter(m=>m.group===void 0||v.has(m.group));l=_.length!==a.length||g.length!==n.length,a=_,n=g}if(!a.length)return null;const d=new Set(a.map(({id:o})=>o)),f=J(s(e.edges,K.shape.edges.element)).filter(o=>d.has(o.from)&&d.has(o.to)),u=new Set(f.map(({id:o})=>o)),r=new Set(n.map(({id:o})=>o)),c=J(s(t.states,pe)).filter(o=>V(o,d,u,r)),h={...t,model:{...e,nodes:a,edges:f,...e.groups===void 0?{}:{groups:n}},...t.states===void 0?{}:{states:c}};return c.some(o=>o.id===h.currentStateId)||delete h.currentStateId,C.safeParse(h).success?h:null}function U(t){if(!C.safeParse(t).success)return null;const e=t,{nodes:s,edges:a,groups:n=[]}=e.model,l=e.states??[],d=new Set(s.map(({id:r})=>r)),f=new Set(a.map(({id:r})=>r)),u=new Set(n.map(({id:r})=>r));return[s,a,n,l].some(r=>new Set(r.map(({id:c})=>c)).size!==r.length)||s.some(r=>r.group!==void 0&&!u.has(r.group))||a.some(r=>!d.has(r.from)||!d.has(r.to))||n.some(r=>r.nodeIds.some(c=>!d.has(c)))||l.some(r=>!V(r,d,f,u))||e.currentStateId!==void 0&&!l.some(r=>r.id===e.currentStateId)?null:e}function Ne(t,e=!1){const s=(a,n,l)=>({rawSource:t,status:a,diagram:n,...l?{error:l}:{}});try{if(e){const n=U(JSON.parse(t));return n?s("complete",n):s("invalid",null,"Invalid diagram payload")}const a=ge(t);if(a.complete){const n=U(a.value);if(n)return s("complete",n)}return s("partial",ve(a.value))}catch{return s(e?"invalid":"partial",null,e?"Invalid diagram JSON":void 0)}}var he=P('<div class="diagram-feedback svelte-p097sp" role="alert"><strong> </strong> <span> </span></div> <pre class="diagram-source svelte-p097sp"> </pre>',1),we=P('<div class="diagram-feedback svelte-p097sp" role="status"> </div>'),Se=P('<div class="streaming-diagram svelte-p097sp"><!></div>');function _e(t,e){if(new.target)return re({component:_e,...t});ie(e,!0);let s=y(e,"diagram",7),a=y(e,"isStreaming",7,!1),n=y(e,"source",7),l=y(e,"sourceError",7),d=y(e,"viewResetKey",7),f=y(e,"onBindingClick",7),u=q(null),r=q(0),c="",h,o=!1;oe(()=>{const i=s(),p=n(),w=d(),S=a(),B=!!l();le(()=>{o&&(w!==h||!p.startsWith(c))&&(k(u,null),k(r,b(r)+1)),o=!0,c=p,h=w,B||!S&&!i?k(u,null):i&&k(u,i,!0)})});const g=z(()=>l()?null:s()??(a()?b(u):null)),v=z(()=>!!l()||!a()&&!s());var _={get diagram(){return s()},set diagram(i){s(i),x()},get isStreaming(){return a()},set isStreaming(i=!1){a(i),x()},get source(){return n()},set source(i){n(i),x()},get sourceError(){return l()},set sourceError(i){l(i),x()},get viewResetKey(){return d()},set viewResetKey(i){d(i),x()},get onBindingClick(){return f()},set onBindingClick(i){f(i),x()},$set:ae,$on:(i,p)=>ne(e,i,p)},m=Se(),A=G(m);{var M=i=>{var p=he(),w=F(p),S=G(w),B=N(S,!0),X=H(S,2),Y=N(X,!0);W(w);var j=H(w,2),Z=N(j,!0);R(($,ee,te)=>{O(B,$),O(Y,ee),D(j,"aria-label",te),O(Z,n())},[()=>I.markdown_mermaid_renderFailed_error(),()=>I.diagram_renderer_error_description(),()=>I.markdown_mermaid_viewSource_label()]),E(i,p)},Q=i=>{var p=de(),w=F(p);ue(w,()=>b(r),S=>{me(S,{get diagram(){return b(g)},editable:!1,get viewResetKey(){return d()},get onBindingClick(){return f()}})}),E(i,p)},T=i=>{var p=we(),w=N(p,!0);R(S=>O(w,S),[()=>I.ui_spinner_loading_ariaLabel()]),E(i,p)};se(A,i=>{b(v)?i(M):b(g)?i(Q,1):i(T,-1)})}return W(m),R(()=>{D(m,"aria-busy",a()),D(m,"data-diagram-streaming",a())}),E(t,m),ce(_)}export{_e as S,Ne as p};
|