@intent-hq/web 2.381.2 → 2.383.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/assets/0.BmwjvpSF.css +1 -0
- package/web/app/immutable/chunks/{BeKKPzED.js → -K3ARgq0.js} +1 -1
- package/web/app/immutable/chunks/{pGhuLhmB.js → 0PdeE_M-.js} +1 -1
- package/web/app/immutable/chunks/{B1TqZZyd.js → 1WR8MecL.js} +3 -3
- package/web/app/immutable/chunks/{Bw803iNn.js → 469banqV.js} +3 -3
- package/web/app/immutable/chunks/{C9RagC2N.js → 518Fef2L.js} +1 -1
- package/web/app/immutable/chunks/{zOXOu59X.js → 6-uYidyP.js} +3 -3
- package/web/app/immutable/chunks/{CuMJ0LCw.js → 6Bqipt1r.js} +1 -1
- package/web/app/immutable/chunks/{BG_RlrpY.js → 6GlvsI2m.js} +1 -1
- package/web/app/immutable/chunks/{BD4C_b2Z.js → 7GuT70Sz.js} +1 -1
- package/web/app/immutable/chunks/{CyczJyMt.js → 7UPrdiE9.js} +1 -1
- package/web/app/immutable/chunks/A9niI_uA.js +1 -0
- package/web/app/immutable/chunks/{B4Uud3OJ.js → B-ef1MlI.js} +1 -1
- package/web/app/immutable/chunks/{DN6qgMae.js → B2Ym4lhl.js} +1 -1
- package/web/app/immutable/chunks/{CkEbA_As.js → B2nCyo89.js} +1 -1
- package/web/app/immutable/chunks/{D2MSvsFH.js → B3Bfek34.js} +1 -1
- package/web/app/immutable/chunks/{BmQQcH5z.js → B4SiDSWP.js} +1 -1
- package/web/app/immutable/chunks/{Dq39ODex.js → B4WuQori.js} +1 -1
- package/web/app/immutable/chunks/{B4K17hnI.js → B4xSB_Hx.js} +1 -1
- package/web/app/immutable/chunks/{BZKoidWB.js → B6S6VNu7.js} +1 -1
- package/web/app/immutable/chunks/{Bg4SPgrZ.js → B6STvYyK.js} +1 -1
- package/web/app/immutable/chunks/{BTQKLXYi.js → B6qvxAO7.js} +1 -1
- package/web/app/immutable/chunks/{qE-X6VV1.js → B8-Q1tED.js} +1 -1
- package/web/app/immutable/chunks/{Cy0xJYMG.js → B8VxRkn_.js} +1 -1
- package/web/app/immutable/chunks/{BIIYZtt3.js → B9oKJyXc.js} +1 -1
- package/web/app/immutable/chunks/{BX63FB9x.js → BAKPnd3w.js} +1 -1
- package/web/app/immutable/chunks/{ByhEuqgY.js → BAP-Km9w.js} +1 -1
- package/web/app/immutable/chunks/{CDnYwtBR.js → BAzzHP-D.js} +1 -1
- package/web/app/immutable/chunks/{CN0TD23u.js → BBws4Cyt.js} +1 -1
- package/web/app/immutable/chunks/{CHiOQIO1.js → BCS2G1TZ.js} +1 -1
- package/web/app/immutable/chunks/{D5Rd8qkd.js → BE6Cp7Qp.js} +1 -1
- package/web/app/immutable/chunks/{Bmt71DMB.js → BFEzojY2.js} +1 -1
- package/web/app/immutable/chunks/{CKFaA258.js → BFeEPayU.js} +1 -1
- package/web/app/immutable/chunks/{EfOpqeLT.js → BFgeFHTs.js} +1 -1
- package/web/app/immutable/chunks/{CVuT-llE.js → BGTRTFMR.js} +1 -1
- package/web/app/immutable/chunks/{_Juvw-ie.js → BI0hvS48.js} +3 -3
- package/web/app/immutable/chunks/{9mNi8996.js → BI3a2AWW.js} +2 -2
- package/web/app/immutable/chunks/BIVeXMBl.js +1 -0
- package/web/app/immutable/chunks/{Cgjp6r06.js → BK6a0pzX.js} +1 -1
- package/web/app/immutable/chunks/{DCfPUdw9.js → BLyGObAP.js} +3 -3
- package/web/app/immutable/chunks/{DVHfIJ_U.js → BNkpVy97.js} +1 -1
- package/web/app/immutable/chunks/{B3TTR8D_.js → BP3Sccje.js} +1 -1
- package/web/app/immutable/chunks/{xlIh55VB.js → BP5uGGO_.js} +1 -1
- package/web/app/immutable/chunks/{BavAnT42.js → BPL5Fo2b.js} +1 -1
- package/web/app/immutable/chunks/{BKMwkk7g.js → BPzekfWN.js} +1 -1
- package/web/app/immutable/chunks/{DnbNqDYS.js → BSKFIBj2.js} +1 -1
- package/web/app/immutable/chunks/{CkyY-zEo.js → BTrqJIJZ.js} +1 -1
- package/web/app/immutable/chunks/{bT3v1QYj.js → BTw9kxtg.js} +1 -1
- package/web/app/immutable/chunks/{DPCjIvYy.js → BUGeL7WE.js} +1 -1
- package/web/app/immutable/chunks/{Besc4d7d.js → BWYuMy_r.js} +1 -1
- package/web/app/immutable/chunks/{dzRbajCR.js → BX-0SVP7.js} +1 -1
- package/web/app/immutable/chunks/{jExJ4qw0.js → BXhT5rHA.js} +2 -2
- package/web/app/immutable/chunks/{COWdAscC.js → BY9RbRJy.js} +1 -1
- package/web/app/immutable/chunks/{CEUJ2SOA.js → BYP8ebQS.js} +1 -1
- package/web/app/immutable/chunks/{Bkn9MGZb.js → BYq9VtBF.js} +1 -1
- package/web/app/immutable/chunks/{DQdDAxOz.js → BaujsV9k.js} +1 -1
- package/web/app/immutable/chunks/{7Co-pRoL.js → BbvEB4jz.js} +1 -1
- package/web/app/immutable/chunks/{s7AiPAor.js → BcpfdNy8.js} +1 -1
- package/web/app/immutable/chunks/{BB82Eb4D.js → BeOwB_6G.js} +1 -1
- package/web/app/immutable/chunks/{DDHXn0gy.js → BfojStRz.js} +1 -1
- package/web/app/immutable/chunks/{IPb2sVOc.js → BjRQQ_jq.js} +4 -4
- package/web/app/immutable/chunks/{J4xkCilS.js → BkITif4J.js} +1 -1
- package/web/app/immutable/chunks/{DJS9lO4g.js → BlRYe00B.js} +1 -1
- package/web/app/immutable/chunks/{BR1_dE35.js → BlVYr5cA.js} +1 -1
- package/web/app/immutable/chunks/{Ah-onPNG.js → BmTMWrby.js} +1 -1
- package/web/app/immutable/chunks/{BzJwOhb5.js → Bq_wOSEp.js} +1 -1
- package/web/app/immutable/chunks/{D5zGpim8.js → Bs9K_x5H.js} +1 -1
- package/web/app/immutable/chunks/{HWtwQJMe.js → Bsh6nUhU.js} +1 -1
- package/web/app/immutable/chunks/{CTzwWQun.js → BsrrIQeo.js} +1 -1
- package/web/app/immutable/chunks/{CpxnRRai.js → BtHTHBJp.js} +1 -1
- package/web/app/immutable/chunks/{BWLItowS.js → Bty1UglO.js} +1 -1
- package/web/app/immutable/chunks/{B_TGsMEB.js → BvPbguyx.js} +1 -1
- package/web/app/immutable/chunks/{o9vqVVAE.js → BvbTU4IL.js} +1 -1
- package/web/app/immutable/chunks/{DwzqUxIw.js → Bvi-fRGz.js} +1 -1
- package/web/app/immutable/chunks/{zFOAQ-fV.js → BwhjiNjC.js} +1 -1
- package/web/app/immutable/chunks/{6eBy--fo.js → BwtFad5m.js} +2 -2
- package/web/app/immutable/chunks/{DLs0Gu12.js → BxEf7uwl.js} +1 -1
- package/web/app/immutable/chunks/{D1BWZmii.js → BxJ6X-Sl.js} +1 -1
- package/web/app/immutable/chunks/{ko5zX9YA.js → BxVnbYG1.js} +1 -1
- package/web/app/immutable/chunks/{CLbTxOfk.js → ByfS7UIX.js} +1 -1
- package/web/app/immutable/chunks/{BzWnUeNO.js → BypvqIQM.js} +1 -1
- package/web/app/immutable/chunks/{DAY78LgA.js → C-O59F9J.js} +2 -2
- package/web/app/immutable/chunks/C0QTy0Sy.js +1 -0
- package/web/app/immutable/chunks/{Bz7B58eG.js → C1EvfTg-.js} +1 -1
- package/web/app/immutable/chunks/{CtJr8Pwg.js → C45U06qp.js} +1 -1
- package/web/app/immutable/chunks/{DVkTXE2a.js → C4JXGtw1.js} +1 -1
- package/web/app/immutable/chunks/{C1hbmGxM.js → C4JbSg3f.js} +1 -1
- package/web/app/immutable/chunks/{Fh9R4BHC.js → C4QKwtCH.js} +1 -1
- package/web/app/immutable/chunks/{8OEJW7fY.js → C6Qw0raF.js} +1 -1
- package/web/app/immutable/chunks/{CsY5Dftt.js → C6mS8uZB.js} +1 -1
- package/web/app/immutable/chunks/{B3Muoj7H.js → C7LIHk5_.js} +1 -1
- package/web/app/immutable/chunks/{BUfNfMkk.js → C8JlOzbF.js} +1 -1
- package/web/app/immutable/chunks/{Da_Z6CgM.js → C8y9EItt.js} +1 -1
- package/web/app/immutable/chunks/{Dxv5pbru.js → C9h2rwKF.js} +1 -1
- package/web/app/immutable/chunks/{BE66F_G_.js → CAvYeStH.js} +1 -1
- package/web/app/immutable/chunks/{B-wL6Wzy.js → CBkpyV7r.js} +1 -1
- package/web/app/immutable/chunks/{Dy2ZTySC.js → CCqqosml.js} +1 -1
- package/web/app/immutable/chunks/{Bxk8XeS_.js → CDAoSo12.js} +1 -1
- package/web/app/immutable/chunks/{DaYz5Oxb.js → CDCEiDxP.js} +3 -3
- package/web/app/immutable/chunks/{KWmquGlL.js → CDK_hSiv.js} +1 -1
- package/web/app/immutable/chunks/{5DxHNwZe.js → CDNvYbvS.js} +1 -1
- package/web/app/immutable/chunks/{CXCeVP0_.js → CDjpuJh0.js} +1 -1
- package/web/app/immutable/chunks/{Yy6hnibL.js → CE7dsja4.js} +1 -1
- package/web/app/immutable/chunks/{Cr-iZ9Tf.js → CEOBX1Pf.js} +1 -1
- package/web/app/immutable/chunks/{RNoFqjp6.js → CFny5dMa.js} +1 -1
- package/web/app/immutable/chunks/{Ckr4n1ss.js → CGIQkN5K.js} +1 -1
- package/web/app/immutable/chunks/{C9K8tC7J.js → CHLX1QZz.js} +1 -1
- package/web/app/immutable/chunks/{CV9F7g3O.js → CHXhxB4Q.js} +1 -1
- package/web/app/immutable/chunks/{CxSmnqpJ.js → CI9sv_EP.js} +1 -1
- package/web/app/immutable/chunks/{Bwqr9iPo.js → CJ4Z96pe.js} +1 -1
- package/web/app/immutable/chunks/CJO6KBmw.js +1 -0
- package/web/app/immutable/chunks/{BROVaoRF.js → CJVoHxzN.js} +1 -1
- package/web/app/immutable/chunks/{Dk_2gwLu.js → CKXQrY3X.js} +1 -1
- package/web/app/immutable/chunks/{rdao0YQj.js → CL-lzPGU.js} +1 -1
- package/web/app/immutable/chunks/{B828qkf6.js → CMu-09q3.js} +1 -1
- package/web/app/immutable/chunks/{CYDXSK8a.js → CNAgTnv2.js} +1 -1
- package/web/app/immutable/chunks/{I_40sZHA.js → CO5zWp8I.js} +1 -1
- package/web/app/immutable/chunks/{BQzm8t-k.js → CRZZ_hOy.js} +1 -1
- package/web/app/immutable/chunks/{BFjAz9so.js → CSRYV6LQ.js} +1 -1
- package/web/app/immutable/chunks/{C7vw9rpc.js → CSVgdt55.js} +1 -1
- package/web/app/immutable/chunks/{F6tZeezN.js → CU5jKGma.js} +1 -1
- package/web/app/immutable/chunks/{BIGXb0qV.js → CUkDMZwP.js} +1 -1
- package/web/app/immutable/chunks/{wQP9H0b5.js → CY4fyoCV.js} +1 -1
- package/web/app/immutable/chunks/C_1hI7HP.js +1 -0
- package/web/app/immutable/chunks/{B2JbncL-.js → C_KuQ05a.js} +1 -1
- package/web/app/immutable/chunks/{CJotcdQg.js → CaNxJFJ1.js} +1 -1
- package/web/app/immutable/chunks/{B_L3BWUb.js → CbO3oDHw.js} +1 -1
- package/web/app/immutable/chunks/{C4Fxj3Dv.js → CbqxWBi7.js} +1 -1
- package/web/app/immutable/chunks/{CgbisBm3.js → CeHXXIxE.js} +1 -1
- package/web/app/immutable/chunks/{C9qmiGPA.js → Cf4fmkfL.js} +1 -1
- package/web/app/immutable/chunks/{P-6iyz0U.js → CiMmbOsB.js} +1 -1
- package/web/app/immutable/chunks/{B_9Y0vrL.js → CiSIqqOJ.js} +1 -1
- package/web/app/immutable/chunks/{CHDBPeiu.js → CjTo2K46.js} +1 -1
- package/web/app/immutable/chunks/{DVIpt_-b.js → CjpxPpfy.js} +1 -1
- package/web/app/immutable/chunks/{BORX4QsI.js → Ck2X3Rvg.js} +1 -1
- package/web/app/immutable/chunks/{76a0x163.js → CkA2ItLw.js} +1 -1
- package/web/app/immutable/chunks/{DYXQ0DvL.js → Ckb6le-m.js} +4 -4
- package/web/app/immutable/chunks/{CL_Wu5hL.js → CkmRZ_MC.js} +1 -1
- package/web/app/immutable/chunks/{hOsZO8to.js → CmrjfWYI.js} +1 -1
- package/web/app/immutable/chunks/{BgdV71H8.js → CnAbYuPp.js} +1 -1
- package/web/app/immutable/chunks/{BtCfKiJI.js → CnqJXAKo.js} +1 -1
- package/web/app/immutable/chunks/{CvmogvXF.js → Co4vj0dC.js} +1 -1
- package/web/app/immutable/chunks/{Cywj8P1v.js → Cofxvpdb.js} +1 -1
- package/web/app/immutable/chunks/{BzpQRjDP.js → Cqa6LF3b.js} +1 -1
- package/web/app/immutable/chunks/CqcqWJoa.js +1 -0
- package/web/app/immutable/chunks/CrD0jtXE.js +1 -0
- package/web/app/immutable/chunks/{D2ZHHwj-.js → CrFyLBfi.js} +2 -2
- package/web/app/immutable/chunks/{DLncssSx.js → Ctbo6mXV.js} +1 -1
- package/web/app/immutable/chunks/{dnTowHeA.js → CxFOqPFP.js} +3 -3
- package/web/app/immutable/chunks/{lEWu7gpF.js → Cxf6ur9F.js} +1 -1
- package/web/app/immutable/chunks/{BCl5zPXa.js → D-YGlaxj.js} +1 -1
- package/web/app/immutable/chunks/{CVQJ3G9r.js → D-dukRlA.js} +1 -1
- package/web/app/immutable/chunks/D-zjf2Af.js +1 -0
- package/web/app/immutable/chunks/{DhkuGmLb.js → D37getya.js} +1 -1
- package/web/app/immutable/chunks/{zdyRQTcF.js → D3C3nNLs.js} +1 -1
- package/web/app/immutable/chunks/{BgfkQ05m.js → D3p_bZm7.js} +1 -1
- package/web/app/immutable/chunks/{B6jOBMKj.js → D4FXvK9L.js} +3 -3
- package/web/app/immutable/chunks/{B6v6locT.js → D51XIZYq.js} +1 -1
- package/web/app/immutable/chunks/{BGr1zUsV.js → D5tDp1i8.js} +1 -1
- package/web/app/immutable/chunks/{DT_2ysGq.js → D6dlPeEM.js} +1 -1
- package/web/app/immutable/chunks/{CMzQ5CXp.js → D73nBZuu.js} +1 -1
- package/web/app/immutable/chunks/{Do7ouyXz.js → D8ohaX19.js} +1 -1
- package/web/app/immutable/chunks/{B4GJOofT.js → DA5opfEp.js} +1 -1
- package/web/app/immutable/chunks/{BOSZ-Hrc.js → DB7RVYiL.js} +1 -1
- package/web/app/immutable/chunks/{CfRm3l5p.js → DC8keNAk.js} +1 -1
- package/web/app/immutable/chunks/{C8SLclsn.js → DCK8dPAL.js} +1 -1
- package/web/app/immutable/chunks/{Bl3Cuor0.js → DCRuihKm.js} +2 -2
- package/web/app/immutable/chunks/{DsbDY3sD.js → DDJ_XVek.js} +2 -2
- package/web/app/immutable/chunks/{3BCA27_7.js → DEI5RmgA.js} +1 -1
- package/web/app/immutable/chunks/{mg5SY1J3.js → DIKTPgAK.js} +1 -1
- package/web/app/immutable/chunks/{BOzF_1jP.js → DJs4vEjF.js} +1 -1
- package/web/app/immutable/chunks/{CnT7X_Ka.js → DKHY8q_S.js} +1 -1
- package/web/app/immutable/chunks/{C4_TlGj0.js → DLwWVKiF.js} +1 -1
- package/web/app/immutable/chunks/{DkPs4gWX.js → DME_6OFx.js} +1 -1
- package/web/app/immutable/chunks/{SCoe-XeJ.js → DMlkDPxV.js} +1 -1
- package/web/app/immutable/chunks/{CmLRC7-r.js → DN6OUhsP.js} +1 -1
- package/web/app/immutable/chunks/{CPvBbiM1.js → DOUbieNj.js} +1 -1
- package/web/app/immutable/chunks/{CfHaUU8C.js → DOhJfAZG.js} +1 -1
- package/web/app/immutable/chunks/{tFT894m3.js → DPYlDye0.js} +1 -1
- package/web/app/immutable/chunks/{DRdEaij1.js → DPZcepbV.js} +1 -1
- package/web/app/immutable/chunks/{CE-ONoWm.js → DPyomP91.js} +1 -1
- package/web/app/immutable/chunks/{wJF9cAcZ.js → DPzOIlu9.js} +1 -1
- package/web/app/immutable/chunks/{BLCYnNxp.js → DQ_mNIfK.js} +1 -1
- package/web/app/immutable/chunks/{CZpxXUzD.js → DR4Kh2SL.js} +1 -1
- package/web/app/immutable/chunks/{DMhc83bo.js → DSAj_NCN.js} +1 -1
- package/web/app/immutable/chunks/{CrtOf2Rt.js → DTuql3Rj.js} +1 -1
- package/web/app/immutable/chunks/{BdSrsYxv.js → DUhA4bgN.js} +1 -1
- package/web/app/immutable/chunks/{CplGIhI5.js → DX-Wrapd.js} +1 -1
- package/web/app/immutable/chunks/{C1Zw9RUp.js → DXBEIeJu.js} +1 -1
- package/web/app/immutable/chunks/{CaBTNP9L.js → D_Xpj-6r.js} +1 -1
- package/web/app/immutable/chunks/{C-931TJ0.js → DaaqgDka.js} +1 -1
- package/web/app/immutable/chunks/{BnV5imkg.js → Ddq8SBEz.js} +1 -1
- package/web/app/immutable/chunks/{CHyLxrMv.js → DduCxuVq.js} +1 -1
- package/web/app/immutable/chunks/{aDC6CW-9.js → Dfg3lB2h.js} +1 -1
- package/web/app/immutable/chunks/{gWn9PDXZ.js → Dhzl8ugO.js} +1 -1
- package/web/app/immutable/chunks/{b16NDDfn.js → Di8eJPr0.js} +2 -2
- package/web/app/immutable/chunks/{3ozr1vad.js → Div5PXT-.js} +2 -2
- package/web/app/immutable/chunks/{CDGdQPZ3.js → DjHhZWUX.js} +1 -1
- package/web/app/immutable/chunks/{Cy1eIaf4.js → Djg1-55Y.js} +1 -1
- package/web/app/immutable/chunks/{DqfOHbUh.js → Djp7mdlG.js} +1 -1
- package/web/app/immutable/chunks/{oxrHj9WB.js → DlEmrQXN.js} +2 -2
- package/web/app/immutable/chunks/{BZRdDiLW.js → Dlk4BhFg.js} +1 -1
- package/web/app/immutable/chunks/{CngHTAnD.js → Dm7KqEFT.js} +13 -13
- package/web/app/immutable/chunks/{oLeo92vY.js → DmXAUF0G.js} +1 -1
- package/web/app/immutable/chunks/DmaEU7hb.js +2 -0
- package/web/app/immutable/chunks/{D6uQnPIb.js → DnJ4jlPB.js} +1 -1
- package/web/app/immutable/chunks/{Cg1tTx8i.js → DpMOdl0E.js} +1 -1
- package/web/app/immutable/chunks/{D2KaVfIR.js → DqMqjmmT.js} +2 -2
- package/web/app/immutable/chunks/{Bf8Z3F34.js → Dr0V5Z_Q.js} +1 -1
- package/web/app/immutable/chunks/{Ue-wYmxq.js → DrHfN5GT.js} +1 -1
- package/web/app/immutable/chunks/{CKt7lvPP.js → DrIA1Azf.js} +1 -1
- package/web/app/immutable/chunks/{BX43DT22.js → DrxfcnSy.js} +1 -1
- package/web/app/immutable/chunks/{CE095mBY.js → DsGUBv3k.js} +1 -1
- package/web/app/immutable/chunks/{DtV42LL1.js → DsT1iX_Q.js} +6 -6
- package/web/app/immutable/chunks/{BJGbabcl.js → Dsf8OM9-.js} +1 -1
- package/web/app/immutable/chunks/{DtqWU30y.js → Dsr4GELp.js} +1 -1
- package/web/app/immutable/chunks/DtF9DVpp.js +1 -0
- package/web/app/immutable/chunks/{vnEDE6VU.js → Du_rNq8q.js} +1 -1
- package/web/app/immutable/chunks/{Gi8kzv-V.js → DvUGkiYP.js} +1 -1
- package/web/app/immutable/chunks/{CLiKsUcS.js → DvYUfzNR.js} +1 -1
- package/web/app/immutable/chunks/{BIon5kwa.js → Dw8wIAFi.js} +1 -1
- package/web/app/immutable/chunks/{BiKalUOw.js → DwImHc9s.js} +1 -1
- package/web/app/immutable/chunks/{D4XZeMXl.js → DwL1A1su.js} +1 -1
- package/web/app/immutable/chunks/{B-4Cm2na.js → DzWZGIya.js} +1 -1
- package/web/app/immutable/chunks/{BkliVAqJ.js → Dzk9iuw9.js} +4 -4
- package/web/app/immutable/chunks/{D81Tox6K.js → EK6zOAHM.js} +1 -1
- package/web/app/immutable/chunks/{gtC5KXEz.js → Fdd73CJo.js} +1 -1
- package/web/app/immutable/chunks/{CESUeVmp.js → FzlZUztb.js} +1 -1
- package/web/app/immutable/chunks/{Bz8C2v0s.js → H9IjxeQk.js} +1 -1
- package/web/app/immutable/chunks/{DgW5R9bn.js → J8_M56d9.js} +1 -1
- package/web/app/immutable/chunks/{EW9Oxsda.js → KH7BHXXb.js} +1 -1
- package/web/app/immutable/chunks/{y7Ugu8WS.js → KHteWVFN.js} +1 -1
- package/web/app/immutable/chunks/{CfC-LCr9.js → KSLBBJRy.js} +1 -1
- package/web/app/immutable/chunks/{CxRJqvXa.js → KYuLFpkq.js} +1 -1
- package/web/app/immutable/chunks/{c5MBfH9F.js → L7j-Q29w.js} +1 -1
- package/web/app/immutable/chunks/{DvQWx7ZN.js → L_tYoUCb.js} +1 -1
- package/web/app/immutable/chunks/{Bt_5d6KS.js → M-TVgx-R.js} +1 -1
- package/web/app/immutable/chunks/{BQyGe_6f.js → MI7EtNv0.js} +1 -1
- package/web/app/immutable/chunks/{nMcdiCb6.js → MQBseMlG.js} +1 -1
- package/web/app/immutable/chunks/{BNrkXLIB.js → No1eCFy3.js} +1 -1
- package/web/app/immutable/chunks/{DEelt7b0.js → OFhgRaUm.js} +1 -1
- package/web/app/immutable/chunks/{Q7XiOE5T.js → OtomGvb3.js} +1 -1
- package/web/app/immutable/chunks/{3Tv2tBbo.js → P-T74LCo.js} +3 -3
- package/web/app/immutable/chunks/{DIQ23RZn.js → PIgqsYsQ.js} +1 -1
- package/web/app/immutable/chunks/{BCx2RJGr.js → QeBH-DWE.js} +1 -1
- package/web/app/immutable/chunks/{D7kKwL53.js → RFsxwSsB.js} +1 -1
- package/web/app/immutable/chunks/{BEGsYnq4.js → Rx5mQeGT.js} +4 -4
- package/web/app/immutable/chunks/{Be5foFms.js → S845NCb3.js} +1 -1
- package/web/app/immutable/chunks/{Dpd18D9E.js → Su2XS_Ru.js} +1 -1
- package/web/app/immutable/chunks/{H_09C3Qv.js → T8d_aLDP.js} +1 -1
- package/web/app/immutable/chunks/{DYltC5LY.js → TiuNiN7j.js} +1 -1
- package/web/app/immutable/chunks/{DQEQvBuM.js → U9jJmfYa.js} +1 -1
- package/web/app/immutable/chunks/{DgQzilAi.js → W7maz5hp.js} +1 -1
- package/web/app/immutable/chunks/{C__OzIly.js → WVvubfLN.js} +2 -2
- package/web/app/immutable/chunks/{DYTNWFlt.js → XCWZeNYo.js} +1 -1
- package/web/app/immutable/chunks/{CoHtEoLb.js → XHPDEELd.js} +1 -1
- package/web/app/immutable/chunks/{xAGiw113.js → Y5Ky10uA.js} +1 -1
- package/web/app/immutable/chunks/{DwlFFy2U.js → Zx9hB63s.js} +1 -1
- package/web/app/immutable/chunks/{Do1K3fjZ.js → _SYFiE9N.js} +1 -1
- package/web/app/immutable/chunks/{DdtN-mI9.js → a3TFelkn.js} +1 -1
- package/web/app/immutable/chunks/{CFhJzMqD.js → azpKokvz.js} +1 -1
- package/web/app/immutable/chunks/{CbUxbw3N.js → bF6PpsOD.js} +1 -1
- package/web/app/immutable/chunks/{Gpf-ce3t.js → bhKPSdq4.js} +1 -1
- package/web/app/immutable/chunks/{CcrFwPvM.js → c5QZsH9t.js} +1 -1
- package/web/app/immutable/chunks/{CYodIWBo.js → chjnSxvZ.js} +1 -1
- package/web/app/immutable/chunks/{Bfi3_8Hc.js → eElW3aeh.js} +1 -1
- package/web/app/immutable/chunks/{CNXu44c3.js → ebbVP0tp.js} +1 -1
- package/web/app/immutable/chunks/{0chz2rsS.js → f24VwgrA.js} +1 -1
- package/web/app/immutable/chunks/{BGozEqB2.js → fiz8N_zQ.js} +1 -1
- package/web/app/immutable/chunks/{D_2nAvGE.js → h06E2ICA.js} +1 -1
- package/web/app/immutable/chunks/{Cr4NRN2o.js → hHMYoFyG.js} +1 -1
- package/web/app/immutable/chunks/{Ba-gJiCF.js → haN7a3Sc.js} +1 -1
- package/web/app/immutable/chunks/{e9FnhdhA.js → i_QPvq4q.js} +1 -1
- package/web/app/immutable/chunks/{Cc08a9kX.js → kS6Z7jzP.js} +1 -1
- package/web/app/immutable/chunks/{D5CeMpEM.js → kjxbkPQZ.js} +1 -1
- package/web/app/immutable/chunks/{DwgOf6Jh.js → lJeex2Gh.js} +1 -1
- package/web/app/immutable/chunks/{DZTelE6-.js → nImP7yvb.js} +1 -1
- package/web/app/immutable/chunks/{De9e0mT0.js → nbomrtth.js} +1 -1
- package/web/app/immutable/chunks/{BFqSYY_K.js → oOhxfFIU.js} +1 -1
- package/web/app/immutable/chunks/{C5BT0KwE.js → ozVAo4aX.js} +1 -1
- package/web/app/immutable/chunks/{DlZ4XLhX.js → q6F-1__g.js} +1 -1
- package/web/app/immutable/chunks/{VtSYBFwm.js → tZyAiGvb.js} +1 -1
- package/web/app/immutable/chunks/{9xo585Vy.js → tr-2J8Mf.js} +1 -1
- package/web/app/immutable/chunks/{DhKLQ_6L.js → ujhgjK1k.js} +1 -1
- package/web/app/immutable/chunks/{CCHulQ4M.js → v0ybYtGc.js} +1 -1
- package/web/app/immutable/chunks/{Cf9FKQ2t.js → viB2mzAd.js} +1 -1
- package/web/app/immutable/chunks/{DQGxxGZP.js → wl2qP2wF.js} +1 -1
- package/web/app/immutable/chunks/{E-ElQTlm.js → x63yRqVE.js} +1 -1
- package/web/app/immutable/chunks/{DZldOwzL.js → yFcbscNn.js} +1 -1
- package/web/app/immutable/chunks/{CpCzAUi8.js → yaHL2zPw.js} +1 -1
- package/web/app/immutable/chunks/{DQzjOLwV.js → zHu1d_6X.js} +2 -2
- package/web/app/immutable/entry/app.CgYQGiwi.js +4 -0
- package/web/app/immutable/entry/start.C_kFKw1E.js +1 -0
- package/web/app/immutable/nodes/{0.XjTeJo8S.js → 0.DOOOI3Bo.js} +1 -1
- package/web/app/immutable/nodes/{1.WAn52SGO.js → 1.DCbWOuyY.js} +1 -1
- package/web/app/immutable/nodes/{10.BCt95gGF.js → 10.DkhUAhty.js} +5 -5
- package/web/app/immutable/nodes/{11.D9nZjMrf.js → 11.DDwWhO0Z.js} +1 -1
- package/web/app/immutable/nodes/{12.J0j9wF8Z.js → 12.BpXDHhXi.js} +1 -1
- package/web/app/immutable/nodes/{13.BGHXM182.js → 13.CCKyw-_o.js} +1 -1
- package/web/app/immutable/nodes/{14.BpDGhzOE.js → 14.BD92xFv4.js} +3 -3
- package/web/app/immutable/nodes/{15.DTHSLR65.js → 15.Dw1bH9Zl.js} +1 -1
- package/web/app/immutable/nodes/{16.WKc2P4l3.js → 16.CVCm-nfj.js} +1 -1
- package/web/app/immutable/nodes/{17.f0RTyi1E.js → 17.CjKvJw8X.js} +1 -1
- package/web/app/immutable/nodes/{18.BCr1DqlF.js → 18.DDY8Eqsn.js} +1 -1
- package/web/app/immutable/nodes/{19.kyknfcua.js → 19.BDZr-fpl.js} +2 -2
- package/web/app/immutable/nodes/{2.BhjQOmpc.js → 2.BXcXLNQd.js} +4 -4
- package/web/app/immutable/nodes/{20.DJSk2vW3.js → 20.CLsq1QLL.js} +1 -1
- package/web/app/immutable/nodes/{3.B5ONUR90.js → 3.DSd1hRZn.js} +1 -1
- package/web/app/immutable/nodes/{4.9E3WAn5x.js → 4.BkWwx_VF.js} +1 -1
- package/web/app/immutable/nodes/5.y9tMc2yb.js +1 -0
- package/web/app/immutable/nodes/{6.DC2CoHu2.js → 6.BosoYTZK.js} +1 -1
- package/web/app/immutable/nodes/{7.ipL23qll.js → 7.BX-dUHAQ.js} +1 -1
- package/web/app/immutable/nodes/{8.H6jtZ1r2.js → 8.DUR07SoM.js} +1 -1
- package/web/app/immutable/nodes/9.Cw56XQ1G.js +14 -0
- package/web/app/immutable/workers/html-file-preview.worker-BfFljPK-.js +1 -0
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +46 -46
- package/web/index.html +19 -19
- package/web/app/immutable/assets/0.MRSSdFvi.css +0 -1
- package/web/app/immutable/chunks/B8JLAqaa.js +0 -1
- package/web/app/immutable/chunks/BEwMx-58.js +0 -1
- package/web/app/immutable/chunks/ChxY4HYP.js +0 -1
- package/web/app/immutable/chunks/DRhX_2TI.js +0 -1
- package/web/app/immutable/chunks/DWOJ689M.js +0 -1
- package/web/app/immutable/chunks/LCTocMEs.js +0 -1
- package/web/app/immutable/chunks/LNBns0B-.js +0 -1
- package/web/app/immutable/chunks/RXLk0Kpm.js +0 -1
- package/web/app/immutable/chunks/_FHZ2hc1.js +0 -2
- package/web/app/immutable/chunks/lZXQR9AV.js +0 -1
- package/web/app/immutable/entry/app.C9XhrjLK.js +0 -4
- package/web/app/immutable/entry/start.CkQDADa5.js +0 -1
- package/web/app/immutable/nodes/5.51b5Mc5a.js +0 -1
- package/web/app/immutable/nodes/9.qiIDO-mm.js +0 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as l,r as m,d as n}from"./
|
|
1
|
+
import{g as l,r as m,d as n}from"./nImP7yvb.js";import{p}from"./Djg1-55Y.js";import{b as t,ay as o}from"./Ckb6le-m.js";import{M as u,a as f}from"./BFeEPayU.js";var c=f().RailroadEbnf.parser.LangiumParser,s=t(e=>{const r=e.alternatives.map(E);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformChoice"),E=t(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformSequence"),i=t(e=>{switch(e.$type){case"EbnfTerminal":return{type:"terminal",value:e.value};case"EbnfNonTerminal":return{type:"nonterminal",name:e.name};case"EbnfSpecial":return{type:"special",text:e.text};case"EbnfGroup":return s(e.element);case"EbnfOptional":return{type:"optional",element:s(e.element)};case"EbnfRepetition":return{type:"repetition",element:s(e.element),min:0,max:1/0};default:throw new Error(`Unsupported EBNF primary node: ${e.$type}`)}},"transformPrimary"),b=t((e,r)=>{switch(r.$type){case"EbnfOptionalPostfix":return{type:"optional",element:e};case"EbnfZeroOrMorePostfix":return{type:"repetition",element:e,min:0,max:1/0};case"EbnfOneOrMorePostfix":return{type:"repetition",element:e,min:1,max:1/0};case"EbnfExceptionPostfix":return{type:"sequence",elements:[e,{type:"terminal",value:"-"},i(r.except)]};default:throw new Error(`Unsupported EBNF postfix node: ${r.$type}`)}},"transformPostfix"),y=t(e=>e.postfixes.reduce((r,a)=>b(r,a),i(e.base)),"transformTerm"),d=t(e=>({name:e.name,definition:s(e.definition)}),"transformRule"),v=t(e=>{p(e,n),e.title&&n.setTitle(e.title),e.rules.map(r=>n.addRule(d(r)))},"populateDb"),g={parse:t(e=>{n.clear(),o.debug("[EBNF Parser] Starting Langium parse");const r=c.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new u(r);const a=r.value;o.debug("[EBNF Parser] Parsed rules:",a.rules.length),v(a),o.debug("[EBNF Parser] Parse complete")},"parse"),parser:{yy:n}},N={parser:g,db:n,renderer:m,styles:l};export{N as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as t}from"./
|
|
1
|
+
import{l as t}from"./1WR8MecL.js";const e=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],o={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${e.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:t.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${e.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:t.IndentAction.Indent}}]},m={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[ \t\r\n]+/],[/[^<@]+/]],doctype:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};export{o as conf,m as language};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aZ as Ae,U as ke,Y as ae,b0 as Fe,V as Pe,a_ as ve,b as o,X as Vt,ay as bt,aW as Lt,B as Ce,r as Le,O as V,aV as Ee,a6 as De}from"./
|
|
1
|
+
import{aZ as Ae,U as ke,Y as ae,b0 as Fe,V as Pe,a_ as ve,b as o,X as Vt,ay as bt,aW as Lt,B as Ce,r as Le,O as V,aV as Ee,a6 as De}from"./Ckb6le-m.js";import{l as ie}from"./Fdd73CJo.js";var Et=(function(){var t=o(function(Y,r,l,x){for(l=l||{},x=Y.length;x--;l[Y[x]]=r);return l},"o"),n=[1,3],f=[1,4],d=[1,5],h=[1,6],p=[1,7],y=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],_=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],a=[55,56,57],k=[2,36],u=[1,37],T=[1,36],q=[1,38],m=[1,35],b=[1,43],g=[1,41],A=[1,45],ht=[1,14],xt=[1,23],ft=[1,18],gt=[1,19],ct=[1,20],_t=[1,21],dt=[1,22],i=[1,24],zt=[1,25],It=[1,26],wt=[1,27],Bt=[1,28],Rt=[1,29],U=[1,32],Q=[1,33],F=[1,34],P=[1,39],v=[1,40],C=[1,42],L=[1,44],X=[1,63],H=[1,62],E=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],Nt=[1,66],Wt=[1,67],Ut=[1,68],Qt=[1,69],Ot=[1,70],Xt=[1,71],Ht=[1,72],Mt=[1,73],Yt=[1,74],jt=[1,75],Gt=[1,76],Kt=[1,77],w=[4,5,6,7,8,9,10,11,12,13,14,15,18],K=[1,91],Z=[1,92],J=[1,93],$=[1,100],tt=[1,94],et=[1,97],it=[1,95],at=[1,96],nt=[1,98],st=[1,99],At=[1,103],Zt=[10,55,56,57],N=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],kt={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:o(function(r,l,x,c,S,e,ut){var s=e.length-1;switch(S){case 23:this.$=e[s];break;case 24:this.$=e[s-1]+""+e[s];break;case 26:this.$=e[s-1]+e[s];break;case 27:this.$=[e[s].trim()];break;case 28:e[s-2].push(e[s].trim()),this.$=e[s-2];break;case 29:this.$=e[s-4],c.addClass(e[s-2],e[s]);break;case 37:this.$=[];break;case 42:this.$=e[s].trim(),c.setDiagramTitle(this.$);break;case 43:this.$=e[s].trim(),c.setAccTitle(this.$);break;case 44:case 45:this.$=e[s].trim(),c.setAccDescription(this.$);break;case 46:c.addSection(e[s].substr(8)),this.$=e[s].substr(8);break;case 47:c.addPoint(e[s-3],"",e[s-1],e[s],[]);break;case 48:c.addPoint(e[s-4],e[s-3],e[s-1],e[s],[]);break;case 49:c.addPoint(e[s-4],"",e[s-2],e[s-1],e[s]);break;case 50:c.addPoint(e[s-5],e[s-4],e[s-2],e[s-1],e[s]);break;case 51:c.setXAxisLeftText(e[s-2]),c.setXAxisRightText(e[s]);break;case 52:e[s-1].text+=" ⟶ ",c.setXAxisLeftText(e[s-1]);break;case 53:c.setXAxisLeftText(e[s]);break;case 54:c.setYAxisBottomText(e[s-2]),c.setYAxisTopText(e[s]);break;case 55:e[s-1].text+=" ⟶ ",c.setYAxisBottomText(e[s-1]);break;case 56:c.setYAxisBottomText(e[s]);break;case 57:c.setQuadrant1Text(e[s]);break;case 58:c.setQuadrant2Text(e[s]);break;case 59:c.setQuadrant3Text(e[s]);break;case 60:c.setQuadrant4Text(e[s]);break;case 64:this.$={text:e[s],type:"text"};break;case 65:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 66:this.$={text:e[s],type:"text"};break;case 67:this.$={text:e[s],type:"markdown"};break;case 68:this.$=e[s];break;case 69:this.$=e[s-1]+""+e[s];break}},"anonymous"),table:[{18:n,26:1,27:2,28:f,55:d,56:h,57:p},{1:[3]},{18:n,26:8,27:2,28:f,55:d,56:h,57:p},{18:n,26:9,27:2,28:f,55:d,56:h,57:p},t(y,[2,33],{29:10}),t(_,[2,61]),t(_,[2,62]),t(_,[2,63]),{1:[2,30]},{1:[2,31]},t(a,k,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:u,5:T,10:q,12:m,13:b,14:g,15:A,18:ht,25:xt,35:ft,37:gt,39:ct,41:_t,42:dt,48:i,50:zt,51:It,52:wt,53:Bt,54:Rt,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(y,[2,34]),{27:46,55:d,56:h,57:p},t(a,[2,37]),t(a,k,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:u,5:T,10:q,12:m,13:b,14:g,15:A,18:ht,25:xt,35:ft,37:gt,39:ct,41:_t,42:dt,48:i,50:zt,51:It,52:wt,53:Bt,54:Rt,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(a,[2,39]),t(a,[2,40]),t(a,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},t(a,[2,45]),t(a,[2,46]),{18:[1,51]},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:52,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:53,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:54,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:55,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:56,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:57,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,44:[1,58],47:[1,59],58:61,59:60,63:F,64:P,65:v,66:C,67:L},t(E,[2,64]),t(E,[2,66]),t(E,[2,67]),t(E,[2,70]),t(E,[2,71]),t(E,[2,72]),t(E,[2,73]),t(E,[2,74]),t(E,[2,75]),t(E,[2,76]),t(E,[2,77]),t(E,[2,78]),t(E,[2,79]),t(E,[2,80]),t(E,[2,81]),t(y,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:65,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Xt,10:Ht,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,21:64},t(a,[2,53],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,49:[1,78],63:F,64:P,65:v,66:C,67:L}),t(a,[2,56],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,49:[1,79],63:F,64:P,65:v,66:C,67:L}),t(a,[2,57],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,58],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,59],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,60],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),{45:[1,80]},{44:[1,81]},t(E,[2,65]),t(E,[2,82]),t(E,[2,83]),t(E,[2,84]),{3:83,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Xt,10:Ht,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,18:[1,82]},t(w,[2,23]),t(w,[2,1]),t(w,[2,2]),t(w,[2,3]),t(w,[2,4]),t(w,[2,5]),t(w,[2,6]),t(w,[2,7]),t(w,[2,8]),t(w,[2,9]),t(w,[2,10]),t(w,[2,11]),t(w,[2,12]),t(a,[2,52],{58:31,43:84,4:u,5:T,10:q,12:m,13:b,14:g,15:A,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(a,[2,55],{58:31,43:85,4:u,5:T,10:q,12:m,13:b,14:g,15:A,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),{46:[1,86]},{45:[1,87]},{4:K,5:Z,6:J,8:$,11:tt,13:et,16:90,17:it,18:at,19:nt,20:st,22:89,23:88},t(w,[2,24]),t(a,[2,51],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,54],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,47],{22:89,16:90,23:101,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),{46:[1,102]},t(a,[2,29],{10:At}),t(Zt,[2,27],{16:104,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),t(N,[2,25]),t(N,[2,13]),t(N,[2,14]),t(N,[2,15]),t(N,[2,16]),t(N,[2,17]),t(N,[2,18]),t(N,[2,19]),t(N,[2,20]),t(N,[2,21]),t(N,[2,22]),t(a,[2,49],{10:At}),t(a,[2,48],{22:89,16:90,23:105,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),{4:K,5:Z,6:J,8:$,11:tt,13:et,16:90,17:it,18:at,19:nt,20:st,22:106},t(N,[2,26]),t(a,[2,50],{10:At}),t(Zt,[2,28],{16:104,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(function(r,l){if(l.recoverable)this.trace(r);else{var x=new Error(r);throw x.hash=l,x}},"parseError"),parse:o(function(r){var l=this,x=[0],c=[],S=[null],e=[],ut=this.table,s="",yt=0,Jt=0,me=2,$t=1,be=e.slice.call(arguments,1),D=Object.create(this.lexer),j={yy:{}};for(var Ft in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ft)&&(j.yy[Ft]=this.yy[Ft]);D.setInput(r,j.yy),j.yy.lexer=D,j.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Pt=D.yylloc;e.push(Pt);var Se=D.options&&D.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _e(R){x.length=x.length-2*R,S.length=S.length-R,e.length=e.length-R}o(_e,"popStack");function te(){var R;return R=c.pop()||D.lex()||$t,typeof R!="number"&&(R instanceof Array&&(c=R,R=c.pop()),R=l.symbols_[R]||R),R}o(te,"lex");for(var B,G,W,vt,rt={},Tt,M,ee,qt;;){if(G=x[x.length-1],this.defaultActions[G]?W=this.defaultActions[G]:((B===null||typeof B>"u")&&(B=te()),W=ut[G]&&ut[G][B]),typeof W>"u"||!W.length||!W[0]){var Ct="";qt=[];for(Tt in ut[G])this.terminals_[Tt]&&Tt>me&&qt.push("'"+this.terminals_[Tt]+"'");D.showPosition?Ct="Parse error on line "+(yt+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+qt.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Ct="Parse error on line "+(yt+1)+": Unexpected "+(B==$t?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Ct,{text:D.match,token:this.terminals_[B]||B,line:D.yylineno,loc:Pt,expected:qt})}if(W[0]instanceof Array&&W.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+B);switch(W[0]){case 1:x.push(B),S.push(D.yytext),e.push(D.yylloc),x.push(W[1]),B=null,Jt=D.yyleng,s=D.yytext,yt=D.yylineno,Pt=D.yylloc;break;case 2:if(M=this.productions_[W[1]][1],rt.$=S[S.length-M],rt._$={first_line:e[e.length-(M||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(M||1)].first_column,last_column:e[e.length-1].last_column},Se&&(rt._$.range=[e[e.length-(M||1)].range[0],e[e.length-1].range[1]]),vt=this.performAction.apply(rt,[s,Jt,yt,j.yy,W[1],S,e].concat(be)),typeof vt<"u")return vt;M&&(x=x.slice(0,-1*M*2),S=S.slice(0,-1*M),e=e.slice(0,-1*M)),x.push(this.productions_[W[1]][0]),S.push(rt.$),e.push(rt._$),ee=ut[x[x.length-2]][x[x.length-1]],x.push(ee);break;case 3:return!0}}return!0},"parse")},qe=(function(){var Y={EOF:1,parseError:o(function(l,x){if(this.yy.parser)this.yy.parser.parseError(l,x);else throw new Error(l)},"parseError"),setInput:o(function(r,l){return this.yy=l||this.yy||{},this._input=r,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:o(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var l=r.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),r},"input"),unput:o(function(r){var l=r.length,x=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var c=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),x.length-1&&(this.yylineno-=x.length-1);var S=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:x?(x.length===c.length?this.yylloc.first_column:0)+c[c.length-x.length].length-x[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(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:o(function(r){this.unput(this.match.slice(r))},"less"),pastInput:o(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var r=this.pastInput(),l=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as a3,bo as p,bw as t3,b as s3}from"./
|
|
1
|
+
import{t as a3,bo as p,bw as t3,b as s3}from"./C0QTy0Sy.js";import{bs as r3,a5 as o3,aD as t,bA as I,b_ as v,W as f,bn as l3,c9 as l,bV as L,aA as u,ay as i3,bS as n3,aw as S,bz as c3,bl as N,bO as Z,aB as m,bH as A}from"./3SdAC2_C.js";import{i as B}from"./bhKPSdq4.js";import{h as v3}from"./BKD7o1lQ.js";import{f as _,g as x,s as F}from"./7UPrdiE9.js";import{F as f3,aT as m3,aL as g3,b0 as p3,cv as u3,ap as d3}from"./U9jJmfYa.js";var h3=m("<div></div>"),b3=m('<span class="type-caption absolute text-subtle font-medium"> </span>'),w3=m("<img/> <!>",1),C3=m('<span class="type-caption text-subtle font-medium"> </span>'),_3=m("<div><!></div>");function x3(y,i){if(new.target)return a3({component:x3,...y});r3(i,!0);let r=p(i,"iconName",7),n=p(i,"label",7),o=p(i,"size",7,20),d=p(i,"class",7,"");const j={redis:"redis",mongodb:"mongodb",circleci:"circleci",vercel:"vercel",railway:"railway",convex:"convex",snowflake:"snowflake",sentry:"sentry",figma:"figma",github:"github",linear:"linear"},D={figma:"https://upload.wikimedia.org/wikipedia/commons/thumb/3/33/Figma-logo.svg/960px-Figma-logo.svg.png",playwright:"https://ray.run/playwright-brand-assets/playwright-logo.svg"},E={context7:'<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M24 0C26.2091 0 28 1.79086 28 4V24C28 26.2091 26.2091 28 24 28H4C1.79086 28 0 26.2091 0 24V4C0 1.79086 1.79086 0 4 0H24ZM8.58008 15.2559C8.58008 17.8621 7.95482 19.3557 6.33398 21.1885V22.7783H11.6309V21.1045H8.17773C9.66098 19.3776 10.5723 17.5019 10.5723 15.2559H8.58008ZM17.4268 15.2559C17.4268 17.5019 18.338 19.3776 19.8213 21.1045H16.3672V22.7783H21.6641V21.1885C20.0433 19.3558 19.4189 17.862 19.4189 15.2559H17.4268ZM6.33398 6.80957C7.95495 8.64244 8.58008 10.137 8.58008 12.7432H10.5713C10.5713 10.4972 9.66094 8.62143 8.17773 6.89453H11.6309V5.2207H6.33398V6.80957ZM16.3672 5.2207V6.89453H19.8213C18.338 8.62145 17.4268 10.4972 17.4268 12.7432H19.4189C19.4189 10.137 20.0432 8.64242 21.6641 6.80957V5.2207H16.3672Z" fill="black"/></svg>',slack:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path d="M27.255 80.719c0 7.33-5.978 13.317-13.309 13.317C6.616 94.036.63 88.049.63 80.719s5.987-13.317 13.317-13.317h13.309zm6.709 0c0-7.33 5.987-13.317 13.317-13.317s13.317 5.986 13.317 13.317v33.335c0 7.33-5.986 13.317-13.317 13.317-7.33 0-13.317-5.987-13.317-13.317zm0 0" fill="#de1c59"/><path d="M47.281 27.255c-7.33 0-13.317-5.978-13.317-13.309C33.964 6.616 39.951.63 47.281.63s13.317 5.987 13.317 13.317v13.309zm0 6.709c7.33 0 13.317 5.987 13.317 13.317s-5.986 13.317-13.317 13.317H13.946C6.616 60.598.63 54.612.63 47.281c0-7.33 5.987-13.317 13.317-13.317zm0 0" fill="#35c5f0"/><path d="M100.745 47.281c0-7.33 5.978-13.317 13.309-13.317 7.33 0 13.317 5.987 13.317 13.317s-5.987 13.317-13.317 13.317h-13.309zm-6.709 0c0 7.33-5.987 13.317-13.317 13.317s-13.317-5.986-13.317-13.317V13.946C67.402 6.616 73.388.63 80.719.63c7.33 0 13.317 5.987 13.317 13.317zm0 0" fill="#2eb57d"/><path d="M80.719 100.745c7.33 0 13.317 5.978 13.317 13.309 0 7.33-5.987 13.317-13.317 13.317s-13.317-5.987-13.317-13.317v-13.309zm0-6.709c-7.33 0-13.317-5.987-13.317-13.317s5.986-13.317 13.317-13.317h33.335c7.33 0 13.317 5.986 13.317 13.317 0 7.33-5.987 13.317-13.317 13.317zm0 0" fill="#ebb02e"/></svg>'},U=new Set(["context7","github","linear"]),h={brain:d3,server:u3,database:p3,cloud:g3,default:m3},z=l(()=>j[r().toLowerCase()]),W=l(()=>h[r().toLowerCase()]||h.default),H=l(()=>E[r().toLowerCase()]||null),M=l(()=>U.has(r().toLowerCase()));let b=L(!1),V=L(!1);const k=l(()=>D[r().toLowerCase()]||(t(z)?`https://cdn.simpleicons.org/${t(z)}`:null));function O(){A(b,!0)}function T(){A(V,!0)}var q={get iconName(){return r()},set iconName(e){r(e),u()},get label(){return n()},set label(e){n(e),u()},get size(){return o()},set size(e=20){o(e),u()},get class(){return d()},set class(e=""){d(e),u()},$set:t3,$on:(e,a)=>s3(i,e,a)},c=_3(),G=o3(c);{var J=e=>{var a=h3();v3(a,()=>t(H),!0),I(a),v(()=>_(a,1,`w-full h-full flex items-center justify-center [&>svg]:w-full [&>svg]:h-full ${t(M)?"dark:invert":""}`)),f(e,a)},K=e=>{var a=w3(),s=i3(a);let g;var X=n3(s,2);{var Y=w=>{var C=b3(),$=N(C,!0);v(e3=>{x(C,`font-size: ${o()*.45}px;`),Z($,e3)},[()=>n().charAt(0)]),f(w,C)};B(X,w=>{t(b)||w(Y)})}v(()=>{F(s,"src",t(k)),F(s,"alt",n()),g=_(s,1,`w-full h-full object-contain ${t(M)?"dark:invert":""}`,null,g,{"opacity-0":!t(b)})}),S("load",s,O),S("error",s,T),c3(s),f(e,a)},P=e=>{{let a=l(()=>o()*.7);f3(e,{get icon(){return t(W)},class:"text-ghost",get style(){return`font-size: ${t(a)??""}px;`}})}},Q=l(()=>h[r().toLowerCase()]),R=e=>{var a=C3(),s=N(a,!0);v(g=>{x(a,`font-size: ${o()*.45}px;`),Z(s,g)},[()=>n().charAt(0)]),f(e,a)};B(G,e=>{t(H)?e(J):t(k)&&!t(V)?e(K,1):t(Q)?e(P,2):e(R,-1)})}return I(c),v(()=>{_(c,1,`flex items-center justify-center shrink-0 ${d()??""}`),x(c,`width: ${o()??""}px; height: ${o()??""}px;`)}),f(y,c),l3(q)}export{x3 as M};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{I as h}from"./
|
|
1
|
+
import{I as h}from"./BtHTHBJp.js";import{c as v}from"./ChTqQfQN.js";import{O as d}from"./DCRuihKm.js";const g=v("AttachmentImageUrl");function y(t,n){const r=n.split("/").filter(e=>e.length>0).map(e=>encodeURIComponent(e)).join("/");return`workspace-file://${t}/${r}`}const u=new Map,a=new Map;let f=0,m=!1;function p(){m||(m=!0,d(()=>{f+=1,u.clear(),a.clear()}))}function A(t,n){u.delete(`${t}/${n}`)}function F(t,n,r){p();let e=!1,i=!1,o=!1;async function l(){if(!e){if(i){o=!0;return}i=!0;try{const c=await $(t,n);e||r(c)}finally{i=!1,o&&(o=!1,l())}}}const s=d(()=>{l()});return l(),{imageFailed(){e||(A(t,n),r(null))},dispose(){e=!0,s()}}}function $(t,n){p();const r=f,e=`${t}/${n}`,i=u.get(e);if(i)return Promise.resolve(i);const o=a.get(e);if(o)return o;const l=(async()=>{try{const s=await h({attachmentId:n,workspaceId:t});if(r!==f)return null;if(!s.exists)return g.warn("Attachment file missing on disk",{attachmentId:n}),null;const c=y(t,s.path);return u.set(e,c),c}catch(s){return g.warn("Failed to resolve attachment image",{attachmentId:n,error:s}),null}finally{r===f&&a.delete(e)}})();return a.set(e,l),l}export{A as e,F as o,$ as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as lt,bo as u,bw as ct,b as dt}from"./
|
|
1
|
+
import{t as lt,bo as u,bw as ct,b as dt}from"./C0QTy0Sy.js";import{bs as vt,ca as ft,aD as t,a5 as H,bS as ut,bA as D,bH as K,b_ as S,W as T,bn as gt,bV as P,c9 as x,aA as g,a7 as mt,ay as ht,bl as pt,bO as bt,aB as F}from"./3SdAC2_C.js";import{i as L}from"./bhKPSdq4.js";import{g as _t}from"./B6S6VNu7.js";import{t as kt}from"./CrD0jtXE.js";import{f as X,s as c,g as R}from"./7UPrdiE9.js";import{b as wt}from"./Dn334wJv.js";import{l as j}from"./CE7dsja4.js";import{A as xt}from"./BYq9VtBF.js";import{a as Wt}from"./wl2qP2wF.js";function It(W){const{itemCount:a,maxVisible:d,availableWidth:n,surface:s,overlap:b,overflowOverlap:v}=W;if(n<=0)return 0;const _=s-b,m=Math.min(a,Math.max(0,d)),y=i=>i===0?0:s+(i-1)*_;if(a<=m&&y(a)<=n)return a;for(let i=m;i>=0;i-=1){const A=a-i;if(y(i)+(A>0?W.measureOverflowText(A)-(i>0?v:0):0)<=n)return i}return 0}function yt(W,a=n=>requestAnimationFrame(n),d=n=>cancelAnimationFrame(n)){let n,s;return{set(b){if(n=b,s!==void 0)return;let v=!1;const _=a(()=>{v=!0,s=void 0;const m=n;n=void 0,W(m)});v||(s=_)},cancel(){s!==void 0&&(d(s),s=void 0),n=void 0}}}const At=20,Ct=12;let O,J;const Q=new Map;var Tt=F('<span data-agent-avatar-stack-item=""><!></span>'),Ot=F('<span class="agent-avatar-stack-track svelte-1nk9fhe"></span>'),Vt=F('<span class="agent-avatar-stack-overflow svelte-1nk9fhe" data-agent-avatar-overflow=""> </span>'),Mt=F('<span data-agent-avatar-stack="" data-agent-avatar-stack-overlap="later-on-top"><!> <!></span>');function St(W,a){if(new.target)return lt({component:St,...W});vt(a,!0);let d=u(a,"items",7),n=u(a,"maxVisible",7,3),s=u(a,"adaptive",7,!1),b=u(a,"align",7,"end"),v=u(a,"variant",7,"card-stack"),_=u(a,"interactive",7,!1),m=u(a,"overflowId",7),y=u(a,"overflowTestId",7),i=u(a,"itemContent",7),A=u(a,"class",7,""),I=P(void 0),z=P(void 0);const h=x(()=>Wt[v()]),U=x(()=>s()&&t(z)!==void 0?It({itemCount:d().length,maxVisible:n(),availableWidth:t(z),surface:t(h).surface,overlap:t(h).overlap,overflowOverlap:t(h).overlap,measureOverflowText:e=>Math.max(t(h).surface,$(e)+Ct)}):void 0),Y=x(()=>Math.min(d().length,Math.max(0,s()?t(U)??n():n()))),k=x(()=>d().slice(0,t(Y))),E=x(()=>Math.max(0,d().length-t(k).length)),N=x(()=>t(h).surface-t(h).overlap),Z=x(()=>t(k).length===0?0:t(h).surface+(t(k).length-1)*t(N));function $(e){const r=`+${j(e)}`,o=Q.get(r);if(o!==void 0)return o;if(O===void 0&&(O=document.createElement("canvas").getContext("2d")),!O||!t(I))return At;J??=`500 12px ${getComputedStyle(t(I)).fontFamily}`,O.font=J;const l=O.measureText(r).width;return Q.set(r,l),l}ft(()=>{if(!s()||!t(I)||typeof ResizeObserver>"u")return;const e=yt(o=>{K(z,o,!0)}),r=new ResizeObserver(o=>{const l=o[o.length-1];e.set(l.borderBoxSize?.[0]?.inlineSize??l.contentRect.width)});return r.observe(t(I)),()=>{r.disconnect(),e.cancel()}});var tt={get items(){return d()},set items(e){d(e),g()},get maxVisible(){return n()},set maxVisible(e=3){n(e),g()},get adaptive(){return s()},set adaptive(e=!1){s(e),g()},get align(){return b()},set align(e="end"){b(e),g()},get variant(){return v()},set variant(e="card-stack"){v(e),g()},get interactive(){return _()},set interactive(e=!1){_(e),g()},get overflowId(){return m()},set overflowId(e){m(e),g()},get overflowTestId(){return y()},set overflowTestId(e){y(e),g()},get itemContent(){return i()},set itemContent(e){i(e),g()},get class(){return A()},set class(e=""){A(e),g()},$set:ct,$on:(e,r)=>dt(a,e,r)},p=Mt();let q;var B=H(p);{var et=e=>{var r=Ot();let o;_t(r,23,()=>t(k),l=>l.key,(l,w,V)=>{var f=Tt();let G;var nt=H(f);{var st=C=>{var M=mt(),ot=ht(M);kt(ot,i,()=>t(w)),T(C,M)},it=C=>{{let M=x(()=>t(w).state??"idle");xt(C,{get agentId(){return t(w).agentId},get specialist(){return t(w).specialist},get icon(){return t(w).icon},get state(){return t(M)},get variant(){return v()},class:"agent-avatar-stack-surface"})}};L(nt,C=>{i()?C(st):C(it,-1)})}D(f),S(()=>{G=X(f,1,"agent-avatar-stack-item svelte-1nk9fhe",null,G,{"agent-avatar-stack-item--before-overflow":t(E)>0&&t(V)===t(k).length-1}),R(f,`inset-inline-start: ${t(V)*t(N)}px; z-index: ${t(V)+1};`),c(f,"data-agent-avatar-stack-index",t(V)),c(f,"data-agent-avatar-stack-key",t(w).key),c(f,"data-agent-avatar-stack-agent-id",t(w).agentId),c(f,"data-agent-avatar-stack-specialist",t(w).specialist??void 0),c(f,"aria-hidden",_()?void 0:"true")}),T(l,f)}),D(r),S(()=>o=R(r,"",o,{width:`${t(Z)}px`})),T(e,r)};L(B,e=>{t(k).length>0&&e(et)})}var at=ut(B,2);{var rt=e=>{var r=Vt(),o=pt(r);S(l=>{c(r,"id",m()),R(r,`margin-inline-start: ${t(k).length>0?-t(h).overlap:0}px; z-index: ${t(k).length+1};`),c(r,"data-testid",y()),bt(o,`+${l??""}`)},[()=>j(t(E))]),T(e,r)};L(at,e=>{t(E)>0&&e(rt)})}return D(p),wt(p,e=>K(I,e),()=>t(I)),S(()=>{q=X(p,1,`agent-avatar-stack ${A()??""}`,"svelte-1nk9fhe",q,{"agent-avatar-stack--adaptive":s(),"agent-avatar-stack--start":b()==="start"}),c(p,"data-agent-avatar-stack-align",b()),c(p,"data-avatar-variant",v()),c(p,"data-agent-avatar-stack-clear-space",t(h).ring),c(p,"aria-hidden",!_()&&!m()?"true":void 0)}),T(W,p),gt(tt)}export{St as A};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as oe,bo as i,bw as ie,bq as ce,b as le,bs as $}from"./
|
|
1
|
+
import{t as oe,bo as i,bw as ie,bq as ce,b as le,bs as $}from"./C0QTy0Sy.js";import{bs as ue,bk as me,bH as j,ca as ve,aD as s,a5 as R,bl as ee,bS as B,bA as F,b_ as Z,bO as Q,W as w,bn as de,bV as te,c9 as g,aA as l,aB as E,a7 as fe,ay as pe,b$ as ae}from"./3SdAC2_C.js";import{i as h}from"./bhKPSdq4.js";import{f as K,s as se}from"./7UPrdiE9.js";import{F as re,cd as ge,bZ as xe}from"./U9jJmfYa.js";import{p as _e,o as be}from"./B6S6VNu7.js";import{o as ne}from"./DLwWVKiF.js";import{l as T}from"./CE7dsja4.js";var he=E('<span class="animated-number-target svelte-194ris3" aria-atomic="true"> </span>'),we=E('<span><span class="animated-number-value svelte-194ris3"> </span> <!></span>');function Y(L,r){if(new.target)return oe({component:Y,...L});ue(r,!0);const y=()=>$(W,"$displayValue",x),V=()=>$(q,"$displaySecondaryValue",x),[x,D]=ce();let n=i(r,"value",7),c=i(r,"tier",7,"slow"),o=i(r,"secondaryValue",7),_=i(r,"format",7,e=>T(e)),z=i(r,"class",7,""),N=i(r,"accessible",7,!0),S=i(r,"pulse",7,!0),k=te(null),m=n(),v=o(),P=te(!1),C=0;const W=ne(n(),c()),q=ne(o()??0,c());me(()=>(j(P,_e(),!0),be(e=>j(P,e,!0)))),ve(()=>{if(s(P)){C+=1,j(k,null),m=n(),v=o(),W.set(n()),q.set(o()??0);return}if(n()!==m||o()!==v){const e=n()!==m?m:v,u=n()!==m?n():o();j(k,(u??0)>(e??0)?"up":"down",!0),m=n(),v=o();const M=++C;return Promise.all([W.set(n()),q.set(o()??0)]).then(()=>{M===C&&j(k,null)}),()=>{C+=1}}});const t=g(()=>_()(y(),o()===void 0?void 0:V())),b=g(()=>_()(n(),o()));var G={get value(){return n()},set value(e){n(e),l()},get tier(){return c()},set tier(e="slow"){c(e),l()},get secondaryValue(){return o()},set secondaryValue(e){o(e),l()},get format(){return _()},set format(e=u=>T(u)){_(e),l()},get class(){return z()},set class(e=""){z(e),l()},get accessible(){return N()},set accessible(e=!0){N(e),l()},get pulse(){return S()},set pulse(e=!0){S(e),l()},$set:ie,$on:(e,u)=>le(r,e,u)},A=we();let J;var H=R(A),f=ee(H,!0),d=B(H,2);{var I=e=>{var u=he(),M=ee(u,!0);Z(()=>Q(M,s(b))),w(e,u)};h(d,e=>{N()&&e(I)})}F(A),Z(()=>{J=K(A,1,`animated-number ${z()??""}`,"svelte-194ris3",J,{"animating-up":S()&&s(k)==="up","animating-down":S()&&s(k)==="down"}),se(A,"data-pulse",S()?"true":"false"),se(H,"aria-hidden",N()?"true":void 0),Q(f,s(t))}),w(L,A);var O=de(G);return D(),O}var ye=E("<span><!> <span>+<!></span></span>"),Ve=E("<span><!> <span>-<!></span></span>"),ze=E("<div><!> <!></div>");function Se(L,r){if(new.target)return oe({component:Se,...L});ue(r,!0);let y=i(r,"additions",7,0),V=i(r,"deletions",7,0),x=i(r,"showZero",7,!1),D=i(r,"size",7,"xs"),n=i(r,"showIcons",7,!1),c=i(r,"animated",7,!1),o=i(r,"class",7,""),_=g(()=>y()>0),z=g(()=>V()>0),N=g(()=>s(_)||s(z)||x());const S={xxs:"text-[0.6rem]",xs:"text-[0.7rem]",sm:"text-sm",md:"text-base"},k={xxs:8,xs:10,sm:12,md:14},m=g(()=>S[D()]),v=g(()=>k[D()]);var P={get additions(){return y()},set additions(t=0){y(t),l()},get deletions(){return V()},set deletions(t=0){V(t),l()},get showZero(){return x()},set showZero(t=!1){x(t),l()},get size(){return D()},set size(t="xs"){D(t),l()},get showIcons(){return n()},set showIcons(t=!1){n(t),l()},get animated(){return c()},set animated(t=!1){c(t),l()},get class(){return o()},set class(t=""){o(t),l()},$set:ie,$on:(t,b)=>le(r,t,b)},C=fe(),W=pe(C);{var q=t=>{var b=ze(),G=R(b);{var A=f=>{var d=ye(),I=R(d);{var O=a=>{{let p=g(()=>s(v)===10||s(v)===12?"xs":"sm");re(a,{get icon(){return ge},get size(){return s(p)}})}};h(I,a=>{n()&&a(O)})}var e=B(I,2),u=B(R(e));{var M=a=>{Y(a,{get value(){return y()}})},U=a=>{var p=ae();Z(X=>Q(p,X),[()=>T(y())]),w(a,p)};h(u,a=>{c()?a(M):a(U,-1)})}F(e),F(d),Z(()=>K(d,1,`flex items-center whitespace-nowrap gap-0.5 font-mono ${s(m)??""} ${s(_)?"text-emerald-600 dark:text-emerald-500":"text-emerald-600/30 dark:text-emerald-500/30"}`)),w(f,d)};h(G,f=>{(s(_)||x())&&f(A)})}var J=B(G,2);{var H=f=>{var d=Ve(),I=R(d);{var O=a=>{{let p=g(()=>s(v)===10||s(v)===12?"xs":"sm");re(a,{get icon(){return xe},get size(){return s(p)}})}};h(I,a=>{n()&&a(O)})}var e=B(I,2),u=B(R(e));{var M=a=>{Y(a,{get value(){return V()}})},U=a=>{var p=ae();Z(X=>Q(p,X),[()=>T(V())]),w(a,p)};h(u,a=>{c()?a(M):a(U,-1)})}F(e),F(d),Z(()=>K(d,1,`flex items-center whitespace-nowrap gap-0.5 font-mono ${s(m)??""} ${s(z)?"text-red-600 dark:text-red-500":"text-red-600/30 dark:text-red-500/30"}`)),w(f,d)};h(J,f=>{(s(z)||x())&&f(H)})}F(b),Z(()=>K(b,1,`flex items-center gap-1 ${o()??""}`)),w(t,b)};h(W,t=>{s(N)&&t(q)})}return w(L,C),de(P)}export{Y as A,Se as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Jv as r,b5 as n}from"./
|
|
1
|
+
import{Jv as r,b5 as n}from"./tr-2J8Mf.js";import{s as a}from"./CrD0jtXE.js";import{bm as o}from"./C0QTy0Sy.js";const l=r.createSelector(e=>e.userPreferences.agentRulesEditor),S=r.createSelector(e=>{const t=l.select(e);return t.content.trim()!==t.originalContent.trim()}),d=r.createSelector(e=>e.userPreferences.agentFontStyle);r.createSelector(e=>{switch(e.userPreferences.agentFontStyle){case"sans":return"Sans-serif";case"monospace":return"Monospace";default:return"Sans-serif"}});const P=r.createSelector(e=>e.userPreferences.agentFontStyle==="monospace"),h=r.createSelector(e=>e.userPreferences.updateChannel),p=r.createSelector(e=>e.userPreferences.spellcheckEnabled),b=r.createSelector(e=>e.userPreferences.zoomFactor),m=r.createSelector(e=>e.userPreferences.showArchived),y=r.createSelector(e=>e.userPreferences.groupByRepo),g=r.createSelector(e=>e.userPreferences.hasCompletedProviderSetup),E=r.createSelector(e=>e.userPreferences?.showReasoningBlocks??!1),F=r.createSelector(e=>e.userPreferences?.chatAuroraEnabled??!0),v=r.createSelector(e=>e.userPreferences?.chatContentWidth??"full"),k=r.createSelector(e=>e.userPreferences?.collapseToolRuns??!0),A=r.createSelector(e=>e.userPreferences?.shellTransparencyEnabled??!0),C=r.createSelector(e=>e.userPreferences?.menuBarAutoHide??!1),R=r.createSelector(e=>e.userPreferences?.reduceMotionOnBattery??!1),L=r.createSelector(e=>e.userPreferences?.pauseAnimationsWhenUnfocused??!1),M=r.createSelector(e=>e.userPreferences?.labsSettingsVisible??!1),T=r.createSelector(e=>e.userPreferences?.labsMultiplayerEnabled??!0),w=r.createSelector(e=>e.userPreferences?.preferencesHydrated===!0),D=r.createSelector(e=>e.userPreferences?.nativeReviewEnabled===!0),B=r.createSelector(e=>e.userPreferences?.labsRemoteAgentsEnabled===!0),N=r.createSelector(e=>e.userPreferences?.labsPlainFolderWorkspacesEnabled===!0),O=r.createSelector(e=>e.userPreferences?.labsTabGroupsEnabled===!0),W=r.createSelector(e=>e.userPreferences?.labsSshMachineSetupEnabled===!0),H=r.createSelector(e=>1/e.userPreferences.zoomFactor),_=r.createSelector(e=>e.userPreferences.noteFontStyle);r.createSelector(e=>{switch(e.userPreferences.noteFontStyle){case"sans":return"Sans-serif";case"serif":return"Serif";case"monospace":return"Monospace";default:return"Sans-serif"}});const U=r.createSelector(e=>e.userPreferences.noteFontStyle==="monospace"),V=r.createSelector(e=>e.userPreferences.codeFontFamily),G=r.createSelector(e=>{const{codeFontFamily:t}=e.userPreferences;return t==="system-default"?n:`'${t}', monospace`});r.createSelector(e=>{const{codeFontFamily:t}=e.userPreferences;return t==="system-default"?o.settings_fonts_systemDefault_label():t});const I=r.createSelector(e=>{const{systemFonts:t}=e.userPreferences,c=[{value:"system-default",get label(){return o.settings_fonts_systemDefault_label()},fontFamily:n}];for(const s of t)c.push({value:s,label:s,fontFamily:`'${s}', monospace`});return c}),z=r.createSelector(e=>e.userPreferences.enabled),x=r.createSelector(e=>e.userPreferences.soundEnabled),J=r.createSelector(e=>e.userPreferences.soundOnlyWhenUnfocused),$=r.createSelector(e=>e.userPreferences.volume),j=r.createSelector(e=>({editId:e.userPreferences.pendingNotificationVolumeEditId,hydrationEpoch:e.userPreferences.notificationVolumeHydrationEpoch})),q=r.createSelector(e=>e.userPreferences.activityLogPresets),K=r.createSelector(e=>e.userPreferences.languagePreference),Q=r.createSelector(e=>e.userPreferences?.githubLinkDefaultAction??"show-choices"),Y=r.createSelector(e=>e.userPreferences.shortcutOverrides),Z=r.createSelector(e=>a(e.userPreferences.languagePreference)),X=r.createSelector(e=>e.userPreferences.dockShortcuts??null),ee=r.createSelector(e=>e.userPreferences.dockShortcutPending??!1),re=r.createSelector(e=>e.userPreferences.dockShortcutCaptureToken??null),te=r.createSelector(e=>e.userPreferences.dockShortcutError??null);export{K as A,C as B,D as C,_ as D,z as E,$ as F,j as G,L as H,R as I,Z as J,A as K,Y as L,m as M,E as N,x as O,J as P,p as Q,h as R,w as S,b as T,d as a,l as b,S as c,F as d,v as e,V as f,G as g,I as h,k as i,H as j,re as k,te as l,ee as m,X as n,Q as o,y as p,g as q,P as r,q as s,U as t,T as u,N as v,B as w,M as x,W as y,O as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Jv as s,ii as a,ml as S,nX as f,my as m}from"./
|
|
1
|
+
import{Jv as s,ii as a,ml as S,nX as f,my as m}from"./tr-2J8Mf.js";import{v as O}from"./BFgeFHTs.js";import{dO as d,b5 as v,dW as b}from"./BaujsV9k.js";const k=s.createSelector((t,e)=>{if(v.select(t,e)&&b.select(t,e))return!1;const r=t.principal?.snapshot;return r?.capabilities.workspaceGuestRoles===!0&&(r.capabilities.hostMembership?r.principal.hostRole==="guest":!r.principal.isAdministrator)}),h=s.createSelector(t=>t.principal?.snapshot?.capabilities.remoteScripts===1),l=s.createSelector((t,e,r)=>!k.select(t,e)||!!d.select(t,e)&&r?.purpose==="saved");function o(t,e,r){return!!e&&!!r&&l.select(t,e,r)}function i(t,e){return e?t.scripts.byWorkspaceId[e]??m:m}const j=s.createSelector((t,e)=>i(t,e).initialized),W=s.createSelector((t,e)=>{const r=i(t,e);return r.activeScriptIds?r.activeScriptIds.flatMap(c=>o(t,e,r.scripts[c])?[r.scripts[c]]:[]):Object.values(r.scripts).filter(c=>!c.archivedAt&&o(t,e,c))}),C=s.createSelector((t,e)=>W.select(t,e).filter(r=>O((r.runtime??a()).status))),u=s.createSelector((t,e,r)=>{const c=i(t,e);return o(t,e,c.scripts[r])?c.scripts[r]:null}),x=s.createSelector((t,e,r)=>u.select(t,e,r)?.runtime??a()),E=s.createSelector((t,e,r)=>{const c=i(t,e);return l.select(t,e??"",c.scripts[r])?c.outputBuffers[r]??S:S}),M=s.createSelector((t,e,r,c)=>{const n=i(t,e).retainedOutputs?.[c];return n?.scriptId===r&&l.select(t,e,i(t,e).scripts[r])?n:void 0}),z=s.createSelector(t=>Object.entries(t.scripts?.byWorkspaceId??{}).filter(([,e])=>Object.keys(e.retainedOutputs??{}).length>0).map(([e])=>e).sort()),A=s.createSelector((t,e)=>!!t.scripts?.byWorkspaceId[e]?.outputStreamReady),D=s.createSelector((t,e)=>i(t,e).initialized),B=s.createSelector((t,e)=>{const r=i(t,e);return r.activeScriptIds?r.activeScriptIds.flatMap(c=>o(t,e,r.scripts[c])?[r.scripts[c]]:[]):Object.values(r.scripts).filter(c=>!c.archivedAt&&o(t,e,c))}),G=s.createSelector((t,e)=>{const r=i(t,e);return r.detectionOperation?.pending?{...r.operations,...Object.fromEntries(Object.keys(r.scripts).map(c=>[c,r.detectionOperation]))}:r.operations}),J=s.createSelector((t,e)=>i(t,e).detectionOperation),L=s.createSelector((t,e,r,c)=>{const n=i(t,r).workflowOutcomes,p=n?f(n,e):void 0;return p?.workspaceId===r&&p.resourceId===c?p:void 0}),P=s.createSelector((t,e,r)=>u.select(t,e,r)?.runtime??a()),U=s.createSelector((t,e)=>Object.values(i(t,e).scripts).filter(r=>o(t,e,r))),V=s.createSelector((t,e,r)=>i(t,e).pendingReads?.[r]),X=s.createSelector((t,e,r)=>!!u.select(t,e,r)&&!i(t,e).detectionOperation?.pending&&!i(t,e).operations[r]?.pending),q=s.createSelector((t,e)=>({nextCursor:i(t,e).nextCursor,loading:i(t,e).loading,error:i(t,e).loadError}));export{U as selectAllWorkspaceScriptEntries,X as selectCanDeleteScript,l as selectCanReadScriptDefinition,h as selectRemoteScriptsSupported,C as selectRunningScripts,u as selectScriptById,J as selectScriptDetectionOperation,W as selectScriptEntries,q as selectScriptListPageState,E as selectScriptOutput,A as selectScriptOutputStreamReady,z as selectScriptOutputViewerWorkspaceIds,V as selectScriptReadJournal,M as selectScriptRetainedOutput,x as selectScriptRuntime,L as selectScriptWorkflowOutcome,j as selectScriptsInitialized,k as selectUsesGuestScriptScope,B as selectWorkspaceScriptEntries,G as selectWorkspaceScriptOperations,P as selectWorkspaceScriptRuntime,D as selectWorkspaceScriptsInitialized};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var Vt=Object.defineProperty;var yt=e=>{throw TypeError(e)};var jt=(e,i,s)=>i in e?Vt(e,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[i]=s;var J=(e,i,s)=>jt(e,typeof i!="symbol"?i+"":i,s),bt=(e,i,s)=>i.has(e)||yt("Cannot "+s);var t=(e,i,s)=>(bt(e,i,"read from private field"),s?s.call(e):i.get(e)),g=(e,i,s)=>i.has(e)?yt("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(e):i.set(e,s),a=(e,i,s,n)=>(bt(e,i,"write to private field"),n?n.call(e,s):i.set(e,s),s),o=(e,i,s)=>(bt(e,i,"access private method"),s);var vt=(e,i,s,n)=>({set _(r){a(e,i,r,s)},get _(){return t(e,i,n)}});import{_ as wt}from"./BEwMx-58.js";import{m as xt,A as qt,r as Ht,Q as Nt,aX as Gt,R as Jt}from"./BEGsYnq4.js";import{B as Ft,D as Kt}from"./DMhc83bo.js";import{I as F,E as Ct,b as Qt,a as Ut}from"./DICr2Lvd.js";function Xt(e,i){for(const s of Array.isArray(e)?e:[e]){let n=xt.get(s.name);n==null&&(n=s,xt.set(s.name,n)),i.attachLanguages([n]),qt.add(n.name)}}function Zt(e,i){let s;return function(...n){clearTimeout(s),s=setTimeout(()=>e.apply(this,n),i)}}const Dt=0;let Wt=0;var H,T,P,Q,L,st,it,C,U,nt,u,D,_,A,O,b,v,z,dt,E,B,X,N,R,Z,Tt,ft,h,K,ut,zt,Et,Y,pt,It,ct,tt,Ot,gt,et,Bt,Pt,At,Yt=(At=class{constructor(e,i,s){g(this,h);J(this,"backend");g(this,H);g(this,T);g(this,P);g(this,Q);g(this,L);g(this,st);g(this,it);g(this,C);g(this,U);g(this,nt,!1);g(this,u,[F]);g(this,D,[]);g(this,_,0);g(this,A,[]);g(this,O,-1);g(this,b,!0);g(this,v,!1);g(this,z,0);g(this,dt,++Wt);g(this,E,-1);g(this,B,-1);g(this,X);g(this,N,0);g(this,R,[]);g(this,Z,!1);g(this,Tt,Zt(async e=>{if(t(this,nt))return;const{startingLine:i=0,totalLines:s=1/0}=e??{},n=Math.min(s===1/0?1/0:i+s,t(this,L).lineCount);if(t(this,T)==null&&!Lt(t(this,L).languageId)){if(await this.backend?.loadLanguages([t(this,L).languageId]),t(this,nt))return;a(this,T,t(this,H).getLanguage(t(this,L).languageId))}o(this,h,K).call(this),o(this,h,It).call(this,n)},500));g(this,ft,({data:e})=>{if(typeof e!="object"||e===null)return;const{type:i,tokenizerId:s,jobId:n}=e;i==="tokenize"&&s===t(this,dt)&&typeof n=="number"&&n===t(this,z)&&(t(this,E)>=0?o(this,h,Bt).call(this,n):o(this,h,Pt).call(this,n))});this.backend=s,a(this,H,e),a(this,L,i.textDocument),a(this,P,i.theme),a(this,Q,[]),a(this,st,i.tokenizeMaxLineLength??1e3),a(this,it,i.onDeferTokenize),a(this,C,i.matchBrackets!==!1),a(this,U,i.__debug??!1),o(this,h,ut).call(this),o(this,h,K).call(this)}getStringCommentRegexpRangesInLine(e){if(!t(this,C)||e<0||e>=t(this,L).lineCount||(o(this,h,ut).call(this),t(this,T)==null))return null;if(t(this,R)[e]===void 0){o(this,h,et).call(this,e);const i=t(this,u)[e]??F,s=o(this,h,ct).call(this,e,i);t(this,u)[e+1]=s.state}return t(this,R)[e]??null}setTheme(e){t(this,P)!==e&&(a(this,P,e),o(this,h,K).call(this),this.stopBackgroundTokenize(),a(this,u,[F]),a(this,D,[]),a(this,_,0),a(this,A,[]),t(this,T)!=null&&t(this,L).lineCount>0&&o(this,h,pt).call(this,0))}dispose(){a(this,nt,!0),this.stopBackgroundTokenize(),o(this,h,Et).call(this)}tokenize(e,i,s=!1){if(o(this,h,ut).call(this),o(this,h,K).call(this),t(this,T)==null&&!Lt(t(this,L).languageId))throw new Error(`Grammar for language "${t(this,L).languageId}" not loaded`);const{lineCount:n}=t(this,L),{startingLine:r=0,totalLines:l=1/0}=i??{},d=l===1/0?n:Math.min(r+l,n),c=e.startLine,f=Math.max(r,c),I=i!=null&&l!==1/0&&e.lineDelta>0&&c<d&&e.endLine>=d,m=e.lineDelta===0&&(e.changedLineChanges?.every(([,,p])=>p===0)??!0);t(this,C)&&!m&&(t(this,R).length=Math.min(t(this,R).length,e.startLine));const M=s&&e.lineDelta!==0&&c>=r,S=m||i==null||c>=f,y=e.changedLineRanges??[[c,e.endLine]];a(this,D,[]),a(this,_,0),a(this,A,[]);let V=-1;if(c<f)for(const[p,w]of y)p<f&&(V=Math.max(V,Math.min(w,f-1)));const mt=V>=c&&(m||e.lineDelta<0);m?o(this,h,et).call(this,c):(o(this,h,Ot).call(this,e),(i==null||c>=f)&&o(this,h,et).call(this,f));let j=0,St=y[j][1],ht,Rt=0,k=m?y[j][0]:f,rt=!1;const Mt=new Map,W=mt?new Map:void 0;if(W!=null&&!m){const p=Math.min(V+1,f,d);if(p>c){o(this,h,et).call(this,p);let w=c,ot=t(this,u)[w]??F;for(;w<p;w++){const x=o(this,h,ct).call(this,w,ot);ot=x.state,W.set(w,x.resolvedTokens)}t(this,u)[p]=ot}}let q=t(this,u)[k]??F;for(;k<d;){const p=m?t(this,u)[k+1]:M?o(this,h,gt).call(this,k+1):void 0;S&&(t(this,u)[k]=q);const{resolvedTokens:w,state:ot}=o(this,h,ct).call(this,k,q);if(q=ot,k>=f?Mt.set(k,w):W?.set(k,w),S&&(t(this,u)[k+1]=q),rt=k>=St&&(m||M)&&p!=null&&q.equals(p),rt){j++;const x=y[j];if(x==null)break;if(x[0]>=d){ht=x[0],Rt=j;break}let lt=t(this,u)[x[0]];if(M)for(let kt=k+2;kt<=x[0]&&(lt=o(this,h,gt).call(this,kt),lt!=null);kt++)t(this,u)[kt]=lt;lt==null?(St=x[1],k++):(k=x[0],q=lt,St=x[1]),rt=!1;continue}k++}if(S&&(k<d?t(this,u)[k+1]=q:t(this,u)[k]=q),rt&&M&&ht==null){for(let p=k+2;p<=n;p++){const w=o(this,h,gt).call(this,p);if(w==null)break;t(this,u)[p]=w}a(this,D,[]),a(this,_,0),a(this,A,[])}if(W!=null&&W.size>0&&t(this,it).call(this,W),ht!=null)t(this,C)&&m&&(t(this,R).length=Math.min(t(this,R).length,ht)),o(this,h,pt).call(this,ht,y,Rt);else if(!rt&&k<n){const p=I&&c>=f?d:c<f&&!m?c:k;t(this,C)&&m&&(t(this,R).length=Math.min(t(this,R).length,p)),o(this,h,pt).call(this,p,y,j)}return Mt}prebuildStateStack(e){o(this,h,ut).call(this),t(this,Tt).call(this,e)}stopBackgroundTokenize(){a(this,B,-1),!t(this,b)&&(a(this,b,!0),a(this,v,!1),a(this,O,-1),a(this,E,-1),a(this,X,void 0),a(this,N,0),a(this,D,[]),a(this,_,0),a(this,A,[]),o(this,h,Et).call(this))}pauseBackgroundTokenize(){t(this,b)||t(this,v)||(t(this,U)&&console.log("[diffs/editor] background tokenization paused",{jobId:t(this,z)}),a(this,v,!0))}resumeBackgroundTokenize(){t(this,b)||!t(this,v)||t(this,T)==null||t(this,O)<0||(t(this,U)&&console.log("[diffs/editor] background tokenization resumed",{jobId:t(this,z)}),a(this,v,!1),o(this,h,Y).call(this,t(this,z)))}},H=new WeakMap,T=new WeakMap,P=new WeakMap,Q=new WeakMap,L=new WeakMap,st=new WeakMap,it=new WeakMap,C=new WeakMap,U=new WeakMap,nt=new WeakMap,u=new WeakMap,D=new WeakMap,_=new WeakMap,A=new WeakMap,O=new WeakMap,b=new WeakMap,v=new WeakMap,z=new WeakMap,dt=new WeakMap,E=new WeakMap,B=new WeakMap,X=new WeakMap,N=new WeakMap,R=new WeakMap,Z=new WeakMap,Tt=new WeakMap,ft=new WeakMap,h=new WeakSet,K=function(){if(t(this,P)==="")return;this.backend?.getTheme(t(this,P));const{colorMap:e}=t(this,H).setTheme(t(this,P));a(this,Q,e)},ut=function(){t(this,T)==null&&!Lt(t(this,L).languageId)&&t(this,H).getLoadedLanguages().includes(t(this,L).languageId)&&a(this,T,t(this,H).getLanguage(t(this,L).languageId))},zt=function(){t(this,Z)||(globalThis.addEventListener("message",t(this,ft)),a(this,Z,!0))},Et=function(){t(this,Z)&&(globalThis.removeEventListener("message",t(this,ft)),a(this,Z,!1))},Y=function(e){globalThis.postMessage({type:"tokenize",tokenizerId:t(this,dt),jobId:e})},pt=function(e,i,s=0){if(Lt(t(this,L).languageId))return;const n=++vt(this,z)._;t(this,U)&&console.log("[diffs/editor] background tokenization scheduled",{jobId:n,startLine:e,changedLineRanges:i,changedRangeIndex:s}),a(this,b,!1),a(this,v,!1),a(this,O,e),t(this,E)>=0&&a(this,B,Math.max(t(this,B),t(this,E))),a(this,E,-1),a(this,X,i),a(this,N,s),o(this,h,zt).call(this),o(this,h,Y).call(this,n)},It=function(e){if(t(this,T)==null||t(this,u).length>e)return;if(!t(this,b)){t(this,E)>=0?a(this,E,Math.max(t(this,E),e)):a(this,B,Math.max(t(this,B),e));return}const i=++vt(this,z)._;a(this,b,!1),a(this,v,!1),a(this,O,t(this,u).length-1),a(this,E,e),a(this,B,-1),a(this,X,void 0),a(this,N,0),o(this,h,zt).call(this),o(this,h,Y).call(this,i)},ct=function(e,i){const s=t(this,L).getLineText(e);if(s.length>=t(this,st))return console.warn(`[diffs] Line(${e}) too long to tokenize: ${s.length}`),o(this,h,tt).call(this,e,null),{resolvedTokens:[[0,"",s]],state:i};if(t(this,T)==null||s===""||s.trim()==="")return o(this,h,tt).call(this,e,null),{resolvedTokens:[[0,"",s]],state:i};const n=_t(t(this,T),t(this,Q),s,i,Dt,t(this,C));return o(this,h,tt).call(this,e,n.bracketIgnoredRanges),{resolvedTokens:n.resolvedTokens,state:n.ruleStack}},tt=function(e,i){t(this,C)&&(t(this,R)[e]=i)},Ot=function(e){const i=e.changedLineChanges??[[e.startLine,e.endLine,e.lineDelta]],s=e.startLine+1;s<=t(this,u).length-s?(a(this,D,t(this,u)),a(this,_,0),a(this,u,t(this,u).slice(0,s))):(a(this,_,s),a(this,D,t(this,u).slice(s)),t(this,u).length=Math.min(t(this,u).length,s)),a(this,A,i)},gt=function(e){let i=e;for(let s=t(this,A).length-1;s>=0;s--){const[n,r,l]=t(this,A)[s];if(l!==0){if(i>r)i-=l;else if(i>n)return t(this,u)[e]}}return t(this,D)[i-t(this,_)]??t(this,u)[e]},et=function(e,i){const s=Math.min(Math.max(0,e),t(this,L).lineCount);if(t(this,u).length>s||t(this,T)==null)return!0;const n=i==null?0:performance.now();let r=t(this,u).length-1,l=t(this,u)[r]??F;for(;r<s;){t(this,u)[r]=l;const d=t(this,L).getLineText(r);if(d.length<t(this,st)&&d!==""&&d.trim()!==""){const c=_t(t(this,T),t(this,Q),d,l,Dt,t(this,C),!1);o(this,h,tt).call(this,r,c.bracketIgnoredRanges),l=c.ruleStack}else o(this,h,tt).call(this,r,null);if(r++,t(this,u)[r]=l,i!=null&&performance.now()-n>i)break}return r>=s},Bt=function(e){if(t(this,b)||t(this,v)||t(this,T)==null||e!==t(this,z))return;o(this,h,K).call(this);const i=o(this,h,et).call(this,t(this,E),1);if(!(t(this,b)||t(this,v)||e!==t(this,z))){if(i){this.stopBackgroundTokenize();return}a(this,O,t(this,u).length-1),o(this,h,Y).call(this,e)}},Pt=function(e){if(t(this,b)||t(this,v)||t(this,T)==null||e!==t(this,z))return;o(this,h,K).call(this);const i=performance.now(),s=new Map,n=t(this,L).lineCount,r=t(this,X);let l=t(this,O),d=t(this,u)[l]??F,c=!1,f=t(this,N),I=r?.[f]?.[1];for(;l<n;){t(this,u)[l]=d;const m=I!=null?o(this,h,gt).call(this,l+1):void 0,M=o(this,h,ct).call(this,l,d);if(s.set(l,M.resolvedTokens),d=M.state,t(this,u)[l+1]=d,c=I!=null&&l>=I&&m!=null&&d.equals(m),l++,c){f++;const S=r?.[f];if(S==null)break;if(I=S[1],t(this,u)[S[0]]==null)c=!1;else{l=S[0],d=t(this,u)[l]??d,c=!1;continue}}if(performance.now()-i>1)break}if(t(this,it).call(this,s),!(t(this,b)||t(this,v)||e!==t(this,z))){if(c||l>=n){const m=t(this,B);this.stopBackgroundTokenize(),m>=0&&o(this,h,It).call(this,m);return}a(this,O,l),a(this,N,f),o(this,h,Y).call(this,e)}},At);function _t(e,i,s,n,r,l=!0,d=!0){const c=e.tokenizeLine2(s,n,r);c.stoppedEarly&&console.warn(`[diffs] Time limit reached when tokenizing line: ${s.substring(0,100)}`);const f=c.tokens,I=f.length/2,m=[],M=[];if(!d&&!l)return{ruleStack:c.ruleStack,resolvedTokens:m,bracketIgnoredRanges:M};for(let S=0;S<I;S++){const y=f[2*S],V=S+1<I?f[2*S+2]:s.length;if(y===V)continue;const mt=f[2*S+1];if(d){const j=Ct.getForeground(mt);m.push([y,i[j],s.slice(y,V)])}l&&Ct.getTokenType(mt)>0&&M.push([y,V])}return{ruleStack:c.ruleStack,resolvedTokens:m,bracketIgnoredRanges:M}}function Lt(e){return e==="text"||e==="ansi"}var $,G,at,te=(at=class extends Ft{constructor(s,n){super();J(this,"highlighter");J(this,"options");g(this,$,"");g(this,G);this.highlighter=s,this.options=n}tokenizeChunk(s,n){const r=(t(this,$)+s).split(/(\r\n|\r|\n)/);let l=[];for(let d=0;d<r.length;d+=2){const c=r[d],f=this.highlighter.codeToTokens(c,{...this.options,grammarState:t(this,G)}),I=f.tokens[0].map(m=>({...m,offset:m.offset+this.stableOffset}));d+1<r.length?(Ht(n,I),this.pushLineBreak(n,c.length,r[d+1]),a(this,G,f.grammarState)):(l=I,a(this,$,c))}return{unstable:l,tailLength:t(this,$).length}}clone(){this.assertActive();const s=new at(this.highlighter,this.options);return this.copyStateTo(s),a(s,$,t(this,$)),a(s,G,t(this,G)),s}resetSource(){a(this,$,""),a(this,G,void 0)}releaseSource(){this.resetSource()}},$=new WeakMap,G=new WeakMap,at),he=class $t extends Kt{constructor(s,n){super(s,Nt(s));J(this,"raw");J(this,"loadedThemes",new Map);J(this,"attachedLanguages",new Set(["text","ansi"]));this.raw=n}static async create(s){const n=s==="shiki-wasm"?(await wt(async()=>{const{createOnigurumaEngine:l}=await import("./fp9mRO0R.js");return{createOnigurumaEngine:l}},[],import.meta.url)).createOnigurumaEngine(wt(()=>import("./Cey7Y6ql.js"),[],import.meta.url)):(await wt(async()=>{const{createJavaScriptRegexEngine:l}=await import("./LU5PuYrD.js");return{createJavaScriptRegexEngine:l}},[],import.meta.url)).createJavaScriptRegexEngine(),r=await Qt({themes:[],langs:[],engine:n});return new $t(s,r)}getTheme(s){this.assertNotDisposed();const n=this.loadedThemes.get(s),r=this.themeResolver.getResolvedTheme(s)??n;if(r==null)throw new Error(`Theme "${s}" has not been resolved`);if(n!==r){const l=r.textmate??(r.cssVariables!=null?Ut(r.cssVariables):void 0);if(l==null)throw new Error(`Theme "${s}" does not support Shiki`);this.raw.setTheme({...l,name:s}),this.loadedThemes.set(s,r)}return r}codeToTokens(s,n){return this.raw.codeToTokens(s,this.resolveOptions(n))}createEditorTokenizer(s){return new Yt(this.raw,s,this)}createStreamTokenizer(s){return new te(this.raw,this.resolveOptions(s))}async loadLanguages(s){this.assertNotDisposed();const n=s.filter(r=>!this.attachedLanguages.has(r));Xt(await Gt(n),this)}hasLoadedLanguages(s){if(this.disposed)return!1;let n;return s.every(r=>this.attachedLanguages.has(r)?!0:Jt.has(r)?!1:(n??=this.raw.getLoadedLanguages(),n.includes(r)))}attachLanguages(s){this.assertNotDisposed();for(const n of s){if(this.attachedLanguages.has(n.name))continue;const r=n.data.find(l=>l.name===n.name||l.aliases?.includes(n.name)===!0);if(r==null)throw new Error(`attachResolvedLanguages: No returned grammar declares "${n.name}" as its name or an alias.`);this.raw.loadLanguageSync(n.data);try{this.raw.getLanguage(n.name)}catch{throw new Error(`attachResolvedLanguages: "${r.name}" is already loaded without alias "${n.name}". Load the alias first or give the grammar a unique name.`)}this.attachedLanguages.add(n.name)}}releaseResources(){this.loadedThemes.clear(),this.attachedLanguages.clear(),this.raw.dispose()}resolveOptions({theme:s,themes:n,...r}){if(this.assertNotDisposed(),s!=null)return this.getTheme(s),{...r,theme:s};if(n==null)throw new Error("A theme or themes option is required");for(const l of Object.values(n))this.getTheme(l);return{...r,themes:n}}};export{he as ShikiHighlighter};
|
|
1
|
+
var Vt=Object.defineProperty;var yt=e=>{throw TypeError(e)};var jt=(e,i,s)=>i in e?Vt(e,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[i]=s;var J=(e,i,s)=>jt(e,typeof i!="symbol"?i+"":i,s),bt=(e,i,s)=>i.has(e)||yt("Cannot "+s);var t=(e,i,s)=>(bt(e,i,"read from private field"),s?s.call(e):i.get(e)),g=(e,i,s)=>i.has(e)?yt("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(e):i.set(e,s),a=(e,i,s,n)=>(bt(e,i,"write to private field"),n?n.call(e,s):i.set(e,s),s),o=(e,i,s)=>(bt(e,i,"access private method"),s);var vt=(e,i,s,n)=>({set _(r){a(e,i,r,s)},get _(){return t(e,i,n)}});import{_ as wt}from"./C0QTy0Sy.js";import{m as xt,A as qt,r as Ht,Q as Nt,aX as Gt,R as Jt}from"./Rx5mQeGT.js";import{B as Ft,D as Kt}from"./DSAj_NCN.js";import{I as F,E as Ct,b as Qt,a as Ut}from"./DICr2Lvd.js";function Xt(e,i){for(const s of Array.isArray(e)?e:[e]){let n=xt.get(s.name);n==null&&(n=s,xt.set(s.name,n)),i.attachLanguages([n]),qt.add(n.name)}}function Zt(e,i){let s;return function(...n){clearTimeout(s),s=setTimeout(()=>e.apply(this,n),i)}}const Dt=0;let Wt=0;var H,T,P,Q,L,st,it,C,U,nt,u,D,_,A,O,b,v,z,dt,E,B,X,N,R,Z,Tt,ft,h,K,ut,zt,Et,Y,pt,It,ct,tt,Ot,gt,et,Bt,Pt,At,Yt=(At=class{constructor(e,i,s){g(this,h);J(this,"backend");g(this,H);g(this,T);g(this,P);g(this,Q);g(this,L);g(this,st);g(this,it);g(this,C);g(this,U);g(this,nt,!1);g(this,u,[F]);g(this,D,[]);g(this,_,0);g(this,A,[]);g(this,O,-1);g(this,b,!0);g(this,v,!1);g(this,z,0);g(this,dt,++Wt);g(this,E,-1);g(this,B,-1);g(this,X);g(this,N,0);g(this,R,[]);g(this,Z,!1);g(this,Tt,Zt(async e=>{if(t(this,nt))return;const{startingLine:i=0,totalLines:s=1/0}=e??{},n=Math.min(s===1/0?1/0:i+s,t(this,L).lineCount);if(t(this,T)==null&&!Lt(t(this,L).languageId)){if(await this.backend?.loadLanguages([t(this,L).languageId]),t(this,nt))return;a(this,T,t(this,H).getLanguage(t(this,L).languageId))}o(this,h,K).call(this),o(this,h,It).call(this,n)},500));g(this,ft,({data:e})=>{if(typeof e!="object"||e===null)return;const{type:i,tokenizerId:s,jobId:n}=e;i==="tokenize"&&s===t(this,dt)&&typeof n=="number"&&n===t(this,z)&&(t(this,E)>=0?o(this,h,Bt).call(this,n):o(this,h,Pt).call(this,n))});this.backend=s,a(this,H,e),a(this,L,i.textDocument),a(this,P,i.theme),a(this,Q,[]),a(this,st,i.tokenizeMaxLineLength??1e3),a(this,it,i.onDeferTokenize),a(this,C,i.matchBrackets!==!1),a(this,U,i.__debug??!1),o(this,h,ut).call(this),o(this,h,K).call(this)}getStringCommentRegexpRangesInLine(e){if(!t(this,C)||e<0||e>=t(this,L).lineCount||(o(this,h,ut).call(this),t(this,T)==null))return null;if(t(this,R)[e]===void 0){o(this,h,et).call(this,e);const i=t(this,u)[e]??F,s=o(this,h,ct).call(this,e,i);t(this,u)[e+1]=s.state}return t(this,R)[e]??null}setTheme(e){t(this,P)!==e&&(a(this,P,e),o(this,h,K).call(this),this.stopBackgroundTokenize(),a(this,u,[F]),a(this,D,[]),a(this,_,0),a(this,A,[]),t(this,T)!=null&&t(this,L).lineCount>0&&o(this,h,pt).call(this,0))}dispose(){a(this,nt,!0),this.stopBackgroundTokenize(),o(this,h,Et).call(this)}tokenize(e,i,s=!1){if(o(this,h,ut).call(this),o(this,h,K).call(this),t(this,T)==null&&!Lt(t(this,L).languageId))throw new Error(`Grammar for language "${t(this,L).languageId}" not loaded`);const{lineCount:n}=t(this,L),{startingLine:r=0,totalLines:l=1/0}=i??{},d=l===1/0?n:Math.min(r+l,n),c=e.startLine,f=Math.max(r,c),I=i!=null&&l!==1/0&&e.lineDelta>0&&c<d&&e.endLine>=d,m=e.lineDelta===0&&(e.changedLineChanges?.every(([,,p])=>p===0)??!0);t(this,C)&&!m&&(t(this,R).length=Math.min(t(this,R).length,e.startLine));const M=s&&e.lineDelta!==0&&c>=r,S=m||i==null||c>=f,y=e.changedLineRanges??[[c,e.endLine]];a(this,D,[]),a(this,_,0),a(this,A,[]);let V=-1;if(c<f)for(const[p,w]of y)p<f&&(V=Math.max(V,Math.min(w,f-1)));const mt=V>=c&&(m||e.lineDelta<0);m?o(this,h,et).call(this,c):(o(this,h,Ot).call(this,e),(i==null||c>=f)&&o(this,h,et).call(this,f));let j=0,St=y[j][1],ht,Rt=0,k=m?y[j][0]:f,rt=!1;const Mt=new Map,W=mt?new Map:void 0;if(W!=null&&!m){const p=Math.min(V+1,f,d);if(p>c){o(this,h,et).call(this,p);let w=c,ot=t(this,u)[w]??F;for(;w<p;w++){const x=o(this,h,ct).call(this,w,ot);ot=x.state,W.set(w,x.resolvedTokens)}t(this,u)[p]=ot}}let q=t(this,u)[k]??F;for(;k<d;){const p=m?t(this,u)[k+1]:M?o(this,h,gt).call(this,k+1):void 0;S&&(t(this,u)[k]=q);const{resolvedTokens:w,state:ot}=o(this,h,ct).call(this,k,q);if(q=ot,k>=f?Mt.set(k,w):W?.set(k,w),S&&(t(this,u)[k+1]=q),rt=k>=St&&(m||M)&&p!=null&&q.equals(p),rt){j++;const x=y[j];if(x==null)break;if(x[0]>=d){ht=x[0],Rt=j;break}let lt=t(this,u)[x[0]];if(M)for(let kt=k+2;kt<=x[0]&&(lt=o(this,h,gt).call(this,kt),lt!=null);kt++)t(this,u)[kt]=lt;lt==null?(St=x[1],k++):(k=x[0],q=lt,St=x[1]),rt=!1;continue}k++}if(S&&(k<d?t(this,u)[k+1]=q:t(this,u)[k]=q),rt&&M&&ht==null){for(let p=k+2;p<=n;p++){const w=o(this,h,gt).call(this,p);if(w==null)break;t(this,u)[p]=w}a(this,D,[]),a(this,_,0),a(this,A,[])}if(W!=null&&W.size>0&&t(this,it).call(this,W),ht!=null)t(this,C)&&m&&(t(this,R).length=Math.min(t(this,R).length,ht)),o(this,h,pt).call(this,ht,y,Rt);else if(!rt&&k<n){const p=I&&c>=f?d:c<f&&!m?c:k;t(this,C)&&m&&(t(this,R).length=Math.min(t(this,R).length,p)),o(this,h,pt).call(this,p,y,j)}return Mt}prebuildStateStack(e){o(this,h,ut).call(this),t(this,Tt).call(this,e)}stopBackgroundTokenize(){a(this,B,-1),!t(this,b)&&(a(this,b,!0),a(this,v,!1),a(this,O,-1),a(this,E,-1),a(this,X,void 0),a(this,N,0),a(this,D,[]),a(this,_,0),a(this,A,[]),o(this,h,Et).call(this))}pauseBackgroundTokenize(){t(this,b)||t(this,v)||(t(this,U)&&console.log("[diffs/editor] background tokenization paused",{jobId:t(this,z)}),a(this,v,!0))}resumeBackgroundTokenize(){t(this,b)||!t(this,v)||t(this,T)==null||t(this,O)<0||(t(this,U)&&console.log("[diffs/editor] background tokenization resumed",{jobId:t(this,z)}),a(this,v,!1),o(this,h,Y).call(this,t(this,z)))}},H=new WeakMap,T=new WeakMap,P=new WeakMap,Q=new WeakMap,L=new WeakMap,st=new WeakMap,it=new WeakMap,C=new WeakMap,U=new WeakMap,nt=new WeakMap,u=new WeakMap,D=new WeakMap,_=new WeakMap,A=new WeakMap,O=new WeakMap,b=new WeakMap,v=new WeakMap,z=new WeakMap,dt=new WeakMap,E=new WeakMap,B=new WeakMap,X=new WeakMap,N=new WeakMap,R=new WeakMap,Z=new WeakMap,Tt=new WeakMap,ft=new WeakMap,h=new WeakSet,K=function(){if(t(this,P)==="")return;this.backend?.getTheme(t(this,P));const{colorMap:e}=t(this,H).setTheme(t(this,P));a(this,Q,e)},ut=function(){t(this,T)==null&&!Lt(t(this,L).languageId)&&t(this,H).getLoadedLanguages().includes(t(this,L).languageId)&&a(this,T,t(this,H).getLanguage(t(this,L).languageId))},zt=function(){t(this,Z)||(globalThis.addEventListener("message",t(this,ft)),a(this,Z,!0))},Et=function(){t(this,Z)&&(globalThis.removeEventListener("message",t(this,ft)),a(this,Z,!1))},Y=function(e){globalThis.postMessage({type:"tokenize",tokenizerId:t(this,dt),jobId:e})},pt=function(e,i,s=0){if(Lt(t(this,L).languageId))return;const n=++vt(this,z)._;t(this,U)&&console.log("[diffs/editor] background tokenization scheduled",{jobId:n,startLine:e,changedLineRanges:i,changedRangeIndex:s}),a(this,b,!1),a(this,v,!1),a(this,O,e),t(this,E)>=0&&a(this,B,Math.max(t(this,B),t(this,E))),a(this,E,-1),a(this,X,i),a(this,N,s),o(this,h,zt).call(this),o(this,h,Y).call(this,n)},It=function(e){if(t(this,T)==null||t(this,u).length>e)return;if(!t(this,b)){t(this,E)>=0?a(this,E,Math.max(t(this,E),e)):a(this,B,Math.max(t(this,B),e));return}const i=++vt(this,z)._;a(this,b,!1),a(this,v,!1),a(this,O,t(this,u).length-1),a(this,E,e),a(this,B,-1),a(this,X,void 0),a(this,N,0),o(this,h,zt).call(this),o(this,h,Y).call(this,i)},ct=function(e,i){const s=t(this,L).getLineText(e);if(s.length>=t(this,st))return console.warn(`[diffs] Line(${e}) too long to tokenize: ${s.length}`),o(this,h,tt).call(this,e,null),{resolvedTokens:[[0,"",s]],state:i};if(t(this,T)==null||s===""||s.trim()==="")return o(this,h,tt).call(this,e,null),{resolvedTokens:[[0,"",s]],state:i};const n=_t(t(this,T),t(this,Q),s,i,Dt,t(this,C));return o(this,h,tt).call(this,e,n.bracketIgnoredRanges),{resolvedTokens:n.resolvedTokens,state:n.ruleStack}},tt=function(e,i){t(this,C)&&(t(this,R)[e]=i)},Ot=function(e){const i=e.changedLineChanges??[[e.startLine,e.endLine,e.lineDelta]],s=e.startLine+1;s<=t(this,u).length-s?(a(this,D,t(this,u)),a(this,_,0),a(this,u,t(this,u).slice(0,s))):(a(this,_,s),a(this,D,t(this,u).slice(s)),t(this,u).length=Math.min(t(this,u).length,s)),a(this,A,i)},gt=function(e){let i=e;for(let s=t(this,A).length-1;s>=0;s--){const[n,r,l]=t(this,A)[s];if(l!==0){if(i>r)i-=l;else if(i>n)return t(this,u)[e]}}return t(this,D)[i-t(this,_)]??t(this,u)[e]},et=function(e,i){const s=Math.min(Math.max(0,e),t(this,L).lineCount);if(t(this,u).length>s||t(this,T)==null)return!0;const n=i==null?0:performance.now();let r=t(this,u).length-1,l=t(this,u)[r]??F;for(;r<s;){t(this,u)[r]=l;const d=t(this,L).getLineText(r);if(d.length<t(this,st)&&d!==""&&d.trim()!==""){const c=_t(t(this,T),t(this,Q),d,l,Dt,t(this,C),!1);o(this,h,tt).call(this,r,c.bracketIgnoredRanges),l=c.ruleStack}else o(this,h,tt).call(this,r,null);if(r++,t(this,u)[r]=l,i!=null&&performance.now()-n>i)break}return r>=s},Bt=function(e){if(t(this,b)||t(this,v)||t(this,T)==null||e!==t(this,z))return;o(this,h,K).call(this);const i=o(this,h,et).call(this,t(this,E),1);if(!(t(this,b)||t(this,v)||e!==t(this,z))){if(i){this.stopBackgroundTokenize();return}a(this,O,t(this,u).length-1),o(this,h,Y).call(this,e)}},Pt=function(e){if(t(this,b)||t(this,v)||t(this,T)==null||e!==t(this,z))return;o(this,h,K).call(this);const i=performance.now(),s=new Map,n=t(this,L).lineCount,r=t(this,X);let l=t(this,O),d=t(this,u)[l]??F,c=!1,f=t(this,N),I=r?.[f]?.[1];for(;l<n;){t(this,u)[l]=d;const m=I!=null?o(this,h,gt).call(this,l+1):void 0,M=o(this,h,ct).call(this,l,d);if(s.set(l,M.resolvedTokens),d=M.state,t(this,u)[l+1]=d,c=I!=null&&l>=I&&m!=null&&d.equals(m),l++,c){f++;const S=r?.[f];if(S==null)break;if(I=S[1],t(this,u)[S[0]]==null)c=!1;else{l=S[0],d=t(this,u)[l]??d,c=!1;continue}}if(performance.now()-i>1)break}if(t(this,it).call(this,s),!(t(this,b)||t(this,v)||e!==t(this,z))){if(c||l>=n){const m=t(this,B);this.stopBackgroundTokenize(),m>=0&&o(this,h,It).call(this,m);return}a(this,O,l),a(this,N,f),o(this,h,Y).call(this,e)}},At);function _t(e,i,s,n,r,l=!0,d=!0){const c=e.tokenizeLine2(s,n,r);c.stoppedEarly&&console.warn(`[diffs] Time limit reached when tokenizing line: ${s.substring(0,100)}`);const f=c.tokens,I=f.length/2,m=[],M=[];if(!d&&!l)return{ruleStack:c.ruleStack,resolvedTokens:m,bracketIgnoredRanges:M};for(let S=0;S<I;S++){const y=f[2*S],V=S+1<I?f[2*S+2]:s.length;if(y===V)continue;const mt=f[2*S+1];if(d){const j=Ct.getForeground(mt);m.push([y,i[j],s.slice(y,V)])}l&&Ct.getTokenType(mt)>0&&M.push([y,V])}return{ruleStack:c.ruleStack,resolvedTokens:m,bracketIgnoredRanges:M}}function Lt(e){return e==="text"||e==="ansi"}var $,G,at,te=(at=class extends Ft{constructor(s,n){super();J(this,"highlighter");J(this,"options");g(this,$,"");g(this,G);this.highlighter=s,this.options=n}tokenizeChunk(s,n){const r=(t(this,$)+s).split(/(\r\n|\r|\n)/);let l=[];for(let d=0;d<r.length;d+=2){const c=r[d],f=this.highlighter.codeToTokens(c,{...this.options,grammarState:t(this,G)}),I=f.tokens[0].map(m=>({...m,offset:m.offset+this.stableOffset}));d+1<r.length?(Ht(n,I),this.pushLineBreak(n,c.length,r[d+1]),a(this,G,f.grammarState)):(l=I,a(this,$,c))}return{unstable:l,tailLength:t(this,$).length}}clone(){this.assertActive();const s=new at(this.highlighter,this.options);return this.copyStateTo(s),a(s,$,t(this,$)),a(s,G,t(this,G)),s}resetSource(){a(this,$,""),a(this,G,void 0)}releaseSource(){this.resetSource()}},$=new WeakMap,G=new WeakMap,at),he=class $t extends Kt{constructor(s,n){super(s,Nt(s));J(this,"raw");J(this,"loadedThemes",new Map);J(this,"attachedLanguages",new Set(["text","ansi"]));this.raw=n}static async create(s){const n=s==="shiki-wasm"?(await wt(async()=>{const{createOnigurumaEngine:l}=await import("./fp9mRO0R.js");return{createOnigurumaEngine:l}},[],import.meta.url)).createOnigurumaEngine(wt(()=>import("./Cey7Y6ql.js"),[],import.meta.url)):(await wt(async()=>{const{createJavaScriptRegexEngine:l}=await import("./LU5PuYrD.js");return{createJavaScriptRegexEngine:l}},[],import.meta.url)).createJavaScriptRegexEngine(),r=await Qt({themes:[],langs:[],engine:n});return new $t(s,r)}getTheme(s){this.assertNotDisposed();const n=this.loadedThemes.get(s),r=this.themeResolver.getResolvedTheme(s)??n;if(r==null)throw new Error(`Theme "${s}" has not been resolved`);if(n!==r){const l=r.textmate??(r.cssVariables!=null?Ut(r.cssVariables):void 0);if(l==null)throw new Error(`Theme "${s}" does not support Shiki`);this.raw.setTheme({...l,name:s}),this.loadedThemes.set(s,r)}return r}codeToTokens(s,n){return this.raw.codeToTokens(s,this.resolveOptions(n))}createEditorTokenizer(s){return new Yt(this.raw,s,this)}createStreamTokenizer(s){return new te(this.raw,this.resolveOptions(s))}async loadLanguages(s){this.assertNotDisposed();const n=s.filter(r=>!this.attachedLanguages.has(r));Xt(await Gt(n),this)}hasLoadedLanguages(s){if(this.disposed)return!1;let n;return s.every(r=>this.attachedLanguages.has(r)?!0:Jt.has(r)?!1:(n??=this.raw.getLoadedLanguages(),n.includes(r)))}attachLanguages(s){this.assertNotDisposed();for(const n of s){if(this.attachedLanguages.has(n.name))continue;const r=n.data.find(l=>l.name===n.name||l.aliases?.includes(n.name)===!0);if(r==null)throw new Error(`attachResolvedLanguages: No returned grammar declares "${n.name}" as its name or an alias.`);this.raw.loadLanguageSync(n.data);try{this.raw.getLanguage(n.name)}catch{throw new Error(`attachResolvedLanguages: "${r.name}" is already loaded without alias "${n.name}". Load the alias first or give the grammar a unique name.`)}this.attachedLanguages.add(n.name)}}releaseResources(){this.loadedThemes.clear(),this.attachedLanguages.clear(),this.raw.dispose()}resolveOptions({theme:s,themes:n,...r}){if(this.assertNotDisposed(),s!=null)return this.getTheme(s),{...r,theme:s};if(n==null)throw new Error("A theme or themes option is required");for(const l of Object.values(n))this.getTheme(l);return{...r,themes:n}}};export{he as ShikiHighlighter};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{bm as y,t as wt,bo as K,bw as Tt,bq as xt,b as kt,bs as D}from"./
|
|
1
|
+
import{bm as y,t as wt,bo as K,bw as Tt,bq as xt,b as kt,bs as D}from"./C0QTy0Sy.js";import{bs as It,ca as Q,aD as t,a7 as At,ay as X,W as w,bn as Pt,bS as N,c9 as f,aA as M,aB as x,a5 as I,bA as A,bl as P,b_ as F,bO as S}from"./3SdAC2_C.js";import{i as B}from"./bhKPSdq4.js";import{k as St}from"./-K3ARgq0.js";import{c as Wt}from"./CUkDMZwP.js";import{C as q}from"./DypB-Dwi.js";import{L as $t}from"./CSiaiLHL.js";import"./DduCxuVq.js";import"./7UPrdiE9.js";import"./CrD0jtXE.js";import{bg as Dt}from"./U9jJmfYa.js";import"./DCRuihKm.js";/* empty css */import{Jv as E,K3 as Nt,Ki as Ft,K8 as Bt,vw as Et}from"./tr-2J8Mf.js";import{T as Lt}from"./XHPDEELd.js";import{g as Ut}from"./DWGXN6Nr.js";import{dH as Ot}from"./BaujsV9k.js";import{bT as jt,bN as Ht,b8 as Kt}from"./BtHTHBJp.js";import"./QeBH-DWE.js";import{M as Mt}from"./CDK_hSiv.js";import{V as Vt}from"./CqcqWJoa.js";import{O as qt}from"./DME_6OFx.js";import{c as Rt}from"./ChTqQfQN.js";import{i as Gt}from"./H2jLkRRS.js";const T=new $t({category:"change-converters"});function V(e,n){return e.path||e.file||e.filePath||e.relativePath||n?.filePath}function Y(e,n){return{additions:e.additions??n?.additions??0,deletions:e.deletions??n?.deletions??0,binary:e.binary??!1}}function Jt(e,n){if(n.actor?.type==="agent"&&n.actor.id){const r=n.actor;return{agentId:r.id,agentName:r.name||y.fileTracking_changeTimeline_agent_fallback(),sessionId:r.sessionId||e.sessionId||"",turnNumber:r.turnNumber??e.turnNumber??0,messageId:r.messageId,timestamp:new Date(n.timestamp).getTime()}}if(e.agentId)return{agentId:e.agentId,agentName:e.agentName||y.fileTracking_changeTimeline_agent_fallback(),sessionId:e.sessionId||"",turnNumber:e.turnNumber||0,timestamp:new Date(n.timestamp).getTime()}}function Z(e,n){return{timestamp:new Date(e.timestamp).getTime(),manual:e.actor?.type==="user",agent:Jt(n,e)}}function tt(e,n){return{oldContent:n?.oldContent??e.oldContent,newContent:n?.newContent??e.newContent,diff:e.diff??n?.diff}}function et(e,n,r){return r!==void 0?`${e}-${n}-${r}`:`${e}-${n}`}function zt(e){try{const n=e.data||{},r=e.codeChange;T.debug("Converting event to TrackedChange",{eventType:e.type,eventId:e.id,hasData:!!n,hasCodeChange:!!r});const c=V(n,r);if(e.type.startsWith("file:")&&c){const d=Y(n,r);return T.debug("Creating TrackedChange for file event",{filePath:c,stats:d,hasDiff:!!(n.diff||r?.diff)}),[{id:et("event",e.id),file:c,relativePath:c,stage:q.Unstaged,stats:d,attribution:Z(e,n),content:tt(n,r)}]}return(e.type==="agent:completed"||e.type.startsWith("agent:"))&&n.fileChanges&&Array.isArray(n.fileChanges)?(T.debug("Creating TrackedChanges for agent event",{eventType:e.type,fileChangesCount:n.fileChanges.length,agentId:n.agentId}),n.fileChanges.filter(d=>V(d)?!0:(T.warn("Skipping file change without path",{change:d}),!1)).map((d,s)=>{const v=V(d);if(!v)throw new Error("file change without path");return{id:et("event",e.id,s),file:v,relativePath:v,stage:q.Unstaged,stats:Y(d),attribution:Z(e,n),content:tt(d)}})):(T.debug("No TrackedChanges created for event",{eventType:e.type,eventId:e.id,hasFilePath:!!c,hasFileChanges:!!(n.fileChanges&&Array.isArray(n.fileChanges))}),[])}catch(n){return T.error("Error converting event to TrackedChange",n instanceof Error?n:new Error(String(n)),{eventType:e.type,eventId:e.id}),[]}}function Qt(e){if(!e)return{oldContent:"",newContent:""};const n=[],r=[],c=e.split(`
|
|
2
2
|
`);c.length>0&&c[c.length-1]===""&&c.pop();let d=!1;for(const s of c)if(!(s.startsWith("diff --git")||s.startsWith("index ")||s.startsWith("--- ")||s.startsWith("+++ ")||s.startsWith("\"))){if(s.startsWith("@@")){d=!0;continue}d&&(s.startsWith("+")?r.push(s.slice(1)):s.startsWith("-")?n.push(s.slice(1)):s.startsWith(" ")?(n.push(s.slice(1)),r.push(s.slice(1))):s===""&&(n.push(""),r.push("")))}return{oldContent:n.join(`
|
|
3
3
|
`),newContent:r.join(`
|
|
4
4
|
`)}}var Xt=x("<!> <!>",1),Yt=x('<div class="flex items-center gap-1.5 px-3 py-1.5 text-xs text-subtle bg-muted/50 border-b border-border"><span> </span></div>'),Zt=x('<div class="flex flex-col h-full"><!> <div class="flex-1 min-h-0"><!></div></div>'),te=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p> <p class="text-xs opacity-70"> </p></div>'),ee=x('<p class="text-xs opacity-70"> </p>'),ne=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p> <!></div>');function ae(e,n){if(new.target)return wt({component:ae,...e});It(n,!0);const r=()=>D(lt,"$workspace",v),c=()=>D(st,"$foldUnchanged",v),d=()=>D(rt,"$lineWrapping",v),s=()=>D(ot,"$diffSideBySide",v),[v,nt]=xt(),at=a=>{Vt(a,{embedded:!0,get foldEnabled(){return c()},onToggleFold:()=>E.dispatch(Bt()),get wrapEnabled(){return d()},onToggleWrap:()=>E.dispatch(Ft()),get splitEnabled(){return s()},onToggleSplit:()=>E.dispatch(Nt())})},it=a=>{var i=Xt(),g=X(i);{let m=f(()=>y.layout_diffHeader_goToFile_tooltip());Wt(g,()=>Mt,(l,h)=>{h(l,{get icon(){return Dt},get label(){return t(m)},onclick:$=>ut()})})}var C=N(g,2);{var b=m=>{qt(m,{get filePath(){return t(G)},get workspaceId(){return _()},isDirectory:!1,embedded:!0,get workspaceFolderPath(){return t(O)}})};B(C,m=>{t(G)&&m(b)})}w(a,i)},rt=jt(),st=Ht(),ot=Kt(),dt=Rt("ActivityChangesTabType");let L=K(n,"tab",7),_=K(n,"workspaceId",7),U=K(n,"isActive",7);const R=Ut(),lt=Ot(_()),O=f(()=>r()?.worktreePath||r()?.repositoryPath||void 0),o=f(()=>L().data?.event),ct=f(()=>t(o)?zt(t(o)):[]),u=f(()=>t(ct)[0]),p=f(()=>t(u)?.relativePath||t(u)?.file||null),G=f(()=>t(p)&&t(O)?Gt(t(p))?t(p):`${t(O)}/${t(p)}`:null),j=f(()=>()=>{if(!t(o))return null;const a=t(o).data,i=t(o).codeChange;return a?.diff||i?.diff||t(u)?.content?.diff||null}),J=f(()=>()=>t(u)?.content?!!(t(u).content.oldContent&&t(u).content.newContent):!1);function ft(a){if(!a)return;const i=a.match(/@@ -(\d+)/);return i?parseInt(i[1],10):void 0}const k=f(()=>{if(t(J)()&&t(u)?.content)return{oldContent:t(u).content.oldContent??"",newContent:t(u).content.newContent??""};const a=t(j)();return a?Qt(a):null}),W=f(()=>ft(t(j)())),pt=f(()=>t(W)!==void 0&&t(W)>1),gt=f(()=>{const a=t(p)||"",i=t(o)?.data||{};return{id:`activity-${t(o)?.id||"unknown"}-${a}`,file:a,relativePath:a,stage:q.Committed,status:t(u)?.status||"modified",stats:{additions:i?.additions||t(u)?.stats?.additions||0,deletions:i?.deletions||t(u)?.stats?.deletions||0},attribution:{timestamp:t(o)?.timestamp?new Date(t(o).timestamp).getTime():Date.now()},content:t(k)?{oldContent:t(k).oldContent,newContent:t(k).newContent}:void 0}});function ut(a){if(!t(p))return;const g={type:"file",title:t(p).split("/").pop()||t(p),closable:!0,filePath:t(p),workspaceId:_()};E.dispatch(Et(_(),g))}Q(()=>{!R||!U()||R.registerActions({display:at,actions:it})}),Q(()=>{if(t(o)){const a=t(o).data;dt.debug("Activity event diff info",{eventType:t(o).type,eventId:t(o).id,filePath:t(p),hasDiffString:!!t(j)(),hasOldNewContent:t(J)(),hasDiffContents:!!t(k),dataAdditions:a?.additions,dataDeletions:a?.deletions})}});var ht={get tab(){return L()},set tab(a){L(a),M()},get workspaceId(){return _()},set workspaceId(a){_(a),M()},get isActive(){return U()},set isActive(a){U(a),M()},$set:Tt,$on:(a,i)=>kt(n,a,i)},z=At(),mt=X(z);{var vt=a=>{var i=Zt(),g=I(i);{var C=l=>{var h=Yt(),$=I(h),H=P($,!0);A(h),F(_t=>S(H,_t),[()=>y.layout_activityChanges_partialDiff_label({line:t(W)??0})]),w(l,h)};B(g,l=>{t(pt)&&l(C)})}var b=N(g,2),m=I(b);St(m,()=>`${t(o)?.id}-${t(p)}`,l=>{{let h=f(()=>s()?"split":"unified");Lt(l,{get change(){return t(gt)},get workspaceId(){return _()},get viewMode(){return t(h)},get foldUnchanged(){return c()},get lineWrapping(){return d()},get lineOffset(){return t(W)}})}}),A(b),A(i),w(a,i)},Ct=a=>{var i=te(),g=I(i),C=P(g,!0),b=N(g,2),m=P(b,!0);A(i),F((l,h)=>{S(C,l),S(m,h)},[()=>y.layout_activityChanges_noDiffStored_label(),()=>y.layout_activityChanges_diffNotCaptured_description()]),w(a,i)},bt=a=>{var i=ne(),g=I(i),C=P(g,!0),b=N(g,2);{var m=l=>{var h=ee(),$=P(h,!0);F(H=>S($,H),[()=>y.layout_activityChanges_eventType_label({type:t(o).type})]),w(l,h)};B(b,l=>{t(o)&&l(m)})}A(i),F(l=>S(C,l),[()=>y.layout_activityChanges_noChanges_label()]),w(a,i)};B(mt,a=>{t(p)&&t(k)?a(vt):t(p)?a(Ct,1):a(bt,-1)})}w(e,z);var yt=Pt(ht);return nt(),yt}export{ae as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as Ce,bo as r,bw as we,bp as Ye,b as Se,bm as O}from"./
|
|
1
|
+
import{t as Ce,bo as r,bw as we,bp as Ye,b as Se,bm as O}from"./C0QTy0Sy.js";import{bs as xe,aD as a,a5 as H,bA as N,b_ as M,W as w,bn as Be,c9 as z,bH as m,aA as s,aB as ke,bV as A,bf as Oe,bS as ge,be as ye,b$ as ve,bO as _e,ca as Ze,a7 as V,ay as T}from"./3SdAC2_C.js";import{i as he}from"./bhKPSdq4.js";import{t as R}from"./CrD0jtXE.js";import{c as Ae}from"./CUkDMZwP.js";import{a_ as $e,aa as et,f as De}from"./FzlZUztb.js";import"./DCRuihKm.js";import{O as tt}from"./CAvYeStH.js";import{a as rt,D as st}from"./Co4vj0dC.js";import{b as nt,e as Ke,s as Pe,c as at,f as ot}from"./7UPrdiE9.js";import"./lJeex2Gh.js";import{e as it}from"./QeBH-DWE.js";import{b as ut}from"./Dn334wJv.js";import{i as lt}from"./CC7to1B5.js";import"./A9niI_uA.js";import"./CJ4Z96pe.js";var ct=new Set(["$$slots","$$events","$$legacy","children","onSubmit","busy","enterKey","modEnter","class"]),ft=ke('<form><fieldset class="contents"><!></fieldset></form>');function ze(K,t){if(new.target)return Ce({component:ze,...K});xe(t,!0);let l=r(t,"children",7),d=r(t,"onSubmit",7),b=r(t,"busy",7,!1),f=r(t,"enterKey",7,"submit"),g=r(t,"modEnter",7,"submit"),h=r(t,"class",7),L=Ye(t,ct),i,y=A(!1);const v=z(()=>b()||a(y));async function E(n){if(n.preventDefault(),!a(v)){m(y,!0);try{await d()(n)}finally{m(y,!1)}}}function S(n){if(n.key!=="Enter"||n.isComposing||n.defaultPrevented||a(v))return;const _=n.target,x=lt(_),D=_.closest('button, a[href], select, summary, [role="button"], [role="link"], [role="checkbox"], [role="radio"], [role="switch"], [role="tab"], [role="menuitem"], [role="option"], [role="combobox"], [role="slider"]');if(D&&i.contains(D)||_ instanceof HTMLInputElement&&!["text","search","email","url","tel","password","number"].includes(_.type))return;const k=n.metaKey||n.ctrlKey;(k?g()==="submit":!x&&f()==="submit")?(n.preventDefault(),i.requestSubmit()):(!x||k)&&n.preventDefault()}var p={get children(){return l()},set children(n){l(n),s()},get onSubmit(){return d()},set onSubmit(n){d(n),s()},get busy(){return b()},set busy(n=!1){b(n),s()},get enterKey(){return f()},set enterKey(n="submit"){f(n),s()},get modEnter(){return g()},set modEnter(n="submit"){g(n),s()},get class(){return h()},set class(n){h(n),s()},$set:we,$on:(n,_)=>Se(t,n,_)},u=ft();nt(u,n=>({"data-slot":"form","aria-busy":a(v)||void 0,class:n,onsubmit:E,onkeydown:S,...L}),[()=>Ke("grid gap-4",h())]);var C=H(u),o=H(C);return R(o,l),N(C),N(u),ut(u,n=>i=n,()=>i),M(()=>{C.disabled=a(v),Pe(C,"aria-busy",a(v)||void 0)}),w(K,u),Be(p)}var mt=ke('<div data-slot="form-actions"><div data-slot="form-actions-destructive" class="flex items-center"><!></div> <div data-slot="form-actions-end" class="ml-auto flex items-center gap-2"><!> <!> <!></div></div>');function Ve(K,t){if(new.target)return Ce({component:Ve,...K});xe(t,!0);let l=r(t,"destructive",7),d=r(t,"secondary",7),b=r(t,"primary",7),f=r(t,"hint",7),g=r(t,"class",7);const h=$e();var L={get destructive(){return l()},set destructive(o){l(o),s()},get secondary(){return d()},set secondary(o){d(o),s()},get primary(){return b()},set primary(o){b(o),s()},get hint(){return f()},set hint(o){f(o),s()},get class(){return g()},set class(o){g(o),s()},$set:we,$on:(o,n)=>Se(t,o,n)},i=mt(),y=H(i),v=H(y);R(v,()=>l()??Oe),N(y);var E=ge(y,2),S=H(E);{var p=o=>{et(o,{children:(n,_)=>{ye();var x=ve();M(()=>_e(x,f())),w(n,x)},$$slots:{default:!0}})};he(S,o=>{f()&&o(p)})}var u=ge(S,2);R(u,()=>d()??Oe);var C=ge(u,2);return R(C,b),N(E),N(i),M(o=>{Pe(i,"data-size",h),ot(i,1,o)},[()=>at(Ke("flex items-center justify-between",h==="compact"?"gap-2":"gap-3",g()))]),w(K,i),Be(L)}function dt(K,t){if(new.target)return Ce({component:dt,...K});xe(t,!0);let l=r(t,"open",15,!1),d=r(t,"static",7,!1),b=r(t,"title",7),f=r(t,"description",7),g=r(t,"titleId",7),h=r(t,"descriptionId",7),L=r(t,"children",7),i=r(t,"footer",7),y=r(t,"submitLabel",23,()=>O.modals_bulkActionConfirm_confirm_label()),v=r(t,"cancelLabel",23,()=>O.modals_bulkActionConfirm_cancel_label()),E=r(t,"submitVariant",7,"primary"),S=r(t,"canSubmit",7,!0),p=r(t,"busy",7,!1),u=r(t,"submitBusy",7,!1),C=r(t,"role",7,"dialog"),o=r(t,"dismissOnInteractOutside",7,!0),n=r(t,"showCancel",7,!0),_=r(t,"showCloseButton",7,!0),x=r(t,"closeLabel",23,()=>O.ui_dialog_close_ariaLabel()),D=r(t,"class",7),k=r(t,"size",7,"default"),j=r(t,"initialFocus",7),X=r(t,"focusContent",7,!1),q=r(t,"focusSubmit",7,!1),Y=r(t,"focusCancel",7,!1),W=r(t,"escapeKeydownBehavior",7,"close"),Z=r(t,"enterKey",7,"submit"),$=r(t,"modEnter",7,"submit"),ee=r(t,"onfocusin",7),te=r(t,"onCloseAutoFocus",7),re=r(t,"onSubmit",7),se=r(t,"onCancel",7),ne=A(!1),G=A(""),ae=A(!1),J=A(null),oe=A(null),ie=A(null);const B=z(()=>p()||a(ne));Ze(()=>{l()&&(m(ae,!1),m(G,""))});function ue(){a(B)||a(ae)||(m(ae,!0),l(!1),se()?.())}async function Te(){if(!(a(B)||u()||!S())){m(ne,!0),m(G,"");try{await re()()}catch{m(G,O.ui_dialog_submitFailed_error(),!0)}finally{m(ne,!1)}}}function He(e){const F=j()??(Y()?a(oe):q()?a(ie):X()?a(J):null);F&&(F.focus(),F.ownerDocument.activeElement===F&&e.preventDefault())}var Ne={get open(){return l()},set open(e=!1){l(e),s()},get static(){return d()},set static(e=!1){d(e),s()},get title(){return b()},set title(e){b(e),s()},get description(){return f()},set description(e){f(e),s()},get titleId(){return g()},set titleId(e){g(e),s()},get descriptionId(){return h()},set descriptionId(e){h(e),s()},get children(){return L()},set children(e){L(e),s()},get footer(){return i()},set footer(e){i(e),s()},get submitLabel(){return y()},set submitLabel(e=O.modals_bulkActionConfirm_confirm_label()){y(e),s()},get cancelLabel(){return v()},set cancelLabel(e=O.modals_bulkActionConfirm_cancel_label()){v(e),s()},get submitVariant(){return E()},set submitVariant(e="primary"){E(e),s()},get canSubmit(){return S()},set canSubmit(e=!0){S(e),s()},get busy(){return p()},set busy(e=!1){p(e),s()},get submitBusy(){return u()},set submitBusy(e=!1){u(e),s()},get role(){return C()},set role(e="dialog"){C(e),s()},get dismissOnInteractOutside(){return o()},set dismissOnInteractOutside(e=!0){o(e),s()},get showCancel(){return n()},set showCancel(e=!0){n(e),s()},get showCloseButton(){return _()},set showCloseButton(e=!0){_(e),s()},get closeLabel(){return x()},set closeLabel(e=O.ui_dialog_close_ariaLabel()){x(e),s()},get class(){return D()},set class(e){D(e),s()},get size(){return k()},set size(e="default"){k(e),s()},get initialFocus(){return j()},set initialFocus(e){j(e),s()},get focusContent(){return X()},set focusContent(e=!1){X(e),s()},get focusSubmit(){return q()},set focusSubmit(e=!1){q(e),s()},get focusCancel(){return Y()},set focusCancel(e=!1){Y(e),s()},get escapeKeydownBehavior(){return W()},set escapeKeydownBehavior(e="close"){W(e),s()},get enterKey(){return Z()},set enterKey(e="submit"){Z(e),s()},get modEnter(){return $()},set modEnter(e="submit"){$(e),s()},get onfocusin(){return ee()},set onfocusin(e){ee(e),s()},get onCloseAutoFocus(){return te()},set onCloseAutoFocus(e){te(e),s()},get onSubmit(){return re()},set onSubmit(e){re(e),s()},get onCancel(){return se()},set onCancel(e){se(e),s()},$set:we,$on:(e,F)=>Se(t,e,F)},Ee=V(),Re=T(Ee);return Ae(Re,()=>tt,(e,F)=>{F(e,{get open(){return l()},get staticPosition(){return d()},onOpenChange:le=>!le&&ue(),children:(le,bt)=>{var Fe=V(),Me=T(Fe);{let je=z(()=>Ke("flex min-h-0 flex-col overflow-hidden p-0",D()));Ae(Me,()=>rt,(qe,We)=>{We(qe,{get role(){return C()},get size(){return k()},get class(){return a(je)},get closeDisabled(){return a(B)},get showCloseButton(){return _()},get closeLabel(){return x()},get escapeKeydownBehavior(){return W()},onOpenAutoFocus:He,get onCloseAutoFocus(){return te()},get onfocusin(){return ee()},onkeydown:c=>{c.key==="Escape"&&it(a(J),c)||c.key==="Escape"&&W()==="close"&&(c.preventDefault(),c.stopPropagation(),ue())},onInteractOutside:c=>(a(B)||!o())&&c.preventDefault(),onEscapeKeydown:c=>a(B)&&c.preventDefault(),get ref(){return a(J)},set ref(c){m(J,c,!0)},children:(c,gt)=>{ze(c,{onSubmit:Te,get busy(){return a(B)},get enterKey(){return Z()},get modEnter(){return $()},class:"flex min-h-0 min-w-0 flex-1 flex-col",children:(Ge,yt)=>{st(Ge,{get title(){return b()},get description(){return f()},get titleId(){return g()},get descriptionId(){return h()},get children(){return L()},get error(){return a(G)},footer:Je=>{var Le=V(),Qe=T(Le);{var Ue=P=>{var ce=V(),pe=T(ce);R(pe,i),w(P,ce)},Xe=P=>{Ve(P,{secondary:fe=>{var Q=V(),me=T(Q);{var de=I=>{De(I,{variant:"ghost-light",get disabled(){return a(B)},onclick:ue,get ref(){return a(oe)},set ref(U){m(oe,U,!0)},children:(U,be)=>{ye();var Ie=ve();M(()=>_e(Ie,v())),w(U,Ie)},$$slots:{default:!0}})};he(me,I=>{n()&&I(de)})}w(fe,Q)},primary:fe=>{{let Q=z(()=>q()?"focus-visible:outline focus-visible:-outline-offset-1":void 0),me=z(()=>a(B)||u()),de=z(()=>!S()||a(B)||u());De(fe,{type:"submit",get variant(){return E()},get class(){return a(Q)},get loading(){return a(me)},get disabled(){return a(de)},get ref(){return a(ie)},set ref(I){m(ie,I,!0)},children:(I,U)=>{ye();var be=ve();M(()=>_e(be,y())),w(I,be)},$$slots:{default:!0}})}},$$slots:{secondary:!0,primary:!0}})};he(Qe,P=>{i()?P(Ue):P(Xe,-1)})}w(Je,Le)},$$slots:{footer:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}})})}w(le,Fe)},$$slots:{default:!0}})}),w(K,Ee),Be(Ne)}export{ze as F,Ve as a,dt as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aG as r}from"./3SdAC2_C.js";import{bq as e}from"./
|
|
1
|
+
import{aG as r}from"./3SdAC2_C.js";import{bq as e}from"./tr-2J8Mf.js";const n=Symbol("workspace-route-context");function s(t){return t&&t!=="new"?e(t):null}function u(t,o){return t?.startsWith("/workspace/")?s(o):null}function p(){try{return r(n)}catch{return}}export{n as W,s as a,p as g,u as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as l,bo as i,bw as m,b as u}from"./
|
|
1
|
+
import{t as l,bo as i,bw as m,b as u}from"./C0QTy0Sy.js";import{bs as f,bI as _,c5 as b,a7 as g,ay as h,W as v,bn as z,aA as o}from"./3SdAC2_C.js";import{t as y}from"./CrD0jtXE.js";import{a5 as C}from"./FzlZUztb.js";function S(s,t){if(new.target)return l({component:S,...s});f(t,!0);let a=i(t,"size",7,"default"),r=i(t,"children",7);_(C,b(()=>a()));var p={get size(){return a()},set size(e="default"){a(e),o()},get children(){return r()},set children(e){r(e),o()},$set:m,$on:(e,d)=>u(t,e,d)},n=g(),c=h(n);return y(c,r),v(s,n),z(p)}export{S};
|