@intent-hq/web 2.390.1 → 2.391.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{caKZ9Z4U.js → -CpNnXIW.js} +1 -1
- package/web/app/immutable/chunks/{DRDYIFn4.js → 0R5VEpaM.js} +4 -4
- package/web/app/immutable/chunks/{Cp5royN1.js → 1-MeqddK.js} +1 -1
- package/web/app/immutable/chunks/{BYpep93f.js → 23FyIn6O.js} +1 -1
- package/web/app/immutable/chunks/{xfg66reS.js → 5az3n8fR.js} +1 -1
- package/web/app/immutable/chunks/{DCLLUF6K.js → 6JlgfFWd.js} +1 -1
- package/web/app/immutable/chunks/{BOmWUtDJ.js → 7-WRRruG.js} +1 -1
- package/web/app/immutable/chunks/{Cfr2GX8P.js → 9GL-RXJZ.js} +1 -1
- package/web/app/immutable/chunks/{DxyD9o0t.js → 9eqoPT_C.js} +1 -1
- package/web/app/immutable/chunks/{DvNAieWn.js → 9qqz3Jr0.js} +1 -1
- package/web/app/immutable/chunks/{D672CX3Y.js → Ao0jjYj2.js} +1 -1
- package/web/app/immutable/chunks/{_UjuBCOJ.js → B1lpukIv.js} +1 -1
- package/web/app/immutable/chunks/{CcJmuwXr.js → B26ZHg3s.js} +1 -1
- package/web/app/immutable/chunks/{CrpG0ldr.js → B28HQLvX.js} +1 -1
- package/web/app/immutable/chunks/{BIFBPuAO.js → B2Ny2uiy.js} +1 -1
- package/web/app/immutable/chunks/{DC_9qNLq.js → B2Q_FC4n.js} +3 -3
- package/web/app/immutable/chunks/{DfheqyY9.js → B2awO10u.js} +1 -1
- package/web/app/immutable/chunks/{C4jSaPCg.js → B3T1oiJl.js} +1 -1
- package/web/app/immutable/chunks/{BtmHyUSg.js → B4Yz29Q3.js} +1 -1
- package/web/app/immutable/chunks/{BxmKCIlL.js → B5-Plsom.js} +1 -1
- package/web/app/immutable/chunks/{CZfxrP3m.js → B6m0Dypi.js} +1 -1
- package/web/app/immutable/chunks/{BEP4JwDJ.js → B7hGbqIM.js} +1 -1
- package/web/app/immutable/chunks/{DxKtLuP2.js → B7hWIBzm.js} +1 -1
- package/web/app/immutable/chunks/{9YT9B_ti.js → B7pblHOt.js} +1 -1
- package/web/app/immutable/chunks/B9Nn4kQr.js +3 -0
- package/web/app/immutable/chunks/{CXP7dPfG.js → BAMJ8Hnj.js} +1 -1
- package/web/app/immutable/chunks/{DrA_ZV1y.js → BB2vaoZ2.js} +3 -3
- package/web/app/immutable/chunks/{BhiYNovM.js → BBcnUEuQ.js} +1 -1
- package/web/app/immutable/chunks/{CkmDctRH.js → BCLYeYwk.js} +1 -1
- package/web/app/immutable/chunks/{CLJCnlVH.js → BDeGl6ee.js} +1 -1
- package/web/app/immutable/chunks/{BPcIfv-A.js → BFHmbbvG.js} +2 -2
- package/web/app/immutable/chunks/{BbYWP3Ow.js → BFfRQORP.js} +1 -1
- package/web/app/immutable/chunks/{BrMDTgLg.js → BGeImWEk.js} +1 -1
- package/web/app/immutable/chunks/{BksTLNI4.js → BHgSQJqT.js} +1 -1
- package/web/app/immutable/chunks/{BJEoqPJ5.js → BJCm9MUD.js} +1 -1
- package/web/app/immutable/chunks/{BBPVt-9A.js → BKKCpqXK.js} +2 -2
- package/web/app/immutable/chunks/{CHW1UVsO.js → BLfqsc2a.js} +1 -1
- package/web/app/immutable/chunks/{Dc4V5sMu.js → BLtLj2yz.js} +1 -1
- package/web/app/immutable/chunks/{958SNXkw.js → BM2ubpAw.js} +1 -1
- package/web/app/immutable/chunks/{D36C5UHH.js → BM39k1x6.js} +1 -1
- package/web/app/immutable/chunks/{CjPEI4fg.js → BMTanQ2Z.js} +1 -1
- package/web/app/immutable/chunks/{BtNlG0Qg.js → BNYZa6GV.js} +1 -1
- package/web/app/immutable/chunks/{Cn4A9AjR.js → BOPrepKH.js} +1 -1
- package/web/app/immutable/chunks/{BB9aoG-e.js → BOVldAsb.js} +1 -1
- package/web/app/immutable/chunks/{BNs9wOFa.js → BQCtWEZ2.js} +1 -1
- package/web/app/immutable/chunks/{Dp8b1GoU.js → BRScUzfU.js} +1 -1
- package/web/app/immutable/chunks/{CgrVbtN0.js → BS9WBIBb.js} +1 -1
- package/web/app/immutable/chunks/{DuaPhBil.js → BSKVcPN7.js} +1 -1
- package/web/app/immutable/chunks/{s6kPQOkv.js → BSZu3BUb.js} +1 -1
- package/web/app/immutable/chunks/{D7b2VLAz.js → BT5iyspK.js} +1 -1
- package/web/app/immutable/chunks/{CJsEZbta.js → BT8mEFV6.js} +1 -1
- package/web/app/immutable/chunks/{DBAONTYG.js → BTXzEcFX.js} +2 -2
- package/web/app/immutable/chunks/{DZzwt3PA.js → BTvJ4T_4.js} +1 -1
- package/web/app/immutable/chunks/{aZdb_rCN.js → BU3y3Xes.js} +1 -1
- package/web/app/immutable/chunks/{BYpFXq6h.js → BU9me3Pg.js} +1 -1
- package/web/app/immutable/chunks/{DCs992HX.js → BUSErGiB.js} +1 -1
- package/web/app/immutable/chunks/{B557jpav.js → BVUW22uN.js} +1 -1
- package/web/app/immutable/chunks/{CXz-0Ag_.js → BVwQph9_.js} +1 -1
- package/web/app/immutable/chunks/{p1zR6qAw.js → BWQPB65O.js} +1 -1
- package/web/app/immutable/chunks/{DzDSM2LC.js → BXwdb0J5.js} +3 -3
- package/web/app/immutable/chunks/{BwH4Bvte.js → BZ27qIg1.js} +1 -1
- package/web/app/immutable/chunks/{C4iFTj8I.js → BZCcX8wj.js} +2 -2
- package/web/app/immutable/chunks/{CDwhmkPo.js → B_JGVEqN.js} +1 -1
- package/web/app/immutable/chunks/BaXq2aUL.js +411 -0
- package/web/app/immutable/chunks/{BNCKMxAC.js → Bb-kpHQF.js} +1 -1
- package/web/app/immutable/chunks/{BObTlShq.js → BcdTbj6d.js} +1 -1
- package/web/app/immutable/chunks/{k55njABd.js → BczcQRsN.js} +1 -1
- package/web/app/immutable/chunks/{B5N8LmEF.js → BdhKX9ZN.js} +1 -1
- package/web/app/immutable/chunks/Bheykcr9.js +1 -0
- package/web/app/immutable/chunks/{uvhZkGDU.js → Bhq56Jsu.js} +1 -1
- package/web/app/immutable/chunks/{Bviyt-Xy.js → Bhyo7hBL.js} +1 -1
- package/web/app/immutable/chunks/{DdNhEgdc.js → BjGqF2I6.js} +1 -1
- package/web/app/immutable/chunks/{BPQFiQQc.js → BkcCJyDK.js} +1 -1
- package/web/app/immutable/chunks/{Bq2Q6gce.js → BlzuDW6O.js} +1 -1
- package/web/app/immutable/chunks/{BqMJVUEP.js → BmaG8vdR.js} +1 -1
- package/web/app/immutable/chunks/{UTM5G-w-.js → BpezAJRw.js} +1 -1
- package/web/app/immutable/chunks/{Dcy1uNRG.js → Bpi8OSTE.js} +1 -1
- package/web/app/immutable/chunks/{goTVlBLf.js → BrL12o40.js} +1 -1
- package/web/app/immutable/chunks/{D8xPzBy1.js → BuyrOC4V.js} +1 -1
- package/web/app/immutable/chunks/{CfNIzRu8.js → Bx1P9uW7.js} +1 -1
- package/web/app/immutable/chunks/{BhCMc9G0.js → By2YlE-l.js} +1 -1
- package/web/app/immutable/chunks/{BB3L0Ahp.js → ByP-EusE.js} +1 -1
- package/web/app/immutable/chunks/{CSjV3uYy.js → Byobtdo1.js} +1 -1
- package/web/app/immutable/chunks/{CEE0831H.js → Bz80vYvX.js} +1 -1
- package/web/app/immutable/chunks/{pfX_M-aK.js → C-nTKxY9.js} +1 -1
- package/web/app/immutable/chunks/{CwxM4cLW.js → C00PRSTi.js} +1 -1
- package/web/app/immutable/chunks/{CiCk9_hF.js → C1MYTxgW.js} +1 -1
- package/web/app/immutable/chunks/{CVWwz1Ss.js → C22cBcHz.js} +1 -1
- package/web/app/immutable/chunks/{CpIiMADc.js → C2tSFTTb.js} +1 -1
- package/web/app/immutable/chunks/{D9CNxngf.js → C3JJkOFb.js} +1 -1
- package/web/app/immutable/chunks/{96V4v2iI.js → C3jMXj_V.js} +1 -1
- package/web/app/immutable/chunks/{DRND1Lha.js → C4l6men1.js} +1 -1
- package/web/app/immutable/chunks/{9mJbO8Tf.js → C5fxud9g.js} +1 -1
- package/web/app/immutable/chunks/{llldKyz-.js → C5tJUrGJ.js} +1 -1
- package/web/app/immutable/chunks/C8E14ldW.js +1 -0
- package/web/app/immutable/chunks/{mfOfLDEg.js → C9N7yhqm.js} +1 -1
- package/web/app/immutable/chunks/{CEpPVlB6.js → C9wxB2bb.js} +2 -2
- package/web/app/immutable/chunks/{CgwVRyOb.js → CA-b7pAY.js} +2 -2
- package/web/app/immutable/chunks/{BId1zNus.js → CAGrRNbp.js} +1 -1
- package/web/app/immutable/chunks/{BOVEEbKv.js → CAUJiTuz.js} +1 -1
- package/web/app/immutable/chunks/{CyBTM61A.js → CAUle5iU.js} +1 -1
- package/web/app/immutable/chunks/{BEQVnLdV.js → CCzPC_cB.js} +1 -1
- package/web/app/immutable/chunks/{BR1TNOav.js → CDUYzZ2W.js} +1 -1
- package/web/app/immutable/chunks/CDVPwJHE.js +1 -0
- package/web/app/immutable/chunks/{CiRuCsUo.js → CDh2mZdS.js} +1 -1
- package/web/app/immutable/chunks/{DpCic98X.js → CEA7jD1C.js} +1 -1
- package/web/app/immutable/chunks/{Dp7Hm0g0.js → CEyWnfg4.js} +1 -1
- package/web/app/immutable/chunks/{BwNrQXlF.js → CGmYraIa.js} +1 -1
- package/web/app/immutable/chunks/{yofTuS8P.js → CH6Im5iM.js} +1 -1
- package/web/app/immutable/chunks/{BBFoj-dS.js → CHIxjTWu.js} +1 -1
- package/web/app/immutable/chunks/{BQh5T3Ji.js → CHUYHKuh.js} +1 -1
- package/web/app/immutable/chunks/{DuiDS_zT.js → CIxnaBAb.js} +2 -2
- package/web/app/immutable/chunks/{UuRFnpzE.js → CK543FRe.js} +1 -1
- package/web/app/immutable/chunks/{D2YgP7DB.js → CKTB5KRw.js} +1 -1
- package/web/app/immutable/chunks/{M9xgh-VN.js → CLMwPQBQ.js} +1 -1
- package/web/app/immutable/chunks/{TyAuxp07.js → CLvqghA8.js} +1 -1
- package/web/app/immutable/chunks/{D9y3xvsP.js → COo5pTrI.js} +1 -1
- package/web/app/immutable/chunks/{DPttSllj.js → COofQgO0.js} +1 -1
- package/web/app/immutable/chunks/{Bub6uL1r.js → CPnqf2bo.js} +1 -1
- package/web/app/immutable/chunks/{Bcb_9iMJ.js → CR5XXYcE.js} +1 -1
- package/web/app/immutable/chunks/{Lai6pqjy.js → CREbzS7Z.js} +1 -1
- package/web/app/immutable/chunks/{DtXgUHCj.js → CRXlvdEs.js} +1 -1
- package/web/app/immutable/chunks/{TB9r2XJy.js → CT8vPg_p.js} +2 -2
- package/web/app/immutable/chunks/{hkJYqn41.js → CTgYTdXw.js} +1 -1
- package/web/app/immutable/chunks/{o0-ObNWE.js → CU15H7o_.js} +1 -1
- package/web/app/immutable/chunks/{C3dytrTL.js → CUZpLDKB.js} +1 -1
- package/web/app/immutable/chunks/{2q3SGbtI.js → CUgl7USU.js} +1 -1
- package/web/app/immutable/chunks/{DMrzeQEi.js → CV17KbhT.js} +1 -1
- package/web/app/immutable/chunks/{BbhtQrkZ.js → CVtLV3_x.js} +1 -1
- package/web/app/immutable/chunks/{etz9IKpr.js → CWXVdpgZ.js} +1 -1
- package/web/app/immutable/chunks/{BZYS48ON.js → CaX8Mme7.js} +1 -1
- package/web/app/immutable/chunks/{BNJ3edFz.js → CbB6SI0i.js} +1 -1
- package/web/app/immutable/chunks/{B1bJpz3G.js → Cd-qmx8U.js} +1 -1
- package/web/app/immutable/chunks/{zGyI6qOq.js → CdTSfppl.js} +1 -1
- package/web/app/immutable/chunks/{B6U9KgKY.js → CedswVQA.js} +1 -1
- package/web/app/immutable/chunks/{B6dUCFoz.js → CeoBhFo7.js} +1 -1
- package/web/app/immutable/chunks/{BJ_X8eP6.js → CfDqTHT1.js} +1 -1
- package/web/app/immutable/chunks/{CwEjDuJ3.js → Cgz4dZpP.js} +1 -1
- package/web/app/immutable/chunks/{BGniv2IE.js → ChYLETZB.js} +1 -1
- package/web/app/immutable/chunks/{vj8NdGWd.js → Chbrtg19.js} +1 -1
- package/web/app/immutable/chunks/{D54MIPdF.js → Ci6PI5sn.js} +1 -1
- package/web/app/immutable/chunks/{TBtn8giw.js → CiHhUIjb.js} +1 -1
- package/web/app/immutable/chunks/{B9vHutcJ.js → CiKoEJ2m.js} +1 -1
- package/web/app/immutable/chunks/{D8rVwrWL.js → CiRkFhK8.js} +1 -1
- package/web/app/immutable/chunks/{D4ytz2EC.js → CjpWOZGa.js} +1 -1
- package/web/app/immutable/chunks/{CfQcMKZg.js → CktgkomQ.js} +1 -1
- package/web/app/immutable/chunks/{D99jSct3.js → ClaP_sir.js} +1 -1
- package/web/app/immutable/chunks/{KZwZoyIt.js → Cn-Afla1.js} +1 -1
- package/web/app/immutable/chunks/{C3L0F6Xc.js → Cn4-Fvkn.js} +1 -1
- package/web/app/immutable/chunks/{z3SZgGAK.js → CnDgS0vt.js} +1 -1
- package/web/app/immutable/chunks/{B1CKzIA2.js → CnFZbWXv.js} +1 -1
- package/web/app/immutable/chunks/{GgbLp4i9.js → Cnkux63v.js} +1 -1
- package/web/app/immutable/chunks/{DrgHk1UN.js → CoSEZL3s.js} +1 -1
- package/web/app/immutable/chunks/{BB6LoQke.js → Cp-4w4r1.js} +1 -1
- package/web/app/immutable/chunks/{hk_M7mFx.js → CpwS8V1F.js} +1 -1
- package/web/app/immutable/chunks/{FXkLEPTk.js → Cq8_4net.js} +1 -1
- package/web/app/immutable/chunks/{C9_ZEBkB.js → Cr5mKkdD.js} +1 -1
- package/web/app/immutable/chunks/{VTkMkEPR.js → Cr9C4VDu.js} +1 -1
- package/web/app/immutable/chunks/{D7QZQ0zf.js → Crey45Oa.js} +1 -1
- package/web/app/immutable/chunks/{DJ9ILql1.js → Csqi0oV3.js} +1 -1
- package/web/app/immutable/chunks/CtfEuoOH.js +1 -0
- package/web/app/immutable/chunks/{ClxyT-Se.js → CwCvyVGi.js} +1 -1
- package/web/app/immutable/chunks/{iOLvSy8g.js → CwOdvmTo.js} +3 -3
- package/web/app/immutable/chunks/{BIU3Z0JX.js → CwqJ7uz4.js} +1 -1
- package/web/app/immutable/chunks/{Ctp-YfoS.js → CwqyVbqi.js} +3 -3
- package/web/app/immutable/chunks/{B_vpadVO.js → Cxc8q3rR.js} +1 -1
- package/web/app/immutable/chunks/{vpQRVk8F.js → Cxmepjfl.js} +1 -1
- package/web/app/immutable/chunks/{CzJm3Kxa.js → CyinuwPx.js} +1 -1
- package/web/app/immutable/chunks/{C4fj9uDh.js → CyvzL5p8.js} +3 -3
- package/web/app/immutable/chunks/{X0RLj3lE.js → CzxEKNiF.js} +1 -1
- package/web/app/immutable/chunks/{GnUYJfg_.js → D3JNbQ4D.js} +1 -1
- package/web/app/immutable/chunks/{TsuJPtsq.js → D3pRyooW.js} +1 -1
- package/web/app/immutable/chunks/{Dfp6ssYD.js → D3tqOSzT.js} +1 -1
- package/web/app/immutable/chunks/{Ch_2itxw.js → D49mWFig.js} +1 -1
- package/web/app/immutable/chunks/{CMdo0m6e.js → D59tCG3q.js} +2 -2
- package/web/app/immutable/chunks/{D8EcsS7V.js → D5Jk5CWk.js} +2 -2
- package/web/app/immutable/chunks/{BNu1GhJn.js → D5al-p9o.js} +1 -1
- package/web/app/immutable/chunks/{BzWT_wQw.js → D5tDAzIo.js} +1 -1
- package/web/app/immutable/chunks/{Jg5r77fy.js → D7QFmXLb.js} +1 -1
- package/web/app/immutable/chunks/{nxtepGjE.js → D9R5fzn8.js} +1 -1
- package/web/app/immutable/chunks/{pTmKTjdu.js → D9T_0Eev.js} +3 -3
- package/web/app/immutable/chunks/{DhSY0ZEq.js → DBYe3Dcp.js} +2 -2
- package/web/app/immutable/chunks/{Cio-rWcY.js → DDvFH8QS.js} +1 -1
- package/web/app/immutable/chunks/{BRaBCoIn.js → DE8II0cx.js} +1 -1
- package/web/app/immutable/chunks/{BVXKWrt4.js → DEr2A_-h.js} +2 -2
- package/web/app/immutable/chunks/{BT9lzXEu.js → DF15jnSX.js} +1 -1
- package/web/app/immutable/chunks/{CXEn_RGs.js → DF54qNJU.js} +1 -1
- package/web/app/immutable/chunks/{CIbfGsF-.js → DFKhOU69.js} +1 -1
- package/web/app/immutable/chunks/{BpMXdC4H.js → DG3-me8H.js} +1 -1
- package/web/app/immutable/chunks/{nIshZjK_.js → DGU9U1O6.js} +1 -1
- package/web/app/immutable/chunks/{Ll0WtNFW.js → DHkcvVzr.js} +1 -1
- package/web/app/immutable/chunks/{da_tvSiq.js → DHvVAxAW.js} +1 -1
- package/web/app/immutable/chunks/{tCg_s90g.js → DIIj7EWA.js} +1 -1
- package/web/app/immutable/chunks/{BI0SpAnv.js → DISm8kek.js} +1 -1
- package/web/app/immutable/chunks/{DZOkhMcO.js → DJSvqrCI.js} +1 -1
- package/web/app/immutable/chunks/{D0qNo7Oy.js → DJcR4XQR.js} +1 -1
- package/web/app/immutable/chunks/{BYHw69-J.js → DJqiMUht.js} +1 -1
- package/web/app/immutable/chunks/{i5FUlYpy.js → DLqZuVvj.js} +1 -1
- package/web/app/immutable/chunks/{KqqODIKw.js → DLt9OoMP.js} +1 -1
- package/web/app/immutable/chunks/{Cu5e4npY.js → DMEIbJII.js} +1 -1
- package/web/app/immutable/chunks/{BgXuXJpo.js → DMudvlKI.js} +4 -4
- package/web/app/immutable/chunks/{D1BvOU2l.js → DOhHP999.js} +1 -1
- package/web/app/immutable/chunks/{BniyCzQ9.js → DPk2fLxi.js} +1 -1
- package/web/app/immutable/chunks/{Dj-KLToz.js → DQNtbVVY.js} +3 -3
- package/web/app/immutable/chunks/{BnV9CBUH.js → DQpGArF7.js} +1 -1
- package/web/app/immutable/chunks/{OyqO3fO-.js → DR_b4dt8.js} +1 -1
- package/web/app/immutable/chunks/{R-UFG3MB.js → DRuLniWc.js} +1 -1
- package/web/app/immutable/chunks/{z5FcOXD5.js → DSZbBNDD.js} +1 -1
- package/web/app/immutable/chunks/{DFFA_QTd.js → DSs6r6NG.js} +1 -1
- package/web/app/immutable/chunks/{DtzJzV-4.js → DUTvR2si.js} +1 -1
- package/web/app/immutable/chunks/{D2YDfFKv.js → DW8fwVBf.js} +1 -1
- package/web/app/immutable/chunks/{CpTvA0xC.js → DWBUvNGh.js} +1 -1
- package/web/app/immutable/chunks/{MakwazGY.js → DWRtOXBU.js} +1 -1
- package/web/app/immutable/chunks/{u4iPyMwH.js → DXCHCOFX.js} +1 -1
- package/web/app/immutable/chunks/{Bq7odTLd.js → DXXFBdjF.js} +1 -1
- package/web/app/immutable/chunks/{Cn9MHQyc.js → D__sU8Ug.js} +1 -1
- package/web/app/immutable/chunks/{CvLVVi8w.js → DcPZfWKB.js} +1 -1
- package/web/app/immutable/chunks/{WoMkq5ac.js → DcU8bi_n.js} +2 -2
- package/web/app/immutable/chunks/{DaWmj23r.js → DcraaizU.js} +1 -1
- package/web/app/immutable/chunks/{C6RhewOE.js → Dd_KPYBw.js} +1 -1
- package/web/app/immutable/chunks/{BAAIhuts.js → DeFlL2nh.js} +1 -1
- package/web/app/immutable/chunks/{CWsj4Hb7.js → Dgo57zmq.js} +1 -1
- package/web/app/immutable/chunks/{C8tk9ZQ3.js → Dh-DCh2Y.js} +1 -1
- package/web/app/immutable/chunks/{CvorDgLi.js → Dh1j4V0b.js} +1 -1
- package/web/app/immutable/chunks/{29xygHrF.js → DhTLwmro.js} +1 -1
- package/web/app/immutable/chunks/{CkkpCaXs.js → Di3gErxh.js} +1 -1
- package/web/app/immutable/chunks/{WdSh5fl1.js → DidHgSQp.js} +2 -2
- package/web/app/immutable/chunks/{DogIXhAJ.js → Dk7Kxi97.js} +1 -1
- package/web/app/immutable/chunks/{BESb5QC3.js → Dl1AOLZu.js} +1 -1
- package/web/app/immutable/chunks/{CZr8f1ch.js → DlljGo_I.js} +1 -1
- package/web/app/immutable/chunks/{BOwgyiCF.js → DmQ5G_6J.js} +1 -1
- package/web/app/immutable/chunks/{7pl09QeT.js → DnzDw_9l.js} +1 -1
- package/web/app/immutable/chunks/{ByyFoG6W.js → DoB-G8kB.js} +1 -1
- package/web/app/immutable/chunks/{Dqi2LMpO.js → DoJ49Zrl.js} +1 -1
- package/web/app/immutable/chunks/{CFs3R4lt.js → DqtLBCnq.js} +1 -1
- package/web/app/immutable/chunks/{DpIgdPs7.js → Dr6-g-BO.js} +1 -1
- package/web/app/immutable/chunks/{Crz8kvLc.js → Drn9m8Tp.js} +1 -1
- package/web/app/immutable/chunks/{BWmW9W02.js → Dt_7lHy8.js} +1 -1
- package/web/app/immutable/chunks/{kjO__HeE.js → DuZtgB5V.js} +1 -1
- package/web/app/immutable/chunks/{xvadpoNC.js → DupTZXsI.js} +1 -1
- package/web/app/immutable/chunks/{Tt-VDGAY.js → DvUsJK3H.js} +1 -1
- package/web/app/immutable/chunks/{CbTbQhqy.js → DxmPtFKv.js} +1 -1
- package/web/app/immutable/chunks/{BFgvMDua.js → DynUeYUu.js} +1 -1
- package/web/app/immutable/chunks/{BjE6fvlI.js → DyreqWqr.js} +1 -1
- package/web/app/immutable/chunks/{vIaOEmEw.js → Em5CdgqH.js} +4 -4
- package/web/app/immutable/chunks/{DQ75EkSY.js → FM3MDwzB.js} +1 -1
- package/web/app/immutable/chunks/{B8lliwzm.js → GwtGeFMJ.js} +1 -1
- package/web/app/immutable/chunks/{DWH71rGR.js → HiIoMspb.js} +1 -1
- package/web/app/immutable/chunks/{Drl447ub.js → IxxdIKNN.js} +1 -1
- package/web/app/immutable/chunks/{DX2vfFPI.js → JiW1DfLK.js} +1 -1
- package/web/app/immutable/chunks/{DQw0Iiac.js → JvFe2B29.js} +1 -1
- package/web/app/immutable/chunks/{DmrchYzR.js → K0WiFC8Y.js} +1 -1
- package/web/app/immutable/chunks/{C3EKiijc.js → KWtYfwVq.js} +1 -1
- package/web/app/immutable/chunks/{CYxt6gzD.js → KaOLys0u.js} +1 -1
- package/web/app/immutable/chunks/{1rpeT4f8.js → OsJD3pkm.js} +1 -1
- package/web/app/immutable/chunks/{CfYmMj5F.js → P7zPRuFC.js} +1 -1
- package/web/app/immutable/chunks/{CqKjG3GQ.js → Q1bO23Hj.js} +1 -1
- package/web/app/immutable/chunks/{BRc67QBD.js → QeZhJHLb.js} +1 -1
- package/web/app/immutable/chunks/{BGrimfDs.js → QzxpbvSo.js} +1 -1
- package/web/app/immutable/chunks/{qhd9g-fv.js → RV6uszBL.js} +1 -1
- package/web/app/immutable/chunks/{LXflBOtX.js → S3jMTv3a.js} +1 -1
- package/web/app/immutable/chunks/{Bh9phZlQ.js → SdVpHK7d.js} +1 -1
- package/web/app/immutable/chunks/{l0vFyEGM.js → T9rMC0YB.js} +1 -1
- package/web/app/immutable/chunks/{D4d1iyeR.js → TPru2I57.js} +1 -1
- package/web/app/immutable/chunks/{Rzyk45bZ.js → WYNXUtt9.js} +1 -1
- package/web/app/immutable/chunks/{Chj-azz7.js → Xgzr3BTD.js} +1 -1
- package/web/app/immutable/chunks/{1B7vLvp_.js → YQwkPi_0.js} +1 -1
- package/web/app/immutable/chunks/{Cm0Qloca.js → ZX798KkU.js} +1 -1
- package/web/app/immutable/chunks/{Dd-LQrG1.js → aWBSU8IQ.js} +1 -1
- package/web/app/immutable/chunks/{CgGsxeG7.js → axwUS21u.js} +1 -1
- package/web/app/immutable/chunks/{F__rjLBg.js → bJK6npyT.js} +1 -1
- package/web/app/immutable/chunks/{iXPhOXJa.js → fCtMtGYt.js} +1 -1
- package/web/app/immutable/chunks/{C-HR_nje.js → g5QqP-QE.js} +1 -1
- package/web/app/immutable/chunks/{BTaBiqZj.js → gQ8VFuWN.js} +2 -2
- package/web/app/immutable/chunks/{C2UL5Ler.js → iQDlfKDR.js} +1 -1
- package/web/app/immutable/chunks/jlu1ZSD8.js +1 -0
- package/web/app/immutable/chunks/{CnN8HXjd.js → jyQWudgn.js} +1 -1
- package/web/app/immutable/chunks/{BWfc0sSK.js → k48f0Jn8.js} +1 -1
- package/web/app/immutable/chunks/{BiYZcl7D.js → kkKMJ9w9.js} +1 -1
- package/web/app/immutable/chunks/{BHy9cRzo.js → l7sDKa65.js} +1 -1
- package/web/app/immutable/chunks/{D7AN7xLp.js → mFWmuyR-.js} +1 -1
- package/web/app/immutable/chunks/{CdGOAvU7.js → n0_jgWL7.js} +1 -1
- package/web/app/immutable/chunks/{IXIWcEcs.js → pXrAh3i2.js} +1 -1
- package/web/app/immutable/chunks/{DWF5uerC.js → qWgJ-CUF.js} +2 -2
- package/web/app/immutable/chunks/{BsY6roFy.js → rwibDzZr.js} +1 -1
- package/web/app/immutable/chunks/{BtmBRuf6.js → sFief-xo.js} +1 -1
- package/web/app/immutable/chunks/{D6txwX4Y.js → uyQciu7h.js} +4 -4
- package/web/app/immutable/chunks/{Bw9XtMey.js → z0xDttNV.js} +3 -3
- package/web/app/immutable/chunks/{CZ9ViN3z.js → z4O7yNZ6.js} +1 -1
- package/web/app/immutable/chunks/zXLHCuiE.js +1 -0
- package/web/app/immutable/entry/{app.qraxYAYk.js → app.B0HiWR5T.js} +3 -3
- package/web/app/immutable/entry/start.BFcXwo9Y.js +1 -0
- package/web/app/immutable/nodes/{0.DJcM2RkQ.js → 0.5oa9JC3V.js} +1 -1
- package/web/app/immutable/nodes/{1.Jq1-N2Pd.js → 1.dLY473QL.js} +1 -1
- package/web/app/immutable/nodes/{10.C_zzc0gt.js → 10.Dg3iEVmH.js} +6 -6
- package/web/app/immutable/nodes/{11.6gj6bfPq.js → 11.PFTrUEsb.js} +1 -1
- package/web/app/immutable/nodes/{12.Dwdqbt9T.js → 12.DUMat2GN.js} +1 -1
- package/web/app/immutable/nodes/{13.jK1i4wo4.js → 13.BEiznOPk.js} +1 -1
- package/web/app/immutable/nodes/{14.DdHtnE9x.js → 14.DFolVj6c.js} +3 -3
- package/web/app/immutable/nodes/{15.DzaMQCp_.js → 15.CGEsAjgd.js} +1 -1
- package/web/app/immutable/nodes/{16.DFPLVaTv.js → 16.cptOJ-f9.js} +1 -1
- package/web/app/immutable/nodes/{17.Dylz7DBe.js → 17.BVn1LtfR.js} +1 -1
- package/web/app/immutable/nodes/{18.CxblUMg0.js → 18.BLC8YWHJ.js} +1 -1
- package/web/app/immutable/nodes/{19.cFDk8lfW.js → 19.CqJycQsd.js} +2 -2
- package/web/app/immutable/nodes/{2.ByMlaGl6.js → 2.BaR1WF3o.js} +4 -4
- package/web/app/immutable/nodes/{20.CXw8Twm7.js → 20.g9As4rvG.js} +1 -1
- package/web/app/immutable/nodes/{3.9JGSdcGo.js → 3.DwF_25Xt.js} +1 -1
- package/web/app/immutable/nodes/{4.CBjeaWO7.js → 4.ttOSy2Tq.js} +1 -1
- package/web/app/immutable/nodes/{5.rzCmecJm.js → 5.BVpoghsD.js} +1 -1
- package/web/app/immutable/nodes/{6.ltNDZwKc.js → 6.D6pOrTxH.js} +1 -1
- package/web/app/immutable/nodes/{7.KOkYCHHg.js → 7.BO56ByN2.js} +1 -1
- package/web/app/immutable/nodes/{8.DAi8MaAi.js → 8.CPtVgnSI.js} +1 -1
- package/web/app/immutable/nodes/{9.BzVFDUkR.js → 9.cl9L6J-I.js} +5 -5
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +45 -45
- package/web/index.html +18 -18
- package/web/app/immutable/chunks/C8rJ090F.js +0 -1
- package/web/app/immutable/chunks/CL3wj1V-.js +0 -1
- package/web/app/immutable/chunks/CLAmm_T1.js +0 -1
- package/web/app/immutable/chunks/CRSiOiSR.js +0 -1
- package/web/app/immutable/chunks/DFh0CfhB.js +0 -1
- package/web/app/immutable/chunks/DmapvbAr.js +0 -3
- package/web/app/immutable/chunks/KnkAG0HD.js +0 -1
- package/web/app/immutable/chunks/fAzcgPHK.js +0 -411
- package/web/app/immutable/entry/start.BWAelo_H.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as Ke,bo as k,bm as Ce,bw as Ve,b as Ue,q as ur,n as vr,r as gr,o as fr,p as hr,s as mr,bs as ht,bq as pr,f as _r,l as xr,g as br,e as wr,d as kr,m as yr,j as $r,i as Sr,h as Cr,k as Nr}from"./
|
|
1
|
+
import{t as Ke,bo as k,bm as Ce,bw as Ve,b as Ue,q as ur,n as vr,r as gr,o as fr,p as hr,s as mr,bs as ht,bq as pr,f as _r,l as xr,g as br,e as wr,d as kr,m as yr,j as $r,i as Sr,h as Cr,k as Nr}from"./CtfEuoOH.js";import{bs as Je,ca as Ze,aD as e,ay as be,a5 as o,bH as L,bS as n,a7 as Pt,W as i,be as st,b$ as et,b_ as M,bO as C,bA as s,bl as O,bn as qe,bV as we,aA as y,c9 as _,aB as x,br as mt}from"./3SdAC2_C.js";import{n$ as Rr,JH as ct,n6 as Tt,en as Mr,eK as Pr,eL as Lr}from"./CiKoEJ2m.js";import{i as H}from"./DynUeYUu.js";import{n as We,j as Oe,h as at}from"./Bx1P9uW7.js";import{dI as Ir,bt as Ar}from"./iQDlfKDR.js";import{a9 as jt}from"./z0xDttNV.js";import{I as it,g as Ge,i as Lt}from"./CnFZbWXv.js";import{f as xe}from"./D9R5fzn8.js";import"./CT8vPg_p.js";import{f as He,s as Er}from"./B26ZHg3s.js";import"./CGmYraIa.js";import{F as fe,a2 as Hr,cR as zr,aw as ot,ax as pt,c2 as Wr,aV as Dr,bN as Tr,bH as jr,b9 as Fr,cW as Br,cn as Gr,b6 as St,c$ as Rt,cr as _t,bo as Or,cF as Kr,au as Vr}from"./COofQgO0.js";import{i as Ur}from"./BaXq2aUL.js";import{h as Ft}from"./BKD7o1lQ.js";import{H as Bt}from"./CcNhqKh5.js";import{I as Ut}from"./DcraaizU.js";import"./B3T1oiJl.js";import{q as Jr}from"./DMEIbJII.js";import{M as Mt}from"./DQNtbVVY.js";import{B as qr}from"./D3JNbQ4D.js";import{S as Ct}from"./aWBSU8IQ.js";const Qr=[/^diff --git /,/^index\s/,/^---\s/,/^\+\+\+\s/,/^\/];function Yr($){const r=[];if(!$)return r;const d=$.split(`
|
|
2
2
|
`);let m=null,b=0,u=0;const T=P=>{const h=P.match(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),J=h?parseInt(h[1],10):0,K=h&&h[2]?parseInt(h[2],10):null,pe=h?parseInt(h[3],10):0,q=h&&h[4]?parseInt(h[4],10):null;m={header:P,oldStart:J,oldLines:K,newStart:pe,newLines:q,lines:[]},r.push(m),b=J,u=pe};for(const P of d){if(P.startsWith("@@")){T(P);continue}if(!m)continue;const h=m;P.startsWith("+")?h.lines.push({type:"addition",content:P.slice(1),oldNum:null,newNum:u++,raw:P}):P.startsWith("-")?h.lines.push({type:"deletion",content:P.slice(1),oldNum:b++,newNum:null,raw:P}):P.startsWith(" ")?h.lines.push({type:"context",content:P.slice(1),oldNum:b++,newNum:u++,raw:P}):Qr.some(J=>J.test(P))||P.trim()===""&&h.lines.push({type:"context",content:"",oldNum:b++,newNum:u++,raw:P})}return r}var Xr=x('<div><!> <!> <!></div> <p class="text-ui text-subtle mt-1"> </p>',1);function Jt($,r){if(new.target)return Ke({component:Jt,...$});Je(r,!0);let d=k(r,"lineNumber",7,0),m=k(r,"fileName",7,""),b=k(r,"onSend",7),u=k(r,"onClose",7),T=k(r,"isSending",7,!1),P=k(r,"class",7,""),h=we(""),J=we(null);Ze(()=>{e(J)&&e(J).focus()});function K(){!e(h).trim()||T()||(b()?.(e(h).trim(),d(),m()),L(h,""))}function pe(I){I.key==="Enter"&&!I.shiftKey&&(I.preventDefault(),K()),I.key==="Escape"&&u()?.()}var q={get lineNumber(){return d()},set lineNumber(I=0){d(I),y()},get fileName(){return m()},set fileName(I=""){m(I),y()},get onSend(){return b()},set onSend(I){b(I),y()},get onClose(){return u()},set onClose(I){u(I),y()},get isSending(){return T()},set isSending(I=!1){T(I),y()},get class(){return P()},set class(I=""){P(I),y()},$set:Ve,$on:(I,he)=>Ue(r,I,he)},w=Xr(),z=be(w),de=o(z);{let I=_(()=>Ce.codeReview_inlineComment_askLine_placeholder());Ut(de,{onkeydown:pe,get placeholder(){return e(I)},get disabled(){return T()},class:"flex-1 h-8 rounded-md border border-border bg-background px-3 text-sm placeholder:text-muted-foreground disabled:opacity-50",get ref(){return e(J)},set ref(he){L(J,he,!0)},get value(){return e(h)},set value(he){L(h,he,!0)}})}var ce=n(de,2);{let I=_(()=>!e(h).trim()||T());xe(ce,{type:"button",variant:"primary",onclick:K,get disabled(){return e(I)},class:"h-8 w-8 p-0",children:(he,Ne)=>{var _e=Pt(),S=be(_e);{var E=me=>{it(me,{size:14})},Ie=me=>{fe(me,{get icon(){return Hr},class:"h-3.5 w-3.5"})};H(S,me=>{T()?me(E):me(Ie,-1)})}i(he,_e)},$$slots:{default:!0}})}var ae=n(ce,2);xe(ae,{type:"button",variant:"ghost",onclick:()=>u()?.(),class:"h-8 px-2 text-xs text-muted-foreground hover:text-foreground transition-colors",children:(I,he)=>{st();var Ne=et();M(_e=>C(Ne,_e),[()=>Ce.codeReview_inlineComment_cancel_label()]),i(I,Ne)},$$slots:{default:!0}}),s(z);var te=n(z,2),ke=O(te,!0);return M(I=>{He(z,1,`walkthrough-inline-comment flex items-center gap-2 ${P()??""}`),C(ke,I)},[()=>Ce.codeReview_inlineComment_inputHint_label()]),i($,w),qe(q)}var Zr=x('<div class="text-xs text-slate-400 dark:text-slate-500 mt-1"> </div>'),en=x('<span class="font-medium"> </span> <!>',1),tn=x('<div class="flex items-start gap-3 py-2"><div><!></div> <div class="flex-1 min-w-0"><div class="text-sm leading-relaxed text-slate-700 dark:text-slate-300"><!></div></div></div>'),rn=x('<div class="px-4 pb-3 divide-y divide-border"></div>'),nn=x('<div class="border-t border-border"><!> <!></div>'),an=x('<div class="flex items-center gap-2 px-4 py-2 text-xs text-slate-500 dark:text-slate-400 border-t border-border"><!> <span> </span></div>'),sn=x('<div class="flex items-center gap-2"><!> <!> <!></div> <p class="text-ui text-slate-400 dark:text-slate-500 mt-1"> </p>',1),on=x("<!> <span> </span>",1),ln=x('<div><div class="flex items-start gap-3 px-4 py-3"><div class="shrink-0 mt-0.5"><!></div> <div class="flex-1 min-w-0"><div class="text-sm text-slate-800 dark:text-slate-200 leading-relaxed"><!></div> <!></div> <!></div> <!> <!> <div class="border-t border-border px-4 py-2"><!></div></div>');function qt($,r){if(new.target)return Ke({component:qt,...$});Je(r,!0);let d=k(r,"annotation",7),m=k(r,"lineNumber",7),b=k(r,"fileName",7),u=k(r,"messages",23,()=>[]),T=k(r,"onSendMessage",7),P=k(r,"onClose",7),h=k(r,"isSending",7,!1),J=k(r,"isAgentResponding",7,!1),K=k(r,"timestamp",7),pe=k(r,"class",7,""),q=we(""),w=we(!1),z=we(!1),de=we(null);Ze(()=>{e(w)&&e(de)&&e(de).focus()});function ce(){!e(q).trim()||h()||(T()?.(e(q).trim(),m(),b()),L(q,""))}function ae(a){a.key==="Enter"&&!a.shiftKey&&(a.preventDefault(),ce()),a.key==="Escape"&&(e(q)?L(q,""):L(w,!1))}function te(a){switch(a){case"highlight":return Fr;case"context":return jr;case"explanation":default:return Tr}}function ke(a){switch(a){case"highlight":return"text-orange-500";case"context":return"text-blue-500";case"explanation":default:return"text-warning-ink"}}function I(a){return a?Jr(a):""}const he=_(()=>u().length>0);var Ne={get annotation(){return d()},set annotation(a){d(a),y()},get lineNumber(){return m()},set lineNumber(a){m(a),y()},get fileName(){return b()},set fileName(a){b(a),y()},get messages(){return u()},set messages(a=[]){u(a),y()},get onSendMessage(){return T()},set onSendMessage(a){T(a),y()},get onClose(){return P()},set onClose(a){P(a),y()},get isSending(){return h()},set isSending(a=!1){h(a),y()},get isAgentResponding(){return J()},set isAgentResponding(a=!1){J(a),y()},get timestamp(){return K()},set timestamp(a){K(a),y()},get class(){return pe()},set class(a=""){pe(a),y()},$set:Ve,$on:(a,D)=>Ue(r,a,D)},_e=ln(),S=o(_e),E=o(S),Ie=o(E);{let a=_(()=>te(d().type)),D=_(()=>ke(d().type));fe(Ie,{get icon(){return e(a)},get class(){return`h-4 w-4 ${e(D)??""}`}})}s(E);var me=n(E,2),v=o(me),R=o(v);Mt(R,{get content(){return d().message},className:"[&>*:first-child]:mt-0 [&>*:last-child]:mb-0"}),s(v);var A=n(v,2);{var X=a=>{var D=Zr(),Z=O(D,!0);M(ee=>C(Z,ee),[()=>I(K())]),i(a,D)};H(A,a=>{K()&&a(X)})}s(me);var ie=n(me,2);{var $e=a=>{{let D=_(()=>Ce.codeReview_commentThread_dismiss_tooltip());xe(a,{type:"button",variant:"ghost",size:"icon-compact",iconOnly:!0,get onclick(){return P()},class:"shrink-0 text-slate-400 hover:text-slate-600 dark:text-slate-500 dark:hover:text-slate-300 transition-colors",get title(){return e(D)},children:(Z,ee)=>{fe(Z,{get icon(){return zr}})},$$slots:{default:!0}})}};H(ie,a=>{P()&&a($e)})}s(S);var Se=n(S,2);{var ye=a=>{var D=nn(),Z=o(D);xe(Z,{type:"button",variant:"ghost",onclick:()=>L(z,!e(z)),class:"w-full flex items-center justify-between px-4 py-2 text-sm text-slate-600 dark:text-slate-400 hover:bg-slate-50 dark:hover:bg-slate-800/50 transition-colors",children:(Q,se)=>{var Y=en(),c=be(Y),p=O(c,!0),B=n(c,2);{let ue=_(()=>e(z)?ot:pt);fe(B,{get icon(){return e(ue)},class:"h-3 w-3"})}M(ue=>C(p,ue),[()=>Ce.codeReview_commentThread_suggestedChanges_label()]),i(Q,Y)},$$slots:{default:!0}});var ee=n(Z,2);{var re=Q=>{var se=rn();Ge(se,21,u,Y=>Y.id,(Y,c)=>{var p=tn(),B=o(p),ue=o(B);{let g=_(()=>e(c).type==="user"?Br:Gr),N=_(()=>e(c).type==="user"?"text-blue-600 dark:text-blue-400":"text-purple-600 dark:text-purple-400");fe(ue,{get icon(){return e(g)},get class(){return`h-2.5 w-2.5 ${e(N)??""}`}})}s(B);var Re=n(B,2),t=o(Re),l=o(t);Mt(l,{get content(){return e(c).content},className:"[&>*:first-child]:mt-0 [&>*:last-child]:mb-0"}),s(t),s(Re),s(p),M(()=>He(B,1,`shrink-0 flex h-5 w-5 items-center justify-center rounded-full ${e(c).type==="user"?"bg-blue-100 dark:bg-blue-900/50":"bg-purple-100 dark:bg-purple-900/50"}`)),We(3,p,()=>at,()=>({axis:"y",distance:4,tier:"moderate"})),i(Y,p)}),s(se),We(3,se,()=>Oe,()=>({tier:"moderate"})),i(Q,se)};H(ee,Q=>{e(z)&&Q(re)})}s(D),i(a,D)};H(Se,a=>{e(he)&&a(ye)})}var V=n(Se,2);{var j=a=>{var D=an(),Z=o(D);it(Z,{size:12});var ee=n(Z,2),re=O(ee,!0);s(D),M(Q=>C(re,Q),[()=>Ce.codeReview_commentThread_agentResponding_label()]),i(a,D)};H(V,a=>{J()&&a(j)})}var f=n(V,2),W=o(f);{var F=a=>{var D=sn(),Z=be(D),ee=o(Z);{let c=_(()=>Ce.codeReview_commentThread_followUp_placeholder());Ut(ee,{onkeydown:ae,get placeholder(){return e(c)},get disabled(){return h()},class:"flex-1 h-8 rounded-md border border-border bg-white dark:bg-slate-800 px-3 text-sm placeholder:text-slate-400 disabled:opacity-50",get ref(){return e(de)},set ref(p){L(de,p,!0)},get value(){return e(q)},set value(p){L(q,p,!0)}})}var re=n(ee,2);{let c=_(()=>!e(q).trim()||h());xe(re,{type:"button",variant:"primary",onclick:ce,get disabled(){return e(c)},class:"h-8 w-8 p-0",children:(p,B)=>{var ue=Pt(),Re=be(ue);{var t=g=>{it(g,{size:14})},l=g=>{fe(g,{get icon(){return Wr},class:"h-3 w-3"})};H(Re,g=>{h()?g(t):g(l,-1)})}i(p,ue)},$$slots:{default:!0}})}var Q=n(re,2);xe(Q,{type:"button",variant:"ghost",onclick:()=>{L(w,!1),L(q,"")},class:"h-8 px-2 text-xs text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-200 transition-colors",children:(c,p)=>{st();var B=et();M(ue=>C(B,ue),[()=>Ce.codeReview_commentThread_cancel_label()]),i(c,B)},$$slots:{default:!0}}),s(Z);var se=n(Z,2),Y=O(se,!0);M(c=>C(Y,c),[()=>Ce.codeReview_commentThread_inputHint_label()]),We(3,Z,()=>Oe,()=>({tier:"fast"})),i(a,D)},le=a=>{xe(a,{type:"button",variant:"ghost",onclick:()=>L(w,!0),class:"flex items-center gap-1.5 text-xs text-emerald-600 dark:text-emerald-400 hover:text-emerald-700 dark:hover:text-emerald-300 transition-colors",children:(D,Z)=>{var ee=on(),re=be(ee);fe(re,{get icon(){return Dr},class:"h-3 w-3"});var Q=n(re,2),se=O(Q,!0);M(Y=>C(se,Y),[()=>Ce.codeReview_commentThread_askQuestion_label()]),i(D,ee)},$$slots:{default:!0}})};H(W,a=>{e(w)?a(F):a(le,-1)})}return s(f),s(_e),M(()=>He(_e,1,`walkthrough-comment-thread relative flex w-full flex-col bg-white shadow-sm dark:bg-slate-900 ${pe()??""}`)),We(3,_e,()=>Oe,()=>({tier:"moderate"})),i($,_e),qe(Ne)}var dn=x('<span class="text-emerald-600 dark:text-emerald-400 font-medium"> </span>'),cn=x('<!> <svg class="h-4 w-4 text-ghost shrink-0" viewBox="0 0 16 16" fill="currentColor"><path d="M3.5 1.5A1.5 1.5 0 0 1 5 0h6a1.5 1.5 0 0 1 1.5 1.5v12A1.5 1.5 0 0 1 11 15H5a1.5 1.5 0 0 1-1.5-1.5v-12zm2 0v12h6v-12H5.5z"></path></svg> <div class="flex items-baseline gap-2 flex-1 min-w-0"><span class="text-sm font-medium text-foreground truncate"> </span> <span class="text-xs text-subtle truncate hidden sm:inline"> </span></div> <div class="flex items-center gap-1 text-xs shrink-0"><!></div>',1),un=x('<div class="px-4 pb-3 -mt-1"><p class="text-sm text-subtle"> </p></div>'),vn=x('<div><div><span class="w-12 px-2 text-right text-ui text-subtle tabular-nums"> </span></div> <span> </span> <pre class="flex-1 px-1 whitespace-pre overflow-hidden text-ellipsis"><code class="hljs"></code></pre></div>'),gn=x('<div class="border-t border-border"><div class="font-mono text-xs leading-relaxed text-muted-foreground"><!> <!></div></div>'),fn=x('<span class="text-subtle">·</span> <!>',1),hn=x('<div class="flex items-center justify-end gap-2 px-3 py-1.5 bg-muted/20 border-b border-border text-xs"><!> <!></div>'),Gt=x("<!> <span> </span> <!>",1),mn=x('<div class="ml-20"><!></div>'),pn=x('<div class="ml-20 border-l-2 border-primary-ink/50 bg-muted/20"><div class="p-3"><!></div></div>'),_n=x('<div><div><span class="w-10 px-2 text-right text-ui text-subtle tabular-nums"> </span> <span class="w-10 px-2 text-right text-ui text-subtle tabular-nums"> </span></div> <span> </span> <div class="flex-1 flex items-center min-w-0 pr-2"><pre class="flex-1 px-1 whitespace-pre overflow-x-auto"><code class="hljs"></code></pre> <!></div></div> <!> <!> <!>',1),xn=x("<!> <!>",1),bn=x('<div class="relative"><!> <div class="overflow-x-auto"><div class="font-mono text-xs leading-relaxed min-w-full"></div></div></div>'),wn=x('<div><div class="flex flex-col border-b border-border"><!> <!></div> <!> <!></div>');function It($,r){if(new.target)return Ke({component:It,...$});Je(r,!0);let d=k(r,"fileName",7),m=k(r,"patch",7),b=k(r,"annotations",23,()=>[]),u=k(r,"initialCollapsed",7,!1),T=k(r,"contextLines",7,3),P=k(r,"onSendMessage",7),h=k(r,"isSending",7,!1),J=k(r,"additions",7,0),K=k(r,"deletions",7,0),pe=k(r,"fileDescription",7,""),q=k(r,"class",7,"");const w=_(()=>Yr(m())),z=_(()=>Rr(d())),de=_(()=>{const t=new Map;return!e(z)||e(z)==="text"||e(z)==="plaintext"||!Bt.getLanguage(e(z))||e(w).forEach(l=>{const g=[];if(l.lines.forEach(N=>{const G=N.content||"",U=`${N.oldNum}-${N.newNum}`;g.push({content:G,key:U})}),g.length!==0)try{const N=g.map(ne=>ne.content).join(`
|
|
3
3
|
`),U=Bt.highlight(N,{language:e(z)}).value.split(`
|
|
4
4
|
`);g.forEach((ne,oe)=>{oe<U.length&&t.set(ne.key,U[oe])})}catch(N){console.warn("Failed to highlight hunk:",N)}}),t});let ce=we(mt(u())),ae=we(mt(new Set)),te=we(null);const ke=_(()=>{const t=new Map;for(const l of b()){const g=t.get(l.line)||[];g.push(l),t.set(l.line,g)}return t}),I=_(()=>new Set(b().map(t=>t.line)));function he(t){if(t.type==="deletion")return[];const l=t.newNum;return l==null?[]:e(ke).get(l)||[]}function Ne(t,l,g){if(g.type==="addition"||g.type==="deletion")return!0;const N=g.newNum??g.oldNum;if(N!==null&&e(I).has(N))return!0;const G=e(w)[t];if(!G)return!1;for(let U=Math.max(0,l-T());U<=Math.min(G.lines.length-1,l+T());U++){const ne=G.lines[U];if(ne.type==="addition"||ne.type==="deletion")return!0;const oe=ne.newNum??ne.oldNum;if(oe!==null&&e(I).has(oe))return!0}for(const U of e(ae)){const[ne,oe,ve]=U.split("-").map(Number);if(ne===t&&l>=oe&&l<=ve)return!0}return!1}function _e(t){const l=e(w)[t];if(!l)return[];const g=[];let N=null;for(let G=0;G<l.lines.length;G++){const U=Ne(t,G,l.lines[G]);!U&&N===null?N=G:U&&N!==null&&(g.push({startIndex:N,endIndex:G-1,count:G-N}),N=null)}return N!==null&&g.push({startIndex:N,endIndex:l.lines.length-1,count:l.lines.length-N}),g}function S(t,l,g){const N=`${t}-${l}-${g}`;e(ae).add(N),L(ae,new Set(e(ae)),!0)}function E(){for(let t=0;t<e(w).length;t++){const l=e(w)[t];S(t,0,l.lines.length-1)}}function Ie(){L(ae,new Set,!0)}function me(t){const l=`${t.oldNum}-${t.newNum}`,g=e(de).get(l);return g!==void 0?g:v(t.content||"")}function v(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function R(t){switch(t.type){case"addition":return"bg-emerald-500/5 dark:bg-emerald-500/10";case"deletion":return"bg-red-500/5 dark:bg-red-500/10";default:return""}}function A(t){switch(t.type){case"addition":return"text-emerald-600 dark:text-emerald-400 font-medium";case"deletion":return"text-red-600 dark:text-red-400 font-medium";default:return"text-transparent"}}function X(t){switch(t.type){case"addition":return"+";case"deletion":return"-";default:return" "}}function ie(t){switch(t.type){case"addition":return"bg-emerald-500/10 dark:bg-emerald-500/15";case"deletion":return"bg-red-500/10 dark:bg-red-500/15";default:return"bg-muted/30"}}function $e(){L(ce,!e(ce))}function Se(t){L(te,t,!0)}function ye(){L(te,null)}function V(t,l,g){P()?.(t,l,g),L(te,null)}const j=_(()=>()=>{const t=d().split("/");return t[t.length-1]}),f=_(()=>()=>{const t=d().split("/");return t.length<=1?"":t.slice(0,-1).join("/")}),W=_(()=>{for(let t=0;t<e(w).length;t++)if(_e(t).length>0)return!0;return!1}),F=_(()=>{const l=[];for(let g=0;g<e(w).length&&l.length<3;g++){const N=e(w)[g];for(let G=0;G<N.lines.length&&l.length<3;G++){const U=N.lines[G];(U.type==="addition"||U.type==="deletion")&&l.push({line:U,hunkIndex:g,lineIndex:G})}}return l}),le=_(()=>{let t=0;for(const l of e(w))for(const g of l.lines)(g.type==="addition"||g.type==="deletion")&&t++;return t});let a=we(mt(new Map));function D(t){return`${t.file}:${t.line}:${t.type}`}function Z(t){return e(a).get(D(t))||[]}var ee={get fileName(){return d()},set fileName(t){d(t),y()},get patch(){return m()},set patch(t){m(t),y()},get annotations(){return b()},set annotations(t=[]){b(t),y()},get initialCollapsed(){return u()},set initialCollapsed(t=!1){u(t),y()},get contextLines(){return T()},set contextLines(t=3){T(t),y()},get onSendMessage(){return P()},set onSendMessage(t){P(t),y()},get isSending(){return h()},set isSending(t=!1){h(t),y()},get additions(){return J()},set additions(t=0){J(t),y()},get deletions(){return K()},set deletions(t=0){K(t),y()},get fileDescription(){return pe()},set fileDescription(t=""){pe(t),y()},get class(){return q()},set class(t=""){q(t),y()},$set:Ve,$on:(t,l)=>Ue(r,t,l)},re=wn(),Q=o(re),se=o(Q);xe(se,{type:"button",variant:"ghost",class:"w-full flex items-center gap-2 px-4 py-3 hover:bg-muted/30 transition-colors text-left group",onclick:$e,children:(t,l)=>{var g=cn(),N=be(g);{let Le=_(()=>e(ce)?pt:ot);fe(N,{get icon(){return e(Le)},class:"h-3 w-3 text-ghost shrink-0"})}var G=n(N,4),U=o(G),ne=O(U,!0),oe=n(U,2),ve=O(oe,!0);s(G);var Me=n(G,2),Ae=o(Me);{var De=Le=>{var Ee=dn(),Fe=O(Ee);M(()=>C(Fe,`+${J()+K()}`)),i(Le,Ee)};H(Ae,Le=>{(J()>0||K()>0)&&Le(De)})}s(Me),M((Le,Ee)=>{C(ne,Le),C(ve,Ee)},[()=>e(j)(),()=>e(f)()]),i(t,g)},$$slots:{default:!0}});var Y=n(se,2);{var c=t=>{var l=un(),g=o(l),N=O(g,!0);s(l),M(()=>C(N,pe())),i(t,l)};H(Y,t=>{pe()&&t(c)})}s(Q);var p=n(Q,2);{var B=t=>{var l=gn(),g=o(l),N=o(g);Ge(N,17,()=>e(F),({line:ne,hunkIndex:oe,lineIndex:ve})=>`preview-${oe}-${ve}`,(ne,oe)=>{let ve=()=>e(oe).line;var Me=vn(),Ae=o(Me),De=o(Ae),Le=O(De,!0);s(Ae);var Ee=n(Ae,2),Fe=O(Ee,!0),Te=n(Ee,2),ge=o(Te);Ft(ge,()=>me(ve()),!0),s(ge),s(Te),s(Me),M((Qe,Ye,Xe,tt)=>{He(Me,1,`flex ${Qe??""}`),He(Ae,1,`w-12 shrink-0 flex select-none ${Ye??""} border-r border-border`),C(Le,ve().newNum??ve().oldNum??""),He(Ee,1,`w-5 shrink-0 text-center select-none ${Xe??""}`),C(Fe,tt)},[()=>R(ve()),()=>ie(ve()),()=>A(ve()),()=>X(ve())]),i(ne,Me)});var G=n(N,2);{var U=ne=>{xe(ne,{type:"button",variant:"ghost",class:"w-full py-1.5 text-xs text-muted-foreground hover:text-foreground hover:bg-muted/30 transition-colors text-center",onclick:$e,children:(oe,ve)=>{st();var Me=et();M(Ae=>C(Me,Ae),[()=>Ce.codeReview_fileDiff_moreLines_label({count:e(le)-e(F).length})]),i(oe,Me)},$$slots:{default:!0}})};H(G,ne=>{e(le)>e(F).length&&ne(U)})}s(g),s(l),We(3,l,()=>Oe,()=>({tier:"moderate"})),i(t,l)};H(p,t=>{e(ce)&&e(F).length>0&&t(B)})}var ue=n(p,2);{var Re=t=>{var l=bn(),g=o(l);{var N=ne=>{var oe=hn(),ve=o(oe);xe(ve,{type:"button",variant:"ghost",class:"text-muted-foreground hover:text-foreground transition-colors",onclick:E,children:(De,Le)=>{st();var Ee=et();M(Fe=>C(Ee,Fe),[()=>Ce.codeReview_fileDiff_expandAll_label()]),i(De,Ee)},$$slots:{default:!0}});var Me=n(ve,2);{var Ae=De=>{var Le=fn(),Ee=n(be(Le),2);xe(Ee,{type:"button",variant:"ghost",class:"text-muted-foreground hover:text-foreground transition-colors",onclick:Ie,children:(Fe,Te)=>{st();var ge=et();M(Qe=>C(ge,Qe),[()=>Ce.codeReview_fileDiff_collapse_label()]),i(Fe,ge)},$$slots:{default:!0}}),i(De,Le)};H(Me,De=>{e(ae).size>0&&De(Ae)})}s(oe),i(ne,oe)};H(g,ne=>{e(W)&&ne(N)})}var G=n(g,2),U=o(G);Ge(U,21,()=>e(w),Lt,(ne,oe,ve)=>{const Me=_(()=>_e(ve)),Ae=_(()=>e(Me).find(Te=>Te.startIndex===0));var De=xn(),Le=be(De);{var Ee=Te=>{xe(Te,{type:"button",variant:"ghost",class:"w-full flex items-center justify-center gap-2 py-1.5 text-xs text-muted-foreground hover:text-foreground hover:bg-muted/30 transition-colors border-b border-border",onclick:()=>S(ve,e(Ae).startIndex,e(Ae).endIndex),children:(ge,Qe)=>{var Ye=Gt(),Xe=be(Ye);fe(Xe,{get icon(){return ot},class:"h-2.5 w-2.5"});var tt=n(Xe,2),xt=O(tt,!0),rt=n(tt,2);fe(rt,{get icon(){return ot},class:"h-2.5 w-2.5"}),M(ut=>C(xt,ut),[()=>Ce.codeReview_fileDiff_showHidden_label({count:e(Ae).count})]),i(ge,Ye)},$$slots:{default:!0}})};H(Le,Te=>{e(Ae)&&Te(Ee)})}var Fe=n(Le,2);Ge(Fe,19,()=>e(oe).lines,(Te,ge)=>`${ve}-${ge}`,(Te,ge,Qe)=>{const Ye=_(()=>`${e(ge).oldNum}-${e(ge).newNum}`),Xe=_(()=>he(e(ge))),tt=_(()=>e(te)===e(Ye)),xt=_(()=>Ne(ve,e(Qe),e(ge))),rt=_(()=>e(Me).find(lt=>lt.startIndex===e(Qe)+1));var ut=Pt(),er=be(ut);{var tr=lt=>{var At=_n(),vt=be(At),gt=o(vt),Et=o(gt),rr=O(Et,!0),nr=n(Et,2),ar=O(nr,!0);s(gt);var bt=n(gt,2),sr=O(bt,!0),Ht=n(bt,2),wt=o(Ht),zt=o(wt);Ft(zt,()=>me(e(ge)),!0),s(zt),s(wt);var or=n(wt,2);{var ir=Pe=>{{let ze=_(()=>Ce.codeReview_fileDiff_askLine_tooltip());xe(Pe,{type:"button",variant:"ghost",size:"icon-compact",iconOnly:!0,class:"size-5 opacity-0 group-hover:opacity-100 text-muted-foreground hover:text-primary-ink transition-all shrink-0",onclick:()=>Se(e(Ye)),get title(){return e(ze)},children:(je,Be)=>{fe(je,{get icon(){return St}})},$$slots:{default:!0}})}};H(or,Pe=>{P()&&Pe(ir)})}s(Ht),s(vt);var Wt=n(vt,2);Ge(Wt,19,()=>e(Xe),(Pe,ze)=>`${Pe.line}-${ze}`,(Pe,ze)=>{var je=mn(),Be=o(je);{let nt=_(()=>e(ge).newNum??e(ge).oldNum??0),ft=_(()=>Z(e(ze)));qt(Be,{get annotation(){return e(ze)},get lineNumber(){return e(nt)},get fileName(){return d()},get messages(){return e(ft)},onSendMessage:(kt,yt,$t)=>V(kt,yt,$t),get isSending(){return h()}})}s(je),We(3,je,()=>Oe,()=>({tier:"moderate"})),i(Pe,je)});var Dt=n(Wt,2);{var lr=Pe=>{var ze=pn(),je=o(ze),Be=o(je);{let nt=_(()=>e(ge).newNum??e(ge).oldNum??0);Jt(Be,{get lineNumber(){return e(nt)},get fileName(){return d()},onSend:V,onClose:ye,get isSending(){return h()}})}s(je),s(ze),i(Pe,ze)};H(Dt,Pe=>{e(tt)&&e(Xe).length===0&&Pe(lr)})}var dr=n(Dt,2);{var cr=Pe=>{xe(Pe,{type:"button",variant:"ghost",class:"w-full flex items-center justify-center gap-2 py-1.5 text-xs text-muted-foreground hover:text-foreground hover:bg-muted/30 transition-colors border-y border-border bg-muted/10",onclick:()=>S(ve,e(rt).startIndex,e(rt).endIndex),children:(ze,je)=>{var Be=Gt(),nt=be(Be);fe(nt,{get icon(){return St},class:"h-2.5 w-2.5"});var ft=n(nt,2),kt=O(ft,!0),yt=n(ft,2);fe(yt,{get icon(){return St},class:"h-2.5 w-2.5"}),M($t=>C(kt,$t),[()=>Ce.codeReview_fileDiff_showHidden_label({count:e(rt).count})]),i(ze,Be)},$$slots:{default:!0}})};H(dr,Pe=>{e(rt)&&Pe(cr)})}M((Pe,ze,je,Be)=>{He(vt,1,`group flex ${Pe??""} hover:bg-accent/30 transition-colors`),He(gt,1,`w-20 shrink-0 flex select-none ${ze??""} border-r border-border`),C(rr,e(ge).oldNum??""),C(ar,e(ge).newNum??""),He(bt,1,`w-5 shrink-0 text-center select-none ${je??""}`),C(sr,Be)},[()=>R(e(ge)),()=>ie(e(ge)),()=>A(e(ge)),()=>X(e(ge))]),i(lt,At)};H(er,lt=>{e(xt)&<(tr)})}i(Te,ut)}),i(ne,De)}),s(U),s(G),s(l),We(3,l,()=>Oe,()=>({tier:"moderate"})),i(t,l)};H(ue,t=>{e(ce)||t(Re)})}return s(re),M(()=>He(re,1,`walkthrough-file-diff overflow-hidden bg-card ${q()??""}`)),i($,re),qe(ee)}var kn=x('<div class="flex items-start gap-3"><div class="shrink-0 mt-0.5"><svg viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M2 6a2 2 0 012-2h4l2 2h4a2 2 0 012 2v1H8a3 3 0 00-3 3v1.5a1.5 1.5 0 01-3 0V6z" clip-rule="evenodd"></path><path d="M6 12a2 2 0 012-2h8a2 2 0 012 2v2a2 2 0 01-2 2H2h2a2 2 0 002-2v-2z"></path></svg></div> <div class="flex-1 min-w-0"><h4 class="text-sm font-medium text-foreground line-clamp-2"> </h4> <p class="text-xs text-subtle mt-1 line-clamp-2"> </p> <div class="flex items-center gap-1 mt-2 text-xs text-subtle"><svg class="h-3.5 w-3.5" viewBox="0 0 16 16" fill="currentColor"><path d="M3.5 1.5A1.5 1.5 0 0 1 5 0h6a1.5 1.5 0 0 1 1.5 1.5v12A1.5 1.5 0 0 1 11 15H5a1.5 1.5 0 0 1-1.5-1.5v-12z"></path></svg> <span> </span></div></div></div>'),yn=x('<div><div class="mb-4"><h3 class="text-sm font-medium text-subtle"> </h3></div> <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3"></div></div>');function Qt($,r){if(new.target)return Ke({component:Qt,...$});Je(r,!0);let d=k(r,"categories",7),m=k(r,"onCategoryClick",7),b=k(r,"class",7,"");function u(w){const z=["bg-blue-500/10 border-blue-500/30 hover:border-blue-500/50","bg-purple-500/10 border-purple-500/30 hover:border-purple-500/50","bg-emerald-500/10 border-emerald-500/30 hover:border-emerald-500/50","bg-warning/10 border-warning/30 hover:border-warning/30","bg-rose-500/10 border-rose-500/30 hover:border-rose-500/50","bg-cyan-500/10 border-cyan-500/30 hover:border-cyan-500/50"];return z[w%z.length]}function T(w){const z=["text-blue-500","text-purple-500","text-emerald-500","text-warning-ink","text-rose-500","text-cyan-500"];return z[w%z.length]}var P={get categories(){return d()},set categories(w){d(w),y()},get onCategoryClick(){return m()},set onCategoryClick(w){m(w),y()},get class(){return b()},set class(w=""){b(w),y()},$set:Ve,$on:(w,z)=>Ue(r,w,z)},h=yn(),J=o(h),K=o(J),pe=O(K,!0);s(J);var q=n(J,2);return Ge(q,21,d,Lt,(w,z,de)=>{{let ce=_(()=>u(de));xe(w,{type:"button",variant:"ghost",get class(){return`text-left p-4 rounded-lg border transition-all duration-spring-moderate ease-spring-moderate motion-reduce:transition-none ${e(ce)??""}`},onclick:()=>m()?.(de),children:(ae,te)=>{var ke=kn(),I=o(ke),he=O(I),Ne=n(I,2),_e=o(Ne),S=O(_e,!0),E=n(_e,2),Ie=O(E,!0),me=n(E,2),v=n(o(me),2),R=O(v,!0);s(me),s(Ne),s(ke),M((A,X)=>{He(he,0,`h-5 w-5 ${A??""}`),C(S,e(z).title),C(Ie,e(z).description),C(R,X)},[()=>T(de),()=>e(z).files.length===1?Ce.codeReview_categoriesGrid_fileCount_one({count:e(z).files.length}):Ce.codeReview_categoriesGrid_fileCount_many({count:e(z).files.length})]),i(ae,ke)},$$slots:{default:!0}})}}),s(q),s(h),M(w=>{He(h,1,`walkthrough-categories-grid ${b()??""}`),C(pe,w)},[()=>Ce.codeReview_categoriesGrid_whatChanged_title()]),i($,h),qe(P)}var $n=x('<div class="w-0.5 flex-1 bg-border min-h-5"></div>'),Sn=x('<p class="text-sm text-subtle mt-2"> </p>'),Cn=x('<div class="rounded-lg border border-border bg-card p-4"><div class="flex items-center gap-2"><svg class="h-4 w-4 text-ghost" viewBox="0 0 16 16" fill="currentColor"><path d="M3.5 1.5A1.5 1.5 0 0 1 5 0h6a1.5 1.5 0 0 1 1.5 1.5v12A1.5 1.5 0 0 1 11 15H5a1.5 1.5 0 0 1-1.5-1.5v-12z"></path></svg> <span class="text-sm font-medium text-foreground"> </span></div> <!></div>'),Nn=x('<div class="flex gap-4"><div class="relative flex flex-col items-center w-3"><div></div> <div class="absolute top-4 w-2 h-2 rounded-full bg-muted-foreground/30 ring-2 ring-background"></div></div> <div class="flex-1 min-w-0 pb-4"><!></div></div>'),Rn=x('<div><div class="flex items-start gap-4 mb-4"><div class="relative flex flex-col items-center"><div></div> <!></div> <div class="flex-1 min-w-0 -mt-0.5"><h3 class="text-base font-semibold text-foreground"> </h3> <p class="text-sm text-subtle mt-1"> </p></div></div> <div class="relative"></div></div>');function Yt($,r){if(new.target)return Ke({component:Yt,...$});Je(r,!0);let d=k(r,"category",7),m=k(r,"categoryIndex",7),b=k(r,"filePatchMap",7),u=k(r,"isLast",7,!1),T=k(r,"onSendMessage",7),P=k(r,"isSending",7,!1),h=k(r,"class",7,"");function J(S){const E=["bg-blue-500","bg-purple-500","bg-emerald-500","bg-warning","bg-rose-500","bg-cyan-500"];return E[S%E.length]}const K=_(()=>d().files.map(S=>{const E=b().get(S.path);return{...S,patch:E?.patch,additions:E?.additions??0,deletions:E?.deletions??0}}));var pe={get category(){return d()},set category(S){d(S),y()},get categoryIndex(){return m()},set categoryIndex(S){m(S),y()},get filePatchMap(){return b()},set filePatchMap(S){b(S),y()},get isLast(){return u()},set isLast(S=!1){u(S),y()},get onSendMessage(){return T()},set onSendMessage(S){T(S),y()},get isSending(){return P()},set isSending(S=!1){P(S),y()},get class(){return h()},set class(S=""){h(S),y()},$set:Ve,$on:(S,E)=>Ue(r,S,E)},q=Rn(),w=o(q),z=o(w),de=o(z),ce=n(de,2);{var ae=S=>{var E=$n();i(S,E)};H(ce,S=>{(!u()||e(K).length>0)&&S(ae)})}s(z);var te=n(z,2),ke=o(te),I=O(ke,!0),he=n(ke,2),Ne=O(he,!0);s(te),s(w);var _e=n(w,2);return Ge(_e,23,()=>e(K),(S,E)=>`${m()}-${E}`,(S,E,Ie)=>{var me=Nn(),v=o(me),R=o(v);st(2),s(v);var A=n(v,2),X=o(A);{var ie=Se=>{It(Se,{get fileName(){return e(E).path},get patch(){return e(E).patch},get annotations(){return e(E).annotations},get additions(){return e(E).additions},get deletions(){return e(E).deletions},get fileDescription(){return e(E).summary},get onSendMessage(){return T()},get isSending(){return P()},class:"rounded-lg border border-border overflow-hidden"})},$e=Se=>{var ye=Cn(),V=o(ye),j=n(o(V),2),f=O(j,!0);s(V);var W=n(V,2);{var F=le=>{var a=Sn(),D=O(a,!0);M(()=>C(D,e(E).summary)),i(le,a)};H(W,le=>{e(E).summary&&le(F)})}s(ye),M(()=>C(f,e(E).path)),i(Se,ye)};H(X,Se=>{e(E).patch?Se(ie):Se($e,-1)})}s(A),s(me),M(()=>He(R,1,`w-0.5 flex-1 bg-border ${e(Ie)===e(K).length-1&&u()?"h-1/2":""}`)),i(S,me)}),s(_e),s(q),M(S=>{He(q,1,`walkthrough-category-section ${h()??""}`),Er(q,"id",`category-${m()??""}`),He(de,1,`w-3 h-3 rounded-full ${S??""} ring-4 ring-background shrink-0`),C(I,d().title),C(Ne,d().description)},[()=>J(m())]),i($,q),qe(pe)}var Mn=x('<!> <!> <span class="text-sm font-medium"> </span> <!>',1),Pn=x('<div class="flex items-center gap-2 text-sm text-subtle py-2"><!> <span> </span></div>'),Ot=x("<!> ",1),Ln=x('<div class="rounded-lg bg-danger-background/10 border border-danger/20 p-4"><p class="text-sm text-danger"> </p> <!></div>'),In=x('<h2 class="text-lg font-semibold text-foreground"> </h2>'),An=x('<p class="text-sm text-subtle italic"> </p>'),Kt=x("<div><!></div>"),En=x('<div class="space-y-8 pt-4"></div>'),Hn=x('<!> <!> <span class="text-sm font-medium text-subtle"> </span>',1),zn=x('<div class="space-y-3 pt-2"></div>'),Wn=x('<div class="pt-4 border-t border-border"><!> <!></div>'),Dn=x('<div class="flex justify-end pt-2"><!></div>'),Tn=x('<div class="space-y-6"><!> <!> <!> <!> <!> <!></div>'),jn=x('<div class="px-4 pb-4"><!> <!> <!></div>'),Fn=x('<div class="border-t border-border"><!> <!></div>');function Xt($,r){if(new.target)return Ke({component:Xt,...$});Je(r,!0);let d=k(r,"walkthrough",7),m=k(r,"status",7),b=k(r,"workspaceId",7),u=k(r,"error",7,""),T=k(r,"workspacePath",7),P=k(r,"changes",23,()=>[]),h=k(r,"onSendMessage",7),J=k(r,"isSending",7,!1),K=k(r,"onRegenerate",7),pe=k(r,"showCategoriesGrid",7,!0);const q=_(()=>m()==="running"),w=_(()=>m()==="complete"),z=_(()=>!!u());let de=we(!0),ce=we(!1),ae=we(mt(new Map));const te=_(()=>{if(d()?.categories&&d().categories.length>0)return d().categories;if(d()?.annotations&&d().annotations.length>0){const v=new Map;for(const R of d().annotations){const A=v.get(R.file)||[];A.push(R),v.set(R.file,A)}return[{title:d().title,description:d().overview,files:Array.from(v.entries()).map(([R,A])=>({path:R,annotations:A.sort((X,ie)=>X.line-ie.line)}))}]}return[]}),ke=_(()=>{if(!d()?.annotations)return new Map;const v=new Map;for(const R of d().annotations){const A=v.get(R.file)||[];A.push(R),v.set(R.file,A)}for(const[R,A]of v)v.set(R,A.sort((X,ie)=>X.line-ie.line));return v}),I=_(()=>{const v=new Set;for(const R of e(te))for(const A of R.files)v.add(A.path);for(const R of e(ke).keys())v.add(R);return v}),he=_(()=>P().filter(v=>!e(I).has(v.relativePath)));Ze(()=>{if(!d()||!T())return;const v=new Set([...e(I),...e(he).map(R=>R.relativePath)]);for(const R of v)e(ae).has(R)||Ur(b(),!0,R).then(A=>{if(A&&A.oldContent!==void 0&&A.newContent!==void 0){const X=Ne(R,A.oldContent,A.newContent);if(X){const ie=P().find($e=>$e.relativePath===R);e(ae).set(R,{patch:X,additions:ie?.stats?.additions??0,deletions:ie?.stats?.deletions??0}),L(ae,new Map(e(ae)),!0)}}}).catch(A=>{console.warn(`Failed to load diff for ${R}:`,A)})});function Ne(v,R,A){const X=R.split(`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as ie}from"./
|
|
1
|
+
import{g as ie}from"./BQCtWEZ2.js";import{s as re}from"./CHUYHKuh.js";import{b as p,ay as b,X as $,a1 as ae,aP as ne,bh as oe,V as le,a_ as ce,U as he,aZ as de,b0 as ue,Y as fe,T as pe,z as j,r as Se,aW as vt,am as ge,aU as ye,ab as me,aG as Te}from"./DMudvlKI.js";import{c as Ee}from"./DF15jnSX.js";import{aR as _e}from"./BTXzEcFX.js";var At=(function(){var t=p(function(V,o,f,n){for(f=f||{},n=V.length;n--;f[V[n]]=o);return f},"o"),e=[1,2],s=[1,3],a=[1,4],r=[2,4],c=[1,9],h=[1,11],u=[1,16],l=[1,17],m=[1,18],y=[1,19],_=[1,33],L=[1,20],N=[1,21],D=[1,22],S=[1,23],w=[1,24],C=[1,26],F=[1,27],I=[1,28],P=[1,29],v=[1,30],z=[1,31],at=[1,32],nt=[1,35],ot=[1,36],lt=[1,37],ct=[1,38],K=[1,34],g=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],ht=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],It=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],mt={trace:p(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:p(function(o,f,n,T,E,i,B){var d=i.length-1;switch(E){case 3:return T.setRootDoc(i[d]),i[d];case 4:this.$=[];break;case 5:i[d]!="nl"&&(i[d-1].push(i[d]),this.$=i[d-1]);break;case 6:case 7:this.$=i[d];break;case 8:this.$="nl";break;case 12:this.$=i[d];break;case 13:const Q=i[d-1];Q.description=T.trimColon(i[d]),this.$=Q;break;case 14:this.$={stmt:"relation",state1:i[d-2],state2:i[d]};break;case 15:const Tt=T.trimColon(i[d]);this.$={stmt:"relation",state1:i[d-3],state2:i[d-1],description:Tt};break;case 19:this.$={stmt:"state",id:i[d-3],type:"default",description:"",doc:i[d-1]};break;case 20:var G=i[d],X=i[d-2].trim();if(i[d].match(":")){var ut=i[d].split(":");G=ut[0],X=[X,ut[1]]}this.$={stmt:"state",id:G,type:"default",description:X};break;case 21:this.$={stmt:"state",id:i[d-3],type:"default",description:i[d-5],doc:i[d-1]};break;case 22:this.$={stmt:"state",id:i[d],type:"fork"};break;case 23:this.$={stmt:"state",id:i[d],type:"join"};break;case 24:this.$={stmt:"state",id:i[d],type:"choice"};break;case 25:this.$={stmt:"state",id:T.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[d-1].trim(),note:{position:i[d-2].trim(),text:i[d].trim()}};break;case 29:this.$=i[d].trim(),T.setAccTitle(this.$);break;case 30:case 31:this.$=i[d].trim(),T.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:i[d-3],url:i[d-2],tooltip:i[d-1]};break;case 33:this.$={stmt:"click",id:i[d-3],url:i[d-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:i[d-1].trim(),classes:i[d].trim()};break;case 36:this.$={stmt:"style",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 37:this.$={stmt:"applyClass",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 38:T.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:T.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:T.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:T.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:i[d].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:s,6:a},{1:[3]},{3:5,4:e,5:s,6:a},{3:6,4:e,5:s,6:a},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:u,17:l,19:m,22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,7]),t(g,[2,8]),t(g,[2,9]),t(g,[2,10]),t(g,[2,11]),t(g,[2,12],{14:[1,40],15:[1,41]}),t(g,[2,16]),{18:[1,42]},t(g,[2,18],{20:[1,43]}),{23:[1,44]},t(g,[2,22]),t(g,[2,23]),t(g,[2,24]),t(g,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(g,[2,28]),{34:[1,49]},{36:[1,50]},t(g,[2,31]),{13:51,24:_,57:K},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(ht,[2,44],{58:[1,56]}),t(ht,[2,45],{58:[1,57]}),t(g,[2,38]),t(g,[2,39]),t(g,[2,40]),t(g,[2,41]),t(g,[2,6]),t(g,[2,13]),{13:58,24:_,57:K},t(g,[2,17]),t(It,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(g,[2,29]),t(g,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(g,[2,14],{14:[1,71]}),{4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,21:[1,72],22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(g,[2,34]),t(g,[2,35]),t(g,[2,36]),t(g,[2,37]),t(ht,[2,46]),t(ht,[2,47]),t(g,[2,15]),t(g,[2,19]),t(It,r,{7:78}),t(g,[2,26]),t(g,[2,27]),{5:[1,79]},{5:[1,80]},{4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,21:[1,81],22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,32]),t(g,[2,33]),t(g,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:p(function(o,f){if(f.recoverable)this.trace(o);else{var n=new Error(o);throw n.hash=f,n}},"parseError"),parse:p(function(o){var f=this,n=[0],T=[],E=[null],i=[],B=this.table,d="",G=0,X=0,ut=2,Q=1,Tt=i.slice.call(arguments,1),k=Object.create(this.lexer),W={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(W.yy[Et]=this.yy[Et]);k.setInput(o,W.yy),W.yy.lexer=k,W.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var _t=k.yylloc;i.push(_t);var ee=k.options&&k.options.ranges;typeof W.yy.parseError=="function"?this.parseError=W.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function se(R){n.length=n.length-2*R,E.length=E.length-R,i.length=i.length-R}p(se,"popStack");function Rt(){var R;return R=T.pop()||k.lex()||Q,typeof R!="number"&&(R instanceof Array&&(T=R,R=T.pop()),R=f.symbols_[R]||R),R}p(Rt,"lex");for(var x,U,O,bt,J={},ft,Y,Nt,pt;;){if(U=n[n.length-1],this.defaultActions[U]?O=this.defaultActions[U]:((x===null||typeof x>"u")&&(x=Rt()),O=B[U]&&B[U][x]),typeof O>"u"||!O.length||!O[0]){var kt="";pt=[];for(ft in B[U])this.terminals_[ft]&&ft>ut&&pt.push("'"+this.terminals_[ft]+"'");k.showPosition?kt="Parse error on line "+(G+1)+`:
|
|
2
2
|
`+k.showPosition()+`
|
|
3
3
|
Expecting `+pt.join(", ")+", got '"+(this.terminals_[x]||x)+"'":kt="Parse error on line "+(G+1)+": Unexpected "+(x==Q?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(kt,{text:k.match,token:this.terminals_[x]||x,line:k.yylineno,loc:_t,expected:pt})}if(O[0]instanceof Array&&O.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+x);switch(O[0]){case 1:n.push(x),E.push(k.yytext),i.push(k.yylloc),n.push(O[1]),x=null,X=k.yyleng,d=k.yytext,G=k.yylineno,_t=k.yylloc;break;case 2:if(Y=this.productions_[O[1]][1],J.$=E[E.length-Y],J._$={first_line:i[i.length-(Y||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(Y||1)].first_column,last_column:i[i.length-1].last_column},ee&&(J._$.range=[i[i.length-(Y||1)].range[0],i[i.length-1].range[1]]),bt=this.performAction.apply(J,[d,X,G,W.yy,O[1],E,i].concat(Tt)),typeof bt<"u")return bt;Y&&(n=n.slice(0,-1*Y*2),E=E.slice(0,-1*Y),i=i.slice(0,-1*Y)),n.push(this.productions_[O[1]][0]),E.push(J.$),i.push(J._$),Nt=B[n[n.length-2]][n[n.length-1]],n.push(Nt);break;case 3:return!0}}return!0},"parse")},te=(function(){var V={EOF:1,parseError:p(function(f,n){if(this.yy.parser)this.yy.parser.parseError(f,n);else throw new Error(f)},"parseError"),setInput:p(function(o,f){return this.yy=f||this.yy||{},this._input=o,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:p(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var f=o.match(/(?:\r\n?|\n).*/g);return f?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:p(function(o){var f=o.length,n=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-f),this.offset-=f;var T=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),n.length-1&&(this.yylineno-=n.length-1);var E=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:n?(n.length===T.length?this.yylloc.first_column:0)+T[T.length-n.length].length-n[0].length:this.yylloc.first_column-f},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-f]),this.yyleng=this.yytext.length,this},"unput"),more:p(function(){return this._more=!0,this},"more"),reject:p(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:p(function(o){this.unput(this.match.slice(o))},"less"),pastInput:p(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:p(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:p(function(){var o=this.pastInput(),f=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Y as a,aM as e}from"./
|
|
1
|
+
import{Y as a,aM as e}from"./COofQgO0.js";const t={note:a,changes:e},c={note:"note",changes:"changes","local-changes":"changes","chat-changes":"changes","activity-changes":"changes"};function o(n){return c[n]??null}export{t as R,o as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as te,bo as a,br as le,bw as re,bp as ce,b as ae,bm as Ce}from"./CLAmm_T1.js";import{bs as oe,a7 as F,ay as P,W as u,bn as se,aA as o,aD as h,c9 as k,aB as E,ca as Le,bS as Z,a5 as K,bf as Oe,bA as Q,aC as Ye,c0 as Ze,bV as et,be as he,b$ as xe,b_ as _e,bO as we,bH as tt}from"./3SdAC2_C.js";import{i as j}from"./BFgvMDua.js";import{t as ie}from"./BwNrQXlF.js";import{c as q}from"./BwH4Bvte.js";import{n as ye,l as ze,c as $e}from"./CfNIzRu8.js";import{b as Ae,e as ue,f as rt}from"./CcJmuwXr.js";import{i as at,h as ot,a as st}from"./DaWmj23r.js";import{a_ as nt,a1 as lt,f as Ne}from"./nxtepGjE.js";import"./TB9r2XJy.js";import{u as je,c as it,o as Pe,f as ct,e as ut,a as dt,D as ft,b as vt,d as gt}from"./D2YDfFKv.js";import{c as mt,u as _t,s as pt,a as bt}from"./D9tVylVS.js";import{p as ht}from"./hkJYqn41.js";import"./CgrVbtN0.js";import{b as qe}from"./Dn334wJv.js";import"./C4jSaPCg.js";import{F as xt,a0 as wt}from"./DPttSllj.js";import"./CEE0831H.js";var yt=new Set(["$$slots","$$events","$$legacy","ref","class","forceMount","contained","staticPosition"]),Pt=E("<div></div>");function Ee(p,e){if(new.target)return te({component:Ee,...p});oe(e,!0);let c=a(e,"ref",15,null),n=a(e,"class",7),f=a(e,"forceMount",7,!1),g=a(e,"contained",7,!1),v=a(e,"staticPosition",7,!1),l=ce(e,yt);const i=je();var r={get ref(){return c()},set ref(_=null){c(_),o()},get class(){return n()},set class(_){n(_),o()},get forceMount(){return f()},set forceMount(_=!1){f(_),o()},get contained(){return g()},set contained(_=!1){g(_),o()},get staticPosition(){return v()},set staticPosition(_=!1){v(_),o()},$set:re,$on:(_,S)=>ae(e,_,S)},m=F(),O=P(m);{const _=(S,R)=>{let L=()=>(R?.()).props;var V=F(),U=P(V);{var ee=G=>{var X=Pt();Ae(X,s=>({...L(),"data-slot":"dialog-overlay","data-static-position":v()||void 0,class:s}),[()=>ue(g()||v()?"absolute":"fixed","inset-0 z-[var(--layer-modal)] bg-black/40 dark:bg-black/80 motion-reduce:animate-none motion-reduce:transition-none",n())]),ye(1,X,()=>ze,()=>Pe.backdrop.enter),ye(2,X,()=>$e,()=>Pe.backdrop.exit),u(G,X)},de=k(()=>f()||i());j(U,G=>{h(de)&&G(ee)})}u(S,V)};q(O,()=>it,(S,R)=>{R(S,le({forceMount:!0},()=>l,{get ref(){return c()},set ref(L){c(L)},child:_,$$slots:{child:!0}}))})}return u(p,m),se(r)}var Ot=new Set(["$$slots","$$events","$$legacy","ref","class","portalProps","container","size","forceMount","showCloseButton","closeDisabled","closeLabel","role","onInteractOutside","onOpenAutoFocus","onCloseAutoFocus","trapFocus","preventScroll","children"]),At=Ye('<svg aria-hidden="true" viewBox="0 0 16 16" fill="none"><path d="M3 3l10 10M13 3L3 13" stroke="currentColor" stroke-width="1.5"></path></svg>'),kt=E("<div><!> <!></div>"),Dt=E("<!> <!>",1);function Ft(p,e){if(new.target)return te({component:Ft,...p});oe(e,!0);const c=t=>{var A=Dt(),N=P(A);{let T=k(()=>!!v()),W=k(d);Ee(N,{get contained(){return h(T)},get staticPosition(){return h(W)}})}var Y=Z(N,2);{const T=(fe,ve)=>{let ge=()=>(ve?.()).props;var pe=F(),Be=P(pe);{var Re=De=>{var ne=kt();Ae(ne,(me,be)=>({...ge(),role:_(),"data-slot":"dialog-content","data-overlay-surface":!0,"data-size":l(),"data-static-position":me,class:be,"data-surface-level":C,onoutroend:x.finishExit}),[()=>d()||void 0,()=>ue(d()?"relative mx-auto":v()?"absolute":"fixed",!d()&&"left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2","dialog-editorial-content overlay-surface z-[var(--layer-modal)] grid w-full overflow-y-auto overscroll-contain p-6 text-popover-foreground outline-none motion-reduce:animate-none motion-reduce:transition-none",l()==="sm"&&(z==="compact"?"max-w-90":"max-w-100"),l()==="default"&&"max-w-110",l()==="lg"&&(z==="compact"?"max-w-120":"max-w-135"),l()==="wide"&&"max-w-2xl",l()==="editor"&&"max-w-6xl",bt(C),f())]);var Me=K(ne);ie(Me,()=>ee()??Oe);var Ge=Z(Me,2);{var Je=me=>{var be=F(),Ke=P(be);{const Qe=(Fe,Se)=>{Ne(Fe,le(()=>(Se?.()).props,{get"aria-label"(){return O()},get disabled(){return m()},variant:"ghost",size:"icon-sm",iconOnly:!0,class:"dialog-close-button absolute right-6 -translate-y-1/2 text-muted-foreground",children:(Ue,Ht)=>{var Xe=At();u(Ue,Xe)},$$slots:{default:!0}}))};q(Ke,()=>ft,(Fe,Se)=>{Se(Fe,{get disabled(){return m()},child:Qe,$$slots:{child:!0}})})}u(me,be)};j(Ge,me=>{r()&&me(Je)})}Q(ne),ye(1,ne,()=>ze,()=>Pe.dialog.enter),ye(2,ne,()=>$e,()=>Pe.dialog.exit),u(De,ne)},Ve=k(()=>J());j(Be,De=>{h(Ve)&&De(Re)})}u(fe,pe)};let W=k(()=>d()?I:$),H=k(()=>d()?I:L()),y=k(()=>d()?!1:V()),ke=k(()=>d()?!1:U());q(Y,()=>dt,(fe,ve)=>{ve(fe,le({forceMount:!0},()=>de,{onInteractOutside:b,get onOpenAutoFocus(){return h(W)},get onCloseAutoFocus(){return h(H)},get trapFocus(){return h(y)},get preventScroll(){return h(ke)},get ref(){return n()},set ref(ge){n(ge)},child:T,$$slots:{child:!0}}))})}u(t,A)};let n=a(e,"ref",15,null),f=a(e,"class",7),g=a(e,"portalProps",7),v=a(e,"container",7,null),l=a(e,"size",7,"default"),i=a(e,"forceMount",7,!1),r=a(e,"showCloseButton",7,!0),m=a(e,"closeDisabled",7,!1),O=a(e,"closeLabel",23,()=>Ce.ui_dialog_close_ariaLabel()),_=a(e,"role",7,"dialog"),S=a(e,"onInteractOutside",7),R=a(e,"onOpenAutoFocus",7),L=a(e,"onCloseAutoFocus",7),V=a(e,"trapFocus",7),U=a(e,"preventScroll",7),ee=a(e,"children",7),de=ce(e,Ot);const G=at(),X=ot();Le(()=>{const t=n();if(!(!t||!G))return G.register(t,X)});const s=je(),d=ct(),C=mt(_t()+2);pt(C);const z=nt(),J=()=>i()||s(),x=ut(J);ht(()=>n());function b(t){t.target instanceof Element&&t.target.closest("[data-image-lightbox-root]")&&t.preventDefault(),S()?.(t)}function $(t){if(R()?.(t),t.defaultPrevented||!n())return;const A=y=>y.closest('[data-slot="dialog-content"]')===n(),N=y=>!y.matches(':disabled, [aria-disabled="true"], [inert]')&&!y.closest("[inert]")&&y.getClientRects().length>0&&getComputedStyle(y).visibility==="visible",Y=Array.from(n().querySelectorAll('[data-dialog-primary-action], [data-slot="dialog-footer"] button, [data-slot="dialog-footer"] a[href]')).filter(A),T=Y.find(y=>y.hasAttribute("data-dialog-primary-action"))??Y.at(-1),W=Array.from(n().querySelectorAll('input:not([type="hidden"]), textarea, select, [contenteditable="true"]')).find(y=>A(y)&&N(y)),H=T&&N(T)?T:W??n();t.preventDefault(),H.focus({preventScroll:!0})}function I(t){t.preventDefault()}var D={get ref(){return n()},set ref(t=null){n(t),o()},get class(){return f()},set class(t){f(t),o()},get portalProps(){return g()},set portalProps(t){g(t),o()},get container(){return v()},set container(t=null){v(t),o()},get size(){return l()},set size(t="default"){l(t),o()},get forceMount(){return i()},set forceMount(t=!1){i(t),o()},get showCloseButton(){return r()},set showCloseButton(t=!0){r(t),o()},get closeDisabled(){return m()},set closeDisabled(t=!1){m(t),o()},get closeLabel(){return O()},set closeLabel(t=Ce.ui_dialog_close_ariaLabel()){O(t),o()},get role(){return _()},set role(t="dialog"){_(t),o()},get onInteractOutside(){return S()},set onInteractOutside(t){S(t),o()},get onOpenAutoFocus(){return R()},set onOpenAutoFocus(t){R(t),o()},get onCloseAutoFocus(){return L()},set onCloseAutoFocus(t){L(t),o()},get trapFocus(){return V()},set trapFocus(t){V(t),o()},get preventScroll(){return U()},set preventScroll(t){U(t),o()},get children(){return ee()},set children(t){ee(t),o()},$set:re,$on:(t,A)=>ae(e,t,A)},B=F(),w=P(B);{var M=t=>{var A=F(),N=P(A);{var Y=H=>{c(H)},T=k(()=>d()),W=H=>{var y=F(),ke=P(y);{let fe=k(()=>v()??g()?.to??G?.target());q(ke,()=>lt,(ve,ge)=>{ge(ve,le(g,{get to(){return h(fe)},children:(pe,Be)=>{c(pe)},$$slots:{default:!0}}))})}u(H,y)};j(N,H=>{h(T)?H(Y):H(W,-1)})}u(t,A)};j(w,t=>{x.mounted&&t(M)})}return u(p,B),se(D)}var St=new Set(["$$slots","$$events","$$legacy","ref","class"]);function Te(p,e){if(new.target)return te({component:Te,...p});oe(e,!0);let c=a(e,"ref",15,null),n=a(e,"class",7),f=ce(e,St);var g={get ref(){return c()},set ref(i=null){c(i),o()},get class(){return n()},set class(i){n(i),o()},$set:re,$on:(i,r)=>ae(e,i,r)},v=F(),l=P(v);{let i=k(()=>ue("type-caption break-words text-muted-foreground",n()));q(l,()=>vt,(r,m)=>{m(r,le({"data-slot":"dialog-description",get class(){return h(i)}},()=>f,{get ref(){return c()},set ref(O){c(O)}}))})}return u(p,v),se(g)}var Ct=new Set(["$$slots","$$events","$$legacy","ref","class","children"]),It=E("<div><!></div>");function We(p,e){if(new.target)return te({component:We,...p});oe(e,!0);let c=a(e,"ref",15,null),n=a(e,"class",7),f=a(e,"children",7),g=ce(e,Ct);var v={get ref(){return c()},set ref(r=null){c(r),o()},get class(){return n()},set class(r){n(r),o()},get children(){return f()},set children(r){f(r),o()},$set:re,$on:(r,m)=>ae(e,r,m)},l=It();Ae(l,r=>({"data-slot":"dialog-footer",class:r,...g}),[()=>ue("dialog-actions mt-6 flex min-w-0 flex-wrap items-center justify-end gap-2",n())],void 0,void 0,"svelte-1xlmj20");var i=K(l);return ie(i,()=>f()??Oe),Q(l),qe(l,r=>c(r),()=>c()),u(p,l),se(v)}var Bt=new Set(["$$slots","$$events","$$legacy","ref","class","children"]),Mt=E("<div><!></div>");function He(p,e){if(new.target)return te({component:He,...p});oe(e,!0);let c=a(e,"ref",15,null),n=a(e,"class",7),f=a(e,"children",7),g=ce(e,Bt);var v={get ref(){return c()},set ref(r=null){c(r),o()},get class(){return n()},set class(r){n(r),o()},get children(){return f()},set children(r){f(r),o()},$set:re,$on:(r,m)=>ae(e,r,m)},l=Mt();Ae(l,r=>({"data-slot":"dialog-header",class:r,...g}),[()=>ue("mb-4 flex min-w-0 flex-col gap-1.5 pr-8",n())]);var i=K(l);return ie(i,()=>f()??Oe),Q(l),qe(l,r=>c(r),()=>c()),u(p,l),se(v)}var Lt=new Set(["$$slots","$$events","$$legacy","ref","class"]);function Ie(p,e){if(new.target)return te({component:Ie,...p});oe(e,!0);let c=a(e,"ref",15,null),n=a(e,"class",7),f=ce(e,Lt);var g={get ref(){return c()},set ref(i=null){c(i),o()},get class(){return n()},set class(i){n(i),o()},$set:re,$on:(i,r)=>ae(e,i,r)},v=F(),l=P(v);{let i=k(()=>ue("type-title font-bold text-foreground [anchor-name:--dialog-title]",n()));q(l,()=>gt,(r,m)=>{m(r,le({"data-slot":"dialog-title",get class(){return h(i)}},()=>f,{get ref(){return c()},set ref(O){c(O)}}))})}return u(p,v),se(g)}var zt=E('<div class="flex min-w-0 items-center gap-2"><!> <!></div>'),$t=E('<div class="flex min-w-0 flex-wrap items-center justify-between gap-3"><!> <div class="absolute right-14 top-[calc(1.5rem+var(--text-title-line-height)/2)] -translate-y-1/2"><!></div></div>'),Nt=E("<!> <!>",1),jt=E('<div data-slot="dialog-body"><div class="grid min-w-0 grid-cols-1 gap-4"><!> <!></div></div>'),qt=E('<div class="h-6 shrink-0" aria-hidden="true"></div>'),Et=E('<div class="dialog-layout flex min-h-0 min-w-0 flex-1 flex-col svelte-df1l0r"><!> <!> <!></div>');function Tt(p,e){if(new.target)return te({component:Tt,...p});oe(e,!0);const c=s=>{var d=F(),C=P(d);{var z=x=>{var b=zt(),$=K(b);{let D=k(()=>_()??Ce.ui_navButtons_goBack_tooltip());Ne($,{variant:"ghost",size:"icon",class:"-my-1",get"aria-label"(){return h(D)},get onclick(){return O()},get ref(){return h(S)},set ref(B){tt(S,B,!0)},children:(B,w)=>{xt(B,{get icon(){return wt}})},$$slots:{default:!0}})}var I=Z($,2);q(I,()=>Ie,(D,B)=>{B(D,{get id(){return g()},children:(w,M)=>{he();var t=xe();_e(()=>we(t,n())),u(w,t)},$$slots:{default:!0}})}),Q(b),u(x,b)},J=x=>{var b=F(),$=P(b);q($,()=>Ie,(I,D)=>{D(I,{get id(){return g()},children:(B,w)=>{he();var M=xe();_e(()=>we(M,n())),u(B,M)},$$slots:{default:!0}})}),u(x,b)};j(C,x=>{O()?x(z):x(J,-1)})}u(s,d)};let n=a(e,"title",7),f=a(e,"description",7),g=a(e,"titleId",7),v=a(e,"descriptionId",7),l=a(e,"children",7),i=a(e,"headerActions",7),r=a(e,"footer",7),m=a(e,"error",7),O=a(e,"onBack",7),_=a(e,"backLabel",7),S=et(null);Le(()=>{O()&&Ze().then(()=>h(S)?.focus())});var R={get title(){return n()},set title(s){n(s),o()},get description(){return f()},set description(s){f(s),o()},get titleId(){return g()},set titleId(s){g(s),o()},get descriptionId(){return v()},set descriptionId(s){v(s),o()},get children(){return l()},set children(s){l(s),o()},get headerActions(){return i()},set headerActions(s){i(s),o()},get footer(){return r()},set footer(s){r(s),o()},get error(){return m()},set error(s){m(s),o()},get onBack(){return O()},set onBack(s){O(s),o()},get backLabel(){return _()},set backLabel(s){_(s),o()},$set:re,$on:(s,d)=>ae(e,s,d)},L=Et(),V=K(L);{let s=k(()=>i()?"pr-22":"pr-14");q(V,()=>He,(d,C)=>{C(d,{get class(){return`m-0 shrink-0 px-6 pt-6 ${h(s)??""}`},children:(z,J)=>{var x=Nt(),b=P(x);{var $=w=>{var M=$t(),t=K(M);c(t);var A=Z(t,2),N=K(A);ie(N,i),Q(A),Q(M),u(w,M)},I=w=>{c(w)};j(b,w=>{i()?w($):w(I,-1)})}var D=Z(b,2);{var B=w=>{var M=F(),t=P(M);q(t,()=>Te,(A,N)=>{N(A,{get id(){return v()},children:(Y,T)=>{he();var W=xe();_e(()=>we(W,f())),u(Y,W)},$$slots:{default:!0}})}),u(w,M)};j(D,w=>{f()&&w(B)})}u(z,x)},$$slots:{default:!0}})})}var U=Z(V,2);{var ee=s=>{var d=jt(),C=K(d),z=K(C);ie(z,()=>l()??Oe);var J=Z(z,2);{var x=b=>{st(b,{tone:"error",children:($,I)=>{he();var D=xe();_e(()=>we(D,m())),u($,D)},$$slots:{default:!0}})};j(J,b=>{m()&&b(x)})}Q(C),Q(d),_e(()=>rt(d,1,`min-h-0 min-w-0 overflow-y-auto overscroll-contain px-6 pt-5 ${r()?"pb-5":"pb-6"}`)),u(s,d)};j(U,s=>{(l()||m())&&s(ee)})}var de=Z(U,2);{var G=s=>{var d=F(),C=P(d);{let z=k(()=>l()?"m-0 shrink-0 px-6 pb-6":"m-0 shrink-0 p-6");q(C,()=>We,(J,x)=>{x(J,{get class(){return h(z)},children:(b,$)=>{var I=F(),D=P(I);ie(D,r),u(b,I)},$$slots:{default:!0}})})}u(s,d)},X=s=>{var d=qt();u(s,d)};j(de,s=>{r()?s(G):l()||s(X,1)})}return Q(L),u(p,L),se(R)}export{Tt as D,Ft as a,Te as b,Ie as c};
|
|
1
|
+
import{t as te,bo as a,br as le,bw as re,bp as ce,b as ae,bm as Ce}from"./CtfEuoOH.js";import{bs as oe,a7 as F,ay as P,W as u,bn as se,aA as o,aD as h,c9 as k,aB as E,ca as Le,bS as Z,a5 as K,bf as Oe,bA as Q,aC as Ye,c0 as Ze,bV as et,be as he,b$ as xe,b_ as _e,bO as we,bH as tt}from"./3SdAC2_C.js";import{i as j}from"./DynUeYUu.js";import{t as ie}from"./CGmYraIa.js";import{c as q}from"./BZ27qIg1.js";import{n as ye,l as ze,c as $e}from"./Bx1P9uW7.js";import{b as Ae,e as ue,f as rt}from"./B26ZHg3s.js";import{i as at,h as ot,a as st}from"./DcraaizU.js";import{a_ as nt,a1 as lt,f as Ne}from"./D9R5fzn8.js";import"./CT8vPg_p.js";import{u as je,c as it,o as Pe,f as ct,e as ut,a as dt,D as ft,b as vt,d as gt}from"./DW8fwVBf.js";import{c as mt,u as _t,s as pt,a as bt}from"./D9tVylVS.js";import{p as ht}from"./CTgYTdXw.js";import"./BS9WBIBb.js";import{b as qe}from"./Dn334wJv.js";import"./B3T1oiJl.js";import{F as xt,a0 as wt}from"./COofQgO0.js";import"./Bz80vYvX.js";var yt=new Set(["$$slots","$$events","$$legacy","ref","class","forceMount","contained","staticPosition"]),Pt=E("<div></div>");function Ee(p,e){if(new.target)return te({component:Ee,...p});oe(e,!0);let c=a(e,"ref",15,null),n=a(e,"class",7),f=a(e,"forceMount",7,!1),g=a(e,"contained",7,!1),v=a(e,"staticPosition",7,!1),l=ce(e,yt);const i=je();var r={get ref(){return c()},set ref(_=null){c(_),o()},get class(){return n()},set class(_){n(_),o()},get forceMount(){return f()},set forceMount(_=!1){f(_),o()},get contained(){return g()},set contained(_=!1){g(_),o()},get staticPosition(){return v()},set staticPosition(_=!1){v(_),o()},$set:re,$on:(_,S)=>ae(e,_,S)},m=F(),O=P(m);{const _=(S,R)=>{let L=()=>(R?.()).props;var V=F(),U=P(V);{var ee=G=>{var X=Pt();Ae(X,s=>({...L(),"data-slot":"dialog-overlay","data-static-position":v()||void 0,class:s}),[()=>ue(g()||v()?"absolute":"fixed","inset-0 z-[var(--layer-modal)] bg-black/40 dark:bg-black/80 motion-reduce:animate-none motion-reduce:transition-none",n())]),ye(1,X,()=>ze,()=>Pe.backdrop.enter),ye(2,X,()=>$e,()=>Pe.backdrop.exit),u(G,X)},de=k(()=>f()||i());j(U,G=>{h(de)&&G(ee)})}u(S,V)};q(O,()=>it,(S,R)=>{R(S,le({forceMount:!0},()=>l,{get ref(){return c()},set ref(L){c(L)},child:_,$$slots:{child:!0}}))})}return u(p,m),se(r)}var Ot=new Set(["$$slots","$$events","$$legacy","ref","class","portalProps","container","size","forceMount","showCloseButton","closeDisabled","closeLabel","role","onInteractOutside","onOpenAutoFocus","onCloseAutoFocus","trapFocus","preventScroll","children"]),At=Ye('<svg aria-hidden="true" viewBox="0 0 16 16" fill="none"><path d="M3 3l10 10M13 3L3 13" stroke="currentColor" stroke-width="1.5"></path></svg>'),kt=E("<div><!> <!></div>"),Dt=E("<!> <!>",1);function Ft(p,e){if(new.target)return te({component:Ft,...p});oe(e,!0);const c=t=>{var A=Dt(),N=P(A);{let T=k(()=>!!v()),W=k(d);Ee(N,{get contained(){return h(T)},get staticPosition(){return h(W)}})}var Y=Z(N,2);{const T=(fe,ve)=>{let ge=()=>(ve?.()).props;var pe=F(),Be=P(pe);{var Re=De=>{var ne=kt();Ae(ne,(me,be)=>({...ge(),role:_(),"data-slot":"dialog-content","data-overlay-surface":!0,"data-size":l(),"data-static-position":me,class:be,"data-surface-level":C,onoutroend:x.finishExit}),[()=>d()||void 0,()=>ue(d()?"relative mx-auto":v()?"absolute":"fixed",!d()&&"left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2","dialog-editorial-content overlay-surface z-[var(--layer-modal)] grid w-full overflow-y-auto overscroll-contain p-6 text-popover-foreground outline-none motion-reduce:animate-none motion-reduce:transition-none",l()==="sm"&&(z==="compact"?"max-w-90":"max-w-100"),l()==="default"&&"max-w-110",l()==="lg"&&(z==="compact"?"max-w-120":"max-w-135"),l()==="wide"&&"max-w-2xl",l()==="editor"&&"max-w-6xl",bt(C),f())]);var Me=K(ne);ie(Me,()=>ee()??Oe);var Ge=Z(Me,2);{var Je=me=>{var be=F(),Ke=P(be);{const Qe=(Fe,Se)=>{Ne(Fe,le(()=>(Se?.()).props,{get"aria-label"(){return O()},get disabled(){return m()},variant:"ghost",size:"icon-sm",iconOnly:!0,class:"dialog-close-button absolute right-6 -translate-y-1/2 text-muted-foreground",children:(Ue,Ht)=>{var Xe=At();u(Ue,Xe)},$$slots:{default:!0}}))};q(Ke,()=>ft,(Fe,Se)=>{Se(Fe,{get disabled(){return m()},child:Qe,$$slots:{child:!0}})})}u(me,be)};j(Ge,me=>{r()&&me(Je)})}Q(ne),ye(1,ne,()=>ze,()=>Pe.dialog.enter),ye(2,ne,()=>$e,()=>Pe.dialog.exit),u(De,ne)},Ve=k(()=>J());j(Be,De=>{h(Ve)&&De(Re)})}u(fe,pe)};let W=k(()=>d()?I:$),H=k(()=>d()?I:L()),y=k(()=>d()?!1:V()),ke=k(()=>d()?!1:U());q(Y,()=>dt,(fe,ve)=>{ve(fe,le({forceMount:!0},()=>de,{onInteractOutside:b,get onOpenAutoFocus(){return h(W)},get onCloseAutoFocus(){return h(H)},get trapFocus(){return h(y)},get preventScroll(){return h(ke)},get ref(){return n()},set ref(ge){n(ge)},child:T,$$slots:{child:!0}}))})}u(t,A)};let n=a(e,"ref",15,null),f=a(e,"class",7),g=a(e,"portalProps",7),v=a(e,"container",7,null),l=a(e,"size",7,"default"),i=a(e,"forceMount",7,!1),r=a(e,"showCloseButton",7,!0),m=a(e,"closeDisabled",7,!1),O=a(e,"closeLabel",23,()=>Ce.ui_dialog_close_ariaLabel()),_=a(e,"role",7,"dialog"),S=a(e,"onInteractOutside",7),R=a(e,"onOpenAutoFocus",7),L=a(e,"onCloseAutoFocus",7),V=a(e,"trapFocus",7),U=a(e,"preventScroll",7),ee=a(e,"children",7),de=ce(e,Ot);const G=at(),X=ot();Le(()=>{const t=n();if(!(!t||!G))return G.register(t,X)});const s=je(),d=ct(),C=mt(_t()+2);pt(C);const z=nt(),J=()=>i()||s(),x=ut(J);ht(()=>n());function b(t){t.target instanceof Element&&t.target.closest("[data-image-lightbox-root]")&&t.preventDefault(),S()?.(t)}function $(t){if(R()?.(t),t.defaultPrevented||!n())return;const A=y=>y.closest('[data-slot="dialog-content"]')===n(),N=y=>!y.matches(':disabled, [aria-disabled="true"], [inert]')&&!y.closest("[inert]")&&y.getClientRects().length>0&&getComputedStyle(y).visibility==="visible",Y=Array.from(n().querySelectorAll('[data-dialog-primary-action], [data-slot="dialog-footer"] button, [data-slot="dialog-footer"] a[href]')).filter(A),T=Y.find(y=>y.hasAttribute("data-dialog-primary-action"))??Y.at(-1),W=Array.from(n().querySelectorAll('input:not([type="hidden"]), textarea, select, [contenteditable="true"]')).find(y=>A(y)&&N(y)),H=T&&N(T)?T:W??n();t.preventDefault(),H.focus({preventScroll:!0})}function I(t){t.preventDefault()}var D={get ref(){return n()},set ref(t=null){n(t),o()},get class(){return f()},set class(t){f(t),o()},get portalProps(){return g()},set portalProps(t){g(t),o()},get container(){return v()},set container(t=null){v(t),o()},get size(){return l()},set size(t="default"){l(t),o()},get forceMount(){return i()},set forceMount(t=!1){i(t),o()},get showCloseButton(){return r()},set showCloseButton(t=!0){r(t),o()},get closeDisabled(){return m()},set closeDisabled(t=!1){m(t),o()},get closeLabel(){return O()},set closeLabel(t=Ce.ui_dialog_close_ariaLabel()){O(t),o()},get role(){return _()},set role(t="dialog"){_(t),o()},get onInteractOutside(){return S()},set onInteractOutside(t){S(t),o()},get onOpenAutoFocus(){return R()},set onOpenAutoFocus(t){R(t),o()},get onCloseAutoFocus(){return L()},set onCloseAutoFocus(t){L(t),o()},get trapFocus(){return V()},set trapFocus(t){V(t),o()},get preventScroll(){return U()},set preventScroll(t){U(t),o()},get children(){return ee()},set children(t){ee(t),o()},$set:re,$on:(t,A)=>ae(e,t,A)},B=F(),w=P(B);{var M=t=>{var A=F(),N=P(A);{var Y=H=>{c(H)},T=k(()=>d()),W=H=>{var y=F(),ke=P(y);{let fe=k(()=>v()??g()?.to??G?.target());q(ke,()=>lt,(ve,ge)=>{ge(ve,le(g,{get to(){return h(fe)},children:(pe,Be)=>{c(pe)},$$slots:{default:!0}}))})}u(H,y)};j(N,H=>{h(T)?H(Y):H(W,-1)})}u(t,A)};j(w,t=>{x.mounted&&t(M)})}return u(p,B),se(D)}var St=new Set(["$$slots","$$events","$$legacy","ref","class"]);function Te(p,e){if(new.target)return te({component:Te,...p});oe(e,!0);let c=a(e,"ref",15,null),n=a(e,"class",7),f=ce(e,St);var g={get ref(){return c()},set ref(i=null){c(i),o()},get class(){return n()},set class(i){n(i),o()},$set:re,$on:(i,r)=>ae(e,i,r)},v=F(),l=P(v);{let i=k(()=>ue("type-caption break-words text-muted-foreground",n()));q(l,()=>vt,(r,m)=>{m(r,le({"data-slot":"dialog-description",get class(){return h(i)}},()=>f,{get ref(){return c()},set ref(O){c(O)}}))})}return u(p,v),se(g)}var Ct=new Set(["$$slots","$$events","$$legacy","ref","class","children"]),It=E("<div><!></div>");function We(p,e){if(new.target)return te({component:We,...p});oe(e,!0);let c=a(e,"ref",15,null),n=a(e,"class",7),f=a(e,"children",7),g=ce(e,Ct);var v={get ref(){return c()},set ref(r=null){c(r),o()},get class(){return n()},set class(r){n(r),o()},get children(){return f()},set children(r){f(r),o()},$set:re,$on:(r,m)=>ae(e,r,m)},l=It();Ae(l,r=>({"data-slot":"dialog-footer",class:r,...g}),[()=>ue("dialog-actions mt-6 flex min-w-0 flex-wrap items-center justify-end gap-2",n())],void 0,void 0,"svelte-1xlmj20");var i=K(l);return ie(i,()=>f()??Oe),Q(l),qe(l,r=>c(r),()=>c()),u(p,l),se(v)}var Bt=new Set(["$$slots","$$events","$$legacy","ref","class","children"]),Mt=E("<div><!></div>");function He(p,e){if(new.target)return te({component:He,...p});oe(e,!0);let c=a(e,"ref",15,null),n=a(e,"class",7),f=a(e,"children",7),g=ce(e,Bt);var v={get ref(){return c()},set ref(r=null){c(r),o()},get class(){return n()},set class(r){n(r),o()},get children(){return f()},set children(r){f(r),o()},$set:re,$on:(r,m)=>ae(e,r,m)},l=Mt();Ae(l,r=>({"data-slot":"dialog-header",class:r,...g}),[()=>ue("mb-4 flex min-w-0 flex-col gap-1.5 pr-8",n())]);var i=K(l);return ie(i,()=>f()??Oe),Q(l),qe(l,r=>c(r),()=>c()),u(p,l),se(v)}var Lt=new Set(["$$slots","$$events","$$legacy","ref","class"]);function Ie(p,e){if(new.target)return te({component:Ie,...p});oe(e,!0);let c=a(e,"ref",15,null),n=a(e,"class",7),f=ce(e,Lt);var g={get ref(){return c()},set ref(i=null){c(i),o()},get class(){return n()},set class(i){n(i),o()},$set:re,$on:(i,r)=>ae(e,i,r)},v=F(),l=P(v);{let i=k(()=>ue("type-title font-bold text-foreground [anchor-name:--dialog-title]",n()));q(l,()=>gt,(r,m)=>{m(r,le({"data-slot":"dialog-title",get class(){return h(i)}},()=>f,{get ref(){return c()},set ref(O){c(O)}}))})}return u(p,v),se(g)}var zt=E('<div class="flex min-w-0 items-center gap-2"><!> <!></div>'),$t=E('<div class="flex min-w-0 flex-wrap items-center justify-between gap-3"><!> <div class="absolute right-14 top-[calc(1.5rem+var(--text-title-line-height)/2)] -translate-y-1/2"><!></div></div>'),Nt=E("<!> <!>",1),jt=E('<div data-slot="dialog-body"><div class="grid min-w-0 grid-cols-1 gap-4"><!> <!></div></div>'),qt=E('<div class="h-6 shrink-0" aria-hidden="true"></div>'),Et=E('<div class="dialog-layout flex min-h-0 min-w-0 flex-1 flex-col svelte-df1l0r"><!> <!> <!></div>');function Tt(p,e){if(new.target)return te({component:Tt,...p});oe(e,!0);const c=s=>{var d=F(),C=P(d);{var z=x=>{var b=zt(),$=K(b);{let D=k(()=>_()??Ce.ui_navButtons_goBack_tooltip());Ne($,{variant:"ghost",size:"icon",class:"-my-1",get"aria-label"(){return h(D)},get onclick(){return O()},get ref(){return h(S)},set ref(B){tt(S,B,!0)},children:(B,w)=>{xt(B,{get icon(){return wt}})},$$slots:{default:!0}})}var I=Z($,2);q(I,()=>Ie,(D,B)=>{B(D,{get id(){return g()},children:(w,M)=>{he();var t=xe();_e(()=>we(t,n())),u(w,t)},$$slots:{default:!0}})}),Q(b),u(x,b)},J=x=>{var b=F(),$=P(b);q($,()=>Ie,(I,D)=>{D(I,{get id(){return g()},children:(B,w)=>{he();var M=xe();_e(()=>we(M,n())),u(B,M)},$$slots:{default:!0}})}),u(x,b)};j(C,x=>{O()?x(z):x(J,-1)})}u(s,d)};let n=a(e,"title",7),f=a(e,"description",7),g=a(e,"titleId",7),v=a(e,"descriptionId",7),l=a(e,"children",7),i=a(e,"headerActions",7),r=a(e,"footer",7),m=a(e,"error",7),O=a(e,"onBack",7),_=a(e,"backLabel",7),S=et(null);Le(()=>{O()&&Ze().then(()=>h(S)?.focus())});var R={get title(){return n()},set title(s){n(s),o()},get description(){return f()},set description(s){f(s),o()},get titleId(){return g()},set titleId(s){g(s),o()},get descriptionId(){return v()},set descriptionId(s){v(s),o()},get children(){return l()},set children(s){l(s),o()},get headerActions(){return i()},set headerActions(s){i(s),o()},get footer(){return r()},set footer(s){r(s),o()},get error(){return m()},set error(s){m(s),o()},get onBack(){return O()},set onBack(s){O(s),o()},get backLabel(){return _()},set backLabel(s){_(s),o()},$set:re,$on:(s,d)=>ae(e,s,d)},L=Et(),V=K(L);{let s=k(()=>i()?"pr-22":"pr-14");q(V,()=>He,(d,C)=>{C(d,{get class(){return`m-0 shrink-0 px-6 pt-6 ${h(s)??""}`},children:(z,J)=>{var x=Nt(),b=P(x);{var $=w=>{var M=$t(),t=K(M);c(t);var A=Z(t,2),N=K(A);ie(N,i),Q(A),Q(M),u(w,M)},I=w=>{c(w)};j(b,w=>{i()?w($):w(I,-1)})}var D=Z(b,2);{var B=w=>{var M=F(),t=P(M);q(t,()=>Te,(A,N)=>{N(A,{get id(){return v()},children:(Y,T)=>{he();var W=xe();_e(()=>we(W,f())),u(Y,W)},$$slots:{default:!0}})}),u(w,M)};j(D,w=>{f()&&w(B)})}u(z,x)},$$slots:{default:!0}})})}var U=Z(V,2);{var ee=s=>{var d=jt(),C=K(d),z=K(C);ie(z,()=>l()??Oe);var J=Z(z,2);{var x=b=>{st(b,{tone:"error",children:($,I)=>{he();var D=xe();_e(()=>we(D,m())),u($,D)},$$slots:{default:!0}})};j(J,b=>{m()&&b(x)})}Q(C),Q(d),_e(()=>rt(d,1,`min-h-0 min-w-0 overflow-y-auto overscroll-contain px-6 pt-5 ${r()?"pb-5":"pb-6"}`)),u(s,d)};j(U,s=>{(l()||m())&&s(ee)})}var de=Z(U,2);{var G=s=>{var d=F(),C=P(d);{let z=k(()=>l()?"m-0 shrink-0 px-6 pb-6":"m-0 shrink-0 p-6");q(C,()=>We,(J,x)=>{x(J,{get class(){return h(z)},children:(b,$)=>{var I=F(),D=P(I);ie(D,r),u(b,I)},$$slots:{default:!0}})})}u(s,d)},X=s=>{var d=qt();u(s,d)};j(de,s=>{r()?s(G):l()||s(X,1)})}return Q(L),u(p,L),se(R)}export{Tt as D,Ft as a,Te as b,Ie as c};
|