@intent-hq/web 2.383.5 → 2.383.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{RFsxwSsB.js → -jC6R53Y.js} +1 -1
- package/web/app/immutable/chunks/{Co4vj0dC.js → 11IPfP64.js} +1 -1
- package/web/app/immutable/chunks/{WGwfzXjP.js → 1a7PBgFk.js} +1 -1
- package/web/app/immutable/chunks/{DnJ4jlPB.js → 2BBUaa8p.js} +1 -1
- package/web/app/immutable/chunks/{u2aKD69u.js → 3gdcau2g.js} +1 -1
- package/web/app/immutable/chunks/3lsVHf6U.js +10 -0
- package/web/app/immutable/chunks/{CFUZ-wx4.js → 606ykLjp.js} +3 -3
- package/web/app/immutable/chunks/{B8-Q1tED.js → 6D8I0EJP.js} +1 -1
- package/web/app/immutable/chunks/{BjfHx7zJ.js → 6mKf423T.js} +1 -1
- package/web/app/immutable/chunks/{BXCVSrGo.js → 7EHgRnzQ.js} +1 -1
- package/web/app/immutable/chunks/{CiMmbOsB.js → 7g_E9v8v.js} +1 -1
- package/web/app/immutable/chunks/{BTv8uh2C.js → 8o9CPlKy.js} +2 -2
- package/web/app/immutable/chunks/{f24VwgrA.js → 90dwRRI_.js} +1 -1
- package/web/app/immutable/chunks/9bpkKfDs.js +1 -0
- package/web/app/immutable/chunks/{No1eCFy3.js → B-4NNXpn.js} +1 -1
- package/web/app/immutable/chunks/{D6dlPeEM.js → B0-WaGMs.js} +1 -1
- package/web/app/immutable/chunks/{Bymbu99U.js → B0iC7Hp2.js} +1 -1
- package/web/app/immutable/chunks/{CBB3lnfZ.js → B2REQkHq.js} +3 -3
- package/web/app/immutable/chunks/{BAKPnd3w.js → B2w13ngc.js} +1 -1
- package/web/app/immutable/chunks/{C6mS8uZB.js → B50rrLDJ.js} +1 -1
- package/web/app/immutable/chunks/{CsD5HG3r.js → B51SeJXG.js} +1 -1
- package/web/app/immutable/chunks/{Cq88mLGj.js → B5R37z34.js} +3 -3
- package/web/app/immutable/chunks/{Cg871q2J.js → B5lAxopi.js} +1 -1
- package/web/app/immutable/chunks/{L_tYoUCb.js → B9ZFoPLo.js} +1 -1
- package/web/app/immutable/chunks/{c5QZsH9t.js → B9qXV8kb.js} +1 -1
- package/web/app/immutable/chunks/{C_KuQ05a.js → BAwmUXtg.js} +1 -1
- package/web/app/immutable/chunks/{BYChQVmd.js → BBIYuEK_.js} +1 -1
- package/web/app/immutable/chunks/{B_kMSQKD.js → BBdixUsX.js} +1 -1
- package/web/app/immutable/chunks/{CApA6QD2.js → BDATxlJG.js} +4 -4
- package/web/app/immutable/chunks/{BaW_cM4B.js → BFKNHcgD.js} +1 -1
- package/web/app/immutable/chunks/{CO5zWp8I.js → BFPO9C1I.js} +1 -1
- package/web/app/immutable/chunks/{RWObpdxy.js → BHzfXdU-.js} +1 -1
- package/web/app/immutable/chunks/{BxEf7uwl.js → BMF9dBr3.js} +1 -1
- package/web/app/immutable/chunks/{B4WuQori.js → BMWq5Cem.js} +1 -1
- package/web/app/immutable/chunks/{ClMg21pU.js → BNK8isss.js} +1 -1
- package/web/app/immutable/chunks/{Du0DJF2z.js → BNbuor20.js} +1 -1
- package/web/app/immutable/chunks/{DA5opfEp.js → BPjvgJzJ.js} +1 -1
- package/web/app/immutable/chunks/{CMEtJ5i1.js → BRdwblgo.js} +1 -1
- package/web/app/immutable/chunks/{j65te9ZT.js → BTtB75CV.js} +1 -1
- package/web/app/immutable/chunks/BWu0YXkV.js +1 -0
- package/web/app/immutable/chunks/{CqcqWJoa.js → BY98dnH8.js} +1 -1
- package/web/app/immutable/chunks/{3vWQiXY2.js → BYBhz2vc.js} +3 -3
- package/web/app/immutable/chunks/{Dj14JHUo.js → BYsxLCZX.js} +1 -1
- package/web/app/immutable/chunks/{wqIK2bns.js → BZxyR-1L.js} +1 -1
- package/web/app/immutable/chunks/{GuiAAF9e.js → BdReS-5Z.js} +1 -1
- package/web/app/immutable/chunks/{B5YNqIIm.js → BhFoVE_t.js} +1 -1
- package/web/app/immutable/chunks/{DaFpSJap.js → Bhl-6bQ6.js} +1 -1
- package/web/app/immutable/chunks/{Bs9K_x5H.js → BkPSRIlH.js} +1 -1
- package/web/app/immutable/chunks/{MEqItsKn.js → BlU12h14.js} +1 -1
- package/web/app/immutable/chunks/{DMV7vEM7.js → BlU2v4uc.js} +1 -1
- package/web/app/immutable/chunks/{CLkfOjAo.js → BmRtsF0k.js} +3 -3
- package/web/app/immutable/chunks/{Dlk4BhFg.js → BnG797lq.js} +1 -1
- package/web/app/immutable/chunks/{CDK_hSiv.js → BotfI-oJ.js} +1 -1
- package/web/app/immutable/chunks/{ZxEOlEA2.js → Bp4RMAg2.js} +1 -1
- package/web/app/immutable/chunks/{Bv1ckDXI.js → BpIice81.js} +1 -1
- package/web/app/immutable/chunks/{BNVrbjR5.js → BsHKPA8J.js} +2 -2
- package/web/app/immutable/chunks/{EK6zOAHM.js → BsOWc0fD.js} +1 -1
- package/web/app/immutable/chunks/BsuKoRte.js +1 -0
- package/web/app/immutable/chunks/{DZYWuj4L.js → Bx7gEyNR.js} +1 -1
- package/web/app/immutable/chunks/{Dql2ogGT.js → BxQcCpea.js} +1 -1
- package/web/app/immutable/chunks/{C0cGUVCr.js → BxTLs9JS.js} +1 -1
- package/web/app/immutable/chunks/{C7Zl7z5c.js → ByGaQPue.js} +1 -1
- package/web/app/immutable/chunks/{BwfxdDPw.js → BzuFQ4uC.js} +1 -1
- package/web/app/immutable/chunks/{CwTtJpch.js → C-HPMTfc.js} +1 -1
- package/web/app/immutable/chunks/{6Bqipt1r.js → C-LBvoL7.js} +1 -1
- package/web/app/immutable/chunks/{ozVAo4aX.js → C1JG3JxG.js} +1 -1
- package/web/app/immutable/chunks/{B_JCVgq0.js → C2307jRD.js} +1 -1
- package/web/app/immutable/chunks/{-afdnSwu.js → C2XGUcnW.js} +1 -1
- package/web/app/immutable/chunks/{DCRuihKm.js → C2jYl_tm.js} +2 -2
- package/web/app/immutable/chunks/{CkA2ItLw.js → C3Cs4xcH.js} +1 -1
- package/web/app/immutable/chunks/{518Fef2L.js → C3kvbgti.js} +1 -1
- package/web/app/immutable/chunks/{C4QKwtCH.js → C429ViPJ.js} +1 -1
- package/web/app/immutable/chunks/{nTGBknlr.js → C5I-aQNv.js} +1 -1
- package/web/app/immutable/chunks/{D8UBdXB2.js → C6UuYHLt.js} +1 -1
- package/web/app/immutable/chunks/{_SYFiE9N.js → C7Q9MjK0.js} +1 -1
- package/web/app/immutable/chunks/{Dp-6l6dc.js → C8iCqYhc.js} +1 -1
- package/web/app/immutable/chunks/{DibfmKHg.js → C9Ea_4DW.js} +1 -1
- package/web/app/immutable/chunks/{Bty1UglO.js → CAXPT_Gw.js} +1 -1
- package/web/app/immutable/chunks/{IK5u1LkS.js → CAgJTEqX.js} +1 -1
- package/web/app/immutable/chunks/{DizKilK3.js → CBh3oApX.js} +2 -2
- package/web/app/immutable/chunks/{W0L8GDXP.js → CChkl_5h.js} +1 -1
- package/web/app/immutable/chunks/{DC8keNAk.js → CCjzzCpy.js} +1 -1
- package/web/app/immutable/chunks/{D51XIZYq.js → CDLANF8s.js} +1 -1
- package/web/app/immutable/chunks/{Dac_vP74.js → CDr_0i5Z.js} +1 -1
- package/web/app/immutable/chunks/{BYq9VtBF.js → CENp25rd.js} +1 -1
- package/web/app/immutable/chunks/{Cngzlos4.js → CHTaR4fl.js} +1 -1
- package/web/app/immutable/chunks/{BIQB3Kx5.js → CHoUTmhW.js} +1 -1
- package/web/app/immutable/chunks/{BqRWw-wJ.js → CIWayVej.js} +1 -1
- package/web/app/immutable/chunks/{DsGUBv3k.js → CQwOMyxz.js} +1 -1
- package/web/app/immutable/chunks/{yFcbscNn.js → CRdOY_2z.js} +1 -1
- package/web/app/immutable/chunks/{DKHY8q_S.js → CTP1vzdq.js} +1 -1
- package/web/app/immutable/chunks/{CRZZ_hOy.js → CW0Mb2k4.js} +1 -1
- package/web/app/immutable/chunks/{-tAyw6ob.js → CXqdP_ch.js} +1 -1
- package/web/app/immutable/chunks/{B2Ym4lhl.js → CYkPVUDx.js} +1 -1
- package/web/app/immutable/chunks/{cfdblcWY.js → Cb0qNR4H.js} +1 -1
- package/web/app/immutable/chunks/{BYdTf9Vr.js → CbazPhvO.js} +1 -1
- package/web/app/immutable/chunks/{CwtLM6uA.js → CdyTEe8y.js} +1 -1
- package/web/app/immutable/chunks/{CmrjfWYI.js → Ce1_P2yR.js} +1 -1
- package/web/app/immutable/chunks/{C9dAybnM.js → CeGEVvKd.js} +2 -2
- package/web/app/immutable/chunks/{DDfr81XI.js → CfOfDsl2.js} +1 -1
- package/web/app/immutable/chunks/{Cgxwerkr.js → CgCfiUM-.js} +2 -2
- package/web/app/immutable/chunks/{C8y9EItt.js → Chp6TQgb.js} +1 -1
- package/web/app/immutable/chunks/{BhSvmxU-.js → CjJvlfCr.js} +4 -4
- package/web/app/immutable/chunks/{tZyAiGvb.js → ClIBKxjv.js} +1 -1
- package/web/app/immutable/chunks/{BpcUO3Xs.js → Cm4ptdH4.js} +1 -1
- package/web/app/immutable/chunks/{OtomGvb3.js → CmAb18no.js} +1 -1
- package/web/app/immutable/chunks/{BaujsV9k.js → Cppy6ZYG.js} +1 -1
- package/web/app/immutable/chunks/{BTrqJIJZ.js → Cq_r_CYV.js} +1 -1
- package/web/app/immutable/chunks/{DqWLkzGY.js → CqcYFh8j.js} +1 -1
- package/web/app/immutable/chunks/{FzlZUztb.js → CttA-M7l.js} +1 -1
- package/web/app/immutable/chunks/{C4LrSRW3.js → Cv71FrWX.js} +1 -1
- package/web/app/immutable/chunks/{WiA7_4AK.js → Cyc867L5.js} +1 -1
- package/web/app/immutable/chunks/{CP9Lq5G_.js → D0a_zKAq.js} +1 -1
- package/web/app/immutable/chunks/{B-MmNWOm.js → D1gev-Oa.js} +1 -1
- package/web/app/immutable/chunks/{DTuql3Rj.js → D32iIfZB.js} +1 -1
- package/web/app/immutable/chunks/{Bg_lZIRf.js → D3KbOo9x.js} +2 -2
- package/web/app/immutable/chunks/{D_Xpj-6r.js → D5TRf27k.js} +1 -1
- package/web/app/immutable/chunks/{Djp7mdlG.js → D6x1PvJt.js} +1 -1
- package/web/app/immutable/chunks/{CHKnj_kH.js → D85Dkv1L.js} +1 -1
- package/web/app/immutable/chunks/{BWbkCnfm.js → D93FnkSV.js} +1 -1
- package/web/app/immutable/chunks/{Bvi-fRGz.js → DA3JhNUa.js} +1 -1
- package/web/app/immutable/chunks/{CqnrQ6ti.js → DA6FwFPA.js} +3 -3
- package/web/app/immutable/chunks/{BmkXo3Yq.js → DAi59CB_.js} +1 -1
- package/web/app/immutable/chunks/{C3upI-xJ.js → DAj3--4v.js} +1 -1
- package/web/app/immutable/chunks/{fiz8N_zQ.js → DCL0Px6m.js} +1 -1
- package/web/app/immutable/chunks/{BxoyDHGw.js → DDWXzJJL.js} +1 -1
- package/web/app/immutable/chunks/{DrIA1Azf.js → DDxtqhsd.js} +1 -1
- package/web/app/immutable/chunks/{CY4fyoCV.js → DEe4pSnF.js} +1 -1
- package/web/app/immutable/chunks/{Dsr4GELp.js → DFUCAM2K.js} +1 -1
- package/web/app/immutable/chunks/{Do2giiGP.js → DGdXhwsJ.js} +1 -1
- package/web/app/immutable/chunks/{BP5uGGO_.js → DHLXX1td.js} +1 -1
- package/web/app/immutable/chunks/{BypvqIQM.js → DHbAORA3.js} +1 -1
- package/web/app/immutable/chunks/{B4SiDSWP.js → DI_O2uCQ.js} +1 -1
- package/web/app/immutable/chunks/{Ctbo6mXV.js → DJcj8WvN.js} +1 -1
- package/web/app/immutable/chunks/{B8V-jGiS.js → DML-1n7e.js} +1 -1
- package/web/app/immutable/chunks/{BZC6DuKQ.js → DMtuN9wu.js} +1 -1
- package/web/app/immutable/chunks/{C0o77pad.js → DODT78Qk.js} +2 -2
- package/web/app/immutable/chunks/{CG-tM1HG.js → DOXAHHuz.js} +2 -2
- package/web/app/immutable/chunks/{Dr8j8hDa.js → DPTzvpZC.js} +2 -2
- package/web/app/immutable/chunks/{Bj84UPYb.js → DPpIdNvg.js} +1 -1
- package/web/app/immutable/chunks/{DbZ5HUqx.js → DSpm6A1W.js} +2 -2
- package/web/app/immutable/chunks/{CJtViYfh.js → DT4Cgjmu.js} +1 -1
- package/web/app/immutable/chunks/{Yyy6gahW.js → DTFjA6nd.js} +1 -1
- package/web/app/immutable/chunks/{DPCOdXX2.js → DTpKHtQ2.js} +1 -1
- package/web/app/immutable/chunks/{DAJnPbZk.js → DUJWrM6V.js} +4 -4
- package/web/app/immutable/chunks/{CHLX1QZz.js → DXn0DuET.js} +1 -1
- package/web/app/immutable/chunks/{CWdKrGNN.js → DYVqPPax.js} +1 -1
- package/web/app/immutable/chunks/{eElW3aeh.js → DZ84MPQO.js} +1 -1
- package/web/app/immutable/chunks/{Dirmxn0x.js → Day2rmDJ.js} +1 -1
- package/web/app/immutable/chunks/{lzAd2Up3.js → DayBneSF.js} +1 -1
- package/web/app/immutable/chunks/{DT3Kx0Qe.js → DdYRxRPc.js} +1 -1
- package/web/app/immutable/chunks/{DATzIj-C.js → DfNht_cf.js} +1 -1
- package/web/app/immutable/chunks/{DFi1P2MD.js → DhHELjW9.js} +1 -1
- package/web/app/immutable/chunks/{QeBH-DWE.js → Dhy-QJgd.js} +1 -1
- package/web/app/immutable/chunks/{KYuLFpkq.js → DiNBgjb1.js} +1 -1
- package/web/app/immutable/chunks/{C1EvfTg-.js → DjNVz8pO.js} +1 -1
- package/web/app/immutable/chunks/{6-uYidyP.js → DkDSK_05.js} +3 -3
- package/web/app/immutable/chunks/{DCK8dPAL.js → DkME16PR.js} +1 -1
- package/web/app/immutable/chunks/{BmTMWrby.js → DlUZpQ7U.js} +1 -1
- package/web/app/immutable/chunks/{CSRYV6LQ.js → Dnp239cR.js} +1 -1
- package/web/app/immutable/chunks/{7dpPwFPi.js → DoDP-NJt.js} +1 -1
- package/web/app/immutable/chunks/{BfojStRz.js → DpPV7WHr.js} +1 -1
- package/web/app/immutable/chunks/{BP3Sccje.js → DpX9aeiZ.js} +1 -1
- package/web/app/immutable/chunks/{D96pHovR.js → DqUfbKVJ.js} +1 -1
- package/web/app/immutable/chunks/{Z0_LIT6x.js → DrK3Y0uD.js} +2 -2
- package/web/app/immutable/chunks/{Cqa6LF3b.js → DrWDRmYR.js} +1 -1
- package/web/app/immutable/chunks/{Bygq9d8w.js → DsevRTZh.js} +1 -1
- package/web/app/immutable/chunks/{DrxfcnSy.js → DsffLoT8.js} +1 -1
- package/web/app/immutable/chunks/{5c25JTI1.js → DswCtQ8W.js} +1 -1
- package/web/app/immutable/chunks/{-Q8WHsT1.js → DtmCgGP_.js} +2 -2
- package/web/app/immutable/chunks/{CmVBRNuA.js → Dvrtbry_.js} +1 -1
- package/web/app/immutable/chunks/{iHxbYHJ6.js → DwEGyXAz.js} +1 -1
- package/web/app/immutable/chunks/{BPL5Fo2b.js → Dx3nOa5s.js} +1 -1
- package/web/app/immutable/chunks/{B5MrjS7j.js → Dx_8-INB.js} +1 -1
- package/web/app/immutable/chunks/{BcpfdNy8.js → FITmaVUJ.js} +1 -1
- package/web/app/immutable/chunks/{B265Nxi3.js → FKyiybGz.js} +1 -1
- package/web/app/immutable/chunks/{BiQUDh4s.js → IcuTx12D.js} +1 -1
- package/web/app/immutable/chunks/{DzB2TE-q.js → JbVFIGCp.js} +13 -13
- package/web/app/immutable/chunks/{CAvYeStH.js → JvS7MGpw.js} +1 -1
- package/web/app/immutable/chunks/{DQ_mNIfK.js → L0wFy8_j.js} +1 -1
- package/web/app/immutable/chunks/{D8ohaX19.js → NE3LtfEb.js} +1 -1
- package/web/app/immutable/chunks/{CfiKUG8A.js → RnZ98Lx7.js} +1 -1
- package/web/app/immutable/chunks/{u8znU8zy.js → RwU8EQ7-.js} +1 -1
- package/web/app/immutable/chunks/{C4JbSg3f.js → SB0XkB7s.js} +1 -1
- package/web/app/immutable/chunks/{CbqxWBi7.js → T-y84UQ-.js} +1 -1
- package/web/app/immutable/chunks/{DY-t7Was.js → UmmBf5TK.js} +1 -1
- package/web/app/immutable/chunks/{S845NCb3.js → VxaCN40t.js} +1 -1
- package/web/app/immutable/chunks/{BHt4i6xN.js → WIWu6pzv.js} +1 -1
- package/web/app/immutable/chunks/{BacafptN.js → ZAGtf4QC.js} +4 -4
- package/web/app/immutable/chunks/{BxJ6X-Sl.js → ZNxS70ti.js} +1 -1
- package/web/app/immutable/chunks/{CpJb1fZG.js → Zc9S8AIT.js} +1 -1
- package/web/app/immutable/chunks/{tr-2J8Mf.js → _LtUY0jS.js} +1 -1
- package/web/app/immutable/chunks/{DwL1A1su.js → _WGu_9si.js} +1 -1
- package/web/app/immutable/chunks/{PIgqsYsQ.js → _Z48PZPG.js} +1 -1
- package/web/app/immutable/chunks/{DtF9DVpp.js → _szCylN8.js} +1 -1
- package/web/app/immutable/chunks/{Cx37GTsM.js → bQJcjDVH.js} +1 -1
- package/web/app/immutable/chunks/{OFhgRaUm.js → bq2jN3Y4.js} +1 -1
- package/web/app/immutable/chunks/{CDjpuJh0.js → c6a4q1y9.js} +1 -1
- package/web/app/immutable/chunks/{D37getya.js → ceYukiuF.js} +1 -1
- package/web/app/immutable/chunks/{iN763416.js → dpO6awDJ.js} +1 -1
- package/web/app/immutable/chunks/{B9YYIjUd.js → e2T92U2C.js} +3 -3
- package/web/app/immutable/chunks/{UMwTu6TE.js → eJ7uL4LD.js} +1 -1
- package/web/app/immutable/chunks/{SqlvGXMi.js → gXSh3Rqp.js} +1 -1
- package/web/app/immutable/chunks/{BeOwB_6G.js → iDB1itc7.js} +1 -1
- package/web/app/immutable/chunks/{p7SBTgaC.js → lkgbZnYm.js} +1 -1
- package/web/app/immutable/chunks/{CjTo2K46.js → nA0tsFRt.js} +1 -1
- package/web/app/immutable/chunks/{BKPEtXUT.js → oZzpgNB8.js} +1 -1
- package/web/app/immutable/chunks/{CnZI1GOS.js → okU6lEoA.js} +1 -1
- package/web/app/immutable/chunks/{BRJQPxpd.js → pAMHAQGK.js} +1 -1
- package/web/app/immutable/chunks/{B2nCyo89.js → pQ6IdBCz.js} +1 -1
- package/web/app/immutable/chunks/{3o8kzB3n.js → qEaQygdG.js} +1 -1
- package/web/app/immutable/chunks/{BSKFIBj2.js → ram0Xoqf.js} +1 -1
- package/web/app/immutable/chunks/{CCqqosml.js → rpEVAvPW.js} +1 -1
- package/web/app/immutable/chunks/{CSVgdt55.js → sABlNrvu.js} +1 -1
- package/web/app/immutable/chunks/{DW25C9MI.js → syIfkUtY.js} +2 -2
- package/web/app/immutable/chunks/{B2DRKAdQ.js → umMyGIUt.js} +1 -1
- package/web/app/immutable/chunks/{C0LshS-P.js → vpidVnoK.js} +1 -1
- package/web/app/immutable/chunks/{D6G8WbHL.js → w2q0NJFW.js} +1 -1
- package/web/app/immutable/chunks/{ClJhkXR5.js → wUEfWFO0.js} +1 -1
- package/web/app/immutable/chunks/{hHMYoFyG.js → wjh5cuBI.js} +1 -1
- package/web/app/immutable/chunks/{DzbS0qCL.js → x8QjiOrF.js} +1 -1
- package/web/app/immutable/chunks/{KEaRLIGy.js → xCOOeB5y.js} +1 -1
- package/web/app/immutable/entry/{app.Cqjdbldk.js → app.DTU8Ib8_.js} +2 -2
- package/web/app/immutable/entry/start.vqAdlzsb.js +1 -0
- package/web/app/immutable/nodes/{0.CIMKJ2v2.js → 0.DSHPaYBf.js} +1 -1
- package/web/app/immutable/nodes/{1.C-zZe4mL.js → 1.DKliZtsI.js} +1 -1
- package/web/app/immutable/nodes/{10.CRicXMMy.js → 10.mXAnRqVu.js} +5 -5
- package/web/app/immutable/nodes/{11.CFkPUf9W.js → 11.BNoZ2Awp.js} +1 -1
- package/web/app/immutable/nodes/{13.CCKyw-_o.js → 13.C6TyTlAm.js} +1 -1
- package/web/app/immutable/nodes/{14.BD92xFv4.js → 14.CHiqNDyF.js} +1 -1
- package/web/app/immutable/nodes/{15.BDAlg-ra.js → 15.CklBb62Z.js} +1 -1
- package/web/app/immutable/nodes/{16.CVCm-nfj.js → 16.Dyi9KYXl.js} +1 -1
- package/web/app/immutable/nodes/{17.CjKvJw8X.js → 17.CH042Yj8.js} +1 -1
- package/web/app/immutable/nodes/{18.DDY8Eqsn.js → 18.DVg5DSa7.js} +1 -1
- package/web/app/immutable/nodes/{19.DJgRbiNE.js → 19.BxZ4y2DZ.js} +2 -2
- package/web/app/immutable/nodes/{2.Dl71tIky.js → 2.DZmz8fq0.js} +4 -4
- package/web/app/immutable/nodes/{20.CLsq1QLL.js → 20.Byg15mRq.js} +1 -1
- package/web/app/immutable/nodes/{3.DNld1BNY.js → 3.umir6RZQ.js} +1 -1
- package/web/app/immutable/nodes/{4.Dqn6Xii_.js → 4.BN-AJGgH.js} +1 -1
- package/web/app/immutable/nodes/{5.B0BP_LYC.js → 5.BbafFHWz.js} +1 -1
- package/web/app/immutable/nodes/{6.NwMlYZya.js → 6.Zsgk8jus.js} +1 -1
- package/web/app/immutable/nodes/{7.CP-QZto7.js → 7.ChjI-TG1.js} +1 -1
- package/web/app/immutable/nodes/{8.BsQgGFet.js → 8.DPKyN2xT.js} +1 -1
- package/web/app/immutable/nodes/{9.DY6xrFrM.js → 9.Ds0Wbr5E.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +12 -12
- package/web/app/immutable/chunks/BIVeXMBl.js +0 -1
- package/web/app/immutable/chunks/D-zjf2Af.js +0 -1
- package/web/app/immutable/chunks/DH5O4f99.js +0 -1
- package/web/app/immutable/chunks/pUxZXv-3.js +0 -10
- package/web/app/immutable/entry/start.D0BpS8PF.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var dt=Object.defineProperty;var qe=n=>{throw TypeError(n)};var ct=(n,e,r)=>e in n?dt(n,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[e]=r;var y=(n,e,r)=>ct(n,typeof e!="symbol"?e+"":e,r),ut=(n,e,r)=>e.has(n)||qe("Cannot "+r);var l=(n,e,r)=>(ut(n,e,"read from private field"),r?r.call(n):e.get(n)),O=(n,e,r)=>e.has(n)?qe("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(n):e.set(n,r);import{t as W,bo as i,bw as X,b as j,bp as L,br as Ne}from"./C0QTy0Sy.js";import{bV as M,aD as c,bH as b,c9 as N,bo as be,bs as q,a7 as A,ay as x,W as C,bn as H,aA as a,a5 as Ce,bf as Q,bA as Oe,aB as Y,bS as He,aG as Ye,br as ht,ca as pt,bI as Ze}from"./3SdAC2_C.js";import{i as z}from"./bhKPSdq4.js";import{t as E}from"./CrD0jtXE.js";import{b as Pe}from"./7UPrdiE9.js";import{h as gt,a2 as Qe,av as _,a$ as Te,aU as ft,aF as vt,an as _e,ay as mt,aG as $e,aq as Ie,a6 as yt,l as bt,az as R,aQ as B,aS as k,I as Ct,n as Ot,j as Pt,ad as _t,a9 as Ve}from"./FzlZUztb.js";import{c as wt}from"./CUkDMZwP.js";import{s as St}from"./BAKPnd3w.js";import{f as xt,k as Nt}from"./DLwWVKiF.js";const It=mt({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),U=new gt("Dialog.Root | AlertDialog.Root");var te,re,ne,oe,se,ie,ae,le,de,ce,ue;const Be=class Be{constructor(e,r){y(this,"opts");O(this,te,M(null));O(this,re,M(null));O(this,ne,M(null));O(this,oe,M(null));O(this,se,M(void 0));O(this,ie,M(void 0));O(this,ae,M(void 0));O(this,le,M(void 0));O(this,de,M(null));O(this,ce,M(0));y(this,"depth");y(this,"parent");y(this,"contentPresence");y(this,"overlayPresence");y(this,"getBitsAttr",e=>It.getAttr(e,this.opts.variant.current));O(this,ue,N(()=>({"data-state":vt(this.opts.open.current)})));this.opts=e,this.parent=r,this.depth=r?r.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new Qe({ref:_(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Qe({ref:_(()=>this.overlayNode),open:this.opts.open,enabled:!0}),Te(()=>this.opts.open.current,s=>{this.parent&&(s?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),ft(()=>{this.opts.open.current&&this.parent?.decrementNested()})}static create(e){const r=U.getOr(null);return U.set(new Be(e,r))}get triggerNode(){return c(l(this,te))}set triggerNode(e){b(l(this,te),e,!0)}get contentNode(){return c(l(this,re))}set contentNode(e){b(l(this,re),e,!0)}get overlayNode(){return c(l(this,ne))}set overlayNode(e){b(l(this,ne),e,!0)}get descriptionNode(){return c(l(this,oe))}set descriptionNode(e){b(l(this,oe),e,!0)}get contentId(){return c(l(this,se))}set contentId(e){b(l(this,se),e,!0)}get titleId(){return c(l(this,ie))}set titleId(e){b(l(this,ie),e,!0)}get triggerId(){return c(l(this,ae))}set triggerId(e){b(l(this,ae),e,!0)}get descriptionId(){return c(l(this,le))}set descriptionId(e){b(l(this,le),e,!0)}get cancelNode(){return c(l(this,de))}set cancelNode(e){b(l(this,de),e,!0)}get nestedOpenCount(){return c(l(this,ce))}set nestedOpenCount(e){b(l(this,ce),e,!0)}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){this.nestedOpenCount!==0&&(this.nestedOpenCount--,this.parent?.decrementNested())}get sharedProps(){return c(l(this,ue))}set sharedProps(e){b(l(this,ue),e)}};te=new WeakMap,re=new WeakMap,ne=new WeakMap,oe=new WeakMap,se=new WeakMap,ie=new WeakMap,ae=new WeakMap,le=new WeakMap,de=new WeakMap,ce=new WeakMap,ue=new WeakMap;let Fe=Be;var he;const Ke=class Ke{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,he,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr(this.opts.variant.current)]:"",onclick:this.onclick,onkeydown:this.onkeydown,disabled:this.opts.disabled.current?!0:void 0,tabindex:0,...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}static create(e){return new Ke(e,U.get())}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleClose()}onkeydown(e){this.opts.disabled.current||(e.key===yt||e.key===bt)&&(e.preventDefault(),this.root.handleClose())}get props(){return c(l(this,he))}set props(e){b(l(this,he),e)}};he=new WeakMap;let ke=Ke;var pe;const ze=class ze{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,pe,N(()=>({id:this.opts.id.current,role:"heading","aria-level":this.opts.level.current,[this.root.getBitsAttr("title")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.root.titleId=this.opts.id.current,this.attachment=_e(this.opts.ref),Te.pre(()=>this.opts.id.current,s=>{this.root.titleId=s})}static create(e){return new ze(e,U.get())}get props(){return c(l(this,pe))}set props(e){b(l(this,pe),e)}};pe=new WeakMap;let Ee=ze;var ge;const Ge=class Ge{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,ge,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr("description")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.root.descriptionId=this.opts.id.current,this.attachment=_e(this.opts.ref,s=>{this.root.descriptionNode=s}),Te.pre(()=>this.opts.id.current,s=>{this.root.descriptionId=s})}static create(e){return new Ge(e,U.get())}get props(){return c(l(this,ge))}set props(e){b(l(this,ge),e)}};ge=new WeakMap;let De=Ge;var fe,ve;const Ue=class Ue{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,fe,N(()=>({open:this.root.opts.open.current})));O(this,ve,N(()=>({id:this.opts.id.current,role:this.root.opts.variant.current==="alert-dialog"?"alertdialog":"dialog","aria-modal":"true","aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.getBitsAttr("content")]:"",style:{pointerEvents:"auto",outline:this.root.opts.variant.current==="alert-dialog"?"none":void 0,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount,contain:"layout style"},tabindex:this.root.opts.variant.current==="alert-dialog"?-1:void 0,"data-nested-open":Ie(this.root.nestedOpenCount>0),"data-nested":Ie(this.root.parent!==null),...$e(this.root.contentPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref,s=>{this.root.contentNode=s,this.root.contentId=s?.id})}static create(e){return new Ue(e,U.get())}get snippetProps(){return c(l(this,fe))}set snippetProps(e){b(l(this,fe),e)}get props(){return c(l(this,ve))}set props(e){b(l(this,ve),e)}get shouldRender(){return this.root.contentPresence.shouldRender}};fe=new WeakMap,ve=new WeakMap;let Me=Ue;var me,ye;const We=class We{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,me,N(()=>({open:this.root.opts.open.current})));O(this,ye,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr("overlay")]:"",style:{pointerEvents:"auto","--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount},"data-nested-open":Ie(this.root.nestedOpenCount>0),"data-nested":Ie(this.root.parent!==null),...$e(this.root.overlayPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref,s=>this.root.overlayNode=s)}static create(e){return new We(e,U.get())}get snippetProps(){return c(l(this,me))}set snippetProps(e){b(l(this,me),e)}get props(){return c(l(this,ye))}set props(e){b(l(this,ye),e)}get shouldRender(){return this.root.overlayPresence.shouldRender}};me=new WeakMap,ye=new WeakMap;let Re=We;var At=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","level"]),Ft=Y("<div><!></div>");function kt(n,e){const r=be();if(new.target)return W({component:kt,...n});q(e,!0);let s=i(e,"id",23,()=>R(r)),g=i(e,"ref",15,null),u=i(e,"child",7),v=i(e,"children",7),m=i(e,"level",7,2),w=L(e,At);const p=Ee.create({id:_(()=>s()),level:_(()=>m()),ref:_(()=>g(),t=>g(t))}),f=N(()=>B(w,p.props));var S={get id(){return s()},set id(t=R(r)){s(t),a()},get ref(){return g()},set ref(t=null){g(t),a()},get child(){return u()},set child(t){u(t),a()},get children(){return v()},set children(t){v(t),a()},get level(){return m()},set level(t=2){m(t),a()},$set:X,$on:(t,h)=>j(e,t,h)},P=A(),F=x(P);{var I=t=>{var h=A(),D=x(h);E(D,u,()=>({props:c(f)})),C(t,h)},o=t=>{var h=Ft();Pe(h,()=>({...c(f)}));var D=Ce(h);E(D,()=>v()??Q),Oe(h),C(t,h)};z(F,t=>{u()?t(I):t(o,-1)})}return C(n,P),H(S)}var Et=new Set(["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]),Dt=Y("<div><!></div>");function Mt(n,e){const r=be();if(new.target)return W({component:Mt,...n});q(e,!0);let s=i(e,"id",23,()=>R(r)),g=i(e,"forceMount",7,!1),u=i(e,"child",7),v=i(e,"children",7),m=i(e,"ref",15,null),w=L(e,Et);const p=Re.create({id:_(()=>s()),ref:_(()=>m(),o=>m(o))}),f=N(()=>B(w,p.props));var S={get id(){return s()},set id(o=R(r)){s(o),a()},get forceMount(){return g()},set forceMount(o=!1){g(o),a()},get child(){return u()},set child(o){u(o),a()},get children(){return v()},set children(o){v(o),a()},get ref(){return m()},set ref(o=null){m(o),a()},$set:X,$on:(o,t)=>j(e,o,t)},P=A(),F=x(P);{var I=o=>{var t=A(),h=x(t);{var D=K=>{var T=A(),d=x(T);{let V=N(()=>({props:B(c(f)),...p.snippetProps}));E(d,u,()=>c(V))}C(K,T)},we=K=>{var T=Dt();Pe(T,V=>({...V}),[()=>B(c(f))]);var d=Ce(T);E(d,()=>v()??Q,()=>p.snippetProps),Oe(T),C(K,T)};z(h,K=>{u()?K(D):K(we,-1)})}C(o,t)};z(F,o=>{(p.shouldRender||g())&&o(I)})}return C(n,P),H(S)}var Rt=new Set(["$$slots","$$events","$$legacy","id","children","child","ref"]),Tt=Y("<div><!></div>");function Bt(n,e){const r=be();if(new.target)return W({component:Bt,...n});q(e,!0);let s=i(e,"id",23,()=>R(r)),g=i(e,"children",7),u=i(e,"child",7),v=i(e,"ref",15,null),m=L(e,Rt);const w=De.create({id:_(()=>s()),ref:_(()=>v(),o=>v(o))}),p=N(()=>B(m,w.props));var f={get id(){return s()},set id(o=R(r)){s(o),a()},get children(){return g()},set children(o){g(o),a()},get child(){return u()},set child(o){u(o),a()},get ref(){return v()},set ref(o=null){v(o),a()},$set:X,$on:(o,t)=>j(e,o,t)},S=A(),P=x(S);{var F=o=>{var t=A(),h=x(t);E(h,u,()=>({props:c(p)})),C(o,t)},I=o=>{var t=Tt();Pe(t,()=>({...c(p)}));var h=Ce(t);E(h,()=>g()??Q),Oe(t),C(o,t)};z(P,o=>{u()?o(F):o(I,-1)})}return C(n,S),H(f)}function et(n,e){if(new.target)return W({component:et,...n});q(e,!0);let r=i(e,"open",15,!1),s=i(e,"onOpenChange",7,k),g=i(e,"onOpenChangeComplete",7,k),u=i(e,"children",7);Fe.create({variant:_(()=>"dialog"),open:_(()=>r(),p=>{r(p),s()(p)}),onOpenChangeComplete:_(()=>g())});var v={get open(){return r()},set open(p=!1){r(p),a()},get onOpenChange(){return s()},set onOpenChange(p=k){s(p),a()},get onOpenChangeComplete(){return g()},set onOpenChangeComplete(p=k){g(p),a()},get children(){return u()},set children(p){u(p),a()},$set:X,$on:(p,f)=>j(e,p,f)},m=A(),w=x(m);return E(w,()=>u()??Q),C(n,m),H(v)}var Kt=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]),zt=Y("<button><!></button>");function Gt(n,e){const r=be();if(new.target)return W({component:Gt,...n});q(e,!0);let s=i(e,"children",7),g=i(e,"child",7),u=i(e,"id",23,()=>R(r)),v=i(e,"ref",15,null),m=i(e,"disabled",7,!1),w=L(e,Kt);const p=ke.create({variant:_(()=>"close"),id:_(()=>u()),ref:_(()=>v(),t=>v(t)),disabled:_(()=>!!m())}),f=N(()=>B(w,p.props));var S={get children(){return s()},set children(t){s(t),a()},get child(){return g()},set child(t){g(t),a()},get id(){return u()},set id(t=R(r)){u(t),a()},get ref(){return v()},set ref(t=null){v(t),a()},get disabled(){return m()},set disabled(t=!1){m(t),a()},$set:X,$on:(t,h)=>j(e,t,h)},P=A(),F=x(P);{var I=t=>{var h=A(),D=x(h);E(D,g,()=>({props:c(f)})),C(t,h)},o=t=>{var h=zt();Pe(h,()=>({...c(f)}));var D=Ce(h);E(D,()=>s()??Q),Oe(h),C(t,h)};z(F,t=>{g()?t(I):t(o,-1)})}return C(n,P),H(S)}var Ut=new Set(["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]),Wt=Y("<!> <!>",1),Xt=Y("<!> <div><!></div>",1);function jt(n,e){const r=be();if(new.target)return W({component:jt,...n});q(e,!0);let s=i(e,"id",23,()=>R(r)),g=i(e,"children",7),u=i(e,"child",7),v=i(e,"ref",15,null),m=i(e,"forceMount",7,!1),w=i(e,"onCloseAutoFocus",7,k),p=i(e,"onOpenAutoFocus",7,k),f=i(e,"onEscapeKeydown",7,k),S=i(e,"onInteractOutside",7,k),P=i(e,"trapFocus",7,!0),F=i(e,"preventScroll",7,!0),I=i(e,"restoreScrollDelay",7,null),o=L(e,Ut);const t=Me.create({id:_(()=>s()),ref:_(()=>v(),d=>v(d))}),h=N(()=>B(o,t.props));var D={get id(){return s()},set id(d=R(r)){s(d),a()},get children(){return g()},set children(d){g(d),a()},get child(){return u()},set child(d){u(d),a()},get ref(){return v()},set ref(d=null){v(d),a()},get forceMount(){return m()},set forceMount(d=!1){m(d),a()},get onCloseAutoFocus(){return w()},set onCloseAutoFocus(d=k){w(d),a()},get onOpenAutoFocus(){return p()},set onOpenAutoFocus(d=k){p(d),a()},get onEscapeKeydown(){return f()},set onEscapeKeydown(d=k){f(d),a()},get onInteractOutside(){return S()},set onInteractOutside(d=k){S(d),a()},get trapFocus(){return P()},set trapFocus(d=!0){P(d),a()},get preventScroll(){return F()},set preventScroll(d=!0){F(d),a()},get restoreScrollDelay(){return I()},set restoreScrollDelay(d=null){I(d),a()},$set:X,$on:(d,V)=>j(e,d,V)},we=A(),K=x(we);{var T=d=>{Ct(d,{get ref(){return t.opts.ref},loop:!0,get trapFocus(){return P()},get enabled(){return t.root.opts.open.current},get onOpenAutoFocus(){return p()},get onCloseAutoFocus(){return w()},focusScope:(nt,ot)=>{let Xe=()=>(ot?.()).props;Ot(nt,Ne(()=>c(h),{get enabled(){return t.root.opts.open.current},get ref(){return t.opts.ref},onEscapeKeydown:Se=>{f()(Se),!Se.defaultPrevented&&t.root.handleClose()},children:(Se,Lt)=>{Pt(Se,Ne(()=>c(h),{get ref(){return t.opts.ref},get enabled(){return t.root.opts.open.current},onInteractOutside:xe=>{S()(xe),!xe.defaultPrevented&&t.root.handleClose()},children:(xe,Yt)=>{_t(xe,Ne(()=>c(h),{get ref(){return t.opts.ref},get enabled(){return t.root.opts.open.current},children:(st,Zt)=>{var je=A(),it=x(je);{var at=J=>{var Z=Wt(),$=x(Z);{var ee=G=>{Ve(G,{get preventScroll(){return F()},get restoreScrollDelay(){return I()}})};z($,G=>{t.root.opts.open.current&&G(ee)})}var Ae=He($,2);{let G=N(()=>({props:B(c(h),Xe()),...t.snippetProps}));E(Ae,u,()=>c(G))}C(J,Z)},lt=J=>{var Z=Xt(),$=x(Z);Ve($,{get preventScroll(){return F()}});var ee=He($,2);Pe(ee,G=>({...G}),[()=>B(c(h),Xe())]);var Ae=Ce(ee);E(Ae,()=>g()??Q),Oe(ee),C(J,Z)};z(it,J=>{u()?J(at):J(lt,-1)})}C(st,je)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};z(K,d=>{(t.shouldRender||m())&&d(T)})}return C(n,we),H(D)}const tt=Symbol("overlay-open"),rt=Symbol("overlay-static"),Je={tier:"moderate",x:0,y:0,scale:1,opacity:0},Le={tier:"slow",x:0,y:8,scale:.97,opacity:0},qt={top:{x:0,y:"-100%"},right:{x:"100%",y:0},bottom:{x:0,y:"100%"},left:{x:"-100%",y:0}},dr={backdrop:{enter:Je,exit:Je},dialog:{enter:Le,exit:Le},sheet(n){const e={tier:"slow",scale:1,opacity:1,...qt[n]};return{enter:e,exit:e}}};function Ht(n){Ze(tt,n)}function cr(){const n=Ye(tt);if(!n)throw new Error("Dialog or Sheet Content must be nested inside its Root.");return n}function Qt(n){Ze(rt,n)}function ur(){return Ye(rt)??(()=>!1)}function hr(n){let e=M(ht(n()));return pt(()=>{if(n()){b(e,!0);return}if(!c(e))return;const r=window.setTimeout(()=>b(e,!1),xt(Nt.slow));return()=>window.clearTimeout(r)}),{get mounted(){return c(e)},finishExit(){n()||b(e,!1)}}}var Vt=new Set(["$$slots","$$events","$$legacy","open","staticPosition","children","onOpenChange"]);function Jt(n,e){if(new.target)return W({component:Jt,...n});q(e,!0);let r=i(e,"open",15,!1),s=i(e,"staticPosition",7,!1),g=i(e,"children",7),u=i(e,"onOpenChange",7),v=L(e,Vt);Ht(()=>r()),Qt(()=>s()),St(()=>{r(!1),u()?.(!1)});var m={get open(){return r()},set open(f=!1){r(f),a()},get staticPosition(){return s()},set staticPosition(f=!1){s(f),a()},get children(){return g()},set children(f){g(f),a()},get onOpenChange(){return u()},set onOpenChange(f){u(f),a()},$set:X,$on:(f,S)=>j(e,f,S)},w=A(),p=x(w);return wt(p,()=>et,(f,S)=>{S(f,Ne({get onOpenChange(){return u()}},()=>v,{get open(){return r()},set open(P){r(P)},children:(P,F)=>{var I=A(),o=x(I);E(o,()=>g()??Q),C(P,I)},$$slots:{default:!0}}))}),C(n,w),H(m)}export{Gt as D,Jt as O,jt as a,Bt as b,Mt as c,kt as d,hr as e,ur as f,dr as o,cr as u};
|
|
1
|
+
var dt=Object.defineProperty;var qe=n=>{throw TypeError(n)};var ct=(n,e,r)=>e in n?dt(n,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[e]=r;var y=(n,e,r)=>ct(n,typeof e!="symbol"?e+"":e,r),ut=(n,e,r)=>e.has(n)||qe("Cannot "+r);var l=(n,e,r)=>(ut(n,e,"read from private field"),r?r.call(n):e.get(n)),O=(n,e,r)=>e.has(n)?qe("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(n):e.set(n,r);import{t as W,bo as i,bw as X,b as j,bp as L,br as Ne}from"./C0QTy0Sy.js";import{bV as M,aD as c,bH as b,c9 as N,bo as be,bs as q,a7 as A,ay as x,W as C,bn as H,aA as a,a5 as Ce,bf as Q,bA as Oe,aB as Y,bS as He,aG as Ye,br as ht,ca as pt,bI as Ze}from"./3SdAC2_C.js";import{i as z}from"./bhKPSdq4.js";import{t as E}from"./CrD0jtXE.js";import{b as Pe}from"./7UPrdiE9.js";import{h as gt,a2 as Qe,av as _,a$ as Te,aU as ft,aF as vt,an as _e,ay as mt,aG as $e,aq as Ie,a6 as yt,l as bt,az as R,aQ as B,aS as k,I as Ct,n as Ot,j as Pt,ad as _t,a9 as Ve}from"./CttA-M7l.js";import{c as wt}from"./CUkDMZwP.js";import{s as St}from"./B2w13ngc.js";import{f as xt,k as Nt}from"./DLwWVKiF.js";const It=mt({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),U=new gt("Dialog.Root | AlertDialog.Root");var te,re,ne,oe,se,ie,ae,le,de,ce,ue;const Be=class Be{constructor(e,r){y(this,"opts");O(this,te,M(null));O(this,re,M(null));O(this,ne,M(null));O(this,oe,M(null));O(this,se,M(void 0));O(this,ie,M(void 0));O(this,ae,M(void 0));O(this,le,M(void 0));O(this,de,M(null));O(this,ce,M(0));y(this,"depth");y(this,"parent");y(this,"contentPresence");y(this,"overlayPresence");y(this,"getBitsAttr",e=>It.getAttr(e,this.opts.variant.current));O(this,ue,N(()=>({"data-state":vt(this.opts.open.current)})));this.opts=e,this.parent=r,this.depth=r?r.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new Qe({ref:_(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Qe({ref:_(()=>this.overlayNode),open:this.opts.open,enabled:!0}),Te(()=>this.opts.open.current,s=>{this.parent&&(s?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),ft(()=>{this.opts.open.current&&this.parent?.decrementNested()})}static create(e){const r=U.getOr(null);return U.set(new Be(e,r))}get triggerNode(){return c(l(this,te))}set triggerNode(e){b(l(this,te),e,!0)}get contentNode(){return c(l(this,re))}set contentNode(e){b(l(this,re),e,!0)}get overlayNode(){return c(l(this,ne))}set overlayNode(e){b(l(this,ne),e,!0)}get descriptionNode(){return c(l(this,oe))}set descriptionNode(e){b(l(this,oe),e,!0)}get contentId(){return c(l(this,se))}set contentId(e){b(l(this,se),e,!0)}get titleId(){return c(l(this,ie))}set titleId(e){b(l(this,ie),e,!0)}get triggerId(){return c(l(this,ae))}set triggerId(e){b(l(this,ae),e,!0)}get descriptionId(){return c(l(this,le))}set descriptionId(e){b(l(this,le),e,!0)}get cancelNode(){return c(l(this,de))}set cancelNode(e){b(l(this,de),e,!0)}get nestedOpenCount(){return c(l(this,ce))}set nestedOpenCount(e){b(l(this,ce),e,!0)}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){this.nestedOpenCount!==0&&(this.nestedOpenCount--,this.parent?.decrementNested())}get sharedProps(){return c(l(this,ue))}set sharedProps(e){b(l(this,ue),e)}};te=new WeakMap,re=new WeakMap,ne=new WeakMap,oe=new WeakMap,se=new WeakMap,ie=new WeakMap,ae=new WeakMap,le=new WeakMap,de=new WeakMap,ce=new WeakMap,ue=new WeakMap;let Fe=Be;var he;const Ke=class Ke{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,he,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr(this.opts.variant.current)]:"",onclick:this.onclick,onkeydown:this.onkeydown,disabled:this.opts.disabled.current?!0:void 0,tabindex:0,...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}static create(e){return new Ke(e,U.get())}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleClose()}onkeydown(e){this.opts.disabled.current||(e.key===yt||e.key===bt)&&(e.preventDefault(),this.root.handleClose())}get props(){return c(l(this,he))}set props(e){b(l(this,he),e)}};he=new WeakMap;let ke=Ke;var pe;const ze=class ze{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,pe,N(()=>({id:this.opts.id.current,role:"heading","aria-level":this.opts.level.current,[this.root.getBitsAttr("title")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.root.titleId=this.opts.id.current,this.attachment=_e(this.opts.ref),Te.pre(()=>this.opts.id.current,s=>{this.root.titleId=s})}static create(e){return new ze(e,U.get())}get props(){return c(l(this,pe))}set props(e){b(l(this,pe),e)}};pe=new WeakMap;let Ee=ze;var ge;const Ge=class Ge{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,ge,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr("description")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.root.descriptionId=this.opts.id.current,this.attachment=_e(this.opts.ref,s=>{this.root.descriptionNode=s}),Te.pre(()=>this.opts.id.current,s=>{this.root.descriptionId=s})}static create(e){return new Ge(e,U.get())}get props(){return c(l(this,ge))}set props(e){b(l(this,ge),e)}};ge=new WeakMap;let De=Ge;var fe,ve;const Ue=class Ue{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,fe,N(()=>({open:this.root.opts.open.current})));O(this,ve,N(()=>({id:this.opts.id.current,role:this.root.opts.variant.current==="alert-dialog"?"alertdialog":"dialog","aria-modal":"true","aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.getBitsAttr("content")]:"",style:{pointerEvents:"auto",outline:this.root.opts.variant.current==="alert-dialog"?"none":void 0,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount,contain:"layout style"},tabindex:this.root.opts.variant.current==="alert-dialog"?-1:void 0,"data-nested-open":Ie(this.root.nestedOpenCount>0),"data-nested":Ie(this.root.parent!==null),...$e(this.root.contentPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref,s=>{this.root.contentNode=s,this.root.contentId=s?.id})}static create(e){return new Ue(e,U.get())}get snippetProps(){return c(l(this,fe))}set snippetProps(e){b(l(this,fe),e)}get props(){return c(l(this,ve))}set props(e){b(l(this,ve),e)}get shouldRender(){return this.root.contentPresence.shouldRender}};fe=new WeakMap,ve=new WeakMap;let Me=Ue;var me,ye;const We=class We{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,me,N(()=>({open:this.root.opts.open.current})));O(this,ye,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr("overlay")]:"",style:{pointerEvents:"auto","--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount},"data-nested-open":Ie(this.root.nestedOpenCount>0),"data-nested":Ie(this.root.parent!==null),...$e(this.root.overlayPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref,s=>this.root.overlayNode=s)}static create(e){return new We(e,U.get())}get snippetProps(){return c(l(this,me))}set snippetProps(e){b(l(this,me),e)}get props(){return c(l(this,ye))}set props(e){b(l(this,ye),e)}get shouldRender(){return this.root.overlayPresence.shouldRender}};me=new WeakMap,ye=new WeakMap;let Re=We;var At=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","level"]),Ft=Y("<div><!></div>");function kt(n,e){const r=be();if(new.target)return W({component:kt,...n});q(e,!0);let s=i(e,"id",23,()=>R(r)),g=i(e,"ref",15,null),u=i(e,"child",7),v=i(e,"children",7),m=i(e,"level",7,2),w=L(e,At);const p=Ee.create({id:_(()=>s()),level:_(()=>m()),ref:_(()=>g(),t=>g(t))}),f=N(()=>B(w,p.props));var S={get id(){return s()},set id(t=R(r)){s(t),a()},get ref(){return g()},set ref(t=null){g(t),a()},get child(){return u()},set child(t){u(t),a()},get children(){return v()},set children(t){v(t),a()},get level(){return m()},set level(t=2){m(t),a()},$set:X,$on:(t,h)=>j(e,t,h)},P=A(),F=x(P);{var I=t=>{var h=A(),D=x(h);E(D,u,()=>({props:c(f)})),C(t,h)},o=t=>{var h=Ft();Pe(h,()=>({...c(f)}));var D=Ce(h);E(D,()=>v()??Q),Oe(h),C(t,h)};z(F,t=>{u()?t(I):t(o,-1)})}return C(n,P),H(S)}var Et=new Set(["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]),Dt=Y("<div><!></div>");function Mt(n,e){const r=be();if(new.target)return W({component:Mt,...n});q(e,!0);let s=i(e,"id",23,()=>R(r)),g=i(e,"forceMount",7,!1),u=i(e,"child",7),v=i(e,"children",7),m=i(e,"ref",15,null),w=L(e,Et);const p=Re.create({id:_(()=>s()),ref:_(()=>m(),o=>m(o))}),f=N(()=>B(w,p.props));var S={get id(){return s()},set id(o=R(r)){s(o),a()},get forceMount(){return g()},set forceMount(o=!1){g(o),a()},get child(){return u()},set child(o){u(o),a()},get children(){return v()},set children(o){v(o),a()},get ref(){return m()},set ref(o=null){m(o),a()},$set:X,$on:(o,t)=>j(e,o,t)},P=A(),F=x(P);{var I=o=>{var t=A(),h=x(t);{var D=K=>{var T=A(),d=x(T);{let V=N(()=>({props:B(c(f)),...p.snippetProps}));E(d,u,()=>c(V))}C(K,T)},we=K=>{var T=Dt();Pe(T,V=>({...V}),[()=>B(c(f))]);var d=Ce(T);E(d,()=>v()??Q,()=>p.snippetProps),Oe(T),C(K,T)};z(h,K=>{u()?K(D):K(we,-1)})}C(o,t)};z(F,o=>{(p.shouldRender||g())&&o(I)})}return C(n,P),H(S)}var Rt=new Set(["$$slots","$$events","$$legacy","id","children","child","ref"]),Tt=Y("<div><!></div>");function Bt(n,e){const r=be();if(new.target)return W({component:Bt,...n});q(e,!0);let s=i(e,"id",23,()=>R(r)),g=i(e,"children",7),u=i(e,"child",7),v=i(e,"ref",15,null),m=L(e,Rt);const w=De.create({id:_(()=>s()),ref:_(()=>v(),o=>v(o))}),p=N(()=>B(m,w.props));var f={get id(){return s()},set id(o=R(r)){s(o),a()},get children(){return g()},set children(o){g(o),a()},get child(){return u()},set child(o){u(o),a()},get ref(){return v()},set ref(o=null){v(o),a()},$set:X,$on:(o,t)=>j(e,o,t)},S=A(),P=x(S);{var F=o=>{var t=A(),h=x(t);E(h,u,()=>({props:c(p)})),C(o,t)},I=o=>{var t=Tt();Pe(t,()=>({...c(p)}));var h=Ce(t);E(h,()=>g()??Q),Oe(t),C(o,t)};z(P,o=>{u()?o(F):o(I,-1)})}return C(n,S),H(f)}function et(n,e){if(new.target)return W({component:et,...n});q(e,!0);let r=i(e,"open",15,!1),s=i(e,"onOpenChange",7,k),g=i(e,"onOpenChangeComplete",7,k),u=i(e,"children",7);Fe.create({variant:_(()=>"dialog"),open:_(()=>r(),p=>{r(p),s()(p)}),onOpenChangeComplete:_(()=>g())});var v={get open(){return r()},set open(p=!1){r(p),a()},get onOpenChange(){return s()},set onOpenChange(p=k){s(p),a()},get onOpenChangeComplete(){return g()},set onOpenChangeComplete(p=k){g(p),a()},get children(){return u()},set children(p){u(p),a()},$set:X,$on:(p,f)=>j(e,p,f)},m=A(),w=x(m);return E(w,()=>u()??Q),C(n,m),H(v)}var Kt=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]),zt=Y("<button><!></button>");function Gt(n,e){const r=be();if(new.target)return W({component:Gt,...n});q(e,!0);let s=i(e,"children",7),g=i(e,"child",7),u=i(e,"id",23,()=>R(r)),v=i(e,"ref",15,null),m=i(e,"disabled",7,!1),w=L(e,Kt);const p=ke.create({variant:_(()=>"close"),id:_(()=>u()),ref:_(()=>v(),t=>v(t)),disabled:_(()=>!!m())}),f=N(()=>B(w,p.props));var S={get children(){return s()},set children(t){s(t),a()},get child(){return g()},set child(t){g(t),a()},get id(){return u()},set id(t=R(r)){u(t),a()},get ref(){return v()},set ref(t=null){v(t),a()},get disabled(){return m()},set disabled(t=!1){m(t),a()},$set:X,$on:(t,h)=>j(e,t,h)},P=A(),F=x(P);{var I=t=>{var h=A(),D=x(h);E(D,g,()=>({props:c(f)})),C(t,h)},o=t=>{var h=zt();Pe(h,()=>({...c(f)}));var D=Ce(h);E(D,()=>s()??Q),Oe(h),C(t,h)};z(F,t=>{g()?t(I):t(o,-1)})}return C(n,P),H(S)}var Ut=new Set(["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]),Wt=Y("<!> <!>",1),Xt=Y("<!> <div><!></div>",1);function jt(n,e){const r=be();if(new.target)return W({component:jt,...n});q(e,!0);let s=i(e,"id",23,()=>R(r)),g=i(e,"children",7),u=i(e,"child",7),v=i(e,"ref",15,null),m=i(e,"forceMount",7,!1),w=i(e,"onCloseAutoFocus",7,k),p=i(e,"onOpenAutoFocus",7,k),f=i(e,"onEscapeKeydown",7,k),S=i(e,"onInteractOutside",7,k),P=i(e,"trapFocus",7,!0),F=i(e,"preventScroll",7,!0),I=i(e,"restoreScrollDelay",7,null),o=L(e,Ut);const t=Me.create({id:_(()=>s()),ref:_(()=>v(),d=>v(d))}),h=N(()=>B(o,t.props));var D={get id(){return s()},set id(d=R(r)){s(d),a()},get children(){return g()},set children(d){g(d),a()},get child(){return u()},set child(d){u(d),a()},get ref(){return v()},set ref(d=null){v(d),a()},get forceMount(){return m()},set forceMount(d=!1){m(d),a()},get onCloseAutoFocus(){return w()},set onCloseAutoFocus(d=k){w(d),a()},get onOpenAutoFocus(){return p()},set onOpenAutoFocus(d=k){p(d),a()},get onEscapeKeydown(){return f()},set onEscapeKeydown(d=k){f(d),a()},get onInteractOutside(){return S()},set onInteractOutside(d=k){S(d),a()},get trapFocus(){return P()},set trapFocus(d=!0){P(d),a()},get preventScroll(){return F()},set preventScroll(d=!0){F(d),a()},get restoreScrollDelay(){return I()},set restoreScrollDelay(d=null){I(d),a()},$set:X,$on:(d,V)=>j(e,d,V)},we=A(),K=x(we);{var T=d=>{Ct(d,{get ref(){return t.opts.ref},loop:!0,get trapFocus(){return P()},get enabled(){return t.root.opts.open.current},get onOpenAutoFocus(){return p()},get onCloseAutoFocus(){return w()},focusScope:(nt,ot)=>{let Xe=()=>(ot?.()).props;Ot(nt,Ne(()=>c(h),{get enabled(){return t.root.opts.open.current},get ref(){return t.opts.ref},onEscapeKeydown:Se=>{f()(Se),!Se.defaultPrevented&&t.root.handleClose()},children:(Se,Lt)=>{Pt(Se,Ne(()=>c(h),{get ref(){return t.opts.ref},get enabled(){return t.root.opts.open.current},onInteractOutside:xe=>{S()(xe),!xe.defaultPrevented&&t.root.handleClose()},children:(xe,Yt)=>{_t(xe,Ne(()=>c(h),{get ref(){return t.opts.ref},get enabled(){return t.root.opts.open.current},children:(st,Zt)=>{var je=A(),it=x(je);{var at=J=>{var Z=Wt(),$=x(Z);{var ee=G=>{Ve(G,{get preventScroll(){return F()},get restoreScrollDelay(){return I()}})};z($,G=>{t.root.opts.open.current&&G(ee)})}var Ae=He($,2);{let G=N(()=>({props:B(c(h),Xe()),...t.snippetProps}));E(Ae,u,()=>c(G))}C(J,Z)},lt=J=>{var Z=Xt(),$=x(Z);Ve($,{get preventScroll(){return F()}});var ee=He($,2);Pe(ee,G=>({...G}),[()=>B(c(h),Xe())]);var Ae=Ce(ee);E(Ae,()=>g()??Q),Oe(ee),C(J,Z)};z(it,J=>{u()?J(at):J(lt,-1)})}C(st,je)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};z(K,d=>{(t.shouldRender||m())&&d(T)})}return C(n,we),H(D)}const tt=Symbol("overlay-open"),rt=Symbol("overlay-static"),Je={tier:"moderate",x:0,y:0,scale:1,opacity:0},Le={tier:"slow",x:0,y:8,scale:.97,opacity:0},qt={top:{x:0,y:"-100%"},right:{x:"100%",y:0},bottom:{x:0,y:"100%"},left:{x:"-100%",y:0}},dr={backdrop:{enter:Je,exit:Je},dialog:{enter:Le,exit:Le},sheet(n){const e={tier:"slow",scale:1,opacity:1,...qt[n]};return{enter:e,exit:e}}};function Ht(n){Ze(tt,n)}function cr(){const n=Ye(tt);if(!n)throw new Error("Dialog or Sheet Content must be nested inside its Root.");return n}function Qt(n){Ze(rt,n)}function ur(){return Ye(rt)??(()=>!1)}function hr(n){let e=M(ht(n()));return pt(()=>{if(n()){b(e,!0);return}if(!c(e))return;const r=window.setTimeout(()=>b(e,!1),xt(Nt.slow));return()=>window.clearTimeout(r)}),{get mounted(){return c(e)},finishExit(){n()||b(e,!1)}}}var Vt=new Set(["$$slots","$$events","$$legacy","open","staticPosition","children","onOpenChange"]);function Jt(n,e){if(new.target)return W({component:Jt,...n});q(e,!0);let r=i(e,"open",15,!1),s=i(e,"staticPosition",7,!1),g=i(e,"children",7),u=i(e,"onOpenChange",7),v=L(e,Vt);Ht(()=>r()),Qt(()=>s()),St(()=>{r(!1),u()?.(!1)});var m={get open(){return r()},set open(f=!1){r(f),a()},get staticPosition(){return s()},set staticPosition(f=!1){s(f),a()},get children(){return g()},set children(f){g(f),a()},get onOpenChange(){return u()},set onOpenChange(f){u(f),a()},$set:X,$on:(f,S)=>j(e,f,S)},w=A(),p=x(w);return wt(p,()=>et,(f,S)=>{S(f,Ne({get onOpenChange(){return u()}},()=>v,{get open(){return r()},set open(P){r(P)},children:(P,F)=>{var I=A(),o=x(I);E(o,()=>g()??Q),C(P,I)},$$slots:{default:!0}}))}),C(n,w),H(m)}export{Gt as D,Jt as O,jt as a,Bt as b,Mt as c,kt as d,hr as e,ur as f,dr as o,cr as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Oe=Object.defineProperty;var ve=t=>{throw TypeError(t)};var Be=(t,e,s)=>e in t?Oe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var O=(t,e,s)=>Be(t,typeof e!="symbol"?e+"":e,s),ye=(t,e,s)=>e.has(t)||ve("Cannot "+s);var l=(t,e,s)=>(ye(t,e,"read from private field"),s?s.call(t):e.get(t)),v=(t,e,s)=>e.has(t)?ve("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s);var Y=(t,e,s)=>(ye(t,e,"access private method"),s);import{t as oe,bw as ue,b as de,br as De,bo as i,bp as Re}from"./C0QTy0Sy.js";import{ao as N,aZ as He,aL as Je,bh as je,c9 as m,aD as b,bH as w,bs as ce,a7 as le,ay as ee,W as R,bn as he,bo as Ge,bS as Ve,aA as o,a5 as Se,bf as We,bA as Pe,aB as Le,b_ as Qe,aC as fe}from"./3SdAC2_C.js";import{i as ge}from"./bhKPSdq4.js";import{c as Ue}from"./CUkDMZwP.js";import{b as Ze,f as Fe,e as Ke}from"./7UPrdiE9.js";/* empty css */import{t as Ce}from"./CrD0jtXE.js";import{h as Ie,an as Xe,a$ as se,l as Ye,a6 as $e,aq as _e,ar as we,aD as et,aM as tt,ay as rt,az as xe,av as C,aQ as nt}from"./
|
|
1
|
+
var Oe=Object.defineProperty;var ve=t=>{throw TypeError(t)};var Be=(t,e,s)=>e in t?Oe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var O=(t,e,s)=>Be(t,typeof e!="symbol"?e+"":e,s),ye=(t,e,s)=>e.has(t)||ve("Cannot "+s);var l=(t,e,s)=>(ye(t,e,"read from private field"),s?s.call(t):e.get(t)),v=(t,e,s)=>e.has(t)?ve("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s);var Y=(t,e,s)=>(ye(t,e,"access private method"),s);import{t as oe,bw as ue,b as de,br as De,bo as i,bp as Re}from"./C0QTy0Sy.js";import{ao as N,aZ as He,aL as Je,bh as je,c9 as m,aD as b,bH as w,bs as ce,a7 as le,ay as ee,W as R,bn as he,bo as Ge,bS as Ve,aA as o,a5 as Se,bf as We,bA as Pe,aB as Le,b_ as Qe,aC as fe}from"./3SdAC2_C.js";import{i as ge}from"./bhKPSdq4.js";import{c as Ue}from"./CUkDMZwP.js";import{b as Ze,f as Fe,e as Ke}from"./7UPrdiE9.js";/* empty css */import{t as Ce}from"./CrD0jtXE.js";import{h as Ie,an as Xe,a$ as se,l as Ye,a6 as $e,aq as _e,ar as we,aD as et,aM as tt,ay as rt,az as xe,av as C,aQ as nt}from"./CttA-M7l.js";import"./DU3vNstz.js";import{i as st}from"./BjLb7AHW.js";import{H as at}from"./T-y84UQ-.js";var it="font-weight: bold",ot="font-weight: normal";function qe(t){N?console.warn(`%c[svelte] state_snapshot_uncloneable
|
|
2
2
|
%c${t?`The following properties cannot be cloned with \`$state.snapshot\` — the return value contains the originals:
|
|
3
3
|
|
|
4
4
|
${t}`:"Value cannot be cloned with `$state.snapshot` — the original value was returned"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as J,bo as g,bw as Q,b as T,bm as D}from"./C0QTy0Sy.js";import{bs as U,b_ as V,W as m,bn as X,aA as b,aC as ae,a7 as B,ay as F,aD as t,a5 as Z,bS as $,bH as h,bA as E,be as ie,b$ as se,bO as G,c9 as f,aB as H,bV as j,bl as ee,bk as oe}from"./3SdAC2_C.js";import{s as le,f as ue,c as ce}from"./7UPrdiE9.js";import{i as P}from"./bhKPSdq4.js";import{k as fe}from"./-K3ARgq0.js";import{g as me,i as de}from"./B6S6VNu7.js";import{I as pe}from"./
|
|
1
|
+
import{t as J,bo as g,bw as Q,b as T,bm as D}from"./C0QTy0Sy.js";import{bs as U,b_ as V,W as m,bn as X,aA as b,aC as ae,a7 as B,ay as F,aD as t,a5 as Z,bS as $,bH as h,bA as E,be as ie,b$ as se,bO as G,c9 as f,aB as H,bV as j,bl as ee,bk as oe}from"./3SdAC2_C.js";import{s as le,f as ue,c as ce}from"./7UPrdiE9.js";import{i as P}from"./bhKPSdq4.js";import{k as fe}from"./-K3ARgq0.js";import{g as me,i as de}from"./B6S6VNu7.js";import{I as pe}from"./B2w13ngc.js";import"./A9niI_uA.js";import{L as ge}from"./CQwOMyxz.js";import"./CJ4Z96pe.js";import{D as be}from"./SB0XkB7s.js";import{b as te}from"./B-4NNXpn.js";import{P as ve,K as O}from"./90dwRRI_.js";var _e=ae('<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M12 15.82L12 23.76M4.44 21L8.35 16.35A1.96 1.96 0 0 0 6.4 12.99L0.42 14.04M1.82 6.12L7.08 9.16A1.96 1.96 0 0 0 10.06 6.66L7.98 0.95M16.02 0.95L13.94 6.66A1.96 1.96 0 0 0 16.92 9.16L22.18 6.12M23.58 14.04L17.6 12.99A1.96 1.96 0 0 0 15.65 16.35L19.56 21" stroke="currentColor" stroke-width="2.06" stroke-linecap="butt" stroke-linejoin="round"></path></svg>');function Ce(p,i){if(new.target)return J({component:Ce,...p});U(i,!0);let s=g(i,"width",7,24),e=g(i,"class",7,"");var a={get width(){return s()},set width(o=24){s(o),b()},get class(){return e()},set class(o=""){e(o),b()},$set:Q,$on:(o,u)=>T(i,o,u)},l=_e();return V(()=>{le(l,"width",s()),ue(l,0,ce(e()))}),m(p,l),X(a)}var he=H('<span class="min-w-0 shrink truncate text-subtle"> </span>'),we=H('<li class="flex min-w-0 items-baseline justify-between gap-3"><span class="min-w-0 truncate"> </span> <!></li>'),Le=H('<ul class="grid gap-1.5"></ul>'),ye=H('<div class="grid gap-2"><!> <!></div>');function re(p,i){if(new.target)return J({component:re,...p});U(i,!0);const s=r=>{var c=B(),x=F(c);{var A=_=>{var R=Le();me(R,21,()=>e().options.items??[],de,(q,w)=>{var M=we(),I=Z(M),C=ee(I,!0),S=$(I,2);{var L=y=>{var Y=he(),ne=ee(Y,!0);V(()=>G(ne,t(w).detail)),m(y,Y)};P(S,y=>{t(w).detail&&y(L)})}E(M),V(()=>G(C,t(w).label)),m(q,M)}),E(R),m(_,R)};P(x,_=>{e().kind==="confirm"&&_(A)})}m(r,c)};let e=g(i,"request",7),a=g(i,"value",15,""),l=g(i,"busy",7,!1),o=g(i,"static",7,!1),u=g(i,"onAccept",7),v=g(i,"onCancel",7),k=j(null);var K={get request(){return e()},set request(r){e(r),b()},get value(){return a()},set value(r=""){a(r),b()},get busy(){return l()},set busy(r=!1){l(r),b()},get static(){return o()},set static(r=!1){o(r),b()},get onAccept(){return u()},set onAccept(r){u(r),b()},get onCancel(){return v()},set onCancel(r){v(r),b()},$set:Q,$on:(r,c)=>T(i,r,c)},n=B(),d=F(n);{var N=r=>{{let c=f(()=>e().options.confirmLabel??D.modals_bulkActionConfirm_confirm_label()),x=f(()=>e().options.cancelLabel??D.modals_bulkActionConfirm_cancel_label()),A=f(()=>e().options.destructive??!1),_=f(()=>e().options.items?.length?s:void 0);be(r,{open:!0,get static(){return o()},get title(){return e().options.title},get description(){return e().options.description},get confirmLabel(){return t(c)},get cancelLabel(){return t(x)},get destructive(){return t(A)},get details(){return t(_)},get busy(){return l()},onConfirm:()=>u()(a()),get onCancel(){return v()}})}},W=r=>{{let c=f(()=>e().options.confirmLabel??D.modals_input_confirm_label()),x=f(()=>e().options.cancelLabel??D.modals_input_cancel_label()),A=f(()=>!e().options.field.required||a().trim().length>0);te(r,{open:!0,get static(){return o()},get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return t(c)},get cancelLabel(){return t(x)},get canSubmit(){return t(A)},get busy(){return l()},get initialFocus(){return t(k)},onSubmit:()=>u()(a()),get onCancel(){return v()},children:(_,R)=>{var q=ye(),w=Z(q);{var M=C=>{ge(C,{for:"confirm-prompt-field",children:(S,L)=>{ie();var y=se();V(()=>G(y,e().options.field.label)),m(S,y)},$$slots:{default:!0}})};P(w,C=>{e().options.field.label&&C(M)})}var I=$(w,2);{let C=f(()=>e().options.field.type??"text"),S=f(()=>e().options.field.label?void 0:e().options.title);pe(I,{id:"confirm-prompt-field",get type(){return t(C)},get placeholder(){return e().options.field.placeholder},get"aria-label"(){return t(S)},get ref(){return t(k)},set ref(L){h(k,L,!0)},get value(){return a()},set value(L){a(L)}})}E(q),m(_,q)},$$slots:{default:!0}})}},z=r=>{{let c=f(()=>e().options.confirmLabel??D.modals_input_confirm_label());te(r,{open:!0,get static(){return o()},role:"alertdialog",get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return t(c)},showCancel:!1,dismissOnInteractOutside:!1,get busy(){return l()},onSubmit:()=>u()(a()),onCancel:()=>u()(a())})}};P(d,r=>{e()?.kind==="confirm"?r(N):e()?.kind==="prompt"?r(W,1):e()?.kind==="alert"&&r(z,2)})}return m(p,n),X(K)}function ke(p,i){if(new.target)return J({component:ke,...p});U(i,!0);let s=j(null),e=j(""),a=j(!1);oe(()=>ve(n=>{h(s,n,!0),h(e,n?.kind==="prompt"?n.options.field.initialValue??"":"",!0),h(a,!1)}));function l(){!t(s)||t(a)||O(t(s).id,t(s).kind==="confirm"?!1:null)}async function o(){if(!t(s)||t(a))return;const n=t(s);h(a,!0);try{n.kind==="confirm"?(await n.options.onConfirm?.(),O(n.id,!0)):n.kind==="prompt"?(await n.options.onConfirm?.(t(e).trim()),O(n.id,t(e).trim())):O(n.id,void 0)}catch(d){throw console.error("Confirm action failed:",d),h(a,!1),d}}var u={$set:Q,$on:(n,d)=>T(i,n,d)},v=B(),k=F(v);{var K=n=>{var d=B(),N=F(d);fe(N,()=>t(s).id,W=>{re(W,{get request(){return t(s)},get busy(){return t(a)},onAccept:o,onCancel:l,get value(){return t(e)},set value(z){h(e,z,!0)}})}),m(n,d)};P(k,n=>{t(s)&&n(K)})}return m(p,v),X(u)}export{ke as C,Ce as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as l,v as h,t as k}from"./Dms_DO28.js";import{Jv as s,vL as w}from"./
|
|
1
|
+
import{d as l,v as h,t as k}from"./Dms_DO28.js";import{Jv as s,vL as w}from"./_LtUY0jS.js";import{i as W,d as E,e as c,n as i,b as m}from"./CeGEVvKd.js";const A=new Set(["new","creating"]);function g(n){let t;try{t=decodeURIComponent(n)}catch{return null}return t.length===0||A.has(t)?null:t}function f(n){const t=/^\/workspace\/([^/?#]+)\/?(?:[?#].*)?$/.exec(n);return t?g(t[1]):null}function I(n){const t=/^\/workspace\/([^/?#]+)(?:[/?#].*)?$/.exec(n);return t?g(t[1]):null}function L(n,t){return t.length>0&&I(n)===t}function p(){return typeof window>"u"?null:window.location?.pathname??null}function d(n,t){const e=`/workspace/${encodeURIComponent(n)}`,a=t?new URLSearchParams(t).toString():"";return a?`${e}?${a}`:e}function R(n,t){const e=t?.presenceFollowRequestId;return e?w(n,e):w(n)}function P(n,t){return t?i(n,{state:t}):i(n)}function o(n){return n?.tabState?.currentTabId??null}async function S(n,t,e,a){m();const u=P(t,e),r={workspaceId:n,epoch:c(),startTabId:a};return await u,r}function b(n){return!n||W()||E()}function v(n,t){if(c()!==n.epoch||t!==n.startTabId&&t!==n.workspaceId)return!1;const e=p();return e===null||f(e)===n.workspaceId}async function y(n,t,e){if(b(n))return!1;const a=await S(n,t,e,o(s.state));return v(a,o(s.state))?(s.dispatch(R(n,e)),!0):!1}function*T(n,t,e){if(b(n))return!1;const a=o(yield*h(r=>r)),u=yield*l(S,n,t,e,a);return v(u,o(yield*h(r=>r)))?(yield*k(R(n,e)),!0):!1}function _(){m();const n=c(),t=o(s.state),e=p();return()=>c()===n&&o(s.state)===t&&p()===e}function O(n,t={}){return y(n,d(n,t.query),t.state)}function $(n,t={}){return T(n,d(n,t.query),t.state)}async function j(n){const t=f(n);t?await y(t,n,void 0):await i(n)}function*q(n){const t=f(n);t?yield*l(T,t,n,void 0):yield*l(i,n)}const N=Object.freeze(Object.defineProperty({__proto__:null,claimNavigation:_,navigateToAppRoute:j,navigateToAppRouteSaga:q,openAndShowWorkspace:O,showWorkspaceSaga:$,workspaceRoute:d},Symbol.toStringTag,{value:"Module"}));export{p as a,q as b,_ as c,$ as d,d as e,L as i,j as n,O as o,f as p,N as s,I as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as o}from"./
|
|
1
|
+
import{b as o}from"./CjJvlfCr.js";var c=1;function i(){if(!(typeof globalThis>"u"))return globalThis}o(i,"getCaptureGlobal");function p(){return!!i()?.mermaidCaptureSizes}o(p,"shouldCaptureSizes");function u(){return typeof location>"u"?"browser-dev":`${location.pathname}${location.search}`}o(u,"capturedFromLocation");function d(n,r){const t=i();if(!t)return;const e=r.node(),s=((e&&"ownerSVGElement"in e?e.ownerSVGElement:null)??e)?.id??"(unknown)";t.mermaidCapturedSizes??=[];const a={svgId:s,sizes:n};t.mermaidCapturedSizes.push(a),t.mermaidLastCapturedSizes=a}o(d,"emitCapturedSizes");function m(n,r){const t=[];for(const e of r.nodes)e.isGroup||t.push({id:e.id,width:e.width??0,height:e.height??0});t.length!==0&&d({metadata:{captureVersion:c,capturedAt:new Date().toISOString(),capturedFrom:u()},nodes:t},n)}o(m,"captureNodeSizes");export{m as captureNodeSizes,p as shouldCaptureSizes};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var Ze=Object.defineProperty;var Le=o=>{throw TypeError(o)};var $e=(o,e,r)=>e in o?Ze(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r;var E=(o,e,r)=>$e(o,typeof e!="symbol"?e+"":e,r),Pe=(o,e,r)=>e.has(o)||Le("Cannot "+r);var l=(o,e,r)=>(Pe(o,e,"read from private field"),r?r.call(o):e.get(o)),P=(o,e,r)=>e.has(o)?Le("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(o):e.set(o,r),Se=(o,e,r,s)=>(Pe(o,e,"write to private field"),s?s.call(o,r):e.set(o,r),r),Ae=(o,e,r)=>(Pe(o,e,"access private method"),r);import{t as le,bo as n,bw as ce,b as de,bp as ye,br as we}from"./C0QTy0Sy.js";import{c9 as _,aD as u,bH as G,ca as fe,bV as q,bo as Re,bs as ge,a7 as B,ay as F,W as I,bn as he,aA as a,a5 as Ke,bf as Z,bA as Ne,aB as Ge,br as et,c5 as O,bI as tt,bS as Ee,aG as rt}from"./3SdAC2_C.js";import{i as Q}from"./bhKPSdq4.js";import{t as H}from"./CrD0jtXE.js";import{b as st}from"./No1eCFy3.js";import{c as Ie}from"./CUkDMZwP.js";import{b as Oe,e as ke}from"./7UPrdiE9.js";import{P as De}from"./QeBH-DWE.js";import{g as nt}from"./BAKPnd3w.js";import{_ as je}from"./DCRuihKm.js";import{h as at,aD as it,ar as ot,an as He,l as ut,a6 as lt,at as ct,aq as Ue,ay as dt,a3 as gt,az as ve,aS as Be,a$ as ht,av as D,aQ as We}from"./FzlZUztb.js";const ze=dt({component:"toggle-group",parts:["root","item"]}),qe=new at("ToggleGroup.Root");var $;class Qe{constructor(e){E(this,"opts");E(this,"rovingFocusGroup");E(this,"attachment");P(this,$,_(()=>({id:this.opts.id.current,[ze.root]:"",role:"group","data-orientation":this.opts.orientation.current,"data-disabled":Ue(this.opts.disabled.current),...this.attachment})));this.opts=e,this.attachment=He(this.opts.ref),this.rovingFocusGroup=new gt({candidateAttr:ze.item,rootNode:e.ref,loop:e.loop,orientation:e.orientation})}get props(){return u(l(this,$))}set props(e){G(l(this,$),e)}}$=new WeakMap;var ee;class ft extends Qe{constructor(r){super(r);E(this,"opts");E(this,"isMulti",!1);P(this,ee,_(()=>this.opts.value.current!==""));this.opts=r}get anyPressed(){return u(l(this,ee))}set anyPressed(r){G(l(this,ee),r)}includesItem(r){return this.opts.value.current===r}toggleItem(r,s){this.includesItem(r)?this.opts.value.current="":(this.opts.value.current=r,this.rovingFocusGroup.setCurrentTabStopId(s))}}ee=new WeakMap;var te;class vt extends Qe{constructor(r){super(r);E(this,"opts");E(this,"isMulti",!0);P(this,te,_(()=>this.opts.value.current.length>0));this.opts=r}get anyPressed(){return u(l(this,te))}set anyPressed(r){G(l(this,te),r)}includesItem(r){return this.opts.value.current.includes(r)}toggleItem(r,s){this.includesItem(r)?this.opts.value.current=this.opts.value.current.filter(d=>d!==r):(this.opts.value.current=[...this.opts.value.current,r],this.rovingFocusGroup.setCurrentTabStopId(s))}}te=new WeakMap;class mt{static create(e){const{type:r,...s}=e,d=r==="single"?new ft(s):new vt(s);return qe.set(d)}}var j,re,me,be,pe,Xe,X,se,ne;const Fe=class Fe{constructor(e,r){P(this,pe);E(this,"opts");E(this,"root");E(this,"attachment");P(this,j,_(()=>this.opts.disabled.current||this.root.opts.disabled.current));P(this,re,_(()=>this.root.includesItem(this.opts.value.current)));P(this,me,_(()=>this.root.isMulti?void 0:it(this.isPressed,!1)));P(this,be,_(()=>this.root.isMulti?ot(this.isPressed):void 0));P(this,X,q(0));P(this,se,_(()=>({pressed:this.isPressed})));P(this,ne,_(()=>({id:this.opts.id.current,role:this.root.isMulti?void 0:"radio",tabindex:u(l(this,X)),"data-orientation":this.root.opts.orientation.current,"data-disabled":Ue(u(l(this,j))),"data-state":bt(this.isPressed),"data-value":this.opts.value.current,"aria-pressed":u(l(this,be)),"aria-checked":u(l(this,me)),disabled:ct(u(l(this,j))),[ze.item]:"",onclick:this.onclick,onkeydown:this.onkeydown,...this.attachment})));this.opts=e,this.root=r,this.attachment=He(this.opts.ref),fe(()=>{this.root.opts.rovingFocus.current?G(l(this,X),this.root.rovingFocusGroup.getTabIndex(this.opts.ref.current),!0):G(l(this,X),0)}),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}static create(e){return new Fe(e,qe.get())}get isPressed(){return u(l(this,re))}set isPressed(e){G(l(this,re),e)}onclick(e){u(l(this,j))||this.root.toggleItem(this.opts.value.current,this.opts.id.current)}onkeydown(e){if(!u(l(this,j))){if(e.key===ut||e.key===lt){e.preventDefault(),Ae(this,pe,Xe).call(this);return}this.root.opts.rovingFocus.current&&this.root.rovingFocusGroup.handleKeydown(this.opts.ref.current,e)}}get snippetProps(){return u(l(this,se))}set snippetProps(e){G(l(this,se),e)}get props(){return u(l(this,ne))}set props(e){G(l(this,ne),e)}};j=new WeakMap,re=new WeakMap,me=new WeakMap,be=new WeakMap,pe=new WeakSet,Xe=function(){u(l(this,j))||this.root.toggleItem(this.opts.value.current,this.opts.id.current)},X=new WeakMap,se=new WeakMap,ne=new WeakMap;let Te=Fe;function bt(o){return o?"on":"off"}var pt=new Set(["$$slots","$$events","$$legacy","id","ref","value","onValueChange","type","disabled","loop","orientation","rovingFocus","child","children"]),yt=Ge("<div><!></div>");function Ve(o,e){const r=Re();if(new.target)return le({component:Ve,...o});ge(e,!0);let s=n(e,"id",23,()=>ve(r)),d=n(e,"ref",15,null),g=n(e,"value",15),h=n(e,"onValueChange",7,Be),m=n(e,"type",7),b=n(e,"disabled",7,!1),p=n(e,"loop",7,!0),C=n(e,"orientation",7,"horizontal"),y=n(e,"rovingFocus",7,!0),S=n(e,"child",7),f=n(e,"children",7),v=ye(e,pt);function k(){g()===void 0&&g(m()==="single"?"":[])}k(),ht.pre(()=>g(),()=>{k()});const A=mt.create({id:D(()=>s()),value:D(()=>g(),i=>{g(i),h()(i)}),disabled:D(()=>b()),loop:D(()=>p()),orientation:D(()=>C()),rovingFocus:D(()=>y()),type:m(),ref:D(()=>d(),i=>d(i))}),L=_(()=>We(v,A.props));var c={get id(){return s()},set id(i=ve(r)){s(i),a()},get ref(){return d()},set ref(i=null){d(i),a()},get value(){return g()},set value(i){g(i),a()},get onValueChange(){return h()},set onValueChange(i=Be){h(i),a()},get type(){return m()},set type(i){m(i),a()},get disabled(){return b()},set disabled(i=!1){b(i),a()},get loop(){return p()},set loop(i=!0){p(i),a()},get orientation(){return C()},set orientation(i="horizontal"){C(i),a()},get rovingFocus(){return y()},set rovingFocus(i=!0){y(i),a()},get child(){return S()},set child(i){S(i),a()},get children(){return f()},set children(i){f(i),a()},$set:ce,$on:(i,w)=>de(e,i,w)},x=B(),z=F(x);{var R=i=>{var w=B(),T=F(w);H(T,S,()=>({props:u(L)})),I(i,w)},t=i=>{var w=yt();Oe(w,()=>({...u(L)}));var T=Ke(w);H(T,()=>f()??Z),Ne(w),I(i,w)};Q(z,i=>{S()?i(R):i(t,-1)})}return I(o,x),he(c)}var xt=new Set(["$$slots","$$events","$$legacy","children","child","ref","value","disabled","id","type"]),_t=Ge("<button><!></button>");function Je(o,e){const r=Re();if(new.target)return le({component:Je,...o});ge(e,!0);let s=n(e,"children",7),d=n(e,"child",7),g=n(e,"ref",15,null),h=n(e,"value",7),m=n(e,"disabled",7,!1),b=n(e,"id",23,()=>ve(r)),p=n(e,"type",7,"button"),C=ye(e,xt);const y=Te.create({id:D(()=>b()),value:D(()=>h()),disabled:D(()=>m()??!1),ref:D(()=>g(),c=>g(c))}),S=_(()=>We(C,y.props,{type:p()}));var f={get children(){return s()},set children(c){s(c),a()},get child(){return d()},set child(c){d(c),a()},get ref(){return g()},set ref(c=null){g(c),a()},get value(){return h()},set value(c){h(c),a()},get disabled(){return m()},set disabled(c=!1){m(c),a()},get id(){return b()},set id(c=ve(r)){b(c),a()},get type(){return p()},set type(c="button"){p(c),a()},$set:ce,$on:(c,x)=>de(e,c,x)},v=B(),k=F(v);{var A=c=>{var x=B(),z=F(x);{let R=_(()=>({props:u(S),...y.snippetProps}));H(z,d,()=>u(R))}I(c,x)},L=c=>{var x=_t();Oe(x,()=>({...u(S)}));var z=Ke(x);H(z,()=>s()??Z,()=>y.snippetProps),Ne(x),I(c,x)};Q(k,c=>{d()?c(A):c(L,-1)})}return I(o,v),he(f)}function Ct(o,e){if(new.target)return le({component:Ct,...o});ge(e,!0);let r=n(e,"open",15,!1),s=n(e,"static",7,!1),d=n(e,"title",7),g=n(e,"description",7),h=n(e,"confirmLabel",7),m=n(e,"cancelLabel",7),b=n(e,"details",7),p=n(e,"busy",7,!1),C=n(e,"submitBusy",7,!1),y=n(e,"canSubmit",7,!0),S=n(e,"focusSubmit",7,!0),f=n(e,"focusCancel",7,!1),v=n(e,"enterKey",7,"submit"),k=n(e,"modEnter",7,"submit"),A=n(e,"destructive",7,!0),L=n(e,"class",7),c=n(e,"closeLabel",7),x=n(e,"onConfirm",7),z=n(e,"onCancel",7);var R={get open(){return r()},set open(t=!1){r(t),a()},get static(){return s()},set static(t=!1){s(t),a()},get title(){return d()},set title(t){d(t),a()},get description(){return g()},set description(t){g(t),a()},get confirmLabel(){return h()},set confirmLabel(t){h(t),a()},get cancelLabel(){return m()},set cancelLabel(t){m(t),a()},get details(){return b()},set details(t){b(t),a()},get busy(){return p()},set busy(t=!1){p(t),a()},get submitBusy(){return C()},set submitBusy(t=!1){C(t),a()},get canSubmit(){return y()},set canSubmit(t=!0){y(t),a()},get focusSubmit(){return S()},set focusSubmit(t=!0){S(t),a()},get focusCancel(){return f()},set focusCancel(t=!1){f(t),a()},get enterKey(){return v()},set enterKey(t="submit"){v(t),a()},get modEnter(){return k()},set modEnter(t="submit"){k(t),a()},get destructive(){return A()},set destructive(t=!0){A(t),a()},get class(){return L()},set class(t){L(t),a()},get closeLabel(){return c()},set closeLabel(t){c(t),a()},get onConfirm(){return x()},set onConfirm(t){x(t),a()},get onCancel(){return z()},set onCancel(t){z(t),a()},$set:ce,$on:(t,i)=>de(e,t,i)};{let t=_(()=>A()?"destructive":"default");st(o,{get static(){return s()},get title(){return d()},get description(){return g()},get submitLabel(){return h()},get cancelLabel(){return m()},get submitVariant(){return u(t)},get busy(){return p()},get submitBusy(){return C()},get canSubmit(){return y()},get focusSubmit(){return S()},get focusCancel(){return f()},get enterKey(){return v()},get modEnter(){return k()},get class(){return L()},get closeLabel(){return c()},get onSubmit(){return x()},get onCancel(){return z()},get open(){return r()},set open(i){r(i)},children:(i,w)=>{var T=B(),W=F(T);{var N=K=>{var M=B(),xe=F(M);H(xe,b),I(K,M)};Q(W,K=>{b()&&K(N)})}I(i,T)},$$slots:{default:!0}})}return he(R)}var V,ae,ie,oe,ue;class Pt{constructor(e,r){P(this,V,q(et([])));P(this,ae);P(this,ie);P(this,oe,q(null));P(this,ue,q(0));Se(this,ae,e),Se(this,ie,r)}get hover(){return u(l(this,oe))}set hover(e){G(l(this,oe),e,!0)}get keyboardIndex(){return u(l(this,ue))}set keyboardIndex(e){G(l(this,ue),e,!0)}get selectedIndexes(){const e=new Set(l(this,ae).call(this));return u(l(this,V)).flatMap((r,s)=>r&&e.has(r.value)?[s]:[])}allocate(e){return O(()=>{const r={value:e,element:null,disabled:!1},s=u(l(this,V)).indexOf(void 0);return s<0?u(l(this,V)).push(r)-1:(u(l(this,V))[s]=r,s)})}release(e){O(()=>{u(l(this,V))[e]&&(u(l(this,V))[e]=void 0,this.hover?.activeIndex===e&&this.hover.setActiveIndex(null),this.hover?.registerItem(e,null))})}update(e,r,s){O(()=>{const d=u(l(this,V))[e];d&&(d.value=r,d.disabled=s)})}register(e,r){O(()=>{const s=u(l(this,V))[e];s&&(s.element=r,this.hover?.registerItem(e,r))})}connect(e){O(()=>{this.hover?.destroy(),this.hover=nt(e,{axis:l(this,ie)});for(const[r,s]of u(l(this,V)).entries())s?.element&&this.hover.registerItem(r,s.element)})}disconnect(){O(()=>{this.hover?.destroy(),this.hover=null})}activate(e){this.keyboardIndex=e,this.hover?.setActiveIndex(e)}focusAdjacent(e,r){const s=u(l(this,V)).map((h,m)=>({entry:h,entryIndex:m})).filter(({entry:h})=>h?.element&&!h.disabled),d=s.findIndex(({entryIndex:h})=>h===e);if(d<0||s.length===0)return;const g=s[(d+r+s.length)%s.length];this.activate(g.entryIndex),g.entry?.element?.focus()}}V=new WeakMap,ae=new WeakMap,ie=new WeakMap,oe=new WeakMap,ue=new WeakMap;const Ye=Symbol("toggle-group");var St=new Set(["$$slots","$$events","$$legacy","value","onValueChange","type","disabled","axis","variant","size","class","children"]),Me=Ge("<!> <!>",1);function wt(o,e){if(new.target)return le({component:wt,...o});ge(e,!0);const r=je({base:"relative isolate inline-flex shrink-0 items-center justify-center gap-0.5 rounded-(--radius-medium) border-0 bg-card",variants:{variant:{default:"shadow-(--elevation-raised)",outline:"border border-border shadow-none",flat:"bg-muted/40 shadow-none"},size:{default:"",xs:"",sm:"",lg:""}},defaultVariants:{variant:"default",size:"default"}});let s=n(e,"value",15),d=n(e,"onValueChange",7),g=n(e,"type",7,"single"),h=n(e,"disabled",7,!1),m=n(e,"axis",7,"x"),b=n(e,"variant",7,"default"),p=n(e,"size",7,"default"),C=n(e,"class",7,""),y=n(e,"children",7),S=ye(e,St),f=q(null);const v=new Pt(()=>Array.isArray(s())?s():typeof s()=="string"&&s()?[s()]:[],O(()=>m()));tt(Ye,{state:v,get size(){return p()},get variant(){return b()}}),fe(()=>{if(u(f))return v.connect(u(f)),()=>v.disconnect()});function k(t){s(t),d()?.(t)}function A(t){s(t),d()?.(t)}var L={get value(){return s()},set value(t){s(t),a()},get onValueChange(){return d()},set onValueChange(t){d(t),a()},get type(){return g()},set type(t="single"){g(t),a()},get disabled(){return h()},set disabled(t=!1){h(t),a()},get axis(){return m()},set axis(t="x"){m(t),a()},get variant(){return b()},set variant(t="default"){b(t),a()},get size(){return p()},set size(t="default"){p(t),a()},get class(){return C()},set class(t=""){C(t),a()},get children(){return y()},set children(t){y(t),a()},$set:ce,$on:(t,i)=>de(e,t,i)},c=B(),x=F(c);{var z=t=>{var i=B(),w=F(i);{let T=_(()=>Array.isArray(s())?s():[]),W=_(()=>ke(r({variant:b(),size:p()}),C()));Ie(w,()=>Ve,(N,K)=>{K(N,we({type:"multiple",get value(){return u(T)},onValueChange:A,get disabled(){return h()},get class(){return u(W)}},()=>S,{get ref(){return u(f)},set ref(M){G(f,M,!0)},children:(M,xe)=>{var J=Me(),Y=F(J);{var _e=U=>{De(U,{get store(){return v.hover},get selectedIndexes(){return v.selectedIndexes}})};Q(Y,U=>{v.hover&&U(_e)})}var Ce=Ee(Y,2);H(Ce,()=>y()??Z),I(M,J)},$$slots:{default:!0}}))})}I(t,i)},R=t=>{var i=B(),w=F(i);{let T=_(()=>typeof s()=="string"?s():""),W=_(()=>ke(r({variant:b(),size:p()}),C()));Ie(w,()=>Ve,(N,K)=>{K(N,we({type:"single",get value(){return u(T)},onValueChange:k,get disabled(){return h()},get class(){return u(W)}},()=>S,{get ref(){return u(f)},set ref(M){G(f,M,!0)},children:(M,xe)=>{var J=Me(),Y=F(J);{var _e=U=>{De(U,{get store(){return v.hover},get selectedIndexes(){return v.selectedIndexes}})};Q(Y,U=>{v.hover&&U(_e)})}var Ce=Ee(Y,2);H(Ce,()=>y()??Z),I(M,J)},$$slots:{default:!0}}))})}I(t,i)};Q(x,t=>{g()==="multiple"?t(z):t(R,-1)})}return I(o,c),he(L)}var It=new Set(["$$slots","$$events","$$legacy","value","disabled","variant","size","tooltip","class","onclick","onfocus","children"]);function kt(o,e){if(new.target)return le({component:kt,...o});ge(e,!0);const r=je({base:"type-caption relative z-10 inline-flex shrink-0 cursor-pointer items-center justify-center whitespace-nowrap rounded-(--radius-medium) border-0 bg-transparent font-normal text-muted-foreground transition-[color,font-weight] duration-spring-fast ease-spring-fast hover:text-foreground active:bg-active disabled:pointer-events-none disabled:opacity-50 data-[state=on]:[--text-caption-weight:500] data-[state=on]:text-foreground motion-reduce:transition-none",variants:{variant:{default:"",outline:"bg-transparent",flat:""},size:{default:"h-(--control-height-medium) min-w-8 px-2",xs:"h-(--control-height-small) min-w-7 px-1.5",sm:"h-(--control-height-small) min-w-7 px-1.5",lg:"h-(--control-height-large) min-w-9 px-2.5"}},defaultVariants:{variant:"default",size:"default"}});let s=n(e,"value",7),d=n(e,"disabled",7,!1),g=n(e,"variant",7,void 0),h=n(e,"size",7,void 0),m=n(e,"tooltip",7,void 0),b=n(e,"class",7,""),p=n(e,"onclick",7),C=n(e,"onfocus",7),y=n(e,"children",7),S=ye(e,It);const f=rt(Ye),v=f.state.allocate(O(()=>s()));let k=q(null);const A=_(()=>h()??f?.size??"default"),L=_(()=>g()??f?.variant??"default");fe(()=>f.state.update(v,s(),d())),fe(()=>(f.state.register(v,u(k)),()=>f.state.register(v,null)));function c(t){f.state.activate(v),C()?.(t)}var x={get value(){return s()},set value(t){s(t),a()},get disabled(){return d()},set disabled(t=!1){d(t),a()},get variant(){return g()},set variant(t=void 0){g(t),a()},get size(){return h()},set size(t=void 0){h(t),a()},get tooltip(){return m()},set tooltip(t=void 0){m(t),a()},get class(){return b()},set class(t=""){b(t),a()},get onclick(){return p()},set onclick(t){p(t),a()},get onfocus(){return C()},set onfocus(t){C(t),a()},get children(){return y()},set children(t){y(t),a()},$set:ce,$on:(t,i)=>de(e,t,i)},z=B(),R=F(z);{let t=_(()=>ke(r({variant:u(L),size:u(A)}),b()));Ie(R,()=>Je,(i,w)=>{w(i,we({get value(){return s()},get title(){return m()},get disabled(){return d()},get onclick(){return p()},onfocus:c,get class(){return u(t)}},()=>S,{get ref(){return u(k)},set ref(T){G(k,T,!0)},children:(T,W)=>{var N=B(),K=F(N);H(K,()=>y()??Z),I(T,N)},$$slots:{default:!0}}))})}return I(o,z),he(x)}export{Pt as C,Ct as D,wt as T,kt as a};
|
|
1
|
+
var Ze=Object.defineProperty;var Le=o=>{throw TypeError(o)};var $e=(o,e,r)=>e in o?Ze(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r;var E=(o,e,r)=>$e(o,typeof e!="symbol"?e+"":e,r),Pe=(o,e,r)=>e.has(o)||Le("Cannot "+r);var l=(o,e,r)=>(Pe(o,e,"read from private field"),r?r.call(o):e.get(o)),P=(o,e,r)=>e.has(o)?Le("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(o):e.set(o,r),Se=(o,e,r,s)=>(Pe(o,e,"write to private field"),s?s.call(o,r):e.set(o,r),r),Ae=(o,e,r)=>(Pe(o,e,"access private method"),r);import{t as le,bo as n,bw as ce,b as de,bp as ye,br as we}from"./C0QTy0Sy.js";import{c9 as _,aD as u,bH as G,ca as fe,bV as q,bo as Re,bs as ge,a7 as B,ay as F,W as I,bn as he,aA as a,a5 as Ke,bf as Z,bA as Ne,aB as Ge,br as et,c5 as O,bI as tt,bS as Ee,aG as rt}from"./3SdAC2_C.js";import{i as Q}from"./bhKPSdq4.js";import{t as H}from"./CrD0jtXE.js";import{b as st}from"./B-4NNXpn.js";import{c as Ie}from"./CUkDMZwP.js";import{b as Oe,e as ke}from"./7UPrdiE9.js";import{P as De}from"./Dhy-QJgd.js";import{g as nt}from"./B2w13ngc.js";import{_ as je}from"./C2jYl_tm.js";import{h as at,aD as it,ar as ot,an as He,l as ut,a6 as lt,at as ct,aq as Ue,ay as dt,a3 as gt,az as ve,aS as Be,a$ as ht,av as D,aQ as We}from"./CttA-M7l.js";const ze=dt({component:"toggle-group",parts:["root","item"]}),qe=new at("ToggleGroup.Root");var $;class Qe{constructor(e){E(this,"opts");E(this,"rovingFocusGroup");E(this,"attachment");P(this,$,_(()=>({id:this.opts.id.current,[ze.root]:"",role:"group","data-orientation":this.opts.orientation.current,"data-disabled":Ue(this.opts.disabled.current),...this.attachment})));this.opts=e,this.attachment=He(this.opts.ref),this.rovingFocusGroup=new gt({candidateAttr:ze.item,rootNode:e.ref,loop:e.loop,orientation:e.orientation})}get props(){return u(l(this,$))}set props(e){G(l(this,$),e)}}$=new WeakMap;var ee;class ft extends Qe{constructor(r){super(r);E(this,"opts");E(this,"isMulti",!1);P(this,ee,_(()=>this.opts.value.current!==""));this.opts=r}get anyPressed(){return u(l(this,ee))}set anyPressed(r){G(l(this,ee),r)}includesItem(r){return this.opts.value.current===r}toggleItem(r,s){this.includesItem(r)?this.opts.value.current="":(this.opts.value.current=r,this.rovingFocusGroup.setCurrentTabStopId(s))}}ee=new WeakMap;var te;class vt extends Qe{constructor(r){super(r);E(this,"opts");E(this,"isMulti",!0);P(this,te,_(()=>this.opts.value.current.length>0));this.opts=r}get anyPressed(){return u(l(this,te))}set anyPressed(r){G(l(this,te),r)}includesItem(r){return this.opts.value.current.includes(r)}toggleItem(r,s){this.includesItem(r)?this.opts.value.current=this.opts.value.current.filter(d=>d!==r):(this.opts.value.current=[...this.opts.value.current,r],this.rovingFocusGroup.setCurrentTabStopId(s))}}te=new WeakMap;class mt{static create(e){const{type:r,...s}=e,d=r==="single"?new ft(s):new vt(s);return qe.set(d)}}var j,re,me,be,pe,Xe,X,se,ne;const Fe=class Fe{constructor(e,r){P(this,pe);E(this,"opts");E(this,"root");E(this,"attachment");P(this,j,_(()=>this.opts.disabled.current||this.root.opts.disabled.current));P(this,re,_(()=>this.root.includesItem(this.opts.value.current)));P(this,me,_(()=>this.root.isMulti?void 0:it(this.isPressed,!1)));P(this,be,_(()=>this.root.isMulti?ot(this.isPressed):void 0));P(this,X,q(0));P(this,se,_(()=>({pressed:this.isPressed})));P(this,ne,_(()=>({id:this.opts.id.current,role:this.root.isMulti?void 0:"radio",tabindex:u(l(this,X)),"data-orientation":this.root.opts.orientation.current,"data-disabled":Ue(u(l(this,j))),"data-state":bt(this.isPressed),"data-value":this.opts.value.current,"aria-pressed":u(l(this,be)),"aria-checked":u(l(this,me)),disabled:ct(u(l(this,j))),[ze.item]:"",onclick:this.onclick,onkeydown:this.onkeydown,...this.attachment})));this.opts=e,this.root=r,this.attachment=He(this.opts.ref),fe(()=>{this.root.opts.rovingFocus.current?G(l(this,X),this.root.rovingFocusGroup.getTabIndex(this.opts.ref.current),!0):G(l(this,X),0)}),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}static create(e){return new Fe(e,qe.get())}get isPressed(){return u(l(this,re))}set isPressed(e){G(l(this,re),e)}onclick(e){u(l(this,j))||this.root.toggleItem(this.opts.value.current,this.opts.id.current)}onkeydown(e){if(!u(l(this,j))){if(e.key===ut||e.key===lt){e.preventDefault(),Ae(this,pe,Xe).call(this);return}this.root.opts.rovingFocus.current&&this.root.rovingFocusGroup.handleKeydown(this.opts.ref.current,e)}}get snippetProps(){return u(l(this,se))}set snippetProps(e){G(l(this,se),e)}get props(){return u(l(this,ne))}set props(e){G(l(this,ne),e)}};j=new WeakMap,re=new WeakMap,me=new WeakMap,be=new WeakMap,pe=new WeakSet,Xe=function(){u(l(this,j))||this.root.toggleItem(this.opts.value.current,this.opts.id.current)},X=new WeakMap,se=new WeakMap,ne=new WeakMap;let Te=Fe;function bt(o){return o?"on":"off"}var pt=new Set(["$$slots","$$events","$$legacy","id","ref","value","onValueChange","type","disabled","loop","orientation","rovingFocus","child","children"]),yt=Ge("<div><!></div>");function Ve(o,e){const r=Re();if(new.target)return le({component:Ve,...o});ge(e,!0);let s=n(e,"id",23,()=>ve(r)),d=n(e,"ref",15,null),g=n(e,"value",15),h=n(e,"onValueChange",7,Be),m=n(e,"type",7),b=n(e,"disabled",7,!1),p=n(e,"loop",7,!0),C=n(e,"orientation",7,"horizontal"),y=n(e,"rovingFocus",7,!0),S=n(e,"child",7),f=n(e,"children",7),v=ye(e,pt);function k(){g()===void 0&&g(m()==="single"?"":[])}k(),ht.pre(()=>g(),()=>{k()});const A=mt.create({id:D(()=>s()),value:D(()=>g(),i=>{g(i),h()(i)}),disabled:D(()=>b()),loop:D(()=>p()),orientation:D(()=>C()),rovingFocus:D(()=>y()),type:m(),ref:D(()=>d(),i=>d(i))}),L=_(()=>We(v,A.props));var c={get id(){return s()},set id(i=ve(r)){s(i),a()},get ref(){return d()},set ref(i=null){d(i),a()},get value(){return g()},set value(i){g(i),a()},get onValueChange(){return h()},set onValueChange(i=Be){h(i),a()},get type(){return m()},set type(i){m(i),a()},get disabled(){return b()},set disabled(i=!1){b(i),a()},get loop(){return p()},set loop(i=!0){p(i),a()},get orientation(){return C()},set orientation(i="horizontal"){C(i),a()},get rovingFocus(){return y()},set rovingFocus(i=!0){y(i),a()},get child(){return S()},set child(i){S(i),a()},get children(){return f()},set children(i){f(i),a()},$set:ce,$on:(i,w)=>de(e,i,w)},x=B(),z=F(x);{var R=i=>{var w=B(),T=F(w);H(T,S,()=>({props:u(L)})),I(i,w)},t=i=>{var w=yt();Oe(w,()=>({...u(L)}));var T=Ke(w);H(T,()=>f()??Z),Ne(w),I(i,w)};Q(z,i=>{S()?i(R):i(t,-1)})}return I(o,x),he(c)}var xt=new Set(["$$slots","$$events","$$legacy","children","child","ref","value","disabled","id","type"]),_t=Ge("<button><!></button>");function Je(o,e){const r=Re();if(new.target)return le({component:Je,...o});ge(e,!0);let s=n(e,"children",7),d=n(e,"child",7),g=n(e,"ref",15,null),h=n(e,"value",7),m=n(e,"disabled",7,!1),b=n(e,"id",23,()=>ve(r)),p=n(e,"type",7,"button"),C=ye(e,xt);const y=Te.create({id:D(()=>b()),value:D(()=>h()),disabled:D(()=>m()??!1),ref:D(()=>g(),c=>g(c))}),S=_(()=>We(C,y.props,{type:p()}));var f={get children(){return s()},set children(c){s(c),a()},get child(){return d()},set child(c){d(c),a()},get ref(){return g()},set ref(c=null){g(c),a()},get value(){return h()},set value(c){h(c),a()},get disabled(){return m()},set disabled(c=!1){m(c),a()},get id(){return b()},set id(c=ve(r)){b(c),a()},get type(){return p()},set type(c="button"){p(c),a()},$set:ce,$on:(c,x)=>de(e,c,x)},v=B(),k=F(v);{var A=c=>{var x=B(),z=F(x);{let R=_(()=>({props:u(S),...y.snippetProps}));H(z,d,()=>u(R))}I(c,x)},L=c=>{var x=_t();Oe(x,()=>({...u(S)}));var z=Ke(x);H(z,()=>s()??Z,()=>y.snippetProps),Ne(x),I(c,x)};Q(k,c=>{d()?c(A):c(L,-1)})}return I(o,v),he(f)}function Ct(o,e){if(new.target)return le({component:Ct,...o});ge(e,!0);let r=n(e,"open",15,!1),s=n(e,"static",7,!1),d=n(e,"title",7),g=n(e,"description",7),h=n(e,"confirmLabel",7),m=n(e,"cancelLabel",7),b=n(e,"details",7),p=n(e,"busy",7,!1),C=n(e,"submitBusy",7,!1),y=n(e,"canSubmit",7,!0),S=n(e,"focusSubmit",7,!0),f=n(e,"focusCancel",7,!1),v=n(e,"enterKey",7,"submit"),k=n(e,"modEnter",7,"submit"),A=n(e,"destructive",7,!0),L=n(e,"class",7),c=n(e,"closeLabel",7),x=n(e,"onConfirm",7),z=n(e,"onCancel",7);var R={get open(){return r()},set open(t=!1){r(t),a()},get static(){return s()},set static(t=!1){s(t),a()},get title(){return d()},set title(t){d(t),a()},get description(){return g()},set description(t){g(t),a()},get confirmLabel(){return h()},set confirmLabel(t){h(t),a()},get cancelLabel(){return m()},set cancelLabel(t){m(t),a()},get details(){return b()},set details(t){b(t),a()},get busy(){return p()},set busy(t=!1){p(t),a()},get submitBusy(){return C()},set submitBusy(t=!1){C(t),a()},get canSubmit(){return y()},set canSubmit(t=!0){y(t),a()},get focusSubmit(){return S()},set focusSubmit(t=!0){S(t),a()},get focusCancel(){return f()},set focusCancel(t=!1){f(t),a()},get enterKey(){return v()},set enterKey(t="submit"){v(t),a()},get modEnter(){return k()},set modEnter(t="submit"){k(t),a()},get destructive(){return A()},set destructive(t=!0){A(t),a()},get class(){return L()},set class(t){L(t),a()},get closeLabel(){return c()},set closeLabel(t){c(t),a()},get onConfirm(){return x()},set onConfirm(t){x(t),a()},get onCancel(){return z()},set onCancel(t){z(t),a()},$set:ce,$on:(t,i)=>de(e,t,i)};{let t=_(()=>A()?"destructive":"default");st(o,{get static(){return s()},get title(){return d()},get description(){return g()},get submitLabel(){return h()},get cancelLabel(){return m()},get submitVariant(){return u(t)},get busy(){return p()},get submitBusy(){return C()},get canSubmit(){return y()},get focusSubmit(){return S()},get focusCancel(){return f()},get enterKey(){return v()},get modEnter(){return k()},get class(){return L()},get closeLabel(){return c()},get onSubmit(){return x()},get onCancel(){return z()},get open(){return r()},set open(i){r(i)},children:(i,w)=>{var T=B(),W=F(T);{var N=K=>{var M=B(),xe=F(M);H(xe,b),I(K,M)};Q(W,K=>{b()&&K(N)})}I(i,T)},$$slots:{default:!0}})}return he(R)}var V,ae,ie,oe,ue;class Pt{constructor(e,r){P(this,V,q(et([])));P(this,ae);P(this,ie);P(this,oe,q(null));P(this,ue,q(0));Se(this,ae,e),Se(this,ie,r)}get hover(){return u(l(this,oe))}set hover(e){G(l(this,oe),e,!0)}get keyboardIndex(){return u(l(this,ue))}set keyboardIndex(e){G(l(this,ue),e,!0)}get selectedIndexes(){const e=new Set(l(this,ae).call(this));return u(l(this,V)).flatMap((r,s)=>r&&e.has(r.value)?[s]:[])}allocate(e){return O(()=>{const r={value:e,element:null,disabled:!1},s=u(l(this,V)).indexOf(void 0);return s<0?u(l(this,V)).push(r)-1:(u(l(this,V))[s]=r,s)})}release(e){O(()=>{u(l(this,V))[e]&&(u(l(this,V))[e]=void 0,this.hover?.activeIndex===e&&this.hover.setActiveIndex(null),this.hover?.registerItem(e,null))})}update(e,r,s){O(()=>{const d=u(l(this,V))[e];d&&(d.value=r,d.disabled=s)})}register(e,r){O(()=>{const s=u(l(this,V))[e];s&&(s.element=r,this.hover?.registerItem(e,r))})}connect(e){O(()=>{this.hover?.destroy(),this.hover=nt(e,{axis:l(this,ie)});for(const[r,s]of u(l(this,V)).entries())s?.element&&this.hover.registerItem(r,s.element)})}disconnect(){O(()=>{this.hover?.destroy(),this.hover=null})}activate(e){this.keyboardIndex=e,this.hover?.setActiveIndex(e)}focusAdjacent(e,r){const s=u(l(this,V)).map((h,m)=>({entry:h,entryIndex:m})).filter(({entry:h})=>h?.element&&!h.disabled),d=s.findIndex(({entryIndex:h})=>h===e);if(d<0||s.length===0)return;const g=s[(d+r+s.length)%s.length];this.activate(g.entryIndex),g.entry?.element?.focus()}}V=new WeakMap,ae=new WeakMap,ie=new WeakMap,oe=new WeakMap,ue=new WeakMap;const Ye=Symbol("toggle-group");var St=new Set(["$$slots","$$events","$$legacy","value","onValueChange","type","disabled","axis","variant","size","class","children"]),Me=Ge("<!> <!>",1);function wt(o,e){if(new.target)return le({component:wt,...o});ge(e,!0);const r=je({base:"relative isolate inline-flex shrink-0 items-center justify-center gap-0.5 rounded-(--radius-medium) border-0 bg-card",variants:{variant:{default:"shadow-(--elevation-raised)",outline:"border border-border shadow-none",flat:"bg-muted/40 shadow-none"},size:{default:"",xs:"",sm:"",lg:""}},defaultVariants:{variant:"default",size:"default"}});let s=n(e,"value",15),d=n(e,"onValueChange",7),g=n(e,"type",7,"single"),h=n(e,"disabled",7,!1),m=n(e,"axis",7,"x"),b=n(e,"variant",7,"default"),p=n(e,"size",7,"default"),C=n(e,"class",7,""),y=n(e,"children",7),S=ye(e,St),f=q(null);const v=new Pt(()=>Array.isArray(s())?s():typeof s()=="string"&&s()?[s()]:[],O(()=>m()));tt(Ye,{state:v,get size(){return p()},get variant(){return b()}}),fe(()=>{if(u(f))return v.connect(u(f)),()=>v.disconnect()});function k(t){s(t),d()?.(t)}function A(t){s(t),d()?.(t)}var L={get value(){return s()},set value(t){s(t),a()},get onValueChange(){return d()},set onValueChange(t){d(t),a()},get type(){return g()},set type(t="single"){g(t),a()},get disabled(){return h()},set disabled(t=!1){h(t),a()},get axis(){return m()},set axis(t="x"){m(t),a()},get variant(){return b()},set variant(t="default"){b(t),a()},get size(){return p()},set size(t="default"){p(t),a()},get class(){return C()},set class(t=""){C(t),a()},get children(){return y()},set children(t){y(t),a()},$set:ce,$on:(t,i)=>de(e,t,i)},c=B(),x=F(c);{var z=t=>{var i=B(),w=F(i);{let T=_(()=>Array.isArray(s())?s():[]),W=_(()=>ke(r({variant:b(),size:p()}),C()));Ie(w,()=>Ve,(N,K)=>{K(N,we({type:"multiple",get value(){return u(T)},onValueChange:A,get disabled(){return h()},get class(){return u(W)}},()=>S,{get ref(){return u(f)},set ref(M){G(f,M,!0)},children:(M,xe)=>{var J=Me(),Y=F(J);{var _e=U=>{De(U,{get store(){return v.hover},get selectedIndexes(){return v.selectedIndexes}})};Q(Y,U=>{v.hover&&U(_e)})}var Ce=Ee(Y,2);H(Ce,()=>y()??Z),I(M,J)},$$slots:{default:!0}}))})}I(t,i)},R=t=>{var i=B(),w=F(i);{let T=_(()=>typeof s()=="string"?s():""),W=_(()=>ke(r({variant:b(),size:p()}),C()));Ie(w,()=>Ve,(N,K)=>{K(N,we({type:"single",get value(){return u(T)},onValueChange:k,get disabled(){return h()},get class(){return u(W)}},()=>S,{get ref(){return u(f)},set ref(M){G(f,M,!0)},children:(M,xe)=>{var J=Me(),Y=F(J);{var _e=U=>{De(U,{get store(){return v.hover},get selectedIndexes(){return v.selectedIndexes}})};Q(Y,U=>{v.hover&&U(_e)})}var Ce=Ee(Y,2);H(Ce,()=>y()??Z),I(M,J)},$$slots:{default:!0}}))})}I(t,i)};Q(x,t=>{g()==="multiple"?t(z):t(R,-1)})}return I(o,c),he(L)}var It=new Set(["$$slots","$$events","$$legacy","value","disabled","variant","size","tooltip","class","onclick","onfocus","children"]);function kt(o,e){if(new.target)return le({component:kt,...o});ge(e,!0);const r=je({base:"type-caption relative z-10 inline-flex shrink-0 cursor-pointer items-center justify-center whitespace-nowrap rounded-(--radius-medium) border-0 bg-transparent font-normal text-muted-foreground transition-[color,font-weight] duration-spring-fast ease-spring-fast hover:text-foreground active:bg-active disabled:pointer-events-none disabled:opacity-50 data-[state=on]:[--text-caption-weight:500] data-[state=on]:text-foreground motion-reduce:transition-none",variants:{variant:{default:"",outline:"bg-transparent",flat:""},size:{default:"h-(--control-height-medium) min-w-8 px-2",xs:"h-(--control-height-small) min-w-7 px-1.5",sm:"h-(--control-height-small) min-w-7 px-1.5",lg:"h-(--control-height-large) min-w-9 px-2.5"}},defaultVariants:{variant:"default",size:"default"}});let s=n(e,"value",7),d=n(e,"disabled",7,!1),g=n(e,"variant",7,void 0),h=n(e,"size",7,void 0),m=n(e,"tooltip",7,void 0),b=n(e,"class",7,""),p=n(e,"onclick",7),C=n(e,"onfocus",7),y=n(e,"children",7),S=ye(e,It);const f=rt(Ye),v=f.state.allocate(O(()=>s()));let k=q(null);const A=_(()=>h()??f?.size??"default"),L=_(()=>g()??f?.variant??"default");fe(()=>f.state.update(v,s(),d())),fe(()=>(f.state.register(v,u(k)),()=>f.state.register(v,null)));function c(t){f.state.activate(v),C()?.(t)}var x={get value(){return s()},set value(t){s(t),a()},get disabled(){return d()},set disabled(t=!1){d(t),a()},get variant(){return g()},set variant(t=void 0){g(t),a()},get size(){return h()},set size(t=void 0){h(t),a()},get tooltip(){return m()},set tooltip(t=void 0){m(t),a()},get class(){return b()},set class(t=""){b(t),a()},get onclick(){return p()},set onclick(t){p(t),a()},get onfocus(){return C()},set onfocus(t){C(t),a()},get children(){return y()},set children(t){y(t),a()},$set:ce,$on:(t,i)=>de(e,t,i)},z=B(),R=F(z);{let t=_(()=>ke(r({variant:u(L),size:u(A)}),b()));Ie(R,()=>Je,(i,w)=>{w(i,we({get value(){return s()},get title(){return m()},get disabled(){return d()},get onclick(){return p()},onfocus:c,get class(){return u(t)}},()=>S,{get ref(){return u(k)},set ref(T){G(k,T,!0)},children:(T,W)=>{var N=B(),K=F(N);H(K,()=>y()??Z),I(T,N)},$$slots:{default:!0}}))})}return I(o,z),he(x)}export{Pt as C,Ct as D,wt as T,kt as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as _,bo as g,bw as h,b as y,bp as x}from"./C0QTy0Sy.js";import{bs as w,a7 as S,ay as P,aD as s,W as i,bn as k,c9 as C,aA as H,aB as W}from"./3SdAC2_C.js";import{i as A}from"./bhKPSdq4.js";import{b as d}from"./7UPrdiE9.js";import{e as B}from"./
|
|
1
|
+
import{t as _,bo as g,bw as h,b as y,bp as x}from"./C0QTy0Sy.js";import{bs as w,a7 as S,ay as P,aD as s,W as i,bn as k,c9 as C,aA as H,aB as W}from"./3SdAC2_C.js";import{i as A}from"./bhKPSdq4.js";import{b as d}from"./7UPrdiE9.js";import{e as B}from"./B2w13ngc.js";import{aY as D,aQ as O}from"./CttA-M7l.js";const v={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",transform:"translateX(-100%)"};D(v);var Q=new Set(["$$slots","$$events","$$legacy","value"]),l=W("<input/>");function T(n,a){if(new.target)return _({component:T,...n});w(a,!0);let r=g(a,"value",15),u=x(a,Q);const o=C(()=>O(u,{"aria-hidden":"true",tabindex:-1,style:{...v,position:"absolute",top:"0",left:"0"}}));var m={get value(){return r()},set value(e){r(e),H()},$set:h,$on:(e,t)=>y(a,e,t)},p=S(),c=P(p);{var f=e=>{var t=l();d(t,()=>({...s(o),value:r()}),void 0,void 0,void 0,void 0,!0),i(e,t)},b=e=>{var t=l();d(t,()=>({...s(o)}),void 0,void 0,void 0,void 0,!0),B(t,r),i(e,t)};A(c,e=>{s(o).type==="checkbox"?e(f):e(b,-1)})}return i(n,p),k(m)}export{T as H};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aZ as Ae,U as ke,Y as ae,b0 as Fe,V as Pe,a_ as ve,b as o,X as Vt,ay as bt,aW as Lt,B as Ce,r as Le,O as V,aV as Ee,a6 as De}from"./
|
|
1
|
+
import{aZ as Ae,U as ke,Y as ae,b0 as Fe,V as Pe,a_ as ve,b as o,X as Vt,ay as bt,aW as Lt,B as Ce,r as Le,O as V,aV as Ee,a6 as De}from"./CjJvlfCr.js";import{l as ie}from"./D93FnkSV.js";var Et=(function(){var t=o(function(Y,r,l,x){for(l=l||{},x=Y.length;x--;l[Y[x]]=r);return l},"o"),n=[1,3],f=[1,4],d=[1,5],h=[1,6],p=[1,7],y=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],_=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],a=[55,56,57],k=[2,36],u=[1,37],T=[1,36],q=[1,38],m=[1,35],b=[1,43],g=[1,41],A=[1,45],ht=[1,14],xt=[1,23],ft=[1,18],gt=[1,19],ct=[1,20],_t=[1,21],dt=[1,22],i=[1,24],zt=[1,25],It=[1,26],wt=[1,27],Bt=[1,28],Rt=[1,29],U=[1,32],Q=[1,33],F=[1,34],P=[1,39],v=[1,40],C=[1,42],L=[1,44],X=[1,63],H=[1,62],E=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],Nt=[1,66],Wt=[1,67],Ut=[1,68],Qt=[1,69],Ot=[1,70],Xt=[1,71],Ht=[1,72],Mt=[1,73],Yt=[1,74],jt=[1,75],Gt=[1,76],Kt=[1,77],w=[4,5,6,7,8,9,10,11,12,13,14,15,18],K=[1,91],Z=[1,92],J=[1,93],$=[1,100],tt=[1,94],et=[1,97],it=[1,95],at=[1,96],nt=[1,98],st=[1,99],At=[1,103],Zt=[10,55,56,57],N=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],kt={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:o(function(r,l,x,c,S,e,ut){var s=e.length-1;switch(S){case 23:this.$=e[s];break;case 24:this.$=e[s-1]+""+e[s];break;case 26:this.$=e[s-1]+e[s];break;case 27:this.$=[e[s].trim()];break;case 28:e[s-2].push(e[s].trim()),this.$=e[s-2];break;case 29:this.$=e[s-4],c.addClass(e[s-2],e[s]);break;case 37:this.$=[];break;case 42:this.$=e[s].trim(),c.setDiagramTitle(this.$);break;case 43:this.$=e[s].trim(),c.setAccTitle(this.$);break;case 44:case 45:this.$=e[s].trim(),c.setAccDescription(this.$);break;case 46:c.addSection(e[s].substr(8)),this.$=e[s].substr(8);break;case 47:c.addPoint(e[s-3],"",e[s-1],e[s],[]);break;case 48:c.addPoint(e[s-4],e[s-3],e[s-1],e[s],[]);break;case 49:c.addPoint(e[s-4],"",e[s-2],e[s-1],e[s]);break;case 50:c.addPoint(e[s-5],e[s-4],e[s-2],e[s-1],e[s]);break;case 51:c.setXAxisLeftText(e[s-2]),c.setXAxisRightText(e[s]);break;case 52:e[s-1].text+=" ⟶ ",c.setXAxisLeftText(e[s-1]);break;case 53:c.setXAxisLeftText(e[s]);break;case 54:c.setYAxisBottomText(e[s-2]),c.setYAxisTopText(e[s]);break;case 55:e[s-1].text+=" ⟶ ",c.setYAxisBottomText(e[s-1]);break;case 56:c.setYAxisBottomText(e[s]);break;case 57:c.setQuadrant1Text(e[s]);break;case 58:c.setQuadrant2Text(e[s]);break;case 59:c.setQuadrant3Text(e[s]);break;case 60:c.setQuadrant4Text(e[s]);break;case 64:this.$={text:e[s],type:"text"};break;case 65:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 66:this.$={text:e[s],type:"text"};break;case 67:this.$={text:e[s],type:"markdown"};break;case 68:this.$=e[s];break;case 69:this.$=e[s-1]+""+e[s];break}},"anonymous"),table:[{18:n,26:1,27:2,28:f,55:d,56:h,57:p},{1:[3]},{18:n,26:8,27:2,28:f,55:d,56:h,57:p},{18:n,26:9,27:2,28:f,55:d,56:h,57:p},t(y,[2,33],{29:10}),t(_,[2,61]),t(_,[2,62]),t(_,[2,63]),{1:[2,30]},{1:[2,31]},t(a,k,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:u,5:T,10:q,12:m,13:b,14:g,15:A,18:ht,25:xt,35:ft,37:gt,39:ct,41:_t,42:dt,48:i,50:zt,51:It,52:wt,53:Bt,54:Rt,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(y,[2,34]),{27:46,55:d,56:h,57:p},t(a,[2,37]),t(a,k,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:u,5:T,10:q,12:m,13:b,14:g,15:A,18:ht,25:xt,35:ft,37:gt,39:ct,41:_t,42:dt,48:i,50:zt,51:It,52:wt,53:Bt,54:Rt,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(a,[2,39]),t(a,[2,40]),t(a,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},t(a,[2,45]),t(a,[2,46]),{18:[1,51]},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:52,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:53,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:54,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:55,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:56,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:57,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,44:[1,58],47:[1,59],58:61,59:60,63:F,64:P,65:v,66:C,67:L},t(E,[2,64]),t(E,[2,66]),t(E,[2,67]),t(E,[2,70]),t(E,[2,71]),t(E,[2,72]),t(E,[2,73]),t(E,[2,74]),t(E,[2,75]),t(E,[2,76]),t(E,[2,77]),t(E,[2,78]),t(E,[2,79]),t(E,[2,80]),t(E,[2,81]),t(y,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:65,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Xt,10:Ht,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,21:64},t(a,[2,53],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,49:[1,78],63:F,64:P,65:v,66:C,67:L}),t(a,[2,56],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,49:[1,79],63:F,64:P,65:v,66:C,67:L}),t(a,[2,57],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,58],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,59],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,60],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),{45:[1,80]},{44:[1,81]},t(E,[2,65]),t(E,[2,82]),t(E,[2,83]),t(E,[2,84]),{3:83,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Xt,10:Ht,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,18:[1,82]},t(w,[2,23]),t(w,[2,1]),t(w,[2,2]),t(w,[2,3]),t(w,[2,4]),t(w,[2,5]),t(w,[2,6]),t(w,[2,7]),t(w,[2,8]),t(w,[2,9]),t(w,[2,10]),t(w,[2,11]),t(w,[2,12]),t(a,[2,52],{58:31,43:84,4:u,5:T,10:q,12:m,13:b,14:g,15:A,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(a,[2,55],{58:31,43:85,4:u,5:T,10:q,12:m,13:b,14:g,15:A,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),{46:[1,86]},{45:[1,87]},{4:K,5:Z,6:J,8:$,11:tt,13:et,16:90,17:it,18:at,19:nt,20:st,22:89,23:88},t(w,[2,24]),t(a,[2,51],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,54],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,47],{22:89,16:90,23:101,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),{46:[1,102]},t(a,[2,29],{10:At}),t(Zt,[2,27],{16:104,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),t(N,[2,25]),t(N,[2,13]),t(N,[2,14]),t(N,[2,15]),t(N,[2,16]),t(N,[2,17]),t(N,[2,18]),t(N,[2,19]),t(N,[2,20]),t(N,[2,21]),t(N,[2,22]),t(a,[2,49],{10:At}),t(a,[2,48],{22:89,16:90,23:105,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),{4:K,5:Z,6:J,8:$,11:tt,13:et,16:90,17:it,18:at,19:nt,20:st,22:106},t(N,[2,26]),t(a,[2,50],{10:At}),t(Zt,[2,28],{16:104,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(function(r,l){if(l.recoverable)this.trace(r);else{var x=new Error(r);throw x.hash=l,x}},"parseError"),parse:o(function(r){var l=this,x=[0],c=[],S=[null],e=[],ut=this.table,s="",yt=0,Jt=0,me=2,$t=1,be=e.slice.call(arguments,1),D=Object.create(this.lexer),j={yy:{}};for(var Ft in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ft)&&(j.yy[Ft]=this.yy[Ft]);D.setInput(r,j.yy),j.yy.lexer=D,j.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Pt=D.yylloc;e.push(Pt);var Se=D.options&&D.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _e(R){x.length=x.length-2*R,S.length=S.length-R,e.length=e.length-R}o(_e,"popStack");function te(){var R;return R=c.pop()||D.lex()||$t,typeof R!="number"&&(R instanceof Array&&(c=R,R=c.pop()),R=l.symbols_[R]||R),R}o(te,"lex");for(var B,G,W,vt,rt={},Tt,M,ee,qt;;){if(G=x[x.length-1],this.defaultActions[G]?W=this.defaultActions[G]:((B===null||typeof B>"u")&&(B=te()),W=ut[G]&&ut[G][B]),typeof W>"u"||!W.length||!W[0]){var Ct="";qt=[];for(Tt in ut[G])this.terminals_[Tt]&&Tt>me&&qt.push("'"+this.terminals_[Tt]+"'");D.showPosition?Ct="Parse error on line "+(yt+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+qt.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Ct="Parse error on line "+(yt+1)+": Unexpected "+(B==$t?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Ct,{text:D.match,token:this.terminals_[B]||B,line:D.yylineno,loc:Pt,expected:qt})}if(W[0]instanceof Array&&W.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+B);switch(W[0]){case 1:x.push(B),S.push(D.yytext),e.push(D.yylloc),x.push(W[1]),B=null,Jt=D.yyleng,s=D.yytext,yt=D.yylineno,Pt=D.yylloc;break;case 2:if(M=this.productions_[W[1]][1],rt.$=S[S.length-M],rt._$={first_line:e[e.length-(M||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(M||1)].first_column,last_column:e[e.length-1].last_column},Se&&(rt._$.range=[e[e.length-(M||1)].range[0],e[e.length-1].range[1]]),vt=this.performAction.apply(rt,[s,Jt,yt,j.yy,W[1],S,e].concat(be)),typeof vt<"u")return vt;M&&(x=x.slice(0,-1*M*2),S=S.slice(0,-1*M),e=e.slice(0,-1*M)),x.push(this.productions_[W[1]][0]),S.push(rt.$),e.push(rt._$),ee=ut[x[x.length-2]][x[x.length-1]],x.push(ee);break;case 3:return!0}}return!0},"parse")},qe=(function(){var Y={EOF:1,parseError:o(function(l,x){if(this.yy.parser)this.yy.parser.parseError(l,x);else throw new Error(l)},"parseError"),setInput:o(function(r,l){return this.yy=l||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var l=r.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:o(function(r){var l=r.length,x=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),x.length-1&&(this.yylineno-=x.length-1);var S=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:x?(x.length===c.length?this.yylloc.first_column:0)+c[c.length-x.length].length-x[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(r){this.unput(this.match.slice(r))},"less"),pastInput:o(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var r=this.pastInput(),l=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Jv as r,B$ as p,of as b,DH as d,nX as S}from"./
|
|
1
|
+
import{Jv as r,B$ as p,of as b,DH as d,nX as S}from"./_LtUY0jS.js";import{g as u}from"./_WGu_9si.js";const g=r.createSelector(e=>e.tabState.isDragging),w=r.createSelector(e=>e.tabState.scrollPositions),I=r.createSelector(e=>e.tabState.currentTabId),W=r.createSelector((e,t)=>e.tabState.openTabs[t]===!0),B=r.createSelector(e=>e.tabState.mountedBrowserTabLeases),v=r.createSelector(e=>e.tabState.browserTabRecoveryRequests),G=r.createSelector(e=>e.tabState.browserTabNavigations),O=r.createSelector(e=>e.tabState.browserTabsAgentDrawing),L=r.createSelector(e=>e.connections?.hasReceivedList===!0&&e.tabState.hydratedBackendId===u(e)),A=r.createSelector(e=>e.tabState.workspaceStacks.flatMap(t=>t)),i=[],l=new WeakMap;function T(e){const t=e.tabGroups;if(!t)return i;let a=l.get(t);return a||(a=b(e),l.set(t,a)),a}const R=r.createSelector(e=>{if(e.userPreferences?.labsTabGroupsEnabled!==!0)return null;const{openTabGroupId:t,currentTabId:a}=e.tabState;return p(b(e.tabState),a,t)}),h=r.createSelector(e=>e.userPreferences?.labsTabGroupsEnabled===!0),y=r.createSelector(e=>e.userPreferences?.labsTabGroupsEnabled===!0?T(e.tabState):i),m=r.createSelector(e=>Object.keys(e.tabState.openTabs).filter(t=>e.tabState.openTabs[t]===!0)),C=r.createSelector(e=>{const{recentlyClosedTabIds:t,recentlyClosedTabAt:a,openTabs:s}=e.tabState;for(let o=t.length-1;o>=0;o--){const n=t[o];if(!s[n])return{workspaceId:n,closedAt:a[n]??0}}return null}),P=r.createSelector(e=>d(e.tabState)),c=[],D=r.createSelector(e=>{if(e.connections&&!e.connections.hasReceivedList)return c;const t=u(e);if(e.tabState.hydratedBackendId!==t||!e.workspace.hasLoaded||e.workspace.loadedBackendId!==t||e.workspace.workspaces.ids.length===0)return c;const a=e.tabState.workspaceStacks.flatMap(s=>s).filter(s=>e.tabState.optimisticTabs[s]||e.workspace.pendingCreations[s]||e.workspace.pendingDeletions[s]?!1:!S(e.workspace.workspaces,s));return a.length===0?c:a});export{m as selectActiveWorkspaceIds,w as selectAllScrollPositions,G as selectBrowserTabNavigations,v as selectBrowserTabRecoveryRequests,O as selectBrowserTabsAgentDrawing,I as selectCurrentWorkspaceTabId,g as selectIsDragging,W as selectIsWorkspaceTabOpen,C as selectLastClosedWorkspaceTab,B as selectMountedBrowserTabLeases,R as selectOpenWorkspaceTabGroupId,P as selectPersistedWorkspaceTabsState,y as selectWorkspaceTabGroups,h as selectWorkspaceTabGroupsEnabled,A as selectWorkspaceTabOrder,L as selectWorkspaceTabsHydrated,D as selectWorkspaceTabsToReconcile};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var Vt=Object.defineProperty;var yt=e=>{throw TypeError(e)};var jt=(e,i,s)=>i in e?Vt(e,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[i]=s;var J=(e,i,s)=>jt(e,typeof i!="symbol"?i+"":i,s),bt=(e,i,s)=>i.has(e)||yt("Cannot "+s);var t=(e,i,s)=>(bt(e,i,"read from private field"),s?s.call(e):i.get(e)),g=(e,i,s)=>i.has(e)?yt("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(e):i.set(e,s),a=(e,i,s,n)=>(bt(e,i,"write to private field"),n?n.call(e,s):i.set(e,s),s),o=(e,i,s)=>(bt(e,i,"access private method"),s);var vt=(e,i,s,n)=>({set _(r){a(e,i,r,s)},get _(){return t(e,i,n)}});import{_ as wt}from"./C0QTy0Sy.js";import{m as xt,A as qt,r as Ht,Q as Nt,aX as Gt,R as Jt}from"./CApA6QD2.js";import{B as Ft,D as Kt}from"./BIQB3Kx5.js";import{I as F,E as Ct,b as Qt,a as Ut}from"./DICr2Lvd.js";function Xt(e,i){for(const s of Array.isArray(e)?e:[e]){let n=xt.get(s.name);n==null&&(n=s,xt.set(s.name,n)),i.attachLanguages([n]),qt.add(n.name)}}function Zt(e,i){let s;return function(...n){clearTimeout(s),s=setTimeout(()=>e.apply(this,n),i)}}const Dt=0;let Wt=0;var H,T,P,Q,L,st,it,C,U,nt,u,D,_,A,O,b,v,z,dt,E,B,X,N,R,Z,Tt,ft,h,K,ut,zt,Et,Y,pt,It,ct,tt,Ot,gt,et,Bt,Pt,At,Yt=(At=class{constructor(e,i,s){g(this,h);J(this,"backend");g(this,H);g(this,T);g(this,P);g(this,Q);g(this,L);g(this,st);g(this,it);g(this,C);g(this,U);g(this,nt,!1);g(this,u,[F]);g(this,D,[]);g(this,_,0);g(this,A,[]);g(this,O,-1);g(this,b,!0);g(this,v,!1);g(this,z,0);g(this,dt,++Wt);g(this,E,-1);g(this,B,-1);g(this,X);g(this,N,0);g(this,R,[]);g(this,Z,!1);g(this,Tt,Zt(async e=>{if(t(this,nt))return;const{startingLine:i=0,totalLines:s=1/0}=e??{},n=Math.min(s===1/0?1/0:i+s,t(this,L).lineCount);if(t(this,T)==null&&!Lt(t(this,L).languageId)){if(await this.backend?.loadLanguages([t(this,L).languageId]),t(this,nt))return;a(this,T,t(this,H).getLanguage(t(this,L).languageId))}o(this,h,K).call(this),o(this,h,It).call(this,n)},500));g(this,ft,({data:e})=>{if(typeof e!="object"||e===null)return;const{type:i,tokenizerId:s,jobId:n}=e;i==="tokenize"&&s===t(this,dt)&&typeof n=="number"&&n===t(this,z)&&(t(this,E)>=0?o(this,h,Bt).call(this,n):o(this,h,Pt).call(this,n))});this.backend=s,a(this,H,e),a(this,L,i.textDocument),a(this,P,i.theme),a(this,Q,[]),a(this,st,i.tokenizeMaxLineLength??1e3),a(this,it,i.onDeferTokenize),a(this,C,i.matchBrackets!==!1),a(this,U,i.__debug??!1),o(this,h,ut).call(this),o(this,h,K).call(this)}getStringCommentRegexpRangesInLine(e){if(!t(this,C)||e<0||e>=t(this,L).lineCount||(o(this,h,ut).call(this),t(this,T)==null))return null;if(t(this,R)[e]===void 0){o(this,h,et).call(this,e);const i=t(this,u)[e]??F,s=o(this,h,ct).call(this,e,i);t(this,u)[e+1]=s.state}return t(this,R)[e]??null}setTheme(e){t(this,P)!==e&&(a(this,P,e),o(this,h,K).call(this),this.stopBackgroundTokenize(),a(this,u,[F]),a(this,D,[]),a(this,_,0),a(this,A,[]),t(this,T)!=null&&t(this,L).lineCount>0&&o(this,h,pt).call(this,0))}dispose(){a(this,nt,!0),this.stopBackgroundTokenize(),o(this,h,Et).call(this)}tokenize(e,i,s=!1){if(o(this,h,ut).call(this),o(this,h,K).call(this),t(this,T)==null&&!Lt(t(this,L).languageId))throw new Error(`Grammar for language "${t(this,L).languageId}" not loaded`);const{lineCount:n}=t(this,L),{startingLine:r=0,totalLines:l=1/0}=i??{},d=l===1/0?n:Math.min(r+l,n),c=e.startLine,f=Math.max(r,c),I=i!=null&&l!==1/0&&e.lineDelta>0&&c<d&&e.endLine>=d,m=e.lineDelta===0&&(e.changedLineChanges?.every(([,,p])=>p===0)??!0);t(this,C)&&!m&&(t(this,R).length=Math.min(t(this,R).length,e.startLine));const M=s&&e.lineDelta!==0&&c>=r,S=m||i==null||c>=f,y=e.changedLineRanges??[[c,e.endLine]];a(this,D,[]),a(this,_,0),a(this,A,[]);let V=-1;if(c<f)for(const[p,w]of y)p<f&&(V=Math.max(V,Math.min(w,f-1)));const mt=V>=c&&(m||e.lineDelta<0);m?o(this,h,et).call(this,c):(o(this,h,Ot).call(this,e),(i==null||c>=f)&&o(this,h,et).call(this,f));let j=0,St=y[j][1],ht,Rt=0,k=m?y[j][0]:f,rt=!1;const Mt=new Map,W=mt?new Map:void 0;if(W!=null&&!m){const p=Math.min(V+1,f,d);if(p>c){o(this,h,et).call(this,p);let w=c,ot=t(this,u)[w]??F;for(;w<p;w++){const x=o(this,h,ct).call(this,w,ot);ot=x.state,W.set(w,x.resolvedTokens)}t(this,u)[p]=ot}}let q=t(this,u)[k]??F;for(;k<d;){const p=m?t(this,u)[k+1]:M?o(this,h,gt).call(this,k+1):void 0;S&&(t(this,u)[k]=q);const{resolvedTokens:w,state:ot}=o(this,h,ct).call(this,k,q);if(q=ot,k>=f?Mt.set(k,w):W?.set(k,w),S&&(t(this,u)[k+1]=q),rt=k>=St&&(m||M)&&p!=null&&q.equals(p),rt){j++;const x=y[j];if(x==null)break;if(x[0]>=d){ht=x[0],Rt=j;break}let lt=t(this,u)[x[0]];if(M)for(let kt=k+2;kt<=x[0]&&(lt=o(this,h,gt).call(this,kt),lt!=null);kt++)t(this,u)[kt]=lt;lt==null?(St=x[1],k++):(k=x[0],q=lt,St=x[1]),rt=!1;continue}k++}if(S&&(k<d?t(this,u)[k+1]=q:t(this,u)[k]=q),rt&&M&&ht==null){for(let p=k+2;p<=n;p++){const w=o(this,h,gt).call(this,p);if(w==null)break;t(this,u)[p]=w}a(this,D,[]),a(this,_,0),a(this,A,[])}if(W!=null&&W.size>0&&t(this,it).call(this,W),ht!=null)t(this,C)&&m&&(t(this,R).length=Math.min(t(this,R).length,ht)),o(this,h,pt).call(this,ht,y,Rt);else if(!rt&&k<n){const p=I&&c>=f?d:c<f&&!m?c:k;t(this,C)&&m&&(t(this,R).length=Math.min(t(this,R).length,p)),o(this,h,pt).call(this,p,y,j)}return Mt}prebuildStateStack(e){o(this,h,ut).call(this),t(this,Tt).call(this,e)}stopBackgroundTokenize(){a(this,B,-1),!t(this,b)&&(a(this,b,!0),a(this,v,!1),a(this,O,-1),a(this,E,-1),a(this,X,void 0),a(this,N,0),a(this,D,[]),a(this,_,0),a(this,A,[]),o(this,h,Et).call(this))}pauseBackgroundTokenize(){t(this,b)||t(this,v)||(t(this,U)&&console.log("[diffs/editor] background tokenization paused",{jobId:t(this,z)}),a(this,v,!0))}resumeBackgroundTokenize(){t(this,b)||!t(this,v)||t(this,T)==null||t(this,O)<0||(t(this,U)&&console.log("[diffs/editor] background tokenization resumed",{jobId:t(this,z)}),a(this,v,!1),o(this,h,Y).call(this,t(this,z)))}},H=new WeakMap,T=new WeakMap,P=new WeakMap,Q=new WeakMap,L=new WeakMap,st=new WeakMap,it=new WeakMap,C=new WeakMap,U=new WeakMap,nt=new WeakMap,u=new WeakMap,D=new WeakMap,_=new WeakMap,A=new WeakMap,O=new WeakMap,b=new WeakMap,v=new WeakMap,z=new WeakMap,dt=new WeakMap,E=new WeakMap,B=new WeakMap,X=new WeakMap,N=new WeakMap,R=new WeakMap,Z=new WeakMap,Tt=new WeakMap,ft=new WeakMap,h=new WeakSet,K=function(){if(t(this,P)==="")return;this.backend?.getTheme(t(this,P));const{colorMap:e}=t(this,H).setTheme(t(this,P));a(this,Q,e)},ut=function(){t(this,T)==null&&!Lt(t(this,L).languageId)&&t(this,H).getLoadedLanguages().includes(t(this,L).languageId)&&a(this,T,t(this,H).getLanguage(t(this,L).languageId))},zt=function(){t(this,Z)||(globalThis.addEventListener("message",t(this,ft)),a(this,Z,!0))},Et=function(){t(this,Z)&&(globalThis.removeEventListener("message",t(this,ft)),a(this,Z,!1))},Y=function(e){globalThis.postMessage({type:"tokenize",tokenizerId:t(this,dt),jobId:e})},pt=function(e,i,s=0){if(Lt(t(this,L).languageId))return;const n=++vt(this,z)._;t(this,U)&&console.log("[diffs/editor] background tokenization scheduled",{jobId:n,startLine:e,changedLineRanges:i,changedRangeIndex:s}),a(this,b,!1),a(this,v,!1),a(this,O,e),t(this,E)>=0&&a(this,B,Math.max(t(this,B),t(this,E))),a(this,E,-1),a(this,X,i),a(this,N,s),o(this,h,zt).call(this),o(this,h,Y).call(this,n)},It=function(e){if(t(this,T)==null||t(this,u).length>e)return;if(!t(this,b)){t(this,E)>=0?a(this,E,Math.max(t(this,E),e)):a(this,B,Math.max(t(this,B),e));return}const i=++vt(this,z)._;a(this,b,!1),a(this,v,!1),a(this,O,t(this,u).length-1),a(this,E,e),a(this,B,-1),a(this,X,void 0),a(this,N,0),o(this,h,zt).call(this),o(this,h,Y).call(this,i)},ct=function(e,i){const s=t(this,L).getLineText(e);if(s.length>=t(this,st))return console.warn(`[diffs] Line(${e}) too long to tokenize: ${s.length}`),o(this,h,tt).call(this,e,null),{resolvedTokens:[[0,"",s]],state:i};if(t(this,T)==null||s===""||s.trim()==="")return o(this,h,tt).call(this,e,null),{resolvedTokens:[[0,"",s]],state:i};const n=_t(t(this,T),t(this,Q),s,i,Dt,t(this,C));return o(this,h,tt).call(this,e,n.bracketIgnoredRanges),{resolvedTokens:n.resolvedTokens,state:n.ruleStack}},tt=function(e,i){t(this,C)&&(t(this,R)[e]=i)},Ot=function(e){const i=e.changedLineChanges??[[e.startLine,e.endLine,e.lineDelta]],s=e.startLine+1;s<=t(this,u).length-s?(a(this,D,t(this,u)),a(this,_,0),a(this,u,t(this,u).slice(0,s))):(a(this,_,s),a(this,D,t(this,u).slice(s)),t(this,u).length=Math.min(t(this,u).length,s)),a(this,A,i)},gt=function(e){let i=e;for(let s=t(this,A).length-1;s>=0;s--){const[n,r,l]=t(this,A)[s];if(l!==0){if(i>r)i-=l;else if(i>n)return t(this,u)[e]}}return t(this,D)[i-t(this,_)]??t(this,u)[e]},et=function(e,i){const s=Math.min(Math.max(0,e),t(this,L).lineCount);if(t(this,u).length>s||t(this,T)==null)return!0;const n=i==null?0:performance.now();let r=t(this,u).length-1,l=t(this,u)[r]??F;for(;r<s;){t(this,u)[r]=l;const d=t(this,L).getLineText(r);if(d.length<t(this,st)&&d!==""&&d.trim()!==""){const c=_t(t(this,T),t(this,Q),d,l,Dt,t(this,C),!1);o(this,h,tt).call(this,r,c.bracketIgnoredRanges),l=c.ruleStack}else o(this,h,tt).call(this,r,null);if(r++,t(this,u)[r]=l,i!=null&&performance.now()-n>i)break}return r>=s},Bt=function(e){if(t(this,b)||t(this,v)||t(this,T)==null||e!==t(this,z))return;o(this,h,K).call(this);const i=o(this,h,et).call(this,t(this,E),1);if(!(t(this,b)||t(this,v)||e!==t(this,z))){if(i){this.stopBackgroundTokenize();return}a(this,O,t(this,u).length-1),o(this,h,Y).call(this,e)}},Pt=function(e){if(t(this,b)||t(this,v)||t(this,T)==null||e!==t(this,z))return;o(this,h,K).call(this);const i=performance.now(),s=new Map,n=t(this,L).lineCount,r=t(this,X);let l=t(this,O),d=t(this,u)[l]??F,c=!1,f=t(this,N),I=r?.[f]?.[1];for(;l<n;){t(this,u)[l]=d;const m=I!=null?o(this,h,gt).call(this,l+1):void 0,M=o(this,h,ct).call(this,l,d);if(s.set(l,M.resolvedTokens),d=M.state,t(this,u)[l+1]=d,c=I!=null&&l>=I&&m!=null&&d.equals(m),l++,c){f++;const S=r?.[f];if(S==null)break;if(I=S[1],t(this,u)[S[0]]==null)c=!1;else{l=S[0],d=t(this,u)[l]??d,c=!1;continue}}if(performance.now()-i>1)break}if(t(this,it).call(this,s),!(t(this,b)||t(this,v)||e!==t(this,z))){if(c||l>=n){const m=t(this,B);this.stopBackgroundTokenize(),m>=0&&o(this,h,It).call(this,m);return}a(this,O,l),a(this,N,f),o(this,h,Y).call(this,e)}},At);function _t(e,i,s,n,r,l=!0,d=!0){const c=e.tokenizeLine2(s,n,r);c.stoppedEarly&&console.warn(`[diffs] Time limit reached when tokenizing line: ${s.substring(0,100)}`);const f=c.tokens,I=f.length/2,m=[],M=[];if(!d&&!l)return{ruleStack:c.ruleStack,resolvedTokens:m,bracketIgnoredRanges:M};for(let S=0;S<I;S++){const y=f[2*S],V=S+1<I?f[2*S+2]:s.length;if(y===V)continue;const mt=f[2*S+1];if(d){const j=Ct.getForeground(mt);m.push([y,i[j],s.slice(y,V)])}l&&Ct.getTokenType(mt)>0&&M.push([y,V])}return{ruleStack:c.ruleStack,resolvedTokens:m,bracketIgnoredRanges:M}}function Lt(e){return e==="text"||e==="ansi"}var $,G,at,te=(at=class extends Ft{constructor(s,n){super();J(this,"highlighter");J(this,"options");g(this,$,"");g(this,G);this.highlighter=s,this.options=n}tokenizeChunk(s,n){const r=(t(this,$)+s).split(/(\r\n|\r|\n)/);let l=[];for(let d=0;d<r.length;d+=2){const c=r[d],f=this.highlighter.codeToTokens(c,{...this.options,grammarState:t(this,G)}),I=f.tokens[0].map(m=>({...m,offset:m.offset+this.stableOffset}));d+1<r.length?(Ht(n,I),this.pushLineBreak(n,c.length,r[d+1]),a(this,G,f.grammarState)):(l=I,a(this,$,c))}return{unstable:l,tailLength:t(this,$).length}}clone(){this.assertActive();const s=new at(this.highlighter,this.options);return this.copyStateTo(s),a(s,$,t(this,$)),a(s,G,t(this,G)),s}resetSource(){a(this,$,""),a(this,G,void 0)}releaseSource(){this.resetSource()}},$=new WeakMap,G=new WeakMap,at),he=class $t extends Kt{constructor(s,n){super(s,Nt(s));J(this,"raw");J(this,"loadedThemes",new Map);J(this,"attachedLanguages",new Set(["text","ansi"]));this.raw=n}static async create(s){const n=s==="shiki-wasm"?(await wt(async()=>{const{createOnigurumaEngine:l}=await import("./fp9mRO0R.js");return{createOnigurumaEngine:l}},[],import.meta.url)).createOnigurumaEngine(wt(()=>import("./Cey7Y6ql.js"),[],import.meta.url)):(await wt(async()=>{const{createJavaScriptRegexEngine:l}=await import("./LU5PuYrD.js");return{createJavaScriptRegexEngine:l}},[],import.meta.url)).createJavaScriptRegexEngine(),r=await Qt({themes:[],langs:[],engine:n});return new $t(s,r)}getTheme(s){this.assertNotDisposed();const n=this.loadedThemes.get(s),r=this.themeResolver.getResolvedTheme(s)??n;if(r==null)throw new Error(`Theme "${s}" has not been resolved`);if(n!==r){const l=r.textmate??(r.cssVariables!=null?Ut(r.cssVariables):void 0);if(l==null)throw new Error(`Theme "${s}" does not support Shiki`);this.raw.setTheme({...l,name:s}),this.loadedThemes.set(s,r)}return r}codeToTokens(s,n){return this.raw.codeToTokens(s,this.resolveOptions(n))}createEditorTokenizer(s){return new Yt(this.raw,s,this)}createStreamTokenizer(s){return new te(this.raw,this.resolveOptions(s))}async loadLanguages(s){this.assertNotDisposed();const n=s.filter(r=>!this.attachedLanguages.has(r));Xt(await Gt(n),this)}hasLoadedLanguages(s){if(this.disposed)return!1;let n;return s.every(r=>this.attachedLanguages.has(r)?!0:Jt.has(r)?!1:(n??=this.raw.getLoadedLanguages(),n.includes(r)))}attachLanguages(s){this.assertNotDisposed();for(const n of s){if(this.attachedLanguages.has(n.name))continue;const r=n.data.find(l=>l.name===n.name||l.aliases?.includes(n.name)===!0);if(r==null)throw new Error(`attachResolvedLanguages: No returned grammar declares "${n.name}" as its name or an alias.`);this.raw.loadLanguageSync(n.data);try{this.raw.getLanguage(n.name)}catch{throw new Error(`attachResolvedLanguages: "${r.name}" is already loaded without alias "${n.name}". Load the alias first or give the grammar a unique name.`)}this.attachedLanguages.add(n.name)}}releaseResources(){this.loadedThemes.clear(),this.attachedLanguages.clear(),this.raw.dispose()}resolveOptions({theme:s,themes:n,...r}){if(this.assertNotDisposed(),s!=null)return this.getTheme(s),{...r,theme:s};if(n==null)throw new Error("A theme or themes option is required");for(const l of Object.values(n))this.getTheme(l);return{...r,themes:n}}};export{he as ShikiHighlighter};
|
|
1
|
+
var Vt=Object.defineProperty;var yt=e=>{throw TypeError(e)};var jt=(e,i,s)=>i in e?Vt(e,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[i]=s;var J=(e,i,s)=>jt(e,typeof i!="symbol"?i+"":i,s),bt=(e,i,s)=>i.has(e)||yt("Cannot "+s);var t=(e,i,s)=>(bt(e,i,"read from private field"),s?s.call(e):i.get(e)),g=(e,i,s)=>i.has(e)?yt("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(e):i.set(e,s),a=(e,i,s,n)=>(bt(e,i,"write to private field"),n?n.call(e,s):i.set(e,s),s),o=(e,i,s)=>(bt(e,i,"access private method"),s);var vt=(e,i,s,n)=>({set _(r){a(e,i,r,s)},get _(){return t(e,i,n)}});import{_ as wt}from"./C0QTy0Sy.js";import{m as xt,A as qt,r as Ht,Q as Nt,aX as Gt,R as Jt}from"./BDATxlJG.js";import{B as Ft,D as Kt}from"./CHoUTmhW.js";import{I as F,E as Ct,b as Qt,a as Ut}from"./DICr2Lvd.js";function Xt(e,i){for(const s of Array.isArray(e)?e:[e]){let n=xt.get(s.name);n==null&&(n=s,xt.set(s.name,n)),i.attachLanguages([n]),qt.add(n.name)}}function Zt(e,i){let s;return function(...n){clearTimeout(s),s=setTimeout(()=>e.apply(this,n),i)}}const Dt=0;let Wt=0;var H,T,P,Q,L,st,it,C,U,nt,u,D,_,A,O,b,v,z,dt,E,B,X,N,R,Z,Tt,ft,h,K,ut,zt,Et,Y,pt,It,ct,tt,Ot,gt,et,Bt,Pt,At,Yt=(At=class{constructor(e,i,s){g(this,h);J(this,"backend");g(this,H);g(this,T);g(this,P);g(this,Q);g(this,L);g(this,st);g(this,it);g(this,C);g(this,U);g(this,nt,!1);g(this,u,[F]);g(this,D,[]);g(this,_,0);g(this,A,[]);g(this,O,-1);g(this,b,!0);g(this,v,!1);g(this,z,0);g(this,dt,++Wt);g(this,E,-1);g(this,B,-1);g(this,X);g(this,N,0);g(this,R,[]);g(this,Z,!1);g(this,Tt,Zt(async e=>{if(t(this,nt))return;const{startingLine:i=0,totalLines:s=1/0}=e??{},n=Math.min(s===1/0?1/0:i+s,t(this,L).lineCount);if(t(this,T)==null&&!Lt(t(this,L).languageId)){if(await this.backend?.loadLanguages([t(this,L).languageId]),t(this,nt))return;a(this,T,t(this,H).getLanguage(t(this,L).languageId))}o(this,h,K).call(this),o(this,h,It).call(this,n)},500));g(this,ft,({data:e})=>{if(typeof e!="object"||e===null)return;const{type:i,tokenizerId:s,jobId:n}=e;i==="tokenize"&&s===t(this,dt)&&typeof n=="number"&&n===t(this,z)&&(t(this,E)>=0?o(this,h,Bt).call(this,n):o(this,h,Pt).call(this,n))});this.backend=s,a(this,H,e),a(this,L,i.textDocument),a(this,P,i.theme),a(this,Q,[]),a(this,st,i.tokenizeMaxLineLength??1e3),a(this,it,i.onDeferTokenize),a(this,C,i.matchBrackets!==!1),a(this,U,i.__debug??!1),o(this,h,ut).call(this),o(this,h,K).call(this)}getStringCommentRegexpRangesInLine(e){if(!t(this,C)||e<0||e>=t(this,L).lineCount||(o(this,h,ut).call(this),t(this,T)==null))return null;if(t(this,R)[e]===void 0){o(this,h,et).call(this,e);const i=t(this,u)[e]??F,s=o(this,h,ct).call(this,e,i);t(this,u)[e+1]=s.state}return t(this,R)[e]??null}setTheme(e){t(this,P)!==e&&(a(this,P,e),o(this,h,K).call(this),this.stopBackgroundTokenize(),a(this,u,[F]),a(this,D,[]),a(this,_,0),a(this,A,[]),t(this,T)!=null&&t(this,L).lineCount>0&&o(this,h,pt).call(this,0))}dispose(){a(this,nt,!0),this.stopBackgroundTokenize(),o(this,h,Et).call(this)}tokenize(e,i,s=!1){if(o(this,h,ut).call(this),o(this,h,K).call(this),t(this,T)==null&&!Lt(t(this,L).languageId))throw new Error(`Grammar for language "${t(this,L).languageId}" not loaded`);const{lineCount:n}=t(this,L),{startingLine:r=0,totalLines:l=1/0}=i??{},d=l===1/0?n:Math.min(r+l,n),c=e.startLine,f=Math.max(r,c),I=i!=null&&l!==1/0&&e.lineDelta>0&&c<d&&e.endLine>=d,m=e.lineDelta===0&&(e.changedLineChanges?.every(([,,p])=>p===0)??!0);t(this,C)&&!m&&(t(this,R).length=Math.min(t(this,R).length,e.startLine));const M=s&&e.lineDelta!==0&&c>=r,S=m||i==null||c>=f,y=e.changedLineRanges??[[c,e.endLine]];a(this,D,[]),a(this,_,0),a(this,A,[]);let V=-1;if(c<f)for(const[p,w]of y)p<f&&(V=Math.max(V,Math.min(w,f-1)));const mt=V>=c&&(m||e.lineDelta<0);m?o(this,h,et).call(this,c):(o(this,h,Ot).call(this,e),(i==null||c>=f)&&o(this,h,et).call(this,f));let j=0,St=y[j][1],ht,Rt=0,k=m?y[j][0]:f,rt=!1;const Mt=new Map,W=mt?new Map:void 0;if(W!=null&&!m){const p=Math.min(V+1,f,d);if(p>c){o(this,h,et).call(this,p);let w=c,ot=t(this,u)[w]??F;for(;w<p;w++){const x=o(this,h,ct).call(this,w,ot);ot=x.state,W.set(w,x.resolvedTokens)}t(this,u)[p]=ot}}let q=t(this,u)[k]??F;for(;k<d;){const p=m?t(this,u)[k+1]:M?o(this,h,gt).call(this,k+1):void 0;S&&(t(this,u)[k]=q);const{resolvedTokens:w,state:ot}=o(this,h,ct).call(this,k,q);if(q=ot,k>=f?Mt.set(k,w):W?.set(k,w),S&&(t(this,u)[k+1]=q),rt=k>=St&&(m||M)&&p!=null&&q.equals(p),rt){j++;const x=y[j];if(x==null)break;if(x[0]>=d){ht=x[0],Rt=j;break}let lt=t(this,u)[x[0]];if(M)for(let kt=k+2;kt<=x[0]&&(lt=o(this,h,gt).call(this,kt),lt!=null);kt++)t(this,u)[kt]=lt;lt==null?(St=x[1],k++):(k=x[0],q=lt,St=x[1]),rt=!1;continue}k++}if(S&&(k<d?t(this,u)[k+1]=q:t(this,u)[k]=q),rt&&M&&ht==null){for(let p=k+2;p<=n;p++){const w=o(this,h,gt).call(this,p);if(w==null)break;t(this,u)[p]=w}a(this,D,[]),a(this,_,0),a(this,A,[])}if(W!=null&&W.size>0&&t(this,it).call(this,W),ht!=null)t(this,C)&&m&&(t(this,R).length=Math.min(t(this,R).length,ht)),o(this,h,pt).call(this,ht,y,Rt);else if(!rt&&k<n){const p=I&&c>=f?d:c<f&&!m?c:k;t(this,C)&&m&&(t(this,R).length=Math.min(t(this,R).length,p)),o(this,h,pt).call(this,p,y,j)}return Mt}prebuildStateStack(e){o(this,h,ut).call(this),t(this,Tt).call(this,e)}stopBackgroundTokenize(){a(this,B,-1),!t(this,b)&&(a(this,b,!0),a(this,v,!1),a(this,O,-1),a(this,E,-1),a(this,X,void 0),a(this,N,0),a(this,D,[]),a(this,_,0),a(this,A,[]),o(this,h,Et).call(this))}pauseBackgroundTokenize(){t(this,b)||t(this,v)||(t(this,U)&&console.log("[diffs/editor] background tokenization paused",{jobId:t(this,z)}),a(this,v,!0))}resumeBackgroundTokenize(){t(this,b)||!t(this,v)||t(this,T)==null||t(this,O)<0||(t(this,U)&&console.log("[diffs/editor] background tokenization resumed",{jobId:t(this,z)}),a(this,v,!1),o(this,h,Y).call(this,t(this,z)))}},H=new WeakMap,T=new WeakMap,P=new WeakMap,Q=new WeakMap,L=new WeakMap,st=new WeakMap,it=new WeakMap,C=new WeakMap,U=new WeakMap,nt=new WeakMap,u=new WeakMap,D=new WeakMap,_=new WeakMap,A=new WeakMap,O=new WeakMap,b=new WeakMap,v=new WeakMap,z=new WeakMap,dt=new WeakMap,E=new WeakMap,B=new WeakMap,X=new WeakMap,N=new WeakMap,R=new WeakMap,Z=new WeakMap,Tt=new WeakMap,ft=new WeakMap,h=new WeakSet,K=function(){if(t(this,P)==="")return;this.backend?.getTheme(t(this,P));const{colorMap:e}=t(this,H).setTheme(t(this,P));a(this,Q,e)},ut=function(){t(this,T)==null&&!Lt(t(this,L).languageId)&&t(this,H).getLoadedLanguages().includes(t(this,L).languageId)&&a(this,T,t(this,H).getLanguage(t(this,L).languageId))},zt=function(){t(this,Z)||(globalThis.addEventListener("message",t(this,ft)),a(this,Z,!0))},Et=function(){t(this,Z)&&(globalThis.removeEventListener("message",t(this,ft)),a(this,Z,!1))},Y=function(e){globalThis.postMessage({type:"tokenize",tokenizerId:t(this,dt),jobId:e})},pt=function(e,i,s=0){if(Lt(t(this,L).languageId))return;const n=++vt(this,z)._;t(this,U)&&console.log("[diffs/editor] background tokenization scheduled",{jobId:n,startLine:e,changedLineRanges:i,changedRangeIndex:s}),a(this,b,!1),a(this,v,!1),a(this,O,e),t(this,E)>=0&&a(this,B,Math.max(t(this,B),t(this,E))),a(this,E,-1),a(this,X,i),a(this,N,s),o(this,h,zt).call(this),o(this,h,Y).call(this,n)},It=function(e){if(t(this,T)==null||t(this,u).length>e)return;if(!t(this,b)){t(this,E)>=0?a(this,E,Math.max(t(this,E),e)):a(this,B,Math.max(t(this,B),e));return}const i=++vt(this,z)._;a(this,b,!1),a(this,v,!1),a(this,O,t(this,u).length-1),a(this,E,e),a(this,B,-1),a(this,X,void 0),a(this,N,0),o(this,h,zt).call(this),o(this,h,Y).call(this,i)},ct=function(e,i){const s=t(this,L).getLineText(e);if(s.length>=t(this,st))return console.warn(`[diffs] Line(${e}) too long to tokenize: ${s.length}`),o(this,h,tt).call(this,e,null),{resolvedTokens:[[0,"",s]],state:i};if(t(this,T)==null||s===""||s.trim()==="")return o(this,h,tt).call(this,e,null),{resolvedTokens:[[0,"",s]],state:i};const n=_t(t(this,T),t(this,Q),s,i,Dt,t(this,C));return o(this,h,tt).call(this,e,n.bracketIgnoredRanges),{resolvedTokens:n.resolvedTokens,state:n.ruleStack}},tt=function(e,i){t(this,C)&&(t(this,R)[e]=i)},Ot=function(e){const i=e.changedLineChanges??[[e.startLine,e.endLine,e.lineDelta]],s=e.startLine+1;s<=t(this,u).length-s?(a(this,D,t(this,u)),a(this,_,0),a(this,u,t(this,u).slice(0,s))):(a(this,_,s),a(this,D,t(this,u).slice(s)),t(this,u).length=Math.min(t(this,u).length,s)),a(this,A,i)},gt=function(e){let i=e;for(let s=t(this,A).length-1;s>=0;s--){const[n,r,l]=t(this,A)[s];if(l!==0){if(i>r)i-=l;else if(i>n)return t(this,u)[e]}}return t(this,D)[i-t(this,_)]??t(this,u)[e]},et=function(e,i){const s=Math.min(Math.max(0,e),t(this,L).lineCount);if(t(this,u).length>s||t(this,T)==null)return!0;const n=i==null?0:performance.now();let r=t(this,u).length-1,l=t(this,u)[r]??F;for(;r<s;){t(this,u)[r]=l;const d=t(this,L).getLineText(r);if(d.length<t(this,st)&&d!==""&&d.trim()!==""){const c=_t(t(this,T),t(this,Q),d,l,Dt,t(this,C),!1);o(this,h,tt).call(this,r,c.bracketIgnoredRanges),l=c.ruleStack}else o(this,h,tt).call(this,r,null);if(r++,t(this,u)[r]=l,i!=null&&performance.now()-n>i)break}return r>=s},Bt=function(e){if(t(this,b)||t(this,v)||t(this,T)==null||e!==t(this,z))return;o(this,h,K).call(this);const i=o(this,h,et).call(this,t(this,E),1);if(!(t(this,b)||t(this,v)||e!==t(this,z))){if(i){this.stopBackgroundTokenize();return}a(this,O,t(this,u).length-1),o(this,h,Y).call(this,e)}},Pt=function(e){if(t(this,b)||t(this,v)||t(this,T)==null||e!==t(this,z))return;o(this,h,K).call(this);const i=performance.now(),s=new Map,n=t(this,L).lineCount,r=t(this,X);let l=t(this,O),d=t(this,u)[l]??F,c=!1,f=t(this,N),I=r?.[f]?.[1];for(;l<n;){t(this,u)[l]=d;const m=I!=null?o(this,h,gt).call(this,l+1):void 0,M=o(this,h,ct).call(this,l,d);if(s.set(l,M.resolvedTokens),d=M.state,t(this,u)[l+1]=d,c=I!=null&&l>=I&&m!=null&&d.equals(m),l++,c){f++;const S=r?.[f];if(S==null)break;if(I=S[1],t(this,u)[S[0]]==null)c=!1;else{l=S[0],d=t(this,u)[l]??d,c=!1;continue}}if(performance.now()-i>1)break}if(t(this,it).call(this,s),!(t(this,b)||t(this,v)||e!==t(this,z))){if(c||l>=n){const m=t(this,B);this.stopBackgroundTokenize(),m>=0&&o(this,h,It).call(this,m);return}a(this,O,l),a(this,N,f),o(this,h,Y).call(this,e)}},At);function _t(e,i,s,n,r,l=!0,d=!0){const c=e.tokenizeLine2(s,n,r);c.stoppedEarly&&console.warn(`[diffs] Time limit reached when tokenizing line: ${s.substring(0,100)}`);const f=c.tokens,I=f.length/2,m=[],M=[];if(!d&&!l)return{ruleStack:c.ruleStack,resolvedTokens:m,bracketIgnoredRanges:M};for(let S=0;S<I;S++){const y=f[2*S],V=S+1<I?f[2*S+2]:s.length;if(y===V)continue;const mt=f[2*S+1];if(d){const j=Ct.getForeground(mt);m.push([y,i[j],s.slice(y,V)])}l&&Ct.getTokenType(mt)>0&&M.push([y,V])}return{ruleStack:c.ruleStack,resolvedTokens:m,bracketIgnoredRanges:M}}function Lt(e){return e==="text"||e==="ansi"}var $,G,at,te=(at=class extends Ft{constructor(s,n){super();J(this,"highlighter");J(this,"options");g(this,$,"");g(this,G);this.highlighter=s,this.options=n}tokenizeChunk(s,n){const r=(t(this,$)+s).split(/(\r\n|\r|\n)/);let l=[];for(let d=0;d<r.length;d+=2){const c=r[d],f=this.highlighter.codeToTokens(c,{...this.options,grammarState:t(this,G)}),I=f.tokens[0].map(m=>({...m,offset:m.offset+this.stableOffset}));d+1<r.length?(Ht(n,I),this.pushLineBreak(n,c.length,r[d+1]),a(this,G,f.grammarState)):(l=I,a(this,$,c))}return{unstable:l,tailLength:t(this,$).length}}clone(){this.assertActive();const s=new at(this.highlighter,this.options);return this.copyStateTo(s),a(s,$,t(this,$)),a(s,G,t(this,G)),s}resetSource(){a(this,$,""),a(this,G,void 0)}releaseSource(){this.resetSource()}},$=new WeakMap,G=new WeakMap,at),he=class $t extends Kt{constructor(s,n){super(s,Nt(s));J(this,"raw");J(this,"loadedThemes",new Map);J(this,"attachedLanguages",new Set(["text","ansi"]));this.raw=n}static async create(s){const n=s==="shiki-wasm"?(await wt(async()=>{const{createOnigurumaEngine:l}=await import("./fp9mRO0R.js");return{createOnigurumaEngine:l}},[],import.meta.url)).createOnigurumaEngine(wt(()=>import("./Cey7Y6ql.js"),[],import.meta.url)):(await wt(async()=>{const{createJavaScriptRegexEngine:l}=await import("./LU5PuYrD.js");return{createJavaScriptRegexEngine:l}},[],import.meta.url)).createJavaScriptRegexEngine(),r=await Qt({themes:[],langs:[],engine:n});return new $t(s,r)}getTheme(s){this.assertNotDisposed();const n=this.loadedThemes.get(s),r=this.themeResolver.getResolvedTheme(s)??n;if(r==null)throw new Error(`Theme "${s}" has not been resolved`);if(n!==r){const l=r.textmate??(r.cssVariables!=null?Ut(r.cssVariables):void 0);if(l==null)throw new Error(`Theme "${s}" does not support Shiki`);this.raw.setTheme({...l,name:s}),this.loadedThemes.set(s,r)}return r}codeToTokens(s,n){return this.raw.codeToTokens(s,this.resolveOptions(n))}createEditorTokenizer(s){return new Yt(this.raw,s,this)}createStreamTokenizer(s){return new te(this.raw,this.resolveOptions(s))}async loadLanguages(s){this.assertNotDisposed();const n=s.filter(r=>!this.attachedLanguages.has(r));Xt(await Gt(n),this)}hasLoadedLanguages(s){if(this.disposed)return!1;let n;return s.every(r=>this.attachedLanguages.has(r)?!0:Jt.has(r)?!1:(n??=this.raw.getLoadedLanguages(),n.includes(r)))}attachLanguages(s){this.assertNotDisposed();for(const n of s){if(this.attachedLanguages.has(n.name))continue;const r=n.data.find(l=>l.name===n.name||l.aliases?.includes(n.name)===!0);if(r==null)throw new Error(`attachResolvedLanguages: No returned grammar declares "${n.name}" as its name or an alias.`);this.raw.loadLanguageSync(n.data);try{this.raw.getLanguage(n.name)}catch{throw new Error(`attachResolvedLanguages: "${r.name}" is already loaded without alias "${n.name}". Load the alias first or give the grammar a unique name.`)}this.attachedLanguages.add(n.name)}}releaseResources(){this.loadedThemes.clear(),this.attachedLanguages.clear(),this.raw.dispose()}resolveOptions({theme:s,themes:n,...r}){if(this.assertNotDisposed(),s!=null)return this.getTheme(s),{...r,theme:s};if(n==null)throw new Error("A theme or themes option is required");for(const l of Object.values(n))this.getTheme(l);return{...r,themes:n}}};export{he as ShikiHighlighter};
|