@intent-hq/web 2.349.0 → 2.350.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{e5cMrke8.js → -SLXtWbg.js} +1 -1
- package/web/app/immutable/chunks/{D1WSBSxV.js → 26eANJdh.js} +1 -1
- package/web/app/immutable/chunks/{BwYW1dkK.js → 286xXFLf.js} +1 -1
- package/web/app/immutable/chunks/{CcWSFJ-V.js → 2B0vRGaJ.js} +1 -1
- package/web/app/immutable/chunks/{Cnd7G5VB.js → 2GRAEVbl.js} +1 -1
- package/web/app/immutable/chunks/{BcDnMnye.js → 2rtvtln4.js} +1 -1
- package/web/app/immutable/chunks/{C20jcbNk.js → 2yJgo8xz.js} +1 -1
- package/web/app/immutable/chunks/{DMJ_kXWl.js → 32pNLDLJ.js} +1 -1
- package/web/app/immutable/chunks/{BLLsZVvW.js → 3hKPUzWE.js} +1 -1
- package/web/app/immutable/chunks/{C6liPF0f.js → 408Hki4d.js} +1 -1
- package/web/app/immutable/chunks/{B21_6eW6.js → 4CvTKhAA.js} +1 -1
- package/web/app/immutable/chunks/{DAPuPOz3.js → 7uJhY2Ro.js} +1 -1
- package/web/app/immutable/chunks/{BRPmfbNP.js → 8j6wyzW6.js} +1 -1
- package/web/app/immutable/chunks/{C2XB0GY0.js → 935km0k5.js} +1 -1
- package/web/app/immutable/chunks/{C-enyvpk.js → Ari-xzJB.js} +1 -1
- package/web/app/immutable/chunks/{B8MtVUO1.js → Auy4scdV.js} +1 -1
- package/web/app/immutable/chunks/{Cn5kmzaj.js → B-DRVFcy.js} +1 -1
- package/web/app/immutable/chunks/{C7Wb4_Fy.js → B0tZqpMw.js} +1 -1
- package/web/app/immutable/chunks/{D1QW0Kek.js → B1eDx3CN.js} +1 -1
- package/web/app/immutable/chunks/{WvnHVkBo.js → B1uWzETW.js} +1 -1
- package/web/app/immutable/chunks/{DJiBCJAD.js → B25aSyPj.js} +1 -1
- package/web/app/immutable/chunks/{BJm_eT-U.js → B2otWDii.js} +1 -1
- package/web/app/immutable/chunks/{_639dNbm.js → B2r-op5b.js} +1 -1
- package/web/app/immutable/chunks/{By_us5QF.js → B3aPtdPQ.js} +1 -1
- package/web/app/immutable/chunks/{QZ612f-7.js → B4oIQ1kI.js} +1 -1
- package/web/app/immutable/chunks/{C1HHC_7R.js → B78lBv8l.js} +1 -1
- package/web/app/immutable/chunks/{BFU2DTxE.js → B79m0-as.js} +1 -1
- package/web/app/immutable/chunks/{xKssrPyL.js → B99vgEcA.js} +1 -1
- package/web/app/immutable/chunks/{GpPmLIf8.js → BANv-BXH.js} +1 -1
- package/web/app/immutable/chunks/{CQnuk5Vr.js → BBYhh_eX.js} +1 -1
- package/web/app/immutable/chunks/{B51DLOiX.js → BByPpbtL.js} +1 -1
- package/web/app/immutable/chunks/{BjFyT_W2.js → BC51na55.js} +1 -1
- package/web/app/immutable/chunks/{CSHUdNXY.js → BCazrMx2.js} +1 -1
- package/web/app/immutable/chunks/{BeCIalNK.js → BD7hz4AD.js} +1 -1
- package/web/app/immutable/chunks/{9YwuUfsE.js → BDh1WR6p.js} +1 -1
- package/web/app/immutable/chunks/{ClKki07I.js → BGFEE7_E.js} +1 -1
- package/web/app/immutable/chunks/{DZ7i3acf.js → BGNS9xef.js} +1 -1
- package/web/app/immutable/chunks/{CM7GBUHK.js → BHpSEINq.js} +1 -1
- package/web/app/immutable/chunks/{CIOLxD2z.js → BIt-EHGB.js} +1 -1
- package/web/app/immutable/chunks/{DNzfQenZ.js → BLSKMxu8.js} +1 -1
- package/web/app/immutable/chunks/{CAKCzVLn.js → BMcc0dQQ.js} +1 -1
- package/web/app/immutable/chunks/{o3xy8uhx.js → BN_2jpxS.js} +1 -1
- package/web/app/immutable/chunks/{C9qO9uPq.js → BNuxEAQs.js} +1 -1
- package/web/app/immutable/chunks/{BIBA0Biz.js → BR3-na8H.js} +1 -1
- package/web/app/immutable/chunks/{BJlw6wnz.js → BRWlAcla.js} +1 -1
- package/web/app/immutable/chunks/{ndibvDk5.js → BRXwopQ4.js} +1 -1
- package/web/app/immutable/chunks/{Cu-I2HTr.js → BRpVJjVZ.js} +1 -1
- package/web/app/immutable/chunks/{C-vkWK8U.js → BRvIFAVQ.js} +1 -1
- package/web/app/immutable/chunks/{BmagX6n5.js → BSSsvY4I.js} +1 -1
- package/web/app/immutable/chunks/{DSWXlbxm.js → BT9NukZQ.js} +1 -1
- package/web/app/immutable/chunks/{DJz4QGRL.js → BTgmF0VM.js} +1 -1
- package/web/app/immutable/chunks/{BJbIj2f5.js → BUPCpU_w.js} +3 -3
- package/web/app/immutable/chunks/{cjWrgEc5.js → BVAf1qqU.js} +1 -1
- package/web/app/immutable/chunks/{CXrz3Q9k.js → BVjxveE3.js} +2 -2
- package/web/app/immutable/chunks/{LMNLZ1NY.js → BVzVRoQ-.js} +1 -1
- package/web/app/immutable/chunks/{BdzBn7bA.js → BWW-jWou.js} +1 -1
- package/web/app/immutable/chunks/{EMb2ha4n.js → BXpSvmYd.js} +1 -1
- package/web/app/immutable/chunks/{CE90SUHM.js → B_5CVv0g.js} +3 -3
- package/web/app/immutable/chunks/{CJyP11U5.js → B_7vJcZK.js} +1 -1
- package/web/app/immutable/chunks/{Bsismerr.js → B_IuZd0O.js} +1 -1
- package/web/app/immutable/chunks/{wzM9lg7r.js → Bj1gLv3I.js} +1 -1
- package/web/app/immutable/chunks/{Gz_dGLcm.js → BjYS0G-V.js} +1 -1
- package/web/app/immutable/chunks/{CMDErhcM.js → BjgP_y-J.js} +1 -1
- package/web/app/immutable/chunks/{aQ1wweeY.js → BkMQXe7-.js} +1 -1
- package/web/app/immutable/chunks/{DkJKEJ06.js → BmMUMiCr.js} +1 -1
- package/web/app/immutable/chunks/{B9CbdVRS.js → BmxmL68T.js} +1 -1
- package/web/app/immutable/chunks/{BeQfIbwM.js → BocgQf5E.js} +1 -1
- package/web/app/immutable/chunks/{TRV263rQ.js → Bp_k45o-.js} +1 -1
- package/web/app/immutable/chunks/{DozUkl5C.js → Bryo-Obg.js} +4 -4
- package/web/app/immutable/chunks/{-QpofkRx.js → BtEQs3u_.js} +3 -3
- package/web/app/immutable/chunks/{DOjarwrj.js → BtEu1RiA.js} +2 -2
- package/web/app/immutable/chunks/{MpnM4XaB.js → Bv8FuKnx.js} +1 -1
- package/web/app/immutable/chunks/{DCZ5UGy-.js → BwZVuT_r.js} +4 -4
- package/web/app/immutable/chunks/{vxHAGoo-.js → BwgrW8yQ.js} +1 -1
- package/web/app/immutable/chunks/{CbAeWmeg.js → Bx0EPbRG.js} +1 -1
- package/web/app/immutable/chunks/{DbxGcVeS.js → By_ZupfB.js} +2 -2
- package/web/app/immutable/chunks/{BNodOXul.js → C-8EePTi.js} +1 -1
- package/web/app/immutable/chunks/{Co3f6qKm.js → C-Hyxax0.js} +1 -1
- package/web/app/immutable/chunks/{Ch4_kkqM.js → C22o2A7n.js} +1 -1
- package/web/app/immutable/chunks/{H0FtMLfI.js → C5_BSKQx.js} +1 -1
- package/web/app/immutable/chunks/{DJkyIBda.js → C6DrVy6-.js} +1 -1
- package/web/app/immutable/chunks/{Bjp6Z7YT.js → C7_ws2_m.js} +1 -1
- package/web/app/immutable/chunks/{D4bOZmAv.js → C7uOzB-k.js} +1 -1
- package/web/app/immutable/chunks/{ycNH2fN8.js → C82N7Ttz.js} +1 -1
- package/web/app/immutable/chunks/{C-wtKDF4.js → C8Tr-F9O.js} +1 -1
- package/web/app/immutable/chunks/{VlylMxmA.js → C9CjIm-I.js} +1 -1
- package/web/app/immutable/chunks/{BFllbeCZ.js → CBTiE17j.js} +1 -1
- package/web/app/immutable/chunks/{Bkf7F_Qx.js → CClSMHHc.js} +1 -1
- package/web/app/immutable/chunks/{BqobArwh.js → CDYEdeFG.js} +1 -1
- package/web/app/immutable/chunks/{CA0nf0gO.js → CEHfILB1.js} +1 -1
- package/web/app/immutable/chunks/{DNy6UqlX.js → CFE62qf4.js} +1 -1
- package/web/app/immutable/chunks/{CTBZsDJn.js → CH0shWeP.js} +1 -1
- package/web/app/immutable/chunks/{CyhLcHZ_.js → CIwCBz4N.js} +1 -1
- package/web/app/immutable/chunks/{CgQUkF-P.js → CJeZnjZ2.js} +1 -1
- package/web/app/immutable/chunks/{B7lF313M.js → CK2a86W3.js} +1 -1
- package/web/app/immutable/chunks/{BMOxNEff.js → CKET0e35.js} +1 -1
- package/web/app/immutable/chunks/{C_p41hnk.js → CKe6gKEB.js} +1 -1
- package/web/app/immutable/chunks/{BdyAQuf8.js → CM0lKKPd.js} +1 -1
- package/web/app/immutable/chunks/{B4CR5dfb.js → CMncH4az.js} +1 -1
- package/web/app/immutable/chunks/{0Ys9jF9i.js → CMvvA2dm.js} +1 -1
- package/web/app/immutable/chunks/{DFl_UPDl.js → CNCNgnPl.js} +1 -1
- package/web/app/immutable/chunks/{CFPsFOEM.js → CNkNQisE.js} +1 -1
- package/web/app/immutable/chunks/{BKawFF96.js → CO6Za00z.js} +2 -2
- package/web/app/immutable/chunks/{BaV_HcgG.js → CPFtOnI7.js} +1 -1
- package/web/app/immutable/chunks/{DLyvIErQ.js → CQGn51Fx.js} +1 -1
- package/web/app/immutable/chunks/{BzXXtRZY.js → CVNsMUrN.js} +2 -2
- package/web/app/immutable/chunks/{2CGxw1E-.js → CVslHwOK.js} +1 -1
- package/web/app/immutable/chunks/{ra3YYtwY.js → Ca33AaL6.js} +1 -1
- package/web/app/immutable/chunks/{DpNO08YA.js → CbVK4mzc.js} +1 -1
- package/web/app/immutable/chunks/{lbBEThX6.js → Cbr15rLJ.js} +1 -1
- package/web/app/immutable/chunks/{CESQT1SZ.js → CdmGeaJT.js} +1 -1
- package/web/app/immutable/chunks/{DHClt9az.js → ChmnWquS.js} +1 -1
- package/web/app/immutable/chunks/{BWzmS9rr.js → CisyaOFD.js} +1 -1
- package/web/app/immutable/chunks/{D_rHnmLE.js → Cjw1QvKa.js} +1 -1
- package/web/app/immutable/chunks/{VH54VSPn.js → Cn9rdOTG.js} +1 -1
- package/web/app/immutable/chunks/{BHeDLdQn.js → CncRZ2UX.js} +1 -1
- package/web/app/immutable/chunks/{0vrZgCji.js → CncaMZP7.js} +1 -1
- package/web/app/immutable/chunks/{BRadcq2w.js → Cosr3Aeo.js} +2 -2
- package/web/app/immutable/chunks/{DgOx26JX.js → CpRIbMDe.js} +1 -1
- package/web/app/immutable/chunks/{DxWZwZdx.js → Cq31bVAU.js} +1 -1
- package/web/app/immutable/chunks/{Bu9v967D.js → CrGdgRLR.js} +1 -1
- package/web/app/immutable/chunks/{ERFmpNRs.js → Crbgpexl.js} +1 -1
- package/web/app/immutable/chunks/{B9O5QYHa.js → Cs2fCAnT.js} +1 -1
- package/web/app/immutable/chunks/{CNttRhcj.js → CtMMpgin.js} +1 -1
- package/web/app/immutable/chunks/{Cayy-ftZ.js → Ctvf1zqH.js} +1 -1
- package/web/app/immutable/chunks/{Du0V4O1Q.js → Cw94LfJC.js} +1 -1
- package/web/app/immutable/chunks/{CiLRDPyT.js → Cwzl8GTd.js} +1 -1
- package/web/app/immutable/chunks/{D9xzAHI_.js → CxF8YFum.js} +1 -1
- package/web/app/immutable/chunks/{DwvH6ihg.js → CxxiwOxz.js} +1 -1
- package/web/app/immutable/chunks/{D0yYfpFT.js → CyRJV2Ki.js} +1 -1
- package/web/app/immutable/chunks/{C5uQZx4q.js → CypR-p04.js} +1 -1
- package/web/app/immutable/chunks/{DBigkuTi.js → CzZDc-Ii.js} +1 -1
- package/web/app/immutable/chunks/{CyZzaZYX.js → D2JEXCBC.js} +1 -1
- package/web/app/immutable/chunks/{Bw5h0b4B.js → D3HUOTfX.js} +1 -1
- package/web/app/immutable/chunks/{Dgv1nn7D.js → D3v_P2Uq.js} +1 -1
- package/web/app/immutable/chunks/{xmUlEbpq.js → D3wOVtz4.js} +1 -1
- package/web/app/immutable/chunks/{DFXV1wIW.js → D4xoTssJ.js} +3 -3
- package/web/app/immutable/chunks/{Dn-5sae7.js → D68W4EG9.js} +1 -1
- package/web/app/immutable/chunks/{B1yX4XGq.js → D6FxazmU.js} +1 -1
- package/web/app/immutable/chunks/{B0rIXGc4.js → D7W4zxlI.js} +1 -1
- package/web/app/immutable/chunks/{CuK2Zw46.js → D7v0ZhmL.js} +1 -1
- package/web/app/immutable/chunks/{BgUSjvxc.js → D897Deqj.js} +1 -1
- package/web/app/immutable/chunks/{DZyjGspJ.js → D8acXZuO.js} +12 -12
- package/web/app/immutable/chunks/{D4nVXLyT.js → D93fSt3I.js} +1 -1
- package/web/app/immutable/chunks/{CtiseZKO.js → DBwXC8Tc.js} +1 -1
- package/web/app/immutable/chunks/{C8_8H2HU.js → DEWFL8HN.js} +2 -2
- package/web/app/immutable/chunks/{D-5Zsg_M.js → DEkf_jel.js} +1 -1
- package/web/app/immutable/chunks/{DThHr-M9.js → DEoOAy1Z.js} +1 -1
- package/web/app/immutable/chunks/DGQ1ECsI.js +1 -0
- package/web/app/immutable/chunks/{Fq8M_XAT.js → DISea0WG.js} +1 -1
- package/web/app/immutable/chunks/{utDAmz_H.js → DJBAuZjD.js} +1 -1
- package/web/app/immutable/chunks/{B_Tk6TVS.js → DJHJbx3B.js} +1 -1
- package/web/app/immutable/chunks/{K6Z_l6pq.js → DKPFCCGK.js} +1 -1
- package/web/app/immutable/chunks/{BpftDedA.js → DLbCIONA.js} +1 -1
- package/web/app/immutable/chunks/{Dz1riI3m.js → DLibMiVC.js} +1 -1
- package/web/app/immutable/chunks/{BTHEWI_S.js → DM6SW5ie.js} +1 -1
- package/web/app/immutable/chunks/{D-IkFfCX.js → DNZhZg57.js} +1 -1
- package/web/app/immutable/chunks/{BTUjIyAV.js → DP5_VjDz.js} +1 -1
- package/web/app/immutable/chunks/{PysgAWQl.js → DQWngE5E.js} +2 -2
- package/web/app/immutable/chunks/{Cw7ROLv9.js → DR7u6lm0.js} +1 -1
- package/web/app/immutable/chunks/{DPevKyzH.js → DTowKbOf.js} +4 -4
- package/web/app/immutable/chunks/{Y7H0Q9T9.js → DTzXgeFz.js} +1 -1
- package/web/app/immutable/chunks/{Bw6C51Z8.js → DU8fiCcb.js} +1 -1
- package/web/app/immutable/chunks/{CHJZj-fd.js → DVpbdNgF.js} +1 -1
- package/web/app/immutable/chunks/{CmG1GbmA.js → DW8-b4qF.js} +1 -1
- package/web/app/immutable/chunks/{ClQp3PSY.js → DZ-cwX5R.js} +2 -2
- package/web/app/immutable/chunks/{CU5gGNrG.js → DZUdTlgs.js} +1 -1
- package/web/app/immutable/chunks/{B9lVck2z.js → D_euwo9H.js} +1 -1
- package/web/app/immutable/chunks/{DZVkFfA6.js → Db1OxcFa.js} +1 -1
- package/web/app/immutable/chunks/{NBz8yHrY.js → DbM1yRvv.js} +1 -1
- package/web/app/immutable/chunks/{Bpb2sW6o.js → DcSI1nK9.js} +1 -1
- package/web/app/immutable/chunks/{Gq5VdtSX.js → DdDbAXaw.js} +1 -1
- package/web/app/immutable/chunks/{DQh8iE7C.js → DfHhvXgb.js} +1 -1
- package/web/app/immutable/chunks/{BNS1LCAy.js → DgvbF3tj.js} +1 -1
- package/web/app/immutable/chunks/{QiHSe7pE.js → DhNmiaLk.js} +1 -1
- package/web/app/immutable/chunks/{u2UWf7Y4.js → DhoyV3Yf.js} +2 -2
- package/web/app/immutable/chunks/{Ca30sbat.js → DiRf9bEu.js} +4 -4
- package/web/app/immutable/chunks/{CVc3afbh.js → DldD9pcf.js} +2 -2
- package/web/app/immutable/chunks/{CQk97DU6.js → DokA8xhc.js} +1 -1
- package/web/app/immutable/chunks/{BfHcmF2O.js → DopiS9Ix.js} +1 -1
- package/web/app/immutable/chunks/{Baz0g_kI.js → Dqx3L5zl.js} +1 -1
- package/web/app/immutable/chunks/{RAtz5BJe.js → Dqy9L9od.js} +1 -1
- package/web/app/immutable/chunks/{BYBv_fLl.js → Dsv-aPKR.js} +3 -3
- package/web/app/immutable/chunks/{CtnRAN1I.js → Dv1uFWMY.js} +1 -1
- package/web/app/immutable/chunks/{Dsa4n88U.js → Dw4yJGUy.js} +1 -1
- package/web/app/immutable/chunks/{Dy3Z_3JL.js → DwEnF1oU.js} +1 -1
- package/web/app/immutable/chunks/{UkcaZDPC.js → DwWmN_70.js} +1 -1
- package/web/app/immutable/chunks/DxLMmDZH.js +1 -0
- package/web/app/immutable/chunks/{Bb5T6-Tv.js → Dy0WXzUp.js} +2 -2
- package/web/app/immutable/chunks/{DSWBNeO8.js → EBvHmS3f.js} +1 -1
- package/web/app/immutable/chunks/{C73NY2AB.js → FoUQsQJW.js} +1 -1
- package/web/app/immutable/chunks/{BLOjz32P.js → GyHTdhNa.js} +1 -1
- package/web/app/immutable/chunks/H2SodBVA.js +1 -0
- package/web/app/immutable/chunks/{BRomtsr7.js → HHfiH428.js} +1 -1
- package/web/app/immutable/chunks/Hc3ynozM.js +1 -0
- package/web/app/immutable/chunks/{5SqYTp29.js → LIrM5l7a.js} +1 -1
- package/web/app/immutable/chunks/{B3SGnWra.js → LeGktTWT.js} +1 -1
- package/web/app/immutable/chunks/{B7Df-Pbj.js → Lp_ZOIfH.js} +2 -2
- package/web/app/immutable/chunks/{T-UCXbJS.js → MbX_TGmS.js} +1 -1
- package/web/app/immutable/chunks/{B2eAyNSi.js → NkFvZgbA.js} +1 -1
- package/web/app/immutable/chunks/{u8LnBJs1.js → OvIv7krR.js} +1 -1
- package/web/app/immutable/chunks/{DK1WtQKR.js → VSW9MxJG.js} +3 -3
- package/web/app/immutable/chunks/{BLAOZHWQ.js → VbWa-HQf.js} +1 -1
- package/web/app/immutable/chunks/{Cyu02R5O.js → VqXoK0d_.js} +1 -1
- package/web/app/immutable/chunks/{BtKOOSsW.js → WuzNFiDL.js} +1 -1
- package/web/app/immutable/chunks/{D4r0rKFl.js → WydNOMQI.js} +1 -1
- package/web/app/immutable/chunks/{B3RsHzWp.js → Xn8V9ehY.js} +1 -1
- package/web/app/immutable/chunks/{DvvIOlOp.js → Y5hz4Ndf.js} +1 -1
- package/web/app/immutable/chunks/{B5G4SPkG.js → YeEGAsBO.js} +1 -1
- package/web/app/immutable/chunks/{D8oCNZJt.js → ZlJ0OsQO.js} +3 -3
- package/web/app/immutable/chunks/{BbgSAX3i.js → ZvvpWnYF.js} +1 -1
- package/web/app/immutable/chunks/{BHqqRyT8.js → cHlEaLvO.js} +1 -1
- package/web/app/immutable/chunks/{CUyvQglq.js → d34yYkdR.js} +1 -1
- package/web/app/immutable/chunks/{C17Klvq4.js → dt-eIcjK.js} +1 -1
- package/web/app/immutable/chunks/{jeQJPkPX.js → eIlGg2ZH.js} +1 -1
- package/web/app/immutable/chunks/{Cw3xVp_u.js → fE-kcmYj.js} +1 -1
- package/web/app/immutable/chunks/{IOLk9WTr.js → hqwi43PO.js} +1 -1
- package/web/app/immutable/chunks/{DR-BIfRu.js → iP2vS2hx.js} +1 -1
- package/web/app/immutable/chunks/{jvSooljK.js → kNB7-RPS.js} +1 -1
- package/web/app/immutable/chunks/{EhMQOMj3.js → khgof0nR.js} +1 -1
- package/web/app/immutable/chunks/{DKkMoi_7.js → ktHrl9fr.js} +1 -1
- package/web/app/immutable/chunks/{Ctp2YBhQ.js → mxwa8yTT.js} +1 -1
- package/web/app/immutable/chunks/{JzReAjFF.js → nelewHAT.js} +1 -1
- package/web/app/immutable/chunks/{v9ob0vCO.js → ouB3SqBV.js} +1 -1
- package/web/app/immutable/chunks/{DjhrVk-G.js → q3dUaF0j.js} +1 -1
- package/web/app/immutable/chunks/{NSYi6AlX.js → qVFwsb4j.js} +1 -1
- package/web/app/immutable/chunks/{BwUnz25X.js → qWDVui2f.js} +1 -1
- package/web/app/immutable/chunks/{D9BiEPlJ.js → rEoZFmiI.js} +1 -1
- package/web/app/immutable/chunks/{D4LrTene.js → rbrWRnHh.js} +1 -1
- package/web/app/immutable/chunks/{BPrwAqEs.js → thMcSp0N.js} +1 -1
- package/web/app/immutable/chunks/{CCoYF4yh.js → vCsRAP9U.js} +1 -1
- package/web/app/immutable/chunks/{DDgbK4p-.js → wMJR-wv6.js} +1 -1
- package/web/app/immutable/chunks/{CTA4usCn.js → x2y577z4.js} +1 -1
- package/web/app/immutable/chunks/{Ce3Ams7F.js → xCXPOQKs.js} +1 -1
- package/web/app/immutable/chunks/{mp0CeHil.js → xt_aYD5Y.js} +1 -1
- package/web/app/immutable/entry/{app.B5_j9_5M.js → app.CWKtj1qb.js} +3 -3
- package/web/app/immutable/entry/start.DscDu9_j.js +1 -0
- package/web/app/immutable/nodes/{0.DHuGbpUL.js → 0.C-ApG_ZV.js} +1 -1
- package/web/app/immutable/nodes/{1.WwJLTbbm.js → 1.7Yef1c7P.js} +1 -1
- package/web/app/immutable/nodes/{10.CPuWWcG0.js → 10.CgeOLrTm.js} +1 -1
- package/web/app/immutable/nodes/{11.D_8o4hy2.js → 11.BNBCl9Ko.js} +1 -1
- package/web/app/immutable/nodes/{12.CZZ5SuMc.js → 12.BriSlPZC.js} +1 -1
- package/web/app/immutable/nodes/{13.BCLve-7_.js → 13.QpfX0_5g.js} +3 -3
- package/web/app/immutable/nodes/{14.BcQJ7NXl.js → 14.D6hgWRXD.js} +1 -1
- package/web/app/immutable/nodes/{15.ClAlFdyg.js → 15.DdEMX_Kl.js} +1 -1
- package/web/app/immutable/nodes/{16.CuGK30BG.js → 16.rtMs5JTy.js} +1 -1
- package/web/app/immutable/nodes/{17.D7rHJr6p.js → 17.DDfq3IKN.js} +1 -1
- package/web/app/immutable/nodes/{18.zJtnTeH6.js → 18.4frHbkPA.js} +2 -2
- package/web/app/immutable/nodes/{2.0AUsew1o.js → 2.BMmCaZ13.js} +4 -4
- package/web/app/immutable/nodes/{3.BAKoHu3T.js → 3.LGsMTwHE.js} +1 -1
- package/web/app/immutable/nodes/{4.DvgOQOfh.js → 4.D_DWD0G6.js} +1 -1
- package/web/app/immutable/nodes/{5.B3LUyqZc.js → 5.NArgqqzw.js} +1 -1
- package/web/app/immutable/nodes/{6.CQSK8GlV.js → 6.eVsatkxX.js} +1 -1
- package/web/app/immutable/nodes/{7.C0YP__gO.js → 7.DfBjcCho.js} +1 -1
- package/web/app/immutable/nodes/{8.CCQs8dWr.js → 8.mrAj_KlQ.js} +12 -12
- package/web/app/immutable/nodes/{9.BLr02eF_.js → 9.DcP-Tpxp.js} +5 -5
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +9 -9
- package/web/index.html +18 -18
- package/web/app/immutable/chunks/BKdLSL00.js +0 -1
- package/web/app/immutable/chunks/BnJDHHUb.js +0 -1
- package/web/app/immutable/chunks/CT36W95j.js +0 -1
- package/web/app/immutable/chunks/ClBJ4iZ6.js +0 -1
- package/web/app/immutable/entry/start.mb9UH8tB.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Ut}from"./QZ612f-7.js";import{s as Kt}from"./Dz1riI3m.js";import{b as f,C as Tt,a_ as Zt,V as jt,aZ as Wt,U as qt,b0 as Ht,Y as Qt,X as tt,ay as F,z as Xt,r as Jt,$ as $t,am as te,aU as ee,ab as se,aG as ie,aT as re,p as ae,_ as ne,a1 as oe,aP as ce,aW as le,bh as he}from"./DozUkl5C.js";var Ct=(function(){var s=f(function(G,n,l,d){for(l=l||{},d=G.length;d--;l[G[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],u=[1,10],y=[1,11],g=[1,12],k=[1,30],C=[1,23],p=[1,24],b=[1,25],A=[1,26],v=[1,27],O=[1,19],N=[1,28],I=[1,29],x=[1,20],D=[1,18],L=[1,21],w=[1,22],Ot=[2,6],h=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],dt=[1,36],pt=[1,37],ft=[1,38],bt=[1,39],gt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],W=[43,51,53,54,55,74,75],q=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],Nt=[69,70,71,72,73],xt=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],yt=[18,61,64,66],_t={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,l,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},s(a,Ot,{1:[2,1]}),s(h,[2,3]),s(h,[2,4]),s(h,[2,5]),s(h,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:dt,70:pt,71:ft,72:bt,73:gt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(h,[2,26]),s(h,[2,27]),s(h,[2,28]),s(h,[2,29]),s(h,[2,30]),s(h,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(h,[2,36]),s(h,[2,37]),s(h,[2,38]),s(h,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:O,51:x,53:D,54:L,55:w},{10:51,43:O,51:x,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:O,51:x,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(W,[2,77]),s(W,[2,78]),s(W,[2,79]),s(W,[2,80]),s(W,[2,81]),s(h,[2,23]),s(h,[2,24]),s(h,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},{12:q,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:q,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(h,[2,16],{67:35,11:81,16:[1,82],45:B,69:dt,70:pt,71:ft,72:bt,73:gt}),{18:[1,83]},s(h,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:dt,70:pt,71:ft,72:bt,73:gt},s(Nt,[2,82]),s(Nt,[2,83]),s(h,[2,31]),s(h,Ot),{6:st,9:it,35:90,45:xt,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:q,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(h,[2,45],{45:B}),{6:st,9:it,35:95,45:xt,50:rt},s(h,[2,32]),{10:97,36:96,43:O,51:x,53:D,54:L,55:w},s(h,[2,51]),s(h,[2,52]),s(h,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:O,51:x,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(h,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(h,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(h,[2,40]),{12:q,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(h,[2,46]),{10:115,20:[1,114],43:O,51:x,53:D,54:L,55:w},s(vt,[2,34]),s(h,[2,7]),s(h,[2,84]),s(h,[2,85]),s(h,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(h,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(yt,[2,72]),s(J,[2,75]),s(yt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:q,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(h,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(h,[2,19]),s(h,[2,22],{16:[1,131],45:B}),s(h,[2,33]),s(h,[2,10]),{12:[1,132],45:B},s(h,[2,9]),s(yt,[2,73]),s(h,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(h,[2,20]),s(h,[2,8]),s(h,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),parse:f(function(n){var l=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",lt=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Y.yy[kt]=this.yy[kt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var mt=m.yylloc;t.push(mt);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=l.symbols_[S]||S),S}f(wt,"lex");for(var E,P,T,Et,U={},ht,R,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),T=$[P]&&$[P][E]),typeof T>"u"||!T.length||!T[0]){var St="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?St="Parse error on line "+(lt+1)+`:
|
|
1
|
+
import{g as Ut}from"./B4oIQ1kI.js";import{s as Kt}from"./DLibMiVC.js";import{b as f,C as Tt,a_ as Zt,V as jt,aZ as Wt,U as qt,b0 as Ht,Y as Qt,X as tt,ay as F,z as Xt,r as Jt,$ as $t,am as te,aU as ee,ab as se,aG as ie,aT as re,p as ae,_ as ne,a1 as oe,aP as ce,aW as le,bh as he}from"./Bryo-Obg.js";var Ct=(function(){var s=f(function(G,n,l,d){for(l=l||{},d=G.length;d--;l[G[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],u=[1,10],y=[1,11],g=[1,12],k=[1,30],C=[1,23],p=[1,24],b=[1,25],A=[1,26],v=[1,27],O=[1,19],N=[1,28],I=[1,29],x=[1,20],D=[1,18],L=[1,21],w=[1,22],Ot=[2,6],h=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],dt=[1,36],pt=[1,37],ft=[1,38],bt=[1,39],gt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],W=[43,51,53,54,55,74,75],q=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],Nt=[69,70,71,72,73],xt=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],yt=[18,61,64,66],_t={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,l,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},s(a,Ot,{1:[2,1]}),s(h,[2,3]),s(h,[2,4]),s(h,[2,5]),s(h,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:dt,70:pt,71:ft,72:bt,73:gt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(h,[2,26]),s(h,[2,27]),s(h,[2,28]),s(h,[2,29]),s(h,[2,30]),s(h,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(h,[2,36]),s(h,[2,37]),s(h,[2,38]),s(h,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:O,51:x,53:D,54:L,55:w},{10:51,43:O,51:x,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:O,51:x,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(W,[2,77]),s(W,[2,78]),s(W,[2,79]),s(W,[2,80]),s(W,[2,81]),s(h,[2,23]),s(h,[2,24]),s(h,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},{12:q,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:q,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(h,[2,16],{67:35,11:81,16:[1,82],45:B,69:dt,70:pt,71:ft,72:bt,73:gt}),{18:[1,83]},s(h,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:dt,70:pt,71:ft,72:bt,73:gt},s(Nt,[2,82]),s(Nt,[2,83]),s(h,[2,31]),s(h,Ot),{6:st,9:it,35:90,45:xt,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:q,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(h,[2,45],{45:B}),{6:st,9:it,35:95,45:xt,50:rt},s(h,[2,32]),{10:97,36:96,43:O,51:x,53:D,54:L,55:w},s(h,[2,51]),s(h,[2,52]),s(h,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:O,51:x,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(h,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(h,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(h,[2,40]),{12:q,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(h,[2,46]),{10:115,20:[1,114],43:O,51:x,53:D,54:L,55:w},s(vt,[2,34]),s(h,[2,7]),s(h,[2,84]),s(h,[2,85]),s(h,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(h,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(yt,[2,72]),s(J,[2,75]),s(yt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:q,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(h,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(h,[2,19]),s(h,[2,22],{16:[1,131],45:B}),s(h,[2,33]),s(h,[2,10]),{12:[1,132],45:B},s(h,[2,9]),s(yt,[2,73]),s(h,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(h,[2,20]),s(h,[2,8]),s(h,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),parse:f(function(n){var l=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",lt=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Y.yy[kt]=this.yy[kt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var mt=m.yylloc;t.push(mt);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=l.symbols_[S]||S),S}f(wt,"lex");for(var E,P,T,Et,U={},ht,R,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),T=$[P]&&$[P][E]),typeof T>"u"||!T.length||!T[0]){var St="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?St="Parse error on line "+(lt+1)+`:
|
|
2
2
|
`+m.showPosition()+`
|
|
3
3
|
Expecting `+ut.join(", ")+", got '"+(this.terminals_[E]||E)+"'":St="Parse error on line "+(lt+1)+": Unexpected "+(E==Lt?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(St,{text:m.match,token:this.terminals_[E]||E,line:m.yylineno,loc:mt,expected:ut})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+E);switch(T[0]){case 1:d.push(E),_.push(m.yytext),t.push(m.yylloc),d.push(T[1]),E=null,Dt=m.yyleng,e=m.yytext,lt=m.yylineno,mt=m.yylloc;break;case 2:if(R=this.productions_[T[1]][1],U.$=_[_.length-R],U._$={first_line:t[t.length-(R||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(R||1)].first_column,last_column:t[t.length-1].last_column},Pt&&(U._$.range=[t[t.length-(R||1)].range[0],t[t.length-1].range[1]]),Et=this.performAction.apply(U,[e,Dt,lt,Y.yy,T[1],_,t].concat(Yt)),typeof Et<"u")return Et;R&&(d=d.slice(0,-1*R*2),_=_.slice(0,-1*R),t=t.slice(0,-1*R)),d.push(this.productions_[T[1]][0]),_.push(U.$),t.push(U._$),Vt=$[d[d.length-2]][d[d.length-1]],d.push(Vt);break;case 3:return!0}}return!0},"parse")},Gt=(function(){var G={EOF:1,parseError:f(function(l,d){if(this.yy.parser)this.yy.parser.parseError(l,d);else throw new Error(l)},"parseError"),setInput:f(function(n,l){return this.yy=l||this.yy||{},this._input=n,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 n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var l=n.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:f(function(n){var l=n.length,d=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var i=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),d.length-1&&(this.yylineno-=d.length-1);var _=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:d?(d.length===i.length?this.yylloc.first_column:0)+i[i.length-d.length].length-d[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-l]),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(n){this.unput(this.match.slice(n))},"less"),pastInput:f(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var n=this.pastInput(),l=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Iv as o,b3 as d}from"./
|
|
1
|
+
import{Iv as o,b3 as d}from"./BSSsvY4I.js";const f=o.createSelector((t,r)=>t.uiHighlight.activeById[r.trim()]??0),m=o.createSelector((t,r)=>t.uiHighlight.durationMsById[r.trim()]),n="ui-highlight-pulse-ring";function u(t){return(t??"").trim()}function T(t,r={}){let s=u(r.id??t.dataset.highlightId),a=0,l;function c(){t.classList.remove(n)}function g(e){t.classList.remove(n),t.offsetWidth,t.classList.add(n),l&&clearTimeout(l),l=setTimeout(c,e??d)}function h(){if(!s)return;let e;try{e=o.state}catch{return}const i=f.select(e,s);i>0&&i!==a&&(a=i,g(m.select(e,s)))}const I=setInterval(h,100);return h(),{update(e={}){const i=u(e.id??t.dataset.highlightId);i!==s&&(s=i,a=0,c(),h())},destroy(){clearInterval(I),l&&clearTimeout(l),c()}}}export{T as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as o}from"./
|
|
1
|
+
import{b as o}from"./Bryo-Obg.js";var c=1;function i(){if(!(typeof globalThis>"u"))return globalThis}o(i,"getCaptureGlobal");function p(){return!!i()?.mermaidCaptureSizes}o(p,"shouldCaptureSizes");function u(){return typeof location>"u"?"browser-dev":`${location.pathname}${location.search}`}o(u,"capturedFromLocation");function d(n,r){const t=i();if(!t)return;const e=r.node(),s=((e&&"ownerSVGElement"in e?e.ownerSVGElement:null)??e)?.id??"(unknown)";t.mermaidCapturedSizes??=[];const a={svgId:s,sizes:n};t.mermaidCapturedSizes.push(a),t.mermaidLastCapturedSizes=a}o(d,"emitCapturedSizes");function m(n,r){const t=[];for(const e of r.nodes)e.isGroup||t.push({id:e.id,width:e.width??0,height:e.height??0});t.length!==0&&d({metadata:{captureVersion:c,capturedAt:new Date().toISOString(),capturedFrom:u()},nodes:t},n)}o(m,"captureNodeSizes");export{m as captureNodeSizes,p as shouldCaptureSizes};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as ht,bq as _,bo as g,by as bt,b as xt}from"./
|
|
1
|
+
import{t as ht,bq as _,bo as g,by as bt,b as xt}from"./DGQ1ECsI.js";import{bs as yt,a7 as kt,ay as Q,W as p,bn as At,aA as h,a5 as F,bS as u,bl as S,bA as W,aD as e,b_ as D,bO as x,aB as k,bH as et,c9 as y,bV as at,be as wt,b$ as It}from"./DYhIMPy1.js";import{i as f}from"./B-DRVFcy.js";import{I as Bt,g as Ct}from"./D3HUOTfX.js";import{I as Pt,D as zt}from"./DNZhZg57.js";import{f as M}from"./CxF8YFum.js";import"./DZ-cwX5R.js";import"./Bp_k45o-.js";import"./ChmnWquS.js";import{F as rt,c9 as Rt,cl as St,aq as Wt}from"./Cjw1QvKa.js";import{e as Dt}from"./Cosr3Aeo.js";import{D as Lt}from"./DcSI1nK9.js";import{Iv as $t,uk as qt}from"./BSSsvY4I.js";import{g as Ht}from"./BVjxveE3.js";var Nt=k('<span class="type-caption shrink-0 font-medium text-success"> </span>'),Ft=k('<!> <span class="type-body flex-1 truncate text-left font-medium text-foreground"> </span> <span class="type-caption shrink-0 tabular-nums"><span class="text-success"> </span> <span class="ml-1 text-danger"> </span></span> <!>',1),Mt=k("<!> ",1),Ot=k('<div class="mb-2 flex gap-1"></div>'),Vt=k('<div class="border-t border-border p-2"><!> <!></div>'),jt=k('<div class="ws-block-widget type-body my-2 overflow-hidden rounded-md border border-border bg-card text-foreground shadow-(--elevation-raised)"><div class="flex min-h-9 items-center gap-2 px-3 py-1.5"><!> <!> <!></div> <!></div>'),Et=k('<div class="ws-block-widget type-caption my-2 text-muted-foreground"> </div>');function Tt(U,n){if(new.target)return ht({component:Tt,...U});yt(n,!0);let A=_(n,"patches",7),O=_(n,"label",23,()=>g.ui_patchBlock_label()),V=_(n,"lastApply",7),w=_(n,"linkedAgentId",7),L=_(n,"workspaceId",7),P=_(n,"applying",7,!1),$=_(n,"onApply",7),q=_(n,"onRevert",7),j=at(!1),E=at(0),z=y(()=>A()?.[e(E)]),T=y(()=>V()?.status==="success");function st(t){const o=t.split(`
|
|
2
2
|
`);let v=0,b=0;for(const I of o)I.startsWith("+")&&!I.startsWith("+++")?v++:I.startsWith("-")&&!I.startsWith("---")&&b++;return{addCount:v,removeCount:b}}let X=y(()=>e(z)?st(e(z).diff):{addCount:0,removeCount:0}),G=y(()=>P()?{label:g.ui_patchBlock_applying_label(),icon:null}:e(T)?{label:g.ui_patchBlock_revert_label(),icon:St}:{label:g.ui_patchBlock_apply_label(),icon:Wt}),nt=y(()=>!!($()||q()));function ot(){et(j,!e(j))}function lt(){e(T)?q()?.():$()?.()}var it={get patches(){return A()},set patches(t){A(t),h()},get label(){return O()},set label(t=g.ui_patchBlock_label()){O(t),h()},get lastApply(){return V()},set lastApply(t){V(t),h()},get linkedAgentId(){return w()},set linkedAgentId(t){w(t),h()},get workspaceId(){return L()},set workspaceId(t){L(t),h()},get applying(){return P()},set applying(t=!1){P(t),h()},get onApply(){return $()},set onApply(t){$(t),h()},get onRevert(){return q()},set onRevert(t){q(t),h()},$set:bt,$on:(t,o)=>xt(n,t,o)},Y=kt(),ct=Q(Y);{var dt=t=>{var o=jt(),v=F(o),b=F(v);{var I=a=>{{let c=y(()=>g.ui_patchBlock_viewAgent_tooltip());M(a,{variant:"plain",size:"icon-compact",iconOnly:!0,class:"size-4! shrink-0 rounded-sm! transition-opacity hover:opacity-80",onclick:l=>{L()&&$t.dispatch(qt(L(),{agentId:w(),...Ht(l)}))},get title(){return e(c)},children:(l,m)=>{Dt(l,{get agentId(){return w()},variant:"compact"})},$$slots:{default:!0}})}};f(b,a=>{w()&&a(I)})}var Z=u(b,2);M(Z,{variant:"plain",size:"compact",class:"h-auto! min-w-0 flex-1 shrink items-center justify-start gap-2 px-0! py-0! text-muted-foreground transition-colors hover:text-foreground",truncateLabel:!1,labelClass:"flex min-w-0 flex-1 items-center gap-2",onclick:ot,children:(a,c)=>{var l=Ft(),m=Q(l);{var B=i=>{rt(i,{get icon(){return Rt},size:10,class:"text-muted-foreground"})};f(m,i=>{w()||i(B)})}var C=u(m,2),s=S(C,!0),d=u(C,2),r=F(d),R=S(r),H=u(r,2),J=S(H);W(d);var K=u(d,2);{var tt=i=>{var N=Nt(),_t=S(N,!0);D(gt=>x(_t,gt),[()=>g.ui_patchBlock_applied_label()]),p(i,N)};f(K,i=>{e(T)&&i(tt)})}D(()=>{x(s,O()),x(R,`+${e(X).addCount??""}`),x(J,`-${e(X).removeCount??""}`)}),p(a,l)},$$slots:{default:!0}});var ut=u(Z,2);{var ft=a=>{M(a,{variant:"ghost-light",size:"sm",class:"type-caption shrink-0",onclick:lt,get disabled(){return P()},children:(c,l)=>{var m=Mt(),B=Q(m);{var C=r=>{Bt(r,{size:12})},s=r=>{rt(r,{get icon(){return e(G).icon},size:"xs"})};f(B,r=>{P()?r(C):e(G).icon&&r(s,1)})}var d=u(B);D(()=>x(d,` ${e(G).label??""}`)),p(c,m)},$$slots:{default:!0}})};f(ut,a=>{e(nt)&&a(ft)})}W(v);var vt=u(v,2);{var mt=a=>{var c=Vt(),l=F(c);{var m=s=>{var d=Ot();Ct(d,23,A,(r,R)=>`patch-${R}-${r.filePath}`,(r,R,H)=>{{let J=y(()=>e(H)===e(E)?"default":"ghost-light");M(r,{get variant(){return e(J)},size:"sm",class:"type-caption",onclick:()=>et(E,e(H),!0),children:(K,tt)=>{wt();var i=It();D(N=>x(i,N),[()=>e(R).filePath.split("/").pop()]),p(K,i)},$$slots:{default:!0}})}}),W(d),p(s,d)};f(l,s=>{A().length>1&&s(m)})}var B=u(l,2);{var C=s=>{Lt(s,{get patch(){return e(z).diff},get fileName(){return e(z).filePath},showHeader:!0,showStats:!0,showLineNumbers:!0,maxHeight:"300px",collapsible:!1,class:"overflow-hidden rounded-sm border border-border"})};f(B,s=>{e(z)&&s(C)})}W(c),Pt(3,c,()=>zt,()=>({tier:"moderate"})),p(a,c)};f(vt,a=>{e(j)&&a(mt)})}W(o),p(t,o)},pt=t=>{var o=Et(),v=S(o,!0);D(b=>x(v,b),[()=>g.ui_patchBlock_invalid_error()]),p(t,o)};f(ct,t=>{A()?.length?t(dt):t(pt,-1)})}return p(U,Y),At(it)}export{Tt as P};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as Re,bq as i,bo as n,by as Ue,bu as Oe,bs as Wt,b as Fe}from"./CT36W95j.js";import{ai as Kt,bo as Vt,bs as ze,bV as $,br as Jt,ca as _e,aD as e,bj as Gt,bH as a,c5 as nt,a5 as j,bl as N,bS as c,bA as O,b_ as H,bO as h,W as g,bn as je,c9 as _,aA as d,ay as V,a7 as Be,aB as B,bf as rt,aj as Qt,be as X,b$ as Y}from"./DYhIMPy1.js";import{i as Z}from"./Cn5kmzaj.js";import{b as Xt}from"./BaIAhI85.js";import{s as at,c as Yt,e as lt,f as Zt}from"./TRV263rQ.js";import"./D9BiEPlJ.js";import"./_639dNbm.js";import"./DHClt9az.js";import"./ClQp3PSY.js";import"./DBigkuTi.js";import{s as en,c as tn}from"./Du0V4O1Q.js";import{z as ve,Iv as W,hJ as pe,sc as nn,hM as st}from"./BmagX6n5.js";import{g as rn,i as an}from"./Bw5h0b4B.js";import{f as K}from"./D9xzAHI_.js";import{a as ln,T as sn,S as on}from"./B3RsHzWp.js";import{I as Ae}from"./BdyAQuf8.js";import"./CUyvQglq.js";import"./BwYW1dkK.js";import"./C_p41hnk.js";import"./ChTqQfQN.js";import"./DJkyIBda.js";import{C as cn,c as dn,o as un}from"./Bkf7F_Qx.js";import{at as fn,b1 as _n,aU as pn,R as vn}from"./CmG1GbmA.js";import{i as bn,p as mn}from"./CyhLcHZ_.js";var gn=B('<span class="size-4 rounded-full border border-muted-foreground/60 bg-background" aria-hidden="true"></span>'),hn=B('<span aria-hidden="true"></span>'),xn=B('<p class="text-xs text-subtle"> </p> <p class="text-xs text-subtle"> <a class="text-primary-ink hover:underline">github.com/intent-hq/intentd</a> </p>',1),yn=B('<div class="space-y-1"><label class="text-xs text-subtle" for="connect-name"> </label> <!></div> <div class="flex min-w-0 items-end gap-4" data-connect-appearance=""><fieldset class="min-w-0 flex-1 space-y-1"><legend class="text-xs text-subtle"> </legend> <div class="flex flex-wrap gap-1"></div></fieldset> <!></div> <div class="space-y-1"><label class="text-xs text-subtle" for="connect-host"> </label> <!> <!></div> <div class="space-y-1"><label class="text-xs text-subtle" for="connect-port"> </label> <!></div> <div class="space-y-1"><label class="text-xs text-subtle" for="connect-token"> </label> <!></div> <!> <!> <!>',1),kn=B('<div class="space-y-1"><span class="text-xs text-subtle"> </span> <p class="font-mono text-xs break-all bg-muted/50 rounded p-2"> </p></div>'),Cn=B('<p class="text-xs text-danger" role="alert"> </p>'),An=B('<div class="space-y-4"><p class="text-sm text-subtle" role="status" aria-live="polite"> </p> <!> <!></div>');function ct(M,l){const p=Vt();if(new.target)return Re({component:ct,...M});ze(l,!0);const m=()=>Oe(dt,"$workflow$",T),R=()=>Oe(pt,"$hostManagesConnections$",T),w=()=>Oe(_t,"$syncState$",T),[T,U]=Wt(),q=(t,o=rt)=>{{const b=(de,ue=rt)=>{{let Q=_(()=>({...ue(),entry:o(),controlId:o().id}));on(de,{get entry(){return o()},get context(){return e(Q)}})}};let ne=_(()=>`${o().id}-field`);en(t,{get id(){return e(ne)},get label(){return o().label},get description(){return o().description},get htmlFor(){return o().id},get disabled(){return e(ce)},get busy(){return e(ce)},compact:!0,class:"grid-cols-[minmax(0,1fr)_auto] items-start py-0 first:pt-0 last:pb-0 [&_[data-field-control]]:w-auto",control:b,$$slots:{control:!0}})}};let D=i(l,"active",7),x=i(l,"step",15,"details"),F=i(l,"busy",15,!1),z=i(l,"canContinue",15,!1),L=i(l,"firstInput",15,null),s=i(l,"prefillHost",7,null),y=i(l,"prefillPort",7,null),I=i(l,"prefillLabel",7,null),P=i(l,"prefillAccent",7,void 0),r=i(l,"defaultAccent",7,ve),k=i(l,"showHelp",7,!0),C=i(l,"onDone",7);const v="5181",S="https://github.com/intent-hq/intentd";function Me(t){t.preventDefault(),un(S)}let A=$(""),ee=$(Jt(ve)),se=$("auto"),E=$(""),J=$(v),G=$(""),te=$(null),be=$(!0),oe=$(!0),me=$("");const dt=fn(p),ce=_(()=>!!m()&&m().phase!=="settled");_e(()=>{F(e(ce))});const qe=_(()=>{const t=m()?.outcome;return t?.kind==="error"||t?.kind==="syncError"?t.message:t?.kind==="secretUnavailable"?n.modals_connect_secretUnavailable_error():t?.kind==="captureRejected"?t.statusCode===403?n.modals_connect_wsApiDisabled_error():n.modals_connect_tokenRejected_error():null});Gt(()=>W.dispatch(pe(p))),_e(()=>{const t=m()?.outcome;t?.kind==="captured"?(a(me,t.fingerprint,!0),x("confirm"),W.dispatch(pe(p))):t?.kind==="done"&&nt(()=>{we(),C()()})});const ut=_(()=>dn(P()===void 0?r():P())),ft=typeof window<"u"&&window.electronAPI?.platform==="darwin",_t=_n(),pt=pn(),Se=_(()=>!R()&&(w()?.supported??ft)),vt=_(()=>w()?.enabled??!1),bt=_(()=>({kind:"switch",id:"connect-detect-hosts",label:n.modals_connect_detectHosts_label(),description:n.modals_connect_detectHosts_description(),get:()=>e(be),set:t=>{a(be,t,!0)}})),mt=_(()=>({kind:"switch",id:"connect-save-to-icloud",label:n.modals_connect_saveToICloud_label(),description:n.modals_connect_saveToICloud_description(),get:()=>e(oe),set:t=>{a(oe,t,!0)}})),ie=_(()=>Number(e(J).trim())),We=_(()=>e(A).trim().length>0&&e(E).trim().length>0&&Number.isInteger(e(ie))&&e(ie)>0&&e(ie)<=65535&&e(G).trim().length>0&&!e(ce));_e(()=>{z(e(We))});function we(){x("details"),a(A,""),a(ee,r(),!0),a(se,"auto"),a(E,""),a(J,v),a(G,""),a(te,null),a(be,!0),a(oe,!0),a(me,""),W.dispatch(pe(p))}function gt(t){const o=t.clipboardData?.getData("text")??"";if(!bn(o))return;const b=mn(o);b&&(t.preventDefault(),b.hosts.length>0&&a(E,b.hosts[0],!0),b.port!==null&&a(J,String(b.port),!0),b.token&&a(G,b.token,!0),a(te,b.tcAddress,!0))}function ht(){a(te,vn(e(E))?e(E).trim():null,!0)}function xt(){e(We)&&W.dispatch(st(p,{kind:"capture",params:{host:e(E).trim(),port:e(ie),token:e(G).trim()}}))}function yt(){if(e(Se)&&!e(vt)&&e(oe)){W.dispatch(pe(p)),x("syncConfirm");return}Ie(e(Se)&&!e(oe))}function Ie(t,o={}){const b=e(E).trim();W.dispatch(st(p,{kind:"connect",enableSync:o.enableSyncAfterAdd===!0,params:{label:e(A).trim(),accent:e(ee),deviceIcon:e(se),host:b,port:e(ie),fingerprint:e(me),token:e(G).trim(),...e(te)?{tcAddress:e(te)}:{},detectHosts:e(be),...t?{syncExcluded:!0}:{}}}))}function kt(){Ie(!1,{enableSyncAfterAdd:!0})}function Ct(){Ie(!0)}function At(){x("details"),W.dispatch(pe(p))}const ge="w-full px-3 py-2 bg-background border border-border rounded text-foreground text-sm focus:outline-none focus:border-primary-ink";function St(t){return t===null?n.settings_devices_accentNone_label():{blue:n.settings_devices_accentBlue_label(),indigo:n.settings_devices_accentIndigo_label(),violet:n.settings_devices_accentViolet_label(),rose:n.settings_devices_accentRose_label(),orange:n.settings_devices_accentOrange_label(),emerald:n.settings_devices_accentEmerald_label(),teal:n.settings_devices_accentTeal_label()}[t]}_e(()=>{if(D()&&x()==="details"&&L()){const t=L();requestAnimationFrame(()=>t.focus())}});let Pe=!1;_e(()=>{const t=D()&&!Pe,o=!D()&&Pe;Pe=D(),o&&nt(we),t&&(I()&&e(A)===""&&a(A,I()),a(ee,P()===void 0?r():P(),!0),s()&&e(E)===""&&a(E,s()),y()!=null&&e(J)===v&&a(J,String(y()),!0),W.dispatch(nn()))});var wt={reset:we,capture:xt,confirm:yt,enableSyncAndAdd:kt,declineSync:Ct,back:At,get active(){return D()},set active(t){D(t),d()},get step(){return x()},set step(t="details"){x(t),d()},get busy(){return F()},set busy(t=!1){F(t),d()},get canContinue(){return z()},set canContinue(t=!1){z(t),d()},get firstInput(){return L()},set firstInput(t=null){L(t),d()},get prefillHost(){return s()},set prefillHost(t=null){s(t),d()},get prefillPort(){return y()},set prefillPort(t=null){y(t),d()},get prefillLabel(){return I()},set prefillLabel(t=null){I(t),d()},get prefillAccent(){return P()},set prefillAccent(t=void 0){P(t),d()},get defaultAccent(){return r()},set defaultAccent(t=ve){r(t),d()},get showHelp(){return k()},set showHelp(t=!0){k(t),d()},get onDone(){return C()},set onDone(t){C(t),d()},$set:Ue,$on:(t,o)=>Fe(l,t,o)},he=An(),Ke=j(he),It=N(Ke,!0),Ve=c(Ke,2);{var Pt=t=>{var o=yn(),b=V(o),ne=j(b),de=N(ne,!0),ue=c(ne,2);{let u=_(()=>n.modals_connect_name_placeholder());Ae(ue,{id:"connect-name",type:"text",get placeholder(){return e(u)},class:ge,autocomplete:"off",get ref(){return L()},set ref(f){L(f)},get value(){return e(A)},set value(f){a(A,f,!0)}})}O(b);var Q=c(b,2),$e=j(Q),Je=j($e),Tt=N(Je,!0),Ge=c(Je,2);rn(Ge,21,()=>e(ut),an,(u,f)=>{{let re=_(()=>lt("flex size-8 cursor-pointer items-center justify-center rounded-full border bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",e(f)===e(ee)?"border-foreground shadow-[0_0_0_2px_var(--color-background),0_0_0_4px_var(--color-foreground)]":"border-border hover:border-input")),fe=_(()=>n.modals_connect_accentOption_ariaLabel({color:St(e(f))})),ae=_(()=>e(f)===e(ee));K(u,{type:"button",variant:"plain",get class(){return e(re)},get"aria-label"(){return e(fe)},get"aria-pressed"(){return e(ae)},onclick:()=>a(ee,e(f),!0),children:(xe,ye)=>{var ke=Be(),Te=V(ke);{var Ee=le=>{var Ce=gn();g(le,Ce)},Ne=le=>{var Ce=hn();H(qt=>Zt(Ce,1,qt),[()=>Yt(lt("size-4 rounded-full",cn[e(f)]))]),g(le,Ce)};Z(Te,le=>{e(f)===null?le(Ee):le(Ne,-1)})}g(xe,ke)},$$slots:{default:!0}})}}),O(Ge),O($e);var Et=c($e,2);{let u=_(()=>({deviceIcon:e(se)}));ln(Et,{get record(){return e(u)},portal:!0,contentClass:"z-[calc(var(--layer-modal)+1)]",get value(){return e(se)},set value(f){a(se,f,!0)}})}O(Q);var De=c(Q,2),Qe=j(De),Nt=N(Qe,!0),Xe=c(Qe,2);{let u=_(()=>n.modals_connect_host_placeholder());Ae(Xe,{id:"connect-host",type:"text",get placeholder(){return e(u)},class:ge,autocorrect:"off",autocapitalize:"off",spellcheck:"false",onpaste:gt,oninput:ht,get value(){return e(E)},set value(f){a(E,f,!0)}})}var Ot=c(Xe,2);{let u=_(()=>e(te)!==null);sn(Ot,{get relevant(){return e(u)}})}O(De);var He=c(De,2),Ye=j(He),Rt=N(Ye,!0),Ut=c(Ye,2);{let u=_(()=>n.modals_connect_port_placeholder());Ae(Ut,{id:"connect-port",type:"text",inputmode:"numeric",get placeholder(){return e(u)},class:ge,autocorrect:"off",autocapitalize:"off",spellcheck:"false",get value(){return e(J)},set value(f){a(J,f,!0)}})}O(He);var Le=c(He,2),Ze=j(Le),Ft=N(Ze,!0),zt=c(Ze,2);{let u=_(()=>n.modals_connect_token_placeholder());Ae(zt,{id:"connect-token",type:"password",get placeholder(){return e(u)},class:ge,autocorrect:"off",autocapitalize:"off",spellcheck:"false",get value(){return e(G)},set value(f){a(G,f,!0)}})}O(Le);var et=c(Le,2);q(et,()=>e(bt));var tt=c(et,2);{var jt=u=>{q(u,()=>e(mt))};Z(tt,u=>{e(Se)&&u(jt)})}var Bt=c(tt,2);{var Mt=u=>{var f=xn(),re=V(f),fe=N(re,!0),ae=c(re,2),xe=j(ae),ye=c(xe);at(ye,"href",S);var ke=c(ye);O(ae),H((Te,Ee,Ne)=>{h(fe,Te),h(xe,`${Ee??""} `),h(ke,` ${Ne??""}`)},[()=>n.modals_connect_whereToFind_help(),()=>n.modals_connect_headless_before(),()=>n.modals_connect_headless_after()]),Qt("click",ye,Me),g(u,f)};Z(Bt,u=>{k()&&u(Mt)})}H((u,f,re,fe,ae)=>{h(de,u),h(Tt,f),h(Nt,re),h(Rt,fe),h(Ft,ae)},[()=>n.modals_connect_name_label(),()=>n.settings_devices_accent_label(),()=>n.modals_connect_host_label(),()=>n.modals_connect_port_label(),()=>n.modals_connect_token_label()]),g(t,o)},$t=t=>{var o=kn(),b=j(o),ne=N(b,!0),de=c(b,2),ue=N(de,!0);O(o),H(Q=>{h(ne,Q),h(ue,e(me))},[()=>n.modals_connect_fingerprint_label()]),g(t,o)};Z(Ve,t=>{x()==="details"?t(Pt):x()==="confirm"&&t($t,1)})}var Dt=c(Ve,2);{var Ht=t=>{var o=Cn(),b=N(o,!0);H(()=>h(b,e(qe))),g(t,o)};Z(Dt,t=>{e(qe)&&t(Ht)})}O(he),H(t=>{at(he,"aria-busy",e(ce)),h(It,t)},[()=>x()==="details"?n.modals_connect_details_description():x()==="confirm"?n.modals_connect_confirmStep_description():n.modals_connect_enableSync_description()]),g(M,he);var Lt=je(wt);return U(),Lt}Kt(["click"]);var ot=B("<!> <!>",1),Sn=B("<!> <!> <!>",1);function it(M,l){if(new.target)return Re({component:it,...M});ze(l,!0);let p=i(l,"step",7),m=i(l,"busy",7),R=i(l,"canContinue",7),w=i(l,"form",7),T=i(l,"detailsSecondaryLabel",23,()=>n.modals_connect_cancel_label()),U=i(l,"onDetailsSecondary",7);var q={get step(){return p()},set step(s){p(s),d()},get busy(){return m()},set busy(s){m(s),d()},get canContinue(){return R()},set canContinue(s){R(s),d()},get form(){return w()},set form(s){w(s),d()},get detailsSecondaryLabel(){return T()},set detailsSecondaryLabel(s=n.modals_connect_cancel_label()){T(s),d()},get onDetailsSecondary(){return U()},set onDetailsSecondary(s){U(s),d()},$set:Ue,$on:(s,y)=>Fe(l,s,y)},D=Be(),x=V(D);{var F=s=>{var y=ot(),I=V(y);K(I,{variant:"ghost",get disabled(){return m()},get onclick(){return U()},children:(r,k)=>{X();var C=Y();H(()=>h(C,T())),g(r,C)},$$slots:{default:!0}});var P=c(I,2);{let r=_(()=>!R());K(P,{variant:"secondary",onclick:()=>w()?.capture(),get disabled(){return e(r)},children:(k,C)=>{X();var v=Y();H(S=>h(v,S),[()=>m()?n.modals_connect_connecting_label():n.modals_connect_continue_label()]),g(k,v)},$$slots:{default:!0}})}g(s,y)},z=s=>{var y=ot(),I=V(y);K(I,{variant:"ghost",onclick:()=>w()?.back(),get disabled(){return m()},children:(r,k)=>{X();var C=Y();H(v=>h(C,v),[()=>n.modals_connect_back_label()]),g(r,C)},$$slots:{default:!0}});var P=c(I,2);K(P,{variant:"secondary",onclick:()=>w()?.confirm(),get disabled(){return m()},children:(r,k)=>{X();var C=Y();H(v=>h(C,v),[()=>m()?n.modals_connect_connecting_label():n.modals_connect_confirm_label()]),g(r,C)},$$slots:{default:!0}}),g(s,y)},L=s=>{var y=Sn(),I=V(y);K(I,{variant:"ghost",onclick:()=>w()?.back(),get disabled(){return m()},children:(k,C)=>{X();var v=Y();H(S=>h(v,S),[()=>n.modals_connect_back_label()]),g(k,v)},$$slots:{default:!0}});var P=c(I,2);K(P,{variant:"ghost",onclick:()=>w()?.declineSync(),get disabled(){return m()},children:(k,C)=>{X();var v=Y();H(S=>h(v,S),[()=>n.modals_connect_enableSync_decline_label()]),g(k,v)},$$slots:{default:!0}});var r=c(P,2);K(r,{variant:"secondary",onclick:()=>w()?.enableSyncAndAdd(),get disabled(){return m()},children:(k,C)=>{X();var v=Y();H(S=>h(v,S),[()=>m()?n.modals_connect_connecting_label():n.modals_connect_enableSync_confirm_label()]),g(k,v)},$$slots:{default:!0}}),g(s,y)};Z(x,s=>{p()==="details"?s(F):p()==="confirm"?s(z,1):s(L,-1)})}return g(M,D),je(q)}function wn(M,l){if(new.target)return Re({component:wn,...M});ze(l,!0);let p=i(l,"open",15,!1),m=i(l,"prefillHost",7,null),R=i(l,"prefillPort",7,null),w=i(l,"prefillLabel",7,null),T=i(l,"prefillAccent",7,void 0),U=i(l,"defaultAccent",7,ve),q=$(void 0),D=$("details"),x=$(!1),F=$(!1),z=$(null);function L(){p(!1)}var s={get open(){return p()},set open(r=!1){p(r),d()},get prefillHost(){return m()},set prefillHost(r=null){m(r),d()},get prefillPort(){return R()},set prefillPort(r=null){R(r),d()},get prefillLabel(){return w()},set prefillLabel(r=null){w(r),d()},get prefillAccent(){return T()},set prefillAccent(r=void 0){T(r),d()},get defaultAccent(){return U()},set defaultAccent(r=ve){U(r),d()},$set:Ue,$on:(r,k)=>Fe(l,r,k)},y=Be(),I=V(y);{var P=r=>{{const k=S=>{it(S,{get step(){return e(D)},get busy(){return e(x)},get canContinue(){return e(F)},get form(){return e(q)},onDetailsSecondary:L})};let C=_(()=>n.modals_connect_title()),v=_(()=>n.modals_connect_close_ariaLabel());tn(r,{get title(){return e(C)},get closeLabel(){return e(v)},get busy(){return e(x)},get initialFocus(){return e(z)},onClose:L,dismissOnInteractOutside:!1,get open(){return p()},set open(S){p(S)},footer:k,children:(S,Me)=>{Xt(ct(S,{get active(){return p()},get prefillHost(){return m()},get prefillPort(){return R()},get prefillLabel(){return w()},get prefillAccent(){return T()},get defaultAccent(){return U()},onDone:L,get step(){return e(D)},set step(A){a(D,A,!0)},get busy(){return e(x)},set busy(A){a(x,A,!0)},get canContinue(){return e(F)},set canContinue(A){a(F,A,!0)},get firstInput(){return e(z)},set firstInput(A){a(z,A,!0)}}),A=>a(q,A,!0),()=>e(q))},$$slots:{footer:!0,default:!0}})}};Z(I,r=>{p()&&r(P)})}return g(M,y),je(s)}export{it as C,ct as a,wn as b};
|
|
1
|
+
import{t as Re,bq as i,bo as n,by as Ue,bu as Oe,bs as Wt,b as Fe}from"./DGQ1ECsI.js";import{ai as Kt,bo as Vt,bs as ze,bV as $,br as Jt,ca as _e,aD as e,bj as Gt,bH as a,c5 as nt,a5 as j,bl as N,bS as c,bA as O,b_ as H,bO as h,W as g,bn as je,c9 as _,aA as d,ay as V,a7 as Be,aB as B,bf as rt,aj as Qt,be as X,b$ as Y}from"./DYhIMPy1.js";import{i as Z}from"./B-DRVFcy.js";import{b as Xt}from"./BaIAhI85.js";import{s as at,c as Yt,e as lt,f as Zt}from"./Bp_k45o-.js";import"./rEoZFmiI.js";import"./B2r-op5b.js";import"./ChmnWquS.js";import"./DZ-cwX5R.js";import"./CzZDc-Ii.js";import{s as en,c as tn}from"./Cw94LfJC.js";import{z as ve,Iv as W,hJ as pe,sc as nn,hM as st}from"./BSSsvY4I.js";import{g as rn,i as an}from"./D3HUOTfX.js";import{f as K}from"./CxF8YFum.js";import{a as ln,T as sn,S as on}from"./Xn8V9ehY.js";import{I as Ae}from"./CM0lKKPd.js";import"./d34yYkdR.js";import"./286xXFLf.js";import"./CKe6gKEB.js";import"./ChTqQfQN.js";import"./C6DrVy6-.js";import{C as cn,c as dn,o as un}from"./CClSMHHc.js";import{at as fn,b1 as _n,aU as pn,R as vn}from"./DW8-b4qF.js";import{i as bn,p as mn}from"./CIwCBz4N.js";var gn=B('<span class="size-4 rounded-full border border-muted-foreground/60 bg-background" aria-hidden="true"></span>'),hn=B('<span aria-hidden="true"></span>'),xn=B('<p class="text-xs text-subtle"> </p> <p class="text-xs text-subtle"> <a class="text-primary-ink hover:underline">github.com/intent-hq/intentd</a> </p>',1),yn=B('<div class="space-y-1"><label class="text-xs text-subtle" for="connect-name"> </label> <!></div> <div class="flex min-w-0 items-end gap-4" data-connect-appearance=""><fieldset class="min-w-0 flex-1 space-y-1"><legend class="text-xs text-subtle"> </legend> <div class="flex flex-wrap gap-1"></div></fieldset> <!></div> <div class="space-y-1"><label class="text-xs text-subtle" for="connect-host"> </label> <!> <!></div> <div class="space-y-1"><label class="text-xs text-subtle" for="connect-port"> </label> <!></div> <div class="space-y-1"><label class="text-xs text-subtle" for="connect-token"> </label> <!></div> <!> <!> <!>',1),kn=B('<div class="space-y-1"><span class="text-xs text-subtle"> </span> <p class="font-mono text-xs break-all bg-muted/50 rounded p-2"> </p></div>'),Cn=B('<p class="text-xs text-danger" role="alert"> </p>'),An=B('<div class="space-y-4"><p class="text-sm text-subtle" role="status" aria-live="polite"> </p> <!> <!></div>');function ct(M,l){const p=Vt();if(new.target)return Re({component:ct,...M});ze(l,!0);const m=()=>Oe(dt,"$workflow$",T),R=()=>Oe(pt,"$hostManagesConnections$",T),w=()=>Oe(_t,"$syncState$",T),[T,U]=Wt(),q=(t,o=rt)=>{{const b=(de,ue=rt)=>{{let Q=_(()=>({...ue(),entry:o(),controlId:o().id}));on(de,{get entry(){return o()},get context(){return e(Q)}})}};let ne=_(()=>`${o().id}-field`);en(t,{get id(){return e(ne)},get label(){return o().label},get description(){return o().description},get htmlFor(){return o().id},get disabled(){return e(ce)},get busy(){return e(ce)},compact:!0,class:"grid-cols-[minmax(0,1fr)_auto] items-start py-0 first:pt-0 last:pb-0 [&_[data-field-control]]:w-auto",control:b,$$slots:{control:!0}})}};let D=i(l,"active",7),x=i(l,"step",15,"details"),F=i(l,"busy",15,!1),z=i(l,"canContinue",15,!1),L=i(l,"firstInput",15,null),s=i(l,"prefillHost",7,null),y=i(l,"prefillPort",7,null),I=i(l,"prefillLabel",7,null),P=i(l,"prefillAccent",7,void 0),r=i(l,"defaultAccent",7,ve),k=i(l,"showHelp",7,!0),C=i(l,"onDone",7);const v="5181",S="https://github.com/intent-hq/intentd";function Me(t){t.preventDefault(),un(S)}let A=$(""),ee=$(Jt(ve)),se=$("auto"),E=$(""),J=$(v),G=$(""),te=$(null),be=$(!0),oe=$(!0),me=$("");const dt=fn(p),ce=_(()=>!!m()&&m().phase!=="settled");_e(()=>{F(e(ce))});const qe=_(()=>{const t=m()?.outcome;return t?.kind==="error"||t?.kind==="syncError"?t.message:t?.kind==="secretUnavailable"?n.modals_connect_secretUnavailable_error():t?.kind==="captureRejected"?t.statusCode===403?n.modals_connect_wsApiDisabled_error():n.modals_connect_tokenRejected_error():null});Gt(()=>W.dispatch(pe(p))),_e(()=>{const t=m()?.outcome;t?.kind==="captured"?(a(me,t.fingerprint,!0),x("confirm"),W.dispatch(pe(p))):t?.kind==="done"&&nt(()=>{we(),C()()})});const ut=_(()=>dn(P()===void 0?r():P())),ft=typeof window<"u"&&window.electronAPI?.platform==="darwin",_t=_n(),pt=pn(),Se=_(()=>!R()&&(w()?.supported??ft)),vt=_(()=>w()?.enabled??!1),bt=_(()=>({kind:"switch",id:"connect-detect-hosts",label:n.modals_connect_detectHosts_label(),description:n.modals_connect_detectHosts_description(),get:()=>e(be),set:t=>{a(be,t,!0)}})),mt=_(()=>({kind:"switch",id:"connect-save-to-icloud",label:n.modals_connect_saveToICloud_label(),description:n.modals_connect_saveToICloud_description(),get:()=>e(oe),set:t=>{a(oe,t,!0)}})),ie=_(()=>Number(e(J).trim())),We=_(()=>e(A).trim().length>0&&e(E).trim().length>0&&Number.isInteger(e(ie))&&e(ie)>0&&e(ie)<=65535&&e(G).trim().length>0&&!e(ce));_e(()=>{z(e(We))});function we(){x("details"),a(A,""),a(ee,r(),!0),a(se,"auto"),a(E,""),a(J,v),a(G,""),a(te,null),a(be,!0),a(oe,!0),a(me,""),W.dispatch(pe(p))}function gt(t){const o=t.clipboardData?.getData("text")??"";if(!bn(o))return;const b=mn(o);b&&(t.preventDefault(),b.hosts.length>0&&a(E,b.hosts[0],!0),b.port!==null&&a(J,String(b.port),!0),b.token&&a(G,b.token,!0),a(te,b.tcAddress,!0))}function ht(){a(te,vn(e(E))?e(E).trim():null,!0)}function xt(){e(We)&&W.dispatch(st(p,{kind:"capture",params:{host:e(E).trim(),port:e(ie),token:e(G).trim()}}))}function yt(){if(e(Se)&&!e(vt)&&e(oe)){W.dispatch(pe(p)),x("syncConfirm");return}Ie(e(Se)&&!e(oe))}function Ie(t,o={}){const b=e(E).trim();W.dispatch(st(p,{kind:"connect",enableSync:o.enableSyncAfterAdd===!0,params:{label:e(A).trim(),accent:e(ee),deviceIcon:e(se),host:b,port:e(ie),fingerprint:e(me),token:e(G).trim(),...e(te)?{tcAddress:e(te)}:{},detectHosts:e(be),...t?{syncExcluded:!0}:{}}}))}function kt(){Ie(!1,{enableSyncAfterAdd:!0})}function Ct(){Ie(!0)}function At(){x("details"),W.dispatch(pe(p))}const ge="w-full px-3 py-2 bg-background border border-border rounded text-foreground text-sm focus:outline-none focus:border-primary-ink";function St(t){return t===null?n.settings_devices_accentNone_label():{blue:n.settings_devices_accentBlue_label(),indigo:n.settings_devices_accentIndigo_label(),violet:n.settings_devices_accentViolet_label(),rose:n.settings_devices_accentRose_label(),orange:n.settings_devices_accentOrange_label(),emerald:n.settings_devices_accentEmerald_label(),teal:n.settings_devices_accentTeal_label()}[t]}_e(()=>{if(D()&&x()==="details"&&L()){const t=L();requestAnimationFrame(()=>t.focus())}});let Pe=!1;_e(()=>{const t=D()&&!Pe,o=!D()&&Pe;Pe=D(),o&&nt(we),t&&(I()&&e(A)===""&&a(A,I()),a(ee,P()===void 0?r():P(),!0),s()&&e(E)===""&&a(E,s()),y()!=null&&e(J)===v&&a(J,String(y()),!0),W.dispatch(nn()))});var wt={reset:we,capture:xt,confirm:yt,enableSyncAndAdd:kt,declineSync:Ct,back:At,get active(){return D()},set active(t){D(t),d()},get step(){return x()},set step(t="details"){x(t),d()},get busy(){return F()},set busy(t=!1){F(t),d()},get canContinue(){return z()},set canContinue(t=!1){z(t),d()},get firstInput(){return L()},set firstInput(t=null){L(t),d()},get prefillHost(){return s()},set prefillHost(t=null){s(t),d()},get prefillPort(){return y()},set prefillPort(t=null){y(t),d()},get prefillLabel(){return I()},set prefillLabel(t=null){I(t),d()},get prefillAccent(){return P()},set prefillAccent(t=void 0){P(t),d()},get defaultAccent(){return r()},set defaultAccent(t=ve){r(t),d()},get showHelp(){return k()},set showHelp(t=!0){k(t),d()},get onDone(){return C()},set onDone(t){C(t),d()},$set:Ue,$on:(t,o)=>Fe(l,t,o)},he=An(),Ke=j(he),It=N(Ke,!0),Ve=c(Ke,2);{var Pt=t=>{var o=yn(),b=V(o),ne=j(b),de=N(ne,!0),ue=c(ne,2);{let u=_(()=>n.modals_connect_name_placeholder());Ae(ue,{id:"connect-name",type:"text",get placeholder(){return e(u)},class:ge,autocomplete:"off",get ref(){return L()},set ref(f){L(f)},get value(){return e(A)},set value(f){a(A,f,!0)}})}O(b);var Q=c(b,2),$e=j(Q),Je=j($e),Tt=N(Je,!0),Ge=c(Je,2);rn(Ge,21,()=>e(ut),an,(u,f)=>{{let re=_(()=>lt("flex size-8 cursor-pointer items-center justify-center rounded-full border bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",e(f)===e(ee)?"border-foreground shadow-[0_0_0_2px_var(--color-background),0_0_0_4px_var(--color-foreground)]":"border-border hover:border-input")),fe=_(()=>n.modals_connect_accentOption_ariaLabel({color:St(e(f))})),ae=_(()=>e(f)===e(ee));K(u,{type:"button",variant:"plain",get class(){return e(re)},get"aria-label"(){return e(fe)},get"aria-pressed"(){return e(ae)},onclick:()=>a(ee,e(f),!0),children:(xe,ye)=>{var ke=Be(),Te=V(ke);{var Ee=le=>{var Ce=gn();g(le,Ce)},Ne=le=>{var Ce=hn();H(qt=>Zt(Ce,1,qt),[()=>Yt(lt("size-4 rounded-full",cn[e(f)]))]),g(le,Ce)};Z(Te,le=>{e(f)===null?le(Ee):le(Ne,-1)})}g(xe,ke)},$$slots:{default:!0}})}}),O(Ge),O($e);var Et=c($e,2);{let u=_(()=>({deviceIcon:e(se)}));ln(Et,{get record(){return e(u)},portal:!0,contentClass:"z-[calc(var(--layer-modal)+1)]",get value(){return e(se)},set value(f){a(se,f,!0)}})}O(Q);var De=c(Q,2),Qe=j(De),Nt=N(Qe,!0),Xe=c(Qe,2);{let u=_(()=>n.modals_connect_host_placeholder());Ae(Xe,{id:"connect-host",type:"text",get placeholder(){return e(u)},class:ge,autocorrect:"off",autocapitalize:"off",spellcheck:"false",onpaste:gt,oninput:ht,get value(){return e(E)},set value(f){a(E,f,!0)}})}var Ot=c(Xe,2);{let u=_(()=>e(te)!==null);sn(Ot,{get relevant(){return e(u)}})}O(De);var He=c(De,2),Ye=j(He),Rt=N(Ye,!0),Ut=c(Ye,2);{let u=_(()=>n.modals_connect_port_placeholder());Ae(Ut,{id:"connect-port",type:"text",inputmode:"numeric",get placeholder(){return e(u)},class:ge,autocorrect:"off",autocapitalize:"off",spellcheck:"false",get value(){return e(J)},set value(f){a(J,f,!0)}})}O(He);var Le=c(He,2),Ze=j(Le),Ft=N(Ze,!0),zt=c(Ze,2);{let u=_(()=>n.modals_connect_token_placeholder());Ae(zt,{id:"connect-token",type:"password",get placeholder(){return e(u)},class:ge,autocorrect:"off",autocapitalize:"off",spellcheck:"false",get value(){return e(G)},set value(f){a(G,f,!0)}})}O(Le);var et=c(Le,2);q(et,()=>e(bt));var tt=c(et,2);{var jt=u=>{q(u,()=>e(mt))};Z(tt,u=>{e(Se)&&u(jt)})}var Bt=c(tt,2);{var Mt=u=>{var f=xn(),re=V(f),fe=N(re,!0),ae=c(re,2),xe=j(ae),ye=c(xe);at(ye,"href",S);var ke=c(ye);O(ae),H((Te,Ee,Ne)=>{h(fe,Te),h(xe,`${Ee??""} `),h(ke,` ${Ne??""}`)},[()=>n.modals_connect_whereToFind_help(),()=>n.modals_connect_headless_before(),()=>n.modals_connect_headless_after()]),Qt("click",ye,Me),g(u,f)};Z(Bt,u=>{k()&&u(Mt)})}H((u,f,re,fe,ae)=>{h(de,u),h(Tt,f),h(Nt,re),h(Rt,fe),h(Ft,ae)},[()=>n.modals_connect_name_label(),()=>n.settings_devices_accent_label(),()=>n.modals_connect_host_label(),()=>n.modals_connect_port_label(),()=>n.modals_connect_token_label()]),g(t,o)},$t=t=>{var o=kn(),b=j(o),ne=N(b,!0),de=c(b,2),ue=N(de,!0);O(o),H(Q=>{h(ne,Q),h(ue,e(me))},[()=>n.modals_connect_fingerprint_label()]),g(t,o)};Z(Ve,t=>{x()==="details"?t(Pt):x()==="confirm"&&t($t,1)})}var Dt=c(Ve,2);{var Ht=t=>{var o=Cn(),b=N(o,!0);H(()=>h(b,e(qe))),g(t,o)};Z(Dt,t=>{e(qe)&&t(Ht)})}O(he),H(t=>{at(he,"aria-busy",e(ce)),h(It,t)},[()=>x()==="details"?n.modals_connect_details_description():x()==="confirm"?n.modals_connect_confirmStep_description():n.modals_connect_enableSync_description()]),g(M,he);var Lt=je(wt);return U(),Lt}Kt(["click"]);var ot=B("<!> <!>",1),Sn=B("<!> <!> <!>",1);function it(M,l){if(new.target)return Re({component:it,...M});ze(l,!0);let p=i(l,"step",7),m=i(l,"busy",7),R=i(l,"canContinue",7),w=i(l,"form",7),T=i(l,"detailsSecondaryLabel",23,()=>n.modals_connect_cancel_label()),U=i(l,"onDetailsSecondary",7);var q={get step(){return p()},set step(s){p(s),d()},get busy(){return m()},set busy(s){m(s),d()},get canContinue(){return R()},set canContinue(s){R(s),d()},get form(){return w()},set form(s){w(s),d()},get detailsSecondaryLabel(){return T()},set detailsSecondaryLabel(s=n.modals_connect_cancel_label()){T(s),d()},get onDetailsSecondary(){return U()},set onDetailsSecondary(s){U(s),d()},$set:Ue,$on:(s,y)=>Fe(l,s,y)},D=Be(),x=V(D);{var F=s=>{var y=ot(),I=V(y);K(I,{variant:"ghost",get disabled(){return m()},get onclick(){return U()},children:(r,k)=>{X();var C=Y();H(()=>h(C,T())),g(r,C)},$$slots:{default:!0}});var P=c(I,2);{let r=_(()=>!R());K(P,{variant:"secondary",onclick:()=>w()?.capture(),get disabled(){return e(r)},children:(k,C)=>{X();var v=Y();H(S=>h(v,S),[()=>m()?n.modals_connect_connecting_label():n.modals_connect_continue_label()]),g(k,v)},$$slots:{default:!0}})}g(s,y)},z=s=>{var y=ot(),I=V(y);K(I,{variant:"ghost",onclick:()=>w()?.back(),get disabled(){return m()},children:(r,k)=>{X();var C=Y();H(v=>h(C,v),[()=>n.modals_connect_back_label()]),g(r,C)},$$slots:{default:!0}});var P=c(I,2);K(P,{variant:"secondary",onclick:()=>w()?.confirm(),get disabled(){return m()},children:(r,k)=>{X();var C=Y();H(v=>h(C,v),[()=>m()?n.modals_connect_connecting_label():n.modals_connect_confirm_label()]),g(r,C)},$$slots:{default:!0}}),g(s,y)},L=s=>{var y=Sn(),I=V(y);K(I,{variant:"ghost",onclick:()=>w()?.back(),get disabled(){return m()},children:(k,C)=>{X();var v=Y();H(S=>h(v,S),[()=>n.modals_connect_back_label()]),g(k,v)},$$slots:{default:!0}});var P=c(I,2);K(P,{variant:"ghost",onclick:()=>w()?.declineSync(),get disabled(){return m()},children:(k,C)=>{X();var v=Y();H(S=>h(v,S),[()=>n.modals_connect_enableSync_decline_label()]),g(k,v)},$$slots:{default:!0}});var r=c(P,2);K(r,{variant:"secondary",onclick:()=>w()?.enableSyncAndAdd(),get disabled(){return m()},children:(k,C)=>{X();var v=Y();H(S=>h(v,S),[()=>m()?n.modals_connect_connecting_label():n.modals_connect_enableSync_confirm_label()]),g(k,v)},$$slots:{default:!0}}),g(s,y)};Z(x,s=>{p()==="details"?s(F):p()==="confirm"?s(z,1):s(L,-1)})}return g(M,D),je(q)}function wn(M,l){if(new.target)return Re({component:wn,...M});ze(l,!0);let p=i(l,"open",15,!1),m=i(l,"prefillHost",7,null),R=i(l,"prefillPort",7,null),w=i(l,"prefillLabel",7,null),T=i(l,"prefillAccent",7,void 0),U=i(l,"defaultAccent",7,ve),q=$(void 0),D=$("details"),x=$(!1),F=$(!1),z=$(null);function L(){p(!1)}var s={get open(){return p()},set open(r=!1){p(r),d()},get prefillHost(){return m()},set prefillHost(r=null){m(r),d()},get prefillPort(){return R()},set prefillPort(r=null){R(r),d()},get prefillLabel(){return w()},set prefillLabel(r=null){w(r),d()},get prefillAccent(){return T()},set prefillAccent(r=void 0){T(r),d()},get defaultAccent(){return U()},set defaultAccent(r=ve){U(r),d()},$set:Ue,$on:(r,k)=>Fe(l,r,k)},y=Be(),I=V(y);{var P=r=>{{const k=S=>{it(S,{get step(){return e(D)},get busy(){return e(x)},get canContinue(){return e(F)},get form(){return e(q)},onDetailsSecondary:L})};let C=_(()=>n.modals_connect_title()),v=_(()=>n.modals_connect_close_ariaLabel());tn(r,{get title(){return e(C)},get closeLabel(){return e(v)},get busy(){return e(x)},get initialFocus(){return e(z)},onClose:L,dismissOnInteractOutside:!1,get open(){return p()},set open(S){p(S)},footer:k,children:(S,Me)=>{Xt(ct(S,{get active(){return p()},get prefillHost(){return m()},get prefillPort(){return R()},get prefillLabel(){return w()},get prefillAccent(){return T()},get defaultAccent(){return U()},onDone:L,get step(){return e(D)},set step(A){a(D,A,!0)},get busy(){return e(x)},set busy(A){a(x,A,!0)},get canContinue(){return e(F)},set canContinue(A){a(F,A,!0)},get firstInput(){return e(z)},set firstInput(A){a(z,A,!0)}}),A=>a(q,A,!0),()=>e(q))},$$slots:{footer:!0,default:!0}})}};Z(I,r=>{p()&&r(P)})}return g(M,y),je(s)}export{it as C,ct as a,wn as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as p}from"./
|
|
1
|
+
import{d as p}from"./DldD9pcf.js";import{J as s,H as l}from"./CVNsMUrN.js";import{selectScriptOutput as o,selectScriptById as f,selectCanReadScriptDefinition as m}from"./VbWa-HQf.js";async function a(i,t,e,r=100){const n=s(o.select(i,t,e)).slice(-r);if(!t||!e)return n;const u=f.select(i,t,e);if(!m.select(i,t,u))return[];try{const c=l(await p.scripts.output(t,e,r));return c.length>0?c.slice(-r):n}catch{return n}}export{a as readScriptContextOutputLines};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a0 as b,aR as o,aP as c,l,bu as p,bT as v,bL as g,bM as f,aQ as m}from"./DYhIMPy1.js";import{B as y}from"./
|
|
1
|
+
import{a0 as b,aR as o,aP as c,l,bu as p,bT as v,bL as g,bM as f,aQ as m}from"./DYhIMPy1.js";import{B as y}from"./DGQ1ECsI.js";function R(u,_,d=!1){var n;o&&(n=m,c());var s=new y(u),h=d?l:0;function t(a,r){if(o){var e=p(n);if(a!==parseInt(e.substring(1))){var i=v();g(i),s.anchor=i,f(!1),s.ensure(a,r),f(!0);return}}s.ensure(a,r)}b(()=>{var a=!1;_((r,e=0)=>{a=!0,t(e,r)}),a||t(-1,null)},h)}export{R as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as V,bq as d,by as B,b as F,bo as L}from"./
|
|
1
|
+
import{t as V,bq as d,by as B,b as F,bo as L}from"./DGQ1ECsI.js";import{bs as H,b_ as E,W as _,bn as j,aA as p,aC as T,a7 as I,ay as O,aD as r,a5 as U,bS as X,bH as b,bA as Y,be as Z,b$ as $,bO as ee,c9 as c,aB as te,bV as k,bk as re}from"./DYhIMPy1.js";import{s as ne,f as ie,c as oe}from"./Bp_k45o-.js";import{i as P}from"./B-DRVFcy.js";import{k as se}from"./B99vgEcA.js";import{I as ae}from"./CM0lKKPd.js";import"./rEoZFmiI.js";import{L as le}from"./Cw94LfJC.js";import"./B2r-op5b.js";import{D as ue,b as z}from"./DVpbdNgF.js";import{r as ce,q as y}from"./B1uWzETW.js";var fe=T('<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M12 15.82L12 23.76M4.44 21L8.35 16.35A1.96 1.96 0 0 0 6.4 12.99L0.42 14.04M1.82 6.12L7.08 9.16A1.96 1.96 0 0 0 10.06 6.66L7.98 0.95M16.02 0.95L13.94 6.66A1.96 1.96 0 0 0 16.92 9.16L22.18 6.12M23.58 14.04L17.6 12.99A1.96 1.96 0 0 0 15.65 16.35L19.56 21" stroke="currentColor" stroke-width="2.06" stroke-linecap="butt" stroke-linejoin="round"></path></svg>');function me(f,o){if(new.target)return V({component:me,...f});H(o,!0);let e=d(o,"width",7,24),n=d(o,"class",7,"");var s={get width(){return e()},set width(a=24){e(a),p()},get class(){return n()},set class(a=""){n(a),p()},$set:B,$on:(a,m)=>F(o,a,m)},l=fe();return E(()=>{ne(l,"width",e()),ie(l,0,oe(n()))}),_(f,l),j(s)}var de=te('<div class="grid gap-2"><!> <!></div>');function G(f,o){if(new.target)return V({component:G,...f});H(o,!0);let e=d(o,"request",7),n=d(o,"value",15,""),s=d(o,"busy",7,!1),l=d(o,"static",7,!1),a=d(o,"onAccept",7),m=d(o,"onCancel",7),v=k(null);var A={get request(){return e()},set request(t){e(t),p()},get value(){return n()},set value(t=""){n(t),p()},get busy(){return s()},set busy(t=!1){s(t),p()},get static(){return l()},set static(t=!1){l(t),p()},get onAccept(){return a()},set onAccept(t){a(t),p()},get onCancel(){return m()},set onCancel(t){m(t),p()},$set:B,$on:(t,g)=>F(o,t,g)},h=I(),i=O(h);{var u=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_bulkActionConfirm_confirm_label()),M=c(()=>e().options.cancelLabel??L.modals_bulkActionConfirm_cancel_label()),S=c(()=>e().options.destructive??!1);ue(t,{open:!0,get static(){return l()},get title(){return e().options.title},get description(){return e().options.description},get confirmLabel(){return r(g)},get cancelLabel(){return r(M)},get destructive(){return r(S)},get busy(){return s()},onConfirm:()=>a()(n()),get onCancel(){return m()}})}},q=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_input_confirm_label()),M=c(()=>e().options.cancelLabel??L.modals_input_cancel_label()),S=c(()=>!e().options.field.required||n().trim().length>0);z(t,{open:!0,get static(){return l()},get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return r(g)},get cancelLabel(){return r(M)},get canSubmit(){return r(S)},get busy(){return s()},get initialFocus(){return r(v)},onSubmit:()=>a()(n()),get onCancel(){return m()},children:(J,ge)=>{var D=de(),N=U(D);{var K=C=>{le(C,{for:"confirm-prompt-field",children:(R,w)=>{Z();var W=$();E(()=>ee(W,e().options.field.label)),_(R,W)},$$slots:{default:!0}})};P(N,C=>{e().options.field.label&&C(K)})}var Q=X(N,2);{let C=c(()=>e().options.field.type??"text"),R=c(()=>e().options.field.label?void 0:e().options.title);ae(Q,{id:"confirm-prompt-field",get type(){return r(C)},get placeholder(){return e().options.field.placeholder},get"aria-label"(){return r(R)},get ref(){return r(v)},set ref(w){b(v,w,!0)},get value(){return n()},set value(w){n(w)}})}Y(D),_(J,D)},$$slots:{default:!0}})}},x=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_input_confirm_label());z(t,{open:!0,get static(){return l()},role:"alertdialog",get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return r(g)},showCancel:!1,dismissOnInteractOutside:!1,get busy(){return s()},onSubmit:()=>a()(n()),onCancel:()=>a()(n())})}};P(i,t=>{e()?.kind==="confirm"?t(u):e()?.kind==="prompt"?t(q,1):e()?.kind==="alert"&&t(x,2)})}return _(f,h),j(A)}function pe(f,o){if(new.target)return V({component:pe,...f});H(o,!0);let e=k(null),n=k(""),s=k(!1);re(()=>ce(i=>{b(e,i,!0),b(n,i?.kind==="prompt"?i.options.field.initialValue??"":"",!0),b(s,!1)}));function l(){!r(e)||r(s)||y(r(e).id,r(e).kind==="confirm"?!1:null)}async function a(){if(!r(e)||r(s))return;const i=r(e);b(s,!0);try{i.kind==="confirm"?(await i.options.onConfirm?.(),y(i.id,!0)):i.kind==="prompt"?(await i.options.onConfirm?.(r(n).trim()),y(i.id,r(n).trim())):y(i.id,void 0)}catch(u){throw console.error("Confirm action failed:",u),b(s,!1),u}}var m={$set:B,$on:(i,u)=>F(o,i,u)},v=I(),A=O(v);{var h=i=>{var u=I(),q=O(u);se(q,()=>r(e).id,x=>{G(x,{get request(){return r(e)},get busy(){return r(s)},onAccept:a,onCancel:l,get value(){return r(n)},set value(t){b(n,t,!0)}})}),_(i,u)};P(A,i=>{r(e)&&i(h)})}return _(f,v),j(m)}export{pe as C,me as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as l,r as m,d as a}from"./
|
|
1
|
+
import{g as l,r as m,d as a}from"./FoUQsQJW.js";import{p}from"./BRvIFAVQ.js";import{b as t,ay as o}from"./Bryo-Obg.js";import{M as u,b as c}from"./D3v_P2Uq.js";var f=c().RailroadPeg.parser.LangiumParser,i=t(e=>{const r=e.alternatives.map(d);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformOrderedChoice"),d=t(e=>{const r=e.elements.map(P);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformSequence"),P=t(e=>{const r=g(e.suffix);return e.operator?{type:"special",text:e.operator==="&"?`&${s(r)}`:`!${s(r)}`}:r},"transformPrefix"),s=t(e=>{switch(e.type){case"terminal":return`"${e.value}"`;case"nonterminal":return e.name;case"special":return e.text;default:return"(...)"}},"nodeToLabel"),g=t(e=>{const r=y(e.primary);if(!e.operator)return r;switch(e.operator){case"?":return{type:"optional",element:r};case"*":return{type:"repetition",element:r,min:0,max:1/0};case"+":return{type:"repetition",element:r,min:1,max:1/0};default:throw new Error(`Unsupported PEG suffix operator: ${e.operator}`)}},"transformSuffix"),y=t(e=>{switch(e.$type){case"PegLiteral":return{type:"terminal",value:e.value};case"PegIdentifier":return{type:"nonterminal",name:e.name};case"PegGroup":return i(e.element);case"PegAny":return{type:"special",text:e.dot};default:throw new Error(`Unsupported PEG primary node: ${e.$type}`)}},"transformPrimary"),v=t(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=t(e=>{p(e,a),e.title&&a.setTitle(e.title),e.rules.map(r=>a.addRule(v(r)))},"populateDb"),b={parse:t(e=>{a.clear(),o.debug("[PEG Parser] Starting Langium parse");const r=f.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new u(r);const n=r.value;o.debug("[PEG Parser] Parsed rules:",n.rules.length),h(n),o.debug("[PEG Parser] Parse complete")},"parse"),parser:{yy:a}},$={parser:b,db:a,renderer:m,styles:l};export{$ as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bo as n}from"./
|
|
1
|
+
import{bo as n}from"./DGQ1ECsI.js";import{Iv as t}from"./BSSsvY4I.js";let c=1,i=null;const a=[],s=new Set;function l(){for(const e of s)e(i)}function h(){return typeof document<"u"&&document.activeElement instanceof HTMLElement?document.activeElement:null}function u(e){a.push({...e,id:c++,returnFocus:h()}),i||(i=a.shift()??null,l())}function _(e){return new Promise(r=>u({kind:"confirm",options:e,resolve:r}))}function S(e){return new Promise(r=>u({kind:"prompt",options:e,resolve:r}))}function p(e){return s.add(e),e(i),()=>s.delete(e)}function f(e,r){if(!i||i.id!==e)return;const o=i;i=a.shift()??null,o.resolve(r),o.returnFocus?.focus(),l()}const m={IS_AUTHENTICATED:"linear-auth:is-authenticated",START_AUTH:"linear-auth:start-auth",CANCEL_AUTH:"linear-auth:cancel-auth",LOGOUT:"linear-auth:logout",GET_AUTH_STATE:"linear-auth:get-auth-state",GET_STATUS:"linear-auth:get-status",FETCH_MY_ISSUES:"linear-auth:fetch-my-issues",SEARCH_ISSUES:"linear-auth:search-issues"},g=[{value:"assigned",get label(){return n.linearAuth_filter_assigned_label()},get description(){return n.linearAuth_filter_assigned_description()}},{value:"created",get label(){return n.linearAuth_filter_created_label()},get description(){return n.linearAuth_filter_created_description()}},{value:"subscribed",get label(){return n.linearAuth_filter_subscribed_label()},get description(){return n.linearAuth_filter_subscribed_description()}},{value:"team",get label(){return n.linearAuth_filter_team_label()},get description(){return n.linearAuth_filter_team_description()}},{value:"all",get label(){return n.linearAuth_filter_all_label()},get description(){return n.linearAuth_filter_all_description()}}],I=t.createSelector(e=>e.linearAuth.operation),E=t.createSelector((e,r)=>e.linearAuth.operation?.consumerId===r?e.linearAuth.operation:null),b=t.createSelector(e=>e.linearAuth.operation?.kind==="logout"&&e.linearAuth.operation.status==="pending"),T=t.createSelector(e=>e.linearAuth.isAuthenticated),y=t.createSelector(e=>e.linearAuth.requiresDaemonAuth),C=t.createSelector(e=>e.linearAuth.isAuthenticating),L=t.createSelector(e=>e.linearAuth.error),N=t.createSelector(e=>e.sentryAuth.operation),v=t.createSelector((e,r)=>e.sentryAuth.operation?.consumerId===r?e.sentryAuth.operation:null),U=t.createSelector(e=>e.sentryAuth.operation?.kind==="logout"&&e.sentryAuth.operation.status==="pending"),O=t.createSelector(e=>e.sentryAuth.isAuthenticated),H=t.createSelector(e=>e.sentryAuth.organization),R=t.createSelector(e=>e.sentryAuth.isConnecting),q=t.createSelector(e=>e.sentryAuth.error),D="npx not found — install Node.js (with npm) to use Claude Code";export{D as C,m as L,g as a,I as b,_ as c,L as d,T as e,C as f,b as g,y as h,v as i,N as j,q as k,O as l,R as m,U as n,H as o,S as p,f as q,p as r,E as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bo as t}from"./
|
|
1
|
+
import{bo as t}from"./DGQ1ECsI.js";function _(e){return e.hostRole?e.hostRole:e.owner?"owner":e.online===!1?"offline":e.online===!0?"member":null}function s(e){return e.displayName?.trim()||e.login?.trim()||t.presence_person_unknown_label()}function i(e){const n=e.identity;if(!n)return null;const r=e.login?.trim();return n.provider==="gitlab"?r?t.presence_person_gitlabHandle_label({login:`@${r}`,host:n.host}):t.workspace_share_pinProvider_gitlab_label({host:n.host}):r?t.presence_person_githubHandle_label({login:`@${r}`}):t.workspace_share_pinProvider_github_label()}function a(e){const n=i(e);if(!n)return s(e);const r=e.displayName?.trim(),o=e.login?.trim();return r&&r.replace(/^@/,"").toLowerCase()!==o?.toLowerCase()?t.presence_person_forge_label({name:r,handle:n}):n}function u(e){const n=a(e),r=e.self?t.presence_person_you_label({name:n}):n;if(!e.hostRole)return r;const o=e.hostRole==="owner"?t.presence_role_owner():e.hostRole==="member"?t.presence_role_member():t.presence_role_guest(),l=e.online?e.viewing?t.presence_status_viewing():t.presence_status_online():t.presence_status_offline();return t.presence_person_roleStatus({name:r,role:o,status:l})}function g(e){let n=0;for(let r=0;r<e.length;r++)n=n*31+e.charCodeAt(r)|0;return`hsl(${Math.abs(n)%360} 55% 45%)`}function f(e){if(e.length===0)return null;const[n,r]=e.map(s);return e.length===1?t.presence_typing_one({name:n}):e.length===2?t.presence_typing_two_label({first:n,second:r}):t.presence_typing_many({first:n,count:e.length-1})}export{u as a,s as b,a as c,_ as d,f as e,g as p};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Iv as l,ro as u,I8 as v}from"./
|
|
1
|
+
import{Iv as l,ro as u,I8 as v}from"./BSSsvY4I.js";import{a6 as b,bx as S}from"./DW8-b4qF.js";import{bv as m}from"./CbVK4mzc.js";import{bQ as M,bM as P}from"./DEoOAy1Z.js";import{bo as s}from"./DGQ1ECsI.js";import{t as E}from"./DNZhZg57.js";const B=l.createSelector(t=>t.backgroundAgentSettings.defaultModel),D=l.createSelector(t=>t.backgroundAgentSettings.typeOverrides),O=l.createSelector(t=>t.backgroundAgentSettings.defaultReasoningEffort),j=l.createSelector(t=>t.backgroundAgentSettings.typeReasoningEffortOverrides),H=l.createSelector(t=>t.backgroundAgentSettings),A=l.createSelector(t=>{const a=new Map,o=(e,i)=>{const n=a.get(e)??new Set;n.add(i),a.set(e,n)},_=m.select(t),d=b.select(t),g=S.select(t)[d];g&&d&&o(d,s.settings_providers_inUseDefaultModel_label({model:g})),u(d)&&!g&&o(d,s.settings_providers_inUseDefaultProvider_label());const p=t.backgroundAgentSettings?.providerId;p&&u(p)&&o(p,s.settings_providers_inUseQuickActions_label());for(const e of M.select(t)){const i=P.select(t,e.id),n=e.source?{project:s.settings_providers_pinSourceProject_label(),user:s.settings_providers_pinSourceUser_label(),bundled:s.settings_providers_pinSourceBundled_label(),builtin:s.settings_providers_pinSourceBuiltin_label(),"electron-store":s.settings_providers_pinSourceLegacy_label()}[e.source]:void 0,c=r=>n&&i?s.settings_providers_inUseSourcePath_label({reason:r,source:n,path:i}):n?s.settings_providers_inUseSource_label({reason:r,source:n}):i?s.settings_providers_inUsePath_label({reason:r,path:i}):r;if(e.codingAgent&&o(e.codingAgent,c(s.settings_providers_inUseSpecialistAgent_label({name:e.name}))),e.modelOptions?.forEach((r,f)=>{r.provider&&u(r.provider)&&o(r.provider,c(s.settings_providers_inUseSpecialistModelOption_label({name:e.name,position:E(f+1)})))}),e.defaultModel)if(e.defaultModel.includes(":")){const r=v(e.defaultModel).providerId??_;o(r,c(s.settings_providers_inUseSpecialistModel_label({name:e.name,model:e.defaultModel})))}else e.codingAgent||o(_,c(s.settings_providers_inUseSpecialistModel_label({name:e.name,model:e.defaultModel})))}return Object.fromEntries([...a].map(([e,i])=>[e,[...i].join(`
|
|
2
2
|
`)]))});l.createSelector((t,a)=>A.select(t)[a]??null);const I=[{id:"dracula",label:"Dracula"},{id:"nord",label:"Nord"},{id:"rose-pine",label:"Rosé Pine"},{id:"tokyo-night",label:"Tokyo Night"},{id:"solarized",label:"Solarized"},{id:"github",label:"GitHub"},{id:"high-contrast",label:"High Contrast"}],w=I.map(({id:t})=>t);export{w as T,I as a,O as b,H as c,D as d,j as e,A as f,B as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e}from"./
|
|
1
|
+
import{p as e}from"./Bp_k45o-.js";import{p as t}from"./XJv96NUg.js";const o=[{id:"label-state-matrix",title:"Label states",states:["default","rest","hover","focus","error","required","optional","disabled","long-content","compact","zoom-200","light","dark"],themes:["light","dark","high-contrast"],viewport:"both"}];e({id:"label",source:"src/lib/components/ui/label/label.svelte",publicImport:"$lib/components/ui/label",legacyImports:[],exports:["Label","labelMetadata"],category:"primitive",owner:"007-B2",callers:["src/features/collaboration-auth/renderer/CollaborationSignInModal.svelte","src/features/host-membership/HostInvitationDialog.svelte","src/lib/component-catalog/renderers/ContentFieldCatalogPreview.svelte","src/lib/component-catalog/renderers/FieldPreviewCell.svelte","src/lib/component-catalog/renderers/ModalCatalogPreview.svelte","src/lib/components/GitLabConnectForm.svelte","src/lib/components/chat/secrets/SecretRequestCard.svelte","src/lib/components/debug/DebugPanel.svelte","src/lib/components/modals/InputDialog.svelte","src/lib/components/modals/ShareWorkspaceDialog.svelte","src/lib/components/modals/modal-polish.preview.svelte","src/lib/components/patterns/confirm/ConfirmRequestView.svelte","src/lib/components/patterns/form/FormField.svelte","src/lib/components/patterns/settings/SettingsFieldRow.svelte","src/lib/components/patterns/settings/custom-controls.ts","src/lib/components/workspace/initializer/AddRemoteSetupModal.svelte","src/lib/components/workspace/initializer/SetupScriptTrigger.svelte","src/lib/components/workspace/sidebar/context-picker/BrowserUrlPicker.svelte"],replacement:null,characterizationTest:"src/lib/components/ui/label/label.test.ts",removalGate:"Retain while exported and association and fixture tests pass.",dynamicImports:[],fixtures:o});const s=[{id:"content-dialog",title:"Content dialog",states:["reading","progress","error","long-content"],themes:["light","dark"],viewport:"both"},{id:"confirm-service",title:"Confirm service",states:["confirm","prompt","alert","queued","busy","reduced-motion"],themes:["light","dark","high-contrast"],viewport:"both",reducedMotion:!0},{id:"form-dialog",title:"Form dialog",states:["default","busy","invalid"],themes:["light","dark"],viewport:"both"},{id:"destructive-confirm",title:"Destructive confirm",states:["default","busy"],themes:["light","dark"],viewport:"both"}];t({id:"confirm",source:"src/lib/components/patterns/confirm/index.ts",publicImport:"$lib/components/patterns/confirm",exports:["ConfirmHost","ConfirmRequestView","DestructiveConfirm","FormDialog","ContentDialog","alert","confirm","prompt"],owner:"design-system",fixtures:s,useWhen:["Blocking an action until the user confirms, enters one value, or acknowledges a message.","Building a dialog whose content is a form with standard actions.","Showing a selection, progress/result, or reading dialog with shared layout and focus ownership."],dontUseWhen:["Reporting non-blocking status; use the notification service instead.","Building a multi-step flow; use a dedicated screen or wizard composition."],replaces:["Browser confirm, prompt, and alert APIs.","InputDialog, MessageDialog, and one-off destructive confirmation markup."]});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{l as c}from"./
|
|
1
|
+
import{l as c}from"./D4xoTssJ.js";const s=["assign","flush","ftl","return","global","import","include","break","continue","local","nested","nt","setting","stop","t","lt","rt","fallback"],d=["attempt","autoesc","autoEsc","compress","comment","escape","noescape","function","if","list","items","sep","macro","noparse","noParse","noautoesc","noAutoEsc","outputformat","switch","visit","recurse"],a={close:">",id:"angle",open:"<"},r={close:"\\]",id:"bracket",open:"\\["},F={close:"[>\\]]",id:"auto",open:"[<\\[]"},k={close:"\\}",id:"dollar",open1:"\\$",open2:"\\{"},p={close:"\\]",id:"bracket",open1:"\\[",open2:"="};function l(t){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],comments:{blockComment:[`${t.open}--`,`--${t.close}`]},autoCloseBefore:`
|
|
2
2
|
\r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`${t.open}#(?:${d.join("|")})([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),end:new RegExp(`${t.open}/#(?:${d.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`${t.open}#(?!(?:${s.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),afterText:new RegExp(`^${t.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${t.close}$`),action:{indentAction:c.IndentAction.IndentOutdent}},{beforeText:new RegExp(`${t.open}#(?!(?:${s.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),action:{indentAction:c.IndentAction.Indent}}]}}function g(){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],autoCloseBefore:`
|
|
3
3
|
\r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`[<\\[]#(?:${d.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),end:new RegExp(`[<\\[]/#(?:${d.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`[<\\[]#(?!(?:${s.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),afterText:new RegExp("^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$"),action:{indentAction:c.IndentAction.IndentOutdent}},{beforeText:new RegExp(`[<\\[]#(?!(?:${s.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),action:{indentAction:c.IndentAction.Indent}}]}}function _(t,n){const i=`_${t.id}_${n.id}`,e=u=>u.replace(/__id__/g,i),o=u=>{const m=u.source.replace(/__id__/g,i);return new RegExp(m,u.flags)};return{unicode:!0,includeLF:!1,start:e("default__id__"),ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],[e("open__id__")]:new RegExp(t.open),[e("close__id__")]:new RegExp(t.close),[e("iOpen1__id__")]:new RegExp(n.open1),[e("iOpen2__id__")]:new RegExp(n.open2),[e("iClose__id__")]:new RegExp(n.close),[e("startTag__id__")]:o(/(@open__id__)(#)/),[e("endTag__id__")]:o(/(@open__id__)(\/#)/),[e("startOrEndTag__id__")]:o(/(@open__id__)(\/?#)/),[e("closeTag1__id__")]:o(/((?:@blank)*)(@close__id__)/),[e("closeTag2__id__")]:o(/((?:@blank)*\/?)(@close__id__)/),blank:/[ \t\n\r]/,keywords:["false","true","in","as","using"],directiveStartCloseTag1:/attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,directiveStartCloseTag2:/else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,directiveStartBlank:/if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,directiveEndCloseTag1:/if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,escapedChar:/\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,asciiDigit:/[0-9]/,integer:/[0-9]+/,nonEscapedIdStartChar:/[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,escapedIdChar:/\\[\-\.:#]/,idStartChar:/(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,id:/(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,specialHashKeys:/\*\*|\*|false|true|in|as|using/,namedSymbols:/<=|>=|\\lte|\\lt|<|\\gte|\\gt|>|&&|\\and|->|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,arrows:["->","->"],delimiters:[";",":",",","."],stringOperators:["lte","lt","gte","gt"],noParseTags:["noparse","noParse","comment"],tokenizer:{[e("default__id__")]:[{include:e("@directive_token__id__")},{include:e("@interpolation_and_text_token__id__")}],[e("fmExpression__id__.directive")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("fmExpression__id__.interpolation")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@expression_token__id__")},{include:e("@greater_operators_token__id__")}],[e("inParen__id__.plain")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("inParen__id__.gt")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@expression_token__id__")},{include:e("@greater_operators_token__id__")}],[e("noSpaceExpression__id__")]:[{include:e("@no_space_expression_end_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("unifiedCall__id__")]:[{include:e("@unified_call_token__id__")}],[e("singleString__id__")]:[{include:e("@string_single_token__id__")}],[e("doubleString__id__")]:[{include:e("@string_double_token__id__")}],[e("rawSingleString__id__")]:[{include:e("@string_single_raw_token__id__")}],[e("rawDoubleString__id__")]:[{include:e("@string_double_raw_token__id__")}],[e("expressionComment__id__")]:[{include:e("@expression_comment_token__id__")}],[e("noParse__id__")]:[{include:e("@no_parse_token__id__")}],[e("terseComment__id__")]:[{include:e("@terse_comment_token__id__")}],[e("directive_token__id__")]:[[o(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{cases:{"@noParseTags":{token:"tag",next:e("@noParse__id__.$3")},"@default":{token:"tag"}}},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"",next:e("@fmExpression__id__.directive")}]],[o(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(@open__id__)(@)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive",next:e("@unifiedCall__id__")}]],[o(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(@open__id__)#--/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:{token:"comment",next:e("@terseComment__id__")}],[o(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag.invalid",next:e("@fmExpression__id__.directive")}]]],[e("interpolation_and_text_token__id__")]:[[o(/(@iOpen1__id__)(@iOpen2__id__)/),[{token:n.id==="bracket"?"@brackets.interpolation":"delimiter.interpolation"},{token:n.id==="bracket"?"delimiter.interpolation":"@brackets.interpolation",next:e("@fmExpression__id__.interpolation")}]],[/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/,{token:"source"}]],[e("string_single_token__id__")]:[[/[^'\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/'/,{token:"string",next:"@pop"}]],[e("string_double_token__id__")]:[[/[^"\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/"/,{token:"string",next:"@pop"}]],[e("string_single_raw_token__id__")]:[[/[^']+/,{token:"string.raw"}],[/'/,{token:"string.raw",next:"@pop"}]],[e("string_double_raw_token__id__")]:[[/[^"]+/,{token:"string.raw"}],[/"/,{token:"string.raw",next:"@pop"}]],[e("expression_token__id__")]:[[/(r?)(['"])/,{cases:{"r'":[{token:"keyword"},{token:"string.raw",next:e("@rawSingleString__id__")}],'r"':[{token:"keyword"},{token:"string.raw",next:e("@rawDoubleString__id__")}],"'":[{token:"source"},{token:"string",next:e("@singleString__id__")}],'"':[{token:"source"},{token:"string",next:e("@doubleString__id__")}]}}],[/(?:@integer)(?:\.(?:@integer))?/,{cases:{"(?:@integer)":{token:"number"},"@default":{token:"number.float"}}}],[/(\.)(@blank*)(@specialHashKeys)/,[{token:"delimiter"},{token:""},{token:"identifier"}]],[/(?:@namedSymbols)/,{cases:{"@arrows":{token:"meta.arrow"},"@delimiters":{token:"delimiter"},"@default":{token:"operators"}}}],[/@id/,{cases:{"@keywords":{token:"keyword.$0"},"@stringOperators":{token:"operators"},"@default":{token:"identifier"}}}],[/[\[\]\(\)\{\}]/,{cases:{"\\[":{cases:{"$S2==gt":{token:"@brackets",next:e("@inParen__id__.gt")},"@default":{token:"@brackets",next:e("@inParen__id__.plain")}}},"\\]":{cases:{...n.id==="bracket"?{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}}:{},...t.id==="bracket"?{"$S2==directive":{token:"@brackets.directive",next:"@popall"}}:{},[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\(":{token:"@brackets",next:e("@inParen__id__.gt")},"\\)":{cases:{[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\{":{cases:{"$S2==gt":{token:"@brackets",next:e("@inParen__id__.gt")},"@default":{token:"@brackets",next:e("@inParen__id__.plain")}}},"\\}":{cases:{...n.id==="bracket"?{}:{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}},[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}}}}],[/\$\{/,{token:"delimiter.invalid"}]],[e("blank_and_expression_comment_token__id__")]:[[/(?:@blank)+/,{token:""}],[/[<\[][#!]--/,{token:"comment",next:e("@expressionComment__id__")}]],[e("directive_end_token__id__")]:[[/>/,t.id==="bracket"?{token:"operators"}:{token:"@brackets.directive",next:"@popall"}],[o(/(\/)(@close__id__)/),[{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]]],[e("greater_operators_token__id__")]:[[/>/,{token:"operators"}],[/>=/,{token:"operators"}]],[e("no_space_expression_end_token__id__")]:[[/(?:@blank)+/,{token:"",switchTo:e("@fmExpression__id__.directive")}]],[e("unified_call_token__id__")]:[[/(@id)((?:@blank)+)/,[{token:"tag"},{token:"",next:e("@fmExpression__id__.directive")}]],[o(/(@id)(\/?)(@close__id__)/),[{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]],[/./,{token:"@rematch",next:e("@noSpaceExpression__id__")}]],[e("no_parse_token__id__")]:[[o(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),{cases:{"$S2==$3":[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:""},{token:"@brackets.directive",next:"@popall"}],"$S2==comment":[{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"}],"@default":[{token:"source"},{token:"source"},{token:"source"},{token:"source"},{token:"source"}]}}],[/[^<\[\-]+|[<\[\-]/,{cases:{"$S2==comment":{token:"comment"},"@default":{token:"source"}}}]],[e("expression_comment_token__id__")]:[[/--[>\]]/,{token:"comment",next:"@pop"}],[/[^\->\]]+|[>\]\-]/,{token:"comment"}]],[e("terse_comment_token__id__")]:[[o(/--(?:@close__id__)/),{token:"comment",next:"@popall"}],[/[^<\[\-]+|[<\[\-]/,{token:"comment"}]]}}}function A(t){const n=_(a,t),i=_(r,t),e=_(F,t);return{...n,...i,...e,unicode:!0,includeLF:!1,start:`default_auto_${t.id}`,ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{...n.tokenizer,...i.tokenizer,...e.tokenizer}}}const b={conf:l(a),language:_(a,k)},x={conf:l(r),language:_(r,k)},$={conf:l(a),language:_(a,p)},E={conf:l(r),language:_(r,p)},B={conf:g(),language:A(k)},D={conf:g(),language:A(p)};export{$ as TagAngleInterpolationBracket,b as TagAngleInterpolationDollar,D as TagAutoInterpolationBracket,B as TagAutoInterpolationDollar,E as TagBracketInterpolationBracket,x as TagBracketInterpolationDollar};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a,aW as o}from"./
|
|
1
|
+
import{b as a,aW as o}from"./Bryo-Obg.js";var g=a((t,e)=>{let n;return e==="sandbox"&&(n=o("#i"+t)),(e==="sandbox"?o(n.nodes()[0].contentDocument.body):o("body")).select(`[id="${t}"]`)},"getDiagramElement");export{g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var $l=Object.defineProperty;var Ol=(r,t,n)=>t in r?$l(r,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[t]=n;var kn=(r,t,n)=>Ol(r,typeof t!="symbol"?t+"":t,n);import{t as It,bq as g,by as St,b as Tt,bo as f,bs as Kn,bu as dr,bt as ql,br as ha}from"./CT36W95j.js";import{ai as aa,bs as Ct,ca as sr,aD as e,bH as j,ay as xe,bS as T,a7 as Rt,W as u,a5 as z,bA as R,bn as At,c9 as s,bV as we,aA as m,b_ as $,aj as Sr,aB as I,be as gr,b$ as Or,bO as J,bf as or,c0 as Cn,bl as oe,bj as jn,c6 as Dl,bo as za,br as Yr,am as Dn,ax as Bn,bk as as,aw as va,bz as ss,cb as ms,c5 as Ha,aC as xr,cd as _o,bv as Bl}from"./DYhIMPy1.js";import{i as B}from"./Cn5kmzaj.js";import{g as Tr,e as _n,p as ps,i as Yn,I as Fl,h as eo,X as _i,o as zl}from"./Bw5h0b4B.js";import{I as Kt,F as qa,c as ea,j as Wl,s as yi,p as to,y as Hl,u as Ul,t as $r,g as oa,B as ws,E as os,S as jl}from"./D-IkFfCX.js";import{s as te,f as ze,g as _a,c as kt,e as ar,b as ya,p as Vl,S as Kl,C as Gl}from"./TRV263rQ.js";import{b as cn}from"./BaIAhI85.js";import{f as Xe,ae as ro,a_ as Ql}from"./D9xzAHI_.js";import{J as Zl,O as Jl,Q as xs}from"./ClQp3PSY.js";import"./D9BiEPlJ.js";import"./_639dNbm.js";import"./DBigkuTi.js";import{s as Ln}from"./DHClt9az.js";import{F as jt,a0 as zs,bc as Tn,cF as no,aq as bi,aV as wi,aG as Xl,c4 as Yl,a2 as is,aJ as ed,cI as td,cH as rd,$ as vs,as as ao,I as yo,af as nd,bq as ad,aO as sd,aT as od,bF as id,ak as ld,cx as dd,ay as bo,aL as wo,bX as ks,aE as Ua,cR as cd,c6 as ud,bj as fd,b as gd,ck as md,ac as pd,b6 as Is,cm as xa,cA as vd,a as hd}from"./D_rHnmLE.js";import{c as xi,A as _d,x as yd}from"./Du0V4O1Q.js";import{b as Ss,V as xo}from"./DkJKEJ06.js";import{a as ki,b7 as Pr,A as Ga,ao as Ii,s as bd,n as Si,d as wd,I as xd,R as kd,ax as Id,a0 as Sd}from"./DPevKyzH.js";import{bX as Ti,j as Qa,a6 as Ws,al as ls,F as Td,au as Za,aN as Cd,aQ as ko}from"./Baz0g_kI.js";import{t as ia,o as Ad}from"./C_p41hnk.js";import{c3 as Ja,aC as Da,cQ as Ci,cS as Vn,bU as hs,j as Md,cJ as Ai,cP as _s,cO as Mi,cM as Pi,g as Nn,aa as Pd,ab as Rd,ax as Ed,s as Nd,K as Ld,W as Io,v as Ri,dO as $d,at as Od,k as qd,u as Ts,a6 as Dd,n as Bd,O as Fd,o as zd,S as Wd,R as Hd,a0 as Ud,q as Ei,r as Ni,l as jd,cT as Vd,a4 as Kd,D as Gd,x as Qd,V as So}from"./DpNO08YA.js";import{Iv as yt,oA as Zd,t9 as Xa,np as To,v1 as Li,v3 as $i,ro as Jd,x$ as ds,uk as Oi,nk as qi,bf as Ya,y0 as Xd,q2 as Yd,sG as ec,uW as Di,nj as tc,mq as rc,i as nc,ys as ac,yp as sc,yr as oc}from"./BmagX6n5.js";import{a2 as ic,x as Cs,a0 as lc,O as As,V as dc,_ as cc,j as uc,o as ka,M as fa,p as fc,F as gc,u as mc,s as pc,L as Ms,J as vc,y as hc,K as _c,Z as Ma,Q as ja,N as Co,m as Ao,E as yc,c as Ps,B as Mo,z as bc,v as Po,H as Pa,P as wc,G as xc,i as kc,R as Ic,T as Sc,A as Tc,g as Cc,b as Ac,D as Mc,f as Pc,e as Rc,a as Ec,C as Nc,h as Lc,U as Bi,a3 as $c,t as Oc,k as qc,d as Ro}from"./BJbIj2f5.js";import{i as Dc,e as Bc}from"./BFllbeCZ.js";import{g as Rs}from"./BvFAWM27.js";import{M as Ia,C as Ra}from"./Ca30sbat.js";import{C as Eo}from"./LMNLZ1NY.js";import"./Bpb2sW6o.js";import{P as Fc}from"./C2XB0GY0.js";import"./BHqqRyT8.js";import{c as Fi}from"./ChTqQfQN.js";import{S as zc}from"./BeCIalNK.js";import{D as No,M as Wc}from"./DozUkl5C.js";import{b as Hc,s as na,c as cs}from"./BtKOOSsW.js";import{O as es,y as Es,E as Ns,B as Ls,N as Uc,m as jc,l as Vc,d as us,C as Lo,f as Kc,e as Gc,g as Qc}from"./Co3f6qKm.js";import{a as zi,s as $o}from"./BsieX9dN.js";import{f as Zc}from"./BdWqymET.js";import{c as dn}from"./BKdLSL00.js";import{P as Jc}from"./BwYW1dkK.js";import{v as $s,t as Os,K as Oo,h as Xc}from"./BzXXtRZY.js";import{R as Hs,C as ys,k as Yc,h as eu,g as tu,i as qo,P as ru}from"./B7lF313M.js";import"./CJyP11U5.js";import{R as Do,x as Na,o as Wi}from"./BRadcq2w.js";import{B as nu}from"./D0yYfpFT.js";import{o as Hi,r as au,e as su}from"./NBz8yHrY.js";import{o as Ui}from"./CXrz3Q9k.js";import{g as so}from"./MpnM4XaB.js";import{a as ou,M as iu}from"./DMJ_kXWl.js";import{c as Sa}from"./CgQUkF-P.js";import{A as lu}from"./v9ob0vCO.js";import{f as du,d as cu}from"./Bsismerr.js";import{a8 as uu,N as fu,Y as gu,K as Bo,X as mu,v as pu}from"./BYBv_fLl.js";import{a as vu}from"./CC7to1B5.js";import{k as hu}from"./xKssrPyL.js";import{S as _u}from"./C9qO9uPq.js";import{u as yu,a as bu,c as Fo,S as wu}from"./DfxQWSVU.js";import{T as Us}from"./B9CbdVRS.js";import"./DJkyIBda.js";import{g as xu}from"./BdyAQuf8.js";import{a as ku}from"./DR-BIfRu.js";import{b as Iu}from"./CHJZj-fd.js";import{b as zo}from"./p7znhYIU.js";import{g as Su,i as Tu,a as Cu}from"./BgUSjvxc.js";import{n as Wo,o as Ho,b as ma,s as Ta,_ as qs,e as Au}from"./CIyUrgF0.js";import{b7 as Un,L as Mu}from"./CmG1GbmA.js";import{x as Pu}from"./CVc3afbh.js";import{c as Ru}from"./DbxGcVeS.js";function Eu(r){if(!r||typeof r!="object")return null;const t=r;if(t.type!=="script_monitor_wake"||t.source!=="system")return null;const{scriptName:n,scriptId:a,runId:o,monitorId:i,workspaceId:d,reason:c}=t;if(typeof n!="string"||typeof a!="string"||!a||typeof o!="string"||!o||typeof i!="string"||!i||typeof d!="string"||!d||c!=="finished"&&c!=="ttl-expired"&&c!=="output-match"&&c!=="line-count")return null;const h=t.trigger;return{scriptName:n,scriptId:a,runId:o,monitorId:i,workspaceId:d,reason:c,...c==="output-match"&&typeof h?.matchedLine=="string"?{matchedLine:h.matchedLine}:{}}}function Nu(r){return r?.type==="script_monitor_wake"&&!("remoteAgentId"in r)}function Lu(r,t,n,a=!1){if(!r||!t)return{edit:!1,remove:!1,sendNow:!1};const o=r.messageMetadata?.fromPrincipalId??r.author?.principalId,i=uu(r)&&r.author?.principalId!==null&&o===t;return{edit:i,remove:i||t===n||a,sendNow:(i||a)&&!ji(r)}}function Ca(r,t){if(t)return r.find(n=>n.editing&&n.editingMessageId?n.editingMessageId===t:n.id===t)}function ji(r){return Nu(r.messageMetadata)&&typeof r.messageMetadata?.monitorId=="string"}function Uo(r,t=Date.now()){const n=r.messageMetadata,a=n?.fromPrincipalId,o=n&&Object.hasOwn(n,"humanAuthor")&&!(typeof a=="string"&&a.length>0),i=r.holdKind!==void 0&&Date.parse(r.holdUntil??"")>t;return!r.editing&&!i&&!o&&!ji(r)}const G_="pl-3.5! pr-2!";var $u=I('<span class="tile-remove-slot svelte-d8pwpf"><!></span>'),jo=I('<span class="attachment-status svelte-d8pwpf"> </span>'),Ou=I('<div class="file-image tile svelte-d8pwpf" data-kind="file"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),qu=I("<!><span> </span>",1),Du=I('<img alt="" draggable="false"/>'),Bu=I('<span class="summary svelte-d8pwpf" data-clip-summary=""> </span>'),Fu=I('<span class="clip svelte-d8pwpf"><span class="record-dot svelte-d8pwpf" aria-hidden="true"></span><span class="duration svelte-d8pwpf"> </span><!></span>'),zu=I('<div class="tile svelte-d8pwpf"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),Wu=I('<div class="attachment-row svelte-d8pwpf" role="group" data-dock-media-attachments=""></div>'),Hu=I("<!> <!> <!>",1),Uu=I('<img draggable="false" class="svelte-d8pwpf"/>'),ju=I('<video controls="" playsinline="" class="svelte-d8pwpf"></video>',2),Vu=I('<div class="media-viewer svelte-d8pwpf"><!></div>'),Ku=I("<!> <!>",1);function Gu(r,t){if(new.target)return It({component:Gu,...r});Ct(t,!0);const n=(O,ye=or,pe=or)=>{var A=$u(),ge=z(A);Xe(ge,{variant:"secondary",size:"icon-sm",class:"tile-action tile-remove",get disabled(){return i()},get"aria-label"(){return pe()},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return pe()},onclick:()=>q(ye()),children:(Te,Be)=>{Ss(Te,{glyph:"x"})},$$slots:{default:!0}}),R(A),u(O,A)};let a=g(t,"items",7),o=g(t,"labels",7),i=g(t,"disabled",7,!1),d=g(t,"onMarkUp",7),c=g(t,"onEdit",7),h=g(t,"onRemove",7),v=g(t,"onRetry",7),b=g(t,"onCopy",7),k=g(t,"onMenu",7);const N=O=>O.owner==="attachment"?2:{image:0,clip:1,file:2}[O.kind],Y=s(()=>[...a()].sort((O,ye)=>N(O)-N(ye)));let S=we(null),D=we(!1),ie=we(null),X=null;const M=s(()=>a().find(O=>O.id===e(ie)));sr(()=>{(!e(M)||e(M).kind==="image"&&!W(e(M)))&&j(D,!1)});function W(O){return O.kind==="image"&&O.status!=="placing"&&O.status!=="failed"&&O.url.trim().length>0}function E(O){return O.kind==="image"?o().image(O.markCount):O.kind==="clip"?O.summary?`${o().clip(O.duration)} ${O.summary}`:o().clip(O.duration):O.name}function ne(O,ye){if(!(i()||O.kind==="file"||O.kind==="image"&&!W(O)||O.kind==="clip"&&(!O.url||O.recording))){if((O.kind==="clip"||O.kind==="image")&&c()){c()(O.id);return}X=ye,j(ie,O.id,!0),j(D,!0)}}async function q(O){i()||(e(ie)===O&&j(D,!1),h()(O),await Cn(),(!document.activeElement||document.activeElement===document.body)&&e(S)?.querySelector("button:not(:disabled)")?.focus())}function F(O){const ye=a().find(pe=>pe.id===O);i()||!ye||!W(ye)||(j(D,!1),c()?c()(O):d()(O))}function ae(O,ye){O.key!=="Delete"||i()||(O.preventDefault(),O.stopPropagation(),q(ye))}function C(O){return O.status==="placing"||O.status==="failed"?!1:O.kind==="image"?!!O.file||W(O):O.kind==="clip"&&!O.recording&&!!O.url}function ee(O,ye){const pe=Zl()?O.metaKey:O.ctrlKey,A=O.key.toLowerCase();if(pe&&!O.shiftKey&&!O.altKey&&(A==="c"||A==="x")){if(!b()||!C(ye)||(O.preventDefault(),O.stopPropagation(),A==="x"&&i()))return;b()(ye.id,A==="x");return}ae(O,ye.id)}function le(O,ye){!k()||!C(ye)||(O.preventDefault(),k()(ye.id))}var me={get items(){return a()},set items(O){a(O),m()},get labels(){return o()},set labels(O){o(O),m()},get disabled(){return i()},set disabled(O=!1){i(O),m()},get onMarkUp(){return d()},set onMarkUp(O){d(O),m()},get onEdit(){return c()},set onEdit(O){c(O),m()},get onRemove(){return h()},set onRemove(O){h(O),m()},get onRetry(){return v()},set onRetry(O){v(O),m()},get onCopy(){return b()},set onCopy(O){b(O),m()},get onMenu(){return k()},set onMenu(O){k(O),m()},$set:St,$on:(O,ye)=>Tt(t,O,ye)},_e=Ku(),Re=xe(_e);{var Le=O=>{var ye=Wu();Tr(ye,21,()=>e(Y),pe=>pe.id,(pe,A)=>{var ge=Rt(),Te=xe(ge);{var Be=P=>{var Q=Ou(),re=z(Q);{let G=s(()=>i()||e(A).status==="placing");ki(re,{get id(){return e(A).id},get name(){return e(A).file.name},get type(){return e(A).file.imageMimeType},get imageData(){return e(A).file.imageData},get imageMimeType(){return e(A).file.imageMimeType},variant:"thumbnail",thumbnailClass:"size-full",class:"size-full",get disabled(){return e(G)},get placementStatus(){return e(A).status},get placementError(){return e(A).error}})}var se=T(re,2);{var ce=G=>{var Ee=jo(),De=oe(Ee,!0);$(()=>{te(Ee,"data-failed",e(A).status==="failed"||void 0),te(Ee,"role",e(A).status==="failed"?"alert":"status"),te(Ee,"title",e(A).error),J(De,e(A).status==="failed"?e(A).error??o().attachmentFailed:o().attachmentPending)}),u(G,Ee)};B(se,G=>{e(A).status&&G(ce)})}var w=T(se,2),Se=z(w);{var Ae=G=>{Xe(G,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(A).id),children:(Ee,De)=>{jt(Ee,{get icon(){return zs},size:16})},$$slots:{default:!0}})};B(Se,G=>{e(A).status==="failed"&&v()&&G(Ae)})}var L=T(Se,2);{let G=s(()=>f.chat_attachmentPreview_remove_ariaLabel({name:e(A).file.name}));n(L,()=>e(A).id,()=>e(G))}R(w),R(Q),$(()=>te(Q,"data-attachment-id",e(A).id)),Sr("keydown",Q,G=>ee(G,e(A))),Sr("contextmenu",Q,G=>le(G,e(A))),Kt(1,Q,()=>qa,()=>({tier:"fast",y:3,scale:.98})),Kt(2,Q,()=>ea,()=>({tier:"fast"})),u(P,Q)},Ce=P=>{const Q=s(()=>e(A).kind==="image"&&!W(e(A))&&e(A).status!=="failed");var re=zu(),se=z(re);{var ce=ve=>{Xe(ve,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile file",get"aria-label"(){return e(A).name},get disabled(){return i()},onkeydown:Oe=>ae(Oe,e(A).id),children:(Oe,U)=>{var ue=qu(),ot=xe(ue);jt(ot,{get icon(){return Tn},size:20});var xt=T(ot),mt=oe(xt,!0);$(()=>J(mt,e(A).name)),u(Oe,ue)},$$slots:{default:!0}})},w=ve=>{{let Oe=s(()=>E(e(A))),U=s(()=>i()||e(A).kind==="clip"&&(e(A).recording||!e(A).url));Xe(ve,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile",get"aria-label"(){return e(Oe)},get disabled(){return e(U)},onkeydown:ue=>ee(ue,e(A)),onclick:ue=>{ue.currentTarget instanceof HTMLElement&&ne(e(A),ue.currentTarget)},children:(ue,ot)=>{var xt=Rt(),mt=xe(xt);{var Ft=je=>{var bt=Du();$(()=>te(bt,"src",e(A).url)),u(je,bt)},pt=je=>{var bt=Fu(),at=T(z(bt)),dt=oe(at,!0),$e=T(at);{var ft=K=>{var _=Bu(),he=oe(_,!0);$(()=>J(he,e(A).summary)),u(K,_)};B($e,K=>{e(A).summary&&K(ft)})}R(bt),$(()=>J(dt,e(A).duration)),u(je,bt)};B(mt,je=>{e(A).kind==="image"?je(Ft):je(pt,-1)})}u(ue,xt)},$$slots:{default:!0}})}},Se=s(()=>e(A).kind!=="image"||W(e(A)));B(se,ve=>{e(A).kind==="file"?ve(ce):e(Se)&&ve(w,1)})}var Ae=T(se,2);{var L=ve=>{var Oe=jo(),U=oe(Oe,!0);$(()=>{te(Oe,"data-failed",e(A).status==="failed"||void 0),te(Oe,"role",e(A).status==="failed"?"alert":"status"),te(Oe,"title",e(A).error),J(U,e(A).status==="failed"?e(A).error??o().attachmentFailed:o().attachmentPending)}),u(ve,Oe)};B(Ae,ve=>{(e(A).status||e(Q))&&ve(L)})}var G=T(Ae,2),Ee=z(G);{var De=ve=>{Xe(ve,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(A).id),children:(Oe,U)=>{jt(Oe,{get icon(){return zs},size:16})},$$slots:{default:!0}})},Je=ve=>{{let Oe=s(()=>c()?o().edit:o().markUp),U=s(()=>c()?o().edit:o().markUp);Xe(ve,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return e(Oe)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(U)},onclick:()=>F(e(A).id),children:(ue,ot)=>{Ss(ue,{glyph:"pencil"})},$$slots:{default:!0}})}},Ge=s(()=>W(e(A))),Bt=ve=>{{let Oe=s(()=>c()?o().edit:o().play),U=s(()=>c()?o().edit:o().play);Xe(ve,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return e(Oe)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(U)},onclick:ue=>{ue.currentTarget instanceof HTMLElement&&ne(e(A),ue.currentTarget)},children:(ue,ot)=>{{let xt=s(()=>c()?"pencil":"play");Ss(ue,{get glyph(){return e(xt)}})}},$$slots:{default:!0}})}};B(Ee,ve=>{e(A).status==="failed"&&v()?ve(De):e(Ge)?ve(Je,1):e(A).kind==="clip"&&!e(A).recording&&e(A).url&&ve(Bt,2)})}var ke=T(Ee,2);n(ke,()=>e(A).id,()=>o().remove),R(G),R(re),$(()=>{te(re,"data-kind",e(A).kind),te(re,"data-attachment-id",e(A).id),te(re,"aria-busy",e(Q)||void 0)}),Sr("contextmenu",re,ve=>le(ve,e(A))),Kt(1,re,()=>qa,()=>({tier:"fast",y:3,scale:.98})),Kt(2,re,()=>ea,()=>({tier:"fast"})),u(P,re)};B(Te,P=>{e(A).kind==="image"&&e(A).file?P(Be):P(Ce,-1)})}u(pe,ge)}),R(ye),cn(ye,pe=>j(S,pe),()=>e(S)),$(()=>te(ye,"aria-label",o().attachments)),u(O,ye)};B(Re,O=>{e(Y).length&&O(Le)})}var Ke=T(Re,2);{const O=pe=>{var A=Rt(),ge=xe(A);{var Te=Be=>{var Ce=Hu(),P=xe(Ce);{var Q=w=>{Xe(w,{variant:"primary",get disabled(){return i()},onclick:()=>e(M)&&F(e(M).id),children:(Se,Ae)=>{gr();var L=Or();$(()=>J(L,o().markUp)),u(Se,L)},$$slots:{default:!0}})},re=s(()=>W(e(M)));B(P,w=>{e(re)&&w(Q)})}var se=T(P,2);Xe(se,{variant:"secondary",get disabled(){return i()},onclick:()=>e(M)&&q(e(M).id),children:(w,Se)=>{gr();var Ae=Or();$(()=>J(Ae,o().remove)),u(w,Ae)},$$slots:{default:!0}});var ce=T(se,2);Xe(ce,{variant:"ghost-light",onclick:()=>{j(D,!1)},children:(w,Se)=>{gr();var Ae=Or();$(()=>J(Ae,o().done)),u(w,Ae)},$$slots:{default:!0}}),u(Be,Ce)};B(ge,Be=>{e(M)&&e(M).kind!=="file"&&Be(Te)})}u(pe,A)};let ye=s(()=>e(M)?E(e(M)):o().attachments);xi(Ke,{get title(){return e(ye)},size:"wide",showCloseButton:!1,onCloseAutoFocus:pe=>{pe.preventDefault(),X?.isConnected?X.focus():e(S)?.querySelector("button:not(:disabled)")?.focus()},get open(){return e(D)},set open(pe){j(D,pe,!0)},footer:O,children:(pe,A)=>{var ge=Rt(),Te=xe(ge);{var Be=Ce=>{var P=Vu(),Q=z(P);{var re=w=>{var Se=Uu();$(Ae=>{te(Se,"src",e(M).url),te(Se,"alt",Ae)},[()=>E(e(M))]),u(w,Se)},se=s(()=>e(M).kind==="image"&&W(e(M))),ce=w=>{var Se=ju();$(Ae=>{te(Se,"src",e(M).url),te(Se,"aria-label",Ae)},[()=>E(e(M))]),u(w,Se)};B(Q,w=>{e(se)?w(re):e(M).kind==="clip"&&e(M).url&&w(ce,1)})}R(P),u(Ce,P)};B(Te,Ce=>{e(M)&&e(M).kind!=="file"&&Ce(Be)})}u(pe,ge)},$$slots:{footer:!0,default:!0}})}return u(r,_e),At(me)}aa(["keydown","contextmenu"]);var Qu=I("<!> ",1),Zu=I('<div class="flex flex-col gap-2 px-4 py-3 bg-muted/30 border border-border rounded-lg my-4"><div class="flex items-center justify-between gap-2"><div class="flex items-center gap-2"><div class="shrink-0 text-subtle"><!></div> <div class="font-medium text-sm"> </div></div> <div class="flex items-center gap-1"><!> <!></div></div> <div class="text-xs text-subtle"> </div> <pre class="text-xs bg-background/50 rounded p-2 overflow-x-auto max-h-40 overflow-y-auto font-mono"> </pre></div>');function Vi(r,t){if(new.target)return It({component:Vi,...r});Ct(t,!0);let n=g(t,"name",7),a=g(t,"description",7),o=g(t,"content",7),i=g(t,"onUseScript",7),d=we(!1);function c(){navigator.clipboard.writeText(o()),j(d,!0),setTimeout(()=>{j(d,!1)},2e3)}function h(){i()?.({name:n(),description:a(),content:o()})}var v={get name(){return n()},set name(C){n(C),m()},get description(){return a()},set description(C){a(C),m()},get content(){return o()},set content(C){o(C),m()},get onUseScript(){return i()},set onUseScript(C){i(C),m()},$set:St,$on:(C,ee)=>Tt(t,C,ee)},b=Zu(),k=z(b),N=z(k),Y=z(N),S=z(Y);jt(S,{get icon(){return no},size:"sm"}),R(Y);var D=T(Y,2),ie=oe(D,!0);R(N);var X=T(N,2),M=z(X);Xe(M,{variant:"ghost-light",size:"sm",onclick:c,class:"h-7 px-2",children:(C,ee)=>{var le=Qu(),me=xe(le);{let Re=s(()=>e(d)?bi:wi);jt(me,{get icon(){return e(Re)},class:"mr-1"})}var _e=T(me);$(Re=>J(_e,` ${Re??""}`),[()=>e(d)?f.chat_shared_copied_label():f.chat_shared_copy_label()]),u(C,le)},$$slots:{default:!0}});var W=T(M,2);{var E=C=>{Xe(C,{variant:"ghost-light",size:"sm",onclick:h,class:"h-7 px-2",children:(ee,le)=>{gr();var me=Or();$(_e=>J(me,_e),[()=>f.chat_setupScriptCard_useScript_label()]),u(ee,me)},$$slots:{default:!0}})};B(W,C=>{i()&&C(E)})}R(X),R(k);var ne=T(k,2),q=oe(ne,!0),F=T(ne,2),ae=oe(F,!0);return R(b),$(()=>{J(ie,n()),J(q,a()),J(ae,o())}),u(r,b),At(v)}const wr={toolStart:/(?:\x1B\[\d+m)?🔧\s+(?:Tool call:\s+)?(.+?)(?:\x1B\[0m)?$/,toolDetail:/(?:[└├]─\s+(.+)$|^\s{3,}(.+)$)/,toolResult:/(?:\x1B\[\d+m)?📋\s+Tool result:\s+(.+?)(?:\x1B\[0m)?$/,toolSuccess:/[✓✔✅]\s+(.+)$/,toolError:/[❌✗❎]\s+(.+)$/,sessionInfo:/[Ss]ession:\s*([a-f0-9-]+)/,resumedSession:/📂?\s*Resumed session/i,assistantMarker:/🤖/,systemMarker:/💻/,userMarker:/👤/,thinkingMarker:/🤔\s*Thinking/i,waitingMarker:/^⏳\s+Running/i,indexingProgress:/^Indexing:\s*\[.*\]\s*\d+%/,agentDigest:/<agent_digest>([\s\S]*?)<\/agent_digest>/,setupScript:/<setup_script\s+name="([^"]+)"\s+description="([^"]+)">([\s\S]*?)<\/setup_script>/};class Ju{constructor(){kn(this,"buffer","");kn(this,"currentToolName",null);kn(this,"currentToolId",null);kn(this,"lastToolId",null);kn(this,"currentToolParams",[]);kn(this,"currentToolResultContent",[]);kn(this,"inToolResult",!1);kn(this,"inCodeBlock",!1);kn(this,"codeBlockLanguage","");kn(this,"codeBlockContent","");kn(this,"characterBuffer","");kn(this,"inCharacterMode",!1);kn(this,"emittedToolIds",new Set)}parseChunk(t){if(this.isMarkerLine(t.trim())){const o=[];if(this.inToolResult&&this.currentToolResultContent.length>0){const c=this.currentToolResultContent.some(v=>v.startsWith("❌")||v.startsWith("Error:")),h=this.currentToolResultContent.map(v=>v.replace(/^❌\s*/,"").replace(/^Error:\s*/,"")).join(`
|
|
1
|
+
var $l=Object.defineProperty;var Ol=(r,t,n)=>t in r?$l(r,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[t]=n;var kn=(r,t,n)=>Ol(r,typeof t!="symbol"?t+"":t,n);import{t as It,bq as g,by as St,b as Tt,bo as f,bs as Kn,bu as dr,bt as ql,br as ha}from"./DGQ1ECsI.js";import{ai as aa,bs as Ct,ca as sr,aD as e,bH as j,ay as xe,bS as T,a7 as Rt,W as u,a5 as z,bA as R,bn as At,c9 as s,bV as we,aA as m,b_ as $,aj as Sr,aB as I,be as gr,b$ as Or,bO as J,bf as or,c0 as Cn,bl as oe,bj as jn,c6 as Dl,bo as za,br as Yr,am as Dn,ax as Bn,bk as as,aw as va,bz as ss,cb as ms,c5 as Ha,aC as xr,cd as _o,bv as Bl}from"./DYhIMPy1.js";import{i as B}from"./B-DRVFcy.js";import{g as Tr,e as _n,p as ps,i as Yn,I as Fl,h as eo,X as _i,o as zl}from"./D3HUOTfX.js";import{I as Kt,F as qa,c as ea,j as Wl,s as yi,p as to,y as Hl,u as Ul,t as $r,g as oa,B as ws,E as os,S as jl}from"./DNZhZg57.js";import{s as te,f as ze,g as _a,c as kt,e as ar,b as ya,p as Vl,S as Kl,C as Gl}from"./Bp_k45o-.js";import{b as cn}from"./BaIAhI85.js";import{f as Xe,ae as ro,a_ as Ql}from"./CxF8YFum.js";import{J as Zl,O as Jl,Q as xs}from"./DZ-cwX5R.js";import"./rEoZFmiI.js";import"./B2r-op5b.js";import"./CzZDc-Ii.js";import{s as Ln}from"./ChmnWquS.js";import{F as jt,a0 as zs,bc as Tn,cF as no,aq as bi,aV as wi,aG as Xl,c4 as Yl,a2 as is,aJ as ed,cI as td,cH as rd,$ as vs,as as ao,I as yo,af as nd,bq as ad,aO as sd,aT as od,bF as id,ak as ld,cx as dd,ay as bo,aL as wo,bX as ks,aE as Ua,cR as cd,c6 as ud,bj as fd,b as gd,ck as md,ac as pd,b6 as Is,cm as xa,cA as vd,a as hd}from"./Cjw1QvKa.js";import{c as xi,A as _d,x as yd}from"./Cw94LfJC.js";import{b as Ss,V as xo}from"./BmMUMiCr.js";import{a as ki,b7 as Pr,A as Ga,ao as Ii,s as bd,n as Si,d as wd,I as xd,R as kd,ax as Id,a0 as Sd}from"./DTowKbOf.js";import{bX as Ti,j as Qa,a6 as Ws,al as ls,F as Td,au as Za,aN as Cd,aQ as ko}from"./Dqx3L5zl.js";import{t as ia,o as Ad}from"./CKe6gKEB.js";import{c3 as Ja,aC as Da,cQ as Ci,cS as Vn,bU as hs,j as Md,cJ as Ai,cP as _s,cO as Mi,cM as Pi,g as Nn,aa as Pd,ab as Rd,ax as Ed,s as Nd,K as Ld,W as Io,v as Ri,dO as $d,at as Od,k as qd,u as Ts,a6 as Dd,n as Bd,O as Fd,o as zd,S as Wd,R as Hd,a0 as Ud,q as Ei,r as Ni,l as jd,cT as Vd,a4 as Kd,D as Gd,x as Qd,V as So}from"./CbVK4mzc.js";import{Iv as yt,oA as Zd,t9 as Xa,np as To,v1 as Li,v3 as $i,ro as Jd,x$ as ds,uk as Oi,nk as qi,bf as Ya,y0 as Xd,q2 as Yd,sG as ec,uW as Di,nj as tc,mq as rc,i as nc,ys as ac,yp as sc,yr as oc}from"./BSSsvY4I.js";import{a2 as ic,x as Cs,a0 as lc,O as As,V as dc,_ as cc,j as uc,o as ka,M as fa,p as fc,F as gc,u as mc,s as pc,L as Ms,J as vc,y as hc,K as _c,Z as Ma,Q as ja,N as Co,m as Ao,E as yc,c as Ps,B as Mo,z as bc,v as Po,H as Pa,P as wc,G as xc,i as kc,R as Ic,T as Sc,A as Tc,g as Cc,b as Ac,D as Mc,f as Pc,e as Rc,a as Ec,C as Nc,h as Lc,U as Bi,a3 as $c,t as Oc,k as qc,d as Ro}from"./BUPCpU_w.js";import{i as Dc,e as Bc}from"./CBTiE17j.js";import{g as Rs}from"./BvFAWM27.js";import{M as Ia,C as Ra}from"./DiRf9bEu.js";import{C as Eo}from"./BVzVRoQ-.js";import"./DcSI1nK9.js";import{P as Fc}from"./935km0k5.js";import"./cHlEaLvO.js";import{c as Fi}from"./ChTqQfQN.js";import{S as zc}from"./BD7hz4AD.js";import{D as No,M as Wc}from"./Bryo-Obg.js";import{b as Hc,s as na,c as cs}from"./WuzNFiDL.js";import{O as es,y as Es,E as Ns,B as Ls,N as Uc,m as jc,l as Vc,d as us,C as Lo,f as Kc,e as Gc,g as Qc}from"./C-Hyxax0.js";import{a as zi,s as $o}from"./BsieX9dN.js";import{f as Zc}from"./BdWqymET.js";import{c as dn}from"./Hc3ynozM.js";import{P as Jc}from"./286xXFLf.js";import{v as $s,t as Os,K as Oo,h as Xc}from"./CVNsMUrN.js";import{R as Hs,C as ys,k as Yc,h as eu,g as tu,i as qo,P as ru}from"./CK2a86W3.js";import"./B_7vJcZK.js";import{R as Do,x as Na,o as Wi}from"./Cosr3Aeo.js";import{B as nu}from"./CyRJV2Ki.js";import{o as Hi,r as au,e as su}from"./DbM1yRvv.js";import{o as Ui}from"./BVjxveE3.js";import{g as so}from"./Bv8FuKnx.js";import{a as ou,M as iu}from"./32pNLDLJ.js";import{c as Sa}from"./CJeZnjZ2.js";import{A as lu}from"./ouB3SqBV.js";import{f as du,d as cu}from"./B_IuZd0O.js";import{a8 as uu,N as fu,Y as gu,K as Bo,X as mu,v as pu}from"./Dsv-aPKR.js";import{a as vu}from"./CC7to1B5.js";import{k as hu}from"./B99vgEcA.js";import{S as _u}from"./BNuxEAQs.js";import{u as yu,a as bu,c as Fo,S as wu}from"./DfxQWSVU.js";import{T as Us}from"./BmxmL68T.js";import"./C6DrVy6-.js";import{g as xu}from"./CM0lKKPd.js";import{a as ku}from"./iP2vS2hx.js";import{b as Iu}from"./DVpbdNgF.js";import{b as zo}from"./p7znhYIU.js";import{g as Su,i as Tu,a as Cu}from"./D897Deqj.js";import{n as Wo,o as Ho,b as ma,s as Ta,_ as qs,e as Au}from"./CIyUrgF0.js";import{b7 as Un,L as Mu}from"./DW8-b4qF.js";import{x as Pu}from"./DldD9pcf.js";import{c as Ru}from"./By_ZupfB.js";function Eu(r){if(!r||typeof r!="object")return null;const t=r;if(t.type!=="script_monitor_wake"||t.source!=="system")return null;const{scriptName:n,scriptId:a,runId:o,monitorId:i,workspaceId:d,reason:c}=t;if(typeof n!="string"||typeof a!="string"||!a||typeof o!="string"||!o||typeof i!="string"||!i||typeof d!="string"||!d||c!=="finished"&&c!=="ttl-expired"&&c!=="output-match"&&c!=="line-count")return null;const h=t.trigger;return{scriptName:n,scriptId:a,runId:o,monitorId:i,workspaceId:d,reason:c,...c==="output-match"&&typeof h?.matchedLine=="string"?{matchedLine:h.matchedLine}:{}}}function Nu(r){return r?.type==="script_monitor_wake"&&!("remoteAgentId"in r)}function Lu(r,t,n,a=!1){if(!r||!t)return{edit:!1,remove:!1,sendNow:!1};const o=r.messageMetadata?.fromPrincipalId??r.author?.principalId,i=uu(r)&&r.author?.principalId!==null&&o===t;return{edit:i,remove:i||t===n||a,sendNow:(i||a)&&!ji(r)}}function Ca(r,t){if(t)return r.find(n=>n.editing&&n.editingMessageId?n.editingMessageId===t:n.id===t)}function ji(r){return Nu(r.messageMetadata)&&typeof r.messageMetadata?.monitorId=="string"}function Uo(r,t=Date.now()){const n=r.messageMetadata,a=n?.fromPrincipalId,o=n&&Object.hasOwn(n,"humanAuthor")&&!(typeof a=="string"&&a.length>0),i=r.holdKind!==void 0&&Date.parse(r.holdUntil??"")>t;return!r.editing&&!i&&!o&&!ji(r)}const G_="pl-3.5! pr-2!";var $u=I('<span class="tile-remove-slot svelte-d8pwpf"><!></span>'),jo=I('<span class="attachment-status svelte-d8pwpf"> </span>'),Ou=I('<div class="file-image tile svelte-d8pwpf" data-kind="file"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),qu=I("<!><span> </span>",1),Du=I('<img alt="" draggable="false"/>'),Bu=I('<span class="summary svelte-d8pwpf" data-clip-summary=""> </span>'),Fu=I('<span class="clip svelte-d8pwpf"><span class="record-dot svelte-d8pwpf" aria-hidden="true"></span><span class="duration svelte-d8pwpf"> </span><!></span>'),zu=I('<div class="tile svelte-d8pwpf"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),Wu=I('<div class="attachment-row svelte-d8pwpf" role="group" data-dock-media-attachments=""></div>'),Hu=I("<!> <!> <!>",1),Uu=I('<img draggable="false" class="svelte-d8pwpf"/>'),ju=I('<video controls="" playsinline="" class="svelte-d8pwpf"></video>',2),Vu=I('<div class="media-viewer svelte-d8pwpf"><!></div>'),Ku=I("<!> <!>",1);function Gu(r,t){if(new.target)return It({component:Gu,...r});Ct(t,!0);const n=(O,ye=or,pe=or)=>{var A=$u(),ge=z(A);Xe(ge,{variant:"secondary",size:"icon-sm",class:"tile-action tile-remove",get disabled(){return i()},get"aria-label"(){return pe()},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return pe()},onclick:()=>q(ye()),children:(Te,Be)=>{Ss(Te,{glyph:"x"})},$$slots:{default:!0}}),R(A),u(O,A)};let a=g(t,"items",7),o=g(t,"labels",7),i=g(t,"disabled",7,!1),d=g(t,"onMarkUp",7),c=g(t,"onEdit",7),h=g(t,"onRemove",7),v=g(t,"onRetry",7),b=g(t,"onCopy",7),k=g(t,"onMenu",7);const N=O=>O.owner==="attachment"?2:{image:0,clip:1,file:2}[O.kind],Y=s(()=>[...a()].sort((O,ye)=>N(O)-N(ye)));let S=we(null),D=we(!1),ie=we(null),X=null;const M=s(()=>a().find(O=>O.id===e(ie)));sr(()=>{(!e(M)||e(M).kind==="image"&&!W(e(M)))&&j(D,!1)});function W(O){return O.kind==="image"&&O.status!=="placing"&&O.status!=="failed"&&O.url.trim().length>0}function E(O){return O.kind==="image"?o().image(O.markCount):O.kind==="clip"?O.summary?`${o().clip(O.duration)} ${O.summary}`:o().clip(O.duration):O.name}function ne(O,ye){if(!(i()||O.kind==="file"||O.kind==="image"&&!W(O)||O.kind==="clip"&&(!O.url||O.recording))){if((O.kind==="clip"||O.kind==="image")&&c()){c()(O.id);return}X=ye,j(ie,O.id,!0),j(D,!0)}}async function q(O){i()||(e(ie)===O&&j(D,!1),h()(O),await Cn(),(!document.activeElement||document.activeElement===document.body)&&e(S)?.querySelector("button:not(:disabled)")?.focus())}function F(O){const ye=a().find(pe=>pe.id===O);i()||!ye||!W(ye)||(j(D,!1),c()?c()(O):d()(O))}function ae(O,ye){O.key!=="Delete"||i()||(O.preventDefault(),O.stopPropagation(),q(ye))}function C(O){return O.status==="placing"||O.status==="failed"?!1:O.kind==="image"?!!O.file||W(O):O.kind==="clip"&&!O.recording&&!!O.url}function ee(O,ye){const pe=Zl()?O.metaKey:O.ctrlKey,A=O.key.toLowerCase();if(pe&&!O.shiftKey&&!O.altKey&&(A==="c"||A==="x")){if(!b()||!C(ye)||(O.preventDefault(),O.stopPropagation(),A==="x"&&i()))return;b()(ye.id,A==="x");return}ae(O,ye.id)}function le(O,ye){!k()||!C(ye)||(O.preventDefault(),k()(ye.id))}var me={get items(){return a()},set items(O){a(O),m()},get labels(){return o()},set labels(O){o(O),m()},get disabled(){return i()},set disabled(O=!1){i(O),m()},get onMarkUp(){return d()},set onMarkUp(O){d(O),m()},get onEdit(){return c()},set onEdit(O){c(O),m()},get onRemove(){return h()},set onRemove(O){h(O),m()},get onRetry(){return v()},set onRetry(O){v(O),m()},get onCopy(){return b()},set onCopy(O){b(O),m()},get onMenu(){return k()},set onMenu(O){k(O),m()},$set:St,$on:(O,ye)=>Tt(t,O,ye)},_e=Ku(),Re=xe(_e);{var Le=O=>{var ye=Wu();Tr(ye,21,()=>e(Y),pe=>pe.id,(pe,A)=>{var ge=Rt(),Te=xe(ge);{var Be=P=>{var Q=Ou(),re=z(Q);{let G=s(()=>i()||e(A).status==="placing");ki(re,{get id(){return e(A).id},get name(){return e(A).file.name},get type(){return e(A).file.imageMimeType},get imageData(){return e(A).file.imageData},get imageMimeType(){return e(A).file.imageMimeType},variant:"thumbnail",thumbnailClass:"size-full",class:"size-full",get disabled(){return e(G)},get placementStatus(){return e(A).status},get placementError(){return e(A).error}})}var se=T(re,2);{var ce=G=>{var Ee=jo(),De=oe(Ee,!0);$(()=>{te(Ee,"data-failed",e(A).status==="failed"||void 0),te(Ee,"role",e(A).status==="failed"?"alert":"status"),te(Ee,"title",e(A).error),J(De,e(A).status==="failed"?e(A).error??o().attachmentFailed:o().attachmentPending)}),u(G,Ee)};B(se,G=>{e(A).status&&G(ce)})}var w=T(se,2),Se=z(w);{var Ae=G=>{Xe(G,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(A).id),children:(Ee,De)=>{jt(Ee,{get icon(){return zs},size:16})},$$slots:{default:!0}})};B(Se,G=>{e(A).status==="failed"&&v()&&G(Ae)})}var L=T(Se,2);{let G=s(()=>f.chat_attachmentPreview_remove_ariaLabel({name:e(A).file.name}));n(L,()=>e(A).id,()=>e(G))}R(w),R(Q),$(()=>te(Q,"data-attachment-id",e(A).id)),Sr("keydown",Q,G=>ee(G,e(A))),Sr("contextmenu",Q,G=>le(G,e(A))),Kt(1,Q,()=>qa,()=>({tier:"fast",y:3,scale:.98})),Kt(2,Q,()=>ea,()=>({tier:"fast"})),u(P,Q)},Ce=P=>{const Q=s(()=>e(A).kind==="image"&&!W(e(A))&&e(A).status!=="failed");var re=zu(),se=z(re);{var ce=ve=>{Xe(ve,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile file",get"aria-label"(){return e(A).name},get disabled(){return i()},onkeydown:Oe=>ae(Oe,e(A).id),children:(Oe,U)=>{var ue=qu(),ot=xe(ue);jt(ot,{get icon(){return Tn},size:20});var xt=T(ot),mt=oe(xt,!0);$(()=>J(mt,e(A).name)),u(Oe,ue)},$$slots:{default:!0}})},w=ve=>{{let Oe=s(()=>E(e(A))),U=s(()=>i()||e(A).kind==="clip"&&(e(A).recording||!e(A).url));Xe(ve,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile",get"aria-label"(){return e(Oe)},get disabled(){return e(U)},onkeydown:ue=>ee(ue,e(A)),onclick:ue=>{ue.currentTarget instanceof HTMLElement&&ne(e(A),ue.currentTarget)},children:(ue,ot)=>{var xt=Rt(),mt=xe(xt);{var Ft=je=>{var bt=Du();$(()=>te(bt,"src",e(A).url)),u(je,bt)},pt=je=>{var bt=Fu(),at=T(z(bt)),dt=oe(at,!0),$e=T(at);{var ft=K=>{var _=Bu(),he=oe(_,!0);$(()=>J(he,e(A).summary)),u(K,_)};B($e,K=>{e(A).summary&&K(ft)})}R(bt),$(()=>J(dt,e(A).duration)),u(je,bt)};B(mt,je=>{e(A).kind==="image"?je(Ft):je(pt,-1)})}u(ue,xt)},$$slots:{default:!0}})}},Se=s(()=>e(A).kind!=="image"||W(e(A)));B(se,ve=>{e(A).kind==="file"?ve(ce):e(Se)&&ve(w,1)})}var Ae=T(se,2);{var L=ve=>{var Oe=jo(),U=oe(Oe,!0);$(()=>{te(Oe,"data-failed",e(A).status==="failed"||void 0),te(Oe,"role",e(A).status==="failed"?"alert":"status"),te(Oe,"title",e(A).error),J(U,e(A).status==="failed"?e(A).error??o().attachmentFailed:o().attachmentPending)}),u(ve,Oe)};B(Ae,ve=>{(e(A).status||e(Q))&&ve(L)})}var G=T(Ae,2),Ee=z(G);{var De=ve=>{Xe(ve,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(A).id),children:(Oe,U)=>{jt(Oe,{get icon(){return zs},size:16})},$$slots:{default:!0}})},Je=ve=>{{let Oe=s(()=>c()?o().edit:o().markUp),U=s(()=>c()?o().edit:o().markUp);Xe(ve,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return e(Oe)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(U)},onclick:()=>F(e(A).id),children:(ue,ot)=>{Ss(ue,{glyph:"pencil"})},$$slots:{default:!0}})}},Ge=s(()=>W(e(A))),Bt=ve=>{{let Oe=s(()=>c()?o().edit:o().play),U=s(()=>c()?o().edit:o().play);Xe(ve,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return e(Oe)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(U)},onclick:ue=>{ue.currentTarget instanceof HTMLElement&&ne(e(A),ue.currentTarget)},children:(ue,ot)=>{{let xt=s(()=>c()?"pencil":"play");Ss(ue,{get glyph(){return e(xt)}})}},$$slots:{default:!0}})}};B(Ee,ve=>{e(A).status==="failed"&&v()?ve(De):e(Ge)?ve(Je,1):e(A).kind==="clip"&&!e(A).recording&&e(A).url&&ve(Bt,2)})}var ke=T(Ee,2);n(ke,()=>e(A).id,()=>o().remove),R(G),R(re),$(()=>{te(re,"data-kind",e(A).kind),te(re,"data-attachment-id",e(A).id),te(re,"aria-busy",e(Q)||void 0)}),Sr("contextmenu",re,ve=>le(ve,e(A))),Kt(1,re,()=>qa,()=>({tier:"fast",y:3,scale:.98})),Kt(2,re,()=>ea,()=>({tier:"fast"})),u(P,re)};B(Te,P=>{e(A).kind==="image"&&e(A).file?P(Be):P(Ce,-1)})}u(pe,ge)}),R(ye),cn(ye,pe=>j(S,pe),()=>e(S)),$(()=>te(ye,"aria-label",o().attachments)),u(O,ye)};B(Re,O=>{e(Y).length&&O(Le)})}var Ke=T(Re,2);{const O=pe=>{var A=Rt(),ge=xe(A);{var Te=Be=>{var Ce=Hu(),P=xe(Ce);{var Q=w=>{Xe(w,{variant:"primary",get disabled(){return i()},onclick:()=>e(M)&&F(e(M).id),children:(Se,Ae)=>{gr();var L=Or();$(()=>J(L,o().markUp)),u(Se,L)},$$slots:{default:!0}})},re=s(()=>W(e(M)));B(P,w=>{e(re)&&w(Q)})}var se=T(P,2);Xe(se,{variant:"secondary",get disabled(){return i()},onclick:()=>e(M)&&q(e(M).id),children:(w,Se)=>{gr();var Ae=Or();$(()=>J(Ae,o().remove)),u(w,Ae)},$$slots:{default:!0}});var ce=T(se,2);Xe(ce,{variant:"ghost-light",onclick:()=>{j(D,!1)},children:(w,Se)=>{gr();var Ae=Or();$(()=>J(Ae,o().done)),u(w,Ae)},$$slots:{default:!0}}),u(Be,Ce)};B(ge,Be=>{e(M)&&e(M).kind!=="file"&&Be(Te)})}u(pe,A)};let ye=s(()=>e(M)?E(e(M)):o().attachments);xi(Ke,{get title(){return e(ye)},size:"wide",showCloseButton:!1,onCloseAutoFocus:pe=>{pe.preventDefault(),X?.isConnected?X.focus():e(S)?.querySelector("button:not(:disabled)")?.focus()},get open(){return e(D)},set open(pe){j(D,pe,!0)},footer:O,children:(pe,A)=>{var ge=Rt(),Te=xe(ge);{var Be=Ce=>{var P=Vu(),Q=z(P);{var re=w=>{var Se=Uu();$(Ae=>{te(Se,"src",e(M).url),te(Se,"alt",Ae)},[()=>E(e(M))]),u(w,Se)},se=s(()=>e(M).kind==="image"&&W(e(M))),ce=w=>{var Se=ju();$(Ae=>{te(Se,"src",e(M).url),te(Se,"aria-label",Ae)},[()=>E(e(M))]),u(w,Se)};B(Q,w=>{e(se)?w(re):e(M).kind==="clip"&&e(M).url&&w(ce,1)})}R(P),u(Ce,P)};B(Te,Ce=>{e(M)&&e(M).kind!=="file"&&Ce(Be)})}u(pe,ge)},$$slots:{footer:!0,default:!0}})}return u(r,_e),At(me)}aa(["keydown","contextmenu"]);var Qu=I("<!> ",1),Zu=I('<div class="flex flex-col gap-2 px-4 py-3 bg-muted/30 border border-border rounded-lg my-4"><div class="flex items-center justify-between gap-2"><div class="flex items-center gap-2"><div class="shrink-0 text-subtle"><!></div> <div class="font-medium text-sm"> </div></div> <div class="flex items-center gap-1"><!> <!></div></div> <div class="text-xs text-subtle"> </div> <pre class="text-xs bg-background/50 rounded p-2 overflow-x-auto max-h-40 overflow-y-auto font-mono"> </pre></div>');function Vi(r,t){if(new.target)return It({component:Vi,...r});Ct(t,!0);let n=g(t,"name",7),a=g(t,"description",7),o=g(t,"content",7),i=g(t,"onUseScript",7),d=we(!1);function c(){navigator.clipboard.writeText(o()),j(d,!0),setTimeout(()=>{j(d,!1)},2e3)}function h(){i()?.({name:n(),description:a(),content:o()})}var v={get name(){return n()},set name(C){n(C),m()},get description(){return a()},set description(C){a(C),m()},get content(){return o()},set content(C){o(C),m()},get onUseScript(){return i()},set onUseScript(C){i(C),m()},$set:St,$on:(C,ee)=>Tt(t,C,ee)},b=Zu(),k=z(b),N=z(k),Y=z(N),S=z(Y);jt(S,{get icon(){return no},size:"sm"}),R(Y);var D=T(Y,2),ie=oe(D,!0);R(N);var X=T(N,2),M=z(X);Xe(M,{variant:"ghost-light",size:"sm",onclick:c,class:"h-7 px-2",children:(C,ee)=>{var le=Qu(),me=xe(le);{let Re=s(()=>e(d)?bi:wi);jt(me,{get icon(){return e(Re)},class:"mr-1"})}var _e=T(me);$(Re=>J(_e,` ${Re??""}`),[()=>e(d)?f.chat_shared_copied_label():f.chat_shared_copy_label()]),u(C,le)},$$slots:{default:!0}});var W=T(M,2);{var E=C=>{Xe(C,{variant:"ghost-light",size:"sm",onclick:h,class:"h-7 px-2",children:(ee,le)=>{gr();var me=Or();$(_e=>J(me,_e),[()=>f.chat_setupScriptCard_useScript_label()]),u(ee,me)},$$slots:{default:!0}})};B(W,C=>{i()&&C(E)})}R(X),R(k);var ne=T(k,2),q=oe(ne,!0),F=T(ne,2),ae=oe(F,!0);return R(b),$(()=>{J(ie,n()),J(q,a()),J(ae,o())}),u(r,b),At(v)}const wr={toolStart:/(?:\x1B\[\d+m)?🔧\s+(?:Tool call:\s+)?(.+?)(?:\x1B\[0m)?$/,toolDetail:/(?:[└├]─\s+(.+)$|^\s{3,}(.+)$)/,toolResult:/(?:\x1B\[\d+m)?📋\s+Tool result:\s+(.+?)(?:\x1B\[0m)?$/,toolSuccess:/[✓✔✅]\s+(.+)$/,toolError:/[❌✗❎]\s+(.+)$/,sessionInfo:/[Ss]ession:\s*([a-f0-9-]+)/,resumedSession:/📂?\s*Resumed session/i,assistantMarker:/🤖/,systemMarker:/💻/,userMarker:/👤/,thinkingMarker:/🤔\s*Thinking/i,waitingMarker:/^⏳\s+Running/i,indexingProgress:/^Indexing:\s*\[.*\]\s*\d+%/,agentDigest:/<agent_digest>([\s\S]*?)<\/agent_digest>/,setupScript:/<setup_script\s+name="([^"]+)"\s+description="([^"]+)">([\s\S]*?)<\/setup_script>/};class Ju{constructor(){kn(this,"buffer","");kn(this,"currentToolName",null);kn(this,"currentToolId",null);kn(this,"lastToolId",null);kn(this,"currentToolParams",[]);kn(this,"currentToolResultContent",[]);kn(this,"inToolResult",!1);kn(this,"inCodeBlock",!1);kn(this,"codeBlockLanguage","");kn(this,"codeBlockContent","");kn(this,"characterBuffer","");kn(this,"inCharacterMode",!1);kn(this,"emittedToolIds",new Set)}parseChunk(t){if(this.isMarkerLine(t.trim())){const o=[];if(this.inToolResult&&this.currentToolResultContent.length>0){const c=this.currentToolResultContent.some(v=>v.startsWith("❌")||v.startsWith("Error:")),h=this.currentToolResultContent.map(v=>v.replace(/^❌\s*/,"").replace(/^Error:\s*/,"")).join(`
|
|
2
2
|
`);o.push({type:"tool_result",content:h,metadata:{toolId:this.currentToolId,isError:c}}),this.lastToolId=this.currentToolId,this.currentToolId=null,this.inToolResult=!1,this.currentToolResultContent=[]}const i=t.indexOf("🤖"),d=t.substring(i+2);if(this.inCharacterMode=!0,this.characterBuffer="",d&&d.trim()&&d!==`
|
|
3
3
|
`){const c=d.replace(/^\n/,"");c&&(this.characterBuffer=c)}return o}if(this.inCharacterMode){if(t.trim()===""&&this.characterBuffer==="")return[];if(t.includes(`
|
|
4
4
|
`)&&this.characterBuffer.length>0){const o=t.substring(0,t.indexOf(`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{O as G,g as Q,ao as V,al as j,aw as X,p as z,a as J}from"./
|
|
1
|
+
import{O as G,g as Q,ao as V,al as j,aw as X,p as z,a as J}from"./CbVK4mzc.js";import{Iv as l,nx as h,ny as R,IE as N,bg as T,_ as $,nk as _,rc as H,ry as Y,k3 as Z,rw as B,IW as O,qT as ee,fG as q,rd as P,a0 as te,be as ne,i as se}from"./BSSsvY4I.js";import{K as F,aO as oe,G as ie}from"./DW8-b4qF.js";import{g as K}from"./DypB-Dwi.js";const re=["[WORKSPACE EVENTS]","[TASK WAKE]","[AGENT MESSAGE]"];function ae(e){const t=e.metadata;if(t&&typeof t=="object"){if(t.type==="question_answers")return!1;if(!G(t))return!0}const n=Q(e);return re.some(s=>n.startsWith(s))}const x=1440*60*1e3;function ce(e){let t=null;for(const n of e){if(ae({id:n.id,timestamp:n.createdAt,metadata:n.metadata,contentBlocks:[{type:"text",text:n.preview.trimStart()}]}))continue;const s=Date.parse(n.createdAt);Number.isFinite(s)&&(t===null||s>t)&&(t=s)}return t}const de=50,le=20;function W(e,t){return e===null||t!==null&&t>e?t:e}async function Be(e,t){let n,s=null;for(let o=0;o<le;o++){const i=await e({limit:de,nextToken:n});if(!i.ok)return null;const a=i.items;s===null&&a.length>0&&(s=a[a.length-1].id);const d=t?.newestId!=null?a.findIndex(c=>c.id===t.newestId):-1,r=ce(d>=0?a.slice(d+1):a);if(d>=0)return{latest:W(r,t?.latest??null),newestId:s};if(r!==null)return{latest:W(r,t?.latest??null),newestId:s};if(typeof i.nextToken!="string")return{latest:null,newestId:s};n=i.nextToken}return{latest:t?.latest??null,newestId:s}}function ue(e,t){return e!=null&&e<=t&&e>t-x}function ge(e,t){return e!=null&&Number.isFinite(e)&&e>0&&e<=t-x}function fe(e,t){const{workspaceId:n,agentId:s,authority:o,nativePairId:i,evidence:a}=e;if(!n||!s||!o||o!==t)return null;const d=JSON.stringify([n,s]);if(i!==d||a?.id!==d)return null;const r=a.clips.find(c=>c.status==="recording");return!r||r.discarding||!Number.isFinite(r.startedAt)||!Number.isFinite(r.pausedMs??0)||r.pausedAt!=null&&!Number.isFinite(r.pausedAt)?null:{workspaceId:n,agentId:s,clipId:r.id,startedAt:r.startedAt,pausedAt:r.pausedAt??null,pausedMs:r.pausedMs??0}}function We(e,t){return t!==void 0&&e!==t?"ignore":e?"stop":"start"}const De=l.createSelector(e=>{const t=e.dockConversation,n=t.workspaceId&&t.agentId?JSON.stringify([t.workspaceId,t.agentId]):null;return fe({workspaceId:t.workspaceId,agentId:t.agentId,authority:t.authority,nativePairId:t.nativeSpeech.pairId,evidence:n?h(t.evidence,n):null},K(e))});l.createSelector(e=>e.hud.active);l.createSelector(e=>e.hud.feed);l.createSelector(e=>e.hud.usage);l.createSelector(e=>e.hud.usageError);const Ee=l.createSelector(e=>e.hud.rateHistory),Ne=l.createSelector(e=>R(e.workspace.workspaces)),He=l.createSelector(e=>{const t=e.hud.usage?.totals;return t?N(t):0}),qe=l.createSelector(e=>e.hud.burnRatePerMin),Pe=l.createSelector(e=>e.hud.burnTrend),Fe=l.createSelector(e=>{const{health:t,stats:n,lastUpdated:s,hostLocality:o}=e.daemonHealth,i=n?.hostname;return{online:t!=="down",uptimeSeconds:typeof n?.uptimeSeconds=="number"?n.uptimeSeconds:null,version:n?.version??null,fetchedAtMs:s?Date.parse(s):null,remoteHostname:o==="remote"&&i?i.split(".",1)[0]??i:null}}),Ke=l.createSelector(e=>e.hud.gridFilter);l.createSelector(e=>e.hud.attentionByWorkspaceId);const xe=l.createSelector((e,t)=>{const n=e.hud?.questionsByAgentId?.[t];if(!n)return!1;const s=e.agentSessions?.byAgentId[t]?.metadata??{};return!F(s,n.messageId)}),Le=l.createSelector(e=>e.hud.takeoverRequestWorkspaceId);function pe(e,t){return t[String(e.id)]??e.displayStatus}const S=l.createSelector(e=>{const t=e.hud.displayStatusByWorkspaceId;return R(e.workspace.workspaces).filter(n=>n.status!==T.Archived&&n.status!==T.Retired&&n.status!==T.Deleted).map(n=>{const s=pe(n,t);return s&&s!==n.displayStatus?{...n,displayStatus:s}:n})});function I(e){const t=e.agentSummary;return!t||!Array.isArray(t.agents)?[]:t.agents.filter(n=>!!n&&typeof n=="object"&&typeof n.id=="string"&&n.status!=="deleted"&&!ie(n.id))}const Ue=l.createSelector(e=>{const t=Object.fromEntries($.map(n=>[n,0]));for(const n of S.select(e))for(const s of I(n))t[y(e,s).bucket]+=1;return t}),Ge=l.createSelector(e=>{const t={idle:0,unread:0,progress:0,attention:0,waiting:0,prOpen:0,prMerged:0,failed:0,completed:0,total:0};for(const n of C.select(e))switch(t.total+=1,n.isUnread&&(t.unread+=1),n.isWaiting&&(t.waiting+=1),n.stateKey){case"wait":case"blocked":t.attention+=1;break;case"failed":t.failed+=1;break;case"in_progress":t.progress+=1;break;case"complete":t.completed+=1;break;case"pr_open":case"pr_ready":case"pr_queued":t.prOpen+=1;break;case"pr_merged":t.prMerged+=1;break;default:t.idle+=1}return t}),ke=l.createSelector(e=>{const t={};for(const n of S.select(e))for(const s of I(n))typeof s.name=="string"&&s.name.length>0&&(t[s.id]=s.name);return t});function D(e){if(!e.sinceTs)return 0;const t=Date.parse(e.sinceTs);return Number.isFinite(t)?t:0}const Qe=l.createSelector(e=>{const t=e.hud.attentionByWorkspaceId,n=e.hud.questionsByAgentId,s=[];for(const o of S.select(e)){const i=String(o.id);let a=!1;for(const r of b(o,e)){const{bucket:c,attentionKind:u,hasQuestion:g}=r;if(c!=="needs-attention"&&c!=="failed"||!r.topLevel||r.isBackground||A(e,r.id))continue;const k=g?n[r.id]:void 0,f=u?_(e.agentSessions?.byAgentId[r.id])?.reason:void 0,p=k?"question":u??void 0;s.push({workspaceId:i,workspaceTitle:o.title,kind:c==="needs-attention"?"agent_waiting":"agent_failed",...c==="needs-attention"&&p?{signal:p}:{},agentName:r.name,message:k?.question??f??null,sinceTs:r.lastActivityTs}),a=!0}const d=t[i];d&&H(d.attention)&&(s.push({workspaceId:i,workspaceTitle:o.title,kind:"workspace_attention",attention:d.attention,message:null,sinceTs:d.raisedAtTs}),a=!0),L.has(w(o))&&!a&&s.push({workspaceId:i,workspaceTitle:o.title,kind:"workspace_attention",message:null,sinceTs:null})}return s.sort((o,i)=>D(i)-D(o))}),Ve=l.createSelector(e=>{const t=ke.select(e);return e.hud.feed.map(n=>({...n,workspaceTitle:h(e.workspace.workspaces,n.source)?.title??null,resolvedAgentName:n.agentName??(n.agentId?t[n.agentId]??null:null)}))}),Se={total:0,completed:0,inProgress:0};function w(e){const t=Y(e.displayStatus)?e.displayStatus:"not_started";return Z(t)??"not_started"}const L=new Set(["wait","blocked","failed"]);function Ae(e,t,n){if(t==="failed"){const o=n.find(a=>a.bucket==="failed"&&!A(e,a.id)),i=o?e.agentSessions?.byAgentId[o.id]?.stopReason:null;return{kind:"failed",text:typeof i=="string"&&i.length>0?i:""}}if(t!=="wait"&&t!=="blocked")return null;const s=n.filter(o=>o.topLevel&&!o.isBackground&&!A(e,o.id));for(const o of s){if(!o.hasQuestion)continue;const i=e.hud.questionsByAgentId[o.id];if(i?.question)return{kind:"question",text:i.question}}for(const o of["blocker","discussion"])for(const i of s){if(i.attentionKind!==o)continue;const a=e.agentSessions?.byAgentId[i.id],d=_(a)?.reason;if(d)return{kind:o,text:d}}return{kind:"pending",text:""}}const m=new Set(["running","needs-attention","failed"]);function E(e){const t=typeof e.lastActivity=="string"?Date.parse(e.lastActivity):NaN;return Number.isFinite(t)?t:-1/0}function he(e){const t=n=>{const s=e.get(n.id)?.bucket;return s!==void 0&&m.has(s)?0:1};return(n,s)=>{const o=n.specialist==="spec-writer",i=s.specialist==="spec-writer";if(o!==i)return o?-1:1;const a=t(n)-t(s);if(a!==0)return a;const d=E(n),r=E(s);return d!==r?r-d:n.id<s.id?-1:n.id>s.id?1:0}}function me(e,t){const n=new Set(e.map(r=>r.id)),s=new Map,o=[];for(const r of e){const c=typeof r.parentAgentId=="string"&&r.parentAgentId!==r.id&&n.has(r.parentAgentId)?r.parentAgentId:null;if(c){const u=s.get(c)??[];u.push(r),s.set(c,u)}else o.push(r)}o.sort(t);for(const r of s.values())r.sort(t);const i=[],a=new Set,d=(r,c,u)=>{if(!a.has(r.id)){a.add(r.id),i.push({info:r,depth:c,parentAgentId:u});for(const g of s.get(r.id)??[])d(g,c+1,r.id)}};for(const r of o)d(r,0,null);for(const r of e)d(r,0,null);return i}function y(e,t){const n=e.agentSessions?.byAgentId[t.id],s=n?.metadata??{},o=n?_(n)?.kind??null:null,i=n?V.select(e,t.id)||typeof n.status=="string"&&B(n.status):B(t.status),a=n?O(typeof n.status=="string"?n.status:t.status):null,d=!!n&&a!=="failed"&&a!=="done"&&(n.isWaitingForOtherAgents===!0||Array.isArray(n.waitingForAgentIds)&&n.waitingForAgentIds.length>0||Array.isArray(n.waitingOnHooks)&&n.waitingOnHooks.length>0||Array.isArray(n.waitingOnPrMonitors)&&n.waitingOnPrMonitors.length>0||Array.isArray(n.waitingOnScriptMonitors)&&n.waitingOnScriptMonitors.length>0),r=!!n&&(n.turnInFlight===!0||n.liveTurnOpen===!0);let c;n?d&&!r&&n.isStreaming!==!0&&n.isProcessing!==!0?c="idle":j.select(e,t.id)?c="running":i?c="idle":c=O(typeof n.status=="string"?n.status:t.status):c=t.isResponding===!0||t.isStreaming===!0?"running":O(t.status);const u=e.hud.questionsByAgentId[t.id],g=c!=="failed"&&!!u&&!F(s,u.messageId);return{bucket:c==="failed"?"failed":o!==null||g?"needs-attention":c,attentionKind:o,hasQuestion:g,isRunning:c==="running"}}function U(e,t){const n=o=>typeof o=="string"&&o!==e.id?o:null,s=o=>({isBackground:o?.isBackground,createdByAgentId:n(o?.createdByAgentId)});return{parentAgentId:n(e.parentAgentId)??n(t?.parentAgentId),isBackground:e.isBackground??t?.isBackground,metadata:s(t?.metadata),agentMetadata:s(t?.agentMetadata)}}function A(e,t){return e.agentSessions?.byAgentId[t]?.notificationsMuted===!0}function ye(e){if(!e)return null;switch(e.kind){case"attention":return e.attention.reason??null;case"live-tool":case"last-tool":{const t=J(e.toolUse.name,e.toolUse.input||{});return t.hidden?null:[t.verb,t.subject,t.path].filter(Boolean).join(" ").trim()||null}default:{const t=e.text||"";return t?t.includes(`
|
|
2
2
|
`)?z(t)||null:t:null}}}function b(e,t){const n=I(e),s=new Map(n.map(i=>[i.id,y(t,i)]));return me(n,he(s)).map(({info:i,depth:a,parentAgentId:d})=>{const r=t.agentSessions?.byAgentId[i.id],c=U(i,r),{bucket:u,attentionKind:g,hasQuestion:k}=s.get(i.id)??y(t,i),f=Array.isArray(r?.waitingForAgentIds)?r.waitingForAgentIds.filter(p=>typeof p=="string"):[];return{id:i.id,name:i.name,bucket:u,lastActivityTs:i.lastActivity??null,line:ye(X.select(t,i.id)),parentAgentId:d,depth:a,treePrefix:"",topLevel:q(c)==="topLevel",isBackground:ee(c),attentionKind:g,hasQuestion:k,isWaitingForAgents:r?.isWaitingForOtherAgents===!0||f.length>0||Array.isArray(r?.waitingOnHooks)&&r.waitingOnHooks.length>0||Array.isArray(r?.waitingOnPrMonitors)&&r.waitingOnPrMonitors.length>0||Array.isArray(r?.waitingOnScriptMonitors)&&r.waitingOnScriptMonitors.length>0,waitingForAgentIds:f}})}function Ie(e){const t=new Set;for(const o of e)for(const i of o.waitingForAgentIds)t.add(i);const n=o=>m.has(o.bucket)||o.isWaitingForAgents||t.has(o.id);return e.filter((o,i)=>{if(n(o))return!0;for(let a=i+1;a<e.length&&!(e[a].depth<=o.depth);a++)if(n(e[a]))return!0;return!1}).map((o,i,a)=>{if(o.depth===0)return{...o,treePrefix:""};let d=!0;for(let r=i+1;r<a.length&&!(a[r].depth<o.depth);r++)if(a[r].depth===o.depth){d=!1;break}return{...o,treePrefix:(o.depth>=2?"│ ":"")+(d?"└─":"├─")}})}const C=l.createSelector(e=>{const t=e.hud.attentionByWorkspaceId,n=oe.select(e);return S.select(e).map(s=>{const o=String(s.id),i=n.indexOf(o),a=t[o]?.attention??(typeof s.attention=="string"&&P(s.attention)?s.attention:null),d=b(s,e),r=w(s),c=e.tokenUsage?.byWorkspaceId[o]?.totals,u=e.workspaceTasks?.byWorkspaceId[o]?.stats,g=typeof s.statusMessage=="string"&&s.statusMessage.trim().length>0?s.statusMessage:null;return{workspaceId:o,title:s.title,repoRef:s.repositoryName?`${s.repositoryOwner?`${s.repositoryOwner}/`:""}${s.repositoryName}`:s.branch,stateKey:r,attention:a,isUnread:a===te,isWaiting:s.waiting===!0,statusMessage:g,attentionSnippet:Ae(e,r,d),prNumber:typeof s.prNumber=="number"?s.prNumber:null,keySlot:i===-1?null:i,tasks:u?{total:u.total,completed:u.completed,inProgress:u.inProgress}:Se,tokens:c?N(c):0,agents:Ie(d)}})}),M=4;function we(e,t,n){const s=e.agentSessions?.byAgentId[n.id];return!s||String(s.workspaceId)!==t||s.pendingDeleteAt||q(U(n,s))!=="topLevel"?!1:!A(e,n.id)}const be=l.createSelector(e=>{const t={},n=e.hud.attentionByWorkspaceId;for(const s of S.select(e)){const o=String(s.id),i=new Map,a=(f,p)=>{const v=i.get(f)??[];v.includes(p)||v.push(p),i.set(f,v)},r=I(s).filter(f=>we(e,o,f));for(const f of r){const p=y(e,f);p.bucket==="failed"?a("failed",f.name):p.hasQuestion?a("question",f.name):p.attentionKind==="blocker"?a("blocker",f.name):p.attentionKind==="discussion"&&a("discussion",f.name),p.isRunning&&a("running",f.name)}const c=w(s);c==="failed"&&!i.has("failed")&&i.set("failed",[]),c==="blocked"&&!i.has("blocker")&&i.set("blocker",[]),c==="wait"&&!i.has("question")&&!i.has("blocker")&&!i.has("discussion")&&i.set("needs_input",[]);const u=n[o]?.attention??(typeof s.attention=="string"&&P(s.attention)?s.attention:null);u==="review_required"&&i.set("review",[]),u==="unread"&&i.set("unread",[]),s.activity==="agent_running"&&!i.has("running")&&i.set("running",[]);const g=ne.flatMap(f=>{const p=i.get(f);return p?[{category:f,count:Math.max(1,p.length),agentNames:p}]:[]});if(g.length===0)continue;const k=g.length>M;t[o]={agentCount:r.length,categories:g,visibleCategories:k?g.slice(0,M-1):g,hiddenCategoryCount:k?g.length-(M-1):0}}return t});l.createSelector(e=>{const t=e.hud.attentionByWorkspaceId;let n=0;for(const s of S.select(e)){let o=!1;for(const d of b(s,e))d.topLevel&&!d.isBackground&&!A(e,d.id)&&(d.bucket==="failed"||d.attentionKind!==null||d.hasQuestion)&&(n+=1,o=!0);const i=t[String(s.id)],a=i!==void 0&&H(i.attention);a&&(n+=1),L.has(w(s))&&!o&&!a&&(n+=1)}return n});function ve(e,t,n,s){const o=s.slice().sort((r,c)=>c.createdAt-r.createdAt);for(const r of o){const u=e.agentSessions?.byAgentId[r.agentId]?.metadata?.completionReport;if(typeof u=="string"&&u.trim().length>0)return u}const i=e.workspaceNotes?.byWorkspaceId[t]?.notes,a=i?h(i,n):void 0,d=a?.content||a?.contentPreview;return typeof d=="string"&&d.trim().length>0?d:null}const je=l.createSelector((e,t)=>{const n=C.select(e).find(c=>c.workspaceId===t);if(!n)return null;const s=h(e.workspace.workspaces,t),o=s?b(s,e):[],i=new Map(o.map(c=>[c.id,c])),a=e.taskAgentAssociations?.byWorkspaceId[t]?.byNoteId??{},d=e.workspaceTasks?.byWorkspaceId[t],r=d?R(d.tasks).filter(c=>c.status!=="cancelled").map(c=>{const u=Object.values(a[c.id]??{});return{id:c.id,title:c.title,status:c.status,agents:u.map(g=>i.get(g.agentId)).filter(g=>!!g),report:c.status==="complete"?ve(e,t,c.id,u):null,...c.specLinked!==void 0?{specLinked:c.specLinked}:{},...c.dependsOn?{dependsOn:c.dependsOn}:{},...c.conflictsWith?{conflictsWith:c.conflictsWith}:{},...c.unmetDependsOn?{unmetDependsOn:c.unmetDependsOn}:{}}}):[];return{workspaceId:t,title:n.title,repoRef:n.repoRef,statusMessage:n.statusMessage,keySlot:n.keySlot,stats:n.tasks,tasks:r,activeAgents:o.filter(c=>m.has(c.bucket)),idleAgents:o.filter(c=>!m.has(c.bucket))}}),Te=new Set(["failed","blocker","question","discussion","needs_input","review"]);function Oe(e){for(const t of e?.categories??[])switch(t.category){case"failed":return"failure";case"blocker":return"blocker";case"question":return"question";case"review":return"review"}return"none"}const Xe=l.createSelector((e,t="recent")=>{const n=C.select(e),s=be.select(e),o=new Map(S.select(e).map(a=>[String(a.id),a])),i={action:[],unread:[],active:[]};for(const a of n){const d=o.get(a.workspaceId);if(!d||d.id===se||!(t==="older"?ge:ue)(e.hud.dockConversationAtByWorkspaceId[a.workspaceId],e.hud.dockRecencyNow))continue;const r=s[a.workspaceId],c=r?.categories??[],u=c.some(p=>Te.has(p.category)),g=a.isUnread,k=c.some(p=>p.category==="running"),f=u?"action":g?"unread":"active";i[f].push({workspace:d,badgeKind:Oe(r),priorityGroup:f,isUnread:g,isRunning:k,isWaiting:a.isWaiting})}return[...i.action,...i.unread,...i.active].sort((a,d)=>e.hud.dockConversationAtByWorkspaceId[String(d.workspace.id)]-e.hud.dockConversationAtByWorkspaceId[String(a.workspace.id)]||String(a.workspace.id).localeCompare(String(d.workspace.id)))}),ze=l.createSelector(e=>e.hud.dockPlacement),Je=l.createSelector(e=>e.hud.dockPlacementError),$e=l.createSelector(e=>e.hud.dockFocusRequest),Ye=l.createSelector(e=>e.hud.dockCloseRequest),Ze=l.createSelector(e=>e.hud.dockDragStartResult),et=l.createSelector(e=>e.hud.dockResizeStartResult),tt=l.createSelector(e=>({pending:e.hud.dockMachineSwitching,error:e.hud.dockMachineSwitchError})),nt=l.createSelector(e=>{const t=e.hud.dockEditorCompactRequest,n=e.dockConversation,s=n.workspaceId&&n.agentId?h(n.evidence,JSON.stringify([n.workspaceId,n.agentId])):null,o=!!n.nativeSpeech.activeId||!!s?.annotation||s?.clips.some(i=>i.status==="recording")||e.hardwareConsole.pttRecording||e.hardwareConsole.voiceTranscribing;return t&&!o&&e.hud.active&&t.conversationGeneration===n.generation&&t.authority===K(e)&&t.backendId===e.connections.windowBackendId&&t.workspaceId===e.dockConversation.workspaceId&&t.agentId===e.dockConversation.agentId?t:null});export{Ne as A,Ge as B,be as C,Ye as a,Ze as b,nt as c,$e as d,tt as e,ze as f,Je as g,De as h,ae as i,et as j,Xe as k,xe as l,Ue as m,Qe as n,qe as o,Pe as p,Ve as q,We as r,Be as s,Ke as t,Ee as u,Fe as v,Le as w,je as x,He as y,C as z};
|