@intent-hq/web 2.320.1 → 2.321.1
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/{sWFJeG75.js → -OAW1EMW.js} +1 -1
- package/web/app/immutable/chunks/{CXux1NAJ.js → -WHIysNv.js} +1 -1
- package/web/app/immutable/chunks/{BTVnc-yD.js → 1hja73nv.js} +1 -1
- package/web/app/immutable/chunks/{3TX-_riq.js → 595JSfYJ.js} +4 -4
- package/web/app/immutable/chunks/{CBE9bOjQ.js → 9ZBkr0Qf.js} +1 -1
- package/web/app/immutable/chunks/{DWcUEP_3.js → B-obUB2z.js} +4 -4
- package/web/app/immutable/chunks/{DamIfQPR.js → B0SbPsRb.js} +1 -1
- package/web/app/immutable/chunks/{CAhuuwZ9.js → B1Ss_ZJB.js} +1 -1
- package/web/app/immutable/chunks/B21V7_mT.js +6 -0
- package/web/app/immutable/chunks/{9Lm8k_8r.js → B3X_dqJy.js} +1 -1
- package/web/app/immutable/chunks/{DbSP_yi5.js → B5plHk_3.js} +1 -1
- package/web/app/immutable/chunks/{4o1DPfmL.js → B6l2HPmZ.js} +1 -1
- package/web/app/immutable/chunks/{Dbcyn1sm.js → B7Ka_0Oj.js} +1 -1
- package/web/app/immutable/chunks/{CGVZRNqq.js → B8EyUhsU.js} +1 -1
- package/web/app/immutable/chunks/{DgDI47Tl.js → B8lRKrSj.js} +1 -1
- package/web/app/immutable/chunks/{ivVGXMNS.js → B8z7D92E.js} +1 -1
- package/web/app/immutable/chunks/{BRqOyyER.js → B9_x-PiX.js} +1 -1
- package/web/app/immutable/chunks/{Dlalsrb2.js → BA_dLJoi.js} +1 -1
- package/web/app/immutable/chunks/{CMcfEzCt.js → BBFIIkt3.js} +1 -1
- package/web/app/immutable/chunks/{DOxrGs5l.js → BC2qBoqJ.js} +1 -1
- package/web/app/immutable/chunks/{CjOd6IrN.js → BCXXXhph.js} +1 -1
- package/web/app/immutable/chunks/{TRcwahzR.js → BGDIUFls.js} +1 -1
- package/web/app/immutable/chunks/{DSP3ClFU.js → BIyU-DJK.js} +1 -1
- package/web/app/immutable/chunks/{BsCDeyle.js → BJevbZ6b.js} +1 -1
- package/web/app/immutable/chunks/{CZFJH8pA.js → BKGDTzxi.js} +29 -29
- package/web/app/immutable/chunks/{Dczc0YMo.js → BKjTzecb.js} +1 -1
- package/web/app/immutable/chunks/BLK9_MXJ.js +1 -0
- package/web/app/immutable/chunks/{Bk4gFCP5.js → BLPUk2wE.js} +1 -1
- package/web/app/immutable/chunks/{CK2xtMaJ.js → BMeK3RDc.js} +1 -1
- package/web/app/immutable/chunks/{fUyHJpWx.js → BOCB_5Mq.js} +1 -1
- package/web/app/immutable/chunks/{B524kvVw.js → BOIp2sA8.js} +2 -2
- package/web/app/immutable/chunks/{CVQvxrRM.js → BOXp2u2v.js} +1 -1
- package/web/app/immutable/chunks/{CKiOztob.js → BQSDfUdM.js} +1 -1
- package/web/app/immutable/chunks/{vnFqKiHP.js → BTFetavf.js} +1 -1
- package/web/app/immutable/chunks/{r2I2bB7k.js → BUJszVQU.js} +1 -1
- package/web/app/immutable/chunks/{BxxQ5pIU.js → BUgNMnQK.js} +1 -1
- package/web/app/immutable/chunks/{CuTNRxpo.js → BVu_zw0i.js} +1 -1
- package/web/app/immutable/chunks/{DtL3mwiX.js → BW92tDoj.js} +1 -1
- package/web/app/immutable/chunks/{D7hkdi6r.js → BaY77ElS.js} +1 -1
- package/web/app/immutable/chunks/{CW_MTCOu.js → BepfjQky.js} +1 -1
- package/web/app/immutable/chunks/{DDdEHmdT.js → BfDD9-8-.js} +1 -1
- package/web/app/immutable/chunks/{DSbw-nyW.js → BfLoMdoJ.js} +1 -1
- package/web/app/immutable/chunks/{ChV6OcuF.js → BhLhuxzO.js} +1 -1
- package/web/app/immutable/chunks/{IYLMGQxr.js → BhQoULkp.js} +1 -1
- package/web/app/immutable/chunks/{D02FkLBh.js → BhptSt_t.js} +1 -1
- package/web/app/immutable/chunks/{DjWen1vr.js → BnfqUxHy.js} +1 -1
- package/web/app/immutable/chunks/{CrkvePNd.js → BoRJGEYY.js} +1 -1
- package/web/app/immutable/chunks/{BoAwi0I6.js → BqY6zXt8.js} +1 -1
- package/web/app/immutable/chunks/{CgQiyraX.js → Bswi_ddk.js} +1 -1
- package/web/app/immutable/chunks/{QeTaV4Op.js → BuSLaAvw.js} +1 -1
- package/web/app/immutable/chunks/{D-NAfI6p.js → Bv8X8HVG.js} +1 -1
- package/web/app/immutable/chunks/BxYEiUJG.js +1 -0
- package/web/app/immutable/chunks/{gV7ZxrZ2.js → BxwVL-Fm.js} +1 -1
- package/web/app/immutable/chunks/{R6dAjEem.js → By6RneNn.js} +1 -1
- package/web/app/immutable/chunks/{Dpk7e0gp.js → ByHaUdGf.js} +1 -1
- package/web/app/immutable/chunks/{sOHh4EMg.js → ByrMuSC8.js} +1 -1
- package/web/app/immutable/chunks/{DgvGDMI5.js → Bz3RpCLK.js} +1 -1
- package/web/app/immutable/chunks/{DVijqcE1.js → BzxV99e1.js} +1 -1
- package/web/app/immutable/chunks/{5BaUgoc7.js → C-Bae4WT.js} +1 -1
- package/web/app/immutable/chunks/{oB6nSTCC.js → C49MHRWB.js} +1 -1
- package/web/app/immutable/chunks/{BQKHJuv8.js → C4v4cxss.js} +1 -1
- package/web/app/immutable/chunks/{Ck3dkN4B.js → C7ROHbZN.js} +1 -1
- package/web/app/immutable/chunks/{Df_CcsUd.js → C8PJPEyt.js} +1 -1
- package/web/app/immutable/chunks/{49Xcxy9Z.js → C8j9JMqo.js} +1 -1
- package/web/app/immutable/chunks/{OvSKCwS-.js → C9X3oeee.js} +2 -2
- package/web/app/immutable/chunks/{CZ5Pr0zI.js → CAlQoToi.js} +1 -1
- package/web/app/immutable/chunks/{CCghBHzC.js → CAqQ6ocO.js} +1 -1
- package/web/app/immutable/chunks/{lzfQOUtM.js → CBB0H9gy.js} +1 -1
- package/web/app/immutable/chunks/{DJbnWCnN.js → CBt1geRx.js} +6 -6
- package/web/app/immutable/chunks/{DlUfd75E.js → CCFv83XE.js} +3 -3
- package/web/app/immutable/chunks/{DgvFQ5ps.js → CEifkBBF.js} +1 -1
- package/web/app/immutable/chunks/{V_BIwIYH.js → CF05BHVg.js} +2 -2
- package/web/app/immutable/chunks/{DKBox7Ew.js → CFUuuOCk.js} +1 -1
- package/web/app/immutable/chunks/{C72zM9oE.js → CFpa0qKK.js} +1 -1
- package/web/app/immutable/chunks/CKVMwQIU.js +19 -0
- package/web/app/immutable/chunks/{DQSz8rIC.js → CKwUXTNV.js} +5 -5
- package/web/app/immutable/chunks/{4EPU-1_C.js → CNfmWkr2.js} +1 -1
- package/web/app/immutable/chunks/{C9Az19Q-.js → COHcJhIZ.js} +1 -1
- package/web/app/immutable/chunks/{Do2QepJk.js → CPTVx1j_.js} +1 -1
- package/web/app/immutable/chunks/{BJfH3e03.js → CQR2-ULA.js} +3 -3
- package/web/app/immutable/chunks/{DB531Hr_.js → CRIiIVFe.js} +2 -2
- package/web/app/immutable/chunks/{CCVg2HgS.js → CRVLGDX1.js} +1 -1
- package/web/app/immutable/chunks/{Dby-RtfB.js → CShmL-bJ.js} +1 -1
- package/web/app/immutable/chunks/{DU9iEtZ1.js → CVXLAap3.js} +1 -1
- package/web/app/immutable/chunks/{BLl4jbbs.js → CVpyP8V1.js} +2 -2
- package/web/app/immutable/chunks/{V4Dt-iuy.js → CVxxrZlU.js} +1 -1
- package/web/app/immutable/chunks/{CAoY2-K6.js → CZHW0zTR.js} +1 -1
- package/web/app/immutable/chunks/{BMJ3_jM1.js → C_J-ZvyS.js} +1 -1
- package/web/app/immutable/chunks/{D_FHOcPH.js → C_etBYrd.js} +1 -1
- package/web/app/immutable/chunks/{BZrP_BN5.js → Ccao0BPS.js} +2 -2
- package/web/app/immutable/chunks/{CMeoq2YD.js → Cd2nCrGL.js} +1 -1
- package/web/app/immutable/chunks/{B-NH8jPK.js → Cg1Q3Vce.js} +1 -1
- package/web/app/immutable/chunks/{CPObUSo8.js → Cg1YDdPt.js} +1 -1
- package/web/app/immutable/chunks/{mk8wN9pR.js → CgTaoYRE.js} +1 -1
- package/web/app/immutable/chunks/{IwQXvQKq.js → CgX-NR2x.js} +1 -1
- package/web/app/immutable/chunks/{DZxiqmZj.js → CgYFLqPV.js} +1 -1
- package/web/app/immutable/chunks/{BkH6TsO0.js → ChoOa3ue.js} +1 -1
- package/web/app/immutable/chunks/ChwJR7tq.js +2 -0
- package/web/app/immutable/chunks/{Dy4G53ce.js → CjMMRJKO.js} +1 -1
- package/web/app/immutable/chunks/{CrF5hjNA.js → Cjt2NmNL.js} +1 -1
- package/web/app/immutable/chunks/{VE9Tc-Fm.js → CkCvlKVo.js} +2 -2
- package/web/app/immutable/chunks/{D7ZBvVv7.js → CkFyNl9C.js} +1 -1
- package/web/app/immutable/chunks/{zl8Sz0Gx.js → CkO5mH9l.js} +3 -3
- package/web/app/immutable/chunks/{DVX1HL-4.js → CkVv_2uN.js} +1 -1
- package/web/app/immutable/chunks/{DU9yd1xn.js → CksqvVEv.js} +1 -1
- package/web/app/immutable/chunks/{SrOLwB5L.js → ClKXAKis.js} +1 -1
- package/web/app/immutable/chunks/{CcjhvQaU.js → CmdmUBjO.js} +1 -1
- package/web/app/immutable/chunks/{BvO0zD3q.js → Cn3sgfe9.js} +1 -1
- package/web/app/immutable/chunks/{DudXAl_N.js → CnGmyG1N.js} +1 -1
- package/web/app/immutable/chunks/{CwKQMp5y.js → Cnv2xfJ5.js} +1 -1
- package/web/app/immutable/chunks/{DFRP5ruh.js → CpHf2NNU.js} +2 -2
- package/web/app/immutable/chunks/{9tzjcklF.js → CpqBzFAh.js} +1 -1
- package/web/app/immutable/chunks/{BBvT7Bb8.js → Cs29mItj.js} +1 -1
- package/web/app/immutable/chunks/{Dld3dCA-.js → CtlvWnL2.js} +1 -1
- package/web/app/immutable/chunks/{DkrIcKd4.js → CukTrqVi.js} +3 -3
- package/web/app/immutable/chunks/{Cmsg1-Jz.js → CvEJT2Bp.js} +1 -1
- package/web/app/immutable/chunks/{BtA94G-4.js → CwCU1Sl2.js} +1 -1
- package/web/app/immutable/chunks/{DeFnstZp.js → Cx6BBijv.js} +1 -1
- package/web/app/immutable/chunks/{DDhu5Shq.js → CxFIgZQh.js} +4 -4
- package/web/app/immutable/chunks/{CI-U2zwu.js → CxH_XgDD.js} +1 -1
- package/web/app/immutable/chunks/{Ca0VZzWN.js → CyDNFzzR.js} +1 -1
- package/web/app/immutable/chunks/{DBEuoua2.js → CzJkcVDg.js} +2 -2
- package/web/app/immutable/chunks/{BnY6qa9O.js → D0t3600U.js} +1 -1
- package/web/app/immutable/chunks/{D2MFHl3c.js → D2cK1lQ1.js} +1 -1
- package/web/app/immutable/chunks/{C23Piy_l.js → D4GiefG7.js} +1 -1
- package/web/app/immutable/chunks/{273-ejOd.js → D58l9gbk.js} +1 -1
- package/web/app/immutable/chunks/{Byh9jXBr.js → D7DC5szJ.js} +1 -1
- package/web/app/immutable/chunks/{Cm-Ux8AK.js → D7G7K7c-.js} +1 -1
- package/web/app/immutable/chunks/{CT5WLLvq.js → D7Ooq-cX.js} +1 -1
- package/web/app/immutable/chunks/{CJhkZF1l.js → D7T2_Y9j.js} +1 -1
- package/web/app/immutable/chunks/{YGDnq71P.js → D7gneRCc.js} +1 -1
- package/web/app/immutable/chunks/{CTIoKRdg.js → D8UKP7YR.js} +1 -1
- package/web/app/immutable/chunks/{BwfkZxtl.js → DA-H5C8Y.js} +1 -1
- package/web/app/immutable/chunks/{Bv7Cc181.js → DA6yyw4t.js} +1 -1
- package/web/app/immutable/chunks/{BB6TPLRQ.js → DCK0Naee.js} +1 -1
- package/web/app/immutable/chunks/{cYktK7bI.js → DDQNWelJ.js} +10 -10
- package/web/app/immutable/chunks/{u-Ou3zHY.js → DEG0t0e4.js} +2 -2
- package/web/app/immutable/chunks/{i3h2CX4F.js → DFNIzPXh.js} +1 -1
- package/web/app/immutable/chunks/{55B_mQC6.js → DG59horb.js} +2 -2
- package/web/app/immutable/chunks/{XL81JlY3.js → DGwsJJPM.js} +1 -1
- package/web/app/immutable/chunks/{C2pLxq9N.js → DHDWM67z.js} +1 -1
- package/web/app/immutable/chunks/{CIH3mb7Y.js → DI5kEG-f.js} +1 -1
- package/web/app/immutable/chunks/{BS3L5ssG.js → DILsnJHr.js} +1 -1
- package/web/app/immutable/chunks/{CcVvQKcJ.js → DJ4kCFeu.js} +1 -1
- package/web/app/immutable/chunks/{eeOO6ePS.js → DK60Gbnz.js} +1 -1
- package/web/app/immutable/chunks/{C-_w8CdN.js → DLL1CDAX.js} +2 -2
- package/web/app/immutable/chunks/{Btkc4GhJ.js → DN-zwgZs.js} +1 -1
- package/web/app/immutable/chunks/{CnlzKY2y.js → DNmwPq0o.js} +1 -1
- package/web/app/immutable/chunks/{B9MzVcgv.js → DPbHVaEp.js} +3 -3
- package/web/app/immutable/chunks/{CW_i4yzi.js → DPu6l1xr.js} +1 -1
- package/web/app/immutable/chunks/{DUW0BlH5.js → DQ5722kb.js} +1 -1
- package/web/app/immutable/chunks/{IsZuHG2a.js → DQJIFwfN.js} +1 -1
- package/web/app/immutable/chunks/{DYepVMa7.js → DSAz0okZ.js} +3 -3
- package/web/app/immutable/chunks/{C0Eg_x6y.js → DSK0s2id.js} +1 -1
- package/web/app/immutable/chunks/{B30Ssr1r.js → DSemZQdl.js} +1 -1
- package/web/app/immutable/chunks/{BOypJjQg.js → DWE0HeOH.js} +1 -1
- package/web/app/immutable/chunks/DXQjqgTI.js +2 -0
- package/web/app/immutable/chunks/{BoUhyyfU.js → DXUSKOBi.js} +1 -1
- package/web/app/immutable/chunks/{C0HDG-tg.js → Db4tMHqD.js} +1 -1
- package/web/app/immutable/chunks/{DLme1vI4.js → DbEloQVd.js} +1 -1
- package/web/app/immutable/chunks/{Dtei9o3U.js → DbSExeuK.js} +3 -3
- package/web/app/immutable/chunks/DdyXhBml.js +1 -0
- package/web/app/immutable/chunks/{B-ukGsyU.js → DeAs3CrV.js} +1 -1
- package/web/app/immutable/chunks/{CwSP6heW.js → DfmFIVGk.js} +1 -1
- package/web/app/immutable/chunks/{CDFwOYFZ.js → DgH1Kxzo.js} +1 -1
- package/web/app/immutable/chunks/{jiIr1QvR.js → DhupuNdm.js} +1 -1
- package/web/app/immutable/chunks/{7z2H_RtS.js → DjlgzWYz.js} +1 -1
- package/web/app/immutable/chunks/{DXjHY2hF.js → Djo4jLAK.js} +1 -1
- package/web/app/immutable/chunks/{ipFV2AXr.js → DknRplPn.js} +1 -1
- package/web/app/immutable/chunks/{B1892jNy.js → Dkqghfib.js} +1 -1
- package/web/app/immutable/chunks/{DnIfn_Q5.js → Dl9O9El0.js} +1 -1
- package/web/app/immutable/chunks/{CfpYQrWa.js → DlVuwwPm.js} +1 -1
- package/web/app/immutable/chunks/{C3lmZVdU.js → Do2QraPX.js} +1 -1
- package/web/app/immutable/chunks/{CYvGLw1Y.js → Dpt5qRH-.js} +1 -1
- package/web/app/immutable/chunks/{CCmXROuj.js → DqoSmmzJ.js} +1 -1
- package/web/app/immutable/chunks/{DjfcjPFA.js → DrLFKkMN.js} +1 -1
- package/web/app/immutable/chunks/{Cugknw1m.js → DrV9FRnq.js} +1 -1
- package/web/app/immutable/chunks/DtA2OOMb.js +1 -0
- package/web/app/immutable/chunks/{T2aO1XPv.js → Dw8vhMX8.js} +1 -1
- package/web/app/immutable/chunks/{VKC6gzws.js → Dx4FwkUV.js} +53 -53
- package/web/app/immutable/chunks/{O4y88_QN.js → Dy273g_c.js} +1 -1
- package/web/app/immutable/chunks/{DukwQosN.js → DyAwtID_.js} +1 -1
- package/web/app/immutable/chunks/{_p09hiud.js → HjZp7lPh.js} +1 -1
- package/web/app/immutable/chunks/IVwolD3l.js +1 -0
- package/web/app/immutable/chunks/{ApbPdiAE.js → J2Ik-qgk.js} +1 -1
- package/web/app/immutable/chunks/{H5XG0yyu.js → Jyvn4VFV.js} +2 -2
- package/web/app/immutable/chunks/{DVRDTT5s.js → KbX4WJa3.js} +1 -1
- package/web/app/immutable/chunks/{DsQHEEWt.js → LJbiiLoF.js} +1 -1
- package/web/app/immutable/chunks/{BIzCpN2r.js → M2KsQzCE.js} +1 -1
- package/web/app/immutable/chunks/{DMu4mjpX.js → P5ksjIJq.js} +1 -1
- package/web/app/immutable/chunks/{GzyujEXJ.js → QH2SEUTS.js} +1 -1
- package/web/app/immutable/chunks/{Dk1FwKDL.js → Qo3qzRgV.js} +1 -1
- package/web/app/immutable/chunks/{VlQJw7Mt.js → R4RwwAIT.js} +1 -1
- package/web/app/immutable/chunks/{Bv-JB2Uu.js → R6TUWaQq.js} +1 -1
- package/web/app/immutable/chunks/{CGTFiYKr.js → R7JNw0Kj.js} +1 -1
- package/web/app/immutable/chunks/{D2Hsf4lo.js → R7cFQfJw.js} +1 -1
- package/web/app/immutable/chunks/{j3QkolT-.js → ShyOFQId.js} +3 -3
- package/web/app/immutable/chunks/{BtxYdCDO.js → UJOJMGUV.js} +1 -1
- package/web/app/immutable/chunks/UrKpUjsc.js +1 -0
- package/web/app/immutable/chunks/{JwXVdNK9.js → W3fvY0y9.js} +1 -1
- package/web/app/immutable/chunks/{KJelEqX3.js → Yemr8tAr.js} +1 -1
- package/web/app/immutable/chunks/{COuKp8NZ.js → Z9C8BZgq.js} +1 -1
- package/web/app/immutable/chunks/{mEKKjA-u.js → ZXnl98NQ.js} +1 -1
- package/web/app/immutable/chunks/{BigdBsL9.js → ZZRQ9A5E.js} +1 -1
- package/web/app/immutable/chunks/{Cx547a39.js → _tiHrnhs.js} +4 -4
- package/web/app/immutable/chunks/{BmGPu7Nl.js → bsuDfMJ7.js} +2 -2
- package/web/app/immutable/chunks/{D8l-pxCs.js → cSE4WxMO.js} +1 -1
- package/web/app/immutable/chunks/{D5BYjywr.js → cb3YK4cU.js} +2 -2
- package/web/app/immutable/chunks/{CpnH3je1.js → fR46xO2d.js} +2 -2
- package/web/app/immutable/chunks/{Wm9WFHAU.js → hbDKUMfp.js} +1 -1
- package/web/app/immutable/chunks/{DnWPcgvb.js → hiomoPR0.js} +1 -1
- package/web/app/immutable/chunks/{DcQGtdYG.js → jG9ZxBG9.js} +1 -1
- package/web/app/immutable/chunks/{XWXuV5J_.js → kJEAqQBZ.js} +1 -1
- package/web/app/immutable/chunks/{MJGmlCLu.js → kYECwxqW.js} +1 -1
- package/web/app/immutable/chunks/{CQX4KubR.js → knj_j9t3.js} +1 -1
- package/web/app/immutable/chunks/{DdteGby8.js → oeKvwm9n.js} +1 -1
- package/web/app/immutable/chunks/rVUl07zm.js +1 -0
- package/web/app/immutable/chunks/{D8UQMJEh.js → s0WtN5GJ.js} +1 -1
- package/web/app/immutable/chunks/{DQhHyGm2.js → tF6DpP53.js} +1 -1
- package/web/app/immutable/chunks/{2d9ARddo.js → vZMKGyZD.js} +1 -1
- package/web/app/immutable/chunks/{Le4YFzxz.js → wCe59Qn_.js} +3 -3
- package/web/app/immutable/chunks/{Dkt7Tsgw.js → wL4DOyzk.js} +1 -1
- package/web/app/immutable/chunks/{VKc1-U2z.js → waagD0cO.js} +1 -1
- package/web/app/immutable/chunks/{BpzYGtC7.js → wsChBzD5.js} +1 -1
- package/web/app/immutable/chunks/{CtNKFf3W.js → xXOd43YN.js} +1 -1
- package/web/app/immutable/chunks/{DAgho_P-.js → y427XYTC.js} +1 -1
- package/web/app/immutable/chunks/{CpEHCOut.js → yDAFOpKJ.js} +1 -1
- package/web/app/immutable/chunks/{DDRNgELR.js → yYa77Hy1.js} +1 -1
- package/web/app/immutable/entry/{app.DnikQ4I9.js → app.C4lGM6VF.js} +3 -3
- package/web/app/immutable/entry/start.Dm-EgTQN.js +1 -0
- package/web/app/immutable/nodes/{0.C7A1xQm9.js → 0.qAsdYGwF.js} +1 -1
- package/web/app/immutable/nodes/{1.D3O5lTcl.js → 1.xPfapkeR.js} +1 -1
- package/web/app/immutable/nodes/{10.BaLN4VIK.js → 10.B15mzUUg.js} +4 -4
- package/web/app/immutable/nodes/{11.DNy1N3E_.js → 11.DQfonRjI.js} +1 -1
- package/web/app/immutable/nodes/{12.CkJqJXDQ.js → 12.BhFeMS2H.js} +1 -1
- package/web/app/immutable/nodes/{13.BQO-XqRU.js → 13.BhRY0bGm.js} +3 -3
- package/web/app/immutable/nodes/{14.BycEEfsq.js → 14.a47lQm__.js} +1 -1
- package/web/app/immutable/nodes/{15.Cul5GEsK.js → 15.ByMIoKJb.js} +1 -1
- package/web/app/immutable/nodes/{16.BjrtGDLp.js → 16.BZyTPRIV.js} +2 -2
- package/web/app/immutable/nodes/{2.Cfk2c4l0.js → 2.C4xwnwcF.js} +8 -8
- package/web/app/immutable/nodes/{3.Dp8QGgRH.js → 3.Bp1zelve.js} +1 -1
- package/web/app/immutable/nodes/{4.D3m3OUdj.js → 4.CVUqia69.js} +1 -1
- package/web/app/immutable/nodes/{5.BMBYYbKi.js → 5.CeZEr5fx.js} +2 -2
- package/web/app/immutable/nodes/{6.BIo4yUgT.js → 6.D4BurFfy.js} +1 -1
- package/web/app/immutable/nodes/{7.DdNd4GXX.js → 7.B6cTk0vB.js} +1 -1
- package/web/app/immutable/nodes/8.orOAWU1G.js +15 -0
- package/web/app/immutable/nodes/{9.kCWJBZ1N.js → 9.CgJhFQrz.js} +5 -5
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +18 -18
- package/web/app/immutable/chunks/4Qt-u50Z.js +0 -1
- package/web/app/immutable/chunks/B--T3tY0.js +0 -19
- package/web/app/immutable/chunks/BJzlL5VK.js +0 -1
- package/web/app/immutable/chunks/C-r1nQ0P.js +0 -2
- package/web/app/immutable/chunks/C7-4lB53.js +0 -6
- package/web/app/immutable/chunks/CR8nwpLC.js +0 -1
- package/web/app/immutable/chunks/CduK2Osu.js +0 -1
- package/web/app/immutable/chunks/CmTfIBH2.js +0 -2
- package/web/app/immutable/chunks/DakbBhJV.js +0 -1
- package/web/app/immutable/chunks/DclJ6-AA.js +0 -1
- package/web/app/immutable/chunks/DozYGPQ1.js +0 -1
- package/web/app/immutable/entry/start.DW0TPq6E.js +0 -1
- package/web/app/immutable/nodes/8.Cp6GdAVQ.js +0 -15
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as se,bq as a,a_ as ie,by as ae,b as le}from"./
|
|
1
|
+
import{t as se,bq as a,a_ as ie,by as ae,b as le}from"./BLK9_MXJ.js";import{bs as oe,bV as ge,br as ue,ca as ce,bH as z,a5 as p,bA as m,bS as V,aD as C,b_ as P,W as w,bn as he,c9 as W,aA as l,bl as de,bO as me,aB as I}from"./DYhIMPy1.js";import{h as Y,k as v,i as fe,l as ve}from"./9ZBkr0Qf.js";import{N as be}from"./Jyvn4VFV.js";import{H as R}from"./CoZ28bOB.js";import{C as _e}from"./B6l2HPmZ.js";function A(r){const t={"&":"&","<":"<",">":">",'"':""","'":"'"};return r.replace(/[&<>"']/g,n=>t[n])}const pe=300,Ce=2e6,xe=1e5,u=new Map;let X=0;function Q(r,t){return`${t}\0${r}`}function Z(r,t){const n=Q(r,t),s=u.get(n);return s===void 0?null:(u.delete(n),u.set(n,s),s)}function F(r){const t=u.get(r);t!==void 0&&(X-=r.length+t.length,u.delete(r))}function He(r,t){F(r);const n=r.length+t.length;if(!(n>xe)){for(;u.size>=pe||u.size>0&&X+n>Ce;){const s=u.keys().next().value;if(s===void 0)break;F(s)}u.set(r,t),X+=n}}function ye(){return new Promise(r=>{typeof requestIdleCallback=="function"?requestIdleCallback(()=>r(),{timeout:200}):setTimeout(r,0)})}function Ne(r,t){try{return t&&R.getLanguage(t)?R.highlight(r,{language:t}).value:R.highlightAuto(r).value}catch{return A(r)}}const k=new Map;function Le(r,t,n){const s=Q(r,t),f=u.get(s);if(f!==void 0)return Promise.resolve(f);const c=k.get(s);if(c)return c.staleChecks.push(n??(()=>!1)),c.promise;const g={staleChecks:[n??(()=>!1)],promise:Promise.resolve("")};return g.promise=ye().then(()=>{if(k.get(s)===g&&k.delete(s),g.staleChecks.every(x=>x()))return A(r);const b=Ne(r,t);return He(s,b),b}),k.set(s,g),g.promise}var we=I("<div> </div>"),ke=I('<div class="line-numbers-gutter select-none text-right flex-shrink-0 py-3 pl-3 pr-2 svelte-1irg7m4"></div>'),Ae=I("<div></div>"),Ie=I('<div><div class="absolute top-2 right-2 opacity-0 group-hover:opacity-100 transition-opacity z-10"><!></div> <div class="flex"><!> <div><pre><code></code></pre></div></div></div>');function Se(r,t){if(new.target)return se({component:Se,...r});oe(t,!0);const n=a(t,"code",7,""),s=a(t,"language",7,"plaintext"),f=a(t,"showLineNumbers",7,!1),c=a(t,"startLineNumber",7,1),g=a(t,"highlightLines",23,()=>[]),b=a(t,"fileName",7,""),x=a(t,"filename",7,""),H=a(t,"maxHeight",7,void 0),S=a(t,"noBorder",7,!1),y=a(t,"noMargin",7,!1),M=a(t,"doScroll",7,!0),B=a(t,"className",7,"");let N=ge(ue(Z(n(),s())??A(n())));ce(()=>{const e=n(),i=s(),h=Z(e,i);if(h!==null){z(N,h,!0);return}z(N,A(e),!0);let o=!1;return Le(e,i,()=>o).then(d=>{o||z(N,d,!0)}),()=>{o=!0}});const j=W(()=>C(N).split(`
|
|
2
2
|
`)),U=W(()=>Array.from({length:C(j).length},(e,i)=>c()+i));var $={get code(){return n()},set code(e=""){n(e),l()},get language(){return s()},set language(e="plaintext"){s(e),l()},get showLineNumbers(){return f()},set showLineNumbers(e=!1){f(e),l()},get startLineNumber(){return c()},set startLineNumber(e=1){c(e),l()},get highlightLines(){return g()},set highlightLines(e=[]){g(e),l()},get fileName(){return b()},set fileName(e=""){b(e),l()},get filename(){return x()},set filename(e=""){x(e),l()},get maxHeight(){return H()},set maxHeight(e=void 0){H(e),l()},get noBorder(){return S()},set noBorder(e=!1){S(e),l()},get noMargin(){return y()},set noMargin(e=!1){y(e),l()},get doScroll(){return M()},set doScroll(e=!0){M(e),l()},get className(){return B()},set className(e=""){B(e),l()},$set:ae,$on:(e,i)=>le(t,e,i)},_=Ie();let D;var G=p(_),ee=p(G);_e(ee,{get text(){return n()},size:"xs",class:"bg-background/80 hover:bg-hover text-muted-foreground hover:text-foreground backdrop-blur-sm"}),m(G);var J=V(G,2),K=p(J);{var te=e=>{var i=ke();Y(i,20,()=>C(U),h=>h,(h,o)=>{var d=we();let L;var re=de(d,!0);P(ne=>{L=v(d,1,"line-number svelte-1irg7m4",null,L,{highlighted:ne}),me(re,o)},[()=>g().includes(o)]),w(h,d)}),m(i),w(e,i)};ie(K,e=>{f()&&e(te)})}var E=V(K,2),T=p(E);let O;var q=p(T);return Y(q,21,()=>C(j),fe,(e,i,h)=>{var o=Ae();let d;be(o,()=>C(i)||" ",!0),m(o),P(L=>d=v(o,1,"code-line svelte-1irg7m4",null,d,{highlighted:L}),[()=>g().includes(c()+h)]),w(e,o)}),m(q),m(T),m(E),m(J),m(_),P(()=>{D=v(_,1,`code-block-container group rounded-md overflow-hidden relative ${B()??""}`,"svelte-1irg7m4",D,{"mt-3":!y(),"mb-5":!y(),"no-border":S()}),ve(_,H()?`max-height: ${H()}px; overflow-y: auto;`:""),v(E,1,`flex-1 ${M()?"overflow-x-auto":""}`),O=v(T,1,"code-pre py-3 pr-3 bg-background! svelte-1irg7m4",null,O,{"pl-3":!f()}),v(q,1,`hljs language-${s()??""}`,"svelte-1irg7m4")}),w(r,_),he($)}export{Se as C};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Jt}from"./
|
|
1
|
+
import{g as Jt}from"./y427XYTC.js";import{g as Zt}from"./Cx6BBijv.js";import{s as $t}from"./CxH_XgDD.js";import{b as C,a$ as e1,ay as Z,X as Ae,a1 as t1,aP as s1,bh as at,a_ as i1,aZ as r1,b0 as a1,V as n1,U as u1,Y as o1,z as l1,ax as c1,J as h1,aq as st,as as d1,$ as it,aW as rt,r as p1,a2 as f1,N as g1,am as b1,aU as k1,ab as A1,x as m1,aT as C1,p as S1}from"./B-obUB2z.js";import{c as D1}from"./BqY6zXt8.js";import{aO as T1}from"./waagD0cO.js";var E1="flowchart-",y1=["laneRole","laneIndex","drawnExtent"];function Wt(s){if(!s||typeof s!="object")return s;const i={...s};for(const a of y1)Reflect.deleteProperty(i,a);return i}C(Wt,"withoutInternalKeys");var Pe,x1=(Pe=class{constructor(){this.vertexCounter=0,this.config=Ae(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.droppedSubGraphMembers=[],this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=i1,this.setAccDescription=r1,this.setDiagramTitle=a1,this.getAccTitle=n1,this.getAccDescription=u1,this.getDiagramTitle=o1,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return l1.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}setDiagramId(i){this.diagramId=i}lookUpDomId(i){for(const a of this.vertices.values())if(a.id===i)return this.diagramId?`${this.diagramId}-${a.domId}`:a.domId;return this.diagramId?`${this.diagramId}-${i}`:i}addVertex(i,a,n,r,l,g,o={},m){if(!i||i.trim().length===0)return;let d;if(m!==void 0){let f;m.includes(`
|
|
2
2
|
`)?f=m+`
|
|
3
3
|
`:f=`{
|
|
4
4
|
`+m+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{HR as o,b5 as d}from"./DSAz0okZ.js";const f=o.createSelector((t,r)=>t.uiHighlight.activeById[r.trim()]??0),H=o.createSelector((t,r)=>t.uiHighlight.durationMsById[r.trim()]),n="ui-highlight-pulse-ring";function u(t){return(t??"").trim()}function T(t,r={}){let s=u(r.id??t.dataset.highlightId),a=0,l;function c(){t.classList.remove(n)}function g(e){t.classList.remove(n),t.offsetWidth,t.classList.add(n),l&&clearTimeout(l),l=setTimeout(c,e??d)}function h(){if(!s)return;let e;try{e=o.state}catch{return}const i=f.select(e,s);i>0&&i!==a&&(a=i,g(H.select(e,s)))}const I=setInterval(h,100);return h(),{update(e={}){const i=u(e.id??t.dataset.highlightId);i!==s&&(s=i,a=0,c(),h())},destroy(){clearInterval(I),l&&clearTimeout(l),c()}}}export{T as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var mt=Object.defineProperty;var Qe=r=>{throw TypeError(r)};var yt=(r,e,n)=>e in r?mt(r,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[e]=n;var b=(r,e,n)=>yt(r,typeof e!="symbol"?e+"":e,n),bt=(r,e,n)=>e.has(r)||Qe("Cannot "+n);var l=(r,e,n)=>(bt(r,e,"read from private field"),n?n.call(r):e.get(r)),w=(r,e,n)=>e.has(r)?Qe("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,n);import{aR as D,aP as Ye,aQ as Fe,m as _t,a0 as Ct,l as Ot,ab as Pt,Y as wt,b3 as St,aJ as xt,ad as Nt,bM as Ze,bL as Te,O as $e,bZ as At,w as Et,bN as Ae,bV as R,aD as u,bH as _,c9 as E,bo as _e,bs as L,a7 as I,ay as A,W as O,bn as U,aA as i,a5 as Ce,bf as V,bA as Oe,aB as Y,bS as et,aG as Xe,br as It,ca as kt,bI as it}from"./DYhIMPy1.js";import{B as Ft,t as j,bq as a,a_ as X,by as q,b as z,br as Z,bt as Ee}from"./DozYGPQ1.js";import{B as tt,f as Tt,D as Rt}from"./C72zM9oE.js";import{s as F}from"./B30Ssr1r.js";import{c as Pe}from"./CBE9bOjQ.js";import{h as Dt,a6 as rt,aJ as S,bM as Ge,bu as Mt,b1 as Bt,av as we,aS as Kt,b2 as at,aE as Ie,ad as Wt,l as Xt,aT as M,bn as K,bp as k,I as Gt,n as Jt,j as Lt,al as Ut,ag as nt}from"./DkrIcKd4.js";import{c as Vt}from"./MJGmlCLu.js";import{k as jt}from"./CZ5Pr0zI.js";import{bi as qt}from"./DYepVMa7.js";function kr(r,e,n,o,v,h){let m=D;D&&Ye();var d=null;D&&Fe.nodeType===_t&&(d=Fe,Ye());var P=D?Fe:r,p=$e,f=new Ft(P,!1);Ct(()=>{const y=e()||null;var C=y==="svg"?Et:void 0;if(y===null){f.ensure(null,null),Ae(!0);return}return f.ensure(y,x=>{if(y){var N=D;if(d=D?d:Pt(y,C),wt(d,d),o){var s=null;D&&St(y)&&d.append(s=document.createComment(""));var t=D?xt(d):d.appendChild(Nt());D&&(t===null?Ze(!1):Te(t)),tt(p),o(d,t),s?.remove(),tt(null)}$e.nodes.end=d,N||x.before(d)}D&&Te(x)}),Ae(!0),()=>{y&&Ae(!1)}},Ot),At(()=>{Ae(!0)}),m&&(Ze(!0),Te(P))}const zt=Kt({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),J=new Dt("Dialog.Root | AlertDialog.Root");var re,ne,se,oe,ie,ae,le,de,ce,ue,he;const Je=class Je{constructor(e,n){b(this,"opts");w(this,re,R(null));w(this,ne,R(null));w(this,se,R(null));w(this,oe,R(null));w(this,ie,R(void 0));w(this,ae,R(void 0));w(this,le,R(void 0));w(this,de,R(void 0));w(this,ce,R(null));w(this,ue,R(0));b(this,"depth");b(this,"parent");b(this,"contentPresence");b(this,"overlayPresence");b(this,"getBitsAttr",e=>zt.getAttr(e,this.opts.variant.current));w(this,he,E(()=>({"data-state":Bt(this.opts.open.current)})));this.opts=e,this.parent=n,this.depth=n?n.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new rt({ref:S(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new rt({ref:S(()=>this.overlayNode),open:this.opts.open,enabled:!0}),Ge(()=>this.opts.open.current,o=>{this.parent&&(o?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),Mt(()=>{this.opts.open.current&&this.parent?.decrementNested()})}static create(e){const n=J.getOr(null);return J.set(new Je(e,n))}get triggerNode(){return u(l(this,re))}set triggerNode(e){_(l(this,re),e,!0)}get contentNode(){return u(l(this,ne))}set contentNode(e){_(l(this,ne),e,!0)}get overlayNode(){return u(l(this,se))}set overlayNode(e){_(l(this,se),e,!0)}get descriptionNode(){return u(l(this,oe))}set descriptionNode(e){_(l(this,oe),e,!0)}get contentId(){return u(l(this,ie))}set contentId(e){_(l(this,ie),e,!0)}get titleId(){return u(l(this,ae))}set titleId(e){_(l(this,ae),e,!0)}get triggerId(){return u(l(this,le))}set triggerId(e){_(l(this,le),e,!0)}get descriptionId(){return u(l(this,de))}set descriptionId(e){_(l(this,de),e,!0)}get cancelNode(){return u(l(this,ce))}set cancelNode(e){_(l(this,ce),e,!0)}get nestedOpenCount(){return u(l(this,ue))}set nestedOpenCount(e){_(l(this,ue),e,!0)}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){this.nestedOpenCount!==0&&(this.nestedOpenCount--,this.parent?.decrementNested())}get sharedProps(){return u(l(this,he))}set sharedProps(e){_(l(this,he),e)}};re=new WeakMap,ne=new WeakMap,se=new WeakMap,oe=new WeakMap,ie=new WeakMap,ae=new WeakMap,le=new WeakMap,de=new WeakMap,ce=new WeakMap,ue=new WeakMap,he=new WeakMap;let Re=Je;var pe;const Le=class Le{constructor(e,n){b(this,"opts");b(this,"root");b(this,"attachment");w(this,pe,E(()=>({id:this.opts.id.current,[this.root.getBitsAttr(this.opts.variant.current)]:"",onclick:this.onclick,onkeydown:this.onkeydown,disabled:this.opts.disabled.current?!0:void 0,tabindex:0,...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=n,this.attachment=we(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}static create(e){return new Le(e,J.get())}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleClose()}onkeydown(e){this.opts.disabled.current||(e.key===Wt||e.key===Xt)&&(e.preventDefault(),this.root.handleClose())}get props(){return u(l(this,pe))}set props(e){_(l(this,pe),e)}};pe=new WeakMap;let De=Le;var fe;const Ue=class Ue{constructor(e,n){b(this,"opts");b(this,"root");b(this,"attachment");w(this,fe,E(()=>({id:this.opts.id.current,role:"heading","aria-level":this.opts.level.current,[this.root.getBitsAttr("title")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=n,this.root.titleId=this.opts.id.current,this.attachment=we(this.opts.ref),Ge.pre(()=>this.opts.id.current,o=>{this.root.titleId=o})}static create(e){return new Ue(e,J.get())}get props(){return u(l(this,fe))}set props(e){_(l(this,fe),e)}};fe=new WeakMap;let Me=Ue;var ge;const Ve=class Ve{constructor(e,n){b(this,"opts");b(this,"root");b(this,"attachment");w(this,ge,E(()=>({id:this.opts.id.current,[this.root.getBitsAttr("description")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=n,this.root.descriptionId=this.opts.id.current,this.attachment=we(this.opts.ref,o=>{this.root.descriptionNode=o}),Ge.pre(()=>this.opts.id.current,o=>{this.root.descriptionId=o})}static create(e){return new Ve(e,J.get())}get props(){return u(l(this,ge))}set props(e){_(l(this,ge),e)}};ge=new WeakMap;let Be=Ve;var ve,me;const je=class je{constructor(e,n){b(this,"opts");b(this,"root");b(this,"attachment");w(this,ve,E(()=>({open:this.root.opts.open.current})));w(this,me,E(()=>({id:this.opts.id.current,role:this.root.opts.variant.current==="alert-dialog"?"alertdialog":"dialog","aria-modal":"true","aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.getBitsAttr("content")]:"",style:{pointerEvents:"auto",outline:this.root.opts.variant.current==="alert-dialog"?"none":void 0,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount,contain:"layout style"},tabindex:this.root.opts.variant.current==="alert-dialog"?-1:void 0,"data-nested-open":Ie(this.root.nestedOpenCount>0),"data-nested":Ie(this.root.parent!==null),...at(this.root.contentPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=n,this.attachment=we(this.opts.ref,o=>{this.root.contentNode=o,this.root.contentId=o?.id})}static create(e){return new je(e,J.get())}get snippetProps(){return u(l(this,ve))}set snippetProps(e){_(l(this,ve),e)}get props(){return u(l(this,me))}set props(e){_(l(this,me),e)}get shouldRender(){return this.root.contentPresence.shouldRender}};ve=new WeakMap,me=new WeakMap;let Ke=je;var ye,be;const qe=class qe{constructor(e,n){b(this,"opts");b(this,"root");b(this,"attachment");w(this,ye,E(()=>({open:this.root.opts.open.current})));w(this,be,E(()=>({id:this.opts.id.current,[this.root.getBitsAttr("overlay")]:"",style:{pointerEvents:"auto","--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount},"data-nested-open":Ie(this.root.nestedOpenCount>0),"data-nested":Ie(this.root.parent!==null),...at(this.root.overlayPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=n,this.attachment=we(this.opts.ref,o=>this.root.overlayNode=o)}static create(e){return new qe(e,J.get())}get snippetProps(){return u(l(this,ye))}set snippetProps(e){_(l(this,ye),e)}get props(){return u(l(this,be))}set props(e){_(l(this,be),e)}get shouldRender(){return this.root.overlayPresence.shouldRender}};ye=new WeakMap,be=new WeakMap;let We=qe;var Ht=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","level"]),Qt=Y("<div><!></div>");function Yt(r,e){const n=_e();if(new.target)return j({component:Yt,...r});L(e,!0);let o=a(e,"id",23,()=>M(n)),v=a(e,"ref",15,null),h=a(e,"child",7),m=a(e,"children",7),d=a(e,"level",7,2),P=Z(e,Ht);const p=Me.create({id:S(()=>o()),level:S(()=>d()),ref:S(()=>v(),t=>v(t))}),f=E(()=>K(P,p.props));var y={get id(){return o()},set id(t=M(n)){o(t),i()},get ref(){return v()},set ref(t=null){v(t),i()},get child(){return h()},set child(t){h(t),i()},get children(){return m()},set children(t){m(t),i()},get level(){return d()},set level(t=2){d(t),i()},$set:q,$on:(t,g)=>z(e,t,g)},C=I(),x=A(C);{var N=t=>{var g=I(),T=A(g);F(T,h,()=>({props:u(f)})),O(t,g)},s=t=>{var g=Qt();Pe(g,()=>({...u(f)}));var T=Ce(g);F(T,()=>m()??V),Oe(g),O(t,g)};X(x,t=>{h()?t(N):t(s,-1)})}return O(r,C),U(y)}var Zt=new Set(["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]),$t=Y("<div><!></div>");function er(r,e){const n=_e();if(new.target)return j({component:er,...r});L(e,!0);let o=a(e,"id",23,()=>M(n)),v=a(e,"forceMount",7,!1),h=a(e,"child",7),m=a(e,"children",7),d=a(e,"ref",15,null),P=Z(e,Zt);const p=We.create({id:S(()=>o()),ref:S(()=>d(),s=>d(s))}),f=E(()=>K(P,p.props));var y={get id(){return o()},set id(s=M(n)){o(s),i()},get forceMount(){return v()},set forceMount(s=!1){v(s),i()},get child(){return h()},set child(s){h(s),i()},get children(){return m()},set children(s){m(s),i()},get ref(){return d()},set ref(s=null){d(s),i()},$set:q,$on:(s,t)=>z(e,s,t)},C=I(),x=A(C);{var N=s=>{var t=I(),g=A(t);{var T=W=>{var B=I(),c=A(B);{let H=E(()=>({props:K(u(f)),...p.snippetProps}));F(c,h,()=>u(H))}O(W,B)},Se=W=>{var B=$t();Pe(B,H=>({...H}),[()=>K(u(f))]);var c=Ce(B);F(c,()=>m()??V,()=>p.snippetProps),Oe(B),O(W,B)};X(g,W=>{h()?W(T):W(Se,-1)})}O(s,t)};X(x,s=>{(p.shouldRender||v())&&s(N)})}return O(r,C),U(y)}var tr=new Set(["$$slots","$$events","$$legacy","id","children","child","ref"]),rr=Y("<div><!></div>");function nr(r,e){const n=_e();if(new.target)return j({component:nr,...r});L(e,!0);let o=a(e,"id",23,()=>M(n)),v=a(e,"children",7),h=a(e,"child",7),m=a(e,"ref",15,null),d=Z(e,tr);const P=Be.create({id:S(()=>o()),ref:S(()=>m(),s=>m(s))}),p=E(()=>K(d,P.props));var f={get id(){return o()},set id(s=M(n)){o(s),i()},get children(){return v()},set children(s){v(s),i()},get child(){return h()},set child(s){h(s),i()},get ref(){return m()},set ref(s=null){m(s),i()},$set:q,$on:(s,t)=>z(e,s,t)},y=I(),C=A(y);{var x=s=>{var t=I(),g=A(t);F(g,h,()=>({props:u(p)})),O(s,t)},N=s=>{var t=rr();Pe(t,()=>({...u(p)}));var g=Ce(t);F(g,()=>v()??V),Oe(t),O(s,t)};X(C,s=>{h()?s(x):s(N,-1)})}return O(r,y),U(f)}function lt(r,e){if(new.target)return j({component:lt,...r});L(e,!0);let n=a(e,"open",15,!1),o=a(e,"onOpenChange",7,k),v=a(e,"onOpenChangeComplete",7,k),h=a(e,"children",7);Re.create({variant:S(()=>"dialog"),open:S(()=>n(),p=>{n(p),o()(p)}),onOpenChangeComplete:S(()=>v())});var m={get open(){return n()},set open(p=!1){n(p),i()},get onOpenChange(){return o()},set onOpenChange(p=k){o(p),i()},get onOpenChangeComplete(){return v()},set onOpenChangeComplete(p=k){v(p),i()},get children(){return h()},set children(p){h(p),i()},$set:q,$on:(p,f)=>z(e,p,f)},d=I(),P=A(d);return F(P,()=>h()??V),O(r,d),U(m)}var sr=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]),or=Y("<button><!></button>");function ir(r,e){const n=_e();if(new.target)return j({component:ir,...r});L(e,!0);let o=a(e,"children",7),v=a(e,"child",7),h=a(e,"id",23,()=>M(n)),m=a(e,"ref",15,null),d=a(e,"disabled",7,!1),P=Z(e,sr);const p=De.create({variant:S(()=>"close"),id:S(()=>h()),ref:S(()=>m(),t=>m(t)),disabled:S(()=>!!d())}),f=E(()=>K(P,p.props));var y={get children(){return o()},set children(t){o(t),i()},get child(){return v()},set child(t){v(t),i()},get id(){return h()},set id(t=M(n)){h(t),i()},get ref(){return m()},set ref(t=null){m(t),i()},get disabled(){return d()},set disabled(t=!1){d(t),i()},$set:q,$on:(t,g)=>z(e,t,g)},C=I(),x=A(C);{var N=t=>{var g=I(),T=A(g);F(T,v,()=>({props:u(f)})),O(t,g)},s=t=>{var g=or();Pe(g,()=>({...u(f)}));var T=Ce(g);F(T,()=>o()??V),Oe(g),O(t,g)};X(x,t=>{v()?t(N):t(s,-1)})}return O(r,C),U(y)}var ar=new Set(["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]),lr=Y("<!> <!>",1),dr=Y("<!> <div><!></div>",1);function cr(r,e){const n=_e();if(new.target)return j({component:cr,...r});L(e,!0);let o=a(e,"id",23,()=>M(n)),v=a(e,"children",7),h=a(e,"child",7),m=a(e,"ref",15,null),d=a(e,"forceMount",7,!1),P=a(e,"onCloseAutoFocus",7,k),p=a(e,"onOpenAutoFocus",7,k),f=a(e,"onEscapeKeydown",7,k),y=a(e,"onInteractOutside",7,k),C=a(e,"trapFocus",7,!0),x=a(e,"preventScroll",7,!0),N=a(e,"restoreScrollDelay",7,null),s=Z(e,ar);const t=Ke.create({id:S(()=>o()),ref:S(()=>m(),c=>m(c))}),g=E(()=>K(s,t.props));var T={get id(){return o()},set id(c=M(n)){o(c),i()},get children(){return v()},set children(c){v(c),i()},get child(){return h()},set child(c){h(c),i()},get ref(){return m()},set ref(c=null){m(c),i()},get forceMount(){return d()},set forceMount(c=!1){d(c),i()},get onCloseAutoFocus(){return P()},set onCloseAutoFocus(c=k){P(c),i()},get onOpenAutoFocus(){return p()},set onOpenAutoFocus(c=k){p(c),i()},get onEscapeKeydown(){return f()},set onEscapeKeydown(c=k){f(c),i()},get onInteractOutside(){return y()},set onInteractOutside(c=k){y(c),i()},get trapFocus(){return C()},set trapFocus(c=!0){C(c),i()},get preventScroll(){return x()},set preventScroll(c=!0){x(c),i()},get restoreScrollDelay(){return N()},set restoreScrollDelay(c=null){N(c),i()},$set:q,$on:(c,H)=>z(e,c,H)},Se=I(),W=A(Se);{var B=c=>{Gt(c,{get ref(){return t.opts.ref},loop:!0,get trapFocus(){return C()},get enabled(){return t.root.opts.open.current},get onOpenAutoFocus(){return p()},get onCloseAutoFocus(){return P()},focusScope:(ut,ht)=>{let ze=()=>(ht?.()).props;Jt(ut,Ee(()=>u(g),{get enabled(){return t.root.opts.open.current},get ref(){return t.opts.ref},onEscapeKeydown:xe=>{f()(xe),!xe.defaultPrevented&&t.root.handleClose()},children:(xe,yr)=>{Lt(xe,Ee(()=>u(g),{get ref(){return t.opts.ref},get enabled(){return t.root.opts.open.current},onInteractOutside:Ne=>{y()(Ne),!Ne.defaultPrevented&&t.root.handleClose()},children:(Ne,br)=>{Ut(Ne,Ee(()=>u(g),{get ref(){return t.opts.ref},get enabled(){return t.root.opts.open.current},children:(pt,_r)=>{var He=I(),ft=A(He);{var gt=Q=>{var $=lr(),ee=A($);{var te=G=>{nt(G,{get preventScroll(){return x()},get restoreScrollDelay(){return N()}})};X(ee,G=>{t.root.opts.open.current&&G(te)})}var ke=et(ee,2);{let G=E(()=>({props:K(u(g),ze()),...t.snippetProps}));F(ke,h,()=>u(G))}O(Q,$)},vt=Q=>{var $=dr(),ee=A($);nt(ee,{get preventScroll(){return x()}});var te=et(ee,2);Pe(te,G=>({...G}),[()=>K(u(g),ze())]);var ke=Ce(te);F(ke,()=>v()??V),Oe(te),O(Q,$)};X(ft,Q=>{h()?Q(gt):Q(vt,-1)})}O(pt,He)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};X(W,c=>{(t.shouldRender||d())&&c(B)})}return O(r,Se),U(T)}const dt=Symbol("overlay-open"),ct=Symbol("overlay-static"),st={tier:"moderate",x:0,y:0,scale:1,opacity:0},ot={tier:"slow",x:0,y:8,scale:.97,opacity:0},ur={top:{x:0,y:"-100%"},right:{x:"100%",y:0},bottom:{x:0,y:"100%"},left:{x:"-100%",y:0}},Fr={backdrop:{enter:st,exit:st},dialog:{enter:ot,exit:ot},sheet(r){const e={tier:"slow",scale:1,opacity:1,...ur[r]};return{enter:e,exit:e}}};function hr(r){it(dt,r)}function Tr(){const r=Xe(dt);if(!r)throw new Error("Dialog or Sheet Content must be nested inside its Root.");return r}function pr(r){it(ct,r)}function Rr(){return Xe(ct)??(()=>!1)}function Dr(r){let e=R(It(r()));return kt(()=>{if(r()){_(e,!0);return}if(!u(e))return;const n=window.setTimeout(()=>_(e,!1),Tt(Rt.slow));return()=>window.clearTimeout(n)}),{get mounted(){return u(e)},finishExit(){r()||_(e,!1)}}}var fr=new Set(["$$slots","$$events","$$legacy","open","staticPosition","children","onOpenChange"]);function gr(r,e){if(new.target)return j({component:gr,...r});L(e,!0);let n=a(e,"open",15,!1),o=a(e,"staticPosition",7,!1),v=a(e,"children",7),h=a(e,"onOpenChange",7),m=Z(e,fr);hr(()=>n()),pr(()=>o()),jt(()=>{n(!1),h()?.(!1)});var d={get open(){return n()},set open(f=!1){n(f),i()},get staticPosition(){return o()},set staticPosition(f=!1){o(f),i()},get children(){return v()},set children(f){v(f),i()},get onOpenChange(){return h()},set onOpenChange(f){h(f),i()},$set:q,$on:(f,y)=>z(e,f,y)},P=I(),p=A(P);return Vt(p,()=>lt,(f,y)=>{y(f,Ee({get onOpenChange(){return h()}},()=>m,{get open(){return n()},set open(C){n(C)},children:(C,x)=>{var N=I(),s=A(N);F(s,()=>v()??V),O(C,N)},$$slots:{default:!0}}))}),O(r,P),U(d)}const vr=Symbol("workspace-route-context");function mr(r){return r&&r!=="new"?qt(r):null}function Mr(r,e){return r?.startsWith("/workspace/")?mr(e):null}function Br(){try{return Xe(vr)}catch{return}}export{ir as D,gr as O,vr as W,cr as a,nr as b,er as c,Yt as d,Dr as e,kr as f,Br as g,Rr as h,mr as i,Fr as o,Tr as u,Mr as w};
|
|
1
|
+
var mt=Object.defineProperty;var Qe=r=>{throw TypeError(r)};var yt=(r,e,n)=>e in r?mt(r,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[e]=n;var b=(r,e,n)=>yt(r,typeof e!="symbol"?e+"":e,n),bt=(r,e,n)=>e.has(r)||Qe("Cannot "+n);var l=(r,e,n)=>(bt(r,e,"read from private field"),n?n.call(r):e.get(r)),w=(r,e,n)=>e.has(r)?Qe("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,n);import{aR as D,aP as Ye,aQ as Fe,m as _t,a0 as Ct,l as Ot,ab as Pt,Y as wt,b3 as St,aJ as xt,ad as Nt,bM as Ze,bL as Te,O as $e,bZ as At,w as Et,bN as Ae,bV as R,aD as u,bH as _,c9 as E,bo as _e,bs as L,a7 as I,ay as A,W as O,bn as U,aA as i,a5 as Ce,bf as V,bA as Oe,aB as Y,bS as et,aG as Xe,br as It,ca as kt,bI as it}from"./DYhIMPy1.js";import{B as Ft,t as j,bq as a,a_ as X,by as q,b as z,br as Z,bt as Ee}from"./BLK9_MXJ.js";import{B as tt,f as Tt,D as Rt}from"./CFpa0qKK.js";import{s as F}from"./DSemZQdl.js";import{c as Pe}from"./9ZBkr0Qf.js";import{h as Dt,a6 as rt,aJ as S,bM as Ge,bu as Mt,b1 as Bt,av as we,aS as Kt,b2 as at,aE as Ie,ad as Wt,l as Xt,aT as M,bn as K,bp as k,I as Gt,n as Jt,j as Lt,al as Ut,ag as nt}from"./CukTrqVi.js";import{c as Vt}from"./kYECwxqW.js";import{k as jt}from"./CAlQoToi.js";import{bi as qt}from"./DSAz0okZ.js";function kr(r,e,n,o,v,h){let m=D;D&&Ye();var d=null;D&&Fe.nodeType===_t&&(d=Fe,Ye());var P=D?Fe:r,p=$e,f=new Ft(P,!1);Ct(()=>{const y=e()||null;var C=y==="svg"?Et:void 0;if(y===null){f.ensure(null,null),Ae(!0);return}return f.ensure(y,x=>{if(y){var N=D;if(d=D?d:Pt(y,C),wt(d,d),o){var s=null;D&&St(y)&&d.append(s=document.createComment(""));var t=D?xt(d):d.appendChild(Nt());D&&(t===null?Ze(!1):Te(t)),tt(p),o(d,t),s?.remove(),tt(null)}$e.nodes.end=d,N||x.before(d)}D&&Te(x)}),Ae(!0),()=>{y&&Ae(!1)}},Ot),At(()=>{Ae(!0)}),m&&(Ze(!0),Te(P))}const zt=Kt({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),J=new Dt("Dialog.Root | AlertDialog.Root");var re,ne,se,oe,ie,ae,le,de,ce,ue,he;const Je=class Je{constructor(e,n){b(this,"opts");w(this,re,R(null));w(this,ne,R(null));w(this,se,R(null));w(this,oe,R(null));w(this,ie,R(void 0));w(this,ae,R(void 0));w(this,le,R(void 0));w(this,de,R(void 0));w(this,ce,R(null));w(this,ue,R(0));b(this,"depth");b(this,"parent");b(this,"contentPresence");b(this,"overlayPresence");b(this,"getBitsAttr",e=>zt.getAttr(e,this.opts.variant.current));w(this,he,E(()=>({"data-state":Bt(this.opts.open.current)})));this.opts=e,this.parent=n,this.depth=n?n.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new rt({ref:S(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new rt({ref:S(()=>this.overlayNode),open:this.opts.open,enabled:!0}),Ge(()=>this.opts.open.current,o=>{this.parent&&(o?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),Mt(()=>{this.opts.open.current&&this.parent?.decrementNested()})}static create(e){const n=J.getOr(null);return J.set(new Je(e,n))}get triggerNode(){return u(l(this,re))}set triggerNode(e){_(l(this,re),e,!0)}get contentNode(){return u(l(this,ne))}set contentNode(e){_(l(this,ne),e,!0)}get overlayNode(){return u(l(this,se))}set overlayNode(e){_(l(this,se),e,!0)}get descriptionNode(){return u(l(this,oe))}set descriptionNode(e){_(l(this,oe),e,!0)}get contentId(){return u(l(this,ie))}set contentId(e){_(l(this,ie),e,!0)}get titleId(){return u(l(this,ae))}set titleId(e){_(l(this,ae),e,!0)}get triggerId(){return u(l(this,le))}set triggerId(e){_(l(this,le),e,!0)}get descriptionId(){return u(l(this,de))}set descriptionId(e){_(l(this,de),e,!0)}get cancelNode(){return u(l(this,ce))}set cancelNode(e){_(l(this,ce),e,!0)}get nestedOpenCount(){return u(l(this,ue))}set nestedOpenCount(e){_(l(this,ue),e,!0)}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){this.nestedOpenCount!==0&&(this.nestedOpenCount--,this.parent?.decrementNested())}get sharedProps(){return u(l(this,he))}set sharedProps(e){_(l(this,he),e)}};re=new WeakMap,ne=new WeakMap,se=new WeakMap,oe=new WeakMap,ie=new WeakMap,ae=new WeakMap,le=new WeakMap,de=new WeakMap,ce=new WeakMap,ue=new WeakMap,he=new WeakMap;let Re=Je;var pe;const Le=class Le{constructor(e,n){b(this,"opts");b(this,"root");b(this,"attachment");w(this,pe,E(()=>({id:this.opts.id.current,[this.root.getBitsAttr(this.opts.variant.current)]:"",onclick:this.onclick,onkeydown:this.onkeydown,disabled:this.opts.disabled.current?!0:void 0,tabindex:0,...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=n,this.attachment=we(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}static create(e){return new Le(e,J.get())}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleClose()}onkeydown(e){this.opts.disabled.current||(e.key===Wt||e.key===Xt)&&(e.preventDefault(),this.root.handleClose())}get props(){return u(l(this,pe))}set props(e){_(l(this,pe),e)}};pe=new WeakMap;let De=Le;var fe;const Ue=class Ue{constructor(e,n){b(this,"opts");b(this,"root");b(this,"attachment");w(this,fe,E(()=>({id:this.opts.id.current,role:"heading","aria-level":this.opts.level.current,[this.root.getBitsAttr("title")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=n,this.root.titleId=this.opts.id.current,this.attachment=we(this.opts.ref),Ge.pre(()=>this.opts.id.current,o=>{this.root.titleId=o})}static create(e){return new Ue(e,J.get())}get props(){return u(l(this,fe))}set props(e){_(l(this,fe),e)}};fe=new WeakMap;let Me=Ue;var ge;const Ve=class Ve{constructor(e,n){b(this,"opts");b(this,"root");b(this,"attachment");w(this,ge,E(()=>({id:this.opts.id.current,[this.root.getBitsAttr("description")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=n,this.root.descriptionId=this.opts.id.current,this.attachment=we(this.opts.ref,o=>{this.root.descriptionNode=o}),Ge.pre(()=>this.opts.id.current,o=>{this.root.descriptionId=o})}static create(e){return new Ve(e,J.get())}get props(){return u(l(this,ge))}set props(e){_(l(this,ge),e)}};ge=new WeakMap;let Be=Ve;var ve,me;const je=class je{constructor(e,n){b(this,"opts");b(this,"root");b(this,"attachment");w(this,ve,E(()=>({open:this.root.opts.open.current})));w(this,me,E(()=>({id:this.opts.id.current,role:this.root.opts.variant.current==="alert-dialog"?"alertdialog":"dialog","aria-modal":"true","aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.getBitsAttr("content")]:"",style:{pointerEvents:"auto",outline:this.root.opts.variant.current==="alert-dialog"?"none":void 0,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount,contain:"layout style"},tabindex:this.root.opts.variant.current==="alert-dialog"?-1:void 0,"data-nested-open":Ie(this.root.nestedOpenCount>0),"data-nested":Ie(this.root.parent!==null),...at(this.root.contentPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=n,this.attachment=we(this.opts.ref,o=>{this.root.contentNode=o,this.root.contentId=o?.id})}static create(e){return new je(e,J.get())}get snippetProps(){return u(l(this,ve))}set snippetProps(e){_(l(this,ve),e)}get props(){return u(l(this,me))}set props(e){_(l(this,me),e)}get shouldRender(){return this.root.contentPresence.shouldRender}};ve=new WeakMap,me=new WeakMap;let Ke=je;var ye,be;const qe=class qe{constructor(e,n){b(this,"opts");b(this,"root");b(this,"attachment");w(this,ye,E(()=>({open:this.root.opts.open.current})));w(this,be,E(()=>({id:this.opts.id.current,[this.root.getBitsAttr("overlay")]:"",style:{pointerEvents:"auto","--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount},"data-nested-open":Ie(this.root.nestedOpenCount>0),"data-nested":Ie(this.root.parent!==null),...at(this.root.overlayPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=n,this.attachment=we(this.opts.ref,o=>this.root.overlayNode=o)}static create(e){return new qe(e,J.get())}get snippetProps(){return u(l(this,ye))}set snippetProps(e){_(l(this,ye),e)}get props(){return u(l(this,be))}set props(e){_(l(this,be),e)}get shouldRender(){return this.root.overlayPresence.shouldRender}};ye=new WeakMap,be=new WeakMap;let We=qe;var Ht=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","level"]),Qt=Y("<div><!></div>");function Yt(r,e){const n=_e();if(new.target)return j({component:Yt,...r});L(e,!0);let o=a(e,"id",23,()=>M(n)),v=a(e,"ref",15,null),h=a(e,"child",7),m=a(e,"children",7),d=a(e,"level",7,2),P=Z(e,Ht);const p=Me.create({id:S(()=>o()),level:S(()=>d()),ref:S(()=>v(),t=>v(t))}),f=E(()=>K(P,p.props));var y={get id(){return o()},set id(t=M(n)){o(t),i()},get ref(){return v()},set ref(t=null){v(t),i()},get child(){return h()},set child(t){h(t),i()},get children(){return m()},set children(t){m(t),i()},get level(){return d()},set level(t=2){d(t),i()},$set:q,$on:(t,g)=>z(e,t,g)},C=I(),x=A(C);{var N=t=>{var g=I(),T=A(g);F(T,h,()=>({props:u(f)})),O(t,g)},s=t=>{var g=Qt();Pe(g,()=>({...u(f)}));var T=Ce(g);F(T,()=>m()??V),Oe(g),O(t,g)};X(x,t=>{h()?t(N):t(s,-1)})}return O(r,C),U(y)}var Zt=new Set(["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]),$t=Y("<div><!></div>");function er(r,e){const n=_e();if(new.target)return j({component:er,...r});L(e,!0);let o=a(e,"id",23,()=>M(n)),v=a(e,"forceMount",7,!1),h=a(e,"child",7),m=a(e,"children",7),d=a(e,"ref",15,null),P=Z(e,Zt);const p=We.create({id:S(()=>o()),ref:S(()=>d(),s=>d(s))}),f=E(()=>K(P,p.props));var y={get id(){return o()},set id(s=M(n)){o(s),i()},get forceMount(){return v()},set forceMount(s=!1){v(s),i()},get child(){return h()},set child(s){h(s),i()},get children(){return m()},set children(s){m(s),i()},get ref(){return d()},set ref(s=null){d(s),i()},$set:q,$on:(s,t)=>z(e,s,t)},C=I(),x=A(C);{var N=s=>{var t=I(),g=A(t);{var T=W=>{var B=I(),c=A(B);{let H=E(()=>({props:K(u(f)),...p.snippetProps}));F(c,h,()=>u(H))}O(W,B)},Se=W=>{var B=$t();Pe(B,H=>({...H}),[()=>K(u(f))]);var c=Ce(B);F(c,()=>m()??V,()=>p.snippetProps),Oe(B),O(W,B)};X(g,W=>{h()?W(T):W(Se,-1)})}O(s,t)};X(x,s=>{(p.shouldRender||v())&&s(N)})}return O(r,C),U(y)}var tr=new Set(["$$slots","$$events","$$legacy","id","children","child","ref"]),rr=Y("<div><!></div>");function nr(r,e){const n=_e();if(new.target)return j({component:nr,...r});L(e,!0);let o=a(e,"id",23,()=>M(n)),v=a(e,"children",7),h=a(e,"child",7),m=a(e,"ref",15,null),d=Z(e,tr);const P=Be.create({id:S(()=>o()),ref:S(()=>m(),s=>m(s))}),p=E(()=>K(d,P.props));var f={get id(){return o()},set id(s=M(n)){o(s),i()},get children(){return v()},set children(s){v(s),i()},get child(){return h()},set child(s){h(s),i()},get ref(){return m()},set ref(s=null){m(s),i()},$set:q,$on:(s,t)=>z(e,s,t)},y=I(),C=A(y);{var x=s=>{var t=I(),g=A(t);F(g,h,()=>({props:u(p)})),O(s,t)},N=s=>{var t=rr();Pe(t,()=>({...u(p)}));var g=Ce(t);F(g,()=>v()??V),Oe(t),O(s,t)};X(C,s=>{h()?s(x):s(N,-1)})}return O(r,y),U(f)}function lt(r,e){if(new.target)return j({component:lt,...r});L(e,!0);let n=a(e,"open",15,!1),o=a(e,"onOpenChange",7,k),v=a(e,"onOpenChangeComplete",7,k),h=a(e,"children",7);Re.create({variant:S(()=>"dialog"),open:S(()=>n(),p=>{n(p),o()(p)}),onOpenChangeComplete:S(()=>v())});var m={get open(){return n()},set open(p=!1){n(p),i()},get onOpenChange(){return o()},set onOpenChange(p=k){o(p),i()},get onOpenChangeComplete(){return v()},set onOpenChangeComplete(p=k){v(p),i()},get children(){return h()},set children(p){h(p),i()},$set:q,$on:(p,f)=>z(e,p,f)},d=I(),P=A(d);return F(P,()=>h()??V),O(r,d),U(m)}var sr=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]),or=Y("<button><!></button>");function ir(r,e){const n=_e();if(new.target)return j({component:ir,...r});L(e,!0);let o=a(e,"children",7),v=a(e,"child",7),h=a(e,"id",23,()=>M(n)),m=a(e,"ref",15,null),d=a(e,"disabled",7,!1),P=Z(e,sr);const p=De.create({variant:S(()=>"close"),id:S(()=>h()),ref:S(()=>m(),t=>m(t)),disabled:S(()=>!!d())}),f=E(()=>K(P,p.props));var y={get children(){return o()},set children(t){o(t),i()},get child(){return v()},set child(t){v(t),i()},get id(){return h()},set id(t=M(n)){h(t),i()},get ref(){return m()},set ref(t=null){m(t),i()},get disabled(){return d()},set disabled(t=!1){d(t),i()},$set:q,$on:(t,g)=>z(e,t,g)},C=I(),x=A(C);{var N=t=>{var g=I(),T=A(g);F(T,v,()=>({props:u(f)})),O(t,g)},s=t=>{var g=or();Pe(g,()=>({...u(f)}));var T=Ce(g);F(T,()=>o()??V),Oe(g),O(t,g)};X(x,t=>{v()?t(N):t(s,-1)})}return O(r,C),U(y)}var ar=new Set(["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]),lr=Y("<!> <!>",1),dr=Y("<!> <div><!></div>",1);function cr(r,e){const n=_e();if(new.target)return j({component:cr,...r});L(e,!0);let o=a(e,"id",23,()=>M(n)),v=a(e,"children",7),h=a(e,"child",7),m=a(e,"ref",15,null),d=a(e,"forceMount",7,!1),P=a(e,"onCloseAutoFocus",7,k),p=a(e,"onOpenAutoFocus",7,k),f=a(e,"onEscapeKeydown",7,k),y=a(e,"onInteractOutside",7,k),C=a(e,"trapFocus",7,!0),x=a(e,"preventScroll",7,!0),N=a(e,"restoreScrollDelay",7,null),s=Z(e,ar);const t=Ke.create({id:S(()=>o()),ref:S(()=>m(),c=>m(c))}),g=E(()=>K(s,t.props));var T={get id(){return o()},set id(c=M(n)){o(c),i()},get children(){return v()},set children(c){v(c),i()},get child(){return h()},set child(c){h(c),i()},get ref(){return m()},set ref(c=null){m(c),i()},get forceMount(){return d()},set forceMount(c=!1){d(c),i()},get onCloseAutoFocus(){return P()},set onCloseAutoFocus(c=k){P(c),i()},get onOpenAutoFocus(){return p()},set onOpenAutoFocus(c=k){p(c),i()},get onEscapeKeydown(){return f()},set onEscapeKeydown(c=k){f(c),i()},get onInteractOutside(){return y()},set onInteractOutside(c=k){y(c),i()},get trapFocus(){return C()},set trapFocus(c=!0){C(c),i()},get preventScroll(){return x()},set preventScroll(c=!0){x(c),i()},get restoreScrollDelay(){return N()},set restoreScrollDelay(c=null){N(c),i()},$set:q,$on:(c,H)=>z(e,c,H)},Se=I(),W=A(Se);{var B=c=>{Gt(c,{get ref(){return t.opts.ref},loop:!0,get trapFocus(){return C()},get enabled(){return t.root.opts.open.current},get onOpenAutoFocus(){return p()},get onCloseAutoFocus(){return P()},focusScope:(ut,ht)=>{let ze=()=>(ht?.()).props;Jt(ut,Ee(()=>u(g),{get enabled(){return t.root.opts.open.current},get ref(){return t.opts.ref},onEscapeKeydown:xe=>{f()(xe),!xe.defaultPrevented&&t.root.handleClose()},children:(xe,yr)=>{Lt(xe,Ee(()=>u(g),{get ref(){return t.opts.ref},get enabled(){return t.root.opts.open.current},onInteractOutside:Ne=>{y()(Ne),!Ne.defaultPrevented&&t.root.handleClose()},children:(Ne,br)=>{Ut(Ne,Ee(()=>u(g),{get ref(){return t.opts.ref},get enabled(){return t.root.opts.open.current},children:(pt,_r)=>{var He=I(),ft=A(He);{var gt=Q=>{var $=lr(),ee=A($);{var te=G=>{nt(G,{get preventScroll(){return x()},get restoreScrollDelay(){return N()}})};X(ee,G=>{t.root.opts.open.current&&G(te)})}var ke=et(ee,2);{let G=E(()=>({props:K(u(g),ze()),...t.snippetProps}));F(ke,h,()=>u(G))}O(Q,$)},vt=Q=>{var $=dr(),ee=A($);nt(ee,{get preventScroll(){return x()}});var te=et(ee,2);Pe(te,G=>({...G}),[()=>K(u(g),ze())]);var ke=Ce(te);F(ke,()=>v()??V),Oe(te),O(Q,$)};X(ft,Q=>{h()?Q(gt):Q(vt,-1)})}O(pt,He)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};X(W,c=>{(t.shouldRender||d())&&c(B)})}return O(r,Se),U(T)}const dt=Symbol("overlay-open"),ct=Symbol("overlay-static"),st={tier:"moderate",x:0,y:0,scale:1,opacity:0},ot={tier:"slow",x:0,y:8,scale:.97,opacity:0},ur={top:{x:0,y:"-100%"},right:{x:"100%",y:0},bottom:{x:0,y:"100%"},left:{x:"-100%",y:0}},Fr={backdrop:{enter:st,exit:st},dialog:{enter:ot,exit:ot},sheet(r){const e={tier:"slow",scale:1,opacity:1,...ur[r]};return{enter:e,exit:e}}};function hr(r){it(dt,r)}function Tr(){const r=Xe(dt);if(!r)throw new Error("Dialog or Sheet Content must be nested inside its Root.");return r}function pr(r){it(ct,r)}function Rr(){return Xe(ct)??(()=>!1)}function Dr(r){let e=R(It(r()));return kt(()=>{if(r()){_(e,!0);return}if(!u(e))return;const n=window.setTimeout(()=>_(e,!1),Tt(Rt.slow));return()=>window.clearTimeout(n)}),{get mounted(){return u(e)},finishExit(){r()||_(e,!1)}}}var fr=new Set(["$$slots","$$events","$$legacy","open","staticPosition","children","onOpenChange"]);function gr(r,e){if(new.target)return j({component:gr,...r});L(e,!0);let n=a(e,"open",15,!1),o=a(e,"staticPosition",7,!1),v=a(e,"children",7),h=a(e,"onOpenChange",7),m=Z(e,fr);hr(()=>n()),pr(()=>o()),jt(()=>{n(!1),h()?.(!1)});var d={get open(){return n()},set open(f=!1){n(f),i()},get staticPosition(){return o()},set staticPosition(f=!1){o(f),i()},get children(){return v()},set children(f){v(f),i()},get onOpenChange(){return h()},set onOpenChange(f){h(f),i()},$set:q,$on:(f,y)=>z(e,f,y)},P=I(),p=A(P);return Vt(p,()=>lt,(f,y)=>{y(f,Ee({get onOpenChange(){return h()}},()=>m,{get open(){return n()},set open(C){n(C)},children:(C,x)=>{var N=I(),s=A(N);F(s,()=>v()??V),O(C,N)},$$slots:{default:!0}}))}),O(r,P),U(d)}const vr=Symbol("workspace-route-context");function mr(r){return r&&r!=="new"?qt(r):null}function Mr(r,e){return r?.startsWith("/workspace/")?mr(e):null}function Br(){try{return Xe(vr)}catch{return}}export{ir as D,gr as O,vr as W,cr as a,nr as b,er as c,Yt as d,Dr as e,kr as f,Br as g,Rr as h,mr as i,Fr as o,Tr as u,Mr as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as p,ay as C,aX as H,W as _,r as q,a6 as G,B as U,aV as j,X as K}from"./
|
|
1
|
+
import{b as p,ay as C,aX as H,W as _,r as q,a6 as G,B as U,aV as j,X as K}from"./B-obUB2z.js";var A="",M="",O="",D=[],b=new Map,v=p(e=>j(e,K()),"sanitizeText"),y=p(e=>{switch(e.type){case"terminal":return{...e,value:v(e.value)};case"nonterminal":return{...e,name:v(e.name)};case"sequence":return{...e,elements:e.elements.map(y)};case"choice":return{...e,alternatives:e.alternatives.map(y)};case"optional":return{...e,element:y(e.element)};case"repetition":return{...e,element:y(e.element),separator:e.separator?y(e.separator):void 0};case"special":return{...e,text:v(e.text)}}},"sanitizeAstNode"),J=p(()=>{A="",M="",O="",D.length=0,b.clear(),q(),C.debug("[Railroad] Database cleared")},"clear"),Y=p(e=>{A=v(e),C.debug("[Railroad] Title set:",e)},"setTitle"),P=p(()=>A,"getTitle"),Q=p(e=>{const i={...e,name:v(e.name),definition:y(e.definition),comment:e.comment?v(e.comment):void 0};C.debug("[Railroad] Adding rule:",i.name),b.has(i.name)&&C.warn(`[Railroad] Rule '${i.name}' is already defined. Overwriting.`),D.push(i),b.set(i.name,i)},"addRule"),Z=p(()=>D,"getRules"),V=p(e=>b.get(e),"getRule"),ee=p(e=>{M=v(e).replace(/^\s+/g,""),C.debug("[Railroad] Accessibility title set:",e)},"setAccTitle"),te=p(()=>M,"getAccTitle"),re=p(e=>{O=v(e).replace(/\n\s+/g,`
|
|
2
2
|
`),C.debug("[Railroad] Accessibility description set:",e)},"setAccDescription"),ie=p(()=>O,"getAccDescription"),ae=Y,ne=P,oe={clear:J,setTitle:Y,getTitle:P,addRule:Q,getRules:Z,getRule:V,setAccTitle:ee,getAccTitle:te,setAccDescription:re,getAccDescription:ie,setDiagramTitle:ae,getDiagramTitle:ne},f={compactMode:!1,padding:10,verticalSeparation:8,horizontalSeparation:10,arcRadius:10,fontSize:14,fontFamily:"monospace",terminalFill:"#FFFFC0",terminalStroke:"#000000",terminalTextColor:"#000000",nonTerminalFill:"#FFFFFF",nonTerminalStroke:"#000000",nonTerminalTextColor:"#000000",lineColor:"#000000",strokeWidth:2,markerFill:"#000000",commentFill:"#E8E8E8",commentStroke:"#888888",commentTextColor:"#666666",specialFill:"#F0E0FF",specialStroke:"#8800CC",ruleNameColor:"#000066",showMarkers:!0,markerRadius:5},le=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$|^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch)\([\d\s%+,./-]+\)$|^[a-z]+$/i,se=/^[\w "',.-]+$/,de=new Set(["compactMode","padding","verticalSeparation","horizontalSeparation","arcRadius","fontSize","fontFamily","terminalFill","terminalStroke","terminalTextColor","nonTerminalFill","nonTerminalStroke","nonTerminalTextColor","lineColor","strokeWidth","markerFill","commentFill","commentStroke","commentTextColor","specialFill","specialStroke","ruleNameColor","showMarkers","markerRadius"]),L=p(e=>e?Object.keys(e).every(i=>i==="railroad"||de.has(i)):!1,"isRailroadStyleOptions"),ce=p(e=>e?"railroad"in e&&e.railroad?e.railroad:L(e)?e:{}:{},"extractRailroadOverrides"),me=p(e=>{if(!e||L(e))return{};const{railroad:i,svgId:n,theme:a,look:t,...r}=e;return r},"extractThemeOverrides"),m=p((e,i)=>{if(typeof e!="string")return i;const n=e.trim();return le.test(n)?n:i},"sanitizeColorValue"),X=p((e,i)=>{if(typeof e!="string")return i;const n=e.trim();return se.test(n)?n:i},"sanitizeFontFamilyValue"),F=p((e,i)=>{const n=typeof e=="number"?e:typeof e=="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(n)&&n>=0?n:i},"sanitizeNumberValue"),he=p(e=>{const i=typeof e=="number"?e:typeof e=="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(i)&&i>0?i:void 0},"parseThemeFontSize"),pe=p(e=>{const i=X(e.fontFamily,f.fontFamily),n=he(e.fontSize)??f.fontSize;return{...f,fontFamily:i,fontSize:n,terminalFill:m(e.secondBkg??e.secondaryColor,f.terminalFill),terminalStroke:m(e.secondaryBorderColor??e.lineColor,f.terminalStroke),terminalTextColor:m(e.secondaryTextColor??e.textColor,f.terminalTextColor),nonTerminalFill:m(e.mainBkg??e.background,f.nonTerminalFill),nonTerminalStroke:m(e.primaryBorderColor??e.lineColor,f.nonTerminalStroke),nonTerminalTextColor:m(e.primaryTextColor??e.textColor,f.nonTerminalTextColor),lineColor:m(e.lineColor,f.lineColor),markerFill:m(e.lineColor,f.markerFill),commentFill:m(e.labelBackground??e.tertiaryColor,f.commentFill),commentStroke:m(e.tertiaryBorderColor??e.lineColor,f.commentStroke),commentTextColor:m(e.tertiaryTextColor??e.textColor,f.commentTextColor),specialFill:m(e.tertiaryColor??e.secondaryColor,f.specialFill),specialStroke:m(e.tertiaryBorderColor??e.secondaryBorderColor,f.specialStroke),ruleNameColor:m(e.titleColor??e.textColor,f.ruleNameColor)}},"buildThemeDefaults"),E=p(e=>{const i=_(),n={...G(),...i.themeVariables??{},...me(e)},a=pe(n),t={...i.railroad??{},...ce(e)};return{compactMode:t.compactMode??a.compactMode,padding:F(t.padding,a.padding),verticalSeparation:F(t.verticalSeparation,a.verticalSeparation),horizontalSeparation:F(t.horizontalSeparation,a.horizontalSeparation),arcRadius:F(t.arcRadius,a.arcRadius),fontSize:F(t.fontSize,a.fontSize),fontFamily:X(t.fontFamily,a.fontFamily),terminalFill:m(t.terminalFill,a.terminalFill),terminalStroke:m(t.terminalStroke,a.terminalStroke),terminalTextColor:m(t.terminalTextColor,a.terminalTextColor),nonTerminalFill:m(t.nonTerminalFill,a.nonTerminalFill),nonTerminalStroke:m(t.nonTerminalStroke,a.nonTerminalStroke),nonTerminalTextColor:m(t.nonTerminalTextColor,a.nonTerminalTextColor),lineColor:m(t.lineColor,a.lineColor),strokeWidth:F(t.strokeWidth,a.strokeWidth),markerFill:m(t.markerFill,a.markerFill),commentFill:m(t.commentFill,a.commentFill),commentStroke:m(t.commentStroke,a.commentStroke),commentTextColor:m(t.commentTextColor,a.commentTextColor),specialFill:m(t.specialFill,a.specialFill),specialStroke:m(t.specialStroke,a.specialStroke),ruleNameColor:m(t.ruleNameColor,a.ruleNameColor),showMarkers:t.showMarkers??a.showMarkers,markerRadius:F(t.markerRadius,a.markerRadius)}},"buildRailroadStyleOptions"),Te=p(e=>{const{fontFamily:i,fontSize:n,terminalFill:a,terminalStroke:t,terminalTextColor:r,nonTerminalFill:o,nonTerminalStroke:g,nonTerminalTextColor:l,lineColor:s,strokeWidth:h,markerFill:u,commentFill:c,commentStroke:w,commentTextColor:d,specialFill:T,specialStroke:z,ruleNameColor:S}=E(e);return`
|
|
3
3
|
.railroad-diagram {
|
|
4
4
|
font-family: ${i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./DYhIMPy1.js";import{j as Be}from"./CBE9bOjQ.js";import{C as be,D as pe,c as Me,E as Ee}from"./C72zM9oE.js";import{s as Re}from"./VKc1-U2z.js";function Pe(t,r={}){const l=(r.axis??"y")==="y"?"height":"width",o=parseFloat(getComputedStyle(t)[l]);if(!Number.isFinite(o))return{duration:0};const p=r.duration??160,v=p<=80?"fast":p<=160?"moderate":"slow";return be(t,{axis:r.axis,tier:v},{direction:"in"})}function Ce(){return Re.get("enableComponentTransitions")}const ve={request(){},settle(){}},k=new WeakMap,Ne=2,ke=2e3;function Ve(t,r){let l=r.enabled??!0,o=r.follow,p=r.onFollowChange,v=r.onScrollStateChange,g=r.threshold??100,d=!1,m=0,s=0,c=!1,w=null,F,y=null,E=null,L=null,T=null,A=null,O=null,R=null,C=null,M=0,N=null,h=!1,P=null;const S=new Set,q=new Map,V=new WeakSet,B=new Map,u=document.createElement("div");u.dataset.followBottomAnchor="",u.setAttribute("aria-hidden","true"),u.style.cssText=`height:1px;${r.layoutNeutralBottomAnchor?"margin-top:-1px;":""}overflow-anchor:auto;pointer-events:none;flex:0 0 auto;`;function I(e){e===u||B.has(e)||(B.set(e,e.style.overflowAnchor),e.style.overflowAnchor="none")}function Y(e){const n=B.get(e);n!==void 0&&(e.style.overflowAnchor=n,B.delete(e))}function a(e){if(e)for(const i of t.children)i instanceof HTMLElement&&I(i);else for(const i of B.keys())Y(i);const n=e?"auto":"none";u.style.overflowAnchor!==n&&(u.style.overflowAnchor=n),e?(u.parentElement!==t||u.nextSibling)&&t.append(u):u.remove()}function $(){a(o)}function ye(){u.remove();for(const e of B.keys())Y(e)}function K(e){V.add(e),T?.observe(e)}function ne(){A!==null&&cancelAnimationFrame(A),C!==null&&cancelAnimationFrame(C),A=null,C=null,M=0,N=null}function J(){return Math.max(0,t.scrollHeight-t.clientHeight)}function X(){return P??=getComputedStyle(t).overflowAnchor!=="none",P}function H(){return{maximum:J(),scrollTop:t.scrollTop}}function _(e=H()){return e.scrollTop!==e.maximum&&(t.scrollTop=e.maximum),{maximum:e.maximum,scrollTop:e.maximum}}function G(e=H()){return e.maximum-e.scrollTop<=g}function x(e=H()){const n=Math.max(0,e.maximum-e.scrollTop),i=n<=g;E?.distanceFromBottom===n&&E.isAtBottom===i&&E.isFollowing===o||(E={distanceFromBottom:n,isAtBottom:i,isFollowing:o},v?.({distanceFromBottom:n,isAtBottom:i,isFollowing:o}))}function Q(e){F=e,w===null&&(w=requestAnimationFrame(()=>{w=null;const n=F;F=void 0,!(h||!l)&&(n&&(y?.event!==n||n.defaultPrevented||performance.now()>=y.expiresAt)||(G()?z.followAndScroll():x()))}))}function D(e,n=!0){if(y=null,!l){o=e;return}const i=o!==e;i&&(o=e,a(e)),i&&n&&p?.(e),e||ne(),x()}function Z(e,n=!0){if(!S.delete(e))return;const i=(q.get(e.element)??1)-1;i>0?q.set(e.element,i):(q.delete(e.element),V.has(e.element)||T?.unobserve?.(e.element)),M=0,n&&U()}function ee(e=!0){if(S.size===0)return;const n=performance.now();for(const i of S)(!t.contains(i.element)||n>=i.expiresAt)&&Z(i,e)}function te(){if(A=null,h||!l||!o)return;if(ee(!1),S.size>0){A=requestAnimationFrame(te);return}const e=_(),{maximum:n}=e;x(e),n===N?M+=1:(M=0,N=n),M<Ne&&(A=requestAnimationFrame(te))}function U(){h||!l||!o||A!==null||(A=requestAnimationFrame(te))}function W(e=!0){if(h||!l||!o)return;const n=_(),{maximum:i}=n;x(n),M=0,N=i,e&&U()}function oe(){R===null&&(R=requestAnimationFrame(()=>{R=null,!(h||!l)&&x()}))}function Ae(){if(C=null,h||!l)return;let e=H();const n=e.scrollTop!==e.maximum;e=_(e),(n||e.maximum!==N||S.size>0)&&(M=0,N=e.maximum,U()),x(e)}function xe(){if(!(h||!l)){if(o){if(A!==null||C!==null)return;C=requestAnimationFrame(Ae);return}oe()}}function Fe(){if(!(h||!l)){if(o){W(C===null);return}oe()}}const z={followAndScroll(){D(!0),W()},isFollowing:()=>o,isNativeScrollAnchoringActive:()=>!o&&getComputedStyle(t).overflowAnchor!=="none",hasActiveMutation:()=>o?(ee(),S.size>0):!1,beforeMutation(e,n){if(h||!l||!o)return ve;const i={element:e,expiresAt:performance.now()+(n.maxHoldMs??ke)};S.add(i);const f=q.get(e)??0;return q.set(e,f+1),f===0&&!V.has(e)&&T?.observe(e),M=0,U(),{request(){!S.has(i)||h||(X()?U():W())},settle(){if(!(h||!S.has(i))){if(X()){Z(i);return}Z(i,!1),W()}}}}};function re(e){e.deltaY<0?D(!1):e.deltaY>0&&(y={event:e,expiresAt:performance.now()+1e3},Q(e))}function le(e){const n=y;y=null,e.target===t&&n&&!n.event.defaultPrevented&&performance.now()<n.expiresAt&&G()&&z.followAndScroll()}let ie=0;function se(e){y=null,ie=e.touches[0]?.clientY??0}function ae(e){const n=e.touches[0]?.clientY??0;ie-n<0&&D(!1)}function ue(){Q()}function ce(e){y=null,["ArrowUp","PageUp","Home"].includes(e.key)?D(!1):["ArrowDown","PageDown","End"].includes(e.key)&&Q()}function Se(e){if(e.button!==0||e.target!==t)return!1;const n=Math.max(0,t.offsetWidth-t.clientWidth);if(n===0)return!1;const i=t.getBoundingClientRect(),f=t.offsetWidth>0?n*(i.width/t.offsetWidth):n;return getComputedStyle(t).direction==="rtl"?e.clientX<=i.left+f:e.clientX>=i.right-f}function fe(){if(!d){if(o&&A!==null)return;let f=H();o&&(f=_(f)),x(f);return}const e=J(),n=Math.max(0,e-t.scrollTop);if(e!==m){m=e,s=n,c=!1,x();return}const i=n-s;s=n,i>0?(c=!1,D(!1)):i<0?(c=!0,G()?z.followAndScroll():x()):x()}function me(e){y=null,d=Se(e),m=J(),s=Math.max(0,m-t.scrollTop),c=!1}function j(){d&&(d=!1,c&&G()?z.followAndScroll():x())}function Le(){if(!L){L=new MutationObserver(e=>{let n=!1;for(const i of e)if(i.type==="childList"){for(const f of i.removedNodes)n=!0,f instanceof HTMLElement&&Y(f);for(const f of i.addedNodes)f instanceof HTMLElement&&f!==u&&T&&(K(f),o&&f.parentElement===t&&I(f))}n&&ee(),a(o),xe()}),L.observe(t,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),T=new ResizeObserver(Fe),K(t);for(const e of t.children)e instanceof HTMLElement&&e!==u&&K(e)}}function Te(){L?.disconnect(),L=null,T?.disconnect(),T=null}function de(e=!1){if(!l||h)return;if(k.set(t,z),t.addEventListener("scroll",fe,{passive:!0}),t.addEventListener("scrollend",le,{passive:!0,capture:!0}),t.addEventListener("wheel",re,{passive:!0}),t.addEventListener("touchstart",se,{passive:!0}),t.addEventListener("touchmove",ae,{passive:!0}),t.addEventListener("touchend",ue,{passive:!0}),t.addEventListener("keydown",ce),t.addEventListener("pointerdown",me,{passive:!0}),window.addEventListener("pointerup",j,{passive:!0}),window.addEventListener("pointercancel",j,{passive:!0}),$(),Le(),e){O=requestAnimationFrame(()=>{O=null,!(h||!l)&&(X(),o?W():x())});return}X();let n=H();o&&(n=_(n),N=n.maximum),x(n)}function he(){y=null,F=void 0,S.clear(),q.clear(),d=!1,ne(),w!==null&&cancelAnimationFrame(w),w=null,O!==null&&cancelAnimationFrame(O),O=null,R!==null&&cancelAnimationFrame(R),R=null,E=null,P=null,k.get(t)===z&&k.delete(t),Te(),ye(),t.removeEventListener("scroll",fe),t.removeEventListener("scrollend",le,!0),t.removeEventListener("wheel",re),t.removeEventListener("touchstart",se),t.removeEventListener("touchmove",ae),t.removeEventListener("touchend",ue),t.removeEventListener("keydown",ce),t.removeEventListener("pointerdown",me),window.removeEventListener("pointerup",j),window.removeEventListener("pointercancel",j)}return de(!0),{update(e){p=e.onFollowChange,v=e.onScrollStateChange,g=e.threshold??100;const n=e.enabled??!0;if(l!==n&&(n||he(),l=n,l)){o=e.follow,de(!0);return}l?e.follow&&!o?(D(!0,!1),W()):!e.follow&&o?D(!1,!1):O===null&&oe():o=e.follow},destroy(){h=!0,he()}}}function Ye(t){return k.get(t)?.isFollowing()??!1}function _e(t){return k.get(t)?.isNativeScrollAnchoringActive()??!1}function Ue(t){return k.get(t)?.hasActiveMutation()??!1}function ge(t,r={}){let l=t;for(;l;){const o=k.get(l);if(o)return o.beforeMutation(t,r);l=l.parentElement}return ve}function Oe(t){const{scrollTop:r,scrollHeight:l,clientHeight:o}=t;return l-r-o}function qe(t,r=100){return Oe(t)<=r}function De(t,r=!1){t.scrollTo({top:t.scrollHeight,behavior:r?"smooth":"auto"})}function Ie(t){const r=k.get(t);if(r){r.followAndScroll();return}De(t)}function Xe(t,r,l=150,o){const p=t();if(!p)return;const v=p.scrollTop,g=performance.now();function d(s){return 1-Math.pow(1-s,3)}function m(s){const c=t();if(!c)return;const w=s-g,F=Math.min(w/l,1),y=typeof r=="function"?r(c):r;c.scrollTop=v+(y-v)*d(F),F<1?requestAnimationFrame(m):o?.(c)}requestAnimationFrame(m)}function Ge(t,r="[data-message-id], [data-lazy-turn-key]"){const l=t.scrollTop,o=t.getBoundingClientRect(),p=qe(t,100);if(p&&k.get(t)?.isFollowing()!==!1)return{element:null,offsetFromViewport:0,scrollTop:l,isNearBottom:p};const v=t.querySelectorAll(r);let g=null,d=0,m;for(const s of v){const c=s.getBoundingClientRect();if(c.top>=o.bottom)break;if(c.top>=o.top){g||(g=s,d=c.top-o.top);const w=s.getAttribute("data-message-id");if(w){m={id:w,offsetFromViewport:c.top-o.top};break}}}return{element:g,offsetFromViewport:d,scrollTop:l,isNearBottom:p,...m?{message:m}:{}}}function we(t,r){if(r.message){const l=t.querySelector(`[data-message-id="${CSS.escape(r.message.id)}"]`);if(l)return{element:l,offsetFromViewport:r.message.offsetFromViewport}}return r.element?.isConnected?{element:r.element,offsetFromViewport:r.offsetFromViewport}:null}function je(t,r){return we(t,r)!==null}function Ke(t,r){const l=we(t,r);if(l){const{element:o,offsetFromViewport:p}=l,v=t.getBoundingClientRect(),m=o.getBoundingClientRect().top-v.top-p;Math.abs(m)>5&&(t.scrollTop+=m)}}function b(t,r){const l=Number.parseFloat(String(t[r]));return Number.isFinite(l)?l:0}function Je(t,r={},l={}){const o=t,v={maxHoldMs:pe[r.tier??"moderate"].settleMs*2+500};let g=ge(o,v);const d=()=>{g?.settle(),g=null},m=()=>{g??=ge(o,v)};if(!Ce()||Be())return d(),{duration:0};const s=getComputedStyle(o),c=r.axis??"y",w=o.getBoundingClientRect(),F=c==="y"?b(s,"height")||w.height:b(s,"width")||w.width;if(!Number.isFinite(F)||F<=0)return d(),{duration:0};const y=b(s,"opacity")||1,E=r.tier??"moderate",L=pe[E],T=l.direction==="out",A=typeof s.getPropertyValue=="function"?T?Me(o,{tier:E}):Ee(o,{tier:E}):{duration:T?L.exit.duration:L.settleMs,easing:L.exit.easing},O=A.duration??(T?L.exit.duration:L.settleMs),R=r.y??-4,C=b(s,"paddingTop"),M=b(s,"paddingBottom"),N=b(s,"marginTop"),h=b(s,"marginBottom"),P=b(s,"paddingLeft"),S=b(s,"paddingRight"),q=b(s,"marginLeft"),V=b(s,"marginRight");let B=null,u=l.direction==="out"?"outro":l.direction==="in"?"intro":"idle";const I=(a,$)=>{o.style.overflow="hidden",c==="y"?(o.style.height=`${a*F}px`,o.style.paddingTop=`${a*C}px`,o.style.paddingBottom=`${a*M}px`,o.style.marginTop=`${a*N}px`,o.style.marginBottom=`${a*h}px`):(o.style.width=`${a*F}px`,o.style.paddingLeft=`${a*P}px`,o.style.paddingRight=`${a*S}px`,o.style.marginLeft=`${a*q}px`,o.style.marginRight=`${a*V}px`),o.style.opacity=`${a*y}`,o.style.transform=c==="y"?`translateY(${R*$}px)`:`translateX(${R*$}px)`},Y=()=>{o.style.overflow="",o.style.height="",o.style.width="",o.style.paddingTop="",o.style.paddingBottom="",o.style.marginTop="",o.style.marginBottom="",o.style.paddingLeft="",o.style.paddingRight="",o.style.marginLeft="",o.style.marginRight="",o.style.opacity="",o.style.transform=""};return{duration:O,easing:A.easing,tick:(a,$)=>{if(l.direction==="both"&&(B===null?a<1&&(u="outro"):a<B?(m(),u="outro"):a>B&&(m(),u="intro")),B=a,a===1&&u!=="outro"){Y(),d(),u="idle";return}I(a,$),g?.request(),a===0&&u==="outro"&&(d(),u="idle")}}}export{Xe as a,Ce as b,ge as c,je as d,Ge as e,Ve as f,Ie as g,Ue as h,Ye as i,_e as j,Pe as k,De as l,Ke as r,Je as s};
|
|
1
|
+
import"./DYhIMPy1.js";import{j as Be}from"./9ZBkr0Qf.js";import{C as be,D as pe,c as Me,E as Ee}from"./CFpa0qKK.js";import{s as Re}from"./waagD0cO.js";function Pe(t,r={}){const l=(r.axis??"y")==="y"?"height":"width",o=parseFloat(getComputedStyle(t)[l]);if(!Number.isFinite(o))return{duration:0};const p=r.duration??160,v=p<=80?"fast":p<=160?"moderate":"slow";return be(t,{axis:r.axis,tier:v},{direction:"in"})}function Ce(){return Re.get("enableComponentTransitions")}const ve={request(){},settle(){}},k=new WeakMap,Ne=2,ke=2e3;function Ve(t,r){let l=r.enabled??!0,o=r.follow,p=r.onFollowChange,v=r.onScrollStateChange,g=r.threshold??100,d=!1,m=0,s=0,c=!1,w=null,F,y=null,E=null,L=null,T=null,A=null,O=null,R=null,C=null,M=0,N=null,h=!1,P=null;const S=new Set,q=new Map,V=new WeakSet,B=new Map,u=document.createElement("div");u.dataset.followBottomAnchor="",u.setAttribute("aria-hidden","true"),u.style.cssText=`height:1px;${r.layoutNeutralBottomAnchor?"margin-top:-1px;":""}overflow-anchor:auto;pointer-events:none;flex:0 0 auto;`;function I(e){e===u||B.has(e)||(B.set(e,e.style.overflowAnchor),e.style.overflowAnchor="none")}function Y(e){const n=B.get(e);n!==void 0&&(e.style.overflowAnchor=n,B.delete(e))}function a(e){if(e)for(const i of t.children)i instanceof HTMLElement&&I(i);else for(const i of B.keys())Y(i);const n=e?"auto":"none";u.style.overflowAnchor!==n&&(u.style.overflowAnchor=n),e?(u.parentElement!==t||u.nextSibling)&&t.append(u):u.remove()}function $(){a(o)}function ye(){u.remove();for(const e of B.keys())Y(e)}function K(e){V.add(e),T?.observe(e)}function ne(){A!==null&&cancelAnimationFrame(A),C!==null&&cancelAnimationFrame(C),A=null,C=null,M=0,N=null}function J(){return Math.max(0,t.scrollHeight-t.clientHeight)}function X(){return P??=getComputedStyle(t).overflowAnchor!=="none",P}function H(){return{maximum:J(),scrollTop:t.scrollTop}}function _(e=H()){return e.scrollTop!==e.maximum&&(t.scrollTop=e.maximum),{maximum:e.maximum,scrollTop:e.maximum}}function G(e=H()){return e.maximum-e.scrollTop<=g}function x(e=H()){const n=Math.max(0,e.maximum-e.scrollTop),i=n<=g;E?.distanceFromBottom===n&&E.isAtBottom===i&&E.isFollowing===o||(E={distanceFromBottom:n,isAtBottom:i,isFollowing:o},v?.({distanceFromBottom:n,isAtBottom:i,isFollowing:o}))}function Q(e){F=e,w===null&&(w=requestAnimationFrame(()=>{w=null;const n=F;F=void 0,!(h||!l)&&(n&&(y?.event!==n||n.defaultPrevented||performance.now()>=y.expiresAt)||(G()?z.followAndScroll():x()))}))}function D(e,n=!0){if(y=null,!l){o=e;return}const i=o!==e;i&&(o=e,a(e)),i&&n&&p?.(e),e||ne(),x()}function Z(e,n=!0){if(!S.delete(e))return;const i=(q.get(e.element)??1)-1;i>0?q.set(e.element,i):(q.delete(e.element),V.has(e.element)||T?.unobserve?.(e.element)),M=0,n&&U()}function ee(e=!0){if(S.size===0)return;const n=performance.now();for(const i of S)(!t.contains(i.element)||n>=i.expiresAt)&&Z(i,e)}function te(){if(A=null,h||!l||!o)return;if(ee(!1),S.size>0){A=requestAnimationFrame(te);return}const e=_(),{maximum:n}=e;x(e),n===N?M+=1:(M=0,N=n),M<Ne&&(A=requestAnimationFrame(te))}function U(){h||!l||!o||A!==null||(A=requestAnimationFrame(te))}function W(e=!0){if(h||!l||!o)return;const n=_(),{maximum:i}=n;x(n),M=0,N=i,e&&U()}function oe(){R===null&&(R=requestAnimationFrame(()=>{R=null,!(h||!l)&&x()}))}function Ae(){if(C=null,h||!l)return;let e=H();const n=e.scrollTop!==e.maximum;e=_(e),(n||e.maximum!==N||S.size>0)&&(M=0,N=e.maximum,U()),x(e)}function xe(){if(!(h||!l)){if(o){if(A!==null||C!==null)return;C=requestAnimationFrame(Ae);return}oe()}}function Fe(){if(!(h||!l)){if(o){W(C===null);return}oe()}}const z={followAndScroll(){D(!0),W()},isFollowing:()=>o,isNativeScrollAnchoringActive:()=>!o&&getComputedStyle(t).overflowAnchor!=="none",hasActiveMutation:()=>o?(ee(),S.size>0):!1,beforeMutation(e,n){if(h||!l||!o)return ve;const i={element:e,expiresAt:performance.now()+(n.maxHoldMs??ke)};S.add(i);const f=q.get(e)??0;return q.set(e,f+1),f===0&&!V.has(e)&&T?.observe(e),M=0,U(),{request(){!S.has(i)||h||(X()?U():W())},settle(){if(!(h||!S.has(i))){if(X()){Z(i);return}Z(i,!1),W()}}}}};function re(e){e.deltaY<0?D(!1):e.deltaY>0&&(y={event:e,expiresAt:performance.now()+1e3},Q(e))}function le(e){const n=y;y=null,e.target===t&&n&&!n.event.defaultPrevented&&performance.now()<n.expiresAt&&G()&&z.followAndScroll()}let ie=0;function se(e){y=null,ie=e.touches[0]?.clientY??0}function ae(e){const n=e.touches[0]?.clientY??0;ie-n<0&&D(!1)}function ue(){Q()}function ce(e){y=null,["ArrowUp","PageUp","Home"].includes(e.key)?D(!1):["ArrowDown","PageDown","End"].includes(e.key)&&Q()}function Se(e){if(e.button!==0||e.target!==t)return!1;const n=Math.max(0,t.offsetWidth-t.clientWidth);if(n===0)return!1;const i=t.getBoundingClientRect(),f=t.offsetWidth>0?n*(i.width/t.offsetWidth):n;return getComputedStyle(t).direction==="rtl"?e.clientX<=i.left+f:e.clientX>=i.right-f}function fe(){if(!d){if(o&&A!==null)return;let f=H();o&&(f=_(f)),x(f);return}const e=J(),n=Math.max(0,e-t.scrollTop);if(e!==m){m=e,s=n,c=!1,x();return}const i=n-s;s=n,i>0?(c=!1,D(!1)):i<0?(c=!0,G()?z.followAndScroll():x()):x()}function me(e){y=null,d=Se(e),m=J(),s=Math.max(0,m-t.scrollTop),c=!1}function j(){d&&(d=!1,c&&G()?z.followAndScroll():x())}function Le(){if(!L){L=new MutationObserver(e=>{let n=!1;for(const i of e)if(i.type==="childList"){for(const f of i.removedNodes)n=!0,f instanceof HTMLElement&&Y(f);for(const f of i.addedNodes)f instanceof HTMLElement&&f!==u&&T&&(K(f),o&&f.parentElement===t&&I(f))}n&&ee(),a(o),xe()}),L.observe(t,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),T=new ResizeObserver(Fe),K(t);for(const e of t.children)e instanceof HTMLElement&&e!==u&&K(e)}}function Te(){L?.disconnect(),L=null,T?.disconnect(),T=null}function de(e=!1){if(!l||h)return;if(k.set(t,z),t.addEventListener("scroll",fe,{passive:!0}),t.addEventListener("scrollend",le,{passive:!0,capture:!0}),t.addEventListener("wheel",re,{passive:!0}),t.addEventListener("touchstart",se,{passive:!0}),t.addEventListener("touchmove",ae,{passive:!0}),t.addEventListener("touchend",ue,{passive:!0}),t.addEventListener("keydown",ce),t.addEventListener("pointerdown",me,{passive:!0}),window.addEventListener("pointerup",j,{passive:!0}),window.addEventListener("pointercancel",j,{passive:!0}),$(),Le(),e){O=requestAnimationFrame(()=>{O=null,!(h||!l)&&(X(),o?W():x())});return}X();let n=H();o&&(n=_(n),N=n.maximum),x(n)}function he(){y=null,F=void 0,S.clear(),q.clear(),d=!1,ne(),w!==null&&cancelAnimationFrame(w),w=null,O!==null&&cancelAnimationFrame(O),O=null,R!==null&&cancelAnimationFrame(R),R=null,E=null,P=null,k.get(t)===z&&k.delete(t),Te(),ye(),t.removeEventListener("scroll",fe),t.removeEventListener("scrollend",le,!0),t.removeEventListener("wheel",re),t.removeEventListener("touchstart",se),t.removeEventListener("touchmove",ae),t.removeEventListener("touchend",ue),t.removeEventListener("keydown",ce),t.removeEventListener("pointerdown",me),window.removeEventListener("pointerup",j),window.removeEventListener("pointercancel",j)}return de(!0),{update(e){p=e.onFollowChange,v=e.onScrollStateChange,g=e.threshold??100;const n=e.enabled??!0;if(l!==n&&(n||he(),l=n,l)){o=e.follow,de(!0);return}l?e.follow&&!o?(D(!0,!1),W()):!e.follow&&o?D(!1,!1):O===null&&oe():o=e.follow},destroy(){h=!0,he()}}}function Ye(t){return k.get(t)?.isFollowing()??!1}function _e(t){return k.get(t)?.isNativeScrollAnchoringActive()??!1}function Ue(t){return k.get(t)?.hasActiveMutation()??!1}function ge(t,r={}){let l=t;for(;l;){const o=k.get(l);if(o)return o.beforeMutation(t,r);l=l.parentElement}return ve}function Oe(t){const{scrollTop:r,scrollHeight:l,clientHeight:o}=t;return l-r-o}function qe(t,r=100){return Oe(t)<=r}function De(t,r=!1){t.scrollTo({top:t.scrollHeight,behavior:r?"smooth":"auto"})}function Ie(t){const r=k.get(t);if(r){r.followAndScroll();return}De(t)}function Xe(t,r,l=150,o){const p=t();if(!p)return;const v=p.scrollTop,g=performance.now();function d(s){return 1-Math.pow(1-s,3)}function m(s){const c=t();if(!c)return;const w=s-g,F=Math.min(w/l,1),y=typeof r=="function"?r(c):r;c.scrollTop=v+(y-v)*d(F),F<1?requestAnimationFrame(m):o?.(c)}requestAnimationFrame(m)}function Ge(t,r="[data-message-id], [data-lazy-turn-key]"){const l=t.scrollTop,o=t.getBoundingClientRect(),p=qe(t,100);if(p&&k.get(t)?.isFollowing()!==!1)return{element:null,offsetFromViewport:0,scrollTop:l,isNearBottom:p};const v=t.querySelectorAll(r);let g=null,d=0,m;for(const s of v){const c=s.getBoundingClientRect();if(c.top>=o.bottom)break;if(c.top>=o.top){g||(g=s,d=c.top-o.top);const w=s.getAttribute("data-message-id");if(w){m={id:w,offsetFromViewport:c.top-o.top};break}}}return{element:g,offsetFromViewport:d,scrollTop:l,isNearBottom:p,...m?{message:m}:{}}}function we(t,r){if(r.message){const l=t.querySelector(`[data-message-id="${CSS.escape(r.message.id)}"]`);if(l)return{element:l,offsetFromViewport:r.message.offsetFromViewport}}return r.element?.isConnected?{element:r.element,offsetFromViewport:r.offsetFromViewport}:null}function je(t,r){return we(t,r)!==null}function Ke(t,r){const l=we(t,r);if(l){const{element:o,offsetFromViewport:p}=l,v=t.getBoundingClientRect(),m=o.getBoundingClientRect().top-v.top-p;Math.abs(m)>5&&(t.scrollTop+=m)}}function b(t,r){const l=Number.parseFloat(String(t[r]));return Number.isFinite(l)?l:0}function Je(t,r={},l={}){const o=t,v={maxHoldMs:pe[r.tier??"moderate"].settleMs*2+500};let g=ge(o,v);const d=()=>{g?.settle(),g=null},m=()=>{g??=ge(o,v)};if(!Ce()||Be())return d(),{duration:0};const s=getComputedStyle(o),c=r.axis??"y",w=o.getBoundingClientRect(),F=c==="y"?b(s,"height")||w.height:b(s,"width")||w.width;if(!Number.isFinite(F)||F<=0)return d(),{duration:0};const y=b(s,"opacity")||1,E=r.tier??"moderate",L=pe[E],T=l.direction==="out",A=typeof s.getPropertyValue=="function"?T?Me(o,{tier:E}):Ee(o,{tier:E}):{duration:T?L.exit.duration:L.settleMs,easing:L.exit.easing},O=A.duration??(T?L.exit.duration:L.settleMs),R=r.y??-4,C=b(s,"paddingTop"),M=b(s,"paddingBottom"),N=b(s,"marginTop"),h=b(s,"marginBottom"),P=b(s,"paddingLeft"),S=b(s,"paddingRight"),q=b(s,"marginLeft"),V=b(s,"marginRight");let B=null,u=l.direction==="out"?"outro":l.direction==="in"?"intro":"idle";const I=(a,$)=>{o.style.overflow="hidden",c==="y"?(o.style.height=`${a*F}px`,o.style.paddingTop=`${a*C}px`,o.style.paddingBottom=`${a*M}px`,o.style.marginTop=`${a*N}px`,o.style.marginBottom=`${a*h}px`):(o.style.width=`${a*F}px`,o.style.paddingLeft=`${a*P}px`,o.style.paddingRight=`${a*S}px`,o.style.marginLeft=`${a*q}px`,o.style.marginRight=`${a*V}px`),o.style.opacity=`${a*y}`,o.style.transform=c==="y"?`translateY(${R*$}px)`:`translateX(${R*$}px)`},Y=()=>{o.style.overflow="",o.style.height="",o.style.width="",o.style.paddingTop="",o.style.paddingBottom="",o.style.marginTop="",o.style.marginBottom="",o.style.paddingLeft="",o.style.paddingRight="",o.style.marginLeft="",o.style.marginRight="",o.style.opacity="",o.style.transform=""};return{duration:O,easing:A.easing,tick:(a,$)=>{if(l.direction==="both"&&(B===null?a<1&&(u="outro"):a<B?(m(),u="outro"):a>B&&(m(),u="intro")),B=a,a===1&&u!=="outro"){Y(),d(),u="idle";return}I(a,$),g?.request(),a===0&&u==="outro"&&(d(),u="idle")}}}export{Xe as a,Ce as b,ge as c,je as d,Ge as e,Ve as f,Ie as g,Ue as h,Ye as i,_e as j,Pe as k,De as l,Ke as r,Je as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as s,N as u,T as c,e as f,l as d,w as T}from"./
|
|
1
|
+
import{n as s,N as u,T as c,e as f,l as d,w as T}from"./B6l2HPmZ.js";import"./DYhIMPy1.js";import"./BLK9_MXJ.js";import"./9ZBkr0Qf.js";import"./DSemZQdl.js";import"./CukTrqVi.js";import"./ChTqQfQN.js";import"./DNmwPq0o.js";import"./DSAz0okZ.js";const b="input, textarea, select";function o(t){return"editContext"in t&&t.editContext!=null}function a(t){return t instanceof HTMLElement?t.isContentEditable===!0||t.contentEditable==="true"||t.contentEditable==="plaintext-only":!1}function l(t){return!t||typeof Element>"u"||!(t instanceof Element)?null:t}function y(t){const e=l(t);if(!e)return!1;if(a(e)||o(e)||e.closest(b))return!0;const n=e.closest('[contenteditable="false"]'),i=e.closest('[role="textbox"]');if(i&&(!n||n.contains(i)))return!0;const r=e.closest("[contenteditable]");return r!==null&&r.getAttribute("contenteditable")!=="false"}function S(t){const e=l(t);return e?e instanceof HTMLTextAreaElement||a(e)||o(e)||e.getAttribute("role")==="textbox"&&e.getAttribute("aria-multiline")==="true"&&e.getAttribute("aria-readonly")!=="true":!1}const g=Object.freeze(Object.defineProperty({__proto__:null,NOTIFY_DURATION:u,TOAST_COUNTDOWN_CLASS:c,TOAST_COUNTDOWN_NO_HOVER_PAUSE_CLASS:f,notify:s,notifyMetadata:d,withToastCountdown:T},Symbol.toStringTag,{value:"Module"}));export{S as a,y as b,g as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as xt}from"./
|
|
1
|
+
import{p as xt}from"./DI5kEG-f.js";import{aZ as gt,U as $t,Y as bt,b0 as wt,V as Ct,a_ as vt,b as s,ay as O,aX as Dt,B as kt,r as Tt,q as U,W as Z,O as At,a6 as ot}from"./B-obUB2z.js";import{p as Bt}from"./BuSLaAvw.js";var rt=s(()=>({domains:new Map,transitions:[]}),"createDefaultData"),H=rt(),St=s(()=>H.domains,"getDomains"),Mt=s(()=>H.transitions,"getTransitions"),zt=s(t=>{if(t)for(const e of t){const n=e.domain,a=(e.items??[]).map(c=>({label:c.label}));H.domains.set(n,{name:n,items:a})}},"setDomains"),Lt=s(t=>{t&&(H.transitions=t.filter(e=>e.from===e.to?(O.warn(`Cynefin: self-loop transition on domain "${e.from}" is not meaningful and will be skipped.`),!1):!0).map(e=>({from:e.from,to:e.to,label:e.label||void 0})))},"setTransitions"),Nt=s(()=>U({...At.cynefin,...Z().cynefin}),"getConfig"),Pt=s(()=>{Tt(),H=rt()},"clear"),G={getDomains:St,getTransitions:Mt,setDomains:zt,setTransitions:Lt,getConfig:Nt,clear:Pt,setAccTitle:vt,getAccTitle:Ct,setDiagramTitle:wt,getDiagramTitle:bt,getAccDescription:$t,setAccDescription:gt},Wt=s(t=>{xt(t,G),G.setDomains(t.domains),G.setTransitions(t.transitions)},"populate"),It={parse:s(async t=>{const e=await Bt("cynefin",t);O.debug(e),Wt(e)},"parse")};function E(t){let e=t+1831565813|0;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}s(E,"seededRandom");function st(t){let e=0;for(let n=0;n<t.length;n++){const a=t.charCodeAt(n);e=(e<<5)-e+a,e|=0}return e}s(st,"hashString");function it(t,e){return typeof t=="number"&&Number.isFinite(t)&&t!==0?t:st(e)}s(it,"resolveSeed");function ct(t,e,n,a){const c=t/2,m=a??t*.015,v=7,I=e/v,d=[];for(let o=0;o<=v;o++){const p=E(n+o*17)*m*2-m;d.push({x:c+p,y:o*I})}let D=`M${d[0].x},${d[0].y}`;for(let o=0;o<d.length-1;o++){const p=d[o],i=d[o+1],f=(p.y+i.y)/2,b=o%2===0?1:-1,h=m*1.5*b*E(n+o*31+7),R=p.x+h,V=f,_=i.x-h;D+=` C${R},${V} ${_},${f} ${i.x},${i.y}`}return D}s(ct,"generateFoldPath");function lt(t,e,n,a){const c=e/2,m=a??e*.015,v=7,I=t/v,d=[];for(let o=0;o<=v;o++){const p=E(n+o*23)*m*2-m;d.push({x:o*I,y:c+p})}let D=`M${d[0].x},${d[0].y}`;for(let o=0;o<d.length-1;o++){const p=d[o],i=d[o+1],f=(p.x+i.x)/2,b=o%2===0?1:-1,h=m*1.5*b*E(n+o*37+11),R=f,V=p.y+h,_=f,z=i.y-h;D+=` C${R},${V} ${_},${z} ${i.x},${i.y}`}return D}s(lt,"generateHorizontalBoundary");function dt(t,e){const n=t/2,a=e*.5,c=e,m=t*.03;return[`M${n},${a}`,`C${n+m},${a+(c-a)*.2}`,`${n-m*1.5},${a+(c-a)*.55}`,`${n+m*.5},${a+(c-a)*.75}`,`C${n-m},${a+(c-a)*.85}`,`${n+m*.3},${a+(c-a)*.95}`,`${n},${c}`].join(" ")}s(dt,"generateCliffPath");function ft(t,e,n,a){return[`M${t-n},${e}`,`A${n},${a} 0 1,1 ${t+n},${e}`,`A${n},${a} 0 1,1 ${t-n},${e}`,"Z"].join(" ")}s(ft,"generateConfusionPath");var at={complex:{model:"Probe → Sense → Respond",practice:"Emergent Practices"},complicated:{model:"Sense → Analyse → Respond",practice:"Good Practices"},clear:{model:"Sense → Categorise → Respond",practice:"Best Practices"},chaotic:{model:"Act → Sense → Respond",practice:"Novel Practices"},confusion:{model:"",practice:"Disorder"}},Rt=s((t,e)=>{const n=t/2,a=e/2;return{complex:{cx:n/2,cy:a/2,x:0,y:0,w:n,h:a},complicated:{cx:n+n/2,cy:a/2,x:n,y:0,w:n,h:a},chaotic:{cx:n/2,cy:a+a/2,x:0,y:a,w:n,h:a},clear:{cx:n+n/2,cy:a+a/2,x:n,y:a,w:n,h:a},confusion:{cx:n,cy:a,x:n*.7,y:a*.7,w:n*.6,h:a*.6}}},"getDomainLayouts"),Vt=s(()=>{const t=ot(),e=Z();return U(t,e.themeVariables).cynefin},"getCynefinDomainColors"),q=3,_t=s((t,e,n,a)=>{const c=a.db,m=c.getDomains(),v=c.getTransitions(),I=c.getDiagramTitle(),d=c.getAccTitle(),D=c.getAccDescription(),o=c.getConfig(),p=Vt();O.debug("Rendering Cynefin diagram");const i=o.width,f=o.height,b=o.padding,h=o.showDomainDescriptions,R=o.boundaryAmplitude,V=i+b*2,_=f+b*2,z={complex:p.complexBg,complicated:p.complicatedBg,clear:p.clearBg,chaotic:p.chaoticBg,confusion:p.confusionBg},k=Dt(e);kt(k,_,V,o.useMaxWidth??!0),k.attr("viewBox",`0 0 ${V} ${_}`),d&&k.append("title").text(d),D&&k.append("desc").text(D);const T=k.append("g").attr("transform",`translate(${b}, ${b})`),F=Rt(i,f),Q=it(o.seed,e),mt=T.append("g").attr("class","cynefin-backgrounds"),X=["complex","complicated","chaotic","clear"];for(const l of X){const r=F[l];mt.append("rect").attr("class","cynefinDomain").attr("x",r.x).attr("y",r.y).attr("width",r.w).attr("height",r.h).attr("fill",z[l]).attr("fill-opacity",.4).attr("stroke","none")}const j=T.append("g").attr("class","cynefin-boundaries");j.append("path").attr("class","cynefinBoundary").attr("d",ct(i,f,Q,R)).attr("fill","none"),j.append("path").attr("class","cynefinBoundary").attr("d",lt(i,f,Q+100,R)).attr("fill","none"),j.append("path").attr("class","cynefinCliff").attr("d",dt(i,f)).attr("fill","none");const pt=i*.15,yt=f*.15;T.append("path").attr("class","cynefinConfusion").attr("d",ft(i/2,f/2,pt,yt)).attr("fill",z.confusion).attr("fill-opacity",.5);const J=T.append("g").attr("class","cynefin-labels");for(const l of X){const r=F[l];J.append("text").attr("class","cynefinDomainLabel").attr("x",r.cx).attr("y",h?r.cy-30:r.cy).attr("text-anchor","middle").attr("dominant-baseline","middle").text(l.charAt(0).toUpperCase()+l.slice(1))}if(J.append("text").attr("class","cynefinDomainLabel").attr("x",i/2).attr("y",h?f/2-10:f/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text("Confusion"),h){const l=T.append("g").attr("class","cynefin-subtitles");for(const r of X){const u=F[r],y=at[r];l.append("text").attr("class","cynefinSubtitle").attr("x",u.cx).attr("y",u.cy-10).attr("text-anchor","middle").attr("dominant-baseline","middle").text(y.model),l.append("text").attr("class","cynefinSubtitle").attr("x",u.cx).attr("y",u.cy+5).attr("text-anchor","middle").attr("dominant-baseline","middle").text(y.practice)}l.append("text").attr("class","cynefinSubtitle").attr("x",i/2).attr("y",f/2+8).attr("text-anchor","middle").attr("dominant-baseline","middle").text(at.confusion.practice)}const K=T.append("g").attr("class","cynefin-items"),A=26,tt=10,ut=["complex","complicated","chaotic","clear","confusion"];for(const l of ut){const r=m.get(l);if(!r||r.items.length===0)continue;const u=F[l],y=l==="confusion";let L=r.items,N=0;y&&r.items.length>q&&(N=r.items.length-q,L=r.items.slice(0,q));let B;if(y){const g=h?22:14;B=u.cy+g}else B=u.cy+(h?25:15);if([...L].forEach((g,S)=>{const w=B+S*(A+4),M=K.append("g"),P=M.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",A/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(g.label);let $=g.label.length*7;const x=P.node();if(x&&typeof x.getBBox=="function"){const Y=x.getBBox();Y.width>0&&($=Y.width)}const C=$+tt*2,W=u.cx-C/2;M.attr("transform",`translate(${W}, ${w})`),M.insert("rect","text").attr("class","cynefinItem").attr("x",0).attr("y",0).attr("width",C).attr("height",A).attr("rx",4).attr("ry",4).attr("fill",z[l]).attr("fill-opacity",.95),P.attr("x",C/2).attr("y",A/2)}),N>0){const g=B+L.length*(A+4),S=`+${N} more`,w=K.append("g"),M=w.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",A/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(S);let P=S.length*7;const $=M.node();if($&&typeof $.getBBox=="function"){const W=$.getBBox();W.width>0&&(P=W.width)}const x=P+tt*2,C=u.cx-x/2;w.attr("transform",`translate(${C}, ${g})`),w.insert("rect","text").attr("class","cynefinItemOverflow").attr("x",0).attr("y",0).attr("width",x).attr("height",A).attr("rx",4).attr("ry",4).attr("fill",z[l]).attr("fill-opacity",.6),M.attr("x",x/2).attr("y",A/2)}}if(v.length>0){const l=k.select("defs").empty()?k.append("defs"):k.select("defs"),r=`cynefin-arrow-${e}`;l.append("marker").attr("id",r).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","cynefinArrowHead");const u=T.append("g").attr("class","cynefin-arrows");v.forEach(y=>{const L=F[y.from],N=F[y.to];if(!L||!N)return;if(y.from===y.to){O.warn(`Cynefin renderer: skipping self-loop on domain "${y.from}"`);return}const B=L.cx,g=L.cy,S=N.cx,w=N.cy,M=(B+S)/2,P=(g+w)/2,$=S-B,x=w-g,C=Math.sqrt($*$+x*x),W=C*.15,Y=-x/C,ht=$/C,et=M+Y*W,nt=P+ht*W;u.append("path").attr("class","cynefinArrowLine").attr("d",`M${B},${g} Q${et},${nt} ${S},${w}`).attr("fill","none").attr("marker-end",`url(#${r})`),y.label&&u.append("text").attr("class","cynefinArrowLabel").attr("x",et).attr("y",nt-6).attr("text-anchor","middle").attr("dominant-baseline","auto").text(y.label)})}I&&T.append("text").attr("class","cynefinTitle").attr("x",i/2).attr("y",-b/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text(I)},"draw"),Ft={draw:_t},Et=s(()=>{const t=ot(),e=Z();return U(t,e.themeVariables).cynefin},"getCynefinTheme"),Ht=s(()=>{const t=Et();return`
|
|
2
2
|
.cynefinDomain {
|
|
3
3
|
stroke: none;
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as bt,bq as x,by as Rt,bs as It,b as wt,bu as g}from"./
|
|
1
|
+
import{t as bt,bq as x,by as Rt,bs as It,b as wt,bu as g}from"./BLK9_MXJ.js";import{bs as Pt,ca as w,aD as t,c9 as s,bn as kt,bH as N,bV as E,aA as F}from"./DYhIMPy1.js";import{b as vt}from"./BaIAhI85.js";import{HR as l,eB as Ut,eC as At,s2 as Bt,nM as xt,nN as Ft,Im as _t,IC as Tt,Ir as Dt,nR as _}from"./DSAz0okZ.js";import{a_ as Lt}from"./BKGDTzxi.js";import{g as Wt}from"./DfN8_dcw.js";import{dm as Gt,by as Mt,bA as Nt,bx as Et,bC as Vt,cY as Ht,e as zt}from"./ClKXAKis.js";import{C as qt}from"./C-Bae4WT.js";import{V as Kt}from"./Cd2nCrGL.js";import{bN as Yt,bK as jt,b5 as Jt}from"./waagD0cO.js";import{i as T,n as V}from"./H2jLkRRS.js";import{ah as Ot}from"./wCe59Qn_.js";function Qt(D,$){if(new.target)return bt({component:Qt,...D});Pt($,!0);const H=()=>g(at,"$gitRoots$",c),y=()=>g(ot,"$workspace",c),z=()=>g(nt,"$ftCommits$",c),q=()=>g(lt,"$rootGitRoots$",c),S=()=>g(st,"$ftChanges$",c),K=()=>g(tt,"$foldUnchanged",c),Y=()=>g(Z,"$lineWrapping",c),j=()=>g(et,"$diffSideBySide",c),J=()=>g(rt,"$ftLoading$",c),O=()=>g(it,"$ftBoundarySha$",c),[c,Q]=It(),X=o=>{Kt(o,{embedded:!0,showExpand:!0,get expanded(){return t(R)},onToggleExpand:()=>{N(R,!t(R)),t(R)?t(I)?.expandAll():t(I)?.collapseAll()},get foldEnabled(){return K()},onToggleFold:()=>l.dispatch(Dt()),get wrapEnabled(){return Y()},onToggleWrap:()=>l.dispatch(Tt()),get splitEnabled(){return j()},onToggleSplit:()=>l.dispatch(_t())})},Z=Yt(),tt=jt(),et=Jt();let P=x($,"tab",7),m=x($,"workspaceId",7),C=x($,"isActive",7);const L=Wt(),h=Lt(()=>m()),ot=Gt(h);w(()=>{const o=m();if(!(!C()||!o||t(n)))return l.dispatch(Ut(o,"all")),()=>l.dispatch(At(o,"all"))});const n=s(()=>P().data?.gitRootId||""),at=Ot(h),b=s(()=>H().find(o=>o.id===t(n))),p=s(()=>y()?.worktreePath||y()?.repositoryPath||""),k=s(()=>t(b)?.path||t(p)),st=Mt(h),nt=Nt(h),it=Et(h),rt=Vt(h),dt=s(()=>z()||[]),lt=Ht(h),f=s(()=>q()[t(n)]??zt),ct=s(()=>t(f).status),gt=s(()=>t(f).loading),mt=s(()=>t(f).commitFiles),ut=s(()=>{const o=t(b)?.registeredCommitSha,i=o?t(f).commits.findIndex(e=>e.hash===o):-1;return i>=0?t(f).commits.slice(0,i):t(f).commits});w(()=>{const o=m(),i=t(n);o&&i&&l.dispatch(Bt(o,i,t(b)?.registeredCommitSha,100))});let R=E(!0),I=E(null);const ht=s(()=>{if(t(n))return[...(t(ct)?.files??[]).map(e=>({filePath:`${t(k)}/${e.path}`,action:"modify",additions:e.additions??0,deletions:e.deletions??0,toolName:"local",toolCallId:`root-${t(n)}-${e.staged}-${e.path}`,staged:e.staged,category:e.staged?"staged":"unstaged"})),...t(ut).flatMap(e=>(t(mt)[e.hash]??[]).map(a=>({filePath:`${t(k)}/${a.path}`,action:"modify",additions:a.additions??0,deletions:a.deletions??0,toolName:"local",toolCallId:`root-commit-${e.hash}-${a.path}`,staged:!1,category:"committed",commitHash:e.hash,commitMessage:e.message})))];const o=S().filter(e=>e.stage==="unstaged"),i=S().filter(e=>e.stage==="staged");return[...o.map(e=>{const a=e.file||e.relativePath,r=a&&T(a)?a:`${t(p)}/${a}`;return{filePath:r,action:"modify",additions:e.stats?.additions||0,deletions:e.stats?.deletions||0,toolName:"local",toolCallId:`local-unstaged-${r}`,staged:!1,category:"unstaged",oldContent:e.content?.oldContent,newContent:e.content?.newContent,gitlink:e.gitlink}}),...i.map(e=>{const a=e.file||e.relativePath,r=a&&T(a)?a:`${t(p)}/${a}`;return{filePath:r,action:"modify",additions:e.stats?.additions||0,deletions:e.stats?.deletions||0,toolName:"local",toolCallId:`local-staged-${r}`,staged:!0,category:"staged",oldContent:e.content?.oldContent,newContent:e.content?.newContent,gitlink:e.gitlink}}),...t(dt).flatMap(e=>(e.files||[]).map(a=>{const r=typeof a=="string"?a:a.path||"",U=r&&T(r)?r:`${t(p)}/${r}`,A=typeof a=="string"?0:a.additions||0,B=typeof a=="string"?0:a.deletions||0;return{filePath:U,action:"modify",additions:A,deletions:B,toolName:"local",toolCallId:`commit-${e.hash}-${r}`,staged:!1,category:"committed",commitHash:e.hash,commitMessage:e.message}}))]});function v(o){if(!t(p))return o;const i=V(o),e=V(t(p));return i.startsWith(`${e}/`)?i.slice(e.length+1):o}function W(o){l.dispatch(_(m(),crypto.randomUUID(),{kind:"stage",paths:o.map(v),source:"localChanges"}))}function G(o){l.dispatch(_(m(),crypto.randomUUID(),{kind:"unstage",paths:o.map(v),source:"localChanges"}))}function pt(o){l.dispatch(_(m(),crypto.randomUUID(),{kind:"discard",paths:o.map(v),source:"localChanges"}))}w(()=>{!L||!C()||L.registerActions({display:X})});const M=crypto.randomUUID();w(()=>{const o=m();if(!(!(C()&&t(n))||!o))return l.dispatch(xt(o,M)),()=>l.dispatch(Ft(o,M))});var ft={get tab(){return P()},set tab(o){P(o),F()},get workspaceId(){return m()},set workspaceId(o){m(o),F()},get isActive(){return C()},set isActive(o){C(o),F()},$set:Rt,$on:(o,i)=>wt($,o,i)};{let o=s(()=>t(n)?t(gt):J()),i=s(()=>t(n)||void 0),e=s(()=>t(n)?t(k):void 0),a=s(()=>y()?.baseRef??null),r=s(()=>t(n)?t(b)?.registeredCommitSha||null:O()||y()?.baseCommitSha||null),U=s(()=>!t(n)),A=s(()=>t(n)?void 0:d=>void W([d])),B=s(()=>t(n)?void 0:d=>void G([d])),Ct=s(()=>t(n)?void 0:d=>void pt([d])),yt=s(()=>t(n)?void 0:()=>{const d=S().filter(u=>u.stage==="unstaged");W(d.map(u=>u.relativePath||u.file))}),St=s(()=>t(n)?void 0:()=>{const d=S().filter(u=>u.stage==="staged");G(d.map(u=>u.relativePath||u.file))});vt(qt(D,{get isLoading(){return t(o)},get changes(){return t(ht)},get gitRootId(){return t(i)},get gitRootPath(){return t(e)},get branchBaseRef(){return t(a)},get branchBaseCommitSha(){return t(r)},get showStagingControls(){return t(U)},showCategoryFilter:!0,get onStage(){return t(A)},get onUnstage(){return t(B)},get onRevert(){return t(Ct)},get onStageAll(){return t(yt)},get onUnstageAll(){return t(St)}}),d=>N(I,d,!0),()=>t(I))}var $t=kt(ft);return Q(),$t}export{Qt as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as i,aW as l,aw as d,P as o}from"./
|
|
1
|
+
import{b as i,aW as l,aw as d,P as o}from"./B-obUB2z.js";var x=i((r,t)=>{const e=r.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const s in t.attrs)e.attr(s,t.attrs[s]);return t.class&&e.attr("class",t.class),e},"drawRect"),p=i((r,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};x(r,e).lower()},"drawBackgroundRect"),y=i((r,t)=>{const e=t.text.replace(d," "),s=r.append("text");s.attr("x",t.x),s.attr("y",t.y),s.attr("class","legend"),s.style("text-anchor",t.anchor),t.class&&s.attr("class",t.class);const a=s.append("tspan");return a.attr("x",t.x+t.textMargin*2),a.text(e),s},"drawText"),m=i((r,t,e,s)=>{const a=r.append("image");a.attr("x",t),a.attr("y",e);const n=o.sanitizeUrl(s);a.attr("xlink:href",n)},"drawImage"),g=i((r,t,e,s)=>{const a=r.append("use");a.attr("x",t),a.attr("y",e);const n=o.sanitizeUrl(s);a.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),h=i(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),f=i(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),w=i(()=>{let r=l(".mermaidTooltip");return r.empty()&&(r=l("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");export{g as a,m as b,w as c,p as d,x as e,y as f,h as g,f as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as c}from"./
|
|
1
|
+
import{g as c}from"./DPbHVaEp.js";function a(e,o){const r=globalThis.MonacoEnvironment;if(r?.createTrustedTypesPolicy)try{return r.createTrustedTypesPolicy(e,o)}catch(t){console.error(t);return}try{return globalThis.trustedTypes?.createPolicy(e,o)}catch(t){console.error(t);return}}let n;typeof self=="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope"&&globalThis.workerttPolicy!==void 0?n=globalThis.workerttPolicy:n=a("defaultWorkerFactory",{createScriptURL:e=>e});function l(e){const o=e.label,r=globalThis.MonacoEnvironment;if(r){if(typeof r.getWorker=="function")return r.getWorker("workerMain.js",o);if(typeof r.getWorkerUrl=="function"){const t=r.getWorkerUrl("workerMain.js",o);return new Worker(n?n.createScriptURL(t):t,{name:o,type:"module"})}}if(e.createWorker)return e.createWorker();throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}function s(e){const o=Promise.resolve(l({label:e.label??"monaco-editor-worker",moduleId:e.moduleId,createWorker:e.createWorker})).then(r=>(r.postMessage("ignore"),r.postMessage(e.createData),r));return c.createWebWorker({worker:o,host:e.host,keepIdleModels:e.keepIdleModels})}export{s as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var aC=Object.defineProperty;var iC=(t,e,r)=>e in t?aC(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var L=(t,e,r)=>iC(t,typeof e!="symbol"?e+"":e,r);import{_ as et}from"./DozYGPQ1.js";var sC=Object.create,ol=Object.defineProperty,oC=Object.getOwnPropertyDescriptor,nd=Object.getOwnPropertyNames,lC=Object.getPrototypeOf,uC=Object.prototype.hasOwnProperty,s=(t,e)=>ol(t,"name",{value:e,configurable:!0}),cC=(t,e)=>function(){return t&&(e=(0,t[nd(t)[0]])(t=0)),e},re=(t,e)=>function(){return e||(0,t[nd(t)[0]])((e={exports:{}}).exports,e),e.exports},fC=(t,e)=>{for(var r in e)ol(t,r,{get:e[r],enumerable:!0})},_y=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of nd(e))!uC.call(t,n)&&n!==r&&ol(t,n,{get:()=>e[n],enumerable:!(a=oC(e,n))||a.enumerable});return t},ad=(t,e,r)=>(r=t!=null?sC(lC(t)):{},_y(ol(r,"default",{value:t,enumerable:!0}),t)),id=t=>_y(ol({},"__esModule",{value:!0}),t),ll=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/is.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.boolean=e,t.string=r,t.number=a,t.error=n,t.func=i,t.array=o,t.stringArray=u;function e(l){return l===!0||l===!1}s(e,"boolean");function r(l){return typeof l=="string"||l instanceof String}s(r,"string");function a(l){return typeof l=="number"||l instanceof Number}s(a,"number");function n(l){return l instanceof Error}s(n,"error");function i(l){return typeof l=="function"}s(i,"func");function o(l){return Array.isArray(l)}s(o,"array");function u(l){return o(l)&&l.every(c=>r(c))}s(u,"stringArray")}}),Sy=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messages.js"(t){var G,S,I,v,w,k,_,x,U,Z,Q,ee,ae,pe,ye,Le,Ne,Je,Ze,pt,ze,xe,st,Qe,se;var e=t&&t.__createBinding||(Object.create?(function(B,q,z,oe){oe===void 0&&(oe=z);var de=Object.getOwnPropertyDescriptor(q,z);(!de||("get"in de?!q.__esModule:de.writable||de.configurable))&&(de={enumerable:!0,get:s(function(){return q[z]},"get")}),Object.defineProperty(B,oe,de)}):(function(B,q,z,oe){oe===void 0&&(oe=z),B[oe]=q[z]})),r=t&&t.__setModuleDefault||(Object.create?(function(B,q){Object.defineProperty(B,"default",{enumerable:!0,value:q})}):function(B,q){B.default=q}),a=t&&t.__importStar||(function(){var B=s(function(q){return B=Object.getOwnPropertyNames||function(z){var oe=[];for(var de in z)Object.prototype.hasOwnProperty.call(z,de)&&(oe[oe.length]=de);return oe},B(q)},"ownKeys");return function(q){if(q&&q.__esModule)return q;var z={};if(q!=null)for(var oe=B(q),de=0;de<oe.length;de++)oe[de]!=="default"&&e(z,q,oe[de]);return r(z,q),z}})();Object.defineProperty(t,"__esModule",{value:!0}),t.Message=t.NotificationType9=t.NotificationType8=t.NotificationType7=t.NotificationType6=t.NotificationType5=t.NotificationType4=t.NotificationType3=t.NotificationType2=t.NotificationType1=t.NotificationType0=t.NotificationType=t.RequestType9=t.RequestType8=t.RequestType7=t.RequestType6=t.RequestType5=t.RequestType4=t.RequestType3=t.RequestType2=t.RequestType1=t.RequestType=t.RequestType0=t.AbstractMessageSignature=t.ParameterStructures=t.ResponseError=t.ErrorCodes=void 0;var n=a(ll()),i;(function(B){B.ParseError=-32700,B.InvalidRequest=-32600,B.MethodNotFound=-32601,B.InvalidParams=-32602,B.InternalError=-32603,B.jsonrpcReservedErrorRangeStart=-32099,B.serverErrorStart=-32099,B.MessageWriteError=-32099,B.MessageReadError=-32098,B.PendingResponseRejected=-32097,B.ConnectionInactive=-32096,B.ServerNotInitialized=-32002,B.UnknownErrorCode=-32001,B.jsonrpcReservedErrorRangeEnd=-32e3,B.serverErrorEnd=-32e3})(i||(t.ErrorCodes=i={}));var o=(G=class extends Error{constructor(z,oe,de){super(oe);L(this,"code");L(this,"data");this.code=n.number(z)?z:i.UnknownErrorCode,this.data=de,Object.setPrototypeOf(this,G.prototype)}toJson(){const z={code:this.code,message:this.message};return this.data!==void 0&&(z.data=this.data),z}},s(G,"ResponseError"),G);t.ResponseError=o;var u=(S=class{constructor(q){L(this,"kind");this.kind=q}static is(q){return q===S.auto||q===S.byName||q===S.byPosition}toString(){return this.kind}},s(S,"ParameterStructures"),L(S,"auto",new S("auto")),L(S,"byPosition",new S("byPosition")),L(S,"byName",new S("byName")),S);t.ParameterStructures=u;var l=(I=class{constructor(q,z){L(this,"method");L(this,"numberOfParams");this.method=q,this.numberOfParams=z}get parameterStructures(){return u.auto}},s(I,"AbstractMessageSignature"),I);t.AbstractMessageSignature=l;var c=(v=class extends l{constructor(z){super(z,0);L(this,"_")}},s(v,"RequestType0"),v);t.RequestType0=c;var f=(w=class extends l{constructor(z,oe=u.auto){super(z,1);L(this,"_parameterStructures");L(this,"_");this._parameterStructures=oe}get parameterStructures(){return this._parameterStructures}},s(w,"RequestType"),w);t.RequestType=f;var p=(k=class extends l{constructor(z,oe=u.auto){super(z,1);L(this,"_parameterStructures");L(this,"_");this._parameterStructures=oe}get parameterStructures(){return this._parameterStructures}},s(k,"RequestType1"),k);t.RequestType1=p;var h=(_=class extends l{constructor(z){super(z,2);L(this,"_")}},s(_,"RequestType2"),_);t.RequestType2=h;var g=(x=class extends l{constructor(z){super(z,3);L(this,"_")}},s(x,"RequestType3"),x);t.RequestType3=g;var A=(U=class extends l{constructor(z){super(z,4);L(this,"_")}},s(U,"RequestType4"),U);t.RequestType4=A;var $=(Z=class extends l{constructor(z){super(z,5);L(this,"_")}},s(Z,"RequestType5"),Z);t.RequestType5=$;var R=(Q=class extends l{constructor(z){super(z,6);L(this,"_")}},s(Q,"RequestType6"),Q);t.RequestType6=R;var m=(ee=class extends l{constructor(z){super(z,7);L(this,"_")}},s(ee,"RequestType7"),ee);t.RequestType7=m;var y=(ae=class extends l{constructor(z){super(z,8);L(this,"_")}},s(ae,"RequestType8"),ae);t.RequestType8=y;var E=(pe=class extends l{constructor(z){super(z,9);L(this,"_")}},s(pe,"RequestType9"),pe);t.RequestType9=E;var b=(ye=class extends l{constructor(z,oe=u.auto){super(z,1);L(this,"_parameterStructures");L(this,"_");this._parameterStructures=oe}get parameterStructures(){return this._parameterStructures}},s(ye,"NotificationType"),ye);t.NotificationType=b;var P=(Le=class extends l{constructor(z){super(z,0);L(this,"_")}},s(Le,"NotificationType0"),Le);t.NotificationType0=P;var F=(Ne=class extends l{constructor(z,oe=u.auto){super(z,1);L(this,"_parameterStructures");L(this,"_");this._parameterStructures=oe}get parameterStructures(){return this._parameterStructures}},s(Ne,"NotificationType1"),Ne);t.NotificationType1=F;var K=(Je=class extends l{constructor(z){super(z,2);L(this,"_")}},s(Je,"NotificationType2"),Je);t.NotificationType2=K;var le=(Ze=class extends l{constructor(z){super(z,3);L(this,"_")}},s(Ze,"NotificationType3"),Ze);t.NotificationType3=le;var ge=(pt=class extends l{constructor(z){super(z,4);L(this,"_")}},s(pt,"NotificationType4"),pt);t.NotificationType4=ge;var X=(ze=class extends l{constructor(z){super(z,5);L(this,"_")}},s(ze,"NotificationType5"),ze);t.NotificationType5=X;var ve=(xe=class extends l{constructor(z){super(z,6);L(this,"_")}},s(xe,"NotificationType6"),xe);t.NotificationType6=ve;var Me=(st=class extends l{constructor(z){super(z,7);L(this,"_")}},s(st,"NotificationType7"),st);t.NotificationType7=Me;var D=(Qe=class extends l{constructor(z){super(z,8);L(this,"_")}},s(Qe,"NotificationType8"),Qe);t.NotificationType8=D;var N=(se=class extends l{constructor(z){super(z,9);L(this,"_")}},s(se,"NotificationType9"),se);t.NotificationType9=N;var M;(function(B){function q(de){const Oe=de;return Oe&&n.string(Oe.method)&&(n.string(Oe.id)||n.number(Oe.id))}s(q,"isRequest"),B.isRequest=q;function z(de){const Oe=de;return Oe&&n.string(Oe.method)&&de.id===void 0}s(z,"isNotification"),B.isNotification=z;function oe(de){const Oe=de;return Oe&&(Oe.result!==void 0||!!Oe.error)&&(n.string(Oe.id)||n.number(Oe.id)||Oe.id===null)}s(oe,"isResponse"),B.isResponse=oe})(M||(t.Message=M={}))}}),wy=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/linkedMap.js"(t){var n,i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.LRUCache=t.LinkedMap=t.Touch=void 0;var e;(function(u){u.None=0,u.First=1,u.AsOld=u.First,u.Last=2,u.AsNew=u.Last})(e||(t.Touch=e={}));var r=(i=class{constructor(){L(this,n,"LinkedMap");L(this,"_map");L(this,"_head");L(this,"_tail");L(this,"_size");L(this,"_state");this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}before(l){const c=this._map.get(l);return c?c.previous?.value:void 0}after(l){const c=this._map.get(l);return c?c.next?.value:void 0}has(l){return this._map.has(l)}get(l,c=e.None){const f=this._map.get(l);if(f)return c!==e.None&&this.touch(f,c),f.value}set(l,c,f=e.None){let p=this._map.get(l);if(p)p.value=c,f!==e.None&&this.touch(p,f);else{switch(p={key:l,value:c,next:void 0,previous:void 0},f){case e.None:this.addItemLast(p);break;case e.First:this.addItemFirst(p);break;case e.Last:this.addItemLast(p);break;default:this.addItemLast(p);break}this._map.set(l,p),this._size++}return this}delete(l){return!!this.remove(l)}remove(l){const c=this._map.get(l);if(c)return this._map.delete(l),this.removeItem(c),this._size--,c.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const l=this._head;return this._map.delete(l.key),this.removeItem(l),this._size--,l.value}forEach(l,c){const f=this._state;let p=this._head;for(;p;){if(c?l.bind(c)(p.value,p.key,this):l(p.value,p.key,this),this._state!==f)throw new Error("LinkedMap got modified during iteration.");p=p.next}}keys(){const l=this._state;let c=this._head;const f={[Symbol.iterator]:()=>f,next:s(()=>{if(this._state!==l)throw new Error("LinkedMap got modified during iteration.");if(c){const p={value:c.key,done:!1};return c=c.next,p}else return{value:void 0,done:!0}},"next")};return f}values(){const l=this._state;let c=this._head;const f={[Symbol.iterator]:()=>f,next:s(()=>{if(this._state!==l)throw new Error("LinkedMap got modified during iteration.");if(c){const p={value:c.value,done:!1};return c=c.next,p}else return{value:void 0,done:!0}},"next")};return f}entries(){const l=this._state;let c=this._head;const f={[Symbol.iterator]:()=>f,next:s(()=>{if(this._state!==l)throw new Error("LinkedMap got modified during iteration.");if(c){const p={value:[c.key,c.value],done:!1};return c=c.next,p}else return{value:void 0,done:!0}},"next")};return f}[(n=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(l){if(l>=this.size)return;if(l===0){this.clear();return}let c=this._head,f=this.size;for(;c&&f>l;)this._map.delete(c.key),c=c.next,f--;this._head=c,this._size=f,c&&(c.previous=void 0),this._state++}addItemFirst(l){if(!this._head&&!this._tail)this._tail=l;else if(this._head)l.next=this._head,this._head.previous=l;else throw new Error("Invalid list");this._head=l,this._state++}addItemLast(l){if(!this._head&&!this._tail)this._head=l;else if(this._tail)l.previous=this._tail,this._tail.next=l;else throw new Error("Invalid list");this._tail=l,this._state++}removeItem(l){if(l===this._head&&l===this._tail)this._head=void 0,this._tail=void 0;else if(l===this._head){if(!l.next)throw new Error("Invalid list");l.next.previous=void 0,this._head=l.next}else if(l===this._tail){if(!l.previous)throw new Error("Invalid list");l.previous.next=void 0,this._tail=l.previous}else{const c=l.next,f=l.previous;if(!c||!f)throw new Error("Invalid list");c.previous=f,f.next=c}l.next=void 0,l.previous=void 0,this._state++}touch(l,c){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(c!==e.First&&c!==e.Last)){if(c===e.First){if(l===this._head)return;const f=l.next,p=l.previous;l===this._tail?(p.next=void 0,this._tail=p):(f.previous=p,p.next=f),l.previous=void 0,l.next=this._head,this._head.previous=l,this._head=l,this._state++}else if(c===e.Last){if(l===this._tail)return;const f=l.next,p=l.previous;l===this._head?(f.previous=void 0,this._head=f):(f.previous=p,p.next=f),l.next=void 0,l.previous=this._tail,this._tail.next=l,this._tail=l,this._state++}}}toJSON(){const l=[];return this.forEach((c,f)=>{l.push([f,c])}),l}fromJSON(l){this.clear();for(const[c,f]of l)this.set(c,f)}},s(i,"LinkedMap"),i);t.LinkedMap=r;var a=(o=class extends r{constructor(c,f=1){super();L(this,"_limit");L(this,"_ratio");this._limit=c,this._ratio=Math.min(Math.max(0,f),1)}get limit(){return this._limit}set limit(c){this._limit=c,this.checkTrim()}get ratio(){return this._ratio}set ratio(c){this._ratio=Math.min(Math.max(0,c),1),this.checkTrim()}get(c,f=e.AsNew){return super.get(c,f)}peek(c){return super.get(c,e.None)}set(c,f){return super.set(c,f,e.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}},s(o,"LRUCache"),o);t.LRUCache=a}}),pC=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/disposable.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Disposable=void 0;var e;(function(r){function a(n){return{dispose:n}}s(a,"create"),r.create=a})(e||(t.Disposable=e={}))}}),Kr=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/ral.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e;function r(){if(e===void 0)throw new Error("No runtime abstraction layer installed");return e}s(r,"RAL"),(function(a){function n(i){if(i===void 0)throw new Error("No runtime abstraction layer provided");e=i}s(n,"install"),a.install=n})(r||(r={})),t.default=r}}),ul=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/events.js"(t){var o,u;var e=t&&t.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(t,"__esModule",{value:!0}),t.Emitter=t.Event=void 0;var r=e(Kr()),a;(function(l){const c={dispose(){}};l.None=function(){return c}})(a||(t.Event=a={}));var n=(o=class{constructor(){L(this,"_callbacks");L(this,"_contexts")}add(c,f=null,p){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(c),this._contexts.push(f),Array.isArray(p)&&p.push({dispose:s(()=>this.remove(c,f),"dispose")})}remove(c,f=null){if(!this._callbacks)return;let p=!1;for(let h=0,g=this._callbacks.length;h<g;h++)if(this._callbacks[h]===c)if(this._contexts[h]===f){this._callbacks.splice(h,1),this._contexts.splice(h,1);return}else p=!0;if(p)throw new Error("When adding a listener with a context, you should remove it with the same context")}invoke(...c){if(!this._callbacks)return[];const f=[],p=this._callbacks.slice(0),h=this._contexts.slice(0);for(let g=0,A=p.length;g<A;g++)try{f.push(p[g].apply(h[g],c))}catch($){(0,r.default)().console.error($)}return f}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},s(o,"CallbackList"),o),i=(u=class{constructor(c){L(this,"_options");L(this,"_event");L(this,"_callbacks");this._options=c}get event(){return this._event||(this._event=(c,f,p)=>{this._callbacks||(this._callbacks=new n),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(c,f);const h={dispose:s(()=>{this._callbacks&&(this._callbacks.remove(c,f),h.dispose=u._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))},"dispose")};return Array.isArray(p)&&p.push(h),h}),this._event}fire(c){this._callbacks&&this._callbacks.invoke.call(this._callbacks,c)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}},s(u,"Emitter"),L(u,"_noop",s(function(){},"_noop")),u);t.Emitter=i}}),sd=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/cancellation.js"(t){var h,g;var e=t&&t.__createBinding||(Object.create?(function(A,$,R,m){m===void 0&&(m=R);var y=Object.getOwnPropertyDescriptor($,R);(!y||("get"in y?!$.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:s(function(){return $[R]},"get")}),Object.defineProperty(A,m,y)}):(function(A,$,R,m){m===void 0&&(m=R),A[m]=$[R]})),r=t&&t.__setModuleDefault||(Object.create?(function(A,$){Object.defineProperty(A,"default",{enumerable:!0,value:$})}):function(A,$){A.default=$}),a=t&&t.__importStar||(function(){var A=s(function($){return A=Object.getOwnPropertyNames||function(R){var m=[];for(var y in R)Object.prototype.hasOwnProperty.call(R,y)&&(m[m.length]=y);return m},A($)},"ownKeys");return function($){if($&&$.__esModule)return $;var R={};if($!=null)for(var m=A($),y=0;y<m.length;y++)m[y]!=="default"&&e(R,$,m[y]);return r(R,$),R}})(),n=t&&t.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(t,"__esModule",{value:!0}),t.CancellationTokenSource=t.CancellationToken=void 0;var i=n(Kr()),o=a(ll()),u=ul(),l;(function(A){A.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:u.Event.None}),A.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:u.Event.None});function $(R){const m=R;return m&&(m===A.None||m===A.Cancelled||o.boolean(m.isCancellationRequested)&&!!m.onCancellationRequested)}s($,"is"),A.is=$})(l||(t.CancellationToken=l={}));var c=Object.freeze(function(A,$){const R=(0,i.default)().timer.setTimeout(A.bind($),0);return{dispose(){R.dispose()}}}),f=(h=class{constructor(){L(this,"_isCancelled",!1);L(this,"_emitter")}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?c:(this._emitter||(this._emitter=new u.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},s(h,"MutableToken"),h),p=(g=class{constructor(){L(this,"_token")}get token(){return this._token||(this._token=new f),this._token}cancel(){this._token?this._token.cancel():this._token=l.Cancelled}dispose(){this._token?this._token instanceof f&&this._token.dispose():this._token=l.None}},s(g,"CancellationTokenSource"),g);t.CancellationTokenSource=p}}),dC=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js"(t){var u,l,c,f;Object.defineProperty(t,"__esModule",{value:!0}),t.SharedArrayReceiverStrategy=t.SharedArraySenderStrategy=void 0;var e=sd(),r;(function(p){p.Continue=0,p.Cancelled=1})(r||(r={}));var a=(u=class{constructor(){L(this,"buffers");this.buffers=new Map}enableCancellation(h){if(h.id===null)return;const g=new SharedArrayBuffer(4),A=new Int32Array(g,0,1);A[0]=r.Continue,this.buffers.set(h.id,g),h.$cancellationData=g}async sendCancellation(h,g){const A=this.buffers.get(g);if(A===void 0)return;const $=new Int32Array(A,0,1);Atomics.store($,0,r.Cancelled)}cleanup(h){this.buffers.delete(h)}dispose(){this.buffers.clear()}},s(u,"SharedArraySenderStrategy"),u);t.SharedArraySenderStrategy=a;var n=(l=class{constructor(h){L(this,"data");this.data=new Int32Array(h,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===r.Cancelled}get onCancellationRequested(){throw new Error("Cancellation over SharedArrayBuffer doesn't support cancellation events")}},s(l,"SharedArrayBufferCancellationToken"),l),i=(c=class{constructor(h){L(this,"token");this.token=new n(h)}cancel(){}dispose(){}},s(c,"SharedArrayBufferCancellationTokenSource"),c),o=(f=class{constructor(){L(this,"kind","request")}createCancellationTokenSource(h){const g=h.$cancellationData;return g===void 0?new e.CancellationTokenSource:new i(g)}},s(f,"SharedArrayReceiverStrategy"),f);t.SharedArrayReceiverStrategy=o}}),Py=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/semaphore.js"(t){var n;var e=t&&t.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0}),t.Semaphore=void 0;var r=e(Kr()),a=(n=class{constructor(o=1){L(this,"_capacity");L(this,"_active");L(this,"_waiting");if(o<=0)throw new Error("Capacity must be greater than 0");this._capacity=o,this._active=0,this._waiting=[]}lock(o){return new Promise((u,l)=>{this._waiting.push({thunk:o,resolve:u,reject:l}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||(0,r.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;const o=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("Too many thunks active");try{const u=o.thunk();u instanceof Promise?u.then(l=>{this._active--,o.resolve(l),this.runNext()},l=>{this._active--,o.reject(l),this.runNext()}):(this._active--,o.resolve(u),this.runNext())}catch(u){this._active--,o.reject(u),this.runNext()}}},s(n,"Semaphore"),n);t.Semaphore=a}}),mC=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messageReader.js"(t){var g,A;var e=t&&t.__createBinding||(Object.create?(function($,R,m,y){y===void 0&&(y=m);var E=Object.getOwnPropertyDescriptor(R,m);(!E||("get"in E?!R.__esModule:E.writable||E.configurable))&&(E={enumerable:!0,get:s(function(){return R[m]},"get")}),Object.defineProperty($,y,E)}):(function($,R,m,y){y===void 0&&(y=m),$[y]=R[m]})),r=t&&t.__setModuleDefault||(Object.create?(function($,R){Object.defineProperty($,"default",{enumerable:!0,value:R})}):function($,R){$.default=R}),a=t&&t.__importStar||(function(){var $=s(function(R){return $=Object.getOwnPropertyNames||function(m){var y=[];for(var E in m)Object.prototype.hasOwnProperty.call(m,E)&&(y[y.length]=E);return y},$(R)},"ownKeys");return function(R){if(R&&R.__esModule)return R;var m={};if(R!=null)for(var y=$(R),E=0;E<y.length;E++)y[E]!=="default"&&e(m,R,y[E]);return r(m,R),m}})(),n=t&&t.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(t,"__esModule",{value:!0}),t.ReadableStreamMessageReader=t.AbstractMessageReader=t.MessageReader=void 0;var i=n(Kr()),o=a(ll()),u=ul(),l=Py(),c;(function($){function R(m){const y=m;return y&&o.func(y.listen)&&o.func(y.dispose)&&o.func(y.onError)&&o.func(y.onClose)&&o.func(y.onPartialMessage)}s(R,"is"),$.is=R})(c||(t.MessageReader=c={}));var f=(g=class{constructor(){L(this,"errorEmitter");L(this,"closeEmitter");L(this,"partialMessageEmitter");this.errorEmitter=new u.Emitter,this.closeEmitter=new u.Emitter,this.partialMessageEmitter=new u.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose(),this.partialMessageEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(R){this.errorEmitter.fire(this.asError(R))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(R){this.partialMessageEmitter.fire(R)}asError(R){return R instanceof Error?R:new Error(`Reader received error. Reason: ${o.string(R.message)?R.message:"unknown"}`)}},s(g,"AbstractMessageReader"),g);t.AbstractMessageReader=f;var p;(function($){function R(m){let y,E;const b=new Map;let P;const F=new Map;if(m===void 0||typeof m=="string")y=m??"utf-8";else{if(y=m.charset??"utf-8",m.contentDecoder!==void 0&&(E=m.contentDecoder,b.set(E.name,E)),m.contentDecoders!==void 0)for(const K of m.contentDecoders)b.set(K.name,K);if(m.contentTypeDecoder!==void 0&&(P=m.contentTypeDecoder,F.set(P.name,P)),m.contentTypeDecoders!==void 0)for(const K of m.contentTypeDecoders)F.set(K.name,K)}return P===void 0&&(P=(0,i.default)().applicationJson.decoder,F.set(P.name,P)),{charset:y,contentDecoder:E,contentDecoders:b,contentTypeDecoder:P,contentTypeDecoders:F}}s(R,"fromOptions"),$.fromOptions=R})(p||(p={}));var h=(A=class extends f{constructor(m,y){super();L(this,"readable");L(this,"options");L(this,"callback");L(this,"nextMessageLength");L(this,"messageToken");L(this,"buffer");L(this,"partialMessageTimer");L(this,"_partialMessageTimeout");L(this,"readSemaphore");this.readable=m,this.options=p.fromOptions(y),this.buffer=(0,i.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new l.Semaphore(1)}set partialMessageTimeout(m){this._partialMessageTimeout=m}get partialMessageTimeout(){return this._partialMessageTimeout}listen(m){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=m;const y=this.readable.onData(E=>{this.onData(E)});return this.readable.onError(E=>this.fireError(E)),this.readable.onClose(()=>this.fireClose()),y}onData(m){try{for(this.buffer.append(m);;){if(this.nextMessageLength===-1){const E=this.buffer.tryReadHeaders(!0);if(!E)return;const b=E.get("content-length");if(!b){this.fireError(new Error(`Header must provide a Content-Length property.
|
|
1
|
+
var aC=Object.defineProperty;var iC=(t,e,r)=>e in t?aC(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var L=(t,e,r)=>iC(t,typeof e!="symbol"?e+"":e,r);import{_ as et}from"./BLK9_MXJ.js";var sC=Object.create,ol=Object.defineProperty,oC=Object.getOwnPropertyDescriptor,nd=Object.getOwnPropertyNames,lC=Object.getPrototypeOf,uC=Object.prototype.hasOwnProperty,s=(t,e)=>ol(t,"name",{value:e,configurable:!0}),cC=(t,e)=>function(){return t&&(e=(0,t[nd(t)[0]])(t=0)),e},re=(t,e)=>function(){return e||(0,t[nd(t)[0]])((e={exports:{}}).exports,e),e.exports},fC=(t,e)=>{for(var r in e)ol(t,r,{get:e[r],enumerable:!0})},_y=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of nd(e))!uC.call(t,n)&&n!==r&&ol(t,n,{get:()=>e[n],enumerable:!(a=oC(e,n))||a.enumerable});return t},ad=(t,e,r)=>(r=t!=null?sC(lC(t)):{},_y(ol(r,"default",{value:t,enumerable:!0}),t)),id=t=>_y(ol({},"__esModule",{value:!0}),t),ll=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/is.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.boolean=e,t.string=r,t.number=a,t.error=n,t.func=i,t.array=o,t.stringArray=u;function e(l){return l===!0||l===!1}s(e,"boolean");function r(l){return typeof l=="string"||l instanceof String}s(r,"string");function a(l){return typeof l=="number"||l instanceof Number}s(a,"number");function n(l){return l instanceof Error}s(n,"error");function i(l){return typeof l=="function"}s(i,"func");function o(l){return Array.isArray(l)}s(o,"array");function u(l){return o(l)&&l.every(c=>r(c))}s(u,"stringArray")}}),Sy=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messages.js"(t){var G,S,I,v,w,k,_,x,U,Z,Q,ee,ae,pe,ye,Le,Ne,Je,Ze,pt,ze,xe,st,Qe,se;var e=t&&t.__createBinding||(Object.create?(function(B,q,z,oe){oe===void 0&&(oe=z);var de=Object.getOwnPropertyDescriptor(q,z);(!de||("get"in de?!q.__esModule:de.writable||de.configurable))&&(de={enumerable:!0,get:s(function(){return q[z]},"get")}),Object.defineProperty(B,oe,de)}):(function(B,q,z,oe){oe===void 0&&(oe=z),B[oe]=q[z]})),r=t&&t.__setModuleDefault||(Object.create?(function(B,q){Object.defineProperty(B,"default",{enumerable:!0,value:q})}):function(B,q){B.default=q}),a=t&&t.__importStar||(function(){var B=s(function(q){return B=Object.getOwnPropertyNames||function(z){var oe=[];for(var de in z)Object.prototype.hasOwnProperty.call(z,de)&&(oe[oe.length]=de);return oe},B(q)},"ownKeys");return function(q){if(q&&q.__esModule)return q;var z={};if(q!=null)for(var oe=B(q),de=0;de<oe.length;de++)oe[de]!=="default"&&e(z,q,oe[de]);return r(z,q),z}})();Object.defineProperty(t,"__esModule",{value:!0}),t.Message=t.NotificationType9=t.NotificationType8=t.NotificationType7=t.NotificationType6=t.NotificationType5=t.NotificationType4=t.NotificationType3=t.NotificationType2=t.NotificationType1=t.NotificationType0=t.NotificationType=t.RequestType9=t.RequestType8=t.RequestType7=t.RequestType6=t.RequestType5=t.RequestType4=t.RequestType3=t.RequestType2=t.RequestType1=t.RequestType=t.RequestType0=t.AbstractMessageSignature=t.ParameterStructures=t.ResponseError=t.ErrorCodes=void 0;var n=a(ll()),i;(function(B){B.ParseError=-32700,B.InvalidRequest=-32600,B.MethodNotFound=-32601,B.InvalidParams=-32602,B.InternalError=-32603,B.jsonrpcReservedErrorRangeStart=-32099,B.serverErrorStart=-32099,B.MessageWriteError=-32099,B.MessageReadError=-32098,B.PendingResponseRejected=-32097,B.ConnectionInactive=-32096,B.ServerNotInitialized=-32002,B.UnknownErrorCode=-32001,B.jsonrpcReservedErrorRangeEnd=-32e3,B.serverErrorEnd=-32e3})(i||(t.ErrorCodes=i={}));var o=(G=class extends Error{constructor(z,oe,de){super(oe);L(this,"code");L(this,"data");this.code=n.number(z)?z:i.UnknownErrorCode,this.data=de,Object.setPrototypeOf(this,G.prototype)}toJson(){const z={code:this.code,message:this.message};return this.data!==void 0&&(z.data=this.data),z}},s(G,"ResponseError"),G);t.ResponseError=o;var u=(S=class{constructor(q){L(this,"kind");this.kind=q}static is(q){return q===S.auto||q===S.byName||q===S.byPosition}toString(){return this.kind}},s(S,"ParameterStructures"),L(S,"auto",new S("auto")),L(S,"byPosition",new S("byPosition")),L(S,"byName",new S("byName")),S);t.ParameterStructures=u;var l=(I=class{constructor(q,z){L(this,"method");L(this,"numberOfParams");this.method=q,this.numberOfParams=z}get parameterStructures(){return u.auto}},s(I,"AbstractMessageSignature"),I);t.AbstractMessageSignature=l;var c=(v=class extends l{constructor(z){super(z,0);L(this,"_")}},s(v,"RequestType0"),v);t.RequestType0=c;var f=(w=class extends l{constructor(z,oe=u.auto){super(z,1);L(this,"_parameterStructures");L(this,"_");this._parameterStructures=oe}get parameterStructures(){return this._parameterStructures}},s(w,"RequestType"),w);t.RequestType=f;var p=(k=class extends l{constructor(z,oe=u.auto){super(z,1);L(this,"_parameterStructures");L(this,"_");this._parameterStructures=oe}get parameterStructures(){return this._parameterStructures}},s(k,"RequestType1"),k);t.RequestType1=p;var h=(_=class extends l{constructor(z){super(z,2);L(this,"_")}},s(_,"RequestType2"),_);t.RequestType2=h;var g=(x=class extends l{constructor(z){super(z,3);L(this,"_")}},s(x,"RequestType3"),x);t.RequestType3=g;var A=(U=class extends l{constructor(z){super(z,4);L(this,"_")}},s(U,"RequestType4"),U);t.RequestType4=A;var $=(Z=class extends l{constructor(z){super(z,5);L(this,"_")}},s(Z,"RequestType5"),Z);t.RequestType5=$;var R=(Q=class extends l{constructor(z){super(z,6);L(this,"_")}},s(Q,"RequestType6"),Q);t.RequestType6=R;var m=(ee=class extends l{constructor(z){super(z,7);L(this,"_")}},s(ee,"RequestType7"),ee);t.RequestType7=m;var y=(ae=class extends l{constructor(z){super(z,8);L(this,"_")}},s(ae,"RequestType8"),ae);t.RequestType8=y;var E=(pe=class extends l{constructor(z){super(z,9);L(this,"_")}},s(pe,"RequestType9"),pe);t.RequestType9=E;var b=(ye=class extends l{constructor(z,oe=u.auto){super(z,1);L(this,"_parameterStructures");L(this,"_");this._parameterStructures=oe}get parameterStructures(){return this._parameterStructures}},s(ye,"NotificationType"),ye);t.NotificationType=b;var P=(Le=class extends l{constructor(z){super(z,0);L(this,"_")}},s(Le,"NotificationType0"),Le);t.NotificationType0=P;var F=(Ne=class extends l{constructor(z,oe=u.auto){super(z,1);L(this,"_parameterStructures");L(this,"_");this._parameterStructures=oe}get parameterStructures(){return this._parameterStructures}},s(Ne,"NotificationType1"),Ne);t.NotificationType1=F;var K=(Je=class extends l{constructor(z){super(z,2);L(this,"_")}},s(Je,"NotificationType2"),Je);t.NotificationType2=K;var le=(Ze=class extends l{constructor(z){super(z,3);L(this,"_")}},s(Ze,"NotificationType3"),Ze);t.NotificationType3=le;var ge=(pt=class extends l{constructor(z){super(z,4);L(this,"_")}},s(pt,"NotificationType4"),pt);t.NotificationType4=ge;var X=(ze=class extends l{constructor(z){super(z,5);L(this,"_")}},s(ze,"NotificationType5"),ze);t.NotificationType5=X;var ve=(xe=class extends l{constructor(z){super(z,6);L(this,"_")}},s(xe,"NotificationType6"),xe);t.NotificationType6=ve;var Me=(st=class extends l{constructor(z){super(z,7);L(this,"_")}},s(st,"NotificationType7"),st);t.NotificationType7=Me;var D=(Qe=class extends l{constructor(z){super(z,8);L(this,"_")}},s(Qe,"NotificationType8"),Qe);t.NotificationType8=D;var N=(se=class extends l{constructor(z){super(z,9);L(this,"_")}},s(se,"NotificationType9"),se);t.NotificationType9=N;var M;(function(B){function q(de){const Oe=de;return Oe&&n.string(Oe.method)&&(n.string(Oe.id)||n.number(Oe.id))}s(q,"isRequest"),B.isRequest=q;function z(de){const Oe=de;return Oe&&n.string(Oe.method)&&de.id===void 0}s(z,"isNotification"),B.isNotification=z;function oe(de){const Oe=de;return Oe&&(Oe.result!==void 0||!!Oe.error)&&(n.string(Oe.id)||n.number(Oe.id)||Oe.id===null)}s(oe,"isResponse"),B.isResponse=oe})(M||(t.Message=M={}))}}),wy=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/linkedMap.js"(t){var n,i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.LRUCache=t.LinkedMap=t.Touch=void 0;var e;(function(u){u.None=0,u.First=1,u.AsOld=u.First,u.Last=2,u.AsNew=u.Last})(e||(t.Touch=e={}));var r=(i=class{constructor(){L(this,n,"LinkedMap");L(this,"_map");L(this,"_head");L(this,"_tail");L(this,"_size");L(this,"_state");this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}before(l){const c=this._map.get(l);return c?c.previous?.value:void 0}after(l){const c=this._map.get(l);return c?c.next?.value:void 0}has(l){return this._map.has(l)}get(l,c=e.None){const f=this._map.get(l);if(f)return c!==e.None&&this.touch(f,c),f.value}set(l,c,f=e.None){let p=this._map.get(l);if(p)p.value=c,f!==e.None&&this.touch(p,f);else{switch(p={key:l,value:c,next:void 0,previous:void 0},f){case e.None:this.addItemLast(p);break;case e.First:this.addItemFirst(p);break;case e.Last:this.addItemLast(p);break;default:this.addItemLast(p);break}this._map.set(l,p),this._size++}return this}delete(l){return!!this.remove(l)}remove(l){const c=this._map.get(l);if(c)return this._map.delete(l),this.removeItem(c),this._size--,c.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const l=this._head;return this._map.delete(l.key),this.removeItem(l),this._size--,l.value}forEach(l,c){const f=this._state;let p=this._head;for(;p;){if(c?l.bind(c)(p.value,p.key,this):l(p.value,p.key,this),this._state!==f)throw new Error("LinkedMap got modified during iteration.");p=p.next}}keys(){const l=this._state;let c=this._head;const f={[Symbol.iterator]:()=>f,next:s(()=>{if(this._state!==l)throw new Error("LinkedMap got modified during iteration.");if(c){const p={value:c.key,done:!1};return c=c.next,p}else return{value:void 0,done:!0}},"next")};return f}values(){const l=this._state;let c=this._head;const f={[Symbol.iterator]:()=>f,next:s(()=>{if(this._state!==l)throw new Error("LinkedMap got modified during iteration.");if(c){const p={value:c.value,done:!1};return c=c.next,p}else return{value:void 0,done:!0}},"next")};return f}entries(){const l=this._state;let c=this._head;const f={[Symbol.iterator]:()=>f,next:s(()=>{if(this._state!==l)throw new Error("LinkedMap got modified during iteration.");if(c){const p={value:[c.key,c.value],done:!1};return c=c.next,p}else return{value:void 0,done:!0}},"next")};return f}[(n=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(l){if(l>=this.size)return;if(l===0){this.clear();return}let c=this._head,f=this.size;for(;c&&f>l;)this._map.delete(c.key),c=c.next,f--;this._head=c,this._size=f,c&&(c.previous=void 0),this._state++}addItemFirst(l){if(!this._head&&!this._tail)this._tail=l;else if(this._head)l.next=this._head,this._head.previous=l;else throw new Error("Invalid list");this._head=l,this._state++}addItemLast(l){if(!this._head&&!this._tail)this._head=l;else if(this._tail)l.previous=this._tail,this._tail.next=l;else throw new Error("Invalid list");this._tail=l,this._state++}removeItem(l){if(l===this._head&&l===this._tail)this._head=void 0,this._tail=void 0;else if(l===this._head){if(!l.next)throw new Error("Invalid list");l.next.previous=void 0,this._head=l.next}else if(l===this._tail){if(!l.previous)throw new Error("Invalid list");l.previous.next=void 0,this._tail=l.previous}else{const c=l.next,f=l.previous;if(!c||!f)throw new Error("Invalid list");c.previous=f,f.next=c}l.next=void 0,l.previous=void 0,this._state++}touch(l,c){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(c!==e.First&&c!==e.Last)){if(c===e.First){if(l===this._head)return;const f=l.next,p=l.previous;l===this._tail?(p.next=void 0,this._tail=p):(f.previous=p,p.next=f),l.previous=void 0,l.next=this._head,this._head.previous=l,this._head=l,this._state++}else if(c===e.Last){if(l===this._tail)return;const f=l.next,p=l.previous;l===this._head?(f.previous=void 0,this._head=f):(f.previous=p,p.next=f),l.next=void 0,l.previous=this._tail,this._tail.next=l,this._tail=l,this._state++}}}toJSON(){const l=[];return this.forEach((c,f)=>{l.push([f,c])}),l}fromJSON(l){this.clear();for(const[c,f]of l)this.set(c,f)}},s(i,"LinkedMap"),i);t.LinkedMap=r;var a=(o=class extends r{constructor(c,f=1){super();L(this,"_limit");L(this,"_ratio");this._limit=c,this._ratio=Math.min(Math.max(0,f),1)}get limit(){return this._limit}set limit(c){this._limit=c,this.checkTrim()}get ratio(){return this._ratio}set ratio(c){this._ratio=Math.min(Math.max(0,c),1),this.checkTrim()}get(c,f=e.AsNew){return super.get(c,f)}peek(c){return super.get(c,e.None)}set(c,f){return super.set(c,f,e.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}},s(o,"LRUCache"),o);t.LRUCache=a}}),pC=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/disposable.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Disposable=void 0;var e;(function(r){function a(n){return{dispose:n}}s(a,"create"),r.create=a})(e||(t.Disposable=e={}))}}),Kr=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/ral.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e;function r(){if(e===void 0)throw new Error("No runtime abstraction layer installed");return e}s(r,"RAL"),(function(a){function n(i){if(i===void 0)throw new Error("No runtime abstraction layer provided");e=i}s(n,"install"),a.install=n})(r||(r={})),t.default=r}}),ul=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/events.js"(t){var o,u;var e=t&&t.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(t,"__esModule",{value:!0}),t.Emitter=t.Event=void 0;var r=e(Kr()),a;(function(l){const c={dispose(){}};l.None=function(){return c}})(a||(t.Event=a={}));var n=(o=class{constructor(){L(this,"_callbacks");L(this,"_contexts")}add(c,f=null,p){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(c),this._contexts.push(f),Array.isArray(p)&&p.push({dispose:s(()=>this.remove(c,f),"dispose")})}remove(c,f=null){if(!this._callbacks)return;let p=!1;for(let h=0,g=this._callbacks.length;h<g;h++)if(this._callbacks[h]===c)if(this._contexts[h]===f){this._callbacks.splice(h,1),this._contexts.splice(h,1);return}else p=!0;if(p)throw new Error("When adding a listener with a context, you should remove it with the same context")}invoke(...c){if(!this._callbacks)return[];const f=[],p=this._callbacks.slice(0),h=this._contexts.slice(0);for(let g=0,A=p.length;g<A;g++)try{f.push(p[g].apply(h[g],c))}catch($){(0,r.default)().console.error($)}return f}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},s(o,"CallbackList"),o),i=(u=class{constructor(c){L(this,"_options");L(this,"_event");L(this,"_callbacks");this._options=c}get event(){return this._event||(this._event=(c,f,p)=>{this._callbacks||(this._callbacks=new n),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(c,f);const h={dispose:s(()=>{this._callbacks&&(this._callbacks.remove(c,f),h.dispose=u._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))},"dispose")};return Array.isArray(p)&&p.push(h),h}),this._event}fire(c){this._callbacks&&this._callbacks.invoke.call(this._callbacks,c)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}},s(u,"Emitter"),L(u,"_noop",s(function(){},"_noop")),u);t.Emitter=i}}),sd=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/cancellation.js"(t){var h,g;var e=t&&t.__createBinding||(Object.create?(function(A,$,R,m){m===void 0&&(m=R);var y=Object.getOwnPropertyDescriptor($,R);(!y||("get"in y?!$.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:s(function(){return $[R]},"get")}),Object.defineProperty(A,m,y)}):(function(A,$,R,m){m===void 0&&(m=R),A[m]=$[R]})),r=t&&t.__setModuleDefault||(Object.create?(function(A,$){Object.defineProperty(A,"default",{enumerable:!0,value:$})}):function(A,$){A.default=$}),a=t&&t.__importStar||(function(){var A=s(function($){return A=Object.getOwnPropertyNames||function(R){var m=[];for(var y in R)Object.prototype.hasOwnProperty.call(R,y)&&(m[m.length]=y);return m},A($)},"ownKeys");return function($){if($&&$.__esModule)return $;var R={};if($!=null)for(var m=A($),y=0;y<m.length;y++)m[y]!=="default"&&e(R,$,m[y]);return r(R,$),R}})(),n=t&&t.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(t,"__esModule",{value:!0}),t.CancellationTokenSource=t.CancellationToken=void 0;var i=n(Kr()),o=a(ll()),u=ul(),l;(function(A){A.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:u.Event.None}),A.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:u.Event.None});function $(R){const m=R;return m&&(m===A.None||m===A.Cancelled||o.boolean(m.isCancellationRequested)&&!!m.onCancellationRequested)}s($,"is"),A.is=$})(l||(t.CancellationToken=l={}));var c=Object.freeze(function(A,$){const R=(0,i.default)().timer.setTimeout(A.bind($),0);return{dispose(){R.dispose()}}}),f=(h=class{constructor(){L(this,"_isCancelled",!1);L(this,"_emitter")}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?c:(this._emitter||(this._emitter=new u.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},s(h,"MutableToken"),h),p=(g=class{constructor(){L(this,"_token")}get token(){return this._token||(this._token=new f),this._token}cancel(){this._token?this._token.cancel():this._token=l.Cancelled}dispose(){this._token?this._token instanceof f&&this._token.dispose():this._token=l.None}},s(g,"CancellationTokenSource"),g);t.CancellationTokenSource=p}}),dC=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js"(t){var u,l,c,f;Object.defineProperty(t,"__esModule",{value:!0}),t.SharedArrayReceiverStrategy=t.SharedArraySenderStrategy=void 0;var e=sd(),r;(function(p){p.Continue=0,p.Cancelled=1})(r||(r={}));var a=(u=class{constructor(){L(this,"buffers");this.buffers=new Map}enableCancellation(h){if(h.id===null)return;const g=new SharedArrayBuffer(4),A=new Int32Array(g,0,1);A[0]=r.Continue,this.buffers.set(h.id,g),h.$cancellationData=g}async sendCancellation(h,g){const A=this.buffers.get(g);if(A===void 0)return;const $=new Int32Array(A,0,1);Atomics.store($,0,r.Cancelled)}cleanup(h){this.buffers.delete(h)}dispose(){this.buffers.clear()}},s(u,"SharedArraySenderStrategy"),u);t.SharedArraySenderStrategy=a;var n=(l=class{constructor(h){L(this,"data");this.data=new Int32Array(h,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===r.Cancelled}get onCancellationRequested(){throw new Error("Cancellation over SharedArrayBuffer doesn't support cancellation events")}},s(l,"SharedArrayBufferCancellationToken"),l),i=(c=class{constructor(h){L(this,"token");this.token=new n(h)}cancel(){}dispose(){}},s(c,"SharedArrayBufferCancellationTokenSource"),c),o=(f=class{constructor(){L(this,"kind","request")}createCancellationTokenSource(h){const g=h.$cancellationData;return g===void 0?new e.CancellationTokenSource:new i(g)}},s(f,"SharedArrayReceiverStrategy"),f);t.SharedArrayReceiverStrategy=o}}),Py=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/semaphore.js"(t){var n;var e=t&&t.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0}),t.Semaphore=void 0;var r=e(Kr()),a=(n=class{constructor(o=1){L(this,"_capacity");L(this,"_active");L(this,"_waiting");if(o<=0)throw new Error("Capacity must be greater than 0");this._capacity=o,this._active=0,this._waiting=[]}lock(o){return new Promise((u,l)=>{this._waiting.push({thunk:o,resolve:u,reject:l}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||(0,r.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;const o=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("Too many thunks active");try{const u=o.thunk();u instanceof Promise?u.then(l=>{this._active--,o.resolve(l),this.runNext()},l=>{this._active--,o.reject(l),this.runNext()}):(this._active--,o.resolve(u),this.runNext())}catch(u){this._active--,o.reject(u),this.runNext()}}},s(n,"Semaphore"),n);t.Semaphore=a}}),mC=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messageReader.js"(t){var g,A;var e=t&&t.__createBinding||(Object.create?(function($,R,m,y){y===void 0&&(y=m);var E=Object.getOwnPropertyDescriptor(R,m);(!E||("get"in E?!R.__esModule:E.writable||E.configurable))&&(E={enumerable:!0,get:s(function(){return R[m]},"get")}),Object.defineProperty($,y,E)}):(function($,R,m,y){y===void 0&&(y=m),$[y]=R[m]})),r=t&&t.__setModuleDefault||(Object.create?(function($,R){Object.defineProperty($,"default",{enumerable:!0,value:R})}):function($,R){$.default=R}),a=t&&t.__importStar||(function(){var $=s(function(R){return $=Object.getOwnPropertyNames||function(m){var y=[];for(var E in m)Object.prototype.hasOwnProperty.call(m,E)&&(y[y.length]=E);return y},$(R)},"ownKeys");return function(R){if(R&&R.__esModule)return R;var m={};if(R!=null)for(var y=$(R),E=0;E<y.length;E++)y[E]!=="default"&&e(m,R,y[E]);return r(m,R),m}})(),n=t&&t.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(t,"__esModule",{value:!0}),t.ReadableStreamMessageReader=t.AbstractMessageReader=t.MessageReader=void 0;var i=n(Kr()),o=a(ll()),u=ul(),l=Py(),c;(function($){function R(m){const y=m;return y&&o.func(y.listen)&&o.func(y.dispose)&&o.func(y.onError)&&o.func(y.onClose)&&o.func(y.onPartialMessage)}s(R,"is"),$.is=R})(c||(t.MessageReader=c={}));var f=(g=class{constructor(){L(this,"errorEmitter");L(this,"closeEmitter");L(this,"partialMessageEmitter");this.errorEmitter=new u.Emitter,this.closeEmitter=new u.Emitter,this.partialMessageEmitter=new u.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose(),this.partialMessageEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(R){this.errorEmitter.fire(this.asError(R))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(R){this.partialMessageEmitter.fire(R)}asError(R){return R instanceof Error?R:new Error(`Reader received error. Reason: ${o.string(R.message)?R.message:"unknown"}`)}},s(g,"AbstractMessageReader"),g);t.AbstractMessageReader=f;var p;(function($){function R(m){let y,E;const b=new Map;let P;const F=new Map;if(m===void 0||typeof m=="string")y=m??"utf-8";else{if(y=m.charset??"utf-8",m.contentDecoder!==void 0&&(E=m.contentDecoder,b.set(E.name,E)),m.contentDecoders!==void 0)for(const K of m.contentDecoders)b.set(K.name,K);if(m.contentTypeDecoder!==void 0&&(P=m.contentTypeDecoder,F.set(P.name,P)),m.contentTypeDecoders!==void 0)for(const K of m.contentTypeDecoders)F.set(K.name,K)}return P===void 0&&(P=(0,i.default)().applicationJson.decoder,F.set(P.name,P)),{charset:y,contentDecoder:E,contentDecoders:b,contentTypeDecoder:P,contentTypeDecoders:F}}s(R,"fromOptions"),$.fromOptions=R})(p||(p={}));var h=(A=class extends f{constructor(m,y){super();L(this,"readable");L(this,"options");L(this,"callback");L(this,"nextMessageLength");L(this,"messageToken");L(this,"buffer");L(this,"partialMessageTimer");L(this,"_partialMessageTimeout");L(this,"readSemaphore");this.readable=m,this.options=p.fromOptions(y),this.buffer=(0,i.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new l.Semaphore(1)}set partialMessageTimeout(m){this._partialMessageTimeout=m}get partialMessageTimeout(){return this._partialMessageTimeout}listen(m){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=m;const y=this.readable.onData(E=>{this.onData(E)});return this.readable.onError(E=>this.fireError(E)),this.readable.onClose(()=>this.fireClose()),y}onData(m){try{for(this.buffer.append(m);;){if(this.nextMessageLength===-1){const E=this.buffer.tryReadHeaders(!0);if(!E)return;const b=E.get("content-length");if(!b){this.fireError(new Error(`Header must provide a Content-Length property.
|
|
2
2
|
${JSON.stringify(Object.fromEntries(E))}`));return}const P=parseInt(b);if(isNaN(P)){this.fireError(new Error(`Content-Length value must be a number. Got ${b}`));return}this.nextMessageLength=P}const y=this.buffer.tryReadBody(this.nextMessageLength);if(y===void 0){this.setPartialMessageTimer();return}this.clearPartialMessageTimer(),this.nextMessageLength=-1,this.readSemaphore.lock(async()=>{const E=this.options.contentDecoder!==void 0?await this.options.contentDecoder.decode(y):y,b=await this.options.contentTypeDecoder.decode(E,this.options);this.callback(b)}).catch(E=>{this.fireError(E)})}}catch(y){this.fireError(y)}}clearPartialMessageTimer(){this.partialMessageTimer&&(this.partialMessageTimer.dispose(),this.partialMessageTimer=void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),!(this._partialMessageTimeout<=0)&&(this.partialMessageTimer=(0,i.default)().timer.setTimeout((m,y)=>{this.partialMessageTimer=void 0,m===this.messageToken&&(this.firePartialMessage({messageToken:m,waitingTime:y}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}},s(A,"ReadableStreamMessageReader"),A);t.ReadableStreamMessageReader=h}}),hC=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messageWriter.js"(t){var $,R;var e=t&&t.__createBinding||(Object.create?(function(m,y,E,b){b===void 0&&(b=E);var P=Object.getOwnPropertyDescriptor(y,E);(!P||("get"in P?!y.__esModule:P.writable||P.configurable))&&(P={enumerable:!0,get:s(function(){return y[E]},"get")}),Object.defineProperty(m,b,P)}):(function(m,y,E,b){b===void 0&&(b=E),m[b]=y[E]})),r=t&&t.__setModuleDefault||(Object.create?(function(m,y){Object.defineProperty(m,"default",{enumerable:!0,value:y})}):function(m,y){m.default=y}),a=t&&t.__importStar||(function(){var m=s(function(y){return m=Object.getOwnPropertyNames||function(E){var b=[];for(var P in E)Object.prototype.hasOwnProperty.call(E,P)&&(b[b.length]=P);return b},m(y)},"ownKeys");return function(y){if(y&&y.__esModule)return y;var E={};if(y!=null)for(var b=m(y),P=0;P<b.length;P++)b[P]!=="default"&&e(E,y,b[P]);return r(E,y),E}})(),n=t&&t.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(t,"__esModule",{value:!0}),t.WriteableStreamMessageWriter=t.AbstractMessageWriter=t.MessageWriter=void 0;var i=n(Kr()),o=a(ll()),u=Py(),l=ul(),c="Content-Length: ",f=`\r
|
|
3
3
|
`,p;(function(m){function y(E){const b=E;return b&&o.func(b.dispose)&&o.func(b.onClose)&&o.func(b.onError)&&o.func(b.write)}s(y,"is"),m.is=y})(p||(t.MessageWriter=p={}));var h=($=class{constructor(){L(this,"errorEmitter");L(this,"closeEmitter");this.errorEmitter=new l.Emitter,this.closeEmitter=new l.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(y,E,b){this.errorEmitter.fire([this.asError(y),E,b])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError(y){return y instanceof Error?y:new Error(`Writer received error. Reason: ${o.string(y.message)?y.message:"unknown"}`)}},s($,"AbstractMessageWriter"),$);t.AbstractMessageWriter=h;var g;(function(m){function y(E){return E===void 0||typeof E=="string"?{charset:E??"utf-8",contentTypeEncoder:(0,i.default)().applicationJson.encoder}:{charset:E.charset??"utf-8",contentEncoder:E.contentEncoder,contentTypeEncoder:E.contentTypeEncoder??(0,i.default)().applicationJson.encoder}}s(y,"fromOptions"),m.fromOptions=y})(g||(g={}));var A=(R=class extends h{constructor(E,b){super();L(this,"writable");L(this,"options");L(this,"errorCount");L(this,"writeSemaphore");this.writable=E,this.options=g.fromOptions(b),this.errorCount=0,this.writeSemaphore=new u.Semaphore(1),this.writable.onError(P=>this.fireError(P)),this.writable.onClose(()=>this.fireClose())}async write(E){return this.writeSemaphore.lock(async()=>this.options.contentTypeEncoder.encode(E,this.options).then(P=>this.options.contentEncoder!==void 0?this.options.contentEncoder.encode(P):P).then(P=>{const F=[];return F.push(c,P.byteLength.toString(),f),F.push(f),this.doWrite(E,F,P)},P=>{throw this.fireError(P),P}))}async doWrite(E,b,P){try{return await this.writable.write(b.join(""),"ascii"),this.writable.write(P)}catch(F){return this.handleError(F,E),Promise.reject(F)}}handleError(E,b){this.errorCount++,this.fireError(E,b,this.errorCount)}end(){this.writable.end()}},s(R,"WriteableStreamMessageWriter"),R);t.WriteableStreamMessageWriter=A}}),yC=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js"(t){var i;Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractMessageBuffer=void 0;var e=13,r=10,a=`\r
|
|
4
4
|
`,n=(i=class{constructor(u="utf-8"){L(this,"_encoding");L(this,"_chunks");L(this,"_totalLength");this._encoding=u,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append(u){const l=typeof u=="string"?this.fromString(u,this._encoding):u;this._chunks.push(l),this._totalLength+=l.byteLength}tryReadHeaders(u=!1){if(this._chunks.length===0)return;let l=0,c=0,f=0,p=0;e:for(;c<this._chunks.length;){const $=this._chunks[c];for(f=0;f<$.length;){switch($[f]){case e:switch(l){case 0:l=1;break;case 2:l=3;break;default:l=0}break;case r:switch(l){case 1:l=2;break;case 3:l=4,f++;break e;default:l=0}break;default:l=0}f++}p+=$.byteLength,c++}if(l!==4)return;const h=this._read(p+f),g=new Map,A=this.toString(h,"ascii").split(a);if(A.length<2)return g;for(let $=0;$<A.length-2;$++){const R=A[$],m=R.indexOf(":");if(m===-1)throw new Error(`Message header must separate key and value using ':'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Oe=Object.defineProperty;var ve=t=>{throw TypeError(t)};var Be=(t,e,s)=>e in t?Oe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var O=(t,e,s)=>Be(t,typeof e!="symbol"?e+"":e,s),ye=(t,e,s)=>e.has(t)||ve("Cannot "+s);var l=(t,e,s)=>(ye(t,e,"read from private field"),s?s.call(t):e.get(t)),v=(t,e,s)=>e.has(t)?ve("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s);var Y=(t,e,s)=>(ye(t,e,"access private method"),s);import{t as oe,a_ as ue,by as de,b as ce,bt as Re,bq as i,br as De}from"./
|
|
1
|
+
var Oe=Object.defineProperty;var ve=t=>{throw TypeError(t)};var Be=(t,e,s)=>e in t?Oe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var O=(t,e,s)=>Be(t,typeof e!="symbol"?e+"":e,s),ye=(t,e,s)=>e.has(t)||ve("Cannot "+s);var l=(t,e,s)=>(ye(t,e,"read from private field"),s?s.call(t):e.get(t)),v=(t,e,s)=>e.has(t)?ve("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s);var Y=(t,e,s)=>(ye(t,e,"access private method"),s);import{t as oe,a_ as ue,by as de,b as ce,bt as Re,bq as i,br as De}from"./BLK9_MXJ.js";import{ao as N,aZ as He,aL as Je,bh as je,c9 as m,aD as b,bH as w,bs as le,a7 as he,ay as ee,W as D,bn as fe,bo as Ge,bS as Ve,aA as o,a5 as Se,bf as We,bA as Pe,aB as Le,b_ as Fe,aC as ge}from"./DYhIMPy1.js";import{c as Ue}from"./kYECwxqW.js";import{c as Ze,k as Ke,f as Qe}from"./9ZBkr0Qf.js";import{H as Xe}from"./C_etBYrd.js";import{s as Ce}from"./DSemZQdl.js";import{h as Ie,av as Ye,bM as se,l as $e,ad as et,aE as _e,aF as we,a$ as tt,bh as rt,aS as nt,aT as xe,aJ as C,bn as st}from"./CukTrqVi.js";import"./BWYr8u9e.js";import{i as at}from"./BeP4UORy.js";var it="font-weight: bold",ot="font-weight: normal";function qe(t){N?console.warn(`%c[svelte] state_snapshot_uncloneable
|
|
2
2
|
%c${t?`The following properties cannot be cloned with \`$state.snapshot\` — the return value contains the originals:
|
|
3
3
|
|
|
4
4
|
${t}`:"Value cannot be cloned with `$state.snapshot` — the original value was returned"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as lt,bq as $,a_ as x,by as pt,bs as dt,b as mt,bu as S,bo as T}from"./BLK9_MXJ.js";import{bs as ut,ca as A,aD as e,bj as ft,a7 as f,ay as l,W as p,bn as _t,c9 as _,cd as j,aA as k,bS as vt,aB as gt}from"./DYhIMPy1.js";import{F as q}from"./Cs29mItj.js";import{c as F}from"./kYECwxqW.js";import{av as bt,cN as It}from"./yDAFOpKJ.js";import{di as $t,dG as St}from"./ClKXAKis.js";import{S as kt,c as Ct}from"./CpHf2NNU.js";import{selectScriptById as ht,selectCanDeleteScript as yt}from"./Cjt2NmNL.js";import"./9ZBkr0Qf.js";import"./DSemZQdl.js";import"./CukTrqVi.js";import"./C_etBYrd.js";import{M as G}from"./ZZRQ9A5E.js";import{g as wt}from"./DfN8_dcw.js";import{T as xt}from"./595JSfYJ.js";import{HR as D,C5 as Tt,uh as At,gS as Dt}from"./DSAz0okZ.js";var Bt=gt("<!> <!>",1);function Wt(B,c){if(new.target)return lt({component:Wt,...B});ut(c,!0);const v=()=>S(J,"$fullContext$",g),N=()=>S(Q,"$canDeleteScript$",g),P=()=>S(K,"$scriptContext$",g),V=()=>S(L,"$script$",g),[g,z]=dt(),E=t=>{var r=f(),n=l(r);{var m=y=>{var O=Bt(),R=l(O);{let u=_(()=>T.workspace_shell_showInBottomBar_tooltip());F(R,()=>G,(I,w)=>{w(I,{get icon(){return bt},get label(){return e(u)},onclick:X,"data-move-to-bottom-bar":!0})})}var at=vt(R,2);{var st=u=>{var I=f(),w=l(I);{let ot=_(()=>T.scripts_delete_label()),nt=_(()=>N()?void 0:T.scripts_delete_disabled_description());F(w,()=>G,(ct,it)=>{it(ct,{get icon(){return It},get label(){return e(ot)},destructive:!0,get disabledReason(){return e(nt)},onclick:U})})}p(u,I)};x(at,u=>{e(s)&&u(st)})}p(y,O)};x(n,y=>{v()&&y(m)})}p(t,r)};let o=$(c,"tab",7),a=$(c,"workspaceId",7),C=$(c,"layoutId",7),i=$(c,"isActive",7);const b=_(()=>o().terminalId),s=_(()=>o().scriptId),W=wt(),d=j(""),h=j("");A(()=>d.set(a())),A(()=>h.set(e(s)??""));const J=$t(d),K=St(d),L=ht(d,h),Q=yt(d,h);let H=!0;ft(()=>{H=!1});function U(){if(!e(s))return;const t=a(),r=e(s),n=o().id;return Ct(t,r,()=>H&&i()&&a()===t&&e(s)===r&&o().id===n)}function X(){v()&&(e(s)&&D.dispatch(Tt(a(),e(s))),D.dispatch(At(a(),e(b))),D.dispatch(Dt(C()??a(),o().id)))}A(()=>{if(!(!W||!i()))return W.registerActions({actions:E})});var Y={get tab(){return o()},set tab(t){o(t),k()},get workspaceId(){return a()},set workspaceId(t){a(t),k()},get layoutId(){return C()},set layoutId(t){C(t),k()},get isActive(){return i()},set isActive(t){i(t),k()},$set:pt,$on:(t,r)=>mt(c,t,r)},M=f(),Z=l(M);{var tt=t=>{var r=f(),n=l(r);q(n,()=>e(s),m=>{kt(m,{get scriptId(){return e(s)},get workspaceId(){return a()},class:"h-full"})}),p(t,r)},et=t=>{var r=f(),n=l(r);q(n,()=>e(b),m=>{xt(m,{get terminalId(){return e(b)},get workspaceId(){return a()},class:"h-full"})}),p(t,r)};x(Z,t=>{e(s)&&i()&&P()&&(v()||V())?t(tt):e(b)&&i()&&v()&&t(et,1)})}p(B,M);var rt=_t(Y);return z(),rt}export{Wt as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as d}from"./
|
|
1
|
+
import{i as d}from"./DjlgzWYz.js";import{b as u,i as p}from"./H2jLkRRS.js";function w(e,o){if(!e||u(e))return null;const a=/^[A-Za-z]:[/\\]|^[/\\]{2}/.test(o??e),t=a?e.replace(/\\/g,"/"):e;let r=t;if(p(e)){if(!o)return null;const n=(a?o.replace(/\\/g,"/"):o).replace(/\/+$/,""),i=a,l=i?t.toLowerCase():t,c=i?n.toLowerCase():n;if(!l.startsWith(`${c}/`))return null;r=t.slice(n.length+1)}const s=r.split("/");return s.some(n=>!n||n==="."||n===".."||n.includes("\0"))||/^[A-Za-z]:/.test(s[0])?null:s.join("/")}async function h(e,o,a){const t=w(o,a);if(!e||!t)throw new Error("Invalid workspace download path");return await d("file:download-attachment",{workspaceId:e,path:t,fileName:t.slice(t.lastIndexOf("/")+1)})}export{h as d,w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{HR as o,nl as d,nk as r,ob as i,bi as a,rc as p,oV as g,o8 as m}from"./DSAz0okZ.js";import{b8 as S,aT as f,dz as v,cD as I,b$ as W}from"./ClKXAKis.js";const h={status:"loading",members:[]},u=o.createSelector(e=>d(e.guestSessions.sessions)),H=o.createSelector(e=>e.guestSessions.hasReceivedList),l=o.createSelector(e=>r(e.guestSessions.sessions,e.connections.windowBackendId)??null);o.createSelector(e=>l.select(e)!==null);const G=o.createSelector(e=>e.guestSessions.openIds),K=o.createSelector(e=>e.guestSessions.connectedIds),M=o.createSelector(e=>e.guestSessions.leavingIds),F=o.createSelector(e=>e.guestSessions.leavingWorkspaceKeys),O=o.createSelector(e=>u.select(e).filter(s=>e.guestSessions.failedLeaveIds.includes(s.id))),P=o.createSelector(e=>u.select(e).flatMap(s=>(s.workspaces??[]).filter(t=>e.guestSessions.failedLeaveWorkspaceKeys.includes(i(s.id,t.id))).map(t=>({session:s,workspace:t})))),x=o.createSelector(e=>e.guestSessions.failedLeaveIds),B=o.createSelector(e=>d(e.guestSessions.sweepReports)),$=o.createSelector((e,s)=>r(e.guestSessions.sweepReports,s)),N=o.createSelector(e=>e.guestSessions.clearingWorkspaceIds),j=o.createSelector((e,s)=>r(e.workspace.workspaces,a(s))!==void 0),w=o.createSelector((e,s)=>e.guestSessions.hostedRosters[s]?.status==="withheld"?!1:r(e.workspace.workspaces,a(s))!==void 0&&S.select(e)&&f.select(e,s)),R=o.createSelector((e,s)=>{const t=r(e.workspace.workspaces,a(s));if(t?.openInviteCount!=null)return t.openInviteCount;const c=e.guestSessions.hostedRosters[s];return c?.guestCount!=null?Math.max(0,c.guestCount-c.members.filter(p).length):null}),z=o.createSelector(e=>e.workspace.error?"error":v.select(e,e.connections.windowBackendId)?"loaded":"loading"),A=o.createSelector(e=>d(e.workspace.workspaces).filter(s=>{if(!S.select(e)||!f.select(e,s.id))return!1;const t=R.select(e,s.id);if((s.memberCount??1/0)<=1&&t===0)return!1;const c=e.guestSessions.hostedRosters[s.id];return!c||c.status!=="loaded"?!0:c.members.some(p)||t===null||t>0})),k=o.createSelector(e=>{const s=l.select(e),t=I.select(e);return u.select(e).filter(c=>{const n=s?.id===c.id&&t?.principal.id===c.principalId?W.select(e):null;return n?n!=="guest":c.hostRole==="member"})}),D=o.createSelector(e=>{const s=new Set(k.select(e).map(t=>t.id));return u.select(e).filter(t=>!s.has(t.id))}),E=o.createSelector(e=>e.guestSessions.listUnavailable),L=o.createSelector((e,s)=>e.guestSessions.hostedRosters[s]??h),J=o.createSelector((e,s)=>L.select(e,s).members.filter(t=>e.guestSessions.failedMemberKeys.includes(g(s,t.principalId)))),b=[],T=o.createSelector((e,s)=>{const t=g(s,""),c=e.guestSessions.removingMemberKeys.filter(n=>n.startsWith(t)).map(n=>n.slice(t.length));return c.length===0?b:c}),U=o.createSelector((e,s)=>e.guestSessions.clearingWorkspaceIds.includes(s)),V=o.createSelector(e=>{const s=[];for(const[t,c]of Object.entries(e.guestSessions.hostedRosters)){if(c.status==="withheld")continue;const n=r(e.workspace.workspaces,a(t));!n||!w.select(e,t)||s.push(`${t}:${n.memberCount??0},${c.invalidation??0}`)}return s.sort()}),_=o.createSelector(e=>e.guestSessions.inheritedWorkspaceKeys),q=o.createSelector(e=>e.guestSessions.leaveConfirmations),Q=o.createSelector((e,s)=>m(r(e.guestSessions.sessions,s))),X=o.createSelector((e,s)=>{if(!s||!S.select(e))return!1;const t=l.select(e);return!t||!(t.workspaces??[]).some(c=>c.id===s)||k.select(e).some(c=>c.id===t.id)||e.guestSessions.inheritedWorkspaceKeys.includes(i(t.id,s))?!1:r(e.workspace.workspaces,a(s))?.myRole!=="owner"}),Y=o.createSelector((e,s)=>{const t=l.select(e);return!!t&&e.guestSessions.selfLeaveWorkspaceKeys.includes(i(t.id,s))}),Z=o.createSelector((e,s)=>{const t=l.select(e);return!!t&&e.guestSessions.leavingWorkspaceKeys.includes(i(t.id,s))});export{j as A,Z as B,Y as C,k as D,D as E,l as F,w as a,O as b,P as c,q as d,x as e,M as f,F as g,Q as h,u as i,K as j,H as k,G as l,E as m,N as n,J as o,R as p,T as q,L as r,X as s,V as t,z as u,$ as v,B as w,A as x,_ as y,U as z};
|