@intent-hq/web 2.378.0 → 2.379.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/assets/{0.CntaSdOs.css → 0.CTPF0Qlx.css} +1 -1
- package/web/app/immutable/chunks/{CI7RbtEr.js → -WAhkWcN.js} +1 -1
- package/web/app/immutable/chunks/{DrJzqwYl.js → 3LDzw5hr.js} +1 -1
- package/web/app/immutable/chunks/{BqwJFhy0.js → 3gy7b498.js} +1 -1
- package/web/app/immutable/chunks/{DxRn1b69.js → 5JKCI89x.js} +1 -1
- package/web/app/immutable/chunks/{Cha0m9_p.js → 7xVzJhz9.js} +3 -3
- package/web/app/immutable/chunks/{H1XKoyU7.js → 95fFKc_B.js} +1 -1
- package/web/app/immutable/chunks/{BiyXqzpr.js → 99N6trPd.js} +1 -1
- package/web/app/immutable/chunks/{Ct7u3x4Z.js → 9Oy7dzP1.js} +1 -1
- package/web/app/immutable/chunks/{BOjnK0ib.js → 9Wfd5HgS.js} +1 -1
- package/web/app/immutable/chunks/{C9q9AVLE.js → ASj4zc4i.js} +1 -1
- package/web/app/immutable/chunks/{CDK1PUhb.js → AX9GlL7f.js} +1 -1
- package/web/app/immutable/chunks/{D7x-7T1z.js → B-VOV29o.js} +1 -1
- package/web/app/immutable/chunks/{Bzs3gWUn.js → B-qkLMcw.js} +1 -1
- package/web/app/immutable/chunks/{CWdPByc8.js → B08HT3WC.js} +1 -1
- package/web/app/immutable/chunks/{DhZiRE53.js → B09v4S72.js} +1 -1
- package/web/app/immutable/chunks/{bWHoQAZ0.js → B0xk6zYz.js} +1 -1
- package/web/app/immutable/chunks/{BR7wr0TX.js → B1sTTKq-.js} +1 -1
- package/web/app/immutable/chunks/{B8vdzcge.js → B23p8GKo.js} +1 -1
- package/web/app/immutable/chunks/{DuKUDTXp.js → B2kxgCpF.js} +4 -4
- package/web/app/immutable/chunks/{FJwOmaJn.js → B5OCsMya.js} +1 -1
- package/web/app/immutable/chunks/{DHOJXRBs.js → B5qu4FK-.js} +1 -1
- package/web/app/immutable/chunks/{YCbY89i6.js → B5x8b2Md.js} +1 -1
- package/web/app/immutable/chunks/{BFBac69t.js → B61Vm2jJ.js} +1 -1
- package/web/app/immutable/chunks/{CMRXj5iU.js → B6ARnCFm.js} +1 -1
- package/web/app/immutable/chunks/{CYF61-VE.js → B7Mft14L.js} +3 -3
- package/web/app/immutable/chunks/{DNg21Y1b.js → B7QvV8MS.js} +1 -1
- package/web/app/immutable/chunks/{C_iKPxuE.js → B7pJ0oQN.js} +3 -3
- package/web/app/immutable/chunks/{D7wqIX40.js → B90WO3Nw.js} +1 -1
- package/web/app/immutable/chunks/{CqsHYBSd.js → B9QnX69E.js} +1 -1
- package/web/app/immutable/chunks/{Bjpdj-Rz.js → BAaqzMEP.js} +1 -1
- package/web/app/immutable/chunks/{D3e1peXC.js → BBibLZN0.js} +1 -1
- package/web/app/immutable/chunks/{B6IP3G-s.js → BDciodIO.js} +1 -1
- package/web/app/immutable/chunks/{BRHA9tcr.js → BED17zwc.js} +2 -2
- package/web/app/immutable/chunks/BEKwCWB-.js +1 -0
- package/web/app/immutable/chunks/{DwpTtGo9.js → BFHz4Mic.js} +4 -4
- package/web/app/immutable/chunks/{BKSCrb1m.js → BGpvxEza.js} +1 -1
- package/web/app/immutable/chunks/{RKhqePYS.js → BHl8a9sq.js} +1 -1
- package/web/app/immutable/chunks/{Dn1azdNN.js → BI0xIaK5.js} +1 -1
- package/web/app/immutable/chunks/{D1DuB8m6.js → BIpZTv4V.js} +1 -1
- package/web/app/immutable/chunks/{NppR00xP.js → BLp3-Mdk.js} +2 -2
- package/web/app/immutable/chunks/{D5n4bmLW.js → BMz9z95U.js} +1 -1
- package/web/app/immutable/chunks/{DPVg7jvq.js → BOIa3b7l.js} +1 -1
- package/web/app/immutable/chunks/{BGsL8K0y.js → BOVF8j6B.js} +1 -1
- package/web/app/immutable/chunks/{Y8mQJY9P.js → BOlkYOOx.js} +1 -1
- package/web/app/immutable/chunks/{DkuxYFAh.js → BOrCm7f7.js} +1 -1
- package/web/app/immutable/chunks/{1RAMMSz2.js → BQiJMsZZ.js} +1 -1
- package/web/app/immutable/chunks/{D95TUop3.js → BSD-ntGx.js} +1 -1
- package/web/app/immutable/chunks/{CDLMG5g2.js → BT1eR3Bj.js} +1 -1
- package/web/app/immutable/chunks/{BMqjLC9C.js → BUOJIxHm.js} +1 -1
- package/web/app/immutable/chunks/{BupGSW0e.js → BVGm2-7m.js} +1 -1
- package/web/app/immutable/chunks/{DRCQRBOX.js → BVVYfWqp.js} +1 -1
- package/web/app/immutable/chunks/{nNR5liVx.js → BVdTA_y5.js} +1 -1
- package/web/app/immutable/chunks/{DNxs15P5.js → BVhmKG23.js} +1 -1
- package/web/app/immutable/chunks/{CH6hoQCh.js → BWP_R2MA.js} +1 -1
- package/web/app/immutable/chunks/{Dl5T14-N.js → BXA0q2RP.js} +1 -1
- package/web/app/immutable/chunks/{BDWzwjAw.js → BXEhOBKy.js} +1 -1
- package/web/app/immutable/chunks/{CMITzGAq.js → BXWV2GsM.js} +1 -1
- package/web/app/immutable/chunks/{DNAYSx3o.js → BZD36hSJ.js} +1 -1
- package/web/app/immutable/chunks/{dC4Ouk4t.js → BZi270zL.js} +1 -1
- package/web/app/immutable/chunks/{DXvCGoHo.js → B_7rDlJA.js} +1 -1
- package/web/app/immutable/chunks/{C9XPvdvP.js → B_SqXKMX.js} +1 -1
- package/web/app/immutable/chunks/{C1-QjOg0.js → B_rj1oI3.js} +1 -1
- package/web/app/immutable/chunks/{D4BcrleY.js → BblUoKwU.js} +1 -1
- package/web/app/immutable/chunks/{DXxnoOGg.js → BhP2yLip.js} +1 -1
- package/web/app/immutable/chunks/{CC73Ord3.js → Bjc6stZr.js} +1 -1
- package/web/app/immutable/chunks/{AHKUBHmH.js → BkE4ThRL.js} +2 -2
- package/web/app/immutable/chunks/{DpwIptaI.js → BkK6L2aU.js} +1 -1
- package/web/app/immutable/chunks/{DAkxD-CW.js → Bln5N5gf.js} +1 -1
- package/web/app/immutable/chunks/{B16ZhAkF.js → Bm1YRNX5.js} +1 -1
- package/web/app/immutable/chunks/{BRyCucnb.js → BmMxtG34.js} +1 -1
- package/web/app/immutable/chunks/{CQco45Cg.js → BmusT0yN.js} +3 -3
- package/web/app/immutable/chunks/{C5Zy1enh.js → BncYKhak.js} +1 -1
- package/web/app/immutable/chunks/{ChB7enBh.js → BpUidpA4.js} +1 -1
- package/web/app/immutable/chunks/{DLE3vveN.js → BpzZdAGA.js} +1 -1
- package/web/app/immutable/chunks/{CuWqPurf.js → BpznkfWn.js} +1 -1
- package/web/app/immutable/chunks/{Bf_h69U3.js → Bqdjarag.js} +1 -1
- package/web/app/immutable/chunks/{yYqgfv9t.js → BqnC5jpg.js} +1 -1
- package/web/app/immutable/chunks/{IclfFZoe.js → Bqvx2p-8.js} +1 -1
- package/web/app/immutable/chunks/{DEsbP_jO.js → BrF70gz7.js} +1 -1
- package/web/app/immutable/chunks/{qdAkw__e.js → Bs9C3yw5.js} +1 -1
- package/web/app/immutable/chunks/{yTn_UE0E.js → BtupVFyT.js} +1 -1
- package/web/app/immutable/chunks/{BOW58NW5.js → Bue8rt91.js} +1 -1
- package/web/app/immutable/chunks/{a3l5znCa.js → BwJyU0G0.js} +2 -2
- package/web/app/immutable/chunks/{DzEfixuL.js → Bwe4xLDo.js} +1 -1
- package/web/app/immutable/chunks/{BTiEQBIg.js → Bx1sm-W9.js} +1 -1
- package/web/app/immutable/chunks/{DTPgmjai.js → Bx3lRAzK.js} +1 -1
- package/web/app/immutable/chunks/{BFxBQddb.js → Byz3i90Q.js} +1 -1
- package/web/app/immutable/chunks/{DdNx-LMu.js → Bz1UdUMu.js} +1 -1
- package/web/app/immutable/chunks/{Cr0HizBS.js → Bz43dY69.js} +1 -1
- package/web/app/immutable/chunks/{Dv-DK4ZQ.js → C-662HWr.js} +1 -1
- package/web/app/immutable/chunks/{8ScDICwb.js → C-6kZjgn.js} +1 -1
- package/web/app/immutable/chunks/{250ka2gI.js → C-QdzJwG.js} +1 -1
- package/web/app/immutable/chunks/{C4F64iPQ.js → C-jJNcMR.js} +1 -1
- package/web/app/immutable/chunks/{B1Weu8fb.js → C-nHSAUo.js} +3 -3
- package/web/app/immutable/chunks/{BPRCBm84.js → C0EhdYGV.js} +1 -1
- package/web/app/immutable/chunks/{Brh3GO3O.js → C3puOFC3.js} +1 -1
- package/web/app/immutable/chunks/{JIE_7jo4.js → C6CbeYqw.js} +1 -1
- package/web/app/immutable/chunks/{C7FWeTQP.js → C6Xyba22.js} +1 -1
- package/web/app/immutable/chunks/{Di1597mK.js → C6w4HIHS.js} +4 -4
- package/web/app/immutable/chunks/{DhPOXvW2.js → C8VLUX_C.js} +1 -1
- package/web/app/immutable/chunks/{DWx-rRFl.js → C99ttMY5.js} +1 -1
- package/web/app/immutable/chunks/{CGwoBkMN.js → C9BFhP02.js} +1 -1
- package/web/app/immutable/chunks/{Crl5h76T.js → C9of0fiN.js} +1 -1
- package/web/app/immutable/chunks/{0KXDpLHs.js → CAMYapEA.js} +1 -1
- package/web/app/immutable/chunks/{TE5M669U.js → CB6JpnWC.js} +1 -1
- package/web/app/immutable/chunks/{DAFCfCw4.js → CBcFUe2n.js} +1 -1
- package/web/app/immutable/chunks/{B1cgGcI0.js → CBm8wTeU.js} +1 -1
- package/web/app/immutable/chunks/{CtssBApV.js → CBoDYG4N.js} +1 -1
- package/web/app/immutable/chunks/{ER2tmGzm.js → CC4qGxb7.js} +1 -1
- package/web/app/immutable/chunks/{Kl08LBTM.js → CCZp7LCQ.js} +1 -1
- package/web/app/immutable/chunks/{DzRCnjNV.js → CDYyrBGY.js} +1 -1
- package/web/app/immutable/chunks/{PbmSZkiX.js → CEAmSotY.js} +1 -1
- package/web/app/immutable/chunks/{SORTQVEW.js → CEeEOvCL.js} +1 -1
- package/web/app/immutable/chunks/{u_aTJYPF.js → CFLU9fq8.js} +1 -1
- package/web/app/immutable/chunks/{D5TWWYRb.js → CFTAk3la.js} +1 -1
- package/web/app/immutable/chunks/{Cc2CqLcV.js → CFg7iVIZ.js} +1 -1
- package/web/app/immutable/chunks/{DsALDj-G.js → CFxNovSS.js} +1 -1
- package/web/app/immutable/chunks/{C7hiMHci.js → CGFkplEn.js} +1 -1
- package/web/app/immutable/chunks/{DufyJpiq.js → CGnn93LH.js} +1 -1
- package/web/app/immutable/chunks/{Mvzzws-D.js → CGuufzS0.js} +1 -1
- package/web/app/immutable/chunks/{Bb3DLwd-.js → CHKsRESt.js} +1 -1
- package/web/app/immutable/chunks/CHWIPzMj.js +1 -0
- package/web/app/immutable/chunks/{CG1uBvn1.js → CI1ntq87.js} +1 -1
- package/web/app/immutable/chunks/{CqB0bCAG.js → CJ3l-lGj.js} +2 -2
- package/web/app/immutable/chunks/{BIx2KRjJ.js → CKC2M8j1.js} +1 -1
- package/web/app/immutable/chunks/{D2Vwu3SP.js → CKhPlHZj.js} +1 -1
- package/web/app/immutable/chunks/{fs3EIvPV.js → CPE--RtJ.js} +1 -1
- package/web/app/immutable/chunks/{DuNaiyu-.js → CPp2qH2q.js} +1 -1
- package/web/app/immutable/chunks/{BSJqN5vZ.js → CRSdOrSC.js} +1 -1
- package/web/app/immutable/chunks/{DaOZBaPJ.js → CR_d2Ton.js} +1 -1
- package/web/app/immutable/chunks/{C_AcfC1L.js → CSCM9u80.js} +4 -4
- package/web/app/immutable/chunks/{CDuekMJZ.js → CUV6PvQK.js} +1 -1
- package/web/app/immutable/chunks/{uh7Y9z2F.js → CWVqIb-d.js} +1 -1
- package/web/app/immutable/chunks/{DPL73Y_l.js → CWcntBOg.js} +1 -1
- package/web/app/immutable/chunks/{UZmeM7G7.js → CWgzsPKB.js} +1 -1
- package/web/app/immutable/chunks/{Cdn6MckB.js → CYv_coXk.js} +1 -1
- package/web/app/immutable/chunks/{Ck_gSwZK.js → CZ4sJNRy.js} +1 -1
- package/web/app/immutable/chunks/{egYaebOi.js → C_T3jbC9.js} +1 -1
- package/web/app/immutable/chunks/{CON-zxWG.js → C_VUI8Os.js} +1 -1
- package/web/app/immutable/chunks/{D22DhEZM.js → C_a7D1qz.js} +1 -1
- package/web/app/immutable/chunks/{D9x2HEXw.js → CeGIZnmi.js} +2 -2
- package/web/app/immutable/chunks/{Gw1t2Srm.js → CeOa9B5I.js} +1 -1
- package/web/app/immutable/chunks/{BturI3jj.js → CezXhCS3.js} +1 -1
- package/web/app/immutable/chunks/{Bl3WKtdy.js → CfiSkM8N.js} +1 -1
- package/web/app/immutable/chunks/{C-4lCpez.js → Cg7Nu4Va.js} +1 -1
- package/web/app/immutable/chunks/{CcC3AMEc.js → CkCYZCke.js} +1 -1
- package/web/app/immutable/chunks/{WZfEgods.js → Cl2rjjSj.js} +1 -1
- package/web/app/immutable/chunks/{CcBZUrE6.js → Cl7-Lh5E.js} +1 -1
- package/web/app/immutable/chunks/{CpL_C-GJ.js → Clz72PsI.js} +1 -1
- package/web/app/immutable/chunks/{CpRRerrb.js → CmE98hO-.js} +1 -1
- package/web/app/immutable/chunks/{BgXHwBod.js → CoCpxnqY.js} +6 -6
- package/web/app/immutable/chunks/{B9ibu-4g.js → CpK9Zfzc.js} +1 -1
- package/web/app/immutable/chunks/{Du66vBdT.js → CpasQsOr.js} +1 -1
- package/web/app/immutable/chunks/{BcG7yxE2.js → CprGZ_vQ.js} +1 -1
- package/web/app/immutable/chunks/{CZ6S_xft.js → Cq8HYngI.js} +1 -1
- package/web/app/immutable/chunks/{DBX7lh1O.js → CsXyRQ8j.js} +55 -55
- package/web/app/immutable/chunks/{Dal4fUVD.js → CtJv8xMf.js} +1 -1
- package/web/app/immutable/chunks/{BH0cA3lf.js → CuKET43j.js} +2 -2
- package/web/app/immutable/chunks/{B12Be-IL.js → Cum-TdZd.js} +1 -1
- package/web/app/immutable/chunks/{q7CfEA0Z.js → CwSTmJL9.js} +1 -1
- package/web/app/immutable/chunks/{ypTw5Sl1.js → CxWH-8GW.js} +1 -1
- package/web/app/immutable/chunks/{D_zFSOgZ.js → CxdlCefM.js} +1 -1
- package/web/app/immutable/chunks/{C_yzewkM.js → Cy7afLsK.js} +1 -1
- package/web/app/immutable/chunks/{CfrT9tcw.js → CzU9DzbS.js} +2 -2
- package/web/app/immutable/chunks/{N88c9xuK.js → D-Cja9EW.js} +1 -1
- package/web/app/immutable/chunks/{XUs6uy3h.js → D-vbvcep.js} +1 -1
- package/web/app/immutable/chunks/{Dollk5ZG.js → D0LnBaLt.js} +1 -1
- package/web/app/immutable/chunks/{BR2JfJtY.js → D2KpwJIq.js} +1 -1
- package/web/app/immutable/chunks/{C7zasWUf.js → D3OvqZhX.js} +2 -2
- package/web/app/immutable/chunks/{C6oWsXP5.js → D3hR-AME.js} +1 -1
- package/web/app/immutable/chunks/{CEswnMLF.js → D4EK6U-m.js} +1 -1
- package/web/app/immutable/chunks/{BP3qefPW.js → D5uBa-Ne.js} +1 -1
- package/web/app/immutable/chunks/{BQaHhd4d.js → D5yaIVD5.js} +1 -1
- package/web/app/immutable/chunks/{B3PM4xsG.js → D7IJPBQY.js} +2 -2
- package/web/app/immutable/chunks/{C-Rjcf-U.js → D8DBejPV.js} +1 -1
- package/web/app/immutable/chunks/{D2h8OBcY.js → DA2RRspt.js} +1 -1
- package/web/app/immutable/chunks/{BhxN6u9j.js → DBsXclsv.js} +1 -1
- package/web/app/immutable/chunks/{BGa2D4m6.js → DC1aoXyY.js} +1 -1
- package/web/app/immutable/chunks/{CSfG5Ybw.js → DCpFqaYA.js} +3 -3
- package/web/app/immutable/chunks/{DumVye9M.js → DD2BajRb.js} +1 -1
- package/web/app/immutable/chunks/{jRZT2QjD.js → DDfMifm6.js} +1 -1
- package/web/app/immutable/chunks/{ByjFf28U.js → DDtBtnNz.js} +1 -1
- package/web/app/immutable/chunks/{CHWbLwXf.js → DED90qCG.js} +1 -1
- package/web/app/immutable/chunks/{B0m0-2MI.js → DF8x1-0S.js} +1 -1
- package/web/app/immutable/chunks/{83xTN5fk.js → DFztsOdi.js} +1 -1
- package/web/app/immutable/chunks/{GAJ0U6Fj.js → DGfmWFo_.js} +1 -1
- package/web/app/immutable/chunks/{D1mB9_6q.js → DH2vm-1i.js} +1 -1
- package/web/app/immutable/chunks/{ha_PYGcR.js → DIZhZiBE.js} +1 -1
- package/web/app/immutable/chunks/{DK4nL43d.js → DInAnkwK.js} +1 -1
- package/web/app/immutable/chunks/{DJrPi4os.js → DJ6GAsDd.js} +1 -1
- package/web/app/immutable/chunks/{eqIwOdFV.js → DJM-jC4D.js} +1 -1
- package/web/app/immutable/chunks/{BmET8lGk.js → DKpBQuZo.js} +1 -1
- package/web/app/immutable/chunks/{DFMLCzQx.js → DMkatOMg.js} +1 -1
- package/web/app/immutable/chunks/{DZ6X6WRI.js → DNhGGhpW.js} +1 -1
- package/web/app/immutable/chunks/{DIweBffD.js → DOPKn6Qc.js} +1 -1
- package/web/app/immutable/chunks/{BK9wcqQr.js → DPWIkUJh.js} +1 -1
- package/web/app/immutable/chunks/{DzCaG8dx.js → DPbAP8qP.js} +1 -1
- package/web/app/immutable/chunks/DS9Nses5.js +1 -0
- package/web/app/immutable/chunks/{BvR4li8f.js → DSQXi-HI.js} +1 -1
- package/web/app/immutable/chunks/{CN5rDbbI.js → DVBcpomn.js} +3 -3
- package/web/app/immutable/chunks/{CQaQS_9E.js → DW6LpaLb.js} +1 -1
- package/web/app/immutable/chunks/{B50wbSca.js → DXujHnPt.js} +1 -1
- package/web/app/immutable/chunks/{BT9wsXKO.js → DZBWbkQT.js} +1 -1
- package/web/app/immutable/chunks/{DsNGTbSH.js → D_gp0b_i.js} +1 -1
- package/web/app/immutable/chunks/{Brv29rn8.js → D_p0cMgQ.js} +1 -1
- package/web/app/immutable/chunks/{1ppucs3B.js → DaHFtoCa.js} +1 -1
- package/web/app/immutable/chunks/{Cweq-0-O.js → DaNzos5O.js} +1 -1
- package/web/app/immutable/chunks/{B4CGkc2Z.js → DaauQgcE.js} +1 -1
- package/web/app/immutable/chunks/{2bm1-WPv.js → DavOW4Pn.js} +1 -1
- package/web/app/immutable/chunks/{CWOgcDNw.js → DbYmdzfs.js} +1 -1
- package/web/app/immutable/chunks/{BaifPKCC.js → Dc7HNZUt.js} +1 -1
- package/web/app/immutable/chunks/{BhaVZ25C.js → DdAvLI3S.js} +1 -1
- package/web/app/immutable/chunks/{B_kNlUD-.js → Dg1VUJOX.js} +1 -1
- package/web/app/immutable/chunks/{BB-o-_x6.js → DhbIivmf.js} +1 -1
- package/web/app/immutable/chunks/{Qetkvafr.js → DlGq0K29.js} +1 -1
- package/web/app/immutable/chunks/{BIcRvrKV.js → Dlhp692a.js} +1 -1
- package/web/app/immutable/chunks/{CtXwHt_m.js → Dm5sb2T9.js} +1 -1
- package/web/app/immutable/chunks/{BHWU1Psx.js → DmzyDWxY.js} +1 -1
- package/web/app/immutable/chunks/{rS28LQlr.js → DnPj8kAJ.js} +1 -1
- package/web/app/immutable/chunks/{DZMdKpsk.js → DnuPDvKn.js} +1 -1
- package/web/app/immutable/chunks/{BWIk2_6S.js → DoQcVvIo.js} +1 -1
- package/web/app/immutable/chunks/{Dnhf6K_4.js → DpOnLCwB.js} +1 -1
- package/web/app/immutable/chunks/{1FvEkC51.js → DrJBkQ-6.js} +1 -1
- package/web/app/immutable/chunks/{CUkvXPuX.js → Drf7hLVf.js} +1 -1
- package/web/app/immutable/chunks/{CBcz8VK6.js → Ds2ZtSdQ.js} +1 -1
- package/web/app/immutable/chunks/{DyvHB1Xe.js → DsOeQrzx.js} +1 -1
- package/web/app/immutable/chunks/{BLB-tbz2.js → DtR7mmzX.js} +1 -1
- package/web/app/immutable/chunks/{u_ejDIBY.js → DtgMvDnf.js} +1 -1
- package/web/app/immutable/chunks/{CbKyR6Kf.js → DvRDNe8t.js} +2 -2
- package/web/app/immutable/chunks/{7FbFoR5r.js → Dw3sD88n.js} +1 -1
- package/web/app/immutable/chunks/{DQg0oSRW.js → Dwv8zw-4.js} +1 -1
- package/web/app/immutable/chunks/{BAduOJD2.js → DxTOze69.js} +1 -1
- package/web/app/immutable/chunks/{CL61Lx-U.js → DyRcp3T7.js} +1 -1
- package/web/app/immutable/chunks/{CcIA3l7Z.js → Dym3QysO.js} +1 -1
- package/web/app/immutable/chunks/{BuvlavTl.js → DzUGhIyX.js} +1 -1
- package/web/app/immutable/chunks/{CJPgBxaF.js → DzyqDyL5.js} +1 -1
- package/web/app/immutable/chunks/{Dof5KDCr.js → EVnmmycb.js} +1 -1
- package/web/app/immutable/chunks/EyifK0YY.js +1 -0
- package/web/app/immutable/chunks/{CuTVPcxo.js → JtSO6K6S.js} +1 -1
- package/web/app/immutable/chunks/{DK-gr9PF.js → Jy2VtQ-j.js} +1 -1
- package/web/app/immutable/chunks/{DaNk_UZD.js → LqqBQeq2.js} +1 -1
- package/web/app/immutable/chunks/M46vYfPG.js +1 -0
- package/web/app/immutable/chunks/{CxfjSsAX.js → MpQYVCAl.js} +1 -1
- package/web/app/immutable/chunks/{D0boXdmz.js → P8ajY_OC.js} +1 -1
- package/web/app/immutable/chunks/{O62vZaBr.js → Q-AtJOxP.js} +1 -1
- package/web/app/immutable/chunks/{Bn7ZmTkF.js → QgUSWdkO.js} +2 -2
- package/web/app/immutable/chunks/{CVvdpvXK.js → R5mMERAP.js} +3 -3
- package/web/app/immutable/chunks/{4nEMohmP.js → Rx9iChBc.js} +1 -1
- package/web/app/immutable/chunks/{h37VgGKw.js → T8wSaQKw.js} +1 -1
- package/web/app/immutable/chunks/{DYg3sgSl.js → U_nfJe6p.js} +1 -1
- package/web/app/immutable/chunks/{D1u6MWVh.js → VpUwDjJ_.js} +1 -1
- package/web/app/immutable/chunks/{DP0ovMwg.js → XMeuZ35b.js} +1 -1
- package/web/app/immutable/chunks/XslshjYv.js +1 -0
- package/web/app/immutable/chunks/{D2524wRl.js → Yqp_UZB_.js} +1 -1
- package/web/app/immutable/chunks/{8jMj1OGX.js → ZANjZw72.js} +1 -1
- package/web/app/immutable/chunks/{D1mEn0KC.js → ZEAS6srh.js} +1 -1
- package/web/app/immutable/chunks/{Be253aOc.js → ZUA6bo0t.js} +1 -1
- package/web/app/immutable/chunks/{Bd1sW9PE.js → _H8LGW4O.js} +1 -1
- package/web/app/immutable/chunks/{AF10H5eK.js → a3c0uoAC.js} +1 -1
- package/web/app/immutable/chunks/{DRG3CbTe.js → asAq0Q4G.js} +1 -1
- package/web/app/immutable/chunks/{BxsHp3SH.js → d-SabBb_.js} +1 -1
- package/web/app/immutable/chunks/{GIg9PMOU.js → dlAoKLi8.js} +1 -1
- package/web/app/immutable/chunks/{Ci7no3-D.js → ePwjer8w.js} +1 -1
- package/web/app/immutable/chunks/{jBPLh4Hv.js → eapM1N3E.js} +1 -1
- package/web/app/immutable/chunks/{BO7alE7_.js → g4xg1V0H.js} +4 -4
- package/web/app/immutable/chunks/{DUtR3SZU.js → gFHNPMAw.js} +1 -1
- package/web/app/immutable/chunks/{DWoxVXOI.js → icAEjhzY.js} +1 -1
- package/web/app/immutable/chunks/{CVmi7DTf.js → jCrYQ4Ri.js} +2 -2
- package/web/app/immutable/chunks/{PxI72ehJ.js → lJ4MSEIh.js} +1 -1
- package/web/app/immutable/chunks/{oZTI_u9n.js → lWlirZMs.js} +1 -1
- package/web/app/immutable/chunks/{DyyOhufN.js → o551VboC.js} +1 -1
- package/web/app/immutable/chunks/{CtZ-vglf.js → ohZ0BtRB.js} +1 -1
- package/web/app/immutable/chunks/{BHSnSmbO.js → ouMJlHY1.js} +1 -1
- package/web/app/immutable/chunks/{CPZGjCPW.js → pElsZ4dt.js} +1 -1
- package/web/app/immutable/chunks/{Dx1gCWLU.js → pV_14PeY.js} +1 -1
- package/web/app/immutable/chunks/{DmQDTavV.js → rCQAZGb3.js} +2 -2
- package/web/app/immutable/chunks/{BYge7mVb.js → sASsqJNT.js} +1 -1
- package/web/app/immutable/chunks/{C62iVnTg.js → s_zHQBKW.js} +1 -1
- package/web/app/immutable/chunks/{Cn-uVT14.js → tOpgiK5L.js} +1 -1
- package/web/app/immutable/chunks/{1wWPoJ5Q.js → tp06XFI7.js} +1 -1
- package/web/app/immutable/chunks/{D4SYJpS6.js → tsVy-iyH.js} +1 -1
- package/web/app/immutable/chunks/{BL9pxyXQ.js → uN_eK4W9.js} +1 -1
- package/web/app/immutable/chunks/{Btv0cBol.js → uod76J5c.js} +1 -1
- package/web/app/immutable/chunks/{Ddfl3sUZ.js → v1zTkmPU.js} +1 -1
- package/web/app/immutable/chunks/{4K9ZZSJu.js → w4-ZULNa.js} +1 -1
- package/web/app/immutable/chunks/{7CEHC6fO.js → wOi8eNbH.js} +1 -1
- package/web/app/immutable/chunks/{D-GPCP_y.js → waJ4nm9k.js} +1 -1
- package/web/app/immutable/chunks/{Dm98AfRw.js → wwOYCksJ.js} +1 -1
- package/web/app/immutable/chunks/{DjBfsgFx.js → yQuAS-d_.js} +1 -1
- package/web/app/immutable/chunks/{DzQEubr_.js → z2dT_sfg.js} +1 -1
- package/web/app/immutable/entry/{app.DnvWkWuC.js → app.Bg9ukl2W.js} +3 -3
- package/web/app/immutable/entry/start.DrKu0acT.js +1 -0
- package/web/app/immutable/nodes/{0.BHNsHbq6.js → 0.w7cQ0D88.js} +1 -1
- package/web/app/immutable/nodes/{1.CxKhOECT.js → 1.4ql_JuYe.js} +1 -1
- package/web/app/immutable/nodes/{10.mSXX1b86.js → 10.Db5zVRj1.js} +5 -5
- package/web/app/immutable/nodes/{11.LQ-kpfGf.js → 11.5Xli6dPl.js} +1 -1
- package/web/app/immutable/nodes/{12.moZNbeME.js → 12.Dmc_y_qK.js} +1 -1
- package/web/app/immutable/nodes/{13.B9ngkS9V.js → 13.DZTGM0cb.js} +1 -1
- package/web/app/immutable/nodes/{14.BvKaKKlx.js → 14.BJwsFDEF.js} +3 -3
- package/web/app/immutable/nodes/{15.VPLfb8v_.js → 15.DMW9u33y.js} +1 -1
- package/web/app/immutable/nodes/{16.Bfi41nCp.js → 16.BcrbQLum.js} +1 -1
- package/web/app/immutable/nodes/{17.BaloRRSg.js → 17.8JKljX5l.js} +1 -1
- package/web/app/immutable/nodes/{18.DPo7p8bY.js → 18.YeTMHnFS.js} +1 -1
- package/web/app/immutable/nodes/{19.CavDiJik.js → 19.CTmJfPwB.js} +2 -2
- package/web/app/immutable/nodes/{2.kzpobJJm.js → 2.bsXLvGyt.js} +4 -4
- package/web/app/immutable/nodes/{20.EaJ-UneM.js → 20.C1sgyqm8.js} +1 -1
- package/web/app/immutable/nodes/{3.DZFV57al.js → 3.JBWvrxuJ.js} +1 -1
- package/web/app/immutable/nodes/{4.Dfre4p0n.js → 4.D6e8o0bC.js} +1 -1
- package/web/app/immutable/nodes/{5.BnBSTXSN.js → 5.BiCuWA6k.js} +1 -1
- package/web/app/immutable/nodes/{6.BYj21cDV.js → 6.IF1PmeP7.js} +1 -1
- package/web/app/immutable/nodes/{7.CvDxUVa8.js → 7.BlK4mw1L.js} +1 -1
- package/web/app/immutable/nodes/{8.CTVkGhmt.js → 8.CUVVZTwf.js} +1 -1
- package/web/app/immutable/nodes/9.JkDekIr4.js +12 -0
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +19 -19
- package/web/app/immutable/chunks/2CFsxajB.js +0 -1
- package/web/app/immutable/chunks/2CQlphfn.js +0 -1
- package/web/app/immutable/chunks/6QXvr4x0.js +0 -1
- package/web/app/immutable/chunks/BOaPEJcS.js +0 -1
- package/web/app/immutable/chunks/CXjastM3.js +0 -1
- package/web/app/immutable/chunks/Cr_KTPcL.js +0 -1
- package/web/app/immutable/entry/start.D5h2aGMe.js +0 -1
- package/web/app/immutable/nodes/9.Dq4n-Ddo.js +0 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
var lC=Object.defineProperty;var cC=(e,t,r)=>t in e?lC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var xr=(e,t,r)=>cC(e,typeof t!="symbol"?t+"":t,r);import{_ as Ve,t as Oo,bo as He,bm as je,bw as Do,b as Ro,bp as hC}from"./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/D2KpwJIq.js","/app/immutable/chunks/Dm5sb2T9.js","/app/immutable/chunks/BLp3-Mdk.js","/app/immutable/chunks/CHWIPzMj.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/-xK_vQQs.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/Dg1VUJOX.js","/app/immutable/chunks/BhP2yLip.js","/app/immutable/chunks/CfiSkM8N.js","/app/immutable/chunks/lAmQKSWr.js","/app/immutable/chunks/B1sTTKq-.js","/app/immutable/chunks/C3puOFC3.js","/app/immutable/chunks/DPWIkUJh.js","/app/immutable/chunks/9Oy7dzP1.js","/app/immutable/chunks/BXWV2GsM.js","/app/immutable/chunks/CprGZ_vQ.js","/app/immutable/chunks/C99ttMY5.js","/app/immutable/chunks/CB6JpnWC.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/DJM-jC4D.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/C_a7D1qz.js","/app/immutable/chunks/Bx3lRAzK.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/Bm1YRNX5.js","/app/immutable/chunks/C_VUI8Os.js","/app/immutable/chunks/DDtBtnNz.js","/app/immutable/chunks/B09v4S72.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/Bqdjarag.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/QgUSWdkO.js","/app/immutable/chunks/DxTOze69.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BWP_R2MA.js","/app/immutable/chunks/ZUA6bo0t.js","/app/immutable/chunks/XslshjYv.js","/app/immutable/chunks/DDfMifm6.js","/app/immutable/chunks/DSQXi-HI.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/DPbAP8qP.js","/app/immutable/chunks/CeOa9B5I.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/D_gp0b_i.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/CuKET43j.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/DdAvLI3S.js","/app/immutable/chunks/Jy2VtQ-j.js","/app/immutable/chunks/tOpgiK5L.js","/app/immutable/chunks/CezXhCS3.js","/app/immutable/chunks/DS9Nses5.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/CWVqIb-d.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/EVnmmycb.js","/app/immutable/chunks/CWgzsPKB.js","/app/immutable/chunks/ohZ0BtRB.js","/app/immutable/chunks/CFg7iVIZ.js","/app/immutable/chunks/CBm8wTeU.js","/app/immutable/chunks/icAEjhzY.js","/app/immutable/chunks/VpUwDjJ_.js","/app/immutable/chunks/DBsXclsv.js","/app/immutable/chunks/CPE--RtJ.js","/app/immutable/chunks/DbYmdzfs.js","/app/immutable/chunks/CAMYapEA.js","/app/immutable/chunks/B9QnX69E.js","/app/immutable/chunks/Cl2rjjSj.js","/app/immutable/chunks/DZBWbkQT.js","/app/immutable/chunks/99N6trPd.js","/app/immutable/chunks/lWlirZMs.js","/app/immutable/chunks/CR_d2Ton.js","/app/immutable/chunks/lJ4MSEIh.js","/app/immutable/chunks/wOi8eNbH.js","/app/immutable/chunks/DaHFtoCa.js","/app/immutable/chunks/a3c0uoAC.js","/app/immutable/chunks/95fFKc_B.js","/app/immutable/chunks/D0LnBaLt.js","/app/immutable/chunks/DmzyDWxY.js","/app/immutable/chunks/Bue8rt91.js","/app/immutable/chunks/C-QdzJwG.js","/app/immutable/chunks/CBcFUe2n.js","/app/immutable/chunks/Bqvx2p-8.js","/app/immutable/chunks/3LDzw5hr.js","/app/immutable/chunks/CGuufzS0.js","/app/immutable/chunks/_H8LGW4O.js","/app/immutable/chunks/CI1ntq87.js","/app/immutable/chunks/DKpBQuZo.js","/app/immutable/chunks/BtupVFyT.js","/app/immutable/chunks/B-VOV29o.js","/app/immutable/chunks/Bs9C3yw5.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var lC=Object.defineProperty;var cC=(e,t,r)=>t in e?lC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var xr=(e,t,r)=>cC(e,typeof t!="symbol"?t+"":t,r);import{_ as Ve,t as Oo,bo as He,bm as je,bw as Do,b as Ro,bp as hC}from"./CHWIPzMj.js";import{g as dC}from"./BdWqymET.js";import{aR as bs}from"./C99ttMY5.js";import{b7 as uC,cc as fC,bs as No,a7 as Ko,ay as ui,aD as L,bS as We,be as en,b$ as rl,b_ as cr,bO as br,W as ge,c9 as Dt,bn as qo,aA as Be,aB as ar,bk as hd,bH as gt,ca as Bo,c5 as pl,a5 as qe,bA as $e,bV as ce,bl as Tr,c0 as Th,aC as pi,aw as ml,a as Wu,bj as Np,br as wi,cb as gC,bf as pC}from"./3SdAC2_C.js";import{i as yr}from"./DDtBtnNz.js";import{h as zu}from"./BKD7o1lQ.js";import{f as co,s as fe,b as qp,c as Wp,g as Xa}from"./B09v4S72.js";import{b as no}from"./Dn334wJv.js";import{c as mC}from"./ChTqQfQN.js";import{d4 as yC,cW as xC,F as dn,aM as bC,bb as zp,m as CC,n as wC,f as kC,j as SC,y as Hu,v as Yu,h as vC,u as MC,P as TC,s as BC,O as _C,r as LC,k as AC,D as Xu,H as FC,U as $C,ax as EC,ay as PC,aY as IC}from"./Bm1YRNX5.js";import{f as Ja,ae as OC}from"./DSQXi-HI.js";import"./QgUSWdkO.js";import{M as DC,Z as RC}from"./d-SabBb_.js";import{p as rn,h as NC,d as qC,S as WC,e as zC,g as ya,i as ju}from"./Bqdjarag.js";import{c as HC}from"./BbIcudMY.js";import{k as Hp}from"./DPbAP8qP.js";import{n as To,h as Gu,t as Is,d as Uu}from"./D_gp0b_i.js";import{c as fa}from"./C_VUI8Os.js";import{e as YC}from"./C8VLUX_C.js";import{t as XC}from"./DAsc1V4f.js";import{s as il}from"./Bx3lRAzK.js";import{H as jC}from"./9Wfd5HgS.js";import{s as Vu,a as GC}from"./BsieX9dN.js";import{l as UC,K as VC,d as ZC,e as Cc,M as KC}from"./BGpvxEza.js";import"./BVhmKG23.js";import{u as wo}from"./DDfMifm6.js";import"./CeOa9B5I.js";import"./DJM-jC4D.js";import{bL as QC}from"./XslshjYv.js";function JC(e,t){uC(window,["resize"],()=>fC(()=>t(window[e])))}var Yp=Object.defineProperty,C=(e,t)=>Yp(e,"name",{value:t,configurable:!0}),t2=(e,t)=>{for(var r in t)Yp(e,r,{get:t[r],enumerable:!0})};function Xp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}C(Xp,"getDefaultExportFromCjs");var ei={},Pn={},Xo={},Zu;function Ts(){if(Zu)return Xo;Zu=1;function e(s){return typeof s>"u"||s===null}C(e,"isNothing");function t(s){return typeof s=="object"&&s!==null}C(t,"isObject");function r(s){return Array.isArray(s)?s:e(s)?[]:[s]}C(r,"toArray");function i(s,n){if(n){const l=Object.keys(n);for(let c=0,h=l.length;c<h;c+=1){const d=l[c];s[d]=n[d]}}return s}C(i,"extend");function o(s,n){let l="";for(let c=0;c<n;c+=1)l+=s;return l}C(o,"repeat");function a(s){return s===0&&Number.NEGATIVE_INFINITY===1/s}return C(a,"isNegativeZero"),Xo.isNothing=e,Xo.isObject=t,Xo.toArray=r,Xo.repeat=o,Xo.isNegativeZero=a,Xo.extend=i,Xo}C(Ts,"requireCommon");var wc,Ku;function Bs(){if(Ku)return wc;Ku=1;function e(r,i){let o="";const a=r.reason||"(unknown reason)";return r.mark?(r.mark.name&&(o+='in "'+r.mark.name+'" '),o+="("+(r.mark.line+1)+":"+(r.mark.column+1)+")",!i&&r.mark.snippet&&(o+=`
|
|
3
3
|
|
|
4
4
|
`+r.mark.snippet),a+" "+o):a}C(e,"formatError");function t(r,i){Error.call(this),this.name="YAMLException",this.reason=r,this.mark=i,this.message=e(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return C(t,"YAMLException2"),t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.toString=C(function(i){return this.name+": "+e(this,i)},"toString"),wc=t,wc}C(Bs,"requireException");var kc,Qu;function jp(){if(Qu)return kc;Qu=1;const e=Ts();function t(o,a,s,n,l){let c="",h="";const d=Math.floor(l/2)-1;return n-a>d&&(c=" ... ",a=n-d+c.length),s-n>d&&(h=" ...",s=n+d-h.length),{str:c+o.slice(a,s).replace(/\t/g,"→")+h,pos:n-a+c.length}}C(t,"getLine");function r(o,a){return e.repeat(" ",a-o.length)+o}C(r,"padStart");function i(o,a){if(a=Object.create(a||null),!o.buffer)return null;a.maxLength||(a.maxLength=79),typeof a.indent!="number"&&(a.indent=1),typeof a.linesBefore!="number"&&(a.linesBefore=3),typeof a.linesAfter!="number"&&(a.linesAfter=2);const s=/\r?\n|\r|\0/g,n=[0],l=[];let c,h=-1;for(;c=s.exec(o.buffer);)l.push(c.index),n.push(c.index+c[0].length),o.position<=c.index&&h<0&&(h=n.length-2);h<0&&(h=n.length-1);let d="";const u=Math.min(o.line+a.linesAfter,l.length).toString().length,f=a.maxLength-(a.indent+u+3);for(let p=1;p<=a.linesBefore&&!(h-p<0);p++){const m=t(o.buffer,n[h-p],l[h-p],o.position-(n[h]-n[h-p]),f);d=e.repeat(" ",a.indent)+r((o.line-p+1).toString(),u)+" | "+m.str+`
|
|
5
5
|
`+d}const g=t(o.buffer,n[h],l[h],o.position,f);d+=e.repeat(" ",a.indent)+r((o.line+1).toString(),u)+" | "+g.str+`
|
|
@@ -298,8 +298,8 @@ ${a.join(`
|
|
|
298
298
|
L0,20`)},"requirement_arrow"),lL=C((e,t,r)=>{const i=Ar(),{themeVariables:o}=i,{strokeWidth:a}=o;e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${a}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0
|
|
299
299
|
L20,10
|
|
300
300
|
M20,10
|
|
301
|
-
L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),cL=C((e,t,r)=>{const i=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),hL=C((e,t,r)=>{const i=Ar(),{themeVariables:o}=i,{strokeWidth:a}=o,s=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");s.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),s.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),s.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),s.selectAll("*").attr("stroke-width",`${a}`)},"requirement_contains_neo"),dL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),uL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-openArrowEnd").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",11).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1 1 L 11 6 L 1 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-openArrowStart").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",1).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 11 1 L 1 6 L 11 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none")},"openArrow"),fL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hollowCircleStart").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hollowCircleEnd").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none")},"hollowCircle"),gL={extension:H_,composition:Y_,aggregation:X_,dependency:j_,lollipop:G_,point:U_,circle:V_,cross:Z_,barb:K_,barbNeo:Q_,hierarchy:dL,only_one:J_,zero_or_one:tL,one_or_more:eL,zero_or_more:rL,only_one_neo:iL,zero_or_one_neo:oL,one_or_more_neo:aL,zero_or_more_neo:sL,requirement_arrow:nL,requirement_contains:cL,requirement_arrow_neo:lL,requirement_contains_neo:hL,openArrow:uL,hollowCircle:fL},pL=z_,mL={common:kn,getConfig:Ar,insertCluster:UB,insertEdge:W_,insertEdgeLabel:E_,insertMarkers:pL,insertNode:eb,interpolateToCurve:Vd,labelHelper:he,log:Lt,positionEdgeLabel:I_},yL=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],mn=Object.create(null),Cb=C(e=>{for(const t of e)mn[t.name]=t},"registerLayoutLoaders"),xL=C(()=>{const e=C(async()=>await Ve(()=>import("./BR2JfJtY.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"loader");return[{name:"elk",loader:e,algorithm:"elk.layered"},...yL.map(t=>({name:t,loader:e,algorithm:t}))]},"elkLayoutLoaders"),bL=C(()=>{Cb([{name:"dagre",loader:C(async()=>await Ve(()=>import("./B_kNlUD-.js"),__vite__mapDeps([7,2,3,4,5]),import.meta.url),"loader")},{name:"swimlane",loader:C(async()=>await Ve(()=>import("./DXxnoOGg.js"),__vite__mapDeps([8,1,2,3,4,5]),import.meta.url),"loader")},{name:"cose-bilkent",loader:C(async()=>await Ve(()=>import("./Bl3WKtdy.js"),__vite__mapDeps([9,10,6]),import.meta.url),"loader")},...xL()])},"registerDefaultLayoutLoaders");bL();var AP=C(async(e,t)=>{if(!Object.hasOwn(mn,e.layoutAlgorithm))throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(const a of e.nodes){const s=a.domId||a.id;a.domId=`${e.diagramId}-${s}`}const r=mn[e.layoutAlgorithm],i=await r.loader();a2(t,e.config);const o=await i.render(e,t,mL,{algorithm:r.algorithm});return B_(t.node()),o},"render"),ch="dagre",FP=C((e="",{fallback:t=ch}={})=>{if(Object.hasOwn(mn,e))return e;for(const r of[t,ch])if(Object.hasOwn(mn,r))return Lt.warn(`Layout algorithm ${e} is not registered. Using ${r} as fallback.`),r;throw new Error(`Neither layout algorithm ${e}, ${t}, nor ${ch} is registered.`)},"getRegisteredLayoutAlgorithm"),CL=C(e=>{const{securityLevel:t}=Ge();let r=Ye("body");if(t==="sandbox"){const a=Ye(`#i${e}`).node()?.contentDocument??document;r=Ye(a.body)}return r.select(`#${e}`)},"selectSvgElement"),ku="comm",wb="rule",kb="decl",wL="@media",kL="@import",SL="@supports",vL="@namespace",td="@keyframes",Sb="@layer",ML="@scope",TL=Math.abs,hn=String.fromCharCode;function vb(e){return e.trim()}function ed(e,t,r){return e.replace(t,r)}function is(e,t){return e.charCodeAt(t)|0}function ks(e,t,r){return e.slice(t,r)}function oo(e){return e.length}function Mb(e){return e.length}function jn(e,t){return t.push(e),e}var cc=1,Ss=1,Tb=0,Ii=0,qr=0,Fs="";function Su(e,t,r,i,o,a,s,n){return{value:e,root:t,parent:r,type:i,props:o,children:a,line:cc,column:Ss,length:s,return:"",siblings:n}}function BL(){return qr}function _L(){return qr=Ii>0?is(Fs,--Ii):0,Ss--,qr===10&&(Ss=1,cc--),qr}function ji(){return qr=Ii<Tb?is(Fs,Ii++):0,Ss++,qr===10&&(Ss=1,cc++),qr}function Vo(){return is(Fs,Ii)}function fl(){return Ii}function hc(e,t){return ks(Fs,e,t)}function yn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function LL(e){return cc=Ss=1,Tb=oo(Fs=e),Ii=0,[]}function AL(e){return Fs="",e}function hh(e){return vb(hc(Ii-1,rd(e===91?e+2:e===40?e+1:e)))}function FL(e){for(;(qr=Vo())&&qr<33;)ji();return yn(e)>2||yn(qr)>3?"":" "}function $L(e,t){for(;--t&&ji()&&!(qr<48||qr>102||qr>57&&qr<65||qr>70&&qr<97););return hc(e,fl()+(t<6&&Vo()==32&&ji()==32))}function rd(e){for(;ji();)switch(qr){case e:return Ii;case 34:case 39:e!==34&&e!==39&&rd(qr);break;case 40:e===41&&rd(e);break;case 92:ji();break}return Ii}function EL(e,t){for(;ji()&&e+qr!==57;)if(e+qr===84&&Vo()===47)break;return"/*"+hc(t,Ii-1)+"*"+hn(e===47?e:ji())}function PL(e){for(;!yn(Vo());)ji();return hc(e,Ii)}function IL(e){return AL(gl("",null,null,null,[""],e=LL(e),0,[0],e))}function gl(e,t,r,i,o,a,s,n,l){for(var c=0,h=0,d=s,u=0,f=0,g=0,p=1,m=1,y=1,x=0,b=0,S="",T=o,k=a,_=i,A=S;m;)switch(g=b,b=ji()){case 40:g!=108&&is(A,d-1)==58?(x++,A+="("):A+=hh(b);break;case 41:x--,A+=")";break;case 34:case 39:case 91:A+=hh(b);break;case 9:case 10:case 13:case 32:if(x>0){A+=hn(b);break}A+=FL(g);break;case 92:A+=$L(fl()-1,7);continue;case 47:switch(Vo()){case 42:case 47:jn(OL(EL(ji(),fl()),t,r,l),l),(yn(g||1)==5||yn(Vo()||1)==5)&&oo(A)&&ks(A,-1,void 0)!==" "&&(A+=" ");break;default:A+="/"}break;case 123*p:n[c++]=oo(A)*y;case 125*p:case 59:case 0:if(x>0&&b){A+=hn(b);break}switch(b){case 0:case 125:m=0;case 59+h:y==-1&&(A=ed(A,/\f/g,"")),f>0&&(oo(A)-d||p===0)&&jn(f>32?sp(A+";",i,r,d-1,l):sp(ed(A," ","")+";",i,r,d-2,l),l);break;case 59:A+=";";default:if(jn(_=ap(A,t,r,c,h,o,n,S,T=[],k=[],d,a),a),b===123)if(h===0)gl(A,t,_,_,T,a,d,n,k);else{switch(u){case 99:if(is(A,3)===110)break;case 108:if(is(A,2)===97)break;default:h=0;case 100:case 109:case 115:}h?gl(e,_,_,i&&jn(ap(e,_,_,0,0,o,n,S,o,T=[],d,k),k),o,k,d,n,i?T:k):gl(A,_,_,_,[""],k,0,n,k)}}c=h=f=0,p=y=1,S=A="",d=s;break;case 58:d=1+oo(A),f=g;default:if(p<1){if(b==123)--p;else if(b==125&&p++==0&&_L()==125)continue}switch(A+=hn(b),b*p){case 38:y=h>0?1:(A+="\f",-1);break;case 44:if(x>0)break;n[c++]=(oo(A)-1)*y,y=1;break;case 64:Vo()===45&&(A+=hh(ji())),u=Vo(),h=d=oo(S=A+=PL(fl())),b++;break;case 45:g===45&&oo(A)==2&&(p=0)}}return a}function ap(e,t,r,i,o,a,s,n,l,c,h,d){for(var u=o-1,f=o===0?a:[""],g=Mb(f),p=0,m=0,y=0;p<i;++p)for(var x=0,b=ks(e,u+1,u=TL(m=s[p])),S=e;x<g;++x)(S=vb(m>0?f[x]+" "+b:ed(b,/&\f/g,f[x])))&&(l[y++]=S);return Su(e,t,r,o===0?wb:n,l,c,h,d)}function OL(e,t,r,i){return Su(e,t,r,ku,hn(BL()),ks(e,2,-2),0,i)}function sp(e,t,r,i,o){return Su(e,t,r,kb,ks(e,0,i),ks(e,i+1,-1),i,o)}function id(e,t){for(var r="",i=0;i<e.length;i++)r+=t(e[i],i,e,t)||"";return r}function DL(e,t,r,i){switch(e.type){case Sb:if(e.children.length)break;case kL:case vL:case kb:return e.return=e.return||e.value;case ku:return"";case td:return e.return=e.value+"{"+id(e.children,i)+"}";case wb:if(!oo(e.value=e.props.join(",")))return""}return oo(r=id(e.children,i))?e.return=e.value+"{"+r+"}":""}function RL(e){var t=Mb(e);return function(r,i,o,a){for(var s="",n=0;n<t;n++)s+=e[n](r,i,o,a)||"";return s}}var Bb="c4",NL=C(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),"detector"),qL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BR7wr0TX.js");return{diagram:t}},__vite__mapDeps([11,12]),import.meta.url);return{id:Bb,diagram:e}},"loader"),WL={id:Bb,detector:NL,loader:qL},zL=WL,_b="flowchart-v2",HL=C(e=>/^\s*(graph|flowchart)/.test(e),"detector"),YL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BK9wcqQr.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:_b,diagram:e}},"loader"),XL={id:_b,detector:HL,loader:YL},jL=XL,Lb="agentflow",GL=C(e=>/^\s*agentflow-beta\b/.test(e),"detector"),UL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Dof5KDCr.js");return{diagram:t}},__vite__mapDeps([63,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Lb,diagram:e}},"loader"),VL={id:Lb,detector:GL,loader:UL},ZL=VL,Ab="swimlane",KL=C(e=>/^\s*swimlane-beta\b/.test(e),"detector"),QL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./UZmeM7G7.js");return{diagram:t}},__vite__mapDeps([64,13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Ab,diagram:e}},"loader"),JL={id:Ab,detector:KL,loader:QL},tA=JL,Fb="er",eA=C(e=>/^\s*erDiagram/.test(e),"detector"),rA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CtZ-vglf.js");return{diagram:t}},__vite__mapDeps([65,15,16]),import.meta.url);return{id:Fb,diagram:e}},"loader"),iA={id:Fb,detector:eA,loader:rA},oA=iA,$b="gitGraph",aA=C(e=>/^\s*gitGraph/.test(e),"detector"),sA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Cc2CqLcV.js");return{diagram:t}},__vite__mapDeps([66,67,68,69,3,4]),import.meta.url);return{id:$b,diagram:e}},"loader"),nA={id:$b,detector:aA,loader:sA},lA=nA,Eb="gantt",cA=C(e=>/^\s*gantt/.test(e),"detector"),hA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BhxN6u9j.js");return{diagram:t}},__vite__mapDeps([70,6,71]),import.meta.url);return{id:Eb,diagram:e}},"loader"),dA={id:Eb,detector:cA,loader:hA},uA=dA,Pb="info",fA=C(e=>/^\s*info/.test(e),"detector"),gA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CWOgcDNw.js");return{diagram:t}},__vite__mapDeps([72,69,3,4]),import.meta.url);return{id:Pb,diagram:e}},"loader"),pA={id:Pb,detector:fA,loader:gA},Ib="pie",mA=C(e=>/^\s*pie/.test(e),"detector"),yA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./0KXDpLHs.js");return{diagram:t}},__vite__mapDeps([73,68,69,3,4,71]),import.meta.url);return{id:Ib,diagram:e}},"loader"),xA={id:Ib,detector:mA,loader:yA},Ob="quadrantChart",bA=C(e=>/^\s*quadrantChart/.test(e),"detector"),CA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CqsHYBSd.js");return{diagram:t}},__vite__mapDeps([74,71]),import.meta.url);return{id:Ob,diagram:e}},"loader"),wA={id:Ob,detector:bA,loader:CA},kA=wA,Db="xychart",SA=C(e=>/^\s*xychart(-beta)?/.test(e),"detector"),vA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./WZfEgods.js");return{diagram:t}},__vite__mapDeps([75,71]),import.meta.url);return{id:Db,diagram:e}},"loader"),MA={id:Db,detector:SA,loader:vA},TA=MA,Rb="requirement",BA=C(e=>/^\s*requirement(Diagram)?/.test(e),"detector"),_A=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BT9wsXKO.js");return{diagram:t}},__vite__mapDeps([76,15,16]),import.meta.url);return{id:Rb,diagram:e}},"loader"),LA={id:Rb,detector:BA,loader:_A},AA=LA,Nb="sequence",FA=C(e=>/^\s*sequenceDiagram/.test(e),"detector"),$A=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BiyXqzpr.js");return{diagram:t}},__vite__mapDeps([77,67,12]),import.meta.url);return{id:Nb,diagram:e}},"loader"),EA={id:Nb,detector:FA,loader:$A},PA=EA,qb="classDiagram",IA=C(e=>/^\s*classDiagram/.test(e),"detector"),OA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./oZTI_u9n.js");return{diagram:t}},__vite__mapDeps([78,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:qb,diagram:e}},"loader"),DA={id:qb,detector:IA,loader:OA},RA=DA,Wb="stateDiagram",NA=C(e=>/^\s*stateDiagram/.test(e),"detector"),qA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DaOZBaPJ.js");return{diagram:t}},__vite__mapDeps([79,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Wb,diagram:e}},"loader"),WA={id:Wb,detector:NA,loader:qA},zA=WA,zb="journey",HA=C(e=>/^\s*journey/.test(e),"detector"),YA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./PxI72ehJ.js");return{diagram:t}},__vite__mapDeps([80,14,12]),import.meta.url);return{id:zb,diagram:e}},"loader"),XA={id:zb,detector:HA,loader:YA},jA=XA,Gn=4,Hs=75,GA=C(e=>{const t=[];for(const o of e.split(/\s+/)){let a=[...o];for(;a.length>Hs;)t.push(a.slice(0,Hs).join("")),a=a.slice(Hs);a.length>0&&t.push(a.join(""))}const r=[];let i="";for(const o of t){const a=i?`${i} ${o}`:o;[...a].length>Hs?(r.push(i),i=o):i=a}if(i&&r.push(i),r.length>Gn){r.length=Gn;const o=r[Gn-1]??"";r[Gn-1]=`${[...o].slice(0,Hs-3).join("")}...`}return r},"wrapErrorMessage"),UA=C((e,t,r,i)=>{Lt.debug(`rendering svg for syntax error
|
|
302
|
-
`);const o=CL(t),a=o.append("g"),s=GA(i?.db.getErrorMessage?.()??""),n=s.length>0?500+s.length*56:512;o.attr("viewBox",`0 0 2412 ${n}`),um(o,100,n,!0),a.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),a.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),a.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),a.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),a.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),a.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),a.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),a.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`),s.forEach((l,c)=>{a.append("text").attr("class","error-text").attr("x",1440).attr("y",510+c*56).attr("font-size","42px").style("text-anchor","middle").text(l)})},"draw"),Hb={draw:UA},VA=Hb,dh,ZA={clear(){dh=void 0},setErrorMessage(e){dh=e},getErrorMessage(){return dh}},KA={db:ZA,renderer:Hb,parser:{parse:C(()=>{},"parse")}},QA=KA,Yb="flowchart-elk",JA=C((e,t={})=>/^\s*flowchart-elk/.test(e)?(t.layout="elk",!0):!1,"detector"),t5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BK9wcqQr.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Yb,diagram:e}},"loader"),e5={id:Yb,detector:JA,loader:t5},r5=e5,Xb="timeline",i5=C(e=>/^\s*timeline/.test(e),"detector"),o5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./ha_PYGcR.js");return{diagram:t}},[],import.meta.url);return{id:Xb,diagram:e}},"loader"),a5={id:Xb,detector:i5,loader:o5},s5=a5,jb="mindmap",n5=C(e=>/^\s*mindmap/.test(e),"detector"),l5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./7CEHC6fO.js");return{diagram:t}},__vite__mapDeps([81,15,16]),import.meta.url);return{id:jb,diagram:e}},"loader"),c5={id:jb,detector:n5,loader:l5},h5=c5,Gb="kanban",d5=C(e=>/^\s*kanban/.test(e),"detector"),u5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./1ppucs3B.js");return{diagram:t}},__vite__mapDeps([82,14]),import.meta.url);return{id:Gb,diagram:e}},"loader"),f5={id:Gb,detector:d5,loader:u5},g5=f5,Ub="sankey",p5=C(e=>/^\s*sankey(-beta)?/.test(e),"detector"),m5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./AF10H5eK.js");return{diagram:t}},__vite__mapDeps([83,71]),import.meta.url);return{id:Ub,diagram:e}},"loader"),y5={id:Ub,detector:p5,loader:m5},x5=y5,Vb="packet",b5=C(e=>/^\s*packet(-beta)?/.test(e),"detector"),C5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./H1XKoyU7.js");return{diagram:t}},__vite__mapDeps([84,68,69,3,4]),import.meta.url);return{id:Vb,diagram:e}},"loader"),w5={id:Vb,detector:b5,loader:C5},Zb="radar",k5=C(e=>/^\s*radar-beta/.test(e),"detector"),S5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Dollk5ZG.js");return{diagram:t}},__vite__mapDeps([85,68,69,3,4]),import.meta.url);return{id:Zb,diagram:e}},"loader"),v5={id:Zb,detector:k5,loader:S5},Kb="block",M5=C(e=>/^\s*block(-beta)?/.test(e),"detector"),T5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BHWU1Psx.js");return{diagram:t}},__vite__mapDeps([86,14,5]),import.meta.url);return{id:Kb,diagram:e}},"loader"),B5={id:Kb,detector:M5,loader:T5},_5=B5,Qb="treeView",L5=C(e=>/^\s*treeView-beta/.test(e),"detector"),A5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BOW58NW5.js");return{diagram:t}},__vite__mapDeps([87,67,68,69,3,4]),import.meta.url);return{id:Qb,diagram:e}},"loader"),F5={id:Qb,detector:L5,loader:A5},$5=F5,Jb="architecture",E5=C(e=>/^\s*architecture/.test(e),"detector"),P5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./250ka2gI.js");return{diagram:t}},__vite__mapDeps([88,68,69,3,4,10,6]),import.meta.url);return{id:Jb,diagram:e}},"loader"),I5={id:Jb,detector:E5,loader:P5},O5=I5,t1="eventmodeling",D5=C(e=>/^\s*eventmodeling/.test(e),"detector"),R5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DAFCfCw4.js");return{diagram:t}},__vite__mapDeps([89,68,69,3,4]),import.meta.url);return{id:t1,diagram:e}},"loader"),N5={id:t1,detector:D5,loader:R5},q5=N5,e1="ishikawa",W5=C(e=>/^\s*ishikawa(-beta)?\b/i.test(e),"detector"),z5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BqwJFhy0.js");return{diagram:t}},[],import.meta.url);return{id:e1,diagram:e}},"loader"),H5={id:e1,detector:W5,loader:z5},r1="venn",Y5=C(e=>/^\s*venn-beta/.test(e),"detector"),X5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./D2524wRl.js");return{diagram:t}},[],import.meta.url);return{id:r1,diagram:e}},"loader"),j5={id:r1,detector:Y5,loader:X5},G5=j5,i1="treemap",U5=C(e=>/^\s*treemap/.test(e),"detector"),V5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./IclfFZoe.js");return{diagram:t}},__vite__mapDeps([90,16,68,69,3,4,71]),import.meta.url);return{id:i1,diagram:e}},"loader"),Z5={id:i1,detector:U5,loader:V5},o1="usecase",K5=C(e=>/^\s*usecase-beta(?:\s|$)/.test(e),"detector"),Q5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DrJzqwYl.js");return{diagram:t}},__vite__mapDeps([91,15,16]),import.meta.url);return{id:o1,diagram:e}},"loader"),J5={id:o1,detector:K5,loader:Q5},a1="wardley",tF=C(e=>/^\s*wardley-beta/i.test(e),"detector"),eF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Mvzzws-D.js");return{diagram:t}},__vite__mapDeps([92,68,69,3,4]),import.meta.url);return{id:a1,diagram:e}},"loader"),rF={id:a1,detector:tF,loader:eF},iF=rF,s1="cynefin",oF=C(e=>/^\s*cynefin-beta(?:[\s:]|$)/.test(e),"detector"),aF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Bd1sW9PE.js");return{diagram:t}},__vite__mapDeps([93,68,69,3,4]),import.meta.url);return{id:s1,diagram:e}},"loader"),sF={id:s1,detector:oF,loader:aF},n1="railroad",nF=C(e=>/^\s*railroad-beta/i.test(e),"detector"),lF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CG1uBvn1.js");return{diagram:t}},__vite__mapDeps([94,95,68,69,3,4]),import.meta.url);return{id:n1,diagram:e}},"loader"),cF={id:n1,detector:nF,loader:lF},l1="railroadEbnf",hF=C(e=>/^\s*railroad-ebnf-beta/i.test(e),"detector"),dF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./yTn_UE0E.js");return{diagram:t}},__vite__mapDeps([96,95,68,69,3,4]),import.meta.url);return{id:l1,diagram:e}},"loader"),uF={id:l1,detector:hF,loader:dF},c1="railroadAbnf",fF=C(e=>/^\s*railroad-abnf-beta/i.test(e),"detector"),gF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./D7x-7T1z.js");return{diagram:t}},__vite__mapDeps([97,95,68,69,3,4]),import.meta.url);return{id:c1,diagram:e}},"loader"),pF={id:c1,detector:fF,loader:gF},h1="railroadPeg",mF=C(e=>/^\s*railroad-peg-beta/i.test(e),"detector"),yF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./qdAkw__e.js");return{diagram:t}},__vite__mapDeps([98,95,68,69,3,4]),import.meta.url);return{id:h1,diagram:e}},"loader"),xF={id:h1,detector:mF,loader:yF},np=!1,dc=C(()=>{np||(np=!0,Sl("error",QA,e=>e.toLowerCase().trim()==="error"),Sl("---",{db:{clear:C(()=>{},"clear")},styles:{},renderer:{draw:C(()=>{},"draw")},parser:{parse:C(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:C(()=>null,"init")},e=>e.toLowerCase().trimStart().startsWith("---")),Bh(r5,h5,O5),Bh(ZL,zL,g5,RA,oA,uA,pA,xA,AA,PA,tA,jL,s5,lA,zA,jA,kA,x5,w5,TA,_5,q5,$5,v5,H5,Z5,cF,uF,pF,xF,G5,iF,sF,J5))},"addDiagrams"),bF=C(async()=>{Lt.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Ta).map(async([r,{detector:i,loader:o}])=>{if(o)try{$h(r)}catch{try{const{diagram:a,id:s}=await o();Sl(s,a,i)}catch(a){throw Lt.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete Ta[r],a}}}))).filter(r=>r.status==="rejected");if(t.length>0){Lt.error(`Failed to load ${t.length} external diagrams`);for(const r of t)Lt.error(r);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),CF="graphics-document document";function d1(e,t){e.attr("role",CF),t!==""&&e.attr("aria-roledescription",t)}C(d1,"setA11yDiagramInfo");function u1(e,t,r,i){if(e.insert!==void 0){if(r){const o=`chart-desc-${i}`;e.attr("aria-describedby",o),e.insert("desc",":first-child").attr("id",o).text(r)}if(t){const o=`chart-title-${i}`;e.attr("aria-labelledby",o),e.insert("title",":first-child").attr("id",o).text(t)}}}C(u1,"addSVGa11yTitleDescription");var Ma,Xl=(Ma=class{constructor(t,r,i,o,a){this.type=t,this.text=r,this.db=i,this.parser=o,this.renderer=a}static async fromText(t,r={}){const i=typeof t=="string"?{cleaned:t}:t,o=Ar(),a=Zl(i.cleaned,o);try{$h(a)}catch{const u=C2(a);if(!u)throw new Jp(`Diagram ${a} not found.`);const{id:f,diagram:g}=await u();Sl(f,g)}const{db:s,parser:n,renderer:l,init:c}=$h(a);n.parser&&(n.parser.yy=s),s.clear?.(),c?.(o),r.title&&s.setDiagramTitle?.(r.title);let h=i.cleaned;if(s.preserveCommentsWhenParsing&&i.withComments){const u=o.maxTextSize??Ld.maxTextSize;i.withComments.length>u?Lt.warn(`Comment-preserving source exceeds maxTextSize (${i.withComments.length} > ${u}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`):h=i.withComments}const d=TM(h)+`
|
|
301
|
+
L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),cL=C((e,t,r)=>{const i=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),hL=C((e,t,r)=>{const i=Ar(),{themeVariables:o}=i,{strokeWidth:a}=o,s=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");s.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),s.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),s.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),s.selectAll("*").attr("stroke-width",`${a}`)},"requirement_contains_neo"),dL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),uL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-openArrowEnd").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",11).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1 1 L 11 6 L 1 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-openArrowStart").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",1).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 11 1 L 1 6 L 11 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none")},"openArrow"),fL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hollowCircleStart").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hollowCircleEnd").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none")},"hollowCircle"),gL={extension:H_,composition:Y_,aggregation:X_,dependency:j_,lollipop:G_,point:U_,circle:V_,cross:Z_,barb:K_,barbNeo:Q_,hierarchy:dL,only_one:J_,zero_or_one:tL,one_or_more:eL,zero_or_more:rL,only_one_neo:iL,zero_or_one_neo:oL,one_or_more_neo:aL,zero_or_more_neo:sL,requirement_arrow:nL,requirement_contains:cL,requirement_arrow_neo:lL,requirement_contains_neo:hL,openArrow:uL,hollowCircle:fL},pL=z_,mL={common:kn,getConfig:Ar,insertCluster:UB,insertEdge:W_,insertEdgeLabel:E_,insertMarkers:pL,insertNode:eb,interpolateToCurve:Vd,labelHelper:he,log:Lt,positionEdgeLabel:I_},yL=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],mn=Object.create(null),Cb=C(e=>{for(const t of e)mn[t.name]=t},"registerLayoutLoaders"),xL=C(()=>{const e=C(async()=>await Ve(()=>import("./D2KpwJIq.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"loader");return[{name:"elk",loader:e,algorithm:"elk.layered"},...yL.map(t=>({name:t,loader:e,algorithm:t}))]},"elkLayoutLoaders"),bL=C(()=>{Cb([{name:"dagre",loader:C(async()=>await Ve(()=>import("./Dg1VUJOX.js"),__vite__mapDeps([7,2,3,4,5]),import.meta.url),"loader")},{name:"swimlane",loader:C(async()=>await Ve(()=>import("./BhP2yLip.js"),__vite__mapDeps([8,1,2,3,4,5]),import.meta.url),"loader")},{name:"cose-bilkent",loader:C(async()=>await Ve(()=>import("./CfiSkM8N.js"),__vite__mapDeps([9,10,6]),import.meta.url),"loader")},...xL()])},"registerDefaultLayoutLoaders");bL();var AP=C(async(e,t)=>{if(!Object.hasOwn(mn,e.layoutAlgorithm))throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(const a of e.nodes){const s=a.domId||a.id;a.domId=`${e.diagramId}-${s}`}const r=mn[e.layoutAlgorithm],i=await r.loader();a2(t,e.config);const o=await i.render(e,t,mL,{algorithm:r.algorithm});return B_(t.node()),o},"render"),ch="dagre",FP=C((e="",{fallback:t=ch}={})=>{if(Object.hasOwn(mn,e))return e;for(const r of[t,ch])if(Object.hasOwn(mn,r))return Lt.warn(`Layout algorithm ${e} is not registered. Using ${r} as fallback.`),r;throw new Error(`Neither layout algorithm ${e}, ${t}, nor ${ch} is registered.`)},"getRegisteredLayoutAlgorithm"),CL=C(e=>{const{securityLevel:t}=Ge();let r=Ye("body");if(t==="sandbox"){const a=Ye(`#i${e}`).node()?.contentDocument??document;r=Ye(a.body)}return r.select(`#${e}`)},"selectSvgElement"),ku="comm",wb="rule",kb="decl",wL="@media",kL="@import",SL="@supports",vL="@namespace",td="@keyframes",Sb="@layer",ML="@scope",TL=Math.abs,hn=String.fromCharCode;function vb(e){return e.trim()}function ed(e,t,r){return e.replace(t,r)}function is(e,t){return e.charCodeAt(t)|0}function ks(e,t,r){return e.slice(t,r)}function oo(e){return e.length}function Mb(e){return e.length}function jn(e,t){return t.push(e),e}var cc=1,Ss=1,Tb=0,Ii=0,qr=0,Fs="";function Su(e,t,r,i,o,a,s,n){return{value:e,root:t,parent:r,type:i,props:o,children:a,line:cc,column:Ss,length:s,return:"",siblings:n}}function BL(){return qr}function _L(){return qr=Ii>0?is(Fs,--Ii):0,Ss--,qr===10&&(Ss=1,cc--),qr}function ji(){return qr=Ii<Tb?is(Fs,Ii++):0,Ss++,qr===10&&(Ss=1,cc++),qr}function Vo(){return is(Fs,Ii)}function fl(){return Ii}function hc(e,t){return ks(Fs,e,t)}function yn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function LL(e){return cc=Ss=1,Tb=oo(Fs=e),Ii=0,[]}function AL(e){return Fs="",e}function hh(e){return vb(hc(Ii-1,rd(e===91?e+2:e===40?e+1:e)))}function FL(e){for(;(qr=Vo())&&qr<33;)ji();return yn(e)>2||yn(qr)>3?"":" "}function $L(e,t){for(;--t&&ji()&&!(qr<48||qr>102||qr>57&&qr<65||qr>70&&qr<97););return hc(e,fl()+(t<6&&Vo()==32&&ji()==32))}function rd(e){for(;ji();)switch(qr){case e:return Ii;case 34:case 39:e!==34&&e!==39&&rd(qr);break;case 40:e===41&&rd(e);break;case 92:ji();break}return Ii}function EL(e,t){for(;ji()&&e+qr!==57;)if(e+qr===84&&Vo()===47)break;return"/*"+hc(t,Ii-1)+"*"+hn(e===47?e:ji())}function PL(e){for(;!yn(Vo());)ji();return hc(e,Ii)}function IL(e){return AL(gl("",null,null,null,[""],e=LL(e),0,[0],e))}function gl(e,t,r,i,o,a,s,n,l){for(var c=0,h=0,d=s,u=0,f=0,g=0,p=1,m=1,y=1,x=0,b=0,S="",T=o,k=a,_=i,A=S;m;)switch(g=b,b=ji()){case 40:g!=108&&is(A,d-1)==58?(x++,A+="("):A+=hh(b);break;case 41:x--,A+=")";break;case 34:case 39:case 91:A+=hh(b);break;case 9:case 10:case 13:case 32:if(x>0){A+=hn(b);break}A+=FL(g);break;case 92:A+=$L(fl()-1,7);continue;case 47:switch(Vo()){case 42:case 47:jn(OL(EL(ji(),fl()),t,r,l),l),(yn(g||1)==5||yn(Vo()||1)==5)&&oo(A)&&ks(A,-1,void 0)!==" "&&(A+=" ");break;default:A+="/"}break;case 123*p:n[c++]=oo(A)*y;case 125*p:case 59:case 0:if(x>0&&b){A+=hn(b);break}switch(b){case 0:case 125:m=0;case 59+h:y==-1&&(A=ed(A,/\f/g,"")),f>0&&(oo(A)-d||p===0)&&jn(f>32?sp(A+";",i,r,d-1,l):sp(ed(A," ","")+";",i,r,d-2,l),l);break;case 59:A+=";";default:if(jn(_=ap(A,t,r,c,h,o,n,S,T=[],k=[],d,a),a),b===123)if(h===0)gl(A,t,_,_,T,a,d,n,k);else{switch(u){case 99:if(is(A,3)===110)break;case 108:if(is(A,2)===97)break;default:h=0;case 100:case 109:case 115:}h?gl(e,_,_,i&&jn(ap(e,_,_,0,0,o,n,S,o,T=[],d,k),k),o,k,d,n,i?T:k):gl(A,_,_,_,[""],k,0,n,k)}}c=h=f=0,p=y=1,S=A="",d=s;break;case 58:d=1+oo(A),f=g;default:if(p<1){if(b==123)--p;else if(b==125&&p++==0&&_L()==125)continue}switch(A+=hn(b),b*p){case 38:y=h>0?1:(A+="\f",-1);break;case 44:if(x>0)break;n[c++]=(oo(A)-1)*y,y=1;break;case 64:Vo()===45&&(A+=hh(ji())),u=Vo(),h=d=oo(S=A+=PL(fl())),b++;break;case 45:g===45&&oo(A)==2&&(p=0)}}return a}function ap(e,t,r,i,o,a,s,n,l,c,h,d){for(var u=o-1,f=o===0?a:[""],g=Mb(f),p=0,m=0,y=0;p<i;++p)for(var x=0,b=ks(e,u+1,u=TL(m=s[p])),S=e;x<g;++x)(S=vb(m>0?f[x]+" "+b:ed(b,/&\f/g,f[x])))&&(l[y++]=S);return Su(e,t,r,o===0?wb:n,l,c,h,d)}function OL(e,t,r,i){return Su(e,t,r,ku,hn(BL()),ks(e,2,-2),0,i)}function sp(e,t,r,i,o){return Su(e,t,r,kb,ks(e,0,i),ks(e,i+1,-1),i,o)}function id(e,t){for(var r="",i=0;i<e.length;i++)r+=t(e[i],i,e,t)||"";return r}function DL(e,t,r,i){switch(e.type){case Sb:if(e.children.length)break;case kL:case vL:case kb:return e.return=e.return||e.value;case ku:return"";case td:return e.return=e.value+"{"+id(e.children,i)+"}";case wb:if(!oo(e.value=e.props.join(",")))return""}return oo(r=id(e.children,i))?e.return=e.value+"{"+r+"}":""}function RL(e){var t=Mb(e);return function(r,i,o,a){for(var s="",n=0;n<t;n++)s+=e[n](r,i,o,a)||"";return s}}var Bb="c4",NL=C(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),"detector"),qL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./B1sTTKq-.js");return{diagram:t}},__vite__mapDeps([11,12]),import.meta.url);return{id:Bb,diagram:e}},"loader"),WL={id:Bb,detector:NL,loader:qL},zL=WL,_b="flowchart-v2",HL=C(e=>/^\s*(graph|flowchart)/.test(e),"detector"),YL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DPWIkUJh.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:_b,diagram:e}},"loader"),XL={id:_b,detector:HL,loader:YL},jL=XL,Lb="agentflow",GL=C(e=>/^\s*agentflow-beta\b/.test(e),"detector"),UL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./EVnmmycb.js");return{diagram:t}},__vite__mapDeps([63,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Lb,diagram:e}},"loader"),VL={id:Lb,detector:GL,loader:UL},ZL=VL,Ab="swimlane",KL=C(e=>/^\s*swimlane-beta\b/.test(e),"detector"),QL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CWgzsPKB.js");return{diagram:t}},__vite__mapDeps([64,13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Ab,diagram:e}},"loader"),JL={id:Ab,detector:KL,loader:QL},tA=JL,Fb="er",eA=C(e=>/^\s*erDiagram/.test(e),"detector"),rA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./ohZ0BtRB.js");return{diagram:t}},__vite__mapDeps([65,15,16]),import.meta.url);return{id:Fb,diagram:e}},"loader"),iA={id:Fb,detector:eA,loader:rA},oA=iA,$b="gitGraph",aA=C(e=>/^\s*gitGraph/.test(e),"detector"),sA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CFg7iVIZ.js");return{diagram:t}},__vite__mapDeps([66,67,68,69,3,4]),import.meta.url);return{id:$b,diagram:e}},"loader"),nA={id:$b,detector:aA,loader:sA},lA=nA,Eb="gantt",cA=C(e=>/^\s*gantt/.test(e),"detector"),hA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DBsXclsv.js");return{diagram:t}},__vite__mapDeps([70,6,71]),import.meta.url);return{id:Eb,diagram:e}},"loader"),dA={id:Eb,detector:cA,loader:hA},uA=dA,Pb="info",fA=C(e=>/^\s*info/.test(e),"detector"),gA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DbYmdzfs.js");return{diagram:t}},__vite__mapDeps([72,69,3,4]),import.meta.url);return{id:Pb,diagram:e}},"loader"),pA={id:Pb,detector:fA,loader:gA},Ib="pie",mA=C(e=>/^\s*pie/.test(e),"detector"),yA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CAMYapEA.js");return{diagram:t}},__vite__mapDeps([73,68,69,3,4,71]),import.meta.url);return{id:Ib,diagram:e}},"loader"),xA={id:Ib,detector:mA,loader:yA},Ob="quadrantChart",bA=C(e=>/^\s*quadrantChart/.test(e),"detector"),CA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./B9QnX69E.js");return{diagram:t}},__vite__mapDeps([74,71]),import.meta.url);return{id:Ob,diagram:e}},"loader"),wA={id:Ob,detector:bA,loader:CA},kA=wA,Db="xychart",SA=C(e=>/^\s*xychart(-beta)?/.test(e),"detector"),vA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Cl2rjjSj.js");return{diagram:t}},__vite__mapDeps([75,71]),import.meta.url);return{id:Db,diagram:e}},"loader"),MA={id:Db,detector:SA,loader:vA},TA=MA,Rb="requirement",BA=C(e=>/^\s*requirement(Diagram)?/.test(e),"detector"),_A=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DZBWbkQT.js");return{diagram:t}},__vite__mapDeps([76,15,16]),import.meta.url);return{id:Rb,diagram:e}},"loader"),LA={id:Rb,detector:BA,loader:_A},AA=LA,Nb="sequence",FA=C(e=>/^\s*sequenceDiagram/.test(e),"detector"),$A=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./99N6trPd.js");return{diagram:t}},__vite__mapDeps([77,67,12]),import.meta.url);return{id:Nb,diagram:e}},"loader"),EA={id:Nb,detector:FA,loader:$A},PA=EA,qb="classDiagram",IA=C(e=>/^\s*classDiagram/.test(e),"detector"),OA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./lWlirZMs.js");return{diagram:t}},__vite__mapDeps([78,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:qb,diagram:e}},"loader"),DA={id:qb,detector:IA,loader:OA},RA=DA,Wb="stateDiagram",NA=C(e=>/^\s*stateDiagram/.test(e),"detector"),qA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CR_d2Ton.js");return{diagram:t}},__vite__mapDeps([79,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Wb,diagram:e}},"loader"),WA={id:Wb,detector:NA,loader:qA},zA=WA,zb="journey",HA=C(e=>/^\s*journey/.test(e),"detector"),YA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./lJ4MSEIh.js");return{diagram:t}},__vite__mapDeps([80,14,12]),import.meta.url);return{id:zb,diagram:e}},"loader"),XA={id:zb,detector:HA,loader:YA},jA=XA,Gn=4,Hs=75,GA=C(e=>{const t=[];for(const o of e.split(/\s+/)){let a=[...o];for(;a.length>Hs;)t.push(a.slice(0,Hs).join("")),a=a.slice(Hs);a.length>0&&t.push(a.join(""))}const r=[];let i="";for(const o of t){const a=i?`${i} ${o}`:o;[...a].length>Hs?(r.push(i),i=o):i=a}if(i&&r.push(i),r.length>Gn){r.length=Gn;const o=r[Gn-1]??"";r[Gn-1]=`${[...o].slice(0,Hs-3).join("")}...`}return r},"wrapErrorMessage"),UA=C((e,t,r,i)=>{Lt.debug(`rendering svg for syntax error
|
|
302
|
+
`);const o=CL(t),a=o.append("g"),s=GA(i?.db.getErrorMessage?.()??""),n=s.length>0?500+s.length*56:512;o.attr("viewBox",`0 0 2412 ${n}`),um(o,100,n,!0),a.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),a.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),a.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),a.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),a.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),a.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),a.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),a.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`),s.forEach((l,c)=>{a.append("text").attr("class","error-text").attr("x",1440).attr("y",510+c*56).attr("font-size","42px").style("text-anchor","middle").text(l)})},"draw"),Hb={draw:UA},VA=Hb,dh,ZA={clear(){dh=void 0},setErrorMessage(e){dh=e},getErrorMessage(){return dh}},KA={db:ZA,renderer:Hb,parser:{parse:C(()=>{},"parse")}},QA=KA,Yb="flowchart-elk",JA=C((e,t={})=>/^\s*flowchart-elk/.test(e)?(t.layout="elk",!0):!1,"detector"),t5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DPWIkUJh.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Yb,diagram:e}},"loader"),e5={id:Yb,detector:JA,loader:t5},r5=e5,Xb="timeline",i5=C(e=>/^\s*timeline/.test(e),"detector"),o5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DIZhZiBE.js");return{diagram:t}},[],import.meta.url);return{id:Xb,diagram:e}},"loader"),a5={id:Xb,detector:i5,loader:o5},s5=a5,jb="mindmap",n5=C(e=>/^\s*mindmap/.test(e),"detector"),l5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./wOi8eNbH.js");return{diagram:t}},__vite__mapDeps([81,15,16]),import.meta.url);return{id:jb,diagram:e}},"loader"),c5={id:jb,detector:n5,loader:l5},h5=c5,Gb="kanban",d5=C(e=>/^\s*kanban/.test(e),"detector"),u5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DaHFtoCa.js");return{diagram:t}},__vite__mapDeps([82,14]),import.meta.url);return{id:Gb,diagram:e}},"loader"),f5={id:Gb,detector:d5,loader:u5},g5=f5,Ub="sankey",p5=C(e=>/^\s*sankey(-beta)?/.test(e),"detector"),m5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./a3c0uoAC.js");return{diagram:t}},__vite__mapDeps([83,71]),import.meta.url);return{id:Ub,diagram:e}},"loader"),y5={id:Ub,detector:p5,loader:m5},x5=y5,Vb="packet",b5=C(e=>/^\s*packet(-beta)?/.test(e),"detector"),C5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./95fFKc_B.js");return{diagram:t}},__vite__mapDeps([84,68,69,3,4]),import.meta.url);return{id:Vb,diagram:e}},"loader"),w5={id:Vb,detector:b5,loader:C5},Zb="radar",k5=C(e=>/^\s*radar-beta/.test(e),"detector"),S5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./D0LnBaLt.js");return{diagram:t}},__vite__mapDeps([85,68,69,3,4]),import.meta.url);return{id:Zb,diagram:e}},"loader"),v5={id:Zb,detector:k5,loader:S5},Kb="block",M5=C(e=>/^\s*block(-beta)?/.test(e),"detector"),T5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DmzyDWxY.js");return{diagram:t}},__vite__mapDeps([86,14,5]),import.meta.url);return{id:Kb,diagram:e}},"loader"),B5={id:Kb,detector:M5,loader:T5},_5=B5,Qb="treeView",L5=C(e=>/^\s*treeView-beta/.test(e),"detector"),A5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Bue8rt91.js");return{diagram:t}},__vite__mapDeps([87,67,68,69,3,4]),import.meta.url);return{id:Qb,diagram:e}},"loader"),F5={id:Qb,detector:L5,loader:A5},$5=F5,Jb="architecture",E5=C(e=>/^\s*architecture/.test(e),"detector"),P5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./C-QdzJwG.js");return{diagram:t}},__vite__mapDeps([88,68,69,3,4,10,6]),import.meta.url);return{id:Jb,diagram:e}},"loader"),I5={id:Jb,detector:E5,loader:P5},O5=I5,t1="eventmodeling",D5=C(e=>/^\s*eventmodeling/.test(e),"detector"),R5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CBcFUe2n.js");return{diagram:t}},__vite__mapDeps([89,68,69,3,4]),import.meta.url);return{id:t1,diagram:e}},"loader"),N5={id:t1,detector:D5,loader:R5},q5=N5,e1="ishikawa",W5=C(e=>/^\s*ishikawa(-beta)?\b/i.test(e),"detector"),z5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./3gy7b498.js");return{diagram:t}},[],import.meta.url);return{id:e1,diagram:e}},"loader"),H5={id:e1,detector:W5,loader:z5},r1="venn",Y5=C(e=>/^\s*venn-beta/.test(e),"detector"),X5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Yqp_UZB_.js");return{diagram:t}},[],import.meta.url);return{id:r1,diagram:e}},"loader"),j5={id:r1,detector:Y5,loader:X5},G5=j5,i1="treemap",U5=C(e=>/^\s*treemap/.test(e),"detector"),V5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Bqvx2p-8.js");return{diagram:t}},__vite__mapDeps([90,16,68,69,3,4,71]),import.meta.url);return{id:i1,diagram:e}},"loader"),Z5={id:i1,detector:U5,loader:V5},o1="usecase",K5=C(e=>/^\s*usecase-beta(?:\s|$)/.test(e),"detector"),Q5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./3LDzw5hr.js");return{diagram:t}},__vite__mapDeps([91,15,16]),import.meta.url);return{id:o1,diagram:e}},"loader"),J5={id:o1,detector:K5,loader:Q5},a1="wardley",tF=C(e=>/^\s*wardley-beta/i.test(e),"detector"),eF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CGuufzS0.js");return{diagram:t}},__vite__mapDeps([92,68,69,3,4]),import.meta.url);return{id:a1,diagram:e}},"loader"),rF={id:a1,detector:tF,loader:eF},iF=rF,s1="cynefin",oF=C(e=>/^\s*cynefin-beta(?:[\s:]|$)/.test(e),"detector"),aF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./_H8LGW4O.js");return{diagram:t}},__vite__mapDeps([93,68,69,3,4]),import.meta.url);return{id:s1,diagram:e}},"loader"),sF={id:s1,detector:oF,loader:aF},n1="railroad",nF=C(e=>/^\s*railroad-beta/i.test(e),"detector"),lF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CI1ntq87.js");return{diagram:t}},__vite__mapDeps([94,95,68,69,3,4]),import.meta.url);return{id:n1,diagram:e}},"loader"),cF={id:n1,detector:nF,loader:lF},l1="railroadEbnf",hF=C(e=>/^\s*railroad-ebnf-beta/i.test(e),"detector"),dF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BtupVFyT.js");return{diagram:t}},__vite__mapDeps([96,95,68,69,3,4]),import.meta.url);return{id:l1,diagram:e}},"loader"),uF={id:l1,detector:hF,loader:dF},c1="railroadAbnf",fF=C(e=>/^\s*railroad-abnf-beta/i.test(e),"detector"),gF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./B-VOV29o.js");return{diagram:t}},__vite__mapDeps([97,95,68,69,3,4]),import.meta.url);return{id:c1,diagram:e}},"loader"),pF={id:c1,detector:fF,loader:gF},h1="railroadPeg",mF=C(e=>/^\s*railroad-peg-beta/i.test(e),"detector"),yF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Bs9C3yw5.js");return{diagram:t}},__vite__mapDeps([98,95,68,69,3,4]),import.meta.url);return{id:h1,diagram:e}},"loader"),xF={id:h1,detector:mF,loader:yF},np=!1,dc=C(()=>{np||(np=!0,Sl("error",QA,e=>e.toLowerCase().trim()==="error"),Sl("---",{db:{clear:C(()=>{},"clear")},styles:{},renderer:{draw:C(()=>{},"draw")},parser:{parse:C(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:C(()=>null,"init")},e=>e.toLowerCase().trimStart().startsWith("---")),Bh(r5,h5,O5),Bh(ZL,zL,g5,RA,oA,uA,pA,xA,AA,PA,tA,jL,s5,lA,zA,jA,kA,x5,w5,TA,_5,q5,$5,v5,H5,Z5,cF,uF,pF,xF,G5,iF,sF,J5))},"addDiagrams"),bF=C(async()=>{Lt.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Ta).map(async([r,{detector:i,loader:o}])=>{if(o)try{$h(r)}catch{try{const{diagram:a,id:s}=await o();Sl(s,a,i)}catch(a){throw Lt.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete Ta[r],a}}}))).filter(r=>r.status==="rejected");if(t.length>0){Lt.error(`Failed to load ${t.length} external diagrams`);for(const r of t)Lt.error(r);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),CF="graphics-document document";function d1(e,t){e.attr("role",CF),t!==""&&e.attr("aria-roledescription",t)}C(d1,"setA11yDiagramInfo");function u1(e,t,r,i){if(e.insert!==void 0){if(r){const o=`chart-desc-${i}`;e.attr("aria-describedby",o),e.insert("desc",":first-child").attr("id",o).text(r)}if(t){const o=`chart-title-${i}`;e.attr("aria-labelledby",o),e.insert("title",":first-child").attr("id",o).text(t)}}}C(u1,"addSVGa11yTitleDescription");var Ma,Xl=(Ma=class{constructor(t,r,i,o,a){this.type=t,this.text=r,this.db=i,this.parser=o,this.renderer=a}static async fromText(t,r={}){const i=typeof t=="string"?{cleaned:t}:t,o=Ar(),a=Zl(i.cleaned,o);try{$h(a)}catch{const u=C2(a);if(!u)throw new Jp(`Diagram ${a} not found.`);const{id:f,diagram:g}=await u();Sl(f,g)}const{db:s,parser:n,renderer:l,init:c}=$h(a);n.parser&&(n.parser.yy=s),s.clear?.(),c?.(o),r.title&&s.setDiagramTitle?.(r.title);let h=i.cleaned;if(s.preserveCommentsWhenParsing&&i.withComments){const u=o.maxTextSize??Ld.maxTextSize;i.withComments.length>u?Lt.warn(`Comment-preserving source exceeds maxTextSize (${i.withComments.length} > ${u}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`):h=i.withComments}const d=TM(h)+`
|
|
303
303
|
`;return i.frontmatterLineOffset&&s.setFrontmatterLineOffset?.(i.frontmatterLineOffset),await n.parse(d),new Ma(a,d,s,n,l)}async render(t,r){await this.renderer.draw(this.text,t,r,this)}getParser(){return this.parser}getType(){return this.type}},C(Ma,"Diagram"),Ma),lp=[],wF=C(()=>{lp.forEach(e=>{e()}),lp=[]},"attachFunctions"),kF=C(e=>e.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function f1(e){const t=Qp(e);if(!t)return{text:e,metadata:{}};const r=t.indent,i=r?t.body.split(`
|
|
304
304
|
`).map(s=>s.startsWith(r)?s.slice(r.length):s).join(`
|
|
305
305
|
`):t.body;let o=o2(i,{schema:i2})??{};o=typeof o=="object"&&!Array.isArray(o)?o:{};const a={};return o.displayMode&&(a.displayMode=o.displayMode.toString()),o.title&&(a.title=o.title.toString()),o.config&&(a.config=o.config),{text:e.slice(t.length),metadata:a}}C(f1,"extractFrontMatter");var SF=C(e=>e.replace(/\r\n?/g,`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aR as a,aP as u,aQ as r,m as N,a0 as w,l as x,ab as T,Y as A,b3 as C,aJ as M,ad as P,bM as m,bL as i,O as v,bZ as R,w as S,bN as s}from"./3SdAC2_C.js";import{B}from"./
|
|
1
|
+
import{aR as a,aP as u,aQ as r,m as N,a0 as w,l as x,ab as T,Y as A,b3 as C,aJ as M,ad as P,bM as m,bL as i,O as v,bZ as R,w as S,bN as s}from"./3SdAC2_C.js";import{B}from"./CHWIPzMj.js";import{i as c}from"./D_gp0b_i.js";function J(g,p,F,l,L,O){let b=a;a&&u();var e=null;a&&r.nodeType===N&&(e=r,u());var f=a?r:g,E=v,o=new B(f,!1);w(()=>{const t=p()||null;var h=t==="svg"?S:void 0;if(t===null){o.ensure(null,null),s(!0);return}return o.ensure(t,_=>{if(t){var y=a;if(e=a?e:T(t,h),A(e,e),l){var d=null;a&&C(t)&&e.append(d=document.createComment(""));var n=a?M(e):e.appendChild(P());a&&(n===null?m(!1):i(n)),c(E),l(e,n),d?.remove(),c(null)}v.nodes.end=e,y||_.before(e)}a&&i(_)}),s(!0),()=>{t&&s(!1)}},x),R(()=>{s(!0)}),b&&(m(!0),i(f))}export{J as e};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var I1=Object.defineProperty;var js=t=>{throw TypeError(t)};var z1=(t,e,r)=>e in t?I1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var le=(t,e,r)=>z1(t,typeof e!="symbol"?e+"":e,r),R1=(t,e,r)=>e.has(t)||js("Cannot "+r);var Vs=(t,e,r)=>e.has(t)?js("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r);var tn=(t,e,r)=>(R1(t,e,"access private method"),r);import{cQ as mr,b4 as D1,dH as Xl,a7 as _n,a5 as Ia,a6 as N1,a4 as P1,aa as _1,am as L1,a1 as O1,e8 as $1,X as B1,bm as Yl,cT as qr,dG as Zl,b3 as q1,b7 as F1,cB as H1,cR as U1,cm as W1,dB as si,e0 as G1,dV as j1,aK as X0,ax as V1,aF as _i,dF as Ql,dS as K1,ec as Jl,eb as X1}from"./TE5M669U.js";import{D as Ks,b4 as Y1,be as Z1,aC as Q1}from"./Cr_KTPcL.js";import{M as J1,G as hn,I as eh}from"./Bqd7fdCF.js";import{zo as y0,Jt as E,nY as ve,nX as xe,aT as th,m as ec,I as De,bq as gn,ke as Li,me as w0,aq as Kt,md as Xs,mn as Ys,mk as Zs,jN as tc,gz as oi,HR as rh,tI as nh,AR as ah,o$ as ih,n1 as k0,Cp as sh,iN as oh,mx as lh,m8 as ch}from"./eqIwOdFV.js";import{bm as ie}from"./2CQlphfn.js";import{l as rt}from"./Be253aOc.js";import{m as uh,f as Tr}from"./uh7Y9z2F.js";import{a as vn}from"./BdWqymET.js";import{o as pe,r as Vt,e as bn,s as V,_ as Je,l as yn,g as hh,n as Le,c as hr,b as Ve,u as dh,d as ph}from"./CIyUrgF0.js";import{j as rc}from"./uXuxG9cN.js";import{u as mh}from"./CH6hoQCh.js";import{selectActiveWorkspaceIds as fh}from"./DK-gr9PF.js";import{i as je}from"./CL3a4Hm1.js";import{l as za,c as Oi}from"./ChTqQfQN.js";import"./CXjastM3.js";import{e as gh,h as Er}from"./DONrLvvt.js";import{h as wn}from"./Bn7ZmTkF.js";import{i as Qs}from"./BBWuirRW.js";import{f as $i,o as nc,p as ac,h as vh,m as ic,i as bh,k as yh}from"./BhaVZ25C.js";const Ze=[];for(let t=0;t<256;++t)Ze.push((t+256).toString(16).slice(1));function wh(t,e=0){return(Ze[t[e+0]]+Ze[t[e+1]]+Ze[t[e+2]]+Ze[t[e+3]]+"-"+Ze[t[e+4]]+Ze[t[e+5]]+"-"+Ze[t[e+6]]+Ze[t[e+7]]+"-"+Ze[t[e+8]]+Ze[t[e+9]]+"-"+Ze[t[e+10]]+Ze[t[e+11]]+Ze[t[e+12]]+Ze[t[e+13]]+Ze[t[e+14]]+Ze[t[e+15]]).toLowerCase()}const kh=new Uint8Array(16);function xh(){return crypto.getRandomValues(kh)}function Bi(t,e,r){return crypto.randomUUID?crypto.randomUUID():Sh(t)}function Sh(t,e,r){t=t||{};const n=t.random??t.rng?.()??xh();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,wh(n)}function qi(t,e){if(t.repositoryIdentity===null)return null;if(t.repositoryIdentity){const{provider:a,instanceBaseUrl:i,projectPath:s}=t.repositoryIdentity,o=qi({...t,repositoryIdentity:void 0,githubUrl:`${i}/${s}`},a==="gitlab"?i:void 0);return o?.provider===a?o:null}const r=t.githubUrl;if(!r)return null;const n=/^(?:https:\/\/github\.com\/|git@github\.com:)([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+?)(?:\.git)?\/?$/i.exec(r);return n&&!n.slice(1).some(a=>a==="."||a==="..")?{provider:"github",instanceBaseUrl:"https://github.com",projectPath:`${n[1]}/${n[2]}`}:e?J1(r.replace(/\.git\/?$/,""),e):null}function m3(t,e){return t.type==="local"?t.plainFolder?"folder":"local":qi(t,e)?.provider==="gitlab"?"gitlab":"github"}function sc(t){const e=t.split(/[\\/]/).filter(Boolean);return e[e.length-1]??""}function f3(t){if(t.type!=="local")return{ownerPrefix:t.owner,primary:t.name};const e=sc(t.path)||t.name,r=t.owner?`${t.owner}/${t.name}`:void 0;return{primary:e,suffix:r}}function g3(t){return t.type==="local"&&t.path?t.path:void 0}const Ah=["/.clones/","/.repo-cache/"];function v3(t){const e=t.replaceAll("\\","/");return Ah.some(r=>e.includes(r))}function b3(t){const e=new Set;for(const r of t){const{repositoryPath:n,worktreePath:a}=r;n&&a&&n===a&&e.add(n)}return e}function Th(t){return t.includes("\\")||t.includes(":")||t.startsWith("/")?void 0:/^([^/]+)\/[^/]+$/.exec(t)?.[1]}function y3(t,e){const{selectedValue:r,selectedRepoType:n,confirmedGithubUrl:a}=t;if(!(n!=="github"||!r)){if(a){const i=e(a)?.owner;if(i)return i}return e(r)?.owner??Th(r)}}function w3(t,e){const r=e.trim().toLowerCase();return r===""?!0:[t.name,t.path,sc(t.path),t.owner,t.owner?`${t.owner}/${t.name}`:void 0].some(a=>a?.toLowerCase().includes(r)??!1)}const Eh="known-repos",Ch=6e4;function Mh({saved:t,source:e,dismissed:r,mode:n}){if(!e)return[...t];const a=new Map;if(n==="all")for(const s of[...e.repos,...t]){const o=y0(s);a.has(o)||a.set(o,s)}else{for(const s of t)a.set(y0(s),s);for(const s of e.repos)a.set(y0(s),s)}const i=[...a.values()].filter(s=>!r[y0(s)]);return n==="all"?i:i.slice(0,9)}function k3(t){const e=t.lastUsedAt?Date.parse(t.lastUsedAt):NaN;return Number.isFinite(e)?e:0}function x3({visible:t,admission:e,entry:r,readyAt:n,now:a}){return!t||!e?"skip":!r||r.admission!==e?"load":r.status==="pending"?"reuse":r.status==="ready"&&n?.requestId===r.requestId&&a-n.at<Ch?"skip":"load"}function S3(t,e){if(t.type==="local")return t.plainFolder?{repoPath:t.path,plainFolder:!0}:{repoPath:t.path};const r=qi(t,e);return r?.provider==="gitlab"?{repositoryCheckoutDraft:{instanceBaseUrl:r.instanceBaseUrl,projectPath:r.projectPath}}:r?{githubUrl:`https://github.com/${r.projectPath}`,exactRemote:!0}:{githubUrl:t.githubUrl||`https://github.com/${t.path}`,exactRemote:!0}}function Ih({compactFormState:t,lastSubmittedAgent:e,specialists:r,orchestratorId:n}){if(t?.isTeamMode??e?.isTeamMode??!1)return n;const i=o=>r.some(c=>c.id===o),s=t?.selectedSpecialist!==void 0?t.selectedSpecialist:e?.selectedSpecialist!==void 0?e.selectedSpecialist:i(Ks)?Ks:null;return s===null||!i(s)?null:s}const A3=E.createSelector(t=>t.workspaceInitializer.hydrated),T3=E.createSelector(t=>t.workspaceInitializer.compactFormState),E3=E.createSelector(t=>t.workspaceInitializer.onboardingFormState),C3=E.createSelector(t=>t.workspaceInitializer.lastSelectedRepo),M3=E.createSelector(t=>t.workspaceInitializer.branchByRepo),I3=E.createSelector(t=>t.workspaceInitializer.defaultParentPath),z3=E.createSelector(t=>ve(t.workspaceInitializer.recentRepos)),R3=E.createSelector((t,e)=>xe(t.workspaceInitializer.recentRepoRefreshes,e)),D3=E.createSelector((t,e)=>xe(t.workspaceInitializer.directoryStatusChecks,e)),N3=E.createSelector(t=>t.workspaceInitializer.dismissedRecentRepoKeys),P3=E.createSelector(t=>ve(t.workspaceInitializer.remoteSetups)),_3=E.createSelector(t=>t.workspaceInitializer.lastSubmittedAgent),L3=E.createSelector(t=>t.workspaceInitializer.agentByRepo),O3=E.createSelector(t=>t.workspaceInitializer.recentSpecialistIds),$3=E.createSelector((t,e)=>t.workspaceInitializer.agentByRepo[e]??null),B3=E.createSelector(t=>t.workspaceInitializer.pendingGitHubPrefill),q3=E.createSelector((t,e)=>({restore:xe(t.workspaceInitializer.draftRestores,e),clear:xe(t.workspaceInitializer.draftClears,e)})),F3=E.createSelector((t,e,r)=>{const n=xe(t.workspaceInitializer.initializationOutcomes,e);return n?.resourceId===r?n:void 0}),H3=E.createSelector((t,e)=>xe(t.workspaceInitializer.initializationOutcomes,e)),U3=E.createSelector((t,e)=>xe(t.workspaceInitializer.initializationResumes,e)),W3=E.createSelector(t=>Ih({compactFormState:t.workspaceInitializer.compactFormState,lastSubmittedAgent:t.workspaceInitializer.lastSubmittedAgent,specialists:Z1.select(t),orchestratorId:Y1.select(t)?.id??null})),zh=E.createSelector(t=>{const e=t.workspaceInitializer.gitCheckRequest,r=mr.select(t);return e&&r&&D1.select(t)?JSON.stringify([r,e]):null}),G3=E.createSelector(t=>{const e=zh.select(t),r=t.workspaceInitializer.gitCheck;return e&&r?.context===e?r.available:null}),Rh=E.createSelector(t=>{const e=xe(t.workspaceInitializer.recentRepoRefreshes,Eh),r=mr.select(t);return Mh({saved:ve(t.workspaceInitializer.recentRepos),source:e&&r&&e.admission===r?e:null,dismissed:t.workspaceInitializer.dismissedRecentRepoKeys,mode:"all"})}),j3=E.createSelector(t=>Xl.select(t)?Rh.select(t):[]),V3=E.createSelector(t=>Q1.select(t)||void 0),Js="workspace-debug-flags",x0={enableCreationAnimation:!0,animationDuration:300,enablePageTransitions:!0,enableComponentTransitions:!0,showDebugInfo:!1,showPerformanceMetrics:!1,logStateChanges:!1,enableAutofocus:!0,enableBranchCaching:!0,enableFormPersistence:!0,simulateSlowNetwork:!1,simulateErrors:!1,networkDelay:0};class Dh{constructor(){le(this,"flags");le(this,"listeners",new Set);this.flags=this.loadFlags()}loadFlags(){if(typeof localStorage>"u")return x0;try{const e=localStorage.getItem(Js);if(e)return{...x0,...JSON.parse(e)}}catch(e){za.error("Failed to load debug flags:",e)}return x0}saveFlags(){if(!(typeof localStorage>"u")){try{localStorage.setItem(Js,JSON.stringify(this.flags))}catch(e){za.error("Failed to save debug flags:",e)}this.listeners.forEach(e=>e(this.flags))}}get(e){return this.flags[e]}set(e,r){this.flags[e]=r,this.saveFlags()}toggle(e){typeof this.flags[e]=="boolean"&&(this.flags[e]=!this.flags[e],this.saveFlags())}reset(){this.flags={...x0},this.saveFlags()}getAll(){return{...this.flags}}subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)}toggleDebugPanel(){this.toggle("showDebugInfo"),za.info("Debug panel:",this.flags.showDebugInfo?"ON":"OFF")}async simulateDelay(e){return this.flags.simulateSlowNetwork&&this.flags.networkDelay>0&&await new Promise(r=>setTimeout(r,this.flags.networkDelay)),e}}const Ra=new Dh;function K3(t){if(!t)return"";let e=t;return e=e.replace(/\*\*(.+?)\*\*/g,"$1"),e=e.replace(/__(.+?)__/g,"$1"),e=e.replace(/(?<!\*)\*(?!\*)(.+?)(?<!\*)\*(?!\*)/g,"$1"),e=e.replace(/(?<!_)_(?!_)(.+?)(?<!_)_(?!_)/g,"$1"),e=e.replace(/~~(.+?)~~/g,"$1"),e=e.replace(/`([^`]+)`/g,"$1"),e=e.replace(/\[([^\]]+)\]\([^)]+\)/g,"$1"),e=e.replace(/^#{1,6}\s+/gm,""),e=e.replace(/^\*+\s*/gm,""),e=e.replace(/\s*\*+$/gm,""),e.trim()}function Nh(t){return t.charAt(0).toUpperCase()+t.slice(1)}function X3(t){if(!t||t.trim().length===0)return ie.workspace_sidebarHeader_branchEmpty_error();if(/[\s~^:\\?*\[\\]/.test(t))return ie.workspace_sidebarHeader_branchInvalidChars_error();if(t.includes("@{"))return ie.workspace_sidebarChanges_branchAtBrace_error({seq:"@{"});if(t==="@")return ie.workspace_sidebarChanges_branchAt_error({symbol:"@"});if(t.startsWith("."))return ie.workspace_sidebarHeader_branchStartsDot_error();if(t.endsWith(".lock"))return ie.workspace_sidebarHeader_branchEndsLock_error();if(t.includes(".."))return ie.workspace_sidebarHeader_branchDoubleDot_error();if(t.startsWith("/")||t.endsWith("/"))return ie.workspace_sidebarHeader_branchSlashEnds_error();if(t.includes("//"))return ie.workspace_sidebarHeader_branchDoubleSlash_error();if(t.startsWith("-"))return ie.workspace_sidebarHeader_branchStartsDash_error();if(t.endsWith("."))return ie.workspace_sidebarChanges_branchEndsPeriod_error();const e=t.split("/");for(const r of e){if(r.startsWith("."))return ie.workspace_sidebarChanges_branchComponentStartsDot_error();if(r.endsWith(".lock"))return ie.workspace_sidebarChanges_branchComponentEndsLock_error()}if(t.length>250)return ie.workspace_sidebarHeader_branchTooLong_error()}function Y3(t,e,r,n){return e&&r?`https://github.com/${e}/${r}/pull/${t}`:n||""}function li(t){return t==="Open"?"open":t==="Merged"?"merged":t==="Draft"?"draft":"closed"}function Z3(t,e){return`${e}:${t.agentId??"manual"}`}function Ph(t,e){if(t.length===0||e>=t.length)return 0;const r=Math.max(0,e);let n=0;for(let a=r;a<t.length;a++)t[a].isPushed||n++;return n}function _h(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed&&n++;return n}function Lh(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed||n++;return n}function Q3(t,e,r,n){const a=Ph(t,e),i=n?` (origin/${n})`:"";return r?a===1?ie.workspace_sidebarChanges_addToPr_one({suffix:i}):ie.workspace_sidebarChanges_addToPr_many({count:rt(a),suffix:i}):a===1?ie.workspace_sidebarChanges_pushToRemote_one({suffix:i}):ie.workspace_sidebarChanges_pushToRemote_many({count:rt(a),suffix:i})}function J3(t,e,r){const n=_h(t,e),a=r?` (origin/${r})`:"";return n===1?ie.workspace_sidebarChanges_undoPush_one({suffix:a}):ie.workspace_sidebarChanges_undoPush_many({count:rt(n),suffix:a})}function e6(t,e){const r=Lh(t,e);return r===1?ie.workspace_sidebarChanges_undoCommit_one():ie.workspace_sidebarChanges_undoCommit_many({count:rt(r)})}function t6(t,e){return e===0&&t.length>0}function r6(t,e,r,n){return!r||n==null?!1:t===r&&e===n}function n6(t,e,r){const n=`${e?"staged":"unstaged"}:${t}`;return r.has(n)}function a6(t,e,r){return r?.path===t&&r?.staged===e}function i6(t){if(t.length===0)return[];const e=new Map,r=[...t].sort((n,a)=>n.timestamp-a.timestamp);for(const n of r)for(const a of n.files??[]){const i=e.get(a.path);i?e.set(a.path,{additions:i.additions+(a.additions||0),deletions:i.deletions+(a.deletions||0)}):e.set(a.path,{additions:a.additions||0,deletions:a.deletions||0})}return Array.from(e.entries()).map(([n,a])=>({path:n,additions:a.additions,deletions:a.deletions,staged:!1}))}function s6(t,e,r){const n=new Set;let a=0,i=0;for(const s of t)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of e)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of r)for(const o of s.files||[])n.add(o.path),a+=o.additions||0,i+=o.deletions||0;return{totalFilesChanged:n.size,totalAdditions:a,totalDeletions:i}}function Oh(t){const e=t?.match(/^https?:\/\/github\.com\/([^/]+)\/([^/]+)\/pull\/\d+/i);return e?`${e[1]}/${e[2]}`:void 0}function o6(t,e,r,n,a){if(t&&t.length>0){const i=a?.split("/")[0];return t.map(s=>{const o=s.url||r(s.number),c=Oh(s.url),h=c!==void 0&&c.toLowerCase()!==a?.toLowerCase()?c:void 0;return{number:s.number,title:n(s),url:o,htmlUrl:o,status:li(s.status),createdAt:s.createdAt,updatedAt:s.updatedAt,isInMergeQueue:s.isDraft?void 0:s.isInMergeQueue,crossRepo:h,crossRepoDisplay:h?Fi(h,i):void 0}})}return e?[{number:e.number,title:n(e),url:r(e.number,e.url),htmlUrl:r(e.number,e.url),status:li(e.status),createdAt:e.createdAt,updatedAt:e.updatedAt,isInMergeQueue:e.isDraft?void 0:e.isInMergeQueue}]:[]}function l6(t){const{prNumber:e,prUrl:r}=t;return e==null||!r?null:{id:`legacy-pr-${e}`,number:e,url:r,title:"",status:t.prStatus??th.Open,createdAt:t.updatedAt,updatedAt:t.updatedAt}}function $h(t){const e=t.lastSnapshot?.state?.toLowerCase();return e==="merged"?"merged":e==="closed"?"closed":t.lastSnapshot?.isDraft?"draft":t.state==="completed"?"closed":"open"}function Da(t,e,r){if(e.length===0)return t;const n=r?.split("/")[0],a=t.map(i=>({...i}));for(const i of e){const s=!i.resource&&!i.monitorAvailability&&(!r||i.repo===r),o=_n(i),c=o.toLowerCase(),h=a.find(d=>!!o&&d.url.toLowerCase()===c||(i.resource||i.monitorAvailability?d.monitorIdentity===Ia(i):!d.resource&&!d.monitorAvailability&&(s?!d.crossRepo&&d.number===i.prNumber:d.crossRepo===i.repo&&d.number===i.prNumber)));if(h){h.monitorAgentId=i.agentId,h.resource=i.resource,h.monitorAvailability=i.monitorAvailability,h.monitorIdentity=i.resource||i.monitorAvailability?Ia(i):void 0,h.monitorSnapshot=i.lastSnapshot??h.monitorSnapshot;continue}a.push({number:i.prNumber,title:i.title??`${i.repo}${N1(i,i.prNumber)}`,resource:i.resource,monitorAvailability:i.monitorAvailability,monitorIdentity:i.resource||i.monitorAvailability?Ia(i):void 0,url:o,htmlUrl:o,status:$h(i),createdAt:i.createdAt,updatedAt:i.updatedAt,monitorAgentId:i.agentId,crossRepo:s?void 0:i.repo,crossRepoDisplay:s?void 0:Fi(i.repo,n),monitorSnapshot:i.lastSnapshot,monitorOnly:!0})}return a}function Fi(t,e){return e&&t.toLowerCase().startsWith(`${e.toLowerCase()}/`)?t.slice(e.length+1):t}function c6(t,e,r,n,a){const i=r?.toLowerCase(),s=new Set;for(const k of n)k.repoOwner&&k.repoName&&s.add(`${k.repoOwner}/${k.repoName}`.toLowerCase());let o=t;const c=[],h=[];if(t.some(k=>k.crossRepo)){o=[];for(const k of t)k.crossRepo?s.has(k.crossRepo.toLowerCase())?c.push(k):h.push(k):o.push(k)}const d=[],v=[],m=[];for(const k of e){const I=k.repo.toLowerCase();_n(k)&&o.some(R=>R.url===_n(k))||!k.resource&&!k.monitorAvailability&&(!i||I===i)?d.push(k):_n(k)&&c.some(R=>R.url===_n(k))||!k.resource&&!k.monitorAvailability&&s.has(I)?v.push(k):m.push(k)}const w=Da(o,d,r),A=r?.split("/")[0],C=new Set([...w,...c,...h].map(k=>`${(k.crossRepo??r??"").toLowerCase()}#${k.number}`)),M=[...c];for(const k of n){if(!k.repoOwner||!k.repoName)continue;const I=`${k.repoOwner}/${k.repoName}`;for(const R of k.pullRequests??[]){const Z=`${I.toLowerCase()}#${R.number}`;if(C.has(Z))continue;C.add(Z);const K=R.url||`https://github.com/${I}/pull/${R.number}`,ee=i!==void 0&&I.toLowerCase()===i;M.push({number:R.number,title:a(R),url:K,htmlUrl:K,status:li(R.status),createdAt:R.createdAt,updatedAt:R.updatedAt,crossRepo:ee?void 0:I,crossRepoDisplay:ee?void 0:Fi(I,A)})}}return{own:w,otherRoots:Da(M,v,r),otherTracked:Da(h,m,r)}}function eo(t){return t.status!=="open"?!1:t.monitorSnapshot?t.monitorSnapshot.isInMergeQueue===!0:t.isInMergeQueue===!0}function u6(t){const e=t.status==="merged"?ie.workspace_prSection_merged_label():t.status==="closed"?ie.workspace_prSection_closed_label():t.status==="draft"?ie.workspace_prSection_statusDraft_label():eo(t)?ie.workspace_prSection_statusQueued_label():ie.workspace_prSection_statusOpen_label(),r=[P1(t)??e],n=eo(t)?uh(t.monitorSnapshot?.mergeQueue):null;n&&r.push(n);const a=t.status==="merged"||t.status==="closed"?void 0:t.monitorSnapshot;return a&&(a.checks.total===null||a.checks.passed===null||a.checks.failed===null||a.checks.pending===null||a.availability&&a.availability.checks!=="available"?r.push(ie.chat_monitoredPrs_hover_checksUnknown_label()):a.checks.total>0&&r.push(ie.workspace_prSection_statusChecks_tooltip({passed:rt(a.checks.passed),failed:rt(a.checks.failed),pending:rt(a.checks.pending)})),r.push(a.approvals.have===null||a.availability&&a.availability.approvals!=="available"?ie.chat_monitoredPrs_hover_approvalsUnknown_label():a.approvals.needed!=null?ie.workspace_prSection_statusApprovalsOfNeeded_tooltip({count:rt(a.approvals.have),needed:rt(a.approvals.needed)}):ie.workspace_prSection_statusApprovals_tooltip({count:rt(a.approvals.have)})),a.approvals.changesRequested!==null&&a.approvals.changesRequested>0&&r.push(ie.workspace_prSection_statusChangesRequested_tooltip({count:rt(a.approvals.changesRequested)})),a.availability&&a.availability.discussions!=="available"?r.push(ie.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()):typeof a.threads.unresolved=="number"?a.threads.unresolved>0&&r.push(ie.workspace_prSection_statusUnresolvedThreads_tooltip({count:rt(a.threads.unresolved)})):a.threads.resolutionRequired&&r.push(ie.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()),a.mergeBlockedReason&&r.push(Nh(a.mergeBlockedReason))),r.join(`
|
|
1
|
+
var I1=Object.defineProperty;var js=t=>{throw TypeError(t)};var z1=(t,e,r)=>e in t?I1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var le=(t,e,r)=>z1(t,typeof e!="symbol"?e+"":e,r),R1=(t,e,r)=>e.has(t)||js("Cannot "+r);var Vs=(t,e,r)=>e.has(t)?js("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r);var tn=(t,e,r)=>(R1(t,e,"access private method"),r);import{cQ as mr,b4 as D1,dH as Xl,a7 as _n,a5 as Ia,a6 as N1,a4 as P1,aa as _1,am as L1,a1 as O1,e8 as $1,X as B1,bm as Yl,cT as qr,dG as Zl,b3 as q1,b7 as F1,cB as H1,cR as U1,cm as W1,dB as si,e0 as G1,dV as j1,aK as X0,ax as V1,aF as _i,dF as Ql,dS as K1,ec as Jl,eb as X1}from"./CB6JpnWC.js";import{D as Ks,b4 as Y1,be as Z1,aC as Q1}from"./XslshjYv.js";import{M as J1,G as hn,I as eh}from"./Bqd7fdCF.js";import{zo as y0,Jt as E,nY as ve,nX as xe,aT as th,m as ec,I as De,bq as gn,ke as Li,me as w0,aq as Kt,md as Xs,mn as Ys,mk as Zs,jN as tc,gz as oi,HR as rh,tI as nh,AR as ah,o$ as ih,n1 as k0,Cp as sh,iN as oh,mx as lh,m8 as ch}from"./DJM-jC4D.js";import{bm as ie}from"./CHWIPzMj.js";import{l as rt}from"./ZUA6bo0t.js";import{m as uh,f as Tr}from"./CWVqIb-d.js";import{a as vn}from"./BdWqymET.js";import{o as pe,r as Vt,e as bn,s as V,_ as Je,l as yn,g as hh,n as Le,c as hr,b as Ve,u as dh,d as ph}from"./CIyUrgF0.js";import{j as rc}from"./uXuxG9cN.js";import{u as mh}from"./BWP_R2MA.js";import{selectActiveWorkspaceIds as fh}from"./Jy2VtQ-j.js";import{i as je}from"./CL3a4Hm1.js";import{l as za,c as Oi}from"./ChTqQfQN.js";import"./DS9Nses5.js";import{e as gh,h as Er}from"./DONrLvvt.js";import{h as wn}from"./QgUSWdkO.js";import{i as Qs}from"./BBWuirRW.js";import{f as $i,o as nc,p as ac,h as vh,m as ic,i as bh,k as yh}from"./DdAvLI3S.js";const Ze=[];for(let t=0;t<256;++t)Ze.push((t+256).toString(16).slice(1));function wh(t,e=0){return(Ze[t[e+0]]+Ze[t[e+1]]+Ze[t[e+2]]+Ze[t[e+3]]+"-"+Ze[t[e+4]]+Ze[t[e+5]]+"-"+Ze[t[e+6]]+Ze[t[e+7]]+"-"+Ze[t[e+8]]+Ze[t[e+9]]+"-"+Ze[t[e+10]]+Ze[t[e+11]]+Ze[t[e+12]]+Ze[t[e+13]]+Ze[t[e+14]]+Ze[t[e+15]]).toLowerCase()}const kh=new Uint8Array(16);function xh(){return crypto.getRandomValues(kh)}function Bi(t,e,r){return crypto.randomUUID?crypto.randomUUID():Sh(t)}function Sh(t,e,r){t=t||{};const n=t.random??t.rng?.()??xh();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,wh(n)}function qi(t,e){if(t.repositoryIdentity===null)return null;if(t.repositoryIdentity){const{provider:a,instanceBaseUrl:i,projectPath:s}=t.repositoryIdentity,o=qi({...t,repositoryIdentity:void 0,githubUrl:`${i}/${s}`},a==="gitlab"?i:void 0);return o?.provider===a?o:null}const r=t.githubUrl;if(!r)return null;const n=/^(?:https:\/\/github\.com\/|git@github\.com:)([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+?)(?:\.git)?\/?$/i.exec(r);return n&&!n.slice(1).some(a=>a==="."||a==="..")?{provider:"github",instanceBaseUrl:"https://github.com",projectPath:`${n[1]}/${n[2]}`}:e?J1(r.replace(/\.git\/?$/,""),e):null}function m3(t,e){return t.type==="local"?t.plainFolder?"folder":"local":qi(t,e)?.provider==="gitlab"?"gitlab":"github"}function sc(t){const e=t.split(/[\\/]/).filter(Boolean);return e[e.length-1]??""}function f3(t){if(t.type!=="local")return{ownerPrefix:t.owner,primary:t.name};const e=sc(t.path)||t.name,r=t.owner?`${t.owner}/${t.name}`:void 0;return{primary:e,suffix:r}}function g3(t){return t.type==="local"&&t.path?t.path:void 0}const Ah=["/.clones/","/.repo-cache/"];function v3(t){const e=t.replaceAll("\\","/");return Ah.some(r=>e.includes(r))}function b3(t){const e=new Set;for(const r of t){const{repositoryPath:n,worktreePath:a}=r;n&&a&&n===a&&e.add(n)}return e}function Th(t){return t.includes("\\")||t.includes(":")||t.startsWith("/")?void 0:/^([^/]+)\/[^/]+$/.exec(t)?.[1]}function y3(t,e){const{selectedValue:r,selectedRepoType:n,confirmedGithubUrl:a}=t;if(!(n!=="github"||!r)){if(a){const i=e(a)?.owner;if(i)return i}return e(r)?.owner??Th(r)}}function w3(t,e){const r=e.trim().toLowerCase();return r===""?!0:[t.name,t.path,sc(t.path),t.owner,t.owner?`${t.owner}/${t.name}`:void 0].some(a=>a?.toLowerCase().includes(r)??!1)}const Eh="known-repos",Ch=6e4;function Mh({saved:t,source:e,dismissed:r,mode:n}){if(!e)return[...t];const a=new Map;if(n==="all")for(const s of[...e.repos,...t]){const o=y0(s);a.has(o)||a.set(o,s)}else{for(const s of t)a.set(y0(s),s);for(const s of e.repos)a.set(y0(s),s)}const i=[...a.values()].filter(s=>!r[y0(s)]);return n==="all"?i:i.slice(0,9)}function k3(t){const e=t.lastUsedAt?Date.parse(t.lastUsedAt):NaN;return Number.isFinite(e)?e:0}function x3({visible:t,admission:e,entry:r,readyAt:n,now:a}){return!t||!e?"skip":!r||r.admission!==e?"load":r.status==="pending"?"reuse":r.status==="ready"&&n?.requestId===r.requestId&&a-n.at<Ch?"skip":"load"}function S3(t,e){if(t.type==="local")return t.plainFolder?{repoPath:t.path,plainFolder:!0}:{repoPath:t.path};const r=qi(t,e);return r?.provider==="gitlab"?{repositoryCheckoutDraft:{instanceBaseUrl:r.instanceBaseUrl,projectPath:r.projectPath}}:r?{githubUrl:`https://github.com/${r.projectPath}`,exactRemote:!0}:{githubUrl:t.githubUrl||`https://github.com/${t.path}`,exactRemote:!0}}function Ih({compactFormState:t,lastSubmittedAgent:e,specialists:r,orchestratorId:n}){if(t?.isTeamMode??e?.isTeamMode??!1)return n;const i=o=>r.some(c=>c.id===o),s=t?.selectedSpecialist!==void 0?t.selectedSpecialist:e?.selectedSpecialist!==void 0?e.selectedSpecialist:i(Ks)?Ks:null;return s===null||!i(s)?null:s}const A3=E.createSelector(t=>t.workspaceInitializer.hydrated),T3=E.createSelector(t=>t.workspaceInitializer.compactFormState),E3=E.createSelector(t=>t.workspaceInitializer.onboardingFormState),C3=E.createSelector(t=>t.workspaceInitializer.lastSelectedRepo),M3=E.createSelector(t=>t.workspaceInitializer.branchByRepo),I3=E.createSelector(t=>t.workspaceInitializer.defaultParentPath),z3=E.createSelector(t=>ve(t.workspaceInitializer.recentRepos)),R3=E.createSelector((t,e)=>xe(t.workspaceInitializer.recentRepoRefreshes,e)),D3=E.createSelector((t,e)=>xe(t.workspaceInitializer.directoryStatusChecks,e)),N3=E.createSelector(t=>t.workspaceInitializer.dismissedRecentRepoKeys),P3=E.createSelector(t=>ve(t.workspaceInitializer.remoteSetups)),_3=E.createSelector(t=>t.workspaceInitializer.lastSubmittedAgent),L3=E.createSelector(t=>t.workspaceInitializer.agentByRepo),O3=E.createSelector(t=>t.workspaceInitializer.recentSpecialistIds),$3=E.createSelector((t,e)=>t.workspaceInitializer.agentByRepo[e]??null),B3=E.createSelector(t=>t.workspaceInitializer.pendingGitHubPrefill),q3=E.createSelector((t,e)=>({restore:xe(t.workspaceInitializer.draftRestores,e),clear:xe(t.workspaceInitializer.draftClears,e)})),F3=E.createSelector((t,e,r)=>{const n=xe(t.workspaceInitializer.initializationOutcomes,e);return n?.resourceId===r?n:void 0}),H3=E.createSelector((t,e)=>xe(t.workspaceInitializer.initializationOutcomes,e)),U3=E.createSelector((t,e)=>xe(t.workspaceInitializer.initializationResumes,e)),W3=E.createSelector(t=>Ih({compactFormState:t.workspaceInitializer.compactFormState,lastSubmittedAgent:t.workspaceInitializer.lastSubmittedAgent,specialists:Z1.select(t),orchestratorId:Y1.select(t)?.id??null})),zh=E.createSelector(t=>{const e=t.workspaceInitializer.gitCheckRequest,r=mr.select(t);return e&&r&&D1.select(t)?JSON.stringify([r,e]):null}),G3=E.createSelector(t=>{const e=zh.select(t),r=t.workspaceInitializer.gitCheck;return e&&r?.context===e?r.available:null}),Rh=E.createSelector(t=>{const e=xe(t.workspaceInitializer.recentRepoRefreshes,Eh),r=mr.select(t);return Mh({saved:ve(t.workspaceInitializer.recentRepos),source:e&&r&&e.admission===r?e:null,dismissed:t.workspaceInitializer.dismissedRecentRepoKeys,mode:"all"})}),j3=E.createSelector(t=>Xl.select(t)?Rh.select(t):[]),V3=E.createSelector(t=>Q1.select(t)||void 0),Js="workspace-debug-flags",x0={enableCreationAnimation:!0,animationDuration:300,enablePageTransitions:!0,enableComponentTransitions:!0,showDebugInfo:!1,showPerformanceMetrics:!1,logStateChanges:!1,enableAutofocus:!0,enableBranchCaching:!0,enableFormPersistence:!0,simulateSlowNetwork:!1,simulateErrors:!1,networkDelay:0};class Dh{constructor(){le(this,"flags");le(this,"listeners",new Set);this.flags=this.loadFlags()}loadFlags(){if(typeof localStorage>"u")return x0;try{const e=localStorage.getItem(Js);if(e)return{...x0,...JSON.parse(e)}}catch(e){za.error("Failed to load debug flags:",e)}return x0}saveFlags(){if(!(typeof localStorage>"u")){try{localStorage.setItem(Js,JSON.stringify(this.flags))}catch(e){za.error("Failed to save debug flags:",e)}this.listeners.forEach(e=>e(this.flags))}}get(e){return this.flags[e]}set(e,r){this.flags[e]=r,this.saveFlags()}toggle(e){typeof this.flags[e]=="boolean"&&(this.flags[e]=!this.flags[e],this.saveFlags())}reset(){this.flags={...x0},this.saveFlags()}getAll(){return{...this.flags}}subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)}toggleDebugPanel(){this.toggle("showDebugInfo"),za.info("Debug panel:",this.flags.showDebugInfo?"ON":"OFF")}async simulateDelay(e){return this.flags.simulateSlowNetwork&&this.flags.networkDelay>0&&await new Promise(r=>setTimeout(r,this.flags.networkDelay)),e}}const Ra=new Dh;function K3(t){if(!t)return"";let e=t;return e=e.replace(/\*\*(.+?)\*\*/g,"$1"),e=e.replace(/__(.+?)__/g,"$1"),e=e.replace(/(?<!\*)\*(?!\*)(.+?)(?<!\*)\*(?!\*)/g,"$1"),e=e.replace(/(?<!_)_(?!_)(.+?)(?<!_)_(?!_)/g,"$1"),e=e.replace(/~~(.+?)~~/g,"$1"),e=e.replace(/`([^`]+)`/g,"$1"),e=e.replace(/\[([^\]]+)\]\([^)]+\)/g,"$1"),e=e.replace(/^#{1,6}\s+/gm,""),e=e.replace(/^\*+\s*/gm,""),e=e.replace(/\s*\*+$/gm,""),e.trim()}function Nh(t){return t.charAt(0).toUpperCase()+t.slice(1)}function X3(t){if(!t||t.trim().length===0)return ie.workspace_sidebarHeader_branchEmpty_error();if(/[\s~^:\\?*\[\\]/.test(t))return ie.workspace_sidebarHeader_branchInvalidChars_error();if(t.includes("@{"))return ie.workspace_sidebarChanges_branchAtBrace_error({seq:"@{"});if(t==="@")return ie.workspace_sidebarChanges_branchAt_error({symbol:"@"});if(t.startsWith("."))return ie.workspace_sidebarHeader_branchStartsDot_error();if(t.endsWith(".lock"))return ie.workspace_sidebarHeader_branchEndsLock_error();if(t.includes(".."))return ie.workspace_sidebarHeader_branchDoubleDot_error();if(t.startsWith("/")||t.endsWith("/"))return ie.workspace_sidebarHeader_branchSlashEnds_error();if(t.includes("//"))return ie.workspace_sidebarHeader_branchDoubleSlash_error();if(t.startsWith("-"))return ie.workspace_sidebarHeader_branchStartsDash_error();if(t.endsWith("."))return ie.workspace_sidebarChanges_branchEndsPeriod_error();const e=t.split("/");for(const r of e){if(r.startsWith("."))return ie.workspace_sidebarChanges_branchComponentStartsDot_error();if(r.endsWith(".lock"))return ie.workspace_sidebarChanges_branchComponentEndsLock_error()}if(t.length>250)return ie.workspace_sidebarHeader_branchTooLong_error()}function Y3(t,e,r,n){return e&&r?`https://github.com/${e}/${r}/pull/${t}`:n||""}function li(t){return t==="Open"?"open":t==="Merged"?"merged":t==="Draft"?"draft":"closed"}function Z3(t,e){return`${e}:${t.agentId??"manual"}`}function Ph(t,e){if(t.length===0||e>=t.length)return 0;const r=Math.max(0,e);let n=0;for(let a=r;a<t.length;a++)t[a].isPushed||n++;return n}function _h(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed&&n++;return n}function Lh(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed||n++;return n}function Q3(t,e,r,n){const a=Ph(t,e),i=n?` (origin/${n})`:"";return r?a===1?ie.workspace_sidebarChanges_addToPr_one({suffix:i}):ie.workspace_sidebarChanges_addToPr_many({count:rt(a),suffix:i}):a===1?ie.workspace_sidebarChanges_pushToRemote_one({suffix:i}):ie.workspace_sidebarChanges_pushToRemote_many({count:rt(a),suffix:i})}function J3(t,e,r){const n=_h(t,e),a=r?` (origin/${r})`:"";return n===1?ie.workspace_sidebarChanges_undoPush_one({suffix:a}):ie.workspace_sidebarChanges_undoPush_many({count:rt(n),suffix:a})}function e6(t,e){const r=Lh(t,e);return r===1?ie.workspace_sidebarChanges_undoCommit_one():ie.workspace_sidebarChanges_undoCommit_many({count:rt(r)})}function t6(t,e){return e===0&&t.length>0}function r6(t,e,r,n){return!r||n==null?!1:t===r&&e===n}function n6(t,e,r){const n=`${e?"staged":"unstaged"}:${t}`;return r.has(n)}function a6(t,e,r){return r?.path===t&&r?.staged===e}function i6(t){if(t.length===0)return[];const e=new Map,r=[...t].sort((n,a)=>n.timestamp-a.timestamp);for(const n of r)for(const a of n.files??[]){const i=e.get(a.path);i?e.set(a.path,{additions:i.additions+(a.additions||0),deletions:i.deletions+(a.deletions||0)}):e.set(a.path,{additions:a.additions||0,deletions:a.deletions||0})}return Array.from(e.entries()).map(([n,a])=>({path:n,additions:a.additions,deletions:a.deletions,staged:!1}))}function s6(t,e,r){const n=new Set;let a=0,i=0;for(const s of t)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of e)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of r)for(const o of s.files||[])n.add(o.path),a+=o.additions||0,i+=o.deletions||0;return{totalFilesChanged:n.size,totalAdditions:a,totalDeletions:i}}function Oh(t){const e=t?.match(/^https?:\/\/github\.com\/([^/]+)\/([^/]+)\/pull\/\d+/i);return e?`${e[1]}/${e[2]}`:void 0}function o6(t,e,r,n,a){if(t&&t.length>0){const i=a?.split("/")[0];return t.map(s=>{const o=s.url||r(s.number),c=Oh(s.url),h=c!==void 0&&c.toLowerCase()!==a?.toLowerCase()?c:void 0;return{number:s.number,title:n(s),url:o,htmlUrl:o,status:li(s.status),createdAt:s.createdAt,updatedAt:s.updatedAt,isInMergeQueue:s.isDraft?void 0:s.isInMergeQueue,crossRepo:h,crossRepoDisplay:h?Fi(h,i):void 0}})}return e?[{number:e.number,title:n(e),url:r(e.number,e.url),htmlUrl:r(e.number,e.url),status:li(e.status),createdAt:e.createdAt,updatedAt:e.updatedAt,isInMergeQueue:e.isDraft?void 0:e.isInMergeQueue}]:[]}function l6(t){const{prNumber:e,prUrl:r}=t;return e==null||!r?null:{id:`legacy-pr-${e}`,number:e,url:r,title:"",status:t.prStatus??th.Open,createdAt:t.updatedAt,updatedAt:t.updatedAt}}function $h(t){const e=t.lastSnapshot?.state?.toLowerCase();return e==="merged"?"merged":e==="closed"?"closed":t.lastSnapshot?.isDraft?"draft":t.state==="completed"?"closed":"open"}function Da(t,e,r){if(e.length===0)return t;const n=r?.split("/")[0],a=t.map(i=>({...i}));for(const i of e){const s=!i.resource&&!i.monitorAvailability&&(!r||i.repo===r),o=_n(i),c=o.toLowerCase(),h=a.find(d=>!!o&&d.url.toLowerCase()===c||(i.resource||i.monitorAvailability?d.monitorIdentity===Ia(i):!d.resource&&!d.monitorAvailability&&(s?!d.crossRepo&&d.number===i.prNumber:d.crossRepo===i.repo&&d.number===i.prNumber)));if(h){h.monitorAgentId=i.agentId,h.resource=i.resource,h.monitorAvailability=i.monitorAvailability,h.monitorIdentity=i.resource||i.monitorAvailability?Ia(i):void 0,h.monitorSnapshot=i.lastSnapshot??h.monitorSnapshot;continue}a.push({number:i.prNumber,title:i.title??`${i.repo}${N1(i,i.prNumber)}`,resource:i.resource,monitorAvailability:i.monitorAvailability,monitorIdentity:i.resource||i.monitorAvailability?Ia(i):void 0,url:o,htmlUrl:o,status:$h(i),createdAt:i.createdAt,updatedAt:i.updatedAt,monitorAgentId:i.agentId,crossRepo:s?void 0:i.repo,crossRepoDisplay:s?void 0:Fi(i.repo,n),monitorSnapshot:i.lastSnapshot,monitorOnly:!0})}return a}function Fi(t,e){return e&&t.toLowerCase().startsWith(`${e.toLowerCase()}/`)?t.slice(e.length+1):t}function c6(t,e,r,n,a){const i=r?.toLowerCase(),s=new Set;for(const k of n)k.repoOwner&&k.repoName&&s.add(`${k.repoOwner}/${k.repoName}`.toLowerCase());let o=t;const c=[],h=[];if(t.some(k=>k.crossRepo)){o=[];for(const k of t)k.crossRepo?s.has(k.crossRepo.toLowerCase())?c.push(k):h.push(k):o.push(k)}const d=[],v=[],m=[];for(const k of e){const I=k.repo.toLowerCase();_n(k)&&o.some(R=>R.url===_n(k))||!k.resource&&!k.monitorAvailability&&(!i||I===i)?d.push(k):_n(k)&&c.some(R=>R.url===_n(k))||!k.resource&&!k.monitorAvailability&&s.has(I)?v.push(k):m.push(k)}const w=Da(o,d,r),A=r?.split("/")[0],C=new Set([...w,...c,...h].map(k=>`${(k.crossRepo??r??"").toLowerCase()}#${k.number}`)),M=[...c];for(const k of n){if(!k.repoOwner||!k.repoName)continue;const I=`${k.repoOwner}/${k.repoName}`;for(const R of k.pullRequests??[]){const Z=`${I.toLowerCase()}#${R.number}`;if(C.has(Z))continue;C.add(Z);const K=R.url||`https://github.com/${I}/pull/${R.number}`,ee=i!==void 0&&I.toLowerCase()===i;M.push({number:R.number,title:a(R),url:K,htmlUrl:K,status:li(R.status),createdAt:R.createdAt,updatedAt:R.updatedAt,crossRepo:ee?void 0:I,crossRepoDisplay:ee?void 0:Fi(I,A)})}}return{own:w,otherRoots:Da(M,v,r),otherTracked:Da(h,m,r)}}function eo(t){return t.status!=="open"?!1:t.monitorSnapshot?t.monitorSnapshot.isInMergeQueue===!0:t.isInMergeQueue===!0}function u6(t){const e=t.status==="merged"?ie.workspace_prSection_merged_label():t.status==="closed"?ie.workspace_prSection_closed_label():t.status==="draft"?ie.workspace_prSection_statusDraft_label():eo(t)?ie.workspace_prSection_statusQueued_label():ie.workspace_prSection_statusOpen_label(),r=[P1(t)??e],n=eo(t)?uh(t.monitorSnapshot?.mergeQueue):null;n&&r.push(n);const a=t.status==="merged"||t.status==="closed"?void 0:t.monitorSnapshot;return a&&(a.checks.total===null||a.checks.passed===null||a.checks.failed===null||a.checks.pending===null||a.availability&&a.availability.checks!=="available"?r.push(ie.chat_monitoredPrs_hover_checksUnknown_label()):a.checks.total>0&&r.push(ie.workspace_prSection_statusChecks_tooltip({passed:rt(a.checks.passed),failed:rt(a.checks.failed),pending:rt(a.checks.pending)})),r.push(a.approvals.have===null||a.availability&&a.availability.approvals!=="available"?ie.chat_monitoredPrs_hover_approvalsUnknown_label():a.approvals.needed!=null?ie.workspace_prSection_statusApprovalsOfNeeded_tooltip({count:rt(a.approvals.have),needed:rt(a.approvals.needed)}):ie.workspace_prSection_statusApprovals_tooltip({count:rt(a.approvals.have)})),a.approvals.changesRequested!==null&&a.approvals.changesRequested>0&&r.push(ie.workspace_prSection_statusChangesRequested_tooltip({count:rt(a.approvals.changesRequested)})),a.availability&&a.availability.discussions!=="available"?r.push(ie.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()):typeof a.threads.unresolved=="number"?a.threads.unresolved>0&&r.push(ie.workspace_prSection_statusUnresolvedThreads_tooltip({count:rt(a.threads.unresolved)})):a.threads.resolutionRequired&&r.push(ie.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()),a.mergeBlockedReason&&r.push(Nh(a.mergeBlockedReason))),r.join(`
|
|
2
2
|
`)}function h6(t,e){return e.has(t??"manual")}function d6(t,e){return{path:t.relativePath,additions:t.stats.additions,deletions:t.stats.deletions,staged:e,status:t.status,attribution:t.attribution?.agent?{agentId:t.attribution.agent.agentId,agentName:t.attribution.agent.agentName,sessionId:t.attribution.agent.sessionId,turnNumber:t.attribution.agent.turnNumber,timestamp:t.attribution.timestamp}:void 0}}const oc=500;function p6(t,e=oc){const r=Math.max(0,Math.floor(e));return t.length<=r?{visible:t,shown:t.length,hiddenCount:0}:{visible:t.slice(0,r),shown:r,hiddenCount:t.length-r}}function m6(t,e,r=oc){let n=Math.max(0,Math.floor(r)),a=0,i=0;return{groups:t.map(o=>{if(e(o))return{group:o,visibleFiles:[]};const c=Math.min(n,o.files.length);return n-=c,a+=c,i+=o.files.length-c,{group:o,visibleFiles:c===o.files.length?o.files:o.files.slice(0,c)}}),shown:a,hiddenCount:i}}function f6(t){if(t.hiddenCount<=0)return"";const e=rt(t.shown),r=rt(t.shown+t.hiddenCount);return t.hiddenCount===1?ie.workspace_fileChanges_hiddenFiles_one({shown:e,total:r}):ie.workspace_fileChanges_hiddenFiles_many({shown:e,total:r,count:rt(t.hiddenCount)})}function Bh(t){if(!t)return{};try{const e=JSON.parse(t);return e&&typeof e=="object"?e:{}}catch{return{}}}function ci(t){return t.startsWith("@")?t.slice(1):t}function qh(t,e,r,n){const a=t.fullPath||t.path||t.filename;if(a)return ci(String(a));const i=[r,e,n.trim()].map(ci).filter(Boolean),s=i.find(o=>o.includes("/"))??i[0];return s?_1(s).path:void 0}function Fh(t){const e=t.line??t.startLine??t.range?.start;return typeof e=="number"&&Number.isFinite(e)?e:void 0}function Hh(t){if(!t||t.getAttribute("data-mention")===null)return null;const e=t.getAttribute("data-type")||"",r=t.getAttribute("data-id")||"",n=t.getAttribute("data-label")||"",a=t.getAttribute("data-uri")||"",i=Bh(t.getAttribute("data-meta")),s={type:e,id:r,label:n,uri:a,meta:i},o=a.startsWith("intent://")?a:typeof i.fullUrl=="string"&&i.fullUrl.startsWith("intent://")?i.fullUrl:void 0;if(o&&(s.intentUrl=o),e==="file"||e==="file-range"){const c=qh(i,n,r,t.textContent||"");c&&(s.filePath=c);const h=Fh(i);h!==void 0&&(s.line=h)}else if(e==="folder"||e==="source-folder"){const c=i.fullPath||i.path||r||n,h=c?ci(String(c)).replace(/\/+$/,""):"";h&&(s.folderPath=h)}else if(e==="note"||e==="note-range"){const c=i.noteId||r;c&&(s.note=i.isExternalLink&&i.workspaceId?{id:c,workspaceId:String(i.workspaceId)}:{id:c})}return s}function g6(t){return{sidebarTabId:"files",type:"file",filePath:`${t}/`}}function Hi(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Fr=Hi();function lc(t){Fr=t}var Nr={exec:()=>null};function Cr(t){let e=[];return r=>{let n=Math.max(0,Math.min(3,r-1)),a=e[n];return a||(a=t(n),e[n]=a),a}}function oe(t,e=""){let r=typeof t=="string"?t:t.source,n={replace:(a,i)=>{let s=typeof i=="string"?i:i.source;return s=s.replace(Ue.caret,"$1"),r=r.replace(a,s),n},getRegex:()=>new RegExp(r,e)};return n}var cc=((t="")=>{try{return!!new RegExp("(?<=1)(?<!1)"+t)}catch{return!1}})(),Ue={codeRemoveIndent:/^(?: {0,3}\t| {1,4})/gm,listInterruptsParagraph:/^ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,endingSpaceTabChar:/[ \t]$/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,leadingSpaceTab:/^[ \t]+/,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+)[ \t]*)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,blockquoteMarkerWhitespace:/^( {0,3}>)(\t[ \t]*)/gm,nestedBlockMarker:/^ {0,3}(?:(?:[*+-]|\d{1,9}[.)])(?: |$)|> ?)/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\][ \t]+\S/,listReplaceTask:/^\[[ xX]\][ \t]+/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,numericCharacterReference:/&#(?:(\d{1,7})|[Xx]([A-Fa-f0-9]{1,6}));/,numericCharacterReferenceOrAmpersand:/&#(?:(\d{1,7})|[Xx]([A-Fa-f0-9]{1,6}));|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:Cr(t=>new RegExp(`^ {0,${t}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:Cr(t=>new RegExp(`^ {0,${t}}((?:-[ ]*){3,}|(?:_[ ]*){3,}|(?:\\*[ ]*){3,})(?:\\n+|$)`)),fencesBeginRegex:Cr(t=>new RegExp(`^ {0,${t}}(?:\`\`\`|~~~)`)),headingBeginRegex:Cr(t=>new RegExp(`^ {0,${t}}#{1,6}(?:\\s|$)`)),pedanticHeadingBeginRegex:Cr(t=>new RegExp(`^ {0,${t}}#`)),htmlBeginRegex:Cr(t=>new RegExp(`^ {0,${t}}(?:</?(?:${Wi})(?:[ \\t]+|$|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\s>]|$)|!--)|<\\?|<![A-Za-z]|<!\\[CDATA\\[)`,"i")),blockquoteBeginRegex:Cr(t=>new RegExp(`^ {0,${t}}>`)),nestedContainerMarkers:/^(?: {0,3}(?:(?:[*+-]|\d{1,9}[.)])[ \t]+|>[ \t]?))+/},Uh=/^(?:[ \t]*(?:\n|$))+/,Wh=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Gh=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}(?:(?=`)\1`*|(?=~)\1~*) *(?=\n|$)|$)/,Kn=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,jh=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ui=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,Wi="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Xn=oe(" {0,3}(?:</?(?:tag)(?:[ \\t]+|\\n|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\s>]|$)|!--)|<\\?|<![A-Za-z]|<!\\[CDATA\\[)").replace("tag",Wi).getRegex(),uc=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |fences|blockquote|heading|hr|html|table))+?)\n {0,3}(=+|-+)[ \t]*(?:\n+|$)/,hc=oe(uc).replace(/bull/g,Ui).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/hr/g,/ {0,3}(?:(?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/).replace(/\|table/g,"").replace(/html/g,Xn).getRegex(),Vh=oe(uc).replace(/bull/g,Ui).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/hr/g,/ {0,3}(?:(?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).replace(/html/g,Xn).getRegex(),Gi=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,Kh=/^[^\n]+/,ji=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\\n]|\n(?![ \t]*\n))+/,Xh=oe(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<(?:\\.|[^\n<>\\])*>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",ji).replace("title",/(?:"(?:\\[\s\S]|[^"\\])*"|'(?:\\[\s\S]|[^'\\\n]|\n(?!\n))*'|\((?:\\[\s\S]|[^()\\])*\))/).getRegex(),Yh=oe(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,Ui).getRegex(),Vi=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Zh=oe("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?:[ \\t]+|\\n|/?>|$)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!(?:script|pre|style|textarea)(?![a-z0-9-]))([a-z][a-z0-9-]*)(?:attribute)*?[ \\t]*/?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</[a-z][a-z0-9-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Vi).replace("tag",Wi).replace("attribute",/[ \t]+[a-zA-Z:_][\w.:-]*(?:[ \t]*=[ \t]*"[^"\n]*"|[ \t]*=[ \t]*'[^'\n]*'|[ \t]*=[ \t]*[^\s"'=<>`]+)?/).getRegex(),dc=t=>oe(Gi).replace("hr",Kn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list",t).replace("html",Xn).getRegex(),Qh=dc(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),Jh=dc(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),ed=oe(/^( {0,3}> ?(?:(?![ \t]*(?:\n|$))(paragraph)|[^\n]*)(?:\n|$))+/).replace("paragraph",Jh).getRegex(),Ki={blockquote:ed,code:Wh,def:Xh,fences:Gh,heading:jh,hr:Kn,html:Zh,lheading:hc,list:Yh,newline:Uh,paragraph:Qh,table:Nr,text:Kh},to=oe("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Kn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html",Xn).getRegex(),td={...Ki,lheading:Vh,table:to,paragraph:oe(Gi).replace("hr",Kn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",to).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html",Xn).getRegex()},rd={...Ki,html:oe(`^ *(?:comment(?: *\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1>(?: *\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?>(?: *\\n{2,}|\\s*$))`).replace("comment",Vi).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Nr,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:oe(Gi).replace("hr",Kn).replace("heading",` *#{1,6} *[^
|
|
3
3
|
]`).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").replace("lheading",hc).getRegex()},nd=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ad=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,pc=/^( {2,}|\\)\n(?!\s*$)[ \t]*/,id=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Pt=/[\p{P}\p{S}]/u,kn=/[\s\p{P}\p{S}]/u,Yn=/[^\s\p{P}\p{S}]/u,sd=oe(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,kn).getRegex(),od=/[\p{Pi}\p{Ps}"']/u,mc=/(?!~)[\p{P}\p{S}]/u,ld=/(?!~)[\s\p{P}\p{S}]/u,cd=/(?:[^\s\p{P}\p{S}]|~)/u,ud=oe(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",cc?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),fc=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,hd=oe(fc,"u").replace(/punct/g,Pt).getRegex(),dd=oe(fc,"u").replace(/punct/g,mc).getRegex(),pd=/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,md=oe(pd,"u").replace(/openQuote/g,od).replace(/punct/g,Pt).getRegex(),gc="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",fd=oe(gc,"gu").replace(/notPunctSpace/g,Yn).replace(/punctSpace/g,kn).replace(/punct/g,Pt).getRegex(),gd=oe(gc,"gu").replace(/notPunctSpace/g,cd).replace(/punctSpace/g,ld).replace(/punct/g,mc).getRegex(),vd="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)",bd=oe(vd,"gu").replace(/notPunctSpace/g,Yn).replace(/punctSpace/g,kn).replace(/punct/g,Pt).getRegex(),yd=oe("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Yn).replace(/punctSpace/g,kn).replace(/punct/g,Pt).getRegex(),wd="^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)",kd=oe(wd,"gu").replace(/notPunctSpace/g,Yn).replace(/punctSpace/g,kn).replace(/punct/g,Pt).getRegex(),xd=oe(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,Pt).getRegex(),Sd="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",Ad=oe(Sd,"gu").replace(/notPunctSpace/g,Yn).replace(/punctSpace/g,kn).replace(/punct/g,Pt).getRegex(),Td=oe(/\\(punct)/,"gu").replace(/punct/g,Pt).getRegex(),Ed=oe(/(`+)(?:[^`]|[^`][\s\S]*?[^`])\1(?!`)|`+|\\(punct)/,"gu").replace(/punct/g,Pt).getRegex(),Cd=oe(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Md=oe(Vi).replace("(?:-->|$)","-->").getRegex(),Id=oe("^comment|^</[a-zA-Z][a-zA-Z0-9-]*\\s*>|^<[a-zA-Z][a-zA-Z0-9-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Md).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),vc=/\[(?:\\[\s\S]|[^\[\]\\])*\]/,q0=oe(/(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/).replace("brackets",vc).getRegex(),zd=oe(/^!?\[(label)\]\([ \t\n]*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?[ \t\n]*\)/).replace("label",q0).replace("href",/<(?:\\.|[^\n<>\\])*>|(?!<)[^ \t\n\x00-\x1f]+|(?=\))/).replace("title",/"(?:\\[\s\S]|[^"\\])*"|'(?:\\[\s\S]|[^'\\])*'|\((?:\\[\s\S]|[^)\\])*\)/).getRegex(),Rd=oe(/^!?\[(label)\]\[(ref)\]/).replace("label",q0).replace("ref",ji).getRegex(),Dd=oe(/^!?\[(ref)\](?:\[\])?/).replace("ref",ji).getRegex(),ro=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\]){1,999}/,Nd=oe(/(?:[^\[\]\\`]*(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\]))){0,999}?[^\[\]\\`]*?/).replace("brackets",vc).getRegex(),Pd=oe("reflink|nolink(?!\\()","g").replace("reflink",oe(/^!?\[(label)\]\[(ref)\]/).replace("label",Nd).replace("ref",ro).getRegex()).replace("nolink",oe(/^!?\[(ref)\](?:\[\])?/).replace("ref",ro).getRegex()).getRegex(),no=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,_d=/[A-Za-z0-9._+-]+@[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/,Ld=oe(/(?:mailto:email|xmpp:email(?:\/[A-Za-z0-9@.]+)?)/).replace(/email/g,_d).getRegex(),Xi={_backpedal:Nr,anyPunctuation:Td,anyPunctuationOutsideCode:Ed,autolink:Cd,blockSkip:ud,br:pc,code:ad,del:Nr,delLDelim:Nr,delRDelim:Nr,emStrongLDelim:hd,emStrongRDelimAst:fd,emStrongRDelimUnd:yd,escape:nd,link:zd,nolink:Dd,punctuation:sd,reflink:Rd,reflinkSearch:Pd,tag:Id,text:id,url:Nr},Od={...Xi,emStrongLDelim:md,emStrongRDelimAst:bd,emStrongRDelimUnd:kd,link:oe(/^!?\[(label)\]\((.*?)\)/).replace("label",q0).getRegex(),reflink:oe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",q0).getRegex()},ui={...Xi,emStrongRDelimAst:gd,emStrongLDelim:dd,delLDelim:xd,delRDelim:Ad,url:oe(/^emailProtocol|^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("emailProtocol",Ld).replace("protocol",no).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:oe(/^(?:[^a-zA-Z0-9](?=emailProtocol)|(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|wwwStart|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9](?=emailProtocol)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))))/).replace("protocol",no).replace(/emailProtocol/g,/(?:mailto|xmpp):/).replace("wwwStart",cc?"(?<![^\\s*_~(])www\\.":"www\\.").getRegex()},$d={...ui,br:oe(pc).replace("{2,}","*").getRegex(),text:oe(ui.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},S0={normal:Ki,gfm:td,pedantic:rd},Mn={normal:Xi,gfm:ui,breaks:$d,pedantic:Od},Bd={"&":"&","<":"<",">":">",'"':""","'":"'"},ao=t=>Bd[t];function mt(t,e){if(e){if(Ue.escapeTest.test(t))return t.replace(Ue.escapeReplace,ao)}else if(Ue.escapeTestNoEncode.test(t))return t.replace(Ue.escapeReplaceNoEncode,ao);return t}function qd(t){return Ue.numericCharacterReference.test(t)?t.replace(Ue.numericCharacterReferenceOrAmpersand,(e,r,n)=>{if(r===void 0&&n===void 0)return"&";let a=r===void 0?Number.parseInt(n,16):Number.parseInt(r,10);return a===0||a>1114111||a>=55296&&a<=57343?"�":a===38?"&":String.fromCodePoint(a)}):t}function io(t){try{t=encodeURI(t).replace(Ue.percentDecode,"%")}catch{return null}return t}function so(t,e){let r=t.replace(Ue.findPipe,(i,s,o)=>{let c=!1,h=s;for(;--h>=0&&o[h]==="\\";)c=!c;return c?"|":" |"}),n=r.split(Ue.splitPipe),a=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;a<n.length;a++)n[a]=n[a].trim().replace(Ue.slashPipe,"|");return n}function qt(t,e,r){let n=t.length;if(n===0)return"";let a=0;for(;a<n&&t.charAt(n-a-1)===e;)a++;return t.slice(0,n-a)}function oo(t){let e=t.split(`
|
|
4
4
|
`),r=e.length-1;for(;r>=0&&Ue.blankLine.test(e[r]);)r--;return e.length-r<=2?t:e.slice(0,r+1).join(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./
|
|
1
|
+
import{l as e}from"./R5mMERAP.js";const i={comments:{blockComment:["{/*","*/}"]},brackets:[["{","}"]],autoClosingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"“",close:"”"},{open:"‘",close:"’"},{open:"`",close:"`"},{open:"{",close:"}"},{open:"(",close:")"},{open:"_",close:"_"},{open:"**",close:"**"},{open:"<",close:">"}],onEnterRules:[{beforeText:/^\s*- .+/,action:{indentAction:e.IndentAction.None,appendText:"- "}},{beforeText:/^\s*\+ .+/,action:{indentAction:e.IndentAction.None,appendText:"+ "}},{beforeText:/^\s*\* .+/,action:{indentAction:e.IndentAction.None,appendText:"* "}},{beforeText:/^> /,action:{indentAction:e.IndentAction.None,appendText:"> "}},{beforeText:/<\w+/,action:{indentAction:e.IndentAction.Indent}},{beforeText:/\s+>\s*$/,action:{indentAction:e.IndentAction.Indent}},{beforeText:/<\/\w+>/,action:{indentAction:e.IndentAction.Outdent}},...Array.from({length:100},(n,t)=>({beforeText:new RegExp(`^${t}\\. .+`),action:{indentAction:e.IndentAction.None,appendText:`${t+1}. `}}))]},s={defaultToken:"",tokenPostfix:".mdx",control:/[!#()*+.[\\\]_`{}\-]/,escapes:/\\@control/,tokenizer:{root:[[/^---$/,{token:"meta.content",next:"@frontmatter",nextEmbedded:"yaml"}],[/^\s*import/,{token:"keyword",next:"@import",nextEmbedded:"js"}],[/^\s*export/,{token:"keyword",next:"@export",nextEmbedded:"js"}],[/<\w+/,{token:"type.identifier",next:"@jsx"}],[/<\/?\w+>/,"type.identifier"],[/^(\s*)(>*\s*)(#{1,6}\s)/,[{token:"white"},{token:"comment"},{token:"keyword",next:"@header"}]],[/^(\s*)(>*\s*)([*+-])(\s+)/,["white","comment","keyword","white"]],[/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/,["white","comment","number","white"]],[/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/,["white","comment","number","white"]],[/^(\s*)(>*\s*)(-{3,}|\*{3,}|_{3,})$/,["white","comment","keyword"]],[/`{3,}(\s.*)?$/,{token:"string",next:"@codeblock_backtick"}],[/~{3,}(\s.*)?$/,{token:"string",next:"@codeblock_tilde"}],[/`{3,}(\S+).*$/,{token:"string",next:"@codeblock_highlight_backtick",nextEmbedded:"$1"}],[/~{3,}(\S+).*$/,{token:"string",next:"@codeblock_highlight_tilde",nextEmbedded:"$1"}],[/^(\s*)(-{4,})$/,["white","comment"]],[/^(\s*)(>+)/,["white","comment"]],{include:"content"}],content:[[/(\[)(.+)(]\()(.+)(\s+".*")(\))/,["","string.link","","type.identifier","string.link",""]],[/(\[)(.+)(]\()(.+)(\))/,["","type.identifier","","string.link",""]],[/(\[)(.+)(]\[)(.+)(])/,["","type.identifier","","type.identifier",""]],[/(\[)(.+)(]:\s+)(\S*)/,["","type.identifier","","string.link"]],[/(\[)(.+)(])/,["","type.identifier",""]],[/`.*`/,"variable.source"],[/_/,{token:"emphasis",next:"@emphasis_underscore"}],[/\*(?!\*)/,{token:"emphasis",next:"@emphasis_asterisk"}],[/\*\*/,{token:"strong",next:"@strong"}],[/{/,{token:"delimiter.bracket",next:"@expression",nextEmbedded:"js"}]],import:[[/'\s*(;|$)/,{token:"string",next:"@pop",nextEmbedded:"@pop"}]],expression:[[/{/,{token:"delimiter.bracket",next:"@expression"}],[/}/,{token:"delimiter.bracket",next:"@pop",nextEmbedded:"@pop"}]],export:[[/^\s*$/,{token:"delimiter.bracket",next:"@pop",nextEmbedded:"@pop"}]],jsx:[[/\s+/,""],[/(\w+)(=)("(?:[^"\\]|\\.)*")/,["attribute.name","operator","string"]],[/(\w+)(=)('(?:[^'\\]|\\.)*')/,["attribute.name","operator","string"]],[/(\w+(?=\s|>|={|$))/,["attribute.name"]],[/={/,{token:"delimiter.bracket",next:"@expression",nextEmbedded:"js"}],[/>/,{token:"type.identifier",next:"@pop"}]],header:[[/.$/,{token:"keyword",next:"@pop"}],{include:"content"},[/./,{token:"keyword"}]],strong:[[/\*\*/,{token:"strong",next:"@pop"}],{include:"content"},[/./,{token:"strong"}]],emphasis_underscore:[[/_/,{token:"emphasis",next:"@pop"}],{include:"content"},[/./,{token:"emphasis"}]],emphasis_asterisk:[[/\*(?!\*)/,{token:"emphasis",next:"@pop"}],{include:"content"},[/./,{token:"emphasis"}]],frontmatter:[[/^---$/,{token:"meta.content",nextEmbedded:"@pop",next:"@pop"}]],codeblock_highlight_backtick:[[/\s*`{3,}\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/.*$/,"variable.source"]],codeblock_highlight_tilde:[[/\s*~{3,}\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/.*$/,"variable.source"]],codeblock_backtick:[[/\s*`{3,}\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblock_tilde:[[/\s*~{3,}\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]]}};export{i as conf,s as language};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Jt as t,iD as o}from"./
|
|
1
|
+
import{Jt as t,iD as o}from"./DJM-jC4D.js";const r=t.createSelector((a,e)=>a.workspaceNavigation.byWorkspaceId[e]??o(e)),s=t.createSelector((a,e)=>r.select(a,e).mainPanel),i=t.createSelector((a,e)=>r.select(a,e).navigation);export{s as a,r as b,i as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as tt}from"./
|
|
1
|
+
import{p as tt}from"./icAEjhzY.js";import{U as et,aZ as at,V as rt,a_ as it,Y as nt,b0 as ot,b as l,ay as E,X as st,q as lt,aX as ct,aH as dt,d as I,B as gt,r as ht,aJ as pt,O as ft}from"./C6w4HIHS.js";import{p as ut}from"./VpUwDjJ_.js";import{o as mt}from"./CPE--RtJ.js";var vt=ft.pie,R={sections:new Map,showData:!1},b=R.sections,H=R.showData,St=structuredClone(vt),xt=l(()=>structuredClone(St),"getConfig"),wt=l(()=>{b=new Map,H=R.showData,ht()},"clear"),$t=l(({label:t,value:a})=>{if(a<0)throw new Error(`"${t}" has invalid value: ${a}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);b.has(t)||(b.set(t,a),E.debug(`added new section: ${t}, with value: ${a}`))},"addSection"),Ct=l(()=>b,"getSections"),yt=l(t=>{H=t},"setShowData"),Dt=l(()=>H,"getShowData"),U={getConfig:xt,clear:wt,setDiagramTitle:ot,getDiagramTitle:nt,setAccTitle:it,getAccTitle:rt,setAccDescription:at,getAccDescription:et,addSection:$t,getSections:Ct,setShowData:yt,getShowData:Dt},bt=l((t,a)=>{tt(t,a),a.setShowData(t.showData),t.sections.map(a.addSection)},"populateDb"),Tt={parse:l(async t=>{const a=await ut("pie",t);E.debug(a),bt(a,U)},"parse")},At=l(t=>`
|
|
2
2
|
.pieCircle{
|
|
3
3
|
stroke: ${t.pieStrokeColor};
|
|
4
4
|
stroke-width : ${t.pieStrokeWidth};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as Ts,j as kt}from"./uXuxG9cN.js";import{bm as l}from"./
|
|
1
|
+
import{m as Ts,j as kt}from"./uXuxG9cN.js";import{bm as l}from"./CHWIPzMj.js";import{J6 as Ct,Jt as i,i as I,c6 as Es,m as F,ig as Rs,nY as T,qy as xs,mb as Ps,yI as Ms,nX as j,s0 as wt,yH as vt,r$ as At,iJ as Ns,nK as It,nP as $s,mq as Ls,fU as Tt,m7 as Os,mB as Ds,oc as $,iM as Ws,a_ as Ee,aT as ie}from"./DJM-jC4D.js";import{bV as Us,d2 as js,b2 as Fs,aJ as Hs,cn as Bs,bN as qs,bo as Gs,bv as zs,ap as Zs,cK as Ks,cS as Vs,c8 as Qs,bj as Ys}from"./Bm1YRNX5.js";import{g as Xs,i as Js,a as er}from"./C_a7D1qz.js";import{n as Ge,o as ze,b as q,s as Q,_ as be,e as tr}from"./CIyUrgF0.js";import{a as sr,g as rr,b as nr,i as Ce,C as fe}from"./DypB-Dwi.js";import{Q as ar}from"./QgUSWdkO.js";import{u as or}from"./BWP_R2MA.js";import{d as ir}from"./DxTOze69.js";import{l as w,m as cr}from"./ZUA6bo0t.js";var we=(e=>(e.ACTIVATING="activating",e.ACTIVE="active",e.ERROR="error",e))(we||{});function Di(e){return e.isPending===!0||e.status==="pending"}function lr(e,t){const s=e.provider||e.metadata?.provider||e.config?.provider;if(s)return s;if(e.model)return(Ct(e.model).providerId??t)||void 0}function Wi(e){return e.messages.length>0}function dr(e){return e.filter(t=>t.type==="text").map(t=>t.text??"").join("")}function ur(e){return e.contentBlocks?dr(e.contentBlocks):""}const Ui=i.createSelector(e=>e.principal),ee=i.createSelector(sr),R=i.createSelector(e=>{const t=e.principal;return t?.status==="ready"&&t.context!==null&&t.context===ee.select(e)?t.snapshot:null}),fr=i.createSelector(e=>R.select(e)?.daemonMode??null),ji=i.createSelector(e=>fr.select(e)==="orchestrator"),Fi=i.createSelector(e=>R.select(e)?.capabilities.agentPlugins===1),Hi=i.createSelector(e=>R.select(e)?.capabilities.messageBlockPages===1),O=i.createSelector(e=>{const t=R.select(e);return t?t.capabilities.hostMembership?t.principal.hostRole??null:t.principal.isAdministrator?"owner":"guest":null}),ne=i.createSelector(e=>O.select(e)==="owner"),Et=i.createSelector(e=>e.principal?.status==="revoked"&&e.principal.context!==null&&e.principal.context===ee.select(e)),Bi=i.createSelector(e=>{const t=O.select(e);return t==="member"||t==="guest"||Et.select(e)}),qi=i.createSelector(e=>ne.select(e)?ee.select(e):null),gr=i.createSelector(e=>{const t=O.select(e);return t==="owner"||t==="member"}),ge=i.createSelector(e=>or.select(e)===!0&&!!R.select(e)&&e.principal.refreshedPresentationVersion===e.principal.presentationVersion),Gi=i.createSelector(e=>{const t=ge.select(e),s=R.select(e)?.capabilities;return{hostMembership:t&&s?.hostMembership===!0,manageHostMembers:t&&s?.hostMembership===!0&&ne.select(e),personalPairing:t&&s?.personalPairing===!0,authenticatedDevices:t&&s?.authenticatedDevices===!0,collaborationIdentity:t&&s?.collaborationIdentity===!0}}),pe=i.createSelector(rr),zi=i.createSelector(nr),Zi=i.createSelector(e=>gr.select(e)&&(ne.select(e)||ge.select(e))),Ki=i.createSelector(e=>R.select(e)?.capabilities.conversationGoal===1);function pr(e,t){const s=e.indexOf("/"),r=s===-1?void 0:e.slice(0,s),n=s===-1?e:e.slice(s+1),a=t?.indexOf("/")??-1,c=t&&a!==-1?t.slice(0,a):void 0;return r&&c&&r.toLowerCase()===c.toLowerCase()?n:e}function Rt(e,t,s){return`${pr(e,s)} #${t}`}function Re(e){return e.resource?.repository.provider==="gitlab"}function Vi(e,t){return`${Re(e)?"!":"#"}${t}`}function hr(e){return e.url??(e.resource||e.monitorAvailability||e.url===null?"":`https://github.com/${e.repo}/pull/${e.prNumber}`)}function mr(e,t){return Re(e)?`${e.repo} !${e.prNumber}`:Rt(e.repo,e.prNumber,t)}function Qi(e){return e.resource?Ts(e.resource):e.monitorAvailability?`unresolved:${e.monitorId}`:`${e.repo.toLowerCase()}#${e.prNumber}`}function Yi(e){switch(e.monitorAvailability?.state){case void 0:case"available":return;case"pending":return l.chat_chatMessage_loading_label();case"reconnect-required":return l.chat_monitoredPrs_status_reconnect();case"restricted":return l.chat_monitoredPrs_status_restricted();case"unresolved":return l.chat_monitoredPrs_status_unresolved();default:return l.chat_monitoredPrs_status_unknown()}}function Xi(e){return e.isDraft===null||e.hasConflicts===null||e.isBehind===null||Object.values(e.checks).some(t=>t===null)||e.approvals.have===null||e.approvals.changesRequested===null||e.availability!==void 0&&Object.values(e.availability).some(t=>t!=="available")}function Ji(e,t){if(!Re(t)||!t.resource)return e;const s=new URL(t.resource.repository.instanceBaseUrl);return`${e} (${s.host}${s.pathname.replace(/\/$/,"")})`}function xt(e){return e===I.Halted||e===I.Completed||e===I.Error||e===I.Deleted||e==="completed"||e==="failed"||e==="error"||e==="deleted"}function Pt(e){return e.status===I.Halted?!1:!!(e.turnInFlight||e.liveTurnOpen||e.isStreaming||e.isProcessing||e.isResponding||e.isWaitingOnTool||e.lastToolUse?.status?.toLowerCase()==="running")}function Mt(e){return e.status===I.Resuming||xt(e.status)||Pt(e)?!1:!!(e.isWaitingForOtherAgents||e.status===I.Waiting||e.status==="waiting")}function _r(e){return xt(e.status)||Mt(e)?!1:!!(Pt(e)||e.activationState==="activating"||e.status===I.Resuming||e.status===I.Active||e.status===I.Processing||e.status==="active"||e.status==="processing"||e.status==="responding"||e.status==="streaming")}function ec(e){return{isStreaming:e.isStreaming,isProcessing:e.isProcessing,isResponding:e.isResponding,turnInFlight:e.turnInFlight,liveTurnOpen:e.liveTurnOpen,isWaitingOnTool:e.isWaitingOnTool,isWaitingForOtherAgents:e.isWaitingForOtherAgents,lastToolUse:e.lastToolUse,activationState:e.activationState,status:e.status}}function br(e){if(!e)return null;const t=e.lastUserMessage||"";let s=e.lastAgentResponse||"",r;const n=e.digest||void 0,a=e.lastMessageRole==="user"||e.lastMessageRole==="assistant"?e.lastMessageRole:void 0;e.isStreaming&&e.lastToolUse?.name?(r={type:"tool_use",id:`live-tool:${e.id}`,name:e.lastToolUse.name,input:{}},s=""):!s&&!e.isStreaming&&e.lastToolUse?.name&&(r={type:"tool_use",id:`wire-tool:${e.id}`,name:e.lastToolUse.name,input:e.lastToolUse.input??{}});const c=e.metadata?.completionReport||void 0,o=Es(e)??void 0;return{id:e.id,name:e.name||l.chat_chatHeader_newChat_fallback(),status:e.status,lastUserMessage:t,lastResponse:s,lastToolUse:r,fileChanges:(e.fileChanges||[]).map(d=>({path:d.path,action:d.type||d.action||"modify",timestamp:d.timestamp||new Date().toISOString()})),messages:e.messages||[],completionReport:c,digest:n,parentAgentId:o,lastMessageRole:a}}function tc(e,t){if(!e)return"";const s=e.split(`
|
|
2
2
|
`);for(;s.length>0&&s[s.length-1].trim()==="";)s.pop();return s.length===0?"":s.length<=t?s.join(`
|
|
3
3
|
`):`${s.slice(-t).join(`
|
|
4
4
|
`)}...`}const yr={prefix:"fas",iconName:"note-sticky",icon:[16,16,[],"e002","M2 3.75A.75.75 0 0 1 2.75 3h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 3.75ZM2 8a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 8Zm0 4.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z"]},b={"file-read":Ys,"file-write":Qs,"file-delete":Vs,terminal:Ks,search:Us,"context-engine":Zs,api:zs,workspace:Gs,note:yr,meta:qs,agent:Bs,task:Hs,browser:Fs,generic:js},Sr=["workspace-mcp_","workspace_mcp_","filesystem_","browser-mcp_","browser_mcp_"],kr=["_workspace-mcp","-workspace-mcp","_playwright","_browser_mcp","_context_7","_svelte","_npx","_sequential_thinking","_figma","_slack","_sentry","_github","_linear","_notion","_jira"];function Nt(e){return!!e&&/^(mcp__|mcp\.)/i.test(e)}const Ze=/select:\s*mcp(__|\.)/i,Cr=/^select:\s*mcp(__|\.)/i;function wr(e,t={}){if(z(e).toLowerCase()==="toolsearch"||typeof t.query=="string"&&Cr.test(t.query))return!0;const s=typeof t._acpTitle=="string"?t._acpTitle:"";return Ze.test(e||"")||Ze.test(s)}function z(e){if(!e)return"";const t=e.match(/\/\/local\/mcp\/(.+)$/);t&&(e=t[1]),e=e.replace(/^mcp__[^_]+__/,""),e=e.replace(/^mcp\.[^.]+\./,"");const s=e.toLowerCase();for(const n of Sr)if(s.startsWith(n)){e=e.slice(n.length);break}let r=!0;for(;r;){r=!1;const n=e.toLowerCase();for(const a of kr)if(n.endsWith(a)){e=e.slice(0,-a.length),r=!0;break}}return e}function $t(e){const t=e.trim();return/\s/.test(t)?/^[A-Za-z0-9._-]+:\s/.test(t)?!0:t.split(/\s+/).length>=3:!1}function Lt(e){const t=e.trim().match(/^List\s+directory\s+\x60([^\x60]+)\x60$/i);if(!t)return null;const s=t[1].trim();return s.length===0?null:{category:"file-read",icon:b["file-read"],verb:l.chat_toolClassifier_listContents_label(),subject:x(s)||s,path:N(s)||null,filePath:s||null,isDirectory:!0}}function Ot(e){const t=e.toLowerCase(),s=t.includes("agent")?"agent":t.includes("note")?"note":t.includes("workspace")?"workspace":"generic";return{category:s,icon:b[s],verb:p(e.trim(),120),subject:null,path:null}}const vr=[{suffix:"_workspace-mcp",source:"workspace-mcp"},{suffix:"-workspace-mcp",source:"workspace-mcp"},{suffix:"_browser_mcp",source:"browser-mcp"},{suffix:"_playwright",source:"playwright"},{suffix:"_sequential_thinking",source:"sequential-thinking"},{suffix:"_context_7",source:"context7"},{suffix:"_figma",source:"figma"},{suffix:"_sentry",source:"sentry"},{suffix:"_github",source:"github"},{suffix:"_linear",source:"linear"},{suffix:"_slack",source:"slack"},{suffix:"_notion",source:"notion"},{suffix:"_jira",source:"jira"},{suffix:"_svelte",source:"svelte"},{suffix:"_npx",source:"npx"}],Ar=[{prefix:"workspace-mcp_",source:"workspace-mcp"},{prefix:"workspace_mcp_",source:"workspace-mcp"},{prefix:"browser-mcp_",source:"browser-mcp"},{prefix:"browser_mcp_",source:"browser-mcp"},{prefix:"filesystem_",source:"filesystem"}],Ke={"github-api":"github",linear:"linear",glean:"glean"},Ir=new Set(["view","codebase-retrieval","codebase_retrieval","launch-process","launch_process","read-process","read_process","write-process","write_process","kill-process","kill_process","list-processes","list_processes","str-replace-editor","str_replace_editor","save-file","save_file","remove-files","remove_files","web-search","web_search","web-fetch","web_fetch","conversation-retrieval","conversation_retrieval","git-commit-retrieval","git_commit_retrieval","bash","read","edit","run","find","grep"]);function Tr(e){if(!e)return;const t=e.match(/\/\/local\/mcp\/(.+)$/);t&&(e=t[1]);const s=e.match(/^mcp__([^_]+)__/);if(s)return s[1].toLowerCase();const r=e.match(/^mcp\.([^.]+)\./);if(r)return r[1].toLowerCase();const n=e.toLowerCase();for(const{prefix:a,source:c}of Ar)if(n.startsWith(a))return c;for(const{suffix:a,source:c}of vr)if(n.endsWith(a))return c;if(Ke[n])return Ke[n];Ir.has(n)}function A(e){return typeof e=="string"?e:e==null?"":String(e)}function p(e,t=50){const s=A(e);return s.length>t?`${s.substring(0,t)}...`:s}function xe(e){if(e==null)return null;if(typeof e=="string")return e;if(Array.isArray(e)){const t=e.filter(s=>s&&typeof s=="object"&&s.type==="text"&&s.text).map(s=>s.text);return t.length>0?t.join(`
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{p as re}from"./
|
|
1
|
+
import{p as re}from"./icAEjhzY.js";import{Y as oe,b0 as se,aZ as de,U as le,V as ce,a_ as me,b as o,ay as g,X as R,aW as ue,b4 as xe,r as fe,q as ge,W as B,O as he,aV as P,bi as S,m as pe}from"./C6w4HIHS.js";import{p as be,i as ve}from"./VpUwDjJ_.js";var D="position frame",N="frame positioned",k="position relation",T="relation positioned",we=o(function(e){g.debug("options str",e)},"setOptions"),ye=o(function(){return{}},"getOptions"),Pe=o(function(){C(),fe()},"clear");function C(){w={}}o(C,"reset");var Se=he.eventmodeling,ke=o(()=>ge({...Se,...B().eventmodeling}),"getConfig"),w={};function O(){let e=Fe;const{ast:n}=w,t=E();if(!n)throw new Error("No data for EventModel");return n.frames.forEach((i,a)=>{const r=L(i,n.dataEntities,t);e=v(e,{$kind:D,index:a,frame:i,textProps:r});let d;K(i)?(g.debug("source frame",i.sourceFrames),d=n.frames.filter(l=>i.sourceFrames.some(c=>c.$refText===l.name)),d.forEach(l=>{e=v(e,{$kind:k,index:a,frame:i,sourceFrame:l})})):e=v(e,{$kind:k,index:a,frame:i})}),e={...e,sortedSwimlanesArray:A(e.swimlanes)},e}o(O,"getState");function W(e){w.ast=void 0;const n=new Set;for(const t of e.frames){if(n.has(t.name)){const i=t.$cstNode?.range.start.line,a=i===void 0?"":` on line ${i+1}`;throw new Error(`Duplicate event modeling frame ID "${t.name}"${a}`)}n.add(t.name)}w.ast=e}o(W,"setAst");var s={swimlaneMinHeight:70,swimlanePadding:15,swimlaneGap:10,boxPadding:10,boxOverlap:90,boxDefaultY:0,boxMinWidth:80,boxMaxWidth:450,boxMinHeight:80,boxMaxHeight:750,contentStartX:250,textMaxWidth:430,boxTextFontWeight:"bold",boxTextPadding:10,swimlaneTextFontWeight:"bold",labelUiAutomation:"UI/Automation",labelUiAutomationPrefix:"UI/A: ",labelCommandReadModel:"Command/Read Model",labelCommandReadModelPrefix:"C/RM: ",labelEvents:"Events",labelEventsPrefix:"Stream: "};function E(){return s}o(E,"getDiagramProps");var Fe={boxes:[],swimlanes:{},relations:[],maxR:0,sortedSwimlanesArray:[]};function I(e){const n=e.split(".");if(n.length===2)return n[0]}o(I,"extractNamespace");function H(e){const n=e.split(".");return n.length===2?n[1]:e}o(H,"extractName");function U(e,n){if(!(!n||n.length===0))return Object.values(e).find(t=>t.namespace===n)}o(U,"findSwimlaneByNamespace");function b(e,n,t){return Math.max(n,...Object.keys(e).filter(i=>{const a=Number.parseInt(i);return a>n&&a<t}).map(i=>Number.parseInt(i)))+1}o(b,"findNextAvailableIndex");function _(e,n){const t=I(e.entityIdentifier),i=U(n,t);switch(e.modelEntityType){case"ui":case"pcr":case"processor":return i?{index:i.index,label:i.namespace||s.labelUiAutomation}:t?{index:b(n,0,100),label:s.labelUiAutomationPrefix+t}:{index:0,label:s.labelUiAutomation};case"rmo":case"readmodel":case"cmd":case"command":return i?{index:i.index,label:i.namespace||s.labelCommandReadModel}:t?{index:b(n,100,200),label:s.labelCommandReadModelPrefix+t}:{index:100,label:s.labelCommandReadModel};case"evt":case"event":default:return i?{index:i.index,label:i.namespace||s.labelEvents}:t?{index:b(n,200,300),label:s.labelEventsPrefix+t}:{index:200,label:s.labelEvents}}}o(_,"calculateSwimlaneProps");function V(e){const{themeVariables:n}=B();switch(e.modelEntityType){case"ui":return{fill:n.emUiFill??"white",stroke:n.emUiStroke??"#dbdada"};case"pcr":case"processor":return{fill:n.emProcessorFill??"#edb3f6",stroke:n.emProcessorStroke??"#b88cbf"};case"rmo":case"readmodel":return{fill:n.emReadModelFill??"#d3f1a2",stroke:n.emReadModelStroke??"#a3b732"};case"cmd":case"command":return{fill:n.emCommandFill??"#bcd6fe",stroke:n.emCommandStroke??"#679ac3"};case"evt":case"event":return{fill:n.emEventFill??"#ffb778",stroke:n.emEventStroke??"#c19a0f"};default:return{fill:"red",stroke:"black"}}}o(V,"calculateEntityVisualProps");function L(e,n,t){const i=B(),a=P(H(e.entityIdentifier)??"",i);let r;const d={fontSize:16,fontWeight:700,fontFamily:'"trebuchet ms", verdana, arial, sans-serif',joinWith:"<br/>"};let c=`<b>${S(a,t.textMaxWidth,d)}</b>`;if(e.dataInlineValue&&(r=e.dataInlineValue,r=r.substring(r.indexOf("{")+1),r=r.substring(0,r.lastIndexOf("}")-1),r=P(r,i),r=S(r,t.textMaxWidth,d),r=r.replaceAll(" "," ")),e.dataReference){const p=n.find(y=>y.name===e.dataReference?.$refText);p&&(r=p.dataBlockValue,r=r.substring(r.indexOf(`{
|
|
2
2
|
`)+2),r=r.substring(0,r.lastIndexOf("}")-1),r=P(r,i),r=S(r,t.textMaxWidth,d),r=r.replaceAll(" "," "),r+="<br/>")}const m=r!==void 0;m&&(c+=`<br/><br/><code style="text-align: left; display: block;max-width:${t.textMaxWidth}px">${r}</code>`);const x={fontSize:d.fontSize,fontWeight:d.fontWeight,fontFamily:d.fontFamily},u=pe(c,x),h=m?u.width/3:u.width,f={content:c,width:h,height:u.height};return g.debug(`[${e.name}] ${e.entityIdentifier} text`,f),f}o(L,"calculateTextProps");function G(e,n){const t=n,i=V(t.frame),a={width:t.textProps.width+2*s.boxTextPadding,height:t.textProps.height+2*s.boxTextPadding};return[{$kind:N,frame:t.frame,index:t.index,visual:i,dimension:a,textProps:t.textProps}]}o(G,"decidePositionFrame");function X(e,n,t){return n===void 0?s.contentStartX:n.index===e.index&&e.r?e.r+s.boxPadding:t===void 0?s.contentStartX:t.r-s.boxOverlap+s.boxPadding}o(X,"calculateX");function Y(e,n){const t=[...e.map(i=>i.r),n];return Math.max(...t)}o(Y,"calculateMaxRight");function A(e){return Object.values(e).sort((n,t)=>n.index-t.index)}o(A,"sortedSwimlanesArray");function j(e,n){const t=n,i=_(t.frame,e.swimlanes);let a;i.index in e.swimlanes?a=e.swimlanes[i.index]:a={index:i.index,label:i.label,r:0,y:i.index*s.swimlaneMinHeight+s.swimlaneGap,height:s.swimlaneMinHeight,maxHeight:s.swimlaneMinHeight};const r=e.boxes.length>0?e.boxes[e.boxes.length-1]:void 0,d=e.previousSwimlaneNumber!==void 0?e.swimlanes[e.previousSwimlaneNumber]:void 0,l={width:Math.max(s.boxMinWidth,Math.min(s.boxMaxWidth,t.dimension.width))+2*s.boxPadding,height:Math.max(s.boxMinHeight,Math.min(s.boxMaxHeight,t.dimension.height))+2*s.boxPadding},c=X(a,d,r),m=c+l.width+s.boxPadding,x=Y(Object.values(e.swimlanes),m);a.r=c+l.width,a.maxHeight=Math.max(a.maxHeight,l.height),a.height=Math.max(s.swimlaneMinHeight,a.maxHeight)+2*s.swimlanePadding;const u={x:c,y:s.swimlanePadding+a.y,r:m,dimension:l,leftSibling:!1,swimlane:a,visual:t.visual,text:t.textProps.content,frame:t.frame,index:t.index},h={...e,boxes:[...e.boxes,u],swimlanes:{...e.swimlanes,[`${a.index}`]:a},previousSwimlaneNumber:i.index,previousFrame:t.frame,maxR:x},f=A(h.swimlanes);f.length>0&&(f[0].y=0);for(let p=1;p<f.length;p++){const y=f[p],$=f[p-1];y.y=$.y+$.height+s.swimlaneGap}return h}o(j,"evolveFramePositioned");function z(e,n){return e===0&&n.sourceFrames.length===0}o(z,"isFirstFrame");function K(e){return e.sourceFrames!==void 0&&e.sourceFrames!==null&&e.sourceFrames.length>0}o(K,"hasSourceFrame");function F(e,n){if(n!=null)return e.find(t=>t.frame.name===n.name)}o(F,"findBoxByFrame");function q(e,n,t){if(!(t<0))for(let i=t;i>=0;i--){const a=e[i];if(a.swimlane.index!==n)return a}}o(q,"findBoxByLineIndex");function Z(e,n){const t=n;if(z(t.index,t.frame))return[];const i=F(e.boxes,t.frame);if(i===void 0)throw new Error(`Target box not found for frame ${t.frame.name}`);let a;if(t.sourceFrame)a=F(e.boxes,t.sourceFrame);else{if(ve(t.frame))return[];a=q(e.boxes,i.swimlane.index,t.index-1)}return a===void 0?[]:[{$kind:T,frame:t.frame,index:t.index,sourceBox:a,targetBox:i}]}o(Z,"decidePositionRelation");function J(e,n){const t=n,i={visual:{fill:"none",stroke:"#000"},source:{x:t.sourceBox.x,y:t.sourceBox.y},target:{x:t.targetBox.x,y:t.targetBox.y},sourceBox:t.sourceBox,targetBox:t.targetBox};return{...e,relations:[...e.relations,i]}}o(J,"evolveRelationPositioned");var Me={[D]:G,[k]:Z},Be={[N]:j,[T]:J};function Q(e,n){const t=Me[n.$kind];if(t==null)return[];const i=t(e,n);return g.debug("decided events",i),i}o(Q,"decide");function ee(e,n){const t=n.reduce((i,a)=>{const r=Be[a.$kind];return r==null?i:r(i,a)},e);return g.debug("evolve events",{state:e,newState:t,events:n}),t}o(ee,"evolve");function v(e,n){const t=Q(e,n);return ee(e,t)}o(v,"dispatch");var M={getConfig:ke,preserveCommentsWhenParsing:!0,setOptions:we,getOptions:ye,clear:Pe,setAccTitle:me,getAccTitle:ce,getAccDescription:le,setAccDescription:de,setDiagramTitle:se,getDiagramTitle:oe,setAst:W,getDiagramProps:E,getState:O},Ee={parse:o(async e=>{const n=await be("eventmodeling",e);g.debug(n),M.setAst(n),re(n,M)},"parse")},Ae=R(),$e=Ae?.eventmodeling;function te(e,n){return t=>{const i=t.swimlane.y+n.swimlanePadding,a=e.append("g").attr("class","em-box");a.append("rect").attr("x",t.x).attr("y",i).attr("rx","3").attr("width",t.dimension.width).attr("height",t.dimension.height).attr("stroke",t.visual.stroke).attr("fill",t.visual.fill),a.append("foreignObject").attr("x",t.x+n.boxPadding).attr("y",i+10).attr("width",t.dimension.width-2*n.boxPadding).attr("height",t.dimension.height-2*n.boxPadding).append("xhtml:div").style("display","table").style("height","100%").style("width","100%").append("span").style("display","table-cell").style("text-align","center").style("vertical-align","middle").html(t.text)}}o(te,"renderD3Box");function ne(e,n){return e>n}o(ne,"dirUpwards");function ie(e,n,t,i){return a=>{const r=a.sourceBox.swimlane.y+n.swimlanePadding,d=a.targetBox.swimlane.y+n.swimlanePadding,l=ne(r,d),c=a.sourceBox.x+a.sourceBox.dimension.width*2/3,m=a.targetBox.x+a.targetBox.dimension.width/3;let x,u;g.debug(`rendering relation up=${l} for `,{sourceBox:a.sourceBox,targetBox:a.targetBox}),l?(x=r,u=d+a.targetBox.dimension.height):(x=r+a.sourceBox.dimension.height,u=d);const h=i.emRelationStroke??a.visual.stroke;e.append("path").attr("class","em-relation").attr("fill",a.visual.fill).attr("stroke",h).attr("stroke-width","1").attr("marker-end",`url(#${t})`).attr("d",`M${c} ${x} L${m} ${u}`)}}o(ie,"renderD3Relation");function ae(e,n,t,i){return a=>{const r=e.append("g").attr("class","em-swimlane"),d=i.emSwimlaneBackgroundOdd??"rgb(250,250,250)",l=i.emSwimlaneBackgroundStroke??"rgb(240,240,240)";r.append("rect").attr("x",0).attr("y",a.y).attr("rx","3").attr("width",n+t.swimlanePadding).attr("height",a.height).attr("fill",d).attr("stroke",l),r.append("text").attr("font-weight",t.swimlaneTextFontWeight).attr("x",30).attr("y",a.y+30).text(a.label)}}o(ae,"renderD3Swimlane");var Re=o(function(e,n,t,i){if(g.debug("in eventmodeling renderer",e+`
|
|
3
3
|
`,"id:",n,t),!$e)throw new Error("EventModeling config not found");const a=i.db,{themeVariables:r,eventmodeling:d}=R(),l=ue(`[id="${n}"]`),c=a.getDiagramProps(),m=a.getState(),x=`em-arrowhead-${n}`,u=r.emArrowhead??"#000000";m.sortedSwimlanesArray.forEach(ae(l,m.maxR,c,r)),m.boxes.forEach(te(l,c)),m.relations.forEach(ie(l,c,x,r)),l.append("defs").append("marker").attr("id",x).attr("markerWidth","10").attr("markerHeight","7").attr("refX","10").attr("refY","3.5").attr("orient","auto").append("polygon").attr("points","0 0, 10 3.5, 0 7").attr("fill",u),xe(void 0,l,d?.padding??30,d?.useMaxWidth)},"draw"),De={draw:Re},Ne=o(e=>"","getStyles"),Te=Ne,Ie={parser:Ee,db:M,renderer:De,styles:Te};export{Ie as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as s}from"./
|
|
1
|
+
import{b as s}from"./C6w4HIHS.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as I};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bm as t}from"./
|
|
1
|
+
import{bm as t}from"./CHWIPzMj.js";function _(e){return e.hostRole?e.hostRole:e.owner?"owner":e.online===!1?"offline":e.online===!0?"member":null}function s(e){return e.displayName?.trim()||e.login?.trim()||t.presence_person_unknown_label()}function i(e){const n=e.identity;if(!n)return null;const r=e.login?.trim();return n.provider==="gitlab"?r?t.presence_person_gitlabHandle_label({login:`@${r}`,host:n.host}):t.workspace_share_pinProvider_gitlab_label({host:n.host}):r?t.presence_person_githubHandle_label({login:`@${r}`}):t.workspace_share_pinProvider_github_label()}function a(e){const n=i(e);if(!n)return s(e);const r=e.displayName?.trim(),o=e.login?.trim();return r&&r.replace(/^@/,"").toLowerCase()!==o?.toLowerCase()?t.presence_person_forge_label({name:r,handle:n}):n}function u(e){const n=a(e),r=e.self?t.presence_person_you_label({name:n}):n;if(!e.hostRole)return r;const o=e.hostRole==="owner"?t.presence_role_owner():e.hostRole==="member"?t.presence_role_member():t.presence_role_guest(),l=e.online?e.viewing?t.presence_status_viewing():t.presence_status_online():t.presence_status_offline();return t.presence_person_roleStatus({name:r,role:o,status:l})}function g(e){let n=0;for(let r=0;r<e.length;r++)n=n*31+e.charCodeAt(r)|0;return`hsl(${Math.abs(n)%360} 55% 45%)`}function f(e){if(e.length===0)return null;const[n,r]=e.map(s);return e.length===1?t.presence_typing_one({name:n}):e.length===2?t.presence_typing_two_label({first:n,second:r}):t.presence_typing_many({first:n,count:e.length-1})}export{u as a,s as b,a as c,_ as d,f as e,g as p};
|