@intent-hq/web 2.388.0 → 2.389.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/{CThyVptW.js → -MOfUnWK.js} +1 -1
- package/web/app/immutable/chunks/{C9UZoxqu.js → -iNNNnZP.js} +1 -1
- package/web/app/immutable/chunks/{CPR6kk_T.js → 1biRkLeO.js} +1 -1
- package/web/app/immutable/chunks/{BfhtD4DE.js → 2TDNGwi2.js} +1 -1
- package/web/app/immutable/chunks/{CJ6d7atw.js → 56loFVfQ.js} +1 -1
- package/web/app/immutable/chunks/{Az9cm1af.js → 958SNXkw.js} +1 -1
- package/web/app/immutable/chunks/{cOfTiXUW.js → 96V4v2iI.js} +1 -1
- package/web/app/immutable/chunks/{CgkqJVb4.js → B-tK7hOH.js} +1 -1
- package/web/app/immutable/chunks/B2_6AX8w.js +2 -0
- package/web/app/immutable/chunks/B3FnJcLx.js +3 -0
- package/web/app/immutable/chunks/{DjpNk5RK.js → B5N8LmEF.js} +1 -1
- package/web/app/immutable/chunks/{1EMxL5fo.js → B6dUCFoz.js} +1 -1
- package/web/app/immutable/chunks/{BM_biE0y.js → B7-Rf8Ja.js} +1 -1
- package/web/app/immutable/chunks/{B5M97fab.js → B7zssCpp.js} +1 -1
- package/web/app/immutable/chunks/{o2-I6h0N.js → B8rKVMLL.js} +1 -1
- package/web/app/immutable/chunks/{BlDw7Cnz.js → B9vHutcJ.js} +5 -5
- package/web/app/immutable/chunks/{Bggsay0U.js → BGniv2IE.js} +1 -1
- package/web/app/immutable/chunks/{4o_ZQ4nq.js → BGrimfDs.js} +1 -1
- package/web/app/immutable/chunks/{D81tH0Kz.js → BHy9cRzo.js} +1 -1
- package/web/app/immutable/chunks/{D9tGn9lI.js → BIFBPuAO.js} +1 -1
- package/web/app/immutable/chunks/{BG4hSkx5.js → BId1zNus.js} +1 -1
- package/web/app/immutable/chunks/{BHMZ-wPE.js → BNJ3edFz.js} +1 -1
- package/web/app/immutable/chunks/{DkXzy_Gt.js → BNu0Ucwh.js} +1 -1
- package/web/app/immutable/chunks/{BexVHAqu.js → BOVEEbKv.js} +1 -1
- package/web/app/immutable/chunks/{CAvh8i5c.js → BOyjfrDv.js} +1 -1
- package/web/app/immutable/chunks/{B9dzo0Kz.js → BPQFiQQc.js} +2 -2
- package/web/app/immutable/chunks/{FkijJXdh.js → BPcs9j0t.js} +1 -1
- package/web/app/immutable/chunks/{BQDKsQdE.js → BPmcj0VV.js} +1 -1
- package/web/app/immutable/chunks/{CRTEJPHA.js → BR1TNOav.js} +1 -1
- package/web/app/immutable/chunks/{ts9pKvJh.js → BRKRnHX6.js} +1 -1
- package/web/app/immutable/chunks/BSXmccL1.js +411 -0
- package/web/app/immutable/chunks/{C-9CUgEH.js → BUo-3nO7.js} +2 -2
- package/web/app/immutable/chunks/{yOonr4tS.js → BWfc0sSK.js} +1 -1
- package/web/app/immutable/chunks/B_EaOuZ7.js +1 -0
- package/web/app/immutable/chunks/{B3Jjdo5U.js → B_QbDMuF.js} +2 -2
- package/web/app/immutable/chunks/{DIdR5gOD.js → BaH6sH1s.js} +1 -1
- package/web/app/immutable/chunks/{BCG_mh8x.js → Bb98JhKr.js} +3 -3
- package/web/app/immutable/chunks/{Dz9x1eR4.js → BbYWP3Ow.js} +1 -1
- package/web/app/immutable/chunks/BbhtQrkZ.js +6 -0
- package/web/app/immutable/chunks/{D5a_4V3Z.js → BbrUifYV.js} +1 -1
- package/web/app/immutable/chunks/{CFwpAHza.js → Bc1CpNLz.js} +1 -1
- package/web/app/immutable/chunks/{D3tfczF3.js → BdrLG-E0.js} +1 -1
- package/web/app/immutable/chunks/{XTW5roGp.js → BfnPC1r8.js} +1 -1
- package/web/app/immutable/chunks/{UJ0k3Qud.js → BhCMc9G0.js} +1 -1
- package/web/app/immutable/chunks/{DJCr4XPV.js → BiYZcl7D.js} +1 -1
- package/web/app/immutable/chunks/{Ca8LQU_k.js → BiZ5HCfj.js} +1 -1
- package/web/app/immutable/chunks/BjDM3rxu.js +2 -0
- package/web/app/immutable/chunks/{CvpYq92u.js → BjVkuF0t.js} +1 -1
- package/web/app/immutable/chunks/BkqNdsh1.js +2 -0
- package/web/app/immutable/chunks/{BMyJogTr.js → BksTLNI4.js} +1 -1
- package/web/app/immutable/chunks/{DPhsGkGk.js → BniyCzQ9.js} +1 -1
- package/web/app/immutable/chunks/{BuPCiCZt.js → BouO3S3L.js} +1 -1
- package/web/app/immutable/chunks/{BUCW0wKH.js → BpMXdC4H.js} +1 -1
- package/web/app/immutable/chunks/{CZ6MUIg2.js → Bq2Q6gce.js} +1 -1
- package/web/app/immutable/chunks/{D9zIaPA4.js → BqCpnQY_.js} +1 -1
- package/web/app/immutable/chunks/{Cj3bM-Zt.js → BqXtiIKZ.js} +1 -1
- package/web/app/immutable/chunks/{k9WXffYo.js → BrMDTgLg.js} +1 -1
- package/web/app/immutable/chunks/{CSeQ6fVV.js → BsY6roFy.js} +1 -1
- package/web/app/immutable/chunks/{Ci82uJM3.js → BtmHyUSg.js} +1 -1
- package/web/app/immutable/chunks/{nxvUsKcZ.js → BvDFX1mj.js} +1 -1
- package/web/app/immutable/chunks/{0PlO4O3i.js → BvZOajsk.js} +1 -1
- package/web/app/immutable/chunks/{Cah19Qux.js → Bviyt-Xy.js} +1 -1
- package/web/app/immutable/chunks/{CcNxrHIL.js → ByyFoG6W.js} +1 -1
- package/web/app/immutable/chunks/{DYu0VnZ5.js → BzWT_wQw.js} +1 -1
- package/web/app/immutable/chunks/{B49CUktc.js → C-HR_nje.js} +1 -1
- package/web/app/immutable/chunks/C1_cc_jh.js +2 -0
- package/web/app/immutable/chunks/{B3K7_JP4.js → C2UL5Ler.js} +13 -13
- package/web/app/immutable/chunks/{bMZUbxIs.js → C3dytrTL.js} +1 -1
- package/web/app/immutable/chunks/{CLO80vIO.js → C4wGdw9l.js} +1 -1
- package/web/app/immutable/chunks/C5YfJpVq.js +2 -0
- package/web/app/immutable/chunks/{j5i4TEa8.js → C6RhewOE.js} +1 -1
- package/web/app/immutable/chunks/C9Sx9tb_.js +1 -0
- package/web/app/immutable/chunks/{B2KfKpOG.js → CDwhmkPo.js} +1 -1
- package/web/app/immutable/chunks/{pI1-Ias6.js → CG1puMxA.js} +7 -7
- package/web/app/immutable/chunks/{Bfu4Gbpb.js → CHaC_gXH.js} +3 -3
- package/web/app/immutable/chunks/{B6blQkaw.js → CJ7X12Bw.js} +1 -1
- package/web/app/immutable/chunks/{DDeZr78m.js → CKxZ8tlS.js} +1 -1
- package/web/app/immutable/chunks/{BZljJ1HD.js → CQlYR8ss.js} +53 -53
- package/web/app/immutable/chunks/CRSiOiSR.js +1 -0
- package/web/app/immutable/chunks/{D_jbKDL6.js → CTFqJlwB.js} +1 -1
- package/web/app/immutable/chunks/{big6nIIy.js → CTflyKHO.js} +1 -1
- package/web/app/immutable/chunks/{Cr0pYxvG.js → CUeJC-BW.js} +1 -1
- package/web/app/immutable/chunks/{D8vs9kOP.js → CUsiQpqx.js} +1 -1
- package/web/app/immutable/chunks/{DipTZipA.js → CVWwz1Ss.js} +1 -1
- package/web/app/immutable/chunks/CVtmf86l.js +4 -0
- package/web/app/immutable/chunks/{BCO6MiJi.js → CWsj4Hb7.js} +1 -1
- package/web/app/immutable/chunks/CY1uQ_EK.js +1 -0
- package/web/app/immutable/chunks/{Cq_g40U8.js → CYxt6gzD.js} +1 -1
- package/web/app/immutable/chunks/CbGsjkOn.js +2 -0
- package/web/app/immutable/chunks/{BfBRsDbv.js → CbwlFeZe.js} +1 -1
- package/web/app/immutable/chunks/CcDyBqhb.js +2 -0
- package/web/app/immutable/chunks/{CSIMWELR.js → CeaP52uL.js} +1 -1
- package/web/app/immutable/chunks/{DypPlx7r.js → Cekr5Jry.js} +1 -1
- package/web/app/immutable/chunks/{DsBP9KJQ.js → CfYmMj5F.js} +1 -1
- package/web/app/immutable/chunks/{CPOCLD3T.js → CgGsxeG7.js} +1 -1
- package/web/app/immutable/chunks/{Dk9NNzZE.js → Ch6a7ELM.js} +7 -7
- package/web/app/immutable/chunks/{DVqkJDVT.js → ChXsVZci.js} +8 -8
- package/web/app/immutable/chunks/{7-8cUxTO.js → Chj-azz7.js} +1 -1
- package/web/app/immutable/chunks/{D3lPsVN4.js → CiRuCsUo.js} +1 -1
- package/web/app/immutable/chunks/{Cm3tXeMM.js → Cj89j1C-.js} +1 -1
- package/web/app/immutable/chunks/{lVUEwTET.js → CjPEI4fg.js} +1 -1
- package/web/app/immutable/chunks/{s59tMRX6.js → ClbQbaTd.js} +1 -1
- package/web/app/immutable/chunks/{Db1LGTgG.js → CmR2cnYT.js} +1 -1
- package/web/app/immutable/chunks/{DJz92Kg0.js → Cn4A9AjR.js} +1 -1
- package/web/app/immutable/chunks/CnNk48uP.js +1 -0
- package/web/app/immutable/chunks/{FUsdAFUM.js → CoGKQKFb.js} +1 -1
- package/web/app/immutable/chunks/{C4K5_BxH.js → Cp5royN1.js} +1 -1
- package/web/app/immutable/chunks/{DUbMVsk9.js → CpQ2QLnc.js} +1 -1
- package/web/app/immutable/chunks/{Bl0JLobe.js → CrpG0ldr.js} +1 -1
- package/web/app/immutable/chunks/{CONcCUKk.js → Crz8kvLc.js} +1 -1
- package/web/app/immutable/chunks/{D7wcXEUr.js → Cs6KI4dy.js} +1 -1
- package/web/app/immutable/chunks/{DTxjOiRH.js → Ctp-YfoS.js} +3 -3
- package/web/app/immutable/chunks/{COujhQNX.js → Cu11OjbU.js} +4 -4
- package/web/app/immutable/chunks/{B0fKMUbz.js → CwEjDuJ3.js} +1 -1
- package/web/app/immutable/chunks/{DthwyZkm.js → CyDuWtxr.js} +1 -1
- package/web/app/immutable/chunks/{CWwM8FRm.js → CzJm3Kxa.js} +1 -1
- package/web/app/immutable/chunks/{Dre9I3wQ.js → D-19S-7Z.js} +1 -1
- package/web/app/immutable/chunks/{BMOvHKEB.js → D1CvgUga.js} +1 -1
- package/web/app/immutable/chunks/{ekoFDkzg.js → D2YDfFKv.js} +1 -1
- package/web/app/immutable/chunks/{BYTf4lKv.js → D3R31YXQ.js} +1 -1
- package/web/app/immutable/chunks/{fvo80nOp.js → D4d1iyeR.js} +1 -1
- package/web/app/immutable/chunks/{DqYxTMZw.js → D4ytz2EC.js} +1 -1
- package/web/app/immutable/chunks/{gMSGQkcm.js → D5WcE_P_.js} +1 -1
- package/web/app/immutable/chunks/{CdcEumin.js → D6m95MWL.js} +1 -1
- package/web/app/immutable/chunks/D78ptBES.js +5 -0
- package/web/app/immutable/chunks/{Du8gfHWh.js → D7QZQ0zf.js} +1 -1
- package/web/app/immutable/chunks/{CIlqNohY.js → D7b2VLAz.js} +1 -1
- package/web/app/immutable/chunks/{BbUT7tLT.js → D915og2m.js} +1 -1
- package/web/app/immutable/chunks/{Ojuc-F9K.js → DA_7jaWc.js} +3 -3
- package/web/app/immutable/chunks/{D_ht3M25.js → DAoh5LIP.js} +1 -1
- package/web/app/immutable/chunks/{BLv7f62Z.js → DAwK7LKd.js} +1 -1
- package/web/app/immutable/chunks/{BR5drfgy.js → DCLLUF6K.js} +1 -1
- package/web/app/immutable/chunks/{DwYVNqD8.js → DCs992HX.js} +1 -1
- package/web/app/immutable/chunks/DFh0CfhB.js +1 -0
- package/web/app/immutable/chunks/{Bzh81gre.js → DIvSo5Nm.js} +1 -1
- package/web/app/immutable/chunks/{Do_lk8OO.js → DJ9ILql1.js} +1 -1
- package/web/app/immutable/chunks/{BL19ZvCq.js → DJ_B6Tb0.js} +5 -5
- package/web/app/immutable/chunks/{UxV1HNfb.js → DLnFsCgA.js} +28 -28
- package/web/app/immutable/chunks/{Q6zM48G9.js → DMomDPVD.js} +4 -4
- package/web/app/immutable/chunks/{DnEc5FO1.js → DMrzeQEi.js} +1 -1
- package/web/app/immutable/chunks/{2KaAZLR-.js → DNnyE4a4.js} +1 -1
- package/web/app/immutable/chunks/{BgGvUY8M.js → DPhH7vBg.js} +1 -1
- package/web/app/immutable/chunks/{BkPn8_Se.js → DQVuWRan.js} +22 -22
- package/web/app/immutable/chunks/{C6aNGAOC.js → DQw0Iiac.js} +2 -2
- package/web/app/immutable/chunks/{B5XUeaKM.js → DRD4T4u0.js} +2 -2
- package/web/app/immutable/chunks/{B0Uv1AyY.js → DRND1Lha.js} +1 -1
- package/web/app/immutable/chunks/{xQhx6K61.js → DSjchUEk.js} +1 -1
- package/web/app/immutable/chunks/DWt5yjbU.js +2 -0
- package/web/app/immutable/chunks/{DMxa_WW_.js → DXY_Cr2S.js} +2 -2
- package/web/app/immutable/chunks/{DxMjS0Pm.js → DYcuijJl.js} +1 -1
- package/web/app/immutable/chunks/{Dkwq1aon.js → DZOkhMcO.js} +1 -1
- package/web/app/immutable/chunks/{BOROOVR9.js → DZiUi6tE.js} +1 -1
- package/web/app/immutable/chunks/{B4p5jAE9.js → DaQPP3_d.js} +1 -1
- package/web/app/immutable/chunks/{DX9jQ0PS.js → DaWmj23r.js} +1 -1
- package/web/app/immutable/chunks/{JNgcLoIR.js → Db4jRBl0.js} +1 -1
- package/web/app/immutable/chunks/{DmyX6ZHD.js → Dd-LQrG1.js} +1 -1
- package/web/app/immutable/chunks/{KlB4Fhnb.js → DdNhEgdc.js} +1 -1
- package/web/app/immutable/chunks/{CZU3aMzM.js → DfheqyY9.js} +1 -1
- package/web/app/immutable/chunks/{DH-IPuJJ.js → Dfp6ssYD.js} +1 -1
- package/web/app/immutable/chunks/{DUfqsoW8.js → Dgc0jIMe.js} +1 -1
- package/web/app/immutable/chunks/{rarafMnz.js → DiBpIS7p.js} +1 -1
- package/web/app/immutable/chunks/{DU_cYENL.js → DjbX62Cx.js} +5 -5
- package/web/app/immutable/chunks/{D3CypRQj.js → DlWizs9I.js} +1 -1
- package/web/app/immutable/chunks/{AuPnYXvq.js → Dm9VEl_l.js} +1 -1
- package/web/app/immutable/chunks/{loi-djHu.js → DnhCnCMz.js} +1 -1
- package/web/app/immutable/chunks/{Cl88aId_.js → Dp7Hm0g0.js} +1 -1
- package/web/app/immutable/chunks/{BwGrKGev.js → DpCic98X.js} +1 -1
- package/web/app/immutable/chunks/{KHaGo8p4.js → Dqi2LMpO.js} +2 -2
- package/web/app/immutable/chunks/{DjVRdKmG.js → DtXgUHCj.js} +1 -1
- package/web/app/immutable/chunks/{BtXBr5gW.js → DuaPhBil.js} +1 -1
- package/web/app/immutable/chunks/{g0WwLJKD.js → DxyD9o0t.js} +1 -1
- package/web/app/immutable/chunks/Dz-zX_Ts.js +1 -0
- package/web/app/immutable/chunks/{B1B2tR2P.js → EAuFbzCr.js} +1 -1
- package/web/app/immutable/chunks/{DbRN_fBN.js → GnUYJfg_.js} +1 -1
- package/web/app/immutable/chunks/{GMS9kh4f.js → IvX_QTkj.js} +2 -2
- package/web/app/immutable/chunks/J2YvrN12.js +13 -0
- package/web/app/immutable/chunks/{HA0DfJ2t.js → JZ-O0OQl.js} +1 -1
- package/web/app/immutable/chunks/{wKnHEtxm.js → Jg5r77fy.js} +1 -1
- package/web/app/immutable/chunks/{ChgSqVu2.js → KZwZoyIt.js} +1 -1
- package/web/app/immutable/chunks/{CgXlgTpj.js → KnkAG0HD.js} +1 -1
- package/web/app/immutable/chunks/{Csg_svg6.js → Ll0WtNFW.js} +1 -1
- package/web/app/immutable/chunks/{BqymqbDk.js → MzHad0-m.js} +1 -1
- package/web/app/immutable/chunks/{CahSXEZY.js → OIB4u9ZA.js} +1 -1
- package/web/app/immutable/chunks/{C_nSNvQ3.js → OtJAfUmG.js} +2 -2
- package/web/app/immutable/chunks/{CSKrS9aV.js → PX_tznAF.js} +1 -1
- package/web/app/immutable/chunks/{B-DC5RDK.js → R-UFG3MB.js} +1 -1
- package/web/app/immutable/chunks/{DugE9z8T.js → RWuDgH63.js} +1 -1
- package/web/app/immutable/chunks/{CZkav0tO.js → Rtit513z.js} +2 -2
- package/web/app/immutable/chunks/{BhvXSFFd.js → TB9r2XJy.js} +2 -2
- package/web/app/immutable/chunks/{CS2-6GJW.js → TBtn8giw.js} +1 -1
- package/web/app/immutable/chunks/{CgpdwzlC.js → UZYqZZXR.js} +1 -1
- package/web/app/immutable/chunks/{CFArS1mZ.js → UsyUyHOM.js} +2 -2
- package/web/app/immutable/chunks/{DnebYpJB.js → X0RLj3lE.js} +1 -1
- package/web/app/immutable/chunks/{CBq8Km8c.js → X6hYTxgn.js} +1 -1
- package/web/app/immutable/chunks/_UjuBCOJ.js +1 -0
- package/web/app/immutable/chunks/{klTuOngC.js → aZdb_rCN.js} +1 -1
- package/web/app/immutable/chunks/{pXRM_ktM.js → cTFeOFQC.js} +4 -4
- package/web/app/immutable/chunks/{BohdTsJs.js → cmil589m.js} +1 -1
- package/web/app/immutable/chunks/{CTDDNWu2.js → etz9IKpr.js} +1 -1
- package/web/app/immutable/chunks/{yvk0NmWm.js → fKOcHw3K.js} +1 -1
- package/web/app/immutable/chunks/{sKA-ObYb.js → hkJYqn41.js} +1 -1
- package/web/app/immutable/chunks/{D5b9qBIq.js → i5FUlYpy.js} +1 -1
- package/web/app/immutable/chunks/{C0AUQZ53.js → iTNhB2TC.js} +1 -1
- package/web/app/immutable/chunks/{CJubsryt.js → j5mPVG9_.js} +5 -5
- package/web/app/immutable/chunks/{Psr77Z1X.js → kzuAnGps.js} +1 -1
- package/web/app/immutable/chunks/{DOXxx9SZ.js → lei6Hlse.js} +1 -1
- package/web/app/immutable/chunks/{WULeRaWs.js → lskgWJFV.js} +1 -1
- package/web/app/immutable/chunks/lzi3tV-r.js +1 -0
- package/web/app/immutable/chunks/{DREHsvwt.js → nxtepGjE.js} +1 -1
- package/web/app/immutable/chunks/{Dz_XrTI6.js → pe4pVEc5.js} +1 -1
- package/web/app/immutable/chunks/{CuL2i1ch.js → pfX_M-aK.js} +1 -1
- package/web/app/immutable/chunks/{Bm0gGnEs.js → qhd9g-fv.js} +1 -1
- package/web/app/immutable/chunks/{D66KCqXw.js → r3TSpOm2.js} +1 -1
- package/web/app/immutable/chunks/{dSWRjbXG.js → rEuNpCjM.js} +1 -1
- package/web/app/immutable/chunks/{alqbgjrN.js → rdKijoRw.js} +1 -1
- package/web/app/immutable/chunks/{DnOdQmdW.js → sPwEr0L4.js} +2 -2
- package/web/app/immutable/chunks/{CihSsq_c.js → tCg_s90g.js} +1 -1
- package/web/app/immutable/chunks/tqn1yslZ.js +12 -0
- package/web/app/immutable/chunks/{BVaTfwe9.js → uvhZkGDU.js} +2 -2
- package/web/app/immutable/chunks/{DkdNV_U4.js → vj8NdGWd.js} +1 -1
- package/web/app/immutable/chunks/{BmVm-Xb9.js → vpQRVk8F.js} +1 -1
- package/web/app/immutable/chunks/{DPA7Wx7i.js → yqU168vt.js} +1 -1
- package/web/app/immutable/entry/app.CD-KpBFY.js +4 -0
- package/web/app/immutable/entry/start.BtJunRGi.js +1 -0
- package/web/app/immutable/nodes/{0.CZkIfk8Y.js → 0.BTKBksQU.js} +1 -1
- package/web/app/immutable/nodes/{1.DsBryxJC.js → 1.CDH50XYo.js} +1 -1
- package/web/app/immutable/nodes/{10.BouqyFdq.js → 10.BSK1ezgF.js} +18 -18
- package/web/app/immutable/nodes/{11.DVteTP5Z.js → 11.BkTyY8lh.js} +4 -4
- package/web/app/immutable/nodes/{13.ptNmqZph.js → 13.jK1i4wo4.js} +1 -1
- package/web/app/immutable/nodes/{14.C60Y_MCU.js → 14.DdHtnE9x.js} +1 -1
- package/web/app/immutable/nodes/{15.vdYCFIAo.js → 15.CRngZgh2.js} +1 -1
- package/web/app/immutable/nodes/{16.BHeY8GWk.js → 16.DFPLVaTv.js} +1 -1
- package/web/app/immutable/nodes/{17.De1hIcCz.js → 17.Dylz7DBe.js} +1 -1
- package/web/app/immutable/nodes/{18.CSiSULsM.js → 18.CxblUMg0.js} +1 -1
- package/web/app/immutable/nodes/{19.BzhIGKWf.js → 19.CI9f3oHV.js} +2 -2
- package/web/app/immutable/nodes/{2.DrLLJODs.js → 2.BPIXyW9K.js} +11 -11
- package/web/app/immutable/nodes/{20.C1njt326.js → 20.CXw8Twm7.js} +1 -1
- package/web/app/immutable/nodes/{3.CwnUfLZi.js → 3.CjIzds8z.js} +1 -1
- package/web/app/immutable/nodes/{4.BKuWUXgs.js → 4.BzXxqxag.js} +1 -1
- package/web/app/immutable/nodes/5.B54vgJ_P.js +1 -0
- package/web/app/immutable/nodes/{6.B0Ra98Z1.js → 6.plJT8OLe.js} +2 -2
- package/web/app/immutable/nodes/{7.fJBI0akH.js → 7.DSDH5hqz.js} +1 -1
- package/web/app/immutable/nodes/{8.CGqCPOoO.js → 8.B7U72PdE.js} +1 -1
- package/web/app/immutable/nodes/{9.D1ubXHAz.js → 9.BY44vZ0i.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +12 -12
- package/web/app/immutable/chunks/66ia1joD.js +0 -5
- package/web/app/immutable/chunks/8HAvvSzV.js +0 -411
- package/web/app/immutable/chunks/AprTGyyw.js +0 -2
- package/web/app/immutable/chunks/B7eueH-o.js +0 -12
- package/web/app/immutable/chunks/BTlwEESv.js +0 -2
- package/web/app/immutable/chunks/BYLBGCLl.js +0 -1
- package/web/app/immutable/chunks/BZCMFrfO.js +0 -1
- package/web/app/immutable/chunks/BhyNZfPE.js +0 -2
- package/web/app/immutable/chunks/BnRr64jv.js +0 -1
- package/web/app/immutable/chunks/CCfiEL_H.js +0 -3
- package/web/app/immutable/chunks/CEFRvkrn.js +0 -2
- package/web/app/immutable/chunks/CFPxKCYR.js +0 -1
- package/web/app/immutable/chunks/CJDEvb-Q.js +0 -2
- package/web/app/immutable/chunks/CKQfIyvh.js +0 -1
- package/web/app/immutable/chunks/CLwSZ8qQ.js +0 -1
- package/web/app/immutable/chunks/CaF73o7d.js +0 -13
- package/web/app/immutable/chunks/CeQeE8PY.js +0 -1
- package/web/app/immutable/chunks/Cgj3WZRk.js +0 -1
- package/web/app/immutable/chunks/Csw_wMoM.js +0 -2
- package/web/app/immutable/chunks/CxkFheMN.js +0 -1
- package/web/app/immutable/chunks/DmkTrs6I.js +0 -2
- package/web/app/immutable/chunks/DypB-Dwi.js +0 -1
- package/web/app/immutable/chunks/lNtFAHH9.js +0 -4
- package/web/app/immutable/chunks/nRNuB5kp.js +0 -2
- package/web/app/immutable/chunks/oOxvDsoj.js +0 -6
- package/web/app/immutable/entry/app.BszOT5UA.js +0 -4
- package/web/app/immutable/entry/start.BtnupdoQ.js +0 -1
- package/web/app/immutable/nodes/5.DBOSwfI-.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as st}from"./BohdTsJs.js";import{g as it}from"./Cr0pYxvG.js";import{s as at}from"./CLO80vIO.js";import{b as f,ay as we,X as F,a1 as rt,aP as nt,bh as Ve,aW as fe,a_ as lt,V as ut,aZ as ot,U as ct,b0 as ht,Y as dt,z as I,r as pt,$ as At,am as ft,aU as gt,ab as mt,x as Ct,aV as bt,aI as U}from"./COujhQNX.js";import{c as kt}from"./CThyVptW.js";import{aR as Et}from"./BZljJ1HD.js";var Me=(function(){var t=f(function(O,c,d,p){for(d=d||{},p=O.length;p--;d[O[p]]=c);return d},"o"),i=[1,18],a=[1,19],r=[1,20],n=[1,41],u=[1,26],h=[1,42],o=[1,24],g=[1,25],m=[1,32],_=[1,33],Y=[1,34],b=[1,45],me=[1,35],Ce=[1,36],be=[1,37],ke=[1,38],Ee=[1,27],Te=[1,28],ye=[1,29],De=[1,30],Fe=[1,31],k=[1,44],E=[1,46],T=[1,43],y=[1,47],Be=[1,9],A=[1,8,9],te=[1,58],se=[1,59],ie=[1,60],ae=[1,61],re=[1,62],_e=[1,63],Se=[1,64],S=[1,8,9,41],Pe=[1,77],R=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],ne=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],le=[13,60,86,100,102,103],K=[13,60,73,74,86,100,102,103],Re=[13,60,68,69,70,71,72,86,100,102,103],ue=[1,103],W=[1,121],Q=[1,117],X=[1,113],j=[1,119],H=[1,114],q=[1,115],J=[1,116],Z=[1,118],$=[1,120],Ge=[22,50,60,61,82,86,87,88,89,90],Ue=[1,128],oe=[12,39],Ne=[1,8,9,39,41,44,46],ce=[1,8,9,22],ze=[1,153],Ye=[1,8,9,61],x=[1,8,9,22,50,60,61,82,86,87,88,89,90],Le={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:f(function(c,d,p,l,C,e,ee){var s=e.length-1;switch(C){case 8:this.$=e[s-1];break;case 9:case 10:case 13:case 15:this.$=e[s];break;case 11:case 14:this.$=e[s-2]+"."+e[s];break;case 12:case 16:this.$=e[s-1]+e[s];break;case 17:case 18:this.$=e[s-1]+"~"+e[s]+"~";break;case 19:l.addRelation(e[s]);break;case 20:e[s-1].title=l.cleanupLabel(e[s]),l.addRelation(e[s-1]);break;case 31:this.$=e[s].trim(),l.setAccTitle(this.$);break;case 32:case 33:this.$=e[s].trim(),l.setAccDescription(this.$);break;case 34:l.addClassesToNamespace(e[s-3],e[s-1][0],e[s-1][1]),l.popNamespace();break;case 35:l.addClassesToNamespace(e[s-4],e[s-1][0],e[s-1][1]),l.popNamespace();break;case 36:this.$=l.addNamespace(e[s]);break;case 37:this.$=l.addNamespace(e[s-1],e[s]);break;case 38:this.$=[[e[s]],[]];break;case 39:this.$=[[e[s-1]],[]];break;case 40:e[s][0].unshift(e[s-2]),this.$=e[s];break;case 41:this.$=[[],[e[s]]];break;case 42:this.$=[[],[e[s-1]]];break;case 43:e[s][1].unshift(e[s-2]),this.$=e[s];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[s];break;case 48:l.setCssClass(e[s-2],e[s]);break;case 49:l.addMembers(e[s-3],e[s-1]);break;case 51:l.setCssClass(e[s-5],e[s-3]),l.addMembers(e[s-5],e[s-1]);break;case 52:l.addAnnotation(e[s-3],e[s-1]);break;case 53:l.addAnnotation(e[s-6],e[s-4]),l.addMembers(e[s-6],e[s-1]);break;case 54:l.addAnnotation(e[s-5],e[s-3]);break;case 55:this.$=e[s],l.addClass(e[s]);break;case 56:this.$=e[s-1],l.addClass(e[s-1]),l.setClassLabel(e[s-1],e[s]);break;case 60:l.addAnnotation(e[s],e[s-2]);break;case 61:case 74:this.$=[e[s]];break;case 62:e[s].push(e[s-1]),this.$=e[s];break;case 63:break;case 64:l.addMember(e[s-1],l.cleanupLabel(e[s]));break;case 65:break;case 66:break;case 67:this.$={id1:e[s-2],id2:e[s],relation:e[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[s-3],id2:e[s],relation:e[s-1],relationTitle1:e[s-2],relationTitle2:"none"};break;case 69:this.$={id1:e[s-3],id2:e[s],relation:e[s-2],relationTitle1:"none",relationTitle2:e[s-1]};break;case 70:this.$={id1:e[s-4],id2:e[s],relation:e[s-2],relationTitle1:e[s-3],relationTitle2:e[s-1]};break;case 71:this.$=l.addNote(e[s],e[s-1]);break;case 72:this.$=l.addNote(e[s]);break;case 73:this.$=e[s-2],l.defineClass(e[s-1],e[s]);break;case 75:this.$=e[s-2].concat([e[s]]);break;case 76:l.setDirection("TB");break;case 77:l.setDirection("BT");break;case 78:l.setDirection("RL");break;case 79:l.setDirection("LR");break;case 80:this.$={type1:e[s-2],type2:e[s],lineType:e[s-1]};break;case 81:this.$={type1:"none",type2:e[s],lineType:e[s-1]};break;case 82:this.$={type1:e[s-1],type2:"none",lineType:e[s]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[s]};break;case 84:this.$=l.relationType.AGGREGATION;break;case 85:this.$=l.relationType.EXTENSION;break;case 86:this.$=l.relationType.COMPOSITION;break;case 87:this.$=l.relationType.DEPENDENCY;break;case 88:this.$=l.relationType.LOLLIPOP;break;case 89:this.$=l.lineType.LINE;break;case 90:this.$=l.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[s-2],l.setClickEvent(e[s-1],e[s]);break;case 92:case 98:this.$=e[s-3],l.setClickEvent(e[s-2],e[s-1]),l.setTooltip(e[s-2],e[s]);break;case 93:this.$=e[s-2],l.setLink(e[s-1],e[s]);break;case 94:this.$=e[s-3],l.setLink(e[s-2],e[s-1],e[s]);break;case 95:this.$=e[s-3],l.setLink(e[s-2],e[s-1]),l.setTooltip(e[s-2],e[s]);break;case 96:this.$=e[s-4],l.setLink(e[s-3],e[s-2],e[s]),l.setTooltip(e[s-3],e[s-1]);break;case 99:this.$=e[s-3],l.setClickEvent(e[s-2],e[s-1],e[s]);break;case 100:this.$=e[s-4],l.setClickEvent(e[s-3],e[s-2],e[s-1]),l.setTooltip(e[s-3],e[s]);break;case 101:this.$=e[s-3],l.setLink(e[s-2],e[s]);break;case 102:this.$=e[s-4],l.setLink(e[s-3],e[s-1],e[s]);break;case 103:this.$=e[s-4],l.setLink(e[s-3],e[s-1]),l.setTooltip(e[s-3],e[s]);break;case 104:this.$=e[s-5],l.setLink(e[s-4],e[s-2],e[s]),l.setTooltip(e[s-4],e[s-1]);break;case 105:this.$=e[s-2],l.setCssStyle(e[s-1],e[s]);break;case 106:l.setCssClass(e[s-1],e[s]);break;case 107:this.$=[e[s]];break;case 108:e[s-2].push(e[s]),this.$=e[s-2];break;case 110:this.$=e[s-1]+e[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(Be,[2,5],{8:[1,48]}),{8:[1,49]},t(A,[2,19],{22:[1,50]}),t(A,[2,21]),t(A,[2,22]),t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),t(A,[2,26]),t(A,[2,27]),t(A,[2,28]),t(A,[2,29]),t(A,[2,30]),{34:[1,51]},{36:[1,52]},t(A,[2,33]),t(A,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:te,69:se,70:ie,71:ae,72:re,73:_e,74:Se}),{39:[1,65]},t(S,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),t(A,[2,65]),t(A,[2,66]),{16:69,60:b,86:k,100:E,102:T},{16:39,17:40,19:70,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:71,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:72,60:b,86:k,100:E,102:T,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:b,86:k,100:E,102:T,103:y},{13:Pe,55:76},{58:78,60:[1,79]},t(A,[2,76]),t(A,[2,77]),t(A,[2,78]),t(A,[2,79]),t(R,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:b,86:k,100:E,102:T,103:y}),t(R,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:87,60:b,86:k,100:E,102:T,103:y},t(ne,[2,133]),t(ne,[2,134]),t(ne,[2,135]),t(ne,[2,136]),t([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),t(Be,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:r,42:n,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y},t(A,[2,20]),t(A,[2,31]),t(A,[2,32]),{13:[1,91],16:39,17:40,19:90,60:b,86:k,100:E,102:T,103:y},{53:92,66:56,67:57,68:te,69:se,70:ie,71:ae,72:re,73:_e,74:Se},t(A,[2,64]),{67:93,73:_e,74:Se},t(le,[2,83],{66:94,68:te,69:se,70:ie,71:ae,72:re}),t(K,[2,84]),t(K,[2,85]),t(K,[2,86]),t(K,[2,87]),t(K,[2,88]),t(Re,[2,89]),t(Re,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:n,43:23,48:h,54:m,56:_},{16:100,60:b,86:k,100:E,102:T},{41:[1,102],45:101,51:ue},{16:104,60:b,86:k,100:E,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:W,50:Q,59:110,60:X,82:j,84:111,85:112,86:H,87:q,88:J,89:Z,90:$},{60:[1,122]},{13:Pe,55:123},t(S,[2,72]),t(S,[2,138]),{22:W,50:Q,59:124,60:X,61:[1,125],82:j,84:111,85:112,86:H,87:q,88:J,89:Z,90:$},t(Ge,[2,74]),{16:39,17:40,19:126,60:b,86:k,100:E,102:T,103:y},t(R,[2,16]),t(R,[2,17]),t(R,[2,18]),{11:127,12:Ue,39:[2,36]},t(oe,[2,9],{16:85,17:86,15:130,18:[1,129],60:b,86:k,100:E,102:T,103:y}),t(oe,[2,10]),t(Ne,[2,55],{11:131,12:Ue}),t(Be,[2,7]),{9:[1,132]},t(ce,[2,67]),{16:39,17:40,19:133,60:b,86:k,100:E,102:T,103:y},{13:[1,135],16:39,17:40,19:134,60:b,86:k,100:E,102:T,103:y},t(le,[2,82],{66:136,68:te,69:se,70:ie,71:ae,72:re}),t(le,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:n,43:23,48:h,54:m,56:_},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},t(S,[2,48],{39:[1,142]}),{41:[1,143]},t(S,[2,50]),{41:[2,61],45:144,51:ue},{47:[1,145]},{16:39,17:40,19:146,60:b,86:k,100:E,102:T,103:y},t(A,[2,91],{13:[1,147]}),t(A,[2,93],{13:[1,149],77:[1,148]}),t(A,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},t(A,[2,105],{61:ze}),t(Ye,[2,107],{85:154,22:W,50:Q,60:X,82:j,86:H,87:q,88:J,89:Z,90:$}),t(x,[2,109]),t(x,[2,111]),t(x,[2,112]),t(x,[2,113]),t(x,[2,114]),t(x,[2,115]),t(x,[2,116]),t(x,[2,117]),t(x,[2,118]),t(x,[2,119]),t(A,[2,106]),t(S,[2,71]),t(A,[2,73],{61:ze}),{60:[1,155]},t(R,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:b,86:k,100:E,102:T,103:y},t(oe,[2,12]),t(Ne,[2,56]),{1:[2,4]},t(ce,[2,69]),t(ce,[2,68]),{16:39,17:40,19:158,60:b,86:k,100:E,102:T,103:y},t(le,[2,80]),t(S,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:n,43:23,48:h,54:m,56:_},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:n,43:23,48:h,54:m,56:_},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:n,43:23,48:h,54:m,56:_},{45:163,51:ue},t(S,[2,49]),{41:[2,62]},t(S,[2,52],{39:[1,164]}),t(A,[2,60]),t(A,[2,92]),t(A,[2,94]),t(A,[2,95],{77:[1,165]}),t(A,[2,98]),t(A,[2,99],{13:[1,166]}),t(A,[2,101],{13:[1,168],77:[1,167]}),{22:W,50:Q,60:X,82:j,84:169,85:112,86:H,87:q,88:J,89:Z,90:$},t(x,[2,110]),t(Ge,[2,75]),{14:[1,170]},t(oe,[2,11]),t(ce,[2,70]),t(S,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ue},t(A,[2,96]),t(A,[2,100]),t(A,[2,102]),t(A,[2,103],{77:[1,174]}),t(Ye,[2,108],{85:154,22:W,50:Q,60:X,82:j,86:H,87:q,88:J,89:Z,90:$}),t(Ne,[2,8]),t(S,[2,51]),{41:[1,175]},t(S,[2,54]),t(A,[2,104]),t(S,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:f(function(c,d){if(d.recoverable)this.trace(c);else{var p=new Error(c);throw p.hash=d,p}},"parseError"),parse:f(function(c){var d=this,p=[0],l=[],C=[null],e=[],ee=this.table,s="",de=0,Ke=0,Ze=2,We=1,$e=e.slice.call(arguments,1),D=Object.create(this.lexer),V={yy:{}};for(var xe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,xe)&&(V.yy[xe]=this.yy[xe]);D.setInput(c,V.yy),V.yy.lexer=D,V.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var ve=D.yylloc;e.push(ve);var et=D.options&&D.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function tt(N){p.length=p.length-2*N,C.length=C.length-N,e.length=e.length-N}f(tt,"popStack");function Qe(){var N;return N=l.pop()||D.lex()||We,typeof N!="number"&&(N instanceof Array&&(l=N,N=l.pop()),N=d.symbols_[N]||N),N}f(Qe,"lex");for(var B,M,L,Ie,G={},pe,v,Xe,Ae;;){if(M=p[p.length-1],this.defaultActions[M]?L=this.defaultActions[M]:((B===null||typeof B>"u")&&(B=Qe()),L=ee[M]&&ee[M][B]),typeof L>"u"||!L.length||!L[0]){var Oe="";Ae=[];for(pe in ee[M])this.terminals_[pe]&&pe>Ze&&Ae.push("'"+this.terminals_[pe]+"'");D.showPosition?Oe="Parse error on line "+(de+1)+`:
|
|
1
|
+
import{g as st}from"./cmil589m.js";import{g as it}from"./CUeJC-BW.js";import{s as at}from"./C4wGdw9l.js";import{b as f,ay as we,X as F,a1 as rt,aP as nt,bh as Ve,aW as fe,a_ as lt,V as ut,aZ as ot,U as ct,b0 as ht,Y as dt,z as I,r as pt,$ as At,am as ft,aU as gt,ab as mt,x as Ct,aV as bt,aI as U}from"./Cu11OjbU.js";import{c as kt}from"./-MOfUnWK.js";import{aR as Et}from"./CQlYR8ss.js";var Me=(function(){var t=f(function(O,c,d,p){for(d=d||{},p=O.length;p--;d[O[p]]=c);return d},"o"),i=[1,18],a=[1,19],r=[1,20],n=[1,41],u=[1,26],h=[1,42],o=[1,24],g=[1,25],m=[1,32],_=[1,33],Y=[1,34],b=[1,45],me=[1,35],Ce=[1,36],be=[1,37],ke=[1,38],Ee=[1,27],Te=[1,28],ye=[1,29],De=[1,30],Fe=[1,31],k=[1,44],E=[1,46],T=[1,43],y=[1,47],Be=[1,9],A=[1,8,9],te=[1,58],se=[1,59],ie=[1,60],ae=[1,61],re=[1,62],_e=[1,63],Se=[1,64],S=[1,8,9,41],Pe=[1,77],R=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],ne=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],le=[13,60,86,100,102,103],K=[13,60,73,74,86,100,102,103],Re=[13,60,68,69,70,71,72,86,100,102,103],ue=[1,103],W=[1,121],Q=[1,117],X=[1,113],j=[1,119],H=[1,114],q=[1,115],J=[1,116],Z=[1,118],$=[1,120],Ge=[22,50,60,61,82,86,87,88,89,90],Ue=[1,128],oe=[12,39],Ne=[1,8,9,39,41,44,46],ce=[1,8,9,22],ze=[1,153],Ye=[1,8,9,61],x=[1,8,9,22,50,60,61,82,86,87,88,89,90],Le={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:f(function(c,d,p,l,C,e,ee){var s=e.length-1;switch(C){case 8:this.$=e[s-1];break;case 9:case 10:case 13:case 15:this.$=e[s];break;case 11:case 14:this.$=e[s-2]+"."+e[s];break;case 12:case 16:this.$=e[s-1]+e[s];break;case 17:case 18:this.$=e[s-1]+"~"+e[s]+"~";break;case 19:l.addRelation(e[s]);break;case 20:e[s-1].title=l.cleanupLabel(e[s]),l.addRelation(e[s-1]);break;case 31:this.$=e[s].trim(),l.setAccTitle(this.$);break;case 32:case 33:this.$=e[s].trim(),l.setAccDescription(this.$);break;case 34:l.addClassesToNamespace(e[s-3],e[s-1][0],e[s-1][1]),l.popNamespace();break;case 35:l.addClassesToNamespace(e[s-4],e[s-1][0],e[s-1][1]),l.popNamespace();break;case 36:this.$=l.addNamespace(e[s]);break;case 37:this.$=l.addNamespace(e[s-1],e[s]);break;case 38:this.$=[[e[s]],[]];break;case 39:this.$=[[e[s-1]],[]];break;case 40:e[s][0].unshift(e[s-2]),this.$=e[s];break;case 41:this.$=[[],[e[s]]];break;case 42:this.$=[[],[e[s-1]]];break;case 43:e[s][1].unshift(e[s-2]),this.$=e[s];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[s];break;case 48:l.setCssClass(e[s-2],e[s]);break;case 49:l.addMembers(e[s-3],e[s-1]);break;case 51:l.setCssClass(e[s-5],e[s-3]),l.addMembers(e[s-5],e[s-1]);break;case 52:l.addAnnotation(e[s-3],e[s-1]);break;case 53:l.addAnnotation(e[s-6],e[s-4]),l.addMembers(e[s-6],e[s-1]);break;case 54:l.addAnnotation(e[s-5],e[s-3]);break;case 55:this.$=e[s],l.addClass(e[s]);break;case 56:this.$=e[s-1],l.addClass(e[s-1]),l.setClassLabel(e[s-1],e[s]);break;case 60:l.addAnnotation(e[s],e[s-2]);break;case 61:case 74:this.$=[e[s]];break;case 62:e[s].push(e[s-1]),this.$=e[s];break;case 63:break;case 64:l.addMember(e[s-1],l.cleanupLabel(e[s]));break;case 65:break;case 66:break;case 67:this.$={id1:e[s-2],id2:e[s],relation:e[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[s-3],id2:e[s],relation:e[s-1],relationTitle1:e[s-2],relationTitle2:"none"};break;case 69:this.$={id1:e[s-3],id2:e[s],relation:e[s-2],relationTitle1:"none",relationTitle2:e[s-1]};break;case 70:this.$={id1:e[s-4],id2:e[s],relation:e[s-2],relationTitle1:e[s-3],relationTitle2:e[s-1]};break;case 71:this.$=l.addNote(e[s],e[s-1]);break;case 72:this.$=l.addNote(e[s]);break;case 73:this.$=e[s-2],l.defineClass(e[s-1],e[s]);break;case 75:this.$=e[s-2].concat([e[s]]);break;case 76:l.setDirection("TB");break;case 77:l.setDirection("BT");break;case 78:l.setDirection("RL");break;case 79:l.setDirection("LR");break;case 80:this.$={type1:e[s-2],type2:e[s],lineType:e[s-1]};break;case 81:this.$={type1:"none",type2:e[s],lineType:e[s-1]};break;case 82:this.$={type1:e[s-1],type2:"none",lineType:e[s]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[s]};break;case 84:this.$=l.relationType.AGGREGATION;break;case 85:this.$=l.relationType.EXTENSION;break;case 86:this.$=l.relationType.COMPOSITION;break;case 87:this.$=l.relationType.DEPENDENCY;break;case 88:this.$=l.relationType.LOLLIPOP;break;case 89:this.$=l.lineType.LINE;break;case 90:this.$=l.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[s-2],l.setClickEvent(e[s-1],e[s]);break;case 92:case 98:this.$=e[s-3],l.setClickEvent(e[s-2],e[s-1]),l.setTooltip(e[s-2],e[s]);break;case 93:this.$=e[s-2],l.setLink(e[s-1],e[s]);break;case 94:this.$=e[s-3],l.setLink(e[s-2],e[s-1],e[s]);break;case 95:this.$=e[s-3],l.setLink(e[s-2],e[s-1]),l.setTooltip(e[s-2],e[s]);break;case 96:this.$=e[s-4],l.setLink(e[s-3],e[s-2],e[s]),l.setTooltip(e[s-3],e[s-1]);break;case 99:this.$=e[s-3],l.setClickEvent(e[s-2],e[s-1],e[s]);break;case 100:this.$=e[s-4],l.setClickEvent(e[s-3],e[s-2],e[s-1]),l.setTooltip(e[s-3],e[s]);break;case 101:this.$=e[s-3],l.setLink(e[s-2],e[s]);break;case 102:this.$=e[s-4],l.setLink(e[s-3],e[s-1],e[s]);break;case 103:this.$=e[s-4],l.setLink(e[s-3],e[s-1]),l.setTooltip(e[s-3],e[s]);break;case 104:this.$=e[s-5],l.setLink(e[s-4],e[s-2],e[s]),l.setTooltip(e[s-4],e[s-1]);break;case 105:this.$=e[s-2],l.setCssStyle(e[s-1],e[s]);break;case 106:l.setCssClass(e[s-1],e[s]);break;case 107:this.$=[e[s]];break;case 108:e[s-2].push(e[s]),this.$=e[s-2];break;case 110:this.$=e[s-1]+e[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(Be,[2,5],{8:[1,48]}),{8:[1,49]},t(A,[2,19],{22:[1,50]}),t(A,[2,21]),t(A,[2,22]),t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),t(A,[2,26]),t(A,[2,27]),t(A,[2,28]),t(A,[2,29]),t(A,[2,30]),{34:[1,51]},{36:[1,52]},t(A,[2,33]),t(A,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:te,69:se,70:ie,71:ae,72:re,73:_e,74:Se}),{39:[1,65]},t(S,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),t(A,[2,65]),t(A,[2,66]),{16:69,60:b,86:k,100:E,102:T},{16:39,17:40,19:70,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:71,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:72,60:b,86:k,100:E,102:T,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:b,86:k,100:E,102:T,103:y},{13:Pe,55:76},{58:78,60:[1,79]},t(A,[2,76]),t(A,[2,77]),t(A,[2,78]),t(A,[2,79]),t(R,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:b,86:k,100:E,102:T,103:y}),t(R,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:87,60:b,86:k,100:E,102:T,103:y},t(ne,[2,133]),t(ne,[2,134]),t(ne,[2,135]),t(ne,[2,136]),t([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),t(Be,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:r,42:n,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y},t(A,[2,20]),t(A,[2,31]),t(A,[2,32]),{13:[1,91],16:39,17:40,19:90,60:b,86:k,100:E,102:T,103:y},{53:92,66:56,67:57,68:te,69:se,70:ie,71:ae,72:re,73:_e,74:Se},t(A,[2,64]),{67:93,73:_e,74:Se},t(le,[2,83],{66:94,68:te,69:se,70:ie,71:ae,72:re}),t(K,[2,84]),t(K,[2,85]),t(K,[2,86]),t(K,[2,87]),t(K,[2,88]),t(Re,[2,89]),t(Re,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:n,43:23,48:h,54:m,56:_},{16:100,60:b,86:k,100:E,102:T},{41:[1,102],45:101,51:ue},{16:104,60:b,86:k,100:E,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:W,50:Q,59:110,60:X,82:j,84:111,85:112,86:H,87:q,88:J,89:Z,90:$},{60:[1,122]},{13:Pe,55:123},t(S,[2,72]),t(S,[2,138]),{22:W,50:Q,59:124,60:X,61:[1,125],82:j,84:111,85:112,86:H,87:q,88:J,89:Z,90:$},t(Ge,[2,74]),{16:39,17:40,19:126,60:b,86:k,100:E,102:T,103:y},t(R,[2,16]),t(R,[2,17]),t(R,[2,18]),{11:127,12:Ue,39:[2,36]},t(oe,[2,9],{16:85,17:86,15:130,18:[1,129],60:b,86:k,100:E,102:T,103:y}),t(oe,[2,10]),t(Ne,[2,55],{11:131,12:Ue}),t(Be,[2,7]),{9:[1,132]},t(ce,[2,67]),{16:39,17:40,19:133,60:b,86:k,100:E,102:T,103:y},{13:[1,135],16:39,17:40,19:134,60:b,86:k,100:E,102:T,103:y},t(le,[2,82],{66:136,68:te,69:se,70:ie,71:ae,72:re}),t(le,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:n,43:23,48:h,54:m,56:_},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},t(S,[2,48],{39:[1,142]}),{41:[1,143]},t(S,[2,50]),{41:[2,61],45:144,51:ue},{47:[1,145]},{16:39,17:40,19:146,60:b,86:k,100:E,102:T,103:y},t(A,[2,91],{13:[1,147]}),t(A,[2,93],{13:[1,149],77:[1,148]}),t(A,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},t(A,[2,105],{61:ze}),t(Ye,[2,107],{85:154,22:W,50:Q,60:X,82:j,86:H,87:q,88:J,89:Z,90:$}),t(x,[2,109]),t(x,[2,111]),t(x,[2,112]),t(x,[2,113]),t(x,[2,114]),t(x,[2,115]),t(x,[2,116]),t(x,[2,117]),t(x,[2,118]),t(x,[2,119]),t(A,[2,106]),t(S,[2,71]),t(A,[2,73],{61:ze}),{60:[1,155]},t(R,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:b,86:k,100:E,102:T,103:y},t(oe,[2,12]),t(Ne,[2,56]),{1:[2,4]},t(ce,[2,69]),t(ce,[2,68]),{16:39,17:40,19:158,60:b,86:k,100:E,102:T,103:y},t(le,[2,80]),t(S,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:n,43:23,48:h,54:m,56:_},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:n,43:23,48:h,54:m,56:_},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:n,43:23,48:h,54:m,56:_},{45:163,51:ue},t(S,[2,49]),{41:[2,62]},t(S,[2,52],{39:[1,164]}),t(A,[2,60]),t(A,[2,92]),t(A,[2,94]),t(A,[2,95],{77:[1,165]}),t(A,[2,98]),t(A,[2,99],{13:[1,166]}),t(A,[2,101],{13:[1,168],77:[1,167]}),{22:W,50:Q,60:X,82:j,84:169,85:112,86:H,87:q,88:J,89:Z,90:$},t(x,[2,110]),t(Ge,[2,75]),{14:[1,170]},t(oe,[2,11]),t(ce,[2,70]),t(S,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ue},t(A,[2,96]),t(A,[2,100]),t(A,[2,102]),t(A,[2,103],{77:[1,174]}),t(Ye,[2,108],{85:154,22:W,50:Q,60:X,82:j,86:H,87:q,88:J,89:Z,90:$}),t(Ne,[2,8]),t(S,[2,51]),{41:[1,175]},t(S,[2,54]),t(A,[2,104]),t(S,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:f(function(c,d){if(d.recoverable)this.trace(c);else{var p=new Error(c);throw p.hash=d,p}},"parseError"),parse:f(function(c){var d=this,p=[0],l=[],C=[null],e=[],ee=this.table,s="",de=0,Ke=0,Ze=2,We=1,$e=e.slice.call(arguments,1),D=Object.create(this.lexer),V={yy:{}};for(var xe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,xe)&&(V.yy[xe]=this.yy[xe]);D.setInput(c,V.yy),V.yy.lexer=D,V.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var ve=D.yylloc;e.push(ve);var et=D.options&&D.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function tt(N){p.length=p.length-2*N,C.length=C.length-N,e.length=e.length-N}f(tt,"popStack");function Qe(){var N;return N=l.pop()||D.lex()||We,typeof N!="number"&&(N instanceof Array&&(l=N,N=l.pop()),N=d.symbols_[N]||N),N}f(Qe,"lex");for(var B,M,L,Ie,G={},pe,v,Xe,Ae;;){if(M=p[p.length-1],this.defaultActions[M]?L=this.defaultActions[M]:((B===null||typeof B>"u")&&(B=Qe()),L=ee[M]&&ee[M][B]),typeof L>"u"||!L.length||!L[0]){var Oe="";Ae=[];for(pe in ee[M])this.terminals_[pe]&&pe>Ze&&Ae.push("'"+this.terminals_[pe]+"'");D.showPosition?Oe="Parse error on line "+(de+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+Ae.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Oe="Parse error on line "+(de+1)+": Unexpected "+(B==We?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Oe,{text:D.match,token:this.terminals_[B]||B,line:D.yylineno,loc:ve,expected:Ae})}if(L[0]instanceof Array&&L.length>1)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+B);switch(L[0]){case 1:p.push(B),C.push(D.yytext),e.push(D.yylloc),p.push(L[1]),B=null,Ke=D.yyleng,s=D.yytext,de=D.yylineno,ve=D.yylloc;break;case 2:if(v=this.productions_[L[1]][1],G.$=C[C.length-v],G._$={first_line:e[e.length-(v||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(v||1)].first_column,last_column:e[e.length-1].last_column},et&&(G._$.range=[e[e.length-(v||1)].range[0],e[e.length-1].range[1]]),Ie=this.performAction.apply(G,[s,Ke,de,V.yy,L[1],C,e].concat($e)),typeof Ie<"u")return Ie;v&&(p=p.slice(0,-1*v*2),C=C.slice(0,-1*v),e=e.slice(0,-1*v)),p.push(this.productions_[L[1]][0]),C.push(G.$),e.push(G._$),Xe=ee[p[p.length-2]][p[p.length-1]],p.push(Xe);break;case 3:return!0}}return!0},"parse")},Je=(function(){var O={EOF:1,parseError:f(function(d,p){if(this.yy.parser)this.yy.parser.parseError(d,p);else throw new Error(d)},"parseError"),setInput:f(function(c,d){return this.yy=d||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:f(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var d=c.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:f(function(c){var d=c.length,p=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),p.length-1&&(this.yylineno-=p.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:p?(p.length===l.length?this.yylloc.first_column:0)+l[l.length-p.length].length-p[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(c){this.unput(this.match.slice(c))},"less"),pastInput:f(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var c=this.pastInput(),d=new Array(c.length+1).join("-");return c+this.upcomingInput()+`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as Oe,bo as Y,bm as L,bw as qe,b as je,bs as He,bq as at,br as xt}from"./CLAmm_T1.js";import{bs as Ge,bj as bt,a5 as u,bA as c,b_ as x,W as r,bn as Ne,aA as J,ay as D,bS as n,aD as e,aB as m,c9 as $,c5 as Ce,ca as yt,bk as st,bH as Pe,bV as Be,a7 as fe,be as $e,b$ as ke,bO as B,bl as Ae}from"./3SdAC2_C.js";import{i as X}from"./BFgvMDua.js";import{k as ot}from"./CIbfGsF-.js";import{g as Re}from"./B1CKzIA2.js";import{c as P}from"./BwH4Bvte.js";import{s as ze,f as Je,c as Ue,b as Qe}from"./CcJmuwXr.js";import{P as Ee,h as Le,i as Me,g as We}from"./96V4v2iI.js";import{S as T,E as At}from"./Dd-LQrG1.js";import"./TB9r2XJy.js";import{w as Pt}from"./B5N8LmEF.js";import{C as Tt}from"./lei6Hlse.js";import{E as Ze}from"./BpMXdC4H.js";import"./DtzJzV-4.js";import{JH as xe,fy as Dt,FD as nt,DY as it,q3 as Rt}from"./B9vHutcJ.js";import{a_ as lt,aX as Ht,aY as It,dK as St}from"./C2UL5Ler.js";import{e as zt,r as Et}from"./uvhZkGDU.js";import{M as Lt}from"./DjbX62Cx.js";import{G as Mt}from"./D36C5UHH.js";import{A as et}from"./9YT9B_ti.js";import{M as Wt,e as Ft}from"./DXY_Cr2S.js";import{o as Ct}from"./Bc1CpNLz.js";import{f as Fe}from"./nxtepGjE.js";import{S as Ie}from"./vj8NdGWd.js";import{F as Se,a2 as Bt,d3 as Ot,aw as qt,bn as jt}from"./DPttSllj.js";var Gt=m('<div class="space-y-3"><!> <!></div>'),Nt=m('<div class="space-y-3"><!> <!></div> <!>',1),Kt=m('<div class="space-y-3 rounded-xl border border-border p-4 shadow-xs"><div class="flex items-center gap-3"><!><!></div> <!> <div class="flex items-center justify-between pt-1"><!><!></div></div>'),Vt=m('<div class="min-w-0 space-y-3"><div class="flex h-10 items-center px-2"><!></div> <!></div>'),Xt=m('<div class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-3 px-1"></div>'),Yt=m('<div class="flex h-10 items-center px-3"><!></div>'),Jt=m("<div><!> <!> <!> <!></div>"),Ut=m("<!> <!>",1),Qt=m('<div role="status" class="min-h-0 min-w-0 flex-1 overflow-hidden svelte-kmeefs" data-home-loading=""><div aria-hidden="true"><!></div></div>');function dt(b,l){if(new.target)return Oe({component:dt,...b});Ge(l,!0);const U=Pt();bt(U.cleanup);let I=Y(l,"detail",7,!1),O=Y(l,"count",7,5),Q=Y(l,"view",7,"list"),Z=Y(l,"grouped",7,!1),s=Y(l,"rows",7,"workspace");var S={get detail(){return I()},set detail(i=!1){I(i),J()},get count(){return O()},set count(i=5){O(i),J()},get view(){return Q()},set view(i="list"){Q(i),J()},get grouped(){return Z()},set grouped(i=!1){Z(i),J()},get rows(){return s()},set rows(i="workspace"){s(i),J()},$set:qe,$on:(i,R)=>je(l,i,R)},y=Qt(),ie=u(y),be=u(ie);{var le=i=>{var R=Nt(),g=D(R),ee=u(g);T(ee,{class:"h-6 w-4/5"});var M=n(ee,2);T(M,{class:"h-4 w-1/2"}),c(g);var d=n(g,2);Re(d,16,()=>[0,1],h=>h,(h,A)=>{var k=Gt(),te=u(k);T(te,{class:"h-3 w-full"});var q=n(te,2);T(q,{class:"h-3 w-5/6"}),c(k),r(h,k)}),r(i,R)},Te=i=>{var R=Xt();Re(R,20,()=>[0,1,2],g=>g,(g,ee)=>{var M=Vt(),d=u(M),h=u(d);T(h,{class:"h-3 w-20"}),c(d);var A=n(d,2);Re(A,16,()=>[0,1,2],k=>k,(k,te)=>{var q=Kt(),de=u(q),re=u(de);T(re,{class:"h-4 flex-1"});var ce=n(re);T(ce,{class:"size-3 rounded-full"}),c(de);var t=n(de,2);T(t,{class:"h-3 w-full"});var o=n(t,2),w=u(o);T(w,{class:"size-4 rounded-sm"});var j=n(w);T(j,{class:"h-3 w-6"}),c(o),c(q),r(k,q)}),c(M),r(g,M)}),c(R),r(i,R)},_e=i=>{var R=Ut(),g=D(R);{var ee=d=>{var h=Yt(),A=u(h);T(A,{class:"h-3 w-20"}),c(h),r(d,h)};X(g,d=>{Z()&&d(ee)})}var M=n(g,2);Re(M,16,()=>Array.from({length:O()},(d,h)=>h),d=>d,(d,h)=>{var A=Jt(),k=u(A);T(k,{class:"size-4 shrink-0 rounded-sm"});var te=n(k,2);T(te,{class:"h-4 min-w-0 flex-1"});var q=n(te,2);{var de=o=>{T(o,{class:"size-3 shrink-0 rounded-full"})},re=o=>{T(o,{class:"size-5 shrink-0 rounded-full"})};X(q,o=>{s()==="workspace"?o(de):s()==="integration"&&o(re,1)})}var ce=n(q,2);{var t=o=>{{let w=$(()=>s()==="workspace"?"h-3 w-8 shrink-0":"h-3 w-6 shrink-0");T(o,{get class(){return e(w)}})}};X(ce,o=>{s()!=="compact"&&o(t)})}c(A),x(()=>Je(A,1,Ue(s()==="compact"?"flex min-h-6 items-center gap-2 py-1":`flex h-12 items-center gap-3 border-b border-border ${s()==="integration"?"px-2":"px-3"}`))),r(d,A)}),r(i,R)};X(be,i=>{I()?i(le):Q()==="board"?i(Te,1):i(_e,-1)})}return c(ie),c(y),x(i=>{ze(y,"aria-label",i),ze(y,"data-reduced",U.current),Je(ie,1,Ue(I()?"space-y-6 py-3":s()==="compact"?"":"px-5 pb-4"))},[()=>L.home_integrations_loading()]),r(b,y),Ne(S)}function ct(b){return b.filter(zt)}function Zt(){let b=null;return(l,U)=>{const I=b?l.find(Q=>Q.id===b):void 0;if(I)return I;const O=Et(l);return b=U&&O?String(O.id):null,O}}function er(b,l,U){return l&&b.find(I=>I.id===l)||U}var tr=m('<div class="p-4"><!></div>'),rr=m('<div class="flex h-full min-h-0 min-w-0 flex-col" data-home-workspace-chat=""><!></div>');function vt(b,l){if(new.target)return Oe({component:vt,...b});Ge(l,!0);const U=()=>He(ie,"$agents$",O),I=()=>He(be,"$loaded$",O),[O,Q]=at();let Z=Y(l,"workspace",7),s=Y(l,"preview",7,!1),S=Y(l,"agent",7);const y=Ce(()=>Z().id),ie=lt(y),be=Ht(y),le=$(()=>ct(U())),Te=$(()=>s()?void 0:S()?.id);yt(()=>{const t=e(Te);if(!t)return;const o=Date.now();return()=>{Date.now()-o<Lt||setTimeout(()=>xe.dispatch(Dt(t)),0)}});let _e=Be(void 0),i=0;function R(t,o){s()||!e(le).some(w=>w.id===t)||(Pe(_e,{agentId:t,questionMessageId:o,requestId:++i},!0),xe.dispatch(nt(y,t)),xe.dispatch(it(y,t)))}let g=Be(!1),ee;function M(){s()||(Pe(g,!1),clearTimeout(ee),xe.dispatch(Rt(y)),ee=setTimeout(()=>{Pe(g,!0)},15e3))}st(()=>(s()||M(),()=>clearTimeout(ee)));var d={focusAttention:R,get workspace(){return Z()},set workspace(t){Z(t),J()},get preview(){return s()},set preview(t=!1){s(t),J()},get agent(){return S()},set agent(t){S(t),J()},$set:qe,$on:(t,o)=>je(l,t,o)},h=rr(),A=u(h);{var k=t=>{Ze(t,{density:"compact",title:w=>{$e();var j=ke();x(ae=>B(j,ae),[()=>L.agentOverview_hierarchyGraph_noAgents_title()]),r(w,j)},$$slots:{title:!0}})},te=t=>{var o=fe(),w=D(o);ot(w,()=>S().id,j=>{{let ae=$(()=>e(_e)?.agentId===S().id?e(_e):void 0);Tt(j,{get workspace(){return Z()},get agentId(){return S().id},get agentName(){return S().name},autoFocus:!1,isFallbackPromptTarget:!0,get attentionFocusRequest(){return e(ae)},isInitialWorkspaceAgent:!1})}}),r(t,o)},q=t=>{var o=tr(),w=u(o);dt(w,{detail:!0}),c(o),r(t,o)},de=t=>{{const o=j=>{$e();var ae=ke();x(ye=>B(ae,ye),[()=>L.home_detail_unavailable()]),r(j,ae)};let w=$(()=>L.home_retry());At(t,{density:"compact",get retryLabel(){return e(w)},onRetry:M,message:o,$$slots:{message:!0}})}},re=t=>{{const o=j=>{$e();var ae=ke();x(ye=>B(ae,ye),[()=>L.agentOverview_hierarchyGraph_noAgents_title()]),r(j,ae)};let w=$(()=>L.home_retry());Ze(t,{density:"compact",get actionLabel(){return e(w)},onAction:M,title:o,$$slots:{title:!0}})}};X(A,t=>{s()?t(k):S()?t(te,1):!I()&&!e(g)?t(q,2):I()?t(re,-1):t(de,3)})}c(h),x(()=>ze(h,"data-workspace-link-target",Z().id)),r(b,h);var ce=Ne(d);return Q(),ce}var ar=m('<span class="min-w-0 line-clamp-2 [overflow-wrap:anywhere]"> </span> <!>',1),tt=m("<!> <!>",1),sr=m('<div class="shrink-0"><!></div>'),or=m('<div><!> <span class="home-detail-repository-name truncate"> </span></div>'),rt=m("<!><!>",1),nr=m("<p> </p>"),ir=m('<!> <span class="min-w-0 truncate text-left"> </span> <!>',1),lr=m('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),dr=m('<div class="shrink-0 min-w-0 px-1 py-2" data-home-agent-switcher=""><!></div>'),cr=m('<div class="flex items-center gap-2 px-4 py-2 type-caption text-muted-foreground" role="status"><p> </p> <!></div>'),vr=m('<section class="flex h-full min-h-0 min-w-0 flex-col" data-home-detail=""><header class="shrink-0 border-b border-border px-4 py-2"><div class="flex min-w-0 items-center gap-3"><h2 class="-ml-2 min-w-0 flex-1"><!></h2> <!></div> <!> <!></header> <!> <!> <div class="min-h-0 min-w-0 flex-1"><!></div></section>');function ur(b,l){if(new.target)return Oe({component:ur,...b});Ge(l,!0);const U=()=>He(_e,"$readRevision$",Q),I=()=>He(Te,"$agents$",Q),O=()=>He(R,"$pickedId$",Q),[Q,Z]=at();let s=Y(l,"workspace",7),S=Y(l,"onclose",7),y=Y(l,"preview",7,!1),ie=Y(l,"showBackToList",7,!0);const be=$(()=>s().title.trim()?s().title:L.workspace_links_untitled_label()),le=Ce(()=>s().id),Te=lt(le),_e=It(le),i=Ce(()=>U()),R=Wt(le),g=$(()=>ct(I())),ee=Zt(),M=$(()=>ee(e(g),U()>i)),d=$(()=>er(e(g),O(),e(M)));function h(a){xe.dispatch(nt(le,a)),xe.dispatch(it(le,a))}const A=$(()=>[s().repositoryOwner,s().repositoryName].filter(Boolean).join("/")||s().repositoryPath);let k=Be(!1);async function te(){Pe(k,!1);try{await Ft(s().id),Pe(k,!St.select(xe.state,s().id))}catch{Pe(k,!0)}}st(()=>{y()||te()});function q(){Ct(s().id)}var de={get workspace(){return s()},set workspace(a){s(a),J()},get onclose(){return S()},set onclose(a){S(a),J()},get preview(){return y()},set preview(a=!1){y(a),J()},get showBackToList(){return ie()},set showBackToList(a=!0){ie(a),J()},$set:qe,$on:(a,f)=>je(l,a,f)},re=vr(),ce=u(re),t=u(ce),o=u(t),w=u(o);P(w,()=>Ee,(a,f)=>{f(a,{children:(G,oe)=>{var N=fe(),W=D(N);P(W,()=>Le,(ve,z)=>{z(ve,{children:(K,ge)=>{var me=tt(),ne=D(me);{const F=(E,C)=>{let H=()=>(C?.()).props;{let v=$(()=>L.home_open_workspace());Fe(E,xt(H,{variant:"ghost",class:"type-title h-auto min-w-0 max-w-full shrink gap-2 justify-start whitespace-normal px-2 py-1 text-left font-medium leading-snug",wrapContent:!1,get"aria-label"(){return e(v)},onclick:q,children:(p,V)=>{var _=ar(),se=D(_),ue=Ae(se,!0),we=n(se,2);Se(we,{get icon(){return Bt},class:"shrink-0 text-muted-foreground",size:"sm"}),x(()=>B(ue,e(be))),r(p,_)},$$slots:{default:!0}}))}};P(ne,()=>Me,(E,C)=>{C(E,{child:F,$$slots:{child:!0}})})}var he=n(ne,2);P(he,()=>We,(F,E)=>{E(F,{children:(C,H)=>{$e();var v=ke();x(()=>B(v,e(be))),r(C,v)},$$slots:{default:!0}})}),r(K,me)},$$slots:{default:!0}})}),r(G,N)},$$slots:{default:!0}})}),c(o);var j=n(o,2);{var ae=a=>{var f=sr(),G=u(f);{let oe=$(()=>L.home_close_preview()),N=$(()=>L.home_close_preview());Fe(G,{variant:"ghost",size:"icon-sm",get"aria-label"(){return e(oe)},get tooltip(){return e(N)},get onclick(){return S()},children:(W,ve)=>{Se(W,{get icon(){return Ot}})},$$slots:{default:!0}})}c(f),r(a,f)};X(j,a=>{ie()&&a(ae)})}c(t);var ye=n(t,2);{var ut=a=>{var f=fe(),G=D(f);P(G,()=>Ee,(oe,N)=>{N(oe,{children:(W,ve)=>{var z=fe(),K=D(z);P(K,()=>Le,(ge,me)=>{me(ge,{children:(ne,he)=>{var F=rt(),E=D(F);{const H=(v,p)=>{let V=()=>(p?.()).props;var _=or();Qe(_,()=>({...V(),class:"mb-1 flex min-w-0 max-w-[min(100%,16rem)] items-center gap-1.5 type-caption text-muted-foreground","data-home-detail-repository":!0,"aria-label":e(A)}));var se=u(_);{var ue=pe=>{Mt(pe,{get identity(){return s().repositoryOwner},size:16,class:"shrink-0 rounded-sm"})},we=pe=>{Se(pe,{get icon(){return jt}})};X(se,pe=>{s().repositoryOwner?pe(ue):pe(we,-1)})}var Ye=n(se,2),De=Ae(Ye,!0);c(_),x(()=>B(De,e(A))),r(v,_)};P(E,()=>Me,(v,p)=>{p(v,{child:H,$$slots:{child:!0}})})}var C=n(E);P(C,()=>We,(H,v)=>{v(H,{children:(p,V)=>{$e();var _=ke();x(()=>B(_,e(A))),r(p,_)},$$slots:{default:!0}})}),r(ne,F)},$$slots:{default:!0}})}),r(W,z)},$$slots:{default:!0}})}),r(a,f)};X(ye,a=>{e(A)&&a(ut)})}var pt=n(ye,2);{var mt=a=>{var f=fe(),G=D(f);P(G,()=>Ee,(oe,N)=>{N(oe,{children:(W,ve)=>{var z=fe(),K=D(z);P(K,()=>Le,(ge,me)=>{me(ge,{children:(ne,he)=>{var F=rt(),E=D(F);{const H=(v,p)=>{let V=()=>(p?.()).props;var _=nr();Qe(_,()=>({...V(),class:"type-caption line-clamp-2 break-words leading-snug text-muted-foreground"}));var se=Ae(_,!0);x(()=>B(se,s().statusMessage)),r(v,_)};P(E,()=>Me,(v,p)=>{p(v,{child:H,$$slots:{child:!0}})})}var C=n(E);P(C,()=>We,(H,v)=>{v(H,{children:(p,V)=>{$e();var _=ke();x(()=>B(_,s().statusMessage)),r(p,_)},$$slots:{default:!0}})}),r(ne,F)},$$slots:{default:!0}})}),r(W,z)},$$slots:{default:!0}})}),r(a,f)};X(pt,a=>{s().statusMessage&&a(mt)})}c(ce);var Ke=n(ce,2);{var ft=a=>{var f=dr(),G=u(f);{let oe=$(()=>e(d)?.id??"");P(G,()=>Ie.Root,(N,W)=>{W(N,{get value(){return e(oe)},onchange:ve=>{const z=e(g).find(K=>K.id===ve);z&&h(z.id)},children:(ve,z)=>{var K=tt(),ge=D(K);{let ne=$(()=>L.home_agents());P(ge,()=>Ie.Trigger,(he,F)=>{F(he,{variant:"ghost",class:"h-8 w-fit max-w-full justify-start",get"aria-label"(){return e(ne)},children:(E,C)=>{var H=ir(),v=D(H);{var p=ue=>{{let we=$(()=>e(d).metadata?.specialist??e(d).agentMetadata?.specialist);et(ue,{get agentId(){return e(d).id},get specialist(){return e(we)},variant:"emphasized"})}};X(v,ue=>{e(d)&&ue(p)})}var V=n(v,2),_=Ae(V,!0),se=n(V,2);Se(se,{get icon(){return qt},class:"shrink-0 text-muted-foreground"}),x(()=>B(_,e(d)?.name)),r(E,H)},$$slots:{default:!0}})})}var me=n(ge,2);P(me,()=>Ie.Content,(ne,he)=>{he(ne,{portal:!0,children:(F,E)=>{var C=fe(),H=D(C);Re(H,17,()=>e(g),v=>v.id,(v,p)=>{var V=fe(),_=D(V);P(_,()=>Ie.Item,(se,ue)=>{ue(se,{get value(){return e(p).id},get label(){return e(p).name},children:(we,Ye)=>{var De=lr(),pe=u(De);{let kt=$(()=>e(p).metadata?.specialist??e(p).agentMetadata?.specialist);et(pe,{get agentId(){return e(p).id},get specialist(){return e(kt)},variant:"emphasized"})}var wt=n(pe,2),$t=Ae(wt,!0);c(De),x(()=>B($t,e(p).name)),r(we,De)},$$slots:{default:!0}})}),r(v,V)}),r(F,C)},$$slots:{default:!0}})}),r(ve,K)},$$slots:{default:!0}})})}c(f),r(a,f)};X(Ke,a=>{e(g).length&&a(ft)})}var Ve=n(Ke,2);{var _t=a=>{var f=cr(),G=u(f),oe=Ae(G,!0),N=n(G,2);Fe(N,{variant:"outline",size:"sm",onclick:te,children:(W,ve)=>{$e();var z=ke();x(K=>B(z,K),[()=>L.home_retry()]),r(W,z)},$$slots:{default:!0}}),c(f),x(W=>B(oe,W),[()=>L.home_detail_unavailable()]),r(a,f)};X(Ve,a=>{e(k)&&a(_t)})}var Xe=n(Ve,2),gt=u(Xe);ot(gt,()=>s().id,a=>{vt(a,{get workspace(){return s()},get preview(){return y()},get agent(){return e(d)}})}),c(Xe),c(re),x(a=>ze(re,"aria-label",a),[()=>L.home_workspace_details()]),r(b,re);var ht=Ne(de);return Z(),ht}export{dt as H,ur as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var $c=Object.defineProperty;var td=Object.getPrototypeOf;var ed=Reflect.get;var Au=n=>{throw TypeError(n)};var nd=(n,t,e)=>t in n?$c(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var C=(n,t,e)=>nd(n,typeof t!="symbol"?t+"":t,e),Xs=(n,t,e)=>t.has(n)||Au("Cannot "+e);var o=(n,t,e)=>(Xs(n,t,"read from private field"),e?e.call(n):t.get(n)),p=(n,t,e)=>t.has(n)?Au("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(n):t.set(n,e),S=(n,t,e,r)=>(Xs(n,t,"write to private field"),r?r.call(n,e):t.set(n,e),e),E=(n,t,e)=>(Xs(n,t,"access private method"),e);var Pu=(n,t,e,r)=>({set _(i){S(n,t,i,e)},get _(){return o(n,t,r)}}),Eu=(n,t,e)=>ed(td(n),e,t);import{t as ct,bo as l,bw as dt,b as ht,br as Nr,bp as Rn}from"./CLAmm_T1.js";import{A as rd,bV as Y,c8 as Iu,ao as Cn,bY as Un,bU as id,b5 as Oo,aD as f,bH as P,aV as Cr,c9 as M,br as Ln,aa as pl,bi as mt,aM as od,aG as na,bI as sd,cb as ad,ca as xt,c5 as _r,c0 as ud,bs as ft,a7 as tt,ay as J,bf as at,W as R,bn as gt,aA as c,aF as ld,bb as cd,c3 as dd,at as ml,bk as hd,bS as Re,aB as At,bo as Ha,a5 as St,bA as wt,b$ as vl,b_ as Wn,bO as ra,bl as fd,be as gd}from"./3SdAC2_C.js";import{i as bt}from"./BFgvMDua.js";import{t as ot}from"./BwNrQXlF.js";import{d as Gs,b as Se,e as mn,c as Wo,f as Dr}from"./CcJmuwXr.js";import{b as bl}from"./Dn334wJv.js";import{g as pd,I as md}from"./B1CKzIA2.js";import{J as vd,f as bd,o as yd,g as wd,n as xd}from"./
|
|
1
|
+
var $c=Object.defineProperty;var td=Object.getPrototypeOf;var ed=Reflect.get;var Au=n=>{throw TypeError(n)};var nd=(n,t,e)=>t in n?$c(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var C=(n,t,e)=>nd(n,typeof t!="symbol"?t+"":t,e),Xs=(n,t,e)=>t.has(n)||Au("Cannot "+e);var o=(n,t,e)=>(Xs(n,t,"read from private field"),e?e.call(n):t.get(n)),p=(n,t,e)=>t.has(n)?Au("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(n):t.set(n,e),S=(n,t,e,r)=>(Xs(n,t,"write to private field"),r?r.call(n,e):t.set(n,e),e),E=(n,t,e)=>(Xs(n,t,"access private method"),e);var Pu=(n,t,e,r)=>({set _(i){S(n,t,i,e)},get _(){return o(n,t,r)}}),Eu=(n,t,e)=>ed(td(n),e,t);import{t as ct,bo as l,bw as dt,b as ht,br as Nr,bp as Rn}from"./CLAmm_T1.js";import{A as rd,bV as Y,c8 as Iu,ao as Cn,bY as Un,bU as id,b5 as Oo,aD as f,bH as P,aV as Cr,c9 as M,br as Ln,aa as pl,bi as mt,aM as od,aG as na,bI as sd,cb as ad,ca as xt,c5 as _r,c0 as ud,bs as ft,a7 as tt,ay as J,bf as at,W as R,bn as gt,aA as c,aF as ld,bb as cd,c3 as dd,at as ml,bk as hd,bS as Re,aB as At,bo as Ha,a5 as St,bA as wt,b$ as vl,b_ as Wn,bO as ra,bl as fd,be as gd}from"./3SdAC2_C.js";import{i as bt}from"./BFgvMDua.js";import{t as ot}from"./BwNrQXlF.js";import{d as Gs,b as Se,e as mn,c as Wo,f as Dr}from"./CcJmuwXr.js";import{b as bl}from"./Dn334wJv.js";import{g as pd,I as md}from"./B1CKzIA2.js";import{J as vd,f as bd,o as yd,g as wd,n as xd}from"./TB9r2XJy.js";import{c as Or}from"./BwH4Bvte.js";import{k as Cd}from"./CIbfGsF-.js";function Od(){return Symbol(rd)}var ve,re,be,Qo,de,Pr,Po;const su=class su extends Map{constructor(e){super();p(this,de);p(this,ve,new Map);p(this,re,Y(0));p(this,be,Y(0));p(this,Qo,Iu||-1);if(Cn&&(e=new Map(e),Un(o(this,re),"SvelteMap version"),Un(o(this,be),"SvelteMap.size")),e){for(var[r,i]of e)super.set(r,i);o(this,be).v=super.size}}has(e){var r=o(this,ve),i=r.get(e);if(i===void 0)if(super.has(e))i=E(this,de,Pr).call(this,0),Cn&&Un(i,`SvelteMap get(${Oo(e)})`),r.set(e,i);else return f(o(this,re)),!1;return f(i),!0}forEach(e,r){E(this,de,Po).call(this),super.forEach(e,r)}get(e){var r=o(this,ve),i=r.get(e);if(i===void 0)if(super.has(e))i=E(this,de,Pr).call(this,0),Cn&&Un(i,`SvelteMap get(${Oo(e)})`),r.set(e,i);else{f(o(this,re));return}return f(i),super.get(e)}getOrInsert(e,r){return super.has(e)||this.set(e,r),this.get(e)}getOrInsertComputed(e,r){return super.has(e)||this.set(e,r(e)),this.get(e)}set(e,r){var i=o(this,ve),s=i.get(e),a=super.get(e),u=super.set(e,r),d=o(this,re);if(s===void 0)s=E(this,de,Pr).call(this,0),Cn&&Un(s,`SvelteMap get(${Oo(e)})`),i.set(e,s),P(o(this,be),super.size),Cr(d);else if(a!==r){Cr(s);var g=d.reactions===null?null:new Set(d.reactions),m=g===null||!s.reactions?.every(h=>g.has(h));m&&Cr(d)}return u}delete(e){var r=o(this,ve),i=r.get(e),s=super.delete(e);return i!==void 0&&(r.delete(e),P(i,-1)),s&&(P(o(this,be),super.size),Cr(o(this,re))),s}clear(){if(super.size!==0){super.clear();var e=o(this,ve);P(o(this,be),0);for(var r of e.values())P(r,-1);Cr(o(this,re)),e.clear()}}keys(){return f(o(this,re)),super.keys()}values(){return E(this,de,Po).call(this),super.values()}entries(){return E(this,de,Po).call(this),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return f(o(this,be)),super.size}};ve=new WeakMap,re=new WeakMap,be=new WeakMap,Qo=new WeakMap,de=new WeakSet,Pr=function(e){return Iu===o(this,Qo)?Y(e):id(e)},Po=function(){f(o(this,re));var e=o(this,ve);if(o(this,be).v!==e.size){for(var r of Eu(su.prototype,this,"keys").call(this))if(!e.has(r)){var i=E(this,de,Pr).call(this,0);Cn&&Un(i,`SvelteMap get(${Oo(r)})`),e.set(r,i)}}for([,i]of o(this,ve))f(i)};let ia=su;function Td(n){return typeof n=="function"}function vo(n){return n!==null&&typeof n=="object"}const Sd=["string","number","bigint","boolean"];function oa(n){return n==null||Sd.includes(typeof n)?!0:Array.isArray(n)?n.every(t=>oa(t)):typeof n=="object"?Object.getPrototypeOf(n)===Object.prototype:!1}const pr=Symbol("box"),_s=Symbol("is-writable");function W(n,t){const e=M(n);return t?{[pr]:!0,[_s]:!0,get current(){return f(e)},set current(r){t(r)}}:{[pr]:!0,get current(){return n()}}}function bo(n){return vo(n)&&pr in n}function Ra(n){return bo(n)&&_s in n}function yl(n){return bo(n)?n:Td(n)?W(n):Zt(n)}function Ad(n){return Object.entries(n).reduce((t,[e,r])=>bo(r)?(Ra(r)?Object.defineProperty(t,e,{get(){return r.current},set(i){r.current=i}}):Object.defineProperty(t,e,{get(){return r.current}}),t):Object.assign(t,{[e]:r}),{})}function Pd(n){return Ra(n)?{[pr]:!0,get current(){return n.current}}:n}function Zt(n){let t=Y(Ln(n));return{[pr]:!0,[_s]:!0,get current(){return f(t)},set current(e){P(t,e,!0)}}}function Vn(n){let t=Y(Ln(n));return{[pr]:!0,[_s]:!0,get current(){return f(t)},set current(e){P(t,e,!0)}}}Vn.from=yl;Vn.with=W;Vn.flatten=Ad;Vn.readonly=Pd;Vn.isBox=bo;Vn.isWritableBox=Ra;function wl(...n){return function(t){for(const e of n)if(e){if(t.defaultPrevented)return;typeof e=="function"?e.call(this,t):e.current?.call(this,t)}}}var Fu=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Ed=/\n/g,Id=/^\s*/,Fd=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Dd=/^:\s*/,Md=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,kd=/^[;\s]*/,Nd=/^\s+|\s+$/g,_d=`
|
|
2
2
|
`,Du="/",Mu="*",On="",Bd="comment",Ld="declaration";function Wd(n,t){if(typeof n!="string")throw new TypeError("First argument must be a string");if(!n)return[];t=t||{};var e=1,r=1;function i(x){var b=x.match(Ed);b&&(e+=b.length);var A=x.lastIndexOf(_d);r=~A?x.length-A:r+x.length}function s(){var x={line:e,column:r};return function(b){return b.position=new a(x),g(),b}}function a(x){this.start=x,this.end={line:e,column:r},this.source=t.source}a.prototype.content=n;function u(x){var b=new Error(t.source+":"+e+":"+r+": "+x);if(b.reason=x,b.filename=t.source,b.line=e,b.column=r,b.source=n,!t.silent)throw b}function d(x){var b=x.exec(n);if(b){var A=b[0];return i(A),n=n.slice(A.length),b}}function g(){d(Id)}function m(x){var b;for(x=x||[];b=h();)b!==!1&&x.push(b);return x}function h(){var x=s();if(!(Du!=n.charAt(0)||Mu!=n.charAt(1))){for(var b=2;On!=n.charAt(b)&&(Mu!=n.charAt(b)||Du!=n.charAt(b+1));)++b;if(b+=2,On===n.charAt(b-1))return u("End of comment missing");var A=n.slice(2,b-2);return r+=2,i(A),n=n.slice(b),r+=2,x({type:Bd,comment:A})}}function v(){var x=s(),b=d(Fd);if(b){if(h(),!d(Dd))return u("property missing ':'");var A=d(Md),D=x({type:Ld,property:ku(b[0].replace(Fu,On)),value:A?ku(A[0].replace(Fu,On)):On});return d(kd),D}}function y(){var x=[];m(x);for(var b;b=v();)b!==!1&&(x.push(b),m(x));return x}return g(),y()}function ku(n){return n?n.replace(Nd,On):On}function Kd(n,t){let e=null;if(!n||typeof n!="string")return e;const r=Wd(n),i=typeof t=="function";return r.forEach(s=>{if(s.type!=="declaration")return;const{property:a,value:u}=s;i?t(a,u,s):u&&(e=e||{},e[a]=u)}),e}const Hd=/\d/,Rd=["-","_","/","."];function Vd(n=""){if(!Hd.test(n))return n!==n.toLowerCase()}function zd(n){const t=[];let e="",r,i;for(const s of n){const a=Rd.includes(s);if(a===!0){t.push(e),e="",r=void 0;continue}const u=Vd(s);if(i===!1){if(r===!1&&u===!0){t.push(e),e=s,r=u;continue}if(r===!0&&u===!1&&e.length>1){const d=e.at(-1);t.push(e.slice(0,Math.max(0,e.length-1))),e=d+s,r=u;continue}}e+=s,r=u,i=a}return t.push(e),t}function xl(n){return n?zd(n).map(t=>jd(t)).join(""):""}function Ud(n){return Yd(xl(n||""))}function jd(n){return n?n[0].toUpperCase()+n.slice(1):""}function Yd(n){return n?n[0].toLowerCase()+n.slice(1):""}function Er(n){if(!n)return{};const t={};function e(r,i){if(r.startsWith("-moz-")||r.startsWith("-webkit-")||r.startsWith("-ms-")||r.startsWith("-o-")){t[xl(r)]=i;return}if(r.startsWith("--")){t[r]=i;return}t[Ud(r)]=i}return Kd(n,e),t}function Xn(...n){return(...t)=>{for(const e of n)typeof e=="function"&&e(...t)}}function Xd(n,t){const e=RegExp(n,"g");return r=>{if(typeof r!="string")throw new TypeError(`expected an argument of type string, but got ${typeof r}`);return r.match(e)?r.replace(e,t):r}}const Gd=Xd(/[A-Z]/,n=>`-${n.toLowerCase()}`);function qd(n){if(!n||typeof n!="object"||Array.isArray(n))throw new TypeError(`expected an argument of type object, but got ${typeof n}`);return Object.keys(n).map(t=>`${Gd(t)}: ${n[t]};`).join(`
|
|
3
3
|
`)}function Cl(n={}){return qd(n).replace(`
|
|
4
4
|
`," ")}const Zd=["onabort","onanimationcancel","onanimationend","onanimationiteration","onanimationstart","onauxclick","onbeforeinput","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncompositionend","oncompositionstart","oncompositionupdate","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onfocusin","onfocusout","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onselectionchange","onselectstart","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitioncancel","ontransitionend","ontransitionrun","ontransitionstart","onvolumechange","onwaiting","onwebkitanimationend","onwebkitanimationiteration","onwebkitanimationstart","onwebkittransitionend","onwheel"],Jd=new Set(Zd);function Qd(n){return Jd.has(n)}function Te(...n){const t={...n[0]};for(let e=1;e<n.length;e++){const r=n[e];if(r){for(const i of Object.keys(r)){const s=t[i],a=r[i],u=typeof s=="function",d=typeof a=="function";if(u&&Qd(i)){const g=s,m=a;t[i]=wl(g,m)}else if(u&&d)t[i]=Xn(s,a);else if(i==="class"){const g=oa(s),m=oa(a);g&&m?t[i]=Gs(s,a):g?t[i]=Gs(s):m&&(t[i]=Gs(a))}else if(i==="style"){const g=typeof s=="object",m=typeof a=="object",h=typeof s=="string",v=typeof a=="string";if(g&&m)t[i]={...s,...a};else if(g&&v){const y=Er(a);t[i]={...s,...y}}else if(h&&m){const y=Er(s);t[i]={...y,...a}}else if(h&&v){const y=Er(s),x=Er(a);t[i]={...y,...x}}else g?t[i]=s:m?t[i]=a:h?t[i]=s:v&&(t[i]=a)}else t[i]=a!==void 0?a:s}for(const i of Object.getOwnPropertySymbols(r)){const s=t[i],a=r[i];t[i]=a!==void 0?a:s}}}return typeof t.style=="object"&&(t.style=Cl(t.style).replaceAll(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as B,bo as f,bw as T,bq as W,b as j,bm as q,bs as z}from"./CLAmm_T1.js";import{bs as D,cd as L,ca as O,a7 as E,ay as F,W as d,bn as G,aA as h,aD as t,c9 as r,a5 as H,bl as J,bA as K,b_ as M,bO as N,aB as Q}from"./3SdAC2_C.js";import{i as R}from"./BFgvMDua.js";import{C as U}from"./
|
|
1
|
+
import{t as B,bo as f,bw as T,bq as W,b as j,bm as q,bs as z}from"./CLAmm_T1.js";import{bs as D,cd as L,ca as O,a7 as E,ay as F,W as d,bn as G,aA as h,aD as t,c9 as r,a5 as H,bl as J,bA as K,b_ as M,bO as N,aB as Q}from"./3SdAC2_C.js";import{i as R}from"./BFgvMDua.js";import{C as U}from"./ChXsVZci.js";import{dI as V}from"./C2UL5Ler.js";import{i as X}from"./H2jLkRRS.js";var Y=Q('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p></div>');function Z(c,o){if(new.target)return B({component:Z,...c});D(o,!0);const l=()=>z(b,"$workspace",m),[m,u]=W();let s=f(o,"tab",7),n=f(o,"workspaceId",7);const i=L(n());O(()=>{i.set(n())});const b=V(i),_=r(()=>l()?.worktreePath||l()?.repositoryPath||""),g=r(()=>s().data?.changes||[]),v=r(()=>s().data?.isAggregate||!1),w=r(()=>s().data?.agentId),k=r(()=>t(g).map(e=>{const a=e.filePath&&X(e.filePath)?e.filePath:`${t(_)}/${e.filePath}`;return{...e,filePath:a}}));var C={get tab(){return s()},set tab(e){s(e),h()},get workspaceId(){return n()},set workspaceId(e){n(e),h()},$set:T,$on:(e,a)=>j(o,e,a)},p=E(),y=F(p);{var I=e=>{U(e,{isLoading:!1,get changes(){return t(k)},get isAggregate(){return t(v)},get agentId(){return t(w)},showStagingControls:!0})},P=e=>{var a=Y(),A=H(a),$=J(A,!0);K(a),M(S=>N($,S),[()=>q.layout_chatChanges_noChanges_label()]),d(e,a)};R(y,e=>{t(g).length>0?e(I):e(P,-1)})}d(c,p);var x=G(C);return u(),x}export{Z as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l}from"./B5aYN90J.js";import{H as i,s as c,b0 as s}from"./
|
|
1
|
+
import{a as l}from"./B5aYN90J.js";import{H as i,s as c,b0 as s}from"./B9vHutcJ.js";async function b(e){if(!e)throw new Error("Missing required parameter: url");let o;try{o=new URL(e)}catch{throw new Error(`Invalid external URL: ${e}`)}if(!l.EXTERNAL.includes(o.protocol)&&!l.EXTERNAL_EXACT.includes(e))throw new Error(`Refusing to open URL externally (scheme not allowed): ${o.protocol}`);if(typeof window>"u")throw new Error("Unable to open external URL outside a window context");const r=window.electronAPI;if(r&&typeof r.invoke=="function")try{const a=await r.invoke("shell:openExternal",{url:e});if(a&&a.success===!0)return}catch{}const t=window.open(e,"_blank");if(t){t.opener=null;return}const n=document.createElement("a");n.href=e,n.target="_blank",n.rel="noopener noreferrer",document.body.appendChild(n),n.click(),n.remove()}const p={blue:"bg-blue-600 dark:bg-blue-400",indigo:"bg-indigo-600 dark:bg-indigo-400",violet:"bg-violet-600 dark:bg-violet-400",rose:"bg-rose-600 dark:bg-rose-400",orange:"bg-orange-600 dark:bg-orange-400",emerald:"bg-emerald-600 dark:bg-emerald-400",teal:"bg-teal-600 dark:bg-teal-400"},d={blue:"var(--color-blue-500)",indigo:"var(--color-indigo-500)",violet:"var(--color-violet-500)",rose:"var(--color-rose-500)",orange:"var(--color-orange-500)",emerald:"var(--color-emerald-500)",teal:"var(--color-teal-500)"};function g(e){return e===void 0?i:e}function f(e){return[null,...c.filter(o=>s.includes(o)||o===e)]}function C(e,o){const r=g(e);return o||r===null?"transparent":`color-mix(in srgb, ${d[r]} 7%, transparent)`}function N(e,o){const r=C(e,o);return r==="transparent"?void 0:`linear-gradient(${r} 0 0)`}export{p as C,d as a,N as b,f as c,C as d,b as o,g as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var g=Object.defineProperty;var v=(h,e,s)=>e in h?g(h,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):h[e]=s;var a=(h,e,s)=>v(h,typeof e!="symbol"?e+"":e,s);import{p as c}from"./yofTuS8P.js";import{applyCustomMonacoTheme as f,revertMonacoTheme as I}from"./BjE6fvlI.js";import{d as y}from"./B0Z-1lwJ.js";import{
|
|
1
|
+
var g=Object.defineProperty;var v=(h,e,s)=>e in h?g(h,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):h[e]=s;var a=(h,e,s)=>v(h,typeof e!="symbol"?e+"":e,s);import{p as c}from"./yofTuS8P.js";import{applyCustomMonacoTheme as f,revertMonacoTheme as I}from"./BjE6fvlI.js";import{d as y}from"./B0Z-1lwJ.js";import{CA as r}from"./B9vHutcJ.js";const u="custom-vscode-theme",l="theme-preset-id",d="theme-preset-set",o=typeof window<"u",n=class n{constructor(){a(this,"currentTheme","system");a(this,"fixedDarkAppearance",o&&["dock","dock-annotation","dock-capture-editor"].includes(document.documentElement.dataset.auxiliaryWindow??""));a(this,"mediaQuery",null);a(this,"customTheme",null);a(this,"presetDarkTheme",null);a(this,"presetLightTheme",null);a(this,"appliedCSSVariableKeys",[]);a(this,"activePresetId",null);a(this,"handleSystemThemeChange",()=>{this.currentTheme==="system"&&this.applyTheme()});o&&(this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.loadTheme(),this.setupListeners())}static getInstance(){return n.instance||(n.instance=new n),n.instance}static resetInstance(){n.instance?.dispose(),n.instance=null}loadTheme(){const e=r.getItem("theme");e&&(this.currentTheme=e),this.activePresetId=r.getItem(l);const s=r.getItem(d);if(s)try{const{dark:t,light:i}=JSON.parse(s);this.presetDarkTheme=c(t),this.presetLightTheme=c(i)}catch{r.removeItem(d),this.activePresetId=null,r.removeItem(l)}if(!this.presetDarkTheme){const t=r.getItem(u);if(t)try{const i=JSON.parse(t);this.customTheme=c(i)}catch{r.removeItem(u),this.activePresetId=null,r.removeItem(l)}}this.applyTheme()}setupListeners(){this.mediaQuery&&this.mediaQuery.addEventListener("change",this.handleSystemThemeChange)}dispose(){this.mediaQuery?.removeEventListener("change",this.handleSystemThemeChange),this.mediaQuery=null}setTheme(e,s={}){if(!o)return;const{persist:t=!0}=s;this.currentTheme=e,t&&r.setItem("theme",e),this.applyTheme()}getTheme(){return this.currentTheme}setCustomTheme(e){if(!o)return;const s=c(e);this.customTheme=s,this.activePresetId=null,this.presetDarkTheme=null,this.presetLightTheme=null,r.removeItem(l),r.removeItem(d),r.setJSON(u,e),this.applyTheme()}setPresetTheme(e,s,t){o&&(this.presetDarkTheme=c(s),this.presetLightTheme=c(t),this.activePresetId=e,this.customTheme=null,r.removeItem(u),r.setItem(l,e),r.setJSON(d,{dark:s,light:t}),this.applyTheme())}clearCustomTheme(){o&&(this.customTheme=null,this.presetDarkTheme=null,this.presetLightTheme=null,this.activePresetId=null,r.removeItem(u),r.removeItem(l),r.removeItem(d),this.removeCSSVariableOverrides(),this.applyTheme())}hasCustomTheme(){return this.getActiveTheme()!==null}getCustomThemeName(){return this.getActiveTheme()?.name??null}getActivePresetId(){return this.activePresetId}resolveIsDark(){if(this.fixedDarkAppearance)return!0;const e=this.mediaQuery?.matches??!1;return this.currentTheme==="system"?e:this.currentTheme==="dark"}getActiveTheme(){return this.presetDarkTheme&&this.presetLightTheme?this.resolveIsDark()?this.presetDarkTheme:this.presetLightTheme:this.fixedDarkAppearance&&this.customTheme?.type==="light"?null:this.customTheme}applyTheme(){if(!o)return;const e=document.documentElement,s=this.mediaQuery?.matches??!1,t=this.getActiveTheme(),i=this.isDark();e.classList.remove("dark","light"),e.classList.add(i?"dark":"light"),e.style.setProperty("color-scheme",i?"dark":"light"),t?this.applyCSSVariableOverrides(t.cssVariables):this.removeCSSVariableOverrides(),i&&!s&&!t?e.setAttribute("data-theme-override","true"):e.removeAttribute("data-theme-override");const p=document.querySelector('meta[name="theme-color"]');p&&p.setAttribute("content",i?"#0a0a0a":"#ffffff"),t?f(t.monacoTheme):I(i),y("theme-changed",{theme:this.currentTheme,isDark:i,customThemeName:t?.name??null,activePresetId:this.activePresetId,terminalColors:t?.terminalColors??null})}applyCSSVariableOverrides(e){const s=document.documentElement;this.removeCSSVariableOverrides();const t=[];for(const[i,T]of Object.entries(e))s.style.setProperty(i,T),t.push(i);this.appliedCSSVariableKeys=t}removeCSSVariableOverrides(){const e=document.documentElement;for(const s of this.appliedCSSVariableKeys)e.style.removeProperty(s);this.appliedCSSVariableKeys=[]}toggleTheme(){if(!o)return;const e=["light","dark","system"],t=(e.indexOf(this.currentTheme)+1)%e.length;this.setTheme(e[t])}isDark(){return this.fixedDarkAppearance?!0:this.customTheme?this.customTheme.type==="dark":this.resolveIsDark()}};a(n,"instance",null);let m=n;const E={setTheme:(...h)=>m.getInstance().setTheme(...h),getTheme:()=>m.getInstance().getTheme(),setCustomTheme:(...h)=>m.getInstance().setCustomTheme(...h),setPresetTheme:(...h)=>m.getInstance().setPresetTheme(...h),clearCustomTheme:()=>m.getInstance().clearCustomTheme(),hasCustomTheme:()=>m.getInstance().hasCustomTheme(),getCustomThemeName:()=>m.getInstance().getCustomThemeName(),getActivePresetId:()=>m.getInstance().getActivePresetId(),toggleTheme:()=>m.getInstance().toggleTheme(),isDark:()=>m.getInstance().isDark()};export{m as T,E as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ao as s}from"./3SdAC2_C.js";import{
|
|
1
|
+
import{ao as s}from"./3SdAC2_C.js";import{c as r}from"./tqn1yslZ.js";const t=()=>{const e=r;return{page:{subscribe:e.page.subscribe},navigating:{subscribe:e.navigating.subscribe},updated:e.updated}},c={subscribe(e){return(s?o("page"):t().page).subscribe(e)}};function o(e){try{return t()[e]}catch{throw new Error(`Cannot subscribe to '${e}' store on the server outside of a Svelte component, as it is bound to the current request via component context. This prevents state from leaking between users.For more information, see https://svelte.dev/docs/kit/state-management#avoid-shared-state-on-the-server`)}}export{c as p};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as p,r as u,d as n}from"./
|
|
1
|
+
import{g as p,r as u,d as n}from"./DlWizs9I.js";import{p as f}from"./DaQPP3_d.js";import{b as a,ay as o}from"./Cu11OjbU.js";import{M as c,c as d}from"./nIshZjK_.js";var v=d().RailroadAbnf.parser.LangiumParser,i=a(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=a(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=a(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=a(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=a(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=a(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=a(e=>{f(e,n),e.title&&n.setTitle(e.title),e.rules.map(r=>n.addRule(P(r)))},"populateDb"),R={parse:a(e=>{n.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:n}},w={parser:R,db:n,renderer:u,styles:p};export{w as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h8 as O,gQ as
|
|
1
|
+
import{h8 as O,gQ as U,JV as B,KJ as H,DG as V,u6 as j,v3 as q,B9 as K,Ba as N,JT as Q,JU as z,Bb as X}from"./B9vHutcJ.js";import{selectWorkspaceTabOrder as f,selectCurrentWorkspaceTabId as S,selectLastClosedWorkspaceTab as Y}from"./aZdb_rCN.js";import{i as Z,q as M,b as ee,j as te,l as ae}from"./BPQFiQQc.js";import{g as ne}from"./BfnPC1r8.js";import{bm as l}from"./CLAmm_T1.js";import{z as oe,S as y}from"./TB9r2XJy.js";import{B as h,S as C,Q as ce}from"./Bqd7fdCF.js";import{al as le,aj as E}from"./BkqNdsh1.js";import{g as se}from"./BsY6roFy.js";function A(e,a){const n=f.select(e.state),o=S.select(e.state);if(!o)return null;const c=n.indexOf(o),s=c+(a==="left"?-1:1),p=n[s];return c<0||!p?null:(e.dispatch(j(o,p,a==="left"?"before":"after")),o)}function P(e){const a=S.select(e);return a&&f.select(e).includes(a)?a:null}function m(e,a,n){const o=P(e.state),c=o?`/workspace/${o}`:ne(e.state);return a!==c&&n(c),o}function ie(e,a,n,o){return e.dispatch(O(a)),m(e,n,o),a}function I(e,a){const o=a.match(/^\/workspace\/([^/]+)/)?.[1];return o?o==="new"?null:o:null}function R(e,a,n,o){if(n==="/")return D(e,a==="next"?0:"last",n,o);e.dispatch(a==="next"?Q():z());const c=S.select(e.state);if(!c)return null;const s=`/workspace/${c}`;return n!==s&&o(s),c}function re(e,a,n){const o=I(e,a);return o?ie(e,o,a,n):null}function pe(e,a,n){const o=I(e,a);if(!o)return null;const c=Z.select(e.state,o);if(!c)return null;const s=c.tabs.find(v=>v.id===c.activeTabId),p=c.tabs.length===0&&c.activeTabId===null,T=M.select(e.state,o)>1&&(p||c.tabs.length===1&&s!==void 0&&s.closable!==!1);if((!s||s.closable===!1)&&!T)return null;const g=n??se(o)?.availableCanvasWidth??void 0;return e.dispatch(U(o,void 0,g)),s?.id??c.id}function ue(e,a){const n=e.state.panelLayout.byWorkspaceId[a];return!n||n.restoreStatus==="pending"?!1:ee.select(e.state,a).length===0}function de(e,a,n){P(e.state)||e.dispatch(B(0)),m(e,a,n)}function L(e,a,{navigate:n,closeWindow:o}){return o?(o(),"window"):(m(e,a,n),null)}function be(e,a,n){const o=I(e,a);return o?pe(e,a,n.availableCanvasWidth)!==null?"panel":ue(e,o)?(e.dispatch(O(o)),f.select(e.state).length>0?(de(e,a,n.navigate),"workspace"):L(e,a,n)??"workspace"):null:f.select(e.state).length>0?null:L(e,a,n)}function fe(e,a,n){return e.dispatch(X()),m(e,a,n)}function ke(e,a,n){const o=a.match(/^\/workspace\/([^/]+)/),c=o&&o[1]!=="new"?o[1]:null,s=Y.select(e.state),p=c?ae.select(e.state,c):null;return c&&p&&(!s||p.closedAt>=s.closedAt)?p.kind==="column"?(e.dispatch(K(c)),"column"):(e.dispatch(N(c)),p.kind):s?(fe(e,a,n),"workspace"):null}function we(e,a){const n=a.match(/^\/workspace\/([^/]+)/),o=n&&n[1]!=="new"?n[1]:null;if(!o)return null;const c=q(o);return e.dispatch(c),te.select(e.state,o)}function D(e,a,n,o){const c=f.select(e.state),s=a==="last"?c.length-1:a;return s<0||s>=c.length?null:(e.dispatch(B(s)),m(e,n,o))}function We({isMac:e,register:a,store:n,getCurrentPath:o,navigate:c,openNewWorkspace:s,getRailMachineIds:p,onCreateAgent:T,onCreateNote:g,onCreateTerminal:v,onCreateBrowser:G,onWorkspaceTabMoved:W,closeWindow:F,resolveBinding:_}){const r=e?{meta:!0}:{ctrl:!0},$=oe("TOGGLE_SIDEBAR",e),k=t=>()=>t(o()),J=t=>()=>{const i=o().match(/^\/workspace\/([^/]+)/);i?.[1]&&i[1]!=="new"&&t(i[1])},u=t=>_?{binding:()=>_(t)}:{},w=t=>_?.(t)??ce(t);a({...u("global.new-space"),...r,key:"n",global:!0,description:l.workspace_shortcuts_newSpace_description(),action:s}),a({...u("panel.toggle-sidebar"),...$,global:!0,description:y.TOGGLE_SIDEBAR.label,action:()=>n.dispatch(H())}),a({...u("navigation.new-tab"),...r,key:"t",global:!0,description:l.workspace_shortcuts_newPanel_description(),action:k(t=>we(n,t))});for(const[t,i,b,d]of[["workspace.new-agent","a",l.ui_shortcuts_newAgent_label(),T],["workspace.new-note","n",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_note_label()}),g],["workspace.new-terminal","t",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_terminal_label()}),v],["workspace.new-browser","b",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_browser_label()}),G]])d&&a({...u(t),...r,key:i,alt:!0,global:!0,allowInTerminal:!0,description:b,action:J(d)});a({...u("navigation.close-tab"),...r,key:"w",global:!0,description:l.workspace_shortcuts_closePanelTab_description(),action:k(t=>be(n,t,{navigate:c,closeWindow:F}))}),a({...u("navigation.close-space-tab"),...r,key:"w",shift:!0,global:!0,description:l.workspace_shortcuts_closeSpaceTab_description(),action:k(t=>re(n,t,c))}),a({...u("navigation.reopen-tab"),...r,key:"t",shift:!0,global:!0,description:l.workspace_shortcuts_reopenClosedTabOrSpace_description(),action:k(t=>ke(n,t,c))}),a({...u("navigation.move-space-tab-left"),...r,key:"ArrowLeft",alt:!0,shift:!0,global:!0,description:y.MOVE_SPACE_TAB_LEFT.label,action:()=>{const t=A(n,"left");t&&W?.({workspaceId:t,position:f.select(n.state).indexOf(t)+1})}}),a({...u("navigation.move-space-tab-right"),...r,key:"ArrowRight",alt:!0,shift:!0,global:!0,description:y.MOVE_SPACE_TAB_RIGHT.label,action:()=>{const t=A(n,"right");t&&W?.({workspaceId:t,position:f.select(n.state).indexOf(t)+1})}});for(const[t,i]of[["next",!1],["previous",!0]]){a({...u(t==="next"?"global.next-space":"global.previous-space"),key:"Tab",ctrl:!0,shift:i,global:!0,description:t==="next"?l.workspace_shortcuts_nextSpaceTab_description():l.workspace_shortcuts_previousSpaceTab_description(),action:k(d=>R(n,t,d,c))});const b=t==="next"?"global.next-space-alt":"global.previous-space-alt";a({...u(b),...r,key:t==="next"?"}":"{",shift:!0,global:!0,allowInTerminal:!0,preferLocal:!0,enabled:d=>!_||!h(b,d,_,e),description:t==="next"?l.workspace_shortcuts_nextSpaceTab_description():l.workspace_shortcuts_previousSpaceTab_description(),action:k(d=>R(n,t,d,c))})}const x=t=>{t===1?c("/"):D(n,t===9?"last":t-2,o(),c)};for(let t=1;t<=9;t++)a({...r,key:String(t),binding:()=>w("navigation.go-to-device").replace(/([1-8])-9$/,String(t)),global:!0,allowInTerminal:!0,enabled:i=>E.select(n.state)&&!h("navigation.go-to-device",i,w,e),description:l.machineRail_nav_ariaLabel(),action:()=>{const i=p?.()??le.select(n.state).map(d=>d.id),b=i[t===9?i.length-1:t-1];b&&n.dispatch(V(b))}});for(let t=1;t<=9;t++)a({...r,key:String(t),binding:()=>C["navigation.go-to-device"].replace(/([1-8])-9$/,String(t)),global:!0,allowInTerminal:!0,enabled:i=>!E.select(n.state)&&w("navigation.go-to-tab")===C["navigation.go-to-tab"]&&!h("navigation.go-to-device",i,w,e),description:l.ui_shortcuts_goToTab_label(),action:()=>x(t)});for(let t=1;t<=9;t++)a({binding:()=>w("navigation.go-to-tab").replace(/([1-8])-9$/,String(t)),...r,alt:!0,key:String(t),global:!0,allowInTerminal:!0,enabled:i=>!h("navigation.go-to-tab",i,w,e),description:t===1?l.home_navigation_description():t===9?l.workspace_shortcuts_selectLastSpaceTab_description():l.workspace_shortcuts_selectSpaceTab_description({digit:t}),action:()=>x(t)})}export{be as c,We as r};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{bm as b,_ as x}from"./CLAmm_T1.js";import{m as f,
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/KZwZoyIt.js","/app/immutable/chunks/96V4v2iI.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/CLAmm_T1.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/BFgvMDua.js","/app/immutable/chunks/CcJmuwXr.js","/app/immutable/chunks/BwNrQXlF.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/nxtepGjE.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/B1CKzIA2.js","/app/immutable/chunks/TB9r2XJy.js","/app/immutable/chunks/UTM5G-w-.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BwH4Bvte.js","/app/immutable/chunks/CIbfGsF-.js","/app/immutable/chunks/Cu5e4npY.js","/app/immutable/chunks/BbYWP3Ow.js","/app/immutable/chunks/B9vHutcJ.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BBFoj-dS.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/DPttSllj.js","/app/immutable/chunks/CfNIzRu8.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/kzuAnGps.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BbhtQrkZ.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/_UjuBCOJ.js","/app/immutable/chunks/C2UL5Ler.js","/app/immutable/chunks/BGrimfDs.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/DWt5yjbU.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/Bc1CpNLz.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{bm as b,_ as x}from"./CLAmm_T1.js";import{m as f,JH as a,dp as P,I2 as S,zr as N,Gd as R,vV as q,r9 as W,vt as H,LM as U}from"./B9vHutcJ.js";import{f as I}from"./BbhtQrkZ.js";import{E as V}from"./TB9r2XJy.js";import{parseIntentLink as j}from"./C1_cc_jh.js";import{m as y}from"./96V4v2iI.js";import"./3SdAC2_C.js";import"./CcJmuwXr.js";import"./BwNrQXlF.js";import"./ChTqQfQN.js";import"./BbYWP3Ow.js";import{x as B,k as C,w as L}from"./BPQFiQQc.js";import{dI as D}from"./C2UL5Ler.js";import{q as M,p as z,j as $}from"./uvhZkGDU.js";const p="assistant-content",G=a.createSelector(t=>{const r=M.select(t),s=z.select(t),e=$.select(t).find(i=>i.agentId===s)??r.find(i=>i.isActive)??r.find(i=>i.messageCount>0)??r[0];return P(e?.agentId??null)}),O=new Map;function J(t,r=!1){const s=O.get(t)??{explicit:0,background:0},e={explicit:s.explicit+(r?0:1),background:s.background+(r?1:0)};return O.set(t,e),r?e:{explicit:e.explicit}}function k(t,r){const s=O.get(t);return s!==void 0&&r.explicit===s.explicit&&(r.background===void 0||r.background===s.background)}async function K(t){a.dispatch(q(t)),L.select(a.state,t).restoreStatus==="pending"&&await new Promise(r=>{const s=L.withStore(a)(t).subscribe(e=>{e.restoreStatus!=="pending"&&(r(),queueMicrotask(()=>s()))})})}function _(t,r,s){const e=L.select(a.state,s);if(!e.panels[p]||Object.keys(e.panels).some(i=>i!==p)){const i=e.panels[p],d=Object.values(e.panels).flatMap(n=>n.tabs.filter(o=>o.type!=="agent"||o.workspaceId!==f)),c=d.some(n=>n.id===i?.activeTabId)?i?.activeTabId??null:d.at(-1)?.id??null;a.dispatch(W(s,{root:{type:"panel",panelId:p},panels:{[p]:{id:p,tabs:d,activeTabId:c}},focusedPanelId:e.focusedPanelId===p?p:null,hiddenTabs:C.select(a.state,s)}))}a.dispatch(H(s,t,p,void 0,!0,void 0,!1,r.background||r.preserveFocus,void 0,r.background))}async function de(t,r={}){try{return await Q(t,r)}catch(s){return y.error(b.ui_linkHandler_notFound_title(),{description:s instanceof Error?s.message:String(s)}),!0}}async function Q(t,r){const s=/^intent:\/\/local\/([^/?#]+)\/agent\/([^/?#]+)$/.exec(t),e=t.startsWith("intent://")?j(t):null,i=e?.valid&&e.type==="workspace"?[t,e.resourceId]:/^\/workspace\/([^/?#]+)\/?$/.exec(t),d=/^https?:\/\//.test(t)&&!V(t);if(!i&&!s&&!d&&!(e?.valid&&["file","message","note","task"].includes(e.type))||i&&[f,"new"].includes(i[1]))return!1;const c=M.select(a.state),n=r.agentId?P(r.agentId):r.background?c.length===1?P(c[0].agentId):null:r.layoutId??G.select(a.state);if(!n)return!0;const o=J(n,r.background);if(await K(n),!k(n,o))return!0;if(i){const u=i[1],g=await I.workspaces.get(u);return k(n,o)?g?(a.dispatch(S(g)),_({type:"workspace",title:g.title,workspaceId:u,closable:!0},r,n),!0):(y.error(b.workspace_loader_notFound_title()),!0):!0}if(s)return T(s[1],s[2],r,n,o);if(d){const{resolveBrowserLinkForOpen:u}=await x(async()=>{const{resolveBrowserLinkForOpen:v}=await import("./KZwZoyIt.js").then(w=>w.b);return{resolveBrowserLinkForOpen:v}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]),import.meta.url),g=await u(t);return k(n,o)&&_({type:"browser",title:new URL(t).hostname,browserUrl:g.url,browserRequestedUrl:g.requestedUrl,workspaceId:f,closable:!0},r,n),!0}if(!e?.valid)return!1;const h=e.workspaceId??f;if(e.type==="file"){const u=await I.workspaces.get(h);return k(n,o)?u?(a.dispatch(S(u)),_({type:"file",title:e.resourceId.split("/").at(-1)??e.resourceId,filePath:e.resourceId,workspaceId:h,closable:!0,data:{line:e.line,filePathIsLiteral:!0}},r,n),!0):(y.error(b.workspace_loader_notFound_title()),!0):!0}if(e.type==="message"&&e.agentId)return T(h,e.agentId,r,n,o,e.resourceId);if(e.type!=="note"&&e.type!=="task")return!1;const l=e.workspaceId??f,[m,A]=await Promise.all([a.dispatch(N(l,e.resourceId)),Promise.resolve(D.select(a.state,l)??I.workspaces.get(l)).catch(()=>null)]);if(!k(n,o))return!0;if(!m||String(m.workspaceId)!==l)return y.error(b.ui_linkHandler_notFound_title(),{description:b.ui_linkHandler_noteNotFound_error({noteId:e.resourceId,workspaceId:l})}),!0;A&&String(A.id)===l&&a.dispatch(S(A));const E=Object.entries(B.select(a.state)).some(([u,g])=>{const v=w=>w.type==="note"&&w.noteId===String(m.id)&&(w.workspaceId??u)===l;return Object.values(g.panels).some(w=>w.tabs.some(v))||C.select(a.state,u).some(v)}),F=a.state.transientUi.byWorkspaceId[l]?.noteViewModeByNoteId[String(m.id)];return!E&&(!r.background||F===void 0)&&a.dispatch(R(l,String(m.id),"editor")),_({type:"note",title:m.title,noteId:String(m.id),workspaceId:l,closable:!0},r,n),!0}async function T(t,r,s,e,i,d){const c=await I.agents.get(r,t===f?void 0:t);t===f&&c&&(t=String(c.workspaceId));const n=t===f?null:await I.workspaces.get(t);if(!k(e,i))return!0;if(!n&&t!==f||!c||String(c.workspaceId)!==t)return y.error(b.ui_linkHandler_notFound_title()),!0;if(n&&a.dispatch(S(n)),a.dispatch(U(c)),_({type:"agent",title:c.name??r,agentId:r,workspaceId:t,closable:!0},s,e),d&&!s.background){const{openMessage:o}=await x(async()=>{const{openMessage:h}=await import("./kzuAnGps.js");return{openMessage:h}},__vite__mapDeps([32,33,34,35,4,5,21,22,23,24,3,8,25,15,2,13,14,7,9,16,36,37,38,39,27,17,6,12,40,19,41,42,43,44]),import.meta.url);o({workspaceId:t,agentId:r,messageId:d,contentAlreadyOpen:!0})}return!0}export{p as ASSISTANT_CONTENT_PANEL_ID,G as selectAssistantPanelLayoutId,de as showAssistantContent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as O,bo as n,bw as P,bp as U,b as j}from"./CLAmm_T1.js";import{bs as q,a5 as i,bS as u,bA as r,W as d,bn as F,aA as o,aB as v}from"./3SdAC2_C.js";import{i as b}from"./BFgvMDua.js";import{t as l}from"./BwNrQXlF.js";import{b as H,e as I}from"./CcJmuwXr.js";import"./DtzJzV-4.js";import{a as J}from"./
|
|
1
|
+
import{t as O,bo as n,bw as P,bp as U,b as j}from"./CLAmm_T1.js";import{bs as q,a5 as i,bS as u,bA as r,W as d,bn as F,aA as o,aB as v}from"./3SdAC2_C.js";import{i as b}from"./BFgvMDua.js";import{t as l}from"./BwNrQXlF.js";import{b as H,e as I}from"./CcJmuwXr.js";import"./DtzJzV-4.js";import{a as J}from"./BpMXdC4H.js";import{a_ as K}from"./nxtepGjE.js";var M=new Set(["$$slots","$$events","$$legacy","leading","title","description","meta","trailing","inset","class"]),Q=v('<div data-slot="list-row-leading" class="type-caption first-line-icon"><!></div>'),V=v('<div class="shrink-0 type-caption text-muted-foreground"><!></div>'),X=v('<div class="mt-0.5 min-w-0 type-caption text-muted-foreground"><!></div>'),Y=v('<div data-slot="list-row-trailing" class="type-caption first-line-icon gap-1"><!></div>'),Z=v('<div><!> <div class="min-w-0 flex-1"><div class="flex min-w-0 items-baseline gap-2"><div data-slot="list-row-title" class="min-w-0 truncate type-caption text-foreground"><!></div> <!></div> <!></div> <!></div>');function $(A,a){if(new.target)return O({component:$,...A});q(a,!0);let c=n(a,"leading",7),w=n(a,"title",7),m=n(a,"description",7),_=n(a,"meta",7),p=n(a,"trailing",7),g=n(a,"inset",7,!1),y=n(a,"class",7),L=U(a,M);const C=K();var k={get leading(){return c()},set leading(t){c(t),o()},get title(){return w()},set title(t){w(t),o()},get description(){return m()},set description(t){m(t),o()},get meta(){return _()},set meta(t){_(t),o()},get trailing(){return p()},set trailing(t){p(t),o()},get inset(){return g()},set inset(t=!1){g(t),o()},get class(){return y()},set class(t){y(t),o()},$set:P,$on:(t,e)=>j(a,t,e)},f=Z();H(f,t=>({"data-slot":"list-row","data-density":C,"data-inset":g()?"card":void 0,class:t,...L}),[()=>I("flex min-w-0 items-start gap-3",g()?J:"px-3",C==="compact"?"min-h-9 py-1.5":"min-h-12 py-2.5",y())]);var R=i(f);{var T=t=>{var e=Q(),s=i(e);l(s,c),r(e),d(t,e)};b(R,t=>{c()&&t(T)})}var x=u(R,2),h=i(x),S=i(h),W=i(S);l(W,w),r(S);var z=u(S,2);{var B=t=>{var e=V(),s=i(e);l(s,_),r(e),d(t,e)};b(z,t=>{_()&&t(B)})}r(h);var D=u(h,2);{var E=t=>{var e=X(),s=i(e);l(s,m),r(e),d(t,e)};b(D,t=>{m()&&t(E)})}r(x);var G=u(x,2);{var N=t=>{var e=Y(),s=i(e);l(s,p),r(e),d(t,e)};b(G,t=>{p()&&t(N)})}return r(f),d(A,f),F(k)}export{$ as L};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var ft=e=>{throw TypeError(e)};var nn=(e,t,n)=>t.has(e)||ft("Cannot "+n);var k=(e,t,n)=>(nn(e,t,"read from private field"),n?n.call(e):t.get(e)),x=(e,t,n)=>t.has(e)?ft("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);import{ao as R,cd as We,bk as ut,bV as U,aD as N,bH as C,c0 as Se,bX as rn,bP as on,c5 as an}from"./3SdAC2_C.js";const Lt=!0;class Xe{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Ze{constructor(t,n){try{new Headers({location:n})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(n)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=n}}class Ee extends Error{constructor(t,n,o){super(o),this.status=t,this.text=n}}new URL("sveltekit-internal://");function sn(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function cn(e){return e.split("%25").map(decodeURI).join("%25")}function ln(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function Ve({href:e}){return e.split("#")[0]}function q(){}function fn(...e){let t=5381;for(const n of e)if(typeof n=="string"){let o=n.length;for(;o;)t=t*33^n.charCodeAt(--o)}else if(ArrayBuffer.isView(n)){const o=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let r=o.length;for(;r;)t=t*33^o[--r]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;function un(e){const t=atob(e),n=new Uint8Array(t.length);for(let o=0;o<t.length;o++)n[o]=t.charCodeAt(o);return n}let dn=0;const dt=window.fetch;if(R&&Lt){let e=!1;(async()=>{e=new Error().stack.includes("check_stack_trace")})(),window.fetch=(n,o)=>{const r=n instanceof Request?n.url:n.toString(),i=new Error().stack.split(`
|
|
2
|
+
`),a=i.findIndex(g=>g.includes("load@")||g.includes("at load")),s=i.slice(0,a+2).join(`
|
|
3
|
+
`),c=e?s.includes("src/runtime/client/client.js"):dn,f=o?.__sveltekit_fetch__;return c&&!f&&console.warn(`Loading ${r} using \`window.fetch\`. For best results, use the \`fetch\` that is passed to your \`load\` function: https://svelte.dev/docs/kit/load#making-fetch-requests`),(n instanceof Request?n.method:o?.method||"GET")!=="GET"&&Q.delete(Oe(n)),dt(n,o)}}else window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&Q.delete(Oe(e)),dt(e,t));const Q=new Map;function hn(e,t){const n=Oe(e,t),o=document.querySelector(n);if(o?.textContent){o.remove();let{body:r,...i}=JSON.parse(o.textContent);o.getAttribute("data-b64")!==null&&(r=un(r));const s=o.getAttribute("data-ttl");return s&&Q.set(n,{body:r,init:i,ttl:1e3*Number(s)}),Promise.resolve(new Response(r,i))}return R?Pt(e,t):window.fetch(e,t)}function pn(e,t,n){if(Q.size>0){const o=Oe(e,n),r=Q.get(o);if(r){if(performance.now()<r.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(r.body,r.init);Q.delete(o)}}return R?Pt(t,n):window.fetch(t,n)}function Pt(e,t){const n={...t};return Object.defineProperty(n,"__sveltekit_fetch__",{value:!0,writable:!0,configurable:!0}),window.fetch(e,n)}function Oe(e,t){let o=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const r=[];t.headers&&r.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&r.push(t.body),o+=`[data-hash="${fn(...r)}"]`}return o}const gn=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,_n=/^\/\((?:[^)]+)\)$/;function yn(e){const t=[];return{pattern:e==="/"||_n.test(e)?/^\/$/:new RegExp(`^${wn(e).map(o=>{const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(o);if(r)return t.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(o);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!o)return;const a=o.split(/\[(.+?)\](?!\])/);return"/"+a.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return qe(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return qe(String.fromCharCode(...c.slice(2).split("-").map(m=>parseInt(m,16))));const u=gn.exec(c),[,g,d,h,p]=u;return t.push({name:h,matcher:p,optional:!!g,rest:!!d,chained:d?f===1&&a[0]==="":!1}),d?"([^]*?)":g?"([^/]*)?":"([^/]+?)"}return qe(c)}).join("")}).join("")}/?$`),params:t}}function mn(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function wn(e){return e.slice(1).split("/").filter(mn)}function vn(e,t,n){const o={},r=e.slice(1),i=r.filter(s=>s!==void 0);let a=0;for(let s=0;s<t.length;s+=1){const c=t[s];let f=r[s-a];if(c.chained&&c.rest&&a&&(f=r.slice(s-a,s+1).filter(u=>u).join("/"),a=0),f===void 0)if(c.rest)f="";else continue;if(!c.matcher||n[c.matcher](f)){o[c.name]=f;const u=t[s+1],g=r[s+1];u&&!u.rest&&u.optional&&g&&c.chained&&(a=0),!u&&!g&&Object.keys(o).length===i.length&&(a=0);continue}if(c.optional&&c.chained){a++;continue}return}if(!a)return o}function qe(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function bn({nodes:e,server_loads:t,dictionary:n,matchers:o}){const r=new Set(t);return Object.entries(n).map(([s,[c,f,u]])=>{const{pattern:g,params:d}=yn(s),h={id:s,exec:p=>{const m=g.exec(p);if(m)return vn(m,d,o)},errors:[1,...u||[]].map(p=>e[p]),layouts:[0,...f||[]].map(a),leaf:i(c)};return h.errors.length=h.layouts.length=Math.max(h.errors.length,h.layouts.length),h});function i(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function a(s){return s===void 0?s:[r.has(s),e[s]]}}function jt(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function ht(e,t,n=JSON.stringify){const o=n(t);try{sessionStorage[e]=o}catch{}}const j=globalThis.__sveltekit_30w1ju?.base??"",kn=globalThis.__sveltekit_30w1ju?.assets??j??"",Sn="1795630315878",It="sveltekit:snapshot",xt="sveltekit:scroll",Qe="sveltekit:states",Ut="sveltekit:pageurl",G="sveltekit:history",ne="sveltekit:navigation",Y={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},xe=location.origin;function Ue(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function J(){return{x:pageXOffset,y:pageYOffset}}const pt=new WeakSet,gt={"preload-code":["","off","false","tap","hover","viewport","eager"],"preload-data":["","off","false","tap","hover"],keepfocus:["","true","off","false"],noscroll:["","true","off","false"],reload:["","true","off","false"],replacestate:["","true","off","false"]};function X(e,t){const n=e.getAttribute(`data-sveltekit-${t}`);return R&&En(e,t,n),n}function En(e,t,n){n!==null&&!pt.has(e)&&!gt[t].includes(n)&&(console.error(`Unexpected value for ${t} — should be one of ${gt[t].map(o=>JSON.stringify(o)).join(", ")}`,e),pt.add(e))}const _t={...Y,"":Y.hover};function Nt(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function Ct(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Nt(e)}}function He(e,t,n){let o;try{if(o=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&o.hash.match(/^#[^/]/)){const s=location.hash.split("#")[1]||"/";o.hash=`#${s}${o.hash}`}}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,i=!o||!!r||Ne(o,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),a=o?.origin===xe&&e.hasAttribute("download");return{url:o,external:i,target:r,download:a}}function $e(e){let t=null,n=null,o=null,r=null,i=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=X(s,"preload-code")),r===null&&(r=X(s,"preload-data")),t===null&&(t=X(s,"keepfocus")),n===null&&(n=X(s,"noscroll")),i===null&&(i=X(s,"reload")),a===null&&(a=X(s,"replacestate")),s=Nt(s);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:_t[o??"off"],preload_data:_t[r??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(a)}}function yt(e){const t=We(e);let n=!0;function o(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function i(a){let s;return t.subscribe(c=>{(s===void 0||n&&c!==s)&&a(s=c)})}return{notify:o,set:r,subscribe:i}}const Dt={v:q};function On(){const{set:e,subscribe:t}=We(!1);let n;async function o(){clearTimeout(n);try{const r=await fetch(`${kn}/app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==Sn;return a&&(e(!0),Dt.v(),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function Ne(e,t,n){return e.origin!==xe||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function Nr(e){}const Bt=-1,mt=-2,$n=-3,An=-4,Rn=-5,Mt=-6,Tn=-7,Ln=2**32-1,Pn=Ln-1;class H extends Error{constructor(t,n,o,r){super(t),this.name="DevalueError",this.path=n.join(""),this.value=o,this.root=r}}const jn=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function In(e){const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getPrototypeOf(t)===null||Object.getOwnPropertyNames(t).sort().join("\0")===jn}function xn(e){return Object.prototype.toString.call(e).slice(8,-1)}function Un(e){return typeof Buffer<"u"&&Buffer.isBuffer(e)}function Nn(e){switch(e){case'"':return'\\"';case"<":return"\\u003C";case"\\":return"\\\\";case`
|
|
4
|
+
`:return"\\n";case"\r":return"\\r";case" ":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return e<" "?`\\u${e.charCodeAt(0).toString(16).padStart(4,"0")}`:""}}function M(e){let t="",n=0;const o=e.length;for(let r=0;r<o;r+=1){const i=e[r],a=Nn(i);a&&(t+=e.slice(n,r)+a,n=r+1)}return`"${n===0?e:t+e.slice(n)}"`}function Cn(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)}const Dn=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function wt(e){return Dn.test(e)?"."+e:"["+JSON.stringify(e)+"]"}function Bn(e){return!(!Number.isInteger(e)||e<0||e>Pn)}function Mn(e){if(e.length===0||e.length>1&&e.charCodeAt(0)===48)return!1;for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n<48||n>57)return!1}return Bn(+e)}function Vn(e){for(var t=e.length-1;t>=0&&!Mn(e[t]);t--);return t+1}function qn(e){const t=Object.keys(e);return t.length=Vn(t),t}function Fn(e){return new Uint8Array(e).toBase64()}function zn(e){return Buffer.from(e).toString("base64")}function Hn(e){const t=new Uint8Array(e);let n="";const o=32768;for(let r=0;r<t.length;r+=o){const i=t.subarray(r,r+o);n+=String.fromCharCode.apply(null,i)}return btoa(n)}const Yn=typeof Uint8Array.fromBase64=="function",Gn=typeof process=="object"&&process.versions?.node!==void 0,Kn=Yn?Fn:Gn?zn:Hn;function Jn(e,t){return e}const Wn=Object.freeze({kind:"not-plain"}),Xn=Object.freeze({kind:"symbol-keys"}),Zn={identify:e=>e,typeOf:e=>e===null?"null":typeof e,toPrimitive:e=>e,tagOf:e=>xn(e),isThenable:e=>typeof e.then=="function",toPromise:e=>Promise.resolve(e),unbox:e=>e.valueOf(),toISOString:e=>isNaN(e.getDate())?"":e.toISOString(),toStringValue:e=>e.toString(),regExpInfo:e=>({source:e.source,flags:e.flags}),valuesOf:e=>e,entriesOf:e=>e,viewInfo:e=>(Un(e)&&(e=new Uint8Array(e)),{buffer:e.buffer,byteOffset:e.byteOffset,byteLength:e.byteLength,length:e.length,bufferByteLength:e.buffer.byteLength}),toArrayBuffer:e=>e,lengthOf:e=>e.length,hasOwn:(e,t)=>Object.hasOwn(e,t),indicesOf:e=>qn(e),shapeOf:e=>In(e)?Cn(e).length>0?Xn:{kind:Object.getPrototypeOf(e)===null?"null-proto":"plain",keys:Object.keys(e)}:Wn,get:(e,t)=>e[t]},Qn=Object.freeze(Zn);Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get;typeof SharedArrayBuffer>"u"||Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,"byteLength").get;function er(e,t,n){const o=tr(!1,e);return typeof o=="string"?o:`[${o.join(",")}]`}function tr(e,t,n,o){const r=Jn(Qn),i=[],a=new Map,s=[],c=[];let f=0;function u(d,h){const p=r.typeOf(d);if(p==="undefined")return Bt;let m;if(p==="number"){if(m=r.toPrimitive(d),Number.isNaN(m))return $n;if(m===1/0)return An;if(m===-1/0)return Rn;if(m===0&&1/m<0)return Mt}const _=r.identify(d);if(a.has(_))return a.get(_);h??=f++,a.set(_,h);for(const{key:b,fn:E}of s){const T=E(d);if(T)return i[h]=`["${b}",${u(T)}]`,h}if(p==="function")throw new H("Cannot stringify a function",c,d,t);if(p==="symbol")throw new H("Cannot stringify a Symbol primitive",c,d,t);let l="";if(p!=="object")l=vt(p==="number"?m:r.toPrimitive(d));else{if(r.isThenable(d))throw new H("Cannot stringify a Promise or thenable — use stringifyAsync instead",c,d,t);{const b=r.tagOf(d);switch(b){case"Number":case"String":case"Boolean":case"BigInt":l=`["Object",${u(r.unbox(d))}]`;break;case"Date":l=`["Date","${r.toISOString(d)}"]`;break;case"URL":l=`["URL",${M(r.toStringValue(d))}]`;break;case"URLSearchParams":l=`["URLSearchParams",${M(r.toStringValue(d))}]`;break;case"RegExp":const{source:E,flags:T}=r.regExpInfo(d);l=T?`["RegExp",${M(E)},"${T}"]`:`["RegExp",${M(E)}]`;break;case"Array":{let y=!1;const $=r.lengthOf(d);l="[";for(let w=0;w<$;w+=1)if(w>0&&(l+=","),r.hasOwn(d,w))c.push(`[${w}]`),l+=u(r.get(d,w)),c.pop();else if(y)l+=mt;else{const I=r.indicesOf(d),W=I.length,B=String($).length,re=($-W)*3,tn=4+B+W*(B+1);if(re>tn){l="["+Tn+","+$;for(let Be=0;Be<I.length;Be++){const Me=I[Be];c.push(`[${Me}]`),l+=","+Me+","+u(r.get(d,Me)),c.pop()}break}else y=!0,l+=mt}l+="]";break}case"Set":l='["Set"';for(const y of r.valuesOf(d))l+=`,${u(y)}`;l+="]";break;case"Map":l='["Map"';for(const[y,$]of r.entriesOf(d)){const w=r.typeOf(y),I=w!=="object"&&w!=="function"&&w!=="symbol";c.push(`.get(${I?vt(r.toPrimitive(y)):"..."})`),l+=`,${u(y)},${u($)}`,c.pop()}l+="]";break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const y=r.viewInfo(d);l='["'+b+'",'+u(y.buffer),y.byteLength!==y.bufferByteLength&&(l+=`,${y.byteOffset},${y.length}`),l+="]";break}case"DataView":{const y=r.viewInfo(d);l='["'+b+'",'+u(y.buffer),y.byteLength!==y.bufferByteLength&&(l+=`,${y.byteOffset},${y.byteLength}`),l+="]";break}case"ArrayBuffer":{l=`["ArrayBuffer","${Kn(r.toArrayBuffer(d))}"]`;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":l=`["${b}",${M(r.toStringValue(d))}]`;break;default:{const y=r.shapeOf(d);if(y.kind==="not-plain")throw new H("Cannot stringify arbitrary non-POJOs",c,d,t);if(y.kind==="symbol-keys")throw new H("Cannot stringify POJOs with symbolic keys",c,d,t);if(y.kind==="null-proto"){l='["null"';for(const $ of y.keys){if($==="__proto__")throw new H("Cannot stringify objects with __proto__ keys",c,d,t);c.push(wt($)),l+=`,${M($)},${u(r.get(d,$))}`,c.pop()}l+="]"}else{l="{";let $=!1;for(const w of y.keys){if(w==="__proto__")throw new H("Cannot stringify objects with __proto__ keys",c,d,t);$&&(l+=","),$=!0,c.push(wt(w)),l+=`${M(w)}:${u(r.get(d,w))}`,c.pop()}l+="}"}}}}}return i[h]=l,h}const g=u(t);return g<0?`${g}`:i}function vt(e){const t=typeof e;return t==="string"?M(e):e===void 0?Bt.toString():e===0&&1/e<0?Mt.toString():t==="bigint"?`["BigInt","${e}"]`:String(e)}function nr(e){function t(n,o){if(n)for(const r in n){if(r[0]==="_"||e.has(r))continue;const i=[...e.values()],a=rr(r,o?.slice(o.lastIndexOf(".")))??`valid exports are ${i.join(", ")}, or anything with a '_' prefix`;throw new Error(`Invalid export '${r}'${o?` in ${o}`:""} (${a})`)}}return t}function rr(e,t=".js"){const n=[];if(et.has(e)&&n.push(`+layout${t}`),Vt.has(e)&&n.push(`+page${t}`),qt.has(e)&&n.push(`+layout.server${t}`),or.has(e)&&n.push(`+page.server${t}`),ar.has(e)&&n.push(`+server${t}`),n.length>0)return`'${e}' is a valid export in ${n.slice(0,-1).join(", ")}${n.length>1?" or ":""}${n.at(-1)}`}const et=new Set(["load","prerender","csr","ssr","trailingSlash","config"]),Vt=new Set([...et,"entries"]),qt=new Set([...et]),or=new Set([...qt,"actions","entries"]),ar=new Set(["GET","POST","PATCH","PUT","DELETE","OPTIONS","HEAD","fallback","prerender","trailingSlash","config","entries"]),sr=nr(Vt);function ir(e){return e.filter(t=>t!=null)}function be(e,t){return e+"/"+t}function tt(e){return e instanceof Xe||e instanceof Ee?e.status:500}function cr(e){return e instanceof Ee?e.text:"Internal Error"}let A,se,Fe;const lr=ut.toString().includes("$$")||/function \w+\(\) \{\}/.test(ut.toString()),bt="a:";var ue,de,he,pe,ge,_e,ye,me,At,we,Rt,ve,Tt;lr?(A={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(bt)},se={current:null},Fe={current:!1}):(A=new(At=class{constructor(){x(this,ue,U({}));x(this,de,U(null));x(this,he,U(null));x(this,pe,U({}));x(this,ge,U({id:null}));x(this,_e,U({}));x(this,ye,U(-1));x(this,me,U(new URL(bt)))}get data(){return N(k(this,ue))}set data(t){C(k(this,ue),t)}get form(){return N(k(this,de))}set form(t){C(k(this,de),t)}get error(){return N(k(this,he))}set error(t){C(k(this,he),t)}get params(){return N(k(this,pe))}set params(t){C(k(this,pe),t)}get route(){return N(k(this,ge))}set route(t){C(k(this,ge),t)}get state(){return N(k(this,_e))}set state(t){C(k(this,_e),t)}get status(){return N(k(this,ye))}set status(t){C(k(this,ye),t)}get url(){return N(k(this,me))}set url(t){C(k(this,me),t)}},ue=new WeakMap,de=new WeakMap,he=new WeakMap,pe=new WeakMap,ge=new WeakMap,_e=new WeakMap,ye=new WeakMap,me=new WeakMap,At),se=new(Rt=class{constructor(){x(this,we,U(null))}get current(){return N(k(this,we))}set current(t){C(k(this,we),t)}},we=new WeakMap,Rt),Fe=new(Tt=class{constructor(){x(this,ve,U(!1))}get current(){return N(k(this,ve))}set current(t){C(k(this,ve),t)}},ve=new WeakMap,Tt),Dt.v=()=>Fe.current=!0);function Ft(e){Object.assign(A,e)}const{onMount:fr}=rn,ur=an??(e=>e()),dr=new Set(["icon","shortcut icon","apple-touch-icon"]);let oe=null;const z=jt(xt)??{},ie=jt(It)??{};if(R&&Lt){let e=!1;const t=()=>{if(e)return;let r=new Error().stack?.split(`
|
|
5
|
+
`);!r||(!r[0].includes("https:")&&!r[0].includes("http:")&&(r=r.slice(1)),r[2]?.includes("node_modules"))||(e=!0,console.warn("Avoid using `history.pushState(...)` and `history.replaceState(...)` as these will conflict with SvelteKit's router. Use the `pushState` and `replaceState` imports from `$app/navigation` instead."))},n=history.pushState;history.pushState=(...r)=>(t(),n.apply(history,r));const o=history.replaceState;history.replaceState=(...r)=>(t(),o.apply(history,r))}const F={url:yt({}),page:yt({}),navigating:We(null),updated:On()};function nt(e){z[e]=J()}function hr(e,t){let n=e+1;for(;z[n];)delete z[n],n+=1;for(n=t+1;ie[n];)delete ie[n],n+=1}function ce(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(q)}async function zt(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(j||"/");e&&await e.update()}}let rt,Ye,Ae,D,Ge,S;const Re=[],Te=[];let P=null;function Le(){P?.fork?.then(e=>e?.discard()),P=null,Z={element:void 0,href:void 0}}const ke=new Map,Ht=new Set,pr=new Set,ee=new Set;let v={branch:[],error:null,url:null},Yt=!1,le=!1,kt=!0,fe=!1,ae=!1,Gt=!1,ot=!1,at,O,L,V;const Pe=new Set,St=new Map,Et=new Map;async function Mr(e,t,n){if(R&&t===document.body&&console.warn(`Placing %sveltekit.body% directly inside <body> is not recommended, as your app may break for users who have certain browser extensions installed.
|
|
6
|
+
|
|
7
|
+
Consider wrapping it in an element:
|
|
8
|
+
|
|
9
|
+
<div style="display: contents">
|
|
10
|
+
%sveltekit.body%
|
|
11
|
+
</div>`),globalThis.__sveltekit_30w1ju.data){const{q:i={},p:a={},l:s={},f:c={}}=globalThis.__sveltekit_30w1ju.data;for(const f in i)i[f];for(const f in s)s[f];for(const f in c)c[f];for(const f in a)a[f]}document.URL!==location.href&&(location.href=location.href),S=e,await e.hooks.init?.(),rt=bn(e),D=document.documentElement,Ge=t,Ye=e.nodes[0],Ae=e.nodes[1],Ye(),Ae(),O=history.state?.[G],L=history.state?.[ne],O||(O=L=Date.now(),history.replaceState({...history.state,[G]:O,[ne]:L},""));const o=z[O];function r(){o&&(history.scrollRestoration="manual",scrollTo(o.x,o.y))}n?(r(),await Lr(Ge,n)):(await te({type:"enter",url:Ue(S.hash?Ir(new URL(location.href)):location.href),replace_state:!0}),r()),Tr()}function gr(){Re.length=0,ot=!1}function Kt(e){Te.some(t=>t?.snapshot)&&(ie[e]=Te.map(t=>t?.snapshot?.capture()))}function Jt(e){ie[e]?.forEach((t,n)=>{Te[n]?.snapshot?.restore(t)})}function Ot(){nt(O),ht(xt,z),Kt(L),ht(It,ie)}async function Wt(e,t,n,o){let r,i;t.invalidateAll&&Le(),await te({type:"goto",url:Ue(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:o,accept:()=>{if(t.invalidateAll){ot=!0,r=new Set;for(const[a,s]of St)for(const[c,f]of s)f.resource?.reset(),r.add(be(a,c));i=new Set;for(const[a,s]of Et)for(const c of s.keys())i.add(be(a,c))}t.invalidate&&t.invalidate.forEach(Ar)}}),t.invalidateAll&&Se().then(Se).then(()=>{for(const[a,s]of St)for(const[c,{resource:f}]of s)r?.has(be(a,c))&&f.start();for(const[a,s]of Et)for(const[c,{resource:f}]of s)i?.has(be(a,c))&&f.reconnect()})}async function $t(e){if(e.id!==P?.id){Le();const t={};Pe.add(t),P={id:e.id,token:t,promise:Zt({...e,preload:t}).then(n=>(Pe.delete(t),n.type==="loaded"&&n.state.error&&Le(),n)),fork:null}}return P.promise}async function ze(e){const t=(await Ce(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function Xt(e,t,n){const o={params:v.params,route:{id:v.route?.id??null},url:new URL(location.href)};if(v={...e.state,nav:o},Ft(e.props.page),at=new S.root({target:t,props:{...e.props,stores:F,components:Te},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),n){const r={from:null,to:{...o,scroll:z[O]??J()},willUnload:!1,type:"enter",complete:Promise.resolve()};ee.forEach(i=>i(r))}Jt(L),le=!0}async function je({url:e,params:t,branch:n,errors:o,status:r,error:i,route:a,form:s}){let c="never";if(j&&(e.pathname===j||e.pathname===j+"/"))c="always";else for(const p of n)p?.slash!==void 0&&(c=p.slash);e.pathname=sn(e.pathname,c),e.search=e.search;const f={type:"loaded",state:{url:e,params:t,branch:n,error:i,route:a},props:{constructors:ir(n).map(p=>p.node.component),page:De(A)}};s!==void 0&&(f.props.form=s);let u={},g=!A,d=0;for(let p=0;p<Math.max(n.length,v.branch.length);p+=1){const m=n[p],_=v.branch[p];m?.data!==_?.data&&(g=!0),m&&(u={...u,...m.data},g&&(f.props[`data_${d}`]=u),d+=1)}return(!v.url||e.href!==v.url.href||v.error!==i||s!==void 0&&s!==A.form||g)&&(f.props.page={error:i,params:t,route:{id:a?.id??null},state:{},status:r,url:new URL(e),form:s??null,data:g?u:A.data}),f}async function st({loader:e,parent:t,url:n,params:o,route:r,server_data_node:i}){let a=null;const s={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();if(R&&(sr(c.universal),c.universal&&S.hash)){const f=Object.keys(c.universal).filter(u=>u!=="load");if(f.length>0)throw new Error(`Page options are ignored when \`router.type === 'hash'\` (${r.id} has ${f.filter(u=>u!=="load").map(u=>`'${u}'`).join(", ")})`)}return{node:c,loader:e,server:i,universal:c.universal?.load?{type:"data",data:a,uses:s}:null,data:a??i?.data??null,slash:c.universal?.trailingSlash??i?.slash}}function _r(e,t,n){let o=e instanceof Request?e.url:e;const r=new URL(o,n);r.origin===n.origin&&(o=r.href.slice(n.origin.length));const i=le?pn(o,r.href,t):hn(o,t);return{resolved:r,promise:i}}function yr(e,t,n,o,r,i){if(ot)return!0;if(!r)return!1;if(r.parent&&e||r.route&&t||r.url&&n)return!0;for(const a of r.search_params)if(o.has(a))return!0;for(const a of r.params)if(i[a]!==v.params[a])return!0;for(const a of r.dependencies)if(Re.some(s=>s(new URL(a))))return!0;return!1}function it(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function mr(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const o of n){const r=e.searchParams.getAll(o),i=t.searchParams.getAll(o);r.every(a=>i.includes(a))&&i.every(a=>r.includes(a))&&n.delete(o)}return n}function wr({error:e,url:t,route:n,params:o}){return{type:"loaded",state:{error:e,url:t,route:n,params:o,branch:[]},props:{page:De(A),constructors:[]}}}async function Zt({id:e,invalidating:t,url:n,params:o,route:r,preload:i}){if(P?.id===e)return Pe.delete(P.token),P.promise;const{errors:a,layouts:s,leaf:c}=r,f=[...s,c];a.forEach(_=>_?.().catch(q)),f.forEach(_=>_?.[1]().catch(q));const u=v.url?e!==Ie(v.url):!1,g=v.route?r.id!==v.route.id:!1,d=mr(v.url,n);let h=!1;const p=f.map(async(_,l)=>{if(!_)return;const b=v.branch[l];return _[1]===b?.loader&&!yr(h,g,u,d,b.universal?.uses,o)?b:(h=!0,st({loader:_[1],url:n,params:o,route:r,parent:async()=>{const T={};for(let y=0;y<l;y+=1)Object.assign(T,(await p[y])?.data);return T},server_data_node:it(_[0]?{type:"skip"}:null,_[0]?b?.server:void 0)}))});for(const _ of p)_.catch(q);const m=[];for(let _=0;_<f.length;_+=1)if(f[_])try{m.push(await p[_])}catch(l){if(l instanceof Ze)return{type:"redirect",location:l.location};if(i&&Pe.has(i))return wr({error:await K(l,{params:o,url:n,route:{id:r.id}}),url:n,params:o,route:r});let b=tt(l),E;if(l instanceof Xe)E=l.body;else{if(await F.updated.check())return await zt(),await ce(n);E=await K(l,{params:o,url:n,route:{id:r.id}})}const T=await vr(_,m,a);return T?je({url:n,params:o,branch:m.slice(0,T.idx).concat(T.node),errors:a,status:b,error:E,route:r}):await Ke(n,{id:r.id},E,b)}else m.push(void 0);return je({url:n,params:o,branch:m,errors:a,status:200,error:null,route:r,form:t?void 0:null})}async function vr(e,t,n){for(;e--;)if(n[e]){let o=e;for(;!t[o];)o-=1;try{return{idx:o+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function ct({status:e,error:t,url:n,route:o}){const r={};let i=null;try{const a=await st({loader:Ye,url:n,params:r,route:o,parent:()=>Promise.resolve({}),server_data_node:it(i)}),s={node:await Ae(),loader:Ae,universal:null,server:null,data:null};return je({url:n,params:r,branch:[a,s],status:e,error:t,errors:[],route:null})}catch(a){if(a instanceof Ze){await Wt(new URL(a.location,location.href),{},0);return}const s=await S.get_error_template(),c=await K(a,{url:n,params:r,route:o}),f=String(c?.message??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),u=s({status:e,message:f}),g=new DOMParser().parseFromString(u,"text/html");throw document.documentElement.replaceChild(document.adoptNode(g.head),document.head),document.documentElement.replaceChild(document.adoptNode(g.body),document.body),a}}async function br(e){const t=e.href;if(ke.has(t))return ke.get(t);let n;try{const o=(async()=>{let r=await S.hooks.reroute({url:new URL(e),fetch:async(i,a)=>_r(i,a,e).promise})??e;if(typeof r=="string"){const i=new URL(e);S.hash?i.hash=r:i.pathname=r,r=i}return r})();ke.set(t,o),n=await o}catch(o){if(ke.delete(t),R){console.error(o);debugger}return}return n}async function Ce(e,t){if(e&&!Ne(e,j,S.hash)){const n=await br(e);if(!n)return;const o=kr(n);for(const r of rt){const i=r.exec(o);if(i)return{id:Ie(e),invalidating:t,route:r,params:ln(i),url:e}}}}function kr(e){return cn(S.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(j.length))||"/"}function Ie(e){return(S.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function Qt({url:e,type:t,intent:n,delta:o,event:r,scroll:i}){let a=!1;const s=lt(v,n,e,t,i??null);o!==void 0&&(s.navigation.delta=o),r!==void 0&&(s.navigation.event=r);const c={...s.navigation,cancel:()=>{a=!0,s.reject(new Error("navigation cancelled"))}};return fe||Ht.forEach(f=>f(c)),a?null:s}async function te({type:e,url:t,popped:n,keepfocus:o,noscroll:r,replace_state:i,state:a={},redirect_count:s=0,nav_token:c={},accept:f=q,block:u=q,event:g}){const d=V;V=c;const h=await Ce(t,!1),p=e==="enter"?lt(v,h,t,e):Qt({url:t,type:e,delta:n?.delta,intent:h,scroll:n?.scroll,event:g});if(!p){u(),V===c&&(V=d);return}const m=O,_=L;f(),fe=!0,le&&p.navigation.type!=="enter"&&F.navigating.set(se.current=p.navigation);let l=h&&await Zt(h);if(!l)if(Ne(t,j,S.hash))if(R&&S.hash)l=await Ke(t,{id:null},await K(new Ee(404,"Not Found",`Not found: ${t.pathname} (did you forget the hash?)`),{url:t,params:{},route:{id:null}}),404,i);else return await ce(t,i);else l=await Ke(t,{id:null},await K(new Ee(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i);if(t=h?.url||t,V!==c){p.reject(new Error("navigation aborted"));return}if(!l)return;if(l.type==="redirect"){if(s<20){await te({type:e,url:new URL(l.location,t),popped:n,keepfocus:o,noscroll:r,replace_state:i,state:a,redirect_count:s+1,nav_token:c}),p.fulfil(void 0);return}if(l=await ct({status:500,error:await K(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!l)return}else if(l.props.page.status>=400&&await F.updated.check())return await zt(),await ce(t,i);if(gr(),nt(m),Kt(_),l.props.page.url.pathname!==t.pathname&&(t.pathname=l.props.page.url.pathname),a=n?n.state:a,!n){const w=i?0:1,I={[G]:O+=w,[ne]:L+=w,[Qe]:a};(i?history.replaceState:history.pushState).call(history,I,"",t),i||hr(O,L)}const b=h&&P?.id===h.id?P.fork:null;P?.fork&&!b?Le():(P=null,Z={element:void 0,href:void 0}),l.props.page.state=a;let E;if(le){const w=(await Promise.all(Array.from(pr,B=>B(p.navigation)))).filter(B=>typeof B=="function");if(w.length>0){let B=function(){w.forEach(re=>{ee.delete(re)})};w.push(B),w.forEach(re=>{ee.add(re)})}const I=p.navigation.to;v={...l.state,nav:{params:I.params,route:I.route,url:I.url}},l.props.page&&(l.props.page.url=t),!o&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const W=b&&await b;W?E=W.commit():(oe=null,at.$set(l.props),oe&&Object.assign(l.props.page,oe),Ft(l.props.page),E=on?.()),Gt=!0}else await Xt(l,Ge,!1);const{activeElement:T}=document;if(await E,await Se(),await Se(),V!==c){p.reject(new Error("navigation aborted"));return}l.props.page&&oe&&Object.assign(l.props.page,oe);let y=null;if(kt){const w=n?n.scroll:r?J():null;w?scrollTo(w.x,w.y):(y=t.hash&&document.getElementById(en(t)))?y.scrollIntoView():scrollTo(0,0)}const $=document.activeElement!==T&&document.activeElement!==document.body;!o&&!$&&jr(t,!y),kt=!0,fe=!1,p.fulfil(void 0),p.navigation.to&&(p.navigation.to.scroll=J()),ee.forEach(w=>w(p.navigation)),e==="popstate"&&Jt(L),F.navigating.set(se.current=null)}async function Ke(e,t,n,o,r){if(e.origin===xe&&e.pathname===location.pathname&&!Yt)return await ct({status:o,error:n,url:e,route:t});if(R&&o!==404){console.error("An error occurred while loading the page. This will cause a full page reload. (This message will only appear during development.)");debugger}return await ce(e,r)}let Z={element:void 0,href:void 0};function Sr(){let e,t;D.addEventListener("mousemove",a=>{const s=a.target;clearTimeout(e),e=setTimeout(()=>{r(s,Y.hover)},20)});function n(a){a.defaultPrevented||r(a.composedPath()[0],Y.tap)}D.addEventListener("mousedown",n),D.addEventListener("touchstart",n,{passive:!0});const o=new IntersectionObserver(a=>{for(const s of a)s.isIntersecting&&(ze(new URL(s.target.href)),o.unobserve(s.target))},{threshold:0});async function r(a,s){const c=Ct(a,D),f=c===Z.element&&c?.href===Z.href&&s>=t;if(!c||f)return;const{url:u,external:g,download:d}=He(c,j,S.hash);if(g||d)return;const h=$e(c),p=u&&Ie(v.url)===Ie(u);if(!(h.reload||p))if(s<=h.preload_data){Z={element:c,href:c.href},t=Y.tap;const m=await Ce(u,!1);if(!m)return;R?$t(m).then(_=>{_.type==="loaded"&&_.state.error&&console.warn(`Preloading data for ${m.url.pathname} failed with the following error: ${_.state.error.message}
|
|
12
|
+
If this error is transient, you can ignore it. Otherwise, consider disabling preloading for this route. This route was preloaded due to a data-sveltekit-preload-data attribute. See https://svelte.dev/docs/kit/link-options for more info`)}):$t(m)}else s<=h.preload_code&&(Z={element:c,href:c.href},t=s,ze(u))}function i(){o.disconnect();for(const a of D.querySelectorAll("a")){const{url:s,external:c,download:f}=He(a,j,S.hash);if(c||f)continue;const u=$e(a);u.reload||(u.preload_code===Y.viewport&&o.observe(a),u.preload_code===Y.eager&&ze(s))}}ee.add(i),i()}function K(e,t){if(e instanceof Xe)return e.body;R&&console.warn("The next HMR update will cause the page to reload");const n=tt(e),o=cr(e);return S.hooks.handleError({error:e,event:t,status:n,message:o})??{message:o}}function Er(e,t){fr(()=>(e.add(t),()=>{e.delete(t)}))}function Or(e){Er(ee,e)}function $r(e,t={}){return e=new URL(Ue(e)),e.origin!==xe?Promise.reject(new Error(R?`Cannot use \`goto\` with an external URL. Use \`window.location = "${e}"\` instead`:"goto: invalid URL")):Wt(e,t,0)}function Ar(e){if(typeof e=="function")Re.push(e);else{const{href:t}=new URL(e,location.href);Re.push(n=>n.href===t)}}function Rr(e,t){if(R){if(!le)throw new Error("Cannot call replaceState(...) before router is initialized");try{er(t)}catch(o){throw new Error(`Could not serialize state${o.path}`,{cause:o})}}const n={[G]:O,[ne]:L,[Ut]:A.url.href,[Qe]:t};history.replaceState(n,"",Ue(e)),A.state=t,at.$set({page:ur(()=>De(A))})}function Tr(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Ot(),!fe){const o=lt(v,void 0,null,"leave"),r={...o.navigation,cancel:()=>{n=!0,o.reject(new Error("navigation cancelled"))}};Ht.forEach(i=>i(r))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ot()}),navigator.connection?.saveData||Sr(),D.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=Ct(t.composedPath()[0],D);if(!n)return;const{url:o,external:r,target:i,download:a}=He(n,j,S.hash);if(!o)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const s=$e(n);if(!(n instanceof SVGAElement)&&o.protocol!==location.protocol&&!(o.protocol==="https:"||o.protocol==="http:")||a)return;const[f,u]=(S.hash?o.hash.replace(/^#/,""):o.href).split("#"),g=f===Ve(location);if(r||s.reload&&(!g||!u)){Qt({url:o,type:"link",event:t})?fe=!0:t.preventDefault();return}if(u!==void 0&&g){const[,d]=v.url.href.split("#");if(d===u){if(t.preventDefault(),u===""||u==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=n.ownerDocument.getElementById(decodeURIComponent(u));h&&(h.scrollIntoView(),h.focus())}return}if(ae=!0,nt(O),e(o),!s.replace_state)return;ae=!1}t.preventDefault(),await new Promise(d=>{requestAnimationFrame(()=>{setTimeout(d,0)}),setTimeout(d,100)}),await te({type:"link",url:o,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??o.href===location.href,event:t})}),D.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),o=t.submitter;if((o?.formTarget||n.target)==="_blank"||(o?.formMethod||n.method)!=="get")return;const a=new URL(o?.hasAttribute("formaction")&&o?.formAction||n.action);if(Ne(a,j,!1))return;const s=t.target,c=$e(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(s,o);a.search=new URLSearchParams(f).toString(),te({type:"form",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Je){if(t.state?.[G]){const n=t.state[G];if(V={},n===O)return;const o=z[n],r=t.state[Qe]??{},i=new URL(t.state[Ut]??location.href),a=t.state[ne],s=v.url?Ve(location)===Ve(v.url):!1;if(a===L&&(Gt||s)){r!==A.state&&(A.state=r),e(i),z[O]=J(),o&&scrollTo(o.x,o.y),O=n;return}const f=n-O;await te({type:"popstate",url:i,popped:{state:r,scroll:o,delta:f},accept:()=>{O=n,L=a},block:()=>{history.go(-f)},nav_token:V,event:t})}else if(!ae){const n=new URL(location.href);e(n),S.hash&&location.reload()}}}),addEventListener("hashchange",()=>{ae&&(ae=!1,history.replaceState({...history.state,[G]:++O,[ne]:L},"",location.href))});for(const t of document.querySelectorAll("link"))dr.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&F.navigating.set(se.current=null)});function e(t){v.url=A.url=t,F.page.set(De(A)),F.page.notify()}}async function Lr(e,{status:t=200,error:n,node_ids:o,params:r,route:i,server_route:a,data:s,form:c}){Yt=!0;const f=new URL(location.href);let u;({params:r={},route:i={id:null}}=await Ce(f,!1)||{}),u=rt.find(({id:h})=>h===i.id);let g,d=!0;try{const h=o.map(async(m,_)=>{const l=s[_];return l?.uses&&(l.uses=Pr(l.uses)),st({loader:S.nodes[m],url:f,params:r,route:i,parent:async()=>{const b={};for(let E=0;E<_;E+=1)Object.assign(b,(await h[E]).data);return b},server_data_node:it(l)})}),p=await Promise.all(h);if(u){const m=u.layouts;for(let _=0;_<m.length;_++)m[_]||p.splice(_,0,void 0)}g=await je({url:f,params:r,branch:p,status:t,error:n,errors:u?.errors,form:c,route:u??null})}catch(h){if(h instanceof Ze)return await ce(new URL(h.location,location.href));g=await ct({status:tt(h),error:await K(h,{url:f,params:r,route:i}),url:f,route:i}),e.textContent="",d=!1}g&&(g.props.page&&(g.props.page.state={}),await Xt(g,e,d))}function Pr(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Je=!1;function jr(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const o=en(e);if(o&&document.getElementById(o)){const{x:i,y:a}=J();setTimeout(()=>{const s=history.state;Je=!0,location.replace(new URL(`#${o}`,location.href)),history.replaceState(s,"",e),t&&scrollTo(i,a),Je=!1})}else{const i=document.body,a=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),a!==null?i.setAttribute("tabindex",a):i.removeAttribute("tabindex")}const r=getSelection();if(r&&r.type!=="None"){const i=[];for(let a=0;a<r.rangeCount;a+=1)i.push(r.getRangeAt(a));setTimeout(()=>{if(r.rangeCount===i.length){for(let a=0;a<r.rangeCount;a+=1){const s=i[a],c=r.getRangeAt(a);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}r.removeAllRanges()}})}}}function lt(e,t,n,o,r=null){let i,a;const s=new Promise((f,u)=>{i=f,a=u});return s.catch(q),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:J()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:r},willUnload:!t,type:o,complete:s},fulfil:i,reject:a}}function De(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Ir(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function en(e){let t;if(S.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}if(R){const e=console.warn;console.warn=function(...n){n.length===1&&/<(Layout|Page|Error)(_[\w$]+)?> was created (with unknown|without expected) prop '(data|form)'/.test(n[0])||e(...n)}}const Vr=Object.freeze(Object.defineProperty({__proto__:null,afterNavigate:Or,goto:$r,replaceState:Rr},Symbol.toStringTag,{value:"Module"}));export{Or as a,Lt as b,F as c,$r as g,Nr as l,Vr as n,A as p,Rr as r,Mr as s};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{fV as B,
|
|
1
|
+
import{fV as B,JH as o,n_ as F,mp as K,mg as j,tC as q}from"./B9vHutcJ.js";import{H as G,n as V,O as Y,e9 as $,cU as W,dI as k,dT as N,e2 as O,cP as z,aN as J}from"./C2UL5Ler.js";import{selectCurrentWorkspaceTabId as X,selectWorkspaceTabsHydrated as Q}from"./aZdb_rCN.js";import{t as Z}from"./BPQFiQQc.js";import{m as ee,N as te,T as se,d as re,o as oe,w as ne}from"./96V4v2iI.js";import"./3SdAC2_C.js";import"./CLAmm_T1.js";import"./CcJmuwXr.js";import"./BwNrQXlF.js";import"./TB9r2XJy.js";import"./ChTqQfQN.js";import"./BbYWP3Ow.js";function ae(e){return!e.retiredAt&&!e.pendingDeleteAt&&e.status!=="deleted"}function m(e){const t=new Date(e.lastActivity??e.updatedAt??e.createdAt).getTime()||0,s=e.messages.at(-1)?.timestamp,r=s&&new Date(s).getTime()||0;return Math.max(t,r)}function Ue(e){const t=e.filter(ae).map(s=>({agent:s,activity:m(s),created:new Date(s.createdAt).getTime()||0})).sort((s,r)=>r.activity-s.activity||r.created-s.created||String(s.agent.id).localeCompare(String(r.agent.id)));return t.find(({agent:s})=>B(s)==="topLevel")?.agent??t[0]?.agent??null}const p="__chief__",_="New chat";function ce(e){const t=e?.trim();return!t||t===_||t==="New chat with Assistant"||t==="New chat with Intent"||t==="Chief of Staff"||t.startsWith("New thread ")}function ie(e){const t=e.name?.trim();if(e.nameExplicitlySet&&t)return t;const r=e.messages.find(l=>l.role==="user")??e.messages[0],c=r?(r.role==="user"?G(r):V(r)).trim():"";return!t||ce(t)?c||_:c||t}const le="chief-of-staff",de=6,T="## Assistant Runtime Identity\n\nYou are Intent's built-in Assistant. Operate at the app level with `ws.app.*` tools: manage workspaces, settings, specialists, navigation, and cross-workspace agents. You are not a repository coding agent. Treat generic coding-agent, workspace, spec, task, and delegation instructions as subordinate to this role.\n\nWhen the user requests repository work, create or open the appropriate workspace and hand the work to the appropriate specialist. Once you have enough repository or PR information, act through the app-level proposal flow instead of merely promising to verify, prepare, or hand off the work.\n\nShow workspaces, notes, files, agent conversations and repository links beside your conversation when they help the user. Share ordinary Markdown links to notes (intent://local/note/<noteId> or intent://local/<workspaceId>/note/<noteId>) workspace links (intent://local/workspace/<workspaceId>), workspace file and agent links, and HTTPS repository URLs; clicking opens a closable content panel while keeping chat visible. To show content automatically, call `ws.app.ui.navigate` with the same link or /workspace/<workspaceId>. Calling `ws.app.workspaces.open` also shows that workspace beside chat unless the user requests a new window. Each conversation has its own panel history. Workspaces show the same detail and agent chat as Home’s Workspaces tab. Earlier content remains available in that conversation’s panel header picker. Creating a note alone does not open it: explicitly navigate when you want to show it.\n\nWhen the user asks to transfer a project between devices, find the source workspace with `ws.app.workspaces.list` and call `ws.app.workspaces.transfer(id, { destination })`. Pass the user's destination name as the hint, or omit it so they can choose a saved device in the inline card. The source is the device serving this assistant conversation. The tool only proposes the transfer: wait for approval or cancellation in the card, and report completion only after the proposal is applied.";function He(e){const t=e?.trim();return t?`${T}
|
|
2
2
|
|
|
3
|
-
${t}`:T}const pe=o.createSelector((e,t)=>{const s=e.backgroundHooks?.byWorkspaceId?.[t];return s?F(s.hooks):[]}),ue=o.createSelector((e,t)=>e.backgroundHooks?.byWorkspaceId?.[t]?.snapshotStatus??"loading"),
|
|
3
|
+
${t}`:T}const pe=o.createSelector((e,t)=>{const s=e.backgroundHooks?.byWorkspaceId?.[t];return s?F(s.hooks):[]}),ue=o.createSelector((e,t)=>e.backgroundHooks?.byWorkspaceId?.[t]?.snapshotStatus??"loading"),M=o.createSelector((e,t)=>e.scriptMonitor?.byWorkspaceId[t]??K),xe=o.createSelector((e,t,s)=>{const r=M.select(e,t);return r.status==="unsupported"?[]:r.monitors.filter(c=>c.agentId===s)}),u=o.createSelector((e,t,s)=>{const r=q(t,s);return e.agentSubscriptionUI.entries[r]??j}),ge=o.createSelector((e,t,s)=>u.select(e,t,s).subscriptions),fe=o.createSelector((e,t,s)=>u.select(e,t,s).eventSubscriptions??[]),he=o.createSelector((e,t,s)=>u.select(e,t,s).delegationGroups),Be=o.createSelector((e,t,s)=>u.select(e,t,s).agentStatuses),Fe=o.createSelector((e,t,s)=>u.select(e,t,s).waitingState),Ke=o.createSelector((e,t,s)=>u.select(e,t,s).wokenUpInfo);function Se(e){return[...new Set(e.filter(Boolean))]}const je=o.createSelector((e,t,s)=>{const r=u.select(e,t,s),c=[],l=new Set,i=n=>{for(const a of Se(n))l.has(a)||(l.add(a),c.push(a))},h=[...r.subscriptions].sort((n,a)=>n.createdAt.localeCompare(a.createdAt)||n.id.localeCompare(a.id));for(const n of h)n.delegationGroup?.awaitMode!=="all"&&i(n.actorIds);const g=new Map;for(const n of r.delegationGroups)n.awaitMode==="all"&&g.set(n.groupId,n);for(const n of g.values())i(n.expectedAgentIds);for(const n of h){const a=n.delegationGroup;a?.awaitMode==="all"&&!g.has(a.groupId)&&i(a.expectedAgentIds)}const d=new Set;for(const n of r.delegationGroups){for(const a of n.completedAgentIds)d.add(a);for(const a of n.deletedAgentIds)d.add(a);for(const[a,f]of Object.entries(n.agentStatuses))f==="completed"&&d.add(a)}for(const[n,a]of Object.entries(r.agentStatuses))a==="completed"&&d.add(n);const w=e.agentSessions?.byAgentId??{},A=new Set([...d].filter(n=>{const a=w[n];return!a||!Y($(a))})),v=new Map(c.map((n,a)=>[n,a])),y=n=>{const a=w[n];if(!a)return 2;if(a.attentionRequestKind==="blocker")return 0;if(a.attentionRequestKind==="discussion")return 1;if(A.has(n))return 4;const f=String(a.status).toLowerCase();return f==="responding"||f==="active"||f==="processing"?2:3},C=c.filter(n=>!A.has(n)).sort((n,a)=>y(n)-y(a)||(v.get(n)??0)-(v.get(a)??0));return{visible:r.snapshotStatus==="failed"||r.waitingState==="completed"||c.length>0||r.wokenUpInfo!==null,count:C.length,participantAgentIds:C}}),qe=o.createSelector((e,t,s)=>u.select(e,t,s).snapshotStatus),Ge=o.createSelector((e,t)=>{const s=`${t}:`,r=[];for(const c of Object.keys(e.agentSubscriptionUI.entries))c.startsWith(s)&&r.push(c.slice(s.length));return r});o.createSelector((e,t,s)=>{const r=he.select(e,t,s);let c=0,l=0;for(const i of r)c+=i.expectedAgentIds.length,l+=i.completedAgentIds.length+i.deletedAgentIds.length;return{total:c,completed:l}});const Ve=o.createSelector(e=>{const t=X.select(e);if(!t||!Q.select(e))return[];const s=new Set;for(const r of Z.select(e,t)){const c=r.panes.find(l=>l.id===r.activePaneId);c?.type==="agent"&&c.agentId&&s.add(c.agentId)}return[...s].map(r=>({wsId:t,agentId:r}))}),E="pinned",me=64;function I(e){return e.trim().toLocaleLowerCase()}function L(e){return e===E}function Ye(e,t){const s=e.trim();if(s.length===0)return{ok:!1,error:"empty"};if([...s].length>me)return{ok:!1,error:"tooLong"};const r=I(s);return r===E?{ok:!1,error:"reserved"}:t.some(c=>I(c)===r)?{ok:!1,error:"duplicate"}:{ok:!0,label:s}}function Ie(e){const t=new Map;for(const s of e){if(typeof s!="string"||L(s))continue;const r=s.trim();if(r.length===0)continue;const c=I(r);t.has(c)||t.set(c,s)}return[...t.values()].sort((s,r)=>s.localeCompare(r,void 0,{sensitivity:"base"}))}function P(e){const s=e.workspaceAgents?.byWorkspaceId?.[p]?.agentIds,r=s&&s.length>0?new Set(s.map(i=>String(i))):null,c=e.agentSessions?.agentIdsByWorkspace?.[p]??[],l=c.length>0?c.map(i=>e.agentSessions?.byAgentId?.[i]).filter(i=>!!i):Object.values(e.agentSessions?.byAgentId??{}).filter(i=>i.workspaceId===p);return r?l.filter(i=>r.has(String(i.id))):l}function R(e){return e.metadata?.specialist===le&&e.metadata?.chiefPromptVersion===de}function D(e){return Math.max(e.messages.length,e.messageCount??0)}function S(e){return{agentId:e.id,title:ie(e),isActive:e.isStreaming===!0||e.isProcessing===!0||e.isResponding===!0,messageCount:D(e),pinned:e.pinned===!0,retired:!!e.retiredAt}}function b(e){return P(e).filter(t=>!t.retiredAt)}function U(e,t){return m(t)-m(e)}function H(e,t){const s=r=>new Date(r.lastActivity??r.updatedAt??r.createdAt).getTime()||0;return s(t)-s(e)}const $e=o.createSelector(e=>e.sidebarNav.panelItem),ze=o.createSelector(e=>e.sidebarNav.onboardingActive),Je=o.createSelector(e=>e.sidebarNav.showCreateModal),Xe=o.createSelector(e=>e.sidebarNav.createModalUsesHomeRepository),Qe=o.createSelector(e=>e.sidebarNav.createModalPrefillRequest),x=o.createSelector(e=>W.select(e)?.capabilities.workspaceLabels===1),Ze=o.createSelector((e,t)=>k.select(e,t)?.label??null),et=o.createSelector(e=>Ie(N.select(e).map(t=>t.label))),ke=["id","label"],tt=o.createSelector((e,t)=>x.select(e)&&O.select(e,t,ke)!==null),be=o.createSelector(e=>W.select(e)?.capabilities.workspaceAutoArchiveOptOut===1),we=o.createSelector(e=>(e.sidebarNav.autoArchiveIdleAfterDays??0)>0),st=o.createSelector((e,t)=>k.select(e,t)?.autoArchiveDisabled===!0),Ae=["id","autoArchiveDisabled"],rt=o.createSelector((e,t)=>{if(!be.select(e)||!we.select(e))return!1;const s=k.select(e,t);return!s||s.isRemote===!0||s.environmentConfig?.type==="remote"?!1:O.select(e,t,Ae)!==null}),ot=o.createSelector(e=>e.sidebarNav.pinnedWorkspaceIds),nt=o.createSelector(e=>x.select(e)?N.select(e).filter(t=>L(t.label)).map(t=>t.id):e.sidebarNav.pinnedWorkspaceIds),at=o.createSelector((e,t)=>e.sidebarNav.multiSelectSelectedTabIdsByWorkspaceId[t]??["people","agents"]),ct=o.createSelector(e=>e.sidebarNav.hiddenSidebarTabIds??[]),it=o.createSelector((e,t)=>e.sidebarNav.noteOrderByWorkspaceId[t]??[]),lt=o.createSelector((e,t)=>e.sidebarNav.collapsedNoteIdsByWorkspaceId[t]??[]),dt=o.createSelector((e,t)=>e.sidebarNav.expandedNoteIdsByWorkspaceId?.[t]??[]),pt=o.createSelector(e=>e.sidebarNav.chiefActiveAgentId),ut=o.createSelector((e,t)=>{const s=e.agentSessions.byAgentId[t];if(s?.workspaceId!==p)return{hooks:0,monitors:0,subscriptions:0};const r=ue.select(e,p)==="ready"?pe.select(e,p).filter(d=>d.agentId===t&&(d.state==="scheduled"||d.state==="running")).length:s.waitingOnHooks?.length??0,c=z.select(e,p)==="ready"?J.select(e,p,t).filter(d=>d.state==="active").length:s.waitingOnPrMonitors?.length??0,l=M.select(e,p),i=l.status==="unsupported"?0:l.status==="ready"?l.monitors.filter(d=>d.agentId===t&&d.state==="active").length:s.waitingOnScriptMonitors?.length??0,h=s.isWaitingForOtherAgents===!1?0:s.waitingForAgentIds?.length??(ge.select(e,p,t).length||(s.isWaitingForOtherAgents?1:0)),g=fe.select(e,p,t).filter(d=>d.subscriberAgentId===t).length;return{hooks:r,monitors:c+i,subscriptions:h+g}}),gt=o.createSelector(e=>e.sidebarNav.statsOverlayOpen),ve=o.createSelector(e=>b(e).sort((t,s)=>+(s.pinned===!0)-+(t.pinned===!0)||H(t,s)).map(S)),ye=o.createSelector(e=>P(e).filter(t=>!!t.retiredAt).sort(H).map(S)),ft=o.createSelector(e=>[...ve.select(e),...ye.select(e)]),ht=o.createSelector(e=>{const t=b(e).filter(R).sort(U)[0];return t?S(t):null}),St=o.createSelector(e=>{const t=b(e).filter(s=>D(s)===0&&!s.lastMessageId&&R(s)).sort(U)[0];return t?S(t):null}),mt=Object.freeze(Object.defineProperty({__proto__:null,NOTIFY_DURATION:te,TOAST_COUNTDOWN_CLASS:se,TOAST_COUNTDOWN_NO_HOVER_PAUSE_CLASS:re,notify:ee,notifyMetadata:oe,withToastCountdown:ne},Symbol.toStringTag,{value:"Module"}));export{ot as A,at as B,de as C,_ as D,ze as E,$e as F,nt as G,ye as H,St as I,M as J,Je as K,gt as L,qe as M,Ge as N,Fe as O,E as P,Ke as Q,st as R,lt as S,dt as T,Ze as U,et as V,me as W,it as X,Ye as Y,le as a,p as b,He as c,L as d,ae as e,je as f,Be as g,ge as h,mt as i,ft as j,ut as k,pe as l,ue as m,rt as n,tt as o,pt as p,ve as q,Ue as r,xe as s,Qe as t,Xe as u,ht as v,he as w,Ve as x,ct as y,x as z};
|